diff --git a/.gitignore b/.gitignore index d7bf423247..5a1a9a899f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ +# Kotlin 2.0+ +.kotlin/ #################### # IntelliJ diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index a4de30b8e4..813f5d13dc 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -1,6 +1,3 @@ -import org.jetbrains.kotlin.gradle.dsl.KotlinVersion -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - plugins { `kotlin-dsl` } dependencies { @@ -42,16 +39,6 @@ dependencies { implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location)) } -// https://kotlinlang.org/docs/whatsnew19.html#try-the-k2-compiler-in-your-project -if (GradleVersion.current() < GradleVersion.version("8.3")) { - tasks.withType().configureEach { - compilerOptions { - languageVersion.set(KotlinVersion.KOTLIN_1_9) - apiVersion.set(KotlinVersion.KOTLIN_1_9) - } - } -} - fun DependencyHandlerScope.plugin(id: String, version: String) = "$id:$id.gradle.plugin:$version" fun DependencyHandlerScope.plugin(plugin: Provider): Provider = diff --git a/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/dsl/model/type/DelegateCallGenerator.kt b/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/dsl/model/type/DelegateCallGenerator.kt index ee36ff7047..400bc06a3d 100644 --- a/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/dsl/model/type/DelegateCallGenerator.kt +++ b/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/dsl/model/type/DelegateCallGenerator.kt @@ -216,7 +216,7 @@ private class DelegatedCall( val listType = type.typeArguments[1] as ParameterizedTypeName CallSegment( - "%N$nullable.mapValues{it.value.map(%T::unwrap) }$nullableListSuffix", + "%N$nullable.mapValues{it.value.map(%T.Companion::unwrap) }$nullableListSuffix", listOf( name, listType.typeArguments[0].mapClassName().copy(nullable = false), @@ -237,7 +237,7 @@ private class DelegatedCall( val listType = type.typeArguments[0] as ParameterizedTypeName CallSegment( - "%N$nullable.map{ it.map(%T::unwrap) }$nullableListSuffix", + "%N$nullable.map{ it.map(%T.Companion::unwrap) }$nullableListSuffix", listOf( name, listType.typeArguments[0].mapClassName().copy(nullable = false), @@ -246,7 +246,7 @@ private class DelegatedCall( } type.isListOfCdkObject() -> CallSegment( - "%N$nullable.map(%T::unwrap)$nullableListSuffix", + "%N$nullable.map(%T.Companion::unwrap)$nullableListSuffix", listOf( name, type.typeArguments[0].mapClassName() @@ -287,7 +287,7 @@ private class DelegatedCall( ) type.isCdkClass -> CallSegment( - "%N$nullable.let(%T::unwrap)", + "%N$nullable.let(%T.Companion::unwrap)", listOf(name, type.mapClassName()), ) diff --git a/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/kotlin-library.gradle.kts b/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/kotlin-library.gradle.kts index 420b2b757c..468ac3ed7b 100644 --- a/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/kotlin-library.gradle.kts +++ b/build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/kotlin-library.gradle.kts @@ -51,8 +51,10 @@ tasks.withType().configureEach { } tasks.withType().configureEach { - kotlinOptions { freeCompilerArgs += listOf("-Xjsr305=strict", "-Xcontext-receivers") } - compilerOptions {} + compilerOptions { + freeCompilerArgs.add("-Xjsr305=strict") +// freeCompilerArgs.add("-Xcontext-receivers") + } } dependencies { @@ -91,7 +93,7 @@ configurations { kotlin { explicitApi() jvmToolchain { - languageVersion = JavaLanguageVersion.of(17) + languageVersion = JavaLanguageVersion.of(21) vendor = JvmVendorSpec.AMAZON } kotlinDaemonJvmArgs = when { diff --git a/gradle.properties b/gradle.properties index ea6df462a8..59118adfe8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = io.cloudshiftdev.kotlin-cdk-wrapper -version = 0.8.0 +version = 0.8.1 kotlin.code.style=official diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Annotations.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Annotations.kt index aee3db81d4..babd44b0a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Annotations.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Annotations.kt @@ -165,7 +165,7 @@ public open class Annotations( public companion object { public fun of(scope: IConstruct): Annotations = - software.amazon.awscdk.Annotations.of(scope.let(IConstruct::unwrap)).let(Annotations::wrap) + software.amazon.awscdk.Annotations.of(scope.let(IConstruct.Companion::unwrap)).let(Annotations::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.Annotations): Annotations = Annotations(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/App.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/App.kt index fc87516bad..e48f3055a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/App.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/App.kt @@ -57,7 +57,8 @@ public open class App( public constructor() : this(software.amazon.awscdk.App() ) - public constructor(props: AppProps) : this(software.amazon.awscdk.App(props.let(AppProps::unwrap)) + public constructor(props: AppProps) : + this(software.amazon.awscdk.App(props.let(AppProps.Companion::unwrap)) ) public constructor(props: AppProps.Builder.() -> Unit) : this(AppProps(props) @@ -266,7 +267,7 @@ public open class App( * App. */ override fun defaultStackSynthesizer(defaultStackSynthesizer: IReusableStackSynthesizer) { - cdkBuilder.defaultStackSynthesizer(defaultStackSynthesizer.let(IReusableStackSynthesizer::unwrap)) + cdkBuilder.defaultStackSynthesizer(defaultStackSynthesizer.let(IReusableStackSynthesizer.Companion::unwrap)) } /** @@ -295,7 +296,7 @@ public open class App( * @param policyValidationBeta1 Validation plugins to run after synthesis. */ override fun policyValidationBeta1(policyValidationBeta1: List) { - cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1::unwrap)) + cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AppProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AppProps.kt index 19e15e1293..e7e23c4811 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AppProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AppProps.kt @@ -262,7 +262,7 @@ public interface AppProps { * information, see the README of the main CDK package. */ override fun defaultStackSynthesizer(defaultStackSynthesizer: IReusableStackSynthesizer) { - cdkBuilder.defaultStackSynthesizer(defaultStackSynthesizer.let(IReusableStackSynthesizer::unwrap)) + cdkBuilder.defaultStackSynthesizer(defaultStackSynthesizer.let(IReusableStackSynthesizer.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface AppProps { * @param policyValidationBeta1 Validation plugins to run after synthesis. */ override fun policyValidationBeta1(policyValidationBeta1: List) { - cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1::unwrap)) + cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Arn.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Arn.kt index 8f616b6319..747eba3e32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Arn.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Arn.kt @@ -18,7 +18,7 @@ public open class Arn( software.amazon.awscdk.Arn.extractResourceName(arn, resourceType) public fun format(components: ArnComponents): String = - software.amazon.awscdk.Arn.format(components.let(ArnComponents::unwrap)) + software.amazon.awscdk.Arn.format(components.let(ArnComponents.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("83161df07d376e5b5e803618627b191a1ad135e49cc4e2242ec6d546f408d688") @@ -26,12 +26,12 @@ public open class Arn( format(ArnComponents(components)) public fun format(components: ArnComponents, stack: Stack): String = - software.amazon.awscdk.Arn.format(components.let(ArnComponents::unwrap), - stack.let(Stack::unwrap)) + software.amazon.awscdk.Arn.format(components.let(ArnComponents.Companion::unwrap), + stack.let(Stack.Companion::unwrap)) public fun split(arn: String, arnFormat: ArnFormat): ArnComponents = software.amazon.awscdk.Arn.split(arn, - arnFormat.let(ArnFormat::unwrap)).let(ArnComponents::wrap) + arnFormat.let(ArnFormat.Companion::unwrap)).let(ArnComponents::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.Arn): Arn = Arn(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ArnComponents.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ArnComponents.kt index 660e8f0cbd..6643a9aa6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ArnComponents.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ArnComponents.kt @@ -161,7 +161,7 @@ public interface ArnComponents { * @param arnFormat The specific ARN format to use for this ARN value. */ override fun arnFormat(arnFormat: ArnFormat) { - cdkBuilder.arnFormat(arnFormat.let(ArnFormat::unwrap)) + cdkBuilder.arnFormat(arnFormat.let(ArnFormat.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Aspects.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Aspects.kt index 5ede9b088d..7bf81522ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Aspects.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Aspects.kt @@ -48,7 +48,7 @@ public open class Aspects( * @param aspect The aspect to add. */ public open fun add(aspect: IAspect) { - unwrap(this).add(aspect.let(IAspect::unwrap)) + unwrap(this).add(aspect.let(IAspect.Companion::unwrap)) } /** @@ -58,7 +58,7 @@ public open class Aspects( public companion object { public fun of(scope: IConstruct): Aspects = - software.amazon.awscdk.Aspects.of(scope.let(IConstruct::unwrap)).let(Aspects::wrap) + software.amazon.awscdk.Aspects.of(scope.let(IConstruct.Companion::unwrap)).let(Aspects::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.Aspects): Aspects = Aspects(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestBuilder.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestBuilder.kt index 5897354e5f..4dd154db06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestBuilder.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestBuilder.kt @@ -50,9 +50,9 @@ public open class AssetManifestBuilder( sourceHash: String, source: DockerImageSource, dest: DockerImageDestination, - ): DockerImageDestination = unwrap(this).addDockerImageAsset(stack.let(Stack::unwrap), sourceHash, - source.let(DockerImageSource::unwrap), - dest.let(DockerImageDestination::unwrap)).let(DockerImageDestination::wrap) + ): DockerImageDestination = unwrap(this).addDockerImageAsset(stack.let(Stack.Companion::unwrap), + sourceHash, source.let(DockerImageSource.Companion::unwrap), + dest.let(DockerImageDestination.Companion::unwrap)).let(DockerImageDestination::wrap) /** * Add a docker asset source and destination to the manifest. @@ -89,8 +89,9 @@ public open class AssetManifestBuilder( sourceHash: String, source: FileSource, dest: FileDestination, - ): FileDestination = unwrap(this).addFileAsset(stack.let(Stack::unwrap), sourceHash, - source.let(FileSource::unwrap), dest.let(FileDestination::unwrap)).let(FileDestination::wrap) + ): FileDestination = unwrap(this).addFileAsset(stack.let(Stack.Companion::unwrap), sourceHash, + source.let(FileSource.Companion::unwrap), + dest.let(FileDestination.Companion::unwrap)).let(FileDestination::wrap) /** * Add a file asset source and destination to the manifest. @@ -124,9 +125,10 @@ public open class AssetManifestBuilder( stack: Stack, asset: DockerImageAssetSource, target: AssetManifestDockerImageDestination, - ): DockerImageDestination = unwrap(this).defaultAddDockerImageAsset(stack.let(Stack::unwrap), - asset.let(DockerImageAssetSource::unwrap), - target.let(AssetManifestDockerImageDestination::unwrap)).let(DockerImageDestination::wrap) + ): DockerImageDestination = + unwrap(this).defaultAddDockerImageAsset(stack.let(Stack.Companion::unwrap), + asset.let(DockerImageAssetSource.Companion::unwrap), + target.let(AssetManifestDockerImageDestination.Companion::unwrap)).let(DockerImageDestination::wrap) /** * Add a docker image asset to the manifest with default settings. @@ -160,9 +162,9 @@ public open class AssetManifestBuilder( stack: Stack, asset: FileAssetSource, target: AssetManifestFileDestination, - ): FileDestination = unwrap(this).defaultAddFileAsset(stack.let(Stack::unwrap), - asset.let(FileAssetSource::unwrap), - target.let(AssetManifestFileDestination::unwrap)).let(FileDestination::wrap) + ): FileDestination = unwrap(this).defaultAddFileAsset(stack.let(Stack.Companion::unwrap), + asset.let(FileAssetSource.Companion::unwrap), + target.let(AssetManifestFileDestination.Companion::unwrap)).let(FileDestination::wrap) /** * Add a file asset to the manifest with default settings. @@ -194,7 +196,8 @@ public open class AssetManifestBuilder( * @param dependencies */ public open fun emitManifest(stack: Stack, session: ISynthesisSession): String = - unwrap(this).emitManifest(stack.let(Stack::unwrap), session.let(ISynthesisSession::unwrap)) + unwrap(this).emitManifest(stack.let(Stack.Companion::unwrap), + session.let(ISynthesisSession.Companion::unwrap)) /** * Write the manifest to disk, and add it to the synthesis session. @@ -211,8 +214,9 @@ public open class AssetManifestBuilder( stack: Stack, session: ISynthesisSession, options: AssetManifestOptions, - ): String = unwrap(this).emitManifest(stack.let(Stack::unwrap), - session.let(ISynthesisSession::unwrap), options.let(AssetManifestOptions::unwrap)) + ): String = unwrap(this).emitManifest(stack.let(Stack.Companion::unwrap), + session.let(ISynthesisSession.Companion::unwrap), + options.let(AssetManifestOptions.Companion::unwrap)) /** * Write the manifest to disk, and add it to the synthesis session. @@ -249,9 +253,9 @@ public open class AssetManifestBuilder( session: ISynthesisSession, options: AssetManifestOptions, dependencies: List, - ): String = unwrap(this).emitManifest(stack.let(Stack::unwrap), - session.let(ISynthesisSession::unwrap), options.let(AssetManifestOptions::unwrap), - dependencies) + ): String = unwrap(this).emitManifest(stack.let(Stack.Companion::unwrap), + session.let(ISynthesisSession.Companion::unwrap), + options.let(AssetManifestOptions.Companion::unwrap), dependencies) /** * Whether there are any assets registered in the manifest. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestDockerImageDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestDockerImageDestination.kt index efb3d9bd7f..3a897d7830 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestDockerImageDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestDockerImageDestination.kt @@ -101,7 +101,7 @@ public interface AssetManifestDockerImageDestination { * @param role Role to use to perform the upload. */ override fun role(role: RoleOptions) { - cdkBuilder.role(role.let(RoleOptions::unwrap)) + cdkBuilder.role(role.let(RoleOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestFileDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestFileDestination.kt index ae094d9220..87ee9ecc23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestFileDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetManifestFileDestination.kt @@ -101,7 +101,7 @@ public interface AssetManifestFileDestination { * @param role Role to use for uploading. */ override fun role(role: RoleOptions) { - cdkBuilder.role(role.let(RoleOptions::unwrap)) + cdkBuilder.role(role.let(RoleOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetOptions.kt index 2497a477be..65142e4456 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetOptions.kt @@ -170,7 +170,7 @@ public interface AssetOptions { * `AssetHashType.CUSTOM`. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public interface AssetOptions { * final asset. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStaging.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStaging.kt index 930c28c458..abd359b124 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStaging.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStaging.kt @@ -78,8 +78,9 @@ public open class AssetStaging( scope: CloudshiftdevConstructsConstruct, id: String, props: AssetStagingProps, - ) : this(software.amazon.awscdk.AssetStaging(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AssetStagingProps::unwrap)) + ) : + this(software.amazon.awscdk.AssetStaging(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AssetStagingProps.Companion::unwrap)) ) public constructor( @@ -144,7 +145,7 @@ public open class AssetStaging( * @param stack */ public open fun relativeStagedPath(stack: Stack): String = - unwrap(this).relativeStagedPath(stack.let(Stack::unwrap)) + unwrap(this).relativeStagedPath(stack.let(Stack.Companion::unwrap)) /** * The absolute path of the asset as it was referenced by the user. @@ -324,7 +325,7 @@ public open class AssetStaging( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -342,7 +343,7 @@ public open class AssetStaging( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -410,7 +411,7 @@ public open class AssetStaging( * @param follow A strategy for how to handle symlinks. */ override fun follow(follow: SymlinkFollowMode) { - cdkBuilder.follow(follow.let(SymlinkFollowMode::unwrap)) + cdkBuilder.follow(follow.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -421,7 +422,7 @@ public open class AssetStaging( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStagingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStagingProps.kt index 406b3e6de8..a0c5699682 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStagingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/AssetStagingProps.kt @@ -174,7 +174,7 @@ public interface AssetStagingProps : FingerprintOptions, AssetOptions { * `AssetHashType.CUSTOM`. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public interface AssetStagingProps : FingerprintOptions, AssetOptions { * final asset. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -230,14 +230,14 @@ public interface AssetStagingProps : FingerprintOptions, AssetOptions { * @param follow A strategy for how to handle symlinks. */ override fun follow(follow: SymlinkFollowMode) { - cdkBuilder.follow(follow.let(SymlinkFollowMode::unwrap)) + cdkBuilder.follow(follow.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BootstraplessSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BootstraplessSynthesizer.kt index 4c64fd92a9..223bff9fbe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BootstraplessSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BootstraplessSynthesizer.kt @@ -44,7 +44,7 @@ public open class BootstraplessSynthesizer( ) public constructor(props: BootstraplessSynthesizerProps) : - this(software.amazon.awscdk.BootstraplessSynthesizer(props.let(BootstraplessSynthesizerProps::unwrap)) + this(software.amazon.awscdk.BootstraplessSynthesizer(props.let(BootstraplessSynthesizerProps.Companion::unwrap)) ) public constructor(props: BootstraplessSynthesizerProps.Builder.() -> Unit) : @@ -65,7 +65,7 @@ public open class BootstraplessSynthesizer( * @param _asset */ public override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -99,7 +99,7 @@ public open class BootstraplessSynthesizer( * @param _asset */ public override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -125,7 +125,7 @@ public open class BootstraplessSynthesizer( * @param session */ public override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BundlingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BundlingOptions.kt index f002e38464..3e3f71a0c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BundlingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/BundlingOptions.kt @@ -267,7 +267,7 @@ public interface BundlingOptions { * bundling container and to return the bundling output back to the host. */ override fun bundlingFileAccess(bundlingFileAccess: BundlingFileAccess) { - cdkBuilder.bundlingFileAccess(bundlingFileAccess.let(BundlingFileAccess::unwrap)) + cdkBuilder.bundlingFileAccess(bundlingFileAccess.let(BundlingFileAccess.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface BundlingOptions { * @param image The Docker image where the command will run. */ override fun image(image: DockerImage) { - cdkBuilder.image(image.let(DockerImage::unwrap)) + cdkBuilder.image(image.let(DockerImage.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface BundlingOptions { * will be done. */ override fun local(local: ILocalBundling) { - cdkBuilder.local(local.let(ILocalBundling::unwrap)) + cdkBuilder.local(local.let(ILocalBundling.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface BundlingOptions { * @param outputType The type of output that this bundling operation is producing. */ override fun outputType(outputType: BundlingOutput) { - cdkBuilder.outputType(outputType.let(BundlingOutput::unwrap)) + cdkBuilder.outputType(outputType.let(BundlingOutput.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface BundlingOptions { * @param volumes Additional Docker volumes to mount. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(DockerVolume::unwrap)) + cdkBuilder.volumes(volumes.map(DockerVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenApplication.kt index 95259e9507..07f10adb3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenApplication.kt @@ -92,7 +92,7 @@ public interface CfnCodeDeployBlueGreenApplication { * @param ecsAttributes The detailed attributes of the deployed target. */ override fun ecsAttributes(ecsAttributes: CfnCodeDeployBlueGreenEcsAttributes) { - cdkBuilder.ecsAttributes(ecsAttributes.let(CfnCodeDeployBlueGreenEcsAttributes::unwrap)) + cdkBuilder.ecsAttributes(ecsAttributes.let(CfnCodeDeployBlueGreenEcsAttributes.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface CfnCodeDeployBlueGreenApplication { * @param target The target that is being deployed. */ override fun target(target: CfnCodeDeployBlueGreenApplicationTarget) { - cdkBuilder.target(target.let(CfnCodeDeployBlueGreenApplicationTarget::unwrap)) + cdkBuilder.target(target.let(CfnCodeDeployBlueGreenApplicationTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenEcsAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenEcsAttributes.kt index bf12610c9c..5fa90cbf01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenEcsAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenEcsAttributes.kt @@ -134,7 +134,7 @@ public interface CfnCodeDeployBlueGreenEcsAttributes { * @param trafficRouting The traffic routing configuration. */ override fun trafficRouting(trafficRouting: CfnTrafficRouting) { - cdkBuilder.trafficRouting(trafficRouting.let(CfnTrafficRouting::unwrap)) + cdkBuilder.trafficRouting(trafficRouting.let(CfnTrafficRouting.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHook.kt index 0fe7010835..e2bab0cf30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHook.kt @@ -34,8 +34,8 @@ public open class CfnCodeDeployBlueGreenHook( id: String, props: CfnCodeDeployBlueGreenHookProps, ) : - this(software.amazon.awscdk.CfnCodeDeployBlueGreenHook(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCodeDeployBlueGreenHookProps::unwrap)) + this(software.amazon.awscdk.CfnCodeDeployBlueGreenHook(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCodeDeployBlueGreenHookProps.Companion::unwrap)) ) public constructor( @@ -59,7 +59,7 @@ public open class CfnCodeDeployBlueGreenHook( * Default: - no additional options */ public open fun additionalOptions(`value`: CfnCodeDeployBlueGreenAdditionalOptions) { - unwrap(this).setAdditionalOptions(`value`.let(CfnCodeDeployBlueGreenAdditionalOptions::unwrap)) + unwrap(this).setAdditionalOptions(`value`.let(CfnCodeDeployBlueGreenAdditionalOptions.Companion::unwrap)) } /** @@ -83,7 +83,7 @@ public open class CfnCodeDeployBlueGreenHook( * Properties of the Amazon ECS applications being deployed. */ public open fun applications(`value`: List) { - unwrap(this).setApplications(`value`.map(CfnCodeDeployBlueGreenApplication::unwrap)) + unwrap(this).setApplications(`value`.map(CfnCodeDeployBlueGreenApplication.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnCodeDeployBlueGreenHook( * Default: - no lifecycle event hooks */ public open fun lifecycleEventHooks(`value`: CfnCodeDeployBlueGreenLifecycleEventHooks) { - unwrap(this).setLifecycleEventHooks(`value`.let(CfnCodeDeployBlueGreenLifecycleEventHooks::unwrap)) + unwrap(this).setLifecycleEventHooks(`value`.let(CfnCodeDeployBlueGreenLifecycleEventHooks.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnCodeDeployBlueGreenHook( * bake time */ public open fun trafficRoutingConfig(`value`: CfnTrafficRoutingConfig) { - unwrap(this).setTrafficRoutingConfig(`value`.let(CfnTrafficRoutingConfig::unwrap)) + unwrap(this).setTrafficRoutingConfig(`value`.let(CfnTrafficRoutingConfig.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnCodeDeployBlueGreenHook( * @param additionalOptions Additional options for the blue/green deployment. */ override fun additionalOptions(additionalOptions: CfnCodeDeployBlueGreenAdditionalOptions) { - cdkBuilder.additionalOptions(additionalOptions.let(CfnCodeDeployBlueGreenAdditionalOptions::unwrap)) + cdkBuilder.additionalOptions(additionalOptions.let(CfnCodeDeployBlueGreenAdditionalOptions.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnCodeDeployBlueGreenHook( * @param applications Properties of the Amazon ECS applications being deployed. */ override fun applications(applications: List) { - cdkBuilder.applications(applications.map(CfnCodeDeployBlueGreenApplication::unwrap)) + cdkBuilder.applications(applications.map(CfnCodeDeployBlueGreenApplication.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnCodeDeployBlueGreenHook( */ override fun lifecycleEventHooks(lifecycleEventHooks: CfnCodeDeployBlueGreenLifecycleEventHooks) { - cdkBuilder.lifecycleEventHooks(lifecycleEventHooks.let(CfnCodeDeployBlueGreenLifecycleEventHooks::unwrap)) + cdkBuilder.lifecycleEventHooks(lifecycleEventHooks.let(CfnCodeDeployBlueGreenLifecycleEventHooks.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnCodeDeployBlueGreenHook( * @param trafficRoutingConfig Traffic routing configuration settings. */ override fun trafficRoutingConfig(trafficRoutingConfig: CfnTrafficRoutingConfig) { - cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(CfnTrafficRoutingConfig::unwrap)) + cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(CfnTrafficRoutingConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHookProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHookProps.kt index 1b4d6c3a22..70b465172a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHookProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCodeDeployBlueGreenHookProps.kt @@ -189,7 +189,7 @@ public interface CfnCodeDeployBlueGreenHookProps { * @param additionalOptions Additional options for the blue/green deployment. */ override fun additionalOptions(additionalOptions: CfnCodeDeployBlueGreenAdditionalOptions) { - cdkBuilder.additionalOptions(additionalOptions.let(CfnCodeDeployBlueGreenAdditionalOptions::unwrap)) + cdkBuilder.additionalOptions(additionalOptions.let(CfnCodeDeployBlueGreenAdditionalOptions.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface CfnCodeDeployBlueGreenHookProps { * @param applications Properties of the Amazon ECS applications being deployed. */ override fun applications(applications: List) { - cdkBuilder.applications(applications.map(CfnCodeDeployBlueGreenApplication::unwrap)) + cdkBuilder.applications(applications.map(CfnCodeDeployBlueGreenApplication.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface CfnCodeDeployBlueGreenHookProps { */ override fun lifecycleEventHooks(lifecycleEventHooks: CfnCodeDeployBlueGreenLifecycleEventHooks) { - cdkBuilder.lifecycleEventHooks(lifecycleEventHooks.let(CfnCodeDeployBlueGreenLifecycleEventHooks::unwrap)) + cdkBuilder.lifecycleEventHooks(lifecycleEventHooks.let(CfnCodeDeployBlueGreenLifecycleEventHooks.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface CfnCodeDeployBlueGreenHookProps { * @param trafficRoutingConfig Traffic routing configuration settings. */ override fun trafficRoutingConfig(trafficRoutingConfig: CfnTrafficRoutingConfig) { - cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(CfnTrafficRoutingConfig::unwrap)) + cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(CfnTrafficRoutingConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCondition.kt index 78ab4be192..afb9ee6f5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCondition.kt @@ -30,7 +30,7 @@ public open class CfnCondition( cdkObject: software.amazon.awscdk.CfnCondition, ) : CfnElement(cdkObject), ICfnConditionExpression, IResolvable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnCondition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnCondition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -38,8 +38,9 @@ public open class CfnCondition( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnConditionProps, - ) : this(software.amazon.awscdk.CfnCondition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConditionProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnCondition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConditionProps.Companion::unwrap)) ) public constructor( @@ -59,7 +60,7 @@ public open class CfnCondition( * The condition statement. */ public open fun expression(`value`: ICfnConditionExpression) { - unwrap(this).setExpression(`value`.let(ICfnConditionExpression::unwrap)) + unwrap(this).setExpression(`value`.let(ICfnConditionExpression.Companion::unwrap)) } /** @@ -68,7 +69,7 @@ public open class CfnCondition( * @param _context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * A fluent builder for [io.cloudshiftdev.awscdk.CfnCondition]. @@ -100,7 +101,7 @@ public open class CfnCondition( * @param expression The expression that the condition will evaluate. */ override fun expression(expression: ICfnConditionExpression) { - cdkBuilder.expression(expression.let(ICfnConditionExpression::unwrap)) + cdkBuilder.expression(expression.let(ICfnConditionExpression.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnCondition = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnConditionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnConditionProps.kt index 67e1fe9b91..a58e0ea12d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnConditionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnConditionProps.kt @@ -49,7 +49,7 @@ public interface CfnConditionProps { * @param expression The expression that the condition will evaluate. */ override fun expression(expression: ICfnConditionExpression) { - cdkBuilder.expression(expression.let(ICfnConditionExpression::unwrap)) + cdkBuilder.expression(expression.let(ICfnConditionExpression.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnConditionProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCreationPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCreationPolicy.kt index 911198ef66..208c3e6235 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCreationPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCreationPolicy.kt @@ -127,7 +127,7 @@ public interface CfnCreationPolicy { */ override fun autoScalingCreationPolicy(autoScalingCreationPolicy: CfnResourceAutoScalingCreationPolicy) { - cdkBuilder.autoScalingCreationPolicy(autoScalingCreationPolicy.let(CfnResourceAutoScalingCreationPolicy::unwrap)) + cdkBuilder.autoScalingCreationPolicy(autoScalingCreationPolicy.let(CfnResourceAutoScalingCreationPolicy.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface CfnCreationPolicy { * those signals. */ override fun resourceSignal(resourceSignal: CfnResourceSignal) { - cdkBuilder.resourceSignal(resourceSignal.let(CfnResourceSignal::unwrap)) + cdkBuilder.resourceSignal(resourceSignal.let(CfnResourceSignal.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCustomResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCustomResource.kt index b3fbc24d31..e1998aa3ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCustomResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnCustomResource.kt @@ -51,8 +51,8 @@ public open class CfnCustomResource( id: String, props: CfnCustomResourceProps, ) : - this(software.amazon.awscdk.CfnCustomResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomResourceProps::unwrap)) + this(software.amazon.awscdk.CfnCustomResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomResourceProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnCustomResource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReference.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReference.kt index 4d01eb7f3c..12510548d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReference.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReference.kt @@ -23,7 +23,7 @@ public open class CfnDynamicReference( cdkObject: software.amazon.awscdk.CfnDynamicReference, ) : Intrinsic(cdkObject) { public constructor(service: CfnDynamicReferenceService, key: String) : - this(software.amazon.awscdk.CfnDynamicReference(service.let(CfnDynamicReferenceService::unwrap), + this(software.amazon.awscdk.CfnDynamicReference(service.let(CfnDynamicReferenceService.Companion::unwrap), key) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReferenceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReferenceProps.kt index da81c08a36..0f9a7f586d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReferenceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnDynamicReferenceProps.kt @@ -65,7 +65,7 @@ public interface CfnDynamicReferenceProps { * @param service The service to retrieve the dynamic reference from. */ override fun service(service: CfnDynamicReferenceService) { - cdkBuilder.service(service.let(CfnDynamicReferenceService::unwrap)) + cdkBuilder.service(service.let(CfnDynamicReferenceService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnDynamicReferenceProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHook.kt index f73aa46df4..214160c281 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHook.kt @@ -32,8 +32,9 @@ public open class CfnHook( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnHookProps, - ) : this(software.amazon.awscdk.CfnHook(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(CfnHookProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnHook(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookDefaultVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookDefaultVersion.kt index 8d3e21962a..f8e6785b5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookDefaultVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookDefaultVersion.kt @@ -34,7 +34,7 @@ public open class CfnHookDefaultVersion( cdkObject: software.amazon.awscdk.CfnHookDefaultVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -43,8 +43,8 @@ public open class CfnHookDefaultVersion( id: String, props: CfnHookDefaultVersionProps, ) : - this(software.amazon.awscdk.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHookDefaultVersionProps::unwrap)) + this(software.amazon.awscdk.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookDefaultVersionProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class CfnHookDefaultVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookTypeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookTypeConfig.kt index 7174fb3b94..f37d6bbd00 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookTypeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookTypeConfig.kt @@ -37,8 +37,8 @@ public open class CfnHookTypeConfig( id: String, props: CfnHookTypeConfigProps, ) : - this(software.amazon.awscdk.CfnHookTypeConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHookTypeConfigProps::unwrap)) + this(software.amazon.awscdk.CfnHookTypeConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookTypeConfigProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnHookTypeConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersion.kt index 612d8580d8..53118cf7b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersion.kt @@ -44,8 +44,8 @@ public open class CfnHookVersion( id: String, props: CfnHookVersionProps, ) : - this(software.amazon.awscdk.CfnHookVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHookVersionProps::unwrap)) + this(software.amazon.awscdk.CfnHookVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookVersionProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnHookVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,14 +117,14 @@ public open class CfnHookVersion( * Contains logging configuration information for an extension. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains logging configuration information for an extension. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnHookVersion( * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnHookVersion( * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersionProps.kt index 1a9cc9be67..073efaf8e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnHookVersionProps.kt @@ -172,14 +172,14 @@ public interface CfnHookVersionProps { * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: CfnHookVersion.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnHookVersion.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnHookVersion.LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnJson.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnJson.kt index d3dd867b0f..1982e77274 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnJson.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnJson.kt @@ -44,8 +44,9 @@ public open class CfnJson( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnJsonProps, - ) : this(software.amazon.awscdk.CfnJson(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(CfnJsonProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnJson(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJsonProps.Companion::unwrap)) ) public constructor( @@ -70,7 +71,7 @@ public open class CfnJson( * @param _context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * This is required in case someone JSON.stringifys an object which references this object. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMacro.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMacro.kt index 66601cb4d1..a47e8057f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMacro.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMacro.kt @@ -40,8 +40,9 @@ public open class CfnMacro( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnMacroProps, - ) : this(software.amazon.awscdk.CfnMacro(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(CfnMacroProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnMacro(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMacroProps.Companion::unwrap)) ) public constructor( @@ -88,7 +89,7 @@ public open class CfnMacro( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMapping.kt index 543e28ae82..0d93d9d0e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnMapping.kt @@ -31,7 +31,7 @@ public open class CfnMapping( cdkObject: software.amazon.awscdk.CfnMapping, ) : CfnRefElement(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,9 @@ public open class CfnMapping( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnMappingProps, - ) : this(software.amazon.awscdk.CfnMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMappingProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMappingProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleDefaultVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleDefaultVersion.kt index 84f5873401..adbc9fe765 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleDefaultVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleDefaultVersion.kt @@ -46,7 +46,7 @@ public open class CfnModuleDefaultVersion( cdkObject: software.amazon.awscdk.CfnModuleDefaultVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -55,8 +55,8 @@ public open class CfnModuleDefaultVersion( id: String, props: CfnModuleDefaultVersionProps, ) : - this(software.amazon.awscdk.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModuleDefaultVersionProps::unwrap)) + this(software.amazon.awscdk.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModuleDefaultVersionProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnModuleDefaultVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleVersion.kt index 916fe3e23b..e0dc14b114 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnModuleVersion.kt @@ -48,8 +48,8 @@ public open class CfnModuleVersion( id: String, props: CfnModuleVersionProps, ) : - this(software.amazon.awscdk.CfnModuleVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModuleVersionProps::unwrap)) + this(software.amazon.awscdk.CfnModuleVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModuleVersionProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnModuleVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutput.kt index 051550e1e0..590e2c94fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutput.kt @@ -43,8 +43,9 @@ public open class CfnOutput( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnOutputProps, - ) : this(software.amazon.awscdk.CfnOutput(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(CfnOutputProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnOutput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOutputProps.Companion::unwrap)) ) public constructor( @@ -73,7 +74,7 @@ public open class CfnOutput( * Default: - No condition is associated with the output. */ public open fun condition(`value`: CfnCondition) { - unwrap(this).setCondition(`value`.let(CfnCondition::unwrap)) + unwrap(this).setCondition(`value`.let(CfnCondition.Companion::unwrap)) } /** @@ -230,7 +231,7 @@ public open class CfnOutput( * @param condition A condition to associate with this output value. */ override fun condition(condition: CfnCondition) { - cdkBuilder.condition(condition.let(CfnCondition::unwrap)) + cdkBuilder.condition(condition.let(CfnCondition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutputProps.kt index f34c546612..d0ca74c073 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnOutputProps.kt @@ -125,7 +125,7 @@ public interface CfnOutputProps { * to `false`, this output value will not be included in the stack. */ override fun condition(condition: CfnCondition) { - cdkBuilder.condition(condition.let(CfnCondition::unwrap)) + cdkBuilder.condition(condition.let(CfnCondition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnParameter.kt index d913edafad..98f93247ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnParameter.kt @@ -31,7 +31,7 @@ public open class CfnParameter( cdkObject: software.amazon.awscdk.CfnParameter, ) : CfnElement(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,9 @@ public open class CfnParameter( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnParameterProps, - ) : this(software.amazon.awscdk.CfnParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnParameterProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnParameterProps.Companion::unwrap)) ) public constructor( @@ -237,7 +238,7 @@ public open class CfnParameter( * @param _context */ public open fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * The data type for the parameter (DataType). diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublicTypeVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublicTypeVersion.kt index 86bd7e8e81..16513b58ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublicTypeVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublicTypeVersion.kt @@ -57,7 +57,7 @@ public open class CfnPublicTypeVersion( cdkObject: software.amazon.awscdk.CfnPublicTypeVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnPublicTypeVersion( id: String, props: CfnPublicTypeVersionProps, ) : - this(software.amazon.awscdk.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublicTypeVersionProps::unwrap)) + this(software.amazon.awscdk.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublicTypeVersionProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnPublicTypeVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisher.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisher.kt index 0cb3c40b79..3c75406958 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisher.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisher.kt @@ -42,8 +42,9 @@ public open class CfnPublisher( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnPublisherProps, - ) : this(software.amazon.awscdk.CfnPublisher(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublisherProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnPublisher(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublisherProps.Companion::unwrap)) ) public constructor( @@ -78,7 +79,7 @@ public open class CfnPublisher( * in order to register to publish public extensions to the CloudFormation registry. */ public open fun acceptTermsAndConditions(`value`: IResolvable) { - unwrap(this).setAcceptTermsAndConditions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAcceptTermsAndConditions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -124,7 +125,7 @@ public open class CfnPublisher( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,7 +220,7 @@ public open class CfnPublisher( * conditions in order to register to publish public extensions to the CloudFormation registry. */ override fun acceptTermsAndConditions(acceptTermsAndConditions: IResolvable) { - cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable::unwrap)) + cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisherProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisherProps.kt index 5f0f86546d..0430dd5614 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisherProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnPublisherProps.kt @@ -109,7 +109,7 @@ public interface CfnPublisherProps { * The default is `false` . */ override fun acceptTermsAndConditions(acceptTermsAndConditions: IResolvable) { - cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable::unwrap)) + cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResource.kt index 8be513104f..714173f31a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResource.kt @@ -42,8 +42,9 @@ public open class CfnResource( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnResourceProps, - ) : this(software.amazon.awscdk.CfnResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceProps.Companion::unwrap)) ) public constructor( @@ -72,7 +73,7 @@ public open class CfnResource( * @param target */ public open fun addDependency(target: CfnResource) { - unwrap(this).addDependency(target.let(CfnResource::unwrap)) + unwrap(this).addDependency(target.let(CfnResource.Companion::unwrap)) } /** @@ -84,7 +85,7 @@ public open class CfnResource( */ @Deprecated(message = "deprecated in CDK") public open fun addDependsOn(target: CfnResource) { - unwrap(this).addDependsOn(target.let(CfnResource::unwrap)) + unwrap(this).addDependsOn(target.let(CfnResource.Companion::unwrap)) } /** @@ -225,7 +226,7 @@ public open class CfnResource( * @param options */ public open fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -247,8 +248,8 @@ public open class CfnResource( * @param options */ public open fun applyRemovalPolicy(policy: RemovalPolicy, options: RemovalPolicyOptions) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap), - options.let(RemovalPolicyOptions::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap), + options.let(RemovalPolicyOptions.Companion::unwrap)) } /** @@ -300,7 +301,7 @@ public open class CfnResource( */ public open fun att(attributeName: String, typeHint: ResolutionTypeHint): Reference = unwrap(this).getAtt(attributeName, - typeHint.let(ResolutionTypeHint::unwrap)).let(Reference::wrap) + typeHint.let(ResolutionTypeHint.Companion::unwrap)).let(Reference::wrap) /** * Options for this resource, such as condition, update policy etc. @@ -352,7 +353,7 @@ public open class CfnResource( * @param target */ public open fun removeDependency(target: CfnResource) { - unwrap(this).removeDependency(target.let(CfnResource::unwrap)) + unwrap(this).removeDependency(target.let(CfnResource.Companion::unwrap)) } /** @@ -362,8 +363,8 @@ public open class CfnResource( * @param newTarget The new dependency to add. */ public open fun replaceDependency(target: CfnResource, newTarget: CfnResource) { - unwrap(this).replaceDependency(target.let(CfnResource::unwrap), - newTarget.let(CfnResource::unwrap)) + unwrap(this).replaceDependency(target.let(CfnResource.Companion::unwrap), + newTarget.let(CfnResource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceDefaultVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceDefaultVersion.kt index ef2fb4723d..776bfb5e5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceDefaultVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceDefaultVersion.kt @@ -33,7 +33,7 @@ public open class CfnResourceDefaultVersion( cdkObject: software.amazon.awscdk.CfnResourceDefaultVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -42,8 +42,8 @@ public open class CfnResourceDefaultVersion( id: String, props: CfnResourceDefaultVersionProps, ) : - this(software.amazon.awscdk.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceDefaultVersionProps::unwrap)) + this(software.amazon.awscdk.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceDefaultVersionProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CfnResourceDefaultVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersion.kt index 76d02716db..5162c49af7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersion.kt @@ -59,8 +59,8 @@ public open class CfnResourceVersion( id: String, props: CfnResourceVersionProps, ) : - this(software.amazon.awscdk.CfnResourceVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceVersionProps::unwrap)) + this(software.amazon.awscdk.CfnResourceVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceVersionProps.Companion::unwrap)) ) public constructor( @@ -152,7 +152,7 @@ public open class CfnResourceVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -164,14 +164,14 @@ public open class CfnResourceVersion( * Logging configuration information for a resource. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Logging configuration information for a resource. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnResourceVersion( * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class CfnResourceVersion( * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersionProps.kt index 5057ababd2..a6af2bbb04 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnResourceVersionProps.kt @@ -192,14 +192,14 @@ public interface CfnResourceVersionProps { * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: CfnResourceVersion.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnResourceVersion.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnResourceVersion.LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRule.kt index a51c818d20..624c7ee669 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRule.kt @@ -40,15 +40,17 @@ public open class CfnRule( cdkObject: software.amazon.awscdk.CfnRule, ) : CfnRefElement(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), id) + this(software.amazon.awscdk.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id) ) public constructor( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnRuleProps, - ) : this(software.amazon.awscdk.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(CfnRuleProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleProps.Companion::unwrap)) ) public constructor( @@ -65,7 +67,7 @@ public open class CfnRule( * @param description The description of the assertion. */ public open fun addAssertion(condition: ICfnConditionExpression, description: String) { - unwrap(this).addAssertion(condition.let(ICfnConditionExpression::unwrap), description) + unwrap(this).addAssertion(condition.let(ICfnConditionExpression.Companion::unwrap), description) } /** @@ -119,7 +121,7 @@ public open class CfnRule( * @param assertions Assertions which define the rule. */ override fun assertions(assertions: List) { - cdkBuilder.assertions(assertions.map(CfnRuleAssertion::unwrap)) + cdkBuilder.assertions(assertions.map(CfnRuleAssertion.Companion::unwrap)) } /** @@ -143,7 +145,7 @@ public open class CfnRule( * @param ruleCondition If the rule condition evaluates to false, the rule doesn't take effect. */ override fun ruleCondition(ruleCondition: ICfnConditionExpression) { - cdkBuilder.ruleCondition(ruleCondition.let(ICfnConditionExpression::unwrap)) + cdkBuilder.ruleCondition(ruleCondition.let(ICfnConditionExpression.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnRule = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleAssertion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleAssertion.kt index 623d5afe1f..e74478377c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleAssertion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleAssertion.kt @@ -66,7 +66,7 @@ public interface CfnRuleAssertion { * @param assertValue The assertion. */ override fun assertValue(assertValue: ICfnConditionExpression) { - cdkBuilder.assertValue(assertValue.let(ICfnConditionExpression::unwrap)) + cdkBuilder.assertValue(assertValue.let(ICfnConditionExpression.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnRuleAssertion = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleProps.kt index c14e8cdfaa..84a990da2b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnRuleProps.kt @@ -99,7 +99,7 @@ public interface CfnRuleProps { * @param assertions Assertions which define the rule. */ override fun assertions(assertions: List) { - cdkBuilder.assertions(assertions.map(CfnRuleAssertion::unwrap)) + cdkBuilder.assertions(assertions.map(CfnRuleAssertion.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface CfnRuleProps { * evaluated and applied. */ override fun ruleCondition(ruleCondition: ICfnConditionExpression) { - cdkBuilder.ruleCondition(ruleCondition.let(ICfnConditionExpression::unwrap)) + cdkBuilder.ruleCondition(ruleCondition.let(ICfnConditionExpression.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnRuleProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStack.kt index 83bc75b50d..fd2c3ea81a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStack.kt @@ -102,15 +102,17 @@ public open class CfnStack( cdkObject: software.amazon.awscdk.CfnStack, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), id) + this(software.amazon.awscdk.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id) ) public constructor( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnStackProps, - ) : this(software.amazon.awscdk.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(CfnStackProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackProps.Companion::unwrap)) ) public constructor( @@ -180,7 +182,7 @@ public open class CfnStack( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -213,7 +215,7 @@ public open class CfnStack( * stack is created. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -239,7 +241,7 @@ public open class CfnStack( * Key-value pairs to associate with this stack. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -467,7 +469,7 @@ public open class CfnStack( * when this nested stack is created. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -506,7 +508,7 @@ public open class CfnStack( * @param tags Key-value pairs to associate with this stack. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackProps.kt index cdf2a4aa42..17f2709304 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackProps.kt @@ -248,7 +248,7 @@ public interface CfnStackProps { * update never causes a nested stack to be replaced. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnStackProps { * maximum number of 50 tags can be specified. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSet.kt index 3b7a31da83..d3eb6252af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSet.kt @@ -91,8 +91,9 @@ public open class CfnStackSet( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnStackSetProps, - ) : this(software.amazon.awscdk.CfnStackSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackSetProps::unwrap)) + ) : + this(software.amazon.awscdk.CfnStackSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackSetProps.Companion::unwrap)) ) public constructor( @@ -130,7 +131,7 @@ public open class CfnStackSet( * Organizations accounts that are added to a target organization or organizational unit (OU). */ public open fun autoDeployment(`value`: IResolvable) { - unwrap(this).setAutoDeployment(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoDeployment(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +139,7 @@ public open class CfnStackSet( * Organizations accounts that are added to a target organization or organizational unit (OU). */ public open fun autoDeployment(`value`: AutoDeploymentProperty) { - unwrap(this).setAutoDeployment(`value`.let(AutoDeploymentProperty::unwrap)) + unwrap(this).setAutoDeployment(`value`.let(AutoDeploymentProperty.Companion::unwrap)) } /** @@ -211,7 +212,7 @@ public open class CfnStackSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -237,14 +238,14 @@ public open class CfnStackSet( * The user-specified preferences for how AWS CloudFormation performs a stack set operation. */ public open fun operationPreferences(`value`: IResolvable) { - unwrap(this).setOperationPreferences(`value`.let(IResolvable::unwrap)) + unwrap(this).setOperationPreferences(`value`.let(IResolvable.Companion::unwrap)) } /** * The user-specified preferences for how AWS CloudFormation performs a stack set operation. */ public open fun operationPreferences(`value`: OperationPreferencesProperty) { - unwrap(this).setOperationPreferences(`value`.let(OperationPreferencesProperty::unwrap)) + unwrap(this).setOperationPreferences(`value`.let(OperationPreferencesProperty.Companion::unwrap)) } /** @@ -264,7 +265,7 @@ public open class CfnStackSet( * The input parameters for the stack set template. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +301,7 @@ public open class CfnStackSet( * A group of stack instances with parameters in some specific accounts and Regions. */ public open fun stackInstancesGroup(`value`: IResolvable) { - unwrap(this).setStackInstancesGroup(`value`.let(IResolvable::unwrap)) + unwrap(this).setStackInstancesGroup(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -343,7 +344,7 @@ public open class CfnStackSet( * Key-value pairs to associate with this stack. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -759,7 +760,7 @@ public open class CfnStackSet( * organizational unit (OU). */ override fun autoDeployment(autoDeployment: IResolvable) { - cdkBuilder.autoDeployment(autoDeployment.let(IResolvable::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -772,7 +773,7 @@ public open class CfnStackSet( * organizational unit (OU). */ override fun autoDeployment(autoDeployment: AutoDeploymentProperty) { - cdkBuilder.autoDeployment(autoDeployment.let(AutoDeploymentProperty::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(AutoDeploymentProperty.Companion::unwrap)) } /** @@ -917,7 +918,7 @@ public open class CfnStackSet( * performs a stack set operation. */ override fun operationPreferences(operationPreferences: IResolvable) { - cdkBuilder.operationPreferences(operationPreferences.let(IResolvable::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(IResolvable.Companion::unwrap)) } /** @@ -928,7 +929,7 @@ public open class CfnStackSet( * performs a stack set operation. */ override fun operationPreferences(operationPreferences: OperationPreferencesProperty) { - cdkBuilder.operationPreferences(operationPreferences.let(OperationPreferencesProperty::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(OperationPreferencesProperty.Companion::unwrap)) } /** @@ -951,7 +952,7 @@ public open class CfnStackSet( * @param parameters The input parameters for the stack set template. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -998,7 +999,7 @@ public open class CfnStackSet( * accounts and Regions. */ override fun stackInstancesGroup(stackInstancesGroup: IResolvable) { - cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable::unwrap)) + cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable.Companion::unwrap)) } /** @@ -1051,7 +1052,7 @@ public open class CfnStackSet( * @param tags Key-value pairs to associate with this stack. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1229,7 +1230,7 @@ public open class CfnStackSet( * instances from the account in the specified Regions. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1249,7 +1250,7 @@ public open class CfnStackSet( * . */ override fun retainStacksOnAccountRemoval(retainStacksOnAccountRemoval: IResolvable) { - cdkBuilder.retainStacksOnAccountRemoval(retainStacksOnAccountRemoval.let(IResolvable::unwrap)) + cdkBuilder.retainStacksOnAccountRemoval(retainStacksOnAccountRemoval.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnStackSet.AutoDeploymentProperty = @@ -1677,7 +1678,7 @@ public open class CfnStackSet( * When `false` (default), StackSets performs one operation at a time in request order. */ override fun active(active: IResolvable) { - cdkBuilder.active(active.let(IResolvable::unwrap)) + cdkBuilder.active(active.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnStackSet.ManagedExecutionProperty = @@ -2355,7 +2356,7 @@ public open class CfnStackSet( * stack instances in the specified Regions. */ override fun deploymentTargets(deploymentTargets: IResolvable) { - cdkBuilder.deploymentTargets(deploymentTargets.let(IResolvable::unwrap)) + cdkBuilder.deploymentTargets(deploymentTargets.let(IResolvable.Companion::unwrap)) } /** @@ -2363,7 +2364,7 @@ public open class CfnStackSet( * stack instances in the specified Regions. */ override fun deploymentTargets(deploymentTargets: DeploymentTargetsProperty) { - cdkBuilder.deploymentTargets(deploymentTargets.let(DeploymentTargetsProperty::unwrap)) + cdkBuilder.deploymentTargets(deploymentTargets.let(DeploymentTargetsProperty.Companion::unwrap)) } /** @@ -2381,7 +2382,7 @@ public open class CfnStackSet( * in the selected stack instances. */ override fun parameterOverrides(parameterOverrides: IResolvable) { - cdkBuilder.parameterOverrides(parameterOverrides.let(IResolvable::unwrap)) + cdkBuilder.parameterOverrides(parameterOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSetProps.kt index 778b1a8cac..01d8c4da63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnStackSetProps.kt @@ -552,7 +552,7 @@ public interface CfnStackSetProps { * organizational unit (OU). */ override fun autoDeployment(autoDeployment: IResolvable) { - cdkBuilder.autoDeployment(autoDeployment.let(IResolvable::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface CfnStackSetProps { * organizational unit (OU). */ override fun autoDeployment(autoDeployment: CfnStackSet.AutoDeploymentProperty) { - cdkBuilder.autoDeployment(autoDeployment.let(CfnStackSet.AutoDeploymentProperty::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(CfnStackSet.AutoDeploymentProperty.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public interface CfnStackSetProps { * performs a stack set operation. */ override fun operationPreferences(operationPreferences: IResolvable) { - cdkBuilder.operationPreferences(operationPreferences.let(IResolvable::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(IResolvable.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public interface CfnStackSetProps { */ override fun operationPreferences(operationPreferences: CfnStackSet.OperationPreferencesProperty) { - cdkBuilder.operationPreferences(operationPreferences.let(CfnStackSet.OperationPreferencesProperty::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(CfnStackSet.OperationPreferencesProperty.Companion::unwrap)) } /** @@ -700,7 +700,7 @@ public interface CfnStackSetProps { * @param parameters The input parameters for the stack set template. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface CfnStackSetProps { * accounts and Regions. */ override fun stackInstancesGroup(stackInstancesGroup: IResolvable) { - cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable::unwrap)) + cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public interface CfnStackSetProps { * you specify an empty value, AWS CloudFormation removes all associated tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRouting.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRouting.kt index 8dbd5a7cd2..39c02a89b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRouting.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRouting.kt @@ -104,7 +104,7 @@ public interface CfnTrafficRouting { * your target groups. */ override fun prodTrafficRoute(prodTrafficRoute: CfnTrafficRoute) { - cdkBuilder.prodTrafficRoute(prodTrafficRoute.let(CfnTrafficRoute::unwrap)) + cdkBuilder.prodTrafficRoute(prodTrafficRoute.let(CfnTrafficRoute.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface CfnTrafficRouting { * your target groups. */ override fun testTrafficRoute(testTrafficRoute: CfnTrafficRoute) { - cdkBuilder.testTrafficRoute(testTrafficRoute.let(CfnTrafficRoute::unwrap)) + cdkBuilder.testTrafficRoute(testTrafficRoute.let(CfnTrafficRoute.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRoutingConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRoutingConfig.kt index 4792740843..6aa7561a56 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRoutingConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTrafficRoutingConfig.kt @@ -103,7 +103,7 @@ public interface CfnTrafficRoutingConfig { * `CfnTrafficRoutingType.TIME_BASED_CANARY`. */ override fun timeBasedCanary(timeBasedCanary: CfnTrafficRoutingTimeBasedCanary) { - cdkBuilder.timeBasedCanary(timeBasedCanary.let(CfnTrafficRoutingTimeBasedCanary::unwrap)) + cdkBuilder.timeBasedCanary(timeBasedCanary.let(CfnTrafficRoutingTimeBasedCanary.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface CfnTrafficRoutingConfig { * `CfnTrafficRoutingType.TIME_BASED_LINEAR`. */ override fun timeBasedLinear(timeBasedLinear: CfnTrafficRoutingTimeBasedLinear) { - cdkBuilder.timeBasedLinear(timeBasedLinear.let(CfnTrafficRoutingTimeBasedLinear::unwrap)) + cdkBuilder.timeBasedLinear(timeBasedLinear.let(CfnTrafficRoutingTimeBasedLinear.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public interface CfnTrafficRoutingConfig { * @param type The type of traffic shifting used by the blue-green deployment configuration. */ override fun type(type: CfnTrafficRoutingType) { - cdkBuilder.type(type.let(CfnTrafficRoutingType::unwrap)) + cdkBuilder.type(type.let(CfnTrafficRoutingType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CfnTrafficRoutingConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivation.kt index 97d285bf08..151bb0d4a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivation.kt @@ -57,7 +57,7 @@ public open class CfnTypeActivation( cdkObject: software.amazon.awscdk.CfnTypeActivation, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnTypeActivation( id: String, props: CfnTypeActivationProps, ) : - this(software.amazon.awscdk.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTypeActivationProps::unwrap)) + this(software.amazon.awscdk.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTypeActivationProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnTypeActivation( * version is published by the extension publisher. */ public open fun autoUpdate(`value`: IResolvable) { - unwrap(this).setAutoUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnTypeActivation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,14 +134,14 @@ public open class CfnTypeActivation( * Specifies logging configuration information for an extension. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies logging configuration information for an extension. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CfnTypeActivation( * when a new *minor* version is published by the extension publisher. */ override fun autoUpdate(autoUpdate: IResolvable) { - cdkBuilder.autoUpdate(autoUpdate.let(IResolvable::unwrap)) + cdkBuilder.autoUpdate(autoUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnTypeActivation( * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnTypeActivation( * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivationProps.kt index cbd167a1f7..10de33e4b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnTypeActivationProps.kt @@ -271,7 +271,7 @@ public interface CfnTypeActivationProps { * The default is `true` . */ override fun autoUpdate(autoUpdate: IResolvable) { - cdkBuilder.autoUpdate(autoUpdate.let(IResolvable::unwrap)) + cdkBuilder.autoUpdate(autoUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -285,14 +285,14 @@ public interface CfnTypeActivationProps { * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: CfnTypeActivation.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnTypeActivation.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnTypeActivation.LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnUpdatePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnUpdatePolicy.kt index 1f5bfe7138..9f0d7bce60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnUpdatePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnUpdatePolicy.kt @@ -212,7 +212,7 @@ public interface CfnUpdatePolicy { */ override fun autoScalingReplacingUpdate(autoScalingReplacingUpdate: CfnAutoScalingReplacingUpdate) { - cdkBuilder.autoScalingReplacingUpdate(autoScalingReplacingUpdate.let(CfnAutoScalingReplacingUpdate::unwrap)) + cdkBuilder.autoScalingReplacingUpdate(autoScalingReplacingUpdate.let(CfnAutoScalingReplacingUpdate.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface CfnUpdatePolicy { * group in batches or all at once. */ override fun autoScalingRollingUpdate(autoScalingRollingUpdate: CfnAutoScalingRollingUpdate) { - cdkBuilder.autoScalingRollingUpdate(autoScalingRollingUpdate.let(CfnAutoScalingRollingUpdate::unwrap)) + cdkBuilder.autoScalingRollingUpdate(autoScalingRollingUpdate.let(CfnAutoScalingRollingUpdate.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface CfnUpdatePolicy { */ override fun autoScalingScheduledAction(autoScalingScheduledAction: CfnAutoScalingScheduledAction) { - cdkBuilder.autoScalingScheduledAction(autoScalingScheduledAction.let(CfnAutoScalingScheduledAction::unwrap)) + cdkBuilder.autoScalingScheduledAction(autoScalingScheduledAction.let(CfnAutoScalingScheduledAction.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public interface CfnUpdatePolicy { */ override fun codeDeployLambdaAliasUpdate(codeDeployLambdaAliasUpdate: CfnCodeDeployLambdaAliasUpdate) { - cdkBuilder.codeDeployLambdaAliasUpdate(codeDeployLambdaAliasUpdate.let(CfnCodeDeployLambdaAliasUpdate::unwrap)) + cdkBuilder.codeDeployLambdaAliasUpdate(codeDeployLambdaAliasUpdate.let(CfnCodeDeployLambdaAliasUpdate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitCondition.kt index 8b9d576f78..c878803514 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitCondition.kt @@ -60,7 +60,7 @@ public open class CfnWaitCondition( cdkObject: software.amazon.awscdk.CfnWaitCondition, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class CfnWaitCondition( id: String, props: CfnWaitConditionProps, ) : - this(software.amazon.awscdk.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWaitConditionProps::unwrap)) + this(software.amazon.awscdk.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWaitConditionProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnWaitCondition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitConditionHandle.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitConditionHandle.kt index 881b32c33c..bfd8f11a6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitConditionHandle.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CfnWaitConditionHandle.kt @@ -51,7 +51,7 @@ public open class CfnWaitConditionHandle( cdkObject: software.amazon.awscdk.CfnWaitConditionHandle, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnWaitConditionHandle( id: String, props: CfnWaitConditionHandleProps, ) : - this(software.amazon.awscdk.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWaitConditionHandleProps::unwrap)) + this(software.amazon.awscdk.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWaitConditionHandleProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnWaitConditionHandle( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CliCredentialsStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CliCredentialsStackSynthesizer.kt index 9ccabe112a..6e3d11c342 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CliCredentialsStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CliCredentialsStackSynthesizer.kt @@ -50,7 +50,7 @@ public open class CliCredentialsStackSynthesizer( ) public constructor(props: CliCredentialsStackSynthesizerProps) : - this(software.amazon.awscdk.CliCredentialsStackSynthesizer(props.let(CliCredentialsStackSynthesizerProps::unwrap)) + this(software.amazon.awscdk.CliCredentialsStackSynthesizer(props.let(CliCredentialsStackSynthesizerProps.Companion::unwrap)) ) public constructor(props: CliCredentialsStackSynthesizerProps.Builder.() -> Unit) : @@ -71,7 +71,7 @@ public open class CliCredentialsStackSynthesizer( * @param asset */ public override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -105,7 +105,7 @@ public open class CliCredentialsStackSynthesizer( * @param asset */ public override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -133,7 +133,7 @@ public open class CliCredentialsStackSynthesizer( * @param stack */ public override fun bind(stack: Stack) { - unwrap(this).bind(stack.let(Stack::unwrap)) + unwrap(this).bind(stack.let(Stack.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CliCredentialsStackSynthesizer( * @param stack */ public override fun reusableBind(stack: Stack): IBoundStackSynthesizer = - unwrap(this).reusableBind(stack.let(Stack::unwrap)).let(IBoundStackSynthesizer::wrap) + unwrap(this).reusableBind(stack.let(Stack.Companion::unwrap)).let(IBoundStackSynthesizer::wrap) /** * Synthesize the associated stack to the session. @@ -157,7 +157,7 @@ public open class CliCredentialsStackSynthesizer( * @param session */ public override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ContextProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ContextProvider.kt index 3b03d875db..83c10ff460 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ContextProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ContextProvider.kt @@ -21,8 +21,8 @@ public open class ContextProvider( ) : CdkObject(cdkObject) { public companion object { public fun key(scope: Construct, options: GetContextKeyOptions): GetContextKeyResult = - software.amazon.awscdk.ContextProvider.getKey(scope.let(Construct::unwrap), - options.let(GetContextKeyOptions::unwrap)).let(GetContextKeyResult::wrap) + software.amazon.awscdk.ContextProvider.getKey(scope.let(Construct.Companion::unwrap), + options.let(GetContextKeyOptions.Companion::unwrap)).let(GetContextKeyResult::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d496bb868e70dcad2a53237cef63aa8154067471be32c59fb83f455da6964d14") @@ -30,8 +30,8 @@ public open class ContextProvider( GetContextKeyResult = key(scope, GetContextKeyOptions(options)) public fun `value`(scope: Construct, options: GetContextValueOptions): GetContextValueResult = - software.amazon.awscdk.ContextProvider.getValue(scope.let(Construct::unwrap), - options.let(GetContextValueOptions::unwrap)).let(GetContextValueResult::wrap) + software.amazon.awscdk.ContextProvider.getValue(scope.let(Construct.Companion::unwrap), + options.let(GetContextValueOptions.Companion::unwrap)).let(GetContextValueResult::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("955804e5b028c434617788cb209425e3eb3abe8900e9dfbc4368a300a0e9fc20") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CopyOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CopyOptions.kt index ea5fab3807..e001944bd7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CopyOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CopyOptions.kt @@ -104,14 +104,14 @@ public interface CopyOptions { * @param follow A strategy for how to handle symlinks. */ override fun follow(follow: SymlinkFollowMode) { - cdkBuilder.follow(follow.let(SymlinkFollowMode::unwrap)) + cdkBuilder.follow(follow.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.CopyOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResource.kt index 60f242237a..c8ecd3db78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResource.kt @@ -56,8 +56,8 @@ public open class CustomResource( id: String, props: CustomResourceProps, ) : - this(software.amazon.awscdk.CustomResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CustomResourceProps::unwrap)) + this(software.amazon.awscdk.CustomResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CustomResourceProps.Companion::unwrap)) ) public constructor( @@ -241,7 +241,7 @@ public open class CustomResource( * @param removalPolicy The policy to apply when this resource is removed from the application. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProps.kt index b6e4c0f9da..f0c994ff7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProps.kt @@ -228,7 +228,7 @@ public interface CustomResourceProps { * @param removalPolicy The policy to apply when this resource is removed from the application. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProvider.kt index 79256b117b..15763b9f55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProvider.kt @@ -55,8 +55,8 @@ public open class CustomResourceProvider( uniqueid: String, props: CustomResourceProviderProps, ): String = - software.amazon.awscdk.CustomResourceProvider.getOrCreate(scope.let(Construct::unwrap), - uniqueid, props.let(CustomResourceProviderProps::unwrap)) + software.amazon.awscdk.CustomResourceProvider.getOrCreate(scope.let(Construct.Companion::unwrap), + uniqueid, props.let(CustomResourceProviderProps.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1dfac87d524e6b53be86d072ef3f093e653ab6e867547f672869cb4906eba94c") @@ -71,8 +71,9 @@ public open class CustomResourceProvider( uniqueid: String, props: CustomResourceProviderProps, ): CustomResourceProvider = - software.amazon.awscdk.CustomResourceProvider.getOrCreateProvider(scope.let(Construct::unwrap), - uniqueid, props.let(CustomResourceProviderProps::unwrap)).let(CustomResourceProvider::wrap) + software.amazon.awscdk.CustomResourceProvider.getOrCreateProvider(scope.let(Construct.Companion::unwrap), + uniqueid, + props.let(CustomResourceProviderProps.Companion::unwrap)).let(CustomResourceProvider::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33ee0785f227952a74fc604843ccf9107ba12152626d5e79a95041f6a89b3617") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderBaseProps.kt index 069de8e9a4..fbd02e248a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderBaseProps.kt @@ -149,7 +149,7 @@ public interface CustomResourceProviderBaseProps : CustomResourceProviderOptions * function's memory also increases its CPU allocation. */ override fun memorySize(memorySize: Size) { - cdkBuilder.memorySize(memorySize.let(Size::unwrap)) + cdkBuilder.memorySize(memorySize.let(Size.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public interface CustomResourceProviderBaseProps : CustomResourceProviderOptions * @param timeout AWS Lambda timeout for the provider. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderOptions.kt index 827954e2a2..be32596529 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderOptions.kt @@ -177,7 +177,7 @@ public interface CustomResourceProviderOptions { * function's memory also increases its CPU allocation. */ override fun memorySize(memorySize: Size) { - cdkBuilder.memorySize(memorySize.let(Size::unwrap)) + cdkBuilder.memorySize(memorySize.let(Size.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CustomResourceProviderOptions { * @param timeout AWS Lambda timeout for the provider. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderProps.kt index 138367e0f1..828f873f3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/CustomResourceProviderProps.kt @@ -140,7 +140,7 @@ public interface CustomResourceProviderProps : CustomResourceProviderOptions { * function's memory also increases its CPU allocation. */ override fun memorySize(memorySize: Size) { - cdkBuilder.memorySize(memorySize.let(Size::unwrap)) + cdkBuilder.memorySize(memorySize.let(Size.Companion::unwrap)) } /** @@ -166,14 +166,14 @@ public interface CustomResourceProviderProps : CustomResourceProviderOptions { * @param runtime The AWS Lambda runtime and version to use for the provider. */ override fun runtime(runtime: CustomResourceProviderRuntime) { - cdkBuilder.runtime(runtime.let(CustomResourceProviderRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(CustomResourceProviderRuntime.Companion::unwrap)) } /** * @param timeout AWS Lambda timeout for the provider. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultStackSynthesizer.kt index afdd7656a9..e5dd07384a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultStackSynthesizer.kt @@ -44,7 +44,7 @@ public open class DefaultStackSynthesizer( ) public constructor(props: DefaultStackSynthesizerProps) : - this(software.amazon.awscdk.DefaultStackSynthesizer(props.let(DefaultStackSynthesizerProps::unwrap)) + this(software.amazon.awscdk.DefaultStackSynthesizer(props.let(DefaultStackSynthesizerProps.Companion::unwrap)) ) public constructor(props: DefaultStackSynthesizerProps.Builder.() -> Unit) : @@ -65,7 +65,7 @@ public open class DefaultStackSynthesizer( * @param asset */ public override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -99,7 +99,7 @@ public open class DefaultStackSynthesizer( * @param asset */ public override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -127,7 +127,7 @@ public open class DefaultStackSynthesizer( * @param stack */ public override fun bind(stack: Stack) { - unwrap(this).bind(stack.let(Stack::unwrap)) + unwrap(this).bind(stack.let(Stack.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class DefaultStackSynthesizer( * @param stack */ public override fun reusableBind(stack: Stack): IBoundStackSynthesizer = - unwrap(this).reusableBind(stack.let(Stack::unwrap)).let(IBoundStackSynthesizer::wrap) + unwrap(this).reusableBind(stack.let(Stack.Companion::unwrap)).let(IBoundStackSynthesizer::wrap) /** * Synthesize the associated stack to the session. @@ -167,7 +167,7 @@ public open class DefaultStackSynthesizer( * @param session */ public override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultTokenResolver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultTokenResolver.kt index 0a596aeb87..3744bf7bb6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultTokenResolver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DefaultTokenResolver.kt @@ -24,7 +24,7 @@ public open class DefaultTokenResolver( cdkObject: software.amazon.awscdk.DefaultTokenResolver, ) : CdkObject(cdkObject), ITokenResolver { public constructor(concat: IFragmentConcatenator) : - this(software.amazon.awscdk.DefaultTokenResolver(concat.let(IFragmentConcatenator::unwrap)) + this(software.amazon.awscdk.DefaultTokenResolver(concat.let(IFragmentConcatenator.Companion::unwrap)) ) /** @@ -34,7 +34,7 @@ public open class DefaultTokenResolver( * @param context */ public override fun resolveList(xs: List, context: IResolveContext): Any = - unwrap(this).resolveList(xs, context.let(IResolveContext::unwrap)) + unwrap(this).resolveList(xs, context.let(IResolveContext.Companion::unwrap)) /** * Resolve string fragments to Tokens. @@ -43,8 +43,8 @@ public open class DefaultTokenResolver( * @param context */ public override fun resolveString(fragments: TokenizedStringFragments, context: IResolveContext): - Any = unwrap(this).resolveString(fragments.let(TokenizedStringFragments::unwrap), - context.let(IResolveContext::unwrap)) + Any = unwrap(this).resolveString(fragments.let(TokenizedStringFragments.Companion::unwrap), + context.let(IResolveContext.Companion::unwrap)) /** * Default Token resolution. @@ -60,8 +60,9 @@ public open class DefaultTokenResolver( t: IResolvable, context: IResolveContext, postProcessor: IPostProcessor, - ): Any = unwrap(this).resolveToken(t.let(IResolvable::unwrap), - context.let(IResolveContext::unwrap), postProcessor.let(IPostProcessor::unwrap)) + ): Any = unwrap(this).resolveToken(t.let(IResolvable.Companion::unwrap), + context.let(IResolveContext.Companion::unwrap), + postProcessor.let(IPostProcessor.Companion::unwrap)) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.DefaultTokenResolver): DefaultTokenResolver diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerBuildOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerBuildOptions.kt index 57f732eefa..a341e0296d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerBuildOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerBuildOptions.kt @@ -168,7 +168,7 @@ public interface DockerBuildOptions { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface DockerBuildOptions { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImage.kt index 7d5bcbf06a..c09dacb8f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImage.kt @@ -78,7 +78,7 @@ public open class DockerImage( * @param options */ public open fun run(options: DockerRunOptions) { - unwrap(this).run(options.let(DockerRunOptions::unwrap)) + unwrap(this).run(options.let(DockerRunOptions.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class DockerImage( public fun fromBuild(path: String, options: DockerBuildOptions): DockerImage = software.amazon.awscdk.DockerImage.fromBuild(path, - options.let(DockerBuildOptions::unwrap)).let(DockerImage::wrap) + options.let(DockerBuildOptions.Companion::unwrap)).let(DockerImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7fa809b479d7fa4f75675888e725dc7bc71e72b027ae5adeca331083178755c4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImageAssetSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImageAssetSource.kt index 620e7e645b..d37ca1d949 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImageAssetSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerImageAssetSource.kt @@ -390,7 +390,7 @@ public interface DockerImageAssetSource { * @param dockerCacheFrom Cache from options to pass to the `docker build` command. */ override fun dockerCacheFrom(dockerCacheFrom: List) { - cdkBuilder.dockerCacheFrom(dockerCacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.dockerCacheFrom(dockerCacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public interface DockerImageAssetSource { * @param dockerCacheTo Cache to options to pass to the `docker build` command. */ override fun dockerCacheTo(dockerCacheTo: DockerCacheOption) { - cdkBuilder.dockerCacheTo(dockerCacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.dockerCacheTo(dockerCacheTo.let(DockerCacheOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerRunOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerRunOptions.kt index e478c5c047..15da6a3955 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerRunOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerRunOptions.kt @@ -270,7 +270,7 @@ public interface DockerRunOptions { * @param volumes Docker volumes to mount. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(DockerVolume::unwrap)) + cdkBuilder.volumes(volumes.map(DockerVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerVolume.kt index aacc7aeb4d..704e7189eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/DockerVolume.kt @@ -79,7 +79,7 @@ public interface DockerVolume { * Only applicable for macOS */ override fun consistency(consistency: DockerVolumeConsistency) { - cdkBuilder.consistency(consistency.let(DockerVolumeConsistency::unwrap)) + cdkBuilder.consistency(consistency.let(DockerVolumeConsistency.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Duration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Duration.kt index e99776acc8..2eb2432fc7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Duration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Duration.kt @@ -24,6 +24,7 @@ import kotlin.jvm.JvmName * AwsCustomResource.Builder.create(this, "Customized") * .role(myRole) // must be assumable by the `lambda.amazonaws.com` service principal * .timeout(Duration.minutes(10)) // defaults to 2 minutes + * .memorySize(1025) // defaults to 512 if installLatestAwsSdk is true * .logGroup(LogGroup.Builder.create(this, "AwsCustomResourceLogs") * .retention(RetentionDays.ONE_DAY) * .build()) @@ -54,7 +55,7 @@ public open class Duration( * @param rhs */ public open fun minus(rhs: Duration): Duration = - unwrap(this).minus(rhs.let(Duration::unwrap)).let(Duration::wrap) + unwrap(this).minus(rhs.let(Duration.Companion::unwrap)).let(Duration::wrap) /** * Add two Durations together. @@ -62,7 +63,7 @@ public open class Duration( * @param rhs */ public open fun plus(rhs: Duration): Duration = - unwrap(this).plus(rhs.let(Duration::unwrap)).let(Duration::wrap) + unwrap(this).plus(rhs.let(Duration.Companion::unwrap)).let(Duration::wrap) /** * Return the total number of days in this Duration. @@ -79,7 +80,7 @@ public open class Duration( * @param opts */ public open fun toDays(opts: TimeConversionOptions): Number = - unwrap(this).toDays(opts.let(TimeConversionOptions::unwrap)) + unwrap(this).toDays(opts.let(TimeConversionOptions.Companion::unwrap)) /** * Return the total number of days in this Duration. @@ -107,7 +108,7 @@ public open class Duration( * @param opts */ public open fun toHours(opts: TimeConversionOptions): Number = - unwrap(this).toHours(opts.let(TimeConversionOptions::unwrap)) + unwrap(this).toHours(opts.let(TimeConversionOptions.Companion::unwrap)) /** * Return the total number of hours in this Duration. @@ -148,7 +149,7 @@ public open class Duration( * @param opts */ public open fun toMilliseconds(opts: TimeConversionOptions): Number = - unwrap(this).toMilliseconds(opts.let(TimeConversionOptions::unwrap)) + unwrap(this).toMilliseconds(opts.let(TimeConversionOptions.Companion::unwrap)) /** * Return the total number of milliseconds in this Duration. @@ -176,7 +177,7 @@ public open class Duration( * @param opts */ public open fun toMinutes(opts: TimeConversionOptions): Number = - unwrap(this).toMinutes(opts.let(TimeConversionOptions::unwrap)) + unwrap(this).toMinutes(opts.let(TimeConversionOptions.Companion::unwrap)) /** * Return the total number of minutes in this Duration. @@ -204,7 +205,7 @@ public open class Duration( * @param opts */ public open fun toSeconds(opts: TimeConversionOptions): Number = - unwrap(this).toSeconds(opts.let(TimeConversionOptions::unwrap)) + unwrap(this).toSeconds(opts.let(TimeConversionOptions.Companion::unwrap)) /** * Return the total number of seconds in this Duration. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Expiration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Expiration.kt index 12c216540d..6602dddfb7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Expiration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Expiration.kt @@ -35,14 +35,16 @@ public open class Expiration( * * @param t the duration to check against. */ - public open fun isAfter(t: Duration): Boolean = unwrap(this).isAfter(t.let(Duration::unwrap)) + public open fun isAfter(t: Duration): Boolean = + unwrap(this).isAfter(t.let(Duration.Companion::unwrap)) /** * Check if Expiration expires before input. * * @param t the duration to check against. */ - public open fun isBefore(t: Duration): Boolean = unwrap(this).isBefore(t.let(Duration::unwrap)) + public open fun isBefore(t: Duration): Boolean = + unwrap(this).isBefore(t.let(Duration.Companion::unwrap)) /** * Expiration Value in a formatted Unix Epoch Time in seconds. @@ -51,7 +53,7 @@ public open class Expiration( public companion object { public fun after(t: Duration): Expiration = - software.amazon.awscdk.Expiration.after(t.let(Duration::unwrap)).let(Expiration::wrap) + software.amazon.awscdk.Expiration.after(t.let(Duration.Companion::unwrap)).let(Expiration::wrap) public fun atDate(d: Instant): Expiration = software.amazon.awscdk.Expiration.atDate(d).let(Expiration::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FeatureFlags.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FeatureFlags.kt index 7701234254..9a4cd11629 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FeatureFlags.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FeatureFlags.kt @@ -41,7 +41,7 @@ public open class FeatureFlags( public companion object { public fun of(scope: IConstruct): FeatureFlags = - software.amazon.awscdk.FeatureFlags.of(scope.let(IConstruct::unwrap)).let(FeatureFlags::wrap) + software.amazon.awscdk.FeatureFlags.of(scope.let(IConstruct.Companion::unwrap)).let(FeatureFlags::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.FeatureFlags): FeatureFlags = FeatureFlags(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileAssetSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileAssetSource.kt index 9302572bf6..01768aa0ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileAssetSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileAssetSource.kt @@ -184,7 +184,7 @@ public interface FileAssetSource { * @param packaging Which type of packaging to perform. */ override fun packaging(packaging: FileAssetPackaging) { - cdkBuilder.packaging(packaging.let(FileAssetPackaging::unwrap)) + cdkBuilder.packaging(packaging.let(FileAssetPackaging.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileCopyOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileCopyOptions.kt index a2a8d58917..2d853f01b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileCopyOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileCopyOptions.kt @@ -105,14 +105,14 @@ public interface FileCopyOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.FileCopyOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileFingerprintOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileFingerprintOptions.kt index 259963749e..ad5770779f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileFingerprintOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileFingerprintOptions.kt @@ -102,14 +102,14 @@ public interface FileFingerprintOptions : FileCopyOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.FileFingerprintOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileSystem.kt index c5a0902bc7..f14f9deb1e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FileSystem.kt @@ -37,7 +37,7 @@ public open class FileSystem( options: CopyOptions, ) { software.amazon.awscdk.FileSystem.copyDirectory(srcDir, destDir, - options.let(CopyOptions::unwrap)) + options.let(CopyOptions.Companion::unwrap)) } @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -55,7 +55,7 @@ public open class FileSystem( rootDir: String, ) { software.amazon.awscdk.FileSystem.copyDirectory(srcDir, destDir, - options.let(CopyOptions::unwrap), rootDir) + options.let(CopyOptions.Companion::unwrap), rootDir) } public fun fingerprint(fileOrDirectory: String): String = @@ -63,7 +63,7 @@ public open class FileSystem( public fun fingerprint(fileOrDirectory: String, options: FingerprintOptions): String = software.amazon.awscdk.FileSystem.fingerprint(fileOrDirectory, - options.let(FingerprintOptions::unwrap)) + options.let(FingerprintOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("de2955931eb6d6b92d49ef9f643588fb8b50ae2584a69980054ed7a635971f4f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FingerprintOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FingerprintOptions.kt index 8de25387d3..1df16af7d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FingerprintOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/FingerprintOptions.kt @@ -102,14 +102,14 @@ public interface FingerprintOptions : CopyOptions { * @param follow A strategy for how to handle symlinks. */ override fun follow(follow: SymlinkFollowMode) { - cdkBuilder.follow(follow.let(SymlinkFollowMode::unwrap)) + cdkBuilder.follow(follow.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.FingerprintOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Fn.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Fn.kt index f8c0975c3c..994c407261 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Fn.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Fn.kt @@ -50,7 +50,7 @@ public open class Fn( ): List = software.amazon.awscdk.Fn.cidr(ipBlock, count, sizeMask) public fun conditionAnd(conditions: ICfnConditionExpression): ICfnRuleConditionExpression = - software.amazon.awscdk.Fn.conditionAnd(conditions.let(ICfnConditionExpression::unwrap)).let(ICfnRuleConditionExpression::wrap) + software.amazon.awscdk.Fn.conditionAnd(conditions.let(ICfnConditionExpression.Companion::unwrap)).let(ICfnRuleConditionExpression::wrap) public fun conditionContains(listOfStrings: List, `value`: String): ICfnRuleConditionExpression = software.amazon.awscdk.Fn.conditionContains(listOfStrings, @@ -77,10 +77,10 @@ public open class Fn( valueIfFalse).let(ICfnRuleConditionExpression::wrap) public fun conditionNot(condition: ICfnConditionExpression): ICfnRuleConditionExpression = - software.amazon.awscdk.Fn.conditionNot(condition.let(ICfnConditionExpression::unwrap)).let(ICfnRuleConditionExpression::wrap) + software.amazon.awscdk.Fn.conditionNot(condition.let(ICfnConditionExpression.Companion::unwrap)).let(ICfnRuleConditionExpression::wrap) public fun conditionOr(conditions: ICfnConditionExpression): ICfnRuleConditionExpression = - software.amazon.awscdk.Fn.conditionOr(conditions.let(ICfnConditionExpression::unwrap)).let(ICfnRuleConditionExpression::wrap) + software.amazon.awscdk.Fn.conditionOr(conditions.let(ICfnConditionExpression.Companion::unwrap)).let(ICfnRuleConditionExpression::wrap) public fun findInMap( mapName: String, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAnyProducer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAnyProducer.kt index ff1230b685..8c87ec86e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAnyProducer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAnyProducer.kt @@ -26,7 +26,7 @@ public interface IAnyProducer { * @param context */ override fun produce(context: IResolveContext): Any = - unwrap(this).produce(context.let(IResolveContext::unwrap)) + unwrap(this).produce(context.let(IResolveContext.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAspect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAspect.kt index ceff54aea7..016711926c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAspect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IAspect.kt @@ -26,7 +26,7 @@ public interface IAspect { * @param node */ override fun visit(node: IConstruct) { - unwrap(this).visit(node.let(IConstruct::unwrap)) + unwrap(this).visit(node.let(IConstruct.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IBoundStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IBoundStackSynthesizer.kt index fcb4ecbe98..591bfea6c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IBoundStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IBoundStackSynthesizer.kt @@ -25,7 +25,7 @@ public interface IBoundStackSynthesizer : IStackSynthesizer { * @param asset */ override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -47,7 +47,7 @@ public interface IBoundStackSynthesizer : IStackSynthesizer { * @param asset */ override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -69,7 +69,7 @@ public interface IBoundStackSynthesizer : IStackSynthesizer { * @param stack */ override fun bind(stack: Stack) { - unwrap(this).bind(stack.let(Stack::unwrap)) + unwrap(this).bind(stack.let(Stack.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public interface IBoundStackSynthesizer : IStackSynthesizer { * @param session */ override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnConditionExpression.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnConditionExpression.kt index 4384b3a3ce..2a92a158af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnConditionExpression.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnConditionExpression.kt @@ -60,7 +60,7 @@ public interface ICfnConditionExpression : IResolvable { * @param context */ override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * Return a string representation of this resolvable object. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnResourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnResourceOptions.kt index 2242a2f5e8..69048d2e33 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnResourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnResourceOptions.kt @@ -33,7 +33,7 @@ public interface ICfnResourceOptions { * there is no need to use it in CDK projects. */ public fun condition(`value`: CfnCondition) { - unwrap(this).setCondition(`value`.let(CfnCondition::unwrap)) + unwrap(this).setCondition(`value`.let(CfnCondition.Companion::unwrap)) } /** @@ -60,7 +60,7 @@ public interface ICfnResourceOptions { * to the stack events so that you track the number of signals sent. */ public fun creationPolicy(`value`: CfnCreationPolicy) { - unwrap(this).setCreationPolicy(`value`.let(CfnCreationPolicy::unwrap)) + unwrap(this).setCreationPolicy(`value`.let(CfnCreationPolicy.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public interface ICfnResourceOptions { * that lead to resources being removed. */ public fun deletionPolicy(`value`: CfnDeletionPolicy) { - unwrap(this).setDeletionPolicy(`value`.let(CfnDeletionPolicy::unwrap)) + unwrap(this).setDeletionPolicy(`value`.let(CfnDeletionPolicy.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface ICfnResourceOptions { * scheduled action is associated with the Auto Scaling group. */ public fun updatePolicy(`value`: CfnUpdatePolicy) { - unwrap(this).setUpdatePolicy(`value`.let(CfnUpdatePolicy::unwrap)) + unwrap(this).setUpdatePolicy(`value`.let(CfnUpdatePolicy.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface ICfnResourceOptions { * instance of a resource when it is replaced during a stack update operation. */ public fun updateReplacePolicy(`value`: CfnDeletionPolicy) { - unwrap(this).setUpdateReplacePolicy(`value`.let(CfnDeletionPolicy::unwrap)) + unwrap(this).setUpdateReplacePolicy(`value`.let(CfnDeletionPolicy.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public interface ICfnResourceOptions { * there is no need to use it in CDK projects. */ override fun condition(`value`: CfnCondition) { - unwrap(this).setCondition(`value`.let(CfnCondition::unwrap)) + unwrap(this).setCondition(`value`.let(CfnCondition.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public interface ICfnResourceOptions { * to the stack events so that you track the number of signals sent. */ override fun creationPolicy(`value`: CfnCreationPolicy) { - unwrap(this).setCreationPolicy(`value`.let(CfnCreationPolicy::unwrap)) + unwrap(this).setCreationPolicy(`value`.let(CfnCreationPolicy.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface ICfnResourceOptions { * that lead to resources being removed. */ override fun deletionPolicy(`value`: CfnDeletionPolicy) { - unwrap(this).setDeletionPolicy(`value`.let(CfnDeletionPolicy::unwrap)) + unwrap(this).setDeletionPolicy(`value`.let(CfnDeletionPolicy.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface ICfnResourceOptions { * scheduled action is associated with the Auto Scaling group. */ override fun updatePolicy(`value`: CfnUpdatePolicy) { - unwrap(this).setUpdatePolicy(`value`.let(CfnUpdatePolicy::unwrap)) + unwrap(this).setUpdatePolicy(`value`.let(CfnUpdatePolicy.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public interface ICfnResourceOptions { * physical instance of a resource when it is replaced during a stack update operation. */ override fun updateReplacePolicy(`value`: CfnDeletionPolicy) { - unwrap(this).setUpdateReplacePolicy(`value`.let(CfnDeletionPolicy::unwrap)) + unwrap(this).setUpdateReplacePolicy(`value`.let(CfnDeletionPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnRuleConditionExpression.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnRuleConditionExpression.kt index d44f416e97..23dc11b16b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnRuleConditionExpression.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ICfnRuleConditionExpression.kt @@ -47,7 +47,7 @@ public interface ICfnRuleConditionExpression : ICfnConditionExpression { * @param context */ override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * Return a string representation of this resolvable object. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IInspectable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IInspectable.kt index d0888d7fd5..61a8fc0242 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IInspectable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IInspectable.kt @@ -25,7 +25,7 @@ public interface IInspectable { * @param inspector * tree inspector to collect and process attributes. */ override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IListProducer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IListProducer.kt index 00fe80e162..14690ecfa7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IListProducer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IListProducer.kt @@ -27,7 +27,7 @@ public interface IListProducer { * @param context */ override fun produce(context: IResolveContext): List = - unwrap(this).produce(context.let(IResolveContext::unwrap)) ?: emptyList() + unwrap(this).produce(context.let(IResolveContext.Companion::unwrap)) ?: emptyList() } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ILocalBundling.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ILocalBundling.kt index 30ed815c7b..f72c0b8f19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ILocalBundling.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ILocalBundling.kt @@ -53,7 +53,7 @@ public interface ILocalBundling { * @param options bundling options for this asset. */ override fun tryBundle(outputDir: String, options: BundlingOptions): Boolean = - unwrap(this).tryBundle(outputDir, options.let(BundlingOptions::unwrap)) + unwrap(this).tryBundle(outputDir, options.let(BundlingOptions.Companion::unwrap)) /** * This method is called before attempting docker bundling to allow the bundler to be executed diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/INumberProducer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/INumberProducer.kt index a9e30380bb..81087fe0b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/INumberProducer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/INumberProducer.kt @@ -26,7 +26,7 @@ public interface INumberProducer { * @param context */ override fun produce(context: IResolveContext): Number? = - unwrap(this).produce(context.let(IResolveContext::unwrap)) + unwrap(this).produce(context.let(IResolveContext.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPolicyValidationPluginBeta1.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPolicyValidationPluginBeta1.kt index e53bd6773c..18eb5fed2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPolicyValidationPluginBeta1.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPolicyValidationPluginBeta1.kt @@ -99,7 +99,7 @@ public interface IPolicyValidationPluginBeta1 { */ override fun validate(context: IPolicyValidationContextBeta1): PolicyValidationPluginReportBeta1 = - unwrap(this).validate(context.let(IPolicyValidationContextBeta1::unwrap)).let(PolicyValidationPluginReportBeta1::wrap) + unwrap(this).validate(context.let(IPolicyValidationContextBeta1.Companion::unwrap)).let(PolicyValidationPluginReportBeta1::wrap) /** * The version of the plugin, following the Semantic Versioning specification (see diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPostProcessor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPostProcessor.kt index bcc1a29d5a..0bb63b3fb5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPostProcessor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IPostProcessor.kt @@ -28,7 +28,7 @@ public interface IPostProcessor { * @param context */ override fun postProcess(input: Any, context: IResolveContext): Any = - unwrap(this).postProcess(input, context.let(IResolveContext::unwrap)) + unwrap(this).postProcess(input, context.let(IResolveContext.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolvable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolvable.kt index cafb1c52ce..756eeb8659 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolvable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolvable.kt @@ -54,7 +54,7 @@ public interface IResolvable { * @param context */ override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * Return a string representation of this resolvable object. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolveContext.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolveContext.kt index 95c05f86c1..87128bf7cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolveContext.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResolveContext.kt @@ -83,7 +83,7 @@ public interface IResolveContext { * @param postProcessor */ override fun registerPostProcessor(postProcessor: IPostProcessor) { - unwrap(this).registerPostProcessor(postProcessor.let(IPostProcessor::unwrap)) + unwrap(this).registerPostProcessor(postProcessor.let(IPostProcessor.Companion::unwrap)) } /** @@ -101,7 +101,7 @@ public interface IResolveContext { * @param options */ override fun resolve(x: Any, options: ResolveChangeContextOptions): Any = - unwrap(this).resolve(x, options.let(ResolveChangeContextOptions::unwrap)) + unwrap(this).resolve(x, options.let(ResolveChangeContextOptions.Companion::unwrap)) /** * Resolve an inner object. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResource.kt index 2589bfcaa5..485f34c3ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IResource.kt @@ -60,7 +60,7 @@ public interface IResource : IConstruct { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IReusableStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IReusableStackSynthesizer.kt index e0c91315d2..098ab08c1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IReusableStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IReusableStackSynthesizer.kt @@ -39,7 +39,7 @@ public interface IReusableStackSynthesizer : IStackSynthesizer { * @param asset */ override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -61,7 +61,7 @@ public interface IReusableStackSynthesizer : IStackSynthesizer { * @param asset */ override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -83,7 +83,7 @@ public interface IReusableStackSynthesizer : IStackSynthesizer { * @param stack */ override fun bind(stack: Stack) { - unwrap(this).bind(stack.let(Stack::unwrap)) + unwrap(this).bind(stack.let(Stack.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface IReusableStackSynthesizer : IStackSynthesizer { * @param stack */ override fun reusableBind(stack: Stack): IBoundStackSynthesizer = - unwrap(this).reusableBind(stack.let(Stack::unwrap)).let(IBoundStackSynthesizer::wrap) + unwrap(this).reusableBind(stack.let(Stack.Companion::unwrap)).let(IBoundStackSynthesizer::wrap) /** * Synthesize the associated stack to the session. @@ -116,7 +116,7 @@ public interface IReusableStackSynthesizer : IStackSynthesizer { * @param session */ override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStackSynthesizer.kt index 874a371975..b7014095a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStackSynthesizer.kt @@ -94,7 +94,7 @@ public interface IStackSynthesizer { * @param asset */ override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -116,7 +116,7 @@ public interface IStackSynthesizer { * @param asset */ override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -138,7 +138,7 @@ public interface IStackSynthesizer { * @param stack */ override fun bind(stack: Stack) { - unwrap(this).bind(stack.let(Stack::unwrap)) + unwrap(this).bind(stack.let(Stack.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public interface IStackSynthesizer { * @param session */ override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStringProducer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStringProducer.kt index 32f079119a..072cad4e21 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStringProducer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IStringProducer.kt @@ -26,7 +26,7 @@ public interface IStringProducer { * @param context */ override fun produce(context: IResolveContext): String? = - unwrap(this).produce(context.let(IResolveContext::unwrap)) + unwrap(this).produce(context.let(IResolveContext.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ISynthesisSession.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ISynthesisSession.kt index 581440756d..372489298e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ISynthesisSession.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ISynthesisSession.kt @@ -63,7 +63,7 @@ public interface ISynthesisSession { * Cloud assembly builder. */ override fun assembly(`value`: CloudAssemblyBuilder) { - unwrap(this).setAssembly(`value`.let(CloudAssemblyBuilder::unwrap)) + unwrap(this).setAssembly(`value`.let(CloudAssemblyBuilder.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenMapper.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenMapper.kt index 4d68ce56a6..937653ca17 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenMapper.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenMapper.kt @@ -27,7 +27,8 @@ public interface ITokenMapper { * * @param t */ - override fun mapToken(t: IResolvable): Any = unwrap(this).mapToken(t.let(IResolvable::unwrap)) + override fun mapToken(t: IResolvable): Any = + unwrap(this).mapToken(t.let(IResolvable.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenResolver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenResolver.kt index 52c6fe06ea..518f55960b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenResolver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ITokenResolver.kt @@ -53,7 +53,7 @@ public interface ITokenResolver { * @param context */ override fun resolveList(l: List, context: IResolveContext): Any = - unwrap(this).resolveList(l, context.let(IResolveContext::unwrap)) + unwrap(this).resolveList(l, context.let(IResolveContext.Companion::unwrap)) /** * Resolve a string with at least one stringified token in it. @@ -64,8 +64,8 @@ public interface ITokenResolver { * @param context */ override fun resolveString(s: TokenizedStringFragments, context: IResolveContext): Any = - unwrap(this).resolveString(s.let(TokenizedStringFragments::unwrap), - context.let(IResolveContext::unwrap)) + unwrap(this).resolveString(s.let(TokenizedStringFragments.Companion::unwrap), + context.let(IResolveContext.Companion::unwrap)) /** * Resolve a single token. @@ -78,8 +78,9 @@ public interface ITokenResolver { t: IResolvable, context: IResolveContext, postProcessor: IPostProcessor, - ): Any = unwrap(this).resolveToken(t.let(IResolvable::unwrap), - context.let(IResolveContext::unwrap), postProcessor.let(IPostProcessor::unwrap)) + ): Any = unwrap(this).resolveToken(t.let(IResolvable.Companion::unwrap), + context.let(IResolveContext.Companion::unwrap), + postProcessor.let(IPostProcessor.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IgnoreStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IgnoreStrategy.kt index 6aac3f368c..a84c440c0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IgnoreStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IgnoreStrategy.kt @@ -55,7 +55,7 @@ public abstract class IgnoreStrategy( patterns).let(DockerIgnoreStrategy::wrap) public fun fromCopyOptions(options: CopyOptions, absoluteRootPath: String): IgnoreStrategy = - software.amazon.awscdk.IgnoreStrategy.fromCopyOptions(options.let(CopyOptions::unwrap), + software.amazon.awscdk.IgnoreStrategy.fromCopyOptions(options.let(CopyOptions.Companion::unwrap), absoluteRootPath).let(IgnoreStrategy::wrap) public fun git(absoluteRootPath: String, patterns: List): GitIgnoreStrategy = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Intrinsic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Intrinsic.kt index 5d55645d79..01a819a27d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Intrinsic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Intrinsic.kt @@ -38,7 +38,7 @@ public open class Intrinsic( ) public constructor(`value`: Any, options: IntrinsicProps) : - this(software.amazon.awscdk.Intrinsic(`value`, options.let(IntrinsicProps::unwrap)) + this(software.amazon.awscdk.Intrinsic(`value`, options.let(IntrinsicProps.Companion::unwrap)) ) public constructor(`value`: Any, options: IntrinsicProps.Builder.() -> Unit) : this(`value`, @@ -56,7 +56,7 @@ public open class Intrinsic( * @param _context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * Turn this Token into JSON. @@ -129,7 +129,7 @@ public open class Intrinsic( * @param typeHint Type that this token is expected to evaluate to. */ override fun typeHint(typeHint: ResolutionTypeHint) { - cdkBuilder.typeHint(typeHint.let(ResolutionTypeHint::unwrap)) + cdkBuilder.typeHint(typeHint.let(ResolutionTypeHint.Companion::unwrap)) } public fun build(): software.amazon.awscdk.Intrinsic = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IntrinsicProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IntrinsicProps.kt index 642f55f070..1e13ead580 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IntrinsicProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/IntrinsicProps.kt @@ -70,7 +70,7 @@ public interface IntrinsicProps { * @param typeHint Type that this token is expected to evaluate to. */ override fun typeHint(typeHint: ResolutionTypeHint) { - cdkBuilder.typeHint(typeHint.let(ResolutionTypeHint::unwrap)) + cdkBuilder.typeHint(typeHint.let(ResolutionTypeHint.Companion::unwrap)) } public fun build(): software.amazon.awscdk.IntrinsicProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/JsonNull.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/JsonNull.kt index 08edb8c3ec..f12a9aad63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/JsonNull.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/JsonNull.kt @@ -38,7 +38,7 @@ public open class JsonNull( * @param _ctx */ public override fun resolve(ctx: IResolveContext): Any = - unwrap(this).resolve(ctx.let(IResolveContext::unwrap)) + unwrap(this).resolve(ctx.let(IResolveContext.Companion::unwrap)) /** * Obtains the JSON representation of this object (`null`). diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Lazy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Lazy.kt index 0995e7edd1..e0d8870444 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Lazy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Lazy.kt @@ -20,11 +20,11 @@ public open class Lazy( ) : CdkObject(cdkObject) { public companion object { public fun any(producer: IStableAnyProducer): IResolvable = - software.amazon.awscdk.Lazy.any(producer.let(IStableAnyProducer::unwrap)).let(IResolvable::wrap) + software.amazon.awscdk.Lazy.any(producer.let(IStableAnyProducer.Companion::unwrap)).let(IResolvable::wrap) public fun any(producer: IStableAnyProducer, options: LazyAnyValueOptions): IResolvable = - software.amazon.awscdk.Lazy.any(producer.let(IStableAnyProducer::unwrap), - options.let(LazyAnyValueOptions::unwrap)).let(IResolvable::wrap) + software.amazon.awscdk.Lazy.any(producer.let(IStableAnyProducer.Companion::unwrap), + options.let(LazyAnyValueOptions.Companion::unwrap)).let(IResolvable::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f0679d26a0cf47861674eeb8f5a4e935244bf3d152d6dcd5bb7dfc5f939a51e0") @@ -32,11 +32,11 @@ public open class Lazy( IResolvable = any(producer, LazyAnyValueOptions(options)) public fun list(producer: IStableListProducer): List = - software.amazon.awscdk.Lazy.list(producer.let(IStableListProducer::unwrap)) + software.amazon.awscdk.Lazy.list(producer.let(IStableListProducer.Companion::unwrap)) public fun list(producer: IStableListProducer, options: LazyListValueOptions): List = - software.amazon.awscdk.Lazy.list(producer.let(IStableListProducer::unwrap), - options.let(LazyListValueOptions::unwrap)) + software.amazon.awscdk.Lazy.list(producer.let(IStableListProducer.Companion::unwrap), + options.let(LazyListValueOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("efdafbef7fc79827388e3b2d1c20329010a3e92222edd611a096d219a4a5bb45") @@ -45,14 +45,14 @@ public open class Lazy( LazyListValueOptions(options)) public fun number(producer: IStableNumberProducer): Number = - software.amazon.awscdk.Lazy.number(producer.let(IStableNumberProducer::unwrap)) + software.amazon.awscdk.Lazy.number(producer.let(IStableNumberProducer.Companion::unwrap)) public fun string(producer: IStableStringProducer): String = - software.amazon.awscdk.Lazy.string(producer.let(IStableStringProducer::unwrap)) + software.amazon.awscdk.Lazy.string(producer.let(IStableStringProducer.Companion::unwrap)) public fun string(producer: IStableStringProducer, options: LazyStringValueOptions): String = - software.amazon.awscdk.Lazy.string(producer.let(IStableStringProducer::unwrap), - options.let(LazyStringValueOptions::unwrap)) + software.amazon.awscdk.Lazy.string(producer.let(IStableStringProducer.Companion::unwrap), + options.let(LazyStringValueOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71870f5090c89664c5acffa24a31a3eb39f5338c28704709b72d122ad6b5bef6") @@ -61,11 +61,11 @@ public open class Lazy( LazyStringValueOptions(options)) public fun uncachedAny(producer: IAnyProducer): IResolvable = - software.amazon.awscdk.Lazy.uncachedAny(producer.let(IAnyProducer::unwrap)).let(IResolvable::wrap) + software.amazon.awscdk.Lazy.uncachedAny(producer.let(IAnyProducer.Companion::unwrap)).let(IResolvable::wrap) public fun uncachedAny(producer: IAnyProducer, options: LazyAnyValueOptions): IResolvable = - software.amazon.awscdk.Lazy.uncachedAny(producer.let(IAnyProducer::unwrap), - options.let(LazyAnyValueOptions::unwrap)).let(IResolvable::wrap) + software.amazon.awscdk.Lazy.uncachedAny(producer.let(IAnyProducer.Companion::unwrap), + options.let(LazyAnyValueOptions.Companion::unwrap)).let(IResolvable::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aaaec60c092fd3616dd89f2eaa2a074ea3b25197c92ce4d752b3cbc5c0295e14") @@ -73,11 +73,11 @@ public open class Lazy( IResolvable = uncachedAny(producer, LazyAnyValueOptions(options)) public fun uncachedList(producer: IListProducer): List = - software.amazon.awscdk.Lazy.uncachedList(producer.let(IListProducer::unwrap)) + software.amazon.awscdk.Lazy.uncachedList(producer.let(IListProducer.Companion::unwrap)) public fun uncachedList(producer: IListProducer, options: LazyListValueOptions): List = - software.amazon.awscdk.Lazy.uncachedList(producer.let(IListProducer::unwrap), - options.let(LazyListValueOptions::unwrap)) + software.amazon.awscdk.Lazy.uncachedList(producer.let(IListProducer.Companion::unwrap), + options.let(LazyListValueOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0f22d51b4637668c95997c8ad0f3eb6aa9d1f34afd2dfbed3720a7206d09f4be") @@ -86,14 +86,14 @@ public open class Lazy( LazyListValueOptions(options)) public fun uncachedNumber(producer: INumberProducer): Number = - software.amazon.awscdk.Lazy.uncachedNumber(producer.let(INumberProducer::unwrap)) + software.amazon.awscdk.Lazy.uncachedNumber(producer.let(INumberProducer.Companion::unwrap)) public fun uncachedString(producer: IStringProducer): String = - software.amazon.awscdk.Lazy.uncachedString(producer.let(IStringProducer::unwrap)) + software.amazon.awscdk.Lazy.uncachedString(producer.let(IStringProducer.Companion::unwrap)) public fun uncachedString(producer: IStringProducer, options: LazyStringValueOptions): String = - software.amazon.awscdk.Lazy.uncachedString(producer.let(IStringProducer::unwrap), - options.let(LazyStringValueOptions::unwrap)) + software.amazon.awscdk.Lazy.uncachedString(producer.let(IStringProducer.Companion::unwrap), + options.let(LazyStringValueOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9ec31d44eea9a0c3c8a1d40d3f677f92a9aa7bf0f58a3d0ec20da69f6bc73e1") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/LegacyStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/LegacyStackSynthesizer.kt index c5039179b7..e8f9da36f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/LegacyStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/LegacyStackSynthesizer.kt @@ -55,7 +55,7 @@ public open class LegacyStackSynthesizer( * @param asset */ public override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -89,7 +89,7 @@ public open class LegacyStackSynthesizer( * @param asset */ public override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -117,7 +117,7 @@ public open class LegacyStackSynthesizer( * @param stack */ public override fun reusableBind(stack: Stack): IBoundStackSynthesizer = - unwrap(this).reusableBind(stack.let(Stack::unwrap)).let(IBoundStackSynthesizer::wrap) + unwrap(this).reusableBind(stack.let(Stack.Companion::unwrap)).let(IBoundStackSynthesizer::wrap) /** * Synthesize the associated stack to the session. @@ -125,7 +125,7 @@ public open class LegacyStackSynthesizer( * @param session */ public override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Names.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Names.kt index 0fdca303b7..d8268c4c00 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Names.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Names.kt @@ -20,14 +20,15 @@ public open class Names( ) : CdkObject(cdkObject) { public companion object { public fun nodeUniqueId(node: Node): String = - software.amazon.awscdk.Names.nodeUniqueId(node.let(Node::unwrap)) + software.amazon.awscdk.Names.nodeUniqueId(node.let(Node.Companion::unwrap)) public fun uniqueId(construct: IConstruct): String = - software.amazon.awscdk.Names.uniqueId(construct.let(IConstruct::unwrap)) + software.amazon.awscdk.Names.uniqueId(construct.let(IConstruct.Companion::unwrap)) public fun uniqueResourceName(construct: IConstruct, options: UniqueResourceNameOptions): String - = software.amazon.awscdk.Names.uniqueResourceName(construct.let(IConstruct::unwrap), - options.let(UniqueResourceNameOptions::unwrap)) + = + software.amazon.awscdk.Names.uniqueResourceName(construct.let(IConstruct.Companion::unwrap), + options.let(UniqueResourceNameOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d8f9b551f587c67b6cee20872585e9a43b39713f19a4e0c77035a077098420e5") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStack.kt index f69637a7c9..942b466dc0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStack.kt @@ -182,7 +182,7 @@ public open class NestedStack( cdkObject: software.amazon.awscdk.NestedStack, ) : Stack(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.NestedStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.NestedStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -190,8 +190,9 @@ public open class NestedStack( scope: CloudshiftdevConstructsConstruct, id: String, props: NestedStackProps, - ) : this(software.amazon.awscdk.NestedStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NestedStackProps::unwrap)) + ) : + this(software.amazon.awscdk.NestedStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NestedStackProps.Companion::unwrap)) ) public constructor( @@ -412,7 +413,7 @@ public open class NestedStack( * @param removalPolicy Policy to apply when the nested stack is removed. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -432,7 +433,7 @@ public open class NestedStack( * CREATE_COMPLETE state. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.NestedStack = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackProps.kt index 057695cf61..35d1632a42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackProps.kt @@ -322,7 +322,7 @@ public interface NestedStackProps { * not need to set this value. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public interface NestedStackProps { * back both the nested stack and parent stack. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.NestedStackProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackSynthesizer.kt index 6b11c891d2..c4ef990bce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/NestedStackSynthesizer.kt @@ -28,7 +28,7 @@ public open class NestedStackSynthesizer( cdkObject: software.amazon.awscdk.NestedStackSynthesizer, ) : StackSynthesizer(cdkObject) { public constructor(parentDeployment: IStackSynthesizer) : - this(software.amazon.awscdk.NestedStackSynthesizer(parentDeployment.let(IStackSynthesizer::unwrap)) + this(software.amazon.awscdk.NestedStackSynthesizer(parentDeployment.let(IStackSynthesizer.Companion::unwrap)) ) /** @@ -45,7 +45,7 @@ public open class NestedStackSynthesizer( * @param asset */ public override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -79,7 +79,7 @@ public open class NestedStackSynthesizer( * @param asset */ public override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -115,7 +115,7 @@ public open class NestedStackSynthesizer( * @param session */ public override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyValidationPluginReportBeta1.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyValidationPluginReportBeta1.kt index 7fe15e1df8..e17205a762 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyValidationPluginReportBeta1.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyValidationPluginReportBeta1.kt @@ -129,7 +129,7 @@ public interface PolicyValidationPluginReportBeta1 { * @param violations List of violations in the report. */ override fun violations(violations: List) { - cdkBuilder.violations(violations.map(PolicyViolationBeta1::unwrap)) + cdkBuilder.violations(violations.map(PolicyViolationBeta1.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyViolationBeta1.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyViolationBeta1.kt index 353c931565..04bdaa1f2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyViolationBeta1.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/PolicyViolationBeta1.kt @@ -170,7 +170,7 @@ public interface PolicyViolationBeta1 { * @param violatingResources The resources violating this rule. */ override fun violatingResources(violatingResources: List) { - cdkBuilder.violatingResources(violatingResources.map(PolicyViolatingResourceBeta1::unwrap)) + cdkBuilder.violatingResources(violatingResources.map(PolicyViolatingResourceBeta1.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemovalPolicyOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemovalPolicyOptions.kt index 3e0ac8faa6..ea4df0e4f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemovalPolicyOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemovalPolicyOptions.kt @@ -71,7 +71,7 @@ public interface RemovalPolicyOptions { * @param defaultValue The default policy to apply in case the removal policy is not defined. */ override fun defaultValue(defaultValue: RemovalPolicy) { - cdkBuilder.defaultValue(defaultValue.let(RemovalPolicy::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.RemovalPolicyOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemoveTag.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemoveTag.kt index 1a796be246..295aa1a55e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemoveTag.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/RemoveTag.kt @@ -35,7 +35,7 @@ public open class RemoveTag( ) public constructor(key: String, props: TagProps) : this(software.amazon.awscdk.RemoveTag(key, - props.let(TagProps::unwrap)) + props.let(TagProps.Companion::unwrap)) ) public constructor(key: String, props: TagProps.Builder.() -> Unit) : this(key, TagProps(props) @@ -52,7 +52,7 @@ public open class RemoveTag( * @param construct */ public override fun visit(construct: IConstruct) { - unwrap(this).visit(construct.let(IConstruct::unwrap)) + unwrap(this).visit(construct.let(IConstruct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ResolveOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ResolveOptions.kt index 383cb2f0db..61e81154e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ResolveOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ResolveOptions.kt @@ -110,14 +110,14 @@ public interface ResolveOptions { * @param resolver The resolver to apply to any resolvable tokens found. */ override fun resolver(resolver: ITokenResolver) { - cdkBuilder.resolver(resolver.let(ITokenResolver::unwrap)) + cdkBuilder.resolver(resolver.let(ITokenResolver.Companion::unwrap)) } /** * @param scope The scope from which resolution is performed. */ override fun scope(scope: IConstruct) { - cdkBuilder.scope(scope.let(IConstruct::unwrap)) + cdkBuilder.scope(scope.let(IConstruct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.ResolveOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Resource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Resource.kt index 9a571010e9..af1e6bf77d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Resource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Resource.kt @@ -45,7 +45,7 @@ public abstract class Resource( * @param policy */ public override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -72,10 +72,10 @@ public abstract class Resource( public companion object { public fun isOwnedResource(construct: IConstruct): Boolean = - software.amazon.awscdk.Resource.isOwnedResource(construct.let(IConstruct::unwrap)) + software.amazon.awscdk.Resource.isOwnedResource(construct.let(IConstruct.Companion::unwrap)) public fun isResource(construct: IConstruct): Boolean = - software.amazon.awscdk.Resource.isResource(construct.let(IConstruct::unwrap)) + software.amazon.awscdk.Resource.isResource(construct.let(IConstruct.Companion::unwrap)) internal fun wrap(cdkObject: software.amazon.awscdk.Resource): Resource = CdkObjectWrappers.wrap(cdkObject) as? Resource ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ScopedAws.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ScopedAws.kt index 224eeb3a32..0e78584e9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ScopedAws.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ScopedAws.kt @@ -26,7 +26,7 @@ public open class ScopedAws( cdkObject: software.amazon.awscdk.ScopedAws, ) : CdkObject(cdkObject) { public constructor(scope: Construct) : - this(software.amazon.awscdk.ScopedAws(scope.let(Construct::unwrap)) + this(software.amazon.awscdk.ScopedAws(scope.let(Construct.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SecretValue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SecretValue.kt index 5fe1d51382..e958653f6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SecretValue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SecretValue.kt @@ -61,7 +61,8 @@ public open class SecretValue( ) public constructor(protectedValue: Any, options: IntrinsicProps) : - this(software.amazon.awscdk.SecretValue(protectedValue, options.let(IntrinsicProps::unwrap)) + this(software.amazon.awscdk.SecretValue(protectedValue, + options.let(IntrinsicProps.Companion::unwrap)) ) public constructor(protectedValue: Any, options: IntrinsicProps.Builder.() -> Unit) : @@ -77,7 +78,7 @@ public open class SecretValue( * @param context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * Disable usage protection on this secret. @@ -146,7 +147,7 @@ public open class SecretValue( * @param typeHint Type that this token is expected to evaluate to. */ override fun typeHint(typeHint: ResolutionTypeHint) { - cdkBuilder.typeHint(typeHint.let(ResolutionTypeHint::unwrap)) + cdkBuilder.typeHint(typeHint.let(ResolutionTypeHint.Companion::unwrap)) } public fun build(): software.amazon.awscdk.SecretValue = cdkBuilder.build() @@ -154,10 +155,10 @@ public open class SecretValue( public companion object { public fun cfnDynamicReference(ref: CfnDynamicReference): SecretValue = - software.amazon.awscdk.SecretValue.cfnDynamicReference(ref.let(CfnDynamicReference::unwrap)).let(SecretValue::wrap) + software.amazon.awscdk.SecretValue.cfnDynamicReference(ref.let(CfnDynamicReference.Companion::unwrap)).let(SecretValue::wrap) public fun cfnParameter(`param`: CfnParameter): SecretValue = - software.amazon.awscdk.SecretValue.cfnParameter(`param`.let(CfnParameter::unwrap)).let(SecretValue::wrap) + software.amazon.awscdk.SecretValue.cfnParameter(`param`.let(CfnParameter.Companion::unwrap)).let(SecretValue::wrap) public fun isSecretValue(x: Any): Boolean = software.amazon.awscdk.SecretValue.isSecretValue(x) @@ -173,7 +174,7 @@ public open class SecretValue( public fun secretsManager(secretId: String, options: SecretsManagerSecretOptions): SecretValue = software.amazon.awscdk.SecretValue.secretsManager(secretId, - options.let(SecretsManagerSecretOptions::unwrap)).let(SecretValue::wrap) + options.let(SecretsManagerSecretOptions.Companion::unwrap)).let(SecretValue::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a3f7c9f1d82680cb6f5a02536b3a5ec5da53d07abf763bbfe93af1986e49e659") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Size.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Size.kt index d1aa0cd658..af76114cfd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Size.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Size.kt @@ -63,7 +63,7 @@ public open class Size( * @param opts the conversion options. */ public open fun toBytes(opts: SizeConversionOptions): Number = - unwrap(this).toBytes(opts.let(SizeConversionOptions::unwrap)) + unwrap(this).toBytes(opts.let(SizeConversionOptions.Companion::unwrap)) /** * Return this storage as a total number of bytes. @@ -91,7 +91,7 @@ public open class Size( * @param opts the conversion options. */ public open fun toGibibytes(opts: SizeConversionOptions): Number = - unwrap(this).toGibibytes(opts.let(SizeConversionOptions::unwrap)) + unwrap(this).toGibibytes(opts.let(SizeConversionOptions.Companion::unwrap)) /** * Return this storage as a total number of gibibytes. @@ -119,7 +119,7 @@ public open class Size( * @param opts the conversion options. */ public open fun toKibibytes(opts: SizeConversionOptions): Number = - unwrap(this).toKibibytes(opts.let(SizeConversionOptions::unwrap)) + unwrap(this).toKibibytes(opts.let(SizeConversionOptions.Companion::unwrap)) /** * Return this storage as a total number of kibibytes. @@ -147,7 +147,7 @@ public open class Size( * @param opts the conversion options. */ public open fun toMebibytes(opts: SizeConversionOptions): Number = - unwrap(this).toMebibytes(opts.let(SizeConversionOptions::unwrap)) + unwrap(this).toMebibytes(opts.let(SizeConversionOptions.Companion::unwrap)) /** * Return this storage as a total number of mebibytes. @@ -175,7 +175,7 @@ public open class Size( * @param opts the conversion options. */ public open fun toPebibytes(opts: SizeConversionOptions): Number = - unwrap(this).toPebibytes(opts.let(SizeConversionOptions::unwrap)) + unwrap(this).toPebibytes(opts.let(SizeConversionOptions.Companion::unwrap)) /** * Return this storage as a total number of pebibytes. @@ -203,7 +203,7 @@ public open class Size( * @param opts the conversion options. */ public open fun toTebibytes(opts: SizeConversionOptions): Number = - unwrap(this).toTebibytes(opts.let(SizeConversionOptions::unwrap)) + unwrap(this).toTebibytes(opts.let(SizeConversionOptions.Companion::unwrap)) /** * Return this storage as a total number of tebibytes. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SizeConversionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SizeConversionOptions.kt index 87aa60a275..94dca509c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SizeConversionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SizeConversionOptions.kt @@ -45,7 +45,7 @@ public interface SizeConversionOptions { * @param rounding How conversions should behave when it encounters a non-integer result. */ override fun rounding(rounding: SizeRoundingBehavior) { - cdkBuilder.rounding(rounding.let(SizeRoundingBehavior::unwrap)) + cdkBuilder.rounding(rounding.let(SizeRoundingBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.SizeConversionOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stack.kt index 531ae42410..e6c312b65c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stack.kt @@ -51,19 +51,21 @@ public open class Stack( ) public constructor(scope: CloudshiftdevConstructsConstruct) : - this(software.amazon.awscdk.Stack(scope.let(CloudshiftdevConstructsConstruct::unwrap)) + this(software.amazon.awscdk.Stack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)) ) public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.Stack(scope.let(CloudshiftdevConstructsConstruct::unwrap), id) + this(software.amazon.awscdk.Stack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id) ) public constructor( scope: CloudshiftdevConstructsConstruct, id: String, props: StackProps, - ) : this(software.amazon.awscdk.Stack(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(StackProps::unwrap)) + ) : + this(software.amazon.awscdk.Stack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StackProps.Companion::unwrap)) ) public constructor( @@ -107,7 +109,7 @@ public open class Stack( * @param reason */ public open fun addDependency(target: Stack) { - unwrap(this).addDependency(target.let(Stack::unwrap)) + unwrap(this).addDependency(target.let(Stack.Companion::unwrap)) } /** @@ -120,7 +122,7 @@ public open class Stack( * @param reason */ public open fun addDependency(target: Stack, reason: String) { - unwrap(this).addDependency(target.let(Stack::unwrap), reason) + unwrap(this).addDependency(target.let(Stack.Companion::unwrap), reason) } /** @@ -258,7 +260,7 @@ public open class Stack( */ public open fun exportStringListValue(exportedValue: Any, options: ExportValueOptions): List = unwrap(this).exportStringListValue(exportedValue, - options.let(ExportValueOptions::unwrap)) + options.let(ExportValueOptions.Companion::unwrap)) /** * Create a CloudFormation Export for a string list value. @@ -393,7 +395,7 @@ public open class Stack( * @param options */ public open fun exportValue(exportedValue: Any, options: ExportValueOptions): String = - unwrap(this).exportValue(exportedValue, options.let(ExportValueOptions::unwrap)) + unwrap(this).exportValue(exportedValue, options.let(ExportValueOptions.Companion::unwrap)) /** * Create a CloudFormation Export for a string value. @@ -470,7 +472,7 @@ public open class Stack( * @param components */ public open fun formatArn(components: ArnComponents): String = - unwrap(this).formatArn(components.let(ArnComponents::unwrap)) + unwrap(this).formatArn(components.let(ArnComponents.Companion::unwrap)) /** * Creates an ARN from components. @@ -510,7 +512,7 @@ public open class Stack( * @param element The CloudFormation element for which a logical identity is needed. */ public open fun logicalId(element: CfnElement): String = - unwrap(this).getLogicalId(element.let(CfnElement::unwrap)) + unwrap(this).getLogicalId(element.let(CfnElement.Companion::unwrap)) /** * Indicates if this is a nested stack, in which case `parentStack` will include a reference to @@ -637,7 +639,7 @@ public open class Stack( * @param report The set of parameters needed to obtain the context. */ public open fun reportMissingContextKey(report: MissingContext) { - unwrap(this).reportMissingContextKey(report.let(MissingContext::unwrap)) + unwrap(this).reportMissingContextKey(report.let(MissingContext.Companion::unwrap)) } /** @@ -673,7 +675,8 @@ public open class Stack( * represents uses. */ public open fun splitArn(arn: String, arnFormat: ArnFormat): ArnComponents = - unwrap(this).splitArn(arn, arnFormat.let(ArnFormat::unwrap)).let(ArnComponents::wrap) + unwrap(this).splitArn(arn, + arnFormat.let(ArnFormat.Companion::unwrap)).let(ArnComponents::wrap) /** * The ID of the stack. @@ -1159,7 +1162,7 @@ public open class Stack( * @param env The AWS environment (account/region) where this stack will be deployed. */ override fun env(env: Environment) { - cdkBuilder.env(env.let(Environment::unwrap)) + cdkBuilder.env(env.let(Environment.Companion::unwrap)) } /** @@ -1252,7 +1255,7 @@ public open class Stack( * Users created within this Stage. */ override fun permissionsBoundary(permissionsBoundary: PermissionsBoundary) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary.Companion::unwrap)) } /** @@ -1301,7 +1304,7 @@ public open class Stack( * @param synthesizer Synthesis method to use while deploying this stack. */ override fun synthesizer(synthesizer: IStackSynthesizer) { - cdkBuilder.synthesizer(synthesizer.let(IStackSynthesizer::unwrap)) + cdkBuilder.synthesizer(synthesizer.let(IStackSynthesizer.Companion::unwrap)) } /** @@ -1334,7 +1337,7 @@ public open class Stack( public fun isStack(x: Any): Boolean = software.amazon.awscdk.Stack.isStack(x) public fun of(construct: IConstruct): Stack = - software.amazon.awscdk.Stack.of(construct.let(IConstruct::unwrap)).let(Stack::wrap) + software.amazon.awscdk.Stack.of(construct.let(IConstruct.Companion::unwrap)).let(Stack::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackProps.kt index cb7d8ea72a..df84c72da0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackProps.kt @@ -374,7 +374,7 @@ public interface StackProps { * environment's AWS partition, and other such enhancements. */ override fun env(env: Environment) { - cdkBuilder.env(env.let(Environment::unwrap)) + cdkBuilder.env(env.let(Environment.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public interface StackProps { * Users created within this Stage. */ override fun permissionsBoundary(permissionsBoundary: PermissionsBoundary) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface StackProps { * other synthesizer is specified. */ override fun synthesizer(synthesizer: IStackSynthesizer) { - cdkBuilder.synthesizer(synthesizer.let(IStackSynthesizer::unwrap)) + cdkBuilder.synthesizer(synthesizer.let(IStackSynthesizer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackSynthesizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackSynthesizer.kt index 4244f88066..313ae911c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackSynthesizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StackSynthesizer.kt @@ -32,7 +32,7 @@ public abstract class StackSynthesizer( * @param asset */ public override fun addDockerImageAsset(asset: DockerImageAssetSource): DockerImageAssetLocation = - unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource::unwrap)).let(DockerImageAssetLocation::wrap) + unwrap(this).addDockerImageAsset(asset.let(DockerImageAssetSource.Companion::unwrap)).let(DockerImageAssetLocation::wrap) /** * Register a Docker Image Asset. @@ -66,7 +66,7 @@ public abstract class StackSynthesizer( * @param asset */ public override fun addFileAsset(asset: FileAssetSource): FileAssetLocation = - unwrap(this).addFileAsset(asset.let(FileAssetSource::unwrap)).let(FileAssetLocation::wrap) + unwrap(this).addFileAsset(asset.let(FileAssetSource.Companion::unwrap)).let(FileAssetLocation::wrap) /** * Register a File Asset. @@ -94,7 +94,7 @@ public abstract class StackSynthesizer( * @param stack */ public override fun bind(stack: Stack) { - unwrap(this).bind(stack.let(Stack::unwrap)) + unwrap(this).bind(stack.let(Stack.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public abstract class StackSynthesizer( * @param session */ public override fun synthesize(session: ISynthesisSession) { - unwrap(this).synthesize(session.let(ISynthesisSession::unwrap)) + unwrap(this).synthesize(session.let(ISynthesisSession.Companion::unwrap)) } private class Wrapper( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stage.kt index 8e34729c67..5f3cb5f29a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Stage.kt @@ -46,15 +46,17 @@ public open class Stage( cdkObject: software.amazon.awscdk.Stage, ) : CloudshiftdevConstructsConstruct(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.Stage(scope.let(CloudshiftdevConstructsConstruct::unwrap), id) + this(software.amazon.awscdk.Stage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id) ) public constructor( scope: CloudshiftdevConstructsConstruct, id: String, props: StageProps, - ) : this(software.amazon.awscdk.Stage(scope.let(CloudshiftdevConstructsConstruct::unwrap), id, - props.let(StageProps::unwrap)) + ) : + this(software.amazon.awscdk.Stage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StageProps.Companion::unwrap)) ) public constructor( @@ -137,7 +139,7 @@ public open class Stage( * @param options */ public open fun synth(options: StageSynthesisOptions): CloudAssembly = - unwrap(this).synth(options.let(StageSynthesisOptions::unwrap)).let(CloudAssembly::wrap) + unwrap(this).synth(options.let(StageSynthesisOptions.Companion::unwrap)).let(CloudAssembly::wrap) /** * Synthesize this stage into a cloud assembly. @@ -336,7 +338,7 @@ public open class Stage( * @param env Default AWS environment (account/region) for `Stack`s in this `Stage`. */ override fun env(env: Environment) { - cdkBuilder.env(env.let(Environment::unwrap)) + cdkBuilder.env(env.let(Environment.Companion::unwrap)) } /** @@ -405,7 +407,7 @@ public open class Stage( * Users created within this Stage. */ override fun permissionsBoundary(permissionsBoundary: PermissionsBoundary) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary.Companion::unwrap)) } /** @@ -419,7 +421,7 @@ public open class Stage( * @param policyValidationBeta1 Validation plugins to run during synthesis. */ override fun policyValidationBeta1(policyValidationBeta1: List) { - cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1::unwrap)) + cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1.Companion::unwrap)) } /** @@ -453,7 +455,7 @@ public open class Stage( public fun isStage(x: Any): Boolean = software.amazon.awscdk.Stage.isStage(x) public fun of(construct: IConstruct): Stage? = - software.amazon.awscdk.Stage.of(construct.let(IConstruct::unwrap))?.let(Stage::wrap) + software.amazon.awscdk.Stage.of(construct.let(IConstruct.Companion::unwrap))?.let(Stage::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StageProps.kt index 0c5043d781..efdc4f7b89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/StageProps.kt @@ -201,7 +201,7 @@ public interface StageProps { * AWS partition, and other such enhancements. */ override fun env(env: Environment) { - cdkBuilder.env(env.let(Environment::unwrap)) + cdkBuilder.env(env.let(Environment.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public interface StageProps { * Users created within this Stage. */ override fun permissionsBoundary(permissionsBoundary: PermissionsBoundary) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundary.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface StageProps { * synthesis will be interrupted and the report displayed to the user. */ override fun policyValidationBeta1(policyValidationBeta1: List) { - cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1::unwrap)) + cdkBuilder.policyValidationBeta1(policyValidationBeta1.map(IPolicyValidationPluginBeta1.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SynthesizeStackArtifactOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SynthesizeStackArtifactOptions.kt index 5910862231..c886d4ad20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SynthesizeStackArtifactOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/SynthesizeStackArtifactOptions.kt @@ -255,7 +255,7 @@ public interface SynthesizeStackArtifactOptions { * @param lookupRole The role to use to look up values from the target AWS account. */ override fun lookupRole(lookupRole: BootstrapRole) { - cdkBuilder.lookupRole(lookupRole.let(BootstrapRole::unwrap)) + cdkBuilder.lookupRole(lookupRole.let(BootstrapRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tag.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tag.kt index be000aa544..a3cb21a0a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tag.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tag.kt @@ -38,7 +38,7 @@ public open class Tag( key: String, `value`: String, props: TagProps, - ) : this(software.amazon.awscdk.Tag(key, `value`, props.let(TagProps::unwrap)) + ) : this(software.amazon.awscdk.Tag(key, `value`, props.let(TagProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class Tag( * @param construct */ public override fun visit(construct: IConstruct) { - unwrap(this).visit(construct.let(IConstruct::unwrap)) + unwrap(this).visit(construct.let(IConstruct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TagManager.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TagManager.kt index 6fde57007d..fa0e46130c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TagManager.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TagManager.kt @@ -41,15 +41,16 @@ public open class TagManager( cdkObject: software.amazon.awscdk.TagManager, ) : CdkObject(cdkObject) { public constructor(tagType: TagType, resourceTypeName: String) : - this(software.amazon.awscdk.TagManager(tagType.let(TagType::unwrap), resourceTypeName) + this(software.amazon.awscdk.TagManager(tagType.let(TagType.Companion::unwrap), + resourceTypeName) ) public constructor( tagType: TagType, resourceTypeName: String, initialTags: Any, - ) : this(software.amazon.awscdk.TagManager(tagType.let(TagType::unwrap), resourceTypeName, - initialTags) + ) : this(software.amazon.awscdk.TagManager(tagType.let(TagType.Companion::unwrap), + resourceTypeName, initialTags) ) public constructor( @@ -57,8 +58,8 @@ public open class TagManager( resourceTypeName: String, initialTags: Any, options: TagManagerOptions, - ) : this(software.amazon.awscdk.TagManager(tagType.let(TagType::unwrap), resourceTypeName, - initialTags, options.let(TagManagerOptions::unwrap)) + ) : this(software.amazon.awscdk.TagManager(tagType.let(TagType.Companion::unwrap), + resourceTypeName, initialTags, options.let(TagManagerOptions.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tags.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tags.kt index a6f0c1b59b..6a836d0a69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tags.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tags.kt @@ -70,7 +70,7 @@ public open class Tags( `value`: String, props: TagProps, ) { - unwrap(this).add(key, `value`, props.let(TagProps::unwrap)) + unwrap(this).add(key, `value`, props.let(TagProps.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class Tags( * @param props */ public open fun remove(key: String, props: TagProps) { - unwrap(this).remove(key, props.let(TagProps::unwrap)) + unwrap(this).remove(key, props.let(TagProps.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class Tags( public companion object { public fun of(scope: IConstruct): Tags = - software.amazon.awscdk.Tags.of(scope.let(IConstruct::unwrap)).let(Tags::wrap) + software.amazon.awscdk.Tags.of(scope.let(IConstruct.Companion::unwrap)).let(Tags::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.Tags): Tags = Tags(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Token.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Token.kt index dc9ac62072..0fb9712dd9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Token.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Token.kt @@ -31,7 +31,7 @@ public open class Token( public fun asList(`value`: Any): List = software.amazon.awscdk.Token.asList(`value`) public fun asList(`value`: Any, options: EncodingOptions): List = - software.amazon.awscdk.Token.asList(`value`, options.let(EncodingOptions::unwrap)) + software.amazon.awscdk.Token.asList(`value`, options.let(EncodingOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("71c301f4d135222014b54f1101d2150ef2f4eae8df253a9ddeafbebe3d869be2") @@ -43,7 +43,8 @@ public open class Token( public fun asString(`value`: Any): String = software.amazon.awscdk.Token.asString(`value`) public fun asString(`value`: Any, options: EncodingOptions): String = - software.amazon.awscdk.Token.asString(`value`, options.let(EncodingOptions::unwrap)) + software.amazon.awscdk.Token.asString(`value`, + options.let(EncodingOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5bed20f382e13a2fe74d4737ca66d5b4f6e9aafe77d5a63e6cf8ff6ac901f119") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tokenization.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tokenization.kt index 6dcab3ce1a..b4b7326b13 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tokenization.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/Tokenization.kt @@ -22,7 +22,8 @@ public open class Tokenization( software.amazon.awscdk.Tokenization.isResolvable(obj) public fun resolve(obj: Any, options: ResolveOptions): Any = - software.amazon.awscdk.Tokenization.resolve(obj, options.let(ResolveOptions::unwrap)) + software.amazon.awscdk.Tokenization.resolve(obj, + options.let(ResolveOptions.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9841a8d2bb08e26698ea12389362f3d4bba05a9b20c9f5fbb7b0a96c44839e52") @@ -34,7 +35,7 @@ public open class Tokenization( public fun reverse(x: Any, options: ReverseOptions): IResolvable? = software.amazon.awscdk.Tokenization.reverse(x, - options.let(ReverseOptions::unwrap))?.let(IResolvable::wrap) + options.let(ReverseOptions.Companion::unwrap))?.let(IResolvable::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("11ed19a149174895c95c012a07fbd639e4a0f73c9514089a707b827a640f59d7") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TokenizedStringFragments.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TokenizedStringFragments.kt index dc53a69d72..4a74474ae3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TokenizedStringFragments.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/TokenizedStringFragments.kt @@ -43,7 +43,7 @@ public open class TokenizedStringFragments( * @param token */ public open fun addToken(token: IResolvable) { - unwrap(this).addToken(token.let(IResolvable::unwrap)) + unwrap(this).addToken(token.let(IResolvable.Companion::unwrap)) } /** @@ -64,7 +64,7 @@ public open class TokenizedStringFragments( * @param concat */ public open fun join(concat: IFragmentConcatenator): Any = - unwrap(this).join(concat.let(IFragmentConcatenator::unwrap)) + unwrap(this).join(concat.let(IFragmentConcatenator.Companion::unwrap)) /** * @@ -77,7 +77,7 @@ public open class TokenizedStringFragments( * @param mapper */ public open fun mapTokens(mapper: ITokenMapper): TokenizedStringFragments = - unwrap(this).mapTokens(mapper.let(ITokenMapper::unwrap)).let(TokenizedStringFragments::wrap) + unwrap(this).mapTokens(mapper.let(ITokenMapper.Companion::unwrap)).let(TokenizedStringFragments::wrap) /** * Return all Tokens from this string. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResult.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResult.kt index 01676f77ff..6a74055779 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResult.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResult.kt @@ -34,7 +34,7 @@ public open class ValidationResult( public constructor(errorMessage: String, results: ValidationResults) : this(software.amazon.awscdk.ValidationResult(errorMessage, - results.let(ValidationResults::unwrap)) + results.let(ValidationResults.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResults.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResults.kt index 14920ae8cf..68ba9bb61c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResults.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/ValidationResults.kt @@ -28,7 +28,7 @@ public open class ValidationResults( ) public constructor(results: List) : - this(software.amazon.awscdk.ValidationResults(results.map(ValidationResult::unwrap)) + this(software.amazon.awscdk.ValidationResults(results.map(ValidationResult.Companion::unwrap)) ) public constructor(vararg results: ValidationResult) : this(results.toList() @@ -38,7 +38,7 @@ public open class ValidationResults( * @param result */ public open fun collect(result: ValidationResult) { - unwrap(this).collect(result.let(ValidationResult::unwrap)) + unwrap(this).collect(result.let(ValidationResult.Companion::unwrap)) } /** @@ -61,7 +61,7 @@ public open class ValidationResults( * */ public open fun results(`value`: List) { - unwrap(this).setResults(`value`.map(ValidationResult::unwrap)) + unwrap(this).setResults(`value`.map(ValidationResult.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkill.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkill.kt index 0cadd32e5a..b5cd9d3e3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkill.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkill.kt @@ -59,8 +59,8 @@ public open class CfnSkill( id: String, props: CfnSkillProps, ) : - this(software.amazon.awscdk.alexa.ask.CfnSkill(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSkillProps::unwrap)) + this(software.amazon.awscdk.alexa.ask.CfnSkill(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSkillProps.Companion::unwrap)) ) public constructor( @@ -84,14 +84,14 @@ public open class CfnSkill( * Login with Amazon (LWA) configuration used to authenticate with the Alexa service. */ public open fun authenticationConfiguration(`value`: IResolvable) { - unwrap(this).setAuthenticationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthenticationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Login with Amazon (LWA) configuration used to authenticate with the Alexa service. */ public open fun authenticationConfiguration(`value`: AuthenticationConfigurationProperty) { - unwrap(this).setAuthenticationConfiguration(`value`.let(AuthenticationConfigurationProperty::unwrap)) + unwrap(this).setAuthenticationConfiguration(`value`.let(AuthenticationConfigurationProperty.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public open class CfnSkill( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,14 +121,14 @@ public open class CfnSkill( * Configuration for the skill package that contains the components of the Alexa skill. */ public open fun skillPackage(`value`: IResolvable) { - unwrap(this).setSkillPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setSkillPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for the skill package that contains the components of the Alexa skill. */ public open fun skillPackage(`value`: SkillPackageProperty) { - unwrap(this).setSkillPackage(`value`.let(SkillPackageProperty::unwrap)) + unwrap(this).setSkillPackage(`value`.let(SkillPackageProperty.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnSkill( * with the Alexa service. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnSkill( */ override fun authenticationConfiguration(authenticationConfiguration: AuthenticationConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(AuthenticationConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(AuthenticationConfigurationProperty.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnSkill( * Alexa skill. */ override fun skillPackage(skillPackage: IResolvable) { - cdkBuilder.skillPackage(skillPackage.let(IResolvable::unwrap)) + cdkBuilder.skillPackage(skillPackage.let(IResolvable.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnSkill( * Alexa skill. */ override fun skillPackage(skillPackage: SkillPackageProperty) { - cdkBuilder.skillPackage(skillPackage.let(SkillPackageProperty::unwrap)) + cdkBuilder.skillPackage(skillPackage.let(SkillPackageProperty.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public open class CfnSkill( * only overriding values inside of the skill manifest component of the package is supported. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class CfnSkill( * only overriding values inside of the skill manifest component of the package is supported. */ override fun overrides(overrides: OverridesProperty) { - cdkBuilder.overrides(overrides.let(OverridesProperty::unwrap)) + cdkBuilder.overrides(overrides.let(OverridesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkillProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkillProps.kt index 8379724628..0c6c5e8ad9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkillProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/alexa/ask/CfnSkillProps.kt @@ -153,7 +153,7 @@ public interface CfnSkillProps { * secret, and refresh token are required. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public interface CfnSkillProps { */ override fun authenticationConfiguration(authenticationConfiguration: CfnSkill.AuthenticationConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(CfnSkill.AuthenticationConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(CfnSkill.AuthenticationConfigurationProperty.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface CfnSkillProps { * the skill. For more information about the skill package format, see the . */ override fun skillPackage(skillPackage: IResolvable) { - cdkBuilder.skillPackage(skillPackage.let(IResolvable::unwrap)) + cdkBuilder.skillPackage(skillPackage.let(IResolvable.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface CfnSkillProps { * the skill. For more information about the skill package format, see the . */ override fun skillPackage(skillPackage: CfnSkill.SkillPackageProperty) { - cdkBuilder.skillPackage(skillPackage.let(CfnSkill.SkillPackageProperty::unwrap)) + cdkBuilder.skillPackage(skillPackage.let(CfnSkill.SkillPackageProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Annotations.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Annotations.kt index bbbba28949..66c5277f9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Annotations.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Annotations.kt @@ -117,7 +117,7 @@ public open class Annotations( public companion object { public fun fromStack(stack: Stack): Annotations = - software.amazon.awscdk.assertions.Annotations.fromStack(stack.let(Stack::unwrap)).let(Annotations::wrap) + software.amazon.awscdk.assertions.Annotations.fromStack(stack.let(Stack.Companion::unwrap)).let(Annotations::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.assertions.Annotations): Annotations = Annotations(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchCapture.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchCapture.kt index a765337325..b703a0916c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchCapture.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchCapture.kt @@ -60,7 +60,7 @@ public interface MatchCapture { * @param capture The instance of Capture class to which this capture is associated with. */ override fun capture(capture: Capture) { - cdkBuilder.capture(capture.let(Capture::unwrap)) + cdkBuilder.capture(capture.let(Capture.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchFailure.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchFailure.kt index e5cbae3f92..c54acbca06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchFailure.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchFailure.kt @@ -108,7 +108,7 @@ public interface MatchFailure { * @param matcher The matcher that had the failure. */ override fun matcher(matcher: Matcher) { - cdkBuilder.matcher(matcher.let(Matcher::unwrap)) + cdkBuilder.matcher(matcher.let(Matcher.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchResult.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchResult.kt index 2f3f35a288..4c295f1a6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchResult.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/MatchResult.kt @@ -38,7 +38,7 @@ public open class MatchResult( * @param inner */ public open fun compose(id: String, `inner`: MatchResult): MatchResult = unwrap(this).compose(id, - `inner`.let(MatchResult::unwrap)).let(MatchResult::wrap) + `inner`.let(MatchResult.Companion::unwrap)).let(MatchResult::wrap) /** * The cost of the failures so far. @@ -82,7 +82,7 @@ public open class MatchResult( matcher: Matcher, path: List, message: String, - ): MatchResult = unwrap(this).push(matcher.let(Matcher::unwrap), path, + ): MatchResult = unwrap(this).push(matcher.let(Matcher.Companion::unwrap), path, message).let(MatchResult::wrap) /** @@ -91,7 +91,7 @@ public open class MatchResult( * @param options */ public open fun recordCapture(options: MatchCapture) { - unwrap(this).recordCapture(options.let(MatchCapture::unwrap)) + unwrap(this).recordCapture(options.let(MatchCapture.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public open class MatchResult( * @param failure */ public open fun recordFailure(failure: MatchFailure): MatchResult = - unwrap(this).recordFailure(failure.let(MatchFailure::unwrap)).let(MatchResult::wrap) + unwrap(this).recordFailure(failure.let(MatchFailure.Companion::unwrap)).let(MatchResult::wrap) /** * Record a new failure into this result at a specific path. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Tags.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Tags.kt index e655e52459..6745703af3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Tags.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Tags.kt @@ -66,7 +66,7 @@ public open class Tags( public companion object { public fun fromStack(stack: Stack): Tags = - software.amazon.awscdk.assertions.Tags.fromStack(stack.let(Stack::unwrap)).let(Tags::wrap) + software.amazon.awscdk.assertions.Tags.fromStack(stack.let(Stack.Companion::unwrap)).let(Tags::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.assertions.Tags): Tags = Tags(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Template.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Template.kt index edd85088f0..9779ac90b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Template.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/assertions/Template.kt @@ -284,7 +284,7 @@ public open class Template( public fun fromJSON(template: Map, templateParsingOptions: TemplateParsingOptions): Template = software.amazon.awscdk.assertions.Template.fromJSON(template.mapValues{CdkObjectWrappers.unwrap(it.value)}, - templateParsingOptions.let(TemplateParsingOptions::unwrap)).let(Template::wrap) + templateParsingOptions.let(TemplateParsingOptions.Companion::unwrap)).let(Template::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cbffcbc7046e55838a1d5fb9e7a97ebb37d7a2374f5094e37c1eb7be3ab5e424") @@ -293,11 +293,11 @@ public open class Template( fromJSON(template, TemplateParsingOptions(templateParsingOptions)) public fun fromStack(stack: Stack): Template = - software.amazon.awscdk.assertions.Template.fromStack(stack.let(Stack::unwrap)).let(Template::wrap) + software.amazon.awscdk.assertions.Template.fromStack(stack.let(Stack.Companion::unwrap)).let(Template::wrap) public fun fromStack(stack: Stack, templateParsingOptions: TemplateParsingOptions): Template = - software.amazon.awscdk.assertions.Template.fromStack(stack.let(Stack::unwrap), - templateParsingOptions.let(TemplateParsingOptions::unwrap)).let(Template::wrap) + software.amazon.awscdk.assertions.Template.fromStack(stack.let(Stack.Companion::unwrap), + templateParsingOptions.let(TemplateParsingOptions.Companion::unwrap)).let(Template::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d9a56c6b73e6abd2d132a6353bc67332f340f9993fef529c80abdbcf93a46c2") @@ -310,7 +310,7 @@ public open class Template( public fun fromString(template: String, templateParsingOptions: TemplateParsingOptions): Template = software.amazon.awscdk.assertions.Template.fromString(template, - templateParsingOptions.let(TemplateParsingOptions::unwrap)).let(Template::wrap) + templateParsingOptions.let(TemplateParsingOptions.Companion::unwrap)).let(Template::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b22b6f80ac5b9c59fec0f09ec5f90ec88ae7e88a2a4c3887daece417bafe1029") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpIamAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpIamAuthorizer.kt index 6c8a20a33a..ed3fe52c20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpIamAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpIamAuthorizer.kt @@ -42,7 +42,7 @@ public open class HttpIamAuthorizer( * @param _options */ public override fun bind(options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig = - unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions::unwrap)).let(HttpRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions.Companion::unwrap)).let(HttpRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified Http route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpJwtAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpJwtAuthorizer.kt index fa1de99fd8..4a278f50b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpJwtAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpJwtAuthorizer.kt @@ -41,7 +41,7 @@ public open class HttpJwtAuthorizer( jwtIssuer: String, props: HttpJwtAuthorizerProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.HttpJwtAuthorizer(id, jwtIssuer, - props.let(HttpJwtAuthorizerProps::unwrap)) + props.let(HttpJwtAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -57,7 +57,7 @@ public open class HttpJwtAuthorizer( * @param options */ public override fun bind(options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig = - unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions::unwrap)).let(HttpRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions.Companion::unwrap)).let(HttpRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified Http route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizer.kt index 9c7b279610..99abd7e224 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizer.kt @@ -43,7 +43,7 @@ public open class HttpLambdaAuthorizer( ) : CdkObject(cdkObject), IHttpRouteAuthorizer { public constructor(id: String, handler: CloudshiftdevAwscdkServicesLambdaIFunction) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.HttpLambdaAuthorizer(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor( @@ -51,8 +51,8 @@ public open class HttpLambdaAuthorizer( handler: CloudshiftdevAwscdkServicesLambdaIFunction, props: HttpLambdaAuthorizerProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.HttpLambdaAuthorizer(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - props.let(HttpLambdaAuthorizerProps::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + props.let(HttpLambdaAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class HttpLambdaAuthorizer( * @param options */ public override fun bind(options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig = - unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions::unwrap)).let(HttpRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions.Companion::unwrap)).let(HttpRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified Http route. @@ -205,7 +205,7 @@ public open class HttpLambdaAuthorizer( * @param responseTypes The types of responses the lambda can return. */ override fun responseTypes(responseTypes: List) { - cdkBuilder.responseTypes(responseTypes.map(HttpLambdaResponseType::unwrap)) + cdkBuilder.responseTypes(responseTypes.map(HttpLambdaResponseType.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class HttpLambdaAuthorizer( * @param resultsCacheTtl How long APIGateway should cache the results. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_authorizers.HttpLambdaAuthorizer = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizerProps.kt index ea94e66b29..0bb79ce007 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpLambdaAuthorizerProps.kt @@ -144,7 +144,7 @@ public interface HttpLambdaAuthorizerProps { * response format 2.0 will be used. */ override fun responseTypes(responseTypes: List) { - cdkBuilder.responseTypes(responseTypes.map(HttpLambdaResponseType::unwrap)) + cdkBuilder.responseTypes(responseTypes.map(HttpLambdaResponseType.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public interface HttpLambdaAuthorizerProps { * Disable caching by setting this to `Duration.seconds(0)`. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizer.kt index 3ff4541d45..16ac0ec3fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizer.kt @@ -40,7 +40,7 @@ public open class HttpUserPoolAuthorizer( ) : CdkObject(cdkObject), IHttpRouteAuthorizer { public constructor(id: String, pool: CloudshiftdevAwscdkServicesCognitoIUserPool) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.HttpUserPoolAuthorizer(id, - pool.let(CloudshiftdevAwscdkServicesCognitoIUserPool::unwrap)) + pool.let(CloudshiftdevAwscdkServicesCognitoIUserPool.Companion::unwrap)) ) public constructor( @@ -48,8 +48,8 @@ public open class HttpUserPoolAuthorizer( pool: CloudshiftdevAwscdkServicesCognitoIUserPool, props: HttpUserPoolAuthorizerProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.HttpUserPoolAuthorizer(id, - pool.let(CloudshiftdevAwscdkServicesCognitoIUserPool::unwrap), - props.let(HttpUserPoolAuthorizerProps::unwrap)) + pool.let(CloudshiftdevAwscdkServicesCognitoIUserPool.Companion::unwrap), + props.let(HttpUserPoolAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class HttpUserPoolAuthorizer( * @param options */ public override fun bind(options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig = - unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions::unwrap)).let(HttpRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions.Companion::unwrap)).let(HttpRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified Http route. @@ -190,7 +190,7 @@ public open class HttpUserPoolAuthorizer( * the user pool. */ override fun userPoolClients(userPoolClients: List) { - cdkBuilder.userPoolClients(userPoolClients.map(IUserPoolClient::unwrap)) + cdkBuilder.userPoolClients(userPoolClients.map(IUserPoolClient.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizerProps.kt index 0c00e1ff35..4d3625c7d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/HttpUserPoolAuthorizerProps.kt @@ -127,7 +127,7 @@ public interface HttpUserPoolAuthorizerProps { * the user pool. */ override fun userPoolClients(userPoolClients: List) { - cdkBuilder.userPoolClients(userPoolClients.map(IUserPoolClient::unwrap)) + cdkBuilder.userPoolClients(userPoolClients.map(IUserPoolClient.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketIamAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketIamAuthorizer.kt index e45dfe0866..3d222bd8ae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketIamAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketIamAuthorizer.kt @@ -55,7 +55,7 @@ public open class WebSocketIamAuthorizer( */ public override fun bind(options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig = - unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions.Companion::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified WebSocket route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketLambdaAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketLambdaAuthorizer.kt index 8bfe3f5016..5e80be6c83 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketLambdaAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_authorizers/WebSocketLambdaAuthorizer.kt @@ -41,7 +41,7 @@ public open class WebSocketLambdaAuthorizer( ) : CdkObject(cdkObject), IWebSocketRouteAuthorizer { public constructor(id: String, handler: CloudshiftdevAwscdkServicesLambdaIFunction) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.WebSocketLambdaAuthorizer(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor( @@ -49,8 +49,8 @@ public open class WebSocketLambdaAuthorizer( handler: CloudshiftdevAwscdkServicesLambdaIFunction, props: WebSocketLambdaAuthorizerProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_authorizers.WebSocketLambdaAuthorizer(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - props.let(WebSocketLambdaAuthorizerProps::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + props.let(WebSocketLambdaAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class WebSocketLambdaAuthorizer( */ public override fun bind(options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig = - unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions.Companion::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified WebSocket route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegration.kt index eeeaed506a..94d989a1e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegration.kt @@ -40,7 +40,7 @@ public open class HttpAlbIntegration( public constructor(id: String, listener: CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationListener) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegration(id, - listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationListener::unwrap)) + listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationListener.Companion::unwrap)) ) public constructor( @@ -48,8 +48,8 @@ public open class HttpAlbIntegration( listener: CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationListener, props: HttpAlbIntegrationProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegration(id, - listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationListener::unwrap), - props.let(HttpAlbIntegrationProps::unwrap)) + listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationListener.Companion::unwrap), + props.let(HttpAlbIntegrationProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class HttpAlbIntegration( * @param options */ public override fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -141,7 +141,7 @@ public open class HttpAlbIntegration( * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class HttpAlbIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class HttpAlbIntegration( * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegrationProps.kt index 4fa124cff1..d8c684ceae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpAlbIntegrationProps.kt @@ -69,7 +69,7 @@ public interface HttpAlbIntegrationProps : HttpPrivateIntegrationOptions { * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface HttpAlbIntegrationProps : HttpPrivateIntegrationOptions { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public interface HttpAlbIntegrationProps : HttpPrivateIntegrationOptions { * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegrationProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegration.kt index 018ba142b9..b441ad06d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegration.kt @@ -37,7 +37,7 @@ public open class HttpLambdaIntegration( ) : HttpRouteIntegration(cdkObject) { public constructor(id: String, handler: CloudshiftdevAwscdkServicesLambdaIFunction) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpLambdaIntegration(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor( @@ -45,8 +45,8 @@ public open class HttpLambdaIntegration( handler: CloudshiftdevAwscdkServicesLambdaIFunction, props: HttpLambdaIntegrationProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpLambdaIntegration(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - props.let(HttpLambdaIntegrationProps::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + props.let(HttpLambdaIntegrationProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class HttpLambdaIntegration( * @param _options */ public override fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -121,7 +121,7 @@ public open class HttpLambdaIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class HttpLambdaIntegration( * @param payloadFormatVersion Version of the payload sent to the lambda handler. */ override fun payloadFormatVersion(payloadFormatVersion: PayloadFormatVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpLambdaIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegrationProps.kt index 1eb13faa16..63a2e9fb33 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpLambdaIntegrationProps.kt @@ -75,14 +75,14 @@ public interface HttpLambdaIntegrationProps { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** * @param payloadFormatVersion Version of the payload sent to the lambda handler. */ override fun payloadFormatVersion(payloadFormatVersion: PayloadFormatVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegration.kt index d22959cec8..f55b0ff911 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegration.kt @@ -40,7 +40,7 @@ public open class HttpNlbIntegration( public constructor(id: String, listener: CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkListener) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpNlbIntegration(id, - listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkListener::unwrap)) + listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkListener.Companion::unwrap)) ) public constructor( @@ -48,8 +48,8 @@ public open class HttpNlbIntegration( listener: CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkListener, props: HttpNlbIntegrationProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpNlbIntegration(id, - listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkListener::unwrap), - props.let(HttpNlbIntegrationProps::unwrap)) + listener.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkListener.Companion::unwrap), + props.let(HttpNlbIntegrationProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class HttpNlbIntegration( * @param options */ public override fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -141,7 +141,7 @@ public open class HttpNlbIntegration( * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class HttpNlbIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class HttpNlbIntegration( * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpNlbIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegrationProps.kt index fedcfcfa45..52b6728d48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpNlbIntegrationProps.kt @@ -69,7 +69,7 @@ public interface HttpNlbIntegrationProps : HttpPrivateIntegrationOptions { * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface HttpNlbIntegrationProps : HttpPrivateIntegrationOptions { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public interface HttpNlbIntegrationProps : HttpPrivateIntegrationOptions { * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpNlbIntegrationProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpPrivateIntegrationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpPrivateIntegrationOptions.kt index 12b3e583ce..f8f9be44ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpPrivateIntegrationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpPrivateIntegrationOptions.kt @@ -103,7 +103,7 @@ public interface HttpPrivateIntegrationOptions { * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public interface HttpPrivateIntegrationOptions { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface HttpPrivateIntegrationOptions { * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegration.kt index 2b34ca4965..bb22941a29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegration.kt @@ -42,7 +42,7 @@ public open class HttpServiceDiscoveryIntegration( ) : HttpRouteIntegration(cdkObject) { public constructor(id: String, service: CloudshiftdevAwscdkServicesServicediscoveryIService) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpServiceDiscoveryIntegration(id, - service.let(CloudshiftdevAwscdkServicesServicediscoveryIService::unwrap)) + service.let(CloudshiftdevAwscdkServicesServicediscoveryIService.Companion::unwrap)) ) public constructor( @@ -50,8 +50,8 @@ public open class HttpServiceDiscoveryIntegration( service: CloudshiftdevAwscdkServicesServicediscoveryIService, props: HttpServiceDiscoveryIntegrationProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpServiceDiscoveryIntegration(id, - service.let(CloudshiftdevAwscdkServicesServicediscoveryIService::unwrap), - props.let(HttpServiceDiscoveryIntegrationProps::unwrap)) + service.let(CloudshiftdevAwscdkServicesServicediscoveryIService.Companion::unwrap), + props.let(HttpServiceDiscoveryIntegrationProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class HttpServiceDiscoveryIntegration( * @param _options */ public override fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -144,7 +144,7 @@ public open class HttpServiceDiscoveryIntegration( * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class HttpServiceDiscoveryIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class HttpServiceDiscoveryIntegration( * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegrationProps.kt index f70d175c09..a217c8ff03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpServiceDiscoveryIntegrationProps.kt @@ -72,7 +72,7 @@ public interface HttpServiceDiscoveryIntegrationProps : HttpPrivateIntegrationOp * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -80,7 +80,7 @@ public interface HttpServiceDiscoveryIntegrationProps : HttpPrivateIntegrationOp * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface HttpServiceDiscoveryIntegrationProps : HttpPrivateIntegrationOp * @param vpcLink The vpc link to be used for the private integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegration.kt index b4e4510e44..05a380b910 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegration.kt @@ -57,7 +57,7 @@ public open class HttpStepFunctionsIntegration( ) : HttpRouteIntegration(cdkObject) { public constructor(id: String, props: HttpStepFunctionsIntegrationProps) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpStepFunctionsIntegration(id, - props.let(HttpStepFunctionsIntegrationProps::unwrap)) + props.let(HttpStepFunctionsIntegrationProps.Companion::unwrap)) ) public constructor(id: String, props: HttpStepFunctionsIntegrationProps.Builder.() -> Unit) : @@ -70,7 +70,7 @@ public open class HttpStepFunctionsIntegration( * @param options */ public override fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -143,7 +143,7 @@ public open class HttpStepFunctionsIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class HttpStepFunctionsIntegration( * @param stateMachine Statemachine that Integrates with API Gateway. */ override fun stateMachine(stateMachine: StateMachine) { - cdkBuilder.stateMachine(stateMachine.let(StateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(StateMachine.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class HttpStepFunctionsIntegration( * @param subtype The subtype of the HTTP integration. */ override fun subtype(subtype: HttpIntegrationSubtype) { - cdkBuilder.subtype(subtype.let(HttpIntegrationSubtype::unwrap)) + cdkBuilder.subtype(subtype.let(HttpIntegrationSubtype.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegrationProps.kt index fea54b9d03..1356118d22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpStepFunctionsIntegrationProps.kt @@ -119,14 +119,14 @@ public interface HttpStepFunctionsIntegrationProps { * Conversely, when the subtype is `STOP_EXECUTION`, the `ExecutionArn` must be specified. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** * @param stateMachine Statemachine that Integrates with API Gateway. */ override fun stateMachine(stateMachine: StateMachine) { - cdkBuilder.stateMachine(stateMachine.let(StateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(StateMachine.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public interface HttpStepFunctionsIntegrationProps { * Only subtypes starting with STEPFUNCTIONS_ can be specified. */ override fun subtype(subtype: HttpIntegrationSubtype) { - cdkBuilder.subtype(subtype.let(HttpIntegrationSubtype::unwrap)) + cdkBuilder.subtype(subtype.let(HttpIntegrationSubtype.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegration.kt index a006e80e51..deda75a6ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegration.kt @@ -47,7 +47,7 @@ public open class HttpUrlIntegration( url: String, props: HttpUrlIntegrationProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.HttpUrlIntegration(id, url, - props.let(HttpUrlIntegrationProps::unwrap)) + props.let(HttpUrlIntegrationProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class HttpUrlIntegration( * @param _options */ public override fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -119,7 +119,7 @@ public open class HttpUrlIntegration( * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class HttpUrlIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpUrlIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegrationProps.kt index 9016d5c44e..20abf4c463 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/HttpUrlIntegrationProps.kt @@ -70,7 +70,7 @@ public interface HttpUrlIntegrationProps { * @param method The HTTP method that must be used to invoke the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -78,7 +78,7 @@ public interface HttpUrlIntegrationProps { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.HttpUrlIntegrationProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegration.kt index 36284c304b..399fbe5467 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegration.kt @@ -52,7 +52,7 @@ public open class WebSocketAwsIntegration( ) : WebSocketRouteIntegration(cdkObject) { public constructor(id: String, props: WebSocketAwsIntegrationProps) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.WebSocketAwsIntegration(id, - props.let(WebSocketAwsIntegrationProps::unwrap)) + props.let(WebSocketAwsIntegrationProps.Companion::unwrap)) ) public constructor(id: String, props: WebSocketAwsIntegrationProps.Builder.() -> Unit) : this(id, @@ -66,7 +66,7 @@ public open class WebSocketAwsIntegration( */ public override fun bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig = - unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions.Companion::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -198,7 +198,7 @@ public open class WebSocketAwsIntegration( * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class WebSocketAwsIntegration( * @param credentialsRole Specifies the credentials role required for the integration. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class WebSocketAwsIntegration( * requestTemplates property on the Integration resource. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class WebSocketAwsIntegration( * response. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.aws_apigatewayv2_integrations.WebSocketAwsIntegration diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegrationProps.kt index 8c22c95d22..0a148d256e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketAwsIntegrationProps.kt @@ -197,14 +197,14 @@ public interface WebSocketAwsIntegrationProps { * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** * @param credentialsRole Specifies the credentials role required for the integration. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface WebSocketAwsIntegrationProps { * NEVER. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface WebSocketAwsIntegrationProps { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegration.kt index 7cb6c61c1e..4877359b5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegration.kt @@ -38,7 +38,7 @@ public open class WebSocketLambdaIntegration( ) : WebSocketRouteIntegration(cdkObject) { public constructor(id: String, handler: CloudshiftdevAwscdkServicesLambdaIFunction) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.WebSocketLambdaIntegration(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor( @@ -46,8 +46,8 @@ public open class WebSocketLambdaIntegration( handler: CloudshiftdevAwscdkServicesLambdaIFunction, props: WebSocketLambdaIntegrationProps, ) : this(software.amazon.awscdk.aws_apigatewayv2_integrations.WebSocketLambdaIntegration(id, - handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - props.let(WebSocketLambdaIntegrationProps::unwrap)) + handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + props.let(WebSocketLambdaIntegrationProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class WebSocketLambdaIntegration( */ public override fun bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig = - unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions.Companion::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) /** * Bind this integration to the route. @@ -123,7 +123,7 @@ public open class WebSocketLambdaIntegration( * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class WebSocketLambdaIntegration( * response. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegrationProps.kt index c9f2f5b7dc..12d5e334ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketLambdaIntegrationProps.kt @@ -74,7 +74,7 @@ public interface WebSocketLambdaIntegrationProps { * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -83,7 +83,7 @@ public interface WebSocketLambdaIntegrationProps { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketMockIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketMockIntegration.kt index 49f1bd82be..ebbc4ea051 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketMockIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/aws_apigatewayv2_integrations/WebSocketMockIntegration.kt @@ -35,7 +35,7 @@ public open class WebSocketMockIntegration( */ public override fun bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig = - unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions.Companion::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) /** * Bind this integration to the route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ArtifactManifest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ArtifactManifest.kt index 6ba6a2a236..bc4835b560 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ArtifactManifest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ArtifactManifest.kt @@ -226,14 +226,14 @@ public interface ArtifactManifest { * @param metadata Associated metadata. */ override fun metadata(metadata: Map>) { - cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry::unwrap) }) + cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry.Companion::unwrap) }) } /** * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AwsCloudFormationStackProperties) { - cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties::unwrap)) + cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface ArtifactManifest { * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AssetManifestProperties) { - cdkBuilder.properties(properties.let(AssetManifestProperties::unwrap)) + cdkBuilder.properties(properties.let(AssetManifestProperties.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface ArtifactManifest { * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: TreeArtifactProperties) { - cdkBuilder.properties(properties.let(TreeArtifactProperties::unwrap)) + cdkBuilder.properties(properties.let(TreeArtifactProperties.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface ArtifactManifest { * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: NestedCloudAssemblyProperties) { - cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties::unwrap)) + cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface ArtifactManifest { * @param type The type of artifact. */ override fun type(type: ArtifactType) { - cdkBuilder.type(type.let(ArtifactType::unwrap)) + cdkBuilder.type(type.let(ArtifactType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cloudassembly.schema.ArtifactManifest = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AssemblyManifest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AssemblyManifest.kt index f532649406..941d6adbe3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AssemblyManifest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AssemblyManifest.kt @@ -173,7 +173,7 @@ public interface AssemblyManifest { * cloud assembly is not complete and should not be deployed. */ override fun missing(missing: List) { - cdkBuilder.missing(missing.map(MissingContext::unwrap)) + cdkBuilder.missing(missing.map(MissingContext.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface AssemblyManifest { * @param runtime Runtime information. */ override fun runtime(runtime: RuntimeInfo) { - cdkBuilder.runtime(runtime.let(RuntimeInfo::unwrap)) + cdkBuilder.runtime(runtime.let(RuntimeInfo.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AwsCloudFormationStackProperties.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AwsCloudFormationStackProperties.kt index 9b5c5d1921..53166b09e1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AwsCloudFormationStackProperties.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/AwsCloudFormationStackProperties.kt @@ -289,7 +289,7 @@ public interface AwsCloudFormationStackProperties { * @param lookupRole The role to use to look up values from the target AWS account. */ override fun lookupRole(lookupRole: BootstrapRole) { - cdkBuilder.lookupRole(lookupRole.let(BootstrapRole::unwrap)) + cdkBuilder.lookupRole(lookupRole.let(BootstrapRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/CdkCommands.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/CdkCommands.kt index 7791d107f8..f4900809f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/CdkCommands.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/CdkCommands.kt @@ -90,7 +90,7 @@ public interface CdkCommands { * @param deploy Options to for the cdk deploy command. */ override fun deploy(deploy: DeployCommand) { - cdkBuilder.deploy(deploy.let(DeployCommand::unwrap)) + cdkBuilder.deploy(deploy.let(DeployCommand.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public interface CdkCommands { * @param destroy Options to for the cdk destroy command. */ override fun destroy(destroy: DestroyCommand) { - cdkBuilder.destroy(destroy.let(DestroyCommand::unwrap)) + cdkBuilder.destroy(destroy.let(DestroyCommand.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ContainerImageAssetMetadataEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ContainerImageAssetMetadataEntry.kt index 0c249cc743..9dee0fadd8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ContainerImageAssetMetadataEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/ContainerImageAssetMetadataEntry.kt @@ -307,7 +307,7 @@ public interface ContainerImageAssetMetadataEntry { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(ContainerImageAssetCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(ContainerImageAssetCacheOption.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface ContainerImageAssetMetadataEntry { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: ContainerImageAssetCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(ContainerImageAssetCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(ContainerImageAssetCacheOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployCommand.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployCommand.kt index 085cdb74ad..0a7039967a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployCommand.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployCommand.kt @@ -95,7 +95,7 @@ public interface DeployCommand : CdkCommand { * functionality. */ override fun args(args: DeployOptions) { - cdkBuilder.args(args.let(DeployOptions::unwrap)) + cdkBuilder.args(args.let(DeployOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployOptions.kt index 78b36b7019..990b100938 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DeployOptions.kt @@ -571,7 +571,7 @@ public interface DeployOptions : DefaultCdkOptions { * @param requireApproval What kind of security changes require approval. */ override fun requireApproval(requireApproval: RequireApproval) { - cdkBuilder.requireApproval(requireApproval.let(RequireApproval::unwrap)) + cdkBuilder.requireApproval(requireApproval.let(RequireApproval.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DestroyCommand.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DestroyCommand.kt index ee5cc00daf..3a77fc949f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DestroyCommand.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DestroyCommand.kt @@ -95,7 +95,7 @@ public interface DestroyCommand : CdkCommand { * functionality. */ override fun args(args: DestroyOptions) { - cdkBuilder.args(args.let(DestroyOptions::unwrap)) + cdkBuilder.args(args.let(DestroyOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageAsset.kt index 89b77679a8..a03ab3fc7a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageAsset.kt @@ -108,7 +108,7 @@ public interface DockerImageAsset { * @param source Source description for file assets. */ override fun source(source: DockerImageSource) { - cdkBuilder.source(source.let(DockerImageSource::unwrap)) + cdkBuilder.source(source.let(DockerImageSource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageSource.kt index afb3fe46df..563ac9e743 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/DockerImageSource.kt @@ -287,7 +287,7 @@ public interface DockerImageSource { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface DockerImageSource { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileAsset.kt index 8bf0bee6d2..3f2a76de64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileAsset.kt @@ -86,7 +86,7 @@ public interface FileAsset { * @param source Source description for file assets. */ override fun source(source: FileSource) { - cdkBuilder.source(source.let(FileSource::unwrap)) + cdkBuilder.source(source.let(FileSource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileSource.kt index 0b7d6ce1e7..5ada19ab90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/FileSource.kt @@ -101,7 +101,7 @@ public interface FileSource { * Only allowed when `path` is specified. */ override fun packaging(packaging: FileAssetPackaging) { - cdkBuilder.packaging(packaging.let(FileAssetPackaging::unwrap)) + cdkBuilder.packaging(packaging.let(FileAssetPackaging.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerContextQuery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerContextQuery.kt index 986d6f305c..4ff98639f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerContextQuery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerContextQuery.kt @@ -114,7 +114,7 @@ public interface LoadBalancerContextQuery : LoadBalancerFilter { * @param loadBalancerTags Match load balancer tags. */ override fun loadBalancerTags(loadBalancerTags: List) { - cdkBuilder.loadBalancerTags(loadBalancerTags.map(Tag::unwrap)) + cdkBuilder.loadBalancerTags(loadBalancerTags.map(Tag.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface LoadBalancerContextQuery : LoadBalancerFilter { * @param loadBalancerType Filter load balancers by their type. */ override fun loadBalancerType(loadBalancerType: LoadBalancerType) { - cdkBuilder.loadBalancerType(loadBalancerType.let(LoadBalancerType::unwrap)) + cdkBuilder.loadBalancerType(loadBalancerType.let(LoadBalancerType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerFilter.kt index ce44f037cd..ce46d3fc74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerFilter.kt @@ -91,7 +91,7 @@ public interface LoadBalancerFilter { * @param loadBalancerTags Match load balancer tags. */ override fun loadBalancerTags(loadBalancerTags: List) { - cdkBuilder.loadBalancerTags(loadBalancerTags.map(Tag::unwrap)) + cdkBuilder.loadBalancerTags(loadBalancerTags.map(Tag.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public interface LoadBalancerFilter { * @param loadBalancerType Filter load balancers by their type. */ override fun loadBalancerType(loadBalancerType: LoadBalancerType) { - cdkBuilder.loadBalancerType(loadBalancerType.let(LoadBalancerType::unwrap)) + cdkBuilder.loadBalancerType(loadBalancerType.let(LoadBalancerType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cloudassembly.schema.LoadBalancerFilter = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerListenerContextQuery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerListenerContextQuery.kt index 2a23cb4553..2e1603d2ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerListenerContextQuery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/LoadBalancerListenerContextQuery.kt @@ -163,7 +163,7 @@ public interface LoadBalancerListenerContextQuery : LoadBalancerFilter { * @param listenerProtocol Filter by listener protocol. */ override fun listenerProtocol(listenerProtocol: LoadBalancerListenerProtocol) { - cdkBuilder.listenerProtocol(listenerProtocol.let(LoadBalancerListenerProtocol::unwrap)) + cdkBuilder.listenerProtocol(listenerProtocol.let(LoadBalancerListenerProtocol.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface LoadBalancerListenerContextQuery : LoadBalancerFilter { * @param loadBalancerTags Match load balancer tags. */ override fun loadBalancerTags(loadBalancerTags: List) { - cdkBuilder.loadBalancerTags(loadBalancerTags.map(Tag::unwrap)) + cdkBuilder.loadBalancerTags(loadBalancerTags.map(Tag.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface LoadBalancerListenerContextQuery : LoadBalancerFilter { * @param loadBalancerType Filter load balancers by their type. */ override fun loadBalancerType(loadBalancerType: LoadBalancerType) { - cdkBuilder.loadBalancerType(loadBalancerType.let(LoadBalancerType::unwrap)) + cdkBuilder.loadBalancerType(loadBalancerType.let(LoadBalancerType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/Manifest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/Manifest.kt index cb0d5734a3..e4dd07c015 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/Manifest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/Manifest.kt @@ -20,7 +20,7 @@ public open class Manifest( public fun loadAssemblyManifest(filePath: String, options: LoadManifestOptions): AssemblyManifest = software.amazon.awscdk.cloudassembly.schema.Manifest.loadAssemblyManifest(filePath, - options.let(LoadManifestOptions::unwrap)).let(AssemblyManifest::wrap) + options.let(LoadManifestOptions.Companion::unwrap)).let(AssemblyManifest::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1575cc5d564d7ee8a1e46bf56062264175e0f212de5913b209ebf22d560edb8b") @@ -35,17 +35,17 @@ public open class Manifest( software.amazon.awscdk.cloudassembly.schema.Manifest.loadIntegManifest(filePath).let(IntegManifest::wrap) public fun saveAssemblyManifest(manifest: AssemblyManifest, filePath: String) { - software.amazon.awscdk.cloudassembly.schema.Manifest.saveAssemblyManifest(manifest.let(AssemblyManifest::unwrap), + software.amazon.awscdk.cloudassembly.schema.Manifest.saveAssemblyManifest(manifest.let(AssemblyManifest.Companion::unwrap), filePath) } public fun saveAssetManifest(manifest: AssetManifest, filePath: String) { - software.amazon.awscdk.cloudassembly.schema.Manifest.saveAssetManifest(manifest.let(AssetManifest::unwrap), + software.amazon.awscdk.cloudassembly.schema.Manifest.saveAssetManifest(manifest.let(AssetManifest.Companion::unwrap), filePath) } public fun saveIntegManifest(manifest: IntegManifest, filePath: String) { - software.amazon.awscdk.cloudassembly.schema.Manifest.saveIntegManifest(manifest.let(IntegManifest::unwrap), + software.amazon.awscdk.cloudassembly.schema.Manifest.saveIntegManifest(manifest.let(IntegManifest.Companion::unwrap), filePath) } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MetadataEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MetadataEntry.kt index 5842179b6b..81e87d3bc0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MetadataEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MetadataEntry.kt @@ -123,7 +123,7 @@ public interface MetadataEntry { * @param data The data. */ override fun `data`(`data`: FileAssetMetadataEntry) { - cdkBuilder.`data`(`data`.let(FileAssetMetadataEntry::unwrap)) + cdkBuilder.`data`(`data`.let(FileAssetMetadataEntry.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public interface MetadataEntry { * @param data The data. */ override fun `data`(`data`: ContainerImageAssetMetadataEntry) { - cdkBuilder.`data`(`data`.let(ContainerImageAssetMetadataEntry::unwrap)) + cdkBuilder.`data`(`data`.let(ContainerImageAssetMetadataEntry.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface MetadataEntry { * @param data The data. */ override fun `data`(`data`: List) { - cdkBuilder.`data`(`data`.map(Tag::unwrap)) + cdkBuilder.`data`(`data`.map(Tag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MissingContext.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MissingContext.kt index 8bcde284b8..aa28127d77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MissingContext.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/MissingContext.kt @@ -213,7 +213,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: AmiContextQuery) { - cdkBuilder.props(props.let(AmiContextQuery::unwrap)) + cdkBuilder.props(props.let(AmiContextQuery.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: AvailabilityZonesContextQuery) { - cdkBuilder.props(props.let(AvailabilityZonesContextQuery::unwrap)) + cdkBuilder.props(props.let(AvailabilityZonesContextQuery.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: HostedZoneContextQuery) { - cdkBuilder.props(props.let(HostedZoneContextQuery::unwrap)) + cdkBuilder.props(props.let(HostedZoneContextQuery.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: SSMParameterContextQuery) { - cdkBuilder.props(props.let(SSMParameterContextQuery::unwrap)) + cdkBuilder.props(props.let(SSMParameterContextQuery.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: VpcContextQuery) { - cdkBuilder.props(props.let(VpcContextQuery::unwrap)) + cdkBuilder.props(props.let(VpcContextQuery.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: EndpointServiceAvailabilityZonesContextQuery) { - cdkBuilder.props(props.let(EndpointServiceAvailabilityZonesContextQuery::unwrap)) + cdkBuilder.props(props.let(EndpointServiceAvailabilityZonesContextQuery.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: LoadBalancerContextQuery) { - cdkBuilder.props(props.let(LoadBalancerContextQuery::unwrap)) + cdkBuilder.props(props.let(LoadBalancerContextQuery.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: LoadBalancerListenerContextQuery) { - cdkBuilder.props(props.let(LoadBalancerListenerContextQuery::unwrap)) + cdkBuilder.props(props.let(LoadBalancerListenerContextQuery.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: SecurityGroupContextQuery) { - cdkBuilder.props(props.let(SecurityGroupContextQuery::unwrap)) + cdkBuilder.props(props.let(SecurityGroupContextQuery.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: KeyContextQuery) { - cdkBuilder.props(props.let(KeyContextQuery::unwrap)) + cdkBuilder.props(props.let(KeyContextQuery.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public interface MissingContext { * @param props A set of provider-specific options. */ override fun props(props: PluginContextQuery) { - cdkBuilder.props(props.let(PluginContextQuery::unwrap)) + cdkBuilder.props(props.let(PluginContextQuery.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface MissingContext { * @param provider The provider from which we expect this context key to be obtained. */ override fun provider(provider: ContextProvider) { - cdkBuilder.provider(provider.let(ContextProvider::unwrap)) + cdkBuilder.provider(provider.let(ContextProvider.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cloudassembly.schema.MissingContext = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestCase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestCase.kt index 1b661def6c..461a1a7f85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestCase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestCase.kt @@ -299,7 +299,7 @@ public interface TestCase : TestOptions { * @param cdkCommandOptions Additional options to use for each CDK command. */ override fun cdkCommandOptions(cdkCommandOptions: CdkCommands) { - cdkBuilder.cdkCommandOptions(cdkCommandOptions.let(CdkCommands::unwrap)) + cdkBuilder.cdkCommandOptions(cdkCommandOptions.let(CdkCommands.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface TestCase : TestOptions { * e.g. { postDeploy: ['yarn', 'test'] } */ override fun hooks(hooks: Hooks) { - cdkBuilder.hooks(hooks.let(Hooks::unwrap)) + cdkBuilder.hooks(hooks.let(Hooks.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestOptions.kt index f4d81b06e3..f6e6c54a25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudassembly/schema/TestOptions.kt @@ -290,7 +290,7 @@ public interface TestOptions { * @param cdkCommandOptions Additional options to use for each CDK command. */ override fun cdkCommandOptions(cdkCommandOptions: CdkCommands) { - cdkBuilder.cdkCommandOptions(cdkCommandOptions.let(CdkCommands::unwrap)) + cdkBuilder.cdkCommandOptions(cdkCommandOptions.let(CdkCommands.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface TestOptions { * e.g. { postDeploy: ['yarn', 'test'] } */ override fun hooks(hooks: Hooks) { - cdkBuilder.hooks(hooks.let(Hooks::unwrap)) + cdkBuilder.hooks(hooks.let(Hooks.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/CfnInclude.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/CfnInclude.kt index 63b0c2de02..df86d3fad2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/CfnInclude.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/CfnInclude.kt @@ -44,8 +44,8 @@ public open class CfnInclude( id: String, props: CfnIncludeProps, ) : - this(software.amazon.awscdk.cloudformation.include.CfnInclude(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIncludeProps::unwrap)) + this(software.amazon.awscdk.cloudformation.include.CfnInclude(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIncludeProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnInclude( */ public open fun loadNestedStack(logicalId: String, nestedStackProps: CfnIncludeProps): IncludedNestedStack = unwrap(this).loadNestedStack(logicalId, - nestedStackProps.let(CfnIncludeProps::unwrap)).let(IncludedNestedStack::wrap) + nestedStackProps.let(CfnIncludeProps.Companion::unwrap)).let(IncludedNestedStack::wrap) /** * Includes a template for a child stack inside of this parent template. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/IncludedNestedStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/IncludedNestedStack.kt index 673c48baea..cf14648558 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/IncludedNestedStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cloudformation/include/IncludedNestedStack.kt @@ -60,14 +60,14 @@ public interface IncludedNestedStack { * access Resources and other template elements. */ override fun includedTemplate(includedTemplate: CfnInclude) { - cdkBuilder.includedTemplate(includedTemplate.let(CfnInclude::unwrap)) + cdkBuilder.includedTemplate(includedTemplate.let(CfnInclude.Companion::unwrap)) } /** * @param stack The NestedStack object which represents the scope of the template. */ override fun stack(stack: NestedStack) { - cdkBuilder.stack(stack.let(NestedStack::unwrap)) + cdkBuilder.stack(stack.let(NestedStack.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cloudformation.include.IncludedNestedStack = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResource.kt index 9af8487d80..7ef9d1bfe1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResource.kt @@ -14,6 +14,7 @@ import io.cloudshiftdev.awscdk.services.iam.IRole import io.cloudshiftdev.awscdk.services.logs.ILogGroup import io.cloudshiftdev.awscdk.services.logs.RetentionDays import kotlin.Boolean +import kotlin.Number import kotlin.String import kotlin.Unit import kotlin.jvm.JvmName @@ -57,8 +58,8 @@ public open class AwsCustomResource( id: String, props: AwsCustomResourceProps, ) : - this(software.amazon.awscdk.customresources.AwsCustomResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AwsCustomResourceProps::unwrap)) + this(software.amazon.awscdk.customresources.AwsCustomResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AwsCustomResourceProps.Companion::unwrap)) ) public constructor( @@ -170,6 +171,16 @@ public open class AwsCustomResource( */ public fun logRetention(logRetention: RetentionDays) + /** + * The memory size for the singleton Lambda function implementing this custom resource. + * + * Default: 512 mega in case if installLatestAwsSdk is false. + * + * @param memorySize The memory size for the singleton Lambda function implementing this custom + * resource. + */ + public fun memorySize(memorySize: Number) + /** * The AWS SDK call to make when the resource is created. * @@ -388,7 +399,7 @@ public open class AwsCustomResource( * lambda function. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -405,7 +416,19 @@ public open class AwsCustomResource( * implementing this custom resource are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) + } + + /** + * The memory size for the singleton Lambda function implementing this custom resource. + * + * Default: 512 mega in case if installLatestAwsSdk is false. + * + * @param memorySize The memory size for the singleton Lambda function implementing this custom + * resource. + */ + override fun memorySize(memorySize: Number) { + cdkBuilder.memorySize(memorySize) } /** @@ -416,7 +439,7 @@ public open class AwsCustomResource( * @param onCreate The AWS SDK call to make when the resource is created. */ override fun onCreate(onCreate: AwsSdkCall) { - cdkBuilder.onCreate(onCreate.let(AwsSdkCall::unwrap)) + cdkBuilder.onCreate(onCreate.let(AwsSdkCall.Companion::unwrap)) } /** @@ -439,7 +462,7 @@ public open class AwsCustomResource( * @param onDelete The AWS SDK call to make when the resource is deleted. */ override fun onDelete(onDelete: AwsSdkCall) { - cdkBuilder.onDelete(onDelete.let(AwsSdkCall::unwrap)) + cdkBuilder.onDelete(onDelete.let(AwsSdkCall.Companion::unwrap)) } /** @@ -462,7 +485,7 @@ public open class AwsCustomResource( * @param onUpdate The AWS SDK call to make when the resource is updated. */ override fun onUpdate(onUpdate: AwsSdkCall) { - cdkBuilder.onUpdate(onUpdate.let(AwsSdkCall::unwrap)) + cdkBuilder.onUpdate(onUpdate.let(AwsSdkCall.Companion::unwrap)) } /** @@ -499,7 +522,7 @@ public open class AwsCustomResource( * implementing this custom resource provider. */ override fun policy(policy: AwsCustomResourcePolicy) { - cdkBuilder.policy(policy.let(AwsCustomResourcePolicy::unwrap)) + cdkBuilder.policy(policy.let(AwsCustomResourcePolicy.Companion::unwrap)) } /** @@ -510,7 +533,7 @@ public open class AwsCustomResource( * @param removalPolicy The policy to apply when this resource is removed from the application. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -538,7 +561,7 @@ public open class AwsCustomResource( * resource provider. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -550,7 +573,7 @@ public open class AwsCustomResource( * resource. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -561,7 +584,7 @@ public open class AwsCustomResource( * @param vpc The vpc to provision the lambda function in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -575,7 +598,7 @@ public open class AwsCustomResource( * @param vpcSubnets Which subnets from the VPC to place the lambda function in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourcePolicy.kt index 8e93153709..4915a05a1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourcePolicy.kt @@ -50,7 +50,7 @@ public open class AwsCustomResourcePolicy( software.amazon.awscdk.customresources.AwsCustomResourcePolicy.ANY_RESOURCE public fun fromSdkCalls(options: SdkCallsPolicyOptions): AwsCustomResourcePolicy = - software.amazon.awscdk.customresources.AwsCustomResourcePolicy.fromSdkCalls(options.let(SdkCallsPolicyOptions::unwrap)).let(AwsCustomResourcePolicy::wrap) + software.amazon.awscdk.customresources.AwsCustomResourcePolicy.fromSdkCalls(options.let(SdkCallsPolicyOptions.Companion::unwrap)).let(AwsCustomResourcePolicy::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0941a10126c1569cb9626dfcc4e5dff6b1db29239307e7105ea475cbb57b3db3") @@ -58,7 +58,7 @@ public open class AwsCustomResourcePolicy( AwsCustomResourcePolicy = fromSdkCalls(SdkCallsPolicyOptions(options)) public fun fromStatements(statements: List): AwsCustomResourcePolicy = - software.amazon.awscdk.customresources.AwsCustomResourcePolicy.fromStatements(statements.map(PolicyStatement::unwrap)).let(AwsCustomResourcePolicy::wrap) + software.amazon.awscdk.customresources.AwsCustomResourcePolicy.fromStatements(statements.map(PolicyStatement.Companion::unwrap)).let(AwsCustomResourcePolicy::wrap) public fun fromStatements(vararg statements: PolicyStatement): AwsCustomResourcePolicy = fromStatements(statements.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourceProps.kt index 6718943b06..af749f3b94 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsCustomResourceProps.kt @@ -13,6 +13,7 @@ import io.cloudshiftdev.awscdk.services.iam.IRole import io.cloudshiftdev.awscdk.services.logs.ILogGroup import io.cloudshiftdev.awscdk.services.logs.RetentionDays import kotlin.Boolean +import kotlin.Number import kotlin.String import kotlin.Unit import kotlin.jvm.JvmName @@ -91,6 +92,13 @@ public interface AwsCustomResourceProps { public fun logRetention(): RetentionDays? = unwrap(this).getLogRetention()?.let(RetentionDays::wrap) + /** + * The memory size for the singleton Lambda function implementing this custom resource. + * + * Default: 512 mega in case if installLatestAwsSdk is false. + */ + public fun memorySize(): Number? = unwrap(this).getMemorySize() + /** * The AWS SDK call to make when the resource is created. * @@ -229,6 +237,12 @@ public interface AwsCustomResourceProps { */ public fun logRetention(logRetention: RetentionDays) + /** + * @param memorySize The memory size for the singleton Lambda function implementing this custom + * resource. + */ + public fun memorySize(memorySize: Number) + /** * @param onCreate The AWS SDK call to make when the resource is created. */ @@ -364,7 +378,7 @@ public interface AwsCustomResourceProps { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -375,14 +389,22 @@ public interface AwsCustomResourceProps { * function to send logs to it. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) + } + + /** + * @param memorySize The memory size for the singleton Lambda function implementing this custom + * resource. + */ + override fun memorySize(memorySize: Number) { + cdkBuilder.memorySize(memorySize) } /** * @param onCreate The AWS SDK call to make when the resource is created. */ override fun onCreate(onCreate: AwsSdkCall) { - cdkBuilder.onCreate(onCreate.let(AwsSdkCall::unwrap)) + cdkBuilder.onCreate(onCreate.let(AwsSdkCall.Companion::unwrap)) } /** @@ -397,7 +419,7 @@ public interface AwsCustomResourceProps { * @param onDelete The AWS SDK call to make when the resource is deleted. */ override fun onDelete(onDelete: AwsSdkCall) { - cdkBuilder.onDelete(onDelete.let(AwsSdkCall::unwrap)) + cdkBuilder.onDelete(onDelete.let(AwsSdkCall.Companion::unwrap)) } /** @@ -412,7 +434,7 @@ public interface AwsCustomResourceProps { * @param onUpdate The AWS SDK call to make when the resource is updated. */ override fun onUpdate(onUpdate: AwsSdkCall) { - cdkBuilder.onUpdate(onUpdate.let(AwsSdkCall::unwrap)) + cdkBuilder.onUpdate(onUpdate.let(AwsSdkCall.Companion::unwrap)) } /** @@ -438,14 +460,14 @@ public interface AwsCustomResourceProps { * resources. */ override fun policy(policy: AwsCustomResourcePolicy) { - cdkBuilder.policy(policy.let(AwsCustomResourcePolicy::unwrap)) + cdkBuilder.policy(policy.let(AwsCustomResourcePolicy.Companion::unwrap)) } /** * @param removalPolicy The policy to apply when this resource is removed from the application. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -463,7 +485,7 @@ public interface AwsCustomResourceProps { * `lambda.amazonaws.com` service principal. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -471,14 +493,14 @@ public interface AwsCustomResourceProps { * resource. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param vpc The vpc to provision the lambda function in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -487,7 +509,7 @@ public interface AwsCustomResourceProps { * requires a NAT gateway, so picking Public subnets is not allowed. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -558,6 +580,13 @@ public interface AwsCustomResourceProps { override fun logRetention(): RetentionDays? = unwrap(this).getLogRetention()?.let(RetentionDays::wrap) + /** + * The memory size for the singleton Lambda function implementing this custom resource. + * + * Default: 512 mega in case if installLatestAwsSdk is false. + */ + override fun memorySize(): Number? = unwrap(this).getMemorySize() + /** * The AWS SDK call to make when the resource is created. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsSdkCall.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsSdkCall.kt index 3bae5ea1a4..d16ab5a972 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsSdkCall.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/AwsSdkCall.kt @@ -316,7 +316,7 @@ public interface AwsSdkCall { * * Caught and uncaught errors */ override fun logging(logging: Logging) { - cdkBuilder.logging(logging.let(Logging::unwrap)) + cdkBuilder.logging(logging.let(Logging.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface AwsSdkCall { * In onUpdate, you can omit this to passthrough it from request. */ override fun physicalResourceId(physicalResourceId: PhysicalResourceId) { - cdkBuilder.physicalResourceId(physicalResourceId.let(PhysicalResourceId::unwrap)) + cdkBuilder.physicalResourceId(physicalResourceId.let(PhysicalResourceId.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/LogOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/LogOptions.kt index f5b9a0a47e..ff76a42c4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/LogOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/LogOptions.kt @@ -80,7 +80,7 @@ public interface LogOptions { * @param destination The log group where the execution history events will be logged. */ override fun destination(destination: ILogGroup) { - cdkBuilder.destination(destination.let(ILogGroup::unwrap)) + cdkBuilder.destination(destination.let(ILogGroup.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface LogOptions { * @param level Defines which category of execution history events are logged. */ override fun level(level: LogLevel) { - cdkBuilder.level(level.let(LogLevel::unwrap)) + cdkBuilder.level(level.let(LogLevel.Companion::unwrap)) } public fun build(): software.amazon.awscdk.customresources.LogOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/PhysicalResourceIdReference.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/PhysicalResourceIdReference.kt index c38f5f0617..d8debb7d7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/PhysicalResourceIdReference.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/PhysicalResourceIdReference.kt @@ -57,7 +57,7 @@ public open class PhysicalResourceIdReference( * @param _context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * toJSON serialization to replace `PhysicalResourceIdReference` with a magic string. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/Provider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/Provider.kt index 929f814eff..65c3f98bc4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/Provider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/Provider.kt @@ -48,8 +48,8 @@ public open class Provider( id: String, props: ProviderProps, ) : - this(software.amazon.awscdk.customresources.Provider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ProviderProps::unwrap)) + this(software.amazon.awscdk.customresources.Provider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ProviderProps.Companion::unwrap)) ) public constructor( @@ -335,7 +335,7 @@ public open class Provider( * operation is complete. */ override fun isCompleteHandler(isCompleteHandler: IFunction) { - cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction::unwrap)) + cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class Provider( * lambda function. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class Provider( * @param logRetention The number of days framework log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class Provider( * (CREATE/UPDATE/DELETE). */ override fun onEventHandler(onEventHandler: IFunction) { - cdkBuilder.onEventHandler(onEventHandler.let(IFunction::unwrap)) + cdkBuilder.onEventHandler(onEventHandler.let(IFunction.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class Provider( * environment variables. */ override fun providerFunctionEnvEncryption(providerFunctionEnvEncryption: IKey) { - cdkBuilder.providerFunctionEnvEncryption(providerFunctionEnvEncryption.let(IKey::unwrap)) + cdkBuilder.providerFunctionEnvEncryption(providerFunctionEnvEncryption.let(IKey.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class Provider( * resource has been stabilized. */ override fun queryInterval(queryInterval: Duration) { - cdkBuilder.queryInterval(queryInterval.let(Duration::unwrap)) + cdkBuilder.queryInterval(queryInterval.let(Duration.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class Provider( * @param role AWS Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class Provider( * @param securityGroups Security groups to attach to the provider functions. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class Provider( * @param totalTimeout Total timeout for the entire operation. */ override fun totalTimeout(totalTimeout: Duration) { - cdkBuilder.totalTimeout(totalTimeout.let(Duration::unwrap)) + cdkBuilder.totalTimeout(totalTimeout.let(Duration.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class Provider( * @param vpc The vpc to provision the lambda functions in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -508,7 +508,7 @@ public open class Provider( * @param vpcSubnets Which subnets from the VPC to place the lambda functions in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class Provider( * machine are logged and where they are logged. */ override fun waiterStateMachineLogOptions(waiterStateMachineLogOptions: LogOptions) { - cdkBuilder.waiterStateMachineLogOptions(waiterStateMachineLogOptions.let(LogOptions::unwrap)) + cdkBuilder.waiterStateMachineLogOptions(waiterStateMachineLogOptions.let(LogOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/ProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/ProviderProps.kt index 1f8355c7c9..3cb16edcc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/ProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/ProviderProps.kt @@ -342,7 +342,7 @@ public interface ProviderProps { * passed, the operation will fail. */ override fun isCompleteHandler(isCompleteHandler: IFunction) { - cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction::unwrap)) + cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface ProviderProps { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface ProviderProps { * function to send logs to it. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface ProviderProps { * property must be included in the response. */ override fun onEventHandler(onEventHandler: IFunction) { - cdkBuilder.onEventHandler(onEventHandler.let(IFunction::unwrap)) + cdkBuilder.onEventHandler(onEventHandler.let(IFunction.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface ProviderProps { * environment variables. */ override fun providerFunctionEnvEncryption(providerFunctionEnvEncryption: IKey) { - cdkBuilder.providerFunctionEnvEncryption(providerFunctionEnvEncryption.let(IKey::unwrap)) + cdkBuilder.providerFunctionEnvEncryption(providerFunctionEnvEncryption.let(IKey.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface ProviderProps { * `isComplete` returns `true`. */ override fun queryInterval(queryInterval: Duration) { - cdkBuilder.queryInterval(queryInterval.let(Duration::unwrap)) + cdkBuilder.queryInterval(queryInterval.let(Duration.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface ProviderProps { * Must be assumable by the 'lambda.amazonaws.com' service principal. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface ProviderProps { * Only used if 'vpc' is supplied */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -437,14 +437,14 @@ public interface ProviderProps { * The maximum timeout is 1 hour (yes, it can exceed the AWS Lambda 15 minutes) */ override fun totalTimeout(totalTimeout: Duration) { - cdkBuilder.totalTimeout(totalTimeout.let(Duration::unwrap)) + cdkBuilder.totalTimeout(totalTimeout.let(Duration.Companion::unwrap)) } /** * @param vpc The vpc to provision the lambda functions in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public interface ProviderProps { * requires a NAT gateway, so picking Public subnets is not allowed. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public interface ProviderProps { * machine are logged and where they are logged. */ override fun waiterStateMachineLogOptions(waiterStateMachineLogOptions: LogOptions) { - cdkBuilder.waiterStateMachineLogOptions(waiterStateMachineLogOptions.let(LogOptions::unwrap)) + cdkBuilder.waiterStateMachineLogOptions(waiterStateMachineLogOptions.let(LogOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachine.kt index f79a968bd0..1ce2e9c428 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachine.kt @@ -61,8 +61,8 @@ public open class WaiterStateMachine( id: String, props: WaiterStateMachineProps, ) : - this(software.amazon.awscdk.customresources.WaiterStateMachine(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WaiterStateMachineProps::unwrap)) + this(software.amazon.awscdk.customresources.WaiterStateMachine(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WaiterStateMachineProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class WaiterStateMachine( * @param identity */ public open fun grantStartExecution(identity: IGrantable): Grant = - unwrap(this).grantStartExecution(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStartExecution(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the state machine. @@ -191,7 +191,7 @@ public open class WaiterStateMachine( * @param interval The interval to wait between attempts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class WaiterStateMachine( * 'incomplete'. */ override fun isCompleteHandler(isCompleteHandler: IFunction) { - cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction::unwrap)) + cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class WaiterStateMachine( * */ override fun logOptions(logOptions: LogOptions) { - cdkBuilder.logOptions(logOptions.let(LogOptions::unwrap)) + cdkBuilder.logOptions(logOptions.let(LogOptions.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class WaiterStateMachine( * @param timeoutHandler The handler to call if the waiter times out and is incomplete. */ override fun timeoutHandler(timeoutHandler: IFunction) { - cdkBuilder.timeoutHandler(timeoutHandler.let(IFunction::unwrap)) + cdkBuilder.timeoutHandler(timeoutHandler.let(IFunction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.customresources.WaiterStateMachine = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachineProps.kt index ec5071b51b..9de358cd98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/customresources/WaiterStateMachineProps.kt @@ -154,7 +154,7 @@ public interface WaiterStateMachineProps { * @param interval The interval to wait between attempts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -162,14 +162,14 @@ public interface WaiterStateMachineProps { * 'incomplete'. */ override fun isCompleteHandler(isCompleteHandler: IFunction) { - cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction::unwrap)) + cdkBuilder.isCompleteHandler(isCompleteHandler.let(IFunction.Companion::unwrap)) } /** * @param logOptions Defines what execution history events are logged and where they are logged. */ override fun logOptions(logOptions: LogOptions) { - cdkBuilder.logOptions(logOptions.let(LogOptions::unwrap)) + cdkBuilder.logOptions(logOptions.let(LogOptions.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface WaiterStateMachineProps { * @param timeoutHandler The handler to call if the waiter times out and is incomplete. */ override fun timeoutHandler(timeoutHandler: IFunction) { - cdkBuilder.timeoutHandler(timeoutHandler.let(IFunction::unwrap)) + cdkBuilder.timeoutHandler(timeoutHandler.let(IFunction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.customresources.WaiterStateMachineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/AssetManifestArtifact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/AssetManifestArtifact.kt index 33222a08c4..f9014ba939 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/AssetManifestArtifact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/AssetManifestArtifact.kt @@ -79,8 +79,9 @@ public open class AssetManifestArtifact( assembly: CloudAssembly, name: String, artifact: ArtifactManifest, - ) : this(software.amazon.awscdk.cxapi.AssetManifestArtifact(assembly.let(CloudAssembly::unwrap), - name, artifact.let(ArtifactManifest::unwrap)) + ) : + this(software.amazon.awscdk.cxapi.AssetManifestArtifact(assembly.let(CloudAssembly.Companion::unwrap), + name, artifact.let(ArtifactManifest.Companion::unwrap)) ) public constructor( @@ -314,7 +315,7 @@ public open class AssetManifestArtifact( * @param metadata Associated metadata. */ override fun metadata(metadata: Map>) { - cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry::unwrap) }) + cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry.Companion::unwrap) }) } /** @@ -325,7 +326,7 @@ public open class AssetManifestArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AwsCloudFormationStackProperties) { - cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties::unwrap)) + cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties.Companion::unwrap)) } /** @@ -348,7 +349,7 @@ public open class AssetManifestArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AssetManifestProperties) { - cdkBuilder.properties(properties.let(AssetManifestProperties::unwrap)) + cdkBuilder.properties(properties.let(AssetManifestProperties.Companion::unwrap)) } /** @@ -371,7 +372,7 @@ public open class AssetManifestArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: TreeArtifactProperties) { - cdkBuilder.properties(properties.let(TreeArtifactProperties::unwrap)) + cdkBuilder.properties(properties.let(TreeArtifactProperties.Companion::unwrap)) } /** @@ -394,7 +395,7 @@ public open class AssetManifestArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: NestedCloudAssemblyProperties) { - cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties::unwrap)) + cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties.Companion::unwrap)) } /** @@ -415,7 +416,7 @@ public open class AssetManifestArtifact( * @param type The type of artifact. */ override fun type(type: ArtifactType) { - cdkBuilder.type(type.let(ArtifactType::unwrap)) + cdkBuilder.type(type.let(ArtifactType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.AssetManifestArtifact = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudArtifact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudArtifact.kt index c78965a153..b271a50a7a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudArtifact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudArtifact.kt @@ -114,8 +114,8 @@ public open class CloudArtifact( id: String, artifact: ArtifactManifest, ): CloudArtifact? = - software.amazon.awscdk.cxapi.CloudArtifact.fromManifest(assembly.let(CloudAssembly::unwrap), - id, artifact.let(ArtifactManifest::unwrap))?.let(CloudArtifact::wrap) + software.amazon.awscdk.cxapi.CloudArtifact.fromManifest(assembly.let(CloudAssembly.Companion::unwrap), + id, artifact.let(ArtifactManifest.Companion::unwrap))?.let(CloudArtifact::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf15c645a93890774d2fc564c09a4cc0b00096f48fca3019d1f567d1c659f93c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssembly.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssembly.kt index b569dff4b2..3df32a375a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssembly.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssembly.kt @@ -36,7 +36,7 @@ public open class CloudAssembly( public constructor(directory: String, loadOptions: LoadManifestOptions) : this(software.amazon.awscdk.cxapi.CloudAssembly(directory, - loadOptions.let(LoadManifestOptions::unwrap)) + loadOptions.let(LoadManifestOptions.Companion::unwrap)) ) public constructor(directory: String, loadOptions: LoadManifestOptions.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilder.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilder.kt index be1506b338..11e4742811 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilder.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilder.kt @@ -38,7 +38,7 @@ public open class CloudAssemblyBuilder( public constructor(outdir: String, props: CloudAssemblyBuilderProps) : this(software.amazon.awscdk.cxapi.CloudAssemblyBuilder(outdir, - props.let(CloudAssemblyBuilderProps::unwrap)) + props.let(CloudAssemblyBuilderProps.Companion::unwrap)) ) public constructor(outdir: String, props: CloudAssemblyBuilderProps.Builder.() -> Unit) : @@ -52,7 +52,7 @@ public open class CloudAssemblyBuilder( * @param manifest The artifact manifest. */ public open fun addArtifact(id: String, manifest: ArtifactManifest) { - unwrap(this).addArtifact(id, manifest.let(ArtifactManifest::unwrap)) + unwrap(this).addArtifact(id, manifest.let(ArtifactManifest.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public open class CloudAssemblyBuilder( * @param missing Missing context information. */ public open fun addMissing(missing: MissingContext) { - unwrap(this).addMissing(missing.let(MissingContext::unwrap)) + unwrap(this).addMissing(missing.let(MissingContext.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class CloudAssemblyBuilder( * @param options */ public open fun buildAssembly(options: AssemblyBuildOptions): CloudAssembly = - unwrap(this).buildAssembly(options.let(AssemblyBuildOptions::unwrap)).let(CloudAssembly::wrap) + unwrap(this).buildAssembly(options.let(AssemblyBuildOptions.Companion::unwrap)).let(CloudAssembly::wrap) /** * Finalizes the cloud assembly into the output directory returns a `CloudAssembly` object that @@ -190,7 +190,7 @@ public open class CloudAssemblyBuilder( * @param parentBuilder If this builder is for a nested assembly, the parent assembly builder. */ override fun parentBuilder(parentBuilder: CloudAssemblyBuilder) { - cdkBuilder.parentBuilder(parentBuilder.let(CloudAssemblyBuilder::unwrap)) + cdkBuilder.parentBuilder(parentBuilder.let(CloudAssemblyBuilder.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.CloudAssemblyBuilder = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilderProps.kt index 24f05cf36f..e22d13f93f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudAssemblyBuilderProps.kt @@ -71,7 +71,7 @@ public interface CloudAssemblyBuilderProps { * @param parentBuilder If this builder is for a nested assembly, the parent assembly builder. */ override fun parentBuilder(parentBuilder: CloudAssemblyBuilder) { - cdkBuilder.parentBuilder(parentBuilder.let(CloudAssemblyBuilder::unwrap)) + cdkBuilder.parentBuilder(parentBuilder.let(CloudAssemblyBuilder.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.CloudAssemblyBuilderProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudFormationStackArtifact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudFormationStackArtifact.kt index 6c518f31cb..43e4acb139 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudFormationStackArtifact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/CloudFormationStackArtifact.kt @@ -78,8 +78,8 @@ public open class CloudFormationStackArtifact( artifactId: String, artifact: ArtifactManifest, ) : - this(software.amazon.awscdk.cxapi.CloudFormationStackArtifact(assembly.let(CloudAssembly::unwrap), - artifactId, artifact.let(ArtifactManifest::unwrap)) + this(software.amazon.awscdk.cxapi.CloudFormationStackArtifact(assembly.let(CloudAssembly.Companion::unwrap), + artifactId, artifact.let(ArtifactManifest.Companion::unwrap)) ) public constructor( @@ -411,7 +411,7 @@ public open class CloudFormationStackArtifact( * @param metadata Associated metadata. */ override fun metadata(metadata: Map>) { - cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry::unwrap) }) + cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry.Companion::unwrap) }) } /** @@ -422,7 +422,7 @@ public open class CloudFormationStackArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AwsCloudFormationStackProperties) { - cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties::unwrap)) + cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CloudFormationStackArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AssetManifestProperties) { - cdkBuilder.properties(properties.let(AssetManifestProperties::unwrap)) + cdkBuilder.properties(properties.let(AssetManifestProperties.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class CloudFormationStackArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: TreeArtifactProperties) { - cdkBuilder.properties(properties.let(TreeArtifactProperties::unwrap)) + cdkBuilder.properties(properties.let(TreeArtifactProperties.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public open class CloudFormationStackArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: NestedCloudAssemblyProperties) { - cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties::unwrap)) + cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CloudFormationStackArtifact( * @param type The type of artifact. */ override fun type(type: ArtifactType) { - cdkBuilder.type(type.let(ArtifactType::unwrap)) + cdkBuilder.type(type.let(ArtifactType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.CloudFormationStackArtifact = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/EnvironmentPlaceholders.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/EnvironmentPlaceholders.kt index 72822f6c07..0789ff1e80 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/EnvironmentPlaceholders.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/EnvironmentPlaceholders.kt @@ -41,7 +41,7 @@ public open class EnvironmentPlaceholders( public fun replace(`object`: Any, values: EnvironmentPlaceholderValues): Any = software.amazon.awscdk.cxapi.EnvironmentPlaceholders.replace(`object`, - values.let(EnvironmentPlaceholderValues::unwrap)) + values.let(EnvironmentPlaceholderValues.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("785e3c820271672ee7ab806f3653d017d158b5caa7cafba34113e206fe0f8e00") @@ -50,7 +50,7 @@ public open class EnvironmentPlaceholders( public fun replaceAsync(`object`: Any, provider: IEnvironmentPlaceholderProvider): Any = software.amazon.awscdk.cxapi.EnvironmentPlaceholders.replaceAsync(`object`, - provider.let(IEnvironmentPlaceholderProvider::unwrap)) + provider.let(IEnvironmentPlaceholderProvider.Companion::unwrap)) internal fun wrap(cdkObject: software.amazon.awscdk.cxapi.EnvironmentPlaceholders): EnvironmentPlaceholders = EnvironmentPlaceholders(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/LoadBalancerContextResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/LoadBalancerContextResponse.kt index bd0e6bb427..35624433ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/LoadBalancerContextResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/LoadBalancerContextResponse.kt @@ -108,7 +108,7 @@ public interface LoadBalancerContextResponse { * @param ipAddressType Type of IP address. */ override fun ipAddressType(ipAddressType: LoadBalancerIpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(LoadBalancerIpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(LoadBalancerIpAddressType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/MetadataEntryResult.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/MetadataEntryResult.kt index 69f8a12eb3..3ae29b6bc7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/MetadataEntryResult.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/MetadataEntryResult.kt @@ -117,7 +117,7 @@ public interface MetadataEntryResult : MetadataEntry { * @param data The data. */ override fun `data`(`data`: FileAssetMetadataEntry) { - cdkBuilder.`data`(`data`.let(FileAssetMetadataEntry::unwrap)) + cdkBuilder.`data`(`data`.let(FileAssetMetadataEntry.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface MetadataEntryResult : MetadataEntry { * @param data The data. */ override fun `data`(`data`: ContainerImageAssetMetadataEntry) { - cdkBuilder.`data`(`data`.let(ContainerImageAssetMetadataEntry::unwrap)) + cdkBuilder.`data`(`data`.let(ContainerImageAssetMetadataEntry.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface MetadataEntryResult : MetadataEntry { * @param data The data. */ override fun `data`(`data`: List) { - cdkBuilder.`data`(`data`.map(Tag::unwrap)) + cdkBuilder.`data`(`data`.map(Tag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/NestedCloudAssemblyArtifact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/NestedCloudAssemblyArtifact.kt index 7fc2aba8c4..4d34a99914 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/NestedCloudAssemblyArtifact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/NestedCloudAssemblyArtifact.kt @@ -78,8 +78,8 @@ public open class NestedCloudAssemblyArtifact( name: String, artifact: ArtifactManifest, ) : - this(software.amazon.awscdk.cxapi.NestedCloudAssemblyArtifact(assembly.let(CloudAssembly::unwrap), - name, artifact.let(ArtifactManifest::unwrap)) + this(software.amazon.awscdk.cxapi.NestedCloudAssemblyArtifact(assembly.let(CloudAssembly.Companion::unwrap), + name, artifact.let(ArtifactManifest.Companion::unwrap)) ) public constructor( @@ -310,7 +310,7 @@ public open class NestedCloudAssemblyArtifact( * @param metadata Associated metadata. */ override fun metadata(metadata: Map>) { - cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry::unwrap) }) + cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry.Companion::unwrap) }) } /** @@ -321,7 +321,7 @@ public open class NestedCloudAssemblyArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AwsCloudFormationStackProperties) { - cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties::unwrap)) + cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public open class NestedCloudAssemblyArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AssetManifestProperties) { - cdkBuilder.properties(properties.let(AssetManifestProperties::unwrap)) + cdkBuilder.properties(properties.let(AssetManifestProperties.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class NestedCloudAssemblyArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: TreeArtifactProperties) { - cdkBuilder.properties(properties.let(TreeArtifactProperties::unwrap)) + cdkBuilder.properties(properties.let(TreeArtifactProperties.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class NestedCloudAssemblyArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: NestedCloudAssemblyProperties) { - cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties::unwrap)) + cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class NestedCloudAssemblyArtifact( * @param type The type of artifact. */ override fun type(type: ArtifactType) { - cdkBuilder.type(type.let(ArtifactType::unwrap)) + cdkBuilder.type(type.let(ArtifactType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.NestedCloudAssemblyArtifact = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/SynthesisMessage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/SynthesisMessage.kt index 9748ca8b9c..c002154bfa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/SynthesisMessage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/SynthesisMessage.kt @@ -81,7 +81,7 @@ public interface SynthesisMessage { * @param entry the value to be set. */ override fun entry(entry: MetadataEntry) { - cdkBuilder.entry(entry.let(MetadataEntry::unwrap)) + cdkBuilder.entry(entry.let(MetadataEntry.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public interface SynthesisMessage { * @param level the value to be set. */ override fun level(level: SynthesisMessageLevel) { - cdkBuilder.level(level.let(SynthesisMessageLevel::unwrap)) + cdkBuilder.level(level.let(SynthesisMessageLevel.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.SynthesisMessage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/TreeCloudArtifact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/TreeCloudArtifact.kt index eb50bf5a76..f1f6b4ef39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/TreeCloudArtifact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/TreeCloudArtifact.kt @@ -74,8 +74,9 @@ public open class TreeCloudArtifact( assembly: CloudAssembly, name: String, artifact: ArtifactManifest, - ) : this(software.amazon.awscdk.cxapi.TreeCloudArtifact(assembly.let(CloudAssembly::unwrap), name, - artifact.let(ArtifactManifest::unwrap)) + ) : + this(software.amazon.awscdk.cxapi.TreeCloudArtifact(assembly.let(CloudAssembly.Companion::unwrap), + name, artifact.let(ArtifactManifest.Companion::unwrap)) ) public constructor( @@ -290,7 +291,7 @@ public open class TreeCloudArtifact( * @param metadata Associated metadata. */ override fun metadata(metadata: Map>) { - cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry::unwrap) }) + cdkBuilder.metadata(metadata.mapValues{it.value.map(MetadataEntry.Companion::unwrap) }) } /** @@ -301,7 +302,7 @@ public open class TreeCloudArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AwsCloudFormationStackProperties) { - cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties::unwrap)) + cdkBuilder.properties(properties.let(AwsCloudFormationStackProperties.Companion::unwrap)) } /** @@ -324,7 +325,7 @@ public open class TreeCloudArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: AssetManifestProperties) { - cdkBuilder.properties(properties.let(AssetManifestProperties::unwrap)) + cdkBuilder.properties(properties.let(AssetManifestProperties.Companion::unwrap)) } /** @@ -347,7 +348,7 @@ public open class TreeCloudArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: TreeArtifactProperties) { - cdkBuilder.properties(properties.let(TreeArtifactProperties::unwrap)) + cdkBuilder.properties(properties.let(TreeArtifactProperties.Companion::unwrap)) } /** @@ -370,7 +371,7 @@ public open class TreeCloudArtifact( * @param properties The set of properties for this artifact (depends on type). */ override fun properties(properties: NestedCloudAssemblyProperties) { - cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties::unwrap)) + cdkBuilder.properties(properties.let(NestedCloudAssemblyProperties.Companion::unwrap)) } /** @@ -391,7 +392,7 @@ public open class TreeCloudArtifact( * @param type The type of artifact. */ override fun type(type: ArtifactType) { - cdkBuilder.type(type.let(ArtifactType::unwrap)) + cdkBuilder.type(type.let(ArtifactType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.TreeCloudArtifact = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcContextResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcContextResponse.kt index 4022b5c904..2de53a1a1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcContextResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcContextResponse.kt @@ -509,7 +509,7 @@ public interface VpcContextResponse { * is true. */ override fun subnetGroups(subnetGroups: List) { - cdkBuilder.subnetGroups(subnetGroups.map(VpcSubnetGroup::unwrap)) + cdkBuilder.subnetGroups(subnetGroups.map(VpcSubnetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcSubnetGroup.kt index a2cc04686e..74051bf113 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/cxapi/VpcSubnetGroup.kt @@ -102,7 +102,7 @@ public interface VpcSubnetGroup { * in the group. */ override fun subnets(subnets: List) { - cdkBuilder.subnets(subnets.map(VpcSubnet::unwrap)) + cdkBuilder.subnets(subnets.map(VpcSubnet.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public interface VpcSubnetGroup { * @param type The type of the subnet group. */ override fun type(type: VpcSubnetGroupType) { - cdkBuilder.type(type.let(VpcSubnetGroupType::unwrap)) + cdkBuilder.type(type.let(VpcSubnetGroupType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.cxapi.VpcSubnetGroup = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambda/layer/node/proxy/agent/NodeProxyAgentLayer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambda/layer/node/proxy/agent/NodeProxyAgentLayer.kt index de6fd06f4f..1312030b39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambda/layer/node/proxy/agent/NodeProxyAgentLayer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambda/layer/node/proxy/agent/NodeProxyAgentLayer.kt @@ -22,7 +22,7 @@ public open class NodeProxyAgentLayer( cdkObject: software.amazon.awscdk.lambda.layer.node.proxy.agent.NodeProxyAgentLayer, ) : LayerVersion(cdkObject) { public constructor(scope: Construct, id: String) : - this(software.amazon.awscdk.lambda.layer.node.proxy.agent.NodeProxyAgentLayer(scope.let(Construct::unwrap), + this(software.amazon.awscdk.lambda.layer.node.proxy.agent.NodeProxyAgentLayer(scope.let(Construct.Companion::unwrap), id) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/awscli/AwsCliLayer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/awscli/AwsCliLayer.kt index 60b017f699..9936c7b3aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/awscli/AwsCliLayer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/awscli/AwsCliLayer.kt @@ -22,7 +22,8 @@ public open class AwsCliLayer( cdkObject: software.amazon.awscdk.lambdalayer.awscli.AwsCliLayer, ) : LayerVersion(cdkObject) { public constructor(scope: Construct, id: String) : - this(software.amazon.awscdk.lambdalayer.awscli.AwsCliLayer(scope.let(Construct::unwrap), id) + this(software.amazon.awscdk.lambdalayer.awscli.AwsCliLayer(scope.let(Construct.Companion::unwrap), + id) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/kubectl/KubectlLayer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/kubectl/KubectlLayer.kt index 7fefee74fe..36ac7fb3eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/kubectl/KubectlLayer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/lambdalayer/kubectl/KubectlLayer.kt @@ -22,7 +22,8 @@ public open class KubectlLayer( cdkObject: software.amazon.awscdk.lambdalayer.kubectl.KubectlLayer, ) : LayerVersion(cdkObject) { public constructor(scope: Construct, id: String) : - this(software.amazon.awscdk.lambdalayer.kubectl.KubectlLayer(scope.let(Construct::unwrap), id) + this(software.amazon.awscdk.lambdalayer.kubectl.KubectlLayer(scope.let(Construct.Companion::unwrap), + id) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/AddStageOpts.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/AddStageOpts.kt index c52be523b4..0d56343bff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/AddStageOpts.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/AddStageOpts.kt @@ -96,7 +96,7 @@ public interface AddStageOpts { * @param post Additional steps to run after all of the stacks in the stage. */ override fun post(post: List) { - cdkBuilder.post(post.map(Step::unwrap)) + cdkBuilder.post(post.map(Step.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface AddStageOpts { * @param pre Additional steps to run before any of the stacks in the stage. */ override fun pre(pre: List) { - cdkBuilder.pre(pre.map(Step::unwrap)) + cdkBuilder.pre(pre.map(Step.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface AddStageOpts { * @param stackSteps Instructions for stack level steps. */ override fun stackSteps(stackSteps: List) { - cdkBuilder.stackSteps(stackSteps.map(StackSteps::unwrap)) + cdkBuilder.stackSteps(stackSteps.map(StackSteps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ArtifactMap.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ArtifactMap.kt index dd1230b096..968174a126 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ArtifactMap.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ArtifactMap.kt @@ -29,7 +29,7 @@ public open class ArtifactMap( * @param x */ public open fun toCodePipeline(x: FileSet): Artifact = - unwrap(this).toCodePipeline(x.let(FileSet::unwrap)).let(Artifact::wrap) + unwrap(this).toCodePipeline(x.let(FileSet.Companion::unwrap)).let(Artifact::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.pipelines.ArtifactMap): ArtifactMap = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildOptions.kt index aea326a48a..c5c571ce68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildOptions.kt @@ -272,7 +272,7 @@ public interface CodeBuildOptions { * environments that apply. */ override fun buildEnvironment(buildEnvironment: BuildEnvironment) { - cdkBuilder.buildEnvironment(buildEnvironment.let(BuildEnvironment::unwrap)) + cdkBuilder.buildEnvironment(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CodeBuildOptions { * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface CodeBuildOptions { * Requires a vpc to be set and privileged to be set to true. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface CodeBuildOptions { * A CodeBuild project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -335,14 +335,14 @@ public interface CodeBuildOptions { * on disk. */ override fun partialBuildSpec(partialBuildSpec: BuildSpec) { - cdkBuilder.partialBuildSpec(partialBuildSpec.let(BuildSpec::unwrap)) + cdkBuilder.partialBuildSpec(partialBuildSpec.let(BuildSpec.Companion::unwrap)) } /** * @param rolePolicy Policy statements to add to role. */ override fun rolePolicy(rolePolicy: List) { - cdkBuilder.rolePolicy(rolePolicy.map(PolicyStatement::unwrap)) + cdkBuilder.rolePolicy(rolePolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface CodeBuildOptions { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface CodeBuildOptions { * Only used if 'vpc' is supplied. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -392,14 +392,14 @@ public interface CodeBuildOptions { * CodeBuild User Guide. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param vpc The VPC where to create the CodeBuild network interfaces in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.CodeBuildOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStep.kt index d87c050a4b..3b3194885b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStep.kt @@ -69,7 +69,8 @@ public open class CodeBuildStep( cdkObject: software.amazon.awscdk.pipelines.CodeBuildStep, ) : ShellStep(cdkObject) { public constructor(id: String, props: CodeBuildStepProps) : - this(software.amazon.awscdk.pipelines.CodeBuildStep(id, props.let(CodeBuildStepProps::unwrap)) + this(software.amazon.awscdk.pipelines.CodeBuildStep(id, + props.let(CodeBuildStepProps.Companion::unwrap)) ) public constructor(id: String, props: CodeBuildStepProps.Builder.() -> Unit) : this(id, @@ -582,7 +583,7 @@ public open class CodeBuildStep( * @param actionRole Custom execution role to be used for the Code Build Action. */ override fun actionRole(actionRole: IRole) { - cdkBuilder.actionRole(actionRole.let(IRole::unwrap)) + cdkBuilder.actionRole(actionRole.let(IRole.Companion::unwrap)) } /** @@ -624,7 +625,7 @@ public open class CodeBuildStep( * @param buildEnvironment Changes to environment. */ override fun buildEnvironment(buildEnvironment: BuildEnvironment) { - cdkBuilder.buildEnvironment(buildEnvironment.let(BuildEnvironment::unwrap)) + cdkBuilder.buildEnvironment(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -650,7 +651,7 @@ public open class CodeBuildStep( * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -708,7 +709,7 @@ public open class CodeBuildStep( * @param fileSystemLocations ProjectFileSystemLocation objects for CodeBuild build projects. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -737,7 +738,7 @@ public open class CodeBuildStep( * @param input FileSet to run these scripts on. */ override fun input(input: IFileSetProducer) { - cdkBuilder.input(input.let(IFileSetProducer::unwrap)) + cdkBuilder.input(input.let(IFileSetProducer.Companion::unwrap)) } /** @@ -777,7 +778,7 @@ public open class CodeBuildStep( * @param logging Information about logs for CodeBuild projects. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -812,7 +813,7 @@ public open class CodeBuildStep( * @param partialBuildSpec Additional configuration that can only be configured via BuildSpec. */ override fun partialBuildSpec(partialBuildSpec: BuildSpec) { - cdkBuilder.partialBuildSpec(partialBuildSpec.let(BuildSpec::unwrap)) + cdkBuilder.partialBuildSpec(partialBuildSpec.let(BuildSpec.Companion::unwrap)) } /** @@ -848,7 +849,7 @@ public open class CodeBuildStep( * @param role Custom execution role to be used for the CodeBuild project. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -861,7 +862,7 @@ public open class CodeBuildStep( * @param rolePolicyStatements Policy statements to add to role used during the synth. */ override fun rolePolicyStatements(rolePolicyStatements: List) { - cdkBuilder.rolePolicyStatements(rolePolicyStatements.map(PolicyStatement::unwrap)) + cdkBuilder.rolePolicyStatements(rolePolicyStatements.map(PolicyStatement.Companion::unwrap)) } /** @@ -889,7 +890,7 @@ public open class CodeBuildStep( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -917,7 +918,7 @@ public open class CodeBuildStep( * @param subnetSelection Which subnets to use. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -946,7 +947,7 @@ public open class CodeBuildStep( * complete. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -957,7 +958,7 @@ public open class CodeBuildStep( * @param vpc The VPC where to execute the SimpleSynth. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.CodeBuildStep = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStepProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStepProps.kt index fcb59510ae..6803bbb045 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStepProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeBuildStepProps.kt @@ -407,7 +407,7 @@ public interface CodeBuildStepProps : ShellStepProps { * @param actionRole Custom execution role to be used for the Code Build Action. */ override fun actionRole(actionRole: IRole) { - cdkBuilder.actionRole(actionRole.let(IRole::unwrap)) + cdkBuilder.actionRole(actionRole.let(IRole.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface CodeBuildStepProps : ShellStepProps { * environment. */ override fun buildEnvironment(buildEnvironment: BuildEnvironment) { - cdkBuilder.buildEnvironment(buildEnvironment.let(BuildEnvironment::unwrap)) + cdkBuilder.buildEnvironment(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface CodeBuildStepProps : ShellStepProps { * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public interface CodeBuildStepProps : ShellStepProps { * and type of a file system created using Amazon Elastic File System. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public interface CodeBuildStepProps : ShellStepProps { * to other directories as well. */ override fun input(input: IFileSetProducer) { - cdkBuilder.input(input.let(IFileSetProducer::unwrap)) + cdkBuilder.input(input.let(IFileSetProducer.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface CodeBuildStepProps : ShellStepProps { * A CodeBuild project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public interface CodeBuildStepProps : ShellStepProps { * on disk. */ override fun partialBuildSpec(partialBuildSpec: BuildSpec) { - cdkBuilder.partialBuildSpec(partialBuildSpec.let(BuildSpec::unwrap)) + cdkBuilder.partialBuildSpec(partialBuildSpec.let(BuildSpec.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public interface CodeBuildStepProps : ShellStepProps { * @param role Custom execution role to be used for the CodeBuild project. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface CodeBuildStepProps : ShellStepProps { * Can be used to add acces to a CodeArtifact repository etc. */ override fun rolePolicyStatements(rolePolicyStatements: List) { - cdkBuilder.rolePolicyStatements(rolePolicyStatements.map(PolicyStatement::unwrap)) + cdkBuilder.rolePolicyStatements(rolePolicyStatements.map(PolicyStatement.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public interface CodeBuildStepProps : ShellStepProps { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public interface CodeBuildStepProps : ShellStepProps { * Only used if 'vpc' is supplied. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -651,14 +651,14 @@ public interface CodeBuildStepProps : ShellStepProps { * CodeBuild User Guide. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param vpc The VPC where to execute the SimpleSynth. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.CodeBuildStepProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeCommitSourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeCommitSourceOptions.kt index 2e465290a6..9d6e9d4f7d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeCommitSourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodeCommitSourceOptions.kt @@ -130,14 +130,14 @@ public interface CodeCommitSourceOptions { * Used only when trigger value is CodeCommitTrigger.EVENTS. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** * @param trigger How should CodePipeline detect source changes for this Action. */ override fun trigger(trigger: CodeCommitTrigger) { - cdkBuilder.trigger(trigger.let(CodeCommitTrigger::unwrap)) + cdkBuilder.trigger(trigger.let(CodeCommitTrigger.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.CodeCommitSourceOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipeline.kt index e5d7595854..b0b00abc65 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipeline.kt @@ -52,8 +52,8 @@ public open class CodePipeline( id: String, props: CodePipelineProps, ) : - this(software.amazon.awscdk.pipelines.CodePipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CodePipelineProps::unwrap)) + this(software.amazon.awscdk.pipelines.CodePipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CodePipelineProps.Companion::unwrap)) ) public constructor( @@ -446,7 +446,7 @@ public open class CodePipeline( * @param artifactBucket An existing S3 Bucket to use for storing the pipeline's artifact. */ override fun artifactBucket(artifactBucket: IBucket) { - cdkBuilder.artifactBucket(artifactBucket.let(IBucket::unwrap)) + cdkBuilder.artifactBucket(artifactBucket.let(IBucket.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CodePipeline( */ override fun assetPublishingCodeBuildDefaults(assetPublishingCodeBuildDefaults: CodeBuildOptions) { - cdkBuilder.assetPublishingCodeBuildDefaults(assetPublishingCodeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.assetPublishingCodeBuildDefaults(assetPublishingCodeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CodePipeline( * @param codeBuildDefaults Customize the CodeBuild projects created for this pipeline. */ override fun codeBuildDefaults(codeBuildDefaults: CodeBuildOptions) { - cdkBuilder.codeBuildDefaults(codeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.codeBuildDefaults(codeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CodePipeline( * @param codePipeline An existing Pipeline to be reused and built upon. */ override fun codePipeline(codePipeline: Pipeline) { - cdkBuilder.codePipeline(codePipeline.let(Pipeline::unwrap)) + cdkBuilder.codePipeline(codePipeline.let(Pipeline.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CodePipeline( * @param dockerCredentials A list of credentials used to authenticate to Docker registries. */ override fun dockerCredentials(dockerCredentials: List) { - cdkBuilder.dockerCredentials(dockerCredentials.map(DockerCredential::unwrap)) + cdkBuilder.dockerCredentials(dockerCredentials.map(DockerCredential.Companion::unwrap)) } /** @@ -718,7 +718,7 @@ public open class CodePipeline( * @param role The IAM role to be assumed by this Pipeline. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class CodePipeline( * CodeBuild projects. */ override fun selfMutationCodeBuildDefaults(selfMutationCodeBuildDefaults: CodeBuildOptions) { - cdkBuilder.selfMutationCodeBuildDefaults(selfMutationCodeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.selfMutationCodeBuildDefaults(selfMutationCodeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public open class CodePipeline( * @param synth The build step that produces the CDK Cloud Assembly. */ override fun synth(synth: IFileSetProducer) { - cdkBuilder.synth(synth.let(IFileSetProducer::unwrap)) + cdkBuilder.synth(synth.let(IFileSetProducer.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public open class CodePipeline( * projects. */ override fun synthCodeBuildDefaults(synthCodeBuildDefaults: CodeBuildOptions) { - cdkBuilder.synthCodeBuildDefaults(synthCodeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.synthCodeBuildDefaults(synthCodeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineActionFactoryResult.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineActionFactoryResult.kt index 79274221bb..70f0b64c43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineActionFactoryResult.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineActionFactoryResult.kt @@ -68,7 +68,7 @@ public interface CodePipelineActionFactoryResult { * @param project If a CodeBuild project got created, the project. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineFileSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineFileSet.kt index 7b2fe590b4..58793a955e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineFileSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineFileSet.kt @@ -29,7 +29,7 @@ public open class CodePipelineFileSet( ) : FileSet(cdkObject) { public companion object { public fun fromArtifact(artifact: Artifact): CodePipelineFileSet = - software.amazon.awscdk.pipelines.CodePipelineFileSet.fromArtifact(artifact.let(Artifact::unwrap)).let(CodePipelineFileSet::wrap) + software.amazon.awscdk.pipelines.CodePipelineFileSet.fromArtifact(artifact.let(Artifact.Companion::unwrap)).let(CodePipelineFileSet::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.pipelines.CodePipelineFileSet): CodePipelineFileSet = CodePipelineFileSet(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineProps.kt index 1b14ed3c88..c8b446e9dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineProps.kt @@ -509,7 +509,7 @@ public interface CodePipelineProps { * @param artifactBucket An existing S3 Bucket to use for storing the pipeline's artifact. */ override fun artifactBucket(artifactBucket: IBucket) { - cdkBuilder.artifactBucket(artifactBucket.let(IBucket::unwrap)) + cdkBuilder.artifactBucket(artifactBucket.let(IBucket.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public interface CodePipelineProps { */ override fun assetPublishingCodeBuildDefaults(assetPublishingCodeBuildDefaults: CodeBuildOptions) { - cdkBuilder.assetPublishingCodeBuildDefaults(assetPublishingCodeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.assetPublishingCodeBuildDefaults(assetPublishingCodeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface CodePipelineProps { * @param codeBuildDefaults Customize the CodeBuild projects created for this pipeline. */ override fun codeBuildDefaults(codeBuildDefaults: CodeBuildOptions) { - cdkBuilder.codeBuildDefaults(codeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.codeBuildDefaults(codeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public interface CodePipelineProps { * [disable-awslint:ref-via-interface] */ override fun codePipeline(codePipeline: Pipeline) { - cdkBuilder.codePipeline(codePipeline.let(Pipeline::unwrap)) + cdkBuilder.codePipeline(codePipeline.let(Pipeline.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public interface CodePipelineProps { * assets. */ override fun dockerCredentials(dockerCredentials: List) { - cdkBuilder.dockerCredentials(dockerCredentials.map(DockerCredential::unwrap)) + cdkBuilder.dockerCredentials(dockerCredentials.map(DockerCredential.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public interface CodePipelineProps { * @param role The IAM role to be assumed by this Pipeline. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public interface CodePipelineProps { * CodeBuild projects. */ override fun selfMutationCodeBuildDefaults(selfMutationCodeBuildDefaults: CodeBuildOptions) { - cdkBuilder.selfMutationCodeBuildDefaults(selfMutationCodeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.selfMutationCodeBuildDefaults(selfMutationCodeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public interface CodePipelineProps { * the output directory will automatically be assumed to be `cdk.out`. */ override fun synth(synth: IFileSetProducer) { - cdkBuilder.synth(synth.let(IFileSetProducer::unwrap)) + cdkBuilder.synth(synth.let(IFileSetProducer.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public interface CodePipelineProps { * projects. */ override fun synthCodeBuildDefaults(synthCodeBuildDefaults: CodeBuildOptions) { - cdkBuilder.synthCodeBuildDefaults(synthCodeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.synthCodeBuildDefaults(synthCodeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineSource.kt index 684a6bddb5..6256a57759 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/CodePipelineSource.kt @@ -51,8 +51,9 @@ public abstract class CodePipelineSource( * @param options */ public override fun produceAction(stage: IStage, options: ProduceActionOptions): - CodePipelineActionFactoryResult = unwrap(this).produceAction(stage.let(IStage::unwrap), - options.let(ProduceActionOptions::unwrap)).let(CodePipelineActionFactoryResult::wrap) + CodePipelineActionFactoryResult = + unwrap(this).produceAction(stage.let(IStage.Companion::unwrap), + options.let(ProduceActionOptions.Companion::unwrap)).let(CodePipelineActionFactoryResult::wrap) /** * Create the desired Action and add it to the pipeline. @@ -101,7 +102,7 @@ public abstract class CodePipelineSource( public companion object { public fun codeCommit(repository: CodecommitIRepository, branch: String): CodePipelineSource = - software.amazon.awscdk.pipelines.CodePipelineSource.codeCommit(repository.let(CodecommitIRepository::unwrap), + software.amazon.awscdk.pipelines.CodePipelineSource.codeCommit(repository.let(CodecommitIRepository.Companion::unwrap), branch).let(CodePipelineSource::wrap) public fun codeCommit( @@ -109,8 +110,8 @@ public abstract class CodePipelineSource( branch: String, props: CodeCommitSourceOptions, ): CodePipelineSource = - software.amazon.awscdk.pipelines.CodePipelineSource.codeCommit(repository.let(CodecommitIRepository::unwrap), - branch, props.let(CodeCommitSourceOptions::unwrap)).let(CodePipelineSource::wrap) + software.amazon.awscdk.pipelines.CodePipelineSource.codeCommit(repository.let(CodecommitIRepository.Companion::unwrap), + branch, props.let(CodeCommitSourceOptions.Companion::unwrap)).let(CodePipelineSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af766cc78b4989737e7a0748a86396b6d0feecd91e635d9024e467a20eb6e5d5") @@ -126,7 +127,7 @@ public abstract class CodePipelineSource( props: ConnectionSourceOptions, ): CodePipelineSource = software.amazon.awscdk.pipelines.CodePipelineSource.connection(repoString, branch, - props.let(ConnectionSourceOptions::unwrap)).let(CodePipelineSource::wrap) + props.let(ConnectionSourceOptions.Companion::unwrap)).let(CodePipelineSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9d9d603211ea17d7161ac0aa7e5e9b76bd7f0c848fd45ed175ffc808ae018c0a") @@ -137,11 +138,11 @@ public abstract class CodePipelineSource( ): CodePipelineSource = connection(repoString, branch, ConnectionSourceOptions(props)) public fun ecr(repository: EcrIRepository): CodePipelineSource = - software.amazon.awscdk.pipelines.CodePipelineSource.ecr(repository.let(EcrIRepository::unwrap)).let(CodePipelineSource::wrap) + software.amazon.awscdk.pipelines.CodePipelineSource.ecr(repository.let(EcrIRepository.Companion::unwrap)).let(CodePipelineSource::wrap) public fun ecr(repository: EcrIRepository, props: ECRSourceOptions): CodePipelineSource = - software.amazon.awscdk.pipelines.CodePipelineSource.ecr(repository.let(EcrIRepository::unwrap), - props.let(ECRSourceOptions::unwrap)).let(CodePipelineSource::wrap) + software.amazon.awscdk.pipelines.CodePipelineSource.ecr(repository.let(EcrIRepository.Companion::unwrap), + props.let(ECRSourceOptions.Companion::unwrap)).let(CodePipelineSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e96ebb53741ce049114cc3f224c00542e157bc674aeec23d21a068801a5b1047") @@ -157,7 +158,7 @@ public abstract class CodePipelineSource( branch: String, props: GitHubSourceOptions, ): CodePipelineSource = software.amazon.awscdk.pipelines.CodePipelineSource.gitHub(repoString, - branch, props.let(GitHubSourceOptions::unwrap)).let(CodePipelineSource::wrap) + branch, props.let(GitHubSourceOptions.Companion::unwrap)).let(CodePipelineSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3f1315f192fa22819e71af0bc232ab9d6d3372a72870eae7481282a60759b0a3") @@ -168,7 +169,7 @@ public abstract class CodePipelineSource( ): CodePipelineSource = gitHub(repoString, branch, GitHubSourceOptions(props)) public fun s3(bucket: IBucket, objectKey: String): CodePipelineSource = - software.amazon.awscdk.pipelines.CodePipelineSource.s3(bucket.let(IBucket::unwrap), + software.amazon.awscdk.pipelines.CodePipelineSource.s3(bucket.let(IBucket.Companion::unwrap), objectKey).let(CodePipelineSource::wrap) public fun s3( @@ -176,8 +177,8 @@ public abstract class CodePipelineSource( objectKey: String, props: S3SourceOptions, ): CodePipelineSource = - software.amazon.awscdk.pipelines.CodePipelineSource.s3(bucket.let(IBucket::unwrap), - objectKey, props.let(S3SourceOptions::unwrap)).let(CodePipelineSource::wrap) + software.amazon.awscdk.pipelines.CodePipelineSource.s3(bucket.let(IBucket.Companion::unwrap), + objectKey, props.let(S3SourceOptions.Companion::unwrap)).let(CodePipelineSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("90bdea80b77e041a7961236f18ef831546681ec35644e5142c997418bb03b174") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ConfirmPermissionsBroadening.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ConfirmPermissionsBroadening.kt index 2bfff0f05b..d94e60318f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ConfirmPermissionsBroadening.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ConfirmPermissionsBroadening.kt @@ -31,7 +31,7 @@ public open class ConfirmPermissionsBroadening( ) : Step(cdkObject), ICodePipelineActionFactory { public constructor(id: String, props: PermissionsBroadeningCheckProps) : this(software.amazon.awscdk.pipelines.ConfirmPermissionsBroadening(id, - props.let(PermissionsBroadeningCheckProps::unwrap)) + props.let(PermissionsBroadeningCheckProps.Companion::unwrap)) ) public constructor(id: String, props: PermissionsBroadeningCheckProps.Builder.() -> Unit) : @@ -45,8 +45,9 @@ public open class ConfirmPermissionsBroadening( * @param options */ public override fun produceAction(stage: IStage, options: ProduceActionOptions): - CodePipelineActionFactoryResult = unwrap(this).produceAction(stage.let(IStage::unwrap), - options.let(ProduceActionOptions::unwrap)).let(CodePipelineActionFactoryResult::wrap) + CodePipelineActionFactoryResult = + unwrap(this).produceAction(stage.let(IStage.Companion::unwrap), + options.let(ProduceActionOptions.Companion::unwrap)).let(CodePipelineActionFactoryResult::wrap) /** * Create the desired Action and add it to the pipeline. @@ -100,7 +101,7 @@ public open class ConfirmPermissionsBroadening( * confirmation. */ override fun notificationTopic(notificationTopic: ITopic) { - cdkBuilder.notificationTopic(notificationTopic.let(ITopic::unwrap)) + cdkBuilder.notificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -111,7 +112,7 @@ public open class ConfirmPermissionsBroadening( * @param stage The CDK Stage object to check the stacks of. */ override fun stage(stage: Stage) { - cdkBuilder.stage(stage.let(Stage::unwrap)) + cdkBuilder.stage(stage.let(Stage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.ConfirmPermissionsBroadening = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/DockerCredential.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/DockerCredential.kt index 30109610a2..a21e2e0fb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/DockerCredential.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/DockerCredential.kt @@ -49,8 +49,8 @@ public abstract class DockerCredential( * @param usage */ public open fun grantRead(grantee: IGrantable, usage: DockerCredentialUsage) { - unwrap(this).grantRead(grantee.let(IGrantable::unwrap), - usage.let(DockerCredentialUsage::unwrap)) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap), + usage.let(DockerCredentialUsage.Companion::unwrap)) } private class Wrapper( @@ -60,7 +60,7 @@ public abstract class DockerCredential( public companion object { public fun customRegistry(registryDomain: String, secret: ISecret): DockerCredential = software.amazon.awscdk.pipelines.DockerCredential.customRegistry(registryDomain, - secret.let(ISecret::unwrap)).let(DockerCredential::wrap) + secret.let(ISecret.Companion::unwrap)).let(DockerCredential::wrap) public fun customRegistry( registryDomain: String, @@ -68,8 +68,8 @@ public abstract class DockerCredential( opts: ExternalDockerCredentialOptions, ): DockerCredential = software.amazon.awscdk.pipelines.DockerCredential.customRegistry(registryDomain, - secret.let(ISecret::unwrap), - opts.let(ExternalDockerCredentialOptions::unwrap)).let(DockerCredential::wrap) + secret.let(ISecret.Companion::unwrap), + opts.let(ExternalDockerCredentialOptions.Companion::unwrap)).let(DockerCredential::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d23b4beaac37ca90eba5e8b4970534cb3083b04cb66ab2904b29d2e823359bab") @@ -81,11 +81,11 @@ public abstract class DockerCredential( ExternalDockerCredentialOptions(opts)) public fun dockerHub(secret: ISecret): DockerCredential = - software.amazon.awscdk.pipelines.DockerCredential.dockerHub(secret.let(ISecret::unwrap)).let(DockerCredential::wrap) + software.amazon.awscdk.pipelines.DockerCredential.dockerHub(secret.let(ISecret.Companion::unwrap)).let(DockerCredential::wrap) public fun dockerHub(secret: ISecret, opts: ExternalDockerCredentialOptions): DockerCredential = - software.amazon.awscdk.pipelines.DockerCredential.dockerHub(secret.let(ISecret::unwrap), - opts.let(ExternalDockerCredentialOptions::unwrap)).let(DockerCredential::wrap) + software.amazon.awscdk.pipelines.DockerCredential.dockerHub(secret.let(ISecret.Companion::unwrap), + opts.let(ExternalDockerCredentialOptions.Companion::unwrap)).let(DockerCredential::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fceff65d9006bae8da325e7db5e800e46cfb33e4cda44ab3401e4f7a40d62fd4") @@ -93,14 +93,14 @@ public abstract class DockerCredential( DockerCredential = dockerHub(secret, ExternalDockerCredentialOptions(opts)) public fun ecr(repositories: List): DockerCredential = - software.amazon.awscdk.pipelines.DockerCredential.ecr(repositories.map(IRepository::unwrap)).let(DockerCredential::wrap) + software.amazon.awscdk.pipelines.DockerCredential.ecr(repositories.map(IRepository.Companion::unwrap)).let(DockerCredential::wrap) public fun ecr(vararg repositories: IRepository): DockerCredential = ecr(repositories.toList()) public fun ecr(repositories: List, opts: EcrDockerCredentialOptions): DockerCredential = - software.amazon.awscdk.pipelines.DockerCredential.ecr(repositories.map(IRepository::unwrap), - opts.let(EcrDockerCredentialOptions::unwrap)).let(DockerCredential::wrap) + software.amazon.awscdk.pipelines.DockerCredential.ecr(repositories.map(IRepository.Companion::unwrap), + opts.let(EcrDockerCredentialOptions.Companion::unwrap)).let(DockerCredential::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7210c36c19d1476ed348714034975fa320f5ef4bc6e62a69e366bb36f7999461") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/EcrDockerCredentialOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/EcrDockerCredentialOptions.kt index 27eaa7ca38..bc7932efd5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/EcrDockerCredentialOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/EcrDockerCredentialOptions.kt @@ -73,7 +73,7 @@ public interface EcrDockerCredentialOptions { * @param assumeRole An IAM role to assume prior to accessing the secret. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public interface EcrDockerCredentialOptions { * credentials. */ override fun usages(usages: List) { - cdkBuilder.usages(usages.map(DockerCredentialUsage::unwrap)) + cdkBuilder.usages(usages.map(DockerCredentialUsage.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ExternalDockerCredentialOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ExternalDockerCredentialOptions.kt index 2218c42d12..1e1c23aec5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ExternalDockerCredentialOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ExternalDockerCredentialOptions.kt @@ -95,7 +95,7 @@ public interface ExternalDockerCredentialOptions { * @param assumeRole An IAM role to assume prior to accessing the secret. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface ExternalDockerCredentialOptions { * credentials. */ override fun usages(usages: List) { - cdkBuilder.usages(usages.map(DockerCredentialUsage::unwrap)) + cdkBuilder.usages(usages.map(DockerCredentialUsage.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSet.kt index 5f2056037b..95e149f3c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSet.kt @@ -50,7 +50,7 @@ public open class FileSet( ) public constructor(id: String, producer: Step) : this(software.amazon.awscdk.pipelines.FileSet(id, - producer.let(Step::unwrap)) + producer.let(Step.Companion::unwrap)) ) /** @@ -85,7 +85,7 @@ public open class FileSet( * @param producer */ public open fun producedBy(producer: Step) { - unwrap(this).producedBy(producer.let(Step::unwrap)) + unwrap(this).producedBy(producer.let(Step.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSetLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSetLocation.kt index 1f5259d7bc..5b75e61eac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSetLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/FileSetLocation.kt @@ -66,7 +66,7 @@ public interface FileSetLocation { * @param fileSet The FileSet object. */ override fun fileSet(fileSet: FileSet) { - cdkBuilder.fileSet(fileSet.let(FileSet::unwrap)) + cdkBuilder.fileSet(fileSet.let(FileSet.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.FileSetLocation = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/GitHubSourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/GitHubSourceOptions.kt index 35f08f4d8e..8fa02f11bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/GitHubSourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/GitHubSourceOptions.kt @@ -127,7 +127,7 @@ public interface GitHubSourceOptions { * * **admin:repo_hook** - if you plan to use webhooks (true by default) */ override fun authentication(authentication: SecretValue) { - cdkBuilder.authentication(authentication.let(SecretValue::unwrap)) + cdkBuilder.authentication(authentication.let(SecretValue.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface GitHubSourceOptions { * **admin:repo_hook** scope (in addition to the regular **repo** scope). */ override fun trigger(trigger: GitHubTrigger) { - cdkBuilder.trigger(trigger.let(GitHubTrigger::unwrap)) + cdkBuilder.trigger(trigger.let(GitHubTrigger.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.GitHubSourceOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ICodePipelineActionFactory.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ICodePipelineActionFactory.kt index ceb9c72e94..d52b7076f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ICodePipelineActionFactory.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ICodePipelineActionFactory.kt @@ -50,8 +50,9 @@ public interface ICodePipelineActionFactory { * @param options */ override fun produceAction(stage: IStage, options: ProduceActionOptions): - CodePipelineActionFactoryResult = unwrap(this).produceAction(stage.let(IStage::unwrap), - options.let(ProduceActionOptions::unwrap)).let(CodePipelineActionFactoryResult::wrap) + CodePipelineActionFactoryResult = + unwrap(this).produceAction(stage.let(IStage.Companion::unwrap), + options.let(ProduceActionOptions.Companion::unwrap)).let(CodePipelineActionFactoryResult::wrap) /** * Create the desired Action and add it to the pipeline. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ManualApprovalStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ManualApprovalStep.kt index 7cea213f8d..1e5e8445a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ManualApprovalStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ManualApprovalStep.kt @@ -41,7 +41,7 @@ public open class ManualApprovalStep( public constructor(id: String, props: ManualApprovalStepProps) : this(software.amazon.awscdk.pipelines.ManualApprovalStep(id, - props.let(ManualApprovalStepProps::unwrap)) + props.let(ManualApprovalStepProps.Companion::unwrap)) ) public constructor(id: String, props: ManualApprovalStepProps.Builder.() -> Unit) : this(id, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PermissionsBroadeningCheckProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PermissionsBroadeningCheckProps.kt index 204dd1d48f..a57b6c9699 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PermissionsBroadeningCheckProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PermissionsBroadeningCheckProps.kt @@ -65,7 +65,7 @@ public interface PermissionsBroadeningCheckProps { * confirmation. */ override fun notificationTopic(notificationTopic: ITopic) { - cdkBuilder.notificationTopic(notificationTopic.let(ITopic::unwrap)) + cdkBuilder.notificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -73,7 +73,7 @@ public interface PermissionsBroadeningCheckProps { * This should be the same Stage object you are passing to `addStage()`. */ override fun stage(stage: Stage) { - cdkBuilder.stage(stage.let(Stage::unwrap)) + cdkBuilder.stage(stage.let(Stage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.PermissionsBroadeningCheckProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBase.kt index f9f171caca..31a45929b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBase.kt @@ -40,7 +40,7 @@ public abstract class PipelineBase( * @param options */ public open fun addStage(stage: Stage): StageDeployment = - unwrap(this).addStage(stage.let(Stage::unwrap)).let(StageDeployment::wrap) + unwrap(this).addStage(stage.let(Stage.Companion::unwrap)).let(StageDeployment::wrap) /** * Deploy a single Stage by itself. @@ -53,8 +53,8 @@ public abstract class PipelineBase( * @param options */ public open fun addStage(stage: Stage, options: AddStageOpts): StageDeployment = - unwrap(this).addStage(stage.let(Stage::unwrap), - options.let(AddStageOpts::unwrap)).let(StageDeployment::wrap) + unwrap(this).addStage(stage.let(Stage.Companion::unwrap), + options.let(AddStageOpts.Companion::unwrap)).let(StageDeployment::wrap) /** * Deploy a single Stage by itself. @@ -108,7 +108,7 @@ public abstract class PipelineBase( * @param options */ public open fun addWave(id: String, options: WaveOptions): Wave = unwrap(this).addWave(id, - options.let(WaveOptions::unwrap)).let(Wave::wrap) + options.let(WaveOptions.Companion::unwrap)).let(Wave::wrap) /** * Add a Wave to the pipeline, for deploying multiple Stages in parallel. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBaseProps.kt index 7380c9afea..6112fea90f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/PipelineBaseProps.kt @@ -63,7 +63,7 @@ public interface PipelineBaseProps { * the output directory will automatically be assumed to be `cdk.out`. */ override fun synth(synth: IFileSetProducer) { - cdkBuilder.synth(synth.let(IFileSetProducer::unwrap)) + cdkBuilder.synth(synth.let(IFileSetProducer.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.PipelineBaseProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ProduceActionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ProduceActionOptions.kt index dc4fe6195a..3faf3a95c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ProduceActionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ProduceActionOptions.kt @@ -277,7 +277,7 @@ public interface ProduceActionOptions { * @param artifacts Helper object to translate FileSets to CodePipeline Artifacts. */ override fun artifacts(artifacts: ArtifactMap) { - cdkBuilder.artifacts(artifacts.let(ArtifactMap::unwrap)) + cdkBuilder.artifacts(artifacts.let(ArtifactMap.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public interface ProduceActionOptions { * inherit. */ override fun codeBuildDefaults(codeBuildDefaults: CodeBuildOptions) { - cdkBuilder.codeBuildDefaults(codeBuildDefaults.let(CodeBuildOptions::unwrap)) + cdkBuilder.codeBuildDefaults(codeBuildDefaults.let(CodeBuildOptions.Companion::unwrap)) } /** @@ -315,14 +315,14 @@ public interface ProduceActionOptions { * Artifact passed here. */ override fun fallbackArtifact(fallbackArtifact: Artifact) { - cdkBuilder.fallbackArtifact(fallbackArtifact.let(Artifact::unwrap)) + cdkBuilder.fallbackArtifact(fallbackArtifact.let(Artifact.Companion::unwrap)) } /** * @param pipeline The pipeline the action is being generated for. */ override fun pipeline(pipeline: CodePipeline) { - cdkBuilder.pipeline(pipeline.let(CodePipeline::unwrap)) + cdkBuilder.pipeline(pipeline.let(CodePipeline.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public interface ProduceActionOptions { * @param scope Scope in which to create constructs. */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public interface ProduceActionOptions { * configurations. */ override fun stackOutputsMap(stackOutputsMap: StackOutputsMap) { - cdkBuilder.stackOutputsMap(stackOutputsMap.let(StackOutputsMap::unwrap)) + cdkBuilder.stackOutputsMap(stackOutputsMap.let(StackOutputsMap.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/S3SourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/S3SourceOptions.kt index 641ec6e01d..ebff5f5dbe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/S3SourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/S3SourceOptions.kt @@ -98,7 +98,7 @@ public interface S3SourceOptions { * action. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface S3SourceOptions { * as otherwise the CloudWatch Events will not be emitted. */ override fun trigger(trigger: S3Trigger) { - cdkBuilder.trigger(trigger.let(S3Trigger::unwrap)) + cdkBuilder.trigger(trigger.let(S3Trigger.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.S3SourceOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStep.kt index 3ec1bc4359..4c04215983 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStep.kt @@ -40,7 +40,8 @@ public open class ShellStep( cdkObject: software.amazon.awscdk.pipelines.ShellStep, ) : Step(cdkObject) { public constructor(id: String, props: ShellStepProps) : - this(software.amazon.awscdk.pipelines.ShellStep(id, props.let(ShellStepProps::unwrap)) + this(software.amazon.awscdk.pipelines.ShellStep(id, + props.let(ShellStepProps.Companion::unwrap)) ) public constructor(id: String, props: ShellStepProps.Builder.() -> Unit) : this(id, @@ -336,7 +337,7 @@ public open class ShellStep( * @param input FileSet to run these scripts on. */ override fun input(input: IFileSetProducer) { - cdkBuilder.input(input.let(IFileSetProducer::unwrap)) + cdkBuilder.input(input.let(IFileSetProducer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStepProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStepProps.kt index d38cdb248d..3ef60a95d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStepProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/ShellStepProps.kt @@ -261,7 +261,7 @@ public interface ShellStepProps { * to other directories as well. */ override fun input(input: IFileSetProducer) { - cdkBuilder.input(input.let(IFileSetProducer::unwrap)) + cdkBuilder.input(input.let(IFileSetProducer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackAsset.kt index 4f64bc15f7..bd2dfbfbb1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackAsset.kt @@ -143,7 +143,7 @@ public interface StackAsset { * @param assetType Type of asset to publish. */ override fun assetType(assetType: AssetType) { - cdkBuilder.assetType(assetType.let(AssetType::unwrap)) + cdkBuilder.assetType(assetType.let(AssetType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeployment.kt index 530859bbb3..e303c2018f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeployment.kt @@ -47,7 +47,7 @@ public open class StackDeployment( * @param stackDeployment */ public open fun addStackDependency(stackDeployment: StackDeployment) { - unwrap(this).addStackDependency(stackDeployment.let(StackDeployment::unwrap)) + unwrap(this).addStackDependency(stackDeployment.let(StackDeployment.Companion::unwrap)) } /** @@ -62,8 +62,8 @@ public open class StackDeployment( changeSet: List, post: List, ) { - unwrap(this).addStackSteps(pre.map(Step::unwrap), changeSet.map(Step::unwrap), - post.map(Step::unwrap)) + unwrap(this).addStackSteps(pre.map(Step.Companion::unwrap), + changeSet.map(Step.Companion::unwrap), post.map(Step.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class StackDeployment( public companion object { public fun fromArtifact(stackArtifact: CloudFormationStackArtifact): StackDeployment = - software.amazon.awscdk.pipelines.StackDeployment.fromArtifact(stackArtifact.let(CloudFormationStackArtifact::unwrap)).let(StackDeployment::wrap) + software.amazon.awscdk.pipelines.StackDeployment.fromArtifact(stackArtifact.let(CloudFormationStackArtifact.Companion::unwrap)).let(StackDeployment::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.pipelines.StackDeployment): StackDeployment = StackDeployment(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeploymentProps.kt index 2e05fc75e4..a7439fa926 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackDeploymentProps.kt @@ -204,7 +204,7 @@ public interface StackDeploymentProps { * @param assets Assets referenced by this stack. */ override fun assets(assets: List) { - cdkBuilder.assets(assets.map(StackAsset::unwrap)) + cdkBuilder.assets(assets.map(StackAsset.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputReference.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputReference.kt index a0ee820c7d..87ee1000b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputReference.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputReference.kt @@ -45,7 +45,7 @@ public open class StackOutputReference( * @param stack */ public open fun isProducedBy(stack: StackDeployment): Boolean = - unwrap(this).isProducedBy(stack.let(StackDeployment::unwrap)) + unwrap(this).isProducedBy(stack.let(StackDeployment.Companion::unwrap)) /** * Output name of the producing stack. @@ -59,7 +59,7 @@ public open class StackOutputReference( public companion object { public fun fromCfnOutput(output: CfnOutput): StackOutputReference = - software.amazon.awscdk.pipelines.StackOutputReference.fromCfnOutput(output.let(CfnOutput::unwrap)).let(StackOutputReference::wrap) + software.amazon.awscdk.pipelines.StackOutputReference.fromCfnOutput(output.let(CfnOutput.Companion::unwrap)).let(StackOutputReference::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.pipelines.StackOutputReference): StackOutputReference = StackOutputReference(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputsMap.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputsMap.kt index 410a3db575..83f09b6b39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputsMap.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackOutputsMap.kt @@ -22,7 +22,7 @@ public open class StackOutputsMap( cdkObject: software.amazon.awscdk.pipelines.StackOutputsMap, ) : CdkObject(cdkObject) { public constructor(pipeline: PipelineBase) : - this(software.amazon.awscdk.pipelines.StackOutputsMap(pipeline.let(PipelineBase::unwrap)) + this(software.amazon.awscdk.pipelines.StackOutputsMap(pipeline.let(PipelineBase.Companion::unwrap)) ) /** @@ -31,7 +31,7 @@ public open class StackOutputsMap( * @param x */ public open fun toCodePipeline(x: StackOutputReference): String = - unwrap(this).toCodePipeline(x.let(StackOutputReference::unwrap)) + unwrap(this).toCodePipeline(x.let(StackOutputReference.Companion::unwrap)) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.pipelines.StackOutputsMap): StackOutputsMap diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackSteps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackSteps.kt index 1114dbf6a5..aaa35a6f11 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackSteps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StackSteps.kt @@ -106,7 +106,7 @@ public interface StackSteps { * @param changeSet Steps that execute after stack is prepared but before stack is deployed. */ override fun changeSet(changeSet: List) { - cdkBuilder.changeSet(changeSet.map(Step::unwrap)) + cdkBuilder.changeSet(changeSet.map(Step.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface StackSteps { * @param post Steps that execute after stack is deployed. */ override fun post(post: List) { - cdkBuilder.post(post.map(Step::unwrap)) + cdkBuilder.post(post.map(Step.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public interface StackSteps { * @param pre Steps that execute before stack is prepared. */ override fun pre(pre: List) { - cdkBuilder.pre(pre.map(Step::unwrap)) + cdkBuilder.pre(pre.map(Step.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public interface StackSteps { * @param stack The stack you want the steps to run in. */ override fun stack(stack: Stack) { - cdkBuilder.stack(stack.let(Stack::unwrap)) + cdkBuilder.stack(stack.let(Stack.Companion::unwrap)) } public fun build(): software.amazon.awscdk.pipelines.StackSteps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeployment.kt index bf61b2b62a..e29469d501 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeployment.kt @@ -98,11 +98,11 @@ public open class StageDeployment( public companion object { public fun fromStage(stage: Stage): StageDeployment = - software.amazon.awscdk.pipelines.StageDeployment.fromStage(stage.let(Stage::unwrap)).let(StageDeployment::wrap) + software.amazon.awscdk.pipelines.StageDeployment.fromStage(stage.let(Stage.Companion::unwrap)).let(StageDeployment::wrap) public fun fromStage(stage: Stage, props: StageDeploymentProps): StageDeployment = - software.amazon.awscdk.pipelines.StageDeployment.fromStage(stage.let(Stage::unwrap), - props.let(StageDeploymentProps::unwrap)).let(StageDeployment::wrap) + software.amazon.awscdk.pipelines.StageDeployment.fromStage(stage.let(Stage.Companion::unwrap), + props.let(StageDeploymentProps.Companion::unwrap)).let(StageDeployment::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("adb8fe8c01a9d24e17c91b23a2bc3be56f27bbe509b2b6180d823ec436303095") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeploymentProps.kt index 4a520d1033..7b46d67156 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/StageDeploymentProps.kt @@ -114,7 +114,7 @@ public interface StageDeploymentProps { * @param post Additional steps to run after all of the stacks in the stage. */ override fun post(post: List) { - cdkBuilder.post(post.map(Step::unwrap)) + cdkBuilder.post(post.map(Step.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface StageDeploymentProps { * @param pre Additional steps to run before any of the stacks in the stage. */ override fun pre(pre: List) { - cdkBuilder.pre(pre.map(Step::unwrap)) + cdkBuilder.pre(pre.map(Step.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public interface StageDeploymentProps { * @param stackSteps Instructions for additional steps that are run at the stack level. */ override fun stackSteps(stackSteps: List) { - cdkBuilder.stackSteps(stackSteps.map(StackSteps::unwrap)) + cdkBuilder.stackSteps(stackSteps.map(StackSteps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Step.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Step.kt index 2f064042f2..2089c72a3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Step.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Step.kt @@ -58,7 +58,7 @@ public abstract class Step( * @param step */ public open fun addStepDependency(step: Step) { - unwrap(this).addStepDependency(step.let(Step::unwrap)) + unwrap(this).addStepDependency(step.let(Step.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public abstract class Step( public companion object { public fun sequence(steps: List): List = - software.amazon.awscdk.pipelines.Step.sequence(steps.map(Step::unwrap)).map(Step::wrap) + software.amazon.awscdk.pipelines.Step.sequence(steps.map(Step.Companion::unwrap)).map(Step::wrap) public fun sequence(vararg steps: Step): List = sequence(steps.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Wave.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Wave.kt index 3eced5cf86..6aa343c129 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Wave.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/Wave.kt @@ -34,7 +34,7 @@ public open class Wave( ) public constructor(id: String, props: WaveProps) : this(software.amazon.awscdk.pipelines.Wave(id, - props.let(WaveProps::unwrap)) + props.let(WaveProps.Companion::unwrap)) ) public constructor(id: String, props: WaveProps.Builder.() -> Unit) : this(id, WaveProps(props) @@ -70,7 +70,7 @@ public open class Wave( * @param options */ public open fun addStage(stage: Stage): StageDeployment = - unwrap(this).addStage(stage.let(Stage::unwrap)).let(StageDeployment::wrap) + unwrap(this).addStage(stage.let(Stage.Companion::unwrap)).let(StageDeployment::wrap) /** * Add a Stage to this wave. @@ -82,8 +82,8 @@ public open class Wave( * @param options */ public open fun addStage(stage: Stage, options: AddStageOpts): StageDeployment = - unwrap(this).addStage(stage.let(Stage::unwrap), - options.let(AddStageOpts::unwrap)).let(StageDeployment::wrap) + unwrap(this).addStage(stage.let(Stage.Companion::unwrap), + options.let(AddStageOpts.Companion::unwrap)).let(StageDeployment::wrap) /** * Add a Stage to this wave. @@ -176,7 +176,7 @@ public open class Wave( * @param post Additional steps to run after all of the stages in the wave. */ override fun post(post: List) { - cdkBuilder.post(post.map(Step::unwrap)) + cdkBuilder.post(post.map(Step.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class Wave( * @param pre Additional steps to run before any of the stages in the wave. */ override fun pre(pre: List) { - cdkBuilder.pre(pre.map(Step::unwrap)) + cdkBuilder.pre(pre.map(Step.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveOptions.kt index 324b965566..6f5c465256 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveOptions.kt @@ -88,7 +88,7 @@ public interface WaveOptions { * @param post Additional steps to run after all of the stages in the wave. */ override fun post(post: List) { - cdkBuilder.post(post.map(Step::unwrap)) + cdkBuilder.post(post.map(Step.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public interface WaveOptions { * @param pre Additional steps to run before any of the stages in the wave. */ override fun pre(pre: List) { - cdkBuilder.pre(pre.map(Step::unwrap)) + cdkBuilder.pre(pre.map(Step.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveProps.kt index cf7d73f733..ea13e459c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/pipelines/WaveProps.kt @@ -73,7 +73,7 @@ public interface WaveProps { * @param post Additional steps to run after all of the stages in the wave. */ override fun post(post: List) { - cdkBuilder.post(post.map(Step::unwrap)) + cdkBuilder.post(post.map(Step.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public interface WaveProps { * @param pre Additional steps to run before any of the stages in the wave. */ override fun pre(pre: List) { - cdkBuilder.pre(pre.map(Step::unwrap)) + cdkBuilder.pre(pre.map(Step.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/regioninfo/Fact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/regioninfo/Fact.kt index b27ea33497..124514704b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/regioninfo/Fact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/regioninfo/Fact.kt @@ -36,11 +36,12 @@ public open class Fact( public fun regions(): List = software.amazon.awscdk.regioninfo.Fact.getRegions() public fun register(fact: IFact) { - software.amazon.awscdk.regioninfo.Fact.register(fact.let(IFact::unwrap)) + software.amazon.awscdk.regioninfo.Fact.register(fact.let(IFact.Companion::unwrap)) } public fun register(fact: IFact, allowReplacing: Boolean) { - software.amazon.awscdk.regioninfo.Fact.register(fact.let(IFact::unwrap), allowReplacing) + software.amazon.awscdk.regioninfo.Fact.register(fact.let(IFact.Companion::unwrap), + allowReplacing) } public fun requireFact(region: String, name: String): String = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzer.kt index 822ba75c95..e0c32744b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzer.kt @@ -71,8 +71,8 @@ public open class CfnAnalyzer( id: String, props: CfnAnalyzerProps, ) : - this(software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnalyzerProps::unwrap)) + this(software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnalyzerProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnAnalyzer( * organization or account. */ public open fun analyzerConfiguration(`value`: IResolvable) { - unwrap(this).setAnalyzerConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnalyzerConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -101,7 +101,7 @@ public open class CfnAnalyzer( * organization or account. */ public open fun analyzerConfiguration(`value`: AnalyzerConfigurationProperty) { - unwrap(this).setAnalyzerConfiguration(`value`.let(AnalyzerConfigurationProperty::unwrap)) + unwrap(this).setAnalyzerConfiguration(`value`.let(AnalyzerConfigurationProperty.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnAnalyzer( * Specifies the archive rules to add for the analyzer. */ public open fun archiveRules(`value`: IResolvable) { - unwrap(this).setArchiveRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setArchiveRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnAnalyzer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnAnalyzer( * An array of key-value pairs to apply to the analyzer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnAnalyzer( * analyzer for an AWS organization or account. */ override fun analyzerConfiguration(analyzerConfiguration: IResolvable) { - cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnAnalyzer( * analyzer for an AWS organization or account. */ override fun analyzerConfiguration(analyzerConfiguration: AnalyzerConfigurationProperty) { - cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(AnalyzerConfigurationProperty::unwrap)) + cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(AnalyzerConfigurationProperty.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnAnalyzer( * @param archiveRules Specifies the archive rules to add for the analyzer. */ override fun archiveRules(archiveRules: IResolvable) { - cdkBuilder.archiveRules(archiveRules.let(IResolvable::unwrap)) + cdkBuilder.archiveRules(archiveRules.let(IResolvable.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnAnalyzer( * @param tags An array of key-value pairs to apply to the analyzer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CfnAnalyzer( * External access analyzers do not support any configuration. */ override fun unusedAccessConfiguration(unusedAccessConfiguration: IResolvable) { - cdkBuilder.unusedAccessConfiguration(unusedAccessConfiguration.let(IResolvable::unwrap)) + cdkBuilder.unusedAccessConfiguration(unusedAccessConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnAnalyzer( */ override fun unusedAccessConfiguration(unusedAccessConfiguration: UnusedAccessConfigurationProperty) { - cdkBuilder.unusedAccessConfiguration(unusedAccessConfiguration.let(UnusedAccessConfigurationProperty::unwrap)) + cdkBuilder.unusedAccessConfiguration(unusedAccessConfiguration.let(UnusedAccessConfigurationProperty.Companion::unwrap)) } /** @@ -656,7 +656,7 @@ public open class CfnAnalyzer( * @param filter The criteria for the rule. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public open class CfnAnalyzer( * @param exists An "exists" condition to match for the rule. */ override fun exists(exists: IResolvable) { - cdkBuilder.exists(exists.let(IResolvable::unwrap)) + cdkBuilder.exists(exists.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzerProps.kt index bc576c063d..486c9401d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/accessanalyzer/CfnAnalyzerProps.kt @@ -169,7 +169,7 @@ public interface CfnAnalyzerProps { * analyzer for an AWS organization or account. */ override fun analyzerConfiguration(analyzerConfiguration: IResolvable) { - cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface CfnAnalyzerProps { */ override fun analyzerConfiguration(analyzerConfiguration: CfnAnalyzer.AnalyzerConfigurationProperty) { - cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(CfnAnalyzer.AnalyzerConfigurationProperty::unwrap)) + cdkBuilder.analyzerConfiguration(analyzerConfiguration.let(CfnAnalyzer.AnalyzerConfigurationProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface CfnAnalyzerProps { * Archive rules automatically archive findings that meet the criteria you define for the rule. */ override fun archiveRules(archiveRules: IResolvable) { - cdkBuilder.archiveRules(archiveRules.let(IResolvable::unwrap)) + cdkBuilder.archiveRules(archiveRules.let(IResolvable.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface CfnAnalyzerProps { * @param tags An array of key-value pairs to apply to the analyzer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CertificateAuthority.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CertificateAuthority.kt index 814ba7cbb8..cbdb65b09b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CertificateAuthority.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CertificateAuthority.kt @@ -38,7 +38,7 @@ public open class CertificateAuthority( id: String, certificateAuthorityArn: String, ): ICertificateAuthority = - software.amazon.awscdk.services.acmpca.CertificateAuthority.fromCertificateAuthorityArn(scope.let(Construct::unwrap), + software.amazon.awscdk.services.acmpca.CertificateAuthority.fromCertificateAuthorityArn(scope.let(Construct.Companion::unwrap), id, certificateAuthorityArn).let(ICertificateAuthority::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.acmpca.CertificateAuthority): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificate.kt index bb75138a7b..397640ded2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificate.kt @@ -150,8 +150,8 @@ public open class CfnCertificate( id: String, props: CfnCertificateProps, ) : - this(software.amazon.awscdk.services.acmpca.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProps::unwrap)) + this(software.amazon.awscdk.services.acmpca.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProps.Companion::unwrap)) ) public constructor( @@ -174,7 +174,7 @@ public open class CfnCertificate( * is ignored. */ public open fun apiPassthrough(`value`: IResolvable) { - unwrap(this).setApiPassthrough(`value`.let(IResolvable::unwrap)) + unwrap(this).setApiPassthrough(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnCertificate( * is ignored. */ public open fun apiPassthrough(`value`: ApiPassthroughProperty) { - unwrap(this).setApiPassthrough(`value`.let(ApiPassthroughProperty::unwrap)) + unwrap(this).setApiPassthrough(`value`.let(ApiPassthroughProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -272,14 +272,14 @@ public open class CfnCertificate( * The period of time during which the certificate will be valid. */ public open fun validity(`value`: IResolvable) { - unwrap(this).setValidity(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidity(`value`.let(IResolvable.Companion::unwrap)) } /** * The period of time during which the certificate will be valid. */ public open fun validity(`value`: ValidityProperty) { - unwrap(this).setValidity(`value`.let(ValidityProperty::unwrap)) + unwrap(this).setValidity(`value`.let(ValidityProperty.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public open class CfnCertificate( * Information describing the start of the validity period of the certificate. */ public open fun validityNotBefore(`value`: IResolvable) { - unwrap(this).setValidityNotBefore(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidityNotBefore(`value`.let(IResolvable.Companion::unwrap)) } /** * Information describing the start of the validity period of the certificate. */ public open fun validityNotBefore(`value`: ValidityProperty) { - unwrap(this).setValidityNotBefore(`value`.let(ValidityProperty::unwrap)) + unwrap(this).setValidityNotBefore(`value`.let(ValidityProperty.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnCertificate( * else this parameter is ignored. */ override fun apiPassthrough(apiPassthrough: IResolvable) { - cdkBuilder.apiPassthrough(apiPassthrough.let(IResolvable::unwrap)) + cdkBuilder.apiPassthrough(apiPassthrough.let(IResolvable.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnCertificate( * else this parameter is ignored. */ override fun apiPassthrough(apiPassthrough: ApiPassthroughProperty) { - cdkBuilder.apiPassthrough(apiPassthrough.let(ApiPassthroughProperty::unwrap)) + cdkBuilder.apiPassthrough(apiPassthrough.let(ApiPassthroughProperty.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnCertificate( * @param validity The period of time during which the certificate will be valid. */ override fun validity(validity: IResolvable) { - cdkBuilder.validity(validity.let(IResolvable::unwrap)) + cdkBuilder.validity(validity.let(IResolvable.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class CfnCertificate( * @param validity The period of time during which the certificate will be valid. */ override fun validity(validity: ValidityProperty) { - cdkBuilder.validity(validity.let(ValidityProperty::unwrap)) + cdkBuilder.validity(validity.let(ValidityProperty.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class CfnCertificate( * certificate. */ override fun validityNotBefore(validityNotBefore: IResolvable) { - cdkBuilder.validityNotBefore(validityNotBefore.let(IResolvable::unwrap)) + cdkBuilder.validityNotBefore(validityNotBefore.let(IResolvable.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnCertificate( * certificate. */ override fun validityNotBefore(validityNotBefore: ValidityProperty) { - cdkBuilder.validityNotBefore(validityNotBefore.let(ValidityProperty::unwrap)) + cdkBuilder.validityNotBefore(validityNotBefore.let(ValidityProperty.Companion::unwrap)) } /** @@ -914,14 +914,14 @@ public open class CfnCertificate( * @param extensions Specifies X.509 extension information for a certificate. */ override fun extensions(extensions: IResolvable) { - cdkBuilder.extensions(extensions.let(IResolvable::unwrap)) + cdkBuilder.extensions(extensions.let(IResolvable.Companion::unwrap)) } /** * @param extensions Specifies X.509 extension information for a certificate. */ override fun extensions(extensions: ExtensionsProperty) { - cdkBuilder.extensions(extensions.let(ExtensionsProperty::unwrap)) + cdkBuilder.extensions(extensions.let(ExtensionsProperty.Companion::unwrap)) } /** @@ -940,7 +940,7 @@ public open class CfnCertificate( * names (RDNs). The RDNs are separated by commas in the certificate. */ override fun subject(subject: IResolvable) { - cdkBuilder.subject(subject.let(IResolvable::unwrap)) + cdkBuilder.subject(subject.let(IResolvable.Companion::unwrap)) } /** @@ -951,7 +951,7 @@ public open class CfnCertificate( * names (RDNs). The RDNs are separated by commas in the certificate. */ override fun subject(subject: SubjectProperty) { - cdkBuilder.subject(subject.let(SubjectProperty::unwrap)) + cdkBuilder.subject(subject.let(SubjectProperty.Companion::unwrap)) } /** @@ -1214,7 +1214,7 @@ public open class CfnCertificate( * @param critical Specifies the critical flag of the X.509 extension. */ override fun critical(critical: IResolvable) { - cdkBuilder.critical(critical.let(IResolvable::unwrap)) + cdkBuilder.critical(critical.let(IResolvable.Companion::unwrap)) } /** @@ -1793,7 +1793,7 @@ public open class CfnCertificate( * the set of policies for certification paths that include this certificate. */ override fun certificatePolicies(certificatePolicies: IResolvable) { - cdkBuilder.certificatePolicies(certificatePolicies.let(IResolvable::unwrap)) + cdkBuilder.certificatePolicies(certificatePolicies.let(IResolvable.Companion::unwrap)) } /** @@ -1830,7 +1830,7 @@ public open class CfnCertificate( * database.](https://docs.aws.amazon.com/https://oidref.com/2.5.29). */ override fun customExtensions(customExtensions: IResolvable) { - cdkBuilder.customExtensions(customExtensions.let(IResolvable::unwrap)) + cdkBuilder.customExtensions(customExtensions.let(IResolvable.Companion::unwrap)) } /** @@ -1857,7 +1857,7 @@ public open class CfnCertificate( * may be used other than basic purposes indicated in the `KeyUsage` extension. */ override fun extendedKeyUsage(extendedKeyUsage: IResolvable) { - cdkBuilder.extendedKeyUsage(extendedKeyUsage.let(IResolvable::unwrap)) + cdkBuilder.extendedKeyUsage(extendedKeyUsage.let(IResolvable.Companion::unwrap)) } /** @@ -1881,7 +1881,7 @@ public open class CfnCertificate( * Default value for each option is false. */ override fun keyUsage(keyUsage: IResolvable) { - cdkBuilder.keyUsage(keyUsage.let(IResolvable::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(IResolvable.Companion::unwrap)) } /** @@ -1890,7 +1890,7 @@ public open class CfnCertificate( * Default value for each option is false. */ override fun keyUsage(keyUsage: KeyUsageProperty) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty.Companion::unwrap)) } /** @@ -1910,7 +1910,7 @@ public open class CfnCertificate( * field of the certificate. */ override fun subjectAlternativeNames(subjectAlternativeNames: IResolvable) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable.Companion::unwrap)) } /** @@ -2247,7 +2247,7 @@ public open class CfnCertificate( * one certificate with the same DN to the same entity. */ override fun directoryName(directoryName: IResolvable) { - cdkBuilder.directoryName(directoryName.let(IResolvable::unwrap)) + cdkBuilder.directoryName(directoryName.let(IResolvable.Companion::unwrap)) } /** @@ -2261,7 +2261,7 @@ public open class CfnCertificate( * one certificate with the same DN to the same entity. */ override fun directoryName(directoryName: SubjectProperty) { - cdkBuilder.directoryName(directoryName.let(SubjectProperty::unwrap)) + cdkBuilder.directoryName(directoryName.let(SubjectProperty.Companion::unwrap)) } /** @@ -2290,14 +2290,14 @@ public open class CfnCertificate( * @param ediPartyName Represents `GeneralName` as an `EdiPartyName` object. */ override fun ediPartyName(ediPartyName: IResolvable) { - cdkBuilder.ediPartyName(ediPartyName.let(IResolvable::unwrap)) + cdkBuilder.ediPartyName(ediPartyName.let(IResolvable.Companion::unwrap)) } /** * @param ediPartyName Represents `GeneralName` as an `EdiPartyName` object. */ override fun ediPartyName(ediPartyName: EdiPartyNameProperty) { - cdkBuilder.ediPartyName(ediPartyName.let(EdiPartyNameProperty::unwrap)) + cdkBuilder.ediPartyName(ediPartyName.let(EdiPartyNameProperty.Companion::unwrap)) } /** @@ -2319,14 +2319,14 @@ public open class CfnCertificate( * @param otherName Represents `GeneralName` using an `OtherName` object. */ override fun otherName(otherName: IResolvable) { - cdkBuilder.otherName(otherName.let(IResolvable::unwrap)) + cdkBuilder.otherName(otherName.let(IResolvable.Companion::unwrap)) } /** * @param otherName Represents `GeneralName` using an `OtherName` object. */ override fun otherName(otherName: OtherNameProperty) { - cdkBuilder.otherName(otherName.let(OtherNameProperty::unwrap)) + cdkBuilder.otherName(otherName.let(OtherNameProperty.Companion::unwrap)) } /** @@ -2671,7 +2671,7 @@ public open class CfnCertificate( * @param crlSign Key can be used to sign CRLs. */ override fun crlSign(crlSign: IResolvable) { - cdkBuilder.crlSign(crlSign.let(IResolvable::unwrap)) + cdkBuilder.crlSign(crlSign.let(IResolvable.Companion::unwrap)) } /** @@ -2685,7 +2685,7 @@ public open class CfnCertificate( * @param dataEncipherment Key can be used to decipher data. */ override fun dataEncipherment(dataEncipherment: IResolvable) { - cdkBuilder.dataEncipherment(dataEncipherment.let(IResolvable::unwrap)) + cdkBuilder.dataEncipherment(dataEncipherment.let(IResolvable.Companion::unwrap)) } /** @@ -2699,7 +2699,7 @@ public open class CfnCertificate( * @param decipherOnly Key can be used only to decipher data. */ override fun decipherOnly(decipherOnly: IResolvable) { - cdkBuilder.decipherOnly(decipherOnly.let(IResolvable::unwrap)) + cdkBuilder.decipherOnly(decipherOnly.let(IResolvable.Companion::unwrap)) } /** @@ -2713,7 +2713,7 @@ public open class CfnCertificate( * @param digitalSignature Key can be used for digital signing. */ override fun digitalSignature(digitalSignature: IResolvable) { - cdkBuilder.digitalSignature(digitalSignature.let(IResolvable::unwrap)) + cdkBuilder.digitalSignature(digitalSignature.let(IResolvable.Companion::unwrap)) } /** @@ -2727,7 +2727,7 @@ public open class CfnCertificate( * @param encipherOnly Key can be used only to encipher data. */ override fun encipherOnly(encipherOnly: IResolvable) { - cdkBuilder.encipherOnly(encipherOnly.let(IResolvable::unwrap)) + cdkBuilder.encipherOnly(encipherOnly.let(IResolvable.Companion::unwrap)) } /** @@ -2741,7 +2741,7 @@ public open class CfnCertificate( * @param keyAgreement Key can be used in a key-agreement protocol. */ override fun keyAgreement(keyAgreement: IResolvable) { - cdkBuilder.keyAgreement(keyAgreement.let(IResolvable::unwrap)) + cdkBuilder.keyAgreement(keyAgreement.let(IResolvable.Companion::unwrap)) } /** @@ -2755,7 +2755,7 @@ public open class CfnCertificate( * @param keyCertSign Key can be used to sign certificates. */ override fun keyCertSign(keyCertSign: IResolvable) { - cdkBuilder.keyCertSign(keyCertSign.let(IResolvable::unwrap)) + cdkBuilder.keyCertSign(keyCertSign.let(IResolvable.Companion::unwrap)) } /** @@ -2769,7 +2769,7 @@ public open class CfnCertificate( * @param keyEncipherment Key can be used to encipher data. */ override fun keyEncipherment(keyEncipherment: IResolvable) { - cdkBuilder.keyEncipherment(keyEncipherment.let(IResolvable::unwrap)) + cdkBuilder.keyEncipherment(keyEncipherment.let(IResolvable.Companion::unwrap)) } /** @@ -2783,7 +2783,7 @@ public open class CfnCertificate( * @param nonRepudiation Key can be used for non-repudiation. */ override fun nonRepudiation(nonRepudiation: IResolvable) { - cdkBuilder.nonRepudiation(nonRepudiation.let(IResolvable::unwrap)) + cdkBuilder.nonRepudiation(nonRepudiation.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.acmpca.CfnCertificate.KeyUsageProperty = @@ -3099,7 +3099,7 @@ public open class CfnCertificate( * AWS Private CA supports the certification practice statement (CPS) qualifier. */ override fun policyQualifiers(policyQualifiers: IResolvable) { - cdkBuilder.policyQualifiers(policyQualifiers.let(IResolvable::unwrap)) + cdkBuilder.policyQualifiers(policyQualifiers.let(IResolvable.Companion::unwrap)) } /** @@ -3251,7 +3251,7 @@ public open class CfnCertificate( * AWS Private CA supports the use of a URI for a CPS qualifier in this field. */ override fun qualifier(qualifier: IResolvable) { - cdkBuilder.qualifier(qualifier.let(IResolvable::unwrap)) + cdkBuilder.qualifier(qualifier.let(IResolvable.Companion::unwrap)) } /** @@ -3259,7 +3259,7 @@ public open class CfnCertificate( * AWS Private CA supports the use of a URI for a CPS qualifier in this field. */ override fun qualifier(qualifier: QualifierProperty) { - cdkBuilder.qualifier(qualifier.let(QualifierProperty::unwrap)) + cdkBuilder.qualifier(qualifier.let(QualifierProperty.Companion::unwrap)) } /** @@ -3719,7 +3719,7 @@ public open class CfnCertificate( * Custom attributes cannot be used in combination with standard attributes. */ override fun customAttributes(customAttributes: IResolvable) { - cdkBuilder.customAttributes(customAttributes.let(IResolvable::unwrap)) + cdkBuilder.customAttributes(customAttributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthority.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthority.kt index 424606bcb5..507a7773b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthority.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthority.kt @@ -73,8 +73,8 @@ public open class CfnCertificateAuthority( id: String, props: CfnCertificateAuthorityProps, ) : - this(software.amazon.awscdk.services.acmpca.CfnCertificateAuthority(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateAuthorityProps::unwrap)) + this(software.amazon.awscdk.services.acmpca.CfnCertificateAuthority(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateAuthorityProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnCertificateAuthority( * (CSR). */ public open fun csrExtensions(`value`: IResolvable) { - unwrap(this).setCsrExtensions(`value`.let(IResolvable::unwrap)) + unwrap(this).setCsrExtensions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnCertificateAuthority( * (CSR). */ public open fun csrExtensions(`value`: CsrExtensionsProperty) { - unwrap(this).setCsrExtensions(`value`.let(CsrExtensionsProperty::unwrap)) + unwrap(this).setCsrExtensions(`value`.let(CsrExtensionsProperty.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnCertificateAuthority( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnCertificateAuthority( * Private CA User Guide* . */ public open fun revocationConfiguration(`value`: IResolvable) { - unwrap(this).setRevocationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRevocationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnCertificateAuthority( * Private CA User Guide* . */ public open fun revocationConfiguration(`value`: RevocationConfigurationProperty) { - unwrap(this).setRevocationConfiguration(`value`.let(RevocationConfigurationProperty::unwrap)) + unwrap(this).setRevocationConfiguration(`value`.let(RevocationConfigurationProperty.Companion::unwrap)) } /** @@ -256,14 +256,14 @@ public open class CfnCertificateAuthority( * Structure that contains X.500 distinguished name information for your private CA. */ public open fun subject(`value`: IResolvable) { - unwrap(this).setSubject(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubject(`value`.let(IResolvable.Companion::unwrap)) } /** * Structure that contains X.500 distinguished name information for your private CA. */ public open fun subject(`value`: SubjectProperty) { - unwrap(this).setSubject(`value`.let(SubjectProperty::unwrap)) + unwrap(this).setSubject(`value`.let(SubjectProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnCertificateAuthority( * Key-value pairs that will be attached to the new private CA. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public open class CfnCertificateAuthority( * certificate signing request (CSR). */ override fun csrExtensions(csrExtensions: IResolvable) { - cdkBuilder.csrExtensions(csrExtensions.let(IResolvable::unwrap)) + cdkBuilder.csrExtensions(csrExtensions.let(IResolvable.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnCertificateAuthority( * certificate signing request (CSR). */ override fun csrExtensions(csrExtensions: CsrExtensionsProperty) { - cdkBuilder.csrExtensions(csrExtensions.let(CsrExtensionsProperty::unwrap)) + cdkBuilder.csrExtensions(csrExtensions.let(CsrExtensionsProperty.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class CfnCertificateAuthority( * *AWS Private CA User Guide* . */ override fun revocationConfiguration(revocationConfiguration: IResolvable) { - cdkBuilder.revocationConfiguration(revocationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.revocationConfiguration(revocationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public open class CfnCertificateAuthority( * *AWS Private CA User Guide* . */ override fun revocationConfiguration(revocationConfiguration: RevocationConfigurationProperty) { - cdkBuilder.revocationConfiguration(revocationConfiguration.let(RevocationConfigurationProperty::unwrap)) + cdkBuilder.revocationConfiguration(revocationConfiguration.let(RevocationConfigurationProperty.Companion::unwrap)) } /** @@ -867,7 +867,7 @@ public open class CfnCertificateAuthority( * CA. */ override fun subject(subject: IResolvable) { - cdkBuilder.subject(subject.let(IResolvable::unwrap)) + cdkBuilder.subject(subject.let(IResolvable.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public open class CfnCertificateAuthority( * CA. */ override fun subject(subject: SubjectProperty) { - cdkBuilder.subject(subject.let(SubjectProperty::unwrap)) + cdkBuilder.subject(subject.let(SubjectProperty.Companion::unwrap)) } /** @@ -904,7 +904,7 @@ public open class CfnCertificateAuthority( * @param tags Key-value pairs that will be attached to the new private CA. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1007,8 +1007,9 @@ public open class CfnCertificateAuthority( * .build()) * .dnsName("dnsName") * .ediPartyName(EdiPartyNameProperty.builder() - * .nameAssigner("nameAssigner") * .partyName("partyName") + * // the properties below are optional + * .nameAssigner("nameAssigner") * .build()) * .ipAddress("ipAddress") * .otherName(OtherNameProperty.builder() @@ -1093,14 +1094,14 @@ public open class CfnCertificateAuthority( * @param accessLocation The location of `AccessDescription` information. */ override fun accessLocation(accessLocation: IResolvable) { - cdkBuilder.accessLocation(accessLocation.let(IResolvable::unwrap)) + cdkBuilder.accessLocation(accessLocation.let(IResolvable.Companion::unwrap)) } /** * @param accessLocation The location of `AccessDescription` information. */ override fun accessLocation(accessLocation: GeneralNameProperty) { - cdkBuilder.accessLocation(accessLocation.let(GeneralNameProperty::unwrap)) + cdkBuilder.accessLocation(accessLocation.let(GeneralNameProperty.Companion::unwrap)) } /** @@ -1115,14 +1116,14 @@ public open class CfnCertificateAuthority( * @param accessMethod The type and format of `AccessDescription` information. */ override fun accessMethod(accessMethod: IResolvable) { - cdkBuilder.accessMethod(accessMethod.let(IResolvable::unwrap)) + cdkBuilder.accessMethod(accessMethod.let(IResolvable.Companion::unwrap)) } /** * @param accessMethod The type and format of `AccessDescription` information. */ override fun accessMethod(accessMethod: AccessMethodProperty) { - cdkBuilder.accessMethod(accessMethod.let(AccessMethodProperty::unwrap)) + cdkBuilder.accessMethod(accessMethod.let(AccessMethodProperty.Companion::unwrap)) } /** @@ -1362,11 +1363,12 @@ public open class CfnCertificateAuthority( * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.acmpca.*; * CrlConfigurationProperty crlConfigurationProperty = CrlConfigurationProperty.builder() + * .enabled(false) + * // the properties below are optional * .crlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationProperty.builder() * .omitExtension(false) * .build()) * .customCname("customCname") - * .enabled(false) * .expirationInDays(123) * .s3BucketName("s3BucketName") * .s3ObjectAcl("s3ObjectAcl") @@ -1414,7 +1416,7 @@ public open class CfnCertificateAuthority( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-enabled) */ - public fun enabled(): Any? = unwrap(this).getEnabled() + public fun enabled(): Any /** * Validity period of the CRL in days. @@ -1515,7 +1517,7 @@ public open class CfnCertificateAuthority( /** * @param enabled Boolean value that specifies whether certificate revocation lists (CRLs) are - * enabled. + * enabled. * You can use this value to enable certificate revocation for a new CA when you call the * `CreateCertificateAuthority` operation or for an existing CA when you call the * `UpdateCertificateAuthority` operation. @@ -1524,7 +1526,7 @@ public open class CfnCertificateAuthority( /** * @param enabled Boolean value that specifies whether certificate revocation lists (CRLs) are - * enabled. + * enabled. * You can use this value to enable certificate revocation for a new CA when you call the * `CreateCertificateAuthority` operation or for an existing CA when you call the * `UpdateCertificateAuthority` operation. @@ -1587,7 +1589,7 @@ public open class CfnCertificateAuthority( */ override fun crlDistributionPointExtensionConfiguration(crlDistributionPointExtensionConfiguration: IResolvable) { - cdkBuilder.crlDistributionPointExtensionConfiguration(crlDistributionPointExtensionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.crlDistributionPointExtensionConfiguration(crlDistributionPointExtensionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1598,7 +1600,7 @@ public open class CfnCertificateAuthority( */ override fun crlDistributionPointExtensionConfiguration(crlDistributionPointExtensionConfiguration: CrlDistributionPointExtensionConfigurationProperty) { - cdkBuilder.crlDistributionPointExtensionConfiguration(crlDistributionPointExtensionConfiguration.let(CrlDistributionPointExtensionConfigurationProperty::unwrap)) + cdkBuilder.crlDistributionPointExtensionConfiguration(crlDistributionPointExtensionConfiguration.let(CrlDistributionPointExtensionConfigurationProperty.Companion::unwrap)) } /** @@ -1631,7 +1633,7 @@ public open class CfnCertificateAuthority( /** * @param enabled Boolean value that specifies whether certificate revocation lists (CRLs) are - * enabled. + * enabled. * You can use this value to enable certificate revocation for a new CA when you call the * `CreateCertificateAuthority` operation or for an existing CA when you call the * `UpdateCertificateAuthority` operation. @@ -1642,13 +1644,13 @@ public open class CfnCertificateAuthority( /** * @param enabled Boolean value that specifies whether certificate revocation lists (CRLs) are - * enabled. + * enabled. * You can use this value to enable certificate revocation for a new CA when you call the * `CreateCertificateAuthority` operation or for an existing CA when you call the * `UpdateCertificateAuthority` operation. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1744,7 +1746,7 @@ public open class CfnCertificateAuthority( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-enabled) */ - override fun enabled(): Any? = unwrap(this).getEnabled() + override fun enabled(): Any = unwrap(this).getEnabled() /** * Validity period of the CRL in days. @@ -1926,7 +1928,7 @@ public open class CfnCertificateAuthority( * This configuration cannot be enabled with a custom CNAME set. */ override fun omitExtension(omitExtension: IResolvable) { - cdkBuilder.omitExtension(omitExtension.let(IResolvable::unwrap)) + cdkBuilder.omitExtension(omitExtension.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2020,8 +2022,9 @@ public open class CfnCertificateAuthority( * .build()) * .dnsName("dnsName") * .ediPartyName(EdiPartyNameProperty.builder() - * .nameAssigner("nameAssigner") * .partyName("partyName") + * // the properties below are optional + * .nameAssigner("nameAssigner") * .build()) * .ipAddress("ipAddress") * .otherName(OtherNameProperty.builder() @@ -2126,7 +2129,7 @@ public open class CfnCertificateAuthority( * certificate. */ override fun keyUsage(keyUsage: IResolvable) { - cdkBuilder.keyUsage(keyUsage.let(IResolvable::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(IResolvable.Companion::unwrap)) } /** @@ -2134,7 +2137,7 @@ public open class CfnCertificateAuthority( * certificate. */ override fun keyUsage(keyUsage: KeyUsageProperty) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty.Companion::unwrap)) } /** @@ -2154,7 +2157,7 @@ public open class CfnCertificateAuthority( * in RFC 5280. */ override fun subjectInformationAccess(subjectInformationAccess: IResolvable) { - cdkBuilder.subjectInformationAccess(subjectInformationAccess.let(IResolvable::unwrap)) + cdkBuilder.subjectInformationAccess(subjectInformationAccess.let(IResolvable.Companion::unwrap)) } /** @@ -2349,8 +2352,9 @@ public open class CfnCertificateAuthority( * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.acmpca.*; * EdiPartyNameProperty ediPartyNameProperty = EdiPartyNameProperty.builder() - * .nameAssigner("nameAssigner") * .partyName("partyName") + * // the properties below are optional + * .nameAssigner("nameAssigner") * .build(); * ``` * @@ -2362,7 +2366,7 @@ public open class CfnCertificateAuthority( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-edipartyname.html#cfn-acmpca-certificateauthority-edipartyname-nameassigner) */ - public fun nameAssigner(): String + public fun nameAssigner(): String? = unwrap(this).getNameAssigner() /** * Specifies the party name. @@ -2377,7 +2381,7 @@ public open class CfnCertificateAuthority( @CdkDslMarker public interface Builder { /** - * @param nameAssigner Specifies the name assigner. + * @param nameAssigner Specifies the name assigner. */ public fun nameAssigner(nameAssigner: String) @@ -2394,7 +2398,7 @@ public open class CfnCertificateAuthority( software.amazon.awscdk.services.acmpca.CfnCertificateAuthority.EdiPartyNameProperty.builder() /** - * @param nameAssigner Specifies the name assigner. + * @param nameAssigner Specifies the name assigner. */ override fun nameAssigner(nameAssigner: String) { cdkBuilder.nameAssigner(nameAssigner) @@ -2420,7 +2424,7 @@ public open class CfnCertificateAuthority( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-edipartyname.html#cfn-acmpca-certificateauthority-edipartyname-nameassigner) */ - override fun nameAssigner(): String = unwrap(this).getNameAssigner() + override fun nameAssigner(): String? = unwrap(this).getNameAssigner() /** * Specifies the party name. @@ -2483,8 +2487,9 @@ public open class CfnCertificateAuthority( * .build()) * .dnsName("dnsName") * .ediPartyName(EdiPartyNameProperty.builder() - * .nameAssigner("nameAssigner") * .partyName("partyName") + * // the properties below are optional + * .nameAssigner("nameAssigner") * .build()) * .ipAddress("ipAddress") * .otherName(OtherNameProperty.builder() @@ -2686,7 +2691,7 @@ public open class CfnCertificateAuthority( * one certificate with the same DN to the same entity. */ override fun directoryName(directoryName: IResolvable) { - cdkBuilder.directoryName(directoryName.let(IResolvable::unwrap)) + cdkBuilder.directoryName(directoryName.let(IResolvable.Companion::unwrap)) } /** @@ -2700,7 +2705,7 @@ public open class CfnCertificateAuthority( * one certificate with the same DN to the same entity. */ override fun directoryName(directoryName: SubjectProperty) { - cdkBuilder.directoryName(directoryName.let(SubjectProperty::unwrap)) + cdkBuilder.directoryName(directoryName.let(SubjectProperty.Companion::unwrap)) } /** @@ -2729,14 +2734,14 @@ public open class CfnCertificateAuthority( * @param ediPartyName Represents `GeneralName` as an `EdiPartyName` object. */ override fun ediPartyName(ediPartyName: IResolvable) { - cdkBuilder.ediPartyName(ediPartyName.let(IResolvable::unwrap)) + cdkBuilder.ediPartyName(ediPartyName.let(IResolvable.Companion::unwrap)) } /** * @param ediPartyName Represents `GeneralName` as an `EdiPartyName` object. */ override fun ediPartyName(ediPartyName: EdiPartyNameProperty) { - cdkBuilder.ediPartyName(ediPartyName.let(EdiPartyNameProperty::unwrap)) + cdkBuilder.ediPartyName(ediPartyName.let(EdiPartyNameProperty.Companion::unwrap)) } /** @@ -2758,14 +2763,14 @@ public open class CfnCertificateAuthority( * @param otherName Represents `GeneralName` using an `OtherName` object. */ override fun otherName(otherName: IResolvable) { - cdkBuilder.otherName(otherName.let(IResolvable::unwrap)) + cdkBuilder.otherName(otherName.let(IResolvable.Companion::unwrap)) } /** * @param otherName Represents `GeneralName` using an `OtherName` object. */ override fun otherName(otherName: OtherNameProperty) { - cdkBuilder.otherName(otherName.let(OtherNameProperty::unwrap)) + cdkBuilder.otherName(otherName.let(OtherNameProperty.Companion::unwrap)) } /** @@ -3111,7 +3116,7 @@ public open class CfnCertificateAuthority( * @param crlSign Key can be used to sign CRLs. */ override fun crlSign(crlSign: IResolvable) { - cdkBuilder.crlSign(crlSign.let(IResolvable::unwrap)) + cdkBuilder.crlSign(crlSign.let(IResolvable.Companion::unwrap)) } /** @@ -3125,7 +3130,7 @@ public open class CfnCertificateAuthority( * @param dataEncipherment Key can be used to decipher data. */ override fun dataEncipherment(dataEncipherment: IResolvable) { - cdkBuilder.dataEncipherment(dataEncipherment.let(IResolvable::unwrap)) + cdkBuilder.dataEncipherment(dataEncipherment.let(IResolvable.Companion::unwrap)) } /** @@ -3139,7 +3144,7 @@ public open class CfnCertificateAuthority( * @param decipherOnly Key can be used only to decipher data. */ override fun decipherOnly(decipherOnly: IResolvable) { - cdkBuilder.decipherOnly(decipherOnly.let(IResolvable::unwrap)) + cdkBuilder.decipherOnly(decipherOnly.let(IResolvable.Companion::unwrap)) } /** @@ -3153,7 +3158,7 @@ public open class CfnCertificateAuthority( * @param digitalSignature Key can be used for digital signing. */ override fun digitalSignature(digitalSignature: IResolvable) { - cdkBuilder.digitalSignature(digitalSignature.let(IResolvable::unwrap)) + cdkBuilder.digitalSignature(digitalSignature.let(IResolvable.Companion::unwrap)) } /** @@ -3167,7 +3172,7 @@ public open class CfnCertificateAuthority( * @param encipherOnly Key can be used only to encipher data. */ override fun encipherOnly(encipherOnly: IResolvable) { - cdkBuilder.encipherOnly(encipherOnly.let(IResolvable::unwrap)) + cdkBuilder.encipherOnly(encipherOnly.let(IResolvable.Companion::unwrap)) } /** @@ -3181,7 +3186,7 @@ public open class CfnCertificateAuthority( * @param keyAgreement Key can be used in a key-agreement protocol. */ override fun keyAgreement(keyAgreement: IResolvable) { - cdkBuilder.keyAgreement(keyAgreement.let(IResolvable::unwrap)) + cdkBuilder.keyAgreement(keyAgreement.let(IResolvable.Companion::unwrap)) } /** @@ -3195,7 +3200,7 @@ public open class CfnCertificateAuthority( * @param keyCertSign Key can be used to sign certificates. */ override fun keyCertSign(keyCertSign: IResolvable) { - cdkBuilder.keyCertSign(keyCertSign.let(IResolvable::unwrap)) + cdkBuilder.keyCertSign(keyCertSign.let(IResolvable.Companion::unwrap)) } /** @@ -3209,7 +3214,7 @@ public open class CfnCertificateAuthority( * @param keyEncipherment Key can be used to encipher data. */ override fun keyEncipherment(keyEncipherment: IResolvable) { - cdkBuilder.keyEncipherment(keyEncipherment.let(IResolvable::unwrap)) + cdkBuilder.keyEncipherment(keyEncipherment.let(IResolvable.Companion::unwrap)) } /** @@ -3223,7 +3228,7 @@ public open class CfnCertificateAuthority( * @param nonRepudiation Key can be used for non-repudiation. */ override fun nonRepudiation(nonRepudiation: IResolvable) { - cdkBuilder.nonRepudiation(nonRepudiation.let(IResolvable::unwrap)) + cdkBuilder.nonRepudiation(nonRepudiation.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3346,6 +3351,7 @@ public open class CfnCertificateAuthority( * import io.cloudshiftdev.awscdk.services.acmpca.*; * OcspConfigurationProperty ocspConfigurationProperty = OcspConfigurationProperty.builder() * .enabled(false) + * // the properties below are optional * .ocspCustomCname("ocspCustomCname") * .build(); * ``` @@ -3359,7 +3365,7 @@ public open class CfnCertificateAuthority( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-ocspconfiguration.html#cfn-acmpca-certificateauthority-ocspconfiguration-enabled) */ - public fun enabled(): Any? = unwrap(this).getEnabled() + public fun enabled(): Any /** * By default, AWS Private CA injects an Amazon domain into certificates being validated by the @@ -3386,13 +3392,13 @@ public open class CfnCertificateAuthority( public interface Builder { /** * @param enabled Flag enabling use of the Online Certificate Status Protocol (OCSP) for - * validating certificate revocation status. + * validating certificate revocation status. */ public fun enabled(enabled: Boolean) /** * @param enabled Flag enabling use of the Online Certificate Status Protocol (OCSP) for - * validating certificate revocation status. + * validating certificate revocation status. */ public fun enabled(enabled: IResolvable) @@ -3419,7 +3425,7 @@ public open class CfnCertificateAuthority( /** * @param enabled Flag enabling use of the Online Certificate Status Protocol (OCSP) for - * validating certificate revocation status. + * validating certificate revocation status. */ override fun enabled(enabled: Boolean) { cdkBuilder.enabled(enabled) @@ -3427,10 +3433,10 @@ public open class CfnCertificateAuthority( /** * @param enabled Flag enabling use of the Online Certificate Status Protocol (OCSP) for - * validating certificate revocation status. + * validating certificate revocation status. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -3463,7 +3469,7 @@ public open class CfnCertificateAuthority( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-ocspconfiguration.html#cfn-acmpca-certificateauthority-ocspconfiguration-enabled) */ - override fun enabled(): Any? = unwrap(this).getEnabled() + override fun enabled(): Any = unwrap(this).getEnabled() /** * By default, AWS Private CA injects an Amazon domain into certificates being validated by @@ -3650,17 +3656,19 @@ public open class CfnCertificateAuthority( * RevocationConfigurationProperty revocationConfigurationProperty = * RevocationConfigurationProperty.builder() * .crlConfiguration(CrlConfigurationProperty.builder() + * .enabled(false) + * // the properties below are optional * .crlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationProperty.builder() * .omitExtension(false) * .build()) * .customCname("customCname") - * .enabled(false) * .expirationInDays(123) * .s3BucketName("s3BucketName") * .s3ObjectAcl("s3ObjectAcl") * .build()) * .ocspConfiguration(OcspConfigurationProperty.builder() * .enabled(false) + * // the properties below are optional * .ocspCustomCname("ocspCustomCname") * .build()) * .build(); @@ -3742,7 +3750,7 @@ public open class CfnCertificateAuthority( * maintained by your private CA. */ override fun crlConfiguration(crlConfiguration: IResolvable) { - cdkBuilder.crlConfiguration(crlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.crlConfiguration(crlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3750,7 +3758,7 @@ public open class CfnCertificateAuthority( * maintained by your private CA. */ override fun crlConfiguration(crlConfiguration: CrlConfigurationProperty) { - cdkBuilder.crlConfiguration(crlConfiguration.let(CrlConfigurationProperty::unwrap)) + cdkBuilder.crlConfiguration(crlConfiguration.let(CrlConfigurationProperty.Companion::unwrap)) } /** @@ -3767,7 +3775,7 @@ public open class CfnCertificateAuthority( * support, if any, maintained by your private CA. */ override fun ocspConfiguration(ocspConfiguration: IResolvable) { - cdkBuilder.ocspConfiguration(ocspConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ocspConfiguration(ocspConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3775,7 +3783,7 @@ public open class CfnCertificateAuthority( * support, if any, maintained by your private CA. */ override fun ocspConfiguration(ocspConfiguration: OcspConfigurationProperty) { - cdkBuilder.ocspConfiguration(ocspConfiguration.let(OcspConfigurationProperty::unwrap)) + cdkBuilder.ocspConfiguration(ocspConfiguration.let(OcspConfigurationProperty.Companion::unwrap)) } /** @@ -4129,7 +4137,7 @@ public open class CfnCertificateAuthority( * Custom attributes cannot be used in combination with standard attributes. */ override fun customAttributes(customAttributes: IResolvable) { - cdkBuilder.customAttributes(customAttributes.let(IResolvable::unwrap)) + cdkBuilder.customAttributes(customAttributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityActivation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityActivation.kt index 0e83b80375..30c691e0b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityActivation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityActivation.kt @@ -45,8 +45,8 @@ public open class CfnCertificateAuthorityActivation( id: String, props: CfnCertificateAuthorityActivationProps, ) : - this(software.amazon.awscdk.services.acmpca.CfnCertificateAuthorityActivation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateAuthorityActivationProps::unwrap)) + this(software.amazon.awscdk.services.acmpca.CfnCertificateAuthorityActivation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateAuthorityActivationProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnCertificateAuthorityActivation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityProps.kt index 45868f54f1..f60206b2e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateAuthorityProps.kt @@ -373,7 +373,7 @@ public interface CfnCertificateAuthorityProps { * certificate signing request (CSR). */ override fun csrExtensions(csrExtensions: IResolvable) { - cdkBuilder.csrExtensions(csrExtensions.let(IResolvable::unwrap)) + cdkBuilder.csrExtensions(csrExtensions.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnCertificateAuthorityProps { * certificate signing request (CSR). */ override fun csrExtensions(csrExtensions: CfnCertificateAuthority.CsrExtensionsProperty) { - cdkBuilder.csrExtensions(csrExtensions.let(CfnCertificateAuthority.CsrExtensionsProperty::unwrap)) + cdkBuilder.csrExtensions(csrExtensions.let(CfnCertificateAuthority.CsrExtensionsProperty.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface CfnCertificateAuthorityProps { * prefix such as "http://" or "https://". */ override fun revocationConfiguration(revocationConfiguration: IResolvable) { - cdkBuilder.revocationConfiguration(revocationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.revocationConfiguration(revocationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public interface CfnCertificateAuthorityProps { */ override fun revocationConfiguration(revocationConfiguration: CfnCertificateAuthority.RevocationConfigurationProperty) { - cdkBuilder.revocationConfiguration(revocationConfiguration.let(CfnCertificateAuthority.RevocationConfigurationProperty::unwrap)) + cdkBuilder.revocationConfiguration(revocationConfiguration.let(CfnCertificateAuthority.RevocationConfigurationProperty.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public interface CfnCertificateAuthorityProps { * CA. */ override fun subject(subject: IResolvable) { - cdkBuilder.subject(subject.let(IResolvable::unwrap)) + cdkBuilder.subject(subject.let(IResolvable.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface CfnCertificateAuthorityProps { * CA. */ override fun subject(subject: CfnCertificateAuthority.SubjectProperty) { - cdkBuilder.subject(subject.let(CfnCertificateAuthority.SubjectProperty::unwrap)) + cdkBuilder.subject(subject.let(CfnCertificateAuthority.SubjectProperty.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface CfnCertificateAuthorityProps { * Tags](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateProps.kt index d0631b454d..756b4d5d1f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnCertificateProps.kt @@ -344,7 +344,7 @@ public interface CfnCertificateProps { * else this parameter is ignored. */ override fun apiPassthrough(apiPassthrough: IResolvable) { - cdkBuilder.apiPassthrough(apiPassthrough.let(IResolvable::unwrap)) + cdkBuilder.apiPassthrough(apiPassthrough.let(IResolvable.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface CfnCertificateProps { * else this parameter is ignored. */ override fun apiPassthrough(apiPassthrough: CfnCertificate.ApiPassthroughProperty) { - cdkBuilder.apiPassthrough(apiPassthrough.let(CfnCertificate.ApiPassthroughProperty::unwrap)) + cdkBuilder.apiPassthrough(apiPassthrough.let(CfnCertificate.ApiPassthroughProperty.Companion::unwrap)) } /** @@ -411,14 +411,14 @@ public interface CfnCertificateProps { * @param validity The period of time during which the certificate will be valid. */ override fun validity(validity: IResolvable) { - cdkBuilder.validity(validity.let(IResolvable::unwrap)) + cdkBuilder.validity(validity.let(IResolvable.Companion::unwrap)) } /** * @param validity The period of time during which the certificate will be valid. */ override fun validity(validity: CfnCertificate.ValidityProperty) { - cdkBuilder.validity(validity.let(CfnCertificate.ValidityProperty::unwrap)) + cdkBuilder.validity(validity.let(CfnCertificate.ValidityProperty.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface CfnCertificateProps { * type value `ABSOLUTE` . */ override fun validityNotBefore(validityNotBefore: IResolvable) { - cdkBuilder.validityNotBefore(validityNotBefore.let(IResolvable::unwrap)) + cdkBuilder.validityNotBefore(validityNotBefore.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public interface CfnCertificateProps { * type value `ABSOLUTE` . */ override fun validityNotBefore(validityNotBefore: CfnCertificate.ValidityProperty) { - cdkBuilder.validityNotBefore(validityNotBefore.let(CfnCertificate.ValidityProperty::unwrap)) + cdkBuilder.validityNotBefore(validityNotBefore.let(CfnCertificate.ValidityProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnPermission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnPermission.kt index 50a4269176..fd5ab9a883 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnPermission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/CfnPermission.kt @@ -66,8 +66,8 @@ public open class CfnPermission( id: String, props: CfnPermissionProps, ) : - this(software.amazon.awscdk.services.acmpca.CfnPermission(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPermissionProps::unwrap)) + this(software.amazon.awscdk.services.acmpca.CfnPermission(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPermissionProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnPermission( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/ICertificateAuthority.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/ICertificateAuthority.kt index 714aa3be2b..70aa39c552 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/ICertificateAuthority.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/acmpca/ICertificateAuthority.kt @@ -37,7 +37,7 @@ public interface ICertificateAuthority : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBroker.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBroker.kt index c261a61992..b4a2258aef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBroker.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBroker.kt @@ -130,8 +130,8 @@ public open class CfnBroker( id: String, props: CfnBrokerProps, ) : - this(software.amazon.awscdk.services.amazonmq.CfnBroker(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBrokerProps::unwrap)) + this(software.amazon.awscdk.services.amazonmq.CfnBroker(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBrokerProps.Companion::unwrap)) ) public constructor( @@ -243,7 +243,7 @@ public open class CfnBroker( * released and supported by Amazon MQ. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -267,14 +267,14 @@ public open class CfnBroker( * A list of information about the configuration. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of information about the configuration. */ public open fun configuration(`value`: ConfigurationIdProperty) { - unwrap(this).setConfiguration(`value`.let(ConfigurationIdProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(ConfigurationIdProperty.Companion::unwrap)) } /** @@ -337,14 +337,14 @@ public open class CfnBroker( * Encryption options for the broker. */ public open fun encryptionOptions(`value`: IResolvable) { - unwrap(this).setEncryptionOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Encryption options for the broker. */ public open fun encryptionOptions(`value`: EncryptionOptionsProperty) { - unwrap(this).setEncryptionOptions(`value`.let(EncryptionOptionsProperty::unwrap)) + unwrap(this).setEncryptionOptions(`value`.let(EncryptionOptionsProperty.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CfnBroker( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -409,14 +409,14 @@ public open class CfnBroker( * Optional. */ public open fun ldapServerMetadata(`value`: IResolvable) { - unwrap(this).setLdapServerMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setLdapServerMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** * Optional. */ public open fun ldapServerMetadata(`value`: LdapServerMetadataProperty) { - unwrap(this).setLdapServerMetadata(`value`.let(LdapServerMetadataProperty::unwrap)) + unwrap(this).setLdapServerMetadata(`value`.let(LdapServerMetadataProperty.Companion::unwrap)) } /** @@ -436,14 +436,14 @@ public open class CfnBroker( * Enables Amazon CloudWatch logging for brokers. */ public open fun logs(`value`: IResolvable) { - unwrap(this).setLogs(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogs(`value`.let(IResolvable.Companion::unwrap)) } /** * Enables Amazon CloudWatch logging for brokers. */ public open fun logs(`value`: LogListProperty) { - unwrap(this).setLogs(`value`.let(LogListProperty::unwrap)) + unwrap(this).setLogs(`value`.let(LogListProperty.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class CfnBroker( * updates or patches to the broker. */ public open fun maintenanceWindowStartTime(`value`: IResolvable) { - unwrap(this).setMaintenanceWindowStartTime(`value`.let(IResolvable::unwrap)) + unwrap(this).setMaintenanceWindowStartTime(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnBroker( * updates or patches to the broker. */ public open fun maintenanceWindowStartTime(`value`: MaintenanceWindowProperty) { - unwrap(this).setMaintenanceWindowStartTime(`value`.let(MaintenanceWindowProperty::unwrap)) + unwrap(this).setMaintenanceWindowStartTime(`value`.let(MaintenanceWindowProperty.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class CfnBroker( * Enables connections from applications outside of the VPC that hosts the broker's subnets. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public open class CfnBroker( * An array of key-value pairs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public open class CfnBroker( * The list of broker users (persons or applications) who can access queues and topics. */ public open fun users(`value`: IResolvable) { - unwrap(this).setUsers(`value`.let(IResolvable::unwrap)) + unwrap(this).setUsers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1080,7 +1080,7 @@ public open class CfnBroker( * as new broker engine versions are released and supported by Amazon MQ. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -1112,7 +1112,7 @@ public open class CfnBroker( * @param configuration A list of information about the configuration. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -1124,7 +1124,7 @@ public open class CfnBroker( * @param configuration A list of information about the configuration. */ override fun configuration(configuration: ConfigurationIdProperty) { - cdkBuilder.configuration(configuration.let(ConfigurationIdProperty::unwrap)) + cdkBuilder.configuration(configuration.let(ConfigurationIdProperty.Companion::unwrap)) } /** @@ -1188,7 +1188,7 @@ public open class CfnBroker( * @param encryptionOptions Encryption options for the broker. */ override fun encryptionOptions(encryptionOptions: IResolvable) { - cdkBuilder.encryptionOptions(encryptionOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionOptions(encryptionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1200,7 +1200,7 @@ public open class CfnBroker( * @param encryptionOptions Encryption options for the broker. */ override fun encryptionOptions(encryptionOptions: EncryptionOptionsProperty) { - cdkBuilder.encryptionOptions(encryptionOptions.let(EncryptionOptionsProperty::unwrap)) + cdkBuilder.encryptionOptions(encryptionOptions.let(EncryptionOptionsProperty.Companion::unwrap)) } /** @@ -1262,7 +1262,7 @@ public open class CfnBroker( * @param ldapServerMetadata Optional. */ override fun ldapServerMetadata(ldapServerMetadata: IResolvable) { - cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(IResolvable::unwrap)) + cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -1275,7 +1275,7 @@ public open class CfnBroker( * @param ldapServerMetadata Optional. */ override fun ldapServerMetadata(ldapServerMetadata: LdapServerMetadataProperty) { - cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(LdapServerMetadataProperty::unwrap)) + cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(LdapServerMetadataProperty.Companion::unwrap)) } /** @@ -1300,7 +1300,7 @@ public open class CfnBroker( * @param logs Enables Amazon CloudWatch logging for brokers. */ override fun logs(logs: IResolvable) { - cdkBuilder.logs(logs.let(IResolvable::unwrap)) + cdkBuilder.logs(logs.let(IResolvable.Companion::unwrap)) } /** @@ -1310,7 +1310,7 @@ public open class CfnBroker( * @param logs Enables Amazon CloudWatch logging for brokers. */ override fun logs(logs: LogListProperty) { - cdkBuilder.logs(logs.let(LogListProperty::unwrap)) + cdkBuilder.logs(logs.let(LogListProperty.Companion::unwrap)) } /** @@ -1332,7 +1332,7 @@ public open class CfnBroker( * Amazon MQ begins to apply pending updates or patches to the broker. */ override fun maintenanceWindowStartTime(maintenanceWindowStartTime: IResolvable) { - cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(IResolvable.Companion::unwrap)) } /** @@ -1344,7 +1344,7 @@ public open class CfnBroker( * Amazon MQ begins to apply pending updates or patches to the broker. */ override fun maintenanceWindowStartTime(maintenanceWindowStartTime: MaintenanceWindowProperty) { - cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(MaintenanceWindowProperty::unwrap)) + cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(MaintenanceWindowProperty.Companion::unwrap)) } /** @@ -1380,7 +1380,7 @@ public open class CfnBroker( * the broker's subnets. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -1473,7 +1473,7 @@ public open class CfnBroker( * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -1500,7 +1500,7 @@ public open class CfnBroker( * topics. */ override fun users(users: IResolvable) { - cdkBuilder.users(users.let(IResolvable::unwrap)) + cdkBuilder.users(users.let(IResolvable.Companion::unwrap)) } /** @@ -1759,7 +1759,7 @@ public open class CfnBroker( * Set to `true` by default, if no value is provided, for example, for RabbitMQ brokers. */ override fun useAwsOwnedKey(useAwsOwnedKey: IResolvable) { - cdkBuilder.useAwsOwnedKey(useAwsOwnedKey.let(IResolvable::unwrap)) + cdkBuilder.useAwsOwnedKey(useAwsOwnedKey.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2139,7 +2139,7 @@ public open class CfnBroker( * If set to true, scope is to search the entire subtree. */ override fun roleSearchSubtree(roleSearchSubtree: IResolvable) { - cdkBuilder.roleSearchSubtree(roleSearchSubtree.let(IResolvable::unwrap)) + cdkBuilder.roleSearchSubtree(roleSearchSubtree.let(IResolvable.Companion::unwrap)) } /** @@ -2207,7 +2207,7 @@ public open class CfnBroker( * If set to true, scope is to search the entire subtree. */ override fun userSearchSubtree(userSearchSubtree: IResolvable) { - cdkBuilder.userSearchSubtree(userSearchSubtree.let(IResolvable::unwrap)) + cdkBuilder.userSearchSubtree(userSearchSubtree.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2441,7 +2441,7 @@ public open class CfnBroker( * apply to RabbitMQ brokers. */ override fun audit(audit: IResolvable) { - cdkBuilder.audit(audit.let(IResolvable::unwrap)) + cdkBuilder.audit(audit.let(IResolvable.Companion::unwrap)) } /** @@ -2455,7 +2455,7 @@ public open class CfnBroker( * @param general Enables general logging. */ override fun general(general: IResolvable) { - cdkBuilder.general(general.let(IResolvable::unwrap)) + cdkBuilder.general(general.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.amazonmq.CfnBroker.LogListProperty = @@ -2912,7 +2912,7 @@ public open class CfnBroker( * Does not apply to RabbitMQ brokers. */ override fun consoleAccess(consoleAccess: IResolvable) { - cdkBuilder.consoleAccess(consoleAccess.let(IResolvable::unwrap)) + cdkBuilder.consoleAccess(consoleAccess.let(IResolvable.Companion::unwrap)) } /** @@ -2953,7 +2953,7 @@ public open class CfnBroker( * @param replicationUser Defines if this user is intended for CRDR replication purposes. */ override fun replicationUser(replicationUser: IResolvable) { - cdkBuilder.replicationUser(replicationUser.let(IResolvable::unwrap)) + cdkBuilder.replicationUser(replicationUser.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBrokerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBrokerProps.kt index 429a61a809..06ef3fe1a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBrokerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnBrokerProps.kt @@ -608,7 +608,7 @@ public interface CfnBrokerProps { * manual broker reboot. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public interface CfnBrokerProps { * Does not apply to RabbitMQ brokers. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public interface CfnBrokerProps { * Does not apply to RabbitMQ brokers. */ override fun configuration(configuration: CfnBroker.ConfigurationIdProperty) { - cdkBuilder.configuration(configuration.let(CfnBroker.ConfigurationIdProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnBroker.ConfigurationIdProperty.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public interface CfnBrokerProps { * Does not apply to RabbitMQ brokers. */ override fun encryptionOptions(encryptionOptions: IResolvable) { - cdkBuilder.encryptionOptions(encryptionOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionOptions(encryptionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public interface CfnBrokerProps { * Does not apply to RabbitMQ brokers. */ override fun encryptionOptions(encryptionOptions: CfnBroker.EncryptionOptionsProperty) { - cdkBuilder.encryptionOptions(encryptionOptions.let(CfnBroker.EncryptionOptionsProperty::unwrap)) + cdkBuilder.encryptionOptions(encryptionOptions.let(CfnBroker.EncryptionOptionsProperty.Companion::unwrap)) } /** @@ -735,7 +735,7 @@ public interface CfnBrokerProps { * Does not apply to RabbitMQ brokers. */ override fun ldapServerMetadata(ldapServerMetadata: IResolvable) { - cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(IResolvable::unwrap)) + cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public interface CfnBrokerProps { * Does not apply to RabbitMQ brokers. */ override fun ldapServerMetadata(ldapServerMetadata: CfnBroker.LdapServerMetadataProperty) { - cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(CfnBroker.LdapServerMetadataProperty::unwrap)) + cdkBuilder.ldapServerMetadata(ldapServerMetadata.let(CfnBroker.LdapServerMetadataProperty.Companion::unwrap)) } /** @@ -762,14 +762,14 @@ public interface CfnBrokerProps { * @param logs Enables Amazon CloudWatch logging for brokers. */ override fun logs(logs: IResolvable) { - cdkBuilder.logs(logs.let(IResolvable::unwrap)) + cdkBuilder.logs(logs.let(IResolvable.Companion::unwrap)) } /** * @param logs Enables Amazon CloudWatch logging for brokers. */ override fun logs(logs: CfnBroker.LogListProperty) { - cdkBuilder.logs(logs.let(CfnBroker.LogListProperty::unwrap)) + cdkBuilder.logs(logs.let(CfnBroker.LogListProperty.Companion::unwrap)) } /** @@ -785,7 +785,7 @@ public interface CfnBrokerProps { * Amazon MQ begins to apply pending updates or patches to the broker. */ override fun maintenanceWindowStartTime(maintenanceWindowStartTime: IResolvable) { - cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(IResolvable.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public interface CfnBrokerProps { */ override fun maintenanceWindowStartTime(maintenanceWindowStartTime: CfnBroker.MaintenanceWindowProperty) { - cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(CfnBroker.MaintenanceWindowProperty::unwrap)) + cdkBuilder.maintenanceWindowStartTime(maintenanceWindowStartTime.let(CfnBroker.MaintenanceWindowProperty.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public interface CfnBrokerProps { * the broker's subnets. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public interface CfnBrokerProps { * *Billing and Cost Management User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnBroker.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnBroker.TagsEntryProperty.Companion::unwrap)) } /** @@ -908,7 +908,7 @@ public interface CfnBrokerProps { * RabbitMQ web console or by using the RabbitMQ management API. */ override fun users(users: IResolvable) { - cdkBuilder.users(users.let(IResolvable::unwrap)) + cdkBuilder.users(users.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfiguration.kt index 02557e5db3..bfc727a16d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfiguration.kt @@ -57,8 +57,8 @@ public open class CfnConfiguration( id: String, props: CfnConfigurationProps, ) : - this(software.amazon.awscdk.services.amazonmq.CfnConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.amazonmq.CfnConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnConfiguration( * Create tags when creating the configuration. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnConfiguration( * @param tags Create tags when creating the configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociation.kt index 4c819ce3a9..c70c643914 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociation.kt @@ -54,8 +54,8 @@ public open class CfnConfigurationAssociation( id: String, props: CfnConfigurationAssociationProps, ) : - this(software.amazon.awscdk.services.amazonmq.CfnConfigurationAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationAssociationProps::unwrap)) + this(software.amazon.awscdk.services.amazonmq.CfnConfigurationAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationAssociationProps.Companion::unwrap)) ) public constructor( @@ -91,14 +91,14 @@ public open class CfnConfigurationAssociation( * The configuration to associate with a broker. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration to associate with a broker. */ public open fun configuration(`value`: ConfigurationIdProperty) { - unwrap(this).setConfiguration(`value`.let(ConfigurationIdProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(ConfigurationIdProperty.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnConfigurationAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnConfigurationAssociation( * @param configuration The configuration to associate with a broker. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnConfigurationAssociation( * @param configuration The configuration to associate with a broker. */ override fun configuration(configuration: ConfigurationIdProperty) { - cdkBuilder.configuration(configuration.let(ConfigurationIdProperty::unwrap)) + cdkBuilder.configuration(configuration.let(ConfigurationIdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociationProps.kt index 647ad6392b..12230559e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationAssociationProps.kt @@ -92,14 +92,14 @@ public interface CfnConfigurationAssociationProps { * @param configuration The configuration to associate with a broker. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration to associate with a broker. */ override fun configuration(configuration: CfnConfigurationAssociation.ConfigurationIdProperty) { - cdkBuilder.configuration(configuration.let(CfnConfigurationAssociation.ConfigurationIdProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnConfigurationAssociation.ConfigurationIdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationProps.kt index aa4ac5c727..923b940431 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amazonmq/CfnConfigurationProps.kt @@ -207,7 +207,7 @@ public interface CfnConfigurationProps { * @param tags Create tags when creating the configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnConfiguration.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnConfiguration.TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnApp.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnApp.kt index 635ec13d75..7f0584fc61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnApp.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnApp.kt @@ -97,8 +97,8 @@ public open class CfnApp( id: String, props: CfnAppProps, ) : - this(software.amazon.awscdk.services.amplify.CfnApp(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppProps::unwrap)) + this(software.amazon.awscdk.services.amplify.CfnApp(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppProps.Companion::unwrap)) ) public constructor( @@ -149,14 +149,14 @@ public open class CfnApp( * Sets the configuration for your automatic branch creation. */ public open fun autoBranchCreationConfig(`value`: IResolvable) { - unwrap(this).setAutoBranchCreationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoBranchCreationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Sets the configuration for your automatic branch creation. */ public open fun autoBranchCreationConfig(`value`: AutoBranchCreationConfigProperty) { - unwrap(this).setAutoBranchCreationConfig(`value`.let(AutoBranchCreationConfigProperty::unwrap)) + unwrap(this).setAutoBranchCreationConfig(`value`.let(AutoBranchCreationConfigProperty.Companion::unwrap)) } /** @@ -177,14 +177,14 @@ public open class CfnApp( * The credentials for basic authorization for an Amplify app. */ public open fun basicAuthConfig(`value`: IResolvable) { - unwrap(this).setBasicAuthConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setBasicAuthConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The credentials for basic authorization for an Amplify app. */ public open fun basicAuthConfig(`value`: BasicAuthConfigProperty) { - unwrap(this).setBasicAuthConfig(`value`.let(BasicAuthConfigProperty::unwrap)) + unwrap(this).setBasicAuthConfig(`value`.let(BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnApp( * The custom rewrite and redirect rules for an Amplify app. */ public open fun customRules(`value`: IResolvable) { - unwrap(this).setCustomRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnApp( * repository. */ public open fun enableBranchAutoDeletion(`value`: IResolvable) { - unwrap(this).setEnableBranchAutoDeletion(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableBranchAutoDeletion(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnApp( * The environment variables for the Amplify app. */ public open fun environmentVariables(`value`: IResolvable) { - unwrap(this).setEnvironmentVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnvironmentVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnApp( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnApp( * The tag for an Amplify app. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class CfnApp( * @param autoBranchCreationConfig Sets the configuration for your automatic branch creation. */ override fun autoBranchCreationConfig(autoBranchCreationConfig: IResolvable) { - cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(IResolvable::unwrap)) + cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public open class CfnApp( */ override fun autoBranchCreationConfig(autoBranchCreationConfig: AutoBranchCreationConfigProperty) { - cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(AutoBranchCreationConfigProperty::unwrap)) + cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(AutoBranchCreationConfigProperty.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnApp( * @param basicAuthConfig The credentials for basic authorization for an Amplify app. */ override fun basicAuthConfig(basicAuthConfig: IResolvable) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public open class CfnApp( * @param basicAuthConfig The credentials for basic authorization for an Amplify app. */ override fun basicAuthConfig(basicAuthConfig: BasicAuthConfigProperty) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(BasicAuthConfigProperty::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public open class CfnApp( * @param customRules The custom rewrite and redirect rules for an Amplify app. */ override fun customRules(customRules: IResolvable) { - cdkBuilder.customRules(customRules.let(IResolvable::unwrap)) + cdkBuilder.customRules(customRules.let(IResolvable.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public open class CfnApp( * delete a branch from your Git repository. */ override fun enableBranchAutoDeletion(enableBranchAutoDeletion: IResolvable) { - cdkBuilder.enableBranchAutoDeletion(enableBranchAutoDeletion.let(IResolvable::unwrap)) + cdkBuilder.enableBranchAutoDeletion(enableBranchAutoDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -868,7 +868,7 @@ public open class CfnApp( * @param environmentVariables The environment variables for the Amplify app. */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public open class CfnApp( * @param tags The tag for an Amplify app. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1338,14 +1338,14 @@ public open class CfnApp( * @param basicAuthConfig Sets password protection for your auto created branch. */ override fun basicAuthConfig(basicAuthConfig: IResolvable) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable.Companion::unwrap)) } /** * @param basicAuthConfig Sets password protection for your auto created branch. */ override fun basicAuthConfig(basicAuthConfig: BasicAuthConfigProperty) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(BasicAuthConfigProperty::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -1374,7 +1374,7 @@ public open class CfnApp( * @param enableAutoBranchCreation Enables automated branch creation for the Amplify app. */ override fun enableAutoBranchCreation(enableAutoBranchCreation: IResolvable) { - cdkBuilder.enableAutoBranchCreation(enableAutoBranchCreation.let(IResolvable::unwrap)) + cdkBuilder.enableAutoBranchCreation(enableAutoBranchCreation.let(IResolvable.Companion::unwrap)) } /** @@ -1388,7 +1388,7 @@ public open class CfnApp( * @param enableAutoBuild Enables auto building for the auto created branch. */ override fun enableAutoBuild(enableAutoBuild: IResolvable) { - cdkBuilder.enableAutoBuild(enableAutoBuild.let(IResolvable::unwrap)) + cdkBuilder.enableAutoBuild(enableAutoBuild.let(IResolvable.Companion::unwrap)) } /** @@ -1408,7 +1408,7 @@ public open class CfnApp( * changes can take up to 10 minutes to roll out. */ override fun enablePerformanceMode(enablePerformanceMode: IResolvable) { - cdkBuilder.enablePerformanceMode(enablePerformanceMode.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceMode(enablePerformanceMode.let(IResolvable.Companion::unwrap)) } /** @@ -1448,14 +1448,14 @@ public open class CfnApp( * Amplify Hosting User Guide* . */ override fun enablePullRequestPreview(enablePullRequestPreview: IResolvable) { - cdkBuilder.enablePullRequestPreview(enablePullRequestPreview.let(IResolvable::unwrap)) + cdkBuilder.enablePullRequestPreview(enablePullRequestPreview.let(IResolvable.Companion::unwrap)) } /** * @param environmentVariables The environment variables for the autocreated branch. */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1728,7 +1728,7 @@ public open class CfnApp( * @param enableBasicAuth Enables basic authorization for the Amplify app's branches. */ override fun enableBasicAuth(enableBasicAuth: IResolvable) { - cdkBuilder.enableBasicAuth(enableBasicAuth.let(IResolvable::unwrap)) + cdkBuilder.enableBasicAuth(enableBasicAuth.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnAppProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnAppProps.kt index d46b4f6774..43aefb6da4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnAppProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnAppProps.kt @@ -443,7 +443,7 @@ public interface CfnAppProps { * @param autoBranchCreationConfig Sets the configuration for your automatic branch creation. */ override fun autoBranchCreationConfig(autoBranchCreationConfig: IResolvable) { - cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(IResolvable::unwrap)) + cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface CfnAppProps { */ override fun autoBranchCreationConfig(autoBranchCreationConfig: CfnApp.AutoBranchCreationConfigProperty) { - cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(CfnApp.AutoBranchCreationConfigProperty::unwrap)) + cdkBuilder.autoBranchCreationConfig(autoBranchCreationConfig.let(CfnApp.AutoBranchCreationConfigProperty.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public interface CfnAppProps { * `user:password` . */ override fun basicAuthConfig(basicAuthConfig: IResolvable) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface CfnAppProps { * `user:password` . */ override fun basicAuthConfig(basicAuthConfig: CfnApp.BasicAuthConfigProperty) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(CfnApp.BasicAuthConfigProperty::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(CfnApp.BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public interface CfnAppProps { * @param customRules The custom rewrite and redirect rules for an Amplify app. */ override fun customRules(customRules: IResolvable) { - cdkBuilder.customRules(customRules.let(IResolvable::unwrap)) + cdkBuilder.customRules(customRules.let(IResolvable.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public interface CfnAppProps { * delete a branch from your Git repository. */ override fun enableBranchAutoDeletion(enableBranchAutoDeletion: IResolvable) { - cdkBuilder.enableBranchAutoDeletion(enableBranchAutoDeletion.let(IResolvable::unwrap)) + cdkBuilder.enableBranchAutoDeletion(enableBranchAutoDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface CfnAppProps { * in the *Amplify Hosting User Guide* . */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public interface CfnAppProps { * @param tags The tag for an Amplify app. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranch.kt index 8623bae452..97c179096d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranch.kt @@ -72,8 +72,8 @@ public open class CfnBranch( id: String, props: CfnBranchProps, ) : - this(software.amazon.awscdk.services.amplify.CfnBranch(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBranchProps::unwrap)) + this(software.amazon.awscdk.services.amplify.CfnBranch(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBranchProps.Companion::unwrap)) ) public constructor( @@ -114,14 +114,14 @@ public open class CfnBranch( * Specifies the backend for a `Branch` of an Amplify app. */ public open fun backend(`value`: IResolvable) { - unwrap(this).setBackend(`value`.let(IResolvable::unwrap)) + unwrap(this).setBackend(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the backend for a `Branch` of an Amplify app. */ public open fun backend(`value`: BackendProperty) { - unwrap(this).setBackend(`value`.let(BackendProperty::unwrap)) + unwrap(this).setBackend(`value`.let(BackendProperty.Companion::unwrap)) } /** @@ -141,14 +141,14 @@ public open class CfnBranch( * The basic authorization credentials for a branch of an Amplify app. */ public open fun basicAuthConfig(`value`: IResolvable) { - unwrap(this).setBasicAuthConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setBasicAuthConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The basic authorization credentials for a branch of an Amplify app. */ public open fun basicAuthConfig(`value`: BasicAuthConfigProperty) { - unwrap(this).setBasicAuthConfig(`value`.let(BasicAuthConfigProperty::unwrap)) + unwrap(this).setBasicAuthConfig(`value`.let(BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnBranch( * Enables auto building for the branch. */ public open fun enableAutoBuild(`value`: IResolvable) { - unwrap(this).setEnableAutoBuild(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableAutoBuild(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnBranch( * Enables performance mode for the branch. */ public open fun enablePerformanceMode(`value`: IResolvable) { - unwrap(this).setEnablePerformanceMode(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnablePerformanceMode(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnBranch( * branch. */ public open fun enablePullRequestPreview(`value`: IResolvable) { - unwrap(this).setEnablePullRequestPreview(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnablePullRequestPreview(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnBranch( * The environment variables for the branch. */ public open fun environmentVariables(`value`: IResolvable) { - unwrap(this).setEnvironmentVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnvironmentVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnBranch( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnBranch( * The tag for the branch. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public open class CfnBranch( * @param backend Specifies the backend for a `Branch` of an Amplify app. */ override fun backend(backend: IResolvable) { - cdkBuilder.backend(backend.let(IResolvable::unwrap)) + cdkBuilder.backend(backend.let(IResolvable.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public open class CfnBranch( * @param backend Specifies the backend for a `Branch` of an Amplify app. */ override fun backend(backend: BackendProperty) { - cdkBuilder.backend(backend.let(BackendProperty::unwrap)) + cdkBuilder.backend(backend.let(BackendProperty.Companion::unwrap)) } /** @@ -671,7 +671,7 @@ public open class CfnBranch( * @param basicAuthConfig The basic authorization credentials for a branch of an Amplify app. */ override fun basicAuthConfig(basicAuthConfig: IResolvable) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnBranch( * @param basicAuthConfig The basic authorization credentials for a branch of an Amplify app. */ override fun basicAuthConfig(basicAuthConfig: BasicAuthConfigProperty) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(BasicAuthConfigProperty::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class CfnBranch( * @param enableAutoBuild Enables auto building for the branch. */ override fun enableAutoBuild(enableAutoBuild: IResolvable) { - cdkBuilder.enableAutoBuild(enableAutoBuild.let(IResolvable::unwrap)) + cdkBuilder.enableAutoBuild(enableAutoBuild.let(IResolvable.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public open class CfnBranch( * @param enablePerformanceMode Enables performance mode for the branch. */ override fun enablePerformanceMode(enablePerformanceMode: IResolvable) { - cdkBuilder.enablePerformanceMode(enablePerformanceMode.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceMode(enablePerformanceMode.let(IResolvable.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public open class CfnBranch( * pull request that is made for this branch. */ override fun enablePullRequestPreview(enablePullRequestPreview: IResolvable) { - cdkBuilder.enablePullRequestPreview(enablePullRequestPreview.let(IResolvable::unwrap)) + cdkBuilder.enablePullRequestPreview(enablePullRequestPreview.let(IResolvable.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnBranch( * @param environmentVariables The environment variables for the branch. */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -908,7 +908,7 @@ public open class CfnBranch( * @param tags The tag for the branch. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1102,7 +1102,7 @@ public open class CfnBranch( * @param enableBasicAuth Enables basic authorization for the branch. */ override fun enableBasicAuth(enableBasicAuth: IResolvable) { - cdkBuilder.enableBasicAuth(enableBasicAuth.let(IResolvable::unwrap)) + cdkBuilder.enableBasicAuth(enableBasicAuth.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranchProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranchProps.kt index 3bfed5a2a7..483cf05a8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranchProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnBranchProps.kt @@ -385,14 +385,14 @@ public interface CfnBranchProps { * @param backend Specifies the backend for a `Branch` of an Amplify app. */ override fun backend(backend: IResolvable) { - cdkBuilder.backend(backend.let(IResolvable::unwrap)) + cdkBuilder.backend(backend.let(IResolvable.Companion::unwrap)) } /** * @param backend Specifies the backend for a `Branch` of an Amplify app. */ override fun backend(backend: CfnBranch.BackendProperty) { - cdkBuilder.backend(backend.let(CfnBranch.BackendProperty::unwrap)) + cdkBuilder.backend(backend.let(CfnBranch.BackendProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public interface CfnBranchProps { * `user:password` . */ override fun basicAuthConfig(basicAuthConfig: IResolvable) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface CfnBranchProps { * `user:password` . */ override fun basicAuthConfig(basicAuthConfig: CfnBranch.BasicAuthConfigProperty) { - cdkBuilder.basicAuthConfig(basicAuthConfig.let(CfnBranch.BasicAuthConfigProperty::unwrap)) + cdkBuilder.basicAuthConfig(basicAuthConfig.let(CfnBranch.BasicAuthConfigProperty.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface CfnBranchProps { * @param enableAutoBuild Enables auto building for the branch. */ override fun enableAutoBuild(enableAutoBuild: IResolvable) { - cdkBuilder.enableAutoBuild(enableAutoBuild.let(IResolvable::unwrap)) + cdkBuilder.enableAutoBuild(enableAutoBuild.let(IResolvable.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public interface CfnBranchProps { * changes can take up to 10 minutes to roll out. */ override fun enablePerformanceMode(enablePerformanceMode: IResolvable) { - cdkBuilder.enablePerformanceMode(enablePerformanceMode.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceMode(enablePerformanceMode.let(IResolvable.Companion::unwrap)) } /** @@ -522,14 +522,14 @@ public interface CfnBranchProps { * Amplify Hosting User Guide* . */ override fun enablePullRequestPreview(enablePullRequestPreview: IResolvable) { - cdkBuilder.enablePullRequestPreview(enablePullRequestPreview.let(IResolvable::unwrap)) + cdkBuilder.enablePullRequestPreview(enablePullRequestPreview.let(IResolvable.Companion::unwrap)) } /** * @param environmentVariables The environment variables for the branch. */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public interface CfnBranchProps { * @param tags The tag for the branch. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomain.kt index 8687f7a893..e8d7b7d978 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomain.kt @@ -56,8 +56,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.amplify.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.amplify.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -194,14 +194,14 @@ public open class CfnDomain( * The type of SSL/TLS certificate to use for your custom domain. */ public open fun certificateSettings(`value`: IResolvable) { - unwrap(this).setCertificateSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificateSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The type of SSL/TLS certificate to use for your custom domain. */ public open fun certificateSettings(`value`: CertificateSettingsProperty) { - unwrap(this).setCertificateSettings(`value`.let(CertificateSettingsProperty::unwrap)) + unwrap(this).setCertificateSettings(`value`.let(CertificateSettingsProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnDomain( * Enables the automated creation of subdomains for branches. */ public open fun enableAutoSubDomain(`value`: IResolvable) { - unwrap(this).setEnableAutoSubDomain(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableAutoSubDomain(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnDomain( * The setting for the subdomain. */ public open fun subDomainSettings(`value`: IResolvable) { - unwrap(this).setSubDomainSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubDomainSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnDomain( * @param certificateSettings The type of SSL/TLS certificate to use for your custom domain. */ override fun certificateSettings(certificateSettings: IResolvable) { - cdkBuilder.certificateSettings(certificateSettings.let(IResolvable::unwrap)) + cdkBuilder.certificateSettings(certificateSettings.let(IResolvable.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnDomain( * @param certificateSettings The type of SSL/TLS certificate to use for your custom domain. */ override fun certificateSettings(certificateSettings: CertificateSettingsProperty) { - cdkBuilder.certificateSettings(certificateSettings.let(CertificateSettingsProperty::unwrap)) + cdkBuilder.certificateSettings(certificateSettings.let(CertificateSettingsProperty.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CfnDomain( * @param enableAutoSubDomain Enables the automated creation of subdomains for branches. */ override fun enableAutoSubDomain(enableAutoSubDomain: IResolvable) { - cdkBuilder.enableAutoSubDomain(enableAutoSubDomain.let(IResolvable::unwrap)) + cdkBuilder.enableAutoSubDomain(enableAutoSubDomain.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnDomain( * @param subDomainSettings The setting for the subdomain. */ override fun subDomainSettings(subDomainSettings: IResolvable) { - cdkBuilder.subDomainSettings(subDomainSettings.let(IResolvable::unwrap)) + cdkBuilder.subDomainSettings(subDomainSettings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomainProps.kt index 7119aca874..cb0d024dd3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplify/CfnDomainProps.kt @@ -220,7 +220,7 @@ public interface CfnDomainProps { * provisions and manages for you. */ override fun certificateSettings(certificateSettings: IResolvable) { - cdkBuilder.certificateSettings(certificateSettings.let(IResolvable::unwrap)) + cdkBuilder.certificateSettings(certificateSettings.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface CfnDomainProps { * provisions and manages for you. */ override fun certificateSettings(certificateSettings: CfnDomain.CertificateSettingsProperty) { - cdkBuilder.certificateSettings(certificateSettings.let(CfnDomain.CertificateSettingsProperty::unwrap)) + cdkBuilder.certificateSettings(certificateSettings.let(CfnDomain.CertificateSettingsProperty.Companion::unwrap)) } /** @@ -261,14 +261,14 @@ public interface CfnDomainProps { * @param enableAutoSubDomain Enables the automated creation of subdomains for branches. */ override fun enableAutoSubDomain(enableAutoSubDomain: IResolvable) { - cdkBuilder.enableAutoSubDomain(enableAutoSubDomain.let(IResolvable::unwrap)) + cdkBuilder.enableAutoSubDomain(enableAutoSubDomain.let(IResolvable.Companion::unwrap)) } /** * @param subDomainSettings The setting for the subdomain. */ override fun subDomainSettings(subDomainSettings: IResolvable) { - cdkBuilder.subDomainSettings(subDomainSettings.let(IResolvable::unwrap)) + cdkBuilder.subDomainSettings(subDomainSettings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponent.kt index d3130534d0..87a7e88857 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponent.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponent.kt @@ -39,7 +39,7 @@ public open class CfnComponent( cdkObject: software.amazon.awscdk.services.amplifyuibuilder.CfnComponent, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.amplifyuibuilder.CfnComponent(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.amplifyuibuilder.CfnComponent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -48,8 +48,8 @@ public open class CfnComponent( id: String, props: CfnComponentProps, ) : - this(software.amazon.awscdk.services.amplifyuibuilder.CfnComponent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnComponentProps::unwrap)) + this(software.amazon.awscdk.services.amplifyuibuilder.CfnComponent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnComponentProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnComponent( * The information to connect a component's properties to data at runtime. */ public open fun bindingProperties(`value`: IResolvable) { - unwrap(this).setBindingProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setBindingProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class CfnComponent( * A list of the component's `ComponentChild` instances. */ public open fun children(`value`: IResolvable) { - unwrap(this).setChildren(`value`.let(IResolvable::unwrap)) + unwrap(this).setChildren(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnComponent( * The data binding configuration for the component's properties. */ public open fun collectionProperties(`value`: IResolvable) { - unwrap(this).setCollectionProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setCollectionProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnComponent( * Describes the events that can be raised on the component. */ public open fun events(`value`: IResolvable) { - unwrap(this).setEvents(`value`.let(IResolvable::unwrap)) + unwrap(this).setEvents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnComponent( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnComponent( * Describes the component's properties. */ public open fun properties(`value`: IResolvable) { - unwrap(this).setProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnComponent( * A list of the component's variants. */ public open fun variants(`value`: IResolvable) { - unwrap(this).setVariants(`value`.let(IResolvable::unwrap)) + unwrap(this).setVariants(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public open class CfnComponent( * runtime. */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnComponent( * @param children A list of the component's `ComponentChild` instances. */ override fun children(children: IResolvable) { - cdkBuilder.children(children.let(IResolvable::unwrap)) + cdkBuilder.children(children.let(IResolvable.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnComponent( * @param collectionProperties The data binding configuration for the component's properties. */ override fun collectionProperties(collectionProperties: IResolvable) { - cdkBuilder.collectionProperties(collectionProperties.let(IResolvable::unwrap)) + cdkBuilder.collectionProperties(collectionProperties.let(IResolvable.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class CfnComponent( * @param events Describes the events that can be raised on the component. */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class CfnComponent( * @param properties Describes the component's properties. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnComponent( * @param variants A list of the component's variants. */ override fun variants(variants: IResolvable) { - cdkBuilder.variants(variants.let(IResolvable::unwrap)) + cdkBuilder.variants(variants.let(IResolvable.Companion::unwrap)) } /** @@ -1376,7 +1376,7 @@ public open class CfnComponent( * Specify this value for a navigation action. */ override fun anchor(anchor: IResolvable) { - cdkBuilder.anchor(anchor.let(IResolvable::unwrap)) + cdkBuilder.anchor(anchor.let(IResolvable.Companion::unwrap)) } /** @@ -1384,7 +1384,7 @@ public open class CfnComponent( * Specify this value for a navigation action. */ override fun anchor(anchor: ComponentPropertyProperty) { - cdkBuilder.anchor(anchor.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.anchor(anchor.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -1402,7 +1402,7 @@ public open class CfnComponent( * Use when the action performs an operation on an Amplify DataStore model. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -1419,7 +1419,7 @@ public open class CfnComponent( * Specify this value for an auth sign out action. */ override fun global(global: IResolvable) { - cdkBuilder.global(global.let(IResolvable::unwrap)) + cdkBuilder.global(global.let(IResolvable.Companion::unwrap)) } /** @@ -1427,7 +1427,7 @@ public open class CfnComponent( * Specify this value for an auth sign out action. */ override fun global(global: ComponentPropertyProperty) { - cdkBuilder.global(global.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.global(global.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -1443,14 +1443,14 @@ public open class CfnComponent( * @param id The unique ID of the component that the `ActionParameters` apply to. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** * @param id The unique ID of the component that the `ActionParameters` apply to. */ override fun id(id: ComponentPropertyProperty) { - cdkBuilder.id(id.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.id(id.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -1473,14 +1473,14 @@ public open class CfnComponent( * @param state A key-value pair that specifies the state property name and its initial value. */ override fun state(state: IResolvable) { - cdkBuilder.state(state.let(IResolvable::unwrap)) + cdkBuilder.state(state.let(IResolvable.Companion::unwrap)) } /** * @param state A key-value pair that specifies the state property name and its initial value. */ override fun state(state: MutationActionSetStateParameterProperty) { - cdkBuilder.state(state.let(MutationActionSetStateParameterProperty::unwrap)) + cdkBuilder.state(state.let(MutationActionSetStateParameterProperty.Companion::unwrap)) } /** @@ -1495,14 +1495,14 @@ public open class CfnComponent( * @param target The element within the same component to modify when the action occurs. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** * @param target The element within the same component to modify when the action occurs. */ override fun target(target: ComponentPropertyProperty) { - cdkBuilder.target(target.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.target(target.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -1518,7 +1518,7 @@ public open class CfnComponent( * Valid values are `url` and `anchor` . This value is required for a navigation action. */ override fun type(type: IResolvable) { - cdkBuilder.type(type.let(IResolvable::unwrap)) + cdkBuilder.type(type.let(IResolvable.Companion::unwrap)) } /** @@ -1526,7 +1526,7 @@ public open class CfnComponent( * Valid values are `url` and `anchor` . This value is required for a navigation action. */ override fun type(type: ComponentPropertyProperty) { - cdkBuilder.type(type.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.type(type.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -1543,7 +1543,7 @@ public open class CfnComponent( * Specify this value for a navigation action. */ override fun url(url: IResolvable) { - cdkBuilder.url(url.let(IResolvable::unwrap)) + cdkBuilder.url(url.let(IResolvable.Companion::unwrap)) } /** @@ -1551,7 +1551,7 @@ public open class CfnComponent( * Specify this value for a navigation action. */ override fun url(url: ComponentPropertyProperty) { - cdkBuilder.url(url.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.url(url.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -1861,7 +1861,7 @@ public open class CfnComponent( * @param predicates A list of predicates for binding a component's properties to data. */ override fun predicates(predicates: IResolvable) { - cdkBuilder.predicates(predicates.let(IResolvable::unwrap)) + cdkBuilder.predicates(predicates.let(IResolvable.Companion::unwrap)) } /** @@ -2081,7 +2081,7 @@ public open class CfnComponent( * @param bindingProperties Describes the properties to customize with data at runtime. */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -2089,7 +2089,7 @@ public open class CfnComponent( */ override fun bindingProperties(bindingProperties: ComponentBindingPropertiesValuePropertiesProperty) { - cdkBuilder.bindingProperties(bindingProperties.let(ComponentBindingPropertiesValuePropertiesProperty::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(ComponentBindingPropertiesValuePropertiesProperty.Companion::unwrap)) } /** @@ -2655,7 +2655,7 @@ public open class CfnComponent( * @param children The list of `ComponentChild` instances for this component. */ override fun children(children: IResolvable) { - cdkBuilder.children(children.let(IResolvable::unwrap)) + cdkBuilder.children(children.let(IResolvable.Companion::unwrap)) } /** @@ -2683,7 +2683,7 @@ public open class CfnComponent( * to components. */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -2707,7 +2707,7 @@ public open class CfnComponent( * You can't specify `tags` as a valid property for `properties` . */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -3014,14 +3014,14 @@ public open class CfnComponent( * @param elseValue The value to assign to the property if the condition is not met. */ override fun elseValue(elseValue: IResolvable) { - cdkBuilder.elseValue(elseValue.let(IResolvable::unwrap)) + cdkBuilder.elseValue(elseValue.let(IResolvable.Companion::unwrap)) } /** * @param elseValue The value to assign to the property if the condition is not met. */ override fun elseValue(elseValue: ComponentPropertyProperty) { - cdkBuilder.elseValue(elseValue.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.elseValue(elseValue.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -3073,14 +3073,14 @@ public open class CfnComponent( * @param then The value to assign to the property if the condition is met. */ override fun then(then: IResolvable) { - cdkBuilder.then(then.let(IResolvable::unwrap)) + cdkBuilder.then(then.let(IResolvable.Companion::unwrap)) } /** * @param then The value to assign to the property if the condition is met. */ override fun then(then: ComponentPropertyProperty) { - cdkBuilder.then(then.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.then(then.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -3330,7 +3330,7 @@ public open class CfnComponent( * Use this property to retrieve only a subset of the data in a collection. */ override fun predicate(predicate: IResolvable) { - cdkBuilder.predicate(predicate.let(IResolvable::unwrap)) + cdkBuilder.predicate(predicate.let(IResolvable.Companion::unwrap)) } /** @@ -3338,7 +3338,7 @@ public open class CfnComponent( * Use this property to retrieve only a subset of the data in a collection. */ override fun predicate(predicate: PredicateProperty) { - cdkBuilder.predicate(predicate.let(PredicateProperty::unwrap)) + cdkBuilder.predicate(predicate.let(PredicateProperty.Companion::unwrap)) } /** @@ -3354,7 +3354,7 @@ public open class CfnComponent( * @param sort Describes how to sort the component's properties. */ override fun sort(sort: IResolvable) { - cdkBuilder.sort(sort.let(IResolvable::unwrap)) + cdkBuilder.sort(sort.let(IResolvable.Companion::unwrap)) } /** @@ -3838,14 +3838,14 @@ public open class CfnComponent( * @param parameters Describes information about the action. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** * @param parameters Describes information about the action. */ override fun parameters(parameters: ActionParametersProperty) { - cdkBuilder.parameters(parameters.let(ActionParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(ActionParametersProperty.Companion::unwrap)) } /** @@ -4354,7 +4354,7 @@ public open class CfnComponent( * @param bindingProperties The information to bind the component property to data at runtime. */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -4362,7 +4362,7 @@ public open class CfnComponent( */ override fun bindingProperties(bindingProperties: ComponentPropertyBindingPropertiesProperty) { - cdkBuilder.bindingProperties(bindingProperties.let(ComponentPropertyBindingPropertiesProperty::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(ComponentPropertyBindingPropertiesProperty.Companion::unwrap)) } /** @@ -4378,7 +4378,7 @@ public open class CfnComponent( * @param bindings The information to bind the component property to form data. */ override fun bindings(bindings: IResolvable) { - cdkBuilder.bindings(bindings.let(IResolvable::unwrap)) + cdkBuilder.bindings(bindings.let(IResolvable.Companion::unwrap)) } /** @@ -4394,7 +4394,7 @@ public open class CfnComponent( * Use this for collection components. */ override fun collectionBindingProperties(collectionBindingProperties: IResolvable) { - cdkBuilder.collectionBindingProperties(collectionBindingProperties.let(IResolvable::unwrap)) + cdkBuilder.collectionBindingProperties(collectionBindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -4404,7 +4404,7 @@ public open class CfnComponent( */ override fun collectionBindingProperties(collectionBindingProperties: ComponentPropertyBindingPropertiesProperty) { - cdkBuilder.collectionBindingProperties(collectionBindingProperties.let(ComponentPropertyBindingPropertiesProperty::unwrap)) + cdkBuilder.collectionBindingProperties(collectionBindingProperties.let(ComponentPropertyBindingPropertiesProperty.Companion::unwrap)) } /** @@ -4431,7 +4431,7 @@ public open class CfnComponent( * to this component property. */ override fun concat(concat: IResolvable) { - cdkBuilder.concat(concat.let(IResolvable::unwrap)) + cdkBuilder.concat(concat.let(IResolvable.Companion::unwrap)) } /** @@ -4453,7 +4453,7 @@ public open class CfnComponent( * property. */ override fun condition(condition: IResolvable) { - cdkBuilder.condition(condition.let(IResolvable::unwrap)) + cdkBuilder.condition(condition.let(IResolvable.Companion::unwrap)) } /** @@ -4461,7 +4461,7 @@ public open class CfnComponent( * property. */ override fun condition(condition: ComponentConditionPropertyProperty) { - cdkBuilder.condition(condition.let(ComponentConditionPropertyProperty::unwrap)) + cdkBuilder.condition(condition.let(ComponentConditionPropertyProperty.Companion::unwrap)) } /** @@ -4486,7 +4486,7 @@ public open class CfnComponent( * after importing it. */ override fun configured(configured: IResolvable) { - cdkBuilder.configured(configured.let(IResolvable::unwrap)) + cdkBuilder.configured(configured.let(IResolvable.Companion::unwrap)) } /** @@ -4766,7 +4766,7 @@ public open class CfnComponent( * @param variantValues The combination of variants that comprise this variant. */ override fun variantValues(variantValues: IResolvable) { - cdkBuilder.variantValues(variantValues.let(IResolvable::unwrap)) + cdkBuilder.variantValues(variantValues.let(IResolvable.Companion::unwrap)) } /** @@ -5065,14 +5065,14 @@ public open class CfnComponent( * @param set The state configuration to assign to the property. */ override fun `set`(`set`: IResolvable) { - cdkBuilder.`set`(`set`.let(IResolvable::unwrap)) + cdkBuilder.`set`(`set`.let(IResolvable.Companion::unwrap)) } /** * @param set The state configuration to assign to the property. */ override fun `set`(`set`: ComponentPropertyProperty) { - cdkBuilder.`set`(`set`.let(ComponentPropertyProperty::unwrap)) + cdkBuilder.`set`(`set`.let(ComponentPropertyProperty.Companion::unwrap)) } /** @@ -5264,7 +5264,7 @@ public open class CfnComponent( * @param and A list of predicates to combine logically. */ override fun and(and: IResolvable) { - cdkBuilder.and(and.let(IResolvable::unwrap)) + cdkBuilder.and(and.let(IResolvable.Companion::unwrap)) } /** @@ -5311,7 +5311,7 @@ public open class CfnComponent( * @param or A list of predicates to combine logically. */ override fun or(or: IResolvable) { - cdkBuilder.or(or.let(IResolvable::unwrap)) + cdkBuilder.or(or.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponentProps.kt index 50396acc53..efff6a6f42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnComponentProps.kt @@ -292,7 +292,7 @@ public interface CfnComponentProps { * You can't specify `tags` as a valid property for `bindingProperties` . */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface CfnComponentProps { * @param children A list of the component's `ComponentChild` instances. */ override fun children(children: IResolvable) { - cdkBuilder.children(children.let(IResolvable::unwrap)) + cdkBuilder.children(children.let(IResolvable.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public interface CfnComponentProps { * `collectionProperties` . */ override fun collectionProperties(collectionProperties: IResolvable) { - cdkBuilder.collectionProperties(collectionProperties.let(IResolvable::unwrap)) + cdkBuilder.collectionProperties(collectionProperties.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public interface CfnComponentProps { * components. */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public interface CfnComponentProps { * You can't specify `tags` as a valid property for `properties` . */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface CfnComponentProps { * A variant is a unique style configuration of a main component. */ override fun variants(variants: IResolvable) { - cdkBuilder.variants(variants.let(IResolvable::unwrap)) + cdkBuilder.variants(variants.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnForm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnForm.kt index d3956fda94..778d20479c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnForm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnForm.kt @@ -187,7 +187,7 @@ public open class CfnForm( cdkObject: software.amazon.awscdk.services.amplifyuibuilder.CfnForm, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.amplifyuibuilder.CfnForm(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.amplifyuibuilder.CfnForm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -196,8 +196,8 @@ public open class CfnForm( id: String, props: CfnFormProps, ) : - this(software.amazon.awscdk.services.amplifyuibuilder.CfnForm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFormProps::unwrap)) + this(software.amazon.awscdk.services.amplifyuibuilder.CfnForm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFormProps.Companion::unwrap)) ) public constructor( @@ -233,14 +233,14 @@ public open class CfnForm( * The `FormCTA` object that stores the call to action configuration for the form. */ public open fun cta(`value`: IResolvable) { - unwrap(this).setCta(`value`.let(IResolvable::unwrap)) + unwrap(this).setCta(`value`.let(IResolvable.Companion::unwrap)) } /** * The `FormCTA` object that stores the call to action configuration for the form. */ public open fun cta(`value`: FormCTAProperty) { - unwrap(this).setCta(`value`.let(FormCTAProperty::unwrap)) + unwrap(this).setCta(`value`.let(FormCTAProperty.Companion::unwrap)) } /** @@ -260,14 +260,14 @@ public open class CfnForm( * The type of data source to use to create the form. */ public open fun dataType(`value`: IResolvable) { - unwrap(this).setDataType(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataType(`value`.let(IResolvable.Companion::unwrap)) } /** * The type of data source to use to create the form. */ public open fun dataType(`value`: FormDataTypeConfigProperty) { - unwrap(this).setDataType(`value`.let(FormDataTypeConfigProperty::unwrap)) + unwrap(this).setDataType(`value`.let(FormDataTypeConfigProperty.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnForm( * The configuration information for the form's fields. */ public open fun fields(`value`: IResolvable) { - unwrap(this).setFields(`value`.let(IResolvable::unwrap)) + unwrap(this).setFields(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnForm( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class CfnForm( * The configuration information for the visual helper elements for the form. */ public open fun sectionalElements(`value`: IResolvable) { - unwrap(this).setSectionalElements(`value`.let(IResolvable::unwrap)) + unwrap(this).setSectionalElements(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -394,14 +394,14 @@ public open class CfnForm( * The configuration for the form's style. */ public open fun style(`value`: IResolvable) { - unwrap(this).setStyle(`value`.let(IResolvable::unwrap)) + unwrap(this).setStyle(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for the form's style. */ public open fun style(`value`: FormStyleProperty) { - unwrap(this).setStyle(`value`.let(FormStyleProperty::unwrap)) + unwrap(this).setStyle(`value`.let(FormStyleProperty.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class CfnForm( * @param cta The `FormCTA` object that stores the call to action configuration for the form. */ override fun cta(cta: IResolvable) { - cdkBuilder.cta(cta.let(IResolvable::unwrap)) + cdkBuilder.cta(cta.let(IResolvable.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public open class CfnForm( * @param cta The `FormCTA` object that stores the call to action configuration for the form. */ override fun cta(cta: FormCTAProperty) { - cdkBuilder.cta(cta.let(FormCTAProperty::unwrap)) + cdkBuilder.cta(cta.let(FormCTAProperty.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnForm( * @param dataType The type of data source to use to create the form. */ override fun dataType(dataType: IResolvable) { - cdkBuilder.dataType(dataType.let(IResolvable::unwrap)) + cdkBuilder.dataType(dataType.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnForm( * @param dataType The type of data source to use to create the form. */ override fun dataType(dataType: FormDataTypeConfigProperty) { - cdkBuilder.dataType(dataType.let(FormDataTypeConfigProperty::unwrap)) + cdkBuilder.dataType(dataType.let(FormDataTypeConfigProperty.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnForm( * @param fields The configuration information for the form's fields. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public open class CfnForm( * form. */ override fun sectionalElements(sectionalElements: IResolvable) { - cdkBuilder.sectionalElements(sectionalElements.let(IResolvable::unwrap)) + cdkBuilder.sectionalElements(sectionalElements.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnForm( * @param style The configuration for the form's style. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** @@ -800,7 +800,7 @@ public open class CfnForm( * @param style The configuration for the form's style. */ override fun style(style: FormStyleProperty) { - cdkBuilder.style(style.let(FormStyleProperty::unwrap)) + cdkBuilder.style(style.let(FormStyleProperty.Companion::unwrap)) } /** @@ -1060,7 +1060,7 @@ public open class CfnForm( * @param excluded Specifies whether to hide a field. */ override fun excluded(excluded: IResolvable) { - cdkBuilder.excluded(excluded.let(IResolvable::unwrap)) + cdkBuilder.excluded(excluded.let(IResolvable.Companion::unwrap)) } /** @@ -1068,7 +1068,7 @@ public open class CfnForm( * field. */ override fun inputType(inputType: IResolvable) { - cdkBuilder.inputType(inputType.let(IResolvable::unwrap)) + cdkBuilder.inputType(inputType.let(IResolvable.Companion::unwrap)) } /** @@ -1076,7 +1076,7 @@ public open class CfnForm( * field. */ override fun inputType(inputType: FieldInputConfigProperty) { - cdkBuilder.inputType(inputType.let(FieldInputConfigProperty::unwrap)) + cdkBuilder.inputType(inputType.let(FieldInputConfigProperty.Companion::unwrap)) } /** @@ -1099,14 +1099,14 @@ public open class CfnForm( * @param position Specifies the field position. */ override fun position(position: IResolvable) { - cdkBuilder.position(position.let(IResolvable::unwrap)) + cdkBuilder.position(position.let(IResolvable.Companion::unwrap)) } /** * @param position Specifies the field position. */ override fun position(position: FieldPositionProperty) { - cdkBuilder.position(position.let(FieldPositionProperty::unwrap)) + cdkBuilder.position(position.let(FieldPositionProperty.Companion::unwrap)) } /** @@ -1121,7 +1121,7 @@ public open class CfnForm( * @param validations The validations to perform on the value in the field. */ override fun validations(validations: IResolvable) { - cdkBuilder.validations(validations.let(IResolvable::unwrap)) + cdkBuilder.validations(validations.let(IResolvable.Companion::unwrap)) } /** @@ -1538,7 +1538,7 @@ public open class CfnForm( * @param defaultChecked Specifies whether a field has a default value. */ override fun defaultChecked(defaultChecked: IResolvable) { - cdkBuilder.defaultChecked(defaultChecked.let(IResolvable::unwrap)) + cdkBuilder.defaultChecked(defaultChecked.let(IResolvable.Companion::unwrap)) } /** @@ -1566,14 +1566,14 @@ public open class CfnForm( * @param fileUploaderConfig The configuration for the file uploader field. */ override fun fileUploaderConfig(fileUploaderConfig: IResolvable) { - cdkBuilder.fileUploaderConfig(fileUploaderConfig.let(IResolvable::unwrap)) + cdkBuilder.fileUploaderConfig(fileUploaderConfig.let(IResolvable.Companion::unwrap)) } /** * @param fileUploaderConfig The configuration for the file uploader field. */ override fun fileUploaderConfig(fileUploaderConfig: FileUploaderFieldConfigProperty) { - cdkBuilder.fileUploaderConfig(fileUploaderConfig.let(FileUploaderFieldConfigProperty::unwrap)) + cdkBuilder.fileUploaderConfig(fileUploaderConfig.let(FileUploaderFieldConfigProperty.Companion::unwrap)) } /** @@ -1598,7 +1598,7 @@ public open class CfnForm( * This property is ignored if the `dataSourceType` for the form is a Data Store. */ override fun isArray(isArray: IResolvable) { - cdkBuilder.isArray(isArray.let(IResolvable::unwrap)) + cdkBuilder.isArray(isArray.let(IResolvable.Companion::unwrap)) } /** @@ -1640,7 +1640,7 @@ public open class CfnForm( * @param readOnly Specifies a read only field. */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } /** @@ -1654,7 +1654,7 @@ public open class CfnForm( * @param required Specifies a field that requires input. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } /** @@ -1683,7 +1683,7 @@ public open class CfnForm( * runtime. */ override fun valueMappings(valueMappings: IResolvable) { - cdkBuilder.valueMappings(valueMappings.let(IResolvable::unwrap)) + cdkBuilder.valueMappings(valueMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1691,7 +1691,7 @@ public open class CfnForm( * runtime. */ override fun valueMappings(valueMappings: ValueMappingsProperty) { - cdkBuilder.valueMappings(valueMappings.let(ValueMappingsProperty::unwrap)) + cdkBuilder.valueMappings(valueMappings.let(ValueMappingsProperty.Companion::unwrap)) } /** @@ -2083,7 +2083,7 @@ public open class CfnForm( * @param numValues The validation to perform on a number value. */ override fun numValues(numValues: IResolvable) { - cdkBuilder.numValues(numValues.let(IResolvable::unwrap)) + cdkBuilder.numValues(numValues.let(IResolvable.Companion::unwrap)) } /** @@ -2395,7 +2395,7 @@ public open class CfnForm( * file uploader uploads a chunk at a time. */ override fun isResumable(isResumable: IResolvable) { - cdkBuilder.isResumable(isResumable.let(IResolvable::unwrap)) + cdkBuilder.isResumable(isResumable.let(IResolvable.Companion::unwrap)) } /** @@ -2429,7 +2429,7 @@ public open class CfnForm( * The default value is `true` to display the image preview. */ override fun showThumbnails(showThumbnails: IResolvable) { - cdkBuilder.showThumbnails(showThumbnails.let(IResolvable::unwrap)) + cdkBuilder.showThumbnails(showThumbnails.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2625,21 +2625,21 @@ public open class CfnForm( * @param excluded Specifies whether the button is visible on the form. */ override fun excluded(excluded: IResolvable) { - cdkBuilder.excluded(excluded.let(IResolvable::unwrap)) + cdkBuilder.excluded(excluded.let(IResolvable.Companion::unwrap)) } /** * @param position The position of the button. */ override fun position(position: IResolvable) { - cdkBuilder.position(position.let(IResolvable::unwrap)) + cdkBuilder.position(position.let(IResolvable.Companion::unwrap)) } /** * @param position The position of the button. */ override fun position(position: FieldPositionProperty) { - cdkBuilder.position(position.let(FieldPositionProperty::unwrap)) + cdkBuilder.position(position.let(FieldPositionProperty.Companion::unwrap)) } /** @@ -2841,14 +2841,14 @@ public open class CfnForm( * @param cancel Displays a cancel button. */ override fun cancel(cancel: IResolvable) { - cdkBuilder.cancel(cancel.let(IResolvable::unwrap)) + cdkBuilder.cancel(cancel.let(IResolvable.Companion::unwrap)) } /** * @param cancel Displays a cancel button. */ override fun cancel(cancel: FormButtonProperty) { - cdkBuilder.cancel(cancel.let(FormButtonProperty::unwrap)) + cdkBuilder.cancel(cancel.let(FormButtonProperty.Companion::unwrap)) } /** @@ -2863,14 +2863,14 @@ public open class CfnForm( * @param clear Displays a clear button. */ override fun clear(clear: IResolvable) { - cdkBuilder.clear(clear.let(IResolvable::unwrap)) + cdkBuilder.clear(clear.let(IResolvable.Companion::unwrap)) } /** * @param clear Displays a clear button. */ override fun clear(clear: FormButtonProperty) { - cdkBuilder.clear(clear.let(FormButtonProperty::unwrap)) + cdkBuilder.clear(clear.let(FormButtonProperty.Companion::unwrap)) } /** @@ -2892,14 +2892,14 @@ public open class CfnForm( * @param submit Displays a submit button. */ override fun submit(submit: IResolvable) { - cdkBuilder.submit(submit.let(IResolvable::unwrap)) + cdkBuilder.submit(submit.let(IResolvable.Companion::unwrap)) } /** * @param submit Displays a submit button. */ override fun submit(submit: FormButtonProperty) { - cdkBuilder.submit(submit.let(FormButtonProperty::unwrap)) + cdkBuilder.submit(submit.let(FormButtonProperty.Companion::unwrap)) } /** @@ -3243,7 +3243,7 @@ public open class CfnForm( * @param bindingProperties Describes the properties to customize with data at runtime. */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -3251,7 +3251,7 @@ public open class CfnForm( */ override fun bindingProperties(bindingProperties: FormInputBindingPropertiesValuePropertiesProperty) { - cdkBuilder.bindingProperties(bindingProperties.let(FormInputBindingPropertiesValuePropertiesProperty::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(FormInputBindingPropertiesValuePropertiesProperty.Companion::unwrap)) } /** @@ -3535,7 +3535,7 @@ public open class CfnForm( * @param bindingProperties The information to bind fields to data at runtime. */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -3543,7 +3543,7 @@ public open class CfnForm( */ override fun bindingProperties(bindingProperties: FormInputValuePropertyBindingPropertiesProperty) { - cdkBuilder.bindingProperties(bindingProperties.let(FormInputValuePropertyBindingPropertiesProperty::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(FormInputValuePropertyBindingPropertiesProperty.Companion::unwrap)) } /** @@ -3561,7 +3561,7 @@ public open class CfnForm( * this field property. */ override fun concat(concat: IResolvable) { - cdkBuilder.concat(concat.let(IResolvable::unwrap)) + cdkBuilder.concat(concat.let(IResolvable.Companion::unwrap)) } /** @@ -3862,14 +3862,14 @@ public open class CfnForm( * @param horizontalGap The spacing for the horizontal gap. */ override fun horizontalGap(horizontalGap: IResolvable) { - cdkBuilder.horizontalGap(horizontalGap.let(IResolvable::unwrap)) + cdkBuilder.horizontalGap(horizontalGap.let(IResolvable.Companion::unwrap)) } /** * @param horizontalGap The spacing for the horizontal gap. */ override fun horizontalGap(horizontalGap: FormStyleConfigProperty) { - cdkBuilder.horizontalGap(horizontalGap.let(FormStyleConfigProperty::unwrap)) + cdkBuilder.horizontalGap(horizontalGap.let(FormStyleConfigProperty.Companion::unwrap)) } /** @@ -3884,14 +3884,14 @@ public open class CfnForm( * @param outerPadding The size of the outer padding for the form. */ override fun outerPadding(outerPadding: IResolvable) { - cdkBuilder.outerPadding(outerPadding.let(IResolvable::unwrap)) + cdkBuilder.outerPadding(outerPadding.let(IResolvable.Companion::unwrap)) } /** * @param outerPadding The size of the outer padding for the form. */ override fun outerPadding(outerPadding: FormStyleConfigProperty) { - cdkBuilder.outerPadding(outerPadding.let(FormStyleConfigProperty::unwrap)) + cdkBuilder.outerPadding(outerPadding.let(FormStyleConfigProperty.Companion::unwrap)) } /** @@ -3906,14 +3906,14 @@ public open class CfnForm( * @param verticalGap The spacing for the vertical gap. */ override fun verticalGap(verticalGap: IResolvable) { - cdkBuilder.verticalGap(verticalGap.let(IResolvable::unwrap)) + cdkBuilder.verticalGap(verticalGap.let(IResolvable.Companion::unwrap)) } /** * @param verticalGap The spacing for the vertical gap. */ override fun verticalGap(verticalGap: FormStyleConfigProperty) { - cdkBuilder.verticalGap(verticalGap.let(FormStyleConfigProperty::unwrap)) + cdkBuilder.verticalGap(verticalGap.let(FormStyleConfigProperty.Companion::unwrap)) } /** @@ -4130,7 +4130,7 @@ public open class CfnForm( * data model. */ override fun excluded(excluded: IResolvable) { - cdkBuilder.excluded(excluded.let(IResolvable::unwrap)) + cdkBuilder.excluded(excluded.let(IResolvable.Companion::unwrap)) } /** @@ -4154,7 +4154,7 @@ public open class CfnForm( * element. */ override fun position(position: IResolvable) { - cdkBuilder.position(position.let(IResolvable::unwrap)) + cdkBuilder.position(position.let(IResolvable.Companion::unwrap)) } /** @@ -4162,7 +4162,7 @@ public open class CfnForm( * element. */ override fun position(position: FieldPositionProperty) { - cdkBuilder.position(position.let(FieldPositionProperty::unwrap)) + cdkBuilder.position(position.let(FieldPositionProperty.Companion::unwrap)) } /** @@ -4366,14 +4366,14 @@ public open class CfnForm( * @param displayValue The value to display for the complex object. */ override fun displayValue(displayValue: IResolvable) { - cdkBuilder.displayValue(displayValue.let(IResolvable::unwrap)) + cdkBuilder.displayValue(displayValue.let(IResolvable.Companion::unwrap)) } /** * @param displayValue The value to display for the complex object. */ override fun displayValue(displayValue: FormInputValuePropertyProperty) { - cdkBuilder.displayValue(displayValue.let(FormInputValuePropertyProperty::unwrap)) + cdkBuilder.displayValue(displayValue.let(FormInputValuePropertyProperty.Companion::unwrap)) } /** @@ -4388,14 +4388,14 @@ public open class CfnForm( * @param value The complex object. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The complex object. */ override fun `value`(`value`: FormInputValuePropertyProperty) { - cdkBuilder.`value`(`value`.let(FormInputValuePropertyProperty::unwrap)) + cdkBuilder.`value`(`value`.let(FormInputValuePropertyProperty.Companion::unwrap)) } /** @@ -4547,7 +4547,7 @@ public open class CfnForm( * @param bindingProperties The information to bind fields to data at runtime. */ override fun bindingProperties(bindingProperties: IResolvable) { - cdkBuilder.bindingProperties(bindingProperties.let(IResolvable::unwrap)) + cdkBuilder.bindingProperties(bindingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -4561,7 +4561,7 @@ public open class CfnForm( * @param values The value and display value pairs. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnFormProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnFormProps.kt index 4674db9dc9..378fcac070 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnFormProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnFormProps.kt @@ -390,14 +390,14 @@ public interface CfnFormProps { * @param cta The `FormCTA` object that stores the call to action configuration for the form. */ override fun cta(cta: IResolvable) { - cdkBuilder.cta(cta.let(IResolvable::unwrap)) + cdkBuilder.cta(cta.let(IResolvable.Companion::unwrap)) } /** * @param cta The `FormCTA` object that stores the call to action configuration for the form. */ override fun cta(cta: CfnForm.FormCTAProperty) { - cdkBuilder.cta(cta.let(CfnForm.FormCTAProperty::unwrap)) + cdkBuilder.cta(cta.let(CfnForm.FormCTAProperty.Companion::unwrap)) } /** @@ -412,14 +412,14 @@ public interface CfnFormProps { * @param dataType The type of data source to use to create the form. */ override fun dataType(dataType: IResolvable) { - cdkBuilder.dataType(dataType.let(IResolvable::unwrap)) + cdkBuilder.dataType(dataType.let(IResolvable.Companion::unwrap)) } /** * @param dataType The type of data source to use to create the form. */ override fun dataType(dataType: CfnForm.FormDataTypeConfigProperty) { - cdkBuilder.dataType(dataType.let(CfnForm.FormDataTypeConfigProperty::unwrap)) + cdkBuilder.dataType(dataType.let(CfnForm.FormDataTypeConfigProperty.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnFormProps { * @param fields The configuration information for the form's fields. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnFormProps { * These elements are not associated with any data. */ override fun sectionalElements(sectionalElements: IResolvable) { - cdkBuilder.sectionalElements(sectionalElements.let(IResolvable::unwrap)) + cdkBuilder.sectionalElements(sectionalElements.let(IResolvable.Companion::unwrap)) } /** @@ -501,14 +501,14 @@ public interface CfnFormProps { * @param style The configuration for the form's style. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The configuration for the form's style. */ override fun style(style: CfnForm.FormStyleProperty) { - cdkBuilder.style(style.let(CfnForm.FormStyleProperty::unwrap)) + cdkBuilder.style(style.let(CfnForm.FormStyleProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnTheme.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnTheme.kt index ba5328cc29..3053442c6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnTheme.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnTheme.kt @@ -62,7 +62,7 @@ public open class CfnTheme( cdkObject: software.amazon.awscdk.services.amplifyuibuilder.CfnTheme, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.amplifyuibuilder.CfnTheme(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.amplifyuibuilder.CfnTheme(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -71,8 +71,8 @@ public open class CfnTheme( id: String, props: CfnThemeProps, ) : - this(software.amazon.awscdk.services.amplifyuibuilder.CfnTheme(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThemeProps::unwrap)) + this(software.amazon.awscdk.services.amplifyuibuilder.CfnTheme(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThemeProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnTheme( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnTheme( * Describes the properties that can be overriden to customize a theme. */ public open fun overrides(`value`: IResolvable) { - unwrap(this).setOverrides(`value`.let(IResolvable::unwrap)) + unwrap(this).setOverrides(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnTheme( * A list of key-value pairs that defines the properties of the theme. */ public open fun values(`value`: IResolvable) { - unwrap(this).setValues(`value`.let(IResolvable::unwrap)) + unwrap(this).setValues(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnTheme( * @param overrides Describes the properties that can be overriden to customize a theme. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnTheme( * @param values A list of key-value pairs that defines the properties of the theme. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnTheme( * @param children A list of key-value pairs that define the theme's properties. */ override fun children(children: IResolvable) { - cdkBuilder.children(children.let(IResolvable::unwrap)) + cdkBuilder.children(children.let(IResolvable.Companion::unwrap)) } /** @@ -637,14 +637,14 @@ public open class CfnTheme( * @param value The value of the property. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value of the property. */ override fun `value`(`value`: ThemeValueProperty) { - cdkBuilder.`value`(`value`.let(ThemeValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(ThemeValueProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnThemeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnThemeProps.kt index ac8d0d25f6..879a4a053d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnThemeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/amplifyuibuilder/CfnThemeProps.kt @@ -175,7 +175,7 @@ public interface CfnThemeProps { * @param overrides Describes the properties that can be overriden to customize a theme. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface CfnThemeProps { * @param values A list of key-value pairs that defines the properties of the theme. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AccessLogFormat.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AccessLogFormat.kt index 4d44af6ac6..e0e33eb74e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AccessLogFormat.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AccessLogFormat.kt @@ -46,7 +46,7 @@ public open class AccessLogFormat( software.amazon.awscdk.services.apigateway.AccessLogFormat.jsonWithStandardFields().let(AccessLogFormat::wrap) public fun jsonWithStandardFields(fields: JsonWithStandardFieldProps): AccessLogFormat = - software.amazon.awscdk.services.apigateway.AccessLogFormat.jsonWithStandardFields(fields.let(JsonWithStandardFieldProps::unwrap)).let(AccessLogFormat::wrap) + software.amazon.awscdk.services.apigateway.AccessLogFormat.jsonWithStandardFields(fields.let(JsonWithStandardFieldProps.Companion::unwrap)).let(AccessLogFormat::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4591f774534462d212e2135b0ca5f8af84d2e9b6494b7e776a0c1a4eb95e9593") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinition.kt index 0563d20b46..d58e4d6c60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinition.kt @@ -18,12 +18,19 @@ import kotlin.jvm.JvmName * Example: * * ``` - * Integration integration; - * SpecRestApi api = SpecRestApi.Builder.create(this, "books-api") - * .apiDefinition(ApiDefinition.fromAsset("path-to-file.json")) + * AssetApiDefinition myApiDefinition = ApiDefinition.fromAsset("path-to-file.json"); + * SpecRestApi specRestApi = SpecRestApi.Builder.create(this, "my-specrest-api") + * .deploy(false) + * .apiDefinition(myApiDefinition) * .build(); - * Resource booksResource = api.root.addResource("books"); - * booksResource.addMethod("GET", integration); + * // Use `stageName` to deploy to an existing stage + * Deployment deployment = Deployment.Builder.create(this, "my-deployment") + * .api(specRestApi) + * .stageName("dev") + * .retainDeployments(true) + * .build(); + * // Trigger a new deployment on OpenAPI definition updates + * deployment.addToLogicalId(myApiDefinition); * ``` */ public abstract class ApiDefinition( @@ -36,7 +43,7 @@ public abstract class ApiDefinition( * @param scope The binding scope. */ public open fun bind(scope: Construct): ApiDefinitionConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(ApiDefinitionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(ApiDefinitionConfig::wrap) /** * Called after the CFN RestApi resource has been created to allow the Api Definition to bind to @@ -49,7 +56,8 @@ public abstract class ApiDefinition( * @param _restApi */ public open fun bindAfterCreate(scope: Construct, restApi: IRestApi) { - unwrap(this).bindAfterCreate(scope.let(Construct::unwrap), restApi.let(IRestApi::unwrap)) + unwrap(this).bindAfterCreate(scope.let(Construct.Companion::unwrap), + restApi.let(IRestApi.Companion::unwrap)) } private class Wrapper( @@ -62,7 +70,7 @@ public abstract class ApiDefinition( public fun fromAsset(`file`: String, options: AssetOptions): AssetApiDefinition = software.amazon.awscdk.services.apigateway.ApiDefinition.fromAsset(`file`, - options.let(AssetOptions::unwrap)).let(AssetApiDefinition::wrap) + options.let(AssetOptions.Companion::unwrap)).let(AssetApiDefinition::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1fb7424fb7a8091c53e571077a35ba78a28ea3dcadc70091587f610eea2f9998") @@ -70,7 +78,7 @@ public abstract class ApiDefinition( AssetApiDefinition = fromAsset(`file`, AssetOptions(options)) public fun fromBucket(bucket: IBucket, key: String): S3ApiDefinition = - software.amazon.awscdk.services.apigateway.ApiDefinition.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.apigateway.ApiDefinition.fromBucket(bucket.let(IBucket.Companion::unwrap), key).let(S3ApiDefinition::wrap) public fun fromBucket( @@ -78,7 +86,7 @@ public abstract class ApiDefinition( key: String, objectVersion: String, ): S3ApiDefinition = - software.amazon.awscdk.services.apigateway.ApiDefinition.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.apigateway.ApiDefinition.fromBucket(bucket.let(IBucket.Companion::unwrap), key, objectVersion).let(S3ApiDefinition::wrap) public fun fromInline(definition: Any): InlineApiDefinition = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinitionConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinitionConfig.kt index 5160a60720..99d1a80359 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinitionConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiDefinitionConfig.kt @@ -87,7 +87,7 @@ public interface ApiDefinitionConfig { * `inlineDefinition`). */ override fun s3Location(s3Location: ApiDefinitionS3Location) { - cdkBuilder.s3Location(s3Location.let(ApiDefinitionS3Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(ApiDefinitionS3Location.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKey.kt index 4614773746..1203423f24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKey.kt @@ -31,7 +31,7 @@ public open class ApiKey( cdkObject: software.amazon.awscdk.services.apigateway.ApiKey, ) : Resource(cdkObject), IApiKey { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.ApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.ApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -40,8 +40,8 @@ public open class ApiKey( id: String, props: ApiKeyProps, ) : - this(software.amazon.awscdk.services.apigateway.ApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApiKeyProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.ApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApiKeyProps.Companion::unwrap)) ) public constructor( @@ -57,7 +57,7 @@ public open class ApiKey( * @param grantee The principal to grant access to. */ public open fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits the IAM principal all read and write operations through this key. @@ -65,7 +65,7 @@ public open class ApiKey( * @param grantee The principal to grant access to. */ public open fun grantReadWrite(grantee: IGrantable): Grant = - unwrap(this).grantReadWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits the IAM principal all write operations through this key. @@ -73,7 +73,7 @@ public open class ApiKey( * @param grantee The principal to grant access to. */ public open fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The API key ARN. @@ -311,7 +311,7 @@ public open class ApiKey( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class ApiKey( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class ApiKey( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class ApiKey( */ @Deprecated(message = "deprecated in CDK") override fun resources(resources: List) { - cdkBuilder.resources(resources.map(IRestApi::unwrap)) + cdkBuilder.resources(resources.map(IRestApi.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class ApiKey( * @param stages A list of Stages this api key is associated with. */ override fun stages(stages: List) { - cdkBuilder.stages(stages.map(IStage::unwrap)) + cdkBuilder.stages(stages.map(IStage.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class ApiKey( id: String, apiKeyId: String, ): IApiKey = - software.amazon.awscdk.services.apigateway.ApiKey.fromApiKeyId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.apigateway.ApiKey.fromApiKeyId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, apiKeyId).let(IApiKey::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyOptions.kt index 2f57eb4b60..d9b8438485 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyOptions.kt @@ -137,7 +137,7 @@ public interface ApiKeyOptions : ResourceOptions { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface ApiKeyOptions : ResourceOptions { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface ApiKeyOptions : ResourceOptions { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyProps.kt index d0fbc72b3f..bef11277f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ApiKeyProps.kt @@ -254,7 +254,7 @@ public interface ApiKeyProps : ApiKeyOptions { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface ApiKeyProps : ApiKeyOptions { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface ApiKeyProps : ApiKeyOptions { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public interface ApiKeyProps : ApiKeyOptions { */ @Deprecated(message = "deprecated in CDK") override fun resources(resources: List) { - cdkBuilder.resources(resources.map(IRestApi::unwrap)) + cdkBuilder.resources(resources.map(IRestApi.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public interface ApiKeyProps : ApiKeyOptions { * @param stages A list of Stages this api key is associated with. */ override fun stages(stages: List) { - cdkBuilder.stages(stages.map(IStage::unwrap)) + cdkBuilder.stages(stages.map(IStage.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AssetApiDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AssetApiDefinition.kt index 3d49ee964d..37ebae84c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AssetApiDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AssetApiDefinition.kt @@ -22,46 +22,19 @@ import kotlin.jvm.JvmName * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.*; - * import io.cloudshiftdev.awscdk.services.apigateway.*; - * import io.cloudshiftdev.awscdk.services.iam.*; - * DockerImage dockerImage; - * IGrantable grantable; - * ILocalBundling localBundling; - * AssetApiDefinition assetApiDefinition = AssetApiDefinition.Builder.create("path") - * .assetHash("assetHash") - * .assetHashType(AssetHashType.SOURCE) - * .bundling(BundlingOptions.builder() - * .image(dockerImage) - * // the properties below are optional - * .bundlingFileAccess(BundlingFileAccess.VOLUME_COPY) - * .command(List.of("command")) - * .entrypoint(List.of("entrypoint")) - * .environment(Map.of( - * "environmentKey", "environment")) - * .local(localBundling) - * .network("network") - * .outputType(BundlingOutput.ARCHIVED) - * .platform("platform") - * .securityOpt("securityOpt") - * .user("user") - * .volumes(List.of(DockerVolume.builder() - * .containerPath("containerPath") - * .hostPath("hostPath") - * // the properties below are optional - * .consistency(DockerVolumeConsistency.CONSISTENT) - * .build())) - * .volumesFrom(List.of("volumesFrom")) - * .workingDirectory("workingDirectory") - * .build()) - * .deployTime(false) - * .exclude(List.of("exclude")) - * .followSymlinks(SymlinkFollowMode.NEVER) - * .ignoreMode(IgnoreMode.GLOB) - * .readers(List.of(grantable)) + * AssetApiDefinition myApiDefinition = ApiDefinition.fromAsset("path-to-file.json"); + * SpecRestApi specRestApi = SpecRestApi.Builder.create(this, "my-specrest-api") + * .deploy(false) + * .apiDefinition(myApiDefinition) * .build(); + * // Use `stageName` to deploy to an existing stage + * Deployment deployment = Deployment.Builder.create(this, "my-deployment") + * .api(specRestApi) + * .stageName("dev") + * .retainDeployments(true) + * .build(); + * // Trigger a new deployment on OpenAPI definition updates + * deployment.addToLogicalId(myApiDefinition); * ``` */ public open class AssetApiDefinition( @@ -73,7 +46,7 @@ public open class AssetApiDefinition( public constructor(path: String, options: AssetOptions) : this(software.amazon.awscdk.services.apigateway.AssetApiDefinition(path, - options.let(AssetOptions::unwrap)) + options.let(AssetOptions.Companion::unwrap)) ) public constructor(path: String, options: AssetOptions.Builder.() -> Unit) : this(path, @@ -87,7 +60,7 @@ public open class AssetApiDefinition( * @param scope */ public override fun bind(scope: Construct): ApiDefinitionConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(ApiDefinitionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(ApiDefinitionConfig::wrap) /** * Called after the CFN RestApi resource has been created to allow the Api Definition to bind to @@ -100,7 +73,8 @@ public open class AssetApiDefinition( * @param restApi */ public override fun bindAfterCreate(scope: Construct, restApi: IRestApi) { - unwrap(this).bindAfterCreate(scope.let(Construct::unwrap), restApi.let(IRestApi::unwrap)) + unwrap(this).bindAfterCreate(scope.let(Construct.Companion::unwrap), + restApi.let(IRestApi.Companion::unwrap)) } /** @@ -299,7 +273,7 @@ public open class AssetApiDefinition( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -317,7 +291,7 @@ public open class AssetApiDefinition( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -394,7 +368,7 @@ public open class AssetApiDefinition( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -405,7 +379,7 @@ public open class AssetApiDefinition( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -418,7 +392,7 @@ public open class AssetApiDefinition( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegration.kt index 3150c27dd9..f9b8ef6071 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegration.kt @@ -31,7 +31,7 @@ public open class AwsIntegration( cdkObject: software.amazon.awscdk.services.apigateway.AwsIntegration, ) : Integration(cdkObject) { public constructor(props: AwsIntegrationProps) : - this(software.amazon.awscdk.services.apigateway.AwsIntegration(props.let(AwsIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.AwsIntegration(props.let(AwsIntegrationProps.Companion::unwrap)) ) public constructor(props: AwsIntegrationProps.Builder.() -> Unit) : @@ -45,7 +45,7 @@ public open class AwsIntegration( * @param method */ public override fun bind(method: Method): IntegrationConfig = - unwrap(this).bind(method.let(Method::unwrap)).let(IntegrationConfig::wrap) + unwrap(this).bind(method.let(Method.Companion::unwrap)).let(IntegrationConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.apigateway.AwsIntegration]. @@ -190,7 +190,7 @@ public open class AwsIntegration( * @param options Integration options, such as content handling, request/response mapping, etc. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegrationProps.kt index 62efbdb358..48d8751f95 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/AwsIntegrationProps.kt @@ -190,7 +190,7 @@ public interface AwsIntegrationProps { * @param options Integration options, such as content handling, request/response mapping, etc. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMapping.kt index 2b66dc1965..7d3c2c7ab4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMapping.kt @@ -40,8 +40,8 @@ public open class BasePathMapping( id: String, props: BasePathMappingProps, ) : - this(software.amazon.awscdk.services.apigateway.BasePathMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BasePathMappingProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.BasePathMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BasePathMappingProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class BasePathMapping( * @param domainName The DomainName to associate with this base path mapping. */ override fun domainName(domainName: IDomainName) { - cdkBuilder.domainName(domainName.let(IDomainName::unwrap)) + cdkBuilder.domainName(domainName.let(IDomainName.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class BasePathMapping( * @param restApi The RestApi resource to target. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class BasePathMapping( * @param stage The Deployment stage of API [disable-awslint:ref-via-interface]. */ override fun stage(stage: Stage) { - cdkBuilder.stage(stage.let(Stage::unwrap)) + cdkBuilder.stage(stage.let(Stage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.BasePathMapping = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingOptions.kt index aa72106a5c..cfaa7ddc66 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingOptions.kt @@ -102,7 +102,7 @@ public interface BasePathMappingOptions { * @param stage The Deployment stage of API [disable-awslint:ref-via-interface]. */ override fun stage(stage: Stage) { - cdkBuilder.stage(stage.let(Stage::unwrap)) + cdkBuilder.stage(stage.let(Stage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.BasePathMappingOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingProps.kt index 0367034fcf..b597511976 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/BasePathMappingProps.kt @@ -100,21 +100,21 @@ public interface BasePathMappingProps : BasePathMappingOptions { * @param domainName The DomainName to associate with this base path mapping. */ override fun domainName(domainName: IDomainName) { - cdkBuilder.domainName(domainName.let(IDomainName::unwrap)) + cdkBuilder.domainName(domainName.let(IDomainName.Companion::unwrap)) } /** * @param restApi The RestApi resource to target. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** * @param stage The Deployment stage of API [disable-awslint:ref-via-interface]. */ override fun stage(stage: Stage) { - cdkBuilder.stage(stage.let(Stage::unwrap)) + cdkBuilder.stage(stage.let(Stage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.BasePathMappingProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAccount.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAccount.kt index cd25ef4ad9..026fbedf37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAccount.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAccount.kt @@ -35,7 +35,7 @@ public open class CfnAccount( cdkObject: software.amazon.awscdk.services.apigateway.CfnAccount, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.CfnAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.CfnAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -44,8 +44,8 @@ public open class CfnAccount( id: String, props: CfnAccountProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccountProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccountProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnAccount( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKey.kt index 38148d96fb..c7a160586d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKey.kt @@ -57,7 +57,7 @@ public open class CfnApiKey( cdkObject: software.amazon.awscdk.services.apigateway.CfnApiKey, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.CfnApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.CfnApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnApiKey( id: String, props: CfnApiKeyProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiKeyProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiKeyProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnApiKey( * Specifies whether the ApiKey can be used by callers. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnApiKey( * API key value. */ public open fun generateDistinctId(`value`: IResolvable) { - unwrap(this).setGenerateDistinctId(`value`.let(IResolvable::unwrap)) + unwrap(this).setGenerateDistinctId(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnApiKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnApiKey( * DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. */ public open fun stageKeys(`value`: IResolvable) { - unwrap(this).setStageKeys(`value`.let(IResolvable::unwrap)) + unwrap(this).setStageKeys(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnApiKey( * The key-value map of strings. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class CfnApiKey( * @param enabled Specifies whether the ApiKey can be used by callers. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnApiKey( * is distinct from the created API key value. */ override fun generateDistinctId(generateDistinctId: IResolvable) { - cdkBuilder.generateDistinctId(generateDistinctId.let(IResolvable::unwrap)) + cdkBuilder.generateDistinctId(generateDistinctId.let(IResolvable.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnApiKey( * @param stageKeys DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. */ override fun stageKeys(stageKeys: IResolvable) { - cdkBuilder.stageKeys(stageKeys.let(IResolvable::unwrap)) + cdkBuilder.stageKeys(stageKeys.let(IResolvable.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class CfnApiKey( * @param tags The key-value map of strings. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKeyProps.kt index c9e26d753a..1e92efe6dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnApiKeyProps.kt @@ -235,7 +235,7 @@ public interface CfnApiKeyProps { * @param enabled Specifies whether the ApiKey can be used by callers. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnApiKeyProps { * This parameter is deprecated and should not be used. */ override fun generateDistinctId(generateDistinctId: IResolvable) { - cdkBuilder.generateDistinctId(generateDistinctId.let(IResolvable::unwrap)) + cdkBuilder.generateDistinctId(generateDistinctId.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnApiKeyProps { * @param stageKeys DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. */ override fun stageKeys(stageKeys: IResolvable) { - cdkBuilder.stageKeys(stageKeys.let(IResolvable::unwrap)) + cdkBuilder.stageKeys(stageKeys.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnApiKeyProps { * not start with `aws:` . The tag value can be up to 256 characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAuthorizer.kt index dab340e789..7abe2e603f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnAuthorizer.kt @@ -50,8 +50,8 @@ public open class CfnAuthorizer( id: String, props: CfnAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -148,7 +148,7 @@ public open class CfnAuthorizer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnBasePathMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnBasePathMapping.kt index 08de791ae8..9e519915b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnBasePathMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnBasePathMapping.kt @@ -42,8 +42,8 @@ public open class CfnBasePathMapping( id: String, props: CfnBasePathMappingProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnBasePathMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBasePathMappingProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnBasePathMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBasePathMappingProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnBasePathMapping( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificate.kt index e345f07891..28a760b214 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificate.kt @@ -41,7 +41,7 @@ public open class CfnClientCertificate( cdkObject: software.amazon.awscdk.services.apigateway.CfnClientCertificate, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.CfnClientCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.CfnClientCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class CfnClientCertificate( id: String, props: CfnClientCertificateProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnClientCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClientCertificateProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnClientCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClientCertificateProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnClientCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class CfnClientCertificate( * The collection of tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnClientCertificate( * @param tags The collection of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificateProps.kt index a0f2667e09..dc9ef3b444 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnClientCertificateProps.kt @@ -87,7 +87,7 @@ public interface CfnClientCertificateProps { * Each tag element is associated with a given resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeployment.kt index a2df96c9e6..78671d5995 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeployment.kt @@ -101,8 +101,8 @@ public open class CfnDeployment( id: String, props: CfnDeploymentProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentProps.Companion::unwrap)) ) public constructor( @@ -128,14 +128,14 @@ public open class CfnDeployment( * The input configuration for a canary deployment. */ public open fun deploymentCanarySettings(`value`: IResolvable) { - unwrap(this).setDeploymentCanarySettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentCanarySettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The input configuration for a canary deployment. */ public open fun deploymentCanarySettings(`value`: DeploymentCanarySettingsProperty) { - unwrap(this).setDeploymentCanarySettings(`value`.let(DeploymentCanarySettingsProperty::unwrap)) + unwrap(this).setDeploymentCanarySettings(`value`.let(DeploymentCanarySettingsProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnDeployment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -189,14 +189,14 @@ public open class CfnDeployment( * The description of the Stage resource for the Deployment resource to create. */ public open fun stageDescription(`value`: IResolvable) { - unwrap(this).setStageDescription(`value`.let(IResolvable::unwrap)) + unwrap(this).setStageDescription(`value`.let(IResolvable.Companion::unwrap)) } /** * The description of the Stage resource for the Deployment resource to create. */ public open fun stageDescription(`value`: StageDescriptionProperty) { - unwrap(this).setStageDescription(`value`.let(StageDescriptionProperty::unwrap)) + unwrap(this).setStageDescription(`value`.let(StageDescriptionProperty.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnDeployment( * @param deploymentCanarySettings The input configuration for a canary deployment. */ override fun deploymentCanarySettings(deploymentCanarySettings: IResolvable) { - cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(IResolvable::unwrap)) + cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(IResolvable.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnDeployment( */ override fun deploymentCanarySettings(deploymentCanarySettings: DeploymentCanarySettingsProperty) { - cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(DeploymentCanarySettingsProperty::unwrap)) + cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(DeploymentCanarySettingsProperty.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnDeployment( * create. */ override fun stageDescription(stageDescription: IResolvable) { - cdkBuilder.stageDescription(stageDescription.let(IResolvable::unwrap)) + cdkBuilder.stageDescription(stageDescription.let(IResolvable.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnDeployment( * create. */ override fun stageDescription(stageDescription: StageDescriptionProperty) { - cdkBuilder.stageDescription(stageDescription.let(StageDescriptionProperty::unwrap)) + cdkBuilder.stageDescription(stageDescription.let(StageDescriptionProperty.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public open class CfnDeployment( * names and their values. */ override fun stageVariableOverrides(stageVariableOverrides: IResolvable) { - cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable::unwrap)) + cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public open class CfnDeployment( * stage cache or not. */ override fun useStageCache(useStageCache: IResolvable) { - cdkBuilder.useStageCache(useStageCache.let(IResolvable::unwrap)) + cdkBuilder.useStageCache(useStageCache.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -880,7 +880,7 @@ public open class CfnDeployment( * stage variable names and their values. */ override fun stageVariableOverrides(stageVariableOverrides: IResolvable) { - cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable::unwrap)) + cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnDeployment( * the stage cache or not. */ override fun useStageCache(useStageCache: IResolvable) { - cdkBuilder.useStageCache(useStageCache.let(IResolvable::unwrap)) + cdkBuilder.useStageCache(useStageCache.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1193,7 +1193,7 @@ public open class CfnDeployment( * @param cacheDataEncrypted Specifies whether the cached responses are encrypted. */ override fun cacheDataEncrypted(cacheDataEncrypted: IResolvable) { - cdkBuilder.cacheDataEncrypted(cacheDataEncrypted.let(IResolvable::unwrap)) + cdkBuilder.cacheDataEncrypted(cacheDataEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1220,7 +1220,7 @@ public open class CfnDeployment( * A cache cluster must be enabled on the stage for responses to be cached. */ override fun cachingEnabled(cachingEnabled: IResolvable) { - cdkBuilder.cachingEnabled(cachingEnabled.let(IResolvable::unwrap)) + cdkBuilder.cachingEnabled(cachingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1240,7 +1240,7 @@ public open class CfnDeployment( * recommend that you don't enable this option for production APIs. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1274,7 +1274,7 @@ public open class CfnDeployment( * method. */ override fun metricsEnabled(metricsEnabled: IResolvable) { - cdkBuilder.metricsEnabled(metricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.metricsEnabled(metricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1871,14 +1871,14 @@ public open class CfnDeployment( * @param accessLogSetting Specifies settings for logging access in this stage. */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** * @param accessLogSetting Specifies settings for logging access in this stage. */ override fun accessLogSetting(accessLogSetting: AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -1902,7 +1902,7 @@ public open class CfnDeployment( * To activate a method-level cache, set `CachingEnabled` to `true` for a method. */ override fun cacheClusterEnabled(cacheClusterEnabled: IResolvable) { - cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable::unwrap)) + cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1926,7 +1926,7 @@ public open class CfnDeployment( * @param cacheDataEncrypted Indicates whether the cached responses are encrypted. */ override fun cacheDataEncrypted(cacheDataEncrypted: IResolvable) { - cdkBuilder.cacheDataEncrypted(cacheDataEncrypted.let(IResolvable::unwrap)) + cdkBuilder.cacheDataEncrypted(cacheDataEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1956,21 +1956,21 @@ public open class CfnDeployment( * in the *API Gateway Developer Guide* . */ override fun cachingEnabled(cachingEnabled: IResolvable) { - cdkBuilder.cachingEnabled(cachingEnabled.let(IResolvable::unwrap)) + cdkBuilder.cachingEnabled(cachingEnabled.let(IResolvable.Companion::unwrap)) } /** * @param canarySetting Specifies settings for the canary deployment in this stage. */ override fun canarySetting(canarySetting: IResolvable) { - cdkBuilder.canarySetting(canarySetting.let(IResolvable::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(IResolvable.Companion::unwrap)) } /** * @param canarySetting Specifies settings for the canary deployment in this stage. */ override fun canarySetting(canarySetting: CanarySettingProperty) { - cdkBuilder.canarySetting(canarySetting.let(CanarySettingProperty::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(CanarySettingProperty.Companion::unwrap)) } /** @@ -2004,7 +2004,7 @@ public open class CfnDeployment( * API Gateway pushes these logs to Amazon CloudWatch Logs. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2035,7 +2035,7 @@ public open class CfnDeployment( * @param methodSettings Configures settings for all of the stage's methods. */ override fun methodSettings(methodSettings: IResolvable) { - cdkBuilder.methodSettings(methodSettings.let(IResolvable::unwrap)) + cdkBuilder.methodSettings(methodSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2064,14 +2064,14 @@ public open class CfnDeployment( * in the stage. */ override fun metricsEnabled(metricsEnabled: IResolvable) { - cdkBuilder.metricsEnabled(metricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.metricsEnabled(metricsEnabled.let(IResolvable.Companion::unwrap)) } /** * @param tags An array of arbitrary tags (key-value pairs) to associate with the stage. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2119,7 +2119,7 @@ public open class CfnDeployment( * the *API Gateway Developer Guide* . */ override fun tracingEnabled(tracingEnabled: IResolvable) { - cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable::unwrap)) + cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2128,7 +2128,7 @@ public open class CfnDeployment( * following regular expression: `[A-Za-z0-9-._~:/?#&=,]+` . */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeploymentProps.kt index e9a7e4c2b9..430c0f5d2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDeploymentProps.kt @@ -190,7 +190,7 @@ public interface CfnDeploymentProps { * @param deploymentCanarySettings The input configuration for a canary deployment. */ override fun deploymentCanarySettings(deploymentCanarySettings: IResolvable) { - cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(IResolvable::unwrap)) + cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(IResolvable.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public interface CfnDeploymentProps { */ override fun deploymentCanarySettings(deploymentCanarySettings: CfnDeployment.DeploymentCanarySettingsProperty) { - cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(CfnDeployment.DeploymentCanarySettingsProperty::unwrap)) + cdkBuilder.deploymentCanarySettings(deploymentCanarySettings.let(CfnDeployment.DeploymentCanarySettingsProperty.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface CfnDeploymentProps { * To specify a stage description, you must also provide a stage name. */ override fun stageDescription(stageDescription: IResolvable) { - cdkBuilder.stageDescription(stageDescription.let(IResolvable::unwrap)) + cdkBuilder.stageDescription(stageDescription.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface CfnDeploymentProps { * To specify a stage description, you must also provide a stage name. */ override fun stageDescription(stageDescription: CfnDeployment.StageDescriptionProperty) { - cdkBuilder.stageDescription(stageDescription.let(CfnDeployment.StageDescriptionProperty::unwrap)) + cdkBuilder.stageDescription(stageDescription.let(CfnDeployment.StageDescriptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPart.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPart.kt index e45269cd54..699cb12623 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPart.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPart.kt @@ -53,8 +53,8 @@ public open class CfnDocumentationPart( id: String, props: CfnDocumentationPartProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnDocumentationPart(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDocumentationPartProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnDocumentationPart(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDocumentationPartProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnDocumentationPart( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -87,14 +87,14 @@ public open class CfnDocumentationPart( * The location of the targeted API entity of the to-be-created documentation part. */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The location of the targeted API entity of the to-be-created documentation part. */ public open fun location(`value`: LocationProperty) { - unwrap(this).setLocation(`value`.let(LocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(LocationProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnDocumentationPart( * part. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnDocumentationPart( * part. */ override fun location(location: LocationProperty) { - cdkBuilder.location(location.let(LocationProperty::unwrap)) + cdkBuilder.location(location.let(LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPartProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPartProps.kt index f83c38b6a9..600778e13b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPartProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationPartProps.kt @@ -108,7 +108,7 @@ public interface CfnDocumentationPartProps { * part. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public interface CfnDocumentationPartProps { * part. */ override fun location(location: CfnDocumentationPart.LocationProperty) { - cdkBuilder.location(location.let(CfnDocumentationPart.LocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnDocumentationPart.LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationVersion.kt index 0da316abb8..133ee9d8f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDocumentationVersion.kt @@ -44,8 +44,8 @@ public open class CfnDocumentationVersion( id: String, props: CfnDocumentationVersionProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnDocumentationVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDocumentationVersionProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnDocumentationVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDocumentationVersionProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnDocumentationVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainName.kt index b3f546cfd7..45bd11220e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainName.kt @@ -61,7 +61,7 @@ public open class CfnDomainName( cdkObject: software.amazon.awscdk.services.apigateway.CfnDomainName, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class CfnDomainName( id: String, props: CfnDomainNameProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainNameProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainNameProps.Companion::unwrap)) ) public constructor( @@ -147,14 +147,14 @@ public open class CfnDomainName( * The endpoint configuration of this DomainName showing the endpoint types of the domain name. */ public open fun endpointConfiguration(`value`: IResolvable) { - unwrap(this).setEndpointConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpointConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The endpoint configuration of this DomainName showing the endpoint types of the domain name. */ public open fun endpointConfiguration(`value`: EndpointConfigurationProperty) { - unwrap(this).setEndpointConfiguration(`value`.let(EndpointConfigurationProperty::unwrap)) + unwrap(this).setEndpointConfiguration(`value`.let(EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnDomainName( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -183,14 +183,14 @@ public open class CfnDomainName( * The mutual TLS authentication configuration for a custom domain name. */ public open fun mutualTlsAuthentication(`value`: IResolvable) { - unwrap(this).setMutualTlsAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setMutualTlsAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** * The mutual TLS authentication configuration for a custom domain name. */ public open fun mutualTlsAuthentication(`value`: MutualTlsAuthenticationProperty) { - unwrap(this).setMutualTlsAuthentication(`value`.let(MutualTlsAuthenticationProperty::unwrap)) + unwrap(this).setMutualTlsAuthentication(`value`.let(MutualTlsAuthenticationProperty.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnDomainName( * The collection of tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnDomainName( * endpoint types of the domain name. */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnDomainName( * endpoint types of the domain name. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnDomainName( * domain name. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: IResolvable) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class CfnDomainName( * domain name. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: MutualTlsAuthenticationProperty) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnDomainName( * @param tags The collection of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainNameProps.kt index d676c1be29..a1851ac36b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnDomainNameProps.kt @@ -247,7 +247,7 @@ public interface CfnDomainNameProps { * endpoint types of the domain name. */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnDomainNameProps { */ override fun endpointConfiguration(endpointConfiguration: CfnDomainName.EndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(CfnDomainName.EndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(CfnDomainName.EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public interface CfnDomainNameProps { * Clients must present a trusted certificate to access your API. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: IResolvable) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnDomainNameProps { */ override fun mutualTlsAuthentication(mutualTlsAuthentication: CfnDomainName.MutualTlsAuthenticationProperty) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(CfnDomainName.MutualTlsAuthenticationProperty::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(CfnDomainName.MutualTlsAuthenticationProperty.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public interface CfnDomainNameProps { * Each tag element is associated with a given resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponse.kt index 241339424d..c7643cab3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponse.kt @@ -50,8 +50,8 @@ public open class CfnGatewayResponse( id: String, props: CfnGatewayResponseProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnGatewayResponse(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGatewayResponseProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnGatewayResponse(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGatewayResponseProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnGatewayResponse( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -88,7 +88,7 @@ public open class CfnGatewayResponse( * string-to-string map of key-value pairs. */ public open fun responseParameters(`value`: IResolvable) { - unwrap(this).setResponseParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setResponseParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnGatewayResponse( * Response templates of the GatewayResponse as a string-to-string map of key-value pairs. */ public open fun responseTemplates(`value`: IResolvable) { - unwrap(this).setResponseTemplates(`value`.let(IResolvable::unwrap)) + unwrap(this).setResponseTemplates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnGatewayResponse( * GatewayResponse as a string-to-string map of key-value pairs. */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnGatewayResponse( * of key-value pairs. */ override fun responseTemplates(responseTemplates: IResolvable) { - cdkBuilder.responseTemplates(responseTemplates.let(IResolvable::unwrap)) + cdkBuilder.responseTemplates(responseTemplates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponseProps.kt index c9528f8953..c4ab92cf28 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnGatewayResponseProps.kt @@ -126,7 +126,7 @@ public interface CfnGatewayResponseProps { * GatewayResponse as a string-to-string map of key-value pairs. */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public interface CfnGatewayResponseProps { * of key-value pairs. */ override fun responseTemplates(responseTemplates: IResolvable) { - cdkBuilder.responseTemplates(responseTemplates.let(IResolvable::unwrap)) + cdkBuilder.responseTemplates(responseTemplates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethod.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethod.kt index 043330e4c9..a083805678 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethod.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethod.kt @@ -94,8 +94,8 @@ public open class CfnMethod( id: String, props: CfnMethodProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnMethod(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMethodProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnMethod(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMethodProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnMethod( * A boolean flag specifying whether a valid ApiKey is required to invoke this method. */ public open fun apiKeyRequired(`value`: IResolvable) { - unwrap(this).setApiKeyRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setApiKeyRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnMethod( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,14 +197,14 @@ public open class CfnMethod( * Represents an `HTTP` , `HTTP_PROXY` , `AWS` , `AWS_PROXY` , or Mock integration. */ public open fun integration(`value`: IResolvable) { - unwrap(this).setIntegration(`value`.let(IResolvable::unwrap)) + unwrap(this).setIntegration(`value`.let(IResolvable.Companion::unwrap)) } /** * Represents an `HTTP` , `HTTP_PROXY` , `AWS` , `AWS_PROXY` , or Mock integration. */ public open fun integration(`value`: IntegrationProperty) { - unwrap(this).setIntegration(`value`.let(IntegrationProperty::unwrap)) + unwrap(this).setIntegration(`value`.let(IntegrationProperty.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnMethod( * Gets a method response associated with a given HTTP status code. */ public open fun methodResponses(`value`: IResolvable) { - unwrap(this).setMethodResponses(`value`.let(IResolvable::unwrap)) + unwrap(this).setMethodResponses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnMethod( * of the request payloads of given content types (as the mapping key). */ public open fun requestModels(`value`: IResolvable) { - unwrap(this).setRequestModels(`value`.let(IResolvable::unwrap)) + unwrap(this).setRequestModels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnMethod( * API Gateway. */ public open fun requestParameters(`value`: IResolvable) { - unwrap(this).setRequestParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setRequestParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnMethod( * this method. */ override fun apiKeyRequired(apiKeyRequired: IResolvable) { - cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable::unwrap)) + cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnMethod( * integration. */ override fun integration(integration: IResolvable) { - cdkBuilder.integration(integration.let(IResolvable::unwrap)) + cdkBuilder.integration(integration.let(IResolvable.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnMethod( * integration. */ override fun integration(integration: IntegrationProperty) { - cdkBuilder.integration(integration.let(IntegrationProperty::unwrap)) + cdkBuilder.integration(integration.let(IntegrationProperty.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class CfnMethod( * @param methodResponses Gets a method response associated with a given HTTP status code. */ override fun methodResponses(methodResponses: IResolvable) { - cdkBuilder.methodResponses(methodResponses.let(IResolvable::unwrap)) + cdkBuilder.methodResponses(methodResponses.let(IResolvable.Companion::unwrap)) } /** @@ -750,7 +750,7 @@ public open class CfnMethod( * (as the mapped value) of the request payloads of given content types (as the mapping key). */ override fun requestModels(requestModels: IResolvable) { - cdkBuilder.requestModels(requestModels.let(IResolvable::unwrap)) + cdkBuilder.requestModels(requestModels.let(IResolvable.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnMethod( * parameters that can be accepted by API Gateway. */ override fun requestParameters(requestParameters: IResolvable) { - cdkBuilder.requestParameters(requestParameters.let(IResolvable::unwrap)) + cdkBuilder.requestParameters(requestParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public open class CfnMethod( * @param integrationResponses Specifies the integration's responses. */ override fun integrationResponses(integrationResponses: IResolvable) { - cdkBuilder.integrationResponses(integrationResponses.let(IResolvable::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.let(IResolvable.Companion::unwrap)) } /** @@ -1388,7 +1388,7 @@ public open class CfnMethod( * or `header` and `name` must be a valid and unique method request parameter name. */ override fun requestParameters(requestParameters: IResolvable) { - cdkBuilder.requestParameters(requestParameters.let(IResolvable::unwrap)) + cdkBuilder.requestParameters(requestParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1410,7 +1410,7 @@ public open class CfnMethod( * The content type value is the key in this map, and the template (as a String) is the value. */ override fun requestTemplates(requestTemplates: IResolvable) { - cdkBuilder.requestTemplates(requestTemplates.let(IResolvable::unwrap)) + cdkBuilder.requestTemplates(requestTemplates.let(IResolvable.Companion::unwrap)) } /** @@ -1859,7 +1859,7 @@ public open class CfnMethod( * header name and `JSON-expression` is a valid JSON expression without the `$` prefix. */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1884,7 +1884,7 @@ public open class CfnMethod( * template as the value. */ override fun responseTemplates(responseTemplates: IResolvable) { - cdkBuilder.responseTemplates(responseTemplates.let(IResolvable::unwrap)) + cdkBuilder.responseTemplates(responseTemplates.let(IResolvable.Companion::unwrap)) } /** @@ -2135,7 +2135,7 @@ public open class CfnMethod( * Model name as the value. */ override fun responseModels(responseModels: IResolvable) { - cdkBuilder.responseModels(responseModels.let(IResolvable::unwrap)) + cdkBuilder.responseModels(responseModels.let(IResolvable.Companion::unwrap)) } /** @@ -2162,7 +2162,7 @@ public open class CfnMethod( * JSON expression without the `$` prefix.) */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethodProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethodProps.kt index c492a2f246..cce21a7ca6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethodProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnMethodProps.kt @@ -375,7 +375,7 @@ public interface CfnMethodProps { * this method. */ override fun apiKeyRequired(apiKeyRequired: IResolvable) { - cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable::unwrap)) + cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface CfnMethodProps { * integration. */ override fun integration(integration: IResolvable) { - cdkBuilder.integration(integration.let(IResolvable::unwrap)) + cdkBuilder.integration(integration.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface CfnMethodProps { * integration. */ override fun integration(integration: CfnMethod.IntegrationProperty) { - cdkBuilder.integration(integration.let(CfnMethod.IntegrationProperty::unwrap)) + cdkBuilder.integration(integration.let(CfnMethod.IntegrationProperty.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public interface CfnMethodProps { * @param methodResponses Gets a method response associated with a given HTTP status code. */ override fun methodResponses(methodResponses: IResolvable) { - cdkBuilder.methodResponses(methodResponses.let(IResolvable::unwrap)) + cdkBuilder.methodResponses(methodResponses.let(IResolvable.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface CfnMethodProps { * (as the mapped value) of the request payloads of given content types (as the mapping key). */ override fun requestModels(requestModels: IResolvable) { - cdkBuilder.requestModels(requestModels.let(IResolvable::unwrap)) + cdkBuilder.requestModels(requestModels.let(IResolvable.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public interface CfnMethodProps { * request parameters or templates. */ override fun requestParameters(requestParameters: IResolvable) { - cdkBuilder.requestParameters(requestParameters.let(IResolvable::unwrap)) + cdkBuilder.requestParameters(requestParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnModel.kt index e8de992b70..765e17e622 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnModel.kt @@ -43,8 +43,8 @@ public open class CfnModel( id: String, props: CfnModelProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnModel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidator.kt index 3107c7c2a8..9f96cc1fc9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidator.kt @@ -48,8 +48,8 @@ public open class CfnRequestValidator( id: String, props: CfnRequestValidatorProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnRequestValidator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRequestValidatorProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnRequestValidator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRequestValidatorProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnRequestValidator( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnRequestValidator( * schema. */ public open fun validateRequestBody(`value`: IResolvable) { - unwrap(this).setValidateRequestBody(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidateRequestBody(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnRequestValidator( * ). */ public open fun validateRequestParameters(`value`: IResolvable) { - unwrap(this).setValidateRequestParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidateRequestParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnRequestValidator( * according to the configured Model schema. */ override fun validateRequestBody(validateRequestBody: IResolvable) { - cdkBuilder.validateRequestBody(validateRequestBody.let(IResolvable::unwrap)) + cdkBuilder.validateRequestBody(validateRequestBody.let(IResolvable.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnRequestValidator( * parameters ( `true` ) or not ( `false` ). */ override fun validateRequestParameters(validateRequestParameters: IResolvable) { - cdkBuilder.validateRequestParameters(validateRequestParameters.let(IResolvable::unwrap)) + cdkBuilder.validateRequestParameters(validateRequestParameters.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.CfnRequestValidator = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidatorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidatorProps.kt index 4ebe20c9e5..35ae3357ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidatorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRequestValidatorProps.kt @@ -134,7 +134,7 @@ public interface CfnRequestValidatorProps { * according to the configured Model schema. */ override fun validateRequestBody(validateRequestBody: IResolvable) { - cdkBuilder.validateRequestBody(validateRequestBody.let(IResolvable::unwrap)) + cdkBuilder.validateRequestBody(validateRequestBody.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnRequestValidatorProps { * parameters ( `true` ) or not ( `false` ). */ override fun validateRequestParameters(validateRequestParameters: IResolvable) { - cdkBuilder.validateRequestParameters(validateRequestParameters.let(IResolvable::unwrap)) + cdkBuilder.validateRequestParameters(validateRequestParameters.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.CfnRequestValidatorProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnResource.kt index 6becc754fb..c0b65c9d99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnResource.kt @@ -36,8 +36,8 @@ public open class CfnResource( id: String, props: CfnResourceProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceProps.Companion::unwrap)) ) public constructor( @@ -60,7 +60,7 @@ public open class CfnResource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApi.kt index 3a1e50df72..a47978df37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApi.kt @@ -81,7 +81,7 @@ public open class CfnRestApi( cdkObject: software.amazon.awscdk.services.apigateway.CfnRestApi, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.CfnRestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.CfnRestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -90,8 +90,8 @@ public open class CfnRestApi( id: String, props: CfnRestApiProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnRestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRestApiProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnRestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRestApiProps.Companion::unwrap)) ) public constructor( @@ -165,7 +165,7 @@ public open class CfnRestApi( * defines a set of RESTful APIs in JSON or YAML format. */ public open fun bodyS3Location(`value`: IResolvable) { - unwrap(this).setBodyS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setBodyS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnRestApi( * defines a set of RESTful APIs in JSON or YAML format. */ public open fun bodyS3Location(`value`: S3LocationProperty) { - unwrap(this).setBodyS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setBodyS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnRestApi( * Specifies whether clients can invoke your API by using the default `execute-api` endpoint. */ public open fun disableExecuteApiEndpoint(`value`: IResolvable) { - unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -237,14 +237,14 @@ public open class CfnRestApi( * A list of the endpoint types of the API. */ public open fun endpointConfiguration(`value`: IResolvable) { - unwrap(this).setEndpointConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpointConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of the endpoint types of the API. */ public open fun endpointConfiguration(`value`: EndpointConfigurationProperty) { - unwrap(this).setEndpointConfiguration(`value`.let(EndpointConfigurationProperty::unwrap)) + unwrap(this).setEndpointConfiguration(`value`.let(EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnRestApi( * when a warning is encountered. */ public open fun failOnWarnings(`value`: IResolvable) { - unwrap(this).setFailOnWarnings(`value`.let(IResolvable::unwrap)) + unwrap(this).setFailOnWarnings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnRestApi( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnRestApi( * Custom header parameters as part of the request. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class CfnRestApi( * The key-value map of strings. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public open class CfnRestApi( * an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. */ override fun bodyS3Location(bodyS3Location: IResolvable) { - cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -746,7 +746,7 @@ public open class CfnRestApi( * an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. */ override fun bodyS3Location(bodyS3Location: S3LocationProperty) { - cdkBuilder.bodyS3Location(bodyS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class CfnRestApi( * default `execute-api` endpoint. */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnRestApi( * @param endpointConfiguration A list of the endpoint types of the API. */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnRestApi( * @param endpointConfiguration A list of the endpoint types of the API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public open class CfnRestApi( * `true` ) or not ( `false` ) when a warning is encountered. */ override fun failOnWarnings(failOnWarnings: IResolvable) { - cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable::unwrap)) + cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable.Companion::unwrap)) } /** @@ -949,7 +949,7 @@ public open class CfnRestApi( * @param parameters Custom header parameters as part of the request. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -990,7 +990,7 @@ public open class CfnRestApi( * @param tags The key-value map of strings. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApiProps.kt index 4c008363ec..267aeea76c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnRestApiProps.kt @@ -455,7 +455,7 @@ public interface CfnRestApiProps { * an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. */ override fun bodyS3Location(bodyS3Location: IResolvable) { - cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public interface CfnRestApiProps { * an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. */ override fun bodyS3Location(bodyS3Location: CfnRestApi.S3LocationProperty) { - cdkBuilder.bodyS3Location(bodyS3Location.let(CfnRestApi.S3LocationProperty::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(CfnRestApi.S3LocationProperty.Companion::unwrap)) } /** @@ -508,7 +508,7 @@ public interface CfnRestApiProps { * custom domain name to invoke your API, disable the default endpoint */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface CfnRestApiProps { * configuration types using the `Parameters` property. */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public interface CfnRestApiProps { */ override fun endpointConfiguration(endpointConfiguration: CfnRestApi.EndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(CfnRestApi.EndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(CfnRestApi.EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface CfnRestApiProps { * The default value is `false` . */ override fun failOnWarnings(failOnWarnings: IResolvable) { - cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable::unwrap)) + cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public interface CfnRestApiProps { * 'file:///path/to/imported-api-body.json'` . */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -640,7 +640,7 @@ public interface CfnRestApiProps { * not start with `aws:` . The tag value can be up to 256 characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStage.kt index 047635a917..95b9c57f57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStage.kt @@ -85,8 +85,8 @@ public open class CfnStage( id: String, props: CfnStageProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnStage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStageProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnStage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStageProps.Companion::unwrap)) ) public constructor( @@ -105,14 +105,14 @@ public open class CfnStage( * Access log settings, including the access log format and access log destination ARN. */ public open fun accessLogSetting(`value`: IResolvable) { - unwrap(this).setAccessLogSetting(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessLogSetting(`value`.let(IResolvable.Companion::unwrap)) } /** * Access log settings, including the access log format and access log destination ARN. */ public open fun accessLogSetting(`value`: AccessLogSettingProperty) { - unwrap(this).setAccessLogSetting(`value`.let(AccessLogSettingProperty::unwrap)) + unwrap(this).setAccessLogSetting(`value`.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnStage( * Specifies whether a cache cluster is enabled for the stage. */ public open fun cacheClusterEnabled(`value`: IResolvable) { - unwrap(this).setCacheClusterEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setCacheClusterEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -163,14 +163,14 @@ public open class CfnStage( * Settings for the canary deployment in this stage. */ public open fun canarySetting(`value`: IResolvable) { - unwrap(this).setCanarySetting(`value`.let(IResolvable::unwrap)) + unwrap(this).setCanarySetting(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings for the canary deployment in this stage. */ public open fun canarySetting(`value`: CanarySettingProperty) { - unwrap(this).setCanarySetting(`value`.let(CanarySettingProperty::unwrap)) + unwrap(this).setCanarySetting(`value`.let(CanarySettingProperty.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnStage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnStage( * A map that defines the method settings for a Stage resource. */ public open fun methodSettings(`value`: IResolvable) { - unwrap(this).setMethodSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMethodSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CfnStage( * The collection of tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnStage( * Specifies whether active tracing with X-ray is enabled for the Stage. */ public open fun tracingEnabled(`value`: IResolvable) { - unwrap(this).setTracingEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTracingEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnStage( * key and the variable value is the value. */ public open fun variables(`value`: IResolvable) { - unwrap(this).setVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public open class CfnStage( * destination ARN. */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public open class CfnStage( * destination ARN. */ override fun accessLogSetting(accessLogSetting: AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public open class CfnStage( * @param cacheClusterEnabled Specifies whether a cache cluster is enabled for the stage. */ override fun cacheClusterEnabled(cacheClusterEnabled: IResolvable) { - cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable::unwrap)) + cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -682,7 +682,7 @@ public open class CfnStage( * @param canarySetting Settings for the canary deployment in this stage. */ override fun canarySetting(canarySetting: IResolvable) { - cdkBuilder.canarySetting(canarySetting.let(IResolvable::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnStage( * @param canarySetting Settings for the canary deployment in this stage. */ override fun canarySetting(canarySetting: CanarySettingProperty) { - cdkBuilder.canarySetting(canarySetting.let(CanarySettingProperty::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(CanarySettingProperty.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public open class CfnStage( * @param methodSettings A map that defines the method settings for a Stage resource. */ override fun methodSettings(methodSettings: IResolvable) { - cdkBuilder.methodSettings(methodSettings.let(IResolvable::unwrap)) + cdkBuilder.methodSettings(methodSettings.let(IResolvable.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public open class CfnStage( * @param tags The collection of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public open class CfnStage( * @param tracingEnabled Specifies whether active tracing with X-ray is enabled for the Stage. */ override fun tracingEnabled(tracingEnabled: IResolvable) { - cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable::unwrap)) + cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnStage( * variable name is the key and the variable value is the value. */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -1170,7 +1170,7 @@ public open class CfnStage( * names and their values. */ override fun stageVariableOverrides(stageVariableOverrides: IResolvable) { - cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable::unwrap)) + cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -1196,7 +1196,7 @@ public open class CfnStage( * stage cache or not. */ override fun useStageCache(useStageCache: IResolvable) { - cdkBuilder.useStageCache(useStageCache.let(IResolvable::unwrap)) + cdkBuilder.useStageCache(useStageCache.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.CfnStage.CanarySettingProperty @@ -1498,7 +1498,7 @@ public open class CfnStage( * @param cacheDataEncrypted Specifies whether the cached responses are encrypted. */ override fun cacheDataEncrypted(cacheDataEncrypted: IResolvable) { - cdkBuilder.cacheDataEncrypted(cacheDataEncrypted.let(IResolvable::unwrap)) + cdkBuilder.cacheDataEncrypted(cacheDataEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1525,7 +1525,7 @@ public open class CfnStage( * A cache cluster must be enabled on the stage for responses to be cached. */ override fun cachingEnabled(cachingEnabled: IResolvable) { - cdkBuilder.cachingEnabled(cachingEnabled.let(IResolvable::unwrap)) + cdkBuilder.cachingEnabled(cachingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1545,7 +1545,7 @@ public open class CfnStage( * recommend that you don't enable this option for production APIs. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1582,7 +1582,7 @@ public open class CfnStage( * method. */ override fun metricsEnabled(metricsEnabled: IResolvable) { - cdkBuilder.metricsEnabled(metricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.metricsEnabled(metricsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStageProps.kt index 0497aeafb1..f513c18710 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnStageProps.kt @@ -356,7 +356,7 @@ public interface CfnStageProps { * destination ARN. */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public interface CfnStageProps { * destination ARN. */ override fun accessLogSetting(accessLogSetting: CfnStage.AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(CfnStage.AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(CfnStage.AccessLogSettingProperty.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public interface CfnStageProps { * To activate a method-level cache, set `CachingEnabled` to `true` for a method. */ override fun cacheClusterEnabled(cacheClusterEnabled: IResolvable) { - cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable::unwrap)) + cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -407,14 +407,14 @@ public interface CfnStageProps { * @param canarySetting Settings for the canary deployment in this stage. */ override fun canarySetting(canarySetting: IResolvable) { - cdkBuilder.canarySetting(canarySetting.let(IResolvable::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(IResolvable.Companion::unwrap)) } /** * @param canarySetting Settings for the canary deployment in this stage. */ override fun canarySetting(canarySetting: CfnStage.CanarySettingProperty) { - cdkBuilder.canarySetting(canarySetting.let(CfnStage.CanarySettingProperty::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(CfnStage.CanarySettingProperty.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public interface CfnStageProps { * all methods in the stage. */ override fun methodSettings(methodSettings: IResolvable) { - cdkBuilder.methodSettings(methodSettings.let(IResolvable::unwrap)) + cdkBuilder.methodSettings(methodSettings.let(IResolvable.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public interface CfnStageProps { * Each tag element is associated with a given resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public interface CfnStageProps { * @param tracingEnabled Specifies whether active tracing with X-ray is enabled for the Stage. */ override fun tracingEnabled(tracingEnabled: IResolvable) { - cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable::unwrap)) + cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public interface CfnStageProps { * regular expression: `[A-Za-z0-9-._~:/?#&=,]+` . */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlan.kt index d81e2ddd2e..05167f87d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlan.kt @@ -76,7 +76,7 @@ public open class CfnUsagePlan( cdkObject: software.amazon.awscdk.services.apigateway.CfnUsagePlan, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.CfnUsagePlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.CfnUsagePlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -85,8 +85,8 @@ public open class CfnUsagePlan( id: String, props: CfnUsagePlanProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnUsagePlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUsagePlanProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnUsagePlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUsagePlanProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnUsagePlan( * The associated API stages of a usage plan. */ public open fun apiStages(`value`: IResolvable) { - unwrap(this).setApiStages(`value`.let(IResolvable::unwrap)) + unwrap(this).setApiStages(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnUsagePlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,14 +157,14 @@ public open class CfnUsagePlan( * The target maximum number of permitted requests per a given unit time interval. */ public open fun quota(`value`: IResolvable) { - unwrap(this).setQuota(`value`.let(IResolvable::unwrap)) + unwrap(this).setQuota(`value`.let(IResolvable.Companion::unwrap)) } /** * The target maximum number of permitted requests per a given unit time interval. */ public open fun quota(`value`: QuotaSettingsProperty) { - unwrap(this).setQuota(`value`.let(QuotaSettingsProperty::unwrap)) + unwrap(this).setQuota(`value`.let(QuotaSettingsProperty.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnUsagePlan( * The collection of tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnUsagePlan( * A map containing method level throttling information for API stage in a usage plan. */ public open fun throttle(`value`: IResolvable) { - unwrap(this).setThrottle(`value`.let(IResolvable::unwrap)) + unwrap(this).setThrottle(`value`.let(IResolvable.Companion::unwrap)) } /** * A map containing method level throttling information for API stage in a usage plan. */ public open fun throttle(`value`: ThrottleSettingsProperty) { - unwrap(this).setThrottle(`value`.let(ThrottleSettingsProperty::unwrap)) + unwrap(this).setThrottle(`value`.let(ThrottleSettingsProperty.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CfnUsagePlan( * @param apiStages The associated API stages of a usage plan. */ override fun apiStages(apiStages: IResolvable) { - cdkBuilder.apiStages(apiStages.let(IResolvable::unwrap)) + cdkBuilder.apiStages(apiStages.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnUsagePlan( * @param quota The target maximum number of permitted requests per a given unit time interval. */ override fun quota(quota: IResolvable) { - cdkBuilder.quota(quota.let(IResolvable::unwrap)) + cdkBuilder.quota(quota.let(IResolvable.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class CfnUsagePlan( * @param quota The target maximum number of permitted requests per a given unit time interval. */ override fun quota(quota: QuotaSettingsProperty) { - cdkBuilder.quota(quota.let(QuotaSettingsProperty::unwrap)) + cdkBuilder.quota(quota.let(QuotaSettingsProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnUsagePlan( * @param tags The collection of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnUsagePlan( * plan. */ override fun throttle(throttle: IResolvable) { - cdkBuilder.throttle(throttle.let(IResolvable::unwrap)) + cdkBuilder.throttle(throttle.let(IResolvable.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnUsagePlan( * plan. */ override fun throttle(throttle: ThrottleSettingsProperty) { - cdkBuilder.throttle(throttle.let(ThrottleSettingsProperty::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettingsProperty.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public open class CfnUsagePlan( * plan. */ override fun throttle(throttle: IResolvable) { - cdkBuilder.throttle(throttle.let(IResolvable::unwrap)) + cdkBuilder.throttle(throttle.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanKey.kt index ab5c11f0d4..b1739e40c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanKey.kt @@ -39,8 +39,8 @@ public open class CfnUsagePlanKey( id: String, props: CfnUsagePlanKeyProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnUsagePlanKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUsagePlanKeyProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnUsagePlanKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUsagePlanKeyProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class CfnUsagePlanKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanProps.kt index c3fbb185f9..4260b9a4d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnUsagePlanProps.kt @@ -185,7 +185,7 @@ public interface CfnUsagePlanProps { * @param apiStages The associated API stages of a usage plan. */ override fun apiStages(apiStages: IResolvable) { - cdkBuilder.apiStages(apiStages.let(IResolvable::unwrap)) + cdkBuilder.apiStages(apiStages.let(IResolvable.Companion::unwrap)) } /** @@ -211,14 +211,14 @@ public interface CfnUsagePlanProps { * @param quota The target maximum number of permitted requests per a given unit time interval. */ override fun quota(quota: IResolvable) { - cdkBuilder.quota(quota.let(IResolvable::unwrap)) + cdkBuilder.quota(quota.let(IResolvable.Companion::unwrap)) } /** * @param quota The target maximum number of permitted requests per a given unit time interval. */ override fun quota(quota: CfnUsagePlan.QuotaSettingsProperty) { - cdkBuilder.quota(quota.let(CfnUsagePlan.QuotaSettingsProperty::unwrap)) + cdkBuilder.quota(quota.let(CfnUsagePlan.QuotaSettingsProperty.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface CfnUsagePlanProps { * Each tag element is associated with a given resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface CfnUsagePlanProps { * plan. */ override fun throttle(throttle: IResolvable) { - cdkBuilder.throttle(throttle.let(IResolvable::unwrap)) + cdkBuilder.throttle(throttle.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnUsagePlanProps { * plan. */ override fun throttle(throttle: CfnUsagePlan.ThrottleSettingsProperty) { - cdkBuilder.throttle(throttle.let(CfnUsagePlan.ThrottleSettingsProperty::unwrap)) + cdkBuilder.throttle(throttle.let(CfnUsagePlan.ThrottleSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLink.kt index 2bca8f43cd..d2f8b38c7e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLink.kt @@ -51,8 +51,8 @@ public open class CfnVpcLink( id: String, props: CfnVpcLinkProps, ) : - this(software.amazon.awscdk.services.apigateway.CfnVpcLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcLinkProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CfnVpcLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcLinkProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnVpcLink( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnVpcLink( * An array of arbitrary tags (key-value pairs) to associate with the VPC link. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnVpcLink( * @param tags An array of arbitrary tags (key-value pairs) to associate with the VPC link. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLinkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLinkProps.kt index b3c1c176e9..b4373063d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLinkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CfnVpcLinkProps.kt @@ -124,7 +124,7 @@ public interface CfnVpcLinkProps { * @param tags An array of arbitrary tags (key-value pairs) to associate with the VPC link. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizer.kt index 5bcf515fda..07a9ce38a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizer.kt @@ -37,8 +37,8 @@ public open class CognitoUserPoolsAuthorizer( id: String, props: CognitoUserPoolsAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigateway.CognitoUserPoolsAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CognitoUserPoolsAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.CognitoUserPoolsAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CognitoUserPoolsAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CognitoUserPoolsAuthorizer( * @param cognitoUserPools The user pools to associate with this authorizer. */ override fun cognitoUserPools(cognitoUserPools: List) { - cdkBuilder.cognitoUserPools(cognitoUserPools.map(IUserPool::unwrap)) + cdkBuilder.cognitoUserPools(cognitoUserPools.map(IUserPool.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CognitoUserPoolsAuthorizer( * @param resultsCacheTtl How long APIGateway should cache the results. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.CognitoUserPoolsAuthorizer = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizerProps.kt index 7981489404..72b0f4d9ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CognitoUserPoolsAuthorizerProps.kt @@ -121,7 +121,7 @@ public interface CognitoUserPoolsAuthorizerProps { * @param cognitoUserPools The user pools to associate with this authorizer. */ override fun cognitoUserPools(cognitoUserPools: List) { - cdkBuilder.cognitoUserPools(cognitoUserPools.map(IUserPool::unwrap)) + cdkBuilder.cognitoUserPools(cognitoUserPools.map(IUserPool.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface CognitoUserPoolsAuthorizerProps { * Disable caching by setting this to 0. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.CognitoUserPoolsAuthorizerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CorsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CorsOptions.kt index df6a0d6dd0..ae62694185 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CorsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/CorsOptions.kt @@ -341,7 +341,7 @@ public interface CorsOptions { * To disable caching altogether use `disableCache: true`. */ override fun maxAge(maxAge: Duration) { - cdkBuilder.maxAge(maxAge.let(Duration::unwrap)) + cdkBuilder.maxAge(maxAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Deployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Deployment.kt index d6d03a8791..5e851b0692 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Deployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Deployment.kt @@ -80,8 +80,8 @@ public open class Deployment( id: String, props: DeploymentProps, ) : - this(software.amazon.awscdk.services.apigateway.Deployment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DeploymentProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.Deployment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DeploymentProps.Companion::unwrap)) ) public constructor( @@ -114,6 +114,11 @@ public open class Deployment( */ public open fun deploymentId(): String = unwrap(this).getDeploymentId() + /** + * The stage of the API gateway deployment. + */ + public open fun stageName(): String? = unwrap(this).getStageName() + /** * A fluent builder for [io.cloudshiftdev.awscdk.services.apigateway.Deployment]. */ @@ -147,6 +152,17 @@ public open class Deployment( * automatically be created. */ public fun retainDeployments(retainDeployments: Boolean) + + /** + * The name of the stage the API Gateway deployment deploys to. + * + * Default: - No stage name. If the `stageName` property is set but a stage with the + * corresponding name does not exist, a new stage resource will be created with the + * provided stage name. + * + * @param stageName The name of the stage the API Gateway deployment deploys to. + */ + public fun stageName(stageName: String) } private class BuilderImpl( @@ -162,7 +178,7 @@ public open class Deployment( * @param api The Rest API to deploy. */ override fun api(api: IRestApi) { - cdkBuilder.api(api.let(IRestApi::unwrap)) + cdkBuilder.api(api.let(IRestApi.Companion::unwrap)) } /** @@ -191,6 +207,19 @@ public open class Deployment( cdkBuilder.retainDeployments(retainDeployments) } + /** + * The name of the stage the API Gateway deployment deploys to. + * + * Default: - No stage name. If the `stageName` property is set but a stage with the + * corresponding name does not exist, a new stage resource will be created with the + * provided stage name. + * + * @param stageName The name of the stage the API Gateway deployment deploys to. + */ + override fun stageName(stageName: String) { + cdkBuilder.stageName(stageName) + } + public fun build(): software.amazon.awscdk.services.apigateway.Deployment = cdkBuilder.build() } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DeploymentProps.kt index bf294cae14..7dff2d79eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DeploymentProps.kt @@ -64,6 +64,15 @@ public interface DeploymentProps { */ public fun retainDeployments(): Boolean? = unwrap(this).getRetainDeployments() + /** + * The name of the stage the API Gateway deployment deploys to. + * + * Default: - No stage name. If the `stageName` property is set but a stage with the + * corresponding name does not exist, a new stage resource will be created with the + * provided stage name. + */ + public fun stageName(): String? = unwrap(this).getStageName() + /** * A builder for [DeploymentProps] */ @@ -86,6 +95,11 @@ public interface DeploymentProps { * This will allow manually reverting back to a previous deployment in case for example */ public fun retainDeployments(retainDeployments: Boolean) + + /** + * @param stageName The name of the stage the API Gateway deployment deploys to. + */ + public fun stageName(stageName: String) } private class BuilderImpl : Builder { @@ -96,7 +110,7 @@ public interface DeploymentProps { * @param api The Rest API to deploy. */ override fun api(api: IRestApi) { - cdkBuilder.api(api.let(IRestApi::unwrap)) + cdkBuilder.api(api.let(IRestApi.Companion::unwrap)) } /** @@ -116,6 +130,13 @@ public interface DeploymentProps { cdkBuilder.retainDeployments(retainDeployments) } + /** + * @param stageName The name of the stage the API Gateway deployment deploys to. + */ + override fun stageName(stageName: String) { + cdkBuilder.stageName(stageName) + } + public fun build(): software.amazon.awscdk.services.apigateway.DeploymentProps = cdkBuilder.build() } @@ -144,6 +165,15 @@ public interface DeploymentProps { * Default: false */ override fun retainDeployments(): Boolean? = unwrap(this).getRetainDeployments() + + /** + * The name of the stage the API Gateway deployment deploys to. + * + * Default: - No stage name. If the `stageName` property is set but a stage with the + * corresponding name does not exist, a new stage resource will be created with the + * provided stage name. + */ + override fun stageName(): String? = unwrap(this).getStageName() } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainName.kt index 7a9a2445ec..2f31b0a573 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainName.kt @@ -36,8 +36,8 @@ public open class DomainName( id: String, props: DomainNameProps, ) : - this(software.amazon.awscdk.services.apigateway.DomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DomainNameProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.DomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DomainNameProps.Companion::unwrap)) ) public constructor( @@ -60,7 +60,7 @@ public open class DomainName( * @param options Options for mapping to a stage. */ public open fun addApiMapping(targetStage: IStage) { - unwrap(this).addApiMapping(targetStage.let(IStage::unwrap)) + unwrap(this).addApiMapping(targetStage.let(IStage.Companion::unwrap)) } /** @@ -76,8 +76,8 @@ public open class DomainName( * @param options Options for mapping to a stage. */ public open fun addApiMapping(targetStage: IStage, options: ApiMappingOptions) { - unwrap(this).addApiMapping(targetStage.let(IStage::unwrap), - options.let(ApiMappingOptions::unwrap)) + unwrap(this).addApiMapping(targetStage.let(IStage.Companion::unwrap), + options.let(ApiMappingOptions.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class DomainName( * @param options Options for mapping to base path with or without a stage. */ public open fun addBasePathMapping(targetApi: IRestApi): BasePathMapping = - unwrap(this).addBasePathMapping(targetApi.let(IRestApi::unwrap)).let(BasePathMapping::wrap) + unwrap(this).addBasePathMapping(targetApi.let(IRestApi.Companion::unwrap)).let(BasePathMapping::wrap) /** * Maps this domain to an API endpoint. @@ -121,8 +121,8 @@ public open class DomainName( * @param options Options for mapping to base path with or without a stage. */ public open fun addBasePathMapping(targetApi: IRestApi, options: BasePathMappingOptions): - BasePathMapping = unwrap(this).addBasePathMapping(targetApi.let(IRestApi::unwrap), - options.let(BasePathMappingOptions::unwrap)).let(BasePathMapping::wrap) + BasePathMapping = unwrap(this).addBasePathMapping(targetApi.let(IRestApi.Companion::unwrap), + options.let(BasePathMappingOptions.Companion::unwrap)).let(BasePathMapping::wrap) /** * Maps this domain to an API endpoint. @@ -285,7 +285,7 @@ public open class DomainName( * endpoint for the domain name. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class DomainName( * @param endpointType The type of endpoint for this DomainName. */ override fun endpointType(endpointType: EndpointType) { - cdkBuilder.endpointType(endpointType.let(EndpointType::unwrap)) + cdkBuilder.endpointType(endpointType.let(EndpointType.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class DomainName( * deployment of this API. */ override fun mapping(mapping: IRestApi) { - cdkBuilder.mapping(mapping.let(IRestApi::unwrap)) + cdkBuilder.mapping(mapping.let(IRestApi.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public open class DomainName( * @param mtls The mutual TLS authentication configuration for a custom domain name. */ override fun mtls(mtls: MTLSConfig) { - cdkBuilder.mtls(mtls.let(MTLSConfig::unwrap)) + cdkBuilder.mtls(mtls.let(MTLSConfig.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class DomainName( * domain name. */ override fun securityPolicy(securityPolicy: SecurityPolicy) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.DomainName = cdkBuilder.build() @@ -371,8 +371,8 @@ public open class DomainName( id: String, attrs: DomainNameAttributes, ): IDomainName = - software.amazon.awscdk.services.apigateway.DomainName.fromDomainNameAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DomainNameAttributes::unwrap)).let(IDomainName::wrap) + software.amazon.awscdk.services.apigateway.DomainName.fromDomainNameAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DomainNameAttributes.Companion::unwrap)).let(IDomainName::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ac8f944103380ed338cd724004967851f1e6535959d9a4afb514e759be47faea") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameOptions.kt index bc5cfbee42..6e5e59dac7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameOptions.kt @@ -142,7 +142,7 @@ public interface DomainNameOptions { * needs to be in the US East (N. Virginia) region. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -157,14 +157,14 @@ public interface DomainNameOptions { * @param endpointType The type of endpoint for this DomainName. */ override fun endpointType(endpointType: EndpointType) { - cdkBuilder.endpointType(endpointType.let(EndpointType::unwrap)) + cdkBuilder.endpointType(endpointType.let(EndpointType.Companion::unwrap)) } /** * @param mtls The mutual TLS authentication configuration for a custom domain name. */ override fun mtls(mtls: MTLSConfig) { - cdkBuilder.mtls(mtls.let(MTLSConfig::unwrap)) + cdkBuilder.mtls(mtls.let(MTLSConfig.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface DomainNameOptions { * domain name. */ override fun securityPolicy(securityPolicy: SecurityPolicy) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.DomainNameOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameProps.kt index 2841e9d0c4..db6d82968e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/DomainNameProps.kt @@ -115,7 +115,7 @@ public interface DomainNameProps : DomainNameOptions { * needs to be in the US East (N. Virginia) region. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public interface DomainNameProps : DomainNameOptions { * @param endpointType The type of endpoint for this DomainName. */ override fun endpointType(endpointType: EndpointType) { - cdkBuilder.endpointType(endpointType.let(EndpointType::unwrap)) + cdkBuilder.endpointType(endpointType.let(EndpointType.Companion::unwrap)) } /** @@ -140,14 +140,14 @@ public interface DomainNameProps : DomainNameOptions { * with different base paths, use `addBasePathMapping` or `addApiMapping`. */ override fun mapping(mapping: IRestApi) { - cdkBuilder.mapping(mapping.let(IRestApi::unwrap)) + cdkBuilder.mapping(mapping.let(IRestApi.Companion::unwrap)) } /** * @param mtls The mutual TLS authentication configuration for a custom domain name. */ override fun mtls(mtls: MTLSConfig) { - cdkBuilder.mtls(mtls.let(MTLSConfig::unwrap)) + cdkBuilder.mtls(mtls.let(MTLSConfig.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface DomainNameProps : DomainNameOptions { * domain name. */ override fun securityPolicy(securityPolicy: SecurityPolicy) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.DomainNameProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/EndpointConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/EndpointConfiguration.kt index 498b0f78de..ea76d8c372 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/EndpointConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/EndpointConfiguration.kt @@ -74,7 +74,7 @@ public interface EndpointConfiguration { * @param types A list of endpoint types of an API or its custom domain name. */ override fun types(types: List) { - cdkBuilder.types(types.map(EndpointType::unwrap)) + cdkBuilder.types(types.map(EndpointType.Companion::unwrap)) } /** @@ -86,7 +86,7 @@ public interface EndpointConfiguration { * @param vpcEndpoints A list of VPC Endpoints against which to create Route53 ALIASes. */ override fun vpcEndpoints(vpcEndpoints: List) { - cdkBuilder.vpcEndpoints(vpcEndpoints.map(IVpcEndpoint::unwrap)) + cdkBuilder.vpcEndpoints(vpcEndpoints.map(IVpcEndpoint.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/FirehoseLogDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/FirehoseLogDestination.kt index 9834e6afa0..fa48c38ae8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/FirehoseLogDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/FirehoseLogDestination.kt @@ -34,7 +34,7 @@ public open class FirehoseLogDestination( cdkObject: software.amazon.awscdk.services.apigateway.FirehoseLogDestination, ) : CdkObject(cdkObject), IAccessLogDestination { public constructor(stream: CfnDeliveryStream) : - this(software.amazon.awscdk.services.apigateway.FirehoseLogDestination(stream.let(CfnDeliveryStream::unwrap)) + this(software.amazon.awscdk.services.apigateway.FirehoseLogDestination(stream.let(CfnDeliveryStream.Companion::unwrap)) ) /** @@ -43,7 +43,7 @@ public open class FirehoseLogDestination( * @param _stage */ public override fun bind(stage: IStage): AccessLogDestinationConfig = - unwrap(this).bind(stage.let(IStage::unwrap)).let(AccessLogDestinationConfig::wrap) + unwrap(this).bind(stage.let(IStage.Companion::unwrap)).let(AccessLogDestinationConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.apigateway.FirehoseLogDestination): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponse.kt index 19e541c597..185a847641 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponse.kt @@ -41,8 +41,8 @@ public open class GatewayResponse( id: String, props: GatewayResponseProps, ) : - this(software.amazon.awscdk.services.apigateway.GatewayResponse(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GatewayResponseProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.GatewayResponse(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GatewayResponseProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class GatewayResponse( * @param restApi Rest api resource to target. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class GatewayResponse( * @param type Response type to associate with gateway response. */ override fun type(type: ResponseType) { - cdkBuilder.type(type.let(ResponseType::unwrap)) + cdkBuilder.type(type.let(ResponseType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.GatewayResponse = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseOptions.kt index 70fa3ed5c1..b67504c807 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseOptions.kt @@ -115,7 +115,7 @@ public interface GatewayResponseOptions { * @param type Response type to associate with gateway response. */ override fun type(type: ResponseType) { - cdkBuilder.type(type.let(ResponseType::unwrap)) + cdkBuilder.type(type.let(ResponseType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.GatewayResponseOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseProps.kt index f024dae03f..cb83a620bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/GatewayResponseProps.kt @@ -84,7 +84,7 @@ public interface GatewayResponseProps : GatewayResponseOptions { * @param restApi Rest api resource to target. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public interface GatewayResponseProps : GatewayResponseOptions { * @param type Response type to associate with gateway response. */ override fun type(type: ResponseType) { - cdkBuilder.type(type.let(ResponseType::unwrap)) + cdkBuilder.type(type.let(ResponseType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.GatewayResponseProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegration.kt index 1cc6b3a9e3..d360ede0b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegration.kt @@ -44,7 +44,7 @@ public open class HttpIntegration( public constructor(url: String, props: HttpIntegrationProps) : this(software.amazon.awscdk.services.apigateway.HttpIntegration(url, - props.let(HttpIntegrationProps::unwrap)) + props.let(HttpIntegrationProps.Companion::unwrap)) ) public constructor(url: String, props: HttpIntegrationProps.Builder.() -> Unit) : this(url, @@ -120,7 +120,7 @@ public open class HttpIntegration( * @param options Integration options, such as request/resopnse mapping, content handling, etc. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegrationProps.kt index 95462d8c64..3167c47ef5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/HttpIntegrationProps.kt @@ -118,7 +118,7 @@ public interface HttpIntegrationProps { * @param options Integration options, such as request/resopnse mapping, content handling, etc. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IAccessLogDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IAccessLogDestination.kt index 93a0120ca2..ce8426e8bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IAccessLogDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IAccessLogDestination.kt @@ -25,7 +25,7 @@ public interface IAccessLogDestination { * @param stage */ override fun bind(stage: IStage): AccessLogDestinationConfig = - unwrap(this).bind(stage.let(IStage::unwrap)).let(AccessLogDestinationConfig::wrap) + unwrap(this).bind(stage.let(IStage.Companion::unwrap)).let(AccessLogDestinationConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IApiKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IApiKey.kt index e1c4fb5450..66bf1190dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IApiKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IApiKey.kt @@ -43,7 +43,7 @@ public interface IApiKey : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IDomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IDomainName.kt index 8f0b224fb7..e2702abb7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IDomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IDomainName.kt @@ -49,7 +49,7 @@ public interface IDomainName : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IGatewayResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IGatewayResponse.kt index add60e59d3..aaa472d33f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IGatewayResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IGatewayResponse.kt @@ -31,7 +31,7 @@ public interface IGatewayResponse : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRequestValidator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRequestValidator.kt index 97eb7f7c0c..13778c14ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRequestValidator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRequestValidator.kt @@ -37,7 +37,7 @@ public interface IRequestValidator : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IResource.kt index 6f51a1e71f..6d9fe65534 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IResource.kt @@ -249,7 +249,7 @@ public interface IResource : io.cloudshiftdev.awscdk.IResource { * @param options CORS options. */ override fun addCorsPreflight(options: CorsOptions): Method = - unwrap(this).addCorsPreflight(options.let(CorsOptions::unwrap)).let(Method::wrap) + unwrap(this).addCorsPreflight(options.let(CorsOptions.Companion::unwrap)).let(Method::wrap) /** * Adds an OPTIONS method to this resource which responds to Cross-Origin Resource Sharing @@ -291,7 +291,8 @@ public interface IResource : io.cloudshiftdev.awscdk.IResource { * @param options Method options, such as authentication. */ override fun addMethod(httpMethod: String, target: Integration): Method = - unwrap(this).addMethod(httpMethod, target.let(Integration::unwrap)).let(Method::wrap) + unwrap(this).addMethod(httpMethod, + target.let(Integration.Companion::unwrap)).let(Method::wrap) /** * Defines a new method for this resource. @@ -318,8 +319,8 @@ public interface IResource : io.cloudshiftdev.awscdk.IResource { httpMethod: String, target: Integration, options: MethodOptions, - ): Method = unwrap(this).addMethod(httpMethod, target.let(Integration::unwrap), - options.let(MethodOptions::unwrap)).let(Method::wrap) + ): Method = unwrap(this).addMethod(httpMethod, target.let(Integration.Companion::unwrap), + options.let(MethodOptions.Companion::unwrap)).let(Method::wrap) /** * Defines a new method for this resource. @@ -350,7 +351,7 @@ public interface IResource : io.cloudshiftdev.awscdk.IResource { * @param options Default integration and method options. */ override fun addProxy(options: ProxyResourceOptions): ProxyResource = - unwrap(this).addProxy(options.let(ProxyResourceOptions::unwrap)).let(ProxyResource::wrap) + unwrap(this).addProxy(options.let(ProxyResourceOptions.Companion::unwrap)).let(ProxyResource::wrap) /** * Adds a greedy proxy resource ("{proxy+}") and an ANY method to this route. @@ -380,7 +381,8 @@ public interface IResource : io.cloudshiftdev.awscdk.IResource { * @param options Resource options. */ override fun addResource(pathPart: String, options: ResourceOptions): Resource = - unwrap(this).addResource(pathPart, options.let(ResourceOptions::unwrap)).let(Resource::wrap) + unwrap(this).addResource(pathPart, + options.let(ResourceOptions.Companion::unwrap)).let(Resource::wrap) /** * Defines a new child resource where this resource is the parent. @@ -418,7 +420,7 @@ public interface IResource : io.cloudshiftdev.awscdk.IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRestApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRestApi.kt index 4368fe5939..e54107d8be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRestApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IRestApi.kt @@ -129,7 +129,7 @@ public interface IRestApi : io.cloudshiftdev.awscdk.IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public interface IRestApi : io.cloudshiftdev.awscdk.IResource { * API Gateway stage that points to the latest deployment (if defined). */ override fun deploymentStage(`value`: Stage) { - unwrap(this).setDeploymentStage(`value`.let(Stage::unwrap)) + unwrap(this).setDeploymentStage(`value`.let(Stage.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IStage.kt index 1bb942cf1a..155aca6a36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IStage.kt @@ -71,7 +71,7 @@ public interface IStage : IResource { * @param options */ override fun addApiKey(id: String, options: ApiKeyOptions): IApiKey = unwrap(this).addApiKey(id, - options.let(ApiKeyOptions::unwrap)).let(IApiKey::wrap) + options.let(ApiKeyOptions.Companion::unwrap)).let(IApiKey::wrap) /** * Add an ApiKey to this Stage. @@ -98,7 +98,7 @@ public interface IStage : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IUsagePlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IUsagePlan.kt index f15422da4a..e18d8e9ef0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IUsagePlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IUsagePlan.kt @@ -58,7 +58,7 @@ public interface IUsagePlan : IResource { * @param options options that control the behaviour of this method. */ override fun addApiKey(apiKey: IApiKey) { - unwrap(this).addApiKey(apiKey.let(IApiKey::unwrap)) + unwrap(this).addApiKey(apiKey.let(IApiKey.Companion::unwrap)) } /** @@ -68,7 +68,8 @@ public interface IUsagePlan : IResource { * @param options options that control the behaviour of this method. */ override fun addApiKey(apiKey: IApiKey, options: AddApiKeyOptions) { - unwrap(this).addApiKey(apiKey.let(IApiKey::unwrap), options.let(AddApiKeyOptions::unwrap)) + unwrap(this).addApiKey(apiKey.let(IApiKey.Companion::unwrap), + options.let(AddApiKeyOptions.Companion::unwrap)) } /** @@ -96,7 +97,7 @@ public interface IUsagePlan : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IVpcLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IVpcLink.kt index e09c3646ba..fe5d1cd0da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IVpcLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IVpcLink.kt @@ -37,7 +37,7 @@ public interface IVpcLink : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/InlineApiDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/InlineApiDefinition.kt index 0b2db18a69..8b6d83c053 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/InlineApiDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/InlineApiDefinition.kt @@ -32,7 +32,7 @@ public open class InlineApiDefinition( * @param _scope */ public override fun bind(scope: Construct): ApiDefinitionConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(ApiDefinitionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(ApiDefinitionConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.apigateway.InlineApiDefinition): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Integration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Integration.kt index b91a1f6040..7d7c823c89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Integration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Integration.kt @@ -38,7 +38,7 @@ public open class Integration( cdkObject: software.amazon.awscdk.services.apigateway.Integration, ) : CdkObject(cdkObject) { public constructor(props: IntegrationProps) : - this(software.amazon.awscdk.services.apigateway.Integration(props.let(IntegrationProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.Integration(props.let(IntegrationProps.Companion::unwrap)) ) public constructor(props: IntegrationProps.Builder.() -> Unit) : this(IntegrationProps(props) @@ -51,7 +51,7 @@ public open class Integration( * @param _method */ public open fun bind(method: Method): IntegrationConfig = - unwrap(this).bind(method.let(Method::unwrap)).let(IntegrationConfig::wrap) + unwrap(this).bind(method.let(Method.Companion::unwrap)).let(IntegrationConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.apigateway.Integration]. @@ -129,7 +129,7 @@ public open class Integration( * @param options Integration options. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class Integration( * @param type Specifies an API method integration type. */ override fun type(type: IntegrationType) { - cdkBuilder.type(type.let(IntegrationType::unwrap)) + cdkBuilder.type(type.let(IntegrationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationConfig.kt index 0aa01e75ab..1ace036fcc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationConfig.kt @@ -170,7 +170,7 @@ public interface IntegrationConfig { * @param options Integration options. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface IntegrationConfig { * @param type Specifies an API method integration type. */ override fun type(type: IntegrationType) { - cdkBuilder.type(type.let(IntegrationType::unwrap)) + cdkBuilder.type(type.let(IntegrationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationOptions.kt index 08a8a79f6b..57acb365ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationOptions.kt @@ -345,14 +345,14 @@ public interface IntegrationOptions { * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface IntegrationOptions { * Mutually exclusive with `credentialsPassThrough`. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface IntegrationOptions { * that you define. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public interface IntegrationOptions { * NEVER. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface IntegrationOptions { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public interface IntegrationOptions { * Required if connectionType is VPC_LINK */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.IntegrationOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationProps.kt index 837c7d4888..45e7fd43ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationProps.kt @@ -125,7 +125,7 @@ public interface IntegrationProps { * @param options Integration options. */ override fun options(options: IntegrationOptions) { - cdkBuilder.options(options.let(IntegrationOptions::unwrap)) + cdkBuilder.options(options.let(IntegrationOptions.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface IntegrationProps { * @param type Specifies an API method integration type. */ override fun type(type: IntegrationType) { - cdkBuilder.type(type.let(IntegrationType::unwrap)) + cdkBuilder.type(type.let(IntegrationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationResponse.kt index bae3a0ec17..72631233a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/IntegrationResponse.kt @@ -149,7 +149,7 @@ public interface IntegrationResponse { * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/JsonSchema.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/JsonSchema.kt index ce27e09edf..57668dd241 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/JsonSchema.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/JsonSchema.kt @@ -537,7 +537,7 @@ public interface JsonSchema { * @param additionalItems the value to be set. */ override fun additionalItems(additionalItems: List) { - cdkBuilder.additionalItems(additionalItems.map(JsonSchema::unwrap)) + cdkBuilder.additionalItems(additionalItems.map(JsonSchema.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface JsonSchema { * @param additionalProperties the value to be set. */ override fun additionalProperties(additionalProperties: JsonSchema) { - cdkBuilder.additionalProperties(additionalProperties.let(JsonSchema::unwrap)) + cdkBuilder.additionalProperties(additionalProperties.let(JsonSchema.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public interface JsonSchema { * @param allOf the value to be set. */ override fun allOf(allOf: List) { - cdkBuilder.allOf(allOf.map(JsonSchema::unwrap)) + cdkBuilder.allOf(allOf.map(JsonSchema.Companion::unwrap)) } /** @@ -584,7 +584,7 @@ public interface JsonSchema { * @param anyOf the value to be set. */ override fun anyOf(anyOf: List) { - cdkBuilder.anyOf(anyOf.map(JsonSchema::unwrap)) + cdkBuilder.anyOf(anyOf.map(JsonSchema.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface JsonSchema { * @param contains the value to be set. */ override fun contains(contains: JsonSchema) { - cdkBuilder.contains(contains.let(JsonSchema::unwrap)) + cdkBuilder.contains(contains.let(JsonSchema.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public interface JsonSchema { * @param contains the value to be set. */ override fun contains(contains: List) { - cdkBuilder.contains(contains.map(JsonSchema::unwrap)) + cdkBuilder.contains(contains.map(JsonSchema.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface JsonSchema { * @param items the value to be set. */ override fun items(items: JsonSchema) { - cdkBuilder.items(items.let(JsonSchema::unwrap)) + cdkBuilder.items(items.let(JsonSchema.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public interface JsonSchema { * @param items the value to be set. */ override fun items(items: List) { - cdkBuilder.items(items.map(JsonSchema::unwrap)) + cdkBuilder.items(items.map(JsonSchema.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public interface JsonSchema { * @param not the value to be set. */ override fun not(not: JsonSchema) { - cdkBuilder.not(not.let(JsonSchema::unwrap)) + cdkBuilder.not(not.let(JsonSchema.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface JsonSchema { * @param oneOf the value to be set. */ override fun oneOf(oneOf: List) { - cdkBuilder.oneOf(oneOf.map(JsonSchema::unwrap)) + cdkBuilder.oneOf(oneOf.map(JsonSchema.Companion::unwrap)) } /** @@ -826,7 +826,7 @@ public interface JsonSchema { * @param propertyNames the value to be set. */ override fun propertyNames(propertyNames: JsonSchema) { - cdkBuilder.propertyNames(propertyNames.let(JsonSchema::unwrap)) + cdkBuilder.propertyNames(propertyNames.let(JsonSchema.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public interface JsonSchema { * @param schema the value to be set. */ override fun schema(schema: JsonSchemaVersion) { - cdkBuilder.schema(schema.let(JsonSchemaVersion::unwrap)) + cdkBuilder.schema(schema.let(JsonSchemaVersion.Companion::unwrap)) } /** @@ -874,14 +874,14 @@ public interface JsonSchema { * @param type the value to be set. */ override fun type(type: JsonSchemaType) { - cdkBuilder.type(type.let(JsonSchemaType::unwrap)) + cdkBuilder.type(type.let(JsonSchemaType.Companion::unwrap)) } /** * @param type the value to be set. */ override fun type(type: List) { - cdkBuilder.type(type.map(JsonSchemaType::unwrap)) + cdkBuilder.type(type.map(JsonSchemaType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaAuthorizerProps.kt index 869cc06a50..67d67930bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaAuthorizerProps.kt @@ -126,7 +126,7 @@ public interface LambdaAuthorizerProps { * assumable by 'apigateway.amazonaws.com'. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface LambdaAuthorizerProps { * specification](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-output.html). */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface LambdaAuthorizerProps { * Disable caching by setting this to 0. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.LambdaAuthorizerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegration.kt index e820fbb301..f0adb0de85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegration.kt @@ -28,13 +28,13 @@ public open class LambdaIntegration( cdkObject: software.amazon.awscdk.services.apigateway.LambdaIntegration, ) : AwsIntegration(cdkObject) { public constructor(handler: CloudshiftdevAwscdkServicesLambdaIFunction) : - this(software.amazon.awscdk.services.apigateway.LambdaIntegration(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + this(software.amazon.awscdk.services.apigateway.LambdaIntegration(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor(handler: CloudshiftdevAwscdkServicesLambdaIFunction, options: LambdaIntegrationOptions) : - this(software.amazon.awscdk.services.apigateway.LambdaIntegration(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - options.let(LambdaIntegrationOptions::unwrap)) + this(software.amazon.awscdk.services.apigateway.LambdaIntegration(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + options.let(LambdaIntegrationOptions.Companion::unwrap)) ) public constructor(handler: CloudshiftdevAwscdkServicesLambdaIFunction, @@ -49,7 +49,7 @@ public open class LambdaIntegration( * @param method */ public override fun bind(method: Method): IntegrationConfig = - unwrap(this).bind(method.let(Method::unwrap)).let(IntegrationConfig::wrap) + unwrap(this).bind(method.let(Method.Companion::unwrap)).let(IntegrationConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.apigateway.LambdaIntegration]. @@ -314,7 +314,7 @@ public open class LambdaIntegration( * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public open class LambdaIntegration( * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class LambdaIntegration( * @param credentialsRole An IAM role that API Gateway assumes. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class LambdaIntegration( * completes processing a request. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class LambdaIntegration( * requestTemplates property on the Integration resource. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class LambdaIntegration( * response. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class LambdaIntegration( * @param vpcLink The VpcLink used for the integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.LambdaIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegrationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegrationOptions.kt index 3423e48d55..2194e50425 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegrationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaIntegrationOptions.kt @@ -226,14 +226,14 @@ public interface LambdaIntegrationOptions : IntegrationOptions { * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface LambdaIntegrationOptions : IntegrationOptions { * Mutually exclusive with `credentialsPassThrough`. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface LambdaIntegrationOptions : IntegrationOptions { * that you define. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface LambdaIntegrationOptions : IntegrationOptions { * NEVER. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface LambdaIntegrationOptions : IntegrationOptions { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface LambdaIntegrationOptions : IntegrationOptions { * Required if connectionType is VPC_LINK */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.LambdaIntegrationOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApi.kt index 6b07cd3072..fd01bd7586 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApi.kt @@ -51,8 +51,8 @@ public open class LambdaRestApi( id: String, props: LambdaRestApiProps, ) : - this(software.amazon.awscdk.services.apigateway.LambdaRestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaRestApiProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.LambdaRestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LambdaRestApiProps.Companion::unwrap)) ) public constructor( @@ -522,7 +522,7 @@ public open class LambdaRestApi( * plan. */ override fun apiKeySourceType(apiKeySourceType: ApiKeySourceType) { - cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType::unwrap)) + cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public open class LambdaRestApi( * @param cloneFrom The ID of the API Gateway RestApi resource that you want to clone. */ override fun cloneFrom(cloneFrom: IRestApi) { - cdkBuilder.cloneFrom(cloneFrom.let(IRestApi::unwrap)) + cdkBuilder.cloneFrom(cloneFrom.let(IRestApi.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public open class LambdaRestApi( * this resource is removed from the application. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public open class LambdaRestApi( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class LambdaRestApi( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class LambdaRestApi( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public open class LambdaRestApi( * deployment when `deploy` is enabled. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public open class LambdaRestApi( * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public open class LambdaRestApi( * types of a REST API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfiguration) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration.Companion::unwrap)) } /** @@ -833,7 +833,7 @@ public open class LambdaRestApi( * @param endpointTypes A list of the endpoint types of the API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public open class LambdaRestApi( * @param handler The default Lambda function that handles all requests from this API. */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -882,7 +882,7 @@ public open class LambdaRestApi( * @param integrationOptions Specific Lambda integration options. */ override fun integrationOptions(integrationOptions: LambdaIntegrationOptions) { - cdkBuilder.integrationOptions(integrationOptions.let(LambdaIntegrationOptions::unwrap)) + cdkBuilder.integrationOptions(integrationOptions.let(LambdaIntegrationOptions.Companion::unwrap)) } /** @@ -915,7 +915,7 @@ public open class LambdaRestApi( * compression (when undefined) on an API. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -959,7 +959,7 @@ public open class LambdaRestApi( * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApiProps.kt index 353a1f0e9f..03e72e3f84 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LambdaRestApiProps.kt @@ -342,7 +342,7 @@ public interface LambdaRestApiProps : RestApiProps { * plan. */ override fun apiKeySourceType(apiKeySourceType: ApiKeySourceType) { - cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType::unwrap)) + cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public interface LambdaRestApiProps : RestApiProps { * @param cloneFrom The ID of the API Gateway RestApi resource that you want to clone. */ override fun cloneFrom(cloneFrom: IRestApi) { - cdkBuilder.cloneFrom(cloneFrom.let(IRestApi::unwrap)) + cdkBuilder.cloneFrom(cloneFrom.let(IRestApi.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface LambdaRestApiProps : RestApiProps { * Requires `cloudWatchRole` to be enabled. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public interface LambdaRestApiProps : RestApiProps { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface LambdaRestApiProps : RestApiProps { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public interface LambdaRestApiProps : RestApiProps { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public interface LambdaRestApiProps : RestApiProps { * this value cannot be set. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface LambdaRestApiProps : RestApiProps { * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface LambdaRestApiProps : RestApiProps { * types of a REST API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfiguration) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public interface LambdaRestApiProps : RestApiProps { * an API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -568,14 +568,14 @@ public interface LambdaRestApiProps : RestApiProps { * this API, unless specified otherwise in `addMethod`. */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** * @param integrationOptions Specific Lambda integration options. */ override fun integrationOptions(integrationOptions: LambdaIntegrationOptions) { - cdkBuilder.integrationOptions(integrationOptions.let(LambdaIntegrationOptions::unwrap)) + cdkBuilder.integrationOptions(integrationOptions.let(LambdaIntegrationOptions.Companion::unwrap)) } /** @@ -597,7 +597,7 @@ public interface LambdaRestApiProps : RestApiProps { * payload size. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public interface LambdaRestApiProps : RestApiProps { * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LogGroupLogDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LogGroupLogDestination.kt index a6ba1a7e74..9eeeafecfd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LogGroupLogDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/LogGroupLogDestination.kt @@ -27,7 +27,7 @@ public open class LogGroupLogDestination( cdkObject: software.amazon.awscdk.services.apigateway.LogGroupLogDestination, ) : CdkObject(cdkObject), IAccessLogDestination { public constructor(logGroup: ILogGroup) : - this(software.amazon.awscdk.services.apigateway.LogGroupLogDestination(logGroup.let(ILogGroup::unwrap)) + this(software.amazon.awscdk.services.apigateway.LogGroupLogDestination(logGroup.let(ILogGroup.Companion::unwrap)) ) /** @@ -36,7 +36,7 @@ public open class LogGroupLogDestination( * @param _stage */ public override fun bind(stage: IStage): AccessLogDestinationConfig = - unwrap(this).bind(stage.let(IStage::unwrap)).let(AccessLogDestinationConfig::wrap) + unwrap(this).bind(stage.let(IStage.Companion::unwrap)).let(AccessLogDestinationConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.apigateway.LogGroupLogDestination): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MTLSConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MTLSConfig.kt index 18d0132723..bc2c384984 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MTLSConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MTLSConfig.kt @@ -78,7 +78,7 @@ public interface MTLSConfig { * @param bucket The bucket that the trust store is hosted in. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Method.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Method.kt index 3ad5911b64..d28d2e7118 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Method.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Method.kt @@ -43,8 +43,8 @@ public open class Method( id: String, props: MethodProps, ) : - this(software.amazon.awscdk.services.apigateway.Method(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(MethodProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.Method(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(MethodProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class Method( * @param methodResponse */ public open fun addMethodResponse(methodResponse: MethodResponse) { - unwrap(this).addMethodResponse(methodResponse.let(MethodResponse::unwrap)) + unwrap(this).addMethodResponse(methodResponse.let(MethodResponse.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public open class Method( * @param grantee the principal. */ public open fun grantExecute(grantee: IGrantable): Grant = - unwrap(this).grantExecute(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantExecute(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * @@ -123,7 +123,7 @@ public open class Method( * @param props */ public open fun metric(metricName: String, stage: IStage): Metric = - unwrap(this).metric(metricName, stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Returns the given named metric for this API method. @@ -136,8 +136,8 @@ public open class Method( metricName: String, stage: IStage, props: MetricOptions, - ): Metric = unwrap(this).metric(metricName, stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + ): Metric = unwrap(this).metric(metricName, stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Returns the given named metric for this API method. @@ -163,7 +163,7 @@ public open class Method( * @param props */ public open fun metricCacheHitCount(stage: IStage): Metric = - unwrap(this).metricCacheHitCount(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheHitCount(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the API cache in a given period. @@ -174,8 +174,8 @@ public open class Method( * @param props */ public open fun metricCacheHitCount(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricCacheHitCount(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheHitCount(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the API cache in a given period. @@ -200,7 +200,7 @@ public open class Method( * @param props */ public open fun metricCacheMissCount(stage: IStage): Metric = - unwrap(this).metricCacheMissCount(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheMissCount(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the backend in a given period, when API caching @@ -212,8 +212,8 @@ public open class Method( * @param props */ public open fun metricCacheMissCount(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricCacheMissCount(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheMissCount(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the backend in a given period, when API caching @@ -238,7 +238,7 @@ public open class Method( * @param props */ public open fun metricClientError(stage: IStage): Metric = - unwrap(this).metricClientError(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -249,8 +249,8 @@ public open class Method( * @param props */ public open fun metricClientError(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricClientError(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -274,7 +274,7 @@ public open class Method( * @param props */ public open fun metricCount(stage: IStage): Metric = - unwrap(this).metricCount(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -285,8 +285,8 @@ public open class Method( * @param props */ public open fun metricCount(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricCount(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -311,7 +311,7 @@ public open class Method( * @param props */ public open fun metricIntegrationLatency(stage: IStage): Metric = - unwrap(this).metricIntegrationLatency(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -323,8 +323,8 @@ public open class Method( * @param props */ public open fun metricIntegrationLatency(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -352,7 +352,7 @@ public open class Method( * @param props */ public open fun metricLatency(stage: IStage): Metric = - unwrap(this).metricLatency(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -366,8 +366,8 @@ public open class Method( * @param props */ public open fun metricLatency(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricLatency(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -394,7 +394,7 @@ public open class Method( * @param props */ public open fun metricServerError(stage: IStage): Metric = - unwrap(this).metricServerError(stage.let(IStage::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(stage.let(IStage.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. @@ -405,8 +405,8 @@ public open class Method( * @param props */ public open fun metricServerError(stage: IStage, props: MetricOptions): Metric = - unwrap(this).metricServerError(stage.let(IStage::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(stage.let(IStage.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. @@ -522,7 +522,7 @@ public open class Method( * @param integration The backend system that the method calls when it receives a request. */ override fun integration(integration: Integration) { - cdkBuilder.integration(integration.let(Integration::unwrap)) + cdkBuilder.integration(integration.let(Integration.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public open class Method( * @param options Method options. */ override fun options(options: MethodOptions) { - cdkBuilder.options(options.let(MethodOptions::unwrap)) + cdkBuilder.options(options.let(MethodOptions.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public open class Method( * @param resource The resource this method is associated with. */ override fun resource(resource: IResource) { - cdkBuilder.resource(resource.let(IResource::unwrap)) + cdkBuilder.resource(resource.let(IResource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.Method = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodDeploymentOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodDeploymentOptions.kt index b9b08d53c3..5cf6bff818 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodDeploymentOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodDeploymentOptions.kt @@ -182,7 +182,7 @@ public interface MethodDeploymentOptions { * higher the TTL, the longer the response will be cached. */ override fun cacheTtl(cacheTtl: Duration) { - cdkBuilder.cacheTtl(cacheTtl.let(Duration::unwrap)) + cdkBuilder.cacheTtl(cacheTtl.let(Duration.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public interface MethodDeploymentOptions { * entries pushed to Amazon CloudWatch Logs. */ override fun loggingLevel(loggingLevel: MethodLoggingLevel) { - cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel::unwrap)) + cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodOptions.kt index de6090e899..cb050ae086 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodOptions.kt @@ -333,7 +333,7 @@ public interface MethodOptions { * will result in an error. */ override fun authorizationType(authorizationType: AuthorizationType) { - cdkBuilder.authorizationType(authorizationType.let(AuthorizationType::unwrap)) + cdkBuilder.authorizationType(authorizationType.let(AuthorizationType.Companion::unwrap)) } /** @@ -342,14 +342,14 @@ public interface MethodOptions { * If specified, the value of `authorizationType` must be set to `Custom` */ override fun authorizer(authorizer: IAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IAuthorizer.Companion::unwrap)) } /** * @param methodResponses The responses that can be sent to the client who calls the method. */ override fun methodResponses(methodResponses: List) { - cdkBuilder.methodResponses(methodResponses.map(MethodResponse::unwrap)) + cdkBuilder.methodResponses(methodResponses.map(MethodResponse.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface MethodOptions { * the request before it reaches integration like Lambda Proxy Integration. */ override fun requestValidator(requestValidator: IRequestValidator) { - cdkBuilder.requestValidator(requestValidator.let(IRequestValidator::unwrap)) + cdkBuilder.requestValidator(requestValidator.let(IRequestValidator.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public interface MethodOptions { * the request before it reaches integration like Lambda Proxy Integration. */ override fun requestValidatorOptions(requestValidatorOptions: RequestValidatorOptions) { - cdkBuilder.requestValidatorOptions(requestValidatorOptions.let(RequestValidatorOptions::unwrap)) + cdkBuilder.requestValidatorOptions(requestValidatorOptions.let(RequestValidatorOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodProps.kt index c26178f40a..9130d56962 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MethodProps.kt @@ -141,7 +141,7 @@ public interface MethodProps { * @param integration The backend system that the method calls when it receives a request. */ override fun integration(integration: Integration) { - cdkBuilder.integration(integration.let(Integration::unwrap)) + cdkBuilder.integration(integration.let(Integration.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface MethodProps { * @param options Method options. */ override fun options(options: MethodOptions) { - cdkBuilder.options(options.let(MethodOptions::unwrap)) + cdkBuilder.options(options.let(MethodOptions.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface MethodProps { * specify the `RestApi` object. */ override fun resource(resource: IResource) { - cdkBuilder.resource(resource.let(IResource::unwrap)) + cdkBuilder.resource(resource.let(IResource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.MethodProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MockIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MockIntegration.kt index 201f16bb96..5b004c6bf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MockIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/MockIntegration.kt @@ -89,7 +89,7 @@ public open class MockIntegration( ) public constructor(options: IntegrationOptions) : - this(software.amazon.awscdk.services.apigateway.MockIntegration(options.let(IntegrationOptions::unwrap)) + this(software.amazon.awscdk.services.apigateway.MockIntegration(options.let(IntegrationOptions.Companion::unwrap)) ) public constructor(options: IntegrationOptions.Builder.() -> Unit) : @@ -317,7 +317,7 @@ public open class MockIntegration( * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class MockIntegration( * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class MockIntegration( * @param credentialsRole An IAM role that API Gateway assumes. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class MockIntegration( * completes processing a request. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class MockIntegration( * requestTemplates property on the Integration resource. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class MockIntegration( * response. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public open class MockIntegration( * @param vpcLink The VpcLink used for the integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.MockIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Model.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Model.kt index 146168df8e..fbc44f7651 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Model.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Model.kt @@ -51,8 +51,8 @@ public open class Model( id: String, props: ModelProps, ) : - this(software.amazon.awscdk.services.apigateway.Model(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ModelProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.Model(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ModelProps.Companion::unwrap)) ) public constructor( @@ -207,7 +207,7 @@ public open class Model( * @param restApi The rest API that this model is part of. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class Model( * @param schema The schema to use to transform data to one or more output formats. */ override fun schema(schema: JsonSchema) { - cdkBuilder.schema(schema.let(JsonSchema::unwrap)) + cdkBuilder.schema(schema.let(JsonSchema.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class Model( id: String, modelName: String, ): IModel = - software.amazon.awscdk.services.apigateway.Model.fromModelName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.apigateway.Model.fromModelName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, modelName).let(IModel::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelOptions.kt index 2603ba1f8a..026db08c67 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelOptions.kt @@ -162,7 +162,7 @@ public interface ModelOptions { * Specify null ({}) if you don't want to specify a schema. */ override fun schema(schema: JsonSchema) { - cdkBuilder.schema(schema.let(JsonSchema::unwrap)) + cdkBuilder.schema(schema.let(JsonSchema.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelProps.kt index 5ff5029c37..a9d0a03c26 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ModelProps.kt @@ -173,7 +173,7 @@ public interface ModelProps : ModelOptions { * the deployment when the model of the REST API changes. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface ModelProps : ModelOptions { * Specify null ({}) if you don't want to specify a schema. */ override fun schema(schema: JsonSchema) { - cdkBuilder.schema(schema.let(JsonSchema::unwrap)) + cdkBuilder.schema(schema.let(JsonSchema.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResource.kt index d357f8750c..99124bd559 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResource.kt @@ -35,8 +35,8 @@ public open class ProxyResource( id: String, props: ProxyResourceProps, ) : - this(software.amazon.awscdk.services.apigateway.ProxyResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ProxyResourceProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.ProxyResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ProxyResourceProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,8 @@ public open class ProxyResource( * @param options */ public override fun addMethod(httpMethod: String, integration: Integration): Method = - unwrap(this).addMethod(httpMethod, integration.let(Integration::unwrap)).let(Method::wrap) + unwrap(this).addMethod(httpMethod, + integration.let(Integration.Companion::unwrap)).let(Method::wrap) /** * Defines a new method for this resource. @@ -89,8 +90,8 @@ public open class ProxyResource( httpMethod: String, integration: Integration, options: MethodOptions, - ): Method = unwrap(this).addMethod(httpMethod, integration.let(Integration::unwrap), - options.let(MethodOptions::unwrap)).let(Method::wrap) + ): Method = unwrap(this).addMethod(httpMethod, integration.let(Integration.Companion::unwrap), + options.let(MethodOptions.Companion::unwrap)).let(Method::wrap) /** * Defines a new method for this resource. @@ -248,7 +249,7 @@ public open class ProxyResource( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -277,7 +278,7 @@ public open class ProxyResource( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -304,7 +305,7 @@ public open class ProxyResource( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -330,7 +331,7 @@ public open class ProxyResource( * @param parent The parent resource of this resource. */ override fun parent(parent: IResource) { - cdkBuilder.parent(parent.let(IResource::unwrap)) + cdkBuilder.parent(parent.let(IResource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.ProxyResource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceOptions.kt index 6b93e689f8..5b72569b40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceOptions.kt @@ -110,7 +110,7 @@ public interface ProxyResourceOptions : ResourceOptions { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface ProxyResourceOptions : ResourceOptions { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface ProxyResourceOptions : ResourceOptions { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceProps.kt index bfdc3e29d4..b0ac6c4606 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ProxyResourceProps.kt @@ -159,7 +159,7 @@ public interface ProxyResourceProps : ProxyResourceOptions { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface ProxyResourceProps : ProxyResourceOptions { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public interface ProxyResourceProps : ProxyResourceOptions { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface ProxyResourceProps : ProxyResourceOptions { * `Resource` object or a `RestApi` object here. */ override fun parent(parent: IResource) { - cdkBuilder.parent(parent.let(IResource::unwrap)) + cdkBuilder.parent(parent.let(IResource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.ProxyResourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/QuotaSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/QuotaSettings.kt index 857c9e0436..c12d820645 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/QuotaSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/QuotaSettings.kt @@ -94,7 +94,7 @@ public interface QuotaSettings { * @param period The time period for which the maximum limit of requests applies. */ override fun period(period: Period) { - cdkBuilder.period(period.let(Period::unwrap)) + cdkBuilder.period(period.let(Period.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.QuotaSettings = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKey.kt index 3ceea147e8..620395f865 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKey.kt @@ -36,7 +36,7 @@ public open class RateLimitedApiKey( cdkObject: software.amazon.awscdk.services.apigateway.RateLimitedApiKey, ) : Resource(cdkObject), IApiKey { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.RateLimitedApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.RateLimitedApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class RateLimitedApiKey( id: String, props: RateLimitedApiKeyProps, ) : - this(software.amazon.awscdk.services.apigateway.RateLimitedApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RateLimitedApiKeyProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.RateLimitedApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RateLimitedApiKeyProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class RateLimitedApiKey( * @param grantee The principal to grant access to. */ public open fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits the IAM principal all read and write operations through this key. @@ -70,7 +70,7 @@ public open class RateLimitedApiKey( * @param grantee The principal to grant access to. */ public open fun grantReadWrite(grantee: IGrantable): Grant = - unwrap(this).grantReadWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits the IAM principal all write operations through this key. @@ -78,7 +78,7 @@ public open class RateLimitedApiKey( * @param grantee The principal to grant access to. */ public open fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The API key ARN. @@ -359,7 +359,7 @@ public open class RateLimitedApiKey( * @param apiStages API Stages to be associated with the RateLimitedApiKey. */ override fun apiStages(apiStages: List) { - cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage::unwrap)) + cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class RateLimitedApiKey( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class RateLimitedApiKey( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class RateLimitedApiKey( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public open class RateLimitedApiKey( * @param quota Number of requests clients can make in a given time period. */ override fun quota(quota: QuotaSettings) { - cdkBuilder.quota(quota.let(QuotaSettings::unwrap)) + cdkBuilder.quota(quota.let(QuotaSettings.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class RateLimitedApiKey( */ @Deprecated(message = "deprecated in CDK") override fun resources(resources: List) { - cdkBuilder.resources(resources.map(IRestApi::unwrap)) + cdkBuilder.resources(resources.map(IRestApi.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class RateLimitedApiKey( * @param stages A list of Stages this api key is associated with. */ override fun stages(stages: List) { - cdkBuilder.stages(stages.map(IStage::unwrap)) + cdkBuilder.stages(stages.map(IStage.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class RateLimitedApiKey( * @param throttle Overall throttle settings for the API. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKeyProps.kt index 4bf7d639c3..004b973185 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RateLimitedApiKeyProps.kt @@ -214,7 +214,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * @param apiStages API Stages to be associated with the RateLimitedApiKey. */ override fun apiStages(apiStages: List) { - cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage::unwrap)) + cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * @param quota Number of requests clients can make in a given time period. */ override fun quota(quota: QuotaSettings) { - cdkBuilder.quota(quota.let(QuotaSettings::unwrap)) + cdkBuilder.quota(quota.let(QuotaSettings.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { */ @Deprecated(message = "deprecated in CDK") override fun resources(resources: List) { - cdkBuilder.resources(resources.map(IRestApi::unwrap)) + cdkBuilder.resources(resources.map(IRestApi.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * @param stages A list of Stages this api key is associated with. */ override fun stages(stages: List) { - cdkBuilder.stages(stages.map(IStage::unwrap)) + cdkBuilder.stages(stages.map(IStage.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface RateLimitedApiKeyProps : ApiKeyProps { * @param throttle Overall throttle settings for the API. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizer.kt index 5106324047..9aa787fbad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizer.kt @@ -40,8 +40,8 @@ public open class RequestAuthorizer( id: String, props: RequestAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigateway.RequestAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RequestAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.RequestAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RequestAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -181,7 +181,7 @@ public open class RequestAuthorizer( * Lambda-based authorizer. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class RequestAuthorizer( * @param handler The handler for the authorizer lambda function. */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class RequestAuthorizer( * @param resultsCacheTtl How long APIGateway should cache the results. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.RequestAuthorizer = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizerProps.kt index 5488d7cf62..7ac5d56076 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestAuthorizerProps.kt @@ -133,7 +133,7 @@ public interface RequestAuthorizerProps : LambdaAuthorizerProps { * assumable by 'apigateway.amazonaws.com'. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface RequestAuthorizerProps : LambdaAuthorizerProps { * specification](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-output.html). */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public interface RequestAuthorizerProps : LambdaAuthorizerProps { * Disable caching by setting this to 0. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.RequestAuthorizerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidator.kt index 6d0ad51b80..465e63aacd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidator.kt @@ -35,8 +35,8 @@ public open class RequestValidator( id: String, props: RequestValidatorProps, ) : - this(software.amazon.awscdk.services.apigateway.RequestValidator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RequestValidatorProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.RequestValidator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RequestValidatorProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class RequestValidator( * @param restApi The rest API that this model is part of. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class RequestValidator( id: String, requestValidatorId: String, ): IRequestValidator = - software.amazon.awscdk.services.apigateway.RequestValidator.fromRequestValidatorId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.apigateway.RequestValidator.fromRequestValidatorId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, requestValidatorId).let(IRequestValidator::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidatorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidatorProps.kt index 22a7205184..ec6805e67b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidatorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RequestValidatorProps.kt @@ -87,7 +87,7 @@ public interface RequestValidatorProps : RequestValidatorOptions { * the deployment when the model of the REST API changes. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Resource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Resource.kt index 8e1a05e74f..322507b4f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Resource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Resource.kt @@ -32,8 +32,8 @@ public open class Resource( id: String, props: ResourceProps, ) : - this(software.amazon.awscdk.services.apigateway.Resource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ResourceProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.Resource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ResourceProps.Companion::unwrap)) ) public constructor( @@ -205,7 +205,7 @@ public open class Resource( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class Resource( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class Resource( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class Resource( * @param parent The parent resource of this resource. */ override fun parent(parent: IResource) { - cdkBuilder.parent(parent.let(IResource::unwrap)) + cdkBuilder.parent(parent.let(IResource.Companion::unwrap)) } /** @@ -308,8 +308,8 @@ public open class Resource( id: String, attrs: ResourceAttributes, ): IResource = - software.amazon.awscdk.services.apigateway.Resource.fromResourceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ResourceAttributes::unwrap)).let(IResource::wrap) + software.amazon.awscdk.services.apigateway.Resource.fromResourceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ResourceAttributes.Companion::unwrap)).let(IResource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc2cd864e2b32bee5456bf8bcb5d9271b8ba7faa17a2e56e903d053de2ee6379") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceAttributes.kt index 64f512500b..6b22789c2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceAttributes.kt @@ -84,7 +84,7 @@ public interface ResourceAttributes { * @param restApi The rest API that this resource is part of. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.ResourceAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceBase.kt index acbcee9be1..96c51470cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceBase.kt @@ -28,7 +28,7 @@ public abstract class ResourceBase( * @param options */ public override fun addCorsPreflight(options: CorsOptions): Method = - unwrap(this).addCorsPreflight(options.let(CorsOptions::unwrap)).let(Method::wrap) + unwrap(this).addCorsPreflight(options.let(CorsOptions.Companion::unwrap)).let(Method::wrap) /** * Adds an OPTIONS method to this resource which responds to Cross-Origin Resource Sharing (CORS) @@ -66,7 +66,8 @@ public abstract class ResourceBase( * @param options */ public override fun addMethod(httpMethod: String, integration: Integration): Method = - unwrap(this).addMethod(httpMethod, integration.let(Integration::unwrap)).let(Method::wrap) + unwrap(this).addMethod(httpMethod, + integration.let(Integration.Companion::unwrap)).let(Method::wrap) /** * Defines a new method for this resource. @@ -91,8 +92,8 @@ public abstract class ResourceBase( httpMethod: String, integration: Integration, options: MethodOptions, - ): Method = unwrap(this).addMethod(httpMethod, integration.let(Integration::unwrap), - options.let(MethodOptions::unwrap)).let(Method::wrap) + ): Method = unwrap(this).addMethod(httpMethod, integration.let(Integration.Companion::unwrap), + options.let(MethodOptions.Companion::unwrap)).let(Method::wrap) /** * Defines a new method for this resource. @@ -122,7 +123,7 @@ public abstract class ResourceBase( * @param options */ public override fun addProxy(options: ProxyResourceOptions): ProxyResource = - unwrap(this).addProxy(options.let(ProxyResourceOptions::unwrap)).let(ProxyResource::wrap) + unwrap(this).addProxy(options.let(ProxyResourceOptions.Companion::unwrap)).let(ProxyResource::wrap) /** * Adds a greedy proxy resource ("{proxy+}") and an ANY method to this route. @@ -150,7 +151,8 @@ public abstract class ResourceBase( * @param options */ public override fun addResource(pathPart: String, options: ResourceOptions): Resource = - unwrap(this).addResource(pathPart, options.let(ResourceOptions::unwrap)).let(Resource::wrap) + unwrap(this).addResource(pathPart, + options.let(ResourceOptions.Companion::unwrap)).let(Resource::wrap) /** * Defines a new child resource where this resource is the parent. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceOptions.kt index bd3ada6601..4a81f7a4fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceOptions.kt @@ -110,7 +110,7 @@ public interface ResourceOptions { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface ResourceOptions { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface ResourceOptions { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceProps.kt index 5b8daf088a..73fa0c5d4b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ResourceProps.kt @@ -153,7 +153,7 @@ public interface ResourceProps : ResourceOptions { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public interface ResourceProps : ResourceOptions { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface ResourceProps : ResourceOptions { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface ResourceProps : ResourceOptions { * `Resource` object or a `RestApi` object here. */ override fun parent(parent: IResource) { - cdkBuilder.parent(parent.let(IResource::unwrap)) + cdkBuilder.parent(parent.let(IResource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApi.kt index 9b6520d185..6afc01aa3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApi.kt @@ -43,7 +43,7 @@ public open class RestApi( cdkObject: software.amazon.awscdk.services.apigateway.RestApi, ) : RestApiBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.RestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.RestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class RestApi( id: String, props: RestApiProps, ) : - this(software.amazon.awscdk.services.apigateway.RestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RestApiProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.RestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RestApiProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class RestApi( * @param props */ public open fun addModel(id: String, props: ModelOptions): Model = unwrap(this).addModel(id, - props.let(ModelOptions::unwrap)).let(Model::wrap) + props.let(ModelOptions.Companion::unwrap)).let(Model::wrap) /** * Adds a new model. @@ -91,7 +91,7 @@ public open class RestApi( */ public open fun addRequestValidator(id: String, props: RequestValidatorOptions): RequestValidator = unwrap(this).addRequestValidator(id, - props.let(RequestValidatorOptions::unwrap)).let(RequestValidator::wrap) + props.let(RequestValidatorOptions.Companion::unwrap)).let(RequestValidator::wrap) /** * Adds a new request validator. @@ -545,7 +545,7 @@ public open class RestApi( * plan. */ override fun apiKeySourceType(apiKeySourceType: ApiKeySourceType) { - cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType::unwrap)) + cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public open class RestApi( * @param cloneFrom The ID of the API Gateway RestApi resource that you want to clone. */ override fun cloneFrom(cloneFrom: IRestApi) { - cdkBuilder.cloneFrom(cloneFrom.let(IRestApi::unwrap)) + cdkBuilder.cloneFrom(cloneFrom.let(IRestApi.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class RestApi( * this resource is removed from the application. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public open class RestApi( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class RestApi( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public open class RestApi( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class RestApi( * deployment when `deploy` is enabled. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class RestApi( * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public open class RestApi( * types of a REST API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfiguration) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration.Companion::unwrap)) } /** @@ -856,7 +856,7 @@ public open class RestApi( * @param endpointTypes A list of the endpoint types of the API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class RestApi( * compression (when undefined) on an API. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -946,7 +946,7 @@ public open class RestApi( * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** @@ -996,8 +996,8 @@ public open class RestApi( id: String, attrs: RestApiAttributes, ): IRestApi = - software.amazon.awscdk.services.apigateway.RestApi.fromRestApiAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(RestApiAttributes::unwrap)).let(IRestApi::wrap) + software.amazon.awscdk.services.apigateway.RestApi.fromRestApiAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(RestApiAttributes.Companion::unwrap)).let(IRestApi::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cb89db0f35408d8d66d6358e7a387ed7dc683f1c1676bfb2e8655d4fbc01224f") @@ -1012,7 +1012,7 @@ public open class RestApi( id: String, restApiId: String, ): IRestApi = - software.amazon.awscdk.services.apigateway.RestApi.fromRestApiId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.apigateway.RestApi.fromRestApiId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, restApiId).let(IRestApi::wrap) public fun isRestApi(x: Any): Boolean = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBase.kt index ca94b7ec81..ab894d5413 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBase.kt @@ -41,7 +41,7 @@ public abstract class RestApiBase( * @param options */ public open fun addApiKey(id: String, options: ApiKeyOptions): IApiKey = - unwrap(this).addApiKey(id, options.let(ApiKeyOptions::unwrap)).let(IApiKey::wrap) + unwrap(this).addApiKey(id, options.let(ApiKeyOptions.Companion::unwrap)).let(IApiKey::wrap) /** * Add an ApiKey to the deploymentStage. @@ -61,7 +61,8 @@ public abstract class RestApiBase( * @param options custom domain options. */ public open fun addDomainName(id: String, options: DomainNameOptions): DomainName = - unwrap(this).addDomainName(id, options.let(DomainNameOptions::unwrap)).let(DomainName::wrap) + unwrap(this).addDomainName(id, + options.let(DomainNameOptions.Companion::unwrap)).let(DomainName::wrap) /** * Defines an API Gateway domain name and maps it to this API. @@ -82,7 +83,7 @@ public abstract class RestApiBase( */ public open fun addGatewayResponse(id: String, options: GatewayResponseOptions): GatewayResponse = unwrap(this).addGatewayResponse(id, - options.let(GatewayResponseOptions::unwrap)).let(GatewayResponse::wrap) + options.let(GatewayResponseOptions.Companion::unwrap)).let(GatewayResponse::wrap) /** * Adds a new gateway response. @@ -112,7 +113,8 @@ public abstract class RestApiBase( * @param props */ public open fun addUsagePlan(id: String, props: UsagePlanProps): UsagePlan = - unwrap(this).addUsagePlan(id, props.let(UsagePlanProps::unwrap)).let(UsagePlan::wrap) + unwrap(this).addUsagePlan(id, + props.let(UsagePlanProps.Companion::unwrap)).let(UsagePlan::wrap) /** * Adds a usage plan. @@ -182,7 +184,7 @@ public abstract class RestApiBase( * set up integrations. */ public override fun deploymentStage(`value`: Stage) { - unwrap(this).setDeploymentStage(`value`.let(Stage::unwrap)) + unwrap(this).setDeploymentStage(`value`.let(Stage.Companion::unwrap)) } /** @@ -216,7 +218,7 @@ public abstract class RestApiBase( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Returns the given named metric for this API. @@ -247,7 +249,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricCacheHitCount(props: MetricOptions): Metric = - unwrap(this).metricCacheHitCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheHitCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the API cache in a given period. @@ -281,7 +283,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricCacheMissCount(props: MetricOptions): Metric = - unwrap(this).metricCacheMissCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheMissCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the backend in a given period, when API caching @@ -313,7 +315,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricClientError(props: MetricOptions): Metric = - unwrap(this).metricClientError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -344,7 +346,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricCount(props: MetricOptions): Metric = - unwrap(this).metricCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -378,7 +380,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricIntegrationLatency(props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -416,7 +418,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricLatency(props: MetricOptions): Metric = - unwrap(this).metricLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -450,7 +452,7 @@ public abstract class RestApiBase( * @param props */ public open fun metricServerError(props: MetricOptions): Metric = - unwrap(this).metricServerError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBaseProps.kt index d387f76020..b195fcd3a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiBaseProps.kt @@ -389,7 +389,7 @@ public interface RestApiBaseProps { * Requires `cloudWatchRole` to be enabled. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public interface RestApiBaseProps { * this value cannot be set. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface RestApiBaseProps { * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public interface RestApiBaseProps { * an API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public interface RestApiBaseProps { * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiProps.kt index 968004147c..fcee939eee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/RestApiProps.kt @@ -358,7 +358,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * plan. */ override fun apiKeySourceType(apiKeySourceType: ApiKeySourceType) { - cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType::unwrap)) + cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * @param cloneFrom The ID of the API Gateway RestApi resource that you want to clone. */ override fun cloneFrom(cloneFrom: IRestApi) { - cdkBuilder.cloneFrom(cloneFrom.let(IRestApi::unwrap)) + cdkBuilder.cloneFrom(cloneFrom.let(IRestApi.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * Requires `cloudWatchRole` to be enabled. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * this value cannot be set. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * types of a REST API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfiguration) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * an API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * payload size. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public interface RestApiProps : ResourceOptions, RestApiBaseProps { * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/S3ApiDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/S3ApiDefinition.kt index 1266ea1b91..f761c3b422 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/S3ApiDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/S3ApiDefinition.kt @@ -24,7 +24,7 @@ public open class S3ApiDefinition( cdkObject: software.amazon.awscdk.services.apigateway.S3ApiDefinition, ) : ApiDefinition(cdkObject) { public constructor(bucket: IBucket, key: String) : - this(software.amazon.awscdk.services.apigateway.S3ApiDefinition(bucket.let(IBucket::unwrap), + this(software.amazon.awscdk.services.apigateway.S3ApiDefinition(bucket.let(IBucket.Companion::unwrap), key) ) @@ -32,7 +32,8 @@ public open class S3ApiDefinition( bucket: IBucket, key: String, objectVersion: String, - ) : this(software.amazon.awscdk.services.apigateway.S3ApiDefinition(bucket.let(IBucket::unwrap), + ) : + this(software.amazon.awscdk.services.apigateway.S3ApiDefinition(bucket.let(IBucket.Companion::unwrap), key, objectVersion) ) @@ -43,7 +44,7 @@ public open class S3ApiDefinition( * @param _scope */ public override fun bind(scope: Construct): ApiDefinitionConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(ApiDefinitionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(ApiDefinitionConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.apigateway.S3ApiDefinition): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegration.kt index 41a208fb0a..0e7061d50a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegration.kt @@ -28,13 +28,13 @@ public open class SagemakerIntegration( cdkObject: software.amazon.awscdk.services.apigateway.SagemakerIntegration, ) : AwsIntegration(cdkObject) { public constructor(endpoint: CloudshiftdevAwscdkServicesSagemakerIEndpoint) : - this(software.amazon.awscdk.services.apigateway.SagemakerIntegration(endpoint.let(CloudshiftdevAwscdkServicesSagemakerIEndpoint::unwrap)) + this(software.amazon.awscdk.services.apigateway.SagemakerIntegration(endpoint.let(CloudshiftdevAwscdkServicesSagemakerIEndpoint.Companion::unwrap)) ) public constructor(endpoint: CloudshiftdevAwscdkServicesSagemakerIEndpoint, options: SagemakerIntegrationOptions) : - this(software.amazon.awscdk.services.apigateway.SagemakerIntegration(endpoint.let(CloudshiftdevAwscdkServicesSagemakerIEndpoint::unwrap), - options.let(SagemakerIntegrationOptions::unwrap)) + this(software.amazon.awscdk.services.apigateway.SagemakerIntegration(endpoint.let(CloudshiftdevAwscdkServicesSagemakerIEndpoint.Companion::unwrap), + options.let(SagemakerIntegrationOptions.Companion::unwrap)) ) public constructor(endpoint: CloudshiftdevAwscdkServicesSagemakerIEndpoint, @@ -49,7 +49,7 @@ public open class SagemakerIntegration( * @param method */ public override fun bind(method: Method): IntegrationConfig = - unwrap(this).bind(method.let(Method::unwrap)).let(IntegrationConfig::wrap) + unwrap(this).bind(method.let(Method.Companion::unwrap)).let(IntegrationConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.apigateway.SagemakerIntegration]. @@ -274,7 +274,7 @@ public open class SagemakerIntegration( * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class SagemakerIntegration( * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class SagemakerIntegration( * @param credentialsRole An IAM role that API Gateway assumes. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class SagemakerIntegration( * completes processing a request. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class SagemakerIntegration( * requestTemplates property on the Integration resource. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class SagemakerIntegration( * response. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class SagemakerIntegration( * @param vpcLink The VpcLink used for the integration. */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.SagemakerIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegrationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegrationOptions.kt index fa907c80ab..ed1615ac44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegrationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SagemakerIntegrationOptions.kt @@ -206,14 +206,14 @@ public interface SagemakerIntegrationOptions : IntegrationOptions { * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface SagemakerIntegrationOptions : IntegrationOptions { * Mutually exclusive with `credentialsPassThrough`. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public interface SagemakerIntegrationOptions : IntegrationOptions { * that you define. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface SagemakerIntegrationOptions : IntegrationOptions { * NEVER. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface SagemakerIntegrationOptions : IntegrationOptions { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface SagemakerIntegrationOptions : IntegrationOptions { * Required if connectionType is VPC_LINK */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigateway.SagemakerIntegrationOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApi.kt index 7dd3fe8d8b..7b877151bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApi.kt @@ -49,8 +49,8 @@ public open class SpecRestApi( id: String, props: SpecRestApiProps, ) : - this(software.amazon.awscdk.services.apigateway.SpecRestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SpecRestApiProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.SpecRestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SpecRestApiProps.Companion::unwrap)) ) public constructor( @@ -341,7 +341,7 @@ public open class SpecRestApi( * @param apiDefinition An OpenAPI definition compatible with API Gateway. */ override fun apiDefinition(apiDefinition: ApiDefinition) { - cdkBuilder.apiDefinition(apiDefinition.let(ApiDefinition::unwrap)) + cdkBuilder.apiDefinition(apiDefinition.let(ApiDefinition.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class SpecRestApi( * this resource is removed from the application. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class SpecRestApi( * deployment when `deploy` is enabled. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class SpecRestApi( * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class SpecRestApi( * @param endpointTypes A list of the endpoint types of the API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class SpecRestApi( * compression (when undefined) on an API. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class SpecRestApi( * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApiProps.kt index cc548b661f..a042d7592c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/SpecRestApiProps.kt @@ -211,7 +211,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * @param apiDefinition An OpenAPI definition compatible with API Gateway. */ override fun apiDefinition(apiDefinition: ApiDefinition) { - cdkBuilder.apiDefinition(apiDefinition.let(ApiDefinition::unwrap)) + cdkBuilder.apiDefinition(apiDefinition.let(ApiDefinition.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * Requires `cloudWatchRole` to be enabled. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * this value cannot be set. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * an API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * payload size. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface SpecRestApiProps : RestApiBaseProps { * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Stage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Stage.kt index 1cca9d5a2b..6f77fd72d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Stage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/Stage.kt @@ -53,8 +53,8 @@ public open class Stage( id: String, props: StageProps, ) : - this(software.amazon.awscdk.services.apigateway.Stage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StageProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.Stage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StageProps.Companion::unwrap)) ) public constructor( @@ -314,7 +314,7 @@ public open class Stage( * to write access logs. */ override fun accessLogDestination(accessLogDestination: IAccessLogDestination) { - cdkBuilder.accessLogDestination(accessLogDestination.let(IAccessLogDestination::unwrap)) + cdkBuilder.accessLogDestination(accessLogDestination.let(IAccessLogDestination.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class Stage( * $content variables. */ override fun accessLogFormat(accessLogFormat: AccessLogFormat) { - cdkBuilder.accessLogFormat(accessLogFormat.let(AccessLogFormat::unwrap)) + cdkBuilder.accessLogFormat(accessLogFormat.let(AccessLogFormat.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class Stage( * @param cacheTtl Specifies the time to live (TTL), in seconds, for cached responses. */ override fun cacheTtl(cacheTtl: Duration) { - cdkBuilder.cacheTtl(cacheTtl.let(Duration::unwrap)) + cdkBuilder.cacheTtl(cacheTtl.let(Duration.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class Stage( * [disable-awslint:ref-via-interface]. */ override fun deployment(deployment: Deployment) { - cdkBuilder.deployment(deployment.let(Deployment::unwrap)) + cdkBuilder.deployment(deployment.let(Deployment.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class Stage( * entries pushed to Amazon CloudWatch Logs. */ override fun loggingLevel(loggingLevel: MethodLoggingLevel) { - cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel::unwrap)) + cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel.Companion::unwrap)) } /** @@ -572,8 +572,8 @@ public open class Stage( id: String, attrs: StageAttributes, ): IStage = - software.amazon.awscdk.services.apigateway.Stage.fromStageAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(StageAttributes::unwrap)).let(IStage::wrap) + software.amazon.awscdk.services.apigateway.Stage.fromStageAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(StageAttributes.Companion::unwrap)).let(IStage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26f85f62b6b121d2eb080deabbc661cdeca521904896bc79d1304ec45a54aa08") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageAttributes.kt index 88479267f8..c72d2468f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageAttributes.kt @@ -58,7 +58,7 @@ public interface StageAttributes { * @param restApi The RestApi that the stage belongs to. */ override fun restApi(restApi: IRestApi) { - cdkBuilder.restApi(restApi.let(IRestApi::unwrap)) + cdkBuilder.restApi(restApi.let(IRestApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageBase.kt index 12e74b36ad..cd07eec5cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageBase.kt @@ -32,7 +32,7 @@ public abstract class StageBase( * @param options */ public override fun addApiKey(id: String, options: ApiKeyOptions): IApiKey = - unwrap(this).addApiKey(id, options.let(ApiKeyOptions::unwrap)).let(IApiKey::wrap) + unwrap(this).addApiKey(id, options.let(ApiKeyOptions.Companion::unwrap)).let(IApiKey::wrap) /** * Add an ApiKey to this stage. @@ -61,7 +61,7 @@ public abstract class StageBase( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Returns the given named metric for this stage. @@ -92,7 +92,7 @@ public abstract class StageBase( * @param props */ public open fun metricCacheHitCount(props: MetricOptions): Metric = - unwrap(this).metricCacheHitCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheHitCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the API cache in a given period. @@ -126,7 +126,7 @@ public abstract class StageBase( * @param props */ public open fun metricCacheMissCount(props: MetricOptions): Metric = - unwrap(this).metricCacheMissCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheMissCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of requests served from the backend in a given period, when API caching @@ -158,7 +158,7 @@ public abstract class StageBase( * @param props */ public open fun metricClientError(props: MetricOptions): Metric = - unwrap(this).metricClientError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -189,7 +189,7 @@ public abstract class StageBase( * @param props */ public open fun metricCount(props: MetricOptions): Metric = - unwrap(this).metricCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -223,7 +223,7 @@ public abstract class StageBase( * @param props */ public open fun metricIntegrationLatency(props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -261,7 +261,7 @@ public abstract class StageBase( * @param props */ public open fun metricLatency(props: MetricOptions): Metric = - unwrap(this).metricLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -295,7 +295,7 @@ public abstract class StageBase( * @param props */ public open fun metricServerError(props: MetricOptions): Metric = - unwrap(this).metricServerError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageOptions.kt index 25d587acc0..b87546eed7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageOptions.kt @@ -254,7 +254,7 @@ public interface StageOptions : MethodDeploymentOptions { * to write access logs. */ override fun accessLogDestination(accessLogDestination: IAccessLogDestination) { - cdkBuilder.accessLogDestination(accessLogDestination.let(IAccessLogDestination::unwrap)) + cdkBuilder.accessLogDestination(accessLogDestination.let(IAccessLogDestination.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface StageOptions : MethodDeploymentOptions { * or `AccessLogFormat.contextExtendedRequestId()`. */ override fun accessLogFormat(accessLogFormat: AccessLogFormat) { - cdkBuilder.accessLogFormat(accessLogFormat.let(AccessLogFormat::unwrap)) + cdkBuilder.accessLogFormat(accessLogFormat.let(AccessLogFormat.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface StageOptions : MethodDeploymentOptions { * higher the TTL, the longer the response will be cached. */ override fun cacheTtl(cacheTtl: Duration) { - cdkBuilder.cacheTtl(cacheTtl.let(Duration::unwrap)) + cdkBuilder.cacheTtl(cacheTtl.let(Duration.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface StageOptions : MethodDeploymentOptions { * entries pushed to Amazon CloudWatch Logs. */ override fun loggingLevel(loggingLevel: MethodLoggingLevel) { - cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel::unwrap)) + cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageProps.kt index 3851eeaced..2afc92c22e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StageProps.kt @@ -189,7 +189,7 @@ public interface StageProps : StageOptions { * to write access logs. */ override fun accessLogDestination(accessLogDestination: IAccessLogDestination) { - cdkBuilder.accessLogDestination(accessLogDestination.let(IAccessLogDestination::unwrap)) + cdkBuilder.accessLogDestination(accessLogDestination.let(IAccessLogDestination.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public interface StageProps : StageOptions { * or `AccessLogFormat.contextExtendedRequestId()`. */ override fun accessLogFormat(accessLogFormat: AccessLogFormat) { - cdkBuilder.accessLogFormat(accessLogFormat.let(AccessLogFormat::unwrap)) + cdkBuilder.accessLogFormat(accessLogFormat.let(AccessLogFormat.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface StageProps : StageOptions { * higher the TTL, the longer the response will be cached. */ override fun cacheTtl(cacheTtl: Duration) { - cdkBuilder.cacheTtl(cacheTtl.let(Duration::unwrap)) + cdkBuilder.cacheTtl(cacheTtl.let(Duration.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface StageProps : StageOptions { * [disable-awslint:ref-via-interface]. */ override fun deployment(deployment: Deployment) { - cdkBuilder.deployment(deployment.let(Deployment::unwrap)) + cdkBuilder.deployment(deployment.let(Deployment.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface StageProps : StageOptions { * entries pushed to Amazon CloudWatch Logs. */ override fun loggingLevel(loggingLevel: MethodLoggingLevel) { - cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel::unwrap)) + cdkBuilder.loggingLevel(loggingLevel.let(MethodLoggingLevel.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsExecutionIntegrationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsExecutionIntegrationOptions.kt index ed678feba4..fd3125514a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsExecutionIntegrationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsExecutionIntegrationOptions.kt @@ -431,14 +431,14 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * @param connectionType The type of network connection to the integration endpoint. */ override fun connectionType(connectionType: ConnectionType) { - cdkBuilder.connectionType(connectionType.let(ConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(ConnectionType.Companion::unwrap)) } /** * @param contentHandling Specifies how to handle request payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * Mutually exclusive with `credentialsPassThrough`. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * that you define. */ override fun integrationResponses(integrationResponses: List) { - cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse::unwrap)) + cdkBuilder.integrationResponses(integrationResponses.map(IntegrationResponse.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * NEVER. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * } */ override fun requestContext(requestContext: RequestContext) { - cdkBuilder.requestContext(requestContext.let(RequestContext::unwrap)) + cdkBuilder.requestContext(requestContext.let(RequestContext.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public interface StepFunctionsExecutionIntegrationOptions : IntegrationOptions { * Required if connectionType is VPC_LINK */ override fun vpcLink(vpcLink: IVpcLink) { - cdkBuilder.vpcLink(vpcLink.let(IVpcLink::unwrap)) + cdkBuilder.vpcLink(vpcLink.let(IVpcLink.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsIntegration.kt index e9b87b988a..c34f72c094 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsIntegration.kt @@ -31,12 +31,12 @@ public open class StepFunctionsIntegration( public companion object { public fun startExecution(stateMachine: IStateMachine): AwsIntegration = - software.amazon.awscdk.services.apigateway.StepFunctionsIntegration.startExecution(stateMachine.let(IStateMachine::unwrap)).let(AwsIntegration::wrap) + software.amazon.awscdk.services.apigateway.StepFunctionsIntegration.startExecution(stateMachine.let(IStateMachine.Companion::unwrap)).let(AwsIntegration::wrap) public fun startExecution(stateMachine: IStateMachine, options: StepFunctionsExecutionIntegrationOptions): AwsIntegration = - software.amazon.awscdk.services.apigateway.StepFunctionsIntegration.startExecution(stateMachine.let(IStateMachine::unwrap), - options.let(StepFunctionsExecutionIntegrationOptions::unwrap)).let(AwsIntegration::wrap) + software.amazon.awscdk.services.apigateway.StepFunctionsIntegration.startExecution(stateMachine.let(IStateMachine.Companion::unwrap), + options.let(StepFunctionsExecutionIntegrationOptions.Companion::unwrap)).let(AwsIntegration::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8234533a69d62a7e6f3fbe81c0b3b7374f656d9c04aa73705f1abdd0e151b63b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApi.kt index ff94b5f7c4..806b532f84 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApi.kt @@ -40,8 +40,8 @@ public open class StepFunctionsRestApi( id: String, props: StepFunctionsRestApiProps, ) : - this(software.amazon.awscdk.services.apigateway.StepFunctionsRestApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepFunctionsRestApiProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.StepFunctionsRestApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepFunctionsRestApiProps.Companion::unwrap)) ) public constructor( @@ -616,7 +616,7 @@ public open class StepFunctionsRestApi( * plan. */ override fun apiKeySourceType(apiKeySourceType: ApiKeySourceType) { - cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType::unwrap)) + cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class StepFunctionsRestApi( * @param cloneFrom The ID of the API Gateway RestApi resource that you want to clone. */ override fun cloneFrom(cloneFrom: IRestApi) { - cdkBuilder.cloneFrom(cloneFrom.let(IRestApi::unwrap)) + cdkBuilder.cloneFrom(cloneFrom.let(IRestApi.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class StepFunctionsRestApi( * this resource is removed from the application. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public open class StepFunctionsRestApi( * all child resources. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class StepFunctionsRestApi( * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -771,7 +771,7 @@ public open class StepFunctionsRestApi( * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public open class StepFunctionsRestApi( * deployment when `deploy` is enabled. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -884,7 +884,7 @@ public open class StepFunctionsRestApi( * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -909,7 +909,7 @@ public open class StepFunctionsRestApi( * types of a REST API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfiguration) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration.Companion::unwrap)) } /** @@ -949,7 +949,7 @@ public open class StepFunctionsRestApi( * @param endpointTypes A list of the endpoint types of the API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -1016,7 +1016,7 @@ public open class StepFunctionsRestApi( * compression (when undefined) on an API. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -1080,7 +1080,7 @@ public open class StepFunctionsRestApi( * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** @@ -1134,7 +1134,7 @@ public open class StepFunctionsRestApi( * underlying state machine, such as, account id, user identity, request id, etc. */ override fun requestContext(requestContext: RequestContext) { - cdkBuilder.requestContext(requestContext.let(RequestContext::unwrap)) + cdkBuilder.requestContext(requestContext.let(RequestContext.Companion::unwrap)) } /** @@ -1195,7 +1195,7 @@ public open class StepFunctionsRestApi( * machine. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1207,7 +1207,7 @@ public open class StepFunctionsRestApi( * @param stateMachine The default State Machine that handles all requests from this API. */ override fun stateMachine(stateMachine: IStateMachine) { - cdkBuilder.stateMachine(stateMachine.let(IStateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(IStateMachine.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApiProps.kt index dff24ca59b..e903b8c14f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/StepFunctionsRestApiProps.kt @@ -495,7 +495,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * plan. */ override fun apiKeySourceType(apiKeySourceType: ApiKeySourceType) { - cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType::unwrap)) + cdkBuilder.apiKeySourceType(apiKeySourceType.let(ApiKeySourceType.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * @param cloneFrom The ID of the API Gateway RestApi resource that you want to clone. */ override fun cloneFrom(cloneFrom: IRestApi) { - cdkBuilder.cloneFrom(cloneFrom.let(IRestApi::unwrap)) + cdkBuilder.cloneFrom(cloneFrom.let(IRestApi.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * Requires `cloudWatchRole` to be enabled. */ override fun cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy: RemovalPolicy) { - cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.cloudWatchRoleRemovalPolicy(cloudWatchRoleRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * You can add CORS at the resource-level using `addCorsPreflight`. */ override fun defaultCorsPreflightOptions(defaultCorsPreflightOptions: CorsOptions) { - cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions::unwrap)) + cdkBuilder.defaultCorsPreflightOptions(defaultCorsPreflightOptions.let(CorsOptions.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * this API unless an integration is specified. */ override fun defaultIntegration(defaultIntegration: Integration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(Integration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(Integration.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * this API unless custom options are specified. */ override fun defaultMethodOptions(defaultMethodOptions: MethodOptions) { - cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions::unwrap)) + cdkBuilder.defaultMethodOptions(defaultMethodOptions.let(MethodOptions.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * this value cannot be set. */ override fun deployOptions(deployOptions: StageOptions) { - cdkBuilder.deployOptions(deployOptions.let(StageOptions::unwrap)) + cdkBuilder.deployOptions(deployOptions.let(StageOptions.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * @param domainName Configure a custom domain name and map it to this API. */ override fun domainName(domainName: DomainNameOptions) { - cdkBuilder.domainName(domainName.let(DomainNameOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainNameOptions.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * types of a REST API. */ override fun endpointConfiguration(endpointConfiguration: EndpointConfiguration) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfiguration.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * an API. */ override fun endpointTypes(endpointTypes: List) { - cdkBuilder.endpointTypes(endpointTypes.map(EndpointType::unwrap)) + cdkBuilder.endpointTypes(endpointTypes.map(EndpointType.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * payload size. */ override fun minCompressionSize(minCompressionSize: Size) { - cdkBuilder.minCompressionSize(minCompressionSize.let(Size::unwrap)) + cdkBuilder.minCompressionSize(minCompressionSize.let(Size.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * @param policy A policy document that contains the permissions for this RestApi. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** @@ -840,7 +840,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * } */ override fun requestContext(requestContext: RequestContext) { - cdkBuilder.requestContext(requestContext.let(RequestContext::unwrap)) + cdkBuilder.requestContext(requestContext.let(RequestContext.Companion::unwrap)) } /** @@ -882,7 +882,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * machine. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -891,7 +891,7 @@ public interface StepFunctionsRestApiProps : RestApiProps { * this API, unless specified otherwise in `addMethod`. */ override fun stateMachine(stateMachine: IStateMachine) { - cdkBuilder.stateMachine(stateMachine.let(IStateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(IStateMachine.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ThrottlingPerMethod.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ThrottlingPerMethod.kt index 4708566840..80db5abfb7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ThrottlingPerMethod.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/ThrottlingPerMethod.kt @@ -77,7 +77,7 @@ public interface ThrottlingPerMethod { * throttling settings. */ override fun method(method: Method) { - cdkBuilder.method(method.let(Method::unwrap)) + cdkBuilder.method(method.let(Method.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public interface ThrottlingPerMethod { * capacity. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizer.kt index 9ec4d8c12e..b25a73e430 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizer.kt @@ -38,8 +38,8 @@ public open class TokenAuthorizer( id: String, props: TokenAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigateway.TokenAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TokenAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.TokenAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TokenAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -163,7 +163,7 @@ public open class TokenAuthorizer( * Lambda-based authorizer. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class TokenAuthorizer( * @param handler The handler for the authorizer lambda function. */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class TokenAuthorizer( * @param resultsCacheTtl How long APIGateway should cache the results. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizerProps.kt index be128d569c..8170cc3e92 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/TokenAuthorizerProps.kt @@ -115,7 +115,7 @@ public interface TokenAuthorizerProps : LambdaAuthorizerProps { * assumable by 'apigateway.amazonaws.com'. */ override fun assumeRole(assumeRole: IRole) { - cdkBuilder.assumeRole(assumeRole.let(IRole::unwrap)) + cdkBuilder.assumeRole(assumeRole.let(IRole.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface TokenAuthorizerProps : LambdaAuthorizerProps { * specification](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-output.html). */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public interface TokenAuthorizerProps : LambdaAuthorizerProps { * Disable caching by setting this to 0. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlan.kt index 990a1abc33..33b86ef13a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlan.kt @@ -36,7 +36,7 @@ public open class UsagePlan( cdkObject: software.amazon.awscdk.services.apigateway.UsagePlan, ) : Resource(cdkObject), IUsagePlan { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.UsagePlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.UsagePlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class UsagePlan( id: String, props: UsagePlanProps, ) : - this(software.amazon.awscdk.services.apigateway.UsagePlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UsagePlanProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.UsagePlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UsagePlanProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class UsagePlan( * @param options options that control the behaviour of this method. */ public override fun addApiKey(apiKey: IApiKey) { - unwrap(this).addApiKey(apiKey.let(IApiKey::unwrap)) + unwrap(this).addApiKey(apiKey.let(IApiKey.Companion::unwrap)) } /** @@ -73,7 +73,8 @@ public open class UsagePlan( * @param options options that control the behaviour of this method. */ public override fun addApiKey(apiKey: IApiKey, options: AddApiKeyOptions) { - unwrap(this).addApiKey(apiKey.let(IApiKey::unwrap), options.let(AddApiKeyOptions::unwrap)) + unwrap(this).addApiKey(apiKey.let(IApiKey.Companion::unwrap), + options.let(AddApiKeyOptions.Companion::unwrap)) } /** @@ -93,7 +94,7 @@ public open class UsagePlan( * @param apiStage */ public open fun addApiStage(apiStage: UsagePlanPerApiStage) { - unwrap(this).addApiStage(apiStage.let(UsagePlanPerApiStage::unwrap)) + unwrap(this).addApiStage(apiStage.let(UsagePlanPerApiStage.Companion::unwrap)) } /** @@ -208,7 +209,7 @@ public open class UsagePlan( * @param apiStages API Stages to be associated with the usage plan. */ override fun apiStages(apiStages: List) { - cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage::unwrap)) + cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage.Companion::unwrap)) } /** @@ -251,7 +252,7 @@ public open class UsagePlan( * @param quota Number of requests clients can make in a given time period. */ override fun quota(quota: QuotaSettings) { - cdkBuilder.quota(quota.let(QuotaSettings::unwrap)) + cdkBuilder.quota(quota.let(QuotaSettings.Companion::unwrap)) } /** @@ -273,7 +274,7 @@ public open class UsagePlan( * @param throttle Overall throttle settings for the API. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** @@ -297,7 +298,7 @@ public open class UsagePlan( id: String, usagePlanId: String, ): IUsagePlan = - software.amazon.awscdk.services.apigateway.UsagePlan.fromUsagePlanId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.apigateway.UsagePlan.fromUsagePlanId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, usagePlanId).let(IUsagePlan::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanPerApiStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanPerApiStage.kt index d029b9fc46..b1e2914e19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanPerApiStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanPerApiStage.kt @@ -82,21 +82,21 @@ public interface UsagePlanPerApiStage { * @param api the value to be set. */ override fun api(api: IRestApi) { - cdkBuilder.api(api.let(IRestApi::unwrap)) + cdkBuilder.api(api.let(IRestApi.Companion::unwrap)) } /** * @param stage [disable-awslint:ref-via-interface]. */ override fun stage(stage: Stage) { - cdkBuilder.stage(stage.let(Stage::unwrap)) + cdkBuilder.stage(stage.let(Stage.Companion::unwrap)) } /** * @param throttle the value to be set. */ override fun throttle(throttle: List) { - cdkBuilder.throttle(throttle.map(ThrottlingPerMethod::unwrap)) + cdkBuilder.throttle(throttle.map(ThrottlingPerMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanProps.kt index 70361bf6c7..90dc2ecd3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/UsagePlanProps.kt @@ -126,7 +126,7 @@ public interface UsagePlanProps { * @param apiStages API Stages to be associated with the usage plan. */ override fun apiStages(apiStages: List) { - cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage::unwrap)) + cdkBuilder.apiStages(apiStages.map(UsagePlanPerApiStage.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface UsagePlanProps { * @param quota Number of requests clients can make in a given time period. */ override fun quota(quota: QuotaSettings) { - cdkBuilder.quota(quota.let(QuotaSettings::unwrap)) + cdkBuilder.quota(quota.let(QuotaSettings.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface UsagePlanProps { * @param throttle Overall throttle settings for the API. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLink.kt index 299b289d18..d4d8e9567d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLink.kt @@ -42,7 +42,7 @@ public open class VpcLink( cdkObject: software.amazon.awscdk.services.apigateway.VpcLink, ) : Resource(cdkObject), IVpcLink { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigateway.VpcLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigateway.VpcLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class VpcLink( id: String, props: VpcLinkProps, ) : - this(software.amazon.awscdk.services.apigateway.VpcLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpcLinkProps::unwrap)) + this(software.amazon.awscdk.services.apigateway.VpcLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpcLinkProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class VpcLink( */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer::unwrap)) + cdkBuilder.targets(targets.map(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class VpcLink( id: String, vpcLinkId: String, ): IVpcLink = - software.amazon.awscdk.services.apigateway.VpcLink.fromVpcLinkId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.apigateway.VpcLink.fromVpcLinkId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, vpcLinkId).let(IVpcLink::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLinkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLinkProps.kt index e1c0b4854d..575c9824bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLinkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigateway/VpcLinkProps.kt @@ -103,7 +103,7 @@ public interface VpcLinkProps { * The network load balancers must be owned by the same AWS account of the API owner. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(INetworkLoadBalancer::unwrap)) + cdkBuilder.targets(targets.map(INetworkLoadBalancer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/AddRoutesOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/AddRoutesOptions.kt index fc2ac37bd9..55632130b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/AddRoutesOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/AddRoutesOptions.kt @@ -142,21 +142,21 @@ public interface AddRoutesOptions : BatchHttpRouteOptions { * Use NoneAuthorizer to remove the default authorizer for the api */ override fun authorizer(authorizer: IHttpRouteAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IHttpRouteAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IHttpRouteAuthorizer.Companion::unwrap)) } /** * @param integration The integration to be configured on this route. */ override fun integration(integration: HttpRouteIntegration) { - cdkBuilder.integration(integration.let(HttpRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(HttpRouteIntegration.Companion::unwrap)) } /** * @param methods The HTTP methods to be configured. */ override fun methods(methods: List) { - cdkBuilder.methods(methods.map(HttpMethod::unwrap)) + cdkBuilder.methods(methods.map(HttpMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMapping.kt index 329128a1fb..2b71120c51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMapping.kt @@ -39,8 +39,8 @@ public open class ApiMapping( id: String, props: ApiMappingProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.ApiMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApiMappingProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.ApiMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApiMappingProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class ApiMapping( * @param api The Api to which this mapping is applied. */ override fun api(api: IApi) { - cdkBuilder.api(api.let(IApi::unwrap)) + cdkBuilder.api(api.let(IApi.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class ApiMapping( * @param domainName custom domain name of the mapping target. */ override fun domainName(domainName: IDomainName) { - cdkBuilder.domainName(domainName.let(IDomainName::unwrap)) + cdkBuilder.domainName(domainName.let(IDomainName.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class ApiMapping( * stage of an HTTP API. */ override fun stage(stage: IStage) { - cdkBuilder.stage(stage.let(IStage::unwrap)) + cdkBuilder.stage(stage.let(IStage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.ApiMapping = cdkBuilder.build() @@ -167,8 +167,8 @@ public open class ApiMapping( id: String, attrs: ApiMappingAttributes, ): IApiMapping = - software.amazon.awscdk.services.apigatewayv2.ApiMapping.fromApiMappingAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ApiMappingAttributes::unwrap)).let(IApiMapping::wrap) + software.amazon.awscdk.services.apigatewayv2.ApiMapping.fromApiMappingAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ApiMappingAttributes.Companion::unwrap)).let(IApiMapping::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1e1c3b60e3420232e95ceb8ceace088a2b1d3dd92bc0ca138bdaccdfa392dd6e") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMappingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMappingProps.kt index 00d819c1ff..c64bf475a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMappingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ApiMappingProps.kt @@ -93,7 +93,7 @@ public interface ApiMappingProps { * @param api The Api to which this mapping is applied. */ override fun api(api: IApi) { - cdkBuilder.api(api.let(IApi::unwrap)) + cdkBuilder.api(api.let(IApi.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface ApiMappingProps { * @param domainName custom domain name of the mapping target. */ override fun domainName(domainName: IDomainName) { - cdkBuilder.domainName(domainName.let(IDomainName::unwrap)) + cdkBuilder.domainName(domainName.let(IDomainName.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public interface ApiMappingProps { * stage of an HTTP API. */ override fun stage(stage: IStage) { - cdkBuilder.stage(stage.let(IStage::unwrap)) + cdkBuilder.stage(stage.let(IStage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.ApiMappingProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/BatchHttpRouteOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/BatchHttpRouteOptions.kt index f0e1a90eb7..14cb177467 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/BatchHttpRouteOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/BatchHttpRouteOptions.kt @@ -50,7 +50,7 @@ public interface BatchHttpRouteOptions { * @param integration The integration to be configured on this route. */ override fun integration(integration: HttpRouteIntegration) { - cdkBuilder.integration(integration.let(HttpRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(HttpRouteIntegration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.BatchHttpRouteOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApi.kt index 86f46db565..ba69b9fc16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApi.kt @@ -79,7 +79,7 @@ public open class CfnApi( cdkObject: software.amazon.awscdk.services.apigatewayv2.CfnApi, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigatewayv2.CfnApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigatewayv2.CfnApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -88,8 +88,8 @@ public open class CfnApi( id: String, props: CfnApiProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiProps.Companion::unwrap)) ) public constructor( @@ -156,14 +156,14 @@ public open class CfnApi( * The S3 location of an OpenAPI definition. */ public open fun bodyS3Location(`value`: IResolvable) { - unwrap(this).setBodyS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setBodyS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The S3 location of an OpenAPI definition. */ public open fun bodyS3Location(`value`: BodyS3LocationProperty) { - unwrap(this).setBodyS3Location(`value`.let(BodyS3LocationProperty::unwrap)) + unwrap(this).setBodyS3Location(`value`.let(BodyS3LocationProperty.Companion::unwrap)) } /** @@ -183,14 +183,14 @@ public open class CfnApi( * A CORS configuration. */ public open fun corsConfiguration(`value`: IResolvable) { - unwrap(this).setCorsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCorsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A CORS configuration. */ public open fun corsConfiguration(`value`: CorsProperty) { - unwrap(this).setCorsConfiguration(`value`.let(CorsProperty::unwrap)) + unwrap(this).setCorsConfiguration(`value`.let(CorsProperty.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnApi( * Specifies whether clients can invoke your API by using the default `execute-api` endpoint. */ public open fun disableExecuteApiEndpoint(`value`: IResolvable) { - unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnApi( * Avoid validating models when creating a deployment. */ public open fun disableSchemaValidation(`value`: IResolvable) { - unwrap(this).setDisableSchemaValidation(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableSchemaValidation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnApi( * Specifies whether to rollback the API creation when a warning is encountered. */ public open fun failOnWarnings(`value`: IResolvable) { - unwrap(this).setFailOnWarnings(`value`.let(IResolvable::unwrap)) + unwrap(this).setFailOnWarnings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnApi( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public open class CfnApi( * @param bodyS3Location The S3 location of an OpenAPI definition. */ override fun bodyS3Location(bodyS3Location: IResolvable) { - cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -749,7 +749,7 @@ public open class CfnApi( * @param bodyS3Location The S3 location of an OpenAPI definition. */ override fun bodyS3Location(bodyS3Location: BodyS3LocationProperty) { - cdkBuilder.bodyS3Location(bodyS3Location.let(BodyS3LocationProperty::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(BodyS3LocationProperty.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public open class CfnApi( * @param corsConfiguration A CORS configuration. */ override fun corsConfiguration(corsConfiguration: IResolvable) { - cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public open class CfnApi( * @param corsConfiguration A CORS configuration. */ override fun corsConfiguration(corsConfiguration: CorsProperty) { - cdkBuilder.corsConfiguration(corsConfiguration.let(CorsProperty::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(CorsProperty.Companion::unwrap)) } /** @@ -865,7 +865,7 @@ public open class CfnApi( * default `execute-api` endpoint. */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public open class CfnApi( * @param disableSchemaValidation Avoid validating models when creating a deployment. */ override fun disableSchemaValidation(disableSchemaValidation: IResolvable) { - cdkBuilder.disableSchemaValidation(disableSchemaValidation.let(IResolvable::unwrap)) + cdkBuilder.disableSchemaValidation(disableSchemaValidation.let(IResolvable.Companion::unwrap)) } /** @@ -915,7 +915,7 @@ public open class CfnApi( * encountered. */ override fun failOnWarnings(failOnWarnings: IResolvable) { - cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable::unwrap)) + cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable.Companion::unwrap)) } /** @@ -1379,7 +1379,7 @@ public open class CfnApi( * Supported only for HTTP APIs. */ override fun allowCredentials(allowCredentials: IResolvable) { - cdkBuilder.allowCredentials(allowCredentials.let(IResolvable::unwrap)) + cdkBuilder.allowCredentials(allowCredentials.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverrides.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverrides.kt index 508dcc32c8..554e9f4adb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverrides.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverrides.kt @@ -84,8 +84,8 @@ public open class CfnApiGatewayManagedOverrides( id: String, props: CfnApiGatewayManagedOverridesProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiGatewayManagedOverridesProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiGatewayManagedOverridesProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnApiGatewayManagedOverrides( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,14 +130,14 @@ public open class CfnApiGatewayManagedOverrides( * Overrides the integration configuration for an API Gateway-managed integration. */ public open fun integration(`value`: IResolvable) { - unwrap(this).setIntegration(`value`.let(IResolvable::unwrap)) + unwrap(this).setIntegration(`value`.let(IResolvable.Companion::unwrap)) } /** * Overrides the integration configuration for an API Gateway-managed integration. */ public open fun integration(`value`: IntegrationOverridesProperty) { - unwrap(this).setIntegration(`value`.let(IntegrationOverridesProperty::unwrap)) + unwrap(this).setIntegration(`value`.let(IntegrationOverridesProperty.Companion::unwrap)) } /** @@ -157,14 +157,14 @@ public open class CfnApiGatewayManagedOverrides( * Overrides the route configuration for an API Gateway-managed route. */ public open fun route(`value`: IResolvable) { - unwrap(this).setRoute(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoute(`value`.let(IResolvable.Companion::unwrap)) } /** * Overrides the route configuration for an API Gateway-managed route. */ public open fun route(`value`: RouteOverridesProperty) { - unwrap(this).setRoute(`value`.let(RouteOverridesProperty::unwrap)) + unwrap(this).setRoute(`value`.let(RouteOverridesProperty.Companion::unwrap)) } /** @@ -184,14 +184,14 @@ public open class CfnApiGatewayManagedOverrides( * Overrides the stage configuration for an API Gateway-managed stage. */ public open fun stage(`value`: IResolvable) { - unwrap(this).setStage(`value`.let(IResolvable::unwrap)) + unwrap(this).setStage(`value`.let(IResolvable.Companion::unwrap)) } /** * Overrides the stage configuration for an API Gateway-managed stage. */ public open fun stage(`value`: StageOverridesProperty) { - unwrap(this).setStage(`value`.let(StageOverridesProperty::unwrap)) + unwrap(this).setStage(`value`.let(StageOverridesProperty.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnApiGatewayManagedOverrides( * integration. */ override fun integration(integration: IResolvable) { - cdkBuilder.integration(integration.let(IResolvable::unwrap)) + cdkBuilder.integration(integration.let(IResolvable.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class CfnApiGatewayManagedOverrides( * integration. */ override fun integration(integration: IntegrationOverridesProperty) { - cdkBuilder.integration(integration.let(IntegrationOverridesProperty::unwrap)) + cdkBuilder.integration(integration.let(IntegrationOverridesProperty.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnApiGatewayManagedOverrides( * @param route Overrides the route configuration for an API Gateway-managed route. */ override fun route(route: IResolvable) { - cdkBuilder.route(route.let(IResolvable::unwrap)) + cdkBuilder.route(route.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class CfnApiGatewayManagedOverrides( * @param route Overrides the route configuration for an API Gateway-managed route. */ override fun route(route: RouteOverridesProperty) { - cdkBuilder.route(route.let(RouteOverridesProperty::unwrap)) + cdkBuilder.route(route.let(RouteOverridesProperty.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnApiGatewayManagedOverrides( * @param stage Overrides the stage configuration for an API Gateway-managed stage. */ override fun stage(stage: IResolvable) { - cdkBuilder.stage(stage.let(IResolvable::unwrap)) + cdkBuilder.stage(stage.let(IResolvable.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnApiGatewayManagedOverrides( * @param stage Overrides the stage configuration for an API Gateway-managed stage. */ override fun stage(stage: StageOverridesProperty) { - cdkBuilder.stage(stage.let(StageOverridesProperty::unwrap)) + cdkBuilder.stage(stage.let(StageOverridesProperty.Companion::unwrap)) } /** @@ -1143,7 +1143,7 @@ public open class CfnApiGatewayManagedOverrides( * WebSocket APIs. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1157,7 +1157,7 @@ public open class CfnApiGatewayManagedOverrides( * @param detailedMetricsEnabled Specifies whether detailed metrics are enabled. */ override fun detailedMetricsEnabled(detailedMetricsEnabled: IResolvable) { - cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1418,14 +1418,14 @@ public open class CfnApiGatewayManagedOverrides( * @param accessLogSettings Settings for logging access in a stage. */ override fun accessLogSettings(accessLogSettings: IResolvable) { - cdkBuilder.accessLogSettings(accessLogSettings.let(IResolvable::unwrap)) + cdkBuilder.accessLogSettings(accessLogSettings.let(IResolvable.Companion::unwrap)) } /** * @param accessLogSettings Settings for logging access in a stage. */ override fun accessLogSettings(accessLogSettings: AccessLogSettingsProperty) { - cdkBuilder.accessLogSettings(accessLogSettings.let(AccessLogSettingsProperty::unwrap)) + cdkBuilder.accessLogSettings(accessLogSettings.let(AccessLogSettingsProperty.Companion::unwrap)) } /** @@ -1452,21 +1452,21 @@ public open class CfnApiGatewayManagedOverrides( * The default value is `true` . */ override fun autoDeploy(autoDeploy: IResolvable) { - cdkBuilder.autoDeploy(autoDeploy.let(IResolvable::unwrap)) + cdkBuilder.autoDeploy(autoDeploy.let(IResolvable.Companion::unwrap)) } /** * @param defaultRouteSettings The default route settings for the stage. */ override fun defaultRouteSettings(defaultRouteSettings: IResolvable) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable.Companion::unwrap)) } /** * @param defaultRouteSettings The default route settings for the stage. */ override fun defaultRouteSettings(defaultRouteSettings: RouteSettingsProperty) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(RouteSettingsProperty::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(RouteSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverridesProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverridesProps.kt index 93448b5e16..bad4815191 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverridesProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiGatewayManagedOverridesProps.kt @@ -175,7 +175,7 @@ public interface CfnApiGatewayManagedOverridesProps { * integration. */ override fun integration(integration: IResolvable) { - cdkBuilder.integration(integration.let(IResolvable::unwrap)) + cdkBuilder.integration(integration.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface CfnApiGatewayManagedOverridesProps { */ override fun integration(integration: CfnApiGatewayManagedOverrides.IntegrationOverridesProperty) { - cdkBuilder.integration(integration.let(CfnApiGatewayManagedOverrides.IntegrationOverridesProperty::unwrap)) + cdkBuilder.integration(integration.let(CfnApiGatewayManagedOverrides.IntegrationOverridesProperty.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public interface CfnApiGatewayManagedOverridesProps { * @param route Overrides the route configuration for an API Gateway-managed route. */ override fun route(route: IResolvable) { - cdkBuilder.route(route.let(IResolvable::unwrap)) + cdkBuilder.route(route.let(IResolvable.Companion::unwrap)) } /** * @param route Overrides the route configuration for an API Gateway-managed route. */ override fun route(route: CfnApiGatewayManagedOverrides.RouteOverridesProperty) { - cdkBuilder.route(route.let(CfnApiGatewayManagedOverrides.RouteOverridesProperty::unwrap)) + cdkBuilder.route(route.let(CfnApiGatewayManagedOverrides.RouteOverridesProperty.Companion::unwrap)) } /** @@ -224,14 +224,14 @@ public interface CfnApiGatewayManagedOverridesProps { * @param stage Overrides the stage configuration for an API Gateway-managed stage. */ override fun stage(stage: IResolvable) { - cdkBuilder.stage(stage.let(IResolvable::unwrap)) + cdkBuilder.stage(stage.let(IResolvable.Companion::unwrap)) } /** * @param stage Overrides the stage configuration for an API Gateway-managed stage. */ override fun stage(stage: CfnApiGatewayManagedOverrides.StageOverridesProperty) { - cdkBuilder.stage(stage.let(CfnApiGatewayManagedOverrides.StageOverridesProperty::unwrap)) + cdkBuilder.stage(stage.let(CfnApiGatewayManagedOverrides.StageOverridesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiMapping.kt index f7e1f20c9f..1a06e7ff7d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiMapping.kt @@ -45,8 +45,8 @@ public open class CfnApiMapping( id: String, props: CfnApiMappingProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnApiMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiMappingProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnApiMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiMappingProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnApiMapping( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiProps.kt index 150c9c7c23..fa98f82363 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnApiProps.kt @@ -479,7 +479,7 @@ public interface CfnApiProps { * doesn't support the combination of OpenAPI and CloudFormation resources. */ override fun bodyS3Location(bodyS3Location: IResolvable) { - cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public interface CfnApiProps { * doesn't support the combination of OpenAPI and CloudFormation resources. */ override fun bodyS3Location(bodyS3Location: CfnApi.BodyS3LocationProperty) { - cdkBuilder.bodyS3Location(bodyS3Location.let(CfnApi.BodyS3LocationProperty::unwrap)) + cdkBuilder.bodyS3Location(bodyS3Location.let(CfnApi.BodyS3LocationProperty.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface CfnApiProps { * information. */ override fun corsConfiguration(corsConfiguration: IResolvable) { - cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnApiProps { * information. */ override fun corsConfiguration(corsConfiguration: CfnApi.CorsProperty) { - cdkBuilder.corsConfiguration(corsConfiguration.let(CfnApi.CorsProperty::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(CfnApi.CorsProperty.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public interface CfnApiProps { * custom domain name to invoke your API, disable the default endpoint. */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public interface CfnApiProps { * Supported only for WebSocket APIs. */ override fun disableSchemaValidation(disableSchemaValidation: IResolvable) { - cdkBuilder.disableSchemaValidation(disableSchemaValidation.let(IResolvable::unwrap)) + cdkBuilder.disableSchemaValidation(disableSchemaValidation.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public interface CfnApiProps { * By default, API creation continues if a warning is encountered. */ override fun failOnWarnings(failOnWarnings: IResolvable) { - cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable::unwrap)) + cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizer.kt index 92f32634d3..5337189eff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizer.kt @@ -64,8 +64,8 @@ public open class CfnAuthorizer( id: String, props: CfnAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -170,7 +170,7 @@ public open class CfnAuthorizer( * Specifies whether a Lambda authorizer returns a response in a simple format. */ public open fun enableSimpleResponses(`value`: IResolvable) { - unwrap(this).setEnableSimpleResponses(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableSimpleResponses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnAuthorizer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnAuthorizer( * The `JWTConfiguration` property specifies the configuration of a JWT authorizer. */ public open fun jwtConfiguration(`value`: IResolvable) { - unwrap(this).setJwtConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setJwtConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The `JWTConfiguration` property specifies the configuration of a JWT authorizer. */ public open fun jwtConfiguration(`value`: JWTConfigurationProperty) { - unwrap(this).setJwtConfiguration(`value`.let(JWTConfigurationProperty::unwrap)) + unwrap(this).setJwtConfiguration(`value`.let(JWTConfigurationProperty.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public open class CfnAuthorizer( * simple format. */ override fun enableSimpleResponses(enableSimpleResponses: IResolvable) { - cdkBuilder.enableSimpleResponses(enableSimpleResponses.let(IResolvable::unwrap)) + cdkBuilder.enableSimpleResponses(enableSimpleResponses.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnAuthorizer( * authorizer. */ override fun jwtConfiguration(jwtConfiguration: IResolvable) { - cdkBuilder.jwtConfiguration(jwtConfiguration.let(IResolvable::unwrap)) + cdkBuilder.jwtConfiguration(jwtConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class CfnAuthorizer( * authorizer. */ override fun jwtConfiguration(jwtConfiguration: JWTConfigurationProperty) { - cdkBuilder.jwtConfiguration(jwtConfiguration.let(JWTConfigurationProperty::unwrap)) + cdkBuilder.jwtConfiguration(jwtConfiguration.let(JWTConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizerProps.kt index f930eadc96..7141582e98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnAuthorizerProps.kt @@ -427,7 +427,7 @@ public interface CfnAuthorizerProps { * . */ override fun enableSimpleResponses(enableSimpleResponses: IResolvable) { - cdkBuilder.enableSimpleResponses(enableSimpleResponses.let(IResolvable::unwrap)) + cdkBuilder.enableSimpleResponses(enableSimpleResponses.let(IResolvable.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public interface CfnAuthorizerProps { * Required for the `JWT` authorizer type. Supported only for HTTP APIs. */ override fun jwtConfiguration(jwtConfiguration: IResolvable) { - cdkBuilder.jwtConfiguration(jwtConfiguration.let(IResolvable::unwrap)) + cdkBuilder.jwtConfiguration(jwtConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface CfnAuthorizerProps { * Required for the `JWT` authorizer type. Supported only for HTTP APIs. */ override fun jwtConfiguration(jwtConfiguration: CfnAuthorizer.JWTConfigurationProperty) { - cdkBuilder.jwtConfiguration(jwtConfiguration.let(CfnAuthorizer.JWTConfigurationProperty::unwrap)) + cdkBuilder.jwtConfiguration(jwtConfiguration.let(CfnAuthorizer.JWTConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDeployment.kt index 3c25a3d71c..4ffcd4770b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDeployment.kt @@ -38,8 +38,8 @@ public open class CfnDeployment( id: String, props: CfnDeploymentProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnDeployment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainName.kt index a5c9b81e3d..828b84540a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainName.kt @@ -64,8 +64,8 @@ public open class CfnDomainName( id: String, props: CfnDomainNameProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainNameProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainNameProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnDomainName( * The domain name configurations. */ public open fun domainNameConfigurations(`value`: IResolvable) { - unwrap(this).setDomainNameConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainNameConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnDomainName( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,14 +143,14 @@ public open class CfnDomainName( * The mutual TLS authentication configuration for a custom domain name. */ public open fun mutualTlsAuthentication(`value`: IResolvable) { - unwrap(this).setMutualTlsAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setMutualTlsAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** * The mutual TLS authentication configuration for a custom domain name. */ public open fun mutualTlsAuthentication(`value`: MutualTlsAuthenticationProperty) { - unwrap(this).setMutualTlsAuthentication(`value`.let(MutualTlsAuthenticationProperty::unwrap)) + unwrap(this).setMutualTlsAuthentication(`value`.let(MutualTlsAuthenticationProperty.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnDomainName( * @param domainNameConfigurations The domain name configurations. */ override fun domainNameConfigurations(domainNameConfigurations: IResolvable) { - cdkBuilder.domainNameConfigurations(domainNameConfigurations.let(IResolvable::unwrap)) + cdkBuilder.domainNameConfigurations(domainNameConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnDomainName( * domain name. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: IResolvable) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnDomainName( * domain name. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: MutualTlsAuthenticationProperty) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainNameProps.kt index 61a5696cbb..c3478bef17 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnDomainNameProps.kt @@ -144,7 +144,7 @@ public interface CfnDomainNameProps { * @param domainNameConfigurations The domain name configurations. */ override fun domainNameConfigurations(domainNameConfigurations: IResolvable) { - cdkBuilder.domainNameConfigurations(domainNameConfigurations.let(IResolvable::unwrap)) + cdkBuilder.domainNameConfigurations(domainNameConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface CfnDomainNameProps { * domain name. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: IResolvable) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface CfnDomainNameProps { */ override fun mutualTlsAuthentication(mutualTlsAuthentication: CfnDomainName.MutualTlsAuthenticationProperty) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(CfnDomainName.MutualTlsAuthenticationProperty::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(CfnDomainName.MutualTlsAuthenticationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegration.kt index eab4c7d1cb..918b16930e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegration.kt @@ -65,8 +65,8 @@ public open class CfnIntegration( id: String, props: CfnIntegrationProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIntegrationProps.Companion::unwrap)) ) public constructor( @@ -159,7 +159,7 @@ public open class CfnIntegration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -318,14 +318,14 @@ public open class CfnIntegration( * The TLS configuration for a private integration. */ public open fun tlsConfig(`value`: IResolvable) { - unwrap(this).setTlsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTlsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The TLS configuration for a private integration. */ public open fun tlsConfig(`value`: TlsConfigProperty) { - unwrap(this).setTlsConfig(`value`.let(TlsConfigProperty::unwrap)) + unwrap(this).setTlsConfig(`value`.let(TlsConfigProperty.Companion::unwrap)) } /** @@ -946,7 +946,7 @@ public open class CfnIntegration( * @param tlsConfig The TLS configuration for a private integration. */ override fun tlsConfig(tlsConfig: IResolvable) { - cdkBuilder.tlsConfig(tlsConfig.let(IResolvable::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -959,7 +959,7 @@ public open class CfnIntegration( * @param tlsConfig The TLS configuration for a private integration. */ override fun tlsConfig(tlsConfig: TlsConfigProperty) { - cdkBuilder.tlsConfig(tlsConfig.let(TlsConfigProperty::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(TlsConfigProperty.Companion::unwrap)) } /** @@ -1056,7 +1056,7 @@ public open class CfnIntegration( * @param responseParameters the value to be set. */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationProps.kt index 5c58a32672..93e83213bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationProps.kt @@ -746,7 +746,7 @@ public interface CfnIntegrationProps { * Supported only for HTTP APIs. */ override fun tlsConfig(tlsConfig: IResolvable) { - cdkBuilder.tlsConfig(tlsConfig.let(IResolvable::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -755,7 +755,7 @@ public interface CfnIntegrationProps { * Supported only for HTTP APIs. */ override fun tlsConfig(tlsConfig: CfnIntegration.TlsConfigProperty) { - cdkBuilder.tlsConfig(tlsConfig.let(CfnIntegration.TlsConfigProperty::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(CfnIntegration.TlsConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationResponse.kt index c9a7ad81fa..9995ef0d8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnIntegrationResponse.kt @@ -51,8 +51,8 @@ public open class CfnIntegrationResponse( id: String, props: CfnIntegrationResponseProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnIntegrationResponse(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIntegrationResponseProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnIntegrationResponse(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIntegrationResponseProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnIntegrationResponse( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnModel.kt index bf2eca97b4..171f8f8695 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnModel.kt @@ -46,8 +46,8 @@ public open class CfnModel( id: String, props: CfnModelProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnModel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRoute.kt index 63b02a2d13..27a2b46329 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRoute.kt @@ -55,8 +55,8 @@ public open class CfnRoute( id: String, props: CfnRouteProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnRoute( * Specifies whether an API key is required for the route. */ public open fun apiKeyRequired(`value`: IResolvable) { - unwrap(this).setApiKeyRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setApiKeyRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnRoute( * @param apiKeyRequired Specifies whether an API key is required for the route. */ override fun apiKeyRequired(apiKeyRequired: IResolvable) { - cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable::unwrap)) + cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnRoute( * @param required the value to be set. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteProps.kt index 1e296c64ab..278687132d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteProps.kt @@ -264,7 +264,7 @@ public interface CfnRouteProps { * Supported only for WebSocket APIs. */ override fun apiKeyRequired(apiKeyRequired: IResolvable) { - cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable::unwrap)) + cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponse.kt index 4ded1e4742..019271643b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponse.kt @@ -55,8 +55,8 @@ public open class CfnRouteResponse( id: String, props: CfnRouteResponseProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnRouteResponse(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteResponseProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnRouteResponse(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteResponseProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnRouteResponse( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnRouteResponse( * The route response parameters. */ public open fun responseParameters(`value`: IResolvable) { - unwrap(this).setResponseParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setResponseParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnRouteResponse( * @param responseParameters The route response parameters. */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnRouteResponse( * @param required Specifies whether the parameter is required. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponseProps.kt index 4e23cbf47e..a71e0cefb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnRouteResponseProps.kt @@ -155,7 +155,7 @@ public interface CfnRouteResponseProps { * @param responseParameters The route response parameters. */ override fun responseParameters(responseParameters: IResolvable) { - cdkBuilder.responseParameters(responseParameters.let(IResolvable::unwrap)) + cdkBuilder.responseParameters(responseParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStage.kt index 6d717a4c52..2a4316df30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStage.kt @@ -75,8 +75,8 @@ public open class CfnStage( id: String, props: CfnStageProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnStage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStageProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnStage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStageProps.Companion::unwrap)) ) public constructor( @@ -95,14 +95,14 @@ public open class CfnStage( * Settings for logging access in this stage. */ public open fun accessLogSettings(`value`: IResolvable) { - unwrap(this).setAccessLogSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessLogSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings for logging access in this stage. */ public open fun accessLogSettings(`value`: AccessLogSettingsProperty) { - unwrap(this).setAccessLogSettings(`value`.let(AccessLogSettingsProperty::unwrap)) + unwrap(this).setAccessLogSettings(`value`.let(AccessLogSettingsProperty.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnStage( * Specifies whether updates to an API automatically trigger a new deployment. */ public open fun autoDeploy(`value`: IResolvable) { - unwrap(this).setAutoDeploy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoDeploy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,14 +182,14 @@ public open class CfnStage( * The default route settings for the stage. */ public open fun defaultRouteSettings(`value`: IResolvable) { - unwrap(this).setDefaultRouteSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultRouteSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The default route settings for the stage. */ public open fun defaultRouteSettings(`value`: RouteSettingsProperty) { - unwrap(this).setDefaultRouteSettings(`value`.let(RouteSettingsProperty::unwrap)) + unwrap(this).setDefaultRouteSettings(`value`.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnStage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnStage( * @param accessLogSettings Settings for logging access in this stage. */ override fun accessLogSettings(accessLogSettings: IResolvable) { - cdkBuilder.accessLogSettings(accessLogSettings.let(IResolvable::unwrap)) + cdkBuilder.accessLogSettings(accessLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class CfnStage( * @param accessLogSettings Settings for logging access in this stage. */ override fun accessLogSettings(accessLogSettings: AccessLogSettingsProperty) { - cdkBuilder.accessLogSettings(accessLogSettings.let(AccessLogSettingsProperty::unwrap)) + cdkBuilder.accessLogSettings(accessLogSettings.let(AccessLogSettingsProperty.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class CfnStage( * */ override fun autoDeploy(autoDeploy: IResolvable) { - cdkBuilder.autoDeploy(autoDeploy.let(IResolvable::unwrap)) + cdkBuilder.autoDeploy(autoDeploy.let(IResolvable.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnStage( * @param defaultRouteSettings The default route settings for the stage. */ override fun defaultRouteSettings(defaultRouteSettings: IResolvable) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnStage( * @param defaultRouteSettings The default route settings for the stage. */ override fun defaultRouteSettings(defaultRouteSettings: RouteSettingsProperty) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(RouteSettingsProperty::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -932,7 +932,7 @@ public open class CfnStage( * WebSocket APIs. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -946,7 +946,7 @@ public open class CfnStage( * @param detailedMetricsEnabled Specifies whether detailed metrics are enabled. */ override fun detailedMetricsEnabled(detailedMetricsEnabled: IResolvable) { - cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStageProps.kt index 9752ed917d..36cdfdbf4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnStageProps.kt @@ -265,14 +265,14 @@ public interface CfnStageProps { * @param accessLogSettings Settings for logging access in this stage. */ override fun accessLogSettings(accessLogSettings: IResolvable) { - cdkBuilder.accessLogSettings(accessLogSettings.let(IResolvable::unwrap)) + cdkBuilder.accessLogSettings(accessLogSettings.let(IResolvable.Companion::unwrap)) } /** * @param accessLogSettings Settings for logging access in this stage. */ override fun accessLogSettings(accessLogSettings: CfnStage.AccessLogSettingsProperty) { - cdkBuilder.accessLogSettings(accessLogSettings.let(CfnStage.AccessLogSettingsProperty::unwrap)) + cdkBuilder.accessLogSettings(accessLogSettings.let(CfnStage.AccessLogSettingsProperty.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface CfnStageProps { * The default value is `false` . */ override fun autoDeploy(autoDeploy: IResolvable) { - cdkBuilder.autoDeploy(autoDeploy.let(IResolvable::unwrap)) + cdkBuilder.autoDeploy(autoDeploy.let(IResolvable.Companion::unwrap)) } /** @@ -326,14 +326,14 @@ public interface CfnStageProps { * @param defaultRouteSettings The default route settings for the stage. */ override fun defaultRouteSettings(defaultRouteSettings: IResolvable) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable.Companion::unwrap)) } /** * @param defaultRouteSettings The default route settings for the stage. */ override fun defaultRouteSettings(defaultRouteSettings: CfnStage.RouteSettingsProperty) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(CfnStage.RouteSettingsProperty::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(CfnStage.RouteSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnVpcLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnVpcLink.kt index 3e9a907a3e..062fa4d92a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnVpcLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CfnVpcLink.kt @@ -50,8 +50,8 @@ public open class CfnVpcLink( id: String, props: CfnVpcLinkProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.CfnVpcLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcLinkProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.CfnVpcLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcLinkProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnVpcLink( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CorsPreflightOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CorsPreflightOptions.kt index fe00543379..40d89b955c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CorsPreflightOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/CorsPreflightOptions.kt @@ -157,7 +157,7 @@ public interface CorsPreflightOptions { * @param allowMethods Represents a collection of allowed HTTP methods. */ override fun allowMethods(allowMethods: List) { - cdkBuilder.allowMethods(allowMethods.map(CorsHttpMethod::unwrap)) + cdkBuilder.allowMethods(allowMethods.map(CorsHttpMethod.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface CorsPreflightOptions { * @param maxAge The duration that the browser should cache preflight request results. */ override fun maxAge(maxAge: Duration) { - cdkBuilder.maxAge(maxAge.let(Duration::unwrap)) + cdkBuilder.maxAge(maxAge.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.CorsPreflightOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainMappingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainMappingOptions.kt index 0dddb61123..976aa85c0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainMappingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainMappingOptions.kt @@ -68,7 +68,7 @@ public interface DomainMappingOptions { * @param domainName The domain name for the mapping. */ override fun domainName(domainName: IDomainName) { - cdkBuilder.domainName(domainName.let(IDomainName::unwrap)) + cdkBuilder.domainName(domainName.let(IDomainName.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainName.kt index f5bc787c67..14d16d61bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainName.kt @@ -44,8 +44,8 @@ public open class DomainName( id: String, props: DomainNameProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.DomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DomainNameProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.DomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DomainNameProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class DomainName( * @param options domain name endpoint properties to be set. */ public open fun addEndpoint(options: EndpointOptions) { - unwrap(this).addEndpoint(options.let(EndpointOptions::unwrap)) + unwrap(this).addEndpoint(options.let(EndpointOptions.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class DomainName( * @param certificate The ACM certificate for this domain name. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class DomainName( * @param endpointType The type of endpoint for this DomainName. */ override fun endpointType(endpointType: EndpointType) { - cdkBuilder.endpointType(endpointType.let(EndpointType::unwrap)) + cdkBuilder.endpointType(endpointType.let(EndpointType.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class DomainName( * @param mtls The mutual TLS authentication configuration for a custom domain name. */ override fun mtls(mtls: MTLSConfig) { - cdkBuilder.mtls(mtls.let(MTLSConfig::unwrap)) + cdkBuilder.mtls(mtls.let(MTLSConfig.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class DomainName( * custom domain. */ override fun ownershipCertificate(ownershipCertificate: ICertificate) { - cdkBuilder.ownershipCertificate(ownershipCertificate.let(ICertificate::unwrap)) + cdkBuilder.ownershipCertificate(ownershipCertificate.let(ICertificate.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class DomainName( * domain name. */ override fun securityPolicy(securityPolicy: SecurityPolicy) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.DomainName = cdkBuilder.build() @@ -289,8 +289,8 @@ public open class DomainName( id: String, attrs: DomainNameAttributes, ): IDomainName = - software.amazon.awscdk.services.apigatewayv2.DomainName.fromDomainNameAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DomainNameAttributes::unwrap)).let(IDomainName::wrap) + software.amazon.awscdk.services.apigatewayv2.DomainName.fromDomainNameAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DomainNameAttributes.Companion::unwrap)).let(IDomainName::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1c56095f22c2c0873774339a1b537e195551eeb9d2e33592f72cef7d78b8bc1b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainNameProps.kt index 80df1b13c2..eaaed2abab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/DomainNameProps.kt @@ -114,7 +114,7 @@ public interface DomainNameProps : EndpointOptions { * Certificate can be both ACM issued or imported. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -136,14 +136,14 @@ public interface DomainNameProps : EndpointOptions { * @param endpointType The type of endpoint for this DomainName. */ override fun endpointType(endpointType: EndpointType) { - cdkBuilder.endpointType(endpointType.let(EndpointType::unwrap)) + cdkBuilder.endpointType(endpointType.let(EndpointType.Companion::unwrap)) } /** * @param mtls The mutual TLS authentication configuration for a custom domain name. */ override fun mtls(mtls: MTLSConfig) { - cdkBuilder.mtls(mtls.let(MTLSConfig::unwrap)) + cdkBuilder.mtls(mtls.let(MTLSConfig.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface DomainNameProps : EndpointOptions { * domain name. */ override fun ownershipCertificate(ownershipCertificate: ICertificate) { - cdkBuilder.ownershipCertificate(ownershipCertificate.let(ICertificate::unwrap)) + cdkBuilder.ownershipCertificate(ownershipCertificate.let(ICertificate.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public interface DomainNameProps : EndpointOptions { * domain name. */ override fun securityPolicy(securityPolicy: SecurityPolicy) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.DomainNameProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/EndpointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/EndpointOptions.kt index 4f2d190ccc..2cfa63bce2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/EndpointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/EndpointOptions.kt @@ -124,7 +124,7 @@ public interface EndpointOptions { * Certificate can be both ACM issued or imported. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public interface EndpointOptions { * @param endpointType The type of endpoint for this DomainName. */ override fun endpointType(endpointType: EndpointType) { - cdkBuilder.endpointType(endpointType.let(EndpointType::unwrap)) + cdkBuilder.endpointType(endpointType.let(EndpointType.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public interface EndpointOptions { * domain name. */ override fun ownershipCertificate(ownershipCertificate: ICertificate) { - cdkBuilder.ownershipCertificate(ownershipCertificate.let(ICertificate::unwrap)) + cdkBuilder.ownershipCertificate(ownershipCertificate.let(ICertificate.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface EndpointOptions { * domain name. */ override fun securityPolicy(securityPolicy: SecurityPolicy) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.EndpointOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/GrantInvokeOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/GrantInvokeOptions.kt index 6de5e90951..88b2d67eb9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/GrantInvokeOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/GrantInvokeOptions.kt @@ -55,7 +55,7 @@ public interface GrantInvokeOptions { * @param httpMethods The HTTP methods to allow. */ override fun httpMethods(httpMethods: List) { - cdkBuilder.httpMethods(httpMethods.map(HttpMethod::unwrap)) + cdkBuilder.httpMethods(httpMethods.map(HttpMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApi.kt index 36a66ab583..fbccd0d191 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApi.kt @@ -36,7 +36,7 @@ public open class HttpApi( cdkObject: software.amazon.awscdk.services.apigatewayv2.HttpApi, ) : Resource(cdkObject), IHttpApi, IApi { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigatewayv2.HttpApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigatewayv2.HttpApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class HttpApi( id: String, props: HttpApiProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.HttpApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpApiProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.HttpApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpApiProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class HttpApi( * @param options */ public open fun addRoutes(options: AddRoutesOptions): List = - unwrap(this).addRoutes(options.let(AddRoutesOptions::unwrap)).map(HttpRoute::wrap) + unwrap(this).addRoutes(options.let(AddRoutesOptions.Companion::unwrap)).map(HttpRoute::wrap) /** * Add multiple routes that uses the same configuration. @@ -87,7 +87,8 @@ public open class HttpApi( * @param options */ public open fun addStage(id: String, options: HttpStageOptions): HttpStage = - unwrap(this).addStage(id, options.let(HttpStageOptions::unwrap)).let(HttpStage::wrap) + unwrap(this).addStage(id, + options.let(HttpStageOptions.Companion::unwrap)).let(HttpStage::wrap) /** * Add a new stage. @@ -106,7 +107,7 @@ public open class HttpApi( * @param options */ public override fun addVpcLink(options: VpcLinkProps): VpcLink = - unwrap(this).addVpcLink(options.let(VpcLinkProps::unwrap)).let(VpcLink::wrap) + unwrap(this).addVpcLink(options.let(VpcLinkProps.Companion::unwrap)).let(VpcLink::wrap) /** * Add a new VpcLink. @@ -235,7 +236,7 @@ public open class HttpApi( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Api Gateway. @@ -262,7 +263,7 @@ public open class HttpApi( * @param props */ public override fun metricClientError(props: MetricOptions): Metric = - unwrap(this).metricClientError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -287,7 +288,7 @@ public open class HttpApi( * @param props */ public override fun metricCount(props: MetricOptions): Metric = - unwrap(this).metricCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -313,7 +314,7 @@ public open class HttpApi( * @param props */ public override fun metricDataProcessed(props: MetricOptions): Metric = - unwrap(this).metricDataProcessed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDataProcessed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the amount of data processed in bytes. @@ -341,7 +342,7 @@ public open class HttpApi( * @param props */ public override fun metricIntegrationLatency(props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -373,7 +374,7 @@ public open class HttpApi( * @param props */ public override fun metricLatency(props: MetricOptions): Metric = - unwrap(this).metricLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -402,7 +403,7 @@ public open class HttpApi( * @param props */ public override fun metricServerError(props: MetricOptions): Metric = - unwrap(this).metricServerError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. @@ -587,7 +588,7 @@ public open class HttpApi( * @param corsPreflight Specifies a CORS configuration for an API. */ override fun corsPreflight(corsPreflight: CorsPreflightOptions) { - cdkBuilder.corsPreflight(corsPreflight.let(CorsPreflightOptions::unwrap)) + cdkBuilder.corsPreflight(corsPreflight.let(CorsPreflightOptions.Companion::unwrap)) } /** @@ -652,7 +653,7 @@ public open class HttpApi( * @param defaultAuthorizer Default Authorizer applied to all routes in the gateway. */ override fun defaultAuthorizer(defaultAuthorizer: IHttpRouteAuthorizer) { - cdkBuilder.defaultAuthorizer(defaultAuthorizer.let(IHttpRouteAuthorizer::unwrap)) + cdkBuilder.defaultAuthorizer(defaultAuthorizer.let(IHttpRouteAuthorizer.Companion::unwrap)) } /** @@ -665,7 +666,7 @@ public open class HttpApi( * HTTP API. */ override fun defaultDomainMapping(defaultDomainMapping: DomainMappingOptions) { - cdkBuilder.defaultDomainMapping(defaultDomainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.defaultDomainMapping(defaultDomainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -692,7 +693,7 @@ public open class HttpApi( * ($default). */ override fun defaultIntegration(defaultIntegration: HttpRouteIntegration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(HttpRouteIntegration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(HttpRouteIntegration.Companion::unwrap)) } /** @@ -731,8 +732,8 @@ public open class HttpApi( id: String, attrs: HttpApiAttributes, ): IHttpApi = - software.amazon.awscdk.services.apigatewayv2.HttpApi.fromHttpApiAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(HttpApiAttributes::unwrap)).let(IHttpApi::wrap) + software.amazon.awscdk.services.apigatewayv2.HttpApi.fromHttpApiAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(HttpApiAttributes.Companion::unwrap)).let(IHttpApi::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c9b4b99209a3a68f4c8659bb0daf044a2ac392e8ef0ae6869e278a39e0ba5131") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApiProps.kt index ecee136dd1..86ddc97578 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpApiProps.kt @@ -207,7 +207,7 @@ public interface HttpApiProps { * @param corsPreflight Specifies a CORS configuration for an API. */ override fun corsPreflight(corsPreflight: CorsPreflightOptions) { - cdkBuilder.corsPreflight(corsPreflight.let(CorsPreflightOptions::unwrap)) + cdkBuilder.corsPreflight(corsPreflight.let(CorsPreflightOptions.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface HttpApiProps { * @param defaultAuthorizer Default Authorizer applied to all routes in the gateway. */ override fun defaultAuthorizer(defaultAuthorizer: IHttpRouteAuthorizer) { - cdkBuilder.defaultAuthorizer(defaultAuthorizer.let(IHttpRouteAuthorizer::unwrap)) + cdkBuilder.defaultAuthorizer(defaultAuthorizer.let(IHttpRouteAuthorizer.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface HttpApiProps { * HTTP API. */ override fun defaultDomainMapping(defaultDomainMapping: DomainMappingOptions) { - cdkBuilder.defaultDomainMapping(defaultDomainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.defaultDomainMapping(defaultDomainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface HttpApiProps { * ($default). */ override fun defaultIntegration(defaultIntegration: HttpRouteIntegration) { - cdkBuilder.defaultIntegration(defaultIntegration.let(HttpRouteIntegration::unwrap)) + cdkBuilder.defaultIntegration(defaultIntegration.let(HttpRouteIntegration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizer.kt index c75f0f6026..6a16f155cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizer.kt @@ -47,8 +47,8 @@ public open class HttpAuthorizer( id: String, props: HttpAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.HttpAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.HttpAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -235,7 +235,7 @@ public open class HttpAuthorizer( * @param httpApi HTTP Api to attach the authorizer to. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class HttpAuthorizer( * authorizer. */ override fun payloadFormatVersion(payloadFormatVersion: AuthorizerPayloadVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(AuthorizerPayloadVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(AuthorizerPayloadVersion.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class HttpAuthorizer( * @param resultsCacheTtl How long APIGateway should cache the results. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class HttpAuthorizer( * @param type The type of authorizer. */ override fun type(type: HttpAuthorizerType) { - cdkBuilder.type(type.let(HttpAuthorizerType::unwrap)) + cdkBuilder.type(type.let(HttpAuthorizerType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.HttpAuthorizer = @@ -337,8 +337,8 @@ public open class HttpAuthorizer( id: String, attrs: HttpAuthorizerAttributes, ): IHttpRouteAuthorizer = - software.amazon.awscdk.services.apigatewayv2.HttpAuthorizer.fromHttpAuthorizerAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(HttpAuthorizerAttributes::unwrap)).let(IHttpRouteAuthorizer::wrap) + software.amazon.awscdk.services.apigatewayv2.HttpAuthorizer.fromHttpAuthorizerAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(HttpAuthorizerAttributes.Companion::unwrap)).let(IHttpRouteAuthorizer::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf1a033791ee074ae395c0f1b6787e8eba84915efec33220ef959a38f976984f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizerProps.kt index c1d7e2d429..4e03101d1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpAuthorizerProps.kt @@ -219,7 +219,7 @@ public interface HttpAuthorizerProps { * @param httpApi HTTP Api to attach the authorizer to. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface HttpAuthorizerProps { * authorizer. */ override fun payloadFormatVersion(payloadFormatVersion: AuthorizerPayloadVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(AuthorizerPayloadVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(AuthorizerPayloadVersion.Companion::unwrap)) } /** @@ -269,14 +269,14 @@ public interface HttpAuthorizerProps { * Max 1 hour. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } /** * @param type The type of authorizer. */ override fun type(type: HttpAuthorizerType) { - cdkBuilder.type(type.let(HttpAuthorizerType::unwrap)) + cdkBuilder.type(type.let(HttpAuthorizerType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.HttpAuthorizerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegration.kt index 39a7be49b9..30e12db0f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegration.kt @@ -46,8 +46,8 @@ public open class HttpIntegration( id: String, props: HttpIntegrationProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.HttpIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.HttpIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpIntegrationProps.Companion::unwrap)) ) public constructor( @@ -208,7 +208,7 @@ public open class HttpIntegration( * @param connectionType The type of the network connection to the integration endpoint. */ override fun connectionType(connectionType: HttpConnectionType) { - cdkBuilder.connectionType(connectionType.let(HttpConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(HttpConnectionType.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class HttpIntegration( * @param credentials The credentials with which to invoke the integration. */ override fun credentials(credentials: IntegrationCredentials) { - cdkBuilder.credentials(credentials.let(IntegrationCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(IntegrationCredentials.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class HttpIntegration( * @param httpApi The HTTP API to which this integration should be bound. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class HttpIntegration( * @param integrationSubtype Integration subtype. */ override fun integrationSubtype(integrationSubtype: HttpIntegrationSubtype) { - cdkBuilder.integrationSubtype(integrationSubtype.let(HttpIntegrationSubtype::unwrap)) + cdkBuilder.integrationSubtype(integrationSubtype.let(HttpIntegrationSubtype.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class HttpIntegration( * @param integrationType Integration type. */ override fun integrationType(integrationType: HttpIntegrationType) { - cdkBuilder.integrationType(integrationType.let(HttpIntegrationType::unwrap)) + cdkBuilder.integrationType(integrationType.let(HttpIntegrationType.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class HttpIntegration( * @param method The HTTP method to use when calling the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class HttpIntegration( * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class HttpIntegration( * @param payloadFormatVersion The version of the payload format. */ override fun payloadFormatVersion(payloadFormatVersion: PayloadFormatVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegrationProps.kt index 7b653009ac..0a6e329ace 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpIntegrationProps.kt @@ -213,21 +213,21 @@ public interface HttpIntegrationProps { * @param connectionType The type of the network connection to the integration endpoint. */ override fun connectionType(connectionType: HttpConnectionType) { - cdkBuilder.connectionType(connectionType.let(HttpConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(HttpConnectionType.Companion::unwrap)) } /** * @param credentials The credentials with which to invoke the integration. */ override fun credentials(credentials: IntegrationCredentials) { - cdkBuilder.credentials(credentials.let(IntegrationCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(IntegrationCredentials.Companion::unwrap)) } /** * @param httpApi The HTTP API to which this integration should be bound. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -235,14 +235,14 @@ public interface HttpIntegrationProps { * Used for AWS Service integrations, specifies the target of the integration. */ override fun integrationSubtype(integrationSubtype: HttpIntegrationSubtype) { - cdkBuilder.integrationSubtype(integrationSubtype.let(HttpIntegrationSubtype::unwrap)) + cdkBuilder.integrationSubtype(integrationSubtype.let(HttpIntegrationSubtype.Companion::unwrap)) } /** * @param integrationType Integration type. */ override fun integrationType(integrationType: HttpIntegrationType) { - cdkBuilder.integrationType(integrationType.let(HttpIntegrationType::unwrap)) + cdkBuilder.integrationType(integrationType.let(HttpIntegrationType.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface HttpIntegrationProps { * @param method The HTTP method to use when calling the underlying HTTP proxy. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -266,14 +266,14 @@ public interface HttpIntegrationProps { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** * @param payloadFormatVersion The version of the payload format. */ override fun payloadFormatVersion(payloadFormatVersion: PayloadFormatVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpNoneAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpNoneAuthorizer.kt index 3e56cce1a5..217445f92c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpNoneAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpNoneAuthorizer.kt @@ -58,7 +58,7 @@ public open class HttpNoneAuthorizer( * @param _options */ public override fun bind(options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig = - unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions::unwrap)).let(HttpRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions.Companion::unwrap)).let(HttpRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified Http route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRoute.kt index c1fd39c5d9..0bd6a349cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRoute.kt @@ -44,8 +44,8 @@ public open class HttpRoute( id: String, props: HttpRouteProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.HttpRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpRouteProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.HttpRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpRouteProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class HttpRoute( * @param options */ public override fun grantInvoke(grantee: IGrantable): Grant = - unwrap(this).grantInvoke(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant access to invoke the route. @@ -77,8 +77,8 @@ public open class HttpRoute( * @param options */ public override fun grantInvoke(grantee: IGrantable, options: GrantInvokeOptions): Grant = - unwrap(this).grantInvoke(grantee.let(IGrantable::unwrap), - options.let(GrantInvokeOptions::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(grantee.let(IGrantable.Companion::unwrap), + options.let(GrantInvokeOptions.Companion::unwrap)).let(Grant::wrap) /** * Grant access to invoke the route. @@ -215,7 +215,7 @@ public open class HttpRoute( * @param authorizer Authorizer for a WebSocket API or an HTTP API. */ override fun authorizer(authorizer: IHttpRouteAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IHttpRouteAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IHttpRouteAuthorizer.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class HttpRoute( * @param httpApi the API the route is associated with. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class HttpRoute( * @param integration The integration to be configured on this route. */ override fun integration(integration: HttpRouteIntegration) { - cdkBuilder.integration(integration.let(HttpRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(HttpRouteIntegration.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class HttpRoute( * @param routeKey The key to this route. */ override fun routeKey(routeKey: HttpRouteKey) { - cdkBuilder.routeKey(routeKey.let(HttpRouteKey::unwrap)) + cdkBuilder.routeKey(routeKey.let(HttpRouteKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.HttpRoute = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteAuthorizerBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteAuthorizerBindOptions.kt index 4dbabd5f2e..c8f69a9bdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteAuthorizerBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteAuthorizerBindOptions.kt @@ -63,14 +63,14 @@ public interface HttpRouteAuthorizerBindOptions { * @param route The route to which the authorizer is being bound. */ override fun route(route: IHttpRoute) { - cdkBuilder.route(route.let(IHttpRoute::unwrap)) + cdkBuilder.route(route.let(IHttpRoute.Companion::unwrap)) } /** * @param scope The scope for any constructs created as part of the bind. */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.HttpRouteAuthorizerBindOptions diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegration.kt index f1d95f4ea4..1417875276 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegration.kt @@ -36,7 +36,7 @@ public abstract class HttpRouteIntegration( * @param options */ public open fun bind(options: HttpRouteIntegrationBindOptions): HttpRouteIntegrationConfig = - unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions::unwrap)).let(HttpRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(HttpRouteIntegrationBindOptions.Companion::unwrap)).let(HttpRouteIntegrationConfig::wrap) /** * Bind this integration to the route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationBindOptions.kt index e980a6ec35..5ced7d1822 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationBindOptions.kt @@ -68,7 +68,7 @@ public interface HttpRouteIntegrationBindOptions { * @param route The route to which this is being bound. */ override fun route(route: IHttpRoute) { - cdkBuilder.route(route.let(IHttpRoute::unwrap)) + cdkBuilder.route(route.let(IHttpRoute.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface HttpRouteIntegrationBindOptions { * this will be used as their parent scope. */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegrationBindOptions diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationConfig.kt index c9550127d4..6cd739aaed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteIntegrationConfig.kt @@ -195,14 +195,14 @@ public interface HttpRouteIntegrationConfig { * @param connectionType The type of the network connection to the integration endpoint. */ override fun connectionType(connectionType: HttpConnectionType) { - cdkBuilder.connectionType(connectionType.let(HttpConnectionType::unwrap)) + cdkBuilder.connectionType(connectionType.let(HttpConnectionType.Companion::unwrap)) } /** * @param credentials The credentials with which to invoke the integration. */ override fun credentials(credentials: IntegrationCredentials) { - cdkBuilder.credentials(credentials.let(IntegrationCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(IntegrationCredentials.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface HttpRouteIntegrationConfig { * Required for `HttpIntegrationType.HTTP_PROXY` */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -218,14 +218,14 @@ public interface HttpRouteIntegrationConfig { * backend. */ override fun parameterMapping(parameterMapping: ParameterMapping) { - cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping::unwrap)) + cdkBuilder.parameterMapping(parameterMapping.let(ParameterMapping.Companion::unwrap)) } /** * @param payloadFormatVersion Payload format version in the case of lambda proxy integration. */ override fun payloadFormatVersion(payloadFormatVersion: PayloadFormatVersion) { - cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion::unwrap)) + cdkBuilder.payloadFormatVersion(payloadFormatVersion.let(PayloadFormatVersion.Companion::unwrap)) } /** @@ -240,14 +240,14 @@ public interface HttpRouteIntegrationConfig { * @param subtype Integration subtype. */ override fun subtype(subtype: HttpIntegrationSubtype) { - cdkBuilder.subtype(subtype.let(HttpIntegrationSubtype::unwrap)) + cdkBuilder.subtype(subtype.let(HttpIntegrationSubtype.Companion::unwrap)) } /** * @param type Integration type. */ override fun type(type: HttpIntegrationType) { - cdkBuilder.type(type.let(HttpIntegrationType::unwrap)) + cdkBuilder.type(type.let(HttpIntegrationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteKey.kt index a580e35b09..5ef7eac11e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteKey.kt @@ -48,7 +48,7 @@ public open class HttpRouteKey( public fun with(path: String, method: HttpMethod): HttpRouteKey = software.amazon.awscdk.services.apigatewayv2.HttpRouteKey.with(path, - method.let(HttpMethod::unwrap)).let(HttpRouteKey::wrap) + method.let(HttpMethod.Companion::unwrap)).let(HttpRouteKey::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.apigatewayv2.HttpRouteKey): HttpRouteKey = HttpRouteKey(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteProps.kt index ca64eb9010..e99d1a0cf8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpRouteProps.kt @@ -125,21 +125,21 @@ public interface HttpRouteProps : BatchHttpRouteOptions { * @param authorizer Authorizer for a WebSocket API or an HTTP API. */ override fun authorizer(authorizer: IHttpRouteAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IHttpRouteAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IHttpRouteAuthorizer.Companion::unwrap)) } /** * @param httpApi the API the route is associated with. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** * @param integration The integration to be configured on this route. */ override fun integration(integration: HttpRouteIntegration) { - cdkBuilder.integration(integration.let(HttpRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(HttpRouteIntegration.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface HttpRouteProps : BatchHttpRouteOptions { * This is a combination of an HTTP method and an HTTP path. */ override fun routeKey(routeKey: HttpRouteKey) { - cdkBuilder.routeKey(routeKey.let(HttpRouteKey::unwrap)) + cdkBuilder.routeKey(routeKey.let(HttpRouteKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.HttpRouteProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStage.kt index 6774145963..352bb1c56c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStage.kt @@ -34,8 +34,8 @@ public open class HttpStage( id: String, props: HttpStageProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.HttpStage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpStageProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.HttpStage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpStageProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class HttpStage( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this HTTP Api Gateway Stage. @@ -98,7 +98,7 @@ public open class HttpStage( * @param props */ public override fun metricClientError(props: MetricOptions): Metric = - unwrap(this).metricClientError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -123,7 +123,7 @@ public open class HttpStage( * @param props */ public override fun metricCount(props: MetricOptions): Metric = - unwrap(this).metricCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -149,7 +149,7 @@ public open class HttpStage( * @param props */ public override fun metricDataProcessed(props: MetricOptions): Metric = - unwrap(this).metricDataProcessed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDataProcessed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the amount of data processed in bytes. @@ -177,7 +177,7 @@ public open class HttpStage( * @param props */ public override fun metricIntegrationLatency(props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -209,7 +209,7 @@ public open class HttpStage( * @param props */ public override fun metricLatency(props: MetricOptions): Metric = - unwrap(this).metricLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -238,7 +238,7 @@ public open class HttpStage( * @param props */ public override fun metricServerError(props: MetricOptions): Metric = - unwrap(this).metricServerError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. @@ -362,7 +362,7 @@ public open class HttpStage( * @param domainMapping The options for custom domain and api mapping. */ override fun domainMapping(domainMapping: DomainMappingOptions) { - cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class HttpStage( * @param httpApi The HTTP API to which this stage is associated. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class HttpStage( * @param throttle Throttle settings for the routes of this stage. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** @@ -432,8 +432,8 @@ public open class HttpStage( id: String, attrs: HttpStageAttributes, ): IHttpStage = - software.amazon.awscdk.services.apigatewayv2.HttpStage.fromHttpStageAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(HttpStageAttributes::unwrap)).let(IHttpStage::wrap) + software.amazon.awscdk.services.apigatewayv2.HttpStage.fromHttpStageAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(HttpStageAttributes.Companion::unwrap)).let(IHttpStage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("575259e563e823f79320eb804445610337a793b8fc45079d0015386ccc1dc845") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageAttributes.kt index 6c60e6ef41..3013e57ade 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageAttributes.kt @@ -54,7 +54,7 @@ public interface HttpStageAttributes : StageAttributes { * @param api The API to which this stage is associated. */ override fun api(api: IHttpApi) { - cdkBuilder.api(api.let(IHttpApi::unwrap)) + cdkBuilder.api(api.let(IHttpApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageOptions.kt index edb67f4bea..44c07e2bb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageOptions.kt @@ -96,7 +96,7 @@ public interface HttpStageOptions : StageOptions { * @param domainMapping The options for custom domain and api mapping. */ override fun domainMapping(domainMapping: DomainMappingOptions) { - cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface HttpStageOptions : StageOptions { * @param throttle Throttle settings for the routes of this stage. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageProps.kt index 92a93ebbba..b31a354cac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/HttpStageProps.kt @@ -90,7 +90,7 @@ public interface HttpStageProps : HttpStageOptions { * @param domainMapping The options for custom domain and api mapping. */ override fun domainMapping(domainMapping: DomainMappingOptions) { - cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public interface HttpStageProps : HttpStageOptions { * @param httpApi The HTTP API to which this stage is associated. */ override fun httpApi(httpApi: IHttpApi) { - cdkBuilder.httpApi(httpApi.let(IHttpApi::unwrap)) + cdkBuilder.httpApi(httpApi.let(IHttpApi.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface HttpStageProps : HttpStageOptions { * @param throttle Throttle settings for the routes of this stage. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApi.kt index 7453a20b43..79d20d91d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApi.kt @@ -88,7 +88,7 @@ public interface IApi : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -123,7 +123,8 @@ public interface IApi : IResource { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Api Gateway. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApiMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApiMapping.kt index 87f4594222..2bf6533765 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApiMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IApiMapping.kt @@ -44,7 +44,7 @@ public interface IApiMapping : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IAuthorizer.kt index a90eb35cb6..13e76f854f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IAuthorizer.kt @@ -37,7 +37,7 @@ public interface IAuthorizer : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IDomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IDomainName.kt index 3c6786626f..0d218888a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IDomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IDomainName.kt @@ -49,7 +49,7 @@ public interface IDomainName : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpApi.kt index 91508f83a0..a34d34a36b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpApi.kt @@ -321,7 +321,7 @@ public interface IHttpApi : IApi { * @param options */ override fun addVpcLink(options: VpcLinkProps): VpcLink = - unwrap(this).addVpcLink(options.let(VpcLinkProps::unwrap)).let(VpcLink::wrap) + unwrap(this).addVpcLink(options.let(VpcLinkProps.Companion::unwrap)).let(VpcLink::wrap) /** * Add a new VpcLink. @@ -357,7 +357,7 @@ public interface IHttpApi : IApi { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -484,7 +484,8 @@ public interface IHttpApi : IApi { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Api Gateway. @@ -516,7 +517,7 @@ public interface IHttpApi : IApi { * @param props */ override fun metricClientError(props: MetricOptions): Metric = - unwrap(this).metricClientError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -547,7 +548,7 @@ public interface IHttpApi : IApi { * @param props */ override fun metricCount(props: MetricOptions): Metric = - unwrap(this).metricCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -579,7 +580,7 @@ public interface IHttpApi : IApi { * @param props */ override fun metricDataProcessed(props: MetricOptions): Metric = - unwrap(this).metricDataProcessed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDataProcessed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the amount of data processed in bytes. @@ -613,7 +614,7 @@ public interface IHttpApi : IApi { * @param props */ override fun metricIntegrationLatency(props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -651,7 +652,7 @@ public interface IHttpApi : IApi { * @param props */ override fun metricLatency(props: MetricOptions): Metric = - unwrap(this).metricLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -685,7 +686,7 @@ public interface IHttpApi : IApi { * @param props */ override fun metricServerError(props: MetricOptions): Metric = - unwrap(this).metricServerError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpAuthorizer.kt index ea7b1bba4a..cc51606d55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpAuthorizer.kt @@ -31,7 +31,7 @@ public interface IHttpAuthorizer : IAuthorizer { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpIntegration.kt index 5bad10b671..c32c10ba43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpIntegration.kt @@ -36,7 +36,7 @@ public interface IHttpIntegration : IIntegration { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRoute.kt index ebfe99a5ec..da431d28c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRoute.kt @@ -85,7 +85,7 @@ public interface IHttpRoute : IRoute { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface IHttpRoute : IRoute { * @param options */ override fun grantInvoke(grantee: IGrantable): Grant = - unwrap(this).grantInvoke(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant access to invoke the route. @@ -122,8 +122,8 @@ public interface IHttpRoute : IRoute { * @param options */ override fun grantInvoke(grantee: IGrantable, options: GrantInvokeOptions): Grant = - unwrap(this).grantInvoke(grantee.let(IGrantable::unwrap), - options.let(GrantInvokeOptions::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(grantee.let(IGrantable.Companion::unwrap), + options.let(GrantInvokeOptions.Companion::unwrap)).let(Grant::wrap) /** * Grant access to invoke the route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRouteAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRouteAuthorizer.kt index b03ff8c7af..330592c558 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRouteAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpRouteAuthorizer.kt @@ -37,7 +37,7 @@ public interface IHttpRouteAuthorizer { * @param options */ override fun bind(options: HttpRouteAuthorizerBindOptions): HttpRouteAuthorizerConfig = - unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions::unwrap)).let(HttpRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(HttpRouteAuthorizerBindOptions.Companion::unwrap)).let(HttpRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified Http route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpStage.kt index a5c4024b89..ef0700c2a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IHttpStage.kt @@ -236,7 +236,7 @@ public interface IHttpStage : IStage { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -276,7 +276,8 @@ public interface IHttpStage : IStage { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this HTTP Api Gateway Stage. @@ -308,7 +309,7 @@ public interface IHttpStage : IStage { * @param props */ override fun metricClientError(props: MetricOptions): Metric = - unwrap(this).metricClientError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of client-side errors captured in a given period. @@ -339,7 +340,7 @@ public interface IHttpStage : IStage { * @param props */ override fun metricCount(props: MetricOptions): Metric = - unwrap(this).metricCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number API requests in a given period. @@ -371,7 +372,7 @@ public interface IHttpStage : IStage { * @param props */ override fun metricDataProcessed(props: MetricOptions): Metric = - unwrap(this).metricDataProcessed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDataProcessed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the amount of data processed in bytes. @@ -405,7 +406,7 @@ public interface IHttpStage : IStage { * @param props */ override fun metricIntegrationLatency(props: MetricOptions): Metric = - unwrap(this).metricIntegrationLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIntegrationLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time between when API Gateway relays a request to the backend and when it @@ -443,7 +444,7 @@ public interface IHttpStage : IStage { * @param props */ override fun metricLatency(props: MetricOptions): Metric = - unwrap(this).metricLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time between when API Gateway receives a request from a client and when it returns a @@ -477,7 +478,7 @@ public interface IHttpStage : IStage { * @param props */ override fun metricServerError(props: MetricOptions): Metric = - unwrap(this).metricServerError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of server-side errors captured in a given period. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IIntegration.kt index 7997ef11be..21a5f2ca2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IIntegration.kt @@ -37,7 +37,7 @@ public interface IIntegration : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IRoute.kt index b42829b18b..bfbf03d952 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IRoute.kt @@ -37,7 +37,7 @@ public interface IRoute : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IStage.kt index 7dd50f26e2..3c3e21073a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IStage.kt @@ -80,7 +80,7 @@ public interface IStage : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -115,7 +115,8 @@ public interface IStage : IResource { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this HTTP Api Gateway Stage. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IVpcLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IVpcLink.kt index 759999b028..21f352def7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IVpcLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IVpcLink.kt @@ -43,7 +43,7 @@ public interface IVpcLink : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketApi.kt index dd8db1af07..1c2db4f9c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketApi.kt @@ -45,7 +45,7 @@ public interface IWebSocketApi : IApi { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -80,7 +80,8 @@ public interface IWebSocketApi : IApi { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Api Gateway. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketAuthorizer.kt index 2bb1b6562d..a855f101f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketAuthorizer.kt @@ -31,7 +31,7 @@ public interface IWebSocketAuthorizer : IAuthorizer { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketIntegration.kt index 2affb272db..1be460f645 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketIntegration.kt @@ -36,7 +36,7 @@ public interface IWebSocketIntegration : IIntegration { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRoute.kt index 256cdb6833..cb25a50e77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRoute.kt @@ -41,7 +41,7 @@ public interface IWebSocketRoute : IRoute { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRouteAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRouteAuthorizer.kt index 8c9d6f8014..72d3d341cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRouteAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketRouteAuthorizer.kt @@ -38,7 +38,7 @@ public interface IWebSocketRouteAuthorizer { */ override fun bind(options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig = - unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions.Companion::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified WebSocket route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketStage.kt index b3f147a3ed..98a52f53e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IWebSocketStage.kt @@ -54,7 +54,7 @@ public interface IWebSocketStage : IStage { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -98,7 +98,8 @@ public interface IWebSocketStage : IStage { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this HTTP Api Gateway Stage. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IntegrationCredentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IntegrationCredentials.kt index ae4aaead54..7999e478f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IntegrationCredentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/IntegrationCredentials.kt @@ -35,7 +35,7 @@ public abstract class IntegrationCredentials( public companion object { public fun fromRole(role: IRole): IntegrationCredentials = - software.amazon.awscdk.services.apigatewayv2.IntegrationCredentials.fromRole(role.let(IRole::unwrap)).let(IntegrationCredentials::wrap) + software.amazon.awscdk.services.apigatewayv2.IntegrationCredentials.fromRole(role.let(IRole.Companion::unwrap)).let(IntegrationCredentials::wrap) public fun useCallerIdentity(): IntegrationCredentials = software.amazon.awscdk.services.apigatewayv2.IntegrationCredentials.useCallerIdentity().let(IntegrationCredentials::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/MTLSConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/MTLSConfig.kt index 891dd1f1d1..0cd31bc975 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/MTLSConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/MTLSConfig.kt @@ -81,7 +81,7 @@ public interface MTLSConfig { * @param bucket The bucket that the trust store is hosted in. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ParameterMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ParameterMapping.kt index 98048b0294..a10d875d09 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ParameterMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/ParameterMapping.kt @@ -40,7 +40,8 @@ public open class ParameterMapping( * @param value */ public open fun appendHeader(name: String, `value`: MappingValue): ParameterMapping = - unwrap(this).appendHeader(name, `value`.let(MappingValue::unwrap)).let(ParameterMapping::wrap) + unwrap(this).appendHeader(name, + `value`.let(MappingValue.Companion::unwrap)).let(ParameterMapping::wrap) /** * Creates a mapping to append a query string. @@ -50,7 +51,7 @@ public open class ParameterMapping( */ public open fun appendQueryString(name: String, `value`: MappingValue): ParameterMapping = unwrap(this).appendQueryString(name, - `value`.let(MappingValue::unwrap)).let(ParameterMapping::wrap) + `value`.let(MappingValue.Companion::unwrap)).let(ParameterMapping::wrap) /** * Creates a custom mapping. @@ -74,7 +75,7 @@ public open class ParameterMapping( */ public open fun overwriteHeader(name: String, `value`: MappingValue): ParameterMapping = unwrap(this).overwriteHeader(name, - `value`.let(MappingValue::unwrap)).let(ParameterMapping::wrap) + `value`.let(MappingValue.Companion::unwrap)).let(ParameterMapping::wrap) /** * Creates a mapping to overwrite a path. @@ -82,7 +83,7 @@ public open class ParameterMapping( * @param value */ public open fun overwritePath(`value`: MappingValue): ParameterMapping = - unwrap(this).overwritePath(`value`.let(MappingValue::unwrap)).let(ParameterMapping::wrap) + unwrap(this).overwritePath(`value`.let(MappingValue.Companion::unwrap)).let(ParameterMapping::wrap) /** * Creates a mapping to overwrite a querystring. @@ -92,7 +93,7 @@ public open class ParameterMapping( */ public open fun overwriteQueryString(name: String, `value`: MappingValue): ParameterMapping = unwrap(this).overwriteQueryString(name, - `value`.let(MappingValue::unwrap)).let(ParameterMapping::wrap) + `value`.let(MappingValue.Companion::unwrap)).let(ParameterMapping::wrap) /** * Creates a mapping to remove a header. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/StageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/StageOptions.kt index 6feb4c9003..40d54f304d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/StageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/StageOptions.kt @@ -108,7 +108,7 @@ public interface StageOptions { * @param domainMapping The options for custom domain and api mapping. */ override fun domainMapping(domainMapping: DomainMappingOptions) { - cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface StageOptions { * @param throttle Throttle settings for the routes of this stage. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLink.kt index de11d5281c..a12110f601 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLink.kt @@ -45,8 +45,8 @@ public open class VpcLink( id: String, props: VpcLinkProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.VpcLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpcLinkProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.VpcLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpcLinkProps.Companion::unwrap)) ) public constructor( @@ -162,7 +162,7 @@ public open class VpcLink( */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(CloudshiftdevAwscdkServicesEc2ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(CloudshiftdevAwscdkServicesEc2ISecurityGroup.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class VpcLink( * @param subnets A list of subnets for the VPC link. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class VpcLink( * @param vpc The VPC in which the private resources reside. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -228,8 +228,8 @@ public open class VpcLink( id: String, attrs: VpcLinkAttributes, ): IVpcLink = - software.amazon.awscdk.services.apigatewayv2.VpcLink.fromVpcLinkAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VpcLinkAttributes::unwrap)).let(IVpcLink::wrap) + software.amazon.awscdk.services.apigatewayv2.VpcLink.fromVpcLinkAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VpcLinkAttributes.Companion::unwrap)).let(IVpcLink::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a9e78863e3435398a013c3a0826c825227d2aed3794e9cb063278a04cc32533a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkAttributes.kt index 3d34b98dcc..ce4de5c31e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkAttributes.kt @@ -59,7 +59,7 @@ public interface VpcLinkAttributes { * @param vpc The VPC to which this VPC link is associated with. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkProps.kt index 5eb0c86f1b..ce1799d681 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/VpcLinkProps.kt @@ -105,7 +105,7 @@ public interface VpcLinkProps { * @param securityGroups A list of security groups for the VPC link. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface VpcLinkProps { * @param subnets A list of subnets for the VPC link. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface VpcLinkProps { * @param vpc The VPC in which the private resources reside. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApi.kt index adbf9ffe68..d228fb75ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApi.kt @@ -37,7 +37,7 @@ public open class WebSocketApi( cdkObject: software.amazon.awscdk.services.apigatewayv2.WebSocketApi, ) : Resource(cdkObject), IWebSocketApi, IApi { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apigatewayv2.WebSocketApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apigatewayv2.WebSocketApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class WebSocketApi( id: String, props: WebSocketApiProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.WebSocketApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WebSocketApiProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.WebSocketApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WebSocketApiProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class WebSocketApi( */ public open fun addRoute(routeKey: String, options: WebSocketRouteOptions): WebSocketRoute = unwrap(this).addRoute(routeKey, - options.let(WebSocketRouteOptions::unwrap)).let(WebSocketRoute::wrap) + options.let(WebSocketRouteOptions.Companion::unwrap)).let(WebSocketRoute::wrap) /** * Add a new route. @@ -168,7 +168,7 @@ public open class WebSocketApi( * @param identity The principal. */ public open fun grantManageConnections(identity: IGrantable): Grant = - unwrap(this).grantManageConnections(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantManageConnections(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Api Gateway. @@ -186,7 +186,7 @@ public open class WebSocketApi( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Api Gateway. @@ -330,7 +330,7 @@ public open class WebSocketApi( */ override fun apiKeySelectionExpression(apiKeySelectionExpression: WebSocketApiKeySelectionExpression) { - cdkBuilder.apiKeySelectionExpression(apiKeySelectionExpression.let(WebSocketApiKeySelectionExpression::unwrap)) + cdkBuilder.apiKeySelectionExpression(apiKeySelectionExpression.let(WebSocketApiKeySelectionExpression.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class WebSocketApi( * @param connectRouteOptions Options to configure a '$connect' route. */ override fun connectRouteOptions(connectRouteOptions: WebSocketRouteOptions) { - cdkBuilder.connectRouteOptions(connectRouteOptions.let(WebSocketRouteOptions::unwrap)) + cdkBuilder.connectRouteOptions(connectRouteOptions.let(WebSocketRouteOptions.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class WebSocketApi( * @param defaultRouteOptions Options to configure a '$default' route. */ override fun defaultRouteOptions(defaultRouteOptions: WebSocketRouteOptions) { - cdkBuilder.defaultRouteOptions(defaultRouteOptions.let(WebSocketRouteOptions::unwrap)) + cdkBuilder.defaultRouteOptions(defaultRouteOptions.let(WebSocketRouteOptions.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class WebSocketApi( * @param disconnectRouteOptions Options to configure a '$disconnect' route. */ override fun disconnectRouteOptions(disconnectRouteOptions: WebSocketRouteOptions) { - cdkBuilder.disconnectRouteOptions(disconnectRouteOptions.let(WebSocketRouteOptions::unwrap)) + cdkBuilder.disconnectRouteOptions(disconnectRouteOptions.let(WebSocketRouteOptions.Companion::unwrap)) } /** @@ -446,8 +446,8 @@ public open class WebSocketApi( id: String, attrs: WebSocketApiAttributes, ): IWebSocketApi = - software.amazon.awscdk.services.apigatewayv2.WebSocketApi.fromWebSocketApiAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(WebSocketApiAttributes::unwrap)).let(IWebSocketApi::wrap) + software.amazon.awscdk.services.apigatewayv2.WebSocketApi.fromWebSocketApiAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(WebSocketApiAttributes.Companion::unwrap)).let(IWebSocketApi::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b3b4ff8d6a572553fb0ef997552ba49de004a4b3b49f79a1b12b23cfab1c4e7c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApiProps.kt index a9570581a0..690c0bbfc8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketApiProps.kt @@ -162,7 +162,7 @@ public interface WebSocketApiProps { */ override fun apiKeySelectionExpression(apiKeySelectionExpression: WebSocketApiKeySelectionExpression) { - cdkBuilder.apiKeySelectionExpression(apiKeySelectionExpression.let(WebSocketApiKeySelectionExpression::unwrap)) + cdkBuilder.apiKeySelectionExpression(apiKeySelectionExpression.let(WebSocketApiKeySelectionExpression.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface WebSocketApiProps { * @param connectRouteOptions Options to configure a '$connect' route. */ override fun connectRouteOptions(connectRouteOptions: WebSocketRouteOptions) { - cdkBuilder.connectRouteOptions(connectRouteOptions.let(WebSocketRouteOptions::unwrap)) + cdkBuilder.connectRouteOptions(connectRouteOptions.let(WebSocketRouteOptions.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface WebSocketApiProps { * @param defaultRouteOptions Options to configure a '$default' route. */ override fun defaultRouteOptions(defaultRouteOptions: WebSocketRouteOptions) { - cdkBuilder.defaultRouteOptions(defaultRouteOptions.let(WebSocketRouteOptions::unwrap)) + cdkBuilder.defaultRouteOptions(defaultRouteOptions.let(WebSocketRouteOptions.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface WebSocketApiProps { * @param disconnectRouteOptions Options to configure a '$disconnect' route. */ override fun disconnectRouteOptions(disconnectRouteOptions: WebSocketRouteOptions) { - cdkBuilder.disconnectRouteOptions(disconnectRouteOptions.let(WebSocketRouteOptions::unwrap)) + cdkBuilder.disconnectRouteOptions(disconnectRouteOptions.let(WebSocketRouteOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizer.kt index d43d4ae336..de6cbbaa1e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizer.kt @@ -40,8 +40,8 @@ public open class WebSocketAuthorizer( id: String, props: WebSocketAuthorizerProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WebSocketAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WebSocketAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -168,7 +168,7 @@ public open class WebSocketAuthorizer( * @param type The type of authorizer. */ override fun type(type: WebSocketAuthorizerType) { - cdkBuilder.type(type.let(WebSocketAuthorizerType::unwrap)) + cdkBuilder.type(type.let(WebSocketAuthorizerType.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class WebSocketAuthorizer( * @param webSocketApi WebSocket Api to attach the authorizer to. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizer = @@ -190,8 +190,9 @@ public open class WebSocketAuthorizer( id: String, attrs: WebSocketAuthorizerAttributes, ): IWebSocketRouteAuthorizer = - software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizer.fromWebSocketAuthorizerAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(WebSocketAuthorizerAttributes::unwrap)).let(IWebSocketRouteAuthorizer::wrap) + software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizer.fromWebSocketAuthorizerAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(WebSocketAuthorizerAttributes.Companion::unwrap)).let(IWebSocketRouteAuthorizer::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c1ef7641b7e24d5299874ba34280a6013ee58585e0c382e2bd0a1c5bd8550955") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizerProps.kt index edae298814..1df9fb4916 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketAuthorizerProps.kt @@ -137,14 +137,14 @@ public interface WebSocketAuthorizerProps { * @param type The type of authorizer. */ override fun type(type: WebSocketAuthorizerType) { - cdkBuilder.type(type.let(WebSocketAuthorizerType::unwrap)) + cdkBuilder.type(type.let(WebSocketAuthorizerType.Companion::unwrap)) } /** * @param webSocketApi WebSocket Api to attach the authorizer to. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketAuthorizerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegration.kt index c4eb9462fb..9c00b08dd5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegration.kt @@ -52,8 +52,8 @@ public open class WebSocketIntegration( id: String, props: WebSocketIntegrationProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.WebSocketIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WebSocketIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.WebSocketIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WebSocketIntegrationProps.Companion::unwrap)) ) public constructor( @@ -210,7 +210,7 @@ public open class WebSocketIntegration( * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class WebSocketIntegration( * @param credentialsRole Specifies the IAM role required for the integration. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class WebSocketIntegration( * @param integrationType Integration type. */ override fun integrationType(integrationType: WebSocketIntegrationType) { - cdkBuilder.integrationType(integrationType.let(WebSocketIntegrationType::unwrap)) + cdkBuilder.integrationType(integrationType.let(WebSocketIntegrationType.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class WebSocketIntegration( * requestTemplates property on the Integration resource. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class WebSocketIntegration( * response. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class WebSocketIntegration( * @param webSocketApi The WebSocket API to which this integration should be bound. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketIntegration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegrationProps.kt index ea007eeda9..0ed1b9bacc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketIntegrationProps.kt @@ -216,14 +216,14 @@ public interface WebSocketIntegrationProps { * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** * @param credentialsRole Specifies the IAM role required for the integration. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface WebSocketIntegrationProps { * @param integrationType Integration type. */ override fun integrationType(integrationType: WebSocketIntegrationType) { - cdkBuilder.integrationType(integrationType.let(WebSocketIntegrationType::unwrap)) + cdkBuilder.integrationType(integrationType.let(WebSocketIntegrationType.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface WebSocketIntegrationProps { * NEVER. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -292,14 +292,14 @@ public interface WebSocketIntegrationProps { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param webSocketApi The WebSocket API to which this integration should be bound. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketIntegrationProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketNoneAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketNoneAuthorizer.kt index 3039116343..3e504de2d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketNoneAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketNoneAuthorizer.kt @@ -31,7 +31,7 @@ public open class WebSocketNoneAuthorizer( */ public override fun bind(options: WebSocketRouteAuthorizerBindOptions): WebSocketRouteAuthorizerConfig = - unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteAuthorizerBindOptions.Companion::unwrap)).let(WebSocketRouteAuthorizerConfig::wrap) /** * Bind this authorizer to a specified WebSocket route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRoute.kt index 7a0be28c10..0b8af2d6dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRoute.kt @@ -41,8 +41,8 @@ public open class WebSocketRoute( id: String, props: WebSocketRouteProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.WebSocketRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WebSocketRouteProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.WebSocketRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WebSocketRouteProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class WebSocketRoute( * @param authorizer The authorize to this route. */ override fun authorizer(authorizer: IWebSocketRouteAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IWebSocketRouteAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IWebSocketRouteAuthorizer.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class WebSocketRoute( * @param integration The integration to be configured on this route. */ override fun integration(integration: WebSocketRouteIntegration) { - cdkBuilder.integration(integration.let(WebSocketRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(WebSocketRouteIntegration.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class WebSocketRoute( * @param webSocketApi The API the route is associated with. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketRoute = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteAuthorizerBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteAuthorizerBindOptions.kt index a8f92bf6ad..f2efe55a76 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteAuthorizerBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteAuthorizerBindOptions.kt @@ -63,14 +63,14 @@ public interface WebSocketRouteAuthorizerBindOptions { * @param route The route to which the authorizer is being bound. */ override fun route(route: IWebSocketRoute) { - cdkBuilder.route(route.let(IWebSocketRoute::unwrap)) + cdkBuilder.route(route.let(IWebSocketRoute.Companion::unwrap)) } /** * @param scope The scope for any constructs created as part of the bind. */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegration.kt index 461407a314..cb46a4d560 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegration.kt @@ -36,7 +36,7 @@ public abstract class WebSocketRouteIntegration( */ public open fun bind(options: WebSocketRouteIntegrationBindOptions): WebSocketRouteIntegrationConfig = - unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) + unwrap(this).bind(options.let(WebSocketRouteIntegrationBindOptions.Companion::unwrap)).let(WebSocketRouteIntegrationConfig::wrap) /** * Bind this integration to the route. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationBindOptions.kt index 6376f97104..c34003ade0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationBindOptions.kt @@ -68,7 +68,7 @@ public interface WebSocketRouteIntegrationBindOptions { * @param route The route to which this is being bound. */ override fun route(route: IWebSocketRoute) { - cdkBuilder.route(route.let(IWebSocketRoute::unwrap)) + cdkBuilder.route(route.let(IWebSocketRoute.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface WebSocketRouteIntegrationBindOptions { * this will be used as their parent scope. */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationConfig.kt index 341363c831..2262a85ca1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteIntegrationConfig.kt @@ -182,14 +182,14 @@ public interface WebSocketRouteIntegrationConfig { * @param contentHandling Specifies how to handle response payload content type conversions. */ override fun contentHandling(contentHandling: ContentHandling) { - cdkBuilder.contentHandling(contentHandling.let(ContentHandling::unwrap)) + cdkBuilder.contentHandling(contentHandling.let(ContentHandling.Companion::unwrap)) } /** * @param credentialsRole Credentials role. */ override fun credentialsRole(credentialsRole: IRole) { - cdkBuilder.credentialsRole(credentialsRole.let(IRole::unwrap)) + cdkBuilder.credentialsRole(credentialsRole.let(IRole.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface WebSocketRouteIntegrationConfig { * @param passthroughBehavior Integration passthrough behaviors. */ override fun passthroughBehavior(passthroughBehavior: PassthroughBehavior) { - cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior::unwrap)) + cdkBuilder.passthroughBehavior(passthroughBehavior.let(PassthroughBehavior.Companion::unwrap)) } /** @@ -233,14 +233,14 @@ public interface WebSocketRouteIntegrationConfig { * Must be between 50 milliseconds and 29 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param type Integration type. */ override fun type(type: WebSocketIntegrationType) { - cdkBuilder.type(type.let(WebSocketIntegrationType::unwrap)) + cdkBuilder.type(type.let(WebSocketIntegrationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteOptions.kt index be55a42322..6bb17de921 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteOptions.kt @@ -82,14 +82,14 @@ public interface WebSocketRouteOptions { * You can only set authorizer to a $connect route. */ override fun authorizer(authorizer: IWebSocketRouteAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IWebSocketRouteAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IWebSocketRouteAuthorizer.Companion::unwrap)) } /** * @param integration The integration to be configured on this route. */ override fun integration(integration: WebSocketRouteIntegration) { - cdkBuilder.integration(integration.let(WebSocketRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(WebSocketRouteIntegration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteProps.kt index c31f0e9f55..058ba38449 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketRouteProps.kt @@ -103,14 +103,14 @@ public interface WebSocketRouteProps : WebSocketRouteOptions { * You can only set authorizer to a $connect route. */ override fun authorizer(authorizer: IWebSocketRouteAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IWebSocketRouteAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IWebSocketRouteAuthorizer.Companion::unwrap)) } /** * @param integration The integration to be configured on this route. */ override fun integration(integration: WebSocketRouteIntegration) { - cdkBuilder.integration(integration.let(WebSocketRouteIntegration::unwrap)) + cdkBuilder.integration(integration.let(WebSocketRouteIntegration.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface WebSocketRouteProps : WebSocketRouteOptions { * @param webSocketApi The API the route is associated with. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketRouteProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStage.kt index db2a3231e1..23fcc085e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStage.kt @@ -48,8 +48,8 @@ public open class WebSocketStage( id: String, props: WebSocketStageProps, ) : - this(software.amazon.awscdk.services.apigatewayv2.WebSocketStage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WebSocketStageProps::unwrap)) + this(software.amazon.awscdk.services.apigatewayv2.WebSocketStage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WebSocketStageProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class WebSocketStage( * @param identity The principal. */ public open fun grantManagementApiAccess(identity: IGrantable): Grant = - unwrap(this).grantManagementApiAccess(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantManagementApiAccess(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this HTTP Api Gateway Stage. @@ -94,7 +94,7 @@ public open class WebSocketStage( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this HTTP Api Gateway Stage. @@ -214,7 +214,7 @@ public open class WebSocketStage( * @param domainMapping The options for custom domain and api mapping. */ override fun domainMapping(domainMapping: DomainMappingOptions) { - cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class WebSocketStage( * @param throttle Throttle settings for the routes of this stage. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class WebSocketStage( * @param webSocketApi The WebSocket API to which this stage is associated. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketStage = @@ -280,8 +280,8 @@ public open class WebSocketStage( id: String, attrs: WebSocketStageAttributes, ): IWebSocketStage = - software.amazon.awscdk.services.apigatewayv2.WebSocketStage.fromWebSocketStageAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(WebSocketStageAttributes::unwrap)).let(IWebSocketStage::wrap) + software.amazon.awscdk.services.apigatewayv2.WebSocketStage.fromWebSocketStageAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(WebSocketStageAttributes.Companion::unwrap)).let(IWebSocketStage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c320f7b4d1d5bee302dc541be02f23840ba27f0abd2928c85a7bfccdb92aa57d") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageAttributes.kt index cbf9388560..af34ab9946 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageAttributes.kt @@ -55,7 +55,7 @@ public interface WebSocketStageAttributes : StageAttributes { * @param api The API to which this stage is associated. */ override fun api(api: IWebSocketApi) { - cdkBuilder.api(api.let(IWebSocketApi::unwrap)) + cdkBuilder.api(api.let(IWebSocketApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageProps.kt index 69c79f4f83..4afd7fa6ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apigatewayv2/WebSocketStageProps.kt @@ -106,7 +106,7 @@ public interface WebSocketStageProps : StageOptions { * @param domainMapping The options for custom domain and api mapping. */ override fun domainMapping(domainMapping: DomainMappingOptions) { - cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions::unwrap)) + cdkBuilder.domainMapping(domainMapping.let(DomainMappingOptions.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface WebSocketStageProps : StageOptions { * @param throttle Throttle settings for the routes of this stage. */ override fun throttle(throttle: ThrottleSettings) { - cdkBuilder.throttle(throttle.let(ThrottleSettings::unwrap)) + cdkBuilder.throttle(throttle.let(ThrottleSettings.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public interface WebSocketStageProps : StageOptions { * @param webSocketApi The WebSocket API to which this stage is associated. */ override fun webSocketApi(webSocketApi: IWebSocketApi) { - cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi::unwrap)) + cdkBuilder.webSocketApi(webSocketApi.let(IWebSocketApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.apigatewayv2.WebSocketStageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Action.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Action.kt index 01d24f8dd1..0d9382e5cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Action.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Action.kt @@ -30,7 +30,7 @@ public open class Action( cdkObject: software.amazon.awscdk.services.appconfig.Action, ) : CdkObject(cdkObject) { public constructor(props: ActionProps) : - this(software.amazon.awscdk.services.appconfig.Action(props.let(ActionProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.Action(props.let(ActionProps.Companion::unwrap)) ) public constructor(props: ActionProps.Builder.() -> Unit) : this(ActionProps(props) @@ -147,7 +147,7 @@ public open class Action( * @param actionPoints The action points that will trigger the extension action. */ override fun actionPoints(actionPoints: List) { - cdkBuilder.actionPoints(actionPoints.map(ActionPoint::unwrap)) + cdkBuilder.actionPoints(actionPoints.map(ActionPoint.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class Action( * @param eventDestination The event destination for the action. */ override fun eventDestination(eventDestination: IEventDestination) { - cdkBuilder.eventDestination(eventDestination.let(IEventDestination::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class Action( * @param executionRole The execution role for the action. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ActionProps.kt index 619ed4f785..e1fb786cdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ActionProps.kt @@ -123,7 +123,7 @@ public interface ActionProps { * @param actionPoints The action points that will trigger the extension action. */ override fun actionPoints(actionPoints: List) { - cdkBuilder.actionPoints(actionPoints.map(ActionPoint::unwrap)) + cdkBuilder.actionPoints(actionPoints.map(ActionPoint.Companion::unwrap)) } /** @@ -143,14 +143,14 @@ public interface ActionProps { * @param eventDestination The event destination for the action. */ override fun eventDestination(eventDestination: IEventDestination) { - cdkBuilder.eventDestination(eventDestination.let(IEventDestination::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(IEventDestination.Companion::unwrap)) } /** * @param executionRole The execution role for the action. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Application.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Application.kt index dec4a0c170..22043f42b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Application.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Application.kt @@ -35,7 +35,7 @@ public open class Application( cdkObject: software.amazon.awscdk.services.appconfig.Application, ) : Resource(cdkObject), IApplication, IExtensible { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.appconfig.Application(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.appconfig.Application(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -44,8 +44,8 @@ public open class Application( id: String, props: ApplicationProps, ) : - this(software.amazon.awscdk.services.appconfig.Application(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.Application(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class Application( */ public override fun addEnvironment(id: String, options: EnvironmentOptions): IEnvironment = unwrap(this).addEnvironment(id, - options.let(EnvironmentOptions::unwrap)).let(IEnvironment::wrap) + options.let(EnvironmentOptions.Companion::unwrap)).let(IEnvironment::wrap) /** * Adds an environment. @@ -91,7 +91,7 @@ public open class Application( * @param environment */ public override fun addExistingEnvironment(environment: IEnvironment) { - unwrap(this).addExistingEnvironment(environment.let(IEnvironment::unwrap)) + unwrap(this).addExistingEnvironment(environment.let(IEnvironment.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class Application( * @param extension The extension to create an association for. */ public override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class Application( */ public override fun addHostedConfiguration(id: String, options: HostedConfigurationOptions): HostedConfiguration = unwrap(this).addHostedConfiguration(id, - options.let(HostedConfigurationOptions::unwrap)).let(HostedConfiguration::wrap) + options.let(HostedConfigurationOptions.Companion::unwrap)).let(HostedConfiguration::wrap) /** * Adds a hosted configuration. @@ -133,7 +133,7 @@ public open class Application( */ public override fun addSourcedConfiguration(id: String, options: SourcedConfigurationOptions): SourcedConfiguration = unwrap(this).addSourcedConfiguration(id, - options.let(SourcedConfigurationOptions::unwrap)).let(SourcedConfiguration::wrap) + options.let(SourcedConfigurationOptions.Companion::unwrap)).let(SourcedConfiguration::wrap) /** * Adds a sourced configuration. @@ -182,8 +182,8 @@ public open class Application( * @param options Options for the extension. */ public override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -199,8 +199,9 @@ public open class Application( eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -227,7 +228,7 @@ public open class Application( * @param options Options for the extension. */ public override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -239,8 +240,8 @@ public open class Application( */ public override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -264,7 +265,7 @@ public open class Application( * @param options Options for the extension. */ public override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -276,8 +277,8 @@ public open class Application( */ public override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -301,7 +302,7 @@ public open class Application( * @param options Options for the extension. */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -313,8 +314,8 @@ public open class Application( */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -338,7 +339,7 @@ public open class Application( * @param options Options for the extension. */ public override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -350,8 +351,8 @@ public open class Application( */ public override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -375,7 +376,7 @@ public open class Application( * @param options Options for the extension. */ public override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -387,8 +388,8 @@ public open class Application( */ public override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -412,7 +413,7 @@ public open class Application( * @param options Options for the extension. */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -424,8 +425,8 @@ public open class Application( */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -449,7 +450,7 @@ public open class Application( * @param options Options for the extension. */ public override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -461,8 +462,8 @@ public open class Application( */ public override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -536,7 +537,7 @@ public open class Application( public companion object { public fun addAgentToEcs(taskDef: TaskDefinition) { - software.amazon.awscdk.services.appconfig.Application.addAgentToEcs(taskDef.let(TaskDefinition::unwrap)) + software.amazon.awscdk.services.appconfig.Application.addAgentToEcs(taskDef.let(TaskDefinition.Companion::unwrap)) } public fun fromApplicationArn( @@ -544,7 +545,7 @@ public open class Application( id: String, applicationArn: String, ): IApplication = - software.amazon.awscdk.services.appconfig.Application.fromApplicationArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appconfig.Application.fromApplicationArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, applicationArn).let(IApplication::wrap) public fun fromApplicationId( @@ -552,7 +553,7 @@ public open class Application( id: String, applicationId: String, ): IApplication = - software.amazon.awscdk.services.appconfig.Application.fromApplicationId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appconfig.Application.fromApplicationId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, applicationId).let(IApplication::wrap) public fun lambdaLayerVersionArn(region: String): String = @@ -560,7 +561,7 @@ public open class Application( public fun lambdaLayerVersionArn(region: String, platform: Platform): String = software.amazon.awscdk.services.appconfig.Application.getLambdaLayerVersionArn(region, - platform.let(Platform::unwrap)) + platform.let(Platform.Companion::unwrap)) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplication.kt index 361a86b5fd..a41ab18fb7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplication.kt @@ -63,8 +63,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnApplication( * Metadata to assign to the application. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnApplication( * @param tags Metadata to assign to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplicationProps.kt index ff73655451..b9c2245894 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnApplicationProps.kt @@ -111,7 +111,7 @@ public interface CfnApplicationProps { * and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfile.kt index f8253e6a04..dabbe949c8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfile.kt @@ -82,8 +82,8 @@ public open class CfnConfigurationProfile( id: String, props: CfnConfigurationProfileProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnConfigurationProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationProfileProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnConfigurationProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationProfileProps.Companion::unwrap)) ) public constructor( @@ -145,7 +145,7 @@ public open class CfnConfigurationProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnConfigurationProfile( * Metadata to assign to the configuration profile. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnConfigurationProfile( * A list of methods for validating the configuration. */ public open fun validators(`value`: IResolvable) { - unwrap(this).setValidators(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidators(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class CfnConfigurationProfile( * @param tags Metadata to assign to the configuration profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class CfnConfigurationProfile( * @param validators A list of methods for validating the configuration. */ override fun validators(validators: IResolvable) { - cdkBuilder.validators(validators.let(IResolvable::unwrap)) + cdkBuilder.validators(validators.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfileProps.kt index 9105f9b93d..5d18369624 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnConfigurationProfileProps.kt @@ -305,7 +305,7 @@ public interface CfnConfigurationProfileProps { * and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface CfnConfigurationProfileProps { * @param validators A list of methods for validating the configuration. */ override fun validators(validators: IResolvable) { - cdkBuilder.validators(validators.let(IResolvable::unwrap)) + cdkBuilder.validators(validators.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeployment.kt index 975c33386e..1c4cffbf1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeployment.kt @@ -80,8 +80,8 @@ public open class CfnDeployment( id: String, props: CfnDeploymentProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentProps.Companion::unwrap)) ) public constructor( @@ -173,7 +173,7 @@ public open class CfnDeployment( * `PRE_START_DEPLOYMENT` actions. */ public open fun dynamicExtensionParameters(`value`: IResolvable) { - unwrap(this).setDynamicExtensionParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setDynamicExtensionParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnDeployment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnDeployment( * Metadata to assign to the deployment. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class CfnDeployment( * pass to associated extensions with `PRE_START_DEPLOYMENT` actions. */ override fun dynamicExtensionParameters(dynamicExtensionParameters: IResolvable) { - cdkBuilder.dynamicExtensionParameters(dynamicExtensionParameters.let(IResolvable::unwrap)) + cdkBuilder.dynamicExtensionParameters(dynamicExtensionParameters.let(IResolvable.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public open class CfnDeployment( * @param tags Metadata to assign to the deployment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentProps.kt index ba03364259..cf77ae79a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentProps.kt @@ -240,7 +240,7 @@ public interface CfnDeploymentProps { * pass to associated extensions with `PRE_START_DEPLOYMENT` actions. */ override fun dynamicExtensionParameters(dynamicExtensionParameters: IResolvable) { - cdkBuilder.dynamicExtensionParameters(dynamicExtensionParameters.let(IResolvable::unwrap)) + cdkBuilder.dynamicExtensionParameters(dynamicExtensionParameters.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface CfnDeploymentProps { * and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategy.kt index 5cf0412f0a..0d8e0d983c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategy.kt @@ -70,8 +70,8 @@ public open class CfnDeploymentStrategy( id: String, props: CfnDeploymentStrategyProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnDeploymentStrategy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentStrategyProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnDeploymentStrategy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentStrategyProps.Companion::unwrap)) ) public constructor( @@ -167,7 +167,7 @@ public open class CfnDeploymentStrategy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnDeploymentStrategy( * Assigns metadata to an AWS AppConfig resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnDeploymentStrategy( * @param tags Assigns metadata to an AWS AppConfig resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategyProps.kt index fe479da328..4abda36f3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnDeploymentStrategyProps.kt @@ -304,7 +304,7 @@ public interface CfnDeploymentStrategyProps { * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironment.kt index 5d41f5f819..8574a7d0f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironment.kt @@ -74,8 +74,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnEnvironment( * Amazon CloudWatch alarms to monitor during the deployment process. */ public open fun monitors(`value`: IResolvable) { - unwrap(this).setMonitors(`value`.let(IResolvable::unwrap)) + unwrap(this).setMonitors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnEnvironment( * Metadata to assign to the environment. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnEnvironment( * @param monitors Amazon CloudWatch alarms to monitor during the deployment process. */ override fun monitors(monitors: IResolvable) { - cdkBuilder.monitors(monitors.let(IResolvable::unwrap)) + cdkBuilder.monitors(monitors.let(IResolvable.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnEnvironment( * @param tags Metadata to assign to the environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironmentProps.kt index 9ab3f669e0..e627df5ad1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnEnvironmentProps.kt @@ -150,7 +150,7 @@ public interface CfnEnvironmentProps { * @param monitors Amazon CloudWatch alarms to monitor during the deployment process. */ override fun monitors(monitors: IResolvable) { - cdkBuilder.monitors(monitors.let(IResolvable::unwrap)) + cdkBuilder.monitors(monitors.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface CfnEnvironmentProps { * and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtension.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtension.kt index b76b6a2364..965881ca16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtension.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtension.kt @@ -82,8 +82,8 @@ public open class CfnExtension( id: String, props: CfnExtensionProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnExtension(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnExtensionProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnExtension(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnExtensionProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnExtension( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnExtension( * The parameters accepted by the extension. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnExtension( * Adds one or more tags for the specified extension. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnExtension( * @param parameters The parameters accepted by the extension. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnExtension( * @param tags Adds one or more tags for the specified extension. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -718,7 +718,7 @@ public open class CfnExtension( * Dynamic parameters can't be marked `Required` . */ override fun `dynamic`(`dynamic`: IResolvable) { - cdkBuilder.`dynamic`(`dynamic`.let(IResolvable::unwrap)) + cdkBuilder.`dynamic`(`dynamic`.let(IResolvable.Companion::unwrap)) } /** @@ -732,7 +732,7 @@ public open class CfnExtension( * @param required A parameter value must be specified in the extension association. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appconfig.CfnExtension.ParameterProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociation.kt index a47b0d2d65..c2b8771b04 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociation.kt @@ -58,7 +58,7 @@ public open class CfnExtensionAssociation( cdkObject: software.amazon.awscdk.services.appconfig.CfnExtensionAssociation, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.appconfig.CfnExtensionAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.appconfig.CfnExtensionAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -67,8 +67,8 @@ public open class CfnExtensionAssociation( id: String, props: CfnExtensionAssociationProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnExtensionAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnExtensionAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnExtensionAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnExtensionAssociationProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnExtensionAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnExtensionAssociation( * The parameter names and values defined in the extensions. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnExtensionAssociation( * Adds one or more tags for the specified extension association. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnExtensionAssociation( * @param parameters The parameter names and values defined in the extensions. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class CfnExtensionAssociation( * @param tags Adds one or more tags for the specified extension association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociationProps.kt index af7b9ce7e9..ab2f1b0f48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionAssociationProps.kt @@ -160,7 +160,7 @@ public interface CfnExtensionAssociationProps { * Extension parameters marked `Required` must be entered for this field. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface CfnExtensionAssociationProps { * you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionProps.kt index 29bbda3341..649cfd2553 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnExtensionProps.kt @@ -205,7 +205,7 @@ public interface CfnExtensionProps { * parameters are included in the Lambda request object. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface CfnExtensionProps { * you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnHostedConfigurationVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnHostedConfigurationVersion.kt index 1134334ac0..237b57a495 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnHostedConfigurationVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/CfnHostedConfigurationVersion.kt @@ -55,8 +55,8 @@ public open class CfnHostedConfigurationVersion( id: String, props: CfnHostedConfigurationVersionProps, ) : - this(software.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHostedConfigurationVersionProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHostedConfigurationVersionProps.Companion::unwrap)) ) public constructor( @@ -137,7 +137,7 @@ public open class CfnHostedConfigurationVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationOptions.kt index 17d4a08471..703f6b75a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationOptions.kt @@ -169,7 +169,7 @@ public interface ConfigurationOptions { * `IEnvironment.addDeployments` methods. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -186,14 +186,14 @@ public interface ConfigurationOptions { * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -214,14 +214,14 @@ public interface ConfigurationOptions { * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationProps.kt index 3da36f062c..5d663dbb8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationProps.kt @@ -118,7 +118,7 @@ public interface ConfigurationProps : ConfigurationOptions { * @param application The application associated with the configuration. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public interface ConfigurationProps : ConfigurationOptions { * `IEnvironment.addDeployments` methods. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public interface ConfigurationProps : ConfigurationOptions { * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -175,14 +175,14 @@ public interface ConfigurationProps : ConfigurationOptions { * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationSource.kt index fdb6acf7bd..5d65ed0c7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ConfigurationSource.kt @@ -54,7 +54,7 @@ public abstract class ConfigurationSource( public companion object { public fun fromBucket(bucket: IBucket, objectKey: String): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromBucket(bucket.let(IBucket.Companion::unwrap), objectKey).let(ConfigurationSource::wrap) public fun fromBucket( @@ -62,24 +62,24 @@ public abstract class ConfigurationSource( objectKey: String, key: IKey, ): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromBucket(bucket.let(IBucket::unwrap), - objectKey, key.let(IKey::unwrap)).let(ConfigurationSource::wrap) + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromBucket(bucket.let(IBucket.Companion::unwrap), + objectKey, key.let(IKey.Companion::unwrap)).let(ConfigurationSource::wrap) public fun fromCfnDocument(document: CfnDocument): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromCfnDocument(document.let(CfnDocument::unwrap)).let(ConfigurationSource::wrap) + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromCfnDocument(document.let(CfnDocument.Companion::unwrap)).let(ConfigurationSource::wrap) public fun fromParameter(parameter: IParameter): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromParameter(parameter.let(IParameter::unwrap)).let(ConfigurationSource::wrap) + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromParameter(parameter.let(IParameter.Companion::unwrap)).let(ConfigurationSource::wrap) public fun fromParameter(parameter: IParameter, key: IKey): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromParameter(parameter.let(IParameter::unwrap), - key.let(IKey::unwrap)).let(ConfigurationSource::wrap) + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromParameter(parameter.let(IParameter.Companion::unwrap), + key.let(IKey.Companion::unwrap)).let(ConfigurationSource::wrap) public fun fromPipeline(pipeline: IPipeline): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromPipeline(pipeline.let(IPipeline::unwrap)).let(ConfigurationSource::wrap) + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromPipeline(pipeline.let(IPipeline.Companion::unwrap)).let(ConfigurationSource::wrap) public fun fromSecret(secret: ISecret): ConfigurationSource = - software.amazon.awscdk.services.appconfig.ConfigurationSource.fromSecret(secret.let(ISecret::unwrap)).let(ConfigurationSource::wrap) + software.amazon.awscdk.services.appconfig.ConfigurationSource.fromSecret(secret.let(ISecret.Companion::unwrap)).let(ConfigurationSource::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.appconfig.ConfigurationSource): ConfigurationSource = CdkObjectWrappers.wrap(cdkObject) as? ConfigurationSource ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategy.kt index d5455ed486..2762868376 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategy.kt @@ -35,8 +35,8 @@ public open class DeploymentStrategy( id: String, props: DeploymentStrategyProps, ) : - this(software.amazon.awscdk.services.appconfig.DeploymentStrategy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DeploymentStrategyProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.DeploymentStrategy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DeploymentStrategyProps.Companion::unwrap)) ) public constructor( @@ -164,7 +164,7 @@ public open class DeploymentStrategy( * @param rolloutStrategy The rollout strategy for the deployment strategy. */ override fun rolloutStrategy(rolloutStrategy: RolloutStrategy) { - cdkBuilder.rolloutStrategy(rolloutStrategy.let(RolloutStrategy::unwrap)) + cdkBuilder.rolloutStrategy(rolloutStrategy.let(RolloutStrategy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appconfig.DeploymentStrategy = @@ -177,7 +177,7 @@ public open class DeploymentStrategy( id: String, deploymentStrategyArn: String, ): IDeploymentStrategy = - software.amazon.awscdk.services.appconfig.DeploymentStrategy.fromDeploymentStrategyArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appconfig.DeploymentStrategy.fromDeploymentStrategyArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, deploymentStrategyArn).let(IDeploymentStrategy::wrap) public fun fromDeploymentStrategyId( @@ -185,8 +185,9 @@ public open class DeploymentStrategy( id: String, deploymentStrategyId: DeploymentStrategyId, ): IDeploymentStrategy = - software.amazon.awscdk.services.appconfig.DeploymentStrategy.fromDeploymentStrategyId(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, deploymentStrategyId.let(DeploymentStrategyId::unwrap)).let(IDeploymentStrategy::wrap) + software.amazon.awscdk.services.appconfig.DeploymentStrategy.fromDeploymentStrategyId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + deploymentStrategyId.let(DeploymentStrategyId.Companion::unwrap)).let(IDeploymentStrategy::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategyProps.kt index 10fc17baac..3a99abe4a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/DeploymentStrategyProps.kt @@ -100,7 +100,7 @@ public interface DeploymentStrategyProps { * or RolloutStrategy.CANARY_10_PERCENT_20_MINUTES. */ override fun rolloutStrategy(rolloutStrategy: RolloutStrategy) { - cdkBuilder.rolloutStrategy(rolloutStrategy.let(RolloutStrategy::unwrap)) + cdkBuilder.rolloutStrategy(rolloutStrategy.let(RolloutStrategy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appconfig.DeploymentStrategyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Environment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Environment.kt index 935701409e..43bd2e9d54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Environment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Environment.kt @@ -44,8 +44,8 @@ public open class Environment( id: String, props: EnvironmentProps, ) : - this(software.amazon.awscdk.services.appconfig.Environment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.Environment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EnvironmentProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class Environment( * @param configuration */ public override fun addDeployment(configuration: IConfiguration) { - unwrap(this).addDeployment(configuration.let(IConfiguration::unwrap)) + unwrap(this).addDeployment(configuration.let(IConfiguration.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public open class Environment( * @param extension */ public override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -136,8 +136,8 @@ public open class Environment( * @param options */ public override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -153,8 +153,9 @@ public open class Environment( eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -181,7 +182,7 @@ public open class Environment( * @param options */ public override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -193,8 +194,8 @@ public open class Environment( */ public override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -218,7 +219,7 @@ public open class Environment( * @param options */ public override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -230,8 +231,8 @@ public open class Environment( */ public override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -255,7 +256,7 @@ public open class Environment( * @param options */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -267,8 +268,8 @@ public open class Environment( */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -292,7 +293,7 @@ public open class Environment( * @param options */ public override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -304,8 +305,8 @@ public open class Environment( */ public override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -329,7 +330,7 @@ public open class Environment( * @param options */ public override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -341,8 +342,8 @@ public open class Environment( */ public override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -366,7 +367,7 @@ public open class Environment( * @param options */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -378,8 +379,8 @@ public open class Environment( */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -403,7 +404,7 @@ public open class Environment( * @param options */ public override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -415,8 +416,8 @@ public open class Environment( */ public override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -494,7 +495,7 @@ public open class Environment( * @param application The application to be associated with the environment. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -527,7 +528,7 @@ public open class Environment( * @param monitors The monitors for the environment. */ override fun monitors(monitors: List) { - cdkBuilder.monitors(monitors.map(Monitor::unwrap)) + cdkBuilder.monitors(monitors.map(Monitor.Companion::unwrap)) } /** @@ -548,7 +549,7 @@ public open class Environment( id: String, environmentArn: String, ): IEnvironment = - software.amazon.awscdk.services.appconfig.Environment.fromEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appconfig.Environment.fromEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, environmentArn).let(IEnvironment::wrap) public fun fromEnvironmentAttributes( @@ -556,8 +557,8 @@ public open class Environment( id: String, attrs: EnvironmentAttributes, ): IEnvironment = - software.amazon.awscdk.services.appconfig.Environment.fromEnvironmentAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(EnvironmentAttributes::unwrap)).let(IEnvironment::wrap) + software.amazon.awscdk.services.appconfig.Environment.fromEnvironmentAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(EnvironmentAttributes.Companion::unwrap)).let(IEnvironment::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cd908126f7f1a01009a6c6b7024c7d97a46bc780f4d581f0e786cd5e2abdccc2") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentAttributes.kt index f330e9cbc1..54627a00f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentAttributes.kt @@ -107,7 +107,7 @@ public interface EnvironmentAttributes { * @param application The application associated with the environment. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface EnvironmentAttributes { * @param monitors The monitors for the environment. */ override fun monitors(monitors: List) { - cdkBuilder.monitors(monitors.map(Monitor::unwrap)) + cdkBuilder.monitors(monitors.map(Monitor.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentOptions.kt index 64f554e629..b64705657a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentOptions.kt @@ -97,7 +97,7 @@ public interface EnvironmentOptions { * @param monitors The monitors for the environment. */ override fun monitors(monitors: List) { - cdkBuilder.monitors(monitors.map(Monitor::unwrap)) + cdkBuilder.monitors(monitors.map(Monitor.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentProps.kt index 1149e195f5..fbcd5ae3f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EnvironmentProps.kt @@ -76,7 +76,7 @@ public interface EnvironmentProps : EnvironmentOptions { * @param application The application to be associated with the environment. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public interface EnvironmentProps : EnvironmentOptions { * @param monitors The monitors for the environment. */ override fun monitors(monitors: List) { - cdkBuilder.monitors(monitors.map(Monitor::unwrap)) + cdkBuilder.monitors(monitors.map(Monitor.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EventBridgeDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EventBridgeDestination.kt index 7e62cabf25..f13ebb8199 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EventBridgeDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/EventBridgeDestination.kt @@ -26,7 +26,7 @@ public open class EventBridgeDestination( cdkObject: software.amazon.awscdk.services.appconfig.EventBridgeDestination, ) : CdkObject(cdkObject), IEventDestination { public constructor(bus: IEventBus) : - this(software.amazon.awscdk.services.appconfig.EventBridgeDestination(bus.let(IEventBus::unwrap)) + this(software.amazon.awscdk.services.appconfig.EventBridgeDestination(bus.let(IEventBus.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensibleBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensibleBase.kt index 9f2617eed2..36812aa305 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensibleBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensibleBase.kt @@ -30,7 +30,7 @@ public open class ExtensibleBase( cdkObject: software.amazon.awscdk.services.appconfig.ExtensibleBase, ) : CdkObject(cdkObject), IExtensible { public constructor(scope: Construct, resourceArn: String) : - this(software.amazon.awscdk.services.appconfig.ExtensibleBase(scope.let(Construct::unwrap), + this(software.amazon.awscdk.services.appconfig.ExtensibleBase(scope.let(Construct.Companion::unwrap), resourceArn) ) @@ -38,7 +38,8 @@ public open class ExtensibleBase( scope: Construct, resourceArn: String, resourceName: String, - ) : this(software.amazon.awscdk.services.appconfig.ExtensibleBase(scope.let(Construct::unwrap), + ) : + this(software.amazon.awscdk.services.appconfig.ExtensibleBase(scope.let(Construct.Companion::unwrap), resourceArn, resourceName) ) @@ -48,7 +49,7 @@ public open class ExtensibleBase( * @param extension */ public override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -60,8 +61,8 @@ public open class ExtensibleBase( * @param options */ public override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -77,8 +78,9 @@ public open class ExtensibleBase( eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -105,7 +107,7 @@ public open class ExtensibleBase( * @param options */ public override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -117,8 +119,8 @@ public open class ExtensibleBase( */ public override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -142,7 +144,7 @@ public open class ExtensibleBase( * @param options */ public override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -154,8 +156,8 @@ public open class ExtensibleBase( */ public override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -179,7 +181,7 @@ public open class ExtensibleBase( * @param options */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -191,8 +193,8 @@ public open class ExtensibleBase( */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -216,7 +218,7 @@ public open class ExtensibleBase( * @param options */ public override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -228,8 +230,8 @@ public open class ExtensibleBase( */ public override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -253,7 +255,7 @@ public open class ExtensibleBase( * @param options */ public override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -265,8 +267,8 @@ public open class ExtensibleBase( */ public override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -290,7 +292,7 @@ public open class ExtensibleBase( * @param options */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -302,8 +304,8 @@ public open class ExtensibleBase( */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -327,7 +329,7 @@ public open class ExtensibleBase( * @param options */ public override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -339,8 +341,8 @@ public open class ExtensibleBase( */ public override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Extension.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Extension.kt index c9eb55a283..95ac4ac93e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Extension.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Extension.kt @@ -38,8 +38,8 @@ public open class Extension( id: String, props: ExtensionProps, ) : - this(software.amazon.awscdk.services.appconfig.Extension(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ExtensionProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.Extension(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ExtensionProps.Companion::unwrap)) ) public constructor( @@ -173,7 +173,7 @@ public open class Extension( * @param actions The actions for the extension. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(Action::unwrap)) + cdkBuilder.actions(actions.map(Action.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class Extension( * @param parameters The parameters accepted for the extension. */ override fun parameters(parameters: List) { - cdkBuilder.parameters(parameters.map(Parameter::unwrap)) + cdkBuilder.parameters(parameters.map(Parameter.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class Extension( id: String, extensionArn: String, ): IExtension = - software.amazon.awscdk.services.appconfig.Extension.fromExtensionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appconfig.Extension.fromExtensionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, extensionArn).let(IExtension::wrap) public fun fromExtensionAttributes( @@ -257,8 +257,8 @@ public open class Extension( id: String, attrs: ExtensionAttributes, ): IExtension = - software.amazon.awscdk.services.appconfig.Extension.fromExtensionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ExtensionAttributes::unwrap)).let(IExtension::wrap) + software.amazon.awscdk.services.appconfig.Extension.fromExtensionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ExtensionAttributes.Companion::unwrap)).let(IExtension::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ce882774c42632542413b4d9b2d595e936136045b89164d48d255b70c42f21ec") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionAttributes.kt index 99cec6e431..568971d4e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionAttributes.kt @@ -119,7 +119,7 @@ public interface ExtensionAttributes { * @param actions The actions of the extension. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(Action::unwrap)) + cdkBuilder.actions(actions.map(Action.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionOptions.kt index cbd1be24cb..87a87c123a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionOptions.kt @@ -128,7 +128,7 @@ public interface ExtensionOptions { * @param parameters The parameters accepted for the extension. */ override fun parameters(parameters: List) { - cdkBuilder.parameters(parameters.map(Parameter::unwrap)) + cdkBuilder.parameters(parameters.map(Parameter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionProps.kt index 20901dbeb5..f721a012fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/ExtensionProps.kt @@ -84,7 +84,7 @@ public interface ExtensionProps : ExtensionOptions { * @param actions The actions for the extension. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(Action::unwrap)) + cdkBuilder.actions(actions.map(Action.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface ExtensionProps : ExtensionOptions { * @param parameters The parameters accepted for the extension. */ override fun parameters(parameters: List) { - cdkBuilder.parameters(parameters.map(Parameter::unwrap)) + cdkBuilder.parameters(parameters.map(Parameter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfiguration.kt index 319028bb01..361bd2c45f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfiguration.kt @@ -38,8 +38,8 @@ public open class HostedConfiguration( id: String, props: HostedConfigurationProps, ) : - this(software.amazon.awscdk.services.appconfig.HostedConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HostedConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.HostedConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HostedConfigurationProps.Companion::unwrap)) ) public constructor( @@ -55,7 +55,7 @@ public open class HostedConfiguration( * @param extension The extension to create an association for. */ public override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -131,8 +131,8 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -148,8 +148,9 @@ public open class HostedConfiguration( eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -176,7 +177,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -188,8 +189,8 @@ public open class HostedConfiguration( */ public override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -213,7 +214,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -225,8 +226,8 @@ public open class HostedConfiguration( */ public override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -250,7 +251,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -262,8 +263,8 @@ public open class HostedConfiguration( */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -287,7 +288,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -299,8 +300,8 @@ public open class HostedConfiguration( */ public override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -324,7 +325,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -336,8 +337,8 @@ public open class HostedConfiguration( */ public override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -361,7 +362,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -373,8 +374,8 @@ public open class HostedConfiguration( */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -398,7 +399,7 @@ public open class HostedConfiguration( * @param options Options for the extension. */ public override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -410,8 +411,8 @@ public open class HostedConfiguration( */ public override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -594,7 +595,7 @@ public open class HostedConfiguration( * @param application The application associated with the configuration. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -603,7 +604,7 @@ public open class HostedConfiguration( * @param content The content of the hosted configuration. */ override fun content(content: ConfigurationContent) { - cdkBuilder.content(content.let(ConfigurationContent::unwrap)) + cdkBuilder.content(content.let(ConfigurationContent.Companion::unwrap)) } /** @@ -620,7 +621,7 @@ public open class HostedConfiguration( * @param deployTo The list of environments to deploy the configuration to. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -646,7 +647,7 @@ public open class HostedConfiguration( * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** @@ -658,7 +659,7 @@ public open class HostedConfiguration( * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -702,7 +703,7 @@ public open class HostedConfiguration( * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** @@ -713,7 +714,7 @@ public open class HostedConfiguration( * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationOptions.kt index 5061e3e6bf..81d384e6e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationOptions.kt @@ -146,7 +146,7 @@ public interface HostedConfigurationOptions : ConfigurationOptions { * @param content The content of the hosted configuration. */ override fun content(content: ConfigurationContent) { - cdkBuilder.content(content.let(ConfigurationContent::unwrap)) + cdkBuilder.content(content.let(ConfigurationContent.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface HostedConfigurationOptions : ConfigurationOptions { * `IEnvironment.addDeployments` methods. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -175,14 +175,14 @@ public interface HostedConfigurationOptions : ConfigurationOptions { * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -210,14 +210,14 @@ public interface HostedConfigurationOptions : ConfigurationOptions { * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationProps.kt index b351f59f8f..90ed094c44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/HostedConfigurationProps.kt @@ -138,14 +138,14 @@ public interface HostedConfigurationProps : ConfigurationProps { * @param application The application associated with the configuration. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** * @param content The content of the hosted configuration. */ override fun content(content: ConfigurationContent) { - cdkBuilder.content(content.let(ConfigurationContent::unwrap)) + cdkBuilder.content(content.let(ConfigurationContent.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface HostedConfigurationProps : ConfigurationProps { * `IEnvironment.addDeployments` methods. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -174,14 +174,14 @@ public interface HostedConfigurationProps : ConfigurationProps { * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public interface HostedConfigurationProps : ConfigurationProps { * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IApplication.kt index a48916dd87..f08b7c457b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IApplication.kt @@ -395,7 +395,7 @@ public interface IApplication : IResource { */ override fun addEnvironment(id: String, options: EnvironmentOptions): IEnvironment = unwrap(this).addEnvironment(id, - options.let(EnvironmentOptions::unwrap)).let(IEnvironment::wrap) + options.let(EnvironmentOptions.Companion::unwrap)).let(IEnvironment::wrap) /** * Adds an environment. @@ -414,7 +414,7 @@ public interface IApplication : IResource { * @param environment The environment. */ override fun addExistingEnvironment(environment: IEnvironment) { - unwrap(this).addExistingEnvironment(environment.let(IEnvironment::unwrap)) + unwrap(this).addExistingEnvironment(environment.let(IEnvironment.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface IApplication : IResource { * @param extension The extension to create an association for. */ override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public interface IApplication : IResource { */ override fun addHostedConfiguration(id: String, options: HostedConfigurationOptions): HostedConfiguration = unwrap(this).addHostedConfiguration(id, - options.let(HostedConfigurationOptions::unwrap)).let(HostedConfiguration::wrap) + options.let(HostedConfigurationOptions.Companion::unwrap)).let(HostedConfiguration::wrap) /** * Adds a hosted configuration. @@ -456,7 +456,7 @@ public interface IApplication : IResource { */ override fun addSourcedConfiguration(id: String, options: SourcedConfigurationOptions): SourcedConfiguration = unwrap(this).addSourcedConfiguration(id, - options.let(SourcedConfigurationOptions::unwrap)).let(SourcedConfiguration::wrap) + options.let(SourcedConfigurationOptions.Companion::unwrap)).let(SourcedConfiguration::wrap) /** * Adds a sourced configuration. @@ -494,7 +494,7 @@ public interface IApplication : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -536,8 +536,8 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -553,8 +553,9 @@ public interface IApplication : IResource { eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -581,7 +582,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -593,8 +594,8 @@ public interface IApplication : IResource { */ override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -618,7 +619,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -630,8 +631,8 @@ public interface IApplication : IResource { */ override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -655,7 +656,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -667,8 +668,8 @@ public interface IApplication : IResource { */ override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -692,7 +693,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -703,8 +704,8 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -728,7 +729,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -739,8 +740,8 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -764,7 +765,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -776,8 +777,8 @@ public interface IApplication : IResource { */ override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -801,7 +802,7 @@ public interface IApplication : IResource { * @param options Options for the extension. */ override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -813,8 +814,8 @@ public interface IApplication : IResource { */ override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IDeploymentStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IDeploymentStrategy.kt index ffec54875c..9034fc68b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IDeploymentStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IDeploymentStrategy.kt @@ -73,7 +73,7 @@ public interface IDeploymentStrategy : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IEnvironment.kt index d1348f000c..351370bd66 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IEnvironment.kt @@ -347,7 +347,7 @@ public interface IEnvironment : IResource { * @param configuration The configuration that will be deployed to this environment. */ override fun addDeployment(configuration: IConfiguration) { - unwrap(this).addDeployment(configuration.let(IConfiguration::unwrap)) + unwrap(this).addDeployment(configuration.let(IConfiguration.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface IEnvironment : IResource { * @param extension The extension to create an association for. */ override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface IEnvironment : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -448,8 +448,8 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -465,8 +465,9 @@ public interface IEnvironment : IResource { eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -493,7 +494,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -505,8 +506,8 @@ public interface IEnvironment : IResource { */ override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -530,7 +531,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -542,8 +543,8 @@ public interface IEnvironment : IResource { */ override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -567,7 +568,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -579,8 +580,8 @@ public interface IEnvironment : IResource { */ override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -604,7 +605,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -615,8 +616,8 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -640,7 +641,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -651,8 +652,8 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -676,7 +677,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -688,8 +689,8 @@ public interface IEnvironment : IResource { */ override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -713,7 +714,7 @@ public interface IEnvironment : IResource { * @param options Options for the extension. */ override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -725,8 +726,8 @@ public interface IEnvironment : IResource { */ override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtensible.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtensible.kt index 7ec0f238c6..14bcdc6b08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtensible.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtensible.kt @@ -278,7 +278,7 @@ public interface IExtensible { * @param extension The extension to create an association for. */ override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -290,8 +290,8 @@ public interface IExtensible { * @param options Options for the extension. */ override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -307,8 +307,9 @@ public interface IExtensible { eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -335,7 +336,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -347,8 +348,8 @@ public interface IExtensible { */ override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -372,7 +373,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -384,8 +385,8 @@ public interface IExtensible { */ override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -409,7 +410,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -421,8 +422,8 @@ public interface IExtensible { */ override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -446,7 +447,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -457,8 +458,8 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -482,7 +483,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -493,8 +494,8 @@ public interface IExtensible { * @param options Options for the extension. */ override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -518,7 +519,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -530,8 +531,8 @@ public interface IExtensible { */ override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -555,7 +556,7 @@ public interface IExtensible { * @param options Options for the extension. */ override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -567,8 +568,8 @@ public interface IExtensible { */ override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtension.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtension.kt index 9b495366c0..15d9f3e5d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtension.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/IExtension.kt @@ -81,7 +81,7 @@ public interface IExtension : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaDestination.kt index dd3f6eecc6..7191e88cea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaDestination.kt @@ -27,7 +27,7 @@ public open class LambdaDestination( cdkObject: software.amazon.awscdk.services.appconfig.LambdaDestination, ) : CdkObject(cdkObject), IEventDestination { public constructor(func: IFunction) : - this(software.amazon.awscdk.services.appconfig.LambdaDestination(func.let(IFunction::unwrap)) + this(software.amazon.awscdk.services.appconfig.LambdaDestination(func.let(IFunction.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaValidator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaValidator.kt index 83d5adb489..e3d7e20cec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaValidator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/LambdaValidator.kt @@ -42,7 +42,7 @@ public abstract class LambdaValidator( public companion object { public fun fromFunction(func: Function): LambdaValidator = - software.amazon.awscdk.services.appconfig.LambdaValidator.fromFunction(func.let(Function::unwrap)).let(LambdaValidator::wrap) + software.amazon.awscdk.services.appconfig.LambdaValidator.fromFunction(func.let(Function.Companion::unwrap)).let(LambdaValidator::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.appconfig.LambdaValidator): LambdaValidator = CdkObjectWrappers.wrap(cdkObject) as? LambdaValidator ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Monitor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Monitor.kt index 3ca954321a..c9a8296025 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Monitor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/Monitor.kt @@ -56,7 +56,7 @@ public abstract class Monitor( public companion object { public fun fromCfnMonitorsProperty(monitorsProperty: CfnEnvironment.MonitorsProperty): Monitor = - software.amazon.awscdk.services.appconfig.Monitor.fromCfnMonitorsProperty(monitorsProperty.let(CfnEnvironment.MonitorsProperty::unwrap)).let(Monitor::wrap) + software.amazon.awscdk.services.appconfig.Monitor.fromCfnMonitorsProperty(monitorsProperty.let(CfnEnvironment.MonitorsProperty.Companion::unwrap)).let(Monitor::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4160cfc84ae2b4cb85bc384cebf397909a3e3ef271bd9dd9eaa9ac20dc631472") @@ -65,11 +65,11 @@ public abstract class Monitor( Monitor = fromCfnMonitorsProperty(CfnEnvironment.MonitorsProperty(monitorsProperty)) public fun fromCloudWatchAlarm(alarm: IAlarm): Monitor = - software.amazon.awscdk.services.appconfig.Monitor.fromCloudWatchAlarm(alarm.let(IAlarm::unwrap)).let(Monitor::wrap) + software.amazon.awscdk.services.appconfig.Monitor.fromCloudWatchAlarm(alarm.let(IAlarm.Companion::unwrap)).let(Monitor::wrap) public fun fromCloudWatchAlarm(alarm: IAlarm, alarmRole: IRole): Monitor = - software.amazon.awscdk.services.appconfig.Monitor.fromCloudWatchAlarm(alarm.let(IAlarm::unwrap), - alarmRole.let(IRole::unwrap)).let(Monitor::wrap) + software.amazon.awscdk.services.appconfig.Monitor.fromCloudWatchAlarm(alarm.let(IAlarm.Companion::unwrap), + alarmRole.let(IRole.Companion::unwrap)).let(Monitor::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.appconfig.Monitor): Monitor = CdkObjectWrappers.wrap(cdkObject) as? Monitor ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategy.kt index ac6a939045..9e30d50266 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategy.kt @@ -69,7 +69,7 @@ public abstract class RolloutStrategy( RolloutStrategy.wrap(software.amazon.awscdk.services.appconfig.RolloutStrategy.LINEAR_50_PERCENT_EVERY_30_SECONDS) public fun exponential(props: RolloutStrategyProps): RolloutStrategy = - software.amazon.awscdk.services.appconfig.RolloutStrategy.exponential(props.let(RolloutStrategyProps::unwrap)).let(RolloutStrategy::wrap) + software.amazon.awscdk.services.appconfig.RolloutStrategy.exponential(props.let(RolloutStrategyProps.Companion::unwrap)).let(RolloutStrategy::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b95391bc997c59259d7da13e9d4226af5c6449088a5cb7689696ccffa5d774c0") @@ -77,7 +77,7 @@ public abstract class RolloutStrategy( exponential(RolloutStrategyProps(props)) public fun linear(props: RolloutStrategyProps): RolloutStrategy = - software.amazon.awscdk.services.appconfig.RolloutStrategy.linear(props.let(RolloutStrategyProps::unwrap)).let(RolloutStrategy::wrap) + software.amazon.awscdk.services.appconfig.RolloutStrategy.linear(props.let(RolloutStrategyProps.Companion::unwrap)).let(RolloutStrategy::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4a62b86213b48bce9dc8ddb4d37952843154a77d272725fc4be380b5d2758ef6") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategyProps.kt index e91b076483..c09bfb3fce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/RolloutStrategyProps.kt @@ -101,7 +101,7 @@ public interface RolloutStrategyProps { * the total amount of time for a deployment to last. */ override fun deploymentDuration(deploymentDuration: Duration) { - cdkBuilder.deploymentDuration(deploymentDuration.let(Duration::unwrap)) + cdkBuilder.deploymentDuration(deploymentDuration.let(Duration.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface RolloutStrategyProps { * the deployment. */ override fun finalBakeTime(finalBakeTime: Duration) { - cdkBuilder.finalBakeTime(finalBakeTime.let(Duration::unwrap)) + cdkBuilder.finalBakeTime(finalBakeTime.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SnsDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SnsDestination.kt index b7092330ae..9dc9e49235 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SnsDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SnsDestination.kt @@ -27,7 +27,7 @@ public open class SnsDestination( cdkObject: software.amazon.awscdk.services.appconfig.SnsDestination, ) : CdkObject(cdkObject), IEventDestination { public constructor(topic: ITopic) : - this(software.amazon.awscdk.services.appconfig.SnsDestination(topic.let(ITopic::unwrap)) + this(software.amazon.awscdk.services.appconfig.SnsDestination(topic.let(ITopic.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfiguration.kt index b64218a348..d8a227dfe9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfiguration.kt @@ -38,8 +38,8 @@ public open class SourcedConfiguration( id: String, props: SourcedConfigurationProps, ) : - this(software.amazon.awscdk.services.appconfig.SourcedConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SourcedConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.appconfig.SourcedConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SourcedConfigurationProps.Companion::unwrap)) ) public constructor( @@ -55,7 +55,7 @@ public open class SourcedConfiguration( * @param extension The extension to create an association for. */ public override fun addExtension(extension: IExtension) { - unwrap(this).addExtension(extension.let(IExtension::unwrap)) + unwrap(this).addExtension(extension.let(IExtension.Companion::unwrap)) } /** @@ -116,8 +116,8 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun on(actionPoint: ActionPoint, eventDestination: IEventDestination) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -133,8 +133,9 @@ public open class SourcedConfiguration( eventDestination: IEventDestination, options: ExtensionOptions, ) { - unwrap(this).on(actionPoint.let(ActionPoint::unwrap), - eventDestination.let(IEventDestination::unwrap), options.let(ExtensionOptions::unwrap)) + unwrap(this).on(actionPoint.let(ActionPoint.Companion::unwrap), + eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -161,7 +162,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentBaking(eventDestination: IEventDestination) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -173,8 +174,8 @@ public open class SourcedConfiguration( */ public override fun onDeploymentBaking(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentBaking(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -198,7 +199,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentComplete(eventDestination: IEventDestination) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -210,8 +211,8 @@ public open class SourcedConfiguration( */ public override fun onDeploymentComplete(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentComplete(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -235,7 +236,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -247,8 +248,8 @@ public open class SourcedConfiguration( */ public override fun onDeploymentRolledBack(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentRolledBack(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -272,7 +273,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentStart(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -284,8 +285,8 @@ public open class SourcedConfiguration( */ public override fun onDeploymentStart(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStart(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -309,7 +310,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun onDeploymentStep(eventDestination: IEventDestination) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -321,8 +322,8 @@ public open class SourcedConfiguration( */ public override fun onDeploymentStep(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).onDeploymentStep(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -346,7 +347,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -358,8 +359,8 @@ public open class SourcedConfiguration( */ public override fun preCreateHostedConfigurationVersion(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preCreateHostedConfigurationVersion(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -383,7 +384,7 @@ public open class SourcedConfiguration( * @param options Options for the extension. */ public override fun preStartDeployment(eventDestination: IEventDestination) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap)) } /** @@ -395,8 +396,8 @@ public open class SourcedConfiguration( */ public override fun preStartDeployment(eventDestination: IEventDestination, options: ExtensionOptions) { - unwrap(this).preStartDeployment(eventDestination.let(IEventDestination::unwrap), - options.let(ExtensionOptions::unwrap)) + unwrap(this).preStartDeployment(eventDestination.let(IEventDestination.Companion::unwrap), + options.let(ExtensionOptions.Companion::unwrap)) } /** @@ -591,7 +592,7 @@ public open class SourcedConfiguration( * @param application The application associated with the configuration. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -608,7 +609,7 @@ public open class SourcedConfiguration( * @param deployTo The list of environments to deploy the configuration to. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -634,7 +635,7 @@ public open class SourcedConfiguration( * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** @@ -646,7 +647,7 @@ public open class SourcedConfiguration( * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -666,7 +667,7 @@ public open class SourcedConfiguration( * @param location The location where the configuration is stored. */ override fun location(location: ConfigurationSource) { - cdkBuilder.location(location.let(ConfigurationSource::unwrap)) + cdkBuilder.location(location.let(ConfigurationSource.Companion::unwrap)) } /** @@ -688,7 +689,7 @@ public open class SourcedConfiguration( * @param retrievalRole The IAM role to retrieve the configuration. */ override fun retrievalRole(retrievalRole: IRole) { - cdkBuilder.retrievalRole(retrievalRole.let(IRole::unwrap)) + cdkBuilder.retrievalRole(retrievalRole.let(IRole.Companion::unwrap)) } /** @@ -699,7 +700,7 @@ public open class SourcedConfiguration( * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** @@ -710,7 +711,7 @@ public open class SourcedConfiguration( * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationOptions.kt index 7349ef1723..9ad8651b87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationOptions.kt @@ -158,7 +158,7 @@ public interface SourcedConfigurationOptions : ConfigurationOptions { * `IEnvironment.addDeployments` methods. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -175,14 +175,14 @@ public interface SourcedConfigurationOptions : ConfigurationOptions { * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface SourcedConfigurationOptions : ConfigurationOptions { * @param location The location where the configuration is stored. */ override fun location(location: ConfigurationSource) { - cdkBuilder.location(location.let(ConfigurationSource::unwrap)) + cdkBuilder.location(location.let(ConfigurationSource.Companion::unwrap)) } /** @@ -210,21 +210,21 @@ public interface SourcedConfigurationOptions : ConfigurationOptions { * @param retrievalRole The IAM role to retrieve the configuration. */ override fun retrievalRole(retrievalRole: IRole) { - cdkBuilder.retrievalRole(retrievalRole.let(IRole::unwrap)) + cdkBuilder.retrievalRole(retrievalRole.let(IRole.Companion::unwrap)) } /** * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationProps.kt index fd5085f812..a1fa1f15f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SourcedConfigurationProps.kt @@ -143,7 +143,7 @@ public interface SourcedConfigurationProps : ConfigurationProps { * @param application The application associated with the configuration. */ override fun application(application: IApplication) { - cdkBuilder.application(application.let(IApplication::unwrap)) + cdkBuilder.application(application.let(IApplication.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public interface SourcedConfigurationProps : ConfigurationProps { * `IEnvironment.addDeployments` methods. */ override fun deployTo(deployTo: List) { - cdkBuilder.deployTo(deployTo.map(IEnvironment::unwrap)) + cdkBuilder.deployTo(deployTo.map(IEnvironment.Companion::unwrap)) } /** @@ -172,14 +172,14 @@ public interface SourcedConfigurationProps : ConfigurationProps { * @param deploymentKey The deployment key of the configuration. */ override fun deploymentKey(deploymentKey: IKey) { - cdkBuilder.deploymentKey(deploymentKey.let(IKey::unwrap)) + cdkBuilder.deploymentKey(deploymentKey.let(IKey.Companion::unwrap)) } /** * @param deploymentStrategy The deployment strategy for the configuration. */ override fun deploymentStrategy(deploymentStrategy: IDeploymentStrategy) { - cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy::unwrap)) + cdkBuilder.deploymentStrategy(deploymentStrategy.let(IDeploymentStrategy.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface SourcedConfigurationProps : ConfigurationProps { * @param location The location where the configuration is stored. */ override fun location(location: ConfigurationSource) { - cdkBuilder.location(location.let(ConfigurationSource::unwrap)) + cdkBuilder.location(location.let(ConfigurationSource.Companion::unwrap)) } /** @@ -207,21 +207,21 @@ public interface SourcedConfigurationProps : ConfigurationProps { * @param retrievalRole The IAM role to retrieve the configuration. */ override fun retrievalRole(retrievalRole: IRole) { - cdkBuilder.retrievalRole(retrievalRole.let(IRole::unwrap)) + cdkBuilder.retrievalRole(retrievalRole.let(IRole.Companion::unwrap)) } /** * @param type The type of configuration. */ override fun type(type: ConfigurationType) { - cdkBuilder.type(type.let(ConfigurationType::unwrap)) + cdkBuilder.type(type.let(ConfigurationType.Companion::unwrap)) } /** * @param validators The validators for the configuration. */ override fun validators(validators: List) { - cdkBuilder.validators(validators.map(IValidator::unwrap)) + cdkBuilder.validators(validators.map(IValidator.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SqsDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SqsDestination.kt index 35919d3a35..59bb5d99bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SqsDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appconfig/SqsDestination.kt @@ -27,7 +27,7 @@ public open class SqsDestination( cdkObject: software.amazon.awscdk.services.appconfig.SqsDestination, ) : CdkObject(cdkObject), IEventDestination { public constructor(queue: IQueue) : - this(software.amazon.awscdk.services.appconfig.SqsDestination(queue.let(IQueue::unwrap)) + this(software.amazon.awscdk.services.appconfig.SqsDestination(queue.let(IQueue.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnector.kt index 897561e867..585c3c6155 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnector.kt @@ -53,8 +53,8 @@ public open class CfnConnector( id: String, props: CfnConnectorProps, ) : - this(software.amazon.awscdk.services.appflow.CfnConnector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorProps::unwrap)) + this(software.amazon.awscdk.services.appflow.CfnConnector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorProps.Companion::unwrap)) ) public constructor( @@ -92,14 +92,14 @@ public open class CfnConnector( * The configuration required for registering the connector. */ public open fun connectorProvisioningConfig(`value`: IResolvable) { - unwrap(this).setConnectorProvisioningConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectorProvisioningConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration required for registering the connector. */ public open fun connectorProvisioningConfig(`value`: ConnectorProvisioningConfigProperty) { - unwrap(this).setConnectorProvisioningConfig(`value`.let(ConnectorProvisioningConfigProperty::unwrap)) + unwrap(this).setConnectorProvisioningConfig(`value`.let(ConnectorProvisioningConfigProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnConnector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnConnector( * @param connectorProvisioningConfig The configuration required for registering the connector. */ override fun connectorProvisioningConfig(connectorProvisioningConfig: IResolvable) { - cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(IResolvable::unwrap)) + cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(IResolvable.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnConnector( */ override fun connectorProvisioningConfig(connectorProvisioningConfig: ConnectorProvisioningConfigProperty) { - cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(ConnectorProvisioningConfigProperty::unwrap)) + cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(ConnectorProvisioningConfigProperty.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnConnector( * registered as the connector. */ override fun lambda(lambda: IResolvable) { - cdkBuilder.lambda(lambda.let(IResolvable::unwrap)) + cdkBuilder.lambda(lambda.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnConnector( * registered as the connector. */ override fun lambda(lambda: LambdaConnectorProvisioningConfigProperty) { - cdkBuilder.lambda(lambda.let(LambdaConnectorProvisioningConfigProperty::unwrap)) + cdkBuilder.lambda(lambda.let(LambdaConnectorProvisioningConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfile.kt index 6a6c39aaa6..5475dd5eaf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfile.kt @@ -305,8 +305,8 @@ public open class CfnConnectorProfile( id: String, props: CfnConnectorProfileProps, ) : - this(software.amazon.awscdk.services.appflow.CfnConnectorProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorProfileProps::unwrap)) + this(software.amazon.awscdk.services.appflow.CfnConnectorProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorProfileProps.Companion::unwrap)) ) public constructor( @@ -359,14 +359,14 @@ public open class CfnConnectorProfile( * Defines the connector-specific configuration and credentials. */ public open fun connectorProfileConfig(`value`: IResolvable) { - unwrap(this).setConnectorProfileConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectorProfileConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines the connector-specific configuration and credentials. */ public open fun connectorProfileConfig(`value`: ConnectorProfileConfigProperty) { - unwrap(this).setConnectorProfileConfig(`value`.let(ConnectorProfileConfigProperty::unwrap)) + unwrap(this).setConnectorProfileConfig(`value`.let(ConnectorProfileConfigProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnConnectorProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class CfnConnectorProfile( * @param connectorProfileConfig Defines the connector-specific configuration and credentials. */ override fun connectorProfileConfig(connectorProfileConfig: IResolvable) { - cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(IResolvable::unwrap)) + cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(IResolvable.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public open class CfnConnectorProfile( * @param connectorProfileConfig Defines the connector-specific configuration and credentials. */ override fun connectorProfileConfig(connectorProfileConfig: ConnectorProfileConfigProperty) { - cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(ConnectorProfileConfigProperty::unwrap)) + cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(ConnectorProfileConfigProperty.Companion::unwrap)) } /** @@ -1410,7 +1410,7 @@ public open class CfnConnectorProfile( * connector. */ override fun connectorProfileCredentials(connectorProfileCredentials: IResolvable) { - cdkBuilder.connectorProfileCredentials(connectorProfileCredentials.let(IResolvable::unwrap)) + cdkBuilder.connectorProfileCredentials(connectorProfileCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -1419,7 +1419,7 @@ public open class CfnConnectorProfile( */ override fun connectorProfileCredentials(connectorProfileCredentials: ConnectorProfileCredentialsProperty) { - cdkBuilder.connectorProfileCredentials(connectorProfileCredentials.let(ConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.connectorProfileCredentials(connectorProfileCredentials.let(ConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -1438,7 +1438,7 @@ public open class CfnConnectorProfile( * configuration. */ override fun connectorProfileProperties(connectorProfileProperties: IResolvable) { - cdkBuilder.connectorProfileProperties(connectorProfileProperties.let(IResolvable::unwrap)) + cdkBuilder.connectorProfileProperties(connectorProfileProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1447,7 +1447,7 @@ public open class CfnConnectorProfile( */ override fun connectorProfileProperties(connectorProfileProperties: ConnectorProfilePropertiesProperty) { - cdkBuilder.connectorProfileProperties(connectorProfileProperties.let(ConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.connectorProfileProperties(connectorProfileProperties.let(ConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -2139,14 +2139,14 @@ public open class CfnConnectorProfile( * @param amplitude The connector-specific credentials required when using Amplitude. */ override fun amplitude(amplitude: IResolvable) { - cdkBuilder.amplitude(amplitude.let(IResolvable::unwrap)) + cdkBuilder.amplitude(amplitude.let(IResolvable.Companion::unwrap)) } /** * @param amplitude The connector-specific credentials required when using Amplitude. */ override fun amplitude(amplitude: AmplitudeConnectorProfileCredentialsProperty) { - cdkBuilder.amplitude(amplitude.let(AmplitudeConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.amplitude(amplitude.let(AmplitudeConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2163,7 +2163,7 @@ public open class CfnConnectorProfile( * using the custom connector. */ override fun customConnector(customConnector: IResolvable) { - cdkBuilder.customConnector(customConnector.let(IResolvable::unwrap)) + cdkBuilder.customConnector(customConnector.let(IResolvable.Companion::unwrap)) } /** @@ -2171,7 +2171,7 @@ public open class CfnConnectorProfile( * using the custom connector. */ override fun customConnector(customConnector: CustomConnectorProfileCredentialsProperty) { - cdkBuilder.customConnector(customConnector.let(CustomConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.customConnector(customConnector.let(CustomConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2188,14 +2188,14 @@ public open class CfnConnectorProfile( * @param datadog The connector-specific credentials required when using Datadog. */ override fun datadog(datadog: IResolvable) { - cdkBuilder.datadog(datadog.let(IResolvable::unwrap)) + cdkBuilder.datadog(datadog.let(IResolvable.Companion::unwrap)) } /** * @param datadog The connector-specific credentials required when using Datadog. */ override fun datadog(datadog: DatadogConnectorProfileCredentialsProperty) { - cdkBuilder.datadog(datadog.let(DatadogConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.datadog(datadog.let(DatadogConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2210,14 +2210,14 @@ public open class CfnConnectorProfile( * @param dynatrace The connector-specific credentials required when using Dynatrace. */ override fun dynatrace(dynatrace: IResolvable) { - cdkBuilder.dynatrace(dynatrace.let(IResolvable::unwrap)) + cdkBuilder.dynatrace(dynatrace.let(IResolvable.Companion::unwrap)) } /** * @param dynatrace The connector-specific credentials required when using Dynatrace. */ override fun dynatrace(dynatrace: DynatraceConnectorProfileCredentialsProperty) { - cdkBuilder.dynatrace(dynatrace.let(DynatraceConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.dynatrace(dynatrace.let(DynatraceConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2234,7 +2234,7 @@ public open class CfnConnectorProfile( * Analytics. */ override fun googleAnalytics(googleAnalytics: IResolvable) { - cdkBuilder.googleAnalytics(googleAnalytics.let(IResolvable::unwrap)) + cdkBuilder.googleAnalytics(googleAnalytics.let(IResolvable.Companion::unwrap)) } /** @@ -2243,7 +2243,7 @@ public open class CfnConnectorProfile( */ override fun googleAnalytics(googleAnalytics: GoogleAnalyticsConnectorProfileCredentialsProperty) { - cdkBuilder.googleAnalytics(googleAnalytics.let(GoogleAnalyticsConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.googleAnalytics(googleAnalytics.let(GoogleAnalyticsConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2261,14 +2261,14 @@ public open class CfnConnectorProfile( * @param inforNexus The connector-specific credentials required when using Infor Nexus. */ override fun inforNexus(inforNexus: IResolvable) { - cdkBuilder.inforNexus(inforNexus.let(IResolvable::unwrap)) + cdkBuilder.inforNexus(inforNexus.let(IResolvable.Companion::unwrap)) } /** * @param inforNexus The connector-specific credentials required when using Infor Nexus. */ override fun inforNexus(inforNexus: InforNexusConnectorProfileCredentialsProperty) { - cdkBuilder.inforNexus(inforNexus.let(InforNexusConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.inforNexus(inforNexus.let(InforNexusConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2284,14 +2284,14 @@ public open class CfnConnectorProfile( * @param marketo The connector-specific credentials required when using Marketo. */ override fun marketo(marketo: IResolvable) { - cdkBuilder.marketo(marketo.let(IResolvable::unwrap)) + cdkBuilder.marketo(marketo.let(IResolvable.Companion::unwrap)) } /** * @param marketo The connector-specific credentials required when using Marketo. */ override fun marketo(marketo: MarketoConnectorProfileCredentialsProperty) { - cdkBuilder.marketo(marketo.let(MarketoConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.marketo(marketo.let(MarketoConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2306,14 +2306,14 @@ public open class CfnConnectorProfile( * @param pardot The connector-specific credentials required when using Salesforce Pardot. */ override fun pardot(pardot: IResolvable) { - cdkBuilder.pardot(pardot.let(IResolvable::unwrap)) + cdkBuilder.pardot(pardot.let(IResolvable.Companion::unwrap)) } /** * @param pardot The connector-specific credentials required when using Salesforce Pardot. */ override fun pardot(pardot: PardotConnectorProfileCredentialsProperty) { - cdkBuilder.pardot(pardot.let(PardotConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.pardot(pardot.let(PardotConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2328,14 +2328,14 @@ public open class CfnConnectorProfile( * @param redshift The connector-specific credentials required when using Amazon Redshift. */ override fun redshift(redshift: IResolvable) { - cdkBuilder.redshift(redshift.let(IResolvable::unwrap)) + cdkBuilder.redshift(redshift.let(IResolvable.Companion::unwrap)) } /** * @param redshift The connector-specific credentials required when using Amazon Redshift. */ override fun redshift(redshift: RedshiftConnectorProfileCredentialsProperty) { - cdkBuilder.redshift(redshift.let(RedshiftConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.redshift(redshift.let(RedshiftConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2351,14 +2351,14 @@ public open class CfnConnectorProfile( * @param salesforce The connector-specific credentials required when using Salesforce. */ override fun salesforce(salesforce: IResolvable) { - cdkBuilder.salesforce(salesforce.let(IResolvable::unwrap)) + cdkBuilder.salesforce(salesforce.let(IResolvable.Companion::unwrap)) } /** * @param salesforce The connector-specific credentials required when using Salesforce. */ override fun salesforce(salesforce: SalesforceConnectorProfileCredentialsProperty) { - cdkBuilder.salesforce(salesforce.let(SalesforceConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.salesforce(salesforce.let(SalesforceConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2374,14 +2374,14 @@ public open class CfnConnectorProfile( * @param sapoData The connector-specific profile credentials required when using SAPOData. */ override fun sapoData(sapoData: IResolvable) { - cdkBuilder.sapoData(sapoData.let(IResolvable::unwrap)) + cdkBuilder.sapoData(sapoData.let(IResolvable.Companion::unwrap)) } /** * @param sapoData The connector-specific profile credentials required when using SAPOData. */ override fun sapoData(sapoData: SAPODataConnectorProfileCredentialsProperty) { - cdkBuilder.sapoData(sapoData.let(SAPODataConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.sapoData(sapoData.let(SAPODataConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2397,14 +2397,14 @@ public open class CfnConnectorProfile( * @param serviceNow The connector-specific credentials required when using ServiceNow. */ override fun serviceNow(serviceNow: IResolvable) { - cdkBuilder.serviceNow(serviceNow.let(IResolvable::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(IResolvable.Companion::unwrap)) } /** * @param serviceNow The connector-specific credentials required when using ServiceNow. */ override fun serviceNow(serviceNow: ServiceNowConnectorProfileCredentialsProperty) { - cdkBuilder.serviceNow(serviceNow.let(ServiceNowConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(ServiceNowConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2420,14 +2420,14 @@ public open class CfnConnectorProfile( * @param singular The connector-specific credentials required when using Singular. */ override fun singular(singular: IResolvable) { - cdkBuilder.singular(singular.let(IResolvable::unwrap)) + cdkBuilder.singular(singular.let(IResolvable.Companion::unwrap)) } /** * @param singular The connector-specific credentials required when using Singular. */ override fun singular(singular: SingularConnectorProfileCredentialsProperty) { - cdkBuilder.singular(singular.let(SingularConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.singular(singular.let(SingularConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2443,14 +2443,14 @@ public open class CfnConnectorProfile( * @param slack The connector-specific credentials required when using Slack. */ override fun slack(slack: IResolvable) { - cdkBuilder.slack(slack.let(IResolvable::unwrap)) + cdkBuilder.slack(slack.let(IResolvable.Companion::unwrap)) } /** * @param slack The connector-specific credentials required when using Slack. */ override fun slack(slack: SlackConnectorProfileCredentialsProperty) { - cdkBuilder.slack(slack.let(SlackConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.slack(slack.let(SlackConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2465,14 +2465,14 @@ public open class CfnConnectorProfile( * @param snowflake The connector-specific credentials required when using Snowflake. */ override fun snowflake(snowflake: IResolvable) { - cdkBuilder.snowflake(snowflake.let(IResolvable::unwrap)) + cdkBuilder.snowflake(snowflake.let(IResolvable.Companion::unwrap)) } /** * @param snowflake The connector-specific credentials required when using Snowflake. */ override fun snowflake(snowflake: SnowflakeConnectorProfileCredentialsProperty) { - cdkBuilder.snowflake(snowflake.let(SnowflakeConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.snowflake(snowflake.let(SnowflakeConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2488,14 +2488,14 @@ public open class CfnConnectorProfile( * @param trendmicro The connector-specific credentials required when using Trend Micro. */ override fun trendmicro(trendmicro: IResolvable) { - cdkBuilder.trendmicro(trendmicro.let(IResolvable::unwrap)) + cdkBuilder.trendmicro(trendmicro.let(IResolvable.Companion::unwrap)) } /** * @param trendmicro The connector-specific credentials required when using Trend Micro. */ override fun trendmicro(trendmicro: TrendmicroConnectorProfileCredentialsProperty) { - cdkBuilder.trendmicro(trendmicro.let(TrendmicroConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.trendmicro(trendmicro.let(TrendmicroConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2511,14 +2511,14 @@ public open class CfnConnectorProfile( * @param veeva The connector-specific credentials required when using Veeva. */ override fun veeva(veeva: IResolvable) { - cdkBuilder.veeva(veeva.let(IResolvable::unwrap)) + cdkBuilder.veeva(veeva.let(IResolvable.Companion::unwrap)) } /** * @param veeva The connector-specific credentials required when using Veeva. */ override fun veeva(veeva: VeevaConnectorProfileCredentialsProperty) { - cdkBuilder.veeva(veeva.let(VeevaConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.veeva(veeva.let(VeevaConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -2533,14 +2533,14 @@ public open class CfnConnectorProfile( * @param zendesk The connector-specific credentials required when using Zendesk. */ override fun zendesk(zendesk: IResolvable) { - cdkBuilder.zendesk(zendesk.let(IResolvable::unwrap)) + cdkBuilder.zendesk(zendesk.let(IResolvable.Companion::unwrap)) } /** * @param zendesk The connector-specific credentials required when using Zendesk. */ override fun zendesk(zendesk: ZendeskConnectorProfileCredentialsProperty) { - cdkBuilder.zendesk(zendesk.let(ZendeskConnectorProfileCredentialsProperty::unwrap)) + cdkBuilder.zendesk(zendesk.let(ZendeskConnectorProfileCredentialsProperty.Companion::unwrap)) } /** @@ -3162,14 +3162,14 @@ public open class CfnConnectorProfile( * @param customConnector The properties required by the custom connector. */ override fun customConnector(customConnector: IResolvable) { - cdkBuilder.customConnector(customConnector.let(IResolvable::unwrap)) + cdkBuilder.customConnector(customConnector.let(IResolvable.Companion::unwrap)) } /** * @param customConnector The properties required by the custom connector. */ override fun customConnector(customConnector: CustomConnectorProfilePropertiesProperty) { - cdkBuilder.customConnector(customConnector.let(CustomConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.customConnector(customConnector.let(CustomConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3185,14 +3185,14 @@ public open class CfnConnectorProfile( * @param datadog The connector-specific properties required by Datadog. */ override fun datadog(datadog: IResolvable) { - cdkBuilder.datadog(datadog.let(IResolvable::unwrap)) + cdkBuilder.datadog(datadog.let(IResolvable.Companion::unwrap)) } /** * @param datadog The connector-specific properties required by Datadog. */ override fun datadog(datadog: DatadogConnectorProfilePropertiesProperty) { - cdkBuilder.datadog(datadog.let(DatadogConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.datadog(datadog.let(DatadogConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3207,14 +3207,14 @@ public open class CfnConnectorProfile( * @param dynatrace The connector-specific properties required by Dynatrace. */ override fun dynatrace(dynatrace: IResolvable) { - cdkBuilder.dynatrace(dynatrace.let(IResolvable::unwrap)) + cdkBuilder.dynatrace(dynatrace.let(IResolvable.Companion::unwrap)) } /** * @param dynatrace The connector-specific properties required by Dynatrace. */ override fun dynatrace(dynatrace: DynatraceConnectorProfilePropertiesProperty) { - cdkBuilder.dynatrace(dynatrace.let(DynatraceConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.dynatrace(dynatrace.let(DynatraceConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3230,14 +3230,14 @@ public open class CfnConnectorProfile( * @param inforNexus The connector-specific properties required by Infor Nexus. */ override fun inforNexus(inforNexus: IResolvable) { - cdkBuilder.inforNexus(inforNexus.let(IResolvable::unwrap)) + cdkBuilder.inforNexus(inforNexus.let(IResolvable.Companion::unwrap)) } /** * @param inforNexus The connector-specific properties required by Infor Nexus. */ override fun inforNexus(inforNexus: InforNexusConnectorProfilePropertiesProperty) { - cdkBuilder.inforNexus(inforNexus.let(InforNexusConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.inforNexus(inforNexus.let(InforNexusConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3253,14 +3253,14 @@ public open class CfnConnectorProfile( * @param marketo The connector-specific properties required by Marketo. */ override fun marketo(marketo: IResolvable) { - cdkBuilder.marketo(marketo.let(IResolvable::unwrap)) + cdkBuilder.marketo(marketo.let(IResolvable.Companion::unwrap)) } /** * @param marketo The connector-specific properties required by Marketo. */ override fun marketo(marketo: MarketoConnectorProfilePropertiesProperty) { - cdkBuilder.marketo(marketo.let(MarketoConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.marketo(marketo.let(MarketoConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3275,14 +3275,14 @@ public open class CfnConnectorProfile( * @param pardot The connector-specific properties required by Salesforce Pardot. */ override fun pardot(pardot: IResolvable) { - cdkBuilder.pardot(pardot.let(IResolvable::unwrap)) + cdkBuilder.pardot(pardot.let(IResolvable.Companion::unwrap)) } /** * @param pardot The connector-specific properties required by Salesforce Pardot. */ override fun pardot(pardot: PardotConnectorProfilePropertiesProperty) { - cdkBuilder.pardot(pardot.let(PardotConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.pardot(pardot.let(PardotConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3297,14 +3297,14 @@ public open class CfnConnectorProfile( * @param redshift The connector-specific properties required by Amazon Redshift. */ override fun redshift(redshift: IResolvable) { - cdkBuilder.redshift(redshift.let(IResolvable::unwrap)) + cdkBuilder.redshift(redshift.let(IResolvable.Companion::unwrap)) } /** * @param redshift The connector-specific properties required by Amazon Redshift. */ override fun redshift(redshift: RedshiftConnectorProfilePropertiesProperty) { - cdkBuilder.redshift(redshift.let(RedshiftConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.redshift(redshift.let(RedshiftConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3320,14 +3320,14 @@ public open class CfnConnectorProfile( * @param salesforce The connector-specific properties required by Salesforce. */ override fun salesforce(salesforce: IResolvable) { - cdkBuilder.salesforce(salesforce.let(IResolvable::unwrap)) + cdkBuilder.salesforce(salesforce.let(IResolvable.Companion::unwrap)) } /** * @param salesforce The connector-specific properties required by Salesforce. */ override fun salesforce(salesforce: SalesforceConnectorProfilePropertiesProperty) { - cdkBuilder.salesforce(salesforce.let(SalesforceConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.salesforce(salesforce.let(SalesforceConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3343,14 +3343,14 @@ public open class CfnConnectorProfile( * @param sapoData The connector-specific profile properties required when using SAPOData. */ override fun sapoData(sapoData: IResolvable) { - cdkBuilder.sapoData(sapoData.let(IResolvable::unwrap)) + cdkBuilder.sapoData(sapoData.let(IResolvable.Companion::unwrap)) } /** * @param sapoData The connector-specific profile properties required when using SAPOData. */ override fun sapoData(sapoData: SAPODataConnectorProfilePropertiesProperty) { - cdkBuilder.sapoData(sapoData.let(SAPODataConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.sapoData(sapoData.let(SAPODataConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3366,14 +3366,14 @@ public open class CfnConnectorProfile( * @param serviceNow The connector-specific properties required by serviceNow. */ override fun serviceNow(serviceNow: IResolvable) { - cdkBuilder.serviceNow(serviceNow.let(IResolvable::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(IResolvable.Companion::unwrap)) } /** * @param serviceNow The connector-specific properties required by serviceNow. */ override fun serviceNow(serviceNow: ServiceNowConnectorProfilePropertiesProperty) { - cdkBuilder.serviceNow(serviceNow.let(ServiceNowConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(ServiceNowConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3389,14 +3389,14 @@ public open class CfnConnectorProfile( * @param slack The connector-specific properties required by Slack. */ override fun slack(slack: IResolvable) { - cdkBuilder.slack(slack.let(IResolvable::unwrap)) + cdkBuilder.slack(slack.let(IResolvable.Companion::unwrap)) } /** * @param slack The connector-specific properties required by Slack. */ override fun slack(slack: SlackConnectorProfilePropertiesProperty) { - cdkBuilder.slack(slack.let(SlackConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.slack(slack.let(SlackConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3411,14 +3411,14 @@ public open class CfnConnectorProfile( * @param snowflake The connector-specific properties required by Snowflake. */ override fun snowflake(snowflake: IResolvable) { - cdkBuilder.snowflake(snowflake.let(IResolvable::unwrap)) + cdkBuilder.snowflake(snowflake.let(IResolvable.Companion::unwrap)) } /** * @param snowflake The connector-specific properties required by Snowflake. */ override fun snowflake(snowflake: SnowflakeConnectorProfilePropertiesProperty) { - cdkBuilder.snowflake(snowflake.let(SnowflakeConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.snowflake(snowflake.let(SnowflakeConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3434,14 +3434,14 @@ public open class CfnConnectorProfile( * @param veeva The connector-specific properties required by Veeva. */ override fun veeva(veeva: IResolvable) { - cdkBuilder.veeva(veeva.let(IResolvable::unwrap)) + cdkBuilder.veeva(veeva.let(IResolvable.Companion::unwrap)) } /** * @param veeva The connector-specific properties required by Veeva. */ override fun veeva(veeva: VeevaConnectorProfilePropertiesProperty) { - cdkBuilder.veeva(veeva.let(VeevaConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.veeva(veeva.let(VeevaConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3456,14 +3456,14 @@ public open class CfnConnectorProfile( * @param zendesk The connector-specific properties required by Zendesk. */ override fun zendesk(zendesk: IResolvable) { - cdkBuilder.zendesk(zendesk.let(IResolvable::unwrap)) + cdkBuilder.zendesk(zendesk.let(IResolvable.Companion::unwrap)) } /** * @param zendesk The connector-specific properties required by Zendesk. */ override fun zendesk(zendesk: ZendeskConnectorProfilePropertiesProperty) { - cdkBuilder.zendesk(zendesk.let(ZendeskConnectorProfilePropertiesProperty::unwrap)) + cdkBuilder.zendesk(zendesk.let(ZendeskConnectorProfilePropertiesProperty.Companion::unwrap)) } /** @@ -3666,7 +3666,7 @@ public open class CfnConnectorProfile( * @param credentialsMap A map that holds custom authentication credentials. */ override fun credentialsMap(credentialsMap: IResolvable) { - cdkBuilder.credentialsMap(credentialsMap.let(IResolvable::unwrap)) + cdkBuilder.credentialsMap(credentialsMap.let(IResolvable.Companion::unwrap)) } /** @@ -3898,14 +3898,14 @@ public open class CfnConnectorProfile( * @param apiKey The API keys required for the authentication of the user. */ override fun apiKey(apiKey: IResolvable) { - cdkBuilder.apiKey(apiKey.let(IResolvable::unwrap)) + cdkBuilder.apiKey(apiKey.let(IResolvable.Companion::unwrap)) } /** * @param apiKey The API keys required for the authentication of the user. */ override fun apiKey(apiKey: ApiKeyCredentialsProperty) { - cdkBuilder.apiKey(apiKey.let(ApiKeyCredentialsProperty::unwrap)) + cdkBuilder.apiKey(apiKey.let(ApiKeyCredentialsProperty.Companion::unwrap)) } /** @@ -3928,14 +3928,14 @@ public open class CfnConnectorProfile( * @param basic The basic credentials that are required for the authentication of the user. */ override fun basic(basic: IResolvable) { - cdkBuilder.basic(basic.let(IResolvable::unwrap)) + cdkBuilder.basic(basic.let(IResolvable.Companion::unwrap)) } /** * @param basic The basic credentials that are required for the authentication of the user. */ override fun basic(basic: BasicAuthCredentialsProperty) { - cdkBuilder.basic(basic.let(BasicAuthCredentialsProperty::unwrap)) + cdkBuilder.basic(basic.let(BasicAuthCredentialsProperty.Companion::unwrap)) } /** @@ -3951,7 +3951,7 @@ public open class CfnConnectorProfile( * required credentials. */ override fun custom(custom: IResolvable) { - cdkBuilder.custom(custom.let(IResolvable::unwrap)) + cdkBuilder.custom(custom.let(IResolvable.Companion::unwrap)) } /** @@ -3959,7 +3959,7 @@ public open class CfnConnectorProfile( * required credentials. */ override fun custom(custom: CustomAuthCredentialsProperty) { - cdkBuilder.custom(custom.let(CustomAuthCredentialsProperty::unwrap)) + cdkBuilder.custom(custom.let(CustomAuthCredentialsProperty.Companion::unwrap)) } /** @@ -3975,14 +3975,14 @@ public open class CfnConnectorProfile( * @param oauth2 The OAuth 2.0 credentials required for the authentication of the user. */ override fun oauth2(oauth2: IResolvable) { - cdkBuilder.oauth2(oauth2.let(IResolvable::unwrap)) + cdkBuilder.oauth2(oauth2.let(IResolvable.Companion::unwrap)) } /** * @param oauth2 The OAuth 2.0 credentials required for the authentication of the user. */ override fun oauth2(oauth2: OAuth2CredentialsProperty) { - cdkBuilder.oauth2(oauth2.let(OAuth2CredentialsProperty::unwrap)) + cdkBuilder.oauth2(oauth2.let(OAuth2CredentialsProperty.Companion::unwrap)) } /** @@ -4142,14 +4142,14 @@ public open class CfnConnectorProfile( * @param oAuth2Properties The OAuth 2.0 properties required for OAuth 2.0 authentication. */ override fun oAuth2Properties(oAuth2Properties: IResolvable) { - cdkBuilder.oAuth2Properties(oAuth2Properties.let(IResolvable::unwrap)) + cdkBuilder.oAuth2Properties(oAuth2Properties.let(IResolvable.Companion::unwrap)) } /** * @param oAuth2Properties The OAuth 2.0 properties required for OAuth 2.0 authentication. */ override fun oAuth2Properties(oAuth2Properties: OAuth2PropertiesProperty) { - cdkBuilder.oAuth2Properties(oAuth2Properties.let(OAuth2PropertiesProperty::unwrap)) + cdkBuilder.oAuth2Properties(oAuth2Properties.let(OAuth2PropertiesProperty.Companion::unwrap)) } /** @@ -4165,7 +4165,7 @@ public open class CfnConnectorProfile( * custom connector. */ override fun profileProperties(profileProperties: IResolvable) { - cdkBuilder.profileProperties(profileProperties.let(IResolvable::unwrap)) + cdkBuilder.profileProperties(profileProperties.let(IResolvable.Companion::unwrap)) } /** @@ -4747,7 +4747,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** @@ -4755,7 +4755,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -5223,7 +5223,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** @@ -5231,7 +5231,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -5518,14 +5518,14 @@ public open class CfnConnectorProfile( * @param oAuthRequest the value to be set. */ override fun oAuthRequest(oAuthRequest: IResolvable) { - cdkBuilder.oAuthRequest(oAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.oAuthRequest(oAuthRequest.let(IResolvable.Companion::unwrap)) } /** * @param oAuthRequest the value to be set. */ override fun oAuthRequest(oAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.oAuthRequest(oAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.oAuthRequest(oAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -5708,7 +5708,7 @@ public open class CfnConnectorProfile( * authenticate your request. */ override fun tokenUrlCustomProperties(tokenUrlCustomProperties: IResolvable) { - cdkBuilder.tokenUrlCustomProperties(tokenUrlCustomProperties.let(IResolvable::unwrap)) + cdkBuilder.tokenUrlCustomProperties(tokenUrlCustomProperties.let(IResolvable.Companion::unwrap)) } /** @@ -5906,14 +5906,14 @@ public open class CfnConnectorProfile( * @param connectorOAuthRequest the value to be set. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** * @param connectorOAuthRequest the value to be set. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -6261,14 +6261,14 @@ public open class CfnConnectorProfile( * @param connectorOAuthRequest the value to be set. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** * @param connectorOAuthRequest the value to be set. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -6445,7 +6445,7 @@ public open class CfnConnectorProfile( * production environment. */ override fun isSandboxEnvironment(isSandboxEnvironment: IResolvable) { - cdkBuilder.isSandboxEnvironment(isSandboxEnvironment.let(IResolvable::unwrap)) + cdkBuilder.isSandboxEnvironment(isSandboxEnvironment.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6847,7 +6847,7 @@ public open class CfnConnectorProfile( * an Amazon Redshift Serverless data warehouse. */ override fun isRedshiftServerless(isRedshiftServerless: IResolvable) { - cdkBuilder.isRedshiftServerless(isRedshiftServerless.let(IResolvable::unwrap)) + cdkBuilder.isRedshiftServerless(isRedshiftServerless.let(IResolvable.Companion::unwrap)) } /** @@ -7069,14 +7069,14 @@ public open class CfnConnectorProfile( * @param basicAuthCredentials The SAPOData basic authentication credentials. */ override fun basicAuthCredentials(basicAuthCredentials: IResolvable) { - cdkBuilder.basicAuthCredentials(basicAuthCredentials.let(IResolvable::unwrap)) + cdkBuilder.basicAuthCredentials(basicAuthCredentials.let(IResolvable.Companion::unwrap)) } /** * @param basicAuthCredentials The SAPOData basic authentication credentials. */ override fun basicAuthCredentials(basicAuthCredentials: BasicAuthCredentialsProperty) { - cdkBuilder.basicAuthCredentials(basicAuthCredentials.let(BasicAuthCredentialsProperty::unwrap)) + cdkBuilder.basicAuthCredentials(basicAuthCredentials.let(BasicAuthCredentialsProperty.Companion::unwrap)) } /** @@ -7092,14 +7092,14 @@ public open class CfnConnectorProfile( * @param oAuthCredentials The SAPOData OAuth type authentication credentials. */ override fun oAuthCredentials(oAuthCredentials: IResolvable) { - cdkBuilder.oAuthCredentials(oAuthCredentials.let(IResolvable::unwrap)) + cdkBuilder.oAuthCredentials(oAuthCredentials.let(IResolvable.Companion::unwrap)) } /** * @param oAuthCredentials The SAPOData OAuth type authentication credentials. */ override fun oAuthCredentials(oAuthCredentials: OAuthCredentialsProperty) { - cdkBuilder.oAuthCredentials(oAuthCredentials.let(OAuthCredentialsProperty::unwrap)) + cdkBuilder.oAuthCredentials(oAuthCredentials.let(OAuthCredentialsProperty.Companion::unwrap)) } /** @@ -7347,7 +7347,7 @@ public open class CfnConnectorProfile( * sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance. */ override fun disableSso(disableSso: IResolvable) { - cdkBuilder.disableSso(disableSso.let(IResolvable::unwrap)) + cdkBuilder.disableSso(disableSso.let(IResolvable.Companion::unwrap)) } /** @@ -7362,7 +7362,7 @@ public open class CfnConnectorProfile( * authentication. */ override fun oAuthProperties(oAuthProperties: IResolvable) { - cdkBuilder.oAuthProperties(oAuthProperties.let(IResolvable::unwrap)) + cdkBuilder.oAuthProperties(oAuthProperties.let(IResolvable.Companion::unwrap)) } /** @@ -7370,7 +7370,7 @@ public open class CfnConnectorProfile( * authentication. */ override fun oAuthProperties(oAuthProperties: OAuthPropertiesProperty) { - cdkBuilder.oAuthProperties(oAuthProperties.let(OAuthPropertiesProperty::unwrap)) + cdkBuilder.oAuthProperties(oAuthProperties.let(OAuthPropertiesProperty.Companion::unwrap)) } /** @@ -7661,7 +7661,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** @@ -7669,7 +7669,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -7991,7 +7991,7 @@ public open class CfnConnectorProfile( * production environment. */ override fun isSandboxEnvironment(isSandboxEnvironment: IResolvable) { - cdkBuilder.isSandboxEnvironment(isSandboxEnvironment.let(IResolvable::unwrap)) + cdkBuilder.isSandboxEnvironment(isSandboxEnvironment.let(IResolvable.Companion::unwrap)) } /** @@ -8061,7 +8061,7 @@ public open class CfnConnectorProfile( */ override fun usePrivateLinkForMetadataAndAuthorization(usePrivateLinkForMetadataAndAuthorization: IResolvable) { - cdkBuilder.usePrivateLinkForMetadataAndAuthorization(usePrivateLinkForMetadataAndAuthorization.let(IResolvable::unwrap)) + cdkBuilder.usePrivateLinkForMetadataAndAuthorization(usePrivateLinkForMetadataAndAuthorization.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -8233,14 +8233,14 @@ public open class CfnConnectorProfile( * @param oAuth2Credentials the value to be set. */ override fun oAuth2Credentials(oAuth2Credentials: IResolvable) { - cdkBuilder.oAuth2Credentials(oAuth2Credentials.let(IResolvable::unwrap)) + cdkBuilder.oAuth2Credentials(oAuth2Credentials.let(IResolvable.Companion::unwrap)) } /** * @param oAuth2Credentials the value to be set. */ override fun oAuth2Credentials(oAuth2Credentials: OAuth2CredentialsProperty) { - cdkBuilder.oAuth2Credentials(oAuth2Credentials.let(OAuth2CredentialsProperty::unwrap)) + cdkBuilder.oAuth2Credentials(oAuth2Credentials.let(OAuth2CredentialsProperty.Companion::unwrap)) } /** @@ -8615,7 +8615,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** @@ -8623,7 +8623,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** @@ -9558,7 +9558,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: IResolvable) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(IResolvable.Companion::unwrap)) } /** @@ -9566,7 +9566,7 @@ public open class CfnConnectorProfile( * supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. */ override fun connectorOAuthRequest(connectorOAuthRequest: ConnectorOAuthRequestProperty) { - cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty::unwrap)) + cdkBuilder.connectorOAuthRequest(connectorOAuthRequest.let(ConnectorOAuthRequestProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfileProps.kt index 573ba14eac..94aaa77e71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProfileProps.kt @@ -399,7 +399,7 @@ public interface CfnConnectorProfileProps { * @param connectorProfileConfig Defines the connector-specific configuration and credentials. */ override fun connectorProfileConfig(connectorProfileConfig: IResolvable) { - cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(IResolvable::unwrap)) + cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(IResolvable.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public interface CfnConnectorProfileProps { */ override fun connectorProfileConfig(connectorProfileConfig: CfnConnectorProfile.ConnectorProfileConfigProperty) { - cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(CfnConnectorProfile.ConnectorProfileConfigProperty::unwrap)) + cdkBuilder.connectorProfileConfig(connectorProfileConfig.let(CfnConnectorProfile.ConnectorProfileConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProps.kt index 011bbef425..1a2c5aaf20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnConnectorProps.kt @@ -119,7 +119,7 @@ public interface CfnConnectorProps { * @param connectorProvisioningConfig The configuration required for registering the connector. */ override fun connectorProvisioningConfig(connectorProvisioningConfig: IResolvable) { - cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(IResolvable::unwrap)) + cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface CfnConnectorProps { */ override fun connectorProvisioningConfig(connectorProvisioningConfig: CfnConnector.ConnectorProvisioningConfigProperty) { - cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(CfnConnector.ConnectorProvisioningConfigProperty::unwrap)) + cdkBuilder.connectorProvisioningConfig(connectorProvisioningConfig.let(CfnConnector.ConnectorProvisioningConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlow.kt index d87435cd28..1e8de858a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlow.kt @@ -342,8 +342,8 @@ public open class CfnFlow( id: String, props: CfnFlowProps, ) : - this(software.amazon.awscdk.services.appflow.CfnFlow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowProps::unwrap)) + this(software.amazon.awscdk.services.appflow.CfnFlow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowProps.Companion::unwrap)) ) public constructor( @@ -379,7 +379,7 @@ public open class CfnFlow( * The configuration that controls how Amazon AppFlow places data in the destination connector. */ public open fun destinationFlowConfigList(`value`: IResolvable) { - unwrap(this).setDestinationFlowConfigList(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinationFlowConfigList(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CfnFlow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -455,14 +455,14 @@ public open class CfnFlow( * Specifies the configuration that Amazon AppFlow uses when it catalogs your data. */ public open fun metadataCatalogConfig(`value`: IResolvable) { - unwrap(this).setMetadataCatalogConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetadataCatalogConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the configuration that Amazon AppFlow uses when it catalogs your data. */ public open fun metadataCatalogConfig(`value`: MetadataCatalogConfigProperty) { - unwrap(this).setMetadataCatalogConfig(`value`.let(MetadataCatalogConfigProperty::unwrap)) + unwrap(this).setMetadataCatalogConfig(`value`.let(MetadataCatalogConfigProperty.Companion::unwrap)) } /** @@ -482,14 +482,14 @@ public open class CfnFlow( * Contains information about the configuration of the source connector used in the flow. */ public open fun sourceFlowConfig(`value`: IResolvable) { - unwrap(this).setSourceFlowConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceFlowConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about the configuration of the source connector used in the flow. */ public open fun sourceFlowConfig(`value`: SourceFlowConfigProperty) { - unwrap(this).setSourceFlowConfig(`value`.let(SourceFlowConfigProperty::unwrap)) + unwrap(this).setSourceFlowConfig(`value`.let(SourceFlowConfigProperty.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnFlow( * The tags used to organize, track, or control access for your flow. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public open class CfnFlow( * A list of tasks that Amazon AppFlow performs while transferring the data in the flow run. */ public open fun tasks(`value`: IResolvable) { - unwrap(this).setTasks(`value`.let(IResolvable::unwrap)) + unwrap(this).setTasks(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -556,14 +556,14 @@ public open class CfnFlow( * The trigger settings that determine how and when Amazon AppFlow runs the specified flow. */ public open fun triggerConfig(`value`: IResolvable) { - unwrap(this).setTriggerConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggerConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The trigger settings that determine how and when Amazon AppFlow runs the specified flow. */ public open fun triggerConfig(`value`: TriggerConfigProperty) { - unwrap(this).setTriggerConfig(`value`.let(TriggerConfigProperty::unwrap)) + unwrap(this).setTriggerConfig(`value`.let(TriggerConfigProperty.Companion::unwrap)) } /** @@ -820,7 +820,7 @@ public open class CfnFlow( * data in the destination connector. */ override fun destinationFlowConfigList(destinationFlowConfigList: IResolvable) { - cdkBuilder.destinationFlowConfigList(destinationFlowConfigList.let(IResolvable::unwrap)) + cdkBuilder.destinationFlowConfigList(destinationFlowConfigList.let(IResolvable.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public open class CfnFlow( * catalogs your data. */ override fun metadataCatalogConfig(metadataCatalogConfig: IResolvable) { - cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(IResolvable::unwrap)) + cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(IResolvable.Companion::unwrap)) } /** @@ -916,7 +916,7 @@ public open class CfnFlow( * catalogs your data. */ override fun metadataCatalogConfig(metadataCatalogConfig: MetadataCatalogConfigProperty) { - cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(MetadataCatalogConfigProperty::unwrap)) + cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(MetadataCatalogConfigProperty.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public open class CfnFlow( * used in the flow. */ override fun sourceFlowConfig(sourceFlowConfig: IResolvable) { - cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(IResolvable.Companion::unwrap)) } /** @@ -953,7 +953,7 @@ public open class CfnFlow( * used in the flow. */ override fun sourceFlowConfig(sourceFlowConfig: SourceFlowConfigProperty) { - cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(SourceFlowConfigProperty::unwrap)) + cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(SourceFlowConfigProperty.Companion::unwrap)) } /** @@ -975,7 +975,7 @@ public open class CfnFlow( * @param tags The tags used to organize, track, or control access for your flow. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public open class CfnFlow( * flow run. */ override fun tasks(tasks: IResolvable) { - cdkBuilder.tasks(tasks.let(IResolvable::unwrap)) + cdkBuilder.tasks(tasks.let(IResolvable.Companion::unwrap)) } /** @@ -1025,7 +1025,7 @@ public open class CfnFlow( * specified flow. */ override fun triggerConfig(triggerConfig: IResolvable) { - cdkBuilder.triggerConfig(triggerConfig.let(IResolvable::unwrap)) + cdkBuilder.triggerConfig(triggerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1036,7 +1036,7 @@ public open class CfnFlow( * specified flow. */ override fun triggerConfig(triggerConfig: TriggerConfigProperty) { - cdkBuilder.triggerConfig(triggerConfig.let(TriggerConfigProperty::unwrap)) + cdkBuilder.triggerConfig(triggerConfig.let(TriggerConfigProperty.Companion::unwrap)) } /** @@ -1944,7 +1944,7 @@ public open class CfnFlow( * used as a destination in the flow. */ override fun customProperties(customProperties: IResolvable) { - cdkBuilder.customProperties(customProperties.let(IResolvable::unwrap)) + cdkBuilder.customProperties(customProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1968,7 +1968,7 @@ public open class CfnFlow( * when placing data in the custom connector as destination. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1976,7 +1976,7 @@ public open class CfnFlow( * when placing data in the custom connector as destination. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -2179,7 +2179,7 @@ public open class CfnFlow( * a source. */ override fun customProperties(customProperties: IResolvable) { - cdkBuilder.customProperties(customProperties.let(IResolvable::unwrap)) + cdkBuilder.customProperties(customProperties.let(IResolvable.Companion::unwrap)) } /** @@ -2195,7 +2195,7 @@ public open class CfnFlow( * transfer your data. */ override fun dataTransferApi(dataTransferApi: IResolvable) { - cdkBuilder.dataTransferApi(dataTransferApi.let(IResolvable::unwrap)) + cdkBuilder.dataTransferApi(dataTransferApi.let(IResolvable.Companion::unwrap)) } /** @@ -2203,7 +2203,7 @@ public open class CfnFlow( * transfer your data. */ override fun dataTransferApi(dataTransferApi: DataTransferApiProperty) { - cdkBuilder.dataTransferApi(dataTransferApi.let(DataTransferApiProperty::unwrap)) + cdkBuilder.dataTransferApi(dataTransferApi.let(DataTransferApiProperty.Companion::unwrap)) } /** @@ -2916,14 +2916,14 @@ public open class CfnFlow( * @param customConnector The properties that are required to query the custom Connector. */ override fun customConnector(customConnector: IResolvable) { - cdkBuilder.customConnector(customConnector.let(IResolvable::unwrap)) + cdkBuilder.customConnector(customConnector.let(IResolvable.Companion::unwrap)) } /** * @param customConnector The properties that are required to query the custom Connector. */ override fun customConnector(customConnector: CustomConnectorDestinationPropertiesProperty) { - cdkBuilder.customConnector(customConnector.let(CustomConnectorDestinationPropertiesProperty::unwrap)) + cdkBuilder.customConnector(customConnector.let(CustomConnectorDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -2939,14 +2939,14 @@ public open class CfnFlow( * @param eventBridge The properties required to query Amazon EventBridge. */ override fun eventBridge(eventBridge: IResolvable) { - cdkBuilder.eventBridge(eventBridge.let(IResolvable::unwrap)) + cdkBuilder.eventBridge(eventBridge.let(IResolvable.Companion::unwrap)) } /** * @param eventBridge The properties required to query Amazon EventBridge. */ override fun eventBridge(eventBridge: EventBridgeDestinationPropertiesProperty) { - cdkBuilder.eventBridge(eventBridge.let(EventBridgeDestinationPropertiesProperty::unwrap)) + cdkBuilder.eventBridge(eventBridge.let(EventBridgeDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -2962,14 +2962,14 @@ public open class CfnFlow( * @param lookoutMetrics The properties required to query Amazon Lookout for Metrics. */ override fun lookoutMetrics(lookoutMetrics: IResolvable) { - cdkBuilder.lookoutMetrics(lookoutMetrics.let(IResolvable::unwrap)) + cdkBuilder.lookoutMetrics(lookoutMetrics.let(IResolvable.Companion::unwrap)) } /** * @param lookoutMetrics The properties required to query Amazon Lookout for Metrics. */ override fun lookoutMetrics(lookoutMetrics: LookoutMetricsDestinationPropertiesProperty) { - cdkBuilder.lookoutMetrics(lookoutMetrics.let(LookoutMetricsDestinationPropertiesProperty::unwrap)) + cdkBuilder.lookoutMetrics(lookoutMetrics.let(LookoutMetricsDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -2985,14 +2985,14 @@ public open class CfnFlow( * @param marketo The properties required to query Marketo. */ override fun marketo(marketo: IResolvable) { - cdkBuilder.marketo(marketo.let(IResolvable::unwrap)) + cdkBuilder.marketo(marketo.let(IResolvable.Companion::unwrap)) } /** * @param marketo The properties required to query Marketo. */ override fun marketo(marketo: MarketoDestinationPropertiesProperty) { - cdkBuilder.marketo(marketo.let(MarketoDestinationPropertiesProperty::unwrap)) + cdkBuilder.marketo(marketo.let(MarketoDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3007,14 +3007,14 @@ public open class CfnFlow( * @param redshift The properties required to query Amazon Redshift. */ override fun redshift(redshift: IResolvable) { - cdkBuilder.redshift(redshift.let(IResolvable::unwrap)) + cdkBuilder.redshift(redshift.let(IResolvable.Companion::unwrap)) } /** * @param redshift The properties required to query Amazon Redshift. */ override fun redshift(redshift: RedshiftDestinationPropertiesProperty) { - cdkBuilder.redshift(redshift.let(RedshiftDestinationPropertiesProperty::unwrap)) + cdkBuilder.redshift(redshift.let(RedshiftDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3029,14 +3029,14 @@ public open class CfnFlow( * @param s3 The properties required to query Amazon S3. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 The properties required to query Amazon S3. */ override fun s3(s3: S3DestinationPropertiesProperty) { - cdkBuilder.s3(s3.let(S3DestinationPropertiesProperty::unwrap)) + cdkBuilder.s3(s3.let(S3DestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3051,14 +3051,14 @@ public open class CfnFlow( * @param salesforce The properties required to query Salesforce. */ override fun salesforce(salesforce: IResolvable) { - cdkBuilder.salesforce(salesforce.let(IResolvable::unwrap)) + cdkBuilder.salesforce(salesforce.let(IResolvable.Companion::unwrap)) } /** * @param salesforce The properties required to query Salesforce. */ override fun salesforce(salesforce: SalesforceDestinationPropertiesProperty) { - cdkBuilder.salesforce(salesforce.let(SalesforceDestinationPropertiesProperty::unwrap)) + cdkBuilder.salesforce(salesforce.let(SalesforceDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3074,14 +3074,14 @@ public open class CfnFlow( * @param sapoData The properties required to query SAPOData. */ override fun sapoData(sapoData: IResolvable) { - cdkBuilder.sapoData(sapoData.let(IResolvable::unwrap)) + cdkBuilder.sapoData(sapoData.let(IResolvable.Companion::unwrap)) } /** * @param sapoData The properties required to query SAPOData. */ override fun sapoData(sapoData: SAPODataDestinationPropertiesProperty) { - cdkBuilder.sapoData(sapoData.let(SAPODataDestinationPropertiesProperty::unwrap)) + cdkBuilder.sapoData(sapoData.let(SAPODataDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3096,14 +3096,14 @@ public open class CfnFlow( * @param snowflake The properties required to query Snowflake. */ override fun snowflake(snowflake: IResolvable) { - cdkBuilder.snowflake(snowflake.let(IResolvable::unwrap)) + cdkBuilder.snowflake(snowflake.let(IResolvable.Companion::unwrap)) } /** * @param snowflake The properties required to query Snowflake. */ override fun snowflake(snowflake: SnowflakeDestinationPropertiesProperty) { - cdkBuilder.snowflake(snowflake.let(SnowflakeDestinationPropertiesProperty::unwrap)) + cdkBuilder.snowflake(snowflake.let(SnowflakeDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3118,14 +3118,14 @@ public open class CfnFlow( * @param upsolver The properties required to query Upsolver. */ override fun upsolver(upsolver: IResolvable) { - cdkBuilder.upsolver(upsolver.let(IResolvable::unwrap)) + cdkBuilder.upsolver(upsolver.let(IResolvable.Companion::unwrap)) } /** * @param upsolver The properties required to query Upsolver. */ override fun upsolver(upsolver: UpsolverDestinationPropertiesProperty) { - cdkBuilder.upsolver(upsolver.let(UpsolverDestinationPropertiesProperty::unwrap)) + cdkBuilder.upsolver(upsolver.let(UpsolverDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3140,14 +3140,14 @@ public open class CfnFlow( * @param zendesk The properties required to query Zendesk. */ override fun zendesk(zendesk: IResolvable) { - cdkBuilder.zendesk(zendesk.let(IResolvable::unwrap)) + cdkBuilder.zendesk(zendesk.let(IResolvable.Companion::unwrap)) } /** * @param zendesk The properties required to query Zendesk. */ override fun zendesk(zendesk: ZendeskDestinationPropertiesProperty) { - cdkBuilder.zendesk(zendesk.let(ZendeskDestinationPropertiesProperty::unwrap)) + cdkBuilder.zendesk(zendesk.let(ZendeskDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -3524,7 +3524,7 @@ public open class CfnFlow( * a particular connector. */ override fun destinationConnectorProperties(destinationConnectorProperties: IResolvable) { - cdkBuilder.destinationConnectorProperties(destinationConnectorProperties.let(IResolvable::unwrap)) + cdkBuilder.destinationConnectorProperties(destinationConnectorProperties.let(IResolvable.Companion::unwrap)) } /** @@ -3533,7 +3533,7 @@ public open class CfnFlow( */ override fun destinationConnectorProperties(destinationConnectorProperties: DestinationConnectorPropertiesProperty) { - cdkBuilder.destinationConnectorProperties(destinationConnectorProperties.let(DestinationConnectorPropertiesProperty::unwrap)) + cdkBuilder.destinationConnectorProperties(destinationConnectorProperties.let(DestinationConnectorPropertiesProperty.Companion::unwrap)) } /** @@ -3795,7 +3795,7 @@ public open class CfnFlow( * failure when attempting to place data in the destination. */ override fun failOnFirstError(failOnFirstError: IResolvable) { - cdkBuilder.failOnFirstError(failOnFirstError.let(IResolvable::unwrap)) + cdkBuilder.failOnFirstError(failOnFirstError.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3924,14 +3924,14 @@ public open class CfnFlow( * @param errorHandlingConfig The object specified in the Amplitude flow source. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** * @param errorHandlingConfig The object specified in the Amplitude flow source. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -4562,7 +4562,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4573,7 +4573,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -4793,7 +4793,7 @@ public open class CfnFlow( * catalogs your data with the AWS Glue Data Catalog . */ override fun glueDataCatalog(glueDataCatalog: IResolvable) { - cdkBuilder.glueDataCatalog(glueDataCatalog.let(IResolvable::unwrap)) + cdkBuilder.glueDataCatalog(glueDataCatalog.let(IResolvable.Companion::unwrap)) } /** @@ -4801,7 +4801,7 @@ public open class CfnFlow( * catalogs your data with the AWS Glue Data Catalog . */ override fun glueDataCatalog(glueDataCatalog: GlueDataCatalogProperty) { - cdkBuilder.glueDataCatalog(glueDataCatalog.let(GlueDataCatalogProperty::unwrap)) + cdkBuilder.glueDataCatalog(glueDataCatalog.let(GlueDataCatalogProperty.Companion::unwrap)) } /** @@ -5268,7 +5268,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -5279,7 +5279,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -5491,7 +5491,7 @@ public open class CfnFlow( * format the flow output data when Amazon S3 is used as the destination. */ override fun s3OutputFormatConfig(s3OutputFormatConfig: IResolvable) { - cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(IResolvable::unwrap)) + cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(IResolvable.Companion::unwrap)) } /** @@ -5499,7 +5499,7 @@ public open class CfnFlow( * format the flow output data when Amazon S3 is used as the destination. */ override fun s3OutputFormatConfig(s3OutputFormatConfig: S3OutputFormatConfigProperty) { - cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(S3OutputFormatConfigProperty::unwrap)) + cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(S3OutputFormatConfigProperty.Companion::unwrap)) } /** @@ -5797,7 +5797,7 @@ public open class CfnFlow( * format of your flow data. */ override fun aggregationConfig(aggregationConfig: IResolvable) { - cdkBuilder.aggregationConfig(aggregationConfig.let(IResolvable::unwrap)) + cdkBuilder.aggregationConfig(aggregationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -5805,7 +5805,7 @@ public open class CfnFlow( * format of your flow data. */ override fun aggregationConfig(aggregationConfig: AggregationConfigProperty) { - cdkBuilder.aggregationConfig(aggregationConfig.let(AggregationConfigProperty::unwrap)) + cdkBuilder.aggregationConfig(aggregationConfig.let(AggregationConfigProperty.Companion::unwrap)) } /** @@ -5831,7 +5831,7 @@ public open class CfnFlow( * You can name folders according to the flow frequency and date. */ override fun prefixConfig(prefixConfig: IResolvable) { - cdkBuilder.prefixConfig(prefixConfig.let(IResolvable::unwrap)) + cdkBuilder.prefixConfig(prefixConfig.let(IResolvable.Companion::unwrap)) } /** @@ -5840,7 +5840,7 @@ public open class CfnFlow( * You can name folders according to the flow frequency and date. */ override fun prefixConfig(prefixConfig: PrefixConfigProperty) { - cdkBuilder.prefixConfig(prefixConfig.let(PrefixConfigProperty::unwrap)) + cdkBuilder.prefixConfig(prefixConfig.let(PrefixConfigProperty.Companion::unwrap)) } /** @@ -5878,7 +5878,7 @@ public open class CfnFlow( * output. */ override fun preserveSourceDataTyping(preserveSourceDataTyping: IResolvable) { - cdkBuilder.preserveSourceDataTyping(preserveSourceDataTyping.let(IResolvable::unwrap)) + cdkBuilder.preserveSourceDataTyping(preserveSourceDataTyping.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6053,7 +6053,7 @@ public open class CfnFlow( * that you provide the flow input data. */ override fun s3InputFormatConfig(s3InputFormatConfig: IResolvable) { - cdkBuilder.s3InputFormatConfig(s3InputFormatConfig.let(IResolvable::unwrap)) + cdkBuilder.s3InputFormatConfig(s3InputFormatConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6061,7 +6061,7 @@ public open class CfnFlow( * that you provide the flow input data. */ override fun s3InputFormatConfig(s3InputFormatConfig: S3InputFormatConfigProperty) { - cdkBuilder.s3InputFormatConfig(s3InputFormatConfig.let(S3InputFormatConfigProperty::unwrap)) + cdkBuilder.s3InputFormatConfig(s3InputFormatConfig.let(S3InputFormatConfigProperty.Companion::unwrap)) } /** @@ -6300,7 +6300,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6311,7 +6311,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -6356,7 +6356,7 @@ public open class CfnFlow( * connector upon a successful insert operation. */ override fun successResponseHandlingConfig(successResponseHandlingConfig: IResolvable) { - cdkBuilder.successResponseHandlingConfig(successResponseHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.successResponseHandlingConfig(successResponseHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6367,7 +6367,7 @@ public open class CfnFlow( */ override fun successResponseHandlingConfig(successResponseHandlingConfig: SuccessResponseHandlingConfigProperty) { - cdkBuilder.successResponseHandlingConfig(successResponseHandlingConfig.let(SuccessResponseHandlingConfigProperty::unwrap)) + cdkBuilder.successResponseHandlingConfig(successResponseHandlingConfig.let(SuccessResponseHandlingConfigProperty.Companion::unwrap)) } /** @@ -6733,14 +6733,14 @@ public open class CfnFlow( * @param paginationConfig SAP Source connector page size. */ override fun paginationConfig(paginationConfig: IResolvable) { - cdkBuilder.paginationConfig(paginationConfig.let(IResolvable::unwrap)) + cdkBuilder.paginationConfig(paginationConfig.let(IResolvable.Companion::unwrap)) } /** * @param paginationConfig SAP Source connector page size. */ override fun paginationConfig(paginationConfig: SAPODataPaginationConfigProperty) { - cdkBuilder.paginationConfig(paginationConfig.let(SAPODataPaginationConfigProperty::unwrap)) + cdkBuilder.paginationConfig(paginationConfig.let(SAPODataPaginationConfigProperty.Companion::unwrap)) } /** @@ -6756,14 +6756,14 @@ public open class CfnFlow( * @param parallelismConfig SAP Source connector parallelism factor. */ override fun parallelismConfig(parallelismConfig: IResolvable) { - cdkBuilder.parallelismConfig(parallelismConfig.let(IResolvable::unwrap)) + cdkBuilder.parallelismConfig(parallelismConfig.let(IResolvable.Companion::unwrap)) } /** * @param parallelismConfig SAP Source connector parallelism factor. */ override fun parallelismConfig(parallelismConfig: SAPODataParallelismConfigProperty) { - cdkBuilder.parallelismConfig(parallelismConfig.let(SAPODataParallelismConfigProperty::unwrap)) + cdkBuilder.parallelismConfig(parallelismConfig.let(SAPODataParallelismConfigProperty.Companion::unwrap)) } /** @@ -7064,7 +7064,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -7075,7 +7075,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -7424,7 +7424,7 @@ public open class CfnFlow( * added) fields in the Salesforce objects while running a flow. */ override fun enableDynamicFieldUpdate(enableDynamicFieldUpdate: IResolvable) { - cdkBuilder.enableDynamicFieldUpdate(enableDynamicFieldUpdate.let(IResolvable::unwrap)) + cdkBuilder.enableDynamicFieldUpdate(enableDynamicFieldUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -7440,7 +7440,7 @@ public open class CfnFlow( * flow run. */ override fun includeDeletedRecords(includeDeletedRecords: IResolvable) { - cdkBuilder.includeDeletedRecords(includeDeletedRecords.let(IResolvable::unwrap)) + cdkBuilder.includeDeletedRecords(includeDeletedRecords.let(IResolvable.Companion::unwrap)) } /** @@ -8265,7 +8265,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -8276,7 +8276,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** @@ -8896,14 +8896,14 @@ public open class CfnFlow( * @param amplitude Specifies the information that is required for querying Amplitude. */ override fun amplitude(amplitude: IResolvable) { - cdkBuilder.amplitude(amplitude.let(IResolvable::unwrap)) + cdkBuilder.amplitude(amplitude.let(IResolvable.Companion::unwrap)) } /** * @param amplitude Specifies the information that is required for querying Amplitude. */ override fun amplitude(amplitude: AmplitudeSourcePropertiesProperty) { - cdkBuilder.amplitude(amplitude.let(AmplitudeSourcePropertiesProperty::unwrap)) + cdkBuilder.amplitude(amplitude.let(AmplitudeSourcePropertiesProperty.Companion::unwrap)) } /** @@ -8919,7 +8919,7 @@ public open class CfnFlow( * used as a source. */ override fun customConnector(customConnector: IResolvable) { - cdkBuilder.customConnector(customConnector.let(IResolvable::unwrap)) + cdkBuilder.customConnector(customConnector.let(IResolvable.Companion::unwrap)) } /** @@ -8927,7 +8927,7 @@ public open class CfnFlow( * used as a source. */ override fun customConnector(customConnector: CustomConnectorSourcePropertiesProperty) { - cdkBuilder.customConnector(customConnector.let(CustomConnectorSourcePropertiesProperty::unwrap)) + cdkBuilder.customConnector(customConnector.let(CustomConnectorSourcePropertiesProperty.Companion::unwrap)) } /** @@ -8944,14 +8944,14 @@ public open class CfnFlow( * @param datadog Specifies the information that is required for querying Datadog. */ override fun datadog(datadog: IResolvable) { - cdkBuilder.datadog(datadog.let(IResolvable::unwrap)) + cdkBuilder.datadog(datadog.let(IResolvable.Companion::unwrap)) } /** * @param datadog Specifies the information that is required for querying Datadog. */ override fun datadog(datadog: DatadogSourcePropertiesProperty) { - cdkBuilder.datadog(datadog.let(DatadogSourcePropertiesProperty::unwrap)) + cdkBuilder.datadog(datadog.let(DatadogSourcePropertiesProperty.Companion::unwrap)) } /** @@ -8966,14 +8966,14 @@ public open class CfnFlow( * @param dynatrace Specifies the information that is required for querying Dynatrace. */ override fun dynatrace(dynatrace: IResolvable) { - cdkBuilder.dynatrace(dynatrace.let(IResolvable::unwrap)) + cdkBuilder.dynatrace(dynatrace.let(IResolvable.Companion::unwrap)) } /** * @param dynatrace Specifies the information that is required for querying Dynatrace. */ override fun dynatrace(dynatrace: DynatraceSourcePropertiesProperty) { - cdkBuilder.dynatrace(dynatrace.let(DynatraceSourcePropertiesProperty::unwrap)) + cdkBuilder.dynatrace(dynatrace.let(DynatraceSourcePropertiesProperty.Companion::unwrap)) } /** @@ -8989,7 +8989,7 @@ public open class CfnFlow( * Analytics. */ override fun googleAnalytics(googleAnalytics: IResolvable) { - cdkBuilder.googleAnalytics(googleAnalytics.let(IResolvable::unwrap)) + cdkBuilder.googleAnalytics(googleAnalytics.let(IResolvable.Companion::unwrap)) } /** @@ -8997,7 +8997,7 @@ public open class CfnFlow( * Analytics. */ override fun googleAnalytics(googleAnalytics: GoogleAnalyticsSourcePropertiesProperty) { - cdkBuilder.googleAnalytics(googleAnalytics.let(GoogleAnalyticsSourcePropertiesProperty::unwrap)) + cdkBuilder.googleAnalytics(googleAnalytics.let(GoogleAnalyticsSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9014,14 +9014,14 @@ public open class CfnFlow( * @param inforNexus Specifies the information that is required for querying Infor Nexus. */ override fun inforNexus(inforNexus: IResolvable) { - cdkBuilder.inforNexus(inforNexus.let(IResolvable::unwrap)) + cdkBuilder.inforNexus(inforNexus.let(IResolvable.Companion::unwrap)) } /** * @param inforNexus Specifies the information that is required for querying Infor Nexus. */ override fun inforNexus(inforNexus: InforNexusSourcePropertiesProperty) { - cdkBuilder.inforNexus(inforNexus.let(InforNexusSourcePropertiesProperty::unwrap)) + cdkBuilder.inforNexus(inforNexus.let(InforNexusSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9036,14 +9036,14 @@ public open class CfnFlow( * @param marketo Specifies the information that is required for querying Marketo. */ override fun marketo(marketo: IResolvable) { - cdkBuilder.marketo(marketo.let(IResolvable::unwrap)) + cdkBuilder.marketo(marketo.let(IResolvable.Companion::unwrap)) } /** * @param marketo Specifies the information that is required for querying Marketo. */ override fun marketo(marketo: MarketoSourcePropertiesProperty) { - cdkBuilder.marketo(marketo.let(MarketoSourcePropertiesProperty::unwrap)) + cdkBuilder.marketo(marketo.let(MarketoSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9058,14 +9058,14 @@ public open class CfnFlow( * @param pardot Specifies the information that is required for querying Salesforce Pardot. */ override fun pardot(pardot: IResolvable) { - cdkBuilder.pardot(pardot.let(IResolvable::unwrap)) + cdkBuilder.pardot(pardot.let(IResolvable.Companion::unwrap)) } /** * @param pardot Specifies the information that is required for querying Salesforce Pardot. */ override fun pardot(pardot: PardotSourcePropertiesProperty) { - cdkBuilder.pardot(pardot.let(PardotSourcePropertiesProperty::unwrap)) + cdkBuilder.pardot(pardot.let(PardotSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9080,14 +9080,14 @@ public open class CfnFlow( * @param s3 Specifies the information that is required for querying Amazon S3. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Specifies the information that is required for querying Amazon S3. */ override fun s3(s3: S3SourcePropertiesProperty) { - cdkBuilder.s3(s3.let(S3SourcePropertiesProperty::unwrap)) + cdkBuilder.s3(s3.let(S3SourcePropertiesProperty.Companion::unwrap)) } /** @@ -9102,14 +9102,14 @@ public open class CfnFlow( * @param salesforce Specifies the information that is required for querying Salesforce. */ override fun salesforce(salesforce: IResolvable) { - cdkBuilder.salesforce(salesforce.let(IResolvable::unwrap)) + cdkBuilder.salesforce(salesforce.let(IResolvable.Companion::unwrap)) } /** * @param salesforce Specifies the information that is required for querying Salesforce. */ override fun salesforce(salesforce: SalesforceSourcePropertiesProperty) { - cdkBuilder.salesforce(salesforce.let(SalesforceSourcePropertiesProperty::unwrap)) + cdkBuilder.salesforce(salesforce.let(SalesforceSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9124,14 +9124,14 @@ public open class CfnFlow( * @param sapoData The properties that are applied when using SAPOData as a flow source. */ override fun sapoData(sapoData: IResolvable) { - cdkBuilder.sapoData(sapoData.let(IResolvable::unwrap)) + cdkBuilder.sapoData(sapoData.let(IResolvable.Companion::unwrap)) } /** * @param sapoData The properties that are applied when using SAPOData as a flow source. */ override fun sapoData(sapoData: SAPODataSourcePropertiesProperty) { - cdkBuilder.sapoData(sapoData.let(SAPODataSourcePropertiesProperty::unwrap)) + cdkBuilder.sapoData(sapoData.let(SAPODataSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9146,14 +9146,14 @@ public open class CfnFlow( * @param serviceNow Specifies the information that is required for querying ServiceNow. */ override fun serviceNow(serviceNow: IResolvable) { - cdkBuilder.serviceNow(serviceNow.let(IResolvable::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(IResolvable.Companion::unwrap)) } /** * @param serviceNow Specifies the information that is required for querying ServiceNow. */ override fun serviceNow(serviceNow: ServiceNowSourcePropertiesProperty) { - cdkBuilder.serviceNow(serviceNow.let(ServiceNowSourcePropertiesProperty::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(ServiceNowSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9168,14 +9168,14 @@ public open class CfnFlow( * @param singular Specifies the information that is required for querying Singular. */ override fun singular(singular: IResolvable) { - cdkBuilder.singular(singular.let(IResolvable::unwrap)) + cdkBuilder.singular(singular.let(IResolvable.Companion::unwrap)) } /** * @param singular Specifies the information that is required for querying Singular. */ override fun singular(singular: SingularSourcePropertiesProperty) { - cdkBuilder.singular(singular.let(SingularSourcePropertiesProperty::unwrap)) + cdkBuilder.singular(singular.let(SingularSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9190,14 +9190,14 @@ public open class CfnFlow( * @param slack Specifies the information that is required for querying Slack. */ override fun slack(slack: IResolvable) { - cdkBuilder.slack(slack.let(IResolvable::unwrap)) + cdkBuilder.slack(slack.let(IResolvable.Companion::unwrap)) } /** * @param slack Specifies the information that is required for querying Slack. */ override fun slack(slack: SlackSourcePropertiesProperty) { - cdkBuilder.slack(slack.let(SlackSourcePropertiesProperty::unwrap)) + cdkBuilder.slack(slack.let(SlackSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9212,14 +9212,14 @@ public open class CfnFlow( * @param trendmicro Specifies the information that is required for querying Trend Micro. */ override fun trendmicro(trendmicro: IResolvable) { - cdkBuilder.trendmicro(trendmicro.let(IResolvable::unwrap)) + cdkBuilder.trendmicro(trendmicro.let(IResolvable.Companion::unwrap)) } /** * @param trendmicro Specifies the information that is required for querying Trend Micro. */ override fun trendmicro(trendmicro: TrendmicroSourcePropertiesProperty) { - cdkBuilder.trendmicro(trendmicro.let(TrendmicroSourcePropertiesProperty::unwrap)) + cdkBuilder.trendmicro(trendmicro.let(TrendmicroSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9234,14 +9234,14 @@ public open class CfnFlow( * @param veeva Specifies the information that is required for querying Veeva. */ override fun veeva(veeva: IResolvable) { - cdkBuilder.veeva(veeva.let(IResolvable::unwrap)) + cdkBuilder.veeva(veeva.let(IResolvable.Companion::unwrap)) } /** * @param veeva Specifies the information that is required for querying Veeva. */ override fun veeva(veeva: VeevaSourcePropertiesProperty) { - cdkBuilder.veeva(veeva.let(VeevaSourcePropertiesProperty::unwrap)) + cdkBuilder.veeva(veeva.let(VeevaSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9256,14 +9256,14 @@ public open class CfnFlow( * @param zendesk Specifies the information that is required for querying Zendesk. */ override fun zendesk(zendesk: IResolvable) { - cdkBuilder.zendesk(zendesk.let(IResolvable::unwrap)) + cdkBuilder.zendesk(zendesk.let(IResolvable.Companion::unwrap)) } /** * @param zendesk Specifies the information that is required for querying Zendesk. */ override fun zendesk(zendesk: ZendeskSourcePropertiesProperty) { - cdkBuilder.zendesk(zendesk.let(ZendeskSourcePropertiesProperty::unwrap)) + cdkBuilder.zendesk(zendesk.let(ZendeskSourcePropertiesProperty.Companion::unwrap)) } /** @@ -9670,7 +9670,7 @@ public open class CfnFlow( * when querying for the incremental data pull. */ override fun incrementalPullConfig(incrementalPullConfig: IResolvable) { - cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IResolvable::unwrap)) + cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IResolvable.Companion::unwrap)) } /** @@ -9680,7 +9680,7 @@ public open class CfnFlow( * when querying for the incremental data pull. */ override fun incrementalPullConfig(incrementalPullConfig: IncrementalPullConfigProperty) { - cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IncrementalPullConfigProperty::unwrap)) + cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IncrementalPullConfigProperty.Companion::unwrap)) } /** @@ -9700,7 +9700,7 @@ public open class CfnFlow( * particular source connector. */ override fun sourceConnectorProperties(sourceConnectorProperties: IResolvable) { - cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(IResolvable::unwrap)) + cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(IResolvable.Companion::unwrap)) } /** @@ -9709,7 +9709,7 @@ public open class CfnFlow( */ override fun sourceConnectorProperties(sourceConnectorProperties: SourceConnectorPropertiesProperty) { - cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(SourceConnectorPropertiesProperty::unwrap)) + cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(SourceConnectorPropertiesProperty.Companion::unwrap)) } /** @@ -10173,14 +10173,14 @@ public open class CfnFlow( * @param connectorOperator The operation to be performed on the provided source fields. */ override fun connectorOperator(connectorOperator: IResolvable) { - cdkBuilder.connectorOperator(connectorOperator.let(IResolvable::unwrap)) + cdkBuilder.connectorOperator(connectorOperator.let(IResolvable.Companion::unwrap)) } /** * @param connectorOperator The operation to be performed on the provided source fields. */ override fun connectorOperator(connectorOperator: ConnectorOperatorProperty) { - cdkBuilder.connectorOperator(connectorOperator.let(ConnectorOperatorProperty::unwrap)) + cdkBuilder.connectorOperator(connectorOperator.let(ConnectorOperatorProperty.Companion::unwrap)) } /** @@ -10218,7 +10218,7 @@ public open class CfnFlow( * The execution service looks for particular information based on the `TaskType` . */ override fun taskProperties(taskProperties: IResolvable) { - cdkBuilder.taskProperties(taskProperties.let(IResolvable::unwrap)) + cdkBuilder.taskProperties(taskProperties.let(IResolvable.Companion::unwrap)) } /** @@ -10487,7 +10487,7 @@ public open class CfnFlow( * Currently, these settings only apply to the `Scheduled` trigger type. */ override fun triggerProperties(triggerProperties: IResolvable) { - cdkBuilder.triggerProperties(triggerProperties.let(IResolvable::unwrap)) + cdkBuilder.triggerProperties(triggerProperties.let(IResolvable.Companion::unwrap)) } /** @@ -10496,7 +10496,7 @@ public open class CfnFlow( * Currently, these settings only apply to the `Scheduled` trigger type. */ override fun triggerProperties(triggerProperties: ScheduledTriggerPropertiesProperty) { - cdkBuilder.triggerProperties(triggerProperties.let(ScheduledTriggerPropertiesProperty::unwrap)) + cdkBuilder.triggerProperties(triggerProperties.let(ScheduledTriggerPropertiesProperty.Companion::unwrap)) } /** @@ -10684,7 +10684,7 @@ public open class CfnFlow( * Upsolver is used as the flow destination. */ override fun s3OutputFormatConfig(s3OutputFormatConfig: IResolvable) { - cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(IResolvable::unwrap)) + cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(IResolvable.Companion::unwrap)) } /** @@ -10693,7 +10693,7 @@ public open class CfnFlow( */ override fun s3OutputFormatConfig(s3OutputFormatConfig: UpsolverS3OutputFormatConfigProperty) { - cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(UpsolverS3OutputFormatConfigProperty::unwrap)) + cdkBuilder.s3OutputFormatConfig(s3OutputFormatConfig.let(UpsolverS3OutputFormatConfigProperty.Companion::unwrap)) } /** @@ -10871,7 +10871,7 @@ public open class CfnFlow( * format of your flow data. */ override fun aggregationConfig(aggregationConfig: IResolvable) { - cdkBuilder.aggregationConfig(aggregationConfig.let(IResolvable::unwrap)) + cdkBuilder.aggregationConfig(aggregationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -10879,7 +10879,7 @@ public open class CfnFlow( * format of your flow data. */ override fun aggregationConfig(aggregationConfig: AggregationConfigProperty) { - cdkBuilder.aggregationConfig(aggregationConfig.let(AggregationConfigProperty::unwrap)) + cdkBuilder.aggregationConfig(aggregationConfig.let(AggregationConfigProperty.Companion::unwrap)) } /** @@ -10905,7 +10905,7 @@ public open class CfnFlow( * names in the flow destination. */ override fun prefixConfig(prefixConfig: IResolvable) { - cdkBuilder.prefixConfig(prefixConfig.let(IResolvable::unwrap)) + cdkBuilder.prefixConfig(prefixConfig.let(IResolvable.Companion::unwrap)) } /** @@ -10913,7 +10913,7 @@ public open class CfnFlow( * names in the flow destination. */ override fun prefixConfig(prefixConfig: PrefixConfigProperty) { - cdkBuilder.prefixConfig(prefixConfig.let(PrefixConfigProperty::unwrap)) + cdkBuilder.prefixConfig(prefixConfig.let(PrefixConfigProperty.Companion::unwrap)) } /** @@ -11110,7 +11110,7 @@ public open class CfnFlow( * extract flow. */ override fun includeAllVersions(includeAllVersions: IResolvable) { - cdkBuilder.includeAllVersions(includeAllVersions.let(IResolvable::unwrap)) + cdkBuilder.includeAllVersions(includeAllVersions.let(IResolvable.Companion::unwrap)) } /** @@ -11126,7 +11126,7 @@ public open class CfnFlow( * flow. */ override fun includeRenditions(includeRenditions: IResolvable) { - cdkBuilder.includeRenditions(includeRenditions.let(IResolvable::unwrap)) + cdkBuilder.includeRenditions(includeRenditions.let(IResolvable.Companion::unwrap)) } /** @@ -11142,7 +11142,7 @@ public open class CfnFlow( * flow. */ override fun includeSourceFiles(includeSourceFiles: IResolvable) { - cdkBuilder.includeSourceFiles(includeSourceFiles.let(IResolvable::unwrap)) + cdkBuilder.includeSourceFiles(includeSourceFiles.let(IResolvable.Companion::unwrap)) } /** @@ -11348,7 +11348,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: IResolvable) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -11359,7 +11359,7 @@ public open class CfnFlow( * `ErrorHandlingConfig` is a part of the destination connector details. */ override fun errorHandlingConfig(errorHandlingConfig: ErrorHandlingConfigProperty) { - cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty::unwrap)) + cdkBuilder.errorHandlingConfig(errorHandlingConfig.let(ErrorHandlingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlowProps.kt index 21027db538..3ae90dd6ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appflow/CfnFlowProps.kt @@ -575,7 +575,7 @@ public interface CfnFlowProps { * data in the destination connector. */ override fun destinationFlowConfigList(destinationFlowConfigList: IResolvable) { - cdkBuilder.destinationFlowConfigList(destinationFlowConfigList.let(IResolvable::unwrap)) + cdkBuilder.destinationFlowConfigList(destinationFlowConfigList.let(IResolvable.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public interface CfnFlowProps { * When Amazon AppFlow catalogs your data, it stores metadata in a data catalog. */ override fun metadataCatalogConfig(metadataCatalogConfig: IResolvable) { - cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(IResolvable::unwrap)) + cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public interface CfnFlowProps { */ override fun metadataCatalogConfig(metadataCatalogConfig: CfnFlow.MetadataCatalogConfigProperty) { - cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(CfnFlow.MetadataCatalogConfigProperty::unwrap)) + cdkBuilder.metadataCatalogConfig(metadataCatalogConfig.let(CfnFlow.MetadataCatalogConfigProperty.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public interface CfnFlowProps { * used in the flow. */ override fun sourceFlowConfig(sourceFlowConfig: IResolvable) { - cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public interface CfnFlowProps { * used in the flow. */ override fun sourceFlowConfig(sourceFlowConfig: CfnFlow.SourceFlowConfigProperty) { - cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(CfnFlow.SourceFlowConfigProperty::unwrap)) + cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(CfnFlow.SourceFlowConfigProperty.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public interface CfnFlowProps { * @param tags The tags used to organize, track, or control access for your flow. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public interface CfnFlowProps { * flow run. */ override fun tasks(tasks: IResolvable) { - cdkBuilder.tasks(tasks.let(IResolvable::unwrap)) + cdkBuilder.tasks(tasks.let(IResolvable.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public interface CfnFlowProps { * specified flow. */ override fun triggerConfig(triggerConfig: IResolvable) { - cdkBuilder.triggerConfig(triggerConfig.let(IResolvable::unwrap)) + cdkBuilder.triggerConfig(triggerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -732,7 +732,7 @@ public interface CfnFlowProps { * specified flow. */ override fun triggerConfig(triggerConfig: CfnFlow.TriggerConfigProperty) { - cdkBuilder.triggerConfig(triggerConfig.let(CfnFlow.TriggerConfigProperty::unwrap)) + cdkBuilder.triggerConfig(triggerConfig.let(CfnFlow.TriggerConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplication.kt index c0679219ca..b2966a232a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplication.kt @@ -59,8 +59,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.appintegrations.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.appintegrations.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -79,14 +79,14 @@ public open class CfnApplication( * The configuration for where the application should be loaded from. */ public open fun applicationSourceConfig(`value`: IResolvable) { - unwrap(this).setApplicationSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for where the application should be loaded from. */ public open fun applicationSourceConfig(`value`: ApplicationSourceConfigProperty) { - unwrap(this).setApplicationSourceConfig(`value`.let(ApplicationSourceConfigProperty::unwrap)) + unwrap(this).setApplicationSourceConfig(`value`.let(ApplicationSourceConfigProperty.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnApplication( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnApplication( * from. */ override fun applicationSourceConfig(applicationSourceConfig: IResolvable) { - cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnApplication( * from. */ override fun applicationSourceConfig(applicationSourceConfig: ApplicationSourceConfigProperty) { - cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(ApplicationSourceConfigProperty::unwrap)) + cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(ApplicationSourceConfigProperty.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class CfnApplication( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -492,14 +492,14 @@ public open class CfnApplication( * @param externalUrlConfig The external URL source for the application. */ override fun externalUrlConfig(externalUrlConfig: IResolvable) { - cdkBuilder.externalUrlConfig(externalUrlConfig.let(IResolvable::unwrap)) + cdkBuilder.externalUrlConfig(externalUrlConfig.let(IResolvable.Companion::unwrap)) } /** * @param externalUrlConfig The external URL source for the application. */ override fun externalUrlConfig(externalUrlConfig: ExternalUrlConfigProperty) { - cdkBuilder.externalUrlConfig(externalUrlConfig.let(ExternalUrlConfigProperty::unwrap)) + cdkBuilder.externalUrlConfig(externalUrlConfig.let(ExternalUrlConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplicationProps.kt index fbb9caa8e5..fb7312664f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnApplicationProps.kt @@ -166,7 +166,7 @@ public interface CfnApplicationProps { * from. */ override fun applicationSourceConfig(applicationSourceConfig: IResolvable) { - cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public interface CfnApplicationProps { */ override fun applicationSourceConfig(applicationSourceConfig: CfnApplication.ApplicationSourceConfigProperty) { - cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(CfnApplication.ApplicationSourceConfigProperty::unwrap)) + cdkBuilder.applicationSourceConfig(applicationSourceConfig.let(CfnApplication.ApplicationSourceConfigProperty.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface CfnApplicationProps { * For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegration.kt index 16a169e8eb..323bacbeca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegration.kt @@ -67,8 +67,8 @@ public open class CfnDataIntegration( id: String, props: CfnDataIntegrationProps, ) : - this(software.amazon.awscdk.services.appintegrations.CfnDataIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.appintegrations.CfnDataIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataIntegrationProps.Companion::unwrap)) ) public constructor( @@ -109,14 +109,14 @@ public open class CfnDataIntegration( * The configuration for what files should be pulled from the source. */ public open fun fileConfiguration(`value`: IResolvable) { - unwrap(this).setFileConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for what files should be pulled from the source. */ public open fun fileConfiguration(`value`: FileConfigurationProperty) { - unwrap(this).setFileConfiguration(`value`.let(FileConfigurationProperty::unwrap)) + unwrap(this).setFileConfiguration(`value`.let(FileConfigurationProperty.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnDataIntegration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -181,14 +181,14 @@ public open class CfnDataIntegration( * The name of the data and how often it should be pulled from the source. */ public open fun scheduleConfig(`value`: IResolvable) { - unwrap(this).setScheduleConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setScheduleConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The name of the data and how often it should be pulled from the source. */ public open fun scheduleConfig(`value`: ScheduleConfigProperty) { - unwrap(this).setScheduleConfig(`value`.let(ScheduleConfigProperty::unwrap)) + unwrap(this).setScheduleConfig(`value`.let(ScheduleConfigProperty.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnDataIntegration( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class CfnDataIntegration( * @param fileConfiguration The configuration for what files should be pulled from the source. */ override fun fileConfiguration(fileConfiguration: IResolvable) { - cdkBuilder.fileConfiguration(fileConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fileConfiguration(fileConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnDataIntegration( * @param fileConfiguration The configuration for what files should be pulled from the source. */ override fun fileConfiguration(fileConfiguration: FileConfigurationProperty) { - cdkBuilder.fileConfiguration(fileConfiguration.let(FileConfigurationProperty::unwrap)) + cdkBuilder.fileConfiguration(fileConfiguration.let(FileConfigurationProperty.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnDataIntegration( * */ override fun scheduleConfig(scheduleConfig: IResolvable) { - cdkBuilder.scheduleConfig(scheduleConfig.let(IResolvable::unwrap)) + cdkBuilder.scheduleConfig(scheduleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnDataIntegration( * */ override fun scheduleConfig(scheduleConfig: ScheduleConfigProperty) { - cdkBuilder.scheduleConfig(scheduleConfig.let(ScheduleConfigProperty::unwrap)) + cdkBuilder.scheduleConfig(scheduleConfig.let(ScheduleConfigProperty.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnDataIntegration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegrationProps.kt index 3d2e68073d..c698b7982f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnDataIntegrationProps.kt @@ -211,7 +211,7 @@ public interface CfnDataIntegrationProps { * @param fileConfiguration The configuration for what files should be pulled from the source. */ override fun fileConfiguration(fileConfiguration: IResolvable) { - cdkBuilder.fileConfiguration(fileConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fileConfiguration(fileConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface CfnDataIntegrationProps { */ override fun fileConfiguration(fileConfiguration: CfnDataIntegration.FileConfigurationProperty) { - cdkBuilder.fileConfiguration(fileConfiguration.let(CfnDataIntegration.FileConfigurationProperty::unwrap)) + cdkBuilder.fileConfiguration(fileConfiguration.let(CfnDataIntegration.FileConfigurationProperty.Companion::unwrap)) } /** @@ -256,14 +256,14 @@ public interface CfnDataIntegrationProps { * @param scheduleConfig The name of the data and how often it should be pulled from the source. */ override fun scheduleConfig(scheduleConfig: IResolvable) { - cdkBuilder.scheduleConfig(scheduleConfig.let(IResolvable::unwrap)) + cdkBuilder.scheduleConfig(scheduleConfig.let(IResolvable.Companion::unwrap)) } /** * @param scheduleConfig The name of the data and how often it should be pulled from the source. */ override fun scheduleConfig(scheduleConfig: CfnDataIntegration.ScheduleConfigProperty) { - cdkBuilder.scheduleConfig(scheduleConfig.let(CfnDataIntegration.ScheduleConfigProperty::unwrap)) + cdkBuilder.scheduleConfig(scheduleConfig.let(CfnDataIntegration.ScheduleConfigProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnDataIntegrationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegration.kt index de3d815216..eb0f94eb2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegration.kt @@ -59,8 +59,8 @@ public open class CfnEventIntegration( id: String, props: CfnEventIntegrationProps, ) : - this(software.amazon.awscdk.services.appintegrations.CfnEventIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.appintegrations.CfnEventIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventIntegrationProps.Companion::unwrap)) ) public constructor( @@ -108,14 +108,14 @@ public open class CfnEventIntegration( * The event integration filter. */ public open fun eventFilter(`value`: IResolvable) { - unwrap(this).setEventFilter(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventFilter(`value`.let(IResolvable.Companion::unwrap)) } /** * The event integration filter. */ public open fun eventFilter(`value`: EventFilterProperty) { - unwrap(this).setEventFilter(`value`.let(EventFilterProperty::unwrap)) + unwrap(this).setEventFilter(`value`.let(EventFilterProperty.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnEventIntegration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnEventIntegration( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnEventIntegration( * @param eventFilter The event integration filter. */ override fun eventFilter(eventFilter: IResolvable) { - cdkBuilder.eventFilter(eventFilter.let(IResolvable::unwrap)) + cdkBuilder.eventFilter(eventFilter.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnEventIntegration( * @param eventFilter The event integration filter. */ override fun eventFilter(eventFilter: EventFilterProperty) { - cdkBuilder.eventFilter(eventFilter.let(EventFilterProperty::unwrap)) + cdkBuilder.eventFilter(eventFilter.let(EventFilterProperty.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnEventIntegration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegrationProps.kt index 2009f98052..5dedf30b42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appintegrations/CfnEventIntegrationProps.kt @@ -156,14 +156,14 @@ public interface CfnEventIntegrationProps { * @param eventFilter The event integration filter. */ override fun eventFilter(eventFilter: IResolvable) { - cdkBuilder.eventFilter(eventFilter.let(IResolvable::unwrap)) + cdkBuilder.eventFilter(eventFilter.let(IResolvable.Companion::unwrap)) } /** * @param eventFilter The event integration filter. */ override fun eventFilter(eventFilter: CfnEventIntegration.EventFilterProperty) { - cdkBuilder.eventFilter(eventFilter.let(CfnEventIntegration.EventFilterProperty::unwrap)) + cdkBuilder.eventFilter(eventFilter.let(CfnEventIntegration.EventFilterProperty.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnEventIntegrationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseScalableAttributeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseScalableAttributeProps.kt index 536a97d7a1..c11dec610d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseScalableAttributeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseScalableAttributeProps.kt @@ -126,14 +126,14 @@ public interface BaseScalableAttributeProps : EnableScalingProps { * @param role Role to use for scaling. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param serviceNamespace Service namespace of the scalable attribute. */ override fun serviceNamespace(serviceNamespace: ServiceNamespace) { - cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace::unwrap)) + cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseTargetTrackingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseTargetTrackingProps.kt index c3367d998b..773d8c825d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseTargetTrackingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BaseTargetTrackingProps.kt @@ -138,7 +138,7 @@ public interface BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicStepScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicStepScalingPolicyProps.kt index 95075b425e..716669f776 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicStepScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicStepScalingPolicyProps.kt @@ -197,7 +197,7 @@ public interface BasicStepScalingPolicyProps { * @param adjustmentType How the adjustment numbers inside 'intervals' are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface BasicStepScalingPolicyProps { * Subsequent scale ins during the cooldown period are ignored. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface BasicStepScalingPolicyProps { * @param metric Metric to scale on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface BasicStepScalingPolicyProps { * Only has meaning if `evaluationPeriods != 1`. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface BasicStepScalingPolicyProps { * Must be between 2 and 40 steps. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicTargetTrackingScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicTargetTrackingScalingPolicyProps.kt index e627af123c..0ba0036579 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicTargetTrackingScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/BasicTargetTrackingScalingPolicyProps.kt @@ -154,7 +154,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * Exactly one of customMetric or predefinedMetric must be specified. */ override fun customMetric(customMetric: IMetric) { - cdkBuilder.customMetric(customMetric.let(IMetric::unwrap)) + cdkBuilder.customMetric(customMetric.let(IMetric.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * Exactly one of customMetric or predefinedMetric must be specified. */ override fun predefinedMetric(predefinedMetric: PredefinedMetric) { - cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric::unwrap)) + cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTarget.kt index 1c642374c8..429256859d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTarget.kt @@ -80,8 +80,8 @@ public open class CfnScalableTarget( id: String, props: CfnScalableTargetProps, ) : - this(software.amazon.awscdk.services.applicationautoscaling.CfnScalableTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScalableTargetProps::unwrap)) + this(software.amazon.awscdk.services.applicationautoscaling.CfnScalableTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScalableTargetProps.Companion::unwrap)) ) public constructor( @@ -92,10 +92,7 @@ public open class CfnScalableTarget( ) /** - * This value can be returned by using the Ref function. * - * Ref returns the Cloudformation generated ID of the resource in format - - * ResourceId|ScalableDimension|ServiceNamespace */ public open fun attrId(): String = unwrap(this).getAttrId() @@ -105,7 +102,7 @@ public open class CfnScalableTarget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -179,7 +176,7 @@ public open class CfnScalableTarget( * The scheduled actions for the scalable target. */ public open fun scheduledActions(`value`: IResolvable) { - unwrap(this).setScheduledActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setScheduledActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +214,7 @@ public open class CfnScalableTarget( * resume automatic scaling. */ public open fun suspendedState(`value`: IResolvable) { - unwrap(this).setSuspendedState(`value`.let(IResolvable::unwrap)) + unwrap(this).setSuspendedState(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -225,7 +222,7 @@ public open class CfnScalableTarget( * resume automatic scaling. */ public open fun suspendedState(`value`: SuspendedStateProperty) { - unwrap(this).setSuspendedState(`value`.let(SuspendedStateProperty::unwrap)) + unwrap(this).setSuspendedState(`value`.let(SuspendedStateProperty.Companion::unwrap)) } /** @@ -679,7 +676,7 @@ public open class CfnScalableTarget( * @param scheduledActions The scheduled actions for the scalable target. */ override fun scheduledActions(scheduledActions: IResolvable) { - cdkBuilder.scheduledActions(scheduledActions.let(IResolvable::unwrap)) + cdkBuilder.scheduledActions(scheduledActions.let(IResolvable.Companion::unwrap)) } /** @@ -737,7 +734,7 @@ public open class CfnScalableTarget( * are used to suspend and resume automatic scaling. */ override fun suspendedState(suspendedState: IResolvable) { - cdkBuilder.suspendedState(suspendedState.let(IResolvable::unwrap)) + cdkBuilder.suspendedState(suspendedState.let(IResolvable.Companion::unwrap)) } /** @@ -761,7 +758,7 @@ public open class CfnScalableTarget( * are used to suspend and resume automatic scaling. */ override fun suspendedState(suspendedState: SuspendedStateProperty) { - cdkBuilder.suspendedState(suspendedState.let(SuspendedStateProperty::unwrap)) + cdkBuilder.suspendedState(suspendedState.let(SuspendedStateProperty.Companion::unwrap)) } /** @@ -1125,7 +1122,7 @@ public open class CfnScalableTarget( * @param endTime The date and time that the action is scheduled to end, in UTC. */ override fun endTime(endTime: IResolvable) { - cdkBuilder.endTime(endTime.let(IResolvable::unwrap)) + cdkBuilder.endTime(endTime.let(IResolvable.Companion::unwrap)) } /** @@ -1143,7 +1140,7 @@ public open class CfnScalableTarget( * maximum capacity. */ override fun scalableTargetAction(scalableTargetAction: IResolvable) { - cdkBuilder.scalableTargetAction(scalableTargetAction.let(IResolvable::unwrap)) + cdkBuilder.scalableTargetAction(scalableTargetAction.let(IResolvable.Companion::unwrap)) } /** @@ -1154,7 +1151,7 @@ public open class CfnScalableTarget( * maximum capacity. */ override fun scalableTargetAction(scalableTargetAction: ScalableTargetActionProperty) { - cdkBuilder.scalableTargetAction(scalableTargetAction.let(ScalableTargetActionProperty::unwrap)) + cdkBuilder.scalableTargetAction(scalableTargetAction.let(ScalableTargetActionProperty.Companion::unwrap)) } /** @@ -1205,7 +1202,7 @@ public open class CfnScalableTarget( * @param startTime The date and time that the action is scheduled to begin, in UTC. */ override fun startTime(startTime: IResolvable) { - cdkBuilder.startTime(startTime.let(IResolvable::unwrap)) + cdkBuilder.startTime(startTime.let(IResolvable.Companion::unwrap)) } /** @@ -1448,7 +1445,7 @@ public open class CfnScalableTarget( * a scaling policy is triggered. The default is `false` . */ override fun dynamicScalingInSuspended(dynamicScalingInSuspended: IResolvable) { - cdkBuilder.dynamicScalingInSuspended(dynamicScalingInSuspended.let(IResolvable::unwrap)) + cdkBuilder.dynamicScalingInSuspended(dynamicScalingInSuspended.let(IResolvable.Companion::unwrap)) } /** @@ -1468,7 +1465,7 @@ public open class CfnScalableTarget( * scaling policy is triggered. The default is `false` . */ override fun dynamicScalingOutSuspended(dynamicScalingOutSuspended: IResolvable) { - cdkBuilder.dynamicScalingOutSuspended(dynamicScalingOutSuspended.let(IResolvable::unwrap)) + cdkBuilder.dynamicScalingOutSuspended(dynamicScalingOutSuspended.let(IResolvable.Companion::unwrap)) } /** @@ -1486,7 +1483,7 @@ public open class CfnScalableTarget( * capacity by initiating scheduled actions. The default is `false` . */ override fun scheduledScalingSuspended(scheduledScalingSuspended: IResolvable) { - cdkBuilder.scheduledScalingSuspended(scheduledScalingSuspended.let(IResolvable::unwrap)) + cdkBuilder.scheduledScalingSuspended(scheduledScalingSuspended.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTargetProps.kt index 3eebc37e57..6531150c7c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalableTargetProps.kt @@ -592,7 +592,7 @@ public interface CfnScalableTargetProps { * Duplicates aren't allowed. */ override fun scheduledActions(scheduledActions: IResolvable) { - cdkBuilder.scheduledActions(scheduledActions.let(IResolvable::unwrap)) + cdkBuilder.scheduledActions(scheduledActions.let(IResolvable.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface CfnScalableTargetProps { * that involve scheduled actions are suspended. */ override fun suspendedState(suspendedState: IResolvable) { - cdkBuilder.suspendedState(suspendedState.let(IResolvable::unwrap)) + cdkBuilder.suspendedState(suspendedState.let(IResolvable.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public interface CfnScalableTargetProps { * that involve scheduled actions are suspended. */ override fun suspendedState(suspendedState: CfnScalableTarget.SuspendedStateProperty) { - cdkBuilder.suspendedState(suspendedState.let(CfnScalableTarget.SuspendedStateProperty::unwrap)) + cdkBuilder.suspendedState(suspendedState.let(CfnScalableTarget.SuspendedStateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicy.kt index 1e537c52fd..4864c12107 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicy.kt @@ -108,8 +108,8 @@ public open class CfnScalingPolicy( id: String, props: CfnScalingPolicyProps, ) : - this(software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScalingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScalingPolicyProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class CfnScalingPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,14 +219,14 @@ public open class CfnScalingPolicy( * A step scaling policy. */ public open fun stepScalingPolicyConfiguration(`value`: IResolvable) { - unwrap(this).setStepScalingPolicyConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setStepScalingPolicyConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A step scaling policy. */ public open fun stepScalingPolicyConfiguration(`value`: StepScalingPolicyConfigurationProperty) { - unwrap(this).setStepScalingPolicyConfiguration(`value`.let(StepScalingPolicyConfigurationProperty::unwrap)) + unwrap(this).setStepScalingPolicyConfiguration(`value`.let(StepScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnScalingPolicy( * A target tracking scaling policy. */ public open fun targetTrackingScalingPolicyConfiguration(`value`: IResolvable) { - unwrap(this).setTargetTrackingScalingPolicyConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetTrackingScalingPolicyConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnScalingPolicy( */ public open fun targetTrackingScalingPolicyConfiguration(`value`: TargetTrackingScalingPolicyConfigurationProperty) { - unwrap(this).setTargetTrackingScalingPolicyConfiguration(`value`.let(TargetTrackingScalingPolicyConfigurationProperty::unwrap)) + unwrap(this).setTargetTrackingScalingPolicyConfiguration(`value`.let(TargetTrackingScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public open class CfnScalingPolicy( * @param stepScalingPolicyConfiguration A step scaling policy. */ override fun stepScalingPolicyConfiguration(stepScalingPolicyConfiguration: IResolvable) { - cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnScalingPolicy( */ override fun stepScalingPolicyConfiguration(stepScalingPolicyConfiguration: StepScalingPolicyConfigurationProperty) { - cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(StepScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(StepScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public open class CfnScalingPolicy( */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: IResolvable) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public open class CfnScalingPolicy( */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: TargetTrackingScalingPolicyConfigurationProperty) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(TargetTrackingScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(TargetTrackingScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -989,7 +989,7 @@ public open class CfnScalingPolicy( * dimensions in your scaling policy. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public open class CfnScalingPolicy( * This can include both raw metric and metric math expressions. */ override fun metrics(metrics: IResolvable) { - cdkBuilder.metrics(metrics.let(IResolvable::unwrap)) + cdkBuilder.metrics(metrics.let(IResolvable.Companion::unwrap)) } /** @@ -1902,7 +1902,7 @@ public open class CfnScalingPolicy( * configuration. */ override fun stepAdjustments(stepAdjustments: IResolvable) { - cdkBuilder.stepAdjustments(stepAdjustments.let(IResolvable::unwrap)) + cdkBuilder.stepAdjustments(stepAdjustments.let(IResolvable.Companion::unwrap)) } /** @@ -2239,7 +2239,7 @@ public open class CfnScalingPolicy( * `MetricStat` , but not both. */ override fun metricStat(metricStat: IResolvable) { - cdkBuilder.metricStat(metricStat.let(IResolvable::unwrap)) + cdkBuilder.metricStat(metricStat.let(IResolvable.Companion::unwrap)) } /** @@ -2248,7 +2248,7 @@ public open class CfnScalingPolicy( * `MetricStat` , but not both. */ override fun metricStat(metricStat: TargetTrackingMetricStatProperty) { - cdkBuilder.metricStat(metricStat.let(TargetTrackingMetricStatProperty::unwrap)) + cdkBuilder.metricStat(metricStat.let(TargetTrackingMetricStatProperty.Companion::unwrap)) } /** @@ -2286,7 +2286,7 @@ public open class CfnScalingPolicy( * anything for `ReturnData` . This sets it to its default ( `true` ). */ override fun returnData(returnData: IResolvable) { - cdkBuilder.returnData(returnData.let(IResolvable::unwrap)) + cdkBuilder.returnData(returnData.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2623,7 +2623,7 @@ public open class CfnScalingPolicy( * dimensions in your scaling policy. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2878,7 +2878,7 @@ public open class CfnScalingPolicy( * . */ override fun metric(metric: IResolvable) { - cdkBuilder.metric(metric.let(IResolvable::unwrap)) + cdkBuilder.metric(metric.let(IResolvable.Companion::unwrap)) } /** @@ -2891,7 +2891,7 @@ public open class CfnScalingPolicy( * . */ override fun metric(metric: TargetTrackingMetricProperty) { - cdkBuilder.metric(metric.let(TargetTrackingMetricProperty::unwrap)) + cdkBuilder.metric(metric.let(TargetTrackingMetricProperty.Companion::unwrap)) } /** @@ -3237,7 +3237,7 @@ public open class CfnScalingPolicy( * You can specify either a predefined metric or a customized metric. */ override fun customizedMetricSpecification(customizedMetricSpecification: IResolvable) { - cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3246,7 +3246,7 @@ public open class CfnScalingPolicy( */ override fun customizedMetricSpecification(customizedMetricSpecification: CustomizedMetricSpecificationProperty) { - cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(CustomizedMetricSpecificationProperty::unwrap)) + cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(CustomizedMetricSpecificationProperty.Companion::unwrap)) } /** @@ -3281,7 +3281,7 @@ public open class CfnScalingPolicy( * `false` . */ override fun disableScaleIn(disableScaleIn: IResolvable) { - cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable::unwrap)) + cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable.Companion::unwrap)) } /** @@ -3289,7 +3289,7 @@ public open class CfnScalingPolicy( * You can specify either a predefined metric or a customized metric. */ override fun predefinedMetricSpecification(predefinedMetricSpecification: IResolvable) { - cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3298,7 +3298,7 @@ public open class CfnScalingPolicy( */ override fun predefinedMetricSpecification(predefinedMetricSpecification: PredefinedMetricSpecificationProperty) { - cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(PredefinedMetricSpecificationProperty::unwrap)) + cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(PredefinedMetricSpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicyProps.kt index cf655f6f48..56b07b49e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/CfnScalingPolicyProps.kt @@ -586,7 +586,7 @@ public interface CfnScalingPolicyProps { * @param stepScalingPolicyConfiguration A step scaling policy. */ override fun stepScalingPolicyConfiguration(stepScalingPolicyConfiguration: IResolvable) { - cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public interface CfnScalingPolicyProps { */ override fun stepScalingPolicyConfiguration(stepScalingPolicyConfiguration: CfnScalingPolicy.StepScalingPolicyConfigurationProperty) { - cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(CfnScalingPolicy.StepScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.stepScalingPolicyConfiguration(stepScalingPolicyConfiguration.let(CfnScalingPolicy.StepScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public interface CfnScalingPolicyProps { */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: IResolvable) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface CfnScalingPolicyProps { */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/IScalableTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/IScalableTarget.kt index 2ce86e628b..13b6eac654 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/IScalableTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/IScalableTarget.kt @@ -37,7 +37,7 @@ public interface IScalableTarget : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTarget.kt index 5f6acb9b7a..39ce9758a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTarget.kt @@ -42,8 +42,8 @@ public open class ScalableTarget( id: String, props: ScalableTargetProps, ) : - this(software.amazon.awscdk.services.applicationautoscaling.ScalableTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ScalableTargetProps::unwrap)) + this(software.amazon.awscdk.services.applicationautoscaling.ScalableTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ScalableTargetProps.Companion::unwrap)) ) public constructor( @@ -59,7 +59,7 @@ public open class ScalableTarget( * @param statement */ public open fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public open class ScalableTarget( */ public open fun scaleOnMetric(id: String, props: BasicStepScalingPolicyProps): StepScalingPolicy = unwrap(this).scaleOnMetric(id, - props.let(BasicStepScalingPolicyProps::unwrap)).let(StepScalingPolicy::wrap) + props.let(BasicStepScalingPolicyProps.Companion::unwrap)).let(StepScalingPolicy::wrap) /** * Scale out or in, in response to a metric. @@ -113,7 +113,7 @@ public open class ScalableTarget( * @param action */ public open fun scaleOnSchedule(id: String, action: ScalingSchedule) { - unwrap(this).scaleOnSchedule(id, action.let(ScalingSchedule::unwrap)) + unwrap(this).scaleOnSchedule(id, action.let(ScalingSchedule.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class ScalableTarget( */ public open fun scaleToTrackMetric(id: String, props: BasicTargetTrackingScalingPolicyProps): TargetTrackingScalingPolicy = unwrap(this).scaleToTrackMetric(id, - props.let(BasicTargetTrackingScalingPolicyProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(BasicTargetTrackingScalingPolicyProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in in order to keep a metric around a target value. @@ -274,7 +274,7 @@ public open class ScalableTarget( * @param role Role that allows Application Auto Scaling to modify your scalable target. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class ScalableTarget( * custom-resource for a resource provided by your own application or service. */ override fun serviceNamespace(serviceNamespace: ServiceNamespace) { - cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace::unwrap)) + cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.applicationautoscaling.ScalableTarget = @@ -316,7 +316,7 @@ public open class ScalableTarget( id: String, scalableTargetId: String, ): IScalableTarget = - software.amazon.awscdk.services.applicationautoscaling.ScalableTarget.fromScalableTargetId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.applicationautoscaling.ScalableTarget.fromScalableTargetId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, scalableTargetId).let(IScalableTarget::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTargetProps.kt index a69a048a60..4e41ea2d53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalableTargetProps.kt @@ -168,7 +168,7 @@ public interface ScalableTargetProps { * @param role Role that allows Application Auto Scaling to modify your scalable target. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface ScalableTargetProps { * action in the Application Auto Scaling API Reference. */ override fun serviceNamespace(serviceNamespace: ServiceNamespace) { - cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace::unwrap)) + cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.applicationautoscaling.ScalableTargetProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalingSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalingSchedule.kt index b1459b0970..1298bcbf7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalingSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/ScalingSchedule.kt @@ -177,7 +177,7 @@ public interface ScalingSchedule { * @param schedule When to perform this action. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface ScalingSchedule { * when the scheduled action uses an at or cron expression. */ override fun timeZone(timeZone: TimeZone) { - cdkBuilder.timeZone(timeZone.let(TimeZone::unwrap)) + cdkBuilder.timeZone(timeZone.let(TimeZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.applicationautoscaling.ScalingSchedule = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/Schedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/Schedule.kt index e839008a9b..8fa4b6f2f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/Schedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/Schedule.kt @@ -51,7 +51,7 @@ public abstract class Schedule( software.amazon.awscdk.services.applicationautoscaling.Schedule.at(moment).let(Schedule::wrap) public fun cron(options: CronOptions): Schedule = - software.amazon.awscdk.services.applicationautoscaling.Schedule.cron(options.let(CronOptions::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.applicationautoscaling.Schedule.cron(options.let(CronOptions.Companion::unwrap)).let(Schedule::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cc37d243eb40a26b390350f82df5c8784ed9081b5ef885cdfd0f5184b3fc1407") @@ -61,7 +61,7 @@ public abstract class Schedule( software.amazon.awscdk.services.applicationautoscaling.Schedule.expression(expression).let(Schedule::wrap) public fun rate(duration: Duration): Schedule = - software.amazon.awscdk.services.applicationautoscaling.Schedule.rate(duration.let(Duration::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.applicationautoscaling.Schedule.rate(duration.let(Duration.Companion::unwrap)).let(Schedule::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.applicationautoscaling.Schedule): Schedule = CdkObjectWrappers.wrap(cdkObject) as? Schedule ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingAction.kt index 65ee9db910..043556ed38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingAction.kt @@ -48,8 +48,8 @@ public open class StepScalingAction( id: String, props: StepScalingActionProps, ) : - this(software.amazon.awscdk.services.applicationautoscaling.StepScalingAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepScalingActionProps::unwrap)) + this(software.amazon.awscdk.services.applicationautoscaling.StepScalingAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepScalingActionProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class StepScalingAction( * @param adjustment */ public open fun addAdjustment(adjustment: AdjustmentTier) { - unwrap(this).addAdjustment(adjustment.let(AdjustmentTier::unwrap)) + unwrap(this).addAdjustment(adjustment.let(AdjustmentTier.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class StepScalingAction( * @param adjustmentType How the adjustment numbers are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class StepScalingAction( * @param cooldown Grace period after scaling activity. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class StepScalingAction( * @param metricAggregationType The aggregation type for the CloudWatch metrics. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class StepScalingAction( * @param scalingTarget The scalable target. */ override fun scalingTarget(scalingTarget: IScalableTarget) { - cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget::unwrap)) + cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.applicationautoscaling.StepScalingAction = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingActionProps.kt index 80dcb3bd40..f7d16bd735 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingActionProps.kt @@ -139,7 +139,7 @@ public interface StepScalingActionProps { * @param adjustmentType How the adjustment numbers are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -151,14 +151,14 @@ public interface StepScalingActionProps { * ignored. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** * @param metricAggregationType The aggregation type for the CloudWatch metrics. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public interface StepScalingActionProps { * @param scalingTarget The scalable target. */ override fun scalingTarget(scalingTarget: IScalableTarget) { - cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget::unwrap)) + cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicy.kt index 6fa625bdd8..f769c5a311 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicy.kt @@ -58,8 +58,8 @@ public open class StepScalingPolicy( id: String, props: StepScalingPolicyProps, ) : - this(software.amazon.awscdk.services.applicationautoscaling.StepScalingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepScalingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.applicationautoscaling.StepScalingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepScalingPolicyProps.Companion::unwrap)) ) public constructor( @@ -233,7 +233,7 @@ public open class StepScalingPolicy( * @param adjustmentType How the adjustment numbers inside 'intervals' are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class StepScalingPolicy( * @param cooldown Grace period after scaling activity. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class StepScalingPolicy( * @param metric Metric to scale on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class StepScalingPolicy( * periods. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class StepScalingPolicy( * @param scalingSteps The intervals for scaling. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class StepScalingPolicy( * @param scalingTarget The scaling target. */ override fun scalingTarget(scalingTarget: IScalableTarget) { - cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget::unwrap)) + cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.applicationautoscaling.StepScalingPolicy = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicyProps.kt index bf67fb1d2e..9328921d5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/StepScalingPolicyProps.kt @@ -138,7 +138,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * @param adjustmentType How the adjustment numbers inside 'intervals' are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * Subsequent scale ins during the cooldown period are ignored. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * @param metric Metric to scale on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * Only has meaning if `evaluationPeriods != 1`. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * Must be between 2 and 40 steps. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * @param scalingTarget The scaling target. */ override fun scalingTarget(scalingTarget: IScalableTarget) { - cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget::unwrap)) + cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicy.kt index 72e6a9a18a..bc338c82c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicy.kt @@ -46,8 +46,8 @@ public open class TargetTrackingScalingPolicy( id: String, props: TargetTrackingScalingPolicyProps, ) : - this(software.amazon.awscdk.services.applicationautoscaling.TargetTrackingScalingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TargetTrackingScalingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.applicationautoscaling.TargetTrackingScalingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TargetTrackingScalingPolicyProps.Companion::unwrap)) ) public constructor( @@ -198,7 +198,7 @@ public open class TargetTrackingScalingPolicy( * @param customMetric A custom metric for application autoscaling. */ override fun customMetric(customMetric: IMetric) { - cdkBuilder.customMetric(customMetric.let(IMetric::unwrap)) + cdkBuilder.customMetric(customMetric.let(IMetric.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class TargetTrackingScalingPolicy( * @param predefinedMetric A predefined metric for application autoscaling. */ override fun predefinedMetric(predefinedMetric: PredefinedMetric) { - cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric::unwrap)) + cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class TargetTrackingScalingPolicy( * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -291,14 +291,14 @@ public open class TargetTrackingScalingPolicy( * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** * @param scalingTarget */ override fun scalingTarget(scalingTarget: IScalableTarget) { - cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget::unwrap)) + cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicyProps.kt index f810e871f4..954130a44e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationautoscaling/TargetTrackingScalingPolicyProps.kt @@ -131,7 +131,7 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * Exactly one of customMetric or predefinedMetric must be specified. */ override fun customMetric(customMetric: IMetric) { - cdkBuilder.customMetric(customMetric.let(IMetric::unwrap)) + cdkBuilder.customMetric(customMetric.let(IMetric.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * Exactly one of customMetric or predefinedMetric must be specified. */ override fun predefinedMetric(predefinedMetric: PredefinedMetric) { - cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric::unwrap)) + cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -187,14 +187,14 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** * @param scalingTarget the value to be set. */ override fun scalingTarget(scalingTarget: IScalableTarget) { - cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget::unwrap)) + cdkBuilder.scalingTarget(scalingTarget.let(IScalableTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplication.kt index 5a84a52586..7216e96049 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplication.kt @@ -209,8 +209,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.applicationinsights.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.applicationinsights.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -239,7 +239,7 @@ public open class CfnApplication( * they are missing. */ public open fun attachMissingPermission(`value`: IResolvable) { - unwrap(this).setAttachMissingPermission(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttachMissingPermission(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnApplication( * configuration recommended by Application Insights. */ public open fun autoConfigurationEnabled(`value`: IResolvable) { - unwrap(this).setAutoConfigurationEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoConfigurationEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnApplication( * The monitoring settings of the components. */ public open fun componentMonitoringSettings(`value`: IResolvable) { - unwrap(this).setComponentMonitoringSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setComponentMonitoringSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnApplication( * Describes a custom component by grouping similar standalone instances to monitor. */ public open fun customComponents(`value`: IResolvable) { - unwrap(this).setCustomComponents(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomComponents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnApplication( * resources, such as `instance terminated` , `failed deployment` , and others. */ public open fun cweMonitorEnabled(`value`: IResolvable) { - unwrap(this).setCweMonitorEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setCweMonitorEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnApplication( * The log pattern sets. */ public open fun logPatternSets(`value`: IResolvable) { - unwrap(this).setLogPatternSets(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogPatternSets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnApplication( * Application Insights for an application. */ public open fun opsCenterEnabled(`value`: IResolvable) { - unwrap(this).setOpsCenterEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpsCenterEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnApplication( * An array of `Tags` . */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public open class CfnApplication( * attached to the instance roles if they are missing. */ override fun attachMissingPermission(attachMissingPermission: IResolvable) { - cdkBuilder.attachMissingPermission(attachMissingPermission.let(IResolvable::unwrap)) + cdkBuilder.attachMissingPermission(attachMissingPermission.let(IResolvable.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class CfnApplication( * configured with the monitoring configuration recommended by Application Insights. */ override fun autoConfigurationEnabled(autoConfigurationEnabled: IResolvable) { - cdkBuilder.autoConfigurationEnabled(autoConfigurationEnabled.let(IResolvable::unwrap)) + cdkBuilder.autoConfigurationEnabled(autoConfigurationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class CfnApplication( * @param componentMonitoringSettings The monitoring settings of the components. */ override fun componentMonitoringSettings(componentMonitoringSettings: IResolvable) { - cdkBuilder.componentMonitoringSettings(componentMonitoringSettings.let(IResolvable::unwrap)) + cdkBuilder.componentMonitoringSettings(componentMonitoringSettings.let(IResolvable.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class CfnApplication( * to monitor. */ override fun customComponents(customComponents: IResolvable) { - cdkBuilder.customComponents(customComponents.let(IResolvable::unwrap)) + cdkBuilder.customComponents(customComponents.let(IResolvable.Companion::unwrap)) } /** @@ -808,7 +808,7 @@ public open class CfnApplication( * others. */ override fun cweMonitorEnabled(cweMonitorEnabled: IResolvable) { - cdkBuilder.cweMonitorEnabled(cweMonitorEnabled.let(IResolvable::unwrap)) + cdkBuilder.cweMonitorEnabled(cweMonitorEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -832,7 +832,7 @@ public open class CfnApplication( * @param logPatternSets The log pattern sets. */ override fun logPatternSets(logPatternSets: IResolvable) { - cdkBuilder.logPatternSets(logPatternSets.let(IResolvable::unwrap)) + cdkBuilder.logPatternSets(logPatternSets.let(IResolvable.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public open class CfnApplication( * problem that is detected by Application Insights for an application. */ override fun opsCenterEnabled(opsCenterEnabled: IResolvable) { - cdkBuilder.opsCenterEnabled(opsCenterEnabled.let(IResolvable::unwrap)) + cdkBuilder.opsCenterEnabled(opsCenterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnApplication( * @param tags An array of `Tags` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1300,14 +1300,14 @@ public open class CfnApplication( * @param configurationDetails The configuration settings. */ override fun configurationDetails(configurationDetails: IResolvable) { - cdkBuilder.configurationDetails(configurationDetails.let(IResolvable::unwrap)) + cdkBuilder.configurationDetails(configurationDetails.let(IResolvable.Companion::unwrap)) } /** * @param configurationDetails The configuration settings. */ override fun configurationDetails(configurationDetails: ConfigurationDetailsProperty) { - cdkBuilder.configurationDetails(configurationDetails.let(ConfigurationDetailsProperty::unwrap)) + cdkBuilder.configurationDetails(configurationDetails.let(ConfigurationDetailsProperty.Companion::unwrap)) } /** @@ -1323,7 +1323,7 @@ public open class CfnApplication( * @param subComponentTypeConfigurations Sub-component configurations of the component. */ override fun subComponentTypeConfigurations(subComponentTypeConfigurations: IResolvable) { - cdkBuilder.subComponentTypeConfigurations(subComponentTypeConfigurations.let(IResolvable::unwrap)) + cdkBuilder.subComponentTypeConfigurations(subComponentTypeConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1725,7 +1725,7 @@ public open class CfnApplication( * Required if CUSTOM mode is configured in `ComponentConfigurationMode` . */ override fun customComponentConfiguration(customComponentConfiguration: IResolvable) { - cdkBuilder.customComponentConfiguration(customComponentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customComponentConfiguration(customComponentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1734,7 +1734,7 @@ public open class CfnApplication( */ override fun customComponentConfiguration(customComponentConfiguration: ComponentConfigurationProperty) { - cdkBuilder.customComponentConfiguration(customComponentConfiguration.let(ComponentConfigurationProperty::unwrap)) + cdkBuilder.customComponentConfiguration(customComponentConfiguration.let(ComponentConfigurationProperty.Companion::unwrap)) } /** @@ -1754,7 +1754,7 @@ public open class CfnApplication( */ override fun defaultOverwriteComponentConfiguration(defaultOverwriteComponentConfiguration: IResolvable) { - cdkBuilder.defaultOverwriteComponentConfiguration(defaultOverwriteComponentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultOverwriteComponentConfiguration(defaultOverwriteComponentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1763,7 +1763,7 @@ public open class CfnApplication( */ override fun defaultOverwriteComponentConfiguration(defaultOverwriteComponentConfiguration: ComponentConfigurationProperty) { - cdkBuilder.defaultOverwriteComponentConfiguration(defaultOverwriteComponentConfiguration.let(ComponentConfigurationProperty::unwrap)) + cdkBuilder.defaultOverwriteComponentConfiguration(defaultOverwriteComponentConfiguration.let(ComponentConfigurationProperty.Companion::unwrap)) } /** @@ -2138,7 +2138,7 @@ public open class CfnApplication( * All component types can use `AlarmMetrics` . */ override fun alarmMetrics(alarmMetrics: IResolvable) { - cdkBuilder.alarmMetrics(alarmMetrics.let(IResolvable::unwrap)) + cdkBuilder.alarmMetrics(alarmMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -2161,7 +2161,7 @@ public open class CfnApplication( * All component types can use `Alarm` . */ override fun alarms(alarms: IResolvable) { - cdkBuilder.alarms(alarms.let(IResolvable::unwrap)) + cdkBuilder.alarms(alarms.let(IResolvable.Companion::unwrap)) } /** @@ -2182,7 +2182,7 @@ public open class CfnApplication( * @param haClusterPrometheusExporter The HA cluster Prometheus Exporter settings. */ override fun haClusterPrometheusExporter(haClusterPrometheusExporter: IResolvable) { - cdkBuilder.haClusterPrometheusExporter(haClusterPrometheusExporter.let(IResolvable::unwrap)) + cdkBuilder.haClusterPrometheusExporter(haClusterPrometheusExporter.let(IResolvable.Companion::unwrap)) } /** @@ -2190,7 +2190,7 @@ public open class CfnApplication( */ override fun haClusterPrometheusExporter(haClusterPrometheusExporter: HAClusterPrometheusExporterProperty) { - cdkBuilder.haClusterPrometheusExporter(haClusterPrometheusExporter.let(HAClusterPrometheusExporterProperty::unwrap)) + cdkBuilder.haClusterPrometheusExporter(haClusterPrometheusExporter.let(HAClusterPrometheusExporterProperty.Companion::unwrap)) } /** @@ -2207,14 +2207,14 @@ public open class CfnApplication( * @param hanaPrometheusExporter The HANA DB Prometheus Exporter settings. */ override fun hanaPrometheusExporter(hanaPrometheusExporter: IResolvable) { - cdkBuilder.hanaPrometheusExporter(hanaPrometheusExporter.let(IResolvable::unwrap)) + cdkBuilder.hanaPrometheusExporter(hanaPrometheusExporter.let(IResolvable.Companion::unwrap)) } /** * @param hanaPrometheusExporter The HANA DB Prometheus Exporter settings. */ override fun hanaPrometheusExporter(hanaPrometheusExporter: HANAPrometheusExporterProperty) { - cdkBuilder.hanaPrometheusExporter(hanaPrometheusExporter.let(HANAPrometheusExporterProperty::unwrap)) + cdkBuilder.hanaPrometheusExporter(hanaPrometheusExporter.let(HANAPrometheusExporterProperty.Companion::unwrap)) } /** @@ -2230,14 +2230,14 @@ public open class CfnApplication( * @param jmxPrometheusExporter A list of Java metrics to monitor for the component. */ override fun jmxPrometheusExporter(jmxPrometheusExporter: IResolvable) { - cdkBuilder.jmxPrometheusExporter(jmxPrometheusExporter.let(IResolvable::unwrap)) + cdkBuilder.jmxPrometheusExporter(jmxPrometheusExporter.let(IResolvable.Companion::unwrap)) } /** * @param jmxPrometheusExporter A list of Java metrics to monitor for the component. */ override fun jmxPrometheusExporter(jmxPrometheusExporter: JMXPrometheusExporterProperty) { - cdkBuilder.jmxPrometheusExporter(jmxPrometheusExporter.let(JMXPrometheusExporterProperty::unwrap)) + cdkBuilder.jmxPrometheusExporter(jmxPrometheusExporter.let(JMXPrometheusExporterProperty.Companion::unwrap)) } /** @@ -2254,7 +2254,7 @@ public open class CfnApplication( * Only Amazon EC2 instances can use `Logs` . */ override fun logs(logs: IResolvable) { - cdkBuilder.logs(logs.let(IResolvable::unwrap)) + cdkBuilder.logs(logs.let(IResolvable.Companion::unwrap)) } /** @@ -2276,7 +2276,7 @@ public open class CfnApplication( * Only Amazon EC2 instances running on Windows can use `WindowsEvents` . */ override fun windowsEvents(windowsEvents: IResolvable) { - cdkBuilder.windowsEvents(windowsEvents.let(IResolvable::unwrap)) + cdkBuilder.windowsEvents(windowsEvents.let(IResolvable.Companion::unwrap)) } /** @@ -2724,7 +2724,7 @@ public open class CfnApplication( * client. */ override fun agreeToInstallHanadbClient(agreeToInstallHanadbClient: IResolvable) { - cdkBuilder.agreeToInstallHanadbClient(agreeToInstallHanadbClient.let(IResolvable::unwrap)) + cdkBuilder.agreeToInstallHanadbClient(agreeToInstallHanadbClient.let(IResolvable.Companion::unwrap)) } /** @@ -3215,7 +3215,7 @@ public open class CfnApplication( * `LogPatternSet` . */ override fun logPatterns(logPatterns: IResolvable) { - cdkBuilder.logPatterns(logPatterns.let(IResolvable::unwrap)) + cdkBuilder.logPatterns(logPatterns.let(IResolvable.Companion::unwrap)) } /** @@ -3689,7 +3689,7 @@ public open class CfnApplication( * All component types can use `AlarmMetrics` . */ override fun alarmMetrics(alarmMetrics: IResolvable) { - cdkBuilder.alarmMetrics(alarmMetrics.let(IResolvable::unwrap)) + cdkBuilder.alarmMetrics(alarmMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -3712,7 +3712,7 @@ public open class CfnApplication( * Only Amazon EC2 instances can use `Logs` . */ override fun logs(logs: IResolvable) { - cdkBuilder.logs(logs.let(IResolvable::unwrap)) + cdkBuilder.logs(logs.let(IResolvable.Companion::unwrap)) } /** @@ -3734,7 +3734,7 @@ public open class CfnApplication( * Only Amazon EC2 instances running on Windows can use `WindowsEvents` . */ override fun windowsEvents(windowsEvents: IResolvable) { - cdkBuilder.windowsEvents(windowsEvents.let(IResolvable::unwrap)) + cdkBuilder.windowsEvents(windowsEvents.let(IResolvable.Companion::unwrap)) } /** @@ -3900,7 +3900,7 @@ public open class CfnApplication( * @param subComponentConfigurationDetails The configuration settings of the sub-components. */ override fun subComponentConfigurationDetails(subComponentConfigurationDetails: IResolvable) { - cdkBuilder.subComponentConfigurationDetails(subComponentConfigurationDetails.let(IResolvable::unwrap)) + cdkBuilder.subComponentConfigurationDetails(subComponentConfigurationDetails.let(IResolvable.Companion::unwrap)) } /** @@ -3908,7 +3908,7 @@ public open class CfnApplication( */ override fun subComponentConfigurationDetails(subComponentConfigurationDetails: SubComponentConfigurationDetailsProperty) { - cdkBuilder.subComponentConfigurationDetails(subComponentConfigurationDetails.let(SubComponentConfigurationDetailsProperty::unwrap)) + cdkBuilder.subComponentConfigurationDetails(subComponentConfigurationDetails.let(SubComponentConfigurationDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplicationProps.kt index d388f7f251..1600151abe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/applicationinsights/CfnApplicationProps.kt @@ -428,7 +428,7 @@ public interface CfnApplicationProps { * attached to the instance roles if they are missing. */ override fun attachMissingPermission(attachMissingPermission: IResolvable) { - cdkBuilder.attachMissingPermission(attachMissingPermission.let(IResolvable::unwrap)) + cdkBuilder.attachMissingPermission(attachMissingPermission.let(IResolvable.Companion::unwrap)) } /** @@ -444,14 +444,14 @@ public interface CfnApplicationProps { * configured with the monitoring configuration recommended by Application Insights. */ override fun autoConfigurationEnabled(autoConfigurationEnabled: IResolvable) { - cdkBuilder.autoConfigurationEnabled(autoConfigurationEnabled.let(IResolvable::unwrap)) + cdkBuilder.autoConfigurationEnabled(autoConfigurationEnabled.let(IResolvable.Companion::unwrap)) } /** * @param componentMonitoringSettings The monitoring settings of the components. */ override fun componentMonitoringSettings(componentMonitoringSettings: IResolvable) { - cdkBuilder.componentMonitoringSettings(componentMonitoringSettings.let(IResolvable::unwrap)) + cdkBuilder.componentMonitoringSettings(componentMonitoringSettings.let(IResolvable.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public interface CfnApplicationProps { * to monitor. */ override fun customComponents(customComponents: IResolvable) { - cdkBuilder.customComponents(customComponents.let(IResolvable::unwrap)) + cdkBuilder.customComponents(customComponents.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public interface CfnApplicationProps { * others. */ override fun cweMonitorEnabled(cweMonitorEnabled: IResolvable) { - cdkBuilder.cweMonitorEnabled(cweMonitorEnabled.let(IResolvable::unwrap)) + cdkBuilder.cweMonitorEnabled(cweMonitorEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnApplicationProps { * @param logPatternSets The log pattern sets. */ override fun logPatternSets(logPatternSets: IResolvable) { - cdkBuilder.logPatternSets(logPatternSets.let(IResolvable::unwrap)) + cdkBuilder.logPatternSets(logPatternSets.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface CfnApplicationProps { * problem that is detected by Application Insights for an application. */ override fun opsCenterEnabled(opsCenterEnabled: IResolvable) { - cdkBuilder.opsCenterEnabled(opsCenterEnabled.let(IResolvable::unwrap)) + cdkBuilder.opsCenterEnabled(opsCenterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public interface CfnApplicationProps { * @param tags An array of `Tags` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLog.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLog.kt index b0b3d2b421..5597e68123 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLog.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLog.kt @@ -48,7 +48,7 @@ public abstract class AccessLog( * @param scope */ public open fun bind(scope: Construct): AccessLogConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(AccessLogConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(AccessLogConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.AccessLog, @@ -60,7 +60,7 @@ public abstract class AccessLog( public fun fromFilePath(filePath: String, loggingFormat: LoggingFormat): AccessLog = software.amazon.awscdk.services.appmesh.AccessLog.fromFilePath(filePath, - loggingFormat.let(LoggingFormat::unwrap)).let(AccessLog::wrap) + loggingFormat.let(LoggingFormat.Companion::unwrap)).let(AccessLog::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.appmesh.AccessLog): AccessLog = CdkObjectWrappers.wrap(cdkObject) as? AccessLog ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLogConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLogConfig.kt index 9e9ea1a1ae..27e13b6792 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLogConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/AccessLogConfig.kt @@ -106,7 +106,7 @@ public interface AccessLogConfig { */ override fun virtualGatewayAccessLog(virtualGatewayAccessLog: CfnVirtualGateway.VirtualGatewayAccessLogProperty) { - cdkBuilder.virtualGatewayAccessLog(virtualGatewayAccessLog.let(CfnVirtualGateway.VirtualGatewayAccessLogProperty::unwrap)) + cdkBuilder.virtualGatewayAccessLog(virtualGatewayAccessLog.let(CfnVirtualGateway.VirtualGatewayAccessLogProperty.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface AccessLogConfig { * @param virtualNodeAccessLog VirtualNode CFN configuration for Access Logging. */ override fun virtualNodeAccessLog(virtualNodeAccessLog: CfnVirtualNode.AccessLogProperty) { - cdkBuilder.virtualNodeAccessLog(virtualNodeAccessLog.let(CfnVirtualNode.AccessLogProperty::unwrap)) + cdkBuilder.virtualNodeAccessLog(virtualNodeAccessLog.let(CfnVirtualNode.AccessLogProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Backend.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Backend.kt index 54926c3e94..f3128434b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Backend.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Backend.kt @@ -51,7 +51,7 @@ public abstract class Backend( * @param _scope */ public open fun bind(scope: Construct): BackendConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(BackendConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(BackendConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.Backend, @@ -59,12 +59,12 @@ public abstract class Backend( public companion object { public fun virtualService(virtualService: IVirtualService): Backend = - software.amazon.awscdk.services.appmesh.Backend.virtualService(virtualService.let(IVirtualService::unwrap)).let(Backend::wrap) + software.amazon.awscdk.services.appmesh.Backend.virtualService(virtualService.let(IVirtualService.Companion::unwrap)).let(Backend::wrap) public fun virtualService(virtualService: IVirtualService, props: VirtualServiceBackendOptions): Backend = - software.amazon.awscdk.services.appmesh.Backend.virtualService(virtualService.let(IVirtualService::unwrap), - props.let(VirtualServiceBackendOptions::unwrap)).let(Backend::wrap) + software.amazon.awscdk.services.appmesh.Backend.virtualService(virtualService.let(IVirtualService.Companion::unwrap), + props.let(VirtualServiceBackendOptions.Companion::unwrap)).let(Backend::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1f9675289bd0bd999bf67bfd1bbd1b319fa2b042f6ddd5a2d2039ac9f8c433e3") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendConfig.kt index beed6394b2..559d198d62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendConfig.kt @@ -95,7 +95,7 @@ public interface BackendConfig { * @param virtualServiceBackend Config for a Virtual Service backend. */ override fun virtualServiceBackend(virtualServiceBackend: CfnVirtualNode.BackendProperty) { - cdkBuilder.virtualServiceBackend(virtualServiceBackend.let(CfnVirtualNode.BackendProperty::unwrap)) + cdkBuilder.virtualServiceBackend(virtualServiceBackend.let(CfnVirtualNode.BackendProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendDefaults.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendDefaults.kt index a69b78836a..d04a91e3a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendDefaults.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/BackendDefaults.kt @@ -79,7 +79,7 @@ public interface BackendDefaults { * @param tlsClientPolicy TLS properties for Client policy for backend defaults. */ override fun tlsClientPolicy(tlsClientPolicy: TlsClientPolicy) { - cdkBuilder.tlsClientPolicy(tlsClientPolicy.let(TlsClientPolicy::unwrap)) + cdkBuilder.tlsClientPolicy(tlsClientPolicy.let(TlsClientPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRoute.kt index 0d02cfbbef..f43049c532 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRoute.kt @@ -221,8 +221,8 @@ public open class CfnGatewayRoute( id: String, props: CfnGatewayRouteProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnGatewayRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGatewayRouteProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnGatewayRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGatewayRouteProps.Companion::unwrap)) ) public constructor( @@ -298,7 +298,7 @@ public open class CfnGatewayRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -334,14 +334,14 @@ public open class CfnGatewayRoute( * The specifications of the gateway route. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The specifications of the gateway route. */ public open fun spec(`value`: GatewayRouteSpecProperty) { - unwrap(this).setSpec(`value`.let(GatewayRouteSpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(GatewayRouteSpecProperty.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnGatewayRoute( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnGatewayRoute( * @param spec The specifications of the gateway route. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnGatewayRoute( * @param spec The specifications of the gateway route. */ override fun spec(spec: GatewayRouteSpecProperty) { - cdkBuilder.spec(spec.let(GatewayRouteSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(GatewayRouteSpecProperty.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnGatewayRoute( * categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -944,14 +944,14 @@ public open class CfnGatewayRoute( * @param range An object that represents the range of values to match on. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range An object that represents the range of values to match on. */ override fun range(range: GatewayRouteRangeMatchProperty) { - cdkBuilder.range(range.let(GatewayRouteRangeMatchProperty::unwrap)) + cdkBuilder.range(range.let(GatewayRouteRangeMatchProperty.Companion::unwrap)) } /** @@ -1428,14 +1428,14 @@ public open class CfnGatewayRoute( * @param grpcRoute An object that represents the specification of a gRPC gateway route. */ override fun grpcRoute(grpcRoute: IResolvable) { - cdkBuilder.grpcRoute(grpcRoute.let(IResolvable::unwrap)) + cdkBuilder.grpcRoute(grpcRoute.let(IResolvable.Companion::unwrap)) } /** * @param grpcRoute An object that represents the specification of a gRPC gateway route. */ override fun grpcRoute(grpcRoute: GrpcGatewayRouteProperty) { - cdkBuilder.grpcRoute(grpcRoute.let(GrpcGatewayRouteProperty::unwrap)) + cdkBuilder.grpcRoute(grpcRoute.let(GrpcGatewayRouteProperty.Companion::unwrap)) } /** @@ -1450,14 +1450,14 @@ public open class CfnGatewayRoute( * @param http2Route An object that represents the specification of an HTTP/2 gateway route. */ override fun http2Route(http2Route: IResolvable) { - cdkBuilder.http2Route(http2Route.let(IResolvable::unwrap)) + cdkBuilder.http2Route(http2Route.let(IResolvable.Companion::unwrap)) } /** * @param http2Route An object that represents the specification of an HTTP/2 gateway route. */ override fun http2Route(http2Route: HttpGatewayRouteProperty) { - cdkBuilder.http2Route(http2Route.let(HttpGatewayRouteProperty::unwrap)) + cdkBuilder.http2Route(http2Route.let(HttpGatewayRouteProperty.Companion::unwrap)) } /** @@ -1472,14 +1472,14 @@ public open class CfnGatewayRoute( * @param httpRoute An object that represents the specification of an HTTP gateway route. */ override fun httpRoute(httpRoute: IResolvable) { - cdkBuilder.httpRoute(httpRoute.let(IResolvable::unwrap)) + cdkBuilder.httpRoute(httpRoute.let(IResolvable.Companion::unwrap)) } /** * @param httpRoute An object that represents the specification of an HTTP gateway route. */ override fun httpRoute(httpRoute: HttpGatewayRouteProperty) { - cdkBuilder.httpRoute(httpRoute.let(HttpGatewayRouteProperty::unwrap)) + cdkBuilder.httpRoute(httpRoute.let(HttpGatewayRouteProperty.Companion::unwrap)) } /** @@ -1633,14 +1633,14 @@ public open class CfnGatewayRoute( * @param virtualService An object that represents a virtual service gateway route target. */ override fun virtualService(virtualService: IResolvable) { - cdkBuilder.virtualService(virtualService.let(IResolvable::unwrap)) + cdkBuilder.virtualService(virtualService.let(IResolvable.Companion::unwrap)) } /** * @param virtualService An object that represents a virtual service gateway route target. */ override fun virtualService(virtualService: GatewayRouteVirtualServiceProperty) { - cdkBuilder.virtualService(virtualService.let(GatewayRouteVirtualServiceProperty::unwrap)) + cdkBuilder.virtualService(virtualService.let(GatewayRouteVirtualServiceProperty.Companion::unwrap)) } /** @@ -1875,14 +1875,14 @@ public open class CfnGatewayRoute( * @param rewrite The gateway route action to rewrite. */ override fun rewrite(rewrite: IResolvable) { - cdkBuilder.rewrite(rewrite.let(IResolvable::unwrap)) + cdkBuilder.rewrite(rewrite.let(IResolvable.Companion::unwrap)) } /** * @param rewrite The gateway route action to rewrite. */ override fun rewrite(rewrite: GrpcGatewayRouteRewriteProperty) { - cdkBuilder.rewrite(rewrite.let(GrpcGatewayRouteRewriteProperty::unwrap)) + cdkBuilder.rewrite(rewrite.let(GrpcGatewayRouteRewriteProperty.Companion::unwrap)) } /** @@ -1898,7 +1898,7 @@ public open class CfnGatewayRoute( * matches the gateway route. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** @@ -1906,7 +1906,7 @@ public open class CfnGatewayRoute( * matches the gateway route. */ override fun target(target: GatewayRouteTargetProperty) { - cdkBuilder.target(target.let(GatewayRouteTargetProperty::unwrap)) + cdkBuilder.target(target.let(GatewayRouteTargetProperty.Companion::unwrap)) } /** @@ -2085,14 +2085,14 @@ public open class CfnGatewayRoute( * @param hostname The gateway route host name to be matched on. */ override fun hostname(hostname: IResolvable) { - cdkBuilder.hostname(hostname.let(IResolvable::unwrap)) + cdkBuilder.hostname(hostname.let(IResolvable.Companion::unwrap)) } /** * @param hostname The gateway route host name to be matched on. */ override fun hostname(hostname: GatewayRouteHostnameMatchProperty) { - cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatchProperty::unwrap)) + cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatchProperty.Companion::unwrap)) } /** @@ -2107,7 +2107,7 @@ public open class CfnGatewayRoute( * @param metadata The gateway route metadata to be matched on. */ override fun metadata(metadata: IResolvable) { - cdkBuilder.metadata(metadata.let(IResolvable::unwrap)) + cdkBuilder.metadata(metadata.let(IResolvable.Companion::unwrap)) } /** @@ -2304,21 +2304,21 @@ public open class CfnGatewayRoute( * The default value is `False` . */ override fun invert(invert: IResolvable) { - cdkBuilder.invert(invert.let(IResolvable::unwrap)) + cdkBuilder.invert(invert.let(IResolvable.Companion::unwrap)) } /** * @param match The criteria for determining a metadata match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The criteria for determining a metadata match. */ override fun match(match: GatewayRouteMetadataMatchProperty) { - cdkBuilder.match(match.let(GatewayRouteMetadataMatchProperty::unwrap)) + cdkBuilder.match(match.let(GatewayRouteMetadataMatchProperty.Companion::unwrap)) } /** @@ -2503,14 +2503,14 @@ public open class CfnGatewayRoute( * @param action An object that represents the action to take if a match is determined. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action An object that represents the action to take if a match is determined. */ override fun action(action: GrpcGatewayRouteActionProperty) { - cdkBuilder.action(action.let(GrpcGatewayRouteActionProperty::unwrap)) + cdkBuilder.action(action.let(GrpcGatewayRouteActionProperty.Companion::unwrap)) } /** @@ -2525,14 +2525,14 @@ public open class CfnGatewayRoute( * @param match An object that represents the criteria for determining a request match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a request match. */ override fun match(match: GrpcGatewayRouteMatchProperty) { - cdkBuilder.match(match.let(GrpcGatewayRouteMatchProperty::unwrap)) + cdkBuilder.match(match.let(GrpcGatewayRouteMatchProperty.Companion::unwrap)) } /** @@ -2644,14 +2644,14 @@ public open class CfnGatewayRoute( * @param hostname The host name of the gateway route to rewrite. */ override fun hostname(hostname: IResolvable) { - cdkBuilder.hostname(hostname.let(IResolvable::unwrap)) + cdkBuilder.hostname(hostname.let(IResolvable.Companion::unwrap)) } /** * @param hostname The host name of the gateway route to rewrite. */ override fun hostname(hostname: GatewayRouteHostnameRewriteProperty) { - cdkBuilder.hostname(hostname.let(GatewayRouteHostnameRewriteProperty::unwrap)) + cdkBuilder.hostname(hostname.let(GatewayRouteHostnameRewriteProperty.Companion::unwrap)) } /** @@ -2801,14 +2801,14 @@ public open class CfnGatewayRoute( * @param rewrite The gateway route action to rewrite. */ override fun rewrite(rewrite: IResolvable) { - cdkBuilder.rewrite(rewrite.let(IResolvable::unwrap)) + cdkBuilder.rewrite(rewrite.let(IResolvable.Companion::unwrap)) } /** * @param rewrite The gateway route action to rewrite. */ override fun rewrite(rewrite: HttpGatewayRouteRewriteProperty) { - cdkBuilder.rewrite(rewrite.let(HttpGatewayRouteRewriteProperty::unwrap)) + cdkBuilder.rewrite(rewrite.let(HttpGatewayRouteRewriteProperty.Companion::unwrap)) } /** @@ -2824,7 +2824,7 @@ public open class CfnGatewayRoute( * matches the gateway route. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** @@ -2832,7 +2832,7 @@ public open class CfnGatewayRoute( * matches the gateway route. */ override fun target(target: GatewayRouteTargetProperty) { - cdkBuilder.target(target.let(GatewayRouteTargetProperty::unwrap)) + cdkBuilder.target(target.let(GatewayRouteTargetProperty.Companion::unwrap)) } /** @@ -3016,14 +3016,14 @@ public open class CfnGatewayRoute( * @param range An object that represents the range of values to match on. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range An object that represents the range of values to match on. */ override fun range(range: GatewayRouteRangeMatchProperty) { - cdkBuilder.range(range.let(GatewayRouteRangeMatchProperty::unwrap)) + cdkBuilder.range(range.let(GatewayRouteRangeMatchProperty.Companion::unwrap)) } /** @@ -3232,7 +3232,7 @@ public open class CfnGatewayRoute( * The default value is `False` . */ override fun invert(invert: IResolvable) { - cdkBuilder.invert(invert.let(IResolvable::unwrap)) + cdkBuilder.invert(invert.let(IResolvable.Companion::unwrap)) } /** @@ -3241,7 +3241,7 @@ public open class CfnGatewayRoute( * Specify one match method. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** @@ -3250,7 +3250,7 @@ public open class CfnGatewayRoute( * Specify one match method. */ override fun match(match: HttpGatewayRouteHeaderMatchProperty) { - cdkBuilder.match(match.let(HttpGatewayRouteHeaderMatchProperty::unwrap)) + cdkBuilder.match(match.let(HttpGatewayRouteHeaderMatchProperty.Companion::unwrap)) } /** @@ -3526,7 +3526,7 @@ public open class CfnGatewayRoute( * @param headers The client request headers to match on. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -3545,14 +3545,14 @@ public open class CfnGatewayRoute( * @param hostname The host name to match on. */ override fun hostname(hostname: IResolvable) { - cdkBuilder.hostname(hostname.let(IResolvable::unwrap)) + cdkBuilder.hostname(hostname.let(IResolvable.Companion::unwrap)) } /** * @param hostname The host name to match on. */ override fun hostname(hostname: GatewayRouteHostnameMatchProperty) { - cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatchProperty::unwrap)) + cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatchProperty.Companion::unwrap)) } /** @@ -3574,14 +3574,14 @@ public open class CfnGatewayRoute( * @param path The path to match on. */ override fun path(path: IResolvable) { - cdkBuilder.path(path.let(IResolvable::unwrap)) + cdkBuilder.path(path.let(IResolvable.Companion::unwrap)) } /** * @param path The path to match on. */ override fun path(path: HttpPathMatchProperty) { - cdkBuilder.path(path.let(HttpPathMatchProperty::unwrap)) + cdkBuilder.path(path.let(HttpPathMatchProperty.Companion::unwrap)) } /** @@ -3614,7 +3614,7 @@ public open class CfnGatewayRoute( * @param queryParameters The query parameter to match on. */ override fun queryParameters(queryParameters: IResolvable) { - cdkBuilder.queryParameters(queryParameters.let(IResolvable::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(IResolvable.Companion::unwrap)) } /** @@ -4044,14 +4044,14 @@ public open class CfnGatewayRoute( * @param action An object that represents the action to take if a match is determined. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action An object that represents the action to take if a match is determined. */ override fun action(action: HttpGatewayRouteActionProperty) { - cdkBuilder.action(action.let(HttpGatewayRouteActionProperty::unwrap)) + cdkBuilder.action(action.let(HttpGatewayRouteActionProperty.Companion::unwrap)) } /** @@ -4066,14 +4066,14 @@ public open class CfnGatewayRoute( * @param match An object that represents the criteria for determining a request match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a request match. */ override fun match(match: HttpGatewayRouteMatchProperty) { - cdkBuilder.match(match.let(HttpGatewayRouteMatchProperty::unwrap)) + cdkBuilder.match(match.let(HttpGatewayRouteMatchProperty.Companion::unwrap)) } /** @@ -4240,14 +4240,14 @@ public open class CfnGatewayRoute( * @param hostname The host name to rewrite. */ override fun hostname(hostname: IResolvable) { - cdkBuilder.hostname(hostname.let(IResolvable::unwrap)) + cdkBuilder.hostname(hostname.let(IResolvable.Companion::unwrap)) } /** * @param hostname The host name to rewrite. */ override fun hostname(hostname: GatewayRouteHostnameRewriteProperty) { - cdkBuilder.hostname(hostname.let(GatewayRouteHostnameRewriteProperty::unwrap)) + cdkBuilder.hostname(hostname.let(GatewayRouteHostnameRewriteProperty.Companion::unwrap)) } /** @@ -4262,14 +4262,14 @@ public open class CfnGatewayRoute( * @param path The path to rewrite. */ override fun path(path: IResolvable) { - cdkBuilder.path(path.let(IResolvable::unwrap)) + cdkBuilder.path(path.let(IResolvable.Companion::unwrap)) } /** * @param path The path to rewrite. */ override fun path(path: HttpGatewayRoutePathRewriteProperty) { - cdkBuilder.path(path.let(HttpGatewayRoutePathRewriteProperty::unwrap)) + cdkBuilder.path(path.let(HttpGatewayRoutePathRewriteProperty.Companion::unwrap)) } /** @@ -4284,14 +4284,14 @@ public open class CfnGatewayRoute( * @param prefix The specified beginning characters to rewrite. */ override fun prefix(prefix: IResolvable) { - cdkBuilder.prefix(prefix.let(IResolvable::unwrap)) + cdkBuilder.prefix(prefix.let(IResolvable.Companion::unwrap)) } /** * @param prefix The specified beginning characters to rewrite. */ override fun prefix(prefix: HttpGatewayRoutePrefixRewriteProperty) { - cdkBuilder.prefix(prefix.let(HttpGatewayRoutePrefixRewriteProperty::unwrap)) + cdkBuilder.prefix(prefix.let(HttpGatewayRoutePrefixRewriteProperty.Companion::unwrap)) } /** @@ -4613,14 +4613,14 @@ public open class CfnGatewayRoute( * @param match The query parameter to match on. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The query parameter to match on. */ override fun match(match: HttpQueryParameterMatchProperty) { - cdkBuilder.match(match.let(HttpQueryParameterMatchProperty::unwrap)) + cdkBuilder.match(match.let(HttpQueryParameterMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRouteProps.kt index 3d2e7fe0b5..0736045fa9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnGatewayRouteProps.kt @@ -346,14 +346,14 @@ public interface CfnGatewayRouteProps { * @param spec The specifications of the gateway route. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The specifications of the gateway route. */ override fun spec(spec: CfnGatewayRoute.GatewayRouteSpecProperty) { - cdkBuilder.spec(spec.let(CfnGatewayRoute.GatewayRouteSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnGatewayRoute.GatewayRouteSpecProperty.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface CfnGatewayRouteProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMesh.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMesh.kt index ea521c6d4b..06ae98a9c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMesh.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMesh.kt @@ -60,7 +60,7 @@ public open class CfnMesh( cdkObject: software.amazon.awscdk.services.appmesh.CfnMesh, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.appmesh.CfnMesh(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.appmesh.CfnMesh(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class CfnMesh( id: String, props: CfnMeshProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnMesh(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMeshProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnMesh(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMeshProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnMesh( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,14 +148,14 @@ public open class CfnMesh( * The service mesh specification to apply. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The service mesh specification to apply. */ public open fun spec(`value`: MeshSpecProperty) { - unwrap(this).setSpec(`value`.let(MeshSpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(MeshSpecProperty.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnMesh( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnMesh( * @param spec The service mesh specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnMesh( * @param spec The service mesh specification to apply. */ override fun spec(spec: MeshSpecProperty) { - cdkBuilder.spec(spec.let(MeshSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(MeshSpecProperty.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnMesh( * categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -651,14 +651,14 @@ public open class CfnMesh( * @param egressFilter The egress filter rules for the service mesh. */ override fun egressFilter(egressFilter: IResolvable) { - cdkBuilder.egressFilter(egressFilter.let(IResolvable::unwrap)) + cdkBuilder.egressFilter(egressFilter.let(IResolvable.Companion::unwrap)) } /** * @param egressFilter The egress filter rules for the service mesh. */ override fun egressFilter(egressFilter: EgressFilterProperty) { - cdkBuilder.egressFilter(egressFilter.let(EgressFilterProperty::unwrap)) + cdkBuilder.egressFilter(egressFilter.let(EgressFilterProperty.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class CfnMesh( * service mesh. */ override fun serviceDiscovery(serviceDiscovery: IResolvable) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(IResolvable::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(IResolvable.Companion::unwrap)) } /** @@ -682,7 +682,7 @@ public open class CfnMesh( * service mesh. */ override fun serviceDiscovery(serviceDiscovery: MeshServiceDiscoveryProperty) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(MeshServiceDiscoveryProperty::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(MeshServiceDiscoveryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMeshProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMeshProps.kt index b41923614b..f05285f037 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMeshProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnMeshProps.kt @@ -129,14 +129,14 @@ public interface CfnMeshProps { * @param spec The service mesh specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The service mesh specification to apply. */ override fun spec(spec: CfnMesh.MeshSpecProperty) { - cdkBuilder.spec(spec.let(CfnMesh.MeshSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnMesh.MeshSpecProperty.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public interface CfnMeshProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRoute.kt index 2b937a9e17..ff61a04fdb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRoute.kt @@ -261,8 +261,8 @@ public open class CfnRoute( id: String, props: CfnRouteProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteProps.Companion::unwrap)) ) public constructor( @@ -326,7 +326,7 @@ public open class CfnRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -374,14 +374,14 @@ public open class CfnRoute( * The route specification to apply. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The route specification to apply. */ public open fun spec(`value`: RouteSpecProperty) { - unwrap(this).setSpec(`value`.let(RouteSpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(RouteSpecProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnRoute( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class CfnRoute( * @param spec The route specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnRoute( * @param spec The route specification to apply. */ override fun spec(spec: RouteSpecProperty) { - cdkBuilder.spec(spec.let(RouteSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(RouteSpecProperty.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class CfnRoute( * and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -975,14 +975,14 @@ public open class CfnRoute( * @param perRetryTimeout The timeout for each retry attempt. */ override fun perRetryTimeout(perRetryTimeout: IResolvable) { - cdkBuilder.perRetryTimeout(perRetryTimeout.let(IResolvable::unwrap)) + cdkBuilder.perRetryTimeout(perRetryTimeout.let(IResolvable.Companion::unwrap)) } /** * @param perRetryTimeout The timeout for each retry attempt. */ override fun perRetryTimeout(perRetryTimeout: DurationProperty) { - cdkBuilder.perRetryTimeout(perRetryTimeout.let(DurationProperty::unwrap)) + cdkBuilder.perRetryTimeout(perRetryTimeout.let(DurationProperty.Companion::unwrap)) } /** @@ -1146,7 +1146,7 @@ public open class CfnRoute( * a request matches the route. */ override fun weightedTargets(weightedTargets: IResolvable) { - cdkBuilder.weightedTargets(weightedTargets.let(IResolvable::unwrap)) + cdkBuilder.weightedTargets(weightedTargets.let(IResolvable.Companion::unwrap)) } /** @@ -1309,7 +1309,7 @@ public open class CfnRoute( * @param metadata An object that represents the data to match from the request. */ override fun metadata(metadata: IResolvable) { - cdkBuilder.metadata(metadata.let(IResolvable::unwrap)) + cdkBuilder.metadata(metadata.let(IResolvable.Companion::unwrap)) } /** @@ -1532,14 +1532,14 @@ public open class CfnRoute( * @param range An object that represents the range of values to match on. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range An object that represents the range of values to match on. */ override fun range(range: MatchRangeProperty) { - cdkBuilder.range(range.let(MatchRangeProperty::unwrap)) + cdkBuilder.range(range.let(MatchRangeProperty.Companion::unwrap)) } /** @@ -1737,21 +1737,21 @@ public open class CfnRoute( * The default value is `False` . */ override fun invert(invert: IResolvable) { - cdkBuilder.invert(invert.let(IResolvable::unwrap)) + cdkBuilder.invert(invert.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the data to match from the request. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the data to match from the request. */ override fun match(match: GrpcRouteMetadataMatchMethodProperty) { - cdkBuilder.match(match.let(GrpcRouteMetadataMatchMethodProperty::unwrap)) + cdkBuilder.match(match.let(GrpcRouteMetadataMatchMethodProperty.Companion::unwrap)) } /** @@ -1995,14 +1995,14 @@ public open class CfnRoute( * @param action An object that represents the action to take if a match is determined. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action An object that represents the action to take if a match is determined. */ override fun action(action: GrpcRouteActionProperty) { - cdkBuilder.action(action.let(GrpcRouteActionProperty::unwrap)) + cdkBuilder.action(action.let(GrpcRouteActionProperty.Companion::unwrap)) } /** @@ -2017,14 +2017,14 @@ public open class CfnRoute( * @param match An object that represents the criteria for determining a request match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a request match. */ override fun match(match: GrpcRouteMatchProperty) { - cdkBuilder.match(match.let(GrpcRouteMatchProperty::unwrap)) + cdkBuilder.match(match.let(GrpcRouteMatchProperty.Companion::unwrap)) } /** @@ -2039,14 +2039,14 @@ public open class CfnRoute( * @param retryPolicy An object that represents a retry policy. */ override fun retryPolicy(retryPolicy: IResolvable) { - cdkBuilder.retryPolicy(retryPolicy.let(IResolvable::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(IResolvable.Companion::unwrap)) } /** * @param retryPolicy An object that represents a retry policy. */ override fun retryPolicy(retryPolicy: GrpcRetryPolicyProperty) { - cdkBuilder.retryPolicy(retryPolicy.let(GrpcRetryPolicyProperty::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(GrpcRetryPolicyProperty.Companion::unwrap)) } /** @@ -2061,14 +2061,14 @@ public open class CfnRoute( * @param timeout An object that represents types of timeouts. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** * @param timeout An object that represents types of timeouts. */ override fun timeout(timeout: GrpcTimeoutProperty) { - cdkBuilder.timeout(timeout.let(GrpcTimeoutProperty::unwrap)) + cdkBuilder.timeout(timeout.let(GrpcTimeoutProperty.Companion::unwrap)) } /** @@ -2247,7 +2247,7 @@ public open class CfnRoute( * is none. */ override fun idle(idle: IResolvable) { - cdkBuilder.idle(idle.let(IResolvable::unwrap)) + cdkBuilder.idle(idle.let(IResolvable.Companion::unwrap)) } /** @@ -2256,7 +2256,7 @@ public open class CfnRoute( * is none. */ override fun idle(idle: DurationProperty) { - cdkBuilder.idle(idle.let(DurationProperty::unwrap)) + cdkBuilder.idle(idle.let(DurationProperty.Companion::unwrap)) } /** @@ -2277,7 +2277,7 @@ public open class CfnRoute( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: IResolvable) { - cdkBuilder.perRequest(perRequest.let(IResolvable::unwrap)) + cdkBuilder.perRequest(perRequest.let(IResolvable.Companion::unwrap)) } /** @@ -2288,7 +2288,7 @@ public open class CfnRoute( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: DurationProperty) { - cdkBuilder.perRequest(perRequest.let(DurationProperty::unwrap)) + cdkBuilder.perRequest(perRequest.let(DurationProperty.Companion::unwrap)) } /** @@ -2479,14 +2479,14 @@ public open class CfnRoute( * @param range An object that represents the range of values to match on. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range An object that represents the range of values to match on. */ override fun range(range: MatchRangeProperty) { - cdkBuilder.range(range.let(MatchRangeProperty::unwrap)) + cdkBuilder.range(range.let(MatchRangeProperty.Companion::unwrap)) } /** @@ -2930,14 +2930,14 @@ public open class CfnRoute( * @param perRetryTimeout The timeout for each retry attempt. */ override fun perRetryTimeout(perRetryTimeout: IResolvable) { - cdkBuilder.perRetryTimeout(perRetryTimeout.let(IResolvable::unwrap)) + cdkBuilder.perRetryTimeout(perRetryTimeout.let(IResolvable.Companion::unwrap)) } /** * @param perRetryTimeout The timeout for each retry attempt. */ override fun perRetryTimeout(perRetryTimeout: DurationProperty) { - cdkBuilder.perRetryTimeout(perRetryTimeout.let(DurationProperty::unwrap)) + cdkBuilder.perRetryTimeout(perRetryTimeout.let(DurationProperty.Companion::unwrap)) } /** @@ -3093,7 +3093,7 @@ public open class CfnRoute( * a request matches the route. */ override fun weightedTargets(weightedTargets: IResolvable) { - cdkBuilder.weightedTargets(weightedTargets.let(IResolvable::unwrap)) + cdkBuilder.weightedTargets(weightedTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3255,21 +3255,21 @@ public open class CfnRoute( * The default value is `False` . */ override fun invert(invert: IResolvable) { - cdkBuilder.invert(invert.let(IResolvable::unwrap)) + cdkBuilder.invert(invert.let(IResolvable.Companion::unwrap)) } /** * @param match The `HeaderMatchMethod` object. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The `HeaderMatchMethod` object. */ override fun match(match: HeaderMatchMethodProperty) { - cdkBuilder.match(match.let(HeaderMatchMethodProperty::unwrap)) + cdkBuilder.match(match.let(HeaderMatchMethodProperty.Companion::unwrap)) } /** @@ -3529,7 +3529,7 @@ public open class CfnRoute( * @param headers The client request headers to match on. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -3556,14 +3556,14 @@ public open class CfnRoute( * @param path The client request path to match on. */ override fun path(path: IResolvable) { - cdkBuilder.path(path.let(IResolvable::unwrap)) + cdkBuilder.path(path.let(IResolvable.Companion::unwrap)) } /** * @param path The client request path to match on. */ override fun path(path: HttpPathMatchProperty) { - cdkBuilder.path(path.let(HttpPathMatchProperty::unwrap)) + cdkBuilder.path(path.let(HttpPathMatchProperty.Companion::unwrap)) } /** @@ -3596,7 +3596,7 @@ public open class CfnRoute( * @param queryParameters The client request query parameters to match on. */ override fun queryParameters(queryParameters: IResolvable) { - cdkBuilder.queryParameters(queryParameters.let(IResolvable::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3892,14 +3892,14 @@ public open class CfnRoute( * @param action An object that represents the action to take if a match is determined. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action An object that represents the action to take if a match is determined. */ override fun action(action: HttpRouteActionProperty) { - cdkBuilder.action(action.let(HttpRouteActionProperty::unwrap)) + cdkBuilder.action(action.let(HttpRouteActionProperty.Companion::unwrap)) } /** @@ -3914,14 +3914,14 @@ public open class CfnRoute( * @param match An object that represents the criteria for determining a request match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a request match. */ override fun match(match: HttpRouteMatchProperty) { - cdkBuilder.match(match.let(HttpRouteMatchProperty::unwrap)) + cdkBuilder.match(match.let(HttpRouteMatchProperty.Companion::unwrap)) } /** @@ -3936,14 +3936,14 @@ public open class CfnRoute( * @param retryPolicy An object that represents a retry policy. */ override fun retryPolicy(retryPolicy: IResolvable) { - cdkBuilder.retryPolicy(retryPolicy.let(IResolvable::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(IResolvable.Companion::unwrap)) } /** * @param retryPolicy An object that represents a retry policy. */ override fun retryPolicy(retryPolicy: HttpRetryPolicyProperty) { - cdkBuilder.retryPolicy(retryPolicy.let(HttpRetryPolicyProperty::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(HttpRetryPolicyProperty.Companion::unwrap)) } /** @@ -3958,14 +3958,14 @@ public open class CfnRoute( * @param timeout An object that represents types of timeouts. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** * @param timeout An object that represents types of timeouts. */ override fun timeout(timeout: HttpTimeoutProperty) { - cdkBuilder.timeout(timeout.let(HttpTimeoutProperty::unwrap)) + cdkBuilder.timeout(timeout.let(HttpTimeoutProperty.Companion::unwrap)) } /** @@ -4144,7 +4144,7 @@ public open class CfnRoute( * is none. */ override fun idle(idle: IResolvable) { - cdkBuilder.idle(idle.let(IResolvable::unwrap)) + cdkBuilder.idle(idle.let(IResolvable.Companion::unwrap)) } /** @@ -4153,7 +4153,7 @@ public open class CfnRoute( * is none. */ override fun idle(idle: DurationProperty) { - cdkBuilder.idle(idle.let(DurationProperty::unwrap)) + cdkBuilder.idle(idle.let(DurationProperty.Companion::unwrap)) } /** @@ -4174,7 +4174,7 @@ public open class CfnRoute( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: IResolvable) { - cdkBuilder.perRequest(perRequest.let(IResolvable::unwrap)) + cdkBuilder.perRequest(perRequest.let(IResolvable.Companion::unwrap)) } /** @@ -4185,7 +4185,7 @@ public open class CfnRoute( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: DurationProperty) { - cdkBuilder.perRequest(perRequest.let(DurationProperty::unwrap)) + cdkBuilder.perRequest(perRequest.let(DurationProperty.Companion::unwrap)) } /** @@ -4430,14 +4430,14 @@ public open class CfnRoute( * @param match The query parameter to match on. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The query parameter to match on. */ override fun match(match: HttpQueryParameterMatchProperty) { - cdkBuilder.match(match.let(HttpQueryParameterMatchProperty::unwrap)) + cdkBuilder.match(match.let(HttpQueryParameterMatchProperty.Companion::unwrap)) } /** @@ -4838,14 +4838,14 @@ public open class CfnRoute( * @param grpcRoute An object that represents the specification of a gRPC route. */ override fun grpcRoute(grpcRoute: IResolvable) { - cdkBuilder.grpcRoute(grpcRoute.let(IResolvable::unwrap)) + cdkBuilder.grpcRoute(grpcRoute.let(IResolvable.Companion::unwrap)) } /** * @param grpcRoute An object that represents the specification of a gRPC route. */ override fun grpcRoute(grpcRoute: GrpcRouteProperty) { - cdkBuilder.grpcRoute(grpcRoute.let(GrpcRouteProperty::unwrap)) + cdkBuilder.grpcRoute(grpcRoute.let(GrpcRouteProperty.Companion::unwrap)) } /** @@ -4860,14 +4860,14 @@ public open class CfnRoute( * @param http2Route An object that represents the specification of an HTTP/2 route. */ override fun http2Route(http2Route: IResolvable) { - cdkBuilder.http2Route(http2Route.let(IResolvable::unwrap)) + cdkBuilder.http2Route(http2Route.let(IResolvable.Companion::unwrap)) } /** * @param http2Route An object that represents the specification of an HTTP/2 route. */ override fun http2Route(http2Route: HttpRouteProperty) { - cdkBuilder.http2Route(http2Route.let(HttpRouteProperty::unwrap)) + cdkBuilder.http2Route(http2Route.let(HttpRouteProperty.Companion::unwrap)) } /** @@ -4882,14 +4882,14 @@ public open class CfnRoute( * @param httpRoute An object that represents the specification of an HTTP route. */ override fun httpRoute(httpRoute: IResolvable) { - cdkBuilder.httpRoute(httpRoute.let(IResolvable::unwrap)) + cdkBuilder.httpRoute(httpRoute.let(IResolvable.Companion::unwrap)) } /** * @param httpRoute An object that represents the specification of an HTTP route. */ override fun httpRoute(httpRoute: HttpRouteProperty) { - cdkBuilder.httpRoute(httpRoute.let(HttpRouteProperty::unwrap)) + cdkBuilder.httpRoute(httpRoute.let(HttpRouteProperty.Companion::unwrap)) } /** @@ -4912,14 +4912,14 @@ public open class CfnRoute( * @param tcpRoute An object that represents the specification of a TCP route. */ override fun tcpRoute(tcpRoute: IResolvable) { - cdkBuilder.tcpRoute(tcpRoute.let(IResolvable::unwrap)) + cdkBuilder.tcpRoute(tcpRoute.let(IResolvable.Companion::unwrap)) } /** * @param tcpRoute An object that represents the specification of a TCP route. */ override fun tcpRoute(tcpRoute: TcpRouteProperty) { - cdkBuilder.tcpRoute(tcpRoute.let(TcpRouteProperty::unwrap)) + cdkBuilder.tcpRoute(tcpRoute.let(TcpRouteProperty.Companion::unwrap)) } /** @@ -5056,7 +5056,7 @@ public open class CfnRoute( * a request matches the route. */ override fun weightedTargets(weightedTargets: IResolvable) { - cdkBuilder.weightedTargets(weightedTargets.let(IResolvable::unwrap)) + cdkBuilder.weightedTargets(weightedTargets.let(IResolvable.Companion::unwrap)) } /** @@ -5309,14 +5309,14 @@ public open class CfnRoute( * @param action The action to take if a match is determined. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action The action to take if a match is determined. */ override fun action(action: TcpRouteActionProperty) { - cdkBuilder.action(action.let(TcpRouteActionProperty::unwrap)) + cdkBuilder.action(action.let(TcpRouteActionProperty.Companion::unwrap)) } /** @@ -5331,14 +5331,14 @@ public open class CfnRoute( * @param match An object that represents the criteria for determining a request match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a request match. */ override fun match(match: TcpRouteMatchProperty) { - cdkBuilder.match(match.let(TcpRouteMatchProperty::unwrap)) + cdkBuilder.match(match.let(TcpRouteMatchProperty.Companion::unwrap)) } /** @@ -5353,14 +5353,14 @@ public open class CfnRoute( * @param timeout An object that represents types of timeouts. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** * @param timeout An object that represents types of timeouts. */ override fun timeout(timeout: TcpTimeoutProperty) { - cdkBuilder.timeout(timeout.let(TcpTimeoutProperty::unwrap)) + cdkBuilder.timeout(timeout.let(TcpTimeoutProperty.Companion::unwrap)) } /** @@ -5487,7 +5487,7 @@ public open class CfnRoute( * is none. */ override fun idle(idle: IResolvable) { - cdkBuilder.idle(idle.let(IResolvable::unwrap)) + cdkBuilder.idle(idle.let(IResolvable.Companion::unwrap)) } /** @@ -5496,7 +5496,7 @@ public open class CfnRoute( * is none. */ override fun idle(idle: DurationProperty) { - cdkBuilder.idle(idle.let(DurationProperty::unwrap)) + cdkBuilder.idle(idle.let(DurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRouteProps.kt index 1c3ea539a8..b7392b1485 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnRouteProps.kt @@ -394,14 +394,14 @@ public interface CfnRouteProps { * @param spec The route specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The route specification to apply. */ override fun spec(spec: CfnRoute.RouteSpecProperty) { - cdkBuilder.spec(spec.let(CfnRoute.RouteSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnRoute.RouteSpecProperty.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface CfnRouteProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGateway.kt index c5ead95419..e35dfed35a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGateway.kt @@ -179,8 +179,8 @@ public open class CfnVirtualGateway( id: String, props: CfnVirtualGatewayProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnVirtualGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVirtualGatewayProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnVirtualGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVirtualGatewayProps.Companion::unwrap)) ) public constructor( @@ -239,7 +239,7 @@ public open class CfnVirtualGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -275,14 +275,14 @@ public open class CfnVirtualGateway( * The specifications of the virtual gateway. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The specifications of the virtual gateway. */ public open fun spec(`value`: VirtualGatewaySpecProperty) { - unwrap(this).setSpec(`value`.let(VirtualGatewaySpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(VirtualGatewaySpecProperty.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnVirtualGateway( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnVirtualGateway( * @param spec The specifications of the virtual gateway. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnVirtualGateway( * @param spec The specifications of the virtual gateway. */ override fun spec(spec: VirtualGatewaySpecProperty) { - cdkBuilder.spec(spec.let(VirtualGatewaySpecProperty::unwrap)) + cdkBuilder.spec(spec.let(VirtualGatewaySpecProperty.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnVirtualGateway( * categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public open class CfnVirtualGateway( * @param json The logging format for JSON. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** @@ -942,14 +942,14 @@ public open class CfnVirtualGateway( * @param match An object that represents the criteria for determining a SANs match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a SANs match. */ override fun match(match: SubjectAlternativeNameMatchersProperty) { - cdkBuilder.match(match.let(SubjectAlternativeNameMatchersProperty::unwrap)) + cdkBuilder.match(match.let(SubjectAlternativeNameMatchersProperty.Companion::unwrap)) } /** @@ -1062,14 +1062,14 @@ public open class CfnVirtualGateway( * @param file The file object to send virtual gateway access logs to. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** * @param file The file object to send virtual gateway access logs to. */ override fun `file`(`file`: VirtualGatewayFileAccessLogProperty) { - cdkBuilder.`file`(`file`.let(VirtualGatewayFileAccessLogProperty::unwrap)) + cdkBuilder.`file`(`file`.let(VirtualGatewayFileAccessLogProperty.Companion::unwrap)) } /** @@ -1206,14 +1206,14 @@ public open class CfnVirtualGateway( * @param clientPolicy A reference to an object that represents a client policy. */ override fun clientPolicy(clientPolicy: IResolvable) { - cdkBuilder.clientPolicy(clientPolicy.let(IResolvable::unwrap)) + cdkBuilder.clientPolicy(clientPolicy.let(IResolvable.Companion::unwrap)) } /** * @param clientPolicy A reference to an object that represents a client policy. */ override fun clientPolicy(clientPolicy: VirtualGatewayClientPolicyProperty) { - cdkBuilder.clientPolicy(clientPolicy.let(VirtualGatewayClientPolicyProperty::unwrap)) + cdkBuilder.clientPolicy(clientPolicy.let(VirtualGatewayClientPolicyProperty.Companion::unwrap)) } /** @@ -1354,7 +1354,7 @@ public open class CfnVirtualGateway( * policy. */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** @@ -1362,7 +1362,7 @@ public open class CfnVirtualGateway( * policy. */ override fun tls(tls: VirtualGatewayClientPolicyTlsProperty) { - cdkBuilder.tls(tls.let(VirtualGatewayClientPolicyTlsProperty::unwrap)) + cdkBuilder.tls(tls.let(VirtualGatewayClientPolicyTlsProperty.Companion::unwrap)) } /** @@ -1574,7 +1574,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) certificate. */ override fun certificate(certificate: IResolvable) { - cdkBuilder.certificate(certificate.let(IResolvable::unwrap)) + cdkBuilder.certificate(certificate.let(IResolvable.Companion::unwrap)) } /** @@ -1582,7 +1582,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) certificate. */ override fun certificate(certificate: VirtualGatewayClientTlsCertificateProperty) { - cdkBuilder.certificate(certificate.let(VirtualGatewayClientTlsCertificateProperty::unwrap)) + cdkBuilder.certificate(certificate.let(VirtualGatewayClientTlsCertificateProperty.Companion::unwrap)) } /** @@ -1608,14 +1608,14 @@ public open class CfnVirtualGateway( * The default is `True` , if a value isn't specified. */ override fun enforce(enforce: IResolvable) { - cdkBuilder.enforce(enforce.let(IResolvable::unwrap)) + cdkBuilder.enforce(enforce.let(IResolvable.Companion::unwrap)) } /** * @param ports One or more ports that the policy is enforced for. */ override fun ports(ports: IResolvable) { - cdkBuilder.ports(ports.let(IResolvable::unwrap)) + cdkBuilder.ports(ports.let(IResolvable.Companion::unwrap)) } /** @@ -1635,7 +1635,7 @@ public open class CfnVirtualGateway( * validation context. */ override fun validation(validation: IResolvable) { - cdkBuilder.validation(validation.let(IResolvable::unwrap)) + cdkBuilder.validation(validation.let(IResolvable.Companion::unwrap)) } /** @@ -1643,7 +1643,7 @@ public open class CfnVirtualGateway( * validation context. */ override fun validation(validation: VirtualGatewayTlsValidationContextProperty) { - cdkBuilder.validation(validation.let(VirtualGatewayTlsValidationContextProperty::unwrap)) + cdkBuilder.validation(validation.let(VirtualGatewayTlsValidationContextProperty.Companion::unwrap)) } /** @@ -1825,7 +1825,7 @@ public open class CfnVirtualGateway( * (TLS)](https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html) . */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** @@ -1835,7 +1835,7 @@ public open class CfnVirtualGateway( * (TLS)](https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html) . */ override fun `file`(`file`: VirtualGatewayListenerTlsFileCertificateProperty) { - cdkBuilder.`file`(`file`.let(VirtualGatewayListenerTlsFileCertificateProperty::unwrap)) + cdkBuilder.`file`(`file`.let(VirtualGatewayListenerTlsFileCertificateProperty.Companion::unwrap)) } /** @@ -1855,7 +1855,7 @@ public open class CfnVirtualGateway( * Discovery Service certificate. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -1863,7 +1863,7 @@ public open class CfnVirtualGateway( * Discovery Service certificate. */ override fun sds(sds: VirtualGatewayListenerTlsSdsCertificateProperty) { - cdkBuilder.sds(sds.let(VirtualGatewayListenerTlsSdsCertificateProperty::unwrap)) + cdkBuilder.sds(sds.let(VirtualGatewayListenerTlsSdsCertificateProperty.Companion::unwrap)) } /** @@ -2043,14 +2043,14 @@ public open class CfnVirtualGateway( * @param grpc An object that represents a type of connection pool. */ override fun grpc(grpc: IResolvable) { - cdkBuilder.grpc(grpc.let(IResolvable::unwrap)) + cdkBuilder.grpc(grpc.let(IResolvable.Companion::unwrap)) } /** * @param grpc An object that represents a type of connection pool. */ override fun grpc(grpc: VirtualGatewayGrpcConnectionPoolProperty) { - cdkBuilder.grpc(grpc.let(VirtualGatewayGrpcConnectionPoolProperty::unwrap)) + cdkBuilder.grpc(grpc.let(VirtualGatewayGrpcConnectionPoolProperty.Companion::unwrap)) } /** @@ -2065,14 +2065,14 @@ public open class CfnVirtualGateway( * @param http An object that represents a type of connection pool. */ override fun http(http: IResolvable) { - cdkBuilder.http(http.let(IResolvable::unwrap)) + cdkBuilder.http(http.let(IResolvable.Companion::unwrap)) } /** * @param http An object that represents a type of connection pool. */ override fun http(http: VirtualGatewayHttpConnectionPoolProperty) { - cdkBuilder.http(http.let(VirtualGatewayHttpConnectionPoolProperty::unwrap)) + cdkBuilder.http(http.let(VirtualGatewayHttpConnectionPoolProperty.Companion::unwrap)) } /** @@ -2087,14 +2087,14 @@ public open class CfnVirtualGateway( * @param http2 An object that represents a type of connection pool. */ override fun http2(http2: IResolvable) { - cdkBuilder.http2(http2.let(IResolvable::unwrap)) + cdkBuilder.http2(http2.let(IResolvable.Companion::unwrap)) } /** * @param http2 An object that represents a type of connection pool. */ override fun http2(http2: VirtualGatewayHttp2ConnectionPoolProperty) { - cdkBuilder.http2(http2.let(VirtualGatewayHttp2ConnectionPoolProperty::unwrap)) + cdkBuilder.http2(http2.let(VirtualGatewayHttp2ConnectionPoolProperty.Companion::unwrap)) } /** @@ -2247,7 +2247,7 @@ public open class CfnVirtualGateway( * It can be either `json_format` or `text_format` . */ override fun format(format: IResolvable) { - cdkBuilder.format(format.let(IResolvable::unwrap)) + cdkBuilder.format(format.let(IResolvable.Companion::unwrap)) } /** @@ -2255,7 +2255,7 @@ public open class CfnVirtualGateway( * It can be either `json_format` or `text_format` . */ override fun format(format: LoggingFormatProperty) { - cdkBuilder.format(format.let(LoggingFormatProperty::unwrap)) + cdkBuilder.format(format.let(LoggingFormatProperty.Companion::unwrap)) } /** @@ -3105,14 +3105,14 @@ public open class CfnVirtualGateway( * @param connectionPool The connection pool information for the listener. */ override fun connectionPool(connectionPool: IResolvable) { - cdkBuilder.connectionPool(connectionPool.let(IResolvable::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(IResolvable.Companion::unwrap)) } /** * @param connectionPool The connection pool information for the listener. */ override fun connectionPool(connectionPool: VirtualGatewayConnectionPoolProperty) { - cdkBuilder.connectionPool(connectionPool.let(VirtualGatewayConnectionPoolProperty::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(VirtualGatewayConnectionPoolProperty.Companion::unwrap)) } /** @@ -3128,14 +3128,14 @@ public open class CfnVirtualGateway( * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: IResolvable) { - cdkBuilder.healthCheck(healthCheck.let(IResolvable::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) } /** * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: VirtualGatewayHealthCheckPolicyProperty) { - cdkBuilder.healthCheck(healthCheck.let(VirtualGatewayHealthCheckPolicyProperty::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(VirtualGatewayHealthCheckPolicyProperty.Companion::unwrap)) } /** @@ -3151,14 +3151,14 @@ public open class CfnVirtualGateway( * @param portMapping The port mapping information for the listener. */ override fun portMapping(portMapping: IResolvable) { - cdkBuilder.portMapping(portMapping.let(IResolvable::unwrap)) + cdkBuilder.portMapping(portMapping.let(IResolvable.Companion::unwrap)) } /** * @param portMapping The port mapping information for the listener. */ override fun portMapping(portMapping: VirtualGatewayPortMappingProperty) { - cdkBuilder.portMapping(portMapping.let(VirtualGatewayPortMappingProperty::unwrap)) + cdkBuilder.portMapping(portMapping.let(VirtualGatewayPortMappingProperty.Companion::unwrap)) } /** @@ -3174,7 +3174,7 @@ public open class CfnVirtualGateway( * properties for the listener. */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** @@ -3182,7 +3182,7 @@ public open class CfnVirtualGateway( * properties for the listener. */ override fun tls(tls: VirtualGatewayListenerTlsProperty) { - cdkBuilder.tls(tls.let(VirtualGatewayListenerTlsProperty::unwrap)) + cdkBuilder.tls(tls.let(VirtualGatewayListenerTlsProperty.Companion::unwrap)) } /** @@ -3471,14 +3471,14 @@ public open class CfnVirtualGateway( * @param acm A reference to an object that represents an AWS Certificate Manager certificate. */ override fun acm(acm: IResolvable) { - cdkBuilder.acm(acm.let(IResolvable::unwrap)) + cdkBuilder.acm(acm.let(IResolvable.Companion::unwrap)) } /** * @param acm A reference to an object that represents an AWS Certificate Manager certificate. */ override fun acm(acm: VirtualGatewayListenerTlsAcmCertificateProperty) { - cdkBuilder.acm(acm.let(VirtualGatewayListenerTlsAcmCertificateProperty::unwrap)) + cdkBuilder.acm(acm.let(VirtualGatewayListenerTlsAcmCertificateProperty.Companion::unwrap)) } /** @@ -3493,14 +3493,14 @@ public open class CfnVirtualGateway( * @param file A reference to an object that represents a local file certificate. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** * @param file A reference to an object that represents a local file certificate. */ override fun `file`(`file`: VirtualGatewayListenerTlsFileCertificateProperty) { - cdkBuilder.`file`(`file`.let(VirtualGatewayListenerTlsFileCertificateProperty::unwrap)) + cdkBuilder.`file`(`file`.let(VirtualGatewayListenerTlsFileCertificateProperty.Companion::unwrap)) } /** @@ -3517,7 +3517,7 @@ public open class CfnVirtualGateway( * Discovery Service certificate. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -3525,7 +3525,7 @@ public open class CfnVirtualGateway( * Discovery Service certificate. */ override fun sds(sds: VirtualGatewayListenerTlsSdsCertificateProperty) { - cdkBuilder.sds(sds.let(VirtualGatewayListenerTlsSdsCertificateProperty::unwrap)) + cdkBuilder.sds(sds.let(VirtualGatewayListenerTlsSdsCertificateProperty.Companion::unwrap)) } /** @@ -3844,14 +3844,14 @@ public open class CfnVirtualGateway( * @param certificate An object that represents a Transport Layer Security (TLS) certificate. */ override fun certificate(certificate: IResolvable) { - cdkBuilder.certificate(certificate.let(IResolvable::unwrap)) + cdkBuilder.certificate(certificate.let(IResolvable.Companion::unwrap)) } /** * @param certificate An object that represents a Transport Layer Security (TLS) certificate. */ override fun certificate(certificate: VirtualGatewayListenerTlsCertificateProperty) { - cdkBuilder.certificate(certificate.let(VirtualGatewayListenerTlsCertificateProperty::unwrap)) + cdkBuilder.certificate(certificate.let(VirtualGatewayListenerTlsCertificateProperty.Companion::unwrap)) } /** @@ -3878,7 +3878,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) validation context. */ override fun validation(validation: IResolvable) { - cdkBuilder.validation(validation.let(IResolvable::unwrap)) + cdkBuilder.validation(validation.let(IResolvable.Companion::unwrap)) } /** @@ -3886,7 +3886,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) validation context. */ override fun validation(validation: VirtualGatewayListenerTlsValidationContextProperty) { - cdkBuilder.validation(validation.let(VirtualGatewayListenerTlsValidationContextProperty::unwrap)) + cdkBuilder.validation(validation.let(VirtualGatewayListenerTlsValidationContextProperty.Companion::unwrap)) } /** @@ -4156,7 +4156,7 @@ public open class CfnVirtualGateway( * virtual gateway listener's Transport Layer Security (TLS) validation context. */ override fun subjectAlternativeNames(subjectAlternativeNames: IResolvable) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable.Companion::unwrap)) } /** @@ -4165,7 +4165,7 @@ public open class CfnVirtualGateway( */ override fun subjectAlternativeNames(subjectAlternativeNames: SubjectAlternativeNamesProperty) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty.Companion::unwrap)) } /** @@ -4183,7 +4183,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: IResolvable) { - cdkBuilder.trust(trust.let(IResolvable::unwrap)) + cdkBuilder.trust(trust.let(IResolvable.Companion::unwrap)) } /** @@ -4191,7 +4191,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: VirtualGatewayListenerTlsValidationContextTrustProperty) { - cdkBuilder.trust(trust.let(VirtualGatewayListenerTlsValidationContextTrustProperty::unwrap)) + cdkBuilder.trust(trust.let(VirtualGatewayListenerTlsValidationContextTrustProperty.Companion::unwrap)) } /** @@ -4347,7 +4347,7 @@ public open class CfnVirtualGateway( * trust for a local file. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** @@ -4355,7 +4355,7 @@ public open class CfnVirtualGateway( * trust for a local file. */ override fun `file`(`file`: VirtualGatewayTlsValidationContextFileTrustProperty) { - cdkBuilder.`file`(`file`.let(VirtualGatewayTlsValidationContextFileTrustProperty::unwrap)) + cdkBuilder.`file`(`file`.let(VirtualGatewayTlsValidationContextFileTrustProperty.Companion::unwrap)) } /** @@ -4373,7 +4373,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) Secret Discovery Service validation context trust. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -4381,7 +4381,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) Secret Discovery Service validation context trust. */ override fun sds(sds: VirtualGatewayTlsValidationContextSdsTrustProperty) { - cdkBuilder.sds(sds.let(VirtualGatewayTlsValidationContextSdsTrustProperty::unwrap)) + cdkBuilder.sds(sds.let(VirtualGatewayTlsValidationContextSdsTrustProperty.Companion::unwrap)) } /** @@ -4508,14 +4508,14 @@ public open class CfnVirtualGateway( * @param accessLog The access log configuration. */ override fun accessLog(accessLog: IResolvable) { - cdkBuilder.accessLog(accessLog.let(IResolvable::unwrap)) + cdkBuilder.accessLog(accessLog.let(IResolvable.Companion::unwrap)) } /** * @param accessLog The access log configuration. */ override fun accessLog(accessLog: VirtualGatewayAccessLogProperty) { - cdkBuilder.accessLog(accessLog.let(VirtualGatewayAccessLogProperty::unwrap)) + cdkBuilder.accessLog(accessLog.let(VirtualGatewayAccessLogProperty.Companion::unwrap)) } /** @@ -4903,14 +4903,14 @@ public open class CfnVirtualGateway( * @param backendDefaults A reference to an object that represents the defaults for backends. */ override fun backendDefaults(backendDefaults: IResolvable) { - cdkBuilder.backendDefaults(backendDefaults.let(IResolvable::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(IResolvable.Companion::unwrap)) } /** * @param backendDefaults A reference to an object that represents the defaults for backends. */ override fun backendDefaults(backendDefaults: VirtualGatewayBackendDefaultsProperty) { - cdkBuilder.backendDefaults(backendDefaults.let(VirtualGatewayBackendDefaultsProperty::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(VirtualGatewayBackendDefaultsProperty.Companion::unwrap)) } /** @@ -4928,7 +4928,7 @@ public open class CfnVirtualGateway( * You can specify one listener. */ override fun listeners(listeners: IResolvable) { - cdkBuilder.listeners(listeners.let(IResolvable::unwrap)) + cdkBuilder.listeners(listeners.let(IResolvable.Companion::unwrap)) } /** @@ -4951,14 +4951,14 @@ public open class CfnVirtualGateway( * @param logging An object that represents logging information. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** * @param logging An object that represents logging information. */ override fun logging(logging: VirtualGatewayLoggingProperty) { - cdkBuilder.logging(logging.let(VirtualGatewayLoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(VirtualGatewayLoggingProperty.Companion::unwrap)) } /** @@ -5315,7 +5315,7 @@ public open class CfnVirtualGateway( * virtual gateway's listener's Transport Layer Security (TLS) validation context. */ override fun subjectAlternativeNames(subjectAlternativeNames: IResolvable) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable.Companion::unwrap)) } /** @@ -5324,7 +5324,7 @@ public open class CfnVirtualGateway( */ override fun subjectAlternativeNames(subjectAlternativeNames: SubjectAlternativeNamesProperty) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty.Companion::unwrap)) } /** @@ -5342,7 +5342,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: IResolvable) { - cdkBuilder.trust(trust.let(IResolvable::unwrap)) + cdkBuilder.trust(trust.let(IResolvable.Companion::unwrap)) } /** @@ -5350,7 +5350,7 @@ public open class CfnVirtualGateway( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: VirtualGatewayTlsValidationContextTrustProperty) { - cdkBuilder.trust(trust.let(VirtualGatewayTlsValidationContextTrustProperty::unwrap)) + cdkBuilder.trust(trust.let(VirtualGatewayTlsValidationContextTrustProperty.Companion::unwrap)) } /** @@ -5629,7 +5629,7 @@ public open class CfnVirtualGateway( * validation context trust for an AWS Certificate Manager certificate. */ override fun acm(acm: IResolvable) { - cdkBuilder.acm(acm.let(IResolvable::unwrap)) + cdkBuilder.acm(acm.let(IResolvable.Companion::unwrap)) } /** @@ -5637,7 +5637,7 @@ public open class CfnVirtualGateway( * validation context trust for an AWS Certificate Manager certificate. */ override fun acm(acm: VirtualGatewayTlsValidationContextAcmTrustProperty) { - cdkBuilder.acm(acm.let(VirtualGatewayTlsValidationContextAcmTrustProperty::unwrap)) + cdkBuilder.acm(acm.let(VirtualGatewayTlsValidationContextAcmTrustProperty.Companion::unwrap)) } /** @@ -5654,7 +5654,7 @@ public open class CfnVirtualGateway( * trust for a local file. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** @@ -5662,7 +5662,7 @@ public open class CfnVirtualGateway( * trust for a local file. */ override fun `file`(`file`: VirtualGatewayTlsValidationContextFileTrustProperty) { - cdkBuilder.`file`(`file`.let(VirtualGatewayTlsValidationContextFileTrustProperty::unwrap)) + cdkBuilder.`file`(`file`.let(VirtualGatewayTlsValidationContextFileTrustProperty.Companion::unwrap)) } /** @@ -5680,7 +5680,7 @@ public open class CfnVirtualGateway( * Security (TLS) Secret Discovery Service validation context trust. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -5688,7 +5688,7 @@ public open class CfnVirtualGateway( * Security (TLS) Secret Discovery Service validation context trust. */ override fun sds(sds: VirtualGatewayTlsValidationContextSdsTrustProperty) { - cdkBuilder.sds(sds.let(VirtualGatewayTlsValidationContextSdsTrustProperty::unwrap)) + cdkBuilder.sds(sds.let(VirtualGatewayTlsValidationContextSdsTrustProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGatewayProps.kt index 079ef6f277..c9bc2e9f7c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualGatewayProps.kt @@ -282,14 +282,14 @@ public interface CfnVirtualGatewayProps { * @param spec The specifications of the virtual gateway. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The specifications of the virtual gateway. */ override fun spec(spec: CfnVirtualGateway.VirtualGatewaySpecProperty) { - cdkBuilder.spec(spec.let(CfnVirtualGateway.VirtualGatewaySpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnVirtualGateway.VirtualGatewaySpecProperty.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface CfnVirtualGatewayProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNode.kt index e602cd1db4..1e822212e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNode.kt @@ -308,8 +308,8 @@ public open class CfnVirtualNode( id: String, props: CfnVirtualNodeProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnVirtualNode(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVirtualNodeProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnVirtualNode(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVirtualNodeProps.Companion::unwrap)) ) public constructor( @@ -368,7 +368,7 @@ public open class CfnVirtualNode( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -404,14 +404,14 @@ public open class CfnVirtualNode( * The virtual node specification to apply. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual node specification to apply. */ public open fun spec(`value`: VirtualNodeSpecProperty) { - unwrap(this).setSpec(`value`.let(VirtualNodeSpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(VirtualNodeSpecProperty.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnVirtualNode( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnVirtualNode( * @param spec The virtual node specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnVirtualNode( * @param spec The virtual node specification to apply. */ override fun spec(spec: VirtualNodeSpecProperty) { - cdkBuilder.spec(spec.let(VirtualNodeSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(VirtualNodeSpecProperty.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public open class CfnVirtualNode( * categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -742,14 +742,14 @@ public open class CfnVirtualNode( * @param file The file object to send virtual node access logs to. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** * @param file The file object to send virtual node access logs to. */ override fun `file`(`file`: FileAccessLogProperty) { - cdkBuilder.`file`(`file`.let(FileAccessLogProperty::unwrap)) + cdkBuilder.`file`(`file`.let(FileAccessLogProperty.Companion::unwrap)) } /** @@ -1040,7 +1040,7 @@ public open class CfnVirtualNode( * Only instances that match all of the specified key/value pairs will be returned. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -1234,14 +1234,14 @@ public open class CfnVirtualNode( * @param clientPolicy A reference to an object that represents a client policy. */ override fun clientPolicy(clientPolicy: IResolvable) { - cdkBuilder.clientPolicy(clientPolicy.let(IResolvable::unwrap)) + cdkBuilder.clientPolicy(clientPolicy.let(IResolvable.Companion::unwrap)) } /** * @param clientPolicy A reference to an object that represents a client policy. */ override fun clientPolicy(clientPolicy: ClientPolicyProperty) { - cdkBuilder.clientPolicy(clientPolicy.let(ClientPolicyProperty::unwrap)) + cdkBuilder.clientPolicy(clientPolicy.let(ClientPolicyProperty.Companion::unwrap)) } /** @@ -1381,14 +1381,14 @@ public open class CfnVirtualNode( * @param virtualService Specifies a virtual service to use as a backend. */ override fun virtualService(virtualService: IResolvable) { - cdkBuilder.virtualService(virtualService.let(IResolvable::unwrap)) + cdkBuilder.virtualService(virtualService.let(IResolvable.Companion::unwrap)) } /** * @param virtualService Specifies a virtual service to use as a backend. */ override fun virtualService(virtualService: VirtualServiceBackendProperty) { - cdkBuilder.virtualService(virtualService.let(VirtualServiceBackendProperty::unwrap)) + cdkBuilder.virtualService(virtualService.let(VirtualServiceBackendProperty.Companion::unwrap)) } /** @@ -1524,7 +1524,7 @@ public open class CfnVirtualNode( * policy. */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** @@ -1532,7 +1532,7 @@ public open class CfnVirtualNode( * policy. */ override fun tls(tls: ClientPolicyTlsProperty) { - cdkBuilder.tls(tls.let(ClientPolicyTlsProperty::unwrap)) + cdkBuilder.tls(tls.let(ClientPolicyTlsProperty.Companion::unwrap)) } /** @@ -1731,14 +1731,14 @@ public open class CfnVirtualNode( * @param certificate A reference to an object that represents a client's TLS certificate. */ override fun certificate(certificate: IResolvable) { - cdkBuilder.certificate(certificate.let(IResolvable::unwrap)) + cdkBuilder.certificate(certificate.let(IResolvable.Companion::unwrap)) } /** * @param certificate A reference to an object that represents a client's TLS certificate. */ override fun certificate(certificate: ClientTlsCertificateProperty) { - cdkBuilder.certificate(certificate.let(ClientTlsCertificateProperty::unwrap)) + cdkBuilder.certificate(certificate.let(ClientTlsCertificateProperty.Companion::unwrap)) } /** @@ -1762,14 +1762,14 @@ public open class CfnVirtualNode( * The default is `True` , if a value isn't specified. */ override fun enforce(enforce: IResolvable) { - cdkBuilder.enforce(enforce.let(IResolvable::unwrap)) + cdkBuilder.enforce(enforce.let(IResolvable.Companion::unwrap)) } /** * @param ports One or more ports that the policy is enforced for. */ override fun ports(ports: IResolvable) { - cdkBuilder.ports(ports.let(IResolvable::unwrap)) + cdkBuilder.ports(ports.let(IResolvable.Companion::unwrap)) } /** @@ -1788,14 +1788,14 @@ public open class CfnVirtualNode( * @param validation A reference to an object that represents a TLS validation context. */ override fun validation(validation: IResolvable) { - cdkBuilder.validation(validation.let(IResolvable::unwrap)) + cdkBuilder.validation(validation.let(IResolvable.Companion::unwrap)) } /** * @param validation A reference to an object that represents a TLS validation context. */ override fun validation(validation: TlsValidationContextProperty) { - cdkBuilder.validation(validation.let(TlsValidationContextProperty::unwrap)) + cdkBuilder.validation(validation.let(TlsValidationContextProperty.Companion::unwrap)) } /** @@ -1970,7 +1970,7 @@ public open class CfnVirtualNode( * (TLS)](https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html) . */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** @@ -1980,7 +1980,7 @@ public open class CfnVirtualNode( * (TLS)](https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html) . */ override fun `file`(`file`: ListenerTlsFileCertificateProperty) { - cdkBuilder.`file`(`file`.let(ListenerTlsFileCertificateProperty::unwrap)) + cdkBuilder.`file`(`file`.let(ListenerTlsFileCertificateProperty.Companion::unwrap)) } /** @@ -1999,7 +1999,7 @@ public open class CfnVirtualNode( * certificate. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -2007,7 +2007,7 @@ public open class CfnVirtualNode( * certificate. */ override fun sds(sds: ListenerTlsSdsCertificateProperty) { - cdkBuilder.sds(sds.let(ListenerTlsSdsCertificateProperty::unwrap)) + cdkBuilder.sds(sds.let(ListenerTlsSdsCertificateProperty.Companion::unwrap)) } /** @@ -2419,7 +2419,7 @@ public open class CfnVirtualNode( * The format is either `json_format` or `text_format` . */ override fun format(format: IResolvable) { - cdkBuilder.format(format.let(IResolvable::unwrap)) + cdkBuilder.format(format.let(IResolvable.Companion::unwrap)) } /** @@ -2427,7 +2427,7 @@ public open class CfnVirtualNode( * The format is either `json_format` or `text_format` . */ override fun format(format: LoggingFormatProperty) { - cdkBuilder.format(format.let(LoggingFormatProperty::unwrap)) + cdkBuilder.format(format.let(LoggingFormatProperty.Companion::unwrap)) } /** @@ -2622,7 +2622,7 @@ public open class CfnVirtualNode( * is none. */ override fun idle(idle: IResolvable) { - cdkBuilder.idle(idle.let(IResolvable::unwrap)) + cdkBuilder.idle(idle.let(IResolvable.Companion::unwrap)) } /** @@ -2631,7 +2631,7 @@ public open class CfnVirtualNode( * is none. */ override fun idle(idle: DurationProperty) { - cdkBuilder.idle(idle.let(DurationProperty::unwrap)) + cdkBuilder.idle(idle.let(DurationProperty.Companion::unwrap)) } /** @@ -2652,7 +2652,7 @@ public open class CfnVirtualNode( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: IResolvable) { - cdkBuilder.perRequest(perRequest.let(IResolvable::unwrap)) + cdkBuilder.perRequest(perRequest.let(IResolvable.Companion::unwrap)) } /** @@ -2663,7 +2663,7 @@ public open class CfnVirtualNode( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: DurationProperty) { - cdkBuilder.perRequest(perRequest.let(DurationProperty::unwrap)) + cdkBuilder.perRequest(perRequest.let(DurationProperty.Companion::unwrap)) } /** @@ -3125,7 +3125,7 @@ public open class CfnVirtualNode( * is none. */ override fun idle(idle: IResolvable) { - cdkBuilder.idle(idle.let(IResolvable::unwrap)) + cdkBuilder.idle(idle.let(IResolvable.Companion::unwrap)) } /** @@ -3134,7 +3134,7 @@ public open class CfnVirtualNode( * is none. */ override fun idle(idle: DurationProperty) { - cdkBuilder.idle(idle.let(DurationProperty::unwrap)) + cdkBuilder.idle(idle.let(DurationProperty.Companion::unwrap)) } /** @@ -3155,7 +3155,7 @@ public open class CfnVirtualNode( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: IResolvable) { - cdkBuilder.perRequest(perRequest.let(IResolvable::unwrap)) + cdkBuilder.perRequest(perRequest.let(IResolvable.Companion::unwrap)) } /** @@ -3166,7 +3166,7 @@ public open class CfnVirtualNode( * should be greater than 15 seconds for the source and destination virtual node and the route. */ override fun perRequest(perRequest: DurationProperty) { - cdkBuilder.perRequest(perRequest.let(DurationProperty::unwrap)) + cdkBuilder.perRequest(perRequest.let(DurationProperty.Companion::unwrap)) } /** @@ -3630,14 +3630,14 @@ public open class CfnVirtualNode( * @param connectionPool The connection pool information for the listener. */ override fun connectionPool(connectionPool: IResolvable) { - cdkBuilder.connectionPool(connectionPool.let(IResolvable::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(IResolvable.Companion::unwrap)) } /** * @param connectionPool The connection pool information for the listener. */ override fun connectionPool(connectionPool: VirtualNodeConnectionPoolProperty) { - cdkBuilder.connectionPool(connectionPool.let(VirtualNodeConnectionPoolProperty::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(VirtualNodeConnectionPoolProperty.Companion::unwrap)) } /** @@ -3653,14 +3653,14 @@ public open class CfnVirtualNode( * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: IResolvable) { - cdkBuilder.healthCheck(healthCheck.let(IResolvable::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) } /** * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheckProperty) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckProperty::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckProperty.Companion::unwrap)) } /** @@ -3675,14 +3675,14 @@ public open class CfnVirtualNode( * @param outlierDetection The outlier detection information for the listener. */ override fun outlierDetection(outlierDetection: IResolvable) { - cdkBuilder.outlierDetection(outlierDetection.let(IResolvable::unwrap)) + cdkBuilder.outlierDetection(outlierDetection.let(IResolvable.Companion::unwrap)) } /** * @param outlierDetection The outlier detection information for the listener. */ override fun outlierDetection(outlierDetection: OutlierDetectionProperty) { - cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetectionProperty::unwrap)) + cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetectionProperty.Companion::unwrap)) } /** @@ -3697,14 +3697,14 @@ public open class CfnVirtualNode( * @param portMapping The port mapping information for the listener. */ override fun portMapping(portMapping: IResolvable) { - cdkBuilder.portMapping(portMapping.let(IResolvable::unwrap)) + cdkBuilder.portMapping(portMapping.let(IResolvable.Companion::unwrap)) } /** * @param portMapping The port mapping information for the listener. */ override fun portMapping(portMapping: PortMappingProperty) { - cdkBuilder.portMapping(portMapping.let(PortMappingProperty::unwrap)) + cdkBuilder.portMapping(portMapping.let(PortMappingProperty.Companion::unwrap)) } /** @@ -3719,14 +3719,14 @@ public open class CfnVirtualNode( * @param timeout An object that represents timeouts for different protocols. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** * @param timeout An object that represents timeouts for different protocols. */ override fun timeout(timeout: ListenerTimeoutProperty) { - cdkBuilder.timeout(timeout.let(ListenerTimeoutProperty::unwrap)) + cdkBuilder.timeout(timeout.let(ListenerTimeoutProperty.Companion::unwrap)) } /** @@ -3742,7 +3742,7 @@ public open class CfnVirtualNode( * properties for a listener. */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** @@ -3750,7 +3750,7 @@ public open class CfnVirtualNode( * properties for a listener. */ override fun tls(tls: ListenerTlsProperty) { - cdkBuilder.tls(tls.let(ListenerTlsProperty::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsProperty.Companion::unwrap)) } /** @@ -3994,14 +3994,14 @@ public open class CfnVirtualNode( * @param grpc An object that represents types of timeouts. */ override fun grpc(grpc: IResolvable) { - cdkBuilder.grpc(grpc.let(IResolvable::unwrap)) + cdkBuilder.grpc(grpc.let(IResolvable.Companion::unwrap)) } /** * @param grpc An object that represents types of timeouts. */ override fun grpc(grpc: GrpcTimeoutProperty) { - cdkBuilder.grpc(grpc.let(GrpcTimeoutProperty::unwrap)) + cdkBuilder.grpc(grpc.let(GrpcTimeoutProperty.Companion::unwrap)) } /** @@ -4016,14 +4016,14 @@ public open class CfnVirtualNode( * @param http An object that represents types of timeouts. */ override fun http(http: IResolvable) { - cdkBuilder.http(http.let(IResolvable::unwrap)) + cdkBuilder.http(http.let(IResolvable.Companion::unwrap)) } /** * @param http An object that represents types of timeouts. */ override fun http(http: HttpTimeoutProperty) { - cdkBuilder.http(http.let(HttpTimeoutProperty::unwrap)) + cdkBuilder.http(http.let(HttpTimeoutProperty.Companion::unwrap)) } /** @@ -4038,14 +4038,14 @@ public open class CfnVirtualNode( * @param http2 An object that represents types of timeouts. */ override fun http2(http2: IResolvable) { - cdkBuilder.http2(http2.let(IResolvable::unwrap)) + cdkBuilder.http2(http2.let(IResolvable.Companion::unwrap)) } /** * @param http2 An object that represents types of timeouts. */ override fun http2(http2: HttpTimeoutProperty) { - cdkBuilder.http2(http2.let(HttpTimeoutProperty::unwrap)) + cdkBuilder.http2(http2.let(HttpTimeoutProperty.Companion::unwrap)) } /** @@ -4060,14 +4060,14 @@ public open class CfnVirtualNode( * @param tcp An object that represents types of timeouts. */ override fun tcp(tcp: IResolvable) { - cdkBuilder.tcp(tcp.let(IResolvable::unwrap)) + cdkBuilder.tcp(tcp.let(IResolvable.Companion::unwrap)) } /** * @param tcp An object that represents types of timeouts. */ override fun tcp(tcp: TcpTimeoutProperty) { - cdkBuilder.tcp(tcp.let(TcpTimeoutProperty::unwrap)) + cdkBuilder.tcp(tcp.let(TcpTimeoutProperty.Companion::unwrap)) } /** @@ -4353,14 +4353,14 @@ public open class CfnVirtualNode( * @param acm A reference to an object that represents an AWS Certificate Manager certificate. */ override fun acm(acm: IResolvable) { - cdkBuilder.acm(acm.let(IResolvable::unwrap)) + cdkBuilder.acm(acm.let(IResolvable.Companion::unwrap)) } /** * @param acm A reference to an object that represents an AWS Certificate Manager certificate. */ override fun acm(acm: ListenerTlsAcmCertificateProperty) { - cdkBuilder.acm(acm.let(ListenerTlsAcmCertificateProperty::unwrap)) + cdkBuilder.acm(acm.let(ListenerTlsAcmCertificateProperty.Companion::unwrap)) } /** @@ -4375,14 +4375,14 @@ public open class CfnVirtualNode( * @param file A reference to an object that represents a local file certificate. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** * @param file A reference to an object that represents a local file certificate. */ override fun `file`(`file`: ListenerTlsFileCertificateProperty) { - cdkBuilder.`file`(`file`.let(ListenerTlsFileCertificateProperty::unwrap)) + cdkBuilder.`file`(`file`.let(ListenerTlsFileCertificateProperty.Companion::unwrap)) } /** @@ -4398,7 +4398,7 @@ public open class CfnVirtualNode( * certificate. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -4406,7 +4406,7 @@ public open class CfnVirtualNode( * certificate. */ override fun sds(sds: ListenerTlsSdsCertificateProperty) { - cdkBuilder.sds(sds.let(ListenerTlsSdsCertificateProperty::unwrap)) + cdkBuilder.sds(sds.let(ListenerTlsSdsCertificateProperty.Companion::unwrap)) } /** @@ -4723,7 +4723,7 @@ public open class CfnVirtualNode( * Security (TLS) certificate. */ override fun certificate(certificate: IResolvable) { - cdkBuilder.certificate(certificate.let(IResolvable::unwrap)) + cdkBuilder.certificate(certificate.let(IResolvable.Companion::unwrap)) } /** @@ -4731,7 +4731,7 @@ public open class CfnVirtualNode( * Security (TLS) certificate. */ override fun certificate(certificate: ListenerTlsCertificateProperty) { - cdkBuilder.certificate(certificate.let(ListenerTlsCertificateProperty::unwrap)) + cdkBuilder.certificate(certificate.let(ListenerTlsCertificateProperty.Companion::unwrap)) } /** @@ -4758,7 +4758,7 @@ public open class CfnVirtualNode( * Security (TLS) validation context. */ override fun validation(validation: IResolvable) { - cdkBuilder.validation(validation.let(IResolvable::unwrap)) + cdkBuilder.validation(validation.let(IResolvable.Companion::unwrap)) } /** @@ -4766,7 +4766,7 @@ public open class CfnVirtualNode( * Security (TLS) validation context. */ override fun validation(validation: ListenerTlsValidationContextProperty) { - cdkBuilder.validation(validation.let(ListenerTlsValidationContextProperty::unwrap)) + cdkBuilder.validation(validation.let(ListenerTlsValidationContextProperty.Companion::unwrap)) } /** @@ -5031,7 +5031,7 @@ public open class CfnVirtualNode( * listener's Transport Layer Security (TLS) validation context. */ override fun subjectAlternativeNames(subjectAlternativeNames: IResolvable) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable.Companion::unwrap)) } /** @@ -5040,7 +5040,7 @@ public open class CfnVirtualNode( */ override fun subjectAlternativeNames(subjectAlternativeNames: SubjectAlternativeNamesProperty) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty.Companion::unwrap)) } /** @@ -5058,7 +5058,7 @@ public open class CfnVirtualNode( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: IResolvable) { - cdkBuilder.trust(trust.let(IResolvable::unwrap)) + cdkBuilder.trust(trust.let(IResolvable.Companion::unwrap)) } /** @@ -5066,7 +5066,7 @@ public open class CfnVirtualNode( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: ListenerTlsValidationContextTrustProperty) { - cdkBuilder.trust(trust.let(ListenerTlsValidationContextTrustProperty::unwrap)) + cdkBuilder.trust(trust.let(ListenerTlsValidationContextTrustProperty.Companion::unwrap)) } /** @@ -5218,7 +5218,7 @@ public open class CfnVirtualNode( * trust for a local file. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** @@ -5226,7 +5226,7 @@ public open class CfnVirtualNode( * trust for a local file. */ override fun `file`(`file`: TlsValidationContextFileTrustProperty) { - cdkBuilder.`file`(`file`.let(TlsValidationContextFileTrustProperty::unwrap)) + cdkBuilder.`file`(`file`.let(TlsValidationContextFileTrustProperty.Companion::unwrap)) } /** @@ -5243,7 +5243,7 @@ public open class CfnVirtualNode( * (TLS) Secret Discovery Service validation context trust. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -5251,7 +5251,7 @@ public open class CfnVirtualNode( * (TLS) Secret Discovery Service validation context trust. */ override fun sds(sds: TlsValidationContextSdsTrustProperty) { - cdkBuilder.sds(sds.let(TlsValidationContextSdsTrustProperty::unwrap)) + cdkBuilder.sds(sds.let(TlsValidationContextSdsTrustProperty.Companion::unwrap)) } /** @@ -5377,7 +5377,7 @@ public open class CfnVirtualNode( * @param json The logging format for JSON. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** @@ -5508,14 +5508,14 @@ public open class CfnVirtualNode( * @param accessLog The access log configuration for a virtual node. */ override fun accessLog(accessLog: IResolvable) { - cdkBuilder.accessLog(accessLog.let(IResolvable::unwrap)) + cdkBuilder.accessLog(accessLog.let(IResolvable.Companion::unwrap)) } /** * @param accessLog The access log configuration for a virtual node. */ override fun accessLog(accessLog: AccessLogProperty) { - cdkBuilder.accessLog(accessLog.let(AccessLogProperty::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLogProperty.Companion::unwrap)) } /** @@ -5676,14 +5676,14 @@ public open class CfnVirtualNode( * @param baseEjectionDuration The base amount of time for which a host is ejected. */ override fun baseEjectionDuration(baseEjectionDuration: IResolvable) { - cdkBuilder.baseEjectionDuration(baseEjectionDuration.let(IResolvable::unwrap)) + cdkBuilder.baseEjectionDuration(baseEjectionDuration.let(IResolvable.Companion::unwrap)) } /** * @param baseEjectionDuration The base amount of time for which a host is ejected. */ override fun baseEjectionDuration(baseEjectionDuration: DurationProperty) { - cdkBuilder.baseEjectionDuration(baseEjectionDuration.let(DurationProperty::unwrap)) + cdkBuilder.baseEjectionDuration(baseEjectionDuration.let(DurationProperty.Companion::unwrap)) } /** @@ -5698,14 +5698,14 @@ public open class CfnVirtualNode( * @param interval The time interval between ejection sweep analysis. */ override fun interval(interval: IResolvable) { - cdkBuilder.interval(interval.let(IResolvable::unwrap)) + cdkBuilder.interval(interval.let(IResolvable.Companion::unwrap)) } /** * @param interval The time interval between ejection sweep analysis. */ override fun interval(interval: DurationProperty) { - cdkBuilder.interval(interval.let(DurationProperty::unwrap)) + cdkBuilder.interval(interval.let(DurationProperty.Companion::unwrap)) } /** @@ -5998,14 +5998,14 @@ public open class CfnVirtualNode( * @param awsCloudMap Specifies any AWS Cloud Map information for the virtual node. */ override fun awsCloudMap(awsCloudMap: IResolvable) { - cdkBuilder.awsCloudMap(awsCloudMap.let(IResolvable::unwrap)) + cdkBuilder.awsCloudMap(awsCloudMap.let(IResolvable.Companion::unwrap)) } /** * @param awsCloudMap Specifies any AWS Cloud Map information for the virtual node. */ override fun awsCloudMap(awsCloudMap: AwsCloudMapServiceDiscoveryProperty) { - cdkBuilder.awsCloudMap(awsCloudMap.let(AwsCloudMapServiceDiscoveryProperty::unwrap)) + cdkBuilder.awsCloudMap(awsCloudMap.let(AwsCloudMapServiceDiscoveryProperty.Companion::unwrap)) } /** @@ -6020,14 +6020,14 @@ public open class CfnVirtualNode( * @param dns Specifies the DNS information for the virtual node. */ override fun dns(dns: IResolvable) { - cdkBuilder.dns(dns.let(IResolvable::unwrap)) + cdkBuilder.dns(dns.let(IResolvable.Companion::unwrap)) } /** * @param dns Specifies the DNS information for the virtual node. */ override fun dns(dns: DnsServiceDiscoveryProperty) { - cdkBuilder.dns(dns.let(DnsServiceDiscoveryProperty::unwrap)) + cdkBuilder.dns(dns.let(DnsServiceDiscoveryProperty.Companion::unwrap)) } /** @@ -6234,14 +6234,14 @@ public open class CfnVirtualNode( * @param match An object that represents the criteria for determining a SANs match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match An object that represents the criteria for determining a SANs match. */ override fun match(match: SubjectAlternativeNameMatchersProperty) { - cdkBuilder.match(match.let(SubjectAlternativeNameMatchersProperty::unwrap)) + cdkBuilder.match(match.let(SubjectAlternativeNameMatchersProperty.Companion::unwrap)) } /** @@ -6356,7 +6356,7 @@ public open class CfnVirtualNode( * is none. */ override fun idle(idle: IResolvable) { - cdkBuilder.idle(idle.let(IResolvable::unwrap)) + cdkBuilder.idle(idle.let(IResolvable.Companion::unwrap)) } /** @@ -6365,7 +6365,7 @@ public open class CfnVirtualNode( * is none. */ override fun idle(idle: DurationProperty) { - cdkBuilder.idle(idle.let(DurationProperty::unwrap)) + cdkBuilder.idle(idle.let(DurationProperty.Companion::unwrap)) } /** @@ -6740,7 +6740,7 @@ public open class CfnVirtualNode( * discovery name. */ override fun subjectAlternativeNames(subjectAlternativeNames: IResolvable) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(IResolvable.Companion::unwrap)) } /** @@ -6755,7 +6755,7 @@ public open class CfnVirtualNode( */ override fun subjectAlternativeNames(subjectAlternativeNames: SubjectAlternativeNamesProperty) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNamesProperty.Companion::unwrap)) } /** @@ -6779,7 +6779,7 @@ public open class CfnVirtualNode( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: IResolvable) { - cdkBuilder.trust(trust.let(IResolvable::unwrap)) + cdkBuilder.trust(trust.let(IResolvable.Companion::unwrap)) } /** @@ -6787,7 +6787,7 @@ public open class CfnVirtualNode( * Transport Layer Security (TLS) certificate. */ override fun trust(trust: TlsValidationContextTrustProperty) { - cdkBuilder.trust(trust.let(TlsValidationContextTrustProperty::unwrap)) + cdkBuilder.trust(trust.let(TlsValidationContextTrustProperty.Companion::unwrap)) } /** @@ -7068,7 +7068,7 @@ public open class CfnVirtualNode( * validation context trust for an AWS Certificate Manager certificate. */ override fun acm(acm: IResolvable) { - cdkBuilder.acm(acm.let(IResolvable::unwrap)) + cdkBuilder.acm(acm.let(IResolvable.Companion::unwrap)) } /** @@ -7076,7 +7076,7 @@ public open class CfnVirtualNode( * validation context trust for an AWS Certificate Manager certificate. */ override fun acm(acm: TlsValidationContextAcmTrustProperty) { - cdkBuilder.acm(acm.let(TlsValidationContextAcmTrustProperty::unwrap)) + cdkBuilder.acm(acm.let(TlsValidationContextAcmTrustProperty.Companion::unwrap)) } /** @@ -7093,7 +7093,7 @@ public open class CfnVirtualNode( * trust for a local file. */ override fun `file`(`file`: IResolvable) { - cdkBuilder.`file`(`file`.let(IResolvable::unwrap)) + cdkBuilder.`file`(`file`.let(IResolvable.Companion::unwrap)) } /** @@ -7101,7 +7101,7 @@ public open class CfnVirtualNode( * trust for a local file. */ override fun `file`(`file`: TlsValidationContextFileTrustProperty) { - cdkBuilder.`file`(`file`.let(TlsValidationContextFileTrustProperty::unwrap)) + cdkBuilder.`file`(`file`.let(TlsValidationContextFileTrustProperty.Companion::unwrap)) } /** @@ -7118,7 +7118,7 @@ public open class CfnVirtualNode( * Discovery Service validation context trust. */ override fun sds(sds: IResolvable) { - cdkBuilder.sds(sds.let(IResolvable::unwrap)) + cdkBuilder.sds(sds.let(IResolvable.Companion::unwrap)) } /** @@ -7126,7 +7126,7 @@ public open class CfnVirtualNode( * Discovery Service validation context trust. */ override fun sds(sds: TlsValidationContextSdsTrustProperty) { - cdkBuilder.sds(sds.let(TlsValidationContextSdsTrustProperty::unwrap)) + cdkBuilder.sds(sds.let(TlsValidationContextSdsTrustProperty.Companion::unwrap)) } /** @@ -7338,14 +7338,14 @@ public open class CfnVirtualNode( * @param grpc An object that represents a type of connection pool. */ override fun grpc(grpc: IResolvable) { - cdkBuilder.grpc(grpc.let(IResolvable::unwrap)) + cdkBuilder.grpc(grpc.let(IResolvable.Companion::unwrap)) } /** * @param grpc An object that represents a type of connection pool. */ override fun grpc(grpc: VirtualNodeGrpcConnectionPoolProperty) { - cdkBuilder.grpc(grpc.let(VirtualNodeGrpcConnectionPoolProperty::unwrap)) + cdkBuilder.grpc(grpc.let(VirtualNodeGrpcConnectionPoolProperty.Companion::unwrap)) } /** @@ -7360,14 +7360,14 @@ public open class CfnVirtualNode( * @param http An object that represents a type of connection pool. */ override fun http(http: IResolvable) { - cdkBuilder.http(http.let(IResolvable::unwrap)) + cdkBuilder.http(http.let(IResolvable.Companion::unwrap)) } /** * @param http An object that represents a type of connection pool. */ override fun http(http: VirtualNodeHttpConnectionPoolProperty) { - cdkBuilder.http(http.let(VirtualNodeHttpConnectionPoolProperty::unwrap)) + cdkBuilder.http(http.let(VirtualNodeHttpConnectionPoolProperty.Companion::unwrap)) } /** @@ -7382,14 +7382,14 @@ public open class CfnVirtualNode( * @param http2 An object that represents a type of connection pool. */ override fun http2(http2: IResolvable) { - cdkBuilder.http2(http2.let(IResolvable::unwrap)) + cdkBuilder.http2(http2.let(IResolvable.Companion::unwrap)) } /** * @param http2 An object that represents a type of connection pool. */ override fun http2(http2: VirtualNodeHttp2ConnectionPoolProperty) { - cdkBuilder.http2(http2.let(VirtualNodeHttp2ConnectionPoolProperty::unwrap)) + cdkBuilder.http2(http2.let(VirtualNodeHttp2ConnectionPoolProperty.Companion::unwrap)) } /** @@ -7404,14 +7404,14 @@ public open class CfnVirtualNode( * @param tcp An object that represents a type of connection pool. */ override fun tcp(tcp: IResolvable) { - cdkBuilder.tcp(tcp.let(IResolvable::unwrap)) + cdkBuilder.tcp(tcp.let(IResolvable.Companion::unwrap)) } /** * @param tcp An object that represents a type of connection pool. */ override fun tcp(tcp: VirtualNodeTcpConnectionPoolProperty) { - cdkBuilder.tcp(tcp.let(VirtualNodeTcpConnectionPoolProperty::unwrap)) + cdkBuilder.tcp(tcp.let(VirtualNodeTcpConnectionPoolProperty.Companion::unwrap)) } /** @@ -8185,14 +8185,14 @@ public open class CfnVirtualNode( * @param backendDefaults A reference to an object that represents the defaults for backends. */ override fun backendDefaults(backendDefaults: IResolvable) { - cdkBuilder.backendDefaults(backendDefaults.let(IResolvable::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(IResolvable.Companion::unwrap)) } /** * @param backendDefaults A reference to an object that represents the defaults for backends. */ override fun backendDefaults(backendDefaults: BackendDefaultsProperty) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaultsProperty::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaultsProperty.Companion::unwrap)) } /** @@ -8212,7 +8212,7 @@ public open class CfnVirtualNode( * if it doesn't already exist. */ override fun backends(backends: IResolvable) { - cdkBuilder.backends(backends.let(IResolvable::unwrap)) + cdkBuilder.backends(backends.let(IResolvable.Companion::unwrap)) } /** @@ -8243,7 +8243,7 @@ public open class CfnVirtualNode( * You can specify one listener. */ override fun listeners(listeners: IResolvable) { - cdkBuilder.listeners(listeners.let(IResolvable::unwrap)) + cdkBuilder.listeners(listeners.let(IResolvable.Companion::unwrap)) } /** @@ -8266,14 +8266,14 @@ public open class CfnVirtualNode( * @param logging The inbound and outbound access logging information for the virtual node. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** * @param logging The inbound and outbound access logging information for the virtual node. */ override fun logging(logging: LoggingProperty) { - cdkBuilder.logging(logging.let(LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(LoggingProperty.Companion::unwrap)) } /** @@ -8290,7 +8290,7 @@ public open class CfnVirtualNode( * specify a `listener` , then you must specify service discovery information. */ override fun serviceDiscovery(serviceDiscovery: IResolvable) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(IResolvable::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(IResolvable.Companion::unwrap)) } /** @@ -8299,7 +8299,7 @@ public open class CfnVirtualNode( * specify a `listener` , then you must specify service discovery information. */ override fun serviceDiscovery(serviceDiscovery: ServiceDiscoveryProperty) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscoveryProperty::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscoveryProperty.Companion::unwrap)) } /** @@ -8597,7 +8597,7 @@ public open class CfnVirtualNode( * backend. */ override fun clientPolicy(clientPolicy: IResolvable) { - cdkBuilder.clientPolicy(clientPolicy.let(IResolvable::unwrap)) + cdkBuilder.clientPolicy(clientPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -8605,7 +8605,7 @@ public open class CfnVirtualNode( * backend. */ override fun clientPolicy(clientPolicy: ClientPolicyProperty) { - cdkBuilder.clientPolicy(clientPolicy.let(ClientPolicyProperty::unwrap)) + cdkBuilder.clientPolicy(clientPolicy.let(ClientPolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNodeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNodeProps.kt index 3c0579ad9f..cc03b50510 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNodeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualNodeProps.kt @@ -396,14 +396,14 @@ public interface CfnVirtualNodeProps { * @param spec The virtual node specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The virtual node specification to apply. */ override fun spec(spec: CfnVirtualNode.VirtualNodeSpecProperty) { - cdkBuilder.spec(spec.let(CfnVirtualNode.VirtualNodeSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnVirtualNode.VirtualNodeSpecProperty.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface CfnVirtualNodeProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouter.kt index 2b69aecac0..ae85205019 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouter.kt @@ -68,8 +68,8 @@ public open class CfnVirtualRouter( id: String, props: CfnVirtualRouterProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnVirtualRouter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVirtualRouterProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnVirtualRouter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVirtualRouterProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnVirtualRouter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -164,14 +164,14 @@ public open class CfnVirtualRouter( * The virtual router specification to apply. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual router specification to apply. */ public open fun spec(`value`: VirtualRouterSpecProperty) { - unwrap(this).setSpec(`value`.let(VirtualRouterSpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(VirtualRouterSpecProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnVirtualRouter( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnVirtualRouter( * @param spec The virtual router specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnVirtualRouter( * @param spec The virtual router specification to apply. */ override fun spec(spec: VirtualRouterSpecProperty) { - cdkBuilder.spec(spec.let(VirtualRouterSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(VirtualRouterSpecProperty.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnVirtualRouter( * categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -612,14 +612,14 @@ public open class CfnVirtualRouter( * @param portMapping The port mapping information for the listener. */ override fun portMapping(portMapping: IResolvable) { - cdkBuilder.portMapping(portMapping.let(IResolvable::unwrap)) + cdkBuilder.portMapping(portMapping.let(IResolvable.Companion::unwrap)) } /** * @param portMapping The port mapping information for the listener. */ override fun portMapping(portMapping: PortMappingProperty) { - cdkBuilder.portMapping(portMapping.let(PortMappingProperty::unwrap)) + cdkBuilder.portMapping(portMapping.let(PortMappingProperty.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnVirtualRouter( * traffic from. */ override fun listeners(listeners: IResolvable) { - cdkBuilder.listeners(listeners.let(IResolvable::unwrap)) + cdkBuilder.listeners(listeners.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouterProps.kt index c6d5553617..98db710f7a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualRouterProps.kt @@ -176,14 +176,14 @@ public interface CfnVirtualRouterProps { * @param spec The virtual router specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The virtual router specification to apply. */ override fun spec(spec: CfnVirtualRouter.VirtualRouterSpecProperty) { - cdkBuilder.spec(spec.let(CfnVirtualRouter.VirtualRouterSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnVirtualRouter.VirtualRouterSpecProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface CfnVirtualRouterProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualService.kt index 1c3db09a3d..c058a479d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualService.kt @@ -70,8 +70,8 @@ public open class CfnVirtualService( id: String, props: CfnVirtualServiceProps, ) : - this(software.amazon.awscdk.services.appmesh.CfnVirtualService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVirtualServiceProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.CfnVirtualService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVirtualServiceProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class CfnVirtualService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -166,14 +166,14 @@ public open class CfnVirtualService( * The virtual service specification to apply. */ public open fun spec(`value`: IResolvable) { - unwrap(this).setSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpec(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual service specification to apply. */ public open fun spec(`value`: VirtualServiceSpecProperty) { - unwrap(this).setSpec(`value`.let(VirtualServiceSpecProperty::unwrap)) + unwrap(this).setSpec(`value`.let(VirtualServiceSpecProperty.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnVirtualService( * organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnVirtualService( * @param spec The virtual service specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnVirtualService( * @param spec The virtual service specification to apply. */ override fun spec(spec: VirtualServiceSpecProperty) { - cdkBuilder.spec(spec.let(VirtualServiceSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(VirtualServiceSpecProperty.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnVirtualService( * categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -697,14 +697,14 @@ public open class CfnVirtualService( * @param virtualNode The virtual node associated with a virtual service. */ override fun virtualNode(virtualNode: IResolvable) { - cdkBuilder.virtualNode(virtualNode.let(IResolvable::unwrap)) + cdkBuilder.virtualNode(virtualNode.let(IResolvable.Companion::unwrap)) } /** * @param virtualNode The virtual node associated with a virtual service. */ override fun virtualNode(virtualNode: VirtualNodeServiceProviderProperty) { - cdkBuilder.virtualNode(virtualNode.let(VirtualNodeServiceProviderProperty::unwrap)) + cdkBuilder.virtualNode(virtualNode.let(VirtualNodeServiceProviderProperty.Companion::unwrap)) } /** @@ -719,14 +719,14 @@ public open class CfnVirtualService( * @param virtualRouter The virtual router associated with a virtual service. */ override fun virtualRouter(virtualRouter: IResolvable) { - cdkBuilder.virtualRouter(virtualRouter.let(IResolvable::unwrap)) + cdkBuilder.virtualRouter(virtualRouter.let(IResolvable.Companion::unwrap)) } /** * @param virtualRouter The virtual router associated with a virtual service. */ override fun virtualRouter(virtualRouter: VirtualRouterServiceProviderProperty) { - cdkBuilder.virtualRouter(virtualRouter.let(VirtualRouterServiceProviderProperty::unwrap)) + cdkBuilder.virtualRouter(virtualRouter.let(VirtualRouterServiceProviderProperty.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public open class CfnVirtualService( * You can specify a single virtual node or virtual router. */ override fun provider(provider: IResolvable) { - cdkBuilder.provider(provider.let(IResolvable::unwrap)) + cdkBuilder.provider(provider.let(IResolvable.Companion::unwrap)) } /** @@ -857,7 +857,7 @@ public open class CfnVirtualService( * You can specify a single virtual node or virtual router. */ override fun provider(provider: VirtualServiceProviderProperty) { - cdkBuilder.provider(provider.let(VirtualServiceProviderProperty::unwrap)) + cdkBuilder.provider(provider.let(VirtualServiceProviderProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualServiceProps.kt index 1f2265d271..e0e75e965d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/CfnVirtualServiceProps.kt @@ -178,14 +178,14 @@ public interface CfnVirtualServiceProps { * @param spec The virtual service specification to apply. */ override fun spec(spec: IResolvable) { - cdkBuilder.spec(spec.let(IResolvable::unwrap)) + cdkBuilder.spec(spec.let(IResolvable.Companion::unwrap)) } /** * @param spec The virtual service specification to apply. */ override fun spec(spec: CfnVirtualService.VirtualServiceSpecProperty) { - cdkBuilder.spec(spec.let(CfnVirtualService.VirtualServiceSpecProperty::unwrap)) + cdkBuilder.spec(spec.let(CfnVirtualService.VirtualServiceSpecProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface CfnVirtualServiceProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRoute.kt index 0b76a51cd8..00822738d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRoute.kt @@ -39,8 +39,8 @@ public open class GatewayRoute( id: String, props: GatewayRouteProps, ) : - this(software.amazon.awscdk.services.appmesh.GatewayRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GatewayRouteProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.GatewayRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GatewayRouteProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class GatewayRoute( * @param routeSpec What protocol the route uses. */ override fun routeSpec(routeSpec: GatewayRouteSpec) { - cdkBuilder.routeSpec(routeSpec.let(GatewayRouteSpec::unwrap)) + cdkBuilder.routeSpec(routeSpec.let(GatewayRouteSpec.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class GatewayRoute( * @param virtualGateway The VirtualGateway this GatewayRoute is associated with. */ override fun virtualGateway(virtualGateway: IVirtualGateway) { - cdkBuilder.virtualGateway(virtualGateway.let(IVirtualGateway::unwrap)) + cdkBuilder.virtualGateway(virtualGateway.let(IVirtualGateway.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.GatewayRoute = cdkBuilder.build() @@ -140,7 +140,7 @@ public open class GatewayRoute( id: String, gatewayRouteArn: String, ): IGatewayRoute = - software.amazon.awscdk.services.appmesh.GatewayRoute.fromGatewayRouteArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.GatewayRoute.fromGatewayRouteArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, gatewayRouteArn).let(IGatewayRoute::wrap) public fun fromGatewayRouteAttributes( @@ -148,8 +148,8 @@ public open class GatewayRoute( id: String, attrs: GatewayRouteAttributes, ): IGatewayRoute = - software.amazon.awscdk.services.appmesh.GatewayRoute.fromGatewayRouteAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(GatewayRouteAttributes::unwrap)).let(IGatewayRoute::wrap) + software.amazon.awscdk.services.appmesh.GatewayRoute.fromGatewayRouteAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(GatewayRouteAttributes.Companion::unwrap)).let(IGatewayRoute::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f71dbbf43002918748ca9a53d66214e1ac13030048b1218765fc33ac163c70a9") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteAttributes.kt index 06b09eebea..96d86beaa3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteAttributes.kt @@ -66,7 +66,7 @@ public interface GatewayRouteAttributes { * @param virtualGateway The VirtualGateway this GatewayRoute is associated with. */ override fun virtualGateway(virtualGateway: IVirtualGateway) { - cdkBuilder.virtualGateway(virtualGateway.let(IVirtualGateway::unwrap)) + cdkBuilder.virtualGateway(virtualGateway.let(IVirtualGateway.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.GatewayRouteAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteBaseProps.kt index 6e87763c2b..c71eafdc8c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteBaseProps.kt @@ -72,7 +72,7 @@ public interface GatewayRouteBaseProps { * @param routeSpec What protocol the route uses. */ override fun routeSpec(routeSpec: GatewayRouteSpec) { - cdkBuilder.routeSpec(routeSpec.let(GatewayRouteSpec::unwrap)) + cdkBuilder.routeSpec(routeSpec.let(GatewayRouteSpec.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.GatewayRouteBaseProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatch.kt index 6596165c0e..9db29e15e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatch.kt @@ -34,7 +34,7 @@ public abstract class GatewayRouteHostnameMatch( * @param scope */ public open fun bind(scope: Construct): GatewayRouteHostnameMatchConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(GatewayRouteHostnameMatchConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(GatewayRouteHostnameMatchConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.GatewayRouteHostnameMatch, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatchConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatchConfig.kt index 50d35deb86..0e1e271462 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatchConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteHostnameMatchConfig.kt @@ -60,7 +60,7 @@ public interface GatewayRouteHostnameMatchConfig { * @param hostnameMatch GatewayRoute CFN configuration for host name match. */ override fun hostnameMatch(hostnameMatch: CfnGatewayRoute.GatewayRouteHostnameMatchProperty) { - cdkBuilder.hostnameMatch(hostnameMatch.let(CfnGatewayRoute.GatewayRouteHostnameMatchProperty::unwrap)) + cdkBuilder.hostnameMatch(hostnameMatch.let(CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteProps.kt index 48ec8e2372..d59a6550c8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteProps.kt @@ -69,14 +69,14 @@ public interface GatewayRouteProps : GatewayRouteBaseProps { * @param routeSpec What protocol the route uses. */ override fun routeSpec(routeSpec: GatewayRouteSpec) { - cdkBuilder.routeSpec(routeSpec.let(GatewayRouteSpec::unwrap)) + cdkBuilder.routeSpec(routeSpec.let(GatewayRouteSpec.Companion::unwrap)) } /** * @param virtualGateway The VirtualGateway this GatewayRoute is associated with. */ override fun virtualGateway(virtualGateway: IVirtualGateway) { - cdkBuilder.virtualGateway(virtualGateway.let(IVirtualGateway::unwrap)) + cdkBuilder.virtualGateway(virtualGateway.let(IVirtualGateway.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.GatewayRouteProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpec.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpec.kt index fdbff7c153..84c920ff68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpec.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpec.kt @@ -40,7 +40,7 @@ public abstract class GatewayRouteSpec( * @param scope */ public open fun bind(scope: Construct): GatewayRouteSpecConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(GatewayRouteSpecConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(GatewayRouteSpecConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.GatewayRouteSpec, @@ -48,7 +48,7 @@ public abstract class GatewayRouteSpec( public companion object { public fun grpc(options: GrpcGatewayRouteSpecOptions): GatewayRouteSpec = - software.amazon.awscdk.services.appmesh.GatewayRouteSpec.grpc(options.let(GrpcGatewayRouteSpecOptions::unwrap)).let(GatewayRouteSpec::wrap) + software.amazon.awscdk.services.appmesh.GatewayRouteSpec.grpc(options.let(GrpcGatewayRouteSpecOptions.Companion::unwrap)).let(GatewayRouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("20a057acd1d5bea0171c6ed08df4018bcd4552b87df80c44e8eba2463ece741e") @@ -56,7 +56,7 @@ public abstract class GatewayRouteSpec( grpc(GrpcGatewayRouteSpecOptions(options)) public fun http(options: HttpGatewayRouteSpecOptions): GatewayRouteSpec = - software.amazon.awscdk.services.appmesh.GatewayRouteSpec.http(options.let(HttpGatewayRouteSpecOptions::unwrap)).let(GatewayRouteSpec::wrap) + software.amazon.awscdk.services.appmesh.GatewayRouteSpec.http(options.let(HttpGatewayRouteSpecOptions.Companion::unwrap)).let(GatewayRouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("38854938bce1dd96cd8f2207bbe2cb32753f6ac78eb62f5b193b7cf060c2ff0c") @@ -64,7 +64,7 @@ public abstract class GatewayRouteSpec( http(HttpGatewayRouteSpecOptions(options)) public fun http2(options: HttpGatewayRouteSpecOptions): GatewayRouteSpec = - software.amazon.awscdk.services.appmesh.GatewayRouteSpec.http2(options.let(HttpGatewayRouteSpecOptions::unwrap)).let(GatewayRouteSpec::wrap) + software.amazon.awscdk.services.appmesh.GatewayRouteSpec.http2(options.let(HttpGatewayRouteSpecOptions.Companion::unwrap)).let(GatewayRouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d640a2a4cef3f119369351bf30da380f984be62890146cf53c65006cf3bea353") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpecConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpecConfig.kt index c80b4be6f3..748db48065 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpecConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GatewayRouteSpecConfig.kt @@ -278,7 +278,7 @@ public interface GatewayRouteSpecConfig { * @param grpcSpecConfig The spec for a grpc gateway route. */ override fun grpcSpecConfig(grpcSpecConfig: CfnGatewayRoute.GrpcGatewayRouteProperty) { - cdkBuilder.grpcSpecConfig(grpcSpecConfig.let(CfnGatewayRoute.GrpcGatewayRouteProperty::unwrap)) + cdkBuilder.grpcSpecConfig(grpcSpecConfig.let(CfnGatewayRoute.GrpcGatewayRouteProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface GatewayRouteSpecConfig { * @param http2SpecConfig The spec for an http2 gateway route. */ override fun http2SpecConfig(http2SpecConfig: CfnGatewayRoute.HttpGatewayRouteProperty) { - cdkBuilder.http2SpecConfig(http2SpecConfig.let(CfnGatewayRoute.HttpGatewayRouteProperty::unwrap)) + cdkBuilder.http2SpecConfig(http2SpecConfig.let(CfnGatewayRoute.HttpGatewayRouteProperty.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface GatewayRouteSpecConfig { * @param httpSpecConfig The spec for an http gateway route. */ override fun httpSpecConfig(httpSpecConfig: CfnGatewayRoute.HttpGatewayRouteProperty) { - cdkBuilder.httpSpecConfig(httpSpecConfig.let(CfnGatewayRoute.HttpGatewayRouteProperty::unwrap)) + cdkBuilder.httpSpecConfig(httpSpecConfig.let(CfnGatewayRoute.HttpGatewayRouteProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayListenerOptions.kt index d6af949f1b..f6b24c812c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayListenerOptions.kt @@ -134,7 +134,7 @@ public interface GrpcGatewayListenerOptions { * @param connectionPool Connection pool for http listeners. */ override fun connectionPool(connectionPool: GrpcConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(GrpcConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(GrpcConnectionPool.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface GrpcGatewayListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface GrpcGatewayListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteMatch.kt index d7ee6a9f41..2e0184d71d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteMatch.kt @@ -120,7 +120,7 @@ public interface GrpcGatewayRouteMatch { * @param hostname Create host name based gRPC gateway route match. */ override fun hostname(hostname: GatewayRouteHostnameMatch) { - cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatch::unwrap)) + cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatch.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface GrpcGatewayRouteMatch { * All specified metadata must match for the route to match. */ override fun metadata(metadata: List) { - cdkBuilder.metadata(metadata.map(HeaderMatch::unwrap)) + cdkBuilder.metadata(metadata.map(HeaderMatch.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteSpecOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteSpecOptions.kt index c6b5b22bb9..31be080378 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteSpecOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcGatewayRouteSpecOptions.kt @@ -78,7 +78,7 @@ public interface GrpcGatewayRouteSpecOptions : CommonGatewayRouteSpecOptions { * @param match The criterion for determining a request match for this GatewayRoute. */ override fun match(match: GrpcGatewayRouteMatch) { - cdkBuilder.match(match.let(GrpcGatewayRouteMatch::unwrap)) + cdkBuilder.match(match.let(GrpcGatewayRouteMatch.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public interface GrpcGatewayRouteSpecOptions : CommonGatewayRouteSpecOptions { * @param routeTarget The VirtualService this GatewayRoute directs traffic to. */ override fun routeTarget(routeTarget: IVirtualService) { - cdkBuilder.routeTarget(routeTarget.let(IVirtualService::unwrap)) + cdkBuilder.routeTarget(routeTarget.let(IVirtualService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.GrpcGatewayRouteSpecOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcHealthCheckOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcHealthCheckOptions.kt index 4512949cd2..f9d9302b99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcHealthCheckOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcHealthCheckOptions.kt @@ -102,14 +102,14 @@ public interface GrpcHealthCheckOptions { * @param interval The time period between each health check execution. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** * @param timeout The amount of time to wait when receiving a response from the health check. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRetryPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRetryPolicy.kt index 6debeface4..68cd985340 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRetryPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRetryPolicy.kt @@ -120,7 +120,7 @@ public interface GrpcRetryPolicy : HttpRetryPolicy { * for at least one types of retry events. */ override fun grpcRetryEvents(grpcRetryEvents: List) { - cdkBuilder.grpcRetryEvents(grpcRetryEvents.map(GrpcRetryEvent::unwrap)) + cdkBuilder.grpcRetryEvents(grpcRetryEvents.map(GrpcRetryEvent.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface GrpcRetryPolicy : HttpRetryPolicy { * for at least one types of retry events. */ override fun httpRetryEvents(httpRetryEvents: List) { - cdkBuilder.httpRetryEvents(httpRetryEvents.map(HttpRetryEvent::unwrap)) + cdkBuilder.httpRetryEvents(httpRetryEvents.map(HttpRetryEvent.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface GrpcRetryPolicy : HttpRetryPolicy { * @param retryTimeout The timeout for each retry attempt. */ override fun retryTimeout(retryTimeout: Duration) { - cdkBuilder.retryTimeout(retryTimeout.let(Duration::unwrap)) + cdkBuilder.retryTimeout(retryTimeout.let(Duration.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public interface GrpcRetryPolicy : HttpRetryPolicy { * one types of retry events. */ override fun tcpRetryEvents(tcpRetryEvents: List) { - cdkBuilder.tcpRetryEvents(tcpRetryEvents.map(TcpRetryEvent::unwrap)) + cdkBuilder.tcpRetryEvents(tcpRetryEvents.map(TcpRetryEvent.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteMatch.kt index 3b01d26d70..b7fa8e2f62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteMatch.kt @@ -111,7 +111,7 @@ public interface GrpcRouteMatch { * All specified metadata must match for the route to match. */ override fun metadata(metadata: List) { - cdkBuilder.metadata(metadata.map(HeaderMatch::unwrap)) + cdkBuilder.metadata(metadata.map(HeaderMatch.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteSpecOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteSpecOptions.kt index f635af9246..115c77ad51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteSpecOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcRouteSpecOptions.kt @@ -128,7 +128,7 @@ public interface GrpcRouteSpecOptions : RouteSpecOptionsBase { * @param match The criterion for determining a request match for this Route. */ override fun match(match: GrpcRouteMatch) { - cdkBuilder.match(match.let(GrpcRouteMatch::unwrap)) + cdkBuilder.match(match.let(GrpcRouteMatch.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface GrpcRouteSpecOptions : RouteSpecOptionsBase { * @param retryPolicy The retry policy. */ override fun retryPolicy(retryPolicy: GrpcRetryPolicy) { - cdkBuilder.retryPolicy(retryPolicy.let(GrpcRetryPolicy::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(GrpcRetryPolicy.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface GrpcRouteSpecOptions : RouteSpecOptionsBase { * @param timeout An object that represents a grpc timeout. */ override fun timeout(timeout: GrpcTimeout) { - cdkBuilder.timeout(timeout.let(GrpcTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(GrpcTimeout.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface GrpcRouteSpecOptions : RouteSpecOptionsBase { * route. */ override fun weightedTargets(weightedTargets: List) { - cdkBuilder.weightedTargets(weightedTargets.map(WeightedTarget::unwrap)) + cdkBuilder.weightedTargets(weightedTargets.map(WeightedTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcTimeout.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcTimeout.kt index ea6e862308..ed991fa680 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcTimeout.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcTimeout.kt @@ -75,14 +75,14 @@ public interface GrpcTimeout { * The amount of time that a connection may be idle. */ override fun idle(idle: Duration) { - cdkBuilder.idle(idle.let(Duration::unwrap)) + cdkBuilder.idle(idle.let(Duration.Companion::unwrap)) } /** * @param perRequest Represents per request timeout. */ override fun perRequest(perRequest: Duration) { - cdkBuilder.perRequest(perRequest.let(Duration::unwrap)) + cdkBuilder.perRequest(perRequest.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.GrpcTimeout = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcVirtualNodeListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcVirtualNodeListenerOptions.kt index 42fc7c6a93..06dd714f11 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcVirtualNodeListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/GrpcVirtualNodeListenerOptions.kt @@ -173,7 +173,7 @@ public interface GrpcVirtualNodeListenerOptions { * @param connectionPool Connection pool for http listeners. */ override fun connectionPool(connectionPool: GrpcConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(GrpcConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(GrpcConnectionPool.Companion::unwrap)) } /** @@ -188,14 +188,14 @@ public interface GrpcVirtualNodeListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** * @param outlierDetection Represents the configuration for enabling outlier detection. */ override fun outlierDetection(outlierDetection: OutlierDetection) { - cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection::unwrap)) + cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface GrpcVirtualNodeListenerOptions { * @param timeout Timeout for GRPC protocol. */ override fun timeout(timeout: GrpcTimeout) { - cdkBuilder.timeout(timeout.let(GrpcTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(GrpcTimeout.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface GrpcVirtualNodeListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatch.kt index 89f4b3e13e..a28222f84f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatch.kt @@ -42,7 +42,7 @@ public abstract class HeaderMatch( * @param scope */ public open fun bind(scope: Construct): HeaderMatchConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(HeaderMatchConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(HeaderMatchConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.HeaderMatch, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatchConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatchConfig.kt index 26ce639180..b71f6a74a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatchConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HeaderMatchConfig.kt @@ -68,7 +68,7 @@ public interface HeaderMatchConfig { * @param headerMatch Route CFN configuration for the route header match. */ override fun headerMatch(headerMatch: CfnRoute.HttpRouteHeaderProperty) { - cdkBuilder.headerMatch(headerMatch.let(CfnRoute.HttpRouteHeaderProperty::unwrap)) + cdkBuilder.headerMatch(headerMatch.let(CfnRoute.HttpRouteHeaderProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheck.kt index 343b4af3e2..afc9190c6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheck.kt @@ -50,8 +50,8 @@ public abstract class HealthCheck( * @param options */ public open fun bind(scope: Construct, options: HealthCheckBindOptions): HealthCheckConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - options.let(HealthCheckBindOptions::unwrap)).let(HealthCheckConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(HealthCheckBindOptions.Companion::unwrap)).let(HealthCheckConfig::wrap) /** * Called when the AccessLog type is initialized. @@ -76,7 +76,7 @@ public abstract class HealthCheck( software.amazon.awscdk.services.appmesh.HealthCheck.grpc().let(HealthCheck::wrap) public fun grpc(options: GrpcHealthCheckOptions): HealthCheck = - software.amazon.awscdk.services.appmesh.HealthCheck.grpc(options.let(GrpcHealthCheckOptions::unwrap)).let(HealthCheck::wrap) + software.amazon.awscdk.services.appmesh.HealthCheck.grpc(options.let(GrpcHealthCheckOptions.Companion::unwrap)).let(HealthCheck::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ca4aa5f646cab38266ec9a00ad9f89bc1ca43aeacd9b12580cb2e1f842fcd263") @@ -87,7 +87,7 @@ public abstract class HealthCheck( software.amazon.awscdk.services.appmesh.HealthCheck.http().let(HealthCheck::wrap) public fun http(options: HttpHealthCheckOptions): HealthCheck = - software.amazon.awscdk.services.appmesh.HealthCheck.http(options.let(HttpHealthCheckOptions::unwrap)).let(HealthCheck::wrap) + software.amazon.awscdk.services.appmesh.HealthCheck.http(options.let(HttpHealthCheckOptions.Companion::unwrap)).let(HealthCheck::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c354f1fe3451f953e1691c5d04b8c36b09946d906547a0b8b5f34bc696285e76") @@ -98,7 +98,7 @@ public abstract class HealthCheck( software.amazon.awscdk.services.appmesh.HealthCheck.http2().let(HealthCheck::wrap) public fun http2(options: HttpHealthCheckOptions): HealthCheck = - software.amazon.awscdk.services.appmesh.HealthCheck.http2(options.let(HttpHealthCheckOptions::unwrap)).let(HealthCheck::wrap) + software.amazon.awscdk.services.appmesh.HealthCheck.http2(options.let(HttpHealthCheckOptions.Companion::unwrap)).let(HealthCheck::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80291b38f690382fada9f5ea7fa44011f91859a26b6f5446e003b9e2d9c09e27") @@ -109,7 +109,7 @@ public abstract class HealthCheck( software.amazon.awscdk.services.appmesh.HealthCheck.tcp().let(HealthCheck::wrap) public fun tcp(options: TcpHealthCheckOptions): HealthCheck = - software.amazon.awscdk.services.appmesh.HealthCheck.tcp(options.let(TcpHealthCheckOptions::unwrap)).let(HealthCheck::wrap) + software.amazon.awscdk.services.appmesh.HealthCheck.tcp(options.let(TcpHealthCheckOptions.Companion::unwrap)).let(HealthCheck::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("40dcb0b765391f6b0f9a4c2e59045f055eda8aec8e9f36cd3ee748c070b37b90") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheckConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheckConfig.kt index a6754469e4..3b63b42340 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheckConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HealthCheckConfig.kt @@ -101,7 +101,7 @@ public interface HealthCheckConfig { */ override fun virtualGatewayHealthCheck(virtualGatewayHealthCheck: CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty) { - cdkBuilder.virtualGatewayHealthCheck(virtualGatewayHealthCheck.let(CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty::unwrap)) + cdkBuilder.virtualGatewayHealthCheck(virtualGatewayHealthCheck.let(CfnVirtualGateway.VirtualGatewayHealthCheckPolicyProperty.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface HealthCheckConfig { */ override fun virtualNodeHealthCheck(virtualNodeHealthCheck: CfnVirtualNode.HealthCheckProperty) { - cdkBuilder.virtualNodeHealthCheck(virtualNodeHealthCheck.let(CfnVirtualNode.HealthCheckProperty::unwrap)) + cdkBuilder.virtualNodeHealthCheck(virtualNodeHealthCheck.let(CfnVirtualNode.HealthCheckProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2GatewayListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2GatewayListenerOptions.kt index 5a9e50637c..229b41a070 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2GatewayListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2GatewayListenerOptions.kt @@ -134,7 +134,7 @@ public interface Http2GatewayListenerOptions { * @param connectionPool Connection pool for http listeners. */ override fun connectionPool(connectionPool: Http2ConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(Http2ConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(Http2ConnectionPool.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface Http2GatewayListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface Http2GatewayListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2VirtualNodeListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2VirtualNodeListenerOptions.kt index 1927ad4580..a6eec84fbb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2VirtualNodeListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Http2VirtualNodeListenerOptions.kt @@ -171,7 +171,7 @@ public interface Http2VirtualNodeListenerOptions { * @param connectionPool Connection pool for http2 listeners. */ override fun connectionPool(connectionPool: Http2ConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(Http2ConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(Http2ConnectionPool.Companion::unwrap)) } /** @@ -186,14 +186,14 @@ public interface Http2VirtualNodeListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** * @param outlierDetection Represents the configuration for enabling outlier detection. */ override fun outlierDetection(outlierDetection: OutlierDetection) { - cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection::unwrap)) + cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public interface Http2VirtualNodeListenerOptions { * @param timeout Timeout for HTTP protocol. */ override fun timeout(timeout: HttpTimeout) { - cdkBuilder.timeout(timeout.let(HttpTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(HttpTimeout.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface Http2VirtualNodeListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayListenerOptions.kt index 6c41c3d068..8fc305928a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayListenerOptions.kt @@ -119,7 +119,7 @@ public interface HttpGatewayListenerOptions { * @param connectionPool Connection pool for http listeners. */ override fun connectionPool(connectionPool: HttpConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(HttpConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(HttpConnectionPool.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public interface HttpGatewayListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface HttpGatewayListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteMatch.kt index 04169ba008..dc76ba5041 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteMatch.kt @@ -160,7 +160,7 @@ public interface HttpGatewayRouteMatch { * must match for the gateway route to match. */ override fun headers(headers: List) { - cdkBuilder.headers(headers.map(HeaderMatch::unwrap)) + cdkBuilder.headers(headers.map(HeaderMatch.Companion::unwrap)) } /** @@ -174,21 +174,21 @@ public interface HttpGatewayRouteMatch { * @param hostname The gateway route host name to be matched on. */ override fun hostname(hostname: GatewayRouteHostnameMatch) { - cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatch::unwrap)) + cdkBuilder.hostname(hostname.let(GatewayRouteHostnameMatch.Companion::unwrap)) } /** * @param method The method to match on. */ override fun method(method: HttpRouteMethod) { - cdkBuilder.method(method.let(HttpRouteMethod::unwrap)) + cdkBuilder.method(method.let(HttpRouteMethod.Companion::unwrap)) } /** * @param path Specify how to match requests based on the 'path' part of their URL. */ override fun path(path: HttpGatewayRoutePathMatch) { - cdkBuilder.path(path.let(HttpGatewayRoutePathMatch::unwrap)) + cdkBuilder.path(path.let(HttpGatewayRoutePathMatch.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface HttpGatewayRouteMatch { * All specified query parameters must match for the route to match. */ override fun queryParameters(queryParameters: List) { - cdkBuilder.queryParameters(queryParameters.map(QueryParameterMatch::unwrap)) + cdkBuilder.queryParameters(queryParameters.map(QueryParameterMatch.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatch.kt index 9f521ac29a..e3c5d7015d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatch.kt @@ -35,7 +35,7 @@ public abstract class HttpGatewayRoutePathMatch( * @param scope */ public open fun bind(scope: Construct): HttpGatewayRoutePathMatchConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(HttpGatewayRoutePathMatchConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(HttpGatewayRoutePathMatchConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.HttpGatewayRoutePathMatch, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatchConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatchConfig.kt index 8317678c01..9928a3cd0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatchConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRoutePathMatchConfig.kt @@ -145,7 +145,7 @@ public interface HttpGatewayRoutePathMatchConfig { */ override fun prefixPathRewrite(prefixPathRewrite: CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty) { - cdkBuilder.prefixPathRewrite(prefixPathRewrite.let(CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty::unwrap)) + cdkBuilder.prefixPathRewrite(prefixPathRewrite.let(CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public interface HttpGatewayRoutePathMatchConfig { * the request. */ override fun wholePathMatch(wholePathMatch: CfnGatewayRoute.HttpPathMatchProperty) { - cdkBuilder.wholePathMatch(wholePathMatch.let(CfnGatewayRoute.HttpPathMatchProperty::unwrap)) + cdkBuilder.wholePathMatch(wholePathMatch.let(CfnGatewayRoute.HttpPathMatchProperty.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface HttpGatewayRoutePathMatchConfig { */ override fun wholePathRewrite(wholePathRewrite: CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty) { - cdkBuilder.wholePathRewrite(wholePathRewrite.let(CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty::unwrap)) + cdkBuilder.wholePathRewrite(wholePathRewrite.let(CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteSpecOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteSpecOptions.kt index 89c5714a90..a80f5562d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteSpecOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpGatewayRouteSpecOptions.kt @@ -87,7 +87,7 @@ public interface HttpGatewayRouteSpecOptions : CommonGatewayRouteSpecOptions { * When path match is defined, this may optionally determine the path rewrite configuration. */ override fun match(match: HttpGatewayRouteMatch) { - cdkBuilder.match(match.let(HttpGatewayRouteMatch::unwrap)) + cdkBuilder.match(match.let(HttpGatewayRouteMatch.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface HttpGatewayRouteSpecOptions : CommonGatewayRouteSpecOptions { * @param routeTarget The VirtualService this GatewayRoute directs traffic to. */ override fun routeTarget(routeTarget: IVirtualService) { - cdkBuilder.routeTarget(routeTarget.let(IVirtualService::unwrap)) + cdkBuilder.routeTarget(routeTarget.let(IVirtualService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.HttpGatewayRouteSpecOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpHealthCheckOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpHealthCheckOptions.kt index fc04a3accd..ee4c2688e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpHealthCheckOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpHealthCheckOptions.kt @@ -126,7 +126,7 @@ public interface HttpHealthCheckOptions { * @param interval The time period between each health check execution. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface HttpHealthCheckOptions { * @param timeout The amount of time to wait when receiving a response from the health check. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRetryPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRetryPolicy.kt index 2162adecfe..0413977d1c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRetryPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRetryPolicy.kt @@ -128,7 +128,7 @@ public interface HttpRetryPolicy { * for at least one types of retry events. */ override fun httpRetryEvents(httpRetryEvents: List) { - cdkBuilder.httpRetryEvents(httpRetryEvents.map(HttpRetryEvent::unwrap)) + cdkBuilder.httpRetryEvents(httpRetryEvents.map(HttpRetryEvent.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface HttpRetryPolicy { * @param retryTimeout The timeout for each retry attempt. */ override fun retryTimeout(retryTimeout: Duration) { - cdkBuilder.retryTimeout(retryTimeout.let(Duration::unwrap)) + cdkBuilder.retryTimeout(retryTimeout.let(Duration.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public interface HttpRetryPolicy { * one types of retry events. */ override fun tcpRetryEvents(tcpRetryEvents: List) { - cdkBuilder.tcpRetryEvents(tcpRetryEvents.map(TcpRetryEvent::unwrap)) + cdkBuilder.tcpRetryEvents(tcpRetryEvents.map(TcpRetryEvent.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteMatch.kt index 6d2cea36a9..6307603b32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteMatch.kt @@ -149,7 +149,7 @@ public interface HttpRouteMatch { * must match for the route to match. */ override fun headers(headers: List) { - cdkBuilder.headers(headers.map(HeaderMatch::unwrap)) + cdkBuilder.headers(headers.map(HeaderMatch.Companion::unwrap)) } /** @@ -163,14 +163,14 @@ public interface HttpRouteMatch { * @param method The HTTP client request method to match on. */ override fun method(method: HttpRouteMethod) { - cdkBuilder.method(method.let(HttpRouteMethod::unwrap)) + cdkBuilder.method(method.let(HttpRouteMethod.Companion::unwrap)) } /** * @param path Specifies how is the request matched based on the path part of its URL. */ override fun path(path: HttpRoutePathMatch) { - cdkBuilder.path(path.let(HttpRoutePathMatch::unwrap)) + cdkBuilder.path(path.let(HttpRoutePathMatch.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface HttpRouteMatch { * Applicable only for HTTP2 routes. */ override fun protocol(protocol: HttpRouteProtocol) { - cdkBuilder.protocol(protocol.let(HttpRouteProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(HttpRouteProtocol.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface HttpRouteMatch { * All specified query parameters must match for the route to match. */ override fun queryParameters(queryParameters: List) { - cdkBuilder.queryParameters(queryParameters.map(QueryParameterMatch::unwrap)) + cdkBuilder.queryParameters(queryParameters.map(QueryParameterMatch.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatch.kt index 856c67f28d..590da6aad4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatch.kt @@ -40,7 +40,7 @@ public abstract class HttpRoutePathMatch( * @param scope */ public open fun bind(scope: Construct): HttpRoutePathMatchConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(HttpRoutePathMatchConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(HttpRoutePathMatchConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.HttpRoutePathMatch, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatchConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatchConfig.kt index 79d668696b..db0b4bca5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatchConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRoutePathMatchConfig.kt @@ -86,7 +86,7 @@ public interface HttpRoutePathMatchConfig { * request. */ override fun wholePathMatch(wholePathMatch: CfnRoute.HttpPathMatchProperty) { - cdkBuilder.wholePathMatch(wholePathMatch.let(CfnRoute.HttpPathMatchProperty::unwrap)) + cdkBuilder.wholePathMatch(wholePathMatch.let(CfnRoute.HttpPathMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteSpecOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteSpecOptions.kt index 2259edc3d3..b5c4fa55b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteSpecOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpRouteSpecOptions.kt @@ -133,7 +133,7 @@ public interface HttpRouteSpecOptions : RouteSpecOptionsBase { * @param match The criterion for determining a request match for this Route. */ override fun match(match: HttpRouteMatch) { - cdkBuilder.match(match.let(HttpRouteMatch::unwrap)) + cdkBuilder.match(match.let(HttpRouteMatch.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface HttpRouteSpecOptions : RouteSpecOptionsBase { * @param retryPolicy The retry policy. */ override fun retryPolicy(retryPolicy: HttpRetryPolicy) { - cdkBuilder.retryPolicy(retryPolicy.let(HttpRetryPolicy::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(HttpRetryPolicy.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface HttpRouteSpecOptions : RouteSpecOptionsBase { * @param timeout An object that represents a http timeout. */ override fun timeout(timeout: HttpTimeout) { - cdkBuilder.timeout(timeout.let(HttpTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(HttpTimeout.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface HttpRouteSpecOptions : RouteSpecOptionsBase { * route. */ override fun weightedTargets(weightedTargets: List) { - cdkBuilder.weightedTargets(weightedTargets.map(WeightedTarget::unwrap)) + cdkBuilder.weightedTargets(weightedTargets.map(WeightedTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpTimeout.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpTimeout.kt index 152086fde6..ea75fa3bb3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpTimeout.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpTimeout.kt @@ -87,14 +87,14 @@ public interface HttpTimeout { * The amount of time that a connection may be idle. */ override fun idle(idle: Duration) { - cdkBuilder.idle(idle.let(Duration::unwrap)) + cdkBuilder.idle(idle.let(Duration.Companion::unwrap)) } /** * @param perRequest Represents per request timeout. */ override fun perRequest(perRequest: Duration) { - cdkBuilder.perRequest(perRequest.let(Duration::unwrap)) + cdkBuilder.perRequest(perRequest.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.HttpTimeout = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpVirtualNodeListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpVirtualNodeListenerOptions.kt index 1b829b9fe9..9a8e20e5f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpVirtualNodeListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/HttpVirtualNodeListenerOptions.kt @@ -156,7 +156,7 @@ public interface HttpVirtualNodeListenerOptions { * @param connectionPool Connection pool for http listeners. */ override fun connectionPool(connectionPool: HttpConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(HttpConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(HttpConnectionPool.Companion::unwrap)) } /** @@ -171,14 +171,14 @@ public interface HttpVirtualNodeListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** * @param outlierDetection Represents the configuration for enabling outlier detection. */ override fun outlierDetection(outlierDetection: OutlierDetection) { - cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection::unwrap)) + cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public interface HttpVirtualNodeListenerOptions { * @param timeout Timeout for HTTP protocol. */ override fun timeout(timeout: HttpTimeout) { - cdkBuilder.timeout(timeout.let(HttpTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(HttpTimeout.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public interface HttpVirtualNodeListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IGatewayRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IGatewayRoute.kt index 77608fad2f..6ac3d8dc0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IGatewayRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IGatewayRoute.kt @@ -47,7 +47,7 @@ public interface IGatewayRoute : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IMesh.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IMesh.kt index 54a983045f..e140a460c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IMesh.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IMesh.kt @@ -160,7 +160,7 @@ public interface IMesh : IResource { */ override fun addVirtualGateway(id: String, props: VirtualGatewayBaseProps): VirtualGateway = unwrap(this).addVirtualGateway(id, - props.let(VirtualGatewayBaseProps::unwrap)).let(VirtualGateway::wrap) + props.let(VirtualGatewayBaseProps.Companion::unwrap)).let(VirtualGateway::wrap) /** * Creates a new VirtualGateway in this Mesh. @@ -199,7 +199,7 @@ public interface IMesh : IResource { */ override fun addVirtualNode(id: String, props: VirtualNodeBaseProps): VirtualNode = unwrap(this).addVirtualNode(id, - props.let(VirtualNodeBaseProps::unwrap)).let(VirtualNode::wrap) + props.let(VirtualNodeBaseProps.Companion::unwrap)).let(VirtualNode::wrap) /** * Creates a new VirtualNode in this Mesh. @@ -238,7 +238,7 @@ public interface IMesh : IResource { */ override fun addVirtualRouter(id: String, props: VirtualRouterBaseProps): VirtualRouter = unwrap(this).addVirtualRouter(id, - props.let(VirtualRouterBaseProps::unwrap)).let(VirtualRouter::wrap) + props.let(VirtualRouterBaseProps.Companion::unwrap)).let(VirtualRouter::wrap) /** * Creates a new VirtualRouter in this Mesh. @@ -268,7 +268,7 @@ public interface IMesh : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IRoute.kt index 31500caf0a..9ee029e79d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IRoute.kt @@ -47,7 +47,7 @@ public interface IRoute : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualGateway.kt index 1984817549..ca33bfe38f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualGateway.kt @@ -71,7 +71,7 @@ public interface IVirtualGateway : IResource { */ override fun addGatewayRoute(id: String, route: GatewayRouteBaseProps): GatewayRoute = unwrap(this).addGatewayRoute(id, - route.let(GatewayRouteBaseProps::unwrap)).let(GatewayRoute::wrap) + route.let(GatewayRouteBaseProps.Companion::unwrap)).let(GatewayRoute::wrap) /** * Utility method to add a new GatewayRoute to the VirtualGateway. @@ -98,7 +98,7 @@ public interface IVirtualGateway : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface IVirtualGateway : IResource { * @param identity */ override fun grantStreamAggregatedResources(identity: IGrantable): Grant = - unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The Mesh which the VirtualGateway belongs to. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualNode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualNode.kt index c4f2285a8f..e807a1e5cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualNode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualNode.kt @@ -60,7 +60,7 @@ public interface IVirtualNode : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public interface IVirtualNode : IResource { * @param identity */ override fun grantStreamAggregatedResources(identity: IGrantable): Grant = - unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The Mesh which the VirtualNode belongs to. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualRouter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualRouter.kt index fff4d05dc5..25b732b15d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualRouter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualRouter.kt @@ -60,7 +60,7 @@ public interface IVirtualRouter : IResource { * @param props */ override fun addRoute(id: String, props: RouteBaseProps): Route = unwrap(this).addRoute(id, - props.let(RouteBaseProps::unwrap)).let(Route::wrap) + props.let(RouteBaseProps.Companion::unwrap)).let(Route::wrap) /** * Add a single route to the router. @@ -87,7 +87,7 @@ public interface IVirtualRouter : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualService.kt index 04b3783331..26aeca533b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/IVirtualService.kt @@ -47,7 +47,7 @@ public interface IVirtualService : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ListenerTlsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ListenerTlsOptions.kt index b18b0950d8..aa7c40638d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ListenerTlsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ListenerTlsOptions.kt @@ -113,14 +113,14 @@ public interface ListenerTlsOptions { * @param certificate Represents TLS certificate. */ override fun certificate(certificate: TlsCertificate) { - cdkBuilder.certificate(certificate.let(TlsCertificate::unwrap)) + cdkBuilder.certificate(certificate.let(TlsCertificate.Companion::unwrap)) } /** * @param mode The TLS mode. */ override fun mode(mode: TlsMode) { - cdkBuilder.mode(mode.let(TlsMode::unwrap)) + cdkBuilder.mode(mode.let(TlsMode.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface ListenerTlsOptions { * The client certificate will only be validated if the client provides it, enabling mutual TLS. */ override fun mutualTlsValidation(mutualTlsValidation: MutualTlsValidation) { - cdkBuilder.mutualTlsValidation(mutualTlsValidation.let(MutualTlsValidation::unwrap)) + cdkBuilder.mutualTlsValidation(mutualTlsValidation.let(MutualTlsValidation.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/LoggingFormatConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/LoggingFormatConfig.kt index 73c9ad57ae..6b1226b46a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/LoggingFormatConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/LoggingFormatConfig.kt @@ -63,7 +63,7 @@ public interface LoggingFormatConfig { * @param formatConfig CFN configuration for Access Logging Format. */ override fun formatConfig(formatConfig: CfnVirtualNode.LoggingFormatProperty) { - cdkBuilder.formatConfig(formatConfig.let(CfnVirtualNode.LoggingFormatProperty::unwrap)) + cdkBuilder.formatConfig(formatConfig.let(CfnVirtualNode.LoggingFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Mesh.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Mesh.kt index 54726f3756..b6d54fd3ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Mesh.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Mesh.kt @@ -36,7 +36,7 @@ public open class Mesh( cdkObject: software.amazon.awscdk.services.appmesh.Mesh, ) : Resource(cdkObject), IMesh { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.appmesh.Mesh(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.appmesh.Mesh(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class Mesh( id: String, props: MeshProps, ) : - this(software.amazon.awscdk.services.appmesh.Mesh(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(MeshProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.Mesh(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(MeshProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class Mesh( */ public override fun addVirtualGateway(id: String, props: VirtualGatewayBaseProps): VirtualGateway = unwrap(this).addVirtualGateway(id, - props.let(VirtualGatewayBaseProps::unwrap)).let(VirtualGateway::wrap) + props.let(VirtualGatewayBaseProps.Companion::unwrap)).let(VirtualGateway::wrap) /** * Adds a VirtualGateway to the Mesh. @@ -104,7 +104,7 @@ public open class Mesh( */ public override fun addVirtualNode(id: String, props: VirtualNodeBaseProps): VirtualNode = unwrap(this).addVirtualNode(id, - props.let(VirtualNodeBaseProps::unwrap)).let(VirtualNode::wrap) + props.let(VirtualNodeBaseProps.Companion::unwrap)).let(VirtualNode::wrap) /** * Adds a VirtualNode to the Mesh. @@ -134,7 +134,7 @@ public open class Mesh( */ public override fun addVirtualRouter(id: String, props: VirtualRouterBaseProps): VirtualRouter = unwrap(this).addVirtualRouter(id, - props.let(VirtualRouterBaseProps::unwrap)).let(VirtualRouter::wrap) + props.let(VirtualRouterBaseProps.Companion::unwrap)).let(VirtualRouter::wrap) /** * Adds a VirtualRouter to the Mesh with the given id and props. @@ -217,7 +217,7 @@ public open class Mesh( * @param egressFilter Egress filter to be applied to the Mesh. */ override fun egressFilter(egressFilter: MeshFilterType) { - cdkBuilder.egressFilter(egressFilter.let(MeshFilterType::unwrap)) + cdkBuilder.egressFilter(egressFilter.let(MeshFilterType.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class Mesh( * @param serviceDiscovery Defines how upstream clients will discover VirtualNodes in the Mesh. */ override fun serviceDiscovery(serviceDiscovery: MeshServiceDiscovery) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(MeshServiceDiscovery::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(MeshServiceDiscovery.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class Mesh( id: String, meshArn: String, ): IMesh = - software.amazon.awscdk.services.appmesh.Mesh.fromMeshArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.Mesh.fromMeshArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, meshArn).let(IMesh::wrap) public fun fromMeshName( @@ -271,7 +271,7 @@ public open class Mesh( id: String, meshName: String, ): IMesh = - software.amazon.awscdk.services.appmesh.Mesh.fromMeshName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.Mesh.fromMeshName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, meshName).let(IMesh::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshProps.kt index d1ae04dbe4..48ef2df0fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshProps.kt @@ -90,7 +90,7 @@ public interface MeshProps { * @param egressFilter Egress filter to be applied to the Mesh. */ override fun egressFilter(egressFilter: MeshFilterType) { - cdkBuilder.egressFilter(egressFilter.let(MeshFilterType::unwrap)) + cdkBuilder.egressFilter(egressFilter.let(MeshFilterType.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public interface MeshProps { * @param serviceDiscovery Defines how upstream clients will discover VirtualNodes in the Mesh. */ override fun serviceDiscovery(serviceDiscovery: MeshServiceDiscovery) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(MeshServiceDiscovery::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(MeshServiceDiscovery.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshServiceDiscovery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshServiceDiscovery.kt index 309159fc1e..dcdca15fe1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshServiceDiscovery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MeshServiceDiscovery.kt @@ -54,7 +54,7 @@ public interface MeshServiceDiscovery { * @param ipPreference IP preference applied to all Virtual Nodes in the Mesh. */ override fun ipPreference(ipPreference: IpPreference) { - cdkBuilder.ipPreference(ipPreference.let(IpPreference::unwrap)) + cdkBuilder.ipPreference(ipPreference.let(IpPreference.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.MeshServiceDiscovery = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MutualTlsValidation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MutualTlsValidation.kt index 54961c9563..d8bdf86bb9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MutualTlsValidation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/MutualTlsValidation.kt @@ -100,14 +100,14 @@ public interface MutualTlsValidation { * SANs must be in the FQDN or URI format. */ override fun subjectAlternativeNames(subjectAlternativeNames: SubjectAlternativeNames) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNames::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNames.Companion::unwrap)) } /** * @param trust Reference to where to retrieve the trust chain. */ override fun trust(trust: MutualTlsValidationTrust) { - cdkBuilder.trust(trust.let(MutualTlsValidationTrust::unwrap)) + cdkBuilder.trust(trust.let(MutualTlsValidationTrust.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.MutualTlsValidation = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/OutlierDetection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/OutlierDetection.kt index 075d86c9a8..afc0c6664f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/OutlierDetection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/OutlierDetection.kt @@ -97,14 +97,14 @@ public interface OutlierDetection { * @param baseEjectionDuration The base amount of time for which a host is ejected. */ override fun baseEjectionDuration(baseEjectionDuration: Duration) { - cdkBuilder.baseEjectionDuration(baseEjectionDuration.let(Duration::unwrap)) + cdkBuilder.baseEjectionDuration(baseEjectionDuration.let(Duration.Companion::unwrap)) } /** * @param interval The time interval between ejection sweep analysis. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatch.kt index 16c39db802..b5fadcf1fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatch.kt @@ -41,7 +41,7 @@ public abstract class QueryParameterMatch( * @param scope */ public open fun bind(scope: Construct): QueryParameterMatchConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(QueryParameterMatchConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(QueryParameterMatchConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.QueryParameterMatch, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatchConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatchConfig.kt index 5f8115080a..4774e908df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatchConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/QueryParameterMatchConfig.kt @@ -62,7 +62,7 @@ public interface QueryParameterMatchConfig { * @param queryParameterMatch Route CFN configuration for route query parameter match. */ override fun queryParameterMatch(queryParameterMatch: CfnRoute.QueryParameterProperty) { - cdkBuilder.queryParameterMatch(queryParameterMatch.let(CfnRoute.QueryParameterProperty::unwrap)) + cdkBuilder.queryParameterMatch(queryParameterMatch.let(CfnRoute.QueryParameterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Route.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Route.kt index 1303f605d1..dfa4ff8c64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Route.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/Route.kt @@ -41,8 +41,8 @@ public open class Route( id: String, props: RouteProps, ) : - this(software.amazon.awscdk.services.appmesh.Route(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RouteProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.Route(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RouteProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class Route( * @param mesh The service mesh to define the route in. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class Route( * @param routeSpec Protocol specific spec. */ override fun routeSpec(routeSpec: RouteSpec) { - cdkBuilder.routeSpec(routeSpec.let(RouteSpec::unwrap)) + cdkBuilder.routeSpec(routeSpec.let(RouteSpec.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class Route( * @param virtualRouter The VirtualRouter the Route belongs to. */ override fun virtualRouter(virtualRouter: IVirtualRouter) { - cdkBuilder.virtualRouter(virtualRouter.let(IVirtualRouter::unwrap)) + cdkBuilder.virtualRouter(virtualRouter.let(IVirtualRouter.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.Route = cdkBuilder.build() @@ -158,7 +158,7 @@ public open class Route( id: String, routeArn: String, ): IRoute = - software.amazon.awscdk.services.appmesh.Route.fromRouteArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.Route.fromRouteArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, routeArn).let(IRoute::wrap) public fun fromRouteAttributes( @@ -166,8 +166,8 @@ public open class Route( id: String, attrs: RouteAttributes, ): IRoute = - software.amazon.awscdk.services.appmesh.Route.fromRouteAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(RouteAttributes::unwrap)).let(IRoute::wrap) + software.amazon.awscdk.services.appmesh.Route.fromRouteAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(RouteAttributes.Companion::unwrap)).let(IRoute::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b2190a84fefcc7733f8e8d4df66b3b93fcad4f580dbc174940b6d79b14de1022") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteAttributes.kt index af239d7974..c70d47c321 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteAttributes.kt @@ -66,7 +66,7 @@ public interface RouteAttributes { * @param virtualRouter The VirtualRouter the Route belongs to. */ override fun virtualRouter(virtualRouter: IVirtualRouter) { - cdkBuilder.virtualRouter(virtualRouter.let(IVirtualRouter::unwrap)) + cdkBuilder.virtualRouter(virtualRouter.let(IVirtualRouter.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.RouteAttributes = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteBaseProps.kt index bc0903789e..5517a37ad0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteBaseProps.kt @@ -77,7 +77,7 @@ public interface RouteBaseProps { * @param routeSpec Protocol specific spec. */ override fun routeSpec(routeSpec: RouteSpec) { - cdkBuilder.routeSpec(routeSpec.let(RouteSpec::unwrap)) + cdkBuilder.routeSpec(routeSpec.let(RouteSpec.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.RouteBaseProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteProps.kt index a71526e1b2..59a986d38c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteProps.kt @@ -74,7 +74,7 @@ public interface RouteProps : RouteBaseProps { * @param mesh The service mesh to define the route in. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** @@ -88,14 +88,14 @@ public interface RouteProps : RouteBaseProps { * @param routeSpec Protocol specific spec. */ override fun routeSpec(routeSpec: RouteSpec) { - cdkBuilder.routeSpec(routeSpec.let(RouteSpec::unwrap)) + cdkBuilder.routeSpec(routeSpec.let(RouteSpec.Companion::unwrap)) } /** * @param virtualRouter The VirtualRouter the Route belongs to. */ override fun virtualRouter(virtualRouter: IVirtualRouter) { - cdkBuilder.virtualRouter(virtualRouter.let(IVirtualRouter::unwrap)) + cdkBuilder.virtualRouter(virtualRouter.let(IVirtualRouter.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.RouteProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpec.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpec.kt index 3ed86ba3d9..2378393e05 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpec.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpec.kt @@ -45,7 +45,7 @@ public abstract class RouteSpec( * @param scope */ public open fun bind(scope: Construct): RouteSpecConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(RouteSpecConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(RouteSpecConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.RouteSpec, @@ -53,7 +53,7 @@ public abstract class RouteSpec( public companion object { public fun grpc(options: GrpcRouteSpecOptions): RouteSpec = - software.amazon.awscdk.services.appmesh.RouteSpec.grpc(options.let(GrpcRouteSpecOptions::unwrap)).let(RouteSpec::wrap) + software.amazon.awscdk.services.appmesh.RouteSpec.grpc(options.let(GrpcRouteSpecOptions.Companion::unwrap)).let(RouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fc28dcf808b3ebcbf9f38613fcbdd0645f0b82d5945d8a620ed7b4b9fcf3d85b") @@ -61,7 +61,7 @@ public abstract class RouteSpec( grpc(GrpcRouteSpecOptions(options)) public fun http(options: HttpRouteSpecOptions): RouteSpec = - software.amazon.awscdk.services.appmesh.RouteSpec.http(options.let(HttpRouteSpecOptions::unwrap)).let(RouteSpec::wrap) + software.amazon.awscdk.services.appmesh.RouteSpec.http(options.let(HttpRouteSpecOptions.Companion::unwrap)).let(RouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1bfddccd485c3fe5b29338b133376307d93f409f7c0b903d635bbd558046f67b") @@ -69,7 +69,7 @@ public abstract class RouteSpec( http(HttpRouteSpecOptions(options)) public fun http2(options: HttpRouteSpecOptions): RouteSpec = - software.amazon.awscdk.services.appmesh.RouteSpec.http2(options.let(HttpRouteSpecOptions::unwrap)).let(RouteSpec::wrap) + software.amazon.awscdk.services.appmesh.RouteSpec.http2(options.let(HttpRouteSpecOptions.Companion::unwrap)).let(RouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("23e1fc70af5ac38889106ed66894951534640db2bb38ad1eaa88b2dddc554f7c") @@ -77,7 +77,7 @@ public abstract class RouteSpec( http2(HttpRouteSpecOptions(options)) public fun tcp(options: TcpRouteSpecOptions): RouteSpec = - software.amazon.awscdk.services.appmesh.RouteSpec.tcp(options.let(TcpRouteSpecOptions::unwrap)).let(RouteSpec::wrap) + software.amazon.awscdk.services.appmesh.RouteSpec.tcp(options.let(TcpRouteSpecOptions.Companion::unwrap)).let(RouteSpec::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("981534fa18f8eb5ee1a048c400928ad525aa9f1c8826090f3f79666fdc02cf5a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpecConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpecConfig.kt index 224c0b2164..f5f82a6691 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpecConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/RouteSpecConfig.kt @@ -334,7 +334,7 @@ public interface RouteSpecConfig { * @param grpcRouteSpec The spec for a grpc route. */ override fun grpcRouteSpec(grpcRouteSpec: CfnRoute.GrpcRouteProperty) { - cdkBuilder.grpcRouteSpec(grpcRouteSpec.let(CfnRoute.GrpcRouteProperty::unwrap)) + cdkBuilder.grpcRouteSpec(grpcRouteSpec.let(CfnRoute.GrpcRouteProperty.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface RouteSpecConfig { * @param http2RouteSpec The spec for an http2 route. */ override fun http2RouteSpec(http2RouteSpec: CfnRoute.HttpRouteProperty) { - cdkBuilder.http2RouteSpec(http2RouteSpec.let(CfnRoute.HttpRouteProperty::unwrap)) + cdkBuilder.http2RouteSpec(http2RouteSpec.let(CfnRoute.HttpRouteProperty.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public interface RouteSpecConfig { * @param httpRouteSpec The spec for an http route. */ override fun httpRouteSpec(httpRouteSpec: CfnRoute.HttpRouteProperty) { - cdkBuilder.httpRouteSpec(httpRouteSpec.let(CfnRoute.HttpRouteProperty::unwrap)) + cdkBuilder.httpRouteSpec(httpRouteSpec.let(CfnRoute.HttpRouteProperty.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public interface RouteSpecConfig { * @param tcpRouteSpec The spec for a tcp route. */ override fun tcpRouteSpec(tcpRouteSpec: CfnRoute.TcpRouteProperty) { - cdkBuilder.tcpRouteSpec(tcpRouteSpec.let(CfnRoute.TcpRouteProperty::unwrap)) + cdkBuilder.tcpRouteSpec(tcpRouteSpec.let(CfnRoute.TcpRouteProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscovery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscovery.kt index 8f5d388b25..aa5e4dd81b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscovery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscovery.kt @@ -47,7 +47,7 @@ public abstract class ServiceDiscovery( * @param scope */ public open fun bind(scope: Construct): ServiceDiscoveryConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(ServiceDiscoveryConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(ServiceDiscoveryConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.ServiceDiscovery, @@ -55,11 +55,11 @@ public abstract class ServiceDiscovery( public companion object { public fun cloudMap(service: IService): ServiceDiscovery = - software.amazon.awscdk.services.appmesh.ServiceDiscovery.cloudMap(service.let(IService::unwrap)).let(ServiceDiscovery::wrap) + software.amazon.awscdk.services.appmesh.ServiceDiscovery.cloudMap(service.let(IService.Companion::unwrap)).let(ServiceDiscovery::wrap) public fun cloudMap(service: IService, instanceAttributes: Map): ServiceDiscovery = - software.amazon.awscdk.services.appmesh.ServiceDiscovery.cloudMap(service.let(IService::unwrap), + software.amazon.awscdk.services.appmesh.ServiceDiscovery.cloudMap(service.let(IService.Companion::unwrap), instanceAttributes).let(ServiceDiscovery::wrap) public fun cloudMap( @@ -67,23 +67,24 @@ public abstract class ServiceDiscovery( instanceAttributes: Map, ipPreference: IpPreference, ): ServiceDiscovery = - software.amazon.awscdk.services.appmesh.ServiceDiscovery.cloudMap(service.let(IService::unwrap), - instanceAttributes, ipPreference.let(IpPreference::unwrap)).let(ServiceDiscovery::wrap) + software.amazon.awscdk.services.appmesh.ServiceDiscovery.cloudMap(service.let(IService.Companion::unwrap), + instanceAttributes, + ipPreference.let(IpPreference.Companion::unwrap)).let(ServiceDiscovery::wrap) public fun dns(hostname: String): ServiceDiscovery = software.amazon.awscdk.services.appmesh.ServiceDiscovery.dns(hostname).let(ServiceDiscovery::wrap) public fun dns(hostname: String, responseType: DnsResponseType): ServiceDiscovery = software.amazon.awscdk.services.appmesh.ServiceDiscovery.dns(hostname, - responseType.let(DnsResponseType::unwrap)).let(ServiceDiscovery::wrap) + responseType.let(DnsResponseType.Companion::unwrap)).let(ServiceDiscovery::wrap) public fun dns( hostname: String, responseType: DnsResponseType, ipPreference: IpPreference, ): ServiceDiscovery = software.amazon.awscdk.services.appmesh.ServiceDiscovery.dns(hostname, - responseType.let(DnsResponseType::unwrap), - ipPreference.let(IpPreference::unwrap)).let(ServiceDiscovery::wrap) + responseType.let(DnsResponseType.Companion::unwrap), + ipPreference.let(IpPreference.Companion::unwrap)).let(ServiceDiscovery::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.appmesh.ServiceDiscovery): ServiceDiscovery = CdkObjectWrappers.wrap(cdkObject) as? ServiceDiscovery ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscoveryConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscoveryConfig.kt index b96342d014..cceaf76a0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscoveryConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/ServiceDiscoveryConfig.kt @@ -93,7 +93,7 @@ public interface ServiceDiscoveryConfig { * @param cloudmap Cloud Map based Service Discovery. */ override fun cloudmap(cloudmap: CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty) { - cdkBuilder.cloudmap(cloudmap.let(CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty::unwrap)) + cdkBuilder.cloudmap(cloudmap.let(CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface ServiceDiscoveryConfig { * @param dns DNS based Service Discovery. */ override fun dns(dns: CfnVirtualNode.DnsServiceDiscoveryProperty) { - cdkBuilder.dns(dns.let(CfnVirtualNode.DnsServiceDiscoveryProperty::unwrap)) + cdkBuilder.dns(dns.let(CfnVirtualNode.DnsServiceDiscoveryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNames.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNames.kt index 5e67ad802d..a9db47ee87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNames.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNames.kt @@ -60,7 +60,7 @@ public abstract class SubjectAlternativeNames( * @param scope */ public open fun bind(scope: Construct): SubjectAlternativeNamesMatcherConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(SubjectAlternativeNamesMatcherConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(SubjectAlternativeNamesMatcherConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.SubjectAlternativeNames, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNamesMatcherConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNamesMatcherConfig.kt index f8c8386be1..7107f83d6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNamesMatcherConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/SubjectAlternativeNamesMatcherConfig.kt @@ -64,7 +64,7 @@ public interface SubjectAlternativeNamesMatcherConfig { */ override fun subjectAlternativeNamesMatch(subjectAlternativeNamesMatch: CfnVirtualNode.SubjectAlternativeNameMatchersProperty) { - cdkBuilder.subjectAlternativeNamesMatch(subjectAlternativeNamesMatch.let(CfnVirtualNode.SubjectAlternativeNameMatchersProperty::unwrap)) + cdkBuilder.subjectAlternativeNamesMatch(subjectAlternativeNamesMatch.let(CfnVirtualNode.SubjectAlternativeNameMatchersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpHealthCheckOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpHealthCheckOptions.kt index e15c201840..2cb34f71c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpHealthCheckOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpHealthCheckOptions.kt @@ -102,14 +102,14 @@ public interface TcpHealthCheckOptions { * @param interval The time period between each health check execution. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** * @param timeout The amount of time to wait when receiving a response from the health check. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpRouteSpecOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpRouteSpecOptions.kt index 42012786d5..51041b04b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpRouteSpecOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpRouteSpecOptions.kt @@ -105,7 +105,7 @@ public interface TcpRouteSpecOptions : RouteSpecOptionsBase { * @param timeout An object that represents a tcp timeout. */ override fun timeout(timeout: TcpTimeout) { - cdkBuilder.timeout(timeout.let(TcpTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(TcpTimeout.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface TcpRouteSpecOptions : RouteSpecOptionsBase { * route. */ override fun weightedTargets(weightedTargets: List) { - cdkBuilder.weightedTargets(weightedTargets.map(WeightedTarget::unwrap)) + cdkBuilder.weightedTargets(weightedTargets.map(WeightedTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpTimeout.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpTimeout.kt index 6782fe6049..61db89ee55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpTimeout.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpTimeout.kt @@ -54,7 +54,7 @@ public interface TcpTimeout { * The amount of time that a connection may be idle. */ override fun idle(idle: Duration) { - cdkBuilder.idle(idle.let(Duration::unwrap)) + cdkBuilder.idle(idle.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.TcpTimeout = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpVirtualNodeListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpVirtualNodeListenerOptions.kt index 6240ae2a52..162b5b957c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpVirtualNodeListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TcpVirtualNodeListenerOptions.kt @@ -170,7 +170,7 @@ public interface TcpVirtualNodeListenerOptions { * @param connectionPool Connection pool for http listeners. */ override fun connectionPool(connectionPool: TcpConnectionPool) { - cdkBuilder.connectionPool(connectionPool.let(TcpConnectionPool::unwrap)) + cdkBuilder.connectionPool(connectionPool.let(TcpConnectionPool.Companion::unwrap)) } /** @@ -185,14 +185,14 @@ public interface TcpVirtualNodeListenerOptions { * @param healthCheck The health check information for the listener. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** * @param outlierDetection Represents the configuration for enabling outlier detection. */ override fun outlierDetection(outlierDetection: OutlierDetection) { - cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection::unwrap)) + cdkBuilder.outlierDetection(outlierDetection.let(OutlierDetection.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface TcpVirtualNodeListenerOptions { * @param timeout Timeout for TCP protocol. */ override fun timeout(timeout: TcpTimeout) { - cdkBuilder.timeout(timeout.let(TcpTimeout::unwrap)) + cdkBuilder.timeout(timeout.let(TcpTimeout.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface TcpVirtualNodeListenerOptions { * @param tls Represents the configuration for enabling TLS on a listener. */ override fun tls(tls: ListenerTlsOptions) { - cdkBuilder.tls(tls.let(ListenerTlsOptions::unwrap)) + cdkBuilder.tls(tls.let(ListenerTlsOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificate.kt index 312c5d3e13..77a0e9a2c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificate.kt @@ -63,7 +63,7 @@ public abstract class TlsCertificate( * @param _scope */ public open fun bind(scope: Construct): TlsCertificateConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(TlsCertificateConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(TlsCertificateConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.TlsCertificate, @@ -71,7 +71,7 @@ public abstract class TlsCertificate( public companion object { public fun acm(certificate: ICertificate): TlsCertificate = - software.amazon.awscdk.services.appmesh.TlsCertificate.acm(certificate.let(ICertificate::unwrap)).let(TlsCertificate::wrap) + software.amazon.awscdk.services.appmesh.TlsCertificate.acm(certificate.let(ICertificate.Companion::unwrap)).let(TlsCertificate::wrap) public fun `file`(certificateChainPath: String, privateKeyPath: String): MutualTlsCertificate = software.amazon.awscdk.services.appmesh.TlsCertificate.`file`(certificateChainPath, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificateConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificateConfig.kt index bdffdf2ab3..a20556a7a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificateConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsCertificateConfig.kt @@ -66,7 +66,7 @@ public interface TlsCertificateConfig { * @param tlsCertificate The CFN shape for a TLS certificate. */ override fun tlsCertificate(tlsCertificate: CfnVirtualNode.ListenerTlsCertificateProperty) { - cdkBuilder.tlsCertificate(tlsCertificate.let(CfnVirtualNode.ListenerTlsCertificateProperty::unwrap)) + cdkBuilder.tlsCertificate(tlsCertificate.let(CfnVirtualNode.ListenerTlsCertificateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsClientPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsClientPolicy.kt index c00fb195b7..4dad62826d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsClientPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsClientPolicy.kt @@ -136,7 +136,7 @@ public interface TlsClientPolicy { * The certificate will be sent only if the server requests it, enabling mutual TLS. */ override fun mutualTlsCertificate(mutualTlsCertificate: MutualTlsCertificate) { - cdkBuilder.mutualTlsCertificate(mutualTlsCertificate.let(MutualTlsCertificate::unwrap)) + cdkBuilder.mutualTlsCertificate(mutualTlsCertificate.let(MutualTlsCertificate.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface TlsClientPolicy { * @param validation Represents the object for TLS validation context. */ override fun validation(validation: TlsValidation) { - cdkBuilder.validation(validation.let(TlsValidation::unwrap)) + cdkBuilder.validation(validation.let(TlsValidation.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidation.kt index 2f18f9f960..df6bae47ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidation.kt @@ -91,14 +91,14 @@ public interface TlsValidation { * SANs must be in the FQDN or URI format. */ override fun subjectAlternativeNames(subjectAlternativeNames: SubjectAlternativeNames) { - cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNames::unwrap)) + cdkBuilder.subjectAlternativeNames(subjectAlternativeNames.let(SubjectAlternativeNames.Companion::unwrap)) } /** * @param trust Reference to where to retrieve the trust chain. */ override fun trust(trust: TlsValidationTrust) { - cdkBuilder.trust(trust.let(TlsValidationTrust::unwrap)) + cdkBuilder.trust(trust.let(TlsValidationTrust.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.TlsValidation = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrust.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrust.kt index 1fb3647ab0..7061025f8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrust.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrust.kt @@ -54,7 +54,7 @@ public abstract class TlsValidationTrust( * @param scope */ public open fun bind(scope: Construct): TlsValidationTrustConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(TlsValidationTrustConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(TlsValidationTrustConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.TlsValidationTrust, @@ -62,7 +62,7 @@ public abstract class TlsValidationTrust( public companion object { public fun acm(certificateAuthorities: List): TlsValidationTrust = - software.amazon.awscdk.services.appmesh.TlsValidationTrust.acm(certificateAuthorities.map(ICertificateAuthority::unwrap)).let(TlsValidationTrust::wrap) + software.amazon.awscdk.services.appmesh.TlsValidationTrust.acm(certificateAuthorities.map(ICertificateAuthority.Companion::unwrap)).let(TlsValidationTrust::wrap) public fun acm(vararg certificateAuthorities: ICertificateAuthority): TlsValidationTrust = acm(certificateAuthorities.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrustConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrustConfig.kt index 52050a05e4..3207a8f593 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrustConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/TlsValidationTrustConfig.kt @@ -70,7 +70,7 @@ public interface TlsValidationTrustConfig { */ override fun tlsValidationTrust(tlsValidationTrust: CfnVirtualNode.TlsValidationContextTrustProperty) { - cdkBuilder.tlsValidationTrust(tlsValidationTrust.let(CfnVirtualNode.TlsValidationContextTrustProperty::unwrap)) + cdkBuilder.tlsValidationTrust(tlsValidationTrust.let(CfnVirtualNode.TlsValidationContextTrustProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGateway.kt index 6659dbd001..7985ebe70c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGateway.kt @@ -63,8 +63,8 @@ public open class VirtualGateway( id: String, props: VirtualGatewayProps, ) : - this(software.amazon.awscdk.services.appmesh.VirtualGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VirtualGatewayProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.VirtualGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VirtualGatewayProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class VirtualGateway( */ public override fun addGatewayRoute(id: String, props: GatewayRouteBaseProps): GatewayRoute = unwrap(this).addGatewayRoute(id, - props.let(GatewayRouteBaseProps::unwrap)).let(GatewayRoute::wrap) + props.let(GatewayRouteBaseProps.Companion::unwrap)).let(GatewayRoute::wrap) /** * Utility method to add a new GatewayRoute to the VirtualGateway. @@ -101,7 +101,7 @@ public open class VirtualGateway( * @param identity */ public override fun grantStreamAggregatedResources(identity: IGrantable): Grant = - unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The Mesh that the VirtualGateway belongs to. @@ -208,7 +208,7 @@ public open class VirtualGateway( * @param accessLog Access Logging Configuration for the VirtualGateway. */ override fun accessLog(accessLog: AccessLog) { - cdkBuilder.accessLog(accessLog.let(AccessLog::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLog.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class VirtualGateway( * Service. */ override fun backendDefaults(backendDefaults: BackendDefaults) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class VirtualGateway( * @param listeners Listeners for the VirtualGateway. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualGatewayListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualGatewayListener.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class VirtualGateway( * @param mesh The Mesh which the VirtualGateway belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class VirtualGateway( id: String, virtualGatewayArn: String, ): IVirtualGateway = - software.amazon.awscdk.services.appmesh.VirtualGateway.fromVirtualGatewayArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.VirtualGateway.fromVirtualGatewayArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, virtualGatewayArn).let(IVirtualGateway::wrap) public fun fromVirtualGatewayAttributes( @@ -298,8 +298,8 @@ public open class VirtualGateway( id: String, attrs: VirtualGatewayAttributes, ): IVirtualGateway = - software.amazon.awscdk.services.appmesh.VirtualGateway.fromVirtualGatewayAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VirtualGatewayAttributes::unwrap)).let(IVirtualGateway::wrap) + software.amazon.awscdk.services.appmesh.VirtualGateway.fromVirtualGatewayAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VirtualGatewayAttributes.Companion::unwrap)).let(IVirtualGateway::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c9d9e9ae33c84cde6a971a8ce03c125e996430a025d7b52cf600b06241f9384f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayAttributes.kt index 2975323db5..51439f021c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayAttributes.kt @@ -59,7 +59,7 @@ public interface VirtualGatewayAttributes { * @param mesh The Mesh that the VirtualGateway belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayBaseProps.kt index 17698ee282..b93c3a3373 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayBaseProps.kt @@ -112,7 +112,7 @@ public interface VirtualGatewayBaseProps { * @param accessLog Access Logging Configuration for the VirtualGateway. */ override fun accessLog(accessLog: AccessLog) { - cdkBuilder.accessLog(accessLog.let(AccessLog::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLog.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface VirtualGatewayBaseProps { * Service. */ override fun backendDefaults(backendDefaults: BackendDefaults) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface VirtualGatewayBaseProps { * Only one is supported. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualGatewayListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualGatewayListener.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListener.kt index bb7fdd8ed8..9551f87720 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListener.kt @@ -51,7 +51,7 @@ public abstract class VirtualGatewayListener( * @param scope */ public open fun bind(scope: Construct): VirtualGatewayListenerConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(VirtualGatewayListenerConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(VirtualGatewayListenerConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.VirtualGatewayListener, @@ -62,7 +62,7 @@ public abstract class VirtualGatewayListener( software.amazon.awscdk.services.appmesh.VirtualGatewayListener.grpc().let(VirtualGatewayListener::wrap) public fun grpc(options: GrpcGatewayListenerOptions): VirtualGatewayListener = - software.amazon.awscdk.services.appmesh.VirtualGatewayListener.grpc(options.let(GrpcGatewayListenerOptions::unwrap)).let(VirtualGatewayListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualGatewayListener.grpc(options.let(GrpcGatewayListenerOptions.Companion::unwrap)).let(VirtualGatewayListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c01751a5e2e288f90df20e4cd61f27e3431457469c92025e16e8fd398a5cfc1") @@ -73,7 +73,7 @@ public abstract class VirtualGatewayListener( software.amazon.awscdk.services.appmesh.VirtualGatewayListener.http().let(VirtualGatewayListener::wrap) public fun http(options: HttpGatewayListenerOptions): VirtualGatewayListener = - software.amazon.awscdk.services.appmesh.VirtualGatewayListener.http(options.let(HttpGatewayListenerOptions::unwrap)).let(VirtualGatewayListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualGatewayListener.http(options.let(HttpGatewayListenerOptions.Companion::unwrap)).let(VirtualGatewayListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e3f87df441b98375a0dafe3e4a9a89ee3b4c94b2e99b57c680528e510e64fdc2") @@ -84,7 +84,7 @@ public abstract class VirtualGatewayListener( software.amazon.awscdk.services.appmesh.VirtualGatewayListener.http2().let(VirtualGatewayListener::wrap) public fun http2(options: Http2GatewayListenerOptions): VirtualGatewayListener = - software.amazon.awscdk.services.appmesh.VirtualGatewayListener.http2(options.let(Http2GatewayListenerOptions::unwrap)).let(VirtualGatewayListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualGatewayListener.http2(options.let(Http2GatewayListenerOptions.Companion::unwrap)).let(VirtualGatewayListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3bb1b3f4a5fbf16fa10c35003a5e5a3132977ba20e14b0989bbe0962df103fc6") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListenerConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListenerConfig.kt index c71974bbbb..00c3602ae3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListenerConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayListenerConfig.kt @@ -118,7 +118,7 @@ public interface VirtualGatewayListenerConfig { * @param listener Single listener config for a VirtualGateway. */ override fun listener(listener: CfnVirtualGateway.VirtualGatewayListenerProperty) { - cdkBuilder.listener(listener.let(CfnVirtualGateway.VirtualGatewayListenerProperty::unwrap)) + cdkBuilder.listener(listener.let(CfnVirtualGateway.VirtualGatewayListenerProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayProps.kt index ab7cdb9ff5..e758a5630c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualGatewayProps.kt @@ -102,7 +102,7 @@ public interface VirtualGatewayProps : VirtualGatewayBaseProps { * @param accessLog Access Logging Configuration for the VirtualGateway. */ override fun accessLog(accessLog: AccessLog) { - cdkBuilder.accessLog(accessLog.let(AccessLog::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLog.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface VirtualGatewayProps : VirtualGatewayBaseProps { * Service. */ override fun backendDefaults(backendDefaults: BackendDefaults) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface VirtualGatewayProps : VirtualGatewayBaseProps { * Only one is supported. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualGatewayListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualGatewayListener.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface VirtualGatewayProps : VirtualGatewayBaseProps { * @param mesh The Mesh which the VirtualGateway belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNode.kt index f042e0018f..393d28ca0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNode.kt @@ -54,8 +54,8 @@ public open class VirtualNode( id: String, props: VirtualNodeProps, ) : - this(software.amazon.awscdk.services.appmesh.VirtualNode(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VirtualNodeProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.VirtualNode(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VirtualNodeProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class VirtualNode( * @param backend */ public open fun addBackend(backend: Backend) { - unwrap(this).addBackend(backend.let(Backend::unwrap)) + unwrap(this).addBackend(backend.let(Backend.Companion::unwrap)) } /** @@ -86,7 +86,7 @@ public open class VirtualNode( * @param listener */ public open fun addListener(listener: VirtualNodeListener) { - unwrap(this).addListener(listener.let(VirtualNodeListener::unwrap)) + unwrap(this).addListener(listener.let(VirtualNodeListener.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public open class VirtualNode( * @param identity */ public override fun grantStreamAggregatedResources(identity: IGrantable): Grant = - unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamAggregatedResources(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The Mesh which the VirtualNode belongs to. @@ -225,7 +225,7 @@ public open class VirtualNode( * @param accessLog Access Logging Configuration for the virtual node. */ override fun accessLog(accessLog: AccessLog) { - cdkBuilder.accessLog(accessLog.let(AccessLog::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLog.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class VirtualNode( * Service. */ override fun backendDefaults(backendDefaults: BackendDefaults) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class VirtualNode( * @param backends Virtual Services that this is node expected to send outbound traffic to. */ override fun backends(backends: List) { - cdkBuilder.backends(backends.map(Backend::unwrap)) + cdkBuilder.backends(backends.map(Backend.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class VirtualNode( * @param listeners Initial listener for the virtual node. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualNodeListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualNodeListener.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class VirtualNode( * @param mesh The Mesh which the VirtualNode belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class VirtualNode( * @param serviceDiscovery Defines how upstream clients will discover this VirtualNode. */ override fun serviceDiscovery(serviceDiscovery: ServiceDiscovery) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscovery::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscovery.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class VirtualNode( id: String, virtualNodeArn: String, ): IVirtualNode = - software.amazon.awscdk.services.appmesh.VirtualNode.fromVirtualNodeArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.VirtualNode.fromVirtualNodeArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, virtualNodeArn).let(IVirtualNode::wrap) public fun fromVirtualNodeAttributes( @@ -342,8 +342,8 @@ public open class VirtualNode( id: String, attrs: VirtualNodeAttributes, ): IVirtualNode = - software.amazon.awscdk.services.appmesh.VirtualNode.fromVirtualNodeAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VirtualNodeAttributes::unwrap)).let(IVirtualNode::wrap) + software.amazon.awscdk.services.appmesh.VirtualNode.fromVirtualNodeAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VirtualNodeAttributes.Companion::unwrap)).let(IVirtualNode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5adc84a99eeca204975739e5ce0c1737f3e15ef875462044fbf2550f756149d4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeAttributes.kt index 129f599e21..33bf71ee6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeAttributes.kt @@ -57,7 +57,7 @@ public interface VirtualNodeAttributes { * @param mesh The Mesh that the VirtualNode belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeBaseProps.kt index c235e399e0..1efed70055 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeBaseProps.kt @@ -149,7 +149,7 @@ public interface VirtualNodeBaseProps { * @param accessLog Access Logging Configuration for the virtual node. */ override fun accessLog(accessLog: AccessLog) { - cdkBuilder.accessLog(accessLog.let(AccessLog::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLog.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface VirtualNodeBaseProps { * Service. */ override fun backendDefaults(backendDefaults: BackendDefaults) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface VirtualNodeBaseProps { * @param backends Virtual Services that this is node expected to send outbound traffic to. */ override fun backends(backends: List) { - cdkBuilder.backends(backends.map(Backend::unwrap)) + cdkBuilder.backends(backends.map(Backend.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface VirtualNodeBaseProps { * @param listeners Initial listener for the virtual node. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualNodeListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualNodeListener.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public interface VirtualNodeBaseProps { * @param serviceDiscovery Defines how upstream clients will discover this VirtualNode. */ override fun serviceDiscovery(serviceDiscovery: ServiceDiscovery) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscovery::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscovery.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListener.kt index 0d8798ed6f..ec9129dad4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListener.kt @@ -53,7 +53,7 @@ public abstract class VirtualNodeListener( * @param scope */ public open fun bind(scope: Construct): VirtualNodeListenerConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(VirtualNodeListenerConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(VirtualNodeListenerConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.VirtualNodeListener, @@ -64,7 +64,7 @@ public abstract class VirtualNodeListener( software.amazon.awscdk.services.appmesh.VirtualNodeListener.grpc().let(VirtualNodeListener::wrap) public fun grpc(props: GrpcVirtualNodeListenerOptions): VirtualNodeListener = - software.amazon.awscdk.services.appmesh.VirtualNodeListener.grpc(props.let(GrpcVirtualNodeListenerOptions::unwrap)).let(VirtualNodeListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualNodeListener.grpc(props.let(GrpcVirtualNodeListenerOptions.Companion::unwrap)).let(VirtualNodeListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fb2b1f6fa7d1da90ae696046c02e92e450882306a98ab609e33360fd00536c4e") @@ -75,7 +75,7 @@ public abstract class VirtualNodeListener( software.amazon.awscdk.services.appmesh.VirtualNodeListener.http().let(VirtualNodeListener::wrap) public fun http(props: HttpVirtualNodeListenerOptions): VirtualNodeListener = - software.amazon.awscdk.services.appmesh.VirtualNodeListener.http(props.let(HttpVirtualNodeListenerOptions::unwrap)).let(VirtualNodeListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualNodeListener.http(props.let(HttpVirtualNodeListenerOptions.Companion::unwrap)).let(VirtualNodeListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2e2d9f1b7d7b158ad06f93bf4615ab89ac79fcbe878d94f847cd8a67b356eb62") @@ -86,7 +86,7 @@ public abstract class VirtualNodeListener( software.amazon.awscdk.services.appmesh.VirtualNodeListener.http2().let(VirtualNodeListener::wrap) public fun http2(props: Http2VirtualNodeListenerOptions): VirtualNodeListener = - software.amazon.awscdk.services.appmesh.VirtualNodeListener.http2(props.let(Http2VirtualNodeListenerOptions::unwrap)).let(VirtualNodeListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualNodeListener.http2(props.let(Http2VirtualNodeListenerOptions.Companion::unwrap)).let(VirtualNodeListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("57c7a14ecaa8d8e9473f6f6860f61be4a80d973601121707040b97e466a3dadb") @@ -97,7 +97,7 @@ public abstract class VirtualNodeListener( software.amazon.awscdk.services.appmesh.VirtualNodeListener.tcp().let(VirtualNodeListener::wrap) public fun tcp(props: TcpVirtualNodeListenerOptions): VirtualNodeListener = - software.amazon.awscdk.services.appmesh.VirtualNodeListener.tcp(props.let(TcpVirtualNodeListenerOptions::unwrap)).let(VirtualNodeListener::wrap) + software.amazon.awscdk.services.appmesh.VirtualNodeListener.tcp(props.let(TcpVirtualNodeListenerOptions.Companion::unwrap)).let(VirtualNodeListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("583a731564779daad1b152d5ac253d03f994ca7cd5e701de6280fe666f2284b5") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListenerConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListenerConfig.kt index 82b93d6777..6f04f93045 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListenerConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeListenerConfig.kt @@ -169,7 +169,7 @@ public interface VirtualNodeListenerConfig { * @param listener Single listener config for a VirtualNode. */ override fun listener(listener: CfnVirtualNode.ListenerProperty) { - cdkBuilder.listener(listener.let(CfnVirtualNode.ListenerProperty::unwrap)) + cdkBuilder.listener(listener.let(CfnVirtualNode.ListenerProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeProps.kt index f2a285b429..c747d765ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualNodeProps.kt @@ -120,7 +120,7 @@ public interface VirtualNodeProps : VirtualNodeBaseProps { * @param accessLog Access Logging Configuration for the virtual node. */ override fun accessLog(accessLog: AccessLog) { - cdkBuilder.accessLog(accessLog.let(AccessLog::unwrap)) + cdkBuilder.accessLog(accessLog.let(AccessLog.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface VirtualNodeProps : VirtualNodeBaseProps { * Service. */ override fun backendDefaults(backendDefaults: BackendDefaults) { - cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults::unwrap)) + cdkBuilder.backendDefaults(backendDefaults.let(BackendDefaults.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface VirtualNodeProps : VirtualNodeBaseProps { * @param backends Virtual Services that this is node expected to send outbound traffic to. */ override fun backends(backends: List) { - cdkBuilder.backends(backends.map(Backend::unwrap)) + cdkBuilder.backends(backends.map(Backend.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface VirtualNodeProps : VirtualNodeBaseProps { * @param listeners Initial listener for the virtual node. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualNodeListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualNodeListener.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public interface VirtualNodeProps : VirtualNodeBaseProps { * @param mesh The Mesh which the VirtualNode belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** * @param serviceDiscovery Defines how upstream clients will discover this VirtualNode. */ override fun serviceDiscovery(serviceDiscovery: ServiceDiscovery) { - cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscovery::unwrap)) + cdkBuilder.serviceDiscovery(serviceDiscovery.let(ServiceDiscovery.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouter.kt index a76d33d02d..6fc847ce7a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouter.kt @@ -29,8 +29,8 @@ public open class VirtualRouter( id: String, props: VirtualRouterProps, ) : - this(software.amazon.awscdk.services.appmesh.VirtualRouter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VirtualRouterProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.VirtualRouter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VirtualRouterProps.Companion::unwrap)) ) public constructor( @@ -47,7 +47,7 @@ public open class VirtualRouter( * @param props */ public override fun addRoute(id: String, props: RouteBaseProps): Route = unwrap(this).addRoute(id, - props.let(RouteBaseProps::unwrap)).let(Route::wrap) + props.let(RouteBaseProps.Companion::unwrap)).let(Route::wrap) /** * Add a single route to the router. @@ -130,7 +130,7 @@ public open class VirtualRouter( * @param listeners Listener specification for the VirtualRouter. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualRouterListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualRouterListener.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class VirtualRouter( * @param mesh The Mesh which the VirtualRouter belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class VirtualRouter( id: String, virtualRouterArn: String, ): IVirtualRouter = - software.amazon.awscdk.services.appmesh.VirtualRouter.fromVirtualRouterArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.VirtualRouter.fromVirtualRouterArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, virtualRouterArn).let(IVirtualRouter::wrap) public fun fromVirtualRouterAttributes( @@ -180,8 +180,8 @@ public open class VirtualRouter( id: String, attrs: VirtualRouterAttributes, ): IVirtualRouter = - software.amazon.awscdk.services.appmesh.VirtualRouter.fromVirtualRouterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VirtualRouterAttributes::unwrap)).let(IVirtualRouter::wrap) + software.amazon.awscdk.services.appmesh.VirtualRouter.fromVirtualRouterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VirtualRouterAttributes.Companion::unwrap)).let(IVirtualRouter::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7b0ffc42719cfeee629cfc702d5a9516d44a89a160dbb40ee3f6edb4dba5c1fa") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterAttributes.kt index fe0b44c360..c1b9bd5733 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterAttributes.kt @@ -59,7 +59,7 @@ public interface VirtualRouterAttributes { * @param mesh The Mesh which the VirtualRouter belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterBaseProps.kt index b9f39ada80..6ae03bf4b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterBaseProps.kt @@ -66,7 +66,7 @@ public interface VirtualRouterBaseProps { * @param listeners Listener specification for the VirtualRouter. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualRouterListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualRouterListener.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListener.kt index 0e6a8761c6..35fe15e3f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListener.kt @@ -31,7 +31,7 @@ public abstract class VirtualRouterListener( * @param scope */ public open fun bind(scope: Construct): VirtualRouterListenerConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(VirtualRouterListenerConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(VirtualRouterListenerConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.VirtualRouterListener, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListenerConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListenerConfig.kt index 4e7ca1ee3d..2b24e1fe57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListenerConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterListenerConfig.kt @@ -60,7 +60,7 @@ public interface VirtualRouterListenerConfig { * @param listener Single listener config for a VirtualRouter. */ override fun listener(listener: CfnVirtualRouter.VirtualRouterListenerProperty) { - cdkBuilder.listener(listener.let(CfnVirtualRouter.VirtualRouterListenerProperty::unwrap)) + cdkBuilder.listener(listener.let(CfnVirtualRouter.VirtualRouterListenerProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterProps.kt index f150f90347..a0ca784c73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualRouterProps.kt @@ -70,7 +70,7 @@ public interface VirtualRouterProps : VirtualRouterBaseProps { * @param listeners Listener specification for the VirtualRouter. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(VirtualRouterListener::unwrap)) + cdkBuilder.listeners(listeners.map(VirtualRouterListener.Companion::unwrap)) } /** @@ -83,7 +83,7 @@ public interface VirtualRouterProps : VirtualRouterBaseProps { * @param mesh The Mesh which the VirtualRouter belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualService.kt index 67c36578ec..6e50a04a79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualService.kt @@ -40,8 +40,8 @@ public open class VirtualService( id: String, props: VirtualServiceProps, ) : - this(software.amazon.awscdk.services.appmesh.VirtualService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VirtualServiceProps::unwrap)) + this(software.amazon.awscdk.services.appmesh.VirtualService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VirtualServiceProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class VirtualService( * as its provider. */ override fun virtualServiceProvider(virtualServiceProvider: VirtualServiceProvider) { - cdkBuilder.virtualServiceProvider(virtualServiceProvider.let(VirtualServiceProvider::unwrap)) + cdkBuilder.virtualServiceProvider(virtualServiceProvider.let(VirtualServiceProvider.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.VirtualService = cdkBuilder.build() @@ -137,7 +137,7 @@ public open class VirtualService( id: String, virtualServiceArn: String, ): IVirtualService = - software.amazon.awscdk.services.appmesh.VirtualService.fromVirtualServiceArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.appmesh.VirtualService.fromVirtualServiceArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, virtualServiceArn).let(IVirtualService::wrap) public fun fromVirtualServiceAttributes( @@ -145,8 +145,8 @@ public open class VirtualService( id: String, attrs: VirtualServiceAttributes, ): IVirtualService = - software.amazon.awscdk.services.appmesh.VirtualService.fromVirtualServiceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VirtualServiceAttributes::unwrap)).let(IVirtualService::wrap) + software.amazon.awscdk.services.appmesh.VirtualService.fromVirtualServiceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VirtualServiceAttributes.Companion::unwrap)).let(IVirtualService::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e44e83423747896d1527f34cf795fa3dd9a184057172c64cd142a5e0717c08e8") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceAttributes.kt index a62aff5f02..8b4411a9da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceAttributes.kt @@ -61,7 +61,7 @@ public interface VirtualServiceAttributes { * @param mesh The Mesh which the VirtualService belongs to. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceBackendOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceBackendOptions.kt index a0dae7d9ec..be0aff1f80 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceBackendOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceBackendOptions.kt @@ -72,7 +72,7 @@ public interface VirtualServiceBackendOptions { * @param tlsClientPolicy TLS properties for Client policy for the backend. */ override fun tlsClientPolicy(tlsClientPolicy: TlsClientPolicy) { - cdkBuilder.tlsClientPolicy(tlsClientPolicy.let(TlsClientPolicy::unwrap)) + cdkBuilder.tlsClientPolicy(tlsClientPolicy.let(TlsClientPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProps.kt index 9f9313520b..9d7de12398 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProps.kt @@ -85,7 +85,7 @@ public interface VirtualServiceProps { * as its provider. */ override fun virtualServiceProvider(virtualServiceProvider: VirtualServiceProvider) { - cdkBuilder.virtualServiceProvider(virtualServiceProvider.let(VirtualServiceProvider::unwrap)) + cdkBuilder.virtualServiceProvider(virtualServiceProvider.let(VirtualServiceProvider.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appmesh.VirtualServiceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProvider.kt index 8db435ccc0..af7dabf1f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProvider.kt @@ -33,7 +33,7 @@ public abstract class VirtualServiceProvider( * @param _construct */ public open fun bind(construct: Construct): VirtualServiceProviderConfig = - unwrap(this).bind(construct.let(Construct::unwrap)).let(VirtualServiceProviderConfig::wrap) + unwrap(this).bind(construct.let(Construct.Companion::unwrap)).let(VirtualServiceProviderConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appmesh.VirtualServiceProvider, @@ -41,13 +41,13 @@ public abstract class VirtualServiceProvider( public companion object { public fun none(mesh: IMesh): VirtualServiceProvider = - software.amazon.awscdk.services.appmesh.VirtualServiceProvider.none(mesh.let(IMesh::unwrap)).let(VirtualServiceProvider::wrap) + software.amazon.awscdk.services.appmesh.VirtualServiceProvider.none(mesh.let(IMesh.Companion::unwrap)).let(VirtualServiceProvider::wrap) public fun virtualNode(virtualNode: IVirtualNode): VirtualServiceProvider = - software.amazon.awscdk.services.appmesh.VirtualServiceProvider.virtualNode(virtualNode.let(IVirtualNode::unwrap)).let(VirtualServiceProvider::wrap) + software.amazon.awscdk.services.appmesh.VirtualServiceProvider.virtualNode(virtualNode.let(IVirtualNode.Companion::unwrap)).let(VirtualServiceProvider::wrap) public fun virtualRouter(virtualRouter: IVirtualRouter): VirtualServiceProvider = - software.amazon.awscdk.services.appmesh.VirtualServiceProvider.virtualRouter(virtualRouter.let(IVirtualRouter::unwrap)).let(VirtualServiceProvider::wrap) + software.amazon.awscdk.services.appmesh.VirtualServiceProvider.virtualRouter(virtualRouter.let(IVirtualRouter.Companion::unwrap)).let(VirtualServiceProvider::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.appmesh.VirtualServiceProvider): VirtualServiceProvider = CdkObjectWrappers.wrap(cdkObject) as? VirtualServiceProvider ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProviderConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProviderConfig.kt index 22ee4f9b55..87272207d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProviderConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/VirtualServiceProviderConfig.kt @@ -103,7 +103,7 @@ public interface VirtualServiceProviderConfig { * @param mesh Mesh the Provider is using. */ override fun mesh(mesh: IMesh) { - cdkBuilder.mesh(mesh.let(IMesh::unwrap)) + cdkBuilder.mesh(mesh.let(IMesh.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public interface VirtualServiceProviderConfig { */ override fun virtualNodeProvider(virtualNodeProvider: CfnVirtualService.VirtualNodeServiceProviderProperty) { - cdkBuilder.virtualNodeProvider(virtualNodeProvider.let(CfnVirtualService.VirtualNodeServiceProviderProperty::unwrap)) + cdkBuilder.virtualNodeProvider(virtualNodeProvider.let(CfnVirtualService.VirtualNodeServiceProviderProperty.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface VirtualServiceProviderConfig { */ override fun virtualRouterProvider(virtualRouterProvider: CfnVirtualService.VirtualRouterServiceProviderProperty) { - cdkBuilder.virtualRouterProvider(virtualRouterProvider.let(CfnVirtualService.VirtualRouterServiceProviderProperty::unwrap)) + cdkBuilder.virtualRouterProvider(virtualRouterProvider.let(CfnVirtualService.VirtualRouterServiceProviderProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/WeightedTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/WeightedTarget.kt index 65493d81f5..6928aa6f50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/WeightedTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appmesh/WeightedTarget.kt @@ -82,7 +82,7 @@ public interface WeightedTarget { * @param virtualNode The VirtualNode the route points to. */ override fun virtualNode(virtualNode: IVirtualNode) { - cdkBuilder.virtualNode(virtualNode.let(IVirtualNode::unwrap)) + cdkBuilder.virtualNode(virtualNode.let(IVirtualNode.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfiguration.kt index e88520b1dd..61d7b9e842 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfiguration.kt @@ -64,7 +64,7 @@ public open class CfnAutoScalingConfiguration( cdkObject: software.amazon.awscdk.services.apprunner.CfnAutoScalingConfiguration, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apprunner.CfnAutoScalingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apprunner.CfnAutoScalingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -73,8 +73,8 @@ public open class CfnAutoScalingConfiguration( id: String, props: CfnAutoScalingConfigurationProps, ) : - this(software.amazon.awscdk.services.apprunner.CfnAutoScalingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAutoScalingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.apprunner.CfnAutoScalingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAutoScalingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CfnAutoScalingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnAutoScalingConfiguration( * A list of metadata items that you can associate with your auto scaling configuration resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnAutoScalingConfiguration( * configuration resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfigurationProps.kt index b4e256ee7c..e10707a5dd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnAutoScalingConfigurationProps.kt @@ -187,7 +187,7 @@ public interface CfnAutoScalingConfigurationProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfiguration.kt index 093e848177..5239ebafa6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfiguration.kt @@ -69,7 +69,7 @@ public open class CfnObservabilityConfiguration( cdkObject: software.amazon.awscdk.services.apprunner.CfnObservabilityConfiguration, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.apprunner.CfnObservabilityConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.apprunner.CfnObservabilityConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -78,8 +78,8 @@ public open class CfnObservabilityConfiguration( id: String, props: CfnObservabilityConfigurationProps, ) : - this(software.amazon.awscdk.services.apprunner.CfnObservabilityConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnObservabilityConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.apprunner.CfnObservabilityConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnObservabilityConfigurationProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnObservabilityConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnObservabilityConfiguration( * A list of metadata items that you can associate with your observability configuration resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -166,14 +166,14 @@ public open class CfnObservabilityConfiguration( * The configuration of the tracing feature within this observability configuration. */ public open fun traceConfiguration(`value`: IResolvable) { - unwrap(this).setTraceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTraceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of the tracing feature within this observability configuration. */ public open fun traceConfiguration(`value`: TraceConfigurationProperty) { - unwrap(this).setTraceConfiguration(`value`.let(TraceConfigurationProperty::unwrap)) + unwrap(this).setTraceConfiguration(`value`.let(TraceConfigurationProperty.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnObservabilityConfiguration( * configuration resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnObservabilityConfiguration( * configuration. */ override fun traceConfiguration(traceConfiguration: IResolvable) { - cdkBuilder.traceConfiguration(traceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.traceConfiguration(traceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnObservabilityConfiguration( * configuration. */ override fun traceConfiguration(traceConfiguration: TraceConfigurationProperty) { - cdkBuilder.traceConfiguration(traceConfiguration.let(TraceConfigurationProperty::unwrap)) + cdkBuilder.traceConfiguration(traceConfiguration.let(TraceConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfigurationProps.kt index e3ce5b267f..3eae03af19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnObservabilityConfigurationProps.kt @@ -178,7 +178,7 @@ public interface CfnObservabilityConfigurationProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnObservabilityConfigurationProps { * If you don't specify it, App Runner doesn't enable tracing. */ override fun traceConfiguration(traceConfiguration: IResolvable) { - cdkBuilder.traceConfiguration(traceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.traceConfiguration(traceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface CfnObservabilityConfigurationProps { */ override fun traceConfiguration(traceConfiguration: CfnObservabilityConfiguration.TraceConfigurationProperty) { - cdkBuilder.traceConfiguration(traceConfiguration.let(CfnObservabilityConfiguration.TraceConfigurationProperty::unwrap)) + cdkBuilder.traceConfiguration(traceConfiguration.let(CfnObservabilityConfiguration.TraceConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnService.kt index c07ac8bfe0..4a7c85f239 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnService.kt @@ -140,8 +140,8 @@ public open class CfnService( id: String, props: CfnServiceProps, ) : - this(software.amazon.awscdk.services.apprunner.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceProps::unwrap)) + this(software.amazon.awscdk.services.apprunner.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceProps.Companion::unwrap)) ) public constructor( @@ -207,7 +207,7 @@ public open class CfnService( * repository that it maintains and your service logs. */ public open fun encryptionConfiguration(`value`: IResolvable) { - unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnService( * repository that it maintains and your service logs. */ public open fun encryptionConfiguration(`value`: EncryptionConfigurationProperty) { - unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnService( * Runner service. */ public open fun healthCheckConfiguration(`value`: IResolvable) { - unwrap(this).setHealthCheckConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheckConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnService( * Runner service. */ public open fun healthCheckConfiguration(`value`: HealthCheckConfigurationProperty) { - unwrap(this).setHealthCheckConfiguration(`value`.let(HealthCheckConfigurationProperty::unwrap)) + unwrap(this).setHealthCheckConfiguration(`value`.let(HealthCheckConfigurationProperty.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -278,14 +278,14 @@ public open class CfnService( * The runtime configuration of instances (scaling units) of your service. */ public open fun instanceConfiguration(`value`: IResolvable) { - unwrap(this).setInstanceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The runtime configuration of instances (scaling units) of your service. */ public open fun instanceConfiguration(`value`: InstanceConfigurationProperty) { - unwrap(this).setInstanceConfiguration(`value`.let(InstanceConfigurationProperty::unwrap)) + unwrap(this).setInstanceConfiguration(`value`.let(InstanceConfigurationProperty.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnService( * service runs. */ public open fun networkConfiguration(`value`: IResolvable) { - unwrap(this).setNetworkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnService( * service runs. */ public open fun networkConfiguration(`value`: NetworkConfigurationProperty) { - unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -336,14 +336,14 @@ public open class CfnService( * The observability configuration of your service. */ public open fun observabilityConfiguration(`value`: IResolvable) { - unwrap(this).setObservabilityConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setObservabilityConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The observability configuration of your service. */ public open fun observabilityConfiguration(`value`: ServiceObservabilityConfigurationProperty) { - unwrap(this).setObservabilityConfiguration(`value`.let(ServiceObservabilityConfigurationProperty::unwrap)) + unwrap(this).setObservabilityConfiguration(`value`.let(ServiceObservabilityConfigurationProperty.Companion::unwrap)) } /** @@ -376,14 +376,14 @@ public open class CfnService( * The source to deploy to the App Runner service. */ public open fun sourceConfiguration(`value`: IResolvable) { - unwrap(this).setSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The source to deploy to the App Runner service. */ public open fun sourceConfiguration(`value`: SourceConfigurationProperty) { - unwrap(this).setSourceConfiguration(`value`.let(SourceConfigurationProperty::unwrap)) + unwrap(this).setSourceConfiguration(`value`.let(SourceConfigurationProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnService( * An optional list of metadata items that you can associate with the App Runner service resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public open class CfnService( * encrypt the copy of your source repository that it maintains and your service logs. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnService( * encrypt the copy of your source repository that it maintains and your service logs. */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public open class CfnService( * performs to monitor the health of the App Runner service. */ override fun healthCheckConfiguration(healthCheckConfiguration: IResolvable) { - cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class CfnService( */ override fun healthCheckConfiguration(healthCheckConfiguration: HealthCheckConfigurationProperty) { - cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(HealthCheckConfigurationProperty::unwrap)) + cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(HealthCheckConfigurationProperty.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public open class CfnService( * service. */ override fun instanceConfiguration(instanceConfiguration: IResolvable) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -805,7 +805,7 @@ public open class CfnService( * service. */ override fun instanceConfiguration(instanceConfiguration: InstanceConfigurationProperty) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(InstanceConfigurationProperty::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(InstanceConfigurationProperty.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public open class CfnService( * application that the App Runner service runs. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -842,7 +842,7 @@ public open class CfnService( * application that the App Runner service runs. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnService( * @param observabilityConfiguration The observability configuration of your service. */ override fun observabilityConfiguration(observabilityConfiguration: IResolvable) { - cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(IResolvable::unwrap)) + cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public open class CfnService( */ override fun observabilityConfiguration(observabilityConfiguration: ServiceObservabilityConfigurationProperty) { - cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(ServiceObservabilityConfigurationProperty::unwrap)) + cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(ServiceObservabilityConfigurationProperty.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public open class CfnService( * @param sourceConfiguration The source to deploy to the App Runner service. */ override fun sourceConfiguration(sourceConfiguration: IResolvable) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public open class CfnService( * @param sourceConfiguration The source to deploy to the App Runner service. */ override fun sourceConfiguration(sourceConfiguration: SourceConfigurationProperty) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(SourceConfigurationProperty::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(SourceConfigurationProperty.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnService( * service resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1239,7 +1239,7 @@ public open class CfnService( * the source code repository (or ignoring the file if it exists). */ override fun codeConfigurationValues(codeConfigurationValues: IResolvable) { - cdkBuilder.codeConfigurationValues(codeConfigurationValues.let(IResolvable::unwrap)) + cdkBuilder.codeConfigurationValues(codeConfigurationValues.let(IResolvable.Companion::unwrap)) } /** @@ -1250,7 +1250,7 @@ public open class CfnService( */ override fun codeConfigurationValues(codeConfigurationValues: CodeConfigurationValuesProperty) { - cdkBuilder.codeConfigurationValues(codeConfigurationValues.let(CodeConfigurationValuesProperty::unwrap)) + cdkBuilder.codeConfigurationValues(codeConfigurationValues.let(CodeConfigurationValuesProperty.Companion::unwrap)) } /** @@ -1556,7 +1556,7 @@ public open class CfnService( * not supported. */ override fun runtimeEnvironmentSecrets(runtimeEnvironmentSecrets: IResolvable) { - cdkBuilder.runtimeEnvironmentSecrets(runtimeEnvironmentSecrets.let(IResolvable::unwrap)) + cdkBuilder.runtimeEnvironmentSecrets(runtimeEnvironmentSecrets.let(IResolvable.Companion::unwrap)) } /** @@ -1598,7 +1598,7 @@ public open class CfnService( * An array of key-value pairs. */ override fun runtimeEnvironmentVariables(runtimeEnvironmentVariables: IResolvable) { - cdkBuilder.runtimeEnvironmentVariables(runtimeEnvironmentVariables.let(IResolvable::unwrap)) + cdkBuilder.runtimeEnvironmentVariables(runtimeEnvironmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1867,7 +1867,7 @@ public open class CfnService( * `CodeConfiguration` is required only for `CreateService` request. */ override fun codeConfiguration(codeConfiguration: IResolvable) { - cdkBuilder.codeConfiguration(codeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.codeConfiguration(codeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1877,7 +1877,7 @@ public open class CfnService( * `CodeConfiguration` is required only for `CreateService` request. */ override fun codeConfiguration(codeConfiguration: CodeConfigurationProperty) { - cdkBuilder.codeConfiguration(codeConfiguration.let(CodeConfigurationProperty::unwrap)) + cdkBuilder.codeConfiguration(codeConfiguration.let(CodeConfigurationProperty.Companion::unwrap)) } /** @@ -1904,7 +1904,7 @@ public open class CfnService( * */ override fun sourceCodeVersion(sourceCodeVersion: IResolvable) { - cdkBuilder.sourceCodeVersion(sourceCodeVersion.let(IResolvable::unwrap)) + cdkBuilder.sourceCodeVersion(sourceCodeVersion.let(IResolvable.Companion::unwrap)) } /** @@ -1912,7 +1912,7 @@ public open class CfnService( * */ override fun sourceCodeVersion(sourceCodeVersion: SourceCodeVersionProperty) { - cdkBuilder.sourceCodeVersion(sourceCodeVersion.let(SourceCodeVersionProperty::unwrap)) + cdkBuilder.sourceCodeVersion(sourceCodeVersion.let(SourceCodeVersionProperty.Companion::unwrap)) } /** @@ -2687,7 +2687,7 @@ public open class CfnService( * not supported. */ override fun runtimeEnvironmentSecrets(runtimeEnvironmentSecrets: IResolvable) { - cdkBuilder.runtimeEnvironmentSecrets(runtimeEnvironmentSecrets.let(IResolvable::unwrap)) + cdkBuilder.runtimeEnvironmentSecrets(runtimeEnvironmentSecrets.let(IResolvable.Companion::unwrap)) } /** @@ -2729,7 +2729,7 @@ public open class CfnService( * An array of key-value pairs. */ override fun runtimeEnvironmentVariables(runtimeEnvironmentVariables: IResolvable) { - cdkBuilder.runtimeEnvironmentVariables(runtimeEnvironmentVariables.let(IResolvable::unwrap)) + cdkBuilder.runtimeEnvironmentVariables(runtimeEnvironmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -2939,14 +2939,14 @@ public open class CfnService( * @param imageConfiguration Configuration for running the identified image. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param imageConfiguration Configuration for running the identified image. */ override fun imageConfiguration(imageConfiguration: ImageConfigurationProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(ImageConfigurationProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(ImageConfigurationProperty.Companion::unwrap)) } /** @@ -3105,7 +3105,7 @@ public open class CfnService( * accessible, from only within an Amazon VPC set it to `False` . */ override fun isPubliclyAccessible(isPubliclyAccessible: IResolvable) { - cdkBuilder.isPubliclyAccessible(isPubliclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.isPubliclyAccessible(isPubliclyAccessible.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3540,14 +3540,14 @@ public open class CfnService( * @param egressConfiguration Network configuration settings for outbound message traffic. */ override fun egressConfiguration(egressConfiguration: IResolvable) { - cdkBuilder.egressConfiguration(egressConfiguration.let(IResolvable::unwrap)) + cdkBuilder.egressConfiguration(egressConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param egressConfiguration Network configuration settings for outbound message traffic. */ override fun egressConfiguration(egressConfiguration: EgressConfigurationProperty) { - cdkBuilder.egressConfiguration(egressConfiguration.let(EgressConfigurationProperty::unwrap)) + cdkBuilder.egressConfiguration(egressConfiguration.let(EgressConfigurationProperty.Companion::unwrap)) } /** @@ -3563,14 +3563,14 @@ public open class CfnService( * @param ingressConfiguration Network configuration settings for inbound message traffic. */ override fun ingressConfiguration(ingressConfiguration: IResolvable) { - cdkBuilder.ingressConfiguration(ingressConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ingressConfiguration(ingressConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param ingressConfiguration Network configuration settings for inbound message traffic. */ override fun ingressConfiguration(ingressConfiguration: IngressConfigurationProperty) { - cdkBuilder.ingressConfiguration(ingressConfiguration.let(IngressConfigurationProperty::unwrap)) + cdkBuilder.ingressConfiguration(ingressConfiguration.let(IngressConfigurationProperty.Companion::unwrap)) } /** @@ -3771,7 +3771,7 @@ public open class CfnService( * associated with the service, and an `ObservabilityConfigurationArn` is specified. */ override fun observabilityEnabled(observabilityEnabled: IResolvable) { - cdkBuilder.observabilityEnabled(observabilityEnabled.let(IResolvable::unwrap)) + cdkBuilder.observabilityEnabled(observabilityEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4164,7 +4164,7 @@ public open class CfnService( * access to some source repositories. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4173,7 +4173,7 @@ public open class CfnService( */ override fun authenticationConfiguration(authenticationConfiguration: AuthenticationConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(AuthenticationConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(AuthenticationConfigurationProperty.Companion::unwrap)) } /** @@ -4214,7 +4214,7 @@ public open class CfnService( * a source image using a same-account ECR repository). */ override fun autoDeploymentsEnabled(autoDeploymentsEnabled: IResolvable) { - cdkBuilder.autoDeploymentsEnabled(autoDeploymentsEnabled.let(IResolvable::unwrap)) + cdkBuilder.autoDeploymentsEnabled(autoDeploymentsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -4222,7 +4222,7 @@ public open class CfnService( * You must provide either this member or `ImageRepository` (but not both). */ override fun codeRepository(codeRepository: IResolvable) { - cdkBuilder.codeRepository(codeRepository.let(IResolvable::unwrap)) + cdkBuilder.codeRepository(codeRepository.let(IResolvable.Companion::unwrap)) } /** @@ -4230,7 +4230,7 @@ public open class CfnService( * You must provide either this member or `ImageRepository` (but not both). */ override fun codeRepository(codeRepository: CodeRepositoryProperty) { - cdkBuilder.codeRepository(codeRepository.let(CodeRepositoryProperty::unwrap)) + cdkBuilder.codeRepository(codeRepository.let(CodeRepositoryProperty.Companion::unwrap)) } /** @@ -4247,7 +4247,7 @@ public open class CfnService( * You must provide either this member or `CodeRepository` (but not both). */ override fun imageRepository(imageRepository: IResolvable) { - cdkBuilder.imageRepository(imageRepository.let(IResolvable::unwrap)) + cdkBuilder.imageRepository(imageRepository.let(IResolvable.Companion::unwrap)) } /** @@ -4255,7 +4255,7 @@ public open class CfnService( * You must provide either this member or `CodeRepository` (but not both). */ override fun imageRepository(imageRepository: ImageRepositoryProperty) { - cdkBuilder.imageRepository(imageRepository.let(ImageRepositoryProperty::unwrap)) + cdkBuilder.imageRepository(imageRepository.let(ImageRepositoryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnServiceProps.kt index 1fa7b84ddc..577493d1e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnServiceProps.kt @@ -406,7 +406,7 @@ public interface CfnServiceProps { * By default, App Runner uses an AWS managed key . */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnServiceProps { */ override fun encryptionConfiguration(encryptionConfiguration: CfnService.EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnService.EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnService.EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public interface CfnServiceProps { * performs to monitor the health of the App Runner service. */ override fun healthCheckConfiguration(healthCheckConfiguration: IResolvable) { - cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface CfnServiceProps { */ override fun healthCheckConfiguration(healthCheckConfiguration: CfnService.HealthCheckConfigurationProperty) { - cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(CfnService.HealthCheckConfigurationProperty::unwrap)) + cdkBuilder.healthCheckConfiguration(healthCheckConfiguration.let(CfnService.HealthCheckConfigurationProperty.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface CfnServiceProps { * service. */ override fun instanceConfiguration(instanceConfiguration: IResolvable) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public interface CfnServiceProps { */ override fun instanceConfiguration(instanceConfiguration: CfnService.InstanceConfigurationProperty) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(CfnService.InstanceConfigurationProperty::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(CfnService.InstanceConfigurationProperty.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public interface CfnServiceProps { * application that the App Runner service runs. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface CfnServiceProps { */ override fun networkConfiguration(networkConfiguration: CfnService.NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(CfnService.NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(CfnService.NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public interface CfnServiceProps { * @param observabilityConfiguration The observability configuration of your service. */ override fun observabilityConfiguration(observabilityConfiguration: IResolvable) { - cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(IResolvable::unwrap)) + cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public interface CfnServiceProps { */ override fun observabilityConfiguration(observabilityConfiguration: CfnService.ServiceObservabilityConfigurationProperty) { - cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(CfnService.ServiceObservabilityConfigurationProperty::unwrap)) + cdkBuilder.observabilityConfiguration(observabilityConfiguration.let(CfnService.ServiceObservabilityConfigurationProperty.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public interface CfnServiceProps { * It can be a code or an image repository. */ override fun sourceConfiguration(sourceConfiguration: IResolvable) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public interface CfnServiceProps { * It can be a code or an image repository. */ override fun sourceConfiguration(sourceConfiguration: CfnService.SourceConfigurationProperty) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(CfnService.SourceConfigurationProperty::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(CfnService.SourceConfigurationProperty.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public interface CfnServiceProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnector.kt index 40e1d1a0b3..196f8a4161 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnector.kt @@ -54,8 +54,8 @@ public open class CfnVpcConnector( id: String, props: CfnVpcConnectorProps, ) : - this(software.amazon.awscdk.services.apprunner.CfnVpcConnector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcConnectorProps::unwrap)) + this(software.amazon.awscdk.services.apprunner.CfnVpcConnector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcConnectorProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnVpcConnector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnVpcConnector( * A list of metadata items that you can associate with your VPC connector resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnVpcConnector( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnectorProps.kt index 4ff0e46fb8..cab9f64ac2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcConnectorProps.kt @@ -209,7 +209,7 @@ public interface CfnVpcConnectorProps { * resource. To replace a `VpcConnector` , you must provide a new combination of security groups. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnection.kt index 69bf28e66a..e828590189 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnection.kt @@ -62,8 +62,8 @@ public open class CfnVpcIngressConnection( id: String, props: CfnVpcIngressConnectionProps, ) : - this(software.amazon.awscdk.services.apprunner.CfnVpcIngressConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcIngressConnectionProps::unwrap)) + this(software.amazon.awscdk.services.apprunner.CfnVpcIngressConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcIngressConnectionProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnVpcIngressConnection( * are used to create the VPC Ingress Connection resource. */ public open fun ingressVpcConfiguration(`value`: IResolvable) { - unwrap(this).setIngressVpcConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setIngressVpcConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnVpcIngressConnection( * are used to create the VPC Ingress Connection resource. */ public open fun ingressVpcConfiguration(`value`: IngressVpcConfigurationProperty) { - unwrap(this).setIngressVpcConfiguration(`value`.let(IngressVpcConfigurationProperty::unwrap)) + unwrap(this).setIngressVpcConfiguration(`value`.let(IngressVpcConfigurationProperty.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnVpcIngressConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnVpcIngressConnection( * resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnVpcIngressConnection( * AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. */ override fun ingressVpcConfiguration(ingressVpcConfiguration: IResolvable) { - cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnVpcIngressConnection( * AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. */ override fun ingressVpcConfiguration(ingressVpcConfiguration: IngressVpcConfigurationProperty) { - cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(IngressVpcConfigurationProperty::unwrap)) + cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(IngressVpcConfigurationProperty.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnVpcIngressConnection( * Connection resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnectionProps.kt index 1025eb9aed..7e9320cf83 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/apprunner/CfnVpcIngressConnectionProps.kt @@ -137,7 +137,7 @@ public interface CfnVpcIngressConnectionProps { * AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. */ override fun ingressVpcConfiguration(ingressVpcConfiguration: IResolvable) { - cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface CfnVpcIngressConnectionProps { */ override fun ingressVpcConfiguration(ingressVpcConfiguration: CfnVpcIngressConnection.IngressVpcConfigurationProperty) { - cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(CfnVpcIngressConnection.IngressVpcConfigurationProperty::unwrap)) + cdkBuilder.ingressVpcConfiguration(ingressVpcConfiguration.let(CfnVpcIngressConnection.IngressVpcConfigurationProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface CfnVpcIngressConnectionProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlock.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlock.kt index 250d60dd49..c0df6206a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlock.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlock.kt @@ -84,8 +84,8 @@ public open class CfnAppBlock( id: String, props: CfnAppBlockProps, ) : - this(software.amazon.awscdk.services.appstream.CfnAppBlock(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppBlockProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnAppBlock(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppBlockProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnAppBlock( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,14 +171,14 @@ public open class CfnAppBlock( * The post setup script details of the app block. */ public open fun postSetupScriptDetails(`value`: IResolvable) { - unwrap(this).setPostSetupScriptDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setPostSetupScriptDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The post setup script details of the app block. */ public open fun postSetupScriptDetails(`value`: ScriptDetailsProperty) { - unwrap(this).setPostSetupScriptDetails(`value`.let(ScriptDetailsProperty::unwrap)) + unwrap(this).setPostSetupScriptDetails(`value`.let(ScriptDetailsProperty.Companion::unwrap)) } /** @@ -198,14 +198,14 @@ public open class CfnAppBlock( * The setup script details of the app block. */ public open fun setupScriptDetails(`value`: IResolvable) { - unwrap(this).setSetupScriptDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setSetupScriptDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The setup script details of the app block. */ public open fun setupScriptDetails(`value`: ScriptDetailsProperty) { - unwrap(this).setSetupScriptDetails(`value`.let(ScriptDetailsProperty::unwrap)) + unwrap(this).setSetupScriptDetails(`value`.let(ScriptDetailsProperty.Companion::unwrap)) } /** @@ -225,14 +225,14 @@ public open class CfnAppBlock( * The source S3 location of the app block. */ public open fun sourceS3Location(`value`: IResolvable) { - unwrap(this).setSourceS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The source S3 location of the app block. */ public open fun sourceS3Location(`value`: S3LocationProperty) { - unwrap(this).setSourceS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setSourceS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnAppBlock( * The tags of the app block. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnAppBlock( * @param postSetupScriptDetails The post setup script details of the app block. */ override fun postSetupScriptDetails(postSetupScriptDetails: IResolvable) { - cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(IResolvable::unwrap)) + cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnAppBlock( * @param postSetupScriptDetails The post setup script details of the app block. */ override fun postSetupScriptDetails(postSetupScriptDetails: ScriptDetailsProperty) { - cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(ScriptDetailsProperty::unwrap)) + cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(ScriptDetailsProperty.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnAppBlock( * @param setupScriptDetails The setup script details of the app block. */ override fun setupScriptDetails(setupScriptDetails: IResolvable) { - cdkBuilder.setupScriptDetails(setupScriptDetails.let(IResolvable::unwrap)) + cdkBuilder.setupScriptDetails(setupScriptDetails.let(IResolvable.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnAppBlock( * @param setupScriptDetails The setup script details of the app block. */ override fun setupScriptDetails(setupScriptDetails: ScriptDetailsProperty) { - cdkBuilder.setupScriptDetails(setupScriptDetails.let(ScriptDetailsProperty::unwrap)) + cdkBuilder.setupScriptDetails(setupScriptDetails.let(ScriptDetailsProperty.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CfnAppBlock( * @param sourceS3Location The source S3 location of the app block. */ override fun sourceS3Location(sourceS3Location: IResolvable) { - cdkBuilder.sourceS3Location(sourceS3Location.let(IResolvable::unwrap)) + cdkBuilder.sourceS3Location(sourceS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnAppBlock( * @param sourceS3Location The source S3 location of the app block. */ override fun sourceS3Location(sourceS3Location: S3LocationProperty) { - cdkBuilder.sourceS3Location(sourceS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.sourceS3Location(sourceS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public open class CfnAppBlock( * @param tags The tags of the app block. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -813,14 +813,14 @@ public open class CfnAppBlock( * @param scriptS3Location The S3 object location of the script. */ override fun scriptS3Location(scriptS3Location: IResolvable) { - cdkBuilder.scriptS3Location(scriptS3Location.let(IResolvable::unwrap)) + cdkBuilder.scriptS3Location(scriptS3Location.let(IResolvable.Companion::unwrap)) } /** * @param scriptS3Location The S3 object location of the script. */ override fun scriptS3Location(scriptS3Location: S3LocationProperty) { - cdkBuilder.scriptS3Location(scriptS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.scriptS3Location(scriptS3Location.let(S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilder.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilder.kt index 6d93f7ad97..b530dfbd54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilder.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilder.kt @@ -66,8 +66,8 @@ public open class CfnAppBlockBuilder( id: String, props: CfnAppBlockBuilderProps, ) : - this(software.amazon.awscdk.services.appstream.CfnAppBlockBuilder(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppBlockBuilderProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnAppBlockBuilder(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppBlockBuilderProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnAppBlockBuilder( * The access endpoints of the app block builder. */ public open fun accessEndpoints(`value`: IResolvable) { - unwrap(this).setAccessEndpoints(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessEndpoints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnAppBlockBuilder( * Indicates whether default internet access is enabled for the app block builder. */ public open fun enableDefaultInternetAccess(`value`: IResolvable) { - unwrap(this).setEnableDefaultInternetAccess(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDefaultInternetAccess(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnAppBlockBuilder( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnAppBlockBuilder( * The tags of the app block builder. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -261,14 +261,14 @@ public open class CfnAppBlockBuilder( * The VPC configuration for the app block builder. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC configuration for the app block builder. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnAppBlockBuilder( * @param accessEndpoints The access endpoints of the app block builder. */ override fun accessEndpoints(accessEndpoints: IResolvable) { - cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable::unwrap)) + cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnAppBlockBuilder( * the app block builder. */ override fun enableDefaultInternetAccess(enableDefaultInternetAccess: IResolvable) { - cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnAppBlockBuilder( * @param tags The tags of the app block builder. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class CfnAppBlockBuilder( * @param vpcConfig The VPC configuration for the app block builder. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnAppBlockBuilder( * @param vpcConfig The VPC configuration for the app block builder. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilderProps.kt index 3eab88e477..5db02c52f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockBuilderProps.kt @@ -244,7 +244,7 @@ public interface CfnAppBlockBuilderProps { * @param accessEndpoints The access endpoints of the app block builder. */ override fun accessEndpoints(accessEndpoints: IResolvable) { - cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable::unwrap)) + cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnAppBlockBuilderProps { * the app block builder. */ override fun enableDefaultInternetAccess(enableDefaultInternetAccess: IResolvable) { - cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface CfnAppBlockBuilderProps { * @param tags The tags of the app block builder. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -350,14 +350,14 @@ public interface CfnAppBlockBuilderProps { * @param vpcConfig The VPC configuration for the app block builder. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfig The VPC configuration for the app block builder. */ override fun vpcConfig(vpcConfig: CfnAppBlockBuilder.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnAppBlockBuilder.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnAppBlockBuilder.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockProps.kt index 7a44671d3a..d7865be2d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnAppBlockProps.kt @@ -250,14 +250,14 @@ public interface CfnAppBlockProps { * @param postSetupScriptDetails The post setup script details of the app block. */ override fun postSetupScriptDetails(postSetupScriptDetails: IResolvable) { - cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(IResolvable::unwrap)) + cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(IResolvable.Companion::unwrap)) } /** * @param postSetupScriptDetails The post setup script details of the app block. */ override fun postSetupScriptDetails(postSetupScriptDetails: CfnAppBlock.ScriptDetailsProperty) { - cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(CfnAppBlock.ScriptDetailsProperty::unwrap)) + cdkBuilder.postSetupScriptDetails(postSetupScriptDetails.let(CfnAppBlock.ScriptDetailsProperty.Companion::unwrap)) } /** @@ -273,14 +273,14 @@ public interface CfnAppBlockProps { * @param setupScriptDetails The setup script details of the app block. */ override fun setupScriptDetails(setupScriptDetails: IResolvable) { - cdkBuilder.setupScriptDetails(setupScriptDetails.let(IResolvable::unwrap)) + cdkBuilder.setupScriptDetails(setupScriptDetails.let(IResolvable.Companion::unwrap)) } /** * @param setupScriptDetails The setup script details of the app block. */ override fun setupScriptDetails(setupScriptDetails: CfnAppBlock.ScriptDetailsProperty) { - cdkBuilder.setupScriptDetails(setupScriptDetails.let(CfnAppBlock.ScriptDetailsProperty::unwrap)) + cdkBuilder.setupScriptDetails(setupScriptDetails.let(CfnAppBlock.ScriptDetailsProperty.Companion::unwrap)) } /** @@ -296,14 +296,14 @@ public interface CfnAppBlockProps { * @param sourceS3Location The source S3 location of the app block. */ override fun sourceS3Location(sourceS3Location: IResolvable) { - cdkBuilder.sourceS3Location(sourceS3Location.let(IResolvable::unwrap)) + cdkBuilder.sourceS3Location(sourceS3Location.let(IResolvable.Companion::unwrap)) } /** * @param sourceS3Location The source S3 location of the app block. */ override fun sourceS3Location(sourceS3Location: CfnAppBlock.S3LocationProperty) { - cdkBuilder.sourceS3Location(sourceS3Location.let(CfnAppBlock.S3LocationProperty::unwrap)) + cdkBuilder.sourceS3Location(sourceS3Location.let(CfnAppBlock.S3LocationProperty.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface CfnAppBlockProps { * @param tags The tags of the app block. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplication.kt index ddf9330c79..d6982f2ad7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplication.kt @@ -65,8 +65,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.appstream.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -150,14 +150,14 @@ public open class CfnApplication( * The icon S3 location of the application. */ public open fun iconS3Location(`value`: IResolvable) { - unwrap(this).setIconS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setIconS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The icon S3 location of the application. */ public open fun iconS3Location(`value`: S3LocationProperty) { - unwrap(this).setIconS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setIconS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnApplication( * The tags of the application. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnApplication( * @param iconS3Location The icon S3 location of the application. */ override fun iconS3Location(iconS3Location: IResolvable) { - cdkBuilder.iconS3Location(iconS3Location.let(IResolvable::unwrap)) + cdkBuilder.iconS3Location(iconS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public open class CfnApplication( * @param iconS3Location The icon S3 location of the application. */ override fun iconS3Location(iconS3Location: S3LocationProperty) { - cdkBuilder.iconS3Location(iconS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.iconS3Location(iconS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class CfnApplication( * @param tags The tags of the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationEntitlementAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationEntitlementAssociation.kt index 3cf282d2d8..700c9e4eda 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationEntitlementAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationEntitlementAssociation.kt @@ -38,8 +38,8 @@ public open class CfnApplicationEntitlementAssociation( id: String, props: CfnApplicationEntitlementAssociationProps, ) : - this(software.amazon.awscdk.services.appstream.CfnApplicationEntitlementAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationEntitlementAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnApplicationEntitlementAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationEntitlementAssociationProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnApplicationEntitlementAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationFleetAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationFleetAssociation.kt index d5832c495e..e58fa0160f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationFleetAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationFleetAssociation.kt @@ -39,8 +39,8 @@ public open class CfnApplicationFleetAssociation( id: String, props: CfnApplicationFleetAssociationProps, ) : - this(software.amazon.awscdk.services.appstream.CfnApplicationFleetAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationFleetAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnApplicationFleetAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationFleetAssociationProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnApplicationFleetAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationProps.kt index f854d61d51..d85a30487b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnApplicationProps.kt @@ -292,14 +292,14 @@ public interface CfnApplicationProps { * @param iconS3Location The icon S3 location of the application. */ override fun iconS3Location(iconS3Location: IResolvable) { - cdkBuilder.iconS3Location(iconS3Location.let(IResolvable::unwrap)) + cdkBuilder.iconS3Location(iconS3Location.let(IResolvable.Companion::unwrap)) } /** * @param iconS3Location The icon S3 location of the application. */ override fun iconS3Location(iconS3Location: CfnApplication.S3LocationProperty) { - cdkBuilder.iconS3Location(iconS3Location.let(CfnApplication.S3LocationProperty::unwrap)) + cdkBuilder.iconS3Location(iconS3Location.let(CfnApplication.S3LocationProperty.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface CfnApplicationProps { * @param tags The tags of the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfig.kt index ef82ea0d29..4d3a60f661 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfig.kt @@ -53,8 +53,8 @@ public open class CfnDirectoryConfig( id: String, props: CfnDirectoryConfigProps, ) : - this(software.amazon.awscdk.services.appstream.CfnDirectoryConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDirectoryConfigProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnDirectoryConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDirectoryConfigProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnDirectoryConfig( * (IdP) user identities to Active Directory domain-joined streaming instances. */ public open fun certificateBasedAuthProperties(`value`: IResolvable) { - unwrap(this).setCertificateBasedAuthProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificateBasedAuthProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public open class CfnDirectoryConfig( * (IdP) user identities to Active Directory domain-joined streaming instances. */ public open fun certificateBasedAuthProperties(`value`: CertificateBasedAuthPropertiesProperty) { - unwrap(this).setCertificateBasedAuthProperties(`value`.let(CertificateBasedAuthPropertiesProperty::unwrap)) + unwrap(this).setCertificateBasedAuthProperties(`value`.let(CertificateBasedAuthPropertiesProperty.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnDirectoryConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnDirectoryConfig( * directory. */ public open fun serviceAccountCredentials(`value`: IResolvable) { - unwrap(this).setServiceAccountCredentials(`value`.let(IResolvable::unwrap)) + unwrap(this).setServiceAccountCredentials(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnDirectoryConfig( * directory. */ public open fun serviceAccountCredentials(`value`: ServiceAccountCredentialsProperty) { - unwrap(this).setServiceAccountCredentials(`value`.let(ServiceAccountCredentialsProperty::unwrap)) + unwrap(this).setServiceAccountCredentials(`value`.let(ServiceAccountCredentialsProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnDirectoryConfig( * streaming instances. */ override fun certificateBasedAuthProperties(certificateBasedAuthProperties: IResolvable) { - cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(IResolvable::unwrap)) + cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnDirectoryConfig( */ override fun certificateBasedAuthProperties(certificateBasedAuthProperties: CertificateBasedAuthPropertiesProperty) { - cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(CertificateBasedAuthPropertiesProperty::unwrap)) + cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(CertificateBasedAuthPropertiesProperty.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnDirectoryConfig( * streaming instance to connect to the directory. */ override fun serviceAccountCredentials(serviceAccountCredentials: IResolvable) { - cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(IResolvable::unwrap)) + cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnDirectoryConfig( */ override fun serviceAccountCredentials(serviceAccountCredentials: ServiceAccountCredentialsProperty) { - cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(ServiceAccountCredentialsProperty::unwrap)) + cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(ServiceAccountCredentialsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfigProps.kt index 7adf98aa28..f12453296a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnDirectoryConfigProps.kt @@ -179,7 +179,7 @@ public interface CfnDirectoryConfigProps { * streaming instances. */ override fun certificateBasedAuthProperties(certificateBasedAuthProperties: IResolvable) { - cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(IResolvable::unwrap)) + cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(IResolvable.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnDirectoryConfigProps { */ override fun certificateBasedAuthProperties(certificateBasedAuthProperties: CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty) { - cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty::unwrap)) + cdkBuilder.certificateBasedAuthProperties(certificateBasedAuthProperties.let(CfnDirectoryConfig.CertificateBasedAuthPropertiesProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface CfnDirectoryConfigProps { * . */ override fun serviceAccountCredentials(serviceAccountCredentials: IResolvable) { - cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(IResolvable::unwrap)) + cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface CfnDirectoryConfigProps { */ override fun serviceAccountCredentials(serviceAccountCredentials: CfnDirectoryConfig.ServiceAccountCredentialsProperty) { - cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(CfnDirectoryConfig.ServiceAccountCredentialsProperty::unwrap)) + cdkBuilder.serviceAccountCredentials(serviceAccountCredentials.let(CfnDirectoryConfig.ServiceAccountCredentialsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlement.kt index 0fad4ecece..721ba2abc1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlement.kt @@ -54,8 +54,8 @@ public open class CfnEntitlement( id: String, props: CfnEntitlementProps, ) : - this(software.amazon.awscdk.services.appstream.CfnEntitlement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEntitlementProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnEntitlement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEntitlementProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnEntitlement( * The attributes of the entitlement. */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnEntitlement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnEntitlement( * @param attributes The attributes of the entitlement. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlementProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlementProps.kt index 3ca8df1935..eb1b0b633e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlementProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnEntitlementProps.kt @@ -127,7 +127,7 @@ public interface CfnEntitlementProps { * @param attributes The attributes of the entitlement. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleet.kt index d75a34cb1a..bbb72d3839 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleet.kt @@ -52,8 +52,8 @@ public open class CfnFleet( id: String, props: CfnFleetProps, ) : - this(software.amazon.awscdk.services.appstream.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetProps.Companion::unwrap)) ) public constructor( @@ -77,14 +77,14 @@ public open class CfnFleet( * The desired capacity for the fleet. */ public open fun computeCapacity(`value`: IResolvable) { - unwrap(this).setComputeCapacity(`value`.let(IResolvable::unwrap)) + unwrap(this).setComputeCapacity(`value`.let(IResolvable.Companion::unwrap)) } /** * The desired capacity for the fleet. */ public open fun computeCapacity(`value`: ComputeCapacityProperty) { - unwrap(this).setComputeCapacity(`value`.let(ComputeCapacityProperty::unwrap)) + unwrap(this).setComputeCapacity(`value`.let(ComputeCapacityProperty.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnFleet( * Active Directory domain. */ public open fun domainJoinInfo(`value`: IResolvable) { - unwrap(this).setDomainJoinInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainJoinInfo(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnFleet( * Active Directory domain. */ public open fun domainJoinInfo(`value`: DomainJoinInfoProperty) { - unwrap(this).setDomainJoinInfo(`value`.let(DomainJoinInfoProperty::unwrap)) + unwrap(this).setDomainJoinInfo(`value`.let(DomainJoinInfoProperty.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnFleet( * Enables or disables default internet access for the fleet. */ public open fun enableDefaultInternetAccess(`value`: IResolvable) { - unwrap(this).setEnableDefaultInternetAccess(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDefaultInternetAccess(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -340,14 +340,14 @@ public open class CfnFleet( * The S3 location of the session scripts configuration zip file. */ public open fun sessionScriptS3Location(`value`: IResolvable) { - unwrap(this).setSessionScriptS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setSessionScriptS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The S3 location of the session scripts configuration zip file. */ public open fun sessionScriptS3Location(`value`: S3LocationProperty) { - unwrap(this).setSessionScriptS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setSessionScriptS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnFleet( * An array of key-value pairs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -428,14 +428,14 @@ public open class CfnFleet( * The VPC configuration for the fleet. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC configuration for the fleet. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public open class CfnFleet( * @param computeCapacity The desired capacity for the fleet. */ override fun computeCapacity(computeCapacity: IResolvable) { - cdkBuilder.computeCapacity(computeCapacity.let(IResolvable::unwrap)) + cdkBuilder.computeCapacity(computeCapacity.let(IResolvable.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnFleet( * @param computeCapacity The desired capacity for the fleet. */ override fun computeCapacity(computeCapacity: ComputeCapacityProperty) { - cdkBuilder.computeCapacity(computeCapacity.let(ComputeCapacityProperty::unwrap)) + cdkBuilder.computeCapacity(computeCapacity.let(ComputeCapacityProperty.Companion::unwrap)) } /** @@ -971,7 +971,7 @@ public open class CfnFleet( * the fleet to a Microsoft Active Directory domain. */ override fun domainJoinInfo(domainJoinInfo: IResolvable) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable.Companion::unwrap)) } /** @@ -985,7 +985,7 @@ public open class CfnFleet( * the fleet to a Microsoft Active Directory domain. */ override fun domainJoinInfo(domainJoinInfo: DomainJoinInfoProperty) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(DomainJoinInfoProperty::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(DomainJoinInfoProperty.Companion::unwrap)) } /** @@ -1022,7 +1022,7 @@ public open class CfnFleet( * */ override fun enableDefaultInternetAccess(enableDefaultInternetAccess: IResolvable) { - cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable.Companion::unwrap)) } /** @@ -1242,7 +1242,7 @@ public open class CfnFleet( * */ override fun sessionScriptS3Location(sessionScriptS3Location: IResolvable) { - cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(IResolvable::unwrap)) + cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -1255,7 +1255,7 @@ public open class CfnFleet( * */ override fun sessionScriptS3Location(sessionScriptS3Location: S3LocationProperty) { - cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -1297,7 +1297,7 @@ public open class CfnFleet( * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1344,7 +1344,7 @@ public open class CfnFleet( * @param vpcConfig The VPC configuration for the fleet. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1356,7 +1356,7 @@ public open class CfnFleet( * @param vpcConfig The VPC configuration for the fleet. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleetProps.kt index 74cc9c47d4..50c5e9cb6b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnFleetProps.kt @@ -611,7 +611,7 @@ public interface CfnFleetProps { * This is not allowed for Elastic fleets. */ override fun computeCapacity(computeCapacity: IResolvable) { - cdkBuilder.computeCapacity(computeCapacity.let(IResolvable::unwrap)) + cdkBuilder.computeCapacity(computeCapacity.let(IResolvable.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public interface CfnFleetProps { * This is not allowed for Elastic fleets. */ override fun computeCapacity(computeCapacity: CfnFleet.ComputeCapacityProperty) { - cdkBuilder.computeCapacity(computeCapacity.let(CfnFleet.ComputeCapacityProperty::unwrap)) + cdkBuilder.computeCapacity(computeCapacity.let(CfnFleet.ComputeCapacityProperty.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public interface CfnFleetProps { * This is not allowed for Elastic fleets. */ override fun domainJoinInfo(domainJoinInfo: IResolvable) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public interface CfnFleetProps { * This is not allowed for Elastic fleets. */ override fun domainJoinInfo(domainJoinInfo: CfnFleet.DomainJoinInfoProperty) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(CfnFleet.DomainJoinInfoProperty::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(CfnFleet.DomainJoinInfoProperty.Companion::unwrap)) } /** @@ -698,7 +698,7 @@ public interface CfnFleetProps { * @param enableDefaultInternetAccess Enables or disables default internet access for the fleet. */ override fun enableDefaultInternetAccess(enableDefaultInternetAccess: IResolvable) { - cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable.Companion::unwrap)) } /** @@ -870,7 +870,7 @@ public interface CfnFleetProps { * This only applies to Elastic fleets. */ override fun sessionScriptS3Location(sessionScriptS3Location: IResolvable) { - cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(IResolvable::unwrap)) + cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public interface CfnFleetProps { * This only applies to Elastic fleets. */ override fun sessionScriptS3Location(sessionScriptS3Location: CfnFleet.S3LocationProperty) { - cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(CfnFleet.S3LocationProperty::unwrap)) + cdkBuilder.sessionScriptS3Location(sessionScriptS3Location.let(CfnFleet.S3LocationProperty.Companion::unwrap)) } /** @@ -906,7 +906,7 @@ public interface CfnFleetProps { * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public interface CfnFleetProps { * This is required for Elastic fleets, but not required for other fleet types. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public interface CfnFleetProps { * This is required for Elastic fleets, but not required for other fleet types. */ override fun vpcConfig(vpcConfig: CfnFleet.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnFleet.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnFleet.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilder.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilder.kt index 1da1039cdc..b13fa20927 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilder.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilder.kt @@ -73,8 +73,8 @@ public open class CfnImageBuilder( id: String, props: CfnImageBuilderProps, ) : - this(software.amazon.awscdk.services.appstream.CfnImageBuilder(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnImageBuilderProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnImageBuilder(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnImageBuilderProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnImageBuilder( * The list of virtual private cloud (VPC) interface endpoint objects. */ public open fun accessEndpoints(`value`: IResolvable) { - unwrap(this).setAccessEndpoints(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessEndpoints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnImageBuilder( * Microsoft Active Directory domain. */ public open fun domainJoinInfo(`value`: IResolvable) { - unwrap(this).setDomainJoinInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainJoinInfo(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnImageBuilder( * Microsoft Active Directory domain. */ public open fun domainJoinInfo(`value`: DomainJoinInfoProperty) { - unwrap(this).setDomainJoinInfo(`value`.let(DomainJoinInfoProperty::unwrap)) + unwrap(this).setDomainJoinInfo(`value`.let(DomainJoinInfoProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnImageBuilder( * Enables or disables default internet access for the image builder. */ public open fun enableDefaultInternetAccess(`value`: IResolvable) { - unwrap(this).setEnableDefaultInternetAccess(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDefaultInternetAccess(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnImageBuilder( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnImageBuilder( * An array of key-value pairs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -307,14 +307,14 @@ public open class CfnImageBuilder( * The VPC configuration for the image builder. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC configuration for the image builder. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class CfnImageBuilder( * @param accessEndpoints The list of virtual private cloud (VPC) interface endpoint objects. */ override fun accessEndpoints(accessEndpoints: IResolvable) { - cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable::unwrap)) + cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnImageBuilder( * the image builder to a Microsoft Active Directory domain. */ override fun domainJoinInfo(domainJoinInfo: IResolvable) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable.Companion::unwrap)) } /** @@ -666,7 +666,7 @@ public open class CfnImageBuilder( * the image builder to a Microsoft Active Directory domain. */ override fun domainJoinInfo(domainJoinInfo: DomainJoinInfoProperty) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(DomainJoinInfoProperty::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(DomainJoinInfoProperty.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class CfnImageBuilder( * builder. */ override fun enableDefaultInternetAccess(enableDefaultInternetAccess: IResolvable) { - cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnImageBuilder( * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -827,7 +827,7 @@ public open class CfnImageBuilder( * @param vpcConfig The VPC configuration for the image builder. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public open class CfnImageBuilder( * @param vpcConfig The VPC configuration for the image builder. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilderProps.kt index e8ce9f8885..ce0f2a13af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnImageBuilderProps.kt @@ -378,7 +378,7 @@ public interface CfnImageBuilderProps { * Administrators can connect to the image builder only through the specified endpoints. */ override fun accessEndpoints(accessEndpoints: IResolvable) { - cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable::unwrap)) + cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface CfnImageBuilderProps { * the image builder to a Microsoft Active Directory domain. */ override fun domainJoinInfo(domainJoinInfo: IResolvable) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(IResolvable.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public interface CfnImageBuilderProps { * the image builder to a Microsoft Active Directory domain. */ override fun domainJoinInfo(domainJoinInfo: CfnImageBuilder.DomainJoinInfoProperty) { - cdkBuilder.domainJoinInfo(domainJoinInfo.let(CfnImageBuilder.DomainJoinInfoProperty::unwrap)) + cdkBuilder.domainJoinInfo(domainJoinInfo.let(CfnImageBuilder.DomainJoinInfoProperty.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface CfnImageBuilderProps { * builder. */ override fun enableDefaultInternetAccess(enableDefaultInternetAccess: IResolvable) { - cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultInternetAccess(enableDefaultInternetAccess.let(IResolvable.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public interface CfnImageBuilderProps { * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public interface CfnImageBuilderProps { * You can specify only one subnet. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public interface CfnImageBuilderProps { * You can specify only one subnet. */ override fun vpcConfig(vpcConfig: CfnImageBuilder.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnImageBuilder.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnImageBuilder.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStack.kt index f1ddc35abc..f3b91c178f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStack.kt @@ -79,7 +79,7 @@ public open class CfnStack( cdkObject: software.amazon.awscdk.services.appstream.CfnStack, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.appstream.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.appstream.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -88,8 +88,8 @@ public open class CfnStack( id: String, props: CfnStackProps, ) : - this(software.amazon.awscdk.services.appstream.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnStack( * The list of virtual private cloud (VPC) interface endpoint objects. */ public open fun accessEndpoints(`value`: IResolvable) { - unwrap(this).setAccessEndpoints(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessEndpoints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -132,14 +132,14 @@ public open class CfnStack( * The persistent application settings for users of the stack. */ public open fun applicationSettings(`value`: IResolvable) { - unwrap(this).setApplicationSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The persistent application settings for users of the stack. */ public open fun applicationSettings(`value`: ApplicationSettingsProperty) { - unwrap(this).setApplicationSettings(`value`.let(ApplicationSettingsProperty::unwrap)) + unwrap(this).setApplicationSettings(`value`.let(ApplicationSettingsProperty.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnStack( * *This parameter has been deprecated.*. */ public open fun deleteStorageConnectors(`value`: IResolvable) { - unwrap(this).setDeleteStorageConnectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteStorageConnectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class CfnStack( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnStack( * The storage connectors to enable. */ public open fun storageConnectors(`value`: IResolvable) { - unwrap(this).setStorageConnectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageConnectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -318,14 +318,14 @@ public open class CfnStack( * The streaming protocol that you want your stack to prefer. */ public open fun streamingExperienceSettings(`value`: IResolvable) { - unwrap(this).setStreamingExperienceSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamingExperienceSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The streaming protocol that you want your stack to prefer. */ public open fun streamingExperienceSettings(`value`: StreamingExperienceSettingsProperty) { - unwrap(this).setStreamingExperienceSettings(`value`.let(StreamingExperienceSettingsProperty::unwrap)) + unwrap(this).setStreamingExperienceSettings(`value`.let(StreamingExperienceSettingsProperty.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnStack( * An array of key-value pairs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnStack( * The actions that are enabled or disabled for users during their streaming sessions. */ public open fun userSettings(`value`: IResolvable) { - unwrap(this).setUserSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnStack( * @param accessEndpoints The list of virtual private cloud (VPC) interface endpoint objects. */ override fun accessEndpoints(accessEndpoints: IResolvable) { - cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable::unwrap)) + cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public open class CfnStack( * @param applicationSettings The persistent application settings for users of the stack. */ override fun applicationSettings(applicationSettings: IResolvable) { - cdkBuilder.applicationSettings(applicationSettings.let(IResolvable::unwrap)) + cdkBuilder.applicationSettings(applicationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -732,7 +732,7 @@ public open class CfnStack( * @param applicationSettings The persistent application settings for users of the stack. */ override fun applicationSettings(applicationSettings: ApplicationSettingsProperty) { - cdkBuilder.applicationSettings(applicationSettings.let(ApplicationSettingsProperty::unwrap)) + cdkBuilder.applicationSettings(applicationSettings.let(ApplicationSettingsProperty.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnStack( * @param deleteStorageConnectors *This parameter has been deprecated.*. */ override fun deleteStorageConnectors(deleteStorageConnectors: IResolvable) { - cdkBuilder.deleteStorageConnectors(deleteStorageConnectors.let(IResolvable::unwrap)) + cdkBuilder.deleteStorageConnectors(deleteStorageConnectors.let(IResolvable.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public open class CfnStack( * @param storageConnectors The storage connectors to enable. */ override fun storageConnectors(storageConnectors: IResolvable) { - cdkBuilder.storageConnectors(storageConnectors.let(IResolvable::unwrap)) + cdkBuilder.storageConnectors(storageConnectors.let(IResolvable.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public open class CfnStack( * */ override fun streamingExperienceSettings(streamingExperienceSettings: IResolvable) { - cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(IResolvable::unwrap)) + cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -924,7 +924,7 @@ public open class CfnStack( */ override fun streamingExperienceSettings(streamingExperienceSettings: StreamingExperienceSettingsProperty) { - cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(StreamingExperienceSettingsProperty::unwrap)) + cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(StreamingExperienceSettingsProperty.Companion::unwrap)) } /** @@ -950,7 +950,7 @@ public open class CfnStack( * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -971,7 +971,7 @@ public open class CfnStack( * sessions. */ override fun userSettings(userSettings: IResolvable) { - cdkBuilder.userSettings(userSettings.let(IResolvable::unwrap)) + cdkBuilder.userSettings(userSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1213,7 +1213,7 @@ public open class CfnStack( * streaming sessions. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackFleetAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackFleetAssociation.kt index 6e4442bfc0..bbcac9cdcb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackFleetAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackFleetAssociation.kt @@ -38,8 +38,8 @@ public open class CfnStackFleetAssociation( id: String, props: CfnStackFleetAssociationProps, ) : - this(software.amazon.awscdk.services.appstream.CfnStackFleetAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackFleetAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnStackFleetAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackFleetAssociationProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnStackFleetAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackProps.kt index fe3542b344..b2d2c46799 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackProps.kt @@ -367,7 +367,7 @@ public interface CfnStackProps { * Users of the stack can connect to AppStream 2.0 only through the specified endpoints. */ override fun accessEndpoints(accessEndpoints: IResolvable) { - cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable::unwrap)) + cdkBuilder.accessEndpoints(accessEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface CfnStackProps { * are automatically saved after each session and applied to the next session. */ override fun applicationSettings(applicationSettings: IResolvable) { - cdkBuilder.applicationSettings(applicationSettings.let(IResolvable::unwrap)) + cdkBuilder.applicationSettings(applicationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface CfnStackProps { * are automatically saved after each session and applied to the next session. */ override fun applicationSettings(applicationSettings: CfnStack.ApplicationSettingsProperty) { - cdkBuilder.applicationSettings(applicationSettings.let(CfnStack.ApplicationSettingsProperty::unwrap)) + cdkBuilder.applicationSettings(applicationSettings.let(CfnStack.ApplicationSettingsProperty.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface CfnStackProps { * Deletes the storage connectors currently enabled for the stack. */ override fun deleteStorageConnectors(deleteStorageConnectors: IResolvable) { - cdkBuilder.deleteStorageConnectors(deleteStorageConnectors.let(IResolvable::unwrap)) + cdkBuilder.deleteStorageConnectors(deleteStorageConnectors.let(IResolvable.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface CfnStackProps { * @param storageConnectors The storage connectors to enable. */ override fun storageConnectors(storageConnectors: IResolvable) { - cdkBuilder.storageConnectors(storageConnectors.let(IResolvable::unwrap)) + cdkBuilder.storageConnectors(storageConnectors.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnStackProps { * This can be UDP or TCP. Currently, UDP is only supported in the Windows native client. */ override fun streamingExperienceSettings(streamingExperienceSettings: IResolvable) { - cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(IResolvable::unwrap)) + cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public interface CfnStackProps { */ override fun streamingExperienceSettings(streamingExperienceSettings: CfnStack.StreamingExperienceSettingsProperty) { - cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(CfnStack.StreamingExperienceSettingsProperty::unwrap)) + cdkBuilder.streamingExperienceSettings(streamingExperienceSettings.let(CfnStack.StreamingExperienceSettingsProperty.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public interface CfnStackProps { * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public interface CfnStackProps { * By default, these actions are enabled. */ override fun userSettings(userSettings: IResolvable) { - cdkBuilder.userSettings(userSettings.let(IResolvable::unwrap)) + cdkBuilder.userSettings(userSettings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociation.kt index 6d6baeb5a4..3151911529 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociation.kt @@ -45,8 +45,8 @@ public open class CfnStackUserAssociation( id: String, props: CfnStackUserAssociationProps, ) : - this(software.amazon.awscdk.services.appstream.CfnStackUserAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackUserAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnStackUserAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackUserAssociationProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnStackUserAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -98,7 +98,7 @@ public open class CfnStackUserAssociation( * Specifies whether a welcome email is sent to a user after the user is created in the user pool. */ public open fun sendEmailNotification(`value`: IResolvable) { - unwrap(this).setSendEmailNotification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSendEmailNotification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnStackUserAssociation( * user is created in the user pool. */ override fun sendEmailNotification(sendEmailNotification: IResolvable) { - cdkBuilder.sendEmailNotification(sendEmailNotification.let(IResolvable::unwrap)) + cdkBuilder.sendEmailNotification(sendEmailNotification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociationProps.kt index e38fa21490..8d37c68235 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnStackUserAssociationProps.kt @@ -131,7 +131,7 @@ public interface CfnStackUserAssociationProps { * user is created in the user pool. */ override fun sendEmailNotification(sendEmailNotification: IResolvable) { - cdkBuilder.sendEmailNotification(sendEmailNotification.let(IResolvable::unwrap)) + cdkBuilder.sendEmailNotification(sendEmailNotification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnUser.kt index 754bbbf379..a8df3b613c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appstream/CfnUser.kt @@ -40,8 +40,8 @@ public open class CfnUser( id: String, props: CfnUserProps, ) : - this(software.amazon.awscdk.services.appstream.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProps::unwrap)) + this(software.amazon.awscdk.services.appstream.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ApiKeyConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ApiKeyConfig.kt index 86a432847d..28ae5633e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ApiKeyConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ApiKeyConfig.kt @@ -92,7 +92,7 @@ public interface ApiKeyConfig { * Rounded down to the nearest hour. */ override fun expires(expires: Expiration) { - cdkBuilder.expires(expires.let(Expiration::unwrap)) + cdkBuilder.expires(expires.let(Expiration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunction.kt index e841d87e2c..564902d586 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunction.kt @@ -37,8 +37,8 @@ public open class AppsyncFunction( id: String, props: AppsyncFunctionProps, ) : - this(software.amazon.awscdk.services.appsync.AppsyncFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AppsyncFunctionProps::unwrap)) + this(software.amazon.awscdk.services.appsync.AppsyncFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AppsyncFunctionProps.Companion::unwrap)) ) public constructor( @@ -154,7 +154,7 @@ public open class AppsyncFunction( * @param api the GraphQL Api linked to this AppSync Function. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class AppsyncFunction( * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class AppsyncFunction( * @param dataSource the data source linked to this AppSync Function. */ override fun dataSource(dataSource: BaseDataSource) { - cdkBuilder.dataSource(dataSource.let(BaseDataSource::unwrap)) + cdkBuilder.dataSource(dataSource.let(BaseDataSource.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class AppsyncFunction( * @param requestMappingTemplate the request mapping template for the AppSync Function. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class AppsyncFunction( * @param responseMappingTemplate the response mapping template for the AppSync Function. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class AppsyncFunction( * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.AppsyncFunction = cdkBuilder.build() @@ -239,8 +239,8 @@ public open class AppsyncFunction( id: String, attrs: AppsyncFunctionAttributes, ): IAppsyncFunction = - software.amazon.awscdk.services.appsync.AppsyncFunction.fromAppsyncFunctionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(AppsyncFunctionAttributes::unwrap)).let(IAppsyncFunction::wrap) + software.amazon.awscdk.services.appsync.AppsyncFunction.fromAppsyncFunctionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(AppsyncFunctionAttributes.Companion::unwrap)).let(IAppsyncFunction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed7ecc1286cc2b7d138724c3b9dd94d5d96e306586089852133a6f7882c79ee2") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunctionProps.kt index 5a43128f3a..38d26481f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AppsyncFunctionProps.kt @@ -89,21 +89,21 @@ public interface AppsyncFunctionProps : BaseAppsyncFunctionProps { * @param api the GraphQL Api linked to this AppSync Function. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param dataSource the data source linked to this AppSync Function. */ override fun dataSource(dataSource: BaseDataSource) { - cdkBuilder.dataSource(dataSource.let(BaseDataSource::unwrap)) + cdkBuilder.dataSource(dataSource.let(BaseDataSource.Companion::unwrap)) } /** @@ -124,21 +124,21 @@ public interface AppsyncFunctionProps : BaseAppsyncFunctionProps { * @param requestMappingTemplate the request mapping template for the AppSync Function. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param responseMappingTemplate the response mapping template for the AppSync Function. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.AppsyncFunctionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AssetCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AssetCode.kt index 3c139e3010..2a24a5f958 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AssetCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AssetCode.kt @@ -72,7 +72,7 @@ public open class AssetCode( public constructor(path: String, options: AssetOptions) : this(software.amazon.awscdk.services.appsync.AssetCode(path, - options.let(AssetOptions::unwrap)) + options.let(AssetOptions.Companion::unwrap)) ) public constructor(path: String, options: AssetOptions.Builder.() -> Unit) : this(path, @@ -85,7 +85,7 @@ public open class AssetCode( * @param scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * The path to the asset file. @@ -288,7 +288,7 @@ public open class AssetCode( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class AssetCode( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class AssetCode( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class AssetCode( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class AssetCode( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValues.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValues.kt index e761e9ffb1..cccb86f4b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValues.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValues.kt @@ -65,7 +65,7 @@ public open class AttributeValues( public constructor(container: String, assignments: List) : this(software.amazon.awscdk.services.appsync.AttributeValues(container, - assignments.map(Assign::unwrap)) + assignments.map(Assign.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValuesStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValuesStep.kt index b49fc7394e..9d560fb087 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValuesStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AttributeValuesStep.kt @@ -28,7 +28,7 @@ public open class AttributeValuesStep( container: String, assignments: List, ) : this(software.amazon.awscdk.services.appsync.AttributeValuesStep(attr, container, - assignments.map(Assign::unwrap)) + assignments.map(Assign.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationConfig.kt index bcf2a44b63..4b69270418 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationConfig.kt @@ -15,20 +15,23 @@ import kotlin.jvm.JvmName * Example: * * ``` - * import io.cloudshiftdev.awscdk.services.lambda.*; - * Function authFunction; - * GraphqlApi.Builder.create(this, "api") + * import io.cloudshiftdev.awscdk.services.appsync.*; + * GraphqlApi api = GraphqlApi.Builder.create(this, "api") * .name("api") - * .definition(Definition.fromFile(join(__dirname, "appsync.test.graphql"))) + * .definition(Definition.fromFile("schema.graphql")) * .authorizationConfig(AuthorizationConfig.builder() - * .defaultAuthorization(AuthorizationMode.builder() - * .authorizationType(AuthorizationType.LAMBDA) - * .lambdaAuthorizerConfig(LambdaAuthorizerConfig.builder() - * .handler(authFunction) - * .build()) - * .build()) + * .defaultAuthorization(AuthorizationMode.builder().authorizationType(AuthorizationType.IAM).build()) * .build()) * .build(); + * Rule rule = Rule.Builder.create(this, "Rule") + * .schedule(Schedule.rate(Duration.hours(1))) + * .build(); + * rule.addTarget(AppSync.Builder.create(api) + * .graphQLOperation("mutation Publish($message: String!){ publish(message: $message) { message } + * }") + * .variables(RuleTargetInput.fromObject(Map.of( + * "message", "hello world"))) + * .build()); * ``` */ public interface AuthorizationConfig { @@ -85,7 +88,7 @@ public interface AuthorizationConfig { */ override fun additionalAuthorizationModes(additionalAuthorizationModes: List) { - cdkBuilder.additionalAuthorizationModes(additionalAuthorizationModes.map(AuthorizationMode::unwrap)) + cdkBuilder.additionalAuthorizationModes(additionalAuthorizationModes.map(AuthorizationMode.Companion::unwrap)) } /** @@ -99,7 +102,7 @@ public interface AuthorizationConfig { * @param defaultAuthorization Optional authorization configuration. */ override fun defaultAuthorization(defaultAuthorization: AuthorizationMode) { - cdkBuilder.defaultAuthorization(defaultAuthorization.let(AuthorizationMode::unwrap)) + cdkBuilder.defaultAuthorization(defaultAuthorization.let(AuthorizationMode.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationMode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationMode.kt index 90f2800a06..251db1026c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationMode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/AuthorizationMode.kt @@ -14,47 +14,22 @@ import kotlin.jvm.JvmName * Example: * * ``` - * GraphqlApi api = GraphqlApi.Builder.create(this, "Api") - * .name("demo") - * .definition(Definition.fromFile(join(__dirname, "schema.graphql"))) + * import io.cloudshiftdev.awscdk.services.appsync.*; + * GraphqlApi api = GraphqlApi.Builder.create(this, "api") + * .name("api") + * .definition(Definition.fromFile("schema.graphql")) * .authorizationConfig(AuthorizationConfig.builder() - * .defaultAuthorization(AuthorizationMode.builder() - * .authorizationType(AuthorizationType.IAM) + * .defaultAuthorization(AuthorizationMode.builder().authorizationType(AuthorizationType.IAM).build()) * .build()) - * .build()) - * .xrayEnabled(true) * .build(); - * Table demoTable = Table.Builder.create(this, "DemoTable") - * .partitionKey(Attribute.builder() - * .name("id") - * .type(AttributeType.STRING) - * .build()) + * Rule rule = Rule.Builder.create(this, "Rule") + * .schedule(Schedule.rate(Duration.hours(1))) * .build(); - * DynamoDbDataSource demoDS = api.addDynamoDbDataSource("demoDataSource", demoTable); - * // Resolver for the Query "getDemos" that scans the DynamoDb table and returns the entire list. - * // Resolver Mapping Template Reference: - * // - * https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference-dynamodb.html - * demoDS.createResolver("QueryGetDemosResolver", BaseResolverProps.builder() - * .typeName("Query") - * .fieldName("getDemos") - * .requestMappingTemplate(MappingTemplate.dynamoDbScanTable()) - * .responseMappingTemplate(MappingTemplate.dynamoDbResultList()) - * .build()); - * // Resolver for the Mutation "addDemo" that puts the item into the DynamoDb table. - * demoDS.createResolver("MutationAddDemoResolver", BaseResolverProps.builder() - * .typeName("Mutation") - * .fieldName("addDemo") - * .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition("id").auto(), - * Values.projecting("input"))) - * .responseMappingTemplate(MappingTemplate.dynamoDbResultItem()) - * .build()); - * //To enable DynamoDB read consistency with the `MappingTemplate`: - * demoDS.createResolver("QueryGetDemosConsistentResolver", BaseResolverProps.builder() - * .typeName("Query") - * .fieldName("getDemosConsistent") - * .requestMappingTemplate(MappingTemplate.dynamoDbScanTable(true)) - * .responseMappingTemplate(MappingTemplate.dynamoDbResultList()) + * rule.addTarget(AppSync.Builder.create(api) + * .graphQLOperation("mutation Publish($message: String!){ publish(message: $message) { message } + * }") + * .variables(RuleTargetInput.fromObject(Map.of( + * "message", "hello world"))) * .build()); * ``` */ @@ -176,7 +151,7 @@ public interface AuthorizationMode { * configured. */ override fun apiKeyConfig(apiKeyConfig: ApiKeyConfig) { - cdkBuilder.apiKeyConfig(apiKeyConfig.let(ApiKeyConfig::unwrap)) + cdkBuilder.apiKeyConfig(apiKeyConfig.let(ApiKeyConfig.Companion::unwrap)) } /** @@ -192,7 +167,7 @@ public interface AuthorizationMode { * @param authorizationType One of possible four values AppSync supports. */ override fun authorizationType(authorizationType: AuthorizationType) { - cdkBuilder.authorizationType(authorizationType.let(AuthorizationType::unwrap)) + cdkBuilder.authorizationType(authorizationType.let(AuthorizationType.Companion::unwrap)) } /** @@ -200,7 +175,7 @@ public interface AuthorizationMode { * is required. */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: LambdaAuthorizerConfig) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(LambdaAuthorizerConfig::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(LambdaAuthorizerConfig.Companion::unwrap)) } /** @@ -218,7 +193,7 @@ public interface AuthorizationMode { * required. */ override fun openIdConnectConfig(openIdConnectConfig: OpenIdConnectConfig) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(OpenIdConnectConfig::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(OpenIdConnectConfig.Companion::unwrap)) } /** @@ -235,7 +210,7 @@ public interface AuthorizationMode { * required. */ override fun userPoolConfig(userPoolConfig: UserPoolConfig) { - cdkBuilder.userPoolConfig(userPoolConfig.let(UserPoolConfig::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(UserPoolConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BackedDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BackedDataSourceProps.kt index 62d7178c8a..cf1012e3e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BackedDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BackedDataSourceProps.kt @@ -73,7 +73,7 @@ public interface BackedDataSourceProps : BaseDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface BackedDataSourceProps : BaseDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.BackedDataSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseAppsyncFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseAppsyncFunctionProps.kt index dc103b83ac..803d37dc16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseAppsyncFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseAppsyncFunctionProps.kt @@ -118,7 +118,7 @@ public interface BaseAppsyncFunctionProps { * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -139,21 +139,21 @@ public interface BaseAppsyncFunctionProps { * @param requestMappingTemplate the request mapping template for the AppSync Function. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param responseMappingTemplate the response mapping template for the AppSync Function. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.BaseAppsyncFunctionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSource.kt index 743e1c099c..4c07b1db25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSource.kt @@ -41,7 +41,7 @@ public abstract class BaseDataSource( */ public open fun createFunction(id: String, props: BaseAppsyncFunctionProps): AppsyncFunction = unwrap(this).createFunction(id, - props.let(BaseAppsyncFunctionProps::unwrap)).let(AppsyncFunction::wrap) + props.let(BaseAppsyncFunctionProps.Companion::unwrap)).let(AppsyncFunction::wrap) /** * creates a new appsync function for this datasource and API using the given properties. @@ -61,7 +61,8 @@ public abstract class BaseDataSource( * @param props */ public open fun createResolver(id: String, props: BaseResolverProps): Resolver = - unwrap(this).createResolver(id, props.let(BaseResolverProps::unwrap)).let(Resolver::wrap) + unwrap(this).createResolver(id, + props.let(BaseResolverProps.Companion::unwrap)).let(Resolver::wrap) /** * creates a new resolver for this datasource and API using the given properties. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSourceProps.kt index 7bf373c7d6..2da4e2dcfd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseDataSourceProps.kt @@ -75,7 +75,7 @@ public interface BaseDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseResolverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseResolverProps.kt index 560708bdf8..b8d5eae684 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseResolverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/BaseResolverProps.kt @@ -192,7 +192,7 @@ public interface BaseResolverProps { * @param cachingConfig The caching configuration for this resolver. */ override fun cachingConfig(cachingConfig: CachingConfig) { - cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface BaseResolverProps { * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface BaseResolverProps { * @param pipelineConfig configuration of the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: List) { - cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction.Companion::unwrap)) } /** @@ -241,21 +241,21 @@ public interface BaseResolverProps { * @param requestMappingTemplate The request mapping template for this resolver. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param responseMappingTemplate The response mapping template for this resolver. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CachingConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CachingConfig.kt index 173a4586b6..2ba28b10f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CachingConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CachingConfig.kt @@ -96,7 +96,7 @@ public interface CachingConfig { * Valid values are between 1 and 3600 seconds. */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.CachingConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCache.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCache.kt index a3fd4361a1..d9874d30ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCache.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCache.kt @@ -46,8 +46,8 @@ public open class CfnApiCache( id: String, props: CfnApiCacheProps, ) : - this(software.amazon.awscdk.services.appsync.CfnApiCache(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiCacheProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnApiCache(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiCacheProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnApiCache( * At-rest encryption flag for cache. */ public open fun atRestEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setAtRestEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setAtRestEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnApiCache( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnApiCache( * Transit encryption flag when connecting to cache. */ public open fun transitEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setTransitEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTransitEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class CfnApiCache( * @param atRestEncryptionEnabled At-rest encryption flag for cache. */ override fun atRestEncryptionEnabled(atRestEncryptionEnabled: IResolvable) { - cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class CfnApiCache( * @param transitEncryptionEnabled Transit encryption flag when connecting to cache. */ override fun transitEncryptionEnabled(transitEncryptionEnabled: IResolvable) { - cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCacheProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCacheProps.kt index ecde5b1795..c3d45c81f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCacheProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiCacheProps.kt @@ -244,7 +244,7 @@ public interface CfnApiCacheProps { * You cannot update this setting after creation. */ override fun atRestEncryptionEnabled(atRestEncryptionEnabled: IResolvable) { - cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnApiCacheProps { * You cannot update this setting after creation. */ override fun transitEncryptionEnabled(transitEncryptionEnabled: IResolvable) { - cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiKey.kt index fd71943268..0c40536da5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnApiKey.kt @@ -40,8 +40,8 @@ public open class CfnApiKey( id: String, props: CfnApiKeyProps, ) : - this(software.amazon.awscdk.services.appsync.CfnApiKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiKeyProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnApiKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiKeyProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnApiKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSource.kt index 3c6153dc66..3c0e8eeded 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSource.kt @@ -100,8 +100,8 @@ public open class CfnDataSource( id: String, props: CfnDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSourceProps.Companion::unwrap)) ) public constructor( @@ -160,14 +160,14 @@ public open class CfnDataSource( * AWS Region and TableName for an Amazon DynamoDB table in your account. */ public open fun dynamoDbConfig(`value`: IResolvable) { - unwrap(this).setDynamoDbConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDynamoDbConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * AWS Region and TableName for an Amazon DynamoDB table in your account. */ public open fun dynamoDbConfig(`value`: DynamoDBConfigProperty) { - unwrap(this).setDynamoDbConfig(`value`.let(DynamoDBConfigProperty::unwrap)) + unwrap(this).setDynamoDbConfig(`value`.let(DynamoDBConfigProperty.Companion::unwrap)) } /** @@ -187,14 +187,14 @@ public open class CfnDataSource( * AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. */ public open fun elasticsearchConfig(`value`: IResolvable) { - unwrap(this).setElasticsearchConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticsearchConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. */ public open fun elasticsearchConfig(`value`: ElasticsearchConfigProperty) { - unwrap(this).setElasticsearchConfig(`value`.let(ElasticsearchConfigProperty::unwrap)) + unwrap(this).setElasticsearchConfig(`value`.let(ElasticsearchConfigProperty.Companion::unwrap)) } /** @@ -214,14 +214,14 @@ public open class CfnDataSource( * An EventBridge configuration that contains a valid ARN of an event bus. */ public open fun eventBridgeConfig(`value`: IResolvable) { - unwrap(this).setEventBridgeConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventBridgeConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * An EventBridge configuration that contains a valid ARN of an event bus. */ public open fun eventBridgeConfig(`value`: EventBridgeConfigProperty) { - unwrap(this).setEventBridgeConfig(`value`.let(EventBridgeConfigProperty::unwrap)) + unwrap(this).setEventBridgeConfig(`value`.let(EventBridgeConfigProperty.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public open class CfnDataSource( * Endpoints for an HTTP data source. */ public open fun httpConfig(`value`: IResolvable) { - unwrap(this).setHttpConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Endpoints for an HTTP data source. */ public open fun httpConfig(`value`: HttpConfigProperty) { - unwrap(this).setHttpConfig(`value`.let(HttpConfigProperty::unwrap)) + unwrap(this).setHttpConfig(`value`.let(HttpConfigProperty.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -277,14 +277,14 @@ public open class CfnDataSource( * An ARN of a Lambda function in valid ARN format. */ public open fun lambdaConfig(`value`: IResolvable) { - unwrap(this).setLambdaConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLambdaConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * An ARN of a Lambda function in valid ARN format. */ public open fun lambdaConfig(`value`: LambdaConfigProperty) { - unwrap(this).setLambdaConfig(`value`.let(LambdaConfigProperty::unwrap)) + unwrap(this).setLambdaConfig(`value`.let(LambdaConfigProperty.Companion::unwrap)) } /** @@ -328,14 +328,14 @@ public open class CfnDataSource( * AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. */ public open fun openSearchServiceConfig(`value`: IResolvable) { - unwrap(this).setOpenSearchServiceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpenSearchServiceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. */ public open fun openSearchServiceConfig(`value`: OpenSearchServiceConfigProperty) { - unwrap(this).setOpenSearchServiceConfig(`value`.let(OpenSearchServiceConfigProperty::unwrap)) + unwrap(this).setOpenSearchServiceConfig(`value`.let(OpenSearchServiceConfigProperty.Companion::unwrap)) } /** @@ -356,14 +356,14 @@ public open class CfnDataSource( * Relational Database configuration of the relational database data source. */ public open fun relationalDatabaseConfig(`value`: IResolvable) { - unwrap(this).setRelationalDatabaseConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRelationalDatabaseConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Relational Database configuration of the relational database data source. */ public open fun relationalDatabaseConfig(`value`: RelationalDatabaseConfigProperty) { - unwrap(this).setRelationalDatabaseConfig(`value`.let(RelationalDatabaseConfigProperty::unwrap)) + unwrap(this).setRelationalDatabaseConfig(`value`.let(RelationalDatabaseConfigProperty.Companion::unwrap)) } /** @@ -732,7 +732,7 @@ public open class CfnDataSource( * @param dynamoDbConfig AWS Region and TableName for an Amazon DynamoDB table in your account. */ override fun dynamoDbConfig(dynamoDbConfig: IResolvable) { - cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(IResolvable.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnDataSource( * @param dynamoDbConfig AWS Region and TableName for an Amazon DynamoDB table in your account. */ override fun dynamoDbConfig(dynamoDbConfig: DynamoDBConfigProperty) { - cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(DynamoDBConfigProperty::unwrap)) + cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(DynamoDBConfigProperty.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public open class CfnDataSource( * in your account. */ override fun elasticsearchConfig(elasticsearchConfig: IResolvable) { - cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(IResolvable.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public open class CfnDataSource( * in your account. */ override fun elasticsearchConfig(elasticsearchConfig: ElasticsearchConfigProperty) { - cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(ElasticsearchConfigProperty::unwrap)) + cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(ElasticsearchConfigProperty.Companion::unwrap)) } /** @@ -811,7 +811,7 @@ public open class CfnDataSource( * bus. */ override fun eventBridgeConfig(eventBridgeConfig: IResolvable) { - cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnDataSource( * bus. */ override fun eventBridgeConfig(eventBridgeConfig: EventBridgeConfigProperty) { - cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(EventBridgeConfigProperty::unwrap)) + cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(EventBridgeConfigProperty.Companion::unwrap)) } /** @@ -844,7 +844,7 @@ public open class CfnDataSource( * @param httpConfig Endpoints for an HTTP data source. */ override fun httpConfig(httpConfig: IResolvable) { - cdkBuilder.httpConfig(httpConfig.let(IResolvable::unwrap)) + cdkBuilder.httpConfig(httpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public open class CfnDataSource( * @param httpConfig Endpoints for an HTTP data source. */ override fun httpConfig(httpConfig: HttpConfigProperty) { - cdkBuilder.httpConfig(httpConfig.let(HttpConfigProperty::unwrap)) + cdkBuilder.httpConfig(httpConfig.let(HttpConfigProperty.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public open class CfnDataSource( * @param lambdaConfig An ARN of a Lambda function in valid ARN format. */ override fun lambdaConfig(lambdaConfig: IResolvable) { - cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -891,7 +891,7 @@ public open class CfnDataSource( * @param lambdaConfig An ARN of a Lambda function in valid ARN format. */ override fun lambdaConfig(lambdaConfig: LambdaConfigProperty) { - cdkBuilder.lambdaConfig(lambdaConfig.let(LambdaConfigProperty::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(LambdaConfigProperty.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public open class CfnDataSource( * domain in your account. */ override fun openSearchServiceConfig(openSearchServiceConfig: IResolvable) { - cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(IResolvable::unwrap)) + cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -955,7 +955,7 @@ public open class CfnDataSource( * domain in your account. */ override fun openSearchServiceConfig(openSearchServiceConfig: OpenSearchServiceConfigProperty) { - cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(OpenSearchServiceConfigProperty::unwrap)) + cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(OpenSearchServiceConfigProperty.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class CfnDataSource( * data source. */ override fun relationalDatabaseConfig(relationalDatabaseConfig: IResolvable) { - cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(IResolvable::unwrap)) + cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -991,7 +991,7 @@ public open class CfnDataSource( */ override fun relationalDatabaseConfig(relationalDatabaseConfig: RelationalDatabaseConfigProperty) { - cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(RelationalDatabaseConfigProperty::unwrap)) + cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(RelationalDatabaseConfigProperty.Companion::unwrap)) } /** @@ -1158,14 +1158,14 @@ public open class CfnDataSource( * @param awsIamConfig The AWS Identity and Access Management settings. */ override fun awsIamConfig(awsIamConfig: IResolvable) { - cdkBuilder.awsIamConfig(awsIamConfig.let(IResolvable::unwrap)) + cdkBuilder.awsIamConfig(awsIamConfig.let(IResolvable.Companion::unwrap)) } /** * @param awsIamConfig The AWS Identity and Access Management settings. */ override fun awsIamConfig(awsIamConfig: AwsIamConfigProperty) { - cdkBuilder.awsIamConfig(awsIamConfig.let(AwsIamConfigProperty::unwrap)) + cdkBuilder.awsIamConfig(awsIamConfig.let(AwsIamConfigProperty.Companion::unwrap)) } /** @@ -1610,14 +1610,14 @@ public open class CfnDataSource( * @param deltaSyncConfig The `DeltaSyncConfig` for a versioned datasource. */ override fun deltaSyncConfig(deltaSyncConfig: IResolvable) { - cdkBuilder.deltaSyncConfig(deltaSyncConfig.let(IResolvable::unwrap)) + cdkBuilder.deltaSyncConfig(deltaSyncConfig.let(IResolvable.Companion::unwrap)) } /** * @param deltaSyncConfig The `DeltaSyncConfig` for a versioned datasource. */ override fun deltaSyncConfig(deltaSyncConfig: DeltaSyncConfigProperty) { - cdkBuilder.deltaSyncConfig(deltaSyncConfig.let(DeltaSyncConfigProperty::unwrap)) + cdkBuilder.deltaSyncConfig(deltaSyncConfig.let(DeltaSyncConfigProperty.Companion::unwrap)) } /** @@ -1648,7 +1648,7 @@ public open class CfnDataSource( * this data source. */ override fun useCallerCredentials(useCallerCredentials: IResolvable) { - cdkBuilder.useCallerCredentials(useCallerCredentials.let(IResolvable::unwrap)) + cdkBuilder.useCallerCredentials(useCallerCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -1664,7 +1664,7 @@ public open class CfnDataSource( * source. */ override fun versioned(versioned: IResolvable) { - cdkBuilder.versioned(versioned.let(IResolvable::unwrap)) + cdkBuilder.versioned(versioned.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2022,14 +2022,14 @@ public open class CfnDataSource( * @param authorizationConfig The authorization configuration. */ override fun authorizationConfig(authorizationConfig: IResolvable) { - cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable.Companion::unwrap)) } /** * @param authorizationConfig The authorization configuration. */ override fun authorizationConfig(authorizationConfig: AuthorizationConfigProperty) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfigProperty::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfigProperty.Companion::unwrap)) } /** @@ -2570,14 +2570,14 @@ public open class CfnDataSource( * @param rdsHttpEndpointConfig Information about the Amazon RDS resource. */ override fun rdsHttpEndpointConfig(rdsHttpEndpointConfig: IResolvable) { - cdkBuilder.rdsHttpEndpointConfig(rdsHttpEndpointConfig.let(IResolvable::unwrap)) + cdkBuilder.rdsHttpEndpointConfig(rdsHttpEndpointConfig.let(IResolvable.Companion::unwrap)) } /** * @param rdsHttpEndpointConfig Information about the Amazon RDS resource. */ override fun rdsHttpEndpointConfig(rdsHttpEndpointConfig: RdsHttpEndpointConfigProperty) { - cdkBuilder.rdsHttpEndpointConfig(rdsHttpEndpointConfig.let(RdsHttpEndpointConfigProperty::unwrap)) + cdkBuilder.rdsHttpEndpointConfig(rdsHttpEndpointConfig.let(RdsHttpEndpointConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSourceProps.kt index 2dcb2a95f0..38a0e2fad2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDataSourceProps.kt @@ -440,14 +440,14 @@ public interface CfnDataSourceProps { * @param dynamoDbConfig AWS Region and TableName for an Amazon DynamoDB table in your account. */ override fun dynamoDbConfig(dynamoDbConfig: IResolvable) { - cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDbConfig AWS Region and TableName for an Amazon DynamoDB table in your account. */ override fun dynamoDbConfig(dynamoDbConfig: CfnDataSource.DynamoDBConfigProperty) { - cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(CfnDataSource.DynamoDBConfigProperty::unwrap)) + cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(CfnDataSource.DynamoDBConfigProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public interface CfnDataSourceProps { * OpenSearch Service data source. */ override fun elasticsearchConfig(elasticsearchConfig: IResolvable) { - cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(IResolvable.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface CfnDataSourceProps { */ override fun elasticsearchConfig(elasticsearchConfig: CfnDataSource.ElasticsearchConfigProperty) { - cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(CfnDataSource.ElasticsearchConfigProperty::unwrap)) + cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(CfnDataSource.ElasticsearchConfigProperty.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public interface CfnDataSourceProps { * bus. */ override fun eventBridgeConfig(eventBridgeConfig: IResolvable) { - cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -508,7 +508,7 @@ public interface CfnDataSourceProps { * bus. */ override fun eventBridgeConfig(eventBridgeConfig: CfnDataSource.EventBridgeConfigProperty) { - cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(CfnDataSource.EventBridgeConfigProperty::unwrap)) + cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(CfnDataSource.EventBridgeConfigProperty.Companion::unwrap)) } /** @@ -525,14 +525,14 @@ public interface CfnDataSourceProps { * @param httpConfig Endpoints for an HTTP data source. */ override fun httpConfig(httpConfig: IResolvable) { - cdkBuilder.httpConfig(httpConfig.let(IResolvable::unwrap)) + cdkBuilder.httpConfig(httpConfig.let(IResolvable.Companion::unwrap)) } /** * @param httpConfig Endpoints for an HTTP data source. */ override fun httpConfig(httpConfig: CfnDataSource.HttpConfigProperty) { - cdkBuilder.httpConfig(httpConfig.let(CfnDataSource.HttpConfigProperty::unwrap)) + cdkBuilder.httpConfig(httpConfig.let(CfnDataSource.HttpConfigProperty.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public interface CfnDataSourceProps { * account. */ override fun lambdaConfig(lambdaConfig: IResolvable) { - cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public interface CfnDataSourceProps { * account. */ override fun lambdaConfig(lambdaConfig: CfnDataSource.LambdaConfigProperty) { - cdkBuilder.lambdaConfig(lambdaConfig.let(CfnDataSource.LambdaConfigProperty::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(CfnDataSource.LambdaConfigProperty.Companion::unwrap)) } /** @@ -597,7 +597,7 @@ public interface CfnDataSourceProps { * domain in your account. */ override fun openSearchServiceConfig(openSearchServiceConfig: IResolvable) { - cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(IResolvable::unwrap)) + cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface CfnDataSourceProps { */ override fun openSearchServiceConfig(openSearchServiceConfig: CfnDataSource.OpenSearchServiceConfigProperty) { - cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(CfnDataSource.OpenSearchServiceConfigProperty::unwrap)) + cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(CfnDataSource.OpenSearchServiceConfigProperty.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public interface CfnDataSourceProps { * data source. */ override fun relationalDatabaseConfig(relationalDatabaseConfig: IResolvable) { - cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(IResolvable::unwrap)) + cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface CfnDataSourceProps { */ override fun relationalDatabaseConfig(relationalDatabaseConfig: CfnDataSource.RelationalDatabaseConfigProperty) { - cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(CfnDataSource.RelationalDatabaseConfigProperty::unwrap)) + cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(CfnDataSource.RelationalDatabaseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainName.kt index b876dc7a2f..9a43caf286 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainName.kt @@ -39,8 +39,8 @@ public open class CfnDomainName( id: String, props: CfnDomainNameProps, ) : - this(software.amazon.awscdk.services.appsync.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainNameProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnDomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainNameProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnDomainName( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainNameApiAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainNameApiAssociation.kt index 001e90bc44..09abdc0410 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainNameApiAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnDomainNameApiAssociation.kt @@ -38,8 +38,8 @@ public open class CfnDomainNameApiAssociation( id: String, props: CfnDomainNameApiAssociationProps, ) : - this(software.amazon.awscdk.services.appsync.CfnDomainNameApiAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainNameApiAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnDomainNameApiAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainNameApiAssociationProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnDomainNameApiAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfiguration.kt index 5ddc661ca7..83f743fd7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfiguration.kt @@ -82,8 +82,8 @@ public open class CfnFunctionConfiguration( id: String, props: CfnFunctionConfigurationProps, ) : - this(software.amazon.awscdk.services.appsync.CfnFunctionConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFunctionConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnFunctionConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFunctionConfigurationProps.Companion::unwrap)) ) public constructor( @@ -192,7 +192,7 @@ public open class CfnFunctionConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -280,14 +280,14 @@ public open class CfnFunctionConfiguration( * Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ public open fun runtime(`value`: IResolvable) { - unwrap(this).setRuntime(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntime(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ public open fun runtime(`value`: AppSyncRuntimeProperty) { - unwrap(this).setRuntime(`value`.let(AppSyncRuntimeProperty::unwrap)) + unwrap(this).setRuntime(`value`.let(AppSyncRuntimeProperty.Companion::unwrap)) } /** @@ -307,14 +307,14 @@ public open class CfnFunctionConfiguration( * Describes a Sync configuration for a resolver. */ public open fun syncConfig(`value`: IResolvable) { - unwrap(this).setSyncConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSyncConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes a Sync configuration for a resolver. */ public open fun syncConfig(`value`: SyncConfigProperty) { - unwrap(this).setSyncConfig(`value`.let(SyncConfigProperty::unwrap)) + unwrap(this).setSyncConfig(`value`.let(SyncConfigProperty.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public open class CfnFunctionConfiguration( * @param runtime Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ override fun runtime(runtime: IResolvable) { - cdkBuilder.runtime(runtime.let(IResolvable::unwrap)) + cdkBuilder.runtime(runtime.let(IResolvable.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public open class CfnFunctionConfiguration( * @param runtime Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ override fun runtime(runtime: AppSyncRuntimeProperty) { - cdkBuilder.runtime(runtime.let(AppSyncRuntimeProperty::unwrap)) + cdkBuilder.runtime(runtime.let(AppSyncRuntimeProperty.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnFunctionConfiguration( * @param syncConfig Describes a Sync configuration for a resolver. */ override fun syncConfig(syncConfig: IResolvable) { - cdkBuilder.syncConfig(syncConfig.let(IResolvable::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(IResolvable.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class CfnFunctionConfiguration( * @param syncConfig Describes a Sync configuration for a resolver. */ override fun syncConfig(syncConfig: SyncConfigProperty) { - cdkBuilder.syncConfig(syncConfig.let(SyncConfigProperty::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(SyncConfigProperty.Companion::unwrap)) } /** @@ -1103,7 +1103,7 @@ public open class CfnFunctionConfiguration( * `LAMBDA` as the Conflict Handler. */ override fun lambdaConflictHandlerConfig(lambdaConflictHandlerConfig: IResolvable) { - cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1112,7 +1112,7 @@ public open class CfnFunctionConfiguration( */ override fun lambdaConflictHandlerConfig(lambdaConflictHandlerConfig: LambdaConflictHandlerConfigProperty) { - cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(LambdaConflictHandlerConfigProperty::unwrap)) + cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(LambdaConflictHandlerConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfigurationProps.kt index 11a897c147..4c7d1e7b47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnFunctionConfigurationProps.kt @@ -399,7 +399,7 @@ public interface CfnFunctionConfigurationProps { * code must also be specified. */ override fun runtime(runtime: IResolvable) { - cdkBuilder.runtime(runtime.let(IResolvable::unwrap)) + cdkBuilder.runtime(runtime.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnFunctionConfigurationProps { * code must also be specified. */ override fun runtime(runtime: CfnFunctionConfiguration.AppSyncRuntimeProperty) { - cdkBuilder.runtime(runtime.let(CfnFunctionConfiguration.AppSyncRuntimeProperty::unwrap)) + cdkBuilder.runtime(runtime.let(CfnFunctionConfiguration.AppSyncRuntimeProperty.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface CfnFunctionConfigurationProps { * is invoked. */ override fun syncConfig(syncConfig: IResolvable) { - cdkBuilder.syncConfig(syncConfig.let(IResolvable::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface CfnFunctionConfigurationProps { * is invoked. */ override fun syncConfig(syncConfig: CfnFunctionConfiguration.SyncConfigProperty) { - cdkBuilder.syncConfig(syncConfig.let(CfnFunctionConfiguration.SyncConfigProperty::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(CfnFunctionConfiguration.SyncConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApi.kt index b1fc176ac7..da2c2634c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApi.kt @@ -113,8 +113,8 @@ public open class CfnGraphQLApi( id: String, props: CfnGraphQLApiProps, ) : - this(software.amazon.awscdk.services.appsync.CfnGraphQLApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGraphQLApiProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnGraphQLApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGraphQLApiProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnGraphQLApi( * A list of additional authentication providers for the `GraphqlApi` API. */ public open fun additionalAuthenticationProviders(`value`: IResolvable) { - unwrap(this).setAdditionalAuthenticationProviders(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalAuthenticationProviders(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -230,14 +230,14 @@ public open class CfnGraphQLApi( * Enables and controls the enhanced metrics feature. */ public open fun enhancedMetricsConfig(`value`: IResolvable) { - unwrap(this).setEnhancedMetricsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnhancedMetricsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Enables and controls the enhanced metrics feature. */ public open fun enhancedMetricsConfig(`value`: EnhancedMetricsConfigProperty) { - unwrap(this).setEnhancedMetricsConfig(`value`.let(EnhancedMetricsConfigProperty::unwrap)) + unwrap(this).setEnhancedMetricsConfig(`value`.let(EnhancedMetricsConfigProperty.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnGraphQLApi( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnGraphQLApi( * using the `AWS_LAMBDA` authorizer mode. */ public open fun lambdaAuthorizerConfig(`value`: IResolvable) { - unwrap(this).setLambdaAuthorizerConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLambdaAuthorizerConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnGraphQLApi( * using the `AWS_LAMBDA` authorizer mode. */ public open fun lambdaAuthorizerConfig(`value`: LambdaAuthorizerConfigProperty) { - unwrap(this).setLambdaAuthorizerConfig(`value`.let(LambdaAuthorizerConfigProperty::unwrap)) + unwrap(this).setLambdaAuthorizerConfig(`value`.let(LambdaAuthorizerConfigProperty.Companion::unwrap)) } /** @@ -322,14 +322,14 @@ public open class CfnGraphQLApi( * The Amazon CloudWatch Logs configuration. */ public open fun logConfig(`value`: IResolvable) { - unwrap(this).setLogConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon CloudWatch Logs configuration. */ public open fun logConfig(`value`: LogConfigProperty) { - unwrap(this).setLogConfig(`value`.let(LogConfigProperty::unwrap)) + unwrap(this).setLogConfig(`value`.let(LogConfigProperty.Companion::unwrap)) } /** @@ -373,14 +373,14 @@ public open class CfnGraphQLApi( * The OpenID Connect configuration. */ public open fun openIdConnectConfig(`value`: IResolvable) { - unwrap(this).setOpenIdConnectConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpenIdConnectConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The OpenID Connect configuration. */ public open fun openIdConnectConfig(`value`: OpenIDConnectConfigProperty) { - unwrap(this).setOpenIdConnectConfig(`value`.let(OpenIDConnectConfigProperty::unwrap)) + unwrap(this).setOpenIdConnectConfig(`value`.let(OpenIDConnectConfigProperty.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public open class CfnGraphQLApi( * An arbitrary set of tags (key-value pairs) for this GraphQL API. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public open class CfnGraphQLApi( * endpoint. */ public open fun userPoolConfig(`value`: IResolvable) { - unwrap(this).setUserPoolConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserPoolConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public open class CfnGraphQLApi( * endpoint. */ public open fun userPoolConfig(`value`: UserPoolConfigProperty) { - unwrap(this).setUserPoolConfig(`value`.let(UserPoolConfigProperty::unwrap)) + unwrap(this).setUserPoolConfig(`value`.let(UserPoolConfigProperty.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnGraphQLApi( * A flag indicating whether to use AWS X-Ray tracing for this `GraphqlApi` . */ public open fun xrayEnabled(`value`: IResolvable) { - unwrap(this).setXrayEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setXrayEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnGraphQLApi( * the `GraphqlApi` API. */ override fun additionalAuthenticationProviders(additionalAuthenticationProviders: IResolvable) { - cdkBuilder.additionalAuthenticationProviders(additionalAuthenticationProviders.let(IResolvable::unwrap)) + cdkBuilder.additionalAuthenticationProviders(additionalAuthenticationProviders.let(IResolvable.Companion::unwrap)) } /** @@ -981,7 +981,7 @@ public open class CfnGraphQLApi( * @param enhancedMetricsConfig Enables and controls the enhanced metrics feature. */ override fun enhancedMetricsConfig(enhancedMetricsConfig: IResolvable) { - cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(IResolvable::unwrap)) + cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1000,7 +1000,7 @@ public open class CfnGraphQLApi( * @param enhancedMetricsConfig Enables and controls the enhanced metrics feature. */ override fun enhancedMetricsConfig(enhancedMetricsConfig: EnhancedMetricsConfigProperty) { - cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(EnhancedMetricsConfigProperty::unwrap)) + cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(EnhancedMetricsConfigProperty.Companion::unwrap)) } /** @@ -1072,7 +1072,7 @@ public open class CfnGraphQLApi( * authorize AWS AppSync API access when using the `AWS_LAMBDA` authorizer mode. */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: IResolvable) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1086,7 +1086,7 @@ public open class CfnGraphQLApi( * authorize AWS AppSync API access when using the `AWS_LAMBDA` authorizer mode. */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: LambdaAuthorizerConfigProperty) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(LambdaAuthorizerConfigProperty::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(LambdaAuthorizerConfigProperty.Companion::unwrap)) } /** @@ -1112,7 +1112,7 @@ public open class CfnGraphQLApi( * @param logConfig The Amazon CloudWatch Logs configuration. */ override fun logConfig(logConfig: IResolvable) { - cdkBuilder.logConfig(logConfig.let(IResolvable::unwrap)) + cdkBuilder.logConfig(logConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1122,7 +1122,7 @@ public open class CfnGraphQLApi( * @param logConfig The Amazon CloudWatch Logs configuration. */ override fun logConfig(logConfig: LogConfigProperty) { - cdkBuilder.logConfig(logConfig.let(LogConfigProperty::unwrap)) + cdkBuilder.logConfig(logConfig.let(LogConfigProperty.Companion::unwrap)) } /** @@ -1168,7 +1168,7 @@ public open class CfnGraphQLApi( * @param openIdConnectConfig The OpenID Connect configuration. */ override fun openIdConnectConfig(openIdConnectConfig: IResolvable) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(IResolvable::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class CfnGraphQLApi( * @param openIdConnectConfig The OpenID Connect configuration. */ override fun openIdConnectConfig(openIdConnectConfig: OpenIDConnectConfigProperty) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(OpenIDConnectConfigProperty::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(OpenIDConnectConfigProperty.Companion::unwrap)) } /** @@ -1243,7 +1243,7 @@ public open class CfnGraphQLApi( * @param tags An arbitrary set of tags (key-value pairs) for this GraphQL API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1263,7 +1263,7 @@ public open class CfnGraphQLApi( * pools with your GraphQL endpoint. */ override fun userPoolConfig(userPoolConfig: IResolvable) { - cdkBuilder.userPoolConfig(userPoolConfig.let(IResolvable::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1275,7 +1275,7 @@ public open class CfnGraphQLApi( * pools with your GraphQL endpoint. */ override fun userPoolConfig(userPoolConfig: UserPoolConfigProperty) { - cdkBuilder.userPoolConfig(userPoolConfig.let(UserPoolConfigProperty::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(UserPoolConfigProperty.Companion::unwrap)) } /** @@ -1326,7 +1326,7 @@ public open class CfnGraphQLApi( * */ override fun xrayEnabled(xrayEnabled: IResolvable) { - cdkBuilder.xrayEnabled(xrayEnabled.let(IResolvable::unwrap)) + cdkBuilder.xrayEnabled(xrayEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.CfnGraphQLApi = cdkBuilder.build() @@ -1507,14 +1507,14 @@ public open class CfnGraphQLApi( * @param lambdaAuthorizerConfig Configuration for AWS Lambda function authorization. */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: IResolvable) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(IResolvable.Companion::unwrap)) } /** * @param lambdaAuthorizerConfig Configuration for AWS Lambda function authorization. */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: LambdaAuthorizerConfigProperty) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(LambdaAuthorizerConfigProperty::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(LambdaAuthorizerConfigProperty.Companion::unwrap)) } /** @@ -1530,14 +1530,14 @@ public open class CfnGraphQLApi( * @param openIdConnectConfig The OIDC configuration. */ override fun openIdConnectConfig(openIdConnectConfig: IResolvable) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(IResolvable::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(IResolvable.Companion::unwrap)) } /** * @param openIdConnectConfig The OIDC configuration. */ override fun openIdConnectConfig(openIdConnectConfig: OpenIDConnectConfigProperty) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(OpenIDConnectConfigProperty::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(OpenIDConnectConfigProperty.Companion::unwrap)) } /** @@ -1553,14 +1553,14 @@ public open class CfnGraphQLApi( * @param userPoolConfig The Amazon Cognito user pool configuration. */ override fun userPoolConfig(userPoolConfig: IResolvable) { - cdkBuilder.userPoolConfig(userPoolConfig.let(IResolvable::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(IResolvable.Companion::unwrap)) } /** * @param userPoolConfig The Amazon Cognito user pool configuration. */ override fun userPoolConfig(userPoolConfig: CognitoUserPoolConfigProperty) { - cdkBuilder.userPoolConfig(userPoolConfig.let(CognitoUserPoolConfigProperty::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(CognitoUserPoolConfigProperty.Companion::unwrap)) } /** @@ -2375,7 +2375,7 @@ public open class CfnGraphQLApi( * as headers, context, and evaluated mapping templates, regardless of logging level. */ override fun excludeVerboseContent(excludeVerboseContent: IResolvable) { - cdkBuilder.excludeVerboseContent(excludeVerboseContent.let(IResolvable::unwrap)) + cdkBuilder.excludeVerboseContent(excludeVerboseContent.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApiProps.kt index c0bcac3ec5..d10d9d36c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLApiProps.kt @@ -557,7 +557,7 @@ public interface CfnGraphQLApiProps { * the `GraphqlApi` API. */ override fun additionalAuthenticationProviders(additionalAuthenticationProviders: IResolvable) { - cdkBuilder.additionalAuthenticationProviders(additionalAuthenticationProviders.let(IResolvable::unwrap)) + cdkBuilder.additionalAuthenticationProviders(additionalAuthenticationProviders.let(IResolvable.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public interface CfnGraphQLApiProps { * *AWS AppSync User Guide* . */ override fun enhancedMetricsConfig(enhancedMetricsConfig: IResolvable) { - cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(IResolvable::unwrap)) + cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public interface CfnGraphQLApiProps { */ override fun enhancedMetricsConfig(enhancedMetricsConfig: CfnGraphQLApi.EnhancedMetricsConfigProperty) { - cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(CfnGraphQLApi.EnhancedMetricsConfigProperty::unwrap)) + cdkBuilder.enhancedMetricsConfig(enhancedMetricsConfig.let(CfnGraphQLApi.EnhancedMetricsConfigProperty.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public interface CfnGraphQLApiProps { * Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time. */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: IResolvable) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public interface CfnGraphQLApiProps { */ override fun lambdaAuthorizerConfig(lambdaAuthorizerConfig: CfnGraphQLApi.LambdaAuthorizerConfigProperty) { - cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(CfnGraphQLApi.LambdaAuthorizerConfigProperty::unwrap)) + cdkBuilder.lambdaAuthorizerConfig(lambdaAuthorizerConfig.let(CfnGraphQLApi.LambdaAuthorizerConfigProperty.Companion::unwrap)) } /** @@ -714,14 +714,14 @@ public interface CfnGraphQLApiProps { * @param logConfig The Amazon CloudWatch Logs configuration. */ override fun logConfig(logConfig: IResolvable) { - cdkBuilder.logConfig(logConfig.let(IResolvable::unwrap)) + cdkBuilder.logConfig(logConfig.let(IResolvable.Companion::unwrap)) } /** * @param logConfig The Amazon CloudWatch Logs configuration. */ override fun logConfig(logConfig: CfnGraphQLApi.LogConfigProperty) { - cdkBuilder.logConfig(logConfig.let(CfnGraphQLApi.LogConfigProperty::unwrap)) + cdkBuilder.logConfig(logConfig.let(CfnGraphQLApi.LogConfigProperty.Companion::unwrap)) } /** @@ -754,7 +754,7 @@ public interface CfnGraphQLApiProps { * @param openIdConnectConfig The OpenID Connect configuration. */ override fun openIdConnectConfig(openIdConnectConfig: IResolvable) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(IResolvable::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(IResolvable.Companion::unwrap)) } /** @@ -762,7 +762,7 @@ public interface CfnGraphQLApiProps { */ override fun openIdConnectConfig(openIdConnectConfig: CfnGraphQLApi.OpenIDConnectConfigProperty) { - cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(CfnGraphQLApi.OpenIDConnectConfigProperty::unwrap)) + cdkBuilder.openIdConnectConfig(openIdConnectConfig.let(CfnGraphQLApi.OpenIDConnectConfigProperty.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public interface CfnGraphQLApiProps { * @param tags An arbitrary set of tags (key-value pairs) for this GraphQL API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public interface CfnGraphQLApiProps { * pools with your GraphQL endpoint. */ override fun userPoolConfig(userPoolConfig: IResolvable) { - cdkBuilder.userPoolConfig(userPoolConfig.let(IResolvable::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(IResolvable.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public interface CfnGraphQLApiProps { * pools with your GraphQL endpoint. */ override fun userPoolConfig(userPoolConfig: CfnGraphQLApi.UserPoolConfigProperty) { - cdkBuilder.userPoolConfig(userPoolConfig.let(CfnGraphQLApi.UserPoolConfigProperty::unwrap)) + cdkBuilder.userPoolConfig(userPoolConfig.let(CfnGraphQLApi.UserPoolConfigProperty.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public interface CfnGraphQLApiProps { * @param xrayEnabled A flag indicating whether to use AWS X-Ray tracing for this `GraphqlApi` . */ override fun xrayEnabled(xrayEnabled: IResolvable) { - cdkBuilder.xrayEnabled(xrayEnabled.let(IResolvable::unwrap)) + cdkBuilder.xrayEnabled(xrayEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.CfnGraphQLApiProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLSchema.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLSchema.kt index 2d2a6e4b06..009be06ead 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLSchema.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnGraphQLSchema.kt @@ -55,8 +55,8 @@ public open class CfnGraphQLSchema( id: String, props: CfnGraphQLSchemaProps, ) : - this(software.amazon.awscdk.services.appsync.CfnGraphQLSchema(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGraphQLSchemaProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnGraphQLSchema(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGraphQLSchemaProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnGraphQLSchema( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolver.kt index 61407d3b25..d5cc1cd63b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolver.kt @@ -92,8 +92,8 @@ public open class CfnResolver( id: String, props: CfnResolverProps, ) : - this(software.amazon.awscdk.services.appsync.CfnResolver(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnResolver(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverProps.Companion::unwrap)) ) public constructor( @@ -140,14 +140,14 @@ public open class CfnResolver( * The caching configuration for the resolver. */ public open fun cachingConfig(`value`: IResolvable) { - unwrap(this).setCachingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCachingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The caching configuration for the resolver. */ public open fun cachingConfig(`value`: CachingConfigProperty) { - unwrap(this).setCachingConfig(`value`.let(CachingConfigProperty::unwrap)) + unwrap(this).setCachingConfig(`value`.let(CachingConfigProperty.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnResolver( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -262,14 +262,14 @@ public open class CfnResolver( * Functions linked with the pipeline resolver. */ public open fun pipelineConfig(`value`: IResolvable) { - unwrap(this).setPipelineConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setPipelineConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Functions linked with the pipeline resolver. */ public open fun pipelineConfig(`value`: PipelineConfigProperty) { - unwrap(this).setPipelineConfig(`value`.let(PipelineConfigProperty::unwrap)) + unwrap(this).setPipelineConfig(`value`.let(PipelineConfigProperty.Companion::unwrap)) } /** @@ -339,14 +339,14 @@ public open class CfnResolver( * Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ public open fun runtime(`value`: IResolvable) { - unwrap(this).setRuntime(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntime(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ public open fun runtime(`value`: AppSyncRuntimeProperty) { - unwrap(this).setRuntime(`value`.let(AppSyncRuntimeProperty::unwrap)) + unwrap(this).setRuntime(`value`.let(AppSyncRuntimeProperty.Companion::unwrap)) } /** @@ -366,14 +366,14 @@ public open class CfnResolver( * The `SyncConfig` for a resolver attached to a versioned data source. */ public open fun syncConfig(`value`: IResolvable) { - unwrap(this).setSyncConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSyncConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The `SyncConfig` for a resolver attached to a versioned data source. */ public open fun syncConfig(`value`: SyncConfigProperty) { - unwrap(this).setSyncConfig(`value`.let(SyncConfigProperty::unwrap)) + unwrap(this).setSyncConfig(`value`.let(SyncConfigProperty.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public open class CfnResolver( * @param cachingConfig The caching configuration for the resolver. */ override fun cachingConfig(cachingConfig: IResolvable) { - cdkBuilder.cachingConfig(cachingConfig.let(IResolvable::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public open class CfnResolver( * @param cachingConfig The caching configuration for the resolver. */ override fun cachingConfig(cachingConfig: CachingConfigProperty) { - cdkBuilder.cachingConfig(cachingConfig.let(CachingConfigProperty::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(CachingConfigProperty.Companion::unwrap)) } /** @@ -785,7 +785,7 @@ public open class CfnResolver( * @param pipelineConfig Functions linked with the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: IResolvable) { - cdkBuilder.pipelineConfig(pipelineConfig.let(IResolvable::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class CfnResolver( * @param pipelineConfig Functions linked with the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: PipelineConfigProperty) { - cdkBuilder.pipelineConfig(pipelineConfig.let(PipelineConfigProperty::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.let(PipelineConfigProperty.Companion::unwrap)) } /** @@ -870,7 +870,7 @@ public open class CfnResolver( * @param runtime Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ override fun runtime(runtime: IResolvable) { - cdkBuilder.runtime(runtime.let(IResolvable::unwrap)) + cdkBuilder.runtime(runtime.let(IResolvable.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public open class CfnResolver( * @param runtime Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. */ override fun runtime(runtime: AppSyncRuntimeProperty) { - cdkBuilder.runtime(runtime.let(AppSyncRuntimeProperty::unwrap)) + cdkBuilder.runtime(runtime.let(AppSyncRuntimeProperty.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnResolver( * @param syncConfig The `SyncConfig` for a resolver attached to a versioned data source. */ override fun syncConfig(syncConfig: IResolvable) { - cdkBuilder.syncConfig(syncConfig.let(IResolvable::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(IResolvable.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public open class CfnResolver( * @param syncConfig The `SyncConfig` for a resolver attached to a versioned data source. */ override fun syncConfig(syncConfig: SyncConfigProperty) { - cdkBuilder.syncConfig(syncConfig.let(SyncConfigProperty::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(SyncConfigProperty.Companion::unwrap)) } /** @@ -1537,7 +1537,7 @@ public open class CfnResolver( * `LAMBDA` as the Conflict Handler. */ override fun lambdaConflictHandlerConfig(lambdaConflictHandlerConfig: IResolvable) { - cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1546,7 +1546,7 @@ public open class CfnResolver( */ override fun lambdaConflictHandlerConfig(lambdaConflictHandlerConfig: LambdaConflictHandlerConfigProperty) { - cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(LambdaConflictHandlerConfigProperty::unwrap)) + cdkBuilder.lambdaConflictHandlerConfig(lambdaConflictHandlerConfig.let(LambdaConflictHandlerConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolverProps.kt index eb4bab8bcd..2aa1f33448 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnResolverProps.kt @@ -388,14 +388,14 @@ public interface CfnResolverProps { * @param cachingConfig The caching configuration for the resolver. */ override fun cachingConfig(cachingConfig: IResolvable) { - cdkBuilder.cachingConfig(cachingConfig.let(IResolvable::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(IResolvable.Companion::unwrap)) } /** * @param cachingConfig The caching configuration for the resolver. */ override fun cachingConfig(cachingConfig: CfnResolver.CachingConfigProperty) { - cdkBuilder.cachingConfig(cachingConfig.let(CfnResolver.CachingConfigProperty::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(CfnResolver.CachingConfigProperty.Companion::unwrap)) } /** @@ -470,14 +470,14 @@ public interface CfnResolverProps { * @param pipelineConfig Functions linked with the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: IResolvable) { - cdkBuilder.pipelineConfig(pipelineConfig.let(IResolvable::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.let(IResolvable.Companion::unwrap)) } /** * @param pipelineConfig Functions linked with the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: CfnResolver.PipelineConfigProperty) { - cdkBuilder.pipelineConfig(pipelineConfig.let(CfnResolver.PipelineConfigProperty::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.let(CfnResolver.PipelineConfigProperty.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public interface CfnResolverProps { * code must also be specified. */ override fun runtime(runtime: IResolvable) { - cdkBuilder.runtime(runtime.let(IResolvable::unwrap)) + cdkBuilder.runtime(runtime.let(IResolvable.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface CfnResolverProps { * code must also be specified. */ override fun runtime(runtime: CfnResolver.AppSyncRuntimeProperty) { - cdkBuilder.runtime(runtime.let(CfnResolver.AppSyncRuntimeProperty::unwrap)) + cdkBuilder.runtime(runtime.let(CfnResolver.AppSyncRuntimeProperty.Companion::unwrap)) } /** @@ -557,14 +557,14 @@ public interface CfnResolverProps { * @param syncConfig The `SyncConfig` for a resolver attached to a versioned data source. */ override fun syncConfig(syncConfig: IResolvable) { - cdkBuilder.syncConfig(syncConfig.let(IResolvable::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(IResolvable.Companion::unwrap)) } /** * @param syncConfig The `SyncConfig` for a resolver attached to a versioned data source. */ override fun syncConfig(syncConfig: CfnResolver.SyncConfigProperty) { - cdkBuilder.syncConfig(syncConfig.let(CfnResolver.SyncConfigProperty::unwrap)) + cdkBuilder.syncConfig(syncConfig.let(CfnResolver.SyncConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociation.kt index 76a034564a..49ec4dbf78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociation.kt @@ -47,7 +47,7 @@ public open class CfnSourceApiAssociation( cdkObject: software.amazon.awscdk.services.appsync.CfnSourceApiAssociation, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.appsync.CfnSourceApiAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.appsync.CfnSourceApiAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +56,8 @@ public open class CfnSourceApiAssociation( id: String, props: CfnSourceApiAssociationProps, ) : - this(software.amazon.awscdk.services.appsync.CfnSourceApiAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSourceApiAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appsync.CfnSourceApiAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSourceApiAssociationProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class CfnSourceApiAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -164,14 +164,14 @@ public open class CfnSourceApiAssociation( * The `SourceApiAssociationConfig` object data. */ public open fun sourceApiAssociationConfig(`value`: IResolvable) { - unwrap(this).setSourceApiAssociationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceApiAssociationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The `SourceApiAssociationConfig` object data. */ public open fun sourceApiAssociationConfig(`value`: SourceApiAssociationConfigProperty) { - unwrap(this).setSourceApiAssociationConfig(`value`.let(SourceApiAssociationConfigProperty::unwrap)) + unwrap(this).setSourceApiAssociationConfig(`value`.let(SourceApiAssociationConfigProperty.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnSourceApiAssociation( * @param sourceApiAssociationConfig The `SourceApiAssociationConfig` object data. */ override fun sourceApiAssociationConfig(sourceApiAssociationConfig: IResolvable) { - cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnSourceApiAssociation( */ override fun sourceApiAssociationConfig(sourceApiAssociationConfig: SourceApiAssociationConfigProperty) { - cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(SourceApiAssociationConfigProperty::unwrap)) + cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(SourceApiAssociationConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociationProps.kt index 2315b27d72..ec5a9ddc70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/CfnSourceApiAssociationProps.kt @@ -142,7 +142,7 @@ public interface CfnSourceApiAssociationProps { * @param sourceApiAssociationConfig The `SourceApiAssociationConfig` object data. */ override fun sourceApiAssociationConfig(sourceApiAssociationConfig: IResolvable) { - cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnSourceApiAssociationProps { */ override fun sourceApiAssociationConfig(sourceApiAssociationConfig: CfnSourceApiAssociation.SourceApiAssociationConfigProperty) { - cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(CfnSourceApiAssociation.SourceApiAssociationConfigProperty::unwrap)) + cdkBuilder.sourceApiAssociationConfig(sourceApiAssociationConfig.let(CfnSourceApiAssociation.SourceApiAssociationConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Code.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Code.kt index 589c244556..bc9ca0909c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Code.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Code.kt @@ -45,7 +45,7 @@ public abstract class Code( * @param scope */ public open fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.appsync.Code, @@ -57,7 +57,7 @@ public abstract class Code( public fun fromAsset(path: String, options: AssetOptions): AssetCode = software.amazon.awscdk.services.appsync.Code.fromAsset(path, - options.let(AssetOptions::unwrap)).let(AssetCode::wrap) + options.let(AssetOptions.Companion::unwrap)).let(AssetCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b6b30dc0029d3eae4bcdf8c40fd877adaafd1579c6e451b25506f9b13057af28") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Definition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Definition.kt index 0db4cee7fa..9c3127aff7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Definition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Definition.kt @@ -58,10 +58,10 @@ public abstract class Definition( software.amazon.awscdk.services.appsync.Definition.fromFile(filePath).let(Definition::wrap) public fun fromSchema(schema: ISchema): Definition = - software.amazon.awscdk.services.appsync.Definition.fromSchema(schema.let(ISchema::unwrap)).let(Definition::wrap) + software.amazon.awscdk.services.appsync.Definition.fromSchema(schema.let(ISchema.Companion::unwrap)).let(Definition::wrap) public fun fromSourceApis(sourceApiOptions: SourceApiOptions): Definition = - software.amazon.awscdk.services.appsync.Definition.fromSourceApis(sourceApiOptions.let(SourceApiOptions::unwrap)).let(Definition::wrap) + software.amazon.awscdk.services.appsync.Definition.fromSourceApis(sourceApiOptions.let(SourceApiOptions.Companion::unwrap)).let(Definition::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aae93d17b87ff21ca3a374a60527cb8f6be9ab31106f23892d60fec15b2534c1") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DomainOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DomainOptions.kt index 038ea39a08..4faa2e20ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DomainOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DomainOptions.kt @@ -85,7 +85,7 @@ public interface DomainOptions { * @param certificate The certificate to use with the domain name. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSource.kt index 2820a23fae..03e27344f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSource.kt @@ -69,8 +69,8 @@ public open class DynamoDbDataSource( id: String, props: DynamoDbDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.DynamoDbDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DynamoDbDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.DynamoDbDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DynamoDbDataSourceProps.Companion::unwrap)) ) public constructor( @@ -160,7 +160,7 @@ public open class DynamoDbDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class DynamoDbDataSource( * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class DynamoDbDataSource( * @param table The DynamoDB table backing this data source. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSourceProps.kt index 9387da3bfc..c39f584902 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/DynamoDbDataSourceProps.kt @@ -108,7 +108,7 @@ public interface DynamoDbDataSourceProps : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -138,14 +138,14 @@ public interface DynamoDbDataSourceProps : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** * @param table The DynamoDB table backing this data source. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSource.kt index 396078e6f2..4b9e0abf25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSource.kt @@ -47,8 +47,8 @@ public open class ElasticsearchDataSource( id: String, props: ElasticsearchDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.ElasticsearchDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ElasticsearchDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.ElasticsearchDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ElasticsearchDataSourceProps.Companion::unwrap)) ) @Deprecated(message = "deprecated in CDK") @@ -123,7 +123,7 @@ public open class ElasticsearchDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class ElasticsearchDataSource( */ @Deprecated(message = "deprecated in CDK") override fun domain(domain: IDomain) { - cdkBuilder.domain(domain.let(IDomain::unwrap)) + cdkBuilder.domain(domain.let(IDomain.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class ElasticsearchDataSource( * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.ElasticsearchDataSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSourceProps.kt index e36ff76036..6bed95bbe3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ElasticsearchDataSourceProps.kt @@ -88,7 +88,7 @@ public interface ElasticsearchDataSourceProps : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public interface ElasticsearchDataSourceProps : BackedDataSourceProps { */ @Deprecated(message = "deprecated in CDK") override fun domain(domain: IDomain) { - cdkBuilder.domain(domain.let(IDomain::unwrap)) + cdkBuilder.domain(domain.let(IDomain.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface ElasticsearchDataSourceProps : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.ElasticsearchDataSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSource.kt index 77f35aa244..c7deb51b1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSource.kt @@ -39,8 +39,8 @@ public open class EventBridgeDataSource( id: String, props: EventBridgeDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.EventBridgeDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EventBridgeDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.EventBridgeDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EventBridgeDataSourceProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class EventBridgeDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class EventBridgeDataSource( * @param eventBus The EventBridge EventBus. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class EventBridgeDataSource( * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.EventBridgeDataSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSourceProps.kt index 7a313ff903..99839ad2de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/EventBridgeDataSourceProps.kt @@ -81,7 +81,7 @@ public interface EventBridgeDataSourceProps : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface EventBridgeDataSourceProps : BackedDataSourceProps { * @param eventBus The EventBridge EventBus. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface EventBridgeDataSourceProps : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.EventBridgeDataSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedDataSourceProps.kt index cf43c7a8a9..fe56e3b4a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedDataSourceProps.kt @@ -288,14 +288,14 @@ public interface ExtendedDataSourceProps { * @param dynamoDbConfig configuration for DynamoDB Datasource. */ override fun dynamoDbConfig(dynamoDbConfig: IResolvable) { - cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDbConfig configuration for DynamoDB Datasource. */ override fun dynamoDbConfig(dynamoDbConfig: CfnDataSource.DynamoDBConfigProperty) { - cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(CfnDataSource.DynamoDBConfigProperty::unwrap)) + cdkBuilder.dynamoDbConfig(dynamoDbConfig.let(CfnDataSource.DynamoDBConfigProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface ExtendedDataSourceProps { */ @Deprecated(message = "deprecated in CDK") override fun elasticsearchConfig(elasticsearchConfig: IResolvable) { - cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(IResolvable.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface ExtendedDataSourceProps { @Deprecated(message = "deprecated in CDK") override fun elasticsearchConfig(elasticsearchConfig: CfnDataSource.ElasticsearchConfigProperty) { - cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(CfnDataSource.ElasticsearchConfigProperty::unwrap)) + cdkBuilder.elasticsearchConfig(elasticsearchConfig.let(CfnDataSource.ElasticsearchConfigProperty.Companion::unwrap)) } /** @@ -341,14 +341,14 @@ public interface ExtendedDataSourceProps { * @param eventBridgeConfig configuration for EventBridge Datasource. */ override fun eventBridgeConfig(eventBridgeConfig: IResolvable) { - cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(IResolvable.Companion::unwrap)) } /** * @param eventBridgeConfig configuration for EventBridge Datasource. */ override fun eventBridgeConfig(eventBridgeConfig: CfnDataSource.EventBridgeConfigProperty) { - cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(CfnDataSource.EventBridgeConfigProperty::unwrap)) + cdkBuilder.eventBridgeConfig(eventBridgeConfig.let(CfnDataSource.EventBridgeConfigProperty.Companion::unwrap)) } /** @@ -364,14 +364,14 @@ public interface ExtendedDataSourceProps { * @param httpConfig configuration for HTTP Datasource. */ override fun httpConfig(httpConfig: IResolvable) { - cdkBuilder.httpConfig(httpConfig.let(IResolvable::unwrap)) + cdkBuilder.httpConfig(httpConfig.let(IResolvable.Companion::unwrap)) } /** * @param httpConfig configuration for HTTP Datasource. */ override fun httpConfig(httpConfig: CfnDataSource.HttpConfigProperty) { - cdkBuilder.httpConfig(httpConfig.let(CfnDataSource.HttpConfigProperty::unwrap)) + cdkBuilder.httpConfig(httpConfig.let(CfnDataSource.HttpConfigProperty.Companion::unwrap)) } /** @@ -386,14 +386,14 @@ public interface ExtendedDataSourceProps { * @param lambdaConfig configuration for Lambda Datasource. */ override fun lambdaConfig(lambdaConfig: IResolvable) { - cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable.Companion::unwrap)) } /** * @param lambdaConfig configuration for Lambda Datasource. */ override fun lambdaConfig(lambdaConfig: CfnDataSource.LambdaConfigProperty) { - cdkBuilder.lambdaConfig(lambdaConfig.let(CfnDataSource.LambdaConfigProperty::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(CfnDataSource.LambdaConfigProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface ExtendedDataSourceProps { * @param openSearchServiceConfig configuration for OpenSearch data source. */ override fun openSearchServiceConfig(openSearchServiceConfig: IResolvable) { - cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(IResolvable::unwrap)) + cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface ExtendedDataSourceProps { */ override fun openSearchServiceConfig(openSearchServiceConfig: CfnDataSource.OpenSearchServiceConfigProperty) { - cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(CfnDataSource.OpenSearchServiceConfigProperty::unwrap)) + cdkBuilder.openSearchServiceConfig(openSearchServiceConfig.let(CfnDataSource.OpenSearchServiceConfigProperty.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface ExtendedDataSourceProps { * @param relationalDatabaseConfig configuration for RDS Datasource. */ override fun relationalDatabaseConfig(relationalDatabaseConfig: IResolvable) { - cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(IResolvable::unwrap)) + cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface ExtendedDataSourceProps { */ override fun relationalDatabaseConfig(relationalDatabaseConfig: CfnDataSource.RelationalDatabaseConfigProperty) { - cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(CfnDataSource.RelationalDatabaseConfigProperty::unwrap)) + cdkBuilder.relationalDatabaseConfig(relationalDatabaseConfig.let(CfnDataSource.RelationalDatabaseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedResolverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedResolverProps.kt index b7405f533c..030de102c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedResolverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ExtendedResolverProps.kt @@ -129,7 +129,7 @@ public interface ExtendedResolverProps : BaseResolverProps { * @param cachingConfig The caching configuration for this resolver. */ override fun cachingConfig(cachingConfig: CachingConfig) { - cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig.Companion::unwrap)) } /** @@ -144,14 +144,14 @@ public interface ExtendedResolverProps : BaseResolverProps { * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param dataSource The data source this resolver is using. */ override fun dataSource(dataSource: BaseDataSource) { - cdkBuilder.dataSource(dataSource.let(BaseDataSource::unwrap)) + cdkBuilder.dataSource(dataSource.let(BaseDataSource.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public interface ExtendedResolverProps : BaseResolverProps { * @param pipelineConfig configuration of the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: List) { - cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction.Companion::unwrap)) } /** @@ -185,21 +185,21 @@ public interface ExtendedResolverProps : BaseResolverProps { * @param requestMappingTemplate The request mapping template for this resolver. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param responseMappingTemplate The response mapping template for this resolver. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/FunctionRuntime.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/FunctionRuntime.kt index 56e80db8de..b62cd04cea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/FunctionRuntime.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/FunctionRuntime.kt @@ -35,7 +35,7 @@ public open class FunctionRuntime( cdkObject: software.amazon.awscdk.services.appsync.FunctionRuntime, ) : CdkObject(cdkObject) { public constructor(family: FunctionRuntimeFamily, version: String) : - this(software.amazon.awscdk.services.appsync.FunctionRuntime(family.let(FunctionRuntimeFamily::unwrap), + this(software.amazon.awscdk.services.appsync.FunctionRuntime(family.let(FunctionRuntimeFamily.Companion::unwrap), version) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApi.kt index a5b031fff7..e9fa2c1919 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApi.kt @@ -45,8 +45,8 @@ public open class GraphqlApi( id: String, props: GraphqlApiProps, ) : - this(software.amazon.awscdk.services.appsync.GraphqlApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GraphqlApiProps::unwrap)) + this(software.amazon.awscdk.services.appsync.GraphqlApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GraphqlApiProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class GraphqlApi( * @param construct the dependee. */ public override fun addSchemaDependency(construct: CfnResource): Boolean = - unwrap(this).addSchemaDependency(construct.let(CfnResource::unwrap)) + unwrap(this).addSchemaDependency(construct.let(CfnResource.Companion::unwrap)) /** * an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. @@ -96,6 +96,11 @@ public open class GraphqlApi( */ public override fun arn(): String = unwrap(this).getArn() + /** + * The GraphQL endpoint ARN. + */ + public override fun graphQLEndpointArn(): String = unwrap(this).getGraphQLEndpointArn() + /** * the URL of the endpoint created by AppSync. */ @@ -109,7 +114,7 @@ public open class GraphqlApi( /** * The Authorization Types for this GraphQL Api. */ - public open fun modes(): List = + public override fun modes(): List = unwrap(this).getModes().map(AuthorizationType::wrap) /** @@ -123,6 +128,11 @@ public open class GraphqlApi( */ public open fun schema(): ISchema = unwrap(this).getSchema().let(ISchema::wrap) + /** + * the visibility of the API. + */ + public override fun visibility(): Visibility = unwrap(this).getVisibility().let(Visibility::wrap) + /** * A fluent builder for [io.cloudshiftdev.awscdk.services.appsync.GraphqlApi]. */ @@ -313,7 +323,7 @@ public open class GraphqlApi( * @param authorizationConfig Optional authorization configuration. */ override fun authorizationConfig(authorizationConfig: AuthorizationConfig) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfig::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfig.Companion::unwrap)) } /** @@ -334,7 +344,7 @@ public open class GraphqlApi( * @param definition Definition (schema file or source APIs) for this GraphQL Api. */ override fun definition(definition: Definition) { - cdkBuilder.definition(definition.let(Definition::unwrap)) + cdkBuilder.definition(definition.let(Definition.Companion::unwrap)) } /** @@ -349,7 +359,7 @@ public open class GraphqlApi( * @param domainName The domain name configuration for the GraphQL API. */ override fun domainName(domainName: DomainOptions) { - cdkBuilder.domainName(domainName.let(DomainOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainOptions.Companion::unwrap)) } /** @@ -397,7 +407,7 @@ public open class GraphqlApi( * (DISABLED) introspection. */ override fun introspectionConfig(introspectionConfig: IntrospectionConfig) { - cdkBuilder.introspectionConfig(introspectionConfig.let(IntrospectionConfig::unwrap)) + cdkBuilder.introspectionConfig(introspectionConfig.let(IntrospectionConfig.Companion::unwrap)) } /** @@ -408,7 +418,7 @@ public open class GraphqlApi( * @param logConfig Logging configuration for this api. */ override fun logConfig(logConfig: LogConfig) { - cdkBuilder.logConfig(logConfig.let(LogConfig::unwrap)) + cdkBuilder.logConfig(logConfig.let(LogConfig.Companion::unwrap)) } /** @@ -473,7 +483,7 @@ public open class GraphqlApi( */ @Deprecated(message = "deprecated in CDK") override fun schema(schema: ISchema) { - cdkBuilder.schema(schema.let(ISchema::unwrap)) + cdkBuilder.schema(schema.let(ISchema.Companion::unwrap)) } /** @@ -486,7 +496,7 @@ public open class GraphqlApi( * can only be access from a VPC (PRIVATE). */ override fun visibility(visibility: Visibility) { - cdkBuilder.visibility(visibility.let(Visibility::unwrap)) + cdkBuilder.visibility(visibility.let(Visibility.Companion::unwrap)) } /** @@ -510,8 +520,8 @@ public open class GraphqlApi( id: String, attrs: GraphqlApiAttributes, ): IGraphqlApi = - software.amazon.awscdk.services.appsync.GraphqlApi.fromGraphqlApiAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(GraphqlApiAttributes::unwrap)).let(IGraphqlApi::wrap) + software.amazon.awscdk.services.appsync.GraphqlApi.fromGraphqlApiAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(GraphqlApiAttributes.Companion::unwrap)).let(IGraphqlApi::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a7a086d289e85cbe58a544f38e35ac10906749dadb33dde67fec9359500d7f3") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiAttributes.kt index 0acbdf606a..32b917031c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiAttributes.kt @@ -7,6 +7,7 @@ import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import kotlin.String import kotlin.Unit +import kotlin.collections.List /** * Attributes for GraphQL imports. @@ -34,6 +35,13 @@ import kotlin.Unit * ``` */ public interface GraphqlApiAttributes { + /** + * The GraphQl endpoint arn for the GraphQL API. + * + * Default: - none, required to construct event rules from imported APIs + */ + public fun graphQLEndpointArn(): String? = unwrap(this).getGraphQLEndpointArn() + /** * the arn for the GraphQL Api. * @@ -46,11 +54,31 @@ public interface GraphqlApiAttributes { */ public fun graphqlApiId(): String + /** + * The Authorization Types for this GraphQL Api. + * + * Default: - none, required to construct event rules from imported APIs + */ + public fun modes(): List = + unwrap(this).getModes()?.map(AuthorizationType::wrap) ?: emptyList() + + /** + * The GraphQl API visibility. + * + * Default: - GLOBAL + */ + public fun visibility(): Visibility? = unwrap(this).getVisibility()?.let(Visibility::wrap) + /** * A builder for [GraphqlApiAttributes] */ @CdkDslMarker public interface Builder { + /** + * @param graphQlEndpointArn The GraphQl endpoint arn for the GraphQL API. + */ + public fun graphQlEndpointArn(graphQlEndpointArn: String) + /** * @param graphqlApiArn the arn for the GraphQL Api. */ @@ -61,12 +89,34 @@ public interface GraphqlApiAttributes { * 'lxz775lwdrgcndgz3nurvac7oa'. */ public fun graphqlApiId(graphqlApiId: String) + + /** + * @param modes The Authorization Types for this GraphQL Api. + */ + public fun modes(modes: List) + + /** + * @param modes The Authorization Types for this GraphQL Api. + */ + public fun modes(vararg modes: AuthorizationType) + + /** + * @param visibility The GraphQl API visibility. + */ + public fun visibility(visibility: Visibility) } private class BuilderImpl : Builder { private val cdkBuilder: software.amazon.awscdk.services.appsync.GraphqlApiAttributes.Builder = software.amazon.awscdk.services.appsync.GraphqlApiAttributes.builder() + /** + * @param graphQlEndpointArn The GraphQl endpoint arn for the GraphQL API. + */ + override fun graphQlEndpointArn(graphQlEndpointArn: String) { + cdkBuilder.graphQlEndpointArn(graphQlEndpointArn) + } + /** * @param graphqlApiArn the arn for the GraphQL Api. */ @@ -82,6 +132,25 @@ public interface GraphqlApiAttributes { cdkBuilder.graphqlApiId(graphqlApiId) } + /** + * @param modes The Authorization Types for this GraphQL Api. + */ + override fun modes(modes: List) { + cdkBuilder.modes(modes.map(AuthorizationType.Companion::unwrap)) + } + + /** + * @param modes The Authorization Types for this GraphQL Api. + */ + override fun modes(vararg modes: AuthorizationType): Unit = modes(modes.toList()) + + /** + * @param visibility The GraphQl API visibility. + */ + override fun visibility(visibility: Visibility) { + cdkBuilder.visibility(visibility.let(Visibility.Companion::unwrap)) + } + public fun build(): software.amazon.awscdk.services.appsync.GraphqlApiAttributes = cdkBuilder.build() } @@ -89,6 +158,13 @@ public interface GraphqlApiAttributes { private class Wrapper( cdkObject: software.amazon.awscdk.services.appsync.GraphqlApiAttributes, ) : CdkObject(cdkObject), GraphqlApiAttributes { + /** + * The GraphQl endpoint arn for the GraphQL API. + * + * Default: - none, required to construct event rules from imported APIs + */ + override fun graphQLEndpointArn(): String? = unwrap(this).getGraphQLEndpointArn() + /** * the arn for the GraphQL Api. * @@ -100,6 +176,21 @@ public interface GraphqlApiAttributes { * an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. */ override fun graphqlApiId(): String = unwrap(this).getGraphqlApiId() + + /** + * The Authorization Types for this GraphQL Api. + * + * Default: - none, required to construct event rules from imported APIs + */ + override fun modes(): List = + unwrap(this).getModes()?.map(AuthorizationType::wrap) ?: emptyList() + + /** + * The GraphQl API visibility. + * + * Default: - GLOBAL + */ + override fun visibility(): Visibility? = unwrap(this).getVisibility()?.let(Visibility::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiBase.kt index 1edc067e50..9e9069ebe2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiBase.kt @@ -18,6 +18,7 @@ import kotlin.Boolean import kotlin.Deprecated import kotlin.String import kotlin.Unit +import kotlin.collections.List import kotlin.jvm.JvmName import io.cloudshiftdev.awscdk.services.elasticsearch.IDomain as ElasticsearchIDomain import io.cloudshiftdev.awscdk.services.opensearchservice.IDomain as OpensearchserviceIDomain @@ -37,7 +38,7 @@ public abstract class GraphqlApiBase( */ public override fun addDynamoDbDataSource(id: String, table: ITable): DynamoDbDataSource = unwrap(this).addDynamoDbDataSource(id, - table.let(ITable::unwrap)).let(DynamoDbDataSource::wrap) + table.let(ITable.Companion::unwrap)).let(DynamoDbDataSource::wrap) /** * add a new DynamoDB data source to this API. @@ -50,8 +51,9 @@ public abstract class GraphqlApiBase( id: String, table: ITable, options: DataSourceOptions, - ): DynamoDbDataSource = unwrap(this).addDynamoDbDataSource(id, table.let(ITable::unwrap), - options.let(DataSourceOptions::unwrap)).let(DynamoDbDataSource::wrap) + ): DynamoDbDataSource = unwrap(this).addDynamoDbDataSource(id, + table.let(ITable.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(DynamoDbDataSource::wrap) /** * add a new DynamoDB data source to this API. @@ -79,7 +81,7 @@ public abstract class GraphqlApiBase( @Deprecated(message = "deprecated in CDK") public override fun addElasticsearchDataSource(id: String, domain: ElasticsearchIDomain): ElasticsearchDataSource = unwrap(this).addElasticsearchDataSource(id, - domain.let(ElasticsearchIDomain::unwrap)).let(ElasticsearchDataSource::wrap) + domain.let(ElasticsearchIDomain.Companion::unwrap)).let(ElasticsearchDataSource::wrap) /** * (deprecated) add a new elasticsearch data source to this API. @@ -95,8 +97,8 @@ public abstract class GraphqlApiBase( domain: ElasticsearchIDomain, options: DataSourceOptions, ): ElasticsearchDataSource = unwrap(this).addElasticsearchDataSource(id, - domain.let(ElasticsearchIDomain::unwrap), - options.let(DataSourceOptions::unwrap)).let(ElasticsearchDataSource::wrap) + domain.let(ElasticsearchIDomain.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(ElasticsearchDataSource::wrap) /** * (deprecated) add a new elasticsearch data source to this API. @@ -124,7 +126,7 @@ public abstract class GraphqlApiBase( */ public override fun addEventBridgeDataSource(id: String, eventBus: IEventBus): EventBridgeDataSource = unwrap(this).addEventBridgeDataSource(id, - eventBus.let(IEventBus::unwrap)).let(EventBridgeDataSource::wrap) + eventBus.let(IEventBus.Companion::unwrap)).let(EventBridgeDataSource::wrap) /** * Add an EventBridge data source to this api. @@ -138,8 +140,8 @@ public abstract class GraphqlApiBase( eventBus: IEventBus, options: DataSourceOptions, ): EventBridgeDataSource = unwrap(this).addEventBridgeDataSource(id, - eventBus.let(IEventBus::unwrap), - options.let(DataSourceOptions::unwrap)).let(EventBridgeDataSource::wrap) + eventBus.let(IEventBus.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(EventBridgeDataSource::wrap) /** * Add an EventBridge data source to this api. @@ -178,7 +180,7 @@ public abstract class GraphqlApiBase( endpoint: String, options: HttpDataSourceOptions, ): HttpDataSource = unwrap(this).addHttpDataSource(id, endpoint, - options.let(HttpDataSourceOptions::unwrap)).let(HttpDataSource::wrap) + options.let(HttpDataSourceOptions.Companion::unwrap)).let(HttpDataSource::wrap) /** * add a new http data source to this API. @@ -204,7 +206,7 @@ public abstract class GraphqlApiBase( */ public override fun addLambdaDataSource(id: String, lambdaFunction: IFunction): LambdaDataSource = unwrap(this).addLambdaDataSource(id, - lambdaFunction.let(IFunction::unwrap)).let(LambdaDataSource::wrap) + lambdaFunction.let(IFunction.Companion::unwrap)).let(LambdaDataSource::wrap) /** * add a new Lambda data source to this API. @@ -217,8 +219,9 @@ public abstract class GraphqlApiBase( id: String, lambdaFunction: IFunction, options: DataSourceOptions, - ): LambdaDataSource = unwrap(this).addLambdaDataSource(id, lambdaFunction.let(IFunction::unwrap), - options.let(DataSourceOptions::unwrap)).let(LambdaDataSource::wrap) + ): LambdaDataSource = unwrap(this).addLambdaDataSource(id, + lambdaFunction.let(IFunction.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(LambdaDataSource::wrap) /** * add a new Lambda data source to this API. @@ -258,7 +261,7 @@ public abstract class GraphqlApiBase( */ public override fun addNoneDataSource(id: String, options: DataSourceOptions): NoneDataSource = unwrap(this).addNoneDataSource(id, - options.let(DataSourceOptions::unwrap)).let(NoneDataSource::wrap) + options.let(DataSourceOptions.Companion::unwrap)).let(NoneDataSource::wrap) /** * add a new dummy data source to this API. @@ -283,7 +286,7 @@ public abstract class GraphqlApiBase( */ public override fun addOpenSearchDataSource(id: String, domain: OpensearchserviceIDomain): OpenSearchDataSource = unwrap(this).addOpenSearchDataSource(id, - domain.let(OpensearchserviceIDomain::unwrap)).let(OpenSearchDataSource::wrap) + domain.let(OpensearchserviceIDomain.Companion::unwrap)).let(OpenSearchDataSource::wrap) /** * add a new OpenSearch data source to this API. @@ -297,8 +300,8 @@ public abstract class GraphqlApiBase( domain: OpensearchserviceIDomain, options: DataSourceOptions, ): OpenSearchDataSource = unwrap(this).addOpenSearchDataSource(id, - domain.let(OpensearchserviceIDomain::unwrap), - options.let(DataSourceOptions::unwrap)).let(OpenSearchDataSource::wrap) + domain.let(OpensearchserviceIDomain.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(OpenSearchDataSource::wrap) /** * add a new OpenSearch data source to this API. @@ -330,8 +333,8 @@ public abstract class GraphqlApiBase( serverlessCluster: IServerlessCluster, secretStore: ISecret, ): RdsDataSource = unwrap(this).addRdsDataSource(id, - serverlessCluster.let(IServerlessCluster::unwrap), - secretStore.let(ISecret::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IServerlessCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -349,8 +352,8 @@ public abstract class GraphqlApiBase( secretStore: ISecret, databaseName: String, ): RdsDataSource = unwrap(this).addRdsDataSource(id, - serverlessCluster.let(IServerlessCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName).let(RdsDataSource::wrap) + serverlessCluster.let(IServerlessCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -369,8 +372,9 @@ public abstract class GraphqlApiBase( databaseName: String, options: DataSourceOptions, ): RdsDataSource = unwrap(this).addRdsDataSource(id, - serverlessCluster.let(IServerlessCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName, options.let(DataSourceOptions::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IServerlessCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName, + options.let(DataSourceOptions.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -408,8 +412,8 @@ public abstract class GraphqlApiBase( serverlessCluster: IDatabaseCluster, secretStore: ISecret, ): RdsDataSource = unwrap(this).addRdsDataSourceV2(id, - serverlessCluster.let(IDatabaseCluster::unwrap), - secretStore.let(ISecret::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IDatabaseCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -427,8 +431,8 @@ public abstract class GraphqlApiBase( secretStore: ISecret, databaseName: String, ): RdsDataSource = unwrap(this).addRdsDataSourceV2(id, - serverlessCluster.let(IDatabaseCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName).let(RdsDataSource::wrap) + serverlessCluster.let(IDatabaseCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -447,8 +451,9 @@ public abstract class GraphqlApiBase( databaseName: String, options: DataSourceOptions, ): RdsDataSource = unwrap(this).addRdsDataSourceV2(id, - serverlessCluster.let(IDatabaseCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName, options.let(DataSourceOptions::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IDatabaseCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName, + options.let(DataSourceOptions.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -477,7 +482,7 @@ public abstract class GraphqlApiBase( * @param construct the dependee. */ public override fun addSchemaDependency(construct: CfnResource): Boolean = - unwrap(this).addSchemaDependency(construct.let(CfnResource::unwrap)) + unwrap(this).addSchemaDependency(construct.let(CfnResource.Companion::unwrap)) /** * an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. @@ -496,7 +501,8 @@ public abstract class GraphqlApiBase( * @param props */ public override fun createResolver(id: String, props: ExtendedResolverProps): Resolver = - unwrap(this).createResolver(id, props.let(ExtendedResolverProps::unwrap)).let(Resolver::wrap) + unwrap(this).createResolver(id, + props.let(ExtendedResolverProps.Companion::unwrap)).let(Resolver::wrap) /** * creates a new resolver for this datasource and API using the given properties. @@ -521,8 +527,9 @@ public abstract class GraphqlApiBase( grantee: IGrantable, resources: IamResource, vararg actions: String, - ): Grant = unwrap(this).grant(grantee.let(IGrantable::unwrap), resources.let(IamResource::unwrap), - *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) + ): Grant = unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + resources.let(IamResource.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as + String}.toTypedArray()).let(Grant::wrap) /** * Adds an IAM policy statement for Mutation access to this GraphQLApi to an IAM principal's @@ -532,7 +539,7 @@ public abstract class GraphqlApiBase( * @param fields The fields to grant access to that are Mutations (leave blank for all). */ public override fun grantMutation(grantee: IGrantable, vararg fields: String): Grant = - unwrap(this).grantMutation(grantee.let(IGrantable::unwrap), + unwrap(this).grantMutation(grantee.let(IGrantable.Companion::unwrap), *fields.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -542,7 +549,7 @@ public abstract class GraphqlApiBase( * @param fields The fields to grant access to that are Queries (leave blank for all). */ public override fun grantQuery(grantee: IGrantable, vararg fields: String): Grant = - unwrap(this).grantQuery(grantee.let(IGrantable::unwrap), + unwrap(this).grantQuery(grantee.let(IGrantable.Companion::unwrap), *fields.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -553,9 +560,25 @@ public abstract class GraphqlApiBase( * @param fields The fields to grant access to that are Subscriptions (leave blank for all). */ public override fun grantSubscription(grantee: IGrantable, vararg fields: String): Grant = - unwrap(this).grantSubscription(grantee.let(IGrantable::unwrap), + unwrap(this).grantSubscription(grantee.let(IGrantable.Companion::unwrap), *fields.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) + /** + * The GraphQL endpoint ARN. + */ + public override fun graphQLEndpointArn(): String = unwrap(this).getGraphQLEndpointArn() + + /** + * The Authorization Types for this GraphQL Api. + */ + public override fun modes(): List = + unwrap(this).getModes().map(AuthorizationType::wrap) + + /** + * The visibility of the API. + */ + public override fun visibility(): Visibility = unwrap(this).getVisibility().let(Visibility::wrap) + private class Wrapper( cdkObject: software.amazon.awscdk.services.appsync.GraphqlApiBase, ) : GraphqlApiBase(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiProps.kt index 08b7dd1135..35edb1c9d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/GraphqlApiProps.kt @@ -263,7 +263,7 @@ public interface GraphqlApiProps { * @param authorizationConfig Optional authorization configuration. */ override fun authorizationConfig(authorizationConfig: AuthorizationConfig) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfig::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfig.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface GraphqlApiProps { * @param definition Definition (schema file or source APIs) for this GraphQL Api. */ override fun definition(definition: Definition) { - cdkBuilder.definition(definition.let(Definition::unwrap)) + cdkBuilder.definition(definition.let(Definition.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface GraphqlApiProps { * enable custom domain URL */ override fun domainName(domainName: DomainOptions) { - cdkBuilder.domainName(domainName.let(DomainOptions::unwrap)) + cdkBuilder.domainName(domainName.let(DomainOptions.Companion::unwrap)) } /** @@ -322,14 +322,14 @@ public interface GraphqlApiProps { * (DISABLED) introspection. */ override fun introspectionConfig(introspectionConfig: IntrospectionConfig) { - cdkBuilder.introspectionConfig(introspectionConfig.let(IntrospectionConfig::unwrap)) + cdkBuilder.introspectionConfig(introspectionConfig.let(IntrospectionConfig.Companion::unwrap)) } /** * @param logConfig Logging configuration for this api. */ override fun logConfig(logConfig: LogConfig) { - cdkBuilder.logConfig(logConfig.let(LogConfig::unwrap)) + cdkBuilder.logConfig(logConfig.let(LogConfig.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface GraphqlApiProps { */ @Deprecated(message = "deprecated in CDK") override fun schema(schema: ISchema) { - cdkBuilder.schema(schema.let(ISchema::unwrap)) + cdkBuilder.schema(schema.let(ISchema.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface GraphqlApiProps { * can only be access from a VPC (PRIVATE). */ override fun visibility(visibility: Visibility) { - cdkBuilder.visibility(visibility.let(Visibility::unwrap)) + cdkBuilder.visibility(visibility.let(Visibility.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSource.kt index 68dc759734..ec77554107 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSource.kt @@ -44,8 +44,8 @@ public open class HttpDataSource( id: String, props: HttpDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.HttpDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.HttpDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpDataSourceProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class HttpDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class HttpDataSource( * authorization. */ override fun authorizationConfig(authorizationConfig: AwsIamConfig) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AwsIamConfig::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AwsIamConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceOptions.kt index 2e43dabe51..6a1cb7ad90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceOptions.kt @@ -84,7 +84,7 @@ public interface HttpDataSourceOptions : DataSourceOptions { * authorization. */ override fun authorizationConfig(authorizationConfig: AwsIamConfig) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AwsIamConfig::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AwsIamConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceProps.kt index 58441f8490..5687a63970 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/HttpDataSourceProps.kt @@ -94,7 +94,7 @@ public interface HttpDataSourceProps : BaseDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public interface HttpDataSourceProps : BaseDataSourceProps { * authorization. */ override fun authorizationConfig(authorizationConfig: AwsIamConfig) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AwsIamConfig::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AwsIamConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IAppsyncFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IAppsyncFunction.kt index 7c1feface5..6bd1cb4c27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IAppsyncFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IAppsyncFunction.kt @@ -42,7 +42,7 @@ public interface IAppsyncFunction : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IGraphqlApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IGraphqlApi.kt index ee68238ceb..1cfbe11c56 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IGraphqlApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IGraphqlApi.kt @@ -22,6 +22,7 @@ import kotlin.Boolean import kotlin.Deprecated import kotlin.String import kotlin.Unit +import kotlin.collections.List import kotlin.jvm.JvmName import io.cloudshiftdev.awscdk.services.elasticsearch.IDomain as ElasticsearchIDomain import io.cloudshiftdev.awscdk.services.opensearchservice.IDomain as OpensearchserviceIDomain @@ -513,6 +514,21 @@ public interface IGraphqlApi : IResource { */ public fun grantSubscription(grantee: IGrantable, vararg fields: String): Grant + /** + * The GraphQL endpoint ARN. + */ + public fun graphQLEndpointArn(): String + + /** + * The Authorization Types for this GraphQL Api. + */ + public fun modes(): List + + /** + * the visibility of the API. + */ + public fun visibility(): Visibility + private class Wrapper( cdkObject: software.amazon.awscdk.services.appsync.IGraphqlApi, ) : CdkObject(cdkObject), IGraphqlApi { @@ -525,7 +541,7 @@ public interface IGraphqlApi : IResource { */ override fun addDynamoDbDataSource(id: String, table: ITable): DynamoDbDataSource = unwrap(this).addDynamoDbDataSource(id, - table.let(ITable::unwrap)).let(DynamoDbDataSource::wrap) + table.let(ITable.Companion::unwrap)).let(DynamoDbDataSource::wrap) /** * add a new DynamoDB data source to this API. @@ -538,8 +554,9 @@ public interface IGraphqlApi : IResource { id: String, table: ITable, options: DataSourceOptions, - ): DynamoDbDataSource = unwrap(this).addDynamoDbDataSource(id, table.let(ITable::unwrap), - options.let(DataSourceOptions::unwrap)).let(DynamoDbDataSource::wrap) + ): DynamoDbDataSource = unwrap(this).addDynamoDbDataSource(id, + table.let(ITable.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(DynamoDbDataSource::wrap) /** * add a new DynamoDB data source to this API. @@ -567,7 +584,7 @@ public interface IGraphqlApi : IResource { @Deprecated(message = "deprecated in CDK") override fun addElasticsearchDataSource(id: String, domain: ElasticsearchIDomain): ElasticsearchDataSource = unwrap(this).addElasticsearchDataSource(id, - domain.let(ElasticsearchIDomain::unwrap)).let(ElasticsearchDataSource::wrap) + domain.let(ElasticsearchIDomain.Companion::unwrap)).let(ElasticsearchDataSource::wrap) /** * (deprecated) add a new elasticsearch data source to this API. @@ -583,8 +600,8 @@ public interface IGraphqlApi : IResource { domain: ElasticsearchIDomain, options: DataSourceOptions, ): ElasticsearchDataSource = unwrap(this).addElasticsearchDataSource(id, - domain.let(ElasticsearchIDomain::unwrap), - options.let(DataSourceOptions::unwrap)).let(ElasticsearchDataSource::wrap) + domain.let(ElasticsearchIDomain.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(ElasticsearchDataSource::wrap) /** * (deprecated) add a new elasticsearch data source to this API. @@ -612,7 +629,7 @@ public interface IGraphqlApi : IResource { */ override fun addEventBridgeDataSource(id: String, eventBus: IEventBus): EventBridgeDataSource = unwrap(this).addEventBridgeDataSource(id, - eventBus.let(IEventBus::unwrap)).let(EventBridgeDataSource::wrap) + eventBus.let(IEventBus.Companion::unwrap)).let(EventBridgeDataSource::wrap) /** * Add an EventBridge data source to this api. @@ -626,8 +643,8 @@ public interface IGraphqlApi : IResource { eventBus: IEventBus, options: DataSourceOptions, ): EventBridgeDataSource = unwrap(this).addEventBridgeDataSource(id, - eventBus.let(IEventBus::unwrap), - options.let(DataSourceOptions::unwrap)).let(EventBridgeDataSource::wrap) + eventBus.let(IEventBus.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(EventBridgeDataSource::wrap) /** * Add an EventBridge data source to this api. @@ -666,7 +683,7 @@ public interface IGraphqlApi : IResource { endpoint: String, options: HttpDataSourceOptions, ): HttpDataSource = unwrap(this).addHttpDataSource(id, endpoint, - options.let(HttpDataSourceOptions::unwrap)).let(HttpDataSource::wrap) + options.let(HttpDataSourceOptions.Companion::unwrap)).let(HttpDataSource::wrap) /** * add a new http data source to this API. @@ -692,7 +709,7 @@ public interface IGraphqlApi : IResource { */ override fun addLambdaDataSource(id: String, lambdaFunction: IFunction): LambdaDataSource = unwrap(this).addLambdaDataSource(id, - lambdaFunction.let(IFunction::unwrap)).let(LambdaDataSource::wrap) + lambdaFunction.let(IFunction.Companion::unwrap)).let(LambdaDataSource::wrap) /** * add a new Lambda data source to this API. @@ -706,8 +723,8 @@ public interface IGraphqlApi : IResource { lambdaFunction: IFunction, options: DataSourceOptions, ): LambdaDataSource = unwrap(this).addLambdaDataSource(id, - lambdaFunction.let(IFunction::unwrap), - options.let(DataSourceOptions::unwrap)).let(LambdaDataSource::wrap) + lambdaFunction.let(IFunction.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(LambdaDataSource::wrap) /** * add a new Lambda data source to this API. @@ -747,7 +764,7 @@ public interface IGraphqlApi : IResource { */ override fun addNoneDataSource(id: String, options: DataSourceOptions): NoneDataSource = unwrap(this).addNoneDataSource(id, - options.let(DataSourceOptions::unwrap)).let(NoneDataSource::wrap) + options.let(DataSourceOptions.Companion::unwrap)).let(NoneDataSource::wrap) /** * add a new dummy data source to this API. @@ -772,7 +789,7 @@ public interface IGraphqlApi : IResource { */ override fun addOpenSearchDataSource(id: String, domain: OpensearchserviceIDomain): OpenSearchDataSource = unwrap(this).addOpenSearchDataSource(id, - domain.let(OpensearchserviceIDomain::unwrap)).let(OpenSearchDataSource::wrap) + domain.let(OpensearchserviceIDomain.Companion::unwrap)).let(OpenSearchDataSource::wrap) /** * Add a new OpenSearch data source to this API. @@ -786,8 +803,8 @@ public interface IGraphqlApi : IResource { domain: OpensearchserviceIDomain, options: DataSourceOptions, ): OpenSearchDataSource = unwrap(this).addOpenSearchDataSource(id, - domain.let(OpensearchserviceIDomain::unwrap), - options.let(DataSourceOptions::unwrap)).let(OpenSearchDataSource::wrap) + domain.let(OpensearchserviceIDomain.Companion::unwrap), + options.let(DataSourceOptions.Companion::unwrap)).let(OpenSearchDataSource::wrap) /** * Add a new OpenSearch data source to this API. @@ -819,8 +836,8 @@ public interface IGraphqlApi : IResource { serverlessCluster: IServerlessCluster, secretStore: ISecret, ): RdsDataSource = unwrap(this).addRdsDataSource(id, - serverlessCluster.let(IServerlessCluster::unwrap), - secretStore.let(ISecret::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IServerlessCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -838,8 +855,8 @@ public interface IGraphqlApi : IResource { secretStore: ISecret, databaseName: String, ): RdsDataSource = unwrap(this).addRdsDataSource(id, - serverlessCluster.let(IServerlessCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName).let(RdsDataSource::wrap) + serverlessCluster.let(IServerlessCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -858,8 +875,9 @@ public interface IGraphqlApi : IResource { databaseName: String, options: DataSourceOptions, ): RdsDataSource = unwrap(this).addRdsDataSource(id, - serverlessCluster.let(IServerlessCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName, options.let(DataSourceOptions::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IServerlessCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName, + options.let(DataSourceOptions.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds data source to this API. @@ -897,8 +915,8 @@ public interface IGraphqlApi : IResource { serverlessCluster: IDatabaseCluster, secretStore: ISecret, ): RdsDataSource = unwrap(this).addRdsDataSourceV2(id, - serverlessCluster.let(IDatabaseCluster::unwrap), - secretStore.let(ISecret::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IDatabaseCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds Serverless V2 data source to this API. @@ -916,8 +934,8 @@ public interface IGraphqlApi : IResource { secretStore: ISecret, databaseName: String, ): RdsDataSource = unwrap(this).addRdsDataSourceV2(id, - serverlessCluster.let(IDatabaseCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName).let(RdsDataSource::wrap) + serverlessCluster.let(IDatabaseCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName).let(RdsDataSource::wrap) /** * add a new Rds Serverless V2 data source to this API. @@ -936,8 +954,9 @@ public interface IGraphqlApi : IResource { databaseName: String, options: DataSourceOptions, ): RdsDataSource = unwrap(this).addRdsDataSourceV2(id, - serverlessCluster.let(IDatabaseCluster::unwrap), secretStore.let(ISecret::unwrap), - databaseName, options.let(DataSourceOptions::unwrap)).let(RdsDataSource::wrap) + serverlessCluster.let(IDatabaseCluster.Companion::unwrap), + secretStore.let(ISecret.Companion::unwrap), databaseName, + options.let(DataSourceOptions.Companion::unwrap)).let(RdsDataSource::wrap) /** * add a new Rds Serverless V2 data source to this API. @@ -966,7 +985,7 @@ public interface IGraphqlApi : IResource { * @param construct the dependee. */ override fun addSchemaDependency(construct: CfnResource): Boolean = - unwrap(this).addSchemaDependency(construct.let(CfnResource::unwrap)) + unwrap(this).addSchemaDependency(construct.let(CfnResource.Companion::unwrap)) /** * an unique AWS AppSync GraphQL API identifier i.e. 'lxz775lwdrgcndgz3nurvac7oa'. @@ -987,7 +1006,7 @@ public interface IGraphqlApi : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1003,7 +1022,7 @@ public interface IGraphqlApi : IResource { */ override fun createResolver(id: String, props: ExtendedResolverProps): Resolver = unwrap(this).createResolver(id, - props.let(ExtendedResolverProps::unwrap)).let(Resolver::wrap) + props.let(ExtendedResolverProps.Companion::unwrap)).let(Resolver::wrap) /** * creates a new resolver for this datasource and API using the given properties. @@ -1040,8 +1059,8 @@ public interface IGraphqlApi : IResource { grantee: IGrantable, resources: IamResource, vararg actions: String, - ): Grant = unwrap(this).grant(grantee.let(IGrantable::unwrap), - resources.let(IamResource::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as + ): Grant = unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + resources.let(IamResource.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -1052,7 +1071,7 @@ public interface IGraphqlApi : IResource { * @param fields The fields to grant access to that are Mutations (leave blank for all). */ override fun grantMutation(grantee: IGrantable, vararg fields: String): Grant = - unwrap(this).grantMutation(grantee.let(IGrantable::unwrap), + unwrap(this).grantMutation(grantee.let(IGrantable.Companion::unwrap), *fields.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -1063,7 +1082,7 @@ public interface IGraphqlApi : IResource { * @param fields The fields to grant access to that are Queries (leave blank for all). */ override fun grantQuery(grantee: IGrantable, vararg fields: String): Grant = - unwrap(this).grantQuery(grantee.let(IGrantable::unwrap), + unwrap(this).grantQuery(grantee.let(IGrantable.Companion::unwrap), *fields.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -1074,15 +1093,31 @@ public interface IGraphqlApi : IResource { * @param fields The fields to grant access to that are Subscriptions (leave blank for all). */ override fun grantSubscription(grantee: IGrantable, vararg fields: String): Grant = - unwrap(this).grantSubscription(grantee.let(IGrantable::unwrap), + unwrap(this).grantSubscription(grantee.let(IGrantable.Companion::unwrap), *fields.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) + /** + * The GraphQL endpoint ARN. + */ + override fun graphQLEndpointArn(): String = unwrap(this).getGraphQLEndpointArn() + + /** + * The Authorization Types for this GraphQL Api. + */ + override fun modes(): List = + unwrap(this).getModes().map(AuthorizationType::wrap) + override fun node(): Node = unwrap(this).getNode().let(Node::wrap) /** * The stack in which this resource is defined. */ override fun stack(): Stack = unwrap(this).getStack().let(Stack::wrap) + + /** + * the visibility of the API. + */ + override fun visibility(): Visibility = unwrap(this).getVisibility().let(Visibility::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISchema.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISchema.kt index 32106d9d51..a713e9baf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISchema.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISchema.kt @@ -53,7 +53,7 @@ public interface ISchema { * @param options configuration for bind behavior. */ override fun bind(api: IGraphqlApi): ISchemaConfig = - unwrap(this).bind(api.let(IGraphqlApi::unwrap)).let(ISchemaConfig::wrap) + unwrap(this).bind(api.let(IGraphqlApi.Companion::unwrap)).let(ISchemaConfig::wrap) /** * Binds a schema string to a GraphQlApi. @@ -63,8 +63,8 @@ public interface ISchema { * @param options configuration for bind behavior. */ override fun bind(api: IGraphqlApi, options: SchemaBindOptions): ISchemaConfig = - unwrap(this).bind(api.let(IGraphqlApi::unwrap), - options.let(SchemaBindOptions::unwrap)).let(ISchemaConfig::wrap) + unwrap(this).bind(api.let(IGraphqlApi.Companion::unwrap), + options.let(SchemaBindOptions.Companion::unwrap)).let(ISchemaConfig::wrap) /** * Binds a schema string to a GraphQlApi. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISourceApiAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISourceApiAssociation.kt index fc3a087f82..e2a3fdfbdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISourceApiAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ISourceApiAssociation.kt @@ -52,7 +52,7 @@ public interface ISourceApiAssociation : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IamResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IamResource.kt index 22d06d190c..8816f2f0dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IamResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/IamResource.kt @@ -28,7 +28,7 @@ public open class IamResource( * @param api The GraphQL API to give permissions. */ public open fun resourceArns(api: GraphqlApiBase): List = - unwrap(this).resourceArns(api.let(GraphqlApiBase::unwrap)) + unwrap(this).resourceArns(api.let(GraphqlApiBase.Companion::unwrap)) public companion object { public fun all(): IamResource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/InlineCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/InlineCode.kt index a8d5cd3442..de38501987 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/InlineCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/InlineCode.kt @@ -29,7 +29,7 @@ public open class InlineCode( * @param _scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.appsync.InlineCode): InlineCode = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/KeyCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/KeyCondition.kt index 6b09d73340..7a19b2754f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/KeyCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/KeyCondition.kt @@ -26,7 +26,7 @@ public open class KeyCondition( * @param keyCond */ public open fun and(keyCond: KeyCondition): KeyCondition = - unwrap(this).and(keyCond.let(KeyCondition::unwrap)).let(KeyCondition::wrap) + unwrap(this).and(keyCond.let(KeyCondition.Companion::unwrap)).let(KeyCondition::wrap) /** * Renders the key condition to a VTL string. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaAuthorizerConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaAuthorizerConfig.kt index 41b22b265c..c3bbc45d73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaAuthorizerConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaAuthorizerConfig.kt @@ -89,7 +89,7 @@ public interface LambdaAuthorizerConfig { * @param handler The authorizer lambda function. */ override fun handler(handler: IFunction) { - cdkBuilder.handler(handler.let(IFunction::unwrap)) + cdkBuilder.handler(handler.let(IFunction.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public interface LambdaAuthorizerConfig { * Disable caching by setting this to 0. */ override fun resultsCacheTtl(resultsCacheTtl: Duration) { - cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration::unwrap)) + cdkBuilder.resultsCacheTtl(resultsCacheTtl.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSource.kt index 31aca81131..6f6ae6899b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSource.kt @@ -42,8 +42,8 @@ public open class LambdaDataSource( id: String, props: LambdaDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.LambdaDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.LambdaDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LambdaDataSourceProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class LambdaDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class LambdaDataSource( * @param lambdaFunction The Lambda function to call to interact with this data source. */ override fun lambdaFunction(lambdaFunction: IFunction) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class LambdaDataSource( * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.LambdaDataSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSourceProps.kt index 79543a7be6..8955c457a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LambdaDataSourceProps.kt @@ -80,7 +80,7 @@ public interface LambdaDataSourceProps : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface LambdaDataSourceProps : BackedDataSourceProps { * @param lambdaFunction The Lambda function to call to interact with this data source. */ override fun lambdaFunction(lambdaFunction: IFunction) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface LambdaDataSourceProps : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.LambdaDataSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LogConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LogConfig.kt index 85f52b78be..5c23b4e0ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LogConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/LogConfig.kt @@ -113,14 +113,14 @@ public interface LogConfig { * @param excludeVerboseContent exclude verbose content. */ override fun excludeVerboseContent(excludeVerboseContent: IResolvable) { - cdkBuilder.excludeVerboseContent(excludeVerboseContent.let(IResolvable::unwrap)) + cdkBuilder.excludeVerboseContent(excludeVerboseContent.let(IResolvable.Companion::unwrap)) } /** * @param fieldLogLevel log level for fields. */ override fun fieldLogLevel(fieldLogLevel: FieldLogLevel) { - cdkBuilder.fieldLogLevel(fieldLogLevel.let(FieldLogLevel::unwrap)) + cdkBuilder.fieldLogLevel(fieldLogLevel.let(FieldLogLevel.Companion::unwrap)) } /** @@ -130,14 +130,14 @@ public interface LogConfig { * To remove the retention policy, set the value to `INFINITE` */ override fun retention(retention: RetentionDays) { - cdkBuilder.retention(retention.let(RetentionDays::unwrap)) + cdkBuilder.retention(retention.let(RetentionDays.Companion::unwrap)) } /** * @param role The role for CloudWatch Logs. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.LogConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/MappingTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/MappingTemplate.kt index 5e1c220855..1b34fe9c38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/MappingTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/MappingTemplate.kt @@ -82,14 +82,14 @@ public abstract class MappingTemplate( consistentRead).let(MappingTemplate::wrap) public fun dynamoDbPutItem(key: PrimaryKey, values: AttributeValues): MappingTemplate = - software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbPutItem(key.let(PrimaryKey::unwrap), - values.let(AttributeValues::unwrap)).let(MappingTemplate::wrap) + software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbPutItem(key.let(PrimaryKey.Companion::unwrap), + values.let(AttributeValues.Companion::unwrap)).let(MappingTemplate::wrap) public fun dynamoDbQuery(cond: KeyCondition): MappingTemplate = - software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbQuery(cond.let(KeyCondition::unwrap)).let(MappingTemplate::wrap) + software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbQuery(cond.let(KeyCondition.Companion::unwrap)).let(MappingTemplate::wrap) public fun dynamoDbQuery(cond: KeyCondition, indexName: String): MappingTemplate = - software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbQuery(cond.let(KeyCondition::unwrap), + software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbQuery(cond.let(KeyCondition.Companion::unwrap), indexName).let(MappingTemplate::wrap) public fun dynamoDbQuery( @@ -97,7 +97,7 @@ public abstract class MappingTemplate( indexName: String, consistentRead: Boolean, ): MappingTemplate = - software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbQuery(cond.let(KeyCondition::unwrap), + software.amazon.awscdk.services.appsync.MappingTemplate.dynamoDbQuery(cond.let(KeyCondition.Companion::unwrap), indexName, consistentRead).let(MappingTemplate::wrap) public fun dynamoDbResultItem(): MappingTemplate = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSource.kt index cc27858cc3..f0a00a4be8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSource.kt @@ -34,8 +34,8 @@ public open class NoneDataSource( id: String, props: NoneDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.NoneDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NoneDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.NoneDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NoneDataSourceProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class NoneDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSourceProps.kt index 11611bb0e9..fa0df1d915 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/NoneDataSourceProps.kt @@ -56,7 +56,7 @@ public interface NoneDataSourceProps : BaseDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSource.kt index 9bc7dd3f60..9175d6a44f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSource.kt @@ -53,8 +53,8 @@ public open class OpenSearchDataSource( id: String, props: OpenSearchDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.OpenSearchDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(OpenSearchDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.OpenSearchDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(OpenSearchDataSourceProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class OpenSearchDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class OpenSearchDataSource( * @param domain The OpenSearch domain containing the endpoint for the data source. */ override fun domain(domain: IDomain) { - cdkBuilder.domain(domain.let(IDomain::unwrap)) + cdkBuilder.domain(domain.let(IDomain.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class OpenSearchDataSource( * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.OpenSearchDataSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSourceProps.kt index 62db6a2d04..31e67a9e6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/OpenSearchDataSourceProps.kt @@ -81,7 +81,7 @@ public interface OpenSearchDataSourceProps : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface OpenSearchDataSourceProps : BackedDataSourceProps { * @param domain The OpenSearch domain containing the endpoint for the data source. */ override fun domain(domain: IDomain) { - cdkBuilder.domain(domain.let(IDomain::unwrap)) + cdkBuilder.domain(domain.let(IDomain.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface OpenSearchDataSourceProps : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.OpenSearchDataSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PartitionKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PartitionKey.kt index 3c06702018..60764bcc79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PartitionKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PartitionKey.kt @@ -24,7 +24,7 @@ public open class PartitionKey( cdkObject: software.amazon.awscdk.services.appsync.PartitionKey, ) : PrimaryKey(cdkObject) { public constructor(pkey: Assign) : - this(software.amazon.awscdk.services.appsync.PartitionKey(pkey.let(Assign::unwrap)) + this(software.amazon.awscdk.services.appsync.PartitionKey(pkey.let(Assign.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PrimaryKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PrimaryKey.kt index 48a0cb9380..8a2bf8e8c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PrimaryKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/PrimaryKey.kt @@ -62,12 +62,12 @@ public open class PrimaryKey( cdkObject: software.amazon.awscdk.services.appsync.PrimaryKey, ) : CdkObject(cdkObject) { public constructor(pkey: Assign) : - this(software.amazon.awscdk.services.appsync.PrimaryKey(pkey.let(Assign::unwrap)) + this(software.amazon.awscdk.services.appsync.PrimaryKey(pkey.let(Assign.Companion::unwrap)) ) public constructor(pkey: Assign, skey: Assign) : - this(software.amazon.awscdk.services.appsync.PrimaryKey(pkey.let(Assign::unwrap), - skey.let(Assign::unwrap)) + this(software.amazon.awscdk.services.appsync.PrimaryKey(pkey.let(Assign.Companion::unwrap), + skey.let(Assign.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSource.kt index fd8bbf602b..828c31914b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSource.kt @@ -64,8 +64,8 @@ public open class RdsDataSource( id: String, props: RdsDataSourceProps, ) : - this(software.amazon.awscdk.services.appsync.RdsDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RdsDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.appsync.RdsDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RdsDataSourceProps.Companion::unwrap)) ) public constructor( @@ -152,7 +152,7 @@ public open class RdsDataSource( * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class RdsDataSource( * @param secretStore The secret containing the credentials for the database. */ override fun secretStore(secretStore: ISecret) { - cdkBuilder.secretStore(secretStore.let(ISecret::unwrap)) + cdkBuilder.secretStore(secretStore.let(ISecret.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class RdsDataSource( * @param serverlessCluster The serverless cluster to call to interact with this data source. */ override fun serverlessCluster(serverlessCluster: IServerlessCluster) { - cdkBuilder.serverlessCluster(serverlessCluster.let(IServerlessCluster::unwrap)) + cdkBuilder.serverlessCluster(serverlessCluster.let(IServerlessCluster.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class RdsDataSource( * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.RdsDataSource = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourceProps.kt index 92d1e93592..8a65f2a43f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourceProps.kt @@ -107,7 +107,7 @@ public interface RdsDataSourceProps : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -135,14 +135,14 @@ public interface RdsDataSourceProps : BackedDataSourceProps { * @param secretStore The secret containing the credentials for the database. */ override fun secretStore(secretStore: ISecret) { - cdkBuilder.secretStore(secretStore.let(ISecret::unwrap)) + cdkBuilder.secretStore(secretStore.let(ISecret.Companion::unwrap)) } /** * @param serverlessCluster The serverless cluster to call to interact with this data source. */ override fun serverlessCluster(serverlessCluster: IServerlessCluster) { - cdkBuilder.serverlessCluster(serverlessCluster.let(IServerlessCluster::unwrap)) + cdkBuilder.serverlessCluster(serverlessCluster.let(IServerlessCluster.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface RdsDataSourceProps : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.RdsDataSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourcePropsV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourcePropsV2.kt index 5df7ee7457..df3e0b5282 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourcePropsV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/RdsDataSourcePropsV2.kt @@ -107,7 +107,7 @@ public interface RdsDataSourcePropsV2 : BackedDataSourceProps { * @param api The API to attach this data source to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -135,14 +135,14 @@ public interface RdsDataSourcePropsV2 : BackedDataSourceProps { * @param secretStore The secret containing the credentials for the database. */ override fun secretStore(secretStore: ISecret) { - cdkBuilder.secretStore(secretStore.let(ISecret::unwrap)) + cdkBuilder.secretStore(secretStore.let(ISecret.Companion::unwrap)) } /** * @param serverlessCluster The serverless cluster to call to interact with this data source. */ override fun serverlessCluster(serverlessCluster: IDatabaseCluster) { - cdkBuilder.serverlessCluster(serverlessCluster.let(IDatabaseCluster::unwrap)) + cdkBuilder.serverlessCluster(serverlessCluster.let(IDatabaseCluster.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface RdsDataSourcePropsV2 : BackedDataSourceProps { * source. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.RdsDataSourcePropsV2 = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Resolver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Resolver.kt index 80fb757197..2b8db93c7e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Resolver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/Resolver.kt @@ -38,8 +38,8 @@ public open class Resolver( id: String, props: ResolverProps, ) : - this(software.amazon.awscdk.services.appsync.Resolver(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ResolverProps::unwrap)) + this(software.amazon.awscdk.services.appsync.Resolver(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ResolverProps.Companion::unwrap)) ) public constructor( @@ -188,7 +188,7 @@ public open class Resolver( * @param api The API this resolver is attached to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class Resolver( * @param cachingConfig The caching configuration for this resolver. */ override fun cachingConfig(cachingConfig: CachingConfig) { - cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class Resolver( * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class Resolver( * @param dataSource The data source this resolver is using. */ override fun dataSource(dataSource: BaseDataSource) { - cdkBuilder.dataSource(dataSource.let(BaseDataSource::unwrap)) + cdkBuilder.dataSource(dataSource.let(BaseDataSource.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class Resolver( * @param pipelineConfig configuration of the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: List) { - cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class Resolver( * @param requestMappingTemplate The request mapping template for this resolver. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class Resolver( * @param responseMappingTemplate The response mapping template for this resolver. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class Resolver( * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ResolverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ResolverProps.kt index 1323b3799f..cee4aa00ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ResolverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/ResolverProps.kt @@ -117,14 +117,14 @@ public interface ResolverProps : ExtendedResolverProps { * @param api The API this resolver is attached to. */ override fun api(api: IGraphqlApi) { - cdkBuilder.api(api.let(IGraphqlApi::unwrap)) + cdkBuilder.api(api.let(IGraphqlApi.Companion::unwrap)) } /** * @param cachingConfig The caching configuration for this resolver. */ override fun cachingConfig(cachingConfig: CachingConfig) { - cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig::unwrap)) + cdkBuilder.cachingConfig(cachingConfig.let(CachingConfig.Companion::unwrap)) } /** @@ -139,14 +139,14 @@ public interface ResolverProps : ExtendedResolverProps { * @param code The function code. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param dataSource The data source this resolver is using. */ override fun dataSource(dataSource: BaseDataSource) { - cdkBuilder.dataSource(dataSource.let(BaseDataSource::unwrap)) + cdkBuilder.dataSource(dataSource.let(BaseDataSource.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface ResolverProps : ExtendedResolverProps { * @param pipelineConfig configuration of the pipeline resolver. */ override fun pipelineConfig(pipelineConfig: List) { - cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction::unwrap)) + cdkBuilder.pipelineConfig(pipelineConfig.map(IAppsyncFunction.Companion::unwrap)) } /** @@ -180,21 +180,21 @@ public interface ResolverProps : ExtendedResolverProps { * @param requestMappingTemplate The request mapping template for this resolver. */ override fun requestMappingTemplate(requestMappingTemplate: MappingTemplate) { - cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.requestMappingTemplate(requestMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param responseMappingTemplate The response mapping template for this resolver. */ override fun responseMappingTemplate(responseMappingTemplate: MappingTemplate) { - cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate::unwrap)) + cdkBuilder.responseMappingTemplate(responseMappingTemplate.let(MappingTemplate.Companion::unwrap)) } /** * @param runtime The functions runtime. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SchemaFile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SchemaFile.kt index b75eaebfb2..88bf797944 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SchemaFile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SchemaFile.kt @@ -53,7 +53,7 @@ public open class SchemaFile( cdkObject: software.amazon.awscdk.services.appsync.SchemaFile, ) : CdkObject(cdkObject), ISchema { public constructor(options: SchemaProps) : - this(software.amazon.awscdk.services.appsync.SchemaFile(options.let(SchemaProps::unwrap)) + this(software.amazon.awscdk.services.appsync.SchemaFile(options.let(SchemaProps.Companion::unwrap)) ) public constructor(options: SchemaProps.Builder.() -> Unit) : this(SchemaProps(options) @@ -66,7 +66,7 @@ public open class SchemaFile( * @param _options */ public override fun bind(api: IGraphqlApi): ISchemaConfig = - unwrap(this).bind(api.let(IGraphqlApi::unwrap)).let(ISchemaConfig::wrap) + unwrap(this).bind(api.let(IGraphqlApi.Companion::unwrap)).let(ISchemaConfig::wrap) /** * Called when the GraphQL Api is initialized to allow this object to bind to the stack. @@ -75,8 +75,8 @@ public open class SchemaFile( * @param _options */ public override fun bind(api: IGraphqlApi, options: SchemaBindOptions): ISchemaConfig = - unwrap(this).bind(api.let(IGraphqlApi::unwrap), - options.let(SchemaBindOptions::unwrap)).let(ISchemaConfig::wrap) + unwrap(this).bind(api.let(IGraphqlApi.Companion::unwrap), + options.let(SchemaBindOptions.Companion::unwrap)).let(ISchemaConfig::wrap) /** * Called when the GraphQL Api is initialized to allow this object to bind to the stack. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SortKeyStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SortKeyStep.kt index 6eb565c1ad..4110ad602d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SortKeyStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SortKeyStep.kt @@ -22,7 +22,8 @@ public open class SortKeyStep( cdkObject: software.amazon.awscdk.services.appsync.SortKeyStep, ) : CdkObject(cdkObject) { public constructor(pkey: Assign, skey: String) : - this(software.amazon.awscdk.services.appsync.SortKeyStep(pkey.let(Assign::unwrap), skey) + this(software.amazon.awscdk.services.appsync.SortKeyStep(pkey.let(Assign.Companion::unwrap), + skey) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApi.kt index 7ed002aa3d..d02325943e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApi.kt @@ -80,14 +80,14 @@ public interface SourceApi { * @param mergeType Merging option used to associate the source API to the Merged API. */ override fun mergeType(mergeType: MergeType) { - cdkBuilder.mergeType(mergeType.let(MergeType::unwrap)) + cdkBuilder.mergeType(mergeType.let(MergeType.Companion::unwrap)) } /** * @param sourceApi Source API that is associated with the merged API. */ override fun sourceApi(sourceApi: IGraphqlApi) { - cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi::unwrap)) + cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.SourceApi = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociation.kt index 6cde595b66..e4c3a35a96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociation.kt @@ -47,8 +47,8 @@ public open class SourceApiAssociation( id: String, props: SourceApiAssociationProps, ) : - this(software.amazon.awscdk.services.appsync.SourceApiAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SourceApiAssociationProps::unwrap)) + this(software.amazon.awscdk.services.appsync.SourceApiAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SourceApiAssociationProps.Companion::unwrap)) ) public constructor( @@ -161,7 +161,7 @@ public open class SourceApiAssociation( * @param mergeType The merge type for the source. */ override fun mergeType(mergeType: MergeType) { - cdkBuilder.mergeType(mergeType.let(MergeType::unwrap)) + cdkBuilder.mergeType(mergeType.let(MergeType.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class SourceApiAssociation( * @param mergedApi The merged api to associate. */ override fun mergedApi(mergedApi: IGraphqlApi) { - cdkBuilder.mergedApi(mergedApi.let(IGraphqlApi::unwrap)) + cdkBuilder.mergedApi(mergedApi.let(IGraphqlApi.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class SourceApiAssociation( * the source api. */ override fun mergedApiExecutionRole(mergedApiExecutionRole: IRole) { - cdkBuilder.mergedApiExecutionRole(mergedApiExecutionRole.let(IRole::unwrap)) + cdkBuilder.mergedApiExecutionRole(mergedApiExecutionRole.let(IRole.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class SourceApiAssociation( * @param sourceApi The source api to associate. */ override fun sourceApi(sourceApi: IGraphqlApi) { - cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi::unwrap)) + cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.SourceApiAssociation = @@ -202,8 +202,9 @@ public open class SourceApiAssociation( id: String, attrs: SourceApiAssociationAttributes, ): ISourceApiAssociation = - software.amazon.awscdk.services.appsync.SourceApiAssociation.fromSourceApiAssociationAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(SourceApiAssociationAttributes::unwrap)).let(ISourceApiAssociation::wrap) + software.amazon.awscdk.services.appsync.SourceApiAssociation.fromSourceApiAssociationAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(SourceApiAssociationAttributes.Companion::unwrap)).let(ISourceApiAssociation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5464ee7cc08fc1fa25912b5e23ef40dbd44184829a79ee6236182e9f0a6ee3a4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationAttributes.kt index 85a1f39f4c..01e2b37d99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationAttributes.kt @@ -79,14 +79,14 @@ public interface SourceApiAssociationAttributes { * @param mergedApi The merged api in the association. */ override fun mergedApi(mergedApi: IGraphqlApi) { - cdkBuilder.mergedApi(mergedApi.let(IGraphqlApi::unwrap)) + cdkBuilder.mergedApi(mergedApi.let(IGraphqlApi.Companion::unwrap)) } /** * @param sourceApi The source api in the association. */ override fun sourceApi(sourceApi: IGraphqlApi) { - cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi::unwrap)) + cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.SourceApiAssociationAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationProps.kt index 16140b3d7e..c2f0b8286f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiAssociationProps.kt @@ -113,14 +113,14 @@ public interface SourceApiAssociationProps { * @param mergeType The merge type for the source. */ override fun mergeType(mergeType: MergeType) { - cdkBuilder.mergeType(mergeType.let(MergeType::unwrap)) + cdkBuilder.mergeType(mergeType.let(MergeType.Companion::unwrap)) } /** * @param mergedApi The merged api to associate. */ override fun mergedApi(mergedApi: IGraphqlApi) { - cdkBuilder.mergedApi(mergedApi.let(IGraphqlApi::unwrap)) + cdkBuilder.mergedApi(mergedApi.let(IGraphqlApi.Companion::unwrap)) } /** @@ -128,14 +128,14 @@ public interface SourceApiAssociationProps { * the source api. */ override fun mergedApiExecutionRole(mergedApiExecutionRole: IRole) { - cdkBuilder.mergedApiExecutionRole(mergedApiExecutionRole.let(IRole::unwrap)) + cdkBuilder.mergedApiExecutionRole(mergedApiExecutionRole.let(IRole.Companion::unwrap)) } /** * @param sourceApi The source api to associate. */ override fun sourceApi(sourceApi: IGraphqlApi) { - cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi::unwrap)) + cdkBuilder.sourceApi(sourceApi.let(IGraphqlApi.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.SourceApiAssociationProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiOptions.kt index 65f9255621..139df9ae26 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/SourceApiOptions.kt @@ -87,14 +87,14 @@ public interface SourceApiOptions { * to update the merged API endpoint with the source API changes. */ override fun mergedApiExecutionRole(mergedApiExecutionRole: Role) { - cdkBuilder.mergedApiExecutionRole(mergedApiExecutionRole.let(Role::unwrap)) + cdkBuilder.mergedApiExecutionRole(mergedApiExecutionRole.let(Role.Companion::unwrap)) } /** * @param sourceApis Definition of source APIs associated with this Merged API. */ override fun sourceApis(sourceApis: List) { - cdkBuilder.sourceApis(sourceApis.map(SourceApi::unwrap)) + cdkBuilder.sourceApis(sourceApis.map(SourceApi.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/UserPoolConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/UserPoolConfig.kt index 25e38d394c..e11790a074 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/UserPoolConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/appsync/UserPoolConfig.kt @@ -85,14 +85,14 @@ public interface UserPoolConfig { * @param defaultAction Default auth action. */ override fun defaultAction(defaultAction: UserPoolDefaultAction) { - cdkBuilder.defaultAction(defaultAction.let(UserPoolDefaultAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(UserPoolDefaultAction.Companion::unwrap)) } /** * @param userPool The Cognito user pool to use as identity source. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.appsync.UserPoolConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespace.kt index c8adf4f916..3668891aa2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespace.kt @@ -52,8 +52,8 @@ public open class CfnRuleGroupsNamespace( id: String, props: CfnRuleGroupsNamespaceProps, ) : - this(software.amazon.awscdk.services.aps.CfnRuleGroupsNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleGroupsNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.aps.CfnRuleGroupsNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleGroupsNamespaceProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnRuleGroupsNamespace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnRuleGroupsNamespace( * The list of tag keys and values that are associated with the rule groups namespace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnRuleGroupsNamespace( * namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespaceProps.kt index 6879ed6052..95c1bab177 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnRuleGroupsNamespaceProps.kt @@ -128,7 +128,7 @@ public interface CfnRuleGroupsNamespaceProps { * namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraper.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraper.kt index b6fa746f9e..f0c3f86f41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraper.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraper.kt @@ -85,8 +85,8 @@ public open class CfnScraper( id: String, props: CfnScraperProps, ) : - this(software.amazon.awscdk.services.aps.CfnScraper(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScraperProps::unwrap)) + this(software.amazon.awscdk.services.aps.CfnScraper(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScraperProps.Companion::unwrap)) ) public constructor( @@ -146,14 +146,14 @@ public open class CfnScraper( * The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. */ public open fun destination(`value`: IResolvable) { - unwrap(this).setDestination(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestination(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon Managed Service for Prometheus workspace the scraper sends metrics to. */ public open fun destination(`value`: DestinationProperty) { - unwrap(this).setDestination(`value`.let(DestinationProperty::unwrap)) + unwrap(this).setDestination(`value`.let(DestinationProperty.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnScraper( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -182,14 +182,14 @@ public open class CfnScraper( * The configuration in use by the scraper. */ public open fun scrapeConfiguration(`value`: IResolvable) { - unwrap(this).setScrapeConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setScrapeConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration in use by the scraper. */ public open fun scrapeConfiguration(`value`: ScrapeConfigurationProperty) { - unwrap(this).setScrapeConfiguration(`value`.let(ScrapeConfigurationProperty::unwrap)) + unwrap(this).setScrapeConfiguration(`value`.let(ScrapeConfigurationProperty.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public open class CfnScraper( * The Amazon EKS cluster from which the scraper collects metrics. */ public open fun source(`value`: IResolvable) { - unwrap(this).setSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon EKS cluster from which the scraper collects metrics. */ public open fun source(`value`: SourceProperty) { - unwrap(this).setSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnScraper( * (Optional) The list of tag keys and values associated with the scraper. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnScraper( * metrics to. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class CfnScraper( * metrics to. */ override fun destination(destination: DestinationProperty) { - cdkBuilder.destination(destination.let(DestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(DestinationProperty.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class CfnScraper( * @param scrapeConfiguration The configuration in use by the scraper. */ override fun scrapeConfiguration(scrapeConfiguration: IResolvable) { - cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class CfnScraper( * @param scrapeConfiguration The configuration in use by the scraper. */ override fun scrapeConfiguration(scrapeConfiguration: ScrapeConfigurationProperty) { - cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(ScrapeConfigurationProperty::unwrap)) + cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(ScrapeConfigurationProperty.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnScraper( * @param source The Amazon EKS cluster from which the scraper collects metrics. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnScraper( * @param source The Amazon EKS cluster from which the scraper collects metrics. */ override fun source(source: SourceProperty) { - cdkBuilder.source(source.let(SourceProperty::unwrap)) + cdkBuilder.source(source.let(SourceProperty.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnScraper( * @param tags (Optional) The list of tag keys and values associated with the scraper. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnScraper( * to. */ override fun ampConfiguration(ampConfiguration: IResolvable) { - cdkBuilder.ampConfiguration(ampConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ampConfiguration(ampConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnScraper( * to. */ override fun ampConfiguration(ampConfiguration: AmpConfigurationProperty) { - cdkBuilder.ampConfiguration(ampConfiguration.let(AmpConfigurationProperty::unwrap)) + cdkBuilder.ampConfiguration(ampConfiguration.let(AmpConfigurationProperty.Companion::unwrap)) } /** @@ -1012,14 +1012,14 @@ public open class CfnScraper( * @param eksConfiguration The Amazon EKS cluster from which a scraper collects metrics. */ override fun eksConfiguration(eksConfiguration: IResolvable) { - cdkBuilder.eksConfiguration(eksConfiguration.let(IResolvable::unwrap)) + cdkBuilder.eksConfiguration(eksConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param eksConfiguration The Amazon EKS cluster from which a scraper collects metrics. */ override fun eksConfiguration(eksConfiguration: EksConfigurationProperty) { - cdkBuilder.eksConfiguration(eksConfiguration.let(EksConfigurationProperty::unwrap)) + cdkBuilder.eksConfiguration(eksConfiguration.let(EksConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraperProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraperProps.kt index 2c30be84d8..73f62a1276 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraperProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnScraperProps.kt @@ -178,7 +178,7 @@ public interface CfnScraperProps { * metrics to. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public interface CfnScraperProps { * metrics to. */ override fun destination(destination: CfnScraper.DestinationProperty) { - cdkBuilder.destination(destination.let(CfnScraper.DestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(CfnScraper.DestinationProperty.Companion::unwrap)) } /** @@ -202,14 +202,14 @@ public interface CfnScraperProps { * @param scrapeConfiguration The configuration in use by the scraper. */ override fun scrapeConfiguration(scrapeConfiguration: IResolvable) { - cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param scrapeConfiguration The configuration in use by the scraper. */ override fun scrapeConfiguration(scrapeConfiguration: CfnScraper.ScrapeConfigurationProperty) { - cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(CfnScraper.ScrapeConfigurationProperty::unwrap)) + cdkBuilder.scrapeConfiguration(scrapeConfiguration.let(CfnScraper.ScrapeConfigurationProperty.Companion::unwrap)) } /** @@ -225,14 +225,14 @@ public interface CfnScraperProps { * @param source The Amazon EKS cluster from which the scraper collects metrics. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The Amazon EKS cluster from which the scraper collects metrics. */ override fun source(source: CfnScraper.SourceProperty) { - cdkBuilder.source(source.let(CfnScraper.SourceProperty::unwrap)) + cdkBuilder.source(source.let(CfnScraper.SourceProperty.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface CfnScraperProps { * @param tags (Optional) The list of tag keys and values associated with the scraper. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspace.kt index 9106630ba5..2103da82b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspace.kt @@ -50,7 +50,7 @@ public open class CfnWorkspace( cdkObject: software.amazon.awscdk.services.aps.CfnWorkspace, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.aps.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.aps.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -59,8 +59,8 @@ public open class CfnWorkspace( id: String, props: CfnWorkspaceProps, ) : - this(software.amazon.awscdk.services.aps.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkspaceProps::unwrap)) + this(software.amazon.awscdk.services.aps.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkspaceProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnWorkspace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,14 +152,14 @@ public open class CfnWorkspace( * Contains information about the logging configuration for the workspace. */ public open fun loggingConfiguration(`value`: IResolvable) { - unwrap(this).setLoggingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about the logging configuration for the workspace. */ public open fun loggingConfiguration(`value`: LoggingConfigurationProperty) { - unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnWorkspace( * The list of tag keys and values that are associated with the workspace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnWorkspace( * workspace. */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnWorkspace( * workspace. */ override fun loggingConfiguration(loggingConfiguration: LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class CfnWorkspace( * @param tags The list of tag keys and values that are associated with the workspace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspaceProps.kt index 6176e26b9a..27ddd3e9ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/aps/CfnWorkspaceProps.kt @@ -210,7 +210,7 @@ public interface CfnWorkspaceProps { * workspace. */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface CfnWorkspaceProps { */ override fun loggingConfiguration(loggingConfiguration: CfnWorkspace.LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnWorkspace.LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnWorkspace.LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public interface CfnWorkspaceProps { * @param tags The list of tag keys and values that are associated with the workspace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfiguration.kt index a1656e8dee..5fcf50b9bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfiguration.kt @@ -38,6 +38,8 @@ import software.constructs.Construct as SoftwareConstructsConstruct * import io.cloudshiftdev.awscdk.services.arczonalshift.*; * CfnZonalAutoshiftConfiguration cfnZonalAutoshiftConfiguration = * CfnZonalAutoshiftConfiguration.Builder.create(this, "MyCfnZonalAutoshiftConfiguration") + * .resourceIdentifier("resourceIdentifier") + * // the properties below are optional * .practiceRunConfiguration(PracticeRunConfigurationProperty.builder() * .outcomeAlarms(List.of(ControlConditionProperty.builder() * .alarmIdentifier("alarmIdentifier") @@ -51,7 +53,6 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .type("type") * .build())) * .build()) - * .resourceIdentifier("resourceIdentifier") * .zonalAutoshiftStatus("zonalAutoshiftStatus") * .build(); * ``` @@ -61,18 +62,13 @@ import software.constructs.Construct as SoftwareConstructsConstruct public open class CfnZonalAutoshiftConfiguration( cdkObject: software.amazon.awscdk.services.arczonalshift.CfnZonalAutoshiftConfiguration, ) : CfnResource(cdkObject), IInspectable { - public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.arczonalshift.CfnZonalAutoshiftConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id) - ) - public constructor( scope: CloudshiftdevConstructsConstruct, id: String, props: CfnZonalAutoshiftConfigurationProps, ) : - this(software.amazon.awscdk.services.arczonalshift.CfnZonalAutoshiftConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnZonalAutoshiftConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.arczonalshift.CfnZonalAutoshiftConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnZonalAutoshiftConfigurationProps.Companion::unwrap)) ) public constructor( @@ -88,7 +84,7 @@ public open class CfnZonalAutoshiftConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -104,7 +100,7 @@ public open class CfnZonalAutoshiftConfiguration( * run. */ public open fun practiceRunConfiguration(`value`: IResolvable) { - unwrap(this).setPracticeRunConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPracticeRunConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -113,7 +109,7 @@ public open class CfnZonalAutoshiftConfiguration( * run. */ public open fun practiceRunConfiguration(`value`: PracticeRunConfigurationProperty) { - unwrap(this).setPracticeRunConfiguration(`value`.let(PracticeRunConfigurationProperty::unwrap)) + unwrap(this).setPracticeRunConfiguration(`value`.let(PracticeRunConfigurationProperty.Companion::unwrap)) } /** @@ -130,7 +126,7 @@ public open class CfnZonalAutoshiftConfiguration( /** * The identifier for the resource that AWS shifts traffic for. */ - public open fun resourceIdentifier(): String? = unwrap(this).getResourceIdentifier() + public open fun resourceIdentifier(): String = unwrap(this).getResourceIdentifier() /** * The identifier for the resource that AWS shifts traffic for. @@ -292,7 +288,7 @@ public open class CfnZonalAutoshiftConfiguration( * or blocked windows for the practice run. */ override fun practiceRunConfiguration(practiceRunConfiguration: IResolvable) { - cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(IResolvable::unwrap)) + cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -318,7 +314,7 @@ public open class CfnZonalAutoshiftConfiguration( */ override fun practiceRunConfiguration(practiceRunConfiguration: PracticeRunConfigurationProperty) { - cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(PracticeRunConfigurationProperty::unwrap)) + cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(PracticeRunConfigurationProperty.Companion::unwrap)) } /** @@ -775,7 +771,7 @@ public open class CfnZonalAutoshiftConfiguration( * started, and ends practice runs that are in progress. */ override fun blockingAlarms(blockingAlarms: IResolvable) { - cdkBuilder.blockingAlarms(blockingAlarms.let(IResolvable::unwrap)) + cdkBuilder.blockingAlarms(blockingAlarms.let(IResolvable.Companion::unwrap)) } /** @@ -804,7 +800,7 @@ public open class CfnZonalAutoshiftConfiguration( * outcome is set to `FAILED` . */ override fun outcomeAlarms(outcomeAlarms: IResolvable) { - cdkBuilder.outcomeAlarms(outcomeAlarms.let(IResolvable::unwrap)) + cdkBuilder.outcomeAlarms(outcomeAlarms.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfigurationProps.kt index 5fade40170..5c28d02977 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/arczonalshift/CfnZonalAutoshiftConfigurationProps.kt @@ -22,6 +22,8 @@ import kotlin.jvm.JvmName * import io.cloudshiftdev.awscdk.services.arczonalshift.*; * CfnZonalAutoshiftConfigurationProps cfnZonalAutoshiftConfigurationProps = * CfnZonalAutoshiftConfigurationProps.builder() + * .resourceIdentifier("resourceIdentifier") + * // the properties below are optional * .practiceRunConfiguration(PracticeRunConfigurationProperty.builder() * .outcomeAlarms(List.of(ControlConditionProperty.builder() * .alarmIdentifier("alarmIdentifier") @@ -35,7 +37,6 @@ import kotlin.jvm.JvmName * .type("type") * .build())) * .build()) - * .resourceIdentifier("resourceIdentifier") * .zonalAutoshiftStatus("zonalAutoshiftStatus") * .build(); * ``` @@ -73,7 +74,7 @@ public interface CfnZonalAutoshiftConfigurationProps { * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html#cfn-arczonalshift-zonalautoshiftconfiguration-resourceidentifier) */ - public fun resourceIdentifier(): String? = unwrap(this).getResourceIdentifier() + public fun resourceIdentifier(): String /** * When zonal autoshift is `ENABLED` , you authorize AWS to shift away resource traffic for an @@ -147,7 +148,7 @@ public interface CfnZonalAutoshiftConfigurationProps { fun practiceRunConfiguration(practiceRunConfiguration: CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty.Builder.() -> Unit) /** - * @param resourceIdentifier The identifier for the resource that AWS shifts traffic for. + * @param resourceIdentifier The identifier for the resource that AWS shifts traffic for. * The identifier is the Amazon Resource Name (ARN) for the resource. * * At this time, supported resources are Network Load Balancers and Application Load Balancers @@ -185,7 +186,7 @@ public interface CfnZonalAutoshiftConfigurationProps { * is required when zonal autoshift is enabled. */ override fun practiceRunConfiguration(practiceRunConfiguration: IResolvable) { - cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(IResolvable::unwrap)) + cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +206,7 @@ public interface CfnZonalAutoshiftConfigurationProps { */ override fun practiceRunConfiguration(practiceRunConfiguration: CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty) { - cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty::unwrap)) + cdkBuilder.practiceRunConfiguration(practiceRunConfiguration.let(CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty.Companion::unwrap)) } /** @@ -231,7 +232,7 @@ public interface CfnZonalAutoshiftConfigurationProps { practiceRunConfiguration(CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty(practiceRunConfiguration)) /** - * @param resourceIdentifier The identifier for the resource that AWS shifts traffic for. + * @param resourceIdentifier The identifier for the resource that AWS shifts traffic for. * The identifier is the Amazon Resource Name (ARN) for the resource. * * At this time, supported resources are Network Load Balancers and Application Load Balancers @@ -289,7 +290,7 @@ public interface CfnZonalAutoshiftConfigurationProps { * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html#cfn-arczonalshift-zonalautoshiftconfiguration-resourceidentifier) */ - override fun resourceIdentifier(): String? = unwrap(this).getResourceIdentifier() + override fun resourceIdentifier(): String = unwrap(this).getResourceIdentifier() /** * When zonal autoshift is `ENABLED` , you authorize AWS to shift away resource traffic for an diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservation.kt index b168e58b0b..1104527db7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservation.kt @@ -58,8 +58,8 @@ public open class CfnCapacityReservation( id: String, props: CfnCapacityReservationProps, ) : - this(software.amazon.awscdk.services.athena.CfnCapacityReservation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCapacityReservationProps::unwrap)) + this(software.amazon.awscdk.services.athena.CfnCapacityReservation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCapacityReservationProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnCapacityReservation( * Assigns Athena workgroups (and hence their queries) to capacity reservations. */ public open fun capacityAssignmentConfiguration(`value`: IResolvable) { - unwrap(this).setCapacityAssignmentConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCapacityAssignmentConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class CfnCapacityReservation( */ public open fun capacityAssignmentConfiguration(`value`: CapacityAssignmentConfigurationProperty) { - unwrap(this).setCapacityAssignmentConfiguration(`value`.let(CapacityAssignmentConfigurationProperty::unwrap)) + unwrap(this).setCapacityAssignmentConfiguration(`value`.let(CapacityAssignmentConfigurationProperty.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnCapacityReservation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnCapacityReservation( * An array of key-value pairs to apply to the capacity reservation. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnCapacityReservation( * capacity reservations. */ override fun capacityAssignmentConfiguration(capacityAssignmentConfiguration: IResolvable) { - cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnCapacityReservation( */ override fun capacityAssignmentConfiguration(capacityAssignmentConfiguration: CapacityAssignmentConfigurationProperty) { - cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(CapacityAssignmentConfigurationProperty::unwrap)) + cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(CapacityAssignmentConfigurationProperty.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CfnCapacityReservation( * @param tags An array of key-value pairs to apply to the capacity reservation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class CfnCapacityReservation( * configuration. */ override fun capacityAssignments(capacityAssignments: IResolvable) { - cdkBuilder.capacityAssignments(capacityAssignments.let(IResolvable::unwrap)) + cdkBuilder.capacityAssignments(capacityAssignments.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservationProps.kt index 9a2ec6f8c8..c9cb4b1fd4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnCapacityReservationProps.kt @@ -160,7 +160,7 @@ public interface CfnCapacityReservationProps { * workgroup is mapped to. */ override fun capacityAssignmentConfiguration(capacityAssignmentConfiguration: IResolvable) { - cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface CfnCapacityReservationProps { */ override fun capacityAssignmentConfiguration(capacityAssignmentConfiguration: CfnCapacityReservation.CapacityAssignmentConfigurationProperty) { - cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(CfnCapacityReservation.CapacityAssignmentConfigurationProperty::unwrap)) + cdkBuilder.capacityAssignmentConfiguration(capacityAssignmentConfiguration.let(CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface CfnCapacityReservationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalog.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalog.kt index 009f0be700..48f0626c3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalog.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalog.kt @@ -56,8 +56,8 @@ public open class CfnDataCatalog( id: String, props: CfnDataCatalogProps, ) : - this(software.amazon.awscdk.services.athena.CfnDataCatalog(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataCatalogProps::unwrap)) + this(software.amazon.awscdk.services.athena.CfnDataCatalog(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataCatalogProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnDataCatalog( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public open class CfnDataCatalog( * Specifies the Lambda function or functions to use for the data catalog. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnDataCatalog( * The tags (key-value pairs) to associate with this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public open class CfnDataCatalog( * @param parameters Specifies the Lambda function or functions to use for the data catalog. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class CfnDataCatalog( * @param tags The tags (key-value pairs) to associate with this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalogProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalogProps.kt index 3584f31873..fc1422c0b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalogProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnDataCatalogProps.kt @@ -253,7 +253,7 @@ public interface CfnDataCatalogProps { * exists in your account, of which you can have only one and cannot modify. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnDataCatalogProps { * @param tags The tags (key-value pairs) to associate with this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnNamedQuery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnNamedQuery.kt index 9ae4e1e540..75d309508b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnNamedQuery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnNamedQuery.kt @@ -41,8 +41,8 @@ public open class CfnNamedQuery( id: String, props: CfnNamedQueryProps, ) : - this(software.amazon.awscdk.services.athena.CfnNamedQuery(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNamedQueryProps::unwrap)) + this(software.amazon.awscdk.services.athena.CfnNamedQuery(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNamedQueryProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnNamedQuery( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnPreparedStatement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnPreparedStatement.kt index caa4431232..84a29cd6bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnPreparedStatement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnPreparedStatement.kt @@ -40,8 +40,8 @@ public open class CfnPreparedStatement( id: String, props: CfnPreparedStatementProps, ) : - this(software.amazon.awscdk.services.athena.CfnPreparedStatement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPreparedStatementProps::unwrap)) + this(software.amazon.awscdk.services.athena.CfnPreparedStatement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPreparedStatementProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnPreparedStatement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroup.kt index f05ab801c0..585540c735 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroup.kt @@ -121,8 +121,8 @@ public open class CfnWorkGroup( id: String, props: CfnWorkGroupProps, ) : - this(software.amazon.awscdk.services.athena.CfnWorkGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkGroupProps::unwrap)) + this(software.amazon.awscdk.services.athena.CfnWorkGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkGroupProps.Companion::unwrap)) ) public constructor( @@ -181,7 +181,7 @@ public open class CfnWorkGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnWorkGroup( * queries. */ public open fun recursiveDeleteOption(`value`: IResolvable) { - unwrap(this).setRecursiveDeleteOption(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecursiveDeleteOption(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnWorkGroup( * The tags (key-value pairs) to associate with this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnWorkGroup( * (cutoff) per query, if it is specified. */ public open fun workGroupConfiguration(`value`: IResolvable) { - unwrap(this).setWorkGroupConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkGroupConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnWorkGroup( * (cutoff) per query, if it is specified. */ public open fun workGroupConfiguration(`value`: WorkGroupConfigurationProperty) { - unwrap(this).setWorkGroupConfiguration(`value`.let(WorkGroupConfigurationProperty::unwrap)) + unwrap(this).setWorkGroupConfiguration(`value`.let(WorkGroupConfigurationProperty.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnWorkGroup( */ @Deprecated(message = "deprecated in CDK") public open fun workGroupConfigurationUpdates(`value`: IResolvable) { - unwrap(this).setWorkGroupConfigurationUpdates(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkGroupConfigurationUpdates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnWorkGroup( */ @Deprecated(message = "deprecated in CDK") public open fun workGroupConfigurationUpdates(`value`: WorkGroupConfigurationUpdatesProperty) { - unwrap(this).setWorkGroupConfigurationUpdates(`value`.let(WorkGroupConfigurationUpdatesProperty::unwrap)) + unwrap(this).setWorkGroupConfigurationUpdates(`value`.let(WorkGroupConfigurationUpdatesProperty.Companion::unwrap)) } /** @@ -584,7 +584,7 @@ public open class CfnWorkGroup( * workgroup contains any named queries. */ override fun recursiveDeleteOption(recursiveDeleteOption: IResolvable) { - cdkBuilder.recursiveDeleteOption(recursiveDeleteOption.let(IResolvable::unwrap)) + cdkBuilder.recursiveDeleteOption(recursiveDeleteOption.let(IResolvable.Companion::unwrap)) } /** @@ -604,7 +604,7 @@ public open class CfnWorkGroup( * @param tags The tags (key-value pairs) to associate with this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnWorkGroup( * amount of bytes scanned (cutoff) per query, if it is specified. */ override fun workGroupConfiguration(workGroupConfiguration: IResolvable) { - cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnWorkGroup( * amount of bytes scanned (cutoff) per query, if it is specified. */ override fun workGroupConfiguration(workGroupConfiguration: WorkGroupConfigurationProperty) { - cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(WorkGroupConfigurationProperty::unwrap)) + cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(WorkGroupConfigurationProperty.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnWorkGroup( */ @Deprecated(message = "deprecated in CDK") override fun workGroupConfigurationUpdates(workGroupConfigurationUpdates: IResolvable) { - cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(IResolvable::unwrap)) + cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(IResolvable.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnWorkGroup( @Deprecated(message = "deprecated in CDK") override fun workGroupConfigurationUpdates(workGroupConfigurationUpdates: WorkGroupConfigurationUpdatesProperty) { - cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(WorkGroupConfigurationUpdatesProperty::unwrap)) + cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(WorkGroupConfigurationUpdatesProperty.Companion::unwrap)) } /** @@ -1445,7 +1445,7 @@ public open class CfnWorkGroup( * storing query results specified in the workgroup. See `EnforceWorkGroupConfiguration` . */ override fun aclConfiguration(aclConfiguration: IResolvable) { - cdkBuilder.aclConfiguration(aclConfiguration.let(IResolvable::unwrap)) + cdkBuilder.aclConfiguration(aclConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1457,7 +1457,7 @@ public open class CfnWorkGroup( * storing query results specified in the workgroup. See `EnforceWorkGroupConfiguration` . */ override fun aclConfiguration(aclConfiguration: AclConfigurationProperty) { - cdkBuilder.aclConfiguration(aclConfiguration.let(AclConfigurationProperty::unwrap)) + cdkBuilder.aclConfiguration(aclConfiguration.let(AclConfigurationProperty.Companion::unwrap)) } /** @@ -1483,7 +1483,7 @@ public open class CfnWorkGroup( * Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1497,7 +1497,7 @@ public open class CfnWorkGroup( */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -1942,14 +1942,14 @@ public open class CfnWorkGroup( * @param aclConfiguration The ACL configuration for the query results. */ override fun aclConfiguration(aclConfiguration: IResolvable) { - cdkBuilder.aclConfiguration(aclConfiguration.let(IResolvable::unwrap)) + cdkBuilder.aclConfiguration(aclConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param aclConfiguration The ACL configuration for the query results. */ override fun aclConfiguration(aclConfiguration: AclConfigurationProperty) { - cdkBuilder.aclConfiguration(aclConfiguration.let(AclConfigurationProperty::unwrap)) + cdkBuilder.aclConfiguration(aclConfiguration.let(AclConfigurationProperty.Companion::unwrap)) } /** @@ -1964,7 +1964,7 @@ public open class CfnWorkGroup( * @param encryptionConfiguration The encryption configuration for the query results. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1972,7 +1972,7 @@ public open class CfnWorkGroup( */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -2039,7 +2039,7 @@ public open class CfnWorkGroup( * Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . */ override fun removeAclConfiguration(removeAclConfiguration: IResolvable) { - cdkBuilder.removeAclConfiguration(removeAclConfiguration.let(IResolvable::unwrap)) + cdkBuilder.removeAclConfiguration(removeAclConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2067,7 +2067,7 @@ public open class CfnWorkGroup( * Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . */ override fun removeEncryptionConfiguration(removeEncryptionConfiguration: IResolvable) { - cdkBuilder.removeEncryptionConfiguration(removeEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.removeEncryptionConfiguration(removeEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2093,7 +2093,7 @@ public open class CfnWorkGroup( * Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . */ override fun removeExpectedBucketOwner(removeExpectedBucketOwner: IResolvable) { - cdkBuilder.removeExpectedBucketOwner(removeExpectedBucketOwner.let(IResolvable::unwrap)) + cdkBuilder.removeExpectedBucketOwner(removeExpectedBucketOwner.let(IResolvable.Companion::unwrap)) } /** @@ -2121,7 +2121,7 @@ public open class CfnWorkGroup( * Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . */ override fun removeOutputLocation(removeOutputLocation: IResolvable) { - cdkBuilder.removeOutputLocation(removeOutputLocation.let(IResolvable::unwrap)) + cdkBuilder.removeOutputLocation(removeOutputLocation.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2583,7 +2583,7 @@ public open class CfnWorkGroup( */ override fun customerContentEncryptionConfiguration(customerContentEncryptionConfiguration: IResolvable) { - cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2593,7 +2593,7 @@ public open class CfnWorkGroup( */ override fun customerContentEncryptionConfiguration(customerContentEncryptionConfiguration: CustomerContentEncryptionConfigurationProperty) { - cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(CustomerContentEncryptionConfigurationProperty::unwrap)) + cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(CustomerContentEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -2627,21 +2627,21 @@ public open class CfnWorkGroup( * Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . */ override fun enforceWorkGroupConfiguration(enforceWorkGroupConfiguration: IResolvable) { - cdkBuilder.enforceWorkGroupConfiguration(enforceWorkGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.enforceWorkGroupConfiguration(enforceWorkGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param engineVersion The engine version that all queries running on the workgroup use. */ override fun engineVersion(engineVersion: IResolvable) { - cdkBuilder.engineVersion(engineVersion.let(IResolvable::unwrap)) + cdkBuilder.engineVersion(engineVersion.let(IResolvable.Companion::unwrap)) } /** * @param engineVersion The engine version that all queries running on the workgroup use. */ override fun engineVersion(engineVersion: EngineVersionProperty) { - cdkBuilder.engineVersion(engineVersion.let(EngineVersionProperty::unwrap)) + cdkBuilder.engineVersion(engineVersion.let(EngineVersionProperty.Companion::unwrap)) } /** @@ -2674,7 +2674,7 @@ public open class CfnWorkGroup( * enabled for the workgroup. */ override fun publishCloudWatchMetricsEnabled(publishCloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.publishCloudWatchMetricsEnabled(publishCloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.publishCloudWatchMetricsEnabled(publishCloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2700,7 +2700,7 @@ public open class CfnWorkGroup( * *Amazon Simple Storage Service Developer Guide* . */ override fun requesterPaysEnabled(requesterPaysEnabled: IResolvable) { - cdkBuilder.requesterPaysEnabled(requesterPaysEnabled.let(IResolvable::unwrap)) + cdkBuilder.requesterPaysEnabled(requesterPaysEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2710,7 +2710,7 @@ public open class CfnWorkGroup( * History](https://docs.aws.amazon.com/athena/latest/ug/querying.html) . */ override fun resultConfiguration(resultConfiguration: IResolvable) { - cdkBuilder.resultConfiguration(resultConfiguration.let(IResolvable::unwrap)) + cdkBuilder.resultConfiguration(resultConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2720,7 +2720,7 @@ public open class CfnWorkGroup( * History](https://docs.aws.amazon.com/athena/latest/ug/querying.html) . */ override fun resultConfiguration(resultConfiguration: ResultConfigurationProperty) { - cdkBuilder.resultConfiguration(resultConfiguration.let(ResultConfigurationProperty::unwrap)) + cdkBuilder.resultConfiguration(resultConfiguration.let(ResultConfigurationProperty.Companion::unwrap)) } /** @@ -3180,7 +3180,7 @@ public open class CfnWorkGroup( */ override fun customerContentEncryptionConfiguration(customerContentEncryptionConfiguration: IResolvable) { - cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3189,7 +3189,7 @@ public open class CfnWorkGroup( */ override fun customerContentEncryptionConfiguration(customerContentEncryptionConfiguration: CustomerContentEncryptionConfigurationProperty) { - cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(CustomerContentEncryptionConfigurationProperty::unwrap)) + cdkBuilder.customerContentEncryptionConfiguration(customerContentEncryptionConfiguration.let(CustomerContentEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -3218,21 +3218,21 @@ public open class CfnWorkGroup( * If set to "false", client-side settings are used */ override fun enforceWorkGroupConfiguration(enforceWorkGroupConfiguration: IResolvable) { - cdkBuilder.enforceWorkGroupConfiguration(enforceWorkGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.enforceWorkGroupConfiguration(enforceWorkGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param engineVersion The Athena engine version for running queries. */ override fun engineVersion(engineVersion: IResolvable) { - cdkBuilder.engineVersion(engineVersion.let(IResolvable::unwrap)) + cdkBuilder.engineVersion(engineVersion.let(IResolvable.Companion::unwrap)) } /** * @param engineVersion The Athena engine version for running queries. */ override fun engineVersion(engineVersion: EngineVersionProperty) { - cdkBuilder.engineVersion(engineVersion.let(EngineVersionProperty::unwrap)) + cdkBuilder.engineVersion(engineVersion.let(EngineVersionProperty.Companion::unwrap)) } /** @@ -3263,7 +3263,7 @@ public open class CfnWorkGroup( * enabled for the workgroup. */ override fun publishCloudWatchMetricsEnabled(publishCloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.publishCloudWatchMetricsEnabled(publishCloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.publishCloudWatchMetricsEnabled(publishCloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3279,7 +3279,7 @@ public open class CfnWorkGroup( * query is removed. */ override fun removeBytesScannedCutoffPerQuery(removeBytesScannedCutoffPerQuery: IResolvable) { - cdkBuilder.removeBytesScannedCutoffPerQuery(removeBytesScannedCutoffPerQuery.let(IResolvable::unwrap)) + cdkBuilder.removeBytesScannedCutoffPerQuery(removeBytesScannedCutoffPerQuery.let(IResolvable.Companion::unwrap)) } /** @@ -3295,7 +3295,7 @@ public open class CfnWorkGroup( */ override fun removeCustomerContentEncryptionConfiguration(removeCustomerContentEncryptionConfiguration: IResolvable) { - cdkBuilder.removeCustomerContentEncryptionConfiguration(removeCustomerContentEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.removeCustomerContentEncryptionConfiguration(removeCustomerContentEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3315,7 +3315,7 @@ public open class CfnWorkGroup( * queries that retrieve data from Requester Pays buckets cause an error. */ override fun requesterPaysEnabled(requesterPaysEnabled: IResolvable) { - cdkBuilder.requesterPaysEnabled(requesterPaysEnabled.let(IResolvable::unwrap)) + cdkBuilder.requesterPaysEnabled(requesterPaysEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3324,7 +3324,7 @@ public open class CfnWorkGroup( * Includes the updated results location and an updated option for encrypting query results. */ override fun resultConfigurationUpdates(resultConfigurationUpdates: IResolvable) { - cdkBuilder.resultConfigurationUpdates(resultConfigurationUpdates.let(IResolvable::unwrap)) + cdkBuilder.resultConfigurationUpdates(resultConfigurationUpdates.let(IResolvable.Companion::unwrap)) } /** @@ -3334,7 +3334,7 @@ public open class CfnWorkGroup( */ override fun resultConfigurationUpdates(resultConfigurationUpdates: ResultConfigurationUpdatesProperty) { - cdkBuilder.resultConfigurationUpdates(resultConfigurationUpdates.let(ResultConfigurationUpdatesProperty::unwrap)) + cdkBuilder.resultConfigurationUpdates(resultConfigurationUpdates.let(ResultConfigurationUpdatesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroupProps.kt index 29ed49e76d..26ae1e081e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/athena/CfnWorkGroupProps.kt @@ -313,7 +313,7 @@ public interface CfnWorkGroupProps { * The default is false. */ override fun recursiveDeleteOption(recursiveDeleteOption: IResolvable) { - cdkBuilder.recursiveDeleteOption(recursiveDeleteOption.let(IResolvable::unwrap)) + cdkBuilder.recursiveDeleteOption(recursiveDeleteOption.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface CfnWorkGroupProps { * @param tags The tags (key-value pairs) to associate with this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public interface CfnWorkGroupProps { * client-side query settings. */ override fun workGroupConfiguration(workGroupConfiguration: IResolvable) { - cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface CfnWorkGroupProps { */ override fun workGroupConfiguration(workGroupConfiguration: CfnWorkGroup.WorkGroupConfigurationProperty) { - cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(CfnWorkGroup.WorkGroupConfigurationProperty::unwrap)) + cdkBuilder.workGroupConfiguration(workGroupConfiguration.let(CfnWorkGroup.WorkGroupConfigurationProperty.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public interface CfnWorkGroupProps { */ @Deprecated(message = "deprecated in CDK") override fun workGroupConfigurationUpdates(workGroupConfigurationUpdates: IResolvable) { - cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(IResolvable::unwrap)) + cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface CfnWorkGroupProps { @Deprecated(message = "deprecated in CDK") override fun workGroupConfigurationUpdates(workGroupConfigurationUpdates: CfnWorkGroup.WorkGroupConfigurationUpdatesProperty) { - cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(CfnWorkGroup.WorkGroupConfigurationUpdatesProperty::unwrap)) + cdkBuilder.workGroupConfigurationUpdates(workGroupConfigurationUpdates.let(CfnWorkGroup.WorkGroupConfigurationUpdatesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessment.kt index 1789c819bf..6681ed029d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessment.kt @@ -87,7 +87,7 @@ public open class CfnAssessment( cdkObject: software.amazon.awscdk.services.auditmanager.CfnAssessment, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.auditmanager.CfnAssessment(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.auditmanager.CfnAssessment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -96,8 +96,8 @@ public open class CfnAssessment( id: String, props: CfnAssessmentProps, ) : - this(software.amazon.awscdk.services.auditmanager.CfnAssessment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssessmentProps::unwrap)) + this(software.amazon.awscdk.services.auditmanager.CfnAssessment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssessmentProps.Companion::unwrap)) ) public constructor( @@ -117,14 +117,14 @@ public open class CfnAssessment( * The destination that evidence reports are stored in for the assessment. */ public open fun assessmentReportsDestination(`value`: IResolvable) { - unwrap(this).setAssessmentReportsDestination(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssessmentReportsDestination(`value`.let(IResolvable.Companion::unwrap)) } /** * The destination that evidence reports are stored in for the assessment. */ public open fun assessmentReportsDestination(`value`: AssessmentReportsDestinationProperty) { - unwrap(this).setAssessmentReportsDestination(`value`.let(AssessmentReportsDestinationProperty::unwrap)) + unwrap(this).setAssessmentReportsDestination(`value`.let(AssessmentReportsDestinationProperty.Companion::unwrap)) } /** @@ -161,14 +161,14 @@ public open class CfnAssessment( * The AWS account that's associated with the assessment. */ public open fun awsAccount(`value`: IResolvable) { - unwrap(this).setAwsAccount(`value`.let(IResolvable::unwrap)) + unwrap(this).setAwsAccount(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS account that's associated with the assessment. */ public open fun awsAccount(`value`: AWSAccountProperty) { - unwrap(this).setAwsAccount(`value`.let(AWSAccountProperty::unwrap)) + unwrap(this).setAwsAccount(`value`.let(AWSAccountProperty.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnAssessment( * The delegations that are associated with the assessment. */ public open fun delegations(`value`: IResolvable) { - unwrap(this).setDelegations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDelegations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class CfnAssessment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class CfnAssessment( * The roles that are associated with the assessment. */ public open fun roles(`value`: IResolvable) { - unwrap(this).setRoles(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoles(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -281,14 +281,14 @@ public open class CfnAssessment( * The wrapper of AWS accounts and services that are in scope for the assessment. */ public open fun scope(`value`: IResolvable) { - unwrap(this).setScope(`value`.let(IResolvable::unwrap)) + unwrap(this).setScope(`value`.let(IResolvable.Companion::unwrap)) } /** * The wrapper of AWS accounts and services that are in scope for the assessment. */ public open fun scope(`value`: ScopeProperty) { - unwrap(this).setScope(`value`.let(ScopeProperty::unwrap)) + unwrap(this).setScope(`value`.let(ScopeProperty.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class CfnAssessment( * The tags that are associated with the assessment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public open class CfnAssessment( * the assessment. */ override fun assessmentReportsDestination(assessmentReportsDestination: IResolvable) { - cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(IResolvable::unwrap)) + cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(IResolvable.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public open class CfnAssessment( */ override fun assessmentReportsDestination(assessmentReportsDestination: AssessmentReportsDestinationProperty) { - cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(AssessmentReportsDestinationProperty::unwrap)) + cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(AssessmentReportsDestinationProperty.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public open class CfnAssessment( * @param awsAccount The AWS account that's associated with the assessment. */ override fun awsAccount(awsAccount: IResolvable) { - cdkBuilder.awsAccount(awsAccount.let(IResolvable::unwrap)) + cdkBuilder.awsAccount(awsAccount.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnAssessment( * @param awsAccount The AWS account that's associated with the assessment. */ override fun awsAccount(awsAccount: AWSAccountProperty) { - cdkBuilder.awsAccount(awsAccount.let(AWSAccountProperty::unwrap)) + cdkBuilder.awsAccount(awsAccount.let(AWSAccountProperty.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnAssessment( * @param delegations The delegations that are associated with the assessment. */ override fun delegations(delegations: IResolvable) { - cdkBuilder.delegations(delegations.let(IResolvable::unwrap)) + cdkBuilder.delegations(delegations.let(IResolvable.Companion::unwrap)) } /** @@ -667,7 +667,7 @@ public open class CfnAssessment( * @param roles The roles that are associated with the assessment. */ override fun roles(roles: IResolvable) { - cdkBuilder.roles(roles.let(IResolvable::unwrap)) + cdkBuilder.roles(roles.let(IResolvable.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class CfnAssessment( * @param scope The wrapper of AWS accounts and services that are in scope for the assessment. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public open class CfnAssessment( * @param scope The wrapper of AWS accounts and services that are in scope for the assessment. */ override fun scope(scope: ScopeProperty) { - cdkBuilder.scope(scope.let(ScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(ScopeProperty.Companion::unwrap)) } /** @@ -743,7 +743,7 @@ public open class CfnAssessment( * @param tags The tags that are associated with the assessment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1734,7 +1734,7 @@ public open class CfnAssessment( * @param awsAccounts The AWS accounts that are included in the scope of the assessment. */ override fun awsAccounts(awsAccounts: IResolvable) { - cdkBuilder.awsAccounts(awsAccounts.let(IResolvable::unwrap)) + cdkBuilder.awsAccounts(awsAccounts.let(IResolvable.Companion::unwrap)) } /** @@ -1753,7 +1753,7 @@ public open class CfnAssessment( * @param awsServices The AWS services that are included in the scope of the assessment. */ override fun awsServices(awsServices: IResolvable) { - cdkBuilder.awsServices(awsServices.let(IResolvable::unwrap)) + cdkBuilder.awsServices(awsServices.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessmentProps.kt index 4187fef316..690c21bc5d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/auditmanager/CfnAssessmentProps.kt @@ -289,7 +289,7 @@ public interface CfnAssessmentProps { * the assessment. */ override fun assessmentReportsDestination(assessmentReportsDestination: IResolvable) { - cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(IResolvable::unwrap)) + cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public interface CfnAssessmentProps { */ override fun assessmentReportsDestination(assessmentReportsDestination: CfnAssessment.AssessmentReportsDestinationProperty) { - cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(CfnAssessment.AssessmentReportsDestinationProperty::unwrap)) + cdkBuilder.assessmentReportsDestination(assessmentReportsDestination.let(CfnAssessment.AssessmentReportsDestinationProperty.Companion::unwrap)) } /** @@ -316,14 +316,14 @@ public interface CfnAssessmentProps { * @param awsAccount The AWS account that's associated with the assessment. */ override fun awsAccount(awsAccount: IResolvable) { - cdkBuilder.awsAccount(awsAccount.let(IResolvable::unwrap)) + cdkBuilder.awsAccount(awsAccount.let(IResolvable.Companion::unwrap)) } /** * @param awsAccount The AWS account that's associated with the assessment. */ override fun awsAccount(awsAccount: CfnAssessment.AWSAccountProperty) { - cdkBuilder.awsAccount(awsAccount.let(CfnAssessment.AWSAccountProperty::unwrap)) + cdkBuilder.awsAccount(awsAccount.let(CfnAssessment.AWSAccountProperty.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface CfnAssessmentProps { * @param delegations The delegations that are associated with the assessment. */ override fun delegations(delegations: IResolvable) { - cdkBuilder.delegations(delegations.let(IResolvable::unwrap)) + cdkBuilder.delegations(delegations.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnAssessmentProps { * @param roles The roles that are associated with the assessment. */ override fun roles(roles: IResolvable) { - cdkBuilder.roles(roles.let(IResolvable::unwrap)) + cdkBuilder.roles(roles.let(IResolvable.Companion::unwrap)) } /** @@ -397,14 +397,14 @@ public interface CfnAssessmentProps { * @param scope The wrapper of AWS accounts and services that are in scope for the assessment. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** * @param scope The wrapper of AWS accounts and services that are in scope for the assessment. */ override fun scope(scope: CfnAssessment.ScopeProperty) { - cdkBuilder.scope(scope.let(CfnAssessment.ScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(CfnAssessment.ScopeProperty.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface CfnAssessmentProps { * @param tags The tags that are associated with the assessment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroup.kt index 4eb01edbf7..7c334e843f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroup.kt @@ -9,6 +9,7 @@ import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import io.cloudshiftdev.awscdk.services.ec2.CloudFormationInit import io.cloudshiftdev.awscdk.services.ec2.Connections import io.cloudshiftdev.awscdk.services.ec2.IConnectable +import io.cloudshiftdev.awscdk.services.ec2.IKeyPair import io.cloudshiftdev.awscdk.services.ec2.ILaunchTemplate import io.cloudshiftdev.awscdk.services.ec2.IMachineImage import io.cloudshiftdev.awscdk.services.ec2.ISecurityGroup @@ -28,6 +29,7 @@ import io.cloudshiftdev.awscdk.services.iam.IPrincipal import io.cloudshiftdev.awscdk.services.iam.IRole import io.cloudshiftdev.awscdk.services.iam.PolicyStatement import kotlin.Boolean +import kotlin.Deprecated import kotlin.Number import kotlin.String import kotlin.Unit @@ -51,20 +53,14 @@ import software.constructs.Construct as SoftwareConstructsConstruct * Example: * * ``` - * Vpc vpc; - * InstanceType instanceType; - * IMachineImage machineImage; - * AutoScalingGroup.Builder.create(this, "ASG") - * .vpc(vpc) - * .instanceType(instanceType) - * .machineImage(machineImage) - * // ... - * .init(CloudFormationInit.fromElements(InitFile.fromString("/etc/my_instance", "This got written - * during instance startup"))) - * .signals(Signals.waitForAll(SignalsOptions.builder() - * .timeout(Duration.minutes(10)) - * .build())) - * .build(); + * Cluster cluster; + * AutoScalingGroup asg; + * ICluster importedCluster = Cluster.fromClusterAttributes(this, "ImportedCluster", + * ClusterAttributes.builder() + * .clusterName(cluster.getClusterName()) + * .clusterSecurityGroupId(cluster.getClusterSecurityGroupId()) + * .build()); + * importedCluster.connectAutoScalingGroupCapacity(asg, AutoScalingGroupOptions.builder().build()); * ``` */ public open class AutoScalingGroup( @@ -76,8 +72,8 @@ public open class AutoScalingGroup( id: String, props: AutoScalingGroupProps, ) : - this(software.amazon.awscdk.services.autoscaling.AutoScalingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AutoScalingGroupProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.AutoScalingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AutoScalingGroupProps.Companion::unwrap)) ) public constructor( @@ -95,7 +91,7 @@ public open class AutoScalingGroup( */ public override fun addLifecycleHook(id: String, props: BasicLifecycleHookProps): LifecycleHook = unwrap(this).addLifecycleHook(id, - props.let(BasicLifecycleHookProps::unwrap)).let(LifecycleHook::wrap) + props.let(BasicLifecycleHookProps.Companion::unwrap)).let(LifecycleHook::wrap) /** * Send a message to either an SQS queue or SNS topic when instances launch or terminate. @@ -115,7 +111,7 @@ public open class AutoScalingGroup( * @param securityGroup : The security group to add. */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -124,7 +120,7 @@ public open class AutoScalingGroup( * @param statement */ public open fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -162,7 +158,7 @@ public open class AutoScalingGroup( * @param options */ public override fun addWarmPool(options: WarmPoolOptions): WarmPool = - unwrap(this).addWarmPool(options.let(WarmPoolOptions::unwrap)).let(WarmPool::wrap) + unwrap(this).addWarmPool(options.let(WarmPoolOptions.Companion::unwrap)).let(WarmPool::wrap) /** * Add a pool of pre-initialized EC2 instances that sits alongside an Auto Scaling group. @@ -188,7 +184,7 @@ public open class AutoScalingGroup( * @param options */ public open fun applyCloudFormationInit(`init`: CloudFormationInit) { - unwrap(this).applyCloudFormationInit(`init`.let(CloudFormationInit::unwrap)) + unwrap(this).applyCloudFormationInit(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -206,8 +202,8 @@ public open class AutoScalingGroup( */ public open fun applyCloudFormationInit(`init`: CloudFormationInit, options: ApplyCloudFormationInitOptions) { - unwrap(this).applyCloudFormationInit(`init`.let(CloudFormationInit::unwrap), - options.let(ApplyCloudFormationInitOptions::unwrap)) + unwrap(this).applyCloudFormationInit(`init`.let(CloudFormationInit.Companion::unwrap), + options.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -242,7 +238,7 @@ public open class AutoScalingGroup( */ public override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Attach to a classic load balancer. @@ -250,7 +246,7 @@ public open class AutoScalingGroup( * @param loadBalancer */ public override fun attachToClassicLB(loadBalancer: LoadBalancer) { - unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer::unwrap)) + unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** @@ -260,7 +256,7 @@ public open class AutoScalingGroup( */ public override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Arn of the AutoScalingGroup. @@ -316,7 +312,7 @@ public open class AutoScalingGroup( */ public override fun scaleOnCpuUtilization(id: String, props: CpuUtilizationScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnCpuUtilization(id, - props.let(CpuUtilizationScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(CpuUtilizationScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target CPU utilization. @@ -338,7 +334,7 @@ public open class AutoScalingGroup( */ public override fun scaleOnIncomingBytes(id: String, props: NetworkUtilizationScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnIncomingBytes(id, - props.let(NetworkUtilizationScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(NetworkUtilizationScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target network ingress rate. @@ -360,7 +356,7 @@ public open class AutoScalingGroup( */ public override fun scaleOnMetric(id: String, props: BasicStepScalingPolicyProps): StepScalingPolicy = unwrap(this).scaleOnMetric(id, - props.let(BasicStepScalingPolicyProps::unwrap)).let(StepScalingPolicy::wrap) + props.let(BasicStepScalingPolicyProps.Companion::unwrap)).let(StepScalingPolicy::wrap) /** * Scale out or in, in response to a metric. @@ -382,7 +378,7 @@ public open class AutoScalingGroup( */ public override fun scaleOnOutgoingBytes(id: String, props: NetworkUtilizationScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnOutgoingBytes(id, - props.let(NetworkUtilizationScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(NetworkUtilizationScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target network egress rate. @@ -407,7 +403,7 @@ public open class AutoScalingGroup( */ public open fun scaleOnRequestCount(id: String, props: RequestCountScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnRequestCount(id, - props.let(RequestCountScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(RequestCountScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target request handling rate. @@ -432,7 +428,7 @@ public open class AutoScalingGroup( */ public override fun scaleOnSchedule(id: String, props: BasicScheduledActionProps): ScheduledAction = unwrap(this).scaleOnSchedule(id, - props.let(BasicScheduledActionProps::unwrap)).let(ScheduledAction::wrap) + props.let(BasicScheduledActionProps.Companion::unwrap)).let(ScheduledAction::wrap) /** * Scale out or in based on time. @@ -454,7 +450,7 @@ public open class AutoScalingGroup( */ public override fun scaleToTrackMetric(id: String, props: MetricTargetTrackingProps): TargetTrackingScalingPolicy = unwrap(this).scaleToTrackMetric(id, - props.let(MetricTargetTrackingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(MetricTargetTrackingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in in order to keep a metric around a target value. @@ -747,17 +743,38 @@ public open class AutoScalingGroup( public fun instanceType(instanceType: InstanceType) /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair * @param keyName Name of SSH keypair to grant access to instances. */ + @Deprecated(message = "deprecated in CDK") public fun keyName(keyName: String) + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + * + * @param keyPair The SSH keypair to grant access to the instance. + */ + public fun keyPair(keyPair: IKeyPair) + /** * Launch template to use. * @@ -1210,7 +1227,7 @@ public open class AutoScalingGroup( * virtual devices and EBS volumes. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -1259,7 +1276,7 @@ public open class AutoScalingGroup( * @param cooldown Default scaling cooldown for this AutoScalingGroup. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -1286,7 +1303,7 @@ public open class AutoScalingGroup( * can contribute to the Amazon CloudWatch metrics. */ override fun defaultInstanceWarmup(defaultInstanceWarmup: Duration) { - cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -1317,7 +1334,7 @@ public open class AutoScalingGroup( * rather than any of its instances. */ override fun groupMetrics(groupMetrics: List) { - cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics::unwrap)) + cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics.Companion::unwrap)) } /** @@ -1343,7 +1360,7 @@ public open class AutoScalingGroup( * @param healthCheck Configuration for health checks. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -1378,7 +1395,7 @@ public open class AutoScalingGroup( * AutoScalingGroup at startup. */ override fun `init`(`init`: CloudFormationInit) { - cdkBuilder.`init`(`init`.let(CloudFormationInit::unwrap)) + cdkBuilder.`init`(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -1391,7 +1408,7 @@ public open class AutoScalingGroup( * @param initOptions Use the given options for applying CloudFormation Init. */ override fun initOptions(initOptions: ApplyCloudFormationInitOptions) { - cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions::unwrap)) + cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -1426,7 +1443,7 @@ public open class AutoScalingGroup( * or basic monitoring. */ override fun instanceMonitoring(instanceMonitoring: Monitoring) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring.Companion::unwrap)) } /** @@ -1440,23 +1457,46 @@ public open class AutoScalingGroup( * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair * @param keyName Name of SSH keypair to grant access to instances. */ + @Deprecated(message = "deprecated in CDK") override fun keyName(keyName: String) { cdkBuilder.keyName(keyName) } + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + * + * @param keyPair The SSH keypair to grant access to the instance. + */ + override fun keyPair(keyPair: IKeyPair) { + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) + } + /** * Launch template to use. * @@ -1468,7 +1508,7 @@ public open class AutoScalingGroup( * @param launchTemplate Launch template to use. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -1482,7 +1522,7 @@ public open class AutoScalingGroup( * @param machineImage AMI to launch. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -1541,7 +1581,7 @@ public open class AutoScalingGroup( * @param maxInstanceLifetime The maximum amount of time that an instance can be in service. */ override fun maxInstanceLifetime(maxInstanceLifetime: Duration) { - cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration::unwrap)) + cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration.Companion::unwrap)) } /** @@ -1593,7 +1633,7 @@ public open class AutoScalingGroup( * @param mixedInstancesPolicy Mixed Instances Policy to use. */ override fun mixedInstancesPolicy(mixedInstancesPolicy: MixedInstancesPolicy) { - cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(MixedInstancesPolicy::unwrap)) + cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(MixedInstancesPolicy.Companion::unwrap)) } /** @@ -1644,7 +1684,7 @@ public open class AutoScalingGroup( * an SNS topic(s). */ override fun notifications(notifications: List) { - cdkBuilder.notifications(notifications.map(NotificationConfiguration::unwrap)) + cdkBuilder.notifications(notifications.map(NotificationConfiguration.Companion::unwrap)) } /** @@ -1692,7 +1732,7 @@ public open class AutoScalingGroup( * Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1706,7 +1746,7 @@ public open class AutoScalingGroup( * @param securityGroup Security group to launch the instances in. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -1733,7 +1773,7 @@ public open class AutoScalingGroup( * @param signals Configure waiting for signals during deployment. */ override fun signals(signals: Signals) { - cdkBuilder.signals(signals.let(Signals::unwrap)) + cdkBuilder.signals(signals.let(Signals.Companion::unwrap)) } /** @@ -1789,7 +1829,7 @@ public open class AutoScalingGroup( * instances to terminate. */ override fun terminationPolicies(terminationPolicies: List) { - cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy::unwrap)) + cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy.Companion::unwrap)) } /** @@ -1838,7 +1878,7 @@ public open class AutoScalingGroup( * @param updatePolicy What to do when an AutoScalingGroup's instance configuration is changed. */ override fun updatePolicy(updatePolicy: UpdatePolicy) { - cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy.Companion::unwrap)) } /** @@ -1855,7 +1895,7 @@ public open class AutoScalingGroup( * @param userData Specific UserData to use. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** @@ -1864,7 +1904,7 @@ public open class AutoScalingGroup( * @param vpc VPC to launch these instances in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1875,7 +1915,7 @@ public open class AutoScalingGroup( * @param vpcSubnets Where to place instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1900,7 +1940,7 @@ public open class AutoScalingGroup( id: String, autoScalingGroupName: String, ): IAutoScalingGroup = - software.amazon.awscdk.services.autoscaling.AutoScalingGroup.fromAutoScalingGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.autoscaling.AutoScalingGroup.fromAutoScalingGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, autoScalingGroupName).let(IAutoScalingGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupProps.kt index 74f4c9bb01..45a51ba377 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupProps.kt @@ -7,6 +7,7 @@ import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import io.cloudshiftdev.awscdk.services.ec2.CloudFormationInit +import io.cloudshiftdev.awscdk.services.ec2.IKeyPair import io.cloudshiftdev.awscdk.services.ec2.ILaunchTemplate import io.cloudshiftdev.awscdk.services.ec2.IMachineImage import io.cloudshiftdev.awscdk.services.ec2.ISecurityGroup @@ -16,6 +17,7 @@ import io.cloudshiftdev.awscdk.services.ec2.SubnetSelection import io.cloudshiftdev.awscdk.services.ec2.UserData import io.cloudshiftdev.awscdk.services.iam.IRole import kotlin.Boolean +import kotlin.Deprecated import kotlin.Number import kotlin.String import kotlin.Unit @@ -378,9 +380,25 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") public fun keyName(keyName: String) + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + public fun keyPair(keyPair: IKeyPair) + /** * @param launchTemplate Launch template to use. * Launch configuration related settings and MixedInstancesPolicy must not be specified when a @@ -667,7 +685,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -699,7 +717,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * @param cooldown Default scaling cooldown for this AutoScalingGroup. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -719,7 +737,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * Default instance warmup will not be added if no value is specified */ override fun defaultInstanceWarmup(defaultInstanceWarmup: Duration) { - cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -738,7 +756,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * Group metrics are reported in a granularity of 1 minute at no additional charge. */ override fun groupMetrics(groupMetrics: List) { - cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics::unwrap)) + cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics.Companion::unwrap)) } /** @@ -754,7 +772,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * @param healthCheck Configuration for health checks. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -778,7 +796,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * init process. */ override fun `init`(`init`: CloudFormationInit) { - cdkBuilder.`init`(`init`.let(CloudFormationInit::unwrap)) + cdkBuilder.`init`(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -786,7 +804,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * Describes the configsets to use and the timeout to wait */ override fun initOptions(initOptions: ApplyCloudFormationInitOptions) { - cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions::unwrap)) + cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -810,7 +828,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun instanceMonitoring(instanceMonitoring: Monitoring) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring.Companion::unwrap)) } /** @@ -819,25 +837,43 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(keyName: String) { cdkBuilder.keyName(keyName) } + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + override fun keyPair(keyPair: IKeyPair) { + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) + } + /** * @param launchTemplate Launch template to use. * Launch configuration related settings and MixedInstancesPolicy must not be specified when a * launch template is specified. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -846,7 +882,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -888,7 +924,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * leave this property undefined. */ override fun maxInstanceLifetime(maxInstanceLifetime: Duration) { - cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration::unwrap)) + cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration.Companion::unwrap)) } /** @@ -924,7 +960,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * MixedInstancesPolicy is specified. */ override fun mixedInstancesPolicy(mixedInstancesPolicy: MixedInstancesPolicy) { - cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(MixedInstancesPolicy::unwrap)) + cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(MixedInstancesPolicy.Companion::unwrap)) } /** @@ -959,7 +995,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * an SNS topic(s). */ override fun notifications(notifications: List) { - cdkBuilder.notifications(notifications.map(NotificationConfiguration::unwrap)) + cdkBuilder.notifications(notifications.map(NotificationConfiguration.Companion::unwrap)) } /** @@ -985,7 +1021,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -994,7 +1030,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -1016,7 +1052,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/AutoScaling/AutoScalingRollingUpdates.yaml */ override fun signals(signals: Signals) { - cdkBuilder.signals(signals.let(Signals::unwrap)) + cdkBuilder.signals(signals.let(Signals.Companion::unwrap)) } /** @@ -1055,7 +1091,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * The policies are executed in the order that you list them. */ override fun terminationPolicies(terminationPolicies: List) { - cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy::unwrap)) + cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy.Companion::unwrap)) } /** @@ -1086,7 +1122,7 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * is done and only new instances are launched with the new config. */ override fun updatePolicy(updatePolicy: UpdatePolicy) { - cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy.Companion::unwrap)) } /** @@ -1097,21 +1133,21 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { * specified */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** * @param vpc VPC to launch these instances in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Where to place instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1318,15 +1354,35 @@ public interface AutoScalingGroupProps : CommonAutoScalingGroupProps { unwrap(this).getInstanceType()?.let(InstanceType::wrap) /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. + * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(): String? = unwrap(this).getKeyName() + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + */ + override fun keyPair(): IKeyPair? = unwrap(this).getKeyPair()?.let(IKeyPair::wrap) + /** * Launch template to use. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupRequireImdsv2Aspect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupRequireImdsv2Aspect.kt index 8cbf250e53..f29e85c33c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupRequireImdsv2Aspect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/AutoScalingGroupRequireImdsv2Aspect.kt @@ -29,7 +29,7 @@ public open class AutoScalingGroupRequireImdsv2Aspect( * @param node */ public override fun visit(node: IConstruct) { - unwrap(this).visit(node.let(IConstruct::unwrap)) + unwrap(this).visit(node.let(IConstruct.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BaseTargetTrackingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BaseTargetTrackingProps.kt index e70ec48987..10842f8948 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BaseTargetTrackingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BaseTargetTrackingProps.kt @@ -94,7 +94,7 @@ public interface BaseTargetTrackingProps { * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface BaseTargetTrackingProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.BaseTargetTrackingProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicLifecycleHookProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicLifecycleHookProps.kt index a948720e7c..45b565ddc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicLifecycleHookProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicLifecycleHookProps.kt @@ -143,7 +143,7 @@ public interface BasicLifecycleHookProps { * elapses or if an unexpected failure occurs. */ override fun defaultResult(defaultResult: DefaultResult) { - cdkBuilder.defaultResult(defaultResult.let(DefaultResult::unwrap)) + cdkBuilder.defaultResult(defaultResult.let(DefaultResult.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public interface BasicLifecycleHookProps { * If the lifecycle hook times out, perform the action in DefaultResult. */ override fun heartbeatTimeout(heartbeatTimeout: Duration) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Duration::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Duration.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface BasicLifecycleHookProps { * the lifecycle hook. */ override fun lifecycleTransition(lifecycleTransition: LifecycleTransition) { - cdkBuilder.lifecycleTransition(lifecycleTransition.let(LifecycleTransition::unwrap)) + cdkBuilder.lifecycleTransition(lifecycleTransition.let(LifecycleTransition.Companion::unwrap)) } /** @@ -181,14 +181,14 @@ public interface BasicLifecycleHookProps { * @param notificationTarget The target of the lifecycle hook. */ override fun notificationTarget(notificationTarget: ILifecycleHookTarget) { - cdkBuilder.notificationTarget(notificationTarget.let(ILifecycleHookTarget::unwrap)) + cdkBuilder.notificationTarget(notificationTarget.let(ILifecycleHookTarget.Companion::unwrap)) } /** * @param role The role that allows publishing to the notification target. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.BasicLifecycleHookProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicScheduledActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicScheduledActionProps.kt index 5a6ca36d4f..3a4bf3b609 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicScheduledActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicScheduledActionProps.kt @@ -206,7 +206,7 @@ public interface BasicScheduledActionProps { * For more information about cron expressions, see https://en.wikipedia.org/wiki/Cron. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicStepScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicStepScalingPolicyProps.kt index d24fcdd2f3..9bb9bf5f9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicStepScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicStepScalingPolicyProps.kt @@ -207,14 +207,14 @@ public interface BasicStepScalingPolicyProps { * @param adjustmentType How the adjustment numbers inside 'intervals' are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** * @param cooldown Grace period after scaling activity. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface BasicStepScalingPolicyProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface BasicStepScalingPolicyProps { * @param metric Metric to scale on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface BasicStepScalingPolicyProps { * Only has meaning if `evaluationPeriods != 1`. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public interface BasicStepScalingPolicyProps { * Must be between 2 and 40 steps. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicTargetTrackingScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicTargetTrackingScalingPolicyProps.kt index 22af87ee21..c69bea273c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicTargetTrackingScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BasicTargetTrackingScalingPolicyProps.kt @@ -147,7 +147,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * Exactly one of customMetric or predefinedMetric must be specified. */ override fun customMetric(customMetric: IMetric) { - cdkBuilder.customMetric(customMetric.let(IMetric::unwrap)) + cdkBuilder.customMetric(customMetric.let(IMetric.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface BasicTargetTrackingScalingPolicyProps : BaseTargetTrackingProps * Exactly one of customMetric or predefinedMetric must be specified. */ override fun predefinedMetric(predefinedMetric: PredefinedMetric) { - cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric::unwrap)) + cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BindHookTargetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BindHookTargetOptions.kt index d92bc7468a..a6b3b568ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BindHookTargetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BindHookTargetOptions.kt @@ -74,7 +74,7 @@ public interface BindHookTargetOptions { * [disable-awslint:ref-via-interface] */ override fun lifecycleHook(lifecycleHook: LifecycleHook) { - cdkBuilder.lifecycleHook(lifecycleHook.let(LifecycleHook::unwrap)) + cdkBuilder.lifecycleHook(lifecycleHook.let(LifecycleHook.Companion::unwrap)) } /** @@ -82,7 +82,7 @@ public interface BindHookTargetOptions { * [disable-awslint:ref-via-interface] */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.BindHookTargetOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDevice.kt index 3fc1367fb8..8fea3182b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDevice.kt @@ -79,7 +79,7 @@ public interface BlockDevice { * Supply a value like `BlockDeviceVolume.ebs(15)`, `BlockDeviceVolume.ephemeral(0)`. */ override fun volume(volume: BlockDeviceVolume) { - cdkBuilder.volume(volume.let(BlockDeviceVolume::unwrap)) + cdkBuilder.volume(volume.let(BlockDeviceVolume.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.BlockDevice = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDeviceVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDeviceVolume.kt index eec215243d..dfb38b411a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDeviceVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/BlockDeviceVolume.kt @@ -51,7 +51,7 @@ public open class BlockDeviceVolume( public fun ebs(volumeSize: Number, options: EbsDeviceOptions): BlockDeviceVolume = software.amazon.awscdk.services.autoscaling.BlockDeviceVolume.ebs(volumeSize, - options.let(EbsDeviceOptions::unwrap)).let(BlockDeviceVolume::wrap) + options.let(EbsDeviceOptions.Companion::unwrap)).let(BlockDeviceVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e337c12e70e7c20d7a26e3d77c0a74a51127cce07791566196e75f0d43459d0c") @@ -64,7 +64,7 @@ public open class BlockDeviceVolume( public fun ebsFromSnapshot(snapshotId: String, options: EbsDeviceSnapshotOptions): BlockDeviceVolume = software.amazon.awscdk.services.autoscaling.BlockDeviceVolume.ebsFromSnapshot(snapshotId, - options.let(EbsDeviceSnapshotOptions::unwrap)).let(BlockDeviceVolume::wrap) + options.let(EbsDeviceSnapshotOptions.Companion::unwrap)).let(BlockDeviceVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d2c4097e9826e13baaeed791f5b14f0e259b1ce41e303a712c6116628f71dca9") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroup.kt index c37204ebe1..1c4cfcaf32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroup.kt @@ -213,8 +213,8 @@ public open class CfnAutoScalingGroup( id: String, props: CfnAutoScalingGroupProps, ) : - this(software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAutoScalingGroupProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAutoScalingGroupProps.Companion::unwrap)) ) public constructor( @@ -275,7 +275,7 @@ public open class CfnAutoScalingGroup( * Indicates whether Capacity Rebalancing is enabled. */ public open fun capacityRebalance(`value`: IResolvable) { - unwrap(this).setCapacityRebalance(`value`.let(IResolvable::unwrap)) + unwrap(this).setCapacityRebalance(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CfnAutoScalingGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -400,14 +400,14 @@ public open class CfnAutoScalingGroup( * An instance maintenance policy. */ public open fun instanceMaintenancePolicy(`value`: IResolvable) { - unwrap(this).setInstanceMaintenancePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceMaintenancePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * An instance maintenance policy. */ public open fun instanceMaintenancePolicy(`value`: InstanceMaintenancePolicyProperty) { - unwrap(this).setInstanceMaintenancePolicy(`value`.let(InstanceMaintenancePolicyProperty::unwrap)) + unwrap(this).setInstanceMaintenancePolicy(`value`.let(InstanceMaintenancePolicyProperty.Companion::unwrap)) } /** @@ -440,14 +440,14 @@ public open class CfnAutoScalingGroup( * Information used to specify the launch template and version to use to launch instances. */ public open fun launchTemplate(`value`: IResolvable) { - unwrap(this).setLaunchTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** * Information used to specify the launch template and version to use to launch instances. */ public open fun launchTemplate(`value`: LaunchTemplateSpecificationProperty) { - unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateSpecificationProperty::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class CfnAutoScalingGroup( * One or more lifecycle hooks to add to the Auto Scaling group before instances are launched. */ public open fun lifecycleHookSpecificationList(`value`: IResolvable) { - unwrap(this).setLifecycleHookSpecificationList(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecycleHookSpecificationList(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class CfnAutoScalingGroup( * Enables the monitoring of group metrics of an Auto Scaling group. */ public open fun metricsCollection(`value`: IResolvable) { - unwrap(this).setMetricsCollection(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricsCollection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -572,14 +572,14 @@ public open class CfnAutoScalingGroup( * An embedded object that specifies a mixed instances policy. */ public open fun mixedInstancesPolicy(`value`: IResolvable) { - unwrap(this).setMixedInstancesPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setMixedInstancesPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * An embedded object that specifies a mixed instances policy. */ public open fun mixedInstancesPolicy(`value`: MixedInstancesPolicyProperty) { - unwrap(this).setMixedInstancesPolicy(`value`.let(MixedInstancesPolicyProperty::unwrap)) + unwrap(this).setMixedInstancesPolicy(`value`.let(MixedInstancesPolicyProperty.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnAutoScalingGroup( * Scaling when scaling in. */ public open fun newInstancesProtectedFromScaleIn(`value`: IResolvable) { - unwrap(this).setNewInstancesProtectedFromScaleIn(`value`.let(IResolvable::unwrap)) + unwrap(this).setNewInstancesProtectedFromScaleIn(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public open class CfnAutoScalingGroup( */ @Deprecated(message = "deprecated in CDK") public open fun notificationConfiguration(`value`: IResolvable) { - unwrap(this).setNotificationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class CfnAutoScalingGroup( */ @Deprecated(message = "deprecated in CDK") public open fun notificationConfiguration(`value`: NotificationConfigurationProperty) { - unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public open class CfnAutoScalingGroup( * Configures an Auto Scaling group to send notifications when specified events take place. */ public open fun notificationConfigurations(`value`: IResolvable) { - unwrap(this).setNotificationConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class CfnAutoScalingGroup( * One or more tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagPropertyProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagPropertyProperty.Companion::unwrap)) } /** @@ -1741,7 +1741,7 @@ public open class CfnAutoScalingGroup( * @param capacityRebalance Indicates whether Capacity Rebalancing is enabled. */ override fun capacityRebalance(capacityRebalance: IResolvable) { - cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable::unwrap)) + cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable.Companion::unwrap)) } /** @@ -1915,7 +1915,7 @@ public open class CfnAutoScalingGroup( * @param instanceMaintenancePolicy An instance maintenance policy. */ override fun instanceMaintenancePolicy(instanceMaintenancePolicy: IResolvable) { - cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(IResolvable::unwrap)) + cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1930,7 +1930,7 @@ public open class CfnAutoScalingGroup( */ override fun instanceMaintenancePolicy(instanceMaintenancePolicy: InstanceMaintenancePolicyProperty) { - cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(InstanceMaintenancePolicyProperty::unwrap)) + cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(InstanceMaintenancePolicyProperty.Companion::unwrap)) } /** @@ -1981,7 +1981,7 @@ public open class CfnAutoScalingGroup( * launch instances. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -2001,7 +2001,7 @@ public open class CfnAutoScalingGroup( * launch instances. */ override fun launchTemplate(launchTemplate: LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -2034,7 +2034,7 @@ public open class CfnAutoScalingGroup( * group before instances are launched. */ override fun lifecycleHookSpecificationList(lifecycleHookSpecificationList: IResolvable) { - cdkBuilder.lifecycleHookSpecificationList(lifecycleHookSpecificationList.let(IResolvable::unwrap)) + cdkBuilder.lifecycleHookSpecificationList(lifecycleHookSpecificationList.let(IResolvable.Companion::unwrap)) } /** @@ -2128,7 +2128,7 @@ public open class CfnAutoScalingGroup( * @param metricsCollection Enables the monitoring of group metrics of an Auto Scaling group. */ override fun metricsCollection(metricsCollection: IResolvable) { - cdkBuilder.metricsCollection(metricsCollection.let(IResolvable::unwrap)) + cdkBuilder.metricsCollection(metricsCollection.let(IResolvable.Companion::unwrap)) } /** @@ -2182,7 +2182,7 @@ public open class CfnAutoScalingGroup( * @param mixedInstancesPolicy An embedded object that specifies a mixed instances policy. */ override fun mixedInstancesPolicy(mixedInstancesPolicy: IResolvable) { - cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(IResolvable::unwrap)) + cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -2203,7 +2203,7 @@ public open class CfnAutoScalingGroup( * @param mixedInstancesPolicy An embedded object that specifies a mixed instances policy. */ override fun mixedInstancesPolicy(mixedInstancesPolicy: MixedInstancesPolicyProperty) { - cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(MixedInstancesPolicyProperty::unwrap)) + cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(MixedInstancesPolicyProperty.Companion::unwrap)) } /** @@ -2260,7 +2260,7 @@ public open class CfnAutoScalingGroup( * protected from termination by Amazon EC2 Auto Scaling when scaling in. */ override fun newInstancesProtectedFromScaleIn(newInstancesProtectedFromScaleIn: IResolvable) { - cdkBuilder.newInstancesProtectedFromScaleIn(newInstancesProtectedFromScaleIn.let(IResolvable::unwrap)) + cdkBuilder.newInstancesProtectedFromScaleIn(newInstancesProtectedFromScaleIn.let(IResolvable.Companion::unwrap)) } /** @@ -2286,7 +2286,7 @@ public open class CfnAutoScalingGroup( */ @Deprecated(message = "deprecated in CDK") override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2313,7 +2313,7 @@ public open class CfnAutoScalingGroup( @Deprecated(message = "deprecated in CDK") override fun notificationConfiguration(notificationConfiguration: NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -2353,7 +2353,7 @@ public open class CfnAutoScalingGroup( * specified events take place. */ override fun notificationConfigurations(notificationConfigurations: IResolvable) { - cdkBuilder.notificationConfigurations(notificationConfigurations.let(IResolvable::unwrap)) + cdkBuilder.notificationConfigurations(notificationConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -2430,7 +2430,7 @@ public open class CfnAutoScalingGroup( * @param tags One or more tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagPropertyProperty::unwrap)) + cdkBuilder.tags(tags.map(TagPropertyProperty.Companion::unwrap)) } /** @@ -4130,7 +4130,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: IResolvable) { - cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable.Companion::unwrap)) } /** @@ -4141,7 +4141,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: AcceleratorCountRequestProperty) { - cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRequestProperty::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRequestProperty.Companion::unwrap)) } /** @@ -4221,7 +4221,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: IResolvable) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable.Companion::unwrap)) } /** @@ -4231,7 +4231,7 @@ public open class CfnAutoScalingGroup( */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: AcceleratorTotalMemoryMiBRequestProperty) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRequestProperty::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRequestProperty.Companion::unwrap)) } /** @@ -4331,7 +4331,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: IResolvable) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable.Companion::unwrap)) } /** @@ -4345,7 +4345,7 @@ public open class CfnAutoScalingGroup( */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: BaselineEbsBandwidthMbpsRequestProperty) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsRequestProperty::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsRequestProperty.Companion::unwrap)) } /** @@ -4551,7 +4551,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: IResolvable) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable.Companion::unwrap)) } /** @@ -4560,7 +4560,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: MemoryGiBPerVCpuRequestProperty) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuRequestProperty::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuRequestProperty.Companion::unwrap)) } /** @@ -4579,7 +4579,7 @@ public open class CfnAutoScalingGroup( * */ override fun memoryMiB(memoryMiB: IResolvable) { - cdkBuilder.memoryMiB(memoryMiB.let(IResolvable::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(IResolvable.Companion::unwrap)) } /** @@ -4587,7 +4587,7 @@ public open class CfnAutoScalingGroup( * */ override fun memoryMiB(memoryMiB: MemoryMiBRequestProperty) { - cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRequestProperty::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRequestProperty.Companion::unwrap)) } /** @@ -4605,7 +4605,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: IResolvable) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable.Companion::unwrap)) } /** @@ -4614,7 +4614,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: NetworkBandwidthGbpsRequestProperty) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsRequestProperty::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsRequestProperty.Companion::unwrap)) } /** @@ -4634,7 +4634,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun networkInterfaceCount(networkInterfaceCount: IResolvable) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable.Companion::unwrap)) } /** @@ -4644,7 +4644,7 @@ public open class CfnAutoScalingGroup( */ override fun networkInterfaceCount(networkInterfaceCount: NetworkInterfaceCountRequestProperty) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountRequestProperty::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountRequestProperty.Companion::unwrap)) } /** @@ -4698,7 +4698,7 @@ public open class CfnAutoScalingGroup( * Default: `false` */ override fun requireHibernateSupport(requireHibernateSupport: IResolvable) { - cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable::unwrap)) + cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable.Companion::unwrap)) } /** @@ -4736,7 +4736,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: IResolvable) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable.Companion::unwrap)) } /** @@ -4745,7 +4745,7 @@ public open class CfnAutoScalingGroup( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: TotalLocalStorageGBRequestProperty) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBRequestProperty::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBRequestProperty.Companion::unwrap)) } /** @@ -4763,14 +4763,14 @@ public open class CfnAutoScalingGroup( * @param vCpuCount The minimum and maximum number of vCPUs for an instance type. */ override fun vCpuCount(vCpuCount: IResolvable) { - cdkBuilder.vCpuCount(vCpuCount.let(IResolvable::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(IResolvable.Companion::unwrap)) } /** * @param vCpuCount The minimum and maximum number of vCPUs for an instance type. */ override fun vCpuCount(vCpuCount: VCpuCountRequestProperty) { - cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRequestProperty::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRequestProperty.Companion::unwrap)) } /** @@ -6070,7 +6070,7 @@ public open class CfnAutoScalingGroup( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: IResolvable) { - cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -6088,7 +6088,7 @@ public open class CfnAutoScalingGroup( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: InstanceRequirementsProperty) { - cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsProperty::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsProperty.Companion::unwrap)) } /** @@ -6136,7 +6136,7 @@ public open class CfnAutoScalingGroup( * specified in the overrides and in the `LaunchTemplate` definition count towards this limit. */ override fun launchTemplateSpecification(launchTemplateSpecification: IResolvable) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -6154,7 +6154,7 @@ public open class CfnAutoScalingGroup( */ override fun launchTemplateSpecification(launchTemplateSpecification: LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -6469,7 +6469,7 @@ public open class CfnAutoScalingGroup( * @param launchTemplateSpecification The launch template. */ override fun launchTemplateSpecification(launchTemplateSpecification: IResolvable) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -6477,7 +6477,7 @@ public open class CfnAutoScalingGroup( */ override fun launchTemplateSpecification(launchTemplateSpecification: LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -6495,7 +6495,7 @@ public open class CfnAutoScalingGroup( * template. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -7847,14 +7847,14 @@ public open class CfnAutoScalingGroup( * @param instancesDistribution The instances distribution. */ override fun instancesDistribution(instancesDistribution: IResolvable) { - cdkBuilder.instancesDistribution(instancesDistribution.let(IResolvable::unwrap)) + cdkBuilder.instancesDistribution(instancesDistribution.let(IResolvable.Companion::unwrap)) } /** * @param instancesDistribution The instances distribution. */ override fun instancesDistribution(instancesDistribution: InstancesDistributionProperty) { - cdkBuilder.instancesDistribution(instancesDistribution.let(InstancesDistributionProperty::unwrap)) + cdkBuilder.instancesDistribution(instancesDistribution.let(InstancesDistributionProperty.Companion::unwrap)) } /** @@ -7871,7 +7871,7 @@ public open class CfnAutoScalingGroup( * are used to launch EC2 instances to fulfill On-Demand and Spot capacities. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -7879,7 +7879,7 @@ public open class CfnAutoScalingGroup( * are used to launch EC2 instances to fulfill On-Demand and Spot capacities. */ override fun launchTemplate(launchTemplate: LaunchTemplateProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateProperty.Companion::unwrap)) } /** @@ -8478,7 +8478,7 @@ public open class CfnAutoScalingGroup( * to any instances launched as part of the Auto Scaling group. */ override fun propagateAtLaunch(propagateAtLaunch: IResolvable) { - cdkBuilder.propagateAtLaunch(propagateAtLaunch.let(IResolvable::unwrap)) + cdkBuilder.propagateAtLaunch(propagateAtLaunch.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroupProps.kt index b11b08ed3b..90b2962d66 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnAutoScalingGroupProps.kt @@ -1276,7 +1276,7 @@ public interface CfnAutoScalingGroupProps { * in the in the *Amazon EC2 Auto Scaling User Guide* . */ override fun capacityRebalance(capacityRebalance: IResolvable) { - cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable::unwrap)) + cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable.Companion::unwrap)) } /** @@ -1411,7 +1411,7 @@ public interface CfnAutoScalingGroupProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun instanceMaintenancePolicy(instanceMaintenancePolicy: IResolvable) { - cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(IResolvable::unwrap)) + cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1422,7 +1422,7 @@ public interface CfnAutoScalingGroupProps { */ override fun instanceMaintenancePolicy(instanceMaintenancePolicy: CfnAutoScalingGroup.InstanceMaintenancePolicyProperty) { - cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(CfnAutoScalingGroup.InstanceMaintenancePolicyProperty::unwrap)) + cdkBuilder.instanceMaintenancePolicy(instanceMaintenancePolicy.let(CfnAutoScalingGroup.InstanceMaintenancePolicyProperty.Companion::unwrap)) } /** @@ -1461,7 +1461,7 @@ public interface CfnAutoScalingGroupProps { * `LaunchConfigurationName` , or `InstanceId` . */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -1478,7 +1478,7 @@ public interface CfnAutoScalingGroupProps { */ override fun launchTemplate(launchTemplate: CfnAutoScalingGroup.LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(CfnAutoScalingGroup.LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(CfnAutoScalingGroup.LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -1505,7 +1505,7 @@ public interface CfnAutoScalingGroupProps { * group before instances are launched. */ override fun lifecycleHookSpecificationList(lifecycleHookSpecificationList: IResolvable) { - cdkBuilder.lifecycleHookSpecificationList(lifecycleHookSpecificationList.let(IResolvable::unwrap)) + cdkBuilder.lifecycleHookSpecificationList(lifecycleHookSpecificationList.let(IResolvable.Companion::unwrap)) } /** @@ -1572,7 +1572,7 @@ public interface CfnAutoScalingGroupProps { * By default, these metrics are disabled. */ override fun metricsCollection(metricsCollection: IResolvable) { - cdkBuilder.metricsCollection(metricsCollection.let(IResolvable::unwrap)) + cdkBuilder.metricsCollection(metricsCollection.let(IResolvable.Companion::unwrap)) } /** @@ -1611,7 +1611,7 @@ public interface CfnAutoScalingGroupProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun mixedInstancesPolicy(mixedInstancesPolicy: IResolvable) { - cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(IResolvable::unwrap)) + cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1629,7 +1629,7 @@ public interface CfnAutoScalingGroupProps { */ override fun mixedInstancesPolicy(mixedInstancesPolicy: CfnAutoScalingGroup.MixedInstancesPolicyProperty) { - cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(CfnAutoScalingGroup.MixedInstancesPolicyProperty::unwrap)) + cdkBuilder.mixedInstancesPolicy(mixedInstancesPolicy.let(CfnAutoScalingGroup.MixedInstancesPolicyProperty.Companion::unwrap)) } /** @@ -1673,7 +1673,7 @@ public interface CfnAutoScalingGroupProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun newInstancesProtectedFromScaleIn(newInstancesProtectedFromScaleIn: IResolvable) { - cdkBuilder.newInstancesProtectedFromScaleIn(newInstancesProtectedFromScaleIn.let(IResolvable::unwrap)) + cdkBuilder.newInstancesProtectedFromScaleIn(newInstancesProtectedFromScaleIn.let(IResolvable.Companion::unwrap)) } /** @@ -1689,7 +1689,7 @@ public interface CfnAutoScalingGroupProps { */ @Deprecated(message = "deprecated in CDK") override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1706,7 +1706,7 @@ public interface CfnAutoScalingGroupProps { @Deprecated(message = "deprecated in CDK") override fun notificationConfiguration(notificationConfiguration: CfnAutoScalingGroup.NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnAutoScalingGroup.NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnAutoScalingGroup.NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -1733,7 +1733,7 @@ public interface CfnAutoScalingGroupProps { * specified events take place. */ override fun notificationConfigurations(notificationConfigurations: IResolvable) { - cdkBuilder.notificationConfigurations(notificationConfigurations.let(IResolvable::unwrap)) + cdkBuilder.notificationConfigurations(notificationConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1790,7 +1790,7 @@ public interface CfnAutoScalingGroupProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnAutoScalingGroup.TagPropertyProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnAutoScalingGroup.TagPropertyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfiguration.kt index 9626c2f614..c18bd6d5bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfiguration.kt @@ -107,8 +107,8 @@ public open class CfnLaunchConfiguration( id: String, props: CfnLaunchConfigurationProps, ) : - this(software.amazon.awscdk.services.autoscaling.CfnLaunchConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.CfnLaunchConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchConfigurationProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnLaunchConfiguration( * Specifies whether to assign a public IPv4 address to the group's instances. */ public open fun associatePublicIpAddress(`value`: IResolvable) { - unwrap(this).setAssociatePublicIpAddress(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociatePublicIpAddress(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnLaunchConfiguration( * launch. */ public open fun blockDeviceMappings(`value`: IResolvable) { - unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnLaunchConfiguration( * ). */ public open fun ebsOptimized(`value`: IResolvable) { - unwrap(this).setEbsOptimized(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsOptimized(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnLaunchConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnLaunchConfiguration( * `false` ) monitoring. */ public open fun instanceMonitoring(`value`: IResolvable) { - unwrap(this).setInstanceMonitoring(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceMonitoring(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -345,14 +345,14 @@ public open class CfnLaunchConfiguration( * The metadata options for the instances. */ public open fun metadataOptions(`value`: IResolvable) { - unwrap(this).setMetadataOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetadataOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The metadata options for the instances. */ public open fun metadataOptions(`value`: MetadataOptionsProperty) { - unwrap(this).setMetadataOptions(`value`.let(MetadataOptionsProperty::unwrap)) + unwrap(this).setMetadataOptions(`value`.let(MetadataOptionsProperty.Companion::unwrap)) } /** @@ -914,7 +914,7 @@ public open class CfnLaunchConfiguration( * group's instances. */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public open class CfnLaunchConfiguration( * attach to the instances at launch. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class CfnLaunchConfiguration( * `true` ) or not ( `false` ). */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -1128,7 +1128,7 @@ public open class CfnLaunchConfiguration( * ( `true` ) or basic ( `false` ) monitoring. */ override fun instanceMonitoring(instanceMonitoring: IResolvable) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(IResolvable::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(IResolvable.Companion::unwrap)) } /** @@ -1201,7 +1201,7 @@ public open class CfnLaunchConfiguration( * @param metadataOptions The metadata options for the instances. */ override fun metadataOptions(metadataOptions: IResolvable) { - cdkBuilder.metadataOptions(metadataOptions.let(IResolvable::unwrap)) + cdkBuilder.metadataOptions(metadataOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1215,7 +1215,7 @@ public open class CfnLaunchConfiguration( * @param metadataOptions The metadata options for the instances. */ override fun metadataOptions(metadataOptions: MetadataOptionsProperty) { - cdkBuilder.metadataOptions(metadataOptions.let(MetadataOptionsProperty::unwrap)) + cdkBuilder.metadataOptions(metadataOptions.let(MetadataOptionsProperty.Companion::unwrap)) } /** @@ -1543,14 +1543,14 @@ public open class CfnLaunchConfiguration( * @param ebs Information to attach an EBS volume to an instance at launch. */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** * @param ebs Information to attach an EBS volume to an instance at launch. */ override fun ebs(ebs: BlockDeviceProperty) { - cdkBuilder.ebs(ebs.let(BlockDeviceProperty::unwrap)) + cdkBuilder.ebs(ebs.let(BlockDeviceProperty.Companion::unwrap)) } /** @@ -1578,7 +1578,7 @@ public open class CfnLaunchConfiguration( * that case, Amazon EC2 Auto Scaling launches replacement instances. */ override fun noDevice(noDevice: IResolvable) { - cdkBuilder.noDevice(noDevice.let(IResolvable::unwrap)) + cdkBuilder.noDevice(noDevice.let(IResolvable.Companion::unwrap)) } /** @@ -1924,7 +1924,7 @@ public open class CfnLaunchConfiguration( * For Amazon EC2 Auto Scaling, the default value is `true` . */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1974,7 +1974,7 @@ public open class CfnLaunchConfiguration( * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfigurationProps.kt index f7a07edee1..76e27af462 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLaunchConfigurationProps.kt @@ -673,7 +673,7 @@ public interface CfnLaunchConfigurationProps { * when you create your group. */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public interface CfnLaunchConfigurationProps { * in the *Amazon EC2 User Guide for Linux Instances* . */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public interface CfnLaunchConfigurationProps { * The default value is `false` . */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public interface CfnLaunchConfigurationProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun instanceMonitoring(instanceMonitoring: IResolvable) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(IResolvable::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(IResolvable.Companion::unwrap)) } /** @@ -880,7 +880,7 @@ public interface CfnLaunchConfigurationProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun metadataOptions(metadataOptions: IResolvable) { - cdkBuilder.metadataOptions(metadataOptions.let(IResolvable::unwrap)) + cdkBuilder.metadataOptions(metadataOptions.let(IResolvable.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public interface CfnLaunchConfigurationProps { * in the *Amazon EC2 Auto Scaling User Guide* . */ override fun metadataOptions(metadataOptions: CfnLaunchConfiguration.MetadataOptionsProperty) { - cdkBuilder.metadataOptions(metadataOptions.let(CfnLaunchConfiguration.MetadataOptionsProperty::unwrap)) + cdkBuilder.metadataOptions(metadataOptions.let(CfnLaunchConfiguration.MetadataOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLifecycleHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLifecycleHook.kt index fcacfd0497..dfb6078f9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLifecycleHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnLifecycleHook.kt @@ -59,8 +59,8 @@ public open class CfnLifecycleHook( id: String, props: CfnLifecycleHookProps, ) : - this(software.amazon.awscdk.services.autoscaling.CfnLifecycleHook(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLifecycleHookProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.CfnLifecycleHook(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLifecycleHookProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnLifecycleHook( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicy.kt index 4152e1a0e5..ce6b8159e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicy.kt @@ -182,8 +182,8 @@ public open class CfnScalingPolicy( id: String, props: CfnScalingPolicyProps, ) : - this(software.amazon.awscdk.services.autoscaling.CfnScalingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScalingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.CfnScalingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScalingPolicyProps.Companion::unwrap)) ) public constructor( @@ -259,7 +259,7 @@ public open class CfnScalingPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnScalingPolicy( * Provides support for predefined and custom metrics. */ public open fun predictiveScalingConfiguration(`value`: IResolvable) { - unwrap(this).setPredictiveScalingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPredictiveScalingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnScalingPolicy( * Provides support for predefined and custom metrics. */ public open fun predictiveScalingConfiguration(`value`: PredictiveScalingConfigurationProperty) { - unwrap(this).setPredictiveScalingConfiguration(`value`.let(PredictiveScalingConfigurationProperty::unwrap)) + unwrap(this).setPredictiveScalingConfiguration(`value`.let(PredictiveScalingConfigurationProperty.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnScalingPolicy( * A set of adjustments that enable you to scale based on the size of the alarm breach. */ public open fun stepAdjustments(`value`: IResolvable) { - unwrap(this).setStepAdjustments(`value`.let(IResolvable::unwrap)) + unwrap(this).setStepAdjustments(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnScalingPolicy( * Provides support for predefined or custom metrics. */ public open fun targetTrackingConfiguration(`value`: IResolvable) { - unwrap(this).setTargetTrackingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetTrackingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnScalingPolicy( * Provides support for predefined or custom metrics. */ public open fun targetTrackingConfiguration(`value`: TargetTrackingConfigurationProperty) { - unwrap(this).setTargetTrackingConfiguration(`value`.let(TargetTrackingConfigurationProperty::unwrap)) + unwrap(this).setTargetTrackingConfiguration(`value`.let(TargetTrackingConfigurationProperty.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class CfnScalingPolicy( * predefined and custom metrics. */ override fun predictiveScalingConfiguration(predictiveScalingConfiguration: IResolvable) { - cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class CfnScalingPolicy( */ override fun predictiveScalingConfiguration(predictiveScalingConfiguration: PredictiveScalingConfigurationProperty) { - cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(PredictiveScalingConfigurationProperty::unwrap)) + cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(PredictiveScalingConfigurationProperty.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public open class CfnScalingPolicy( * alarm breach. */ override fun stepAdjustments(stepAdjustments: IResolvable) { - cdkBuilder.stepAdjustments(stepAdjustments.let(IResolvable::unwrap)) + cdkBuilder.stepAdjustments(stepAdjustments.let(IResolvable.Companion::unwrap)) } /** @@ -951,7 +951,7 @@ public open class CfnScalingPolicy( * predefined or custom metrics. */ override fun targetTrackingConfiguration(targetTrackingConfiguration: IResolvable) { - cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -975,7 +975,7 @@ public open class CfnScalingPolicy( */ override fun targetTrackingConfiguration(targetTrackingConfiguration: TargetTrackingConfigurationProperty) { - cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(TargetTrackingConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(TargetTrackingConfigurationProperty.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public open class CfnScalingPolicy( * dimensions in your scaling policy. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -1565,7 +1565,7 @@ public open class CfnScalingPolicy( * `MetricStat` , but not both. */ override fun metricStat(metricStat: IResolvable) { - cdkBuilder.metricStat(metricStat.let(IResolvable::unwrap)) + cdkBuilder.metricStat(metricStat.let(IResolvable.Companion::unwrap)) } /** @@ -1574,7 +1574,7 @@ public open class CfnScalingPolicy( * `MetricStat` , but not both. */ override fun metricStat(metricStat: MetricStatProperty) { - cdkBuilder.metricStat(metricStat.let(MetricStatProperty::unwrap)) + cdkBuilder.metricStat(metricStat.let(MetricStatProperty.Companion::unwrap)) } /** @@ -1612,7 +1612,7 @@ public open class CfnScalingPolicy( * anything for `ReturnData` . This sets it to its default ( `true` ). */ override fun returnData(returnData: IResolvable) { - cdkBuilder.returnData(returnData.let(IResolvable::unwrap)) + cdkBuilder.returnData(returnData.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1945,7 +1945,7 @@ public open class CfnScalingPolicy( * dimensions in your scaling policy. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2200,7 +2200,7 @@ public open class CfnScalingPolicy( * . */ override fun metric(metric: IResolvable) { - cdkBuilder.metric(metric.let(IResolvable::unwrap)) + cdkBuilder.metric(metric.let(IResolvable.Companion::unwrap)) } /** @@ -2213,7 +2213,7 @@ public open class CfnScalingPolicy( * . */ override fun metric(metric: MetricProperty) { - cdkBuilder.metric(metric.let(MetricProperty::unwrap)) + cdkBuilder.metric(metric.let(MetricProperty.Companion::unwrap)) } /** @@ -2896,7 +2896,7 @@ public open class CfnScalingPolicy( * and one load metric. */ override fun metricSpecifications(metricSpecifications: IResolvable) { - cdkBuilder.metricSpecifications(metricSpecifications.let(IResolvable::unwrap)) + cdkBuilder.metricSpecifications(metricSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -3148,7 +3148,7 @@ public open class CfnScalingPolicy( * data. */ override fun metricDataQueries(metricDataQueries: IResolvable) { - cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable::unwrap)) + cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable.Companion::unwrap)) } /** @@ -3302,7 +3302,7 @@ public open class CfnScalingPolicy( * data. */ override fun metricDataQueries(metricDataQueries: IResolvable) { - cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable::unwrap)) + cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable.Companion::unwrap)) } /** @@ -3457,7 +3457,7 @@ public open class CfnScalingPolicy( * data. */ override fun metricDataQueries(metricDataQueries: IResolvable) { - cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable::unwrap)) + cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable.Companion::unwrap)) } /** @@ -3866,7 +3866,7 @@ public open class CfnScalingPolicy( */ override fun customizedCapacityMetricSpecification(customizedCapacityMetricSpecification: IResolvable) { - cdkBuilder.customizedCapacityMetricSpecification(customizedCapacityMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedCapacityMetricSpecification(customizedCapacityMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3874,7 +3874,7 @@ public open class CfnScalingPolicy( */ override fun customizedCapacityMetricSpecification(customizedCapacityMetricSpecification: PredictiveScalingCustomizedCapacityMetricProperty) { - cdkBuilder.customizedCapacityMetricSpecification(customizedCapacityMetricSpecification.let(PredictiveScalingCustomizedCapacityMetricProperty::unwrap)) + cdkBuilder.customizedCapacityMetricSpecification(customizedCapacityMetricSpecification.let(PredictiveScalingCustomizedCapacityMetricProperty.Companion::unwrap)) } /** @@ -3892,7 +3892,7 @@ public open class CfnScalingPolicy( */ override fun customizedLoadMetricSpecification(customizedLoadMetricSpecification: IResolvable) { - cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3900,7 +3900,7 @@ public open class CfnScalingPolicy( */ override fun customizedLoadMetricSpecification(customizedLoadMetricSpecification: PredictiveScalingCustomizedLoadMetricProperty) { - cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(PredictiveScalingCustomizedLoadMetricProperty::unwrap)) + cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(PredictiveScalingCustomizedLoadMetricProperty.Companion::unwrap)) } /** @@ -3918,7 +3918,7 @@ public open class CfnScalingPolicy( */ override fun customizedScalingMetricSpecification(customizedScalingMetricSpecification: IResolvable) { - cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3926,7 +3926,7 @@ public open class CfnScalingPolicy( */ override fun customizedScalingMetricSpecification(customizedScalingMetricSpecification: PredictiveScalingCustomizedScalingMetricProperty) { - cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(PredictiveScalingCustomizedScalingMetricProperty::unwrap)) + cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(PredictiveScalingCustomizedScalingMetricProperty.Companion::unwrap)) } /** @@ -3944,7 +3944,7 @@ public open class CfnScalingPolicy( */ override fun predefinedLoadMetricSpecification(predefinedLoadMetricSpecification: IResolvable) { - cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3952,7 +3952,7 @@ public open class CfnScalingPolicy( */ override fun predefinedLoadMetricSpecification(predefinedLoadMetricSpecification: PredictiveScalingPredefinedLoadMetricProperty) { - cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(PredictiveScalingPredefinedLoadMetricProperty::unwrap)) + cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(PredictiveScalingPredefinedLoadMetricProperty.Companion::unwrap)) } /** @@ -3972,7 +3972,7 @@ public open class CfnScalingPolicy( */ override fun predefinedMetricPairSpecification(predefinedMetricPairSpecification: IResolvable) { - cdkBuilder.predefinedMetricPairSpecification(predefinedMetricPairSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedMetricPairSpecification(predefinedMetricPairSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3982,7 +3982,7 @@ public open class CfnScalingPolicy( */ override fun predefinedMetricPairSpecification(predefinedMetricPairSpecification: PredictiveScalingPredefinedMetricPairProperty) { - cdkBuilder.predefinedMetricPairSpecification(predefinedMetricPairSpecification.let(PredictiveScalingPredefinedMetricPairProperty::unwrap)) + cdkBuilder.predefinedMetricPairSpecification(predefinedMetricPairSpecification.let(PredictiveScalingPredefinedMetricPairProperty.Companion::unwrap)) } /** @@ -4002,7 +4002,7 @@ public open class CfnScalingPolicy( */ override fun predefinedScalingMetricSpecification(predefinedScalingMetricSpecification: IResolvable) { - cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4010,7 +4010,7 @@ public open class CfnScalingPolicy( */ override fun predefinedScalingMetricSpecification(predefinedScalingMetricSpecification: PredictiveScalingPredefinedScalingMetricProperty) { - cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(PredictiveScalingPredefinedScalingMetricProperty::unwrap)) + cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(PredictiveScalingPredefinedScalingMetricProperty.Companion::unwrap)) } /** @@ -5164,7 +5164,7 @@ public open class CfnScalingPolicy( * You must specify either a predefined metric or a customized metric. */ override fun customizedMetricSpecification(customizedMetricSpecification: IResolvable) { - cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -5173,7 +5173,7 @@ public open class CfnScalingPolicy( */ override fun customizedMetricSpecification(customizedMetricSpecification: CustomizedMetricSpecificationProperty) { - cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(CustomizedMetricSpecificationProperty::unwrap)) + cdkBuilder.customizedMetricSpecification(customizedMetricSpecification.let(CustomizedMetricSpecificationProperty.Companion::unwrap)) } /** @@ -5206,7 +5206,7 @@ public open class CfnScalingPolicy( * from the Auto Scaling group. The default is `false` . */ override fun disableScaleIn(disableScaleIn: IResolvable) { - cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable::unwrap)) + cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable.Companion::unwrap)) } /** @@ -5214,7 +5214,7 @@ public open class CfnScalingPolicy( * You must specify either a predefined metric or a customized metric. */ override fun predefinedMetricSpecification(predefinedMetricSpecification: IResolvable) { - cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -5223,7 +5223,7 @@ public open class CfnScalingPolicy( */ override fun predefinedMetricSpecification(predefinedMetricSpecification: PredefinedMetricSpecificationProperty) { - cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(PredefinedMetricSpecificationProperty::unwrap)) + cdkBuilder.predefinedMetricSpecification(predefinedMetricSpecification.let(PredefinedMetricSpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicyProps.kt index e6fa42f770..c4a9453510 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScalingPolicyProps.kt @@ -641,7 +641,7 @@ public interface CfnScalingPolicyProps { * Required if the policy type is `PredictiveScaling` . */ override fun predictiveScalingConfiguration(predictiveScalingConfiguration: IResolvable) { - cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public interface CfnScalingPolicyProps { */ override fun predictiveScalingConfiguration(predictiveScalingConfiguration: CfnScalingPolicy.PredictiveScalingConfigurationProperty) { - cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(CfnScalingPolicy.PredictiveScalingConfigurationProperty::unwrap)) + cdkBuilder.predictiveScalingConfiguration(predictiveScalingConfiguration.let(CfnScalingPolicy.PredictiveScalingConfigurationProperty.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface CfnScalingPolicyProps { * Required if the policy type is `StepScaling` . (Not used with any other policy type.) */ override fun stepAdjustments(stepAdjustments: IResolvable) { - cdkBuilder.stepAdjustments(stepAdjustments.let(IResolvable::unwrap)) + cdkBuilder.stepAdjustments(stepAdjustments.let(IResolvable.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public interface CfnScalingPolicyProps { * Required if the policy type is `TargetTrackingScaling` . */ override fun targetTrackingConfiguration(targetTrackingConfiguration: IResolvable) { - cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -746,7 +746,7 @@ public interface CfnScalingPolicyProps { */ override fun targetTrackingConfiguration(targetTrackingConfiguration: CfnScalingPolicy.TargetTrackingConfigurationProperty) { - cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(CfnScalingPolicy.TargetTrackingConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(CfnScalingPolicy.TargetTrackingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScheduledAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScheduledAction.kt index fff83ab969..0e24d7a86c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScheduledAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnScheduledAction.kt @@ -69,8 +69,8 @@ public open class CfnScheduledAction( id: String, props: CfnScheduledActionProps, ) : - this(software.amazon.awscdk.services.autoscaling.CfnScheduledAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduledActionProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.CfnScheduledAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduledActionProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnScheduledAction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPool.kt index a84e2c85ae..9ac1b5a5a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPool.kt @@ -70,8 +70,8 @@ public open class CfnWarmPool( id: String, props: CfnWarmPoolProps, ) : - this(software.amazon.awscdk.services.autoscaling.CfnWarmPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWarmPoolProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.CfnWarmPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWarmPoolProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnWarmPool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class CfnWarmPool( * in. */ public open fun instanceReusePolicy(`value`: IResolvable) { - unwrap(this).setInstanceReusePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceReusePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnWarmPool( * in. */ public open fun instanceReusePolicy(`value`: InstanceReusePolicyProperty) { - unwrap(this).setInstanceReusePolicy(`value`.let(InstanceReusePolicyProperty::unwrap)) + unwrap(this).setInstanceReusePolicy(`value`.let(InstanceReusePolicyProperty.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnWarmPool( * returned to the warm pool on scale in. */ override fun instanceReusePolicy(instanceReusePolicy: IResolvable) { - cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(IResolvable::unwrap)) + cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class CfnWarmPool( * returned to the warm pool on scale in. */ override fun instanceReusePolicy(instanceReusePolicy: InstanceReusePolicyProperty) { - cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(InstanceReusePolicyProperty::unwrap)) + cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(InstanceReusePolicyProperty.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class CfnWarmPool( * to the warm pool on scale in. */ override fun reuseOnScaleIn(reuseOnScaleIn: IResolvable) { - cdkBuilder.reuseOnScaleIn(reuseOnScaleIn.let(IResolvable::unwrap)) + cdkBuilder.reuseOnScaleIn(reuseOnScaleIn.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPoolProps.kt index 50c39fe768..a4c587ffa6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CfnWarmPoolProps.kt @@ -186,7 +186,7 @@ public interface CfnWarmPoolProps { * The default is to terminate instances in the Auto Scaling group when the group scales in. */ override fun instanceReusePolicy(instanceReusePolicy: IResolvable) { - cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(IResolvable::unwrap)) + cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public interface CfnWarmPoolProps { * The default is to terminate instances in the Auto Scaling group when the group scales in. */ override fun instanceReusePolicy(instanceReusePolicy: CfnWarmPool.InstanceReusePolicyProperty) { - cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(CfnWarmPool.InstanceReusePolicyProperty::unwrap)) + cdkBuilder.instanceReusePolicy(instanceReusePolicy.let(CfnWarmPool.InstanceReusePolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CommonAutoScalingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CommonAutoScalingGroupProps.kt index 8352fe4bd8..ff6fb142b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CommonAutoScalingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CommonAutoScalingGroupProps.kt @@ -6,8 +6,10 @@ import io.cloudshiftdev.awscdk.Duration import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import io.cloudshiftdev.awscdk.services.ec2.IKeyPair import io.cloudshiftdev.awscdk.services.ec2.SubnetSelection import kotlin.Boolean +import kotlin.Deprecated import kotlin.Number import kotlin.String import kotlin.Unit @@ -33,6 +35,7 @@ import kotlin.jvm.JvmName * BlockDeviceVolume blockDeviceVolume; * GroupMetrics groupMetrics; * HealthCheck healthCheck; + * KeyPair keyPair; * ScalingEvents scalingEvents; * Signals signals; * Subnet subnet; @@ -56,6 +59,7 @@ import kotlin.jvm.JvmName * .ignoreUnmodifiedSizeProperties(false) * .instanceMonitoring(Monitoring.BASIC) * .keyName("keyName") + * .keyPair(keyPair) * .maxCapacity(123) * .maxInstanceLifetime(Duration.minutes(30)) * .minCapacity(123) @@ -238,15 +242,35 @@ public interface CommonAutoScalingGroupProps { unwrap(this).getInstanceMonitoring()?.let(Monitoring::wrap) /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. + * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") public fun keyName(): String? = unwrap(this).getKeyName() + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + */ + public fun keyPair(): IKeyPair? = unwrap(this).getKeyPair()?.let(IKeyPair::wrap) + /** * Maximum number of instances in the fleet. * @@ -548,9 +572,25 @@ public interface CommonAutoScalingGroupProps { * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") public fun keyName(keyName: String) + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + public fun keyPair(keyPair: IKeyPair) + /** * @param maxCapacity Maximum number of instances in the fleet. */ @@ -735,7 +775,7 @@ public interface CommonAutoScalingGroupProps { * specified */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -767,7 +807,7 @@ public interface CommonAutoScalingGroupProps { * @param cooldown Default scaling cooldown for this AutoScalingGroup. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -787,7 +827,7 @@ public interface CommonAutoScalingGroupProps { * Default instance warmup will not be added if no value is specified */ override fun defaultInstanceWarmup(defaultInstanceWarmup: Duration) { - cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -806,7 +846,7 @@ public interface CommonAutoScalingGroupProps { * Group metrics are reported in a granularity of 1 minute at no additional charge. */ override fun groupMetrics(groupMetrics: List) { - cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics::unwrap)) + cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics.Companion::unwrap)) } /** @@ -822,7 +862,7 @@ public interface CommonAutoScalingGroupProps { * @param healthCheck Configuration for health checks. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -850,18 +890,36 @@ public interface CommonAutoScalingGroupProps { * specified */ override fun instanceMonitoring(instanceMonitoring: Monitoring) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring.Companion::unwrap)) } /** * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(keyName: String) { cdkBuilder.keyName(keyName) } + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + override fun keyPair(keyPair: IKeyPair) { + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) + } + /** * @param maxCapacity Maximum number of instances in the fleet. */ @@ -881,7 +939,7 @@ public interface CommonAutoScalingGroupProps { * leave this property undefined. */ override fun maxInstanceLifetime(maxInstanceLifetime: Duration) { - cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration::unwrap)) + cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration.Companion::unwrap)) } /** @@ -912,7 +970,7 @@ public interface CommonAutoScalingGroupProps { * an SNS topic(s). */ override fun notifications(notifications: List) { - cdkBuilder.notifications(notifications.map(NotificationConfiguration::unwrap)) + cdkBuilder.notifications(notifications.map(NotificationConfiguration.Companion::unwrap)) } /** @@ -941,7 +999,7 @@ public interface CommonAutoScalingGroupProps { * https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/AutoScaling/AutoScalingRollingUpdates.yaml */ override fun signals(signals: Signals) { - cdkBuilder.signals(signals.let(Signals::unwrap)) + cdkBuilder.signals(signals.let(Signals.Companion::unwrap)) } /** @@ -980,7 +1038,7 @@ public interface CommonAutoScalingGroupProps { * The policies are executed in the order that you list them. */ override fun terminationPolicies(terminationPolicies: List) { - cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy::unwrap)) + cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy.Companion::unwrap)) } /** @@ -1011,14 +1069,14 @@ public interface CommonAutoScalingGroupProps { * is done and only new instances are launched with the new config. */ override fun updatePolicy(updatePolicy: UpdatePolicy) { - cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy.Companion::unwrap)) } /** * @param vpcSubnets Where to place instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1191,15 +1249,35 @@ public interface CommonAutoScalingGroupProps { unwrap(this).getInstanceMonitoring()?.let(Monitoring::wrap) /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. + * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(): String? = unwrap(this).getKeyName() + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + */ + override fun keyPair(): IKeyPair? = unwrap(this).getKeyPair()?.let(IKeyPair::wrap) + /** * Maximum number of instances in the fleet. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CpuUtilizationScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CpuUtilizationScalingProps.kt index 3b0b16d80a..9a888f85b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CpuUtilizationScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/CpuUtilizationScalingProps.kt @@ -68,7 +68,7 @@ public interface CpuUtilizationScalingProps : BaseTargetTrackingProps { * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public interface CpuUtilizationScalingProps : BaseTargetTrackingProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptions.kt index 1ea78cf7c9..95728b1baa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptions.kt @@ -125,7 +125,7 @@ public interface EbsDeviceOptions : EbsDeviceOptionsBase { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.EbsDeviceOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptionsBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptionsBase.kt index 3d0ac8dd77..56cf4337fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptionsBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceOptionsBase.kt @@ -134,7 +134,7 @@ public interface EbsDeviceOptionsBase { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.EbsDeviceOptionsBase = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceProps.kt index 62031978b8..e5d23cb313 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceProps.kt @@ -130,7 +130,7 @@ public interface EbsDeviceProps : EbsDeviceSnapshotOptions { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.EbsDeviceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceSnapshotOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceSnapshotOptions.kt index 36b57e1be6..487264a66d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceSnapshotOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/EbsDeviceSnapshotOptions.kt @@ -119,7 +119,7 @@ public interface EbsDeviceSnapshotOptions : EbsDeviceOptionsBase { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.EbsDeviceSnapshotOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Ec2HealthCheckOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Ec2HealthCheckOptions.kt index 8ce763bbbf..40be3e440c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Ec2HealthCheckOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Ec2HealthCheckOptions.kt @@ -54,7 +54,7 @@ public interface Ec2HealthCheckOptions { * EC2 instance that has come into service. */ override fun grace(grace: Duration) { - cdkBuilder.grace(grace.let(Duration::unwrap)) + cdkBuilder.grace(grace.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.Ec2HealthCheckOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ElbHealthCheckOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ElbHealthCheckOptions.kt index 814e79cd48..a9bfc20dcf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ElbHealthCheckOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ElbHealthCheckOptions.kt @@ -56,7 +56,7 @@ public interface ElbHealthCheckOptions { * This option is required for ELB health checks. */ override fun grace(grace: Duration) { - cdkBuilder.grace(grace.let(Duration::unwrap)) + cdkBuilder.grace(grace.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.ElbHealthCheckOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/GroupMetrics.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/GroupMetrics.kt index 8a7d37974f..0f6a08caa0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/GroupMetrics.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/GroupMetrics.kt @@ -37,7 +37,7 @@ public open class GroupMetrics( cdkObject: software.amazon.awscdk.services.autoscaling.GroupMetrics, ) : CdkObject(cdkObject) { public constructor(metrics: GroupMetric) : - this(software.amazon.awscdk.services.autoscaling.GroupMetrics(metrics.let(GroupMetric::unwrap)) + this(software.amazon.awscdk.services.autoscaling.GroupMetrics(metrics.let(GroupMetric.Companion::unwrap)) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/HealthCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/HealthCheck.kt index a2575f14dd..4b6293b394 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/HealthCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/HealthCheck.kt @@ -41,7 +41,7 @@ public open class HealthCheck( software.amazon.awscdk.services.autoscaling.HealthCheck.ec2().let(HealthCheck::wrap) public fun ec2(options: Ec2HealthCheckOptions): HealthCheck = - software.amazon.awscdk.services.autoscaling.HealthCheck.ec2(options.let(Ec2HealthCheckOptions::unwrap)).let(HealthCheck::wrap) + software.amazon.awscdk.services.autoscaling.HealthCheck.ec2(options.let(Ec2HealthCheckOptions.Companion::unwrap)).let(HealthCheck::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("54c9b602a97c6a292e4db6e2877a5d704f1d7da99447038738708c63395f8b8f") @@ -49,7 +49,7 @@ public open class HealthCheck( ec2(Ec2HealthCheckOptions(options)) public fun elb(options: ElbHealthCheckOptions): HealthCheck = - software.amazon.awscdk.services.autoscaling.HealthCheck.elb(options.let(ElbHealthCheckOptions::unwrap)).let(HealthCheck::wrap) + software.amazon.awscdk.services.autoscaling.HealthCheck.elb(options.let(ElbHealthCheckOptions.Companion::unwrap)).let(HealthCheck::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("556e456de2ad17d0ccbb8ab5ed1e8ac5ce2c6d126423e9ce8c6be8cf072b21f1") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/IAutoScalingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/IAutoScalingGroup.kt index 42e91c3299..2640bac305 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/IAutoScalingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/IAutoScalingGroup.kt @@ -218,7 +218,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun addLifecycleHook(id: String, props: BasicLifecycleHookProps): LifecycleHook = unwrap(this).addLifecycleHook(id, - props.let(BasicLifecycleHookProps::unwrap)).let(LifecycleHook::wrap) + props.let(BasicLifecycleHookProps.Companion::unwrap)).let(LifecycleHook::wrap) /** * Send a message to either an SQS queue or SNS topic when instances launch or terminate. @@ -257,7 +257,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { * @param options */ override fun addWarmPool(options: WarmPoolOptions): WarmPool = - unwrap(this).addWarmPool(options.let(WarmPoolOptions::unwrap)).let(WarmPool::wrap) + unwrap(this).addWarmPool(options.let(WarmPoolOptions.Companion::unwrap)).let(WarmPool::wrap) /** * Add a pool of pre-initialized EC2 instances that sits alongside an Auto Scaling group. @@ -283,7 +283,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun scaleOnCpuUtilization(id: String, props: CpuUtilizationScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnCpuUtilization(id, - props.let(CpuUtilizationScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(CpuUtilizationScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target CPU utilization. @@ -354,7 +354,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun scaleOnIncomingBytes(id: String, props: NetworkUtilizationScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnIncomingBytes(id, - props.let(NetworkUtilizationScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(NetworkUtilizationScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target network ingress rate. @@ -376,7 +376,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun scaleOnMetric(id: String, props: BasicStepScalingPolicyProps): StepScalingPolicy = unwrap(this).scaleOnMetric(id, - props.let(BasicStepScalingPolicyProps::unwrap)).let(StepScalingPolicy::wrap) + props.let(BasicStepScalingPolicyProps.Companion::unwrap)).let(StepScalingPolicy::wrap) /** * Scale out or in, in response to a metric. @@ -397,7 +397,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun scaleOnOutgoingBytes(id: String, props: NetworkUtilizationScalingProps): TargetTrackingScalingPolicy = unwrap(this).scaleOnOutgoingBytes(id, - props.let(NetworkUtilizationScalingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(NetworkUtilizationScalingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in to achieve a target network egress rate. @@ -419,7 +419,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun scaleOnSchedule(id: String, props: BasicScheduledActionProps): ScheduledAction = unwrap(this).scaleOnSchedule(id, - props.let(BasicScheduledActionProps::unwrap)).let(ScheduledAction::wrap) + props.let(BasicScheduledActionProps.Companion::unwrap)).let(ScheduledAction::wrap) /** * Scale out or in based on time. @@ -440,7 +440,7 @@ public interface IAutoScalingGroup : IResource, IGrantable { */ override fun scaleToTrackMetric(id: String, props: MetricTargetTrackingProps): TargetTrackingScalingPolicy = unwrap(this).scaleToTrackMetric(id, - props.let(MetricTargetTrackingProps::unwrap)).let(TargetTrackingScalingPolicy::wrap) + props.let(MetricTargetTrackingProps.Companion::unwrap)).let(TargetTrackingScalingPolicy::wrap) /** * Scale out or in in order to keep a metric around a target value. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHook.kt index 8d6e5cf884..3e4f227756 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHook.kt @@ -40,7 +40,7 @@ public interface ILifecycleHook : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHookTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHookTarget.kt index 43f35cbd42..118d143e77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHookTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ILifecycleHookTarget.kt @@ -44,8 +44,8 @@ public interface ILifecycleHookTarget { * to use. */ override fun bind(scope: Construct, options: BindHookTargetOptions): LifecycleHookTargetConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - options.let(BindHookTargetOptions::unwrap)).let(LifecycleHookTargetConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(BindHookTargetOptions.Companion::unwrap)).let(LifecycleHookTargetConfig::wrap) /** * Called when this object is used as the target of a lifecycle hook. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/InstancesDistribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/InstancesDistribution.kt index d6b689c165..c2fc3d748b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/InstancesDistribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/InstancesDistribution.kt @@ -218,7 +218,7 @@ public interface InstancesDistribution { */ override fun onDemandAllocationStrategy(onDemandAllocationStrategy: OnDemandAllocationStrategy) { - cdkBuilder.onDemandAllocationStrategy(onDemandAllocationStrategy.let(OnDemandAllocationStrategy::unwrap)) + cdkBuilder.onDemandAllocationStrategy(onDemandAllocationStrategy.let(OnDemandAllocationStrategy.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface InstancesDistribution { * optimizes for capacity first. */ override fun spotAllocationStrategy(spotAllocationStrategy: SpotAllocationStrategy) { - cdkBuilder.spotAllocationStrategy(spotAllocationStrategy.let(SpotAllocationStrategy::unwrap)) + cdkBuilder.spotAllocationStrategy(spotAllocationStrategy.let(SpotAllocationStrategy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LaunchTemplateOverrides.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LaunchTemplateOverrides.kt index cd3bc4d777..2c3a45a2d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LaunchTemplateOverrides.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LaunchTemplateOverrides.kt @@ -249,7 +249,7 @@ public interface LaunchTemplateOverrides { */ override fun instanceRequirements(instanceRequirements: CfnAutoScalingGroup.InstanceRequirementsProperty) { - cdkBuilder.instanceRequirements(instanceRequirements.let(CfnAutoScalingGroup.InstanceRequirementsProperty::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(CfnAutoScalingGroup.InstanceRequirementsProperty.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface LaunchTemplateOverrides { * You must specify one of instanceRequirements or instanceType. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public interface LaunchTemplateOverrides { * that's defined for your mixed instances policy. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHook.kt index ad511700d8..4211f93662 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHook.kt @@ -46,8 +46,8 @@ public open class LifecycleHook( id: String, props: LifecycleHookProps, ) : - this(software.amazon.awscdk.services.autoscaling.LifecycleHook(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LifecycleHookProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.LifecycleHook(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LifecycleHookProps.Companion::unwrap)) ) public constructor( @@ -163,7 +163,7 @@ public open class LifecycleHook( * @param autoScalingGroup The AutoScalingGroup to add the lifecycle hook to. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class LifecycleHook( * elapses or if an unexpected failure occurs. */ override fun defaultResult(defaultResult: DefaultResult) { - cdkBuilder.defaultResult(defaultResult.let(DefaultResult::unwrap)) + cdkBuilder.defaultResult(defaultResult.let(DefaultResult.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class LifecycleHook( * hook. */ override fun heartbeatTimeout(heartbeatTimeout: Duration) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Duration::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Duration.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class LifecycleHook( * the lifecycle hook. */ override fun lifecycleTransition(lifecycleTransition: LifecycleTransition) { - cdkBuilder.lifecycleTransition(lifecycleTransition.let(LifecycleTransition::unwrap)) + cdkBuilder.lifecycleTransition(lifecycleTransition.let(LifecycleTransition.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class LifecycleHook( * @param notificationTarget The target of the lifecycle hook. */ override fun notificationTarget(notificationTarget: ILifecycleHookTarget) { - cdkBuilder.notificationTarget(notificationTarget.let(ILifecycleHookTarget::unwrap)) + cdkBuilder.notificationTarget(notificationTarget.let(ILifecycleHookTarget.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class LifecycleHook( * @param role The role that allows publishing to the notification target. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.LifecycleHook = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookProps.kt index 098f8a20b5..1d2362f819 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookProps.kt @@ -101,7 +101,7 @@ public interface LifecycleHookProps : BasicLifecycleHookProps { * @param autoScalingGroup The AutoScalingGroup to add the lifecycle hook to. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface LifecycleHookProps : BasicLifecycleHookProps { * elapses or if an unexpected failure occurs. */ override fun defaultResult(defaultResult: DefaultResult) { - cdkBuilder.defaultResult(defaultResult.let(DefaultResult::unwrap)) + cdkBuilder.defaultResult(defaultResult.let(DefaultResult.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface LifecycleHookProps : BasicLifecycleHookProps { * If the lifecycle hook times out, perform the action in DefaultResult. */ override fun heartbeatTimeout(heartbeatTimeout: Duration) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Duration::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Duration.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface LifecycleHookProps : BasicLifecycleHookProps { * the lifecycle hook. */ override fun lifecycleTransition(lifecycleTransition: LifecycleTransition) { - cdkBuilder.lifecycleTransition(lifecycleTransition.let(LifecycleTransition::unwrap)) + cdkBuilder.lifecycleTransition(lifecycleTransition.let(LifecycleTransition.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public interface LifecycleHookProps : BasicLifecycleHookProps { * @param notificationTarget The target of the lifecycle hook. */ override fun notificationTarget(notificationTarget: ILifecycleHookTarget) { - cdkBuilder.notificationTarget(notificationTarget.let(ILifecycleHookTarget::unwrap)) + cdkBuilder.notificationTarget(notificationTarget.let(ILifecycleHookTarget.Companion::unwrap)) } /** * @param role The role that allows publishing to the notification target. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.LifecycleHookProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookTargetConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookTargetConfig.kt index 16b60a6bad..4823efc1d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookTargetConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/LifecycleHookTargetConfig.kt @@ -62,7 +62,7 @@ public interface LifecycleHookTargetConfig { * @param createdRole The IRole that was used to bind the lifecycle hook to the target. */ override fun createdRole(createdRole: IRole) { - cdkBuilder.createdRole(createdRole.let(IRole::unwrap)) + cdkBuilder.createdRole(createdRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MetricTargetTrackingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MetricTargetTrackingProps.kt index 097d6af649..01e96d5e57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MetricTargetTrackingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MetricTargetTrackingProps.kt @@ -96,7 +96,7 @@ public interface MetricTargetTrackingProps : BaseTargetTrackingProps { * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface MetricTargetTrackingProps : BaseTargetTrackingProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public interface MetricTargetTrackingProps : BaseTargetTrackingProps { * scale in. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MixedInstancesPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MixedInstancesPolicy.kt index 23e2a687e8..16fcd098da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MixedInstancesPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/MixedInstancesPolicy.kt @@ -116,7 +116,7 @@ public interface MixedInstancesPolicy { * @param instancesDistribution InstancesDistribution to use. */ override fun instancesDistribution(instancesDistribution: InstancesDistribution) { - cdkBuilder.instancesDistribution(instancesDistribution.let(InstancesDistribution::unwrap)) + cdkBuilder.instancesDistribution(instancesDistribution.let(InstancesDistribution.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface MixedInstancesPolicy { * @param launchTemplate Launch template to use. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public interface MixedInstancesPolicy { * 20. */ override fun launchTemplateOverrides(launchTemplateOverrides: List) { - cdkBuilder.launchTemplateOverrides(launchTemplateOverrides.map(LaunchTemplateOverrides::unwrap)) + cdkBuilder.launchTemplateOverrides(launchTemplateOverrides.map(LaunchTemplateOverrides.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NetworkUtilizationScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NetworkUtilizationScalingProps.kt index 4572af5800..9789137b9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NetworkUtilizationScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NetworkUtilizationScalingProps.kt @@ -73,7 +73,7 @@ public interface NetworkUtilizationScalingProps : BaseTargetTrackingProps { * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public interface NetworkUtilizationScalingProps : BaseTargetTrackingProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NotificationConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NotificationConfiguration.kt index eeda9fc8fc..cf983d7116 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NotificationConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/NotificationConfiguration.kt @@ -69,14 +69,14 @@ public interface NotificationConfiguration { * @param scalingEvents Which fleet scaling events triggers a notification. */ override fun scalingEvents(scalingEvents: ScalingEvents) { - cdkBuilder.scalingEvents(scalingEvents.let(ScalingEvents::unwrap)) + cdkBuilder.scalingEvents(scalingEvents.let(ScalingEvents.Companion::unwrap)) } /** * @param topic SNS topic to send notifications about fleet scaling events. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.NotificationConfiguration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RequestCountScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RequestCountScalingProps.kt index fb22b7dea0..9b99fc8942 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RequestCountScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RequestCountScalingProps.kt @@ -70,7 +70,7 @@ public interface RequestCountScalingProps : BaseTargetTrackingProps { * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -89,7 +89,7 @@ public interface RequestCountScalingProps : BaseTargetTrackingProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RollingUpdateOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RollingUpdateOptions.kt index ba75cb228f..f357037a85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RollingUpdateOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/RollingUpdateOptions.kt @@ -167,7 +167,7 @@ public interface RollingUpdateOptions { * @param pauseTime The pause time after making a change to a batch of instances. */ override fun pauseTime(pauseTime: Duration) { - cdkBuilder.pauseTime(pauseTime.let(Duration::unwrap)) + cdkBuilder.pauseTime(pauseTime.let(Duration.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface RollingUpdateOptions { * update. */ override fun suspendProcesses(suspendProcesses: List) { - cdkBuilder.suspendProcesses(suspendProcesses.map(ScalingProcess::unwrap)) + cdkBuilder.suspendProcesses(suspendProcesses.map(ScalingProcess.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScalingEvents.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScalingEvents.kt index bc77db3a17..423d8570ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScalingEvents.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScalingEvents.kt @@ -22,7 +22,7 @@ public open class ScalingEvents( cdkObject: software.amazon.awscdk.services.autoscaling.ScalingEvents, ) : CdkObject(cdkObject) { public constructor(types: ScalingEvent) : - this(software.amazon.awscdk.services.autoscaling.ScalingEvents(types.let(ScalingEvent::unwrap)) + this(software.amazon.awscdk.services.autoscaling.ScalingEvents(types.let(ScalingEvent.Companion::unwrap)) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Schedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Schedule.kt index d5f4c574eb..59591c855f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Schedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Schedule.kt @@ -39,7 +39,7 @@ public abstract class Schedule( public companion object { public fun cron(options: CronOptions): Schedule = - software.amazon.awscdk.services.autoscaling.Schedule.cron(options.let(CronOptions::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.autoscaling.Schedule.cron(options.let(CronOptions.Companion::unwrap)).let(Schedule::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("af064fd9e0fad094eabe25ea55682bfc02ac054c7d070975a439b1b83317aeba") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledAction.kt index 4385b0ef5d..2d172fabb7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledAction.kt @@ -43,8 +43,8 @@ public open class ScheduledAction( id: String, props: ScheduledActionProps, ) : - this(software.amazon.awscdk.services.autoscaling.ScheduledAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ScheduledActionProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.ScheduledAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ScheduledActionProps.Companion::unwrap)) ) public constructor( @@ -169,7 +169,7 @@ public open class ScheduledAction( * @param autoScalingGroup The AutoScalingGroup to apply the scheduled actions to. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class ScheduledAction( * @param schedule When to perform this action. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledActionProps.kt index 0a7249977d..bc2270dd2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/ScheduledActionProps.kt @@ -112,7 +112,7 @@ public interface ScheduledActionProps : BasicScheduledActionProps { * @param autoScalingGroup The AutoScalingGroup to apply the scheduled actions to. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface ScheduledActionProps : BasicScheduledActionProps { * For more information about cron expressions, see https://en.wikipedia.org/wiki/Cron. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Signals.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Signals.kt index a247d36a10..cf7605c633 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Signals.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/Signals.kt @@ -46,7 +46,7 @@ public abstract class Signals( * @param renderOptions */ public open fun renderCreationPolicy(renderOptions: RenderSignalsOptions): CfnCreationPolicy = - unwrap(this).renderCreationPolicy(renderOptions.let(RenderSignalsOptions::unwrap)).let(CfnCreationPolicy::wrap) + unwrap(this).renderCreationPolicy(renderOptions.let(RenderSignalsOptions.Companion::unwrap)).let(CfnCreationPolicy::wrap) /** * Render the ASG's CreationPolicy. @@ -67,7 +67,7 @@ public abstract class Signals( software.amazon.awscdk.services.autoscaling.Signals.waitForAll().let(Signals::wrap) public fun waitForAll(options: SignalsOptions): Signals = - software.amazon.awscdk.services.autoscaling.Signals.waitForAll(options.let(SignalsOptions::unwrap)).let(Signals::wrap) + software.amazon.awscdk.services.autoscaling.Signals.waitForAll(options.let(SignalsOptions.Companion::unwrap)).let(Signals::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2fe2212c2d0f76a2e61d2f4cdb806b6da61fbceaa5c17d715c6dcf2dd2a14e06") @@ -79,7 +79,7 @@ public abstract class Signals( public fun waitForCount(count: Number, options: SignalsOptions): Signals = software.amazon.awscdk.services.autoscaling.Signals.waitForCount(count, - options.let(SignalsOptions::unwrap)).let(Signals::wrap) + options.let(SignalsOptions.Companion::unwrap)).let(Signals::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2d3874b7973774c5fe1fc1f212989f1c0a1acacdd92a717ab56c79309941861a") @@ -90,7 +90,7 @@ public abstract class Signals( software.amazon.awscdk.services.autoscaling.Signals.waitForMinCapacity().let(Signals::wrap) public fun waitForMinCapacity(options: SignalsOptions): Signals = - software.amazon.awscdk.services.autoscaling.Signals.waitForMinCapacity(options.let(SignalsOptions::unwrap)).let(Signals::wrap) + software.amazon.awscdk.services.autoscaling.Signals.waitForMinCapacity(options.let(SignalsOptions.Companion::unwrap)).let(Signals::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6e6b98b3471adb47ede929262fc35c345ebc9dd3ca20226e3b327ba411315586") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/SignalsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/SignalsOptions.kt index b64ebe1038..4969ed1831 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/SignalsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/SignalsOptions.kt @@ -91,7 +91,7 @@ public interface SignalsOptions { * (including instance start time and instance initialization time). */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.autoscaling.SignalsOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingAction.kt index 199e741b81..1055527629 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingAction.kt @@ -4,6 +4,7 @@ package io.cloudshiftdev.awscdk.services.autoscaling import io.cloudshiftdev.awscdk.Duration import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.Deprecated import kotlin.Number import kotlin.String import kotlin.Unit @@ -48,8 +49,8 @@ public open class StepScalingAction( id: String, props: StepScalingActionProps, ) : - this(software.amazon.awscdk.services.autoscaling.StepScalingAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepScalingActionProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.StepScalingAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepScalingActionProps.Companion::unwrap)) ) public constructor( @@ -65,7 +66,7 @@ public open class StepScalingAction( * @param adjustment */ public open fun addAdjustment(adjustment: AdjustmentTier) { - unwrap(this).addAdjustment(adjustment.let(AdjustmentTier::unwrap)) + unwrap(this).addAdjustment(adjustment.let(AdjustmentTier.Companion::unwrap)) } /** @@ -105,12 +106,14 @@ public open class StepScalingAction( public fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) /** - * Period after a scaling completes before another scaling activity can start. + * (deprecated) Period after a scaling completes before another scaling activity can start. * * Default: The default cooldown configured on the AutoScalingGroup * + * @deprecated cooldown is not valid with step scaling action * @param cooldown Period after a scaling completes before another scaling activity can start. */ + @Deprecated(message = "deprecated in CDK") public fun cooldown(cooldown: Duration) /** @@ -161,7 +164,7 @@ public open class StepScalingAction( * @param adjustmentType How the adjustment numbers are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -170,18 +173,20 @@ public open class StepScalingAction( * @param autoScalingGroup The auto scaling group. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** - * Period after a scaling completes before another scaling activity can start. + * (deprecated) Period after a scaling completes before another scaling activity can start. * * Default: The default cooldown configured on the AutoScalingGroup * + * @deprecated cooldown is not valid with step scaling action * @param cooldown Period after a scaling completes before another scaling activity can start. */ + @Deprecated(message = "deprecated in CDK") override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -193,7 +198,7 @@ public open class StepScalingAction( * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -204,7 +209,7 @@ public open class StepScalingAction( * @param metricAggregationType The aggregation type for the CloudWatch metrics. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingActionProps.kt index 77049aafeb..08cebab203 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingActionProps.kt @@ -6,6 +6,7 @@ import io.cloudshiftdev.awscdk.Duration import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Deprecated import kotlin.Number import kotlin.Unit @@ -46,10 +47,13 @@ public interface StepScalingActionProps { public fun autoScalingGroup(): IAutoScalingGroup /** - * Period after a scaling completes before another scaling activity can start. + * (deprecated) Period after a scaling completes before another scaling activity can start. * * Default: The default cooldown configured on the AutoScalingGroup + * + * @deprecated cooldown is not valid with step scaling action */ + @Deprecated(message = "deprecated in CDK") public fun cooldown(): Duration? = unwrap(this).getCooldown()?.let(Duration::wrap) /** @@ -95,7 +99,9 @@ public interface StepScalingActionProps { /** * @param cooldown Period after a scaling completes before another scaling activity can start. + * @deprecated cooldown is not valid with step scaling action */ + @Deprecated(message = "deprecated in CDK") public fun cooldown(cooldown: Duration) /** @@ -127,21 +133,23 @@ public interface StepScalingActionProps { * @param adjustmentType How the adjustment numbers are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** * @param autoScalingGroup The auto scaling group. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** * @param cooldown Period after a scaling completes before another scaling activity can start. + * @deprecated cooldown is not valid with step scaling action */ + @Deprecated(message = "deprecated in CDK") override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -149,14 +157,14 @@ public interface StepScalingActionProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** * @param metricAggregationType The aggregation type for the CloudWatch metrics. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -191,10 +199,13 @@ public interface StepScalingActionProps { unwrap(this).getAutoScalingGroup().let(IAutoScalingGroup::wrap) /** - * Period after a scaling completes before another scaling activity can start. + * (deprecated) Period after a scaling completes before another scaling activity can start. * * Default: The default cooldown configured on the AutoScalingGroup + * + * @deprecated cooldown is not valid with step scaling action */ + @Deprecated(message = "deprecated in CDK") override fun cooldown(): Duration? = unwrap(this).getCooldown()?.let(Duration::wrap) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicy.kt index 4b303e9510..48f5eadcd4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicy.kt @@ -59,8 +59,8 @@ public open class StepScalingPolicy( id: String, props: StepScalingPolicyProps, ) : - this(software.amazon.awscdk.services.autoscaling.StepScalingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepScalingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.StepScalingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepScalingPolicyProps.Companion::unwrap)) ) public constructor( @@ -236,7 +236,7 @@ public open class StepScalingPolicy( * @param adjustmentType How the adjustment numbers inside 'intervals' are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class StepScalingPolicy( * @param autoScalingGroup The auto scaling group. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class StepScalingPolicy( * @param cooldown Grace period after scaling activity. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class StepScalingPolicy( * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class StepScalingPolicy( * @param metric Metric to scale on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class StepScalingPolicy( * periods. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class StepScalingPolicy( * @param scalingSteps The intervals for scaling. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicyProps.kt index b527a053c2..70fd33336c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/StepScalingPolicyProps.kt @@ -142,21 +142,21 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * @param adjustmentType How the adjustment numbers inside 'intervals' are interpreted. */ override fun adjustmentType(adjustmentType: AdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(AdjustmentType.Companion::unwrap)) } /** * @param autoScalingGroup The auto scaling group. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** * @param cooldown Grace period after scaling activity. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * @param metric Metric to scale on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * Only has meaning if `evaluationPeriods != 1`. */ override fun metricAggregationType(metricAggregationType: MetricAggregationType) { - cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType::unwrap)) + cdkBuilder.metricAggregationType(metricAggregationType.let(MetricAggregationType.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface StepScalingPolicyProps : BasicStepScalingPolicyProps { * Must be between 2 and 40 steps. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicy.kt index ee14d7e9f2..5dc7e87c12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicy.kt @@ -45,8 +45,8 @@ public open class TargetTrackingScalingPolicy( id: String, props: TargetTrackingScalingPolicyProps, ) : - this(software.amazon.awscdk.services.autoscaling.TargetTrackingScalingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TargetTrackingScalingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.TargetTrackingScalingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TargetTrackingScalingPolicyProps.Companion::unwrap)) ) public constructor( @@ -168,7 +168,7 @@ public open class TargetTrackingScalingPolicy( * @param autoScalingGroup */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class TargetTrackingScalingPolicy( * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class TargetTrackingScalingPolicy( * @param customMetric A custom metric for application autoscaling. */ override fun customMetric(customMetric: IMetric) { - cdkBuilder.customMetric(customMetric.let(IMetric::unwrap)) + cdkBuilder.customMetric(customMetric.let(IMetric.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class TargetTrackingScalingPolicy( * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class TargetTrackingScalingPolicy( * @param predefinedMetric A predefined metric for application autoscaling. */ override fun predefinedMetric(predefinedMetric: PredefinedMetric) { - cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric::unwrap)) + cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicyProps.kt index dbac2d148d..a5a4e70554 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/TargetTrackingScalingPolicyProps.kt @@ -119,14 +119,14 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * @param autoScalingGroup the value to be set. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** * @param cooldown Period after a scaling completes before another scaling activity can start. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * Exactly one of customMetric or predefinedMetric must be specified. */ override fun customMetric(customMetric: IMetric) { - cdkBuilder.customMetric(customMetric.let(IMetric::unwrap)) + cdkBuilder.customMetric(customMetric.let(IMetric.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * metrics to CloudWatch. */ override fun estimatedInstanceWarmup(estimatedInstanceWarmup: Duration) { - cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.estimatedInstanceWarmup(estimatedInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface TargetTrackingScalingPolicyProps : BasicTargetTrackingScalingPo * Exactly one of customMetric or predefinedMetric must be specified. */ override fun predefinedMetric(predefinedMetric: PredefinedMetric) { - cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric::unwrap)) + cdkBuilder.predefinedMetric(predefinedMetric.let(PredefinedMetric.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/UpdatePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/UpdatePolicy.kt index 8087fc8b2e..f230ca557f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/UpdatePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/UpdatePolicy.kt @@ -34,7 +34,7 @@ public abstract class UpdatePolicy( software.amazon.awscdk.services.autoscaling.UpdatePolicy.rollingUpdate().let(UpdatePolicy::wrap) public fun rollingUpdate(options: RollingUpdateOptions): UpdatePolicy = - software.amazon.awscdk.services.autoscaling.UpdatePolicy.rollingUpdate(options.let(RollingUpdateOptions::unwrap)).let(UpdatePolicy::wrap) + software.amazon.awscdk.services.autoscaling.UpdatePolicy.rollingUpdate(options.let(RollingUpdateOptions.Companion::unwrap)).let(UpdatePolicy::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("429eeac013535c93986670fd396dc6358d4fc7f0e2075067e1f84f6ba74ef5fc") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPool.kt index ce4a4b9439..4f6203d8b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPool.kt @@ -39,8 +39,8 @@ public open class WarmPool( id: String, props: WarmPoolProps, ) : - this(software.amazon.awscdk.services.autoscaling.WarmPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WarmPoolProps::unwrap)) + this(software.amazon.awscdk.services.autoscaling.WarmPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WarmPoolProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class WarmPool( * @param autoScalingGroup The Auto Scaling group to add the warm pool to. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class WarmPool( * complete. */ override fun poolState(poolState: PoolState) { - cdkBuilder.poolState(poolState.let(PoolState::unwrap)) + cdkBuilder.poolState(poolState.let(PoolState.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolOptions.kt index 070ce7105b..79daffa2ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolOptions.kt @@ -118,7 +118,7 @@ public interface WarmPoolOptions { * complete. */ override fun poolState(poolState: PoolState) { - cdkBuilder.poolState(poolState.let(PoolState::unwrap)) + cdkBuilder.poolState(poolState.let(PoolState.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolProps.kt index 5bf0a8ce99..9371d07679 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/WarmPoolProps.kt @@ -81,7 +81,7 @@ public interface WarmPoolProps : WarmPoolOptions { * @param autoScalingGroup The Auto Scaling group to add the warm pool to. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public interface WarmPoolProps : WarmPoolOptions { * complete. */ override fun poolState(poolState: PoolState) { - cdkBuilder.poolState(poolState.let(PoolState::unwrap)) + cdkBuilder.poolState(poolState.let(PoolState.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/common/ArbitraryIntervals.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/common/ArbitraryIntervals.kt index d762be08db..b7cfb8d15c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/common/ArbitraryIntervals.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/common/ArbitraryIntervals.kt @@ -75,7 +75,7 @@ public interface ArbitraryIntervals { * @param intervals the value to be set. */ override fun intervals(intervals: List) { - cdkBuilder.intervals(intervals.map(ScalingInterval::unwrap)) + cdkBuilder.intervals(intervals.map(ScalingInterval.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/FunctionHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/FunctionHook.kt index 980cc71a96..acf9d3ef76 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/FunctionHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/FunctionHook.kt @@ -34,12 +34,12 @@ public open class FunctionHook( cdkObject: software.amazon.awscdk.services.autoscaling.hooktargets.FunctionHook, ) : CdkObject(cdkObject), ILifecycleHookTarget { public constructor(fn: IFunction) : - this(software.amazon.awscdk.services.autoscaling.hooktargets.FunctionHook(fn.let(IFunction::unwrap)) + this(software.amazon.awscdk.services.autoscaling.hooktargets.FunctionHook(fn.let(IFunction.Companion::unwrap)) ) public constructor(fn: IFunction, encryptionKey: IKey) : - this(software.amazon.awscdk.services.autoscaling.hooktargets.FunctionHook(fn.let(IFunction::unwrap), - encryptionKey.let(IKey::unwrap)) + this(software.amazon.awscdk.services.autoscaling.hooktargets.FunctionHook(fn.let(IFunction.Companion::unwrap), + encryptionKey.let(IKey.Companion::unwrap)) ) /** @@ -53,8 +53,8 @@ public open class FunctionHook( * @param options */ public override fun bind(scope: Construct, options: BindHookTargetOptions): - LifecycleHookTargetConfig = unwrap(this).bind(scope.let(Construct::unwrap), - options.let(BindHookTargetOptions::unwrap)).let(LifecycleHookTargetConfig::wrap) + LifecycleHookTargetConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(BindHookTargetOptions.Companion::unwrap)).let(LifecycleHookTargetConfig::wrap) /** * If the `IRole` does not exist in `options`, will create an `IRole` and an SNS Topic and attach diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/QueueHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/QueueHook.kt index 667420f219..24571cd24a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/QueueHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/QueueHook.kt @@ -29,7 +29,7 @@ public open class QueueHook( cdkObject: software.amazon.awscdk.services.autoscaling.hooktargets.QueueHook, ) : CdkObject(cdkObject), ILifecycleHookTarget { public constructor(queue: IQueue) : - this(software.amazon.awscdk.services.autoscaling.hooktargets.QueueHook(queue.let(IQueue::unwrap)) + this(software.amazon.awscdk.services.autoscaling.hooktargets.QueueHook(queue.let(IQueue.Companion::unwrap)) ) /** @@ -43,8 +43,8 @@ public open class QueueHook( * @param options */ public override fun bind(scope: Construct, options: BindHookTargetOptions): - LifecycleHookTargetConfig = unwrap(this).bind(scope.let(Construct::unwrap), - options.let(BindHookTargetOptions::unwrap)).let(LifecycleHookTargetConfig::wrap) + LifecycleHookTargetConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(BindHookTargetOptions.Companion::unwrap)).let(LifecycleHookTargetConfig::wrap) /** * If an `IRole` is found in `options`, grant it access to send messages. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/TopicHook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/TopicHook.kt index 72af0c1c93..ba8f749eb3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/TopicHook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscaling/hooktargets/TopicHook.kt @@ -29,7 +29,7 @@ public open class TopicHook( cdkObject: software.amazon.awscdk.services.autoscaling.hooktargets.TopicHook, ) : CdkObject(cdkObject), ILifecycleHookTarget { public constructor(topic: ITopic) : - this(software.amazon.awscdk.services.autoscaling.hooktargets.TopicHook(topic.let(ITopic::unwrap)) + this(software.amazon.awscdk.services.autoscaling.hooktargets.TopicHook(topic.let(ITopic.Companion::unwrap)) ) /** @@ -43,8 +43,8 @@ public open class TopicHook( * @param options */ public override fun bind(scope: Construct, options: BindHookTargetOptions): - LifecycleHookTargetConfig = unwrap(this).bind(scope.let(Construct::unwrap), - options.let(BindHookTargetOptions::unwrap)).let(LifecycleHookTargetConfig::wrap) + LifecycleHookTargetConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(BindHookTargetOptions.Companion::unwrap)).let(LifecycleHookTargetConfig::wrap) /** * If an `IRole` is found in `options`, grant it topic publishing permissions. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlan.kt index 09202b5b68..0cb46a7d53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlan.kt @@ -117,8 +117,8 @@ public open class CfnScalingPlan( id: String, props: CfnScalingPlanProps, ) : - this(software.amazon.awscdk.services.autoscalingplans.CfnScalingPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScalingPlanProps::unwrap)) + this(software.amazon.awscdk.services.autoscalingplans.CfnScalingPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScalingPlanProps.Companion::unwrap)) ) public constructor( @@ -137,14 +137,14 @@ public open class CfnScalingPlan( * A CloudFormation stack or a set of tags. */ public open fun applicationSource(`value`: IResolvable) { - unwrap(this).setApplicationSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationSource(`value`.let(IResolvable.Companion::unwrap)) } /** * A CloudFormation stack or a set of tags. */ public open fun applicationSource(`value`: ApplicationSourceProperty) { - unwrap(this).setApplicationSource(`value`.let(ApplicationSourceProperty::unwrap)) + unwrap(this).setApplicationSource(`value`.let(ApplicationSourceProperty.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnScalingPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnScalingPlan( * The scaling instructions. */ public open fun scalingInstructions(`value`: IResolvable) { - unwrap(this).setScalingInstructions(`value`.let(IResolvable::unwrap)) + unwrap(this).setScalingInstructions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnScalingPlan( * @param applicationSource A CloudFormation stack or a set of tags. */ override fun applicationSource(applicationSource: IResolvable) { - cdkBuilder.applicationSource(applicationSource.let(IResolvable::unwrap)) + cdkBuilder.applicationSource(applicationSource.let(IResolvable.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnScalingPlan( * @param applicationSource A CloudFormation stack or a set of tags. */ override fun applicationSource(applicationSource: ApplicationSourceProperty) { - cdkBuilder.applicationSource(applicationSource.let(ApplicationSourceProperty::unwrap)) + cdkBuilder.applicationSource(applicationSource.let(ApplicationSourceProperty.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnScalingPlan( * @param scalingInstructions The scaling instructions. */ override fun scalingInstructions(scalingInstructions: IResolvable) { - cdkBuilder.scalingInstructions(scalingInstructions.let(IResolvable::unwrap)) + cdkBuilder.scalingInstructions(scalingInstructions.let(IResolvable.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnScalingPlan( * You must specify either a `CloudFormationStackARN` or `TagFilters` . */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public open class CfnScalingPlan( * dimensions in your customized load metric specification. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class CfnScalingPlan( * dimensions in your scaling policy. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2222,7 +2222,7 @@ public open class CfnScalingPlan( */ override fun customizedLoadMetricSpecification(customizedLoadMetricSpecification: IResolvable) { - cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -2233,7 +2233,7 @@ public open class CfnScalingPlan( */ override fun customizedLoadMetricSpecification(customizedLoadMetricSpecification: CustomizedLoadMetricSpecificationProperty) { - cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(CustomizedLoadMetricSpecificationProperty::unwrap)) + cdkBuilder.customizedLoadMetricSpecification(customizedLoadMetricSpecification.let(CustomizedLoadMetricSpecificationProperty.Companion::unwrap)) } /** @@ -2268,7 +2268,7 @@ public open class CfnScalingPlan( * The default is enabled ( `false` ). */ override fun disableDynamicScaling(disableDynamicScaling: IResolvable) { - cdkBuilder.disableDynamicScaling(disableDynamicScaling.let(IResolvable::unwrap)) + cdkBuilder.disableDynamicScaling(disableDynamicScaling.let(IResolvable.Companion::unwrap)) } /** @@ -2295,7 +2295,7 @@ public open class CfnScalingPlan( */ override fun predefinedLoadMetricSpecification(predefinedLoadMetricSpecification: IResolvable) { - cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -2306,7 +2306,7 @@ public open class CfnScalingPlan( */ override fun predefinedLoadMetricSpecification(predefinedLoadMetricSpecification: PredefinedLoadMetricSpecificationProperty) { - cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(PredefinedLoadMetricSpecificationProperty::unwrap)) + cdkBuilder.predefinedLoadMetricSpecification(predefinedLoadMetricSpecification.let(PredefinedLoadMetricSpecificationProperty.Companion::unwrap)) } /** @@ -2453,7 +2453,7 @@ public open class CfnScalingPlan( * metric. */ override fun targetTrackingConfigurations(targetTrackingConfigurations: IResolvable) { - cdkBuilder.targetTrackingConfigurations(targetTrackingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingConfigurations(targetTrackingConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -3046,7 +3046,7 @@ public open class CfnScalingPlan( */ override fun customizedScalingMetricSpecification(customizedScalingMetricSpecification: IResolvable) { - cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3055,7 +3055,7 @@ public open class CfnScalingPlan( */ override fun customizedScalingMetricSpecification(customizedScalingMetricSpecification: CustomizedScalingMetricSpecificationProperty) { - cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(CustomizedScalingMetricSpecificationProperty::unwrap)) + cdkBuilder.customizedScalingMetricSpecification(customizedScalingMetricSpecification.let(CustomizedScalingMetricSpecificationProperty.Companion::unwrap)) } /** @@ -3092,7 +3092,7 @@ public open class CfnScalingPlan( * The default value is `false` . */ override fun disableScaleIn(disableScaleIn: IResolvable) { - cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable::unwrap)) + cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable.Companion::unwrap)) } /** @@ -3110,7 +3110,7 @@ public open class CfnScalingPlan( */ override fun predefinedScalingMetricSpecification(predefinedScalingMetricSpecification: IResolvable) { - cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(IResolvable::unwrap)) + cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3119,7 +3119,7 @@ public open class CfnScalingPlan( */ override fun predefinedScalingMetricSpecification(predefinedScalingMetricSpecification: PredefinedScalingMetricSpecificationProperty) { - cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(PredefinedScalingMetricSpecificationProperty::unwrap)) + cdkBuilder.predefinedScalingMetricSpecification(predefinedScalingMetricSpecification.let(PredefinedScalingMetricSpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlanProps.kt index cb2658116d..cda11eef3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/autoscalingplans/CfnScalingPlanProps.kt @@ -162,7 +162,7 @@ public interface CfnScalingPlanProps { * be present to ensure interoperability with the AWS Auto Scaling console. */ override fun applicationSource(applicationSource: IResolvable) { - cdkBuilder.applicationSource(applicationSource.let(IResolvable::unwrap)) + cdkBuilder.applicationSource(applicationSource.let(IResolvable.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public interface CfnScalingPlanProps { * be present to ensure interoperability with the AWS Auto Scaling console. */ override fun applicationSource(applicationSource: CfnScalingPlan.ApplicationSourceProperty) { - cdkBuilder.applicationSource(applicationSource.let(CfnScalingPlan.ApplicationSourceProperty::unwrap)) + cdkBuilder.applicationSource(applicationSource.let(CfnScalingPlan.ApplicationSourceProperty.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnScalingPlanProps { * @param scalingInstructions The scaling instructions. */ override fun scalingInstructions(scalingInstructions: IResolvable) { - cdkBuilder.scalingInstructions(scalingInstructions.let(IResolvable::unwrap)) + cdkBuilder.scalingInstructions(scalingInstructions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapability.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapability.kt index 411ed058d1..5f1c290630 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapability.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapability.kt @@ -76,8 +76,8 @@ public open class CfnCapability( id: String, props: CfnCapabilityProps, ) : - this(software.amazon.awscdk.services.b2bi.CfnCapability(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCapabilityProps::unwrap)) + this(software.amazon.awscdk.services.b2bi.CfnCapability(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCapabilityProps.Companion::unwrap)) ) public constructor( @@ -124,14 +124,14 @@ public open class CfnCapability( * Specifies a structure that contains the details for a capability. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies a structure that contains the details for a capability. */ public open fun configuration(`value`: CapabilityConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(CapabilityConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(CapabilityConfigurationProperty.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnCapability( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnCapability( * with this capability. */ public open fun instructionsDocuments(`value`: IResolvable) { - unwrap(this).setInstructionsDocuments(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstructionsDocuments(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnCapability( * resources by type. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnCapability( * @param configuration Specifies a structure that contains the details for a capability. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnCapability( * @param configuration Specifies a structure that contains the details for a capability. */ override fun configuration(configuration: CapabilityConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CapabilityConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CapabilityConfigurationProperty.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnCapability( * EDI document that can be used with this capability. */ override fun instructionsDocuments(instructionsDocuments: IResolvable) { - cdkBuilder.instructionsDocuments(instructionsDocuments.let(IResolvable::unwrap)) + cdkBuilder.instructionsDocuments(instructionsDocuments.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnCapability( * search for resources by type. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -566,14 +566,14 @@ public open class CfnCapability( * @param edi An EDI (electronic data interchange) configuration object. */ override fun edi(edi: IResolvable) { - cdkBuilder.edi(edi.let(IResolvable::unwrap)) + cdkBuilder.edi(edi.let(IResolvable.Companion::unwrap)) } /** * @param edi An EDI (electronic data interchange) configuration object. */ override fun edi(edi: EdiConfigurationProperty) { - cdkBuilder.edi(edi.let(EdiConfigurationProperty::unwrap)) + cdkBuilder.edi(edi.let(EdiConfigurationProperty.Companion::unwrap)) } /** @@ -762,7 +762,7 @@ public open class CfnCapability( * file, which is contained in an `S3Location` object. */ override fun inputLocation(inputLocation: IResolvable) { - cdkBuilder.inputLocation(inputLocation.let(IResolvable::unwrap)) + cdkBuilder.inputLocation(inputLocation.let(IResolvable.Companion::unwrap)) } /** @@ -770,7 +770,7 @@ public open class CfnCapability( * file, which is contained in an `S3Location` object. */ override fun inputLocation(inputLocation: S3LocationProperty) { - cdkBuilder.inputLocation(inputLocation.let(S3LocationProperty::unwrap)) + cdkBuilder.inputLocation(inputLocation.let(S3LocationProperty.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public open class CfnCapability( * output file, which is contained in an `S3Location` object. */ override fun outputLocation(outputLocation: IResolvable) { - cdkBuilder.outputLocation(outputLocation.let(IResolvable::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(IResolvable.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class CfnCapability( * output file, which is contained in an `S3Location` object. */ override fun outputLocation(outputLocation: S3LocationProperty) { - cdkBuilder.outputLocation(outputLocation.let(S3LocationProperty::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(S3LocationProperty.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public open class CfnCapability( * Currently, only `edi` is supported. */ override fun type(type: IResolvable) { - cdkBuilder.type(type.let(IResolvable::unwrap)) + cdkBuilder.type(type.let(IResolvable.Companion::unwrap)) } /** @@ -827,7 +827,7 @@ public open class CfnCapability( * Currently, only `edi` is supported. */ override fun type(type: EdiTypeProperty) { - cdkBuilder.type(type.let(EdiTypeProperty::unwrap)) + cdkBuilder.type(type.let(EdiTypeProperty.Companion::unwrap)) } /** @@ -975,7 +975,7 @@ public open class CfnCapability( * define specific business documents. */ override fun x12Details(x12Details: IResolvable) { - cdkBuilder.x12Details(x12Details.let(IResolvable::unwrap)) + cdkBuilder.x12Details(x12Details.let(IResolvable.Companion::unwrap)) } /** @@ -985,7 +985,7 @@ public open class CfnCapability( * define specific business documents. */ override fun x12Details(x12Details: X12DetailsProperty) { - cdkBuilder.x12Details(x12Details.let(X12DetailsProperty::unwrap)) + cdkBuilder.x12Details(x12Details.let(X12DetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapabilityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapabilityProps.kt index af83192290..453e6fd857 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapabilityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnCapabilityProps.kt @@ -183,14 +183,14 @@ public interface CfnCapabilityProps { * @param configuration Specifies a structure that contains the details for a capability. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration Specifies a structure that contains the details for a capability. */ override fun configuration(configuration: CfnCapability.CapabilityConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnCapability.CapabilityConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnCapability.CapabilityConfigurationProperty.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnCapabilityProps { * Each item contains the name of the bucket and the key, to identify the document's location. */ override fun instructionsDocuments(instructionsDocuments: IResolvable) { - cdkBuilder.instructionsDocuments(instructionsDocuments.let(IResolvable::unwrap)) + cdkBuilder.instructionsDocuments(instructionsDocuments.let(IResolvable.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface CfnCapabilityProps { * purpose. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnership.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnership.kt index 4bd64083ab..a0a9ae843b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnership.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnership.kt @@ -51,8 +51,8 @@ public open class CfnPartnership( id: String, props: CfnPartnershipProps, ) : - this(software.amazon.awscdk.services.b2bi.CfnPartnership(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPartnershipProps::unwrap)) + this(software.amazon.awscdk.services.b2bi.CfnPartnership(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPartnershipProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class CfnPartnership( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnPartnership( * A key-value pair for a specific partnership. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnPartnership( * @param tags A key-value pair for a specific partnership. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnershipProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnershipProps.kt index 23ffce4587..2572c15a34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnershipProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnPartnershipProps.kt @@ -176,7 +176,7 @@ public interface CfnPartnershipProps { * Tags are metadata that you can use to search for and group capabilities for various purposes. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfile.kt index 4c4d390edb..b83eff9986 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfile.kt @@ -51,8 +51,8 @@ public open class CfnProfile( id: String, props: CfnProfileProps, ) : - this(software.amazon.awscdk.services.b2bi.CfnProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProfileProps::unwrap)) + this(software.amazon.awscdk.services.b2bi.CfnProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfileProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnProfile( * A key-value pair for a specific profile. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public open class CfnProfile( * @param tags A key-value pair for a specific profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfileProps.kt index fda953dd13..051bc5adbe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnProfileProps.kt @@ -163,7 +163,7 @@ public interface CfnProfileProps { * Tags are metadata that you can use to search for and group capabilities for various purposes. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformer.kt index 38d36db215..7b259319ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformer.kt @@ -62,8 +62,8 @@ public open class CfnTransformer( id: String, props: CfnTransformerProps, ) : - this(software.amazon.awscdk.services.b2bi.CfnTransformer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransformerProps::unwrap)) + this(software.amazon.awscdk.services.b2bi.CfnTransformer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransformerProps.Companion::unwrap)) ) public constructor( @@ -111,14 +111,14 @@ public open class CfnTransformer( * Returns the details for the EDI standard that is being used for the transformer. */ public open fun ediType(`value`: IResolvable) { - unwrap(this).setEdiType(`value`.let(IResolvable::unwrap)) + unwrap(this).setEdiType(`value`.let(IResolvable.Companion::unwrap)) } /** * Returns the details for the EDI standard that is being used for the transformer. */ public open fun ediType(`value`: EdiTypeProperty) { - unwrap(this).setEdiType(`value`.let(EdiTypeProperty::unwrap)) + unwrap(this).setEdiType(`value`.let(EdiTypeProperty.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnTransformer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnTransformer( * A key-value pair for a specific transformer. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnTransformer( * transformer. */ override fun ediType(ediType: IResolvable) { - cdkBuilder.ediType(ediType.let(IResolvable::unwrap)) + cdkBuilder.ediType(ediType.let(IResolvable.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnTransformer( * transformer. */ override fun ediType(ediType: EdiTypeProperty) { - cdkBuilder.ediType(ediType.let(EdiTypeProperty::unwrap)) + cdkBuilder.ediType(ediType.let(EdiTypeProperty.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnTransformer( * @param tags A key-value pair for a specific transformer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnTransformer( * define specific business documents. */ override fun x12Details(x12Details: IResolvable) { - cdkBuilder.x12Details(x12Details.let(IResolvable::unwrap)) + cdkBuilder.x12Details(x12Details.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnTransformer( * define specific business documents. */ override fun x12Details(x12Details: X12DetailsProperty) { - cdkBuilder.x12Details(x12Details.let(X12DetailsProperty::unwrap)) + cdkBuilder.x12Details(x12Details.let(X12DetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformerProps.kt index bea012cd1a..5c65a5d5c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/b2bi/CfnTransformerProps.kt @@ -190,7 +190,7 @@ public interface CfnTransformerProps { * define specific business documents. */ override fun ediType(ediType: IResolvable) { - cdkBuilder.ediType(ediType.let(IResolvable::unwrap)) + cdkBuilder.ediType(ediType.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public interface CfnTransformerProps { * define specific business documents. */ override fun ediType(ediType: CfnTransformer.EdiTypeProperty) { - cdkBuilder.ediType(ediType.let(CfnTransformer.EdiTypeProperty::unwrap)) + cdkBuilder.ediType(ediType.let(CfnTransformer.EdiTypeProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface CfnTransformerProps { * Tags are metadata that you can use to search for and group capabilities for various purposes. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlan.kt index 59487d3210..30dea7f8a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlan.kt @@ -26,7 +26,7 @@ public open class BackupPlan( cdkObject: software.amazon.awscdk.services.backup.BackupPlan, ) : Resource(cdkObject), IBackupPlan { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.backup.BackupPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.backup.BackupPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -35,8 +35,8 @@ public open class BackupPlan( id: String, props: BackupPlanProps, ) : - this(software.amazon.awscdk.services.backup.BackupPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BackupPlanProps::unwrap)) + this(software.amazon.awscdk.services.backup.BackupPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BackupPlanProps.Companion::unwrap)) ) public constructor( @@ -52,7 +52,7 @@ public open class BackupPlan( * @param rule the rule to add. */ public open fun addRule(rule: BackupPlanRule) { - unwrap(this).addRule(rule.let(BackupPlanRule::unwrap)) + unwrap(this).addRule(rule.let(BackupPlanRule.Companion::unwrap)) } /** @@ -73,7 +73,7 @@ public open class BackupPlan( */ public open fun addSelection(id: String, options: BackupSelectionOptions): BackupSelection = unwrap(this).addSelection(id, - options.let(BackupSelectionOptions::unwrap)).let(BackupSelection::wrap) + options.let(BackupSelectionOptions.Companion::unwrap)).let(BackupSelection::wrap) /** * Adds a selection to this plan. @@ -195,7 +195,7 @@ public open class BackupPlan( * @param backupPlanRules Rules for the backup plan. */ override fun backupPlanRules(backupPlanRules: List) { - cdkBuilder.backupPlanRules(backupPlanRules.map(BackupPlanRule::unwrap)) + cdkBuilder.backupPlanRules(backupPlanRules.map(BackupPlanRule.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class BackupPlan( * @param backupVault The backup vault where backups are stored. */ override fun backupVault(backupVault: IBackupVault) { - cdkBuilder.backupVault(backupVault.let(IBackupVault::unwrap)) + cdkBuilder.backupVault(backupVault.let(IBackupVault.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class BackupPlan( public companion object { public fun daily35DayRetention(scope: CloudshiftdevConstructsConstruct, id: String): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.daily35DayRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupPlan.daily35DayRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id).let(BackupPlan::wrap) public fun daily35DayRetention( @@ -249,12 +249,12 @@ public open class BackupPlan( id: String, backupVault: IBackupVault, ): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.daily35DayRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, backupVault.let(IBackupVault::unwrap)).let(BackupPlan::wrap) + software.amazon.awscdk.services.backup.BackupPlan.daily35DayRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlan::wrap) public fun dailyMonthly1YearRetention(scope: CloudshiftdevConstructsConstruct, id: String): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.dailyMonthly1YearRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupPlan.dailyMonthly1YearRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id).let(BackupPlan::wrap) public fun dailyMonthly1YearRetention( @@ -262,12 +262,12 @@ public open class BackupPlan( id: String, backupVault: IBackupVault, ): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.dailyMonthly1YearRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, backupVault.let(IBackupVault::unwrap)).let(BackupPlan::wrap) + software.amazon.awscdk.services.backup.BackupPlan.dailyMonthly1YearRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlan::wrap) public fun dailyWeeklyMonthly5YearRetention(scope: CloudshiftdevConstructsConstruct, id: String): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly5YearRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly5YearRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id).let(BackupPlan::wrap) public fun dailyWeeklyMonthly5YearRetention( @@ -275,12 +275,12 @@ public open class BackupPlan( id: String, backupVault: IBackupVault, ): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly5YearRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, backupVault.let(IBackupVault::unwrap)).let(BackupPlan::wrap) + software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly5YearRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlan::wrap) public fun dailyWeeklyMonthly7YearRetention(scope: CloudshiftdevConstructsConstruct, id: String): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly7YearRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly7YearRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id).let(BackupPlan::wrap) public fun dailyWeeklyMonthly7YearRetention( @@ -288,15 +288,15 @@ public open class BackupPlan( id: String, backupVault: IBackupVault, ): BackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly7YearRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, backupVault.let(IBackupVault::unwrap)).let(BackupPlan::wrap) + software.amazon.awscdk.services.backup.BackupPlan.dailyWeeklyMonthly7YearRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlan::wrap) public fun fromBackupPlanId( scope: CloudshiftdevConstructsConstruct, id: String, backupPlanId: String, ): IBackupPlan = - software.amazon.awscdk.services.backup.BackupPlan.fromBackupPlanId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupPlan.fromBackupPlanId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, backupPlanId).let(IBackupPlan::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanCopyActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanCopyActionProps.kt index 4d9a516c9f..1fac462a20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanCopyActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanCopyActionProps.kt @@ -85,14 +85,14 @@ public interface BackupPlanCopyActionProps { * Must be at least 90 days greater than `moveToColdStorageAfter`, if specified. */ override fun deleteAfter(deleteAfter: Duration) { - cdkBuilder.deleteAfter(deleteAfter.let(Duration::unwrap)) + cdkBuilder.deleteAfter(deleteAfter.let(Duration.Companion::unwrap)) } /** * @param destinationBackupVault Destination Vault for recovery points to be copied into. */ override fun destinationBackupVault(destinationBackupVault: IBackupVault) { - cdkBuilder.destinationBackupVault(destinationBackupVault.let(IBackupVault::unwrap)) + cdkBuilder.destinationBackupVault(destinationBackupVault.let(IBackupVault.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public interface BackupPlanCopyActionProps { * point is moved to cold storage. */ override fun moveToColdStorageAfter(moveToColdStorageAfter: Duration) { - cdkBuilder.moveToColdStorageAfter(moveToColdStorageAfter.let(Duration::unwrap)) + cdkBuilder.moveToColdStorageAfter(moveToColdStorageAfter.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupPlanCopyActionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanProps.kt index ecce15b81b..8505f22b96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanProps.kt @@ -109,7 +109,7 @@ public interface BackupPlanProps { * instantiation. */ override fun backupPlanRules(backupPlanRules: List) { - cdkBuilder.backupPlanRules(backupPlanRules.map(BackupPlanRule::unwrap)) + cdkBuilder.backupPlanRules(backupPlanRules.map(BackupPlanRule.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public interface BackupPlanProps { * @param backupVault The backup vault where backups are stored. */ override fun backupVault(backupVault: IBackupVault) { - cdkBuilder.backupVault(backupVault.let(IBackupVault::unwrap)) + cdkBuilder.backupVault(backupVault.let(IBackupVault.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRule.kt index 43f9437711..aad371a4d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRule.kt @@ -29,7 +29,7 @@ public open class BackupPlanRule( cdkObject: software.amazon.awscdk.services.backup.BackupPlanRule, ) : CdkObject(cdkObject) { public constructor(props: BackupPlanRuleProps) : - this(software.amazon.awscdk.services.backup.BackupPlanRule(props.let(BackupPlanRuleProps::unwrap)) + this(software.amazon.awscdk.services.backup.BackupPlanRule(props.let(BackupPlanRuleProps.Companion::unwrap)) ) public constructor(props: BackupPlanRuleProps.Builder.() -> Unit) : @@ -181,7 +181,7 @@ public open class BackupPlanRule( * @param backupVault The backup vault where backups are. */ override fun backupVault(backupVault: IBackupVault) { - cdkBuilder.backupVault(backupVault.let(IBackupVault::unwrap)) + cdkBuilder.backupVault(backupVault.let(IBackupVault.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class BackupPlanRule( * must be completed or it is canceled by AWS Backup. */ override fun completionWindow(completionWindow: Duration) { - cdkBuilder.completionWindow(completionWindow.let(Duration::unwrap)) + cdkBuilder.completionWindow(completionWindow.let(Duration.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class BackupPlanRule( * @param copyActions Copy operations to perform on recovery points created by this rule. */ override fun copyActions(copyActions: List) { - cdkBuilder.copyActions(copyActions.map(BackupPlanCopyActionProps::unwrap)) + cdkBuilder.copyActions(copyActions.map(BackupPlanCopyActionProps.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class BackupPlanRule( * @param deleteAfter Specifies the duration after creation that a recovery point is deleted. */ override fun deleteAfter(deleteAfter: Duration) { - cdkBuilder.deleteAfter(deleteAfter.let(Duration::unwrap)) + cdkBuilder.deleteAfter(deleteAfter.let(Duration.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class BackupPlanRule( * moved to cold storage. */ override fun moveToColdStorageAfter(moveToColdStorageAfter: Duration) { - cdkBuilder.moveToColdStorageAfter(moveToColdStorageAfter.let(Duration::unwrap)) + cdkBuilder.moveToColdStorageAfter(moveToColdStorageAfter.let(Duration.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class BackupPlanRule( * job. */ override fun scheduleExpression(scheduleExpression: Schedule) { - cdkBuilder.scheduleExpression(scheduleExpression.let(Schedule::unwrap)) + cdkBuilder.scheduleExpression(scheduleExpression.let(Schedule.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class BackupPlanRule( * doesn't start successfully. */ override fun startWindow(startWindow: Duration) { - cdkBuilder.startWindow(startWindow.let(Duration::unwrap)) + cdkBuilder.startWindow(startWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupPlanRule = cdkBuilder.build() @@ -321,31 +321,31 @@ public open class BackupPlanRule( software.amazon.awscdk.services.backup.BackupPlanRule.daily().let(BackupPlanRule::wrap) public fun daily(backupVault: IBackupVault): BackupPlanRule = - software.amazon.awscdk.services.backup.BackupPlanRule.daily(backupVault.let(IBackupVault::unwrap)).let(BackupPlanRule::wrap) + software.amazon.awscdk.services.backup.BackupPlanRule.daily(backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlanRule::wrap) public fun monthly1Year(): BackupPlanRule = software.amazon.awscdk.services.backup.BackupPlanRule.monthly1Year().let(BackupPlanRule::wrap) public fun monthly1Year(backupVault: IBackupVault): BackupPlanRule = - software.amazon.awscdk.services.backup.BackupPlanRule.monthly1Year(backupVault.let(IBackupVault::unwrap)).let(BackupPlanRule::wrap) + software.amazon.awscdk.services.backup.BackupPlanRule.monthly1Year(backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlanRule::wrap) public fun monthly5Year(): BackupPlanRule = software.amazon.awscdk.services.backup.BackupPlanRule.monthly5Year().let(BackupPlanRule::wrap) public fun monthly5Year(backupVault: IBackupVault): BackupPlanRule = - software.amazon.awscdk.services.backup.BackupPlanRule.monthly5Year(backupVault.let(IBackupVault::unwrap)).let(BackupPlanRule::wrap) + software.amazon.awscdk.services.backup.BackupPlanRule.monthly5Year(backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlanRule::wrap) public fun monthly7Year(): BackupPlanRule = software.amazon.awscdk.services.backup.BackupPlanRule.monthly7Year().let(BackupPlanRule::wrap) public fun monthly7Year(backupVault: IBackupVault): BackupPlanRule = - software.amazon.awscdk.services.backup.BackupPlanRule.monthly7Year(backupVault.let(IBackupVault::unwrap)).let(BackupPlanRule::wrap) + software.amazon.awscdk.services.backup.BackupPlanRule.monthly7Year(backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlanRule::wrap) public fun weekly(): BackupPlanRule = software.amazon.awscdk.services.backup.BackupPlanRule.weekly().let(BackupPlanRule::wrap) public fun weekly(backupVault: IBackupVault): BackupPlanRule = - software.amazon.awscdk.services.backup.BackupPlanRule.weekly(backupVault.let(IBackupVault::unwrap)).let(BackupPlanRule::wrap) + software.amazon.awscdk.services.backup.BackupPlanRule.weekly(backupVault.let(IBackupVault.Companion::unwrap)).let(BackupPlanRule::wrap) public operator fun invoke(block: Builder.() -> Unit = {}): BackupPlanRule { val builderImpl = BuilderImpl() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRuleProps.kt index 762101dd8c..4e906b446e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupPlanRuleProps.kt @@ -204,7 +204,7 @@ public interface BackupPlanRuleProps { * @param backupVault The backup vault where backups are. */ override fun backupVault(backupVault: IBackupVault) { - cdkBuilder.backupVault(backupVault.let(IBackupVault::unwrap)) + cdkBuilder.backupVault(backupVault.let(IBackupVault.Companion::unwrap)) } /** @@ -212,14 +212,14 @@ public interface BackupPlanRuleProps { * must be completed or it is canceled by AWS Backup. */ override fun completionWindow(completionWindow: Duration) { - cdkBuilder.completionWindow(completionWindow.let(Duration::unwrap)) + cdkBuilder.completionWindow(completionWindow.let(Duration.Companion::unwrap)) } /** * @param copyActions Copy operations to perform on recovery points created by this rule. */ override fun copyActions(copyActions: List) { - cdkBuilder.copyActions(copyActions.map(BackupPlanCopyActionProps::unwrap)) + cdkBuilder.copyActions(copyActions.map(BackupPlanCopyActionProps.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public interface BackupPlanRuleProps { * Must be greater than `moveToColdStorageAfter`. */ override fun deleteAfter(deleteAfter: Duration) { - cdkBuilder.deleteAfter(deleteAfter.let(Duration::unwrap)) + cdkBuilder.deleteAfter(deleteAfter.let(Duration.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface BackupPlanRuleProps { * moved to cold storage. */ override fun moveToColdStorageAfter(moveToColdStorageAfter: Duration) { - cdkBuilder.moveToColdStorageAfter(moveToColdStorageAfter.let(Duration::unwrap)) + cdkBuilder.moveToColdStorageAfter(moveToColdStorageAfter.let(Duration.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface BackupPlanRuleProps { * job. */ override fun scheduleExpression(scheduleExpression: Schedule) { - cdkBuilder.scheduleExpression(scheduleExpression.let(Schedule::unwrap)) + cdkBuilder.scheduleExpression(scheduleExpression.let(Schedule.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface BackupPlanRuleProps { * doesn't start successfully. */ override fun startWindow(startWindow: Duration) { - cdkBuilder.startWindow(startWindow.let(Duration::unwrap)) + cdkBuilder.startWindow(startWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupPlanRuleProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupResource.kt index 7e7c02e54f..97e15c9150 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupResource.kt @@ -64,7 +64,7 @@ public open class BackupResource( public constructor(resource: String, tagCondition: TagCondition) : this(software.amazon.awscdk.services.backup.BackupResource(resource, - tagCondition.let(TagCondition::unwrap)) + tagCondition.let(TagCondition.Companion::unwrap)) ) public constructor(resource: String, tagCondition: TagCondition.Builder.() -> Unit) : @@ -76,8 +76,8 @@ public open class BackupResource( tagCondition: TagCondition, construct: CloudshiftdevConstructsConstruct, ) : this(software.amazon.awscdk.services.backup.BackupResource(resource, - tagCondition.let(TagCondition::unwrap), - construct.let(CloudshiftdevConstructsConstruct::unwrap)) + tagCondition.let(TagCondition.Companion::unwrap), + construct.let(CloudshiftdevConstructsConstruct.Companion::unwrap)) ) /** @@ -161,7 +161,7 @@ public open class BackupResource( * a selection. */ override fun operation(operation: TagOperation) { - cdkBuilder.operation(operation.let(TagOperation::unwrap)) + cdkBuilder.operation(operation.let(TagOperation.Companion::unwrap)) } /** @@ -184,25 +184,25 @@ public open class BackupResource( software.amazon.awscdk.services.backup.BackupResource.fromArn(arn).let(BackupResource::wrap) public fun fromConstruct(construct: CloudshiftdevConstructsConstruct): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromConstruct(construct.let(CloudshiftdevConstructsConstruct::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromConstruct(construct.let(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(BackupResource::wrap) public fun fromDynamoDbTable(table: ITable): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromDynamoDbTable(table.let(ITable::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromDynamoDbTable(table.let(ITable.Companion::unwrap)).let(BackupResource::wrap) public fun fromEc2Instance(instance: IInstance): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromEc2Instance(instance.let(IInstance::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromEc2Instance(instance.let(IInstance.Companion::unwrap)).let(BackupResource::wrap) public fun fromEfsFileSystem(fileSystem: IFileSystem): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromEfsFileSystem(fileSystem.let(IFileSystem::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromEfsFileSystem(fileSystem.let(IFileSystem.Companion::unwrap)).let(BackupResource::wrap) public fun fromRdsDatabaseCluster(cluster: IDatabaseCluster): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromRdsDatabaseCluster(cluster.let(IDatabaseCluster::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromRdsDatabaseCluster(cluster.let(IDatabaseCluster.Companion::unwrap)).let(BackupResource::wrap) public fun fromRdsDatabaseInstance(instance: IDatabaseInstance): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromRdsDatabaseInstance(instance.let(IDatabaseInstance::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromRdsDatabaseInstance(instance.let(IDatabaseInstance.Companion::unwrap)).let(BackupResource::wrap) public fun fromRdsServerlessCluster(cluster: IServerlessCluster): BackupResource = - software.amazon.awscdk.services.backup.BackupResource.fromRdsServerlessCluster(cluster.let(IServerlessCluster::unwrap)).let(BackupResource::wrap) + software.amazon.awscdk.services.backup.BackupResource.fromRdsServerlessCluster(cluster.let(IServerlessCluster.Companion::unwrap)).let(BackupResource::wrap) public fun fromTag(key: String, `value`: String): BackupResource = software.amazon.awscdk.services.backup.BackupResource.fromTag(key, @@ -213,7 +213,7 @@ public open class BackupResource( `value`: String, operation: TagOperation, ): BackupResource = software.amazon.awscdk.services.backup.BackupResource.fromTag(key, `value`, - operation.let(TagOperation::unwrap)).let(BackupResource::wrap) + operation.let(TagOperation.Companion::unwrap)).let(BackupResource::wrap) public operator fun invoke( resource: String, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelection.kt index 34f5a66155..5ce77431f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelection.kt @@ -46,8 +46,8 @@ public open class BackupSelection( id: String, props: BackupSelectionProps, ) : - this(software.amazon.awscdk.services.backup.BackupSelection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BackupSelectionProps::unwrap)) + this(software.amazon.awscdk.services.backup.BackupSelection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BackupSelectionProps.Companion::unwrap)) ) public constructor( @@ -182,7 +182,7 @@ public open class BackupSelection( * @param backupPlan The backup plan for this selection. */ override fun backupPlan(backupPlan: IBackupPlan) { - cdkBuilder.backupPlan(backupPlan.let(IBackupPlan::unwrap)) + cdkBuilder.backupPlan(backupPlan.let(IBackupPlan.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class BackupSelection( * @param resources The resources to backup. */ override fun resources(resources: List) { - cdkBuilder.resources(resources.map(BackupResource::unwrap)) + cdkBuilder.resources(resources.map(BackupResource.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class BackupSelection( * resources. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupSelection = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionOptions.kt index 763be1ec80..9647cda928 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionOptions.kt @@ -179,7 +179,7 @@ public interface BackupSelectionOptions { * Use the helper static methods defined on `BackupResource`. */ override fun resources(resources: List) { - cdkBuilder.resources(resources.map(BackupResource::unwrap)) + cdkBuilder.resources(resources.map(BackupResource.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface BackupSelectionOptions { * is set to `true`. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupSelectionOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionProps.kt index 98a862ee07..e0fd443ea7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupSelectionProps.kt @@ -112,7 +112,7 @@ public interface BackupSelectionProps : BackupSelectionOptions { * @param backupPlan The backup plan for this selection. */ override fun backupPlan(backupPlan: IBackupPlan) { - cdkBuilder.backupPlan(backupPlan.let(IBackupPlan::unwrap)) + cdkBuilder.backupPlan(backupPlan.let(IBackupPlan.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface BackupSelectionProps : BackupSelectionOptions { * Use the helper static methods defined on `BackupResource`. */ override fun resources(resources: List) { - cdkBuilder.resources(resources.map(BackupResource::unwrap)) + cdkBuilder.resources(resources.map(BackupResource.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface BackupSelectionProps : BackupSelectionOptions { * is set to `true`. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupSelectionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVault.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVault.kt index 996f81e50a..d41eced6c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVault.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVault.kt @@ -36,7 +36,7 @@ public open class BackupVault( cdkObject: software.amazon.awscdk.services.backup.BackupVault, ) : Resource(cdkObject), IBackupVault { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.backup.BackupVault(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.backup.BackupVault(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class BackupVault( id: String, props: BackupVaultProps, ) : - this(software.amazon.awscdk.services.backup.BackupVault(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BackupVaultProps::unwrap)) + this(software.amazon.awscdk.services.backup.BackupVault(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BackupVaultProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class BackupVault( * @param statement */ public open fun addToAccessPolicy(statement: PolicyStatement) { - unwrap(this).addToAccessPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToAccessPolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -100,8 +100,8 @@ public open class BackupVault( * @param actions The actions to grant. */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.backup.BackupVault]. @@ -244,7 +244,7 @@ public open class BackupVault( * backup vault. */ override fun accessPolicy(accessPolicy: PolicyDocument) { - cdkBuilder.accessPolicy(accessPolicy.let(PolicyDocument::unwrap)) + cdkBuilder.accessPolicy(accessPolicy.let(PolicyDocument.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class BackupVault( * @param encryptionKey The server-side encryption key to use to protect your backups. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class BackupVault( * @param lockConfiguration Configuration for AWS Backup Vault Lock. */ override fun lockConfiguration(lockConfiguration: LockConfiguration) { - cdkBuilder.lockConfiguration(lockConfiguration.let(LockConfiguration::unwrap)) + cdkBuilder.lockConfiguration(lockConfiguration.let(LockConfiguration.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class BackupVault( * @param notificationEvents The vault events to send. */ override fun notificationEvents(notificationEvents: List) { - cdkBuilder.notificationEvents(notificationEvents.map(BackupVaultEvents::unwrap)) + cdkBuilder.notificationEvents(notificationEvents.map(BackupVaultEvents.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class BackupVault( * @param notificationTopic A SNS topic to send vault events to. */ override fun notificationTopic(notificationTopic: ITopic) { - cdkBuilder.notificationTopic(notificationTopic.let(ITopic::unwrap)) + cdkBuilder.notificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class BackupVault( * @param removalPolicy The removal policy to apply to the vault. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupVault = cdkBuilder.build() @@ -382,7 +382,7 @@ public open class BackupVault( id: String, backupVaultArn: String, ): IBackupVault = - software.amazon.awscdk.services.backup.BackupVault.fromBackupVaultArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupVault.fromBackupVaultArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, backupVaultArn).let(IBackupVault::wrap) public fun fromBackupVaultName( @@ -390,7 +390,7 @@ public open class BackupVault( id: String, backupVaultName: String, ): IBackupVault = - software.amazon.awscdk.services.backup.BackupVault.fromBackupVaultName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.backup.BackupVault.fromBackupVaultName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, backupVaultName).let(IBackupVault::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVaultProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVaultProps.kt index 99fe152fa1..d4fadc1d83 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVaultProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/BackupVaultProps.kt @@ -186,7 +186,7 @@ public interface BackupVaultProps { * backup vault. */ override fun accessPolicy(accessPolicy: PolicyDocument) { - cdkBuilder.accessPolicy(accessPolicy.let(PolicyDocument::unwrap)) + cdkBuilder.accessPolicy(accessPolicy.let(PolicyDocument.Companion::unwrap)) } /** @@ -220,14 +220,14 @@ public interface BackupVaultProps { * @param encryptionKey The server-side encryption key to use to protect your backups. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** * @param lockConfiguration Configuration for AWS Backup Vault Lock. */ override fun lockConfiguration(lockConfiguration: LockConfiguration) { - cdkBuilder.lockConfiguration(lockConfiguration.let(LockConfiguration::unwrap)) + cdkBuilder.lockConfiguration(lockConfiguration.let(LockConfiguration.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface BackupVaultProps { * @param notificationEvents The vault events to send. */ override fun notificationEvents(notificationEvents: List) { - cdkBuilder.notificationEvents(notificationEvents.map(BackupVaultEvents::unwrap)) + cdkBuilder.notificationEvents(notificationEvents.map(BackupVaultEvents.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface BackupVaultProps { * @param notificationTopic A SNS topic to send vault events to. */ override fun notificationTopic(notificationTopic: ITopic) { - cdkBuilder.notificationTopic(notificationTopic.let(ITopic::unwrap)) + cdkBuilder.notificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface BackupVaultProps { * that contains recovery points will fail. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.BackupVaultProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlan.kt index 08abdb87ab..88141c16f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlan.kt @@ -91,8 +91,8 @@ public open class CfnBackupPlan( id: String, props: CfnBackupPlanProps, ) : - this(software.amazon.awscdk.services.backup.CfnBackupPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBackupPlanProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnBackupPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBackupPlanProps.Companion::unwrap)) ) public constructor( @@ -131,14 +131,14 @@ public open class CfnBackupPlan( * Uniquely identifies the backup plan to be associated with the selection of resources. */ public open fun backupPlan(`value`: IResolvable) { - unwrap(this).setBackupPlan(`value`.let(IResolvable::unwrap)) + unwrap(this).setBackupPlan(`value`.let(IResolvable.Companion::unwrap)) } /** * Uniquely identifies the backup plan to be associated with the selection of resources. */ public open fun backupPlan(`value`: BackupPlanResourceTypeProperty) { - unwrap(this).setBackupPlan(`value`.let(BackupPlanResourceTypeProperty::unwrap)) + unwrap(this).setBackupPlan(`value`.let(BackupPlanResourceTypeProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnBackupPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnBackupPlan( * resources. */ override fun backupPlan(backupPlan: IResolvable) { - cdkBuilder.backupPlan(backupPlan.let(IResolvable::unwrap)) + cdkBuilder.backupPlan(backupPlan.let(IResolvable.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnBackupPlan( * resources. */ override fun backupPlan(backupPlan: BackupPlanResourceTypeProperty) { - cdkBuilder.backupPlan(backupPlan.let(BackupPlanResourceTypeProperty::unwrap)) + cdkBuilder.backupPlan(backupPlan.let(BackupPlanResourceTypeProperty.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public open class CfnBackupPlan( * @param advancedBackupSettings A list of backup options for each resource type. */ override fun advancedBackupSettings(advancedBackupSettings: IResolvable) { - cdkBuilder.advancedBackupSettings(advancedBackupSettings.let(IResolvable::unwrap)) + cdkBuilder.advancedBackupSettings(advancedBackupSettings.let(IResolvable.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public open class CfnBackupPlan( * task that is used to back up a selection of resources. */ override fun backupPlanRule(backupPlanRule: IResolvable) { - cdkBuilder.backupPlanRule(backupPlanRule.let(IResolvable::unwrap)) + cdkBuilder.backupPlanRule(backupPlanRule.let(IResolvable.Companion::unwrap)) } /** @@ -946,7 +946,7 @@ public open class CfnBackupPlan( * operation. */ override fun copyActions(copyActions: IResolvable) { - cdkBuilder.copyActions(copyActions.let(IResolvable::unwrap)) + cdkBuilder.copyActions(copyActions.let(IResolvable.Companion::unwrap)) } /** @@ -974,7 +974,7 @@ public open class CfnBackupPlan( * @param enableContinuousBackup Enables continuous backup and point-in-time restores (PITR). */ override fun enableContinuousBackup(enableContinuousBackup: IResolvable) { - cdkBuilder.enableContinuousBackup(enableContinuousBackup.let(IResolvable::unwrap)) + cdkBuilder.enableContinuousBackup(enableContinuousBackup.let(IResolvable.Companion::unwrap)) } /** @@ -984,7 +984,7 @@ public open class CfnBackupPlan( * you define. */ override fun lifecycle(lifecycle: IResolvable) { - cdkBuilder.lifecycle(lifecycle.let(IResolvable::unwrap)) + cdkBuilder.lifecycle(lifecycle.let(IResolvable.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public open class CfnBackupPlan( * you define. */ override fun lifecycle(lifecycle: LifecycleResourceTypeProperty) { - cdkBuilder.lifecycle(lifecycle.let(LifecycleResourceTypeProperty::unwrap)) + cdkBuilder.lifecycle(lifecycle.let(LifecycleResourceTypeProperty.Companion::unwrap)) } /** @@ -1012,7 +1012,7 @@ public open class CfnBackupPlan( * @param recoveryPointTags The tags to assign to the resources. */ override fun recoveryPointTags(recoveryPointTags: IResolvable) { - cdkBuilder.recoveryPointTags(recoveryPointTags.let(IResolvable::unwrap)) + cdkBuilder.recoveryPointTags(recoveryPointTags.let(IResolvable.Companion::unwrap)) } /** @@ -1299,7 +1299,7 @@ public open class CfnBackupPlan( * days. */ override fun lifecycle(lifecycle: IResolvable) { - cdkBuilder.lifecycle(lifecycle.let(IResolvable::unwrap)) + cdkBuilder.lifecycle(lifecycle.let(IResolvable.Companion::unwrap)) } /** @@ -1313,7 +1313,7 @@ public open class CfnBackupPlan( * days. */ override fun lifecycle(lifecycle: LifecycleResourceTypeProperty) { - cdkBuilder.lifecycle(lifecycle.let(LifecycleResourceTypeProperty::unwrap)) + cdkBuilder.lifecycle(lifecycle.let(LifecycleResourceTypeProperty.Companion::unwrap)) } /** @@ -1502,7 +1502,7 @@ public open class CfnBackupPlan( */ override fun optInToArchiveForSupportedResources(optInToArchiveForSupportedResources: IResolvable) { - cdkBuilder.optInToArchiveForSupportedResources(optInToArchiveForSupportedResources.let(IResolvable::unwrap)) + cdkBuilder.optInToArchiveForSupportedResources(optInToArchiveForSupportedResources.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlanProps.kt index 1eab2eb63f..648185dc9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupPlanProps.kt @@ -121,7 +121,7 @@ public interface CfnBackupPlanProps { * resources. */ override fun backupPlan(backupPlan: IResolvable) { - cdkBuilder.backupPlan(backupPlan.let(IResolvable::unwrap)) + cdkBuilder.backupPlan(backupPlan.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface CfnBackupPlanProps { * resources. */ override fun backupPlan(backupPlan: CfnBackupPlan.BackupPlanResourceTypeProperty) { - cdkBuilder.backupPlan(backupPlan.let(CfnBackupPlan.BackupPlanResourceTypeProperty::unwrap)) + cdkBuilder.backupPlan(backupPlan.let(CfnBackupPlan.BackupPlanResourceTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelection.kt index 892bc0eb84..f2578014a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelection.kt @@ -60,8 +60,8 @@ public open class CfnBackupSelection( id: String, props: CfnBackupSelectionProps, ) : - this(software.amazon.awscdk.services.backup.CfnBackupSelection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBackupSelectionProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnBackupSelection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBackupSelectionProps.Companion::unwrap)) ) public constructor( @@ -107,14 +107,14 @@ public open class CfnBackupSelection( * Specifies the body of a request to assign a set of resources to a backup plan. */ public open fun backupSelection(`value`: IResolvable) { - unwrap(this).setBackupSelection(`value`.let(IResolvable::unwrap)) + unwrap(this).setBackupSelection(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the body of a request to assign a set of resources to a backup plan. */ public open fun backupSelection(`value`: BackupSelectionResourceTypeProperty) { - unwrap(this).setBackupSelection(`value`.let(BackupSelectionResourceTypeProperty::unwrap)) + unwrap(this).setBackupSelection(`value`.let(BackupSelectionResourceTypeProperty.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnBackupSelection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnBackupSelection( * backup plan. */ override fun backupSelection(backupSelection: IResolvable) { - cdkBuilder.backupSelection(backupSelection.let(IResolvable::unwrap)) + cdkBuilder.backupSelection(backupSelection.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnBackupSelection( * backup plan. */ override fun backupSelection(backupSelection: BackupSelectionResourceTypeProperty) { - cdkBuilder.backupSelection(backupSelection.let(BackupSelectionResourceTypeProperty::unwrap)) + cdkBuilder.backupSelection(backupSelection.let(BackupSelectionResourceTypeProperty.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class CfnBackupSelection( * `StringLike` , `StringNotEquals` , and `StringNotLike` . */ override fun listOfTags(listOfTags: IResolvable) { - cdkBuilder.listOfTags(listOfTags.let(IResolvable::unwrap)) + cdkBuilder.listOfTags(listOfTags.let(IResolvable.Companion::unwrap)) } /** @@ -1166,7 +1166,7 @@ public open class CfnBackupSelection( * Also called "exact matching." */ override fun stringEquals(stringEquals: IResolvable) { - cdkBuilder.stringEquals(stringEquals.let(IResolvable::unwrap)) + cdkBuilder.stringEquals(stringEquals.let(IResolvable.Companion::unwrap)) } /** @@ -1192,7 +1192,7 @@ public open class CfnBackupSelection( * For example, "prod*" or "*rod*" matches the tag value "production". */ override fun stringLike(stringLike: IResolvable) { - cdkBuilder.stringLike(stringLike.let(IResolvable::unwrap)) + cdkBuilder.stringLike(stringLike.let(IResolvable.Companion::unwrap)) } /** @@ -1217,7 +1217,7 @@ public open class CfnBackupSelection( * Also called "negated matching." */ override fun stringNotEquals(stringNotEquals: IResolvable) { - cdkBuilder.stringNotEquals(stringNotEquals.let(IResolvable::unwrap)) + cdkBuilder.stringNotEquals(stringNotEquals.let(IResolvable.Companion::unwrap)) } /** @@ -1242,7 +1242,7 @@ public open class CfnBackupSelection( * values with the use of a wildcard character (*) anywhere in the string. */ override fun stringNotLike(stringNotLike: IResolvable) { - cdkBuilder.stringNotLike(stringNotLike.let(IResolvable::unwrap)) + cdkBuilder.stringNotLike(stringNotLike.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelectionProps.kt index 2a58b5cba6..2b036ca818 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupSelectionProps.kt @@ -121,7 +121,7 @@ public interface CfnBackupSelectionProps { * array of tags used to identify a set of resources. */ override fun backupSelection(backupSelection: IResolvable) { - cdkBuilder.backupSelection(backupSelection.let(IResolvable::unwrap)) + cdkBuilder.backupSelection(backupSelection.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface CfnBackupSelectionProps { */ override fun backupSelection(backupSelection: CfnBackupSelection.BackupSelectionResourceTypeProperty) { - cdkBuilder.backupSelection(backupSelection.let(CfnBackupSelection.BackupSelectionResourceTypeProperty::unwrap)) + cdkBuilder.backupSelection(backupSelection.let(CfnBackupSelection.BackupSelectionResourceTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVault.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVault.kt index ceb23c4616..7337be6a49 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVault.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVault.kt @@ -70,8 +70,8 @@ public open class CfnBackupVault( id: String, props: CfnBackupVaultProps, ) : - this(software.amazon.awscdk.services.backup.CfnBackupVault(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBackupVaultProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnBackupVault(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBackupVaultProps.Companion::unwrap)) ) public constructor( @@ -160,7 +160,7 @@ public open class CfnBackupVault( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnBackupVault( * Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) . */ public open fun lockConfiguration(`value`: IResolvable) { - unwrap(this).setLockConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLockConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnBackupVault( * Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) . */ public open fun lockConfiguration(`value`: LockConfigurationTypeProperty) { - unwrap(this).setLockConfiguration(`value`.let(LockConfigurationTypeProperty::unwrap)) + unwrap(this).setLockConfiguration(`value`.let(LockConfigurationTypeProperty.Companion::unwrap)) } /** @@ -203,14 +203,14 @@ public open class CfnBackupVault( * The SNS event notifications for the specified backup vault. */ public open fun notifications(`value`: IResolvable) { - unwrap(this).setNotifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotifications(`value`.let(IResolvable.Companion::unwrap)) } /** * The SNS event notifications for the specified backup vault. */ public open fun notifications(`value`: NotificationObjectTypeProperty) { - unwrap(this).setNotifications(`value`.let(NotificationObjectTypeProperty::unwrap)) + unwrap(this).setNotifications(`value`.let(NotificationObjectTypeProperty.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CfnBackupVault( * Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) . */ override fun lockConfiguration(lockConfiguration: IResolvable) { - cdkBuilder.lockConfiguration(lockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lockConfiguration(lockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnBackupVault( * Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) . */ override fun lockConfiguration(lockConfiguration: LockConfigurationTypeProperty) { - cdkBuilder.lockConfiguration(lockConfiguration.let(LockConfigurationTypeProperty::unwrap)) + cdkBuilder.lockConfiguration(lockConfiguration.let(LockConfigurationTypeProperty.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnBackupVault( * @param notifications The SNS event notifications for the specified backup vault. */ override fun notifications(notifications: IResolvable) { - cdkBuilder.notifications(notifications.let(IResolvable::unwrap)) + cdkBuilder.notifications(notifications.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnBackupVault( * @param notifications The SNS event notifications for the specified backup vault. */ override fun notifications(notifications: NotificationObjectTypeProperty) { - cdkBuilder.notifications(notifications.let(NotificationObjectTypeProperty::unwrap)) + cdkBuilder.notifications(notifications.let(NotificationObjectTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVaultProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVaultProps.kt index 641d0f9a14..b4f9f90023 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVaultProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnBackupVaultProps.kt @@ -228,7 +228,7 @@ public interface CfnBackupVaultProps { * Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) . */ override fun lockConfiguration(lockConfiguration: IResolvable) { - cdkBuilder.lockConfiguration(lockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lockConfiguration(lockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface CfnBackupVaultProps { */ override fun lockConfiguration(lockConfiguration: CfnBackupVault.LockConfigurationTypeProperty) { - cdkBuilder.lockConfiguration(lockConfiguration.let(CfnBackupVault.LockConfigurationTypeProperty::unwrap)) + cdkBuilder.lockConfiguration(lockConfiguration.let(CfnBackupVault.LockConfigurationTypeProperty.Companion::unwrap)) } /** @@ -254,14 +254,14 @@ public interface CfnBackupVaultProps { * @param notifications The SNS event notifications for the specified backup vault. */ override fun notifications(notifications: IResolvable) { - cdkBuilder.notifications(notifications.let(IResolvable::unwrap)) + cdkBuilder.notifications(notifications.let(IResolvable.Companion::unwrap)) } /** * @param notifications The SNS event notifications for the specified backup vault. */ override fun notifications(notifications: CfnBackupVault.NotificationObjectTypeProperty) { - cdkBuilder.notifications(notifications.let(CfnBackupVault.NotificationObjectTypeProperty::unwrap)) + cdkBuilder.notifications(notifications.let(CfnBackupVault.NotificationObjectTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFramework.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFramework.kt index cf6c4a07e0..6dbe97c2d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFramework.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFramework.kt @@ -67,8 +67,8 @@ public open class CfnFramework( id: String, props: CfnFrameworkProps, ) : - this(software.amazon.awscdk.services.backup.CfnFramework(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFrameworkProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnFramework(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFrameworkProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnFramework( * Contains detailed information about all of the controls of a framework. */ public open fun frameworkControls(`value`: IResolvable) { - unwrap(this).setFrameworkControls(`value`.let(IResolvable::unwrap)) + unwrap(this).setFrameworkControls(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnFramework( * The tags to assign to your framework. */ public open fun frameworkTags(`value`: List) { - unwrap(this).setFrameworkTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setFrameworkTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnFramework( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnFramework( * framework. */ override fun frameworkControls(frameworkControls: IResolvable) { - cdkBuilder.frameworkControls(frameworkControls.let(IResolvable::unwrap)) + cdkBuilder.frameworkControls(frameworkControls.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnFramework( * @param frameworkTags The tags to assign to your framework. */ override fun frameworkTags(frameworkTags: List) { - cdkBuilder.frameworkTags(frameworkTags.map(CfnTag::unwrap)) + cdkBuilder.frameworkTags(frameworkTags.map(CfnTag.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnFramework( * The structure to assign a tag is: `[{"Key":"string","Value":"string"}]` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnFramework( * @param controlInputParameters The name/value pairs. */ override fun controlInputParameters(controlInputParameters: IResolvable) { - cdkBuilder.controlInputParameters(controlInputParameters.let(IResolvable::unwrap)) + cdkBuilder.controlInputParameters(controlInputParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFrameworkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFrameworkProps.kt index 123c0af567..cb9ed9f705 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFrameworkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnFrameworkProps.kt @@ -139,7 +139,7 @@ public interface CfnFrameworkProps { * Each framework must contain at least one control. */ override fun frameworkControls(frameworkControls: IResolvable) { - cdkBuilder.frameworkControls(frameworkControls.let(IResolvable::unwrap)) + cdkBuilder.frameworkControls(frameworkControls.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public interface CfnFrameworkProps { * @param frameworkTags The tags to assign to your framework. */ override fun frameworkTags(frameworkTags: List) { - cdkBuilder.frameworkTags(frameworkTags.map(CfnTag::unwrap)) + cdkBuilder.frameworkTags(frameworkTags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlan.kt index 811732981e..ce465a529c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlan.kt @@ -62,8 +62,8 @@ public open class CfnReportPlan( id: String, props: CfnReportPlanProps, ) : - this(software.amazon.awscdk.services.backup.CfnReportPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReportPlanProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnReportPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReportPlanProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnReportPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnReportPlan( * The tags to assign to your report plan. */ public open fun reportPlanTags(`value`: List) { - unwrap(this).setReportPlanTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setReportPlanTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnReportPlan( * @param reportPlanTags The tags to assign to your report plan. */ override fun reportPlanTags(reportPlanTags: List) { - cdkBuilder.reportPlanTags(reportPlanTags.map(CfnTag::unwrap)) + cdkBuilder.reportPlanTags(reportPlanTags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlanProps.kt index d4dbb5e4e4..7ed8c38fa5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnReportPlanProps.kt @@ -166,7 +166,7 @@ public interface CfnReportPlanProps { * @param reportPlanTags The tags to assign to your report plan. */ override fun reportPlanTags(reportPlanTags: List) { - cdkBuilder.reportPlanTags(reportPlanTags.map(CfnTag::unwrap)) + cdkBuilder.reportPlanTags(reportPlanTags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlan.kt index 5db80cc458..06ccf94fa1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlan.kt @@ -65,8 +65,8 @@ public open class CfnRestoreTestingPlan( id: String, props: CfnRestoreTestingPlanProps, ) : - this(software.amazon.awscdk.services.backup.CfnRestoreTestingPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRestoreTestingPlanProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnRestoreTestingPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRestoreTestingPlanProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnRestoreTestingPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public open class CfnRestoreTestingPlan( * vaults. */ public open fun recoveryPointSelection(`value`: IResolvable) { - unwrap(this).setRecoveryPointSelection(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecoveryPointSelection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnRestoreTestingPlan( * vaults. */ public open fun recoveryPointSelection(`value`: RestoreTestingRecoveryPointSelectionProperty) { - unwrap(this).setRecoveryPointSelection(`value`.let(RestoreTestingRecoveryPointSelectionProperty::unwrap)) + unwrap(this).setRecoveryPointSelection(`value`.let(RestoreTestingRecoveryPointSelectionProperty.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnRestoreTestingPlan( * Optional tags to include. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnRestoreTestingPlan( * recovery point types or backup vaults. */ override fun recoveryPointSelection(recoveryPointSelection: IResolvable) { - cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(IResolvable::unwrap)) + cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(IResolvable.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnRestoreTestingPlan( */ override fun recoveryPointSelection(recoveryPointSelection: RestoreTestingRecoveryPointSelectionProperty) { - cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(RestoreTestingRecoveryPointSelectionProperty::unwrap)) + cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(RestoreTestingRecoveryPointSelectionProperty.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class CfnRestoreTestingPlan( * @param tags Optional tags to include. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlanProps.kt index 5e55ab89ee..a42a5b950d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingPlanProps.kt @@ -186,7 +186,7 @@ public interface CfnRestoreTestingPlanProps { * recovery point types or backup vaults. */ override fun recoveryPointSelection(recoveryPointSelection: IResolvable) { - cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(IResolvable::unwrap)) + cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public interface CfnRestoreTestingPlanProps { */ override fun recoveryPointSelection(recoveryPointSelection: CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty) { - cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty::unwrap)) + cdkBuilder.recoveryPointSelection(recoveryPointSelection.let(CfnRestoreTestingPlan.RestoreTestingRecoveryPointSelectionProperty.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnRestoreTestingPlanProps { * _ : /.` */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelection.kt index 825eb9f3e2..8c5e0bd79e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelection.kt @@ -80,8 +80,8 @@ public open class CfnRestoreTestingSelection( id: String, props: CfnRestoreTestingSelectionProps, ) : - this(software.amazon.awscdk.services.backup.CfnRestoreTestingSelection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRestoreTestingSelectionProps::unwrap)) + this(software.amazon.awscdk.services.backup.CfnRestoreTestingSelection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRestoreTestingSelectionProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnRestoreTestingSelection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnRestoreTestingSelection( * `StringEquals` or `StringNotEquals` . */ public open fun protectedResourceConditions(`value`: IResolvable) { - unwrap(this).setProtectedResourceConditions(`value`.let(IResolvable::unwrap)) + unwrap(this).setProtectedResourceConditions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnRestoreTestingSelection( * `StringEquals` or `StringNotEquals` . */ public open fun protectedResourceConditions(`value`: ProtectedResourceConditionsProperty) { - unwrap(this).setProtectedResourceConditions(`value`.let(ProtectedResourceConditionsProperty::unwrap)) + unwrap(this).setProtectedResourceConditions(`value`.let(ProtectedResourceConditionsProperty.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnRestoreTestingSelection( * `RestoreMetadataOverrides` in the body of `RestoreTestingSelection` . */ public open fun restoreMetadataOverrides(`value`: IResolvable) { - unwrap(this).setRestoreMetadataOverrides(`value`.let(IResolvable::unwrap)) + unwrap(this).setRestoreMetadataOverrides(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public open class CfnRestoreTestingSelection( * specific conditions such as `StringEquals` or `StringNotEquals` . */ override fun protectedResourceConditions(protectedResourceConditions: IResolvable) { - cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(IResolvable::unwrap)) + cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(IResolvable.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public open class CfnRestoreTestingSelection( */ override fun protectedResourceConditions(protectedResourceConditions: ProtectedResourceConditionsProperty) { - cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(ProtectedResourceConditionsProperty::unwrap)) + cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(ProtectedResourceConditionsProperty.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class CfnRestoreTestingSelection( * the parameter `RestoreMetadataOverrides` in the body of `RestoreTestingSelection` . */ override fun restoreMetadataOverrides(restoreMetadataOverrides: IResolvable) { - cdkBuilder.restoreMetadataOverrides(restoreMetadataOverrides.let(IResolvable::unwrap)) + cdkBuilder.restoreMetadataOverrides(restoreMetadataOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnRestoreTestingSelection( * Also called "exact matching." */ override fun stringEquals(stringEquals: IResolvable) { - cdkBuilder.stringEquals(stringEquals.let(IResolvable::unwrap)) + cdkBuilder.stringEquals(stringEquals.let(IResolvable.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class CfnRestoreTestingSelection( * Also called "negated matching." */ override fun stringNotEquals(stringNotEquals: IResolvable) { - cdkBuilder.stringNotEquals(stringNotEquals.let(IResolvable::unwrap)) + cdkBuilder.stringNotEquals(stringNotEquals.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelectionProps.kt index 4125113a01..7b31a3b3e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/CfnRestoreTestingSelectionProps.kt @@ -263,7 +263,7 @@ public interface CfnRestoreTestingSelectionProps { * specific conditions such as `StringEquals` or `StringNotEquals` . */ override fun protectedResourceConditions(protectedResourceConditions: IResolvable) { - cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(IResolvable::unwrap)) + cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(IResolvable.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface CfnRestoreTestingSelectionProps { */ override fun protectedResourceConditions(protectedResourceConditions: CfnRestoreTestingSelection.ProtectedResourceConditionsProperty) { - cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(CfnRestoreTestingSelection.ProtectedResourceConditionsProperty::unwrap)) + cdkBuilder.protectedResourceConditions(protectedResourceConditions.let(CfnRestoreTestingSelection.ProtectedResourceConditionsProperty.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface CfnRestoreTestingSelectionProps { * . */ override fun restoreMetadataOverrides(restoreMetadataOverrides: IResolvable) { - cdkBuilder.restoreMetadataOverrides(restoreMetadataOverrides.let(IResolvable::unwrap)) + cdkBuilder.restoreMetadataOverrides(restoreMetadataOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupPlan.kt index 76e1a8a412..d9657309a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupPlan.kt @@ -37,7 +37,7 @@ public interface IBackupPlan : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupVault.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupVault.kt index 641ca71d73..e6ca4a22a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupVault.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/IBackupVault.kt @@ -52,7 +52,7 @@ public interface IBackupVault : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public interface IBackupVault : IResource { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/LockConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/LockConfiguration.kt index 03b7c9f7cd..4ca51d99e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/LockConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/LockConfiguration.kt @@ -121,7 +121,7 @@ public interface LockConfiguration { * becomes immutable and cannot be changed or deleted. */ override fun changeableFor(changeableFor: Duration) { - cdkBuilder.changeableFor(changeableFor.let(Duration::unwrap)) + cdkBuilder.changeableFor(changeableFor.let(Duration.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public interface LockConfiguration { * not affected. */ override fun maxRetention(maxRetention: Duration) { - cdkBuilder.maxRetention(maxRetention.let(Duration::unwrap)) + cdkBuilder.maxRetention(maxRetention.let(Duration.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface LockConfiguration { * not affected. */ override fun minRetention(minRetention: Duration) { - cdkBuilder.minRetention(minRetention.let(Duration::unwrap)) + cdkBuilder.minRetention(minRetention.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.backup.LockConfiguration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/TagCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/TagCondition.kt index 49c9c6838c..df92997fb9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/TagCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backup/TagCondition.kt @@ -93,7 +93,7 @@ public interface TagCondition { * a selection. */ override fun operation(operation: TagOperation) { - cdkBuilder.operation(operation.let(TagOperation::unwrap)) + cdkBuilder.operation(operation.let(TagOperation.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisor.kt index f7bedd80b3..09c6c2263c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisor.kt @@ -47,7 +47,7 @@ public open class CfnHypervisor( cdkObject: software.amazon.awscdk.services.backupgateway.CfnHypervisor, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.backupgateway.CfnHypervisor(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.backupgateway.CfnHypervisor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +56,8 @@ public open class CfnHypervisor( id: String, props: CfnHypervisorProps, ) : - this(software.amazon.awscdk.services.backupgateway.CfnHypervisor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHypervisorProps::unwrap)) + this(software.amazon.awscdk.services.backupgateway.CfnHypervisor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHypervisorProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnHypervisor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnHypervisor( * The tags of the hypervisor configuration to import. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnHypervisor( * @param tags The tags of the hypervisor configuration to import. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisorProps.kt index f52b33896b..e9c08c0e0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/backupgateway/CfnHypervisorProps.kt @@ -183,7 +183,7 @@ public interface CfnHypervisorProps { * @param tags The tags of the hypervisor configuration to import. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironment.kt index 960d6bfe3c..14bfb1e018 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironment.kt @@ -198,8 +198,8 @@ public open class CfnComputeEnvironment( id: String, props: CfnComputeEnvironmentProps, ) : - this(software.amazon.awscdk.services.batch.CfnComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnComputeEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.batch.CfnComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnComputeEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -238,7 +238,7 @@ public open class CfnComputeEnvironment( * compute environment. */ public open fun computeResources(`value`: IResolvable) { - unwrap(this).setComputeResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setComputeResources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnComputeEnvironment( * compute environment. */ public open fun computeResources(`value`: ComputeResourcesProperty) { - unwrap(this).setComputeResources(`value`.let(ComputeResourcesProperty::unwrap)) + unwrap(this).setComputeResources(`value`.let(ComputeResourcesProperty.Companion::unwrap)) } /** @@ -267,14 +267,14 @@ public open class CfnComputeEnvironment( * The details for the Amazon EKS cluster that supports the compute environment. */ public open fun eksConfiguration(`value`: IResolvable) { - unwrap(this).setEksConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEksConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The details for the Amazon EKS cluster that supports the compute environment. */ public open fun eksConfiguration(`value`: EksConfigurationProperty) { - unwrap(this).setEksConfiguration(`value`.let(EksConfigurationProperty::unwrap)) + unwrap(this).setEksConfiguration(`value`.let(EksConfigurationProperty.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class CfnComputeEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnComputeEnvironment( * replacing the instances in the compute environment. */ public open fun replaceComputeEnvironment(`value`: IResolvable) { - unwrap(this).setReplaceComputeEnvironment(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplaceComputeEnvironment(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -392,14 +392,14 @@ public open class CfnComputeEnvironment( * Specifies the infrastructure update policy for the compute environment. */ public open fun updatePolicy(`value`: IResolvable) { - unwrap(this).setUpdatePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setUpdatePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the infrastructure update policy for the compute environment. */ public open fun updatePolicy(`value`: UpdatePolicyProperty) { - unwrap(this).setUpdatePolicy(`value`.let(UpdatePolicyProperty::unwrap)) + unwrap(this).setUpdatePolicy(`value`.let(UpdatePolicyProperty.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public open class CfnComputeEnvironment( * resources managed by the compute environment. */ override fun computeResources(computeResources: IResolvable) { - cdkBuilder.computeResources(computeResources.let(IResolvable::unwrap)) + cdkBuilder.computeResources(computeResources.let(IResolvable.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class CfnComputeEnvironment( * resources managed by the compute environment. */ override fun computeResources(computeResources: ComputeResourcesProperty) { - cdkBuilder.computeResources(computeResources.let(ComputeResourcesProperty::unwrap)) + cdkBuilder.computeResources(computeResources.let(ComputeResourcesProperty.Companion::unwrap)) } /** @@ -844,7 +844,7 @@ public open class CfnComputeEnvironment( * environment. */ override fun eksConfiguration(eksConfiguration: IResolvable) { - cdkBuilder.eksConfiguration(eksConfiguration.let(IResolvable::unwrap)) + cdkBuilder.eksConfiguration(eksConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class CfnComputeEnvironment( * environment. */ override fun eksConfiguration(eksConfiguration: EksConfigurationProperty) { - cdkBuilder.eksConfiguration(eksConfiguration.let(EksConfigurationProperty::unwrap)) + cdkBuilder.eksConfiguration(eksConfiguration.let(EksConfigurationProperty.Companion::unwrap)) } /** @@ -991,7 +991,7 @@ public open class CfnComputeEnvironment( * update is made that requires replacing the instances in the compute environment. */ override fun replaceComputeEnvironment(replaceComputeEnvironment: IResolvable) { - cdkBuilder.replaceComputeEnvironment(replaceComputeEnvironment.let(IResolvable::unwrap)) + cdkBuilder.replaceComputeEnvironment(replaceComputeEnvironment.let(IResolvable.Companion::unwrap)) } /** @@ -1118,7 +1118,7 @@ public open class CfnComputeEnvironment( * @param updatePolicy Specifies the infrastructure update policy for the compute environment. */ override fun updatePolicy(updatePolicy: IResolvable) { - cdkBuilder.updatePolicy(updatePolicy.let(IResolvable::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1132,7 +1132,7 @@ public open class CfnComputeEnvironment( * @param updatePolicy Specifies the infrastructure update policy for the compute environment. */ override fun updatePolicy(updatePolicy: UpdatePolicyProperty) { - cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicyProperty::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicyProperty.Companion::unwrap)) } /** @@ -2354,7 +2354,7 @@ public open class CfnComputeEnvironment( * specify it. */ override fun ec2Configuration(ec2Configuration: IResolvable) { - cdkBuilder.ec2Configuration(ec2Configuration.let(IResolvable::unwrap)) + cdkBuilder.ec2Configuration(ec2Configuration.let(IResolvable.Companion::unwrap)) } /** @@ -2535,7 +2535,7 @@ public open class CfnComputeEnvironment( * specified. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -2560,7 +2560,7 @@ public open class CfnComputeEnvironment( * specified. */ override fun launchTemplate(launchTemplate: LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -2837,7 +2837,7 @@ public open class CfnComputeEnvironment( * in the *AWS Batch User Guide* . */ override fun updateToLatestImageVersion(updateToLatestImageVersion: IResolvable) { - cdkBuilder.updateToLatestImageVersion(updateToLatestImageVersion.let(IResolvable::unwrap)) + cdkBuilder.updateToLatestImageVersion(updateToLatestImageVersion.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4141,7 +4141,7 @@ public open class CfnComputeEnvironment( * The default value is `false` . */ override fun terminateJobsOnUpdate(terminateJobsOnUpdate: IResolvable) { - cdkBuilder.terminateJobsOnUpdate(terminateJobsOnUpdate.let(IResolvable::unwrap)) + cdkBuilder.terminateJobsOnUpdate(terminateJobsOnUpdate.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironmentProps.kt index a1465cc84d..23e9ffcdcf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnComputeEnvironmentProps.kt @@ -576,7 +576,7 @@ public interface CfnComputeEnvironmentProps { * the ** . */ override fun computeResources(computeResources: IResolvable) { - cdkBuilder.computeResources(computeResources.let(IResolvable::unwrap)) + cdkBuilder.computeResources(computeResources.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public interface CfnComputeEnvironmentProps { */ override fun computeResources(computeResources: CfnComputeEnvironment.ComputeResourcesProperty) { - cdkBuilder.computeResources(computeResources.let(CfnComputeEnvironment.ComputeResourcesProperty::unwrap)) + cdkBuilder.computeResources(computeResources.let(CfnComputeEnvironment.ComputeResourcesProperty.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public interface CfnComputeEnvironmentProps { * environment. */ override fun eksConfiguration(eksConfiguration: IResolvable) { - cdkBuilder.eksConfiguration(eksConfiguration.let(IResolvable::unwrap)) + cdkBuilder.eksConfiguration(eksConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface CfnComputeEnvironmentProps { */ override fun eksConfiguration(eksConfiguration: CfnComputeEnvironment.EksConfigurationProperty) { - cdkBuilder.eksConfiguration(eksConfiguration.let(CfnComputeEnvironment.EksConfigurationProperty::unwrap)) + cdkBuilder.eksConfiguration(eksConfiguration.let(CfnComputeEnvironment.EksConfigurationProperty.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public interface CfnComputeEnvironmentProps { * . */ override fun replaceComputeEnvironment(replaceComputeEnvironment: IResolvable) { - cdkBuilder.replaceComputeEnvironment(replaceComputeEnvironment.let(IResolvable::unwrap)) + cdkBuilder.replaceComputeEnvironment(replaceComputeEnvironment.let(IResolvable.Companion::unwrap)) } /** @@ -841,7 +841,7 @@ public interface CfnComputeEnvironmentProps { * in the *AWS Batch User Guide* . */ override fun updatePolicy(updatePolicy: IResolvable) { - cdkBuilder.updatePolicy(updatePolicy.let(IResolvable::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public interface CfnComputeEnvironmentProps { * in the *AWS Batch User Guide* . */ override fun updatePolicy(updatePolicy: CfnComputeEnvironment.UpdatePolicyProperty) { - cdkBuilder.updatePolicy(updatePolicy.let(CfnComputeEnvironment.UpdatePolicyProperty::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(CfnComputeEnvironment.UpdatePolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinition.kt index 54bc4ecee1..773fe2e205 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinition.kt @@ -43,8 +43,8 @@ public open class CfnJobDefinition( id: String, props: CfnJobDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.CfnJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.CfnJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -68,14 +68,14 @@ public open class CfnJobDefinition( * An object with properties specific to Amazon ECS-based jobs. */ public open fun containerProperties(`value`: IResolvable) { - unwrap(this).setContainerProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setContainerProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * An object with properties specific to Amazon ECS-based jobs. */ public open fun containerProperties(`value`: ContainerPropertiesProperty) { - unwrap(this).setContainerProperties(`value`.let(ContainerPropertiesProperty::unwrap)) + unwrap(this).setContainerProperties(`value`.let(ContainerPropertiesProperty.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public open class CfnJobDefinition( * `containerProperties` , `eksProperties` , or `nodeProperties` . */ public open fun ecsProperties(`value`: IResolvable) { - unwrap(this).setEcsProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setEcsProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnJobDefinition( * `containerProperties` , `eksProperties` , or `nodeProperties` . */ public open fun ecsProperties(`value`: EcsPropertiesProperty) { - unwrap(this).setEcsProperties(`value`.let(EcsPropertiesProperty::unwrap)) + unwrap(this).setEcsProperties(`value`.let(EcsPropertiesProperty.Companion::unwrap)) } /** @@ -130,14 +130,14 @@ public open class CfnJobDefinition( * An object with properties that are specific to Amazon EKS-based jobs. */ public open fun eksProperties(`value`: IResolvable) { - unwrap(this).setEksProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setEksProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * An object with properties that are specific to Amazon EKS-based jobs. */ public open fun eksProperties(`value`: EksPropertiesProperty) { - unwrap(this).setEksProperties(`value`.let(EksPropertiesProperty::unwrap)) + unwrap(this).setEksProperties(`value`.let(EksPropertiesProperty.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class CfnJobDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -178,14 +178,14 @@ public open class CfnJobDefinition( * An object with properties that are specific to multi-node parallel jobs. */ public open fun nodeProperties(`value`: IResolvable) { - unwrap(this).setNodeProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodeProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * An object with properties that are specific to multi-node parallel jobs. */ public open fun nodeProperties(`value`: NodePropertiesProperty) { - unwrap(this).setNodeProperties(`value`.let(NodePropertiesProperty::unwrap)) + unwrap(this).setNodeProperties(`value`.let(NodePropertiesProperty.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnJobDefinition( * Amazon ECS task. */ public open fun propagateTags(`value`: IResolvable) { - unwrap(this).setPropagateTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setPropagateTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -258,14 +258,14 @@ public open class CfnJobDefinition( * The retry strategy to use for failed jobs that are submitted with this job definition. */ public open fun retryStrategy(`value`: IResolvable) { - unwrap(this).setRetryStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setRetryStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** * The retry strategy to use for failed jobs that are submitted with this job definition. */ public open fun retryStrategy(`value`: RetryStrategyProperty) { - unwrap(this).setRetryStrategy(`value`.let(RetryStrategyProperty::unwrap)) + unwrap(this).setRetryStrategy(`value`.let(RetryStrategyProperty.Companion::unwrap)) } /** @@ -314,14 +314,14 @@ public open class CfnJobDefinition( * The timeout time for jobs that are submitted with this job definition. */ public open fun timeout(`value`: IResolvable) { - unwrap(this).setTimeout(`value`.let(IResolvable::unwrap)) + unwrap(this).setTimeout(`value`.let(IResolvable.Companion::unwrap)) } /** * The timeout time for jobs that are submitted with this job definition. */ public open fun timeout(`value`: TimeoutProperty) { - unwrap(this).setTimeout(`value`.let(TimeoutProperty::unwrap)) + unwrap(this).setTimeout(`value`.let(TimeoutProperty.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public open class CfnJobDefinition( * @param containerProperties An object with properties specific to Amazon ECS-based jobs. */ override fun containerProperties(containerProperties: IResolvable) { - cdkBuilder.containerProperties(containerProperties.let(IResolvable::unwrap)) + cdkBuilder.containerProperties(containerProperties.let(IResolvable.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnJobDefinition( * @param containerProperties An object with properties specific to Amazon ECS-based jobs. */ override fun containerProperties(containerProperties: ContainerPropertiesProperty) { - cdkBuilder.containerProperties(containerProperties.let(ContainerPropertiesProperty::unwrap)) + cdkBuilder.containerProperties(containerProperties.let(ContainerPropertiesProperty.Companion::unwrap)) } /** @@ -749,7 +749,7 @@ public open class CfnJobDefinition( * `containerProperties` , `eksProperties` , or `nodeProperties` . */ override fun ecsProperties(ecsProperties: IResolvable) { - cdkBuilder.ecsProperties(ecsProperties.let(IResolvable::unwrap)) + cdkBuilder.ecsProperties(ecsProperties.let(IResolvable.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnJobDefinition( * `containerProperties` , `eksProperties` , or `nodeProperties` . */ override fun ecsProperties(ecsProperties: EcsPropertiesProperty) { - cdkBuilder.ecsProperties(ecsProperties.let(EcsPropertiesProperty::unwrap)) + cdkBuilder.ecsProperties(ecsProperties.let(EcsPropertiesProperty.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class CfnJobDefinition( * @param eksProperties An object with properties that are specific to Amazon EKS-based jobs. */ override fun eksProperties(eksProperties: IResolvable) { - cdkBuilder.eksProperties(eksProperties.let(IResolvable::unwrap)) + cdkBuilder.eksProperties(eksProperties.let(IResolvable.Companion::unwrap)) } /** @@ -804,7 +804,7 @@ public open class CfnJobDefinition( * @param eksProperties An object with properties that are specific to Amazon EKS-based jobs. */ override fun eksProperties(eksProperties: EksPropertiesProperty) { - cdkBuilder.eksProperties(eksProperties.let(EksPropertiesProperty::unwrap)) + cdkBuilder.eksProperties(eksProperties.let(EksPropertiesProperty.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public open class CfnJobDefinition( * jobs. */ override fun nodeProperties(nodeProperties: IResolvable) { - cdkBuilder.nodeProperties(nodeProperties.let(IResolvable::unwrap)) + cdkBuilder.nodeProperties(nodeProperties.let(IResolvable.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnJobDefinition( * jobs. */ override fun nodeProperties(nodeProperties: NodePropertiesProperty) { - cdkBuilder.nodeProperties(nodeProperties.let(NodePropertiesProperty::unwrap)) + cdkBuilder.nodeProperties(nodeProperties.let(NodePropertiesProperty.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public open class CfnJobDefinition( * to the corresponding Amazon ECS task. */ override fun propagateTags(propagateTags: IResolvable) { - cdkBuilder.propagateTags(propagateTags.let(IResolvable::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnJobDefinition( * job definition. */ override fun retryStrategy(retryStrategy: IResolvable) { - cdkBuilder.retryStrategy(retryStrategy.let(IResolvable::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -984,7 +984,7 @@ public open class CfnJobDefinition( * job definition. */ override fun retryStrategy(retryStrategy: RetryStrategyProperty) { - cdkBuilder.retryStrategy(retryStrategy.let(RetryStrategyProperty::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(RetryStrategyProperty.Companion::unwrap)) } /** @@ -1032,7 +1032,7 @@ public open class CfnJobDefinition( * @param timeout The timeout time for jobs that are submitted with this job definition. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** @@ -1045,7 +1045,7 @@ public open class CfnJobDefinition( * @param timeout The timeout time for jobs that are submitted with this job definition. */ override fun timeout(timeout: TimeoutProperty) { - cdkBuilder.timeout(timeout.let(TimeoutProperty::unwrap)) + cdkBuilder.timeout(timeout.let(TimeoutProperty.Companion::unwrap)) } /** @@ -2407,7 +2407,7 @@ public open class CfnJobDefinition( * convention is reserved for variables that AWS Batch sets. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -2450,7 +2450,7 @@ public open class CfnJobDefinition( * the default amount, for tasks hosted on AWS Fargate . */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -2459,7 +2459,7 @@ public open class CfnJobDefinition( * the default amount, for tasks hosted on AWS Fargate . */ override fun ephemeralStorage(ephemeralStorage: EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -2490,7 +2490,7 @@ public open class CfnJobDefinition( * Jobs that are running on Amazon EC2 resources must not specify this parameter. */ override fun fargatePlatformConfiguration(fargatePlatformConfiguration: IResolvable) { - cdkBuilder.fargatePlatformConfiguration(fargatePlatformConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fargatePlatformConfiguration(fargatePlatformConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2500,7 +2500,7 @@ public open class CfnJobDefinition( */ override fun fargatePlatformConfiguration(fargatePlatformConfiguration: FargatePlatformConfigurationProperty) { - cdkBuilder.fargatePlatformConfiguration(fargatePlatformConfiguration.let(FargatePlatformConfigurationProperty::unwrap)) + cdkBuilder.fargatePlatformConfiguration(fargatePlatformConfiguration.let(FargatePlatformConfigurationProperty.Companion::unwrap)) } /** @@ -2579,7 +2579,7 @@ public open class CfnJobDefinition( * as details for device mappings. */ override fun linuxParameters(linuxParameters: IResolvable) { - cdkBuilder.linuxParameters(linuxParameters.let(IResolvable::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2587,7 +2587,7 @@ public open class CfnJobDefinition( * as details for device mappings. */ override fun linuxParameters(linuxParameters: LinuxParametersProperty) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParametersProperty::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParametersProperty.Companion::unwrap)) } /** @@ -2637,7 +2637,7 @@ public open class CfnJobDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2678,7 +2678,7 @@ public open class CfnJobDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun logConfiguration(logConfiguration: LogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -2746,7 +2746,7 @@ public open class CfnJobDefinition( * run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . */ override fun mountPoints(mountPoints: IResolvable) { - cdkBuilder.mountPoints(mountPoints.let(IResolvable::unwrap)) + cdkBuilder.mountPoints(mountPoints.let(IResolvable.Companion::unwrap)) } /** @@ -2779,7 +2779,7 @@ public open class CfnJobDefinition( * Jobs that are running on Amazon EC2 resources must not specify this parameter. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2788,7 +2788,7 @@ public open class CfnJobDefinition( * Jobs that are running on Amazon EC2 resources must not specify this parameter. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -2837,7 +2837,7 @@ public open class CfnJobDefinition( * be provided, or specified as false. */ override fun privileged(privileged: IResolvable) { - cdkBuilder.privileged(privileged.let(IResolvable::unwrap)) + cdkBuilder.privileged(privileged.let(IResolvable.Companion::unwrap)) } /** @@ -2863,21 +2863,21 @@ public open class CfnJobDefinition( * `--read-only` option to `docker run` . */ override fun readonlyRootFilesystem(readonlyRootFilesystem: IResolvable) { - cdkBuilder.readonlyRootFilesystem(readonlyRootFilesystem.let(IResolvable::unwrap)) + cdkBuilder.readonlyRootFilesystem(readonlyRootFilesystem.let(IResolvable.Companion::unwrap)) } /** * @param repositoryCredentials The private repository authentication credentials to use. */ override fun repositoryCredentials(repositoryCredentials: IResolvable) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(IResolvable::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(IResolvable.Companion::unwrap)) } /** * @param repositoryCredentials The private repository authentication credentials to use. */ override fun repositoryCredentials(repositoryCredentials: RepositoryCredentialsProperty) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(RepositoryCredentialsProperty::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(RepositoryCredentialsProperty.Companion::unwrap)) } /** @@ -2894,7 +2894,7 @@ public open class CfnJobDefinition( * The supported resources include `GPU` , `MEMORY` , and `VCPU` . */ override fun resourceRequirements(resourceRequirements: IResolvable) { - cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable::unwrap)) + cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -2917,7 +2917,7 @@ public open class CfnJobDefinition( * AWS Batch jobs on Fargate. */ override fun runtimePlatform(runtimePlatform: IResolvable) { - cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable.Companion::unwrap)) } /** @@ -2925,7 +2925,7 @@ public open class CfnJobDefinition( * AWS Batch jobs on Fargate. */ override fun runtimePlatform(runtimePlatform: RuntimePlatformProperty) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatformProperty::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatformProperty.Companion::unwrap)) } /** @@ -2944,7 +2944,7 @@ public open class CfnJobDefinition( * the *AWS Batch User Guide* . */ override fun secrets(secrets: IResolvable) { - cdkBuilder.secrets(secrets.let(IResolvable::unwrap)) + cdkBuilder.secrets(secrets.let(IResolvable.Companion::unwrap)) } /** @@ -2979,7 +2979,7 @@ public open class CfnJobDefinition( * be provided. */ override fun ulimits(ulimits: IResolvable) { - cdkBuilder.ulimits(ulimits.let(IResolvable::unwrap)) + cdkBuilder.ulimits(ulimits.let(IResolvable.Companion::unwrap)) } /** @@ -3051,7 +3051,7 @@ public open class CfnJobDefinition( * @param volumes A list of data volumes used in a job. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -3781,7 +3781,7 @@ public open class CfnJobDefinition( * This object is currently limited to one element. */ override fun taskProperties(taskProperties: IResolvable) { - cdkBuilder.taskProperties(taskProperties.let(IResolvable::unwrap)) + cdkBuilder.taskProperties(taskProperties.let(IResolvable.Companion::unwrap)) } /** @@ -4263,7 +4263,7 @@ public open class CfnJobDefinition( * @param containers This object is a list of containers. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -4284,7 +4284,7 @@ public open class CfnJobDefinition( * the default amount, for tasks hosted on AWS Fargate . */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -4293,7 +4293,7 @@ public open class CfnJobDefinition( * the default amount, for tasks hosted on AWS Fargate . */ override fun ephemeralStorage(ephemeralStorage: EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -4346,7 +4346,7 @@ public open class CfnJobDefinition( * Jobs that are running on Amazon EC2 resources must not specify this parameter. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4355,7 +4355,7 @@ public open class CfnJobDefinition( * Jobs that are running on Amazon EC2 resources must not specify this parameter. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -4407,7 +4407,7 @@ public open class CfnJobDefinition( * AWS Batch jobs on Fargate. */ override fun runtimePlatform(runtimePlatform: IResolvable) { - cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable.Companion::unwrap)) } /** @@ -4415,7 +4415,7 @@ public open class CfnJobDefinition( * AWS Batch jobs on Fargate. */ override fun runtimePlatform(runtimePlatform: RuntimePlatformProperty) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatformProperty::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatformProperty.Companion::unwrap)) } /** @@ -4443,7 +4443,7 @@ public open class CfnJobDefinition( * @param volumes A list of volumes that are associated with the job. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -4774,7 +4774,7 @@ public open class CfnJobDefinition( * system. */ override fun authorizationConfig(authorizationConfig: IResolvable) { - cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4782,7 +4782,7 @@ public open class CfnJobDefinition( * system. */ override fun authorizationConfig(authorizationConfig: AuthorizationConfigProperty) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfigProperty::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfigProperty.Companion::unwrap)) } /** @@ -5533,7 +5533,7 @@ public open class CfnJobDefinition( * for variables that AWS Batch sets. */ override fun env(env: IResolvable) { - cdkBuilder.env(env.let(IResolvable::unwrap)) + cdkBuilder.env(env.let(IResolvable.Companion::unwrap)) } /** @@ -5590,7 +5590,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** @@ -5601,7 +5601,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun resources(resources: ResourcesProperty) { - cdkBuilder.resources(resources.let(ResourcesProperty::unwrap)) + cdkBuilder.resources(resources.let(ResourcesProperty.Companion::unwrap)) } /** @@ -5623,7 +5623,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun securityContext(securityContext: IResolvable) { - cdkBuilder.securityContext(securityContext.let(IResolvable::unwrap)) + cdkBuilder.securityContext(securityContext.let(IResolvable.Companion::unwrap)) } /** @@ -5633,7 +5633,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun securityContext(securityContext: SecurityContextProperty) { - cdkBuilder.securityContext(securityContext.let(SecurityContextProperty::unwrap)) + cdkBuilder.securityContext(securityContext.let(SecurityContextProperty.Companion::unwrap)) } /** @@ -5655,7 +5655,7 @@ public open class CfnJobDefinition( * the *Kubernetes documentation* . */ override fun volumeMounts(volumeMounts: IResolvable) { - cdkBuilder.volumeMounts(volumeMounts.let(IResolvable::unwrap)) + cdkBuilder.volumeMounts(volumeMounts.let(IResolvable.Companion::unwrap)) } /** @@ -5943,7 +5943,7 @@ public open class CfnJobDefinition( * Otherwise, the container can write to the volume. The default value is `false` . */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6144,14 +6144,14 @@ public open class CfnJobDefinition( * @param podProperties The properties for the Kubernetes pod resources of a job. */ override fun podProperties(podProperties: IResolvable) { - cdkBuilder.podProperties(podProperties.let(IResolvable::unwrap)) + cdkBuilder.podProperties(podProperties.let(IResolvable.Companion::unwrap)) } /** * @param podProperties The properties for the Kubernetes pod resources of a job. */ override fun podProperties(podProperties: PodPropertiesProperty) { - cdkBuilder.podProperties(podProperties.let(PodPropertiesProperty::unwrap)) + cdkBuilder.podProperties(podProperties.let(PodPropertiesProperty.Companion::unwrap)) } /** @@ -6277,7 +6277,7 @@ public open class CfnJobDefinition( * @param optional Specifies whether the secret or the secret's keys must be defined. */ override fun optional(optional: IResolvable) { - cdkBuilder.optional(optional.let(IResolvable::unwrap)) + cdkBuilder.optional(optional.let(IResolvable.Companion::unwrap)) } /** @@ -6512,7 +6512,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun emptyDir(emptyDir: IResolvable) { - cdkBuilder.emptyDir(emptyDir.let(IResolvable::unwrap)) + cdkBuilder.emptyDir(emptyDir.let(IResolvable.Companion::unwrap)) } /** @@ -6522,7 +6522,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun emptyDir(emptyDir: EmptyDirProperty) { - cdkBuilder.emptyDir(emptyDir.let(EmptyDirProperty::unwrap)) + cdkBuilder.emptyDir(emptyDir.let(EmptyDirProperty.Companion::unwrap)) } /** @@ -6543,7 +6543,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun hostPath(hostPath: IResolvable) { - cdkBuilder.hostPath(hostPath.let(IResolvable::unwrap)) + cdkBuilder.hostPath(hostPath.let(IResolvable.Companion::unwrap)) } /** @@ -6553,7 +6553,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun hostPath(hostPath: HostPathProperty) { - cdkBuilder.hostPath(hostPath.let(HostPathProperty::unwrap)) + cdkBuilder.hostPath(hostPath.let(HostPathProperty.Companion::unwrap)) } /** @@ -6584,7 +6584,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun secret(secret: IResolvable) { - cdkBuilder.secret(secret.let(IResolvable::unwrap)) + cdkBuilder.secret(secret.let(IResolvable.Companion::unwrap)) } /** @@ -6594,7 +6594,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun secret(secret: EksSecretProperty) { - cdkBuilder.secret(secret.let(EksSecretProperty::unwrap)) + cdkBuilder.secret(secret.let(EksSecretProperty.Companion::unwrap)) } /** @@ -7828,7 +7828,7 @@ public open class CfnJobDefinition( * provide it for these jobs. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** @@ -7888,7 +7888,7 @@ public open class CfnJobDefinition( * version"` */ override fun initProcessEnabled(initProcessEnabled: IResolvable) { - cdkBuilder.initProcessEnabled(initProcessEnabled.let(IResolvable::unwrap)) + cdkBuilder.initProcessEnabled(initProcessEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -7974,7 +7974,7 @@ public open class CfnJobDefinition( * provide this parameter for this resource type. */ override fun tmpfs(tmpfs: IResolvable) { - cdkBuilder.tmpfs(tmpfs.let(IResolvable::unwrap)) + cdkBuilder.tmpfs(tmpfs.let(IResolvable.Companion::unwrap)) } /** @@ -8449,7 +8449,7 @@ public open class CfnJobDefinition( * the *AWS Batch User Guide* . */ override fun secretOptions(secretOptions: IResolvable) { - cdkBuilder.secretOptions(secretOptions.let(IResolvable::unwrap)) + cdkBuilder.secretOptions(secretOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8782,7 +8782,7 @@ public open class CfnJobDefinition( * Otherwise, the container can write to the volume. The default value is `false` . */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } /** @@ -9254,7 +9254,7 @@ public open class CfnJobDefinition( * with a multi-node parallel job. */ override fun nodeRangeProperties(nodeRangeProperties: IResolvable) { - cdkBuilder.nodeRangeProperties(nodeRangeProperties.let(IResolvable::unwrap)) + cdkBuilder.nodeRangeProperties(nodeRangeProperties.let(IResolvable.Companion::unwrap)) } /** @@ -9671,14 +9671,14 @@ public open class CfnJobDefinition( * @param container The container details for the node range. */ override fun container(container: IResolvable) { - cdkBuilder.container(container.let(IResolvable::unwrap)) + cdkBuilder.container(container.let(IResolvable.Companion::unwrap)) } /** * @param container The container details for the node range. */ override fun container(container: ContainerPropertiesProperty) { - cdkBuilder.container(container.let(ContainerPropertiesProperty::unwrap)) + cdkBuilder.container(container.let(ContainerPropertiesProperty.Companion::unwrap)) } /** @@ -9694,7 +9694,7 @@ public open class CfnJobDefinition( * a multi-node parallel job. */ override fun ecsProperties(ecsProperties: IResolvable) { - cdkBuilder.ecsProperties(ecsProperties.let(IResolvable::unwrap)) + cdkBuilder.ecsProperties(ecsProperties.let(IResolvable.Companion::unwrap)) } /** @@ -9702,7 +9702,7 @@ public open class CfnJobDefinition( * a multi-node parallel job. */ override fun ecsProperties(ecsProperties: EcsPropertiesProperty) { - cdkBuilder.ecsProperties(ecsProperties.let(EcsPropertiesProperty::unwrap)) + cdkBuilder.ecsProperties(ecsProperties.let(EcsPropertiesProperty.Companion::unwrap)) } /** @@ -10221,7 +10221,7 @@ public open class CfnJobDefinition( * @param containers The properties of the container that's used on the Amazon EKS pod. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -10276,14 +10276,14 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun hostNetwork(hostNetwork: IResolvable) { - cdkBuilder.hostNetwork(hostNetwork.let(IResolvable::unwrap)) + cdkBuilder.hostNetwork(hostNetwork.let(IResolvable.Companion::unwrap)) } /** * @param imagePullSecrets the value to be set. */ override fun imagePullSecrets(imagePullSecrets: IResolvable) { - cdkBuilder.imagePullSecrets(imagePullSecrets.let(IResolvable::unwrap)) + cdkBuilder.imagePullSecrets(imagePullSecrets.let(IResolvable.Companion::unwrap)) } /** @@ -10311,7 +10311,7 @@ public open class CfnJobDefinition( * This object is limited to 10 elements */ override fun initContainers(initContainers: IResolvable) { - cdkBuilder.initContainers(initContainers.let(IResolvable::unwrap)) + cdkBuilder.initContainers(initContainers.let(IResolvable.Companion::unwrap)) } /** @@ -10350,7 +10350,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun metadata(metadata: IResolvable) { - cdkBuilder.metadata(metadata.let(IResolvable::unwrap)) + cdkBuilder.metadata(metadata.let(IResolvable.Companion::unwrap)) } /** @@ -10360,7 +10360,7 @@ public open class CfnJobDefinition( * in the *Kubernetes documentation* . */ override fun metadata(metadata: MetadataProperty) { - cdkBuilder.metadata(metadata.let(MetadataProperty::unwrap)) + cdkBuilder.metadata(metadata.let(MetadataProperty.Companion::unwrap)) } /** @@ -10407,14 +10407,14 @@ public open class CfnJobDefinition( * . */ override fun shareProcessNamespace(shareProcessNamespace: IResolvable) { - cdkBuilder.shareProcessNamespace(shareProcessNamespace.let(IResolvable::unwrap)) + cdkBuilder.shareProcessNamespace(shareProcessNamespace.let(IResolvable.Companion::unwrap)) } /** * @param volumes Specifies the volumes for a job definition that uses Amazon EKS resources. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -11310,7 +11310,7 @@ public open class CfnJobDefinition( * none of the listed conditions match, then the job is retried. */ override fun evaluateOnExit(evaluateOnExit: IResolvable) { - cdkBuilder.evaluateOnExit(evaluateOnExit.let(IResolvable::unwrap)) + cdkBuilder.evaluateOnExit(evaluateOnExit.let(IResolvable.Companion::unwrap)) } /** @@ -11854,7 +11854,7 @@ public open class CfnJobDefinition( * @param allowPrivilegeEscalation the value to be set. */ override fun allowPrivilegeEscalation(allowPrivilegeEscalation: IResolvable) { - cdkBuilder.allowPrivilegeEscalation(allowPrivilegeEscalation.let(IResolvable::unwrap)) + cdkBuilder.allowPrivilegeEscalation(allowPrivilegeEscalation.let(IResolvable.Companion::unwrap)) } /** @@ -11868,7 +11868,7 @@ public open class CfnJobDefinition( * @param privileged the value to be set. */ override fun privileged(privileged: IResolvable) { - cdkBuilder.privileged(privileged.let(IResolvable::unwrap)) + cdkBuilder.privileged(privileged.let(IResolvable.Companion::unwrap)) } /** @@ -11882,7 +11882,7 @@ public open class CfnJobDefinition( * @param readOnlyRootFilesystem the value to be set. */ override fun readOnlyRootFilesystem(readOnlyRootFilesystem: IResolvable) { - cdkBuilder.readOnlyRootFilesystem(readOnlyRootFilesystem.let(IResolvable::unwrap)) + cdkBuilder.readOnlyRootFilesystem(readOnlyRootFilesystem.let(IResolvable.Companion::unwrap)) } /** @@ -11903,7 +11903,7 @@ public open class CfnJobDefinition( * @param runAsNonRoot the value to be set. */ override fun runAsNonRoot(runAsNonRoot: IResolvable) { - cdkBuilder.runAsNonRoot(runAsNonRoot.let(IResolvable::unwrap)) + cdkBuilder.runAsNonRoot(runAsNonRoot.let(IResolvable.Companion::unwrap)) } /** @@ -13110,7 +13110,7 @@ public open class CfnJobDefinition( * @param dependsOn A list of containers that this container depends on. */ override fun dependsOn(dependsOn: IResolvable) { - cdkBuilder.dependsOn(dependsOn.let(IResolvable::unwrap)) + cdkBuilder.dependsOn(dependsOn.let(IResolvable.Companion::unwrap)) } /** @@ -13140,7 +13140,7 @@ public open class CfnJobDefinition( * convention is reserved for variables that AWS Batch sets. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -13212,7 +13212,7 @@ public open class CfnJobDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun essential(essential: IResolvable) { - cdkBuilder.essential(essential.let(IResolvable::unwrap)) + cdkBuilder.essential(essential.let(IResolvable.Companion::unwrap)) } /** @@ -13241,7 +13241,7 @@ public open class CfnJobDefinition( * . */ override fun linuxParameters(linuxParameters: IResolvable) { - cdkBuilder.linuxParameters(linuxParameters.let(IResolvable::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(IResolvable.Companion::unwrap)) } /** @@ -13252,7 +13252,7 @@ public open class CfnJobDefinition( * . */ override fun linuxParameters(linuxParameters: LinuxParametersProperty) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParametersProperty::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParametersProperty.Companion::unwrap)) } /** @@ -13306,7 +13306,7 @@ public open class CfnJobDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -13348,7 +13348,7 @@ public open class CfnJobDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun logConfiguration(logConfiguration: LogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -13409,7 +13409,7 @@ public open class CfnJobDefinition( * across drives. */ override fun mountPoints(mountPoints: IResolvable) { - cdkBuilder.mountPoints(mountPoints.let(IResolvable::unwrap)) + cdkBuilder.mountPoints(mountPoints.let(IResolvable.Companion::unwrap)) } /** @@ -13488,7 +13488,7 @@ public open class CfnJobDefinition( * This parameter is not supported for Windows containers or tasks run on Fargate. */ override fun privileged(privileged: IResolvable) { - cdkBuilder.privileged(privileged.let(IResolvable::unwrap)) + cdkBuilder.privileged(privileged.let(IResolvable.Companion::unwrap)) } /** @@ -13524,21 +13524,21 @@ public open class CfnJobDefinition( * This parameter is not supported for Windows containers. */ override fun readonlyRootFilesystem(readonlyRootFilesystem: IResolvable) { - cdkBuilder.readonlyRootFilesystem(readonlyRootFilesystem.let(IResolvable::unwrap)) + cdkBuilder.readonlyRootFilesystem(readonlyRootFilesystem.let(IResolvable.Companion::unwrap)) } /** * @param repositoryCredentials The private repository authentication credentials to use. */ override fun repositoryCredentials(repositoryCredentials: IResolvable) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(IResolvable::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(IResolvable.Companion::unwrap)) } /** * @param repositoryCredentials The private repository authentication credentials to use. */ override fun repositoryCredentials(repositoryCredentials: RepositoryCredentialsProperty) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(RepositoryCredentialsProperty::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(RepositoryCredentialsProperty.Companion::unwrap)) } /** @@ -13555,7 +13555,7 @@ public open class CfnJobDefinition( * The only supported resource is a GPU. */ override fun resourceRequirements(resourceRequirements: IResolvable) { - cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable::unwrap)) + cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -13580,7 +13580,7 @@ public open class CfnJobDefinition( * in the Amazon Elastic Container Service Developer Guide. */ override fun secrets(secrets: IResolvable) { - cdkBuilder.secrets(secrets.let(IResolvable::unwrap)) + cdkBuilder.secrets(secrets.let(IResolvable.Companion::unwrap)) } /** @@ -13627,7 +13627,7 @@ public open class CfnJobDefinition( * This parameter is not supported for Windows containers. */ override fun ulimits(ulimits: IResolvable) { - cdkBuilder.ulimits(ulimits.let(IResolvable::unwrap)) + cdkBuilder.ulimits(ulimits.let(IResolvable.Companion::unwrap)) } /** @@ -14786,7 +14786,7 @@ public open class CfnJobDefinition( * Batch User Guide* . */ override fun efsVolumeConfiguration(efsVolumeConfiguration: IResolvable) { - cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14797,7 +14797,7 @@ public open class CfnJobDefinition( * Batch User Guide* . */ override fun efsVolumeConfiguration(efsVolumeConfiguration: EfsVolumeConfigurationProperty) { - cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(EfsVolumeConfigurationProperty::unwrap)) + cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(EfsVolumeConfigurationProperty.Companion::unwrap)) } /** @@ -14825,7 +14825,7 @@ public open class CfnJobDefinition( * be provided. */ override fun host(host: IResolvable) { - cdkBuilder.host(host.let(IResolvable::unwrap)) + cdkBuilder.host(host.let(IResolvable.Companion::unwrap)) } /** @@ -14840,7 +14840,7 @@ public open class CfnJobDefinition( * be provided. */ override fun host(host: VolumesHostProperty) { - cdkBuilder.host(host.let(VolumesHostProperty::unwrap)) + cdkBuilder.host(host.let(VolumesHostProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinitionProps.kt index 8537c1d069..40a3a2ec42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobDefinitionProps.kt @@ -415,7 +415,7 @@ public interface CfnJobDefinitionProps { * `eksProperties` , `ecsProperties` , or `nodeProperties` . */ override fun containerProperties(containerProperties: IResolvable) { - cdkBuilder.containerProperties(containerProperties.let(IResolvable::unwrap)) + cdkBuilder.containerProperties(containerProperties.let(IResolvable.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public interface CfnJobDefinitionProps { */ override fun containerProperties(containerProperties: CfnJobDefinition.ContainerPropertiesProperty) { - cdkBuilder.containerProperties(containerProperties.let(CfnJobDefinition.ContainerPropertiesProperty::unwrap)) + cdkBuilder.containerProperties(containerProperties.let(CfnJobDefinition.ContainerPropertiesProperty.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public interface CfnJobDefinitionProps { * `containerProperties` , `eksProperties` , or `nodeProperties` . */ override fun ecsProperties(ecsProperties: IResolvable) { - cdkBuilder.ecsProperties(ecsProperties.let(IResolvable::unwrap)) + cdkBuilder.ecsProperties(ecsProperties.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public interface CfnJobDefinitionProps { * `containerProperties` , `eksProperties` , or `nodeProperties` . */ override fun ecsProperties(ecsProperties: CfnJobDefinition.EcsPropertiesProperty) { - cdkBuilder.ecsProperties(ecsProperties.let(CfnJobDefinition.EcsPropertiesProperty::unwrap)) + cdkBuilder.ecsProperties(ecsProperties.let(CfnJobDefinition.EcsPropertiesProperty.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public interface CfnJobDefinitionProps { * `containerProperties` , `ecsProperties` , or `nodeProperties` . */ override fun eksProperties(eksProperties: IResolvable) { - cdkBuilder.eksProperties(eksProperties.let(IResolvable::unwrap)) + cdkBuilder.eksProperties(eksProperties.let(IResolvable.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public interface CfnJobDefinitionProps { * `containerProperties` , `ecsProperties` , or `nodeProperties` . */ override fun eksProperties(eksProperties: CfnJobDefinition.EksPropertiesProperty) { - cdkBuilder.eksProperties(eksProperties.let(CfnJobDefinition.EksPropertiesProperty::unwrap)) + cdkBuilder.eksProperties(eksProperties.let(CfnJobDefinition.EksPropertiesProperty.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public interface CfnJobDefinitionProps { * `containerProperties` instead. */ override fun nodeProperties(nodeProperties: IResolvable) { - cdkBuilder.nodeProperties(nodeProperties.let(IResolvable::unwrap)) + cdkBuilder.nodeProperties(nodeProperties.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public interface CfnJobDefinitionProps { * `containerProperties` instead. */ override fun nodeProperties(nodeProperties: CfnJobDefinition.NodePropertiesProperty) { - cdkBuilder.nodeProperties(nodeProperties.let(CfnJobDefinition.NodePropertiesProperty::unwrap)) + cdkBuilder.nodeProperties(nodeProperties.let(CfnJobDefinition.NodePropertiesProperty.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public interface CfnJobDefinitionProps { * over 50, the job is moved to the `FAILED` state. */ override fun propagateTags(propagateTags: IResolvable) { - cdkBuilder.propagateTags(propagateTags.let(IResolvable::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(IResolvable.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public interface CfnJobDefinitionProps { * job definition. */ override fun retryStrategy(retryStrategy: IResolvable) { - cdkBuilder.retryStrategy(retryStrategy.let(IResolvable::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public interface CfnJobDefinitionProps { * job definition. */ override fun retryStrategy(retryStrategy: CfnJobDefinition.RetryStrategyProperty) { - cdkBuilder.retryStrategy(retryStrategy.let(CfnJobDefinition.RetryStrategyProperty::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(CfnJobDefinition.RetryStrategyProperty.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public interface CfnJobDefinitionProps { * finished. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** @@ -660,7 +660,7 @@ public interface CfnJobDefinitionProps { * finished. */ override fun timeout(timeout: CfnJobDefinition.TimeoutProperty) { - cdkBuilder.timeout(timeout.let(CfnJobDefinition.TimeoutProperty::unwrap)) + cdkBuilder.timeout(timeout.let(CfnJobDefinition.TimeoutProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueue.kt index 74b77476e7..776c231aa7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueue.kt @@ -64,8 +64,8 @@ public open class CfnJobQueue( id: String, props: CfnJobQueueProps, ) : - this(software.amazon.awscdk.services.batch.CfnJobQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnJobQueueProps::unwrap)) + this(software.amazon.awscdk.services.batch.CfnJobQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJobQueueProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnJobQueue( * The set of compute environments mapped to a job queue and their order relative to each other. */ public open fun computeEnvironmentOrder(`value`: IResolvable) { - unwrap(this).setComputeEnvironmentOrder(`value`.let(IResolvable::unwrap)) + unwrap(this).setComputeEnvironmentOrder(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnJobQueue( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnJobQueue( * the specified state longer than specified times. */ public open fun jobStateTimeLimitActions(`value`: IResolvable) { - unwrap(this).setJobStateTimeLimitActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobStateTimeLimitActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnJobQueue( * their order relative to each other. */ override fun computeEnvironmentOrder(computeEnvironmentOrder: IResolvable) { - cdkBuilder.computeEnvironmentOrder(computeEnvironmentOrder.let(IResolvable::unwrap)) + cdkBuilder.computeEnvironmentOrder(computeEnvironmentOrder.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnJobQueue( * at the head of the job queue in the specified state longer than specified times. */ override fun jobStateTimeLimitActions(jobStateTimeLimitActions: IResolvable) { - cdkBuilder.jobStateTimeLimitActions(jobStateTimeLimitActions.let(IResolvable::unwrap)) + cdkBuilder.jobStateTimeLimitActions(jobStateTimeLimitActions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueueProps.kt index 1740d72803..673fecb5ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueueProps.kt @@ -263,7 +263,7 @@ public interface CfnJobQueueProps { * single job queue. */ override fun computeEnvironmentOrder(computeEnvironmentOrder: IResolvable) { - cdkBuilder.computeEnvironmentOrder(computeEnvironmentOrder.let(IResolvable::unwrap)) + cdkBuilder.computeEnvironmentOrder(computeEnvironmentOrder.let(IResolvable.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface CfnJobQueueProps { * AWS Batch will perform each action after `maxTimeSeconds` has passed. */ override fun jobStateTimeLimitActions(jobStateTimeLimitActions: IResolvable) { - cdkBuilder.jobStateTimeLimitActions(jobStateTimeLimitActions.let(IResolvable::unwrap)) + cdkBuilder.jobStateTimeLimitActions(jobStateTimeLimitActions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicy.kt index eeadbaf330..a5ab1c8d12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicy.kt @@ -56,7 +56,7 @@ public open class CfnSchedulingPolicy( cdkObject: software.amazon.awscdk.services.batch.CfnSchedulingPolicy, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.batch.CfnSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.batch.CfnSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -65,8 +65,8 @@ public open class CfnSchedulingPolicy( id: String, props: CfnSchedulingPolicyProps, ) : - this(software.amazon.awscdk.services.batch.CfnSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchedulingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.batch.CfnSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchedulingPolicyProps.Companion::unwrap)) ) public constructor( @@ -91,14 +91,14 @@ public open class CfnSchedulingPolicy( * The fair share policy of the scheduling policy. */ public open fun fairsharePolicy(`value`: IResolvable) { - unwrap(this).setFairsharePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setFairsharePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * The fair share policy of the scheduling policy. */ public open fun fairsharePolicy(`value`: FairsharePolicyProperty) { - unwrap(this).setFairsharePolicy(`value`.let(FairsharePolicyProperty::unwrap)) + unwrap(this).setFairsharePolicy(`value`.let(FairsharePolicyProperty.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnSchedulingPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnSchedulingPolicy( * @param fairsharePolicy The fair share policy of the scheduling policy. */ override fun fairsharePolicy(fairsharePolicy: IResolvable) { - cdkBuilder.fairsharePolicy(fairsharePolicy.let(IResolvable::unwrap)) + cdkBuilder.fairsharePolicy(fairsharePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnSchedulingPolicy( * @param fairsharePolicy The fair share policy of the scheduling policy. */ override fun fairsharePolicy(fairsharePolicy: FairsharePolicyProperty) { - cdkBuilder.fairsharePolicy(fairsharePolicy.let(FairsharePolicyProperty::unwrap)) + cdkBuilder.fairsharePolicy(fairsharePolicy.let(FairsharePolicyProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnSchedulingPolicy( * Fair share identifiers that aren't included have a default weight of `1.0` . */ override fun shareDistribution(shareDistribution: IResolvable) { - cdkBuilder.shareDistribution(shareDistribution.let(IResolvable::unwrap)) + cdkBuilder.shareDistribution(shareDistribution.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicyProps.kt index cb78411fdb..b7bea5afa7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnSchedulingPolicyProps.kt @@ -126,14 +126,14 @@ public interface CfnSchedulingPolicyProps { * @param fairsharePolicy The fair share policy of the scheduling policy. */ override fun fairsharePolicy(fairsharePolicy: IResolvable) { - cdkBuilder.fairsharePolicy(fairsharePolicy.let(IResolvable::unwrap)) + cdkBuilder.fairsharePolicy(fairsharePolicy.let(IResolvable.Companion::unwrap)) } /** * @param fairsharePolicy The fair share policy of the scheduling policy. */ override fun fairsharePolicy(fairsharePolicy: CfnSchedulingPolicy.FairsharePolicyProperty) { - cdkBuilder.fairsharePolicy(fairsharePolicy.let(CfnSchedulingPolicy.FairsharePolicyProperty::unwrap)) + cdkBuilder.fairsharePolicy(fairsharePolicy.let(CfnSchedulingPolicy.FairsharePolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ComputeEnvironmentProps.kt index f493db391e..d76da0e19b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ComputeEnvironmentProps.kt @@ -130,7 +130,7 @@ public interface ComputeEnvironmentProps { * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.ComputeEnvironmentProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Device.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Device.kt index ab7795676a..b9e4a88844 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Device.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Device.kt @@ -100,7 +100,7 @@ public interface Device { * By default, the container has permissions for read, write, and mknod for the device. */ override fun permissions(permissions: List) { - cdkBuilder.permissions(permissions.map(DevicePermission::unwrap)) + cdkBuilder.permissions(permissions.map(DevicePermission.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsContainerDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsContainerDefinitionProps.kt index fa5f943247..e0ebf340f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsContainerDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsContainerDefinitionProps.kt @@ -304,21 +304,21 @@ public interface EcsContainerDefinitionProps { * API calls on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param jobRole The role that the container can assume. */ override fun jobRole(jobRole: IRole) { - cdkBuilder.jobRole(jobRole.let(IRole::unwrap)) + cdkBuilder.jobRole(jobRole.let(IRole.Companion::unwrap)) } /** @@ -326,14 +326,14 @@ public interface EcsContainerDefinitionProps { * as details for device mappings. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The loging configuration for this Job. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface EcsContainerDefinitionProps { * You must specify at least 4 MiB of memory for a job. */ override fun memory(memory: Size) { - cdkBuilder.memory(memory.let(Size::unwrap)) + cdkBuilder.memory(memory.let(Size.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface EcsContainerDefinitionProps { * Automatically added to the job definition. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EcsVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinition.kt index c1bc072b68..16a592229e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinition.kt @@ -54,8 +54,8 @@ public open class EcsEc2ContainerDefinition( id: String, props: EcsEc2ContainerDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.EcsEc2ContainerDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsEc2ContainerDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.EcsEc2ContainerDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsEc2ContainerDefinitionProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class EcsEc2ContainerDefinition( * @param ulimit */ public override fun addUlimit(ulimit: Ulimit) { - unwrap(this).addUlimit(ulimit.let(Ulimit::unwrap)) + unwrap(this).addUlimit(ulimit.let(Ulimit.Companion::unwrap)) } /** @@ -89,7 +89,7 @@ public open class EcsEc2ContainerDefinition( * @param volume */ public override fun addVolume(volume: EcsVolume) { - unwrap(this).addVolume(volume.let(EcsVolume::unwrap)) + unwrap(this).addVolume(volume.let(EcsVolume.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class EcsEc2ContainerDefinition( * API calls on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class EcsEc2ContainerDefinition( * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class EcsEc2ContainerDefinition( * @param jobRole The role that the container can assume. */ override fun jobRole(jobRole: IRole) { - cdkBuilder.jobRole(jobRole.let(IRole::unwrap)) + cdkBuilder.jobRole(jobRole.let(IRole.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class EcsEc2ContainerDefinition( * as details for device mappings. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class EcsEc2ContainerDefinition( * @param logging The loging configuration for this Job. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class EcsEc2ContainerDefinition( * @param memory The memory hard limit present to the container. */ override fun memory(memory: Size) { - cdkBuilder.memory(memory.let(Size::unwrap)) + cdkBuilder.memory(memory.let(Size.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class EcsEc2ContainerDefinition( * @param ulimits Limits to set for the user this docker container will run as. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public open class EcsEc2ContainerDefinition( * @param volumes The volumes to mount to this container. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EcsVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinitionProps.kt index cc29de6257..3d91415436 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsEc2ContainerDefinitionProps.kt @@ -227,7 +227,7 @@ public interface EcsEc2ContainerDefinitionProps : EcsContainerDefinitionProps { * API calls on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -243,14 +243,14 @@ public interface EcsEc2ContainerDefinitionProps : EcsContainerDefinitionProps { * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param jobRole The role that the container can assume. */ override fun jobRole(jobRole: IRole) { - cdkBuilder.jobRole(jobRole.let(IRole::unwrap)) + cdkBuilder.jobRole(jobRole.let(IRole.Companion::unwrap)) } /** @@ -258,14 +258,14 @@ public interface EcsEc2ContainerDefinitionProps : EcsContainerDefinitionProps { * as details for device mappings. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The loging configuration for this Job. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface EcsEc2ContainerDefinitionProps : EcsContainerDefinitionProps { * You must specify at least 4 MiB of memory for a job. */ override fun memory(memory: Size) { - cdkBuilder.memory(memory.let(Size::unwrap)) + cdkBuilder.memory(memory.let(Size.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface EcsEc2ContainerDefinitionProps : EcsContainerDefinitionProps { * @param ulimits Limits to set for the user this docker container will run as. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public interface EcsEc2ContainerDefinitionProps : EcsContainerDefinitionProps { * Automatically added to the job definition. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EcsVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinition.kt index 1aac3c4618..2012bb4f0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinition.kt @@ -47,8 +47,8 @@ public open class EcsFargateContainerDefinition( id: String, props: EcsFargateContainerDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.EcsFargateContainerDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsFargateContainerDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.EcsFargateContainerDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsFargateContainerDefinitionProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class EcsFargateContainerDefinition( * @param volume */ public override fun addVolume(volume: EcsVolume) { - unwrap(this).addVolume(volume.let(EcsVolume::unwrap)) + unwrap(this).addVolume(volume.let(EcsVolume.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class EcsFargateContainerDefinition( * @param ephemeralStorageSize The size for ephemeral storage. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class EcsFargateContainerDefinition( * API calls on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class EcsFargateContainerDefinition( * @param fargateCpuArchitecture The vCPU architecture of Fargate Runtime. */ override fun fargateCpuArchitecture(fargateCpuArchitecture: CpuArchitecture) { - cdkBuilder.fargateCpuArchitecture(fargateCpuArchitecture.let(CpuArchitecture::unwrap)) + cdkBuilder.fargateCpuArchitecture(fargateCpuArchitecture.let(CpuArchitecture.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class EcsFargateContainerDefinition( * @param fargateOperatingSystemFamily The operating system for the compute environment. */ override fun fargateOperatingSystemFamily(fargateOperatingSystemFamily: OperatingSystemFamily) { - cdkBuilder.fargateOperatingSystemFamily(fargateOperatingSystemFamily.let(OperatingSystemFamily::unwrap)) + cdkBuilder.fargateOperatingSystemFamily(fargateOperatingSystemFamily.let(OperatingSystemFamily.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public open class EcsFargateContainerDefinition( * @param fargatePlatformVersion Which version of Fargate to use when running this container. */ override fun fargatePlatformVersion(fargatePlatformVersion: FargatePlatformVersion) { - cdkBuilder.fargatePlatformVersion(fargatePlatformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.fargatePlatformVersion(fargatePlatformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class EcsFargateContainerDefinition( * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class EcsFargateContainerDefinition( * @param jobRole The role that the container can assume. */ override fun jobRole(jobRole: IRole) { - cdkBuilder.jobRole(jobRole.let(IRole::unwrap)) + cdkBuilder.jobRole(jobRole.let(IRole.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class EcsFargateContainerDefinition( * as details for device mappings. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class EcsFargateContainerDefinition( * @param logging The loging configuration for this Job. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -586,7 +586,7 @@ public open class EcsFargateContainerDefinition( * @param memory The memory hard limit present to the container. */ override fun memory(memory: Size) { - cdkBuilder.memory(memory.let(Size::unwrap)) + cdkBuilder.memory(memory.let(Size.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class EcsFargateContainerDefinition( * @param volumes The volumes to mount to this container. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EcsVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinitionProps.kt index 7178a6200b..4c76ff45ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsFargateContainerDefinitionProps.kt @@ -257,7 +257,7 @@ public interface EcsFargateContainerDefinitionProps : EcsContainerDefinitionProp * @param ephemeralStorageSize The size for ephemeral storage. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -265,42 +265,42 @@ public interface EcsFargateContainerDefinitionProps : EcsContainerDefinitionProp * API calls on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param fargateCpuArchitecture The vCPU architecture of Fargate Runtime. */ override fun fargateCpuArchitecture(fargateCpuArchitecture: CpuArchitecture) { - cdkBuilder.fargateCpuArchitecture(fargateCpuArchitecture.let(CpuArchitecture::unwrap)) + cdkBuilder.fargateCpuArchitecture(fargateCpuArchitecture.let(CpuArchitecture.Companion::unwrap)) } /** * @param fargateOperatingSystemFamily The operating system for the compute environment. */ override fun fargateOperatingSystemFamily(fargateOperatingSystemFamily: OperatingSystemFamily) { - cdkBuilder.fargateOperatingSystemFamily(fargateOperatingSystemFamily.let(OperatingSystemFamily::unwrap)) + cdkBuilder.fargateOperatingSystemFamily(fargateOperatingSystemFamily.let(OperatingSystemFamily.Companion::unwrap)) } /** * @param fargatePlatformVersion Which version of Fargate to use when running this container. */ override fun fargatePlatformVersion(fargatePlatformVersion: FargatePlatformVersion) { - cdkBuilder.fargatePlatformVersion(fargatePlatformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.fargatePlatformVersion(fargatePlatformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param jobRole The role that the container can assume. */ override fun jobRole(jobRole: IRole) { - cdkBuilder.jobRole(jobRole.let(IRole::unwrap)) + cdkBuilder.jobRole(jobRole.let(IRole.Companion::unwrap)) } /** @@ -308,14 +308,14 @@ public interface EcsFargateContainerDefinitionProps : EcsContainerDefinitionProp * as details for device mappings. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The loging configuration for this Job. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public interface EcsFargateContainerDefinitionProps : EcsContainerDefinitionProp * You must specify at least 4 MiB of memory for a job. */ override fun memory(memory: Size) { - cdkBuilder.memory(memory.let(Size::unwrap)) + cdkBuilder.memory(memory.let(Size.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public interface EcsFargateContainerDefinitionProps : EcsContainerDefinitionProp * Automatically added to the job definition. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EcsVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinition.kt index 5d6f7e5d54..31a0dcc0ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinition.kt @@ -52,8 +52,8 @@ public open class EcsJobDefinition( id: String, props: EcsJobDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.EcsJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.EcsJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class EcsJobDefinition( * @param strategy */ public override fun addRetryStrategy(strategy: RetryStrategy) { - unwrap(this).addRetryStrategy(strategy.let(RetryStrategy::unwrap)) + unwrap(this).addRetryStrategy(strategy.let(RetryStrategy.Companion::unwrap)) } /** @@ -86,7 +86,8 @@ public open class EcsJobDefinition( * @param queue */ public open fun grantSubmitJob(identity: IGrantable, queue: IJobQueue) { - unwrap(this).grantSubmitJob(identity.let(IGrantable::unwrap), queue.let(IJobQueue::unwrap)) + unwrap(this).grantSubmitJob(identity.let(IGrantable.Companion::unwrap), + queue.let(IJobQueue.Companion::unwrap)) } /** @@ -251,7 +252,7 @@ public open class EcsJobDefinition( * @param container The container that this job will run. */ override fun container(container: IEcsContainerDefinition) { - cdkBuilder.container(container.let(IEcsContainerDefinition::unwrap)) + cdkBuilder.container(container.let(IEcsContainerDefinition.Companion::unwrap)) } /** @@ -312,7 +313,7 @@ public open class EcsJobDefinition( * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -351,7 +352,7 @@ public open class EcsJobDefinition( * @param timeout The timeout time for jobs that are submitted with this job definition. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.EcsJobDefinition = cdkBuilder.build() @@ -363,7 +364,7 @@ public open class EcsJobDefinition( id: String, jobDefinitionArn: String, ): IJobDefinition = - software.amazon.awscdk.services.batch.EcsJobDefinition.fromJobDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.EcsJobDefinition.fromJobDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, jobDefinitionArn).let(IJobDefinition::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinitionProps.kt index 409c058849..0913187de2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsJobDefinitionProps.kt @@ -121,7 +121,7 @@ public interface EcsJobDefinitionProps : JobDefinitionProps { * @param container The container that this job will run. */ override fun container(container: IEcsContainerDefinition) { - cdkBuilder.container(container.let(IEcsContainerDefinition::unwrap)) + cdkBuilder.container(container.let(IEcsContainerDefinition.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface EcsJobDefinitionProps : JobDefinitionProps { * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface EcsJobDefinitionProps : JobDefinitionProps { * Batch terminates your jobs if they aren't finished. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.EcsJobDefinitionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsMachineImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsMachineImage.kt index 8ae55d7496..b5fae97b5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsMachineImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsMachineImage.kt @@ -65,14 +65,14 @@ public interface EcsMachineImage { * @param image The machine image to use. */ override fun image(image: IMachineImage) { - cdkBuilder.image(image.let(IMachineImage::unwrap)) + cdkBuilder.image(image.let(IMachineImage.Companion::unwrap)) } /** * @param imageType Tells Batch which instance type to launch this image on. */ override fun imageType(imageType: EcsMachineImageType) { - cdkBuilder.imageType(imageType.let(EcsMachineImageType::unwrap)) + cdkBuilder.imageType(imageType.let(EcsMachineImageType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.EcsMachineImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsVolume.kt index 7d049e5856..7b7d0fe6e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EcsVolume.kt @@ -60,7 +60,7 @@ public abstract class EcsVolume( public companion object { public fun efs(options: EfsVolumeOptions): EfsVolume = - software.amazon.awscdk.services.batch.EcsVolume.efs(options.let(EfsVolumeOptions::unwrap)).let(EfsVolume::wrap) + software.amazon.awscdk.services.batch.EcsVolume.efs(options.let(EfsVolumeOptions.Companion::unwrap)).let(EfsVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9275ffcb192fc3d2a8ef19e2ccbb251879805035fb5b6e25a33d4fb8f155c71b") @@ -68,7 +68,7 @@ public abstract class EcsVolume( efs(EfsVolumeOptions(options)) public fun host(options: HostVolumeOptions): HostVolume = - software.amazon.awscdk.services.batch.EcsVolume.host(options.let(HostVolumeOptions::unwrap)).let(HostVolume::wrap) + software.amazon.awscdk.services.batch.EcsVolume.host(options.let(HostVolumeOptions.Companion::unwrap)).let(HostVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("95ba5d1b24b828eb8450cd58e809325a975ce6934b25a34c881235e47d1fa54d") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolume.kt index 4a156a4009..6ca292be90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolume.kt @@ -41,7 +41,7 @@ public open class EfsVolume( cdkObject: software.amazon.awscdk.services.batch.EfsVolume, ) : EcsVolume(cdkObject) { public constructor(options: EfsVolumeOptions) : - this(software.amazon.awscdk.services.batch.EfsVolume(options.let(EfsVolumeOptions::unwrap)) + this(software.amazon.awscdk.services.batch.EfsVolume(options.let(EfsVolumeOptions.Companion::unwrap)) ) public constructor(options: EfsVolumeOptions.Builder.() -> Unit) : this(EfsVolumeOptions(options) @@ -264,7 +264,7 @@ public open class EfsVolume( * @param fileSystem The EFS File System that supports this volume. */ override fun fileSystem(fileSystem: IFileSystem) { - cdkBuilder.fileSystem(fileSystem.let(IFileSystem::unwrap)) + cdkBuilder.fileSystem(fileSystem.let(IFileSystem.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolumeOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolumeOptions.kt index 8bf2352394..14a62dd96f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolumeOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EfsVolumeOptions.kt @@ -196,7 +196,7 @@ public interface EfsVolumeOptions : EcsVolumeOptions { * @param fileSystem The EFS File System that supports this volume. */ override fun fileSystem(fileSystem: IFileSystem) { - cdkBuilder.fileSystem(fileSystem.let(IFileSystem::unwrap)) + cdkBuilder.fileSystem(fileSystem.let(IFileSystem.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinition.kt index a5b4366610..0d336c9870 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinition.kt @@ -42,8 +42,8 @@ public open class EksContainerDefinition( id: String, props: EksContainerDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.EksContainerDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EksContainerDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.EksContainerDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EksContainerDefinitionProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class EksContainerDefinition( * @param volume */ public override fun addVolume(volume: EksVolume) { - unwrap(this).addVolume(volume.let(EksVolume::unwrap)) + unwrap(this).addVolume(volume.let(EksVolume.Companion::unwrap)) } /** @@ -810,7 +810,7 @@ public open class EksContainerDefinition( * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class EksContainerDefinition( * @param imagePullPolicy The image pull policy for this container. */ override fun imagePullPolicy(imagePullPolicy: ImagePullPolicy) { - cdkBuilder.imagePullPolicy(imagePullPolicy.let(ImagePullPolicy::unwrap)) + cdkBuilder.imagePullPolicy(imagePullPolicy.let(ImagePullPolicy.Companion::unwrap)) } /** @@ -844,7 +844,7 @@ public open class EksContainerDefinition( * @param memoryLimit The amount (in MiB) of memory to present to the container. */ override fun memoryLimit(memoryLimit: Size) { - cdkBuilder.memoryLimit(memoryLimit.let(Size::unwrap)) + cdkBuilder.memoryLimit(memoryLimit.let(Size.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public open class EksContainerDefinition( * @param memoryReservation The soft limit (in MiB) of memory to reserve for the container. */ override fun memoryReservation(memoryReservation: Size) { - cdkBuilder.memoryReservation(memoryReservation.let(Size::unwrap)) + cdkBuilder.memoryReservation(memoryReservation.let(Size.Companion::unwrap)) } /** @@ -990,7 +990,7 @@ public open class EksContainerDefinition( * @param volumes The Volumes to mount to this container. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EksVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EksVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinitionProps.kt index 89f64f6590..95eee09171 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksContainerDefinitionProps.kt @@ -670,14 +670,14 @@ public interface EksContainerDefinitionProps { * @param image The image that this container will run. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param imagePullPolicy The image pull policy for this container. */ override fun imagePullPolicy(imagePullPolicy: ImagePullPolicy) { - cdkBuilder.imagePullPolicy(imagePullPolicy.let(ImagePullPolicy::unwrap)) + cdkBuilder.imagePullPolicy(imagePullPolicy.let(ImagePullPolicy.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public interface EksContainerDefinitionProps { * for the specific instance type that you are using. */ override fun memoryLimit(memoryLimit: Size) { - cdkBuilder.memoryLimit(memoryLimit.let(Size::unwrap)) + cdkBuilder.memoryLimit(memoryLimit.let(Size.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public interface EksContainerDefinitionProps { * for the specific instance type that you are using. */ override fun memoryReservation(memoryReservation: Size) { - cdkBuilder.memoryReservation(memoryReservation.let(Size::unwrap)) + cdkBuilder.memoryReservation(memoryReservation.let(Size.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface EksContainerDefinitionProps { * Automatically added to the Pod. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(EksVolume::unwrap)) + cdkBuilder.volumes(volumes.map(EksVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinition.kt index 6f9d9440bf..3a653f34a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinition.kt @@ -44,8 +44,8 @@ public open class EksJobDefinition( id: String, props: EksJobDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.EksJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EksJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.EksJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EksJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class EksJobDefinition( * @param strategy */ public override fun addRetryStrategy(strategy: RetryStrategy) { - unwrap(this).addRetryStrategy(strategy.let(RetryStrategy::unwrap)) + unwrap(this).addRetryStrategy(strategy.let(RetryStrategy.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class EksJobDefinition( * @param container The container this Job Definition will run. */ override fun container(container: EksContainerDefinition) { - cdkBuilder.container(container.let(EksContainerDefinition::unwrap)) + cdkBuilder.container(container.let(EksContainerDefinition.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class EksJobDefinition( * @param dnsPolicy The DNS Policy of the pod used by this Job Definition. */ override fun dnsPolicy(dnsPolicy: DnsPolicy) { - cdkBuilder.dnsPolicy(dnsPolicy.let(DnsPolicy::unwrap)) + cdkBuilder.dnsPolicy(dnsPolicy.let(DnsPolicy.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class EksJobDefinition( * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class EksJobDefinition( * @param timeout The timeout time for jobs that are submitted with this job definition. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class EksJobDefinition( id: String, eksJobDefinitionArn: String, ): IEksJobDefinition = - software.amazon.awscdk.services.batch.EksJobDefinition.fromEksJobDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.EksJobDefinition.fromEksJobDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, eksJobDefinitionArn).let(IEksJobDefinition::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinitionProps.kt index 7914722945..ac83277743 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksJobDefinitionProps.kt @@ -156,14 +156,14 @@ public interface EksJobDefinitionProps : JobDefinitionProps { * @param container The container this Job Definition will run. */ override fun container(container: EksContainerDefinition) { - cdkBuilder.container(container.let(EksContainerDefinition::unwrap)) + cdkBuilder.container(container.let(EksContainerDefinition.Companion::unwrap)) } /** * @param dnsPolicy The DNS Policy of the pod used by this Job Definition. */ override fun dnsPolicy(dnsPolicy: DnsPolicy) { - cdkBuilder.dnsPolicy(dnsPolicy.let(DnsPolicy::unwrap)) + cdkBuilder.dnsPolicy(dnsPolicy.let(DnsPolicy.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface EksJobDefinitionProps : JobDefinitionProps { * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface EksJobDefinitionProps : JobDefinitionProps { * Batch terminates your jobs if they aren't finished. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksMachineImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksMachineImage.kt index 7bac746618..7bd74790df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksMachineImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksMachineImage.kt @@ -65,14 +65,14 @@ public interface EksMachineImage { * @param image The machine image to use. */ override fun image(image: IMachineImage) { - cdkBuilder.image(image.let(IMachineImage::unwrap)) + cdkBuilder.image(image.let(IMachineImage.Companion::unwrap)) } /** * @param imageType Tells Batch which instance type to launch this image on. */ override fun imageType(imageType: EksMachineImageType) { - cdkBuilder.imageType(imageType.let(EksMachineImageType::unwrap)) + cdkBuilder.imageType(imageType.let(EksMachineImageType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.EksMachineImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksVolume.kt index 9c2edbce30..6f1bc129e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EksVolume.kt @@ -63,7 +63,7 @@ public abstract class EksVolume( public companion object { public fun emptyDir(options: EmptyDirVolumeOptions): EmptyDirVolume = - software.amazon.awscdk.services.batch.EksVolume.emptyDir(options.let(EmptyDirVolumeOptions::unwrap)).let(EmptyDirVolume::wrap) + software.amazon.awscdk.services.batch.EksVolume.emptyDir(options.let(EmptyDirVolumeOptions.Companion::unwrap)).let(EmptyDirVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0ae1832762c3127e0e05d541ea4cba3764c37519105a107aad48b067132a74d4") @@ -71,7 +71,7 @@ public abstract class EksVolume( emptyDir(EmptyDirVolumeOptions(options)) public fun hostPath(options: HostPathVolumeOptions): HostPathVolume = - software.amazon.awscdk.services.batch.EksVolume.hostPath(options.let(HostPathVolumeOptions::unwrap)).let(HostPathVolume::wrap) + software.amazon.awscdk.services.batch.EksVolume.hostPath(options.let(HostPathVolumeOptions.Companion::unwrap)).let(HostPathVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("692a144b01fcc0811c2286d0149b788499597a81b3e35cc359a858dad73286ea") @@ -79,7 +79,7 @@ public abstract class EksVolume( hostPath(HostPathVolumeOptions(options)) public fun secret(options: SecretPathVolumeOptions): SecretPathVolume = - software.amazon.awscdk.services.batch.EksVolume.secret(options.let(SecretPathVolumeOptions::unwrap)).let(SecretPathVolume::wrap) + software.amazon.awscdk.services.batch.EksVolume.secret(options.let(SecretPathVolumeOptions.Companion::unwrap)).let(SecretPathVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9bd0e018010b8d5a5e4df6bae9a74a65f9da8a9df40bd564d76983979797c0b1") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolume.kt index 126ae8d12b..49cc5fa31d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolume.kt @@ -36,7 +36,7 @@ public open class EmptyDirVolume( cdkObject: software.amazon.awscdk.services.batch.EmptyDirVolume, ) : EksVolume(cdkObject) { public constructor(options: EmptyDirVolumeOptions) : - this(software.amazon.awscdk.services.batch.EmptyDirVolume(options.let(EmptyDirVolumeOptions::unwrap)) + this(software.amazon.awscdk.services.batch.EmptyDirVolume(options.let(EmptyDirVolumeOptions.Companion::unwrap)) ) public constructor(options: EmptyDirVolumeOptions.Builder.() -> Unit) : @@ -124,7 +124,7 @@ public open class EmptyDirVolume( * @param medium The storage type to use for this Volume. */ override fun medium(medium: EmptyDirMediumType) { - cdkBuilder.medium(medium.let(EmptyDirMediumType::unwrap)) + cdkBuilder.medium(medium.let(EmptyDirMediumType.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class EmptyDirVolume( * @param sizeLimit The maximum size for this Volume. */ override fun sizeLimit(sizeLimit: Size) { - cdkBuilder.sizeLimit(sizeLimit.let(Size::unwrap)) + cdkBuilder.sizeLimit(sizeLimit.let(Size.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.EmptyDirVolume = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolumeOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolumeOptions.kt index b85d490d59..1913799cdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolumeOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/EmptyDirVolumeOptions.kt @@ -88,7 +88,7 @@ public interface EmptyDirVolumeOptions : EksVolumeOptions { * @param medium The storage type to use for this Volume. */ override fun medium(medium: EmptyDirMediumType) { - cdkBuilder.medium(medium.let(EmptyDirMediumType::unwrap)) + cdkBuilder.medium(medium.let(EmptyDirMediumType.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface EmptyDirVolumeOptions : EksVolumeOptions { * @param sizeLimit The maximum size for this Volume. */ override fun sizeLimit(sizeLimit: Size) { - cdkBuilder.sizeLimit(sizeLimit.let(Size::unwrap)) + cdkBuilder.sizeLimit(sizeLimit.let(Size.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.EmptyDirVolumeOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicy.kt index 9132125c57..84cc8283dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicy.kt @@ -48,7 +48,7 @@ public open class FairshareSchedulingPolicy( cdkObject: software.amazon.awscdk.services.batch.FairshareSchedulingPolicy, ) : Resource(cdkObject), IFairshareSchedulingPolicy, ISchedulingPolicy { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.batch.FairshareSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.batch.FairshareSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class FairshareSchedulingPolicy( id: String, props: FairshareSchedulingPolicyProps, ) : - this(software.amazon.awscdk.services.batch.FairshareSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FairshareSchedulingPolicyProps::unwrap)) + this(software.amazon.awscdk.services.batch.FairshareSchedulingPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FairshareSchedulingPolicyProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class FairshareSchedulingPolicy( * @param share */ public open fun addShare(share: Share) { - unwrap(this).addShare(share.let(Share::unwrap)) + unwrap(this).addShare(share.let(Share.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class FairshareSchedulingPolicy( * @param shareDecay The amount of time to use to measure the usage of each job. */ override fun shareDecay(shareDecay: Duration) { - cdkBuilder.shareDecay(shareDecay.let(Duration::unwrap)) + cdkBuilder.shareDecay(shareDecay.let(Duration.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class FairshareSchedulingPolicy( * @param shares The shares that this Scheduling Policy applies to. */ override fun shares(shares: List) { - cdkBuilder.shares(shares.map(Share::unwrap)) + cdkBuilder.shares(shares.map(Share.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class FairshareSchedulingPolicy( id: String, fairshareSchedulingPolicyArn: String, ): IFairshareSchedulingPolicy = - software.amazon.awscdk.services.batch.FairshareSchedulingPolicy.fromFairshareSchedulingPolicyArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.FairshareSchedulingPolicy.fromFairshareSchedulingPolicyArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, fairshareSchedulingPolicyArn).let(IFairshareSchedulingPolicy::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicyProps.kt index 395a9e726f..37c8fca87a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FairshareSchedulingPolicyProps.kt @@ -175,7 +175,7 @@ public interface FairshareSchedulingPolicyProps { * The maximum supported value is 604800 seconds (1 week). */ override fun shareDecay(shareDecay: Duration) { - cdkBuilder.shareDecay(shareDecay.let(Duration::unwrap)) + cdkBuilder.shareDecay(shareDecay.let(Duration.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface FairshareSchedulingPolicyProps { * are not recognized by the Scheduling Policy. */ override fun shares(shares: List) { - cdkBuilder.shares(shares.map(Share::unwrap)) + cdkBuilder.shares(shares.map(Share.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironment.kt index 475d931bbb..36e3a1f07c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironment.kt @@ -51,8 +51,8 @@ public open class FargateComputeEnvironment( id: String, props: FargateComputeEnvironmentProps, ) : - this(software.amazon.awscdk.services.batch.FargateComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FargateComputeEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.batch.FargateComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FargateComputeEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -470,7 +470,7 @@ public open class FargateComputeEnvironment( * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class FargateComputeEnvironment( * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class FargateComputeEnvironment( * @param updateTimeout Only meaningful if `terminateOnUpdate` is `false`. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class FargateComputeEnvironment( * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class FargateComputeEnvironment( * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public open class FargateComputeEnvironment( id: String, fargateComputeEnvironmentArn: String, ): IFargateComputeEnvironment = - software.amazon.awscdk.services.batch.FargateComputeEnvironment.fromFargateComputeEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.FargateComputeEnvironment.fromFargateComputeEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, fargateComputeEnvironmentArn).let(IFargateComputeEnvironment::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironmentProps.kt index 4216a87e83..0042c1f1a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/FargateComputeEnvironmentProps.kt @@ -229,7 +229,7 @@ public interface FargateComputeEnvironmentProps : ManagedComputeEnvironmentProps * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface FargateComputeEnvironmentProps : ManagedComputeEnvironmentProps * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface FargateComputeEnvironmentProps : ManagedComputeEnvironmentProps * will be allowed to run until `updateTimeout` has expired. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -289,14 +289,14 @@ public interface FargateComputeEnvironmentProps : ManagedComputeEnvironmentProps * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostPathVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostPathVolume.kt index 80dc01b5c3..c7ff719b89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostPathVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostPathVolume.kt @@ -32,7 +32,7 @@ public open class HostPathVolume( cdkObject: software.amazon.awscdk.services.batch.HostPathVolume, ) : EksVolume(cdkObject) { public constructor(options: HostPathVolumeOptions) : - this(software.amazon.awscdk.services.batch.HostPathVolume(options.let(HostPathVolumeOptions::unwrap)) + this(software.amazon.awscdk.services.batch.HostPathVolume(options.let(HostPathVolumeOptions.Companion::unwrap)) ) public constructor(options: HostPathVolumeOptions.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostVolume.kt index 5697c4f503..c77bf8cc25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/HostVolume.kt @@ -34,7 +34,7 @@ public open class HostVolume( cdkObject: software.amazon.awscdk.services.batch.HostVolume, ) : EcsVolume(cdkObject) { public constructor(options: HostVolumeOptions) : - this(software.amazon.awscdk.services.batch.HostVolume(options.let(HostVolumeOptions::unwrap)) + this(software.amazon.awscdk.services.batch.HostVolume(options.let(HostVolumeOptions.Companion::unwrap)) ) public constructor(options: HostVolumeOptions.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IComputeEnvironment.kt index 12b6d7effb..9263e94904 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IComputeEnvironment.kt @@ -69,7 +69,7 @@ public interface IComputeEnvironment : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsContainerDefinition.kt index 4ec84b201d..c119322c84 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsContainerDefinition.kt @@ -143,7 +143,7 @@ public interface IEcsContainerDefinition : IConstruct { * @param volume */ override fun addVolume(volume: EcsVolume) { - unwrap(this).addVolume(volume.let(EcsVolume::unwrap)) + unwrap(this).addVolume(volume.let(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsEc2ContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsEc2ContainerDefinition.kt index c06dde00cf..a4631f4514 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsEc2ContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsEc2ContainerDefinition.kt @@ -69,7 +69,7 @@ public interface IEcsEc2ContainerDefinition : IEcsContainerDefinition { * @param ulimit */ override fun addUlimit(ulimit: Ulimit) { - unwrap(this).addUlimit(ulimit.let(Ulimit::unwrap)) + unwrap(this).addUlimit(ulimit.let(Ulimit.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public interface IEcsEc2ContainerDefinition : IEcsContainerDefinition { * @param volume */ override fun addVolume(volume: EcsVolume) { - unwrap(this).addVolume(volume.let(EcsVolume::unwrap)) + unwrap(this).addVolume(volume.let(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsFargateContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsFargateContainerDefinition.kt index d93c55de00..7bff0737e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsFargateContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEcsFargateContainerDefinition.kt @@ -76,7 +76,7 @@ public interface IEcsFargateContainerDefinition : IEcsContainerDefinition { * @param volume */ override fun addVolume(volume: EcsVolume) { - unwrap(this).addVolume(volume.let(EcsVolume::unwrap)) + unwrap(this).addVolume(volume.let(EcsVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksContainerDefinition.kt index 7e9c2d024e..d7e868a655 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksContainerDefinition.kt @@ -293,7 +293,7 @@ public interface IEksContainerDefinition : IConstruct { * @param volume */ override fun addVolume(volume: EksVolume) { - unwrap(this).addVolume(volume.let(EksVolume::unwrap)) + unwrap(this).addVolume(volume.let(EksVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksJobDefinition.kt index 6a9349d096..614324de5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IEksJobDefinition.kt @@ -68,7 +68,7 @@ public interface IEksJobDefinition : IJobDefinition { * @param strategy */ override fun addRetryStrategy(strategy: RetryStrategy) { - unwrap(this).addRetryStrategy(strategy.let(RetryStrategy::unwrap)) + unwrap(this).addRetryStrategy(strategy.let(RetryStrategy.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public interface IEksJobDefinition : IJobDefinition { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFairshareSchedulingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFairshareSchedulingPolicy.kt index f8af296d82..b5f49a06ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFairshareSchedulingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFairshareSchedulingPolicy.kt @@ -87,7 +87,7 @@ public interface IFairshareSchedulingPolicy : ISchedulingPolicy { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFargateComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFargateComputeEnvironment.kt index 85fc592dff..b036f04252 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFargateComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IFargateComputeEnvironment.kt @@ -40,7 +40,7 @@ public interface IFargateComputeEnvironment : IManagedComputeEnvironment { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobDefinition.kt index 89c5ce0eea..af4e221416 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobDefinition.kt @@ -93,7 +93,7 @@ public interface IJobDefinition : IResource { * @param strategy */ override fun addRetryStrategy(strategy: RetryStrategy) { - unwrap(this).addRetryStrategy(strategy.let(RetryStrategy::unwrap)) + unwrap(this).addRetryStrategy(strategy.let(RetryStrategy.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface IJobDefinition : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobQueue.kt index 3fac202d06..c6196e842d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IJobQueue.kt @@ -100,7 +100,8 @@ public interface IJobQueue : IResource { * @param order */ override fun addComputeEnvironment(computeEnvironment: IComputeEnvironment, order: Number) { - unwrap(this).addComputeEnvironment(computeEnvironment.let(IComputeEnvironment::unwrap), order) + unwrap(this).addComputeEnvironment(computeEnvironment.let(IComputeEnvironment.Companion::unwrap), + order) } /** @@ -117,7 +118,7 @@ public interface IJobQueue : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedComputeEnvironment.kt index 310636c609..9d6c76ad37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedComputeEnvironment.kt @@ -141,7 +141,7 @@ public interface IManagedComputeEnvironment : IComputeEnvironment, IConnectable, * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedEc2EcsComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedEc2EcsComputeEnvironment.kt index f0c0901ff9..0636c56a21 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedEc2EcsComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IManagedEc2EcsComputeEnvironment.kt @@ -164,7 +164,7 @@ public interface IManagedEc2EcsComputeEnvironment : IManagedComputeEnvironment { * @param instanceClass */ override fun addInstanceClass(instanceClass: InstanceClass) { - unwrap(this).addInstanceClass(instanceClass.let(InstanceClass::unwrap)) + unwrap(this).addInstanceClass(instanceClass.let(InstanceClass.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface IManagedEc2EcsComputeEnvironment : IManagedComputeEnvironment { * @param instanceType */ override fun addInstanceType(instanceType: InstanceType) { - unwrap(this).addInstanceType(instanceType.let(InstanceType::unwrap)) + unwrap(this).addInstanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public interface IManagedEc2EcsComputeEnvironment : IManagedComputeEnvironment { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ISchedulingPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ISchedulingPolicy.kt index 685263af1a..6951805da9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ISchedulingPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ISchedulingPolicy.kt @@ -45,7 +45,7 @@ public interface ISchedulingPolicy : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IUnmanagedComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IUnmanagedComputeEnvironment.kt index 8fe5b8bde7..978bb1832d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IUnmanagedComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/IUnmanagedComputeEnvironment.kt @@ -46,7 +46,7 @@ public interface IUnmanagedComputeEnvironment : IComputeEnvironment { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobDefinitionProps.kt index 57cc351877..530843d058 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobDefinitionProps.kt @@ -171,7 +171,7 @@ public interface JobDefinitionProps { * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface JobDefinitionProps { * Batch terminates your jobs if they aren't finished. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.JobDefinitionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueue.kt index ffa687d30b..804a43bc3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueue.kt @@ -46,7 +46,7 @@ public open class JobQueue( cdkObject: software.amazon.awscdk.services.batch.JobQueue, ) : Resource(cdkObject), IJobQueue { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.batch.JobQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.batch.JobQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -55,8 +55,8 @@ public open class JobQueue( id: String, props: JobQueueProps, ) : - this(software.amazon.awscdk.services.batch.JobQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(JobQueueProps::unwrap)) + this(software.amazon.awscdk.services.batch.JobQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(JobQueueProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,8 @@ public open class JobQueue( */ public override fun addComputeEnvironment(computeEnvironment: IComputeEnvironment, order: Number) { - unwrap(this).addComputeEnvironment(computeEnvironment.let(IComputeEnvironment::unwrap), order) + unwrap(this).addComputeEnvironment(computeEnvironment.let(IComputeEnvironment.Companion::unwrap), + order) } /** @@ -269,7 +270,7 @@ public open class JobQueue( * order relative to each other. */ override fun computeEnvironments(computeEnvironments: List) { - cdkBuilder.computeEnvironments(computeEnvironments.map(OrderedComputeEnvironment::unwrap)) + cdkBuilder.computeEnvironments(computeEnvironments.map(OrderedComputeEnvironment.Companion::unwrap)) } /** @@ -351,7 +352,7 @@ public open class JobQueue( * @param schedulingPolicy The SchedulingPolicy for this JobQueue. */ override fun schedulingPolicy(schedulingPolicy: ISchedulingPolicy) { - cdkBuilder.schedulingPolicy(schedulingPolicy.let(ISchedulingPolicy::unwrap)) + cdkBuilder.schedulingPolicy(schedulingPolicy.let(ISchedulingPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.JobQueue = cdkBuilder.build() @@ -363,7 +364,7 @@ public open class JobQueue( id: String, jobQueueArn: String, ): IJobQueue = - software.amazon.awscdk.services.batch.JobQueue.fromJobQueueArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.JobQueue.fromJobQueueArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, jobQueueArn).let(IJobQueue::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueueProps.kt index 6d7e897645..76698e5f3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/JobQueueProps.kt @@ -196,7 +196,7 @@ public interface JobQueueProps { * queue. */ override fun computeEnvironments(computeEnvironments: List) { - cdkBuilder.computeEnvironments(computeEnvironments.map(OrderedComputeEnvironment::unwrap)) + cdkBuilder.computeEnvironments(computeEnvironments.map(OrderedComputeEnvironment.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface JobQueueProps { * Instructs the Scheduler how to schedule different jobs. */ override fun schedulingPolicy(schedulingPolicy: ISchedulingPolicy) { - cdkBuilder.schedulingPolicy(schedulingPolicy.let(ISchedulingPolicy::unwrap)) + cdkBuilder.schedulingPolicy(schedulingPolicy.let(ISchedulingPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.JobQueueProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParameters.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParameters.kt index f767372a60..2fe628159b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParameters.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParameters.kt @@ -36,7 +36,7 @@ public open class LinuxParameters( cdkObject: software.amazon.awscdk.services.batch.LinuxParameters, ) : CloudshiftdevConstructsConstruct(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.batch.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.batch.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class LinuxParameters( id: String, props: LinuxParametersProps, ) : - this(software.amazon.awscdk.services.batch.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LinuxParametersProps::unwrap)) + this(software.amazon.awscdk.services.batch.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LinuxParametersProps.Companion::unwrap)) ) public constructor( @@ -201,7 +201,7 @@ public open class LinuxParameters( * @param maxSwap The total amount of swap memory a container can use. */ override fun maxSwap(maxSwap: Size) { - cdkBuilder.maxSwap(maxSwap.let(Size::unwrap)) + cdkBuilder.maxSwap(maxSwap.let(Size.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class LinuxParameters( * @param sharedMemorySize The value for the size of the /dev/shm volume. */ override fun sharedMemorySize(sharedMemorySize: Size) { - cdkBuilder.sharedMemorySize(sharedMemorySize.let(Size::unwrap)) + cdkBuilder.sharedMemorySize(sharedMemorySize.let(Size.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParametersProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParametersProps.kt index b3e56bb836..e60af8f22a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParametersProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/LinuxParametersProps.kt @@ -137,14 +137,14 @@ public interface LinuxParametersProps { * Accepted values are positive integers. */ override fun maxSwap(maxSwap: Size) { - cdkBuilder.maxSwap(maxSwap.let(Size::unwrap)) + cdkBuilder.maxSwap(maxSwap.let(Size.Companion::unwrap)) } /** * @param sharedMemorySize The value for the size of the /dev/shm volume. */ override fun sharedMemorySize(sharedMemorySize: Size) { - cdkBuilder.sharedMemorySize(sharedMemorySize.let(Size::unwrap)) + cdkBuilder.sharedMemorySize(sharedMemorySize.let(Size.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedComputeEnvironmentProps.kt index c80e4abfde..0552cc8a27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedComputeEnvironmentProps.kt @@ -355,7 +355,7 @@ public interface ManagedComputeEnvironmentProps : ComputeEnvironmentProps { * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface ManagedComputeEnvironmentProps : ComputeEnvironmentProps { * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface ManagedComputeEnvironmentProps : ComputeEnvironmentProps { * will be allowed to run until `updateTimeout` has expired. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -415,14 +415,14 @@ public interface ManagedComputeEnvironmentProps : ComputeEnvironmentProps { * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironment.kt index 9606156d2c..0bc97a1a69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironment.kt @@ -50,8 +50,8 @@ public open class ManagedEc2EcsComputeEnvironment( id: String, props: ManagedEc2EcsComputeEnvironmentProps, ) : - this(software.amazon.awscdk.services.batch.ManagedEc2EcsComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ManagedEc2EcsComputeEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.batch.ManagedEc2EcsComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ManagedEc2EcsComputeEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param instanceClass */ public override fun addInstanceClass(instanceClass: InstanceClass) { - unwrap(this).addInstanceClass(instanceClass.let(InstanceClass::unwrap)) + unwrap(this).addInstanceClass(instanceClass.let(InstanceClass.Companion::unwrap)) } /** @@ -76,7 +76,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param instanceType */ public override fun addInstanceType(instanceType: InstanceType) { - unwrap(this).addInstanceType(instanceType.let(InstanceType::unwrap)) + unwrap(this).addInstanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class ManagedEc2EcsComputeEnvironment( * fitting instance type can be allocated. */ override fun allocationStrategy(allocationStrategy: AllocationStrategy) { - cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy::unwrap)) + cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param images Configure which AMIs this Compute Environment can launch. */ override fun images(images: List) { - cdkBuilder.images(images.map(EcsMachineImage::unwrap)) + cdkBuilder.images(images.map(EcsMachineImage.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param instanceClasses The instance classes that this Compute Environment can launch. */ override fun instanceClasses(instanceClasses: List) { - cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass::unwrap)) + cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public open class ManagedEc2EcsComputeEnvironment( * will use. */ override fun instanceRole(instanceRole: IRole) { - cdkBuilder.instanceRole(instanceRole.let(IRole::unwrap)) + cdkBuilder.instanceRole(instanceRole.let(IRole.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param instanceTypes The instance types that this Compute Environment can launch. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public open class ManagedEc2EcsComputeEnvironment( * EC2 Instances. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param placementGroup The EC2 placement group to associate with your compute resources. */ override fun placementGroup(placementGroup: IPlacementGroup) { - cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup::unwrap)) + cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup.Companion::unwrap)) } /** @@ -908,7 +908,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public open class ManagedEc2EcsComputeEnvironment( * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class ManagedEc2EcsComputeEnvironment( * your behalf. */ override fun spotFleetRole(spotFleetRole: IRole) { - cdkBuilder.spotFleetRole(spotFleetRole.let(IRole::unwrap)) + cdkBuilder.spotFleetRole(spotFleetRole.let(IRole.Companion::unwrap)) } /** @@ -1012,7 +1012,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param updateTimeout Only meaningful if `terminateOnUpdate` is `false`. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -1051,7 +1051,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1062,7 +1062,7 @@ public open class ManagedEc2EcsComputeEnvironment( * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1087,7 +1087,7 @@ public open class ManagedEc2EcsComputeEnvironment( id: String, managedEc2EcsComputeEnvironmentArn: String, ): IManagedEc2EcsComputeEnvironment = - software.amazon.awscdk.services.batch.ManagedEc2EcsComputeEnvironment.fromManagedEc2EcsComputeEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.ManagedEc2EcsComputeEnvironment.fromManagedEc2EcsComputeEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, managedEc2EcsComputeEnvironmentArn).let(IManagedEc2EcsComputeEnvironment::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironmentProps.kt index f0f99f81d4..a6b39b7f18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EcsComputeEnvironmentProps.kt @@ -401,7 +401,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * fitting instance type can be allocated. */ override fun allocationStrategy(allocationStrategy: AllocationStrategy) { - cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy::unwrap)) + cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * join the ComputeEnvironment*. */ override fun images(images: List) { - cdkBuilder.images(images.map(EcsMachineImage::unwrap)) + cdkBuilder.images(images.map(EcsMachineImage.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * Batch will automatically choose the instance size. */ override fun instanceClasses(instanceClasses: List) { - cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass::unwrap)) + cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * will use. */ override fun instanceRole(instanceRole: IRole) { - cdkBuilder.instanceRole(instanceRole.let(IRole::unwrap)) + cdkBuilder.instanceRole(instanceRole.let(IRole.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * Which one is chosen depends on the `AllocationStrategy` used. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * ones on the launch template. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * within a single Availability Zone with high network flow potential. */ override fun placementGroup(placementGroup: IPlacementGroup) { - cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup::unwrap)) + cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * your behalf. */ override fun spotFleetRole(spotFleetRole: IRole) { - cdkBuilder.spotFleetRole(spotFleetRole.let(IRole::unwrap)) + cdkBuilder.spotFleetRole(spotFleetRole.let(IRole.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * will be allowed to run until `updateTimeout` has expired. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -651,14 +651,14 @@ public interface ManagedEc2EcsComputeEnvironmentProps : ManagedComputeEnvironmen * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironment.kt index 5c5a3b821f..81bc8517c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironment.kt @@ -96,8 +96,8 @@ public open class ManagedEc2EksComputeEnvironment( id: String, props: ManagedEc2EksComputeEnvironmentProps, ) : - this(software.amazon.awscdk.services.batch.ManagedEc2EksComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ManagedEc2EksComputeEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.batch.ManagedEc2EksComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ManagedEc2EksComputeEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param instanceClass */ public open fun addInstanceClass(instanceClass: InstanceClass) { - unwrap(this).addInstanceClass(instanceClass.let(InstanceClass::unwrap)) + unwrap(this).addInstanceClass(instanceClass.let(InstanceClass.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param instanceType */ public open fun addInstanceType(instanceType: InstanceType) { - unwrap(this).addInstanceType(instanceType.let(InstanceType::unwrap)) + unwrap(this).addInstanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -743,7 +743,7 @@ public open class ManagedEc2EksComputeEnvironment( * fitting instance type can be allocated. */ override fun allocationStrategy(allocationStrategy: AllocationStrategy) { - cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy::unwrap)) + cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy.Companion::unwrap)) } /** @@ -773,7 +773,7 @@ public open class ManagedEc2EksComputeEnvironment( * Environments running Kubernetes jobs. */ override fun eksCluster(eksCluster: ICluster) { - cdkBuilder.eksCluster(eksCluster.let(ICluster::unwrap)) + cdkBuilder.eksCluster(eksCluster.let(ICluster.Companion::unwrap)) } /** @@ -810,7 +810,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param images Configure which AMIs this Compute Environment can launch. */ override fun images(images: List) { - cdkBuilder.images(images.map(EksMachineImage::unwrap)) + cdkBuilder.images(images.map(EksMachineImage.Companion::unwrap)) } /** @@ -836,7 +836,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param instanceClasses The instance types that this Compute Environment can launch. */ override fun instanceClasses(instanceClasses: List) { - cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass::unwrap)) + cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass.Companion::unwrap)) } /** @@ -861,7 +861,7 @@ public open class ManagedEc2EksComputeEnvironment( * will use. */ override fun instanceRole(instanceRole: IRole) { - cdkBuilder.instanceRole(instanceRole.let(IRole::unwrap)) + cdkBuilder.instanceRole(instanceRole.let(IRole.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param instanceTypes The instance types that this Compute Environment can launch. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -912,7 +912,7 @@ public open class ManagedEc2EksComputeEnvironment( * EC2 Instances. */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -964,7 +964,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param placementGroup The EC2 placement group to associate with your compute resources. */ override fun placementGroup(placementGroup: IPlacementGroup) { - cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup::unwrap)) + cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup.Companion::unwrap)) } /** @@ -1001,7 +1001,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1024,7 +1024,7 @@ public open class ManagedEc2EksComputeEnvironment( * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -1092,7 +1092,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param updateTimeout Only meaningful if `terminateOnUpdate` is `false`. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -1131,7 +1131,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1142,7 +1142,7 @@ public open class ManagedEc2EksComputeEnvironment( * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironmentProps.kt index 6ce81d681a..30365f2577 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/ManagedEc2EksComputeEnvironmentProps.kt @@ -460,7 +460,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * fitting instance type can be allocated. */ override fun allocationStrategy(allocationStrategy: AllocationStrategy) { - cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy::unwrap)) + cdkBuilder.allocationStrategy(allocationStrategy.let(AllocationStrategy.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * compute environment did not stabilize. */ override fun eksCluster(eksCluster: ICluster) { - cdkBuilder.eksCluster(eksCluster.let(ICluster::unwrap)) + cdkBuilder.eksCluster(eksCluster.let(ICluster.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * @param images Configure which AMIs this Compute Environment can launch. */ override fun images(images: List) { - cdkBuilder.images(images.map(EksMachineImage::unwrap)) + cdkBuilder.images(images.map(EksMachineImage.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * Batch will automatically choose the instance size. */ override fun instanceClasses(instanceClasses: List) { - cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass::unwrap)) + cdkBuilder.instanceClasses(instanceClasses.map(InstanceClass.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * will use. */ override fun instanceRole(instanceRole: IRole) { - cdkBuilder.instanceRole(instanceRole.let(IRole::unwrap)) + cdkBuilder.instanceRole(instanceRole.let(IRole.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * Which one is chosen depends on the `AllocationStrategy` used. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * ones on the launch template.** */ override fun launchTemplate(launchTemplate: ILaunchTemplate) { - cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(ILaunchTemplate.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * within a single Availability Zone with high network flow potential. */ override fun placementGroup(placementGroup: IPlacementGroup) { - cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup::unwrap)) + cdkBuilder.placementGroup(placementGroup.let(IPlacementGroup.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * @param securityGroups The security groups this Compute Environment will launch instances in. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -646,7 +646,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * will be allowed to run until `updateTimeout` has expired. */ override fun updateTimeout(updateTimeout: Duration) { - cdkBuilder.updateTimeout(updateTimeout.let(Duration::unwrap)) + cdkBuilder.updateTimeout(updateTimeout.let(Duration.Companion::unwrap)) } /** @@ -716,14 +716,14 @@ public interface ManagedEc2EksComputeEnvironmentProps : ManagedComputeEnvironmen * @param vpc VPC in which this Compute Environment will launch Instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The VPC Subnets this Compute Environment will launch instances in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeContainer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeContainer.kt index fbeada6cab..610f0702ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeContainer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeContainer.kt @@ -91,7 +91,7 @@ public interface MultiNodeContainer { * @param container The container that this node range will run. */ override fun container(container: IEcsContainerDefinition) { - cdkBuilder.container(container.let(IEcsContainerDefinition::unwrap)) + cdkBuilder.container(container.let(IEcsContainerDefinition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinition.kt index 568187dfc1..6b67a6f771 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinition.kt @@ -54,7 +54,7 @@ public open class MultiNodeJobDefinition( cdkObject: software.amazon.awscdk.services.batch.MultiNodeJobDefinition, ) : Resource(cdkObject), IJobDefinition { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.batch.MultiNodeJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.batch.MultiNodeJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -63,8 +63,8 @@ public open class MultiNodeJobDefinition( id: String, props: MultiNodeJobDefinitionProps, ) : - this(software.amazon.awscdk.services.batch.MultiNodeJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(MultiNodeJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.batch.MultiNodeJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(MultiNodeJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class MultiNodeJobDefinition( * @param container */ public open fun addContainer(container: MultiNodeContainer) { - unwrap(this).addContainer(container.let(MultiNodeContainer::unwrap)) + unwrap(this).addContainer(container.let(MultiNodeContainer.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public open class MultiNodeJobDefinition( * @param strategy */ public override fun addRetryStrategy(strategy: RetryStrategy) { - unwrap(this).addRetryStrategy(strategy.let(RetryStrategy::unwrap)) + unwrap(this).addRetryStrategy(strategy.let(RetryStrategy.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class MultiNodeJobDefinition( * @param containers The containers that this multinode job will run. */ override fun containers(containers: List) { - cdkBuilder.containers(containers.map(MultiNodeContainer::unwrap)) + cdkBuilder.containers(containers.map(MultiNodeContainer.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class MultiNodeJobDefinition( * @param instanceType The instance type that this job definition will run. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class MultiNodeJobDefinition( * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class MultiNodeJobDefinition( * @param timeout The timeout time for jobs that are submitted with this job definition. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.MultiNodeJobDefinition = @@ -468,7 +468,7 @@ public open class MultiNodeJobDefinition( id: String, jobDefinitionArn: String, ): IJobDefinition = - software.amazon.awscdk.services.batch.MultiNodeJobDefinition.fromJobDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.MultiNodeJobDefinition.fromJobDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, jobDefinitionArn).let(IJobDefinition::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinitionProps.kt index dde8df5da4..22f5cd9e6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/MultiNodeJobDefinitionProps.kt @@ -165,7 +165,7 @@ public interface MultiNodeJobDefinitionProps : JobDefinitionProps { * @param containers The containers that this multinode job will run. */ override fun containers(containers: List) { - cdkBuilder.containers(containers.map(MultiNodeContainer::unwrap)) + cdkBuilder.containers(containers.map(MultiNodeContainer.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface MultiNodeJobDefinitionProps : JobDefinitionProps { * @param instanceType The instance type that this job definition will run. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface MultiNodeJobDefinitionProps : JobDefinitionProps { * @param retryStrategies Defines the retry behavior for this job. */ override fun retryStrategies(retryStrategies: List) { - cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy::unwrap)) + cdkBuilder.retryStrategies(retryStrategies.map(RetryStrategy.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface MultiNodeJobDefinitionProps : JobDefinitionProps { * Batch terminates your jobs if they aren't finished. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.MultiNodeJobDefinitionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/OrderedComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/OrderedComputeEnvironment.kt index d8705fd483..02945ca7f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/OrderedComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/OrderedComputeEnvironment.kt @@ -61,7 +61,7 @@ public interface OrderedComputeEnvironment { * @param computeEnvironment The ComputeEnvironment to link to this JobQueue. */ override fun computeEnvironment(computeEnvironment: IComputeEnvironment) { - cdkBuilder.computeEnvironment(computeEnvironment.let(IComputeEnvironment::unwrap)) + cdkBuilder.computeEnvironment(computeEnvironment.let(IComputeEnvironment.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Reason.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Reason.kt index a4f9789e09..87224f88f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Reason.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Reason.kt @@ -46,7 +46,7 @@ public open class Reason( Reason.wrap(software.amazon.awscdk.services.batch.Reason.SPOT_INSTANCE_RECLAIMED) public fun custom(customReasonProps: CustomReason): Reason = - software.amazon.awscdk.services.batch.Reason.custom(customReasonProps.let(CustomReason::unwrap)).let(Reason::wrap) + software.amazon.awscdk.services.batch.Reason.custom(customReasonProps.let(CustomReason.Companion::unwrap)).let(Reason::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0480ecfc6e4061fd4538b746d5169cbfc3fa6a0d7d9393c764aba66b5778a9ba") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/RetryStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/RetryStrategy.kt index 4a8cbc56e9..880c0da600 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/RetryStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/RetryStrategy.kt @@ -31,8 +31,8 @@ public open class RetryStrategy( cdkObject: software.amazon.awscdk.services.batch.RetryStrategy, ) : CdkObject(cdkObject) { public constructor(action: Action, on: Reason) : - this(software.amazon.awscdk.services.batch.RetryStrategy(action.let(Action::unwrap), - on.let(Reason::unwrap)) + this(software.amazon.awscdk.services.batch.RetryStrategy(action.let(Action.Companion::unwrap), + on.let(Reason.Companion::unwrap)) ) /** @@ -47,8 +47,8 @@ public open class RetryStrategy( public companion object { public fun of(action: Action, on: Reason): RetryStrategy = - software.amazon.awscdk.services.batch.RetryStrategy.of(action.let(Action::unwrap), - on.let(Reason::unwrap)).let(RetryStrategy::wrap) + software.amazon.awscdk.services.batch.RetryStrategy.of(action.let(Action.Companion::unwrap), + on.let(Reason.Companion::unwrap)).let(RetryStrategy::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.batch.RetryStrategy): RetryStrategy = RetryStrategy(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Secret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Secret.kt index b0bc419a82..007a9ab8e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Secret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Secret.kt @@ -45,7 +45,7 @@ public abstract class Secret( * @param grantee */ public open fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Whether this secret uses a specific JSON field. @@ -58,15 +58,15 @@ public abstract class Secret( public companion object { public fun fromSecretsManager(secret: ISecret): Secret = - software.amazon.awscdk.services.batch.Secret.fromSecretsManager(secret.let(ISecret::unwrap)).let(Secret::wrap) + software.amazon.awscdk.services.batch.Secret.fromSecretsManager(secret.let(ISecret.Companion::unwrap)).let(Secret::wrap) public fun fromSecretsManager(secret: ISecret, `field`: String): Secret = - software.amazon.awscdk.services.batch.Secret.fromSecretsManager(secret.let(ISecret::unwrap), + software.amazon.awscdk.services.batch.Secret.fromSecretsManager(secret.let(ISecret.Companion::unwrap), `field`).let(Secret::wrap) public fun fromSecretsManagerVersion(secret: ISecret, versionInfo: SecretVersionInfo): Secret = - software.amazon.awscdk.services.batch.Secret.fromSecretsManagerVersion(secret.let(ISecret::unwrap), - versionInfo.let(SecretVersionInfo::unwrap)).let(Secret::wrap) + software.amazon.awscdk.services.batch.Secret.fromSecretsManagerVersion(secret.let(ISecret.Companion::unwrap), + versionInfo.let(SecretVersionInfo.Companion::unwrap)).let(Secret::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("966c60368733c7613666a1761208e945ee20d0c452ada822c533e1ebf1a619b5") @@ -79,11 +79,11 @@ public abstract class Secret( versionInfo: SecretVersionInfo, `field`: String, ): Secret = - software.amazon.awscdk.services.batch.Secret.fromSecretsManagerVersion(secret.let(ISecret::unwrap), - versionInfo.let(SecretVersionInfo::unwrap), `field`).let(Secret::wrap) + software.amazon.awscdk.services.batch.Secret.fromSecretsManagerVersion(secret.let(ISecret.Companion::unwrap), + versionInfo.let(SecretVersionInfo.Companion::unwrap), `field`).let(Secret::wrap) public fun fromSsmParameter(parameter: IParameter): Secret = - software.amazon.awscdk.services.batch.Secret.fromSsmParameter(parameter.let(IParameter::unwrap)).let(Secret::wrap) + software.amazon.awscdk.services.batch.Secret.fromSsmParameter(parameter.let(IParameter.Companion::unwrap)).let(Secret::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.batch.Secret): Secret = CdkObjectWrappers.wrap(cdkObject) as? Secret ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/SecretPathVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/SecretPathVolume.kt index 321a11db8f..3b1ff04dab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/SecretPathVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/SecretPathVolume.kt @@ -33,7 +33,7 @@ public open class SecretPathVolume( cdkObject: software.amazon.awscdk.services.batch.SecretPathVolume, ) : EksVolume(cdkObject) { public constructor(options: SecretPathVolumeOptions) : - this(software.amazon.awscdk.services.batch.SecretPathVolume(options.let(SecretPathVolumeOptions::unwrap)) + this(software.amazon.awscdk.services.batch.SecretPathVolume(options.let(SecretPathVolumeOptions.Companion::unwrap)) ) public constructor(options: SecretPathVolumeOptions.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Tmpfs.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Tmpfs.kt index aa81c85be4..4e7490fb6f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Tmpfs.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Tmpfs.kt @@ -98,7 +98,7 @@ public interface Tmpfs { * [TmpfsMountOptions](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Tmpfs.html). */ override fun mountOptions(mountOptions: List) { - cdkBuilder.mountOptions(mountOptions.map(TmpfsMountOption::unwrap)) + cdkBuilder.mountOptions(mountOptions.map(TmpfsMountOption.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface Tmpfs { * @param size The size (in MiB) of the tmpfs volume. */ override fun size(size: Size) { - cdkBuilder.size(size.let(Size::unwrap)) + cdkBuilder.size(size.let(Size.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.batch.Tmpfs = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Ulimit.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Ulimit.kt index 2cbd659247..638df8112f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Ulimit.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/Ulimit.kt @@ -90,7 +90,7 @@ public interface Ulimit { * @param name The resource to limit. */ override fun name(name: UlimitName) { - cdkBuilder.name(name.let(UlimitName::unwrap)) + cdkBuilder.name(name.let(UlimitName.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironment.kt index 9b736ae346..3bbb293359 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironment.kt @@ -36,7 +36,7 @@ public open class UnmanagedComputeEnvironment( cdkObject: software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment, ) : Resource(cdkObject), IUnmanagedComputeEnvironment, IComputeEnvironment { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class UnmanagedComputeEnvironment( id: String, props: UnmanagedComputeEnvironmentProps, ) : - this(software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UnmanagedComputeEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UnmanagedComputeEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -211,7 +211,7 @@ public open class UnmanagedComputeEnvironment( * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class UnmanagedComputeEnvironment( id: String, unmanagedComputeEnvironmentArn: String, ): IUnmanagedComputeEnvironment = - software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment.fromUnmanagedComputeEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.batch.UnmanagedComputeEnvironment.fromUnmanagedComputeEnvironmentArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, unmanagedComputeEnvironmentArn).let(IUnmanagedComputeEnvironment::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironmentProps.kt index 96d6c7362d..2364dc477e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/UnmanagedComputeEnvironmentProps.kt @@ -122,7 +122,7 @@ public interface UnmanagedComputeEnvironmentProps : ComputeEnvironmentProps { * such as provision instances to run your jobs. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExport.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExport.kt index 63912bace6..792d2987ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExport.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExport.kt @@ -96,8 +96,8 @@ public open class CfnExport( id: String, props: CfnExportProps, ) : - this(software.amazon.awscdk.services.bcmdataexports.CfnExport(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnExportProps::unwrap)) + this(software.amazon.awscdk.services.bcmdataexports.CfnExport(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnExportProps.Companion::unwrap)) ) public constructor( @@ -127,14 +127,14 @@ public open class CfnExport( * The details that are available for an export. */ public open fun export(`value`: IResolvable) { - unwrap(this).setExport(`value`.let(IResolvable::unwrap)) + unwrap(this).setExport(`value`.let(IResolvable.Companion::unwrap)) } /** * The details that are available for an export. */ public open fun export(`value`: ExportProperty) { - unwrap(this).setExport(`value`.let(ExportProperty::unwrap)) + unwrap(this).setExport(`value`.let(ExportProperty.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnExport( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnExport( * */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(ResourceTagProperty::unwrap)) + unwrap(this).setTags(`value`.map(ResourceTagProperty.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnExport( * @param export The details that are available for an export. */ override fun export(export: IResolvable) { - cdkBuilder.export(export.let(IResolvable::unwrap)) + cdkBuilder.export(export.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnExport( * @param export The details that are available for an export. */ override fun export(export: ExportProperty) { - cdkBuilder.export(export.let(ExportProperty::unwrap)) + cdkBuilder.export(export.let(ExportProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnExport( * @param tags */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(ResourceTagProperty::unwrap)) + cdkBuilder.tags(tags.map(ResourceTagProperty.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnExport( * @param tableConfigurations The table configuration. */ override fun tableConfigurations(tableConfigurations: IResolvable) { - cdkBuilder.tableConfigurations(tableConfigurations.let(IResolvable::unwrap)) + cdkBuilder.tableConfigurations(tableConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -483,14 +483,14 @@ public open class CfnExport( * @param s3Destination An object that describes the destination of the data exports file. */ override fun s3Destination(s3Destination: IResolvable) { - cdkBuilder.s3Destination(s3Destination.let(IResolvable::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(IResolvable.Companion::unwrap)) } /** * @param s3Destination An object that describes the destination of the data exports file. */ override fun s3Destination(s3Destination: S3DestinationProperty) { - cdkBuilder.s3Destination(s3Destination.let(S3DestinationProperty::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(S3DestinationProperty.Companion::unwrap)) } /** @@ -707,14 +707,14 @@ public open class CfnExport( * @param dataQuery The data query for this specific data export. */ override fun dataQuery(dataQuery: IResolvable) { - cdkBuilder.dataQuery(dataQuery.let(IResolvable::unwrap)) + cdkBuilder.dataQuery(dataQuery.let(IResolvable.Companion::unwrap)) } /** * @param dataQuery The data query for this specific data export. */ override fun dataQuery(dataQuery: DataQueryProperty) { - cdkBuilder.dataQuery(dataQuery.let(DataQueryProperty::unwrap)) + cdkBuilder.dataQuery(dataQuery.let(DataQueryProperty.Companion::unwrap)) } /** @@ -737,7 +737,7 @@ public open class CfnExport( * export. */ override fun destinationConfigurations(destinationConfigurations: IResolvable) { - cdkBuilder.destinationConfigurations(destinationConfigurations.let(IResolvable::unwrap)) + cdkBuilder.destinationConfigurations(destinationConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -746,7 +746,7 @@ public open class CfnExport( */ override fun destinationConfigurations(destinationConfigurations: DestinationConfigurationsProperty) { - cdkBuilder.destinationConfigurations(destinationConfigurations.let(DestinationConfigurationsProperty::unwrap)) + cdkBuilder.destinationConfigurations(destinationConfigurations.let(DestinationConfigurationsProperty.Companion::unwrap)) } /** @@ -778,14 +778,14 @@ public open class CfnExport( * @param refreshCadence The cadence for AWS to update the export in your S3 bucket. */ override fun refreshCadence(refreshCadence: IResolvable) { - cdkBuilder.refreshCadence(refreshCadence.let(IResolvable::unwrap)) + cdkBuilder.refreshCadence(refreshCadence.let(IResolvable.Companion::unwrap)) } /** * @param refreshCadence The cadence for AWS to update the export in your S3 bucket. */ override fun refreshCadence(refreshCadence: RefreshCadenceProperty) { - cdkBuilder.refreshCadence(refreshCadence.let(RefreshCadenceProperty::unwrap)) + cdkBuilder.refreshCadence(refreshCadence.let(RefreshCadenceProperty.Companion::unwrap)) } /** @@ -1170,14 +1170,14 @@ public open class CfnExport( * @param s3OutputConfigurations The output configuration for the data export. */ override fun s3OutputConfigurations(s3OutputConfigurations: IResolvable) { - cdkBuilder.s3OutputConfigurations(s3OutputConfigurations.let(IResolvable::unwrap)) + cdkBuilder.s3OutputConfigurations(s3OutputConfigurations.let(IResolvable.Companion::unwrap)) } /** * @param s3OutputConfigurations The output configuration for the data export. */ override fun s3OutputConfigurations(s3OutputConfigurations: S3OutputConfigurationsProperty) { - cdkBuilder.s3OutputConfigurations(s3OutputConfigurations.let(S3OutputConfigurationsProperty::unwrap)) + cdkBuilder.s3OutputConfigurations(s3OutputConfigurations.let(S3OutputConfigurationsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExportProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExportProps.kt index d4a80f9774..60ab1189f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExportProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bcmdataexports/CfnExportProps.kt @@ -115,14 +115,14 @@ public interface CfnExportProps { * @param export The details that are available for an export. */ override fun export(export: IResolvable) { - cdkBuilder.export(export.let(IResolvable::unwrap)) + cdkBuilder.export(export.let(IResolvable.Companion::unwrap)) } /** * @param export The details that are available for an export. */ override fun export(export: CfnExport.ExportProperty) { - cdkBuilder.export(export.let(CfnExport.ExportProperty::unwrap)) + cdkBuilder.export(export.let(CfnExport.ExportProperty.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface CfnExportProps { * @param tags the value to be set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnExport.ResourceTagProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnExport.ResourceTagProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgent.kt index b480347313..ae27873b63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgent.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgent.kt @@ -101,6 +101,8 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .skipResourceInUseCheckOnDelete(false) * .tags(Map.of( * "tagsKey", "tags")) + * .testAliasTags(Map.of( + * "testAliasTagsKey", "testAliasTags")) * .build(); * ``` * @@ -114,8 +116,8 @@ public open class CfnAgent( id: String, props: CfnAgentProps, ) : - this(software.amazon.awscdk.services.bedrock.CfnAgent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAgentProps::unwrap)) + this(software.amazon.awscdk.services.bedrock.CfnAgent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAgentProps.Companion::unwrap)) ) public constructor( @@ -134,7 +136,7 @@ public open class CfnAgent( * The action groups that belong to an agent. */ public open fun actionGroups(`value`: IResolvable) { - unwrap(this).setActionGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setActionGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +249,7 @@ public open class CfnAgent( * to the agent. */ public open fun autoPrepare(`value`: IResolvable) { - unwrap(this).setAutoPrepare(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoPrepare(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -312,7 +314,7 @@ public open class CfnAgent( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -336,7 +338,7 @@ public open class CfnAgent( * The knowledge bases associated with the agent. */ public open fun knowledgeBases(`value`: IResolvable) { - unwrap(this).setKnowledgeBases(`value`.let(IResolvable::unwrap)) + unwrap(this).setKnowledgeBases(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -361,14 +363,14 @@ public open class CfnAgent( * Contains configurations to override prompt templates in different parts of an agent sequence. */ public open fun promptOverrideConfiguration(`value`: IResolvable) { - unwrap(this).setPromptOverrideConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPromptOverrideConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains configurations to override prompt templates in different parts of an agent sequence. */ public open fun promptOverrideConfiguration(`value`: PromptOverrideConfigurationProperty) { - unwrap(this).setPromptOverrideConfiguration(`value`.let(PromptOverrideConfigurationProperty::unwrap)) + unwrap(this).setPromptOverrideConfiguration(`value`.let(PromptOverrideConfigurationProperty.Companion::unwrap)) } /** @@ -397,7 +399,7 @@ public open class CfnAgent( * Specifies whether to delete the resource even if it's in use. */ public open fun skipResourceInUseCheckOnDelete(`value`: IResolvable) { - unwrap(this).setSkipResourceInUseCheckOnDelete(`value`.let(IResolvable::unwrap)) + unwrap(this).setSkipResourceInUseCheckOnDelete(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -416,6 +418,25 @@ public open class CfnAgent( unwrap(this).setTags(`value`) } + /** + * A map of tag keys and values. + */ + public open fun testAliasTags(): Any? = unwrap(this).getTestAliasTags() + + /** + * A map of tag keys and values. + */ + public open fun testAliasTags(`value`: IResolvable) { + unwrap(this).setTestAliasTags(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * A map of tag keys and values. + */ + public open fun testAliasTags(`value`: Map) { + unwrap(this).setTestAliasTags(`value`) + } + /** * A fluent builder for [io.cloudshiftdev.awscdk.services.bedrock.CfnAgent]. */ @@ -645,6 +666,22 @@ public open class CfnAgent( * information, see the following resources:. */ public fun tags(tags: Map) + + /** + * A map of tag keys and values. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-testaliastags) + * @param testAliasTags A map of tag keys and values. + */ + public fun testAliasTags(testAliasTags: IResolvable) + + /** + * A map of tag keys and values. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-testaliastags) + * @param testAliasTags A map of tag keys and values. + */ + public fun testAliasTags(testAliasTags: Map) } private class BuilderImpl( @@ -661,7 +698,7 @@ public open class CfnAgent( * @param actionGroups The action groups that belong to an agent. */ override fun actionGroups(actionGroups: IResolvable) { - cdkBuilder.actionGroups(actionGroups.let(IResolvable::unwrap)) + cdkBuilder.actionGroups(actionGroups.let(IResolvable.Companion::unwrap)) } /** @@ -735,7 +772,7 @@ public open class CfnAgent( * after making changes to the agent. */ override fun autoPrepare(autoPrepare: IResolvable) { - cdkBuilder.autoPrepare(autoPrepare.let(IResolvable::unwrap)) + cdkBuilder.autoPrepare(autoPrepare.let(IResolvable.Companion::unwrap)) } /** @@ -803,7 +840,7 @@ public open class CfnAgent( * @param knowledgeBases The knowledge bases associated with the agent. */ override fun knowledgeBases(knowledgeBases: IResolvable) { - cdkBuilder.knowledgeBases(knowledgeBases.let(IResolvable::unwrap)) + cdkBuilder.knowledgeBases(knowledgeBases.let(IResolvable.Companion::unwrap)) } /** @@ -836,7 +873,7 @@ public open class CfnAgent( * different parts of an agent sequence. */ override fun promptOverrideConfiguration(promptOverrideConfiguration: IResolvable) { - cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(IResolvable::unwrap)) + cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -851,7 +888,7 @@ public open class CfnAgent( */ override fun promptOverrideConfiguration(promptOverrideConfiguration: PromptOverrideConfigurationProperty) { - cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(PromptOverrideConfigurationProperty::unwrap)) + cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(PromptOverrideConfigurationProperty.Companion::unwrap)) } /** @@ -898,7 +935,7 @@ public open class CfnAgent( * in use. */ override fun skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete: IResolvable) { - cdkBuilder.skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete.let(IResolvable::unwrap)) + cdkBuilder.skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete.let(IResolvable.Companion::unwrap)) } /** @@ -918,6 +955,26 @@ public open class CfnAgent( cdkBuilder.tags(tags) } + /** + * A map of tag keys and values. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-testaliastags) + * @param testAliasTags A map of tag keys and values. + */ + override fun testAliasTags(testAliasTags: IResolvable) { + cdkBuilder.testAliasTags(testAliasTags.let(IResolvable.Companion::unwrap)) + } + + /** + * A map of tag keys and values. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-testaliastags) + * @param testAliasTags A map of tag keys and values. + */ + override fun testAliasTags(testAliasTags: Map) { + cdkBuilder.testAliasTags(testAliasTags) + } + public fun build(): software.amazon.awscdk.services.bedrock.CfnAgent = cdkBuilder.build() } @@ -1049,7 +1106,7 @@ public open class CfnAgent( * schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html) . */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -1059,7 +1116,7 @@ public open class CfnAgent( * schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html) . */ override fun s3(s3: S3IdentifierProperty) { - cdkBuilder.s3(s3.let(S3IdentifierProperty::unwrap)) + cdkBuilder.s3(s3.let(S3IdentifierProperty.Companion::unwrap)) } /** @@ -1414,7 +1471,7 @@ public open class CfnAgent( * the business logic that is carried out upon invoking the action. */ override fun actionGroupExecutor(actionGroupExecutor: IResolvable) { - cdkBuilder.actionGroupExecutor(actionGroupExecutor.let(IResolvable::unwrap)) + cdkBuilder.actionGroupExecutor(actionGroupExecutor.let(IResolvable.Companion::unwrap)) } /** @@ -1422,7 +1479,7 @@ public open class CfnAgent( * the business logic that is carried out upon invoking the action. */ override fun actionGroupExecutor(actionGroupExecutor: ActionGroupExecutorProperty) { - cdkBuilder.actionGroupExecutor(actionGroupExecutor.let(ActionGroupExecutorProperty::unwrap)) + cdkBuilder.actionGroupExecutor(actionGroupExecutor.let(ActionGroupExecutorProperty.Companion::unwrap)) } /** @@ -1459,7 +1516,7 @@ public open class CfnAgent( * schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html) . */ override fun apiSchema(apiSchema: IResolvable) { - cdkBuilder.apiSchema(apiSchema.let(IResolvable::unwrap)) + cdkBuilder.apiSchema(apiSchema.let(IResolvable.Companion::unwrap)) } /** @@ -1469,7 +1526,7 @@ public open class CfnAgent( * schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html) . */ override fun apiSchema(apiSchema: APISchemaProperty) { - cdkBuilder.apiSchema(apiSchema.let(APISchemaProperty::unwrap)) + cdkBuilder.apiSchema(apiSchema.let(APISchemaProperty.Companion::unwrap)) } /** @@ -1520,7 +1577,7 @@ public open class CfnAgent( * By default, this value is `false` . */ override fun skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete: IResolvable) { - cdkBuilder.skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete.let(IResolvable::unwrap)) + cdkBuilder.skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.bedrock.CfnAgent.AgentActionGroupProperty @@ -1771,10 +1828,12 @@ public open class CfnAgent( } /** - * Contains inference parameters to use when the agent invokes a foundation model in the part of - * the agent sequence defined by the `promptType` . + * Specifications about the inference parameters that were provided alongside the prompt. * - * For more information, see [Inference parameters for foundation + * These are specified in the + * [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + * object that was set when the agent was created or updated. For more information, see [Inference + * parameters for foundation * models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) . * * Example: @@ -1797,7 +1856,7 @@ public open class CfnAgent( */ public interface InferenceConfigurationProperty { /** - * The maximum number of tokens to allow in the generated response. + * The maximum number of tokens allowed in the generated response. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-inferenceconfiguration.html#cfn-bedrock-agent-inferenceconfiguration-maximumlength) */ @@ -1854,7 +1913,7 @@ public open class CfnAgent( @CdkDslMarker public interface Builder { /** - * @param maximumLength The maximum number of tokens to allow in the generated response. + * @param maximumLength The maximum number of tokens allowed in the generated response. */ public fun maximumLength(maximumLength: Number) @@ -1906,7 +1965,7 @@ public open class CfnAgent( software.amazon.awscdk.services.bedrock.CfnAgent.InferenceConfigurationProperty.builder() /** - * @param maximumLength The maximum number of tokens to allow in the generated response. + * @param maximumLength The maximum number of tokens allowed in the generated response. */ override fun maximumLength(maximumLength: Number) { cdkBuilder.maximumLength(maximumLength) @@ -1971,7 +2030,7 @@ public open class CfnAgent( cdkObject: software.amazon.awscdk.services.bedrock.CfnAgent.InferenceConfigurationProperty, ) : CdkObject(cdkObject), InferenceConfigurationProperty { /** - * The maximum number of tokens to allow in the generated response. + * The maximum number of tokens allowed in the generated response. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-inferenceconfiguration.html#cfn-bedrock-agent-inferenceconfiguration-maximumlength) */ @@ -2241,7 +2300,7 @@ public open class CfnAgent( * models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) . */ override fun inferenceConfiguration(inferenceConfiguration: IResolvable) { - cdkBuilder.inferenceConfiguration(inferenceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.inferenceConfiguration(inferenceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2251,7 +2310,7 @@ public open class CfnAgent( * models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) . */ override fun inferenceConfiguration(inferenceConfiguration: InferenceConfigurationProperty) { - cdkBuilder.inferenceConfiguration(inferenceConfiguration.let(InferenceConfigurationProperty::unwrap)) + cdkBuilder.inferenceConfiguration(inferenceConfiguration.let(InferenceConfigurationProperty.Companion::unwrap)) } /** @@ -2523,7 +2582,7 @@ public open class CfnAgent( * prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html) . */ override fun promptConfigurations(promptConfigurations: IResolvable) { - cdkBuilder.promptConfigurations(promptConfigurations.let(IResolvable::unwrap)) + cdkBuilder.promptConfigurations(promptConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAlias.kt index 4f522043d4..4591b94d96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAlias.kt @@ -59,8 +59,8 @@ public open class CfnAgentAlias( id: String, props: CfnAgentAliasProps, ) : - this(software.amazon.awscdk.services.bedrock.CfnAgentAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAgentAliasProps::unwrap)) + this(software.amazon.awscdk.services.bedrock.CfnAgentAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAgentAliasProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class CfnAgentAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnAgentAlias( * Contains details about the routing configuration of the alias. */ public open fun routingConfiguration(`value`: IResolvable) { - unwrap(this).setRoutingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoutingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class CfnAgentAlias( * @param routingConfiguration Contains details about the routing configuration of the alias. */ override fun routingConfiguration(routingConfiguration: IResolvable) { - cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnAgentAlias( * alias is associated. */ override fun routingConfiguration(routingConfiguration: IResolvable) { - cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAliasProps.kt index bae431ef46..4085e2d260 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentAliasProps.kt @@ -153,7 +153,7 @@ public interface CfnAgentAliasProps { * @param routingConfiguration Contains details about the routing configuration of the alias. */ override fun routingConfiguration(routingConfiguration: IResolvable) { - cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentProps.kt index 49d39f2970..bd3aa6f1b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnAgentProps.kt @@ -79,6 +79,8 @@ import kotlin.jvm.JvmName * .skipResourceInUseCheckOnDelete(false) * .tags(Map.of( * "tagsKey", "tags")) + * .testAliasTags(Map.of( + * "testAliasTagsKey", "testAliasTags")) * .build(); * ``` * @@ -202,6 +204,13 @@ public interface CfnAgentProps { */ public fun tags(): Map = unwrap(this).getTags() ?: emptyMap() + /** + * A map of tag keys and values. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-testaliastags) + */ + public fun testAliasTags(): Any? = unwrap(this).getTestAliasTags() + /** * A builder for [CfnAgentProps] */ @@ -346,6 +355,16 @@ public interface CfnAgentProps { * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) */ public fun tags(tags: Map) + + /** + * @param testAliasTags A map of tag keys and values. + */ + public fun testAliasTags(testAliasTags: IResolvable) + + /** + * @param testAliasTags A map of tag keys and values. + */ + public fun testAliasTags(testAliasTags: Map) } private class BuilderImpl : Builder { @@ -356,7 +375,7 @@ public interface CfnAgentProps { * @param actionGroups The action groups that belong to an agent. */ override fun actionGroups(actionGroups: IResolvable) { - cdkBuilder.actionGroups(actionGroups.let(IResolvable::unwrap)) + cdkBuilder.actionGroups(actionGroups.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +422,7 @@ public interface CfnAgentProps { * this value is `false` . */ override fun autoPrepare(autoPrepare: IResolvable) { - cdkBuilder.autoPrepare(autoPrepare.let(IResolvable::unwrap)) + cdkBuilder.autoPrepare(autoPrepare.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +470,7 @@ public interface CfnAgentProps { * @param knowledgeBases The knowledge bases associated with the agent. */ override fun knowledgeBases(knowledgeBases: IResolvable) { - cdkBuilder.knowledgeBases(knowledgeBases.let(IResolvable::unwrap)) + cdkBuilder.knowledgeBases(knowledgeBases.let(IResolvable.Companion::unwrap)) } /** @@ -474,7 +493,7 @@ public interface CfnAgentProps { * prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html) . */ override fun promptOverrideConfiguration(promptOverrideConfiguration: IResolvable) { - cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(IResolvable::unwrap)) + cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +504,7 @@ public interface CfnAgentProps { */ override fun promptOverrideConfiguration(promptOverrideConfiguration: CfnAgent.PromptOverrideConfigurationProperty) { - cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(CfnAgent.PromptOverrideConfigurationProperty::unwrap)) + cdkBuilder.promptOverrideConfiguration(promptOverrideConfiguration.let(CfnAgent.PromptOverrideConfigurationProperty.Companion::unwrap)) } /** @@ -516,7 +535,7 @@ public interface CfnAgentProps { * By default, this value is `false` . */ override fun skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete: IResolvable) { - cdkBuilder.skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete.let(IResolvable::unwrap)) + cdkBuilder.skipResourceInUseCheckOnDelete(skipResourceInUseCheckOnDelete.let(IResolvable.Companion::unwrap)) } /** @@ -531,6 +550,20 @@ public interface CfnAgentProps { cdkBuilder.tags(tags) } + /** + * @param testAliasTags A map of tag keys and values. + */ + override fun testAliasTags(testAliasTags: IResolvable) { + cdkBuilder.testAliasTags(testAliasTags.let(IResolvable.Companion::unwrap)) + } + + /** + * @param testAliasTags A map of tag keys and values. + */ + override fun testAliasTags(testAliasTags: Map) { + cdkBuilder.testAliasTags(testAliasTags) + } + public fun build(): software.amazon.awscdk.services.bedrock.CfnAgentProps = cdkBuilder.build() } @@ -653,6 +686,13 @@ public interface CfnAgentProps { * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-tags) */ override fun tags(): Map = unwrap(this).getTags() ?: emptyMap() + + /** + * A map of tag keys and values. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-agent.html#cfn-bedrock-agent-testaliastags) + */ + override fun testAliasTags(): Any? = unwrap(this).getTestAliasTags() } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSource.kt index c1b93499f2..55996e6306 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSource.kt @@ -45,6 +45,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .s3Configuration(S3DataSourceConfigurationProperty.builder() * .bucketArn("bucketArn") * // the properties below are optional + * .bucketOwnerAccountId("bucketOwnerAccountId") * .inclusionPrefixes(List.of("inclusionPrefixes")) * .build()) * .type("type") @@ -52,6 +53,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .knowledgeBaseId("knowledgeBaseId") * .name("name") * // the properties below are optional + * .dataDeletionPolicy("dataDeletionPolicy") * .description("description") * .serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder() * .kmsKeyArn("kmsKeyArn") @@ -79,8 +81,8 @@ public open class CfnDataSource( id: String, props: CfnDataSourceProps, ) : - this(software.amazon.awscdk.services.bedrock.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.bedrock.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSourceProps.Companion::unwrap)) ) public constructor( @@ -109,11 +111,28 @@ public open class CfnDataSource( */ public open fun attrDataSourceStatus(): String = unwrap(this).getAttrDataSourceStatus() + /** + * The detailed reasons on the failure to delete a data source. + */ + public open fun attrFailureReasons(): List = unwrap(this).getAttrFailureReasons() + /** * The time at which the data source was last updated. */ public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + /** + * The data deletion policy for a data source. + */ + public open fun dataDeletionPolicy(): String? = unwrap(this).getDataDeletionPolicy() + + /** + * The data deletion policy for a data source. + */ + public open fun dataDeletionPolicy(`value`: String) { + unwrap(this).setDataDeletionPolicy(`value`) + } + /** * Contains details about how the data source is stored. */ @@ -123,14 +142,14 @@ public open class CfnDataSource( * Contains details about how the data source is stored. */ public open fun dataSourceConfiguration(`value`: IResolvable) { - unwrap(this).setDataSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains details about how the data source is stored. */ public open fun dataSourceConfiguration(`value`: DataSourceConfigurationProperty) { - unwrap(this).setDataSourceConfiguration(`value`.let(DataSourceConfigurationProperty::unwrap)) + unwrap(this).setDataSourceConfiguration(`value`.let(DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -160,7 +179,7 @@ public open class CfnDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,7 +216,7 @@ public open class CfnDataSource( * Contains details about the configuration of the server-side encryption. */ public open fun serverSideEncryptionConfiguration(`value`: IResolvable) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +224,7 @@ public open class CfnDataSource( */ public open fun serverSideEncryptionConfiguration(`value`: ServerSideEncryptionConfigurationProperty) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -227,14 +246,14 @@ public open class CfnDataSource( * Contains details about how to ingest the documents in the data source. */ public open fun vectorIngestionConfiguration(`value`: IResolvable) { - unwrap(this).setVectorIngestionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVectorIngestionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains details about how to ingest the documents in the data source. */ public open fun vectorIngestionConfiguration(`value`: VectorIngestionConfigurationProperty) { - unwrap(this).setVectorIngestionConfiguration(`value`.let(VectorIngestionConfigurationProperty::unwrap)) + unwrap(this).setVectorIngestionConfiguration(`value`.let(VectorIngestionConfigurationProperty.Companion::unwrap)) } /** @@ -251,6 +270,14 @@ public open class CfnDataSource( */ @CdkDslMarker public interface Builder { + /** + * The data deletion policy for a data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy) + * @param dataDeletionPolicy The data deletion policy for a data source. + */ + public fun dataDeletionPolicy(dataDeletionPolicy: String) + /** * Contains details about how the data source is stored. * @@ -373,6 +400,16 @@ public open class CfnDataSource( private val cdkBuilder: software.amazon.awscdk.services.bedrock.CfnDataSource.Builder = software.amazon.awscdk.services.bedrock.CfnDataSource.Builder.create(scope, id) + /** + * The data deletion policy for a data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy) + * @param dataDeletionPolicy The data deletion policy for a data source. + */ + override fun dataDeletionPolicy(dataDeletionPolicy: String) { + cdkBuilder.dataDeletionPolicy(dataDeletionPolicy) + } + /** * Contains details about how the data source is stored. * @@ -380,7 +417,7 @@ public open class CfnDataSource( * @param dataSourceConfiguration Contains details about how the data source is stored. */ override fun dataSourceConfiguration(dataSourceConfiguration: IResolvable) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -390,7 +427,7 @@ public open class CfnDataSource( * @param dataSourceConfiguration Contains details about how the data source is stored. */ override fun dataSourceConfiguration(dataSourceConfiguration: DataSourceConfigurationProperty) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(DataSourceConfigurationProperty::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -444,7 +481,7 @@ public open class CfnDataSource( * server-side encryption. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +493,7 @@ public open class CfnDataSource( */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -481,7 +518,7 @@ public open class CfnDataSource( * data source. */ override fun vectorIngestionConfiguration(vectorIngestionConfiguration: IResolvable) { - cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +530,7 @@ public open class CfnDataSource( */ override fun vectorIngestionConfiguration(vectorIngestionConfiguration: VectorIngestionConfigurationProperty) { - cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(VectorIngestionConfigurationProperty::unwrap)) + cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(VectorIngestionConfigurationProperty.Companion::unwrap)) } /** @@ -660,7 +697,7 @@ public open class CfnDataSource( * If you set the `chunkingStrategy` as `NONE` , exclude this field. */ override fun fixedSizeChunkingConfiguration(fixedSizeChunkingConfiguration: IResolvable) { - cdkBuilder.fixedSizeChunkingConfiguration(fixedSizeChunkingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fixedSizeChunkingConfiguration(fixedSizeChunkingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -670,7 +707,7 @@ public open class CfnDataSource( */ override fun fixedSizeChunkingConfiguration(fixedSizeChunkingConfiguration: FixedSizeChunkingConfigurationProperty) { - cdkBuilder.fixedSizeChunkingConfiguration(fixedSizeChunkingConfiguration.let(FixedSizeChunkingConfigurationProperty::unwrap)) + cdkBuilder.fixedSizeChunkingConfiguration(fixedSizeChunkingConfiguration.let(FixedSizeChunkingConfigurationProperty.Companion::unwrap)) } /** @@ -753,6 +790,7 @@ public open class CfnDataSource( * .s3Configuration(S3DataSourceConfigurationProperty.builder() * .bucketArn("bucketArn") * // the properties below are optional + * .bucketOwnerAccountId("bucketOwnerAccountId") * .inclusionPrefixes(List.of("inclusionPrefixes")) * .build()) * .type("type") @@ -819,7 +857,7 @@ public open class CfnDataSource( * the data source. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** @@ -827,7 +865,7 @@ public open class CfnDataSource( * the data source. */ override fun s3Configuration(s3Configuration: S3DataSourceConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DataSourceConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -1016,6 +1054,7 @@ public open class CfnDataSource( * S3DataSourceConfigurationProperty.builder() * .bucketArn("bucketArn") * // the properties below are optional + * .bucketOwnerAccountId("bucketOwnerAccountId") * .inclusionPrefixes(List.of("inclusionPrefixes")) * .build(); * ``` @@ -1030,6 +1069,13 @@ public open class CfnDataSource( */ public fun bucketArn(): String + /** + * The bucket account owner ID for the S3 bucket. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html#cfn-bedrock-datasource-s3datasourceconfiguration-bucketowneraccountid) + */ + public fun bucketOwnerAccountId(): String? = unwrap(this).getBucketOwnerAccountId() + /** * A list of S3 prefixes that define the object containing the data sources. * @@ -1052,6 +1098,11 @@ public open class CfnDataSource( */ public fun bucketArn(bucketArn: String) + /** + * @param bucketOwnerAccountId The bucket account owner ID for the S3 bucket. + */ + public fun bucketOwnerAccountId(bucketOwnerAccountId: String) + /** * @param inclusionPrefixes A list of S3 prefixes that define the object containing the data * sources. @@ -1083,6 +1134,13 @@ public open class CfnDataSource( cdkBuilder.bucketArn(bucketArn) } + /** + * @param bucketOwnerAccountId The bucket account owner ID for the S3 bucket. + */ + override fun bucketOwnerAccountId(bucketOwnerAccountId: String) { + cdkBuilder.bucketOwnerAccountId(bucketOwnerAccountId) + } + /** * @param inclusionPrefixes A list of S3 prefixes that define the object containing the data * sources. @@ -1117,6 +1175,13 @@ public open class CfnDataSource( */ override fun bucketArn(): String = unwrap(this).getBucketArn() + /** + * The bucket account owner ID for the S3 bucket. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html#cfn-bedrock-datasource-s3datasourceconfiguration-bucketowneraccountid) + */ + override fun bucketOwnerAccountId(): String? = unwrap(this).getBucketOwnerAccountId() + /** * A list of S3 prefixes that define the object containing the data sources. * @@ -1311,7 +1376,7 @@ public open class CfnDataSource( * that it belongs to is queried. */ override fun chunkingConfiguration(chunkingConfiguration: IResolvable) { - cdkBuilder.chunkingConfiguration(chunkingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chunkingConfiguration(chunkingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1320,7 +1385,7 @@ public open class CfnDataSource( * that it belongs to is queried. */ override fun chunkingConfiguration(chunkingConfiguration: ChunkingConfigurationProperty) { - cdkBuilder.chunkingConfiguration(chunkingConfiguration.let(ChunkingConfigurationProperty::unwrap)) + cdkBuilder.chunkingConfiguration(chunkingConfiguration.let(ChunkingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSourceProps.kt index 64f07c0ef1..5a36b1ea4a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnDataSourceProps.kt @@ -25,6 +25,7 @@ import kotlin.jvm.JvmName * .s3Configuration(S3DataSourceConfigurationProperty.builder() * .bucketArn("bucketArn") * // the properties below are optional + * .bucketOwnerAccountId("bucketOwnerAccountId") * .inclusionPrefixes(List.of("inclusionPrefixes")) * .build()) * .type("type") @@ -32,6 +33,7 @@ import kotlin.jvm.JvmName * .knowledgeBaseId("knowledgeBaseId") * .name("name") * // the properties below are optional + * .dataDeletionPolicy("dataDeletionPolicy") * .description("description") * .serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder() * .kmsKeyArn("kmsKeyArn") @@ -52,6 +54,13 @@ import kotlin.jvm.JvmName * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html) */ public interface CfnDataSourceProps { + /** + * The data deletion policy for a data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy) + */ + public fun dataDeletionPolicy(): String? = unwrap(this).getDataDeletionPolicy() + /** * Contains details about how the data source is stored. * @@ -100,6 +109,11 @@ public interface CfnDataSourceProps { */ @CdkDslMarker public interface Builder { + /** + * @param dataDeletionPolicy The data deletion policy for a data source. + */ + public fun dataDeletionPolicy(dataDeletionPolicy: String) + /** * @param dataSourceConfiguration Contains details about how the data source is stored. */ @@ -184,11 +198,18 @@ public interface CfnDataSourceProps { private val cdkBuilder: software.amazon.awscdk.services.bedrock.CfnDataSourceProps.Builder = software.amazon.awscdk.services.bedrock.CfnDataSourceProps.builder() + /** + * @param dataDeletionPolicy The data deletion policy for a data source. + */ + override fun dataDeletionPolicy(dataDeletionPolicy: String) { + cdkBuilder.dataDeletionPolicy(dataDeletionPolicy) + } + /** * @param dataSourceConfiguration Contains details about how the data source is stored. */ override fun dataSourceConfiguration(dataSourceConfiguration: IResolvable) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +217,7 @@ public interface CfnDataSourceProps { */ override fun dataSourceConfiguration(dataSourceConfiguration: CfnDataSource.DataSourceConfigurationProperty) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(CfnDataSource.DataSourceConfigurationProperty::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(CfnDataSource.DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -236,7 +257,7 @@ public interface CfnDataSourceProps { * server-side encryption. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +266,7 @@ public interface CfnDataSourceProps { */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: CfnDataSource.ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnDataSource.ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnDataSource.ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -264,7 +285,7 @@ public interface CfnDataSourceProps { * data source. */ override fun vectorIngestionConfiguration(vectorIngestionConfiguration: IResolvable) { - cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -273,7 +294,7 @@ public interface CfnDataSourceProps { */ override fun vectorIngestionConfiguration(vectorIngestionConfiguration: CfnDataSource.VectorIngestionConfigurationProperty) { - cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(CfnDataSource.VectorIngestionConfigurationProperty::unwrap)) + cdkBuilder.vectorIngestionConfiguration(vectorIngestionConfiguration.let(CfnDataSource.VectorIngestionConfigurationProperty.Companion::unwrap)) } /** @@ -294,6 +315,13 @@ public interface CfnDataSourceProps { private class Wrapper( cdkObject: software.amazon.awscdk.services.bedrock.CfnDataSourceProps, ) : CdkObject(cdkObject), CfnDataSourceProps { + /** + * The data deletion policy for a data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy) + */ + override fun dataDeletionPolicy(): String? = unwrap(this).getDataDeletionPolicy() + /** * Contains details about how the data source is stored. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnGuardrail.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnGuardrail.kt new file mode 100644 index 0000000000..5b08861dc4 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnGuardrail.kt @@ -0,0 +1,2065 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.bedrock + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates a guardrail to block topics and to implement safeguards for your generative AI + * applications. + * + * You can configure denied topics to disallow undesirable topics and content filters to block + * harmful content in model inputs and responses. For more information, see [Guardrails for Amazon + * Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) in the *Amazon + * Bedrock User Guide* + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * CfnGuardrail cfnGuardrail = CfnGuardrail.Builder.create(this, "MyCfnGuardrail") + * .blockedInputMessaging("blockedInputMessaging") + * .blockedOutputsMessaging("blockedOutputsMessaging") + * .name("name") + * // the properties below are optional + * .contentPolicyConfig(ContentPolicyConfigProperty.builder() + * .filtersConfig(List.of(ContentFilterConfigProperty.builder() + * .inputStrength("inputStrength") + * .outputStrength("outputStrength") + * .type("type") + * .build())) + * .build()) + * .description("description") + * .kmsKeyArn("kmsKeyArn") + * .sensitiveInformationPolicyConfig(SensitiveInformationPolicyConfigProperty.builder() + * .piiEntitiesConfig(List.of(PiiEntityConfigProperty.builder() + * .action("action") + * .type("type") + * .build())) + * .regexesConfig(List.of(RegexConfigProperty.builder() + * .action("action") + * .name("name") + * .pattern("pattern") + * // the properties below are optional + * .description("description") + * .build())) + * .build()) + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .topicPolicyConfig(TopicPolicyConfigProperty.builder() + * .topicsConfig(List.of(TopicConfigProperty.builder() + * .definition("definition") + * .name("name") + * .type("type") + * // the properties below are optional + * .examples(List.of("examples")) + * .build())) + * .build()) + * .wordPolicyConfig(WordPolicyConfigProperty.builder() + * .managedWordListsConfig(List.of(ManagedWordsConfigProperty.builder() + * .type("type") + * .build())) + * .wordsConfig(List.of(WordConfigProperty.builder() + * .text("text") + * .build())) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html) + */ +public open class CfnGuardrail( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnGuardrailProps, + ) : + this(software.amazon.awscdk.services.bedrock.CfnGuardrail(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGuardrailProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnGuardrailProps.Builder.() -> Unit, + ) : this(scope, id, CfnGuardrailProps(props) + ) + + /** + * The date and time at which the guardrail was created. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * List of failure recommendations. + */ + public open fun attrFailureRecommendations(): List = + unwrap(this).getAttrFailureRecommendations() + + /** + * The Amazon Resource Name (ARN) of the guardrail. + * + * This a the primary identifier for the guardrail. + */ + public open fun attrGuardrailArn(): String = unwrap(this).getAttrGuardrailArn() + + /** + * The unique identifier of the guardrail. + */ + public open fun attrGuardrailId(): String = unwrap(this).getAttrGuardrailId() + + /** + * Status of the guardrail. + */ + public open fun attrStatus(): String = unwrap(this).getAttrStatus() + + /** + * List of status reasons. + */ + public open fun attrStatusReasons(): List = unwrap(this).getAttrStatusReasons() + + /** + * The date and time at which the guardrail was last updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * The version of the guardrail. + */ + public open fun attrVersion(): String = unwrap(this).getAttrVersion() + + /** + * The message to return when the guardrail blocks a prompt. + */ + public open fun blockedInputMessaging(): String = unwrap(this).getBlockedInputMessaging() + + /** + * The message to return when the guardrail blocks a prompt. + */ + public open fun blockedInputMessaging(`value`: String) { + unwrap(this).setBlockedInputMessaging(`value`) + } + + /** + * The message to return when the guardrail blocks a model response. + */ + public open fun blockedOutputsMessaging(): String = unwrap(this).getBlockedOutputsMessaging() + + /** + * The message to return when the guardrail blocks a model response. + */ + public open fun blockedOutputsMessaging(`value`: String) { + unwrap(this).setBlockedOutputsMessaging(`value`) + } + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Content policy config for a guardrail. + */ + public open fun contentPolicyConfig(): Any? = unwrap(this).getContentPolicyConfig() + + /** + * Content policy config for a guardrail. + */ + public open fun contentPolicyConfig(`value`: IResolvable) { + unwrap(this).setContentPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Content policy config for a guardrail. + */ + public open fun contentPolicyConfig(`value`: ContentPolicyConfigProperty) { + unwrap(this).setContentPolicyConfig(`value`.let(ContentPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Content policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("836bfed449265982733dc263dfc92823bd3a7d91647fe58dfa4d4d249cd0adec") + public open fun contentPolicyConfig(`value`: ContentPolicyConfigProperty.Builder.() -> Unit): Unit + = contentPolicyConfig(ContentPolicyConfigProperty(`value`)) + + /** + * A description of the guardrail. + */ + public open fun description(): String? = unwrap(this).getDescription() + + /** + * A description of the guardrail. + */ + public open fun description(`value`: String) { + unwrap(this).setDescription(`value`) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The ARN of the AWS KMS key used to encrypt the guardrail. + */ + public open fun kmsKeyArn(): String? = unwrap(this).getKmsKeyArn() + + /** + * The ARN of the AWS KMS key used to encrypt the guardrail. + */ + public open fun kmsKeyArn(`value`: String) { + unwrap(this).setKmsKeyArn(`value`) + } + + /** + * The name of the guardrail. + */ + public open fun name(): String = unwrap(this).getName() + + /** + * The name of the guardrail. + */ + public open fun name(`value`: String) { + unwrap(this).setName(`value`) + } + + /** + * Sensitive information policy config for a guardrail. + */ + public open fun sensitiveInformationPolicyConfig(): Any? = + unwrap(this).getSensitiveInformationPolicyConfig() + + /** + * Sensitive information policy config for a guardrail. + */ + public open fun sensitiveInformationPolicyConfig(`value`: IResolvable) { + unwrap(this).setSensitiveInformationPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Sensitive information policy config for a guardrail. + */ + public open + fun sensitiveInformationPolicyConfig(`value`: SensitiveInformationPolicyConfigProperty) { + unwrap(this).setSensitiveInformationPolicyConfig(`value`.let(SensitiveInformationPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Sensitive information policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("1430238e16c96d0407665d530b2092c5eac29b5c0e4bc4ecf11123fa431090e1") + public open + fun sensitiveInformationPolicyConfig(`value`: SensitiveInformationPolicyConfigProperty.Builder.() -> Unit): + Unit = sensitiveInformationPolicyConfig(SensitiveInformationPolicyConfigProperty(`value`)) + + /** + * Metadata that you can assign to a guardrail as key-value pairs. + * + * For more information, see the following resources:. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * Metadata that you can assign to a guardrail as key-value pairs. + * + * For more information, see the following resources:. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * Metadata that you can assign to a guardrail as key-value pairs. + * + * For more information, see the following resources:. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * Topic policy config for a guardrail. + */ + public open fun topicPolicyConfig(): Any? = unwrap(this).getTopicPolicyConfig() + + /** + * Topic policy config for a guardrail. + */ + public open fun topicPolicyConfig(`value`: IResolvable) { + unwrap(this).setTopicPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Topic policy config for a guardrail. + */ + public open fun topicPolicyConfig(`value`: TopicPolicyConfigProperty) { + unwrap(this).setTopicPolicyConfig(`value`.let(TopicPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Topic policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("5ba657d356ea1ca4be58a1680d2ef214d3dd654edaffd6adb93b480342de9c49") + public open fun topicPolicyConfig(`value`: TopicPolicyConfigProperty.Builder.() -> Unit): Unit = + topicPolicyConfig(TopicPolicyConfigProperty(`value`)) + + /** + * Word policy config for a guardrail. + */ + public open fun wordPolicyConfig(): Any? = unwrap(this).getWordPolicyConfig() + + /** + * Word policy config for a guardrail. + */ + public open fun wordPolicyConfig(`value`: IResolvable) { + unwrap(this).setWordPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Word policy config for a guardrail. + */ + public open fun wordPolicyConfig(`value`: WordPolicyConfigProperty) { + unwrap(this).setWordPolicyConfig(`value`.let(WordPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Word policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c7b9126a900a926685b39e9a2a38a8a88ee7b9fe43884e6d9b643e5dc91209fa") + public open fun wordPolicyConfig(`value`: WordPolicyConfigProperty.Builder.() -> Unit): Unit = + wordPolicyConfig(WordPolicyConfigProperty(`value`)) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.bedrock.CfnGuardrail]. + */ + @CdkDslMarker + public interface Builder { + /** + * The message to return when the guardrail blocks a prompt. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedinputmessaging) + * @param blockedInputMessaging The message to return when the guardrail blocks a prompt. + */ + public fun blockedInputMessaging(blockedInputMessaging: String) + + /** + * The message to return when the guardrail blocks a model response. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedoutputsmessaging) + * @param blockedOutputsMessaging The message to return when the guardrail blocks a model + * response. + */ + public fun blockedOutputsMessaging(blockedOutputsMessaging: String) + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + * @param contentPolicyConfig Content policy config for a guardrail. + */ + public fun contentPolicyConfig(contentPolicyConfig: IResolvable) + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + * @param contentPolicyConfig Content policy config for a guardrail. + */ + public fun contentPolicyConfig(contentPolicyConfig: ContentPolicyConfigProperty) + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + * @param contentPolicyConfig Content policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("03b17022fb2875d609f1791da309213d727f5e6080ed6b6bde7b0869ef6ef9b3") + public + fun contentPolicyConfig(contentPolicyConfig: ContentPolicyConfigProperty.Builder.() -> Unit) + + /** + * A description of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-description) + * @param description A description of the guardrail. + */ + public fun description(description: String) + + /** + * The ARN of the AWS KMS key used to encrypt the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-kmskeyarn) + * @param kmsKeyArn The ARN of the AWS KMS key used to encrypt the guardrail. + */ + public fun kmsKeyArn(kmsKeyArn: String) + + /** + * The name of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-name) + * @param name The name of the guardrail. + */ + public fun name(name: String) + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + public fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: IResolvable) + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + public + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: SensitiveInformationPolicyConfigProperty) + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("790c853f6a08ea46769870ce2e94698cc54cf2ded40abbb7b69d3b84141d6ea9") + public + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: SensitiveInformationPolicyConfigProperty.Builder.() -> Unit) + + /** + * Metadata that you can assign to a guardrail as key-value pairs. For more information, see the + * following resources:. + * + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags) + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + */ + public fun tags(tags: List) + + /** + * Metadata that you can assign to a guardrail as key-value pairs. For more information, see the + * following resources:. + * + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags) + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + */ + public fun tags(vararg tags: CfnTag) + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + public fun topicPolicyConfig(topicPolicyConfig: IResolvable) + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + public fun topicPolicyConfig(topicPolicyConfig: TopicPolicyConfigProperty) + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("31939df4bdf47d4ac59ed66a726b769c45a6db1b4bc903f6f5848296ae470c06") + public fun topicPolicyConfig(topicPolicyConfig: TopicPolicyConfigProperty.Builder.() -> Unit) + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + * @param wordPolicyConfig Word policy config for a guardrail. + */ + public fun wordPolicyConfig(wordPolicyConfig: IResolvable) + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + * @param wordPolicyConfig Word policy config for a guardrail. + */ + public fun wordPolicyConfig(wordPolicyConfig: WordPolicyConfigProperty) + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + * @param wordPolicyConfig Word policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fc8cdf4b0b9d898325a9268e16c40ea4ad57171a31bffc49ec90bdc3f7222db5") + public fun wordPolicyConfig(wordPolicyConfig: WordPolicyConfigProperty.Builder.() -> Unit) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.bedrock.CfnGuardrail.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.Builder.create(scope, id) + + /** + * The message to return when the guardrail blocks a prompt. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedinputmessaging) + * @param blockedInputMessaging The message to return when the guardrail blocks a prompt. + */ + override fun blockedInputMessaging(blockedInputMessaging: String) { + cdkBuilder.blockedInputMessaging(blockedInputMessaging) + } + + /** + * The message to return when the guardrail blocks a model response. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedoutputsmessaging) + * @param blockedOutputsMessaging The message to return when the guardrail blocks a model + * response. + */ + override fun blockedOutputsMessaging(blockedOutputsMessaging: String) { + cdkBuilder.blockedOutputsMessaging(blockedOutputsMessaging) + } + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + * @param contentPolicyConfig Content policy config for a guardrail. + */ + override fun contentPolicyConfig(contentPolicyConfig: IResolvable) { + cdkBuilder.contentPolicyConfig(contentPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + * @param contentPolicyConfig Content policy config for a guardrail. + */ + override fun contentPolicyConfig(contentPolicyConfig: ContentPolicyConfigProperty) { + cdkBuilder.contentPolicyConfig(contentPolicyConfig.let(ContentPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + * @param contentPolicyConfig Content policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("03b17022fb2875d609f1791da309213d727f5e6080ed6b6bde7b0869ef6ef9b3") + override + fun contentPolicyConfig(contentPolicyConfig: ContentPolicyConfigProperty.Builder.() -> Unit): + Unit = contentPolicyConfig(ContentPolicyConfigProperty(contentPolicyConfig)) + + /** + * A description of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-description) + * @param description A description of the guardrail. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * The ARN of the AWS KMS key used to encrypt the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-kmskeyarn) + * @param kmsKeyArn The ARN of the AWS KMS key used to encrypt the guardrail. + */ + override fun kmsKeyArn(kmsKeyArn: String) { + cdkBuilder.kmsKeyArn(kmsKeyArn) + } + + /** + * The name of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-name) + * @param name The name of the guardrail. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + override fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: IResolvable) { + cdkBuilder.sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + override + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: SensitiveInformationPolicyConfigProperty) { + cdkBuilder.sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig.let(SensitiveInformationPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("790c853f6a08ea46769870ce2e94698cc54cf2ded40abbb7b69d3b84141d6ea9") + override + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: SensitiveInformationPolicyConfigProperty.Builder.() -> Unit): + Unit = + sensitiveInformationPolicyConfig(SensitiveInformationPolicyConfigProperty(sensitiveInformationPolicyConfig)) + + /** + * Metadata that you can assign to a guardrail as key-value pairs. For more information, see the + * following resources:. + * + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags) + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * Metadata that you can assign to a guardrail as key-value pairs. For more information, see the + * following resources:. + * + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags) + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + override fun topicPolicyConfig(topicPolicyConfig: IResolvable) { + cdkBuilder.topicPolicyConfig(topicPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + override fun topicPolicyConfig(topicPolicyConfig: TopicPolicyConfigProperty) { + cdkBuilder.topicPolicyConfig(topicPolicyConfig.let(TopicPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("31939df4bdf47d4ac59ed66a726b769c45a6db1b4bc903f6f5848296ae470c06") + override fun topicPolicyConfig(topicPolicyConfig: TopicPolicyConfigProperty.Builder.() -> Unit): + Unit = topicPolicyConfig(TopicPolicyConfigProperty(topicPolicyConfig)) + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + * @param wordPolicyConfig Word policy config for a guardrail. + */ + override fun wordPolicyConfig(wordPolicyConfig: IResolvable) { + cdkBuilder.wordPolicyConfig(wordPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + * @param wordPolicyConfig Word policy config for a guardrail. + */ + override fun wordPolicyConfig(wordPolicyConfig: WordPolicyConfigProperty) { + cdkBuilder.wordPolicyConfig(wordPolicyConfig.let(WordPolicyConfigProperty.Companion::unwrap)) + } + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + * @param wordPolicyConfig Word policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fc8cdf4b0b9d898325a9268e16c40ea4ad57171a31bffc49ec90bdc3f7222db5") + override fun wordPolicyConfig(wordPolicyConfig: WordPolicyConfigProperty.Builder.() -> Unit): + Unit = wordPolicyConfig(WordPolicyConfigProperty(wordPolicyConfig)) + + public fun build(): software.amazon.awscdk.services.bedrock.CfnGuardrail = cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.bedrock.CfnGuardrail.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnGuardrail { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnGuardrail(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail): CfnGuardrail + = CfnGuardrail(cdkObject) + + internal fun unwrap(wrapped: CfnGuardrail): software.amazon.awscdk.services.bedrock.CfnGuardrail + = wrapped.cdkObject as software.amazon.awscdk.services.bedrock.CfnGuardrail + } + + /** + * Content filter config in content policy. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * ContentFilterConfigProperty contentFilterConfigProperty = ContentFilterConfigProperty.builder() + * .inputStrength("inputStrength") + * .outputStrength("outputStrength") + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html) + */ + public interface ContentFilterConfigProperty { + /** + * Strength for filters. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputstrength) + */ + public fun inputStrength(): String + + /** + * Strength for filters. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputstrength) + */ + public fun outputStrength(): String + + /** + * Type of filter in content policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-type) + */ + public fun type(): String + + /** + * A builder for [ContentFilterConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param inputStrength Strength for filters. + */ + public fun inputStrength(inputStrength: String) + + /** + * @param outputStrength Strength for filters. + */ + public fun outputStrength(outputStrength: String) + + /** + * @param type Type of filter in content policy. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty.builder() + + /** + * @param inputStrength Strength for filters. + */ + override fun inputStrength(inputStrength: String) { + cdkBuilder.inputStrength(inputStrength) + } + + /** + * @param outputStrength Strength for filters. + */ + override fun outputStrength(outputStrength: String) { + cdkBuilder.outputStrength(outputStrength) + } + + /** + * @param type Type of filter in content policy. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty, + ) : CdkObject(cdkObject), ContentFilterConfigProperty { + /** + * Strength for filters. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputstrength) + */ + override fun inputStrength(): String = unwrap(this).getInputStrength() + + /** + * Strength for filters. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputstrength) + */ + override fun outputStrength(): String = unwrap(this).getOutputStrength() + + /** + * Type of filter in content policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContentFilterConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty): + ContentFilterConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContentFilterConfigProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContentFilterConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty + } + } + + /** + * Content policy config for a guardrail. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * ContentPolicyConfigProperty contentPolicyConfigProperty = ContentPolicyConfigProperty.builder() + * .filtersConfig(List.of(ContentFilterConfigProperty.builder() + * .inputStrength("inputStrength") + * .outputStrength("outputStrength") + * .type("type") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentpolicyconfig.html) + */ + public interface ContentPolicyConfigProperty { + /** + * List of content filter configs in content policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentpolicyconfig.html#cfn-bedrock-guardrail-contentpolicyconfig-filtersconfig) + */ + public fun filtersConfig(): Any + + /** + * A builder for [ContentPolicyConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param filtersConfig List of content filter configs in content policy. + */ + public fun filtersConfig(filtersConfig: IResolvable) + + /** + * @param filtersConfig List of content filter configs in content policy. + */ + public fun filtersConfig(filtersConfig: List) + + /** + * @param filtersConfig List of content filter configs in content policy. + */ + public fun filtersConfig(vararg filtersConfig: Any) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty.builder() + + /** + * @param filtersConfig List of content filter configs in content policy. + */ + override fun filtersConfig(filtersConfig: IResolvable) { + cdkBuilder.filtersConfig(filtersConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param filtersConfig List of content filter configs in content policy. + */ + override fun filtersConfig(filtersConfig: List) { + cdkBuilder.filtersConfig(filtersConfig.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param filtersConfig List of content filter configs in content policy. + */ + override fun filtersConfig(vararg filtersConfig: Any): Unit = + filtersConfig(filtersConfig.toList()) + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty, + ) : CdkObject(cdkObject), ContentPolicyConfigProperty { + /** + * List of content filter configs in content policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentpolicyconfig.html#cfn-bedrock-guardrail-contentpolicyconfig-filtersconfig) + */ + override fun filtersConfig(): Any = unwrap(this).getFiltersConfig() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContentPolicyConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty): + ContentPolicyConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContentPolicyConfigProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContentPolicyConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentPolicyConfigProperty + } + } + + /** + * A managed words config. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * ManagedWordsConfigProperty managedWordsConfigProperty = ManagedWordsConfigProperty.builder() + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-managedwordsconfig.html) + */ + public interface ManagedWordsConfigProperty { + /** + * Options for managed words. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-managedwordsconfig.html#cfn-bedrock-guardrail-managedwordsconfig-type) + */ + public fun type(): String + + /** + * A builder for [ManagedWordsConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param type Options for managed words. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty.builder() + + /** + * @param type Options for managed words. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty, + ) : CdkObject(cdkObject), ManagedWordsConfigProperty { + /** + * Options for managed words. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-managedwordsconfig.html#cfn-bedrock-guardrail-managedwordsconfig-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ManagedWordsConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty): + ManagedWordsConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? + ManagedWordsConfigProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ManagedWordsConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty = (wrapped + as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.ManagedWordsConfigProperty + } + } + + /** + * Pii entity configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * PiiEntityConfigProperty piiEntityConfigProperty = PiiEntityConfigProperty.builder() + * .action("action") + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html) + */ + public interface PiiEntityConfigProperty { + /** + * Options for sensitive information action. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html#cfn-bedrock-guardrail-piientityconfig-action) + */ + public fun action(): String + + /** + * The currently supported PII entities. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html#cfn-bedrock-guardrail-piientityconfig-type) + */ + public fun type(): String + + /** + * A builder for [PiiEntityConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param action Options for sensitive information action. + */ + public fun action(action: String) + + /** + * @param type The currently supported PII entities. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty.builder() + + /** + * @param action Options for sensitive information action. + */ + override fun action(action: String) { + cdkBuilder.action(action) + } + + /** + * @param type The currently supported PII entities. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty, + ) : CdkObject(cdkObject), PiiEntityConfigProperty { + /** + * Options for sensitive information action. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html#cfn-bedrock-guardrail-piientityconfig-action) + */ + override fun action(): String = unwrap(this).getAction() + + /** + * The currently supported PII entities. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html#cfn-bedrock-guardrail-piientityconfig-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): PiiEntityConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty): + PiiEntityConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? PiiEntityConfigProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: PiiEntityConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.PiiEntityConfigProperty + } + } + + /** + * A regex configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * RegexConfigProperty regexConfigProperty = RegexConfigProperty.builder() + * .action("action") + * .name("name") + * .pattern("pattern") + * // the properties below are optional + * .description("description") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html) + */ + public interface RegexConfigProperty { + /** + * Options for sensitive information action. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-action) + */ + public fun action(): String + + /** + * The regex description. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-description) + */ + public fun description(): String? = unwrap(this).getDescription() + + /** + * The regex name. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-name) + */ + public fun name(): String + + /** + * The regex pattern. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-pattern) + */ + public fun pattern(): String + + /** + * A builder for [RegexConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param action Options for sensitive information action. + */ + public fun action(action: String) + + /** + * @param description The regex description. + */ + public fun description(description: String) + + /** + * @param name The regex name. + */ + public fun name(name: String) + + /** + * @param pattern The regex pattern. + */ + public fun pattern(pattern: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty.builder() + + /** + * @param action Options for sensitive information action. + */ + override fun action(action: String) { + cdkBuilder.action(action) + } + + /** + * @param description The regex description. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * @param name The regex name. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param pattern The regex pattern. + */ + override fun pattern(pattern: String) { + cdkBuilder.pattern(pattern) + } + + public fun build(): software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty, + ) : CdkObject(cdkObject), RegexConfigProperty { + /** + * Options for sensitive information action. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-action) + */ + override fun action(): String = unwrap(this).getAction() + + /** + * The regex description. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-description) + */ + override fun description(): String? = unwrap(this).getDescription() + + /** + * The regex name. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * The regex pattern. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-regexconfig.html#cfn-bedrock-guardrail-regexconfig-pattern) + */ + override fun pattern(): String = unwrap(this).getPattern() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): RegexConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty): + RegexConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? RegexConfigProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: RegexConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.RegexConfigProperty + } + } + + /** + * Sensitive information policy config for a guardrail. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * SensitiveInformationPolicyConfigProperty sensitiveInformationPolicyConfigProperty = + * SensitiveInformationPolicyConfigProperty.builder() + * .piiEntitiesConfig(List.of(PiiEntityConfigProperty.builder() + * .action("action") + * .type("type") + * .build())) + * .regexesConfig(List.of(RegexConfigProperty.builder() + * .action("action") + * .name("name") + * .pattern("pattern") + * // the properties below are optional + * .description("description") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationpolicyconfig.html) + */ + public interface SensitiveInformationPolicyConfigProperty { + /** + * List of entities. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationpolicyconfig.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig-piientitiesconfig) + */ + public fun piiEntitiesConfig(): Any? = unwrap(this).getPiiEntitiesConfig() + + /** + * List of regex. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationpolicyconfig.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig-regexesconfig) + */ + public fun regexesConfig(): Any? = unwrap(this).getRegexesConfig() + + /** + * A builder for [SensitiveInformationPolicyConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param piiEntitiesConfig List of entities. + */ + public fun piiEntitiesConfig(piiEntitiesConfig: IResolvable) + + /** + * @param piiEntitiesConfig List of entities. + */ + public fun piiEntitiesConfig(piiEntitiesConfig: List) + + /** + * @param piiEntitiesConfig List of entities. + */ + public fun piiEntitiesConfig(vararg piiEntitiesConfig: Any) + + /** + * @param regexesConfig List of regex. + */ + public fun regexesConfig(regexesConfig: IResolvable) + + /** + * @param regexesConfig List of regex. + */ + public fun regexesConfig(regexesConfig: List) + + /** + * @param regexesConfig List of regex. + */ + public fun regexesConfig(vararg regexesConfig: Any) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty.builder() + + /** + * @param piiEntitiesConfig List of entities. + */ + override fun piiEntitiesConfig(piiEntitiesConfig: IResolvable) { + cdkBuilder.piiEntitiesConfig(piiEntitiesConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param piiEntitiesConfig List of entities. + */ + override fun piiEntitiesConfig(piiEntitiesConfig: List) { + cdkBuilder.piiEntitiesConfig(piiEntitiesConfig.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param piiEntitiesConfig List of entities. + */ + override fun piiEntitiesConfig(vararg piiEntitiesConfig: Any): Unit = + piiEntitiesConfig(piiEntitiesConfig.toList()) + + /** + * @param regexesConfig List of regex. + */ + override fun regexesConfig(regexesConfig: IResolvable) { + cdkBuilder.regexesConfig(regexesConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param regexesConfig List of regex. + */ + override fun regexesConfig(regexesConfig: List) { + cdkBuilder.regexesConfig(regexesConfig.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param regexesConfig List of regex. + */ + override fun regexesConfig(vararg regexesConfig: Any): Unit = + regexesConfig(regexesConfig.toList()) + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty, + ) : CdkObject(cdkObject), SensitiveInformationPolicyConfigProperty { + /** + * List of entities. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationpolicyconfig.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig-piientitiesconfig) + */ + override fun piiEntitiesConfig(): Any? = unwrap(this).getPiiEntitiesConfig() + + /** + * List of regex. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-sensitiveinformationpolicyconfig.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig-regexesconfig) + */ + override fun regexesConfig(): Any? = unwrap(this).getRegexesConfig() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + SensitiveInformationPolicyConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty): + SensitiveInformationPolicyConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? + SensitiveInformationPolicyConfigProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: SensitiveInformationPolicyConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.SensitiveInformationPolicyConfigProperty + } + } + + /** + * Topic config in topic policy. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * TopicConfigProperty topicConfigProperty = TopicConfigProperty.builder() + * .definition("definition") + * .name("name") + * .type("type") + * // the properties below are optional + * .examples(List.of("examples")) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html) + */ + public interface TopicConfigProperty { + /** + * Definition of topic in topic policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-definition) + */ + public fun definition(): String + + /** + * List of text examples. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-examples) + */ + public fun examples(): List = unwrap(this).getExamples() ?: emptyList() + + /** + * Name of topic in topic policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-name) + */ + public fun name(): String + + /** + * Type of topic in a policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-type) + */ + public fun type(): String + + /** + * A builder for [TopicConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param definition Definition of topic in topic policy. + */ + public fun definition(definition: String) + + /** + * @param examples List of text examples. + */ + public fun examples(examples: List) + + /** + * @param examples List of text examples. + */ + public fun examples(vararg examples: String) + + /** + * @param name Name of topic in topic policy. + */ + public fun name(name: String) + + /** + * @param type Type of topic in a policy. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty.builder() + + /** + * @param definition Definition of topic in topic policy. + */ + override fun definition(definition: String) { + cdkBuilder.definition(definition) + } + + /** + * @param examples List of text examples. + */ + override fun examples(examples: List) { + cdkBuilder.examples(examples) + } + + /** + * @param examples List of text examples. + */ + override fun examples(vararg examples: String): Unit = examples(examples.toList()) + + /** + * @param name Name of topic in topic policy. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param type Type of topic in a policy. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty, + ) : CdkObject(cdkObject), TopicConfigProperty { + /** + * Definition of topic in topic policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-definition) + */ + override fun definition(): String = unwrap(this).getDefinition() + + /** + * List of text examples. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-examples) + */ + override fun examples(): List = unwrap(this).getExamples() ?: emptyList() + + /** + * Name of topic in topic policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * Type of topic in a policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): TopicConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty): + TopicConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? TopicConfigProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: TopicConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty + } + } + + /** + * Topic policy config for a guardrail. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * TopicPolicyConfigProperty topicPolicyConfigProperty = TopicPolicyConfigProperty.builder() + * .topicsConfig(List.of(TopicConfigProperty.builder() + * .definition("definition") + * .name("name") + * .type("type") + * // the properties below are optional + * .examples(List.of("examples")) + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html) + */ + public interface TopicPolicyConfigProperty { + /** + * List of topic configs in topic policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html#cfn-bedrock-guardrail-topicpolicyconfig-topicsconfig) + */ + public fun topicsConfig(): Any + + /** + * A builder for [TopicPolicyConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param topicsConfig List of topic configs in topic policy. + */ + public fun topicsConfig(topicsConfig: IResolvable) + + /** + * @param topicsConfig List of topic configs in topic policy. + */ + public fun topicsConfig(topicsConfig: List) + + /** + * @param topicsConfig List of topic configs in topic policy. + */ + public fun topicsConfig(vararg topicsConfig: Any) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty.builder() + + /** + * @param topicsConfig List of topic configs in topic policy. + */ + override fun topicsConfig(topicsConfig: IResolvable) { + cdkBuilder.topicsConfig(topicsConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param topicsConfig List of topic configs in topic policy. + */ + override fun topicsConfig(topicsConfig: List) { + cdkBuilder.topicsConfig(topicsConfig.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param topicsConfig List of topic configs in topic policy. + */ + override fun topicsConfig(vararg topicsConfig: Any): Unit = + topicsConfig(topicsConfig.toList()) + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty, + ) : CdkObject(cdkObject), TopicPolicyConfigProperty { + /** + * List of topic configs in topic policy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html#cfn-bedrock-guardrail-topicpolicyconfig-topicsconfig) + */ + override fun topicsConfig(): Any = unwrap(this).getTopicsConfig() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): TopicPolicyConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty): + TopicPolicyConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? + TopicPolicyConfigProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: TopicPolicyConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty = (wrapped + as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty + } + } + + /** + * A custom word config. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * WordConfigProperty wordConfigProperty = WordConfigProperty.builder() + * .text("text") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordconfig.html) + */ + public interface WordConfigProperty { + /** + * The custom word text. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordconfig.html#cfn-bedrock-guardrail-wordconfig-text) + */ + public fun text(): String + + /** + * A builder for [WordConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param text The custom word text. + */ + public fun text(text: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty.builder() + + /** + * @param text The custom word text. + */ + override fun text(text: String) { + cdkBuilder.text(text) + } + + public fun build(): software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty, + ) : CdkObject(cdkObject), WordConfigProperty { + /** + * The custom word text. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordconfig.html#cfn-bedrock-guardrail-wordconfig-text) + */ + override fun text(): String = unwrap(this).getText() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): WordConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty): + WordConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? WordConfigProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: WordConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty + } + } + + /** + * Word policy config for a guardrail. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * WordPolicyConfigProperty wordPolicyConfigProperty = WordPolicyConfigProperty.builder() + * .managedWordListsConfig(List.of(ManagedWordsConfigProperty.builder() + * .type("type") + * .build())) + * .wordsConfig(List.of(WordConfigProperty.builder() + * .text("text") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordpolicyconfig.html) + */ + public interface WordPolicyConfigProperty { + /** + * A config for the list of managed words. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordpolicyconfig.html#cfn-bedrock-guardrail-wordpolicyconfig-managedwordlistsconfig) + */ + public fun managedWordListsConfig(): Any? = unwrap(this).getManagedWordListsConfig() + + /** + * List of custom word configs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordpolicyconfig.html#cfn-bedrock-guardrail-wordpolicyconfig-wordsconfig) + */ + public fun wordsConfig(): Any? = unwrap(this).getWordsConfig() + + /** + * A builder for [WordPolicyConfigProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param managedWordListsConfig A config for the list of managed words. + */ + public fun managedWordListsConfig(managedWordListsConfig: IResolvable) + + /** + * @param managedWordListsConfig A config for the list of managed words. + */ + public fun managedWordListsConfig(managedWordListsConfig: List) + + /** + * @param managedWordListsConfig A config for the list of managed words. + */ + public fun managedWordListsConfig(vararg managedWordListsConfig: Any) + + /** + * @param wordsConfig List of custom word configs. + */ + public fun wordsConfig(wordsConfig: IResolvable) + + /** + * @param wordsConfig List of custom word configs. + */ + public fun wordsConfig(wordsConfig: List) + + /** + * @param wordsConfig List of custom word configs. + */ + public fun wordsConfig(vararg wordsConfig: Any) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty.builder() + + /** + * @param managedWordListsConfig A config for the list of managed words. + */ + override fun managedWordListsConfig(managedWordListsConfig: IResolvable) { + cdkBuilder.managedWordListsConfig(managedWordListsConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param managedWordListsConfig A config for the list of managed words. + */ + override fun managedWordListsConfig(managedWordListsConfig: List) { + cdkBuilder.managedWordListsConfig(managedWordListsConfig.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param managedWordListsConfig A config for the list of managed words. + */ + override fun managedWordListsConfig(vararg managedWordListsConfig: Any): Unit = + managedWordListsConfig(managedWordListsConfig.toList()) + + /** + * @param wordsConfig List of custom word configs. + */ + override fun wordsConfig(wordsConfig: IResolvable) { + cdkBuilder.wordsConfig(wordsConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param wordsConfig List of custom word configs. + */ + override fun wordsConfig(wordsConfig: List) { + cdkBuilder.wordsConfig(wordsConfig.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param wordsConfig List of custom word configs. + */ + override fun wordsConfig(vararg wordsConfig: Any): Unit = wordsConfig(wordsConfig.toList()) + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty, + ) : CdkObject(cdkObject), WordPolicyConfigProperty { + /** + * A config for the list of managed words. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordpolicyconfig.html#cfn-bedrock-guardrail-wordpolicyconfig-managedwordlistsconfig) + */ + override fun managedWordListsConfig(): Any? = unwrap(this).getManagedWordListsConfig() + + /** + * List of custom word configs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-wordpolicyconfig.html#cfn-bedrock-guardrail-wordpolicyconfig-wordsconfig) + */ + override fun wordsConfig(): Any? = unwrap(this).getWordsConfig() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): WordPolicyConfigProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty): + WordPolicyConfigProperty = CdkObjectWrappers.wrap(cdkObject) as? WordPolicyConfigProperty + ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WordPolicyConfigProperty): + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty = (wrapped + as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnGuardrail.WordPolicyConfigProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnGuardrailProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnGuardrailProps.kt new file mode 100644 index 0000000000..a8e244333a --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnGuardrailProps.kt @@ -0,0 +1,537 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.bedrock + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnGuardrail`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * CfnGuardrailProps cfnGuardrailProps = CfnGuardrailProps.builder() + * .blockedInputMessaging("blockedInputMessaging") + * .blockedOutputsMessaging("blockedOutputsMessaging") + * .name("name") + * // the properties below are optional + * .contentPolicyConfig(ContentPolicyConfigProperty.builder() + * .filtersConfig(List.of(ContentFilterConfigProperty.builder() + * .inputStrength("inputStrength") + * .outputStrength("outputStrength") + * .type("type") + * .build())) + * .build()) + * .description("description") + * .kmsKeyArn("kmsKeyArn") + * .sensitiveInformationPolicyConfig(SensitiveInformationPolicyConfigProperty.builder() + * .piiEntitiesConfig(List.of(PiiEntityConfigProperty.builder() + * .action("action") + * .type("type") + * .build())) + * .regexesConfig(List.of(RegexConfigProperty.builder() + * .action("action") + * .name("name") + * .pattern("pattern") + * // the properties below are optional + * .description("description") + * .build())) + * .build()) + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .topicPolicyConfig(TopicPolicyConfigProperty.builder() + * .topicsConfig(List.of(TopicConfigProperty.builder() + * .definition("definition") + * .name("name") + * .type("type") + * // the properties below are optional + * .examples(List.of("examples")) + * .build())) + * .build()) + * .wordPolicyConfig(WordPolicyConfigProperty.builder() + * .managedWordListsConfig(List.of(ManagedWordsConfigProperty.builder() + * .type("type") + * .build())) + * .wordsConfig(List.of(WordConfigProperty.builder() + * .text("text") + * .build())) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html) + */ +public interface CfnGuardrailProps { + /** + * The message to return when the guardrail blocks a prompt. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedinputmessaging) + */ + public fun blockedInputMessaging(): String + + /** + * The message to return when the guardrail blocks a model response. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedoutputsmessaging) + */ + public fun blockedOutputsMessaging(): String + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + */ + public fun contentPolicyConfig(): Any? = unwrap(this).getContentPolicyConfig() + + /** + * A description of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-description) + */ + public fun description(): String? = unwrap(this).getDescription() + + /** + * The ARN of the AWS KMS key used to encrypt the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-kmskeyarn) + */ + public fun kmsKeyArn(): String? = unwrap(this).getKmsKeyArn() + + /** + * The name of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-name) + */ + public fun name(): String + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + */ + public fun sensitiveInformationPolicyConfig(): Any? = + unwrap(this).getSensitiveInformationPolicyConfig() + + /** + * Metadata that you can assign to a guardrail as key-value pairs. For more information, see the + * following resources:. + * + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + */ + public fun topicPolicyConfig(): Any? = unwrap(this).getTopicPolicyConfig() + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + */ + public fun wordPolicyConfig(): Any? = unwrap(this).getWordPolicyConfig() + + /** + * A builder for [CfnGuardrailProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param blockedInputMessaging The message to return when the guardrail blocks a prompt. + */ + public fun blockedInputMessaging(blockedInputMessaging: String) + + /** + * @param blockedOutputsMessaging The message to return when the guardrail blocks a model + * response. + */ + public fun blockedOutputsMessaging(blockedOutputsMessaging: String) + + /** + * @param contentPolicyConfig Content policy config for a guardrail. + */ + public fun contentPolicyConfig(contentPolicyConfig: IResolvable) + + /** + * @param contentPolicyConfig Content policy config for a guardrail. + */ + public fun contentPolicyConfig(contentPolicyConfig: CfnGuardrail.ContentPolicyConfigProperty) + + /** + * @param contentPolicyConfig Content policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("19815e8cf27c365dd7acbd9be8297ec6895dc93c9b34a926909bf6655b7c33c5") + public + fun contentPolicyConfig(contentPolicyConfig: CfnGuardrail.ContentPolicyConfigProperty.Builder.() -> Unit) + + /** + * @param description A description of the guardrail. + */ + public fun description(description: String) + + /** + * @param kmsKeyArn The ARN of the AWS KMS key used to encrypt the guardrail. + */ + public fun kmsKeyArn(kmsKeyArn: String) + + /** + * @param name The name of the guardrail. + */ + public fun name(name: String) + + /** + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + public fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: IResolvable) + + /** + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + public + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: CfnGuardrail.SensitiveInformationPolicyConfigProperty) + + /** + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("1765821b1324a8bdfa728ab15a49281c39381141ae1e0273c5af259dc9024bfb") + public + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder.() -> Unit) + + /** + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + */ + public fun tags(tags: List) + + /** + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + public fun topicPolicyConfig(topicPolicyConfig: IResolvable) + + /** + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + public fun topicPolicyConfig(topicPolicyConfig: CfnGuardrail.TopicPolicyConfigProperty) + + /** + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f85221bfe449356beba2aab06bf7dcc9a622f38a9cac8373194669d0739ea42c") + public + fun topicPolicyConfig(topicPolicyConfig: CfnGuardrail.TopicPolicyConfigProperty.Builder.() -> Unit) + + /** + * @param wordPolicyConfig Word policy config for a guardrail. + */ + public fun wordPolicyConfig(wordPolicyConfig: IResolvable) + + /** + * @param wordPolicyConfig Word policy config for a guardrail. + */ + public fun wordPolicyConfig(wordPolicyConfig: CfnGuardrail.WordPolicyConfigProperty) + + /** + * @param wordPolicyConfig Word policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7563028a04f12c14dbc0898cb326fc098049ccd11d81aad99acf0e4a94f39bbb") + public + fun wordPolicyConfig(wordPolicyConfig: CfnGuardrail.WordPolicyConfigProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.bedrock.CfnGuardrailProps.Builder = + software.amazon.awscdk.services.bedrock.CfnGuardrailProps.builder() + + /** + * @param blockedInputMessaging The message to return when the guardrail blocks a prompt. + */ + override fun blockedInputMessaging(blockedInputMessaging: String) { + cdkBuilder.blockedInputMessaging(blockedInputMessaging) + } + + /** + * @param blockedOutputsMessaging The message to return when the guardrail blocks a model + * response. + */ + override fun blockedOutputsMessaging(blockedOutputsMessaging: String) { + cdkBuilder.blockedOutputsMessaging(blockedOutputsMessaging) + } + + /** + * @param contentPolicyConfig Content policy config for a guardrail. + */ + override fun contentPolicyConfig(contentPolicyConfig: IResolvable) { + cdkBuilder.contentPolicyConfig(contentPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param contentPolicyConfig Content policy config for a guardrail. + */ + override + fun contentPolicyConfig(contentPolicyConfig: CfnGuardrail.ContentPolicyConfigProperty) { + cdkBuilder.contentPolicyConfig(contentPolicyConfig.let(CfnGuardrail.ContentPolicyConfigProperty.Companion::unwrap)) + } + + /** + * @param contentPolicyConfig Content policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("19815e8cf27c365dd7acbd9be8297ec6895dc93c9b34a926909bf6655b7c33c5") + override + fun contentPolicyConfig(contentPolicyConfig: CfnGuardrail.ContentPolicyConfigProperty.Builder.() -> Unit): + Unit = contentPolicyConfig(CfnGuardrail.ContentPolicyConfigProperty(contentPolicyConfig)) + + /** + * @param description A description of the guardrail. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * @param kmsKeyArn The ARN of the AWS KMS key used to encrypt the guardrail. + */ + override fun kmsKeyArn(kmsKeyArn: String) { + cdkBuilder.kmsKeyArn(kmsKeyArn) + } + + /** + * @param name The name of the guardrail. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + override fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: IResolvable) { + cdkBuilder.sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + override + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: CfnGuardrail.SensitiveInformationPolicyConfigProperty) { + cdkBuilder.sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig.let(CfnGuardrail.SensitiveInformationPolicyConfigProperty.Companion::unwrap)) + } + + /** + * @param sensitiveInformationPolicyConfig Sensitive information policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("1765821b1324a8bdfa728ab15a49281c39381141ae1e0273c5af259dc9024bfb") + override + fun sensitiveInformationPolicyConfig(sensitiveInformationPolicyConfig: CfnGuardrail.SensitiveInformationPolicyConfigProperty.Builder.() -> Unit): + Unit = + sensitiveInformationPolicyConfig(CfnGuardrail.SensitiveInformationPolicyConfigProperty(sensitiveInformationPolicyConfig)) + + /** + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags Metadata that you can assign to a guardrail as key-value pairs. For more + * information, see the following resources:. + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + override fun topicPolicyConfig(topicPolicyConfig: IResolvable) { + cdkBuilder.topicPolicyConfig(topicPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + override fun topicPolicyConfig(topicPolicyConfig: CfnGuardrail.TopicPolicyConfigProperty) { + cdkBuilder.topicPolicyConfig(topicPolicyConfig.let(CfnGuardrail.TopicPolicyConfigProperty.Companion::unwrap)) + } + + /** + * @param topicPolicyConfig Topic policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f85221bfe449356beba2aab06bf7dcc9a622f38a9cac8373194669d0739ea42c") + override + fun topicPolicyConfig(topicPolicyConfig: CfnGuardrail.TopicPolicyConfigProperty.Builder.() -> Unit): + Unit = topicPolicyConfig(CfnGuardrail.TopicPolicyConfigProperty(topicPolicyConfig)) + + /** + * @param wordPolicyConfig Word policy config for a guardrail. + */ + override fun wordPolicyConfig(wordPolicyConfig: IResolvable) { + cdkBuilder.wordPolicyConfig(wordPolicyConfig.let(IResolvable.Companion::unwrap)) + } + + /** + * @param wordPolicyConfig Word policy config for a guardrail. + */ + override fun wordPolicyConfig(wordPolicyConfig: CfnGuardrail.WordPolicyConfigProperty) { + cdkBuilder.wordPolicyConfig(wordPolicyConfig.let(CfnGuardrail.WordPolicyConfigProperty.Companion::unwrap)) + } + + /** + * @param wordPolicyConfig Word policy config for a guardrail. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7563028a04f12c14dbc0898cb326fc098049ccd11d81aad99acf0e4a94f39bbb") + override + fun wordPolicyConfig(wordPolicyConfig: CfnGuardrail.WordPolicyConfigProperty.Builder.() -> Unit): + Unit = wordPolicyConfig(CfnGuardrail.WordPolicyConfigProperty(wordPolicyConfig)) + + public fun build(): software.amazon.awscdk.services.bedrock.CfnGuardrailProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrailProps, + ) : CdkObject(cdkObject), CfnGuardrailProps { + /** + * The message to return when the guardrail blocks a prompt. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedinputmessaging) + */ + override fun blockedInputMessaging(): String = unwrap(this).getBlockedInputMessaging() + + /** + * The message to return when the guardrail blocks a model response. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-blockedoutputsmessaging) + */ + override fun blockedOutputsMessaging(): String = unwrap(this).getBlockedOutputsMessaging() + + /** + * Content policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contentpolicyconfig) + */ + override fun contentPolicyConfig(): Any? = unwrap(this).getContentPolicyConfig() + + /** + * A description of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-description) + */ + override fun description(): String? = unwrap(this).getDescription() + + /** + * The ARN of the AWS KMS key used to encrypt the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-kmskeyarn) + */ + override fun kmsKeyArn(): String? = unwrap(this).getKmsKeyArn() + + /** + * The name of the guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * Sensitive information policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-sensitiveinformationpolicyconfig) + */ + override fun sensitiveInformationPolicyConfig(): Any? = + unwrap(this).getSensitiveInformationPolicyConfig() + + /** + * Metadata that you can assign to a guardrail as key-value pairs. For more information, see the + * following resources:. + * + * * [Tag naming limits and + * requirements](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions) + * * [Tagging best + * practices](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-best-practices) + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * Topic policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-topicpolicyconfig) + */ + override fun topicPolicyConfig(): Any? = unwrap(this).getTopicPolicyConfig() + + /** + * Word policy config for a guardrail. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-wordpolicyconfig) + */ + override fun wordPolicyConfig(): Any? = unwrap(this).getWordPolicyConfig() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnGuardrailProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnGuardrailProps): + CfnGuardrailProps = CdkObjectWrappers.wrap(cdkObject) as? CfnGuardrailProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnGuardrailProps): + software.amazon.awscdk.services.bedrock.CfnGuardrailProps = (wrapped as CdkObject).cdkObject + as software.amazon.awscdk.services.bedrock.CfnGuardrailProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBase.kt index b643716120..7055f7634e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBase.kt @@ -59,6 +59,41 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .build()) * .name("name") * .roleArn("roleArn") + * .storageConfiguration(StorageConfigurationProperty.builder() + * .type("type") + * // the properties below are optional + * .opensearchServerlessConfiguration(OpenSearchServerlessConfigurationProperty.builder() + * .collectionArn("collectionArn") + * .fieldMapping(OpenSearchServerlessFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .vectorIndexName("vectorIndexName") + * .build()) + * .pineconeConfiguration(PineconeConfigurationProperty.builder() + * .connectionString("connectionString") + * .credentialsSecretArn("credentialsSecretArn") + * .fieldMapping(PineconeFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .build()) + * // the properties below are optional + * .namespace("namespace") + * .build()) + * .rdsConfiguration(RdsConfigurationProperty.builder() + * .credentialsSecretArn("credentialsSecretArn") + * .databaseName("databaseName") + * .fieldMapping(RdsFieldMappingProperty.builder() + * .metadataField("metadataField") + * .primaryKeyField("primaryKeyField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .resourceArn("resourceArn") + * .tableName("tableName") + * .build()) + * .build()) * // the properties below are optional * .description("description") * .tags(Map.of( @@ -76,8 +111,8 @@ public open class CfnKnowledgeBase( id: String, props: CfnKnowledgeBaseProps, ) : - this(software.amazon.awscdk.services.bedrock.CfnKnowledgeBase(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKnowledgeBaseProps::unwrap)) + this(software.amazon.awscdk.services.bedrock.CfnKnowledgeBase(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKnowledgeBaseProps.Companion::unwrap)) ) public constructor( @@ -141,7 +176,7 @@ public open class CfnKnowledgeBase( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,14 +188,14 @@ public open class CfnKnowledgeBase( * Contains details about the embeddings configuration of the knowledge base. */ public open fun knowledgeBaseConfiguration(`value`: IResolvable) { - unwrap(this).setKnowledgeBaseConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setKnowledgeBaseConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains details about the embeddings configuration of the knowledge base. */ public open fun knowledgeBaseConfiguration(`value`: KnowledgeBaseConfigurationProperty) { - unwrap(this).setKnowledgeBaseConfiguration(`value`.let(KnowledgeBaseConfigurationProperty::unwrap)) + unwrap(this).setKnowledgeBaseConfiguration(`value`.let(KnowledgeBaseConfigurationProperty.Companion::unwrap)) } /** @@ -198,6 +233,33 @@ public open class CfnKnowledgeBase( unwrap(this).setRoleArn(`value`) } + /** + * Contains details about the storage configuration of the knowledge base. + */ + public open fun storageConfiguration(): Any = unwrap(this).getStorageConfiguration() + + /** + * Contains details about the storage configuration of the knowledge base. + */ + public open fun storageConfiguration(`value`: IResolvable) { + unwrap(this).setStorageConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Contains details about the storage configuration of the knowledge base. + */ + public open fun storageConfiguration(`value`: StorageConfigurationProperty) { + unwrap(this).setStorageConfiguration(`value`.let(StorageConfigurationProperty.Companion::unwrap)) + } + + /** + * Contains details about the storage configuration of the knowledge base. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("4527c78dd25dbb2dcd971fd51d54f2eb5157cadc320a92f88d2736379c0fc4ee") + public open fun storageConfiguration(`value`: StorageConfigurationProperty.Builder.() -> Unit): + Unit = storageConfiguration(StorageConfigurationProperty(`value`)) + /** * Metadata that you can assign to a resource as key-value pairs. * @@ -276,6 +338,36 @@ public open class CfnKnowledgeBase( */ public fun roleArn(roleArn: String) + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + public fun storageConfiguration(storageConfiguration: IResolvable) + + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + public fun storageConfiguration(storageConfiguration: StorageConfigurationProperty) + + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b8b5f130ccb5166c35b1122274e227f33658a3c8ab9e144fa73149a3df603ce0") + public + fun storageConfiguration(storageConfiguration: StorageConfigurationProperty.Builder.() -> Unit) + /** * Metadata that you can assign to a resource as key-value pairs. For more information, see the * following resources:. @@ -317,7 +409,7 @@ public open class CfnKnowledgeBase( * knowledge base. */ override fun knowledgeBaseConfiguration(knowledgeBaseConfiguration: IResolvable) { - cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -329,7 +421,7 @@ public open class CfnKnowledgeBase( */ override fun knowledgeBaseConfiguration(knowledgeBaseConfiguration: KnowledgeBaseConfigurationProperty) { - cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(KnowledgeBaseConfigurationProperty::unwrap)) + cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(KnowledgeBaseConfigurationProperty.Companion::unwrap)) } /** @@ -368,6 +460,41 @@ public open class CfnKnowledgeBase( cdkBuilder.roleArn(roleArn) } + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + override fun storageConfiguration(storageConfiguration: IResolvable) { + cdkBuilder.storageConfiguration(storageConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + override fun storageConfiguration(storageConfiguration: StorageConfigurationProperty) { + cdkBuilder.storageConfiguration(storageConfiguration.let(StorageConfigurationProperty.Companion::unwrap)) + } + + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b8b5f130ccb5166c35b1122274e227f33658a3c8ab9e144fa73149a3df603ce0") + override + fun storageConfiguration(storageConfiguration: StorageConfigurationProperty.Builder.() -> Unit): + Unit = storageConfiguration(StorageConfigurationProperty(storageConfiguration)) + /** * Metadata that you can assign to a resource as key-value pairs. For more information, see the * following resources:. @@ -498,7 +625,7 @@ public open class CfnKnowledgeBase( * that'sused to convert the data source. */ override fun vectorKnowledgeBaseConfiguration(vectorKnowledgeBaseConfiguration: IResolvable) { - cdkBuilder.vectorKnowledgeBaseConfiguration(vectorKnowledgeBaseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vectorKnowledgeBaseConfiguration(vectorKnowledgeBaseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -507,7 +634,7 @@ public open class CfnKnowledgeBase( */ override fun vectorKnowledgeBaseConfiguration(vectorKnowledgeBaseConfiguration: VectorKnowledgeBaseConfigurationProperty) { - cdkBuilder.vectorKnowledgeBaseConfiguration(vectorKnowledgeBaseConfiguration.let(VectorKnowledgeBaseConfigurationProperty::unwrap)) + cdkBuilder.vectorKnowledgeBaseConfiguration(vectorKnowledgeBaseConfiguration.let(VectorKnowledgeBaseConfigurationProperty.Companion::unwrap)) } /** @@ -564,6 +691,1403 @@ public open class CfnKnowledgeBase( } } + /** + * Contains details about the storage configuration of the knowledge base in Amazon OpenSearch + * Service. + * + * For more information, see [Create a vector index in Amazon OpenSearch + * Service](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html) . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * OpenSearchServerlessConfigurationProperty openSearchServerlessConfigurationProperty = + * OpenSearchServerlessConfigurationProperty.builder() + * .collectionArn("collectionArn") + * .fieldMapping(OpenSearchServerlessFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .vectorIndexName("vectorIndexName") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html) + */ + public interface OpenSearchServerlessConfigurationProperty { + /** + * The Amazon Resource Name (ARN) of the OpenSearch Service vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html#cfn-bedrock-knowledgebase-opensearchserverlessconfiguration-collectionarn) + */ + public fun collectionArn(): String + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html#cfn-bedrock-knowledgebase-opensearchserverlessconfiguration-fieldmapping) + */ + public fun fieldMapping(): Any + + /** + * The name of the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html#cfn-bedrock-knowledgebase-opensearchserverlessconfiguration-vectorindexname) + */ + public fun vectorIndexName(): String + + /** + * A builder for [OpenSearchServerlessConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param collectionArn The Amazon Resource Name (ARN) of the OpenSearch Service vector store. + * + */ + public fun collectionArn(collectionArn: String) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + public fun fieldMapping(fieldMapping: IResolvable) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + public fun fieldMapping(fieldMapping: OpenSearchServerlessFieldMappingProperty) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("9563aeefd0e9e5b661bf7ca65f0095830e098ad42194668f3f9045ec181e49de") + public + fun fieldMapping(fieldMapping: OpenSearchServerlessFieldMappingProperty.Builder.() -> Unit) + + /** + * @param vectorIndexName The name of the vector store. + */ + public fun vectorIndexName(vectorIndexName: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty.builder() + + /** + * @param collectionArn The Amazon Resource Name (ARN) of the OpenSearch Service vector store. + * + */ + override fun collectionArn(collectionArn: String) { + cdkBuilder.collectionArn(collectionArn) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + override fun fieldMapping(fieldMapping: IResolvable) { + cdkBuilder.fieldMapping(fieldMapping.let(IResolvable.Companion::unwrap)) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + override fun fieldMapping(fieldMapping: OpenSearchServerlessFieldMappingProperty) { + cdkBuilder.fieldMapping(fieldMapping.let(OpenSearchServerlessFieldMappingProperty.Companion::unwrap)) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("9563aeefd0e9e5b661bf7ca65f0095830e098ad42194668f3f9045ec181e49de") + override + fun fieldMapping(fieldMapping: OpenSearchServerlessFieldMappingProperty.Builder.() -> Unit): + Unit = fieldMapping(OpenSearchServerlessFieldMappingProperty(fieldMapping)) + + /** + * @param vectorIndexName The name of the vector store. + */ + override fun vectorIndexName(vectorIndexName: String) { + cdkBuilder.vectorIndexName(vectorIndexName) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty, + ) : CdkObject(cdkObject), OpenSearchServerlessConfigurationProperty { + /** + * The Amazon Resource Name (ARN) of the OpenSearch Service vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html#cfn-bedrock-knowledgebase-opensearchserverlessconfiguration-collectionarn) + */ + override fun collectionArn(): String = unwrap(this).getCollectionArn() + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html#cfn-bedrock-knowledgebase-opensearchserverlessconfiguration-fieldmapping) + */ + override fun fieldMapping(): Any = unwrap(this).getFieldMapping() + + /** + * The name of the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html#cfn-bedrock-knowledgebase-opensearchserverlessconfiguration-vectorindexname) + */ + override fun vectorIndexName(): String = unwrap(this).getVectorIndexName() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + OpenSearchServerlessConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty): + OpenSearchServerlessConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + OpenSearchServerlessConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: OpenSearchServerlessConfigurationProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty + } + } + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * OpenSearchServerlessFieldMappingProperty openSearchServerlessFieldMappingProperty = + * OpenSearchServerlessFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .vectorField("vectorField") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html) + */ + public interface OpenSearchServerlessFieldMappingProperty { + /** + * The name of the field in which Amazon Bedrock stores metadata about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html#cfn-bedrock-knowledgebase-opensearchserverlessfieldmapping-metadatafield) + */ + public fun metadataField(): String + + /** + * The name of the field in which Amazon Bedrock stores the raw text from your data. + * + * The text is split according to the chunking strategy you choose. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html#cfn-bedrock-knowledgebase-opensearchserverlessfieldmapping-textfield) + */ + public fun textField(): String + + /** + * The name of the field in which Amazon Bedrock stores the vector embeddings for your data + * sources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html#cfn-bedrock-knowledgebase-opensearchserverlessfieldmapping-vectorfield) + */ + public fun vectorField(): String + + /** + * A builder for [OpenSearchServerlessFieldMappingProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param metadataField The name of the field in which Amazon Bedrock stores metadata about + * the vector store. + */ + public fun metadataField(metadataField: String) + + /** + * @param textField The name of the field in which Amazon Bedrock stores the raw text from + * your data. + * The text is split according to the chunking strategy you choose. + */ + public fun textField(textField: String) + + /** + * @param vectorField The name of the field in which Amazon Bedrock stores the vector + * embeddings for your data sources. + */ + public fun vectorField(vectorField: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty.builder() + + /** + * @param metadataField The name of the field in which Amazon Bedrock stores metadata about + * the vector store. + */ + override fun metadataField(metadataField: String) { + cdkBuilder.metadataField(metadataField) + } + + /** + * @param textField The name of the field in which Amazon Bedrock stores the raw text from + * your data. + * The text is split according to the chunking strategy you choose. + */ + override fun textField(textField: String) { + cdkBuilder.textField(textField) + } + + /** + * @param vectorField The name of the field in which Amazon Bedrock stores the vector + * embeddings for your data sources. + */ + override fun vectorField(vectorField: String) { + cdkBuilder.vectorField(vectorField) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty, + ) : CdkObject(cdkObject), OpenSearchServerlessFieldMappingProperty { + /** + * The name of the field in which Amazon Bedrock stores metadata about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html#cfn-bedrock-knowledgebase-opensearchserverlessfieldmapping-metadatafield) + */ + override fun metadataField(): String = unwrap(this).getMetadataField() + + /** + * The name of the field in which Amazon Bedrock stores the raw text from your data. + * + * The text is split according to the chunking strategy you choose. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html#cfn-bedrock-knowledgebase-opensearchserverlessfieldmapping-textfield) + */ + override fun textField(): String = unwrap(this).getTextField() + + /** + * The name of the field in which Amazon Bedrock stores the vector embeddings for your data + * sources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html#cfn-bedrock-knowledgebase-opensearchserverlessfieldmapping-vectorfield) + */ + override fun vectorField(): String = unwrap(this).getVectorField() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + OpenSearchServerlessFieldMappingProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty): + OpenSearchServerlessFieldMappingProperty = CdkObjectWrappers.wrap(cdkObject) as? + OpenSearchServerlessFieldMappingProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: OpenSearchServerlessFieldMappingProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty + } + } + + /** + * Contains details about the storage configuration of the knowledge base in Pinecone. + * + * For more information, see [Create a vector index in + * Pinecone](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-pinecone.html) + * . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * PineconeConfigurationProperty pineconeConfigurationProperty = + * PineconeConfigurationProperty.builder() + * .connectionString("connectionString") + * .credentialsSecretArn("credentialsSecretArn") + * .fieldMapping(PineconeFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .build()) + * // the properties below are optional + * .namespace("namespace") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html) + */ + public interface PineconeConfigurationProperty { + /** + * The endpoint URL for your index management page. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-connectionstring) + */ + public fun connectionString(): String + + /** + * The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is + * linked to your Pinecone API key. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-credentialssecretarn) + */ + public fun credentialsSecretArn(): String + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-fieldmapping) + */ + public fun fieldMapping(): Any + + /** + * The namespace to be used to write new data to your database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-namespace) + */ + public fun namespace(): String? = unwrap(this).getNamespace() + + /** + * A builder for [PineconeConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param connectionString The endpoint URL for your index management page. + */ + public fun connectionString(connectionString: String) + + /** + * @param credentialsSecretArn The Amazon Resource Name (ARN) of the secret that you created + * in AWS Secrets Manager that is linked to your Pinecone API key. + */ + public fun credentialsSecretArn(credentialsSecretArn: String) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + public fun fieldMapping(fieldMapping: IResolvable) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + public fun fieldMapping(fieldMapping: PineconeFieldMappingProperty) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7ffbf056f34eed9fee60b10349505326f63292225d9fe7d0d4ce1d77123bf3ba") + public fun fieldMapping(fieldMapping: PineconeFieldMappingProperty.Builder.() -> Unit) + + /** + * @param namespace The namespace to be used to write new data to your database. + */ + public fun namespace(namespace: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty.builder() + + /** + * @param connectionString The endpoint URL for your index management page. + */ + override fun connectionString(connectionString: String) { + cdkBuilder.connectionString(connectionString) + } + + /** + * @param credentialsSecretArn The Amazon Resource Name (ARN) of the secret that you created + * in AWS Secrets Manager that is linked to your Pinecone API key. + */ + override fun credentialsSecretArn(credentialsSecretArn: String) { + cdkBuilder.credentialsSecretArn(credentialsSecretArn) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + override fun fieldMapping(fieldMapping: IResolvable) { + cdkBuilder.fieldMapping(fieldMapping.let(IResolvable.Companion::unwrap)) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + override fun fieldMapping(fieldMapping: PineconeFieldMappingProperty) { + cdkBuilder.fieldMapping(fieldMapping.let(PineconeFieldMappingProperty.Companion::unwrap)) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7ffbf056f34eed9fee60b10349505326f63292225d9fe7d0d4ce1d77123bf3ba") + override fun fieldMapping(fieldMapping: PineconeFieldMappingProperty.Builder.() -> Unit): Unit + = fieldMapping(PineconeFieldMappingProperty(fieldMapping)) + + /** + * @param namespace The namespace to be used to write new data to your database. + */ + override fun namespace(namespace: String) { + cdkBuilder.namespace(namespace) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty, + ) : CdkObject(cdkObject), PineconeConfigurationProperty { + /** + * The endpoint URL for your index management page. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-connectionstring) + */ + override fun connectionString(): String = unwrap(this).getConnectionString() + + /** + * The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that + * is linked to your Pinecone API key. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-credentialssecretarn) + */ + override fun credentialsSecretArn(): String = unwrap(this).getCredentialsSecretArn() + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-fieldmapping) + */ + override fun fieldMapping(): Any = unwrap(this).getFieldMapping() + + /** + * The namespace to be used to write new data to your database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html#cfn-bedrock-knowledgebase-pineconeconfiguration-namespace) + */ + override fun namespace(): String? = unwrap(this).getNamespace() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): PineconeConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty): + PineconeConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + PineconeConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: PineconeConfigurationProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeConfigurationProperty + } + } + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * PineconeFieldMappingProperty pineconeFieldMappingProperty = + * PineconeFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconefieldmapping.html) + */ + public interface PineconeFieldMappingProperty { + /** + * The name of the field in which Amazon Bedrock stores metadata about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconefieldmapping.html#cfn-bedrock-knowledgebase-pineconefieldmapping-metadatafield) + */ + public fun metadataField(): String + + /** + * The name of the field in which Amazon Bedrock stores the raw text from your data. + * + * The text is split according to the chunking strategy you choose. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconefieldmapping.html#cfn-bedrock-knowledgebase-pineconefieldmapping-textfield) + */ + public fun textField(): String + + /** + * A builder for [PineconeFieldMappingProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param metadataField The name of the field in which Amazon Bedrock stores metadata about + * the vector store. + */ + public fun metadataField(metadataField: String) + + /** + * @param textField The name of the field in which Amazon Bedrock stores the raw text from + * your data. + * The text is split according to the chunking strategy you choose. + */ + public fun textField(textField: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty.builder() + + /** + * @param metadataField The name of the field in which Amazon Bedrock stores metadata about + * the vector store. + */ + override fun metadataField(metadataField: String) { + cdkBuilder.metadataField(metadataField) + } + + /** + * @param textField The name of the field in which Amazon Bedrock stores the raw text from + * your data. + * The text is split according to the chunking strategy you choose. + */ + override fun textField(textField: String) { + cdkBuilder.textField(textField) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty, + ) : CdkObject(cdkObject), PineconeFieldMappingProperty { + /** + * The name of the field in which Amazon Bedrock stores metadata about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconefieldmapping.html#cfn-bedrock-knowledgebase-pineconefieldmapping-metadatafield) + */ + override fun metadataField(): String = unwrap(this).getMetadataField() + + /** + * The name of the field in which Amazon Bedrock stores the raw text from your data. + * + * The text is split according to the chunking strategy you choose. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconefieldmapping.html#cfn-bedrock-knowledgebase-pineconefieldmapping-textfield) + */ + override fun textField(): String = unwrap(this).getTextField() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): PineconeFieldMappingProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty): + PineconeFieldMappingProperty = CdkObjectWrappers.wrap(cdkObject) as? + PineconeFieldMappingProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: PineconeFieldMappingProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.PineconeFieldMappingProperty + } + } + + /** + * Contains details about the storage configuration of the knowledge base in Amazon RDS. + * + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * RdsConfigurationProperty rdsConfigurationProperty = RdsConfigurationProperty.builder() + * .credentialsSecretArn("credentialsSecretArn") + * .databaseName("databaseName") + * .fieldMapping(RdsFieldMappingProperty.builder() + * .metadataField("metadataField") + * .primaryKeyField("primaryKeyField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .resourceArn("resourceArn") + * .tableName("tableName") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html) + */ + public interface RdsConfigurationProperty { + /** + * The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is + * linked to your Amazon RDS database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-credentialssecretarn) + */ + public fun credentialsSecretArn(): String + + /** + * The name of your Amazon RDS database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-databasename) + */ + public fun databaseName(): String + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-fieldmapping) + */ + public fun fieldMapping(): Any + + /** + * The Amazon Resource Name (ARN) of the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-resourcearn) + */ + public fun resourceArn(): String + + /** + * The name of the table in the database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-tablename) + */ + public fun tableName(): String + + /** + * A builder for [RdsConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param credentialsSecretArn The Amazon Resource Name (ARN) of the secret that you created + * in AWS Secrets Manager that is linked to your Amazon RDS database. + */ + public fun credentialsSecretArn(credentialsSecretArn: String) + + /** + * @param databaseName The name of your Amazon RDS database. + */ + public fun databaseName(databaseName: String) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + public fun fieldMapping(fieldMapping: IResolvable) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + public fun fieldMapping(fieldMapping: RdsFieldMappingProperty) + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f70f239eb7b16bf37db6ff1c31e551302695b9b6758f2d88eb674c8aa2a244eb") + public fun fieldMapping(fieldMapping: RdsFieldMappingProperty.Builder.() -> Unit) + + /** + * @param resourceArn The Amazon Resource Name (ARN) of the vector store. + */ + public fun resourceArn(resourceArn: String) + + /** + * @param tableName The name of the table in the database. + */ + public fun tableName(tableName: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty.builder() + + /** + * @param credentialsSecretArn The Amazon Resource Name (ARN) of the secret that you created + * in AWS Secrets Manager that is linked to your Amazon RDS database. + */ + override fun credentialsSecretArn(credentialsSecretArn: String) { + cdkBuilder.credentialsSecretArn(credentialsSecretArn) + } + + /** + * @param databaseName The name of your Amazon RDS database. + */ + override fun databaseName(databaseName: String) { + cdkBuilder.databaseName(databaseName) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + override fun fieldMapping(fieldMapping: IResolvable) { + cdkBuilder.fieldMapping(fieldMapping.let(IResolvable.Companion::unwrap)) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + override fun fieldMapping(fieldMapping: RdsFieldMappingProperty) { + cdkBuilder.fieldMapping(fieldMapping.let(RdsFieldMappingProperty.Companion::unwrap)) + } + + /** + * @param fieldMapping Contains the names of the fields to which to map information about the + * vector store. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f70f239eb7b16bf37db6ff1c31e551302695b9b6758f2d88eb674c8aa2a244eb") + override fun fieldMapping(fieldMapping: RdsFieldMappingProperty.Builder.() -> Unit): Unit = + fieldMapping(RdsFieldMappingProperty(fieldMapping)) + + /** + * @param resourceArn The Amazon Resource Name (ARN) of the vector store. + */ + override fun resourceArn(resourceArn: String) { + cdkBuilder.resourceArn(resourceArn) + } + + /** + * @param tableName The name of the table in the database. + */ + override fun tableName(tableName: String) { + cdkBuilder.tableName(tableName) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty, + ) : CdkObject(cdkObject), RdsConfigurationProperty { + /** + * The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that + * is linked to your Amazon RDS database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-credentialssecretarn) + */ + override fun credentialsSecretArn(): String = unwrap(this).getCredentialsSecretArn() + + /** + * The name of your Amazon RDS database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-databasename) + */ + override fun databaseName(): String = unwrap(this).getDatabaseName() + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-fieldmapping) + */ + override fun fieldMapping(): Any = unwrap(this).getFieldMapping() + + /** + * The Amazon Resource Name (ARN) of the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-resourcearn) + */ + override fun resourceArn(): String = unwrap(this).getResourceArn() + + /** + * The name of the table in the database. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html#cfn-bedrock-knowledgebase-rdsconfiguration-tablename) + */ + override fun tableName(): String = unwrap(this).getTableName() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): RdsConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty): + RdsConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? RdsConfigurationProperty + ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: RdsConfigurationProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsConfigurationProperty + } + } + + /** + * Contains the names of the fields to which to map information about the vector store. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * RdsFieldMappingProperty rdsFieldMappingProperty = RdsFieldMappingProperty.builder() + * .metadataField("metadataField") + * .primaryKeyField("primaryKeyField") + * .textField("textField") + * .vectorField("vectorField") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html) + */ + public interface RdsFieldMappingProperty { + /** + * The name of the field in which Amazon Bedrock stores metadata about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-metadatafield) + */ + public fun metadataField(): String + + /** + * The name of the field in which Amazon Bedrock stores the ID for each entry. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-primarykeyfield) + */ + public fun primaryKeyField(): String + + /** + * The name of the field in which Amazon Bedrock stores the raw text from your data. + * + * The text is split according to the chunking strategy you choose. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-textfield) + */ + public fun textField(): String + + /** + * The name of the field in which Amazon Bedrock stores the vector embeddings for your data + * sources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-vectorfield) + */ + public fun vectorField(): String + + /** + * A builder for [RdsFieldMappingProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param metadataField The name of the field in which Amazon Bedrock stores metadata about + * the vector store. + */ + public fun metadataField(metadataField: String) + + /** + * @param primaryKeyField The name of the field in which Amazon Bedrock stores the ID for each + * entry. + */ + public fun primaryKeyField(primaryKeyField: String) + + /** + * @param textField The name of the field in which Amazon Bedrock stores the raw text from + * your data. + * The text is split according to the chunking strategy you choose. + */ + public fun textField(textField: String) + + /** + * @param vectorField The name of the field in which Amazon Bedrock stores the vector + * embeddings for your data sources. + */ + public fun vectorField(vectorField: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty.Builder = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty.builder() + + /** + * @param metadataField The name of the field in which Amazon Bedrock stores metadata about + * the vector store. + */ + override fun metadataField(metadataField: String) { + cdkBuilder.metadataField(metadataField) + } + + /** + * @param primaryKeyField The name of the field in which Amazon Bedrock stores the ID for each + * entry. + */ + override fun primaryKeyField(primaryKeyField: String) { + cdkBuilder.primaryKeyField(primaryKeyField) + } + + /** + * @param textField The name of the field in which Amazon Bedrock stores the raw text from + * your data. + * The text is split according to the chunking strategy you choose. + */ + override fun textField(textField: String) { + cdkBuilder.textField(textField) + } + + /** + * @param vectorField The name of the field in which Amazon Bedrock stores the vector + * embeddings for your data sources. + */ + override fun vectorField(vectorField: String) { + cdkBuilder.vectorField(vectorField) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty, + ) : CdkObject(cdkObject), RdsFieldMappingProperty { + /** + * The name of the field in which Amazon Bedrock stores metadata about the vector store. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-metadatafield) + */ + override fun metadataField(): String = unwrap(this).getMetadataField() + + /** + * The name of the field in which Amazon Bedrock stores the ID for each entry. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-primarykeyfield) + */ + override fun primaryKeyField(): String = unwrap(this).getPrimaryKeyField() + + /** + * The name of the field in which Amazon Bedrock stores the raw text from your data. + * + * The text is split according to the chunking strategy you choose. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-textfield) + */ + override fun textField(): String = unwrap(this).getTextField() + + /** + * The name of the field in which Amazon Bedrock stores the vector embeddings for your data + * sources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html#cfn-bedrock-knowledgebase-rdsfieldmapping-vectorfield) + */ + override fun vectorField(): String = unwrap(this).getVectorField() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): RdsFieldMappingProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty): + RdsFieldMappingProperty = CdkObjectWrappers.wrap(cdkObject) as? RdsFieldMappingProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: RdsFieldMappingProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.RdsFieldMappingProperty + } + } + + /** + * Contains the storage configuration of the knowledge base. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.bedrock.*; + * StorageConfigurationProperty storageConfigurationProperty = + * StorageConfigurationProperty.builder() + * .type("type") + * // the properties below are optional + * .opensearchServerlessConfiguration(OpenSearchServerlessConfigurationProperty.builder() + * .collectionArn("collectionArn") + * .fieldMapping(OpenSearchServerlessFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .vectorIndexName("vectorIndexName") + * .build()) + * .pineconeConfiguration(PineconeConfigurationProperty.builder() + * .connectionString("connectionString") + * .credentialsSecretArn("credentialsSecretArn") + * .fieldMapping(PineconeFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .build()) + * // the properties below are optional + * .namespace("namespace") + * .build()) + * .rdsConfiguration(RdsConfigurationProperty.builder() + * .credentialsSecretArn("credentialsSecretArn") + * .databaseName("databaseName") + * .fieldMapping(RdsFieldMappingProperty.builder() + * .metadataField("metadataField") + * .primaryKeyField("primaryKeyField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .resourceArn("resourceArn") + * .tableName("tableName") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html) + */ + public interface StorageConfigurationProperty { + /** + * Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-opensearchserverlessconfiguration) + */ + public fun opensearchServerlessConfiguration(): Any? = + unwrap(this).getOpensearchServerlessConfiguration() + + /** + * Contains the storage configuration of the knowledge base in Pinecone. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-pineconeconfiguration) + */ + public fun pineconeConfiguration(): Any? = unwrap(this).getPineconeConfiguration() + + /** + * Contains details about the storage configuration of the knowledge base in Amazon RDS. + * + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-rdsconfiguration) + */ + public fun rdsConfiguration(): Any? = unwrap(this).getRdsConfiguration() + + /** + * The vector store service in which the knowledge base is stored. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-type) + */ + public fun type(): String + + /** + * A builder for [StorageConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param opensearchServerlessConfiguration Contains the storage configuration of the + * knowledge base in Amazon OpenSearch Service. + */ + public fun opensearchServerlessConfiguration(opensearchServerlessConfiguration: IResolvable) + + /** + * @param opensearchServerlessConfiguration Contains the storage configuration of the + * knowledge base in Amazon OpenSearch Service. + */ + public + fun opensearchServerlessConfiguration(opensearchServerlessConfiguration: OpenSearchServerlessConfigurationProperty) + + /** + * @param opensearchServerlessConfiguration Contains the storage configuration of the + * knowledge base in Amazon OpenSearch Service. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c2349201097292d6fc5e2b1e8974fe674db7d759d9896e39714fe2468984ff92") + public + fun opensearchServerlessConfiguration(opensearchServerlessConfiguration: OpenSearchServerlessConfigurationProperty.Builder.() -> Unit) + + /** + * @param pineconeConfiguration Contains the storage configuration of the knowledge base in + * Pinecone. + */ + public fun pineconeConfiguration(pineconeConfiguration: IResolvable) + + /** + * @param pineconeConfiguration Contains the storage configuration of the knowledge base in + * Pinecone. + */ + public fun pineconeConfiguration(pineconeConfiguration: PineconeConfigurationProperty) + + /** + * @param pineconeConfiguration Contains the storage configuration of the knowledge base in + * Pinecone. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a22403fbaf2e6d610970325f96c7f16c6647e86f6f8e1a50c36756a1cafeed9f") + public + fun pineconeConfiguration(pineconeConfiguration: PineconeConfigurationProperty.Builder.() -> Unit) + + /** + * @param rdsConfiguration Contains details about the storage configuration of the knowledge + * base in Amazon RDS. + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + */ + public fun rdsConfiguration(rdsConfiguration: IResolvable) + + /** + * @param rdsConfiguration Contains details about the storage configuration of the knowledge + * base in Amazon RDS. + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + */ + public fun rdsConfiguration(rdsConfiguration: RdsConfigurationProperty) + + /** + * @param rdsConfiguration Contains details about the storage configuration of the knowledge + * base in Amazon RDS. + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d66149e07a8a7503180a19c82354dd95fe43aefcc711bc8ebee57f706573f9d3") + public fun rdsConfiguration(rdsConfiguration: RdsConfigurationProperty.Builder.() -> Unit) + + /** + * @param type The vector store service in which the knowledge base is stored. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty.Builder + = + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty.builder() + + /** + * @param opensearchServerlessConfiguration Contains the storage configuration of the + * knowledge base in Amazon OpenSearch Service. + */ + override + fun opensearchServerlessConfiguration(opensearchServerlessConfiguration: IResolvable) { + cdkBuilder.opensearchServerlessConfiguration(opensearchServerlessConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param opensearchServerlessConfiguration Contains the storage configuration of the + * knowledge base in Amazon OpenSearch Service. + */ + override + fun opensearchServerlessConfiguration(opensearchServerlessConfiguration: OpenSearchServerlessConfigurationProperty) { + cdkBuilder.opensearchServerlessConfiguration(opensearchServerlessConfiguration.let(OpenSearchServerlessConfigurationProperty.Companion::unwrap)) + } + + /** + * @param opensearchServerlessConfiguration Contains the storage configuration of the + * knowledge base in Amazon OpenSearch Service. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c2349201097292d6fc5e2b1e8974fe674db7d759d9896e39714fe2468984ff92") + override + fun opensearchServerlessConfiguration(opensearchServerlessConfiguration: OpenSearchServerlessConfigurationProperty.Builder.() -> Unit): + Unit = + opensearchServerlessConfiguration(OpenSearchServerlessConfigurationProperty(opensearchServerlessConfiguration)) + + /** + * @param pineconeConfiguration Contains the storage configuration of the knowledge base in + * Pinecone. + */ + override fun pineconeConfiguration(pineconeConfiguration: IResolvable) { + cdkBuilder.pineconeConfiguration(pineconeConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param pineconeConfiguration Contains the storage configuration of the knowledge base in + * Pinecone. + */ + override fun pineconeConfiguration(pineconeConfiguration: PineconeConfigurationProperty) { + cdkBuilder.pineconeConfiguration(pineconeConfiguration.let(PineconeConfigurationProperty.Companion::unwrap)) + } + + /** + * @param pineconeConfiguration Contains the storage configuration of the knowledge base in + * Pinecone. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a22403fbaf2e6d610970325f96c7f16c6647e86f6f8e1a50c36756a1cafeed9f") + override + fun pineconeConfiguration(pineconeConfiguration: PineconeConfigurationProperty.Builder.() -> Unit): + Unit = pineconeConfiguration(PineconeConfigurationProperty(pineconeConfiguration)) + + /** + * @param rdsConfiguration Contains details about the storage configuration of the knowledge + * base in Amazon RDS. + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + */ + override fun rdsConfiguration(rdsConfiguration: IResolvable) { + cdkBuilder.rdsConfiguration(rdsConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param rdsConfiguration Contains details about the storage configuration of the knowledge + * base in Amazon RDS. + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + */ + override fun rdsConfiguration(rdsConfiguration: RdsConfigurationProperty) { + cdkBuilder.rdsConfiguration(rdsConfiguration.let(RdsConfigurationProperty.Companion::unwrap)) + } + + /** + * @param rdsConfiguration Contains details about the storage configuration of the knowledge + * base in Amazon RDS. + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d66149e07a8a7503180a19c82354dd95fe43aefcc711bc8ebee57f706573f9d3") + override fun rdsConfiguration(rdsConfiguration: RdsConfigurationProperty.Builder.() -> Unit): + Unit = rdsConfiguration(RdsConfigurationProperty(rdsConfiguration)) + + /** + * @param type The vector store service in which the knowledge base is stored. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty, + ) : CdkObject(cdkObject), StorageConfigurationProperty { + /** + * Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-opensearchserverlessconfiguration) + */ + override fun opensearchServerlessConfiguration(): Any? = + unwrap(this).getOpensearchServerlessConfiguration() + + /** + * Contains the storage configuration of the knowledge base in Pinecone. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-pineconeconfiguration) + */ + override fun pineconeConfiguration(): Any? = unwrap(this).getPineconeConfiguration() + + /** + * Contains details about the storage configuration of the knowledge base in Amazon RDS. + * + * For more information, see [Create a vector index in Amazon + * RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-rdsconfiguration) + */ + override fun rdsConfiguration(): Any? = unwrap(this).getRdsConfiguration() + + /** + * The vector store service in which the knowledge base is stored. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): StorageConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty): + StorageConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + StorageConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: StorageConfigurationProperty): + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty + } + } + /** * Contains details about the model used to create vector embeddings for the knowledge base. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBaseProps.kt index 2cf4f1fe92..9f56b9c889 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/CfnKnowledgeBaseProps.kt @@ -30,6 +30,41 @@ import kotlin.jvm.JvmName * .build()) * .name("name") * .roleArn("roleArn") + * .storageConfiguration(StorageConfigurationProperty.builder() + * .type("type") + * // the properties below are optional + * .opensearchServerlessConfiguration(OpenSearchServerlessConfigurationProperty.builder() + * .collectionArn("collectionArn") + * .fieldMapping(OpenSearchServerlessFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .vectorIndexName("vectorIndexName") + * .build()) + * .pineconeConfiguration(PineconeConfigurationProperty.builder() + * .connectionString("connectionString") + * .credentialsSecretArn("credentialsSecretArn") + * .fieldMapping(PineconeFieldMappingProperty.builder() + * .metadataField("metadataField") + * .textField("textField") + * .build()) + * // the properties below are optional + * .namespace("namespace") + * .build()) + * .rdsConfiguration(RdsConfigurationProperty.builder() + * .credentialsSecretArn("credentialsSecretArn") + * .databaseName("databaseName") + * .fieldMapping(RdsFieldMappingProperty.builder() + * .metadataField("metadataField") + * .primaryKeyField("primaryKeyField") + * .textField("textField") + * .vectorField("vectorField") + * .build()) + * .resourceArn("resourceArn") + * .tableName("tableName") + * .build()) + * .build()) * // the properties below are optional * .description("description") * .tags(Map.of( @@ -69,6 +104,13 @@ public interface CfnKnowledgeBaseProps { */ public fun roleArn(): String + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + */ + public fun storageConfiguration(): Any + /** * Metadata that you can assign to a resource as key-value pairs. For more information, see the * following resources:. @@ -125,6 +167,28 @@ public interface CfnKnowledgeBaseProps { */ public fun roleArn(roleArn: String) + /** + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + public fun storageConfiguration(storageConfiguration: IResolvable) + + /** + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + public + fun storageConfiguration(storageConfiguration: CfnKnowledgeBase.StorageConfigurationProperty) + + /** + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("939a094bee2276eca705c0c724260f1173e535fbdddfe2f5d334b31351b6eb0a") + public + fun storageConfiguration(storageConfiguration: CfnKnowledgeBase.StorageConfigurationProperty.Builder.() -> Unit) + /** * @param tags Metadata that you can assign to a resource as key-value pairs. For more * information, see the following resources:. @@ -152,7 +216,7 @@ public interface CfnKnowledgeBaseProps { * knowledge base. */ override fun knowledgeBaseConfiguration(knowledgeBaseConfiguration: IResolvable) { - cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -161,7 +225,7 @@ public interface CfnKnowledgeBaseProps { */ override fun knowledgeBaseConfiguration(knowledgeBaseConfiguration: CfnKnowledgeBase.KnowledgeBaseConfigurationProperty) { - cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(CfnKnowledgeBase.KnowledgeBaseConfigurationProperty::unwrap)) + cdkBuilder.knowledgeBaseConfiguration(knowledgeBaseConfiguration.let(CfnKnowledgeBase.KnowledgeBaseConfigurationProperty.Companion::unwrap)) } /** @@ -190,6 +254,34 @@ public interface CfnKnowledgeBaseProps { cdkBuilder.roleArn(roleArn) } + /** + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + override fun storageConfiguration(storageConfiguration: IResolvable) { + cdkBuilder.storageConfiguration(storageConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + override + fun storageConfiguration(storageConfiguration: CfnKnowledgeBase.StorageConfigurationProperty) { + cdkBuilder.storageConfiguration(storageConfiguration.let(CfnKnowledgeBase.StorageConfigurationProperty.Companion::unwrap)) + } + + /** + * @param storageConfiguration Contains details about the storage configuration of the knowledge + * base. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("939a094bee2276eca705c0c724260f1173e535fbdddfe2f5d334b31351b6eb0a") + override + fun storageConfiguration(storageConfiguration: CfnKnowledgeBase.StorageConfigurationProperty.Builder.() -> Unit): + Unit = + storageConfiguration(CfnKnowledgeBase.StorageConfigurationProperty(storageConfiguration)) + /** * @param tags Metadata that you can assign to a resource as key-value pairs. For more * information, see the following resources:. @@ -238,6 +330,13 @@ public interface CfnKnowledgeBaseProps { */ override fun roleArn(): String = unwrap(this).getRoleArn() + /** + * Contains details about the storage configuration of the knowledge base. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#cfn-bedrock-knowledgebase-storageconfiguration) + */ + override fun storageConfiguration(): Any = unwrap(this).getStorageConfiguration() + /** * Metadata that you can assign to a resource as key-value pairs. For more information, see the * following resources:. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/FoundationModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/FoundationModel.kt index ffee69c163..b6c6524617 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/FoundationModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/FoundationModel.kt @@ -44,8 +44,9 @@ public open class FoundationModel( id: String, foundationModelId: FoundationModelIdentifier, ): FoundationModel = - software.amazon.awscdk.services.bedrock.FoundationModel.fromFoundationModelId(scope.let(Construct::unwrap), - id, foundationModelId.let(FoundationModelIdentifier::unwrap)).let(FoundationModel::wrap) + software.amazon.awscdk.services.bedrock.FoundationModel.fromFoundationModelId(scope.let(Construct.Companion::unwrap), + id, + foundationModelId.let(FoundationModelIdentifier.Companion::unwrap)).let(FoundationModel::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.FoundationModel): FoundationModel = FoundationModel(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/ProvisionedModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/ProvisionedModel.kt index f88fd759e9..a06f5a0958 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/ProvisionedModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/bedrock/ProvisionedModel.kt @@ -38,7 +38,7 @@ public open class ProvisionedModel( id: String, provisionedModelArn: String, ): IModel = - software.amazon.awscdk.services.bedrock.ProvisionedModel.fromProvisionedModelArn(scope.let(Construct::unwrap), + software.amazon.awscdk.services.bedrock.ProvisionedModel.fromProvisionedModelArn(scope.let(Construct.Companion::unwrap), id, provisionedModelArn).let(IModel::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.bedrock.ProvisionedModel): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroup.kt index 8b2174053a..b491911069 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroup.kt @@ -62,8 +62,8 @@ public open class CfnBillingGroup( id: String, props: CfnBillingGroupProps, ) : - this(software.amazon.awscdk.services.billingconductor.CfnBillingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBillingGroupProps::unwrap)) + this(software.amazon.awscdk.services.billingconductor.CfnBillingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBillingGroupProps.Companion::unwrap)) ) public constructor( @@ -82,14 +82,14 @@ public open class CfnBillingGroup( * The set of accounts that will be under the billing group. */ public open fun accountGrouping(`value`: IResolvable) { - unwrap(this).setAccountGrouping(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccountGrouping(`value`.let(IResolvable.Companion::unwrap)) } /** * The set of accounts that will be under the billing group. */ public open fun accountGrouping(`value`: AccountGroupingProperty) { - unwrap(this).setAccountGrouping(`value`.let(AccountGroupingProperty::unwrap)) + unwrap(this).setAccountGrouping(`value`.let(AccountGroupingProperty.Companion::unwrap)) } /** @@ -141,14 +141,14 @@ public open class CfnBillingGroup( * The preferences and settings that will be used to compute the AWS charges for a billing group. */ public open fun computationPreference(`value`: IResolvable) { - unwrap(this).setComputationPreference(`value`.let(IResolvable::unwrap)) + unwrap(this).setComputationPreference(`value`.let(IResolvable.Companion::unwrap)) } /** * The preferences and settings that will be used to compute the AWS charges for a billing group. */ public open fun computationPreference(`value`: ComputationPreferenceProperty) { - unwrap(this).setComputationPreference(`value`.let(ComputationPreferenceProperty::unwrap)) + unwrap(this).setComputationPreference(`value`.let(ComputationPreferenceProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnBillingGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnBillingGroup( * A map that contains tag keys and tag values that are attached to a billing group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnBillingGroup( * @param accountGrouping The set of accounts that will be under the billing group. */ override fun accountGrouping(accountGrouping: IResolvable) { - cdkBuilder.accountGrouping(accountGrouping.let(IResolvable::unwrap)) + cdkBuilder.accountGrouping(accountGrouping.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnBillingGroup( * @param accountGrouping The set of accounts that will be under the billing group. */ override fun accountGrouping(accountGrouping: AccountGroupingProperty) { - cdkBuilder.accountGrouping(accountGrouping.let(AccountGroupingProperty::unwrap)) + cdkBuilder.accountGrouping(accountGrouping.let(AccountGroupingProperty.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class CfnBillingGroup( * AWS charges for a billing group. */ override fun computationPreference(computationPreference: IResolvable) { - cdkBuilder.computationPreference(computationPreference.let(IResolvable::unwrap)) + cdkBuilder.computationPreference(computationPreference.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnBillingGroup( * AWS charges for a billing group. */ override fun computationPreference(computationPreference: ComputationPreferenceProperty) { - cdkBuilder.computationPreference(computationPreference.let(ComputationPreferenceProperty::unwrap)) + cdkBuilder.computationPreference(computationPreference.let(ComputationPreferenceProperty.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnBillingGroup( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class CfnBillingGroup( * added AWS accounts that join your consolidated billing family. */ override fun autoAssociate(autoAssociate: IResolvable) { - cdkBuilder.autoAssociate(autoAssociate.let(IResolvable::unwrap)) + cdkBuilder.autoAssociate(autoAssociate.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroupProps.kt index e29d98c4c5..a03a1c3fe5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnBillingGroupProps.kt @@ -173,7 +173,7 @@ public interface CfnBillingGroupProps { * The set of accounts resemble the linked accounts in a consolidated billing family. */ override fun accountGrouping(accountGrouping: IResolvable) { - cdkBuilder.accountGrouping(accountGrouping.let(IResolvable::unwrap)) + cdkBuilder.accountGrouping(accountGrouping.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface CfnBillingGroupProps { * The set of accounts resemble the linked accounts in a consolidated billing family. */ override fun accountGrouping(accountGrouping: CfnBillingGroup.AccountGroupingProperty) { - cdkBuilder.accountGrouping(accountGrouping.let(CfnBillingGroup.AccountGroupingProperty::unwrap)) + cdkBuilder.accountGrouping(accountGrouping.let(CfnBillingGroup.AccountGroupingProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public interface CfnBillingGroupProps { * AWS charges for a billing group. */ override fun computationPreference(computationPreference: IResolvable) { - cdkBuilder.computationPreference(computationPreference.let(IResolvable::unwrap)) + cdkBuilder.computationPreference(computationPreference.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnBillingGroupProps { */ override fun computationPreference(computationPreference: CfnBillingGroup.ComputationPreferenceProperty) { - cdkBuilder.computationPreference(computationPreference.let(CfnBillingGroup.ComputationPreferenceProperty::unwrap)) + cdkBuilder.computationPreference(computationPreference.let(CfnBillingGroup.ComputationPreferenceProperty.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface CfnBillingGroupProps { * @param tags A map that contains tag keys and tag values that are attached to a billing group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItem.kt index 4655428d42..a6bfd6181a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItem.kt @@ -79,8 +79,8 @@ public open class CfnCustomLineItem( id: String, props: CfnCustomLineItemProps, ) : - this(software.amazon.awscdk.services.billingconductor.CfnCustomLineItem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomLineItemProps::unwrap)) + this(software.amazon.awscdk.services.billingconductor.CfnCustomLineItem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomLineItemProps.Companion::unwrap)) ) public constructor( @@ -158,14 +158,14 @@ public open class CfnCustomLineItem( * A time range for which the custom line item is effective. */ public open fun billingPeriodRange(`value`: IResolvable) { - unwrap(this).setBillingPeriodRange(`value`.let(IResolvable::unwrap)) + unwrap(this).setBillingPeriodRange(`value`.let(IResolvable.Companion::unwrap)) } /** * A time range for which the custom line item is effective. */ public open fun billingPeriodRange(`value`: BillingPeriodRangeProperty) { - unwrap(this).setBillingPeriodRange(`value`.let(BillingPeriodRangeProperty::unwrap)) + unwrap(this).setBillingPeriodRange(`value`.let(BillingPeriodRangeProperty.Companion::unwrap)) } /** @@ -186,14 +186,14 @@ public open class CfnCustomLineItem( * The charge details of a custom line item. */ public open fun customLineItemChargeDetails(`value`: IResolvable) { - unwrap(this).setCustomLineItemChargeDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomLineItemChargeDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The charge details of a custom line item. */ public open fun customLineItemChargeDetails(`value`: CustomLineItemChargeDetailsProperty) { - unwrap(this).setCustomLineItemChargeDetails(`value`.let(CustomLineItemChargeDetailsProperty::unwrap)) + unwrap(this).setCustomLineItemChargeDetails(`value`.let(CustomLineItemChargeDetailsProperty.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class CfnCustomLineItem( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnCustomLineItem( * A map that contains tag keys and tag values that are attached to a custom line item. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public open class CfnCustomLineItem( * @param billingPeriodRange A time range for which the custom line item is effective. */ override fun billingPeriodRange(billingPeriodRange: IResolvable) { - cdkBuilder.billingPeriodRange(billingPeriodRange.let(IResolvable::unwrap)) + cdkBuilder.billingPeriodRange(billingPeriodRange.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnCustomLineItem( * @param billingPeriodRange A time range for which the custom line item is effective. */ override fun billingPeriodRange(billingPeriodRange: BillingPeriodRangeProperty) { - cdkBuilder.billingPeriodRange(billingPeriodRange.let(BillingPeriodRangeProperty::unwrap)) + cdkBuilder.billingPeriodRange(billingPeriodRange.let(BillingPeriodRangeProperty.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnCustomLineItem( * @param customLineItemChargeDetails The charge details of a custom line item. */ override fun customLineItemChargeDetails(customLineItemChargeDetails: IResolvable) { - cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(IResolvable::unwrap)) + cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(IResolvable.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class CfnCustomLineItem( */ override fun customLineItemChargeDetails(customLineItemChargeDetails: CustomLineItemChargeDetailsProperty) { - cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(CustomLineItemChargeDetailsProperty::unwrap)) + cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(CustomLineItemChargeDetailsProperty.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnCustomLineItem( * item. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnCustomLineItem( * custom line item. */ override fun flat(flat: IResolvable) { - cdkBuilder.flat(flat.let(IResolvable::unwrap)) + cdkBuilder.flat(flat.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnCustomLineItem( * custom line item. */ override fun flat(flat: CustomLineItemFlatChargeDetailsProperty) { - cdkBuilder.flat(flat.let(CustomLineItemFlatChargeDetailsProperty::unwrap)) + cdkBuilder.flat(flat.let(CustomLineItemFlatChargeDetailsProperty.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class CfnCustomLineItem( * @param lineItemFilters A representation of the line item filter. */ override fun lineItemFilters(lineItemFilters: IResolvable) { - cdkBuilder.lineItemFilters(lineItemFilters.let(IResolvable::unwrap)) + cdkBuilder.lineItemFilters(lineItemFilters.let(IResolvable.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class CfnCustomLineItem( * details of a percentage custom line item. */ override fun percentage(percentage: IResolvable) { - cdkBuilder.percentage(percentage.let(IResolvable::unwrap)) + cdkBuilder.percentage(percentage.let(IResolvable.Companion::unwrap)) } /** @@ -867,7 +867,7 @@ public open class CfnCustomLineItem( * details of a percentage custom line item. */ override fun percentage(percentage: CustomLineItemPercentageChargeDetailsProperty) { - cdkBuilder.percentage(percentage.let(CustomLineItemPercentageChargeDetailsProperty::unwrap)) + cdkBuilder.percentage(percentage.let(CustomLineItemPercentageChargeDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItemProps.kt index 8d8fad153c..e9faee2473 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnCustomLineItemProps.kt @@ -217,7 +217,7 @@ public interface CfnCustomLineItemProps { * @param billingPeriodRange A time range for which the custom line item is effective. */ override fun billingPeriodRange(billingPeriodRange: IResolvable) { - cdkBuilder.billingPeriodRange(billingPeriodRange.let(IResolvable::unwrap)) + cdkBuilder.billingPeriodRange(billingPeriodRange.let(IResolvable.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface CfnCustomLineItemProps { */ override fun billingPeriodRange(billingPeriodRange: CfnCustomLineItem.BillingPeriodRangeProperty) { - cdkBuilder.billingPeriodRange(billingPeriodRange.let(CfnCustomLineItem.BillingPeriodRangeProperty::unwrap)) + cdkBuilder.billingPeriodRange(billingPeriodRange.let(CfnCustomLineItem.BillingPeriodRangeProperty.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface CfnCustomLineItemProps { * It should contain only one of `Flat` or `Percentage` . */ override fun customLineItemChargeDetails(customLineItemChargeDetails: IResolvable) { - cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(IResolvable::unwrap)) + cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(IResolvable.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface CfnCustomLineItemProps { */ override fun customLineItemChargeDetails(customLineItemChargeDetails: CfnCustomLineItem.CustomLineItemChargeDetailsProperty) { - cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(CfnCustomLineItem.CustomLineItemChargeDetailsProperty::unwrap)) + cdkBuilder.customLineItemChargeDetails(customLineItemChargeDetails.let(CfnCustomLineItem.CustomLineItemChargeDetailsProperty.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface CfnCustomLineItemProps { * item. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlan.kt index beab64d4c6..6f89dc8ba6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlan.kt @@ -47,8 +47,8 @@ public open class CfnPricingPlan( id: String, props: CfnPricingPlanProps, ) : - this(software.amazon.awscdk.services.billingconductor.CfnPricingPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPricingPlanProps::unwrap)) + this(software.amazon.awscdk.services.billingconductor.CfnPricingPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPricingPlanProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnPricingPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnPricingPlan( * A map that contains tag keys and tag values that are attached to a pricing plan. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnPricingPlan( * @param tags A map that contains tag keys and tag values that are attached to a pricing plan. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlanProps.kt index ca612617bd..bf7ff5ab41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingPlanProps.kt @@ -134,7 +134,7 @@ public interface CfnPricingPlanProps { * @param tags A map that contains tag keys and tag values that are attached to a pricing plan. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRule.kt index 8bf07340a8..b7101e4e73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRule.kt @@ -64,8 +64,8 @@ public open class CfnPricingRule( id: String, props: CfnPricingRuleProps, ) : - this(software.amazon.awscdk.services.billingconductor.CfnPricingRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPricingRuleProps::unwrap)) + this(software.amazon.awscdk.services.billingconductor.CfnPricingRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPricingRuleProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnPricingRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnPricingRule( * A map that contains tag keys and tag values that are attached to a pricing rule. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -225,14 +225,14 @@ public open class CfnPricingRule( * The set of tiering configurations for the pricing rule. */ public open fun tiering(`value`: IResolvable) { - unwrap(this).setTiering(`value`.let(IResolvable::unwrap)) + unwrap(this).setTiering(`value`.let(IResolvable.Companion::unwrap)) } /** * The set of tiering configurations for the pricing rule. */ public open fun tiering(`value`: TieringProperty) { - unwrap(this).setTiering(`value`.let(TieringProperty::unwrap)) + unwrap(this).setTiering(`value`.let(TieringProperty.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CfnPricingRule( * @param tags A map that contains tag keys and tag values that are attached to a pricing rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnPricingRule( * @param tiering The set of tiering configurations for the pricing rule. */ override fun tiering(tiering: IResolvable) { - cdkBuilder.tiering(tiering.let(IResolvable::unwrap)) + cdkBuilder.tiering(tiering.let(IResolvable.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnPricingRule( * @param tiering The set of tiering configurations for the pricing rule. */ override fun tiering(tiering: TieringProperty) { - cdkBuilder.tiering(tiering.let(TieringProperty::unwrap)) + cdkBuilder.tiering(tiering.let(TieringProperty.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public open class CfnPricingRule( * @param activated Activate or deactivate AWS Free Tier. */ override fun activated(activated: IResolvable) { - cdkBuilder.activated(activated.let(IResolvable::unwrap)) + cdkBuilder.activated(activated.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -737,14 +737,14 @@ public open class CfnPricingRule( * @param freeTier The possible AWS Free Tier configurations. */ override fun freeTier(freeTier: IResolvable) { - cdkBuilder.freeTier(freeTier.let(IResolvable::unwrap)) + cdkBuilder.freeTier(freeTier.let(IResolvable.Companion::unwrap)) } /** * @param freeTier The possible AWS Free Tier configurations. */ override fun freeTier(freeTier: FreeTierProperty) { - cdkBuilder.freeTier(freeTier.let(FreeTierProperty::unwrap)) + cdkBuilder.freeTier(freeTier.let(FreeTierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRuleProps.kt index 8df63acc3f..154f15dcf5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/billingconductor/CfnPricingRuleProps.kt @@ -288,7 +288,7 @@ public interface CfnPricingRuleProps { * @param tags A map that contains tag keys and tag values that are attached to a pricing rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -300,14 +300,14 @@ public interface CfnPricingRuleProps { * @param tiering The set of tiering configurations for the pricing rule. */ override fun tiering(tiering: IResolvable) { - cdkBuilder.tiering(tiering.let(IResolvable::unwrap)) + cdkBuilder.tiering(tiering.let(IResolvable.Companion::unwrap)) } /** * @param tiering The set of tiering configurations for the pricing rule. */ override fun tiering(tiering: CfnPricingRule.TieringProperty) { - cdkBuilder.tiering(tiering.let(CfnPricingRule.TieringProperty::unwrap)) + cdkBuilder.tiering(tiering.let(CfnPricingRule.TieringProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudget.kt index 37b2f96df0..42d1b98a06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudget.kt @@ -100,8 +100,8 @@ public open class CfnBudget( id: String, props: CfnBudgetProps, ) : - this(software.amazon.awscdk.services.budgets.CfnBudget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBudgetProps::unwrap)) + this(software.amazon.awscdk.services.budgets.CfnBudget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBudgetProps.Companion::unwrap)) ) public constructor( @@ -125,14 +125,14 @@ public open class CfnBudget( * The budget object that you want to create. */ public open fun budget(`value`: IResolvable) { - unwrap(this).setBudget(`value`.let(IResolvable::unwrap)) + unwrap(this).setBudget(`value`.let(IResolvable.Companion::unwrap)) } /** * The budget object that you want to create. */ public open fun budget(`value`: BudgetDataProperty) { - unwrap(this).setBudget(`value`.let(BudgetDataProperty::unwrap)) + unwrap(this).setBudget(`value`.let(BudgetDataProperty.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnBudget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnBudget( * A notification that you want to associate with a budget. */ public open fun notificationsWithSubscribers(`value`: IResolvable) { - unwrap(this).setNotificationsWithSubscribers(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationsWithSubscribers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnBudget( * @param budget The budget object that you want to create. */ override fun budget(budget: IResolvable) { - cdkBuilder.budget(budget.let(IResolvable::unwrap)) + cdkBuilder.budget(budget.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnBudget( * @param budget The budget object that you want to create. */ override fun budget(budget: BudgetDataProperty) { - cdkBuilder.budget(budget.let(BudgetDataProperty::unwrap)) + cdkBuilder.budget(budget.let(BudgetDataProperty.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnBudget( * @param notificationsWithSubscribers A notification that you want to associate with a budget. */ override fun notificationsWithSubscribers(notificationsWithSubscribers: IResolvable) { - cdkBuilder.notificationsWithSubscribers(notificationsWithSubscribers.let(IResolvable::unwrap)) + cdkBuilder.notificationsWithSubscribers(notificationsWithSubscribers.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnBudget( * your auto-adjusting budget is based on. */ override fun historicalOptions(historicalOptions: IResolvable) { - cdkBuilder.historicalOptions(historicalOptions.let(IResolvable::unwrap)) + cdkBuilder.historicalOptions(historicalOptions.let(IResolvable.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnBudget( * your auto-adjusting budget is based on. */ override fun historicalOptions(historicalOptions: HistoricalOptionsProperty) { - cdkBuilder.historicalOptions(historicalOptions.let(HistoricalOptionsProperty::unwrap)) + cdkBuilder.historicalOptions(historicalOptions.let(HistoricalOptionsProperty.Companion::unwrap)) } /** @@ -897,14 +897,14 @@ public open class CfnBudget( * @param autoAdjustData Determine the budget amount for an auto-adjusting budget. */ override fun autoAdjustData(autoAdjustData: IResolvable) { - cdkBuilder.autoAdjustData(autoAdjustData.let(IResolvable::unwrap)) + cdkBuilder.autoAdjustData(autoAdjustData.let(IResolvable.Companion::unwrap)) } /** * @param autoAdjustData Determine the budget amount for an auto-adjusting budget. */ override fun autoAdjustData(autoAdjustData: AutoAdjustDataProperty) { - cdkBuilder.autoAdjustData(autoAdjustData.let(AutoAdjustDataProperty::unwrap)) + cdkBuilder.autoAdjustData(autoAdjustData.let(AutoAdjustDataProperty.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public open class CfnBudget( * `UpdateBudget` actions. */ override fun budgetLimit(budgetLimit: IResolvable) { - cdkBuilder.budgetLimit(budgetLimit.let(IResolvable::unwrap)) + cdkBuilder.budgetLimit(budgetLimit.let(IResolvable.Companion::unwrap)) } /** @@ -938,7 +938,7 @@ public open class CfnBudget( * `UpdateBudget` actions. */ override fun budgetLimit(budgetLimit: SpendProperty) { - cdkBuilder.budgetLimit(budgetLimit.let(SpendProperty::unwrap)) + cdkBuilder.budgetLimit(budgetLimit.let(SpendProperty.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public open class CfnBudget( * `SAVINGS_PLANS_COVERAGE` budgets do not have `CostTypes` . */ override fun costTypes(costTypes: IResolvable) { - cdkBuilder.costTypes(costTypes.let(IResolvable::unwrap)) + cdkBuilder.costTypes(costTypes.let(IResolvable.Companion::unwrap)) } /** @@ -1003,7 +1003,7 @@ public open class CfnBudget( * `SAVINGS_PLANS_COVERAGE` budgets do not have `CostTypes` . */ override fun costTypes(costTypes: CostTypesProperty) { - cdkBuilder.costTypes(costTypes.let(CostTypesProperty::unwrap)) + cdkBuilder.costTypes(costTypes.let(CostTypesProperty.Companion::unwrap)) } /** @@ -1067,7 +1067,7 @@ public open class CfnBudget( * subscribers. */ override fun timePeriod(timePeriod: IResolvable) { - cdkBuilder.timePeriod(timePeriod.let(IResolvable::unwrap)) + cdkBuilder.timePeriod(timePeriod.let(IResolvable.Companion::unwrap)) } /** @@ -1087,7 +1087,7 @@ public open class CfnBudget( * subscribers. */ override fun timePeriod(timePeriod: TimePeriodProperty) { - cdkBuilder.timePeriod(timePeriod.let(TimePeriodProperty::unwrap)) + cdkBuilder.timePeriod(timePeriod.let(TimePeriodProperty.Companion::unwrap)) } /** @@ -1564,7 +1564,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeCredit(includeCredit: IResolvable) { - cdkBuilder.includeCredit(includeCredit.let(IResolvable::unwrap)) + cdkBuilder.includeCredit(includeCredit.let(IResolvable.Companion::unwrap)) } /** @@ -1580,7 +1580,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeDiscount(includeDiscount: IResolvable) { - cdkBuilder.includeDiscount(includeDiscount.let(IResolvable::unwrap)) + cdkBuilder.includeDiscount(includeDiscount.let(IResolvable.Companion::unwrap)) } /** @@ -1598,7 +1598,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeOtherSubscription(includeOtherSubscription: IResolvable) { - cdkBuilder.includeOtherSubscription(includeOtherSubscription.let(IResolvable::unwrap)) + cdkBuilder.includeOtherSubscription(includeOtherSubscription.let(IResolvable.Companion::unwrap)) } /** @@ -1616,7 +1616,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeRecurring(includeRecurring: IResolvable) { - cdkBuilder.includeRecurring(includeRecurring.let(IResolvable::unwrap)) + cdkBuilder.includeRecurring(includeRecurring.let(IResolvable.Companion::unwrap)) } /** @@ -1632,7 +1632,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeRefund(includeRefund: IResolvable) { - cdkBuilder.includeRefund(includeRefund.let(IResolvable::unwrap)) + cdkBuilder.includeRefund(includeRefund.let(IResolvable.Companion::unwrap)) } /** @@ -1648,7 +1648,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeSubscription(includeSubscription: IResolvable) { - cdkBuilder.includeSubscription(includeSubscription.let(IResolvable::unwrap)) + cdkBuilder.includeSubscription(includeSubscription.let(IResolvable.Companion::unwrap)) } /** @@ -1664,7 +1664,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeSupport(includeSupport: IResolvable) { - cdkBuilder.includeSupport(includeSupport.let(IResolvable::unwrap)) + cdkBuilder.includeSupport(includeSupport.let(IResolvable.Companion::unwrap)) } /** @@ -1680,7 +1680,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeTax(includeTax: IResolvable) { - cdkBuilder.includeTax(includeTax.let(IResolvable::unwrap)) + cdkBuilder.includeTax(includeTax.let(IResolvable.Companion::unwrap)) } /** @@ -1696,7 +1696,7 @@ public open class CfnBudget( * The default value is `true` . */ override fun includeUpfront(includeUpfront: IResolvable) { - cdkBuilder.includeUpfront(includeUpfront.let(IResolvable::unwrap)) + cdkBuilder.includeUpfront(includeUpfront.let(IResolvable.Companion::unwrap)) } /** @@ -1712,7 +1712,7 @@ public open class CfnBudget( * The default value is `false` . */ override fun useAmortized(useAmortized: IResolvable) { - cdkBuilder.useAmortized(useAmortized.let(IResolvable::unwrap)) + cdkBuilder.useAmortized(useAmortized.let(IResolvable.Companion::unwrap)) } /** @@ -1728,7 +1728,7 @@ public open class CfnBudget( * The default value is `false` . */ override fun useBlended(useBlended: IResolvable) { - cdkBuilder.useBlended(useBlended.let(IResolvable::unwrap)) + cdkBuilder.useBlended(useBlended.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.budgets.CfnBudget.CostTypesProperty = @@ -2274,14 +2274,14 @@ public open class CfnBudget( * @param notification The notification that's associated with a budget. */ override fun notification(notification: IResolvable) { - cdkBuilder.notification(notification.let(IResolvable::unwrap)) + cdkBuilder.notification(notification.let(IResolvable.Companion::unwrap)) } /** * @param notification The notification that's associated with a budget. */ override fun notification(notification: NotificationProperty) { - cdkBuilder.notification(notification.let(NotificationProperty::unwrap)) + cdkBuilder.notification(notification.let(NotificationProperty.Companion::unwrap)) } /** @@ -2296,7 +2296,7 @@ public open class CfnBudget( * @param subscribers A list of subscribers who are subscribed to this notification. */ override fun subscribers(subscribers: IResolvable) { - cdkBuilder.subscribers(subscribers.let(IResolvable::unwrap)) + cdkBuilder.subscribers(subscribers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetProps.kt index ea3313124e..cb3ff0b85b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetProps.kt @@ -152,14 +152,14 @@ public interface CfnBudgetProps { * @param budget The budget object that you want to create. */ override fun budget(budget: IResolvable) { - cdkBuilder.budget(budget.let(IResolvable::unwrap)) + cdkBuilder.budget(budget.let(IResolvable.Companion::unwrap)) } /** * @param budget The budget object that you want to create. */ override fun budget(budget: CfnBudget.BudgetDataProperty) { - cdkBuilder.budget(budget.let(CfnBudget.BudgetDataProperty::unwrap)) + cdkBuilder.budget(budget.let(CfnBudget.BudgetDataProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface CfnBudgetProps { * `CreateBudget` call, AWS creates the notifications and subscribers for you. */ override fun notificationsWithSubscribers(notificationsWithSubscribers: IResolvable) { - cdkBuilder.notificationsWithSubscribers(notificationsWithSubscribers.let(IResolvable::unwrap)) + cdkBuilder.notificationsWithSubscribers(notificationsWithSubscribers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsAction.kt index dd40111e7b..65c61eaaf3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsAction.kt @@ -78,8 +78,8 @@ public open class CfnBudgetsAction( id: String, props: CfnBudgetsActionProps, ) : - this(software.amazon.awscdk.services.budgets.CfnBudgetsAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBudgetsActionProps::unwrap)) + this(software.amazon.awscdk.services.budgets.CfnBudgetsAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBudgetsActionProps.Companion::unwrap)) ) public constructor( @@ -98,14 +98,14 @@ public open class CfnBudgetsAction( * The trigger threshold of the action. */ public open fun actionThreshold(`value`: IResolvable) { - unwrap(this).setActionThreshold(`value`.let(IResolvable::unwrap)) + unwrap(this).setActionThreshold(`value`.let(IResolvable.Companion::unwrap)) } /** * The trigger threshold of the action. */ public open fun actionThreshold(`value`: ActionThresholdProperty) { - unwrap(this).setActionThreshold(`value`.let(ActionThresholdProperty::unwrap)) + unwrap(this).setActionThreshold(`value`.let(ActionThresholdProperty.Companion::unwrap)) } /** @@ -166,14 +166,14 @@ public open class CfnBudgetsAction( * Specifies all of the type-specific parameters. */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies all of the type-specific parameters. */ public open fun definition(`value`: DefinitionProperty) { - unwrap(this).setDefinition(`value`.let(DefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(DefinitionProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnBudgetsAction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnBudgetsAction( * A list of subscribers. */ public open fun subscribers(`value`: IResolvable) { - unwrap(this).setSubscribers(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubscribers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class CfnBudgetsAction( * @param actionThreshold The trigger threshold of the action. */ override fun actionThreshold(actionThreshold: IResolvable) { - cdkBuilder.actionThreshold(actionThreshold.let(IResolvable::unwrap)) + cdkBuilder.actionThreshold(actionThreshold.let(IResolvable.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnBudgetsAction( * @param actionThreshold The trigger threshold of the action. */ override fun actionThreshold(actionThreshold: ActionThresholdProperty) { - cdkBuilder.actionThreshold(actionThreshold.let(ActionThresholdProperty::unwrap)) + cdkBuilder.actionThreshold(actionThreshold.let(ActionThresholdProperty.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnBudgetsAction( * @param definition Specifies all of the type-specific parameters. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnBudgetsAction( * @param definition Specifies all of the type-specific parameters. */ override fun definition(definition: DefinitionProperty) { - cdkBuilder.definition(definition.let(DefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(DefinitionProperty.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class CfnBudgetsAction( * @param subscribers A list of subscribers. */ override fun subscribers(subscribers: IResolvable) { - cdkBuilder.subscribers(subscribers.let(IResolvable::unwrap)) + cdkBuilder.subscribers(subscribers.let(IResolvable.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public open class CfnBudgetsAction( * details. */ override fun iamActionDefinition(iamActionDefinition: IResolvable) { - cdkBuilder.iamActionDefinition(iamActionDefinition.let(IResolvable::unwrap)) + cdkBuilder.iamActionDefinition(iamActionDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public open class CfnBudgetsAction( * details. */ override fun iamActionDefinition(iamActionDefinition: IamActionDefinitionProperty) { - cdkBuilder.iamActionDefinition(iamActionDefinition.let(IamActionDefinitionProperty::unwrap)) + cdkBuilder.iamActionDefinition(iamActionDefinition.let(IamActionDefinitionProperty.Companion::unwrap)) } /** @@ -811,14 +811,14 @@ public open class CfnBudgetsAction( * @param scpActionDefinition The service control policies (SCP) action definition details. */ override fun scpActionDefinition(scpActionDefinition: IResolvable) { - cdkBuilder.scpActionDefinition(scpActionDefinition.let(IResolvable::unwrap)) + cdkBuilder.scpActionDefinition(scpActionDefinition.let(IResolvable.Companion::unwrap)) } /** * @param scpActionDefinition The service control policies (SCP) action definition details. */ override fun scpActionDefinition(scpActionDefinition: ScpActionDefinitionProperty) { - cdkBuilder.scpActionDefinition(scpActionDefinition.let(ScpActionDefinitionProperty::unwrap)) + cdkBuilder.scpActionDefinition(scpActionDefinition.let(ScpActionDefinitionProperty.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnBudgetsAction( * details. */ override fun ssmActionDefinition(ssmActionDefinition: IResolvable) { - cdkBuilder.ssmActionDefinition(ssmActionDefinition.let(IResolvable::unwrap)) + cdkBuilder.ssmActionDefinition(ssmActionDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class CfnBudgetsAction( * details. */ override fun ssmActionDefinition(ssmActionDefinition: SsmActionDefinitionProperty) { - cdkBuilder.ssmActionDefinition(ssmActionDefinition.let(SsmActionDefinitionProperty::unwrap)) + cdkBuilder.ssmActionDefinition(ssmActionDefinition.let(SsmActionDefinitionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsActionProps.kt index b4367a82a4..39822f5ec2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/budgets/CfnBudgetsActionProps.kt @@ -216,14 +216,14 @@ public interface CfnBudgetsActionProps { * @param actionThreshold The trigger threshold of the action. */ override fun actionThreshold(actionThreshold: IResolvable) { - cdkBuilder.actionThreshold(actionThreshold.let(IResolvable::unwrap)) + cdkBuilder.actionThreshold(actionThreshold.let(IResolvable.Companion::unwrap)) } /** * @param actionThreshold The trigger threshold of the action. */ override fun actionThreshold(actionThreshold: CfnBudgetsAction.ActionThresholdProperty) { - cdkBuilder.actionThreshold(actionThreshold.let(CfnBudgetsAction.ActionThresholdProperty::unwrap)) + cdkBuilder.actionThreshold(actionThreshold.let(CfnBudgetsAction.ActionThresholdProperty.Companion::unwrap)) } /** @@ -263,14 +263,14 @@ public interface CfnBudgetsActionProps { * @param definition Specifies all of the type-specific parameters. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** * @param definition Specifies all of the type-specific parameters. */ override fun definition(definition: CfnBudgetsAction.DefinitionProperty) { - cdkBuilder.definition(definition.let(CfnBudgetsAction.DefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnBudgetsAction.DefinitionProperty.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface CfnBudgetsActionProps { * @param subscribers A list of subscribers. */ override fun subscribers(subscribers: IResolvable) { - cdkBuilder.subscribers(subscribers.let(IResolvable::unwrap)) + cdkBuilder.subscribers(subscribers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspace.kt index 33e89bbc9d..3d77335fbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspace.kt @@ -53,7 +53,7 @@ public open class CfnKeyspace( cdkObject: software.amazon.awscdk.services.cassandra.CfnKeyspace, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cassandra.CfnKeyspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cassandra.CfnKeyspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -62,8 +62,8 @@ public open class CfnKeyspace( id: String, props: CfnKeyspaceProps, ) : - this(software.amazon.awscdk.services.cassandra.CfnKeyspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKeyspaceProps::unwrap)) + this(software.amazon.awscdk.services.cassandra.CfnKeyspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeyspaceProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnKeyspace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public open class CfnKeyspace( * The options are:. */ public open fun replicationSpecification(`value`: IResolvable) { - unwrap(this).setReplicationSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnKeyspace( * The options are:. */ public open fun replicationSpecification(`value`: ReplicationSpecificationProperty) { - unwrap(this).setReplicationSpecification(`value`.let(ReplicationSpecificationProperty::unwrap)) + unwrap(this).setReplicationSpecification(`value`.let(ReplicationSpecificationProperty.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnKeyspace( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnKeyspace( * options are:. */ override fun replicationSpecification(replicationSpecification: IResolvable) { - cdkBuilder.replicationSpecification(replicationSpecification.let(IResolvable::unwrap)) + cdkBuilder.replicationSpecification(replicationSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CfnKeyspace( */ override fun replicationSpecification(replicationSpecification: ReplicationSpecificationProperty) { - cdkBuilder.replicationSpecification(replicationSpecification.let(ReplicationSpecificationProperty::unwrap)) + cdkBuilder.replicationSpecification(replicationSpecification.let(ReplicationSpecificationProperty.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnKeyspace( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspaceProps.kt index 1ca2227e73..7a59538ece 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnKeyspaceProps.kt @@ -181,7 +181,7 @@ public interface CfnKeyspaceProps { * replicated in. */ override fun replicationSpecification(replicationSpecification: IResolvable) { - cdkBuilder.replicationSpecification(replicationSpecification.let(IResolvable::unwrap)) + cdkBuilder.replicationSpecification(replicationSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface CfnKeyspaceProps { */ override fun replicationSpecification(replicationSpecification: CfnKeyspace.ReplicationSpecificationProperty) { - cdkBuilder.replicationSpecification(replicationSpecification.let(CfnKeyspace.ReplicationSpecificationProperty::unwrap)) + cdkBuilder.replicationSpecification(replicationSpecification.let(CfnKeyspace.ReplicationSpecificationProperty.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface CfnKeyspaceProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTable.kt index 95507236e4..464c57651b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTable.kt @@ -138,8 +138,8 @@ public open class CfnTable( id: String, props: CfnTableProps, ) : - this(software.amazon.awscdk.services.cassandra.CfnTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTableProps::unwrap)) + this(software.amazon.awscdk.services.cassandra.CfnTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTableProps.Companion::unwrap)) ) public constructor( @@ -158,14 +158,14 @@ public open class CfnTable( * The optional auto scaling capacity settings for a table in provisioned capacity mode. */ public open fun autoScalingSpecifications(`value`: IResolvable) { - unwrap(this).setAutoScalingSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoScalingSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** * The optional auto scaling capacity settings for a table in provisioned capacity mode. */ public open fun autoScalingSpecifications(`value`: AutoScalingSpecificationProperty) { - unwrap(this).setAutoScalingSpecifications(`value`.let(AutoScalingSpecificationProperty::unwrap)) + unwrap(this).setAutoScalingSpecifications(`value`.let(AutoScalingSpecificationProperty.Companion::unwrap)) } /** @@ -186,14 +186,14 @@ public open class CfnTable( * The billing mode for the table, which determines how you'll be charged for reads and writes:. */ public open fun billingMode(`value`: IResolvable) { - unwrap(this).setBillingMode(`value`.let(IResolvable::unwrap)) + unwrap(this).setBillingMode(`value`.let(IResolvable.Companion::unwrap)) } /** * The billing mode for the table, which determines how you'll be charged for reads and writes:. */ public open fun billingMode(`value`: BillingModeProperty) { - unwrap(this).setBillingMode(`value`.let(BillingModeProperty::unwrap)) + unwrap(this).setBillingMode(`value`.let(BillingModeProperty.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnTable( * Enables client-side timestamps for the table. */ public open fun clientSideTimestampsEnabled(`value`: IResolvable) { - unwrap(this).setClientSideTimestampsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setClientSideTimestampsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class CfnTable( * One or more columns that determine how the table data is sorted. */ public open fun clusteringKeyColumns(`value`: IResolvable) { - unwrap(this).setClusteringKeyColumns(`value`.let(IResolvable::unwrap)) + unwrap(this).setClusteringKeyColumns(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -270,14 +270,14 @@ public open class CfnTable( * The encryption at rest options for the table. */ public open fun encryptionSpecification(`value`: IResolvable) { - unwrap(this).setEncryptionSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The encryption at rest options for the table. */ public open fun encryptionSpecification(`value`: EncryptionSpecificationProperty) { - unwrap(this).setEncryptionSpecification(`value`.let(EncryptionSpecificationProperty::unwrap)) + unwrap(this).setEncryptionSpecification(`value`.let(EncryptionSpecificationProperty.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnTable( * One or more columns that uniquely identify every row in the table. */ public open fun partitionKeyColumns(`value`: IResolvable) { - unwrap(this).setPartitionKeyColumns(`value`.let(IResolvable::unwrap)) + unwrap(this).setPartitionKeyColumns(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class CfnTable( * Specifies if point-in-time recovery is enabled or disabled for the table. */ public open fun pointInTimeRecoveryEnabled(`value`: IResolvable) { - unwrap(this).setPointInTimeRecoveryEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setPointInTimeRecoveryEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnTable( * defined as partition key columns or clustering key columns. */ public open fun regularColumns(`value`: IResolvable) { - unwrap(this).setRegularColumns(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegularColumns(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnTable( * The AWS Region specific settings of a multi-Region table. */ public open fun replicaSpecifications(`value`: IResolvable) { - unwrap(this).setReplicaSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicaSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnTable( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public open class CfnTable( * provisioned capacity mode. */ override fun autoScalingSpecifications(autoScalingSpecifications: IResolvable) { - cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(IResolvable::unwrap)) + cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public open class CfnTable( */ override fun autoScalingSpecifications(autoScalingSpecifications: AutoScalingSpecificationProperty) { - cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(AutoScalingSpecificationProperty::unwrap)) + cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(AutoScalingSpecificationProperty.Companion::unwrap)) } /** @@ -921,7 +921,7 @@ public open class CfnTable( * reads and writes:. */ override fun billingMode(billingMode: IResolvable) { - cdkBuilder.billingMode(billingMode.let(IResolvable::unwrap)) + cdkBuilder.billingMode(billingMode.let(IResolvable.Companion::unwrap)) } /** @@ -939,7 +939,7 @@ public open class CfnTable( * reads and writes:. */ override fun billingMode(billingMode: BillingModeProperty) { - cdkBuilder.billingMode(billingMode.let(BillingModeProperty::unwrap)) + cdkBuilder.billingMode(billingMode.let(BillingModeProperty.Companion::unwrap)) } /** @@ -992,7 +992,7 @@ public open class CfnTable( * @param clientSideTimestampsEnabled Enables client-side timestamps for the table. */ override fun clientSideTimestampsEnabled(clientSideTimestampsEnabled: IResolvable) { - cdkBuilder.clientSideTimestampsEnabled(clientSideTimestampsEnabled.let(IResolvable::unwrap)) + cdkBuilder.clientSideTimestampsEnabled(clientSideTimestampsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1002,7 +1002,7 @@ public open class CfnTable( * @param clusteringKeyColumns One or more columns that determine how the table data is sorted. */ override fun clusteringKeyColumns(clusteringKeyColumns: IResolvable) { - cdkBuilder.clusteringKeyColumns(clusteringKeyColumns.let(IResolvable::unwrap)) + cdkBuilder.clusteringKeyColumns(clusteringKeyColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1062,7 +1062,7 @@ public open class CfnTable( * @param encryptionSpecification The encryption at rest options for the table. */ override fun encryptionSpecification(encryptionSpecification: IResolvable) { - cdkBuilder.encryptionSpecification(encryptionSpecification.let(IResolvable::unwrap)) + cdkBuilder.encryptionSpecification(encryptionSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1085,7 +1085,7 @@ public open class CfnTable( * @param encryptionSpecification The encryption at rest options for the table. */ override fun encryptionSpecification(encryptionSpecification: EncryptionSpecificationProperty) { - cdkBuilder.encryptionSpecification(encryptionSpecification.let(EncryptionSpecificationProperty::unwrap)) + cdkBuilder.encryptionSpecification(encryptionSpecification.let(EncryptionSpecificationProperty.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class CfnTable( * */ override fun partitionKeyColumns(partitionKeyColumns: IResolvable) { - cdkBuilder.partitionKeyColumns(partitionKeyColumns.let(IResolvable::unwrap)) + cdkBuilder.partitionKeyColumns(partitionKeyColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1188,7 +1188,7 @@ public open class CfnTable( * for the table. */ override fun pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled: IResolvable) { - cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1202,7 +1202,7 @@ public open class CfnTable( * columns that are *not* defined as partition key columns or clustering key columns. */ override fun regularColumns(regularColumns: IResolvable) { - cdkBuilder.regularColumns(regularColumns.let(IResolvable::unwrap)) + cdkBuilder.regularColumns(regularColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1247,7 +1247,7 @@ public open class CfnTable( * @param replicaSpecifications The AWS Region specific settings of a multi-Region table. */ override fun replicaSpecifications(replicaSpecifications: IResolvable) { - cdkBuilder.replicaSpecifications(replicaSpecifications.let(IResolvable::unwrap)) + cdkBuilder.replicaSpecifications(replicaSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -1320,7 +1320,7 @@ public open class CfnTable( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1523,7 +1523,7 @@ public open class CfnTable( * set to `false` . */ override fun autoScalingDisabled(autoScalingDisabled: IResolvable) { - cdkBuilder.autoScalingDisabled(autoScalingDisabled.let(IResolvable::unwrap)) + cdkBuilder.autoScalingDisabled(autoScalingDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -1553,7 +1553,7 @@ public open class CfnTable( * target value as a percentage between 20 and 90. */ override fun scalingPolicy(scalingPolicy: IResolvable) { - cdkBuilder.scalingPolicy(scalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.scalingPolicy(scalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1563,7 +1563,7 @@ public open class CfnTable( * target value as a percentage between 20 and 90. */ override fun scalingPolicy(scalingPolicy: ScalingPolicyProperty) { - cdkBuilder.scalingPolicy(scalingPolicy.let(ScalingPolicyProperty::unwrap)) + cdkBuilder.scalingPolicy(scalingPolicy.let(ScalingPolicyProperty.Companion::unwrap)) } /** @@ -1755,14 +1755,14 @@ public open class CfnTable( * @param readCapacityAutoScaling The auto scaling settings for the table's read capacity. */ override fun readCapacityAutoScaling(readCapacityAutoScaling: IResolvable) { - cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(IResolvable.Companion::unwrap)) } /** * @param readCapacityAutoScaling The auto scaling settings for the table's read capacity. */ override fun readCapacityAutoScaling(readCapacityAutoScaling: AutoScalingSettingProperty) { - cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(AutoScalingSettingProperty::unwrap)) + cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(AutoScalingSettingProperty.Companion::unwrap)) } /** @@ -1778,14 +1778,14 @@ public open class CfnTable( * @param writeCapacityAutoScaling The auto scaling settings for the table's write capacity. */ override fun writeCapacityAutoScaling(writeCapacityAutoScaling: IResolvable) { - cdkBuilder.writeCapacityAutoScaling(writeCapacityAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.writeCapacityAutoScaling(writeCapacityAutoScaling.let(IResolvable.Companion::unwrap)) } /** * @param writeCapacityAutoScaling The auto scaling settings for the table's write capacity. */ override fun writeCapacityAutoScaling(writeCapacityAutoScaling: AutoScalingSettingProperty) { - cdkBuilder.writeCapacityAutoScaling(writeCapacityAutoScaling.let(AutoScalingSettingProperty::unwrap)) + cdkBuilder.writeCapacityAutoScaling(writeCapacityAutoScaling.let(AutoScalingSettingProperty.Companion::unwrap)) } /** @@ -1969,7 +1969,7 @@ public open class CfnTable( * in the *Amazon Keyspaces Developer Guide* . */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** @@ -1980,7 +1980,7 @@ public open class CfnTable( * in the *Amazon Keyspaces Developer Guide* . */ override fun provisionedThroughput(provisionedThroughput: ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -2132,14 +2132,14 @@ public open class CfnTable( * @param column The name and data type of this clustering key column. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The name and data type of this clustering key column. */ override fun column(column: ColumnProperty) { - cdkBuilder.column(column.let(ColumnProperty::unwrap)) + cdkBuilder.column(column.let(ColumnProperty.Companion::unwrap)) } /** @@ -2748,7 +2748,7 @@ public open class CfnTable( * table in the specified AWS Region. */ override fun readCapacityAutoScaling(readCapacityAutoScaling: IResolvable) { - cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(IResolvable.Companion::unwrap)) } /** @@ -2756,7 +2756,7 @@ public open class CfnTable( * table in the specified AWS Region. */ override fun readCapacityAutoScaling(readCapacityAutoScaling: AutoScalingSettingProperty) { - cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(AutoScalingSettingProperty::unwrap)) + cdkBuilder.readCapacityAutoScaling(readCapacityAutoScaling.let(AutoScalingSettingProperty.Companion::unwrap)) } /** @@ -2909,7 +2909,7 @@ public open class CfnTable( */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: IResolvable) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2918,7 +2918,7 @@ public open class CfnTable( */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: TargetTrackingScalingPolicyConfigurationProperty) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(TargetTrackingScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(TargetTrackingScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -3119,7 +3119,7 @@ public open class CfnTable( * When scaling policies are set, they can't scale in the table lower than its minimum capacity. */ override fun disableScaleIn(disableScaleIn: IResolvable) { - cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable::unwrap)) + cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTableProps.kt index f4fa92aefd..a2a1fcc048 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cassandra/CfnTableProps.kt @@ -592,7 +592,7 @@ public interface CfnTableProps { * provisioned capacity mode. */ override fun autoScalingSpecifications(autoScalingSpecifications: IResolvable) { - cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(IResolvable::unwrap)) + cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public interface CfnTableProps { */ override fun autoScalingSpecifications(autoScalingSpecifications: CfnTable.AutoScalingSpecificationProperty) { - cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(CfnTable.AutoScalingSpecificationProperty::unwrap)) + cdkBuilder.autoScalingSpecifications(autoScalingSpecifications.let(CfnTable.AutoScalingSpecificationProperty.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public interface CfnTableProps { * If you don't specify a value for this property, then the table will use on-demand mode. */ override fun billingMode(billingMode: IResolvable) { - cdkBuilder.billingMode(billingMode.let(IResolvable::unwrap)) + cdkBuilder.billingMode(billingMode.let(IResolvable.Companion::unwrap)) } /** @@ -640,7 +640,7 @@ public interface CfnTableProps { * If you don't specify a value for this property, then the table will use on-demand mode. */ override fun billingMode(billingMode: CfnTable.BillingModeProperty) { - cdkBuilder.billingMode(billingMode.let(CfnTable.BillingModeProperty::unwrap)) + cdkBuilder.billingMode(billingMode.let(CfnTable.BillingModeProperty.Companion::unwrap)) } /** @@ -681,14 +681,14 @@ public interface CfnTableProps { * After client-side timestamps are enabled for a table, you can't disable this setting. */ override fun clientSideTimestampsEnabled(clientSideTimestampsEnabled: IResolvable) { - cdkBuilder.clientSideTimestampsEnabled(clientSideTimestampsEnabled.let(IResolvable::unwrap)) + cdkBuilder.clientSideTimestampsEnabled(clientSideTimestampsEnabled.let(IResolvable.Companion::unwrap)) } /** * @param clusteringKeyColumns One or more columns that determine how the table data is sorted. */ override fun clusteringKeyColumns(clusteringKeyColumns: IResolvable) { - cdkBuilder.clusteringKeyColumns(clusteringKeyColumns.let(IResolvable::unwrap)) + cdkBuilder.clusteringKeyColumns(clusteringKeyColumns.let(IResolvable.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface CfnTableProps { * *Amazon Keyspaces Developer Guide* . */ override fun encryptionSpecification(encryptionSpecification: IResolvable) { - cdkBuilder.encryptionSpecification(encryptionSpecification.let(IResolvable::unwrap)) + cdkBuilder.encryptionSpecification(encryptionSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -754,7 +754,7 @@ public interface CfnTableProps { */ override fun encryptionSpecification(encryptionSpecification: CfnTable.EncryptionSpecificationProperty) { - cdkBuilder.encryptionSpecification(encryptionSpecification.let(CfnTable.EncryptionSpecificationProperty::unwrap)) + cdkBuilder.encryptionSpecification(encryptionSpecification.let(CfnTable.EncryptionSpecificationProperty.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface CfnTableProps { * Every table must have a partition key. */ override fun partitionKeyColumns(partitionKeyColumns: IResolvable) { - cdkBuilder.partitionKeyColumns(partitionKeyColumns.let(IResolvable::unwrap)) + cdkBuilder.partitionKeyColumns(partitionKeyColumns.let(IResolvable.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public interface CfnTableProps { * not specified, the default is `PointInTimeRecoveryEnabled=false` . */ override fun pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled: IResolvable) { - cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public interface CfnTableProps { * You can add regular columns to existing tables by adding them to the template. */ override fun regularColumns(regularColumns: IResolvable) { - cdkBuilder.regularColumns(regularColumns.let(IResolvable::unwrap)) + cdkBuilder.regularColumns(regularColumns.let(IResolvable.Companion::unwrap)) } /** @@ -870,7 +870,7 @@ public interface CfnTableProps { * (Optional) */ override fun replicaSpecifications(replicaSpecifications: IResolvable) { - cdkBuilder.replicaSpecifications(replicaSpecifications.let(IResolvable::unwrap)) + cdkBuilder.replicaSpecifications(replicaSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -927,7 +927,7 @@ public interface CfnTableProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitor.kt index f44735bcd7..591fb7f35e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitor.kt @@ -53,8 +53,8 @@ public open class CfnAnomalyMonitor( id: String, props: CfnAnomalyMonitorProps, ) : - this(software.amazon.awscdk.services.ce.CfnAnomalyMonitor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnomalyMonitorProps::unwrap)) + this(software.amazon.awscdk.services.ce.CfnAnomalyMonitor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnomalyMonitorProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnAnomalyMonitor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnAnomalyMonitor( * Tags to assign to monitor. */ public open fun resourceTags(`value`: IResolvable) { - unwrap(this).setResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnAnomalyMonitor( * @param resourceTags Tags to assign to monitor. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitorProps.kt index ac82a7cba0..6217f0943b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalyMonitorProps.kt @@ -161,7 +161,7 @@ public interface CfnAnomalyMonitorProps { * @param resourceTags Tags to assign to monitor. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscription.kt index fb6a01bf5e..3881d39326 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscription.kt @@ -72,8 +72,8 @@ public open class CfnAnomalySubscription( id: String, props: CfnAnomalySubscriptionProps, ) : - this(software.amazon.awscdk.services.ce.CfnAnomalySubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnomalySubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.ce.CfnAnomalySubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnomalySubscriptionProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnAnomalySubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnAnomalySubscription( * Tags to assign to subscription. */ public open fun resourceTags(`value`: IResolvable) { - unwrap(this).setResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnAnomalySubscription( * A list of subscribers to notify. */ public open fun subscribers(`value`: IResolvable) { - unwrap(this).setSubscribers(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubscribers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnAnomalySubscription( * @param resourceTags Tags to assign to subscription. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnAnomalySubscription( * @param subscribers A list of subscribers to notify. */ override fun subscribers(subscribers: IResolvable) { - cdkBuilder.subscribers(subscribers.let(IResolvable::unwrap)) + cdkBuilder.subscribers(subscribers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscriptionProps.kt index 03cbb050e8..92a1da7a89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnAnomalySubscriptionProps.kt @@ -247,7 +247,7 @@ public interface CfnAnomalySubscriptionProps { * @param resourceTags Tags to assign to subscription. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface CfnAnomalySubscriptionProps { * @param subscribers A list of subscribers to notify. */ override fun subscribers(subscribers: IResolvable) { - cdkBuilder.subscribers(subscribers.let(IResolvable::unwrap)) + cdkBuilder.subscribers(subscribers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnCostCategory.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnCostCategory.kt index 9835785bf3..3b10d16992 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnCostCategory.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ce/CfnCostCategory.kt @@ -45,8 +45,8 @@ public open class CfnCostCategory( id: String, props: CfnCostCategoryProps, ) : - this(software.amazon.awscdk.services.ce.CfnCostCategory(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCostCategoryProps::unwrap)) + this(software.amazon.awscdk.services.ce.CfnCostCategory(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCostCategoryProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnCostCategory( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/Certificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/Certificate.kt index 0303db5ae4..d2842c3013 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/Certificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/Certificate.kt @@ -45,8 +45,8 @@ public open class Certificate( id: String, props: CertificateProps, ) : - this(software.amazon.awscdk.services.certificatemanager.Certificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CertificateProps::unwrap)) + this(software.amazon.awscdk.services.certificatemanager.Certificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CertificateProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class Certificate( * @param props */ public override fun metricDaysToExpiry(props: MetricOptions): Metric = - unwrap(this).metricDaysToExpiry(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDaysToExpiry(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this @@ -232,7 +232,7 @@ public open class Certificate( * certificate uses to encrypt data. */ override fun keyAlgorithm(keyAlgorithm: KeyAlgorithm) { - cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm::unwrap)) + cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class Certificate( * @param validation How to validate this certificate. */ override fun validation(validation: CertificateValidation) { - cdkBuilder.validation(validation.let(CertificateValidation::unwrap)) + cdkBuilder.validation(validation.let(CertificateValidation.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.certificatemanager.Certificate = @@ -300,7 +300,7 @@ public open class Certificate( id: String, certificateArn: String, ): ICertificate = - software.amazon.awscdk.services.certificatemanager.Certificate.fromCertificateArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.certificatemanager.Certificate.fromCertificateArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, certificateArn).let(ICertificate::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateProps.kt index 4ee95b6e74..6a7e1eccd4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateProps.kt @@ -173,7 +173,7 @@ public interface CertificateProps { * certificate uses to encrypt data. */ override fun keyAlgorithm(keyAlgorithm: KeyAlgorithm) { - cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm::unwrap)) + cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CertificateProps { * @param validation How to validate this certificate. */ override fun validation(validation: CertificateValidation) { - cdkBuilder.validation(validation.let(CertificateValidation::unwrap)) + cdkBuilder.validation(validation.let(CertificateValidation.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.certificatemanager.CertificateProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateValidation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateValidation.kt index 31a43584a2..fbe4021970 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateValidation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificateValidation.kt @@ -48,7 +48,7 @@ public open class CertificateValidation( software.amazon.awscdk.services.certificatemanager.CertificateValidation.fromDns().let(CertificateValidation::wrap) public fun fromDns(hostedZone: IHostedZone): CertificateValidation = - software.amazon.awscdk.services.certificatemanager.CertificateValidation.fromDns(hostedZone.let(IHostedZone::unwrap)).let(CertificateValidation::wrap) + software.amazon.awscdk.services.certificatemanager.CertificateValidation.fromDns(hostedZone.let(IHostedZone.Companion::unwrap)).let(CertificateValidation::wrap) public fun fromDnsMultiZone(hostedZones: Map): CertificateValidation = software.amazon.awscdk.services.certificatemanager.CertificateValidation.fromDnsMultiZone(hostedZones.mapValues{IHostedZone.unwrap(it.value)}).let(CertificateValidation::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificationValidationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificationValidationProps.kt index d6d0d92bea..40ca489fb0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificationValidationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CertificationValidationProps.kt @@ -98,7 +98,7 @@ public interface CertificationValidationProps { * @param hostedZone Hosted zone to use for DNS validation. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public interface CertificationValidationProps { * @param method Validation method. */ override fun method(method: ValidationMethod) { - cdkBuilder.method(method.let(ValidationMethod::unwrap)) + cdkBuilder.method(method.let(ValidationMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccount.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccount.kt index 0c39ebc2a3..dc17fc0910 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccount.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccount.kt @@ -44,8 +44,8 @@ public open class CfnAccount( id: String, props: CfnAccountProps, ) : - this(software.amazon.awscdk.services.certificatemanager.CfnAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccountProps::unwrap)) + this(software.amazon.awscdk.services.certificatemanager.CfnAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccountProps.Companion::unwrap)) ) public constructor( @@ -69,14 +69,14 @@ public open class CfnAccount( * Object containing expiration events options associated with an AWS account . */ public open fun expiryEventsConfiguration(`value`: IResolvable) { - unwrap(this).setExpiryEventsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setExpiryEventsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Object containing expiration events options associated with an AWS account . */ public open fun expiryEventsConfiguration(`value`: ExpiryEventsConfigurationProperty) { - unwrap(this).setExpiryEventsConfiguration(`value`.let(ExpiryEventsConfigurationProperty::unwrap)) + unwrap(this).setExpiryEventsConfiguration(`value`.let(ExpiryEventsConfigurationProperty.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public open class CfnAccount( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnAccount( * an AWS account . */ override fun expiryEventsConfiguration(expiryEventsConfiguration: IResolvable) { - cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnAccount( */ override fun expiryEventsConfiguration(expiryEventsConfiguration: ExpiryEventsConfigurationProperty) { - cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(ExpiryEventsConfigurationProperty::unwrap)) + cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(ExpiryEventsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccountProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccountProps.kt index 9c5e379061..2eb58032e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccountProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnAccountProps.kt @@ -90,7 +90,7 @@ public interface CfnAccountProps { * in the API reference. */ override fun expiryEventsConfiguration(expiryEventsConfiguration: IResolvable) { - cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public interface CfnAccountProps { */ override fun expiryEventsConfiguration(expiryEventsConfiguration: CfnAccount.ExpiryEventsConfigurationProperty) { - cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(CfnAccount.ExpiryEventsConfigurationProperty::unwrap)) + cdkBuilder.expiryEventsConfiguration(expiryEventsConfiguration.let(CfnAccount.ExpiryEventsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificate.kt index 49181ec6dd..28a5b71fc5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificate.kt @@ -79,8 +79,8 @@ public open class CfnCertificate( id: String, props: CfnCertificateProps, ) : - this(software.amazon.awscdk.services.certificatemanager.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProps::unwrap)) + this(software.amazon.awscdk.services.certificatemanager.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class CfnCertificate( * Domain information that domain name registrars use to verify your identity. */ public open fun domainValidationOptions(`value`: IResolvable) { - unwrap(this).setDomainValidationOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainValidationOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnCertificate( * Key-value pairs that can identify the certificate. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public open class CfnCertificate( * your identity. */ override fun domainValidationOptions(domainValidationOptions: IResolvable) { - cdkBuilder.domainValidationOptions(domainValidationOptions.let(IResolvable::unwrap)) + cdkBuilder.domainValidationOptions(domainValidationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public open class CfnCertificate( * @param tags Key-value pairs that can identify the certificate. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificateProps.kt index f256057945..7e7221fe29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/CfnCertificateProps.kt @@ -367,7 +367,7 @@ public interface CfnCertificateProps { * records in Route53. */ override fun domainValidationOptions(domainValidationOptions: IResolvable) { - cdkBuilder.domainValidationOptions(domainValidationOptions.let(IResolvable::unwrap)) + cdkBuilder.domainValidationOptions(domainValidationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface CfnCertificateProps { * @param tags Key-value pairs that can identify the certificate. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificate.kt index 414e2b91dd..836619832b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificate.kt @@ -66,8 +66,8 @@ public open class DnsValidatedCertificate( id: String, props: DnsValidatedCertificateProps, ) : - this(software.amazon.awscdk.services.certificatemanager.DnsValidatedCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DnsValidatedCertificateProps::unwrap)) + this(software.amazon.awscdk.services.certificatemanager.DnsValidatedCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DnsValidatedCertificateProps.Companion::unwrap)) ) @Deprecated(message = "deprecated in CDK") @@ -93,7 +93,7 @@ public open class DnsValidatedCertificate( */ @Deprecated(message = "deprecated in CDK") public override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class DnsValidatedCertificate( */ @Deprecated(message = "deprecated in CDK") public override fun metricDaysToExpiry(props: MetricOptions): Metric = - unwrap(this).metricDaysToExpiry(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDaysToExpiry(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By @@ -358,7 +358,7 @@ public open class DnsValidatedCertificate( * certificate. */ override fun customResourceRole(customResourceRole: IRole) { - cdkBuilder.customResourceRole(customResourceRole.let(IRole::unwrap)) + cdkBuilder.customResourceRole(customResourceRole.let(IRole.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class DnsValidatedCertificate( * @param hostedZone Route 53 Hosted Zone used to perform DNS validation of the request. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class DnsValidatedCertificate( * certificate uses to encrypt data. */ override fun keyAlgorithm(keyAlgorithm: KeyAlgorithm) { - cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm::unwrap)) + cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public open class DnsValidatedCertificate( * @param validation How to validate this certificate. */ override fun validation(validation: CertificateValidation) { - cdkBuilder.validation(validation.let(CertificateValidation::unwrap)) + cdkBuilder.validation(validation.let(CertificateValidation.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.certificatemanager.DnsValidatedCertificate = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificateProps.kt index 2bbc64fa00..81f598feae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/DnsValidatedCertificateProps.kt @@ -220,7 +220,7 @@ public interface DnsValidatedCertificateProps : CertificateProps { * certificate. */ override fun customResourceRole(customResourceRole: IRole) { - cdkBuilder.customResourceRole(customResourceRole.let(IRole::unwrap)) + cdkBuilder.customResourceRole(customResourceRole.let(IRole.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface DnsValidatedCertificateProps : CertificateProps { * must be authoritative for the domain name specified in the Certificate Request. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface DnsValidatedCertificateProps : CertificateProps { * certificate uses to encrypt data. */ override fun keyAlgorithm(keyAlgorithm: KeyAlgorithm) { - cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm::unwrap)) + cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface DnsValidatedCertificateProps : CertificateProps { * @param validation How to validate this certificate. */ override fun validation(validation: CertificateValidation) { - cdkBuilder.validation(validation.let(CertificateValidation::unwrap)) + cdkBuilder.validation(validation.let(CertificateValidation.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/ICertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/ICertificate.kt index 5bdd7c561b..55f5bc55ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/ICertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/ICertificate.kt @@ -79,7 +79,7 @@ public interface ICertificate : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public interface ICertificate : IResource { * @param props */ override fun metricDaysToExpiry(props: MetricOptions): Metric = - unwrap(this).metricDaysToExpiry(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDaysToExpiry(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificate.kt index 61af86bf12..73cc0aa916 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificate.kt @@ -38,8 +38,8 @@ public open class PrivateCertificate( id: String, props: PrivateCertificateProps, ) : - this(software.amazon.awscdk.services.certificatemanager.PrivateCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PrivateCertificateProps::unwrap)) + this(software.amazon.awscdk.services.certificatemanager.PrivateCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PrivateCertificateProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class PrivateCertificate( * @param props */ public override fun metricDaysToExpiry(props: MetricOptions): Metric = - unwrap(this).metricDaysToExpiry(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDaysToExpiry(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this @@ -172,7 +172,7 @@ public open class PrivateCertificate( * certificate. */ override fun certificateAuthority(certificateAuthority: ICertificateAuthority) { - cdkBuilder.certificateAuthority(certificateAuthority.let(ICertificateAuthority::unwrap)) + cdkBuilder.certificateAuthority(certificateAuthority.let(ICertificateAuthority.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class PrivateCertificate( * certificate uses to encrypt data. */ override fun keyAlgorithm(keyAlgorithm: KeyAlgorithm) { - cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm::unwrap)) + cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class PrivateCertificate( id: String, certificateArn: String, ): ICertificate = - software.amazon.awscdk.services.certificatemanager.PrivateCertificate.fromCertificateArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.certificatemanager.PrivateCertificate.fromCertificateArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, certificateArn).let(ICertificate::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificateProps.kt index 0a3e36748e..f3919ec864 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/certificatemanager/PrivateCertificateProps.kt @@ -112,7 +112,7 @@ public interface PrivateCertificateProps { * certificate. */ override fun certificateAuthority(certificateAuthority: ICertificateAuthority) { - cdkBuilder.certificateAuthority(certificateAuthority.let(ICertificateAuthority::unwrap)) + cdkBuilder.certificateAuthority(certificateAuthority.let(ICertificateAuthority.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface PrivateCertificateProps { * (RSA or ECDSA) must match the algorithm family of the CA's secret key. */ override fun keyAlgorithm(keyAlgorithm: KeyAlgorithm) { - cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm::unwrap)) + cdkBuilder.keyAlgorithm(keyAlgorithm.let(KeyAlgorithm.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfiguration.kt index 17bf992e0a..79afa30f2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfiguration.kt @@ -58,8 +58,8 @@ public open class CfnMicrosoftTeamsChannelConfiguration( id: String, props: CfnMicrosoftTeamsChannelConfigurationProps, ) : - this(software.amazon.awscdk.services.chatbot.CfnMicrosoftTeamsChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMicrosoftTeamsChannelConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.chatbot.CfnMicrosoftTeamsChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMicrosoftTeamsChannelConfigurationProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnMicrosoftTeamsChannelConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnMicrosoftTeamsChannelConfiguration( * Enables use of a user role requirement in your chat configuration. */ public open fun userRoleRequired(`value`: IResolvable) { - unwrap(this).setUserRoleRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserRoleRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnMicrosoftTeamsChannelConfiguration( * @param userRoleRequired Enables use of a user role requirement in your chat configuration. */ override fun userRoleRequired(userRoleRequired: IResolvable) { - cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable::unwrap)) + cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfigurationProps.kt index f9a5c4c5eb..d486ec4efa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnMicrosoftTeamsChannelConfigurationProps.kt @@ -321,7 +321,7 @@ public interface CfnMicrosoftTeamsChannelConfigurationProps { * @param userRoleRequired Enables use of a user role requirement in your chat configuration. */ override fun userRoleRequired(userRoleRequired: IResolvable) { - cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable::unwrap)) + cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfiguration.kt index eef670e69d..4f4ef7a646 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfiguration.kt @@ -56,8 +56,8 @@ public open class CfnSlackChannelConfiguration( id: String, props: CfnSlackChannelConfigurationProps, ) : - this(software.amazon.awscdk.services.chatbot.CfnSlackChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSlackChannelConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.chatbot.CfnSlackChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSlackChannelConfigurationProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnSlackChannelConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnSlackChannelConfiguration( * Enables use of a user role requirement in your chat configuration. */ public open fun userRoleRequired(`value`: IResolvable) { - unwrap(this).setUserRoleRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserRoleRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnSlackChannelConfiguration( * @param userRoleRequired Enables use of a user role requirement in your chat configuration. */ override fun userRoleRequired(userRoleRequired: IResolvable) { - cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable::unwrap)) + cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.chatbot.CfnSlackChannelConfiguration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfigurationProps.kt index d41ff9253e..83f5c449d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/CfnSlackChannelConfigurationProps.kt @@ -282,7 +282,7 @@ public interface CfnSlackChannelConfigurationProps { * @param userRoleRequired Enables use of a user role requirement in your chat configuration. */ override fun userRoleRequired(userRoleRequired: IResolvable) { - cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable::unwrap)) + cdkBuilder.userRoleRequired(userRoleRequired.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.chatbot.CfnSlackChannelConfigurationProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/ISlackChannelConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/ISlackChannelConfiguration.kt index 06f96aedfa..6512290a54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/ISlackChannelConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/ISlackChannelConfiguration.kt @@ -95,7 +95,7 @@ public interface ISlackChannelConfiguration : IResource, IGrantable, INotificati * @param statement */ override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public interface ISlackChannelConfiguration : IResource, IGrantable, INotificati * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface ISlackChannelConfiguration : IResource, IGrantable, INotificati * @param scope */ override fun bindAsNotificationRuleTarget(scope: Construct): NotificationRuleTargetConfig = - unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct::unwrap)).let(NotificationRuleTargetConfig::wrap) + unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct.Companion::unwrap)).let(NotificationRuleTargetConfig::wrap) /** * The environment this resource belongs to. @@ -167,7 +167,8 @@ public interface ISlackChannelConfiguration : IResource, IGrantable, INotificati * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this SlackChannelConfiguration. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfiguration.kt index 0720291358..6afeeb8b98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfiguration.kt @@ -46,8 +46,8 @@ public open class SlackChannelConfiguration( id: String, props: SlackChannelConfigurationProps, ) : - this(software.amazon.awscdk.services.chatbot.SlackChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SlackChannelConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.chatbot.SlackChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SlackChannelConfigurationProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class SlackChannelConfiguration( * @param notificationTopic */ public open fun addNotificationTopic(notificationTopic: ITopic) { - unwrap(this).addNotificationTopic(notificationTopic.let(ITopic::unwrap)) + unwrap(this).addNotificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public open class SlackChannelConfiguration( * @param statement */ public override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public open class SlackChannelConfiguration( */ public override fun bindAsNotificationRuleTarget(scope: CloudshiftdevConstructsConstruct): NotificationRuleTargetConfig = - unwrap(this).bindAsNotificationRuleTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap)).let(NotificationRuleTargetConfig::wrap) + unwrap(this).bindAsNotificationRuleTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(NotificationRuleTargetConfig::wrap) /** * The principal to grant permissions to. @@ -116,7 +116,7 @@ public open class SlackChannelConfiguration( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this SlackChannelConfiguration. @@ -316,7 +316,7 @@ public open class SlackChannelConfiguration( * guardrails. */ override fun guardrailPolicies(guardrailPolicies: List) { - cdkBuilder.guardrailPolicies(guardrailPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.guardrailPolicies(guardrailPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class SlackChannelConfiguration( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class SlackChannelConfiguration( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class SlackChannelConfiguration( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class SlackChannelConfiguration( * @param loggingLevel Specifies the logging level for this configuration. */ override fun loggingLevel(loggingLevel: LoggingLevel) { - cdkBuilder.loggingLevel(loggingLevel.let(LoggingLevel::unwrap)) + cdkBuilder.loggingLevel(loggingLevel.let(LoggingLevel.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class SlackChannelConfiguration( * @param notificationTopics The SNS topics that deliver notifications to AWS Chatbot. */ override fun notificationTopics(notificationTopics: List) { - cdkBuilder.notificationTopics(notificationTopics.map(ITopic::unwrap)) + cdkBuilder.notificationTopics(notificationTopics.map(ITopic.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class SlackChannelConfiguration( * @param role The permission role of Slack channel configuration. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class SlackChannelConfiguration( id: String, slackChannelConfigurationArn: String, ): ISlackChannelConfiguration = - software.amazon.awscdk.services.chatbot.SlackChannelConfiguration.fromSlackChannelConfigurationArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.chatbot.SlackChannelConfiguration.fromSlackChannelConfigurationArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, slackChannelConfigurationArn).let(ISlackChannelConfiguration::wrap) public fun metricAll(metricName: String): Metric = @@ -492,7 +492,7 @@ public open class SlackChannelConfiguration( public fun metricAll(metricName: String, props: MetricOptions): Metric = software.amazon.awscdk.services.chatbot.SlackChannelConfiguration.metricAll(metricName, - props.let(MetricOptions::unwrap)).let(Metric::wrap) + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc2edb7e8860d33b2c02a5d62b7557e31ca2fd399a100f3532bebaf81fa8a856") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfigurationProps.kt index d295780861..9b727ec831 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/chatbot/SlackChannelConfigurationProps.kt @@ -226,7 +226,7 @@ public interface SlackChannelConfigurationProps { * guardrails. */ override fun guardrailPolicies(guardrailPolicies: List) { - cdkBuilder.guardrailPolicies(guardrailPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.guardrailPolicies(guardrailPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface SlackChannelConfigurationProps { * remove the retention policy, set the value to `INFINITE`. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface SlackChannelConfigurationProps { * These options control the retry policy when interacting with CloudWatch APIs. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface SlackChannelConfigurationProps { * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -279,14 +279,14 @@ public interface SlackChannelConfigurationProps { * This property affects the log entries pushed to Amazon CloudWatch Logs. */ override fun loggingLevel(loggingLevel: LoggingLevel) { - cdkBuilder.loggingLevel(loggingLevel.let(LoggingLevel::unwrap)) + cdkBuilder.loggingLevel(loggingLevel.let(LoggingLevel.Companion::unwrap)) } /** * @param notificationTopics The SNS topics that deliver notifications to AWS Chatbot. */ override fun notificationTopics(notificationTopics: List) { - cdkBuilder.notificationTopics(notificationTopics.map(ITopic::unwrap)) + cdkBuilder.notificationTopics(notificationTopics.map(ITopic.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface SlackChannelConfigurationProps { * @param role The permission role of Slack channel configuration. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplate.kt index 7cede92422..2ba8af51f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplate.kt @@ -62,8 +62,8 @@ public open class CfnAnalysisTemplate( id: String, props: CfnAnalysisTemplateProps, ) : - this(software.amazon.awscdk.services.cleanrooms.CfnAnalysisTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnalysisTemplateProps::unwrap)) + this(software.amazon.awscdk.services.cleanrooms.CfnAnalysisTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnalysisTemplateProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnAnalysisTemplate( * The parameters of the analysis template. */ public open fun analysisParameters(`value`: IResolvable) { - unwrap(this).setAnalysisParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnalysisParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnAnalysisTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnAnalysisTemplate( * The source of the analysis template. */ public open fun source(`value`: IResolvable) { - unwrap(this).setSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The source of the analysis template. */ public open fun source(`value`: AnalysisSourceProperty) { - unwrap(this).setSource(`value`.let(AnalysisSourceProperty::unwrap)) + unwrap(this).setSource(`value`.let(AnalysisSourceProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnAnalysisTemplate( * An optional label that you can assign to a resource when you create it. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CfnAnalysisTemplate( * @param analysisParameters The parameters of the analysis template. */ override fun analysisParameters(analysisParameters: IResolvable) { - cdkBuilder.analysisParameters(analysisParameters.let(IResolvable::unwrap)) + cdkBuilder.analysisParameters(analysisParameters.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnAnalysisTemplate( * @param source The source of the analysis template. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public open class CfnAnalysisTemplate( * @param source The source of the analysis template. */ override fun source(source: AnalysisSourceProperty) { - cdkBuilder.source(source.let(AnalysisSourceProperty::unwrap)) + cdkBuilder.source(source.let(AnalysisSourceProperty.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnAnalysisTemplate( * @param tags An optional label that you can assign to a resource when you create it. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplateProps.kt index 6fea64d658..6a42f825fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnAnalysisTemplateProps.kt @@ -183,7 +183,7 @@ public interface CfnAnalysisTemplateProps { * @param analysisParameters The parameters of the analysis template. */ override fun analysisParameters(analysisParameters: IResolvable) { - cdkBuilder.analysisParameters(analysisParameters.let(IResolvable::unwrap)) + cdkBuilder.analysisParameters(analysisParameters.let(IResolvable.Companion::unwrap)) } /** @@ -231,14 +231,14 @@ public interface CfnAnalysisTemplateProps { * @param source The source of the analysis template. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The source of the analysis template. */ override fun source(source: CfnAnalysisTemplate.AnalysisSourceProperty) { - cdkBuilder.source(source.let(CfnAnalysisTemplate.AnalysisSourceProperty::unwrap)) + cdkBuilder.source(source.let(CfnAnalysisTemplate.AnalysisSourceProperty.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnAnalysisTemplateProps { * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaboration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaboration.kt index bd1898b87b..609d22c4b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaboration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaboration.kt @@ -76,8 +76,8 @@ public open class CfnCollaboration( id: String, props: CfnCollaborationProps, ) : - this(software.amazon.awscdk.services.cleanrooms.CfnCollaboration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCollaborationProps::unwrap)) + this(software.amazon.awscdk.services.cleanrooms.CfnCollaboration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCollaborationProps.Companion::unwrap)) ) public constructor( @@ -151,7 +151,7 @@ public open class CfnCollaboration( * collaboration creator. */ public open fun creatorPaymentConfiguration(`value`: IResolvable) { - unwrap(this).setCreatorPaymentConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreatorPaymentConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnCollaboration( * collaboration creator. */ public open fun creatorPaymentConfiguration(`value`: PaymentConfigurationProperty) { - unwrap(this).setCreatorPaymentConfiguration(`value`.let(PaymentConfigurationProperty::unwrap)) + unwrap(this).setCreatorPaymentConfiguration(`value`.let(PaymentConfigurationProperty.Companion::unwrap)) } /** @@ -181,14 +181,14 @@ public open class CfnCollaboration( * The settings for client-side encryption for cryptographic computing. */ public open fun dataEncryptionMetadata(`value`: IResolvable) { - unwrap(this).setDataEncryptionMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataEncryptionMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for client-side encryption for cryptographic computing. */ public open fun dataEncryptionMetadata(`value`: DataEncryptionMetadataProperty) { - unwrap(this).setDataEncryptionMetadata(`value`.let(DataEncryptionMetadataProperty::unwrap)) + unwrap(this).setDataEncryptionMetadata(`value`.let(DataEncryptionMetadataProperty.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnCollaboration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnCollaboration( * A list of initial members, not including the creator. */ public open fun members(`value`: IResolvable) { - unwrap(this).setMembers(`value`.let(IResolvable::unwrap)) + unwrap(this).setMembers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnCollaboration( * An optional label that you can assign to a resource when you create it. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnCollaboration( * responsibilities set by the collaboration creator. */ override fun creatorPaymentConfiguration(creatorPaymentConfiguration: IResolvable) { - cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnCollaboration( */ override fun creatorPaymentConfiguration(creatorPaymentConfiguration: PaymentConfigurationProperty) { - cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(PaymentConfigurationProperty::unwrap)) + cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(PaymentConfigurationProperty.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnCollaboration( * computing. */ override fun dataEncryptionMetadata(dataEncryptionMetadata: IResolvable) { - cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(IResolvable::unwrap)) + cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class CfnCollaboration( * computing. */ override fun dataEncryptionMetadata(dataEncryptionMetadata: DataEncryptionMetadataProperty) { - cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(DataEncryptionMetadataProperty::unwrap)) + cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(DataEncryptionMetadataProperty.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public open class CfnCollaboration( * @param members A list of initial members, not including the creator. */ override fun members(members: IResolvable) { - cdkBuilder.members(members.let(IResolvable::unwrap)) + cdkBuilder.members(members.let(IResolvable.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public open class CfnCollaboration( * @param tags An optional label that you can assign to a resource when you create it. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public open class CfnCollaboration( * `TRUE` ) or are to cryptographically process every column ( `FALSE` ). */ override fun allowCleartext(allowCleartext: IResolvable) { - cdkBuilder.allowCleartext(allowCleartext.let(IResolvable::unwrap)) + cdkBuilder.allowCleartext(allowCleartext.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnCollaboration( * ( `TRUE` ) or are to contain only non-repeated values ( `FALSE` ). */ override fun allowDuplicates(allowDuplicates: IResolvable) { - cdkBuilder.allowDuplicates(allowDuplicates.let(IResolvable::unwrap)) + cdkBuilder.allowDuplicates(allowDuplicates.let(IResolvable.Companion::unwrap)) } /** @@ -865,7 +865,7 @@ public open class CfnCollaboration( */ override fun allowJoinsOnColumnsWithDifferentNames(allowJoinsOnColumnsWithDifferentNames: IResolvable) { - cdkBuilder.allowJoinsOnColumnsWithDifferentNames(allowJoinsOnColumnsWithDifferentNames.let(IResolvable::unwrap)) + cdkBuilder.allowJoinsOnColumnsWithDifferentNames(allowJoinsOnColumnsWithDifferentNames.let(IResolvable.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public open class CfnCollaboration( * tables ( `TRUE` ) or cryptographically processed ( `FALSE` ). */ override fun preserveNulls(preserveNulls: IResolvable) { - cdkBuilder.preserveNulls(preserveNulls.let(IResolvable::unwrap)) + cdkBuilder.preserveNulls(preserveNulls.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1104,7 +1104,7 @@ public open class CfnCollaboration( * costs, then the member who can query is the default payer. */ override fun paymentConfiguration(paymentConfiguration: IResolvable) { - cdkBuilder.paymentConfiguration(paymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paymentConfiguration(paymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1114,7 +1114,7 @@ public open class CfnCollaboration( * costs, then the member who can query is the default payer. */ override fun paymentConfiguration(paymentConfiguration: PaymentConfigurationProperty) { - cdkBuilder.paymentConfiguration(paymentConfiguration.let(PaymentConfigurationProperty::unwrap)) + cdkBuilder.paymentConfiguration(paymentConfiguration.let(PaymentConfigurationProperty.Companion::unwrap)) } /** @@ -1257,7 +1257,7 @@ public open class CfnCollaboration( * collaboration creator for query compute costs. */ override fun queryCompute(queryCompute: IResolvable) { - cdkBuilder.queryCompute(queryCompute.let(IResolvable::unwrap)) + cdkBuilder.queryCompute(queryCompute.let(IResolvable.Companion::unwrap)) } /** @@ -1265,7 +1265,7 @@ public open class CfnCollaboration( * collaboration creator for query compute costs. */ override fun queryCompute(queryCompute: QueryComputePaymentConfigProperty) { - cdkBuilder.queryCompute(queryCompute.let(QueryComputePaymentConfigProperty::unwrap)) + cdkBuilder.queryCompute(queryCompute.let(QueryComputePaymentConfigProperty.Companion::unwrap)) } /** @@ -1416,7 +1416,7 @@ public open class CfnCollaboration( * collaboration creator sets a `FALSE` value for the member who can query. */ override fun isResponsible(isResponsible: IResolvable) { - cdkBuilder.isResponsible(isResponsible.let(IResolvable::unwrap)) + cdkBuilder.isResponsible(isResponsible.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaborationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaborationProps.kt index bd4cc04be0..990792cce4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaborationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnCollaborationProps.kt @@ -284,7 +284,7 @@ public interface CfnCollaborationProps { * responsibilities set by the collaboration creator. */ override fun creatorPaymentConfiguration(creatorPaymentConfiguration: IResolvable) { - cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CfnCollaborationProps { */ override fun creatorPaymentConfiguration(creatorPaymentConfiguration: CfnCollaboration.PaymentConfigurationProperty) { - cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(CfnCollaboration.PaymentConfigurationProperty::unwrap)) + cdkBuilder.creatorPaymentConfiguration(creatorPaymentConfiguration.let(CfnCollaboration.PaymentConfigurationProperty.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface CfnCollaborationProps { * computing. */ override fun dataEncryptionMetadata(dataEncryptionMetadata: IResolvable) { - cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(IResolvable::unwrap)) + cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface CfnCollaborationProps { */ override fun dataEncryptionMetadata(dataEncryptionMetadata: CfnCollaboration.DataEncryptionMetadataProperty) { - cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(CfnCollaboration.DataEncryptionMetadataProperty::unwrap)) + cdkBuilder.dataEncryptionMetadata(dataEncryptionMetadata.let(CfnCollaboration.DataEncryptionMetadataProperty.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public interface CfnCollaborationProps { * This list is immutable. */ override fun members(members: IResolvable) { - cdkBuilder.members(members.let(IResolvable::unwrap)) + cdkBuilder.members(members.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public interface CfnCollaborationProps { * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTable.kt index 4198b53e49..0fe57dd6d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTable.kt @@ -100,8 +100,8 @@ public open class CfnConfiguredTable( id: String, props: CfnConfiguredTableProps, ) : - this(software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfiguredTableProps::unwrap)) + this(software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfiguredTableProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CfnConfiguredTable( * The entire created analysis rule. */ public open fun analysisRules(`value`: IResolvable) { - unwrap(this).setAnalysisRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnalysisRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnConfiguredTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -228,14 +228,14 @@ public open class CfnConfiguredTable( * The AWS Glue table that this configured table represents. */ public open fun tableReference(`value`: IResolvable) { - unwrap(this).setTableReference(`value`.let(IResolvable::unwrap)) + unwrap(this).setTableReference(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS Glue table that this configured table represents. */ public open fun tableReference(`value`: TableReferenceProperty) { - unwrap(this).setTableReference(`value`.let(TableReferenceProperty::unwrap)) + unwrap(this).setTableReference(`value`.let(TableReferenceProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnConfiguredTable( * An optional label that you can assign to a resource when you create it. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnConfiguredTable( * @param analysisRules The entire created analysis rule. */ override fun analysisRules(analysisRules: IResolvable) { - cdkBuilder.analysisRules(analysisRules.let(IResolvable::unwrap)) + cdkBuilder.analysisRules(analysisRules.let(IResolvable.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnConfiguredTable( * @param tableReference The AWS Glue table that this configured table represents. */ override fun tableReference(tableReference: IResolvable) { - cdkBuilder.tableReference(tableReference.let(IResolvable::unwrap)) + cdkBuilder.tableReference(tableReference.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnConfiguredTable( * @param tableReference The AWS Glue table that this configured table represents. */ override fun tableReference(tableReference: TableReferenceProperty) { - cdkBuilder.tableReference(tableReference.let(TableReferenceProperty::unwrap)) + cdkBuilder.tableReference(tableReference.let(TableReferenceProperty.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CfnConfiguredTable( * @param tags An optional label that you can assign to a resource when you create it. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1038,7 +1038,7 @@ public open class CfnConfiguredTable( * queries. */ override fun aggregateColumns(aggregateColumns: IResolvable) { - cdkBuilder.aggregateColumns(aggregateColumns.let(IResolvable::unwrap)) + cdkBuilder.aggregateColumns(aggregateColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1117,7 +1117,7 @@ public open class CfnConfiguredTable( * aggregation function is applied to it) for each output row to be returned. */ override fun outputConstraints(outputConstraints: IResolvable) { - cdkBuilder.outputConstraints(outputConstraints.let(IResolvable::unwrap)) + cdkBuilder.outputConstraints(outputConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -1378,14 +1378,14 @@ public open class CfnConfiguredTable( * @param differentialPrivacy The differential privacy configuration. */ override fun differentialPrivacy(differentialPrivacy: IResolvable) { - cdkBuilder.differentialPrivacy(differentialPrivacy.let(IResolvable::unwrap)) + cdkBuilder.differentialPrivacy(differentialPrivacy.let(IResolvable.Companion::unwrap)) } /** * @param differentialPrivacy The differential privacy configuration. */ override fun differentialPrivacy(differentialPrivacy: DifferentialPrivacyProperty) { - cdkBuilder.differentialPrivacy(differentialPrivacy.let(DifferentialPrivacyProperty::unwrap)) + cdkBuilder.differentialPrivacy(differentialPrivacy.let(DifferentialPrivacyProperty.Companion::unwrap)) } /** @@ -1742,14 +1742,14 @@ public open class CfnConfiguredTable( * @param policy A policy that describes the associated data usage limitations. */ override fun policy(policy: IResolvable) { - cdkBuilder.policy(policy.let(IResolvable::unwrap)) + cdkBuilder.policy(policy.let(IResolvable.Companion::unwrap)) } /** * @param policy A policy that describes the associated data usage limitations. */ override fun policy(policy: ConfiguredTableAnalysisRulePolicyProperty) { - cdkBuilder.policy(policy.let(ConfiguredTableAnalysisRulePolicyProperty::unwrap)) + cdkBuilder.policy(policy.let(ConfiguredTableAnalysisRulePolicyProperty.Companion::unwrap)) } /** @@ -1900,14 +1900,14 @@ public open class CfnConfiguredTable( * @param v1 Controls on the query specifications that can be run on a configured table. */ override fun v1(v1: IResolvable) { - cdkBuilder.v1(v1.let(IResolvable::unwrap)) + cdkBuilder.v1(v1.let(IResolvable.Companion::unwrap)) } /** * @param v1 Controls on the query specifications that can be run on a configured table. */ override fun v1(v1: ConfiguredTableAnalysisRulePolicyV1Property) { - cdkBuilder.v1(v1.let(ConfiguredTableAnalysisRulePolicyV1Property::unwrap)) + cdkBuilder.v1(v1.let(ConfiguredTableAnalysisRulePolicyV1Property.Companion::unwrap)) } /** @@ -2095,7 +2095,7 @@ public open class CfnConfiguredTable( * table. */ override fun aggregation(aggregation: IResolvable) { - cdkBuilder.aggregation(aggregation.let(IResolvable::unwrap)) + cdkBuilder.aggregation(aggregation.let(IResolvable.Companion::unwrap)) } /** @@ -2103,7 +2103,7 @@ public open class CfnConfiguredTable( * table. */ override fun aggregation(aggregation: AnalysisRuleAggregationProperty) { - cdkBuilder.aggregation(aggregation.let(AnalysisRuleAggregationProperty::unwrap)) + cdkBuilder.aggregation(aggregation.let(AnalysisRuleAggregationProperty.Companion::unwrap)) } /** @@ -2119,14 +2119,14 @@ public open class CfnConfiguredTable( * @param custom Analysis rule type that enables custom SQL queries on a configured table. */ override fun custom(custom: IResolvable) { - cdkBuilder.custom(custom.let(IResolvable::unwrap)) + cdkBuilder.custom(custom.let(IResolvable.Companion::unwrap)) } /** * @param custom Analysis rule type that enables custom SQL queries on a configured table. */ override fun custom(custom: AnalysisRuleCustomProperty) { - cdkBuilder.custom(custom.let(AnalysisRuleCustomProperty::unwrap)) + cdkBuilder.custom(custom.let(AnalysisRuleCustomProperty.Companion::unwrap)) } /** @@ -2141,14 +2141,14 @@ public open class CfnConfiguredTable( * @param list Analysis rule type that enables only list queries on a configured table. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** * @param list Analysis rule type that enables only list queries on a configured table. */ override fun list(list: AnalysisRuleListProperty) { - cdkBuilder.list(list.let(AnalysisRuleListProperty::unwrap)) + cdkBuilder.list(list.let(AnalysisRuleListProperty.Companion::unwrap)) } /** @@ -2382,7 +2382,7 @@ public open class CfnConfiguredTable( * must configure the same column as the user identifier column in both analysis rules. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -2616,7 +2616,7 @@ public open class CfnConfiguredTable( * reference. */ override fun glue(glue: IResolvable) { - cdkBuilder.glue(glue.let(IResolvable::unwrap)) + cdkBuilder.glue(glue.let(IResolvable.Companion::unwrap)) } /** @@ -2624,7 +2624,7 @@ public open class CfnConfiguredTable( * reference. */ override fun glue(glue: GlueTableReferenceProperty) { - cdkBuilder.glue(glue.let(GlueTableReferenceProperty::unwrap)) + cdkBuilder.glue(glue.let(GlueTableReferenceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociation.kt index 01da4eabda..1faf9ba928 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociation.kt @@ -51,8 +51,8 @@ public open class CfnConfiguredTableAssociation( id: String, props: CfnConfiguredTableAssociationProps, ) : - this(software.amazon.awscdk.services.cleanrooms.CfnConfiguredTableAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfiguredTableAssociationProps::unwrap)) + this(software.amazon.awscdk.services.cleanrooms.CfnConfiguredTableAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfiguredTableAssociationProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnConfiguredTableAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnConfiguredTableAssociation( * An optional label that you can assign to a resource when you create it. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnConfiguredTableAssociation( * @param tags An optional label that you can assign to a resource when you create it. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociationProps.kt index b920d58455..06c0b1914e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableAssociationProps.kt @@ -194,7 +194,7 @@ public interface CfnConfiguredTableAssociationProps { * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableProps.kt index 18341ffae5..cc73228f2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnConfiguredTableProps.kt @@ -254,7 +254,7 @@ public interface CfnConfiguredTableProps { * @param analysisRules The entire created analysis rule. */ override fun analysisRules(analysisRules: IResolvable) { - cdkBuilder.analysisRules(analysisRules.let(IResolvable::unwrap)) + cdkBuilder.analysisRules(analysisRules.let(IResolvable.Companion::unwrap)) } /** @@ -288,14 +288,14 @@ public interface CfnConfiguredTableProps { * @param tableReference The AWS Glue table that this configured table represents. */ override fun tableReference(tableReference: IResolvable) { - cdkBuilder.tableReference(tableReference.let(IResolvable::unwrap)) + cdkBuilder.tableReference(tableReference.let(IResolvable.Companion::unwrap)) } /** * @param tableReference The AWS Glue table that this configured table represents. */ override fun tableReference(tableReference: CfnConfiguredTable.TableReferenceProperty) { - cdkBuilder.tableReference(tableReference.let(CfnConfiguredTable.TableReferenceProperty::unwrap)) + cdkBuilder.tableReference(tableReference.let(CfnConfiguredTable.TableReferenceProperty.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface CfnConfiguredTableProps { * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembership.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembership.kt index 39e2b4bd1b..0010fcef1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembership.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembership.kt @@ -68,8 +68,8 @@ public open class CfnMembership( id: String, props: CfnMembershipProps, ) : - this(software.amazon.awscdk.services.cleanrooms.CfnMembership(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMembershipProps::unwrap)) + this(software.amazon.awscdk.services.cleanrooms.CfnMembership(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMembershipProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class CfnMembership( * results. */ public open fun defaultResultConfiguration(`value`: IResolvable) { - unwrap(this).setDefaultResultConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultResultConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnMembership( */ public open fun defaultResultConfiguration(`value`: MembershipProtectedQueryResultConfigurationProperty) { - unwrap(this).setDefaultResultConfiguration(`value`.let(MembershipProtectedQueryResultConfigurationProperty::unwrap)) + unwrap(this).setDefaultResultConfiguration(`value`.let(MembershipProtectedQueryResultConfigurationProperty.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnMembership( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -180,14 +180,14 @@ public open class CfnMembership( * The payment responsibilities accepted by the collaboration member. */ public open fun paymentConfiguration(`value`: IResolvable) { - unwrap(this).setPaymentConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPaymentConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The payment responsibilities accepted by the collaboration member. */ public open fun paymentConfiguration(`value`: MembershipPaymentConfigurationProperty) { - unwrap(this).setPaymentConfiguration(`value`.let(MembershipPaymentConfigurationProperty::unwrap)) + unwrap(this).setPaymentConfiguration(`value`.let(MembershipPaymentConfigurationProperty.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnMembership( * An optional label that you can assign to a resource when you create it. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnMembership( * specified by the member who can receive results. */ override fun defaultResultConfiguration(defaultResultConfiguration: IResolvable) { - cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnMembership( */ override fun defaultResultConfiguration(defaultResultConfiguration: MembershipProtectedQueryResultConfigurationProperty) { - cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(MembershipProtectedQueryResultConfigurationProperty::unwrap)) + cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(MembershipProtectedQueryResultConfigurationProperty.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CfnMembership( * member. */ override fun paymentConfiguration(paymentConfiguration: IResolvable) { - cdkBuilder.paymentConfiguration(paymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paymentConfiguration(paymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnMembership( */ override fun paymentConfiguration(paymentConfiguration: MembershipPaymentConfigurationProperty) { - cdkBuilder.paymentConfiguration(paymentConfiguration.let(MembershipPaymentConfigurationProperty::unwrap)) + cdkBuilder.paymentConfiguration(paymentConfiguration.let(MembershipPaymentConfigurationProperty.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnMembership( * @param tags An optional label that you can assign to a resource when you create it. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class CfnMembership( * query compute costs. */ override fun queryCompute(queryCompute: IResolvable) { - cdkBuilder.queryCompute(queryCompute.let(IResolvable::unwrap)) + cdkBuilder.queryCompute(queryCompute.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnMembership( * query compute costs. */ override fun queryCompute(queryCompute: MembershipQueryComputePaymentConfigProperty) { - cdkBuilder.queryCompute(queryCompute.let(MembershipQueryComputePaymentConfigProperty::unwrap)) + cdkBuilder.queryCompute(queryCompute.let(MembershipQueryComputePaymentConfigProperty.Companion::unwrap)) } /** @@ -679,14 +679,14 @@ public open class CfnMembership( * @param s3 Required configuration for a protected query with an `S3` output type. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Required configuration for a protected query with an `S3` output type. */ override fun s3(s3: ProtectedQueryS3OutputConfigurationProperty) { - cdkBuilder.s3(s3.let(ProtectedQueryS3OutputConfigurationProperty::unwrap)) + cdkBuilder.s3(s3.let(ProtectedQueryS3OutputConfigurationProperty.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public open class CfnMembership( * @param outputConfiguration Configuration for protected query results. */ override fun outputConfiguration(outputConfiguration: IResolvable) { - cdkBuilder.outputConfiguration(outputConfiguration.let(IResolvable::unwrap)) + cdkBuilder.outputConfiguration(outputConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public open class CfnMembership( */ override fun outputConfiguration(outputConfiguration: MembershipProtectedQueryOutputConfigurationProperty) { - cdkBuilder.outputConfiguration(outputConfiguration.let(MembershipProtectedQueryOutputConfigurationProperty::unwrap)) + cdkBuilder.outputConfiguration(outputConfiguration.let(MembershipProtectedQueryOutputConfigurationProperty.Companion::unwrap)) } /** @@ -996,7 +996,7 @@ public open class CfnMembership( * costs. */ override fun isResponsible(isResponsible: IResolvable) { - cdkBuilder.isResponsible(isResponsible.let(IResolvable::unwrap)) + cdkBuilder.isResponsible(isResponsible.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembershipProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembershipProps.kt index 3be5e27137..0ec4f102f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembershipProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnMembershipProps.kt @@ -186,7 +186,7 @@ public interface CfnMembershipProps { * specified by the member who can receive results. */ override fun defaultResultConfiguration(defaultResultConfiguration: IResolvable) { - cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public interface CfnMembershipProps { */ override fun defaultResultConfiguration(defaultResultConfiguration: CfnMembership.MembershipProtectedQueryResultConfigurationProperty) { - cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(CfnMembership.MembershipProtectedQueryResultConfigurationProperty::unwrap)) + cdkBuilder.defaultResultConfiguration(defaultResultConfiguration.let(CfnMembership.MembershipProtectedQueryResultConfigurationProperty.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface CfnMembershipProps { * member. */ override fun paymentConfiguration(paymentConfiguration: IResolvable) { - cdkBuilder.paymentConfiguration(paymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paymentConfiguration(paymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface CfnMembershipProps { */ override fun paymentConfiguration(paymentConfiguration: CfnMembership.MembershipPaymentConfigurationProperty) { - cdkBuilder.paymentConfiguration(paymentConfiguration.let(CfnMembership.MembershipPaymentConfigurationProperty::unwrap)) + cdkBuilder.paymentConfiguration(paymentConfiguration.let(CfnMembership.MembershipPaymentConfigurationProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface CfnMembershipProps { * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplate.kt index ecbc510132..189bf6d1c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplate.kt @@ -57,8 +57,8 @@ public open class CfnPrivacyBudgetTemplate( id: String, props: CfnPrivacyBudgetTemplateProps, ) : - this(software.amazon.awscdk.services.cleanrooms.CfnPrivacyBudgetTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPrivacyBudgetTemplateProps::unwrap)) + this(software.amazon.awscdk.services.cleanrooms.CfnPrivacyBudgetTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPrivacyBudgetTemplateProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnPrivacyBudgetTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,14 +146,14 @@ public open class CfnPrivacyBudgetTemplate( * Specifies the epislon and noise parameters for the privacy budget template. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the epislon and noise parameters for the privacy budget template. */ public open fun parameters(`value`: ParametersProperty) { - unwrap(this).setParameters(`value`.let(ParametersProperty::unwrap)) + unwrap(this).setParameters(`value`.let(ParametersProperty.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnPrivacyBudgetTemplate( * An arbitrary set of tags (key-value pairs) for this cleanrooms privacy budget template. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnPrivacyBudgetTemplate( * */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnPrivacyBudgetTemplate( * */ override fun parameters(parameters: ParametersProperty) { - cdkBuilder.parameters(parameters.let(ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(ParametersProperty.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class CfnPrivacyBudgetTemplate( * template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplateProps.kt index 1961182d55..f6bced084a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanrooms/CfnPrivacyBudgetTemplateProps.kt @@ -175,7 +175,7 @@ public interface CfnPrivacyBudgetTemplateProps { * */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface CfnPrivacyBudgetTemplateProps { * */ override fun parameters(parameters: CfnPrivacyBudgetTemplate.ParametersProperty) { - cdkBuilder.parameters(parameters.let(CfnPrivacyBudgetTemplate.ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(CfnPrivacyBudgetTemplate.ParametersProperty.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnPrivacyBudgetTemplateProps { * template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDataset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDataset.kt index 69ba6c08c8..f434891878 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDataset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDataset.kt @@ -72,8 +72,8 @@ public open class CfnTrainingDataset( id: String, props: CfnTrainingDatasetProps, ) : - this(software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrainingDatasetProps::unwrap)) + this(software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrainingDatasetProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnTrainingDataset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnTrainingDataset( * The optional metadata that you apply to the resource to help you categorize and organize them. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnTrainingDataset( * details on its location and schema. */ public open fun trainingData(`value`: IResolvable) { - unwrap(this).setTrainingData(`value`.let(IResolvable::unwrap)) + unwrap(this).setTrainingData(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnTrainingDataset( * organize them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnTrainingDataset( * the dataset type and details on its location and schema. */ override fun trainingData(trainingData: IResolvable) { - cdkBuilder.trainingData(trainingData.let(IResolvable::unwrap)) + cdkBuilder.trainingData(trainingData.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public open class CfnTrainingDataset( * and table name for the training data. */ override fun glueDataSource(glueDataSource: IResolvable) { - cdkBuilder.glueDataSource(glueDataSource.let(IResolvable::unwrap)) + cdkBuilder.glueDataSource(glueDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public open class CfnTrainingDataset( * and table name for the training data. */ override fun glueDataSource(glueDataSource: GlueDataSourceProperty) { - cdkBuilder.glueDataSource(glueDataSource.let(GlueDataSourceProperty::unwrap)) + cdkBuilder.glueDataSource(glueDataSource.let(GlueDataSourceProperty.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public open class CfnTrainingDataset( * data. */ override fun dataSource(dataSource: IResolvable) { - cdkBuilder.dataSource(dataSource.let(IResolvable::unwrap)) + cdkBuilder.dataSource(dataSource.let(IResolvable.Companion::unwrap)) } /** @@ -802,7 +802,7 @@ public open class CfnTrainingDataset( * data. */ override fun dataSource(dataSource: DataSourceProperty) { - cdkBuilder.dataSource(dataSource.let(DataSourceProperty::unwrap)) + cdkBuilder.dataSource(dataSource.let(DataSourceProperty.Companion::unwrap)) } /** @@ -818,7 +818,7 @@ public open class CfnTrainingDataset( * @param schema The schema information for the training data. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public open class CfnTrainingDataset( * mapping. */ override fun inputConfig(inputConfig: IResolvable) { - cdkBuilder.inputConfig(inputConfig.let(IResolvable::unwrap)) + cdkBuilder.inputConfig(inputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -969,7 +969,7 @@ public open class CfnTrainingDataset( * mapping. */ override fun inputConfig(inputConfig: DatasetInputConfigProperty) { - cdkBuilder.inputConfig(inputConfig.let(DatasetInputConfigProperty::unwrap)) + cdkBuilder.inputConfig(inputConfig.let(DatasetInputConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDatasetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDatasetProps.kt index 3365745875..6b4a16daf9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDatasetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cleanroomsml/CfnTrainingDatasetProps.kt @@ -231,7 +231,7 @@ public interface CfnTrainingDatasetProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface CfnTrainingDatasetProps { * You must provide a role that has read access to these tables. */ override fun trainingData(trainingData: IResolvable) { - cdkBuilder.trainingData(trainingData.let(IResolvable::unwrap)) + cdkBuilder.trainingData(trainingData.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2.kt index 2c4a712a38..ebd89045b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2.kt @@ -66,8 +66,8 @@ public open class CfnEnvironmentEC2( id: String, props: CfnEnvironmentEC2Props, ) : - this(software.amazon.awscdk.services.cloud9.CfnEnvironmentEC2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentEC2Props::unwrap)) + this(software.amazon.awscdk.services.cloud9.CfnEnvironmentEC2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentEC2Props.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CfnEnvironmentEC2( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnEnvironmentEC2( * Any AWS CodeCommit source code repositories to be cloned into the development environment. */ public open fun repositories(`value`: IResolvable) { - unwrap(this).setRepositories(`value`.let(IResolvable::unwrap)) + unwrap(this).setRepositories(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnEnvironmentEC2( * environment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnEnvironmentEC2( * development environment. */ override fun repositories(repositories: IResolvable) { - cdkBuilder.repositories(repositories.let(IResolvable::unwrap)) + cdkBuilder.repositories(repositories.let(IResolvable.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public open class CfnEnvironmentEC2( * development environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2Props.kt index 0707577593..66a900ed91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloud9/CfnEnvironmentEC2Props.kt @@ -350,7 +350,7 @@ public interface CfnEnvironmentEC2Props { * development environment. */ override fun repositories(repositories: IResolvable) { - cdkBuilder.repositories(repositories.let(IResolvable::unwrap)) + cdkBuilder.repositories(repositories.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface CfnEnvironmentEC2Props { * development environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnCustomResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnCustomResource.kt index f20f931fe6..51e96959a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnCustomResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnCustomResource.kt @@ -54,8 +54,8 @@ public open class CfnCustomResource( id: String, props: CfnCustomResourceProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnCustomResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomResourceProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnCustomResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomResourceProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnCustomResource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookDefaultVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookDefaultVersion.kt index 9b86c76f4d..84b01eb42e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookDefaultVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookDefaultVersion.kt @@ -37,7 +37,7 @@ public open class CfnHookDefaultVersion( cdkObject: software.amazon.awscdk.services.cloudformation.CfnHookDefaultVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class CfnHookDefaultVersion( id: String, props: CfnHookDefaultVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHookDefaultVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnHookDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookDefaultVersionProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class CfnHookDefaultVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookTypeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookTypeConfig.kt index aea92a4ea0..80d73aeb79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookTypeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookTypeConfig.kt @@ -40,8 +40,8 @@ public open class CfnHookTypeConfig( id: String, props: CfnHookTypeConfigProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnHookTypeConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHookTypeConfigProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnHookTypeConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookTypeConfigProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnHookTypeConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersion.kt index 6ec2fe1c25..3a58c82c3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersion.kt @@ -48,8 +48,8 @@ public open class CfnHookVersion( id: String, props: CfnHookVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnHookVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHookVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnHookVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHookVersionProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnHookVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,14 +121,14 @@ public open class CfnHookVersion( * Contains logging configuration information for an extension. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains logging configuration information for an extension. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnHookVersion( * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnHookVersion( * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersionProps.kt index 3f1a6f28fb..8095de521e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnHookVersionProps.kt @@ -174,14 +174,14 @@ public interface CfnHookVersionProps { * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig Contains logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: CfnHookVersion.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnHookVersion.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnHookVersion.LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnMacro.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnMacro.kt index 988ba82269..7e37935e72 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnMacro.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnMacro.kt @@ -44,8 +44,8 @@ public open class CfnMacro( id: String, props: CfnMacroProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnMacro(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMacroProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnMacro(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMacroProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnMacro( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleDefaultVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleDefaultVersion.kt index 15662668a9..4a02b0f094 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleDefaultVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleDefaultVersion.kt @@ -49,7 +49,7 @@ public open class CfnModuleDefaultVersion( cdkObject: software.amazon.awscdk.services.cloudformation.CfnModuleDefaultVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -58,8 +58,8 @@ public open class CfnModuleDefaultVersion( id: String, props: CfnModuleDefaultVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModuleDefaultVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnModuleDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModuleDefaultVersionProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnModuleDefaultVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleVersion.kt index 6f065d7503..0aefa6a863 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnModuleVersion.kt @@ -52,8 +52,8 @@ public open class CfnModuleVersion( id: String, props: CfnModuleVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnModuleVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModuleVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnModuleVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModuleVersionProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnModuleVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublicTypeVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublicTypeVersion.kt index 707115a9e9..dc04c752b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublicTypeVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublicTypeVersion.kt @@ -60,7 +60,7 @@ public open class CfnPublicTypeVersion( cdkObject: software.amazon.awscdk.services.cloudformation.CfnPublicTypeVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class CfnPublicTypeVersion( id: String, props: CfnPublicTypeVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublicTypeVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnPublicTypeVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublicTypeVersionProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class CfnPublicTypeVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisher.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisher.kt index 7094c8003f..f7e3eb80d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisher.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisher.kt @@ -47,8 +47,8 @@ public open class CfnPublisher( id: String, props: CfnPublisherProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnPublisher(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublisherProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnPublisher(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublisherProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnPublisher( * in order to register to publish public extensions to the CloudFormation registry. */ public open fun acceptTermsAndConditions(`value`: IResolvable) { - unwrap(this).setAcceptTermsAndConditions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAcceptTermsAndConditions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnPublisher( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnPublisher( * conditions in order to register to publish public extensions to the CloudFormation registry. */ override fun acceptTermsAndConditions(acceptTermsAndConditions: IResolvable) { - cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable::unwrap)) + cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisherProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisherProps.kt index 0dbc852b25..c49c2f9d00 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisherProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnPublisherProps.kt @@ -110,7 +110,7 @@ public interface CfnPublisherProps { * The default is `false` . */ override fun acceptTermsAndConditions(acceptTermsAndConditions: IResolvable) { - cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable::unwrap)) + cdkBuilder.acceptTermsAndConditions(acceptTermsAndConditions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceDefaultVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceDefaultVersion.kt index 876d211612..fc2923cf72 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceDefaultVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceDefaultVersion.kt @@ -36,7 +36,7 @@ public open class CfnResourceDefaultVersion( cdkObject: software.amazon.awscdk.services.cloudformation.CfnResourceDefaultVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class CfnResourceDefaultVersion( id: String, props: CfnResourceDefaultVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceDefaultVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnResourceDefaultVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceDefaultVersionProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class CfnResourceDefaultVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersion.kt index fdf74e35fd..b950979d4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersion.kt @@ -63,8 +63,8 @@ public open class CfnResourceVersion( id: String, props: CfnResourceVersionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnResourceVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceVersionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnResourceVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceVersionProps.Companion::unwrap)) ) public constructor( @@ -156,7 +156,7 @@ public open class CfnResourceVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnResourceVersion( * Logging configuration information for a resource. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Logging configuration information for a resource. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnResourceVersion( * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class CfnResourceVersion( * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersionProps.kt index 4e6298ff95..57c82eb155 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnResourceVersionProps.kt @@ -194,14 +194,14 @@ public interface CfnResourceVersionProps { * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig Logging configuration information for a resource. */ override fun loggingConfig(loggingConfig: CfnResourceVersion.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnResourceVersion.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnResourceVersion.LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStack.kt index 047e5aa89d..1b9cdceba1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStack.kt @@ -109,7 +109,7 @@ public open class CfnStack( cdkObject: software.amazon.awscdk.services.cloudformation.CfnStack, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -118,8 +118,8 @@ public open class CfnStack( id: String, props: CfnStackProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackProps.Companion::unwrap)) ) public constructor( @@ -189,7 +189,7 @@ public open class CfnStack( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnStack( * stack is created. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnStack( * Key-value pairs to associate with this stack. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnStack( * when this nested stack is created. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnStack( * @param tags Key-value pairs to associate with this stack. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackProps.kt index 812ae837ca..992e78f465 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackProps.kt @@ -250,7 +250,7 @@ public interface CfnStackProps { * update never causes a nested stack to be replaced. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public interface CfnStackProps { * maximum number of 50 tags can be specified. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSet.kt index 1719415504..91cfe97cc6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSet.kt @@ -99,8 +99,8 @@ public open class CfnStackSet( id: String, props: CfnStackSetProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnStackSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackSetProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnStackSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackSetProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnStackSet( * Organizations accounts that are added to a target organization or organizational unit (OU). */ public open fun autoDeployment(`value`: IResolvable) { - unwrap(this).setAutoDeployment(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoDeployment(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnStackSet( * Organizations accounts that are added to a target organization or organizational unit (OU). */ public open fun autoDeployment(`value`: AutoDeploymentProperty) { - unwrap(this).setAutoDeployment(`value`.let(AutoDeploymentProperty::unwrap)) + unwrap(this).setAutoDeployment(`value`.let(AutoDeploymentProperty.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnStackSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -245,14 +245,14 @@ public open class CfnStackSet( * The user-specified preferences for how AWS CloudFormation performs a stack set operation. */ public open fun operationPreferences(`value`: IResolvable) { - unwrap(this).setOperationPreferences(`value`.let(IResolvable::unwrap)) + unwrap(this).setOperationPreferences(`value`.let(IResolvable.Companion::unwrap)) } /** * The user-specified preferences for how AWS CloudFormation performs a stack set operation. */ public open fun operationPreferences(`value`: OperationPreferencesProperty) { - unwrap(this).setOperationPreferences(`value`.let(OperationPreferencesProperty::unwrap)) + unwrap(this).setOperationPreferences(`value`.let(OperationPreferencesProperty.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnStackSet( * The input parameters for the stack set template. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnStackSet( * A group of stack instances with parameters in some specific accounts and Regions. */ public open fun stackInstancesGroup(`value`: IResolvable) { - unwrap(this).setStackInstancesGroup(`value`.let(IResolvable::unwrap)) + unwrap(this).setStackInstancesGroup(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class CfnStackSet( * Key-value pairs to associate with this stack. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public open class CfnStackSet( * organizational unit (OU). */ override fun autoDeployment(autoDeployment: IResolvable) { - cdkBuilder.autoDeployment(autoDeployment.let(IResolvable::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class CfnStackSet( * organizational unit (OU). */ override fun autoDeployment(autoDeployment: AutoDeploymentProperty) { - cdkBuilder.autoDeployment(autoDeployment.let(AutoDeploymentProperty::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(AutoDeploymentProperty.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public open class CfnStackSet( * performs a stack set operation. */ override fun operationPreferences(operationPreferences: IResolvable) { - cdkBuilder.operationPreferences(operationPreferences.let(IResolvable::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(IResolvable.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public open class CfnStackSet( * performs a stack set operation. */ override fun operationPreferences(operationPreferences: OperationPreferencesProperty) { - cdkBuilder.operationPreferences(operationPreferences.let(OperationPreferencesProperty::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(OperationPreferencesProperty.Companion::unwrap)) } /** @@ -959,7 +959,7 @@ public open class CfnStackSet( * @param parameters The input parameters for the stack set template. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -1006,7 +1006,7 @@ public open class CfnStackSet( * accounts and Regions. */ override fun stackInstancesGroup(stackInstancesGroup: IResolvable) { - cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable::unwrap)) + cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable.Companion::unwrap)) } /** @@ -1059,7 +1059,7 @@ public open class CfnStackSet( * @param tags Key-value pairs to associate with this stack. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1241,7 +1241,7 @@ public open class CfnStackSet( * instances from the account in the specified Regions. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1261,7 +1261,7 @@ public open class CfnStackSet( * . */ override fun retainStacksOnAccountRemoval(retainStacksOnAccountRemoval: IResolvable) { - cdkBuilder.retainStacksOnAccountRemoval(retainStacksOnAccountRemoval.let(IResolvable::unwrap)) + cdkBuilder.retainStacksOnAccountRemoval(retainStacksOnAccountRemoval.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1699,7 +1699,7 @@ public open class CfnStackSet( * When `false` (default), StackSets performs one operation at a time in request order. */ override fun active(active: IResolvable) { - cdkBuilder.active(active.let(IResolvable::unwrap)) + cdkBuilder.active(active.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2391,7 +2391,7 @@ public open class CfnStackSet( * stack instances in the specified Regions. */ override fun deploymentTargets(deploymentTargets: IResolvable) { - cdkBuilder.deploymentTargets(deploymentTargets.let(IResolvable::unwrap)) + cdkBuilder.deploymentTargets(deploymentTargets.let(IResolvable.Companion::unwrap)) } /** @@ -2399,7 +2399,7 @@ public open class CfnStackSet( * stack instances in the specified Regions. */ override fun deploymentTargets(deploymentTargets: DeploymentTargetsProperty) { - cdkBuilder.deploymentTargets(deploymentTargets.let(DeploymentTargetsProperty::unwrap)) + cdkBuilder.deploymentTargets(deploymentTargets.let(DeploymentTargetsProperty.Companion::unwrap)) } /** @@ -2417,7 +2417,7 @@ public open class CfnStackSet( * in the selected stack instances. */ override fun parameterOverrides(parameterOverrides: IResolvable) { - cdkBuilder.parameterOverrides(parameterOverrides.let(IResolvable::unwrap)) + cdkBuilder.parameterOverrides(parameterOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSetProps.kt index 58e34768de..d660874c8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnStackSetProps.kt @@ -554,7 +554,7 @@ public interface CfnStackSetProps { * organizational unit (OU). */ override fun autoDeployment(autoDeployment: IResolvable) { - cdkBuilder.autoDeployment(autoDeployment.let(IResolvable::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public interface CfnStackSetProps { * organizational unit (OU). */ override fun autoDeployment(autoDeployment: CfnStackSet.AutoDeploymentProperty) { - cdkBuilder.autoDeployment(autoDeployment.let(CfnStackSet.AutoDeploymentProperty::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(CfnStackSet.AutoDeploymentProperty.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public interface CfnStackSetProps { * performs a stack set operation. */ override fun operationPreferences(operationPreferences: IResolvable) { - cdkBuilder.operationPreferences(operationPreferences.let(IResolvable::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public interface CfnStackSetProps { */ override fun operationPreferences(operationPreferences: CfnStackSet.OperationPreferencesProperty) { - cdkBuilder.operationPreferences(operationPreferences.let(CfnStackSet.OperationPreferencesProperty::unwrap)) + cdkBuilder.operationPreferences(operationPreferences.let(CfnStackSet.OperationPreferencesProperty.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public interface CfnStackSetProps { * @param parameters The input parameters for the stack set template. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public interface CfnStackSetProps { * accounts and Regions. */ override fun stackInstancesGroup(stackInstancesGroup: IResolvable) { - cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable::unwrap)) + cdkBuilder.stackInstancesGroup(stackInstancesGroup.let(IResolvable.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public interface CfnStackSetProps { * you specify an empty value, AWS CloudFormation removes all associated tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivation.kt index c018387d0f..a3672e3b3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivation.kt @@ -61,7 +61,7 @@ public open class CfnTypeActivation( cdkObject: software.amazon.awscdk.services.cloudformation.CfnTypeActivation, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class CfnTypeActivation( id: String, props: CfnTypeActivationProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTypeActivationProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnTypeActivation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTypeActivationProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnTypeActivation( * version is published by the extension publisher. */ public open fun autoUpdate(`value`: IResolvable) { - unwrap(this).setAutoUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnTypeActivation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -138,14 +138,14 @@ public open class CfnTypeActivation( * Specifies logging configuration information for an extension. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies logging configuration information for an extension. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class CfnTypeActivation( * when a new *minor* version is published by the extension publisher. */ override fun autoUpdate(autoUpdate: IResolvable) { - cdkBuilder.autoUpdate(autoUpdate.let(IResolvable::unwrap)) + cdkBuilder.autoUpdate(autoUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnTypeActivation( * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnTypeActivation( * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivationProps.kt index e05b0624a6..ec7ab82635 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnTypeActivationProps.kt @@ -273,7 +273,7 @@ public interface CfnTypeActivationProps { * The default is `true` . */ override fun autoUpdate(autoUpdate: IResolvable) { - cdkBuilder.autoUpdate(autoUpdate.let(IResolvable::unwrap)) + cdkBuilder.autoUpdate(autoUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public interface CfnTypeActivationProps { * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig Specifies logging configuration information for an extension. */ override fun loggingConfig(loggingConfig: CfnTypeActivation.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnTypeActivation.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnTypeActivation.LoggingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitCondition.kt index b457a69c22..e715571f5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitCondition.kt @@ -64,7 +64,7 @@ public open class CfnWaitCondition( cdkObject: software.amazon.awscdk.services.cloudformation.CfnWaitCondition, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -73,8 +73,8 @@ public open class CfnWaitCondition( id: String, props: CfnWaitConditionProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWaitConditionProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnWaitCondition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWaitConditionProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnWaitCondition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitConditionHandle.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitConditionHandle.kt index 8bf84333df..8cb3a38fda 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitConditionHandle.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudformation/CfnWaitConditionHandle.kt @@ -54,7 +54,7 @@ public open class CfnWaitConditionHandle( cdkObject: software.amazon.awscdk.services.cloudformation.CfnWaitConditionHandle, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudformation.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudformation.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -63,8 +63,8 @@ public open class CfnWaitConditionHandle( id: String, props: CfnWaitConditionHandleProps, ) : - this(software.amazon.awscdk.services.cloudformation.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWaitConditionHandleProps::unwrap)) + this(software.amazon.awscdk.services.cloudformation.CfnWaitConditionHandle(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWaitConditionHandleProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnWaitConditionHandle( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AddBehaviorOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AddBehaviorOptions.kt index e00a8623b5..d8df8edd48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AddBehaviorOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AddBehaviorOptions.kt @@ -240,7 +240,7 @@ public interface AddBehaviorOptions { * @param allowedMethods HTTP methods to allow for this behavior. */ override fun allowedMethods(allowedMethods: AllowedMethods) { - cdkBuilder.allowedMethods(allowedMethods.let(AllowedMethods::unwrap)) + cdkBuilder.allowedMethods(allowedMethods.let(AllowedMethods.Companion::unwrap)) } /** @@ -249,14 +249,14 @@ public interface AddBehaviorOptions { * and the time-to-live (TTL) values for the cache. */ override fun cachePolicy(cachePolicy: ICachePolicy) { - cdkBuilder.cachePolicy(cachePolicy.let(ICachePolicy::unwrap)) + cdkBuilder.cachePolicy(cachePolicy.let(ICachePolicy.Companion::unwrap)) } /** * @param cachedMethods HTTP methods to cache for this behavior. */ override fun cachedMethods(cachedMethods: CachedMethods) { - cdkBuilder.cachedMethods(cachedMethods.let(CachedMethods::unwrap)) + cdkBuilder.cachedMethods(cachedMethods.let(CachedMethods.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface AddBehaviorOptions { * @param edgeLambdas The Lambda@Edge functions to invoke before serving the contents. */ override fun edgeLambdas(edgeLambdas: List) { - cdkBuilder.edgeLambdas(edgeLambdas.map(EdgeLambda::unwrap)) + cdkBuilder.edgeLambdas(edgeLambdas.map(EdgeLambda.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface AddBehaviorOptions { * @param functionAssociations The CloudFront functions to invoke before serving the contents. */ override fun functionAssociations(functionAssociations: List) { - cdkBuilder.functionAssociations(functionAssociations.map(FunctionAssociation::unwrap)) + cdkBuilder.functionAssociations(functionAssociations.map(FunctionAssociation.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface AddBehaviorOptions { * are included in requests that CloudFront sends to the origin. */ override fun originRequestPolicy(originRequestPolicy: IOriginRequestPolicy) { - cdkBuilder.originRequestPolicy(originRequestPolicy.let(IOriginRequestPolicy::unwrap)) + cdkBuilder.originRequestPolicy(originRequestPolicy.let(IOriginRequestPolicy.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface AddBehaviorOptions { * behavior. */ override fun realtimeLogConfig(realtimeLogConfig: IRealtimeLogConfig) { - cdkBuilder.realtimeLogConfig(realtimeLogConfig.let(IRealtimeLogConfig::unwrap)) + cdkBuilder.realtimeLogConfig(realtimeLogConfig.let(IRealtimeLogConfig.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface AddBehaviorOptions { * The response headers policy determines which headers are included in responses */ override fun responseHeadersPolicy(responseHeadersPolicy: IResponseHeadersPolicy) { - cdkBuilder.responseHeadersPolicy(responseHeadersPolicy.let(IResponseHeadersPolicy::unwrap)) + cdkBuilder.responseHeadersPolicy(responseHeadersPolicy.let(IResponseHeadersPolicy.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface AddBehaviorOptions { * or signed cookies. */ override fun trustedKeyGroups(trustedKeyGroups: List) { - cdkBuilder.trustedKeyGroups(trustedKeyGroups.map(IKeyGroup::unwrap)) + cdkBuilder.trustedKeyGroups(trustedKeyGroups.map(IKeyGroup.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface AddBehaviorOptions { * by this behavior. */ override fun viewerProtocolPolicy(viewerProtocolPolicy: ViewerProtocolPolicy) { - cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy::unwrap)) + cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.AddBehaviorOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AssetImportSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AssetImportSource.kt index c48ddf2458..e9232874a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AssetImportSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/AssetImportSource.kt @@ -72,7 +72,7 @@ public open class AssetImportSource( public constructor(path: String, options: AssetOptions) : this(software.amazon.awscdk.services.cloudfront.AssetImportSource(path, - options.let(AssetOptions::unwrap)) + options.let(AssetOptions.Companion::unwrap)) ) public constructor(path: String, options: AssetOptions.Builder.() -> Unit) : this(path, @@ -280,7 +280,7 @@ public open class AssetImportSource( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class AssetImportSource( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class AssetImportSource( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class AssetImportSource( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class AssetImportSource( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Behavior.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Behavior.kt index c56b6dd672..4c3d126001 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Behavior.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Behavior.kt @@ -326,14 +326,14 @@ public interface Behavior { * @param allowedMethods The method this CloudFront distribution responds do. */ override fun allowedMethods(allowedMethods: CloudFrontAllowedMethods) { - cdkBuilder.allowedMethods(allowedMethods.let(CloudFrontAllowedMethods::unwrap)) + cdkBuilder.allowedMethods(allowedMethods.let(CloudFrontAllowedMethods.Companion::unwrap)) } /** * @param cachedMethods Which methods are cached by CloudFront by default. */ override fun cachedMethods(cachedMethods: CloudFrontAllowedCachedMethods) { - cdkBuilder.cachedMethods(cachedMethods.let(CloudFrontAllowedCachedMethods::unwrap)) + cdkBuilder.cachedMethods(cachedMethods.let(CloudFrontAllowedCachedMethods.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface Behavior { * such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. */ override fun defaultTtl(defaultTtl: Duration) { - cdkBuilder.defaultTtl(defaultTtl.let(Duration::unwrap)) + cdkBuilder.defaultTtl(defaultTtl.let(Duration.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface Behavior { * request. */ override fun forwardedValues(forwardedValues: CfnDistribution.ForwardedValuesProperty) { - cdkBuilder.forwardedValues(forwardedValues.let(CfnDistribution.ForwardedValuesProperty::unwrap)) + cdkBuilder.forwardedValues(forwardedValues.let(CfnDistribution.ForwardedValuesProperty.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public interface Behavior { * @param functionAssociations The CloudFront functions to invoke before serving the contents. */ override fun functionAssociations(functionAssociations: List) { - cdkBuilder.functionAssociations(functionAssociations.map(FunctionAssociation::unwrap)) + cdkBuilder.functionAssociations(functionAssociations.map(FunctionAssociation.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public interface Behavior { */ override fun lambdaFunctionAssociations(lambdaFunctionAssociations: List) { - cdkBuilder.lambdaFunctionAssociations(lambdaFunctionAssociations.map(LambdaFunctionAssociation::unwrap)) + cdkBuilder.lambdaFunctionAssociations(lambdaFunctionAssociations.map(LambdaFunctionAssociation.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface Behavior { * queries your origin. */ override fun maxTtl(maxTtl: Duration) { - cdkBuilder.maxTtl(maxTtl.let(Duration::unwrap)) + cdkBuilder.maxTtl(maxTtl.let(Duration.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface Behavior { * CloudFront queries your origin. */ override fun minTtl(minTtl: Duration) { - cdkBuilder.minTtl(minTtl.let(Duration::unwrap)) + cdkBuilder.minTtl(minTtl.let(Duration.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface Behavior { * or signed cookies. */ override fun trustedKeyGroups(trustedKeyGroups: List) { - cdkBuilder.trustedKeyGroups(trustedKeyGroups.map(IKeyGroup::unwrap)) + cdkBuilder.trustedKeyGroups(trustedKeyGroups.map(IKeyGroup.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public interface Behavior { * @param viewerProtocolPolicy The viewer policy for this behavior. */ override fun viewerProtocolPolicy(viewerProtocolPolicy: ViewerProtocolPolicy) { - cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy::unwrap)) + cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.Behavior = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/BehaviorOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/BehaviorOptions.kt index 8ce3f755f4..261223a8d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/BehaviorOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/BehaviorOptions.kt @@ -146,7 +146,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * @param allowedMethods HTTP methods to allow for this behavior. */ override fun allowedMethods(allowedMethods: AllowedMethods) { - cdkBuilder.allowedMethods(allowedMethods.let(AllowedMethods::unwrap)) + cdkBuilder.allowedMethods(allowedMethods.let(AllowedMethods.Companion::unwrap)) } /** @@ -155,14 +155,14 @@ public interface BehaviorOptions : AddBehaviorOptions { * and the time-to-live (TTL) values for the cache. */ override fun cachePolicy(cachePolicy: ICachePolicy) { - cdkBuilder.cachePolicy(cachePolicy.let(ICachePolicy::unwrap)) + cdkBuilder.cachePolicy(cachePolicy.let(ICachePolicy.Companion::unwrap)) } /** * @param cachedMethods HTTP methods to cache for this behavior. */ override fun cachedMethods(cachedMethods: CachedMethods) { - cdkBuilder.cachedMethods(cachedMethods.let(CachedMethods::unwrap)) + cdkBuilder.cachedMethods(cachedMethods.let(CachedMethods.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * @param edgeLambdas The Lambda@Edge functions to invoke before serving the contents. */ override fun edgeLambdas(edgeLambdas: List) { - cdkBuilder.edgeLambdas(edgeLambdas.map(EdgeLambda::unwrap)) + cdkBuilder.edgeLambdas(edgeLambdas.map(EdgeLambda.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * @param functionAssociations The CloudFront functions to invoke before serving the contents. */ override fun functionAssociations(functionAssociations: List) { - cdkBuilder.functionAssociations(functionAssociations.map(FunctionAssociation::unwrap)) + cdkBuilder.functionAssociations(functionAssociations.map(FunctionAssociation.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * behavior. */ override fun origin(origin: IOrigin) { - cdkBuilder.origin(origin.let(IOrigin::unwrap)) + cdkBuilder.origin(origin.let(IOrigin.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * are included in requests that CloudFront sends to the origin. */ override fun originRequestPolicy(originRequestPolicy: IOriginRequestPolicy) { - cdkBuilder.originRequestPolicy(originRequestPolicy.let(IOriginRequestPolicy::unwrap)) + cdkBuilder.originRequestPolicy(originRequestPolicy.let(IOriginRequestPolicy.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * behavior. */ override fun realtimeLogConfig(realtimeLogConfig: IRealtimeLogConfig) { - cdkBuilder.realtimeLogConfig(realtimeLogConfig.let(IRealtimeLogConfig::unwrap)) + cdkBuilder.realtimeLogConfig(realtimeLogConfig.let(IRealtimeLogConfig.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * The response headers policy determines which headers are included in responses */ override fun responseHeadersPolicy(responseHeadersPolicy: IResponseHeadersPolicy) { - cdkBuilder.responseHeadersPolicy(responseHeadersPolicy.let(IResponseHeadersPolicy::unwrap)) + cdkBuilder.responseHeadersPolicy(responseHeadersPolicy.let(IResponseHeadersPolicy.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * or signed cookies. */ override fun trustedKeyGroups(trustedKeyGroups: List) { - cdkBuilder.trustedKeyGroups(trustedKeyGroups.map(IKeyGroup::unwrap)) + cdkBuilder.trustedKeyGroups(trustedKeyGroups.map(IKeyGroup.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface BehaviorOptions : AddBehaviorOptions { * by this behavior. */ override fun viewerProtocolPolicy(viewerProtocolPolicy: ViewerProtocolPolicy) { - cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy::unwrap)) + cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.BehaviorOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicy.kt index b6b58c51a7..a707666e40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicy.kt @@ -31,7 +31,7 @@ public open class CachePolicy( cdkObject: software.amazon.awscdk.services.cloudfront.CachePolicy, ) : Resource(cdkObject), ICachePolicy { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudfront.CachePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudfront.CachePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -40,8 +40,8 @@ public open class CachePolicy( id: String, props: CachePolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.CachePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CachePolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CachePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CachePolicyProps.Companion::unwrap)) ) public constructor( @@ -210,7 +210,7 @@ public open class CachePolicy( * cache key and automatically included in requests that CloudFront sends to the origin. */ override fun cookieBehavior(cookieBehavior: CacheCookieBehavior) { - cdkBuilder.cookieBehavior(cookieBehavior.let(CacheCookieBehavior::unwrap)) + cdkBuilder.cookieBehavior(cookieBehavior.let(CacheCookieBehavior.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class CachePolicy( * @param defaultTtl The default amount of time for objects to stay in the CloudFront cache. */ override fun defaultTtl(defaultTtl: Duration) { - cdkBuilder.defaultTtl(defaultTtl.let(Duration::unwrap)) + cdkBuilder.defaultTtl(defaultTtl.let(Duration.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CachePolicy( * automatically included in requests that CloudFront sends to the origin. */ override fun headerBehavior(headerBehavior: CacheHeaderBehavior) { - cdkBuilder.headerBehavior(headerBehavior.let(CacheHeaderBehavior::unwrap)) + cdkBuilder.headerBehavior(headerBehavior.let(CacheHeaderBehavior.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CachePolicy( * @param maxTtl The maximum amount of time for objects to stay in the CloudFront cache. */ override fun maxTtl(maxTtl: Duration) { - cdkBuilder.maxTtl(maxTtl.let(Duration::unwrap)) + cdkBuilder.maxTtl(maxTtl.let(Duration.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class CachePolicy( * @param minTtl The minimum amount of time for objects to stay in the CloudFront cache. */ override fun minTtl(minTtl: Duration) { - cdkBuilder.minTtl(minTtl.let(Duration::unwrap)) + cdkBuilder.minTtl(minTtl.let(Duration.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CachePolicy( * and automatically included in requests that CloudFront sends to the origin. */ override fun queryStringBehavior(queryStringBehavior: CacheQueryStringBehavior) { - cdkBuilder.queryStringBehavior(queryStringBehavior.let(CacheQueryStringBehavior::unwrap)) + cdkBuilder.queryStringBehavior(queryStringBehavior.let(CacheQueryStringBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.CachePolicy = cdkBuilder.build() @@ -327,7 +327,7 @@ public open class CachePolicy( id: String, cachePolicyId: String, ): ICachePolicy = - software.amazon.awscdk.services.cloudfront.CachePolicy.fromCachePolicyId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.CachePolicy.fromCachePolicyId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, cachePolicyId).let(ICachePolicy::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicyProps.kt index f5ee0e81e9..090517f9b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CachePolicyProps.kt @@ -213,7 +213,7 @@ public interface CachePolicyProps { * cache key and automatically included in requests that CloudFront sends to the origin. */ override fun cookieBehavior(cookieBehavior: CacheCookieBehavior) { - cdkBuilder.cookieBehavior(cookieBehavior.let(CacheCookieBehavior::unwrap)) + cdkBuilder.cookieBehavior(cookieBehavior.let(CacheCookieBehavior.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CachePolicyProps { * Only used when the origin does not send Cache-Control or Expires headers with the object. */ override fun defaultTtl(defaultTtl: Duration) { - cdkBuilder.defaultTtl(defaultTtl.let(Duration::unwrap)) + cdkBuilder.defaultTtl(defaultTtl.let(Duration.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface CachePolicyProps { * automatically included in requests that CloudFront sends to the origin. */ override fun headerBehavior(headerBehavior: CacheHeaderBehavior) { - cdkBuilder.headerBehavior(headerBehavior.let(CacheHeaderBehavior::unwrap)) + cdkBuilder.headerBehavior(headerBehavior.let(CacheHeaderBehavior.Companion::unwrap)) } /** @@ -254,14 +254,14 @@ public interface CachePolicyProps { * the object. */ override fun maxTtl(maxTtl: Duration) { - cdkBuilder.maxTtl(maxTtl.let(Duration::unwrap)) + cdkBuilder.maxTtl(maxTtl.let(Duration.Companion::unwrap)) } /** * @param minTtl The minimum amount of time for objects to stay in the CloudFront cache. */ override fun minTtl(minTtl: Duration) { - cdkBuilder.minTtl(minTtl.let(Duration::unwrap)) + cdkBuilder.minTtl(minTtl.let(Duration.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface CachePolicyProps { * and automatically included in requests that CloudFront sends to the origin. */ override fun queryStringBehavior(queryStringBehavior: CacheQueryStringBehavior) { - cdkBuilder.queryStringBehavior(queryStringBehavior.let(CacheQueryStringBehavior::unwrap)) + cdkBuilder.queryStringBehavior(queryStringBehavior.let(CacheQueryStringBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.CachePolicyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicy.kt index 41b66280e0..35cc6af318 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicy.kt @@ -83,8 +83,8 @@ public open class CfnCachePolicy( id: String, props: CfnCachePolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnCachePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCachePolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnCachePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCachePolicyProps.Companion::unwrap)) ) public constructor( @@ -115,14 +115,14 @@ public open class CfnCachePolicy( * The cache policy configuration. */ public open fun cachePolicyConfig(`value`: IResolvable) { - unwrap(this).setCachePolicyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCachePolicyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The cache policy configuration. */ public open fun cachePolicyConfig(`value`: CachePolicyConfigProperty) { - unwrap(this).setCachePolicyConfig(`value`.let(CachePolicyConfigProperty::unwrap)) + unwrap(this).setCachePolicyConfig(`value`.let(CachePolicyConfigProperty.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnCachePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnCachePolicy( * @param cachePolicyConfig The cache policy configuration. */ override fun cachePolicyConfig(cachePolicyConfig: IResolvable) { - cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnCachePolicy( * @param cachePolicyConfig The cache policy configuration. */ override fun cachePolicyConfig(cachePolicyConfig: CachePolicyConfigProperty) { - cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(CachePolicyConfigProperty::unwrap)) + cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(CachePolicyConfigProperty.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnCachePolicy( */ override fun parametersInCacheKeyAndForwardedToOrigin(parametersInCacheKeyAndForwardedToOrigin: IResolvable) { - cdkBuilder.parametersInCacheKeyAndForwardedToOrigin(parametersInCacheKeyAndForwardedToOrigin.let(IResolvable::unwrap)) + cdkBuilder.parametersInCacheKeyAndForwardedToOrigin(parametersInCacheKeyAndForwardedToOrigin.let(IResolvable.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CfnCachePolicy( */ override fun parametersInCacheKeyAndForwardedToOrigin(parametersInCacheKeyAndForwardedToOrigin: ParametersInCacheKeyAndForwardedToOriginProperty) { - cdkBuilder.parametersInCacheKeyAndForwardedToOrigin(parametersInCacheKeyAndForwardedToOrigin.let(ParametersInCacheKeyAndForwardedToOriginProperty::unwrap)) + cdkBuilder.parametersInCacheKeyAndForwardedToOrigin(parametersInCacheKeyAndForwardedToOrigin.let(ParametersInCacheKeyAndForwardedToOriginProperty.Companion::unwrap)) } /** @@ -1311,7 +1311,7 @@ public open class CfnCachePolicy( * the origin. */ override fun cookiesConfig(cookiesConfig: IResolvable) { - cdkBuilder.cookiesConfig(cookiesConfig.let(IResolvable::unwrap)) + cdkBuilder.cookiesConfig(cookiesConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1320,7 +1320,7 @@ public open class CfnCachePolicy( * the origin. */ override fun cookiesConfig(cookiesConfig: CookiesConfigProperty) { - cdkBuilder.cookiesConfig(cookiesConfig.let(CookiesConfigProperty::unwrap)) + cdkBuilder.cookiesConfig(cookiesConfig.let(CookiesConfigProperty.Companion::unwrap)) } /** @@ -1390,7 +1390,7 @@ public open class CfnCachePolicy( * `Accept-Encoding` to the headers whitelist like any other HTTP header. */ override fun enableAcceptEncodingBrotli(enableAcceptEncodingBrotli: IResolvable) { - cdkBuilder.enableAcceptEncodingBrotli(enableAcceptEncodingBrotli.let(IResolvable::unwrap)) + cdkBuilder.enableAcceptEncodingBrotli(enableAcceptEncodingBrotli.let(IResolvable.Companion::unwrap)) } /** @@ -1450,7 +1450,7 @@ public open class CfnCachePolicy( * `Accept-Encoding` to the headers whitelist like any other HTTP header. */ override fun enableAcceptEncodingGzip(enableAcceptEncodingGzip: IResolvable) { - cdkBuilder.enableAcceptEncodingGzip(enableAcceptEncodingGzip.let(IResolvable::unwrap)) + cdkBuilder.enableAcceptEncodingGzip(enableAcceptEncodingGzip.let(IResolvable.Companion::unwrap)) } /** @@ -1458,7 +1458,7 @@ public open class CfnCachePolicy( * headers) are included in the cache key and in requests that CloudFront sends to the origin. */ override fun headersConfig(headersConfig: IResolvable) { - cdkBuilder.headersConfig(headersConfig.let(IResolvable::unwrap)) + cdkBuilder.headersConfig(headersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1466,7 +1466,7 @@ public open class CfnCachePolicy( * headers) are included in the cache key and in requests that CloudFront sends to the origin. */ override fun headersConfig(headersConfig: HeadersConfigProperty) { - cdkBuilder.headersConfig(headersConfig.let(HeadersConfigProperty::unwrap)) + cdkBuilder.headersConfig(headersConfig.let(HeadersConfigProperty.Companion::unwrap)) } /** @@ -1484,7 +1484,7 @@ public open class CfnCachePolicy( * CloudFront sends to the origin. */ override fun queryStringsConfig(queryStringsConfig: IResolvable) { - cdkBuilder.queryStringsConfig(queryStringsConfig.let(IResolvable::unwrap)) + cdkBuilder.queryStringsConfig(queryStringsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1493,7 +1493,7 @@ public open class CfnCachePolicy( * CloudFront sends to the origin. */ override fun queryStringsConfig(queryStringsConfig: QueryStringsConfigProperty) { - cdkBuilder.queryStringsConfig(queryStringsConfig.let(QueryStringsConfigProperty::unwrap)) + cdkBuilder.queryStringsConfig(queryStringsConfig.let(QueryStringsConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicyProps.kt index 04bb523ef0..d45232db0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCachePolicyProps.kt @@ -93,14 +93,14 @@ public interface CfnCachePolicyProps { * @param cachePolicyConfig The cache policy configuration. */ override fun cachePolicyConfig(cachePolicyConfig: IResolvable) { - cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(IResolvable.Companion::unwrap)) } /** * @param cachePolicyConfig The cache policy configuration. */ override fun cachePolicyConfig(cachePolicyConfig: CfnCachePolicy.CachePolicyConfigProperty) { - cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(CfnCachePolicy.CachePolicyConfigProperty::unwrap)) + cdkBuilder.cachePolicyConfig(cachePolicyConfig.let(CfnCachePolicy.CachePolicyConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentity.kt index 3dba287940..a4fcaef2a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentity.kt @@ -49,8 +49,8 @@ public open class CfnCloudFrontOriginAccessIdentity( id: String, props: CfnCloudFrontOriginAccessIdentityProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnCloudFrontOriginAccessIdentity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCloudFrontOriginAccessIdentityProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnCloudFrontOriginAccessIdentity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCloudFrontOriginAccessIdentityProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnCloudFrontOriginAccessIdentity( * The current configuration information for the identity. */ public open fun cloudFrontOriginAccessIdentityConfig(`value`: IResolvable) { - unwrap(this).setCloudFrontOriginAccessIdentityConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCloudFrontOriginAccessIdentityConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public open class CfnCloudFrontOriginAccessIdentity( */ public open fun cloudFrontOriginAccessIdentityConfig(`value`: CloudFrontOriginAccessIdentityConfigProperty) { - unwrap(this).setCloudFrontOriginAccessIdentityConfig(`value`.let(CloudFrontOriginAccessIdentityConfigProperty::unwrap)) + unwrap(this).setCloudFrontOriginAccessIdentityConfig(`value`.let(CloudFrontOriginAccessIdentityConfigProperty.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnCloudFrontOriginAccessIdentity( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnCloudFrontOriginAccessIdentity( */ override fun cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig: IResolvable) { - cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(IResolvable::unwrap)) + cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnCloudFrontOriginAccessIdentity( */ override fun cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfigProperty) { - cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(CloudFrontOriginAccessIdentityConfigProperty::unwrap)) + cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(CloudFrontOriginAccessIdentityConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentityProps.kt index ea4e4ae3c2..472182962a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnCloudFrontOriginAccessIdentityProps.kt @@ -77,7 +77,7 @@ public interface CfnCloudFrontOriginAccessIdentityProps { */ override fun cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig: IResolvable) { - cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(IResolvable::unwrap)) + cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -86,7 +86,7 @@ public interface CfnCloudFrontOriginAccessIdentityProps { */ override fun cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig: CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty) { - cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty::unwrap)) + cdkBuilder.cloudFrontOriginAccessIdentityConfig(cloudFrontOriginAccessIdentityConfig.let(CfnCloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicy.kt index fcc45014e8..2f8baa0413 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicy.kt @@ -87,8 +87,8 @@ public open class CfnContinuousDeploymentPolicy( id: String, props: CfnContinuousDeploymentPolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContinuousDeploymentPolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnContinuousDeploymentPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContinuousDeploymentPolicyProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnContinuousDeploymentPolicy( * Contains the configuration for a continuous deployment policy. */ public open fun continuousDeploymentPolicyConfig(`value`: IResolvable) { - unwrap(this).setContinuousDeploymentPolicyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setContinuousDeploymentPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnContinuousDeploymentPolicy( */ public open fun continuousDeploymentPolicyConfig(`value`: ContinuousDeploymentPolicyConfigProperty) { - unwrap(this).setContinuousDeploymentPolicyConfig(`value`.let(ContinuousDeploymentPolicyConfigProperty::unwrap)) + unwrap(this).setContinuousDeploymentPolicyConfig(`value`.let(ContinuousDeploymentPolicyConfigProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnContinuousDeploymentPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnContinuousDeploymentPolicy( * deployment policy. */ override fun continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig: IResolvable) { - cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnContinuousDeploymentPolicy( */ override fun continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig: ContinuousDeploymentPolicyConfigProperty) { - cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(ContinuousDeploymentPolicyConfigProperty::unwrap)) + cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(ContinuousDeploymentPolicyConfigProperty.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnContinuousDeploymentPolicy( * `false` , this policy is not enabled and has no effect. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class CfnContinuousDeploymentPolicy( * distribution. */ override fun singleHeaderPolicyConfig(singleHeaderPolicyConfig: IResolvable) { - cdkBuilder.singleHeaderPolicyConfig(singleHeaderPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.singleHeaderPolicyConfig(singleHeaderPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public open class CfnContinuousDeploymentPolicy( */ override fun singleHeaderPolicyConfig(singleHeaderPolicyConfig: SingleHeaderPolicyConfigProperty) { - cdkBuilder.singleHeaderPolicyConfig(singleHeaderPolicyConfig.let(SingleHeaderPolicyConfigProperty::unwrap)) + cdkBuilder.singleHeaderPolicyConfig(singleHeaderPolicyConfig.let(SingleHeaderPolicyConfigProperty.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class CfnContinuousDeploymentPolicy( * requests that are sent to the staging distribution. */ override fun singleWeightPolicyConfig(singleWeightPolicyConfig: IResolvable) { - cdkBuilder.singleWeightPolicyConfig(singleWeightPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.singleWeightPolicyConfig(singleWeightPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public open class CfnContinuousDeploymentPolicy( */ override fun singleWeightPolicyConfig(singleWeightPolicyConfig: SingleWeightPolicyConfigProperty) { - cdkBuilder.singleWeightPolicyConfig(singleWeightPolicyConfig.let(SingleWeightPolicyConfigProperty::unwrap)) + cdkBuilder.singleWeightPolicyConfig(singleWeightPolicyConfig.let(SingleWeightPolicyConfigProperty.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class CfnContinuousDeploymentPolicy( * primary to staging distributions. */ override fun trafficConfig(trafficConfig: IResolvable) { - cdkBuilder.trafficConfig(trafficConfig.let(IResolvable::unwrap)) + cdkBuilder.trafficConfig(trafficConfig.let(IResolvable.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CfnContinuousDeploymentPolicy( * primary to staging distributions. */ override fun trafficConfig(trafficConfig: TrafficConfigProperty) { - cdkBuilder.trafficConfig(trafficConfig.let(TrafficConfigProperty::unwrap)) + cdkBuilder.trafficConfig(trafficConfig.let(TrafficConfigProperty.Companion::unwrap)) } /** @@ -1142,7 +1142,7 @@ public open class CfnContinuousDeploymentPolicy( * Define the session duration using TTL values. */ override fun sessionStickinessConfig(sessionStickinessConfig: IResolvable) { - cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(IResolvable::unwrap)) + cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1154,7 +1154,7 @@ public open class CfnContinuousDeploymentPolicy( */ override fun sessionStickinessConfig(sessionStickinessConfig: SessionStickinessConfigProperty) { - cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(SessionStickinessConfigProperty::unwrap)) + cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(SessionStickinessConfigProperty.Companion::unwrap)) } /** @@ -1297,7 +1297,7 @@ public open class CfnContinuousDeploymentPolicy( * @param sessionStickinessConfig the value to be set. */ override fun sessionStickinessConfig(sessionStickinessConfig: IResolvable) { - cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(IResolvable::unwrap)) + cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1305,7 +1305,7 @@ public open class CfnContinuousDeploymentPolicy( */ override fun sessionStickinessConfig(sessionStickinessConfig: SessionStickinessConfigProperty) { - cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(SessionStickinessConfigProperty::unwrap)) + cdkBuilder.sessionStickinessConfig(sessionStickinessConfig.let(SessionStickinessConfigProperty.Companion::unwrap)) } /** @@ -1476,7 +1476,7 @@ public open class CfnContinuousDeploymentPolicy( * distribution. */ override fun singleHeaderConfig(singleHeaderConfig: IResolvable) { - cdkBuilder.singleHeaderConfig(singleHeaderConfig.let(IResolvable::unwrap)) + cdkBuilder.singleHeaderConfig(singleHeaderConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1484,7 +1484,7 @@ public open class CfnContinuousDeploymentPolicy( * distribution. */ override fun singleHeaderConfig(singleHeaderConfig: SingleHeaderConfigProperty) { - cdkBuilder.singleHeaderConfig(singleHeaderConfig.let(SingleHeaderConfigProperty::unwrap)) + cdkBuilder.singleHeaderConfig(singleHeaderConfig.let(SingleHeaderConfigProperty.Companion::unwrap)) } /** @@ -1502,7 +1502,7 @@ public open class CfnContinuousDeploymentPolicy( * distribution. */ override fun singleWeightConfig(singleWeightConfig: IResolvable) { - cdkBuilder.singleWeightConfig(singleWeightConfig.let(IResolvable::unwrap)) + cdkBuilder.singleWeightConfig(singleWeightConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1510,7 +1510,7 @@ public open class CfnContinuousDeploymentPolicy( * distribution. */ override fun singleWeightConfig(singleWeightConfig: SingleWeightConfigProperty) { - cdkBuilder.singleWeightConfig(singleWeightConfig.let(SingleWeightConfigProperty::unwrap)) + cdkBuilder.singleWeightConfig(singleWeightConfig.let(SingleWeightConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicyProps.kt index 77df38b908..a9a7eaf0a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnContinuousDeploymentPolicyProps.kt @@ -106,7 +106,7 @@ public interface CfnContinuousDeploymentPolicyProps { * deployment policy. */ override fun continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig: IResolvable) { - cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface CfnContinuousDeploymentPolicyProps { */ override fun continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig: CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty) { - cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty::unwrap)) + cdkBuilder.continuousDeploymentPolicyConfig(continuousDeploymentPolicyConfig.let(CfnContinuousDeploymentPolicy.ContinuousDeploymentPolicyConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistribution.kt index 5d2d994834..06c3b476b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistribution.kt @@ -49,8 +49,8 @@ public open class CfnDistribution( id: String, props: CfnDistributionProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnDistribution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDistributionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnDistribution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDistributionProps.Companion::unwrap)) ) public constructor( @@ -81,14 +81,14 @@ public open class CfnDistribution( * The distribution's configuration. */ public open fun distributionConfig(`value`: IResolvable) { - unwrap(this).setDistributionConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDistributionConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The distribution's configuration. */ public open fun distributionConfig(`value`: DistributionConfigProperty) { - unwrap(this).setDistributionConfig(`value`.let(DistributionConfigProperty::unwrap)) + unwrap(this).setDistributionConfig(`value`.let(DistributionConfigProperty.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class CfnDistribution( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnDistribution( * A complex type that contains zero or more `Tag` elements. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnDistribution( * @param distributionConfig The distribution's configuration. */ override fun distributionConfig(distributionConfig: IResolvable) { - cdkBuilder.distributionConfig(distributionConfig.let(IResolvable::unwrap)) + cdkBuilder.distributionConfig(distributionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnDistribution( * @param distributionConfig The distribution's configuration. */ override fun distributionConfig(distributionConfig: DistributionConfigProperty) { - cdkBuilder.distributionConfig(distributionConfig.let(DistributionConfigProperty::unwrap)) + cdkBuilder.distributionConfig(distributionConfig.let(DistributionConfigProperty.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnDistribution( * @param tags A complex type that contains zero or more `Tag` elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -276,9 +276,10 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . * * If you don't want to specify any cache behaviors, include only an empty `CacheBehaviors` - * element. For more information, see + * element. Don't specify an empty individual `CacheBehavior` element, because this is invalid. For + * more information, see * [CacheBehaviors](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CacheBehaviors.html) - * . Don't include an empty `CacheBehavior` element because this is invalid. + * . * * To delete all cache behaviors in an existing distribution, update the distribution * configuration and include only an empty `CacheBehaviors` element. @@ -1233,7 +1234,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun compress(compress: IResolvable) { - cdkBuilder.compress(compress.let(IResolvable::unwrap)) + cdkBuilder.compress(compress.let(IResolvable.Companion::unwrap)) } /** @@ -1294,7 +1295,7 @@ public open class CfnDistribution( * headers. */ override fun forwardedValues(forwardedValues: IResolvable) { - cdkBuilder.forwardedValues(forwardedValues.let(IResolvable::unwrap)) + cdkBuilder.forwardedValues(forwardedValues.let(IResolvable.Companion::unwrap)) } /** @@ -1325,7 +1326,7 @@ public open class CfnDistribution( * headers. */ override fun forwardedValues(forwardedValues: ForwardedValuesProperty) { - cdkBuilder.forwardedValues(forwardedValues.let(ForwardedValuesProperty::unwrap)) + cdkBuilder.forwardedValues(forwardedValues.let(ForwardedValuesProperty.Companion::unwrap)) } /** @@ -1367,7 +1368,7 @@ public open class CfnDistribution( * behavior. */ override fun functionAssociations(functionAssociations: IResolvable) { - cdkBuilder.functionAssociations(functionAssociations.let(IResolvable::unwrap)) + cdkBuilder.functionAssociations(functionAssociations.let(IResolvable.Companion::unwrap)) } /** @@ -1394,7 +1395,7 @@ public open class CfnDistribution( * function associations for a cache behavior. */ override fun lambdaFunctionAssociations(lambdaFunctionAssociations: IResolvable) { - cdkBuilder.lambdaFunctionAssociations(lambdaFunctionAssociations.let(IResolvable::unwrap)) + cdkBuilder.lambdaFunctionAssociations(lambdaFunctionAssociations.let(IResolvable.Companion::unwrap)) } /** @@ -1529,7 +1530,7 @@ public open class CfnDistribution( * content matches the value of `PathPattern` . */ override fun smoothStreaming(smoothStreaming: IResolvable) { - cdkBuilder.smoothStreaming(smoothStreaming.let(IResolvable::unwrap)) + cdkBuilder.smoothStreaming(smoothStreaming.let(IResolvable.Companion::unwrap)) } /** @@ -3999,7 +4000,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun compress(compress: IResolvable) { - cdkBuilder.compress(compress.let(IResolvable::unwrap)) + cdkBuilder.compress(compress.let(IResolvable.Companion::unwrap)) } /** @@ -4060,7 +4061,7 @@ public open class CfnDistribution( * headers. */ override fun forwardedValues(forwardedValues: IResolvable) { - cdkBuilder.forwardedValues(forwardedValues.let(IResolvable::unwrap)) + cdkBuilder.forwardedValues(forwardedValues.let(IResolvable.Companion::unwrap)) } /** @@ -4091,7 +4092,7 @@ public open class CfnDistribution( * headers. */ override fun forwardedValues(forwardedValues: ForwardedValuesProperty) { - cdkBuilder.forwardedValues(forwardedValues.let(ForwardedValuesProperty::unwrap)) + cdkBuilder.forwardedValues(forwardedValues.let(ForwardedValuesProperty.Companion::unwrap)) } /** @@ -4133,7 +4134,7 @@ public open class CfnDistribution( * behavior. */ override fun functionAssociations(functionAssociations: IResolvable) { - cdkBuilder.functionAssociations(functionAssociations.let(IResolvable::unwrap)) + cdkBuilder.functionAssociations(functionAssociations.let(IResolvable.Companion::unwrap)) } /** @@ -4160,7 +4161,7 @@ public open class CfnDistribution( * function associations for a cache behavior. */ override fun lambdaFunctionAssociations(lambdaFunctionAssociations: IResolvable) { - cdkBuilder.lambdaFunctionAssociations(lambdaFunctionAssociations.let(IResolvable::unwrap)) + cdkBuilder.lambdaFunctionAssociations(lambdaFunctionAssociations.let(IResolvable.Companion::unwrap)) } /** @@ -4273,7 +4274,7 @@ public open class CfnDistribution( * content matches the value of `PathPattern` . */ override fun smoothStreaming(smoothStreaming: IResolvable) { - cdkBuilder.smoothStreaming(smoothStreaming.let(IResolvable::unwrap)) + cdkBuilder.smoothStreaming(smoothStreaming.let(IResolvable.Companion::unwrap)) } /** @@ -5662,7 +5663,7 @@ public open class CfnDistribution( * @param cacheBehaviors A complex type that contains zero or more `CacheBehavior` elements. */ override fun cacheBehaviors(cacheBehaviors: IResolvable) { - cdkBuilder.cacheBehaviors(cacheBehaviors.let(IResolvable::unwrap)) + cdkBuilder.cacheBehaviors(cacheBehaviors.let(IResolvable.Companion::unwrap)) } /** @@ -5717,7 +5718,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun customErrorResponses(customErrorResponses: IResolvable) { - cdkBuilder.customErrorResponses(customErrorResponses.let(IResolvable::unwrap)) + cdkBuilder.customErrorResponses(customErrorResponses.let(IResolvable.Companion::unwrap)) } /** @@ -5751,14 +5752,14 @@ public open class CfnDistribution( * @param customOrigin the value to be set. */ override fun customOrigin(customOrigin: IResolvable) { - cdkBuilder.customOrigin(customOrigin.let(IResolvable::unwrap)) + cdkBuilder.customOrigin(customOrigin.let(IResolvable.Companion::unwrap)) } /** * @param customOrigin the value to be set. */ override fun customOrigin(customOrigin: LegacyCustomOriginProperty) { - cdkBuilder.customOrigin(customOrigin.let(LegacyCustomOriginProperty::unwrap)) + cdkBuilder.customOrigin(customOrigin.let(LegacyCustomOriginProperty.Companion::unwrap)) } /** @@ -5776,7 +5777,7 @@ public open class CfnDistribution( * You must create exactly one default cache behavior. */ override fun defaultCacheBehavior(defaultCacheBehavior: IResolvable) { - cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(IResolvable::unwrap)) + cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(IResolvable.Companion::unwrap)) } /** @@ -5786,7 +5787,7 @@ public open class CfnDistribution( * You must create exactly one default cache behavior. */ override fun defaultCacheBehavior(defaultCacheBehavior: DefaultCacheBehaviorProperty) { - cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(DefaultCacheBehaviorProperty::unwrap)) + cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(DefaultCacheBehaviorProperty.Companion::unwrap)) } /** @@ -5838,7 +5839,7 @@ public open class CfnDistribution( * @param enabled From this field, you can enable or disable the selected distribution. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -5934,7 +5935,7 @@ public open class CfnDistribution( * traffic to your distribution regardless of the IP address format of the viewer request. */ override fun ipv6Enabled(ipv6Enabled: IResolvable) { - cdkBuilder.ipv6Enabled(ipv6Enabled.let(IResolvable::unwrap)) + cdkBuilder.ipv6Enabled(ipv6Enabled.let(IResolvable.Companion::unwrap)) } /** @@ -5945,7 +5946,7 @@ public open class CfnDistribution( * the *Amazon CloudFront Developer Guide* . */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** @@ -5956,7 +5957,7 @@ public open class CfnDistribution( * the *Amazon CloudFront Developer Guide* . */ override fun logging(logging: LoggingProperty) { - cdkBuilder.logging(logging.let(LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(LoggingProperty.Companion::unwrap)) } /** @@ -5976,7 +5977,7 @@ public open class CfnDistribution( * distribution. */ override fun originGroups(originGroups: IResolvable) { - cdkBuilder.originGroups(originGroups.let(IResolvable::unwrap)) + cdkBuilder.originGroups(originGroups.let(IResolvable.Companion::unwrap)) } /** @@ -5984,7 +5985,7 @@ public open class CfnDistribution( * distribution. */ override fun originGroups(originGroups: OriginGroupsProperty) { - cdkBuilder.originGroups(originGroups.let(OriginGroupsProperty::unwrap)) + cdkBuilder.originGroups(originGroups.let(OriginGroupsProperty.Companion::unwrap)) } /** @@ -6001,7 +6002,7 @@ public open class CfnDistribution( * distribution. */ override fun origins(origins: IResolvable) { - cdkBuilder.origins(origins.let(IResolvable::unwrap)) + cdkBuilder.origins(origins.let(IResolvable.Companion::unwrap)) } /** @@ -6044,7 +6045,7 @@ public open class CfnDistribution( * distribution of your content. */ override fun restrictions(restrictions: IResolvable) { - cdkBuilder.restrictions(restrictions.let(IResolvable::unwrap)) + cdkBuilder.restrictions(restrictions.let(IResolvable.Companion::unwrap)) } /** @@ -6052,7 +6053,7 @@ public open class CfnDistribution( * distribution of your content. */ override fun restrictions(restrictions: RestrictionsProperty) { - cdkBuilder.restrictions(restrictions.let(RestrictionsProperty::unwrap)) + cdkBuilder.restrictions(restrictions.let(RestrictionsProperty.Companion::unwrap)) } /** @@ -6068,14 +6069,14 @@ public open class CfnDistribution( * @param s3Origin the value to be set. */ override fun s3Origin(s3Origin: IResolvable) { - cdkBuilder.s3Origin(s3Origin.let(IResolvable::unwrap)) + cdkBuilder.s3Origin(s3Origin.let(IResolvable.Companion::unwrap)) } /** * @param s3Origin the value to be set. */ override fun s3Origin(s3Origin: LegacyS3OriginProperty) { - cdkBuilder.s3Origin(s3Origin.let(LegacyS3OriginProperty::unwrap)) + cdkBuilder.s3Origin(s3Origin.let(LegacyS3OriginProperty.Companion::unwrap)) } /** @@ -6101,7 +6102,7 @@ public open class CfnDistribution( * this is not a staging distribution. */ override fun staging(staging: IResolvable) { - cdkBuilder.staging(staging.let(IResolvable::unwrap)) + cdkBuilder.staging(staging.let(IResolvable.Companion::unwrap)) } /** @@ -6109,7 +6110,7 @@ public open class CfnDistribution( * configuration for communicating with viewers. */ override fun viewerCertificate(viewerCertificate: IResolvable) { - cdkBuilder.viewerCertificate(viewerCertificate.let(IResolvable::unwrap)) + cdkBuilder.viewerCertificate(viewerCertificate.let(IResolvable.Companion::unwrap)) } /** @@ -6117,7 +6118,7 @@ public open class CfnDistribution( * configuration for communicating with viewers. */ override fun viewerCertificate(viewerCertificate: ViewerCertificateProperty) { - cdkBuilder.viewerCertificate(viewerCertificate.let(ViewerCertificateProperty::unwrap)) + cdkBuilder.viewerCertificate(viewerCertificate.let(ViewerCertificateProperty.Companion::unwrap)) } /** @@ -6873,7 +6874,7 @@ public open class CfnDistribution( * the *Amazon CloudFront Developer Guide* . */ override fun cookies(cookies: IResolvable) { - cdkBuilder.cookies(cookies.let(IResolvable::unwrap)) + cdkBuilder.cookies(cookies.let(IResolvable.Companion::unwrap)) } /** @@ -6897,7 +6898,7 @@ public open class CfnDistribution( * the *Amazon CloudFront Developer Guide* . */ override fun cookies(cookies: CookiesProperty) { - cdkBuilder.cookies(cookies.let(CookiesProperty::unwrap)) + cdkBuilder.cookies(cookies.let(CookiesProperty.Companion::unwrap)) } /** @@ -7054,7 +7055,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun queryString(queryString: IResolvable) { - cdkBuilder.queryString(queryString.let(IResolvable::unwrap)) + cdkBuilder.queryString(queryString.let(IResolvable.Companion::unwrap)) } /** @@ -7734,7 +7735,7 @@ public open class CfnDistribution( * in the Amazon CloudFront Developer Guide. */ override fun includeBody(includeBody: IResolvable) { - cdkBuilder.includeBody(includeBody.let(IResolvable::unwrap)) + cdkBuilder.includeBody(includeBody.let(IResolvable.Companion::unwrap)) } /** @@ -8237,7 +8238,7 @@ public open class CfnDistribution( * distribution, specify `false` for `IncludeCookies` . */ override fun includeCookies(includeCookies: IResolvable) { - cdkBuilder.includeCookies(includeCookies.let(IResolvable::unwrap)) + cdkBuilder.includeCookies(includeCookies.let(IResolvable.Companion::unwrap)) } /** @@ -8504,7 +8505,7 @@ public open class CfnDistribution( * trigger CloudFront to failover to the second origin. */ override fun statusCodes(statusCodes: IResolvable) { - cdkBuilder.statusCodes(statusCodes.let(IResolvable::unwrap)) + cdkBuilder.statusCodes(statusCodes.let(IResolvable.Companion::unwrap)) } /** @@ -8512,7 +8513,7 @@ public open class CfnDistribution( * trigger CloudFront to failover to the second origin. */ override fun statusCodes(statusCodes: StatusCodesProperty) { - cdkBuilder.statusCodes(statusCodes.let(StatusCodesProperty::unwrap)) + cdkBuilder.statusCodes(statusCodes.let(StatusCodesProperty.Companion::unwrap)) } /** @@ -8712,7 +8713,7 @@ public open class CfnDistribution( * @param items Items (origins) in an origin group. */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -8893,7 +8894,7 @@ public open class CfnDistribution( * criteria for an origin group. */ override fun failoverCriteria(failoverCriteria: IResolvable) { - cdkBuilder.failoverCriteria(failoverCriteria.let(IResolvable::unwrap)) + cdkBuilder.failoverCriteria(failoverCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -8901,7 +8902,7 @@ public open class CfnDistribution( * criteria for an origin group. */ override fun failoverCriteria(failoverCriteria: OriginGroupFailoverCriteriaProperty) { - cdkBuilder.failoverCriteria(failoverCriteria.let(OriginGroupFailoverCriteriaProperty::unwrap)) + cdkBuilder.failoverCriteria(failoverCriteria.let(OriginGroupFailoverCriteriaProperty.Companion::unwrap)) } /** @@ -8926,7 +8927,7 @@ public open class CfnDistribution( * group. */ override fun members(members: IResolvable) { - cdkBuilder.members(members.let(IResolvable::unwrap)) + cdkBuilder.members(members.let(IResolvable.Companion::unwrap)) } /** @@ -8934,7 +8935,7 @@ public open class CfnDistribution( * group. */ override fun members(members: OriginGroupMembersProperty) { - cdkBuilder.members(members.let(OriginGroupMembersProperty::unwrap)) + cdkBuilder.members(members.let(OriginGroupMembersProperty.Companion::unwrap)) } /** @@ -9076,7 +9077,7 @@ public open class CfnDistribution( * @param items The items (origin groups) in a distribution. */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -9554,7 +9555,7 @@ public open class CfnDistribution( * instead. */ override fun customOriginConfig(customOriginConfig: IResolvable) { - cdkBuilder.customOriginConfig(customOriginConfig.let(IResolvable::unwrap)) + cdkBuilder.customOriginConfig(customOriginConfig.let(IResolvable.Companion::unwrap)) } /** @@ -9565,7 +9566,7 @@ public open class CfnDistribution( * instead. */ override fun customOriginConfig(customOriginConfig: CustomOriginConfigProperty) { - cdkBuilder.customOriginConfig(customOriginConfig.let(CustomOriginConfigProperty::unwrap)) + cdkBuilder.customOriginConfig(customOriginConfig.let(CustomOriginConfigProperty.Companion::unwrap)) } /** @@ -9620,7 +9621,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun originCustomHeaders(originCustomHeaders: IResolvable) { - cdkBuilder.originCustomHeaders(originCustomHeaders.let(IResolvable::unwrap)) + cdkBuilder.originCustomHeaders(originCustomHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -9663,7 +9664,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun originShield(originShield: IResolvable) { - cdkBuilder.originShield(originShield.let(IResolvable::unwrap)) + cdkBuilder.originShield(originShield.let(IResolvable.Companion::unwrap)) } /** @@ -9674,7 +9675,7 @@ public open class CfnDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun originShield(originShield: OriginShieldProperty) { - cdkBuilder.originShield(originShield.let(OriginShieldProperty::unwrap)) + cdkBuilder.originShield(originShield.let(OriginShieldProperty.Companion::unwrap)) } /** @@ -9696,7 +9697,7 @@ public open class CfnDistribution( * static website hosting, use the `CustomOriginConfig` type instead. */ override fun s3OriginConfig(s3OriginConfig: IResolvable) { - cdkBuilder.s3OriginConfig(s3OriginConfig.let(IResolvable::unwrap)) + cdkBuilder.s3OriginConfig(s3OriginConfig.let(IResolvable.Companion::unwrap)) } /** @@ -9706,7 +9707,7 @@ public open class CfnDistribution( * static website hosting, use the `CustomOriginConfig` type instead. */ override fun s3OriginConfig(s3OriginConfig: S3OriginConfigProperty) { - cdkBuilder.s3OriginConfig(s3OriginConfig.let(S3OriginConfigProperty::unwrap)) + cdkBuilder.s3OriginConfig(s3OriginConfig.let(S3OriginConfigProperty.Companion::unwrap)) } /** @@ -9981,7 +9982,7 @@ public open class CfnDistribution( * origin from multiple edge locations or regional edge caches. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -10140,7 +10141,7 @@ public open class CfnDistribution( * property from your stack template. */ override fun geoRestriction(geoRestriction: IResolvable) { - cdkBuilder.geoRestriction(geoRestriction.let(IResolvable::unwrap)) + cdkBuilder.geoRestriction(geoRestriction.let(IResolvable.Companion::unwrap)) } /** @@ -10152,7 +10153,7 @@ public open class CfnDistribution( * property from your stack template. */ override fun geoRestriction(geoRestriction: GeoRestrictionProperty) { - cdkBuilder.geoRestriction(geoRestriction.let(GeoRestrictionProperty::unwrap)) + cdkBuilder.geoRestriction(geoRestriction.let(GeoRestrictionProperty.Companion::unwrap)) } /** @@ -10470,7 +10471,7 @@ public open class CfnDistribution( * @param items The items (status codes) for an origin group. */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -10863,7 +10864,7 @@ public open class CfnDistribution( * * `SslSupportMethod` */ override fun cloudFrontDefaultCertificate(cloudFrontDefaultCertificate: IResolvable) { - cdkBuilder.cloudFrontDefaultCertificate(cloudFrontDefaultCertificate.let(IResolvable::unwrap)) + cdkBuilder.cloudFrontDefaultCertificate(cloudFrontDefaultCertificate.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistributionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistributionProps.kt index 00bdc91d6c..6df80dea1c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistributionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnDistributionProps.kt @@ -270,7 +270,7 @@ public interface CfnDistributionProps { * @param distributionConfig The distribution's configuration. */ override fun distributionConfig(distributionConfig: IResolvable) { - cdkBuilder.distributionConfig(distributionConfig.let(IResolvable::unwrap)) + cdkBuilder.distributionConfig(distributionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnDistributionProps { */ override fun distributionConfig(distributionConfig: CfnDistribution.DistributionConfigProperty) { - cdkBuilder.distributionConfig(distributionConfig.let(CfnDistribution.DistributionConfigProperty::unwrap)) + cdkBuilder.distributionConfig(distributionConfig.let(CfnDistribution.DistributionConfigProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnDistributionProps { * @param tags A complex type that contains zero or more `Tag` elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunction.kt index bd796d005d..1d2fe7c243 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunction.kt @@ -74,8 +74,8 @@ public open class CfnFunction( id: String, props: CfnFunctionProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFunctionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFunctionProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnFunction( * it’s created. */ public open fun autoPublish(`value`: IResolvable) { - unwrap(this).setAutoPublish(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoPublish(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,14 +152,14 @@ public open class CfnFunction( * Contains configuration information about a CloudFront function. */ public open fun functionConfig(`value`: IResolvable) { - unwrap(this).setFunctionConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setFunctionConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains configuration information about a CloudFront function. */ public open fun functionConfig(`value`: FunctionConfigProperty) { - unwrap(this).setFunctionConfig(`value`.let(FunctionConfigProperty::unwrap)) + unwrap(this).setFunctionConfig(`value`.let(FunctionConfigProperty.Companion::unwrap)) } /** @@ -179,14 +179,14 @@ public open class CfnFunction( * Contains metadata about a CloudFront function. */ public open fun functionMetadata(`value`: IResolvable) { - unwrap(this).setFunctionMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setFunctionMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains metadata about a CloudFront function. */ public open fun functionMetadata(`value`: FunctionMetadataProperty) { - unwrap(this).setFunctionMetadata(`value`.let(FunctionMetadataProperty::unwrap)) + unwrap(this).setFunctionMetadata(`value`.let(FunctionMetadataProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnFunction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CfnFunction( * the `LIVE` stage when it’s created. */ override fun autoPublish(autoPublish: IResolvable) { - cdkBuilder.autoPublish(autoPublish.let(IResolvable::unwrap)) + cdkBuilder.autoPublish(autoPublish.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnFunction( * @param functionConfig Contains configuration information about a CloudFront function. */ override fun functionConfig(functionConfig: IResolvable) { - cdkBuilder.functionConfig(functionConfig.let(IResolvable::unwrap)) + cdkBuilder.functionConfig(functionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnFunction( * @param functionConfig Contains configuration information about a CloudFront function. */ override fun functionConfig(functionConfig: FunctionConfigProperty) { - cdkBuilder.functionConfig(functionConfig.let(FunctionConfigProperty::unwrap)) + cdkBuilder.functionConfig(functionConfig.let(FunctionConfigProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnFunction( * @param functionMetadata Contains metadata about a CloudFront function. */ override fun functionMetadata(functionMetadata: IResolvable) { - cdkBuilder.functionMetadata(functionMetadata.let(IResolvable::unwrap)) + cdkBuilder.functionMetadata(functionMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnFunction( * @param functionMetadata Contains metadata about a CloudFront function. */ override fun functionMetadata(functionMetadata: FunctionMetadataProperty) { - cdkBuilder.functionMetadata(functionMetadata.let(FunctionMetadataProperty::unwrap)) + cdkBuilder.functionMetadata(functionMetadata.let(FunctionMetadataProperty.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnFunction( * @param keyValueStoreAssociations The configuration for the key value store associations. */ override fun keyValueStoreAssociations(keyValueStoreAssociations: IResolvable) { - cdkBuilder.keyValueStoreAssociations(keyValueStoreAssociations.let(IResolvable::unwrap)) + cdkBuilder.keyValueStoreAssociations(keyValueStoreAssociations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunctionProps.kt index efa249a8b8..4927b61108 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnFunctionProps.kt @@ -174,7 +174,7 @@ public interface CfnFunctionProps { * To automatically publish to the `LIVE` stage, set this property to `true` . */ override fun autoPublish(autoPublish: IResolvable) { - cdkBuilder.autoPublish(autoPublish.let(IResolvable::unwrap)) + cdkBuilder.autoPublish(autoPublish.let(IResolvable.Companion::unwrap)) } /** @@ -192,14 +192,14 @@ public interface CfnFunctionProps { * @param functionConfig Contains configuration information about a CloudFront function. */ override fun functionConfig(functionConfig: IResolvable) { - cdkBuilder.functionConfig(functionConfig.let(IResolvable::unwrap)) + cdkBuilder.functionConfig(functionConfig.let(IResolvable.Companion::unwrap)) } /** * @param functionConfig Contains configuration information about a CloudFront function. */ override fun functionConfig(functionConfig: CfnFunction.FunctionConfigProperty) { - cdkBuilder.functionConfig(functionConfig.let(CfnFunction.FunctionConfigProperty::unwrap)) + cdkBuilder.functionConfig(functionConfig.let(CfnFunction.FunctionConfigProperty.Companion::unwrap)) } /** @@ -215,14 +215,14 @@ public interface CfnFunctionProps { * @param functionMetadata Contains metadata about a CloudFront function. */ override fun functionMetadata(functionMetadata: IResolvable) { - cdkBuilder.functionMetadata(functionMetadata.let(IResolvable::unwrap)) + cdkBuilder.functionMetadata(functionMetadata.let(IResolvable.Companion::unwrap)) } /** * @param functionMetadata Contains metadata about a CloudFront function. */ override fun functionMetadata(functionMetadata: CfnFunction.FunctionMetadataProperty) { - cdkBuilder.functionMetadata(functionMetadata.let(CfnFunction.FunctionMetadataProperty::unwrap)) + cdkBuilder.functionMetadata(functionMetadata.let(CfnFunction.FunctionMetadataProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroup.kt index eeea7b24e6..6328ad1a71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroup.kt @@ -50,8 +50,8 @@ public open class CfnKeyGroup( id: String, props: CfnKeyGroupProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnKeyGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKeyGroupProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnKeyGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeyGroupProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnKeyGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -89,14 +89,14 @@ public open class CfnKeyGroup( * The key group configuration. */ public open fun keyGroupConfig(`value`: IResolvable) { - unwrap(this).setKeyGroupConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setKeyGroupConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The key group configuration. */ public open fun keyGroupConfig(`value`: KeyGroupConfigProperty) { - unwrap(this).setKeyGroupConfig(`value`.let(KeyGroupConfigProperty::unwrap)) + unwrap(this).setKeyGroupConfig(`value`.let(KeyGroupConfigProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnKeyGroup( * @param keyGroupConfig The key group configuration. */ override fun keyGroupConfig(keyGroupConfig: IResolvable) { - cdkBuilder.keyGroupConfig(keyGroupConfig.let(IResolvable::unwrap)) + cdkBuilder.keyGroupConfig(keyGroupConfig.let(IResolvable.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnKeyGroup( * @param keyGroupConfig The key group configuration. */ override fun keyGroupConfig(keyGroupConfig: KeyGroupConfigProperty) { - cdkBuilder.keyGroupConfig(keyGroupConfig.let(KeyGroupConfigProperty::unwrap)) + cdkBuilder.keyGroupConfig(keyGroupConfig.let(KeyGroupConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroupProps.kt index 351bf03e8f..cd222d8e27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyGroupProps.kt @@ -70,14 +70,14 @@ public interface CfnKeyGroupProps { * @param keyGroupConfig The key group configuration. */ override fun keyGroupConfig(keyGroupConfig: IResolvable) { - cdkBuilder.keyGroupConfig(keyGroupConfig.let(IResolvable::unwrap)) + cdkBuilder.keyGroupConfig(keyGroupConfig.let(IResolvable.Companion::unwrap)) } /** * @param keyGroupConfig The key group configuration. */ override fun keyGroupConfig(keyGroupConfig: CfnKeyGroup.KeyGroupConfigProperty) { - cdkBuilder.keyGroupConfig(keyGroupConfig.let(CfnKeyGroup.KeyGroupConfigProperty::unwrap)) + cdkBuilder.keyGroupConfig(keyGroupConfig.let(CfnKeyGroup.KeyGroupConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStore.kt index 7751a5aafd..94b139a4ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStore.kt @@ -49,8 +49,8 @@ public open class CfnKeyValueStore( id: String, props: CfnKeyValueStoreProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnKeyValueStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKeyValueStoreProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnKeyValueStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeyValueStoreProps.Companion::unwrap)) ) public constructor( @@ -96,14 +96,14 @@ public open class CfnKeyValueStore( * The import source for the key value store. */ public open fun importSource(`value`: IResolvable) { - unwrap(this).setImportSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setImportSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The import source for the key value store. */ public open fun importSource(`value`: ImportSourceProperty) { - unwrap(this).setImportSource(`value`.let(ImportSourceProperty::unwrap)) + unwrap(this).setImportSource(`value`.let(ImportSourceProperty.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnKeyValueStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnKeyValueStore( * @param importSource The import source for the key value store. */ override fun importSource(importSource: IResolvable) { - cdkBuilder.importSource(importSource.let(IResolvable::unwrap)) + cdkBuilder.importSource(importSource.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnKeyValueStore( * @param importSource The import source for the key value store. */ override fun importSource(importSource: ImportSourceProperty) { - cdkBuilder.importSource(importSource.let(ImportSourceProperty::unwrap)) + cdkBuilder.importSource(importSource.let(ImportSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStoreProps.kt index dd514e3fe7..1def8df462 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnKeyValueStoreProps.kt @@ -103,14 +103,14 @@ public interface CfnKeyValueStoreProps { * @param importSource The import source for the key value store. */ override fun importSource(importSource: IResolvable) { - cdkBuilder.importSource(importSource.let(IResolvable::unwrap)) + cdkBuilder.importSource(importSource.let(IResolvable.Companion::unwrap)) } /** * @param importSource The import source for the key value store. */ override fun importSource(importSource: CfnKeyValueStore.ImportSourceProperty) { - cdkBuilder.importSource(importSource.let(CfnKeyValueStore.ImportSourceProperty::unwrap)) + cdkBuilder.importSource(importSource.let(CfnKeyValueStore.ImportSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscription.kt index ca5d00976f..167743421c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscription.kt @@ -49,8 +49,8 @@ public open class CfnMonitoringSubscription( id: String, props: CfnMonitoringSubscriptionProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnMonitoringSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMonitoringSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnMonitoringSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMonitoringSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnMonitoringSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -90,14 +90,14 @@ public open class CfnMonitoringSubscription( * A subscription configuration for additional CloudWatch metrics. */ public open fun monitoringSubscription(`value`: IResolvable) { - unwrap(this).setMonitoringSubscription(`value`.let(IResolvable::unwrap)) + unwrap(this).setMonitoringSubscription(`value`.let(IResolvable.Companion::unwrap)) } /** * A subscription configuration for additional CloudWatch metrics. */ public open fun monitoringSubscription(`value`: MonitoringSubscriptionProperty) { - unwrap(this).setMonitoringSubscription(`value`.let(MonitoringSubscriptionProperty::unwrap)) + unwrap(this).setMonitoringSubscription(`value`.let(MonitoringSubscriptionProperty.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnMonitoringSubscription( * */ override fun monitoringSubscription(monitoringSubscription: IResolvable) { - cdkBuilder.monitoringSubscription(monitoringSubscription.let(IResolvable::unwrap)) + cdkBuilder.monitoringSubscription(monitoringSubscription.let(IResolvable.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnMonitoringSubscription( * */ override fun monitoringSubscription(monitoringSubscription: MonitoringSubscriptionProperty) { - cdkBuilder.monitoringSubscription(monitoringSubscription.let(MonitoringSubscriptionProperty::unwrap)) + cdkBuilder.monitoringSubscription(monitoringSubscription.let(MonitoringSubscriptionProperty.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public open class CfnMonitoringSubscription( */ override fun realtimeMetricsSubscriptionConfig(realtimeMetricsSubscriptionConfig: IResolvable) { - cdkBuilder.realtimeMetricsSubscriptionConfig(realtimeMetricsSubscriptionConfig.let(IResolvable::unwrap)) + cdkBuilder.realtimeMetricsSubscriptionConfig(realtimeMetricsSubscriptionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnMonitoringSubscription( */ override fun realtimeMetricsSubscriptionConfig(realtimeMetricsSubscriptionConfig: RealtimeMetricsSubscriptionConfigProperty) { - cdkBuilder.realtimeMetricsSubscriptionConfig(realtimeMetricsSubscriptionConfig.let(RealtimeMetricsSubscriptionConfigProperty::unwrap)) + cdkBuilder.realtimeMetricsSubscriptionConfig(realtimeMetricsSubscriptionConfig.let(RealtimeMetricsSubscriptionConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscriptionProps.kt index 42cd618619..38563cbd3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnMonitoringSubscriptionProps.kt @@ -98,7 +98,7 @@ public interface CfnMonitoringSubscriptionProps { * */ override fun monitoringSubscription(monitoringSubscription: IResolvable) { - cdkBuilder.monitoringSubscription(monitoringSubscription.let(IResolvable::unwrap)) + cdkBuilder.monitoringSubscription(monitoringSubscription.let(IResolvable.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface CfnMonitoringSubscriptionProps { */ override fun monitoringSubscription(monitoringSubscription: CfnMonitoringSubscription.MonitoringSubscriptionProperty) { - cdkBuilder.monitoringSubscription(monitoringSubscription.let(CfnMonitoringSubscription.MonitoringSubscriptionProperty::unwrap)) + cdkBuilder.monitoringSubscription(monitoringSubscription.let(CfnMonitoringSubscription.MonitoringSubscriptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControl.kt index ceec8d8824..3a3cd80a77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControl.kt @@ -59,8 +59,8 @@ public open class CfnOriginAccessControl( id: String, props: CfnOriginAccessControlProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnOriginAccessControl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOriginAccessControlProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnOriginAccessControl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOriginAccessControlProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnOriginAccessControl( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -93,14 +93,14 @@ public open class CfnOriginAccessControl( * The origin access control. */ public open fun originAccessControlConfig(`value`: IResolvable) { - unwrap(this).setOriginAccessControlConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOriginAccessControlConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The origin access control. */ public open fun originAccessControlConfig(`value`: OriginAccessControlConfigProperty) { - unwrap(this).setOriginAccessControlConfig(`value`.let(OriginAccessControlConfigProperty::unwrap)) + unwrap(this).setOriginAccessControlConfig(`value`.let(OriginAccessControlConfigProperty.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnOriginAccessControl( * @param originAccessControlConfig The origin access control. */ override fun originAccessControlConfig(originAccessControlConfig: IResolvable) { - cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(IResolvable::unwrap)) + cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(IResolvable.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnOriginAccessControl( */ override fun originAccessControlConfig(originAccessControlConfig: OriginAccessControlConfigProperty) { - cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(OriginAccessControlConfigProperty::unwrap)) + cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(OriginAccessControlConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControlProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControlProps.kt index 16bc093cb0..27164f975e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControlProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginAccessControlProps.kt @@ -75,7 +75,7 @@ public interface CfnOriginAccessControlProps { * @param originAccessControlConfig The origin access control. */ override fun originAccessControlConfig(originAccessControlConfig: IResolvable) { - cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(IResolvable::unwrap)) + cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(IResolvable.Companion::unwrap)) } /** @@ -83,7 +83,7 @@ public interface CfnOriginAccessControlProps { */ override fun originAccessControlConfig(originAccessControlConfig: CfnOriginAccessControl.OriginAccessControlConfigProperty) { - cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(CfnOriginAccessControl.OriginAccessControlConfigProperty::unwrap)) + cdkBuilder.originAccessControlConfig(originAccessControlConfig.let(CfnOriginAccessControl.OriginAccessControlConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicy.kt index e96b724e44..6da0ed4fb3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicy.kt @@ -75,8 +75,8 @@ public open class CfnOriginRequestPolicy( id: String, props: CfnOriginRequestPolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnOriginRequestPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOriginRequestPolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnOriginRequestPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOriginRequestPolicyProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnOriginRequestPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -116,14 +116,14 @@ public open class CfnOriginRequestPolicy( * The origin request policy configuration. */ public open fun originRequestPolicyConfig(`value`: IResolvable) { - unwrap(this).setOriginRequestPolicyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOriginRequestPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The origin request policy configuration. */ public open fun originRequestPolicyConfig(`value`: OriginRequestPolicyConfigProperty) { - unwrap(this).setOriginRequestPolicyConfig(`value`.let(OriginRequestPolicyConfigProperty::unwrap)) + unwrap(this).setOriginRequestPolicyConfig(`value`.let(OriginRequestPolicyConfigProperty.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnOriginRequestPolicy( * @param originRequestPolicyConfig The origin request policy configuration. */ override fun originRequestPolicyConfig(originRequestPolicyConfig: IResolvable) { - cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnOriginRequestPolicy( */ override fun originRequestPolicyConfig(originRequestPolicyConfig: OriginRequestPolicyConfigProperty) { - cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(OriginRequestPolicyConfigProperty::unwrap)) + cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(OriginRequestPolicyConfigProperty.Companion::unwrap)) } /** @@ -761,14 +761,14 @@ public open class CfnOriginRequestPolicy( * @param cookiesConfig The cookies from viewer requests to include in origin requests. */ override fun cookiesConfig(cookiesConfig: IResolvable) { - cdkBuilder.cookiesConfig(cookiesConfig.let(IResolvable::unwrap)) + cdkBuilder.cookiesConfig(cookiesConfig.let(IResolvable.Companion::unwrap)) } /** * @param cookiesConfig The cookies from viewer requests to include in origin requests. */ override fun cookiesConfig(cookiesConfig: CookiesConfigProperty) { - cdkBuilder.cookiesConfig(cookiesConfig.let(CookiesConfigProperty::unwrap)) + cdkBuilder.cookiesConfig(cookiesConfig.let(CookiesConfigProperty.Companion::unwrap)) } /** @@ -784,7 +784,7 @@ public open class CfnOriginRequestPolicy( * These can include headers from viewer requests and additional headers added by CloudFront. */ override fun headersConfig(headersConfig: IResolvable) { - cdkBuilder.headersConfig(headersConfig.let(IResolvable::unwrap)) + cdkBuilder.headersConfig(headersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -792,7 +792,7 @@ public open class CfnOriginRequestPolicy( * These can include headers from viewer requests and additional headers added by CloudFront. */ override fun headersConfig(headersConfig: HeadersConfigProperty) { - cdkBuilder.headersConfig(headersConfig.let(HeadersConfigProperty::unwrap)) + cdkBuilder.headersConfig(headersConfig.let(HeadersConfigProperty.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public open class CfnOriginRequestPolicy( * requests. */ override fun queryStringsConfig(queryStringsConfig: IResolvable) { - cdkBuilder.queryStringsConfig(queryStringsConfig.let(IResolvable::unwrap)) + cdkBuilder.queryStringsConfig(queryStringsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public open class CfnOriginRequestPolicy( * requests. */ override fun queryStringsConfig(queryStringsConfig: QueryStringsConfigProperty) { - cdkBuilder.queryStringsConfig(queryStringsConfig.let(QueryStringsConfigProperty::unwrap)) + cdkBuilder.queryStringsConfig(queryStringsConfig.let(QueryStringsConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicyProps.kt index 56119e52cc..79b26607cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnOriginRequestPolicyProps.kt @@ -87,7 +87,7 @@ public interface CfnOriginRequestPolicyProps { * @param originRequestPolicyConfig The origin request policy configuration. */ override fun originRequestPolicyConfig(originRequestPolicyConfig: IResolvable) { - cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface CfnOriginRequestPolicyProps { */ override fun originRequestPolicyConfig(originRequestPolicyConfig: CfnOriginRequestPolicy.OriginRequestPolicyConfigProperty) { - cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(CfnOriginRequestPolicy.OriginRequestPolicyConfigProperty::unwrap)) + cdkBuilder.originRequestPolicyConfig(originRequestPolicyConfig.let(CfnOriginRequestPolicy.OriginRequestPolicyConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKey.kt index 516c4417a3..72a6c1ee7c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKey.kt @@ -50,8 +50,8 @@ public open class CfnPublicKey( id: String, props: CfnPublicKeyProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnPublicKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublicKeyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnPublicKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublicKeyProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnPublicKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public open class CfnPublicKey( * . */ public open fun publicKeyConfig(`value`: IResolvable) { - unwrap(this).setPublicKeyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublicKeyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnPublicKey( * . */ public open fun publicKeyConfig(`value`: PublicKeyConfigProperty) { - unwrap(this).setPublicKeyConfig(`value`.let(PublicKeyConfigProperty::unwrap)) + unwrap(this).setPublicKeyConfig(`value`.let(PublicKeyConfigProperty.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnPublicKey( * . */ override fun publicKeyConfig(publicKeyConfig: IResolvable) { - cdkBuilder.publicKeyConfig(publicKeyConfig.let(IResolvable::unwrap)) + cdkBuilder.publicKeyConfig(publicKeyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnPublicKey( * . */ override fun publicKeyConfig(publicKeyConfig: PublicKeyConfigProperty) { - cdkBuilder.publicKeyConfig(publicKeyConfig.let(PublicKeyConfigProperty::unwrap)) + cdkBuilder.publicKeyConfig(publicKeyConfig.let(PublicKeyConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKeyProps.kt index d12faaa3c8..71dc518327 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnPublicKeyProps.kt @@ -96,7 +96,7 @@ public interface CfnPublicKeyProps { * . */ override fun publicKeyConfig(publicKeyConfig: IResolvable) { - cdkBuilder.publicKeyConfig(publicKeyConfig.let(IResolvable::unwrap)) + cdkBuilder.publicKeyConfig(publicKeyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface CfnPublicKeyProps { * . */ override fun publicKeyConfig(publicKeyConfig: CfnPublicKey.PublicKeyConfigProperty) { - cdkBuilder.publicKeyConfig(publicKeyConfig.let(CfnPublicKey.PublicKeyConfigProperty::unwrap)) + cdkBuilder.publicKeyConfig(publicKeyConfig.let(CfnPublicKey.PublicKeyConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfig.kt index 47bc7d895d..46f9429237 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfig.kt @@ -52,8 +52,8 @@ public open class CfnRealtimeLogConfig( id: String, props: CfnRealtimeLogConfigProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnRealtimeLogConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRealtimeLogConfigProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnRealtimeLogConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRealtimeLogConfigProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnRealtimeLogConfig( * data for this real-time log configuration. */ public open fun endPoints(`value`: IResolvable) { - unwrap(this).setEndPoints(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndPoints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnRealtimeLogConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnRealtimeLogConfig( * sending real-time log data for this real-time log configuration. */ override fun endPoints(endPoints: IResolvable) { - cdkBuilder.endPoints(endPoints.let(IResolvable::unwrap)) + cdkBuilder.endPoints(endPoints.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnRealtimeLogConfig( * you are sending real-time log data. */ override fun kinesisStreamConfig(kinesisStreamConfig: IResolvable) { - cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnRealtimeLogConfig( * you are sending real-time log data. */ override fun kinesisStreamConfig(kinesisStreamConfig: KinesisStreamConfigProperty) { - cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(KinesisStreamConfigProperty::unwrap)) + cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(KinesisStreamConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfigProps.kt index 68f05c2a39..2012f4410b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnRealtimeLogConfigProps.kt @@ -145,7 +145,7 @@ public interface CfnRealtimeLogConfigProps { * sending real-time log data for this real-time log configuration. */ override fun endPoints(endPoints: IResolvable) { - cdkBuilder.endPoints(endPoints.let(IResolvable::unwrap)) + cdkBuilder.endPoints(endPoints.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicy.kt index 9f7e0ca700..25f5ac75eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicy.kt @@ -126,8 +126,8 @@ public open class CfnResponseHeadersPolicy( id: String, props: CfnResponseHeadersPolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResponseHeadersPolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResponseHeadersPolicyProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnResponseHeadersPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -167,14 +167,14 @@ public open class CfnResponseHeadersPolicy( * A response headers policy configuration. */ public open fun responseHeadersPolicyConfig(`value`: IResolvable) { - unwrap(this).setResponseHeadersPolicyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setResponseHeadersPolicyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A response headers policy configuration. */ public open fun responseHeadersPolicyConfig(`value`: ResponseHeadersPolicyConfigProperty) { - unwrap(this).setResponseHeadersPolicyConfig(`value`.let(ResponseHeadersPolicyConfigProperty::unwrap)) + unwrap(this).setResponseHeadersPolicyConfig(`value`.let(ResponseHeadersPolicyConfigProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnResponseHeadersPolicy( * @param responseHeadersPolicyConfig A response headers policy configuration. */ override fun responseHeadersPolicyConfig(responseHeadersPolicyConfig: IResolvable) { - cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnResponseHeadersPolicy( */ override fun responseHeadersPolicyConfig(responseHeadersPolicyConfig: ResponseHeadersPolicyConfigProperty) { - cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(ResponseHeadersPolicyConfigProperty::unwrap)) + cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(ResponseHeadersPolicyConfigProperty.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnResponseHeadersPolicy( * in this response headers policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -984,7 +984,7 @@ public open class CfnResponseHeadersPolicy( * in this response headers policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1337,7 +1337,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun accessControlAllowCredentials(accessControlAllowCredentials: IResolvable) { - cdkBuilder.accessControlAllowCredentials(accessControlAllowCredentials.let(IResolvable::unwrap)) + cdkBuilder.accessControlAllowCredentials(accessControlAllowCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -1348,7 +1348,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun accessControlAllowHeaders(accessControlAllowHeaders: IResolvable) { - cdkBuilder.accessControlAllowHeaders(accessControlAllowHeaders.let(IResolvable::unwrap)) + cdkBuilder.accessControlAllowHeaders(accessControlAllowHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -1360,7 +1360,7 @@ public open class CfnResponseHeadersPolicy( */ override fun accessControlAllowHeaders(accessControlAllowHeaders: AccessControlAllowHeadersProperty) { - cdkBuilder.accessControlAllowHeaders(accessControlAllowHeaders.let(AccessControlAllowHeadersProperty::unwrap)) + cdkBuilder.accessControlAllowHeaders(accessControlAllowHeaders.let(AccessControlAllowHeadersProperty.Companion::unwrap)) } /** @@ -1385,7 +1385,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun accessControlAllowMethods(accessControlAllowMethods: IResolvable) { - cdkBuilder.accessControlAllowMethods(accessControlAllowMethods.let(IResolvable::unwrap)) + cdkBuilder.accessControlAllowMethods(accessControlAllowMethods.let(IResolvable.Companion::unwrap)) } /** @@ -1397,7 +1397,7 @@ public open class CfnResponseHeadersPolicy( */ override fun accessControlAllowMethods(accessControlAllowMethods: AccessControlAllowMethodsProperty) { - cdkBuilder.accessControlAllowMethods(accessControlAllowMethods.let(AccessControlAllowMethodsProperty::unwrap)) + cdkBuilder.accessControlAllowMethods(accessControlAllowMethods.let(AccessControlAllowMethodsProperty.Companion::unwrap)) } /** @@ -1422,7 +1422,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun accessControlAllowOrigins(accessControlAllowOrigins: IResolvable) { - cdkBuilder.accessControlAllowOrigins(accessControlAllowOrigins.let(IResolvable::unwrap)) + cdkBuilder.accessControlAllowOrigins(accessControlAllowOrigins.let(IResolvable.Companion::unwrap)) } /** @@ -1434,7 +1434,7 @@ public open class CfnResponseHeadersPolicy( */ override fun accessControlAllowOrigins(accessControlAllowOrigins: AccessControlAllowOriginsProperty) { - cdkBuilder.accessControlAllowOrigins(accessControlAllowOrigins.let(AccessControlAllowOriginsProperty::unwrap)) + cdkBuilder.accessControlAllowOrigins(accessControlAllowOrigins.let(AccessControlAllowOriginsProperty.Companion::unwrap)) } /** @@ -1459,7 +1459,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun accessControlExposeHeaders(accessControlExposeHeaders: IResolvable) { - cdkBuilder.accessControlExposeHeaders(accessControlExposeHeaders.let(IResolvable::unwrap)) + cdkBuilder.accessControlExposeHeaders(accessControlExposeHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -1471,7 +1471,7 @@ public open class CfnResponseHeadersPolicy( */ override fun accessControlExposeHeaders(accessControlExposeHeaders: AccessControlExposeHeadersProperty) { - cdkBuilder.accessControlExposeHeaders(accessControlExposeHeaders.let(AccessControlExposeHeadersProperty::unwrap)) + cdkBuilder.accessControlExposeHeaders(accessControlExposeHeaders.let(AccessControlExposeHeadersProperty.Companion::unwrap)) } /** @@ -1512,7 +1512,7 @@ public open class CfnResponseHeadersPolicy( * headers received from the origin with the ones specified in this response headers policy. */ override fun originOverride(originOverride: IResolvable) { - cdkBuilder.originOverride(originOverride.let(IResolvable::unwrap)) + cdkBuilder.originOverride(originOverride.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1721,7 +1721,7 @@ public open class CfnResponseHeadersPolicy( * with the same name received from the origin with the header specified here. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } /** @@ -1842,7 +1842,7 @@ public open class CfnResponseHeadersPolicy( * @param items The list of HTTP response headers and their values. */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -1995,7 +1995,7 @@ public open class CfnResponseHeadersPolicy( * response headers policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2155,7 +2155,7 @@ public open class CfnResponseHeadersPolicy( * response headers policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } /** @@ -2374,7 +2374,7 @@ public open class CfnResponseHeadersPolicy( * @param items The list of HTTP header names. */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -2706,7 +2706,7 @@ public open class CfnResponseHeadersPolicy( * cross-origin resource sharing (CORS). */ override fun corsConfig(corsConfig: IResolvable) { - cdkBuilder.corsConfig(corsConfig.let(IResolvable::unwrap)) + cdkBuilder.corsConfig(corsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2714,7 +2714,7 @@ public open class CfnResponseHeadersPolicy( * cross-origin resource sharing (CORS). */ override fun corsConfig(corsConfig: CorsConfigProperty) { - cdkBuilder.corsConfig(corsConfig.let(CorsConfigProperty::unwrap)) + cdkBuilder.corsConfig(corsConfig.let(CorsConfigProperty.Companion::unwrap)) } /** @@ -2730,14 +2730,14 @@ public open class CfnResponseHeadersPolicy( * @param customHeadersConfig A configuration for a set of custom HTTP response headers. */ override fun customHeadersConfig(customHeadersConfig: IResolvable) { - cdkBuilder.customHeadersConfig(customHeadersConfig.let(IResolvable::unwrap)) + cdkBuilder.customHeadersConfig(customHeadersConfig.let(IResolvable.Companion::unwrap)) } /** * @param customHeadersConfig A configuration for a set of custom HTTP response headers. */ override fun customHeadersConfig(customHeadersConfig: CustomHeadersConfigProperty) { - cdkBuilder.customHeadersConfig(customHeadersConfig.let(CustomHeadersConfigProperty::unwrap)) + cdkBuilder.customHeadersConfig(customHeadersConfig.let(CustomHeadersConfigProperty.Companion::unwrap)) } /** @@ -2762,7 +2762,7 @@ public open class CfnResponseHeadersPolicy( * HTTP response. */ override fun removeHeadersConfig(removeHeadersConfig: IResolvable) { - cdkBuilder.removeHeadersConfig(removeHeadersConfig.let(IResolvable::unwrap)) + cdkBuilder.removeHeadersConfig(removeHeadersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2770,7 +2770,7 @@ public open class CfnResponseHeadersPolicy( * HTTP response. */ override fun removeHeadersConfig(removeHeadersConfig: RemoveHeadersConfigProperty) { - cdkBuilder.removeHeadersConfig(removeHeadersConfig.let(RemoveHeadersConfigProperty::unwrap)) + cdkBuilder.removeHeadersConfig(removeHeadersConfig.let(RemoveHeadersConfigProperty.Companion::unwrap)) } /** @@ -2788,7 +2788,7 @@ public open class CfnResponseHeadersPolicy( * headers. */ override fun securityHeadersConfig(securityHeadersConfig: IResolvable) { - cdkBuilder.securityHeadersConfig(securityHeadersConfig.let(IResolvable::unwrap)) + cdkBuilder.securityHeadersConfig(securityHeadersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2796,7 +2796,7 @@ public open class CfnResponseHeadersPolicy( * headers. */ override fun securityHeadersConfig(securityHeadersConfig: SecurityHeadersConfigProperty) { - cdkBuilder.securityHeadersConfig(securityHeadersConfig.let(SecurityHeadersConfigProperty::unwrap)) + cdkBuilder.securityHeadersConfig(securityHeadersConfig.let(SecurityHeadersConfigProperty.Companion::unwrap)) } /** @@ -2814,7 +2814,7 @@ public open class CfnResponseHeadersPolicy( * HTTP responses sent from CloudFront. */ override fun serverTimingHeadersConfig(serverTimingHeadersConfig: IResolvable) { - cdkBuilder.serverTimingHeadersConfig(serverTimingHeadersConfig.let(IResolvable::unwrap)) + cdkBuilder.serverTimingHeadersConfig(serverTimingHeadersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2823,7 +2823,7 @@ public open class CfnResponseHeadersPolicy( */ override fun serverTimingHeadersConfig(serverTimingHeadersConfig: ServerTimingHeadersConfigProperty) { - cdkBuilder.serverTimingHeadersConfig(serverTimingHeadersConfig.let(ServerTimingHeadersConfigProperty::unwrap)) + cdkBuilder.serverTimingHeadersConfig(serverTimingHeadersConfig.let(ServerTimingHeadersConfigProperty.Companion::unwrap)) } /** @@ -3250,7 +3250,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun contentSecurityPolicy(contentSecurityPolicy: IResolvable) { - cdkBuilder.contentSecurityPolicy(contentSecurityPolicy.let(IResolvable::unwrap)) + cdkBuilder.contentSecurityPolicy(contentSecurityPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -3261,7 +3261,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun contentSecurityPolicy(contentSecurityPolicy: ContentSecurityPolicyProperty) { - cdkBuilder.contentSecurityPolicy(contentSecurityPolicy.let(ContentSecurityPolicyProperty::unwrap)) + cdkBuilder.contentSecurityPolicy(contentSecurityPolicy.let(ContentSecurityPolicyProperty.Companion::unwrap)) } /** @@ -3285,7 +3285,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun contentTypeOptions(contentTypeOptions: IResolvable) { - cdkBuilder.contentTypeOptions(contentTypeOptions.let(IResolvable::unwrap)) + cdkBuilder.contentTypeOptions(contentTypeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3296,7 +3296,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun contentTypeOptions(contentTypeOptions: ContentTypeOptionsProperty) { - cdkBuilder.contentTypeOptions(contentTypeOptions.let(ContentTypeOptionsProperty::unwrap)) + cdkBuilder.contentTypeOptions(contentTypeOptions.let(ContentTypeOptionsProperty.Companion::unwrap)) } /** @@ -3320,7 +3320,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun frameOptions(frameOptions: IResolvable) { - cdkBuilder.frameOptions(frameOptions.let(IResolvable::unwrap)) + cdkBuilder.frameOptions(frameOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3331,7 +3331,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun frameOptions(frameOptions: FrameOptionsProperty) { - cdkBuilder.frameOptions(frameOptions.let(FrameOptionsProperty::unwrap)) + cdkBuilder.frameOptions(frameOptions.let(FrameOptionsProperty.Companion::unwrap)) } /** @@ -3354,7 +3354,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun referrerPolicy(referrerPolicy: IResolvable) { - cdkBuilder.referrerPolicy(referrerPolicy.let(IResolvable::unwrap)) + cdkBuilder.referrerPolicy(referrerPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -3365,7 +3365,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun referrerPolicy(referrerPolicy: ReferrerPolicyProperty) { - cdkBuilder.referrerPolicy(referrerPolicy.let(ReferrerPolicyProperty::unwrap)) + cdkBuilder.referrerPolicy(referrerPolicy.let(ReferrerPolicyProperty.Companion::unwrap)) } /** @@ -3391,7 +3391,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun strictTransportSecurity(strictTransportSecurity: IResolvable) { - cdkBuilder.strictTransportSecurity(strictTransportSecurity.let(IResolvable::unwrap)) + cdkBuilder.strictTransportSecurity(strictTransportSecurity.let(IResolvable.Companion::unwrap)) } /** @@ -3406,7 +3406,7 @@ public open class CfnResponseHeadersPolicy( */ override fun strictTransportSecurity(strictTransportSecurity: StrictTransportSecurityProperty) { - cdkBuilder.strictTransportSecurity(strictTransportSecurity.let(StrictTransportSecurityProperty::unwrap)) + cdkBuilder.strictTransportSecurity(strictTransportSecurity.let(StrictTransportSecurityProperty.Companion::unwrap)) } /** @@ -3433,7 +3433,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun xssProtection(xssProtection: IResolvable) { - cdkBuilder.xssProtection(xssProtection.let(IResolvable::unwrap)) + cdkBuilder.xssProtection(xssProtection.let(IResolvable.Companion::unwrap)) } /** @@ -3444,7 +3444,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun xssProtection(xssProtection: XSSProtectionProperty) { - cdkBuilder.xssProtection(xssProtection.let(XSSProtectionProperty::unwrap)) + cdkBuilder.xssProtection(xssProtection.let(XSSProtectionProperty.Companion::unwrap)) } /** @@ -3656,7 +3656,7 @@ public open class CfnResponseHeadersPolicy( * associated with this response headers policy. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -3859,7 +3859,7 @@ public open class CfnResponseHeadersPolicy( * `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header. */ override fun includeSubdomains(includeSubdomains: IResolvable) { - cdkBuilder.includeSubdomains(includeSubdomains.let(IResolvable::unwrap)) + cdkBuilder.includeSubdomains(includeSubdomains.let(IResolvable.Companion::unwrap)) } /** @@ -3877,7 +3877,7 @@ public open class CfnResponseHeadersPolicy( * specified in this response headers policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } /** @@ -3893,7 +3893,7 @@ public open class CfnResponseHeadersPolicy( * directive in the `Strict-Transport-Security` HTTP response header. */ override fun preload(preload: IResolvable) { - cdkBuilder.preload(preload.let(IResolvable::unwrap)) + cdkBuilder.preload(preload.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4128,7 +4128,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun modeBlock(modeBlock: IResolvable) { - cdkBuilder.modeBlock(modeBlock.let(IResolvable::unwrap)) + cdkBuilder.modeBlock(modeBlock.let(IResolvable.Companion::unwrap)) } /** @@ -4146,7 +4146,7 @@ public open class CfnResponseHeadersPolicy( * this response headers policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } /** @@ -4174,7 +4174,7 @@ public open class CfnResponseHeadersPolicy( * in the MDN Web Docs. */ override fun protection(protection: IResolvable) { - cdkBuilder.protection(protection.let(IResolvable::unwrap)) + cdkBuilder.protection(protection.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicyProps.kt index 26173f4554..14d0c72143 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnResponseHeadersPolicyProps.kt @@ -139,7 +139,7 @@ public interface CfnResponseHeadersPolicyProps { * @param responseHeadersPolicyConfig A response headers policy configuration. */ override fun responseHeadersPolicyConfig(responseHeadersPolicyConfig: IResolvable) { - cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(IResolvable::unwrap)) + cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface CfnResponseHeadersPolicyProps { */ override fun responseHeadersPolicyConfig(responseHeadersPolicyConfig: CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty) { - cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty::unwrap)) + cdkBuilder.responseHeadersPolicyConfig(responseHeadersPolicyConfig.let(CfnResponseHeadersPolicy.ResponseHeadersPolicyConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistribution.kt index f33877b17b..8e361c9a80 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistribution.kt @@ -76,8 +76,8 @@ public open class CfnStreamingDistribution( id: String, props: CfnStreamingDistributionProps, ) : - this(software.amazon.awscdk.services.cloudfront.CfnStreamingDistribution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamingDistributionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CfnStreamingDistribution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamingDistributionProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnStreamingDistribution( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,14 +115,14 @@ public open class CfnStreamingDistribution( * The current configuration information for the RTMP distribution. */ public open fun streamingDistributionConfig(`value`: IResolvable) { - unwrap(this).setStreamingDistributionConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamingDistributionConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The current configuration information for the RTMP distribution. */ public open fun streamingDistributionConfig(`value`: StreamingDistributionConfigProperty) { - unwrap(this).setStreamingDistributionConfig(`value`.let(StreamingDistributionConfigProperty::unwrap)) + unwrap(this).setStreamingDistributionConfig(`value`.let(StreamingDistributionConfigProperty.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnStreamingDistribution( * A complex type that contains zero or more `Tag` elements. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnStreamingDistribution( * distribution. */ override fun streamingDistributionConfig(streamingDistributionConfig: IResolvable) { - cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(IResolvable::unwrap)) + cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnStreamingDistribution( */ override fun streamingDistributionConfig(streamingDistributionConfig: StreamingDistributionConfigProperty) { - cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(StreamingDistributionConfigProperty::unwrap)) + cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(StreamingDistributionConfigProperty.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnStreamingDistribution( * @param tags A complex type that contains zero or more `Tag` elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnStreamingDistribution( * specify values for `Bucket` and `Prefix` , the values are automatically deleted. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -924,7 +924,7 @@ public open class CfnStreamingDistribution( * content. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -932,7 +932,7 @@ public open class CfnStreamingDistribution( * streaming distribution. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** @@ -940,7 +940,7 @@ public open class CfnStreamingDistribution( * streaming distribution. */ override fun logging(logging: LoggingProperty) { - cdkBuilder.logging(logging.let(LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(LoggingProperty.Companion::unwrap)) } /** @@ -965,7 +965,7 @@ public open class CfnStreamingDistribution( * which you want CloudFront to get your media files for distribution. */ override fun s3Origin(s3Origin: IResolvable) { - cdkBuilder.s3Origin(s3Origin.let(IResolvable::unwrap)) + cdkBuilder.s3Origin(s3Origin.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnStreamingDistribution( * which you want CloudFront to get your media files for distribution. */ override fun s3Origin(s3Origin: S3OriginProperty) { - cdkBuilder.s3Origin(s3Origin.let(S3OriginProperty::unwrap)) + cdkBuilder.s3Origin(s3Origin.let(S3OriginProperty.Companion::unwrap)) } /** @@ -995,7 +995,7 @@ public open class CfnStreamingDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun trustedSigners(trustedSigners: IResolvable) { - cdkBuilder.trustedSigners(trustedSigners.let(IResolvable::unwrap)) + cdkBuilder.trustedSigners(trustedSigners.let(IResolvable.Companion::unwrap)) } /** @@ -1008,7 +1008,7 @@ public open class CfnStreamingDistribution( * in the *Amazon CloudFront Developer Guide* . */ override fun trustedSigners(trustedSigners: TrustedSignersProperty) { - cdkBuilder.trustedSigners(trustedSigners.let(TrustedSignersProperty::unwrap)) + cdkBuilder.trustedSigners(trustedSigners.let(TrustedSignersProperty.Companion::unwrap)) } /** @@ -1230,7 +1230,7 @@ public open class CfnStreamingDistribution( * If not, this field is `false` . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistributionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistributionProps.kt index 88918272c9..0a5d339e79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistributionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CfnStreamingDistributionProps.kt @@ -117,7 +117,7 @@ public interface CfnStreamingDistributionProps { * distribution. */ override fun streamingDistributionConfig(streamingDistributionConfig: IResolvable) { - cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(IResolvable::unwrap)) + cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface CfnStreamingDistributionProps { */ override fun streamingDistributionConfig(streamingDistributionConfig: CfnStreamingDistribution.StreamingDistributionConfigProperty) { - cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(CfnStreamingDistribution.StreamingDistributionConfigProperty::unwrap)) + cdkBuilder.streamingDistributionConfig(streamingDistributionConfig.let(CfnStreamingDistribution.StreamingDistributionConfigProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface CfnStreamingDistributionProps { * @param tags A complex type that contains zero or more `Tag` elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistribution.kt index 4997b7410c..914a60aebd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistribution.kt @@ -69,8 +69,8 @@ public open class CloudFrontWebDistribution( id: String, props: CloudFrontWebDistributionProps, ) : - this(software.amazon.awscdk.services.cloudfront.CloudFrontWebDistribution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CloudFrontWebDistributionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.CloudFrontWebDistribution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CloudFrontWebDistributionProps.Companion::unwrap)) ) public constructor( @@ -101,8 +101,8 @@ public open class CloudFrontWebDistribution( * @param actions The set of actions to allow (i.e. "cloudfront:ListInvalidations"). */ public override fun grant(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(identity.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant to create invalidations for this bucket to an IAM principal (Role/Group/User). @@ -110,7 +110,7 @@ public open class CloudFrontWebDistribution( * @param identity The principal. */ public override fun grantCreateInvalidation(identity: IGrantable): Grant = - unwrap(this).grantCreateInvalidation(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantCreateInvalidation(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The logging bucket for this CloudFront distribution. @@ -370,7 +370,7 @@ public open class CloudFrontWebDistribution( */ override fun errorConfigurations(errorConfigurations: List) { - cdkBuilder.errorConfigurations(errorConfigurations.map(CfnDistribution.CustomErrorResponseProperty::unwrap)) + cdkBuilder.errorConfigurations(errorConfigurations.map(CfnDistribution.CustomErrorResponseProperty.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CloudFrontWebDistribution( * @param geoRestriction Controls the countries in which your content is distributed. */ override fun geoRestriction(geoRestriction: GeoRestriction) { - cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction::unwrap)) + cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CloudFrontWebDistribution( * @param httpVersion The max supported HTTP Versions. */ override fun httpVersion(httpVersion: HttpVersion) { - cdkBuilder.httpVersion(httpVersion.let(HttpVersion::unwrap)) + cdkBuilder.httpVersion(httpVersion.let(HttpVersion.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CloudFrontWebDistribution( * @param loggingConfig Optional - if we should enable logging. */ override fun loggingConfig(loggingConfig: LoggingConfiguration) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfiguration::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfiguration.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CloudFrontWebDistribution( * @param originConfigs The origin configurations for this distribution. */ override fun originConfigs(originConfigs: List) { - cdkBuilder.originConfigs(originConfigs.map(SourceConfiguration::unwrap)) + cdkBuilder.originConfigs(originConfigs.map(SourceConfiguration.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class CloudFrontWebDistribution( * CloudFront uses for your distribution, and billing). */ override fun priceClass(priceClass: PriceClass) { - cdkBuilder.priceClass(priceClass.let(PriceClass::unwrap)) + cdkBuilder.priceClass(priceClass.let(PriceClass.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CloudFrontWebDistribution( * using AWS Certificate Manager (ACM) or a third-party certificate authority. */ override fun viewerCertificate(viewerCertificate: ViewerCertificate) { - cdkBuilder.viewerCertificate(viewerCertificate.let(ViewerCertificate::unwrap)) + cdkBuilder.viewerCertificate(viewerCertificate.let(ViewerCertificate.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CloudFrontWebDistribution( * @param viewerProtocolPolicy The default viewer policy for incoming clients. */ override fun viewerProtocolPolicy(viewerProtocolPolicy: ViewerProtocolPolicy) { - cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy::unwrap)) + cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy.Companion::unwrap)) } /** @@ -531,8 +531,9 @@ public open class CloudFrontWebDistribution( id: String, attrs: CloudFrontWebDistributionAttributes, ): IDistribution = - software.amazon.awscdk.services.cloudfront.CloudFrontWebDistribution.fromDistributionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(CloudFrontWebDistributionAttributes::unwrap)).let(IDistribution::wrap) + software.amazon.awscdk.services.cloudfront.CloudFrontWebDistribution.fromDistributionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(CloudFrontWebDistributionAttributes.Companion::unwrap)).let(IDistribution::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80a9b75be6523c2010178c9d6779ba47e3ed66833189966b4162046ea7b0dfc4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistributionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistributionProps.kt index f92d62625f..fe131cae8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistributionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CloudFrontWebDistributionProps.kt @@ -302,7 +302,7 @@ public interface CloudFrontWebDistributionProps { */ override fun errorConfigurations(errorConfigurations: List) { - cdkBuilder.errorConfigurations(errorConfigurations.map(CfnDistribution.CustomErrorResponseProperty::unwrap)) + cdkBuilder.errorConfigurations(errorConfigurations.map(CfnDistribution.CustomErrorResponseProperty.Companion::unwrap)) } /** @@ -319,14 +319,14 @@ public interface CloudFrontWebDistributionProps { * @param geoRestriction Controls the countries in which your content is distributed. */ override fun geoRestriction(geoRestriction: GeoRestriction) { - cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction::unwrap)) + cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction.Companion::unwrap)) } /** * @param httpVersion The max supported HTTP Versions. */ override fun httpVersion(httpVersion: HttpVersion) { - cdkBuilder.httpVersion(httpVersion.let(HttpVersion::unwrap)) + cdkBuilder.httpVersion(httpVersion.let(HttpVersion.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface CloudFrontWebDistributionProps { * Omission of this property indicates no logging is to be enabled. */ override fun loggingConfig(loggingConfig: LoggingConfiguration) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfiguration::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfiguration.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface CloudFrontWebDistributionProps { * Behaviors are a part of the origin. */ override fun originConfigs(originConfigs: List) { - cdkBuilder.originConfigs(originConfigs.map(SourceConfiguration::unwrap)) + cdkBuilder.originConfigs(originConfigs.map(SourceConfiguration.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface CloudFrontWebDistributionProps { * CloudFront uses for your distribution, and billing). */ override fun priceClass(priceClass: PriceClass) { - cdkBuilder.priceClass(priceClass.let(PriceClass::unwrap)) + cdkBuilder.priceClass(priceClass.let(PriceClass.Companion::unwrap)) } /** @@ -377,14 +377,14 @@ public interface CloudFrontWebDistributionProps { * using AWS Certificate Manager (ACM) or a third-party certificate authority. */ override fun viewerCertificate(viewerCertificate: ViewerCertificate) { - cdkBuilder.viewerCertificate(viewerCertificate.let(ViewerCertificate::unwrap)) + cdkBuilder.viewerCertificate(viewerCertificate.let(ViewerCertificate.Companion::unwrap)) } /** * @param viewerProtocolPolicy The default viewer policy for incoming clients. */ override fun viewerProtocolPolicy(viewerProtocolPolicy: ViewerProtocolPolicy) { - cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy::unwrap)) + cdkBuilder.viewerProtocolPolicy(viewerProtocolPolicy.let(ViewerProtocolPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CustomOriginConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CustomOriginConfig.kt index 8e836fbd1f..fc62505973 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CustomOriginConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/CustomOriginConfig.kt @@ -184,7 +184,7 @@ public interface CustomOriginConfig { * @param allowedOriginSslVersions The SSL versions to use when interacting with the origin. */ override fun allowedOriginSslVersions(allowedOriginSslVersions: List) { - cdkBuilder.allowedOriginSslVersions(allowedOriginSslVersions.map(OriginSslPolicy::unwrap)) + cdkBuilder.allowedOriginSslVersions(allowedOriginSslVersions.map(OriginSslPolicy.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface CustomOriginConfig { * @param originKeepaliveTimeout The keep alive timeout when making calls in seconds. */ override fun originKeepaliveTimeout(originKeepaliveTimeout: Duration) { - cdkBuilder.originKeepaliveTimeout(originKeepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.originKeepaliveTimeout(originKeepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public interface CustomOriginConfig { * the origin. */ override fun originProtocolPolicy(originProtocolPolicy: OriginProtocolPolicy) { - cdkBuilder.originProtocolPolicy(originProtocolPolicy.let(OriginProtocolPolicy::unwrap)) + cdkBuilder.originProtocolPolicy(originProtocolPolicy.let(OriginProtocolPolicy.Companion::unwrap)) } /** * @param originReadTimeout The read timeout when calling the origin in seconds. */ override fun originReadTimeout(originReadTimeout: Duration) { - cdkBuilder.originReadTimeout(originReadTimeout.let(Duration::unwrap)) + cdkBuilder.originReadTimeout(originReadTimeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Distribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Distribution.kt index 53d8fdd991..e049181bbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Distribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Distribution.kt @@ -50,8 +50,8 @@ public open class Distribution( id: String, props: DistributionProps, ) : - this(software.amazon.awscdk.services.cloudfront.Distribution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DistributionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.Distribution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DistributionProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class Distribution( * @param behaviorOptions the options for the behavior at this path. */ public open fun addBehavior(pathPattern: String, origin: IOrigin) { - unwrap(this).addBehavior(pathPattern, origin.let(IOrigin::unwrap)) + unwrap(this).addBehavior(pathPattern, origin.let(IOrigin.Companion::unwrap)) } /** @@ -86,8 +86,8 @@ public open class Distribution( origin: IOrigin, behaviorOptions: AddBehaviorOptions, ) { - unwrap(this).addBehavior(pathPattern, origin.let(IOrigin::unwrap), - behaviorOptions.let(AddBehaviorOptions::unwrap)) + unwrap(this).addBehavior(pathPattern, origin.let(IOrigin.Companion::unwrap), + behaviorOptions.let(AddBehaviorOptions.Companion::unwrap)) } /** @@ -128,8 +128,8 @@ public open class Distribution( * @param actions The set of actions to allow (i.e. "cloudfront:ListInvalidations"). */ public override fun grant(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(identity.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant to create invalidations for this bucket to an IAM principal (Role/Group/User). @@ -137,7 +137,7 @@ public open class Distribution( * @param identity The principal. */ public override fun grantCreateInvalidation(identity: IGrantable): Grant = - unwrap(this).grantCreateInvalidation(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantCreateInvalidation(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Distribution. @@ -155,7 +155,7 @@ public open class Distribution( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Distribution. @@ -191,7 +191,7 @@ public open class Distribution( * @param props */ public open fun metric401ErrorRate(props: MetricOptions): Metric = - unwrap(this).metric401ErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric401ErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -231,7 +231,7 @@ public open class Distribution( * @param props */ public open fun metric403ErrorRate(props: MetricOptions): Metric = - unwrap(this).metric403ErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric403ErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -271,7 +271,7 @@ public open class Distribution( * @param props */ public open fun metric404ErrorRate(props: MetricOptions): Metric = - unwrap(this).metric404ErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric404ErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -307,7 +307,7 @@ public open class Distribution( * @param props */ public open fun metric4xxErrorRate(props: MetricOptions): Metric = - unwrap(this).metric4xxErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric4xxErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -345,7 +345,7 @@ public open class Distribution( * @param props */ public open fun metric502ErrorRate(props: MetricOptions): Metric = - unwrap(this).metric502ErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric502ErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -385,7 +385,7 @@ public open class Distribution( * @param props */ public open fun metric503ErrorRate(props: MetricOptions): Metric = - unwrap(this).metric503ErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric503ErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -425,7 +425,7 @@ public open class Distribution( * @param props */ public open fun metric504ErrorRate(props: MetricOptions): Metric = - unwrap(this).metric504ErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric504ErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -461,7 +461,7 @@ public open class Distribution( * @param props */ public open fun metric5xxErrorRate(props: MetricOptions): Metric = - unwrap(this).metric5xxErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric5xxErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -494,7 +494,7 @@ public open class Distribution( * @param props */ public open fun metricBytesDownloaded(props: MetricOptions): Metric = - unwrap(this).metricBytesDownloaded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricBytesDownloaded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number of bytes downloaded by viewers for GET, HEAD, and OPTIONS requests. @@ -528,7 +528,7 @@ public open class Distribution( * @param props */ public open fun metricBytesUploaded(props: MetricOptions): Metric = - unwrap(this).metricBytesUploaded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricBytesUploaded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number of bytes that viewers uploaded to your origin with CloudFront, @@ -570,7 +570,7 @@ public open class Distribution( * @param props */ public open fun metricCacheHitRate(props: MetricOptions): Metric = - unwrap(this).metricCacheHitRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCacheHitRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all cacheable requests for which CloudFront served the content @@ -619,7 +619,7 @@ public open class Distribution( * @param props */ public open fun metricOriginLatency(props: MetricOptions): Metric = - unwrap(this).metricOriginLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricOriginLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total time spent from when CloudFront receives a request to when it starts @@ -658,7 +658,7 @@ public open class Distribution( * @param props */ public open fun metricRequests(props: MetricOptions): Metric = - unwrap(this).metricRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the total number of viewer requests received by CloudFront, for all HTTP methods and @@ -693,7 +693,7 @@ public open class Distribution( * @param props */ public open fun metricTotalErrorRate(props: MetricOptions): Metric = - unwrap(this).metricTotalErrorRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTotalErrorRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the percentage of all viewer requests for which the response's HTTP status code is @@ -1032,7 +1032,7 @@ public open class Distribution( * @param certificate A certificate to associate with the distribution. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -1052,7 +1052,7 @@ public open class Distribution( * @param defaultBehavior The default behavior for the distribution. */ override fun defaultBehavior(defaultBehavior: BehaviorOptions) { - cdkBuilder.defaultBehavior(defaultBehavior.let(BehaviorOptions::unwrap)) + cdkBuilder.defaultBehavior(defaultBehavior.let(BehaviorOptions.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public open class Distribution( * PageNotFound). */ override fun errorResponses(errorResponses: List) { - cdkBuilder.errorResponses(errorResponses.map(ErrorResponse::unwrap)) + cdkBuilder.errorResponses(errorResponses.map(ErrorResponse.Companion::unwrap)) } /** @@ -1182,7 +1182,7 @@ public open class Distribution( * @param geoRestriction Controls the countries in which your content is distributed. */ override fun geoRestriction(geoRestriction: GeoRestriction) { - cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction::unwrap)) + cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction.Companion::unwrap)) } /** @@ -1197,7 +1197,7 @@ public open class Distribution( * communicate with CloudFront. */ override fun httpVersion(httpVersion: HttpVersion) { - cdkBuilder.httpVersion(httpVersion.let(HttpVersion::unwrap)) + cdkBuilder.httpVersion(httpVersion.let(HttpVersion.Companion::unwrap)) } /** @@ -1211,7 +1211,7 @@ public open class Distribution( * @param logBucket The Amazon S3 bucket to store the access logs in. */ override fun logBucket(logBucket: IBucket) { - cdkBuilder.logBucket(logBucket.let(IBucket::unwrap)) + cdkBuilder.logBucket(logBucket.let(IBucket.Companion::unwrap)) } /** @@ -1254,7 +1254,7 @@ public open class Distribution( * CloudFront to use for HTTPS connections. */ override fun minimumProtocolVersion(minimumProtocolVersion: SecurityPolicyProtocol) { - cdkBuilder.minimumProtocolVersion(minimumProtocolVersion.let(SecurityPolicyProtocol::unwrap)) + cdkBuilder.minimumProtocolVersion(minimumProtocolVersion.let(SecurityPolicyProtocol.Companion::unwrap)) } /** @@ -1273,7 +1273,7 @@ public open class Distribution( * pay for CloudFront service. */ override fun priceClass(priceClass: PriceClass) { - cdkBuilder.priceClass(priceClass.let(PriceClass::unwrap)) + cdkBuilder.priceClass(priceClass.let(PriceClass.Companion::unwrap)) } /** @@ -1316,7 +1316,7 @@ public open class Distribution( * @param sslSupportMethod The SSL method CloudFront will use for your distribution. */ override fun sslSupportMethod(sslSupportMethod: SSLMethod) { - cdkBuilder.sslSupportMethod(sslSupportMethod.let(SSLMethod::unwrap)) + cdkBuilder.sslSupportMethod(sslSupportMethod.let(SSLMethod.Companion::unwrap)) } /** @@ -1348,8 +1348,8 @@ public open class Distribution( id: String, attrs: DistributionAttributes, ): IDistribution = - software.amazon.awscdk.services.cloudfront.Distribution.fromDistributionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DistributionAttributes::unwrap)).let(IDistribution::wrap) + software.amazon.awscdk.services.cloudfront.Distribution.fromDistributionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DistributionAttributes.Companion::unwrap)).let(IDistribution::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("13b637f527f535354a6fcac80fa4eef953671068e33f43e905ddf0f27899b7fd") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/DistributionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/DistributionProps.kt index 56ff62d263..83390b16cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/DistributionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/DistributionProps.kt @@ -443,7 +443,7 @@ public interface DistributionProps { * The certificate must be located in N. Virginia (us-east-1). */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface DistributionProps { * @param defaultBehavior The default behavior for the distribution. */ override fun defaultBehavior(defaultBehavior: BehaviorOptions) { - cdkBuilder.defaultBehavior(defaultBehavior.let(BehaviorOptions::unwrap)) + cdkBuilder.defaultBehavior(defaultBehavior.let(BehaviorOptions.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public interface DistributionProps { * PageNotFound). */ override fun errorResponses(errorResponses: List) { - cdkBuilder.errorResponses(errorResponses.map(ErrorResponse::unwrap)) + cdkBuilder.errorResponses(errorResponses.map(ErrorResponse.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public interface DistributionProps { * @param geoRestriction Controls the countries in which your content is distributed. */ override fun geoRestriction(geoRestriction: GeoRestriction) { - cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction::unwrap)) + cdkBuilder.geoRestriction(geoRestriction.let(GeoRestriction.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface DistributionProps { * support server name identification (SNI). */ override fun httpVersion(httpVersion: HttpVersion) { - cdkBuilder.httpVersion(httpVersion.let(HttpVersion::unwrap)) + cdkBuilder.httpVersion(httpVersion.let(HttpVersion.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface DistributionProps { * bucket. */ override fun logBucket(logBucket: IBucket) { - cdkBuilder.logBucket(logBucket.let(IBucket::unwrap)) + cdkBuilder.logBucket(logBucket.let(IBucket.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public interface DistributionProps { * least the SSL version that you specify. */ override fun minimumProtocolVersion(minimumProtocolVersion: SecurityPolicyProtocol) { - cdkBuilder.minimumProtocolVersion(minimumProtocolVersion.let(SecurityPolicyProtocol::unwrap)) + cdkBuilder.minimumProtocolVersion(minimumProtocolVersion.let(SecurityPolicyProtocol.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public interface DistributionProps { * that has the lowest latency among the edge locations in your price class. */ override fun priceClass(priceClass: PriceClass) { - cdkBuilder.priceClass(priceClass.let(PriceClass::unwrap)) + cdkBuilder.priceClass(priceClass.let(PriceClass.Companion::unwrap)) } /** @@ -633,7 +633,7 @@ public interface DistributionProps { * https://aws.amazon.com/cloudfront/custom-ssl-domains/ */ override fun sslSupportMethod(sslSupportMethod: SSLMethod) { - cdkBuilder.sslSupportMethod(sslSupportMethod.let(SSLMethod::unwrap)) + cdkBuilder.sslSupportMethod(sslSupportMethod.let(SSLMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/EdgeLambda.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/EdgeLambda.kt index ee7495ea3d..8086285bd5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/EdgeLambda.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/EdgeLambda.kt @@ -87,7 +87,7 @@ public interface EdgeLambda { * @param eventType The type of event in response to which should the function be invoked. */ override fun eventType(eventType: LambdaEdgeEventType) { - cdkBuilder.eventType(eventType.let(LambdaEdgeEventType::unwrap)) + cdkBuilder.eventType(eventType.let(LambdaEdgeEventType.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface EdgeLambda { * **Note**: it's not possible to use the '$LATEST' function version for Lambda@Edge! */ override fun functionVersion(functionVersion: IVersion) { - cdkBuilder.functionVersion(functionVersion.let(IVersion::unwrap)) + cdkBuilder.functionVersion(functionVersion.let(IVersion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Endpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Endpoint.kt index a8e5830594..83641b7339 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Endpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Endpoint.kt @@ -39,11 +39,11 @@ public abstract class Endpoint( public companion object { public fun fromKinesisStream(stream: IStream): Endpoint = - software.amazon.awscdk.services.cloudfront.Endpoint.fromKinesisStream(stream.let(IStream::unwrap)).let(Endpoint::wrap) + software.amazon.awscdk.services.cloudfront.Endpoint.fromKinesisStream(stream.let(IStream.Companion::unwrap)).let(Endpoint::wrap) public fun fromKinesisStream(stream: IStream, role: IRole): Endpoint = - software.amazon.awscdk.services.cloudfront.Endpoint.fromKinesisStream(stream.let(IStream::unwrap), - role.let(IRole::unwrap)).let(Endpoint::wrap) + software.amazon.awscdk.services.cloudfront.Endpoint.fromKinesisStream(stream.let(IStream.Companion::unwrap), + role.let(IRole.Companion::unwrap)).let(Endpoint::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.cloudfront.Endpoint): Endpoint = CdkObjectWrappers.wrap(cdkObject) as? Endpoint ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ErrorResponse.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ErrorResponse.kt index a1fa9fd3bf..91b0a04687 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ErrorResponse.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ErrorResponse.kt @@ -132,7 +132,7 @@ public interface ErrorResponse { * status code specified in ErrorCode. */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.ErrorResponse = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Function.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Function.kt index 38643627dd..73c952ee84 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Function.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/Function.kt @@ -4,6 +4,7 @@ package io.cloudshiftdev.awscdk.services.cloudfront import io.cloudshiftdev.awscdk.Resource import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.Boolean import kotlin.String import kotlin.Unit import kotlin.jvm.JvmName @@ -16,20 +17,12 @@ import software.constructs.Construct as SoftwareConstructsConstruct * Example: * * ``` - * Bucket s3Bucket; - * // Add a cloudfront Function to a Distribution - * Function cfFunction = Function.Builder.create(this, "Function") + * KeyValueStore store = new KeyValueStore(this, "KeyValueStore"); + * Function.Builder.create(this, "Function") * .code(FunctionCode.fromInline("function handler(event) { return event.request }")) + * // Note that JS_2_0 must be used for Key Value Store support * .runtime(FunctionRuntime.JS_2_0) - * .build(); - * Distribution.Builder.create(this, "distro") - * .defaultBehavior(BehaviorOptions.builder() - * .origin(new S3Origin(s3Bucket)) - * .functionAssociations(List.of(FunctionAssociation.builder() - * .function(cfFunction) - * .eventType(FunctionEventType.VIEWER_REQUEST) - * .build())) - * .build()) + * .keyValueStore(store) * .build(); * ``` */ @@ -41,8 +34,8 @@ public open class Function( id: String, props: FunctionProps, ) : - this(software.amazon.awscdk.services.cloudfront.Function(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FunctionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.Function(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FunctionProps.Companion::unwrap)) ) public constructor( @@ -77,6 +70,17 @@ public open class Function( */ @CdkDslMarker public interface Builder { + /** + * A flag that determines whether to automatically publish the function to the LIVE stage when + * it’s created. + * + * Default: - true + * + * @param autoPublish A flag that determines whether to automatically publish the function to + * the LIVE stage when it’s created. + */ + public fun autoPublish(autoPublish: Boolean) + /** * The source code of the function. * @@ -132,13 +136,26 @@ public open class Function( private val cdkBuilder: software.amazon.awscdk.services.cloudfront.Function.Builder = software.amazon.awscdk.services.cloudfront.Function.Builder.create(scope, id) + /** + * A flag that determines whether to automatically publish the function to the LIVE stage when + * it’s created. + * + * Default: - true + * + * @param autoPublish A flag that determines whether to automatically publish the function to + * the LIVE stage when it’s created. + */ + override fun autoPublish(autoPublish: Boolean) { + cdkBuilder.autoPublish(autoPublish) + } + /** * The source code of the function. * * @param code The source code of the function. */ override fun code(code: FunctionCode) { - cdkBuilder.code(code.let(FunctionCode::unwrap)) + cdkBuilder.code(code.let(FunctionCode.Companion::unwrap)) } /** @@ -174,7 +191,7 @@ public open class Function( * @param keyValueStore The Key Value Store to associate with this function. */ override fun keyValueStore(keyValueStore: IKeyValueStore) { - cdkBuilder.keyValueStore(keyValueStore.let(IKeyValueStore::unwrap)) + cdkBuilder.keyValueStore(keyValueStore.let(IKeyValueStore.Companion::unwrap)) } /** @@ -186,7 +203,7 @@ public open class Function( * @param runtime The runtime environment for the function. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.Function = cdkBuilder.build() @@ -198,8 +215,8 @@ public open class Function( id: String, attrs: FunctionAttributes, ): IFunction = - software.amazon.awscdk.services.cloudfront.Function.fromFunctionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(FunctionAttributes::unwrap)).let(IFunction::wrap) + software.amazon.awscdk.services.cloudfront.Function.fromFunctionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(FunctionAttributes.Companion::unwrap)).let(IFunction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("91316568d90081b9d7f3c253151ac0e56a539482d4c8c8d96412d774c1738c7f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionAssociation.kt index 7ff2e31f2a..213d17c557 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionAssociation.kt @@ -60,14 +60,14 @@ public interface FunctionAssociation { * @param eventType The type of event which should invoke the function. */ override fun eventType(eventType: FunctionEventType) { - cdkBuilder.eventType(eventType.let(FunctionEventType::unwrap)) + cdkBuilder.eventType(eventType.let(FunctionEventType.Companion::unwrap)) } /** * @param function The CloudFront function that will be invoked. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.FunctionAssociation = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionCode.kt index 7543469f0c..a3c33e290f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionCode.kt @@ -14,20 +14,12 @@ import kotlin.jvm.JvmName * Example: * * ``` - * Bucket s3Bucket; - * // Add a cloudfront Function to a Distribution - * Function cfFunction = Function.Builder.create(this, "Function") + * KeyValueStore store = new KeyValueStore(this, "KeyValueStore"); + * Function.Builder.create(this, "Function") * .code(FunctionCode.fromInline("function handler(event) { return event.request }")) + * // Note that JS_2_0 must be used for Key Value Store support * .runtime(FunctionRuntime.JS_2_0) - * .build(); - * Distribution.Builder.create(this, "distro") - * .defaultBehavior(BehaviorOptions.builder() - * .origin(new S3Origin(s3Bucket)) - * .functionAssociations(List.of(FunctionAssociation.builder() - * .function(cfFunction) - * .eventType(FunctionEventType.VIEWER_REQUEST) - * .build())) - * .build()) + * .keyValueStore(store) * .build(); * ``` */ @@ -45,7 +37,7 @@ public abstract class FunctionCode( public companion object { public fun fromFile(options: FileCodeOptions): FunctionCode = - software.amazon.awscdk.services.cloudfront.FunctionCode.fromFile(options.let(FileCodeOptions::unwrap)).let(FunctionCode::wrap) + software.amazon.awscdk.services.cloudfront.FunctionCode.fromFile(options.let(FileCodeOptions.Companion::unwrap)).let(FunctionCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f53d4fdd60d88d1066ce14701c44b6e6aab79d38ec5e6f1245ba33b34e1e75d7") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionProps.kt index 8bd1f02577..c3fd2167dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionProps.kt @@ -5,6 +5,7 @@ package io.cloudshiftdev.awscdk.services.cloudfront import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Boolean import kotlin.String import kotlin.Unit @@ -14,24 +15,24 @@ import kotlin.Unit * Example: * * ``` - * Bucket s3Bucket; - * // Add a cloudfront Function to a Distribution - * Function cfFunction = Function.Builder.create(this, "Function") + * KeyValueStore store = new KeyValueStore(this, "KeyValueStore"); + * Function.Builder.create(this, "Function") * .code(FunctionCode.fromInline("function handler(event) { return event.request }")) + * // Note that JS_2_0 must be used for Key Value Store support * .runtime(FunctionRuntime.JS_2_0) - * .build(); - * Distribution.Builder.create(this, "distro") - * .defaultBehavior(BehaviorOptions.builder() - * .origin(new S3Origin(s3Bucket)) - * .functionAssociations(List.of(FunctionAssociation.builder() - * .function(cfFunction) - * .eventType(FunctionEventType.VIEWER_REQUEST) - * .build())) - * .build()) + * .keyValueStore(store) * .build(); * ``` */ public interface FunctionProps { + /** + * A flag that determines whether to automatically publish the function to the LIVE stage when + * it’s created. + * + * Default: - true + */ + public fun autoPublish(): Boolean? = unwrap(this).getAutoPublish() + /** * The source code of the function. */ @@ -75,6 +76,12 @@ public interface FunctionProps { */ @CdkDslMarker public interface Builder { + /** + * @param autoPublish A flag that determines whether to automatically publish the function to + * the LIVE stage when it’s created. + */ + public fun autoPublish(autoPublish: Boolean) + /** * @param code The source code of the function. */ @@ -107,11 +114,19 @@ public interface FunctionProps { private val cdkBuilder: software.amazon.awscdk.services.cloudfront.FunctionProps.Builder = software.amazon.awscdk.services.cloudfront.FunctionProps.builder() + /** + * @param autoPublish A flag that determines whether to automatically publish the function to + * the LIVE stage when it’s created. + */ + override fun autoPublish(autoPublish: Boolean) { + cdkBuilder.autoPublish(autoPublish) + } + /** * @param code The source code of the function. */ override fun code(code: FunctionCode) { - cdkBuilder.code(code.let(FunctionCode::unwrap)) + cdkBuilder.code(code.let(FunctionCode.Companion::unwrap)) } /** @@ -134,14 +149,14 @@ public interface FunctionProps { * `cloudfront-js-2.0` or newer. */ override fun keyValueStore(keyValueStore: IKeyValueStore) { - cdkBuilder.keyValueStore(keyValueStore.let(IKeyValueStore::unwrap)) + cdkBuilder.keyValueStore(keyValueStore.let(IKeyValueStore.Companion::unwrap)) } /** * @param runtime The runtime environment for the function. */ override fun runtime(runtime: FunctionRuntime) { - cdkBuilder.runtime(runtime.let(FunctionRuntime::unwrap)) + cdkBuilder.runtime(runtime.let(FunctionRuntime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.FunctionProps = @@ -151,6 +166,14 @@ public interface FunctionProps { private class Wrapper( cdkObject: software.amazon.awscdk.services.cloudfront.FunctionProps, ) : CdkObject(cdkObject), FunctionProps { + /** + * A flag that determines whether to automatically publish the function to the LIVE stage when + * it’s created. + * + * Default: - true + */ + override fun autoPublish(): Boolean? = unwrap(this).getAutoPublish() + /** * The source code of the function. */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionRuntime.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionRuntime.kt index 7007a18f79..d088cbfd00 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionRuntime.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/FunctionRuntime.kt @@ -11,20 +11,12 @@ import kotlin.String * Example: * * ``` - * Bucket s3Bucket; - * // Add a cloudfront Function to a Distribution - * Function cfFunction = Function.Builder.create(this, "Function") + * KeyValueStore store = new KeyValueStore(this, "KeyValueStore"); + * Function.Builder.create(this, "Function") * .code(FunctionCode.fromInline("function handler(event) { return event.request }")) + * // Note that JS_2_0 must be used for Key Value Store support * .runtime(FunctionRuntime.JS_2_0) - * .build(); - * Distribution.Builder.create(this, "distro") - * .defaultBehavior(BehaviorOptions.builder() - * .origin(new S3Origin(s3Bucket)) - * .functionAssociations(List.of(FunctionAssociation.builder() - * .function(cfFunction) - * .eventType(FunctionEventType.VIEWER_REQUEST) - * .build())) - * .build()) + * .keyValueStore(store) * .build(); * ``` */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IDistribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IDistribution.kt index 98ab8f7e06..63eddc586b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IDistribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IDistribution.kt @@ -59,7 +59,7 @@ public interface IDistribution : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -91,7 +91,7 @@ public interface IDistribution : IResource { * @param actions The set of actions to allow (i.e. "cloudfront:ListInvalidations"). */ override fun grant(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IGrantable::unwrap), + unwrap(this).grant(identity.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -100,7 +100,7 @@ public interface IDistribution : IResource { * @param identity The principal. */ override fun grantCreateInvalidation(identity: IGrantable): Grant = - unwrap(this).grantCreateInvalidation(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantCreateInvalidation(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IFunction.kt index e146b0376d..48fe50b260 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IFunction.kt @@ -42,7 +42,7 @@ public interface IFunction : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyGroup.kt index e86834ec4a..3b16b19528 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyGroup.kt @@ -37,7 +37,7 @@ public interface IKeyGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyValueStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyValueStore.kt index e178fe5d67..ff1817d097 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyValueStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IKeyValueStore.kt @@ -47,7 +47,7 @@ public interface IKeyValueStore : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOrigin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOrigin.kt index b37bd08997..93615124fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOrigin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOrigin.kt @@ -42,8 +42,8 @@ public interface IOrigin { * @param options */ override fun bind(scope: Construct, options: OriginBindOptions): OriginBindConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - options.let(OriginBindOptions::unwrap)).let(OriginBindConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(OriginBindOptions.Companion::unwrap)).let(OriginBindConfig::wrap) /** * The method called when a given Origin is added (for the first time) to a Distribution. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOriginAccessIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOriginAccessIdentity.kt index fce7a57d0b..a80d8526cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOriginAccessIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IOriginAccessIdentity.kt @@ -49,7 +49,7 @@ public interface IOriginAccessIdentity : IResource, IGrantable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IPublicKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IPublicKey.kt index 902eb815e9..f104a12727 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IPublicKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IPublicKey.kt @@ -37,7 +37,7 @@ public interface IPublicKey : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IRealtimeLogConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IRealtimeLogConfig.kt index f1ed46ff46..57526aaaf4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IRealtimeLogConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/IRealtimeLogConfig.kt @@ -42,7 +42,7 @@ public interface IRealtimeLogConfig : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ImportSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ImportSource.kt index 91c9bdf9f2..10ee3bd84d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ImportSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ImportSource.kt @@ -44,7 +44,7 @@ public abstract class ImportSource( public fun fromAsset(path: String, options: AssetOptions): ImportSource = software.amazon.awscdk.services.cloudfront.ImportSource.fromAsset(path, - options.let(AssetOptions::unwrap)).let(ImportSource::wrap) + options.let(AssetOptions.Companion::unwrap)).let(ImportSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f124ce3ae32c31d3514a4d8c0a2163847255a9bb91b1e1eb8db2fc74831f451f") @@ -52,7 +52,7 @@ public abstract class ImportSource( fromAsset(path, AssetOptions(options)) public fun fromBucket(bucket: IBucket, key: String): ImportSource = - software.amazon.awscdk.services.cloudfront.ImportSource.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.cloudfront.ImportSource.fromBucket(bucket.let(IBucket.Companion::unwrap), key).let(ImportSource::wrap) public fun fromInline(`data`: String): ImportSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroup.kt index 2f35b590a6..eb84a82450 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroup.kt @@ -41,8 +41,8 @@ public open class KeyGroup( id: String, props: KeyGroupProps, ) : - this(software.amazon.awscdk.services.cloudfront.KeyGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KeyGroupProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.KeyGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KeyGroupProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class KeyGroup( * @param items A list of public keys to add to the key group. */ override fun items(items: List) { - cdkBuilder.items(items.map(IPublicKey::unwrap)) + cdkBuilder.items(items.map(IPublicKey.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class KeyGroup( id: String, keyGroupId: String, ): IKeyGroup = - software.amazon.awscdk.services.cloudfront.KeyGroup.fromKeyGroupId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.KeyGroup.fromKeyGroupId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, keyGroupId).let(IKeyGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroupProps.kt index 274f075c4c..0cc794ed05 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyGroupProps.kt @@ -93,7 +93,7 @@ public interface KeyGroupProps { * @param items A list of public keys to add to the key group. */ override fun items(items: List) { - cdkBuilder.items(items.map(IPublicKey::unwrap)) + cdkBuilder.items(items.map(IPublicKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStore.kt index bdc9026a24..0519608ef7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStore.kt @@ -28,7 +28,7 @@ public open class KeyValueStore( cdkObject: software.amazon.awscdk.services.cloudfront.KeyValueStore, ) : Resource(cdkObject), IKeyValueStore { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudfront.KeyValueStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudfront.KeyValueStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -37,8 +37,8 @@ public open class KeyValueStore( id: String, props: KeyValueStoreProps, ) : - this(software.amazon.awscdk.services.cloudfront.KeyValueStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KeyValueStoreProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.KeyValueStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KeyValueStoreProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class KeyValueStore( * @param source The import source for the Key Value Store. */ override fun source(source: ImportSource) { - cdkBuilder.source(source.let(ImportSource::unwrap)) + cdkBuilder.source(source.let(ImportSource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.KeyValueStore = @@ -152,7 +152,7 @@ public open class KeyValueStore( id: String, keyValueStoreArn: String, ): IKeyValueStore = - software.amazon.awscdk.services.cloudfront.KeyValueStore.fromKeyValueStoreArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.KeyValueStore.fromKeyValueStoreArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, keyValueStoreArn).let(IKeyValueStore::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStoreProps.kt index 1b4390be62..742c20efbf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/KeyValueStoreProps.kt @@ -101,7 +101,7 @@ public interface KeyValueStoreProps { * source data must be in a valid JSON format. */ override fun source(source: ImportSource) { - cdkBuilder.source(source.let(ImportSource::unwrap)) + cdkBuilder.source(source.let(ImportSource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.KeyValueStoreProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LambdaFunctionAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LambdaFunctionAssociation.kt index 1149c920ba..3b630ab9a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LambdaFunctionAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LambdaFunctionAssociation.kt @@ -83,7 +83,7 @@ public interface LambdaFunctionAssociation { * request lifecycle. */ override fun eventType(eventType: LambdaEdgeEventType) { - cdkBuilder.eventType(eventType.let(LambdaEdgeEventType::unwrap)) + cdkBuilder.eventType(eventType.let(LambdaEdgeEventType.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public interface LambdaFunctionAssociation { * @param lambdaFunction A version of the lambda to associate. */ override fun lambdaFunction(lambdaFunction: IVersion) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IVersion::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.LambdaFunctionAssociation = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LoggingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LoggingConfiguration.kt index 251ccf27dc..4599bd58f4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LoggingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/LoggingConfiguration.kt @@ -79,7 +79,7 @@ public interface LoggingConfiguration { * @param bucket Bucket to log requests to. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginAccessIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginAccessIdentity.kt index 197ed40602..1693f4adc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginAccessIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginAccessIdentity.kt @@ -31,7 +31,7 @@ public open class OriginAccessIdentity( cdkObject: software.amazon.awscdk.services.cloudfront.OriginAccessIdentity, ) : Resource(cdkObject), IOriginAccessIdentity { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudfront.OriginAccessIdentity(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudfront.OriginAccessIdentity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -40,8 +40,8 @@ public open class OriginAccessIdentity( id: String, props: OriginAccessIdentityProps, ) : - this(software.amazon.awscdk.services.cloudfront.OriginAccessIdentity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(OriginAccessIdentityProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.OriginAccessIdentity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(OriginAccessIdentityProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class OriginAccessIdentity( id: String, originAccessIdentityId: String, ): IOriginAccessIdentity = - software.amazon.awscdk.services.cloudfront.OriginAccessIdentity.fromOriginAccessIdentityId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.OriginAccessIdentity.fromOriginAccessIdentityId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, originAccessIdentityId).let(IOriginAccessIdentity::wrap) @Deprecated(message = "deprecated in CDK") @@ -131,7 +131,7 @@ public open class OriginAccessIdentity( id: String, originAccessIdentityName: String, ): IOriginAccessIdentity = - software.amazon.awscdk.services.cloudfront.OriginAccessIdentity.fromOriginAccessIdentityName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.OriginAccessIdentity.fromOriginAccessIdentityName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, originAccessIdentityName).let(IOriginAccessIdentity::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBase.kt index 57c4a48f10..d91604d339 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBase.kt @@ -24,8 +24,8 @@ public abstract class OriginBase( * @param options */ public override fun bind(scope: Construct, options: OriginBindOptions): OriginBindConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - options.let(OriginBindOptions::unwrap)).let(OriginBindConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(OriginBindOptions.Companion::unwrap)).let(OriginBindConfig::wrap) /** * Binds the origin to the associated Distribution. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBindConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBindConfig.kt index 51996f67be..0025253154 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBindConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginBindConfig.kt @@ -111,7 +111,7 @@ public interface OriginBindConfig { * @param failoverConfig The failover configuration for this Origin. */ override fun failoverConfig(failoverConfig: OriginFailoverConfig) { - cdkBuilder.failoverConfig(failoverConfig.let(OriginFailoverConfig::unwrap)) + cdkBuilder.failoverConfig(failoverConfig.let(OriginFailoverConfig.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface OriginBindConfig { * @param originProperty The CloudFormation OriginProperty configuration for this Origin. */ override fun originProperty(originProperty: CfnDistribution.OriginProperty) { - cdkBuilder.originProperty(originProperty.let(CfnDistribution.OriginProperty::unwrap)) + cdkBuilder.originProperty(originProperty.let(CfnDistribution.OriginProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginFailoverConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginFailoverConfig.kt index 2cd6cd5bd6..441e8b1879 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginFailoverConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginFailoverConfig.kt @@ -70,7 +70,7 @@ public interface OriginFailoverConfig { * @param failoverOrigin The origin to use as the fallback origin. */ override fun failoverOrigin(failoverOrigin: IOrigin) { - cdkBuilder.failoverOrigin(failoverOrigin.let(IOrigin::unwrap)) + cdkBuilder.failoverOrigin(failoverOrigin.let(IOrigin.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginOptions.kt index 2aaef35486..f92b705975 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginOptions.kt @@ -151,7 +151,7 @@ public interface OriginOptions { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginProps.kt index 17ac460fc1..dfe4ed73a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginProps.kt @@ -115,7 +115,7 @@ public interface OriginProps : OriginOptions { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicy.kt index f572322b9c..45545679e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicy.kt @@ -29,7 +29,7 @@ public open class OriginRequestPolicy( cdkObject: software.amazon.awscdk.services.cloudfront.OriginRequestPolicy, ) : Resource(cdkObject), IOriginRequestPolicy { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudfront.OriginRequestPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudfront.OriginRequestPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -38,8 +38,8 @@ public open class OriginRequestPolicy( id: String, props: OriginRequestPolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.OriginRequestPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(OriginRequestPolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.OriginRequestPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(OriginRequestPolicyProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class OriginRequestPolicy( * @param cookieBehavior The cookies from viewer requests to include in origin requests. */ override fun cookieBehavior(cookieBehavior: OriginRequestCookieBehavior) { - cdkBuilder.cookieBehavior(cookieBehavior.let(OriginRequestCookieBehavior::unwrap)) + cdkBuilder.cookieBehavior(cookieBehavior.let(OriginRequestCookieBehavior.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class OriginRequestPolicy( * @param headerBehavior The HTTP headers to include in origin requests. */ override fun headerBehavior(headerBehavior: OriginRequestHeaderBehavior) { - cdkBuilder.headerBehavior(headerBehavior.let(OriginRequestHeaderBehavior::unwrap)) + cdkBuilder.headerBehavior(headerBehavior.let(OriginRequestHeaderBehavior.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class OriginRequestPolicy( * requests. */ override fun queryStringBehavior(queryStringBehavior: OriginRequestQueryStringBehavior) { - cdkBuilder.queryStringBehavior(queryStringBehavior.let(OriginRequestQueryStringBehavior::unwrap)) + cdkBuilder.queryStringBehavior(queryStringBehavior.let(OriginRequestQueryStringBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.OriginRequestPolicy = @@ -208,7 +208,7 @@ public open class OriginRequestPolicy( id: String, originRequestPolicyId: String, ): IOriginRequestPolicy = - software.amazon.awscdk.services.cloudfront.OriginRequestPolicy.fromOriginRequestPolicyId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.OriginRequestPolicy.fromOriginRequestPolicyId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, originRequestPolicyId).let(IOriginRequestPolicy::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicyProps.kt index 98b3ab4c5f..c82bb94ffc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/OriginRequestPolicyProps.kt @@ -125,7 +125,7 @@ public interface OriginRequestPolicyProps { * @param cookieBehavior The cookies from viewer requests to include in origin requests. */ override fun cookieBehavior(cookieBehavior: OriginRequestCookieBehavior) { - cdkBuilder.cookieBehavior(cookieBehavior.let(OriginRequestCookieBehavior::unwrap)) + cdkBuilder.cookieBehavior(cookieBehavior.let(OriginRequestCookieBehavior.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface OriginRequestPolicyProps { * These can include headers from viewer requests and additional headers added by CloudFront. */ override fun headerBehavior(headerBehavior: OriginRequestHeaderBehavior) { - cdkBuilder.headerBehavior(headerBehavior.let(OriginRequestHeaderBehavior::unwrap)) + cdkBuilder.headerBehavior(headerBehavior.let(OriginRequestHeaderBehavior.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface OriginRequestPolicyProps { * requests. */ override fun queryStringBehavior(queryStringBehavior: OriginRequestQueryStringBehavior) { - cdkBuilder.queryStringBehavior(queryStringBehavior.let(OriginRequestQueryStringBehavior::unwrap)) + cdkBuilder.queryStringBehavior(queryStringBehavior.let(OriginRequestQueryStringBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.OriginRequestPolicyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/PublicKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/PublicKey.kt index 6f7e11c494..1e48c364ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/PublicKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/PublicKey.kt @@ -40,8 +40,8 @@ public open class PublicKey( id: String, props: PublicKeyProps, ) : - this(software.amazon.awscdk.services.cloudfront.PublicKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PublicKeyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.PublicKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PublicKeyProps.Companion::unwrap)) ) public constructor( @@ -146,7 +146,7 @@ public open class PublicKey( id: String, publicKeyId: String, ): IPublicKey = - software.amazon.awscdk.services.cloudfront.PublicKey.fromPublicKeyId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.PublicKey.fromPublicKeyId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, publicKeyId).let(IPublicKey::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfig.kt index 7b6912a605..94ec1d419c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfig.kt @@ -42,8 +42,8 @@ public open class RealtimeLogConfig( id: String, props: RealtimeLogConfigProps, ) : - this(software.amazon.awscdk.services.cloudfront.RealtimeLogConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RealtimeLogConfigProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.RealtimeLogConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RealtimeLogConfigProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class RealtimeLogConfig( * sending real-time log data for this real-time log configuration. */ override fun endPoints(endPoints: List) { - cdkBuilder.endPoints(endPoints.map(Endpoint::unwrap)) + cdkBuilder.endPoints(endPoints.map(Endpoint.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfigProps.kt index 831ead0e51..9468cad29e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/RealtimeLogConfigProps.kt @@ -107,7 +107,7 @@ public interface RealtimeLogConfigProps { * sending real-time log data for this real-time log configuration. */ override fun endPoints(endPoints: List) { - cdkBuilder.endPoints(endPoints.map(Endpoint::unwrap)) + cdkBuilder.endPoints(endPoints.map(Endpoint.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseCustomHeadersBehavior.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseCustomHeadersBehavior.kt index 478f3ac13f..ceddd2e90e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseCustomHeadersBehavior.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseCustomHeadersBehavior.kt @@ -92,7 +92,7 @@ public interface ResponseCustomHeadersBehavior { * @param customHeaders The list of HTTP response headers and their values. */ override fun customHeaders(customHeaders: List) { - cdkBuilder.customHeaders(customHeaders.map(ResponseCustomHeader::unwrap)) + cdkBuilder.customHeaders(customHeaders.map(ResponseCustomHeader.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersCorsBehavior.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersCorsBehavior.kt index 558d632859..c37ed0fd6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersCorsBehavior.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersCorsBehavior.kt @@ -284,7 +284,7 @@ public interface ResponseHeadersCorsBehavior { * Access-Control-Max-Age HTTP response header. */ override fun accessControlMaxAge(accessControlMaxAge: Duration) { - cdkBuilder.accessControlMaxAge(accessControlMaxAge.let(Duration::unwrap)) + cdkBuilder.accessControlMaxAge(accessControlMaxAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersFrameOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersFrameOptions.kt index 97dd711f2f..4717162583 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersFrameOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersFrameOptions.kt @@ -100,7 +100,7 @@ public interface ResponseHeadersFrameOptions { * @param frameOption The value of the X-Frame-Options HTTP response header. */ override fun frameOption(frameOption: HeadersFrameOption) { - cdkBuilder.frameOption(frameOption.let(HeadersFrameOption::unwrap)) + cdkBuilder.frameOption(frameOption.let(HeadersFrameOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicy.kt index ea394b0423..2b36914090 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicy.kt @@ -68,7 +68,7 @@ public open class ResponseHeadersPolicy( cdkObject: software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy, ) : Resource(cdkObject), IResponseHeadersPolicy { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -77,8 +77,8 @@ public open class ResponseHeadersPolicy( id: String, props: ResponseHeadersPolicyProps, ) : - this(software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ResponseHeadersPolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ResponseHeadersPolicyProps.Companion::unwrap)) ) public constructor( @@ -245,7 +245,7 @@ public open class ResponseHeadersPolicy( * cross-origin resource sharing (CORS). */ override fun corsBehavior(corsBehavior: ResponseHeadersCorsBehavior) { - cdkBuilder.corsBehavior(corsBehavior.let(ResponseHeadersCorsBehavior::unwrap)) + cdkBuilder.corsBehavior(corsBehavior.let(ResponseHeadersCorsBehavior.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class ResponseHeadersPolicy( * @param customHeadersBehavior A configuration for a set of custom HTTP response headers. */ override fun customHeadersBehavior(customHeadersBehavior: ResponseCustomHeadersBehavior) { - cdkBuilder.customHeadersBehavior(customHeadersBehavior.let(ResponseCustomHeadersBehavior::unwrap)) + cdkBuilder.customHeadersBehavior(customHeadersBehavior.let(ResponseCustomHeadersBehavior.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class ResponseHeadersPolicy( * headers. */ override fun securityHeadersBehavior(securityHeadersBehavior: ResponseSecurityHeadersBehavior) { - cdkBuilder.securityHeadersBehavior(securityHeadersBehavior.let(ResponseSecurityHeadersBehavior::unwrap)) + cdkBuilder.securityHeadersBehavior(securityHeadersBehavior.let(ResponseSecurityHeadersBehavior.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class ResponseHeadersPolicy( id: String, responseHeadersPolicyId: String, ): IResponseHeadersPolicy = - software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy.fromResponseHeadersPolicyId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicy.fromResponseHeadersPolicyId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, responseHeadersPolicyId).let(IResponseHeadersPolicy::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicyProps.kt index 0b476c3b40..16e9403ea6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersPolicyProps.kt @@ -211,7 +211,7 @@ public interface ResponseHeadersPolicyProps { * cross-origin resource sharing (CORS). */ override fun corsBehavior(corsBehavior: ResponseHeadersCorsBehavior) { - cdkBuilder.corsBehavior(corsBehavior.let(ResponseHeadersCorsBehavior::unwrap)) + cdkBuilder.corsBehavior(corsBehavior.let(ResponseHeadersCorsBehavior.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface ResponseHeadersPolicyProps { * @param customHeadersBehavior A configuration for a set of custom HTTP response headers. */ override fun customHeadersBehavior(customHeadersBehavior: ResponseCustomHeadersBehavior) { - cdkBuilder.customHeadersBehavior(customHeadersBehavior.let(ResponseCustomHeadersBehavior::unwrap)) + cdkBuilder.customHeadersBehavior(customHeadersBehavior.let(ResponseCustomHeadersBehavior.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface ResponseHeadersPolicyProps { * headers. */ override fun securityHeadersBehavior(securityHeadersBehavior: ResponseSecurityHeadersBehavior) { - cdkBuilder.securityHeadersBehavior(securityHeadersBehavior.let(ResponseSecurityHeadersBehavior::unwrap)) + cdkBuilder.securityHeadersBehavior(securityHeadersBehavior.let(ResponseSecurityHeadersBehavior.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersReferrerPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersReferrerPolicy.kt index 4f1045f6b6..576c878779 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersReferrerPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersReferrerPolicy.kt @@ -109,7 +109,7 @@ public interface ResponseHeadersReferrerPolicy { * @param referrerPolicy The value of the Referrer-Policy HTTP response header. */ override fun referrerPolicy(referrerPolicy: HeadersReferrerPolicy) { - cdkBuilder.referrerPolicy(referrerPolicy.let(HeadersReferrerPolicy::unwrap)) + cdkBuilder.referrerPolicy(referrerPolicy.let(HeadersReferrerPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.ResponseHeadersReferrerPolicy = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersStrictTransportSecurity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersStrictTransportSecurity.kt index c9254c7628..17935bb442 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersStrictTransportSecurity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseHeadersStrictTransportSecurity.kt @@ -132,7 +132,7 @@ public interface ResponseHeadersStrictTransportSecurity { * directive in the Strict-Transport-Security HTTP response header. */ override fun accessControlMaxAge(accessControlMaxAge: Duration) { - cdkBuilder.accessControlMaxAge(accessControlMaxAge.let(Duration::unwrap)) + cdkBuilder.accessControlMaxAge(accessControlMaxAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseSecurityHeadersBehavior.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseSecurityHeadersBehavior.kt index 623ea65013..502d39d680 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseSecurityHeadersBehavior.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ResponseSecurityHeadersBehavior.kt @@ -224,7 +224,7 @@ public interface ResponseSecurityHeadersBehavior { */ override fun contentSecurityPolicy(contentSecurityPolicy: ResponseHeadersContentSecurityPolicy) { - cdkBuilder.contentSecurityPolicy(contentSecurityPolicy.let(ResponseHeadersContentSecurityPolicy::unwrap)) + cdkBuilder.contentSecurityPolicy(contentSecurityPolicy.let(ResponseHeadersContentSecurityPolicy.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface ResponseSecurityHeadersBehavior { * HTTP response header with its value set to nosniff. */ override fun contentTypeOptions(contentTypeOptions: ResponseHeadersContentTypeOptions) { - cdkBuilder.contentTypeOptions(contentTypeOptions.let(ResponseHeadersContentTypeOptions::unwrap)) + cdkBuilder.contentTypeOptions(contentTypeOptions.let(ResponseHeadersContentTypeOptions.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface ResponseSecurityHeadersBehavior { * header and the header’s value. */ override fun frameOptions(frameOptions: ResponseHeadersFrameOptions) { - cdkBuilder.frameOptions(frameOptions.let(ResponseHeadersFrameOptions::unwrap)) + cdkBuilder.frameOptions(frameOptions.let(ResponseHeadersFrameOptions.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public interface ResponseSecurityHeadersBehavior { * response header and the header’s value. */ override fun referrerPolicy(referrerPolicy: ResponseHeadersReferrerPolicy) { - cdkBuilder.referrerPolicy(referrerPolicy.let(ResponseHeadersReferrerPolicy::unwrap)) + cdkBuilder.referrerPolicy(referrerPolicy.let(ResponseHeadersReferrerPolicy.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public interface ResponseSecurityHeadersBehavior { */ override fun strictTransportSecurity(strictTransportSecurity: ResponseHeadersStrictTransportSecurity) { - cdkBuilder.strictTransportSecurity(strictTransportSecurity.let(ResponseHeadersStrictTransportSecurity::unwrap)) + cdkBuilder.strictTransportSecurity(strictTransportSecurity.let(ResponseHeadersStrictTransportSecurity.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface ResponseSecurityHeadersBehavior { * response header and the header’s value. */ override fun xssProtection(xssProtection: ResponseHeadersXSSProtection) { - cdkBuilder.xssProtection(xssProtection.let(ResponseHeadersXSSProtection::unwrap)) + cdkBuilder.xssProtection(xssProtection.let(ResponseHeadersXSSProtection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3ImportSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3ImportSource.kt index 9e1ea64d55..05b08e33d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3ImportSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3ImportSource.kt @@ -57,7 +57,7 @@ public open class S3ImportSource( cdkObject: software.amazon.awscdk.services.cloudfront.S3ImportSource, ) : ImportSource(cdkObject) { public constructor(bucket: IBucket, key: String) : - this(software.amazon.awscdk.services.cloudfront.S3ImportSource(bucket.let(IBucket::unwrap), + this(software.amazon.awscdk.services.cloudfront.S3ImportSource(bucket.let(IBucket.Companion::unwrap), key) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3OriginConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3OriginConfig.kt index 3eb7bd92b2..34e659f978 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3OriginConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/S3OriginConfig.kt @@ -111,7 +111,7 @@ public interface S3OriginConfig { * cloudfront will use when calling your s3 bucket. */ override fun originAccessIdentity(originAccessIdentity: IOriginAccessIdentity) { - cdkBuilder.originAccessIdentity(originAccessIdentity.let(IOriginAccessIdentity::unwrap)) + cdkBuilder.originAccessIdentity(originAccessIdentity.let(IOriginAccessIdentity.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface S3OriginConfig { * @param s3BucketSource The source bucket to serve content from. */ override fun s3BucketSource(s3BucketSource: IBucket) { - cdkBuilder.s3BucketSource(s3BucketSource.let(IBucket::unwrap)) + cdkBuilder.s3BucketSource(s3BucketSource.let(IBucket.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.S3OriginConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/SourceConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/SourceConfiguration.kt index afe78d2473..964613a6dd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/SourceConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/SourceConfiguration.kt @@ -310,7 +310,7 @@ public interface SourceConfiguration { * At least one (default) behavior must be included. */ override fun behaviors(behaviors: List) { - cdkBuilder.behaviors(behaviors.map(Behavior::unwrap)) + cdkBuilder.behaviors(behaviors.map(Behavior.Companion::unwrap)) } /** @@ -334,14 +334,14 @@ public interface SourceConfiguration { * You can specify a number of seconds between 1 and 10 (inclusive). */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** * @param customOriginSource A custom origin source - for all non-s3 sources. */ override fun customOriginSource(customOriginSource: CustomOriginConfig) { - cdkBuilder.customOriginSource(customOriginSource.let(CustomOriginConfig::unwrap)) + cdkBuilder.customOriginSource(customOriginSource.let(CustomOriginConfig.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface SourceConfiguration { */ override fun failoverCriteriaStatusCodes(failoverCriteriaStatusCodes: List) { - cdkBuilder.failoverCriteriaStatusCodes(failoverCriteriaStatusCodes.map(FailoverStatusCode::unwrap)) + cdkBuilder.failoverCriteriaStatusCodes(failoverCriteriaStatusCodes.map(FailoverStatusCode.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface SourceConfiguration { * s3OriginSource returns invalid status code. */ override fun failoverCustomOriginSource(failoverCustomOriginSource: CustomOriginConfig) { - cdkBuilder.failoverCustomOriginSource(failoverCustomOriginSource.let(CustomOriginConfig::unwrap)) + cdkBuilder.failoverCustomOriginSource(failoverCustomOriginSource.let(CustomOriginConfig.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public interface SourceConfiguration { * returns invalid status code. */ override fun failoverS3OriginSource(failoverS3OriginSource: S3OriginConfig) { - cdkBuilder.failoverS3OriginSource(failoverS3OriginSource.let(S3OriginConfig::unwrap)) + cdkBuilder.failoverS3OriginSource(failoverS3OriginSource.let(S3OriginConfig.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface SourceConfiguration { * @param s3OriginSource An s3 origin source - if you're using s3 for your assets. */ override fun s3OriginSource(s3OriginSource: S3OriginConfig) { - cdkBuilder.s3OriginSource(s3OriginSource.let(S3OriginConfig::unwrap)) + cdkBuilder.s3OriginSource(s3OriginSource.let(S3OriginConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificate.kt index 2f1aa02dc7..05f87f4813 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificate.kt @@ -47,12 +47,12 @@ public open class ViewerCertificate( public companion object { public fun fromAcmCertificate(certificate: ICertificate): ViewerCertificate = - software.amazon.awscdk.services.cloudfront.ViewerCertificate.fromAcmCertificate(certificate.let(ICertificate::unwrap)).let(ViewerCertificate::wrap) + software.amazon.awscdk.services.cloudfront.ViewerCertificate.fromAcmCertificate(certificate.let(ICertificate.Companion::unwrap)).let(ViewerCertificate::wrap) public fun fromAcmCertificate(certificate: ICertificate, options: ViewerCertificateOptions): ViewerCertificate = - software.amazon.awscdk.services.cloudfront.ViewerCertificate.fromAcmCertificate(certificate.let(ICertificate::unwrap), - options.let(ViewerCertificateOptions::unwrap)).let(ViewerCertificate::wrap) + software.amazon.awscdk.services.cloudfront.ViewerCertificate.fromAcmCertificate(certificate.let(ICertificate.Companion::unwrap), + options.let(ViewerCertificateOptions.Companion::unwrap)).let(ViewerCertificate::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("37a713b410c630c403273ca75ff975e19693092baa3512aa6babed5368bff2c2") @@ -69,7 +69,7 @@ public open class ViewerCertificate( public fun fromIamCertificate(iamCertificateId: String, options: ViewerCertificateOptions): ViewerCertificate = software.amazon.awscdk.services.cloudfront.ViewerCertificate.fromIamCertificate(iamCertificateId, - options.let(ViewerCertificateOptions::unwrap)).let(ViewerCertificate::wrap) + options.let(ViewerCertificateOptions.Companion::unwrap)).let(ViewerCertificate::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("91f45eef37d3170a3df7ffdb2bc432e638538104218ba15a6c1b22fcdace2dd1") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificateOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificateOptions.kt index cd69a9e65e..52c5aaa709 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificateOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/ViewerCertificateOptions.kt @@ -115,7 +115,7 @@ public interface ViewerCertificateOptions { * least the SSL version that you specify. */ override fun securityPolicy(securityPolicy: SecurityPolicyProtocol) { - cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicyProtocol::unwrap)) + cdkBuilder.securityPolicy(securityPolicy.let(SecurityPolicyProtocol.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface ViewerCertificateOptions { * See the notes on SSLMethod if you wish to use other SSL termination types. */ override fun sslMethod(sslMethod: SSLMethod) { - cdkBuilder.sslMethod(sslMethod.let(SSLMethod::unwrap)) + cdkBuilder.sslMethod(sslMethod.let(SSLMethod.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.ViewerCertificateOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunction.kt index 0078834793..4a6f940264 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunction.kt @@ -103,8 +103,8 @@ public open class EdgeFunction( id: String, props: EdgeFunctionProps, ) : - this(software.amazon.awscdk.services.cloudfront.experimental.EdgeFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EdgeFunctionProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.experimental.EdgeFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EdgeFunctionProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class EdgeFunction( * @param options */ public override fun addAlias(aliasName: String, options: AliasOptions): Alias = - unwrap(this).addAlias(aliasName, options.let(AliasOptions::unwrap)).let(Alias::wrap) + unwrap(this).addAlias(aliasName, options.let(AliasOptions.Companion::unwrap)).let(Alias::wrap) /** * Defines an alias for this version. @@ -149,7 +149,7 @@ public open class EdgeFunction( * @param source */ public override fun addEventSource(source: IEventSource) { - unwrap(this).addEventSource(source.let(IEventSource::unwrap)) + unwrap(this).addEventSource(source.let(IEventSource.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class EdgeFunction( */ public override fun addEventSourceMapping(id: String, options: EventSourceMappingOptions): EventSourceMapping = unwrap(this).addEventSourceMapping(id, - options.let(EventSourceMappingOptions::unwrap)).let(EventSourceMapping::wrap) + options.let(EventSourceMappingOptions.Companion::unwrap)).let(EventSourceMapping::wrap) /** * Adds an event source that maps to this AWS Lambda function. @@ -188,7 +188,7 @@ public open class EdgeFunction( * @param options */ public override fun addFunctionUrl(options: FunctionUrlOptions): FunctionUrl = - unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions::unwrap)).let(FunctionUrl::wrap) + unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions.Companion::unwrap)).let(FunctionUrl::wrap) /** * Adds a url to this lambda function. @@ -207,7 +207,7 @@ public open class EdgeFunction( * @param permission */ public override fun addPermission(id: String, permission: Permission) { - unwrap(this).addPermission(id, permission.let(Permission::unwrap)) + unwrap(this).addPermission(id, permission.let(Permission.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class EdgeFunction( * @param statement */ public override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class EdgeFunction( * @param options */ public override fun configureAsyncInvoke(options: EventInvokeConfigOptions) { - unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions::unwrap)) + unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class EdgeFunction( * @param identity */ public override fun grantInvoke(identity: IGrantable): Grant = - unwrap(this).grantInvoke(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant multiple principals the ability to invoke this Lambda via CompositePrincipal. @@ -308,7 +308,7 @@ public open class EdgeFunction( */ public override fun grantInvokeCompositePrincipal(compositePrincipal: CompositePrincipal): List = - unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal::unwrap)).map(Grant::wrap) + unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal.Companion::unwrap)).map(Grant::wrap) /** * Grant the given identity permissions to invoke this Lambda Function URL. @@ -316,7 +316,7 @@ public open class EdgeFunction( * @param identity */ public override fun grantInvokeUrl(identity: IGrantable): Grant = - unwrap(this).grantInvokeUrl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. @@ -365,7 +365,7 @@ public open class EdgeFunction( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Lambda Return the given named metric for this Function. @@ -395,7 +395,7 @@ public open class EdgeFunction( * @param props */ public override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the Duration of this Lambda How long execution of this Lambda takes. @@ -426,7 +426,7 @@ public open class EdgeFunction( * @param props */ public override fun metricErrors(props: MetricOptions): Metric = - unwrap(this).metricErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How many invocations of this Lambda fail. @@ -458,7 +458,7 @@ public open class EdgeFunction( * @param props */ public override fun metricInvocations(props: MetricOptions): Metric = - unwrap(this).metricInvocations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricInvocations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of invocations of this Lambda How often this Lambda is invoked. @@ -491,7 +491,7 @@ public open class EdgeFunction( * @param props */ public override fun metricThrottles(props: MetricOptions): Metric = - unwrap(this).metricThrottles(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottles(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of throttled invocations of this Lambda How often this Lambda is @@ -1262,7 +1262,7 @@ public open class EdgeFunction( * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -1331,7 +1331,7 @@ public open class EdgeFunction( * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -1344,7 +1344,7 @@ public open class EdgeFunction( * @param code The source code of your Lambda function. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -1355,7 +1355,7 @@ public open class EdgeFunction( * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -1368,7 +1368,7 @@ public open class EdgeFunction( * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -1395,7 +1395,7 @@ public open class EdgeFunction( * @param deadLetterQueue The SQS queue to use if DLQ is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -1424,7 +1424,7 @@ public open class EdgeFunction( * @param deadLetterTopic The SNS topic to use as a DLQ. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -1463,7 +1463,7 @@ public open class EdgeFunction( * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** @@ -1474,7 +1474,7 @@ public open class EdgeFunction( * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -1487,7 +1487,7 @@ public open class EdgeFunction( * @param events Event sources for this function. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -1509,7 +1509,7 @@ public open class EdgeFunction( * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1555,7 +1555,7 @@ public open class EdgeFunction( * @param initialPolicy Initial policy statements to add to the created Lambda Role. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1580,7 +1580,7 @@ public open class EdgeFunction( * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1610,7 +1610,7 @@ public open class EdgeFunction( * @param layers A list of layers to add to the function's execution environment. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1657,7 +1657,7 @@ public open class EdgeFunction( * @param logGroup The log group the function sends logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1687,7 +1687,7 @@ public open class EdgeFunction( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1706,7 +1706,7 @@ public open class EdgeFunction( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1744,7 +1744,7 @@ public open class EdgeFunction( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1755,7 +1755,7 @@ public open class EdgeFunction( * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1770,7 +1770,7 @@ public open class EdgeFunction( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1796,7 +1796,7 @@ public open class EdgeFunction( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -1807,7 +1807,7 @@ public open class EdgeFunction( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -1819,7 +1819,7 @@ public open class EdgeFunction( * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1843,7 +1843,7 @@ public open class EdgeFunction( * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1893,7 +1893,7 @@ public open class EdgeFunction( * @param role Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1907,7 +1907,7 @@ public open class EdgeFunction( * @param runtime The runtime environment for the Lambda function that you are uploading. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1919,7 +1919,7 @@ public open class EdgeFunction( * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1935,7 +1935,7 @@ public open class EdgeFunction( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1963,7 +1963,7 @@ public open class EdgeFunction( * @param snapStart Enable SnapStart for Lambda Function. */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -2000,7 +2000,7 @@ public open class EdgeFunction( * function. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -2011,7 +2011,7 @@ public open class EdgeFunction( * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -2025,7 +2025,7 @@ public open class EdgeFunction( * @param vpc VPC network to place Lambda network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -2042,7 +2042,7 @@ public open class EdgeFunction( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunctionProps.kt index 0f38ba9a21..968ccfcbe2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/experimental/EdgeFunctionProps.kt @@ -528,7 +528,7 @@ public interface EdgeFunctionProps : FunctionProps { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public interface EdgeFunctionProps : FunctionProps { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -583,14 +583,14 @@ public interface EdgeFunctionProps : FunctionProps { * code as inline text. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public interface EdgeFunctionProps : FunctionProps { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public interface EdgeFunctionProps : FunctionProps { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface EdgeFunctionProps : FunctionProps { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -660,14 +660,14 @@ public interface EdgeFunctionProps : FunctionProps { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public interface EdgeFunctionProps : FunctionProps { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -688,7 +688,7 @@ public interface EdgeFunctionProps : FunctionProps { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public interface EdgeFunctionProps : FunctionProps { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public interface EdgeFunctionProps : FunctionProps { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public interface EdgeFunctionProps : FunctionProps { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public interface EdgeFunctionProps : FunctionProps { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public interface EdgeFunctionProps : FunctionProps { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public interface EdgeFunctionProps : FunctionProps { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -855,14 +855,14 @@ public interface EdgeFunctionProps : FunctionProps { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -872,7 +872,7 @@ public interface EdgeFunctionProps : FunctionProps { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -889,21 +889,21 @@ public interface EdgeFunctionProps : FunctionProps { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public interface EdgeFunctionProps : FunctionProps { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -950,7 +950,7 @@ public interface EdgeFunctionProps : FunctionProps { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public interface EdgeFunctionProps : FunctionProps { * Use `Runtime.FROM_IMAGE` when defining a function from a Docker image. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -969,7 +969,7 @@ public interface EdgeFunctionProps : FunctionProps { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public interface EdgeFunctionProps : FunctionProps { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public interface EdgeFunctionProps : FunctionProps { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1018,14 +1018,14 @@ public interface EdgeFunctionProps : FunctionProps { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public interface EdgeFunctionProps : FunctionProps { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1046,7 +1046,7 @@ public interface EdgeFunctionProps : FunctionProps { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOrigin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOrigin.kt index 420401f262..93a340a21f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOrigin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOrigin.kt @@ -32,13 +32,13 @@ public open class FunctionUrlOrigin( cdkObject: software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOrigin, ) : OriginBase(cdkObject) { public constructor(lambdaFunctionUrl: CloudshiftdevAwscdkServicesLambdaIFunctionUrl) : - this(software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOrigin(lambdaFunctionUrl.let(CloudshiftdevAwscdkServicesLambdaIFunctionUrl::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOrigin(lambdaFunctionUrl.let(CloudshiftdevAwscdkServicesLambdaIFunctionUrl.Companion::unwrap)) ) public constructor(lambdaFunctionUrl: CloudshiftdevAwscdkServicesLambdaIFunctionUrl, props: FunctionUrlOriginProps) : - this(software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOrigin(lambdaFunctionUrl.let(CloudshiftdevAwscdkServicesLambdaIFunctionUrl::unwrap), - props.let(FunctionUrlOriginProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOrigin(lambdaFunctionUrl.let(CloudshiftdevAwscdkServicesLambdaIFunctionUrl.Companion::unwrap), + props.let(FunctionUrlOriginProps.Companion::unwrap)) ) public constructor(lambdaFunctionUrl: CloudshiftdevAwscdkServicesLambdaIFunctionUrl, @@ -202,7 +202,7 @@ public open class FunctionUrlOrigin( * a connection to the origin. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class FunctionUrlOrigin( * the origin. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class FunctionUrlOrigin( * origin. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOrigin = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOriginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOriginProps.kt index 6d3b49c45f..80f3196813 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOriginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/FunctionUrlOriginProps.kt @@ -161,7 +161,7 @@ public interface FunctionUrlOriginProps : OriginProps { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface FunctionUrlOriginProps : OriginProps { * error at deploy time. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface FunctionUrlOriginProps : OriginProps { * error at deploy time. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.FunctionUrlOriginProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOrigin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOrigin.kt index a6b83d5bda..5449796126 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOrigin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOrigin.kt @@ -46,7 +46,7 @@ public open class HttpOrigin( public constructor(domainName: String, props: HttpOriginProps) : this(software.amazon.awscdk.services.cloudfront.origins.HttpOrigin(domainName, - props.let(HttpOriginProps::unwrap)) + props.let(HttpOriginProps.Companion::unwrap)) ) public constructor(domainName: String, props: HttpOriginProps.Builder.() -> Unit) : @@ -255,7 +255,7 @@ public open class HttpOrigin( * a connection to the origin. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class HttpOrigin( * the origin. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class HttpOrigin( * @param originSslProtocols The SSL versions to use when interacting with the origin. */ override fun originSslProtocols(originSslProtocols: List) { - cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy::unwrap)) + cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class HttpOrigin( * to the origin. */ override fun protocolPolicy(protocolPolicy: OriginProtocolPolicy) { - cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy::unwrap)) + cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class HttpOrigin( * origin, also known as the origin response timeout. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.HttpOrigin = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOriginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOriginProps.kt index e95e6c3b2d..3b1ea1891d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOriginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/HttpOriginProps.kt @@ -227,7 +227,7 @@ public interface HttpOriginProps : OriginProps { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface HttpOriginProps : OriginProps { * error at deploy time. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface HttpOriginProps : OriginProps { * @param originSslProtocols The SSL versions to use when interacting with the origin. */ override fun originSslProtocols(originSslProtocols: List) { - cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy::unwrap)) + cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface HttpOriginProps : OriginProps { * to the origin. */ override fun protocolPolicy(protocolPolicy: OriginProtocolPolicy) { - cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy::unwrap)) + cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface HttpOriginProps : OriginProps { * error at deploy time. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.HttpOriginProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2Origin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2Origin.kt index 97645d6e1d..0f798c8e67 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2Origin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2Origin.kt @@ -40,13 +40,13 @@ public open class LoadBalancerV2Origin( ) : HttpOrigin(cdkObject) { public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2) : - this(software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2Origin(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2Origin(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2.Companion::unwrap)) ) public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2, props: LoadBalancerV2OriginProps) : - this(software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2Origin(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2::unwrap), - props.let(LoadBalancerV2OriginProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2Origin(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2.Companion::unwrap), + props.let(LoadBalancerV2OriginProps.Companion::unwrap)) ) public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2ILoadBalancerV2, @@ -258,7 +258,7 @@ public open class LoadBalancerV2Origin( * a connection to the origin. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class LoadBalancerV2Origin( * the origin. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class LoadBalancerV2Origin( * @param originSslProtocols The SSL versions to use when interacting with the origin. */ override fun originSslProtocols(originSslProtocols: List) { - cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy::unwrap)) + cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class LoadBalancerV2Origin( * to the origin. */ override fun protocolPolicy(protocolPolicy: OriginProtocolPolicy) { - cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy::unwrap)) + cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class LoadBalancerV2Origin( * origin, also known as the origin response timeout. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2Origin = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2OriginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2OriginProps.kt index 97d55464d2..a4c3a776d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2OriginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/LoadBalancerV2OriginProps.kt @@ -154,7 +154,7 @@ public interface LoadBalancerV2OriginProps : HttpOriginProps { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface LoadBalancerV2OriginProps : HttpOriginProps { * error at deploy time. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface LoadBalancerV2OriginProps : HttpOriginProps { * @param originSslProtocols The SSL versions to use when interacting with the origin. */ override fun originSslProtocols(originSslProtocols: List) { - cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy::unwrap)) + cdkBuilder.originSslProtocols(originSslProtocols.map(OriginSslPolicy.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface LoadBalancerV2OriginProps : HttpOriginProps { * to the origin. */ override fun protocolPolicy(protocolPolicy: OriginProtocolPolicy) { - cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy::unwrap)) + cdkBuilder.protocolPolicy(protocolPolicy.let(OriginProtocolPolicy.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface LoadBalancerV2OriginProps : HttpOriginProps { * error at deploy time. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2OriginProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroup.kt index 095cb31c26..6e80bf1014 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroup.kt @@ -39,7 +39,7 @@ public open class OriginGroup( cdkObject: software.amazon.awscdk.services.cloudfront.origins.OriginGroup, ) : CdkObject(cdkObject), IOrigin { public constructor(props: OriginGroupProps) : - this(software.amazon.awscdk.services.cloudfront.origins.OriginGroup(props.let(OriginGroupProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.OriginGroup(props.let(OriginGroupProps.Companion::unwrap)) ) public constructor(props: OriginGroupProps.Builder.() -> Unit) : this(OriginGroupProps(props) @@ -52,8 +52,8 @@ public open class OriginGroup( * @param options */ public override fun bind(scope: Construct, options: OriginBindOptions): OriginBindConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - options.let(OriginBindOptions::unwrap)).let(OriginBindConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(OriginBindOptions.Companion::unwrap)).let(OriginBindConfig::wrap) /** * The method called when a given Origin is added (for the first time) to a Distribution. @@ -118,7 +118,7 @@ public open class OriginGroup( * @param fallbackOrigin The fallback origin that should serve requests when the primary fails. */ override fun fallbackOrigin(fallbackOrigin: IOrigin) { - cdkBuilder.fallbackOrigin(fallbackOrigin.let(IOrigin::unwrap)) + cdkBuilder.fallbackOrigin(fallbackOrigin.let(IOrigin.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class OriginGroup( * @param primaryOrigin The primary origin that should serve requests for this group. */ override fun primaryOrigin(primaryOrigin: IOrigin) { - cdkBuilder.primaryOrigin(primaryOrigin.let(IOrigin::unwrap)) + cdkBuilder.primaryOrigin(primaryOrigin.let(IOrigin.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.OriginGroup = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroupProps.kt index d97c77e5e9..2dc231bd96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/OriginGroupProps.kt @@ -86,7 +86,7 @@ public interface OriginGroupProps { * @param fallbackOrigin The fallback origin that should serve requests when the primary fails. */ override fun fallbackOrigin(fallbackOrigin: IOrigin) { - cdkBuilder.fallbackOrigin(fallbackOrigin.let(IOrigin::unwrap)) + cdkBuilder.fallbackOrigin(fallbackOrigin.let(IOrigin.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface OriginGroupProps { * @param primaryOrigin The primary origin that should serve requests for this group. */ override fun primaryOrigin(primaryOrigin: IOrigin) { - cdkBuilder.primaryOrigin(primaryOrigin.let(IOrigin::unwrap)) + cdkBuilder.primaryOrigin(primaryOrigin.let(IOrigin.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.OriginGroupProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOrigin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOrigin.kt index d5d1cd0281..b9ee5a328f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOrigin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOrigin.kt @@ -29,13 +29,13 @@ public open class RestApiOrigin( cdkObject: software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin, ) : OriginBase(cdkObject) { public constructor(restApi: CloudshiftdevAwscdkServicesApigatewayRestApiBase) : - this(software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin(restApi.let(CloudshiftdevAwscdkServicesApigatewayRestApiBase::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin(restApi.let(CloudshiftdevAwscdkServicesApigatewayRestApiBase.Companion::unwrap)) ) public constructor(restApi: CloudshiftdevAwscdkServicesApigatewayRestApiBase, props: RestApiOriginProps) : - this(software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin(restApi.let(CloudshiftdevAwscdkServicesApigatewayRestApiBase::unwrap), - props.let(RestApiOriginProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin(restApi.let(CloudshiftdevAwscdkServicesApigatewayRestApiBase.Companion::unwrap), + props.let(RestApiOriginProps.Companion::unwrap)) ) public constructor(restApi: CloudshiftdevAwscdkServicesApigatewayRestApiBase, @@ -198,7 +198,7 @@ public open class RestApiOrigin( * a connection to the origin. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class RestApiOrigin( * the origin. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class RestApiOrigin( * origin, also known as the origin response timeout. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.RestApiOrigin = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOriginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOriginProps.kt index a615ea12c6..9ebcc6de8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOriginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/RestApiOriginProps.kt @@ -150,7 +150,7 @@ public interface RestApiOriginProps : OriginProps { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public interface RestApiOriginProps : OriginProps { * error at deploy time. */ override fun keepaliveTimeout(keepaliveTimeout: Duration) { - cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration::unwrap)) + cdkBuilder.keepaliveTimeout(keepaliveTimeout.let(Duration.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface RestApiOriginProps : OriginProps { * error at deploy time. */ override fun readTimeout(readTimeout: Duration) { - cdkBuilder.readTimeout(readTimeout.let(Duration::unwrap)) + cdkBuilder.readTimeout(readTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudfront.origins.RestApiOriginProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3Origin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3Origin.kt index 838bb026d1..9a0c3d376f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3Origin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3Origin.kt @@ -51,12 +51,12 @@ public open class S3Origin( cdkObject: software.amazon.awscdk.services.cloudfront.origins.S3Origin, ) : CdkObject(cdkObject), IOrigin { public constructor(bucket: CloudshiftdevAwscdkServicesS3IBucket) : - this(software.amazon.awscdk.services.cloudfront.origins.S3Origin(bucket.let(CloudshiftdevAwscdkServicesS3IBucket::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.S3Origin(bucket.let(CloudshiftdevAwscdkServicesS3IBucket.Companion::unwrap)) ) public constructor(bucket: CloudshiftdevAwscdkServicesS3IBucket, props: S3OriginProps) : - this(software.amazon.awscdk.services.cloudfront.origins.S3Origin(bucket.let(CloudshiftdevAwscdkServicesS3IBucket::unwrap), - props.let(S3OriginProps::unwrap)) + this(software.amazon.awscdk.services.cloudfront.origins.S3Origin(bucket.let(CloudshiftdevAwscdkServicesS3IBucket.Companion::unwrap), + props.let(S3OriginProps.Companion::unwrap)) ) public constructor(bucket: CloudshiftdevAwscdkServicesS3IBucket, @@ -70,8 +70,8 @@ public open class S3Origin( * @param options */ public override fun bind(scope: Construct, options: OriginBindOptions): OriginBindConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - options.let(OriginBindOptions::unwrap)).let(OriginBindConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + options.let(OriginBindOptions.Companion::unwrap)).let(OriginBindConfig::wrap) /** * The method called when a given Origin is added (for the first time) to a Distribution. @@ -216,7 +216,7 @@ public open class S3Origin( * a connection to the origin. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class S3Origin( * cloudfront will use when calling your s3 bucket. */ override fun originAccessIdentity(originAccessIdentity: IOriginAccessIdentity) { - cdkBuilder.originAccessIdentity(originAccessIdentity.let(IOriginAccessIdentity::unwrap)) + cdkBuilder.originAccessIdentity(originAccessIdentity.let(IOriginAccessIdentity.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3OriginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3OriginProps.kt index 83f1fad6b8..1eea19dd0f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3OriginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudfront/origins/S3OriginProps.kt @@ -115,7 +115,7 @@ public interface S3OriginProps : OriginProps { * Valid values are 1-10 seconds, inclusive. */ override fun connectionTimeout(connectionTimeout: Duration) { - cdkBuilder.connectionTimeout(connectionTimeout.let(Duration::unwrap)) + cdkBuilder.connectionTimeout(connectionTimeout.let(Duration.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface S3OriginProps : OriginProps { * cloudfront will use when calling your s3 bucket. */ override fun originAccessIdentity(originAccessIdentity: IOriginAccessIdentity) { - cdkBuilder.originAccessIdentity(originAccessIdentity.let(IOriginAccessIdentity::unwrap)) + cdkBuilder.originAccessIdentity(originAccessIdentity.let(IOriginAccessIdentity.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/AddEventSelectorOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/AddEventSelectorOptions.kt index 5bc419a12e..792ebc8712 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/AddEventSelectorOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/AddEventSelectorOptions.kt @@ -104,7 +104,7 @@ public interface AddEventSelectorOptions { */ override fun excludeManagementEventSources(excludeManagementEventSources: List) { - cdkBuilder.excludeManagementEventSources(excludeManagementEventSources.map(ManagementEventSources::unwrap)) + cdkBuilder.excludeManagementEventSources(excludeManagementEventSources.map(ManagementEventSources.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface AddEventSelectorOptions { * events. */ override fun readWriteType(readWriteType: ReadWriteType) { - cdkBuilder.readWriteType(readWriteType.let(ReadWriteType::unwrap)) + cdkBuilder.readWriteType(readWriteType.let(ReadWriteType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudtrail.AddEventSelectorOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannel.kt index 33cd197fab..881ad87da8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannel.kt @@ -48,7 +48,7 @@ public open class CfnChannel( cdkObject: software.amazon.awscdk.services.cloudtrail.CfnChannel, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudtrail.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudtrail.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.cloudtrail.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.cloudtrail.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnChannel( * One or more event data stores to which events arriving through a channel will be logged. */ public open fun destinations(`value`: IResolvable) { - unwrap(this).setDestinations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnChannel( * A list of tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnChannel( * will be logged. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnChannel( * @param tags A list of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannelProps.kt index 762ba23748..ec1e43298a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnChannelProps.kt @@ -136,7 +136,7 @@ public interface CfnChannelProps { * will be logged. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface CfnChannelProps { * @param tags A list of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStore.kt index b35c2f4354..2f0fb34702 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStore.kt @@ -73,7 +73,7 @@ public open class CfnEventDataStore( cdkObject: software.amazon.awscdk.services.cloudtrail.CfnEventDataStore, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudtrail.CfnEventDataStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudtrail.CfnEventDataStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -82,8 +82,8 @@ public open class CfnEventDataStore( id: String, props: CfnEventDataStoreProps, ) : - this(software.amazon.awscdk.services.cloudtrail.CfnEventDataStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventDataStoreProps::unwrap)) + this(software.amazon.awscdk.services.cloudtrail.CfnEventDataStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventDataStoreProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnEventDataStore( * The advanced event selectors to use to select the events for the data store. */ public open fun advancedEventSelectors(`value`: IResolvable) { - unwrap(this).setAdvancedEventSelectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdvancedEventSelectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnEventDataStore( * Lake query federation is enabled. */ public open fun federationEnabled(`value`: IResolvable) { - unwrap(this).setFederationEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setFederationEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnEventDataStore( * Specifies whether the event data store should start ingesting live events. */ public open fun ingestionEnabled(`value`: IResolvable) { - unwrap(this).setIngestionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setIngestionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnEventDataStore( * A JSON string that contains the Insights types you want to log on an event data store. */ public open fun insightSelectors(`value`: IResolvable) { - unwrap(this).setInsightSelectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setInsightSelectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnEventDataStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnEventDataStore( * Region in which the event data store is created. */ public open fun multiRegionEnabled(`value`: IResolvable) { - unwrap(this).setMultiRegionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiRegionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnEventDataStore( * Organizations . */ public open fun organizationEnabled(`value`: IResolvable) { - unwrap(this).setOrganizationEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setOrganizationEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnEventDataStore( * A list of tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CfnEventDataStore( * Specifies whether termination protection is enabled for the event data store. */ public open fun terminationProtectionEnabled(`value`: IResolvable) { - unwrap(this).setTerminationProtectionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTerminationProtectionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -805,7 +805,7 @@ public open class CfnEventDataStore( * the data store. */ override fun advancedEventSelectors(advancedEventSelectors: IResolvable) { - cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable::unwrap)) + cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -922,7 +922,7 @@ public open class CfnEventDataStore( * Lake query federation is enabled. */ override fun federationEnabled(federationEnabled: IResolvable) { - cdkBuilder.federationEnabled(federationEnabled.let(IResolvable::unwrap)) + cdkBuilder.federationEnabled(federationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -964,7 +964,7 @@ public open class CfnEventDataStore( * events. */ override fun ingestionEnabled(ingestionEnabled: IResolvable) { - cdkBuilder.ingestionEnabled(ingestionEnabled.let(IResolvable::unwrap)) + cdkBuilder.ingestionEnabled(ingestionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -983,7 +983,7 @@ public open class CfnEventDataStore( * event data store. */ override fun insightSelectors(insightSelectors: IResolvable) { - cdkBuilder.insightSelectors(insightSelectors.let(IResolvable::unwrap)) + cdkBuilder.insightSelectors(insightSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -1094,7 +1094,7 @@ public open class CfnEventDataStore( * Regions, or only from the Region in which the event data store is created. */ override fun multiRegionEnabled(multiRegionEnabled: IResolvable) { - cdkBuilder.multiRegionEnabled(multiRegionEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiRegionEnabled(multiRegionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1128,7 +1128,7 @@ public open class CfnEventDataStore( * an organization in AWS Organizations . */ override fun organizationEnabled(organizationEnabled: IResolvable) { - cdkBuilder.organizationEnabled(organizationEnabled.let(IResolvable::unwrap)) + cdkBuilder.organizationEnabled(organizationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1165,7 +1165,7 @@ public open class CfnEventDataStore( * @param tags A list of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1201,7 +1201,7 @@ public open class CfnEventDataStore( * the event data store. */ override fun terminationProtectionEnabled(terminationProtectionEnabled: IResolvable) { - cdkBuilder.terminationProtectionEnabled(terminationProtectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.terminationProtectionEnabled(terminationProtectionEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudtrail.CfnEventDataStore = @@ -1339,7 +1339,7 @@ public open class CfnEventDataStore( * @param fieldSelectors Contains all selector statements in an advanced event selector. */ override fun fieldSelectors(fieldSelectors: IResolvable) { - cdkBuilder.fieldSelectors(fieldSelectors.let(IResolvable::unwrap)) + cdkBuilder.fieldSelectors(fieldSelectors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStoreProps.kt index 19c8331425..c5a0b0b62b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnEventDataStoreProps.kt @@ -574,7 +574,7 @@ public interface CfnEventDataStoreProps { * in the CloudTrail User Guide. */ override fun advancedEventSelectors(advancedEventSelectors: IResolvable) { - cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable::unwrap)) + cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -666,7 +666,7 @@ public interface CfnEventDataStoreProps { * Lake query federation is enabled. */ override fun federationEnabled(federationEnabled: IResolvable) { - cdkBuilder.federationEnabled(federationEnabled.let(IResolvable::unwrap)) + cdkBuilder.federationEnabled(federationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public interface CfnEventDataStoreProps { * The default is true. */ override fun ingestionEnabled(ingestionEnabled: IResolvable) { - cdkBuilder.ingestionEnabled(ingestionEnabled.let(IResolvable::unwrap)) + cdkBuilder.ingestionEnabled(ingestionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public interface CfnEventDataStoreProps { * codes. The error is shown if the API call is unsuccessful. */ override fun insightSelectors(insightSelectors: IResolvable) { - cdkBuilder.insightSelectors(insightSelectors.let(IResolvable::unwrap)) + cdkBuilder.insightSelectors(insightSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public interface CfnEventDataStoreProps { * Regions, or only from the Region in which the event data store is created. */ override fun multiRegionEnabled(multiRegionEnabled: IResolvable) { - cdkBuilder.multiRegionEnabled(multiRegionEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiRegionEnabled(multiRegionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public interface CfnEventDataStoreProps { * an organization in AWS Organizations . */ override fun organizationEnabled(organizationEnabled: IResolvable) { - cdkBuilder.organizationEnabled(organizationEnabled.let(IResolvable::unwrap)) + cdkBuilder.organizationEnabled(organizationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -848,7 +848,7 @@ public interface CfnEventDataStoreProps { * @param tags A list of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public interface CfnEventDataStoreProps { * termination protection is disabled. */ override fun terminationProtectionEnabled(terminationProtectionEnabled: IResolvable) { - cdkBuilder.terminationProtectionEnabled(terminationProtectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.terminationProtectionEnabled(terminationProtectionEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudtrail.CfnEventDataStoreProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnResourcePolicy.kt index 10837a985e..fbc6327341 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnResourcePolicy.kt @@ -44,8 +44,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.cloudtrail.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.cloudtrail.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrail.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrail.kt index 3b5faf2e3c..fc16043e45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrail.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrail.kt @@ -87,8 +87,8 @@ public open class CfnTrail( id: String, props: CfnTrailProps, ) : - this(software.amazon.awscdk.services.cloudtrail.CfnTrail(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrailProps::unwrap)) + this(software.amazon.awscdk.services.cloudtrail.CfnTrail(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrailProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnTrail( * Specifies the settings for advanced event selectors. */ public open fun advancedEventSelectors(`value`: IResolvable) { - unwrap(this).setAdvancedEventSelectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdvancedEventSelectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnTrail( * The default is false. */ public open fun enableLogFileValidation(`value`: IResolvable) { - unwrap(this).setEnableLogFileValidation(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableLogFileValidation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnTrail( * Use event selectors to further specify the management and data event settings for your trail. */ public open fun eventSelectors(`value`: IResolvable) { - unwrap(this).setEventSelectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventSelectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnTrail( * files. */ public open fun includeGlobalServiceEvents(`value`: IResolvable) { - unwrap(this).setIncludeGlobalServiceEvents(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludeGlobalServiceEvents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnTrail( * A JSON string that contains the Insights types you want to log on a trail. */ public open fun insightSelectors(`value`: IResolvable) { - unwrap(this).setInsightSelectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setInsightSelectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnTrail( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnTrail( * Whether the CloudTrail trail is currently logging AWS API calls. */ public open fun isLogging(`value`: IResolvable) { - unwrap(this).setIsLogging(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsLogging(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnTrail( * Specifies whether the trail applies only to the current Region or to all Regions. */ public open fun isMultiRegionTrail(`value`: IResolvable) { - unwrap(this).setIsMultiRegionTrail(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsMultiRegionTrail(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnTrail( * , or only for the current AWS account . */ public open fun isOrganizationTrail(`value`: IResolvable) { - unwrap(this).setIsOrganizationTrail(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsOrganizationTrail(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnTrail( * A custom set of tags (key-value pairs) for this trail. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnTrail( * @param advancedEventSelectors Specifies the settings for advanced event selectors. */ override fun advancedEventSelectors(advancedEventSelectors: IResolvable) { - cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable::unwrap)) + cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnTrail( * is false. */ override fun enableLogFileValidation(enableLogFileValidation: IResolvable) { - cdkBuilder.enableLogFileValidation(enableLogFileValidation.let(IResolvable::unwrap)) + cdkBuilder.enableLogFileValidation(enableLogFileValidation.let(IResolvable.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public open class CfnTrail( * settings for your trail. */ override fun eventSelectors(eventSelectors: IResolvable) { - cdkBuilder.eventSelectors(eventSelectors.let(IResolvable::unwrap)) + cdkBuilder.eventSelectors(eventSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -1059,7 +1059,7 @@ public open class CfnTrail( * global services such as IAM to the log files. */ override fun includeGlobalServiceEvents(includeGlobalServiceEvents: IResolvable) { - cdkBuilder.includeGlobalServiceEvents(includeGlobalServiceEvents.let(IResolvable::unwrap)) + cdkBuilder.includeGlobalServiceEvents(includeGlobalServiceEvents.let(IResolvable.Companion::unwrap)) } /** @@ -1078,7 +1078,7 @@ public open class CfnTrail( * trail. */ override fun insightSelectors(insightSelectors: IResolvable) { - cdkBuilder.insightSelectors(insightSelectors.let(IResolvable::unwrap)) + cdkBuilder.insightSelectors(insightSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class CfnTrail( * @param isLogging Whether the CloudTrail trail is currently logging AWS API calls. */ override fun isLogging(isLogging: IResolvable) { - cdkBuilder.isLogging(isLogging.let(IResolvable::unwrap)) + cdkBuilder.isLogging(isLogging.let(IResolvable.Companion::unwrap)) } /** @@ -1169,7 +1169,7 @@ public open class CfnTrail( * to all Regions. */ override fun isMultiRegionTrail(isMultiRegionTrail: IResolvable) { - cdkBuilder.isMultiRegionTrail(isMultiRegionTrail.let(IResolvable::unwrap)) + cdkBuilder.isMultiRegionTrail(isMultiRegionTrail.let(IResolvable.Companion::unwrap)) } /** @@ -1217,7 +1217,7 @@ public open class CfnTrail( * organization in AWS Organizations , or only for the current AWS account . */ override fun isOrganizationTrail(isOrganizationTrail: IResolvable) { - cdkBuilder.isOrganizationTrail(isOrganizationTrail.let(IResolvable::unwrap)) + cdkBuilder.isOrganizationTrail(isOrganizationTrail.let(IResolvable.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public open class CfnTrail( * @param tags A custom set of tags (key-value pairs) for this trail. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1459,7 +1459,7 @@ public open class CfnTrail( * @param fieldSelectors Contains all selector statements in an advanced event selector. */ override fun fieldSelectors(fieldSelectors: IResolvable) { - cdkBuilder.fieldSelectors(fieldSelectors.let(IResolvable::unwrap)) + cdkBuilder.fieldSelectors(fieldSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -3729,12 +3729,20 @@ public open class CfnTrail( } /** - * The Amazon S3 buckets, AWS Lambda functions, or Amazon DynamoDB tables that you specify in your - * event selectors for your trail to log data events. - * * Data events provide information about the resource operations performed on or within a resource - * itself. These are also known as data plane operations. You can specify up to 250 data resources - * for a trail. + * itself. + * + * These are also known as data plane operations. You can specify up to 250 data resources for a + * trail. + * + * Configure the `DataResource` to specify the resource type and resource ARNs for which you want + * to log data events. + * + * You can specify the following resource types in your event selectors for your trail: + * + * * `AWS::DynamoDB::Table` + * * `AWS::Lambda::Function` + * * `AWS::S3::Object` * * * The total number of allowed data resources is 250. This number can be distributed between 1 and @@ -3806,7 +3814,7 @@ public open class CfnTrail( /** * An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified - * objects. + * resource type. * * * To log data events for all objects in all S3 buckets in your AWS account , specify the * prefix as `arn:aws:s3` . @@ -3868,7 +3876,7 @@ public open class CfnTrail( /** * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the - * specified objects. + * specified resource type. * * To log data events for all objects in all S3 buckets in your AWS account , specify the * prefix as `arn:aws:s3` . * @@ -3908,7 +3916,7 @@ public open class CfnTrail( /** * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the - * specified objects. + * specified resource type. * * To log data events for all objects in all S3 buckets in your AWS account , specify the * prefix as `arn:aws:s3` . * @@ -3971,7 +3979,7 @@ public open class CfnTrail( /** * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the - * specified objects. + * specified resource type. * * To log data events for all objects in all S3 buckets in your AWS account , specify the * prefix as `arn:aws:s3` . * @@ -4013,7 +4021,7 @@ public open class CfnTrail( /** * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the - * specified objects. + * specified resource type. * * To log data events for all objects in all S3 buckets in your AWS account , specify the * prefix as `arn:aws:s3` . * @@ -4078,7 +4086,7 @@ public open class CfnTrail( /** * An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified - * objects. + * resource type. * * * To log data events for all objects in all S3 buckets in your AWS account , specify the * prefix as `arn:aws:s3` . @@ -4369,7 +4377,7 @@ public open class CfnTrail( * in the *AWS CloudTrail User Guide* . */ override fun dataResources(dataResources: IResolvable) { - cdkBuilder.dataResources(dataResources.let(IResolvable::unwrap)) + cdkBuilder.dataResources(dataResources.let(IResolvable.Companion::unwrap)) } /** @@ -4463,7 +4471,7 @@ public open class CfnTrail( * Pricing](https://docs.aws.amazon.com/cloudtrail/pricing/) . */ override fun includeManagementEvents(includeManagementEvents: IResolvable) { - cdkBuilder.includeManagementEvents(includeManagementEvents.let(IResolvable::unwrap)) + cdkBuilder.includeManagementEvents(includeManagementEvents.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrailProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrailProps.kt index 2545a36095..026e374535 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrailProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/CfnTrailProps.kt @@ -608,7 +608,7 @@ public interface CfnTrailProps { * in the *AWS CloudTrail User Guide* . */ override fun advancedEventSelectors(advancedEventSelectors: IResolvable) { - cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable::unwrap)) + cdkBuilder.advancedEventSelectors(advancedEventSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -687,7 +687,7 @@ public interface CfnTrailProps { * a trail. */ override fun enableLogFileValidation(enableLogFileValidation: IResolvable) { - cdkBuilder.enableLogFileValidation(enableLogFileValidation.let(IResolvable::unwrap)) + cdkBuilder.enableLogFileValidation(enableLogFileValidation.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public interface CfnTrailProps { * You cannot apply both event selectors and advanced event selectors to a trail. */ override fun eventSelectors(eventSelectors: IResolvable) { - cdkBuilder.eventSelectors(eventSelectors.let(IResolvable::unwrap)) + cdkBuilder.eventSelectors(eventSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public interface CfnTrailProps { * global services such as IAM to the log files. */ override fun includeGlobalServiceEvents(includeGlobalServiceEvents: IResolvable) { - cdkBuilder.includeGlobalServiceEvents(includeGlobalServiceEvents.let(IResolvable::unwrap)) + cdkBuilder.includeGlobalServiceEvents(includeGlobalServiceEvents.let(IResolvable.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public interface CfnTrailProps { * codes. The error is shown if the API call is unsuccessful. */ override fun insightSelectors(insightSelectors: IResolvable) { - cdkBuilder.insightSelectors(insightSelectors.let(IResolvable::unwrap)) + cdkBuilder.insightSelectors(insightSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -811,7 +811,7 @@ public interface CfnTrailProps { * @param isLogging Whether the CloudTrail trail is currently logging AWS API calls. */ override fun isLogging(isLogging: IResolvable) { - cdkBuilder.isLogging(isLogging.let(IResolvable::unwrap)) + cdkBuilder.isLogging(isLogging.let(IResolvable.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public interface CfnTrailProps { * practice, consider using trails that log events in all Regions. */ override fun isMultiRegionTrail(isMultiRegionTrail: IResolvable) { - cdkBuilder.isMultiRegionTrail(isMultiRegionTrail.let(IResolvable::unwrap)) + cdkBuilder.isMultiRegionTrail(isMultiRegionTrail.let(IResolvable.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public interface CfnTrailProps { * non-organization trail, or convert a non-organization trail to an organization trail. */ override fun isOrganizationTrail(isOrganizationTrail: IResolvable) { - cdkBuilder.isOrganizationTrail(isOrganizationTrail.let(IResolvable::unwrap)) + cdkBuilder.isOrganizationTrail(isOrganizationTrail.let(IResolvable.Companion::unwrap)) } /** @@ -932,7 +932,7 @@ public interface CfnTrailProps { * @param tags A custom set of tags (key-value pairs) for this trail. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/S3EventSelector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/S3EventSelector.kt index c83d2a74c0..b5a98c9d74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/S3EventSelector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/S3EventSelector.kt @@ -64,7 +64,7 @@ public interface S3EventSelector { * @param bucket S3 bucket. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/Trail.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/Trail.kt index 7b35483330..f8738e3e90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/Trail.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/Trail.kt @@ -42,7 +42,7 @@ public open class Trail( cdkObject: software.amazon.awscdk.services.cloudtrail.Trail, ) : Resource(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudtrail.Trail(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudtrail.Trail(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class Trail( id: String, props: TrailProps, ) : - this(software.amazon.awscdk.services.cloudtrail.Trail(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TrailProps::unwrap)) + this(software.amazon.awscdk.services.cloudtrail.Trail(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TrailProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class Trail( */ public open fun addEventSelector(dataResourceType: DataResourceType, dataResourceValues: List) { - unwrap(this).addEventSelector(dataResourceType.let(DataResourceType::unwrap), + unwrap(this).addEventSelector(dataResourceType.let(DataResourceType.Companion::unwrap), dataResourceValues) } @@ -111,8 +111,8 @@ public open class Trail( dataResourceValues: List, options: AddEventSelectorOptions, ) { - unwrap(this).addEventSelector(dataResourceType.let(DataResourceType::unwrap), - dataResourceValues, options.let(AddEventSelectorOptions::unwrap)) + unwrap(this).addEventSelector(dataResourceType.let(DataResourceType.Companion::unwrap), + dataResourceValues, options.let(AddEventSelectorOptions.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class Trail( * @param options the options to configure logging of management and data events. */ public open fun addLambdaEventSelector(handlers: List) { - unwrap(this).addLambdaEventSelector(handlers.map(IFunction::unwrap)) + unwrap(this).addLambdaEventSelector(handlers.map(IFunction.Companion::unwrap)) } /** @@ -205,8 +205,8 @@ public open class Trail( */ public open fun addLambdaEventSelector(handlers: List, options: AddEventSelectorOptions) { - unwrap(this).addLambdaEventSelector(handlers.map(IFunction::unwrap), - options.let(AddEventSelectorOptions::unwrap)) + unwrap(this).addLambdaEventSelector(handlers.map(IFunction.Companion::unwrap), + options.let(AddEventSelectorOptions.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class Trail( * @param options the options to configure logging of management and data events. */ public open fun addS3EventSelector(s3Selector: List) { - unwrap(this).addS3EventSelector(s3Selector.map(S3EventSelector::unwrap)) + unwrap(this).addS3EventSelector(s3Selector.map(S3EventSelector.Companion::unwrap)) } /** @@ -293,8 +293,8 @@ public open class Trail( */ public open fun addS3EventSelector(s3Selector: List, options: AddEventSelectorOptions) { - unwrap(this).addS3EventSelector(s3Selector.map(S3EventSelector::unwrap), - options.let(AddEventSelectorOptions::unwrap)) + unwrap(this).addS3EventSelector(s3Selector.map(S3EventSelector.Companion::unwrap), + options.let(AddEventSelectorOptions.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class Trail( * @param options */ public open fun logAllLambdaDataEvents(options: AddEventSelectorOptions) { - unwrap(this).logAllLambdaDataEvents(options.let(AddEventSelectorOptions::unwrap)) + unwrap(this).logAllLambdaDataEvents(options.let(AddEventSelectorOptions.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class Trail( * @param options */ public open fun logAllS3DataEvents(options: AddEventSelectorOptions) { - unwrap(this).logAllS3DataEvents(options.let(AddEventSelectorOptions::unwrap)) + unwrap(this).logAllS3DataEvents(options.let(AddEventSelectorOptions.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class Trail( * @param bucket The Amazon S3 bucket. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public open class Trail( * @param cloudWatchLogGroup Log Group to which CloudTrail to push logs to. */ override fun cloudWatchLogGroup(cloudWatchLogGroup: ILogGroup) { - cdkBuilder.cloudWatchLogGroup(cloudWatchLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.cloudWatchLogGroup(cloudWatchLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public open class Trail( * @param cloudWatchLogsRetention How long to retain logs in CloudWatchLogs. */ override fun cloudWatchLogsRetention(cloudWatchLogsRetention: RetentionDays) { - cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class Trail( * encrypt CloudTrail logs. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class Trail( * */ override fun insightTypes(insightTypes: List) { - cdkBuilder.insightTypes(insightTypes.map(InsightType::unwrap)) + cdkBuilder.insightTypes(insightTypes.map(InsightType.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class Trail( * the event matches the settings for your trails. */ override fun managementEvents(managementEvents: ReadWriteType) { - cdkBuilder.managementEvents(managementEvents.let(ReadWriteType::unwrap)) + cdkBuilder.managementEvents(managementEvents.let(ReadWriteType.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class Trail( * @param snsTopic SNS topic that is notified when new log files are published. */ override fun snsTopic(snsTopic: ITopic) { - cdkBuilder.snsTopic(snsTopic.let(ITopic::unwrap)) + cdkBuilder.snsTopic(snsTopic.let(ITopic.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class Trail( public companion object { public fun onEvent(scope: CloudshiftdevConstructsConstruct, id: String): Rule = - software.amazon.awscdk.services.cloudtrail.Trail.onEvent(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudtrail.Trail.onEvent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id).let(Rule::wrap) public fun onEvent( @@ -867,8 +867,8 @@ public open class Trail( id: String, options: OnEventOptions, ): Rule = - software.amazon.awscdk.services.cloudtrail.Trail.onEvent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + software.amazon.awscdk.services.cloudtrail.Trail.onEvent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("26c33828bad440bb6093f1c6eb92bb2fa047f5f02f6285543bf3c089a35c49d5") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/TrailProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/TrailProps.kt index 6141aa409b..50153cf7db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/TrailProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudtrail/TrailProps.kt @@ -315,7 +315,7 @@ public interface TrailProps { * @param bucket The Amazon S3 bucket. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface TrailProps { * Ignored if sendToCloudWatchLogs is set to false. */ override fun cloudWatchLogGroup(cloudWatchLogGroup: ILogGroup) { - cdkBuilder.cloudWatchLogGroup(cloudWatchLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.cloudWatchLogGroup(cloudWatchLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface TrailProps { * Ignored if sendToCloudWatchLogs is false or if cloudWatchLogGroup is set. */ override fun cloudWatchLogsRetention(cloudWatchLogsRetention: RetentionDays) { - cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface TrailProps { * encrypt CloudTrail logs. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface TrailProps { * @param insightTypes A JSON string that contains the insight types you want to log on a trail. */ override fun insightTypes(insightTypes: List) { - cdkBuilder.insightTypes(insightTypes.map(InsightType::unwrap)) + cdkBuilder.insightTypes(insightTypes.map(InsightType.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface TrailProps { * For example, when a user logs in to your account, CloudTrail logs the ConsoleLogin event. */ override fun managementEvents(managementEvents: ReadWriteType) { - cdkBuilder.managementEvents(managementEvents.let(ReadWriteType::unwrap)) + cdkBuilder.managementEvents(managementEvents.let(ReadWriteType.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface TrailProps { * @param snsTopic SNS topic that is notified when new log files are published. */ override fun snsTopic(snsTopic: ITopic) { - cdkBuilder.snsTopic(snsTopic.let(ITopic::unwrap)) + cdkBuilder.snsTopic(snsTopic.let(ITopic.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Alarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Alarm.kt index ab8e6817a5..13a7b47dcd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Alarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Alarm.kt @@ -49,8 +49,8 @@ public open class Alarm( id: String, props: AlarmProps, ) : - this(software.amazon.awscdk.services.cloudwatch.Alarm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AlarmProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.Alarm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AlarmProps.Companion::unwrap)) ) public constructor( @@ -259,7 +259,7 @@ public open class Alarm( * @param comparisonOperator Comparison to use to check if metric is breaching. */ override fun comparisonOperator(comparisonOperator: ComparisonOperator) { - cdkBuilder.comparisonOperator(comparisonOperator.let(ComparisonOperator::unwrap)) + cdkBuilder.comparisonOperator(comparisonOperator.let(ComparisonOperator.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class Alarm( * @param metric The metric to add the alarm on. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public open class Alarm( * @param treatMissingData Sets how this alarm is to handle missing data points. */ override fun treatMissingData(treatMissingData: TreatMissingData) { - cdkBuilder.treatMissingData(treatMissingData.let(TreatMissingData::unwrap)) + cdkBuilder.treatMissingData(treatMissingData.let(TreatMissingData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.Alarm = cdkBuilder.build() @@ -347,7 +347,7 @@ public open class Alarm( id: String, alarmArn: String, ): IAlarm = - software.amazon.awscdk.services.cloudwatch.Alarm.fromAlarmArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudwatch.Alarm.fromAlarmArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, alarmArn).let(IAlarm::wrap) public fun fromAlarmName( @@ -355,7 +355,7 @@ public open class Alarm( id: String, alarmName: String, ): IAlarm = - software.amazon.awscdk.services.cloudwatch.Alarm.fromAlarmName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudwatch.Alarm.fromAlarmName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, alarmName).let(IAlarm::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmProps.kt index 9969be2b15..7c9ccf8f2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmProps.kt @@ -145,7 +145,7 @@ public interface AlarmProps : CreateAlarmOptions { * @param comparisonOperator Comparison to use to check if metric is breaching. */ override fun comparisonOperator(comparisonOperator: ComparisonOperator) { - cdkBuilder.comparisonOperator(comparisonOperator.let(ComparisonOperator::unwrap)) + cdkBuilder.comparisonOperator(comparisonOperator.let(ComparisonOperator.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface AlarmProps : CreateAlarmOptions { * custom Metric objects by instantiating one. */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public interface AlarmProps : CreateAlarmOptions { * @param treatMissingData Sets how this alarm is to handle missing data points. */ override fun treatMissingData(treatMissingData: TreatMissingData) { - cdkBuilder.treatMissingData(treatMissingData.let(TreatMissingData::unwrap)) + cdkBuilder.treatMissingData(treatMissingData.let(TreatMissingData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.AlarmProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmRule.kt index ae53a90e06..0d9d1cea95 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmRule.kt @@ -32,14 +32,14 @@ public open class AlarmRule( public companion object { public fun allOf(operands: IAlarmRule): IAlarmRule = - software.amazon.awscdk.services.cloudwatch.AlarmRule.allOf(operands.let(IAlarmRule::unwrap)).let(IAlarmRule::wrap) + software.amazon.awscdk.services.cloudwatch.AlarmRule.allOf(operands.let(IAlarmRule.Companion::unwrap)).let(IAlarmRule::wrap) public fun anyOf(operands: IAlarmRule): IAlarmRule = - software.amazon.awscdk.services.cloudwatch.AlarmRule.anyOf(operands.let(IAlarmRule::unwrap)).let(IAlarmRule::wrap) + software.amazon.awscdk.services.cloudwatch.AlarmRule.anyOf(operands.let(IAlarmRule.Companion::unwrap)).let(IAlarmRule::wrap) public fun fromAlarm(alarm: IAlarm, alarmState: AlarmState): IAlarmRule = - software.amazon.awscdk.services.cloudwatch.AlarmRule.fromAlarm(alarm.let(IAlarm::unwrap), - alarmState.let(AlarmState::unwrap)).let(IAlarmRule::wrap) + software.amazon.awscdk.services.cloudwatch.AlarmRule.fromAlarm(alarm.let(IAlarm.Companion::unwrap), + alarmState.let(AlarmState.Companion::unwrap)).let(IAlarmRule::wrap) public fun fromBoolean(`value`: Boolean): IAlarmRule = software.amazon.awscdk.services.cloudwatch.AlarmRule.fromBoolean(`value`).let(IAlarmRule::wrap) @@ -48,7 +48,7 @@ public open class AlarmRule( software.amazon.awscdk.services.cloudwatch.AlarmRule.fromString(alarmRule).let(IAlarmRule::wrap) public fun not(operand: IAlarmRule): IAlarmRule = - software.amazon.awscdk.services.cloudwatch.AlarmRule.not(operand.let(IAlarmRule::unwrap)).let(IAlarmRule::wrap) + software.amazon.awscdk.services.cloudwatch.AlarmRule.not(operand.let(IAlarmRule.Companion::unwrap)).let(IAlarmRule::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.cloudwatch.AlarmRule): AlarmRule = AlarmRule(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidget.kt index 765825bfde..091f46832d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidget.kt @@ -27,7 +27,7 @@ public open class AlarmStatusWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.AlarmStatusWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: AlarmStatusWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.AlarmStatusWidget(props.let(AlarmStatusWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.AlarmStatusWidget(props.let(AlarmStatusWidgetProps.Companion::unwrap)) ) public constructor(props: AlarmStatusWidgetProps.Builder.() -> Unit) : @@ -149,7 +149,7 @@ public open class AlarmStatusWidget( * @param alarms CloudWatch Alarms to show in widget. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class AlarmStatusWidget( * @param sortBy Specifies how to sort the alarms in the widget. */ override fun sortBy(sortBy: AlarmStatusWidgetSortBy) { - cdkBuilder.sortBy(sortBy.let(AlarmStatusWidgetSortBy::unwrap)) + cdkBuilder.sortBy(sortBy.let(AlarmStatusWidgetSortBy.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class AlarmStatusWidget( * those alarms currently in the specified states. */ override fun states(states: List) { - cdkBuilder.states(states.map(AlarmState::unwrap)) + cdkBuilder.states(states.map(AlarmState.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidgetProps.kt index 4040aa51b4..38477f956c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmStatusWidgetProps.kt @@ -141,7 +141,7 @@ public interface AlarmStatusWidgetProps { * @param alarms CloudWatch Alarms to show in widget. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface AlarmStatusWidgetProps { * @param sortBy Specifies how to sort the alarms in the widget. */ override fun sortBy(sortBy: AlarmStatusWidgetSortBy) { - cdkBuilder.sortBy(sortBy.let(AlarmStatusWidgetSortBy::unwrap)) + cdkBuilder.sortBy(sortBy.let(AlarmStatusWidgetSortBy.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface AlarmStatusWidgetProps { * displayed. */ override fun states(states: List) { - cdkBuilder.states(states.map(AlarmState::unwrap)) + cdkBuilder.states(states.map(AlarmState.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidget.kt index fa90681740..1f8eed9274 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidget.kt @@ -28,7 +28,7 @@ public open class AlarmWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.AlarmWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: AlarmWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.AlarmWidget(props.let(AlarmWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.AlarmWidget(props.let(AlarmWidgetProps.Companion::unwrap)) ) public constructor(props: AlarmWidgetProps.Builder.() -> Unit) : this(AlarmWidgetProps(props) @@ -119,7 +119,7 @@ public open class AlarmWidget( * @param alarm The alarm to show. */ override fun alarm(alarm: IAlarm) { - cdkBuilder.alarm(alarm.let(IAlarm::unwrap)) + cdkBuilder.alarm(alarm.let(IAlarm.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class AlarmWidget( * @param leftYAxis Left Y axis. */ override fun leftYAxis(leftYAxis: YAxisProps) { - cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps::unwrap)) + cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidgetProps.kt index 7d5700e9f9..51901abd90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/AlarmWidgetProps.kt @@ -88,7 +88,7 @@ public interface AlarmWidgetProps : MetricWidgetProps { * @param alarm The alarm to show. */ override fun alarm(alarm: IAlarm) { - cdkBuilder.alarm(alarm.let(IAlarm::unwrap)) + cdkBuilder.alarm(alarm.let(IAlarm.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public interface AlarmWidgetProps : MetricWidgetProps { * @param leftYAxis Left Y axis. */ override fun leftYAxis(leftYAxis: YAxisProps) { - cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps::unwrap)) + cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarm.kt index 689917c75e..3a764ba446 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarm.kt @@ -104,8 +104,8 @@ public open class CfnAlarm( id: String, props: CfnAlarmProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CfnAlarm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAlarmProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CfnAlarm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAlarmProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnAlarm( * Indicates whether actions should be executed during any changes to the alarm state. */ public open fun actionsEnabled(`value`: IResolvable) { - unwrap(this).setActionsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setActionsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class CfnAlarm( * The dimensions for the metric associated with the alarm. */ public open fun dimensions(`value`: IResolvable) { - unwrap(this).setDimensions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDimensions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnAlarm( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnAlarm( * An array that enables you to create an alarm based on the result of a metric math expression. */ public open fun metrics(`value`: IResolvable) { - unwrap(this).setMetrics(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetrics(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class CfnAlarm( * A list of key-value pairs to associate with the alarm. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public open class CfnAlarm( * alarm state. */ override fun actionsEnabled(actionsEnabled: IResolvable) { - cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable::unwrap)) + cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnAlarm( * @param dimensions The dimensions for the metric associated with the alarm. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -1165,7 +1165,7 @@ public open class CfnAlarm( * math expression. */ override fun metrics(metrics: IResolvable) { - cdkBuilder.metrics(metrics.let(IResolvable::unwrap)) + cdkBuilder.metrics(metrics.let(IResolvable.Companion::unwrap)) } /** @@ -1289,7 +1289,7 @@ public open class CfnAlarm( * @param tags A list of key-value pairs to associate with the alarm. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1800,7 +1800,7 @@ public open class CfnAlarm( * not both. */ override fun metricStat(metricStat: IResolvable) { - cdkBuilder.metricStat(metricStat.let(IResolvable::unwrap)) + cdkBuilder.metricStat(metricStat.let(IResolvable.Companion::unwrap)) } /** @@ -1812,7 +1812,7 @@ public open class CfnAlarm( * not both. */ override fun metricStat(metricStat: MetricStatProperty) { - cdkBuilder.metricStat(metricStat.let(MetricStatProperty::unwrap)) + cdkBuilder.metricStat(metricStat.let(MetricStatProperty.Companion::unwrap)) } /** @@ -1863,7 +1863,7 @@ public open class CfnAlarm( * This field is required. */ override fun returnData(returnData: IResolvable) { - cdkBuilder.returnData(returnData.let(IResolvable::unwrap)) + cdkBuilder.returnData(returnData.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2073,7 +2073,7 @@ public open class CfnAlarm( * alarm will watch. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2305,14 +2305,14 @@ public open class CfnAlarm( * @param metric The metric to return, including the metric name, namespace, and dimensions. */ override fun metric(metric: IResolvable) { - cdkBuilder.metric(metric.let(IResolvable::unwrap)) + cdkBuilder.metric(metric.let(IResolvable.Companion::unwrap)) } /** * @param metric The metric to return, including the metric name, namespace, and dimensions. */ override fun metric(metric: MetricProperty) { - cdkBuilder.metric(metric.let(MetricProperty::unwrap)) + cdkBuilder.metric(metric.let(MetricProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarmProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarmProps.kt index fdc9ccde28..31a4702d3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarmProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAlarmProps.kt @@ -655,7 +655,7 @@ public interface CfnAlarmProps { * The default is TRUE. */ override fun actionsEnabled(actionsEnabled: IResolvable) { - cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable::unwrap)) + cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface CfnAlarmProps { * `Metrics` . */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -826,7 +826,7 @@ public interface CfnAlarmProps { * `Period` , `Namespace` , `Statistic` , `ExtendedStatistic` , or `Unit` . */ override fun metrics(metrics: IResolvable) { - cdkBuilder.metrics(metrics.let(IResolvable::unwrap)) + cdkBuilder.metrics(metrics.let(IResolvable.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public interface CfnAlarmProps { * values. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetector.kt index 68dab7eb7b..df77a7492d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetector.kt @@ -100,7 +100,7 @@ public open class CfnAnomalyDetector( cdkObject: software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -109,8 +109,8 @@ public open class CfnAnomalyDetector( id: String, props: CfnAnomalyDetectorProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnomalyDetectorProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnomalyDetectorProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnAnomalyDetector( * to exclude when training and updating the model. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnAnomalyDetector( * to exclude when training and updating the model. */ public open fun configuration(`value`: ConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(ConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(ConfigurationProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnAnomalyDetector( * The dimensions of the metric associated with the anomaly detection band. */ public open fun dimensions(`value`: IResolvable) { - unwrap(this).setDimensions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDimensions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnAnomalyDetector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnAnomalyDetector( * help it build more accurate anomaly detection models. */ public open fun metricCharacteristics(`value`: IResolvable) { - unwrap(this).setMetricCharacteristics(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricCharacteristics(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnAnomalyDetector( * help it build more accurate anomaly detection models. */ public open fun metricCharacteristics(`value`: MetricCharacteristicsProperty) { - unwrap(this).setMetricCharacteristics(`value`.let(MetricCharacteristicsProperty::unwrap)) + unwrap(this).setMetricCharacteristics(`value`.let(MetricCharacteristicsProperty.Companion::unwrap)) } /** @@ -229,14 +229,14 @@ public open class CfnAnomalyDetector( * The CloudWatch metric math expression for this anomaly detector. */ public open fun metricMathAnomalyDetector(`value`: IResolvable) { - unwrap(this).setMetricMathAnomalyDetector(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricMathAnomalyDetector(`value`.let(IResolvable.Companion::unwrap)) } /** * The CloudWatch metric math expression for this anomaly detector. */ public open fun metricMathAnomalyDetector(`value`: MetricMathAnomalyDetectorProperty) { - unwrap(this).setMetricMathAnomalyDetector(`value`.let(MetricMathAnomalyDetectorProperty::unwrap)) + unwrap(this).setMetricMathAnomalyDetector(`value`.let(MetricMathAnomalyDetectorProperty.Companion::unwrap)) } /** @@ -282,14 +282,14 @@ public open class CfnAnomalyDetector( * The CloudWatch metric and statistic for this anomaly detector. */ public open fun singleMetricAnomalyDetector(`value`: IResolvable) { - unwrap(this).setSingleMetricAnomalyDetector(`value`.let(IResolvable::unwrap)) + unwrap(this).setSingleMetricAnomalyDetector(`value`.let(IResolvable.Companion::unwrap)) } /** * The CloudWatch metric and statistic for this anomaly detector. */ public open fun singleMetricAnomalyDetector(`value`: SingleMetricAnomalyDetectorProperty) { - unwrap(this).setSingleMetricAnomalyDetector(`value`.let(SingleMetricAnomalyDetectorProperty::unwrap)) + unwrap(this).setSingleMetricAnomalyDetector(`value`.let(SingleMetricAnomalyDetectorProperty.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public open class CfnAnomalyDetector( * trained, including time ranges to exclude when training and updating the model. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CfnAnomalyDetector( * trained, including time ranges to exclude when training and updating the model. */ override fun configuration(configuration: ConfigurationProperty) { - cdkBuilder.configuration(configuration.let(ConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(ConfigurationProperty.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnAnomalyDetector( * @param dimensions The dimensions of the metric associated with the anomaly detection band. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class CfnAnomalyDetector( * about your metric to CloudWatch to help it build more accurate anomaly detection models. */ override fun metricCharacteristics(metricCharacteristics: IResolvable) { - cdkBuilder.metricCharacteristics(metricCharacteristics.let(IResolvable::unwrap)) + cdkBuilder.metricCharacteristics(metricCharacteristics.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnAnomalyDetector( * about your metric to CloudWatch to help it build more accurate anomaly detection models. */ override fun metricCharacteristics(metricCharacteristics: MetricCharacteristicsProperty) { - cdkBuilder.metricCharacteristics(metricCharacteristics.let(MetricCharacteristicsProperty::unwrap)) + cdkBuilder.metricCharacteristics(metricCharacteristics.let(MetricCharacteristicsProperty.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnAnomalyDetector( * detector. */ override fun metricMathAnomalyDetector(metricMathAnomalyDetector: IResolvable) { - cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(IResolvable::unwrap)) + cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(IResolvable.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class CfnAnomalyDetector( */ override fun metricMathAnomalyDetector(metricMathAnomalyDetector: MetricMathAnomalyDetectorProperty) { - cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(MetricMathAnomalyDetectorProperty::unwrap)) + cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(MetricMathAnomalyDetectorProperty.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class CfnAnomalyDetector( * detector. */ override fun singleMetricAnomalyDetector(singleMetricAnomalyDetector: IResolvable) { - cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(IResolvable::unwrap)) + cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public open class CfnAnomalyDetector( */ override fun singleMetricAnomalyDetector(singleMetricAnomalyDetector: SingleMetricAnomalyDetectorProperty) { - cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(SingleMetricAnomalyDetectorProperty::unwrap)) + cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(SingleMetricAnomalyDetectorProperty.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public open class CfnAnomalyDetector( * deployments, aren't used when CloudWatch creates or updates the model. */ override fun excludedTimeRanges(excludedTimeRanges: IResolvable) { - cdkBuilder.excludedTimeRanges(excludedTimeRanges.let(IResolvable::unwrap)) + cdkBuilder.excludedTimeRanges(excludedTimeRanges.let(IResolvable.Companion::unwrap)) } /** @@ -1151,7 +1151,7 @@ public open class CfnAnomalyDetector( * during the model training period, and won't flag future similar spikes as anomalies. */ override fun periodicSpikes(periodicSpikes: IResolvable) { - cdkBuilder.periodicSpikes(periodicSpikes.let(IResolvable::unwrap)) + cdkBuilder.periodicSpikes(periodicSpikes.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1555,7 +1555,7 @@ public open class CfnAnomalyDetector( * not both. */ override fun metricStat(metricStat: IResolvable) { - cdkBuilder.metricStat(metricStat.let(IResolvable::unwrap)) + cdkBuilder.metricStat(metricStat.let(IResolvable.Companion::unwrap)) } /** @@ -1567,7 +1567,7 @@ public open class CfnAnomalyDetector( * not both. */ override fun metricStat(metricStat: MetricStatProperty) { - cdkBuilder.metricStat(metricStat.let(MetricStatProperty::unwrap)) + cdkBuilder.metricStat(metricStat.let(MetricStatProperty.Companion::unwrap)) } /** @@ -1620,7 +1620,7 @@ public open class CfnAnomalyDetector( * `ReturnData` as False. */ override fun returnData(returnData: IResolvable) { - cdkBuilder.returnData(returnData.let(IResolvable::unwrap)) + cdkBuilder.returnData(returnData.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1867,7 +1867,7 @@ public open class CfnAnomalyDetector( * expression must return a single time series. */ override fun metricDataQueries(metricDataQueries: IResolvable) { - cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable::unwrap)) + cdkBuilder.metricDataQueries(metricDataQueries.let(IResolvable.Companion::unwrap)) } /** @@ -2024,7 +2024,7 @@ public open class CfnAnomalyDetector( * @param dimensions The dimensions for the metric. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2249,14 +2249,14 @@ public open class CfnAnomalyDetector( * @param metric The metric to return, including the metric name, namespace, and dimensions. */ override fun metric(metric: IResolvable) { - cdkBuilder.metric(metric.let(IResolvable::unwrap)) + cdkBuilder.metric(metric.let(IResolvable.Companion::unwrap)) } /** * @param metric The metric to return, including the metric name, namespace, and dimensions. */ override fun metric(metric: MetricProperty) { - cdkBuilder.metric(metric.let(MetricProperty::unwrap)) + cdkBuilder.metric(metric.let(MetricProperty.Companion::unwrap)) } /** @@ -2633,7 +2633,7 @@ public open class CfnAnomalyDetector( * @param dimensions The metric dimensions to create the anomaly detection model for. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetectorProps.kt index e539173b5f..687472b4e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnAnomalyDetectorProps.kt @@ -283,7 +283,7 @@ public interface CfnAnomalyDetectorProps { * The configuration can also include the time zone to use for the metric. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public interface CfnAnomalyDetectorProps { * The configuration can also include the time zone to use for the metric. */ override fun configuration(configuration: CfnAnomalyDetector.ConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnAnomalyDetector.ConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnAnomalyDetector.ConfigurationProperty.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface CfnAnomalyDetectorProps { * @param dimensions The dimensions of the metric associated with the anomaly detection band. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface CfnAnomalyDetectorProps { * Currently, it includes the `PeriodicSpikes` parameter. */ override fun metricCharacteristics(metricCharacteristics: IResolvable) { - cdkBuilder.metricCharacteristics(metricCharacteristics.let(IResolvable::unwrap)) + cdkBuilder.metricCharacteristics(metricCharacteristics.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface CfnAnomalyDetectorProps { */ override fun metricCharacteristics(metricCharacteristics: CfnAnomalyDetector.MetricCharacteristicsProperty) { - cdkBuilder.metricCharacteristics(metricCharacteristics.let(CfnAnomalyDetector.MetricCharacteristicsProperty::unwrap)) + cdkBuilder.metricCharacteristics(metricCharacteristics.let(CfnAnomalyDetector.MetricCharacteristicsProperty.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface CfnAnomalyDetectorProps { * detector. */ override fun metricMathAnomalyDetector(metricMathAnomalyDetector: IResolvable) { - cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(IResolvable::unwrap)) + cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface CfnAnomalyDetectorProps { */ override fun metricMathAnomalyDetector(metricMathAnomalyDetector: CfnAnomalyDetector.MetricMathAnomalyDetectorProperty) { - cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(CfnAnomalyDetector.MetricMathAnomalyDetectorProperty::unwrap)) + cdkBuilder.metricMathAnomalyDetector(metricMathAnomalyDetector.let(CfnAnomalyDetector.MetricMathAnomalyDetectorProperty.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public interface CfnAnomalyDetectorProps { * detector. */ override fun singleMetricAnomalyDetector(singleMetricAnomalyDetector: IResolvable) { - cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(IResolvable::unwrap)) + cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface CfnAnomalyDetectorProps { */ override fun singleMetricAnomalyDetector(singleMetricAnomalyDetector: CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty) { - cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty::unwrap)) + cdkBuilder.singleMetricAnomalyDetector(singleMetricAnomalyDetector.let(CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarm.kt index a531a1e0f8..f18958d491 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarm.kt @@ -78,8 +78,8 @@ public open class CfnCompositeAlarm( id: String, props: CfnCompositeAlarmProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CfnCompositeAlarm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCompositeAlarmProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CfnCompositeAlarm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCompositeAlarmProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnCompositeAlarm( * composite alarm. */ public open fun actionsEnabled(`value`: IResolvable) { - unwrap(this).setActionsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setActionsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnCompositeAlarm( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnCompositeAlarm( * A list of key-value pairs to associate with the alarm. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class CfnCompositeAlarm( * alarm state of the composite alarm. */ override fun actionsEnabled(actionsEnabled: IResolvable) { - cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable::unwrap)) + cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -778,7 +778,7 @@ public open class CfnCompositeAlarm( * @param tags A list of key-value pairs to associate with the alarm. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarmProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarmProps.kt index 6c1339e289..0ad49e4e61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarmProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnCompositeAlarmProps.kt @@ -383,7 +383,7 @@ public interface CfnCompositeAlarmProps { * The default is TRUE. */ override fun actionsEnabled(actionsEnabled: IResolvable) { - cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable::unwrap)) + cdkBuilder.actionsEnabled(actionsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public interface CfnCompositeAlarmProps { * values. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnDashboard.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnDashboard.kt index 98a27a7caa..8ad8ff7bef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnDashboard.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnDashboard.kt @@ -42,8 +42,8 @@ public open class CfnDashboard( id: String, props: CfnDashboardProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDashboardProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDashboardProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnDashboard( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRule.kt index 502ff078f0..ceb3f0a276 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRule.kt @@ -52,8 +52,8 @@ public open class CfnInsightRule( id: String, props: CfnInsightRuleProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CfnInsightRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInsightRuleProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CfnInsightRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInsightRuleProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnInsightRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnInsightRule( * A list of key-value pairs to associate with the Contributor Insights rule. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnInsightRule( * @param tags A list of key-value pairs to associate with the Contributor Insights rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRuleProps.kt index 52a2548512..18dcb50acc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnInsightRuleProps.kt @@ -173,7 +173,7 @@ public interface CfnInsightRuleProps { * permission in addition to the `cloudwatch:PutInsightRule` permission. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStream.kt index 8cf1a3fa86..4d50485cc7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStream.kt @@ -93,8 +93,8 @@ public open class CfnMetricStream( id: String, props: CfnMetricStreamProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CfnMetricStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMetricStreamProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CfnMetricStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMetricStreamProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnMetricStream( * the namespaces that you specify here. */ public open fun excludeFilters(`value`: IResolvable) { - unwrap(this).setExcludeFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setExcludeFilters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnMetricStream( * that you specify here. */ public open fun includeFilters(`value`: IResolvable) { - unwrap(this).setIncludeFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludeFilters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnMetricStream( * from source accounts that are linked to this monitoring account, in the metric stream. */ public open fun includeLinkedAccountsMetrics(`value`: IResolvable) { - unwrap(this).setIncludeLinkedAccountsMetrics(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludeLinkedAccountsMetrics(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnMetricStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnMetricStream( * metric that is streamed. */ public open fun statisticsConfigurations(`value`: IResolvable) { - unwrap(this).setStatisticsConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setStatisticsConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnMetricStream( * An array of key-value pairs to apply to the metric stream. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public open class CfnMetricStream( * namespaces except for the namespaces that you specify here. */ override fun excludeFilters(excludeFilters: IResolvable) { - cdkBuilder.excludeFilters(excludeFilters.let(IResolvable::unwrap)) + cdkBuilder.excludeFilters(excludeFilters.let(IResolvable.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnMetricStream( * the metric namespaces that you specify here. */ override fun includeFilters(includeFilters: IResolvable) { - cdkBuilder.includeFilters(includeFilters.let(IResolvable::unwrap)) + cdkBuilder.includeFilters(includeFilters.let(IResolvable.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnMetricStream( * monitoring account, in the metric stream. */ override fun includeLinkedAccountsMetrics(includeLinkedAccountsMetrics: IResolvable) { - cdkBuilder.includeLinkedAccountsMetrics(includeLinkedAccountsMetrics.let(IResolvable::unwrap)) + cdkBuilder.includeLinkedAccountsMetrics(includeLinkedAccountsMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnMetricStream( * and SAMPLECOUNT statistics for each metric that is streamed. */ override fun statisticsConfigurations(statisticsConfigurations: IResolvable) { - cdkBuilder.statisticsConfigurations(statisticsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.statisticsConfigurations(statisticsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class CfnMetricStream( * @param tags An array of key-value pairs to apply to the metric stream. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1183,7 +1183,7 @@ public open class CfnMetricStream( * statistics streamed. */ override fun includeMetrics(includeMetrics: IResolvable) { - cdkBuilder.includeMetrics(includeMetrics.let(IResolvable::unwrap)) + cdkBuilder.includeMetrics(includeMetrics.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStreamProps.kt index 86a744721b..17c27c235a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CfnMetricStreamProps.kt @@ -374,7 +374,7 @@ public interface CfnMetricStreamProps { * datapoints that have a timestamp after the time of the update. */ override fun excludeFilters(excludeFilters: IResolvable) { - cdkBuilder.excludeFilters(excludeFilters.let(IResolvable::unwrap)) + cdkBuilder.excludeFilters(excludeFilters.let(IResolvable.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface CfnMetricStreamProps { * datapoints that have a timestamp after the time of the update. */ override fun includeFilters(includeFilters: IResolvable) { - cdkBuilder.includeFilters(includeFilters.let(IResolvable::unwrap)) + cdkBuilder.includeFilters(includeFilters.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public interface CfnMetricStreamProps { * observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html) */ override fun includeLinkedAccountsMetrics(includeLinkedAccountsMetrics: IResolvable) { - cdkBuilder.includeLinkedAccountsMetrics(includeLinkedAccountsMetrics.let(IResolvable::unwrap)) + cdkBuilder.includeLinkedAccountsMetrics(includeLinkedAccountsMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public interface CfnMetricStreamProps { * . If the `OutputFormat` is OpenTelemetry, you can stream percentile statistics. */ override fun statisticsConfigurations(statisticsConfigurations: IResolvable) { - cdkBuilder.statisticsConfigurations(statisticsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.statisticsConfigurations(statisticsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public interface CfnMetricStreamProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Column.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Column.kt index 9e713d2168..283765ac51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Column.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Column.kt @@ -24,7 +24,7 @@ public open class Column( cdkObject: software.amazon.awscdk.services.cloudwatch.Column, ) : CdkObject(cdkObject), IWidget { public constructor(widgets: IWidget) : - this(software.amazon.awscdk.services.cloudwatch.Column(widgets.let(IWidget::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.Column(widgets.let(IWidget.Companion::unwrap)) ) /** @@ -33,7 +33,7 @@ public open class Column( * @param w */ public open fun addWidget(w: IWidget) { - unwrap(this).addWidget(w.let(IWidget::unwrap)) + unwrap(this).addWidget(w.let(IWidget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CommonMetricOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CommonMetricOptions.kt index c23fe9813e..4131510f6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CommonMetricOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CommonMetricOptions.kt @@ -256,7 +256,7 @@ public interface CommonMetricOptions { * @param period The period over which the specified statistic is applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface CommonMetricOptions { * CloudWatch does not honor this property for graphs. */ override fun unit(unit: Unit) { - cdkBuilder.unit(unit.let(Unit::unwrap)) + cdkBuilder.unit(unit.let(Unit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.CommonMetricOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarm.kt index 13861449bb..0656b1605e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarm.kt @@ -36,8 +36,8 @@ public open class CompositeAlarm( id: String, props: CompositeAlarmProps, ) : - this(software.amazon.awscdk.services.cloudwatch.CompositeAlarm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CompositeAlarmProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CompositeAlarm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CompositeAlarmProps.Companion::unwrap)) ) public constructor( @@ -162,7 +162,7 @@ public open class CompositeAlarm( * state. */ override fun actionsSuppressor(actionsSuppressor: IAlarm) { - cdkBuilder.actionsSuppressor(actionsSuppressor.let(IAlarm::unwrap)) + cdkBuilder.actionsSuppressor(actionsSuppressor.let(IAlarm.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CompositeAlarm( * after suppressor alarm goes out of the ALARM state. */ override fun actionsSuppressorExtensionPeriod(actionsSuppressorExtensionPeriod: Duration) { - cdkBuilder.actionsSuppressorExtensionPeriod(actionsSuppressorExtensionPeriod.let(Duration::unwrap)) + cdkBuilder.actionsSuppressorExtensionPeriod(actionsSuppressorExtensionPeriod.let(Duration.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CompositeAlarm( * the suppressor alarm to go into the ALARM state. */ override fun actionsSuppressorWaitPeriod(actionsSuppressorWaitPeriod: Duration) { - cdkBuilder.actionsSuppressorWaitPeriod(actionsSuppressorWaitPeriod.let(Duration::unwrap)) + cdkBuilder.actionsSuppressorWaitPeriod(actionsSuppressorWaitPeriod.let(Duration.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CompositeAlarm( * determine this composite alarm's state. */ override fun alarmRule(alarmRule: IAlarmRule) { - cdkBuilder.alarmRule(alarmRule.let(IAlarmRule::unwrap)) + cdkBuilder.alarmRule(alarmRule.let(IAlarmRule.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CompositeAlarm( id: String, compositeAlarmArn: String, ): IAlarm = - software.amazon.awscdk.services.cloudwatch.CompositeAlarm.fromCompositeAlarmArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudwatch.CompositeAlarm.fromCompositeAlarmArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, compositeAlarmArn).let(IAlarm::wrap) public fun fromCompositeAlarmName( @@ -246,7 +246,7 @@ public open class CompositeAlarm( id: String, compositeAlarmName: String, ): IAlarm = - software.amazon.awscdk.services.cloudwatch.CompositeAlarm.fromCompositeAlarmName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cloudwatch.CompositeAlarm.fromCompositeAlarmName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, compositeAlarmName).let(IAlarm::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarmProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarmProps.kt index 54bb2b3de7..65a96250b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarmProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CompositeAlarmProps.kt @@ -148,7 +148,7 @@ public interface CompositeAlarmProps { * state. */ override fun actionsSuppressor(actionsSuppressor: IAlarm) { - cdkBuilder.actionsSuppressor(actionsSuppressor.let(IAlarm::unwrap)) + cdkBuilder.actionsSuppressor(actionsSuppressor.let(IAlarm.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface CompositeAlarmProps { * After this time, the composite alarm performs its actions. */ override fun actionsSuppressorExtensionPeriod(actionsSuppressorExtensionPeriod: Duration) { - cdkBuilder.actionsSuppressorExtensionPeriod(actionsSuppressorExtensionPeriod.let(Duration::unwrap)) + cdkBuilder.actionsSuppressorExtensionPeriod(actionsSuppressorExtensionPeriod.let(Duration.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface CompositeAlarmProps { * After this time, the composite alarm performs its actions. */ override fun actionsSuppressorWaitPeriod(actionsSuppressorWaitPeriod: Duration) { - cdkBuilder.actionsSuppressorWaitPeriod(actionsSuppressorWaitPeriod.let(Duration::unwrap)) + cdkBuilder.actionsSuppressorWaitPeriod(actionsSuppressorWaitPeriod.let(Duration.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface CompositeAlarmProps { * determine this composite alarm's state. */ override fun alarmRule(alarmRule: IAlarmRule) { - cdkBuilder.alarmRule(alarmRule.let(IAlarmRule::unwrap)) + cdkBuilder.alarmRule(alarmRule.let(IAlarmRule.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CreateAlarmOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CreateAlarmOptions.kt index 10634efdab..91723859e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CreateAlarmOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CreateAlarmOptions.kt @@ -191,7 +191,7 @@ public interface CreateAlarmOptions { * @param comparisonOperator Comparison to use to check if metric is breaching. */ override fun comparisonOperator(comparisonOperator: ComparisonOperator) { - cdkBuilder.comparisonOperator(comparisonOperator.let(ComparisonOperator::unwrap)) + cdkBuilder.comparisonOperator(comparisonOperator.let(ComparisonOperator.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface CreateAlarmOptions { * @param treatMissingData Sets how this alarm is to handle missing data points. */ override fun treatMissingData(treatMissingData: TreatMissingData) { - cdkBuilder.treatMissingData(treatMissingData.let(TreatMissingData::unwrap)) + cdkBuilder.treatMissingData(treatMissingData.let(TreatMissingData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.CreateAlarmOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CustomWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CustomWidget.kt index 56eeb8295a..e0c308aaac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CustomWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/CustomWidget.kt @@ -30,7 +30,7 @@ public open class CustomWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.CustomWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: CustomWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.CustomWidget(props.let(CustomWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.CustomWidget(props.let(CustomWidgetProps.Companion::unwrap)) ) public constructor(props: CustomWidgetProps.Builder.() -> Unit) : this(CustomWidgetProps(props) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Dashboard.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Dashboard.kt index 9719c29d53..8b78f91527 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Dashboard.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Dashboard.kt @@ -37,7 +37,7 @@ public open class Dashboard( cdkObject: software.amazon.awscdk.services.cloudwatch.Dashboard, ) : Resource(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cloudwatch.Dashboard(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cloudwatch.Dashboard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class Dashboard( id: String, props: DashboardProps, ) : - this(software.amazon.awscdk.services.cloudwatch.Dashboard(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DashboardProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.Dashboard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DashboardProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class Dashboard( * @param variable */ public open fun addVariable(variable: IVariable) { - unwrap(this).addVariable(variable.let(IVariable::unwrap)) + unwrap(this).addVariable(variable.let(IVariable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class Dashboard( * the relative time(eg. cdk.Duration.days(7)). */ override fun defaultInterval(defaultInterval: Duration) { - cdkBuilder.defaultInterval(defaultInterval.let(Duration::unwrap)) + cdkBuilder.defaultInterval(defaultInterval.let(Duration.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class Dashboard( * loads. */ override fun periodOverride(periodOverride: PeriodOverride) { - cdkBuilder.periodOverride(periodOverride.let(PeriodOverride::unwrap)) + cdkBuilder.periodOverride(periodOverride.let(PeriodOverride.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class Dashboard( * @param variables A list of dashboard variables. */ override fun variables(variables: List) { - cdkBuilder.variables(variables.map(IVariable::unwrap)) + cdkBuilder.variables(variables.map(IVariable.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class Dashboard( * @param widgets Initial set of widgets on the dashboard. */ override fun widgets(widgets: List>) { - cdkBuilder.widgets(widgets.map{ it.map(IWidget::unwrap) }) + cdkBuilder.widgets(widgets.map{ it.map(IWidget.Companion::unwrap) }) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardProps.kt index 9b0ca72409..1183127e75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardProps.kt @@ -204,7 +204,7 @@ public interface DashboardProps { * Both properties `defaultInterval` and `start` cannot be set at once. */ override fun defaultInterval(defaultInterval: Duration) { - cdkBuilder.defaultInterval(defaultInterval.let(Duration::unwrap)) + cdkBuilder.defaultInterval(defaultInterval.let(Duration.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface DashboardProps { * Specifying `Inherit` ensures that the period set for each graph is always obeyed. */ override fun periodOverride(periodOverride: PeriodOverride) { - cdkBuilder.periodOverride(periodOverride.let(PeriodOverride::unwrap)) + cdkBuilder.periodOverride(periodOverride.let(PeriodOverride.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface DashboardProps { * @param variables A list of dashboard variables. */ override fun variables(variables: List) { - cdkBuilder.variables(variables.map(IVariable::unwrap)) + cdkBuilder.variables(variables.map(IVariable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface DashboardProps { * One array represents a row of widgets. */ override fun widgets(widgets: List>) { - cdkBuilder.widgets(widgets.map{ it.map(IWidget::unwrap) }) + cdkBuilder.widgets(widgets.map{ it.map(IWidget.Companion::unwrap) }) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariable.kt index fa8d41e723..c0d5dc8604 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariable.kt @@ -42,7 +42,7 @@ public open class DashboardVariable( cdkObject: software.amazon.awscdk.services.cloudwatch.DashboardVariable, ) : CdkObject(cdkObject), IVariable { public constructor(options: DashboardVariableOptions) : - this(software.amazon.awscdk.services.cloudwatch.DashboardVariable(options.let(DashboardVariableOptions::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.DashboardVariable(options.let(DashboardVariableOptions.Companion::unwrap)) ) public constructor(options: DashboardVariableOptions.Builder.() -> Unit) : @@ -138,7 +138,7 @@ public open class DashboardVariable( * @param defaultValue Optional default value. */ override fun defaultValue(defaultValue: DefaultValue) { - cdkBuilder.defaultValue(defaultValue.let(DefaultValue::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(DefaultValue.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class DashboardVariable( * @param inputType The way the variable value is selected. */ override fun inputType(inputType: VariableInputType) { - cdkBuilder.inputType(inputType.let(VariableInputType::unwrap)) + cdkBuilder.inputType(inputType.let(VariableInputType.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class DashboardVariable( * @param type Type of the variable. */ override fun type(type: VariableType) { - cdkBuilder.type(type.let(VariableType::unwrap)) + cdkBuilder.type(type.let(VariableType.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class DashboardVariable( * [VariableInputType.SELECT] dashboard variables). */ override fun values(values: Values) { - cdkBuilder.values(values.let(Values::unwrap)) + cdkBuilder.values(values.let(Values.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariableOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariableOptions.kt index dcffc56f64..3e39ce2b0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariableOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/DashboardVariableOptions.kt @@ -144,7 +144,7 @@ public interface DashboardVariableOptions { * @param defaultValue Optional default value. */ override fun defaultValue(defaultValue: DefaultValue) { - cdkBuilder.defaultValue(defaultValue.let(DefaultValue::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(DefaultValue.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface DashboardVariableOptions { * @param inputType The way the variable value is selected. */ override fun inputType(inputType: VariableInputType) { - cdkBuilder.inputType(inputType.let(VariableInputType::unwrap)) + cdkBuilder.inputType(inputType.let(VariableInputType.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public interface DashboardVariableOptions { * @param type Type of the variable. */ override fun type(type: VariableType) { - cdkBuilder.type(type.let(VariableType::unwrap)) + cdkBuilder.type(type.let(VariableType.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface DashboardVariableOptions { * [VariableInputType.SELECT] dashboard variables). */ override fun values(values: Values) { - cdkBuilder.values(values.let(Values::unwrap)) + cdkBuilder.values(values.let(Values.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidget.kt index 01bc9ff462..6cd0645610 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidget.kt @@ -34,7 +34,7 @@ public open class GaugeWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.GaugeWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: GaugeWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.GaugeWidget(props.let(GaugeWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.GaugeWidget(props.let(GaugeWidgetProps.Companion::unwrap)) ) public constructor(props: GaugeWidgetProps.Builder.() -> Unit) : this(GaugeWidgetProps(props) @@ -46,7 +46,7 @@ public open class GaugeWidget( * @param metric the metric to add. */ public open fun addMetric(metric: IMetric) { - unwrap(this).addMetric(metric.let(IMetric::unwrap)) + unwrap(this).addMetric(metric.let(IMetric.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class GaugeWidget( * @param annotations Annotations for the left Y axis. */ override fun annotations(annotations: List) { - cdkBuilder.annotations(annotations.map(HorizontalAnnotation::unwrap)) + cdkBuilder.annotations(annotations.map(HorizontalAnnotation.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class GaugeWidget( * @param leftYAxis Left Y axis. */ override fun leftYAxis(leftYAxis: YAxisProps) { - cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps::unwrap)) + cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class GaugeWidget( * @param legendPosition Position of the legend. */ override fun legendPosition(legendPosition: LegendPosition) { - cdkBuilder.legendPosition(legendPosition.let(LegendPosition::unwrap)) + cdkBuilder.legendPosition(legendPosition.let(LegendPosition.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class GaugeWidget( * @param metrics Metrics to display on left Y axis. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(IMetric::unwrap)) + cdkBuilder.metrics(metrics.map(IMetric.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class GaugeWidget( * @param period The default period for all metrics in this widget. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidgetProps.kt index 0ac9d8a5b2..b4c864586d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GaugeWidgetProps.kt @@ -245,7 +245,7 @@ public interface GaugeWidgetProps : MetricWidgetProps { * @param annotations Annotations for the left Y axis. */ override fun annotations(annotations: List) { - cdkBuilder.annotations(annotations.map(HorizontalAnnotation::unwrap)) + cdkBuilder.annotations(annotations.map(HorizontalAnnotation.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface GaugeWidgetProps : MetricWidgetProps { * @param leftYAxis Left Y axis. */ override fun leftYAxis(leftYAxis: YAxisProps) { - cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps::unwrap)) + cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface GaugeWidgetProps : MetricWidgetProps { * @param legendPosition Position of the legend. */ override fun legendPosition(legendPosition: LegendPosition) { - cdkBuilder.legendPosition(legendPosition.let(LegendPosition::unwrap)) + cdkBuilder.legendPosition(legendPosition.let(LegendPosition.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public interface GaugeWidgetProps : MetricWidgetProps { * @param metrics Metrics to display on left Y axis. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(IMetric::unwrap)) + cdkBuilder.metrics(metrics.map(IMetric.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface GaugeWidgetProps : MetricWidgetProps { * This default can be overridden within each metric definition. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidget.kt index 91b9c5568f..9f1e3825ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidget.kt @@ -29,7 +29,7 @@ public open class GraphWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.GraphWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: GraphWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.GraphWidget(props.let(GraphWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.GraphWidget(props.let(GraphWidgetProps.Companion::unwrap)) ) public constructor(props: GraphWidgetProps.Builder.() -> Unit) : this(GraphWidgetProps(props) @@ -41,7 +41,7 @@ public open class GraphWidget( * @param metric the metric to add. */ public open fun addLeftMetric(metric: IMetric) { - unwrap(this).addLeftMetric(metric.let(IMetric::unwrap)) + unwrap(this).addLeftMetric(metric.let(IMetric.Companion::unwrap)) } /** @@ -50,7 +50,7 @@ public open class GraphWidget( * @param metric the metric to add. */ public open fun addRightMetric(metric: IMetric) { - unwrap(this).addRightMetric(metric.let(IMetric::unwrap)) + unwrap(this).addRightMetric(metric.let(IMetric.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class GraphWidget( * @param left Metrics to display on left Y axis. */ override fun left(left: List) { - cdkBuilder.left(left.map(IMetric::unwrap)) + cdkBuilder.left(left.map(IMetric.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class GraphWidget( * @param leftAnnotations Annotations for the left Y axis. */ override fun leftAnnotations(leftAnnotations: List) { - cdkBuilder.leftAnnotations(leftAnnotations.map(HorizontalAnnotation::unwrap)) + cdkBuilder.leftAnnotations(leftAnnotations.map(HorizontalAnnotation.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class GraphWidget( * @param leftYAxis Left Y axis. */ override fun leftYAxis(leftYAxis: YAxisProps) { - cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps::unwrap)) + cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class GraphWidget( * @param legendPosition Position of the legend. */ override fun legendPosition(legendPosition: LegendPosition) { - cdkBuilder.legendPosition(legendPosition.let(LegendPosition::unwrap)) + cdkBuilder.legendPosition(legendPosition.let(LegendPosition.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class GraphWidget( * @param period The default period for all metrics in this widget. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class GraphWidget( * @param right Metrics to display on right Y axis. */ override fun right(right: List) { - cdkBuilder.right(right.map(IMetric::unwrap)) + cdkBuilder.right(right.map(IMetric.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class GraphWidget( * @param rightAnnotations Annotations for the right Y axis. */ override fun rightAnnotations(rightAnnotations: List) { - cdkBuilder.rightAnnotations(rightAnnotations.map(HorizontalAnnotation::unwrap)) + cdkBuilder.rightAnnotations(rightAnnotations.map(HorizontalAnnotation.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public open class GraphWidget( * @param rightYAxis Right Y axis. */ override fun rightYAxis(rightYAxis: YAxisProps) { - cdkBuilder.rightYAxis(rightYAxis.let(YAxisProps::unwrap)) + cdkBuilder.rightYAxis(rightYAxis.let(YAxisProps.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public open class GraphWidget( * @param verticalAnnotations Annotations for the X axis. */ override fun verticalAnnotations(verticalAnnotations: List) { - cdkBuilder.verticalAnnotations(verticalAnnotations.map(VerticalAnnotation::unwrap)) + cdkBuilder.verticalAnnotations(verticalAnnotations.map(VerticalAnnotation.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public open class GraphWidget( * @param view Display this metric. */ override fun view(view: GraphWidgetView) { - cdkBuilder.view(view.let(GraphWidgetView::unwrap)) + cdkBuilder.view(view.let(GraphWidgetView.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidgetProps.kt index cb0d78eea4..a656bb4152 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/GraphWidgetProps.kt @@ -353,7 +353,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param left Metrics to display on left Y axis. */ override fun left(left: List) { - cdkBuilder.left(left.map(IMetric::unwrap)) + cdkBuilder.left(left.map(IMetric.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param leftAnnotations Annotations for the left Y axis. */ override fun leftAnnotations(leftAnnotations: List) { - cdkBuilder.leftAnnotations(leftAnnotations.map(HorizontalAnnotation::unwrap)) + cdkBuilder.leftAnnotations(leftAnnotations.map(HorizontalAnnotation.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param leftYAxis Left Y axis. */ override fun leftYAxis(leftYAxis: YAxisProps) { - cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps::unwrap)) + cdkBuilder.leftYAxis(leftYAxis.let(YAxisProps.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param legendPosition Position of the legend. */ override fun legendPosition(legendPosition: LegendPosition) { - cdkBuilder.legendPosition(legendPosition.let(LegendPosition::unwrap)) + cdkBuilder.legendPosition(legendPosition.let(LegendPosition.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * This default can be overridden within each metric definition. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param right Metrics to display on right Y axis. */ override fun right(right: List) { - cdkBuilder.right(right.map(IMetric::unwrap)) + cdkBuilder.right(right.map(IMetric.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param rightAnnotations Annotations for the right Y axis. */ override fun rightAnnotations(rightAnnotations: List) { - cdkBuilder.rightAnnotations(rightAnnotations.map(HorizontalAnnotation::unwrap)) + cdkBuilder.rightAnnotations(rightAnnotations.map(HorizontalAnnotation.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param rightYAxis Right Y axis. */ override fun rightYAxis(rightYAxis: YAxisProps) { - cdkBuilder.rightYAxis(rightYAxis.let(YAxisProps::unwrap)) + cdkBuilder.rightYAxis(rightYAxis.let(YAxisProps.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param verticalAnnotations Annotations for the X axis. */ override fun verticalAnnotations(verticalAnnotations: List) { - cdkBuilder.verticalAnnotations(verticalAnnotations.map(VerticalAnnotation::unwrap)) + cdkBuilder.verticalAnnotations(verticalAnnotations.map(VerticalAnnotation.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public interface GraphWidgetProps : MetricWidgetProps { * @param view Display this metric. */ override fun view(view: GraphWidgetView) { - cdkBuilder.view(view.let(GraphWidgetView::unwrap)) + cdkBuilder.view(view.let(GraphWidgetView.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/HorizontalAnnotation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/HorizontalAnnotation.kt index 0a4315a38b..5038531fec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/HorizontalAnnotation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/HorizontalAnnotation.kt @@ -112,7 +112,7 @@ public interface HorizontalAnnotation { * @param fill Add shading above or below the annotation. */ override fun fill(fill: Shading) { - cdkBuilder.fill(fill.let(Shading::unwrap)) + cdkBuilder.fill(fill.let(Shading.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarm.kt index 35ea71975f..2856ffbe53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarm.kt @@ -52,7 +52,7 @@ public interface IAlarm : IAlarmRule, IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarmAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarmAction.kt index 94ae190734..6c4c114576 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarmAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/IAlarmAction.kt @@ -28,8 +28,8 @@ public interface IAlarmAction { * @param alarm CloudWatch alarm that the action will target. */ override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidget.kt index 4e588d4f1f..6ee30d3e8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidget.kt @@ -28,7 +28,7 @@ public open class LogQueryWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.LogQueryWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: LogQueryWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.LogQueryWidget(props.let(LogQueryWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.LogQueryWidget(props.let(LogQueryWidgetProps.Companion::unwrap)) ) public constructor(props: LogQueryWidgetProps.Builder.() -> Unit) : @@ -239,7 +239,7 @@ public open class LogQueryWidget( * @param view The type of view to use. */ override fun view(view: LogQueryVisualizationType) { - cdkBuilder.view(view.let(LogQueryVisualizationType::unwrap)) + cdkBuilder.view(view.let(LogQueryVisualizationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidgetProps.kt index e3564eb333..f47d47e25e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/LogQueryWidgetProps.kt @@ -211,7 +211,7 @@ public interface LogQueryWidgetProps { * @param view The type of view to use. */ override fun view(view: LogQueryVisualizationType) { - cdkBuilder.view(view.let(LogQueryVisualizationType::unwrap)) + cdkBuilder.view(view.let(LogQueryVisualizationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpression.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpression.kt index 6bff685ed9..705feeedb7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpression.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpression.kt @@ -45,7 +45,7 @@ public open class MathExpression( cdkObject: software.amazon.awscdk.services.cloudwatch.MathExpression, ) : CdkObject(cdkObject), IMetric { public constructor(props: MathExpressionProps) : - this(software.amazon.awscdk.services.cloudwatch.MathExpression(props.let(MathExpressionProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.MathExpression(props.let(MathExpressionProps.Companion::unwrap)) ) public constructor(props: MathExpressionProps.Builder.() -> Unit) : @@ -72,8 +72,8 @@ public open class MathExpression( scope: Construct, id: String, props: CreateAlarmOptions, - ): Alarm = unwrap(this).createAlarm(scope.let(Construct::unwrap), id, - props.let(CreateAlarmOptions::unwrap)).let(Alarm::wrap) + ): Alarm = unwrap(this).createAlarm(scope.let(Construct.Companion::unwrap), id, + props.let(CreateAlarmOptions.Companion::unwrap)).let(Alarm::wrap) /** * Make a new Alarm for this metric. @@ -151,7 +151,7 @@ public open class MathExpression( * @param props The set of properties to change. */ public open fun with(props: MathExpressionOptions): MathExpression = - unwrap(this).with(props.let(MathExpressionOptions::unwrap)).let(MathExpression::wrap) + unwrap(this).with(props.let(MathExpressionOptions.Companion::unwrap)).let(MathExpression::wrap) /** * Return a copy of Metric with properties changed. @@ -340,7 +340,7 @@ public open class MathExpression( * @param period The period over which the expression's statistics are applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionOptions.kt index b56ee9cb6b..101eb85edc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionOptions.kt @@ -198,7 +198,7 @@ public interface MathExpressionOptions { * math expression. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionProps.kt index 6b7a58bd62..2ee4ff9204 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MathExpressionProps.kt @@ -171,7 +171,7 @@ public interface MathExpressionProps : MathExpressionOptions { * math expression. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Metric.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Metric.kt index b9c4e66629..39366d0910 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Metric.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Metric.kt @@ -45,7 +45,7 @@ public open class Metric( cdkObject: software.amazon.awscdk.services.cloudwatch.Metric, ) : CdkObject(cdkObject), IMetric { public constructor(props: MetricProps) : - this(software.amazon.awscdk.services.cloudwatch.Metric(props.let(MetricProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.Metric(props.let(MetricProps.Companion::unwrap)) ) public constructor(props: MetricProps.Builder.() -> kotlin.Unit) : this(MetricProps(props) @@ -71,7 +71,7 @@ public open class Metric( * @param scope */ public open fun attachTo(scope: IConstruct): Metric = - unwrap(this).attachTo(scope.let(IConstruct::unwrap)).let(Metric::wrap) + unwrap(this).attachTo(scope.let(IConstruct.Companion::unwrap)).let(Metric::wrap) /** * The hex color code used when this metric is rendered on a graph. @@ -92,8 +92,8 @@ public open class Metric( scope: Construct, id: String, props: CreateAlarmOptions, - ): Alarm = unwrap(this).createAlarm(scope.let(Construct::unwrap), id, - props.let(CreateAlarmOptions::unwrap)).let(Alarm::wrap) + ): Alarm = unwrap(this).createAlarm(scope.let(Construct.Companion::unwrap), id, + props.let(CreateAlarmOptions.Companion::unwrap)).let(Alarm::wrap) /** * Make a new Alarm for this metric. @@ -180,7 +180,7 @@ public open class Metric( * @param props The set of properties to change. */ public open fun with(props: MetricOptions): Metric = - unwrap(this).with(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).with(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return a copy of Metric `with` properties changed. @@ -413,7 +413,7 @@ public open class Metric( * @param period The period over which the specified statistic is applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class Metric( * @param unit Unit used to filter the metric stream. */ override fun unit(unit: Unit) { - cdkBuilder.unit(unit.let(Unit::unwrap)) + cdkBuilder.unit(unit.let(Unit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.Metric = cdkBuilder.build() @@ -479,7 +479,7 @@ public open class Metric( public companion object { public fun grantPutMetricData(grantee: IGrantable): Grant = - software.amazon.awscdk.services.cloudwatch.Metric.grantPutMetricData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + software.amazon.awscdk.services.cloudwatch.Metric.grantPutMetricData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) public operator fun invoke(block: Builder.() -> kotlin.Unit = {}): Metric { val builderImpl = BuilderImpl() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricConfig.kt index 3c72aa4df6..d0d762c8f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricConfig.kt @@ -130,7 +130,7 @@ public interface MetricConfig { * expression. */ override fun mathExpression(mathExpression: MetricExpressionConfig) { - cdkBuilder.mathExpression(mathExpression.let(MetricExpressionConfig::unwrap)) + cdkBuilder.mathExpression(mathExpression.let(MetricExpressionConfig.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface MetricConfig { * @param metricStat In case the metric represents a query, the details of the query. */ override fun metricStat(metricStat: MetricStatConfig) { - cdkBuilder.metricStat(metricStat.let(MetricStatConfig::unwrap)) + cdkBuilder.metricStat(metricStat.let(MetricStatConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricOptions.kt index ecc42598a5..14145d729a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricOptions.kt @@ -163,7 +163,7 @@ public interface MetricOptions : CommonMetricOptions { * @param period The period over which the specified statistic is applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface MetricOptions : CommonMetricOptions { * CloudWatch does not honor this property for graphs. */ override fun unit(unit: Unit) { - cdkBuilder.unit(unit.let(Unit::unwrap)) + cdkBuilder.unit(unit.let(Unit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.MetricOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricProps.kt index 14c36f8ac4..cea9e6787e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricProps.kt @@ -201,7 +201,7 @@ public interface MetricProps : CommonMetricOptions { * @param period The period over which the specified statistic is applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface MetricProps : CommonMetricOptions { * CloudWatch does not honor this property for graphs. */ override fun unit(unit: Unit) { - cdkBuilder.unit(unit.let(Unit::unwrap)) + cdkBuilder.unit(unit.let(Unit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.MetricProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricStatConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricStatConfig.kt index defa11ad7f..5f251e807d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricStatConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/MetricStatConfig.kt @@ -169,7 +169,7 @@ public interface MetricStatConfig { * @param dimensions The dimensions to apply to the alarm. */ override fun dimensions(dimensions: List) { - cdkBuilder.dimensions(dimensions.map(Dimension::unwrap)) + cdkBuilder.dimensions(dimensions.map(Dimension.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface MetricStatConfig { * @param period How many seconds to aggregate over. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface MetricStatConfig { * its purpose. */ override fun unitFilter(unitFilter: Unit) { - cdkBuilder.unitFilter(unitFilter.let(Unit::unwrap)) + cdkBuilder.unitFilter(unitFilter.let(Unit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cloudwatch.MetricStatConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Row.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Row.kt index 5a4a9f1c6b..33c80a5369 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Row.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Row.kt @@ -24,7 +24,7 @@ public open class Row( cdkObject: software.amazon.awscdk.services.cloudwatch.Row, ) : CdkObject(cdkObject), IWidget { public constructor(widgets: IWidget) : - this(software.amazon.awscdk.services.cloudwatch.Row(widgets.let(IWidget::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.Row(widgets.let(IWidget.Companion::unwrap)) ) /** @@ -33,7 +33,7 @@ public open class Row( * @param w */ public open fun addWidget(w: IWidget) { - unwrap(this).addWidget(w.let(IWidget::unwrap)) + unwrap(this).addWidget(w.let(IWidget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidget.kt index 1595f9ac07..9e11173a51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidget.kt @@ -28,7 +28,7 @@ public open class SingleValueWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.SingleValueWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: SingleValueWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.SingleValueWidget(props.let(SingleValueWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.SingleValueWidget(props.let(SingleValueWidgetProps.Companion::unwrap)) ) public constructor(props: SingleValueWidgetProps.Builder.() -> Unit) : @@ -220,7 +220,7 @@ public open class SingleValueWidget( * @param metrics Metrics to display. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(IMetric::unwrap)) + cdkBuilder.metrics(metrics.map(IMetric.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class SingleValueWidget( * @param period The default period for all metrics in this widget. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidgetProps.kt index bc61b263c3..21a5272c88 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/SingleValueWidgetProps.kt @@ -207,7 +207,7 @@ public interface SingleValueWidgetProps : MetricWidgetProps { * @param metrics Metrics to display. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(IMetric::unwrap)) + cdkBuilder.metrics(metrics.map(IMetric.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface SingleValueWidgetProps : MetricWidgetProps { * This default can be overridden within each metric definition. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Spacer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Spacer.kt index 394d82cb92..48d7bf9d3e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Spacer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Spacer.kt @@ -31,7 +31,7 @@ public open class Spacer( ) public constructor(props: SpacerProps) : - this(software.amazon.awscdk.services.cloudwatch.Spacer(props.let(SpacerProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.Spacer(props.let(SpacerProps.Companion::unwrap)) ) public constructor(props: SpacerProps.Builder.() -> Unit) : this(SpacerProps(props) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableSummaryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableSummaryProps.kt index d582c5b3a8..094261740c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableSummaryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableSummaryProps.kt @@ -85,7 +85,7 @@ public interface TableSummaryProps { * @param columns Summary columns. */ override fun columns(columns: List) { - cdkBuilder.columns(columns.map(TableSummaryColumn::unwrap)) + cdkBuilder.columns(columns.map(TableSummaryColumn.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidget.kt index 39ea0208e3..bf9489a6b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidget.kt @@ -29,7 +29,7 @@ public open class TableWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.TableWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: TableWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.TableWidget(props.let(TableWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.TableWidget(props.let(TableWidgetProps.Companion::unwrap)) ) public constructor(props: TableWidgetProps.Builder.() -> Unit) : this(TableWidgetProps(props) @@ -41,7 +41,7 @@ public open class TableWidget( * @param metric the metric to add. */ public open fun addMetric(metric: IMetric) { - unwrap(this).addMetric(metric.let(IMetric::unwrap)) + unwrap(this).addMetric(metric.let(IMetric.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class TableWidget( * @param layout Table layout. */ override fun layout(layout: TableLayout) { - cdkBuilder.layout(layout.let(TableLayout::unwrap)) + cdkBuilder.layout(layout.let(TableLayout.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class TableWidget( * @param metrics Metrics to display in the table. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(IMetric::unwrap)) + cdkBuilder.metrics(metrics.map(IMetric.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class TableWidget( * @param period The default period for all metrics in this widget. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class TableWidget( * @param summary Properties for displaying summary columns. */ override fun summary(summary: TableSummaryProps) { - cdkBuilder.summary(summary.let(TableSummaryProps::unwrap)) + cdkBuilder.summary(summary.let(TableSummaryProps.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class TableWidget( * @param thresholds Thresholds for highlighting table cells. */ override fun thresholds(thresholds: List) { - cdkBuilder.thresholds(thresholds.map(TableThreshold::unwrap)) + cdkBuilder.thresholds(thresholds.map(TableThreshold.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidgetProps.kt index ef11b248b6..341e3497ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TableWidgetProps.kt @@ -287,7 +287,7 @@ public interface TableWidgetProps : MetricWidgetProps { * @param layout Table layout. */ override fun layout(layout: TableLayout) { - cdkBuilder.layout(layout.let(TableLayout::unwrap)) + cdkBuilder.layout(layout.let(TableLayout.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface TableWidgetProps : MetricWidgetProps { * @param metrics Metrics to display in the table. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(IMetric::unwrap)) + cdkBuilder.metrics(metrics.map(IMetric.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public interface TableWidgetProps : MetricWidgetProps { * This default can be overridden within each metric definition. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface TableWidgetProps : MetricWidgetProps { * @param summary Properties for displaying summary columns. */ override fun summary(summary: TableSummaryProps) { - cdkBuilder.summary(summary.let(TableSummaryProps::unwrap)) + cdkBuilder.summary(summary.let(TableSummaryProps.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface TableWidgetProps : MetricWidgetProps { * @param thresholds Thresholds for highlighting table cells. */ override fun thresholds(thresholds: List) { - cdkBuilder.thresholds(thresholds.map(TableThreshold::unwrap)) + cdkBuilder.thresholds(thresholds.map(TableThreshold.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidget.kt index 9691e58f40..26fa6a2fd7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidget.kt @@ -25,7 +25,7 @@ public open class TextWidget( cdkObject: software.amazon.awscdk.services.cloudwatch.TextWidget, ) : ConcreteWidget(cdkObject) { public constructor(props: TextWidgetProps) : - this(software.amazon.awscdk.services.cloudwatch.TextWidget(props.let(TextWidgetProps::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.TextWidget(props.let(TextWidgetProps.Companion::unwrap)) ) public constructor(props: TextWidgetProps.Builder.() -> Unit) : this(TextWidgetProps(props) @@ -98,7 +98,7 @@ public open class TextWidget( * @param background Background for the widget. */ override fun background(background: TextWidgetBackground) { - cdkBuilder.background(background.let(TextWidgetBackground::unwrap)) + cdkBuilder.background(background.let(TextWidgetBackground.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidgetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidgetProps.kt index d883b398c5..d51c94f52b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidgetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/TextWidgetProps.kt @@ -83,7 +83,7 @@ public interface TextWidgetProps { * @param background Background for the widget. */ override fun background(background: TextWidgetBackground) { - cdkBuilder.background(background.let(TextWidgetBackground::unwrap)) + cdkBuilder.background(background.let(TextWidgetBackground.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Values.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Values.kt index 86a2dcf48b..0d9c75bbd1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Values.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/Values.kt @@ -51,7 +51,7 @@ public abstract class Values( populateFrom).let(Values::wrap) public fun fromSearchComponents(components: SearchComponents): Values = - software.amazon.awscdk.services.cloudwatch.Values.fromSearchComponents(components.let(SearchComponents::unwrap)).let(Values::wrap) + software.amazon.awscdk.services.cloudwatch.Values.fromSearchComponents(components.let(SearchComponents.Companion::unwrap)).let(Values::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9623a062a74e6ff7a42651de1c7ce36b5ddbbeb062710b7565cad07d0811bbf6") @@ -59,7 +59,7 @@ public abstract class Values( fromSearchComponents(SearchComponents(components)) public fun fromValues(values: VariableValue): Values = - software.amazon.awscdk.services.cloudwatch.Values.fromValues(values.let(VariableValue::unwrap)).let(Values::wrap) + software.amazon.awscdk.services.cloudwatch.Values.fromValues(values.let(VariableValue.Companion::unwrap)).let(Values::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e0d0475001a2a4bae2c4295fcb71128cbbbb828937bcbe598fef90575cefde17") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/VerticalAnnotation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/VerticalAnnotation.kt index c0a1ab2e20..639409700a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/VerticalAnnotation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/VerticalAnnotation.kt @@ -121,7 +121,7 @@ public interface VerticalAnnotation { * @param fill Add shading before or after the annotation. */ override fun fill(fill: VerticalShading) { - cdkBuilder.fill(fill.let(VerticalShading::unwrap)) + cdkBuilder.fill(fill.let(VerticalShading.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/ApplicationScalingAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/ApplicationScalingAction.kt index 25e2a3de5f..82e2b7cd82 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/ApplicationScalingAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/ApplicationScalingAction.kt @@ -28,7 +28,7 @@ public open class ApplicationScalingAction( cdkObject: software.amazon.awscdk.services.cloudwatch.actions.ApplicationScalingAction, ) : CdkObject(cdkObject), IAlarmAction { public constructor(stepScalingAction: StepScalingAction) : - this(software.amazon.awscdk.services.cloudwatch.actions.ApplicationScalingAction(stepScalingAction.let(StepScalingAction::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.actions.ApplicationScalingAction(stepScalingAction.let(StepScalingAction.Companion::unwrap)) ) /** @@ -39,8 +39,8 @@ public open class ApplicationScalingAction( * @param _alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/AutoScalingAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/AutoScalingAction.kt index 31f2c2c6a6..9d18196af2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/AutoScalingAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/AutoScalingAction.kt @@ -27,7 +27,7 @@ public open class AutoScalingAction( cdkObject: software.amazon.awscdk.services.cloudwatch.actions.AutoScalingAction, ) : CdkObject(cdkObject), IAlarmAction { public constructor(stepScalingAction: StepScalingAction) : - this(software.amazon.awscdk.services.cloudwatch.actions.AutoScalingAction(stepScalingAction.let(StepScalingAction::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.actions.AutoScalingAction(stepScalingAction.let(StepScalingAction.Companion::unwrap)) ) /** @@ -38,8 +38,8 @@ public open class AutoScalingAction( * @param _alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/Ec2Action.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/Ec2Action.kt index c05f678045..278a3b3098 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/Ec2Action.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/Ec2Action.kt @@ -25,7 +25,7 @@ public open class Ec2Action( cdkObject: software.amazon.awscdk.services.cloudwatch.actions.Ec2Action, ) : CdkObject(cdkObject), IAlarmAction { public constructor(instanceAction: Ec2InstanceAction) : - this(software.amazon.awscdk.services.cloudwatch.actions.Ec2Action(instanceAction.let(Ec2InstanceAction::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.actions.Ec2Action(instanceAction.let(Ec2InstanceAction.Companion::unwrap)) ) /** @@ -35,8 +35,8 @@ public open class Ec2Action( * @param _alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.cloudwatch.actions.Ec2Action): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/LambdaAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/LambdaAction.kt index ad14c630a0..fd77c6112a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/LambdaAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/LambdaAction.kt @@ -46,8 +46,8 @@ public open class LambdaAction( * @param alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.cloudwatch.actions.LambdaAction): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SnsAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SnsAction.kt index 95817779e4..164f024a1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SnsAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SnsAction.kt @@ -25,7 +25,7 @@ public open class SnsAction( cdkObject: software.amazon.awscdk.services.cloudwatch.actions.SnsAction, ) : CdkObject(cdkObject), IAlarmAction { public constructor(topic: ITopic) : - this(software.amazon.awscdk.services.cloudwatch.actions.SnsAction(topic.let(ITopic::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.actions.SnsAction(topic.let(ITopic.Companion::unwrap)) ) /** @@ -35,8 +35,8 @@ public open class SnsAction( * @param _alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.cloudwatch.actions.SnsAction): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmAction.kt index e161985beb..a7509a12cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmAction.kt @@ -24,12 +24,12 @@ public open class SsmAction( cdkObject: software.amazon.awscdk.services.cloudwatch.actions.SsmAction, ) : CdkObject(cdkObject), IAlarmAction { public constructor(severity: OpsItemSeverity) : - this(software.amazon.awscdk.services.cloudwatch.actions.SsmAction(severity.let(OpsItemSeverity::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.actions.SsmAction(severity.let(OpsItemSeverity.Companion::unwrap)) ) public constructor(severity: OpsItemSeverity, category: OpsItemCategory) : - this(software.amazon.awscdk.services.cloudwatch.actions.SsmAction(severity.let(OpsItemSeverity::unwrap), - category.let(OpsItemCategory::unwrap)) + this(software.amazon.awscdk.services.cloudwatch.actions.SsmAction(severity.let(OpsItemSeverity.Companion::unwrap), + category.let(OpsItemCategory.Companion::unwrap)) ) /** @@ -39,8 +39,8 @@ public open class SsmAction( * @param _alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.cloudwatch.actions.SsmAction): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmIncidentAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmIncidentAction.kt index 13da05bf5b..16c7918a17 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmIncidentAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cloudwatch/actions/SsmIncidentAction.kt @@ -36,8 +36,8 @@ public open class SsmIncidentAction( * @param _alarm */ public override fun bind(scope: Construct, alarm: IAlarm): AlarmActionConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - alarm.let(IAlarm::unwrap)).let(AlarmActionConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + alarm.let(IAlarm.Companion::unwrap)).let(AlarmActionConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomain.kt index 68a71f329b..de607190ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomain.kt @@ -56,8 +56,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.codeartifact.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.codeartifact.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnDomain( * A list of tags to be applied to the domain. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnDomain( * @param tags A list of tags to be applied to the domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomainProps.kt index b93fdecb75..63cb869a36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnDomainProps.kt @@ -128,7 +128,7 @@ public interface CfnDomainProps { * @param tags A list of tags to be applied to the domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroup.kt index f9985c48eb..1b0aba6c8c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroup.kt @@ -76,8 +76,8 @@ public open class CfnPackageGroup( id: String, props: CfnPackageGroupProps, ) : - this(software.amazon.awscdk.services.codeartifact.CfnPackageGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPackageGroupProps::unwrap)) + this(software.amazon.awscdk.services.codeartifact.CfnPackageGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPackageGroupProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class CfnPackageGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,14 +165,14 @@ public open class CfnPackageGroup( * Details about the package origin configuration of a package group. */ public open fun originConfiguration(`value`: IResolvable) { - unwrap(this).setOriginConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setOriginConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Details about the package origin configuration of a package group. */ public open fun originConfiguration(`value`: OriginConfigurationProperty) { - unwrap(this).setOriginConfiguration(`value`.let(OriginConfigurationProperty::unwrap)) + unwrap(this).setOriginConfiguration(`value`.let(OriginConfigurationProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnPackageGroup( * A list of tags to be applied to the package group. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnPackageGroup( * */ override fun originConfiguration(originConfiguration: IResolvable) { - cdkBuilder.originConfiguration(originConfiguration.let(IResolvable::unwrap)) + cdkBuilder.originConfiguration(originConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CfnPackageGroup( * */ override fun originConfiguration(originConfiguration: OriginConfigurationProperty) { - cdkBuilder.originConfiguration(originConfiguration.let(OriginConfigurationProperty::unwrap)) + cdkBuilder.originConfiguration(originConfiguration.let(OriginConfigurationProperty.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class CfnPackageGroup( * @param tags A list of tags to be applied to the package group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnPackageGroup( * can enter repositories. */ override fun restrictions(restrictions: IResolvable) { - cdkBuilder.restrictions(restrictions.let(IResolvable::unwrap)) + cdkBuilder.restrictions(restrictions.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnPackageGroup( * can enter repositories. */ override fun restrictions(restrictions: RestrictionsProperty) { - cdkBuilder.restrictions(restrictions.let(RestrictionsProperty::unwrap)) + cdkBuilder.restrictions(restrictions.let(RestrictionsProperty.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public open class CfnPackageGroup( * repositories. */ override fun externalUpstream(externalUpstream: IResolvable) { - cdkBuilder.externalUpstream(externalUpstream.let(IResolvable::unwrap)) + cdkBuilder.externalUpstream(externalUpstream.let(IResolvable.Companion::unwrap)) } /** @@ -862,7 +862,7 @@ public open class CfnPackageGroup( * repositories. */ override fun externalUpstream(externalUpstream: RestrictionTypeProperty) { - cdkBuilder.externalUpstream(externalUpstream.let(RestrictionTypeProperty::unwrap)) + cdkBuilder.externalUpstream(externalUpstream.let(RestrictionTypeProperty.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public open class CfnPackageGroup( * repositories. */ override fun internalUpstream(internalUpstream: IResolvable) { - cdkBuilder.internalUpstream(internalUpstream.let(IResolvable::unwrap)) + cdkBuilder.internalUpstream(internalUpstream.let(IResolvable.Companion::unwrap)) } /** @@ -887,7 +887,7 @@ public open class CfnPackageGroup( * repositories. */ override fun internalUpstream(internalUpstream: RestrictionTypeProperty) { - cdkBuilder.internalUpstream(internalUpstream.let(RestrictionTypeProperty::unwrap)) + cdkBuilder.internalUpstream(internalUpstream.let(RestrictionTypeProperty.Companion::unwrap)) } /** @@ -903,14 +903,14 @@ public open class CfnPackageGroup( * @param publish The package group origin restriction setting for publishing packages. */ override fun publish(publish: IResolvable) { - cdkBuilder.publish(publish.let(IResolvable::unwrap)) + cdkBuilder.publish(publish.let(IResolvable.Companion::unwrap)) } /** * @param publish The package group origin restriction setting for publishing packages. */ override fun publish(publish: RestrictionTypeProperty) { - cdkBuilder.publish(publish.let(RestrictionTypeProperty::unwrap)) + cdkBuilder.publish(publish.let(RestrictionTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroupProps.kt index c9efd0b0db..9a94eb669d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnPackageGroupProps.kt @@ -210,7 +210,7 @@ public interface CfnPackageGroupProps { * @param originConfiguration Details about the package origin configuration of a package group. */ override fun originConfiguration(originConfiguration: IResolvable) { - cdkBuilder.originConfiguration(originConfiguration.let(IResolvable::unwrap)) + cdkBuilder.originConfiguration(originConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public interface CfnPackageGroupProps { */ override fun originConfiguration(originConfiguration: CfnPackageGroup.OriginConfigurationProperty) { - cdkBuilder.originConfiguration(originConfiguration.let(CfnPackageGroup.OriginConfigurationProperty::unwrap)) + cdkBuilder.originConfiguration(originConfiguration.let(CfnPackageGroup.OriginConfigurationProperty.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface CfnPackageGroupProps { * @param tags A list of tags to be applied to the package group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepository.kt index c6b47684c8..54bcc244d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepository.kt @@ -59,8 +59,8 @@ public open class CfnRepository( id: String, props: CfnRepositoryProps, ) : - this(software.amazon.awscdk.services.codeartifact.CfnRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRepositoryProps::unwrap)) + this(software.amazon.awscdk.services.codeartifact.CfnRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRepositoryProps.Companion::unwrap)) ) public constructor( @@ -154,7 +154,7 @@ public open class CfnRepository( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnRepository( * A list of tags to be applied to the repository. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class CfnRepository( * @param tags A list of tags to be applied to the repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepositoryProps.kt index 93b6c4ef9a..641184b9ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeartifact/CfnRepositoryProps.kt @@ -242,7 +242,7 @@ public interface CfnRepositoryProps { * @param tags A list of tags to be applied to the repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Artifacts.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Artifacts.kt index 02c2275ecf..4f772f86be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Artifacts.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Artifacts.kt @@ -39,8 +39,8 @@ public abstract class Artifacts( * @param _project */ public override fun bind(scope: Construct, project: IProject): ArtifactsConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap)).let(ArtifactsConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap)).let(ArtifactsConfig::wrap) /** * The artifact identifier. @@ -60,7 +60,7 @@ public abstract class Artifacts( public companion object { public fun s3(props: S3ArtifactsProps): IArtifacts = - software.amazon.awscdk.services.codebuild.Artifacts.s3(props.let(S3ArtifactsProps::unwrap)).let(IArtifacts::wrap) + software.amazon.awscdk.services.codebuild.Artifacts.s3(props.let(S3ArtifactsProps.Companion::unwrap)).let(IArtifacts::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d63d027642e646b44f6750fe1ce755acaee0627a88e8371711800562702f65de") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ArtifactsConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ArtifactsConfig.kt index 88c9e7d970..bdb00ddac2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ArtifactsConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ArtifactsConfig.kt @@ -65,7 +65,7 @@ public interface ArtifactsConfig { * @param artifactsProperty The low-level CloudFormation artifacts property. */ override fun artifactsProperty(artifactsProperty: CfnProject.ArtifactsProperty) { - cdkBuilder.artifactsProperty(artifactsProperty.let(CfnProject.ArtifactsProperty::unwrap)) + cdkBuilder.artifactsProperty(artifactsProperty.let(CfnProject.ArtifactsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BatchBuildConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BatchBuildConfig.kt index 1e7b8edb25..6488b1be0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BatchBuildConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BatchBuildConfig.kt @@ -49,7 +49,7 @@ public interface BatchBuildConfig { * @param role The IAM batch service Role of this Project. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.BatchBuildConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BindToCodePipelineOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BindToCodePipelineOptions.kt index 3d350962ad..287de2a79d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BindToCodePipelineOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BindToCodePipelineOptions.kt @@ -52,7 +52,7 @@ public interface BindToCodePipelineOptions { * project. */ override fun artifactBucket(artifactBucket: IBucket) { - cdkBuilder.artifactBucket(artifactBucket.let(IBucket::unwrap)) + cdkBuilder.artifactBucket(artifactBucket.let(IBucket.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.BindToCodePipelineOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentials.kt index 997b6d667a..149f3f9e41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentials.kt @@ -36,8 +36,8 @@ public open class BitBucketSourceCredentials( id: String, props: BitBucketSourceCredentialsProps, ) : - this(software.amazon.awscdk.services.codebuild.BitBucketSourceCredentials(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BitBucketSourceCredentialsProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.BitBucketSourceCredentials(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BitBucketSourceCredentialsProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class BitBucketSourceCredentials( * @param password Your BitBucket application password. */ override fun password(password: SecretValue) { - cdkBuilder.password(password.let(SecretValue::unwrap)) + cdkBuilder.password(password.let(SecretValue.Companion::unwrap)) } /** @@ -91,7 +91,7 @@ public open class BitBucketSourceCredentials( * @param username Your BitBucket username. */ override fun username(username: SecretValue) { - cdkBuilder.username(username.let(SecretValue::unwrap)) + cdkBuilder.username(username.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.BitBucketSourceCredentials = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentialsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentialsProps.kt index 6f69a69630..ece45e53f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentialsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceCredentialsProps.kt @@ -58,14 +58,14 @@ public interface BitBucketSourceCredentialsProps { * @param password Your BitBucket application password. */ override fun password(password: SecretValue) { - cdkBuilder.password(password.let(SecretValue::unwrap)) + cdkBuilder.password(password.let(SecretValue.Companion::unwrap)) } /** * @param username Your BitBucket username. */ override fun username(username: SecretValue) { - cdkBuilder.username(username.let(SecretValue::unwrap)) + cdkBuilder.username(username.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.BitBucketSourceCredentialsProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceProps.kt index c7158890ea..f0bdc686c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BitBucketSourceProps.kt @@ -324,7 +324,7 @@ public interface BitBucketSourceProps : SourceProps { * Only valid if `webhook` was not provided as false. */ override fun webhookFilters(webhookFilters: List) { - cdkBuilder.webhookFilters(webhookFilters.map(FilterGroup::unwrap)) + cdkBuilder.webhookFilters(webhookFilters.map(FilterGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironment.kt index a6b32326ec..f72b98aaf0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironment.kt @@ -139,14 +139,14 @@ public interface BuildEnvironment { * @param buildImage The image used for the builds. */ override fun buildImage(buildImage: IBuildImage) { - cdkBuilder.buildImage(buildImage.let(IBuildImage::unwrap)) + cdkBuilder.buildImage(buildImage.let(IBuildImage.Companion::unwrap)) } /** * @param certificate The location of the PEM-encoded certificate for the build project. */ override fun certificate(certificate: BuildEnvironmentCertificate) { - cdkBuilder.certificate(certificate.let(BuildEnvironmentCertificate::unwrap)) + cdkBuilder.certificate(certificate.let(BuildEnvironmentCertificate.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface BuildEnvironment { * See the `ComputeType` enum for the possible values. */ override fun computeType(computeType: ComputeType) { - cdkBuilder.computeType(computeType.let(ComputeType::unwrap)) + cdkBuilder.computeType(computeType.let(ComputeType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentCertificate.kt index c46b6e6561..f64c10aab7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentCertificate.kt @@ -65,7 +65,7 @@ public interface BuildEnvironmentCertificate { * @param bucket The bucket where the certificate is. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentVariable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentVariable.kt index db087a5580..01889c914a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentVariable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildEnvironmentVariable.kt @@ -102,7 +102,7 @@ public interface BuildEnvironmentVariable { * @param type The type of environment variable. */ override fun type(type: BuildEnvironmentVariableType) { - cdkBuilder.type(type.let(BuildEnvironmentVariableType::unwrap)) + cdkBuilder.type(type.let(BuildEnvironmentVariableType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildSpec.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildSpec.kt index 48fdd71a21..79e823bdd1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildSpec.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/BuildSpec.kt @@ -57,7 +57,7 @@ public abstract class BuildSpec( * @param scope */ public open fun toBuildSpec(scope: Construct): String = - unwrap(this).toBuildSpec(scope.let(Construct::unwrap)) + unwrap(this).toBuildSpec(scope.let(Construct.Companion::unwrap)) private class Wrapper( cdkObject: software.amazon.awscdk.services.codebuild.BuildSpec, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Cache.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Cache.kt index a19f2c429e..a7f3a09f34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Cache.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Cache.kt @@ -46,11 +46,11 @@ public abstract class Cache( public companion object { public fun bucket(bucket: IBucket): Cache = - software.amazon.awscdk.services.codebuild.Cache.bucket(bucket.let(IBucket::unwrap)).let(Cache::wrap) + software.amazon.awscdk.services.codebuild.Cache.bucket(bucket.let(IBucket.Companion::unwrap)).let(Cache::wrap) public fun bucket(bucket: IBucket, options: BucketCacheOptions): Cache = - software.amazon.awscdk.services.codebuild.Cache.bucket(bucket.let(IBucket::unwrap), - options.let(BucketCacheOptions::unwrap)).let(Cache::wrap) + software.amazon.awscdk.services.codebuild.Cache.bucket(bucket.let(IBucket.Companion::unwrap), + options.let(BucketCacheOptions.Companion::unwrap)).let(Cache::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f6eb3d0edf88b31d8b205a25aad1fee39fac0902b3ecfcfda69f004457e7f5f4") @@ -58,7 +58,7 @@ public abstract class Cache( bucket(bucket, BucketCacheOptions(options)) public fun local(modes: LocalCacheMode): Cache = - software.amazon.awscdk.services.codebuild.Cache.local(modes.let(LocalCacheMode::unwrap)).let(Cache::wrap) + software.amazon.awscdk.services.codebuild.Cache.local(modes.let(LocalCacheMode.Companion::unwrap)).let(Cache::wrap) public fun none(): Cache = software.amazon.awscdk.services.codebuild.Cache.none().let(Cache::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleet.kt index c7fff486a6..813df34308 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleet.kt @@ -44,7 +44,7 @@ public open class CfnFleet( cdkObject: software.amazon.awscdk.services.codebuild.CfnFleet, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codebuild.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codebuild.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class CfnFleet( id: String, props: CfnFleetProps, ) : - this(software.amazon.awscdk.services.codebuild.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnFleet( * A list of tag key and value pairs associated with this compute fleet. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class CfnFleet( * @param tags A list of tag key and value pairs associated with this compute fleet. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleetProps.kt index 437118fc98..7c325ddca6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnFleetProps.kt @@ -309,7 +309,7 @@ public interface CfnFleetProps { * tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProject.kt index dceadbfc62..ecf3a67afb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProject.kt @@ -216,8 +216,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.codebuild.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -240,7 +240,7 @@ public open class CfnProject( * resource that specifies output settings for artifacts generated by an AWS CodeBuild build. */ public open fun artifacts(`value`: IResolvable) { - unwrap(this).setArtifacts(`value`.let(IResolvable::unwrap)) + unwrap(this).setArtifacts(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnProject( * resource that specifies output settings for artifacts generated by an AWS CodeBuild build. */ public open fun artifacts(`value`: ArtifactsProperty) { - unwrap(this).setArtifacts(`value`.let(ArtifactsProperty::unwrap)) + unwrap(this).setArtifacts(`value`.let(ArtifactsProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnProject( * badge. */ public open fun badgeEnabled(`value`: IResolvable) { - unwrap(this).setBadgeEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setBadgeEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -304,14 +304,14 @@ public open class CfnProject( * A `ProjectBuildBatchConfig` object that defines the batch build options for the project. */ public open fun buildBatchConfig(`value`: IResolvable) { - unwrap(this).setBuildBatchConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setBuildBatchConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A `ProjectBuildBatchConfig` object that defines the batch build options for the project. */ public open fun buildBatchConfig(`value`: ProjectBuildBatchConfigProperty) { - unwrap(this).setBuildBatchConfig(`value`.let(ProjectBuildBatchConfigProperty::unwrap)) + unwrap(this).setBuildBatchConfig(`value`.let(ProjectBuildBatchConfigProperty.Companion::unwrap)) } /** @@ -331,14 +331,14 @@ public open class CfnProject( * Settings that AWS CodeBuild uses to store and reuse build dependencies. */ public open fun cache(`value`: IResolvable) { - unwrap(this).setCache(`value`.let(IResolvable::unwrap)) + unwrap(this).setCache(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings that AWS CodeBuild uses to store and reuse build dependencies. */ public open fun cache(`value`: ProjectCacheProperty) { - unwrap(this).setCache(`value`.let(ProjectCacheProperty::unwrap)) + unwrap(this).setCache(`value`.let(ProjectCacheProperty.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnProject( * variables to use for the build environment. */ public open fun environment(`value`: IResolvable) { - unwrap(this).setEnvironment(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnvironment(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class CfnProject( * variables to use for the build environment. */ public open fun environment(`value`: EnvironmentProperty) { - unwrap(this).setEnvironment(`value`.let(EnvironmentProperty::unwrap)) + unwrap(this).setEnvironment(`value`.let(EnvironmentProperty.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CfnProject( * An array of `ProjectFileSystemLocation` objects for a CodeBuild build project. */ public open fun fileSystemLocations(`value`: IResolvable) { - unwrap(this).setFileSystemLocations(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileSystemLocations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -461,14 +461,14 @@ public open class CfnProject( * Information about logs for the build project. */ public open fun logsConfig(`value`: IResolvable) { - unwrap(this).setLogsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about logs for the build project. */ public open fun logsConfig(`value`: LogsConfigProperty) { - unwrap(this).setLogsConfig(`value`.let(LogsConfigProperty::unwrap)) + unwrap(this).setLogsConfig(`value`.let(LogsConfigProperty.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnProject( * A list of `Artifacts` objects. */ public open fun secondaryArtifacts(`value`: IResolvable) { - unwrap(this).setSecondaryArtifacts(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecondaryArtifacts(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public open class CfnProject( * An array of `ProjectSourceVersion` objects. */ public open fun secondarySourceVersions(`value`: IResolvable) { - unwrap(this).setSecondarySourceVersions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecondarySourceVersions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnProject( * An array of `ProjectSource` objects. */ public open fun secondarySources(`value`: IResolvable) { - unwrap(this).setSecondarySources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecondarySources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class CfnProject( * location. */ public open fun source(`value`: IResolvable) { - unwrap(this).setSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSource(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class CfnProject( * location. */ public open fun source(`value`: SourceProperty) { - unwrap(this).setSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class CfnProject( * An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -698,7 +698,7 @@ public open class CfnProject( * code change is pushed to the repository. */ public open fun triggers(`value`: IResolvable) { - unwrap(this).setTriggers(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public open class CfnProject( * code change is pushed to the repository. */ public open fun triggers(`value`: ProjectTriggersProperty) { - unwrap(this).setTriggers(`value`.let(ProjectTriggersProperty::unwrap)) + unwrap(this).setTriggers(`value`.let(ProjectTriggersProperty.Companion::unwrap)) } /** @@ -745,14 +745,14 @@ public open class CfnProject( * `VpcConfig` specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * `VpcConfig` specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -1373,7 +1373,7 @@ public open class CfnProject( * resource that specifies output settings for artifacts generated by an AWS CodeBuild build. */ override fun artifacts(artifacts: IResolvable) { - cdkBuilder.artifacts(artifacts.let(IResolvable::unwrap)) + cdkBuilder.artifacts(artifacts.let(IResolvable.Companion::unwrap)) } /** @@ -1387,7 +1387,7 @@ public open class CfnProject( * resource that specifies output settings for artifacts generated by an AWS CodeBuild build. */ override fun artifacts(artifacts: ArtifactsProperty) { - cdkBuilder.artifacts(artifacts.let(ArtifactsProperty::unwrap)) + cdkBuilder.artifacts(artifacts.let(ArtifactsProperty.Companion::unwrap)) } /** @@ -1446,7 +1446,7 @@ public open class CfnProject( * your project's build badge. */ override fun badgeEnabled(badgeEnabled: IResolvable) { - cdkBuilder.badgeEnabled(badgeEnabled.let(IResolvable::unwrap)) + cdkBuilder.badgeEnabled(badgeEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1457,7 +1457,7 @@ public open class CfnProject( * options for the project. */ override fun buildBatchConfig(buildBatchConfig: IResolvable) { - cdkBuilder.buildBatchConfig(buildBatchConfig.let(IResolvable::unwrap)) + cdkBuilder.buildBatchConfig(buildBatchConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1468,7 +1468,7 @@ public open class CfnProject( * options for the project. */ override fun buildBatchConfig(buildBatchConfig: ProjectBuildBatchConfigProperty) { - cdkBuilder.buildBatchConfig(buildBatchConfig.let(ProjectBuildBatchConfigProperty::unwrap)) + cdkBuilder.buildBatchConfig(buildBatchConfig.let(ProjectBuildBatchConfigProperty.Companion::unwrap)) } /** @@ -1491,7 +1491,7 @@ public open class CfnProject( * @param cache Settings that AWS CodeBuild uses to store and reuse build dependencies. */ override fun cache(cache: IResolvable) { - cdkBuilder.cache(cache.let(IResolvable::unwrap)) + cdkBuilder.cache(cache.let(IResolvable.Companion::unwrap)) } /** @@ -1501,7 +1501,7 @@ public open class CfnProject( * @param cache Settings that AWS CodeBuild uses to store and reuse build dependencies. */ override fun cache(cache: ProjectCacheProperty) { - cdkBuilder.cache(cache.let(ProjectCacheProperty::unwrap)) + cdkBuilder.cache(cache.let(ProjectCacheProperty.Companion::unwrap)) } /** @@ -1569,7 +1569,7 @@ public open class CfnProject( * type or the environment variables to use for the build environment. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -1581,7 +1581,7 @@ public open class CfnProject( * type or the environment variables to use for the build environment. */ override fun environment(environment: EnvironmentProperty) { - cdkBuilder.environment(environment.let(EnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(EnvironmentProperty.Companion::unwrap)) } /** @@ -1608,7 +1608,7 @@ public open class CfnProject( * build project. */ override fun fileSystemLocations(fileSystemLocations: IResolvable) { - cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable.Companion::unwrap)) } /** @@ -1647,7 +1647,7 @@ public open class CfnProject( * @param logsConfig Information about logs for the build project. */ override fun logsConfig(logsConfig: IResolvable) { - cdkBuilder.logsConfig(logsConfig.let(IResolvable::unwrap)) + cdkBuilder.logsConfig(logsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1659,7 +1659,7 @@ public open class CfnProject( * @param logsConfig Information about logs for the build project. */ override fun logsConfig(logsConfig: LogsConfigProperty) { - cdkBuilder.logsConfig(logsConfig.let(LogsConfigProperty::unwrap)) + cdkBuilder.logsConfig(logsConfig.let(LogsConfigProperty.Companion::unwrap)) } /** @@ -1719,7 +1719,7 @@ public open class CfnProject( * @param secondaryArtifacts A list of `Artifacts` objects. */ override fun secondaryArtifacts(secondaryArtifacts: IResolvable) { - cdkBuilder.secondaryArtifacts(secondaryArtifacts.let(IResolvable::unwrap)) + cdkBuilder.secondaryArtifacts(secondaryArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -1755,7 +1755,7 @@ public open class CfnProject( * @param secondarySourceVersions An array of `ProjectSourceVersion` objects. */ override fun secondarySourceVersions(secondarySourceVersions: IResolvable) { - cdkBuilder.secondarySourceVersions(secondarySourceVersions.let(IResolvable::unwrap)) + cdkBuilder.secondarySourceVersions(secondarySourceVersions.let(IResolvable.Companion::unwrap)) } /** @@ -1790,7 +1790,7 @@ public open class CfnProject( * @param secondarySources An array of `ProjectSource` objects. */ override fun secondarySources(secondarySources: IResolvable) { - cdkBuilder.secondarySources(secondarySources.let(IResolvable::unwrap)) + cdkBuilder.secondarySources(secondarySources.let(IResolvable.Companion::unwrap)) } /** @@ -1833,7 +1833,7 @@ public open class CfnProject( * type and location. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -1845,7 +1845,7 @@ public open class CfnProject( * type and location. */ override fun source(source: SourceProperty) { - cdkBuilder.source(source.let(SourceProperty::unwrap)) + cdkBuilder.source(source.let(SourceProperty.Companion::unwrap)) } /** @@ -1901,7 +1901,7 @@ public open class CfnProject( * @param tags An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1940,7 +1940,7 @@ public open class CfnProject( * every time a code change is pushed to the repository. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -1954,7 +1954,7 @@ public open class CfnProject( * every time a code change is pushed to the repository. */ override fun triggers(triggers: ProjectTriggersProperty) { - cdkBuilder.triggers(triggers.let(ProjectTriggersProperty::unwrap)) + cdkBuilder.triggers(triggers.let(ProjectTriggersProperty.Companion::unwrap)) } /** @@ -1998,7 +1998,7 @@ public open class CfnProject( * in an Amazon VPC. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2014,7 +2014,7 @@ public open class CfnProject( * in an Amazon VPC. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -2401,7 +2401,7 @@ public open class CfnProject( * S3). If this is set with another artifacts type, an `invalidInputException` is thrown. */ override fun encryptionDisabled(encryptionDisabled: IResolvable) { - cdkBuilder.encryptionDisabled(encryptionDisabled.let(IResolvable::unwrap)) + cdkBuilder.encryptionDisabled(encryptionDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -2486,7 +2486,7 @@ public open class CfnProject( * is always unique. */ override fun overrideArtifactName(overrideArtifactName: IResolvable) { - cdkBuilder.overrideArtifactName(overrideArtifactName.let(IResolvable::unwrap)) + cdkBuilder.overrideArtifactName(overrideArtifactName.let(IResolvable.Companion::unwrap)) } /** @@ -3720,7 +3720,7 @@ public open class CfnProject( * this build project. */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -3742,14 +3742,14 @@ public open class CfnProject( * @param fleet the value to be set. */ override fun fleet(fleet: IResolvable) { - cdkBuilder.fleet(fleet.let(IResolvable::unwrap)) + cdkBuilder.fleet(fleet.let(IResolvable.Companion::unwrap)) } /** * @param fleet the value to be set. */ override fun fleet(fleet: ProjectFleetProperty) { - cdkBuilder.fleet(fleet.let(ProjectFleetProperty::unwrap)) + cdkBuilder.fleet(fleet.let(ProjectFleetProperty.Companion::unwrap)) } /** @@ -3847,7 +3847,7 @@ public open class CfnProject( * `- timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"` */ override fun privilegedMode(privilegedMode: IResolvable) { - cdkBuilder.privilegedMode(privilegedMode.let(IResolvable::unwrap)) + cdkBuilder.privilegedMode(privilegedMode.let(IResolvable.Companion::unwrap)) } /** @@ -3860,7 +3860,7 @@ public open class CfnProject( * * images cannot be curated or an Amazon ECR image. */ override fun registryCredential(registryCredential: IResolvable) { - cdkBuilder.registryCredential(registryCredential.let(IResolvable::unwrap)) + cdkBuilder.registryCredential(registryCredential.let(IResolvable.Companion::unwrap)) } /** @@ -3873,7 +3873,7 @@ public open class CfnProject( * * images cannot be curated or an Amazon ECR image. */ override fun registryCredential(registryCredential: RegistryCredentialProperty) { - cdkBuilder.registryCredential(registryCredential.let(RegistryCredentialProperty::unwrap)) + cdkBuilder.registryCredential(registryCredential.let(RegistryCredentialProperty.Companion::unwrap)) } /** @@ -4408,7 +4408,7 @@ public open class CfnProject( * project. */ override fun fetchSubmodules(fetchSubmodules: IResolvable) { - cdkBuilder.fetchSubmodules(fetchSubmodules.let(IResolvable::unwrap)) + cdkBuilder.fetchSubmodules(fetchSubmodules.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4550,7 +4550,7 @@ public open class CfnProject( * CloudWatch Logs are enabled by default. */ override fun cloudWatchLogs(cloudWatchLogs: IResolvable) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable.Companion::unwrap)) } /** @@ -4558,7 +4558,7 @@ public open class CfnProject( * CloudWatch Logs are enabled by default. */ override fun cloudWatchLogs(cloudWatchLogs: CloudWatchLogsConfigProperty) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsConfigProperty::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsConfigProperty.Companion::unwrap)) } /** @@ -4575,7 +4575,7 @@ public open class CfnProject( * S3 logs are not enabled by default. */ override fun s3Logs(s3Logs: IResolvable) { - cdkBuilder.s3Logs(s3Logs.let(IResolvable::unwrap)) + cdkBuilder.s3Logs(s3Logs.let(IResolvable.Companion::unwrap)) } /** @@ -4583,7 +4583,7 @@ public open class CfnProject( * S3 logs are not enabled by default. */ override fun s3Logs(s3Logs: S3LogsConfigProperty) { - cdkBuilder.s3Logs(s3Logs.let(S3LogsConfigProperty::unwrap)) + cdkBuilder.s3Logs(s3Logs.let(S3LogsConfigProperty.Companion::unwrap)) } /** @@ -4804,7 +4804,7 @@ public open class CfnProject( * combined into a single artifact location. */ override fun combineArtifacts(combineArtifacts: IResolvable) { - cdkBuilder.combineArtifacts(combineArtifacts.let(IResolvable::unwrap)) + cdkBuilder.combineArtifacts(combineArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -4812,7 +4812,7 @@ public open class CfnProject( * batch build. */ override fun restrictions(restrictions: IResolvable) { - cdkBuilder.restrictions(restrictions.let(IResolvable::unwrap)) + cdkBuilder.restrictions(restrictions.let(IResolvable.Companion::unwrap)) } /** @@ -4820,7 +4820,7 @@ public open class CfnProject( * batch build. */ override fun restrictions(restrictions: BatchRestrictionsProperty) { - cdkBuilder.restrictions(restrictions.let(BatchRestrictionsProperty::unwrap)) + cdkBuilder.restrictions(restrictions.let(BatchRestrictionsProperty.Companion::unwrap)) } /** @@ -5950,7 +5950,7 @@ public open class CfnProject( * At least one `WebhookFilter` in the array must specify `EVENT` as its type. */ override fun filterGroups(filterGroups: IResolvable) { - cdkBuilder.filterGroups(filterGroups.let(IResolvable::unwrap)) + cdkBuilder.filterGroups(filterGroups.let(IResolvable.Companion::unwrap)) } /** @@ -5983,7 +5983,7 @@ public open class CfnProject( * every time a code change is pushed to the repository. */ override fun webhook(webhook: IResolvable) { - cdkBuilder.webhook(webhook.let(IResolvable::unwrap)) + cdkBuilder.webhook(webhook.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6290,7 +6290,7 @@ public open class CfnProject( * By default S3 build logs are encrypted. */ override fun encryptionDisabled(encryptionDisabled: IResolvable) { - cdkBuilder.encryptionDisabled(encryptionDisabled.let(IResolvable::unwrap)) + cdkBuilder.encryptionDisabled(encryptionDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -6917,7 +6917,7 @@ public open class CfnProject( * set `Auth` directly. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** @@ -6927,7 +6927,7 @@ public open class CfnProject( * set `Auth` directly. */ override fun auth(auth: SourceAuthProperty) { - cdkBuilder.auth(auth.let(SourceAuthProperty::unwrap)) + cdkBuilder.auth(auth.let(SourceAuthProperty.Companion::unwrap)) } /** @@ -6963,7 +6963,7 @@ public open class CfnProject( * `BITBUCKET` . */ override fun buildStatusConfig(buildStatusConfig: IResolvable) { - cdkBuilder.buildStatusConfig(buildStatusConfig.let(IResolvable::unwrap)) + cdkBuilder.buildStatusConfig(buildStatusConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6973,7 +6973,7 @@ public open class CfnProject( * `BITBUCKET` . */ override fun buildStatusConfig(buildStatusConfig: BuildStatusConfigProperty) { - cdkBuilder.buildStatusConfig(buildStatusConfig.let(BuildStatusConfigProperty::unwrap)) + cdkBuilder.buildStatusConfig(buildStatusConfig.let(BuildStatusConfigProperty.Companion::unwrap)) } /** @@ -7003,7 +7003,7 @@ public open class CfnProject( * project. */ override fun gitSubmodulesConfig(gitSubmodulesConfig: IResolvable) { - cdkBuilder.gitSubmodulesConfig(gitSubmodulesConfig.let(IResolvable::unwrap)) + cdkBuilder.gitSubmodulesConfig(gitSubmodulesConfig.let(IResolvable.Companion::unwrap)) } /** @@ -7011,7 +7011,7 @@ public open class CfnProject( * project. */ override fun gitSubmodulesConfig(gitSubmodulesConfig: GitSubmodulesConfigProperty) { - cdkBuilder.gitSubmodulesConfig(gitSubmodulesConfig.let(GitSubmodulesConfigProperty::unwrap)) + cdkBuilder.gitSubmodulesConfig(gitSubmodulesConfig.let(GitSubmodulesConfigProperty.Companion::unwrap)) } /** @@ -7041,7 +7041,7 @@ public open class CfnProject( * only. It should not be used in a production environment. */ override fun insecureSsl(insecureSsl: IResolvable) { - cdkBuilder.insecureSsl(insecureSsl.let(IResolvable::unwrap)) + cdkBuilder.insecureSsl(insecureSsl.let(IResolvable.Companion::unwrap)) } /** @@ -7112,7 +7112,7 @@ public open class CfnProject( * is thrown. */ override fun reportBuildStatus(reportBuildStatus: IResolvable) { - cdkBuilder.reportBuildStatus(reportBuildStatus.let(IResolvable::unwrap)) + cdkBuilder.reportBuildStatus(reportBuildStatus.let(IResolvable.Companion::unwrap)) } /** @@ -7775,7 +7775,7 @@ public open class CfnProject( * then a webhook event that matches the `pattern` triggers a build. */ override fun excludeMatchedPattern(excludeMatchedPattern: IResolvable) { - cdkBuilder.excludeMatchedPattern(excludeMatchedPattern.let(IResolvable::unwrap)) + cdkBuilder.excludeMatchedPattern(excludeMatchedPattern.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProjectProps.kt index 722b86857f..f138991219 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnProjectProps.kt @@ -836,7 +836,7 @@ public interface CfnProjectProps { * resource that specifies output settings for artifacts generated by an AWS CodeBuild build. */ override fun artifacts(artifacts: IResolvable) { - cdkBuilder.artifacts(artifacts.let(IResolvable::unwrap)) + cdkBuilder.artifacts(artifacts.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public interface CfnProjectProps { * resource that specifies output settings for artifacts generated by an AWS CodeBuild build. */ override fun artifacts(artifacts: CfnProject.ArtifactsProperty) { - cdkBuilder.artifacts(artifacts.let(CfnProject.ArtifactsProperty::unwrap)) + cdkBuilder.artifacts(artifacts.let(CfnProject.ArtifactsProperty.Companion::unwrap)) } /** @@ -887,7 +887,7 @@ public interface CfnProjectProps { * `BadgeEnabled` property. */ override fun badgeEnabled(badgeEnabled: IResolvable) { - cdkBuilder.badgeEnabled(badgeEnabled.let(IResolvable::unwrap)) + cdkBuilder.badgeEnabled(badgeEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public interface CfnProjectProps { * options for the project. */ override fun buildBatchConfig(buildBatchConfig: IResolvable) { - cdkBuilder.buildBatchConfig(buildBatchConfig.let(IResolvable::unwrap)) + cdkBuilder.buildBatchConfig(buildBatchConfig.let(IResolvable.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public interface CfnProjectProps { * options for the project. */ override fun buildBatchConfig(buildBatchConfig: CfnProject.ProjectBuildBatchConfigProperty) { - cdkBuilder.buildBatchConfig(buildBatchConfig.let(CfnProject.ProjectBuildBatchConfigProperty::unwrap)) + cdkBuilder.buildBatchConfig(buildBatchConfig.let(CfnProject.ProjectBuildBatchConfigProperty.Companion::unwrap)) } /** @@ -920,14 +920,14 @@ public interface CfnProjectProps { * @param cache Settings that AWS CodeBuild uses to store and reuse build dependencies. */ override fun cache(cache: IResolvable) { - cdkBuilder.cache(cache.let(IResolvable::unwrap)) + cdkBuilder.cache(cache.let(IResolvable.Companion::unwrap)) } /** * @param cache Settings that AWS CodeBuild uses to store and reuse build dependencies. */ override fun cache(cache: CfnProject.ProjectCacheProperty) { - cdkBuilder.cache(cache.let(CfnProject.ProjectCacheProperty::unwrap)) + cdkBuilder.cache(cache.let(CfnProject.ProjectCacheProperty.Companion::unwrap)) } /** @@ -976,7 +976,7 @@ public interface CfnProjectProps { * type or the environment variables to use for the build environment. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -984,7 +984,7 @@ public interface CfnProjectProps { * type or the environment variables to use for the build environment. */ override fun environment(environment: CfnProject.EnvironmentProperty) { - cdkBuilder.environment(environment.let(CfnProject.EnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(CfnProject.EnvironmentProperty.Companion::unwrap)) } /** @@ -1003,7 +1003,7 @@ public interface CfnProjectProps { * , `mountPoint` , and `type` of a file system created using Amazon Elastic File System. */ override fun fileSystemLocations(fileSystemLocations: IResolvable) { - cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable.Companion::unwrap)) } /** @@ -1030,7 +1030,7 @@ public interface CfnProjectProps { * A project can create logs in CloudWatch Logs, an S3 bucket, or both. */ override fun logsConfig(logsConfig: IResolvable) { - cdkBuilder.logsConfig(logsConfig.let(IResolvable::unwrap)) + cdkBuilder.logsConfig(logsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1038,7 +1038,7 @@ public interface CfnProjectProps { * A project can create logs in CloudWatch Logs, an S3 bucket, or both. */ override fun logsConfig(logsConfig: CfnProject.LogsConfigProperty) { - cdkBuilder.logsConfig(logsConfig.let(CfnProject.LogsConfigProperty::unwrap)) + cdkBuilder.logsConfig(logsConfig.let(CfnProject.LogsConfigProperty.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public interface CfnProjectProps { * Each artifacts object specifies output settings that the project generates during a build. */ override fun secondaryArtifacts(secondaryArtifacts: IResolvable) { - cdkBuilder.secondaryArtifacts(secondaryArtifacts.let(IResolvable::unwrap)) + cdkBuilder.secondaryArtifacts(secondaryArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -1103,7 +1103,7 @@ public interface CfnProjectProps { * `secondarySourceVersions` (at the project level). */ override fun secondarySourceVersions(secondarySourceVersions: IResolvable) { - cdkBuilder.secondarySourceVersions(secondarySourceVersions.let(IResolvable::unwrap)) + cdkBuilder.secondarySourceVersions(secondarySourceVersions.let(IResolvable.Companion::unwrap)) } /** @@ -1127,7 +1127,7 @@ public interface CfnProjectProps { * @param secondarySources An array of `ProjectSource` objects. */ override fun secondarySources(secondarySources: IResolvable) { - cdkBuilder.secondarySources(secondarySources.let(IResolvable::unwrap)) + cdkBuilder.secondarySources(secondarySources.let(IResolvable.Companion::unwrap)) } /** @@ -1156,7 +1156,7 @@ public interface CfnProjectProps { * type and location. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -1164,7 +1164,7 @@ public interface CfnProjectProps { * type and location. */ override fun source(source: CfnProject.SourceProperty) { - cdkBuilder.source(source.let(CfnProject.SourceProperty::unwrap)) + cdkBuilder.source(source.let(CfnProject.SourceProperty.Companion::unwrap)) } /** @@ -1208,7 +1208,7 @@ public interface CfnProjectProps { * tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1233,7 +1233,7 @@ public interface CfnProjectProps { * every time a code change is pushed to the repository. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -1242,7 +1242,7 @@ public interface CfnProjectProps { * every time a code change is pushed to the repository. */ override fun triggers(triggers: CfnProject.ProjectTriggersProperty) { - cdkBuilder.triggers(triggers.let(CfnProject.ProjectTriggersProperty::unwrap)) + cdkBuilder.triggers(triggers.let(CfnProject.ProjectTriggersProperty.Companion::unwrap)) } /** @@ -1272,7 +1272,7 @@ public interface CfnProjectProps { * CodeBuild User Guide* . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1283,7 +1283,7 @@ public interface CfnProjectProps { * CodeBuild User Guide* . */ override fun vpcConfig(vpcConfig: CfnProject.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnProject.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnProject.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroup.kt index 340331f62f..e294703ccf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroup.kt @@ -67,8 +67,8 @@ public open class CfnReportGroup( id: String, props: CfnReportGroupProps, ) : - this(software.amazon.awscdk.services.codebuild.CfnReportGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReportGroupProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.CfnReportGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReportGroupProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnReportGroup( * When deleting a report group, specifies if reports within the report group should be deleted. */ public open fun deleteReports(`value`: IResolvable) { - unwrap(this).setDeleteReports(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteReports(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -117,14 +117,14 @@ public open class CfnReportGroup( * Information about the destination where the raw data of this `ReportGroup` is exported. */ public open fun exportConfig(`value`: IResolvable) { - unwrap(this).setExportConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setExportConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the destination where the raw data of this `ReportGroup` is exported. */ public open fun exportConfig(`value`: ReportExportConfigProperty) { - unwrap(this).setExportConfig(`value`.let(ReportExportConfigProperty::unwrap)) + unwrap(this).setExportConfig(`value`.let(ReportExportConfigProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnReportGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnReportGroup( * A list of tag key and value pairs associated with this report group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public open class CfnReportGroup( * group should be deleted. */ override fun deleteReports(deleteReports: IResolvable) { - cdkBuilder.deleteReports(deleteReports.let(IResolvable::unwrap)) + cdkBuilder.deleteReports(deleteReports.let(IResolvable.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class CfnReportGroup( * `ReportGroup` is exported. */ override fun exportConfig(exportConfig: IResolvable) { - cdkBuilder.exportConfig(exportConfig.let(IResolvable::unwrap)) + cdkBuilder.exportConfig(exportConfig.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnReportGroup( * `ReportGroup` is exported. */ override fun exportConfig(exportConfig: ReportExportConfigProperty) { - cdkBuilder.exportConfig(exportConfig.let(ReportExportConfigProperty::unwrap)) + cdkBuilder.exportConfig(exportConfig.let(ReportExportConfigProperty.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class CfnReportGroup( * @param tags A list of tag key and value pairs associated with this report group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public open class CfnReportGroup( * bucket where the run of a report is exported. */ override fun s3Destination(s3Destination: IResolvable) { - cdkBuilder.s3Destination(s3Destination.let(IResolvable::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(IResolvable.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnReportGroup( * bucket where the run of a report is exported. */ override fun s3Destination(s3Destination: S3ReportExportConfigProperty) { - cdkBuilder.s3Destination(s3Destination.let(S3ReportExportConfigProperty::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(S3ReportExportConfigProperty.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnReportGroup( * encrypted. */ override fun encryptionDisabled(encryptionDisabled: IResolvable) { - cdkBuilder.encryptionDisabled(encryptionDisabled.let(IResolvable::unwrap)) + cdkBuilder.encryptionDisabled(encryptionDisabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroupProps.kt index f30e52225d..a2ee837620 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnReportGroupProps.kt @@ -194,7 +194,7 @@ public interface CfnReportGroupProps { * you delete a report group that contains one or more reports, an exception is thrown. */ override fun deleteReports(deleteReports: IResolvable) { - cdkBuilder.deleteReports(deleteReports.let(IResolvable::unwrap)) + cdkBuilder.deleteReports(deleteReports.let(IResolvable.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface CfnReportGroupProps { * `ReportGroup` is exported. */ override fun exportConfig(exportConfig: IResolvable) { - cdkBuilder.exportConfig(exportConfig.let(IResolvable::unwrap)) + cdkBuilder.exportConfig(exportConfig.let(IResolvable.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface CfnReportGroupProps { * `ReportGroup` is exported. */ override fun exportConfig(exportConfig: CfnReportGroup.ReportExportConfigProperty) { - cdkBuilder.exportConfig(exportConfig.let(CfnReportGroup.ReportExportConfigProperty::unwrap)) + cdkBuilder.exportConfig(exportConfig.let(CfnReportGroup.ReportExportConfigProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public interface CfnReportGroupProps { * tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnSourceCredential.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnSourceCredential.kt index 893c0b6577..047cebfb41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnSourceCredential.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CfnSourceCredential.kt @@ -51,8 +51,8 @@ public open class CfnSourceCredential( id: String, props: CfnSourceCredentialProps, ) : - this(software.amazon.awscdk.services.codebuild.CfnSourceCredential(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSourceCredentialProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.CfnSourceCredential(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSourceCredentialProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnSourceCredential( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CloudWatchLoggingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CloudWatchLoggingOptions.kt index 831f6c4ec7..a46e4d3aa0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CloudWatchLoggingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CloudWatchLoggingOptions.kt @@ -84,7 +84,7 @@ public interface CloudWatchLoggingOptions { * @param logGroup The Log Group to send logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CodeCommitSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CodeCommitSourceProps.kt index 90ebbf7b97..fa8f1cf8d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CodeCommitSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CodeCommitSourceProps.kt @@ -147,7 +147,7 @@ public interface CodeCommitSourceProps : SourceProps { * @param repository the value to be set. */ override fun repository(repository: IRepository) { - cdkBuilder.repository(repository.let(IRepository::unwrap)) + cdkBuilder.repository(repository.let(IRepository.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.CodeCommitSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CommonProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CommonProjectProps.kt index 488fe829d4..43e55937ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CommonProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/CommonProjectProps.kt @@ -607,14 +607,14 @@ public interface CommonProjectProps { * @param buildSpec Filename or contents of buildspec in JSON format. */ override fun buildSpec(buildSpec: BuildSpec) { - cdkBuilder.buildSpec(buildSpec.let(BuildSpec::unwrap)) + cdkBuilder.buildSpec(buildSpec.let(BuildSpec.Companion::unwrap)) } /** * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -650,14 +650,14 @@ public interface CommonProjectProps { * @param encryptionKey Encryption key to use to read and write artifacts. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** * @param environment Build environment to use for the build. */ override fun environment(environment: BuildEnvironment) { - cdkBuilder.environment(environment.let(BuildEnvironment::unwrap)) + cdkBuilder.environment(environment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public interface CommonProjectProps { * and type of a file system created using Amazon Elastic File System. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public interface CommonProjectProps { * A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -740,14 +740,14 @@ public interface CommonProjectProps { * CodeBuild User Guide. */ override fun queuedTimeout(queuedTimeout: Duration) { - cdkBuilder.queuedTimeout(queuedTimeout.let(Duration::unwrap)) + cdkBuilder.queuedTimeout(queuedTimeout.let(Duration.Companion::unwrap)) } /** * @param role Service Role to assume while running the build. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -758,7 +758,7 @@ public interface CommonProjectProps { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -811,7 +811,7 @@ public interface CommonProjectProps { * AWS service access, add VPC Endpoints to your private subnets. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -844,7 +844,7 @@ public interface CommonProjectProps { * CodeBuild User Guide. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -852,7 +852,7 @@ public interface CommonProjectProps { * Specify this if the codebuild project needs to access resources in a VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.CommonProjectProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/DockerImageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/DockerImageOptions.kt index 3ac7abf61e..d3d128aa49 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/DockerImageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/DockerImageOptions.kt @@ -55,7 +55,7 @@ public interface DockerImageOptions { * accessing the repository holding the image, if the repository is private. */ override fun secretsManagerCredentials(secretsManagerCredentials: ISecret) { - cdkBuilder.secretsManagerCredentials(secretsManagerCredentials.let(ISecret::unwrap)) + cdkBuilder.secretsManagerCredentials(secretsManagerCredentials.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.DockerImageOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemConfig.kt index cdbab82181..113681e1de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemConfig.kt @@ -63,7 +63,7 @@ public interface FileSystemConfig { * @param location File system location wrapper property. */ override fun location(location: CfnProject.ProjectFileSystemLocationProperty) { - cdkBuilder.location(location.let(CfnProject.ProjectFileSystemLocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnProject.ProjectFileSystemLocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemLocation.kt index 1efb2688c7..3cc90e5714 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FileSystemLocation.kt @@ -32,7 +32,7 @@ public open class FileSystemLocation( public companion object { public fun efs(props: EfsFileSystemLocationProps): IFileSystemLocation = - software.amazon.awscdk.services.codebuild.FileSystemLocation.efs(props.let(EfsFileSystemLocationProps::unwrap)).let(IFileSystemLocation::wrap) + software.amazon.awscdk.services.codebuild.FileSystemLocation.efs(props.let(EfsFileSystemLocationProps.Companion::unwrap)).let(IFileSystemLocation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("946b041de0d09bf7421671b618ef671b9434b22a6e6bd4c23120e1b760eb1304") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FilterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FilterGroup.kt index 912f60d4ee..a1de68d745 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FilterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/FilterGroup.kt @@ -187,7 +187,7 @@ public open class FilterGroup( public companion object { public fun inEventOf(actions: EventAction): FilterGroup = - software.amazon.awscdk.services.codebuild.FilterGroup.inEventOf(actions.let(EventAction::unwrap)).let(FilterGroup::wrap) + software.amazon.awscdk.services.codebuild.FilterGroup.inEventOf(actions.let(EventAction.Companion::unwrap)).let(FilterGroup::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codebuild.FilterGroup): FilterGroup = FilterGroup(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentials.kt index 9db600bc69..e9c10b71aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentials.kt @@ -39,8 +39,8 @@ public open class GitHubEnterpriseSourceCredentials( id: String, props: GitHubEnterpriseSourceCredentialsProps, ) : - this(software.amazon.awscdk.services.codebuild.GitHubEnterpriseSourceCredentials(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GitHubEnterpriseSourceCredentialsProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.GitHubEnterpriseSourceCredentials(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GitHubEnterpriseSourceCredentialsProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class GitHubEnterpriseSourceCredentials( * GitHub Enterprise API. */ override fun accessToken(accessToken: SecretValue) { - cdkBuilder.accessToken(accessToken.let(SecretValue::unwrap)) + cdkBuilder.accessToken(accessToken.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.GitHubEnterpriseSourceCredentials diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentialsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentialsProps.kt index ede5fbe17c..c1a9df1e6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentialsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceCredentialsProps.kt @@ -53,7 +53,7 @@ public interface GitHubEnterpriseSourceCredentialsProps { * GitHub Enterprise API. */ override fun accessToken(accessToken: SecretValue) { - cdkBuilder.accessToken(accessToken.let(SecretValue::unwrap)) + cdkBuilder.accessToken(accessToken.let(SecretValue.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceProps.kt index e905145d2a..92b4cdcb7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubEnterpriseSourceProps.kt @@ -327,7 +327,7 @@ public interface GitHubEnterpriseSourceProps : SourceProps { * Only valid if `webhook` was not provided as false. */ override fun webhookFilters(webhookFilters: List) { - cdkBuilder.webhookFilters(webhookFilters.map(FilterGroup::unwrap)) + cdkBuilder.webhookFilters(webhookFilters.map(FilterGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentials.kt index 0ad268951f..a6ed76d186 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentials.kt @@ -33,8 +33,8 @@ public open class GitHubSourceCredentials( id: String, props: GitHubSourceCredentialsProps, ) : - this(software.amazon.awscdk.services.codebuild.GitHubSourceCredentials(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GitHubSourceCredentialsProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.GitHubSourceCredentials(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GitHubSourceCredentialsProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class GitHubSourceCredentials( * @param accessToken The personal access token to use when contacting the GitHub API. */ override fun accessToken(accessToken: SecretValue) { - cdkBuilder.accessToken(accessToken.let(SecretValue::unwrap)) + cdkBuilder.accessToken(accessToken.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.GitHubSourceCredentials = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentialsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentialsProps.kt index d9763a1b96..3a21bd5643 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentialsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceCredentialsProps.kt @@ -45,7 +45,7 @@ public interface GitHubSourceCredentialsProps { * @param accessToken The personal access token to use when contacting the GitHub API. */ override fun accessToken(accessToken: SecretValue) { - cdkBuilder.accessToken(accessToken.let(SecretValue::unwrap)) + cdkBuilder.accessToken(accessToken.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.GitHubSourceCredentialsProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceProps.kt index 78e87152e0..7298d235ae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/GitHubSourceProps.kt @@ -327,7 +327,7 @@ public interface GitHubSourceProps : SourceProps { * Only valid if `webhook` was not provided as false. */ override fun webhookFilters(webhookFilters: List) { - cdkBuilder.webhookFilters(webhookFilters.map(FilterGroup::unwrap)) + cdkBuilder.webhookFilters(webhookFilters.map(FilterGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IArtifacts.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IArtifacts.kt index 653c431be8..b9bf2cb78b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IArtifacts.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IArtifacts.kt @@ -43,8 +43,8 @@ public interface IArtifacts { * @param project the Project this Artifacts is used in. */ override fun bind(scope: Construct, project: IProject): ArtifactsConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap)).let(ArtifactsConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap)).let(ArtifactsConfig::wrap) /** * The artifact identifier. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBindableBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBindableBuildImage.kt index 1420d3eeeb..08ec6e3b0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBindableBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBindableBuildImage.kt @@ -58,9 +58,9 @@ public interface IBindableBuildImage : IBuildImage { scope: Construct, project: IProject, options: BuildImageBindOptions, - ): BuildImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap), - options.let(BuildImageBindOptions::unwrap)).let(BuildImageConfig::wrap) + ): BuildImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap), + options.let(BuildImageBindOptions.Companion::unwrap)).let(BuildImageConfig::wrap) /** * Function that allows the build image access to the construct tree. @@ -133,7 +133,7 @@ public interface IBindableBuildImage : IBuildImage { * @param buildEnvironment the current build environment. */ override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBuildImage.kt index bd86e71595..14a51d3398 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IBuildImage.kt @@ -141,7 +141,7 @@ public interface IBuildImage { * @param buildEnvironment the current build environment. */ override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IFileSystemLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IFileSystemLocation.kt index 1ad775e94a..de5e2d71e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IFileSystemLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IFileSystemLocation.kt @@ -32,8 +32,8 @@ public interface IFileSystemLocation { * @param project */ override fun bind(scope: Construct, project: IProject): FileSystemConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap)).let(FileSystemConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap)).let(FileSystemConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IProject.kt index a70cde0901..fd6af79353 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IProject.kt @@ -604,7 +604,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param policyStatement */ override fun addToRolePolicy(policyStatement: PolicyStatement) { - unwrap(this).addToRolePolicy(policyStatement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(policyStatement.let(PolicyStatement.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param scope */ override fun bindAsNotificationRuleSource(scope: Construct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(Construct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(Construct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) /** * The network connections associated with this resource. @@ -686,7 +686,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param props Customization properties. */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * @return a CloudWatch metric associated with this build project. @@ -723,7 +724,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param props */ override fun metricBuilds(props: MetricOptions): Metric = - unwrap(this).metricBuilds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricBuilds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the number of builds triggered. @@ -766,7 +767,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param props */ override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the duration of all builds over time. @@ -809,7 +810,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param props */ override fun metricFailedBuilds(props: MetricOptions): Metric = - unwrap(this).metricFailedBuilds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailedBuilds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the number of builds that failed because of client error or because of a timeout. @@ -853,7 +854,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param props */ override fun metricSucceededBuilds(props: MetricOptions): Metric = - unwrap(this).metricSucceededBuilds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSucceededBuilds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the number of successful builds. @@ -889,8 +890,9 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu id: String, target: INotificationRuleTarget, options: ProjectNotifyOnOptions, - ): INotificationRule = unwrap(this).notifyOn(id, target.let(INotificationRuleTarget::unwrap), - options.let(ProjectNotifyOnOptions::unwrap)).let(INotificationRule::wrap) + ): INotificationRule = unwrap(this).notifyOn(id, + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(ProjectNotifyOnOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule triggered when the project events emitted by you @@ -921,7 +923,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu */ override fun notifyOnBuildFailed(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBuildFailed(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build fails. @@ -935,8 +937,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBuildFailed(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build fails. @@ -962,7 +964,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu */ override fun notifyOnBuildSucceeded(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBuildSucceeded(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build completes successfully. @@ -976,8 +978,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBuildSucceeded(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build completes successfully. @@ -1009,7 +1011,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param options */ override fun onBuildFailed(id: String, options: OnEventOptions): Rule = - unwrap(this).onBuildFailed(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onBuildFailed(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule which triggers when a build fails. @@ -1037,7 +1040,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param options */ override fun onBuildStarted(id: String, options: OnEventOptions): Rule = - unwrap(this).onBuildStarted(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onBuildStarted(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule which triggers when a build starts. @@ -1066,7 +1070,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param options */ override fun onBuildSucceeded(id: String, options: OnEventOptions): Rule = - unwrap(this).onBuildSucceeded(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onBuildSucceeded(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule which triggers when a build completes successfully. @@ -1096,7 +1101,7 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param options */ override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule triggered when something happens with this project. @@ -1127,7 +1132,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param options */ override fun onPhaseChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onPhaseChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onPhaseChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule that triggers upon phase change of this build project. @@ -1200,7 +1206,8 @@ public interface IProject : IResource, IGrantable, IConnectable, INotificationRu * @param options */ override fun onStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule triggered when the build project state changes. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IReportGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IReportGroup.kt index 9a1e490d73..abcf1ad70f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IReportGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/IReportGroup.kt @@ -52,7 +52,7 @@ public interface IReportGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -73,7 +73,7 @@ public interface IReportGroup : IResource { * @param identity */ override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ISource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ISource.kt index 05eef6fa18..f8a25cdf51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ISource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ISource.kt @@ -48,8 +48,8 @@ public interface ISource { * @param project */ override fun bind(scope: Construct, project: IProject): SourceConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap)).let(SourceConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap)).let(SourceConfig::wrap) /** * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmBuildImage.kt index ce27400d8e..35d0562cac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmBuildImage.kt @@ -84,7 +84,7 @@ public open class LinuxArmBuildImage( * @param buildEnvironment BuildEnvironment. */ public override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Validates by checking the BuildEnvironment computeType as aarch64 images only support @@ -115,7 +115,7 @@ public open class LinuxArmBuildImage( public fun fromDockerRegistry(name: String, options: DockerImageOptions): IBuildImage = software.amazon.awscdk.services.codebuild.LinuxArmBuildImage.fromDockerRegistry(name, - options.let(DockerImageOptions::unwrap)).let(IBuildImage::wrap) + options.let(DockerImageOptions.Companion::unwrap)).let(IBuildImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9dfa00b9fda484ff06b60ab8b92ae7805fa8054bf1b7155a5e6cb7e59c4680f") @@ -123,10 +123,10 @@ public open class LinuxArmBuildImage( IBuildImage = fromDockerRegistry(name, DockerImageOptions(options)) public fun fromEcrRepository(repository: IRepository): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxArmBuildImage.fromEcrRepository(repository.let(IRepository::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.LinuxArmBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap)).let(IBuildImage::wrap) public fun fromEcrRepository(repository: IRepository, tagOrDigest: String): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxArmBuildImage.fromEcrRepository(repository.let(IRepository::unwrap), + software.amazon.awscdk.services.codebuild.LinuxArmBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), tagOrDigest).let(IBuildImage::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codebuild.LinuxArmBuildImage): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmLambdaBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmLambdaBuildImage.kt index e609a17761..e6326efb5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmLambdaBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxArmLambdaBuildImage.kt @@ -58,7 +58,7 @@ public open class LinuxArmLambdaBuildImage( * @param buildEnvironment */ public override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxBuildImage.kt index 35d093b4ec..72ddab4fc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxBuildImage.kt @@ -105,7 +105,7 @@ public open class LinuxBuildImage( * @param env */ public override fun validate(env: BuildEnvironment): List = - unwrap(this).validate(env.let(BuildEnvironment::unwrap)) + unwrap(this).validate(env.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. @@ -168,8 +168,8 @@ public open class LinuxBuildImage( id: String, props: DockerImageAssetProps, ): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromAsset(scope.let(Construct::unwrap), - id, props.let(DockerImageAssetProps::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromAsset(scope.let(Construct.Companion::unwrap), + id, props.let(DockerImageAssetProps.Companion::unwrap)).let(IBuildImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("66f4338ab15382a1d0a2efb8183796cd48bca3922530d07a2c878008262c08ef") @@ -187,7 +187,7 @@ public open class LinuxBuildImage( public fun fromDockerRegistry(name: String, options: DockerImageOptions): IBuildImage = software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromDockerRegistry(name, - options.let(DockerImageOptions::unwrap)).let(IBuildImage::wrap) + options.let(DockerImageOptions.Companion::unwrap)).let(IBuildImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9dfa00b9fda484ff06b60ab8b92ae7805fa8054bf1b7155a5e6cb7e59c4680f") @@ -195,10 +195,10 @@ public open class LinuxBuildImage( IBuildImage = fromDockerRegistry(name, DockerImageOptions(options)) public fun fromEcrRepository(repository: IRepository): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromEcrRepository(repository.let(IRepository::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap)).let(IBuildImage::wrap) public fun fromEcrRepository(repository: IRepository, tagOrDigest: String): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromEcrRepository(repository.let(IRepository::unwrap), + software.amazon.awscdk.services.codebuild.LinuxBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), tagOrDigest).let(IBuildImage::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codebuild.LinuxBuildImage): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxGpuBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxGpuBuildImage.kt index cf1b734e76..51894e7bcc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxGpuBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxGpuBuildImage.kt @@ -42,9 +42,9 @@ public open class LinuxGpuBuildImage( scope: Construct, project: IProject, options: BuildImageBindOptions, - ): BuildImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap), - options.let(BuildImageBindOptions::unwrap)).let(BuildImageConfig::wrap) + ): BuildImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap), + options.let(BuildImageBindOptions.Companion::unwrap)).let(BuildImageConfig::wrap) /** * Function that allows the build image access to the construct tree. @@ -98,7 +98,7 @@ public open class LinuxGpuBuildImage( * @param buildEnvironment */ public override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. @@ -175,10 +175,10 @@ public open class LinuxGpuBuildImage( tag, account).let(IBuildImage::wrap) public fun fromEcrRepository(repository: IRepository): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxGpuBuildImage.fromEcrRepository(repository.let(IRepository::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.LinuxGpuBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap)).let(IBuildImage::wrap) public fun fromEcrRepository(repository: IRepository, tag: String): IBuildImage = - software.amazon.awscdk.services.codebuild.LinuxGpuBuildImage.fromEcrRepository(repository.let(IRepository::unwrap), + software.amazon.awscdk.services.codebuild.LinuxGpuBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), tag).let(IBuildImage::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codebuild.LinuxGpuBuildImage): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxLambdaBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxLambdaBuildImage.kt index 378f35e70a..9df03e7a0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxLambdaBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LinuxLambdaBuildImage.kt @@ -59,7 +59,7 @@ public open class LinuxLambdaBuildImage( * @param buildEnvironment */ public override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LoggingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LoggingOptions.kt index 8a597dfec6..94338df4e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LoggingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/LoggingOptions.kt @@ -79,7 +79,7 @@ public interface LoggingOptions { * @param cloudWatch Information about Amazon CloudWatch Logs for a build project. */ override fun cloudWatch(cloudWatch: CloudWatchLoggingOptions) { - cdkBuilder.cloudWatch(cloudWatch.let(CloudWatchLoggingOptions::unwrap)) + cdkBuilder.cloudWatch(cloudWatch.let(CloudWatchLoggingOptions.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface LoggingOptions { * @param s3 Information about logs built to an S3 bucket for a build project. */ override fun s3(s3: S3LoggingOptions) { - cdkBuilder.s3(s3.let(S3LoggingOptions::unwrap)) + cdkBuilder.s3(s3.let(S3LoggingOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProject.kt index 8c8bd36af6..73f1fe68aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProject.kt @@ -75,7 +75,7 @@ public open class PipelineProject( cdkObject: software.amazon.awscdk.services.codebuild.PipelineProject, ) : Project(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codebuild.PipelineProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codebuild.PipelineProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -84,8 +84,8 @@ public open class PipelineProject( id: String, props: PipelineProjectProps, ) : - this(software.amazon.awscdk.services.codebuild.PipelineProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PipelineProjectProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.PipelineProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PipelineProjectProps.Companion::unwrap)) ) public constructor( @@ -510,7 +510,7 @@ public open class PipelineProject( * @param buildSpec Filename or contents of buildspec in JSON format. */ override fun buildSpec(buildSpec: BuildSpec) { - cdkBuilder.buildSpec(buildSpec.let(BuildSpec::unwrap)) + cdkBuilder.buildSpec(buildSpec.let(BuildSpec.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class PipelineProject( * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class PipelineProject( * @param encryptionKey Encryption key to use to read and write artifacts. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class PipelineProject( * @param environment Build environment to use for the build. */ override fun environment(environment: BuildEnvironment) { - cdkBuilder.environment(environment.let(BuildEnvironment::unwrap)) + cdkBuilder.environment(environment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -630,7 +630,7 @@ public open class PipelineProject( * project. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public open class PipelineProject( * @param logging Information about logs for the build project. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -718,7 +718,7 @@ public open class PipelineProject( * still in queue. */ override fun queuedTimeout(queuedTimeout: Duration) { - cdkBuilder.queuedTimeout(queuedTimeout.let(Duration::unwrap)) + cdkBuilder.queuedTimeout(queuedTimeout.let(Duration.Companion::unwrap)) } /** @@ -729,7 +729,7 @@ public open class PipelineProject( * @param role Service Role to assume while running the build. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -745,7 +745,7 @@ public open class PipelineProject( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public open class PipelineProject( * @param subnetSelection Where to place the network interfaces within the VPC. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -861,7 +861,7 @@ public open class PipelineProject( * complete. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public open class PipelineProject( * @param vpc VPC network to place codebuild network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.PipelineProject = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProjectProps.kt index 3db8098572..e34ae7a3c2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/PipelineProjectProps.kt @@ -331,14 +331,14 @@ public interface PipelineProjectProps : CommonProjectProps { * @param buildSpec Filename or contents of buildspec in JSON format. */ override fun buildSpec(buildSpec: BuildSpec) { - cdkBuilder.buildSpec(buildSpec.let(BuildSpec::unwrap)) + cdkBuilder.buildSpec(buildSpec.let(BuildSpec.Companion::unwrap)) } /** * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -374,14 +374,14 @@ public interface PipelineProjectProps : CommonProjectProps { * @param encryptionKey Encryption key to use to read and write artifacts. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** * @param environment Build environment to use for the build. */ override fun environment(environment: BuildEnvironment) { - cdkBuilder.environment(environment.let(BuildEnvironment::unwrap)) + cdkBuilder.environment(environment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public interface PipelineProjectProps : CommonProjectProps { * and type of a file system created using Amazon Elastic File System. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public interface PipelineProjectProps : CommonProjectProps { * A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -464,14 +464,14 @@ public interface PipelineProjectProps : CommonProjectProps { * CodeBuild User Guide. */ override fun queuedTimeout(queuedTimeout: Duration) { - cdkBuilder.queuedTimeout(queuedTimeout.let(Duration::unwrap)) + cdkBuilder.queuedTimeout(queuedTimeout.let(Duration.Companion::unwrap)) } /** * @param role Service Role to assume while running the build. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface PipelineProjectProps : CommonProjectProps { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public interface PipelineProjectProps : CommonProjectProps { * AWS service access, add VPC Endpoints to your private subnets. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface PipelineProjectProps : CommonProjectProps { * CodeBuild User Guide. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public interface PipelineProjectProps : CommonProjectProps { * Specify this if the codebuild project needs to access resources in a VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.PipelineProjectProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Project.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Project.kt index 575b13c312..285ec2be3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Project.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Project.kt @@ -60,8 +60,8 @@ public open class Project( id: String, props: ProjectProps, ) : - this(software.amazon.awscdk.services.codebuild.Project(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ProjectProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.Project(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ProjectProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class Project( * @param fileSystemLocation the fileSystemLocation to add. */ public open fun addFileSystemLocation(fileSystemLocation: IFileSystemLocation) { - unwrap(this).addFileSystemLocation(fileSystemLocation.let(IFileSystemLocation::unwrap)) + unwrap(this).addFileSystemLocation(fileSystemLocation.let(IFileSystemLocation.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public open class Project( * @param secondaryArtifact the artifact to add as a secondary artifact. */ public open fun addSecondaryArtifact(secondaryArtifact: IArtifacts) { - unwrap(this).addSecondaryArtifact(secondaryArtifact.let(IArtifacts::unwrap)) + unwrap(this).addSecondaryArtifact(secondaryArtifact.let(IArtifacts.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public open class Project( * @param secondarySource the source to add as a secondary source. */ public open fun addSecondarySource(secondarySource: ISource) { - unwrap(this).addSecondarySource(secondarySource.let(ISource::unwrap)) + unwrap(this).addSecondarySource(secondarySource.let(ISource.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class Project( * @param statement The permissions statement to add. */ public override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class Project( */ public override fun bindAsNotificationRuleSource(scope: CloudshiftdevConstructsConstruct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(CloudshiftdevConstructsConstruct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) /** * A callback invoked when the given project is added to a CodePipeline. @@ -136,8 +136,8 @@ public open class Project( */ public open fun bindToCodePipeline(scope: CloudshiftdevConstructsConstruct, options: BindToCodePipelineOptions) { - unwrap(this).bindToCodePipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - options.let(BindToCodePipelineOptions::unwrap)) + unwrap(this).bindToCodePipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + options.let(BindToCodePipelineOptions.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class Project( * @param props Customization properties. */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * @return a CloudWatch metric associated with this build project. @@ -226,7 +226,7 @@ public open class Project( * @param props */ public override fun metricBuilds(props: MetricOptions): Metric = - unwrap(this).metricBuilds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricBuilds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the number of builds triggered. @@ -269,7 +269,7 @@ public open class Project( * @param props */ public override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the duration of all builds over time. @@ -313,7 +313,7 @@ public open class Project( * @param props */ public override fun metricFailedBuilds(props: MetricOptions): Metric = - unwrap(this).metricFailedBuilds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailedBuilds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the number of builds that failed because of client error or because of a timeout. @@ -357,7 +357,7 @@ public open class Project( * @param props */ public override fun metricSucceededBuilds(props: MetricOptions): Metric = - unwrap(this).metricSucceededBuilds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSucceededBuilds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measures the number of successful builds. @@ -390,8 +390,9 @@ public open class Project( id: String, target: INotificationRuleTarget, options: ProjectNotifyOnOptions, - ): INotificationRule = unwrap(this).notifyOn(id, target.let(INotificationRuleTarget::unwrap), - options.let(ProjectNotifyOnOptions::unwrap)).let(INotificationRule::wrap) + ): INotificationRule = unwrap(this).notifyOn(id, + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(ProjectNotifyOnOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule triggered when the project events emitted by you @@ -421,7 +422,7 @@ public open class Project( */ public override fun notifyOnBuildFailed(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBuildFailed(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build fails. @@ -435,8 +436,8 @@ public open class Project( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBuildFailed(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build fails. @@ -462,7 +463,7 @@ public open class Project( */ public override fun notifyOnBuildSucceeded(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBuildSucceeded(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build completes successfully. @@ -476,8 +477,8 @@ public open class Project( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBuildSucceeded(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule which triggers when a build completes successfully. @@ -516,7 +517,7 @@ public open class Project( * @param options */ public override fun onBuildFailed(id: String, options: OnEventOptions): Rule = - unwrap(this).onBuildFailed(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onBuildFailed(id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule which triggers when a build fails. @@ -554,7 +555,7 @@ public open class Project( * @param options */ public override fun onBuildStarted(id: String, options: OnEventOptions): Rule = - unwrap(this).onBuildStarted(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onBuildStarted(id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule which triggers when a build starts. @@ -592,7 +593,8 @@ public open class Project( * @param options */ public override fun onBuildSucceeded(id: String, options: OnEventOptions): Rule = - unwrap(this).onBuildSucceeded(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onBuildSucceeded(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule which triggers when a build completes successfully. @@ -625,7 +627,7 @@ public open class Project( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule triggered when something happens with this project. @@ -657,7 +659,7 @@ public open class Project( * @param options */ public override fun onPhaseChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onPhaseChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onPhaseChange(id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule that triggers upon phase change of this build project. @@ -731,7 +733,7 @@ public open class Project( * @param options */ public override fun onStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule triggered when the build project state changes. @@ -1256,7 +1258,7 @@ public open class Project( * @param artifacts Defines where build artifacts will be stored. */ override fun artifacts(artifacts: IArtifacts) { - cdkBuilder.artifacts(artifacts.let(IArtifacts::unwrap)) + cdkBuilder.artifacts(artifacts.let(IArtifacts.Companion::unwrap)) } /** @@ -1284,7 +1286,7 @@ public open class Project( * @param buildSpec Filename or contents of buildspec in JSON format. */ override fun buildSpec(buildSpec: BuildSpec) { - cdkBuilder.buildSpec(buildSpec.let(BuildSpec::unwrap)) + cdkBuilder.buildSpec(buildSpec.let(BuildSpec.Companion::unwrap)) } /** @@ -1295,7 +1297,7 @@ public open class Project( * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -1353,7 +1355,7 @@ public open class Project( * @param encryptionKey Encryption key to use to read and write artifacts. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1364,7 +1366,7 @@ public open class Project( * @param environment Build environment to use for the build. */ override fun environment(environment: BuildEnvironment) { - cdkBuilder.environment(environment.let(BuildEnvironment::unwrap)) + cdkBuilder.environment(environment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -1404,7 +1406,7 @@ public open class Project( * project. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -1452,7 +1454,7 @@ public open class Project( * @param logging Information about logs for the build project. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -1492,7 +1494,7 @@ public open class Project( * still in queue. */ override fun queuedTimeout(queuedTimeout: Duration) { - cdkBuilder.queuedTimeout(queuedTimeout.let(Duration::unwrap)) + cdkBuilder.queuedTimeout(queuedTimeout.let(Duration.Companion::unwrap)) } /** @@ -1503,7 +1505,7 @@ public open class Project( * @param role Service Role to assume while running the build. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1518,7 +1520,7 @@ public open class Project( * @param secondaryArtifacts The secondary artifacts for the Project. */ override fun secondaryArtifacts(secondaryArtifacts: List) { - cdkBuilder.secondaryArtifacts(secondaryArtifacts.map(IArtifacts::unwrap)) + cdkBuilder.secondaryArtifacts(secondaryArtifacts.map(IArtifacts.Companion::unwrap)) } /** @@ -1547,7 +1549,7 @@ public open class Project( * @param secondarySources The secondary sources for the Project. */ override fun secondarySources(secondarySources: List) { - cdkBuilder.secondarySources(secondarySources.map(ISource::unwrap)) + cdkBuilder.secondarySources(secondarySources.map(ISource.Companion::unwrap)) } /** @@ -1577,7 +1579,7 @@ public open class Project( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1606,7 +1608,7 @@ public open class Project( * @param source The source of the build. */ override fun source(source: ISource) { - cdkBuilder.source(source.let(ISource::unwrap)) + cdkBuilder.source(source.let(ISource.Companion::unwrap)) } /** @@ -1662,7 +1664,7 @@ public open class Project( * @param subnetSelection Where to place the network interfaces within the VPC. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -1707,7 +1709,7 @@ public open class Project( * complete. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1720,7 +1722,7 @@ public open class Project( * @param vpc VPC network to place codebuild network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.Project = cdkBuilder.build() @@ -1732,7 +1734,7 @@ public open class Project( id: String, projectArn: String, ): IProject = - software.amazon.awscdk.services.codebuild.Project.fromProjectArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codebuild.Project.fromProjectArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, projectArn).let(IProject::wrap) public fun fromProjectName( @@ -1740,7 +1742,7 @@ public open class Project( id: String, projectName: String, ): IProject = - software.amazon.awscdk.services.codebuild.Project.fromProjectName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codebuild.Project.fromProjectName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, projectName).let(IProject::wrap) public fun serializeEnvVariables(environmentVariables: Map): @@ -1759,7 +1761,7 @@ public open class Project( ): List = software.amazon.awscdk.services.codebuild.Project.serializeEnvVariables(environmentVariables.mapValues{BuildEnvironmentVariable.unwrap(it.value)}, validateNoPlainTextSecrets, - principal.let(IGrantable::unwrap)).map(CfnProject.EnvironmentVariableProperty::wrap) + principal.let(IGrantable.Companion::unwrap)).map(CfnProject.EnvironmentVariableProperty::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectNotifyOnOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectNotifyOnOptions.kt index b29850a5bd..bbd7887fec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectNotifyOnOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectNotifyOnOptions.kt @@ -95,7 +95,7 @@ public interface ProjectNotifyOnOptions : NotificationRuleOptions { * the service for the resource for which the notification is created. */ override fun detailType(detailType: DetailType) { - cdkBuilder.detailType(detailType.let(DetailType::unwrap)) + cdkBuilder.detailType(detailType.let(DetailType.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface ProjectNotifyOnOptions : NotificationRuleOptions { * Console User Guide. */ override fun events(events: List) { - cdkBuilder.events(events.map(ProjectNotificationEvents::unwrap)) + cdkBuilder.events(events.map(ProjectNotificationEvents.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectProps.kt index f3e0129cea..16df02d089 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ProjectProps.kt @@ -376,7 +376,7 @@ public interface ProjectProps : CommonProjectProps { * Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts. */ override fun artifacts(artifacts: IArtifacts) { - cdkBuilder.artifacts(artifacts.let(IArtifacts::unwrap)) + cdkBuilder.artifacts(artifacts.let(IArtifacts.Companion::unwrap)) } /** @@ -393,14 +393,14 @@ public interface ProjectProps : CommonProjectProps { * @param buildSpec Filename or contents of buildspec in JSON format. */ override fun buildSpec(buildSpec: BuildSpec) { - cdkBuilder.buildSpec(buildSpec.let(BuildSpec::unwrap)) + cdkBuilder.buildSpec(buildSpec.let(BuildSpec.Companion::unwrap)) } /** * @param cache Caching strategy to use. */ override fun cache(cache: Cache) { - cdkBuilder.cache(cache.let(Cache::unwrap)) + cdkBuilder.cache(cache.let(Cache.Companion::unwrap)) } /** @@ -436,14 +436,14 @@ public interface ProjectProps : CommonProjectProps { * @param encryptionKey Encryption key to use to read and write artifacts. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** * @param environment Build environment to use for the build. */ override fun environment(environment: BuildEnvironment) { - cdkBuilder.environment(environment.let(BuildEnvironment::unwrap)) + cdkBuilder.environment(environment.let(BuildEnvironment.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public interface ProjectProps : CommonProjectProps { * and type of a file system created using Amazon Elastic File System. */ override fun fileSystemLocations(fileSystemLocations: List) { - cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.map(IFileSystemLocation.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public interface ProjectProps : CommonProjectProps { * A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -526,14 +526,14 @@ public interface ProjectProps : CommonProjectProps { * CodeBuild User Guide. */ override fun queuedTimeout(queuedTimeout: Duration) { - cdkBuilder.queuedTimeout(queuedTimeout.let(Duration::unwrap)) + cdkBuilder.queuedTimeout(queuedTimeout.let(Duration.Companion::unwrap)) } /** * @param role Service Role to assume while running the build. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public interface ProjectProps : CommonProjectProps { * `Project#addSecondaryArtifact` method. */ override fun secondaryArtifacts(secondaryArtifacts: List) { - cdkBuilder.secondaryArtifacts(secondaryArtifacts.map(IArtifacts::unwrap)) + cdkBuilder.secondaryArtifacts(secondaryArtifacts.map(IArtifacts.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface ProjectProps : CommonProjectProps { * `Project#addSecondarySource` method. */ override fun secondarySources(secondarySources: List) { - cdkBuilder.secondarySources(secondarySources.map(ISource::unwrap)) + cdkBuilder.secondarySources(secondarySources.map(ISource.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public interface ProjectProps : CommonProjectProps { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -597,7 +597,7 @@ public interface ProjectProps : CommonProjectProps { * then you need to provide an explicit `buildSpec`. */ override fun source(source: ISource) { - cdkBuilder.source(source.let(ISource::unwrap)) + cdkBuilder.source(source.let(ISource.Companion::unwrap)) } /** @@ -640,7 +640,7 @@ public interface ProjectProps : CommonProjectProps { * AWS service access, add VPC Endpoints to your private subnets. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public interface ProjectProps : CommonProjectProps { * CodeBuild User Guide. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public interface ProjectProps : CommonProjectProps { * Specify this if the codebuild project needs to access resources in a VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codebuild.ProjectProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroup.kt index bf15763c55..69b34031a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroup.kt @@ -38,7 +38,7 @@ public open class ReportGroup( cdkObject: software.amazon.awscdk.services.codebuild.ReportGroup, ) : Resource(cdkObject), IReportGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codebuild.ReportGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codebuild.ReportGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class ReportGroup( id: String, props: ReportGroupProps, ) : - this(software.amazon.awscdk.services.codebuild.ReportGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ReportGroupProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.ReportGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ReportGroupProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class ReportGroup( * @param identity */ public override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the ReportGroup. @@ -152,7 +152,7 @@ public open class ReportGroup( * @param exportBucket An optional S3 bucket to export the reports to. */ override fun exportBucket(exportBucket: IBucket) { - cdkBuilder.exportBucket(exportBucket.let(IBucket::unwrap)) + cdkBuilder.exportBucket(exportBucket.let(IBucket.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class ReportGroup( * @param removalPolicy What to do when this resource is deleted from a stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class ReportGroup( * @param type The type of report group. This can be one of the following values:. */ override fun type(type: ReportGroupType) { - cdkBuilder.type(type.let(ReportGroupType::unwrap)) + cdkBuilder.type(type.let(ReportGroupType.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class ReportGroup( id: String, reportGroupName: String, ): IReportGroup = - software.amazon.awscdk.services.codebuild.ReportGroup.fromReportGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codebuild.ReportGroup.fromReportGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, reportGroupName).let(IReportGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroupProps.kt index 444d4522a0..0c04672e24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/ReportGroupProps.kt @@ -125,7 +125,7 @@ public interface ReportGroupProps { * @param exportBucket An optional S3 bucket to export the reports to. */ override fun exportBucket(exportBucket: IBucket) { - cdkBuilder.exportBucket(exportBucket.let(IBucket::unwrap)) + cdkBuilder.exportBucket(exportBucket.let(IBucket.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public interface ReportGroupProps { * this is set to retain the resource by default. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface ReportGroupProps { * * **CODE_COVERAGE** - The report group contains code coverage reports. */ override fun type(type: ReportGroupType) { - cdkBuilder.type(type.let(ReportGroupType::unwrap)) + cdkBuilder.type(type.let(ReportGroupType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3ArtifactsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3ArtifactsProps.kt index 01668b9edc..247d7449bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3ArtifactsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3ArtifactsProps.kt @@ -146,7 +146,7 @@ public interface S3ArtifactsProps : ArtifactsProps { * @param bucket The name of the output bucket. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3LoggingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3LoggingOptions.kt index 7aca6bb4b4..a14eecd64a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3LoggingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3LoggingOptions.kt @@ -86,7 +86,7 @@ public interface S3LoggingOptions { * @param bucket The S3 Bucket to send logs to. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3SourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3SourceProps.kt index e99aedb3ff..a6153726a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3SourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/S3SourceProps.kt @@ -77,7 +77,7 @@ public interface S3SourceProps : SourceProps { * @param bucket the value to be set. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Source.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Source.kt index b48f43443e..09b7022ea5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Source.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/Source.kt @@ -44,8 +44,8 @@ public abstract class Source( * @param _project */ public override fun bind(scope: Construct, project: IProject): SourceConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - project.let(IProject::unwrap)).let(SourceConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + project.let(IProject.Companion::unwrap)).let(SourceConfig::wrap) /** * @@ -63,7 +63,7 @@ public abstract class Source( public companion object { public fun bitBucket(props: BitBucketSourceProps): ISource = - software.amazon.awscdk.services.codebuild.Source.bitBucket(props.let(BitBucketSourceProps::unwrap)).let(ISource::wrap) + software.amazon.awscdk.services.codebuild.Source.bitBucket(props.let(BitBucketSourceProps.Companion::unwrap)).let(ISource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5116059bbc47451de2e01d2a6f724939523526f59e93532d1a003d15006a8e66") @@ -71,7 +71,7 @@ public abstract class Source( bitBucket(BitBucketSourceProps(props)) public fun codeCommit(props: CodeCommitSourceProps): ISource = - software.amazon.awscdk.services.codebuild.Source.codeCommit(props.let(CodeCommitSourceProps::unwrap)).let(ISource::wrap) + software.amazon.awscdk.services.codebuild.Source.codeCommit(props.let(CodeCommitSourceProps.Companion::unwrap)).let(ISource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("80bf3256d8f763da0320b10525db36ac41235f6309467712063051ce296f1ffc") @@ -79,7 +79,7 @@ public abstract class Source( codeCommit(CodeCommitSourceProps(props)) public fun gitHub(props: GitHubSourceProps): ISource = - software.amazon.awscdk.services.codebuild.Source.gitHub(props.let(GitHubSourceProps::unwrap)).let(ISource::wrap) + software.amazon.awscdk.services.codebuild.Source.gitHub(props.let(GitHubSourceProps.Companion::unwrap)).let(ISource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e161e3dee71d59d02f86500f2c6a824e1e15b9105d2f6ad4f2668ef62823c967") @@ -87,7 +87,7 @@ public abstract class Source( gitHub(GitHubSourceProps(props)) public fun gitHubEnterprise(props: GitHubEnterpriseSourceProps): ISource = - software.amazon.awscdk.services.codebuild.Source.gitHubEnterprise(props.let(GitHubEnterpriseSourceProps::unwrap)).let(ISource::wrap) + software.amazon.awscdk.services.codebuild.Source.gitHubEnterprise(props.let(GitHubEnterpriseSourceProps.Companion::unwrap)).let(ISource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("decd211da0ec7146a3ae049ea4922ea246b9b85761fa5af69590c7cb69eeb38f") @@ -95,7 +95,7 @@ public abstract class Source( gitHubEnterprise(GitHubEnterpriseSourceProps(props)) public fun s3(props: S3SourceProps): ISource = - software.amazon.awscdk.services.codebuild.Source.s3(props.let(S3SourceProps::unwrap)).let(ISource::wrap) + software.amazon.awscdk.services.codebuild.Source.s3(props.let(S3SourceProps.Companion::unwrap)).let(ISource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("03362722aac8e057f9ef808655fbd859113ee7cfc1a10ebe0b08b1eb43675c62") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/SourceConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/SourceConfig.kt index 2c70ecde33..f3cbcaa329 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/SourceConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/SourceConfig.kt @@ -120,7 +120,7 @@ public interface SourceConfig { * @param buildTriggers the value to be set. */ override fun buildTriggers(buildTriggers: CfnProject.ProjectTriggersProperty) { - cdkBuilder.buildTriggers(buildTriggers.let(CfnProject.ProjectTriggersProperty::unwrap)) + cdkBuilder.buildTriggers(buildTriggers.let(CfnProject.ProjectTriggersProperty.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface SourceConfig { * @param sourceProperty the value to be set. */ override fun sourceProperty(sourceProperty: CfnProject.SourceProperty) { - cdkBuilder.sourceProperty(sourceProperty.let(CfnProject.SourceProperty::unwrap)) + cdkBuilder.sourceProperty(sourceProperty.let(CfnProject.SourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicy.kt index 66c70cbc4e..8f2ad35164 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicy.kt @@ -39,7 +39,7 @@ public open class UntrustedCodeBoundaryPolicy( cdkObject: software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicy, ) : ManagedPolicy(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -48,8 +48,8 @@ public open class UntrustedCodeBoundaryPolicy( id: String, props: UntrustedCodeBoundaryPolicyProps, ) : - this(software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UntrustedCodeBoundaryPolicyProps::unwrap)) + this(software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UntrustedCodeBoundaryPolicyProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class UntrustedCodeBoundaryPolicy( * @param additionalStatements Additional statements to add to the default set of statements. */ override fun additionalStatements(additionalStatements: List) { - cdkBuilder.additionalStatements(additionalStatements.map(PolicyStatement::unwrap)) + cdkBuilder.additionalStatements(additionalStatements.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicyProps.kt index 321eccd23f..094095dd98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/UntrustedCodeBoundaryPolicyProps.kt @@ -74,7 +74,7 @@ public interface UntrustedCodeBoundaryPolicyProps { * @param additionalStatements Additional statements to add to the default set of statements. */ override fun additionalStatements(additionalStatements: List) { - cdkBuilder.additionalStatements(additionalStatements.map(PolicyStatement::unwrap)) + cdkBuilder.additionalStatements(additionalStatements.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/WindowsBuildImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/WindowsBuildImage.kt index 286d66d936..18e95d438a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/WindowsBuildImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codebuild/WindowsBuildImage.kt @@ -94,7 +94,7 @@ public open class WindowsBuildImage( * @param buildEnvironment */ public override fun validate(buildEnvironment: BuildEnvironment): List = - unwrap(this).validate(buildEnvironment.let(BuildEnvironment::unwrap)) + unwrap(this).validate(buildEnvironment.let(BuildEnvironment.Companion::unwrap)) /** * Allows the image a chance to validate whether the passed configuration is correct. @@ -124,8 +124,8 @@ public open class WindowsBuildImage( id: String, props: DockerImageAssetProps, ): IBuildImage = - software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromAsset(scope.let(Construct::unwrap), - id, props.let(DockerImageAssetProps::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromAsset(scope.let(Construct.Companion::unwrap), + id, props.let(DockerImageAssetProps.Companion::unwrap)).let(IBuildImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("66f4338ab15382a1d0a2efb8183796cd48bca3922530d07a2c878008262c08ef") @@ -141,16 +141,16 @@ public open class WindowsBuildImage( props: DockerImageAssetProps, imageType: WindowsImageType, ): IBuildImage = - software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromAsset(scope.let(Construct::unwrap), - id, props.let(DockerImageAssetProps::unwrap), - imageType.let(WindowsImageType::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromAsset(scope.let(Construct.Companion::unwrap), + id, props.let(DockerImageAssetProps.Companion::unwrap), + imageType.let(WindowsImageType.Companion::unwrap)).let(IBuildImage::wrap) public fun fromDockerRegistry(name: String): IBuildImage = software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromDockerRegistry(name).let(IBuildImage::wrap) public fun fromDockerRegistry(name: String, options: DockerImageOptions): IBuildImage = software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromDockerRegistry(name, - options.let(DockerImageOptions::unwrap)).let(IBuildImage::wrap) + options.let(DockerImageOptions.Companion::unwrap)).let(IBuildImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e9dfa00b9fda484ff06b60ab8b92ae7805fa8054bf1b7155a5e6cb7e59c4680f") @@ -163,14 +163,14 @@ public open class WindowsBuildImage( imageType: WindowsImageType, ): IBuildImage = software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromDockerRegistry(name, - options.let(DockerImageOptions::unwrap), - imageType.let(WindowsImageType::unwrap)).let(IBuildImage::wrap) + options.let(DockerImageOptions.Companion::unwrap), + imageType.let(WindowsImageType.Companion::unwrap)).let(IBuildImage::wrap) public fun fromEcrRepository(repository: IRepository): IBuildImage = - software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromEcrRepository(repository.let(IRepository::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap)).let(IBuildImage::wrap) public fun fromEcrRepository(repository: IRepository, tagOrDigest: String): IBuildImage = - software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromEcrRepository(repository.let(IRepository::unwrap), + software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), tagOrDigest).let(IBuildImage::wrap) public fun fromEcrRepository( @@ -178,8 +178,8 @@ public open class WindowsBuildImage( tagOrDigest: String, imageType: WindowsImageType, ): IBuildImage = - software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromEcrRepository(repository.let(IRepository::unwrap), - tagOrDigest, imageType.let(WindowsImageType::unwrap)).let(IBuildImage::wrap) + software.amazon.awscdk.services.codebuild.WindowsBuildImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), + tagOrDigest, imageType.let(WindowsImageType.Companion::unwrap)).let(IBuildImage::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codebuild.WindowsBuildImage): WindowsBuildImage = WindowsBuildImage(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepository.kt index 74a2df9b8a..ecfd106b30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepository.kt @@ -69,8 +69,8 @@ public open class CfnRepository( id: String, props: CfnRepositoryProps, ) : - this(software.amazon.awscdk.services.codecommit.CfnRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRepositoryProps::unwrap)) + this(software.amazon.awscdk.services.codecommit.CfnRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRepositoryProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnRepository( * CloudFormation stack. */ public open fun code(`value`: IResolvable) { - unwrap(this).setCode(`value`.let(IResolvable::unwrap)) + unwrap(this).setCode(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnRepository( * CloudFormation stack. */ public open fun code(`value`: CodeProperty) { - unwrap(this).setCode(`value`.let(CodeProperty::unwrap)) + unwrap(this).setCode(`value`.let(CodeProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnRepository( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnRepository( * One or more tag key-value pairs to use when tagging this repository. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnRepository( * The JSON block of configuration information for each trigger. */ public open fun triggers(`value`: IResolvable) { - unwrap(this).setTriggers(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnRepository( * AWS CloudFormation stack. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class CfnRepository( * AWS CloudFormation stack. */ override fun code(code: CodeProperty) { - cdkBuilder.code(code.let(CodeProperty::unwrap)) + cdkBuilder.code(code.let(CodeProperty.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnRepository( * @param tags One or more tag key-value pairs to use when tagging this repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public open class CfnRepository( * @param triggers The JSON block of configuration information for each trigger. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -687,7 +687,7 @@ public open class CfnRepository( * Changes to this property are ignored after initial resource creation. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class CfnRepository( * Changes to this property are ignored after initial resource creation. */ override fun s3(s3: S3Property) { - cdkBuilder.s3(s3.let(S3Property::unwrap)) + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepositoryProps.kt index 7cf626d48e..4d89146843 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CfnRepositoryProps.kt @@ -248,7 +248,7 @@ public interface CfnRepositoryProps { * existing repository. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface CfnRepositoryProps { * existing repository. */ override fun code(code: CfnRepository.CodeProperty) { - cdkBuilder.code(code.let(CfnRepository.CodeProperty::unwrap)) + cdkBuilder.code(code.let(CfnRepository.CodeProperty.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface CfnRepositoryProps { * @param tags One or more tag key-value pairs to use when tagging this repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface CfnRepositoryProps { * @param triggers The JSON block of configuration information for each trigger. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Code.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Code.kt index a3cf6c01af..e06b18c153 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Code.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Code.kt @@ -30,7 +30,7 @@ public abstract class Code( * @param scope the binding scope. */ public open fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.codecommit.Code, @@ -38,10 +38,10 @@ public abstract class Code( public companion object { public fun fromAsset(asset: Asset): Code = - software.amazon.awscdk.services.codecommit.Code.fromAsset(asset.let(Asset::unwrap)).let(Code::wrap) + software.amazon.awscdk.services.codecommit.Code.fromAsset(asset.let(Asset.Companion::unwrap)).let(Code::wrap) public fun fromAsset(asset: Asset, branch: String): Code = - software.amazon.awscdk.services.codecommit.Code.fromAsset(asset.let(Asset::unwrap), + software.amazon.awscdk.services.codecommit.Code.fromAsset(asset.let(Asset.Companion::unwrap), branch).let(Code::wrap) public fun fromDirectory(directoryPath: String): Code = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CodeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CodeConfig.kt index 710396b1af..e9c8f71959 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CodeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/CodeConfig.kt @@ -63,7 +63,7 @@ public interface CodeConfig { * @param code represents the underlying code structure. */ override fun code(code: CfnRepository.CodeProperty) { - cdkBuilder.code(code.let(CfnRepository.CodeProperty::unwrap)) + cdkBuilder.code(code.let(CfnRepository.CodeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/IRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/IRepository.kt index 7578ac5827..15b9ae0a54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/IRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/IRepository.kt @@ -664,7 +664,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param scope */ override fun bindAsNotificationRuleSource(scope: Construct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(Construct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(Construct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) /** * The environment this resource belongs to. @@ -694,7 +694,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -703,7 +703,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param grantee */ override fun grantPull(grantee: IGrantable): Grant = - unwrap(this).grantPull(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPull(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to pull and push this repository. @@ -711,7 +711,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param grantee */ override fun grantPullPush(grantee: IGrantable): Grant = - unwrap(this).grantPullPush(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPullPush(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to read this repository. @@ -719,7 +719,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param grantee */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) @@ -739,8 +739,9 @@ public interface IRepository : IResource, INotificationRuleSource { id: String, target: INotificationRuleTarget, options: RepositoryNotifyOnOptions, - ): INotificationRule = unwrap(this).notifyOn(id, target.let(INotificationRuleTarget::unwrap), - options.let(RepositoryNotifyOnOptions::unwrap)).let(INotificationRule::wrap) + ): INotificationRule = unwrap(this).notifyOn(id, + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(RepositoryNotifyOnOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule triggered when the project events specified by you are @@ -771,7 +772,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnApprovalRuleOverridden(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnApprovalRuleOverridden(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval rule is overridden. @@ -785,8 +786,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnApprovalRuleOverridden(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval rule is overridden. @@ -813,7 +814,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnApprovalStatusChanged(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnApprovalStatusChanged(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval status is changed. @@ -827,8 +828,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnApprovalStatusChanged(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval status is changed. @@ -855,7 +856,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnBranchOrTagCreated(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBranchOrTagCreated(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a new branch or tag is created. @@ -869,8 +870,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBranchOrTagCreated(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a new branch or tag is created. @@ -896,7 +897,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnBranchOrTagDeleted(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBranchOrTagDeleted(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a branch or tag is deleted. @@ -910,8 +911,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBranchOrTagDeleted(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a branch or tag is deleted. @@ -937,7 +938,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnPullRequestComment(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnPullRequestComment(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a comment is made on a pull request. @@ -951,8 +952,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnPullRequestComment(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a comment is made on a pull request. @@ -978,7 +979,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnPullRequestCreated(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnPullRequestCreated(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is created. @@ -992,8 +993,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnPullRequestCreated(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is created. @@ -1019,7 +1020,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun notifyOnPullRequestMerged(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnPullRequestMerged(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -1033,8 +1034,8 @@ public interface IRepository : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnPullRequestMerged(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -1067,7 +1068,8 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onCommentOnCommit(id: String, options: OnEventOptions): Rule = - unwrap(this).onCommentOnCommit(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCommentOnCommit(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a comment is made on a commit. @@ -1096,7 +1098,8 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onCommentOnPullRequest(id: String, options: OnEventOptions): Rule = - unwrap(this).onCommentOnPullRequest(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCommentOnPullRequest(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a comment is made on a pull request. @@ -1124,7 +1127,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onCommit(id: String, options: OnCommitOptions): Rule = unwrap(this).onCommit(id, - options.let(OnCommitOptions::unwrap)).let(Rule::wrap) + options.let(OnCommitOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a commit is pushed to a branch. @@ -1158,7 +1161,7 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers for repository events. @@ -1191,7 +1194,7 @@ public interface IRepository : IResource, INotificationRuleSource { */ override fun onPullRequestStateChange(id: String, options: OnEventOptions): Rule = unwrap(this).onPullRequestStateChange(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a pull request state is changed. @@ -1222,7 +1225,8 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onReferenceCreated(id: String, options: OnEventOptions): Rule = - unwrap(this).onReferenceCreated(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReferenceCreated(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a reference is created (i.e. a new @@ -1254,7 +1258,8 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onReferenceDeleted(id: String, options: OnEventOptions): Rule = - unwrap(this).onReferenceDeleted(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReferenceDeleted(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a reference is delete (i.e. a branch/tag @@ -1286,7 +1291,8 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onReferenceUpdated(id: String, options: OnEventOptions): Rule = - unwrap(this).onReferenceUpdated(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReferenceUpdated(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a reference is updated (i.e. a commit is @@ -1317,7 +1323,8 @@ public interface IRepository : IResource, INotificationRuleSource { * @param options */ override fun onStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/OnCommitOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/OnCommitOptions.kt index fdc138d14a..d0ee7b47d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/OnCommitOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/OnCommitOptions.kt @@ -115,7 +115,7 @@ public interface OnCommitOptions : OnEventOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface OnCommitOptions : OnEventOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface OnCommitOptions : OnEventOptions { * @param target The target to register for the event. */ override fun target(target: IRuleTarget) { - cdkBuilder.target(target.let(IRuleTarget::unwrap)) + cdkBuilder.target(target.let(IRuleTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codecommit.OnCommitOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Repository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Repository.kt index 3ac55a5fa5..b8e8430fc2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Repository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/Repository.kt @@ -13,6 +13,7 @@ import io.cloudshiftdev.awscdk.services.events.OnEventOptions import io.cloudshiftdev.awscdk.services.events.Rule import io.cloudshiftdev.awscdk.services.iam.Grant import io.cloudshiftdev.awscdk.services.iam.IGrantable +import io.cloudshiftdev.awscdk.services.kms.IKey import kotlin.String import kotlin.Unit import kotlin.jvm.JvmName @@ -63,8 +64,8 @@ public open class Repository( id: String, props: RepositoryProps, ) : - this(software.amazon.awscdk.services.codecommit.Repository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RepositoryProps::unwrap)) + this(software.amazon.awscdk.services.codecommit.Repository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RepositoryProps.Companion::unwrap)) ) public constructor( @@ -81,7 +82,7 @@ public open class Repository( */ public override fun bindAsNotificationRuleSource(scope: CloudshiftdevConstructsConstruct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(CloudshiftdevConstructsConstruct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) /** * Grant the given principal identity permissions to perform the actions on this repository. @@ -90,8 +91,8 @@ public open class Repository( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant the given identity permissions to pull this repository. @@ -99,7 +100,7 @@ public open class Repository( * @param grantee */ public override fun grantPull(grantee: IGrantable): Grant = - unwrap(this).grantPull(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPull(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to pull and push this repository. @@ -107,7 +108,7 @@ public open class Repository( * @param grantee */ public override fun grantPullPush(grantee: IGrantable): Grant = - unwrap(this).grantPullPush(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPullPush(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to read this repository. @@ -115,7 +116,7 @@ public open class Repository( * @param grantee */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -126,7 +127,7 @@ public open class Repository( */ public open fun notifiyOnPullRequestMerged(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifiyOnPullRequestMerged(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -140,8 +141,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifiyOnPullRequestMerged(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -173,7 +174,8 @@ public open class Repository( * @param options Trigger options to run actions. */ public open fun notify(arn: String, options: RepositoryTriggerOptions): Repository = - unwrap(this).notify(arn, options.let(RepositoryTriggerOptions::unwrap)).let(Repository::wrap) + unwrap(this).notify(arn, + options.let(RepositoryTriggerOptions.Companion::unwrap)).let(Repository::wrap) /** * Create a trigger to notify another service to run actions on repository events. @@ -201,8 +203,9 @@ public open class Repository( id: String, target: INotificationRuleTarget, options: RepositoryNotifyOnOptions, - ): INotificationRule = unwrap(this).notifyOn(id, target.let(INotificationRuleTarget::unwrap), - options.let(RepositoryNotifyOnOptions::unwrap)).let(INotificationRule::wrap) + ): INotificationRule = unwrap(this).notifyOn(id, + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(RepositoryNotifyOnOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule triggered when the project events specified by you are @@ -232,7 +235,7 @@ public open class Repository( */ public override fun notifyOnApprovalRuleOverridden(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnApprovalRuleOverridden(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval rule is overridden. @@ -246,8 +249,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnApprovalRuleOverridden(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval rule is overridden. @@ -274,7 +277,7 @@ public open class Repository( */ public override fun notifyOnApprovalStatusChanged(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnApprovalStatusChanged(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval status is changed. @@ -288,8 +291,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnApprovalStatusChanged(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when an approval status is changed. @@ -315,7 +318,7 @@ public open class Repository( */ public override fun notifyOnBranchOrTagCreated(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBranchOrTagCreated(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a new branch or tag is created. @@ -329,8 +332,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBranchOrTagCreated(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a new branch or tag is created. @@ -356,7 +359,7 @@ public open class Repository( */ public override fun notifyOnBranchOrTagDeleted(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnBranchOrTagDeleted(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a branch or tag is deleted. @@ -370,8 +373,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnBranchOrTagDeleted(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a branch or tag is deleted. @@ -397,7 +400,7 @@ public open class Repository( */ public override fun notifyOnPullRequestComment(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnPullRequestComment(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a comment is made on a pull request. @@ -411,8 +414,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnPullRequestComment(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a comment is made on a pull request. @@ -438,7 +441,7 @@ public open class Repository( */ public override fun notifyOnPullRequestCreated(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnPullRequestCreated(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is created. @@ -452,8 +455,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnPullRequestCreated(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is created. @@ -479,7 +482,7 @@ public open class Repository( */ public override fun notifyOnPullRequestMerged(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnPullRequestMerged(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -493,8 +496,8 @@ public open class Repository( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnPullRequestMerged(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar Notification rule which triggers when a pull request is merged. @@ -527,7 +530,8 @@ public open class Repository( * @param options */ public override fun onCommentOnCommit(id: String, options: OnEventOptions): Rule = - unwrap(this).onCommentOnCommit(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCommentOnCommit(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a comment is made on a commit. @@ -556,7 +560,8 @@ public open class Repository( * @param options */ public override fun onCommentOnPullRequest(id: String, options: OnEventOptions): Rule = - unwrap(this).onCommentOnPullRequest(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCommentOnPullRequest(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a comment is made on a pull request. @@ -585,7 +590,7 @@ public open class Repository( * @param options */ public override fun onCommit(id: String, options: OnCommitOptions): Rule = - unwrap(this).onCommit(id, options.let(OnCommitOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCommit(id, options.let(OnCommitOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a commit is pushed to a branch. @@ -619,7 +624,7 @@ public open class Repository( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers for repository events. @@ -651,7 +656,8 @@ public open class Repository( * @param options */ public override fun onPullRequestStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onPullRequestStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onPullRequestStateChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a pull request state is changed. @@ -683,7 +689,8 @@ public open class Repository( * @param options */ public override fun onReferenceCreated(id: String, options: OnEventOptions): Rule = - unwrap(this).onReferenceCreated(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReferenceCreated(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a reference is created (i.e. a new @@ -715,7 +722,8 @@ public open class Repository( * @param options */ public override fun onReferenceDeleted(id: String, options: OnEventOptions): Rule = - unwrap(this).onReferenceDeleted(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReferenceDeleted(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a reference is delete (i.e. a branch/tag is @@ -747,7 +755,8 @@ public open class Repository( * @param options */ public override fun onReferenceUpdated(id: String, options: OnEventOptions): Rule = - unwrap(this).onReferenceUpdated(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReferenceUpdated(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a reference is updated (i.e. a commit is @@ -779,7 +788,7 @@ public open class Repository( * @param options */ public override fun onStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers when a "CodeCommit Repository State Change" @@ -849,6 +858,15 @@ public open class Repository( */ public fun description(description: String) + /** + * The customer managed key used to encrypt and decrypt the data in repository. + * + * Default: - Use an AWS managed key + * + * @param kmsKey The customer managed key used to encrypt and decrypt the data in repository. + */ + public fun kmsKey(kmsKey: IKey) + /** * Name of the repository. * @@ -874,7 +892,7 @@ public open class Repository( * @param code The contents with which to initialize the repository after it has been created. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -891,6 +909,17 @@ public open class Repository( cdkBuilder.description(description) } + /** + * The customer managed key used to encrypt and decrypt the data in repository. + * + * Default: - Use an AWS managed key + * + * @param kmsKey The customer managed key used to encrypt and decrypt the data in repository. + */ + override fun kmsKey(kmsKey: IKey) { + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) + } + /** * Name of the repository. * @@ -911,7 +940,7 @@ public open class Repository( id: String, repositoryArn: String, ): IRepository = - software.amazon.awscdk.services.codecommit.Repository.fromRepositoryArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codecommit.Repository.fromRepositoryArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, repositoryArn).let(IRepository::wrap) public fun fromRepositoryName( @@ -919,7 +948,7 @@ public open class Repository( id: String, repositoryName: String, ): IRepository = - software.amazon.awscdk.services.codecommit.Repository.fromRepositoryName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codecommit.Repository.fromRepositoryName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, repositoryName).let(IRepository::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryNotifyOnOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryNotifyOnOptions.kt index a2e346e983..edb67ace76 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryNotifyOnOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryNotifyOnOptions.kt @@ -96,7 +96,7 @@ public interface RepositoryNotifyOnOptions : NotificationRuleOptions { * the service for the resource for which the notification is created. */ override fun detailType(detailType: DetailType) { - cdkBuilder.detailType(detailType.let(DetailType::unwrap)) + cdkBuilder.detailType(detailType.let(DetailType.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface RepositoryNotifyOnOptions : NotificationRuleOptions { * Console User Guide. */ override fun events(events: List) { - cdkBuilder.events(events.map(RepositoryNotificationEvents::unwrap)) + cdkBuilder.events(events.map(RepositoryNotificationEvents.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryProps.kt index beabd2d4c9..518667e5a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryProps.kt @@ -5,6 +5,7 @@ package io.cloudshiftdev.awscdk.services.codecommit import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import io.cloudshiftdev.awscdk.services.kms.IKey import kotlin.String import kotlin.Unit @@ -12,47 +13,33 @@ import kotlin.Unit * Example: * * ``` - * // Source stage: read from repository - * Repository repo = Repository.Builder.create(stack, "TemplateRepo") - * .repositoryName("template-repo") + * PipelineProject project; + * Repository repository = Repository.Builder.create(this, "MyRepository") + * .repositoryName("MyRepository") * .build(); - * Artifact sourceOutput = new Artifact("SourceArtifact"); - * CodeCommitSourceAction source = CodeCommitSourceAction.Builder.create() - * .actionName("Source") - * .repository(repo) + * PipelineProject project = new PipelineProject(this, "MyProject"); + * Artifact sourceOutput = new Artifact(); + * CodeCommitSourceAction sourceAction = CodeCommitSourceAction.Builder.create() + * .actionName("CodeCommit") + * .repository(repository) * .output(sourceOutput) - * .trigger(CodeCommitTrigger.POLL) * .build(); - * Map<String, Object> sourceStage = Map.of( - * "stageName", "Source", - * "actions", List.of(source)); - * // Deployment stage: create and deploy changeset with manual approval - * String stackName = "OurStack"; - * String changeSetName = "StagedChangeSet"; - * Map<String, Object> prodStage = Map.of( - * "stageName", "Deploy", - * "actions", List.of( - * CloudFormationCreateReplaceChangeSetAction.Builder.create() - * .actionName("PrepareChanges") - * .stackName(stackName) - * .changeSetName(changeSetName) - * .adminPermissions(true) - * .templatePath(sourceOutput.atPath("template.yaml")) - * .runOrder(1) - * .build(), - * ManualApprovalAction.Builder.create() - * .actionName("ApproveChanges") - * .runOrder(2) - * .build(), - * CloudFormationExecuteChangeSetAction.Builder.create() - * .actionName("ExecuteChanges") - * .stackName(stackName) - * .changeSetName(changeSetName) - * .runOrder(3) - * .build())); - * Pipeline.Builder.create(stack, "Pipeline") - * .crossAccountKeys(true) - * .stages(List.of(sourceStage, prodStage)) + * CodeBuildAction buildAction = CodeBuildAction.Builder.create() + * .actionName("CodeBuild") + * .project(project) + * .input(sourceOutput) + * .outputs(List.of(new Artifact())) // optional + * .executeBatchBuild(true) // optional, defaults to false + * .combineBatchBuildArtifacts(true) + * .build(); + * Pipeline.Builder.create(this, "MyPipeline") + * .stages(List.of(StageProps.builder() + * .stageName("Source") + * .actions(List.of(sourceAction)) + * .build(), StageProps.builder() + * .stageName("Build") + * .actions(List.of(buildAction)) + * .build())) * .build(); * ``` */ @@ -74,6 +61,13 @@ public interface RepositoryProps { */ public fun description(): String? = unwrap(this).getDescription() + /** + * The customer managed key used to encrypt and decrypt the data in repository. + * + * Default: - Use an AWS managed key + */ + public fun kmsKey(): IKey? = unwrap(this).getKmsKey()?.let(IKey::wrap) + /** * Name of the repository. * @@ -98,6 +92,11 @@ public interface RepositoryProps { */ public fun description(description: String) + /** + * @param kmsKey The customer managed key used to encrypt and decrypt the data in repository. + */ + public fun kmsKey(kmsKey: IKey) + /** * @param repositoryName Name of the repository. * This property is required for all CodeCommit repositories. @@ -113,7 +112,7 @@ public interface RepositoryProps { * @param code The contents with which to initialize the repository after it has been created. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -125,6 +124,13 @@ public interface RepositoryProps { cdkBuilder.description(description) } + /** + * @param kmsKey The customer managed key used to encrypt and decrypt the data in repository. + */ + override fun kmsKey(kmsKey: IKey) { + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) + } + /** * @param repositoryName Name of the repository. * This property is required for all CodeCommit repositories. @@ -157,6 +163,13 @@ public interface RepositoryProps { */ override fun description(): String? = unwrap(this).getDescription() + /** + * The customer managed key used to encrypt and decrypt the data in repository. + * + * Default: - Use an AWS managed key + */ + override fun kmsKey(): IKey? = unwrap(this).getKmsKey()?.let(IKey::wrap) + /** * Name of the repository. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryTriggerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryTriggerOptions.kt index 71a5983001..c107de2e6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryTriggerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codecommit/RepositoryTriggerOptions.kt @@ -139,7 +139,7 @@ public interface RepositoryTriggerOptions { * for all repository events. */ override fun events(events: List) { - cdkBuilder.events(events.map(RepositoryEventTrigger::unwrap)) + cdkBuilder.events(events.map(RepositoryEventTrigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnection.kt index b0de9d8722..87ccc3b676 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnection.kt @@ -49,8 +49,8 @@ public open class CfnConnection( id: String, props: CfnConnectionProps, ) : - this(software.amazon.awscdk.services.codeconnections.CfnConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectionProps::unwrap)) + this(software.amazon.awscdk.services.codeconnections.CfnConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectionProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnConnection( * Specifies the tags applied to a connection. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnConnection( * @param tags Specifies the tags applied to a connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnectionProps.kt index dc321e08ad..e665095eba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeconnections/CfnConnectionProps.kt @@ -129,7 +129,7 @@ public interface CfnConnectionProps { * @param tags Specifies the tags applied to a connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/AllAtOnceTrafficRouting.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/AllAtOnceTrafficRouting.kt index 5aaa9112d5..8828800b2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/AllAtOnceTrafficRouting.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/AllAtOnceTrafficRouting.kt @@ -28,7 +28,7 @@ public open class AllAtOnceTrafficRouting( * @param _scope */ public override fun bind(scope: Construct): TrafficRoutingConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(TrafficRoutingConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(TrafficRoutingConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseDeploymentConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseDeploymentConfigProps.kt index 58673adda5..e9fb1d97a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseDeploymentConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseDeploymentConfigProps.kt @@ -95,7 +95,7 @@ public interface BaseDeploymentConfigProps : BaseDeploymentConfigOptions { * @param computePlatform The destination compute platform for the deployment. */ override fun computePlatform(computePlatform: ComputePlatform) { - cdkBuilder.computePlatform(computePlatform.let(ComputePlatform::unwrap)) + cdkBuilder.computePlatform(computePlatform.let(ComputePlatform.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface BaseDeploymentConfigProps : BaseDeploymentConfigOptions { * @param minimumHealthyHosts Minimum number of healthy hosts. */ override fun minimumHealthyHosts(minimumHealthyHosts: MinimumHealthyHosts) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHosts::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHosts.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface BaseDeploymentConfigProps : BaseDeploymentConfigOptions { * deployments. */ override fun trafficRouting(trafficRouting: TrafficRouting) { - cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting::unwrap)) + cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.BaseDeploymentConfigProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseTrafficShiftingConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseTrafficShiftingConfigProps.kt index 9446ae061b..6067bfa4d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseTrafficShiftingConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/BaseTrafficShiftingConfigProps.kt @@ -62,7 +62,7 @@ public interface BaseTrafficShiftingConfigProps { * @param interval The amount of time between traffic shifts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplication.kt index f7304feef4..2880a57cae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplication.kt @@ -47,7 +47,7 @@ public open class CfnApplication( cdkObject: software.amazon.awscdk.services.codedeploy.CfnApplication, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +56,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.codedeploy.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnApplication( * them. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnApplication( * categorize them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplicationProps.kt index 9d8f26725b..d9395dff61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnApplicationProps.kt @@ -130,7 +130,7 @@ public interface CfnApplicationProps { * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfig.kt index 3c988ce11b..8d493faf0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfig.kt @@ -67,7 +67,7 @@ public open class CfnDeploymentConfig( cdkObject: software.amazon.awscdk.services.codedeploy.CfnDeploymentConfig, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.CfnDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.CfnDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -76,8 +76,8 @@ public open class CfnDeploymentConfig( id: String, props: CfnDeploymentConfigProps, ) : - this(software.amazon.awscdk.services.codedeploy.CfnDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentConfigProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.CfnDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentConfigProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnDeploymentConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnDeploymentConfig( * deployment. */ public open fun minimumHealthyHosts(`value`: IResolvable) { - unwrap(this).setMinimumHealthyHosts(`value`.let(IResolvable::unwrap)) + unwrap(this).setMinimumHealthyHosts(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnDeploymentConfig( * deployment. */ public open fun minimumHealthyHosts(`value`: MinimumHealthyHostsProperty) { - unwrap(this).setMinimumHealthyHosts(`value`.let(MinimumHealthyHostsProperty::unwrap)) + unwrap(this).setMinimumHealthyHosts(`value`.let(MinimumHealthyHostsProperty.Companion::unwrap)) } /** @@ -160,14 +160,14 @@ public open class CfnDeploymentConfig( * The configuration that specifies how the deployment traffic is routed. */ public open fun trafficRoutingConfig(`value`: IResolvable) { - unwrap(this).setTrafficRoutingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTrafficRoutingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration that specifies how the deployment traffic is routed. */ public open fun trafficRoutingConfig(`value`: TrafficRoutingConfigProperty) { - unwrap(this).setTrafficRoutingConfig(`value`.let(TrafficRoutingConfigProperty::unwrap)) + unwrap(this).setTrafficRoutingConfig(`value`.let(TrafficRoutingConfigProperty.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnDeploymentConfig( * at a time, within an AWS Region. */ public open fun zonalConfig(`value`: IResolvable) { - unwrap(this).setZonalConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setZonalConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnDeploymentConfig( * at a time, within an AWS Region. */ public open fun zonalConfig(`value`: ZonalConfigProperty) { - unwrap(this).setZonalConfig(`value`.let(ZonalConfigProperty::unwrap)) + unwrap(this).setZonalConfig(`value`.let(ZonalConfigProperty.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class CfnDeploymentConfig( * at any time during the deployment. */ override fun minimumHealthyHosts(minimumHealthyHosts: IResolvable) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(IResolvable::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(IResolvable.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnDeploymentConfig( * at any time during the deployment. */ override fun minimumHealthyHosts(minimumHealthyHosts: MinimumHealthyHostsProperty) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHostsProperty::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHostsProperty.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class CfnDeploymentConfig( * routed. */ override fun trafficRoutingConfig(trafficRoutingConfig: IResolvable) { - cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(IResolvable::unwrap)) + cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -584,7 +584,7 @@ public open class CfnDeploymentConfig( * routed. */ override fun trafficRoutingConfig(trafficRoutingConfig: TrafficRoutingConfigProperty) { - cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(TrafficRoutingConfigProperty::unwrap)) + cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(TrafficRoutingConfigProperty.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnDeploymentConfig( * at a time, within an AWS Region. */ override fun zonalConfig(zonalConfig: IResolvable) { - cdkBuilder.zonalConfig(zonalConfig.let(IResolvable::unwrap)) + cdkBuilder.zonalConfig(zonalConfig.let(IResolvable.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public open class CfnDeploymentConfig( * at a time, within an AWS Region. */ override fun zonalConfig(zonalConfig: ZonalConfigProperty) { - cdkBuilder.zonalConfig(zonalConfig.let(ZonalConfigProperty::unwrap)) + cdkBuilder.zonalConfig(zonalConfig.let(ZonalConfigProperty.Companion::unwrap)) } /** @@ -1382,7 +1382,7 @@ public open class CfnDeploymentConfig( * deployment's AppSpec file. */ override fun timeBasedCanary(timeBasedCanary: IResolvable) { - cdkBuilder.timeBasedCanary(timeBasedCanary.let(IResolvable::unwrap)) + cdkBuilder.timeBasedCanary(timeBasedCanary.let(IResolvable.Companion::unwrap)) } /** @@ -1392,7 +1392,7 @@ public open class CfnDeploymentConfig( * deployment's AppSpec file. */ override fun timeBasedCanary(timeBasedCanary: TimeBasedCanaryProperty) { - cdkBuilder.timeBasedCanary(timeBasedCanary.let(TimeBasedCanaryProperty::unwrap)) + cdkBuilder.timeBasedCanary(timeBasedCanary.let(TimeBasedCanaryProperty.Companion::unwrap)) } /** @@ -1414,7 +1414,7 @@ public open class CfnDeploymentConfig( * the deployment's AppSpec file. */ override fun timeBasedLinear(timeBasedLinear: IResolvable) { - cdkBuilder.timeBasedLinear(timeBasedLinear.let(IResolvable::unwrap)) + cdkBuilder.timeBasedLinear(timeBasedLinear.let(IResolvable.Companion::unwrap)) } /** @@ -1425,7 +1425,7 @@ public open class CfnDeploymentConfig( * the deployment's AppSpec file. */ override fun timeBasedLinear(timeBasedLinear: TimeBasedLinearProperty) { - cdkBuilder.timeBasedLinear(timeBasedLinear.let(TimeBasedLinearProperty::unwrap)) + cdkBuilder.timeBasedLinear(timeBasedLinear.let(TimeBasedLinearProperty.Companion::unwrap)) } /** @@ -1722,7 +1722,7 @@ public open class CfnDeploymentConfig( * in the *CodeDeploy User Guide* . */ override fun minimumHealthyHostsPerZone(minimumHealthyHostsPerZone: IResolvable) { - cdkBuilder.minimumHealthyHostsPerZone(minimumHealthyHostsPerZone.let(IResolvable::unwrap)) + cdkBuilder.minimumHealthyHostsPerZone(minimumHealthyHostsPerZone.let(IResolvable.Companion::unwrap)) } /** @@ -1742,7 +1742,7 @@ public open class CfnDeploymentConfig( */ override fun minimumHealthyHostsPerZone(minimumHealthyHostsPerZone: MinimumHealthyHostsPerZoneProperty) { - cdkBuilder.minimumHealthyHostsPerZone(minimumHealthyHostsPerZone.let(MinimumHealthyHostsPerZoneProperty::unwrap)) + cdkBuilder.minimumHealthyHostsPerZone(minimumHealthyHostsPerZone.let(MinimumHealthyHostsPerZoneProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfigProps.kt index 0e721280f5..35783bb326 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentConfigProps.kt @@ -339,7 +339,7 @@ public interface CfnDeploymentConfigProps { * AWS CodeDeploy User Guide. */ override fun minimumHealthyHosts(minimumHealthyHosts: IResolvable) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(IResolvable::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(IResolvable.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public interface CfnDeploymentConfigProps { */ override fun minimumHealthyHosts(minimumHealthyHosts: CfnDeploymentConfig.MinimumHealthyHostsProperty) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(CfnDeploymentConfig.MinimumHealthyHostsProperty::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(CfnDeploymentConfig.MinimumHealthyHostsProperty.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface CfnDeploymentConfigProps { * routed. */ override fun trafficRoutingConfig(trafficRoutingConfig: IResolvable) { - cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(IResolvable::unwrap)) + cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface CfnDeploymentConfigProps { */ override fun trafficRoutingConfig(trafficRoutingConfig: CfnDeploymentConfig.TrafficRoutingConfigProperty) { - cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(CfnDeploymentConfig.TrafficRoutingConfigProperty::unwrap)) + cdkBuilder.trafficRoutingConfig(trafficRoutingConfig.let(CfnDeploymentConfig.TrafficRoutingConfigProperty.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public interface CfnDeploymentConfigProps { * in the *CodeDeploy User Guide* . */ override fun zonalConfig(zonalConfig: IResolvable) { - cdkBuilder.zonalConfig(zonalConfig.let(IResolvable::unwrap)) + cdkBuilder.zonalConfig(zonalConfig.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface CfnDeploymentConfigProps { * in the *CodeDeploy User Guide* . */ override fun zonalConfig(zonalConfig: CfnDeploymentConfig.ZonalConfigProperty) { - cdkBuilder.zonalConfig(zonalConfig.let(CfnDeploymentConfig.ZonalConfigProperty::unwrap)) + cdkBuilder.zonalConfig(zonalConfig.let(CfnDeploymentConfig.ZonalConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroup.kt index 7b1337c15c..f99f850427 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroup.kt @@ -177,8 +177,8 @@ public open class CfnDeploymentGroup( id: String, props: CfnDeploymentGroupProps, ) : - this(software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentGroupProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentGroupProps.Companion::unwrap)) ) public constructor( @@ -197,14 +197,14 @@ public open class CfnDeploymentGroup( * Information about the Amazon CloudWatch alarms that are associated with the deployment group. */ public open fun alarmConfiguration(`value`: IResolvable) { - unwrap(this).setAlarmConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlarmConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the Amazon CloudWatch alarms that are associated with the deployment group. */ public open fun alarmConfiguration(`value`: AlarmConfigurationProperty) { - unwrap(this).setAlarmConfiguration(`value`.let(AlarmConfigurationProperty::unwrap)) + unwrap(this).setAlarmConfiguration(`value`.let(AlarmConfigurationProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnDeploymentGroup( * group. */ public open fun autoRollbackConfiguration(`value`: IResolvable) { - unwrap(this).setAutoRollbackConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoRollbackConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnDeploymentGroup( * group. */ public open fun autoRollbackConfiguration(`value`: AutoRollbackConfigurationProperty) { - unwrap(this).setAutoRollbackConfiguration(`value`.let(AutoRollbackConfigurationProperty::unwrap)) + unwrap(this).setAutoRollbackConfiguration(`value`.let(AutoRollbackConfigurationProperty.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnDeploymentGroup( * Information about blue/green deployment options for a deployment group. */ public open fun blueGreenDeploymentConfiguration(`value`: IResolvable) { - unwrap(this).setBlueGreenDeploymentConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlueGreenDeploymentConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public open class CfnDeploymentGroup( */ public open fun blueGreenDeploymentConfiguration(`value`: BlueGreenDeploymentConfigurationProperty) { - unwrap(this).setBlueGreenDeploymentConfiguration(`value`.let(BlueGreenDeploymentConfigurationProperty::unwrap)) + unwrap(this).setBlueGreenDeploymentConfiguration(`value`.let(BlueGreenDeploymentConfigurationProperty.Companion::unwrap)) } /** @@ -325,14 +325,14 @@ public open class CfnDeploymentGroup( * The application revision to deploy to this deployment group. */ public open fun deployment(`value`: IResolvable) { - unwrap(this).setDeployment(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeployment(`value`.let(IResolvable.Companion::unwrap)) } /** * The application revision to deploy to this deployment group. */ public open fun deployment(`value`: DeploymentProperty) { - unwrap(this).setDeployment(`value`.let(DeploymentProperty::unwrap)) + unwrap(this).setDeployment(`value`.let(DeploymentProperty.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnDeploymentGroup( * behind a load balancer. */ public open fun deploymentStyle(`value`: IResolvable) { - unwrap(this).setDeploymentStyle(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentStyle(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class CfnDeploymentGroup( * behind a load balancer. */ public open fun deploymentStyle(`value`: DeploymentStyleProperty) { - unwrap(this).setDeploymentStyle(`value`.let(DeploymentStyleProperty::unwrap)) + unwrap(this).setDeploymentStyle(`value`.let(DeploymentStyleProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnDeploymentGroup( * in the deployment group. */ public open fun ec2TagFilters(`value`: IResolvable) { - unwrap(this).setEc2TagFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setEc2TagFilters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -435,14 +435,14 @@ public open class CfnDeploymentGroup( * Information about groups of tags applied to Amazon EC2 instances. */ public open fun ec2TagSet(`value`: IResolvable) { - unwrap(this).setEc2TagSet(`value`.let(IResolvable::unwrap)) + unwrap(this).setEc2TagSet(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about groups of tags applied to Amazon EC2 instances. */ public open fun ec2TagSet(`value`: EC2TagSetProperty) { - unwrap(this).setEc2TagSet(`value`.let(EC2TagSetProperty::unwrap)) + unwrap(this).setEc2TagSet(`value`.let(EC2TagSetProperty.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnDeploymentGroup( * The target Amazon ECS services in the deployment group. */ public open fun ecsServices(`value`: IResolvable) { - unwrap(this).setEcsServices(`value`.let(IResolvable::unwrap)) + unwrap(this).setEcsServices(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnDeploymentGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -495,14 +495,14 @@ public open class CfnDeploymentGroup( * Information about the load balancer to use in a deployment. */ public open fun loadBalancerInfo(`value`: IResolvable) { - unwrap(this).setLoadBalancerInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoadBalancerInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the load balancer to use in a deployment. */ public open fun loadBalancerInfo(`value`: LoadBalancerInfoProperty) { - unwrap(this).setLoadBalancerInfo(`value`.let(LoadBalancerInfoProperty::unwrap)) + unwrap(this).setLoadBalancerInfo(`value`.let(LoadBalancerInfoProperty.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnDeploymentGroup( * in the deployment group. */ public open fun onPremisesInstanceTagFilters(`value`: IResolvable) { - unwrap(this).setOnPremisesInstanceTagFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnPremisesInstanceTagFilters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -552,14 +552,14 @@ public open class CfnDeploymentGroup( * Information about groups of tags applied to on-premises instances. */ public open fun onPremisesTagSet(`value`: IResolvable) { - unwrap(this).setOnPremisesTagSet(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnPremisesTagSet(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about groups of tags applied to on-premises instances. */ public open fun onPremisesTagSet(`value`: OnPremisesTagSetProperty) { - unwrap(this).setOnPremisesTagSet(`value`.let(OnPremisesTagSetProperty::unwrap)) + unwrap(this).setOnPremisesTagSet(`value`.let(OnPremisesTagSetProperty.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class CfnDeploymentGroup( * them. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public open class CfnDeploymentGroup( * hook into an Auto Scaling group. */ public open fun terminationHookEnabled(`value`: IResolvable) { - unwrap(this).setTerminationHookEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTerminationHookEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnDeploymentGroup( * Information about triggers associated with the deployment group. */ public open fun triggerConfigurations(`value`: IResolvable) { - unwrap(this).setTriggerConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggerConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1334,7 +1334,7 @@ public open class CfnDeploymentGroup( * with the deployment group. */ override fun alarmConfiguration(alarmConfiguration: IResolvable) { - cdkBuilder.alarmConfiguration(alarmConfiguration.let(IResolvable::unwrap)) + cdkBuilder.alarmConfiguration(alarmConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1345,7 +1345,7 @@ public open class CfnDeploymentGroup( * with the deployment group. */ override fun alarmConfiguration(alarmConfiguration: AlarmConfigurationProperty) { - cdkBuilder.alarmConfiguration(alarmConfiguration.let(AlarmConfigurationProperty::unwrap)) + cdkBuilder.alarmConfiguration(alarmConfiguration.let(AlarmConfigurationProperty.Companion::unwrap)) } /** @@ -1383,7 +1383,7 @@ public open class CfnDeploymentGroup( * is associated with the deployment group. */ override fun autoRollbackConfiguration(autoRollbackConfiguration: IResolvable) { - cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1398,7 +1398,7 @@ public open class CfnDeploymentGroup( */ override fun autoRollbackConfiguration(autoRollbackConfiguration: AutoRollbackConfigurationProperty) { - cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(AutoRollbackConfigurationProperty::unwrap)) + cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(AutoRollbackConfigurationProperty.Companion::unwrap)) } /** @@ -1453,7 +1453,7 @@ public open class CfnDeploymentGroup( * deployment group. */ override fun blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration: IResolvable) { - cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1465,7 +1465,7 @@ public open class CfnDeploymentGroup( */ override fun blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration: BlueGreenDeploymentConfigurationProperty) { - cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(BlueGreenDeploymentConfigurationProperty::unwrap)) + cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(BlueGreenDeploymentConfigurationProperty.Companion::unwrap)) } /** @@ -1493,7 +1493,7 @@ public open class CfnDeploymentGroup( * @param deployment The application revision to deploy to this deployment group. */ override fun deployment(deployment: IResolvable) { - cdkBuilder.deployment(deployment.let(IResolvable::unwrap)) + cdkBuilder.deployment(deployment.let(IResolvable.Companion::unwrap)) } /** @@ -1507,7 +1507,7 @@ public open class CfnDeploymentGroup( * @param deployment The application revision to deploy to this deployment group. */ override fun deployment(deployment: DeploymentProperty) { - cdkBuilder.deployment(deployment.let(DeploymentProperty::unwrap)) + cdkBuilder.deployment(deployment.let(DeploymentProperty.Companion::unwrap)) } /** @@ -1584,7 +1584,7 @@ public open class CfnDeploymentGroup( * route deployment traffic behind a load balancer. */ override fun deploymentStyle(deploymentStyle: IResolvable) { - cdkBuilder.deploymentStyle(deploymentStyle.let(IResolvable::unwrap)) + cdkBuilder.deploymentStyle(deploymentStyle.let(IResolvable.Companion::unwrap)) } /** @@ -1608,7 +1608,7 @@ public open class CfnDeploymentGroup( * route deployment traffic behind a load balancer. */ override fun deploymentStyle(deploymentStyle: DeploymentStyleProperty) { - cdkBuilder.deploymentStyle(deploymentStyle.let(DeploymentStyleProperty::unwrap)) + cdkBuilder.deploymentStyle(deploymentStyle.let(DeploymentStyleProperty.Companion::unwrap)) } /** @@ -1650,7 +1650,7 @@ public open class CfnDeploymentGroup( * that you want to include in the deployment group. */ override fun ec2TagFilters(ec2TagFilters: IResolvable) { - cdkBuilder.ec2TagFilters(ec2TagFilters.let(IResolvable::unwrap)) + cdkBuilder.ec2TagFilters(ec2TagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -1696,7 +1696,7 @@ public open class CfnDeploymentGroup( * @param ec2TagSet Information about groups of tags applied to Amazon EC2 instances. */ override fun ec2TagSet(ec2TagSet: IResolvable) { - cdkBuilder.ec2TagSet(ec2TagSet.let(IResolvable::unwrap)) + cdkBuilder.ec2TagSet(ec2TagSet.let(IResolvable.Companion::unwrap)) } /** @@ -1709,7 +1709,7 @@ public open class CfnDeploymentGroup( * @param ec2TagSet Information about groups of tags applied to Amazon EC2 instances. */ override fun ec2TagSet(ec2TagSet: EC2TagSetProperty) { - cdkBuilder.ec2TagSet(ec2TagSet.let(EC2TagSetProperty::unwrap)) + cdkBuilder.ec2TagSet(ec2TagSet.let(EC2TagSetProperty.Companion::unwrap)) } /** @@ -1737,7 +1737,7 @@ public open class CfnDeploymentGroup( * @param ecsServices The target Amazon ECS services in the deployment group. */ override fun ecsServices(ecsServices: IResolvable) { - cdkBuilder.ecsServices(ecsServices.let(IResolvable::unwrap)) + cdkBuilder.ecsServices(ecsServices.let(IResolvable.Companion::unwrap)) } /** @@ -1777,7 +1777,7 @@ public open class CfnDeploymentGroup( * @param loadBalancerInfo Information about the load balancer to use in a deployment. */ override fun loadBalancerInfo(loadBalancerInfo: IResolvable) { - cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(IResolvable.Companion::unwrap)) } /** @@ -1791,7 +1791,7 @@ public open class CfnDeploymentGroup( * @param loadBalancerInfo Information about the load balancer to use in a deployment. */ override fun loadBalancerInfo(loadBalancerInfo: LoadBalancerInfoProperty) { - cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(LoadBalancerInfoProperty::unwrap)) + cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(LoadBalancerInfoProperty.Companion::unwrap)) } /** @@ -1826,7 +1826,7 @@ public open class CfnDeploymentGroup( * on-premises instances that you want to include in the deployment group. */ override fun onPremisesInstanceTagFilters(onPremisesInstanceTagFilters: IResolvable) { - cdkBuilder.onPremisesInstanceTagFilters(onPremisesInstanceTagFilters.let(IResolvable::unwrap)) + cdkBuilder.onPremisesInstanceTagFilters(onPremisesInstanceTagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -1879,7 +1879,7 @@ public open class CfnDeploymentGroup( * @param onPremisesTagSet Information about groups of tags applied to on-premises instances. */ override fun onPremisesTagSet(onPremisesTagSet: IResolvable) { - cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(IResolvable::unwrap)) + cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(IResolvable.Companion::unwrap)) } /** @@ -1893,7 +1893,7 @@ public open class CfnDeploymentGroup( * @param onPremisesTagSet Information about groups of tags applied to on-premises instances. */ override fun onPremisesTagSet(onPremisesTagSet: OnPremisesTagSetProperty) { - cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(OnPremisesTagSetProperty::unwrap)) + cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(OnPremisesTagSetProperty.Companion::unwrap)) } /** @@ -1964,7 +1964,7 @@ public open class CfnDeploymentGroup( * and categorize them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2008,7 +2008,7 @@ public open class CfnDeploymentGroup( * CodeDeploy install a termination hook into an Auto Scaling group. */ override fun terminationHookEnabled(terminationHookEnabled: IResolvable) { - cdkBuilder.terminationHookEnabled(terminationHookEnabled.let(IResolvable::unwrap)) + cdkBuilder.terminationHookEnabled(terminationHookEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2021,7 +2021,7 @@ public open class CfnDeploymentGroup( * */ override fun triggerConfigurations(triggerConfigurations: IResolvable) { - cdkBuilder.triggerConfigurations(triggerConfigurations.let(IResolvable::unwrap)) + cdkBuilder.triggerConfigurations(triggerConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -2200,7 +2200,7 @@ public open class CfnDeploymentGroup( * A maximum of 10 alarms can be added. */ override fun alarms(alarms: IResolvable) { - cdkBuilder.alarms(alarms.let(IResolvable::unwrap)) + cdkBuilder.alarms(alarms.let(IResolvable.Companion::unwrap)) } /** @@ -2228,7 +2228,7 @@ public open class CfnDeploymentGroup( * @param enabled Indicates whether the alarm configuration is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2256,7 +2256,7 @@ public open class CfnDeploymentGroup( * CloudWatch . */ override fun ignorePollAlarmFailure(ignorePollAlarmFailure: IResolvable) { - cdkBuilder.ignorePollAlarmFailure(ignorePollAlarmFailure.let(IResolvable::unwrap)) + cdkBuilder.ignorePollAlarmFailure(ignorePollAlarmFailure.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2507,7 +2507,7 @@ public open class CfnDeploymentGroup( * enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2707,7 +2707,7 @@ public open class CfnDeploymentGroup( * instances are ready to receive traffic in a blue/green deployment. */ override fun deploymentReadyOption(deploymentReadyOption: IResolvable) { - cdkBuilder.deploymentReadyOption(deploymentReadyOption.let(IResolvable::unwrap)) + cdkBuilder.deploymentReadyOption(deploymentReadyOption.let(IResolvable.Companion::unwrap)) } /** @@ -2715,7 +2715,7 @@ public open class CfnDeploymentGroup( * instances are ready to receive traffic in a blue/green deployment. */ override fun deploymentReadyOption(deploymentReadyOption: DeploymentReadyOptionProperty) { - cdkBuilder.deploymentReadyOption(deploymentReadyOption.let(DeploymentReadyOptionProperty::unwrap)) + cdkBuilder.deploymentReadyOption(deploymentReadyOption.let(DeploymentReadyOptionProperty.Companion::unwrap)) } /** @@ -2733,7 +2733,7 @@ public open class CfnDeploymentGroup( * replacement environment in a blue/green deployment. */ override fun greenFleetProvisioningOption(greenFleetProvisioningOption: IResolvable) { - cdkBuilder.greenFleetProvisioningOption(greenFleetProvisioningOption.let(IResolvable::unwrap)) + cdkBuilder.greenFleetProvisioningOption(greenFleetProvisioningOption.let(IResolvable.Companion::unwrap)) } /** @@ -2742,7 +2742,7 @@ public open class CfnDeploymentGroup( */ override fun greenFleetProvisioningOption(greenFleetProvisioningOption: GreenFleetProvisioningOptionProperty) { - cdkBuilder.greenFleetProvisioningOption(greenFleetProvisioningOption.let(GreenFleetProvisioningOptionProperty::unwrap)) + cdkBuilder.greenFleetProvisioningOption(greenFleetProvisioningOption.let(GreenFleetProvisioningOptionProperty.Companion::unwrap)) } /** @@ -2762,7 +2762,7 @@ public open class CfnDeploymentGroup( */ override fun terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess: IResolvable) { - cdkBuilder.terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess.let(IResolvable::unwrap)) + cdkBuilder.terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess.let(IResolvable.Companion::unwrap)) } /** @@ -2771,7 +2771,7 @@ public open class CfnDeploymentGroup( */ override fun terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess: BlueInstanceTerminationOptionProperty) { - cdkBuilder.terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess.let(BlueInstanceTerminationOptionProperty::unwrap)) + cdkBuilder.terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess.let(BlueInstanceTerminationOptionProperty.Companion::unwrap)) } /** @@ -3232,7 +3232,7 @@ public open class CfnDeploymentGroup( * ignored. */ override fun ignoreApplicationStopFailures(ignoreApplicationStopFailures: IResolvable) { - cdkBuilder.ignoreApplicationStopFailures(ignoreApplicationStopFailures.let(IResolvable::unwrap)) + cdkBuilder.ignoreApplicationStopFailures(ignoreApplicationStopFailures.let(IResolvable.Companion::unwrap)) } /** @@ -3240,7 +3240,7 @@ public open class CfnDeploymentGroup( * service from which to retrieve them. */ override fun revision(revision: IResolvable) { - cdkBuilder.revision(revision.let(IResolvable::unwrap)) + cdkBuilder.revision(revision.let(IResolvable.Companion::unwrap)) } /** @@ -3248,7 +3248,7 @@ public open class CfnDeploymentGroup( * service from which to retrieve them. */ override fun revision(revision: RevisionLocationProperty) { - cdkBuilder.revision(revision.let(RevisionLocationProperty::unwrap)) + cdkBuilder.revision(revision.let(RevisionLocationProperty.Companion::unwrap)) } /** @@ -3853,7 +3853,7 @@ public open class CfnDeploymentGroup( * tag groups in the list. */ override fun ec2TagGroup(ec2TagGroup: IResolvable) { - cdkBuilder.ec2TagGroup(ec2TagGroup.let(IResolvable::unwrap)) + cdkBuilder.ec2TagGroup(ec2TagGroup.let(IResolvable.Companion::unwrap)) } /** @@ -4003,7 +4003,7 @@ public open class CfnDeploymentGroup( * Duplicates are not allowed. */ override fun ec2TagSetList(ec2TagSetList: IResolvable) { - cdkBuilder.ec2TagSetList(ec2TagSetList.let(IResolvable::unwrap)) + cdkBuilder.ec2TagSetList(ec2TagSetList.let(IResolvable.Companion::unwrap)) } /** @@ -4723,7 +4723,7 @@ public open class CfnDeploymentGroup( * Balancers or Network Load Balancers, use the `targetGroupInfoList` array instead of this one. */ override fun elbInfoList(elbInfoList: IResolvable) { - cdkBuilder.elbInfoList(elbInfoList.let(IResolvable::unwrap)) + cdkBuilder.elbInfoList(elbInfoList.let(IResolvable.Companion::unwrap)) } /** @@ -4761,7 +4761,7 @@ public open class CfnDeploymentGroup( * Balancers, use the `elbInfoList` array instead of this one. */ override fun targetGroupInfoList(targetGroupInfoList: IResolvable) { - cdkBuilder.targetGroupInfoList(targetGroupInfoList.let(IResolvable::unwrap)) + cdkBuilder.targetGroupInfoList(targetGroupInfoList.let(IResolvable.Companion::unwrap)) } /** @@ -4796,7 +4796,7 @@ public open class CfnDeploymentGroup( * This is an array of `TargeGroupPairInfo` objects with a maximum size of one. */ override fun targetGroupPairInfoList(targetGroupPairInfoList: IResolvable) { - cdkBuilder.targetGroupPairInfoList(targetGroupPairInfoList.let(IResolvable::unwrap)) + cdkBuilder.targetGroupPairInfoList(targetGroupPairInfoList.let(IResolvable.Companion::unwrap)) } /** @@ -4949,7 +4949,7 @@ public open class CfnDeploymentGroup( * @param onPremisesTagGroup Information about groups of on-premises instance tags. */ override fun onPremisesTagGroup(onPremisesTagGroup: IResolvable) { - cdkBuilder.onPremisesTagGroup(onPremisesTagGroup.let(IResolvable::unwrap)) + cdkBuilder.onPremisesTagGroup(onPremisesTagGroup.let(IResolvable.Companion::unwrap)) } /** @@ -5099,7 +5099,7 @@ public open class CfnDeploymentGroup( * Duplicates are not allowed. */ override fun onPremisesTagSetList(onPremisesTagSetList: IResolvable) { - cdkBuilder.onPremisesTagSetList(onPremisesTagSetList.let(IResolvable::unwrap)) + cdkBuilder.onPremisesTagSetList(onPremisesTagSetList.let(IResolvable.Companion::unwrap)) } /** @@ -5287,7 +5287,7 @@ public open class CfnDeploymentGroup( * GitHub. */ override fun gitHubLocation(gitHubLocation: IResolvable) { - cdkBuilder.gitHubLocation(gitHubLocation.let(IResolvable::unwrap)) + cdkBuilder.gitHubLocation(gitHubLocation.let(IResolvable.Companion::unwrap)) } /** @@ -5295,7 +5295,7 @@ public open class CfnDeploymentGroup( * GitHub. */ override fun gitHubLocation(gitHubLocation: GitHubLocationProperty) { - cdkBuilder.gitHubLocation(gitHubLocation.let(GitHubLocationProperty::unwrap)) + cdkBuilder.gitHubLocation(gitHubLocation.let(GitHubLocationProperty.Companion::unwrap)) } /** @@ -5324,14 +5324,14 @@ public open class CfnDeploymentGroup( * @param s3Location Information about the location of a revision stored in Amazon S3. */ override fun s3Location(s3Location: IResolvable) { - cdkBuilder.s3Location(s3Location.let(IResolvable::unwrap)) + cdkBuilder.s3Location(s3Location.let(IResolvable.Companion::unwrap)) } /** * @param s3Location Information about the location of a revision stored in Amazon S3. */ override fun s3Location(s3Location: S3LocationProperty) { - cdkBuilder.s3Location(s3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.s3Location(s3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -6088,7 +6088,7 @@ public open class CfnDeploymentGroup( * an Amazon ECS deployment is complete. */ override fun prodTrafficRoute(prodTrafficRoute: IResolvable) { - cdkBuilder.prodTrafficRoute(prodTrafficRoute.let(IResolvable::unwrap)) + cdkBuilder.prodTrafficRoute(prodTrafficRoute.let(IResolvable.Companion::unwrap)) } /** @@ -6096,7 +6096,7 @@ public open class CfnDeploymentGroup( * an Amazon ECS deployment is complete. */ override fun prodTrafficRoute(prodTrafficRoute: TrafficRouteProperty) { - cdkBuilder.prodTrafficRoute(prodTrafficRoute.let(TrafficRouteProperty::unwrap)) + cdkBuilder.prodTrafficRoute(prodTrafficRoute.let(TrafficRouteProperty.Companion::unwrap)) } /** @@ -6114,7 +6114,7 @@ public open class CfnDeploymentGroup( * that serves traffic after the deployment is complete. */ override fun targetGroups(targetGroups: IResolvable) { - cdkBuilder.targetGroups(targetGroups.let(IResolvable::unwrap)) + cdkBuilder.targetGroups(targetGroups.let(IResolvable.Companion::unwrap)) } /** @@ -6140,7 +6140,7 @@ public open class CfnDeploymentGroup( * Validation can occur while test traffic is served during a deployment. */ override fun testTrafficRoute(testTrafficRoute: IResolvable) { - cdkBuilder.testTrafficRoute(testTrafficRoute.let(IResolvable::unwrap)) + cdkBuilder.testTrafficRoute(testTrafficRoute.let(IResolvable.Companion::unwrap)) } /** @@ -6149,7 +6149,7 @@ public open class CfnDeploymentGroup( * Validation can occur while test traffic is served during a deployment. */ override fun testTrafficRoute(testTrafficRoute: TrafficRouteProperty) { - cdkBuilder.testTrafficRoute(testTrafficRoute.let(TrafficRouteProperty::unwrap)) + cdkBuilder.testTrafficRoute(testTrafficRoute.let(TrafficRouteProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroupProps.kt index 43a123b5fe..ea1c0c37ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CfnDeploymentGroupProps.kt @@ -839,7 +839,7 @@ public interface CfnDeploymentGroupProps { * with the deployment group. */ override fun alarmConfiguration(alarmConfiguration: IResolvable) { - cdkBuilder.alarmConfiguration(alarmConfiguration.let(IResolvable::unwrap)) + cdkBuilder.alarmConfiguration(alarmConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -848,7 +848,7 @@ public interface CfnDeploymentGroupProps { */ override fun alarmConfiguration(alarmConfiguration: CfnDeploymentGroup.AlarmConfigurationProperty) { - cdkBuilder.alarmConfiguration(alarmConfiguration.let(CfnDeploymentGroup.AlarmConfigurationProperty::unwrap)) + cdkBuilder.alarmConfiguration(alarmConfiguration.let(CfnDeploymentGroup.AlarmConfigurationProperty.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public interface CfnDeploymentGroupProps { * If you specify this property, don't specify the `Deployment` property. */ override fun autoRollbackConfiguration(autoRollbackConfiguration: IResolvable) { - cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -885,7 +885,7 @@ public interface CfnDeploymentGroupProps { */ override fun autoRollbackConfiguration(autoRollbackConfiguration: CfnDeploymentGroup.AutoRollbackConfigurationProperty) { - cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(CfnDeploymentGroup.AutoRollbackConfigurationProperty::unwrap)) + cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(CfnDeploymentGroup.AutoRollbackConfigurationProperty.Companion::unwrap)) } /** @@ -922,7 +922,7 @@ public interface CfnDeploymentGroupProps { * deployment group. */ override fun blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration: IResolvable) { - cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public interface CfnDeploymentGroupProps { */ override fun blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration: CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty) { - cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty::unwrap)) + cdkBuilder.blueGreenDeploymentConfiguration(blueGreenDeploymentConfiguration.let(CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty.Companion::unwrap)) } /** @@ -952,7 +952,7 @@ public interface CfnDeploymentGroupProps { * `AutoRollbackConfiguration` property. */ override fun deployment(deployment: IResolvable) { - cdkBuilder.deployment(deployment.let(IResolvable::unwrap)) + cdkBuilder.deployment(deployment.let(IResolvable.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public interface CfnDeploymentGroupProps { * `AutoRollbackConfiguration` property. */ override fun deployment(deployment: CfnDeploymentGroup.DeploymentProperty) { - cdkBuilder.deployment(deployment.let(CfnDeploymentGroup.DeploymentProperty::unwrap)) + cdkBuilder.deployment(deployment.let(CfnDeploymentGroup.DeploymentProperty.Companion::unwrap)) } /** @@ -1020,7 +1020,7 @@ public interface CfnDeploymentGroupProps { * for more information. */ override fun deploymentStyle(deploymentStyle: IResolvable) { - cdkBuilder.deploymentStyle(deploymentStyle.let(IResolvable::unwrap)) + cdkBuilder.deploymentStyle(deploymentStyle.let(IResolvable.Companion::unwrap)) } /** @@ -1038,7 +1038,7 @@ public interface CfnDeploymentGroupProps { * for more information. */ override fun deploymentStyle(deploymentStyle: CfnDeploymentGroup.DeploymentStyleProperty) { - cdkBuilder.deploymentStyle(deploymentStyle.let(CfnDeploymentGroup.DeploymentStyleProperty::unwrap)) + cdkBuilder.deploymentStyle(deploymentStyle.let(CfnDeploymentGroup.DeploymentStyleProperty.Companion::unwrap)) } /** @@ -1070,7 +1070,7 @@ public interface CfnDeploymentGroupProps { * You can specify `EC2TagFilters` or `Ec2TagSet` , but not both. */ override fun ec2TagFilters(ec2TagFilters: IResolvable) { - cdkBuilder.ec2TagFilters(ec2TagFilters.let(IResolvable::unwrap)) + cdkBuilder.ec2TagFilters(ec2TagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -1102,7 +1102,7 @@ public interface CfnDeploymentGroupProps { * Cannot be used in the same call as `ec2TagFilter` . */ override fun ec2TagSet(ec2TagSet: IResolvable) { - cdkBuilder.ec2TagSet(ec2TagSet.let(IResolvable::unwrap)) + cdkBuilder.ec2TagSet(ec2TagSet.let(IResolvable.Companion::unwrap)) } /** @@ -1111,7 +1111,7 @@ public interface CfnDeploymentGroupProps { * Cannot be used in the same call as `ec2TagFilter` . */ override fun ec2TagSet(ec2TagSet: CfnDeploymentGroup.EC2TagSetProperty) { - cdkBuilder.ec2TagSet(ec2TagSet.let(CfnDeploymentGroup.EC2TagSetProperty::unwrap)) + cdkBuilder.ec2TagSet(ec2TagSet.let(CfnDeploymentGroup.EC2TagSetProperty.Companion::unwrap)) } /** @@ -1131,7 +1131,7 @@ public interface CfnDeploymentGroupProps { * `<clustername>:<servicename>` . */ override fun ecsServices(ecsServices: IResolvable) { - cdkBuilder.ecsServices(ecsServices.let(IResolvable::unwrap)) + cdkBuilder.ecsServices(ecsServices.let(IResolvable.Companion::unwrap)) } /** @@ -1159,7 +1159,7 @@ public interface CfnDeploymentGroupProps { * in the *AWS CodeDeploy User Guide* . */ override fun loadBalancerInfo(loadBalancerInfo: IResolvable) { - cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(IResolvable.Companion::unwrap)) } /** @@ -1169,7 +1169,7 @@ public interface CfnDeploymentGroupProps { * in the *AWS CodeDeploy User Guide* . */ override fun loadBalancerInfo(loadBalancerInfo: CfnDeploymentGroup.LoadBalancerInfoProperty) { - cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(CfnDeploymentGroup.LoadBalancerInfoProperty::unwrap)) + cdkBuilder.loadBalancerInfo(loadBalancerInfo.let(CfnDeploymentGroup.LoadBalancerInfoProperty.Companion::unwrap)) } /** @@ -1196,7 +1196,7 @@ public interface CfnDeploymentGroupProps { * You can specify `OnPremisesInstanceTagFilters` or `OnPremisesInstanceTagSet` , but not both. */ override fun onPremisesInstanceTagFilters(onPremisesInstanceTagFilters: IResolvable) { - cdkBuilder.onPremisesInstanceTagFilters(onPremisesInstanceTagFilters.let(IResolvable::unwrap)) + cdkBuilder.onPremisesInstanceTagFilters(onPremisesInstanceTagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -1235,7 +1235,7 @@ public interface CfnDeploymentGroupProps { * You can specify `OnPremisesInstanceTagFilters` or `OnPremisesInstanceTagSet` , but not both. */ override fun onPremisesTagSet(onPremisesTagSet: IResolvable) { - cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(IResolvable::unwrap)) + cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(IResolvable.Companion::unwrap)) } /** @@ -1245,7 +1245,7 @@ public interface CfnDeploymentGroupProps { * You can specify `OnPremisesInstanceTagFilters` or `OnPremisesInstanceTagSet` , but not both. */ override fun onPremisesTagSet(onPremisesTagSet: CfnDeploymentGroup.OnPremisesTagSetProperty) { - cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(CfnDeploymentGroup.OnPremisesTagSetProperty::unwrap)) + cdkBuilder.onPremisesTagSet(onPremisesTagSet.let(CfnDeploymentGroup.OnPremisesTagSetProperty.Companion::unwrap)) } /** @@ -1297,7 +1297,7 @@ public interface CfnDeploymentGroupProps { * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1326,7 +1326,7 @@ public interface CfnDeploymentGroupProps { * in the *AWS CodeDeploy User Guide* . */ override fun terminationHookEnabled(terminationHookEnabled: IResolvable) { - cdkBuilder.terminationHookEnabled(terminationHookEnabled.let(IResolvable::unwrap)) + cdkBuilder.terminationHookEnabled(terminationHookEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1334,7 +1334,7 @@ public interface CfnDeploymentGroupProps { * Duplicates are not allowed */ override fun triggerConfigurations(triggerConfigurations: IResolvable) { - cdkBuilder.triggerConfigurations(triggerConfigurations.let(IResolvable::unwrap)) + cdkBuilder.triggerConfigurations(triggerConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfig.kt index d332187a2c..14853c4c15 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfig.kt @@ -44,8 +44,8 @@ public open class CustomLambdaDeploymentConfig( id: String, props: CustomLambdaDeploymentConfigProps, ) : - this(software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CustomLambdaDeploymentConfigProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CustomLambdaDeploymentConfigProps.Companion::unwrap)) ) @Deprecated(message = "deprecated in CDK") @@ -162,7 +162,7 @@ public open class CustomLambdaDeploymentConfig( */ @Deprecated(message = "deprecated in CDK") override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CustomLambdaDeploymentConfig( */ @Deprecated(message = "deprecated in CDK") override fun type(type: CustomLambdaDeploymentConfigType) { - cdkBuilder.type(type.let(CustomLambdaDeploymentConfigType::unwrap)) + cdkBuilder.type(type.let(CustomLambdaDeploymentConfigType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfigProps.kt index 88a297fd1b..cea850a99c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/CustomLambdaDeploymentConfigProps.kt @@ -137,7 +137,7 @@ public interface CustomLambdaDeploymentConfigProps { */ @Deprecated(message = "deprecated in CDK") override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface CustomLambdaDeploymentConfigProps { */ @Deprecated(message = "deprecated in CDK") override fun type(type: CustomLambdaDeploymentConfigType) { - cdkBuilder.type(type.let(CustomLambdaDeploymentConfigType::unwrap)) + cdkBuilder.type(type.let(CustomLambdaDeploymentConfigType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfigProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsApplication.kt index 9bf2c4dbc0..17e136ba64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsApplication.kt @@ -24,7 +24,7 @@ public open class EcsApplication( cdkObject: software.amazon.awscdk.services.codedeploy.EcsApplication, ) : Resource(cdkObject), IEcsApplication { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.EcsApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.EcsApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -33,8 +33,8 @@ public open class EcsApplication( id: String, props: EcsApplicationProps, ) : - this(software.amazon.awscdk.services.codedeploy.EcsApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsApplicationProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.EcsApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsApplicationProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class EcsApplication( id: String, ecsApplicationArn: String, ): IEcsApplication = - software.amazon.awscdk.services.codedeploy.EcsApplication.fromEcsApplicationArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.EcsApplication.fromEcsApplicationArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, ecsApplicationArn).let(IEcsApplication::wrap) public fun fromEcsApplicationName( @@ -105,7 +105,7 @@ public open class EcsApplication( id: String, ecsApplicationName: String, ): IEcsApplication = - software.amazon.awscdk.services.codedeploy.EcsApplication.fromEcsApplicationName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.EcsApplication.fromEcsApplicationName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, ecsApplicationName).let(IEcsApplication::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsBlueGreenDeploymentConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsBlueGreenDeploymentConfig.kt index 53f7d6ed4b..fa8c7b7b16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsBlueGreenDeploymentConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsBlueGreenDeploymentConfig.kt @@ -224,7 +224,7 @@ public interface EcsBlueGreenDeploymentConfig { * during a blue-green deployment. */ override fun blueTargetGroup(blueTargetGroup: ITargetGroup) { - cdkBuilder.blueTargetGroup(blueTargetGroup.let(ITargetGroup::unwrap)) + cdkBuilder.blueTargetGroup(blueTargetGroup.let(ITargetGroup.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface EcsBlueGreenDeploymentConfig { * re-route production traffic to the 'green' ECS task set. */ override fun deploymentApprovalWaitTime(deploymentApprovalWaitTime: Duration) { - cdkBuilder.deploymentApprovalWaitTime(deploymentApprovalWaitTime.let(Duration::unwrap)) + cdkBuilder.deploymentApprovalWaitTime(deploymentApprovalWaitTime.let(Duration.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface EcsBlueGreenDeploymentConfig { * set during a blue-green deployment. */ override fun greenTargetGroup(greenTargetGroup: ITargetGroup) { - cdkBuilder.greenTargetGroup(greenTargetGroup.let(ITargetGroup::unwrap)) + cdkBuilder.greenTargetGroup(greenTargetGroup.let(ITargetGroup.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface EcsBlueGreenDeploymentConfig { * deployment. */ override fun listener(listener: IListener) { - cdkBuilder.listener(listener.let(IListener::unwrap)) + cdkBuilder.listener(listener.let(IListener.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public interface EcsBlueGreenDeploymentConfig { * routed to the 'green' ECS task set. */ override fun terminationWaitTime(terminationWaitTime: Duration) { - cdkBuilder.terminationWaitTime(terminationWaitTime.let(Duration::unwrap)) + cdkBuilder.terminationWaitTime(terminationWaitTime.let(Duration.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface EcsBlueGreenDeploymentConfig { * and will skip the AfterAllowTestTraffic hook. */ override fun testListener(testListener: IListener) { - cdkBuilder.testListener(testListener.let(IListener::unwrap)) + cdkBuilder.testListener(testListener.let(IListener.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.EcsBlueGreenDeploymentConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfig.kt index 3ca05d9e80..b2e3cc62ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfig.kt @@ -42,7 +42,7 @@ public open class EcsDeploymentConfig( cdkObject: software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig, ) : BaseDeploymentConfig(cdkObject), IEcsDeploymentConfig { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class EcsDeploymentConfig( id: String, props: EcsDeploymentConfigProps, ) : - this(software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsDeploymentConfigProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsDeploymentConfigProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class EcsDeploymentConfig( * target group to the 'green' target group during a deployment. */ override fun trafficRouting(trafficRouting: TrafficRouting) { - cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting::unwrap)) + cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig = @@ -146,7 +146,7 @@ public open class EcsDeploymentConfig( id: String, ecsDeploymentConfigName: String, ): IEcsDeploymentConfig = - software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig.fromEcsDeploymentConfigName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.EcsDeploymentConfig.fromEcsDeploymentConfigName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, ecsDeploymentConfigName).let(IEcsDeploymentConfig::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfigProps.kt index 934c2dcba3..a927b7fdeb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentConfigProps.kt @@ -68,7 +68,7 @@ public interface EcsDeploymentConfigProps : BaseDeploymentConfigOptions { * target group to the 'green' target group during a deployment. */ override fun trafficRouting(trafficRouting: TrafficRouting) { - cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting::unwrap)) + cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.EcsDeploymentConfigProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroup.kt index 032b1f69af..e0650657e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroup.kt @@ -53,8 +53,8 @@ public open class EcsDeploymentGroup( id: String, props: EcsDeploymentGroupProps, ) : - this(software.amazon.awscdk.services.codedeploy.EcsDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsDeploymentGroupProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.EcsDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsDeploymentGroupProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class EcsDeploymentGroup( * @param alarm the alarm to associate with this Deployment Group. */ public open fun addAlarm(alarm: IAlarm) { - unwrap(this).addAlarm(alarm.let(IAlarm::unwrap)) + unwrap(this).addAlarm(alarm.let(IAlarm.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class EcsDeploymentGroup( * @param alarms The CloudWatch alarms associated with this Deployment Group. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class EcsDeploymentGroup( * belongs to. */ override fun application(application: IEcsApplication) { - cdkBuilder.application(application.let(IEcsApplication::unwrap)) + cdkBuilder.application(application.let(IEcsApplication.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class EcsDeploymentGroup( * @param autoRollback The auto-rollback configuration for this Deployment Group. */ override fun autoRollback(autoRollback: AutoRollbackConfig) { - cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig::unwrap)) + cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class EcsDeploymentGroup( */ override fun blueGreenDeploymentConfig(blueGreenDeploymentConfig: EcsBlueGreenDeploymentConfig) { - cdkBuilder.blueGreenDeploymentConfig(blueGreenDeploymentConfig.let(EcsBlueGreenDeploymentConfig::unwrap)) + cdkBuilder.blueGreenDeploymentConfig(blueGreenDeploymentConfig.let(EcsBlueGreenDeploymentConfig.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class EcsDeploymentGroup( * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: IEcsDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IEcsDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IEcsDeploymentConfig.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class EcsDeploymentGroup( * @param role The service Role of this Deployment Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class EcsDeploymentGroup( * @param service The ECS service to deploy with this Deployment Group. */ override fun service(service: IBaseService) { - cdkBuilder.service(service.let(IBaseService::unwrap)) + cdkBuilder.service(service.let(IBaseService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.EcsDeploymentGroup = @@ -410,8 +410,9 @@ public open class EcsDeploymentGroup( id: String, attrs: EcsDeploymentGroupAttributes, ): IEcsDeploymentGroup = - software.amazon.awscdk.services.codedeploy.EcsDeploymentGroup.fromEcsDeploymentGroupAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(EcsDeploymentGroupAttributes::unwrap)).let(IEcsDeploymentGroup::wrap) + software.amazon.awscdk.services.codedeploy.EcsDeploymentGroup.fromEcsDeploymentGroupAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(EcsDeploymentGroupAttributes.Companion::unwrap)).let(IEcsDeploymentGroup::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55f54f3ab136e14f21febc737b810d5691fddec931eb5f14c49b389f9d8cfc8c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupAttributes.kt index a3008c4278..e4d1e4b99c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupAttributes.kt @@ -77,14 +77,14 @@ public interface EcsDeploymentGroupAttributes { * belongs to. */ override fun application(application: IEcsApplication) { - cdkBuilder.application(application.let(IEcsApplication::unwrap)) + cdkBuilder.application(application.let(IEcsApplication.Companion::unwrap)) } /** * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: IEcsDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IEcsDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IEcsDeploymentConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupProps.kt index 94dcd89e17..579427cdee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/EcsDeploymentGroupProps.kt @@ -222,7 +222,7 @@ public interface EcsDeploymentGroupProps { * Alarms can also be added after the Deployment Group is created using the `#addAlarm` method. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -239,14 +239,14 @@ public interface EcsDeploymentGroupProps { * belongs to. */ override fun application(application: IEcsApplication) { - cdkBuilder.application(application.let(IEcsApplication::unwrap)) + cdkBuilder.application(application.let(IEcsApplication.Companion::unwrap)) } /** * @param autoRollback The auto-rollback configuration for this Deployment Group. */ override fun autoRollback(autoRollback: AutoRollbackConfig) { - cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig::unwrap)) + cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface EcsDeploymentGroupProps { */ override fun blueGreenDeploymentConfig(blueGreenDeploymentConfig: EcsBlueGreenDeploymentConfig) { - cdkBuilder.blueGreenDeploymentConfig(blueGreenDeploymentConfig.let(EcsBlueGreenDeploymentConfig::unwrap)) + cdkBuilder.blueGreenDeploymentConfig(blueGreenDeploymentConfig.let(EcsBlueGreenDeploymentConfig.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface EcsDeploymentGroupProps { * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: IEcsDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IEcsDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IEcsDeploymentConfig.Companion::unwrap)) } /** @@ -309,14 +309,14 @@ public interface EcsDeploymentGroupProps { * @param role The service Role of this Deployment Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param service The ECS service to deploy with this Deployment Group. */ override fun service(service: IBaseService) { - cdkBuilder.service(service.let(IBaseService::unwrap)) + cdkBuilder.service(service.let(IBaseService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.EcsDeploymentGroupProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsApplication.kt index 66648d32db..c452a80ce6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsApplication.kt @@ -59,7 +59,7 @@ public interface IEcsApplication : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsDeploymentGroup.kt index e6b61c65ec..7323de608d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IEcsDeploymentGroup.kt @@ -58,7 +58,7 @@ public interface IEcsDeploymentGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaApplication.kt index b66bf44ddc..b08b5c1131 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaApplication.kt @@ -59,7 +59,7 @@ public interface ILambdaApplication : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaDeploymentGroup.kt index b29eb7ffd2..0158863331 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ILambdaDeploymentGroup.kt @@ -58,7 +58,7 @@ public interface ILambdaDeploymentGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerApplication.kt index d4566e8b34..fd0c0af1fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerApplication.kt @@ -59,7 +59,7 @@ public interface IServerApplication : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerDeploymentGroup.kt index ac106041b3..4fcf5e1ee8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/IServerDeploymentGroup.kt @@ -72,7 +72,7 @@ public interface IServerDeploymentGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaApplication.kt index f4570d9674..1ece2ebc61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaApplication.kt @@ -24,7 +24,7 @@ public open class LambdaApplication( cdkObject: software.amazon.awscdk.services.codedeploy.LambdaApplication, ) : Resource(cdkObject), ILambdaApplication { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.LambdaApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.LambdaApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -33,8 +33,8 @@ public open class LambdaApplication( id: String, props: LambdaApplicationProps, ) : - this(software.amazon.awscdk.services.codedeploy.LambdaApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaApplicationProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.LambdaApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LambdaApplicationProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class LambdaApplication( id: String, lambdaApplicationArn: String, ): ILambdaApplication = - software.amazon.awscdk.services.codedeploy.LambdaApplication.fromLambdaApplicationArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.LambdaApplication.fromLambdaApplicationArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, lambdaApplicationArn).let(ILambdaApplication::wrap) public fun fromLambdaApplicationName( @@ -105,7 +105,7 @@ public open class LambdaApplication( id: String, lambdaApplicationName: String, ): ILambdaApplication = - software.amazon.awscdk.services.codedeploy.LambdaApplication.fromLambdaApplicationName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.LambdaApplication.fromLambdaApplicationName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, lambdaApplicationName).let(ILambdaApplication::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfig.kt index c895a9b63c..11b8e8886d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfig.kt @@ -36,7 +36,7 @@ public open class LambdaDeploymentConfig( cdkObject: software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig, ) : BaseDeploymentConfig(cdkObject), ILambdaDeploymentConfig { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class LambdaDeploymentConfig( id: String, props: LambdaDeploymentConfigProps, ) : - this(software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaDeploymentConfigProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LambdaDeploymentConfigProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class LambdaDeploymentConfig( * target group to the 'green' target group during a deployment. */ override fun trafficRouting(trafficRouting: TrafficRouting) { - cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting::unwrap)) + cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig = @@ -154,8 +154,9 @@ public open class LambdaDeploymentConfig( id: String, props: LambdaDeploymentConfigImportProps, ): ILambdaDeploymentConfig = - software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig.doImport(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaDeploymentConfigImportProps::unwrap)).let(ILambdaDeploymentConfig::wrap) + software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig.doImport(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + props.let(LambdaDeploymentConfigImportProps.Companion::unwrap)).let(ILambdaDeploymentConfig::wrap) @Deprecated(message = "deprecated in CDK") @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -171,7 +172,7 @@ public open class LambdaDeploymentConfig( id: String, lambdaDeploymentConfigName: String, ): ILambdaDeploymentConfig = - software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig.fromLambdaDeploymentConfigName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig.fromLambdaDeploymentConfigName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, lambdaDeploymentConfigName).let(ILambdaDeploymentConfig::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfigProps.kt index c9034e58ee..94a0e83502 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentConfigProps.kt @@ -76,7 +76,7 @@ public interface LambdaDeploymentConfigProps : BaseDeploymentConfigOptions { * target group to the 'green' target group during a deployment. */ override fun trafficRouting(trafficRouting: TrafficRouting) { - cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting::unwrap)) + cdkBuilder.trafficRouting(trafficRouting.let(TrafficRouting.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfigProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroup.kt index e23278613f..1e33af724a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroup.kt @@ -46,8 +46,8 @@ public open class LambdaDeploymentGroup( id: String, props: LambdaDeploymentGroupProps, ) : - this(software.amazon.awscdk.services.codedeploy.LambdaDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaDeploymentGroupProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.LambdaDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LambdaDeploymentGroupProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class LambdaDeploymentGroup( * @param alarm the alarm to associate with this Deployment Group. */ public open fun addAlarm(alarm: IAlarm) { - unwrap(this).addAlarm(alarm.let(IAlarm::unwrap)) + unwrap(this).addAlarm(alarm.let(IAlarm.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public open class LambdaDeploymentGroup( * @param postHook function to run after deployment completes. */ public open fun addPostHook(postHook: IFunction) { - unwrap(this).addPostHook(postHook.let(IFunction::unwrap)) + unwrap(this).addPostHook(postHook.let(IFunction.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public open class LambdaDeploymentGroup( * @param preHook function to run before deployment beings. */ public open fun addPreHook(preHook: IFunction) { - unwrap(this).addPreHook(preHook.let(IFunction::unwrap)) + unwrap(this).addPreHook(preHook.let(IFunction.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class LambdaDeploymentGroup( * @param grantee to grant permission to. */ public open fun grantPutLifecycleEventHookExecutionStatus(grantee: IGrantable): Grant = - unwrap(this).grantPutLifecycleEventHookExecutionStatus(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPutLifecycleEventHookExecutionStatus(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The service Role of this Deployment Group. @@ -285,7 +285,7 @@ public open class LambdaDeploymentGroup( * @param alarms The CloudWatch alarms associated with this Deployment Group. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class LambdaDeploymentGroup( * CodeDeploy deployment. */ override fun alias(alias: Alias) { - cdkBuilder.alias(alias.let(Alias::unwrap)) + cdkBuilder.alias(alias.let(Alias.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class LambdaDeploymentGroup( * Group belongs to. */ override fun application(application: ILambdaApplication) { - cdkBuilder.application(application.let(ILambdaApplication::unwrap)) + cdkBuilder.application(application.let(ILambdaApplication.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class LambdaDeploymentGroup( * @param autoRollback The auto-rollback configuration for this Deployment Group. */ override fun autoRollback(autoRollback: AutoRollbackConfig) { - cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig::unwrap)) + cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class LambdaDeploymentGroup( * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: ILambdaDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(ILambdaDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(ILambdaDeploymentConfig.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class LambdaDeploymentGroup( * @param postHook The Lambda function to run after traffic routing starts. */ override fun postHook(postHook: IFunction) { - cdkBuilder.postHook(postHook.let(IFunction::unwrap)) + cdkBuilder.postHook(postHook.let(IFunction.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public open class LambdaDeploymentGroup( * @param preHook The Lambda function to run before traffic routing starts. */ override fun preHook(preHook: IFunction) { - cdkBuilder.preHook(preHook.let(IFunction::unwrap)) + cdkBuilder.preHook(preHook.let(IFunction.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class LambdaDeploymentGroup( * @param role The service Role of this Deployment Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.LambdaDeploymentGroup = @@ -442,8 +442,9 @@ public open class LambdaDeploymentGroup( id: String, attrs: LambdaDeploymentGroupAttributes, ): ILambdaDeploymentGroup = - software.amazon.awscdk.services.codedeploy.LambdaDeploymentGroup.fromLambdaDeploymentGroupAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(LambdaDeploymentGroupAttributes::unwrap)).let(ILambdaDeploymentGroup::wrap) + software.amazon.awscdk.services.codedeploy.LambdaDeploymentGroup.fromLambdaDeploymentGroupAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(LambdaDeploymentGroupAttributes.Companion::unwrap)).let(ILambdaDeploymentGroup::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4ea77b497b67174b52d295c255acd7df97982b2c72bd6820660d6ee02f5380f9") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupAttributes.kt index 852e05a8ea..b2ca2340d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupAttributes.kt @@ -78,14 +78,14 @@ public interface LambdaDeploymentGroupAttributes { * Group belongs to. */ override fun application(application: ILambdaApplication) { - cdkBuilder.application(application.let(ILambdaApplication::unwrap)) + cdkBuilder.application(application.let(ILambdaApplication.Companion::unwrap)) } /** * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: ILambdaDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(ILambdaDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(ILambdaDeploymentConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupProps.kt index 61a08def13..1a25403b30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LambdaDeploymentGroupProps.kt @@ -227,7 +227,7 @@ public interface LambdaDeploymentGroupProps { * Alarms can also be added after the Deployment Group is created using the `#addAlarm` method. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public interface LambdaDeploymentGroupProps { * policy */ override fun alias(alias: Alias) { - cdkBuilder.alias(alias.let(Alias::unwrap)) + cdkBuilder.alias(alias.let(Alias.Companion::unwrap)) } /** @@ -254,14 +254,14 @@ public interface LambdaDeploymentGroupProps { * Group belongs to. */ override fun application(application: ILambdaApplication) { - cdkBuilder.application(application.let(ILambdaApplication::unwrap)) + cdkBuilder.application(application.let(ILambdaApplication.Companion::unwrap)) } /** * @param autoRollback The auto-rollback configuration for this Deployment Group. */ override fun autoRollback(autoRollback: AutoRollbackConfig) { - cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig::unwrap)) + cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface LambdaDeploymentGroupProps { * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: ILambdaDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(ILambdaDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(ILambdaDeploymentConfig.Companion::unwrap)) } /** @@ -307,21 +307,21 @@ public interface LambdaDeploymentGroupProps { * @param postHook The Lambda function to run after traffic routing starts. */ override fun postHook(postHook: IFunction) { - cdkBuilder.postHook(postHook.let(IFunction::unwrap)) + cdkBuilder.postHook(postHook.let(IFunction.Companion::unwrap)) } /** * @param preHook The Lambda function to run before traffic routing starts. */ override fun preHook(preHook: IFunction) { - cdkBuilder.preHook(preHook.let(IFunction::unwrap)) + cdkBuilder.preHook(preHook.let(IFunction.Companion::unwrap)) } /** * @param role The service Role of this Deployment Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.LambdaDeploymentGroupProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LoadBalancer.kt index 4929a73fb1..b0230e04c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/LoadBalancer.kt @@ -48,15 +48,15 @@ public abstract class LoadBalancer( public companion object { public fun application(albTargetGroup: IApplicationTargetGroup): LoadBalancer = - software.amazon.awscdk.services.codedeploy.LoadBalancer.application(albTargetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancer::wrap) + software.amazon.awscdk.services.codedeploy.LoadBalancer.application(albTargetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancer::wrap) public fun classic(loadBalancer: io.cloudshiftdev.awscdk.services.elasticloadbalancing.LoadBalancer): LoadBalancer = - software.amazon.awscdk.services.codedeploy.LoadBalancer.classic(loadBalancer.let(io.cloudshiftdev.awscdk.services.elasticloadbalancing.LoadBalancer::unwrap)).let(LoadBalancer::wrap) + software.amazon.awscdk.services.codedeploy.LoadBalancer.classic(loadBalancer.let(io.cloudshiftdev.awscdk.services.elasticloadbalancing.LoadBalancer.Companion::unwrap)).let(LoadBalancer::wrap) public fun network(nlbTargetGroup: INetworkTargetGroup): LoadBalancer = - software.amazon.awscdk.services.codedeploy.LoadBalancer.network(nlbTargetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancer::wrap) + software.amazon.awscdk.services.codedeploy.LoadBalancer.network(nlbTargetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancer::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codedeploy.LoadBalancer): LoadBalancer = CdkObjectWrappers.wrap(cdkObject) as? LoadBalancer ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerApplication.kt index 784e4087da..08683ea9eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerApplication.kt @@ -24,7 +24,7 @@ public open class ServerApplication( cdkObject: software.amazon.awscdk.services.codedeploy.ServerApplication, ) : Resource(cdkObject), IServerApplication { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.ServerApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.ServerApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -33,8 +33,8 @@ public open class ServerApplication( id: String, props: ServerApplicationProps, ) : - this(software.amazon.awscdk.services.codedeploy.ServerApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServerApplicationProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.ServerApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServerApplicationProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class ServerApplication( id: String, serverApplicationArn: String, ): IServerApplication = - software.amazon.awscdk.services.codedeploy.ServerApplication.fromServerApplicationArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.ServerApplication.fromServerApplicationArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, serverApplicationArn).let(IServerApplication::wrap) public fun fromServerApplicationName( @@ -105,7 +105,7 @@ public open class ServerApplication( id: String, serverApplicationName: String, ): IServerApplication = - software.amazon.awscdk.services.codedeploy.ServerApplication.fromServerApplicationName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.ServerApplication.fromServerApplicationName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, serverApplicationName).let(IServerApplication::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfig.kt index b0a6e16852..5d89d3a139 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfig.kt @@ -28,8 +28,8 @@ public open class ServerDeploymentConfig( id: String, props: ServerDeploymentConfigProps, ) : - this(software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServerDeploymentConfigProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServerDeploymentConfigProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class ServerDeploymentConfig( * @param minimumHealthyHosts Minimum number of healthy hosts. */ override fun minimumHealthyHosts(minimumHealthyHosts: MinimumHealthyHosts) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHosts::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHosts.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig = @@ -110,7 +110,7 @@ public open class ServerDeploymentConfig( id: String, serverDeploymentConfigName: String, ): IServerDeploymentConfig = - software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig.fromServerDeploymentConfigName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig.fromServerDeploymentConfigName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, serverDeploymentConfigName).let(IServerDeploymentConfig::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfigProps.kt index b1316c0fd4..2f8fb6cd5d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentConfigProps.kt @@ -62,7 +62,7 @@ public interface ServerDeploymentConfigProps : BaseDeploymentConfigOptions { * @param minimumHealthyHosts Minimum number of healthy hosts. */ override fun minimumHealthyHosts(minimumHealthyHosts: MinimumHealthyHosts) { - cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHosts::unwrap)) + cdkBuilder.minimumHealthyHosts(minimumHealthyHosts.let(MinimumHealthyHosts.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.ServerDeploymentConfigProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroup.kt index 6623ad50bb..3ec40422dd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroup.kt @@ -38,7 +38,7 @@ public open class ServerDeploymentGroup( cdkObject: software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup, ) : Resource(cdkObject), IServerDeploymentGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class ServerDeploymentGroup( id: String, props: ServerDeploymentGroupProps, ) : - this(software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServerDeploymentGroupProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServerDeploymentGroupProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class ServerDeploymentGroup( * @param alarm the alarm to associate with this Deployment Group. */ public open fun addAlarm(alarm: IAlarm) { - unwrap(this).addAlarm(alarm.let(IAlarm::unwrap)) + unwrap(this).addAlarm(alarm.let(IAlarm.Companion::unwrap)) } /** @@ -73,7 +73,7 @@ public open class ServerDeploymentGroup( * @param asg the auto-scaling group to add to this Deployment Group. */ public open fun addAutoScalingGroup(asg: AutoScalingGroup) { - unwrap(this).addAutoScalingGroup(asg.let(AutoScalingGroup::unwrap)) + unwrap(this).addAutoScalingGroup(asg.let(AutoScalingGroup.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class ServerDeploymentGroup( * @param alarms The CloudWatch alarms associated with this Deployment Group. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class ServerDeploymentGroup( * to. */ override fun application(application: IServerApplication) { - cdkBuilder.application(application.let(IServerApplication::unwrap)) + cdkBuilder.application(application.let(IServerApplication.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class ServerDeploymentGroup( * @param autoRollback The auto-rollback configuration for this Deployment Group. */ override fun autoRollback(autoRollback: AutoRollbackConfig) { - cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig::unwrap)) + cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class ServerDeploymentGroup( * @param autoScalingGroups The auto-scaling groups belonging to this Deployment Group. */ override fun autoScalingGroups(autoScalingGroups: List) { - cdkBuilder.autoScalingGroups(autoScalingGroups.map(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroups(autoScalingGroups.map(IAutoScalingGroup.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class ServerDeploymentGroup( * Deployment Group. */ override fun deploymentConfig(deploymentConfig: IServerDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IServerDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IServerDeploymentConfig.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class ServerDeploymentGroup( * occurs will be added to this Deployment Group. */ override fun ec2InstanceTags(ec2InstanceTags: InstanceTagSet) { - cdkBuilder.ec2InstanceTags(ec2InstanceTags.let(InstanceTagSet::unwrap)) + cdkBuilder.ec2InstanceTags(ec2InstanceTags.let(InstanceTagSet.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class ServerDeploymentGroup( */ @Deprecated(message = "deprecated in CDK") override fun loadBalancer(loadBalancer: LoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(LoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class ServerDeploymentGroup( * @param loadBalancers CodeDeploy supports the deployment to multiple load balancers. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(LoadBalancer::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(LoadBalancer.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class ServerDeploymentGroup( * deployment occurs will be added to this Deployment Group. */ override fun onPremiseInstanceTags(onPremiseInstanceTags: InstanceTagSet) { - cdkBuilder.onPremiseInstanceTags(onPremiseInstanceTags.let(InstanceTagSet::unwrap)) + cdkBuilder.onPremiseInstanceTags(onPremiseInstanceTags.let(InstanceTagSet.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class ServerDeploymentGroup( * @param role The service Role of this Deployment Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup = @@ -587,8 +587,9 @@ public open class ServerDeploymentGroup( id: String, attrs: ServerDeploymentGroupAttributes, ): IServerDeploymentGroup = - software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup.fromServerDeploymentGroupAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ServerDeploymentGroupAttributes::unwrap)).let(IServerDeploymentGroup::wrap) + software.amazon.awscdk.services.codedeploy.ServerDeploymentGroup.fromServerDeploymentGroupAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(ServerDeploymentGroupAttributes.Companion::unwrap)).let(IServerDeploymentGroup::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8d26e7a25cd6411326fe7cb7007a72ecb87fdcb6166fa4246aa79b27de671bfb") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupAttributes.kt index bd56d13e6f..d460674637 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupAttributes.kt @@ -79,14 +79,14 @@ public interface ServerDeploymentGroupAttributes { * Deployment Group belongs to. */ override fun application(application: IServerApplication) { - cdkBuilder.application(application.let(IServerApplication::unwrap)) + cdkBuilder.application(application.let(IServerApplication.Companion::unwrap)) } /** * @param deploymentConfig The Deployment Configuration this Deployment Group uses. */ override fun deploymentConfig(deploymentConfig: IServerDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IServerDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IServerDeploymentConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupProps.kt index 8dc7d99b13..37e15aa4e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/ServerDeploymentGroupProps.kt @@ -311,7 +311,7 @@ public interface ServerDeploymentGroupProps { * Alarms can also be added after the Deployment Group is created using the `#addAlarm` method. */ override fun alarms(alarms: List) { - cdkBuilder.alarms(alarms.map(IAlarm::unwrap)) + cdkBuilder.alarms(alarms.map(IAlarm.Companion::unwrap)) } /** @@ -328,14 +328,14 @@ public interface ServerDeploymentGroupProps { * to. */ override fun application(application: IServerApplication) { - cdkBuilder.application(application.let(IServerApplication::unwrap)) + cdkBuilder.application(application.let(IServerApplication.Companion::unwrap)) } /** * @param autoRollback The auto-rollback configuration for this Deployment Group. */ override fun autoRollback(autoRollback: AutoRollbackConfig) { - cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig::unwrap)) + cdkBuilder.autoRollback(autoRollback.let(AutoRollbackConfig.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public interface ServerDeploymentGroupProps { * for ASGs to install the codedeploy agent. */ override fun autoScalingGroups(autoScalingGroups: List) { - cdkBuilder.autoScalingGroups(autoScalingGroups.map(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroups(autoScalingGroups.map(IAutoScalingGroup.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public interface ServerDeploymentGroupProps { * Deployment Group. */ override fun deploymentConfig(deploymentConfig: IServerDeploymentConfig) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IServerDeploymentConfig::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IServerDeploymentConfig.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public interface ServerDeploymentGroupProps { * occurs will be added to this Deployment Group. */ override fun ec2InstanceTags(ec2InstanceTags: InstanceTagSet) { - cdkBuilder.ec2InstanceTags(ec2InstanceTags.let(InstanceTagSet::unwrap)) + cdkBuilder.ec2InstanceTags(ec2InstanceTags.let(InstanceTagSet.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public interface ServerDeploymentGroupProps { */ @Deprecated(message = "deprecated in CDK") override fun loadBalancer(loadBalancer: LoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(LoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface ServerDeploymentGroupProps { * Application Load Balancers / Network Load Balancers Target Groups. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(LoadBalancer::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(LoadBalancer.Companion::unwrap)) } /** @@ -451,14 +451,14 @@ public interface ServerDeploymentGroupProps { * deployment occurs will be added to this Deployment Group. */ override fun onPremiseInstanceTags(onPremiseInstanceTags: InstanceTagSet) { - cdkBuilder.onPremiseInstanceTags(onPremiseInstanceTags.let(InstanceTagSet::unwrap)) + cdkBuilder.onPremiseInstanceTags(onPremiseInstanceTags.let(InstanceTagSet.Companion::unwrap)) } /** * @param role The service Role of this Deployment Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codedeploy.ServerDeploymentGroupProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRouting.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRouting.kt index b498550de2..1a6aaecc5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRouting.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRouting.kt @@ -27,7 +27,7 @@ public open class TimeBasedCanaryTrafficRouting( cdkObject: software.amazon.awscdk.services.codedeploy.TimeBasedCanaryTrafficRouting, ) : TrafficRouting(cdkObject) { public constructor(props: TimeBasedCanaryTrafficRoutingProps) : - this(software.amazon.awscdk.services.codedeploy.TimeBasedCanaryTrafficRouting(props.let(TimeBasedCanaryTrafficRoutingProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.TimeBasedCanaryTrafficRouting(props.let(TimeBasedCanaryTrafficRoutingProps.Companion::unwrap)) ) public constructor(props: TimeBasedCanaryTrafficRoutingProps.Builder.() -> Unit) : @@ -40,7 +40,7 @@ public open class TimeBasedCanaryTrafficRouting( * @param _scope */ public override fun bind(scope: Construct): TrafficRoutingConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(TrafficRoutingConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(TrafficRoutingConfig::wrap) /** * The amount of time between additional traffic shifts. @@ -84,7 +84,7 @@ public open class TimeBasedCanaryTrafficRouting( * @param interval The amount of time between traffic shifts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRoutingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRoutingProps.kt index 79697d4925..11d8eae0eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRoutingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedCanaryTrafficRoutingProps.kt @@ -50,7 +50,7 @@ public interface TimeBasedCanaryTrafficRoutingProps : BaseTrafficShiftingConfigP * @param interval The amount of time between traffic shifts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRouting.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRouting.kt index afcde7d667..404410410d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRouting.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRouting.kt @@ -24,7 +24,7 @@ public open class TimeBasedLinearTrafficRouting( cdkObject: software.amazon.awscdk.services.codedeploy.TimeBasedLinearTrafficRouting, ) : TrafficRouting(cdkObject) { public constructor(props: TimeBasedLinearTrafficRoutingProps) : - this(software.amazon.awscdk.services.codedeploy.TimeBasedLinearTrafficRouting(props.let(TimeBasedLinearTrafficRoutingProps::unwrap)) + this(software.amazon.awscdk.services.codedeploy.TimeBasedLinearTrafficRouting(props.let(TimeBasedLinearTrafficRoutingProps.Companion::unwrap)) ) public constructor(props: TimeBasedLinearTrafficRoutingProps.Builder.() -> Unit) : @@ -37,7 +37,7 @@ public open class TimeBasedLinearTrafficRouting( * @param _scope */ public override fun bind(scope: Construct): TrafficRoutingConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(TrafficRoutingConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(TrafficRoutingConfig::wrap) /** * The amount of time between additional traffic shifts. @@ -81,7 +81,7 @@ public open class TimeBasedLinearTrafficRouting( * @param interval The amount of time between traffic shifts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRoutingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRoutingProps.kt index 1878f277d7..977c4af14e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRoutingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TimeBasedLinearTrafficRoutingProps.kt @@ -52,7 +52,7 @@ public interface TimeBasedLinearTrafficRoutingProps : BaseTrafficShiftingConfigP * @param interval The amount of time between traffic shifts. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRouting.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRouting.kt index 1940aed582..a8bb9c18c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRouting.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRouting.kt @@ -32,7 +32,7 @@ public abstract class TrafficRouting( * @param scope */ public open fun bind(scope: Construct): TrafficRoutingConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(TrafficRoutingConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(TrafficRoutingConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.codedeploy.TrafficRouting, @@ -43,7 +43,7 @@ public abstract class TrafficRouting( software.amazon.awscdk.services.codedeploy.TrafficRouting.allAtOnce().let(TrafficRouting::wrap) public fun timeBasedCanary(props: TimeBasedCanaryTrafficRoutingProps): TrafficRouting = - software.amazon.awscdk.services.codedeploy.TrafficRouting.timeBasedCanary(props.let(TimeBasedCanaryTrafficRoutingProps::unwrap)).let(TrafficRouting::wrap) + software.amazon.awscdk.services.codedeploy.TrafficRouting.timeBasedCanary(props.let(TimeBasedCanaryTrafficRoutingProps.Companion::unwrap)).let(TrafficRouting::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("abccf0bf455bf39b5f48fcab5a5958ea2f660482f3ef7fe583281696b58153e9") @@ -51,7 +51,7 @@ public abstract class TrafficRouting( TrafficRouting = timeBasedCanary(TimeBasedCanaryTrafficRoutingProps(props)) public fun timeBasedLinear(props: TimeBasedLinearTrafficRoutingProps): TrafficRouting = - software.amazon.awscdk.services.codedeploy.TrafficRouting.timeBasedLinear(props.let(TimeBasedLinearTrafficRoutingProps::unwrap)).let(TrafficRouting::wrap) + software.amazon.awscdk.services.codedeploy.TrafficRouting.timeBasedLinear(props.let(TimeBasedLinearTrafficRoutingProps.Companion::unwrap)).let(TrafficRouting::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("afd27f22931c615a08a4ca56d4c8f7cc8c9751fc692fd927be173e7f33ff4998") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRoutingConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRoutingConfig.kt index 2aca118f95..9cfb7cd7c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRoutingConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codedeploy/TrafficRoutingConfig.kt @@ -108,7 +108,7 @@ public interface TrafficRoutingConfig { * function or ECS task set to another in two increments. */ override fun timeBasedCanary(timeBasedCanary: CanaryTrafficRoutingConfig) { - cdkBuilder.timeBasedCanary(timeBasedCanary.let(CanaryTrafficRoutingConfig::unwrap)) + cdkBuilder.timeBasedCanary(timeBasedCanary.let(CanaryTrafficRoutingConfig.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface TrafficRoutingConfig { * between each increment. */ override fun timeBasedLinear(timeBasedLinear: LinearTrafficRoutingConfig) { - cdkBuilder.timeBasedLinear(timeBasedLinear.let(LinearTrafficRoutingConfig::unwrap)) + cdkBuilder.timeBasedLinear(timeBasedLinear.let(LinearTrafficRoutingConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroup.kt index 419bd39f1d..cf23688e37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroup.kt @@ -57,8 +57,8 @@ public open class CfnProfilingGroup( id: String, props: CfnProfilingGroupProps, ) : - this(software.amazon.awscdk.services.codeguruprofiler.CfnProfilingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProfilingGroupProps::unwrap)) + this(software.amazon.awscdk.services.codeguruprofiler.CfnProfilingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfilingGroupProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnProfilingGroup( * Adds anomaly notifications for a profiling group. */ public open fun anomalyDetectionNotificationConfiguration(`value`: IResolvable) { - unwrap(this).setAnomalyDetectionNotificationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnomalyDetectionNotificationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnProfilingGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnProfilingGroup( * A list of tags to add to the created profiling group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnProfilingGroup( */ override fun anomalyDetectionNotificationConfiguration(anomalyDetectionNotificationConfiguration: IResolvable) { - cdkBuilder.anomalyDetectionNotificationConfiguration(anomalyDetectionNotificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anomalyDetectionNotificationConfiguration(anomalyDetectionNotificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnProfilingGroup( * @param tags A list of tags to add to the created profiling group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroupProps.kt index 058ce1a344..3dc94ae904 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/CfnProfilingGroupProps.kt @@ -199,7 +199,7 @@ public interface CfnProfilingGroupProps { */ override fun anomalyDetectionNotificationConfiguration(anomalyDetectionNotificationConfiguration: IResolvable) { - cdkBuilder.anomalyDetectionNotificationConfiguration(anomalyDetectionNotificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anomalyDetectionNotificationConfiguration(anomalyDetectionNotificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public interface CfnProfilingGroupProps { * @param tags A list of tags to add to the created profiling group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/IProfilingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/IProfilingGroup.kt index 417a91794a..c1667c8a84 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/IProfilingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/IProfilingGroup.kt @@ -68,7 +68,7 @@ public interface IProfilingGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface IProfilingGroup : IResource { * @param grantee Principal to grant publish rights to. */ override fun grantPublish(grantee: IGrantable): Grant = - unwrap(this).grantPublish(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPublish(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant access to read profiling information from the Profiling Group to the given identity. @@ -107,7 +107,7 @@ public interface IProfilingGroup : IResource { * @param grantee Principal to grant read rights to. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroup.kt index 10ae1c42b3..fda98b5086 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroup.kt @@ -30,7 +30,7 @@ public open class ProfilingGroup( cdkObject: software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup, ) : Resource(cdkObject), IProfilingGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,8 @@ public open class ProfilingGroup( id: String, props: ProfilingGroupProps, ) : - this(software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ProfilingGroupProps::unwrap)) + this(software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ProfilingGroupProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class ProfilingGroup( * @param grantee Principal to grant publish rights to. */ public override fun grantPublish(grantee: IGrantable): Grant = - unwrap(this).grantPublish(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPublish(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant access to read profiling information from the Profiling Group to the given identity. @@ -74,7 +74,7 @@ public open class ProfilingGroup( * @param grantee Principal to grant read rights to. */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the Profiling Group. @@ -125,7 +125,7 @@ public open class ProfilingGroup( * @param computePlatform The compute platform of the profiling group. */ override fun computePlatform(computePlatform: ComputePlatform) { - cdkBuilder.computePlatform(computePlatform.let(ComputePlatform::unwrap)) + cdkBuilder.computePlatform(computePlatform.let(ComputePlatform.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class ProfilingGroup( id: String, profilingGroupArn: String, ): IProfilingGroup = - software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup.fromProfilingGroupArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup.fromProfilingGroupArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, profilingGroupArn).let(IProfilingGroup::wrap) public fun fromProfilingGroupName( @@ -157,7 +157,7 @@ public open class ProfilingGroup( id: String, profilingGroupName: String, ): IProfilingGroup = - software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup.fromProfilingGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup.fromProfilingGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, profilingGroupName).let(IProfilingGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroupProps.kt index ae129b735e..41b3eb33af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codeguruprofiler/ProfilingGroupProps.kt @@ -60,7 +60,7 @@ public interface ProfilingGroupProps { * @param computePlatform The compute platform of the profiling group. */ override fun computePlatform(computePlatform: ComputePlatform) { - cdkBuilder.computePlatform(computePlatform.let(ComputePlatform::unwrap)) + cdkBuilder.computePlatform(computePlatform.let(ComputePlatform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociation.kt index abc240b4e0..9d55daaef8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociation.kt @@ -70,8 +70,8 @@ public open class CfnRepositoryAssociation( id: String, props: CfnRepositoryAssociationProps, ) : - this(software.amazon.awscdk.services.codegurureviewer.CfnRepositoryAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRepositoryAssociationProps::unwrap)) + this(software.amazon.awscdk.services.codegurureviewer.CfnRepositoryAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRepositoryAssociationProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnRepositoryAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnRepositoryAssociation( * An array of key-value pairs used to tag an associated repository. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public open class CfnRepositoryAssociation( * @param tags An array of key-value pairs used to tag an associated repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociationProps.kt index 64c4d96302..772fe3239f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codegurureviewer/CfnRepositoryAssociationProps.kt @@ -245,7 +245,7 @@ public interface CfnRepositoryAssociationProps { * values are case sensitive. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Action.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Action.kt index d4e25ed0ce..d79e8ba0f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Action.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Action.kt @@ -41,8 +41,9 @@ public abstract class Action( scope: Construct, stage: IStage, options: ActionBindOptions, - ): ActionConfig = unwrap(this).bind(scope.let(Construct::unwrap), stage.let(IStage::unwrap), - options.let(ActionBindOptions::unwrap)).let(ActionConfig::wrap) + ): ActionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + stage.let(IStage.Companion::unwrap), + options.let(ActionBindOptions.Companion::unwrap)).let(ActionConfig::wrap) /** * The callback invoked when this Action is added to a Pipeline. @@ -77,7 +78,7 @@ public abstract class Action( * @param options */ public override fun onStateChange(name: String, target: IRuleTarget): Rule = - unwrap(this).onStateChange(name, target.let(IRuleTarget::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(name, target.let(IRuleTarget.Companion::unwrap)).let(Rule::wrap) /** * Creates an Event that will be triggered whenever the state of this Action changes. @@ -90,8 +91,8 @@ public abstract class Action( name: String, target: IRuleTarget, options: RuleProps, - ): Rule = unwrap(this).onStateChange(name, target.let(IRuleTarget::unwrap), - options.let(RuleProps::unwrap)).let(Rule::wrap) + ): Rule = unwrap(this).onStateChange(name, target.let(IRuleTarget.Companion::unwrap), + options.let(RuleProps.Companion::unwrap)).let(Rule::wrap) /** * Creates an Event that will be triggered whenever the state of this Action changes. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionBindOptions.kt index 578fb069c3..3383df7dc6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionBindOptions.kt @@ -61,14 +61,14 @@ public interface ActionBindOptions { * @param bucket the value to be set. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** * @param role the value to be set. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codepipeline.ActionBindOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionProperties.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionProperties.kt index 612237f22f..3b1ed966c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionProperties.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ActionProperties.kt @@ -286,7 +286,7 @@ public interface ActionProperties { * @param artifactBounds the value to be set. */ override fun artifactBounds(artifactBounds: ActionArtifactBounds) { - cdkBuilder.artifactBounds(artifactBounds.let(ActionArtifactBounds::unwrap)) + cdkBuilder.artifactBounds(artifactBounds.let(ActionArtifactBounds.Companion::unwrap)) } /** @@ -303,14 +303,14 @@ public interface ActionProperties { * (the entity that performs the action) performs. */ override fun category(category: ActionCategory) { - cdkBuilder.category(category.let(ActionCategory::unwrap)) + cdkBuilder.category(category.let(ActionCategory.Companion::unwrap)) } /** * @param inputs the value to be set. */ override fun inputs(inputs: List) { - cdkBuilder.inputs(inputs.map(Artifact::unwrap)) + cdkBuilder.inputs(inputs.map(Artifact.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public interface ActionProperties { * @param outputs the value to be set. */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -362,14 +362,14 @@ public interface ActionProperties { * resources from a different account and/or region. */ override fun resource(resource: IResource) { - cdkBuilder.resource(resource.let(IResource::unwrap)) + cdkBuilder.resource(resource.let(IResource.Companion::unwrap)) } /** * @param role the value to be set. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ArtifactPath.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ArtifactPath.kt index 0f4fc58937..8b3cfdec3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ArtifactPath.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/ArtifactPath.kt @@ -62,7 +62,7 @@ public open class ArtifactPath( cdkObject: software.amazon.awscdk.services.codepipeline.ArtifactPath, ) : CdkObject(cdkObject) { public constructor(artifact: Artifact, fileName: String) : - this(software.amazon.awscdk.services.codepipeline.ArtifactPath(artifact.let(Artifact::unwrap), + this(software.amazon.awscdk.services.codepipeline.ArtifactPath(artifact.let(Artifact.Companion::unwrap), fileName) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionType.kt index dc512358b0..9acad6c49d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionType.kt @@ -85,8 +85,8 @@ public open class CfnCustomActionType( id: String, props: CfnCustomActionTypeProps, ) : - this(software.amazon.awscdk.services.codepipeline.CfnCustomActionType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomActionTypeProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.CfnCustomActionType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomActionTypeProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnCustomActionType( * The configuration properties for the custom action. */ public open fun configurationProperties(`value`: IResolvable) { - unwrap(this).setConfigurationProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurationProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public open class CfnCustomActionType( * The details of the input artifact for the action, such as its commit ID. */ public open fun inputArtifactDetails(`value`: IResolvable) { - unwrap(this).setInputArtifactDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputArtifactDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The details of the input artifact for the action, such as its commit ID. */ public open fun inputArtifactDetails(`value`: ArtifactDetailsProperty) { - unwrap(this).setInputArtifactDetails(`value`.let(ArtifactDetailsProperty::unwrap)) + unwrap(this).setInputArtifactDetails(`value`.let(ArtifactDetailsProperty.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnCustomActionType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -183,14 +183,14 @@ public open class CfnCustomActionType( * The details of the output artifact of the action, such as its commit ID. */ public open fun outputArtifactDetails(`value`: IResolvable) { - unwrap(this).setOutputArtifactDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputArtifactDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The details of the output artifact of the action, such as its commit ID. */ public open fun outputArtifactDetails(`value`: ArtifactDetailsProperty) { - unwrap(this).setOutputArtifactDetails(`value`.let(ArtifactDetailsProperty::unwrap)) + unwrap(this).setOutputArtifactDetails(`value`.let(ArtifactDetailsProperty.Companion::unwrap)) } /** @@ -222,14 +222,14 @@ public open class CfnCustomActionType( * URLs that provide users information about this custom action. */ public open fun settings(`value`: IResolvable) { - unwrap(this).setSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * URLs that provide users information about this custom action. */ public open fun settings(`value`: SettingsProperty) { - unwrap(this).setSettings(`value`.let(SettingsProperty::unwrap)) + unwrap(this).setSettings(`value`.let(SettingsProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnCustomActionType( * The tags for the custom action. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnCustomActionType( * @param configurationProperties The configuration properties for the custom action. */ override fun configurationProperties(configurationProperties: IResolvable) { - cdkBuilder.configurationProperties(configurationProperties.let(IResolvable::unwrap)) + cdkBuilder.configurationProperties(configurationProperties.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnCustomActionType( * commit ID. */ override fun inputArtifactDetails(inputArtifactDetails: IResolvable) { - cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(IResolvable::unwrap)) + cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnCustomActionType( * commit ID. */ override fun inputArtifactDetails(inputArtifactDetails: ArtifactDetailsProperty) { - cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(ArtifactDetailsProperty::unwrap)) + cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(ArtifactDetailsProperty.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public open class CfnCustomActionType( * commit ID. */ override fun outputArtifactDetails(outputArtifactDetails: IResolvable) { - cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(IResolvable::unwrap)) + cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(IResolvable.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class CfnCustomActionType( * commit ID. */ override fun outputArtifactDetails(outputArtifactDetails: ArtifactDetailsProperty) { - cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(ArtifactDetailsProperty::unwrap)) + cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(ArtifactDetailsProperty.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class CfnCustomActionType( * @param settings URLs that provide users information about this custom action. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public open class CfnCustomActionType( * @param settings URLs that provide users information about this custom action. */ override fun settings(settings: SettingsProperty) { - cdkBuilder.settings(settings.let(SettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(SettingsProperty.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public open class CfnCustomActionType( * @param tags The tags for the custom action. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public open class CfnCustomActionType( * @param key Whether the configuration property is a key. */ override fun key(key: IResolvable) { - cdkBuilder.key(key.let(IResolvable::unwrap)) + cdkBuilder.key(key.let(IResolvable.Companion::unwrap)) } /** @@ -1040,7 +1040,7 @@ public open class CfnCustomActionType( * contain only alphanumeric characters, underscores, and hyphens. */ override fun queryable(queryable: IResolvable) { - cdkBuilder.queryable(queryable.let(IResolvable::unwrap)) + cdkBuilder.queryable(queryable.let(IResolvable.Companion::unwrap)) } /** @@ -1054,7 +1054,7 @@ public open class CfnCustomActionType( * @param required Whether the configuration property is a required value. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } /** @@ -1078,7 +1078,7 @@ public open class CfnCustomActionType( * preserves the previous value of the secret. */ override fun secret(secret: IResolvable) { - cdkBuilder.secret(secret.let(IResolvable::unwrap)) + cdkBuilder.secret(secret.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionTypeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionTypeProps.kt index 46aa8d31e2..9b6b4e04b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionTypeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnCustomActionTypeProps.kt @@ -272,7 +272,7 @@ public interface CfnCustomActionTypeProps { * . */ override fun configurationProperties(configurationProperties: IResolvable) { - cdkBuilder.configurationProperties(configurationProperties.let(IResolvable::unwrap)) + cdkBuilder.configurationProperties(configurationProperties.let(IResolvable.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface CfnCustomActionTypeProps { * commit ID. */ override fun inputArtifactDetails(inputArtifactDetails: IResolvable) { - cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(IResolvable::unwrap)) + cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(IResolvable.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface CfnCustomActionTypeProps { */ override fun inputArtifactDetails(inputArtifactDetails: CfnCustomActionType.ArtifactDetailsProperty) { - cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(CfnCustomActionType.ArtifactDetailsProperty::unwrap)) + cdkBuilder.inputArtifactDetails(inputArtifactDetails.let(CfnCustomActionType.ArtifactDetailsProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface CfnCustomActionTypeProps { * commit ID. */ override fun outputArtifactDetails(outputArtifactDetails: IResolvable) { - cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(IResolvable::unwrap)) + cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(IResolvable.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface CfnCustomActionTypeProps { */ override fun outputArtifactDetails(outputArtifactDetails: CfnCustomActionType.ArtifactDetailsProperty) { - cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(CfnCustomActionType.ArtifactDetailsProperty::unwrap)) + cdkBuilder.outputArtifactDetails(outputArtifactDetails.let(CfnCustomActionType.ArtifactDetailsProperty.Companion::unwrap)) } /** @@ -367,14 +367,14 @@ public interface CfnCustomActionTypeProps { * @param settings URLs that provide users information about this custom action. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** * @param settings URLs that provide users information about this custom action. */ override fun settings(settings: CfnCustomActionType.SettingsProperty) { - cdkBuilder.settings(settings.let(CfnCustomActionType.SettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(CfnCustomActionType.SettingsProperty.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public interface CfnCustomActionTypeProps { * @param tags The tags for the custom action. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipeline.kt index 44fd03d26c..3040042333 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipeline.kt @@ -159,8 +159,8 @@ public open class CfnPipeline( id: String, props: CfnPipelineProps, ) : - this(software.amazon.awscdk.services.codepipeline.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPipelineProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPipelineProps.Companion::unwrap)) ) public constructor( @@ -179,14 +179,14 @@ public open class CfnPipeline( * The S3 bucket where artifacts for the pipeline are stored. */ public open fun artifactStore(`value`: IResolvable) { - unwrap(this).setArtifactStore(`value`.let(IResolvable::unwrap)) + unwrap(this).setArtifactStore(`value`.let(IResolvable.Companion::unwrap)) } /** * The S3 bucket where artifacts for the pipeline are stored. */ public open fun artifactStore(`value`: ArtifactStoreProperty) { - unwrap(this).setArtifactStore(`value`.let(ArtifactStoreProperty::unwrap)) + unwrap(this).setArtifactStore(`value`.let(ArtifactStoreProperty.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnPipeline( * A mapping of `artifactStore` objects and their corresponding AWS Regions. */ public open fun artifactStores(`value`: IResolvable) { - unwrap(this).setArtifactStores(`value`.let(IResolvable::unwrap)) + unwrap(this).setArtifactStores(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnPipeline( * Represents the input of a `DisableStageTransition` action. */ public open fun disableInboundStageTransitions(`value`: IResolvable) { - unwrap(this).setDisableInboundStageTransitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableInboundStageTransitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnPipeline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnPipeline( * Indicates whether to rerun the CodePipeline pipeline after you update it. */ public open fun restartExecutionOnUpdate(`value`: IResolvable) { - unwrap(this).setRestartExecutionOnUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setRestartExecutionOnUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnPipeline( * Represents information about a stage and its definition. */ public open fun stages(`value`: IResolvable) { - unwrap(this).setStages(`value`.let(IResolvable::unwrap)) + unwrap(this).setStages(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public open class CfnPipeline( * Specifies the tags applied to the pipeline. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnPipeline( * pipeline. */ public open fun triggers(`value`: IResolvable) { - unwrap(this).setTriggers(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnPipeline( * A list that defines the pipeline variables for a pipeline resource. */ public open fun variables(`value`: IResolvable) { - unwrap(this).setVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -778,7 +778,7 @@ public open class CfnPipeline( * @param artifactStore The S3 bucket where artifacts for the pipeline are stored. */ override fun artifactStore(artifactStore: IResolvable) { - cdkBuilder.artifactStore(artifactStore.let(IResolvable::unwrap)) + cdkBuilder.artifactStore(artifactStore.let(IResolvable.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public open class CfnPipeline( * @param artifactStore The S3 bucket where artifacts for the pipeline are stored. */ override fun artifactStore(artifactStore: ArtifactStoreProperty) { - cdkBuilder.artifactStore(artifactStore.let(ArtifactStoreProperty::unwrap)) + cdkBuilder.artifactStore(artifactStore.let(ArtifactStoreProperty.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public open class CfnPipeline( * Regions. */ override fun artifactStores(artifactStores: IResolvable) { - cdkBuilder.artifactStores(artifactStores.let(IResolvable::unwrap)) + cdkBuilder.artifactStores(artifactStores.let(IResolvable.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnPipeline( * action. */ override fun disableInboundStageTransitions(disableInboundStageTransitions: IResolvable) { - cdkBuilder.disableInboundStageTransitions(disableInboundStageTransitions.let(IResolvable::unwrap)) + cdkBuilder.disableInboundStageTransitions(disableInboundStageTransitions.let(IResolvable.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public open class CfnPipeline( * you update it. */ override fun restartExecutionOnUpdate(restartExecutionOnUpdate: IResolvable) { - cdkBuilder.restartExecutionOnUpdate(restartExecutionOnUpdate.let(IResolvable::unwrap)) + cdkBuilder.restartExecutionOnUpdate(restartExecutionOnUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -995,7 +995,7 @@ public open class CfnPipeline( * @param stages Represents information about a stage and its definition. */ override fun stages(stages: IResolvable) { - cdkBuilder.stages(stages.let(IResolvable::unwrap)) + cdkBuilder.stages(stages.let(IResolvable.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class CfnPipeline( * @param tags Specifies the tags applied to the pipeline. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public open class CfnPipeline( * starts the pipeline. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -1093,7 +1093,7 @@ public open class CfnPipeline( * @param variables A list that defines the pipeline variables for a pipeline resource. */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -1470,14 +1470,14 @@ public open class CfnPipeline( * @param actionTypeId Specifies the action type and the provider of the action. */ override fun actionTypeId(actionTypeId: IResolvable) { - cdkBuilder.actionTypeId(actionTypeId.let(IResolvable::unwrap)) + cdkBuilder.actionTypeId(actionTypeId.let(IResolvable.Companion::unwrap)) } /** * @param actionTypeId Specifies the action type and the provider of the action. */ override fun actionTypeId(actionTypeId: ActionTypeIdProperty) { - cdkBuilder.actionTypeId(actionTypeId.let(ActionTypeIdProperty::unwrap)) + cdkBuilder.actionTypeId(actionTypeId.let(ActionTypeIdProperty.Companion::unwrap)) } /** @@ -1528,7 +1528,7 @@ public open class CfnPipeline( * in the *AWS CodePipeline User Guide* . */ override fun inputArtifacts(inputArtifacts: IResolvable) { - cdkBuilder.inputArtifacts(inputArtifacts.let(IResolvable::unwrap)) + cdkBuilder.inputArtifacts(inputArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -1593,7 +1593,7 @@ public open class CfnPipeline( * the *AWS CodePipeline User Guide* . */ override fun outputArtifacts(outputArtifacts: IResolvable) { - cdkBuilder.outputArtifacts(outputArtifacts.let(IResolvable::unwrap)) + cdkBuilder.outputArtifacts(outputArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -2149,7 +2149,7 @@ public open class CfnPipeline( * `artifactStores` . */ override fun artifactStore(artifactStore: IResolvable) { - cdkBuilder.artifactStore(artifactStore.let(IResolvable::unwrap)) + cdkBuilder.artifactStore(artifactStore.let(IResolvable.Companion::unwrap)) } /** @@ -2161,7 +2161,7 @@ public open class CfnPipeline( * `artifactStores` . */ override fun artifactStore(artifactStore: ArtifactStoreProperty) { - cdkBuilder.artifactStore(artifactStore.let(ArtifactStoreProperty::unwrap)) + cdkBuilder.artifactStore(artifactStore.let(ArtifactStoreProperty.Companion::unwrap)) } /** @@ -2355,7 +2355,7 @@ public open class CfnPipeline( * . */ override fun encryptionKey(encryptionKey: IResolvable) { - cdkBuilder.encryptionKey(encryptionKey.let(IResolvable::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IResolvable.Companion::unwrap)) } /** @@ -2367,7 +2367,7 @@ public open class CfnPipeline( * . */ override fun encryptionKey(encryptionKey: EncryptionKeyProperty) { - cdkBuilder.encryptionKey(encryptionKey.let(EncryptionKeyProperty::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(EncryptionKeyProperty.Companion::unwrap)) } /** @@ -3001,7 +3001,7 @@ public open class CfnPipeline( * specified as pull requests. */ override fun pullRequest(pullRequest: IResolvable) { - cdkBuilder.pullRequest(pullRequest.let(IResolvable::unwrap)) + cdkBuilder.pullRequest(pullRequest.let(IResolvable.Companion::unwrap)) } /** @@ -3023,7 +3023,7 @@ public open class CfnPipeline( * pushing Git tags, is specified with details. */ override fun push(push: IResolvable) { - cdkBuilder.push(push.let(IResolvable::unwrap)) + cdkBuilder.push(push.let(IResolvable.Companion::unwrap)) } /** @@ -3370,7 +3370,7 @@ public open class CfnPipeline( * configuration. */ override fun branches(branches: IResolvable) { - cdkBuilder.branches(branches.let(IResolvable::unwrap)) + cdkBuilder.branches(branches.let(IResolvable.Companion::unwrap)) } /** @@ -3378,7 +3378,7 @@ public open class CfnPipeline( * configuration. */ override fun branches(branches: GitBranchFilterCriteriaProperty) { - cdkBuilder.branches(branches.let(GitBranchFilterCriteriaProperty::unwrap)) + cdkBuilder.branches(branches.let(GitBranchFilterCriteriaProperty.Companion::unwrap)) } /** @@ -3409,7 +3409,7 @@ public open class CfnPipeline( * trigger configuration. */ override fun filePaths(filePaths: IResolvable) { - cdkBuilder.filePaths(filePaths.let(IResolvable::unwrap)) + cdkBuilder.filePaths(filePaths.let(IResolvable.Companion::unwrap)) } /** @@ -3417,7 +3417,7 @@ public open class CfnPipeline( * trigger configuration. */ override fun filePaths(filePaths: GitFilePathFilterCriteriaProperty) { - cdkBuilder.filePaths(filePaths.let(GitFilePathFilterCriteriaProperty::unwrap)) + cdkBuilder.filePaths(filePaths.let(GitFilePathFilterCriteriaProperty.Companion::unwrap)) } /** @@ -3598,7 +3598,7 @@ public open class CfnPipeline( * configuration. */ override fun branches(branches: IResolvable) { - cdkBuilder.branches(branches.let(IResolvable::unwrap)) + cdkBuilder.branches(branches.let(IResolvable.Companion::unwrap)) } /** @@ -3606,7 +3606,7 @@ public open class CfnPipeline( * configuration. */ override fun branches(branches: GitBranchFilterCriteriaProperty) { - cdkBuilder.branches(branches.let(GitBranchFilterCriteriaProperty::unwrap)) + cdkBuilder.branches(branches.let(GitBranchFilterCriteriaProperty.Companion::unwrap)) } /** @@ -3623,7 +3623,7 @@ public open class CfnPipeline( * configuration. */ override fun filePaths(filePaths: IResolvable) { - cdkBuilder.filePaths(filePaths.let(IResolvable::unwrap)) + cdkBuilder.filePaths(filePaths.let(IResolvable.Companion::unwrap)) } /** @@ -3631,7 +3631,7 @@ public open class CfnPipeline( * configuration. */ override fun filePaths(filePaths: GitFilePathFilterCriteriaProperty) { - cdkBuilder.filePaths(filePaths.let(GitFilePathFilterCriteriaProperty::unwrap)) + cdkBuilder.filePaths(filePaths.let(GitFilePathFilterCriteriaProperty.Companion::unwrap)) } /** @@ -3647,7 +3647,7 @@ public open class CfnPipeline( * @param tags The field that contains the details for the Git tags trigger configuration. */ override fun tags(tags: GitTagFilterCriteriaProperty) { - cdkBuilder.tags(tags.let(GitTagFilterCriteriaProperty::unwrap)) + cdkBuilder.tags(tags.let(GitTagFilterCriteriaProperty.Companion::unwrap)) } /** @@ -4190,7 +4190,7 @@ public open class CfnPipeline( * repository event that starts the pipeline, such as Git tags. */ override fun gitConfiguration(gitConfiguration: IResolvable) { - cdkBuilder.gitConfiguration(gitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.gitConfiguration(gitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4198,7 +4198,7 @@ public open class CfnPipeline( * repository event that starts the pipeline, such as Git tags. */ override fun gitConfiguration(gitConfiguration: GitConfigurationProperty) { - cdkBuilder.gitConfiguration(gitConfiguration.let(GitConfigurationProperty::unwrap)) + cdkBuilder.gitConfiguration(gitConfiguration.let(GitConfigurationProperty.Companion::unwrap)) } /** @@ -4379,7 +4379,7 @@ public open class CfnPipeline( * @param actions The actions included in a stage. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -4398,7 +4398,7 @@ public open class CfnPipeline( * @param blockers Reserved for future use. */ override fun blockers(blockers: IResolvable) { - cdkBuilder.blockers(blockers.let(IResolvable::unwrap)) + cdkBuilder.blockers(blockers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipelineProps.kt index cbb5271438..36105d35f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnPipelineProps.kt @@ -487,7 +487,7 @@ public interface CfnPipelineProps { * use both. If you create a cross-region action in your pipeline, you must use `artifactStores` . */ override fun artifactStore(artifactStore: IResolvable) { - cdkBuilder.artifactStore(artifactStore.let(IResolvable::unwrap)) + cdkBuilder.artifactStore(artifactStore.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface CfnPipelineProps { * use both. If you create a cross-region action in your pipeline, you must use `artifactStores` . */ override fun artifactStore(artifactStore: CfnPipeline.ArtifactStoreProperty) { - cdkBuilder.artifactStore(artifactStore.let(CfnPipeline.ArtifactStoreProperty::unwrap)) + cdkBuilder.artifactStore(artifactStore.let(CfnPipeline.ArtifactStoreProperty.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnPipelineProps { * use both. If you create a cross-region action in your pipeline, you must use `artifactStores` . */ override fun artifactStores(artifactStores: IResolvable) { - cdkBuilder.artifactStores(artifactStores.let(IResolvable::unwrap)) + cdkBuilder.artifactStores(artifactStores.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface CfnPipelineProps { * action. */ override fun disableInboundStageTransitions(disableInboundStageTransitions: IResolvable) { - cdkBuilder.disableInboundStageTransitions(disableInboundStageTransitions.let(IResolvable::unwrap)) + cdkBuilder.disableInboundStageTransitions(disableInboundStageTransitions.let(IResolvable.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public interface CfnPipelineProps { * you update it. */ override fun restartExecutionOnUpdate(restartExecutionOnUpdate: IResolvable) { - cdkBuilder.restartExecutionOnUpdate(restartExecutionOnUpdate.let(IResolvable::unwrap)) + cdkBuilder.restartExecutionOnUpdate(restartExecutionOnUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public interface CfnPipelineProps { * @param stages Represents information about a stage and its definition. */ override fun stages(stages: IResolvable) { - cdkBuilder.stages(stages.let(IResolvable::unwrap)) + cdkBuilder.stages(stages.let(IResolvable.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public interface CfnPipelineProps { * @param tags Specifies the tags applied to the pipeline. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public interface CfnPipelineProps { * commits is disabled. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public interface CfnPipelineProps { * `[A-Za-z0-9@\-_]+` . */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhook.kt index 6bc3dd389c..123bb41104 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhook.kt @@ -76,8 +76,8 @@ public open class CfnWebhook( id: String, props: CfnWebhookProps, ) : - this(software.amazon.awscdk.services.codepipeline.CfnWebhook(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWebhookProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.CfnWebhook(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebhookProps.Companion::unwrap)) ) public constructor( @@ -119,14 +119,14 @@ public open class CfnWebhook( * Properties that configure the authentication applied to incoming webhook trigger requests. */ public open fun authenticationConfiguration(`value`: IResolvable) { - unwrap(this).setAuthenticationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthenticationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Properties that configure the authentication applied to incoming webhook trigger requests. */ public open fun authenticationConfiguration(`value`: WebhookAuthConfigurationProperty) { - unwrap(this).setAuthenticationConfiguration(`value`.let(WebhookAuthConfigurationProperty::unwrap)) + unwrap(this).setAuthenticationConfiguration(`value`.let(WebhookAuthConfigurationProperty.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnWebhook( * A list of rules applied to the body/payload sent in the POST request to a webhook URL. */ public open fun filters(`value`: IResolvable) { - unwrap(this).setFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnWebhook( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnWebhook( * to be detected. */ public open fun registerWithThirdParty(`value`: IResolvable) { - unwrap(this).setRegisterWithThirdParty(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegisterWithThirdParty(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class CfnWebhook( * incoming webhook trigger requests. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnWebhook( */ override fun authenticationConfiguration(authenticationConfiguration: WebhookAuthConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(WebhookAuthConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(WebhookAuthConfigurationProperty.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnWebhook( * webhook URL. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnWebhook( * and the external tool with events to be detected. */ override fun registerWithThirdParty(registerWithThirdParty: IResolvable) { - cdkBuilder.registerWithThirdParty(registerWithThirdParty.let(IResolvable::unwrap)) + cdkBuilder.registerWithThirdParty(registerWithThirdParty.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhookProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhookProps.kt index 7975cf2ba1..a3418e60cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhookProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CfnWebhookProps.kt @@ -259,7 +259,7 @@ public interface CfnWebhookProps { * valid CIDR range. For UNAUTHENTICATED, no properties can be set. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnWebhookProps { */ override fun authenticationConfiguration(authenticationConfiguration: CfnWebhook.WebhookAuthConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(CfnWebhook.WebhookAuthConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(CfnWebhook.WebhookAuthConfigurationProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnWebhookProps { * All defined rules must pass for the request to be accepted and the pipeline started. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface CfnWebhookProps { * and the external tool with events to be detected. */ override fun registerWithThirdParty(registerWithThirdParty: IResolvable) { - cdkBuilder.registerWithThirdParty(registerWithThirdParty.let(IResolvable::unwrap)) + cdkBuilder.registerWithThirdParty(registerWithThirdParty.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CommonAwsActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CommonAwsActionProps.kt index 5be090c0f2..0d440a1d32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CommonAwsActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CommonAwsActionProps.kt @@ -101,7 +101,7 @@ public interface CommonAwsActionProps : CommonActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CrossRegionSupport.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CrossRegionSupport.kt index f2e856f0a4..8ae6426c2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CrossRegionSupport.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CrossRegionSupport.kt @@ -73,7 +73,7 @@ public interface CrossRegionSupport { * Belongs to `stack`. */ override fun replicationBucket(replicationBucket: IBucket) { - cdkBuilder.replicationBucket(replicationBucket.let(IBucket::unwrap)) + cdkBuilder.replicationBucket(replicationBucket.let(IBucket.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public interface CrossRegionSupport { * this region. */ override fun stack(stack: Stack) { - cdkBuilder.stack(stack.let(Stack::unwrap)) + cdkBuilder.stack(stack.let(Stack.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codepipeline.CrossRegionSupport = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistration.kt index 8dddc066b7..ab326daae6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistration.kt @@ -59,8 +59,8 @@ public open class CustomActionRegistration( id: String, props: CustomActionRegistrationProps, ) : - this(software.amazon.awscdk.services.codepipeline.CustomActionRegistration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CustomActionRegistrationProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.CustomActionRegistration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CustomActionRegistrationProps.Companion::unwrap)) ) public constructor( @@ -171,7 +171,7 @@ public open class CustomActionRegistration( * @param actionProperties The properties used for customizing the instance of your Action. */ override fun actionProperties(actionProperties: List) { - cdkBuilder.actionProperties(actionProperties.map(CustomActionProperty::unwrap)) + cdkBuilder.actionProperties(actionProperties.map(CustomActionProperty.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CustomActionRegistration( * @param artifactBounds The artifact bounds of the Action. */ override fun artifactBounds(artifactBounds: ActionArtifactBounds) { - cdkBuilder.artifactBounds(artifactBounds.let(ActionArtifactBounds::unwrap)) + cdkBuilder.artifactBounds(artifactBounds.let(ActionArtifactBounds.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CustomActionRegistration( * @param category The category of the Action. */ override fun category(category: ActionCategory) { - cdkBuilder.category(category.let(ActionCategory::unwrap)) + cdkBuilder.category(category.let(ActionCategory.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistrationProps.kt index 56d222d2dc..3578e28643 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/CustomActionRegistrationProps.kt @@ -155,7 +155,7 @@ public interface CustomActionRegistrationProps { * @param actionProperties The properties used for customizing the instance of your Action. */ override fun actionProperties(actionProperties: List) { - cdkBuilder.actionProperties(actionProperties.map(CustomActionProperty::unwrap)) + cdkBuilder.actionProperties(actionProperties.map(CustomActionProperty.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface CustomActionRegistrationProps { * @param artifactBounds The artifact bounds of the Action. */ override fun artifactBounds(artifactBounds: ActionArtifactBounds) { - cdkBuilder.artifactBounds(artifactBounds.let(ActionArtifactBounds::unwrap)) + cdkBuilder.artifactBounds(artifactBounds.let(ActionArtifactBounds.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface CustomActionRegistrationProps { * @param category The category of the Action. */ override fun category(category: ActionCategory) { - cdkBuilder.category(category.let(ActionCategory::unwrap)) + cdkBuilder.category(category.let(ActionCategory.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitConfiguration.kt index 7c71a0793a..2d58bad0e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitConfiguration.kt @@ -39,6 +39,17 @@ import kotlin.collections.List * ``` */ public interface GitConfiguration { + /** + * The field where the repository event that will start the pipeline is specified as pull + * requests. + * + * The length must be less than or equal to 3. + * + * Default: - no filter. + */ + public fun pullRequestFilter(): List = + unwrap(this).getPullRequestFilter()?.map(GitPullRequestFilter::wrap) ?: emptyList() + /** * The field where the repository event that will start the pipeline, such as pushing Git tags, is * specified with details. @@ -68,6 +79,20 @@ public interface GitConfiguration { */ @CdkDslMarker public interface Builder { + /** + * @param pullRequestFilter The field where the repository event that will start the pipeline is + * specified as pull requests. + * The length must be less than or equal to 3. + */ + public fun pullRequestFilter(pullRequestFilter: List) + + /** + * @param pullRequestFilter The field where the repository event that will start the pipeline is + * specified as pull requests. + * The length must be less than or equal to 3. + */ + public fun pullRequestFilter(vararg pullRequestFilter: GitPullRequestFilter) + /** * @param pushFilter The field where the repository event that will start the pipeline, such as * pushing Git tags, is specified with details. @@ -102,6 +127,23 @@ public interface GitConfiguration { private val cdkBuilder: software.amazon.awscdk.services.codepipeline.GitConfiguration.Builder = software.amazon.awscdk.services.codepipeline.GitConfiguration.builder() + /** + * @param pullRequestFilter The field where the repository event that will start the pipeline is + * specified as pull requests. + * The length must be less than or equal to 3. + */ + override fun pullRequestFilter(pullRequestFilter: List) { + cdkBuilder.pullRequestFilter(pullRequestFilter.map(GitPullRequestFilter.Companion::unwrap)) + } + + /** + * @param pullRequestFilter The field where the repository event that will start the pipeline is + * specified as pull requests. + * The length must be less than or equal to 3. + */ + override fun pullRequestFilter(vararg pullRequestFilter: GitPullRequestFilter): Unit = + pullRequestFilter(pullRequestFilter.toList()) + /** * @param pushFilter The field where the repository event that will start the pipeline, such as * pushing Git tags, is specified with details. @@ -110,7 +152,7 @@ public interface GitConfiguration { * The length must be less than or equal to 3. */ override fun pushFilter(pushFilter: List) { - cdkBuilder.pushFilter(pushFilter.map(GitPushFilter::unwrap)) + cdkBuilder.pushFilter(pushFilter.map(GitPushFilter.Companion::unwrap)) } /** @@ -133,7 +175,7 @@ public interface GitConfiguration { * `CodeStarConnectionsSourceAction` construct in `aws-codepipeline-actions` module. */ override fun sourceAction(sourceAction: IAction) { - cdkBuilder.sourceAction(sourceAction.let(IAction::unwrap)) + cdkBuilder.sourceAction(sourceAction.let(IAction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codepipeline.GitConfiguration = @@ -143,6 +185,17 @@ public interface GitConfiguration { private class Wrapper( cdkObject: software.amazon.awscdk.services.codepipeline.GitConfiguration, ) : CdkObject(cdkObject), GitConfiguration { + /** + * The field where the repository event that will start the pipeline is specified as pull + * requests. + * + * The length must be less than or equal to 3. + * + * Default: - no filter. + */ + override fun pullRequestFilter(): List = + unwrap(this).getPullRequestFilter()?.map(GitPullRequestFilter::wrap) ?: emptyList() + /** * The field where the repository event that will start the pipeline, such as pushing Git tags, * is specified with details. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitPullRequestEvent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitPullRequestEvent.kt new file mode 100644 index 0000000000..a883460009 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitPullRequestEvent.kt @@ -0,0 +1,27 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.codepipeline + +public enum class GitPullRequestEvent( + private val cdkObject: software.amazon.awscdk.services.codepipeline.GitPullRequestEvent, +) { + OPEN(software.amazon.awscdk.services.codepipeline.GitPullRequestEvent.OPEN), + UPDATED(software.amazon.awscdk.services.codepipeline.GitPullRequestEvent.UPDATED), + CLOSED(software.amazon.awscdk.services.codepipeline.GitPullRequestEvent.CLOSED), + ; + + public companion object { + internal fun wrap(cdkObject: software.amazon.awscdk.services.codepipeline.GitPullRequestEvent): + GitPullRequestEvent = when (cdkObject) { + software.amazon.awscdk.services.codepipeline.GitPullRequestEvent.OPEN -> + GitPullRequestEvent.OPEN + software.amazon.awscdk.services.codepipeline.GitPullRequestEvent.UPDATED -> + GitPullRequestEvent.UPDATED + software.amazon.awscdk.services.codepipeline.GitPullRequestEvent.CLOSED -> + GitPullRequestEvent.CLOSED + } + + internal fun unwrap(wrapped: GitPullRequestEvent): + software.amazon.awscdk.services.codepipeline.GitPullRequestEvent = wrapped.cdkObject + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitPullRequestFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitPullRequestFilter.kt new file mode 100644 index 0000000000..5d165b5c17 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/GitPullRequestFilter.kt @@ -0,0 +1,388 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.codepipeline + +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit +import kotlin.collections.List + +/** + * Git pull request filter for trigger. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.codepipeline.*; + * GitPullRequestFilter gitPullRequestFilter = GitPullRequestFilter.builder() + * .branchesExcludes(List.of("branchesExcludes")) + * .branchesIncludes(List.of("branchesIncludes")) + * .events(List.of(GitPullRequestEvent.OPEN)) + * .filePathsExcludes(List.of("filePathsExcludes")) + * .filePathsIncludes(List.of("filePathsIncludes")) + * .build(); + * ``` + */ +public interface GitPullRequestFilter { + /** + * The list of patterns of Git branches that, when pull request events occurs, are to be excluded + * from starting the pipeline. + * + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no branches. + */ + public fun branchesExcludes(): List = unwrap(this).getBranchesExcludes() ?: emptyList() + + /** + * The list of patterns of Git branches that, when pull request events occurs, are to be included + * as criteria that starts the pipeline. + * + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no branches. + */ + public fun branchesIncludes(): List = unwrap(this).getBranchesIncludes() ?: emptyList() + + /** + * The field that specifies which pull request events to filter on (opened, updated, closed) for + * the trigger configuration. + * + * Default: - all events. + */ + public fun events(): List = + unwrap(this).getEvents()?.map(GitPullRequestEvent::wrap) ?: emptyList() + + /** + * The list of patterns of Git repository file paths that, when pull request events occurs, are to + * be excluded from starting the pipeline. + * + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no filePaths. + */ + public fun filePathsExcludes(): List = unwrap(this).getFilePathsExcludes() ?: emptyList() + + /** + * The list of patterns of Git repository file paths that, when pull request events occurs, are to + * be included as criteria that starts the pipeline. + * + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no filePaths. + */ + public fun filePathsIncludes(): List = unwrap(this).getFilePathsIncludes() ?: emptyList() + + /** + * A builder for [GitPullRequestFilter] + */ + @CdkDslMarker + public interface Builder { + /** + * @param branchesExcludes The list of patterns of Git branches that, when pull request events + * occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + public fun branchesExcludes(branchesExcludes: List) + + /** + * @param branchesExcludes The list of patterns of Git branches that, when pull request events + * occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + public fun branchesExcludes(vararg branchesExcludes: String) + + /** + * @param branchesIncludes The list of patterns of Git branches that, when pull request events + * occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + public fun branchesIncludes(branchesIncludes: List) + + /** + * @param branchesIncludes The list of patterns of Git branches that, when pull request events + * occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + public fun branchesIncludes(vararg branchesIncludes: String) + + /** + * @param events The field that specifies which pull request events to filter on (opened, + * updated, closed) for the trigger configuration. + */ + public fun events(events: List) + + /** + * @param events The field that specifies which pull request events to filter on (opened, + * updated, closed) for the trigger configuration. + */ + public fun events(vararg events: GitPullRequestEvent) + + /** + * @param filePathsExcludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + public fun filePathsExcludes(filePathsExcludes: List) + + /** + * @param filePathsExcludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + public fun filePathsExcludes(vararg filePathsExcludes: String) + + /** + * @param filePathsIncludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + public fun filePathsIncludes(filePathsIncludes: List) + + /** + * @param filePathsIncludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + public fun filePathsIncludes(vararg filePathsIncludes: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.codepipeline.GitPullRequestFilter.Builder = + software.amazon.awscdk.services.codepipeline.GitPullRequestFilter.builder() + + /** + * @param branchesExcludes The list of patterns of Git branches that, when pull request events + * occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + override fun branchesExcludes(branchesExcludes: List) { + cdkBuilder.branchesExcludes(branchesExcludes) + } + + /** + * @param branchesExcludes The list of patterns of Git branches that, when pull request events + * occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + override fun branchesExcludes(vararg branchesExcludes: String): Unit = + branchesExcludes(branchesExcludes.toList()) + + /** + * @param branchesIncludes The list of patterns of Git branches that, when pull request events + * occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + override fun branchesIncludes(branchesIncludes: List) { + cdkBuilder.branchesIncludes(branchesIncludes) + } + + /** + * @param branchesIncludes The list of patterns of Git branches that, when pull request events + * occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + */ + override fun branchesIncludes(vararg branchesIncludes: String): Unit = + branchesIncludes(branchesIncludes.toList()) + + /** + * @param events The field that specifies which pull request events to filter on (opened, + * updated, closed) for the trigger configuration. + */ + override fun events(events: List) { + cdkBuilder.events(events.map(GitPullRequestEvent.Companion::unwrap)) + } + + /** + * @param events The field that specifies which pull request events to filter on (opened, + * updated, closed) for the trigger configuration. + */ + override fun events(vararg events: GitPullRequestEvent): Unit = events(events.toList()) + + /** + * @param filePathsExcludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + override fun filePathsExcludes(filePathsExcludes: List) { + cdkBuilder.filePathsExcludes(filePathsExcludes) + } + + /** + * @param filePathsExcludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be excluded from starting the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + override fun filePathsExcludes(vararg filePathsExcludes: String): Unit = + filePathsExcludes(filePathsExcludes.toList()) + + /** + * @param filePathsIncludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + override fun filePathsIncludes(filePathsIncludes: List) { + cdkBuilder.filePathsIncludes(filePathsIncludes) + } + + /** + * @param filePathsIncludes The list of patterns of Git repository file paths that, when pull + * request events occurs, are to be included as criteria that starts the pipeline. + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + */ + override fun filePathsIncludes(vararg filePathsIncludes: String): Unit = + filePathsIncludes(filePathsIncludes.toList()) + + public fun build(): software.amazon.awscdk.services.codepipeline.GitPullRequestFilter = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.codepipeline.GitPullRequestFilter, + ) : CdkObject(cdkObject), GitPullRequestFilter { + /** + * The list of patterns of Git branches that, when pull request events occurs, are to be + * excluded from starting the pipeline. + * + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no branches. + */ + override fun branchesExcludes(): List = unwrap(this).getBranchesExcludes() ?: + emptyList() + + /** + * The list of patterns of Git branches that, when pull request events occurs, are to be + * included as criteria that starts the pipeline. + * + * You can filter with glob patterns. The `branchesExcludes` takes priority + * over the `branchesIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no branches. + */ + override fun branchesIncludes(): List = unwrap(this).getBranchesIncludes() ?: + emptyList() + + /** + * The field that specifies which pull request events to filter on (opened, updated, closed) for + * the trigger configuration. + * + * Default: - all events. + */ + override fun events(): List = + unwrap(this).getEvents()?.map(GitPullRequestEvent::wrap) ?: emptyList() + + /** + * The list of patterns of Git repository file paths that, when pull request events occurs, are + * to be excluded from starting the pipeline. + * + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no filePaths. + */ + override fun filePathsExcludes(): List = unwrap(this).getFilePathsExcludes() ?: + emptyList() + + /** + * The list of patterns of Git repository file paths that, when pull request events occurs, are + * to be included as criteria that starts the pipeline. + * + * You can filter with glob patterns. The `filePathsExcludes` takes priority + * over the `filePathsIncludes`. + * + * Maximum length of this array is 8. + * + * Default: - no filePaths. + */ + override fun filePathsIncludes(): List = unwrap(this).getFilePathsIncludes() ?: + emptyList() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): GitPullRequestFilter { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.codepipeline.GitPullRequestFilter): + GitPullRequestFilter = CdkObjectWrappers.wrap(cdkObject) as? GitPullRequestFilter ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: GitPullRequestFilter): + software.amazon.awscdk.services.codepipeline.GitPullRequestFilter = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.codepipeline.GitPullRequestFilter + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IAction.kt index 8f58d8e6c0..82722f496d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IAction.kt @@ -127,8 +127,9 @@ public interface IAction { scope: Construct, stage: IStage, options: ActionBindOptions, - ): ActionConfig = unwrap(this).bind(scope.let(Construct::unwrap), stage.let(IStage::unwrap), - options.let(ActionBindOptions::unwrap)).let(ActionConfig::wrap) + ): ActionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + stage.let(IStage.Companion::unwrap), + options.let(ActionBindOptions.Companion::unwrap)).let(ActionConfig::wrap) /** * The callback invoked when this Action is added to a Pipeline. @@ -165,7 +166,7 @@ public interface IAction { * @param options additional options that can be used to customize the created Event. */ override fun onStateChange(name: String, target: IRuleTarget): Rule = - unwrap(this).onStateChange(name, target.let(IRuleTarget::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(name, target.let(IRuleTarget.Companion::unwrap)).let(Rule::wrap) /** * Creates an Event that will be triggered whenever the state of this Action changes. @@ -178,8 +179,8 @@ public interface IAction { name: String, target: IRuleTarget, options: RuleProps, - ): Rule = unwrap(this).onStateChange(name, target.let(IRuleTarget::unwrap), - options.let(RuleProps::unwrap)).let(Rule::wrap) + ): Rule = unwrap(this).onStateChange(name, target.let(IRuleTarget.Companion::unwrap), + options.let(RuleProps.Companion::unwrap)).let(Rule::wrap) /** * Creates an Event that will be triggered whenever the state of this Action changes. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IPipeline.kt index 53d7dc6179..b499457db6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IPipeline.kt @@ -326,7 +326,7 @@ public interface IPipeline : IResource, INotificationRuleSource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface IPipeline : IResource, INotificationRuleSource { * @param scope */ override fun bindAsNotificationRuleSource(scope: Construct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(Construct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(Construct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) /** * The environment this resource belongs to. @@ -368,8 +368,9 @@ public interface IPipeline : IResource, INotificationRuleSource { id: String, target: INotificationRuleTarget, options: PipelineNotifyOnOptions, - ): INotificationRule = unwrap(this).notifyOn(id, target.let(INotificationRuleTarget::unwrap), - options.let(PipelineNotifyOnOptions::unwrap)).let(INotificationRule::wrap) + ): INotificationRule = unwrap(this).notifyOn(id, + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(PipelineNotifyOnOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule triggered when the pipeline events emitted by you @@ -403,7 +404,7 @@ public interface IPipeline : IResource, INotificationRuleSource { */ override fun notifyOnAnyActionStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnAnyActionStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Action execution" events emitted @@ -419,8 +420,8 @@ public interface IPipeline : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnAnyActionStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Action execution" events emitted @@ -451,7 +452,7 @@ public interface IPipeline : IResource, INotificationRuleSource { */ override fun notifyOnAnyManualApprovalStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnAnyManualApprovalStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Manual approval" events emitted from @@ -467,8 +468,8 @@ public interface IPipeline : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnAnyManualApprovalStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Manual approval" events emitted from @@ -499,7 +500,7 @@ public interface IPipeline : IResource, INotificationRuleSource { */ override fun notifyOnAnyStageStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnAnyStageStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Stage execution" events emitted from @@ -515,8 +516,8 @@ public interface IPipeline : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnAnyStageStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Stage execution" events emitted from @@ -546,7 +547,7 @@ public interface IPipeline : IResource, INotificationRuleSource { */ override fun notifyOnExecutionStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnExecutionStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Pipeline execution" events emitted @@ -562,8 +563,8 @@ public interface IPipeline : IResource, INotificationRuleSource { target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnExecutionStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Pipeline execution" events emitted @@ -598,7 +599,7 @@ public interface IPipeline : IResource, INotificationRuleSource { * @param options Additional options to pass to the event rule. */ override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Define an event rule triggered by this CodePipeline. @@ -628,7 +629,8 @@ public interface IPipeline : IResource, INotificationRuleSource { * @param options Additional options to pass to the event rule. */ override fun onStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Define an event rule triggered by the "CodePipeline Pipeline Execution State Change" event diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IStage.kt index dd0f6c3463..56c8773304 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/IStage.kt @@ -86,7 +86,7 @@ public interface IStage { * @param action */ override fun addAction(action: IAction) { - unwrap(this).addAction(action.let(IAction::unwrap)) + unwrap(this).addAction(action.let(IAction.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public interface IStage { * @param options */ override fun onStateChange(name: String, target: IRuleTarget): Rule = - unwrap(this).onStateChange(name, target.let(IRuleTarget::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(name, target.let(IRuleTarget.Companion::unwrap)).let(Rule::wrap) /** * @param name @@ -114,8 +114,8 @@ public interface IStage { name: String, target: IRuleTarget, options: RuleProps, - ): Rule = unwrap(this).onStateChange(name, target.let(IRuleTarget::unwrap), - options.let(RuleProps::unwrap)).let(Rule::wrap) + ): Rule = unwrap(this).onStateChange(name, target.let(IRuleTarget.Companion::unwrap), + options.let(RuleProps.Companion::unwrap)).let(Rule::wrap) /** * @param name diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Pipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Pipeline.kt index 51eafdae14..0f2d12121c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Pipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Pipeline.kt @@ -48,7 +48,7 @@ public open class Pipeline( cdkObject: software.amazon.awscdk.services.codepipeline.Pipeline, ) : Resource(cdkObject), IPipeline { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.codepipeline.Pipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.codepipeline.Pipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class Pipeline( id: String, props: PipelineProps, ) : - this(software.amazon.awscdk.services.codepipeline.Pipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PipelineProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.Pipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PipelineProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class Pipeline( * @param props the creation properties of the new Stage. */ public open fun addStage(props: StageOptions): IStage = - unwrap(this).addStage(props.let(StageOptions::unwrap)).let(IStage::wrap) + unwrap(this).addStage(props.let(StageOptions.Companion::unwrap)).let(IStage::wrap) /** * Creates a new Stage, and adds it to this Pipeline. @@ -94,7 +94,7 @@ public open class Pipeline( * @param statement */ public open fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class Pipeline( * @param props Trigger property to add to this Pipeline. */ public open fun addTrigger(props: TriggerProps): Trigger = - unwrap(this).addTrigger(props.let(TriggerProps::unwrap)).let(Trigger::wrap) + unwrap(this).addTrigger(props.let(TriggerProps.Companion::unwrap)).let(Trigger::wrap) /** * Adds a new Trigger to this Pipeline. @@ -134,7 +134,7 @@ public open class Pipeline( * @param variable Variable instance to add to this Pipeline. */ public open fun addVariable(variable: Variable): Variable = - unwrap(this).addVariable(variable.let(Variable::unwrap)).let(Variable::wrap) + unwrap(this).addVariable(variable.let(Variable.Companion::unwrap)).let(Variable::wrap) /** * Adds a new Variable to this Pipeline. @@ -159,7 +159,7 @@ public open class Pipeline( */ public override fun bindAsNotificationRuleSource(scope: CloudshiftdevConstructsConstruct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(CloudshiftdevConstructsConstruct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) /** * Returns all of the `CrossRegionSupportStack`s that were generated automatically when dealing @@ -184,8 +184,9 @@ public open class Pipeline( id: String, target: INotificationRuleTarget, options: PipelineNotifyOnOptions, - ): INotificationRule = unwrap(this).notifyOn(id, target.let(INotificationRuleTarget::unwrap), - options.let(PipelineNotifyOnOptions::unwrap)).let(INotificationRule::wrap) + ): INotificationRule = unwrap(this).notifyOn(id, + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(PipelineNotifyOnOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Defines a CodeStar notification rule triggered when the pipeline events emitted by you @@ -217,7 +218,7 @@ public open class Pipeline( */ public override fun notifyOnAnyActionStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnAnyActionStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Action execution" events emitted from @@ -232,8 +233,8 @@ public open class Pipeline( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnAnyActionStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Action execution" events emitted from @@ -262,7 +263,7 @@ public open class Pipeline( public override fun notifyOnAnyManualApprovalStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnAnyManualApprovalStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Manual approval" events emitted from @@ -277,8 +278,8 @@ public open class Pipeline( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnAnyManualApprovalStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Manual approval" events emitted from @@ -307,7 +308,7 @@ public open class Pipeline( */ public override fun notifyOnAnyStageStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnAnyStageStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Stage execution" events emitted from @@ -322,8 +323,8 @@ public open class Pipeline( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnAnyStageStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Stage execution" events emitted from @@ -351,7 +352,7 @@ public open class Pipeline( */ public override fun notifyOnExecutionStateChange(id: String, target: INotificationRuleTarget): INotificationRule = unwrap(this).notifyOnExecutionStateChange(id, - target.let(INotificationRuleTarget::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Pipeline execution" events emitted @@ -366,8 +367,8 @@ public open class Pipeline( target: INotificationRuleTarget, options: NotificationRuleOptions, ): INotificationRule = unwrap(this).notifyOnExecutionStateChange(id, - target.let(INotificationRuleTarget::unwrap), - options.let(NotificationRuleOptions::unwrap)).let(INotificationRule::wrap) + target.let(INotificationRuleTarget.Companion::unwrap), + options.let(NotificationRuleOptions.Companion::unwrap)).let(INotificationRule::wrap) /** * Define an notification rule triggered by the set of the "Pipeline execution" events emitted @@ -400,7 +401,7 @@ public open class Pipeline( * @param options Additional options to pass to the event rule. */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule triggered by this CodePipeline. @@ -431,7 +432,7 @@ public open class Pipeline( * @param options Additional options to pass to the event rule. */ public override fun onStateChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onStateChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onStateChange(id, options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an event rule triggered by the "CodePipeline Pipeline Execution State Change" event @@ -703,7 +704,7 @@ public open class Pipeline( * @param artifactBucket The S3 bucket used by this Pipeline to store artifacts. */ override fun artifactBucket(artifactBucket: IBucket) { - cdkBuilder.artifactBucket(artifactBucket.let(IBucket::unwrap)) + cdkBuilder.artifactBucket(artifactBucket.let(IBucket.Companion::unwrap)) } /** @@ -768,7 +769,7 @@ public open class Pipeline( * @param executionMode The method that the pipeline will use to handle multiple executions. */ override fun executionMode(executionMode: ExecutionMode) { - cdkBuilder.executionMode(executionMode.let(ExecutionMode::unwrap)) + cdkBuilder.executionMode(executionMode.let(ExecutionMode.Companion::unwrap)) } /** @@ -792,7 +793,7 @@ public open class Pipeline( * @param pipelineType Type of the pipeline. */ override fun pipelineType(pipelineType: PipelineType) { - cdkBuilder.pipelineType(pipelineType.let(PipelineType::unwrap)) + cdkBuilder.pipelineType(pipelineType.let(PipelineType.Companion::unwrap)) } /** @@ -827,7 +828,7 @@ public open class Pipeline( * @param role The IAM role to be assumed by this Pipeline. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -840,7 +841,7 @@ public open class Pipeline( * @param stages The list of Stages, in order, to create this Pipeline with. */ override fun stages(stages: List) { - cdkBuilder.stages(stages.map(StageProps::unwrap)) + cdkBuilder.stages(stages.map(StageProps.Companion::unwrap)) } /** @@ -870,7 +871,7 @@ public open class Pipeline( * starts the pipeline. */ override fun triggers(triggers: List) { - cdkBuilder.triggers(triggers.map(TriggerProps::unwrap)) + cdkBuilder.triggers(triggers.map(TriggerProps.Companion::unwrap)) } /** @@ -901,7 +902,7 @@ public open class Pipeline( * @param variables A list that defines the pipeline variables for a pipeline resource. */ override fun variables(variables: List) { - cdkBuilder.variables(variables.map(Variable::unwrap)) + cdkBuilder.variables(variables.map(Variable.Companion::unwrap)) } /** @@ -925,7 +926,7 @@ public open class Pipeline( id: String, pipelineArn: String, ): IPipeline = - software.amazon.awscdk.services.codepipeline.Pipeline.fromPipelineArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codepipeline.Pipeline.fromPipelineArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, pipelineArn).let(IPipeline::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineNotifyOnOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineNotifyOnOptions.kt index 0176aa8dfa..e86caa0591 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineNotifyOnOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineNotifyOnOptions.kt @@ -96,7 +96,7 @@ public interface PipelineNotifyOnOptions : NotificationRuleOptions { * the service for the resource for which the notification is created. */ override fun detailType(detailType: DetailType) { - cdkBuilder.detailType(detailType.let(DetailType::unwrap)) + cdkBuilder.detailType(detailType.let(DetailType.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface PipelineNotifyOnOptions : NotificationRuleOptions { * Console User Guide. */ override fun events(events: List) { - cdkBuilder.events(events.map(PipelineNotificationEvents::unwrap)) + cdkBuilder.events(events.map(PipelineNotificationEvents.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineProps.kt index a94b7e9dd8..ce9280eeb2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/PipelineProps.kt @@ -17,32 +17,31 @@ import kotlin.collections.Map * Example: * * ``` - * PipelineProject project; - * Repository repository = Repository.Builder.create(this, "MyRepository") - * .repositoryName("MyRepository") + * S3SourceAction sourceAction; + * Artifact sourceOutput; + * Bucket deployBucket; + * // Pipeline-level variable + * Variable variable = Variable.Builder.create() + * .variableName("bucket-var") + * .description("description") + * .defaultValue("sample") * .build(); - * PipelineProject project = new PipelineProject(this, "MyProject"); - * Artifact sourceOutput = new Artifact(); - * CodeCommitSourceAction sourceAction = CodeCommitSourceAction.Builder.create() - * .actionName("CodeCommit") - * .repository(repository) - * .output(sourceOutput) - * .build(); - * CodeBuildAction buildAction = CodeBuildAction.Builder.create() - * .actionName("CodeBuild") - * .project(project) - * .input(sourceOutput) - * .outputs(List.of(new Artifact())) // optional - * .executeBatchBuild(true) // optional, defaults to false - * .combineBatchBuildArtifacts(true) - * .build(); - * Pipeline.Builder.create(this, "MyPipeline") + * Pipeline.Builder.create(this, "Pipeline") + * .pipelineType(PipelineType.V2) + * .variables(List.of(variable)) * .stages(List.of(StageProps.builder() * .stageName("Source") * .actions(List.of(sourceAction)) * .build(), StageProps.builder() - * .stageName("Build") - * .actions(List.of(buildAction)) + * .stageName("Deploy") + * .actions(List.of( + * S3DeployAction.Builder.create() + * .actionName("DeployAction") + * // can reference the variables + * .objectKey(String.format("%s.txt", variable.reference())) + * .input(sourceOutput) + * .bucket(deployBucket) + * .build())) * .build())) * .build(); * ``` @@ -309,7 +308,7 @@ public interface PipelineProps { * @param artifactBucket The S3 bucket used by this Pipeline to store artifacts. */ override fun artifactBucket(artifactBucket: IBucket) { - cdkBuilder.artifactBucket(artifactBucket.let(IBucket::unwrap)) + cdkBuilder.artifactBucket(artifactBucket.let(IBucket.Companion::unwrap)) } /** @@ -353,7 +352,7 @@ public interface PipelineProps { * @param executionMode The method that the pipeline will use to handle multiple executions. */ override fun executionMode(executionMode: ExecutionMode) { - cdkBuilder.executionMode(executionMode.let(ExecutionMode::unwrap)) + cdkBuilder.executionMode(executionMode.let(ExecutionMode.Companion::unwrap)) } /** @@ -367,7 +366,7 @@ public interface PipelineProps { * @param pipelineType Type of the pipeline. */ override fun pipelineType(pipelineType: PipelineType) { - cdkBuilder.pipelineType(pipelineType.let(PipelineType::unwrap)) + cdkBuilder.pipelineType(pipelineType.let(PipelineType.Companion::unwrap)) } /** @@ -390,7 +389,7 @@ public interface PipelineProps { * @param role The IAM role to be assumed by this Pipeline. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -398,7 +397,7 @@ public interface PipelineProps { * You can always add more Stages later by calling `Pipeline#addStage`. */ override fun stages(stages: List) { - cdkBuilder.stages(stages.map(StageProps::unwrap)) + cdkBuilder.stages(stages.map(StageProps.Companion::unwrap)) } /** @@ -417,7 +416,7 @@ public interface PipelineProps { * You can always add more triggers later by calling `Pipeline#addTrigger`. */ override fun triggers(triggers: List) { - cdkBuilder.triggers(triggers.map(TriggerProps::unwrap)) + cdkBuilder.triggers(triggers.map(TriggerProps.Companion::unwrap)) } /** @@ -437,7 +436,7 @@ public interface PipelineProps { * You can always add more variables later by calling `Pipeline#addVariable`. */ override fun variables(variables: List) { - cdkBuilder.variables(variables.map(Variable::unwrap)) + cdkBuilder.variables(variables.map(Variable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageOptions.kt index 361411b331..397f5f20db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageOptions.kt @@ -94,7 +94,7 @@ public interface StageOptions : StageProps { * You can always add more Actions later by calling `IStage#addAction`. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IAction::unwrap)) + cdkBuilder.actions(actions.map(IAction.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface StageOptions : StageProps { * @param placement the value to be set. */ override fun placement(placement: StagePlacement) { - cdkBuilder.placement(placement.let(StagePlacement::unwrap)) + cdkBuilder.placement(placement.let(StagePlacement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StagePlacement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StagePlacement.kt index 6ea26d02cf..f8134d1136 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StagePlacement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StagePlacement.kt @@ -72,7 +72,7 @@ public interface StagePlacement { * child Stage, if it had one). */ override fun justAfter(justAfter: IStage) { - cdkBuilder.justAfter(justAfter.let(IStage::unwrap)) + cdkBuilder.justAfter(justAfter.let(IStage.Companion::unwrap)) } /** @@ -80,7 +80,7 @@ public interface StagePlacement { * parent Stage, if it had one). */ override fun rightBefore(rightBefore: IStage) { - cdkBuilder.rightBefore(rightBefore.let(IStage::unwrap)) + cdkBuilder.rightBefore(rightBefore.let(IStage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codepipeline.StagePlacement = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageProps.kt index 77891fc553..6f4493b75c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/StageProps.kt @@ -103,7 +103,7 @@ public interface StageProps { * You can always add more Actions later by calling `IStage#addAction`. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IAction::unwrap)) + cdkBuilder.actions(actions.map(IAction.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Trigger.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Trigger.kt index dfab4b8e9a..4ad3dff6b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Trigger.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Trigger.kt @@ -23,6 +23,13 @@ import kotlin.jvm.JvmName * .gitConfiguration(GitConfiguration.builder() * .sourceAction(action) * // the properties below are optional + * .pullRequestFilter(List.of(GitPullRequestFilter.builder() + * .branchesExcludes(List.of("branchesExcludes")) + * .branchesIncludes(List.of("branchesIncludes")) + * .events(List.of(GitPullRequestEvent.OPEN)) + * .filePathsExcludes(List.of("filePathsExcludes")) + * .filePathsIncludes(List.of("filePathsIncludes")) + * .build())) * .pushFilter(List.of(GitPushFilter.builder() * .tagsExcludes(List.of("tagsExcludes")) * .tagsIncludes(List.of("tagsIncludes")) @@ -35,7 +42,7 @@ public open class Trigger( cdkObject: software.amazon.awscdk.services.codepipeline.Trigger, ) : CdkObject(cdkObject) { public constructor(props: TriggerProps) : - this(software.amazon.awscdk.services.codepipeline.Trigger(props.let(TriggerProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.Trigger(props.let(TriggerProps.Companion::unwrap)) ) public constructor(props: TriggerProps.Builder.() -> Unit) : this(TriggerProps(props) @@ -99,7 +106,7 @@ public open class Trigger( * event that starts the pipeline, such as Git tags. */ override fun gitConfiguration(gitConfiguration: GitConfiguration) { - cdkBuilder.gitConfiguration(gitConfiguration.let(GitConfiguration::unwrap)) + cdkBuilder.gitConfiguration(gitConfiguration.let(GitConfiguration.Companion::unwrap)) } /** @@ -124,7 +131,7 @@ public open class Trigger( * repository with Git tags, for the specified trigger configuration. */ override fun providerType(providerType: ProviderType) { - cdkBuilder.providerType(providerType.let(ProviderType::unwrap)) + cdkBuilder.providerType(providerType.let(ProviderType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codepipeline.Trigger = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/TriggerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/TriggerProps.kt index 91ec9397fd..a12ec0b16e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/TriggerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/TriggerProps.kt @@ -79,7 +79,7 @@ public interface TriggerProps { * event that starts the pipeline, such as Git tags. */ override fun gitConfiguration(gitConfiguration: GitConfiguration) { - cdkBuilder.gitConfiguration(gitConfiguration.let(GitConfiguration::unwrap)) + cdkBuilder.gitConfiguration(gitConfiguration.let(GitConfiguration.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public interface TriggerProps { * repository with Git tags, for the specified trigger configuration. */ override fun providerType(providerType: ProviderType) { - cdkBuilder.providerType(providerType.let(ProviderType::unwrap)) + cdkBuilder.providerType(providerType.let(ProviderType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.codepipeline.TriggerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Variable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Variable.kt index 32badc4a6f..9bbeccb49f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Variable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/Variable.kt @@ -46,7 +46,7 @@ public open class Variable( cdkObject: software.amazon.awscdk.services.codepipeline.Variable, ) : CdkObject(cdkObject) { public constructor(props: VariableProps) : - this(software.amazon.awscdk.services.codepipeline.Variable(props.let(VariableProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.Variable(props.let(VariableProps.Companion::unwrap)) ) public constructor(props: VariableProps.Builder.() -> Unit) : this(VariableProps(props) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployAction.kt index b701198683..632e771c55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployAction.kt @@ -36,7 +36,7 @@ public open class AlexaSkillDeployAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployAction, ) : Action(cdkObject) { public constructor(props: AlexaSkillDeployActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployAction(props.let(AlexaSkillDeployActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.AlexaSkillDeployAction(props.let(AlexaSkillDeployActionProps.Companion::unwrap)) ) public constructor(props: AlexaSkillDeployActionProps.Builder.() -> Unit) : @@ -157,7 +157,7 @@ public open class AlexaSkillDeployAction( * @param clientSecret The client secret of the developer console token. */ override fun clientSecret(clientSecret: SecretValue) { - cdkBuilder.clientSecret(clientSecret.let(SecretValue::unwrap)) + cdkBuilder.clientSecret(clientSecret.let(SecretValue.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class AlexaSkillDeployAction( * @param input The source artifact containing the voice model and skill manifest. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class AlexaSkillDeployAction( * manifest. */ override fun parameterOverridesArtifact(parameterOverridesArtifact: Artifact) { - cdkBuilder.parameterOverridesArtifact(parameterOverridesArtifact.let(Artifact::unwrap)) + cdkBuilder.parameterOverridesArtifact(parameterOverridesArtifact.let(Artifact.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class AlexaSkillDeployAction( * @param refreshToken The refresh token of the developer console token. */ override fun refreshToken(refreshToken: SecretValue) { - cdkBuilder.refreshToken(refreshToken.let(SecretValue::unwrap)) + cdkBuilder.refreshToken(refreshToken.let(SecretValue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployActionProps.kt index 058c825319..7343805946 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/AlexaSkillDeployActionProps.kt @@ -146,14 +146,14 @@ public interface AlexaSkillDeployActionProps : CommonActionProps { * @param clientSecret The client secret of the developer console token. */ override fun clientSecret(clientSecret: SecretValue) { - cdkBuilder.clientSecret(clientSecret.let(SecretValue::unwrap)) + cdkBuilder.clientSecret(clientSecret.let(SecretValue.Companion::unwrap)) } /** * @param input The source artifact containing the voice model and skill manifest. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -161,14 +161,14 @@ public interface AlexaSkillDeployActionProps : CommonActionProps { * manifest. */ override fun parameterOverridesArtifact(parameterOverridesArtifact: Artifact) { - cdkBuilder.parameterOverridesArtifact(parameterOverridesArtifact.let(Artifact::unwrap)) + cdkBuilder.parameterOverridesArtifact(parameterOverridesArtifact.let(Artifact.Companion::unwrap)) } /** * @param refreshToken The refresh token of the developer console token. */ override fun refreshToken(refreshToken: SecretValue) { - cdkBuilder.refreshToken(refreshToken.let(SecretValue::unwrap)) + cdkBuilder.refreshToken(refreshToken.let(SecretValue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CacheControl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CacheControl.kt index f48bd6cbca..e53a027603 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CacheControl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CacheControl.kt @@ -46,7 +46,7 @@ public open class CacheControl( software.amazon.awscdk.services.codepipeline.actions.CacheControl.immutable().let(CacheControl::wrap) public fun maxAge(t: Duration): CacheControl = - software.amazon.awscdk.services.codepipeline.actions.CacheControl.maxAge(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.codepipeline.actions.CacheControl.maxAge(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) public fun mustRevalidate(): CacheControl = software.amazon.awscdk.services.codepipeline.actions.CacheControl.mustRevalidate().let(CacheControl::wrap) @@ -73,13 +73,13 @@ public open class CacheControl( software.amazon.awscdk.services.codepipeline.actions.CacheControl.setPublic().let(CacheControl::wrap) public fun sMaxAge(t: Duration): CacheControl = - software.amazon.awscdk.services.codepipeline.actions.CacheControl.sMaxAge(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.codepipeline.actions.CacheControl.sMaxAge(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) public fun staleIfError(t: Duration): CacheControl = - software.amazon.awscdk.services.codepipeline.actions.CacheControl.staleIfError(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.codepipeline.actions.CacheControl.staleIfError(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) public fun staleWhileRevalidate(t: Duration): CacheControl = - software.amazon.awscdk.services.codepipeline.actions.CacheControl.staleWhileRevalidate(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.codepipeline.actions.CacheControl.staleWhileRevalidate(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codepipeline.actions.CacheControl): CacheControl = CacheControl(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetAction.kt index 630ffed0c0..5600a4e680 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetAction.kt @@ -75,7 +75,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateReplaceChangeSetAction, ) : Action(cdkObject) { public constructor(props: CloudFormationCreateReplaceChangeSetActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateReplaceChangeSetAction(props.let(CloudFormationCreateReplaceChangeSetActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateReplaceChangeSetAction(props.let(CloudFormationCreateReplaceChangeSetActionProps.Companion::unwrap)) ) public constructor(props: CloudFormationCreateReplaceChangeSetActionProps.Builder.() -> Unit) : @@ -88,7 +88,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param statement */ public open fun addToDeploymentRolePolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToDeploymentRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToDeploymentRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add statement to the service role assumed by CloudFormation while executing this action. @@ -454,7 +454,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param cfnCapabilities Acknowledge certain changes made as part of deployment. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param deploymentRole IAM role to assume when deploying changes. */ override fun deploymentRole(deploymentRole: IRole) { - cdkBuilder.deploymentRole(deploymentRole.let(IRole::unwrap)) + cdkBuilder.deploymentRole(deploymentRole.let(IRole.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param extraInputs The list of additional input Artifacts for this Action. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param output The name of the output artifact to generate. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -671,7 +671,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * policy. */ override fun templateConfiguration(templateConfiguration: ArtifactPath) { - cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CloudFormationCreateReplaceChangeSetAction( * @param templatePath Input artifact with the ChangeSet's CloudFormation template. */ override fun templatePath(templatePath: ArtifactPath) { - cdkBuilder.templatePath(templatePath.let(ArtifactPath::unwrap)) + cdkBuilder.templatePath(templatePath.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetActionProps.kt index 2e9e7ea5e6..183ce85037 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateReplaceChangeSetActionProps.kt @@ -479,7 +479,7 @@ public interface CloudFormationCreateReplaceChangeSetActionProps : CommonAwsActi * For more information, see the link below. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public interface CloudFormationCreateReplaceChangeSetActionProps : CommonAwsActi * full permissions. */ override fun deploymentRole(deploymentRole: IRole) { - cdkBuilder.deploymentRole(deploymentRole.let(IRole::unwrap)) + cdkBuilder.deploymentRole(deploymentRole.let(IRole.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public interface CloudFormationCreateReplaceChangeSetActionProps : CommonAwsActi * otherwise, you'll get an "unrecognized Artifact" error during your Pipeline's execution. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public interface CloudFormationCreateReplaceChangeSetActionProps : CommonAwsActi * Only applied if `outputFileName` is set as well. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public interface CloudFormationCreateReplaceChangeSetActionProps : CommonAwsActi * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -638,14 +638,14 @@ public interface CloudFormationCreateReplaceChangeSetActionProps : CommonAwsActi * file. */ override fun templateConfiguration(templateConfiguration: ArtifactPath) { - cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath.Companion::unwrap)) } /** * @param templatePath Input artifact with the ChangeSet's CloudFormation template. */ override fun templatePath(templatePath: ArtifactPath) { - cdkBuilder.templatePath(templatePath.let(ArtifactPath::unwrap)) + cdkBuilder.templatePath(templatePath.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackAction.kt index 277ee30eb9..0e264ef2a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackAction.kt @@ -58,7 +58,7 @@ public open class CloudFormationCreateUpdateStackAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateUpdateStackAction, ) : Action(cdkObject) { public constructor(props: CloudFormationCreateUpdateStackActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateUpdateStackAction(props.let(CloudFormationCreateUpdateStackActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationCreateUpdateStackAction(props.let(CloudFormationCreateUpdateStackActionProps.Companion::unwrap)) ) public constructor(props: CloudFormationCreateUpdateStackActionProps.Builder.() -> Unit) : @@ -71,7 +71,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param statement */ public open fun addToDeploymentRolePolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToDeploymentRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToDeploymentRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add statement to the service role assumed by CloudFormation while executing this action. @@ -447,7 +447,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param cfnCapabilities Acknowledge certain changes made as part of deployment. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param deploymentRole IAM role to assume when deploying changes. */ override fun deploymentRole(deploymentRole: IRole) { - cdkBuilder.deploymentRole(deploymentRole.let(IRole::unwrap)) + cdkBuilder.deploymentRole(deploymentRole.let(IRole.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param extraInputs The list of additional input Artifacts for this Action. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param output The name of the output artifact to generate. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class CloudFormationCreateUpdateStackAction( * policy. */ override fun templateConfiguration(templateConfiguration: ArtifactPath) { - cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CloudFormationCreateUpdateStackAction( * @param templatePath Input artifact with the CloudFormation template to deploy. */ override fun templatePath(templatePath: ArtifactPath) { - cdkBuilder.templatePath(templatePath.let(ArtifactPath::unwrap)) + cdkBuilder.templatePath(templatePath.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackActionProps.kt index 63324d2eb4..16d8131fd1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationCreateUpdateStackActionProps.kt @@ -471,7 +471,7 @@ public interface CloudFormationCreateUpdateStackActionProps : CommonAwsActionPro * For more information, see the link below. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public interface CloudFormationCreateUpdateStackActionProps : CommonAwsActionPro * full permissions. */ override fun deploymentRole(deploymentRole: IRole) { - cdkBuilder.deploymentRole(deploymentRole.let(IRole::unwrap)) + cdkBuilder.deploymentRole(deploymentRole.let(IRole.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public interface CloudFormationCreateUpdateStackActionProps : CommonAwsActionPro * otherwise, you'll get an "unrecognized Artifact" error during your Pipeline's execution. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public interface CloudFormationCreateUpdateStackActionProps : CommonAwsActionPro * Only applied if `outputFileName` is set as well. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public interface CloudFormationCreateUpdateStackActionProps : CommonAwsActionPro * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -637,14 +637,14 @@ public interface CloudFormationCreateUpdateStackActionProps : CommonAwsActionPro * file. */ override fun templateConfiguration(templateConfiguration: ArtifactPath) { - cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath.Companion::unwrap)) } /** * @param templatePath Input artifact with the CloudFormation template to deploy. */ override fun templatePath(templatePath: ArtifactPath) { - cdkBuilder.templatePath(templatePath.let(ArtifactPath::unwrap)) + cdkBuilder.templatePath(templatePath.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackAction.kt index 1fe316570e..03e1d6708f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackAction.kt @@ -63,7 +63,7 @@ public open class CloudFormationDeleteStackAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeleteStackAction, ) : Action(cdkObject) { public constructor(props: CloudFormationDeleteStackActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeleteStackAction(props.let(CloudFormationDeleteStackActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeleteStackAction(props.let(CloudFormationDeleteStackActionProps.Companion::unwrap)) ) public constructor(props: CloudFormationDeleteStackActionProps.Builder.() -> Unit) : @@ -76,7 +76,7 @@ public open class CloudFormationDeleteStackAction( * @param statement */ public open fun addToDeploymentRolePolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToDeploymentRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToDeploymentRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add statement to the service role assumed by CloudFormation while executing this action. @@ -428,7 +428,7 @@ public open class CloudFormationDeleteStackAction( * @param cfnCapabilities Acknowledge certain changes made as part of deployment. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CloudFormationDeleteStackAction( * @param deploymentRole IAM role to assume when deploying changes. */ override fun deploymentRole(deploymentRole: IRole) { - cdkBuilder.deploymentRole(deploymentRole.let(IRole::unwrap)) + cdkBuilder.deploymentRole(deploymentRole.let(IRole.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public open class CloudFormationDeleteStackAction( * @param extraInputs The list of additional input Artifacts for this Action. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CloudFormationDeleteStackAction( * @param output The name of the output artifact to generate. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -593,7 +593,7 @@ public open class CloudFormationDeleteStackAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CloudFormationDeleteStackAction( * policy. */ override fun templateConfiguration(templateConfiguration: ArtifactPath) { - cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackActionProps.kt index 6b71371d1a..35531127b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeleteStackActionProps.kt @@ -447,7 +447,7 @@ public interface CloudFormationDeleteStackActionProps : CommonAwsActionProps { * For more information, see the link below. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public interface CloudFormationDeleteStackActionProps : CommonAwsActionProps { * full permissions. */ override fun deploymentRole(deploymentRole: IRole) { - cdkBuilder.deploymentRole(deploymentRole.let(IRole::unwrap)) + cdkBuilder.deploymentRole(deploymentRole.let(IRole.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public interface CloudFormationDeleteStackActionProps : CommonAwsActionProps { * otherwise, you'll get an "unrecognized Artifact" error during your Pipeline's execution. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public interface CloudFormationDeleteStackActionProps : CommonAwsActionProps { * Only applied if `outputFileName` is set as well. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public interface CloudFormationDeleteStackActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public interface CloudFormationDeleteStackActionProps : CommonAwsActionProps { * file. */ override fun templateConfiguration(templateConfiguration: ArtifactPath) { - cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesAction.kt index ce546617dd..4059c92b5d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesAction.kt @@ -56,7 +56,7 @@ public open class CloudFormationDeployStackInstancesAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployStackInstancesAction, ) : Action(cdkObject) { public constructor(props: CloudFormationDeployStackInstancesActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployStackInstancesAction(props.let(CloudFormationDeployStackInstancesActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployStackInstancesAction(props.let(CloudFormationDeployStackInstancesActionProps.Companion::unwrap)) ) public constructor(props: CloudFormationDeployStackInstancesActionProps.Builder.() -> Unit) : @@ -259,7 +259,7 @@ public open class CloudFormationDeployStackInstancesAction( * @param parameterOverrides Parameter values that only apply to the current Stack Instances. */ override fun parameterOverrides(parameterOverrides: StackSetParameters) { - cdkBuilder.parameterOverrides(parameterOverrides.let(StackSetParameters::unwrap)) + cdkBuilder.parameterOverrides(parameterOverrides.let(StackSetParameters.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CloudFormationDeployStackInstancesAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CloudFormationDeployStackInstancesAction( * @param stackInstances Specify where to create or update Stack Instances. */ override fun stackInstances(stackInstances: StackInstances) { - cdkBuilder.stackInstances(stackInstances.let(StackInstances::unwrap)) + cdkBuilder.stackInstances(stackInstances.let(StackInstances.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesActionProps.kt index ae0e17a40d..4fd379b955 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackInstancesActionProps.kt @@ -199,7 +199,7 @@ public interface CloudFormationDeployStackInstancesActionProps : CommonAwsAction * These parameters are shared between all instances added by this action. */ override fun parameterOverrides(parameterOverrides: StackSetParameters) { - cdkBuilder.parameterOverrides(parameterOverrides.let(StackSetParameters::unwrap)) + cdkBuilder.parameterOverrides(parameterOverrides.let(StackSetParameters.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public interface CloudFormationDeployStackInstancesActionProps : CommonAwsAction * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface CloudFormationDeployStackInstancesActionProps : CommonAwsAction * You can specify either AWS Accounts Ids or AWS Organizations Organizational Units. */ override fun stackInstances(stackInstances: StackInstances) { - cdkBuilder.stackInstances(stackInstances.let(StackInstances::unwrap)) + cdkBuilder.stackInstances(stackInstances.let(StackInstances.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetAction.kt index 535189a20f..1b6f9b606d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetAction.kt @@ -73,7 +73,7 @@ public open class CloudFormationDeployStackSetAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployStackSetAction, ) : Action(cdkObject) { public constructor(props: CloudFormationDeployStackSetActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployStackSetAction(props.let(CloudFormationDeployStackSetActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationDeployStackSetAction(props.let(CloudFormationDeployStackSetActionProps.Companion::unwrap)) ) public constructor(props: CloudFormationDeployStackSetActionProps.Builder.() -> Unit) : @@ -322,7 +322,7 @@ public open class CloudFormationDeployStackSetAction( * on the types of resources in the template. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CloudFormationDeployStackSetAction( * @param deploymentModel Determines how IAM roles are created and managed. */ override fun deploymentModel(deploymentModel: StackSetDeploymentModel) { - cdkBuilder.deploymentModel(deploymentModel.let(StackSetDeploymentModel::unwrap)) + cdkBuilder.deploymentModel(deploymentModel.let(StackSetDeploymentModel.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CloudFormationDeployStackSetAction( * @param parameters The template parameters for your stack set. */ override fun parameters(parameters: StackSetParameters) { - cdkBuilder.parameters(parameters.let(StackSetParameters::unwrap)) + cdkBuilder.parameters(parameters.let(StackSetParameters.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class CloudFormationDeployStackSetAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class CloudFormationDeployStackSetAction( * @param stackInstances Specify where to create or update Stack Instances. */ override fun stackInstances(stackInstances: StackInstances) { - cdkBuilder.stackInstances(stackInstances.let(StackInstances::unwrap)) + cdkBuilder.stackInstances(stackInstances.let(StackInstances.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CloudFormationDeployStackSetAction( * @param template The location of the template that defines the resources in the stack set. */ override fun template(template: StackSetTemplate) { - cdkBuilder.template(template.let(StackSetTemplate::unwrap)) + cdkBuilder.template(template.let(StackSetTemplate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetActionProps.kt index 0e64480cf2..a8a1a214e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationDeployStackSetActionProps.kt @@ -290,7 +290,7 @@ public interface CloudFormationDeployStackSetActionProps : CommonAwsActionProps, * stack directly from a template containing macros. */ override fun cfnCapabilities(cfnCapabilities: List) { - cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities::unwrap)) + cdkBuilder.cfnCapabilities(cfnCapabilities.map(CfnCapabilities.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface CloudFormationDeployStackSetActionProps : CommonAwsActionProps, * the stack set. */ override fun deploymentModel(deploymentModel: StackSetDeploymentModel) { - cdkBuilder.deploymentModel(deploymentModel.let(StackSetDeploymentModel::unwrap)) + cdkBuilder.deploymentModel(deploymentModel.let(StackSetDeploymentModel.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public interface CloudFormationDeployStackSetActionProps : CommonAwsActionProps, * These parameters are shared between all instances of the stack set. */ override fun parameters(parameters: StackSetParameters) { - cdkBuilder.parameters(parameters.let(StackSetParameters::unwrap)) + cdkBuilder.parameters(parameters.let(StackSetParameters.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public interface CloudFormationDeployStackSetActionProps : CommonAwsActionProps, * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface CloudFormationDeployStackSetActionProps : CommonAwsActionProps, * You can specify either AWS Accounts Ids or AWS Organizations Organizational Units. */ override fun stackInstances(stackInstances: StackInstances) { - cdkBuilder.stackInstances(stackInstances.let(StackInstances::unwrap)) + cdkBuilder.stackInstances(stackInstances.let(StackInstances.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public interface CloudFormationDeployStackSetActionProps : CommonAwsActionProps, * Enter the path to the source artifact name and template file. */ override fun template(template: StackSetTemplate) { - cdkBuilder.template(template.let(StackSetTemplate::unwrap)) + cdkBuilder.template(template.let(StackSetTemplate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetAction.kt index 1b6d8d6f41..60c8b29820 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetAction.kt @@ -63,7 +63,7 @@ public open class CloudFormationExecuteChangeSetAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CloudFormationExecuteChangeSetAction, ) : Action(cdkObject) { public constructor(props: CloudFormationExecuteChangeSetActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationExecuteChangeSetAction(props.let(CloudFormationExecuteChangeSetActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CloudFormationExecuteChangeSetAction(props.let(CloudFormationExecuteChangeSetActionProps.Companion::unwrap)) ) public constructor(props: CloudFormationExecuteChangeSetActionProps.Builder.() -> Unit) : @@ -243,7 +243,7 @@ public open class CloudFormationExecuteChangeSetAction( * @param output The name of the output artifact to generate. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CloudFormationExecuteChangeSetAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetActionProps.kt index 11f91abdb9..6e0b8846a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CloudFormationExecuteChangeSetActionProps.kt @@ -231,7 +231,7 @@ public interface CloudFormationExecuteChangeSetActionProps : CommonAwsActionProp * Only applied if `outputFileName` is set as well. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CloudFormationExecuteChangeSetActionProps : CommonAwsActionProp * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildAction.kt index f4f983f91c..c11e566a87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildAction.kt @@ -70,7 +70,7 @@ public open class CodeBuildAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CodeBuildAction, ) : Action(cdkObject) { public constructor(props: CodeBuildActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CodeBuildAction(props.let(CodeBuildActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CodeBuildAction(props.let(CodeBuildActionProps.Companion::unwrap)) ) public constructor(props: CodeBuildActionProps.Builder.() -> Unit) : @@ -373,7 +373,7 @@ public open class CodeBuildAction( * @param extraInputs The list of additional input Artifacts for this action. */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CodeBuildAction( * @param input The source to use as input for this action. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class CodeBuildAction( * @param outputs The list of output Artifacts for this action. */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CodeBuildAction( * @param project The action's Project. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CodeBuildAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CodeBuildAction( * Test. */ override fun type(type: CodeBuildActionType) { - cdkBuilder.type(type.let(CodeBuildActionType::unwrap)) + cdkBuilder.type(type.let(CodeBuildActionType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildActionProps.kt index 061f71d571..150dd74885 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeBuildActionProps.kt @@ -345,7 +345,7 @@ public interface CodeBuildActionProps : CommonAwsActionProps { * see https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html . */ override fun extraInputs(extraInputs: List) { - cdkBuilder.extraInputs(extraInputs.map(Artifact::unwrap)) + cdkBuilder.extraInputs(extraInputs.map(Artifact.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public interface CodeBuildActionProps : CommonAwsActionProps { * @param input The source to use as input for this action. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public interface CodeBuildActionProps : CommonAwsActionProps { * for details. */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface CodeBuildActionProps : CommonAwsActionProps { * @param project The action's Project. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface CodeBuildActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public interface CodeBuildActionProps : CommonAwsActionProps { * Test. */ override fun type(type: CodeBuildActionType) { - cdkBuilder.type(type.let(CodeBuildActionType::unwrap)) + cdkBuilder.type(type.let(CodeBuildActionType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceAction.kt index 6dc285a381..8a53fe7227 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceAction.kt @@ -74,7 +74,7 @@ public open class CodeCommitSourceAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CodeCommitSourceAction, ) : Action(cdkObject) { public constructor(props: CodeCommitSourceActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CodeCommitSourceAction(props.let(CodeCommitSourceActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CodeCommitSourceAction(props.let(CodeCommitSourceActionProps.Companion::unwrap)) ) public constructor(props: CodeCommitSourceActionProps.Builder.() -> Unit) : @@ -269,7 +269,7 @@ public open class CodeCommitSourceAction( * CodeCommit source action. */ override fun customEventRule(customEventRule: ICustomEventRule) { - cdkBuilder.customEventRule(customEventRule.let(ICustomEventRule::unwrap)) + cdkBuilder.customEventRule(customEventRule.let(ICustomEventRule.Companion::unwrap)) } /** @@ -282,14 +282,14 @@ public open class CodeCommitSourceAction( * @param eventRole Role to be used by on commit event rule. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** * @param output */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CodeCommitSourceAction( * @param repository The CodeCommit repository. */ override fun repository(repository: IRepository) { - cdkBuilder.repository(repository.let(IRepository::unwrap)) + cdkBuilder.repository(repository.let(IRepository.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CodeCommitSourceAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CodeCommitSourceAction( * @param trigger How should CodePipeline detect source changes for this Action. */ override fun trigger(trigger: CodeCommitTrigger) { - cdkBuilder.trigger(trigger.let(CodeCommitTrigger::unwrap)) + cdkBuilder.trigger(trigger.let(CodeCommitTrigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceActionProps.kt index a7568b98fe..33cbb229da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeCommitSourceActionProps.kt @@ -237,7 +237,7 @@ public interface CodeCommitSourceActionProps : CommonAwsActionProps { * https://docs.aws.amazon.com/codecommit/latest/userguide/monitoring-events.html */ override fun customEventRule(customEventRule: ICustomEventRule) { - cdkBuilder.customEventRule(customEventRule.let(ICustomEventRule::unwrap)) + cdkBuilder.customEventRule(customEventRule.let(ICustomEventRule.Companion::unwrap)) } /** @@ -245,21 +245,21 @@ public interface CodeCommitSourceActionProps : CommonAwsActionProps { * Used only when trigger value is CodeCommitTrigger.EVENTS. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** * @param output the value to be set. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** * @param repository The CodeCommit repository. */ override fun repository(repository: IRepository) { - cdkBuilder.repository(repository.let(IRepository::unwrap)) + cdkBuilder.repository(repository.let(IRepository.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CodeCommitSourceActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface CodeCommitSourceActionProps : CommonAwsActionProps { * @param trigger How should CodePipeline detect source changes for this Action. */ override fun trigger(trigger: CodeCommitTrigger) { - cdkBuilder.trigger(trigger.let(CodeCommitTrigger::unwrap)) + cdkBuilder.trigger(trigger.let(CodeCommitTrigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsContainerImageInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsContainerImageInput.kt index fbdc30efa4..0a00b523da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsContainerImageInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsContainerImageInput.kt @@ -91,7 +91,7 @@ public interface CodeDeployEcsContainerImageInput { * }` */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployAction.kt index a031abf2f2..29b7bfce71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployAction.kt @@ -49,7 +49,7 @@ public open class CodeDeployEcsDeployAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CodeDeployEcsDeployAction, ) : Action(cdkObject) { public constructor(props: CodeDeployEcsDeployActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CodeDeployEcsDeployAction(props.let(CodeDeployEcsDeployActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CodeDeployEcsDeployAction(props.let(CodeDeployEcsDeployActionProps.Companion::unwrap)) ) public constructor(props: CodeDeployEcsDeployActionProps.Builder.() -> Unit) : @@ -245,7 +245,7 @@ public open class CodeDeployEcsDeployAction( * @param appSpecTemplateFile The name of the CodeDeploy AppSpec file. */ override fun appSpecTemplateFile(appSpecTemplateFile: ArtifactPath) { - cdkBuilder.appSpecTemplateFile(appSpecTemplateFile.let(ArtifactPath::unwrap)) + cdkBuilder.appSpecTemplateFile(appSpecTemplateFile.let(ArtifactPath.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CodeDeployEcsDeployAction( * @param appSpecTemplateInput The artifact containing the CodeDeploy AppSpec file. */ override fun appSpecTemplateInput(appSpecTemplateInput: Artifact) { - cdkBuilder.appSpecTemplateInput(appSpecTemplateInput.let(Artifact::unwrap)) + cdkBuilder.appSpecTemplateInput(appSpecTemplateInput.let(Artifact.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CodeDeployEcsDeployAction( */ override fun containerImageInputs(containerImageInputs: List) { - cdkBuilder.containerImageInputs(containerImageInputs.map(CodeDeployEcsContainerImageInput::unwrap)) + cdkBuilder.containerImageInputs(containerImageInputs.map(CodeDeployEcsContainerImageInput.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CodeDeployEcsDeployAction( * @param deploymentGroup The CodeDeploy ECS Deployment Group to deploy to. */ override fun deploymentGroup(deploymentGroup: IEcsDeploymentGroup) { - cdkBuilder.deploymentGroup(deploymentGroup.let(IEcsDeploymentGroup::unwrap)) + cdkBuilder.deploymentGroup(deploymentGroup.let(IEcsDeploymentGroup.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CodeDeployEcsDeployAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CodeDeployEcsDeployAction( * @param taskDefinitionTemplateFile The name of the ECS task definition template file. */ override fun taskDefinitionTemplateFile(taskDefinitionTemplateFile: ArtifactPath) { - cdkBuilder.taskDefinitionTemplateFile(taskDefinitionTemplateFile.let(ArtifactPath::unwrap)) + cdkBuilder.taskDefinitionTemplateFile(taskDefinitionTemplateFile.let(ArtifactPath.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CodeDeployEcsDeployAction( * file. */ override fun taskDefinitionTemplateInput(taskDefinitionTemplateInput: Artifact) { - cdkBuilder.taskDefinitionTemplateInput(taskDefinitionTemplateInput.let(Artifact::unwrap)) + cdkBuilder.taskDefinitionTemplateInput(taskDefinitionTemplateInput.let(Artifact.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployActionProps.kt index b026e3772f..2c51adb01a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployEcsDeployActionProps.kt @@ -266,7 +266,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { * If you use this property, you don't need to specify the `appSpecTemplateInput` property. */ override fun appSpecTemplateFile(appSpecTemplateFile: ArtifactPath) { - cdkBuilder.appSpecTemplateFile(appSpecTemplateFile.let(ArtifactPath::unwrap)) + cdkBuilder.appSpecTemplateFile(appSpecTemplateFile.let(ArtifactPath.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { * and use the `appSpecTemplateFile` property instead. */ override fun appSpecTemplateInput(appSpecTemplateInput: Artifact) { - cdkBuilder.appSpecTemplateInput(appSpecTemplateInput.let(Artifact::unwrap)) + cdkBuilder.appSpecTemplateInput(appSpecTemplateInput.let(Artifact.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { */ override fun containerImageInputs(containerImageInputs: List) { - cdkBuilder.containerImageInputs(containerImageInputs.map(CodeDeployEcsContainerImageInput::unwrap)) + cdkBuilder.containerImageInputs(containerImageInputs.map(CodeDeployEcsContainerImageInput.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { * @param deploymentGroup The CodeDeploy ECS Deployment Group to deploy to. */ override fun deploymentGroup(deploymentGroup: IEcsDeploymentGroup) { - cdkBuilder.deploymentGroup(deploymentGroup.let(IEcsDeploymentGroup::unwrap)) + cdkBuilder.deploymentGroup(deploymentGroup.let(IEcsDeploymentGroup.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { * property. */ override fun taskDefinitionTemplateFile(taskDefinitionTemplateFile: ArtifactPath) { - cdkBuilder.taskDefinitionTemplateFile(taskDefinitionTemplateFile.let(ArtifactPath::unwrap)) + cdkBuilder.taskDefinitionTemplateFile(taskDefinitionTemplateFile.let(ArtifactPath.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public interface CodeDeployEcsDeployActionProps : CommonAwsActionProps { * and use the `taskDefinitionTemplateFile` property instead. */ override fun taskDefinitionTemplateInput(taskDefinitionTemplateInput: Artifact) { - cdkBuilder.taskDefinitionTemplateInput(taskDefinitionTemplateInput.let(Artifact::unwrap)) + cdkBuilder.taskDefinitionTemplateInput(taskDefinitionTemplateInput.let(Artifact.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployAction.kt index 75afd44bcc..b39e676e71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployAction.kt @@ -35,7 +35,7 @@ public open class CodeDeployServerDeployAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CodeDeployServerDeployAction, ) : Action(cdkObject) { public constructor(props: CodeDeployServerDeployActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CodeDeployServerDeployAction(props.let(CodeDeployServerDeployActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CodeDeployServerDeployAction(props.let(CodeDeployServerDeployActionProps.Companion::unwrap)) ) public constructor(props: CodeDeployServerDeployActionProps.Builder.() -> Unit) : @@ -133,7 +133,7 @@ public open class CodeDeployServerDeployAction( * @param deploymentGroup The CodeDeploy server Deployment Group to deploy to. */ override fun deploymentGroup(deploymentGroup: IServerDeploymentGroup) { - cdkBuilder.deploymentGroup(deploymentGroup.let(IServerDeploymentGroup::unwrap)) + cdkBuilder.deploymentGroup(deploymentGroup.let(IServerDeploymentGroup.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CodeDeployServerDeployAction( * @param input The source to use as input for deployment. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CodeDeployServerDeployAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployActionProps.kt index 455847c4b6..d97523c5d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeDeployServerDeployActionProps.kt @@ -110,14 +110,14 @@ public interface CodeDeployServerDeployActionProps : CommonAwsActionProps { * @param deploymentGroup The CodeDeploy server Deployment Group to deploy to. */ override fun deploymentGroup(deploymentGroup: IServerDeploymentGroup) { - cdkBuilder.deploymentGroup(deploymentGroup.let(IServerDeploymentGroup::unwrap)) + cdkBuilder.deploymentGroup(deploymentGroup.let(IServerDeploymentGroup.Companion::unwrap)) } /** * @param input The source to use as input for deployment. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface CodeDeployServerDeployActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceAction.kt index 081dea216f..3bf67424ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceAction.kt @@ -31,7 +31,7 @@ public open class CodeStarConnectionsSourceAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.CodeStarConnectionsSourceAction, ) : Action(cdkObject) { public constructor(props: CodeStarConnectionsSourceActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.CodeStarConnectionsSourceAction(props.let(CodeStarConnectionsSourceActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.CodeStarConnectionsSourceAction(props.let(CodeStarConnectionsSourceActionProps.Companion::unwrap)) ) public constructor(props: CodeStarConnectionsSourceActionProps.Builder.() -> Unit) : @@ -262,7 +262,7 @@ public open class CodeStarConnectionsSourceAction( * @param output The output artifact that this action produces. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CodeStarConnectionsSourceAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceActionProps.kt index b909254c74..ec19ff4826 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/CodeStarConnectionsSourceActionProps.kt @@ -227,7 +227,7 @@ public interface CodeStarConnectionsSourceActionProps : CommonAwsActionProps { * Can be used as input for further pipeline actions. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CodeStarConnectionsSourceActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceAction.kt index 58e2fbb54b..2d7a518ed5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceAction.kt @@ -40,7 +40,7 @@ public open class EcrSourceAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.EcrSourceAction, ) : Action(cdkObject) { public constructor(props: EcrSourceActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.EcrSourceAction(props.let(EcrSourceActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.EcrSourceAction(props.let(EcrSourceActionProps.Companion::unwrap)) ) public constructor(props: EcrSourceActionProps.Builder.() -> Unit) : @@ -163,7 +163,7 @@ public open class EcrSourceAction( * @param output */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class EcrSourceAction( * @param repository The repository that will be watched for changes. */ override fun repository(repository: IRepository) { - cdkBuilder.repository(repository.let(IRepository::unwrap)) + cdkBuilder.repository(repository.let(IRepository.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class EcrSourceAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceActionProps.kt index 117fcc069c..50711b8824 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcrSourceActionProps.kt @@ -130,14 +130,14 @@ public interface EcrSourceActionProps : CommonAwsActionProps { * @param output the value to be set. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** * @param repository The repository that will be watched for changes. */ override fun repository(repository: IRepository) { - cdkBuilder.repository(repository.let(IRepository::unwrap)) + cdkBuilder.repository(repository.let(IRepository.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface EcrSourceActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployAction.kt index 7fc1fb57f4..ddc81cd3c8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployAction.kt @@ -45,7 +45,7 @@ public open class EcsDeployAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.EcsDeployAction, ) : Action(cdkObject) { public constructor(props: EcsDeployActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.EcsDeployAction(props.let(EcsDeployActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.EcsDeployAction(props.let(EcsDeployActionProps.Companion::unwrap)) ) public constructor(props: EcsDeployActionProps.Builder.() -> Unit) : @@ -187,7 +187,7 @@ public open class EcsDeployAction( * @param deploymentTimeout Timeout for the ECS deployment in minutes. */ override fun deploymentTimeout(deploymentTimeout: Duration) { - cdkBuilder.deploymentTimeout(deploymentTimeout.let(Duration::unwrap)) + cdkBuilder.deploymentTimeout(deploymentTimeout.let(Duration.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class EcsDeployAction( * @param imageFile The name of the JSON image definitions file to use for deployments. */ override fun imageFile(imageFile: ArtifactPath) { - cdkBuilder.imageFile(imageFile.let(ArtifactPath::unwrap)) + cdkBuilder.imageFile(imageFile.let(ArtifactPath.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class EcsDeployAction( * deployments. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class EcsDeployAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class EcsDeployAction( * @param service The ECS Service to deploy. */ override fun service(service: IBaseService) { - cdkBuilder.service(service.let(IBaseService::unwrap)) + cdkBuilder.service(service.let(IBaseService.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployActionProps.kt index 41d7a02803..fdfda8ed65 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/EcsDeployActionProps.kt @@ -180,7 +180,7 @@ public interface EcsDeployActionProps : CommonAwsActionProps { * Value must be between 1-60. */ override fun deploymentTimeout(deploymentTimeout: Duration) { - cdkBuilder.deploymentTimeout(deploymentTimeout.let(Duration::unwrap)) + cdkBuilder.deploymentTimeout(deploymentTimeout.let(Duration.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface EcsDeployActionProps : CommonAwsActionProps { * If you use this property, you don't need to specify the `input` property. */ override fun imageFile(imageFile: ArtifactPath) { - cdkBuilder.imageFile(imageFile.let(ArtifactPath::unwrap)) + cdkBuilder.imageFile(imageFile.let(ArtifactPath.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface EcsDeployActionProps : CommonAwsActionProps { * and use the `imageFile` property instead. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface EcsDeployActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface EcsDeployActionProps : CommonAwsActionProps { * @param service The ECS Service to deploy. */ override fun service(service: IBaseService) { - cdkBuilder.service(service.let(IBaseService::unwrap)) + cdkBuilder.service(service.let(IBaseService.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployAction.kt index ffb2f71517..09a4b53baa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployAction.kt @@ -34,7 +34,7 @@ public open class ElasticBeanstalkDeployAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.ElasticBeanstalkDeployAction, ) : Action(cdkObject) { public constructor(props: ElasticBeanstalkDeployActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.ElasticBeanstalkDeployAction(props.let(ElasticBeanstalkDeployActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.ElasticBeanstalkDeployAction(props.let(ElasticBeanstalkDeployActionProps.Companion::unwrap)) ) public constructor(props: ElasticBeanstalkDeployActionProps.Builder.() -> Unit) : @@ -157,7 +157,7 @@ public open class ElasticBeanstalkDeployAction( * @param input The source to use as input for deployment. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class ElasticBeanstalkDeployAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployActionProps.kt index c2572e92fd..139be1e33c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ElasticBeanstalkDeployActionProps.kt @@ -131,7 +131,7 @@ public interface ElasticBeanstalkDeployActionProps : CommonAwsActionProps { * @param input The source to use as input for deployment. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public interface ElasticBeanstalkDeployActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceAction.kt index 3d1addc4d1..a09c8245fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceAction.kt @@ -36,7 +36,7 @@ public open class GitHubSourceAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.GitHubSourceAction, ) : Action(cdkObject) { public constructor(props: GitHubSourceActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.GitHubSourceAction(props.let(GitHubSourceActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.GitHubSourceAction(props.let(GitHubSourceActionProps.Companion::unwrap)) ) public constructor(props: GitHubSourceActionProps.Builder.() -> Unit) : @@ -201,14 +201,14 @@ public open class GitHubSourceAction( * @param oauthToken A GitHub OAuth token to use for authentication. */ override fun oauthToken(oauthToken: SecretValue) { - cdkBuilder.oauthToken(oauthToken.let(SecretValue::unwrap)) + cdkBuilder.oauthToken(oauthToken.let(SecretValue.Companion::unwrap)) } /** * @param output */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class GitHubSourceAction( * @param trigger How AWS CodePipeline should be triggered. */ override fun trigger(trigger: GitHubTrigger) { - cdkBuilder.trigger(trigger.let(GitHubTrigger::unwrap)) + cdkBuilder.trigger(trigger.let(GitHubTrigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceActionProps.kt index 5f82547de4..872a803236 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/GitHubSourceActionProps.kt @@ -200,14 +200,14 @@ public interface GitHubSourceActionProps : CommonActionProps { * * **admin:repo_hook** - if you plan to use webhooks (true by default) */ override fun oauthToken(oauthToken: SecretValue) { - cdkBuilder.oauthToken(oauthToken.let(SecretValue::unwrap)) + cdkBuilder.oauthToken(oauthToken.let(SecretValue.Companion::unwrap)) } /** * @param output the value to be set. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface GitHubSourceActionProps : CommonActionProps { * **admin:repo_hook** scope (in addition to the regular **repo** scope). */ override fun trigger(trigger: GitHubTrigger) { - cdkBuilder.trigger(trigger.let(GitHubTrigger::unwrap)) + cdkBuilder.trigger(trigger.let(GitHubTrigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsAction.kt index b5c4429d00..21d3bba0fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsAction.kt @@ -30,7 +30,7 @@ public open class JenkinsAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.JenkinsAction, ) : Action(cdkObject) { public constructor(props: JenkinsActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.JenkinsAction(props.let(JenkinsActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.JenkinsAction(props.let(JenkinsActionProps.Companion::unwrap)) ) public constructor(props: JenkinsActionProps.Builder.() -> Unit) : this(JenkinsActionProps(props) @@ -150,7 +150,7 @@ public open class JenkinsAction( * @param inputs The source to use as input for this build. */ override fun inputs(inputs: List) { - cdkBuilder.inputs(inputs.map(Artifact::unwrap)) + cdkBuilder.inputs(inputs.map(Artifact.Companion::unwrap)) } /** @@ -166,14 +166,14 @@ public open class JenkinsAction( * @param jenkinsProvider The Jenkins Provider for this Action. */ override fun jenkinsProvider(jenkinsProvider: IJenkinsProvider) { - cdkBuilder.jenkinsProvider(jenkinsProvider.let(IJenkinsProvider::unwrap)) + cdkBuilder.jenkinsProvider(jenkinsProvider.let(IJenkinsProvider.Companion::unwrap)) } /** * @param outputs */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class JenkinsAction( * @param type The type of the Action - Build, or Test. */ override fun type(type: JenkinsActionType) { - cdkBuilder.type(type.let(JenkinsActionType::unwrap)) + cdkBuilder.type(type.let(JenkinsActionType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsActionProps.kt index d5bcc9c2b1..c5021a8c78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsActionProps.kt @@ -138,7 +138,7 @@ public interface JenkinsActionProps : CommonActionProps { * @param inputs The source to use as input for this build. */ override fun inputs(inputs: List) { - cdkBuilder.inputs(inputs.map(Artifact::unwrap)) + cdkBuilder.inputs(inputs.map(Artifact.Companion::unwrap)) } /** @@ -150,14 +150,14 @@ public interface JenkinsActionProps : CommonActionProps { * @param jenkinsProvider The Jenkins Provider for this Action. */ override fun jenkinsProvider(jenkinsProvider: IJenkinsProvider) { - cdkBuilder.jenkinsProvider(jenkinsProvider.let(IJenkinsProvider::unwrap)) + cdkBuilder.jenkinsProvider(jenkinsProvider.let(IJenkinsProvider.Companion::unwrap)) } /** * @param outputs the value to be set. */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface JenkinsActionProps : CommonActionProps { * @param type The type of the Action - Build, or Test. */ override fun type(type: JenkinsActionType) { - cdkBuilder.type(type.let(JenkinsActionType::unwrap)) + cdkBuilder.type(type.let(JenkinsActionType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsProvider.kt index 540ea214a2..f61b2fdd17 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/JenkinsProvider.kt @@ -33,8 +33,8 @@ public open class JenkinsProvider( id: String, props: JenkinsProviderProps, ) : - this(software.amazon.awscdk.services.codepipeline.actions.JenkinsProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(JenkinsProviderProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.JenkinsProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(JenkinsProviderProps.Companion::unwrap)) ) public constructor( @@ -207,8 +207,8 @@ public open class JenkinsProvider( id: String, attrs: JenkinsProviderAttributes, ): IJenkinsProvider = - software.amazon.awscdk.services.codepipeline.actions.JenkinsProvider.fromJenkinsProviderAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(JenkinsProviderAttributes::unwrap)).let(IJenkinsProvider::wrap) + software.amazon.awscdk.services.codepipeline.actions.JenkinsProvider.fromJenkinsProviderAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(JenkinsProviderAttributes.Companion::unwrap)).let(IJenkinsProvider::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0d90bec4732ec43072405e8717ccd4c0c26b54a0f0ed3221b659c8cb4a9e3db6") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeAction.kt index 174f3164dd..c087faf4db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeAction.kt @@ -38,7 +38,7 @@ public open class LambdaInvokeAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.LambdaInvokeAction, ) : Action(cdkObject) { public constructor(props: LambdaInvokeActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.LambdaInvokeAction(props.let(LambdaInvokeActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.LambdaInvokeAction(props.let(LambdaInvokeActionProps.Companion::unwrap)) ) public constructor(props: LambdaInvokeActionProps.Builder.() -> Unit) : @@ -233,7 +233,7 @@ public open class LambdaInvokeAction( * @param inputs The optional input Artifacts of the Action. */ override fun inputs(inputs: List) { - cdkBuilder.inputs(inputs.map(Artifact::unwrap)) + cdkBuilder.inputs(inputs.map(Artifact.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class LambdaInvokeAction( * @param lambda The lambda function to invoke. */ override fun lambda(lambda: IFunction) { - cdkBuilder.lambda(lambda.let(IFunction::unwrap)) + cdkBuilder.lambda(lambda.let(IFunction.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class LambdaInvokeAction( * @param outputs The optional names of the output Artifacts of the Action. */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class LambdaInvokeAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeActionProps.kt index 8e2224f620..e6495a339e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/LambdaInvokeActionProps.kt @@ -198,7 +198,7 @@ public interface LambdaInvokeActionProps : CommonAwsActionProps { * under the `'CodePipeline.job'.data.inputArtifacts` path. */ override fun inputs(inputs: List) { - cdkBuilder.inputs(inputs.map(Artifact::unwrap)) + cdkBuilder.inputs(inputs.map(Artifact.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface LambdaInvokeActionProps : CommonAwsActionProps { * @param lambda The lambda function to invoke. */ override fun lambda(lambda: IFunction) { - cdkBuilder.lambda(lambda.let(IFunction::unwrap)) + cdkBuilder.lambda(lambda.let(IFunction.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface LambdaInvokeActionProps : CommonAwsActionProps { * provided locations. */ override fun outputs(outputs: List) { - cdkBuilder.outputs(outputs.map(Artifact::unwrap)) + cdkBuilder.outputs(outputs.map(Artifact.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface LambdaInvokeActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalAction.kt index 7472a4ceca..ff3986949d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalAction.kt @@ -33,7 +33,7 @@ public open class ManualApprovalAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.ManualApprovalAction, ) : Action(cdkObject) { public constructor(props: ManualApprovalActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.ManualApprovalAction(props.let(ManualApprovalActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.ManualApprovalAction(props.let(ManualApprovalActionProps.Companion::unwrap)) ) public constructor(props: ManualApprovalActionProps.Builder.() -> Unit) : @@ -49,7 +49,7 @@ public open class ManualApprovalAction( * @param grantable the grantable to attach the permissions to. */ public open fun grantManualApproval(grantable: IGrantable) { - unwrap(this).grantManualApproval(grantable.let(IGrantable::unwrap)) + unwrap(this).grantManualApproval(grantable.let(IGrantable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class ManualApprovalAction( * pending. */ override fun notificationTopic(notificationTopic: ITopic) { - cdkBuilder.notificationTopic(notificationTopic.let(ITopic::unwrap)) + cdkBuilder.notificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class ManualApprovalAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalActionProps.kt index 440f7770f8..6188f782bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ManualApprovalActionProps.kt @@ -159,7 +159,7 @@ public interface ManualApprovalActionProps : CommonAwsActionProps { * pending. */ override fun notificationTopic(notificationTopic: ITopic) { - cdkBuilder.notificationTopic(notificationTopic.let(ITopic::unwrap)) + cdkBuilder.notificationTopic(notificationTopic.let(ITopic.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface ManualApprovalActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/OrganizationsDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/OrganizationsDeploymentProps.kt index 7cf65b0d7f..70ce984f06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/OrganizationsDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/OrganizationsDeploymentProps.kt @@ -61,7 +61,7 @@ public interface OrganizationsDeploymentProps { * organizational unit (OU). */ override fun autoDeployment(autoDeployment: StackSetOrganizationsAutoDeployment) { - cdkBuilder.autoDeployment(autoDeployment.let(StackSetOrganizationsAutoDeployment::unwrap)) + cdkBuilder.autoDeployment(autoDeployment.let(StackSetOrganizationsAutoDeployment.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployAction.kt index 109af96871..592b2d0447 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployAction.kt @@ -45,7 +45,7 @@ public open class S3DeployAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.S3DeployAction, ) : Action(cdkObject) { public constructor(props: S3DeployActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.S3DeployAction(props.let(S3DeployActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.S3DeployAction(props.let(S3DeployActionProps.Companion::unwrap)) ) public constructor(props: S3DeployActionProps.Builder.() -> Unit) : @@ -201,7 +201,7 @@ public open class S3DeployAction( * @param accessControl The specified canned ACL to objects deployed to Amazon S3. */ override fun accessControl(accessControl: BucketAccessControl) { - cdkBuilder.accessControl(accessControl.let(BucketAccessControl::unwrap)) + cdkBuilder.accessControl(accessControl.let(BucketAccessControl.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class S3DeployAction( * @param bucket The Amazon S3 bucket that is the deploy target. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class S3DeployAction( * @param cacheControl The caching behavior for requests/responses for objects in the bucket. */ override fun cacheControl(cacheControl: List) { - cdkBuilder.cacheControl(cacheControl.map(CacheControl::unwrap)) + cdkBuilder.cacheControl(cacheControl.map(CacheControl.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class S3DeployAction( * @param encryptionKey The AWS KMS encryption key for the host bucket. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class S3DeployAction( * @param input The input Artifact to deploy to Amazon S3. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class S3DeployAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployActionProps.kt index 29bef88b42..376cffa4c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3DeployActionProps.kt @@ -193,7 +193,7 @@ public interface S3DeployActionProps : CommonAwsActionProps { * This overwrites any existing ACL that was applied to the object. */ override fun accessControl(accessControl: BucketAccessControl) { - cdkBuilder.accessControl(accessControl.let(BucketAccessControl::unwrap)) + cdkBuilder.accessControl(accessControl.let(BucketAccessControl.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface S3DeployActionProps : CommonAwsActionProps { * @param bucket The Amazon S3 bucket that is the deploy target. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public interface S3DeployActionProps : CommonAwsActionProps { * (plus a space after the comma). */ override fun cacheControl(cacheControl: List) { - cdkBuilder.cacheControl(cacheControl.map(CacheControl::unwrap)) + cdkBuilder.cacheControl(cacheControl.map(CacheControl.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface S3DeployActionProps : CommonAwsActionProps { * The encryptionKey parameter encrypts uploaded artifacts with the provided AWS KMS key. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface S3DeployActionProps : CommonAwsActionProps { * @param input The input Artifact to deploy to Amazon S3. */ override fun input(input: Artifact) { - cdkBuilder.input(input.let(Artifact::unwrap)) + cdkBuilder.input(input.let(Artifact.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface S3DeployActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceAction.kt index a1a808f7e4..772b736b5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceAction.kt @@ -43,7 +43,7 @@ public open class S3SourceAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.S3SourceAction, ) : Action(cdkObject) { public constructor(props: S3SourceActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.S3SourceAction(props.let(S3SourceActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.S3SourceAction(props.let(S3SourceActionProps.Companion::unwrap)) ) public constructor(props: S3SourceActionProps.Builder.() -> Unit) : @@ -177,7 +177,7 @@ public open class S3SourceAction( * @param bucket The Amazon S3 bucket that stores the source code. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class S3SourceAction( * @param output */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class S3SourceAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class S3SourceAction( * @param trigger How should CodePipeline detect source changes for this Action. */ override fun trigger(trigger: S3Trigger) { - cdkBuilder.trigger(trigger.let(S3Trigger::unwrap)) + cdkBuilder.trigger(trigger.let(S3Trigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceActionProps.kt index c59cd40dbf..f53fd916fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/S3SourceActionProps.kt @@ -155,7 +155,7 @@ public interface S3SourceActionProps : CommonAwsActionProps { * the encryption key at import time by using `Bucket.fromBucketAttributes()` method. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface S3SourceActionProps : CommonAwsActionProps { * @param output the value to be set. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface S3SourceActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public interface S3SourceActionProps : CommonAwsActionProps { * as otherwise the CloudWatch Events will not be emitted. */ override fun trigger(trigger: S3Trigger) { - cdkBuilder.trigger(trigger.let(S3Trigger::unwrap)) + cdkBuilder.trigger(trigger.let(S3Trigger.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/SelfManagedDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/SelfManagedDeploymentProps.kt index 1a6a4cc9de..2ff197572d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/SelfManagedDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/SelfManagedDeploymentProps.kt @@ -115,7 +115,7 @@ public interface SelfManagedDeploymentProps { * `AWSCloudFormationStackSetAdministrationRole`. */ override fun administrationRole(administrationRole: IRole) { - cdkBuilder.administrationRole(administrationRole.let(IRole::unwrap)) + cdkBuilder.administrationRole(administrationRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1.kt index 7c2407e3c8..d198f65e3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1.kt @@ -32,7 +32,7 @@ public open class ServiceCatalogDeployActionBeta1( cdkObject: software.amazon.awscdk.services.codepipeline.actions.ServiceCatalogDeployActionBeta1, ) : Action(cdkObject) { public constructor(props: ServiceCatalogDeployActionBeta1Props) : - this(software.amazon.awscdk.services.codepipeline.actions.ServiceCatalogDeployActionBeta1(props.let(ServiceCatalogDeployActionBeta1Props::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.ServiceCatalogDeployActionBeta1(props.let(ServiceCatalogDeployActionBeta1Props.Companion::unwrap)) ) public constructor(props: ServiceCatalogDeployActionBeta1Props.Builder.() -> Unit) : @@ -192,7 +192,7 @@ public open class ServiceCatalogDeployActionBeta1( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class ServiceCatalogDeployActionBeta1( * @param templatePath The path to the cloudformation artifact. */ override fun templatePath(templatePath: ArtifactPath) { - cdkBuilder.templatePath(templatePath.let(ArtifactPath::unwrap)) + cdkBuilder.templatePath(templatePath.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1Props.kt index c785211c59..c1e9ad6b2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/ServiceCatalogDeployActionBeta1Props.kt @@ -159,7 +159,7 @@ public interface ServiceCatalogDeployActionBeta1Props : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface ServiceCatalogDeployActionBeta1Props : CommonAwsActionProps { * @param templatePath The path to the cloudformation artifact. */ override fun templatePath(templatePath: ArtifactPath) { - cdkBuilder.templatePath(templatePath.let(ArtifactPath::unwrap)) + cdkBuilder.templatePath(templatePath.let(ArtifactPath.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackInstances.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackInstances.kt index da6f2d257b..a49349515d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackInstances.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackInstances.kt @@ -51,7 +51,7 @@ public abstract class StackInstances( public companion object { public fun fromArtifactPath(artifactPath: ArtifactPath, regions: List): StackInstances = - software.amazon.awscdk.services.codepipeline.actions.StackInstances.fromArtifactPath(artifactPath.let(ArtifactPath::unwrap), + software.amazon.awscdk.services.codepipeline.actions.StackInstances.fromArtifactPath(artifactPath.let(ArtifactPath.Companion::unwrap), regions).let(StackInstances::wrap) public fun inAccounts(accounts: List, regions: List): StackInstances = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetDeploymentModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetDeploymentModel.kt index a2d36a699b..4fdadbec78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetDeploymentModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetDeploymentModel.kt @@ -53,7 +53,7 @@ public abstract class StackSetDeploymentModel( software.amazon.awscdk.services.codepipeline.actions.StackSetDeploymentModel.organizations().let(StackSetDeploymentModel::wrap) public fun organizations(props: OrganizationsDeploymentProps): StackSetDeploymentModel = - software.amazon.awscdk.services.codepipeline.actions.StackSetDeploymentModel.organizations(props.let(OrganizationsDeploymentProps::unwrap)).let(StackSetDeploymentModel::wrap) + software.amazon.awscdk.services.codepipeline.actions.StackSetDeploymentModel.organizations(props.let(OrganizationsDeploymentProps.Companion::unwrap)).let(StackSetDeploymentModel::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e105658e12856cc49c5140211e41158380b040deac477a50924f8cf64ea4dd3c") @@ -64,7 +64,7 @@ public abstract class StackSetDeploymentModel( software.amazon.awscdk.services.codepipeline.actions.StackSetDeploymentModel.selfManaged().let(StackSetDeploymentModel::wrap) public fun selfManaged(props: SelfManagedDeploymentProps): StackSetDeploymentModel = - software.amazon.awscdk.services.codepipeline.actions.StackSetDeploymentModel.selfManaged(props.let(SelfManagedDeploymentProps::unwrap)).let(StackSetDeploymentModel::wrap) + software.amazon.awscdk.services.codepipeline.actions.StackSetDeploymentModel.selfManaged(props.let(SelfManagedDeploymentProps.Companion::unwrap)).let(StackSetDeploymentModel::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("70b9e9c45bd8d5aa4c4dd5196158ab5f3f2068a91a1e44c4fbf43ff439475cdc") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetParameters.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetParameters.kt index 14a7869c46..ee8a269e11 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetParameters.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetParameters.kt @@ -29,7 +29,7 @@ public abstract class StackSetParameters( public companion object { public fun fromArtifactPath(artifactPath: ArtifactPath): StackSetParameters = - software.amazon.awscdk.services.codepipeline.actions.StackSetParameters.fromArtifactPath(artifactPath.let(ArtifactPath::unwrap)).let(StackSetParameters::wrap) + software.amazon.awscdk.services.codepipeline.actions.StackSetParameters.fromArtifactPath(artifactPath.let(ArtifactPath.Companion::unwrap)).let(StackSetParameters::wrap) public fun fromLiteral(parameters: Map): StackSetParameters = software.amazon.awscdk.services.codepipeline.actions.StackSetParameters.fromLiteral(parameters).let(StackSetParameters::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetTemplate.kt index c9c9a8db87..32239ec394 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StackSetTemplate.kt @@ -49,7 +49,7 @@ public abstract class StackSetTemplate( public companion object { public fun fromArtifactPath(artifactPath: ArtifactPath): StackSetTemplate = - software.amazon.awscdk.services.codepipeline.actions.StackSetTemplate.fromArtifactPath(artifactPath.let(ArtifactPath::unwrap)).let(StackSetTemplate::wrap) + software.amazon.awscdk.services.codepipeline.actions.StackSetTemplate.fromArtifactPath(artifactPath.let(ArtifactPath.Companion::unwrap)).let(StackSetTemplate::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.codepipeline.actions.StackSetTemplate): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StateMachineInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StateMachineInput.kt index ef2f713216..34575eb666 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StateMachineInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StateMachineInput.kt @@ -69,7 +69,7 @@ public open class StateMachineInput( public companion object { public fun filePath(inputFile: ArtifactPath): StateMachineInput = - software.amazon.awscdk.services.codepipeline.actions.StateMachineInput.filePath(inputFile.let(ArtifactPath::unwrap)).let(StateMachineInput::wrap) + software.amazon.awscdk.services.codepipeline.actions.StateMachineInput.filePath(inputFile.let(ArtifactPath.Companion::unwrap)).let(StateMachineInput::wrap) public fun literal(`object`: ObjectNode): StateMachineInput = software.amazon.awscdk.services.codepipeline.actions.StateMachineInput.literal(`object`).let(StateMachineInput::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionInvokeAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionInvokeAction.kt index 44881b556a..ee8f76f787 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionInvokeAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionInvokeAction.kt @@ -37,7 +37,7 @@ public open class StepFunctionInvokeAction( cdkObject: software.amazon.awscdk.services.codepipeline.actions.StepFunctionInvokeAction, ) : Action(cdkObject) { public constructor(props: StepFunctionsInvokeActionProps) : - this(software.amazon.awscdk.services.codepipeline.actions.StepFunctionInvokeAction(props.let(StepFunctionsInvokeActionProps::unwrap)) + this(software.amazon.awscdk.services.codepipeline.actions.StepFunctionInvokeAction(props.let(StepFunctionsInvokeActionProps.Companion::unwrap)) ) public constructor(props: StepFunctionsInvokeActionProps.Builder.() -> Unit) : @@ -178,7 +178,7 @@ public open class StepFunctionInvokeAction( * @param output The optional output Artifact of the Action. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class StepFunctionInvokeAction( * @param role The Role in which context's this Action will be executing in. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class StepFunctionInvokeAction( * @param stateMachine The state machine to invoke. */ override fun stateMachine(stateMachine: IStateMachine) { - cdkBuilder.stateMachine(stateMachine.let(IStateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(IStateMachine.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class StepFunctionInvokeAction( * @param stateMachineInput Represents the input to the StateMachine. */ override fun stateMachineInput(stateMachineInput: StateMachineInput) { - cdkBuilder.stateMachineInput(stateMachineInput.let(StateMachineInput::unwrap)) + cdkBuilder.stateMachineInput(stateMachineInput.let(StateMachineInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionsInvokeActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionsInvokeActionProps.kt index 628140a2eb..27d404e1a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionsInvokeActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codepipeline/actions/StepFunctionsInvokeActionProps.kt @@ -156,7 +156,7 @@ public interface StepFunctionsInvokeActionProps : CommonAwsActionProps { * @param output The optional output Artifact of the Action. */ override fun output(output: Artifact) { - cdkBuilder.output(output.let(Artifact::unwrap)) + cdkBuilder.output(output.let(Artifact.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface StepFunctionsInvokeActionProps : CommonAwsActionProps { * method in the `ActionBindOptions.role` property. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface StepFunctionsInvokeActionProps : CommonAwsActionProps { * @param stateMachine The state machine to invoke. */ override fun stateMachine(stateMachine: IStateMachine) { - cdkBuilder.stateMachine(stateMachine.let(IStateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(IStateMachine.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface StepFunctionsInvokeActionProps : CommonAwsActionProps { * This includes input artifact, input type and the statemachine input. */ override fun stateMachineInput(stateMachineInput: StateMachineInput) { - cdkBuilder.stateMachineInput(stateMachineInput.let(StateMachineInput::unwrap)) + cdkBuilder.stateMachineInput(stateMachineInput.let(StateMachineInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepository.kt index 4319a1cbbe..d87645d0a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepository.kt @@ -65,8 +65,8 @@ public open class CfnGitHubRepository( id: String, props: CfnGitHubRepositoryProps, ) : - this(software.amazon.awscdk.services.codestar.CfnGitHubRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGitHubRepositoryProps::unwrap)) + this(software.amazon.awscdk.services.codestar.CfnGitHubRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGitHubRepositoryProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnGitHubRepository( * CloudFormation stack. */ public open fun code(`value`: IResolvable) { - unwrap(this).setCode(`value`.let(IResolvable::unwrap)) + unwrap(this).setCode(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnGitHubRepository( * CloudFormation stack. */ public open fun code(`value`: CodeProperty) { - unwrap(this).setCode(`value`.let(CodeProperty::unwrap)) + unwrap(this).setCode(`value`.let(CodeProperty.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnGitHubRepository( * Indicates whether to enable issues for the GitHub repository. */ public open fun enableIssues(`value`: IResolvable) { - unwrap(this).setEnableIssues(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableIssues(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnGitHubRepository( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnGitHubRepository( * Indicates whether the GitHub repository is a private repository. */ public open fun isPrivate(`value`: IResolvable) { - unwrap(this).setIsPrivate(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsPrivate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnGitHubRepository( * AWS CloudFormation stack. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class CfnGitHubRepository( * AWS CloudFormation stack. */ override fun code(code: CodeProperty) { - cdkBuilder.code(code.let(CodeProperty::unwrap)) + cdkBuilder.code(code.let(CodeProperty.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class CfnGitHubRepository( * @param enableIssues Indicates whether to enable issues for the GitHub repository. */ override fun enableIssues(enableIssues: IResolvable) { - cdkBuilder.enableIssues(enableIssues.let(IResolvable::unwrap)) + cdkBuilder.enableIssues(enableIssues.let(IResolvable.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CfnGitHubRepository( * @param isPrivate Indicates whether the GitHub repository is a private repository. */ override fun isPrivate(isPrivate: IResolvable) { - cdkBuilder.isPrivate(isPrivate.let(IResolvable::unwrap)) + cdkBuilder.isPrivate(isPrivate.let(IResolvable.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class CfnGitHubRepository( * committed to the repository. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CfnGitHubRepository( * committed to the repository. */ override fun s3(s3: S3Property) { - cdkBuilder.s3(s3.let(S3Property::unwrap)) + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepositoryProps.kt index 66b1326405..9896e17ab3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestar/CfnGitHubRepositoryProps.kt @@ -197,7 +197,7 @@ public interface CfnGitHubRepositoryProps { * AWS CloudFormation stack. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface CfnGitHubRepositoryProps { * AWS CloudFormation stack. */ override fun code(code: CfnGitHubRepository.CodeProperty) { - cdkBuilder.code(code.let(CfnGitHubRepository.CodeProperty::unwrap)) + cdkBuilder.code(code.let(CfnGitHubRepository.CodeProperty.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface CfnGitHubRepositoryProps { * You can use GitHub issues to track information and bugs for your repository. */ override fun enableIssues(enableIssues: IResolvable) { - cdkBuilder.enableIssues(enableIssues.let(IResolvable::unwrap)) + cdkBuilder.enableIssues(enableIssues.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnGitHubRepositoryProps { * If so, you choose who can see and commit to this repository. */ override fun isPrivate(isPrivate: IResolvable) { - cdkBuilder.isPrivate(isPrivate.let(IResolvable::unwrap)) + cdkBuilder.isPrivate(isPrivate.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnection.kt index f42f3c6068..a533934203 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnection.kt @@ -50,8 +50,8 @@ public open class CfnConnection( id: String, props: CfnConnectionProps, ) : - this(software.amazon.awscdk.services.codestarconnections.CfnConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectionProps::unwrap)) + this(software.amazon.awscdk.services.codestarconnections.CfnConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectionProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class CfnConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnConnection( * Specifies the tags applied to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnConnection( * @param tags Specifies the tags applied to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnectionProps.kt index b750f10bcb..62292226d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnConnectionProps.kt @@ -129,7 +129,7 @@ public interface CfnConnectionProps { * @param tags Specifies the tags applied to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLink.kt index 172bf62539..d370411537 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLink.kt @@ -49,8 +49,8 @@ public open class CfnRepositoryLink( id: String, props: CfnRepositoryLinkProps, ) : - this(software.amazon.awscdk.services.codestarconnections.CfnRepositoryLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRepositoryLinkProps::unwrap)) + this(software.amazon.awscdk.services.codestarconnections.CfnRepositoryLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRepositoryLinkProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnRepositoryLink( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnRepositoryLink( * The tags for the repository to be associated with the repository link. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnRepositoryLink( * @param tags The tags for the repository to be associated with the repository link. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLinkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLinkProps.kt index 40263c8e28..2322fa54c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLinkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnRepositoryLinkProps.kt @@ -151,7 +151,7 @@ public interface CfnRepositoryLinkProps { * @param tags The tags for the repository to be associated with the repository link. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnSyncConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnSyncConfiguration.kt index 552d96f83a..ba8bbb0d66 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnSyncConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarconnections/CfnSyncConfiguration.kt @@ -45,8 +45,8 @@ public open class CfnSyncConfiguration( id: String, props: CfnSyncConfigurationProps, ) : - this(software.amazon.awscdk.services.codestarconnections.CfnSyncConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSyncConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.codestarconnections.CfnSyncConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSyncConfigurationProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnSyncConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRule.kt index 22cb7b57ab..c035c35447 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRule.kt @@ -62,8 +62,8 @@ public open class CfnNotificationRule( id: String, props: CfnNotificationRuleProps, ) : - this(software.amazon.awscdk.services.codestarnotifications.CfnNotificationRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNotificationRuleProps::unwrap)) + this(software.amazon.awscdk.services.codestarnotifications.CfnNotificationRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNotificationRuleProps.Companion::unwrap)) ) public constructor( @@ -137,7 +137,7 @@ public open class CfnNotificationRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnNotificationRule( * associate with the notification rule. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnNotificationRule( * clients to associate with the notification rule. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRuleProps.kt index 954a36f41b..b3fa5e03c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/CfnNotificationRuleProps.kt @@ -329,7 +329,7 @@ public interface CfnNotificationRuleProps { * clients to associate with the notification rule. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRule.kt index c47a98b09e..3e46366e43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRule.kt @@ -40,7 +40,7 @@ public interface INotificationRule : IResource { * @param target The SNS topic or AWS Chatbot Slack target. */ override fun addTarget(target: INotificationRuleTarget): Boolean = - unwrap(this).addTarget(target.let(INotificationRuleTarget::unwrap)) + unwrap(this).addTarget(target.let(INotificationRuleTarget.Companion::unwrap)) /** * Apply the given removal policy to this resource. @@ -56,7 +56,7 @@ public interface INotificationRule : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleSource.kt index 482b222e6d..e77f6f2a6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleSource.kt @@ -27,7 +27,7 @@ public interface INotificationRuleSource { * @param scope */ override fun bindAsNotificationRuleSource(scope: Construct): NotificationRuleSourceConfig = - unwrap(this).bindAsNotificationRuleSource(scope.let(Construct::unwrap)).let(NotificationRuleSourceConfig::wrap) + unwrap(this).bindAsNotificationRuleSource(scope.let(Construct.Companion::unwrap)).let(NotificationRuleSourceConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleTarget.kt index fe87c80135..c6b3b55346 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/INotificationRuleTarget.kt @@ -27,7 +27,7 @@ public interface INotificationRuleTarget { * @param scope */ override fun bindAsNotificationRuleTarget(scope: Construct): NotificationRuleTargetConfig = - unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct::unwrap)).let(NotificationRuleTargetConfig::wrap) + unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct.Companion::unwrap)).let(NotificationRuleTargetConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRule.kt index 5695d1fad7..80ca3a30b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRule.kt @@ -46,8 +46,8 @@ public open class NotificationRule( id: String, props: NotificationRuleProps, ) : - this(software.amazon.awscdk.services.codestarnotifications.NotificationRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NotificationRuleProps::unwrap)) + this(software.amazon.awscdk.services.codestarnotifications.NotificationRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NotificationRuleProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class NotificationRule( * @param target The SNS topic or AWS Chatbot Slack target. */ public override fun addTarget(target: INotificationRuleTarget): Boolean = - unwrap(this).addTarget(target.let(INotificationRuleTarget::unwrap)) + unwrap(this).addTarget(target.let(INotificationRuleTarget.Companion::unwrap)) /** * The ARN of the notification rule (i.e. @@ -185,7 +185,7 @@ public open class NotificationRule( * @param detailType The level of detail to include in the notifications for this resource. */ override fun detailType(detailType: DetailType) { - cdkBuilder.detailType(detailType.let(DetailType::unwrap)) + cdkBuilder.detailType(detailType.let(DetailType.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class NotificationRule( * notification rule. */ override fun source(source: INotificationRuleSource) { - cdkBuilder.source(source.let(INotificationRuleSource::unwrap)) + cdkBuilder.source(source.let(INotificationRuleSource.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class NotificationRule( * @param targets The targets to register for the notification destination. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(INotificationRuleTarget::unwrap)) + cdkBuilder.targets(targets.map(INotificationRuleTarget.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class NotificationRule( id: String, notificationRuleArn: String, ): INotificationRule = - software.amazon.awscdk.services.codestarnotifications.NotificationRule.fromNotificationRuleArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.codestarnotifications.NotificationRule.fromNotificationRuleArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, notificationRuleArn).let(INotificationRule::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleOptions.kt index 9ab58f4c3a..608a26a0d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleOptions.kt @@ -93,7 +93,7 @@ public interface NotificationRuleOptions { * the service for the resource for which the notification is created. */ override fun detailType(detailType: DetailType) { - cdkBuilder.detailType(detailType.let(DetailType::unwrap)) + cdkBuilder.detailType(detailType.let(DetailType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleProps.kt index 1ef09b1a99..d8591de2a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/codestarnotifications/NotificationRuleProps.kt @@ -136,7 +136,7 @@ public interface NotificationRuleProps : NotificationRuleOptions { * the service for the resource for which the notification is created. */ override fun detailType(detailType: DetailType) { - cdkBuilder.detailType(detailType.let(DetailType::unwrap)) + cdkBuilder.detailType(detailType.let(DetailType.Companion::unwrap)) } /** @@ -178,14 +178,14 @@ public interface NotificationRuleProps : NotificationRuleOptions { * CodeBuild, and repositories in AWS CodeCommit in this L2 constructor. */ override fun source(source: INotificationRuleSource) { - cdkBuilder.source(source.let(INotificationRuleSource::unwrap)) + cdkBuilder.source(source.let(INotificationRuleSource.Companion::unwrap)) } /** * @param targets The targets to register for the notification destination. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(INotificationRuleTarget::unwrap)) + cdkBuilder.targets(targets.map(INotificationRuleTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/AttributeMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/AttributeMapping.kt index 8e7e3e3f36..edab6f5110 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/AttributeMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/AttributeMapping.kt @@ -277,14 +277,14 @@ public interface AttributeMapping { * @param address The user's postal address is a required attribute. */ override fun address(address: ProviderAttribute) { - cdkBuilder.address(address.let(ProviderAttribute::unwrap)) + cdkBuilder.address(address.let(ProviderAttribute.Companion::unwrap)) } /** * @param birthdate The user's birthday. */ override fun birthdate(birthdate: ProviderAttribute) { - cdkBuilder.birthdate(birthdate.let(ProviderAttribute::unwrap)) + cdkBuilder.birthdate(birthdate.let(ProviderAttribute.Companion::unwrap)) } /** @@ -299,105 +299,105 @@ public interface AttributeMapping { * @param email The user's e-mail address. */ override fun email(email: ProviderAttribute) { - cdkBuilder.email(email.let(ProviderAttribute::unwrap)) + cdkBuilder.email(email.let(ProviderAttribute.Companion::unwrap)) } /** * @param familyName The surname or last name of user. */ override fun familyName(familyName: ProviderAttribute) { - cdkBuilder.familyName(familyName.let(ProviderAttribute::unwrap)) + cdkBuilder.familyName(familyName.let(ProviderAttribute.Companion::unwrap)) } /** * @param fullname The user's full name in displayable form. */ override fun fullname(fullname: ProviderAttribute) { - cdkBuilder.fullname(fullname.let(ProviderAttribute::unwrap)) + cdkBuilder.fullname(fullname.let(ProviderAttribute.Companion::unwrap)) } /** * @param gender The user's gender. */ override fun gender(gender: ProviderAttribute) { - cdkBuilder.gender(gender.let(ProviderAttribute::unwrap)) + cdkBuilder.gender(gender.let(ProviderAttribute.Companion::unwrap)) } /** * @param givenName The user's first name or give name. */ override fun givenName(givenName: ProviderAttribute) { - cdkBuilder.givenName(givenName.let(ProviderAttribute::unwrap)) + cdkBuilder.givenName(givenName.let(ProviderAttribute.Companion::unwrap)) } /** * @param lastUpdateTime Time, the user's information was last updated. */ override fun lastUpdateTime(lastUpdateTime: ProviderAttribute) { - cdkBuilder.lastUpdateTime(lastUpdateTime.let(ProviderAttribute::unwrap)) + cdkBuilder.lastUpdateTime(lastUpdateTime.let(ProviderAttribute.Companion::unwrap)) } /** * @param locale The user's locale. */ override fun locale(locale: ProviderAttribute) { - cdkBuilder.locale(locale.let(ProviderAttribute::unwrap)) + cdkBuilder.locale(locale.let(ProviderAttribute.Companion::unwrap)) } /** * @param middleName The user's middle name. */ override fun middleName(middleName: ProviderAttribute) { - cdkBuilder.middleName(middleName.let(ProviderAttribute::unwrap)) + cdkBuilder.middleName(middleName.let(ProviderAttribute.Companion::unwrap)) } /** * @param nickname The user's nickname or casual name. */ override fun nickname(nickname: ProviderAttribute) { - cdkBuilder.nickname(nickname.let(ProviderAttribute::unwrap)) + cdkBuilder.nickname(nickname.let(ProviderAttribute.Companion::unwrap)) } /** * @param phoneNumber The user's telephone number. */ override fun phoneNumber(phoneNumber: ProviderAttribute) { - cdkBuilder.phoneNumber(phoneNumber.let(ProviderAttribute::unwrap)) + cdkBuilder.phoneNumber(phoneNumber.let(ProviderAttribute.Companion::unwrap)) } /** * @param preferredUsername The user's preferred username. */ override fun preferredUsername(preferredUsername: ProviderAttribute) { - cdkBuilder.preferredUsername(preferredUsername.let(ProviderAttribute::unwrap)) + cdkBuilder.preferredUsername(preferredUsername.let(ProviderAttribute.Companion::unwrap)) } /** * @param profilePage The URL to the user's profile page. */ override fun profilePage(profilePage: ProviderAttribute) { - cdkBuilder.profilePage(profilePage.let(ProviderAttribute::unwrap)) + cdkBuilder.profilePage(profilePage.let(ProviderAttribute.Companion::unwrap)) } /** * @param profilePicture The URL to the user's profile picture. */ override fun profilePicture(profilePicture: ProviderAttribute) { - cdkBuilder.profilePicture(profilePicture.let(ProviderAttribute::unwrap)) + cdkBuilder.profilePicture(profilePicture.let(ProviderAttribute.Companion::unwrap)) } /** * @param timezone The user's time zone. */ override fun timezone(timezone: ProviderAttribute) { - cdkBuilder.timezone(timezone.let(ProviderAttribute::unwrap)) + cdkBuilder.timezone(timezone.let(ProviderAttribute.Companion::unwrap)) } /** * @param website The URL to the user's web page or blog. */ override fun website(website: ProviderAttribute) { - cdkBuilder.website(website.let(ProviderAttribute::unwrap)) + cdkBuilder.website(website.let(ProviderAttribute.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.AttributeMapping = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/BooleanAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/BooleanAttribute.kt index c037042c3f..0ce46c0ded 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/BooleanAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/BooleanAttribute.kt @@ -40,7 +40,7 @@ public open class BooleanAttribute( ) public constructor(props: CustomAttributeProps) : - this(software.amazon.awscdk.services.cognito.BooleanAttribute(props.let(CustomAttributeProps::unwrap)) + this(software.amazon.awscdk.services.cognito.BooleanAttribute(props.let(CustomAttributeProps.Companion::unwrap)) ) public constructor(props: CustomAttributeProps.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPool.kt index b07339128d..20d845c025 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPool.kt @@ -49,8 +49,8 @@ public open class CfnIdentityPool( id: String, props: CfnIdentityPoolProps, ) : - this(software.amazon.awscdk.services.cognito.CfnIdentityPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentityPoolProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnIdentityPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentityPoolProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnIdentityPool( * Enables the Basic (Classic) authentication flow. */ public open fun allowClassicFlow(`value`: IResolvable) { - unwrap(this).setAllowClassicFlow(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowClassicFlow(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class CfnIdentityPool( * Specifies whether the identity pool supports unauthenticated logins. */ public open fun allowUnauthenticatedIdentities(`value`: IResolvable) { - unwrap(this).setAllowUnauthenticatedIdentities(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowUnauthenticatedIdentities(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnIdentityPool( * The Amazon Cognito user pools and their client IDs. */ public open fun cognitoIdentityProviders(`value`: IResolvable) { - unwrap(this).setCognitoIdentityProviders(`value`.let(IResolvable::unwrap)) + unwrap(this).setCognitoIdentityProviders(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -155,14 +155,14 @@ public open class CfnIdentityPool( * Configuration options for configuring Amazon Cognito streams. */ public open fun cognitoStreams(`value`: IResolvable) { - unwrap(this).setCognitoStreams(`value`.let(IResolvable::unwrap)) + unwrap(this).setCognitoStreams(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration options for configuring Amazon Cognito streams. */ public open fun cognitoStreams(`value`: CognitoStreamsProperty) { - unwrap(this).setCognitoStreams(`value`.let(CognitoStreamsProperty::unwrap)) + unwrap(this).setCognitoStreams(`value`.let(CognitoStreamsProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnIdentityPool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -234,14 +234,14 @@ public open class CfnIdentityPool( * The configuration options to be applied to the identity pool. */ public open fun pushSync(`value`: IResolvable) { - unwrap(this).setPushSync(`value`.let(IResolvable::unwrap)) + unwrap(this).setPushSync(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration options to be applied to the identity pool. */ public open fun pushSync(`value`: PushSyncProperty) { - unwrap(this).setPushSync(`value`.let(PushSyncProperty::unwrap)) + unwrap(this).setPushSync(`value`.let(PushSyncProperty.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class CfnIdentityPool( * @param allowClassicFlow Enables the Basic (Classic) authentication flow. */ override fun allowClassicFlow(allowClassicFlow: IResolvable) { - cdkBuilder.allowClassicFlow(allowClassicFlow.let(IResolvable::unwrap)) + cdkBuilder.allowClassicFlow(allowClassicFlow.let(IResolvable.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnIdentityPool( * unauthenticated logins. */ override fun allowUnauthenticatedIdentities(allowUnauthenticatedIdentities: IResolvable) { - cdkBuilder.allowUnauthenticatedIdentities(allowUnauthenticatedIdentities.let(IResolvable::unwrap)) + cdkBuilder.allowUnauthenticatedIdentities(allowUnauthenticatedIdentities.let(IResolvable.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnIdentityPool( * @param cognitoIdentityProviders The Amazon Cognito user pools and their client IDs. */ override fun cognitoIdentityProviders(cognitoIdentityProviders: IResolvable) { - cdkBuilder.cognitoIdentityProviders(cognitoIdentityProviders.let(IResolvable::unwrap)) + cdkBuilder.cognitoIdentityProviders(cognitoIdentityProviders.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnIdentityPool( * @param cognitoStreams Configuration options for configuring Amazon Cognito streams. */ override fun cognitoStreams(cognitoStreams: IResolvable) { - cdkBuilder.cognitoStreams(cognitoStreams.let(IResolvable::unwrap)) + cdkBuilder.cognitoStreams(cognitoStreams.let(IResolvable.Companion::unwrap)) } /** @@ -586,7 +586,7 @@ public open class CfnIdentityPool( * @param cognitoStreams Configuration options for configuring Amazon Cognito streams. */ override fun cognitoStreams(cognitoStreams: CognitoStreamsProperty) { - cdkBuilder.cognitoStreams(cognitoStreams.let(CognitoStreamsProperty::unwrap)) + cdkBuilder.cognitoStreams(cognitoStreams.let(CognitoStreamsProperty.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnIdentityPool( * @param pushSync The configuration options to be applied to the identity pool. */ override fun pushSync(pushSync: IResolvable) { - cdkBuilder.pushSync(pushSync.let(IResolvable::unwrap)) + cdkBuilder.pushSync(pushSync.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnIdentityPool( * @param pushSync The configuration options to be applied to the identity pool. */ override fun pushSync(pushSync: PushSyncProperty) { - cdkBuilder.pushSync(pushSync.let(PushSyncProperty::unwrap)) + cdkBuilder.pushSync(pushSync.let(PushSyncProperty.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnIdentityPool( * If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. */ override fun serverSideTokenCheck(serverSideTokenCheck: IResolvable) { - cdkBuilder.serverSideTokenCheck(serverSideTokenCheck.let(IResolvable::unwrap)) + cdkBuilder.serverSideTokenCheck(serverSideTokenCheck.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTag.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTag.kt index 037489bccd..9fd21245ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTag.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTag.kt @@ -44,8 +44,8 @@ public open class CfnIdentityPoolPrincipalTag( id: String, props: CfnIdentityPoolPrincipalTagProps, ) : - this(software.amazon.awscdk.services.cognito.CfnIdentityPoolPrincipalTag(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentityPoolPrincipalTagProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnIdentityPoolPrincipalTag(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentityPoolPrincipalTagProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnIdentityPoolPrincipalTag( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnIdentityPoolPrincipalTag( * map. */ public open fun useDefaults(`value`: IResolvable) { - unwrap(this).setUseDefaults(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseDefaults(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnIdentityPoolPrincipalTag( * instead of a custom map. */ override fun useDefaults(useDefaults: IResolvable) { - cdkBuilder.useDefaults(useDefaults.let(IResolvable::unwrap)) + cdkBuilder.useDefaults(useDefaults.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.CfnIdentityPoolPrincipalTag = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTagProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTagProps.kt index 8176094629..75584258b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTagProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolPrincipalTagProps.kt @@ -150,7 +150,7 @@ public interface CfnIdentityPoolPrincipalTagProps { * instead of a custom map. */ override fun useDefaults(useDefaults: IResolvable) { - cdkBuilder.useDefaults(useDefaults.let(IResolvable::unwrap)) + cdkBuilder.useDefaults(useDefaults.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.CfnIdentityPoolPrincipalTagProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolProps.kt index 9e37e778f1..120464080c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolProps.kt @@ -272,7 +272,7 @@ public interface CfnIdentityPoolProps { * @param allowClassicFlow Enables the Basic (Classic) authentication flow. */ override fun allowClassicFlow(allowClassicFlow: IResolvable) { - cdkBuilder.allowClassicFlow(allowClassicFlow.let(IResolvable::unwrap)) + cdkBuilder.allowClassicFlow(allowClassicFlow.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnIdentityPoolProps { * unauthenticated logins. */ override fun allowUnauthenticatedIdentities(allowUnauthenticatedIdentities: IResolvable) { - cdkBuilder.allowUnauthenticatedIdentities(allowUnauthenticatedIdentities.let(IResolvable::unwrap)) + cdkBuilder.allowUnauthenticatedIdentities(allowUnauthenticatedIdentities.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnIdentityPoolProps { * @param cognitoIdentityProviders The Amazon Cognito user pools and their client IDs. */ override fun cognitoIdentityProviders(cognitoIdentityProviders: IResolvable) { - cdkBuilder.cognitoIdentityProviders(cognitoIdentityProviders.let(IResolvable::unwrap)) + cdkBuilder.cognitoIdentityProviders(cognitoIdentityProviders.let(IResolvable.Companion::unwrap)) } /** @@ -322,14 +322,14 @@ public interface CfnIdentityPoolProps { * @param cognitoStreams Configuration options for configuring Amazon Cognito streams. */ override fun cognitoStreams(cognitoStreams: IResolvable) { - cdkBuilder.cognitoStreams(cognitoStreams.let(IResolvable::unwrap)) + cdkBuilder.cognitoStreams(cognitoStreams.let(IResolvable.Companion::unwrap)) } /** * @param cognitoStreams Configuration options for configuring Amazon Cognito streams. */ override fun cognitoStreams(cognitoStreams: CfnIdentityPool.CognitoStreamsProperty) { - cdkBuilder.cognitoStreams(cognitoStreams.let(CfnIdentityPool.CognitoStreamsProperty::unwrap)) + cdkBuilder.cognitoStreams(cognitoStreams.let(CfnIdentityPool.CognitoStreamsProperty.Companion::unwrap)) } /** @@ -386,14 +386,14 @@ public interface CfnIdentityPoolProps { * @param pushSync The configuration options to be applied to the identity pool. */ override fun pushSync(pushSync: IResolvable) { - cdkBuilder.pushSync(pushSync.let(IResolvable::unwrap)) + cdkBuilder.pushSync(pushSync.let(IResolvable.Companion::unwrap)) } /** * @param pushSync The configuration options to be applied to the identity pool. */ override fun pushSync(pushSync: CfnIdentityPool.PushSyncProperty) { - cdkBuilder.pushSync(pushSync.let(CfnIdentityPool.PushSyncProperty::unwrap)) + cdkBuilder.pushSync(pushSync.let(CfnIdentityPool.PushSyncProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachment.kt index 0e841b966a..28130babc4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachment.kt @@ -62,8 +62,8 @@ public open class CfnIdentityPoolRoleAttachment( id: String, props: CfnIdentityPoolRoleAttachmentProps, ) : - this(software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentityPoolRoleAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentityPoolRoleAttachmentProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnIdentityPoolRoleAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnIdentityPoolRoleAttachment( * How users for a specific identity provider are mapped to roles. */ public open fun roleMappings(`value`: IResolvable) { - unwrap(this).setRoleMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoleMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnIdentityPoolRoleAttachment( * @param roleMappings How users for a specific identity provider are mapped to roles. */ override fun roleMappings(roleMappings: IResolvable) { - cdkBuilder.roleMappings(roleMappings.let(IResolvable::unwrap)) + cdkBuilder.roleMappings(roleMappings.let(IResolvable.Companion::unwrap)) } /** @@ -646,7 +646,7 @@ public open class CfnIdentityPoolRoleAttachment( * If you specify "Rules" as the role-mapping type, RulesConfiguration is required. */ override fun rulesConfiguration(rulesConfiguration: IResolvable) { - cdkBuilder.rulesConfiguration(rulesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.rulesConfiguration(rulesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnIdentityPoolRoleAttachment( * If you specify "Rules" as the role-mapping type, RulesConfiguration is required. */ override fun rulesConfiguration(rulesConfiguration: RulesConfigurationTypeProperty) { - cdkBuilder.rulesConfiguration(rulesConfiguration.let(RulesConfigurationTypeProperty::unwrap)) + cdkBuilder.rulesConfiguration(rulesConfiguration.let(RulesConfigurationTypeProperty.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public open class CfnIdentityPoolRoleAttachment( * You can specify up to 25 rules per identity provider. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachmentProps.kt index a82abb0b60..af15d4f01e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPoolRoleAttachmentProps.kt @@ -156,7 +156,7 @@ public interface CfnIdentityPoolRoleAttachmentProps { * . */ override fun roleMappings(roleMappings: IResolvable) { - cdkBuilder.roleMappings(roleMappings.let(IResolvable::unwrap)) + cdkBuilder.roleMappings(roleMappings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfiguration.kt index 236262b241..bf47c853fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfiguration.kt @@ -50,8 +50,8 @@ public open class CfnLogDeliveryConfiguration( id: String, props: CfnLogDeliveryConfigurationProps, ) : - this(software.amazon.awscdk.services.cognito.CfnLogDeliveryConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLogDeliveryConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnLogDeliveryConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLogDeliveryConfigurationProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnLogDeliveryConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public open class CfnLogDeliveryConfiguration( * The detailed activity logging destination of a user pool. */ public open fun logConfigurations(`value`: IResolvable) { - unwrap(this).setLogConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnLogDeliveryConfiguration( * @param logConfigurations The detailed activity logging destination of a user pool. */ override fun logConfigurations(logConfigurations: IResolvable) { - cdkBuilder.logConfigurations(logConfigurations.let(IResolvable::unwrap)) + cdkBuilder.logConfigurations(logConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CfnLogDeliveryConfiguration( * detailed activity logging configuration. */ override fun cloudWatchLogsConfiguration(cloudWatchLogsConfiguration: IResolvable) { - cdkBuilder.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CfnLogDeliveryConfiguration( */ override fun cloudWatchLogsConfiguration(cloudWatchLogsConfiguration: CloudWatchLogsConfigurationProperty) { - cdkBuilder.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration.let(CloudWatchLogsConfigurationProperty::unwrap)) + cdkBuilder.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration.let(CloudWatchLogsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfigurationProps.kt index 1c8c21eadb..cf9a145977 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfigurationProps.kt @@ -86,7 +86,7 @@ public interface CfnLogDeliveryConfigurationProps { * @param logConfigurations The detailed activity logging destination of a user pool. */ override fun logConfigurations(logConfigurations: IResolvable) { - cdkBuilder.logConfigurations(logConfigurations.let(IResolvable::unwrap)) + cdkBuilder.logConfigurations(logConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPool.kt index a076024f96..86b2344140 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPool.kt @@ -161,7 +161,7 @@ public open class CfnUserPool( cdkObject: software.amazon.awscdk.services.cognito.CfnUserPool, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cognito.CfnUserPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cognito.CfnUserPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -170,8 +170,8 @@ public open class CfnUserPool( id: String, props: CfnUserPoolProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolProps.Companion::unwrap)) ) public constructor( @@ -192,7 +192,7 @@ public open class CfnUserPool( * password when they call `ForgotPassword` . */ public open fun accountRecoverySetting(`value`: IResolvable) { - unwrap(this).setAccountRecoverySetting(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccountRecoverySetting(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnUserPool( * password when they call `ForgotPassword` . */ public open fun accountRecoverySetting(`value`: AccountRecoverySettingProperty) { - unwrap(this).setAccountRecoverySetting(`value`.let(AccountRecoverySettingProperty::unwrap)) + unwrap(this).setAccountRecoverySetting(`value`.let(AccountRecoverySettingProperty.Companion::unwrap)) } /** @@ -222,14 +222,14 @@ public open class CfnUserPool( * The configuration for creating a new user profile. */ public open fun adminCreateUserConfig(`value`: IResolvable) { - unwrap(this).setAdminCreateUserConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdminCreateUserConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for creating a new user profile. */ public open fun adminCreateUserConfig(`value`: AdminCreateUserConfigProperty) { - unwrap(this).setAdminCreateUserConfig(`value`.let(AdminCreateUserConfigProperty::unwrap)) + unwrap(this).setAdminCreateUserConfig(`value`.let(AdminCreateUserConfigProperty.Companion::unwrap)) } /** @@ -324,14 +324,14 @@ public open class CfnUserPool( * The device-remembering configuration for a user pool. */ public open fun deviceConfiguration(`value`: IResolvable) { - unwrap(this).setDeviceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeviceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The device-remembering configuration for a user pool. */ public open fun deviceConfiguration(`value`: DeviceConfigurationProperty) { - unwrap(this).setDeviceConfiguration(`value`.let(DeviceConfigurationProperty::unwrap)) + unwrap(this).setDeviceConfiguration(`value`.let(DeviceConfigurationProperty.Companion::unwrap)) } /** @@ -351,14 +351,14 @@ public open class CfnUserPool( * The email configuration of your user pool. */ public open fun emailConfiguration(`value`: IResolvable) { - unwrap(this).setEmailConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEmailConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The email configuration of your user pool. */ public open fun emailConfiguration(`value`: EmailConfigurationProperty) { - unwrap(this).setEmailConfiguration(`value`.let(EmailConfigurationProperty::unwrap)) + unwrap(this).setEmailConfiguration(`value`.let(EmailConfigurationProperty.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnUserPool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -428,14 +428,14 @@ public open class CfnUserPool( * The Lambda trigger configuration information for the new user pool. */ public open fun lambdaConfig(`value`: IResolvable) { - unwrap(this).setLambdaConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLambdaConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The Lambda trigger configuration information for the new user pool. */ public open fun lambdaConfig(`value`: LambdaConfigProperty) { - unwrap(this).setLambdaConfig(`value`.let(LambdaConfigProperty::unwrap)) + unwrap(this).setLambdaConfig(`value`.let(LambdaConfigProperty.Companion::unwrap)) } /** @@ -471,14 +471,14 @@ public open class CfnUserPool( * The policy associated with a user pool. */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** * The policy associated with a user pool. */ public open fun policies(`value`: PoliciesProperty) { - unwrap(this).setPolicies(`value`.let(PoliciesProperty::unwrap)) + unwrap(this).setPolicies(`value`.let(PoliciesProperty.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnUserPool( * These attributes can be standard or custom attributes. */ public open fun schema(`value`: IResolvable) { - unwrap(this).setSchema(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchema(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnUserPool( * SMS message from your AWS account through Amazon Simple Notification Service. */ public open fun smsConfiguration(`value`: IResolvable) { - unwrap(this).setSmsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSmsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnUserPool( * SMS message from your AWS account through Amazon Simple Notification Service. */ public open fun smsConfiguration(`value`: SmsConfigurationProperty) { - unwrap(this).setSmsConfiguration(`value`.let(SmsConfigurationProperty::unwrap)) + unwrap(this).setSmsConfiguration(`value`.let(SmsConfigurationProperty.Companion::unwrap)) } /** @@ -591,14 +591,14 @@ public open class CfnUserPool( * The settings for updates to user attributes. */ public open fun userAttributeUpdateSettings(`value`: IResolvable) { - unwrap(this).setUserAttributeUpdateSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserAttributeUpdateSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for updates to user attributes. */ public open fun userAttributeUpdateSettings(`value`: UserAttributeUpdateSettingsProperty) { - unwrap(this).setUserAttributeUpdateSettings(`value`.let(UserAttributeUpdateSettingsProperty::unwrap)) + unwrap(this).setUserAttributeUpdateSettings(`value`.let(UserAttributeUpdateSettingsProperty.Companion::unwrap)) } /** @@ -619,14 +619,14 @@ public open class CfnUserPool( * User pool add-ons. */ public open fun userPoolAddOns(`value`: IResolvable) { - unwrap(this).setUserPoolAddOns(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserPoolAddOns(`value`.let(IResolvable.Companion::unwrap)) } /** * User pool add-ons. */ public open fun userPoolAddOns(`value`: UserPoolAddOnsProperty) { - unwrap(this).setUserPoolAddOns(`value`.let(UserPoolAddOnsProperty::unwrap)) + unwrap(this).setUserPoolAddOns(`value`.let(UserPoolAddOnsProperty.Companion::unwrap)) } /** @@ -692,14 +692,14 @@ public open class CfnUserPool( * You can choose to set case sensitivity on the username input for the selected sign-in option. */ public open fun usernameConfiguration(`value`: IResolvable) { - unwrap(this).setUsernameConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setUsernameConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * You can choose to set case sensitivity on the username input for the selected sign-in option. */ public open fun usernameConfiguration(`value`: UsernameConfigurationProperty) { - unwrap(this).setUsernameConfiguration(`value`.let(UsernameConfigurationProperty::unwrap)) + unwrap(this).setUsernameConfiguration(`value`.let(UsernameConfigurationProperty.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnUserPool( * to access the user's information. */ public open fun verificationMessageTemplate(`value`: IResolvable) { - unwrap(this).setVerificationMessageTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setVerificationMessageTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class CfnUserPool( * to access the user's information. */ public open fun verificationMessageTemplate(`value`: VerificationMessageTemplateProperty) { - unwrap(this).setVerificationMessageTemplate(`value`.let(VerificationMessageTemplateProperty::unwrap)) + unwrap(this).setVerificationMessageTemplate(`value`.let(VerificationMessageTemplateProperty.Companion::unwrap)) } /** @@ -1484,7 +1484,7 @@ public open class CfnUserPool( * user can use to recover their password when they call `ForgotPassword` . */ override fun accountRecoverySetting(accountRecoverySetting: IResolvable) { - cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(IResolvable::unwrap)) + cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(IResolvable.Companion::unwrap)) } /** @@ -1501,7 +1501,7 @@ public open class CfnUserPool( * user can use to recover their password when they call `ForgotPassword` . */ override fun accountRecoverySetting(accountRecoverySetting: AccountRecoverySettingProperty) { - cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(AccountRecoverySettingProperty::unwrap)) + cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(AccountRecoverySettingProperty.Companion::unwrap)) } /** @@ -1530,7 +1530,7 @@ public open class CfnUserPool( * @param adminCreateUserConfig The configuration for creating a new user profile. */ override fun adminCreateUserConfig(adminCreateUserConfig: IResolvable) { - cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(IResolvable::unwrap)) + cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1540,7 +1540,7 @@ public open class CfnUserPool( * @param adminCreateUserConfig The configuration for creating a new user profile. */ override fun adminCreateUserConfig(adminCreateUserConfig: AdminCreateUserConfigProperty) { - cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(AdminCreateUserConfigProperty::unwrap)) + cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(AdminCreateUserConfigProperty.Companion::unwrap)) } /** @@ -1642,7 +1642,7 @@ public open class CfnUserPool( * @param deviceConfiguration The device-remembering configuration for a user pool. */ override fun deviceConfiguration(deviceConfiguration: IResolvable) { - cdkBuilder.deviceConfiguration(deviceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deviceConfiguration(deviceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1659,7 +1659,7 @@ public open class CfnUserPool( * @param deviceConfiguration The device-remembering configuration for a user pool. */ override fun deviceConfiguration(deviceConfiguration: DeviceConfigurationProperty) { - cdkBuilder.deviceConfiguration(deviceConfiguration.let(DeviceConfigurationProperty::unwrap)) + cdkBuilder.deviceConfiguration(deviceConfiguration.let(DeviceConfigurationProperty.Companion::unwrap)) } /** @@ -1691,7 +1691,7 @@ public open class CfnUserPool( * @param emailConfiguration The email configuration of your user pool. */ override fun emailConfiguration(emailConfiguration: IResolvable) { - cdkBuilder.emailConfiguration(emailConfiguration.let(IResolvable::unwrap)) + cdkBuilder.emailConfiguration(emailConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1704,7 +1704,7 @@ public open class CfnUserPool( * @param emailConfiguration The email configuration of your user pool. */ override fun emailConfiguration(emailConfiguration: EmailConfigurationProperty) { - cdkBuilder.emailConfiguration(emailConfiguration.let(EmailConfigurationProperty::unwrap)) + cdkBuilder.emailConfiguration(emailConfiguration.let(EmailConfigurationProperty.Companion::unwrap)) } /** @@ -1809,7 +1809,7 @@ public open class CfnUserPool( * @param lambdaConfig The Lambda trigger configuration information for the new user pool. */ override fun lambdaConfig(lambdaConfig: IResolvable) { - cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1831,7 +1831,7 @@ public open class CfnUserPool( * @param lambdaConfig The Lambda trigger configuration information for the new user pool. */ override fun lambdaConfig(lambdaConfig: LambdaConfigProperty) { - cdkBuilder.lambdaConfig(lambdaConfig.let(LambdaConfigProperty::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(LambdaConfigProperty.Companion::unwrap)) } /** @@ -1879,7 +1879,7 @@ public open class CfnUserPool( * @param policies The policy associated with a user pool. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -1889,7 +1889,7 @@ public open class CfnUserPool( * @param policies The policy associated with a user pool. */ override fun policies(policies: PoliciesProperty) { - cdkBuilder.policies(policies.let(PoliciesProperty::unwrap)) + cdkBuilder.policies(policies.let(PoliciesProperty.Companion::unwrap)) } /** @@ -1917,7 +1917,7 @@ public open class CfnUserPool( * or custom attributes. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -1975,7 +1975,7 @@ public open class CfnUserPool( * Service. */ override fun smsConfiguration(smsConfiguration: IResolvable) { - cdkBuilder.smsConfiguration(smsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smsConfiguration(smsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1991,7 +1991,7 @@ public open class CfnUserPool( * Service. */ override fun smsConfiguration(smsConfiguration: SmsConfigurationProperty) { - cdkBuilder.smsConfiguration(smsConfiguration.let(SmsConfigurationProperty::unwrap)) + cdkBuilder.smsConfiguration(smsConfiguration.let(SmsConfigurationProperty.Companion::unwrap)) } /** @@ -2039,7 +2039,7 @@ public open class CfnUserPool( * @param userAttributeUpdateSettings The settings for updates to user attributes. */ override fun userAttributeUpdateSettings(userAttributeUpdateSettings: IResolvable) { - cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(IResolvable::unwrap)) + cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2057,7 +2057,7 @@ public open class CfnUserPool( */ override fun userAttributeUpdateSettings(userAttributeUpdateSettings: UserAttributeUpdateSettingsProperty) { - cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(UserAttributeUpdateSettingsProperty::unwrap)) + cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(UserAttributeUpdateSettingsProperty.Companion::unwrap)) } /** @@ -2095,7 +2095,7 @@ public open class CfnUserPool( * @param userPoolAddOns User pool add-ons. */ override fun userPoolAddOns(userPoolAddOns: IResolvable) { - cdkBuilder.userPoolAddOns(userPoolAddOns.let(IResolvable::unwrap)) + cdkBuilder.userPoolAddOns(userPoolAddOns.let(IResolvable.Companion::unwrap)) } /** @@ -2113,7 +2113,7 @@ public open class CfnUserPool( * @param userPoolAddOns User pool add-ons. */ override fun userPoolAddOns(userPoolAddOns: UserPoolAddOnsProperty) { - cdkBuilder.userPoolAddOns(userPoolAddOns.let(UserPoolAddOnsProperty::unwrap)) + cdkBuilder.userPoolAddOns(userPoolAddOns.let(UserPoolAddOnsProperty.Companion::unwrap)) } /** @@ -2200,7 +2200,7 @@ public open class CfnUserPool( * the selected sign-in option. */ override fun usernameConfiguration(usernameConfiguration: IResolvable) { - cdkBuilder.usernameConfiguration(usernameConfiguration.let(IResolvable::unwrap)) + cdkBuilder.usernameConfiguration(usernameConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2214,7 +2214,7 @@ public open class CfnUserPool( * the selected sign-in option. */ override fun usernameConfiguration(usernameConfiguration: UsernameConfigurationProperty) { - cdkBuilder.usernameConfiguration(usernameConfiguration.let(UsernameConfigurationProperty::unwrap)) + cdkBuilder.usernameConfiguration(usernameConfiguration.let(UsernameConfigurationProperty.Companion::unwrap)) } /** @@ -2242,7 +2242,7 @@ public open class CfnUserPool( * sees when the app requests permission to access the user's information. */ override fun verificationMessageTemplate(verificationMessageTemplate: IResolvable) { - cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(IResolvable::unwrap)) + cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -2255,7 +2255,7 @@ public open class CfnUserPool( */ override fun verificationMessageTemplate(verificationMessageTemplate: VerificationMessageTemplateProperty) { - cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(VerificationMessageTemplateProperty::unwrap)) + cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(VerificationMessageTemplateProperty.Companion::unwrap)) } /** @@ -2361,7 +2361,7 @@ public open class CfnUserPool( * @param recoveryMechanisms The list of `RecoveryOptionTypes` . */ override fun recoveryMechanisms(recoveryMechanisms: IResolvable) { - cdkBuilder.recoveryMechanisms(recoveryMechanisms.let(IResolvable::unwrap)) + cdkBuilder.recoveryMechanisms(recoveryMechanisms.let(IResolvable.Companion::unwrap)) } /** @@ -2557,7 +2557,7 @@ public open class CfnUserPool( * Set to `False` if users can sign themselves up via an app. */ override fun allowAdminCreateUserOnly(allowAdminCreateUserOnly: IResolvable) { - cdkBuilder.allowAdminCreateUserOnly(allowAdminCreateUserOnly.let(IResolvable::unwrap)) + cdkBuilder.allowAdminCreateUserOnly(allowAdminCreateUserOnly.let(IResolvable.Companion::unwrap)) } /** @@ -2568,7 +2568,7 @@ public open class CfnUserPool( * . */ override fun inviteMessageTemplate(inviteMessageTemplate: IResolvable) { - cdkBuilder.inviteMessageTemplate(inviteMessageTemplate.let(IResolvable::unwrap)) + cdkBuilder.inviteMessageTemplate(inviteMessageTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -2579,7 +2579,7 @@ public open class CfnUserPool( * . */ override fun inviteMessageTemplate(inviteMessageTemplate: InviteMessageTemplateProperty) { - cdkBuilder.inviteMessageTemplate(inviteMessageTemplate.let(InviteMessageTemplateProperty::unwrap)) + cdkBuilder.inviteMessageTemplate(inviteMessageTemplate.let(InviteMessageTemplateProperty.Companion::unwrap)) } /** @@ -3077,7 +3077,7 @@ public open class CfnUserPool( * requires MFA. */ override fun challengeRequiredOnNewDevice(challengeRequiredOnNewDevice: IResolvable) { - cdkBuilder.challengeRequiredOnNewDevice(challengeRequiredOnNewDevice.let(IResolvable::unwrap)) + cdkBuilder.challengeRequiredOnNewDevice(challengeRequiredOnNewDevice.let(IResolvable.Companion::unwrap)) } /** @@ -3107,7 +3107,7 @@ public open class CfnUserPool( * devices that you register in a `ConfirmDevice` API request. */ override fun deviceOnlyRememberedOnUserPrompt(deviceOnlyRememberedOnUserPrompt: IResolvable) { - cdkBuilder.deviceOnlyRememberedOnUserPrompt(deviceOnlyRememberedOnUserPrompt.let(IResolvable::unwrap)) + cdkBuilder.deviceOnlyRememberedOnUserPrompt(deviceOnlyRememberedOnUserPrompt.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4097,14 +4097,14 @@ public open class CfnUserPool( * @param customEmailSender A custom email sender AWS Lambda trigger. */ override fun customEmailSender(customEmailSender: IResolvable) { - cdkBuilder.customEmailSender(customEmailSender.let(IResolvable::unwrap)) + cdkBuilder.customEmailSender(customEmailSender.let(IResolvable.Companion::unwrap)) } /** * @param customEmailSender A custom email sender AWS Lambda trigger. */ override fun customEmailSender(customEmailSender: CustomEmailSenderProperty) { - cdkBuilder.customEmailSender(customEmailSender.let(CustomEmailSenderProperty::unwrap)) + cdkBuilder.customEmailSender(customEmailSender.let(CustomEmailSenderProperty.Companion::unwrap)) } /** @@ -4127,14 +4127,14 @@ public open class CfnUserPool( * @param customSmsSender A custom SMS sender AWS Lambda trigger. */ override fun customSmsSender(customSmsSender: IResolvable) { - cdkBuilder.customSmsSender(customSmsSender.let(IResolvable::unwrap)) + cdkBuilder.customSmsSender(customSmsSender.let(IResolvable.Companion::unwrap)) } /** * @param customSmsSender A custom SMS sender AWS Lambda trigger. */ override fun customSmsSender(customSmsSender: CustomSMSSenderProperty) { - cdkBuilder.customSmsSender(customSmsSender.let(CustomSMSSenderProperty::unwrap)) + cdkBuilder.customSmsSender(customSmsSender.let(CustomSMSSenderProperty.Companion::unwrap)) } /** @@ -4210,7 +4210,7 @@ public open class CfnUserPool( * `PreTokenGenerationConfig` . */ override fun preTokenGenerationConfig(preTokenGenerationConfig: IResolvable) { - cdkBuilder.preTokenGenerationConfig(preTokenGenerationConfig.let(IResolvable::unwrap)) + cdkBuilder.preTokenGenerationConfig(preTokenGenerationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4221,7 +4221,7 @@ public open class CfnUserPool( */ override fun preTokenGenerationConfig(preTokenGenerationConfig: PreTokenGenerationConfigProperty) { - cdkBuilder.preTokenGenerationConfig(preTokenGenerationConfig.let(PreTokenGenerationConfigProperty::unwrap)) + cdkBuilder.preTokenGenerationConfig(preTokenGenerationConfig.let(PreTokenGenerationConfigProperty.Companion::unwrap)) } /** @@ -4690,7 +4690,7 @@ public open class CfnUserPool( * have required users to use at least one lowercase letter in their password. */ override fun requireLowercase(requireLowercase: IResolvable) { - cdkBuilder.requireLowercase(requireLowercase.let(IResolvable::unwrap)) + cdkBuilder.requireLowercase(requireLowercase.let(IResolvable.Companion::unwrap)) } /** @@ -4706,7 +4706,7 @@ public open class CfnUserPool( * required users to use at least one number in their password. */ override fun requireNumbers(requireNumbers: IResolvable) { - cdkBuilder.requireNumbers(requireNumbers.let(IResolvable::unwrap)) + cdkBuilder.requireNumbers(requireNumbers.let(IResolvable.Companion::unwrap)) } /** @@ -4722,7 +4722,7 @@ public open class CfnUserPool( * required users to use at least one symbol in their password. */ override fun requireSymbols(requireSymbols: IResolvable) { - cdkBuilder.requireSymbols(requireSymbols.let(IResolvable::unwrap)) + cdkBuilder.requireSymbols(requireSymbols.let(IResolvable.Companion::unwrap)) } /** @@ -4738,7 +4738,7 @@ public open class CfnUserPool( * have required users to use at least one uppercase letter in their password. */ override fun requireUppercase(requireUppercase: IResolvable) { - cdkBuilder.requireUppercase(requireUppercase.let(IResolvable::unwrap)) + cdkBuilder.requireUppercase(requireUppercase.let(IResolvable.Companion::unwrap)) } /** @@ -4903,14 +4903,14 @@ public open class CfnUserPool( * @param passwordPolicy The password policy. */ override fun passwordPolicy(passwordPolicy: IResolvable) { - cdkBuilder.passwordPolicy(passwordPolicy.let(IResolvable::unwrap)) + cdkBuilder.passwordPolicy(passwordPolicy.let(IResolvable.Companion::unwrap)) } /** * @param passwordPolicy The password policy. */ override fun passwordPolicy(passwordPolicy: PasswordPolicyProperty) { - cdkBuilder.passwordPolicy(passwordPolicy.let(PasswordPolicyProperty::unwrap)) + cdkBuilder.passwordPolicy(passwordPolicy.let(PasswordPolicyProperty.Companion::unwrap)) } /** @@ -5476,7 +5476,7 @@ public open class CfnUserPool( * by an administrator. Users will not be able to modify this attribute using their access token. */ override fun developerOnlyAttribute(developerOnlyAttribute: IResolvable) { - cdkBuilder.developerOnlyAttribute(developerOnlyAttribute.let(IResolvable::unwrap)) + cdkBuilder.developerOnlyAttribute(developerOnlyAttribute.let(IResolvable.Companion::unwrap)) } /** @@ -5504,7 +5504,7 @@ public open class CfnUserPool( * . */ override fun mutable(mutable: IResolvable) { - cdkBuilder.mutable(mutable.let(IResolvable::unwrap)) + cdkBuilder.mutable(mutable.let(IResolvable.Companion::unwrap)) } /** @@ -5526,7 +5526,7 @@ public open class CfnUserPool( * type. */ override fun numberAttributeConstraints(numberAttributeConstraints: IResolvable) { - cdkBuilder.numberAttributeConstraints(numberAttributeConstraints.let(IResolvable::unwrap)) + cdkBuilder.numberAttributeConstraints(numberAttributeConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -5535,7 +5535,7 @@ public open class CfnUserPool( */ override fun numberAttributeConstraints(numberAttributeConstraints: NumberAttributeConstraintsProperty) { - cdkBuilder.numberAttributeConstraints(numberAttributeConstraints.let(NumberAttributeConstraintsProperty::unwrap)) + cdkBuilder.numberAttributeConstraints(numberAttributeConstraints.let(NumberAttributeConstraintsProperty.Companion::unwrap)) } /** @@ -5564,7 +5564,7 @@ public open class CfnUserPool( * will fail. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } /** @@ -5572,7 +5572,7 @@ public open class CfnUserPool( * type. */ override fun stringAttributeConstraints(stringAttributeConstraints: IResolvable) { - cdkBuilder.stringAttributeConstraints(stringAttributeConstraints.let(IResolvable::unwrap)) + cdkBuilder.stringAttributeConstraints(stringAttributeConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -5581,7 +5581,7 @@ public open class CfnUserPool( */ override fun stringAttributeConstraints(stringAttributeConstraints: StringAttributeConstraintsProperty) { - cdkBuilder.stringAttributeConstraints(stringAttributeConstraints.let(StringAttributeConstraintsProperty::unwrap)) + cdkBuilder.stringAttributeConstraints(stringAttributeConstraints.let(StringAttributeConstraintsProperty.Companion::unwrap)) } /** @@ -6471,7 +6471,7 @@ public open class CfnUserPool( * in addition to the `username` attribute. */ override fun caseSensitive(caseSensitive: IResolvable) { - cdkBuilder.caseSensitive(caseSensitive.let(IResolvable::unwrap)) + cdkBuilder.caseSensitive(caseSensitive.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClient.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClient.kt index d79d3f9a5c..71e720505b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClient.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClient.kt @@ -90,8 +90,8 @@ public open class CfnUserPoolClient( id: String, props: CfnUserPoolClientProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolClient(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolClientProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolClient(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolClientProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CfnUserPoolClient( * Set to `true` to use OAuth 2.0 features in your user pool app client. */ public open fun allowedOAuthFlowsUserPoolClient(`value`: IResolvable) { - unwrap(this).setAllowedOAuthFlowsUserPoolClient(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowedOAuthFlowsUserPoolClient(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnUserPoolClient( * Pinpoint campaign. */ public open fun analyticsConfiguration(`value`: IResolvable) { - unwrap(this).setAnalyticsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnalyticsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnUserPoolClient( * Pinpoint campaign. */ public open fun analyticsConfiguration(`value`: AnalyticsConfigurationProperty) { - unwrap(this).setAnalyticsConfiguration(`value`.let(AnalyticsConfigurationProperty::unwrap)) + unwrap(this).setAnalyticsConfiguration(`value`.let(AnalyticsConfigurationProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnUserPoolClient( * Activates the propagation of additional user context data. */ public open fun enablePropagateAdditionalUserContextData(`value`: IResolvable) { - unwrap(this).setEnablePropagateAdditionalUserContextData(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnablePropagateAdditionalUserContextData(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnUserPoolClient( * . */ public open fun enableTokenRevocation(`value`: IResolvable) { - unwrap(this).setEnableTokenRevocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableTokenRevocation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class CfnUserPoolClient( * created. */ public open fun generateSecret(`value`: IResolvable) { - unwrap(this).setGenerateSecret(`value`.let(IResolvable::unwrap)) + unwrap(this).setGenerateSecret(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnUserPoolClient( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -479,14 +479,14 @@ public open class CfnUserPoolClient( * The units in which the validity times are represented. */ public open fun tokenValidityUnits(`value`: IResolvable) { - unwrap(this).setTokenValidityUnits(`value`.let(IResolvable::unwrap)) + unwrap(this).setTokenValidityUnits(`value`.let(IResolvable.Companion::unwrap)) } /** * The units in which the validity times are represented. */ public open fun tokenValidityUnits(`value`: TokenValidityUnitsProperty) { - unwrap(this).setTokenValidityUnits(`value`.let(TokenValidityUnitsProperty::unwrap)) + unwrap(this).setTokenValidityUnits(`value`.let(TokenValidityUnitsProperty.Companion::unwrap)) } /** @@ -1308,7 +1308,7 @@ public open class CfnUserPoolClient( * pool app client. */ override fun allowedOAuthFlowsUserPoolClient(allowedOAuthFlowsUserPoolClient: IResolvable) { - cdkBuilder.allowedOAuthFlowsUserPoolClient(allowedOAuthFlowsUserPoolClient.let(IResolvable::unwrap)) + cdkBuilder.allowedOAuthFlowsUserPoolClient(allowedOAuthFlowsUserPoolClient.let(IResolvable.Companion::unwrap)) } /** @@ -1354,7 +1354,7 @@ public open class CfnUserPoolClient( * and sending them to your Amazon Pinpoint campaign. */ override fun analyticsConfiguration(analyticsConfiguration: IResolvable) { - cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1373,7 +1373,7 @@ public open class CfnUserPoolClient( * and sending them to your Amazon Pinpoint campaign. */ override fun analyticsConfiguration(analyticsConfiguration: AnalyticsConfigurationProperty) { - cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(AnalyticsConfigurationProperty::unwrap)) + cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(AnalyticsConfigurationProperty.Companion::unwrap)) } /** @@ -1527,7 +1527,7 @@ public open class CfnUserPoolClient( */ override fun enablePropagateAdditionalUserContextData(enablePropagateAdditionalUserContextData: IResolvable) { - cdkBuilder.enablePropagateAdditionalUserContextData(enablePropagateAdditionalUserContextData.let(IResolvable::unwrap)) + cdkBuilder.enablePropagateAdditionalUserContextData(enablePropagateAdditionalUserContextData.let(IResolvable.Companion::unwrap)) } /** @@ -1563,7 +1563,7 @@ public open class CfnUserPoolClient( * . */ override fun enableTokenRevocation(enableTokenRevocation: IResolvable) { - cdkBuilder.enableTokenRevocation(enableTokenRevocation.let(IResolvable::unwrap)) + cdkBuilder.enableTokenRevocation(enableTokenRevocation.let(IResolvable.Companion::unwrap)) } /** @@ -1662,7 +1662,7 @@ public open class CfnUserPoolClient( * pool client being created. */ override fun generateSecret(generateSecret: IResolvable) { - cdkBuilder.generateSecret(generateSecret.let(IResolvable::unwrap)) + cdkBuilder.generateSecret(generateSecret.let(IResolvable.Companion::unwrap)) } /** @@ -1826,7 +1826,7 @@ public open class CfnUserPoolClient( * @param tokenValidityUnits The units in which the validity times are represented. */ override fun tokenValidityUnits(tokenValidityUnits: IResolvable) { - cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(IResolvable::unwrap)) + cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(IResolvable.Companion::unwrap)) } /** @@ -1838,7 +1838,7 @@ public open class CfnUserPoolClient( * @param tokenValidityUnits The units in which the validity times are represented. */ override fun tokenValidityUnits(tokenValidityUnits: TokenValidityUnitsProperty) { - cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(TokenValidityUnitsProperty::unwrap)) + cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(TokenValidityUnitsProperty.Companion::unwrap)) } /** @@ -2113,7 +2113,7 @@ public open class CfnUserPoolClient( * the events that it publishes to Amazon Pinpoint analytics. */ override fun userDataShared(userDataShared: IResolvable) { - cdkBuilder.userDataShared(userDataShared.let(IResolvable::unwrap)) + cdkBuilder.userDataShared(userDataShared.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClientProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClientProps.kt index aabd44a011..ca8e4426af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClientProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolClientProps.kt @@ -1002,7 +1002,7 @@ public interface CfnUserPoolClientProps { * . */ override fun allowedOAuthFlowsUserPoolClient(allowedOAuthFlowsUserPoolClient: IResolvable) { - cdkBuilder.allowedOAuthFlowsUserPoolClient(allowedOAuthFlowsUserPoolClient.let(IResolvable::unwrap)) + cdkBuilder.allowedOAuthFlowsUserPoolClient(allowedOAuthFlowsUserPoolClient.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public interface CfnUserPoolClientProps { * Region. */ override fun analyticsConfiguration(analyticsConfiguration: IResolvable) { - cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public interface CfnUserPoolClientProps { */ override fun analyticsConfiguration(analyticsConfiguration: CfnUserPoolClient.AnalyticsConfigurationProperty) { - cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(CfnUserPoolClient.AnalyticsConfigurationProperty::unwrap)) + cdkBuilder.analyticsConfiguration(analyticsConfiguration.let(CfnUserPoolClient.AnalyticsConfigurationProperty.Companion::unwrap)) } /** @@ -1170,7 +1170,7 @@ public interface CfnUserPoolClientProps { */ override fun enablePropagateAdditionalUserContextData(enablePropagateAdditionalUserContextData: IResolvable) { - cdkBuilder.enablePropagateAdditionalUserContextData(enablePropagateAdditionalUserContextData.let(IResolvable::unwrap)) + cdkBuilder.enablePropagateAdditionalUserContextData(enablePropagateAdditionalUserContextData.let(IResolvable.Companion::unwrap)) } /** @@ -1194,7 +1194,7 @@ public interface CfnUserPoolClientProps { * user pool client. */ override fun enableTokenRevocation(enableTokenRevocation: IResolvable) { - cdkBuilder.enableTokenRevocation(enableTokenRevocation.let(IResolvable::unwrap)) + cdkBuilder.enableTokenRevocation(enableTokenRevocation.let(IResolvable.Companion::unwrap)) } /** @@ -1277,7 +1277,7 @@ public interface CfnUserPoolClientProps { * pool client being created. */ override fun generateSecret(generateSecret: IResolvable) { - cdkBuilder.generateSecret(generateSecret.let(IResolvable::unwrap)) + cdkBuilder.generateSecret(generateSecret.let(IResolvable.Companion::unwrap)) } /** @@ -1401,7 +1401,7 @@ public interface CfnUserPoolClientProps { * The default unit for RefreshToken is days, and default for ID and access tokens are hours. */ override fun tokenValidityUnits(tokenValidityUnits: IResolvable) { - cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(IResolvable::unwrap)) + cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(IResolvable.Companion::unwrap)) } /** @@ -1410,7 +1410,7 @@ public interface CfnUserPoolClientProps { */ override fun tokenValidityUnits(tokenValidityUnits: CfnUserPoolClient.TokenValidityUnitsProperty) { - cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(CfnUserPoolClient.TokenValidityUnitsProperty::unwrap)) + cdkBuilder.tokenValidityUnits(tokenValidityUnits.let(CfnUserPoolClient.TokenValidityUnitsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomain.kt index af55ab10d8..2f89a37a3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomain.kt @@ -46,8 +46,8 @@ public open class CfnUserPoolDomain( id: String, props: CfnUserPoolDomainProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolDomainProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolDomainProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnUserPoolDomain( * application. */ public open fun customDomainConfig(`value`: IResolvable) { - unwrap(this).setCustomDomainConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomDomainConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -88,7 +88,7 @@ public open class CfnUserPoolDomain( * application. */ public open fun customDomainConfig(`value`: CustomDomainConfigTypeProperty) { - unwrap(this).setCustomDomainConfig(`value`.let(CustomDomainConfigTypeProperty::unwrap)) + unwrap(this).setCustomDomainConfig(`value`.let(CustomDomainConfigTypeProperty.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnUserPoolDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnUserPoolDomain( * sign-in pages for your application. */ override fun customDomainConfig(customDomainConfig: IResolvable) { - cdkBuilder.customDomainConfig(customDomainConfig.let(IResolvable::unwrap)) + cdkBuilder.customDomainConfig(customDomainConfig.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnUserPoolDomain( * sign-in pages for your application. */ override fun customDomainConfig(customDomainConfig: CustomDomainConfigTypeProperty) { - cdkBuilder.customDomainConfig(customDomainConfig.let(CustomDomainConfigTypeProperty::unwrap)) + cdkBuilder.customDomainConfig(customDomainConfig.let(CustomDomainConfigTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomainProps.kt index f0681111d6..2c044a4fbb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolDomainProps.kt @@ -121,7 +121,7 @@ public interface CfnUserPoolDomainProps { * Use this object to specify an SSL certificate that is managed by ACM. */ override fun customDomainConfig(customDomainConfig: IResolvable) { - cdkBuilder.customDomainConfig(customDomainConfig.let(IResolvable::unwrap)) + cdkBuilder.customDomainConfig(customDomainConfig.let(IResolvable.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface CfnUserPoolDomainProps { */ override fun customDomainConfig(customDomainConfig: CfnUserPoolDomain.CustomDomainConfigTypeProperty) { - cdkBuilder.customDomainConfig(customDomainConfig.let(CfnUserPoolDomain.CustomDomainConfigTypeProperty::unwrap)) + cdkBuilder.customDomainConfig(customDomainConfig.let(CfnUserPoolDomain.CustomDomainConfigTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolGroup.kt index 7de5d0b387..89db04eb0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolGroup.kt @@ -41,8 +41,8 @@ public open class CfnUserPoolGroup( id: String, props: CfnUserPoolGroupProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolGroupProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolGroupProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnUserPoolGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolIdentityProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolIdentityProvider.kt index 209de42284..9c06cb972c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolIdentityProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolIdentityProvider.kt @@ -47,8 +47,8 @@ public open class CfnUserPoolIdentityProvider( id: String, props: CfnUserPoolIdentityProviderProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolIdentityProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolIdentityProviderProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolIdentityProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolIdentityProviderProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnUserPoolIdentityProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolProps.kt index a02789b081..72d75104bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolProps.kt @@ -930,7 +930,7 @@ public interface CfnUserPoolProps { * determine the recovery method where SMS is preferred over email. */ override fun accountRecoverySetting(accountRecoverySetting: IResolvable) { - cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(IResolvable::unwrap)) + cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(IResolvable.Companion::unwrap)) } /** @@ -943,7 +943,7 @@ public interface CfnUserPoolProps { */ override fun accountRecoverySetting(accountRecoverySetting: CfnUserPool.AccountRecoverySettingProperty) { - cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(CfnUserPool.AccountRecoverySettingProperty::unwrap)) + cdkBuilder.accountRecoverySetting(accountRecoverySetting.let(CfnUserPool.AccountRecoverySettingProperty.Companion::unwrap)) } /** @@ -965,7 +965,7 @@ public interface CfnUserPoolProps { * @param adminCreateUserConfig The configuration for creating a new user profile. */ override fun adminCreateUserConfig(adminCreateUserConfig: IResolvable) { - cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(IResolvable::unwrap)) + cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public interface CfnUserPoolProps { */ override fun adminCreateUserConfig(adminCreateUserConfig: CfnUserPool.AdminCreateUserConfigProperty) { - cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(CfnUserPool.AdminCreateUserConfigProperty::unwrap)) + cdkBuilder.adminCreateUserConfig(adminCreateUserConfig.let(CfnUserPool.AdminCreateUserConfigProperty.Companion::unwrap)) } /** @@ -1044,7 +1044,7 @@ public interface CfnUserPoolProps { * device-remembering feature. */ override fun deviceConfiguration(deviceConfiguration: IResolvable) { - cdkBuilder.deviceConfiguration(deviceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deviceConfiguration(deviceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1056,7 +1056,7 @@ public interface CfnUserPoolProps { * device-remembering feature. */ override fun deviceConfiguration(deviceConfiguration: CfnUserPool.DeviceConfigurationProperty) { - cdkBuilder.deviceConfiguration(deviceConfiguration.let(CfnUserPool.DeviceConfigurationProperty::unwrap)) + cdkBuilder.deviceConfiguration(deviceConfiguration.let(CfnUserPool.DeviceConfigurationProperty.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public interface CfnUserPoolProps { * messages from your user pool. */ override fun emailConfiguration(emailConfiguration: IResolvable) { - cdkBuilder.emailConfiguration(emailConfiguration.let(IResolvable::unwrap)) + cdkBuilder.emailConfiguration(emailConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1088,7 +1088,7 @@ public interface CfnUserPoolProps { * messages from your user pool. */ override fun emailConfiguration(emailConfiguration: CfnUserPool.EmailConfigurationProperty) { - cdkBuilder.emailConfiguration(emailConfiguration.let(CfnUserPool.EmailConfigurationProperty::unwrap)) + cdkBuilder.emailConfiguration(emailConfiguration.let(CfnUserPool.EmailConfigurationProperty.Companion::unwrap)) } /** @@ -1168,7 +1168,7 @@ public interface CfnUserPoolProps { * [add-permission](https://docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html) . */ override fun lambdaConfig(lambdaConfig: IResolvable) { - cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public interface CfnUserPoolProps { * [add-permission](https://docs.aws.amazon.com/cli/latest/reference/lambda/add-permission.html) . */ override fun lambdaConfig(lambdaConfig: CfnUserPool.LambdaConfigProperty) { - cdkBuilder.lambdaConfig(lambdaConfig.let(CfnUserPool.LambdaConfigProperty::unwrap)) + cdkBuilder.lambdaConfig(lambdaConfig.let(CfnUserPool.LambdaConfigProperty.Companion::unwrap)) } /** @@ -1221,14 +1221,14 @@ public interface CfnUserPoolProps { * @param policies The policy associated with a user pool. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** * @param policies The policy associated with a user pool. */ override fun policies(policies: CfnUserPool.PoliciesProperty) { - cdkBuilder.policies(policies.let(CfnUserPool.PoliciesProperty::unwrap)) + cdkBuilder.policies(policies.let(CfnUserPool.PoliciesProperty.Companion::unwrap)) } /** @@ -1247,7 +1247,7 @@ public interface CfnUserPoolProps { * an existing schema attribute. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public interface CfnUserPoolProps { * pool uses an AWS Identity and Access Management (IAM) role in your AWS account . */ override fun smsConfiguration(smsConfiguration: IResolvable) { - cdkBuilder.smsConfiguration(smsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smsConfiguration(smsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public interface CfnUserPoolProps { * pool uses an AWS Identity and Access Management (IAM) role in your AWS account . */ override fun smsConfiguration(smsConfiguration: CfnUserPool.SmsConfigurationProperty) { - cdkBuilder.smsConfiguration(smsConfiguration.let(CfnUserPool.SmsConfigurationProperty::unwrap)) + cdkBuilder.smsConfiguration(smsConfiguration.let(CfnUserPool.SmsConfigurationProperty.Companion::unwrap)) } /** @@ -1332,7 +1332,7 @@ public interface CfnUserPoolProps { * . */ override fun userAttributeUpdateSettings(userAttributeUpdateSettings: IResolvable) { - cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(IResolvable::unwrap)) + cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1346,7 +1346,7 @@ public interface CfnUserPoolProps { */ override fun userAttributeUpdateSettings(userAttributeUpdateSettings: CfnUserPool.UserAttributeUpdateSettingsProperty) { - cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(CfnUserPool.UserAttributeUpdateSettingsProperty::unwrap)) + cdkBuilder.userAttributeUpdateSettings(userAttributeUpdateSettings.let(CfnUserPool.UserAttributeUpdateSettingsProperty.Companion::unwrap)) } /** @@ -1376,7 +1376,7 @@ public interface CfnUserPoolProps { * . */ override fun userPoolAddOns(userPoolAddOns: IResolvable) { - cdkBuilder.userPoolAddOns(userPoolAddOns.let(IResolvable::unwrap)) + cdkBuilder.userPoolAddOns(userPoolAddOns.let(IResolvable.Companion::unwrap)) } /** @@ -1390,7 +1390,7 @@ public interface CfnUserPoolProps { * . */ override fun userPoolAddOns(userPoolAddOns: CfnUserPool.UserPoolAddOnsProperty) { - cdkBuilder.userPoolAddOns(userPoolAddOns.let(CfnUserPool.UserPoolAddOnsProperty::unwrap)) + cdkBuilder.userPoolAddOns(userPoolAddOns.let(CfnUserPool.UserPoolAddOnsProperty.Companion::unwrap)) } /** @@ -1453,7 +1453,7 @@ public interface CfnUserPoolProps { * "username" or "Username". This configuration is immutable once it has been set. */ override fun usernameConfiguration(usernameConfiguration: IResolvable) { - cdkBuilder.usernameConfiguration(usernameConfiguration.let(IResolvable::unwrap)) + cdkBuilder.usernameConfiguration(usernameConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1464,7 +1464,7 @@ public interface CfnUserPoolProps { */ override fun usernameConfiguration(usernameConfiguration: CfnUserPool.UsernameConfigurationProperty) { - cdkBuilder.usernameConfiguration(usernameConfiguration.let(CfnUserPool.UsernameConfigurationProperty::unwrap)) + cdkBuilder.usernameConfiguration(usernameConfiguration.let(CfnUserPool.UsernameConfigurationProperty.Companion::unwrap)) } /** @@ -1485,7 +1485,7 @@ public interface CfnUserPoolProps { * sees when the app requests permission to access the user's information. */ override fun verificationMessageTemplate(verificationMessageTemplate: IResolvable) { - cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(IResolvable::unwrap)) + cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -1494,7 +1494,7 @@ public interface CfnUserPoolProps { */ override fun verificationMessageTemplate(verificationMessageTemplate: CfnUserPool.VerificationMessageTemplateProperty) { - cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(CfnUserPool.VerificationMessageTemplateProperty::unwrap)) + cdkBuilder.verificationMessageTemplate(verificationMessageTemplate.let(CfnUserPool.VerificationMessageTemplateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServer.kt index f5ee5e223e..1102ea892a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServer.kt @@ -53,8 +53,8 @@ public open class CfnUserPoolResourceServer( id: String, props: CfnUserPoolResourceServerProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolResourceServer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolResourceServerProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolResourceServer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolResourceServerProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnUserPoolResourceServer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnUserPoolResourceServer( * A list of scopes. */ public open fun scopes(`value`: IResolvable) { - unwrap(this).setScopes(`value`.let(IResolvable::unwrap)) + unwrap(this).setScopes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnUserPoolResourceServer( * @param scopes A list of scopes. */ override fun scopes(scopes: IResolvable) { - cdkBuilder.scopes(scopes.let(IResolvable::unwrap)) + cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServerProps.kt index fbc799fa0b..6d746012c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolResourceServerProps.kt @@ -136,7 +136,7 @@ public interface CfnUserPoolResourceServerProps { * Each scope is a map with keys `ScopeName` and `ScopeDescription` . */ override fun scopes(scopes: IResolvable) { - cdkBuilder.scopes(scopes.let(IResolvable::unwrap)) + cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachment.kt index 67030b7bd3..8128147df9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachment.kt @@ -104,8 +104,8 @@ public open class CfnUserPoolRiskConfigurationAttachment( id: String, props: CfnUserPoolRiskConfigurationAttachmentProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolRiskConfigurationAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolRiskConfigurationAttachmentProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * `Actions` to take if there is an account takeover. */ public open fun accountTakeoverRiskConfiguration(`value`: IResolvable) { - unwrap(this).setAccountTakeoverRiskConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccountTakeoverRiskConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( */ public open fun accountTakeoverRiskConfiguration(`value`: AccountTakeoverRiskConfigurationTypeProperty) { - unwrap(this).setAccountTakeoverRiskConfiguration(`value`.let(AccountTakeoverRiskConfigurationTypeProperty::unwrap)) + unwrap(this).setAccountTakeoverRiskConfiguration(`value`.let(AccountTakeoverRiskConfigurationTypeProperty.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * `EventAction` . */ public open fun compromisedCredentialsRiskConfiguration(`value`: IResolvable) { - unwrap(this).setCompromisedCredentialsRiskConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCompromisedCredentialsRiskConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( */ public open fun compromisedCredentialsRiskConfiguration(`value`: CompromisedCredentialsRiskConfigurationTypeProperty) { - unwrap(this).setCompromisedCredentialsRiskConfiguration(`value`.let(CompromisedCredentialsRiskConfigurationTypeProperty::unwrap)) + unwrap(this).setCompromisedCredentialsRiskConfiguration(`value`.let(CompromisedCredentialsRiskConfigurationTypeProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -214,14 +214,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * The configuration to override the risk decision. */ public open fun riskExceptionConfiguration(`value`: IResolvable) { - unwrap(this).setRiskExceptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRiskExceptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration to override the risk decision. */ public open fun riskExceptionConfiguration(`value`: RiskExceptionConfigurationTypeProperty) { - unwrap(this).setRiskExceptionConfiguration(`value`.let(RiskExceptionConfigurationTypeProperty::unwrap)) + unwrap(this).setRiskExceptionConfiguration(`value`.let(RiskExceptionConfigurationTypeProperty.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * takeover. */ override fun accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration: IResolvable) { - cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( */ override fun accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration: AccountTakeoverRiskConfigurationTypeProperty) { - cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(AccountTakeoverRiskConfigurationTypeProperty::unwrap)) + cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(AccountTakeoverRiskConfigurationTypeProperty.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( */ override fun compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration: IResolvable) { - cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(IResolvable::unwrap)) + cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( */ override fun compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration: CompromisedCredentialsRiskConfigurationTypeProperty) { - cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(CompromisedCredentialsRiskConfigurationTypeProperty::unwrap)) + cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(CompromisedCredentialsRiskConfigurationTypeProperty.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param riskExceptionConfiguration The configuration to override the risk decision. */ override fun riskExceptionConfiguration(riskExceptionConfiguration: IResolvable) { - cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( */ override fun riskExceptionConfiguration(riskExceptionConfiguration: RiskExceptionConfigurationTypeProperty) { - cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(RiskExceptionConfigurationTypeProperty::unwrap)) + cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(RiskExceptionConfigurationTypeProperty.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param notify Flag specifying whether to send a notification. */ override fun notify(notify: IResolvable) { - cdkBuilder.notify(notify.let(IResolvable::unwrap)) + cdkBuilder.notify(notify.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -817,14 +817,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param highAction Action to take for a high risk. */ override fun highAction(highAction: IResolvable) { - cdkBuilder.highAction(highAction.let(IResolvable::unwrap)) + cdkBuilder.highAction(highAction.let(IResolvable.Companion::unwrap)) } /** * @param highAction Action to take for a high risk. */ override fun highAction(highAction: AccountTakeoverActionTypeProperty) { - cdkBuilder.highAction(highAction.let(AccountTakeoverActionTypeProperty::unwrap)) + cdkBuilder.highAction(highAction.let(AccountTakeoverActionTypeProperty.Companion::unwrap)) } /** @@ -839,14 +839,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param lowAction Action to take for a low risk. */ override fun lowAction(lowAction: IResolvable) { - cdkBuilder.lowAction(lowAction.let(IResolvable::unwrap)) + cdkBuilder.lowAction(lowAction.let(IResolvable.Companion::unwrap)) } /** * @param lowAction Action to take for a low risk. */ override fun lowAction(lowAction: AccountTakeoverActionTypeProperty) { - cdkBuilder.lowAction(lowAction.let(AccountTakeoverActionTypeProperty::unwrap)) + cdkBuilder.lowAction(lowAction.let(AccountTakeoverActionTypeProperty.Companion::unwrap)) } /** @@ -861,14 +861,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param mediumAction Action to take for a medium risk. */ override fun mediumAction(mediumAction: IResolvable) { - cdkBuilder.mediumAction(mediumAction.let(IResolvable::unwrap)) + cdkBuilder.mediumAction(mediumAction.let(IResolvable.Companion::unwrap)) } /** * @param mediumAction Action to take for a medium risk. */ override fun mediumAction(mediumAction: AccountTakeoverActionTypeProperty) { - cdkBuilder.mediumAction(mediumAction.let(AccountTakeoverActionTypeProperty::unwrap)) + cdkBuilder.mediumAction(mediumAction.let(AccountTakeoverActionTypeProperty.Companion::unwrap)) } /** @@ -1050,14 +1050,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param actions Account takeover risk configuration actions. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions Account takeover risk configuration actions. */ override fun actions(actions: AccountTakeoverActionsTypeProperty) { - cdkBuilder.actions(actions.let(AccountTakeoverActionsTypeProperty::unwrap)) + cdkBuilder.actions(actions.let(AccountTakeoverActionsTypeProperty.Companion::unwrap)) } /** @@ -1072,14 +1072,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param notifyConfiguration The notify configuration used to construct email notifications. */ override fun notifyConfiguration(notifyConfiguration: IResolvable) { - cdkBuilder.notifyConfiguration(notifyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notifyConfiguration(notifyConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param notifyConfiguration The notify configuration used to construct email notifications. */ override fun notifyConfiguration(notifyConfiguration: NotifyConfigurationTypeProperty) { - cdkBuilder.notifyConfiguration(notifyConfiguration.let(NotifyConfigurationTypeProperty::unwrap)) + cdkBuilder.notifyConfiguration(notifyConfiguration.let(NotifyConfigurationTypeProperty.Companion::unwrap)) } /** @@ -1301,14 +1301,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param actions The compromised credentials risk configuration actions. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions The compromised credentials risk configuration actions. */ override fun actions(actions: CompromisedCredentialsActionsTypeProperty) { - cdkBuilder.actions(actions.let(CompromisedCredentialsActionsTypeProperty::unwrap)) + cdkBuilder.actions(actions.let(CompromisedCredentialsActionsTypeProperty.Companion::unwrap)) } /** @@ -1556,14 +1556,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param blockEmail Email template used when a detected risk event is blocked. */ override fun blockEmail(blockEmail: IResolvable) { - cdkBuilder.blockEmail(blockEmail.let(IResolvable::unwrap)) + cdkBuilder.blockEmail(blockEmail.let(IResolvable.Companion::unwrap)) } /** * @param blockEmail Email template used when a detected risk event is blocked. */ override fun blockEmail(blockEmail: NotifyEmailTypeProperty) { - cdkBuilder.blockEmail(blockEmail.let(NotifyEmailTypeProperty::unwrap)) + cdkBuilder.blockEmail(blockEmail.let(NotifyEmailTypeProperty.Companion::unwrap)) } /** @@ -1588,7 +1588,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * challenged as part of a detected risk. */ override fun mfaEmail(mfaEmail: IResolvable) { - cdkBuilder.mfaEmail(mfaEmail.let(IResolvable::unwrap)) + cdkBuilder.mfaEmail(mfaEmail.let(IResolvable.Companion::unwrap)) } /** @@ -1596,7 +1596,7 @@ public open class CfnUserPoolRiskConfigurationAttachment( * challenged as part of a detected risk. */ override fun mfaEmail(mfaEmail: NotifyEmailTypeProperty) { - cdkBuilder.mfaEmail(mfaEmail.let(NotifyEmailTypeProperty::unwrap)) + cdkBuilder.mfaEmail(mfaEmail.let(NotifyEmailTypeProperty.Companion::unwrap)) } /** @@ -1612,14 +1612,14 @@ public open class CfnUserPoolRiskConfigurationAttachment( * @param noActionEmail The email template used when a detected risk event is allowed. */ override fun noActionEmail(noActionEmail: IResolvable) { - cdkBuilder.noActionEmail(noActionEmail.let(IResolvable::unwrap)) + cdkBuilder.noActionEmail(noActionEmail.let(IResolvable.Companion::unwrap)) } /** * @param noActionEmail The email template used when a detected risk event is allowed. */ override fun noActionEmail(noActionEmail: NotifyEmailTypeProperty) { - cdkBuilder.noActionEmail(noActionEmail.let(NotifyEmailTypeProperty::unwrap)) + cdkBuilder.noActionEmail(noActionEmail.let(NotifyEmailTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachmentProps.kt index 9a5fe26abc..2085164984 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolRiskConfigurationAttachmentProps.kt @@ -222,7 +222,7 @@ public interface CfnUserPoolRiskConfigurationAttachmentProps { * takeover. */ override fun accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration: IResolvable) { - cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface CfnUserPoolRiskConfigurationAttachmentProps { */ override fun accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration: CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty) { - cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty::unwrap)) + cdkBuilder.accountTakeoverRiskConfiguration(accountTakeoverRiskConfiguration.let(CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnUserPoolRiskConfigurationAttachmentProps { */ override fun compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration: IResolvable) { - cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(IResolvable::unwrap)) + cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnUserPoolRiskConfigurationAttachmentProps { */ override fun compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration: CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty) { - cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty::unwrap)) + cdkBuilder.compromisedCredentialsRiskConfiguration(compromisedCredentialsRiskConfiguration.let(CfnUserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationTypeProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnUserPoolRiskConfigurationAttachmentProps { * @param riskExceptionConfiguration The configuration to override the risk decision. */ override fun riskExceptionConfiguration(riskExceptionConfiguration: IResolvable) { - cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CfnUserPoolRiskConfigurationAttachmentProps { */ override fun riskExceptionConfiguration(riskExceptionConfiguration: CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty) { - cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty::unwrap)) + cdkBuilder.riskExceptionConfiguration(riskExceptionConfiguration.let(CfnUserPoolRiskConfigurationAttachment.RiskExceptionConfigurationTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUICustomizationAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUICustomizationAttachment.kt index 6bfb24b519..ddfb46979d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUICustomizationAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUICustomizationAttachment.kt @@ -55,8 +55,8 @@ public open class CfnUserPoolUICustomizationAttachment( id: String, props: CfnUserPoolUICustomizationAttachmentProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolUICustomizationAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolUICustomizationAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolUICustomizationAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolUICustomizationAttachmentProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnUserPoolUICustomizationAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUser.kt index 732cdd5383..ebc6760f2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUser.kt @@ -57,8 +57,8 @@ public open class CfnUserPoolUser( id: String, props: CfnUserPoolUserProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolUserProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolUserProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnUserPoolUser( * this action triggers. */ public open fun clientMetadata(`value`: IResolvable) { - unwrap(this).setClientMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setClientMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnUserPoolUser( * to `True` . */ public open fun forceAliasCreation(`value`: IResolvable) { - unwrap(this).setForceAliasCreation(`value`.let(IResolvable::unwrap)) + unwrap(this).setForceAliasCreation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnUserPoolUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnUserPoolUser( * An array of name-value pairs that contain user attributes and attribute values. */ public open fun userAttributes(`value`: IResolvable) { - unwrap(this).setUserAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnUserPoolUser( * Temporary user attributes that contribute to the outcomes of your pre sign-up Lambda trigger. */ public open fun validationData(`value`: IResolvable) { - unwrap(this).setValidationData(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationData(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public open class CfnUserPoolUser( * custom workflows that this action triggers. */ override fun clientMetadata(clientMetadata: IResolvable) { - cdkBuilder.clientMetadata(clientMetadata.let(IResolvable::unwrap)) + cdkBuilder.clientMetadata(clientMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnUserPoolUser( * `email_verified` attribute is set to `True` . */ override fun forceAliasCreation(forceAliasCreation: IResolvable) { - cdkBuilder.forceAliasCreation(forceAliasCreation.let(IResolvable::unwrap)) + cdkBuilder.forceAliasCreation(forceAliasCreation.let(IResolvable.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public open class CfnUserPoolUser( * values. */ override fun userAttributes(userAttributes: IResolvable) { - cdkBuilder.userAttributes(userAttributes.let(IResolvable::unwrap)) + cdkBuilder.userAttributes(userAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public open class CfnUserPoolUser( * sign-up Lambda trigger. */ override fun validationData(validationData: IResolvable) { - cdkBuilder.validationData(validationData.let(IResolvable::unwrap)) + cdkBuilder.validationData(validationData.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserProps.kt index 855045fb40..53f82eb5b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserProps.kt @@ -398,7 +398,7 @@ public interface CfnUserPoolUserProps { * information. */ override fun clientMetadata(clientMetadata: IResolvable) { - cdkBuilder.clientMetadata(clientMetadata.let(IResolvable::unwrap)) + cdkBuilder.clientMetadata(clientMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public interface CfnUserPoolUserProps { * alias already exists. The default value is `False` . */ override fun forceAliasCreation(forceAliasCreation: IResolvable) { - cdkBuilder.forceAliasCreation(forceAliasCreation.let(IResolvable::unwrap)) + cdkBuilder.forceAliasCreation(forceAliasCreation.let(IResolvable.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public interface CfnUserPoolUserProps { * values. */ override fun userAttributes(userAttributes: IResolvable) { - cdkBuilder.userAttributes(userAttributes.let(IResolvable::unwrap)) + cdkBuilder.userAttributes(userAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public interface CfnUserPoolUserProps { * . */ override fun validationData(validationData: IResolvable) { - cdkBuilder.validationData(validationData.let(IResolvable::unwrap)) + cdkBuilder.validationData(validationData.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserToGroupAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserToGroupAttachment.kt index 3144e8b693..fc279de683 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserToGroupAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnUserPoolUserToGroupAttachment.kt @@ -38,8 +38,8 @@ public open class CfnUserPoolUserToGroupAttachment( id: String, props: CfnUserPoolUserToGroupAttachmentProps, ) : - this(software.amazon.awscdk.services.cognito.CfnUserPoolUserToGroupAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPoolUserToGroupAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.cognito.CfnUserPoolUserToGroupAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPoolUserToGroupAttachmentProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class CfnUserPoolUserToGroupAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ClientAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ClientAttributes.kt index fb9ad077bd..deff8e678a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ClientAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ClientAttributes.kt @@ -54,7 +54,7 @@ public open class ClientAttributes( * @param attributes a list of standard attributes to add to the set. */ public open fun withStandardAttributes(attributes: StandardAttributesMask): ClientAttributes = - unwrap(this).withStandardAttributes(attributes.let(StandardAttributesMask::unwrap)).let(ClientAttributes::wrap) + unwrap(this).withStandardAttributes(attributes.let(StandardAttributesMask.Companion::unwrap)).let(ClientAttributes::wrap) /** * Creates a custom ClientAttributes with the specified attributes. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomAttributeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomAttributeConfig.kt index d6a2a7bdb5..18e2446ed1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomAttributeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomAttributeConfig.kt @@ -146,7 +146,7 @@ public interface CustomAttributeConfig { * @param numberConstraints The constraints for a custom attribute of the 'Number' data type. */ override fun numberConstraints(numberConstraints: NumberAttributeConstraints) { - cdkBuilder.numberConstraints(numberConstraints.let(NumberAttributeConstraints::unwrap)) + cdkBuilder.numberConstraints(numberConstraints.let(NumberAttributeConstraints.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface CustomAttributeConfig { * @param stringConstraints The constraints for a custom attribute of 'String' data type. */ override fun stringConstraints(stringConstraints: StringAttributeConstraints) { - cdkBuilder.stringConstraints(stringConstraints.let(StringAttributeConstraints::unwrap)) + cdkBuilder.stringConstraints(stringConstraints.let(StringAttributeConstraints.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomDomainOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomDomainOptions.kt index fea0e5622a..97d732dfcb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomDomainOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CustomDomainOptions.kt @@ -70,7 +70,7 @@ public interface CustomDomainOptions { * @param certificate The certificate to associate with this domain. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/DateTimeAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/DateTimeAttribute.kt index ef38a0a7aa..1091a5fa42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/DateTimeAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/DateTimeAttribute.kt @@ -40,7 +40,7 @@ public open class DateTimeAttribute( ) public constructor(props: CustomAttributeProps) : - this(software.amazon.awscdk.services.cognito.DateTimeAttribute(props.let(CustomAttributeProps::unwrap)) + this(software.amazon.awscdk.services.cognito.DateTimeAttribute(props.let(CustomAttributeProps.Companion::unwrap)) ) public constructor(props: CustomAttributeProps.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPool.kt index 7985fef836..0d48af34f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPool.kt @@ -145,7 +145,7 @@ public interface IUserPool : IResource { */ override fun addClient(id: String, options: UserPoolClientOptions): UserPoolClient = unwrap(this).addClient(id, - options.let(UserPoolClientOptions::unwrap)).let(UserPoolClient::wrap) + options.let(UserPoolClientOptions.Companion::unwrap)).let(UserPoolClient::wrap) /** * Add a new app client to this user pool. @@ -168,7 +168,7 @@ public interface IUserPool : IResource { */ override fun addDomain(id: String, options: UserPoolDomainOptions): UserPoolDomain = unwrap(this).addDomain(id, - options.let(UserPoolDomainOptions::unwrap)).let(UserPoolDomain::wrap) + options.let(UserPoolDomainOptions.Companion::unwrap)).let(UserPoolDomain::wrap) /** * Associate a domain to this user pool. @@ -191,7 +191,7 @@ public interface IUserPool : IResource { */ override fun addResourceServer(id: String, options: UserPoolResourceServerOptions): UserPoolResourceServer = unwrap(this).addResourceServer(id, - options.let(UserPoolResourceServerOptions::unwrap)).let(UserPoolResourceServer::wrap) + options.let(UserPoolResourceServerOptions.Companion::unwrap)).let(UserPoolResourceServer::wrap) /** * Add a new resource server to this user pool. @@ -220,7 +220,7 @@ public interface IUserPool : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface IUserPool : IResource { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -259,7 +259,7 @@ public interface IUserPool : IResource { * @param provider */ override fun registerIdentityProvider(provider: IUserPoolIdentityProvider) { - unwrap(this).registerIdentityProvider(provider.let(IUserPoolIdentityProvider::unwrap)) + unwrap(this).registerIdentityProvider(provider.let(IUserPoolIdentityProvider.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolClient.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolClient.kt index 3fee8fda12..9cb8c37e55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolClient.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolClient.kt @@ -45,7 +45,7 @@ public interface IUserPoolClient : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolDomain.kt index 4e20b6bb95..a8f5f6c7d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolDomain.kt @@ -40,7 +40,7 @@ public interface IUserPoolDomain : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolIdentityProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolIdentityProvider.kt index 788c414dc0..3b699f9638 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolIdentityProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolIdentityProvider.kt @@ -37,7 +37,7 @@ public interface IUserPoolIdentityProvider : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolResourceServer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolResourceServer.kt index e4176d4fab..0590f734fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolResourceServer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/IUserPoolResourceServer.kt @@ -37,7 +37,7 @@ public interface IUserPoolResourceServer : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/NumberAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/NumberAttribute.kt index c3164d51ff..8741de18df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/NumberAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/NumberAttribute.kt @@ -41,7 +41,7 @@ public open class NumberAttribute( ) public constructor(props: NumberAttributeProps) : - this(software.amazon.awscdk.services.cognito.NumberAttribute(props.let(NumberAttributeProps::unwrap)) + this(software.amazon.awscdk.services.cognito.NumberAttribute(props.let(NumberAttributeProps.Companion::unwrap)) ) public constructor(props: NumberAttributeProps.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthScope.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthScope.kt index 6f903972dd..6d63eed0ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthScope.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthScope.kt @@ -74,8 +74,8 @@ public open class OAuthScope( public fun resourceServer(server: IUserPoolResourceServer, scope: ResourceServerScope): OAuthScope = - software.amazon.awscdk.services.cognito.OAuthScope.resourceServer(server.let(IUserPoolResourceServer::unwrap), - scope.let(ResourceServerScope::unwrap)).let(OAuthScope::wrap) + software.amazon.awscdk.services.cognito.OAuthScope.resourceServer(server.let(IUserPoolResourceServer.Companion::unwrap), + scope.let(ResourceServerScope.Companion::unwrap)).let(OAuthScope::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c2241fe1fc36b62c6e9f4841e3de3020478022df0a2d31740f2035d92b882fd4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthSettings.kt index cab02d6ccb..bccae66bdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/OAuthSettings.kt @@ -150,7 +150,7 @@ public interface OAuthSettings { * @param flows OAuth flows that are allowed with this client. */ override fun flows(flows: OAuthFlows) { - cdkBuilder.flows(flows.let(OAuthFlows::unwrap)) + cdkBuilder.flows(flows.let(OAuthFlows.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface OAuthSettings { * @param scopes OAuth scopes that are allowed with this client. */ override fun scopes(scopes: List) { - cdkBuilder.scopes(scopes.map(OAuthScope::unwrap)) + cdkBuilder.scopes(scopes.map(OAuthScope.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/PasswordPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/PasswordPolicy.kt index 8f8f1c6e8a..55d3678e0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/PasswordPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/PasswordPolicy.kt @@ -165,7 +165,7 @@ public interface PasswordPolicy { * Fractional days, such as Duration.hours(20), will generate an error. */ override fun tempPasswordValidity(tempPasswordValidity: Duration) { - cdkBuilder.tempPasswordValidity(tempPasswordValidity.let(Duration::unwrap)) + cdkBuilder.tempPasswordValidity(tempPasswordValidity.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.PasswordPolicy = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ResourceServerScope.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ResourceServerScope.kt index 771b490b9a..f88e2c7443 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ResourceServerScope.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/ResourceServerScope.kt @@ -45,7 +45,7 @@ public open class ResourceServerScope( cdkObject: software.amazon.awscdk.services.cognito.ResourceServerScope, ) : CdkObject(cdkObject) { public constructor(props: ResourceServerScopeProps) : - this(software.amazon.awscdk.services.cognito.ResourceServerScope(props.let(ResourceServerScopeProps::unwrap)) + this(software.amazon.awscdk.services.cognito.ResourceServerScope(props.let(ResourceServerScopeProps.Companion::unwrap)) ) public constructor(props: ResourceServerScopeProps.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StandardAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StandardAttributes.kt index 954e080101..fbe28ccc01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StandardAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StandardAttributes.kt @@ -390,7 +390,7 @@ public interface StandardAttributes { * @param address The user's postal address. */ override fun address(address: StandardAttribute) { - cdkBuilder.address(address.let(StandardAttribute::unwrap)) + cdkBuilder.address(address.let(StandardAttribute.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface StandardAttributes { * @param birthdate The user's birthday, represented as an ISO 8601:2004 format. */ override fun birthdate(birthdate: StandardAttribute) { - cdkBuilder.birthdate(birthdate.let(StandardAttribute::unwrap)) + cdkBuilder.birthdate(birthdate.let(StandardAttribute.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface StandardAttributes { * @param email The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec. */ override fun email(email: StandardAttribute) { - cdkBuilder.email(email.let(StandardAttribute::unwrap)) + cdkBuilder.email(email.let(StandardAttribute.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface StandardAttributes { * @param familyName The surname or last name of the user. */ override fun familyName(familyName: StandardAttribute) { - cdkBuilder.familyName(familyName.let(StandardAttribute::unwrap)) + cdkBuilder.familyName(familyName.let(StandardAttribute.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface StandardAttributes { * and suffixes. */ override fun fullname(fullname: StandardAttribute) { - cdkBuilder.fullname(fullname.let(StandardAttribute::unwrap)) + cdkBuilder.fullname(fullname.let(StandardAttribute.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public interface StandardAttributes { * @param gender The user's gender. */ override fun gender(gender: StandardAttribute) { - cdkBuilder.gender(gender.let(StandardAttribute::unwrap)) + cdkBuilder.gender(gender.let(StandardAttribute.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface StandardAttributes { * @param givenName The user's first name or give name. */ override fun givenName(givenName: StandardAttribute) { - cdkBuilder.givenName(givenName.let(StandardAttribute::unwrap)) + cdkBuilder.givenName(givenName.let(StandardAttribute.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface StandardAttributes { * @param lastUpdateTime The time, the user's information was last updated. */ override fun lastUpdateTime(lastUpdateTime: StandardAttribute) { - cdkBuilder.lastUpdateTime(lastUpdateTime.let(StandardAttribute::unwrap)) + cdkBuilder.lastUpdateTime(lastUpdateTime.let(StandardAttribute.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface StandardAttributes { * @param locale The user's locale, represented as a BCP47 [RFC5646] language tag. */ override fun locale(locale: StandardAttribute) { - cdkBuilder.locale(locale.let(StandardAttribute::unwrap)) + cdkBuilder.locale(locale.let(StandardAttribute.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public interface StandardAttributes { * @param middleName The user's middle name. */ override fun middleName(middleName: StandardAttribute) { - cdkBuilder.middleName(middleName.let(StandardAttribute::unwrap)) + cdkBuilder.middleName(middleName.let(StandardAttribute.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public interface StandardAttributes { * @param nickname The user's nickname or casual name. */ override fun nickname(nickname: StandardAttribute) { - cdkBuilder.nickname(nickname.let(StandardAttribute::unwrap)) + cdkBuilder.nickname(nickname.let(StandardAttribute.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface StandardAttributes { * @param phoneNumber The user's telephone number. */ override fun phoneNumber(phoneNumber: StandardAttribute) { - cdkBuilder.phoneNumber(phoneNumber.let(StandardAttribute::unwrap)) + cdkBuilder.phoneNumber(phoneNumber.let(StandardAttribute.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public interface StandardAttributes { * name. */ override fun preferredUsername(preferredUsername: StandardAttribute) { - cdkBuilder.preferredUsername(preferredUsername.let(StandardAttribute::unwrap)) + cdkBuilder.preferredUsername(preferredUsername.let(StandardAttribute.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public interface StandardAttributes { * @param profilePage The URL to the user's profile page. */ override fun profilePage(profilePage: StandardAttribute) { - cdkBuilder.profilePage(profilePage.let(StandardAttribute::unwrap)) + cdkBuilder.profilePage(profilePage.let(StandardAttribute.Companion::unwrap)) } /** @@ -604,7 +604,7 @@ public interface StandardAttributes { * @param profilePicture The URL to the user's profile picture. */ override fun profilePicture(profilePicture: StandardAttribute) { - cdkBuilder.profilePicture(profilePicture.let(StandardAttribute::unwrap)) + cdkBuilder.profilePicture(profilePicture.let(StandardAttribute.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public interface StandardAttributes { * @param timezone The user's time zone. */ override fun timezone(timezone: StandardAttribute) { - cdkBuilder.timezone(timezone.let(StandardAttribute::unwrap)) + cdkBuilder.timezone(timezone.let(StandardAttribute.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface StandardAttributes { * @param website The URL to the user's web page or blog. */ override fun website(website: StandardAttribute) { - cdkBuilder.website(website.let(StandardAttribute::unwrap)) + cdkBuilder.website(website.let(StandardAttribute.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StringAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StringAttribute.kt index 4c2b1dd139..591e2dbef5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StringAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/StringAttribute.kt @@ -41,7 +41,7 @@ public open class StringAttribute( ) public constructor(props: StringAttributeProps) : - this(software.amazon.awscdk.services.cognito.StringAttribute(props.let(StringAttributeProps::unwrap)) + this(software.amazon.awscdk.services.cognito.StringAttribute(props.let(StringAttributeProps.Companion::unwrap)) ) public constructor(props: StringAttributeProps.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPool.kt index 8719648af2..9d48727034 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPool.kt @@ -43,7 +43,7 @@ public open class UserPool( cdkObject: software.amazon.awscdk.services.cognito.UserPool, ) : Resource(cdkObject), IUserPool { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.cognito.UserPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.cognito.UserPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class UserPool( id: String, props: UserPoolProps, ) : - this(software.amazon.awscdk.services.cognito.UserPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class UserPool( */ public override fun addClient(id: String, options: UserPoolClientOptions): UserPoolClient = unwrap(this).addClient(id, - options.let(UserPoolClientOptions::unwrap)).let(UserPoolClient::wrap) + options.let(UserPoolClientOptions.Companion::unwrap)).let(UserPoolClient::wrap) /** * Add a new app client to this user pool. @@ -101,7 +101,7 @@ public open class UserPool( */ public override fun addDomain(id: String, options: UserPoolDomainOptions): UserPoolDomain = unwrap(this).addDomain(id, - options.let(UserPoolDomainOptions::unwrap)).let(UserPoolDomain::wrap) + options.let(UserPoolDomainOptions.Companion::unwrap)).let(UserPoolDomain::wrap) /** * Associate a domain to this user pool. @@ -122,7 +122,7 @@ public open class UserPool( */ public override fun addResourceServer(id: String, options: UserPoolResourceServerOptions): UserPoolResourceServer = unwrap(this).addResourceServer(id, - options.let(UserPoolResourceServerOptions::unwrap)).let(UserPoolResourceServer::wrap) + options.let(UserPoolResourceServerOptions.Companion::unwrap)).let(UserPoolResourceServer::wrap) /** * Add a new resource server to this user pool. @@ -145,7 +145,8 @@ public open class UserPool( * @param lambdaVersion */ public open fun addTrigger(operation: UserPoolOperation, fn: IFunction) { - unwrap(this).addTrigger(operation.let(UserPoolOperation::unwrap), fn.let(IFunction::unwrap)) + unwrap(this).addTrigger(operation.let(UserPoolOperation.Companion::unwrap), + fn.let(IFunction.Companion::unwrap)) } /** @@ -161,8 +162,8 @@ public open class UserPool( fn: IFunction, lambdaVersion: LambdaVersion, ) { - unwrap(this).addTrigger(operation.let(UserPoolOperation::unwrap), fn.let(IFunction::unwrap), - lambdaVersion.let(LambdaVersion::unwrap)) + unwrap(this).addTrigger(operation.let(UserPoolOperation.Companion::unwrap), + fn.let(IFunction.Companion::unwrap), lambdaVersion.let(LambdaVersion.Companion::unwrap)) } /** @@ -172,8 +173,8 @@ public open class UserPool( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Get all identity providers registered with this user pool. @@ -187,7 +188,7 @@ public open class UserPool( * @param provider */ public override fun registerIdentityProvider(provider: IUserPoolIdentityProvider) { - unwrap(this).registerIdentityProvider(provider.let(IUserPoolIdentityProvider::unwrap)) + unwrap(this).registerIdentityProvider(provider.let(IUserPoolIdentityProvider.Companion::unwrap)) } /** @@ -662,7 +663,7 @@ public open class UserPool( * @param accountRecovery How will a user be able to recover their account?. */ override fun accountRecovery(accountRecovery: AccountRecovery) { - cdkBuilder.accountRecovery(accountRecovery.let(AccountRecovery::unwrap)) + cdkBuilder.accountRecovery(accountRecovery.let(AccountRecovery.Companion::unwrap)) } /** @@ -673,7 +674,7 @@ public open class UserPool( * @param advancedSecurityMode The user pool's Advanced Security Mode. */ override fun advancedSecurityMode(advancedSecurityMode: AdvancedSecurityMode) { - cdkBuilder.advancedSecurityMode(advancedSecurityMode.let(AdvancedSecurityMode::unwrap)) + cdkBuilder.advancedSecurityMode(advancedSecurityMode.let(AdvancedSecurityMode.Companion::unwrap)) } /** @@ -689,7 +690,7 @@ public open class UserPool( * up. */ override fun autoVerify(autoVerify: AutoVerifiedAttrs) { - cdkBuilder.autoVerify(autoVerify.let(AutoVerifiedAttrs::unwrap)) + cdkBuilder.autoVerify(autoVerify.let(AutoVerifiedAttrs.Companion::unwrap)) } /** @@ -732,7 +733,7 @@ public open class UserPool( * authorization codes that Amazon Cognito generates. */ override fun customSenderKmsKey(customSenderKmsKey: IKey) { - cdkBuilder.customSenderKmsKey(customSenderKmsKey.let(IKey::unwrap)) + cdkBuilder.customSenderKmsKey(customSenderKmsKey.let(IKey.Companion::unwrap)) } /** @@ -755,7 +756,7 @@ public open class UserPool( * @param deviceTracking Device tracking settings. */ override fun deviceTracking(deviceTracking: DeviceTracking) { - cdkBuilder.deviceTracking(deviceTracking.let(DeviceTracking::unwrap)) + cdkBuilder.deviceTracking(deviceTracking.let(DeviceTracking.Companion::unwrap)) } /** @@ -778,7 +779,7 @@ public open class UserPool( * @param email Email settings for a user pool. */ override fun email(email: UserPoolEmail) { - cdkBuilder.email(email.let(UserPoolEmail::unwrap)) + cdkBuilder.email(email.let(UserPoolEmail.Companion::unwrap)) } /** @@ -808,7 +809,7 @@ public open class UserPool( * users' email address and phone number attributes. */ override fun keepOriginal(keepOriginal: KeepOriginalAttrs) { - cdkBuilder.keepOriginal(keepOriginal.let(KeepOriginalAttrs::unwrap)) + cdkBuilder.keepOriginal(keepOriginal.let(KeepOriginalAttrs.Companion::unwrap)) } /** @@ -836,7 +837,7 @@ public open class UserPool( * @param lambdaTriggers Lambda functions to use for supported Cognito triggers. */ override fun lambdaTriggers(lambdaTriggers: UserPoolTriggers) { - cdkBuilder.lambdaTriggers(lambdaTriggers.let(UserPoolTriggers::unwrap)) + cdkBuilder.lambdaTriggers(lambdaTriggers.let(UserPoolTriggers.Companion::unwrap)) } /** @@ -860,7 +861,7 @@ public open class UserPool( * @param mfa Configure whether users of this user pool can or are required use MFA to sign in. */ override fun mfa(mfa: Mfa) { - cdkBuilder.mfa(mfa.let(Mfa::unwrap)) + cdkBuilder.mfa(mfa.let(Mfa.Companion::unwrap)) } /** @@ -887,7 +888,7 @@ public open class UserPool( * @param mfaSecondFactor Configure the MFA types that users can use in this user pool. */ override fun mfaSecondFactor(mfaSecondFactor: MfaSecondFactor) { - cdkBuilder.mfaSecondFactor(mfaSecondFactor.let(MfaSecondFactor::unwrap)) + cdkBuilder.mfaSecondFactor(mfaSecondFactor.let(MfaSecondFactor.Companion::unwrap)) } /** @@ -913,7 +914,7 @@ public open class UserPool( * @param passwordPolicy Password policy for this user pool. */ override fun passwordPolicy(passwordPolicy: PasswordPolicy) { - cdkBuilder.passwordPolicy(passwordPolicy.let(PasswordPolicy::unwrap)) + cdkBuilder.passwordPolicy(passwordPolicy.let(PasswordPolicy.Companion::unwrap)) } /** @@ -936,7 +937,7 @@ public open class UserPool( * @param removalPolicy Policy to apply when the user pool is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -971,7 +972,7 @@ public open class UserPool( * @param signInAliases Methods in which a user registers or signs in to a user pool. */ override fun signInAliases(signInAliases: SignInAliases) { - cdkBuilder.signInAliases(signInAliases.let(SignInAliases::unwrap)) + cdkBuilder.signInAliases(signInAliases.let(SignInAliases.Companion::unwrap)) } /** @@ -1020,7 +1021,7 @@ public open class UserPool( * @param smsRole The IAM role that Cognito will assume while sending SMS messages. */ override fun smsRole(smsRole: IRole) { - cdkBuilder.smsRole(smsRole.let(IRole::unwrap)) + cdkBuilder.smsRole(smsRole.let(IRole.Companion::unwrap)) } /** @@ -1067,7 +1068,7 @@ public open class UserPool( * pool. */ override fun standardAttributes(standardAttributes: StandardAttributes) { - cdkBuilder.standardAttributes(standardAttributes.let(StandardAttributes::unwrap)) + cdkBuilder.standardAttributes(standardAttributes.let(StandardAttributes.Companion::unwrap)) } /** @@ -1094,7 +1095,7 @@ public open class UserPool( * @param userInvitation Configuration around admins signing up users into a user pool. */ override fun userInvitation(userInvitation: UserInvitationConfig) { - cdkBuilder.userInvitation(userInvitation.let(UserInvitationConfig::unwrap)) + cdkBuilder.userInvitation(userInvitation.let(UserInvitationConfig.Companion::unwrap)) } /** @@ -1130,7 +1131,7 @@ public open class UserPool( * @param userVerification Configuration around users signing themselves up to the user pool. */ override fun userVerification(userVerification: UserVerificationConfig) { - cdkBuilder.userVerification(userVerification.let(UserVerificationConfig::unwrap)) + cdkBuilder.userVerification(userVerification.let(UserVerificationConfig.Companion::unwrap)) } /** @@ -1156,7 +1157,7 @@ public open class UserPool( id: String, userPoolArn: String, ): IUserPool = - software.amazon.awscdk.services.cognito.UserPool.fromUserPoolArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cognito.UserPool.fromUserPoolArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userPoolArn).let(IUserPool::wrap) public fun fromUserPoolId( @@ -1164,7 +1165,7 @@ public open class UserPool( id: String, userPoolId: String, ): IUserPool = - software.amazon.awscdk.services.cognito.UserPool.fromUserPoolId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cognito.UserPool.fromUserPoolId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userPoolId).let(IUserPool::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClient.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClient.kt index efc6fcf662..fc1240b808 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClient.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClient.kt @@ -42,8 +42,8 @@ public open class UserPoolClient( id: String, props: UserPoolClientProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolClient(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolClientProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolClient(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolClientProps.Companion::unwrap)) ) public constructor( @@ -310,7 +310,7 @@ public open class UserPoolClient( * @param accessTokenValidity Validity of the access token. */ override fun accessTokenValidity(accessTokenValidity: Duration) { - cdkBuilder.accessTokenValidity(accessTokenValidity.let(Duration::unwrap)) + cdkBuilder.accessTokenValidity(accessTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class UserPoolClient( * @param authFlows The set of OAuth authentication flows to enable on the client. */ override fun authFlows(authFlows: AuthFlow) { - cdkBuilder.authFlows(authFlows.let(AuthFlow::unwrap)) + cdkBuilder.authFlows(authFlows.let(AuthFlow.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class UserPoolClient( * authentication flow. */ override fun authSessionValidity(authSessionValidity: Duration) { - cdkBuilder.authSessionValidity(authSessionValidity.let(Duration::unwrap)) + cdkBuilder.authSessionValidity(authSessionValidity.let(Duration.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public open class UserPoolClient( * @param idTokenValidity Validity of the ID token. */ override fun idTokenValidity(idTokenValidity: Duration) { - cdkBuilder.idTokenValidity(idTokenValidity.let(Duration::unwrap)) + cdkBuilder.idTokenValidity(idTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class UserPoolClient( * @param oAuth OAuth settings for this client to interact with the app. */ override fun oAuth(oAuth: OAuthSettings) { - cdkBuilder.oAuth(oAuth.let(OAuthSettings::unwrap)) + cdkBuilder.oAuth(oAuth.let(OAuthSettings.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class UserPoolClient( * @param readAttributes The set of attributes this client will be able to read. */ override fun readAttributes(readAttributes: ClientAttributes) { - cdkBuilder.readAttributes(readAttributes.let(ClientAttributes::unwrap)) + cdkBuilder.readAttributes(readAttributes.let(ClientAttributes.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class UserPoolClient( * @param refreshTokenValidity Validity of the refresh token. */ override fun refreshTokenValidity(refreshTokenValidity: Duration) { - cdkBuilder.refreshTokenValidity(refreshTokenValidity.let(Duration::unwrap)) + cdkBuilder.refreshTokenValidity(refreshTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class UserPoolClient( */ override fun supportedIdentityProviders(supportedIdentityProviders: List) { - cdkBuilder.supportedIdentityProviders(supportedIdentityProviders.map(UserPoolClientIdentityProvider::unwrap)) + cdkBuilder.supportedIdentityProviders(supportedIdentityProviders.map(UserPoolClientIdentityProvider.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class UserPoolClient( * @param userPool The UserPool resource this client will have access to. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public open class UserPoolClient( * @param writeAttributes The set of attributes this client will be able to write. */ override fun writeAttributes(writeAttributes: ClientAttributes) { - cdkBuilder.writeAttributes(writeAttributes.let(ClientAttributes::unwrap)) + cdkBuilder.writeAttributes(writeAttributes.let(ClientAttributes.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolClient = cdkBuilder.build() @@ -547,7 +547,7 @@ public open class UserPoolClient( id: String, userPoolClientId: String, ): IUserPoolClient = - software.amazon.awscdk.services.cognito.UserPoolClient.fromUserPoolClientId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cognito.UserPoolClient.fromUserPoolClientId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userPoolClientId).let(IUserPoolClient::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientOptions.kt index af3ca9e654..b79d9b9fb6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientOptions.kt @@ -296,14 +296,14 @@ public interface UserPoolClientOptions { * token validity. */ override fun accessTokenValidity(accessTokenValidity: Duration) { - cdkBuilder.accessTokenValidity(accessTokenValidity.let(Duration::unwrap)) + cdkBuilder.accessTokenValidity(accessTokenValidity.let(Duration.Companion::unwrap)) } /** * @param authFlows The set of OAuth authentication flows to enable on the client. */ override fun authFlows(authFlows: AuthFlow) { - cdkBuilder.authFlows(authFlows.let(AuthFlow::unwrap)) + cdkBuilder.authFlows(authFlows.let(AuthFlow.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface UserPoolClientOptions { * see defaults in `AuthSessionValidity`. Valid duration is from 3 to 15 minutes. */ override fun authSessionValidity(authSessionValidity: Duration) { - cdkBuilder.authSessionValidity(authSessionValidity.let(Duration::unwrap)) + cdkBuilder.authSessionValidity(authSessionValidity.let(Duration.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface UserPoolClientOptions { * token validity. */ override fun idTokenValidity(idTokenValidity: Duration) { - cdkBuilder.idTokenValidity(idTokenValidity.let(Duration::unwrap)) + cdkBuilder.idTokenValidity(idTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public interface UserPoolClientOptions { * An error is thrown when this is specified and `disableOAuth` is set. */ override fun oAuth(oAuth: OAuthSettings) { - cdkBuilder.oAuth(oAuth.let(OAuthSettings::unwrap)) + cdkBuilder.oAuth(oAuth.let(OAuthSettings.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public interface UserPoolClientOptions { * @param readAttributes The set of attributes this client will be able to read. */ override fun readAttributes(readAttributes: ClientAttributes) { - cdkBuilder.readAttributes(readAttributes.let(ClientAttributes::unwrap)) + cdkBuilder.readAttributes(readAttributes.let(ClientAttributes.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface UserPoolClientOptions { * Values between 60 minutes and 10 years are valid. */ override fun refreshTokenValidity(refreshTokenValidity: Duration) { - cdkBuilder.refreshTokenValidity(refreshTokenValidity.let(Duration::unwrap)) + cdkBuilder.refreshTokenValidity(refreshTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface UserPoolClientOptions { */ override fun supportedIdentityProviders(supportedIdentityProviders: List) { - cdkBuilder.supportedIdentityProviders(supportedIdentityProviders.map(UserPoolClientIdentityProvider::unwrap)) + cdkBuilder.supportedIdentityProviders(supportedIdentityProviders.map(UserPoolClientIdentityProvider.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface UserPoolClientOptions { * @param writeAttributes The set of attributes this client will be able to write. */ override fun writeAttributes(writeAttributes: ClientAttributes) { - cdkBuilder.writeAttributes(writeAttributes.let(ClientAttributes::unwrap)) + cdkBuilder.writeAttributes(writeAttributes.let(ClientAttributes.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolClientOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientProps.kt index 9ad7dcf74c..27ed8c64f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolClientProps.kt @@ -159,14 +159,14 @@ public interface UserPoolClientProps : UserPoolClientOptions { * token validity. */ override fun accessTokenValidity(accessTokenValidity: Duration) { - cdkBuilder.accessTokenValidity(accessTokenValidity.let(Duration::unwrap)) + cdkBuilder.accessTokenValidity(accessTokenValidity.let(Duration.Companion::unwrap)) } /** * @param authFlows The set of OAuth authentication flows to enable on the client. */ override fun authFlows(authFlows: AuthFlow) { - cdkBuilder.authFlows(authFlows.let(AuthFlow::unwrap)) + cdkBuilder.authFlows(authFlows.let(AuthFlow.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * see defaults in `AuthSessionValidity`. Valid duration is from 3 to 15 minutes. */ override fun authSessionValidity(authSessionValidity: Duration) { - cdkBuilder.authSessionValidity(authSessionValidity.let(Duration::unwrap)) + cdkBuilder.authSessionValidity(authSessionValidity.let(Duration.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * token validity. */ override fun idTokenValidity(idTokenValidity: Duration) { - cdkBuilder.idTokenValidity(idTokenValidity.let(Duration::unwrap)) + cdkBuilder.idTokenValidity(idTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * An error is thrown when this is specified and `disableOAuth` is set. */ override fun oAuth(oAuth: OAuthSettings) { - cdkBuilder.oAuth(oAuth.let(OAuthSettings::unwrap)) + cdkBuilder.oAuth(oAuth.let(OAuthSettings.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * @param readAttributes The set of attributes this client will be able to read. */ override fun readAttributes(readAttributes: ClientAttributes) { - cdkBuilder.readAttributes(readAttributes.let(ClientAttributes::unwrap)) + cdkBuilder.readAttributes(readAttributes.let(ClientAttributes.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * Values between 60 minutes and 10 years are valid. */ override fun refreshTokenValidity(refreshTokenValidity: Duration) { - cdkBuilder.refreshTokenValidity(refreshTokenValidity.let(Duration::unwrap)) + cdkBuilder.refreshTokenValidity(refreshTokenValidity.let(Duration.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { */ override fun supportedIdentityProviders(supportedIdentityProviders: List) { - cdkBuilder.supportedIdentityProviders(supportedIdentityProviders.map(UserPoolClientIdentityProvider::unwrap)) + cdkBuilder.supportedIdentityProviders(supportedIdentityProviders.map(UserPoolClientIdentityProvider.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * @param userPool The UserPool resource this client will have access to. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public interface UserPoolClientProps : UserPoolClientOptions { * @param writeAttributes The set of attributes this client will be able to write. */ override fun writeAttributes(writeAttributes: ClientAttributes) { - cdkBuilder.writeAttributes(writeAttributes.let(ClientAttributes::unwrap)) + cdkBuilder.writeAttributes(writeAttributes.let(ClientAttributes.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolClientProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomain.kt index c5ea57459d..54eed2d62b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomain.kt @@ -40,8 +40,8 @@ public open class UserPoolDomain( id: String, props: UserPoolDomainProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolDomainProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolDomainProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class UserPoolDomain( * @param options options to customize baseUrl. */ public open fun baseUrl(options: BaseUrlOptions): String = - unwrap(this).baseUrl(options.let(BaseUrlOptions::unwrap)) + unwrap(this).baseUrl(options.let(BaseUrlOptions.Companion::unwrap)) /** * The URL to the hosted UI associated with this domain. @@ -97,8 +97,8 @@ public open class UserPoolDomain( * @param options options to customize signInUrl. */ public open fun signInUrl(client: UserPoolClient, options: SignInUrlOptions): String = - unwrap(this).signInUrl(client.let(UserPoolClient::unwrap), - options.let(SignInUrlOptions::unwrap)) + unwrap(this).signInUrl(client.let(UserPoolClient.Companion::unwrap), + options.let(SignInUrlOptions.Companion::unwrap)) /** * The URL to the sign in page in this domain using a specific UserPoolClient. @@ -195,7 +195,7 @@ public open class UserPoolDomain( * `customDomain` or `cognitoDomain` must be specified. */ override fun cognitoDomain(cognitoDomain: CognitoDomainOptions) { - cdkBuilder.cognitoDomain(cognitoDomain.let(CognitoDomainOptions::unwrap)) + cdkBuilder.cognitoDomain(cognitoDomain.let(CognitoDomainOptions.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class UserPoolDomain( * `cognitoDomain` must be specified. */ override fun customDomain(customDomain: CustomDomainOptions) { - cdkBuilder.customDomain(customDomain.let(CustomDomainOptions::unwrap)) + cdkBuilder.customDomain(customDomain.let(CustomDomainOptions.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class UserPoolDomain( * @param userPool The user pool to which this domain should be associated. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolDomain = cdkBuilder.build() @@ -260,7 +260,7 @@ public open class UserPoolDomain( id: String, userPoolDomainName: String, ): IUserPoolDomain = - software.amazon.awscdk.services.cognito.UserPoolDomain.fromDomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cognito.UserPoolDomain.fromDomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userPoolDomainName).let(IUserPoolDomain::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainOptions.kt index f696ee90ff..936a5728cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainOptions.kt @@ -97,7 +97,7 @@ public interface UserPoolDomainOptions { * `customDomain` or `cognitoDomain` must be specified. */ override fun cognitoDomain(cognitoDomain: CognitoDomainOptions) { - cdkBuilder.cognitoDomain(cognitoDomain.let(CognitoDomainOptions::unwrap)) + cdkBuilder.cognitoDomain(cognitoDomain.let(CognitoDomainOptions.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface UserPoolDomainOptions { * `cognitoDomain` must be specified. */ override fun customDomain(customDomain: CustomDomainOptions) { - cdkBuilder.customDomain(customDomain.let(CustomDomainOptions::unwrap)) + cdkBuilder.customDomain(customDomain.let(CustomDomainOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainProps.kt index fbbbc27773..90eb6a03a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolDomainProps.kt @@ -119,7 +119,7 @@ public interface UserPoolDomainProps : UserPoolDomainOptions { * `customDomain` or `cognitoDomain` must be specified. */ override fun cognitoDomain(cognitoDomain: CognitoDomainOptions) { - cdkBuilder.cognitoDomain(cognitoDomain.let(CognitoDomainOptions::unwrap)) + cdkBuilder.cognitoDomain(cognitoDomain.let(CognitoDomainOptions.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface UserPoolDomainProps : UserPoolDomainOptions { * `cognitoDomain` must be specified. */ override fun customDomain(customDomain: CustomDomainOptions) { - cdkBuilder.customDomain(customDomain.let(CustomDomainOptions::unwrap)) + cdkBuilder.customDomain(customDomain.let(CustomDomainOptions.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public interface UserPoolDomainProps : UserPoolDomainOptions { * @param userPool The user pool to which this domain should be associated. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolDomainProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolEmail.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolEmail.kt index 932928ee4b..271ae9587c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolEmail.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolEmail.kt @@ -38,7 +38,7 @@ public abstract class UserPoolEmail( software.amazon.awscdk.services.cognito.UserPoolEmail.withCognito(replyTo).let(UserPoolEmail::wrap) public fun withSES(options: UserPoolSESOptions): UserPoolEmail = - software.amazon.awscdk.services.cognito.UserPoolEmail.withSES(options.let(UserPoolSESOptions::unwrap)).let(UserPoolEmail::wrap) + software.amazon.awscdk.services.cognito.UserPoolEmail.withSES(options.let(UserPoolSESOptions.Companion::unwrap)).let(UserPoolEmail::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9e7aea2e201aad045c9833224b0201605c7bf4c957cb5e589fe1dc1de7dbbb79") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProvider.kt index a36b1931eb..2b8729e313 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProvider.kt @@ -18,7 +18,7 @@ public open class UserPoolIdentityProvider( id: String, providerName: String, ): IUserPoolIdentityProvider = - software.amazon.awscdk.services.cognito.UserPoolIdentityProvider.fromProviderName(scope.let(Construct::unwrap), + software.amazon.awscdk.services.cognito.UserPoolIdentityProvider.fromProviderName(scope.let(Construct.Companion::unwrap), id, providerName).let(IUserPoolIdentityProvider::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.cognito.UserPoolIdentityProvider): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazon.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazon.kt index cccc647e11..b648dc7e5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazon.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazon.kt @@ -39,8 +39,8 @@ public open class UserPoolIdentityProviderAmazon( id: String, props: UserPoolIdentityProviderAmazonProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderAmazon(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolIdentityProviderAmazonProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderAmazon(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolIdentityProviderAmazonProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class UserPoolIdentityProviderAmazon( * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class UserPoolIdentityProviderAmazon( * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderAmazon = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazonProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazonProps.kt index bdaa8adad0..c7b6d4766d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazonProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAmazonProps.kt @@ -111,7 +111,7 @@ public interface UserPoolIdentityProviderAmazonProps : UserPoolIdentityProviderP * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface UserPoolIdentityProviderAmazonProps : UserPoolIdentityProviderP * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderAmazonProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderApple.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderApple.kt index 8cd656f647..d52e1921a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderApple.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderApple.kt @@ -63,8 +63,8 @@ public open class UserPoolIdentityProviderApple( id: String, props: UserPoolIdentityProviderAppleProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderApple(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolIdentityProviderAppleProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderApple(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolIdentityProviderAppleProps.Companion::unwrap)) ) public constructor( @@ -188,7 +188,7 @@ public open class UserPoolIdentityProviderApple( * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class UserPoolIdentityProviderApple( * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderApple = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAppleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAppleProps.kt index 1f2dab74c9..9be21ed897 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAppleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderAppleProps.kt @@ -155,7 +155,7 @@ public interface UserPoolIdentityProviderAppleProps : UserPoolIdentityProviderPr * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface UserPoolIdentityProviderAppleProps : UserPoolIdentityProviderPr * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderAppleProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebook.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebook.kt index 85f4eb08c4..fbeb3ef5d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebook.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebook.kt @@ -62,8 +62,8 @@ public open class UserPoolIdentityProviderFacebook( id: String, props: UserPoolIdentityProviderFacebookProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderFacebook(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolIdentityProviderFacebookProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderFacebook(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolIdentityProviderFacebookProps.Companion::unwrap)) ) public constructor( @@ -193,7 +193,7 @@ public open class UserPoolIdentityProviderFacebook( * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class UserPoolIdentityProviderFacebook( * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderFacebook = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebookProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebookProps.kt index 53d8f5844a..7f30dfff36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebookProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderFacebookProps.kt @@ -152,7 +152,7 @@ public interface UserPoolIdentityProviderFacebookProps : UserPoolIdentityProvide * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface UserPoolIdentityProviderFacebookProps : UserPoolIdentityProvide * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogle.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogle.kt index a3dde4f26c..cac42a6ea6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogle.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogle.kt @@ -40,8 +40,8 @@ public open class UserPoolIdentityProviderGoogle( id: String, props: UserPoolIdentityProviderGoogleProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderGoogle(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolIdentityProviderGoogleProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderGoogle(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolIdentityProviderGoogleProps.Companion::unwrap)) ) public constructor( @@ -168,7 +168,7 @@ public open class UserPoolIdentityProviderGoogle( * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class UserPoolIdentityProviderGoogle( * authenticate the client as SecretValue. */ override fun clientSecretValue(clientSecretValue: SecretValue) { - cdkBuilder.clientSecretValue(clientSecretValue.let(SecretValue::unwrap)) + cdkBuilder.clientSecretValue(clientSecretValue.let(SecretValue.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class UserPoolIdentityProviderGoogle( * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderGoogle = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogleProps.kt index 5af7ee5de4..59432b6120 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderGoogleProps.kt @@ -137,7 +137,7 @@ public interface UserPoolIdentityProviderGoogleProps : UserPoolIdentityProviderP * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public interface UserPoolIdentityProviderGoogleProps : UserPoolIdentityProviderP * authenticate the client as SecretValue. */ override fun clientSecretValue(clientSecretValue: SecretValue) { - cdkBuilder.clientSecretValue(clientSecretValue.let(SecretValue::unwrap)) + cdkBuilder.clientSecretValue(clientSecretValue.let(SecretValue.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface UserPoolIdentityProviderGoogleProps : UserPoolIdentityProviderP * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderGoogleProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidc.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidc.kt index c425157053..8b47c1b212 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidc.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidc.kt @@ -71,8 +71,8 @@ public open class UserPoolIdentityProviderOidc( id: String, props: UserPoolIdentityProviderOidcProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderOidc(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolIdentityProviderOidcProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderOidc(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolIdentityProviderOidcProps.Companion::unwrap)) ) public constructor( @@ -246,7 +246,7 @@ public open class UserPoolIdentityProviderOidc( * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class UserPoolIdentityProviderOidc( * @param attributeRequestMethod The method to use to request attributes. */ override fun attributeRequestMethod(attributeRequestMethod: OidcAttributeRequestMethod) { - cdkBuilder.attributeRequestMethod(attributeRequestMethod.let(OidcAttributeRequestMethod::unwrap)) + cdkBuilder.attributeRequestMethod(attributeRequestMethod.let(OidcAttributeRequestMethod.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class UserPoolIdentityProviderOidc( * @param endpoints OpenID connect endpoints. */ override fun endpoints(endpoints: OidcEndpoints) { - cdkBuilder.endpoints(endpoints.let(OidcEndpoints::unwrap)) + cdkBuilder.endpoints(endpoints.let(OidcEndpoints.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class UserPoolIdentityProviderOidc( * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderOidc = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidcProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidcProps.kt index 33fad53e32..00f955874c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidcProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderOidcProps.kt @@ -213,7 +213,7 @@ public interface UserPoolIdentityProviderOidcProps : UserPoolIdentityProviderPro * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface UserPoolIdentityProviderOidcProps : UserPoolIdentityProviderPro * @param attributeRequestMethod The method to use to request attributes. */ override fun attributeRequestMethod(attributeRequestMethod: OidcAttributeRequestMethod) { - cdkBuilder.attributeRequestMethod(attributeRequestMethod.let(OidcAttributeRequestMethod::unwrap)) + cdkBuilder.attributeRequestMethod(attributeRequestMethod.let(OidcAttributeRequestMethod.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface UserPoolIdentityProviderOidcProps : UserPoolIdentityProviderPro * @param endpoints OpenID connect endpoints. */ override fun endpoints(endpoints: OidcEndpoints) { - cdkBuilder.endpoints(endpoints.let(OidcEndpoints::unwrap)) + cdkBuilder.endpoints(endpoints.let(OidcEndpoints.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface UserPoolIdentityProviderOidcProps : UserPoolIdentityProviderPro * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderOidcProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderProps.kt index f383349487..6ed71a1dd9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderProps.kt @@ -97,7 +97,7 @@ public interface UserPoolIdentityProviderProps { * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface UserPoolIdentityProviderProps { * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSaml.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSaml.kt index 1ec6a125be..fb7175e2b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSaml.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSaml.kt @@ -47,8 +47,8 @@ public open class UserPoolIdentityProviderSaml( id: String, props: UserPoolIdentityProviderSamlProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderSaml(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolIdentityProviderSamlProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolIdentityProviderSaml(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolIdentityProviderSamlProps.Companion::unwrap)) ) public constructor( @@ -197,7 +197,7 @@ public open class UserPoolIdentityProviderSaml( * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class UserPoolIdentityProviderSaml( * @param metadata The SAML metadata. */ override fun metadata(metadata: UserPoolIdentityProviderSamlMetadata) { - cdkBuilder.metadata(metadata.let(UserPoolIdentityProviderSamlMetadata::unwrap)) + cdkBuilder.metadata(metadata.let(UserPoolIdentityProviderSamlMetadata.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class UserPoolIdentityProviderSaml( * @param requestSigningAlgorithm The signing algorithm for SAML requests. */ override fun requestSigningAlgorithm(requestSigningAlgorithm: SigningAlgorithm) { - cdkBuilder.requestSigningAlgorithm(requestSigningAlgorithm.let(SigningAlgorithm::unwrap)) + cdkBuilder.requestSigningAlgorithm(requestSigningAlgorithm.let(SigningAlgorithm.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class UserPoolIdentityProviderSaml( * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderSaml = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSamlProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSamlProps.kt index 70d889dea3..c3ebbd9603 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSamlProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolIdentityProviderSamlProps.kt @@ -173,7 +173,7 @@ public interface UserPoolIdentityProviderSamlProps : UserPoolIdentityProviderPro * attributes of the user pool. */ override fun attributeMapping(attributeMapping: AttributeMapping) { - cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping::unwrap)) + cdkBuilder.attributeMapping(attributeMapping.let(AttributeMapping.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface UserPoolIdentityProviderSamlProps : UserPoolIdentityProviderPro * @param metadata The SAML metadata. */ override fun metadata(metadata: UserPoolIdentityProviderSamlMetadata) { - cdkBuilder.metadata(metadata.let(UserPoolIdentityProviderSamlMetadata::unwrap)) + cdkBuilder.metadata(metadata.let(UserPoolIdentityProviderSamlMetadata.Companion::unwrap)) } /** @@ -239,14 +239,14 @@ public interface UserPoolIdentityProviderSamlProps : UserPoolIdentityProviderPro * @param requestSigningAlgorithm The signing algorithm for SAML requests. */ override fun requestSigningAlgorithm(requestSigningAlgorithm: SigningAlgorithm) { - cdkBuilder.requestSigningAlgorithm(requestSigningAlgorithm.let(SigningAlgorithm::unwrap)) + cdkBuilder.requestSigningAlgorithm(requestSigningAlgorithm.let(SigningAlgorithm.Companion::unwrap)) } /** * @param userPool The user pool to which this construct provides identities. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolIdentityProviderSamlProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolProps.kt index 8c08eb4004..a195196431 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolProps.kt @@ -546,14 +546,14 @@ public interface UserPoolProps { * @param accountRecovery How will a user be able to recover their account?. */ override fun accountRecovery(accountRecovery: AccountRecovery) { - cdkBuilder.accountRecovery(accountRecovery.let(AccountRecovery::unwrap)) + cdkBuilder.accountRecovery(accountRecovery.let(AccountRecovery.Companion::unwrap)) } /** * @param advancedSecurityMode The user pool's Advanced Security Mode. */ override fun advancedSecurityMode(advancedSecurityMode: AdvancedSecurityMode) { - cdkBuilder.advancedSecurityMode(advancedSecurityMode.let(AdvancedSecurityMode::unwrap)) + cdkBuilder.advancedSecurityMode(advancedSecurityMode.let(AdvancedSecurityMode.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public interface UserPoolProps { * EMAIL and PHONE are the only available options. */ override fun autoVerify(autoVerify: AutoVerifiedAttrs) { - cdkBuilder.autoVerify(autoVerify.let(AutoVerifiedAttrs::unwrap)) + cdkBuilder.autoVerify(autoVerify.let(AutoVerifiedAttrs.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public interface UserPoolProps { * authorization codes that Amazon Cognito generates. */ override fun customSenderKmsKey(customSenderKmsKey: IKey) { - cdkBuilder.customSenderKmsKey(customSenderKmsKey.let(IKey::unwrap)) + cdkBuilder.customSenderKmsKey(customSenderKmsKey.let(IKey.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public interface UserPoolProps { * @param deviceTracking Device tracking settings. */ override fun deviceTracking(deviceTracking: DeviceTracking) { - cdkBuilder.deviceTracking(deviceTracking.let(DeviceTracking::unwrap)) + cdkBuilder.deviceTracking(deviceTracking.let(DeviceTracking.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public interface UserPoolProps { * @param email Email settings for a user pool. */ override fun email(email: UserPoolEmail) { - cdkBuilder.email(email.let(UserPoolEmail::unwrap)) + cdkBuilder.email(email.let(UserPoolEmail.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public interface UserPoolProps { * EMAIL and PHONE are the only available options. */ override fun keepOriginal(keepOriginal: KeepOriginalAttrs) { - cdkBuilder.keepOriginal(keepOriginal.let(KeepOriginalAttrs::unwrap)) + cdkBuilder.keepOriginal(keepOriginal.let(KeepOriginalAttrs.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public interface UserPoolProps { * @param lambdaTriggers Lambda functions to use for supported Cognito triggers. */ override fun lambdaTriggers(lambdaTriggers: UserPoolTriggers) { - cdkBuilder.lambdaTriggers(lambdaTriggers.let(UserPoolTriggers::unwrap)) + cdkBuilder.lambdaTriggers(lambdaTriggers.let(UserPoolTriggers.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public interface UserPoolProps { * @param mfa Configure whether users of this user pool can or are required use MFA to sign in. */ override fun mfa(mfa: Mfa) { - cdkBuilder.mfa(mfa.let(Mfa::unwrap)) + cdkBuilder.mfa(mfa.let(Mfa.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public interface UserPoolProps { * Ignored if `mfa` is set to `OFF`. */ override fun mfaSecondFactor(mfaSecondFactor: MfaSecondFactor) { - cdkBuilder.mfaSecondFactor(mfaSecondFactor.let(MfaSecondFactor::unwrap)) + cdkBuilder.mfaSecondFactor(mfaSecondFactor.let(MfaSecondFactor.Companion::unwrap)) } /** @@ -700,7 +700,7 @@ public interface UserPoolProps { * @param passwordPolicy Password policy for this user pool. */ override fun passwordPolicy(passwordPolicy: PasswordPolicy) { - cdkBuilder.passwordPolicy(passwordPolicy.let(PasswordPolicy::unwrap)) + cdkBuilder.passwordPolicy(passwordPolicy.let(PasswordPolicy.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public interface UserPoolProps { * @param removalPolicy Policy to apply when the user pool is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public interface UserPoolProps { * number, this property should be set to `{ email: true, phone: true }`. */ override fun signInAliases(signInAliases: SignInAliases) { - cdkBuilder.signInAliases(signInAliases.let(SignInAliases::unwrap)) + cdkBuilder.signInAliases(signInAliases.let(SignInAliases.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public interface UserPoolProps { * @param smsRole The IAM role that Cognito will assume while sending SMS messages. */ override fun smsRole(smsRole: IRole) { - cdkBuilder.smsRole(smsRole.let(IRole::unwrap)) + cdkBuilder.smsRole(smsRole.let(IRole.Companion::unwrap)) } /** @@ -804,7 +804,7 @@ public interface UserPoolProps { * https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html */ override fun standardAttributes(standardAttributes: StandardAttributes) { - cdkBuilder.standardAttributes(standardAttributes.let(StandardAttributes::unwrap)) + cdkBuilder.standardAttributes(standardAttributes.let(StandardAttributes.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public interface UserPoolProps { * @param userInvitation Configuration around admins signing up users into a user pool. */ override fun userInvitation(userInvitation: UserInvitationConfig) { - cdkBuilder.userInvitation(userInvitation.let(UserInvitationConfig::unwrap)) + cdkBuilder.userInvitation(userInvitation.let(UserInvitationConfig.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public interface UserPoolProps { * Enable or disable self sign-up via the `selfSignUpEnabled` property. */ override fun userVerification(userVerification: UserVerificationConfig) { - cdkBuilder.userVerification(userVerification.let(UserVerificationConfig::unwrap)) + cdkBuilder.userVerification(userVerification.let(UserVerificationConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServer.kt index 17d184e1d8..ac6d703cc9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServer.kt @@ -52,8 +52,8 @@ public open class UserPoolResourceServer( id: String, props: UserPoolResourceServerProps, ) : - this(software.amazon.awscdk.services.cognito.UserPoolResourceServer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserPoolResourceServerProps::unwrap)) + this(software.amazon.awscdk.services.cognito.UserPoolResourceServer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserPoolResourceServerProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class UserPoolResourceServer( * @param scopes Oauth scopes. */ override fun scopes(scopes: List) { - cdkBuilder.scopes(scopes.map(ResourceServerScope::unwrap)) + cdkBuilder.scopes(scopes.map(ResourceServerScope.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class UserPoolResourceServer( * @param userPool The user pool to add this resource server to. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class UserPoolResourceServer( id: String, userPoolResourceServerId: String, ): IUserPoolResourceServer = - software.amazon.awscdk.services.cognito.UserPoolResourceServer.fromUserPoolResourceServerId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.cognito.UserPoolResourceServer.fromUserPoolResourceServerId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userPoolResourceServerId).let(IUserPoolResourceServer::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerOptions.kt index eb7eaac8c9..f08e25d1cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerOptions.kt @@ -106,7 +106,7 @@ public interface UserPoolResourceServerOptions { * @param scopes Oauth scopes. */ override fun scopes(scopes: List) { - cdkBuilder.scopes(scopes.map(ResourceServerScope::unwrap)) + cdkBuilder.scopes(scopes.map(ResourceServerScope.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerProps.kt index bce0e98639..c5a88bbaee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolResourceServerProps.kt @@ -82,7 +82,7 @@ public interface UserPoolResourceServerProps : UserPoolResourceServerOptions { * @param scopes Oauth scopes. */ override fun scopes(scopes: List) { - cdkBuilder.scopes(scopes.map(ResourceServerScope::unwrap)) + cdkBuilder.scopes(scopes.map(ResourceServerScope.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface UserPoolResourceServerProps : UserPoolResourceServerOptions { * @param userPool The user pool to add this resource server to. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolTriggers.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolTriggers.kt index 9acebfcd71..30740b1ab2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolTriggers.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserPoolTriggers.kt @@ -228,7 +228,7 @@ public interface UserPoolTriggers { * @param createAuthChallenge Creates an authentication challenge. */ override fun createAuthChallenge(createAuthChallenge: IFunction) { - cdkBuilder.createAuthChallenge(createAuthChallenge.let(IFunction::unwrap)) + cdkBuilder.createAuthChallenge(createAuthChallenge.let(IFunction.Companion::unwrap)) } /** @@ -236,14 +236,14 @@ public interface UserPoolTriggers { * users. */ override fun customEmailSender(customEmailSender: IFunction) { - cdkBuilder.customEmailSender(customEmailSender.let(IFunction::unwrap)) + cdkBuilder.customEmailSender(customEmailSender.let(IFunction.Companion::unwrap)) } /** * @param customMessage A custom Message AWS Lambda trigger. */ override fun customMessage(customMessage: IFunction) { - cdkBuilder.customMessage(customMessage.let(IFunction::unwrap)) + cdkBuilder.customMessage(customMessage.let(IFunction.Companion::unwrap)) } /** @@ -251,63 +251,63 @@ public interface UserPoolTriggers { * users. */ override fun customSmsSender(customSmsSender: IFunction) { - cdkBuilder.customSmsSender(customSmsSender.let(IFunction::unwrap)) + cdkBuilder.customSmsSender(customSmsSender.let(IFunction.Companion::unwrap)) } /** * @param defineAuthChallenge Defines the authentication challenge. */ override fun defineAuthChallenge(defineAuthChallenge: IFunction) { - cdkBuilder.defineAuthChallenge(defineAuthChallenge.let(IFunction::unwrap)) + cdkBuilder.defineAuthChallenge(defineAuthChallenge.let(IFunction.Companion::unwrap)) } /** * @param postAuthentication A post-authentication AWS Lambda trigger. */ override fun postAuthentication(postAuthentication: IFunction) { - cdkBuilder.postAuthentication(postAuthentication.let(IFunction::unwrap)) + cdkBuilder.postAuthentication(postAuthentication.let(IFunction.Companion::unwrap)) } /** * @param postConfirmation A post-confirmation AWS Lambda trigger. */ override fun postConfirmation(postConfirmation: IFunction) { - cdkBuilder.postConfirmation(postConfirmation.let(IFunction::unwrap)) + cdkBuilder.postConfirmation(postConfirmation.let(IFunction.Companion::unwrap)) } /** * @param preAuthentication A pre-authentication AWS Lambda trigger. */ override fun preAuthentication(preAuthentication: IFunction) { - cdkBuilder.preAuthentication(preAuthentication.let(IFunction::unwrap)) + cdkBuilder.preAuthentication(preAuthentication.let(IFunction.Companion::unwrap)) } /** * @param preSignUp A pre-registration AWS Lambda trigger. */ override fun preSignUp(preSignUp: IFunction) { - cdkBuilder.preSignUp(preSignUp.let(IFunction::unwrap)) + cdkBuilder.preSignUp(preSignUp.let(IFunction.Companion::unwrap)) } /** * @param preTokenGeneration A pre-token-generation AWS Lambda trigger. */ override fun preTokenGeneration(preTokenGeneration: IFunction) { - cdkBuilder.preTokenGeneration(preTokenGeneration.let(IFunction::unwrap)) + cdkBuilder.preTokenGeneration(preTokenGeneration.let(IFunction.Companion::unwrap)) } /** * @param userMigration A user-migration AWS Lambda trigger. */ override fun userMigration(userMigration: IFunction) { - cdkBuilder.userMigration(userMigration.let(IFunction::unwrap)) + cdkBuilder.userMigration(userMigration.let(IFunction.Companion::unwrap)) } /** * @param verifyAuthChallengeResponse Verifies the authentication challenge response. */ override fun verifyAuthChallengeResponse(verifyAuthChallengeResponse: IFunction) { - cdkBuilder.verifyAuthChallengeResponse(verifyAuthChallengeResponse.let(IFunction::unwrap)) + cdkBuilder.verifyAuthChallengeResponse(verifyAuthChallengeResponse.let(IFunction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.cognito.UserPoolTriggers = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserVerificationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserVerificationConfig.kt index a704af2edd..54b10c8bad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserVerificationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/UserVerificationConfig.kt @@ -144,7 +144,7 @@ public interface UserVerificationConfig { * https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.html */ override fun emailStyle(emailStyle: VerificationEmailStyle) { - cdkBuilder.emailStyle(emailStyle.let(VerificationEmailStyle::unwrap)) + cdkBuilder.emailStyle(emailStyle.let(VerificationEmailStyle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifier.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifier.kt index 34fdd78a34..2645bbf1fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifier.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifier.kt @@ -95,8 +95,8 @@ public open class CfnDocumentClassifier( id: String, props: CfnDocumentClassifierProps, ) : - this(software.amazon.awscdk.services.comprehend.CfnDocumentClassifier(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDocumentClassifierProps::unwrap)) + this(software.amazon.awscdk.services.comprehend.CfnDocumentClassifier(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDocumentClassifierProps.Companion::unwrap)) ) public constructor( @@ -152,14 +152,14 @@ public open class CfnDocumentClassifier( * Specifies the format and location of the input data for the job. */ public open fun inputDataConfig(`value`: IResolvable) { - unwrap(this).setInputDataConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputDataConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the format and location of the input data for the job. */ public open fun inputDataConfig(`value`: DocumentClassifierInputDataConfigProperty) { - unwrap(this).setInputDataConfig(`value`.let(DocumentClassifierInputDataConfigProperty::unwrap)) + unwrap(this).setInputDataConfig(`value`.let(DocumentClassifierInputDataConfigProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnDocumentClassifier( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -237,14 +237,14 @@ public open class CfnDocumentClassifier( * Provides output results configuration parameters for custom classifier jobs. */ public open fun outputDataConfig(`value`: IResolvable) { - unwrap(this).setOutputDataConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputDataConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Provides output results configuration parameters for custom classifier jobs. */ public open fun outputDataConfig(`value`: DocumentClassifierOutputDataConfigProperty) { - unwrap(this).setOutputDataConfig(`value`.let(DocumentClassifierOutputDataConfigProperty::unwrap)) + unwrap(this).setOutputDataConfig(`value`.let(DocumentClassifierOutputDataConfigProperty.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnDocumentClassifier( * Tags to associate with the document classifier. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnDocumentClassifier( * are using for your custom classifier. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnDocumentClassifier( * are using for your custom classifier. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public open class CfnDocumentClassifier( * @param inputDataConfig Specifies the format and location of the input data for the job. */ override fun inputDataConfig(inputDataConfig: IResolvable) { - cdkBuilder.inputDataConfig(inputDataConfig.let(IResolvable::unwrap)) + cdkBuilder.inputDataConfig(inputDataConfig.let(IResolvable.Companion::unwrap)) } /** @@ -613,7 +613,7 @@ public open class CfnDocumentClassifier( * @param inputDataConfig Specifies the format and location of the input data for the job. */ override fun inputDataConfig(inputDataConfig: DocumentClassifierInputDataConfigProperty) { - cdkBuilder.inputDataConfig(inputDataConfig.let(DocumentClassifierInputDataConfigProperty::unwrap)) + cdkBuilder.inputDataConfig(inputDataConfig.let(DocumentClassifierInputDataConfigProperty.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class CfnDocumentClassifier( * classifier jobs. */ override fun outputDataConfig(outputDataConfig: IResolvable) { - cdkBuilder.outputDataConfig(outputDataConfig.let(IResolvable::unwrap)) + cdkBuilder.outputDataConfig(outputDataConfig.let(IResolvable.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class CfnDocumentClassifier( * classifier jobs. */ override fun outputDataConfig(outputDataConfig: DocumentClassifierOutputDataConfigProperty) { - cdkBuilder.outputDataConfig(outputDataConfig.let(DocumentClassifierOutputDataConfigProperty::unwrap)) + cdkBuilder.outputDataConfig(outputDataConfig.let(DocumentClassifierOutputDataConfigProperty.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnDocumentClassifier( * @param tags Tags to associate with the document classifier. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -804,7 +804,7 @@ public open class CfnDocumentClassifier( * containing the resources you are using for your custom classifier. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public open class CfnDocumentClassifier( * containing the resources you are using for your custom classifier. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -1507,7 +1507,7 @@ public open class CfnDocumentClassifier( * This parameter is required if you set `DataFormat` to `AUGMENTED_MANIFEST` . */ override fun augmentedManifests(augmentedManifests: IResolvable) { - cdkBuilder.augmentedManifests(augmentedManifests.let(IResolvable::unwrap)) + cdkBuilder.augmentedManifests(augmentedManifests.let(IResolvable.Companion::unwrap)) } /** @@ -1554,14 +1554,14 @@ public open class CfnDocumentClassifier( * @param documentReaderConfig the value to be set. */ override fun documentReaderConfig(documentReaderConfig: IResolvable) { - cdkBuilder.documentReaderConfig(documentReaderConfig.let(IResolvable::unwrap)) + cdkBuilder.documentReaderConfig(documentReaderConfig.let(IResolvable.Companion::unwrap)) } /** * @param documentReaderConfig the value to be set. */ override fun documentReaderConfig(documentReaderConfig: DocumentReaderConfigProperty) { - cdkBuilder.documentReaderConfig(documentReaderConfig.let(DocumentReaderConfigProperty::unwrap)) + cdkBuilder.documentReaderConfig(documentReaderConfig.let(DocumentReaderConfigProperty.Companion::unwrap)) } /** @@ -1587,7 +1587,7 @@ public open class CfnDocumentClassifier( * This parameter is required in a request to create a native document model. */ override fun documents(documents: IResolvable) { - cdkBuilder.documents(documents.let(IResolvable::unwrap)) + cdkBuilder.documents(documents.let(IResolvable.Companion::unwrap)) } /** @@ -1595,7 +1595,7 @@ public open class CfnDocumentClassifier( * This parameter is required in a request to create a native document model. */ override fun documents(documents: DocumentClassifierDocumentsProperty) { - cdkBuilder.documents(documents.let(DocumentClassifierDocumentsProperty::unwrap)) + cdkBuilder.documents(documents.let(DocumentClassifierDocumentsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifierProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifierProps.kt index 3beb5c8ce4..0f0ce66f60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifierProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnDocumentClassifierProps.kt @@ -396,7 +396,7 @@ public interface CfnDocumentClassifierProps { * @param inputDataConfig Specifies the format and location of the input data for the job. */ override fun inputDataConfig(inputDataConfig: IResolvable) { - cdkBuilder.inputDataConfig(inputDataConfig.let(IResolvable::unwrap)) + cdkBuilder.inputDataConfig(inputDataConfig.let(IResolvable.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface CfnDocumentClassifierProps { */ override fun inputDataConfig(inputDataConfig: CfnDocumentClassifier.DocumentClassifierInputDataConfigProperty) { - cdkBuilder.inputDataConfig(inputDataConfig.let(CfnDocumentClassifier.DocumentClassifierInputDataConfigProperty::unwrap)) + cdkBuilder.inputDataConfig(inputDataConfig.let(CfnDocumentClassifier.DocumentClassifierInputDataConfigProperty.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnDocumentClassifierProps { * classifier jobs. */ override fun outputDataConfig(outputDataConfig: IResolvable) { - cdkBuilder.outputDataConfig(outputDataConfig.let(IResolvable::unwrap)) + cdkBuilder.outputDataConfig(outputDataConfig.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnDocumentClassifierProps { */ override fun outputDataConfig(outputDataConfig: CfnDocumentClassifier.DocumentClassifierOutputDataConfigProperty) { - cdkBuilder.outputDataConfig(outputDataConfig.let(CfnDocumentClassifier.DocumentClassifierOutputDataConfigProperty::unwrap)) + cdkBuilder.outputDataConfig(outputDataConfig.let(CfnDocumentClassifier.DocumentClassifierOutputDataConfigProperty.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public interface CfnDocumentClassifierProps { * the sales department. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public interface CfnDocumentClassifierProps { * VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public interface CfnDocumentClassifierProps { * VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) . */ override fun vpcConfig(vpcConfig: CfnDocumentClassifier.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnDocumentClassifier.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnDocumentClassifier.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheel.kt index fa89cdf833..b4760810b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheel.kt @@ -93,8 +93,8 @@ public open class CfnFlywheel( id: String, props: CfnFlywheelProps, ) : - this(software.amazon.awscdk.services.comprehend.CfnFlywheel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlywheelProps::unwrap)) + this(software.amazon.awscdk.services.comprehend.CfnFlywheel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlywheelProps.Companion::unwrap)) ) public constructor( @@ -156,14 +156,14 @@ public open class CfnFlywheel( * Data security configuration. */ public open fun dataSecurityConfig(`value`: IResolvable) { - unwrap(this).setDataSecurityConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSecurityConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Data security configuration. */ public open fun dataSecurityConfig(`value`: DataSecurityConfigProperty) { - unwrap(this).setDataSecurityConfig(`value`.let(DataSecurityConfigProperty::unwrap)) + unwrap(this).setDataSecurityConfig(`value`.let(DataSecurityConfigProperty.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnFlywheel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnFlywheel( * Tags associated with the endpoint being created. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -239,14 +239,14 @@ public open class CfnFlywheel( * Configuration about the model associated with a flywheel. */ public open fun taskConfig(`value`: IResolvable) { - unwrap(this).setTaskConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTaskConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration about the model associated with a flywheel. */ public open fun taskConfig(`value`: TaskConfigProperty) { - unwrap(this).setTaskConfig(`value`.let(TaskConfigProperty::unwrap)) + unwrap(this).setTaskConfig(`value`.let(TaskConfigProperty.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnFlywheel( * @param dataSecurityConfig Data security configuration. */ override fun dataSecurityConfig(dataSecurityConfig: IResolvable) { - cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(IResolvable::unwrap)) + cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnFlywheel( * @param dataSecurityConfig Data security configuration. */ override fun dataSecurityConfig(dataSecurityConfig: DataSecurityConfigProperty) { - cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(DataSecurityConfigProperty::unwrap)) + cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(DataSecurityConfigProperty.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnFlywheel( * @param tags Tags associated with the endpoint being created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class CfnFlywheel( * @param taskConfig Configuration about the model associated with a flywheel. */ override fun taskConfig(taskConfig: IResolvable) { - cdkBuilder.taskConfig(taskConfig.let(IResolvable::unwrap)) + cdkBuilder.taskConfig(taskConfig.let(IResolvable.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public open class CfnFlywheel( * @param taskConfig Configuration about the model associated with a flywheel. */ override fun taskConfig(taskConfig: TaskConfigProperty) { - cdkBuilder.taskConfig(taskConfig.let(TaskConfigProperty::unwrap)) + cdkBuilder.taskConfig(taskConfig.let(TaskConfigProperty.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public open class CfnFlywheel( * VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class CfnFlywheel( * VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) . */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public open class CfnFlywheel( * @param entityTypes Up to 25 entity types that the model is trained to recognize. */ override fun entityTypes(entityTypes: IResolvable) { - cdkBuilder.entityTypes(entityTypes.let(IResolvable::unwrap)) + cdkBuilder.entityTypes(entityTypes.let(IResolvable.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class CfnFlywheel( * model. */ override fun documentClassificationConfig(documentClassificationConfig: IResolvable) { - cdkBuilder.documentClassificationConfig(documentClassificationConfig.let(IResolvable::unwrap)) + cdkBuilder.documentClassificationConfig(documentClassificationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1247,7 +1247,7 @@ public open class CfnFlywheel( */ override fun documentClassificationConfig(documentClassificationConfig: DocumentClassificationConfigProperty) { - cdkBuilder.documentClassificationConfig(documentClassificationConfig.let(DocumentClassificationConfigProperty::unwrap)) + cdkBuilder.documentClassificationConfig(documentClassificationConfig.let(DocumentClassificationConfigProperty.Companion::unwrap)) } /** @@ -1265,7 +1265,7 @@ public open class CfnFlywheel( * @param entityRecognitionConfig Configuration required for an entity recognition model. */ override fun entityRecognitionConfig(entityRecognitionConfig: IResolvable) { - cdkBuilder.entityRecognitionConfig(entityRecognitionConfig.let(IResolvable::unwrap)) + cdkBuilder.entityRecognitionConfig(entityRecognitionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1273,7 +1273,7 @@ public open class CfnFlywheel( */ override fun entityRecognitionConfig(entityRecognitionConfig: EntityRecognitionConfigProperty) { - cdkBuilder.entityRecognitionConfig(entityRecognitionConfig.let(EntityRecognitionConfigProperty::unwrap)) + cdkBuilder.entityRecognitionConfig(entityRecognitionConfig.let(EntityRecognitionConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheelProps.kt index 71dd2c8eb0..c620656696 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/comprehend/CfnFlywheelProps.kt @@ -233,14 +233,14 @@ public interface CfnFlywheelProps { * @param dataSecurityConfig Data security configuration. */ override fun dataSecurityConfig(dataSecurityConfig: IResolvable) { - cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(IResolvable::unwrap)) + cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(IResolvable.Companion::unwrap)) } /** * @param dataSecurityConfig Data security configuration. */ override fun dataSecurityConfig(dataSecurityConfig: CfnFlywheel.DataSecurityConfigProperty) { - cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(CfnFlywheel.DataSecurityConfigProperty::unwrap)) + cdkBuilder.dataSecurityConfig(dataSecurityConfig.let(CfnFlywheel.DataSecurityConfigProperty.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface CfnFlywheelProps { * as the key might be added to an endpoint to indicate its use by the sales department. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -286,14 +286,14 @@ public interface CfnFlywheelProps { * @param taskConfig Configuration about the model associated with a flywheel. */ override fun taskConfig(taskConfig: IResolvable) { - cdkBuilder.taskConfig(taskConfig.let(IResolvable::unwrap)) + cdkBuilder.taskConfig(taskConfig.let(IResolvable.Companion::unwrap)) } /** * @param taskConfig Configuration about the model associated with a flywheel. */ override fun taskConfig(taskConfig: CfnFlywheel.TaskConfigProperty) { - cdkBuilder.taskConfig(taskConfig.let(CfnFlywheel.TaskConfigProperty::unwrap)) + cdkBuilder.taskConfig(taskConfig.let(CfnFlywheel.TaskConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotated.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotated.kt index 7866f46d42..66b64c62f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotated.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotated.kt @@ -30,7 +30,7 @@ public open class AccessKeysRotated( cdkObject: software.amazon.awscdk.services.config.AccessKeysRotated, ) : ManagedRule(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.config.AccessKeysRotated(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.config.AccessKeysRotated(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,8 @@ public open class AccessKeysRotated( id: String, props: AccessKeysRotatedProps, ) : - this(software.amazon.awscdk.services.config.AccessKeysRotated(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AccessKeysRotatedProps::unwrap)) + this(software.amazon.awscdk.services.config.AccessKeysRotated(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AccessKeysRotatedProps.Companion::unwrap)) ) public constructor( @@ -160,7 +160,7 @@ public open class AccessKeysRotated( * @param maxAge The maximum number of days within which the access keys must be rotated. */ override fun maxAge(maxAge: Duration) { - cdkBuilder.maxAge(maxAge.let(Duration::unwrap)) + cdkBuilder.maxAge(maxAge.let(Duration.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class AccessKeysRotated( * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class AccessKeysRotated( * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.AccessKeysRotated = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotatedProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotatedProps.kt index 3a1a2c31a2..8a7792455e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotatedProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/AccessKeysRotatedProps.kt @@ -108,7 +108,7 @@ public interface AccessKeysRotatedProps : RuleProps { * @param maxAge The maximum number of days within which the access keys must be rotated. */ override fun maxAge(maxAge: Duration) { - cdkBuilder.maxAge(maxAge.let(Duration::unwrap)) + cdkBuilder.maxAge(maxAge.let(Duration.Companion::unwrap)) } /** @@ -116,14 +116,14 @@ public interface AccessKeysRotatedProps : RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.AccessKeysRotatedProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorization.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorization.kt index bd987032b2..539a674a71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorization.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorization.kt @@ -46,8 +46,8 @@ public open class CfnAggregationAuthorization( id: String, props: CfnAggregationAuthorizationProps, ) : - this(software.amazon.awscdk.services.config.CfnAggregationAuthorization(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAggregationAuthorizationProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnAggregationAuthorization(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAggregationAuthorizationProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnAggregationAuthorization( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnAggregationAuthorization( * An array of tag object. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnAggregationAuthorization( * @param tags An array of tag object. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorizationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorizationProps.kt index 429bbc71f5..8e37fcc06b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorizationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnAggregationAuthorizationProps.kt @@ -106,7 +106,7 @@ public interface CfnAggregationAuthorizationProps { * @param tags An array of tag object. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRule.kt index 8d8412ea5b..31e5cbfdd4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRule.kt @@ -120,8 +120,8 @@ public open class CfnConfigRule( id: String, props: CfnConfigRuleProps, ) : - this(software.amazon.awscdk.services.config.CfnConfigRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigRuleProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnConfigRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigRuleProps.Companion::unwrap)) ) public constructor( @@ -158,7 +158,7 @@ public open class CfnConfigRule( * contributors that affect the compliance. */ public open fun compliance(`value`: IResolvable) { - unwrap(this).setCompliance(`value`.let(IResolvable::unwrap)) + unwrap(this).setCompliance(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnConfigRule( * contributors that affect the compliance. */ public open fun compliance(`value`: ComplianceProperty) { - unwrap(this).setCompliance(`value`.let(ComplianceProperty::unwrap)) + unwrap(this).setCompliance(`value`.let(ComplianceProperty.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnConfigRule( * The modes the AWS Config rule can be evaluated in. */ public open fun evaluationModes(`value`: IResolvable) { - unwrap(this).setEvaluationModes(`value`.let(IResolvable::unwrap)) + unwrap(this).setEvaluationModes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnConfigRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -268,14 +268,14 @@ public open class CfnConfigRule( * Defines which resources can trigger an evaluation for the rule. */ public open fun scope(`value`: IResolvable) { - unwrap(this).setScope(`value`.let(IResolvable::unwrap)) + unwrap(this).setScope(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines which resources can trigger an evaluation for the rule. */ public open fun scope(`value`: ScopeProperty) { - unwrap(this).setScope(`value`.let(ScopeProperty::unwrap)) + unwrap(this).setScope(`value`.let(ScopeProperty.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnConfigRule( * the function to evaluate your AWS resources. */ public open fun source(`value`: IResolvable) { - unwrap(this).setSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSource(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnConfigRule( * the function to evaluate your AWS resources. */ public open fun source(`value`: SourceProperty) { - unwrap(this).setSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnConfigRule( * provides the number of contributors that affect the compliance. */ override fun compliance(compliance: IResolvable) { - cdkBuilder.compliance(compliance.let(IResolvable::unwrap)) + cdkBuilder.compliance(compliance.let(IResolvable.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public open class CfnConfigRule( * provides the number of contributors that affect the compliance. */ override fun compliance(compliance: ComplianceProperty) { - cdkBuilder.compliance(compliance.let(ComplianceProperty::unwrap)) + cdkBuilder.compliance(compliance.let(ComplianceProperty.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class CfnConfigRule( * @param evaluationModes The modes the AWS Config rule can be evaluated in. */ override fun evaluationModes(evaluationModes: IResolvable) { - cdkBuilder.evaluationModes(evaluationModes.let(IResolvable::unwrap)) + cdkBuilder.evaluationModes(evaluationModes.let(IResolvable.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnConfigRule( * @param scope Defines which resources can trigger an evaluation for the rule. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public open class CfnConfigRule( * @param scope Defines which resources can trigger an evaluation for the rule. */ override fun scope(scope: ScopeProperty) { - cdkBuilder.scope(scope.let(ScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(ScopeProperty.Companion::unwrap)) } /** @@ -743,7 +743,7 @@ public open class CfnConfigRule( * notifications that cause the function to evaluate your AWS resources. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public open class CfnConfigRule( * notifications that cause the function to evaluate your AWS resources. */ override fun source(source: SourceProperty) { - cdkBuilder.source(source.let(SourceProperty::unwrap)) + cdkBuilder.source(source.let(SourceProperty.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnConfigRule( * The default value is `false` . */ override fun enableDebugLogDelivery(enableDebugLogDelivery: IResolvable) { - cdkBuilder.enableDebugLogDelivery(enableDebugLogDelivery.let(IResolvable::unwrap)) + cdkBuilder.enableDebugLogDelivery(enableDebugLogDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -1879,7 +1879,7 @@ public open class CfnConfigRule( * Required when owner is set to `CUSTOM_POLICY` . */ override fun customPolicyDetails(customPolicyDetails: IResolvable) { - cdkBuilder.customPolicyDetails(customPolicyDetails.let(IResolvable::unwrap)) + cdkBuilder.customPolicyDetails(customPolicyDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1888,7 +1888,7 @@ public open class CfnConfigRule( * Required when owner is set to `CUSTOM_POLICY` . */ override fun customPolicyDetails(customPolicyDetails: CustomPolicyDetailsProperty) { - cdkBuilder.customPolicyDetails(customPolicyDetails.let(CustomPolicyDetailsProperty::unwrap)) + cdkBuilder.customPolicyDetails(customPolicyDetails.let(CustomPolicyDetailsProperty.Companion::unwrap)) } /** @@ -1929,7 +1929,7 @@ public open class CfnConfigRule( * `OversizedConfigurationItemChangeNotification` . */ override fun sourceDetails(sourceDetails: IResolvable) { - cdkBuilder.sourceDetails(sourceDetails.let(IResolvable::unwrap)) + cdkBuilder.sourceDetails(sourceDetails.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRuleProps.kt index 698a479537..c0c8118b19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigRuleProps.kt @@ -302,7 +302,7 @@ public interface CfnConfigRuleProps { * provides the number of contributors that affect the compliance. */ override fun compliance(compliance: IResolvable) { - cdkBuilder.compliance(compliance.let(IResolvable::unwrap)) + cdkBuilder.compliance(compliance.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface CfnConfigRuleProps { * provides the number of contributors that affect the compliance. */ override fun compliance(compliance: CfnConfigRule.ComplianceProperty) { - cdkBuilder.compliance(compliance.let(CfnConfigRule.ComplianceProperty::unwrap)) + cdkBuilder.compliance(compliance.let(CfnConfigRule.ComplianceProperty.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface CfnConfigRuleProps { * only. */ override fun evaluationModes(evaluationModes: IResolvable) { - cdkBuilder.evaluationModes(evaluationModes.let(IResolvable::unwrap)) + cdkBuilder.evaluationModes(evaluationModes.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public interface CfnConfigRuleProps { * The scope can be empty. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public interface CfnConfigRuleProps { * The scope can be empty. */ override fun scope(scope: CfnConfigRule.ScopeProperty) { - cdkBuilder.scope(scope.let(CfnConfigRule.ScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(CfnConfigRule.ScopeProperty.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnConfigRuleProps { * notifications that cause the function to evaluate your AWS resources. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface CfnConfigRuleProps { * notifications that cause the function to evaluate your AWS resources. */ override fun source(source: CfnConfigRule.SourceProperty) { - cdkBuilder.source(source.let(CfnConfigRule.SourceProperty::unwrap)) + cdkBuilder.source(source.let(CfnConfigRule.SourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregator.kt index cc4674bdca..1898a2459f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregator.kt @@ -59,7 +59,7 @@ public open class CfnConfigurationAggregator( cdkObject: software.amazon.awscdk.services.config.CfnConfigurationAggregator, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.config.CfnConfigurationAggregator(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.config.CfnConfigurationAggregator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -68,8 +68,8 @@ public open class CfnConfigurationAggregator( id: String, props: CfnConfigurationAggregatorProps, ) : - this(software.amazon.awscdk.services.config.CfnConfigurationAggregator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationAggregatorProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnConfigurationAggregator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationAggregatorProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnConfigurationAggregator( * Provides a list of source accounts and regions to be aggregated. */ public open fun accountAggregationSources(`value`: IResolvable) { - unwrap(this).setAccountAggregationSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccountAggregationSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnConfigurationAggregator( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -142,14 +142,14 @@ public open class CfnConfigurationAggregator( * Provides an organization and list of regions to be aggregated. */ public open fun organizationAggregationSource(`value`: IResolvable) { - unwrap(this).setOrganizationAggregationSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setOrganizationAggregationSource(`value`.let(IResolvable.Companion::unwrap)) } /** * Provides an organization and list of regions to be aggregated. */ public open fun organizationAggregationSource(`value`: OrganizationAggregationSourceProperty) { - unwrap(this).setOrganizationAggregationSource(`value`.let(OrganizationAggregationSourceProperty::unwrap)) + unwrap(this).setOrganizationAggregationSource(`value`.let(OrganizationAggregationSourceProperty.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnConfigurationAggregator( * An array of tag object. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnConfigurationAggregator( * aggregated. */ override fun accountAggregationSources(accountAggregationSources: IResolvable) { - cdkBuilder.accountAggregationSources(accountAggregationSources.let(IResolvable::unwrap)) + cdkBuilder.accountAggregationSources(accountAggregationSources.let(IResolvable.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnConfigurationAggregator( * aggregated. */ override fun organizationAggregationSource(organizationAggregationSource: IResolvable) { - cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(IResolvable::unwrap)) + cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(IResolvable.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class CfnConfigurationAggregator( */ override fun organizationAggregationSource(organizationAggregationSource: OrganizationAggregationSourceProperty) { - cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(OrganizationAggregationSourceProperty::unwrap)) + cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(OrganizationAggregationSourceProperty.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnConfigurationAggregator( * @param tags An array of tag object. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnConfigurationAggregator( * @param allAwsRegions If true, aggregate existing AWS Config regions and future regions. */ override fun allAwsRegions(allAwsRegions: IResolvable) { - cdkBuilder.allAwsRegions(allAwsRegions.let(IResolvable::unwrap)) + cdkBuilder.allAwsRegions(allAwsRegions.let(IResolvable.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public open class CfnConfigurationAggregator( * @param allAwsRegions If true, aggregate existing AWS Config regions and future regions. */ override fun allAwsRegions(allAwsRegions: IResolvable) { - cdkBuilder.allAwsRegions(allAwsRegions.let(IResolvable::unwrap)) + cdkBuilder.allAwsRegions(allAwsRegions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregatorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregatorProps.kt index ec94197477..cb468917dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregatorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationAggregatorProps.kt @@ -146,7 +146,7 @@ public interface CfnConfigurationAggregatorProps { * aggregated. */ override fun accountAggregationSources(accountAggregationSources: IResolvable) { - cdkBuilder.accountAggregationSources(accountAggregationSources.let(IResolvable::unwrap)) + cdkBuilder.accountAggregationSources(accountAggregationSources.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface CfnConfigurationAggregatorProps { * aggregated. */ override fun organizationAggregationSource(organizationAggregationSource: IResolvable) { - cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(IResolvable::unwrap)) + cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface CfnConfigurationAggregatorProps { */ override fun organizationAggregationSource(organizationAggregationSource: CfnConfigurationAggregator.OrganizationAggregationSourceProperty) { - cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(CfnConfigurationAggregator.OrganizationAggregationSourceProperty::unwrap)) + cdkBuilder.organizationAggregationSource(organizationAggregationSource.let(CfnConfigurationAggregator.OrganizationAggregationSourceProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CfnConfigurationAggregatorProps { * @param tags An array of tag object. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorder.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorder.kt index 26b57aa231..67b351e77b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorder.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorder.kt @@ -90,8 +90,8 @@ public open class CfnConfigurationRecorder( id: String, props: CfnConfigurationRecorderProps, ) : - this(software.amazon.awscdk.services.config.CfnConfigurationRecorder(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationRecorderProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnConfigurationRecorder(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationRecorderProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnConfigurationRecorder( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -142,14 +142,14 @@ public open class CfnConfigurationRecorder( * Specifies which resource types AWS Config records for configuration changes. */ public open fun recordingGroup(`value`: IResolvable) { - unwrap(this).setRecordingGroup(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecordingGroup(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies which resource types AWS Config records for configuration changes. */ public open fun recordingGroup(`value`: RecordingGroupProperty) { - unwrap(this).setRecordingGroup(`value`.let(RecordingGroupProperty::unwrap)) + unwrap(this).setRecordingGroup(`value`.let(RecordingGroupProperty.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnConfigurationRecorder( * Specifies the default recording frequency that AWS Config uses to record configuration changes. */ public open fun recordingMode(`value`: IResolvable) { - unwrap(this).setRecordingMode(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecordingMode(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the default recording frequency that AWS Config uses to record configuration changes. */ public open fun recordingMode(`value`: RecordingModeProperty) { - unwrap(this).setRecordingMode(`value`.let(RecordingModeProperty::unwrap)) + unwrap(this).setRecordingMode(`value`.let(RecordingModeProperty.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class CfnConfigurationRecorder( * changes. */ override fun recordingGroup(recordingGroup: IResolvable) { - cdkBuilder.recordingGroup(recordingGroup.let(IResolvable::unwrap)) + cdkBuilder.recordingGroup(recordingGroup.let(IResolvable.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnConfigurationRecorder( * changes. */ override fun recordingGroup(recordingGroup: RecordingGroupProperty) { - cdkBuilder.recordingGroup(recordingGroup.let(RecordingGroupProperty::unwrap)) + cdkBuilder.recordingGroup(recordingGroup.let(RecordingGroupProperty.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public open class CfnConfigurationRecorder( * configuration changes. */ override fun recordingMode(recordingMode: IResolvable) { - cdkBuilder.recordingMode(recordingMode.let(IResolvable::unwrap)) + cdkBuilder.recordingMode(recordingMode.let(IResolvable.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public open class CfnConfigurationRecorder( * configuration changes. */ override fun recordingMode(recordingMode: RecordingModeProperty) { - cdkBuilder.recordingMode(recordingMode.let(RecordingModeProperty::unwrap)) + cdkBuilder.recordingMode(recordingMode.let(RecordingModeProperty.Companion::unwrap)) } /** @@ -1633,7 +1633,7 @@ public open class CfnConfigurationRecorder( * to see if a resource type is supported in the AWS Region where you set up AWS Config . */ override fun allSupported(allSupported: IResolvable) { - cdkBuilder.allSupported(allSupported.let(IResolvable::unwrap)) + cdkBuilder.allSupported(allSupported.let(IResolvable.Companion::unwrap)) } /** @@ -1644,7 +1644,7 @@ public open class CfnConfigurationRecorder( * to `EXCLUSION_BY_RESOURCE_TYPES` . */ override fun exclusionByResourceTypes(exclusionByResourceTypes: IResolvable) { - cdkBuilder.exclusionByResourceTypes(exclusionByResourceTypes.let(IResolvable::unwrap)) + cdkBuilder.exclusionByResourceTypes(exclusionByResourceTypes.let(IResolvable.Companion::unwrap)) } /** @@ -1656,7 +1656,7 @@ public open class CfnConfigurationRecorder( */ override fun exclusionByResourceTypes(exclusionByResourceTypes: ExclusionByResourceTypesProperty) { - cdkBuilder.exclusionByResourceTypes(exclusionByResourceTypes.let(ExclusionByResourceTypesProperty::unwrap)) + cdkBuilder.exclusionByResourceTypes(exclusionByResourceTypes.let(ExclusionByResourceTypesProperty.Companion::unwrap)) } /** @@ -1812,7 +1812,7 @@ public open class CfnConfigurationRecorder( * `ResourceTypes` field in addition to setting the `IncludeGlobalResourceTypes` field to false. */ override fun includeGlobalResourceTypes(includeGlobalResourceTypes: IResolvable) { - cdkBuilder.includeGlobalResourceTypes(includeGlobalResourceTypes.let(IResolvable::unwrap)) + cdkBuilder.includeGlobalResourceTypes(includeGlobalResourceTypes.let(IResolvable.Companion::unwrap)) } /** @@ -1888,7 +1888,7 @@ public open class CfnConfigurationRecorder( * * Middle East (UAE) */ override fun recordingStrategy(recordingStrategy: IResolvable) { - cdkBuilder.recordingStrategy(recordingStrategy.let(IResolvable::unwrap)) + cdkBuilder.recordingStrategy(recordingStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -1964,7 +1964,7 @@ public open class CfnConfigurationRecorder( * * Middle East (UAE) */ override fun recordingStrategy(recordingStrategy: RecordingStrategyProperty) { - cdkBuilder.recordingStrategy(recordingStrategy.let(RecordingStrategyProperty::unwrap)) + cdkBuilder.recordingStrategy(recordingStrategy.let(RecordingStrategyProperty.Companion::unwrap)) } /** @@ -2749,7 +2749,7 @@ public open class CfnConfigurationRecorder( * override. */ override fun recordingModeOverrides(recordingModeOverrides: IResolvable) { - cdkBuilder.recordingModeOverrides(recordingModeOverrides.let(IResolvable::unwrap)) + cdkBuilder.recordingModeOverrides(recordingModeOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorderProps.kt index 9026406b02..2633282d47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConfigurationRecorderProps.kt @@ -345,7 +345,7 @@ public interface CfnConfigurationRecorderProps { * to avoid increased configuration recording and rule evaluations. */ override fun recordingGroup(recordingGroup: IResolvable) { - cdkBuilder.recordingGroup(recordingGroup.let(IResolvable::unwrap)) + cdkBuilder.recordingGroup(recordingGroup.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface CfnConfigurationRecorderProps { * to avoid increased configuration recording and rule evaluations. */ override fun recordingGroup(recordingGroup: CfnConfigurationRecorder.RecordingGroupProperty) { - cdkBuilder.recordingGroup(recordingGroup.let(CfnConfigurationRecorder.RecordingGroupProperty::unwrap)) + cdkBuilder.recordingGroup(recordingGroup.let(CfnConfigurationRecorder.RecordingGroupProperty.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public interface CfnConfigurationRecorderProps { * You can also override the recording frequency for specific resource types. */ override fun recordingMode(recordingMode: IResolvable) { - cdkBuilder.recordingMode(recordingMode.let(IResolvable::unwrap)) + cdkBuilder.recordingMode(recordingMode.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface CfnConfigurationRecorderProps { * You can also override the recording frequency for specific resource types. */ override fun recordingMode(recordingMode: CfnConfigurationRecorder.RecordingModeProperty) { - cdkBuilder.recordingMode(recordingMode.let(CfnConfigurationRecorder.RecordingModeProperty::unwrap)) + cdkBuilder.recordingMode(recordingMode.let(CfnConfigurationRecorder.RecordingModeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePack.kt index 86467036fc..88c26d5a42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePack.kt @@ -56,8 +56,8 @@ public open class CfnConformancePack( id: String, props: CfnConformancePackProps, ) : - this(software.amazon.awscdk.services.config.CfnConformancePack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConformancePackProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnConformancePack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConformancePackProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnConformancePack( * A list of ConformancePackInputParameter objects. */ public open fun conformancePackInputParameters(`value`: IResolvable) { - unwrap(this).setConformancePackInputParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setConformancePackInputParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnConformancePack( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class CfnConformancePack( * @param conformancePackInputParameters A list of ConformancePackInputParameter objects. */ override fun conformancePackInputParameters(conformancePackInputParameters: IResolvable) { - cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable::unwrap)) + cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePackProps.kt index 613145b0a0..6443a58806 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnConformancePackProps.kt @@ -180,7 +180,7 @@ public interface CfnConformancePackProps { * @param conformancePackInputParameters A list of ConformancePackInputParameter objects. */ override fun conformancePackInputParameters(conformancePackInputParameters: IResolvable) { - cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable::unwrap)) + cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannel.kt index ea4f5220f7..db4e235c69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannel.kt @@ -94,8 +94,8 @@ public open class CfnDeliveryChannel( id: String, props: CfnDeliveryChannelProps, ) : - this(software.amazon.awscdk.services.config.CfnDeliveryChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeliveryChannelProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnDeliveryChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeliveryChannelProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnDeliveryChannel( * The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket. */ public open fun configSnapshotDeliveryProperties(`value`: IResolvable) { - unwrap(this).setConfigSnapshotDeliveryProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigSnapshotDeliveryProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnDeliveryChannel( */ public open fun configSnapshotDeliveryProperties(`value`: ConfigSnapshotDeliveryPropertiesProperty) { - unwrap(this).setConfigSnapshotDeliveryProperties(`value`.let(ConfigSnapshotDeliveryPropertiesProperty::unwrap)) + unwrap(this).setConfigSnapshotDeliveryProperties(`value`.let(ConfigSnapshotDeliveryPropertiesProperty.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnDeliveryChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnDeliveryChannel( * configuration snapshots to the Amazon S3 bucket. */ override fun configSnapshotDeliveryProperties(configSnapshotDeliveryProperties: IResolvable) { - cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(IResolvable::unwrap)) + cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnDeliveryChannel( */ override fun configSnapshotDeliveryProperties(configSnapshotDeliveryProperties: ConfigSnapshotDeliveryPropertiesProperty) { - cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(ConfigSnapshotDeliveryPropertiesProperty::unwrap)) + cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(ConfigSnapshotDeliveryPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannelProps.kt index 3c91dadde4..2d67abce60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnDeliveryChannelProps.kt @@ -182,7 +182,7 @@ public interface CfnDeliveryChannelProps { * configuration snapshots to the Amazon S3 bucket. */ override fun configSnapshotDeliveryProperties(configSnapshotDeliveryProperties: IResolvable) { - cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(IResolvable::unwrap)) + cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(IResolvable.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface CfnDeliveryChannelProps { */ override fun configSnapshotDeliveryProperties(configSnapshotDeliveryProperties: CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty) { - cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty::unwrap)) + cdkBuilder.configSnapshotDeliveryProperties(configSnapshotDeliveryProperties.let(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRule.kt index a2734e71f1..e2371aa8b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRule.kt @@ -125,8 +125,8 @@ public open class CfnOrganizationConfigRule( id: String, props: CfnOrganizationConfigRuleProps, ) : - this(software.amazon.awscdk.services.config.CfnOrganizationConfigRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOrganizationConfigRuleProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnOrganizationConfigRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOrganizationConfigRuleProps.Companion::unwrap)) ) public constructor( @@ -166,7 +166,7 @@ public open class CfnOrganizationConfigRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnOrganizationConfigRule( * An object that specifies metadata for your organization's AWS Config Custom Policy rule. */ public open fun organizationCustomPolicyRuleMetadata(`value`: IResolvable) { - unwrap(this).setOrganizationCustomPolicyRuleMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setOrganizationCustomPolicyRuleMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnOrganizationConfigRule( */ public open fun organizationCustomPolicyRuleMetadata(`value`: OrganizationCustomPolicyRuleMetadataProperty) { - unwrap(this).setOrganizationCustomPolicyRuleMetadata(`value`.let(OrganizationCustomPolicyRuleMetadataProperty::unwrap)) + unwrap(this).setOrganizationCustomPolicyRuleMetadata(`value`.let(OrganizationCustomPolicyRuleMetadataProperty.Companion::unwrap)) } /** @@ -223,14 +223,14 @@ public open class CfnOrganizationConfigRule( * An `OrganizationCustomRuleMetadata` object. */ public open fun organizationCustomRuleMetadata(`value`: IResolvable) { - unwrap(this).setOrganizationCustomRuleMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setOrganizationCustomRuleMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** * An `OrganizationCustomRuleMetadata` object. */ public open fun organizationCustomRuleMetadata(`value`: OrganizationCustomRuleMetadataProperty) { - unwrap(this).setOrganizationCustomRuleMetadata(`value`.let(OrganizationCustomRuleMetadataProperty::unwrap)) + unwrap(this).setOrganizationCustomRuleMetadata(`value`.let(OrganizationCustomRuleMetadataProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnOrganizationConfigRule( * An `OrganizationManagedRuleMetadata` object. */ public open fun organizationManagedRuleMetadata(`value`: IResolvable) { - unwrap(this).setOrganizationManagedRuleMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setOrganizationManagedRuleMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnOrganizationConfigRule( */ public open fun organizationManagedRuleMetadata(`value`: OrganizationManagedRuleMetadataProperty) { - unwrap(this).setOrganizationManagedRuleMetadata(`value`.let(OrganizationManagedRuleMetadataProperty::unwrap)) + unwrap(this).setOrganizationManagedRuleMetadata(`value`.let(OrganizationManagedRuleMetadataProperty.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnOrganizationConfigRule( */ override fun organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata: IResolvable) { - cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(IResolvable::unwrap)) + cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class CfnOrganizationConfigRule( */ override fun organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata: OrganizationCustomPolicyRuleMetadataProperty) { - cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(OrganizationCustomPolicyRuleMetadataProperty::unwrap)) + cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(OrganizationCustomPolicyRuleMetadataProperty.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnOrganizationConfigRule( * @param organizationCustomRuleMetadata An `OrganizationCustomRuleMetadata` object. */ override fun organizationCustomRuleMetadata(organizationCustomRuleMetadata: IResolvable) { - cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(IResolvable::unwrap)) + cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public open class CfnOrganizationConfigRule( */ override fun organizationCustomRuleMetadata(organizationCustomRuleMetadata: OrganizationCustomRuleMetadataProperty) { - cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(OrganizationCustomRuleMetadataProperty::unwrap)) + cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(OrganizationCustomRuleMetadataProperty.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnOrganizationConfigRule( * @param organizationManagedRuleMetadata An `OrganizationManagedRuleMetadata` object. */ override fun organizationManagedRuleMetadata(organizationManagedRuleMetadata: IResolvable) { - cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(IResolvable::unwrap)) + cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnOrganizationConfigRule( */ override fun organizationManagedRuleMetadata(organizationManagedRuleMetadata: OrganizationManagedRuleMetadataProperty) { - cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(OrganizationManagedRuleMetadataProperty::unwrap)) + cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(OrganizationManagedRuleMetadataProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRuleProps.kt index 72afcb72d2..8777e5fbea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConfigRuleProps.kt @@ -240,7 +240,7 @@ public interface CfnOrganizationConfigRuleProps { */ override fun organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata: IResolvable) { - cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(IResolvable::unwrap)) + cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface CfnOrganizationConfigRuleProps { */ override fun organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata: CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty) { - cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty::unwrap)) + cdkBuilder.organizationCustomPolicyRuleMetadata(organizationCustomPolicyRuleMetadata.let(CfnOrganizationConfigRule.OrganizationCustomPolicyRuleMetadataProperty.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface CfnOrganizationConfigRuleProps { * @param organizationCustomRuleMetadata An `OrganizationCustomRuleMetadata` object. */ override fun organizationCustomRuleMetadata(organizationCustomRuleMetadata: IResolvable) { - cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(IResolvable::unwrap)) + cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface CfnOrganizationConfigRuleProps { */ override fun organizationCustomRuleMetadata(organizationCustomRuleMetadata: CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty) { - cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty::unwrap)) + cdkBuilder.organizationCustomRuleMetadata(organizationCustomRuleMetadata.let(CfnOrganizationConfigRule.OrganizationCustomRuleMetadataProperty.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public interface CfnOrganizationConfigRuleProps { * @param organizationManagedRuleMetadata An `OrganizationManagedRuleMetadata` object. */ override fun organizationManagedRuleMetadata(organizationManagedRuleMetadata: IResolvable) { - cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(IResolvable::unwrap)) + cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface CfnOrganizationConfigRuleProps { */ override fun organizationManagedRuleMetadata(organizationManagedRuleMetadata: CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty) { - cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty::unwrap)) + cdkBuilder.organizationManagedRuleMetadata(organizationManagedRuleMetadata.let(CfnOrganizationConfigRule.OrganizationManagedRuleMetadataProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePack.kt index 244fb79cd1..fdaee30845 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePack.kt @@ -57,8 +57,8 @@ public open class CfnOrganizationConformancePack( id: String, props: CfnOrganizationConformancePackProps, ) : - this(software.amazon.awscdk.services.config.CfnOrganizationConformancePack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOrganizationConformancePackProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnOrganizationConformancePack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOrganizationConformancePackProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnOrganizationConformancePack( * A list of `ConformancePackInputParameter` objects. */ public open fun conformancePackInputParameters(`value`: IResolvable) { - unwrap(this).setConformancePackInputParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setConformancePackInputParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnOrganizationConformancePack( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnOrganizationConformancePack( * @param conformancePackInputParameters A list of `ConformancePackInputParameter` objects. */ override fun conformancePackInputParameters(conformancePackInputParameters: IResolvable) { - cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable::unwrap)) + cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePackProps.kt index 74e33e663b..a9081c6071 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnOrganizationConformancePackProps.kt @@ -178,7 +178,7 @@ public interface CfnOrganizationConformancePackProps { * @param conformancePackInputParameters A list of `ConformancePackInputParameter` objects. */ override fun conformancePackInputParameters(conformancePackInputParameters: IResolvable) { - cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable::unwrap)) + cdkBuilder.conformancePackInputParameters(conformancePackInputParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfiguration.kt index 388889b817..a4c657843c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfiguration.kt @@ -61,8 +61,8 @@ public open class CfnRemediationConfiguration( id: String, props: CfnRemediationConfigurationProps, ) : - this(software.amazon.awscdk.services.config.CfnRemediationConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRemediationConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnRemediationConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRemediationConfigurationProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnRemediationConfiguration( * The remediation is triggered automatically. */ public open fun automatic(`value`: IResolvable) { - unwrap(this).setAutomatic(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutomatic(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -117,14 +117,14 @@ public open class CfnRemediationConfiguration( * An ExecutionControls object. */ public open fun executionControls(`value`: IResolvable) { - unwrap(this).setExecutionControls(`value`.let(IResolvable::unwrap)) + unwrap(this).setExecutionControls(`value`.let(IResolvable.Companion::unwrap)) } /** * An ExecutionControls object. */ public open fun executionControls(`value`: ExecutionControlsProperty) { - unwrap(this).setExecutionControls(`value`.let(ExecutionControlsProperty::unwrap)) + unwrap(this).setExecutionControls(`value`.let(ExecutionControlsProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnRemediationConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class CfnRemediationConfiguration( * @param automatic The remediation is triggered automatically. */ override fun automatic(automatic: IResolvable) { - cdkBuilder.automatic(automatic.let(IResolvable::unwrap)) + cdkBuilder.automatic(automatic.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnRemediationConfiguration( * @param executionControls An ExecutionControls object. */ override fun executionControls(executionControls: IResolvable) { - cdkBuilder.executionControls(executionControls.let(IResolvable::unwrap)) + cdkBuilder.executionControls(executionControls.let(IResolvable.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class CfnRemediationConfiguration( * @param executionControls An ExecutionControls object. */ override fun executionControls(executionControls: ExecutionControlsProperty) { - cdkBuilder.executionControls(executionControls.let(ExecutionControlsProperty::unwrap)) + cdkBuilder.executionControls(executionControls.let(ExecutionControlsProperty.Companion::unwrap)) } /** @@ -645,14 +645,14 @@ public open class CfnRemediationConfiguration( * @param ssmControls A SsmControls object. */ override fun ssmControls(ssmControls: IResolvable) { - cdkBuilder.ssmControls(ssmControls.let(IResolvable::unwrap)) + cdkBuilder.ssmControls(ssmControls.let(IResolvable.Companion::unwrap)) } /** * @param ssmControls A SsmControls object. */ override fun ssmControls(ssmControls: SsmControlsProperty) { - cdkBuilder.ssmControls(ssmControls.let(SsmControlsProperty::unwrap)) + cdkBuilder.ssmControls(ssmControls.let(SsmControlsProperty.Companion::unwrap)) } /** @@ -787,14 +787,14 @@ public open class CfnRemediationConfiguration( * @param resourceValue The value is dynamic and changes at run-time. */ override fun resourceValue(resourceValue: IResolvable) { - cdkBuilder.resourceValue(resourceValue.let(IResolvable::unwrap)) + cdkBuilder.resourceValue(resourceValue.let(IResolvable.Companion::unwrap)) } /** * @param resourceValue The value is dynamic and changes at run-time. */ override fun resourceValue(resourceValue: ResourceValueProperty) { - cdkBuilder.resourceValue(resourceValue.let(ResourceValueProperty::unwrap)) + cdkBuilder.resourceValue(resourceValue.let(ResourceValueProperty.Companion::unwrap)) } /** @@ -809,14 +809,14 @@ public open class CfnRemediationConfiguration( * @param staticValue The value is static and does not change at run-time. */ override fun staticValue(staticValue: IResolvable) { - cdkBuilder.staticValue(staticValue.let(IResolvable::unwrap)) + cdkBuilder.staticValue(staticValue.let(IResolvable.Companion::unwrap)) } /** * @param staticValue The value is static and does not change at run-time. */ override fun staticValue(staticValue: StaticValueProperty) { - cdkBuilder.staticValue(staticValue.let(StaticValueProperty::unwrap)) + cdkBuilder.staticValue(staticValue.let(StaticValueProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfigurationProps.kt index 71fef4ac48..1ce68f6d1f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnRemediationConfigurationProps.kt @@ -255,7 +255,7 @@ public interface CfnRemediationConfigurationProps { * @param automatic The remediation is triggered automatically. */ override fun automatic(automatic: IResolvable) { - cdkBuilder.automatic(automatic.let(IResolvable::unwrap)) + cdkBuilder.automatic(automatic.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface CfnRemediationConfigurationProps { * @param executionControls An ExecutionControls object. */ override fun executionControls(executionControls: IResolvable) { - cdkBuilder.executionControls(executionControls.let(IResolvable::unwrap)) + cdkBuilder.executionControls(executionControls.let(IResolvable.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public interface CfnRemediationConfigurationProps { */ override fun executionControls(executionControls: CfnRemediationConfiguration.ExecutionControlsProperty) { - cdkBuilder.executionControls(executionControls.let(CfnRemediationConfiguration.ExecutionControlsProperty::unwrap)) + cdkBuilder.executionControls(executionControls.let(CfnRemediationConfiguration.ExecutionControlsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQuery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQuery.kt index 0a117ec322..9c005be4b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQuery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQuery.kt @@ -46,8 +46,8 @@ public open class CfnStoredQuery( id: String, props: CfnStoredQueryProps, ) : - this(software.amazon.awscdk.services.config.CfnStoredQuery(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStoredQueryProps::unwrap)) + this(software.amazon.awscdk.services.config.CfnStoredQuery(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStoredQueryProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnStoredQuery( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnStoredQuery( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnStoredQuery( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQueryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQueryProps.kt index 93bf9dc855..61a08373ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQueryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CfnStoredQueryProps.kt @@ -132,7 +132,7 @@ public interface CfnStoredQueryProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheck.kt index 1070e0e6f1..2c7efc4584 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheck.kt @@ -35,7 +35,7 @@ public open class CloudFormationStackDriftDetectionCheck( cdkObject: software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck, ) : ManagedRule(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -44,8 +44,8 @@ public open class CloudFormationStackDriftDetectionCheck( id: String, props: CloudFormationStackDriftDetectionCheckProps, ) : - this(software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CloudFormationStackDriftDetectionCheckProps::unwrap)) + this(software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CloudFormationStackDriftDetectionCheckProps.Companion::unwrap)) ) public constructor( @@ -184,7 +184,7 @@ public open class CloudFormationStackDriftDetectionCheck( * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CloudFormationStackDriftDetectionCheck( * @param role The IAM role to use for this rule. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CloudFormationStackDriftDetectionCheck( * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheckProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheckProps.kt index e93bad1b37..f872fc7df7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheckProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackDriftDetectionCheckProps.kt @@ -126,7 +126,7 @@ public interface CloudFormationStackDriftDetectionCheckProps : RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -145,14 +145,14 @@ public interface CloudFormationStackDriftDetectionCheckProps : RuleProps { * https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheck.kt index 09874a58b8..8b389e12cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheck.kt @@ -37,7 +37,7 @@ public open class CloudFormationStackNotificationCheck( cdkObject: software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck, ) : ManagedRule(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class CloudFormationStackNotificationCheck( id: String, props: CloudFormationStackNotificationCheckProps, ) : - this(software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CloudFormationStackNotificationCheckProps::unwrap)) + this(software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CloudFormationStackNotificationCheckProps.Companion::unwrap)) ) public constructor( @@ -184,7 +184,7 @@ public open class CloudFormationStackNotificationCheck( * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CloudFormationStackNotificationCheck( * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CloudFormationStackNotificationCheck( * @param topics A list of allowed topics. */ override fun topics(topics: List) { - cdkBuilder.topics(topics.map(ITopic::unwrap)) + cdkBuilder.topics(topics.map(ITopic.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheckProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheckProps.kt index 51bf48ffc5..f832ecd8f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheckProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CloudFormationStackNotificationCheckProps.kt @@ -113,14 +113,14 @@ public interface CloudFormationStackNotificationCheckProps : RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface CloudFormationStackNotificationCheckProps : RuleProps { * At most 5 topics. */ override fun topics(topics: List) { - cdkBuilder.topics(topics.map(ITopic::unwrap)) + cdkBuilder.topics(topics.map(ITopic.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicy.kt index b32c22b1f5..119462843c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicy.kt @@ -43,8 +43,8 @@ public open class CustomPolicy( id: String, props: CustomPolicyProps, ) : - this(software.amazon.awscdk.services.config.CustomPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CustomPolicyProps::unwrap)) + this(software.amazon.awscdk.services.config.CustomPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CustomPolicyProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,8 @@ public open class CustomPolicy( * @param options */ public override fun onComplianceChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onComplianceChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onComplianceChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule compliance events. @@ -124,7 +125,7 @@ public open class CustomPolicy( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule events. @@ -156,7 +157,8 @@ public open class CustomPolicy( * @param options */ public override fun onReEvaluationStatus(id: String, options: OnEventOptions): Rule = - unwrap(this).onReEvaluationStatus(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReEvaluationStatus(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule re-evaluation status events. @@ -301,7 +303,7 @@ public open class CustomPolicy( * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -323,7 +325,7 @@ public open class CustomPolicy( * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.CustomPolicy = cdkBuilder.build() @@ -335,7 +337,7 @@ public open class CustomPolicy( id: String, configRuleName: String, ): IRule = - software.amazon.awscdk.services.config.CustomPolicy.fromConfigRuleName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.config.CustomPolicy.fromConfigRuleName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, configRuleName).let(IRule::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicyProps.kt index aecce913ff..8f0fdd524a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomPolicyProps.kt @@ -125,7 +125,7 @@ public interface CustomPolicyProps : RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface CustomPolicyProps : RuleProps { * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.CustomPolicyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRule.kt index 4d3df17eba..a174993223 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRule.kt @@ -45,8 +45,8 @@ public open class CustomRule( id: String, props: CustomRuleProps, ) : - this(software.amazon.awscdk.services.config.CustomRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CustomRuleProps::unwrap)) + this(software.amazon.awscdk.services.config.CustomRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CustomRuleProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,8 @@ public open class CustomRule( * @param options */ public override fun onComplianceChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onComplianceChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onComplianceChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule compliance events. @@ -126,7 +127,7 @@ public open class CustomRule( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule events. @@ -158,7 +159,8 @@ public open class CustomRule( * @param options */ public override fun onReEvaluationStatus(id: String, options: OnEventOptions): Rule = - unwrap(this).onReEvaluationStatus(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReEvaluationStatus(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule re-evaluation status events. @@ -306,7 +308,7 @@ public open class CustomRule( * @param lambdaFunction The Lambda function to run. */ override fun lambdaFunction(lambdaFunction: IFunction) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction.Companion::unwrap)) } /** @@ -318,7 +320,7 @@ public open class CustomRule( * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -341,7 +343,7 @@ public open class CustomRule( * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.CustomRule = cdkBuilder.build() @@ -353,7 +355,7 @@ public open class CustomRule( id: String, configRuleName: String, ): IRule = - software.amazon.awscdk.services.config.CustomRule.fromConfigRuleName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.config.CustomRule.fromConfigRuleName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, configRuleName).let(IRule::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRuleProps.kt index d398038117..93a66fd837 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/CustomRuleProps.kt @@ -135,7 +135,7 @@ public interface CustomRuleProps : RuleProps { * @param lambdaFunction The Lambda function to run. */ override fun lambdaFunction(lambdaFunction: IFunction) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public interface CustomRuleProps : RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface CustomRuleProps : RuleProps { * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.CustomRuleProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/IRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/IRule.kt index 2b25ec707b..9cb99817b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/IRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/IRule.kt @@ -128,7 +128,7 @@ public interface IRule : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -166,7 +166,8 @@ public interface IRule : IResource { * @param options */ override fun onComplianceChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onComplianceChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onComplianceChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a EventBridge event rule which triggers for rule compliance events. @@ -200,7 +201,7 @@ public interface IRule : IResource { * @param options */ override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule events. @@ -232,7 +233,8 @@ public interface IRule : IResource { * @param options */ override fun onReEvaluationStatus(id: String, options: OnEventOptions): Rule = - unwrap(this).onReEvaluationStatus(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReEvaluationStatus(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a EventBridge event rule which triggers for rule re-evaluation status events. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRule.kt index d534934eb1..df3cef8089 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRule.kt @@ -40,8 +40,8 @@ public open class ManagedRule( id: String, props: ManagedRuleProps, ) : - this(software.amazon.awscdk.services.config.ManagedRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ManagedRuleProps::unwrap)) + this(software.amazon.awscdk.services.config.ManagedRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ManagedRuleProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,8 @@ public open class ManagedRule( * @param options */ public override fun onComplianceChange(id: String, options: OnEventOptions): Rule = - unwrap(this).onComplianceChange(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onComplianceChange(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule compliance events. @@ -121,7 +122,7 @@ public open class ManagedRule( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule events. @@ -153,7 +154,8 @@ public open class ManagedRule( * @param options */ public override fun onReEvaluationStatus(id: String, options: OnEventOptions): Rule = - unwrap(this).onReEvaluationStatus(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onReEvaluationStatus(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an EventBridge event rule which triggers for rule re-evaluation status events. @@ -286,7 +288,7 @@ public open class ManagedRule( * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** @@ -298,7 +300,7 @@ public open class ManagedRule( * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.ManagedRule = cdkBuilder.build() @@ -310,7 +312,7 @@ public open class ManagedRule( id: String, configRuleName: String, ): IRule = - software.amazon.awscdk.services.config.ManagedRule.fromConfigRuleName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.config.ManagedRule.fromConfigRuleName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, configRuleName).let(IRule::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRuleProps.kt index cc6bdf9a21..44efcc1d2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/ManagedRuleProps.kt @@ -109,14 +109,14 @@ public interface ManagedRuleProps : RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.ManagedRuleProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleProps.kt index 530c9604ae..618b3bcfb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleProps.kt @@ -131,14 +131,14 @@ public interface RuleProps { * evaluations. */ override fun maximumExecutionFrequency(maximumExecutionFrequency: MaximumExecutionFrequency) { - cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency::unwrap)) + cdkBuilder.maximumExecutionFrequency(maximumExecutionFrequency.let(MaximumExecutionFrequency.Companion::unwrap)) } /** * @param ruleScope Defines which resources trigger an evaluation for an AWS Config rule. */ override fun ruleScope(ruleScope: RuleScope) { - cdkBuilder.ruleScope(ruleScope.let(RuleScope::unwrap)) + cdkBuilder.ruleScope(ruleScope.let(RuleScope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.config.RuleProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleScope.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleScope.kt index f97b2cf12c..00eec6577d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleScope.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/config/RuleScope.kt @@ -52,14 +52,14 @@ public open class RuleScope( public companion object { public fun fromResource(resourceType: ResourceType): RuleScope = - software.amazon.awscdk.services.config.RuleScope.fromResource(resourceType.let(ResourceType::unwrap)).let(RuleScope::wrap) + software.amazon.awscdk.services.config.RuleScope.fromResource(resourceType.let(ResourceType.Companion::unwrap)).let(RuleScope::wrap) public fun fromResource(resourceType: ResourceType, resourceId: String): RuleScope = - software.amazon.awscdk.services.config.RuleScope.fromResource(resourceType.let(ResourceType::unwrap), + software.amazon.awscdk.services.config.RuleScope.fromResource(resourceType.let(ResourceType.Companion::unwrap), resourceId).let(RuleScope::wrap) public fun fromResources(resourceTypes: List): RuleScope = - software.amazon.awscdk.services.config.RuleScope.fromResources(resourceTypes.map(ResourceType::unwrap)).let(RuleScope::wrap) + software.amazon.awscdk.services.config.RuleScope.fromResources(resourceTypes.map(ResourceType.Companion::unwrap)).let(RuleScope::wrap) public fun fromResources(vararg resourceTypes: ResourceType): RuleScope = fromResources(resourceTypes.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnApprovedOrigin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnApprovedOrigin.kt index 001fcf7ed0..e5d1f23cbd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnApprovedOrigin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnApprovedOrigin.kt @@ -37,8 +37,8 @@ public open class CfnApprovedOrigin( id: String, props: CfnApprovedOriginProps, ) : - this(software.amazon.awscdk.services.connect.CfnApprovedOrigin(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApprovedOriginProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnApprovedOrigin(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApprovedOriginProps.Companion::unwrap)) ) public constructor( @@ -54,7 +54,7 @@ public open class CfnApprovedOrigin( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlow.kt index cc4433cc02..eef2351260 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlow.kt @@ -49,8 +49,8 @@ public open class CfnContactFlow( id: String, props: CfnContactFlowProps, ) : - this(software.amazon.awscdk.services.connect.CfnContactFlow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContactFlowProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnContactFlow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContactFlowProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnContactFlow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnContactFlow( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnContactFlow( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModule.kt index 5d87e39efe..93dd9f9623 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModule.kt @@ -49,8 +49,8 @@ public open class CfnContactFlowModule( id: String, props: CfnContactFlowModuleProps, ) : - this(software.amazon.awscdk.services.connect.CfnContactFlowModule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContactFlowModuleProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnContactFlowModule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContactFlowModuleProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnContactFlowModule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnContactFlowModule( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnContactFlowModule( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModuleProps.kt index 4de2ade2f6..a0ba4b1db6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowModuleProps.kt @@ -176,7 +176,7 @@ public interface CfnContactFlowModuleProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowProps.kt index c6a11ab073..9a5ac403c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnContactFlowProps.kt @@ -205,7 +205,7 @@ public interface CfnContactFlowProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationForm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationForm.kt index 90e830188b..ea31640345 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationForm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationForm.kt @@ -122,8 +122,8 @@ public open class CfnEvaluationForm( id: String, props: CfnEvaluationFormProps, ) : - this(software.amazon.awscdk.services.connect.CfnEvaluationForm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEvaluationFormProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnEvaluationForm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEvaluationFormProps.Companion::unwrap)) ) public constructor( @@ -156,7 +156,7 @@ public open class CfnEvaluationForm( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnEvaluationForm( * Items that are part of the evaluation form. */ public open fun items(`value`: IResolvable) { - unwrap(this).setItems(`value`.let(IResolvable::unwrap)) + unwrap(this).setItems(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnEvaluationForm( * A scoring strategy of the evaluation form. */ public open fun scoringStrategy(`value`: IResolvable) { - unwrap(this).setScoringStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setScoringStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** * A scoring strategy of the evaluation form. */ public open fun scoringStrategy(`value`: ScoringStrategyProperty) { - unwrap(this).setScoringStrategy(`value`.let(ScoringStrategyProperty::unwrap)) + unwrap(this).setScoringStrategy(`value`.let(ScoringStrategyProperty.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnEvaluationForm( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CfnEvaluationForm( * @param items Items that are part of the evaluation form. */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnEvaluationForm( * @param scoringStrategy A scoring strategy of the evaluation form. */ override fun scoringStrategy(scoringStrategy: IResolvable) { - cdkBuilder.scoringStrategy(scoringStrategy.let(IResolvable::unwrap)) + cdkBuilder.scoringStrategy(scoringStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnEvaluationForm( * @param scoringStrategy A scoring strategy of the evaluation form. */ override fun scoringStrategy(scoringStrategy: ScoringStrategyProperty) { - cdkBuilder.scoringStrategy(scoringStrategy.let(ScoringStrategyProperty::unwrap)) + cdkBuilder.scoringStrategy(scoringStrategy.let(ScoringStrategyProperty.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class CfnEvaluationForm( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -704,14 +704,14 @@ public open class CfnEvaluationForm( * @param section A subsection or inner section of an item. */ override fun section(section: IResolvable) { - cdkBuilder.section(section.let(IResolvable::unwrap)) + cdkBuilder.section(section.let(IResolvable.Companion::unwrap)) } /** * @param section A subsection or inner section of an item. */ override fun section(section: EvaluationFormSectionProperty) { - cdkBuilder.section(section.let(EvaluationFormSectionProperty::unwrap)) + cdkBuilder.section(section.let(EvaluationFormSectionProperty.Companion::unwrap)) } /** @@ -898,14 +898,14 @@ public open class CfnEvaluationForm( * @param question The information of the question. */ override fun question(question: IResolvable) { - cdkBuilder.question(question.let(IResolvable::unwrap)) + cdkBuilder.question(question.let(IResolvable.Companion::unwrap)) } /** * @param question The information of the question. */ override fun question(question: EvaluationFormQuestionProperty) { - cdkBuilder.question(question.let(EvaluationFormQuestionProperty::unwrap)) + cdkBuilder.question(question.let(EvaluationFormQuestionProperty.Companion::unwrap)) } /** @@ -920,14 +920,14 @@ public open class CfnEvaluationForm( * @param section The information of the section. */ override fun section(section: IResolvable) { - cdkBuilder.section(section.let(IResolvable::unwrap)) + cdkBuilder.section(section.let(IResolvable.Companion::unwrap)) } /** * @param section The information of the section. */ override fun section(section: EvaluationFormSectionProperty) { - cdkBuilder.section(section.let(EvaluationFormSectionProperty::unwrap)) + cdkBuilder.section(section.let(EvaluationFormSectionProperty.Companion::unwrap)) } /** @@ -1040,14 +1040,14 @@ public open class CfnEvaluationForm( * @param propertyValue The property value of the automation. */ override fun propertyValue(propertyValue: IResolvable) { - cdkBuilder.propertyValue(propertyValue.let(IResolvable::unwrap)) + cdkBuilder.propertyValue(propertyValue.let(IResolvable.Companion::unwrap)) } /** * @param propertyValue The property value of the automation. */ override fun propertyValue(propertyValue: NumericQuestionPropertyValueAutomationProperty) { - cdkBuilder.propertyValue(propertyValue.let(NumericQuestionPropertyValueAutomationProperty::unwrap)) + cdkBuilder.propertyValue(propertyValue.let(NumericQuestionPropertyValueAutomationProperty.Companion::unwrap)) } /** @@ -1205,7 +1205,7 @@ public open class CfnEvaluationForm( * If an automatic fail answer is provided, the overall evaluation gets a score of 0. */ override fun automaticFail(automaticFail: IResolvable) { - cdkBuilder.automaticFail(automaticFail.let(IResolvable::unwrap)) + cdkBuilder.automaticFail(automaticFail.let(IResolvable.Companion::unwrap)) } /** @@ -1413,14 +1413,14 @@ public open class CfnEvaluationForm( * @param automation The automation properties of the numeric question. */ override fun automation(automation: IResolvable) { - cdkBuilder.automation(automation.let(IResolvable::unwrap)) + cdkBuilder.automation(automation.let(IResolvable.Companion::unwrap)) } /** * @param automation The automation properties of the numeric question. */ override fun automation(automation: EvaluationFormNumericQuestionAutomationProperty) { - cdkBuilder.automation(automation.let(EvaluationFormNumericQuestionAutomationProperty::unwrap)) + cdkBuilder.automation(automation.let(EvaluationFormNumericQuestionAutomationProperty.Companion::unwrap)) } /** @@ -1450,7 +1450,7 @@ public open class CfnEvaluationForm( * @param options The scoring options of the numeric question. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -1745,7 +1745,7 @@ public open class CfnEvaluationForm( * @param notApplicableEnabled The flag to enable not applicable answers to the question. */ override fun notApplicableEnabled(notApplicableEnabled: IResolvable) { - cdkBuilder.notApplicableEnabled(notApplicableEnabled.let(IResolvable::unwrap)) + cdkBuilder.notApplicableEnabled(notApplicableEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1761,7 +1761,7 @@ public open class CfnEvaluationForm( * Text questions do not have to define question type properties. */ override fun questionTypeProperties(questionTypeProperties: IResolvable) { - cdkBuilder.questionTypeProperties(questionTypeProperties.let(IResolvable::unwrap)) + cdkBuilder.questionTypeProperties(questionTypeProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1770,7 +1770,7 @@ public open class CfnEvaluationForm( */ override fun questionTypeProperties(questionTypeProperties: EvaluationFormQuestionTypePropertiesProperty) { - cdkBuilder.questionTypeProperties(questionTypeProperties.let(EvaluationFormQuestionTypePropertiesProperty::unwrap)) + cdkBuilder.questionTypeProperties(questionTypeProperties.let(EvaluationFormQuestionTypePropertiesProperty.Companion::unwrap)) } /** @@ -2025,14 +2025,14 @@ public open class CfnEvaluationForm( * @param numeric The properties of the numeric question. */ override fun numeric(numeric: IResolvable) { - cdkBuilder.numeric(numeric.let(IResolvable::unwrap)) + cdkBuilder.numeric(numeric.let(IResolvable.Companion::unwrap)) } /** * @param numeric The properties of the numeric question. */ override fun numeric(numeric: EvaluationFormNumericQuestionPropertiesProperty) { - cdkBuilder.numeric(numeric.let(EvaluationFormNumericQuestionPropertiesProperty::unwrap)) + cdkBuilder.numeric(numeric.let(EvaluationFormNumericQuestionPropertiesProperty.Companion::unwrap)) } /** @@ -2048,7 +2048,7 @@ public open class CfnEvaluationForm( * @param singleSelect The properties of the numeric question. */ override fun singleSelect(singleSelect: IResolvable) { - cdkBuilder.singleSelect(singleSelect.let(IResolvable::unwrap)) + cdkBuilder.singleSelect(singleSelect.let(IResolvable.Companion::unwrap)) } /** @@ -2056,7 +2056,7 @@ public open class CfnEvaluationForm( */ override fun singleSelect(singleSelect: EvaluationFormSingleSelectQuestionPropertiesProperty) { - cdkBuilder.singleSelect(singleSelect.let(EvaluationFormSingleSelectQuestionPropertiesProperty::unwrap)) + cdkBuilder.singleSelect(singleSelect.let(EvaluationFormSingleSelectQuestionPropertiesProperty.Companion::unwrap)) } /** @@ -2302,7 +2302,7 @@ public open class CfnEvaluationForm( * *Minimum* : 1 */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -2486,7 +2486,7 @@ public open class CfnEvaluationForm( * question. */ override fun ruleCategory(ruleCategory: IResolvable) { - cdkBuilder.ruleCategory(ruleCategory.let(IResolvable::unwrap)) + cdkBuilder.ruleCategory(ruleCategory.let(IResolvable.Companion::unwrap)) } /** @@ -2494,7 +2494,7 @@ public open class CfnEvaluationForm( * question. */ override fun ruleCategory(ruleCategory: SingleSelectQuestionRuleCategoryAutomationProperty) { - cdkBuilder.ruleCategory(ruleCategory.let(SingleSelectQuestionRuleCategoryAutomationProperty::unwrap)) + cdkBuilder.ruleCategory(ruleCategory.let(SingleSelectQuestionRuleCategoryAutomationProperty.Companion::unwrap)) } /** @@ -2653,7 +2653,7 @@ public open class CfnEvaluationForm( * *Maximum* : 20 */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -2842,7 +2842,7 @@ public open class CfnEvaluationForm( * If an automatic fail answer is provided, the overall evaluation gets a score of 0. */ override fun automaticFail(automaticFail: IResolvable) { - cdkBuilder.automaticFail(automaticFail.let(IResolvable::unwrap)) + cdkBuilder.automaticFail(automaticFail.let(IResolvable.Companion::unwrap)) } /** @@ -3067,14 +3067,14 @@ public open class CfnEvaluationForm( * @param automation The display mode of the single select question. */ override fun automation(automation: IResolvable) { - cdkBuilder.automation(automation.let(IResolvable::unwrap)) + cdkBuilder.automation(automation.let(IResolvable.Companion::unwrap)) } /** * @param automation The display mode of the single select question. */ override fun automation(automation: EvaluationFormSingleSelectQuestionAutomationProperty) { - cdkBuilder.automation(automation.let(EvaluationFormSingleSelectQuestionAutomationProperty::unwrap)) + cdkBuilder.automation(automation.let(EvaluationFormSingleSelectQuestionAutomationProperty.Companion::unwrap)) } /** @@ -3101,7 +3101,7 @@ public open class CfnEvaluationForm( * *Maximum* : 256 */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationFormProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationFormProps.kt index e149f5f9bd..eb870ad1a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationFormProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnEvaluationFormProps.kt @@ -289,7 +289,7 @@ public interface CfnEvaluationFormProps { * *Maximum size* : 100 */ override fun items(items: IResolvable) { - cdkBuilder.items(items.let(IResolvable::unwrap)) + cdkBuilder.items(items.let(IResolvable.Companion::unwrap)) } /** @@ -320,14 +320,14 @@ public interface CfnEvaluationFormProps { * @param scoringStrategy A scoring strategy of the evaluation form. */ override fun scoringStrategy(scoringStrategy: IResolvable) { - cdkBuilder.scoringStrategy(scoringStrategy.let(IResolvable::unwrap)) + cdkBuilder.scoringStrategy(scoringStrategy.let(IResolvable.Companion::unwrap)) } /** * @param scoringStrategy A scoring strategy of the evaluation form. */ override fun scoringStrategy(scoringStrategy: CfnEvaluationForm.ScoringStrategyProperty) { - cdkBuilder.scoringStrategy(scoringStrategy.let(CfnEvaluationForm.ScoringStrategyProperty::unwrap)) + cdkBuilder.scoringStrategy(scoringStrategy.let(CfnEvaluationForm.ScoringStrategyProperty.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface CfnEvaluationFormProps { * For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperation.kt index 516f016b2e..4154ed05e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperation.kt @@ -65,8 +65,8 @@ public open class CfnHoursOfOperation( id: String, props: CfnHoursOfOperationProps, ) : - this(software.amazon.awscdk.services.connect.CfnHoursOfOperation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHoursOfOperationProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnHoursOfOperation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHoursOfOperationProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnHoursOfOperation( * Configuration information for the hours of operation. */ public open fun config(`value`: IResolvable) { - unwrap(this).setConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnHoursOfOperation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnHoursOfOperation( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnHoursOfOperation( * @param config Configuration information for the hours of operation. */ override fun config(config: IResolvable) { - cdkBuilder.config(config.let(IResolvable::unwrap)) + cdkBuilder.config(config.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnHoursOfOperation( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -498,14 +498,14 @@ public open class CfnHoursOfOperation( * @param endTime The end time that your contact center closes. */ override fun endTime(endTime: IResolvable) { - cdkBuilder.endTime(endTime.let(IResolvable::unwrap)) + cdkBuilder.endTime(endTime.let(IResolvable.Companion::unwrap)) } /** * @param endTime The end time that your contact center closes. */ override fun endTime(endTime: HoursOfOperationTimeSliceProperty) { - cdkBuilder.endTime(endTime.let(HoursOfOperationTimeSliceProperty::unwrap)) + cdkBuilder.endTime(endTime.let(HoursOfOperationTimeSliceProperty.Companion::unwrap)) } /** @@ -520,14 +520,14 @@ public open class CfnHoursOfOperation( * @param startTime The start time that your contact center opens. */ override fun startTime(startTime: IResolvable) { - cdkBuilder.startTime(startTime.let(IResolvable::unwrap)) + cdkBuilder.startTime(startTime.let(IResolvable.Companion::unwrap)) } /** * @param startTime The start time that your contact center opens. */ override fun startTime(startTime: HoursOfOperationTimeSliceProperty) { - cdkBuilder.startTime(startTime.let(HoursOfOperationTimeSliceProperty::unwrap)) + cdkBuilder.startTime(startTime.let(HoursOfOperationTimeSliceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperationProps.kt index c41a94c1a9..ddadb73246 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnHoursOfOperationProps.kt @@ -153,7 +153,7 @@ public interface CfnHoursOfOperationProps { * @param config Configuration information for the hours of operation. */ override fun config(config: IResolvable) { - cdkBuilder.config(config.let(IResolvable::unwrap)) + cdkBuilder.config(config.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnHoursOfOperationProps { * For example, { "Tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstance.kt index 543754addf..5ee1f09c21 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstance.kt @@ -70,8 +70,8 @@ public open class CfnInstance( id: String, props: CfnInstanceProps, ) : - this(software.amazon.awscdk.services.connect.CfnInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProps.Companion::unwrap)) ) public constructor( @@ -117,14 +117,14 @@ public open class CfnInstance( * A toggle for an individual feature at the instance level. */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * A toggle for an individual feature at the instance level. */ public open fun attributes(`value`: AttributesProperty) { - unwrap(this).setAttributes(`value`.let(AttributesProperty::unwrap)) + unwrap(this).setAttributes(`value`.let(AttributesProperty.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnInstance( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnInstance( * @param attributes A toggle for an individual feature at the instance level. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnInstance( * @param attributes A toggle for an individual feature at the instance level. */ override fun attributes(attributes: AttributesProperty) { - cdkBuilder.attributes(attributes.let(AttributesProperty::unwrap)) + cdkBuilder.attributes(attributes.let(AttributesProperty.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnInstance( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnInstance( * instance. */ override fun autoResolveBestVoices(autoResolveBestVoices: IResolvable) { - cdkBuilder.autoResolveBestVoices(autoResolveBestVoices.let(IResolvable::unwrap)) + cdkBuilder.autoResolveBestVoices(autoResolveBestVoices.let(IResolvable.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public open class CfnInstance( * @param contactLens Boolean flag which enables CONTACT_LENS on an instance. */ override fun contactLens(contactLens: IResolvable) { - cdkBuilder.contactLens(contactLens.let(IResolvable::unwrap)) + cdkBuilder.contactLens(contactLens.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnInstance( * @param contactflowLogs Boolean flag which enables CONTACTFLOW_LOGS on an instance. */ override fun contactflowLogs(contactflowLogs: IResolvable) { - cdkBuilder.contactflowLogs(contactflowLogs.let(IResolvable::unwrap)) + cdkBuilder.contactflowLogs(contactflowLogs.let(IResolvable.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public open class CfnInstance( * @param earlyMedia Boolean flag which enables EARLY_MEDIA on an instance. */ override fun earlyMedia(earlyMedia: IResolvable) { - cdkBuilder.earlyMedia(earlyMedia.let(IResolvable::unwrap)) + cdkBuilder.earlyMedia(earlyMedia.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnInstance( * @param inboundCalls Mandatory element which enables inbound calls on new instance. */ override fun inboundCalls(inboundCalls: IResolvable) { - cdkBuilder.inboundCalls(inboundCalls.let(IResolvable::unwrap)) + cdkBuilder.inboundCalls(inboundCalls.let(IResolvable.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnInstance( * @param outboundCalls Mandatory element which enables outbound calls on new instance. */ override fun outboundCalls(outboundCalls: IResolvable) { - cdkBuilder.outboundCalls(outboundCalls.let(IResolvable::unwrap)) + cdkBuilder.outboundCalls(outboundCalls.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public open class CfnInstance( * @param useCustomTtsVoices Boolean flag which enables USE_CUSTOM_TTS_VOICES on an instance. */ override fun useCustomTtsVoices(useCustomTtsVoices: IResolvable) { - cdkBuilder.useCustomTtsVoices(useCustomTtsVoices.let(IResolvable::unwrap)) + cdkBuilder.useCustomTtsVoices(useCustomTtsVoices.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.connect.CfnInstance.AttributesProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceProps.kt index 8089d6ad2c..2162b2b6a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceProps.kt @@ -143,14 +143,14 @@ public interface CfnInstanceProps { * @param attributes A toggle for an individual feature at the instance level. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** * @param attributes A toggle for an individual feature at the instance level. */ override fun attributes(attributes: CfnInstance.AttributesProperty) { - cdkBuilder.attributes(attributes.let(CfnInstance.AttributesProperty::unwrap)) + cdkBuilder.attributes(attributes.let(CfnInstance.AttributesProperty.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface CfnInstanceProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfig.kt index dae9e75d5c..bff725a891 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfig.kt @@ -68,8 +68,8 @@ public open class CfnInstanceStorageConfig( id: String, props: CfnInstanceStorageConfigProps, ) : - this(software.amazon.awscdk.services.connect.CfnInstanceStorageConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceStorageConfigProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnInstanceStorageConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceStorageConfigProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnInstanceStorageConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,14 +115,14 @@ public open class CfnInstanceStorageConfig( * The configuration of the Kinesis Firehose delivery stream. */ public open fun kinesisFirehoseConfig(`value`: IResolvable) { - unwrap(this).setKinesisFirehoseConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisFirehoseConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of the Kinesis Firehose delivery stream. */ public open fun kinesisFirehoseConfig(`value`: KinesisFirehoseConfigProperty) { - unwrap(this).setKinesisFirehoseConfig(`value`.let(KinesisFirehoseConfigProperty::unwrap)) + unwrap(this).setKinesisFirehoseConfig(`value`.let(KinesisFirehoseConfigProperty.Companion::unwrap)) } /** @@ -142,14 +142,14 @@ public open class CfnInstanceStorageConfig( * The configuration of the Kinesis data stream. */ public open fun kinesisStreamConfig(`value`: IResolvable) { - unwrap(this).setKinesisStreamConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisStreamConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of the Kinesis data stream. */ public open fun kinesisStreamConfig(`value`: KinesisStreamConfigProperty) { - unwrap(this).setKinesisStreamConfig(`value`.let(KinesisStreamConfigProperty::unwrap)) + unwrap(this).setKinesisStreamConfig(`value`.let(KinesisStreamConfigProperty.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnInstanceStorageConfig( * The configuration of the Kinesis video stream. */ public open fun kinesisVideoStreamConfig(`value`: IResolvable) { - unwrap(this).setKinesisVideoStreamConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisVideoStreamConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of the Kinesis video stream. */ public open fun kinesisVideoStreamConfig(`value`: KinesisVideoStreamConfigProperty) { - unwrap(this).setKinesisVideoStreamConfig(`value`.let(KinesisVideoStreamConfigProperty::unwrap)) + unwrap(this).setKinesisVideoStreamConfig(`value`.let(KinesisVideoStreamConfigProperty.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public open class CfnInstanceStorageConfig( * The S3 bucket configuration. */ public open fun s3Config(`value`: IResolvable) { - unwrap(this).setS3Config(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3Config(`value`.let(IResolvable.Companion::unwrap)) } /** * The S3 bucket configuration. */ public open fun s3Config(`value`: S3ConfigProperty) { - unwrap(this).setS3Config(`value`.let(S3ConfigProperty::unwrap)) + unwrap(this).setS3Config(`value`.let(S3ConfigProperty.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CfnInstanceStorageConfig( * @param kinesisFirehoseConfig The configuration of the Kinesis Firehose delivery stream. */ override fun kinesisFirehoseConfig(kinesisFirehoseConfig: IResolvable) { - cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnInstanceStorageConfig( * @param kinesisFirehoseConfig The configuration of the Kinesis Firehose delivery stream. */ override fun kinesisFirehoseConfig(kinesisFirehoseConfig: KinesisFirehoseConfigProperty) { - cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(KinesisFirehoseConfigProperty::unwrap)) + cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(KinesisFirehoseConfigProperty.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnInstanceStorageConfig( * @param kinesisStreamConfig The configuration of the Kinesis data stream. */ override fun kinesisStreamConfig(kinesisStreamConfig: IResolvable) { - cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnInstanceStorageConfig( * @param kinesisStreamConfig The configuration of the Kinesis data stream. */ override fun kinesisStreamConfig(kinesisStreamConfig: KinesisStreamConfigProperty) { - cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(KinesisStreamConfigProperty::unwrap)) + cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(KinesisStreamConfigProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnInstanceStorageConfig( * @param kinesisVideoStreamConfig The configuration of the Kinesis video stream. */ override fun kinesisVideoStreamConfig(kinesisVideoStreamConfig: IResolvable) { - cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(IResolvable.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnInstanceStorageConfig( */ override fun kinesisVideoStreamConfig(kinesisVideoStreamConfig: KinesisVideoStreamConfigProperty) { - cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(KinesisVideoStreamConfigProperty::unwrap)) + cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(KinesisVideoStreamConfigProperty.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnInstanceStorageConfig( * @param s3Config The S3 bucket configuration. */ override fun s3Config(s3Config: IResolvable) { - cdkBuilder.s3Config(s3Config.let(IResolvable::unwrap)) + cdkBuilder.s3Config(s3Config.let(IResolvable.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnInstanceStorageConfig( * @param s3Config The S3 bucket configuration. */ override fun s3Config(s3Config: S3ConfigProperty) { - cdkBuilder.s3Config(s3Config.let(S3ConfigProperty::unwrap)) + cdkBuilder.s3Config(s3Config.let(S3ConfigProperty.Companion::unwrap)) } /** @@ -968,14 +968,14 @@ public open class CfnInstanceStorageConfig( * @param encryptionConfig The encryption configuration. */ override fun encryptionConfig(encryptionConfig: IResolvable) { - cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable.Companion::unwrap)) } /** * @param encryptionConfig The encryption configuration. */ override fun encryptionConfig(encryptionConfig: EncryptionConfigProperty) { - cdkBuilder.encryptionConfig(encryptionConfig.let(EncryptionConfigProperty::unwrap)) + cdkBuilder.encryptionConfig(encryptionConfig.let(EncryptionConfigProperty.Companion::unwrap)) } /** @@ -1156,14 +1156,14 @@ public open class CfnInstanceStorageConfig( * @param encryptionConfig The Amazon S3 encryption configuration. */ override fun encryptionConfig(encryptionConfig: IResolvable) { - cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable.Companion::unwrap)) } /** * @param encryptionConfig The Amazon S3 encryption configuration. */ override fun encryptionConfig(encryptionConfig: EncryptionConfigProperty) { - cdkBuilder.encryptionConfig(encryptionConfig.let(EncryptionConfigProperty::unwrap)) + cdkBuilder.encryptionConfig(encryptionConfig.let(EncryptionConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfigProps.kt index 326ac1850d..8a07c8bc00 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnInstanceStorageConfigProps.kt @@ -220,7 +220,7 @@ public interface CfnInstanceStorageConfigProps { * @param kinesisFirehoseConfig The configuration of the Kinesis Firehose delivery stream. */ override fun kinesisFirehoseConfig(kinesisFirehoseConfig: IResolvable) { - cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface CfnInstanceStorageConfigProps { */ override fun kinesisFirehoseConfig(kinesisFirehoseConfig: CfnInstanceStorageConfig.KinesisFirehoseConfigProperty) { - cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(CfnInstanceStorageConfig.KinesisFirehoseConfigProperty::unwrap)) + cdkBuilder.kinesisFirehoseConfig(kinesisFirehoseConfig.let(CfnInstanceStorageConfig.KinesisFirehoseConfigProperty.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface CfnInstanceStorageConfigProps { * @param kinesisStreamConfig The configuration of the Kinesis data stream. */ override fun kinesisStreamConfig(kinesisStreamConfig: IResolvable) { - cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnInstanceStorageConfigProps { */ override fun kinesisStreamConfig(kinesisStreamConfig: CfnInstanceStorageConfig.KinesisStreamConfigProperty) { - cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(CfnInstanceStorageConfig.KinesisStreamConfigProperty::unwrap)) + cdkBuilder.kinesisStreamConfig(kinesisStreamConfig.let(CfnInstanceStorageConfig.KinesisStreamConfigProperty.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CfnInstanceStorageConfigProps { * @param kinesisVideoStreamConfig The configuration of the Kinesis video stream. */ override fun kinesisVideoStreamConfig(kinesisVideoStreamConfig: IResolvable) { - cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(IResolvable::unwrap)) + cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnInstanceStorageConfigProps { */ override fun kinesisVideoStreamConfig(kinesisVideoStreamConfig: CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty) { - cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty::unwrap)) + cdkBuilder.kinesisVideoStreamConfig(kinesisVideoStreamConfig.let(CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Companion::unwrap)) } /** @@ -304,14 +304,14 @@ public interface CfnInstanceStorageConfigProps { * @param s3Config The S3 bucket configuration. */ override fun s3Config(s3Config: IResolvable) { - cdkBuilder.s3Config(s3Config.let(IResolvable::unwrap)) + cdkBuilder.s3Config(s3Config.let(IResolvable.Companion::unwrap)) } /** * @param s3Config The S3 bucket configuration. */ override fun s3Config(s3Config: CfnInstanceStorageConfig.S3ConfigProperty) { - cdkBuilder.s3Config(s3Config.let(CfnInstanceStorageConfig.S3ConfigProperty::unwrap)) + cdkBuilder.s3Config(s3Config.let(CfnInstanceStorageConfig.S3ConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnIntegrationAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnIntegrationAssociation.kt index 9f43eefa46..b6a9351402 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnIntegrationAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnIntegrationAssociation.kt @@ -39,8 +39,8 @@ public open class CfnIntegrationAssociation( id: String, props: CfnIntegrationAssociationProps, ) : - this(software.amazon.awscdk.services.connect.CfnIntegrationAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIntegrationAssociationProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnIntegrationAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIntegrationAssociationProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class CfnIntegrationAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumber.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumber.kt index 7a549a59ed..4056d3d7a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumber.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumber.kt @@ -49,8 +49,8 @@ public open class CfnPhoneNumber( id: String, props: CfnPhoneNumberProps, ) : - this(software.amazon.awscdk.services.connect.CfnPhoneNumber(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPhoneNumberProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnPhoneNumber(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPhoneNumberProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnPhoneNumber( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnPhoneNumber( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnPhoneNumber( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumberProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumberProps.kt index 1159282574..1a4ced8e03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumberProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPhoneNumberProps.kt @@ -191,7 +191,7 @@ public interface CfnPhoneNumberProps { * For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttribute.kt index dc79501a94..29fd6bce2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttribute.kt @@ -46,8 +46,8 @@ public open class CfnPredefinedAttribute( id: String, props: CfnPredefinedAttributeProps, ) : - this(software.amazon.awscdk.services.connect.CfnPredefinedAttribute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPredefinedAttributeProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnPredefinedAttribute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPredefinedAttributeProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnPredefinedAttribute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -110,14 +110,14 @@ public open class CfnPredefinedAttribute( * The values of a predefined attribute. */ public open fun values(`value`: IResolvable) { - unwrap(this).setValues(`value`.let(IResolvable::unwrap)) + unwrap(this).setValues(`value`.let(IResolvable.Companion::unwrap)) } /** * The values of a predefined attribute. */ public open fun values(`value`: ValuesProperty) { - unwrap(this).setValues(`value`.let(ValuesProperty::unwrap)) + unwrap(this).setValues(`value`.let(ValuesProperty.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnPredefinedAttribute( * @param values The values of a predefined attribute. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnPredefinedAttribute( * @param values The values of a predefined attribute. */ override fun values(values: ValuesProperty) { - cdkBuilder.values(values.let(ValuesProperty::unwrap)) + cdkBuilder.values(values.let(ValuesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttributeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttributeProps.kt index bb6ff11c01..7fbe99da6b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttributeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPredefinedAttributeProps.kt @@ -109,14 +109,14 @@ public interface CfnPredefinedAttributeProps { * @param values The values of a predefined attribute. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** * @param values The values of a predefined attribute. */ override fun values(values: CfnPredefinedAttribute.ValuesProperty) { - cdkBuilder.values(values.let(CfnPredefinedAttribute.ValuesProperty::unwrap)) + cdkBuilder.values(values.let(CfnPredefinedAttribute.ValuesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPrompt.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPrompt.kt index dc010c313a..83b74fb6bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPrompt.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPrompt.kt @@ -47,8 +47,8 @@ public open class CfnPrompt( id: String, props: CfnPromptProps, ) : - this(software.amazon.awscdk.services.connect.CfnPrompt(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPromptProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnPrompt(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPromptProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnPrompt( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnPrompt( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnPrompt( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPromptProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPromptProps.kt index 48d98350f3..701c878ac2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPromptProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnPromptProps.kt @@ -151,7 +151,7 @@ public interface CfnPromptProps { * For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueue.kt index c4edb4ecba..e3174cf9cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueue.kt @@ -61,8 +61,8 @@ public open class CfnQueue( id: String, props: CfnQueueProps, ) : - this(software.amazon.awscdk.services.connect.CfnQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnQueue( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -166,14 +166,14 @@ public open class CfnQueue( * The outbound caller ID name, number, and outbound whisper flow. */ public open fun outboundCallerConfig(`value`: IResolvable) { - unwrap(this).setOutboundCallerConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutboundCallerConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The outbound caller ID name, number, and outbound whisper flow. */ public open fun outboundCallerConfig(`value`: OutboundCallerConfigProperty) { - unwrap(this).setOutboundCallerConfig(`value`.let(OutboundCallerConfigProperty::unwrap)) + unwrap(this).setOutboundCallerConfig(`value`.let(OutboundCallerConfigProperty.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnQueue( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class CfnQueue( * @param outboundCallerConfig The outbound caller ID name, number, and outbound whisper flow. */ override fun outboundCallerConfig(outboundCallerConfig: IResolvable) { - cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(IResolvable::unwrap)) + cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnQueue( * @param outboundCallerConfig The outbound caller ID name, number, and outbound whisper flow. */ override fun outboundCallerConfig(outboundCallerConfig: OutboundCallerConfigProperty) { - cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(OutboundCallerConfigProperty::unwrap)) + cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(OutboundCallerConfigProperty.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnQueue( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueueProps.kt index d9f6c960f9..ddb0bd49a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQueueProps.kt @@ -236,14 +236,14 @@ public interface CfnQueueProps { * @param outboundCallerConfig The outbound caller ID name, number, and outbound whisper flow. */ override fun outboundCallerConfig(outboundCallerConfig: IResolvable) { - cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(IResolvable::unwrap)) + cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(IResolvable.Companion::unwrap)) } /** * @param outboundCallerConfig The outbound caller ID name, number, and outbound whisper flow. */ override fun outboundCallerConfig(outboundCallerConfig: CfnQueue.OutboundCallerConfigProperty) { - cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(CfnQueue.OutboundCallerConfigProperty::unwrap)) + cdkBuilder.outboundCallerConfig(outboundCallerConfig.let(CfnQueue.OutboundCallerConfigProperty.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public interface CfnQueueProps { * For example, { "Tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnect.kt index af4d4e86e6..9dc67b2e48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnect.kt @@ -66,8 +66,8 @@ public open class CfnQuickConnect( id: String, props: CfnQuickConnectProps, ) : - this(software.amazon.awscdk.services.connect.CfnQuickConnect(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQuickConnectProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnQuickConnect(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQuickConnectProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnQuickConnect( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -144,14 +144,14 @@ public open class CfnQuickConnect( * Contains information about the quick connect. */ public open fun quickConnectConfig(`value`: IResolvable) { - unwrap(this).setQuickConnectConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setQuickConnectConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about the quick connect. */ public open fun quickConnectConfig(`value`: QuickConnectConfigProperty) { - unwrap(this).setQuickConnectConfig(`value`.let(QuickConnectConfigProperty::unwrap)) + unwrap(this).setQuickConnectConfig(`value`.let(QuickConnectConfigProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnQuickConnect( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnQuickConnect( * @param quickConnectConfig Contains information about the quick connect. */ override fun quickConnectConfig(quickConnectConfig: IResolvable) { - cdkBuilder.quickConnectConfig(quickConnectConfig.let(IResolvable::unwrap)) + cdkBuilder.quickConnectConfig(quickConnectConfig.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnQuickConnect( * @param quickConnectConfig Contains information about the quick connect. */ override fun quickConnectConfig(quickConnectConfig: QuickConnectConfigProperty) { - cdkBuilder.quickConnectConfig(quickConnectConfig.let(QuickConnectConfigProperty::unwrap)) + cdkBuilder.quickConnectConfig(quickConnectConfig.let(QuickConnectConfigProperty.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnQuickConnect( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnQuickConnect( * This is required only if QuickConnectType is PHONE_NUMBER. */ override fun phoneConfig(phoneConfig: IResolvable) { - cdkBuilder.phoneConfig(phoneConfig.let(IResolvable::unwrap)) + cdkBuilder.phoneConfig(phoneConfig.let(IResolvable.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class CfnQuickConnect( * This is required only if QuickConnectType is PHONE_NUMBER. */ override fun phoneConfig(phoneConfig: PhoneNumberQuickConnectConfigProperty) { - cdkBuilder.phoneConfig(phoneConfig.let(PhoneNumberQuickConnectConfigProperty::unwrap)) + cdkBuilder.phoneConfig(phoneConfig.let(PhoneNumberQuickConnectConfigProperty.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class CfnQuickConnect( * This is required only if QuickConnectType is QUEUE. */ override fun queueConfig(queueConfig: IResolvable) { - cdkBuilder.queueConfig(queueConfig.let(IResolvable::unwrap)) + cdkBuilder.queueConfig(queueConfig.let(IResolvable.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public open class CfnQuickConnect( * This is required only if QuickConnectType is QUEUE. */ override fun queueConfig(queueConfig: QueueQuickConnectConfigProperty) { - cdkBuilder.queueConfig(queueConfig.let(QueueQuickConnectConfigProperty::unwrap)) + cdkBuilder.queueConfig(queueConfig.let(QueueQuickConnectConfigProperty.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class CfnQuickConnect( * This is required only if QuickConnectType is USER. */ override fun userConfig(userConfig: IResolvable) { - cdkBuilder.userConfig(userConfig.let(IResolvable::unwrap)) + cdkBuilder.userConfig(userConfig.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnQuickConnect( * This is required only if QuickConnectType is USER. */ override fun userConfig(userConfig: UserQuickConnectConfigProperty) { - cdkBuilder.userConfig(userConfig.let(UserQuickConnectConfigProperty::unwrap)) + cdkBuilder.userConfig(userConfig.let(UserQuickConnectConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnectProps.kt index c6404cee52..3e27c19b07 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnQuickConnectProps.kt @@ -169,7 +169,7 @@ public interface CfnQuickConnectProps { * @param quickConnectConfig Contains information about the quick connect. */ override fun quickConnectConfig(quickConnectConfig: IResolvable) { - cdkBuilder.quickConnectConfig(quickConnectConfig.let(IResolvable::unwrap)) + cdkBuilder.quickConnectConfig(quickConnectConfig.let(IResolvable.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface CfnQuickConnectProps { */ override fun quickConnectConfig(quickConnectConfig: CfnQuickConnect.QuickConnectConfigProperty) { - cdkBuilder.quickConnectConfig(quickConnectConfig.let(CfnQuickConnect.QuickConnectConfigProperty::unwrap)) + cdkBuilder.quickConnectConfig(quickConnectConfig.let(CfnQuickConnect.QuickConnectConfigProperty.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnQuickConnectProps { * For example, { "Tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfile.kt index d956300b1e..743cd52d49 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfile.kt @@ -71,8 +71,8 @@ public open class CfnRoutingProfile( id: String, props: CfnRoutingProfileProps, ) : - this(software.amazon.awscdk.services.connect.CfnRoutingProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRoutingProfileProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnRoutingProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRoutingProfileProps.Companion::unwrap)) ) public constructor( @@ -137,7 +137,7 @@ public open class CfnRoutingProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnRoutingProfile( * The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. */ public open fun mediaConcurrencies(`value`: IResolvable) { - unwrap(this).setMediaConcurrencies(`value`.let(IResolvable::unwrap)) + unwrap(this).setMediaConcurrencies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnRoutingProfile( * The inbound queues associated with the routing profile. */ public open fun queueConfigs(`value`: IResolvable) { - unwrap(this).setQueueConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setQueueConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnRoutingProfile( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnRoutingProfile( * for this routing profile. */ override fun mediaConcurrencies(mediaConcurrencies: IResolvable) { - cdkBuilder.mediaConcurrencies(mediaConcurrencies.let(IResolvable::unwrap)) + cdkBuilder.mediaConcurrencies(mediaConcurrencies.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnRoutingProfile( * @param queueConfigs The inbound queues associated with the routing profile. */ override fun queueConfigs(queueConfigs: IResolvable) { - cdkBuilder.queueConfigs(queueConfigs.let(IResolvable::unwrap)) + cdkBuilder.queueConfigs(queueConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnRoutingProfile( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public open class CfnRoutingProfile( * when they are currently working with a contact from a Voice channel. */ override fun crossChannelBehavior(crossChannelBehavior: IResolvable) { - cdkBuilder.crossChannelBehavior(crossChannelBehavior.let(IResolvable::unwrap)) + cdkBuilder.crossChannelBehavior(crossChannelBehavior.let(IResolvable.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class CfnRoutingProfile( * when they are currently working with a contact from a Voice channel. */ override fun crossChannelBehavior(crossChannelBehavior: CrossChannelBehaviorProperty) { - cdkBuilder.crossChannelBehavior(crossChannelBehavior.let(CrossChannelBehaviorProperty::unwrap)) + cdkBuilder.crossChannelBehavior(crossChannelBehavior.let(CrossChannelBehaviorProperty.Companion::unwrap)) } /** @@ -959,14 +959,14 @@ public open class CfnRoutingProfile( * @param queueReference Contains information about a queue resource. */ override fun queueReference(queueReference: IResolvable) { - cdkBuilder.queueReference(queueReference.let(IResolvable::unwrap)) + cdkBuilder.queueReference(queueReference.let(IResolvable.Companion::unwrap)) } /** * @param queueReference Contains information about a queue resource. */ override fun queueReference(queueReference: RoutingProfileQueueReferenceProperty) { - cdkBuilder.queueReference(queueReference.let(RoutingProfileQueueReferenceProperty::unwrap)) + cdkBuilder.queueReference(queueReference.let(RoutingProfileQueueReferenceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfileProps.kt index 8eb20cf508..2891875b9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRoutingProfileProps.kt @@ -237,7 +237,7 @@ public interface CfnRoutingProfileProps { * for this routing profile. */ override fun mediaConcurrencies(mediaConcurrencies: IResolvable) { - cdkBuilder.mediaConcurrencies(mediaConcurrencies.let(IResolvable::unwrap)) + cdkBuilder.mediaConcurrencies(mediaConcurrencies.let(IResolvable.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface CfnRoutingProfileProps { * If no queue is added, the agent can make only outbound calls. */ override fun queueConfigs(queueConfigs: IResolvable) { - cdkBuilder.queueConfigs(queueConfigs.let(IResolvable::unwrap)) + cdkBuilder.queueConfigs(queueConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnRoutingProfileProps { * For example, { "Tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRule.kt index d5567c9385..e7fc517636 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRule.kt @@ -116,8 +116,8 @@ public open class CfnRule( id: String, props: CfnRuleProps, ) : - this(software.amazon.awscdk.services.connect.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleProps.Companion::unwrap)) ) public constructor( @@ -136,14 +136,14 @@ public open class CfnRule( * A list of actions to be run when the rule is triggered. */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of actions to be run when the rule is triggered. */ public open fun actions(`value`: ActionsProperty) { - unwrap(this).setActions(`value`.let(ActionsProperty::unwrap)) + unwrap(this).setActions(`value`.let(ActionsProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnRule( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -248,14 +248,14 @@ public open class CfnRule( * The event source to trigger the rule. */ public open fun triggerEventSource(`value`: IResolvable) { - unwrap(this).setTriggerEventSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggerEventSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The event source to trigger the rule. */ public open fun triggerEventSource(`value`: RuleTriggerEventSourceProperty) { - unwrap(this).setTriggerEventSource(`value`.let(RuleTriggerEventSourceProperty::unwrap)) + unwrap(this).setTriggerEventSource(`value`.let(RuleTriggerEventSourceProperty.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class CfnRule( * @param actions A list of actions to be run when the rule is triggered. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CfnRule( * @param actions A list of actions to be run when the rule is triggered. */ override fun actions(actions: ActionsProperty) { - cdkBuilder.actions(actions.let(ActionsProperty::unwrap)) + cdkBuilder.actions(actions.let(ActionsProperty.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class CfnRule( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnRule( * @param triggerEventSource The event source to trigger the rule. */ override fun triggerEventSource(triggerEventSource: IResolvable) { - cdkBuilder.triggerEventSource(triggerEventSource.let(IResolvable::unwrap)) + cdkBuilder.triggerEventSource(triggerEventSource.let(IResolvable.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public open class CfnRule( * @param triggerEventSource The event source to trigger the rule. */ override fun triggerEventSource(triggerEventSource: RuleTriggerEventSourceProperty) { - cdkBuilder.triggerEventSource(triggerEventSource.let(RuleTriggerEventSourceProperty::unwrap)) + cdkBuilder.triggerEventSource(triggerEventSource.let(RuleTriggerEventSourceProperty.Companion::unwrap)) } /** @@ -808,14 +808,14 @@ public open class CfnRule( * The syntax can be empty, for example, `{}` . */ override fun assignContactCategoryActions(assignContactCategoryActions: IResolvable) { - cdkBuilder.assignContactCategoryActions(assignContactCategoryActions.let(IResolvable::unwrap)) + cdkBuilder.assignContactCategoryActions(assignContactCategoryActions.let(IResolvable.Companion::unwrap)) } /** * @param createCaseActions This action will create a case when a rule is triggered. */ override fun createCaseActions(createCaseActions: IResolvable) { - cdkBuilder.createCaseActions(createCaseActions.let(IResolvable::unwrap)) + cdkBuilder.createCaseActions(createCaseActions.let(IResolvable.Companion::unwrap)) } /** @@ -851,14 +851,14 @@ public open class CfnRule( * triggered. */ override fun endAssociatedTasksActions(endAssociatedTasksActions: IResolvable) { - cdkBuilder.endAssociatedTasksActions(endAssociatedTasksActions.let(IResolvable::unwrap)) + cdkBuilder.endAssociatedTasksActions(endAssociatedTasksActions.let(IResolvable.Companion::unwrap)) } /** * @param eventBridgeActions Information about the EventBridge action. */ override fun eventBridgeActions(eventBridgeActions: IResolvable) { - cdkBuilder.eventBridgeActions(eventBridgeActions.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeActions(eventBridgeActions.let(IResolvable.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public open class CfnRule( * @param sendNotificationActions Information about the send notification action. */ override fun sendNotificationActions(sendNotificationActions: IResolvable) { - cdkBuilder.sendNotificationActions(sendNotificationActions.let(IResolvable::unwrap)) + cdkBuilder.sendNotificationActions(sendNotificationActions.let(IResolvable.Companion::unwrap)) } /** @@ -900,7 +900,7 @@ public open class CfnRule( * `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate` */ override fun taskActions(taskActions: IResolvable) { - cdkBuilder.taskActions(taskActions.let(IResolvable::unwrap)) + cdkBuilder.taskActions(taskActions.let(IResolvable.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public open class CfnRule( * @param updateCaseActions This action will update a case when a rule is triggered. */ override fun updateCaseActions(updateCaseActions: IResolvable) { - cdkBuilder.updateCaseActions(updateCaseActions.let(IResolvable::unwrap)) + cdkBuilder.updateCaseActions(updateCaseActions.let(IResolvable.Companion::unwrap)) } /** @@ -1094,7 +1094,7 @@ public open class CfnRule( * @param fields An array of case fields. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -1317,14 +1317,14 @@ public open class CfnRule( * @param value The value of the field. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value of the field. */ override fun `value`(`value`: FieldValueProperty) { - cdkBuilder.`value`(`value`.let(FieldValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(FieldValueProperty.Companion::unwrap)) } /** @@ -1460,7 +1460,7 @@ public open class CfnRule( * @param booleanValue the value to be set. */ override fun booleanValue(booleanValue: IResolvable) { - cdkBuilder.booleanValue(booleanValue.let(IResolvable::unwrap)) + cdkBuilder.booleanValue(booleanValue.let(IResolvable.Companion::unwrap)) } /** @@ -1620,7 +1620,7 @@ public open class CfnRule( * specified tags will be notified. */ override fun userTags(userTags: IResolvable) { - cdkBuilder.userTags(userTags.let(IResolvable::unwrap)) + cdkBuilder.userTags(userTags.let(IResolvable.Companion::unwrap)) } /** @@ -2084,14 +2084,14 @@ public open class CfnRule( * @param recipient Notification recipient. */ override fun recipient(recipient: IResolvable) { - cdkBuilder.recipient(recipient.let(IResolvable::unwrap)) + cdkBuilder.recipient(recipient.let(IResolvable.Companion::unwrap)) } /** * @param recipient Notification recipient. */ override fun recipient(recipient: NotificationRecipientTypeProperty) { - cdkBuilder.recipient(recipient.let(NotificationRecipientTypeProperty::unwrap)) + cdkBuilder.recipient(recipient.let(NotificationRecipientTypeProperty.Companion::unwrap)) } /** @@ -2332,7 +2332,7 @@ public open class CfnRule( * `Value` field.) */ override fun references(references: IResolvable) { - cdkBuilder.references(references.let(IResolvable::unwrap)) + cdkBuilder.references(references.let(IResolvable.Companion::unwrap)) } /** @@ -2471,7 +2471,7 @@ public open class CfnRule( * @param fields An array of case fields. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRuleProps.kt index 4d70adacbb..fc690b6836 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnRuleProps.kt @@ -234,14 +234,14 @@ public interface CfnRuleProps { * @param actions A list of actions to be run when the rule is triggered. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** * @param actions A list of actions to be run when the rule is triggered. */ override fun actions(actions: CfnRule.ActionsProperty) { - cdkBuilder.actions(actions.let(CfnRule.ActionsProperty::unwrap)) + cdkBuilder.actions(actions.let(CfnRule.ActionsProperty.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface CfnRuleProps { * For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public interface CfnRuleProps { * @param triggerEventSource The event source to trigger the rule. */ override fun triggerEventSource(triggerEventSource: IResolvable) { - cdkBuilder.triggerEventSource(triggerEventSource.let(IResolvable::unwrap)) + cdkBuilder.triggerEventSource(triggerEventSource.let(IResolvable.Companion::unwrap)) } /** * @param triggerEventSource The event source to trigger the rule. */ override fun triggerEventSource(triggerEventSource: CfnRule.RuleTriggerEventSourceProperty) { - cdkBuilder.triggerEventSource(triggerEventSource.let(CfnRule.RuleTriggerEventSourceProperty::unwrap)) + cdkBuilder.triggerEventSource(triggerEventSource.let(CfnRule.RuleTriggerEventSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityKey.kt index 9dedb41c5d..6df97594a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityKey.kt @@ -40,8 +40,8 @@ public open class CfnSecurityKey( id: String, props: CfnSecurityKeyProps, ) : - this(software.amazon.awscdk.services.connect.CfnSecurityKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityKeyProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnSecurityKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityKeyProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class CfnSecurityKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfile.kt index fbc155a9c6..498c71c6f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfile.kt @@ -63,8 +63,8 @@ public open class CfnSecurityProfile( id: String, props: CfnSecurityProfileProps, ) : - this(software.amazon.awscdk.services.connect.CfnSecurityProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityProfileProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnSecurityProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityProfileProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnSecurityProfile( * Connect. */ public open fun allowedAccessControlTags(`value`: IResolvable) { - unwrap(this).setAllowedAccessControlTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowedAccessControlTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnSecurityProfile( * A list of third-party applications that the security profile will give access to. */ public open fun applications(`value`: IResolvable) { - unwrap(this).setApplications(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnSecurityProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnSecurityProfile( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnSecurityProfile( * access to resources in Amazon Connect. */ override fun allowedAccessControlTags(allowedAccessControlTags: IResolvable) { - cdkBuilder.allowedAccessControlTags(allowedAccessControlTags.let(IResolvable::unwrap)) + cdkBuilder.allowedAccessControlTags(allowedAccessControlTags.let(IResolvable.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnSecurityProfile( * access to. */ override fun applications(applications: IResolvable) { - cdkBuilder.applications(applications.let(IResolvable::unwrap)) + cdkBuilder.applications(applications.let(IResolvable.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnSecurityProfile( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfileProps.kt index 058de74eb2..c7737ca5c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnSecurityProfileProps.kt @@ -264,7 +264,7 @@ public interface CfnSecurityProfileProps { * access to resources in Amazon Connect. */ override fun allowedAccessControlTags(allowedAccessControlTags: IResolvable) { - cdkBuilder.allowedAccessControlTags(allowedAccessControlTags.let(IResolvable::unwrap)) + cdkBuilder.allowedAccessControlTags(allowedAccessControlTags.let(IResolvable.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface CfnSecurityProfileProps { * access to. */ override fun applications(applications: IResolvable) { - cdkBuilder.applications(applications.let(IResolvable::unwrap)) + cdkBuilder.applications(applications.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnSecurityProfileProps { * For example, { "Tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplate.kt index d840392153..e1ca3c7ec7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplate.kt @@ -71,8 +71,8 @@ public open class CfnTaskTemplate( id: String, props: CfnTaskTemplateProps, ) : - this(software.amazon.awscdk.services.connect.CfnTaskTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTaskTemplateProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnTaskTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTaskTemplateProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnTaskTemplate( * The default values for fields when a task is created by referencing this template. */ public open fun defaults(`value`: IResolvable) { - unwrap(this).setDefaults(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaults(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnTaskTemplate( * Fields that are part of the template. */ public open fun fields(`value`: IResolvable) { - unwrap(this).setFields(`value`.let(IResolvable::unwrap)) + unwrap(this).setFields(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnTaskTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnTaskTemplate( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnTaskTemplate( * template. */ override fun defaults(defaults: IResolvable) { - cdkBuilder.defaults(defaults.let(IResolvable::unwrap)) + cdkBuilder.defaults(defaults.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnTaskTemplate( * @param fields Fields that are part of the template. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public open class CfnTaskTemplate( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public open class CfnTaskTemplate( * @param invisibleFields Lists the fields that are invisible to agents. */ override fun invisibleFields(invisibleFields: IResolvable) { - cdkBuilder.invisibleFields(invisibleFields.let(IResolvable::unwrap)) + cdkBuilder.invisibleFields(invisibleFields.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnTaskTemplate( * @param readOnlyFields Lists the fields that are read-only to agents, and cannot be edited. */ override fun readOnlyFields(readOnlyFields: IResolvable) { - cdkBuilder.readOnlyFields(readOnlyFields.let(IResolvable::unwrap)) + cdkBuilder.readOnlyFields(readOnlyFields.let(IResolvable.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnTaskTemplate( * @param requiredFields Lists the fields that are required to be filled by agents. */ override fun requiredFields(requiredFields: IResolvable) { - cdkBuilder.requiredFields(requiredFields.let(IResolvable::unwrap)) + cdkBuilder.requiredFields(requiredFields.let(IResolvable.Companion::unwrap)) } /** @@ -885,14 +885,14 @@ public open class CfnTaskTemplate( * @param id Identifier of a field. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** * @param id Identifier of a field. */ override fun id(id: FieldIdentifierProperty) { - cdkBuilder.id(id.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.id(id.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -1143,14 +1143,14 @@ public open class CfnTaskTemplate( * @param id The unique identifier for the field. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** * @param id The unique identifier for the field. */ override fun id(id: FieldIdentifierProperty) { - cdkBuilder.id(id.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.id(id.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -1301,14 +1301,14 @@ public open class CfnTaskTemplate( * @param id Identifier of the invisible field. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** * @param id Identifier of the invisible field. */ override fun id(id: FieldIdentifierProperty) { - cdkBuilder.id(id.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.id(id.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -1412,14 +1412,14 @@ public open class CfnTaskTemplate( * @param id Identifier of the read-only field. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** * @param id Identifier of the read-only field. */ override fun id(id: FieldIdentifierProperty) { - cdkBuilder.id(id.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.id(id.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -1523,14 +1523,14 @@ public open class CfnTaskTemplate( * @param id The unique identifier for the field. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** * @param id The unique identifier for the field. */ override fun id(id: FieldIdentifierProperty) { - cdkBuilder.id(id.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.id(id.let(FieldIdentifierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplateProps.kt index 1b57a8df08..cc45a4d7ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTaskTemplateProps.kt @@ -261,7 +261,7 @@ public interface CfnTaskTemplateProps { * template. */ override fun defaults(defaults: IResolvable) { - cdkBuilder.defaults(defaults.let(IResolvable::unwrap)) + cdkBuilder.defaults(defaults.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface CfnTaskTemplateProps { * A template requires at least one field that has type `Name` . */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public interface CfnTaskTemplateProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroup.kt index f08628dad8..475611efa0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroup.kt @@ -48,8 +48,8 @@ public open class CfnTrafficDistributionGroup( id: String, props: CfnTrafficDistributionGroupProps, ) : - this(software.amazon.awscdk.services.connect.CfnTrafficDistributionGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrafficDistributionGroupProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnTrafficDistributionGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrafficDistributionGroupProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnTrafficDistributionGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnTrafficDistributionGroup( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnTrafficDistributionGroup( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroupProps.kt index 0157a2b357..690c688202 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnTrafficDistributionGroupProps.kt @@ -129,7 +129,7 @@ public interface CfnTrafficDistributionGroupProps { * For example, {"tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUser.kt index 170aa1d420..e5b4f2fdb1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUser.kt @@ -80,8 +80,8 @@ public open class CfnUser( id: String, props: CfnUserProps, ) : - this(software.amazon.awscdk.services.connect.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProps.Companion::unwrap)) ) public constructor( @@ -129,14 +129,14 @@ public open class CfnUser( * Information about the user identity. */ public open fun identityInfo(`value`: IResolvable) { - unwrap(this).setIdentityInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setIdentityInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the user identity. */ public open fun identityInfo(`value`: UserIdentityInfoProperty) { - unwrap(this).setIdentityInfo(`value`.let(UserIdentityInfoProperty::unwrap)) + unwrap(this).setIdentityInfo(`value`.let(UserIdentityInfoProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -189,14 +189,14 @@ public open class CfnUser( * Information about the phone configuration for the user. */ public open fun phoneConfig(`value`: IResolvable) { - unwrap(this).setPhoneConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setPhoneConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the phone configuration for the user. */ public open fun phoneConfig(`value`: UserPhoneConfigProperty) { - unwrap(this).setPhoneConfig(`value`.let(UserPhoneConfigProperty::unwrap)) + unwrap(this).setPhoneConfig(`value`.let(UserPhoneConfigProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnUser( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnUser( * their level of skill in a specified area. */ public open fun userProficiencies(`value`: IResolvable) { - unwrap(this).setUserProficiencies(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserProficiencies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class CfnUser( * @param identityInfo Information about the user identity. */ override fun identityInfo(identityInfo: IResolvable) { - cdkBuilder.identityInfo(identityInfo.let(IResolvable::unwrap)) + cdkBuilder.identityInfo(identityInfo.let(IResolvable.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnUser( * @param identityInfo Information about the user identity. */ override fun identityInfo(identityInfo: UserIdentityInfoProperty) { - cdkBuilder.identityInfo(identityInfo.let(UserIdentityInfoProperty::unwrap)) + cdkBuilder.identityInfo(identityInfo.let(UserIdentityInfoProperty.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public open class CfnUser( * @param phoneConfig Information about the phone configuration for the user. */ override fun phoneConfig(phoneConfig: IResolvable) { - cdkBuilder.phoneConfig(phoneConfig.let(IResolvable::unwrap)) + cdkBuilder.phoneConfig(phoneConfig.let(IResolvable.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class CfnUser( * @param phoneConfig Information about the phone configuration for the user. */ override fun phoneConfig(phoneConfig: UserPhoneConfigProperty) { - cdkBuilder.phoneConfig(phoneConfig.let(UserPhoneConfigProperty::unwrap)) + cdkBuilder.phoneConfig(phoneConfig.let(UserPhoneConfigProperty.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class CfnUser( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class CfnUser( * value that indicates how their level of skill in a specified area. */ override fun userProficiencies(userProficiencies: IResolvable) { - cdkBuilder.userProficiencies(userProficiencies.let(IResolvable::unwrap)) + cdkBuilder.userProficiencies(userProficiencies.let(IResolvable.Companion::unwrap)) } /** @@ -1060,7 +1060,7 @@ public open class CfnUser( * @param autoAccept The Auto accept setting. */ override fun autoAccept(autoAccept: IResolvable) { - cdkBuilder.autoAccept(autoAccept.let(IResolvable::unwrap)) + cdkBuilder.autoAccept(autoAccept.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroup.kt index 8fa65c1903..2eb89ebc1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroup.kt @@ -47,8 +47,8 @@ public open class CfnUserHierarchyGroup( id: String, props: CfnUserHierarchyGroupProps, ) : - this(software.amazon.awscdk.services.connect.CfnUserHierarchyGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserHierarchyGroupProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnUserHierarchyGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserHierarchyGroupProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnUserHierarchyGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnUserHierarchyGroup( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnUserHierarchyGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroupProps.kt index 06896c5c34..7be036e3d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserHierarchyGroupProps.kt @@ -123,7 +123,7 @@ public interface CfnUserHierarchyGroupProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserProps.kt index c9b3801d2e..e37efb1e45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnUserProps.kt @@ -270,14 +270,14 @@ public interface CfnUserProps { * @param identityInfo Information about the user identity. */ override fun identityInfo(identityInfo: IResolvable) { - cdkBuilder.identityInfo(identityInfo.let(IResolvable::unwrap)) + cdkBuilder.identityInfo(identityInfo.let(IResolvable.Companion::unwrap)) } /** * @param identityInfo Information about the user identity. */ override fun identityInfo(identityInfo: CfnUser.UserIdentityInfoProperty) { - cdkBuilder.identityInfo(identityInfo.let(CfnUser.UserIdentityInfoProperty::unwrap)) + cdkBuilder.identityInfo(identityInfo.let(CfnUser.UserIdentityInfoProperty.Companion::unwrap)) } /** @@ -306,14 +306,14 @@ public interface CfnUserProps { * @param phoneConfig Information about the phone configuration for the user. */ override fun phoneConfig(phoneConfig: IResolvable) { - cdkBuilder.phoneConfig(phoneConfig.let(IResolvable::unwrap)) + cdkBuilder.phoneConfig(phoneConfig.let(IResolvable.Companion::unwrap)) } /** * @param phoneConfig Information about the phone configuration for the user. */ override fun phoneConfig(phoneConfig: CfnUser.UserPhoneConfigProperty) { - cdkBuilder.phoneConfig(phoneConfig.let(CfnUser.UserPhoneConfigProperty::unwrap)) + cdkBuilder.phoneConfig(phoneConfig.let(CfnUser.UserPhoneConfigProperty.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public interface CfnUserProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface CfnUserProps { * value that indicates how their level of skill in a specified area. */ override fun userProficiencies(userProficiencies: IResolvable) { - cdkBuilder.userProficiencies(userProficiencies.let(IResolvable::unwrap)) + cdkBuilder.userProficiencies(userProficiencies.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnView.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnView.kt index cb7bb8e3b8..c84c658ef9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnView.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnView.kt @@ -50,8 +50,8 @@ public open class CfnView( id: String, props: CfnViewProps, ) : - this(software.amazon.awscdk.services.connect.CfnView(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnViewProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnView(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnViewProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnView( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnView( * The tags associated with the view resource (not specific to view version). */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CfnView( * @param tags The tags associated with the view resource (not specific to view version). */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewProps.kt index 74c3f072a5..944ba6d7fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewProps.kt @@ -167,7 +167,7 @@ public interface CfnViewProps { * @param tags The tags associated with the view resource (not specific to view version). */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewVersion.kt index 3d52ee5cb9..5acd28fc1c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connect/CfnViewVersion.kt @@ -39,8 +39,8 @@ public open class CfnViewVersion( id: String, props: CfnViewVersionProps, ) : - this(software.amazon.awscdk.services.connect.CfnViewVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnViewVersionProps::unwrap)) + this(software.amazon.awscdk.services.connect.CfnViewVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnViewVersionProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class CfnViewVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaign.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaign.kt index 6a6863be3d..b2e673463d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaign.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaign.kt @@ -54,6 +54,8 @@ import software.constructs.Construct as SoftwareConstructsConstruct * // the properties below are optional * .answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder() * .enableAnswerMachineDetection(false) + * // the properties below are optional + * .awaitAnswerMachinePrompt(false) * .build()) * .connectQueueArn("connectQueueArn") * .connectSourcePhoneNumber("connectSourcePhoneNumber") @@ -76,8 +78,8 @@ public open class CfnCampaign( id: String, props: CfnCampaignProps, ) : - this(software.amazon.awscdk.services.connectcampaigns.CfnCampaign(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCampaignProps::unwrap)) + this(software.amazon.awscdk.services.connectcampaigns.CfnCampaign(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCampaignProps.Companion::unwrap)) ) public constructor( @@ -113,14 +115,14 @@ public open class CfnCampaign( * Contains information about the dialer configuration. */ public open fun dialerConfig(`value`: IResolvable) { - unwrap(this).setDialerConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDialerConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about the dialer configuration. */ public open fun dialerConfig(`value`: DialerConfigProperty) { - unwrap(this).setDialerConfig(`value`.let(DialerConfigProperty::unwrap)) + unwrap(this).setDialerConfig(`value`.let(DialerConfigProperty.Companion::unwrap)) } /** @@ -137,7 +139,7 @@ public open class CfnCampaign( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,14 +163,14 @@ public open class CfnCampaign( * Contains information about the outbound call configuration. */ public open fun outboundCallConfig(`value`: IResolvable) { - unwrap(this).setOutboundCallConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutboundCallConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about the outbound call configuration. */ public open fun outboundCallConfig(`value`: OutboundCallConfigProperty) { - unwrap(this).setOutboundCallConfig(`value`.let(OutboundCallConfigProperty::unwrap)) + unwrap(this).setOutboundCallConfig(`value`.let(OutboundCallConfigProperty.Companion::unwrap)) } /** @@ -194,7 +196,7 @@ public open class CfnCampaign( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -320,7 +322,7 @@ public open class CfnCampaign( * @param dialerConfig Contains information about the dialer configuration. */ override fun dialerConfig(dialerConfig: IResolvable) { - cdkBuilder.dialerConfig(dialerConfig.let(IResolvable::unwrap)) + cdkBuilder.dialerConfig(dialerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -330,7 +332,7 @@ public open class CfnCampaign( * @param dialerConfig Contains information about the dialer configuration. */ override fun dialerConfig(dialerConfig: DialerConfigProperty) { - cdkBuilder.dialerConfig(dialerConfig.let(DialerConfigProperty::unwrap)) + cdkBuilder.dialerConfig(dialerConfig.let(DialerConfigProperty.Companion::unwrap)) } /** @@ -361,7 +363,7 @@ public open class CfnCampaign( * @param outboundCallConfig Contains information about the outbound call configuration. */ override fun outboundCallConfig(outboundCallConfig: IResolvable) { - cdkBuilder.outboundCallConfig(outboundCallConfig.let(IResolvable::unwrap)) + cdkBuilder.outboundCallConfig(outboundCallConfig.let(IResolvable.Companion::unwrap)) } /** @@ -371,7 +373,7 @@ public open class CfnCampaign( * @param outboundCallConfig Contains information about the outbound call configuration. */ override fun outboundCallConfig(outboundCallConfig: OutboundCallConfigProperty) { - cdkBuilder.outboundCallConfig(outboundCallConfig.let(OutboundCallConfigProperty::unwrap)) + cdkBuilder.outboundCallConfig(outboundCallConfig.let(OutboundCallConfigProperty.Companion::unwrap)) } /** @@ -395,7 +397,7 @@ public open class CfnCampaign( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -530,12 +532,21 @@ public open class CfnCampaign( * AnswerMachineDetectionConfigProperty answerMachineDetectionConfigProperty = * AnswerMachineDetectionConfigProperty.builder() * .enableAnswerMachineDetection(false) + * // the properties below are optional + * .awaitAnswerMachinePrompt(false) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html) */ public interface AnswerMachineDetectionConfigProperty { + /** + * Whether waiting for answer machine prompt is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html#cfn-connectcampaigns-campaign-answermachinedetectionconfig-awaitanswermachineprompt) + */ + public fun awaitAnswerMachinePrompt(): Any? = unwrap(this).getAwaitAnswerMachinePrompt() + /** * Whether answering machine detection is enabled. * @@ -548,6 +559,16 @@ public open class CfnCampaign( */ @CdkDslMarker public interface Builder { + /** + * @param awaitAnswerMachinePrompt Whether waiting for answer machine prompt is enabled. + */ + public fun awaitAnswerMachinePrompt(awaitAnswerMachinePrompt: Boolean) + + /** + * @param awaitAnswerMachinePrompt Whether waiting for answer machine prompt is enabled. + */ + public fun awaitAnswerMachinePrompt(awaitAnswerMachinePrompt: IResolvable) + /** * @param enableAnswerMachineDetection Whether answering machine detection is enabled. */ @@ -565,6 +586,20 @@ public open class CfnCampaign( = software.amazon.awscdk.services.connectcampaigns.CfnCampaign.AnswerMachineDetectionConfigProperty.builder() + /** + * @param awaitAnswerMachinePrompt Whether waiting for answer machine prompt is enabled. + */ + override fun awaitAnswerMachinePrompt(awaitAnswerMachinePrompt: Boolean) { + cdkBuilder.awaitAnswerMachinePrompt(awaitAnswerMachinePrompt) + } + + /** + * @param awaitAnswerMachinePrompt Whether waiting for answer machine prompt is enabled. + */ + override fun awaitAnswerMachinePrompt(awaitAnswerMachinePrompt: IResolvable) { + cdkBuilder.awaitAnswerMachinePrompt(awaitAnswerMachinePrompt.let(IResolvable.Companion::unwrap)) + } + /** * @param enableAnswerMachineDetection Whether answering machine detection is enabled. */ @@ -576,7 +611,7 @@ public open class CfnCampaign( * @param enableAnswerMachineDetection Whether answering machine detection is enabled. */ override fun enableAnswerMachineDetection(enableAnswerMachineDetection: IResolvable) { - cdkBuilder.enableAnswerMachineDetection(enableAnswerMachineDetection.let(IResolvable::unwrap)) + cdkBuilder.enableAnswerMachineDetection(enableAnswerMachineDetection.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -587,6 +622,13 @@ public open class CfnCampaign( private class Wrapper( cdkObject: software.amazon.awscdk.services.connectcampaigns.CfnCampaign.AnswerMachineDetectionConfigProperty, ) : CdkObject(cdkObject), AnswerMachineDetectionConfigProperty { + /** + * Whether waiting for answer machine prompt is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaigns-campaign-answermachinedetectionconfig.html#cfn-connectcampaigns-campaign-answermachinedetectionconfig-awaitanswermachineprompt) + */ + override fun awaitAnswerMachinePrompt(): Any? = unwrap(this).getAwaitAnswerMachinePrompt() + /** * Whether answering machine detection is enabled. * @@ -735,14 +777,14 @@ public open class CfnCampaign( * @param agentlessDialerConfig The configuration of the agentless dialer. */ override fun agentlessDialerConfig(agentlessDialerConfig: IResolvable) { - cdkBuilder.agentlessDialerConfig(agentlessDialerConfig.let(IResolvable::unwrap)) + cdkBuilder.agentlessDialerConfig(agentlessDialerConfig.let(IResolvable.Companion::unwrap)) } /** * @param agentlessDialerConfig The configuration of the agentless dialer. */ override fun agentlessDialerConfig(agentlessDialerConfig: AgentlessDialerConfigProperty) { - cdkBuilder.agentlessDialerConfig(agentlessDialerConfig.let(AgentlessDialerConfigProperty::unwrap)) + cdkBuilder.agentlessDialerConfig(agentlessDialerConfig.let(AgentlessDialerConfigProperty.Companion::unwrap)) } /** @@ -758,14 +800,14 @@ public open class CfnCampaign( * @param predictiveDialerConfig The configuration of the predictive dialer. */ override fun predictiveDialerConfig(predictiveDialerConfig: IResolvable) { - cdkBuilder.predictiveDialerConfig(predictiveDialerConfig.let(IResolvable::unwrap)) + cdkBuilder.predictiveDialerConfig(predictiveDialerConfig.let(IResolvable.Companion::unwrap)) } /** * @param predictiveDialerConfig The configuration of the predictive dialer. */ override fun predictiveDialerConfig(predictiveDialerConfig: PredictiveDialerConfigProperty) { - cdkBuilder.predictiveDialerConfig(predictiveDialerConfig.let(PredictiveDialerConfigProperty::unwrap)) + cdkBuilder.predictiveDialerConfig(predictiveDialerConfig.let(PredictiveDialerConfigProperty.Companion::unwrap)) } /** @@ -781,7 +823,7 @@ public open class CfnCampaign( * @param progressiveDialerConfig The configuration of the progressive dialer. */ override fun progressiveDialerConfig(progressiveDialerConfig: IResolvable) { - cdkBuilder.progressiveDialerConfig(progressiveDialerConfig.let(IResolvable::unwrap)) + cdkBuilder.progressiveDialerConfig(progressiveDialerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -789,7 +831,7 @@ public open class CfnCampaign( */ override fun progressiveDialerConfig(progressiveDialerConfig: ProgressiveDialerConfigProperty) { - cdkBuilder.progressiveDialerConfig(progressiveDialerConfig.let(ProgressiveDialerConfigProperty::unwrap)) + cdkBuilder.progressiveDialerConfig(progressiveDialerConfig.let(ProgressiveDialerConfigProperty.Companion::unwrap)) } /** @@ -863,6 +905,8 @@ public open class CfnCampaign( * // the properties below are optional * .answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder() * .enableAnswerMachineDetection(false) + * // the properties below are optional + * .awaitAnswerMachinePrompt(false) * .build()) * .connectQueueArn("connectQueueArn") * .connectSourcePhoneNumber("connectSourcePhoneNumber") @@ -953,7 +997,7 @@ public open class CfnCampaign( * @param answerMachineDetectionConfig Whether answering machine detection has been enabled. */ override fun answerMachineDetectionConfig(answerMachineDetectionConfig: IResolvable) { - cdkBuilder.answerMachineDetectionConfig(answerMachineDetectionConfig.let(IResolvable::unwrap)) + cdkBuilder.answerMachineDetectionConfig(answerMachineDetectionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -961,7 +1005,7 @@ public open class CfnCampaign( */ override fun answerMachineDetectionConfig(answerMachineDetectionConfig: AnswerMachineDetectionConfigProperty) { - cdkBuilder.answerMachineDetectionConfig(answerMachineDetectionConfig.let(AnswerMachineDetectionConfigProperty::unwrap)) + cdkBuilder.answerMachineDetectionConfig(answerMachineDetectionConfig.let(AnswerMachineDetectionConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaignProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaignProps.kt index 768518b69c..b230bbc738 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaignProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/connectcampaigns/CfnCampaignProps.kt @@ -45,6 +45,8 @@ import kotlin.jvm.JvmName * // the properties below are optional * .answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder() * .enableAnswerMachineDetection(false) + * // the properties below are optional + * .awaitAnswerMachinePrompt(false) * .build()) * .connectQueueArn("connectQueueArn") * .connectSourcePhoneNumber("connectSourcePhoneNumber") @@ -176,14 +178,14 @@ public interface CfnCampaignProps { * @param dialerConfig Contains information about the dialer configuration. */ override fun dialerConfig(dialerConfig: IResolvable) { - cdkBuilder.dialerConfig(dialerConfig.let(IResolvable::unwrap)) + cdkBuilder.dialerConfig(dialerConfig.let(IResolvable.Companion::unwrap)) } /** * @param dialerConfig Contains information about the dialer configuration. */ override fun dialerConfig(dialerConfig: CfnCampaign.DialerConfigProperty) { - cdkBuilder.dialerConfig(dialerConfig.let(CfnCampaign.DialerConfigProperty::unwrap)) + cdkBuilder.dialerConfig(dialerConfig.let(CfnCampaign.DialerConfigProperty.Companion::unwrap)) } /** @@ -205,14 +207,14 @@ public interface CfnCampaignProps { * @param outboundCallConfig Contains information about the outbound call configuration. */ override fun outboundCallConfig(outboundCallConfig: IResolvable) { - cdkBuilder.outboundCallConfig(outboundCallConfig.let(IResolvable::unwrap)) + cdkBuilder.outboundCallConfig(outboundCallConfig.let(IResolvable.Companion::unwrap)) } /** * @param outboundCallConfig Contains information about the outbound call configuration. */ override fun outboundCallConfig(outboundCallConfig: CfnCampaign.OutboundCallConfigProperty) { - cdkBuilder.outboundCallConfig(outboundCallConfig.let(CfnCampaign.OutboundCallConfigProperty::unwrap)) + cdkBuilder.outboundCallConfig(outboundCallConfig.let(CfnCampaign.OutboundCallConfigProperty.Companion::unwrap)) } /** @@ -229,7 +231,7 @@ public interface CfnCampaignProps { * For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaseline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaseline.kt index 3e214ef356..8b9a2c78ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaseline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaseline.kt @@ -56,8 +56,8 @@ public open class CfnEnabledBaseline( id: String, props: CfnEnabledBaselineProps, ) : - this(software.amazon.awscdk.services.controltower.CfnEnabledBaseline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnabledBaselineProps::unwrap)) + this(software.amazon.awscdk.services.controltower.CfnEnabledBaseline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnabledBaselineProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnEnabledBaseline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnEnabledBaseline( * Parameters that are applied when enabling this `Baseline` . */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnEnabledBaseline( * Tags associated with input to `EnableBaseline` . */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnEnabledBaseline( * @param parameters Parameters that are applied when enabling this `Baseline` . */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnEnabledBaseline( * @param tags Tags associated with input to `EnableBaseline` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaselineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaselineProps.kt index 7b7d6f9646..52e85476a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaselineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledBaselineProps.kt @@ -153,7 +153,7 @@ public interface CfnEnabledBaselineProps { * These parameters configure the behavior of the baseline. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface CfnEnabledBaselineProps { * @param tags Tags associated with input to `EnableBaseline` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControl.kt index 2780330560..aea1bd88f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControl.kt @@ -59,8 +59,8 @@ public open class CfnEnabledControl( id: String, props: CfnEnabledControlProps, ) : - this(software.amazon.awscdk.services.controltower.CfnEnabledControl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnabledControlProps::unwrap)) + this(software.amazon.awscdk.services.controltower.CfnEnabledControl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnabledControlProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnEnabledControl( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class CfnEnabledControl( * Array of `EnabledControlParameter` objects. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnEnabledControl( * Tags to be applied to the enabled control. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnEnabledControl( * @param parameters Array of `EnabledControlParameter` objects. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnEnabledControl( * @param tags Tags to be applied to the enabled control. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControlProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControlProps.kt index 2c8ab3a9a6..533bc86053 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControlProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnEnabledControlProps.kt @@ -140,7 +140,7 @@ public interface CfnEnabledControlProps { * @param parameters Array of `EnabledControlParameter` objects. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface CfnEnabledControlProps { * @param tags Tags to be applied to the enabled control. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZone.kt index 3fceb4e82e..77fb28c15d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZone.kt @@ -50,8 +50,8 @@ public open class CfnLandingZone( id: String, props: CfnLandingZoneProps, ) : - this(software.amazon.awscdk.services.controltower.CfnLandingZone(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLandingZoneProps::unwrap)) + this(software.amazon.awscdk.services.controltower.CfnLandingZone(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLandingZoneProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnLandingZone( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnLandingZone( * Tags to be applied to the landing zone. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnLandingZone( * @param tags Tags to be applied to the landing zone. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZoneProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZoneProps.kt index adfea41adb..cd2fe06276 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZoneProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/controltower/CfnLandingZoneProps.kt @@ -99,7 +99,7 @@ public interface CfnLandingZoneProps { * @param tags Tags to be applied to the landing zone. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinition.kt index 60ba103f02..00676268ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinition.kt @@ -55,8 +55,8 @@ public open class CfnReportDefinition( id: String, props: CfnReportDefinitionProps, ) : - this(software.amazon.awscdk.services.cur.CfnReportDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReportDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.cur.CfnReportDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReportDefinitionProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CfnReportDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnReportDefinition( * charges related to previous months. */ public open fun refreshClosedReports(`value`: IResolvable) { - unwrap(this).setRefreshClosedReports(`value`.let(IResolvable::unwrap)) + unwrap(this).setRefreshClosedReports(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class CfnReportDefinition( * finalized if AWS detects charges related to previous months. */ override fun refreshClosedReports(refreshClosedReports: IResolvable) { - cdkBuilder.refreshClosedReports(refreshClosedReports.let(IResolvable::unwrap)) + cdkBuilder.refreshClosedReports(refreshClosedReports.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinitionProps.kt index d8869e0b06..aae3f5375b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cur/CfnReportDefinitionProps.kt @@ -301,7 +301,7 @@ public interface CfnReportDefinitionProps { * These charges can include refunds, credits, or support fees. */ override fun refreshClosedReports(refreshClosedReports: IResolvable) { - cdkBuilder.refreshClosedReports(refreshClosedReports.let(IResolvable::unwrap)) + cdkBuilder.refreshClosedReports(refreshClosedReports.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinition.kt index 23630e58d4..dd590694b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinition.kt @@ -72,8 +72,8 @@ public open class CfnCalculatedAttributeDefinition( id: String, props: CfnCalculatedAttributeDefinitionProps, ) : - this(software.amazon.awscdk.services.customerprofiles.CfnCalculatedAttributeDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCalculatedAttributeDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.customerprofiles.CfnCalculatedAttributeDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCalculatedAttributeDefinitionProps.Companion::unwrap)) ) public constructor( @@ -102,14 +102,14 @@ public open class CfnCalculatedAttributeDefinition( * Mathematical expression and a list of attribute items specified in that expression. */ public open fun attributeDetails(`value`: IResolvable) { - unwrap(this).setAttributeDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributeDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * Mathematical expression and a list of attribute items specified in that expression. */ public open fun attributeDetails(`value`: AttributeDetailsProperty) { - unwrap(this).setAttributeDetails(`value`.let(AttributeDetailsProperty::unwrap)) + unwrap(this).setAttributeDetails(`value`.let(AttributeDetailsProperty.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public open class CfnCalculatedAttributeDefinition( * The conditions including range, object count, and threshold for the calculated attribute. */ public open fun conditions(`value`: IResolvable) { - unwrap(this).setConditions(`value`.let(IResolvable::unwrap)) + unwrap(this).setConditions(`value`.let(IResolvable.Companion::unwrap)) } /** * The conditions including range, object count, and threshold for the calculated attribute. */ public open fun conditions(`value`: ConditionsProperty) { - unwrap(this).setConditions(`value`.let(ConditionsProperty::unwrap)) + unwrap(this).setConditions(`value`.let(ConditionsProperty.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnCalculatedAttributeDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnCalculatedAttributeDefinition( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnCalculatedAttributeDefinition( * that expression. */ override fun attributeDetails(attributeDetails: IResolvable) { - cdkBuilder.attributeDetails(attributeDetails.let(IResolvable::unwrap)) + cdkBuilder.attributeDetails(attributeDetails.let(IResolvable.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnCalculatedAttributeDefinition( * that expression. */ override fun attributeDetails(attributeDetails: AttributeDetailsProperty) { - cdkBuilder.attributeDetails(attributeDetails.let(AttributeDetailsProperty::unwrap)) + cdkBuilder.attributeDetails(attributeDetails.let(AttributeDetailsProperty.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnCalculatedAttributeDefinition( * calculated attribute. */ override fun conditions(conditions: IResolvable) { - cdkBuilder.conditions(conditions.let(IResolvable::unwrap)) + cdkBuilder.conditions(conditions.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnCalculatedAttributeDefinition( * calculated attribute. */ override fun conditions(conditions: ConditionsProperty) { - cdkBuilder.conditions(conditions.let(ConditionsProperty::unwrap)) + cdkBuilder.conditions(conditions.let(ConditionsProperty.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnCalculatedAttributeDefinition( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -613,7 +613,7 @@ public open class CfnCalculatedAttributeDefinition( * expression. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -875,14 +875,14 @@ public open class CfnCalculatedAttributeDefinition( * @param range The relative time period over which data is included in the aggregation. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The relative time period over which data is included in the aggregation. */ override fun range(range: RangeProperty) { - cdkBuilder.range(range.let(RangeProperty::unwrap)) + cdkBuilder.range(range.let(RangeProperty.Companion::unwrap)) } /** @@ -897,14 +897,14 @@ public open class CfnCalculatedAttributeDefinition( * @param threshold The threshold for the calculated attribute. */ override fun threshold(threshold: IResolvable) { - cdkBuilder.threshold(threshold.let(IResolvable::unwrap)) + cdkBuilder.threshold(threshold.let(IResolvable.Companion::unwrap)) } /** * @param threshold The threshold for the calculated attribute. */ override fun threshold(threshold: ThresholdProperty) { - cdkBuilder.threshold(threshold.let(ThresholdProperty::unwrap)) + cdkBuilder.threshold(threshold.let(ThresholdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinitionProps.kt index ceee531df5..e5510f09ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnCalculatedAttributeDefinitionProps.kt @@ -208,7 +208,7 @@ public interface CfnCalculatedAttributeDefinitionProps { * that expression. */ override fun attributeDetails(attributeDetails: IResolvable) { - cdkBuilder.attributeDetails(attributeDetails.let(IResolvable::unwrap)) + cdkBuilder.attributeDetails(attributeDetails.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnCalculatedAttributeDefinitionProps { */ override fun attributeDetails(attributeDetails: CfnCalculatedAttributeDefinition.AttributeDetailsProperty) { - cdkBuilder.attributeDetails(attributeDetails.let(CfnCalculatedAttributeDefinition.AttributeDetailsProperty::unwrap)) + cdkBuilder.attributeDetails(attributeDetails.let(CfnCalculatedAttributeDefinition.AttributeDetailsProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface CfnCalculatedAttributeDefinitionProps { * calculated attribute. */ override fun conditions(conditions: IResolvable) { - cdkBuilder.conditions(conditions.let(IResolvable::unwrap)) + cdkBuilder.conditions(conditions.let(IResolvable.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface CfnCalculatedAttributeDefinitionProps { * calculated attribute. */ override fun conditions(conditions: CfnCalculatedAttributeDefinition.ConditionsProperty) { - cdkBuilder.conditions(conditions.let(CfnCalculatedAttributeDefinition.ConditionsProperty::unwrap)) + cdkBuilder.conditions(conditions.let(CfnCalculatedAttributeDefinition.ConditionsProperty.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnCalculatedAttributeDefinitionProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomain.kt index 94811977e4..934ea027b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomain.kt @@ -111,8 +111,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.customerprofiles.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.customerprofiles.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -201,7 +201,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -213,14 +213,14 @@ public open class CfnDomain( * The process of matching duplicate profiles. */ public open fun matching(`value`: IResolvable) { - unwrap(this).setMatching(`value`.let(IResolvable::unwrap)) + unwrap(this).setMatching(`value`.let(IResolvable.Companion::unwrap)) } /** * The process of matching duplicate profiles. */ public open fun matching(`value`: MatchingProperty) { - unwrap(this).setMatching(`value`.let(MatchingProperty::unwrap)) + unwrap(this).setMatching(`value`.let(MatchingProperty.Companion::unwrap)) } /** @@ -240,14 +240,14 @@ public open class CfnDomain( * The process of matching duplicate profiles using Rule-Based matching. */ public open fun ruleBasedMatching(`value`: IResolvable) { - unwrap(this).setRuleBasedMatching(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuleBasedMatching(`value`.let(IResolvable.Companion::unwrap)) } /** * The process of matching duplicate profiles using Rule-Based matching. */ public open fun ruleBasedMatching(`value`: RuleBasedMatchingProperty) { - unwrap(this).setRuleBasedMatching(`value`.let(RuleBasedMatchingProperty::unwrap)) + unwrap(this).setRuleBasedMatching(`value`.let(RuleBasedMatchingProperty.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnDomain( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnDomain( * @param matching The process of matching duplicate profiles. */ override fun matching(matching: IResolvable) { - cdkBuilder.matching(matching.let(IResolvable::unwrap)) + cdkBuilder.matching(matching.let(IResolvable.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class CfnDomain( * @param matching The process of matching duplicate profiles. */ override fun matching(matching: MatchingProperty) { - cdkBuilder.matching(matching.let(MatchingProperty::unwrap)) + cdkBuilder.matching(matching.let(MatchingProperty.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class CfnDomain( * matching. */ override fun ruleBasedMatching(ruleBasedMatching: IResolvable) { - cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(IResolvable::unwrap)) + cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(IResolvable.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class CfnDomain( * matching. */ override fun ruleBasedMatching(ruleBasedMatching: RuleBasedMatchingProperty) { - cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(RuleBasedMatchingProperty::unwrap)) + cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(RuleBasedMatchingProperty.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public open class CfnDomain( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1007,7 +1007,7 @@ public open class CfnDomain( * `ConflictResolution` specifies which `EmailAddress` should be used. */ override fun conflictResolution(conflictResolution: IResolvable) { - cdkBuilder.conflictResolution(conflictResolution.let(IResolvable::unwrap)) + cdkBuilder.conflictResolution(conflictResolution.let(IResolvable.Companion::unwrap)) } /** @@ -1017,7 +1017,7 @@ public open class CfnDomain( * `ConflictResolution` specifies which `EmailAddress` should be used. */ override fun conflictResolution(conflictResolution: ConflictResolutionProperty) { - cdkBuilder.conflictResolution(conflictResolution.let(ConflictResolutionProperty::unwrap)) + cdkBuilder.conflictResolution(conflictResolution.let(ConflictResolutionProperty.Companion::unwrap)) } /** @@ -1038,7 +1038,7 @@ public open class CfnDomain( * will be merged. */ override fun consolidation(consolidation: IResolvable) { - cdkBuilder.consolidation(consolidation.let(IResolvable::unwrap)) + cdkBuilder.consolidation(consolidation.let(IResolvable.Companion::unwrap)) } /** @@ -1047,7 +1047,7 @@ public open class CfnDomain( * will be merged. */ override fun consolidation(consolidation: ConsolidationProperty) { - cdkBuilder.consolidation(consolidation.let(ConsolidationProperty::unwrap)) + cdkBuilder.consolidation(consolidation.let(ConsolidationProperty.Companion::unwrap)) } /** @@ -1071,7 +1071,7 @@ public open class CfnDomain( * @param enabled The flag that enables the auto-merging of duplicate profiles. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1327,7 +1327,7 @@ public open class CfnDomain( * @param matchingAttributesList A list of matching criteria. */ override fun matchingAttributesList(matchingAttributesList: IResolvable) { - cdkBuilder.matchingAttributesList(matchingAttributesList.let(IResolvable::unwrap)) + cdkBuilder.matchingAttributesList(matchingAttributesList.let(IResolvable.Companion::unwrap)) } /** @@ -1613,14 +1613,14 @@ public open class CfnDomain( * @param s3Exporting The S3 location where Identity Resolution Jobs write result files. */ override fun s3Exporting(s3Exporting: IResolvable) { - cdkBuilder.s3Exporting(s3Exporting.let(IResolvable::unwrap)) + cdkBuilder.s3Exporting(s3Exporting.let(IResolvable.Companion::unwrap)) } /** * @param s3Exporting The S3 location where Identity Resolution Jobs write result files. */ override fun s3Exporting(s3Exporting: S3ExportingConfigProperty) { - cdkBuilder.s3Exporting(s3Exporting.let(S3ExportingConfigProperty::unwrap)) + cdkBuilder.s3Exporting(s3Exporting.let(S3ExportingConfigProperty.Companion::unwrap)) } /** @@ -1929,14 +1929,14 @@ public open class CfnDomain( * @param autoMerging Configuration information about the auto-merging process. */ override fun autoMerging(autoMerging: IResolvable) { - cdkBuilder.autoMerging(autoMerging.let(IResolvable::unwrap)) + cdkBuilder.autoMerging(autoMerging.let(IResolvable.Companion::unwrap)) } /** * @param autoMerging Configuration information about the auto-merging process. */ override fun autoMerging(autoMerging: AutoMergingProperty) { - cdkBuilder.autoMerging(autoMerging.let(AutoMergingProperty::unwrap)) + cdkBuilder.autoMerging(autoMerging.let(AutoMergingProperty.Companion::unwrap)) } /** @@ -1958,21 +1958,21 @@ public open class CfnDomain( * @param enabled The flag that enables the matching process of duplicate profiles. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param exportingConfig The S3 location where Identity Resolution Jobs write result files. */ override fun exportingConfig(exportingConfig: IResolvable) { - cdkBuilder.exportingConfig(exportingConfig.let(IResolvable::unwrap)) + cdkBuilder.exportingConfig(exportingConfig.let(IResolvable.Companion::unwrap)) } /** * @param exportingConfig The S3 location where Identity Resolution Jobs write result files. */ override fun exportingConfig(exportingConfig: ExportingConfigProperty) { - cdkBuilder.exportingConfig(exportingConfig.let(ExportingConfigProperty::unwrap)) + cdkBuilder.exportingConfig(exportingConfig.let(ExportingConfigProperty.Companion::unwrap)) } /** @@ -1988,7 +1988,7 @@ public open class CfnDomain( * every week. */ override fun jobSchedule(jobSchedule: IResolvable) { - cdkBuilder.jobSchedule(jobSchedule.let(IResolvable::unwrap)) + cdkBuilder.jobSchedule(jobSchedule.let(IResolvable.Companion::unwrap)) } /** @@ -1996,7 +1996,7 @@ public open class CfnDomain( * every week. */ override fun jobSchedule(jobSchedule: JobScheduleProperty) { - cdkBuilder.jobSchedule(jobSchedule.let(JobScheduleProperty::unwrap)) + cdkBuilder.jobSchedule(jobSchedule.let(JobScheduleProperty.Companion::unwrap)) } /** @@ -2401,7 +2401,7 @@ public open class CfnDomain( * where the rule-based identity resolution uses to match profiles. */ override fun attributeTypesSelector(attributeTypesSelector: IResolvable) { - cdkBuilder.attributeTypesSelector(attributeTypesSelector.let(IResolvable::unwrap)) + cdkBuilder.attributeTypesSelector(attributeTypesSelector.let(IResolvable.Companion::unwrap)) } /** @@ -2409,7 +2409,7 @@ public open class CfnDomain( * where the rule-based identity resolution uses to match profiles. */ override fun attributeTypesSelector(attributeTypesSelector: AttributeTypesSelectorProperty) { - cdkBuilder.attributeTypesSelector(attributeTypesSelector.let(AttributeTypesSelectorProperty::unwrap)) + cdkBuilder.attributeTypesSelector(attributeTypesSelector.let(AttributeTypesSelectorProperty.Companion::unwrap)) } /** @@ -2429,7 +2429,7 @@ public open class CfnDomain( * `ConflictResolution` specifies which `EmailAddress` should be used. */ override fun conflictResolution(conflictResolution: IResolvable) { - cdkBuilder.conflictResolution(conflictResolution.let(IResolvable::unwrap)) + cdkBuilder.conflictResolution(conflictResolution.let(IResolvable.Companion::unwrap)) } /** @@ -2439,7 +2439,7 @@ public open class CfnDomain( * `ConflictResolution` specifies which `EmailAddress` should be used. */ override fun conflictResolution(conflictResolution: ConflictResolutionProperty) { - cdkBuilder.conflictResolution(conflictResolution.let(ConflictResolutionProperty::unwrap)) + cdkBuilder.conflictResolution(conflictResolution.let(ConflictResolutionProperty.Companion::unwrap)) } /** @@ -2465,21 +2465,21 @@ public open class CfnDomain( * @param enabled The flag that enables the matching process of duplicate profiles. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param exportingConfig The S3 location where Identity Resolution Jobs write result files. */ override fun exportingConfig(exportingConfig: IResolvable) { - cdkBuilder.exportingConfig(exportingConfig.let(IResolvable::unwrap)) + cdkBuilder.exportingConfig(exportingConfig.let(IResolvable.Companion::unwrap)) } /** * @param exportingConfig The S3 location where Identity Resolution Jobs write result files. */ override fun exportingConfig(exportingConfig: ExportingConfigProperty) { - cdkBuilder.exportingConfig(exportingConfig.let(ExportingConfigProperty::unwrap)) + cdkBuilder.exportingConfig(exportingConfig.let(ExportingConfigProperty.Companion::unwrap)) } /** @@ -2495,7 +2495,7 @@ public open class CfnDomain( * You can have up to 15 `MatchingRule` in the `MatchingRules` . */ override fun matchingRules(matchingRules: IResolvable) { - cdkBuilder.matchingRules(matchingRules.let(IResolvable::unwrap)) + cdkBuilder.matchingRules(matchingRules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomainProps.kt index 854acf61fd..da919da5e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnDomainProps.kt @@ -274,14 +274,14 @@ public interface CfnDomainProps { * @param matching The process of matching duplicate profiles. */ override fun matching(matching: IResolvable) { - cdkBuilder.matching(matching.let(IResolvable::unwrap)) + cdkBuilder.matching(matching.let(IResolvable.Companion::unwrap)) } /** * @param matching The process of matching duplicate profiles. */ override fun matching(matching: CfnDomain.MatchingProperty) { - cdkBuilder.matching(matching.let(CfnDomain.MatchingProperty::unwrap)) + cdkBuilder.matching(matching.let(CfnDomain.MatchingProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CfnDomainProps { * matching. */ override fun ruleBasedMatching(ruleBasedMatching: IResolvable) { - cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(IResolvable::unwrap)) + cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(IResolvable.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface CfnDomainProps { * matching. */ override fun ruleBasedMatching(ruleBasedMatching: CfnDomain.RuleBasedMatchingProperty) { - cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(CfnDomain.RuleBasedMatchingProperty::unwrap)) + cdkBuilder.ruleBasedMatching(ruleBasedMatching.let(CfnDomain.RuleBasedMatchingProperty.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public interface CfnDomainProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStream.kt index c802616439..02f4dfe506 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStream.kt @@ -49,8 +49,8 @@ public open class CfnEventStream( id: String, props: CfnEventStreamProps, ) : - this(software.amazon.awscdk.services.customerprofiles.CfnEventStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventStreamProps::unwrap)) + this(software.amazon.awscdk.services.customerprofiles.CfnEventStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventStreamProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnEventStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnEventStream( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnEventStream( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStreamProps.kt index a133f72267..0529f8dbd2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnEventStreamProps.kt @@ -119,7 +119,7 @@ public interface CfnEventStreamProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegration.kt index b3d979191c..d0a9efd61f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegration.kt @@ -126,8 +126,8 @@ public open class CfnIntegration( id: String, props: CfnIntegrationProps, ) : - this(software.amazon.awscdk.services.customerprofiles.CfnIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.customerprofiles.CfnIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIntegrationProps.Companion::unwrap)) ) public constructor( @@ -168,14 +168,14 @@ public open class CfnIntegration( * The configuration that controls how Customer Profiles retrieves data from the source. */ public open fun flowDefinition(`value`: IResolvable) { - unwrap(this).setFlowDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setFlowDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration that controls how Customer Profiles retrieves data from the source. */ public open fun flowDefinition(`value`: FlowDefinitionProperty) { - unwrap(this).setFlowDefinition(`value`.let(FlowDefinitionProperty::unwrap)) + unwrap(this).setFlowDefinition(`value`.let(FlowDefinitionProperty.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnIntegration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnIntegration( * The object type mapping. */ public open fun objectTypeNames(`value`: IResolvable) { - unwrap(this).setObjectTypeNames(`value`.let(IResolvable::unwrap)) + unwrap(this).setObjectTypeNames(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnIntegration( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnIntegration( * from the source. */ override fun flowDefinition(flowDefinition: IResolvable) { - cdkBuilder.flowDefinition(flowDefinition.let(IResolvable::unwrap)) + cdkBuilder.flowDefinition(flowDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnIntegration( * from the source. */ override fun flowDefinition(flowDefinition: FlowDefinitionProperty) { - cdkBuilder.flowDefinition(flowDefinition.let(FlowDefinitionProperty::unwrap)) + cdkBuilder.flowDefinition(flowDefinition.let(FlowDefinitionProperty.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class CfnIntegration( * @param objectTypeNames The object type mapping. */ override fun objectTypeNames(objectTypeNames: IResolvable) { - cdkBuilder.objectTypeNames(objectTypeNames.let(IResolvable::unwrap)) + cdkBuilder.objectTypeNames(objectTypeNames.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnIntegration( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnIntegration( * data from the source. */ override fun sourceFlowConfig(sourceFlowConfig: IResolvable) { - cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(IResolvable.Companion::unwrap)) } /** @@ -949,7 +949,7 @@ public open class CfnIntegration( * data from the source. */ override fun sourceFlowConfig(sourceFlowConfig: SourceFlowConfigProperty) { - cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(SourceFlowConfigProperty::unwrap)) + cdkBuilder.sourceFlowConfig(sourceFlowConfig.let(SourceFlowConfigProperty.Companion::unwrap)) } /** @@ -966,7 +966,7 @@ public open class CfnIntegration( * the flow run. */ override fun tasks(tasks: IResolvable) { - cdkBuilder.tasks(tasks.let(IResolvable::unwrap)) + cdkBuilder.tasks(tasks.let(IResolvable.Companion::unwrap)) } /** @@ -987,14 +987,14 @@ public open class CfnIntegration( * @param triggerConfig The trigger settings that determine how and when the flow runs. */ override fun triggerConfig(triggerConfig: IResolvable) { - cdkBuilder.triggerConfig(triggerConfig.let(IResolvable::unwrap)) + cdkBuilder.triggerConfig(triggerConfig.let(IResolvable.Companion::unwrap)) } /** * @param triggerConfig The trigger settings that determine how and when the flow runs. */ override fun triggerConfig(triggerConfig: TriggerConfigProperty) { - cdkBuilder.triggerConfig(triggerConfig.let(TriggerConfigProperty::unwrap)) + cdkBuilder.triggerConfig(triggerConfig.let(TriggerConfigProperty.Companion::unwrap)) } /** @@ -1567,7 +1567,7 @@ public open class CfnIntegration( * added) fields in the Salesforce objects while running a flow. */ override fun enableDynamicFieldUpdate(enableDynamicFieldUpdate: IResolvable) { - cdkBuilder.enableDynamicFieldUpdate(enableDynamicFieldUpdate.let(IResolvable::unwrap)) + cdkBuilder.enableDynamicFieldUpdate(enableDynamicFieldUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -1583,7 +1583,7 @@ public open class CfnIntegration( * flow run. */ override fun includeDeletedRecords(includeDeletedRecords: IResolvable) { - cdkBuilder.includeDeletedRecords(includeDeletedRecords.let(IResolvable::unwrap)) + cdkBuilder.includeDeletedRecords(includeDeletedRecords.let(IResolvable.Companion::unwrap)) } /** @@ -2176,14 +2176,14 @@ public open class CfnIntegration( * @param marketo The properties that are applied when Marketo is being used as a source. */ override fun marketo(marketo: IResolvable) { - cdkBuilder.marketo(marketo.let(IResolvable::unwrap)) + cdkBuilder.marketo(marketo.let(IResolvable.Companion::unwrap)) } /** * @param marketo The properties that are applied when Marketo is being used as a source. */ override fun marketo(marketo: MarketoSourcePropertiesProperty) { - cdkBuilder.marketo(marketo.let(MarketoSourcePropertiesProperty::unwrap)) + cdkBuilder.marketo(marketo.let(MarketoSourcePropertiesProperty.Companion::unwrap)) } /** @@ -2198,14 +2198,14 @@ public open class CfnIntegration( * @param s3 The properties that are applied when Amazon S3 is being used as the flow source. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 The properties that are applied when Amazon S3 is being used as the flow source. */ override fun s3(s3: S3SourcePropertiesProperty) { - cdkBuilder.s3(s3.let(S3SourcePropertiesProperty::unwrap)) + cdkBuilder.s3(s3.let(S3SourcePropertiesProperty.Companion::unwrap)) } /** @@ -2221,7 +2221,7 @@ public open class CfnIntegration( * source. */ override fun salesforce(salesforce: IResolvable) { - cdkBuilder.salesforce(salesforce.let(IResolvable::unwrap)) + cdkBuilder.salesforce(salesforce.let(IResolvable.Companion::unwrap)) } /** @@ -2229,7 +2229,7 @@ public open class CfnIntegration( * source. */ override fun salesforce(salesforce: SalesforceSourcePropertiesProperty) { - cdkBuilder.salesforce(salesforce.let(SalesforceSourcePropertiesProperty::unwrap)) + cdkBuilder.salesforce(salesforce.let(SalesforceSourcePropertiesProperty.Companion::unwrap)) } /** @@ -2246,7 +2246,7 @@ public open class CfnIntegration( * source. */ override fun serviceNow(serviceNow: IResolvable) { - cdkBuilder.serviceNow(serviceNow.let(IResolvable::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(IResolvable.Companion::unwrap)) } /** @@ -2254,7 +2254,7 @@ public open class CfnIntegration( * source. */ override fun serviceNow(serviceNow: ServiceNowSourcePropertiesProperty) { - cdkBuilder.serviceNow(serviceNow.let(ServiceNowSourcePropertiesProperty::unwrap)) + cdkBuilder.serviceNow(serviceNow.let(ServiceNowSourcePropertiesProperty.Companion::unwrap)) } /** @@ -2270,14 +2270,14 @@ public open class CfnIntegration( * @param zendesk The properties that are applied when using Zendesk as a flow source. */ override fun zendesk(zendesk: IResolvable) { - cdkBuilder.zendesk(zendesk.let(IResolvable::unwrap)) + cdkBuilder.zendesk(zendesk.let(IResolvable.Companion::unwrap)) } /** * @param zendesk The properties that are applied when using Zendesk as a flow source. */ override fun zendesk(zendesk: ZendeskSourcePropertiesProperty) { - cdkBuilder.zendesk(zendesk.let(ZendeskSourcePropertiesProperty::unwrap)) + cdkBuilder.zendesk(zendesk.let(ZendeskSourcePropertiesProperty.Companion::unwrap)) } /** @@ -2522,7 +2522,7 @@ public open class CfnIntegration( * when querying for the incremental data pull. */ override fun incrementalPullConfig(incrementalPullConfig: IResolvable) { - cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IResolvable::unwrap)) + cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2532,7 +2532,7 @@ public open class CfnIntegration( * when querying for the incremental data pull. */ override fun incrementalPullConfig(incrementalPullConfig: IncrementalPullConfigProperty) { - cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IncrementalPullConfigProperty::unwrap)) + cdkBuilder.incrementalPullConfig(incrementalPullConfig.let(IncrementalPullConfigProperty.Companion::unwrap)) } /** @@ -2552,7 +2552,7 @@ public open class CfnIntegration( * particular source connector. */ override fun sourceConnectorProperties(sourceConnectorProperties: IResolvable) { - cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(IResolvable::unwrap)) + cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(IResolvable.Companion::unwrap)) } /** @@ -2561,7 +2561,7 @@ public open class CfnIntegration( */ override fun sourceConnectorProperties(sourceConnectorProperties: SourceConnectorPropertiesProperty) { - cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(SourceConnectorPropertiesProperty::unwrap)) + cdkBuilder.sourceConnectorProperties(sourceConnectorProperties.let(SourceConnectorPropertiesProperty.Companion::unwrap)) } /** @@ -2888,14 +2888,14 @@ public open class CfnIntegration( * @param connectorOperator The operation to be performed on the provided source fields. */ override fun connectorOperator(connectorOperator: IResolvable) { - cdkBuilder.connectorOperator(connectorOperator.let(IResolvable::unwrap)) + cdkBuilder.connectorOperator(connectorOperator.let(IResolvable.Companion::unwrap)) } /** * @param connectorOperator The operation to be performed on the provided source fields. */ override fun connectorOperator(connectorOperator: ConnectorOperatorProperty) { - cdkBuilder.connectorOperator(connectorOperator.let(ConnectorOperatorProperty::unwrap)) + cdkBuilder.connectorOperator(connectorOperator.let(ConnectorOperatorProperty.Companion::unwrap)) } /** @@ -2933,7 +2933,7 @@ public open class CfnIntegration( * The service looks for particular information based on the TaskType. */ override fun taskProperties(taskProperties: IResolvable) { - cdkBuilder.taskProperties(taskProperties.let(IResolvable::unwrap)) + cdkBuilder.taskProperties(taskProperties.let(IResolvable.Companion::unwrap)) } /** @@ -3117,7 +3117,7 @@ public open class CfnIntegration( * Currently, these settings only apply to the Scheduled trigger type. */ override fun triggerProperties(triggerProperties: IResolvable) { - cdkBuilder.triggerProperties(triggerProperties.let(IResolvable::unwrap)) + cdkBuilder.triggerProperties(triggerProperties.let(IResolvable.Companion::unwrap)) } /** @@ -3126,7 +3126,7 @@ public open class CfnIntegration( * Currently, these settings only apply to the Scheduled trigger type. */ override fun triggerProperties(triggerProperties: TriggerPropertiesProperty) { - cdkBuilder.triggerProperties(triggerProperties.let(TriggerPropertiesProperty::unwrap)) + cdkBuilder.triggerProperties(triggerProperties.let(TriggerPropertiesProperty.Companion::unwrap)) } /** @@ -3265,7 +3265,7 @@ public open class CfnIntegration( * define. */ override fun scheduled(scheduled: IResolvable) { - cdkBuilder.scheduled(scheduled.let(IResolvable::unwrap)) + cdkBuilder.scheduled(scheduled.let(IResolvable.Companion::unwrap)) } /** @@ -3273,7 +3273,7 @@ public open class CfnIntegration( * define. */ override fun scheduled(scheduled: ScheduledTriggerPropertiesProperty) { - cdkBuilder.scheduled(scheduled.let(ScheduledTriggerPropertiesProperty::unwrap)) + cdkBuilder.scheduled(scheduled.let(ScheduledTriggerPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegrationProps.kt index 7dfbc8d315..efd11d9d42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnIntegrationProps.kt @@ -236,7 +236,7 @@ public interface CfnIntegrationProps { * from the source. */ override fun flowDefinition(flowDefinition: IResolvable) { - cdkBuilder.flowDefinition(flowDefinition.let(IResolvable::unwrap)) + cdkBuilder.flowDefinition(flowDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CfnIntegrationProps { * from the source. */ override fun flowDefinition(flowDefinition: CfnIntegration.FlowDefinitionProperty) { - cdkBuilder.flowDefinition(flowDefinition.let(CfnIntegration.FlowDefinitionProperty::unwrap)) + cdkBuilder.flowDefinition(flowDefinition.let(CfnIntegration.FlowDefinitionProperty.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CfnIntegrationProps { * @param objectTypeNames The object type mapping. */ override fun objectTypeNames(objectTypeNames: IResolvable) { - cdkBuilder.objectTypeNames(objectTypeNames.let(IResolvable::unwrap)) + cdkBuilder.objectTypeNames(objectTypeNames.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnIntegrationProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectType.kt index 0ba5cd3f09..0a1b6e1d1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectType.kt @@ -73,8 +73,8 @@ public open class CfnObjectType( id: String, props: CfnObjectTypeProps, ) : - this(software.amazon.awscdk.services.customerprofiles.CfnObjectType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnObjectTypeProps::unwrap)) + this(software.amazon.awscdk.services.customerprofiles.CfnObjectType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnObjectTypeProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnObjectType( * object of this type. */ public open fun allowProfileCreation(`value`: IResolvable) { - unwrap(this).setAllowProfileCreation(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowProfileCreation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnObjectType( * A list of field definitions for the object type mapping. */ public open fun fields(`value`: IResolvable) { - unwrap(this).setFields(`value`.let(IResolvable::unwrap)) + unwrap(this).setFields(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnObjectType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnObjectType( * A list of keys that can be used to map data to the profile or search for the profile. */ public open fun keys(`value`: IResolvable) { - unwrap(this).setKeys(`value`.let(IResolvable::unwrap)) + unwrap(this).setKeys(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnObjectType( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnObjectType( * received if one doesn’t exist for an object of this type. */ override fun allowProfileCreation(allowProfileCreation: IResolvable) { - cdkBuilder.allowProfileCreation(allowProfileCreation.let(IResolvable::unwrap)) + cdkBuilder.allowProfileCreation(allowProfileCreation.let(IResolvable.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnObjectType( * @param fields A list of field definitions for the object type mapping. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnObjectType( * profile. */ override fun keys(keys: IResolvable) { - cdkBuilder.keys(keys.let(IResolvable::unwrap)) + cdkBuilder.keys(keys.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnObjectType( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -745,14 +745,14 @@ public open class CfnObjectType( * @param objectTypeField Represents a field in a ProfileObjectType. */ override fun objectTypeField(objectTypeField: IResolvable) { - cdkBuilder.objectTypeField(objectTypeField.let(IResolvable::unwrap)) + cdkBuilder.objectTypeField(objectTypeField.let(IResolvable.Companion::unwrap)) } /** * @param objectTypeField Represents a field in a ProfileObjectType. */ override fun objectTypeField(objectTypeField: ObjectTypeFieldProperty) { - cdkBuilder.objectTypeField(objectTypeField.let(ObjectTypeFieldProperty::unwrap)) + cdkBuilder.objectTypeField(objectTypeField.let(ObjectTypeFieldProperty.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public open class CfnObjectType( * @param objectTypeKeyList A list of ObjectTypeKey. */ override fun objectTypeKeyList(objectTypeKeyList: IResolvable) { - cdkBuilder.objectTypeKeyList(objectTypeKeyList.let(IResolvable::unwrap)) + cdkBuilder.objectTypeKeyList(objectTypeKeyList.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectTypeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectTypeProps.kt index 662f270b0f..d9287a718b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectTypeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/customerprofiles/CfnObjectTypeProps.kt @@ -276,7 +276,7 @@ public interface CfnObjectTypeProps { * set to `TRUE` , and if no match is found, then the service creates a new standard profile. */ override fun allowProfileCreation(allowProfileCreation: IResolvable) { - cdkBuilder.allowProfileCreation(allowProfileCreation.let(IResolvable::unwrap)) + cdkBuilder.allowProfileCreation(allowProfileCreation.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface CfnObjectTypeProps { * @param fields A list of field definitions for the object type mapping. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface CfnObjectTypeProps { * profile. */ override fun keys(keys: IResolvable) { - cdkBuilder.keys(keys.let(IResolvable::unwrap)) + cdkBuilder.keys(keys.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface CfnObjectTypeProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDataset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDataset.kt index c125966332..8c37eb60d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDataset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDataset.kt @@ -134,8 +134,8 @@ public open class CfnDataset( id: String, props: CfnDatasetProps, ) : - this(software.amazon.awscdk.services.databrew.CfnDataset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatasetProps::unwrap)) + this(software.amazon.awscdk.services.databrew.CfnDataset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatasetProps.Companion::unwrap)) ) public constructor( @@ -166,14 +166,14 @@ public open class CfnDataset( * A set of options that define how DataBrew interprets the data in the dataset. */ public open fun formatOptions(`value`: IResolvable) { - unwrap(this).setFormatOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setFormatOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * A set of options that define how DataBrew interprets the data in the dataset. */ public open fun formatOptions(`value`: FormatOptionsProperty) { - unwrap(this).setFormatOptions(`value`.let(FormatOptionsProperty::unwrap)) + unwrap(this).setFormatOptions(`value`.let(FormatOptionsProperty.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnDataset( * S3 . */ public open fun input(`value`: IResolvable) { - unwrap(this).setInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setInput(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnDataset( * S3 . */ public open fun input(`value`: InputProperty) { - unwrap(this).setInput(`value`.let(InputProperty::unwrap)) + unwrap(this).setInput(`value`.let(InputProperty.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnDataset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -245,14 +245,14 @@ public open class CfnDataset( * A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. */ public open fun pathOptions(`value`: IResolvable) { - unwrap(this).setPathOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPathOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. */ public open fun pathOptions(`value`: PathOptionsProperty) { - unwrap(this).setPathOptions(`value`.let(PathOptionsProperty::unwrap)) + unwrap(this).setPathOptions(`value`.let(PathOptionsProperty.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnDataset( * Metadata tags that have been applied to the dataset. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnDataset( * dataset. */ override fun formatOptions(formatOptions: IResolvable) { - cdkBuilder.formatOptions(formatOptions.let(IResolvable::unwrap)) + cdkBuilder.formatOptions(formatOptions.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnDataset( * dataset. */ override fun formatOptions(formatOptions: FormatOptionsProperty) { - cdkBuilder.formatOptions(formatOptions.let(FormatOptionsProperty::unwrap)) + cdkBuilder.formatOptions(formatOptions.let(FormatOptionsProperty.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class CfnDataset( * Catalog or Amazon S3 . */ override fun input(input: IResolvable) { - cdkBuilder.input(input.let(IResolvable::unwrap)) + cdkBuilder.input(input.let(IResolvable.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnDataset( * Catalog or Amazon S3 . */ override fun input(input: InputProperty) { - cdkBuilder.input(input.let(InputProperty::unwrap)) + cdkBuilder.input(input.let(InputProperty.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public open class CfnDataset( * the dataset. */ override fun pathOptions(pathOptions: IResolvable) { - cdkBuilder.pathOptions(pathOptions.let(IResolvable::unwrap)) + cdkBuilder.pathOptions(pathOptions.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnDataset( * the dataset. */ override fun pathOptions(pathOptions: PathOptionsProperty) { - cdkBuilder.pathOptions(pathOptions.let(PathOptionsProperty::unwrap)) + cdkBuilder.pathOptions(pathOptions.let(PathOptionsProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnDataset( * @param tags Metadata tags that have been applied to the dataset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public open class CfnDataset( * If this value is false, column names are auto-generated. */ override fun headerRow(headerRow: IResolvable) { - cdkBuilder.headerRow(headerRow.let(IResolvable::unwrap)) + cdkBuilder.headerRow(headerRow.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.databrew.CfnDataset.CsvOptionsProperty = @@ -852,7 +852,7 @@ public open class CfnDataset( * directory. */ override fun tempDirectory(tempDirectory: IResolvable) { - cdkBuilder.tempDirectory(tempDirectory.let(IResolvable::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public open class CfnDataset( * directory. */ override fun tempDirectory(tempDirectory: S3LocationProperty) { - cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public open class CfnDataset( * directory. */ override fun tempDirectory(tempDirectory: IResolvable) { - cdkBuilder.tempDirectory(tempDirectory.let(IResolvable::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -1071,7 +1071,7 @@ public open class CfnDataset( * directory. */ override fun tempDirectory(tempDirectory: S3LocationProperty) { - cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty.Companion::unwrap)) } /** @@ -1300,7 +1300,7 @@ public open class CfnDataset( * parameter should be loaded as an additional column in the dataset. */ override fun createColumn(createColumn: IResolvable) { - cdkBuilder.createColumn(createColumn.let(IResolvable::unwrap)) + cdkBuilder.createColumn(createColumn.let(IResolvable.Companion::unwrap)) } /** @@ -1308,7 +1308,7 @@ public open class CfnDataset( * Required for datetime parameters. */ override fun datetimeOptions(datetimeOptions: IResolvable) { - cdkBuilder.datetimeOptions(datetimeOptions.let(IResolvable::unwrap)) + cdkBuilder.datetimeOptions(datetimeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1316,7 +1316,7 @@ public open class CfnDataset( * Required for datetime parameters. */ override fun datetimeOptions(datetimeOptions: DatetimeOptionsProperty) { - cdkBuilder.datetimeOptions(datetimeOptions.let(DatetimeOptionsProperty::unwrap)) + cdkBuilder.datetimeOptions(datetimeOptions.let(DatetimeOptionsProperty.Companion::unwrap)) } /** @@ -1333,7 +1333,7 @@ public open class CfnDataset( * criteria to the parameter. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public open class CfnDataset( * criteria to the parameter. */ override fun filter(filter: FilterExpressionProperty) { - cdkBuilder.filter(filter.let(FilterExpressionProperty::unwrap)) + cdkBuilder.filter(filter.let(FilterExpressionProperty.Companion::unwrap)) } /** @@ -1714,7 +1714,7 @@ public open class CfnDataset( * If this value is false, column names are auto-generated. */ override fun headerRow(headerRow: IResolvable) { - cdkBuilder.headerRow(headerRow.let(IResolvable::unwrap)) + cdkBuilder.headerRow(headerRow.let(IResolvable.Companion::unwrap)) } /** @@ -1722,7 +1722,7 @@ public open class CfnDataset( * the dataset. */ override fun sheetIndexes(sheetIndexes: IResolvable) { - cdkBuilder.sheetIndexes(sheetIndexes.let(IResolvable::unwrap)) + cdkBuilder.sheetIndexes(sheetIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -2050,7 +2050,7 @@ public open class CfnDataset( * expression. */ override fun valuesMap(valuesMap: IResolvable) { - cdkBuilder.valuesMap(valuesMap.let(IResolvable::unwrap)) + cdkBuilder.valuesMap(valuesMap.let(IResolvable.Companion::unwrap)) } /** @@ -2337,14 +2337,14 @@ public open class CfnDataset( * @param csv Options that define how CSV input is to be interpreted by DataBrew. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** * @param csv Options that define how CSV input is to be interpreted by DataBrew. */ override fun csv(csv: CsvOptionsProperty) { - cdkBuilder.csv(csv.let(CsvOptionsProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvOptionsProperty.Companion::unwrap)) } /** @@ -2359,14 +2359,14 @@ public open class CfnDataset( * @param excel Options that define how Excel input is to be interpreted by DataBrew. */ override fun excel(excel: IResolvable) { - cdkBuilder.excel(excel.let(IResolvable::unwrap)) + cdkBuilder.excel(excel.let(IResolvable.Companion::unwrap)) } /** * @param excel Options that define how Excel input is to be interpreted by DataBrew. */ override fun excel(excel: ExcelOptionsProperty) { - cdkBuilder.excel(excel.let(ExcelOptionsProperty::unwrap)) + cdkBuilder.excel(excel.let(ExcelOptionsProperty.Companion::unwrap)) } /** @@ -2381,14 +2381,14 @@ public open class CfnDataset( * @param json Options that define how JSON input is to be interpreted by DataBrew. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** * @param json Options that define how JSON input is to be interpreted by DataBrew. */ override fun json(json: JsonOptionsProperty) { - cdkBuilder.json(json.let(JsonOptionsProperty::unwrap)) + cdkBuilder.json(json.let(JsonOptionsProperty.Companion::unwrap)) } /** @@ -2609,7 +2609,7 @@ public open class CfnDataset( * @param dataCatalogInputDefinition The AWS Glue Data Catalog parameters for the data. */ override fun dataCatalogInputDefinition(dataCatalogInputDefinition: IResolvable) { - cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -2617,7 +2617,7 @@ public open class CfnDataset( */ override fun dataCatalogInputDefinition(dataCatalogInputDefinition: DataCatalogInputDefinitionProperty) { - cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(DataCatalogInputDefinitionProperty::unwrap)) + cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(DataCatalogInputDefinitionProperty.Companion::unwrap)) } /** @@ -2635,7 +2635,7 @@ public open class CfnDataset( * database. */ override fun databaseInputDefinition(databaseInputDefinition: IResolvable) { - cdkBuilder.databaseInputDefinition(databaseInputDefinition.let(IResolvable::unwrap)) + cdkBuilder.databaseInputDefinition(databaseInputDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -2644,7 +2644,7 @@ public open class CfnDataset( */ override fun databaseInputDefinition(databaseInputDefinition: DatabaseInputDefinitionProperty) { - cdkBuilder.databaseInputDefinition(databaseInputDefinition.let(DatabaseInputDefinitionProperty::unwrap)) + cdkBuilder.databaseInputDefinition(databaseInputDefinition.let(DatabaseInputDefinitionProperty.Companion::unwrap)) } /** @@ -2661,14 +2661,14 @@ public open class CfnDataset( * @param metadata Contains additional resource information needed for specific datasets. */ override fun metadata(metadata: IResolvable) { - cdkBuilder.metadata(metadata.let(IResolvable::unwrap)) + cdkBuilder.metadata(metadata.let(IResolvable.Companion::unwrap)) } /** * @param metadata Contains additional resource information needed for specific datasets. */ override fun metadata(metadata: MetadataProperty) { - cdkBuilder.metadata(metadata.let(MetadataProperty::unwrap)) + cdkBuilder.metadata(metadata.let(MetadataProperty.Companion::unwrap)) } /** @@ -2683,14 +2683,14 @@ public open class CfnDataset( * @param s3InputDefinition The Amazon S3 location where the data is stored. */ override fun s3InputDefinition(s3InputDefinition: IResolvable) { - cdkBuilder.s3InputDefinition(s3InputDefinition.let(IResolvable::unwrap)) + cdkBuilder.s3InputDefinition(s3InputDefinition.let(IResolvable.Companion::unwrap)) } /** * @param s3InputDefinition The Amazon S3 location where the data is stored. */ override fun s3InputDefinition(s3InputDefinition: S3LocationProperty) { - cdkBuilder.s3InputDefinition(s3InputDefinition.let(S3LocationProperty::unwrap)) + cdkBuilder.s3InputDefinition(s3InputDefinition.let(S3LocationProperty.Companion::unwrap)) } /** @@ -2814,7 +2814,7 @@ public open class CfnDataset( * characters. */ override fun multiLine(multiLine: IResolvable) { - cdkBuilder.multiLine(multiLine.let(IResolvable::unwrap)) + cdkBuilder.multiLine(multiLine.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.databrew.CfnDataset.JsonOptionsProperty = @@ -3086,7 +3086,7 @@ public open class CfnDataset( * should be selected. */ override fun filesLimit(filesLimit: IResolvable) { - cdkBuilder.filesLimit(filesLimit.let(IResolvable::unwrap)) + cdkBuilder.filesLimit(filesLimit.let(IResolvable.Companion::unwrap)) } /** @@ -3094,7 +3094,7 @@ public open class CfnDataset( * should be selected. */ override fun filesLimit(filesLimit: FilesLimitProperty) { - cdkBuilder.filesLimit(filesLimit.let(FilesLimitProperty::unwrap)) + cdkBuilder.filesLimit(filesLimit.let(FilesLimitProperty.Companion::unwrap)) } /** @@ -3111,7 +3111,7 @@ public open class CfnDataset( * matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 . */ override fun lastModifiedDateCondition(lastModifiedDateCondition: IResolvable) { - cdkBuilder.lastModifiedDateCondition(lastModifiedDateCondition.let(IResolvable::unwrap)) + cdkBuilder.lastModifiedDateCondition(lastModifiedDateCondition.let(IResolvable.Companion::unwrap)) } /** @@ -3119,7 +3119,7 @@ public open class CfnDataset( * matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 . */ override fun lastModifiedDateCondition(lastModifiedDateCondition: FilterExpressionProperty) { - cdkBuilder.lastModifiedDateCondition(lastModifiedDateCondition.let(FilterExpressionProperty::unwrap)) + cdkBuilder.lastModifiedDateCondition(lastModifiedDateCondition.let(FilterExpressionProperty.Companion::unwrap)) } /** @@ -3137,7 +3137,7 @@ public open class CfnDataset( * dataset to their definitions. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -3292,14 +3292,14 @@ public open class CfnDataset( * @param datasetParameter The path parameter definition. */ override fun datasetParameter(datasetParameter: IResolvable) { - cdkBuilder.datasetParameter(datasetParameter.let(IResolvable::unwrap)) + cdkBuilder.datasetParameter(datasetParameter.let(IResolvable.Companion::unwrap)) } /** * @param datasetParameter The path parameter definition. */ override fun datasetParameter(datasetParameter: DatasetParameterProperty) { - cdkBuilder.datasetParameter(datasetParameter.let(DatasetParameterProperty::unwrap)) + cdkBuilder.datasetParameter(datasetParameter.let(DatasetParameterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDatasetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDatasetProps.kt index 75d1cb8739..214bf9b467 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDatasetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnDatasetProps.kt @@ -263,7 +263,7 @@ public interface CfnDatasetProps { * dataset. */ override fun formatOptions(formatOptions: IResolvable) { - cdkBuilder.formatOptions(formatOptions.let(IResolvable::unwrap)) + cdkBuilder.formatOptions(formatOptions.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnDatasetProps { * dataset. */ override fun formatOptions(formatOptions: CfnDataset.FormatOptionsProperty) { - cdkBuilder.formatOptions(formatOptions.let(CfnDataset.FormatOptionsProperty::unwrap)) + cdkBuilder.formatOptions(formatOptions.let(CfnDataset.FormatOptionsProperty.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnDatasetProps { * Catalog or Amazon S3 . */ override fun input(input: IResolvable) { - cdkBuilder.input(input.let(IResolvable::unwrap)) + cdkBuilder.input(input.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnDatasetProps { * Catalog or Amazon S3 . */ override fun input(input: CfnDataset.InputProperty) { - cdkBuilder.input(input.let(CfnDataset.InputProperty::unwrap)) + cdkBuilder.input(input.let(CfnDataset.InputProperty.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface CfnDatasetProps { * the dataset. */ override fun pathOptions(pathOptions: IResolvable) { - cdkBuilder.pathOptions(pathOptions.let(IResolvable::unwrap)) + cdkBuilder.pathOptions(pathOptions.let(IResolvable.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public interface CfnDatasetProps { * the dataset. */ override fun pathOptions(pathOptions: CfnDataset.PathOptionsProperty) { - cdkBuilder.pathOptions(pathOptions.let(CfnDataset.PathOptionsProperty::unwrap)) + cdkBuilder.pathOptions(pathOptions.let(CfnDataset.PathOptionsProperty.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public interface CfnDatasetProps { * @param tags Metadata tags that have been applied to the dataset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJob.kt index 39780f0be5..91d48e3081 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJob.kt @@ -177,8 +177,8 @@ public open class CfnJob( id: String, props: CfnJobProps, ) : - this(software.amazon.awscdk.services.databrew.CfnJob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnJobProps::unwrap)) + this(software.amazon.awscdk.services.databrew.CfnJob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJobProps.Companion::unwrap)) ) public constructor( @@ -197,7 +197,7 @@ public open class CfnJob( * One or more artifacts that represent the AWS Glue Data Catalog output from running the job. */ public open fun dataCatalogOutputs(`value`: IResolvable) { - unwrap(this).setDataCatalogOutputs(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataCatalogOutputs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnJob( * DataBrew recipe job to write into. */ public open fun databaseOutputs(`value`: IResolvable) { - unwrap(this).setDatabaseOutputs(`value`.let(IResolvable::unwrap)) + unwrap(this).setDatabaseOutputs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnJob( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnJob( * profile job is run. */ public open fun jobSample(`value`: IResolvable) { - unwrap(this).setJobSample(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobSample(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnJob( * profile job is run. */ public open fun jobSample(`value`: JobSampleProperty) { - unwrap(this).setJobSample(`value`.let(JobSampleProperty::unwrap)) + unwrap(this).setJobSample(`value`.let(JobSampleProperty.Companion::unwrap)) } /** @@ -374,14 +374,14 @@ public open class CfnJob( * The location in Amazon S3 where the job writes its output. */ public open fun outputLocation(`value`: IResolvable) { - unwrap(this).setOutputLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The location in Amazon S3 where the job writes its output. */ public open fun outputLocation(`value`: OutputLocationProperty) { - unwrap(this).setOutputLocation(`value`.let(OutputLocationProperty::unwrap)) + unwrap(this).setOutputLocation(`value`.let(OutputLocationProperty.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnJob( * One or more artifacts that represent output from running the job. */ public open fun outputs(`value`: IResolvable) { - unwrap(this).setOutputs(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -425,14 +425,14 @@ public open class CfnJob( * Configuration for profile jobs. */ public open fun profileConfiguration(`value`: IResolvable) { - unwrap(this).setProfileConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setProfileConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for profile jobs. */ public open fun profileConfiguration(`value`: ProfileConfigurationProperty) { - unwrap(this).setProfileConfiguration(`value`.let(ProfileConfigurationProperty::unwrap)) + unwrap(this).setProfileConfiguration(`value`.let(ProfileConfigurationProperty.Companion::unwrap)) } /** @@ -464,14 +464,14 @@ public open class CfnJob( * A series of data transformation steps that the job runs. */ public open fun recipe(`value`: IResolvable) { - unwrap(this).setRecipe(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecipe(`value`.let(IResolvable.Companion::unwrap)) } /** * A series of data transformation steps that the job runs. */ public open fun recipe(`value`: RecipeProperty) { - unwrap(this).setRecipe(`value`.let(RecipeProperty::unwrap)) + unwrap(this).setRecipe(`value`.let(RecipeProperty.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnJob( * Metadata tags that have been applied to the job. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnJob( * List of validation configurations that are applied to the profile job. */ public open fun validationConfigurations(`value`: IResolvable) { - unwrap(this).setValidationConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -945,7 +945,7 @@ public open class CfnJob( * output from running the job. */ override fun dataCatalogOutputs(dataCatalogOutputs: IResolvable) { - cdkBuilder.dataCatalogOutputs(dataCatalogOutputs.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogOutputs(dataCatalogOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public open class CfnJob( * output destination for a DataBrew recipe job to write into. */ override fun databaseOutputs(databaseOutputs: IResolvable) { - cdkBuilder.databaseOutputs(databaseOutputs.let(IResolvable::unwrap)) + cdkBuilder.databaseOutputs(databaseOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -1053,7 +1053,7 @@ public open class CfnJob( * rows on which the profile job is run. */ override fun jobSample(jobSample: IResolvable) { - cdkBuilder.jobSample(jobSample.let(IResolvable::unwrap)) + cdkBuilder.jobSample(jobSample.let(IResolvable.Companion::unwrap)) } /** @@ -1068,7 +1068,7 @@ public open class CfnJob( * rows on which the profile job is run. */ override fun jobSample(jobSample: JobSampleProperty) { - cdkBuilder.jobSample(jobSample.let(JobSampleProperty::unwrap)) + cdkBuilder.jobSample(jobSample.let(JobSampleProperty.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class CfnJob( * @param outputLocation The location in Amazon S3 where the job writes its output. */ override fun outputLocation(outputLocation: IResolvable) { - cdkBuilder.outputLocation(outputLocation.let(IResolvable::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1145,7 +1145,7 @@ public open class CfnJob( * @param outputLocation The location in Amazon S3 where the job writes its output. */ override fun outputLocation(outputLocation: OutputLocationProperty) { - cdkBuilder.outputLocation(outputLocation.let(OutputLocationProperty::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(OutputLocationProperty.Companion::unwrap)) } /** @@ -1166,7 +1166,7 @@ public open class CfnJob( * @param outputs One or more artifacts that represent output from running the job. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -1198,7 +1198,7 @@ public open class CfnJob( * @param profileConfiguration Configuration for profile jobs. */ override fun profileConfiguration(profileConfiguration: IResolvable) { - cdkBuilder.profileConfiguration(profileConfiguration.let(IResolvable::unwrap)) + cdkBuilder.profileConfiguration(profileConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1212,7 +1212,7 @@ public open class CfnJob( * @param profileConfiguration Configuration for profile jobs. */ override fun profileConfiguration(profileConfiguration: ProfileConfigurationProperty) { - cdkBuilder.profileConfiguration(profileConfiguration.let(ProfileConfigurationProperty::unwrap)) + cdkBuilder.profileConfiguration(profileConfiguration.let(ProfileConfigurationProperty.Companion::unwrap)) } /** @@ -1248,7 +1248,7 @@ public open class CfnJob( * @param recipe A series of data transformation steps that the job runs. */ override fun recipe(recipe: IResolvable) { - cdkBuilder.recipe(recipe.let(IResolvable::unwrap)) + cdkBuilder.recipe(recipe.let(IResolvable.Companion::unwrap)) } /** @@ -1258,7 +1258,7 @@ public open class CfnJob( * @param recipe A series of data transformation steps that the job runs. */ override fun recipe(recipe: RecipeProperty) { - cdkBuilder.recipe(recipe.let(RecipeProperty::unwrap)) + cdkBuilder.recipe(recipe.let(RecipeProperty.Companion::unwrap)) } /** @@ -1289,7 +1289,7 @@ public open class CfnJob( * @param tags Metadata tags that have been applied to the job. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1334,7 +1334,7 @@ public open class CfnJob( * profile job. */ override fun validationConfigurations(validationConfigurations: IResolvable) { - cdkBuilder.validationConfigurations(validationConfigurations.let(IResolvable::unwrap)) + cdkBuilder.validationConfigurations(validationConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1698,7 +1698,7 @@ public open class CfnJob( * configuration will be applied to all supported columns. */ override fun selectors(selectors: IResolvable) { - cdkBuilder.selectors(selectors.let(IResolvable::unwrap)) + cdkBuilder.selectors(selectors.let(IResolvable.Companion::unwrap)) } /** @@ -1722,7 +1722,7 @@ public open class CfnJob( * Statistics can be used to select evaluations and override parameters of evaluations. */ override fun statistics(statistics: IResolvable) { - cdkBuilder.statistics(statistics.let(IResolvable::unwrap)) + cdkBuilder.statistics(statistics.let(IResolvable.Companion::unwrap)) } /** @@ -1730,7 +1730,7 @@ public open class CfnJob( * Statistics can be used to select evaluations and override parameters of evaluations. */ override fun statistics(statistics: StatisticsConfigurationProperty) { - cdkBuilder.statistics(statistics.let(StatisticsConfigurationProperty::unwrap)) + cdkBuilder.statistics(statistics.let(StatisticsConfigurationProperty.Companion::unwrap)) } /** @@ -2061,7 +2061,7 @@ public open class CfnJob( * database output generated by recipe jobs. */ override fun databaseOptions(databaseOptions: IResolvable) { - cdkBuilder.databaseOptions(databaseOptions.let(IResolvable::unwrap)) + cdkBuilder.databaseOptions(databaseOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2069,7 +2069,7 @@ public open class CfnJob( * database output generated by recipe jobs. */ override fun databaseOptions(databaseOptions: DatabaseTableOutputOptionsProperty) { - cdkBuilder.databaseOptions(databaseOptions.let(DatabaseTableOutputOptionsProperty::unwrap)) + cdkBuilder.databaseOptions(databaseOptions.let(DatabaseTableOutputOptionsProperty.Companion::unwrap)) } /** @@ -2097,7 +2097,7 @@ public open class CfnJob( * Not supported with DatabaseOptions. */ override fun overwrite(overwrite: IResolvable) { - cdkBuilder.overwrite(overwrite.let(IResolvable::unwrap)) + cdkBuilder.overwrite(overwrite.let(IResolvable.Companion::unwrap)) } /** @@ -2105,7 +2105,7 @@ public open class CfnJob( * S3 output generated by recipe jobs. */ override fun s3Options(s3Options: IResolvable) { - cdkBuilder.s3Options(s3Options.let(IResolvable::unwrap)) + cdkBuilder.s3Options(s3Options.let(IResolvable.Companion::unwrap)) } /** @@ -2113,7 +2113,7 @@ public open class CfnJob( * S3 output generated by recipe jobs. */ override fun s3Options(s3Options: S3TableOutputOptionsProperty) { - cdkBuilder.s3Options(s3Options.let(S3TableOutputOptionsProperty::unwrap)) + cdkBuilder.s3Options(s3Options.let(S3TableOutputOptionsProperty.Companion::unwrap)) } /** @@ -2308,7 +2308,7 @@ public open class CfnJob( * database output generated by recipe jobs. */ override fun databaseOptions(databaseOptions: IResolvable) { - cdkBuilder.databaseOptions(databaseOptions.let(IResolvable::unwrap)) + cdkBuilder.databaseOptions(databaseOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2316,7 +2316,7 @@ public open class CfnJob( * database output generated by recipe jobs. */ override fun databaseOptions(databaseOptions: DatabaseTableOutputOptionsProperty) { - cdkBuilder.databaseOptions(databaseOptions.let(DatabaseTableOutputOptionsProperty::unwrap)) + cdkBuilder.databaseOptions(databaseOptions.let(DatabaseTableOutputOptionsProperty.Companion::unwrap)) } /** @@ -2485,7 +2485,7 @@ public open class CfnJob( * DataBrew can store intermediate results. */ override fun tempDirectory(tempDirectory: IResolvable) { - cdkBuilder.tempDirectory(tempDirectory.let(IResolvable::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -2493,7 +2493,7 @@ public open class CfnJob( * DataBrew can store intermediate results. */ override fun tempDirectory(tempDirectory: S3LocationProperty) { - cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty.Companion::unwrap)) } /** @@ -2707,7 +2707,7 @@ public open class CfnJob( * When undefined, no statistics will be computed on columns that contain detected entities. */ override fun allowedStatistics(allowedStatistics: IResolvable) { - cdkBuilder.allowedStatistics(allowedStatistics.let(IResolvable::unwrap)) + cdkBuilder.allowedStatistics(allowedStatistics.let(IResolvable.Companion::unwrap)) } /** @@ -2716,7 +2716,7 @@ public open class CfnJob( * When undefined, no statistics will be computed on columns that contain detected entities. */ override fun allowedStatistics(allowedStatistics: AllowedStatisticsProperty) { - cdkBuilder.allowedStatistics(allowedStatistics.let(AllowedStatisticsProperty::unwrap)) + cdkBuilder.allowedStatistics(allowedStatistics.let(AllowedStatisticsProperty.Companion::unwrap)) } /** @@ -3071,7 +3071,7 @@ public open class CfnJob( * (CSV) job output. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** @@ -3079,7 +3079,7 @@ public open class CfnJob( * (CSV) job output. */ override fun csv(csv: CsvOutputOptionsProperty) { - cdkBuilder.csv(csv.let(CsvOutputOptionsProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvOutputOptionsProperty.Companion::unwrap)) } /** @@ -3445,14 +3445,14 @@ public open class CfnJob( * @param formatOptions Represents options that define how DataBrew formats job output files. */ override fun formatOptions(formatOptions: IResolvable) { - cdkBuilder.formatOptions(formatOptions.let(IResolvable::unwrap)) + cdkBuilder.formatOptions(formatOptions.let(IResolvable.Companion::unwrap)) } /** * @param formatOptions Represents options that define how DataBrew formats job output files. */ override fun formatOptions(formatOptions: OutputFormatOptionsProperty) { - cdkBuilder.formatOptions(formatOptions.let(OutputFormatOptionsProperty::unwrap)) + cdkBuilder.formatOptions(formatOptions.let(OutputFormatOptionsProperty.Companion::unwrap)) } /** @@ -3467,14 +3467,14 @@ public open class CfnJob( * @param location The location in Amazon S3 where the job writes its output. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** * @param location The location in Amazon S3 where the job writes its output. */ override fun location(location: S3LocationProperty) { - cdkBuilder.location(location.let(S3LocationProperty::unwrap)) + cdkBuilder.location(location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -3506,7 +3506,7 @@ public open class CfnJob( * output is overwritten with new output. */ override fun overwrite(overwrite: IResolvable) { - cdkBuilder.overwrite(overwrite.let(IResolvable::unwrap)) + cdkBuilder.overwrite(overwrite.let(IResolvable.Companion::unwrap)) } /** @@ -3809,7 +3809,7 @@ public open class CfnJob( * profile job will profile all supported columns and run all supported evaluations. */ override fun columnStatisticsConfigurations(columnStatisticsConfigurations: IResolvable) { - cdkBuilder.columnStatisticsConfigurations(columnStatisticsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.columnStatisticsConfigurations(columnStatisticsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -3838,7 +3838,7 @@ public open class CfnJob( * evaluations. */ override fun datasetStatisticsConfiguration(datasetStatisticsConfiguration: IResolvable) { - cdkBuilder.datasetStatisticsConfiguration(datasetStatisticsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.datasetStatisticsConfiguration(datasetStatisticsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3849,7 +3849,7 @@ public open class CfnJob( */ override fun datasetStatisticsConfiguration(datasetStatisticsConfiguration: StatisticsConfigurationProperty) { - cdkBuilder.datasetStatisticsConfiguration(datasetStatisticsConfiguration.let(StatisticsConfigurationProperty::unwrap)) + cdkBuilder.datasetStatisticsConfiguration(datasetStatisticsConfiguration.let(StatisticsConfigurationProperty.Companion::unwrap)) } /** @@ -3870,7 +3870,7 @@ public open class CfnJob( * When undefined, entity detection is disabled. */ override fun entityDetectorConfiguration(entityDetectorConfiguration: IResolvable) { - cdkBuilder.entityDetectorConfiguration(entityDetectorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.entityDetectorConfiguration(entityDetectorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3879,7 +3879,7 @@ public open class CfnJob( */ override fun entityDetectorConfiguration(entityDetectorConfiguration: EntityDetectorConfigurationProperty) { - cdkBuilder.entityDetectorConfiguration(entityDetectorConfiguration.let(EntityDetectorConfigurationProperty::unwrap)) + cdkBuilder.entityDetectorConfiguration(entityDetectorConfiguration.let(EntityDetectorConfigurationProperty.Companion::unwrap)) } /** @@ -3899,7 +3899,7 @@ public open class CfnJob( * undefined, the profile job will profile all supported columns. */ override fun profileColumns(profileColumns: IResolvable) { - cdkBuilder.profileColumns(profileColumns.let(IResolvable::unwrap)) + cdkBuilder.profileColumns(profileColumns.let(IResolvable.Companion::unwrap)) } /** @@ -4298,7 +4298,7 @@ public open class CfnJob( * DataBrew can write output from a job. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -4306,7 +4306,7 @@ public open class CfnJob( * DataBrew can write output from a job. */ override fun location(location: S3LocationProperty) { - cdkBuilder.location(location.let(S3LocationProperty::unwrap)) + cdkBuilder.location(location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -4416,7 +4416,7 @@ public open class CfnJob( * @param parameters A map that includes overrides of an evaluation’s parameters. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -4573,7 +4573,7 @@ public open class CfnJob( * @param overrides List of overrides for evaluations. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJobProps.kt index ceddd9a280..2f6ee8ac19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnJobProps.kt @@ -568,7 +568,7 @@ public interface CfnJobProps { * output from running the job. */ override fun dataCatalogOutputs(dataCatalogOutputs: IResolvable) { - cdkBuilder.dataCatalogOutputs(dataCatalogOutputs.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogOutputs(dataCatalogOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public interface CfnJobProps { * output destination for a DataBrew recipe job to write into. */ override fun databaseOutputs(databaseOutputs: IResolvable) { - cdkBuilder.databaseOutputs(databaseOutputs.let(IResolvable::unwrap)) + cdkBuilder.databaseOutputs(databaseOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public interface CfnJobProps { * CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter. */ override fun jobSample(jobSample: IResolvable) { - cdkBuilder.jobSample(jobSample.let(IResolvable::unwrap)) + cdkBuilder.jobSample(jobSample.let(IResolvable.Companion::unwrap)) } /** @@ -652,7 +652,7 @@ public interface CfnJobProps { * CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter. */ override fun jobSample(jobSample: CfnJob.JobSampleProperty) { - cdkBuilder.jobSample(jobSample.let(CfnJob.JobSampleProperty::unwrap)) + cdkBuilder.jobSample(jobSample.let(CfnJob.JobSampleProperty.Companion::unwrap)) } /** @@ -699,14 +699,14 @@ public interface CfnJobProps { * @param outputLocation The location in Amazon S3 where the job writes its output. */ override fun outputLocation(outputLocation: IResolvable) { - cdkBuilder.outputLocation(outputLocation.let(IResolvable::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(IResolvable.Companion::unwrap)) } /** * @param outputLocation The location in Amazon S3 where the job writes its output. */ override fun outputLocation(outputLocation: CfnJob.OutputLocationProperty) { - cdkBuilder.outputLocation(outputLocation.let(CfnJob.OutputLocationProperty::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(CfnJob.OutputLocationProperty.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public interface CfnJobProps { * @param outputs One or more artifacts that represent output from running the job. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -743,7 +743,7 @@ public interface CfnJobProps { * all supported columns. */ override fun profileConfiguration(profileConfiguration: IResolvable) { - cdkBuilder.profileConfiguration(profileConfiguration.let(IResolvable::unwrap)) + cdkBuilder.profileConfiguration(profileConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public interface CfnJobProps { * all supported columns. */ override fun profileConfiguration(profileConfiguration: CfnJob.ProfileConfigurationProperty) { - cdkBuilder.profileConfiguration(profileConfiguration.let(CfnJob.ProfileConfigurationProperty::unwrap)) + cdkBuilder.profileConfiguration(profileConfiguration.let(CfnJob.ProfileConfigurationProperty.Companion::unwrap)) } /** @@ -779,14 +779,14 @@ public interface CfnJobProps { * @param recipe A series of data transformation steps that the job runs. */ override fun recipe(recipe: IResolvable) { - cdkBuilder.recipe(recipe.let(IResolvable::unwrap)) + cdkBuilder.recipe(recipe.let(IResolvable.Companion::unwrap)) } /** * @param recipe A series of data transformation steps that the job runs. */ override fun recipe(recipe: CfnJob.RecipeProperty) { - cdkBuilder.recipe(recipe.let(CfnJob.RecipeProperty::unwrap)) + cdkBuilder.recipe(recipe.let(CfnJob.RecipeProperty.Companion::unwrap)) } /** @@ -808,7 +808,7 @@ public interface CfnJobProps { * @param tags Metadata tags that have been applied to the job. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public interface CfnJobProps { * profile job. */ override fun validationConfigurations(validationConfigurations: IResolvable) { - cdkBuilder.validationConfigurations(validationConfigurations.let(IResolvable::unwrap)) + cdkBuilder.validationConfigurations(validationConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProject.kt index 45d0e568b2..24dc95ba34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProject.kt @@ -58,8 +58,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.databrew.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.databrew.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,14 +135,14 @@ public open class CfnProject( * The sample size and sampling type to apply to the data. */ public open fun sample(`value`: IResolvable) { - unwrap(this).setSample(`value`.let(IResolvable::unwrap)) + unwrap(this).setSample(`value`.let(IResolvable.Companion::unwrap)) } /** * The sample size and sampling type to apply to the data. */ public open fun sample(`value`: SampleProperty) { - unwrap(this).setSample(`value`.let(SampleProperty::unwrap)) + unwrap(this).setSample(`value`.let(SampleProperty.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnProject( * Metadata tags that have been applied to the project. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnProject( * @param sample The sample size and sampling type to apply to the data. */ override fun sample(sample: IResolvable) { - cdkBuilder.sample(sample.let(IResolvable::unwrap)) + cdkBuilder.sample(sample.let(IResolvable.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnProject( * @param sample The sample size and sampling type to apply to the data. */ override fun sample(sample: SampleProperty) { - cdkBuilder.sample(sample.let(SampleProperty::unwrap)) + cdkBuilder.sample(sample.let(SampleProperty.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnProject( * @param tags Metadata tags that have been applied to the project. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProjectProps.kt index 920eef261e..9399a0b745 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnProjectProps.kt @@ -187,7 +187,7 @@ public interface CfnProjectProps { * dataset. */ override fun sample(sample: IResolvable) { - cdkBuilder.sample(sample.let(IResolvable::unwrap)) + cdkBuilder.sample(sample.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface CfnProjectProps { * dataset. */ override fun sample(sample: CfnProject.SampleProperty) { - cdkBuilder.sample(sample.let(CfnProject.SampleProperty::unwrap)) + cdkBuilder.sample(sample.let(CfnProject.SampleProperty.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface CfnProjectProps { * @param tags Metadata tags that have been applied to the project. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipe.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipe.kt index 4cbe2c92f5..b88441666e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipe.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipe.kt @@ -68,8 +68,8 @@ public open class CfnRecipe( id: String, props: CfnRecipeProps, ) : - this(software.amazon.awscdk.services.databrew.CfnRecipe(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRecipeProps::unwrap)) + this(software.amazon.awscdk.services.databrew.CfnRecipe(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRecipeProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnRecipe( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnRecipe( * A list of steps that are defined by the recipe. */ public open fun steps(`value`: IResolvable) { - unwrap(this).setSteps(`value`.let(IResolvable::unwrap)) + unwrap(this).setSteps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnRecipe( * Metadata tags that have been applied to the recipe. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnRecipe( * @param steps A list of steps that are defined by the recipe. */ override fun steps(steps: IResolvable) { - cdkBuilder.steps(steps.let(IResolvable::unwrap)) + cdkBuilder.steps(steps.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnRecipe( * @param tags Metadata tags that have been applied to the recipe. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnRecipe( * @param parameters Contextual parameters for the transformation. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public open class CfnRecipe( * results. */ override fun tempDirectory(tempDirectory: IResolvable) { - cdkBuilder.tempDirectory(tempDirectory.let(IResolvable::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -735,7 +735,7 @@ public open class CfnRecipe( * results. */ override fun tempDirectory(tempDirectory: S3LocationProperty) { - cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty::unwrap)) + cdkBuilder.tempDirectory(tempDirectory.let(S3LocationProperty.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class CfnRecipe( * @param dataCatalogInputDefinition The AWS Glue Data Catalog parameters for the data. */ override fun dataCatalogInputDefinition(dataCatalogInputDefinition: IResolvable) { - cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public open class CfnRecipe( */ override fun dataCatalogInputDefinition(dataCatalogInputDefinition: DataCatalogInputDefinitionProperty) { - cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(DataCatalogInputDefinitionProperty::unwrap)) + cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(DataCatalogInputDefinitionProperty.Companion::unwrap)) } /** @@ -927,14 +927,14 @@ public open class CfnRecipe( * @param s3InputDefinition The Amazon S3 location where the data is stored. */ override fun s3InputDefinition(s3InputDefinition: IResolvable) { - cdkBuilder.s3InputDefinition(s3InputDefinition.let(IResolvable::unwrap)) + cdkBuilder.s3InputDefinition(s3InputDefinition.let(IResolvable.Companion::unwrap)) } /** * @param s3InputDefinition The Amazon S3 location where the data is stored. */ override fun s3InputDefinition(s3InputDefinition: S3LocationProperty) { - cdkBuilder.s3InputDefinition(s3InputDefinition.let(S3LocationProperty::unwrap)) + cdkBuilder.s3InputDefinition(s3InputDefinition.let(S3LocationProperty.Companion::unwrap)) } /** @@ -2732,7 +2732,7 @@ public open class CfnRecipe( * @param multiLine Specifies whether JSON input contains embedded new line characters. */ override fun multiLine(multiLine: IResolvable) { - cdkBuilder.multiLine(multiLine.let(IResolvable::unwrap)) + cdkBuilder.multiLine(multiLine.let(IResolvable.Companion::unwrap)) } /** @@ -2949,7 +2949,7 @@ public open class CfnRecipe( * @param secondaryInputs A list of secondary inputs in a UNION transform. */ override fun secondaryInputs(secondaryInputs: IResolvable) { - cdkBuilder.secondaryInputs(secondaryInputs.let(IResolvable::unwrap)) + cdkBuilder.secondaryInputs(secondaryInputs.let(IResolvable.Companion::unwrap)) } /** @@ -2970,7 +2970,7 @@ public open class CfnRecipe( * a dataset. */ override fun sheetIndexes(sheetIndexes: IResolvable) { - cdkBuilder.sheetIndexes(sheetIndexes.let(IResolvable::unwrap)) + cdkBuilder.sheetIndexes(sheetIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -4091,14 +4091,14 @@ public open class CfnRecipe( * @param action The particular action to be performed in the recipe step. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action The particular action to be performed in the recipe step. */ override fun action(action: ActionProperty) { - cdkBuilder.action(action.let(ActionProperty::unwrap)) + cdkBuilder.action(action.let(ActionProperty.Companion::unwrap)) } /** @@ -4117,7 +4117,7 @@ public open class CfnRecipe( * be combined using a logical AND operation. */ override fun conditionExpressions(conditionExpressions: IResolvable) { - cdkBuilder.conditionExpressions(conditionExpressions.let(IResolvable::unwrap)) + cdkBuilder.conditionExpressions(conditionExpressions.let(IResolvable.Companion::unwrap)) } /** @@ -4391,7 +4391,7 @@ public open class CfnRecipe( * @param dataCatalogInputDefinition The AWS Glue Data Catalog parameters for the data. */ override fun dataCatalogInputDefinition(dataCatalogInputDefinition: IResolvable) { - cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -4399,7 +4399,7 @@ public open class CfnRecipe( */ override fun dataCatalogInputDefinition(dataCatalogInputDefinition: DataCatalogInputDefinitionProperty) { - cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(DataCatalogInputDefinitionProperty::unwrap)) + cdkBuilder.dataCatalogInputDefinition(dataCatalogInputDefinition.let(DataCatalogInputDefinitionProperty.Companion::unwrap)) } /** @@ -4416,14 +4416,14 @@ public open class CfnRecipe( * @param s3InputDefinition The Amazon S3 location where the data is stored. */ override fun s3InputDefinition(s3InputDefinition: IResolvable) { - cdkBuilder.s3InputDefinition(s3InputDefinition.let(IResolvable::unwrap)) + cdkBuilder.s3InputDefinition(s3InputDefinition.let(IResolvable.Companion::unwrap)) } /** * @param s3InputDefinition The Amazon S3 location where the data is stored. */ override fun s3InputDefinition(s3InputDefinition: S3LocationProperty) { - cdkBuilder.s3InputDefinition(s3InputDefinition.let(S3LocationProperty::unwrap)) + cdkBuilder.s3InputDefinition(s3InputDefinition.let(S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipeProps.kt index a760a11c60..291b729736 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRecipeProps.kt @@ -141,7 +141,7 @@ public interface CfnRecipeProps { * @param steps A list of steps that are defined by the recipe. */ override fun steps(steps: IResolvable) { - cdkBuilder.steps(steps.let(IResolvable::unwrap)) + cdkBuilder.steps(steps.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface CfnRecipeProps { * @param tags Metadata tags that have been applied to the recipe. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRuleset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRuleset.kt index 92861ee3b0..053deaafa3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRuleset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRuleset.kt @@ -74,8 +74,8 @@ public open class CfnRuleset( id: String, props: CfnRulesetProps, ) : - this(software.amazon.awscdk.services.databrew.CfnRuleset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRulesetProps::unwrap)) + this(software.amazon.awscdk.services.databrew.CfnRuleset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRulesetProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnRuleset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnRuleset( * Contains metadata about the ruleset. */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnRuleset( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnRuleset( * @param rules Contains metadata about the ruleset. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnRuleset( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public open class CfnRuleset( * dataset. Rule will be applied to selected columns. */ override fun columnSelectors(columnSelectors: IResolvable) { - cdkBuilder.columnSelectors(columnSelectors.let(IResolvable::unwrap)) + cdkBuilder.columnSelectors(columnSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public open class CfnRuleset( * is false. */ override fun disabled(disabled: IResolvable) { - cdkBuilder.disabled(disabled.let(IResolvable::unwrap)) + cdkBuilder.disabled(disabled.let(IResolvable.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class CfnRuleset( * backticks, for example, `":col1": "`Column A`".` */ override fun substitutionMap(substitutionMap: IResolvable) { - cdkBuilder.substitutionMap(substitutionMap.let(IResolvable::unwrap)) + cdkBuilder.substitutionMap(substitutionMap.let(IResolvable.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public open class CfnRuleset( * threshold will be used to determine whether the validation succeeds. */ override fun threshold(threshold: IResolvable) { - cdkBuilder.threshold(threshold.let(IResolvable::unwrap)) + cdkBuilder.threshold(threshold.let(IResolvable.Companion::unwrap)) } /** @@ -808,7 +808,7 @@ public open class CfnRuleset( * threshold will be used to determine whether the validation succeeds. */ override fun threshold(threshold: ThresholdProperty) { - cdkBuilder.threshold(threshold.let(ThresholdProperty::unwrap)) + cdkBuilder.threshold(threshold.let(ThresholdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRulesetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRulesetProps.kt index 0a4c531c22..de29b90f1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRulesetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnRulesetProps.kt @@ -170,7 +170,7 @@ public interface CfnRulesetProps { * @param rules Contains metadata about the ruleset. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface CfnRulesetProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnSchedule.kt index 673605d858..88ee233663 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnSchedule.kt @@ -48,8 +48,8 @@ public open class CfnSchedule( id: String, props: CfnScheduleProps, ) : - this(software.amazon.awscdk.services.databrew.CfnSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduleProps::unwrap)) + this(software.amazon.awscdk.services.databrew.CfnSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduleProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnSchedule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public open class CfnSchedule( * Metadata tags that have been applied to the schedule. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnSchedule( * @param tags Metadata tags that have been applied to the schedule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnScheduleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnScheduleProps.kt index 16b7fc926b..eb505bc2f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnScheduleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/databrew/CfnScheduleProps.kt @@ -142,7 +142,7 @@ public interface CfnScheduleProps { * @param tags Metadata tags that have been applied to the schedule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipeline.kt index 69f7dc287c..a6147d7262 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipeline.kt @@ -95,8 +95,8 @@ public open class CfnPipeline( id: String, props: CfnPipelineProps, ) : - this(software.amazon.awscdk.services.datapipeline.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPipelineProps::unwrap)) + this(software.amazon.awscdk.services.datapipeline.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPipelineProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnPipeline( * Indicates whether to validate and start the pipeline or stop an active pipeline. */ public open fun activate(`value`: IResolvable) { - unwrap(this).setActivate(`value`.let(IResolvable::unwrap)) + unwrap(this).setActivate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnPipeline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnPipeline( * The parameter objects used with the pipeline. */ public open fun parameterObjects(`value`: IResolvable) { - unwrap(this).setParameterObjects(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameterObjects(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnPipeline( * The parameter values used with the pipeline. */ public open fun parameterValues(`value`: IResolvable) { - unwrap(this).setParameterValues(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameterValues(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnPipeline( * The objects that define the pipeline. */ public open fun pipelineObjects(`value`: IResolvable) { - unwrap(this).setPipelineObjects(`value`.let(IResolvable::unwrap)) + unwrap(this).setPipelineObjects(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnPipeline( * control permissions. */ public open fun pipelineTags(`value`: List) { - unwrap(this).setPipelineTags(`value`.map(PipelineTagProperty::unwrap)) + unwrap(this).setPipelineTags(`value`.map(PipelineTagProperty.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnPipeline( * pipeline. */ override fun activate(activate: IResolvable) { - cdkBuilder.activate(activate.let(IResolvable::unwrap)) + cdkBuilder.activate(activate.let(IResolvable.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnPipeline( * @param parameterObjects The parameter objects used with the pipeline. */ override fun parameterObjects(parameterObjects: IResolvable) { - cdkBuilder.parameterObjects(parameterObjects.let(IResolvable::unwrap)) + cdkBuilder.parameterObjects(parameterObjects.let(IResolvable.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnPipeline( * @param parameterValues The parameter values used with the pipeline. */ override fun parameterValues(parameterValues: IResolvable) { - cdkBuilder.parameterValues(parameterValues.let(IResolvable::unwrap)) + cdkBuilder.parameterValues(parameterValues.let(IResolvable.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnPipeline( * @param pipelineObjects The objects that define the pipeline. */ override fun pipelineObjects(pipelineObjects: IResolvable) { - cdkBuilder.pipelineObjects(pipelineObjects.let(IResolvable::unwrap)) + cdkBuilder.pipelineObjects(pipelineObjects.let(IResolvable.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class CfnPipeline( * pipeline, which you can use to control permissions. */ override fun pipelineTags(pipelineTags: List) { - cdkBuilder.pipelineTags(pipelineTags.map(PipelineTagProperty::unwrap)) + cdkBuilder.pipelineTags(pipelineTags.map(PipelineTagProperty.Companion::unwrap)) } /** @@ -1044,7 +1044,7 @@ public open class CfnPipeline( * @param attributes The attributes of the parameter object. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -1304,7 +1304,7 @@ public open class CfnPipeline( * @param fields Key-value pairs that define the properties of the object. */ override fun fields(fields: IResolvable) { - cdkBuilder.fields(fields.let(IResolvable::unwrap)) + cdkBuilder.fields(fields.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipelineProps.kt index 7a62ed1ece..a0f6ed5cda 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datapipeline/CfnPipelineProps.kt @@ -243,7 +243,7 @@ public interface CfnPipelineProps { * By default, the value is set to `true` . */ override fun activate(activate: IResolvable) { - cdkBuilder.activate(activate.let(IResolvable::unwrap)) + cdkBuilder.activate(activate.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface CfnPipelineProps { * @param parameterObjects The parameter objects used with the pipeline. */ override fun parameterObjects(parameterObjects: IResolvable) { - cdkBuilder.parameterObjects(parameterObjects.let(IResolvable::unwrap)) + cdkBuilder.parameterObjects(parameterObjects.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public interface CfnPipelineProps { * @param parameterValues The parameter values used with the pipeline. */ override fun parameterValues(parameterValues: IResolvable) { - cdkBuilder.parameterValues(parameterValues.let(IResolvable::unwrap)) + cdkBuilder.parameterValues(parameterValues.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface CfnPipelineProps { * in the *AWS Data Pipeline Developer Guide* . */ override fun pipelineObjects(pipelineObjects: IResolvable) { - cdkBuilder.pipelineObjects(pipelineObjects.let(IResolvable::unwrap)) + cdkBuilder.pipelineObjects(pipelineObjects.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface CfnPipelineProps { * in the *AWS Data Pipeline Developer Guide* . */ override fun pipelineTags(pipelineTags: List) { - cdkBuilder.pipelineTags(pipelineTags.map(CfnPipeline.PipelineTagProperty::unwrap)) + cdkBuilder.pipelineTags(pipelineTags.map(CfnPipeline.PipelineTagProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgent.kt index a43ec827fa..4b9d78b48d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgent.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgent.kt @@ -55,7 +55,7 @@ public open class CfnAgent( cdkObject: software.amazon.awscdk.services.datasync.CfnAgent, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.datasync.CfnAgent(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.datasync.CfnAgent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -64,8 +64,8 @@ public open class CfnAgent( id: String, props: CfnAgentProps, ) : - this(software.amazon.awscdk.services.datasync.CfnAgent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAgentProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnAgent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAgentProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnAgent( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnAgent( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnAgent( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgentProps.kt index 3408522b47..36b819329c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnAgentProps.kt @@ -275,7 +275,7 @@ public interface CfnAgentProps { * We recommend creating at least one tag for your agent. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlob.kt index 85eb0e532c..5f94b564d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlob.kt @@ -70,8 +70,8 @@ public open class CfnLocationAzureBlob( id: String, props: CfnLocationAzureBlobProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationAzureBlob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationAzureBlobProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationAzureBlob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationAzureBlobProps.Companion::unwrap)) ) public constructor( @@ -157,14 +157,14 @@ public open class CfnLocationAzureBlob( * Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. */ public open fun azureBlobSasConfiguration(`value`: IResolvable) { - unwrap(this).setAzureBlobSasConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAzureBlobSasConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage. */ public open fun azureBlobSasConfiguration(`value`: AzureBlobSasConfigurationProperty) { - unwrap(this).setAzureBlobSasConfiguration(`value`.let(AzureBlobSasConfigurationProperty::unwrap)) + unwrap(this).setAzureBlobSasConfiguration(`value`.let(AzureBlobSasConfigurationProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnLocationAzureBlob( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnLocationAzureBlob( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnLocationAzureBlob( * access your Azure Blob Storage. */ override fun azureBlobSasConfiguration(azureBlobSasConfiguration: IResolvable) { - cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(IResolvable::unwrap)) + cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public open class CfnLocationAzureBlob( */ override fun azureBlobSasConfiguration(azureBlobSasConfiguration: AzureBlobSasConfigurationProperty) { - cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(AzureBlobSasConfigurationProperty::unwrap)) + cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(AzureBlobSasConfigurationProperty.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public open class CfnLocationAzureBlob( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlobProps.kt index 629beaf6cd..95aac380c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationAzureBlobProps.kt @@ -279,7 +279,7 @@ public interface CfnLocationAzureBlobProps { * access your Azure Blob Storage. */ override fun azureBlobSasConfiguration(azureBlobSasConfiguration: IResolvable) { - cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(IResolvable::unwrap)) + cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnLocationAzureBlobProps { */ override fun azureBlobSasConfiguration(azureBlobSasConfiguration: CfnLocationAzureBlob.AzureBlobSasConfigurationProperty) { - cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(CfnLocationAzureBlob.AzureBlobSasConfigurationProperty::unwrap)) + cdkBuilder.azureBlobSasConfiguration(azureBlobSasConfiguration.let(CfnLocationAzureBlob.AzureBlobSasConfigurationProperty.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public interface CfnLocationAzureBlobProps { * We recommend creating at least a name tag for your transfer location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFS.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFS.kt index 72e076a0ce..84881a5788 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFS.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFS.kt @@ -59,8 +59,8 @@ public open class CfnLocationEFS( id: String, props: CfnLocationEFSProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationEFS(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationEFSProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationEFS(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationEFSProps.Companion::unwrap)) ) public constructor( @@ -103,14 +103,14 @@ public open class CfnLocationEFS( * Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system. */ public open fun ec2Config(`value`: IResolvable) { - unwrap(this).setEc2Config(`value`.let(IResolvable::unwrap)) + unwrap(this).setEc2Config(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system. */ public open fun ec2Config(`value`: Ec2ConfigProperty) { - unwrap(this).setEc2Config(`value`.let(Ec2ConfigProperty::unwrap)) + unwrap(this).setEc2Config(`value`.let(Ec2ConfigProperty.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnLocationEFS( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnLocationEFS( * Specifies the key-value pair that represents a tag that you want to add to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnLocationEFS( * EFS file system. */ override fun ec2Config(ec2Config: IResolvable) { - cdkBuilder.ec2Config(ec2Config.let(IResolvable::unwrap)) + cdkBuilder.ec2Config(ec2Config.let(IResolvable.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnLocationEFS( * EFS file system. */ override fun ec2Config(ec2Config: Ec2ConfigProperty) { - cdkBuilder.ec2Config(ec2Config.let(Ec2ConfigProperty::unwrap)) + cdkBuilder.ec2Config(ec2Config.let(Ec2ConfigProperty.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnLocationEFS( * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFSProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFSProps.kt index 8648565425..b1461b27c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFSProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationEFSProps.kt @@ -203,7 +203,7 @@ public interface CfnLocationEFSProps { * EFS file system. */ override fun ec2Config(ec2Config: IResolvable) { - cdkBuilder.ec2Config(ec2Config.let(IResolvable::unwrap)) + cdkBuilder.ec2Config(ec2Config.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public interface CfnLocationEFSProps { * EFS file system. */ override fun ec2Config(ec2Config: CfnLocationEFS.Ec2ConfigProperty) { - cdkBuilder.ec2Config(ec2Config.let(CfnLocationEFS.Ec2ConfigProperty::unwrap)) + cdkBuilder.ec2Config(ec2Config.let(CfnLocationEFS.Ec2ConfigProperty.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CfnLocationEFSProps { * resources. We recommend that you create a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustre.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustre.kt index 448b29a515..b5b5cdc8bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustre.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustre.kt @@ -48,8 +48,8 @@ public open class CfnLocationFSxLustre( id: String, props: CfnLocationFSxLustreProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationFSxLustre(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationFSxLustreProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationFSxLustre(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationFSxLustreProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnLocationFSxLustre( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnLocationFSxLustre( * The key-value pair that represents a tag that you want to add to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnLocationFSxLustre( * @param tags The key-value pair that represents a tag that you want to add to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustreProps.kt index 8ec9a359f3..6db6fccdae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxLustreProps.kt @@ -175,7 +175,7 @@ public interface CfnLocationFSxLustreProps { * resources. We recommend that you create a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAP.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAP.kt index 3cc307e766..2419479fa4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAP.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAP.kt @@ -71,8 +71,8 @@ public open class CfnLocationFSxONTAP( id: String, props: CfnLocationFSxONTAPProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationFSxONTAP(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationFSxONTAPProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationFSxONTAP(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationFSxONTAPProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnLocationFSxONTAP( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,14 +115,14 @@ public open class CfnLocationFSxONTAP( * Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. */ public open fun protocol(`value`: IResolvable) { - unwrap(this).setProtocol(`value`.let(IResolvable::unwrap)) + unwrap(this).setProtocol(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system. */ public open fun protocol(`value`: ProtocolProperty) { - unwrap(this).setProtocol(`value`.let(ProtocolProperty::unwrap)) + unwrap(this).setProtocol(`value`.let(ProtocolProperty.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnLocationFSxONTAP( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnLocationFSxONTAP( * FSx file system. */ override fun protocol(protocol: IResolvable) { - cdkBuilder.protocol(protocol.let(IResolvable::unwrap)) + cdkBuilder.protocol(protocol.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnLocationFSxONTAP( * FSx file system. */ override fun protocol(protocol: ProtocolProperty) { - cdkBuilder.protocol(protocol.let(ProtocolProperty::unwrap)) + cdkBuilder.protocol(protocol.let(ProtocolProperty.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnLocationFSxONTAP( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -558,14 +558,14 @@ public open class CfnLocationFSxONTAP( * @param mountOptions Specifies how DataSync can access a location using the NFS protocol. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** * @param mountOptions Specifies how DataSync can access a location using the NFS protocol. */ override fun mountOptions(mountOptions: NfsMountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(NfsMountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(NfsMountOptionsProperty.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public open class CfnLocationFSxONTAP( * uses to access your FSx for ONTAP file system's storage virtual machine (SVM). */ override fun nfs(nfs: IResolvable) { - cdkBuilder.nfs(nfs.let(IResolvable::unwrap)) + cdkBuilder.nfs(nfs.let(IResolvable.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class CfnLocationFSxONTAP( * uses to access your FSx for ONTAP file system's storage virtual machine (SVM). */ override fun nfs(nfs: NFSProperty) { - cdkBuilder.nfs(nfs.let(NFSProperty::unwrap)) + cdkBuilder.nfs(nfs.let(NFSProperty.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public open class CfnLocationFSxONTAP( * uses to access your FSx for ONTAP file system's SVM. */ override fun smb(smb: IResolvable) { - cdkBuilder.smb(smb.let(IResolvable::unwrap)) + cdkBuilder.smb(smb.let(IResolvable.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public open class CfnLocationFSxONTAP( * uses to access your FSx for ONTAP file system's SVM. */ override fun smb(smb: SMBProperty) { - cdkBuilder.smb(smb.let(SMBProperty::unwrap)) + cdkBuilder.smb(smb.let(SMBProperty.Companion::unwrap)) } /** @@ -1097,14 +1097,14 @@ public open class CfnLocationFSxONTAP( * @param mountOptions Specifies how DataSync can access a location using the SMB protocol. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** * @param mountOptions Specifies how DataSync can access a location using the SMB protocol. */ override fun mountOptions(mountOptions: SmbMountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(SmbMountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(SmbMountOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAPProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAPProps.kt index 5d2bc3f770..2bb6e174a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAPProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxONTAPProps.kt @@ -208,7 +208,7 @@ public interface CfnLocationFSxONTAPProps { * FSx file system. */ override fun protocol(protocol: IResolvable) { - cdkBuilder.protocol(protocol.let(IResolvable::unwrap)) + cdkBuilder.protocol(protocol.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public interface CfnLocationFSxONTAPProps { * FSx file system. */ override fun protocol(protocol: CfnLocationFSxONTAP.ProtocolProperty) { - cdkBuilder.protocol(protocol.let(CfnLocationFSxONTAP.ProtocolProperty::unwrap)) + cdkBuilder.protocol(protocol.let(CfnLocationFSxONTAP.ProtocolProperty.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnLocationFSxONTAPProps { * We recommend creating at least a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFS.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFS.kt index 0354fbcd9e..67cb197c8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFS.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFS.kt @@ -60,8 +60,8 @@ public open class CfnLocationFSxOpenZFS( id: String, props: CfnLocationFSxOpenZFSProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationFSxOpenZFS(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationFSxOpenZFSProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationFSxOpenZFS(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationFSxOpenZFSProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnLocationFSxOpenZFS( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,14 +111,14 @@ public open class CfnLocationFSxOpenZFS( * The type of protocol that AWS DataSync uses to access your file system. */ public open fun protocol(`value`: IResolvable) { - unwrap(this).setProtocol(`value`.let(IResolvable::unwrap)) + unwrap(this).setProtocol(`value`.let(IResolvable.Companion::unwrap)) } /** * The type of protocol that AWS DataSync uses to access your file system. */ public open fun protocol(`value`: ProtocolProperty) { - unwrap(this).setProtocol(`value`.let(ProtocolProperty::unwrap)) + unwrap(this).setProtocol(`value`.let(ProtocolProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnLocationFSxOpenZFS( * The key-value pair that represents a tag that you want to add to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnLocationFSxOpenZFS( * @param protocol The type of protocol that AWS DataSync uses to access your file system. */ override fun protocol(protocol: IResolvable) { - cdkBuilder.protocol(protocol.let(IResolvable::unwrap)) + cdkBuilder.protocol(protocol.let(IResolvable.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnLocationFSxOpenZFS( * @param protocol The type of protocol that AWS DataSync uses to access your file system. */ override fun protocol(protocol: ProtocolProperty) { - cdkBuilder.protocol(protocol.let(ProtocolProperty::unwrap)) + cdkBuilder.protocol(protocol.let(ProtocolProperty.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnLocationFSxOpenZFS( * @param tags The key-value pair that represents a tag that you want to add to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnLocationFSxOpenZFS( * an NFS location. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class CfnLocationFSxOpenZFS( * an NFS location. */ override fun mountOptions(mountOptions: MountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(MountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(MountOptionsProperty.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnLocationFSxOpenZFS( * your FSx for OpenZFS file system. */ override fun nfs(nfs: IResolvable) { - cdkBuilder.nfs(nfs.let(IResolvable::unwrap)) + cdkBuilder.nfs(nfs.let(IResolvable.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class CfnLocationFSxOpenZFS( * your FSx for OpenZFS file system. */ override fun nfs(nfs: NFSProperty) { - cdkBuilder.nfs(nfs.let(NFSProperty::unwrap)) + cdkBuilder.nfs(nfs.let(NFSProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFSProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFSProps.kt index 3e1d3094ef..9a54ec3848 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFSProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxOpenZFSProps.kt @@ -175,14 +175,14 @@ public interface CfnLocationFSxOpenZFSProps { * @param protocol The type of protocol that AWS DataSync uses to access your file system. */ override fun protocol(protocol: IResolvable) { - cdkBuilder.protocol(protocol.let(IResolvable::unwrap)) + cdkBuilder.protocol(protocol.let(IResolvable.Companion::unwrap)) } /** * @param protocol The type of protocol that AWS DataSync uses to access your file system. */ override fun protocol(protocol: CfnLocationFSxOpenZFS.ProtocolProperty) { - cdkBuilder.protocol(protocol.let(CfnLocationFSxOpenZFS.ProtocolProperty::unwrap)) + cdkBuilder.protocol(protocol.let(CfnLocationFSxOpenZFS.ProtocolProperty.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface CfnLocationFSxOpenZFSProps { * resources. We recommend that you create a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindows.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindows.kt index f691e11375..5f15d5bdb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindows.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindows.kt @@ -51,8 +51,8 @@ public open class CfnLocationFSxWindows( id: String, props: CfnLocationFSxWindowsProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationFSxWindows(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationFSxWindowsProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationFSxWindows(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationFSxWindowsProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnLocationFSxWindows( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnLocationFSxWindows( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnLocationFSxWindows( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindowsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindowsProps.kt index bb74ebf12c..4c771e6e77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindowsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationFSxWindowsProps.kt @@ -253,7 +253,7 @@ public interface CfnLocationFSxWindowsProps { * We recommend creating at least a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFS.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFS.kt index 1c6b327efd..22d1040572 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFS.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFS.kt @@ -68,8 +68,8 @@ public open class CfnLocationHDFS( id: String, props: CfnLocationHDFSProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationHDFS(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationHDFSProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationHDFS(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationHDFSProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnLocationHDFS( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnLocationHDFS( * The NameNode that manages the HDFS namespace. */ public open fun nameNodes(`value`: IResolvable) { - unwrap(this).setNameNodes(`value`.let(IResolvable::unwrap)) + unwrap(this).setNameNodes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnLocationHDFS( * data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. */ public open fun qopConfiguration(`value`: IResolvable) { - unwrap(this).setQopConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setQopConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnLocationHDFS( * data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. */ public open fun qopConfiguration(`value`: QopConfigurationProperty) { - unwrap(this).setQopConfiguration(`value`.let(QopConfigurationProperty::unwrap)) + unwrap(this).setQopConfiguration(`value`.let(QopConfigurationProperty.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnLocationHDFS( * The key-value pair that represents the tag that you want to add to the location. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnLocationHDFS( * @param nameNodes The NameNode that manages the HDFS namespace. */ override fun nameNodes(nameNodes: IResolvable) { - cdkBuilder.nameNodes(nameNodes.let(IResolvable::unwrap)) + cdkBuilder.nameNodes(nameNodes.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnLocationHDFS( * File System (HDFS) cluster. */ override fun qopConfiguration(qopConfiguration: IResolvable) { - cdkBuilder.qopConfiguration(qopConfiguration.let(IResolvable::unwrap)) + cdkBuilder.qopConfiguration(qopConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class CfnLocationHDFS( * File System (HDFS) cluster. */ override fun qopConfiguration(qopConfiguration: QopConfigurationProperty) { - cdkBuilder.qopConfiguration(qopConfiguration.let(QopConfigurationProperty::unwrap)) + cdkBuilder.qopConfiguration(qopConfiguration.let(QopConfigurationProperty.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnLocationHDFS( * @param tags The key-value pair that represents the tag that you want to add to the location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFSProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFSProps.kt index b36ef666fa..1cf551cf43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFSProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationHDFSProps.kt @@ -405,7 +405,7 @@ public interface CfnLocationHDFSProps { * can use only one NameNode. */ override fun nameNodes(nameNodes: IResolvable) { - cdkBuilder.nameNodes(nameNodes.let(IResolvable::unwrap)) + cdkBuilder.nameNodes(nameNodes.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface CfnLocationHDFSProps { * assumes the same value. */ override fun qopConfiguration(qopConfiguration: IResolvable) { - cdkBuilder.qopConfiguration(qopConfiguration.let(IResolvable::unwrap)) + cdkBuilder.qopConfiguration(qopConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public interface CfnLocationHDFSProps { * assumes the same value. */ override fun qopConfiguration(qopConfiguration: CfnLocationHDFS.QopConfigurationProperty) { - cdkBuilder.qopConfiguration(qopConfiguration.let(CfnLocationHDFS.QopConfigurationProperty::unwrap)) + cdkBuilder.qopConfiguration(qopConfiguration.let(CfnLocationHDFS.QopConfigurationProperty.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public interface CfnLocationHDFSProps { * The value can be an empty string. We recommend using tags to name your resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFS.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFS.kt index f183754e5c..6c6d7911e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFS.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFS.kt @@ -57,8 +57,8 @@ public open class CfnLocationNFS( id: String, props: CfnLocationNFSProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationNFS(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationNFSProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationNFS(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationNFSProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnLocationNFS( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -96,14 +96,14 @@ public open class CfnLocationNFS( * Specifies the options that DataSync can use to mount your NFS file server. */ public open fun mountOptions(`value`: IResolvable) { - unwrap(this).setMountOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setMountOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the options that DataSync can use to mount your NFS file server. */ public open fun mountOptions(`value`: MountOptionsProperty) { - unwrap(this).setMountOptions(`value`.let(MountOptionsProperty::unwrap)) + unwrap(this).setMountOptions(`value`.let(MountOptionsProperty.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnLocationNFS( * file server. */ public open fun onPremConfig(`value`: IResolvable) { - unwrap(this).setOnPremConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnPremConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnLocationNFS( * file server. */ public open fun onPremConfig(`value`: OnPremConfigProperty) { - unwrap(this).setOnPremConfig(`value`.let(OnPremConfigProperty::unwrap)) + unwrap(this).setOnPremConfig(`value`.let(OnPremConfigProperty.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnLocationNFS( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnLocationNFS( * server. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class CfnLocationNFS( * server. */ override fun mountOptions(mountOptions: MountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(MountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(MountOptionsProperty.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnLocationNFS( * to connect to your NFS file server. */ override fun onPremConfig(onPremConfig: IResolvable) { - cdkBuilder.onPremConfig(onPremConfig.let(IResolvable::unwrap)) + cdkBuilder.onPremConfig(onPremConfig.let(IResolvable.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class CfnLocationNFS( * to connect to your NFS file server. */ override fun onPremConfig(onPremConfig: OnPremConfigProperty) { - cdkBuilder.onPremConfig(onPremConfig.let(OnPremConfigProperty::unwrap)) + cdkBuilder.onPremConfig(onPremConfig.let(OnPremConfigProperty.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class CfnLocationNFS( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFSProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFSProps.kt index 9d4b4cd73d..5456bf9af2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFSProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationNFSProps.kt @@ -180,7 +180,7 @@ public interface CfnLocationNFSProps { * server. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface CfnLocationNFSProps { * server. */ override fun mountOptions(mountOptions: CfnLocationNFS.MountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(CfnLocationNFS.MountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(CfnLocationNFS.MountOptionsProperty.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface CfnLocationNFSProps { * transfers](https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html) . */ override fun onPremConfig(onPremConfig: IResolvable) { - cdkBuilder.onPremConfig(onPremConfig.let(IResolvable::unwrap)) + cdkBuilder.onPremConfig(onPremConfig.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnLocationNFSProps { * transfers](https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html) . */ override fun onPremConfig(onPremConfig: CfnLocationNFS.OnPremConfigProperty) { - cdkBuilder.onPremConfig(onPremConfig.let(CfnLocationNFS.OnPremConfigProperty::unwrap)) + cdkBuilder.onPremConfig(onPremConfig.let(CfnLocationNFS.OnPremConfigProperty.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface CfnLocationNFSProps { * We recommend creating at least a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorage.kt index 5f3319930d..6ac387d413 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorage.kt @@ -58,8 +58,8 @@ public open class CfnLocationObjectStorage( id: String, props: CfnLocationObjectStorageProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationObjectStorage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationObjectStorageProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationObjectStorage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationObjectStorageProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnLocationObjectStorage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,16 +149,14 @@ public open class CfnLocationObjectStorage( } /** - * Specifies a file with the certificates that are used to sign the object storage server's - * certificate (for example, `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you - * specify must include the following:. + * Specifies a certificate chain for DataSync to authenticate with your object storage system if + * the system uses a private or self-signed certificate authority (CA). */ public open fun serverCertificate(): String? = unwrap(this).getServerCertificate() /** - * Specifies a file with the certificates that are used to sign the object storage server's - * certificate (for example, `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you - * specify must include the following:. + * Specifies a certificate chain for DataSync to authenticate with your object storage system if + * the system uses a private or self-signed certificate authority (CA). */ public open fun serverCertificate(`value`: String) { unwrap(this).setServerCertificate(`value`) @@ -229,7 +227,7 @@ public open class CfnLocationObjectStorage( * Specifies the key-value pair that represents a tag that you want to add to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -291,24 +289,30 @@ public open class CfnLocationObjectStorage( public fun secretKey(secretKey: String) /** - * Specifies a file with the certificates that are used to sign the object storage server's - * certificate (for example, `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you - * specify must include the following:. + * Specifies a certificate chain for DataSync to authenticate with your object storage system if + * the system uses a private or self-signed certificate authority (CA). * - * * The certificate of the signing certificate authority (CA) - * * Any intermediate certificates - * * base64 encoding - * * A `.pem` extension + * You must specify a single `.pem` file with a full certificate chain (for example, + * `file:///home/user/.ssh/object_storage_certificates.pem` ). * - * The file can be up to 32768 bytes (before base64 encoding). + * The certificate chain might include: + * + * * The object storage system's certificate + * * All intermediate certificates (if there are any) + * * The root certificate of the signing CA + * + * You can concatenate your certificates into a `.pem` file (which can be up to 32768 bytes + * before base64 encoding). The following example `cat` command creates an + * `object_storage_certificates.pem` file that includes three certificates: + * + * `cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > + * object_storage_certificates.pem` * * To use this parameter, configure `ServerProtocol` to `HTTPS` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-servercertificate) - * @param serverCertificate Specifies a file with the certificates that are used to sign the - * object storage server's certificate (for example, - * `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you specify must include the - * following:. + * @param serverCertificate Specifies a certificate chain for DataSync to authenticate with your + * object storage system if the system uses a private or self-signed certificate authority (CA). */ public fun serverCertificate(serverCertificate: String) @@ -442,24 +446,30 @@ public open class CfnLocationObjectStorage( } /** - * Specifies a file with the certificates that are used to sign the object storage server's - * certificate (for example, `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you - * specify must include the following:. + * Specifies a certificate chain for DataSync to authenticate with your object storage system if + * the system uses a private or self-signed certificate authority (CA). + * + * You must specify a single `.pem` file with a full certificate chain (for example, + * `file:///home/user/.ssh/object_storage_certificates.pem` ). + * + * The certificate chain might include: + * + * * The object storage system's certificate + * * All intermediate certificates (if there are any) + * * The root certificate of the signing CA * - * * The certificate of the signing certificate authority (CA) - * * Any intermediate certificates - * * base64 encoding - * * A `.pem` extension + * You can concatenate your certificates into a `.pem` file (which can be up to 32768 bytes + * before base64 encoding). The following example `cat` command creates an + * `object_storage_certificates.pem` file that includes three certificates: * - * The file can be up to 32768 bytes (before base64 encoding). + * `cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > + * object_storage_certificates.pem` * * To use this parameter, configure `ServerProtocol` to `HTTPS` . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-servercertificate) - * @param serverCertificate Specifies a file with the certificates that are used to sign the - * object storage server's certificate (for example, - * `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you specify must include the - * following:. + * @param serverCertificate Specifies a certificate chain for DataSync to authenticate with your + * object storage system if the system uses a private or self-signed certificate authority (CA). */ override fun serverCertificate(serverCertificate: String) { cdkBuilder.serverCertificate(serverCertificate) @@ -524,7 +534,7 @@ public open class CfnLocationObjectStorage( * resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorageProps.kt index 874cacf704..7b8705de86 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationObjectStorageProps.kt @@ -74,16 +74,24 @@ public interface CfnLocationObjectStorageProps { public fun secretKey(): String? = unwrap(this).getSecretKey() /** - * Specifies a file with the certificates that are used to sign the object storage server's - * certificate (for example, `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you - * specify must include the following:. + * Specifies a certificate chain for DataSync to authenticate with your object storage system if + * the system uses a private or self-signed certificate authority (CA). * - * * The certificate of the signing certificate authority (CA) - * * Any intermediate certificates - * * base64 encoding - * * A `.pem` extension + * You must specify a single `.pem` file with a full certificate chain (for example, + * `file:///home/user/.ssh/object_storage_certificates.pem` ). * - * The file can be up to 32768 bytes (before base64 encoding). + * The certificate chain might include: + * + * * The object storage system's certificate + * * All intermediate certificates (if there are any) + * * The root certificate of the signing CA + * + * You can concatenate your certificates into a `.pem` file (which can be up to 32768 bytes before + * base64 encoding). The following example `cat` command creates an `object_storage_certificates.pem` + * file that includes three certificates: + * + * `cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > + * object_storage_certificates.pem` * * To use this parameter, configure `ServerProtocol` to `HTTPS` . * @@ -170,16 +178,23 @@ public interface CfnLocationObjectStorageProps { public fun secretKey(secretKey: String) /** - * @param serverCertificate Specifies a file with the certificates that are used to sign the - * object storage server's certificate (for example, - * `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you specify must include the - * following:. - * * The certificate of the signing certificate authority (CA) - * * Any intermediate certificates - * * base64 encoding - * * A `.pem` extension + * @param serverCertificate Specifies a certificate chain for DataSync to authenticate with your + * object storage system if the system uses a private or self-signed certificate authority (CA). + * You must specify a single `.pem` file with a full certificate chain (for example, + * `file:///home/user/.ssh/object_storage_certificates.pem` ). + * + * The certificate chain might include: + * + * * The object storage system's certificate + * * All intermediate certificates (if there are any) + * * The root certificate of the signing CA + * + * You can concatenate your certificates into a `.pem` file (which can be up to 32768 bytes + * before base64 encoding). The following example `cat` command creates an + * `object_storage_certificates.pem` file that includes three certificates: * - * The file can be up to 32768 bytes (before base64 encoding). + * `cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > + * object_storage_certificates.pem` * * To use this parameter, configure `ServerProtocol` to `HTTPS` . */ @@ -270,16 +285,23 @@ public interface CfnLocationObjectStorageProps { } /** - * @param serverCertificate Specifies a file with the certificates that are used to sign the - * object storage server's certificate (for example, - * `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you specify must include the - * following:. - * * The certificate of the signing certificate authority (CA) - * * Any intermediate certificates - * * base64 encoding - * * A `.pem` extension + * @param serverCertificate Specifies a certificate chain for DataSync to authenticate with your + * object storage system if the system uses a private or self-signed certificate authority (CA). + * You must specify a single `.pem` file with a full certificate chain (for example, + * `file:///home/user/.ssh/object_storage_certificates.pem` ). * - * The file can be up to 32768 bytes (before base64 encoding). + * The certificate chain might include: + * + * * The object storage system's certificate + * * All intermediate certificates (if there are any) + * * The root certificate of the signing CA + * + * You can concatenate your certificates into a `.pem` file (which can be up to 32768 bytes + * before base64 encoding). The following example `cat` command creates an + * `object_storage_certificates.pem` file that includes three certificates: + * + * `cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > + * object_storage_certificates.pem` * * To use this parameter, configure `ServerProtocol` to `HTTPS` . */ @@ -327,7 +349,7 @@ public interface CfnLocationObjectStorageProps { * tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -377,16 +399,24 @@ public interface CfnLocationObjectStorageProps { override fun secretKey(): String? = unwrap(this).getSecretKey() /** - * Specifies a file with the certificates that are used to sign the object storage server's - * certificate (for example, `file:///home/user/.ssh/storage_sys_certificate.pem` ). The file you - * specify must include the following:. + * Specifies a certificate chain for DataSync to authenticate with your object storage system if + * the system uses a private or self-signed certificate authority (CA). + * + * You must specify a single `.pem` file with a full certificate chain (for example, + * `file:///home/user/.ssh/object_storage_certificates.pem` ). + * + * The certificate chain might include: + * + * * The object storage system's certificate + * * All intermediate certificates (if there are any) + * * The root certificate of the signing CA * - * * The certificate of the signing certificate authority (CA) - * * Any intermediate certificates - * * base64 encoding - * * A `.pem` extension + * You can concatenate your certificates into a `.pem` file (which can be up to 32768 bytes + * before base64 encoding). The following example `cat` command creates an + * `object_storage_certificates.pem` file that includes three certificates: * - * The file can be up to 32768 bytes (before base64 encoding). + * `cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > + * object_storage_certificates.pem` * * To use this parameter, configure `ServerProtocol` to `HTTPS` . * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3.kt index 8124fdd3a9..69dfe8dbba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3.kt @@ -58,8 +58,8 @@ public open class CfnLocationS3( id: String, props: CfnLocationS3Props, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationS3(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationS3Props::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationS3(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationS3Props.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnLocationS3( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnLocationS3( * used to access an Amazon S3 bucket. */ public open fun s3Config(`value`: IResolvable) { - unwrap(this).setS3Config(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3Config(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnLocationS3( * used to access an Amazon S3 bucket. */ public open fun s3Config(`value`: S3ConfigProperty) { - unwrap(this).setS3Config(`value`.let(S3ConfigProperty::unwrap)) + unwrap(this).setS3Config(`value`.let(S3ConfigProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnLocationS3( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnLocationS3( * (IAM) role that is used to access an Amazon S3 bucket. */ override fun s3Config(s3Config: IResolvable) { - cdkBuilder.s3Config(s3Config.let(IResolvable::unwrap)) + cdkBuilder.s3Config(s3Config.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnLocationS3( * (IAM) role that is used to access an Amazon S3 bucket. */ override fun s3Config(s3Config: S3ConfigProperty) { - cdkBuilder.s3Config(s3Config.let(S3ConfigProperty::unwrap)) + cdkBuilder.s3Config(s3Config.let(S3ConfigProperty.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class CfnLocationS3( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3Props.kt index 72754e8746..529a82506f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationS3Props.kt @@ -206,7 +206,7 @@ public interface CfnLocationS3Props { * in the *AWS DataSync User Guide* . */ override fun s3Config(s3Config: IResolvable) { - cdkBuilder.s3Config(s3Config.let(IResolvable::unwrap)) + cdkBuilder.s3Config(s3Config.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnLocationS3Props { * in the *AWS DataSync User Guide* . */ override fun s3Config(s3Config: CfnLocationS3.S3ConfigProperty) { - cdkBuilder.s3Config(s3Config.let(CfnLocationS3.S3ConfigProperty::unwrap)) + cdkBuilder.s3Config(s3Config.let(CfnLocationS3.S3ConfigProperty.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CfnLocationS3Props { * We recommend creating at least a name tag for your transfer location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMB.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMB.kt index b8739339e8..98e7ceffb1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMB.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMB.kt @@ -57,8 +57,8 @@ public open class CfnLocationSMB( id: String, props: CfnLocationSMBProps, ) : - this(software.amazon.awscdk.services.datasync.CfnLocationSMB(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationSMBProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnLocationSMB(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationSMBProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnLocationSMB( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,14 +125,14 @@ public open class CfnLocationSMB( * Specifies the version of the SMB protocol that DataSync uses to access your SMB file server. */ public open fun mountOptions(`value`: IResolvable) { - unwrap(this).setMountOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setMountOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the version of the SMB protocol that DataSync uses to access your SMB file server. */ public open fun mountOptions(`value`: MountOptionsProperty) { - unwrap(this).setMountOptions(`value`.let(MountOptionsProperty::unwrap)) + unwrap(this).setMountOptions(`value`.let(MountOptionsProperty.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnLocationSMB( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnLocationSMB( * your SMB file server. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnLocationSMB( * your SMB file server. */ override fun mountOptions(mountOptions: MountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(MountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(MountOptionsProperty.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnLocationSMB( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMBProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMBProps.kt index 405fc774be..9556bc742b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMBProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnLocationSMBProps.kt @@ -267,7 +267,7 @@ public interface CfnLocationSMBProps { * your SMB file server. */ override fun mountOptions(mountOptions: IResolvable) { - cdkBuilder.mountOptions(mountOptions.let(IResolvable::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnLocationSMBProps { * your SMB file server. */ override fun mountOptions(mountOptions: CfnLocationSMB.MountOptionsProperty) { - cdkBuilder.mountOptions(mountOptions.let(CfnLocationSMB.MountOptionsProperty::unwrap)) + cdkBuilder.mountOptions(mountOptions.let(CfnLocationSMB.MountOptionsProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface CfnLocationSMBProps { * We recommend creating at least a name tag for your location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystem.kt index a1805d972e..8ddb24a281 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystem.kt @@ -66,8 +66,8 @@ public open class CfnStorageSystem( id: String, props: CfnStorageSystemProps, ) : - this(software.amazon.awscdk.services.datasync.CfnStorageSystem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStorageSystemProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnStorageSystem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStorageSystemProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnStorageSystem( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnStorageSystem( * your on-premises storage system. */ public open fun serverConfiguration(`value`: IResolvable) { - unwrap(this).setServerConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnStorageSystem( * your on-premises storage system. */ public open fun serverConfiguration(`value`: ServerConfigurationProperty) { - unwrap(this).setServerConfiguration(`value`.let(ServerConfigurationProperty::unwrap)) + unwrap(this).setServerConfiguration(`value`.let(ServerConfigurationProperty.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnStorageSystem( * interface. */ public open fun serverCredentials(`value`: IResolvable) { - unwrap(this).setServerCredentials(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerCredentials(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnStorageSystem( * interface. */ public open fun serverCredentials(`value`: ServerCredentialsProperty) { - unwrap(this).setServerCredentials(`value`.let(ServerCredentialsProperty::unwrap)) + unwrap(this).setServerCredentials(`value`.let(ServerCredentialsProperty.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnStorageSystem( * Specifies labels that help you categorize, filter, and search for your AWS resources. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnStorageSystem( * with the management interface of your on-premises storage system. */ override fun serverConfiguration(serverConfiguration: IResolvable) { - cdkBuilder.serverConfiguration(serverConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverConfiguration(serverConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnStorageSystem( * with the management interface of your on-premises storage system. */ override fun serverConfiguration(serverConfiguration: ServerConfigurationProperty) { - cdkBuilder.serverConfiguration(serverConfiguration.let(ServerConfigurationProperty::unwrap)) + cdkBuilder.serverConfiguration(serverConfiguration.let(ServerConfigurationProperty.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnStorageSystem( * storage system's management interface. */ override fun serverCredentials(serverCredentials: IResolvable) { - cdkBuilder.serverCredentials(serverCredentials.let(IResolvable::unwrap)) + cdkBuilder.serverCredentials(serverCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnStorageSystem( * storage system's management interface. */ override fun serverCredentials(serverCredentials: ServerCredentialsProperty) { - cdkBuilder.serverCredentials(serverCredentials.let(ServerCredentialsProperty::unwrap)) + cdkBuilder.serverCredentials(serverCredentials.let(ServerCredentialsProperty.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnStorageSystem( * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystemProps.kt index a45f8ce443..f19ee0415e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnStorageSystemProps.kt @@ -247,7 +247,7 @@ public interface CfnStorageSystemProps { * with the management interface of your on-premises storage system. */ override fun serverConfiguration(serverConfiguration: IResolvable) { - cdkBuilder.serverConfiguration(serverConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverConfiguration(serverConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnStorageSystemProps { */ override fun serverConfiguration(serverConfiguration: CfnStorageSystem.ServerConfigurationProperty) { - cdkBuilder.serverConfiguration(serverConfiguration.let(CfnStorageSystem.ServerConfigurationProperty::unwrap)) + cdkBuilder.serverConfiguration(serverConfiguration.let(CfnStorageSystem.ServerConfigurationProperty.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnStorageSystemProps { * storage system's management interface. */ override fun serverCredentials(serverCredentials: IResolvable) { - cdkBuilder.serverCredentials(serverCredentials.let(IResolvable::unwrap)) + cdkBuilder.serverCredentials(serverCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface CfnStorageSystemProps { * storage system's management interface. */ override fun serverCredentials(serverCredentials: CfnStorageSystem.ServerCredentialsProperty) { - cdkBuilder.serverCredentials(serverCredentials.let(CfnStorageSystem.ServerCredentialsProperty::unwrap)) + cdkBuilder.serverCredentials(serverCredentials.let(CfnStorageSystem.ServerCredentialsProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface CfnStorageSystemProps { * We recommend creating at least a name tag for your on-premises storage system. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTask.kt index cf3706a746..c2d220b9c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTask.kt @@ -80,6 +80,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .build()) * .schedule(TaskScheduleProperty.builder() * .scheduleExpression("scheduleExpression") + * .status("status") * .build()) * .tags(List.of(CfnTag.builder() * .key("key") @@ -125,8 +126,8 @@ public open class CfnTask( id: String, props: CfnTaskProps, ) : - this(software.amazon.awscdk.services.datasync.CfnTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTaskProps::unwrap)) + this(software.amazon.awscdk.services.datasync.CfnTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTaskProps.Companion::unwrap)) ) public constructor( @@ -160,14 +161,14 @@ public open class CfnTask( public open fun attrTaskArn(): String = unwrap(this).getAttrTaskArn() /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and - * log events in the task. + * Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your + * task. */ public open fun cloudWatchLogGroupArn(): String? = unwrap(this).getCloudWatchLogGroupArn() /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and - * log events in the task. + * Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your + * task. */ public open fun cloudWatchLogGroupArn(`value`: String) { unwrap(this).setCloudWatchLogGroupArn(`value`) @@ -186,50 +187,58 @@ public open class CfnTask( } /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. */ public open fun excludes(): Any? = unwrap(this).getExcludes() /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. */ public open fun excludes(`value`: IResolvable) { - unwrap(this).setExcludes(`value`.let(IResolvable::unwrap)) + unwrap(this).setExcludes(`value`.let(IResolvable.Companion::unwrap)) } /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. */ public open fun excludes(`value`: List) { unwrap(this).setExcludes(`value`.map{CdkObjectWrappers.unwrap(it)}) } /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. */ public open fun excludes(vararg `value`: Any): Unit = excludes(`value`.toList()) /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. */ public open fun includes(): Any? = unwrap(this).getIncludes() /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. */ public open fun includes(`value`: IResolvable) { - unwrap(this).setIncludes(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludes(`value`.let(IResolvable.Companion::unwrap)) } /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. */ public open fun includes(`value`: List) { unwrap(this).setIncludes(`value`.map{CdkObjectWrappers.unwrap(it)}) } /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. */ public open fun includes(vararg `value`: Any): Unit = includes(`value`.toList()) @@ -239,30 +248,34 @@ public open class CfnTask( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. */ public open fun manifestConfig(): Any? = unwrap(this).getManifestConfig() /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. */ public open fun manifestConfig(`value`: IResolvable) { - unwrap(this).setManifestConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setManifestConfig(`value`.let(IResolvable.Companion::unwrap)) } /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. */ public open fun manifestConfig(`value`: ManifestConfigProperty) { - unwrap(this).setManifestConfig(`value`.let(ManifestConfigProperty::unwrap)) + unwrap(this).setManifestConfig(`value`.let(ManifestConfigProperty.Companion::unwrap)) } /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3f3d5d70b2fdc8b5bbd54d646e05702d83dfc05c58a414d9a28345e7fce8bb9d") @@ -270,46 +283,42 @@ public open class CfnTask( manifestConfig(ManifestConfigProperty(`value`)) /** - * The name of a task. + * Specifies the name of your task. */ public open fun name(): String? = unwrap(this).getName() /** - * The name of a task. + * Specifies the name of your task. */ public open fun name(`value`: String) { unwrap(this).setName(`value`) } /** - * Specifies the configuration options for a task. - * - * Some options include preserving file or object metadata and verifying data integrity. + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. */ public open fun options(): Any? = unwrap(this).getOptions() /** - * Specifies the configuration options for a task. - * - * Some options include preserving file or object metadata and verifying data integrity. + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. */ public open fun options(`value`: IResolvable) { - unwrap(this).setOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptions(`value`.let(IResolvable.Companion::unwrap)) } /** - * Specifies the configuration options for a task. - * - * Some options include preserving file or object metadata and verifying data integrity. + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. */ public open fun options(`value`: OptionsProperty) { - unwrap(this).setOptions(`value`.let(OptionsProperty::unwrap)) + unwrap(this).setOptions(`value`.let(OptionsProperty.Companion::unwrap)) } /** - * Specifies the configuration options for a task. - * - * Some options include preserving file or object metadata and verifying data integrity. + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0cb73a6986b6a2eab6684e9cc43938f794e75585cce4f517dfd62a17d2fe2b76") @@ -317,30 +326,26 @@ public open class CfnTask( options(OptionsProperty(`value`)) /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. */ public open fun schedule(): Any? = unwrap(this).getSchedule() /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. */ public open fun schedule(`value`: TaskScheduleProperty) { - unwrap(this).setSchedule(`value`.let(TaskScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(TaskScheduleProperty.Companion::unwrap)) } /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("618247c359dbc42271d0d4fff1b9a15f8cd3b3f3d1ad0966e97a9590fe51a050") @@ -348,12 +353,12 @@ public open class CfnTask( schedule(TaskScheduleProperty(`value`)) /** - * The Amazon Resource Name (ARN) of the source location for the task. + * Specifies the ARN of your transfer's source location. */ public open fun sourceLocationArn(): String = unwrap(this).getSourceLocationArn() /** - * The Amazon Resource Name (ARN) of the source location for the task. + * Specifies the ARN of your transfer's source location. */ public open fun sourceLocationArn(`value`: String) { unwrap(this).setSourceLocationArn(`value`) @@ -365,23 +370,20 @@ public open class CfnTask( public override fun tags(): TagManager = unwrap(this).getTags().let(TagManager::wrap) /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. */ public open fun tagsRaw(): List = unwrap(this).getTagsRaw()?.map(CfnTag::wrap) ?: emptyList() /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. */ public open fun tagsRaw(vararg `value`: CfnTag): Unit = tagsRaw(`value`.toList()) @@ -396,7 +398,7 @@ public open class CfnTask( * your DataSync transfer. */ public open fun taskReportConfig(`value`: IResolvable) { - unwrap(this).setTaskReportConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTaskReportConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -404,7 +406,7 @@ public open class CfnTask( * your DataSync transfer. */ public open fun taskReportConfig(`value`: TaskReportConfigProperty) { - unwrap(this).setTaskReportConfig(`value`.let(TaskReportConfigProperty::unwrap)) + unwrap(this).setTaskReportConfig(`value`.let(TaskReportConfigProperty.Companion::unwrap)) } /** @@ -422,20 +424,15 @@ public open class CfnTask( @CdkDslMarker public interface Builder { /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and - * log events in the task. - * - * For more information about how to use CloudWatch Logs with DataSync, see [Monitoring Your - * Task](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs) - * in the *AWS DataSync User Guide.* + * Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring + * your task. * - * For more information about these groups, see [Working with Log Groups and Log - * Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) - * in the *Amazon CloudWatch Logs User Guide* . + * For more information, see [Monitoring DataSync with Amazon + * CloudWatch](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-cloudwatchloggrouparn) - * @param cloudWatchLogGroupArn The Amazon Resource Name (ARN) of the Amazon CloudWatch log - * group that is used to monitor and log events in the task. + * @param cloudWatchLogGroupArn Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch + * log group for monitoring your task. */ public fun cloudWatchLogGroupArn(cloudWatchLogGroupArn: String) @@ -449,247 +446,229 @@ public open class CfnTask( public fun destinationLocationArn(destinationLocationArn: String) /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. */ public fun excludes(excludes: IResolvable) /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. */ public fun excludes(excludes: List) /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. */ public fun excludes(vararg excludes: Any) /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. */ public fun includes(includes: IResolvable) /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. */ public fun includes(includes: List) /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. */ public fun includes(vararg includes: Any) /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig) - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. */ public fun manifestConfig(manifestConfig: IResolvable) /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig) - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. */ public fun manifestConfig(manifestConfig: ManifestConfigProperty) /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig) - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7312f9c8ef32669d9d5371b2c1ce143f2bcca81052d450c0f5d9d7bcf9d5e543") public fun manifestConfig(manifestConfig: ManifestConfigProperty.Builder.() -> Unit) /** - * The name of a task. - * - * This value is a text reference that is used to identify the task in the console. + * Specifies the name of your task. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-name) - * @param name The name of a task. + * @param name Specifies the name of your task. */ public fun name(name: String) /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ public fun options(options: IResolvable) /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ public fun options(options: OptionsProperty) /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("72305d8f86064d3c2e00f3c3ac30d4951c2ad22f68f689c764cd4ac5db235abc") public fun options(options: OptionsProperty.Builder.() -> Unit) /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. + * @param schedule Specifies a schedule for when you want your task to run. */ public fun schedule(schedule: IResolvable) /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. + * @param schedule Specifies a schedule for when you want your task to run. */ public fun schedule(schedule: TaskScheduleProperty) /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. + * @param schedule Specifies a schedule for when you want your task to run. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc570e5121b77db56ad8465e2e4b2bca206399256c4c7ca3af30554a5dfe7e3c") public fun schedule(schedule: TaskScheduleProperty.Builder.() -> Unit) /** - * The Amazon Resource Name (ARN) of the source location for the task. + * Specifies the ARN of your transfer's source location. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-sourcelocationarn) - * @param sourceLocationArn The Amazon Resource Name (ARN) of the source location for the task. + * @param sourceLocationArn Specifies the ARN of your transfer's source location. */ public fun sourceLocationArn(sourceLocationArn: String) /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. * * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-tags) - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. */ public fun tags(tags: List) /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. * * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-tags) - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. */ public fun tags(vararg tags: CfnTag) @@ -758,20 +737,15 @@ public open class CfnTask( software.amazon.awscdk.services.datasync.CfnTask.Builder.create(scope, id) /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and - * log events in the task. - * - * For more information about how to use CloudWatch Logs with DataSync, see [Monitoring Your - * Task](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs) - * in the *AWS DataSync User Guide.* + * Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring + * your task. * - * For more information about these groups, see [Working with Log Groups and Log - * Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) - * in the *Amazon CloudWatch Logs User Guide* . + * For more information, see [Monitoring DataSync with Amazon + * CloudWatch](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-cloudwatchloggrouparn) - * @param cloudWatchLogGroupArn The Amazon Resource Name (ARN) of the Amazon CloudWatch log - * group that is used to monitor and log events in the task. + * @param cloudWatchLogGroupArn Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch + * log group for monitoring your task. */ override fun cloudWatchLogGroupArn(cloudWatchLogGroupArn: String) { cdkBuilder.cloudWatchLogGroupArn(cloudWatchLogGroupArn) @@ -789,125 +763,134 @@ public open class CfnTask( } /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. */ override fun excludes(excludes: IResolvable) { - cdkBuilder.excludes(excludes.let(IResolvable::unwrap)) + cdkBuilder.excludes(excludes.let(IResolvable.Companion::unwrap)) } /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. */ override fun excludes(excludes: List) { cdkBuilder.excludes(excludes.map{CdkObjectWrappers.unwrap(it)}) } /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. */ override fun excludes(vararg excludes: Any): Unit = excludes(excludes.toList()) /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. */ override fun includes(includes: IResolvable) { - cdkBuilder.includes(includes.let(IResolvable::unwrap)) + cdkBuilder.includes(includes.let(IResolvable.Companion::unwrap)) } /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. */ override fun includes(includes: List) { cdkBuilder.includes(includes.map{CdkObjectWrappers.unwrap(it)}) } /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. */ override fun includes(vararg includes: Any): Unit = includes(includes.toList()) /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig) - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. */ override fun manifestConfig(manifestConfig: IResolvable) { - cdkBuilder.manifestConfig(manifestConfig.let(IResolvable::unwrap)) + cdkBuilder.manifestConfig(manifestConfig.let(IResolvable.Companion::unwrap)) } /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig) - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. */ override fun manifestConfig(manifestConfig: ManifestConfigProperty) { - cdkBuilder.manifestConfig(manifestConfig.let(ManifestConfigProperty::unwrap)) + cdkBuilder.manifestConfig(manifestConfig.let(ManifestConfigProperty.Companion::unwrap)) } /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig) - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7312f9c8ef32669d9d5371b2c1ce143f2bcca81052d450c0f5d9d7bcf9d5e543") @@ -915,63 +898,46 @@ public open class CfnTask( manifestConfig(ManifestConfigProperty(manifestConfig)) /** - * The name of a task. - * - * This value is a text reference that is used to identify the task in the console. + * Specifies the name of your task. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-name) - * @param name The name of a task. + * @param name Specifies the name of your task. */ override fun name(name: String) { cdkBuilder.name(name) } /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ override fun options(options: OptionsProperty) { - cdkBuilder.options(options.let(OptionsProperty::unwrap)) + cdkBuilder.options(options.let(OptionsProperty.Companion::unwrap)) } /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("72305d8f86064d3c2e00f3c3ac30d4951c2ad22f68f689c764cd4ac5db235abc") @@ -979,45 +945,39 @@ public open class CfnTask( options(OptionsProperty(options)) /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. + * @param schedule Specifies a schedule for when you want your task to run. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. + * @param schedule Specifies a schedule for when you want your task to run. */ override fun schedule(schedule: TaskScheduleProperty) { - cdkBuilder.schedule(schedule.let(TaskScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(TaskScheduleProperty.Companion::unwrap)) } /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. + * @param schedule Specifies a schedule for when you want your task to run. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bc570e5121b77db56ad8465e2e4b2bca206399256c4c7ca3af30554a5dfe7e3c") @@ -1025,40 +985,36 @@ public open class CfnTask( schedule(TaskScheduleProperty(schedule)) /** - * The Amazon Resource Name (ARN) of the source location for the task. + * Specifies the ARN of your transfer's source location. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-sourcelocationarn) - * @param sourceLocationArn The Amazon Resource Name (ARN) of the source location for the task. + * @param sourceLocationArn Specifies the ARN of your transfer's source location. */ override fun sourceLocationArn(sourceLocationArn: String) { cdkBuilder.sourceLocationArn(sourceLocationArn) } /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. * * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-tags) - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. * * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-tags) - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. */ override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) @@ -1079,7 +1035,7 @@ public open class CfnTask( * detailed information about your DataSync transfer. */ override fun taskReportConfig(taskReportConfig: IResolvable) { - cdkBuilder.taskReportConfig(taskReportConfig.let(IResolvable::unwrap)) + cdkBuilder.taskReportConfig(taskReportConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1099,7 +1055,7 @@ public open class CfnTask( * detailed information about your DataSync transfer. */ override fun taskReportConfig(taskReportConfig: TaskReportConfigProperty) { - cdkBuilder.taskReportConfig(taskReportConfig.let(TaskReportConfigProperty::unwrap)) + cdkBuilder.taskReportConfig(taskReportConfig.let(TaskReportConfigProperty.Companion::unwrap)) } /** @@ -1300,14 +1256,14 @@ public open class CfnTask( * @param s3 Specifies the Amazon S3 bucket where DataSync uploads your task report. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Specifies the Amazon S3 bucket where DataSync uploads your task report. */ override fun s3(s3: S3Property) { - cdkBuilder.s3(s3.let(S3Property::unwrap)) + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) } /** @@ -1636,7 +1592,7 @@ public open class CfnTask( * . */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -1652,7 +1608,7 @@ public open class CfnTask( * . */ override fun source(source: SourceProperty) { - cdkBuilder.source(source.let(SourceProperty::unwrap)) + cdkBuilder.source(source.let(SourceProperty.Companion::unwrap)) } /** @@ -3294,7 +3250,7 @@ public open class CfnTask( * data in the destination that isn't in the source. */ override fun deleted(deleted: IResolvable) { - cdkBuilder.deleted(deleted.let(IResolvable::unwrap)) + cdkBuilder.deleted(deleted.let(IResolvable.Companion::unwrap)) } /** @@ -3305,7 +3261,7 @@ public open class CfnTask( * data in the destination that isn't in the source. */ override fun deleted(deleted: DeletedProperty) { - cdkBuilder.deleted(deleted.let(DeletedProperty::unwrap)) + cdkBuilder.deleted(deleted.let(DeletedProperty.Companion::unwrap)) } /** @@ -3325,7 +3281,7 @@ public open class CfnTask( * that DataSync attempted to skip during your transfer. */ override fun skipped(skipped: IResolvable) { - cdkBuilder.skipped(skipped.let(IResolvable::unwrap)) + cdkBuilder.skipped(skipped.let(IResolvable.Companion::unwrap)) } /** @@ -3333,7 +3289,7 @@ public open class CfnTask( * that DataSync attempted to skip during your transfer. */ override fun skipped(skipped: SkippedProperty) { - cdkBuilder.skipped(skipped.let(SkippedProperty::unwrap)) + cdkBuilder.skipped(skipped.let(SkippedProperty.Companion::unwrap)) } /** @@ -3350,7 +3306,7 @@ public open class CfnTask( * that DataSync attempted to transfer. */ override fun transferred(transferred: IResolvable) { - cdkBuilder.transferred(transferred.let(IResolvable::unwrap)) + cdkBuilder.transferred(transferred.let(IResolvable.Companion::unwrap)) } /** @@ -3358,7 +3314,7 @@ public open class CfnTask( * that DataSync attempted to transfer. */ override fun transferred(transferred: TransferredProperty) { - cdkBuilder.transferred(transferred.let(TransferredProperty::unwrap)) + cdkBuilder.transferred(transferred.let(TransferredProperty.Companion::unwrap)) } /** @@ -3375,7 +3331,7 @@ public open class CfnTask( * that DataSync attempted to verify during your transfer. */ override fun verified(verified: IResolvable) { - cdkBuilder.verified(verified.let(IResolvable::unwrap)) + cdkBuilder.verified(verified.let(IResolvable.Companion::unwrap)) } /** @@ -3383,7 +3339,7 @@ public open class CfnTask( * that DataSync attempted to verify during your transfer. */ override fun verified(verified: VerifiedProperty) { - cdkBuilder.verified(verified.let(VerifiedProperty::unwrap)) + cdkBuilder.verified(verified.let(VerifiedProperty.Companion::unwrap)) } /** @@ -3730,14 +3686,14 @@ public open class CfnTask( * @param s3 Specifies the S3 bucket where you're hosting your manifest. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Specifies the S3 bucket where you're hosting your manifest. */ override fun s3(s3: ManifestConfigSourceS3Property) { - cdkBuilder.s3(s3.let(ManifestConfigSourceS3Property::unwrap)) + cdkBuilder.s3(s3.let(ManifestConfigSourceS3Property.Companion::unwrap)) } /** @@ -3982,7 +3938,7 @@ public open class CfnTask( * . */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -3992,7 +3948,7 @@ public open class CfnTask( * . */ override fun destination(destination: DestinationProperty) { - cdkBuilder.destination(destination.let(DestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(DestinationProperty.Companion::unwrap)) } /** @@ -4036,7 +3992,7 @@ public open class CfnTask( * in your destination location. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -4046,7 +4002,7 @@ public open class CfnTask( * in your destination location. */ override fun overrides(overrides: OverridesProperty) { - cdkBuilder.overrides(overrides.let(OverridesProperty::unwrap)) + cdkBuilder.overrides(overrides.let(OverridesProperty.Companion::unwrap)) } /** @@ -4159,10 +4115,9 @@ public open class CfnTask( } /** - * Specifies the schedule you want your task to use for repeated executions. - * - * For more information, see [Schedule Expressions for - * Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) . + * Configures your AWS DataSync task to run on a + * [schedule](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) (at a + * minimum interval of 1 hour). * * Example: * @@ -4172,6 +4127,7 @@ public open class CfnTask( * import io.cloudshiftdev.awscdk.services.datasync.*; * TaskScheduleProperty taskScheduleProperty = TaskScheduleProperty.builder() * .scheduleExpression("scheduleExpression") + * .status("status") * .build(); * ``` * @@ -4179,12 +4135,30 @@ public open class CfnTask( */ public interface TaskScheduleProperty { /** - * A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a - * source to a destination location. + * Specifies your task schedule by using a cron expression in UTC time. + * + * For information about cron expression syntax, see the [*Amazon EventBridge User + * Guide*](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskschedule.html#cfn-datasync-task-taskschedule-scheduleexpression) */ - public fun scheduleExpression(): String + public fun scheduleExpression(): String? = unwrap(this).getScheduleExpression() + + /** + * Specifies whether to enable or disable your task schedule. + * + * Your schedule is enabled by default, but there can be situations where you need to disable + * it. For example, you might need to perform maintenance on a storage system before you can begin + * a recurring DataSync transfer. + * + * DataSync might disable your schedule automatically if your task fails repeatedly with the + * same error. For more information, see the [*DataSync User + * Guide*](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html#pause-task-schedule) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskschedule.html#cfn-datasync-task-taskschedule-status) + */ + public fun status(): String? = unwrap(this).getStatus() /** * A builder for [TaskScheduleProperty] @@ -4192,10 +4166,25 @@ public open class CfnTask( @CdkDslMarker public interface Builder { /** - * @param scheduleExpression A cron expression that specifies when AWS DataSync initiates a - * scheduled transfer from a source to a destination location. + * @param scheduleExpression Specifies your task schedule by using a cron expression in UTC + * time. + * For information about cron expression syntax, see the [*Amazon EventBridge User + * Guide*](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html) . */ public fun scheduleExpression(scheduleExpression: String) + + /** + * @param status Specifies whether to enable or disable your task schedule. + * Your schedule is enabled by default, but there can be situations where you need to disable + * it. For example, you might need to perform maintenance on a storage system before you can + * begin a recurring DataSync transfer. + * + * DataSync might disable your schedule automatically if your task fails repeatedly with the + * same error. For more information, see the [*DataSync User + * Guide*](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html#pause-task-schedule) + * . + */ + public fun status(status: String) } private class BuilderImpl : Builder { @@ -4204,13 +4193,30 @@ public open class CfnTask( software.amazon.awscdk.services.datasync.CfnTask.TaskScheduleProperty.builder() /** - * @param scheduleExpression A cron expression that specifies when AWS DataSync initiates a - * scheduled transfer from a source to a destination location. + * @param scheduleExpression Specifies your task schedule by using a cron expression in UTC + * time. + * For information about cron expression syntax, see the [*Amazon EventBridge User + * Guide*](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html) . */ override fun scheduleExpression(scheduleExpression: String) { cdkBuilder.scheduleExpression(scheduleExpression) } + /** + * @param status Specifies whether to enable or disable your task schedule. + * Your schedule is enabled by default, but there can be situations where you need to disable + * it. For example, you might need to perform maintenance on a storage system before you can + * begin a recurring DataSync transfer. + * + * DataSync might disable your schedule automatically if your task fails repeatedly with the + * same error. For more information, see the [*DataSync User + * Guide*](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html#pause-task-schedule) + * . + */ + override fun status(status: String) { + cdkBuilder.status(status) + } + public fun build(): software.amazon.awscdk.services.datasync.CfnTask.TaskScheduleProperty = cdkBuilder.build() } @@ -4219,12 +4225,30 @@ public open class CfnTask( cdkObject: software.amazon.awscdk.services.datasync.CfnTask.TaskScheduleProperty, ) : CdkObject(cdkObject), TaskScheduleProperty { /** - * A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a - * source to a destination location. + * Specifies your task schedule by using a cron expression in UTC time. + * + * For information about cron expression syntax, see the [*Amazon EventBridge User + * Guide*](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskschedule.html#cfn-datasync-task-taskschedule-scheduleexpression) */ - override fun scheduleExpression(): String = unwrap(this).getScheduleExpression() + override fun scheduleExpression(): String? = unwrap(this).getScheduleExpression() + + /** + * Specifies whether to enable or disable your task schedule. + * + * Your schedule is enabled by default, but there can be situations where you need to disable + * it. For example, you might need to perform maintenance on a storage system before you can + * begin a recurring DataSync transfer. + * + * DataSync might disable your schedule automatically if your task fails repeatedly with the + * same error. For more information, see the [*DataSync User + * Guide*](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html#pause-task-schedule) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskschedule.html#cfn-datasync-task-taskschedule-status) + */ + override fun status(): String? = unwrap(this).getStatus() } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTaskProps.kt index dddf96559f..b1dbd51e27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datasync/CfnTaskProps.kt @@ -68,6 +68,7 @@ import kotlin.jvm.JvmName * .build()) * .schedule(TaskScheduleProperty.builder() * .scheduleExpression("scheduleExpression") + * .status("status") * .build()) * .tags(List.of(CfnTag.builder() * .key("key") @@ -107,16 +108,11 @@ import kotlin.jvm.JvmName */ public interface CfnTaskProps { /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and - * log events in the task. - * - * For more information about how to use CloudWatch Logs with DataSync, see [Monitoring Your - * Task](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs) - * in the *AWS DataSync User Guide.* + * Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your + * task. * - * For more information about these groups, see [Working with Log Groups and Log - * Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) - * in the *Amazon CloudWatch Logs User Guide* . + * For more information, see [Monitoring DataSync with Amazon + * CloudWatch](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-cloudwatchloggrouparn) */ @@ -130,27 +126,30 @@ public interface CfnTaskProps { public fun destinationLocationArn(): String /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) */ public fun excludes(): Any? = unwrap(this).getExcludes() /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) */ public fun includes(): Any? = unwrap(this).getIncludes() /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) . @@ -160,32 +159,24 @@ public interface CfnTaskProps { public fun manifestConfig(): Any? = unwrap(this).getManifestConfig() /** - * The name of a task. - * - * This value is a text reference that is used to identify the task in the console. + * Specifies the name of your task. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-name) */ public fun name(): String? = unwrap(this).getName() /** - * Specifies the configuration options for a task. Some options include preserving file or object - * metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known as - * a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) */ public fun options(): Any? = unwrap(this).getOptions() /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) @@ -193,15 +184,14 @@ public interface CfnTaskProps { public fun schedule(): Any? = unwrap(this).getSchedule() /** - * The Amazon Resource Name (ARN) of the source location for the task. + * Specifies the ARN of your transfer's source location. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-sourcelocationarn) */ public fun sourceLocationArn(): String /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. * * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. @@ -232,15 +222,10 @@ public interface CfnTaskProps { @CdkDslMarker public interface Builder { /** - * @param cloudWatchLogGroupArn The Amazon Resource Name (ARN) of the Amazon CloudWatch log - * group that is used to monitor and log events in the task. - * For more information about how to use CloudWatch Logs with DataSync, see [Monitoring Your - * Task](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs) - * in the *AWS DataSync User Guide.* - * - * For more information about these groups, see [Working with Log Groups and Log - * Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) - * in the *Amazon CloudWatch Logs User Guide* . + * @param cloudWatchLogGroupArn Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch + * log group for monitoring your task. + * For more information, see [Monitoring DataSync with Amazon + * CloudWatch](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html) . */ public fun cloudWatchLogGroupArn(cloudWatchLogGroupArn: String) @@ -251,56 +236,56 @@ public interface CfnTaskProps { public fun destinationLocationArn(destinationLocationArn: String) /** - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public fun excludes(excludes: IResolvable) /** - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public fun excludes(excludes: List) /** - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public fun excludes(vararg excludes: Any) /** - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public fun includes(includes: IResolvable) /** - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public fun includes(includes: List) /** - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ public fun includes(vararg includes: Any) /** - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . @@ -308,8 +293,8 @@ public interface CfnTaskProps { public fun manifestConfig(manifestConfig: IResolvable) /** - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . @@ -317,8 +302,8 @@ public interface CfnTaskProps { public fun manifestConfig(manifestConfig: CfnTask.ManifestConfigProperty) /** - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . @@ -328,63 +313,47 @@ public interface CfnTaskProps { public fun manifestConfig(manifestConfig: CfnTask.ManifestConfigProperty.Builder.() -> Unit) /** - * @param name The name of a task. - * This value is a text reference that is used to identify the task in the console. + * @param name Specifies the name of your task. */ public fun name(name: String) /** - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ public fun options(options: IResolvable) /** - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ public fun options(options: CfnTask.OptionsProperty) /** - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1abaf271dd52396527a8a77c9fdad5bc3db1d413aea3a94f2532b919def4e4fc") public fun options(options: CfnTask.OptionsProperty.Builder.() -> Unit) /** - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * @param schedule Specifies a schedule for when you want your task to run. + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . */ public fun schedule(schedule: IResolvable) /** - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * @param schedule Specifies a schedule for when you want your task to run. + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . */ public fun schedule(schedule: CfnTask.TaskScheduleProperty) /** - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * @param schedule Specifies a schedule for when you want your task to run. + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -392,21 +361,19 @@ public interface CfnTaskProps { public fun schedule(schedule: CfnTask.TaskScheduleProperty.Builder.() -> Unit) /** - * @param sourceLocationArn The Amazon Resource Name (ARN) of the source location for the task. + * @param sourceLocationArn Specifies the ARN of your transfer's source location. */ public fun sourceLocationArn(sourceLocationArn: String) /** - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. */ public fun tags(tags: List) /** - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. */ @@ -460,15 +427,10 @@ public interface CfnTaskProps { software.amazon.awscdk.services.datasync.CfnTaskProps.builder() /** - * @param cloudWatchLogGroupArn The Amazon Resource Name (ARN) of the Amazon CloudWatch log - * group that is used to monitor and log events in the task. - * For more information about how to use CloudWatch Logs with DataSync, see [Monitoring Your - * Task](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs) - * in the *AWS DataSync User Guide.* - * - * For more information about these groups, see [Working with Log Groups and Log - * Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) - * in the *Amazon CloudWatch Logs User Guide* . + * @param cloudWatchLogGroupArn Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch + * log group for monitoring your task. + * For more information, see [Monitoring DataSync with Amazon + * CloudWatch](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html) . */ override fun cloudWatchLogGroupArn(cloudWatchLogGroupArn: String) { cdkBuilder.cloudWatchLogGroupArn(cloudWatchLogGroupArn) @@ -483,86 +445,86 @@ public interface CfnTaskProps { } /** - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ override fun excludes(excludes: IResolvable) { - cdkBuilder.excludes(excludes.let(IResolvable::unwrap)) + cdkBuilder.excludes(excludes.let(IResolvable.Companion::unwrap)) } /** - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ override fun excludes(excludes: List) { cdkBuilder.excludes(excludes.map{CdkObjectWrappers.unwrap(it)}) } /** - * @param excludes Specifies a list of filter rules that exclude specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param excludes Specifies exclude filters that define the files, objects, and folders in your + * source location that you don't want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ override fun excludes(vararg excludes: Any): Unit = excludes(excludes.toList()) /** - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ override fun includes(includes: IResolvable) { - cdkBuilder.includes(includes.let(IResolvable::unwrap)) + cdkBuilder.includes(includes.let(IResolvable.Companion::unwrap)) } /** - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ override fun includes(includes: List) { cdkBuilder.includes(includes.map{CdkObjectWrappers.unwrap(it)}) } /** - * @param includes Specifies a list of filter rules that include specific data during your - * transfer. - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * @param includes Specifies include filters define the files, objects, and folders in your + * source location that you want DataSync to transfer. + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . */ override fun includes(vararg includes: Any): Unit = includes(includes.toList()) /** - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . */ override fun manifestConfig(manifestConfig: IResolvable) { - cdkBuilder.manifestConfig(manifestConfig.let(IResolvable::unwrap)) + cdkBuilder.manifestConfig(manifestConfig.let(IResolvable.Companion::unwrap)) } /** - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . */ override fun manifestConfig(manifestConfig: CfnTask.ManifestConfigProperty) { - cdkBuilder.manifestConfig(manifestConfig.let(CfnTask.ManifestConfigProperty::unwrap)) + cdkBuilder.manifestConfig(manifestConfig.let(CfnTask.ManifestConfigProperty.Companion::unwrap)) } /** - * @param manifestConfig The configuration of the manifest that lists the files or objects to - * transfer. + * @param manifestConfig The configuration of the manifest that lists the files or objects that + * you want DataSync to transfer. * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) * . @@ -573,44 +535,31 @@ public interface CfnTaskProps { Unit = manifestConfig(CfnTask.ManifestConfigProperty(manifestConfig)) /** - * @param name The name of a task. - * This value is a text reference that is used to identify the task in the console. + * @param name Specifies the name of your task. */ override fun name(name: String) { cdkBuilder.name(name) } /** - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ override fun options(options: CfnTask.OptionsProperty) { - cdkBuilder.options(options.let(CfnTask.OptionsProperty::unwrap)) + cdkBuilder.options(options.let(CfnTask.OptionsProperty.Companion::unwrap)) } /** - * @param options Specifies the configuration options for a task. Some options include - * preserving file or object metadata and verifying data integrity. - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * @param options Specifies your task's settings, such as preserving file metadata, verifying + * data integrity, among other options. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1abaf271dd52396527a8a77c9fdad5bc3db1d413aea3a94f2532b919def4e4fc") @@ -618,29 +567,26 @@ public interface CfnTaskProps { options(CfnTask.OptionsProperty(options)) /** - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * @param schedule Specifies a schedule for when you want your task to run. + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * @param schedule Specifies a schedule for when you want your task to run. + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . */ override fun schedule(schedule: CfnTask.TaskScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnTask.TaskScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnTask.TaskScheduleProperty.Companion::unwrap)) } /** - * @param schedule Specifies a schedule used to periodically transfer files from a source to a - * destination location. - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * @param schedule Specifies a schedule for when you want your task to run. + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -649,25 +595,23 @@ public interface CfnTaskProps { schedule(CfnTask.TaskScheduleProperty(schedule)) /** - * @param sourceLocationArn The Amazon Resource Name (ARN) of the source location for the task. + * @param sourceLocationArn Specifies the ARN of your transfer's source location. */ override fun sourceLocationArn(sourceLocationArn: String) { cdkBuilder.sourceLocationArn(sourceLocationArn) } /** - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** - * @param tags Specifies the tags that you want to apply to the Amazon Resource Name (ARN) - * representing the task. + * @param tags Specifies the tags that you want to apply to your task. * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. */ @@ -685,7 +629,7 @@ public interface CfnTaskProps { * policy includes this permission. */ override fun taskReportConfig(taskReportConfig: IResolvable) { - cdkBuilder.taskReportConfig(taskReportConfig.let(IResolvable::unwrap)) + cdkBuilder.taskReportConfig(taskReportConfig.let(IResolvable.Companion::unwrap)) } /** @@ -700,7 +644,7 @@ public interface CfnTaskProps { * policy includes this permission. */ override fun taskReportConfig(taskReportConfig: CfnTask.TaskReportConfigProperty) { - cdkBuilder.taskReportConfig(taskReportConfig.let(CfnTask.TaskReportConfigProperty::unwrap)) + cdkBuilder.taskReportConfig(taskReportConfig.let(CfnTask.TaskReportConfigProperty.Companion::unwrap)) } /** @@ -727,16 +671,11 @@ public interface CfnTaskProps { cdkObject: software.amazon.awscdk.services.datasync.CfnTaskProps, ) : CdkObject(cdkObject), CfnTaskProps { /** - * The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and - * log events in the task. - * - * For more information about how to use CloudWatch Logs with DataSync, see [Monitoring Your - * Task](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs) - * in the *AWS DataSync User Guide.* + * Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring + * your task. * - * For more information about these groups, see [Working with Log Groups and Log - * Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) - * in the *Amazon CloudWatch Logs User Guide* . + * For more information, see [Monitoring DataSync with Amazon + * CloudWatch](https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-cloudwatchloggrouparn) */ @@ -750,27 +689,30 @@ public interface CfnTaskProps { override fun destinationLocationArn(): String = unwrap(this).getDestinationLocationArn() /** - * Specifies a list of filter rules that exclude specific data during your transfer. + * Specifies exclude filters that define the files, objects, and folders in your source location + * that you don't want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes) */ override fun excludes(): Any? = unwrap(this).getExcludes() /** - * Specifies a list of filter rules that include specific data during your transfer. + * Specifies include filters define the files, objects, and folders in your source location that + * you want DataSync to transfer. * - * For more information and examples, see [Filtering data transferred by - * DataSync](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . + * For more information and examples, see [Specifying what DataSync transfers by using + * filters](https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes) */ override fun includes(): Any? = unwrap(this).getIncludes() /** - * The configuration of the manifest that lists the files or objects to transfer. + * The configuration of the manifest that lists the files or objects that you want DataSync to + * transfer. * * For more information, see [Specifying what DataSync transfers by using a * manifest](https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html) @@ -781,32 +723,24 @@ public interface CfnTaskProps { override fun manifestConfig(): Any? = unwrap(this).getManifestConfig() /** - * The name of a task. - * - * This value is a text reference that is used to identify the task in the console. + * Specifies the name of your task. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-name) */ override fun name(): String? = unwrap(this).getName() /** - * Specifies the configuration options for a task. Some options include preserving file or - * object metadata and verifying data integrity. - * - * You can also override these options before starting an individual run of a task (also known - * as a *task execution* ). For more information, see - * [StartTaskExecution](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) - * . + * Specifies your task's settings, such as preserving file metadata, verifying data integrity, + * among other options. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options) */ override fun options(): Any? = unwrap(this).getOptions() /** - * Specifies a schedule used to periodically transfer files from a source to a destination - * location. + * Specifies a schedule for when you want your task to run. * - * The schedule should be specified in UTC time. For more information, see [Scheduling your + * For more information, see [Scheduling your * task](https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule) @@ -814,15 +748,14 @@ public interface CfnTaskProps { override fun schedule(): Any? = unwrap(this).getSchedule() /** - * The Amazon Resource Name (ARN) of the source location for the task. + * Specifies the ARN of your transfer's source location. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-sourcelocationarn) */ override fun sourceLocationArn(): String = unwrap(this).getSourceLocationArn() /** - * Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the - * task. + * Specifies the tags that you want to apply to your task. * * *Tags* are key-value pairs that help you manage, filter, and search for your DataSync * resources. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSource.kt index abb645f614..0819becbfe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSource.kt @@ -106,8 +106,8 @@ public open class CfnDataSource( id: String, props: CfnDataSourceProps, ) : - this(software.amazon.awscdk.services.datazone.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSourceProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnDataSource( * The metadata forms attached to the assets that the data source works with. */ public open fun assetFormsInput(`value`: IResolvable) { - unwrap(this).setAssetFormsInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssetFormsInput(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public open class CfnDataSource( * The configuration of the data source. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of the data source. */ public open fun configuration(`value`: DataSourceConfigurationInputProperty) { - unwrap(this).setConfiguration(`value`.let(DataSourceConfigurationInputProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(DataSourceConfigurationInputProperty.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnDataSource( * automatically published to the catalog. */ public open fun publishOnImport(`value`: IResolvable) { - unwrap(this).setPublishOnImport(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublishOnImport(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -333,14 +333,14 @@ public open class CfnDataSource( * Specifies whether the business name generation is to be enabled for this data source. */ public open fun recommendation(`value`: IResolvable) { - unwrap(this).setRecommendation(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecommendation(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies whether the business name generation is to be enabled for this data source. */ public open fun recommendation(`value`: RecommendationConfigurationProperty) { - unwrap(this).setRecommendation(`value`.let(RecommendationConfigurationProperty::unwrap)) + unwrap(this).setRecommendation(`value`.let(RecommendationConfigurationProperty.Companion::unwrap)) } /** @@ -360,14 +360,14 @@ public open class CfnDataSource( * The schedule of the data source runs. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * The schedule of the data source runs. */ public open fun schedule(`value`: ScheduleConfigurationProperty) { - unwrap(this).setSchedule(`value`.let(ScheduleConfigurationProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(ScheduleConfigurationProperty.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class CfnDataSource( * with. */ override fun assetFormsInput(assetFormsInput: IResolvable) { - cdkBuilder.assetFormsInput(assetFormsInput.let(IResolvable::unwrap)) + cdkBuilder.assetFormsInput(assetFormsInput.let(IResolvable.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnDataSource( * @param configuration The configuration of the data source. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -641,7 +641,7 @@ public open class CfnDataSource( * @param configuration The configuration of the data source. */ override fun configuration(configuration: DataSourceConfigurationInputProperty) { - cdkBuilder.configuration(configuration.let(DataSourceConfigurationInputProperty::unwrap)) + cdkBuilder.configuration(configuration.let(DataSourceConfigurationInputProperty.Companion::unwrap)) } /** @@ -741,7 +741,7 @@ public open class CfnDataSource( * inventory are to be also automatically published to the catalog. */ override fun publishOnImport(publishOnImport: IResolvable) { - cdkBuilder.publishOnImport(publishOnImport.let(IResolvable::unwrap)) + cdkBuilder.publishOnImport(publishOnImport.let(IResolvable.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class CfnDataSource( * this data source. */ override fun recommendation(recommendation: IResolvable) { - cdkBuilder.recommendation(recommendation.let(IResolvable::unwrap)) + cdkBuilder.recommendation(recommendation.let(IResolvable.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnDataSource( * this data source. */ override fun recommendation(recommendation: RecommendationConfigurationProperty) { - cdkBuilder.recommendation(recommendation.let(RecommendationConfigurationProperty::unwrap)) + cdkBuilder.recommendation(recommendation.let(RecommendationConfigurationProperty.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public open class CfnDataSource( * @param schedule The schedule of the data source runs. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public open class CfnDataSource( * @param schedule The schedule of the data source runs. */ override fun schedule(schedule: ScheduleConfigurationProperty) { - cdkBuilder.schedule(schedule.let(ScheduleConfigurationProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleConfigurationProperty.Companion::unwrap)) } /** @@ -966,14 +966,14 @@ public open class CfnDataSource( * @param glueRunConfiguration The configuration of the AWS Glue data source. */ override fun glueRunConfiguration(glueRunConfiguration: IResolvable) { - cdkBuilder.glueRunConfiguration(glueRunConfiguration.let(IResolvable::unwrap)) + cdkBuilder.glueRunConfiguration(glueRunConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param glueRunConfiguration The configuration of the AWS Glue data source. */ override fun glueRunConfiguration(glueRunConfiguration: GlueRunConfigurationInputProperty) { - cdkBuilder.glueRunConfiguration(glueRunConfiguration.let(GlueRunConfigurationInputProperty::unwrap)) + cdkBuilder.glueRunConfiguration(glueRunConfiguration.let(GlueRunConfigurationInputProperty.Companion::unwrap)) } /** @@ -989,7 +989,7 @@ public open class CfnDataSource( * @param redshiftRunConfiguration The configuration of the Amazon Redshift data source. */ override fun redshiftRunConfiguration(redshiftRunConfiguration: IResolvable) { - cdkBuilder.redshiftRunConfiguration(redshiftRunConfiguration.let(IResolvable::unwrap)) + cdkBuilder.redshiftRunConfiguration(redshiftRunConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -997,7 +997,7 @@ public open class CfnDataSource( */ override fun redshiftRunConfiguration(redshiftRunConfiguration: RedshiftRunConfigurationInputProperty) { - cdkBuilder.redshiftRunConfiguration(redshiftRunConfiguration.let(RedshiftRunConfigurationInputProperty::unwrap)) + cdkBuilder.redshiftRunConfiguration(redshiftRunConfiguration.let(RedshiftRunConfigurationInputProperty.Companion::unwrap)) } /** @@ -1435,7 +1435,7 @@ public open class CfnDataSource( * metrics as part of the data source run. */ override fun autoImportDataQualityResult(autoImportDataQualityResult: IResolvable) { - cdkBuilder.autoImportDataQualityResult(autoImportDataQualityResult.let(IResolvable::unwrap)) + cdkBuilder.autoImportDataQualityResult(autoImportDataQualityResult.let(IResolvable.Companion::unwrap)) } /** @@ -1451,7 +1451,7 @@ public open class CfnDataSource( * configuration details of the AWS Glue data source. */ override fun relationalFilterConfigurations(relationalFilterConfigurations: IResolvable) { - cdkBuilder.relationalFilterConfigurations(relationalFilterConfigurations.let(IResolvable::unwrap)) + cdkBuilder.relationalFilterConfigurations(relationalFilterConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1585,7 +1585,7 @@ public open class CfnDataSource( * to be enabled or not as part of the recommendation configuration. */ override fun enableBusinessNameGeneration(enableBusinessNameGeneration: IResolvable) { - cdkBuilder.enableBusinessNameGeneration(enableBusinessNameGeneration.let(IResolvable::unwrap)) + cdkBuilder.enableBusinessNameGeneration(enableBusinessNameGeneration.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1954,7 +1954,7 @@ public open class CfnDataSource( * Amazon Redshift cluster. */ override fun redshiftCredentialConfiguration(redshiftCredentialConfiguration: IResolvable) { - cdkBuilder.redshiftCredentialConfiguration(redshiftCredentialConfiguration.let(IResolvable::unwrap)) + cdkBuilder.redshiftCredentialConfiguration(redshiftCredentialConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1963,7 +1963,7 @@ public open class CfnDataSource( */ override fun redshiftCredentialConfiguration(redshiftCredentialConfiguration: RedshiftCredentialConfigurationProperty) { - cdkBuilder.redshiftCredentialConfiguration(redshiftCredentialConfiguration.let(RedshiftCredentialConfigurationProperty::unwrap)) + cdkBuilder.redshiftCredentialConfiguration(redshiftCredentialConfiguration.let(RedshiftCredentialConfigurationProperty.Companion::unwrap)) } /** @@ -1982,7 +1982,7 @@ public open class CfnDataSource( * configuration of an Amazon Redshift data source run. */ override fun redshiftStorage(redshiftStorage: IResolvable) { - cdkBuilder.redshiftStorage(redshiftStorage.let(IResolvable::unwrap)) + cdkBuilder.redshiftStorage(redshiftStorage.let(IResolvable.Companion::unwrap)) } /** @@ -1990,7 +1990,7 @@ public open class CfnDataSource( * configuration of an Amazon Redshift data source run. */ override fun redshiftStorage(redshiftStorage: RedshiftStorageProperty) { - cdkBuilder.redshiftStorage(redshiftStorage.let(RedshiftStorageProperty::unwrap)) + cdkBuilder.redshiftStorage(redshiftStorage.let(RedshiftStorageProperty.Companion::unwrap)) } /** @@ -2007,7 +2007,7 @@ public open class CfnDataSource( * configuration details of the AWS Glue data source. */ override fun relationalFilterConfigurations(relationalFilterConfigurations: IResolvable) { - cdkBuilder.relationalFilterConfigurations(relationalFilterConfigurations.let(IResolvable::unwrap)) + cdkBuilder.relationalFilterConfigurations(relationalFilterConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -2262,14 +2262,14 @@ public open class CfnDataSource( * @param redshiftClusterSource The details of the Amazon Redshift cluster source. */ override fun redshiftClusterSource(redshiftClusterSource: IResolvable) { - cdkBuilder.redshiftClusterSource(redshiftClusterSource.let(IResolvable::unwrap)) + cdkBuilder.redshiftClusterSource(redshiftClusterSource.let(IResolvable.Companion::unwrap)) } /** * @param redshiftClusterSource The details of the Amazon Redshift cluster source. */ override fun redshiftClusterSource(redshiftClusterSource: RedshiftClusterStorageProperty) { - cdkBuilder.redshiftClusterSource(redshiftClusterSource.let(RedshiftClusterStorageProperty::unwrap)) + cdkBuilder.redshiftClusterSource(redshiftClusterSource.let(RedshiftClusterStorageProperty.Companion::unwrap)) } /** @@ -2286,7 +2286,7 @@ public open class CfnDataSource( * source. */ override fun redshiftServerlessSource(redshiftServerlessSource: IResolvable) { - cdkBuilder.redshiftServerlessSource(redshiftServerlessSource.let(IResolvable::unwrap)) + cdkBuilder.redshiftServerlessSource(redshiftServerlessSource.let(IResolvable.Companion::unwrap)) } /** @@ -2295,7 +2295,7 @@ public open class CfnDataSource( */ override fun redshiftServerlessSource(redshiftServerlessSource: RedshiftServerlessStorageProperty) { - cdkBuilder.redshiftServerlessSource(redshiftServerlessSource.let(RedshiftServerlessStorageProperty::unwrap)) + cdkBuilder.redshiftServerlessSource(redshiftServerlessSource.let(RedshiftServerlessStorageProperty.Companion::unwrap)) } /** @@ -2450,7 +2450,7 @@ public open class CfnDataSource( * configuration for the data source. */ override fun filterExpressions(filterExpressions: IResolvable) { - cdkBuilder.filterExpressions(filterExpressions.let(IResolvable::unwrap)) + cdkBuilder.filterExpressions(filterExpressions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSourceProps.kt index 9724a19fe5..e3eb6cc6ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDataSourceProps.kt @@ -317,7 +317,7 @@ public interface CfnDataSourceProps { * with. */ override fun assetFormsInput(assetFormsInput: IResolvable) { - cdkBuilder.assetFormsInput(assetFormsInput.let(IResolvable::unwrap)) + cdkBuilder.assetFormsInput(assetFormsInput.let(IResolvable.Companion::unwrap)) } /** @@ -339,14 +339,14 @@ public interface CfnDataSourceProps { * @param configuration The configuration of the data source. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration of the data source. */ override fun configuration(configuration: CfnDataSource.DataSourceConfigurationInputProperty) { - cdkBuilder.configuration(configuration.let(CfnDataSource.DataSourceConfigurationInputProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnDataSource.DataSourceConfigurationInputProperty.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnDataSourceProps { * inventory are to be also automatically published to the catalog. */ override fun publishOnImport(publishOnImport: IResolvable) { - cdkBuilder.publishOnImport(publishOnImport.let(IResolvable::unwrap)) + cdkBuilder.publishOnImport(publishOnImport.let(IResolvable.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public interface CfnDataSourceProps { * this data source. */ override fun recommendation(recommendation: IResolvable) { - cdkBuilder.recommendation(recommendation.let(IResolvable::unwrap)) + cdkBuilder.recommendation(recommendation.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface CfnDataSourceProps { * this data source. */ override fun recommendation(recommendation: CfnDataSource.RecommendationConfigurationProperty) { - cdkBuilder.recommendation(recommendation.let(CfnDataSource.RecommendationConfigurationProperty::unwrap)) + cdkBuilder.recommendation(recommendation.let(CfnDataSource.RecommendationConfigurationProperty.Companion::unwrap)) } /** @@ -449,14 +449,14 @@ public interface CfnDataSourceProps { * @param schedule The schedule of the data source runs. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule The schedule of the data source runs. */ override fun schedule(schedule: CfnDataSource.ScheduleConfigurationProperty) { - cdkBuilder.schedule(schedule.let(CfnDataSource.ScheduleConfigurationProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnDataSource.ScheduleConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomain.kt index 5d48eea2d3..df1360669b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomain.kt @@ -58,8 +58,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.datazone.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -178,14 +178,14 @@ public open class CfnDomain( * The single sign-on details in Amazon DataZone. */ public open fun singleSignOn(`value`: IResolvable) { - unwrap(this).setSingleSignOn(`value`.let(IResolvable::unwrap)) + unwrap(this).setSingleSignOn(`value`.let(IResolvable.Companion::unwrap)) } /** * The single sign-on details in Amazon DataZone. */ public open fun singleSignOn(`value`: SingleSignOnProperty) { - unwrap(this).setSingleSignOn(`value`.let(SingleSignOnProperty::unwrap)) + unwrap(this).setSingleSignOn(`value`.let(SingleSignOnProperty.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnDomain( * The tags specified for the Amazon DataZone domain. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnDomain( * @param singleSignOn The single sign-on details in Amazon DataZone. */ override fun singleSignOn(singleSignOn: IResolvable) { - cdkBuilder.singleSignOn(singleSignOn.let(IResolvable::unwrap)) + cdkBuilder.singleSignOn(singleSignOn.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnDomain( * @param singleSignOn The single sign-on details in Amazon DataZone. */ override fun singleSignOn(singleSignOn: SingleSignOnProperty) { - cdkBuilder.singleSignOn(singleSignOn.let(SingleSignOnProperty::unwrap)) + cdkBuilder.singleSignOn(singleSignOn.let(SingleSignOnProperty.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnDomain( * @param tags The tags specified for the Amazon DataZone domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomainProps.kt index 511b366e6f..ace0389cce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnDomainProps.kt @@ -184,14 +184,14 @@ public interface CfnDomainProps { * @param singleSignOn The single sign-on details in Amazon DataZone. */ override fun singleSignOn(singleSignOn: IResolvable) { - cdkBuilder.singleSignOn(singleSignOn.let(IResolvable::unwrap)) + cdkBuilder.singleSignOn(singleSignOn.let(IResolvable.Companion::unwrap)) } /** * @param singleSignOn The single sign-on details in Amazon DataZone. */ override fun singleSignOn(singleSignOn: CfnDomain.SingleSignOnProperty) { - cdkBuilder.singleSignOn(singleSignOn.let(CfnDomain.SingleSignOnProperty::unwrap)) + cdkBuilder.singleSignOn(singleSignOn.let(CfnDomain.SingleSignOnProperty.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public interface CfnDomainProps { * @param tags The tags specified for the Amazon DataZone domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironment.kt index 10f70fa80f..65adf9304c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironment.kt @@ -52,8 +52,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.datazone.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -186,7 +186,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnEnvironment( * The user parameters of this Amazon DataZone environment. */ public open fun userParameters(`value`: IResolvable) { - unwrap(this).setUserParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public open class CfnEnvironment( * @param userParameters The user parameters of this Amazon DataZone environment. */ override fun userParameters(userParameters: IResolvable) { - cdkBuilder.userParameters(userParameters.let(IResolvable::unwrap)) + cdkBuilder.userParameters(userParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfiguration.kt index 7d08d6ff5c..cb3f674b5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfiguration.kt @@ -52,8 +52,8 @@ public open class CfnEnvironmentBlueprintConfiguration( id: String, props: CfnEnvironmentBlueprintConfigurationProps, ) : - this(software.amazon.awscdk.services.datazone.CfnEnvironmentBlueprintConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentBlueprintConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnEnvironmentBlueprintConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentBlueprintConfigurationProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnEnvironmentBlueprintConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnEnvironmentBlueprintConfiguration( * The regional parameters of the environment blueprint. */ public open fun regionalParameters(`value`: IResolvable) { - unwrap(this).setRegionalParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegionalParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnEnvironmentBlueprintConfiguration( * @param regionalParameters The regional parameters of the environment blueprint. */ override fun regionalParameters(regionalParameters: IResolvable) { - cdkBuilder.regionalParameters(regionalParameters.let(IResolvable::unwrap)) + cdkBuilder.regionalParameters(regionalParameters.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnEnvironmentBlueprintConfiguration( * @param parameters A string to string map containing parameters for the region. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfigurationProps.kt index 5e34d69db8..f35feb0fea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentBlueprintConfigurationProps.kt @@ -191,7 +191,7 @@ public interface CfnEnvironmentBlueprintConfigurationProps { * @param regionalParameters The regional parameters of the environment blueprint. */ override fun regionalParameters(regionalParameters: IResolvable) { - cdkBuilder.regionalParameters(regionalParameters.let(IResolvable::unwrap)) + cdkBuilder.regionalParameters(regionalParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfile.kt index 4caeaadc82..29fc7f0f4b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfile.kt @@ -52,8 +52,8 @@ public open class CfnEnvironmentProfile( id: String, props: CfnEnvironmentProfileProps, ) : - this(software.amazon.awscdk.services.datazone.CfnEnvironmentProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProfileProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnEnvironmentProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProfileProps.Companion::unwrap)) ) public constructor( @@ -166,7 +166,7 @@ public open class CfnEnvironmentProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnEnvironmentProfile( * The user parameters of this Amazon DataZone environment profile. */ public open fun userParameters(`value`: IResolvable) { - unwrap(this).setUserParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnEnvironmentProfile( * @param userParameters The user parameters of this Amazon DataZone environment profile. */ override fun userParameters(userParameters: IResolvable) { - cdkBuilder.userParameters(userParameters.let(IResolvable::unwrap)) + cdkBuilder.userParameters(userParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfileProps.kt index 416a1200d0..3eca6abd8c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProfileProps.kt @@ -213,7 +213,7 @@ public interface CfnEnvironmentProfileProps { * @param userParameters The user parameters of this Amazon DataZone environment profile. */ override fun userParameters(userParameters: IResolvable) { - cdkBuilder.userParameters(userParameters.let(IResolvable::unwrap)) + cdkBuilder.userParameters(userParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProps.kt index fa5b210652..c0d3aa1037 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnEnvironmentProps.kt @@ -206,7 +206,7 @@ public interface CfnEnvironmentProps { * @param userParameters The user parameters of this Amazon DataZone environment. */ override fun userParameters(userParameters: IResolvable) { - cdkBuilder.userParameters(userParameters.let(IResolvable::unwrap)) + cdkBuilder.userParameters(userParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnProject.kt index 3b13f112ec..115b8d862e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnProject.kt @@ -45,8 +45,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.datazone.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTarget.kt index ec4543f414..ec6664e25b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTarget.kt @@ -60,8 +60,8 @@ public open class CfnSubscriptionTarget( id: String, props: CfnSubscriptionTargetProps, ) : - this(software.amazon.awscdk.services.datazone.CfnSubscriptionTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubscriptionTargetProps::unwrap)) + this(software.amazon.awscdk.services.datazone.CfnSubscriptionTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubscriptionTargetProps.Companion::unwrap)) ) public constructor( @@ -177,7 +177,7 @@ public open class CfnSubscriptionTarget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnSubscriptionTarget( * The configuration of the subscription target. */ public open fun subscriptionTargetConfig(`value`: IResolvable) { - unwrap(this).setSubscriptionTargetConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubscriptionTargetConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class CfnSubscriptionTarget( * @param subscriptionTargetConfig The configuration of the subscription target. */ override fun subscriptionTargetConfig(subscriptionTargetConfig: IResolvable) { - cdkBuilder.subscriptionTargetConfig(subscriptionTargetConfig.let(IResolvable::unwrap)) + cdkBuilder.subscriptionTargetConfig(subscriptionTargetConfig.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTargetProps.kt index d64d6c0775..67aff35020 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/datazone/CfnSubscriptionTargetProps.kt @@ -250,7 +250,7 @@ public interface CfnSubscriptionTargetProps { * @param subscriptionTargetConfig The configuration of the subscription target. */ override fun subscriptionTargetConfig(subscriptionTargetConfig: IResolvable) { - cdkBuilder.subscriptionTargetConfig(subscriptionTargetConfig.let(IResolvable::unwrap)) + cdkBuilder.subscriptionTargetConfig(subscriptionTargetConfig.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnCluster.kt index 2ab3fb839c..7649da5bd2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnCluster.kt @@ -64,8 +64,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.dax.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.dax.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -190,7 +190,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -282,14 +282,14 @@ public open class CfnCluster( * Represents the settings used to enable server-side encryption on the cluster. */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Represents the settings used to enable server-side encryption on the cluster. */ public open fun sseSpecification(`value`: SSESpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public open class CfnCluster( * cluster. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -749,7 +749,7 @@ public open class CfnCluster( * cluster. */ override fun sseSpecification(sseSpecification: SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public open class CfnCluster( * (false) on the cluster. */ override fun sseEnabled(sseEnabled: IResolvable) { - cdkBuilder.sseEnabled(sseEnabled.let(IResolvable::unwrap)) + cdkBuilder.sseEnabled(sseEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dax.CfnCluster.SSESpecificationProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnClusterProps.kt index 05f9b5f142..1fa2a23f92 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnClusterProps.kt @@ -468,7 +468,7 @@ public interface CfnClusterProps { * cluster. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnClusterProps { * cluster. */ override fun sseSpecification(sseSpecification: CfnCluster.SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnCluster.SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnCluster.SSESpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnParameterGroup.kt index 1f2d102bf5..a4fad445ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnParameterGroup.kt @@ -36,7 +36,7 @@ public open class CfnParameterGroup( cdkObject: software.amazon.awscdk.services.dax.CfnParameterGroup, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.dax.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.dax.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class CfnParameterGroup( id: String, props: CfnParameterGroupProps, ) : - this(software.amazon.awscdk.services.dax.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.dax.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnSubnetGroup.kt index aab52e78d5..697c252881 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dax/CfnSubnetGroup.kt @@ -39,8 +39,8 @@ public open class CfnSubnetGroup( id: String, props: CfnSubnetGroupProps, ) : - this(software.amazon.awscdk.services.dax.CfnSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.dax.CfnSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFarm.kt index 9de25f5398..d6e02596bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFarm.kt @@ -42,8 +42,8 @@ public open class CfnFarm( id: String, props: CfnFarmProps, ) : - this(software.amazon.awscdk.services.deadline.CfnFarm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFarmProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnFarm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFarmProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnFarm( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleet.kt index 317d074e0c..4b95453e75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleet.kt @@ -131,8 +131,8 @@ public open class CfnFleet( id: String, props: CfnFleetProps, ) : - this(software.amazon.awscdk.services.deadline.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetProps.Companion::unwrap)) ) public constructor( @@ -177,14 +177,14 @@ public open class CfnFleet( * The configuration details for the fleet. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration details for the fleet. */ public open fun configuration(`value`: FleetConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(FleetConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(FleetConfigurationProperty.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public open class CfnFleet( * @param configuration The configuration details for the fleet. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class CfnFleet( * @param configuration The configuration details for the fleet. */ override fun configuration(configuration: FleetConfigurationProperty) { - cdkBuilder.configuration(configuration.let(FleetConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(FleetConfigurationProperty.Companion::unwrap)) } /** @@ -846,7 +846,7 @@ public open class CfnFleet( * configuration. */ override fun workerCapabilities(workerCapabilities: IResolvable) { - cdkBuilder.workerCapabilities(workerCapabilities.let(IResolvable::unwrap)) + cdkBuilder.workerCapabilities(workerCapabilities.let(IResolvable.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class CfnFleet( */ override fun workerCapabilities(workerCapabilities: CustomerManagedWorkerCapabilitiesProperty) { - cdkBuilder.workerCapabilities(workerCapabilities.let(CustomerManagedWorkerCapabilitiesProperty::unwrap)) + cdkBuilder.workerCapabilities(workerCapabilities.let(CustomerManagedWorkerCapabilitiesProperty.Companion::unwrap)) } /** @@ -1172,14 +1172,14 @@ public open class CfnFleet( * @param acceleratorCount The range of the accelerator. */ override fun acceleratorCount(acceleratorCount: IResolvable) { - cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable.Companion::unwrap)) } /** * @param acceleratorCount The range of the accelerator. */ override fun acceleratorCount(acceleratorCount: AcceleratorCountRangeProperty) { - cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRangeProperty::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRangeProperty.Companion::unwrap)) } /** @@ -1196,7 +1196,7 @@ public open class CfnFleet( * capabilities. */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: IResolvable) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable.Companion::unwrap)) } /** @@ -1205,7 +1205,7 @@ public open class CfnFleet( */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: AcceleratorTotalMemoryMiBRangeProperty) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRangeProperty::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRangeProperty.Companion::unwrap)) } /** @@ -1244,7 +1244,7 @@ public open class CfnFleet( * @param customAmounts Custom requirement ranges for customer managed worker capabilities. */ override fun customAmounts(customAmounts: IResolvable) { - cdkBuilder.customAmounts(customAmounts.let(IResolvable::unwrap)) + cdkBuilder.customAmounts(customAmounts.let(IResolvable.Companion::unwrap)) } /** @@ -1264,7 +1264,7 @@ public open class CfnFleet( * @param customAttributes Custom attributes for the customer manged worker capabilities. */ override fun customAttributes(customAttributes: IResolvable) { - cdkBuilder.customAttributes(customAttributes.let(IResolvable::unwrap)) + cdkBuilder.customAttributes(customAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -1284,14 +1284,14 @@ public open class CfnFleet( * @param memoryMiB The memory (MiB). */ override fun memoryMiB(memoryMiB: IResolvable) { - cdkBuilder.memoryMiB(memoryMiB.let(IResolvable::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(IResolvable.Companion::unwrap)) } /** * @param memoryMiB The memory (MiB). */ override fun memoryMiB(memoryMiB: MemoryMiBRangeProperty) { - cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRangeProperty::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRangeProperty.Companion::unwrap)) } /** @@ -1313,14 +1313,14 @@ public open class CfnFleet( * @param vCpuCount The vCPU count for the customer manged worker capabilities. */ override fun vCpuCount(vCpuCount: IResolvable) { - cdkBuilder.vCpuCount(vCpuCount.let(IResolvable::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(IResolvable.Companion::unwrap)) } /** * @param vCpuCount The vCPU count for the customer manged worker capabilities. */ override fun vCpuCount(vCpuCount: VCpuCountRangeProperty) { - cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeProperty::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeProperty.Companion::unwrap)) } /** @@ -1911,7 +1911,7 @@ public open class CfnFleet( * @param amounts Amount capabilities of the fleet. */ override fun amounts(amounts: IResolvable) { - cdkBuilder.amounts(amounts.let(IResolvable::unwrap)) + cdkBuilder.amounts(amounts.let(IResolvable.Companion::unwrap)) } /** @@ -1930,7 +1930,7 @@ public open class CfnFleet( * @param attributes Attribute capabilities of the fleet. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -2148,14 +2148,14 @@ public open class CfnFleet( * @param customerManaged The customer managed fleets within a fleet configuration. */ override fun customerManaged(customerManaged: IResolvable) { - cdkBuilder.customerManaged(customerManaged.let(IResolvable::unwrap)) + cdkBuilder.customerManaged(customerManaged.let(IResolvable.Companion::unwrap)) } /** * @param customerManaged The customer managed fleets within a fleet configuration. */ override fun customerManaged(customerManaged: CustomerManagedFleetConfigurationProperty) { - cdkBuilder.customerManaged(customerManaged.let(CustomerManagedFleetConfigurationProperty::unwrap)) + cdkBuilder.customerManaged(customerManaged.let(CustomerManagedFleetConfigurationProperty.Companion::unwrap)) } /** @@ -2172,7 +2172,7 @@ public open class CfnFleet( * configuration. */ override fun serviceManagedEc2(serviceManagedEc2: IResolvable) { - cdkBuilder.serviceManagedEc2(serviceManagedEc2.let(IResolvable::unwrap)) + cdkBuilder.serviceManagedEc2(serviceManagedEc2.let(IResolvable.Companion::unwrap)) } /** @@ -2181,7 +2181,7 @@ public open class CfnFleet( */ override fun serviceManagedEc2(serviceManagedEc2: ServiceManagedEc2FleetConfigurationProperty) { - cdkBuilder.serviceManagedEc2(serviceManagedEc2.let(ServiceManagedEc2FleetConfigurationProperty::unwrap)) + cdkBuilder.serviceManagedEc2(serviceManagedEc2.let(ServiceManagedEc2FleetConfigurationProperty.Companion::unwrap)) } /** @@ -2463,7 +2463,7 @@ public open class CfnFleet( * @param instanceCapabilities The Amazon EC2 instance capabilities. */ override fun instanceCapabilities(instanceCapabilities: IResolvable) { - cdkBuilder.instanceCapabilities(instanceCapabilities.let(IResolvable::unwrap)) + cdkBuilder.instanceCapabilities(instanceCapabilities.let(IResolvable.Companion::unwrap)) } /** @@ -2471,7 +2471,7 @@ public open class CfnFleet( */ override fun instanceCapabilities(instanceCapabilities: ServiceManagedEc2InstanceCapabilitiesProperty) { - cdkBuilder.instanceCapabilities(instanceCapabilities.let(ServiceManagedEc2InstanceCapabilitiesProperty::unwrap)) + cdkBuilder.instanceCapabilities(instanceCapabilities.let(ServiceManagedEc2InstanceCapabilitiesProperty.Companion::unwrap)) } /** @@ -2488,7 +2488,7 @@ public open class CfnFleet( * @param instanceMarketOptions The Amazon EC2 market type. */ override fun instanceMarketOptions(instanceMarketOptions: IResolvable) { - cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(IResolvable::unwrap)) + cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2496,7 +2496,7 @@ public open class CfnFleet( */ override fun instanceMarketOptions(instanceMarketOptions: ServiceManagedEc2InstanceMarketOptionsProperty) { - cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(ServiceManagedEc2InstanceMarketOptionsProperty::unwrap)) + cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(ServiceManagedEc2InstanceMarketOptionsProperty.Companion::unwrap)) } /** @@ -2813,7 +2813,7 @@ public open class CfnFleet( * @param customAmounts The custom capability amounts to require for instances in this fleet. */ override fun customAmounts(customAmounts: IResolvable) { - cdkBuilder.customAmounts(customAmounts.let(IResolvable::unwrap)) + cdkBuilder.customAmounts(customAmounts.let(IResolvable.Companion::unwrap)) } /** @@ -2834,7 +2834,7 @@ public open class CfnFleet( * fleet. */ override fun customAttributes(customAttributes: IResolvable) { - cdkBuilder.customAttributes(customAttributes.let(IResolvable::unwrap)) + cdkBuilder.customAttributes(customAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -2869,14 +2869,14 @@ public open class CfnFleet( * @param memoryMiB The memory, as MiB, for the Amazon EC2 instance type. */ override fun memoryMiB(memoryMiB: IResolvable) { - cdkBuilder.memoryMiB(memoryMiB.let(IResolvable::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(IResolvable.Companion::unwrap)) } /** * @param memoryMiB The memory, as MiB, for the Amazon EC2 instance type. */ override fun memoryMiB(memoryMiB: MemoryMiBRangeProperty) { - cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRangeProperty::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRangeProperty.Companion::unwrap)) } /** @@ -2898,14 +2898,14 @@ public open class CfnFleet( * @param rootEbsVolume The root EBS volume. */ override fun rootEbsVolume(rootEbsVolume: IResolvable) { - cdkBuilder.rootEbsVolume(rootEbsVolume.let(IResolvable::unwrap)) + cdkBuilder.rootEbsVolume(rootEbsVolume.let(IResolvable.Companion::unwrap)) } /** * @param rootEbsVolume The root EBS volume. */ override fun rootEbsVolume(rootEbsVolume: Ec2EbsVolumeProperty) { - cdkBuilder.rootEbsVolume(rootEbsVolume.let(Ec2EbsVolumeProperty::unwrap)) + cdkBuilder.rootEbsVolume(rootEbsVolume.let(Ec2EbsVolumeProperty.Companion::unwrap)) } /** @@ -2920,14 +2920,14 @@ public open class CfnFleet( * @param vCpuCount The amount of vCPU to require for instances in this fleet. */ override fun vCpuCount(vCpuCount: IResolvable) { - cdkBuilder.vCpuCount(vCpuCount.let(IResolvable::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(IResolvable.Companion::unwrap)) } /** * @param vCpuCount The amount of vCPU to require for instances in this fleet. */ override fun vCpuCount(vCpuCount: VCpuCountRangeProperty) { - cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeProperty::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleetProps.kt index bd619d66df..6ec77d99d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnFleetProps.kt @@ -229,14 +229,14 @@ public interface CfnFleetProps { * @param configuration The configuration details for the fleet. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration details for the fleet. */ override fun configuration(configuration: CfnFleet.FleetConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnFleet.FleetConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnFleet.FleetConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnLicenseEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnLicenseEndpoint.kt index f2b7a9a868..25797bf2d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnLicenseEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnLicenseEndpoint.kt @@ -40,8 +40,8 @@ public open class CfnLicenseEndpoint( id: String, props: CfnLicenseEndpointProps, ) : - this(software.amazon.awscdk.services.deadline.CfnLicenseEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLicenseEndpointProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnLicenseEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLicenseEndpointProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnLicenseEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnMeteredProduct.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnMeteredProduct.kt index 188d22bcec..d106bdcb26 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnMeteredProduct.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnMeteredProduct.kt @@ -37,7 +37,7 @@ public open class CfnMeteredProduct( cdkObject: software.amazon.awscdk.services.deadline.CfnMeteredProduct, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.deadline.CfnMeteredProduct(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.deadline.CfnMeteredProduct(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class CfnMeteredProduct( id: String, props: CfnMeteredProductProps, ) : - this(software.amazon.awscdk.services.deadline.CfnMeteredProduct(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMeteredProductProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnMeteredProduct(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMeteredProductProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnMeteredProduct( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueue.kt index 09af43f793..b0259eda2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueue.kt @@ -66,8 +66,8 @@ public open class CfnQueue( id: String, props: CfnQueueProps, ) : - this(software.amazon.awscdk.services.deadline.CfnQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueProps.Companion::unwrap)) ) public constructor( @@ -163,7 +163,7 @@ public open class CfnQueue( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -175,14 +175,14 @@ public open class CfnQueue( * The job attachment settings. */ public open fun jobAttachmentSettings(`value`: IResolvable) { - unwrap(this).setJobAttachmentSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobAttachmentSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The job attachment settings. */ public open fun jobAttachmentSettings(`value`: JobAttachmentSettingsProperty) { - unwrap(this).setJobAttachmentSettings(`value`.let(JobAttachmentSettingsProperty::unwrap)) + unwrap(this).setJobAttachmentSettings(`value`.let(JobAttachmentSettingsProperty.Companion::unwrap)) } /** @@ -202,14 +202,14 @@ public open class CfnQueue( * Identifies the user for a job. */ public open fun jobRunAsUser(`value`: IResolvable) { - unwrap(this).setJobRunAsUser(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobRunAsUser(`value`.let(IResolvable.Companion::unwrap)) } /** * Identifies the user for a job. */ public open fun jobRunAsUser(`value`: JobRunAsUserProperty) { - unwrap(this).setJobRunAsUser(`value`.let(JobRunAsUserProperty::unwrap)) + unwrap(this).setJobRunAsUser(`value`.let(JobRunAsUserProperty.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnQueue( * @param jobAttachmentSettings The job attachment settings. */ override fun jobAttachmentSettings(jobAttachmentSettings: IResolvable) { - cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(IResolvable::unwrap)) + cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(IResolvable.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnQueue( * @param jobAttachmentSettings The job attachment settings. */ override fun jobAttachmentSettings(jobAttachmentSettings: JobAttachmentSettingsProperty) { - cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(JobAttachmentSettingsProperty::unwrap)) + cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(JobAttachmentSettingsProperty.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnQueue( * @param jobRunAsUser Identifies the user for a job. */ override fun jobRunAsUser(jobRunAsUser: IResolvable) { - cdkBuilder.jobRunAsUser(jobRunAsUser.let(IResolvable::unwrap)) + cdkBuilder.jobRunAsUser(jobRunAsUser.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnQueue( * @param jobRunAsUser Identifies the user for a job. */ override fun jobRunAsUser(jobRunAsUser: JobRunAsUserProperty) { - cdkBuilder.jobRunAsUser(jobRunAsUser.let(JobRunAsUserProperty::unwrap)) + cdkBuilder.jobRunAsUser(jobRunAsUser.let(JobRunAsUserProperty.Companion::unwrap)) } /** @@ -815,14 +815,14 @@ public open class CfnQueue( * @param posix The user and group that the jobs in the queue run as. */ override fun posix(posix: IResolvable) { - cdkBuilder.posix(posix.let(IResolvable::unwrap)) + cdkBuilder.posix(posix.let(IResolvable.Companion::unwrap)) } /** * @param posix The user and group that the jobs in the queue run as. */ override fun posix(posix: PosixUserProperty) { - cdkBuilder.posix(posix.let(PosixUserProperty::unwrap)) + cdkBuilder.posix(posix.let(PosixUserProperty.Companion::unwrap)) } /** @@ -845,14 +845,14 @@ public open class CfnQueue( * @param windows Identifies a Microsoft Windows user. */ override fun windows(windows: IResolvable) { - cdkBuilder.windows(windows.let(IResolvable::unwrap)) + cdkBuilder.windows(windows.let(IResolvable.Companion::unwrap)) } /** * @param windows Identifies a Microsoft Windows user. */ override fun windows(windows: WindowsUserProperty) { - cdkBuilder.windows(windows.let(WindowsUserProperty::unwrap)) + cdkBuilder.windows(windows.let(WindowsUserProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueEnvironment.kt index 09248c04ac..426c310088 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueEnvironment.kt @@ -41,8 +41,8 @@ public open class CfnQueueEnvironment( id: String, props: CfnQueueEnvironmentProps, ) : - this(software.amazon.awscdk.services.deadline.CfnQueueEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnQueueEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnQueueEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueFleetAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueFleetAssociation.kt index 3900a31948..e43ea58ef5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueFleetAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueFleetAssociation.kt @@ -38,8 +38,8 @@ public open class CfnQueueFleetAssociation( id: String, props: CfnQueueFleetAssociationProps, ) : - this(software.amazon.awscdk.services.deadline.CfnQueueFleetAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueFleetAssociationProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnQueueFleetAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueFleetAssociationProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnQueueFleetAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueProps.kt index 3b09565f6b..17bd7d5105 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnQueueProps.kt @@ -271,7 +271,7 @@ public interface CfnQueueProps { * These are the Amazon S3 bucket name and the Amazon S3 prefix. */ override fun jobAttachmentSettings(jobAttachmentSettings: IResolvable) { - cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(IResolvable::unwrap)) + cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public interface CfnQueueProps { */ override fun jobAttachmentSettings(jobAttachmentSettings: CfnQueue.JobAttachmentSettingsProperty) { - cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(CfnQueue.JobAttachmentSettingsProperty::unwrap)) + cdkBuilder.jobAttachmentSettings(jobAttachmentSettings.let(CfnQueue.JobAttachmentSettingsProperty.Companion::unwrap)) } /** @@ -297,14 +297,14 @@ public interface CfnQueueProps { * @param jobRunAsUser Identifies the user for a job. */ override fun jobRunAsUser(jobRunAsUser: IResolvable) { - cdkBuilder.jobRunAsUser(jobRunAsUser.let(IResolvable::unwrap)) + cdkBuilder.jobRunAsUser(jobRunAsUser.let(IResolvable.Companion::unwrap)) } /** * @param jobRunAsUser Identifies the user for a job. */ override fun jobRunAsUser(jobRunAsUser: CfnQueue.JobRunAsUserProperty) { - cdkBuilder.jobRunAsUser(jobRunAsUser.let(CfnQueue.JobRunAsUserProperty::unwrap)) + cdkBuilder.jobRunAsUser(jobRunAsUser.let(CfnQueue.JobRunAsUserProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfile.kt index bea8415a44..e9bab03910 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfile.kt @@ -50,8 +50,8 @@ public open class CfnStorageProfile( id: String, props: CfnStorageProfileProps, ) : - this(software.amazon.awscdk.services.deadline.CfnStorageProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStorageProfileProps::unwrap)) + this(software.amazon.awscdk.services.deadline.CfnStorageProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStorageProfileProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnStorageProfile( * Operating system specific file system path to the storage location. */ public open fun fileSystemLocations(`value`: IResolvable) { - unwrap(this).setFileSystemLocations(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileSystemLocations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnStorageProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnStorageProfile( * location. */ override fun fileSystemLocations(fileSystemLocations: IResolvable) { - cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfileProps.kt index fee0e97f02..99f29db406 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/deadline/CfnStorageProfileProps.kt @@ -126,7 +126,7 @@ public interface CfnStorageProfileProps { * location. */ override fun fileSystemLocations(fileSystemLocations: IResolvable) { - cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable::unwrap)) + cdkBuilder.fileSystemLocations(fileSystemLocations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraph.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraph.kt index 4d1b6492c0..3b901598af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraph.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraph.kt @@ -45,7 +45,7 @@ public open class CfnGraph( cdkObject: software.amazon.awscdk.services.detective.CfnGraph, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.detective.CfnGraph(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.detective.CfnGraph(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class CfnGraph( id: String, props: CfnGraphProps, ) : - this(software.amazon.awscdk.services.detective.CfnGraph(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGraphProps::unwrap)) + this(software.amazon.awscdk.services.detective.CfnGraph(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGraphProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnGraph( * organization behavior graph. */ public open fun autoEnableMembers(`value`: IResolvable) { - unwrap(this).setAutoEnableMembers(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoEnableMembers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -98,7 +98,7 @@ public open class CfnGraph( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnGraph( * The tag values to assign to the new behavior graph. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnGraph( * as member accounts in the organization behavior graph. */ override fun autoEnableMembers(autoEnableMembers: IResolvable) { - cdkBuilder.autoEnableMembers(autoEnableMembers.let(IResolvable::unwrap)) + cdkBuilder.autoEnableMembers(autoEnableMembers.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnGraph( * @param tags The tag values to assign to the new behavior graph. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraphProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraphProps.kt index 83dcc95f1c..00c9a9d87f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraphProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnGraphProps.kt @@ -116,14 +116,14 @@ public interface CfnGraphProps { * [AWS::Detective::OrganizationAdmin](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-organizationadmin.html) */ override fun autoEnableMembers(autoEnableMembers: IResolvable) { - cdkBuilder.autoEnableMembers(autoEnableMembers.let(IResolvable::unwrap)) + cdkBuilder.autoEnableMembers(autoEnableMembers.let(IResolvable.Companion::unwrap)) } /** * @param tags The tag values to assign to the new behavior graph. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitation.kt index a0e75a5d20..371eb1117d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitation.kt @@ -48,8 +48,8 @@ public open class CfnMemberInvitation( id: String, props: CfnMemberInvitationProps, ) : - this(software.amazon.awscdk.services.detective.CfnMemberInvitation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMemberInvitationProps::unwrap)) + this(software.amazon.awscdk.services.detective.CfnMemberInvitation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMemberInvitationProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnMemberInvitation( * Whether to send an invitation email to the member account. */ public open fun disableEmailNotification(`value`: IResolvable) { - unwrap(this).setDisableEmailNotification(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableEmailNotification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class CfnMemberInvitation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnMemberInvitation( * @param disableEmailNotification Whether to send an invitation email to the member account. */ override fun disableEmailNotification(disableEmailNotification: IResolvable) { - cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable::unwrap)) + cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitationProps.kt index 7b5f79417b..a6fe6a3fb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnMemberInvitationProps.kt @@ -133,7 +133,7 @@ public interface CfnMemberInvitationProps { * If set to true, the member account does not receive an invitation email. */ override fun disableEmailNotification(disableEmailNotification: IResolvable) { - cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable::unwrap)) + cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnOrganizationAdmin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnOrganizationAdmin.kt index 600349c13d..71a10ff181 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnOrganizationAdmin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/detective/CfnOrganizationAdmin.kt @@ -40,8 +40,8 @@ public open class CfnOrganizationAdmin( id: String, props: CfnOrganizationAdminProps, ) : - this(software.amazon.awscdk.services.detective.CfnOrganizationAdmin(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOrganizationAdminProps::unwrap)) + this(software.amazon.awscdk.services.detective.CfnOrganizationAdmin(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOrganizationAdminProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnOrganizationAdmin( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePool.kt index 8a50b70a19..c7f1aaf37c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePool.kt @@ -57,8 +57,8 @@ public open class CfnDevicePool( id: String, props: CfnDevicePoolProps, ) : - this(software.amazon.awscdk.services.devicefarm.CfnDevicePool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDevicePoolProps::unwrap)) + this(software.amazon.awscdk.services.devicefarm.CfnDevicePool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDevicePoolProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnDevicePool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnDevicePool( * The device pool's rules. */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnDevicePool( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public open class CfnDevicePool( * @param rules The device pool's rules. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class CfnDevicePool( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePoolProps.kt index fc94fd38d5..298b1cb8fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnDevicePoolProps.kt @@ -201,7 +201,7 @@ public interface CfnDevicePoolProps { * @param rules The device pool's rules. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface CfnDevicePoolProps { * in the *guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfile.kt index a65ad30edb..9752b2aeed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfile.kt @@ -52,8 +52,8 @@ public open class CfnInstanceProfile( id: String, props: CfnInstanceProfileProps, ) : - this(software.amazon.awscdk.services.devicefarm.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProfileProps::unwrap)) + this(software.amazon.awscdk.services.devicefarm.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProfileProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnInstanceProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnInstanceProfile( * When set to `true` , Device Farm removes app packages after a test run. */ public open fun packageCleanup(`value`: IResolvable) { - unwrap(this).setPackageCleanup(`value`.let(IResolvable::unwrap)) + unwrap(this).setPackageCleanup(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnInstanceProfile( * When set to `true` , Device Farm reboots the instance after a test run. */ public open fun rebootAfterUse(`value`: IResolvable) { - unwrap(this).setRebootAfterUse(`value`.let(IResolvable::unwrap)) + unwrap(this).setRebootAfterUse(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnInstanceProfile( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnInstanceProfile( * */ override fun packageCleanup(packageCleanup: IResolvable) { - cdkBuilder.packageCleanup(packageCleanup.let(IResolvable::unwrap)) + cdkBuilder.packageCleanup(packageCleanup.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnInstanceProfile( * */ override fun rebootAfterUse(rebootAfterUse: IResolvable) { - cdkBuilder.rebootAfterUse(rebootAfterUse.let(IResolvable::unwrap)) + cdkBuilder.rebootAfterUse(rebootAfterUse.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnInstanceProfile( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfileProps.kt index 7750532de9..5eb0761b8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnInstanceProfileProps.kt @@ -212,7 +212,7 @@ public interface CfnInstanceProfileProps { * The default value is `false` for private devices. */ override fun packageCleanup(packageCleanup: IResolvable) { - cdkBuilder.packageCleanup(packageCleanup.let(IResolvable::unwrap)) + cdkBuilder.packageCleanup(packageCleanup.let(IResolvable.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface CfnInstanceProfileProps { * The default value is `true` . */ override fun rebootAfterUse(rebootAfterUse: IResolvable) { - cdkBuilder.rebootAfterUse(rebootAfterUse.let(IResolvable::unwrap)) + cdkBuilder.rebootAfterUse(rebootAfterUse.let(IResolvable.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public interface CfnInstanceProfileProps { * in the *guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfile.kt index 06ac56074b..bd02ebfcd5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfile.kt @@ -56,8 +56,8 @@ public open class CfnNetworkProfile( id: String, props: CfnNetworkProfileProps, ) : - this(software.amazon.awscdk.services.devicefarm.CfnNetworkProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkProfileProps::unwrap)) + this(software.amazon.awscdk.services.devicefarm.CfnNetworkProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkProfileProps.Companion::unwrap)) ) public constructor( @@ -142,7 +142,7 @@ public open class CfnNetworkProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnNetworkProfile( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class CfnNetworkProfile( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfileProps.kt index 0c6b541ea4..9198b47ac7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnNetworkProfileProps.kt @@ -281,7 +281,7 @@ public interface CfnNetworkProfileProps { * in the *guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProject.kt index 904d1a06c7..cfd1718cfe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProject.kt @@ -56,8 +56,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.devicefarm.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.devicefarm.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public open class CfnProject( * The tags to add to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -141,14 +141,14 @@ public open class CfnProject( * The VPC security groups and subnets that are attached to a project. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC security groups and subnets that are attached to a project. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnProject( * @param tags The tags to add to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnProject( * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CfnProject( * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProjectProps.kt index 1e8614cae1..d03725c359 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnProjectProps.kt @@ -151,7 +151,7 @@ public interface CfnProjectProps { * characters. Tag values can have a maximum length of 256 characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -165,14 +165,14 @@ public interface CfnProjectProps { * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: CfnProject.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnProject.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnProject.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProject.kt index 47f3145d5e..1b165db8de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProject.kt @@ -58,8 +58,8 @@ public open class CfnTestGridProject( id: String, props: CfnTestGridProjectProps, ) : - this(software.amazon.awscdk.services.devicefarm.CfnTestGridProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTestGridProjectProps::unwrap)) + this(software.amazon.awscdk.services.devicefarm.CfnTestGridProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTestGridProjectProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnTestGridProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnTestGridProject( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -143,14 +143,14 @@ public open class CfnTestGridProject( * The VPC security groups and subnets that are attached to a project. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC security groups and subnets that are attached to a project. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnTestGridProject( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnTestGridProject( * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CfnTestGridProject( * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProjectProps.kt index ce755bc06e..7dd9642e90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnTestGridProjectProps.kt @@ -148,7 +148,7 @@ public interface CfnTestGridProjectProps { * in the *guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -163,14 +163,14 @@ public interface CfnTestGridProjectProps { * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfig The VPC security groups and subnets that are attached to a project. */ override fun vpcConfig(vpcConfig: CfnTestGridProject.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnTestGridProject.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnTestGridProject.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfiguration.kt index af6c30c7ca..bf5aed7863 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfiguration.kt @@ -49,8 +49,8 @@ public open class CfnVPCEConfiguration( id: String, props: CfnVPCEConfigurationProps, ) : - this(software.amazon.awscdk.services.devicefarm.CfnVPCEConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCEConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.devicefarm.CfnVPCEConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCEConfigurationProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnVPCEConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class CfnVPCEConfiguration( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnVPCEConfiguration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfigurationProps.kt index 8581f53828..21843fd501 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devicefarm/CfnVPCEConfigurationProps.kt @@ -145,7 +145,7 @@ public interface CfnVPCEConfigurationProps { * in the *guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnLogAnomalyDetectionIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnLogAnomalyDetectionIntegration.kt index 262f35ad8a..0194d0f8d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnLogAnomalyDetectionIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnLogAnomalyDetectionIntegration.kt @@ -32,7 +32,7 @@ public open class CfnLogAnomalyDetectionIntegration( cdkObject: software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegration, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -41,8 +41,8 @@ public open class CfnLogAnomalyDetectionIntegration( id: String, props: CfnLogAnomalyDetectionIntegrationProps, ) : - this(software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLogAnomalyDetectionIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.devopsguru.CfnLogAnomalyDetectionIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLogAnomalyDetectionIntegrationProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CfnLogAnomalyDetectionIntegration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannel.kt index 3a7e4f1aa8..8c6e928b93 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannel.kt @@ -64,8 +64,8 @@ public open class CfnNotificationChannel( id: String, props: CfnNotificationChannelProps, ) : - this(software.amazon.awscdk.services.devopsguru.CfnNotificationChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNotificationChannelProps::unwrap)) + this(software.amazon.awscdk.services.devopsguru.CfnNotificationChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNotificationChannelProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnNotificationChannel( * channels. */ public open fun config(`value`: IResolvable) { - unwrap(this).setConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public open class CfnNotificationChannel( * channels. */ public open fun config(`value`: NotificationChannelConfigProperty) { - unwrap(this).setConfig(`value`.let(NotificationChannelConfigProperty::unwrap)) + unwrap(this).setConfig(`value`.let(NotificationChannelConfigProperty.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnNotificationChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnNotificationChannel( * notification channels. */ override fun config(config: IResolvable) { - cdkBuilder.config(config.let(IResolvable::unwrap)) + cdkBuilder.config(config.let(IResolvable.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnNotificationChannel( * notification channels. */ override fun config(config: NotificationChannelConfigProperty) { - cdkBuilder.config(config.let(NotificationChannelConfigProperty::unwrap)) + cdkBuilder.config(config.let(NotificationChannelConfigProperty.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CfnNotificationChannel( * notifications for all message types of `High` or `Medium` severity. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class CfnNotificationChannel( * notifications for all message types of `High` or `Medium` severity. */ override fun filters(filters: NotificationFilterConfigProperty) { - cdkBuilder.filters(filters.let(NotificationFilterConfigProperty::unwrap)) + cdkBuilder.filters(filters.let(NotificationFilterConfigProperty.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class CfnNotificationChannel( * topics](https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html) . */ override fun sns(sns: IResolvable) { - cdkBuilder.sns(sns.let(IResolvable::unwrap)) + cdkBuilder.sns(sns.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class CfnNotificationChannel( * topics](https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html) . */ override fun sns(sns: SnsChannelConfigProperty) { - cdkBuilder.sns(sns.let(SnsChannelConfigProperty::unwrap)) + cdkBuilder.sns(sns.let(SnsChannelConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannelProps.kt index 3c5de360d6..6b2f272b60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnNotificationChannelProps.kt @@ -80,7 +80,7 @@ public interface CfnNotificationChannelProps { * notification channels. */ override fun config(config: IResolvable) { - cdkBuilder.config(config.let(IResolvable::unwrap)) + cdkBuilder.config(config.let(IResolvable.Companion::unwrap)) } /** @@ -88,7 +88,7 @@ public interface CfnNotificationChannelProps { * notification channels. */ override fun config(config: CfnNotificationChannel.NotificationChannelConfigProperty) { - cdkBuilder.config(config.let(CfnNotificationChannel.NotificationChannelConfigProperty::unwrap)) + cdkBuilder.config(config.let(CfnNotificationChannel.NotificationChannelConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollection.kt index dcae59fdff..4bf2b94a2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollection.kt @@ -53,8 +53,8 @@ public open class CfnResourceCollection( id: String, props: CfnResourceCollectionProps, ) : - this(software.amazon.awscdk.services.devopsguru.CfnResourceCollection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceCollectionProps::unwrap)) + this(software.amazon.awscdk.services.devopsguru.CfnResourceCollection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceCollectionProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnResourceCollection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public open class CfnResourceCollection( * behavior by DevOps Guru. */ public open fun resourceCollectionFilter(`value`: IResolvable) { - unwrap(this).setResourceCollectionFilter(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceCollectionFilter(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnResourceCollection( * behavior by DevOps Guru. */ public open fun resourceCollectionFilter(`value`: ResourceCollectionFilterProperty) { - unwrap(this).setResourceCollectionFilter(`value`.let(ResourceCollectionFilterProperty::unwrap)) + unwrap(this).setResourceCollectionFilter(`value`.let(ResourceCollectionFilterProperty.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnResourceCollection( * resources are analyzed for anomalous behavior by DevOps Guru. */ override fun resourceCollectionFilter(resourceCollectionFilter: IResolvable) { - cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(IResolvable::unwrap)) + cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnResourceCollection( */ override fun resourceCollectionFilter(resourceCollectionFilter: ResourceCollectionFilterProperty) { - cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(ResourceCollectionFilterProperty::unwrap)) + cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(ResourceCollectionFilterProperty.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnResourceCollection( * *AWS CloudFormation User Guide* . */ override fun cloudFormation(cloudFormation: IResolvable) { - cdkBuilder.cloudFormation(cloudFormation.let(IResolvable::unwrap)) + cdkBuilder.cloudFormation(cloudFormation.let(IResolvable.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnResourceCollection( * *AWS CloudFormation User Guide* . */ override fun cloudFormation(cloudFormation: CloudFormationCollectionFilterProperty) { - cdkBuilder.cloudFormation(cloudFormation.let(CloudFormationCollectionFilterProperty::unwrap)) + cdkBuilder.cloudFormation(cloudFormation.let(CloudFormationCollectionFilterProperty.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnResourceCollection( * `Devops-Guru-production-application/RDS` or `Devops-Guru-production-application/containers` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagCollectionProperty::unwrap)) + cdkBuilder.tags(tags.map(TagCollectionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollectionProps.kt index 1cee4c978d..7d6ba21b06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/devopsguru/CfnResourceCollectionProps.kt @@ -81,7 +81,7 @@ public interface CfnResourceCollectionProps { * resources are analyzed for anomalous behavior by DevOps Guru. */ override fun resourceCollectionFilter(resourceCollectionFilter: IResolvable) { - cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(IResolvable::unwrap)) + cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(IResolvable.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public interface CfnResourceCollectionProps { */ override fun resourceCollectionFilter(resourceCollectionFilter: CfnResourceCollection.ResourceCollectionFilterProperty) { - cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(CfnResourceCollection.ResourceCollectionFilterProperty::unwrap)) + cdkBuilder.resourceCollectionFilter(resourceCollectionFilter.let(CfnResourceCollection.ResourceCollectionFilterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftAD.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftAD.kt index 24e285ca5e..4a8433acdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftAD.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftAD.kt @@ -58,8 +58,8 @@ public open class CfnMicrosoftAD( id: String, props: CfnMicrosoftADProps, ) : - this(software.amazon.awscdk.services.directoryservice.CfnMicrosoftAD(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMicrosoftADProps::unwrap)) + this(software.amazon.awscdk.services.directoryservice.CfnMicrosoftAD(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMicrosoftADProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnMicrosoftAD( * Specifies an alias for a directory and assigns the alias to the directory. */ public open fun createAlias(`value`: IResolvable) { - unwrap(this).setCreateAlias(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreateAlias(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnMicrosoftAD( * Whether to enable single sign-on for a Microsoft Active Directory in AWS . */ public open fun enableSso(`value`: IResolvable) { - unwrap(this).setEnableSso(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableSso(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnMicrosoftAD( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,14 +195,14 @@ public open class CfnMicrosoftAD( * Specifies the VPC settings of the Microsoft AD directory server in AWS . */ public open fun vpcSettings(`value`: IResolvable) { - unwrap(this).setVpcSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the VPC settings of the Microsoft AD directory server in AWS . */ public open fun vpcSettings(`value`: VpcSettingsProperty) { - unwrap(this).setVpcSettings(`value`.let(VpcSettingsProperty::unwrap)) + unwrap(this).setVpcSettings(`value`.let(VpcSettingsProperty.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnMicrosoftAD( * */ override fun createAlias(createAlias: IResolvable) { - cdkBuilder.createAlias(createAlias.let(IResolvable::unwrap)) + cdkBuilder.createAlias(createAlias.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnMicrosoftAD( * @param enableSso Whether to enable single sign-on for a Microsoft Active Directory in AWS . */ override fun enableSso(enableSso: IResolvable) { - cdkBuilder.enableSso(enableSso.let(IResolvable::unwrap)) + cdkBuilder.enableSso(enableSso.let(IResolvable.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnMicrosoftAD( * @param vpcSettings Specifies the VPC settings of the Microsoft AD directory server in AWS . */ override fun vpcSettings(vpcSettings: IResolvable) { - cdkBuilder.vpcSettings(vpcSettings.let(IResolvable::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnMicrosoftAD( * @param vpcSettings Specifies the VPC settings of the Microsoft AD directory server in AWS . */ override fun vpcSettings(vpcSettings: VpcSettingsProperty) { - cdkBuilder.vpcSettings(vpcSettings.let(VpcSettingsProperty::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(VpcSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftADProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftADProps.kt index 1a1632cc8c..05adf7abf0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftADProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnMicrosoftADProps.kt @@ -229,7 +229,7 @@ public interface CfnMicrosoftADProps { * only be used when absolutely necessary. */ override fun createAlias(createAlias: IResolvable) { - cdkBuilder.createAlias(createAlias.let(IResolvable::unwrap)) + cdkBuilder.createAlias(createAlias.let(IResolvable.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface CfnMicrosoftADProps { * specify a value, AWS CloudFormation disables single sign-on by default. */ override fun enableSso(enableSso: IResolvable) { - cdkBuilder.enableSso(enableSso.let(IResolvable::unwrap)) + cdkBuilder.enableSso(enableSso.let(IResolvable.Companion::unwrap)) } /** @@ -293,14 +293,14 @@ public interface CfnMicrosoftADProps { * @param vpcSettings Specifies the VPC settings of the Microsoft AD directory server in AWS . */ override fun vpcSettings(vpcSettings: IResolvable) { - cdkBuilder.vpcSettings(vpcSettings.let(IResolvable::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(IResolvable.Companion::unwrap)) } /** * @param vpcSettings Specifies the VPC settings of the Microsoft AD directory server in AWS . */ override fun vpcSettings(vpcSettings: CfnMicrosoftAD.VpcSettingsProperty) { - cdkBuilder.vpcSettings(vpcSettings.let(CfnMicrosoftAD.VpcSettingsProperty::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(CfnMicrosoftAD.VpcSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleAD.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleAD.kt index fcf0886d93..87a9276346 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleAD.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleAD.kt @@ -60,8 +60,8 @@ public open class CfnSimpleAD( id: String, props: CfnSimpleADProps, ) : - this(software.amazon.awscdk.services.directoryservice.CfnSimpleAD(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSimpleADProps::unwrap)) + this(software.amazon.awscdk.services.directoryservice.CfnSimpleAD(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSimpleADProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnSimpleAD( * If set to `true` , specifies an alias for a directory and assigns the alias to the directory. */ public open fun createAlias(`value`: IResolvable) { - unwrap(this).setCreateAlias(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreateAlias(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnSimpleAD( * Whether to enable single sign-on for a directory. */ public open fun enableSso(`value`: IResolvable) { - unwrap(this).setEnableSso(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableSso(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnSimpleAD( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnSimpleAD( * object that contains additional information for the operation. */ public open fun vpcSettings(`value`: IResolvable) { - unwrap(this).setVpcSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnSimpleAD( * object that contains additional information for the operation. */ public open fun vpcSettings(`value`: VpcSettingsProperty) { - unwrap(this).setVpcSettings(`value`.let(VpcSettingsProperty::unwrap)) + unwrap(this).setVpcSettings(`value`.let(VpcSettingsProperty.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnSimpleAD( * alias to the directory. */ override fun createAlias(createAlias: IResolvable) { - cdkBuilder.createAlias(createAlias.let(IResolvable::unwrap)) + cdkBuilder.createAlias(createAlias.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnSimpleAD( * @param enableSso Whether to enable single sign-on for a directory. */ override fun enableSso(enableSso: IResolvable) { - cdkBuilder.enableSso(enableSso.let(IResolvable::unwrap)) + cdkBuilder.enableSso(enableSso.let(IResolvable.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnSimpleAD( * object that contains additional information for the operation. */ override fun vpcSettings(vpcSettings: IResolvable) { - cdkBuilder.vpcSettings(vpcSettings.let(IResolvable::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(IResolvable.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnSimpleAD( * object that contains additional information for the operation. */ override fun vpcSettings(vpcSettings: VpcSettingsProperty) { - cdkBuilder.vpcSettings(vpcSettings.let(VpcSettingsProperty::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(VpcSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleADProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleADProps.kt index 183e275ec4..c8b63fcb37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleADProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/directoryservice/CfnSimpleADProps.kt @@ -248,7 +248,7 @@ public interface CfnSimpleADProps { * only be used when absolutely necessary. */ override fun createAlias(createAlias: IResolvable) { - cdkBuilder.createAlias(createAlias.let(IResolvable::unwrap)) + cdkBuilder.createAlias(createAlias.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnSimpleADProps { * If you don't specify a value, AWS CloudFormation disables single sign-on by default. */ override fun enableSso(enableSso: IResolvable) { - cdkBuilder.enableSso(enableSso.let(IResolvable::unwrap)) + cdkBuilder.enableSso(enableSso.let(IResolvable.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface CfnSimpleADProps { * object that contains additional information for the operation. */ override fun vpcSettings(vpcSettings: IResolvable) { - cdkBuilder.vpcSettings(vpcSettings.let(IResolvable::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(IResolvable.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface CfnSimpleADProps { * object that contains additional information for the operation. */ override fun vpcSettings(vpcSettings: CfnSimpleAD.VpcSettingsProperty) { - cdkBuilder.vpcSettings(vpcSettings.let(CfnSimpleAD.VpcSettingsProperty::unwrap)) + cdkBuilder.vpcSettings(vpcSettings.let(CfnSimpleAD.VpcSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicy.kt index 30b79d3337..ac2984723f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicy.kt @@ -194,7 +194,7 @@ public open class CfnLifecyclePolicy( cdkObject: software.amazon.awscdk.services.dlm.CfnLifecyclePolicy, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.dlm.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.dlm.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -203,8 +203,8 @@ public open class CfnLifecyclePolicy( id: String, props: CfnLifecyclePolicyProps, ) : - this(software.amazon.awscdk.services.dlm.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLifecyclePolicyProps::unwrap)) + this(software.amazon.awscdk.services.dlm.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLifecyclePolicyProps.Companion::unwrap)) ) public constructor( @@ -243,7 +243,7 @@ public open class CfnLifecyclePolicy( * resource to the snapshot or AMI. */ public open fun copyTags(`value`: IResolvable) { - unwrap(this).setCopyTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setCopyTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnLifecyclePolicy( * do not want to create snapshots or AMIs. */ public open fun exclusions(`value`: IResolvable) { - unwrap(this).setExclusions(`value`.let(IResolvable::unwrap)) + unwrap(this).setExclusions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnLifecyclePolicy( * do not want to create snapshots or AMIs. */ public open fun exclusions(`value`: ExclusionsProperty) { - unwrap(this).setExclusions(`value`.let(ExclusionsProperty::unwrap)) + unwrap(this).setExclusions(`value`.let(ExclusionsProperty.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnLifecyclePolicy( * state. */ public open fun extendDeletion(`value`: IResolvable) { - unwrap(this).setExtendDeletion(`value`.let(IResolvable::unwrap)) + unwrap(this).setExtendDeletion(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CfnLifecyclePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -384,14 +384,14 @@ public open class CfnLifecyclePolicy( * The configuration details of the lifecycle policy. */ public open fun policyDetails(`value`: IResolvable) { - unwrap(this).setPolicyDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicyDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration details of the lifecycle policy. */ public open fun policyDetails(`value`: PolicyDetailsProperty) { - unwrap(this).setPolicyDetails(`value`.let(PolicyDetailsProperty::unwrap)) + unwrap(this).setPolicyDetails(`value`.let(PolicyDetailsProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnLifecyclePolicy( * The tags to apply to the lifecycle policy during creation. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnLifecyclePolicy( * the source resource to the snapshot or AMI. */ override fun copyTags(copyTags: IResolvable) { - cdkBuilder.copyTags(copyTags.let(IResolvable::unwrap)) + cdkBuilder.copyTags(copyTags.let(IResolvable.Companion::unwrap)) } /** @@ -836,7 +836,7 @@ public open class CfnLifecyclePolicy( * instances for which you do not want to create snapshots or AMIs. */ override fun exclusions(exclusions: IResolvable) { - cdkBuilder.exclusions(exclusions.let(IResolvable::unwrap)) + cdkBuilder.exclusions(exclusions.let(IResolvable.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public open class CfnLifecyclePolicy( * instances for which you do not want to create snapshots or AMIs. */ override fun exclusions(exclusions: ExclusionsProperty) { - cdkBuilder.exclusions(exclusions.let(ExclusionsProperty::unwrap)) + cdkBuilder.exclusions(exclusions.let(ExclusionsProperty.Companion::unwrap)) } /** @@ -943,7 +943,7 @@ public open class CfnLifecyclePolicy( * error, disabled, or deleted state. */ override fun extendDeletion(extendDeletion: IResolvable) { - cdkBuilder.extendDeletion(extendDeletion.let(IResolvable::unwrap)) + cdkBuilder.extendDeletion(extendDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -958,7 +958,7 @@ public open class CfnLifecyclePolicy( * @param policyDetails The configuration details of the lifecycle policy. */ override fun policyDetails(policyDetails: IResolvable) { - cdkBuilder.policyDetails(policyDetails.let(IResolvable::unwrap)) + cdkBuilder.policyDetails(policyDetails.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnLifecyclePolicy( * @param policyDetails The configuration details of the lifecycle policy. */ override fun policyDetails(policyDetails: PolicyDetailsProperty) { - cdkBuilder.policyDetails(policyDetails.let(PolicyDetailsProperty::unwrap)) + cdkBuilder.policyDetails(policyDetails.let(PolicyDetailsProperty.Companion::unwrap)) } /** @@ -1027,7 +1027,7 @@ public open class CfnLifecyclePolicy( * @param tags The tags to apply to the lifecycle policy during creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1141,7 +1141,7 @@ public open class CfnLifecyclePolicy( * @param crossRegionCopy The rule for copying shared snapshots across Regions. */ override fun crossRegionCopy(crossRegionCopy: IResolvable) { - cdkBuilder.crossRegionCopy(crossRegionCopy.let(IResolvable::unwrap)) + cdkBuilder.crossRegionCopy(crossRegionCopy.let(IResolvable.Companion::unwrap)) } /** @@ -1281,7 +1281,7 @@ public open class CfnLifecyclePolicy( * snapshots](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/snapshot-archive.html) . */ override fun retentionArchiveTier(retentionArchiveTier: IResolvable) { - cdkBuilder.retentionArchiveTier(retentionArchiveTier.let(IResolvable::unwrap)) + cdkBuilder.retentionArchiveTier(retentionArchiveTier.let(IResolvable.Companion::unwrap)) } /** @@ -1291,7 +1291,7 @@ public open class CfnLifecyclePolicy( * snapshots](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/snapshot-archive.html) . */ override fun retentionArchiveTier(retentionArchiveTier: RetentionArchiveTierProperty) { - cdkBuilder.retentionArchiveTier(retentionArchiveTier.let(RetentionArchiveTierProperty::unwrap)) + cdkBuilder.retentionArchiveTier(retentionArchiveTier.let(RetentionArchiveTierProperty.Companion::unwrap)) } /** @@ -1405,14 +1405,14 @@ public open class CfnLifecyclePolicy( * @param retainRule Information about the retention period for the snapshot archiving rule. */ override fun retainRule(retainRule: IResolvable) { - cdkBuilder.retainRule(retainRule.let(IResolvable::unwrap)) + cdkBuilder.retainRule(retainRule.let(IResolvable.Companion::unwrap)) } /** * @param retainRule Information about the retention period for the snapshot archiving rule. */ override fun retainRule(retainRule: ArchiveRetainRuleProperty) { - cdkBuilder.retainRule(retainRule.let(ArchiveRetainRuleProperty::unwrap)) + cdkBuilder.retainRule(retainRule.let(ArchiveRetainRuleProperty.Companion::unwrap)) } /** @@ -1714,7 +1714,7 @@ public open class CfnLifecyclePolicy( * . */ override fun scripts(scripts: IResolvable) { - cdkBuilder.scripts(scripts.let(IResolvable::unwrap)) + cdkBuilder.scripts(scripts.let(IResolvable.Companion::unwrap)) } /** @@ -1978,7 +1978,7 @@ public open class CfnLifecyclePolicy( * @param encryptionConfiguration The encryption settings for the copied snapshot. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1986,7 +1986,7 @@ public open class CfnLifecyclePolicy( */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -2004,7 +2004,7 @@ public open class CfnLifecyclePolicy( * After the retention period expires, the cross-Region copy is deleted. */ override fun retainRule(retainRule: IResolvable) { - cdkBuilder.retainRule(retainRule.let(IResolvable::unwrap)) + cdkBuilder.retainRule(retainRule.let(IResolvable.Companion::unwrap)) } /** @@ -2013,7 +2013,7 @@ public open class CfnLifecyclePolicy( * After the retention period expires, the cross-Region copy is deleted. */ override fun retainRule(retainRule: CrossRegionCopyRetainRuleProperty) { - cdkBuilder.retainRule(retainRule.let(CrossRegionCopyRetainRuleProperty::unwrap)) + cdkBuilder.retainRule(retainRule.let(CrossRegionCopyRetainRuleProperty.Companion::unwrap)) } /** @@ -2578,7 +2578,7 @@ public open class CfnLifecyclePolicy( * AMI to the cross-Region copy. */ override fun copyTags(copyTags: IResolvable) { - cdkBuilder.copyTags(copyTags.let(IResolvable::unwrap)) + cdkBuilder.copyTags(copyTags.let(IResolvable.Companion::unwrap)) } /** @@ -2586,7 +2586,7 @@ public open class CfnLifecyclePolicy( * AMI copies created by the rule. */ override fun deprecateRule(deprecateRule: IResolvable) { - cdkBuilder.deprecateRule(deprecateRule.let(IResolvable::unwrap)) + cdkBuilder.deprecateRule(deprecateRule.let(IResolvable.Companion::unwrap)) } /** @@ -2594,7 +2594,7 @@ public open class CfnLifecyclePolicy( * AMI copies created by the rule. */ override fun deprecateRule(deprecateRule: CrossRegionCopyDeprecateRuleProperty) { - cdkBuilder.deprecateRule(deprecateRule.let(CrossRegionCopyDeprecateRuleProperty::unwrap)) + cdkBuilder.deprecateRule(deprecateRule.let(CrossRegionCopyDeprecateRuleProperty.Companion::unwrap)) } /** @@ -2624,7 +2624,7 @@ public open class CfnLifecyclePolicy( * encryption by default is not enabled. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -2632,7 +2632,7 @@ public open class CfnLifecyclePolicy( * AMI copies are to be retained in the destination Region. */ override fun retainRule(retainRule: IResolvable) { - cdkBuilder.retainRule(retainRule.let(IResolvable::unwrap)) + cdkBuilder.retainRule(retainRule.let(IResolvable.Companion::unwrap)) } /** @@ -2640,7 +2640,7 @@ public open class CfnLifecyclePolicy( * AMI copies are to be retained in the destination Region. */ override fun retainRule(retainRule: CrossRegionCopyRetainRuleProperty) { - cdkBuilder.retainRule(retainRule.let(CrossRegionCopyRetainRuleProperty::unwrap)) + cdkBuilder.retainRule(retainRule.let(CrossRegionCopyRetainRuleProperty.Companion::unwrap)) } /** @@ -3038,7 +3038,7 @@ public open class CfnLifecyclePolicy( * encryption by default is not enabled. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3363,14 +3363,14 @@ public open class CfnLifecyclePolicy( * @param parameters Information about the event. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** * @param parameters Information about the event. */ override fun parameters(parameters: EventParametersProperty) { - cdkBuilder.parameters(parameters.let(EventParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(EventParametersProperty.Companion::unwrap)) } /** @@ -3541,7 +3541,7 @@ public open class CfnLifecyclePolicy( * backed up by the policy. To exclude boot volumes, specify `true` . */ override fun excludeBootVolumes(excludeBootVolumes: IResolvable) { - cdkBuilder.excludeBootVolumes(excludeBootVolumes.let(IResolvable::unwrap)) + cdkBuilder.excludeBootVolumes(excludeBootVolumes.let(IResolvable.Companion::unwrap)) } /** @@ -3954,7 +3954,7 @@ public open class CfnLifecyclePolicy( * instances will be excluded from the multi-volume snapshot sets created by the policy. */ override fun excludeBootVolume(excludeBootVolume: IResolvable) { - cdkBuilder.excludeBootVolume(excludeBootVolume.let(IResolvable::unwrap)) + cdkBuilder.excludeBootVolume(excludeBootVolume.let(IResolvable.Companion::unwrap)) } /** @@ -3965,7 +3965,7 @@ public open class CfnLifecyclePolicy( * instances will be excluded from the multi-volume snapshot sets created by the policy. */ override fun excludeDataVolumeTags(excludeDataVolumeTags: IResolvable) { - cdkBuilder.excludeDataVolumeTags(excludeDataVolumeTags.let(IResolvable::unwrap)) + cdkBuilder.excludeDataVolumeTags(excludeDataVolumeTags.let(IResolvable.Companion::unwrap)) } /** @@ -4008,7 +4008,7 @@ public open class CfnLifecyclePolicy( * (instances are not rebooted). */ override fun noReboot(noReboot: IResolvable) { - cdkBuilder.noReboot(noReboot.let(IResolvable::unwrap)) + cdkBuilder.noReboot(noReboot.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.ParametersProperty @@ -4737,7 +4737,7 @@ public open class CfnLifecyclePolicy( * You can specify only one action per policy. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -4775,7 +4775,7 @@ public open class CfnLifecyclePolicy( * Default: false */ override fun copyTags(copyTags: IResolvable) { - cdkBuilder.copyTags(copyTags.let(IResolvable::unwrap)) + cdkBuilder.copyTags(copyTags.let(IResolvable.Companion::unwrap)) } /** @@ -4805,7 +4805,7 @@ public open class CfnLifecyclePolicy( * policy. */ override fun eventSource(eventSource: IResolvable) { - cdkBuilder.eventSource(eventSource.let(IResolvable::unwrap)) + cdkBuilder.eventSource(eventSource.let(IResolvable.Companion::unwrap)) } /** @@ -4813,7 +4813,7 @@ public open class CfnLifecyclePolicy( * policy. */ override fun eventSource(eventSource: EventSourceProperty) { - cdkBuilder.eventSource(eventSource.let(EventSourceProperty::unwrap)) + cdkBuilder.eventSource(eventSource.let(EventSourceProperty.Companion::unwrap)) } /** @@ -4832,7 +4832,7 @@ public open class CfnLifecyclePolicy( * specified exclusion parameters. */ override fun exclusions(exclusions: IResolvable) { - cdkBuilder.exclusions(exclusions.let(IResolvable::unwrap)) + cdkBuilder.exclusions(exclusions.let(IResolvable.Companion::unwrap)) } /** @@ -4842,7 +4842,7 @@ public open class CfnLifecyclePolicy( * specified exclusion parameters. */ override fun exclusions(exclusions: ExclusionsProperty) { - cdkBuilder.exclusions(exclusions.let(ExclusionsProperty::unwrap)) + cdkBuilder.exclusions(exclusions.let(ExclusionsProperty.Companion::unwrap)) } /** @@ -4905,7 +4905,7 @@ public open class CfnLifecyclePolicy( * Default: false */ override fun extendDeletion(extendDeletion: IResolvable) { - cdkBuilder.extendDeletion(extendDeletion.let(IResolvable::unwrap)) + cdkBuilder.extendDeletion(extendDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -4918,7 +4918,7 @@ public open class CfnLifecyclePolicy( * null. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -4931,7 +4931,7 @@ public open class CfnLifecyclePolicy( * null. */ override fun parameters(parameters: ParametersProperty) { - cdkBuilder.parameters(parameters.let(ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(ParametersProperty.Companion::unwrap)) } /** @@ -5045,7 +5045,7 @@ public open class CfnLifecyclePolicy( * schedules. */ override fun schedules(schedules: IResolvable) { - cdkBuilder.schedules(schedules.let(IResolvable::unwrap)) + cdkBuilder.schedules(schedules.let(IResolvable.Companion::unwrap)) } /** @@ -5071,7 +5071,7 @@ public open class CfnLifecyclePolicy( * targeted resources for this policy. */ override fun targetTags(targetTags: IResolvable) { - cdkBuilder.targetTags(targetTags.let(IResolvable::unwrap)) + cdkBuilder.targetTags(targetTags.let(IResolvable.Companion::unwrap)) } /** @@ -6146,7 +6146,7 @@ public open class CfnLifecyclePolicy( * . */ override fun archiveRule(archiveRule: IResolvable) { - cdkBuilder.archiveRule(archiveRule.let(IResolvable::unwrap)) + cdkBuilder.archiveRule(archiveRule.let(IResolvable.Companion::unwrap)) } /** @@ -6162,7 +6162,7 @@ public open class CfnLifecyclePolicy( * . */ override fun archiveRule(archiveRule: ArchiveRuleProperty) { - cdkBuilder.archiveRule(archiveRule.let(ArchiveRuleProperty::unwrap)) + cdkBuilder.archiveRule(archiveRule.let(ArchiveRuleProperty.Companion::unwrap)) } /** @@ -6195,21 +6195,21 @@ public open class CfnLifecyclePolicy( * created by this policy. */ override fun copyTags(copyTags: IResolvable) { - cdkBuilder.copyTags(copyTags.let(IResolvable::unwrap)) + cdkBuilder.copyTags(copyTags.let(IResolvable.Companion::unwrap)) } /** * @param createRule The creation rule. */ override fun createRule(createRule: IResolvable) { - cdkBuilder.createRule(createRule.let(IResolvable::unwrap)) + cdkBuilder.createRule(createRule.let(IResolvable.Companion::unwrap)) } /** * @param createRule The creation rule. */ override fun createRule(createRule: CreateRuleProperty) { - cdkBuilder.createRule(createRule.let(CreateRuleProperty::unwrap)) + cdkBuilder.createRule(createRule.let(CreateRuleProperty.Companion::unwrap)) } /** @@ -6228,7 +6228,7 @@ public open class CfnLifecyclePolicy( * Regions or Outposts. */ override fun crossRegionCopyRules(crossRegionCopyRules: IResolvable) { - cdkBuilder.crossRegionCopyRules(crossRegionCopyRules.let(IResolvable::unwrap)) + cdkBuilder.crossRegionCopyRules(crossRegionCopyRules.let(IResolvable.Companion::unwrap)) } /** @@ -6257,7 +6257,7 @@ public open class CfnLifecyclePolicy( * schedule. */ override fun deprecateRule(deprecateRule: IResolvable) { - cdkBuilder.deprecateRule(deprecateRule.let(IResolvable::unwrap)) + cdkBuilder.deprecateRule(deprecateRule.let(IResolvable.Companion::unwrap)) } /** @@ -6265,7 +6265,7 @@ public open class CfnLifecyclePolicy( * schedule. */ override fun deprecateRule(deprecateRule: DeprecateRuleProperty) { - cdkBuilder.deprecateRule(deprecateRule.let(DeprecateRuleProperty::unwrap)) + cdkBuilder.deprecateRule(deprecateRule.let(DeprecateRuleProperty.Companion::unwrap)) } /** @@ -6282,7 +6282,7 @@ public open class CfnLifecyclePolicy( * snapshot restore. */ override fun fastRestoreRule(fastRestoreRule: IResolvable) { - cdkBuilder.fastRestoreRule(fastRestoreRule.let(IResolvable::unwrap)) + cdkBuilder.fastRestoreRule(fastRestoreRule.let(IResolvable.Companion::unwrap)) } /** @@ -6290,7 +6290,7 @@ public open class CfnLifecyclePolicy( * snapshot restore. */ override fun fastRestoreRule(fastRestoreRule: FastRestoreRuleProperty) { - cdkBuilder.fastRestoreRule(fastRestoreRule.let(FastRestoreRuleProperty::unwrap)) + cdkBuilder.fastRestoreRule(fastRestoreRule.let(FastRestoreRuleProperty.Companion::unwrap)) } /** @@ -6313,14 +6313,14 @@ public open class CfnLifecyclePolicy( * @param retainRule The retention rule for snapshots or AMIs created by the policy. */ override fun retainRule(retainRule: IResolvable) { - cdkBuilder.retainRule(retainRule.let(IResolvable::unwrap)) + cdkBuilder.retainRule(retainRule.let(IResolvable.Companion::unwrap)) } /** * @param retainRule The retention rule for snapshots or AMIs created by the policy. */ override fun retainRule(retainRule: RetainRuleProperty) { - cdkBuilder.retainRule(retainRule.let(RetainRuleProperty::unwrap)) + cdkBuilder.retainRule(retainRule.let(RetainRuleProperty.Companion::unwrap)) } /** @@ -6336,7 +6336,7 @@ public open class CfnLifecyclePolicy( * other AWS accounts . */ override fun shareRules(shareRules: IResolvable) { - cdkBuilder.shareRules(shareRules.let(IResolvable::unwrap)) + cdkBuilder.shareRules(shareRules.let(IResolvable.Companion::unwrap)) } /** @@ -6358,7 +6358,7 @@ public open class CfnLifecyclePolicy( * These user-defined tags are in addition to the AWS -added lifecycle tags. */ override fun tagsToAdd(tagsToAdd: IResolvable) { - cdkBuilder.tagsToAdd(tagsToAdd.let(IResolvable::unwrap)) + cdkBuilder.tagsToAdd(tagsToAdd.let(IResolvable.Companion::unwrap)) } /** @@ -6383,7 +6383,7 @@ public open class CfnLifecyclePolicy( * Management – Instance policies. */ override fun variableTags(variableTags: IResolvable) { - cdkBuilder.variableTags(variableTags.let(IResolvable::unwrap)) + cdkBuilder.variableTags(variableTags.let(IResolvable.Companion::unwrap)) } /** @@ -6815,7 +6815,7 @@ public open class CfnLifecyclePolicy( * Default: true */ override fun executeOperationOnScriptFailure(executeOperationOnScriptFailure: IResolvable) { - cdkBuilder.executeOperationOnScriptFailure(executeOperationOnScriptFailure.let(IResolvable::unwrap)) + cdkBuilder.executeOperationOnScriptFailure(executeOperationOnScriptFailure.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicyProps.kt index 1cb012defd..99adc9c411 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dlm/CfnLifecyclePolicyProps.kt @@ -535,7 +535,7 @@ public interface CfnLifecyclePolicyProps { * Default: false */ override fun copyTags(copyTags: IResolvable) { - cdkBuilder.copyTags(copyTags.let(IResolvable::unwrap)) + cdkBuilder.copyTags(copyTags.let(IResolvable.Companion::unwrap)) } /** @@ -586,7 +586,7 @@ public interface CfnLifecyclePolicyProps { * specified exclusion parameters. */ override fun exclusions(exclusions: IResolvable) { - cdkBuilder.exclusions(exclusions.let(IResolvable::unwrap)) + cdkBuilder.exclusions(exclusions.let(IResolvable.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface CfnLifecyclePolicyProps { * specified exclusion parameters. */ override fun exclusions(exclusions: CfnLifecyclePolicy.ExclusionsProperty) { - cdkBuilder.exclusions(exclusions.let(CfnLifecyclePolicy.ExclusionsProperty::unwrap)) + cdkBuilder.exclusions(exclusions.let(CfnLifecyclePolicy.ExclusionsProperty.Companion::unwrap)) } /** @@ -667,7 +667,7 @@ public interface CfnLifecyclePolicyProps { * Default: false */ override fun extendDeletion(extendDeletion: IResolvable) { - cdkBuilder.extendDeletion(extendDeletion.let(IResolvable::unwrap)) + cdkBuilder.extendDeletion(extendDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public interface CfnLifecyclePolicyProps { * body, or in the PolicyDetails request structure, but not both. */ override fun policyDetails(policyDetails: IResolvable) { - cdkBuilder.policyDetails(policyDetails.let(IResolvable::unwrap)) + cdkBuilder.policyDetails(policyDetails.let(IResolvable.Companion::unwrap)) } /** @@ -687,7 +687,7 @@ public interface CfnLifecyclePolicyProps { * body, or in the PolicyDetails request structure, but not both. */ override fun policyDetails(policyDetails: CfnLifecyclePolicy.PolicyDetailsProperty) { - cdkBuilder.policyDetails(policyDetails.let(CfnLifecyclePolicy.PolicyDetailsProperty::unwrap)) + cdkBuilder.policyDetails(policyDetails.let(CfnLifecyclePolicy.PolicyDetailsProperty.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public interface CfnLifecyclePolicyProps { * @param tags The tags to apply to the lifecycle policy during creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnCertificate.kt index 69dac612bf..0223d1afa6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnCertificate.kt @@ -34,7 +34,7 @@ public open class CfnCertificate( cdkObject: software.amazon.awscdk.services.dms.CfnCertificate, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.dms.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.dms.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -43,8 +43,8 @@ public open class CfnCertificate( id: String, props: CfnCertificateProps, ) : - this(software.amazon.awscdk.services.dms.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProvider.kt index 70381538f9..af1070539e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProvider.kt @@ -10,15 +10,11 @@ import io.cloudshiftdev.awscdk.ITaggableV2 import io.cloudshiftdev.awscdk.TagManager import io.cloudshiftdev.awscdk.TreeInspector import io.cloudshiftdev.awscdk.common.CdkDslMarker -import io.cloudshiftdev.awscdk.common.CdkObject -import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import kotlin.Any import kotlin.Boolean -import kotlin.Number import kotlin.String import kotlin.Unit import kotlin.collections.List -import kotlin.jvm.JvmName import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct import software.constructs.Construct as SoftwareConstructsConstruct @@ -38,15 +34,6 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .dataProviderName("dataProviderName") * .description("description") * .exactSettings(false) - * .settings(SettingsProperty.builder() - * .postgreSqlSettings(PostgreSqlSettingsProperty.builder() - * .certificateArn("certificateArn") - * .databaseName("databaseName") - * .port(123) - * .serverName("serverName") - * .sslMode("sslMode") - * .build()) - * .build()) * .tags(List.of(CfnTag.builder() * .key("key") * .value("value") @@ -64,8 +51,8 @@ public open class CfnDataProvider( id: String, props: CfnDataProviderProps, ) : - this(software.amazon.awscdk.services.dms.CfnDataProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataProviderProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnDataProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataProviderProps.Companion::unwrap)) ) public constructor( @@ -156,7 +143,7 @@ public open class CfnDataProvider( * The property describes the exact settings which can be modified. */ public open fun exactSettings(`value`: IResolvable) { - unwrap(this).setExactSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setExactSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,36 +152,9 @@ public open class CfnDataProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } - /** - * The settings in JSON format for a data provider. - */ - public open fun settings(): Any? = unwrap(this).getSettings() - - /** - * The settings in JSON format for a data provider. - */ - public open fun settings(`value`: IResolvable) { - unwrap(this).setSettings(`value`.let(IResolvable::unwrap)) - } - - /** - * The settings in JSON format for a data provider. - */ - public open fun settings(`value`: SettingsProperty) { - unwrap(this).setSettings(`value`.let(SettingsProperty::unwrap)) - } - - /** - * The settings in JSON format for a data provider. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("3edd7636f3be1f86b901cad6e1fc715014e3dbc80786d14014f149bb2e7271b6") - public open fun settings(`value`: SettingsProperty.Builder.() -> Unit): Unit = - settings(SettingsProperty(`value`)) - /** * An array of key-value pairs to apply to this resource. */ @@ -204,7 +164,7 @@ public open class CfnDataProvider( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -280,32 +240,6 @@ public open class CfnDataProvider( */ public fun exactSettings(exactSettings: IResolvable) - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - * @param settings The settings in JSON format for a data provider. - */ - public fun settings(settings: IResolvable) - - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - * @param settings The settings in JSON format for a data provider. - */ - public fun settings(settings: SettingsProperty) - - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - * @param settings The settings in JSON format for a data provider. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("ee40722a720d7943e5c842a5aa735bea262d50da0c487f2b9017c7fe45ea2928") - public fun settings(settings: SettingsProperty.Builder.() -> Unit) - /** * An array of key-value pairs to apply to this resource. * @@ -402,40 +336,9 @@ public open class CfnDataProvider( * @param exactSettings The property describes the exact settings which can be modified. */ override fun exactSettings(exactSettings: IResolvable) { - cdkBuilder.exactSettings(exactSettings.let(IResolvable::unwrap)) - } - - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - * @param settings The settings in JSON format for a data provider. - */ - override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) - } - - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - * @param settings The settings in JSON format for a data provider. - */ - override fun settings(settings: SettingsProperty) { - cdkBuilder.settings(settings.let(SettingsProperty::unwrap)) + cdkBuilder.exactSettings(exactSettings.let(IResolvable.Companion::unwrap)) } - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - * @param settings The settings in JSON format for a data provider. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("ee40722a720d7943e5c842a5aa735bea262d50da0c487f2b9017c7fe45ea2928") - override fun settings(settings: SettingsProperty.Builder.() -> Unit): Unit = - settings(SettingsProperty(settings)) - /** * An array of key-value pairs to apply to this resource. * @@ -443,7 +346,7 @@ public open class CfnDataProvider( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -477,340 +380,4 @@ public open class CfnDataProvider( software.amazon.awscdk.services.dms.CfnDataProvider = wrapped.cdkObject as software.amazon.awscdk.services.dms.CfnDataProvider } - - /** - * Provides information that defines a PostgreSQL endpoint. - * - * Example: - * - * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.dms.*; - * PostgreSqlSettingsProperty postgreSqlSettingsProperty = PostgreSqlSettingsProperty.builder() - * .certificateArn("certificateArn") - * .databaseName("databaseName") - * .port(123) - * .serverName("serverName") - * .sslMode("sslMode") - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html) - */ - public interface PostgreSqlSettingsProperty { - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-certificatearn) - */ - public fun certificateArn(): String? = unwrap(this).getCertificateArn() - - /** - * Database name for the endpoint. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-databasename) - */ - public fun databaseName(): String? = unwrap(this).getDatabaseName() - - /** - * Endpoint TCP port. - * - * The default is 5432. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-port) - */ - public fun port(): Number? = unwrap(this).getPort() - - /** - * The host name of the endpoint database. - * - * For an Amazon RDS PostgreSQL instance, this is the output of - * [DescribeDBInstances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html) - * , in the - * `[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) - * .Address` field. - * - * For an Aurora PostgreSQL instance, this is the output of - * [DescribeDBClusters](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html) - * , in the `Endpoint` field. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-servername) - */ - public fun serverName(): String? = unwrap(this).getServerName() - - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-sslmode) - */ - public fun sslMode(): String? = unwrap(this).getSslMode() - - /** - * A builder for [PostgreSqlSettingsProperty] - */ - @CdkDslMarker - public interface Builder { - /** - * @param certificateArn the value to be set. - */ - public fun certificateArn(certificateArn: String) - - /** - * @param databaseName Database name for the endpoint. - */ - public fun databaseName(databaseName: String) - - /** - * @param port Endpoint TCP port. - * The default is 5432. - */ - public fun port(port: Number) - - /** - * @param serverName The host name of the endpoint database. - * For an Amazon RDS PostgreSQL instance, this is the output of - * [DescribeDBInstances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html) - * , in the - * `[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) - * .Address` field. - * - * For an Aurora PostgreSQL instance, this is the output of - * [DescribeDBClusters](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html) - * , in the `Endpoint` field. - */ - public fun serverName(serverName: String) - - /** - * @param sslMode the value to be set. - */ - public fun sslMode(sslMode: String) - } - - private class BuilderImpl : Builder { - private val cdkBuilder: - software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty.Builder = - software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty.builder() - - /** - * @param certificateArn the value to be set. - */ - override fun certificateArn(certificateArn: String) { - cdkBuilder.certificateArn(certificateArn) - } - - /** - * @param databaseName Database name for the endpoint. - */ - override fun databaseName(databaseName: String) { - cdkBuilder.databaseName(databaseName) - } - - /** - * @param port Endpoint TCP port. - * The default is 5432. - */ - override fun port(port: Number) { - cdkBuilder.port(port) - } - - /** - * @param serverName The host name of the endpoint database. - * For an Amazon RDS PostgreSQL instance, this is the output of - * [DescribeDBInstances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html) - * , in the - * `[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) - * .Address` field. - * - * For an Aurora PostgreSQL instance, this is the output of - * [DescribeDBClusters](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html) - * , in the `Endpoint` field. - */ - override fun serverName(serverName: String) { - cdkBuilder.serverName(serverName) - } - - /** - * @param sslMode the value to be set. - */ - override fun sslMode(sslMode: String) { - cdkBuilder.sslMode(sslMode) - } - - public fun build(): - software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty = - cdkBuilder.build() - } - - private class Wrapper( - cdkObject: software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty, - ) : CdkObject(cdkObject), PostgreSqlSettingsProperty { - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-certificatearn) - */ - override fun certificateArn(): String? = unwrap(this).getCertificateArn() - - /** - * Database name for the endpoint. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-databasename) - */ - override fun databaseName(): String? = unwrap(this).getDatabaseName() - - /** - * Endpoint TCP port. - * - * The default is 5432. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-port) - */ - override fun port(): Number? = unwrap(this).getPort() - - /** - * The host name of the endpoint database. - * - * For an Amazon RDS PostgreSQL instance, this is the output of - * [DescribeDBInstances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html) - * , in the - * `[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) - * .Address` field. - * - * For an Aurora PostgreSQL instance, this is the output of - * [DescribeDBClusters](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html) - * , in the `Endpoint` field. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-servername) - */ - override fun serverName(): String? = unwrap(this).getServerName() - - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-sslmode) - */ - override fun sslMode(): String? = unwrap(this).getSslMode() - } - - public companion object { - public operator fun invoke(block: Builder.() -> Unit = {}): PostgreSqlSettingsProperty { - val builderImpl = BuilderImpl() - return Wrapper(builderImpl.apply(block).build()) - } - - internal - fun wrap(cdkObject: software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty): - PostgreSqlSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? - PostgreSqlSettingsProperty ?: Wrapper(cdkObject) - - internal fun unwrap(wrapped: PostgreSqlSettingsProperty): - software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty = (wrapped - as CdkObject).cdkObject as - software.amazon.awscdk.services.dms.CfnDataProvider.PostgreSqlSettingsProperty - } - } - - /** - * PostgreSqlSettings property identifier. - * - * Example: - * - * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.dms.*; - * SettingsProperty settingsProperty = SettingsProperty.builder() - * .postgreSqlSettings(PostgreSqlSettingsProperty.builder() - * .certificateArn("certificateArn") - * .databaseName("databaseName") - * .port(123) - * .serverName("serverName") - * .sslMode("sslMode") - * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html) - */ - public interface SettingsProperty { - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html#cfn-dms-dataprovider-settings-postgresqlsettings) - */ - public fun postgreSqlSettings(): Any? = unwrap(this).getPostgreSqlSettings() - - /** - * A builder for [SettingsProperty] - */ - @CdkDslMarker - public interface Builder { - /** - * @param postgreSqlSettings the value to be set. - */ - public fun postgreSqlSettings(postgreSqlSettings: IResolvable) - - /** - * @param postgreSqlSettings the value to be set. - */ - public fun postgreSqlSettings(postgreSqlSettings: PostgreSqlSettingsProperty) - - /** - * @param postgreSqlSettings the value to be set. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("bbe648e536f99226c51402e8eee8ad1e33005dfd09b98a1cb53237bb9ad30d3f") - public - fun postgreSqlSettings(postgreSqlSettings: PostgreSqlSettingsProperty.Builder.() -> Unit) - } - - private class BuilderImpl : Builder { - private val cdkBuilder: - software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty.Builder = - software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty.builder() - - /** - * @param postgreSqlSettings the value to be set. - */ - override fun postgreSqlSettings(postgreSqlSettings: IResolvable) { - cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(IResolvable::unwrap)) - } - - /** - * @param postgreSqlSettings the value to be set. - */ - override fun postgreSqlSettings(postgreSqlSettings: PostgreSqlSettingsProperty) { - cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(PostgreSqlSettingsProperty::unwrap)) - } - - /** - * @param postgreSqlSettings the value to be set. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("bbe648e536f99226c51402e8eee8ad1e33005dfd09b98a1cb53237bb9ad30d3f") - override - fun postgreSqlSettings(postgreSqlSettings: PostgreSqlSettingsProperty.Builder.() -> Unit): - Unit = postgreSqlSettings(PostgreSqlSettingsProperty(postgreSqlSettings)) - - public fun build(): software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty = - cdkBuilder.build() - } - - private class Wrapper( - cdkObject: software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty, - ) : CdkObject(cdkObject), SettingsProperty { - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html#cfn-dms-dataprovider-settings-postgresqlsettings) - */ - override fun postgreSqlSettings(): Any? = unwrap(this).getPostgreSqlSettings() - } - - public companion object { - public operator fun invoke(block: Builder.() -> Unit = {}): SettingsProperty { - val builderImpl = BuilderImpl() - return Wrapper(builderImpl.apply(block).build()) - } - - internal - fun wrap(cdkObject: software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty): - SettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? SettingsProperty ?: - Wrapper(cdkObject) - - internal fun unwrap(wrapped: SettingsProperty): - software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty = (wrapped as - CdkObject).cdkObject as - software.amazon.awscdk.services.dms.CfnDataProvider.SettingsProperty - } - } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProviderProps.kt index cb58859d05..52049d56b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnDataProviderProps.kt @@ -12,7 +12,6 @@ import kotlin.Boolean import kotlin.String import kotlin.Unit import kotlin.collections.List -import kotlin.jvm.JvmName /** * Properties for defining a `CfnDataProvider`. @@ -30,15 +29,6 @@ import kotlin.jvm.JvmName * .dataProviderName("dataProviderName") * .description("description") * .exactSettings(false) - * .settings(SettingsProperty.builder() - * .postgreSqlSettings(PostgreSqlSettingsProperty.builder() - * .certificateArn("certificateArn") - * .databaseName("databaseName") - * .port(123) - * .serverName("serverName") - * .sslMode("sslMode") - * .build()) - * .build()) * .tags(List.of(CfnTag.builder() * .key("key") * .value("value") @@ -97,13 +87,6 @@ public interface CfnDataProviderProps { */ public fun exactSettings(): Any? = unwrap(this).getExactSettings() - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - */ - public fun settings(): Any? = unwrap(this).getSettings() - /** * An array of key-value pairs to apply to this resource. * @@ -154,23 +137,6 @@ public interface CfnDataProviderProps { */ public fun exactSettings(exactSettings: IResolvable) - /** - * @param settings The settings in JSON format for a data provider. - */ - public fun settings(settings: IResolvable) - - /** - * @param settings The settings in JSON format for a data provider. - */ - public fun settings(settings: CfnDataProvider.SettingsProperty) - - /** - * @param settings The settings in JSON format for a data provider. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("e5d74db5466a3c55f01d8a55af7cecd169b9ba622ed58ad61dc597716b252aab") - public fun settings(settings: CfnDataProvider.SettingsProperty.Builder.() -> Unit) - /** * @param tags An array of key-value pairs to apply to this resource. */ @@ -233,36 +199,14 @@ public interface CfnDataProviderProps { * @param exactSettings The property describes the exact settings which can be modified. */ override fun exactSettings(exactSettings: IResolvable) { - cdkBuilder.exactSettings(exactSettings.let(IResolvable::unwrap)) - } - - /** - * @param settings The settings in JSON format for a data provider. - */ - override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) - } - - /** - * @param settings The settings in JSON format for a data provider. - */ - override fun settings(settings: CfnDataProvider.SettingsProperty) { - cdkBuilder.settings(settings.let(CfnDataProvider.SettingsProperty::unwrap)) + cdkBuilder.exactSettings(exactSettings.let(IResolvable.Companion::unwrap)) } - /** - * @param settings The settings in JSON format for a data provider. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("e5d74db5466a3c55f01d8a55af7cecd169b9ba622ed58ad61dc597716b252aab") - override fun settings(settings: CfnDataProvider.SettingsProperty.Builder.() -> Unit): Unit = - settings(CfnDataProvider.SettingsProperty(settings)) - /** * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -325,13 +269,6 @@ public interface CfnDataProviderProps { */ override fun exactSettings(): Any? = unwrap(this).getExactSettings() - /** - * The settings in JSON format for a data provider. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings) - */ - override fun settings(): Any? = unwrap(this).getSettings() - /** * An array of key-value pairs to apply to this resource. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpoint.kt index 29c18ddb80..dccd64fb25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpoint.kt @@ -332,8 +332,8 @@ public open class CfnEndpoint( id: String, props: CfnEndpointProps, ) : - this(software.amazon.awscdk.services.dms.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointProps.Companion::unwrap)) ) public constructor( @@ -386,14 +386,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target DocumentDB endpoint. */ public open fun docDbSettings(`value`: IResolvable) { - unwrap(this).setDocDbSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDocDbSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target DocumentDB endpoint. */ public open fun docDbSettings(`value`: DocDbSettingsProperty) { - unwrap(this).setDocDbSettings(`value`.let(DocDbSettingsProperty::unwrap)) + unwrap(this).setDocDbSettings(`value`.let(DocDbSettingsProperty.Companion::unwrap)) } /** @@ -413,14 +413,14 @@ public open class CfnEndpoint( * Settings in JSON format for the target Amazon DynamoDB endpoint. */ public open fun dynamoDbSettings(`value`: IResolvable) { - unwrap(this).setDynamoDbSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDynamoDbSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the target Amazon DynamoDB endpoint. */ public open fun dynamoDbSettings(`value`: DynamoDbSettingsProperty) { - unwrap(this).setDynamoDbSettings(`value`.let(DynamoDbSettingsProperty::unwrap)) + unwrap(this).setDynamoDbSettings(`value`.let(DynamoDbSettingsProperty.Companion::unwrap)) } /** @@ -440,14 +440,14 @@ public open class CfnEndpoint( * Settings in JSON format for the target OpenSearch endpoint. */ public open fun elasticsearchSettings(`value`: IResolvable) { - unwrap(this).setElasticsearchSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticsearchSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the target OpenSearch endpoint. */ public open fun elasticsearchSettings(`value`: ElasticsearchSettingsProperty) { - unwrap(this).setElasticsearchSettings(`value`.let(ElasticsearchSettingsProperty::unwrap)) + unwrap(this).setElasticsearchSettings(`value`.let(ElasticsearchSettingsProperty.Companion::unwrap)) } /** @@ -515,14 +515,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source GCP MySQL endpoint. */ public open fun gcpMySqlSettings(`value`: IResolvable) { - unwrap(this).setGcpMySqlSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setGcpMySqlSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source GCP MySQL endpoint. */ public open fun gcpMySqlSettings(`value`: GcpMySQLSettingsProperty) { - unwrap(this).setGcpMySqlSettings(`value`.let(GcpMySQLSettingsProperty::unwrap)) + unwrap(this).setGcpMySqlSettings(`value`.let(GcpMySQLSettingsProperty.Companion::unwrap)) } /** @@ -542,14 +542,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source IBM Db2 LUW endpoint. */ public open fun ibmDb2Settings(`value`: IResolvable) { - unwrap(this).setIbmDb2Settings(`value`.let(IResolvable::unwrap)) + unwrap(this).setIbmDb2Settings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source IBM Db2 LUW endpoint. */ public open fun ibmDb2Settings(`value`: IbmDb2SettingsProperty) { - unwrap(this).setIbmDb2Settings(`value`.let(IbmDb2SettingsProperty::unwrap)) + unwrap(this).setIbmDb2Settings(`value`.let(IbmDb2SettingsProperty.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -578,14 +578,14 @@ public open class CfnEndpoint( * Settings in JSON format for the target Apache Kafka endpoint. */ public open fun kafkaSettings(`value`: IResolvable) { - unwrap(this).setKafkaSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setKafkaSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the target Apache Kafka endpoint. */ public open fun kafkaSettings(`value`: KafkaSettingsProperty) { - unwrap(this).setKafkaSettings(`value`.let(KafkaSettingsProperty::unwrap)) + unwrap(this).setKafkaSettings(`value`.let(KafkaSettingsProperty.Companion::unwrap)) } /** @@ -605,14 +605,14 @@ public open class CfnEndpoint( * Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. */ public open fun kinesisSettings(`value`: IResolvable) { - unwrap(this).setKinesisSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. */ public open fun kinesisSettings(`value`: KinesisSettingsProperty) { - unwrap(this).setKinesisSettings(`value`.let(KinesisSettingsProperty::unwrap)) + unwrap(this).setKinesisSettings(`value`.let(KinesisSettingsProperty.Companion::unwrap)) } /** @@ -644,14 +644,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target Microsoft SQL Server endpoint. */ public open fun microsoftSqlServerSettings(`value`: IResolvable) { - unwrap(this).setMicrosoftSqlServerSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMicrosoftSqlServerSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target Microsoft SQL Server endpoint. */ public open fun microsoftSqlServerSettings(`value`: MicrosoftSqlServerSettingsProperty) { - unwrap(this).setMicrosoftSqlServerSettings(`value`.let(MicrosoftSqlServerSettingsProperty::unwrap)) + unwrap(this).setMicrosoftSqlServerSettings(`value`.let(MicrosoftSqlServerSettingsProperty.Companion::unwrap)) } /** @@ -672,14 +672,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source MongoDB endpoint. */ public open fun mongoDbSettings(`value`: IResolvable) { - unwrap(this).setMongoDbSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMongoDbSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source MongoDB endpoint. */ public open fun mongoDbSettings(`value`: MongoDbSettingsProperty) { - unwrap(this).setMongoDbSettings(`value`.let(MongoDbSettingsProperty::unwrap)) + unwrap(this).setMongoDbSettings(`value`.let(MongoDbSettingsProperty.Companion::unwrap)) } /** @@ -699,14 +699,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target MySQL endpoint. */ public open fun mySqlSettings(`value`: IResolvable) { - unwrap(this).setMySqlSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMySqlSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target MySQL endpoint. */ public open fun mySqlSettings(`value`: MySqlSettingsProperty) { - unwrap(this).setMySqlSettings(`value`.let(MySqlSettingsProperty::unwrap)) + unwrap(this).setMySqlSettings(`value`.let(MySqlSettingsProperty.Companion::unwrap)) } /** @@ -726,14 +726,14 @@ public open class CfnEndpoint( * Settings in JSON format for the target Amazon Neptune endpoint. */ public open fun neptuneSettings(`value`: IResolvable) { - unwrap(this).setNeptuneSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setNeptuneSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the target Amazon Neptune endpoint. */ public open fun neptuneSettings(`value`: NeptuneSettingsProperty) { - unwrap(this).setNeptuneSettings(`value`.let(NeptuneSettingsProperty::unwrap)) + unwrap(this).setNeptuneSettings(`value`.let(NeptuneSettingsProperty.Companion::unwrap)) } /** @@ -753,14 +753,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target Oracle endpoint. */ public open fun oracleSettings(`value`: IResolvable) { - unwrap(this).setOracleSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setOracleSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target Oracle endpoint. */ public open fun oracleSettings(`value`: OracleSettingsProperty) { - unwrap(this).setOracleSettings(`value`.let(OracleSettingsProperty::unwrap)) + unwrap(this).setOracleSettings(`value`.let(OracleSettingsProperty.Companion::unwrap)) } /** @@ -804,14 +804,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target PostgreSQL endpoint. */ public open fun postgreSqlSettings(`value`: IResolvable) { - unwrap(this).setPostgreSqlSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setPostgreSqlSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target PostgreSQL endpoint. */ public open fun postgreSqlSettings(`value`: PostgreSqlSettingsProperty) { - unwrap(this).setPostgreSqlSettings(`value`.let(PostgreSqlSettingsProperty::unwrap)) + unwrap(this).setPostgreSqlSettings(`value`.let(PostgreSqlSettingsProperty.Companion::unwrap)) } /** @@ -831,14 +831,14 @@ public open class CfnEndpoint( * Settings in JSON format for the target Redis endpoint. */ public open fun redisSettings(`value`: IResolvable) { - unwrap(this).setRedisSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setRedisSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the target Redis endpoint. */ public open fun redisSettings(`value`: RedisSettingsProperty) { - unwrap(this).setRedisSettings(`value`.let(RedisSettingsProperty::unwrap)) + unwrap(this).setRedisSettings(`value`.let(RedisSettingsProperty.Companion::unwrap)) } /** @@ -858,14 +858,14 @@ public open class CfnEndpoint( * Settings in JSON format for the Amazon Redshift endpoint. */ public open fun redshiftSettings(`value`: IResolvable) { - unwrap(this).setRedshiftSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setRedshiftSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the Amazon Redshift endpoint. */ public open fun redshiftSettings(`value`: RedshiftSettingsProperty) { - unwrap(this).setRedshiftSettings(`value`.let(RedshiftSettingsProperty::unwrap)) + unwrap(this).setRedshiftSettings(`value`.let(RedshiftSettingsProperty.Companion::unwrap)) } /** @@ -899,14 +899,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target Amazon S3 endpoint. */ public open fun s3Settings(`value`: IResolvable) { - unwrap(this).setS3Settings(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3Settings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target Amazon S3 endpoint. */ public open fun s3Settings(`value`: S3SettingsProperty) { - unwrap(this).setS3Settings(`value`.let(S3SettingsProperty::unwrap)) + unwrap(this).setS3Settings(`value`.let(S3SettingsProperty.Companion::unwrap)) } /** @@ -954,14 +954,14 @@ public open class CfnEndpoint( * Settings in JSON format for the source and target SAP ASE endpoint. */ public open fun sybaseSettings(`value`: IResolvable) { - unwrap(this).setSybaseSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSybaseSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings in JSON format for the source and target SAP ASE endpoint. */ public open fun sybaseSettings(`value`: SybaseSettingsProperty) { - unwrap(this).setSybaseSettings(`value`.let(SybaseSettingsProperty::unwrap)) + unwrap(this).setSybaseSettings(`value`.let(SybaseSettingsProperty.Companion::unwrap)) } /** @@ -987,7 +987,7 @@ public open class CfnEndpoint( * One or more tags to be assigned to the endpoint. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1968,7 +1968,7 @@ public open class CfnEndpoint( * @param docDbSettings Settings in JSON format for the source and target DocumentDB endpoint. */ override fun docDbSettings(docDbSettings: IResolvable) { - cdkBuilder.docDbSettings(docDbSettings.let(IResolvable::unwrap)) + cdkBuilder.docDbSettings(docDbSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1985,7 +1985,7 @@ public open class CfnEndpoint( * @param docDbSettings Settings in JSON format for the source and target DocumentDB endpoint. */ override fun docDbSettings(docDbSettings: DocDbSettingsProperty) { - cdkBuilder.docDbSettings(docDbSettings.let(DocDbSettingsProperty::unwrap)) + cdkBuilder.docDbSettings(docDbSettings.let(DocDbSettingsProperty.Companion::unwrap)) } /** @@ -2017,7 +2017,7 @@ public open class CfnEndpoint( * @param dynamoDbSettings Settings in JSON format for the target Amazon DynamoDB endpoint. */ override fun dynamoDbSettings(dynamoDbSettings: IResolvable) { - cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2031,7 +2031,7 @@ public open class CfnEndpoint( * @param dynamoDbSettings Settings in JSON format for the target Amazon DynamoDB endpoint. */ override fun dynamoDbSettings(dynamoDbSettings: DynamoDbSettingsProperty) { - cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(DynamoDbSettingsProperty::unwrap)) + cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(DynamoDbSettingsProperty.Companion::unwrap)) } /** @@ -2061,7 +2061,7 @@ public open class CfnEndpoint( * @param elasticsearchSettings Settings in JSON format for the target OpenSearch endpoint. */ override fun elasticsearchSettings(elasticsearchSettings: IResolvable) { - cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2076,7 +2076,7 @@ public open class CfnEndpoint( * @param elasticsearchSettings Settings in JSON format for the target OpenSearch endpoint. */ override fun elasticsearchSettings(elasticsearchSettings: ElasticsearchSettingsProperty) { - cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(ElasticsearchSettingsProperty::unwrap)) + cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(ElasticsearchSettingsProperty.Companion::unwrap)) } /** @@ -2165,7 +2165,7 @@ public open class CfnEndpoint( * @param gcpMySqlSettings Settings in JSON format for the source GCP MySQL endpoint. */ override fun gcpMySqlSettings(gcpMySqlSettings: IResolvable) { - cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(IResolvable::unwrap)) + cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2180,7 +2180,7 @@ public open class CfnEndpoint( * @param gcpMySqlSettings Settings in JSON format for the source GCP MySQL endpoint. */ override fun gcpMySqlSettings(gcpMySqlSettings: GcpMySQLSettingsProperty) { - cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(GcpMySQLSettingsProperty::unwrap)) + cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(GcpMySQLSettingsProperty.Companion::unwrap)) } /** @@ -2211,7 +2211,7 @@ public open class CfnEndpoint( * @param ibmDb2Settings Settings in JSON format for the source IBM Db2 LUW endpoint. */ override fun ibmDb2Settings(ibmDb2Settings: IResolvable) { - cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(IResolvable::unwrap)) + cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(IResolvable.Companion::unwrap)) } /** @@ -2226,7 +2226,7 @@ public open class CfnEndpoint( * @param ibmDb2Settings Settings in JSON format for the source IBM Db2 LUW endpoint. */ override fun ibmDb2Settings(ibmDb2Settings: IbmDb2SettingsProperty) { - cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(IbmDb2SettingsProperty::unwrap)) + cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(IbmDb2SettingsProperty.Companion::unwrap)) } /** @@ -2257,7 +2257,7 @@ public open class CfnEndpoint( * @param kafkaSettings Settings in JSON format for the target Apache Kafka endpoint. */ override fun kafkaSettings(kafkaSettings: IResolvable) { - cdkBuilder.kafkaSettings(kafkaSettings.let(IResolvable::unwrap)) + cdkBuilder.kafkaSettings(kafkaSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2272,7 +2272,7 @@ public open class CfnEndpoint( * @param kafkaSettings Settings in JSON format for the target Apache Kafka endpoint. */ override fun kafkaSettings(kafkaSettings: KafkaSettingsProperty) { - cdkBuilder.kafkaSettings(kafkaSettings.let(KafkaSettingsProperty::unwrap)) + cdkBuilder.kafkaSettings(kafkaSettings.let(KafkaSettingsProperty.Companion::unwrap)) } /** @@ -2304,7 +2304,7 @@ public open class CfnEndpoint( * Data Streams. */ override fun kinesisSettings(kinesisSettings: IResolvable) { - cdkBuilder.kinesisSettings(kinesisSettings.let(IResolvable::unwrap)) + cdkBuilder.kinesisSettings(kinesisSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2320,7 +2320,7 @@ public open class CfnEndpoint( * Data Streams. */ override fun kinesisSettings(kinesisSettings: KinesisSettingsProperty) { - cdkBuilder.kinesisSettings(kinesisSettings.let(KinesisSettingsProperty::unwrap)) + cdkBuilder.kinesisSettings(kinesisSettings.let(KinesisSettingsProperty.Companion::unwrap)) } /** @@ -2372,7 +2372,7 @@ public open class CfnEndpoint( * SQL Server endpoint. */ override fun microsoftSqlServerSettings(microsoftSqlServerSettings: IResolvable) { - cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(IResolvable::unwrap)) + cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2391,7 +2391,7 @@ public open class CfnEndpoint( */ override fun microsoftSqlServerSettings(microsoftSqlServerSettings: MicrosoftSqlServerSettingsProperty) { - cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(MicrosoftSqlServerSettingsProperty::unwrap)) + cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(MicrosoftSqlServerSettingsProperty.Companion::unwrap)) } /** @@ -2427,7 +2427,7 @@ public open class CfnEndpoint( * @param mongoDbSettings Settings in JSON format for the source MongoDB endpoint. */ override fun mongoDbSettings(mongoDbSettings: IResolvable) { - cdkBuilder.mongoDbSettings(mongoDbSettings.let(IResolvable::unwrap)) + cdkBuilder.mongoDbSettings(mongoDbSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2442,7 +2442,7 @@ public open class CfnEndpoint( * @param mongoDbSettings Settings in JSON format for the source MongoDB endpoint. */ override fun mongoDbSettings(mongoDbSettings: MongoDbSettingsProperty) { - cdkBuilder.mongoDbSettings(mongoDbSettings.let(MongoDbSettingsProperty::unwrap)) + cdkBuilder.mongoDbSettings(mongoDbSettings.let(MongoDbSettingsProperty.Companion::unwrap)) } /** @@ -2475,7 +2475,7 @@ public open class CfnEndpoint( * @param mySqlSettings Settings in JSON format for the source and target MySQL endpoint. */ override fun mySqlSettings(mySqlSettings: IResolvable) { - cdkBuilder.mySqlSettings(mySqlSettings.let(IResolvable::unwrap)) + cdkBuilder.mySqlSettings(mySqlSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2492,7 +2492,7 @@ public open class CfnEndpoint( * @param mySqlSettings Settings in JSON format for the source and target MySQL endpoint. */ override fun mySqlSettings(mySqlSettings: MySqlSettingsProperty) { - cdkBuilder.mySqlSettings(mySqlSettings.let(MySqlSettingsProperty::unwrap)) + cdkBuilder.mySqlSettings(mySqlSettings.let(MySqlSettingsProperty.Companion::unwrap)) } /** @@ -2525,7 +2525,7 @@ public open class CfnEndpoint( * @param neptuneSettings Settings in JSON format for the target Amazon Neptune endpoint. */ override fun neptuneSettings(neptuneSettings: IResolvable) { - cdkBuilder.neptuneSettings(neptuneSettings.let(IResolvable::unwrap)) + cdkBuilder.neptuneSettings(neptuneSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2540,7 +2540,7 @@ public open class CfnEndpoint( * @param neptuneSettings Settings in JSON format for the target Amazon Neptune endpoint. */ override fun neptuneSettings(neptuneSettings: NeptuneSettingsProperty) { - cdkBuilder.neptuneSettings(neptuneSettings.let(NeptuneSettingsProperty::unwrap)) + cdkBuilder.neptuneSettings(neptuneSettings.let(NeptuneSettingsProperty.Companion::unwrap)) } /** @@ -2573,7 +2573,7 @@ public open class CfnEndpoint( * @param oracleSettings Settings in JSON format for the source and target Oracle endpoint. */ override fun oracleSettings(oracleSettings: IResolvable) { - cdkBuilder.oracleSettings(oracleSettings.let(IResolvable::unwrap)) + cdkBuilder.oracleSettings(oracleSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2590,7 +2590,7 @@ public open class CfnEndpoint( * @param oracleSettings Settings in JSON format for the source and target Oracle endpoint. */ override fun oracleSettings(oracleSettings: OracleSettingsProperty) { - cdkBuilder.oracleSettings(oracleSettings.let(OracleSettingsProperty::unwrap)) + cdkBuilder.oracleSettings(oracleSettings.let(OracleSettingsProperty.Companion::unwrap)) } /** @@ -2646,7 +2646,7 @@ public open class CfnEndpoint( * endpoint. */ override fun postgreSqlSettings(postgreSqlSettings: IResolvable) { - cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(IResolvable::unwrap)) + cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2664,7 +2664,7 @@ public open class CfnEndpoint( * endpoint. */ override fun postgreSqlSettings(postgreSqlSettings: PostgreSqlSettingsProperty) { - cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(PostgreSqlSettingsProperty::unwrap)) + cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(PostgreSqlSettingsProperty.Companion::unwrap)) } /** @@ -2699,7 +2699,7 @@ public open class CfnEndpoint( * @param redisSettings Settings in JSON format for the target Redis endpoint. */ override fun redisSettings(redisSettings: IResolvable) { - cdkBuilder.redisSettings(redisSettings.let(IResolvable::unwrap)) + cdkBuilder.redisSettings(redisSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2714,7 +2714,7 @@ public open class CfnEndpoint( * @param redisSettings Settings in JSON format for the target Redis endpoint. */ override fun redisSettings(redisSettings: RedisSettingsProperty) { - cdkBuilder.redisSettings(redisSettings.let(RedisSettingsProperty::unwrap)) + cdkBuilder.redisSettings(redisSettings.let(RedisSettingsProperty.Companion::unwrap)) } /** @@ -2745,7 +2745,7 @@ public open class CfnEndpoint( * @param redshiftSettings Settings in JSON format for the Amazon Redshift endpoint. */ override fun redshiftSettings(redshiftSettings: IResolvable) { - cdkBuilder.redshiftSettings(redshiftSettings.let(IResolvable::unwrap)) + cdkBuilder.redshiftSettings(redshiftSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2760,7 +2760,7 @@ public open class CfnEndpoint( * @param redshiftSettings Settings in JSON format for the Amazon Redshift endpoint. */ override fun redshiftSettings(redshiftSettings: RedshiftSettingsProperty) { - cdkBuilder.redshiftSettings(redshiftSettings.let(RedshiftSettingsProperty::unwrap)) + cdkBuilder.redshiftSettings(redshiftSettings.let(RedshiftSettingsProperty.Companion::unwrap)) } /** @@ -2814,7 +2814,7 @@ public open class CfnEndpoint( * @param s3Settings Settings in JSON format for the source and target Amazon S3 endpoint. */ override fun s3Settings(s3Settings: IResolvable) { - cdkBuilder.s3Settings(s3Settings.let(IResolvable::unwrap)) + cdkBuilder.s3Settings(s3Settings.let(IResolvable.Companion::unwrap)) } /** @@ -2831,7 +2831,7 @@ public open class CfnEndpoint( * @param s3Settings Settings in JSON format for the source and target Amazon S3 endpoint. */ override fun s3Settings(s3Settings: S3SettingsProperty) { - cdkBuilder.s3Settings(s3Settings.let(S3SettingsProperty::unwrap)) + cdkBuilder.s3Settings(s3Settings.let(S3SettingsProperty.Companion::unwrap)) } /** @@ -2891,7 +2891,7 @@ public open class CfnEndpoint( * @param sybaseSettings Settings in JSON format for the source and target SAP ASE endpoint. */ override fun sybaseSettings(sybaseSettings: IResolvable) { - cdkBuilder.sybaseSettings(sybaseSettings.let(IResolvable::unwrap)) + cdkBuilder.sybaseSettings(sybaseSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2908,7 +2908,7 @@ public open class CfnEndpoint( * @param sybaseSettings Settings in JSON format for the source and target SAP ASE endpoint. */ override fun sybaseSettings(sybaseSettings: SybaseSettingsProperty) { - cdkBuilder.sybaseSettings(sybaseSettings.let(SybaseSettingsProperty::unwrap)) + cdkBuilder.sybaseSettings(sybaseSettings.let(SybaseSettingsProperty.Companion::unwrap)) } /** @@ -2936,7 +2936,7 @@ public open class CfnEndpoint( * @param tags One or more tags to be assigned to the endpoint. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -3164,7 +3164,7 @@ public open class CfnEndpoint( * Default value is `"false"` . */ override fun extractDocId(extractDocId: IResolvable) { - cdkBuilder.extractDocId(extractDocId.let(IResolvable::unwrap)) + cdkBuilder.extractDocId(extractDocId.let(IResolvable.Companion::unwrap)) } /** @@ -3932,7 +3932,7 @@ public open class CfnEndpoint( * set this attribute to `false` . */ override fun cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch: IResolvable) { - cdkBuilder.cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch.let(IResolvable::unwrap)) + cdkBuilder.cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch.let(IResolvable.Companion::unwrap)) } /** @@ -4457,7 +4457,7 @@ public open class CfnEndpoint( * The default is true. */ override fun dataCaptureChanges(setDataCaptureChanges: IResolvable) { - cdkBuilder.setDataCaptureChanges(setDataCaptureChanges.let(IResolvable::unwrap)) + cdkBuilder.setDataCaptureChanges(setDataCaptureChanges.let(IResolvable.Companion::unwrap)) } /** @@ -4475,7 +4475,7 @@ public open class CfnEndpoint( * The default value is false. */ override fun keepCsvFiles(keepCsvFiles: IResolvable) { - cdkBuilder.keepCsvFiles(keepCsvFiles.let(IResolvable::unwrap)) + cdkBuilder.keepCsvFiles(keepCsvFiles.let(IResolvable.Companion::unwrap)) } /** @@ -5105,7 +5105,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includeControlDetails(includeControlDetails: IResolvable) { - cdkBuilder.includeControlDetails(includeControlDetails.let(IResolvable::unwrap)) + cdkBuilder.includeControlDetails(includeControlDetails.let(IResolvable.Companion::unwrap)) } /** @@ -5123,7 +5123,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includeNullAndEmpty(includeNullAndEmpty: IResolvable) { - cdkBuilder.includeNullAndEmpty(includeNullAndEmpty.let(IResolvable::unwrap)) + cdkBuilder.includeNullAndEmpty(includeNullAndEmpty.let(IResolvable.Companion::unwrap)) } /** @@ -5141,7 +5141,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includePartitionValue(includePartitionValue: IResolvable) { - cdkBuilder.includePartitionValue(includePartitionValue.let(IResolvable::unwrap)) + cdkBuilder.includePartitionValue(includePartitionValue.let(IResolvable.Companion::unwrap)) } /** @@ -5161,7 +5161,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includeTableAlterOperations(includeTableAlterOperations: IResolvable) { - cdkBuilder.includeTableAlterOperations(includeTableAlterOperations.let(IResolvable::unwrap)) + cdkBuilder.includeTableAlterOperations(includeTableAlterOperations.let(IResolvable.Companion::unwrap)) } /** @@ -5183,7 +5183,7 @@ public open class CfnEndpoint( * within a transaction). The default is `false` . */ override fun includeTransactionDetails(includeTransactionDetails: IResolvable) { - cdkBuilder.includeTransactionDetails(includeTransactionDetails.let(IResolvable::unwrap)) + cdkBuilder.includeTransactionDetails(includeTransactionDetails.let(IResolvable.Companion::unwrap)) } /** @@ -5221,7 +5221,7 @@ public open class CfnEndpoint( * to enable migration of RAW data type columns without adding the '0x' prefix. */ override fun noHexPrefix(noHexPrefix: IResolvable) { - cdkBuilder.noHexPrefix(noHexPrefix.let(IResolvable::unwrap)) + cdkBuilder.noHexPrefix(noHexPrefix.let(IResolvable.Companion::unwrap)) } /** @@ -5245,7 +5245,7 @@ public open class CfnEndpoint( * partition, which causes throttling. The default is `false` . */ override fun partitionIncludeSchemaTable(partitionIncludeSchemaTable: IResolvable) { - cdkBuilder.partitionIncludeSchemaTable(partitionIncludeSchemaTable.let(IResolvable::unwrap)) + cdkBuilder.partitionIncludeSchemaTable(partitionIncludeSchemaTable.let(IResolvable.Companion::unwrap)) } /** @@ -5814,7 +5814,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includeControlDetails(includeControlDetails: IResolvable) { - cdkBuilder.includeControlDetails(includeControlDetails.let(IResolvable::unwrap)) + cdkBuilder.includeControlDetails(includeControlDetails.let(IResolvable.Companion::unwrap)) } /** @@ -5832,7 +5832,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includeNullAndEmpty(includeNullAndEmpty: IResolvable) { - cdkBuilder.includeNullAndEmpty(includeNullAndEmpty.let(IResolvable::unwrap)) + cdkBuilder.includeNullAndEmpty(includeNullAndEmpty.let(IResolvable.Companion::unwrap)) } /** @@ -5850,7 +5850,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includePartitionValue(includePartitionValue: IResolvable) { - cdkBuilder.includePartitionValue(includePartitionValue.let(IResolvable::unwrap)) + cdkBuilder.includePartitionValue(includePartitionValue.let(IResolvable.Companion::unwrap)) } /** @@ -5870,7 +5870,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun includeTableAlterOperations(includeTableAlterOperations: IResolvable) { - cdkBuilder.includeTableAlterOperations(includeTableAlterOperations.let(IResolvable::unwrap)) + cdkBuilder.includeTableAlterOperations(includeTableAlterOperations.let(IResolvable.Companion::unwrap)) } /** @@ -5892,7 +5892,7 @@ public open class CfnEndpoint( * within a transaction). The default is `false` . */ override fun includeTransactionDetails(includeTransactionDetails: IResolvable) { - cdkBuilder.includeTransactionDetails(includeTransactionDetails.let(IResolvable::unwrap)) + cdkBuilder.includeTransactionDetails(includeTransactionDetails.let(IResolvable.Companion::unwrap)) } /** @@ -5922,7 +5922,7 @@ public open class CfnEndpoint( * endpoint setting to enable migration of RAW data type columns without adding the '0x' prefix. */ override fun noHexPrefix(noHexPrefix: IResolvable) { - cdkBuilder.noHexPrefix(noHexPrefix.let(IResolvable::unwrap)) + cdkBuilder.noHexPrefix(noHexPrefix.let(IResolvable.Companion::unwrap)) } /** @@ -5946,7 +5946,7 @@ public open class CfnEndpoint( * which causes throttling. The default is `false` . */ override fun partitionIncludeSchemaTable(partitionIncludeSchemaTable: IResolvable) { - cdkBuilder.partitionIncludeSchemaTable(partitionIncludeSchemaTable.let(IResolvable::unwrap)) + cdkBuilder.partitionIncludeSchemaTable(partitionIncludeSchemaTable.let(IResolvable.Companion::unwrap)) } /** @@ -6540,7 +6540,7 @@ public open class CfnEndpoint( * @param forceLobLookup Forces LOB lookup on inline LOB. */ override fun forceLobLookup(forceLobLookup: IResolvable) { - cdkBuilder.forceLobLookup(forceLobLookup.let(IResolvable::unwrap)) + cdkBuilder.forceLobLookup(forceLobLookup.let(IResolvable.Companion::unwrap)) } /** @@ -6574,7 +6574,7 @@ public open class CfnEndpoint( * different information about the table cached in the replication instance. */ override fun querySingleAlwaysOnNode(querySingleAlwaysOnNode: IResolvable) { - cdkBuilder.querySingleAlwaysOnNode(querySingleAlwaysOnNode.let(IResolvable::unwrap)) + cdkBuilder.querySingleAlwaysOnNode(querySingleAlwaysOnNode.let(IResolvable.Companion::unwrap)) } /** @@ -6598,7 +6598,7 @@ public open class CfnEndpoint( * ongoing replication. */ override fun readBackupOnly(readBackupOnly: IResolvable) { - cdkBuilder.readBackupOnly(readBackupOnly.let(IResolvable::unwrap)) + cdkBuilder.readBackupOnly(readBackupOnly.let(IResolvable.Companion::unwrap)) } /** @@ -6685,7 +6685,7 @@ public open class CfnEndpoint( * Setting `TrimSpaceInChar` does not left-trim data. The default value is `true` . */ override fun trimSpaceInChar(trimSpaceInChar: IResolvable) { - cdkBuilder.trimSpaceInChar(trimSpaceInChar.let(IResolvable::unwrap)) + cdkBuilder.trimSpaceInChar(trimSpaceInChar.let(IResolvable.Companion::unwrap)) } /** @@ -6705,7 +6705,7 @@ public open class CfnEndpoint( * you must disable the use BCP for loading table option. */ override fun useBcpFullLoad(useBcpFullLoad: IResolvable) { - cdkBuilder.useBcpFullLoad(useBcpFullLoad.let(IResolvable::unwrap)) + cdkBuilder.useBcpFullLoad(useBcpFullLoad.let(IResolvable.Companion::unwrap)) } /** @@ -6721,7 +6721,7 @@ public open class CfnEndpoint( * third-party transaction log backups if they are created in native format. */ override fun useThirdPartyBackupDevice(useThirdPartyBackupDevice: IResolvable) { - cdkBuilder.useThirdPartyBackupDevice(useThirdPartyBackupDevice.let(IResolvable::unwrap)) + cdkBuilder.useThirdPartyBackupDevice(useThirdPartyBackupDevice.let(IResolvable.Companion::unwrap)) } /** @@ -7767,7 +7767,7 @@ public open class CfnEndpoint( * different information about the table cached in the replication instance. */ override fun cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch: IResolvable) { - cdkBuilder.cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch.let(IResolvable::unwrap)) + cdkBuilder.cleanSourceMetadataOnMismatch(cleanSourceMetadataOnMismatch.let(IResolvable.Companion::unwrap)) } /** @@ -8199,7 +8199,7 @@ public open class CfnEndpoint( * `ServiceAccessRoleArn` . The default is `false` . */ override fun iamAuthEnabled(iamAuthEnabled: IResolvable) { - cdkBuilder.iamAuthEnabled(iamAuthEnabled.let(IResolvable::unwrap)) + cdkBuilder.iamAuthEnabled(iamAuthEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -9405,7 +9405,7 @@ public open class CfnEndpoint( * replacement using direct file access. */ override fun accessAlternateDirectly(accessAlternateDirectly: IResolvable) { - cdkBuilder.accessAlternateDirectly(accessAlternateDirectly.let(IResolvable::unwrap)) + cdkBuilder.accessAlternateDirectly(accessAlternateDirectly.let(IResolvable.Companion::unwrap)) } /** @@ -9429,7 +9429,7 @@ public open class CfnEndpoint( * If you use this option, you still need to enable database-level supplemental logging. */ override fun addSupplementalLogging(addSupplementalLogging: IResolvable) { - cdkBuilder.addSupplementalLogging(addSupplementalLogging.let(IResolvable::unwrap)) + cdkBuilder.addSupplementalLogging(addSupplementalLogging.let(IResolvable.Companion::unwrap)) } /** @@ -9462,7 +9462,7 @@ public open class CfnEndpoint( * tables containing columns that are nested tables or defined types. */ override fun allowSelectNestedTables(allowSelectNestedTables: IResolvable) { - cdkBuilder.allowSelectNestedTables(allowSelectNestedTables.let(IResolvable::unwrap)) + cdkBuilder.allowSelectNestedTables(allowSelectNestedTables.let(IResolvable.Companion::unwrap)) } /** @@ -9493,7 +9493,7 @@ public open class CfnEndpoint( * DMS user account needs to be granted ASM privileges. */ override fun archivedLogsOnly(archivedLogsOnly: IResolvable) { - cdkBuilder.archivedLogsOnly(archivedLogsOnly.let(IResolvable::unwrap)) + cdkBuilder.archivedLogsOnly(archivedLogsOnly.let(IResolvable.Companion::unwrap)) } /** @@ -9561,7 +9561,7 @@ public open class CfnEndpoint( * database logs. */ override fun directPathNoLog(directPathNoLog: IResolvable) { - cdkBuilder.directPathNoLog(directPathNoLog.let(IResolvable::unwrap)) + cdkBuilder.directPathNoLog(directPathNoLog.let(IResolvable.Companion::unwrap)) } /** @@ -9581,7 +9581,7 @@ public open class CfnEndpoint( * the target table cannot have any constraints or indexes. */ override fun directPathParallelLoad(directPathParallelLoad: IResolvable) { - cdkBuilder.directPathParallelLoad(directPathParallelLoad.let(IResolvable::unwrap)) + cdkBuilder.directPathParallelLoad(directPathParallelLoad.let(IResolvable.Companion::unwrap)) } /** @@ -9597,7 +9597,7 @@ public open class CfnEndpoint( * replication and create existing tables or indexes under the same tablespace on the target. */ override fun enableHomogenousTablespace(enableHomogenousTablespace: IResolvable) { - cdkBuilder.enableHomogenousTablespace(enableHomogenousTablespace.let(IResolvable::unwrap)) + cdkBuilder.enableHomogenousTablespace(enableHomogenousTablespace.let(IResolvable.Companion::unwrap)) } /** @@ -9626,7 +9626,7 @@ public open class CfnEndpoint( * in the *Oracle Database Backup and Recovery User's Guide* . */ override fun extraArchivedLogDestIds(extraArchivedLogDestIds: IResolvable) { - cdkBuilder.extraArchivedLogDestIds(extraArchivedLogDestIds.let(IResolvable::unwrap)) + cdkBuilder.extraArchivedLogDestIds(extraArchivedLogDestIds.let(IResolvable.Companion::unwrap)) } /** @@ -9703,7 +9703,7 @@ public open class CfnEndpoint( * instead of truncating the LOB data. */ override fun failTasksOnLobTruncation(failTasksOnLobTruncation: IResolvable) { - cdkBuilder.failTasksOnLobTruncation(failTasksOnLobTruncation.let(IResolvable::unwrap)) + cdkBuilder.failTasksOnLobTruncation(failTasksOnLobTruncation.let(IResolvable.Companion::unwrap)) } /** @@ -9760,7 +9760,7 @@ public open class CfnEndpoint( * replication. */ override fun readTableSpaceName(readTableSpaceName: IResolvable) { - cdkBuilder.readTableSpaceName(readTableSpaceName.let(IResolvable::unwrap)) + cdkBuilder.readTableSpaceName(readTableSpaceName.let(IResolvable.Companion::unwrap)) } /** @@ -9780,7 +9780,7 @@ public open class CfnEndpoint( * `usePathPrefix` setting to access the redo logs. */ override fun replacePathPrefix(replacePathPrefix: IResolvable) { - cdkBuilder.replacePathPrefix(replacePathPrefix.let(IResolvable::unwrap)) + cdkBuilder.replacePathPrefix(replacePathPrefix.let(IResolvable.Companion::unwrap)) } /** @@ -9929,7 +9929,7 @@ public open class CfnEndpoint( * redo logs. */ override fun useAlternateFolderForOnline(useAlternateFolderForOnline: IResolvable) { - cdkBuilder.useAlternateFolderForOnline(useAlternateFolderForOnline.let(IResolvable::unwrap)) + cdkBuilder.useAlternateFolderForOnline(useAlternateFolderForOnline.let(IResolvable.Companion::unwrap)) } /** @@ -9957,7 +9957,7 @@ public open class CfnEndpoint( * . */ override fun useBFile(useBFile: IResolvable) { - cdkBuilder.useBFile(useBFile.let(IResolvable::unwrap)) + cdkBuilder.useBFile(useBFile.let(IResolvable.Companion::unwrap)) } /** @@ -9977,7 +9977,7 @@ public open class CfnEndpoint( * using this OCI protocol, you can bulk-load Oracle target tables during a full load. */ override fun useDirectPathFullLoad(useDirectPathFullLoad: IResolvable) { - cdkBuilder.useDirectPathFullLoad(useDirectPathFullLoad.let(IResolvable::unwrap)) + cdkBuilder.useDirectPathFullLoad(useDirectPathFullLoad.let(IResolvable.Companion::unwrap)) } /** @@ -10003,7 +10003,7 @@ public open class CfnEndpoint( * in the *AWS DMS User Guide* . */ override fun useLogminerReader(useLogminerReader: IResolvable) { - cdkBuilder.useLogminerReader(useLogminerReader.let(IResolvable::unwrap)) + cdkBuilder.useLogminerReader(useLogminerReader.let(IResolvable.Companion::unwrap)) } /** @@ -10962,7 +10962,7 @@ public open class CfnEndpoint( * database. */ override fun captureDdls(captureDdls: IResolvable) { - cdkBuilder.captureDdls(captureDdls.let(IResolvable::unwrap)) + cdkBuilder.captureDdls(captureDdls.let(IResolvable.Companion::unwrap)) } /** @@ -11015,7 +11015,7 @@ public open class CfnEndpoint( * of truncating the LOB data. */ override fun failTasksOnLobTruncation(failTasksOnLobTruncation: IResolvable) { - cdkBuilder.failTasksOnLobTruncation(failTasksOnLobTruncation.let(IResolvable::unwrap)) + cdkBuilder.failTasksOnLobTruncation(failTasksOnLobTruncation.let(IResolvable.Companion::unwrap)) } /** @@ -11041,7 +11041,7 @@ public open class CfnEndpoint( * The default value is `false` . */ override fun heartbeatEnable(heartbeatEnable: IResolvable) { - cdkBuilder.heartbeatEnable(heartbeatEnable.let(IResolvable::unwrap)) + cdkBuilder.heartbeatEnable(heartbeatEnable.let(IResolvable.Companion::unwrap)) } /** @@ -11079,7 +11079,7 @@ public open class CfnEndpoint( * The default value is `false` . */ override fun mapBooleanAsBoolean(mapBooleanAsBoolean: IResolvable) { - cdkBuilder.mapBooleanAsBoolean(mapBooleanAsBoolean.let(IResolvable::unwrap)) + cdkBuilder.mapBooleanAsBoolean(mapBooleanAsBoolean.let(IResolvable.Companion::unwrap)) } /** @@ -12365,7 +12365,7 @@ public open class CfnEndpoint( * specification, Amazon Redshift inserts a NULL value into that field. */ override fun acceptAnyDate(acceptAnyDate: IResolvable) { - cdkBuilder.acceptAnyDate(acceptAnyDate.let(IResolvable::unwrap)) + cdkBuilder.acceptAnyDate(acceptAnyDate.let(IResolvable.Companion::unwrap)) } /** @@ -12415,7 +12415,7 @@ public open class CfnEndpoint( * The default is `false` . */ override fun caseSensitiveNames(caseSensitiveNames: IResolvable) { - cdkBuilder.caseSensitiveNames(caseSensitiveNames.let(IResolvable::unwrap)) + cdkBuilder.caseSensitiveNames(caseSensitiveNames.let(IResolvable.Companion::unwrap)) } /** @@ -12437,7 +12437,7 @@ public open class CfnEndpoint( * aren't changed. The default is `true` . */ override fun compUpdate(compUpdate: IResolvable) { - cdkBuilder.compUpdate(compUpdate.let(IResolvable::unwrap)) + cdkBuilder.compUpdate(compUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -12476,7 +12476,7 @@ public open class CfnEndpoint( * A value of `true` sets empty CHAR and VARCHAR fields to null. The default is `false` . */ override fun emptyAsNull(emptyAsNull: IResolvable) { - cdkBuilder.emptyAsNull(emptyAsNull.let(IResolvable::unwrap)) + cdkBuilder.emptyAsNull(emptyAsNull.let(IResolvable.Companion::unwrap)) } /** @@ -12515,7 +12515,7 @@ public open class CfnEndpoint( * the tables. The default is `false` . */ override fun explicitIds(explicitIds: IResolvable) { - cdkBuilder.explicitIds(explicitIds.let(IResolvable::unwrap)) + cdkBuilder.explicitIds(explicitIds.let(IResolvable.Companion::unwrap)) } /** @@ -12556,7 +12556,7 @@ public open class CfnEndpoint( * the source and target endpoints for it to take effect. */ override fun mapBooleanAsBoolean(mapBooleanAsBoolean: IResolvable) { - cdkBuilder.mapBooleanAsBoolean(mapBooleanAsBoolean.let(IResolvable::unwrap)) + cdkBuilder.mapBooleanAsBoolean(mapBooleanAsBoolean.let(IResolvable.Companion::unwrap)) } /** @@ -12584,7 +12584,7 @@ public open class CfnEndpoint( * `true` to remove quotation marks. The default is `false` . */ override fun removeQuotes(removeQuotes: IResolvable) { - cdkBuilder.removeQuotes(removeQuotes.let(IResolvable::unwrap)) + cdkBuilder.removeQuotes(removeQuotes.let(IResolvable.Companion::unwrap)) } /** @@ -12682,7 +12682,7 @@ public open class CfnEndpoint( * unneeded white space. The default is `false` . */ override fun trimBlanks(trimBlanks: IResolvable) { - cdkBuilder.trimBlanks(trimBlanks.let(IResolvable::unwrap)) + cdkBuilder.trimBlanks(trimBlanks.let(IResolvable.Companion::unwrap)) } /** @@ -12702,7 +12702,7 @@ public open class CfnEndpoint( * size of 4 MB or less. Choose `true` to truncate data. The default is `false` . */ override fun truncateColumns(truncateColumns: IResolvable) { - cdkBuilder.truncateColumns(truncateColumns.let(IResolvable::unwrap)) + cdkBuilder.truncateColumns(truncateColumns.let(IResolvable.Companion::unwrap)) } /** @@ -14444,7 +14444,7 @@ public open class CfnEndpoint( * The default value is `false` . Valid values are `true` , `false` , `y` , and `n` . */ override fun addColumnName(addColumnName: IResolvable) { - cdkBuilder.addColumnName(addColumnName.let(IResolvable::unwrap)) + cdkBuilder.addColumnName(addColumnName.let(IResolvable.Companion::unwrap)) } /** @@ -14462,7 +14462,7 @@ public open class CfnEndpoint( * The default value is `false` . */ override fun addTrailingPaddingCharacter(addTrailingPaddingCharacter: IResolvable) { - cdkBuilder.addTrailingPaddingCharacter(addTrailingPaddingCharacter.let(IResolvable::unwrap)) + cdkBuilder.addTrailingPaddingCharacter(addTrailingPaddingCharacter.let(IResolvable.Companion::unwrap)) } /** @@ -14546,7 +14546,7 @@ public open class CfnEndpoint( * endpoint, but not both. */ override fun cdcInsertsAndUpdates(cdcInsertsAndUpdates: IResolvable) { - cdkBuilder.cdcInsertsAndUpdates(cdcInsertsAndUpdates.let(IResolvable::unwrap)) + cdkBuilder.cdcInsertsAndUpdates(cdcInsertsAndUpdates.let(IResolvable.Companion::unwrap)) } /** @@ -14602,7 +14602,7 @@ public open class CfnEndpoint( * endpoint, but not both. */ override fun cdcInsertsOnly(cdcInsertsOnly: IResolvable) { - cdkBuilder.cdcInsertsOnly(cdcInsertsOnly.let(IResolvable::unwrap)) + cdkBuilder.cdcInsertsOnly(cdcInsertsOnly.let(IResolvable.Companion::unwrap)) } /** @@ -14772,7 +14772,7 @@ public open class CfnEndpoint( * . */ override fun datePartitionEnabled(datePartitionEnabled: IResolvable) { - cdkBuilder.datePartitionEnabled(datePartitionEnabled.let(IResolvable::unwrap)) + cdkBuilder.datePartitionEnabled(datePartitionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -14828,7 +14828,7 @@ public open class CfnEndpoint( * for .parquet file format only. */ override fun enableStatistics(enableStatistics: IResolvable) { - cdkBuilder.enableStatistics(enableStatistics.let(IResolvable::unwrap)) + cdkBuilder.enableStatistics(enableStatistics.let(IResolvable.Companion::unwrap)) } /** @@ -14907,7 +14907,7 @@ public open class CfnEndpoint( * Creating an AWS Glue catalog lets you use Athena to query your data. */ override fun glueCatalogGeneration(glueCatalogGeneration: IResolvable) { - cdkBuilder.glueCatalogGeneration(glueCatalogGeneration.let(IResolvable::unwrap)) + cdkBuilder.glueCatalogGeneration(glueCatalogGeneration.let(IResolvable.Companion::unwrap)) } /** @@ -14968,7 +14968,7 @@ public open class CfnEndpoint( * in the *AWS Database Migration Service User Guide* . */ override fun includeOpForFullLoad(includeOpForFullLoad: IResolvable) { - cdkBuilder.includeOpForFullLoad(includeOpForFullLoad.let(IResolvable::unwrap)) + cdkBuilder.includeOpForFullLoad(includeOpForFullLoad.let(IResolvable.Companion::unwrap)) } /** @@ -15029,7 +15029,7 @@ public open class CfnEndpoint( * column value that is inserted by setting the `TimestampColumnName` parameter. */ override fun parquetTimestampInMillisecond(parquetTimestampInMillisecond: IResolvable) { - cdkBuilder.parquetTimestampInMillisecond(parquetTimestampInMillisecond.let(IResolvable::unwrap)) + cdkBuilder.parquetTimestampInMillisecond(parquetTimestampInMillisecond.let(IResolvable.Companion::unwrap)) } /** @@ -15067,7 +15067,7 @@ public open class CfnEndpoint( * This setting is supported in AWS DMS versions 3.4.2 and later. */ override fun preserveTransactions(preserveTransactions: IResolvable) { - cdkBuilder.preserveTransactions(preserveTransactions.let(IResolvable::unwrap)) + cdkBuilder.preserveTransactions(preserveTransactions.let(IResolvable.Companion::unwrap)) } /** @@ -15107,7 +15107,7 @@ public open class CfnEndpoint( * The default value is `true` . Valid values include `true` , `false` , `y` , and `n` . */ override fun rfc4180(rfc4180: IResolvable) { - cdkBuilder.rfc4180(rfc4180.let(IResolvable::unwrap)) + cdkBuilder.rfc4180(rfc4180.let(IResolvable.Companion::unwrap)) } /** @@ -15200,7 +15200,7 @@ public open class CfnEndpoint( * This setting is supported in AWS DMS versions 3.4.1 and later. */ override fun useCsvNoSupValue(useCsvNoSupValue: IResolvable) { - cdkBuilder.useCsvNoSupValue(useCsvNoSupValue.let(IResolvable::unwrap)) + cdkBuilder.useCsvNoSupValue(useCsvNoSupValue.let(IResolvable.Companion::unwrap)) } /** @@ -15230,7 +15230,7 @@ public open class CfnEndpoint( */ override fun useTaskStartTimeForFullLoadTimestamp(useTaskStartTimeForFullLoadTimestamp: IResolvable) { - cdkBuilder.useTaskStartTimeForFullLoadTimestamp(useTaskStartTimeForFullLoadTimestamp.let(IResolvable::unwrap)) + cdkBuilder.useTaskStartTimeForFullLoadTimestamp(useTaskStartTimeForFullLoadTimestamp.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dms.CfnEndpoint.S3SettingsProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpointProps.kt index c342e31d51..64a03fa821 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEndpointProps.kt @@ -1364,7 +1364,7 @@ public interface CfnEndpointProps { * *AWS Database Migration Service User Guide* . */ override fun docDbSettings(docDbSettings: IResolvable) { - cdkBuilder.docDbSettings(docDbSettings.let(IResolvable::unwrap)) + cdkBuilder.docDbSettings(docDbSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1377,7 +1377,7 @@ public interface CfnEndpointProps { * *AWS Database Migration Service User Guide* . */ override fun docDbSettings(docDbSettings: CfnEndpoint.DocDbSettingsProperty) { - cdkBuilder.docDbSettings(docDbSettings.let(CfnEndpoint.DocDbSettingsProperty::unwrap)) + cdkBuilder.docDbSettings(docDbSettings.let(CfnEndpoint.DocDbSettingsProperty.Companion::unwrap)) } /** @@ -1401,7 +1401,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun dynamoDbSettings(dynamoDbSettings: IResolvable) { - cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1411,7 +1411,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun dynamoDbSettings(dynamoDbSettings: CfnEndpoint.DynamoDbSettingsProperty) { - cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(CfnEndpoint.DynamoDbSettingsProperty::unwrap)) + cdkBuilder.dynamoDbSettings(dynamoDbSettings.let(CfnEndpoint.DynamoDbSettingsProperty.Companion::unwrap)) } /** @@ -1434,7 +1434,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun elasticsearchSettings(elasticsearchSettings: IResolvable) { - cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1446,7 +1446,7 @@ public interface CfnEndpointProps { */ override fun elasticsearchSettings(elasticsearchSettings: CfnEndpoint.ElasticsearchSettingsProperty) { - cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(CfnEndpoint.ElasticsearchSettingsProperty::unwrap)) + cdkBuilder.elasticsearchSettings(elasticsearchSettings.let(CfnEndpoint.ElasticsearchSettingsProperty.Companion::unwrap)) } /** @@ -1512,7 +1512,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun gcpMySqlSettings(gcpMySqlSettings: IResolvable) { - cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(IResolvable::unwrap)) + cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1523,7 +1523,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun gcpMySqlSettings(gcpMySqlSettings: CfnEndpoint.GcpMySQLSettingsProperty) { - cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(CfnEndpoint.GcpMySQLSettingsProperty::unwrap)) + cdkBuilder.gcpMySqlSettings(gcpMySqlSettings.let(CfnEndpoint.GcpMySQLSettingsProperty.Companion::unwrap)) } /** @@ -1547,7 +1547,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun ibmDb2Settings(ibmDb2Settings: IResolvable) { - cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(IResolvable::unwrap)) + cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(IResolvable.Companion::unwrap)) } /** @@ -1558,7 +1558,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun ibmDb2Settings(ibmDb2Settings: CfnEndpoint.IbmDb2SettingsProperty) { - cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(CfnEndpoint.IbmDb2SettingsProperty::unwrap)) + cdkBuilder.ibmDb2Settings(ibmDb2Settings.let(CfnEndpoint.IbmDb2SettingsProperty.Companion::unwrap)) } /** @@ -1582,7 +1582,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun kafkaSettings(kafkaSettings: IResolvable) { - cdkBuilder.kafkaSettings(kafkaSettings.let(IResolvable::unwrap)) + cdkBuilder.kafkaSettings(kafkaSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1593,7 +1593,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun kafkaSettings(kafkaSettings: CfnEndpoint.KafkaSettingsProperty) { - cdkBuilder.kafkaSettings(kafkaSettings.let(CfnEndpoint.KafkaSettingsProperty::unwrap)) + cdkBuilder.kafkaSettings(kafkaSettings.let(CfnEndpoint.KafkaSettingsProperty.Companion::unwrap)) } /** @@ -1617,7 +1617,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun kinesisSettings(kinesisSettings: IResolvable) { - cdkBuilder.kinesisSettings(kinesisSettings.let(IResolvable::unwrap)) + cdkBuilder.kinesisSettings(kinesisSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1629,7 +1629,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun kinesisSettings(kinesisSettings: CfnEndpoint.KinesisSettingsProperty) { - cdkBuilder.kinesisSettings(kinesisSettings.let(CfnEndpoint.KinesisSettingsProperty::unwrap)) + cdkBuilder.kinesisSettings(kinesisSettings.let(CfnEndpoint.KinesisSettingsProperty.Companion::unwrap)) } /** @@ -1670,7 +1670,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun microsoftSqlServerSettings(microsoftSqlServerSettings: IResolvable) { - cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(IResolvable::unwrap)) + cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1685,7 +1685,7 @@ public interface CfnEndpointProps { */ override fun microsoftSqlServerSettings(microsoftSqlServerSettings: CfnEndpoint.MicrosoftSqlServerSettingsProperty) { - cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(CfnEndpoint.MicrosoftSqlServerSettingsProperty::unwrap)) + cdkBuilder.microsoftSqlServerSettings(microsoftSqlServerSettings.let(CfnEndpoint.MicrosoftSqlServerSettingsProperty.Companion::unwrap)) } /** @@ -1713,7 +1713,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun mongoDbSettings(mongoDbSettings: IResolvable) { - cdkBuilder.mongoDbSettings(mongoDbSettings.let(IResolvable::unwrap)) + cdkBuilder.mongoDbSettings(mongoDbSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1724,7 +1724,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun mongoDbSettings(mongoDbSettings: CfnEndpoint.MongoDbSettingsProperty) { - cdkBuilder.mongoDbSettings(mongoDbSettings.let(CfnEndpoint.MongoDbSettingsProperty::unwrap)) + cdkBuilder.mongoDbSettings(mongoDbSettings.let(CfnEndpoint.MongoDbSettingsProperty.Companion::unwrap)) } /** @@ -1750,7 +1750,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun mySqlSettings(mySqlSettings: IResolvable) { - cdkBuilder.mySqlSettings(mySqlSettings.let(IResolvable::unwrap)) + cdkBuilder.mySqlSettings(mySqlSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1763,7 +1763,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun mySqlSettings(mySqlSettings: CfnEndpoint.MySqlSettingsProperty) { - cdkBuilder.mySqlSettings(mySqlSettings.let(CfnEndpoint.MySqlSettingsProperty::unwrap)) + cdkBuilder.mySqlSettings(mySqlSettings.let(CfnEndpoint.MySqlSettingsProperty.Companion::unwrap)) } /** @@ -1788,7 +1788,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun neptuneSettings(neptuneSettings: IResolvable) { - cdkBuilder.neptuneSettings(neptuneSettings.let(IResolvable::unwrap)) + cdkBuilder.neptuneSettings(neptuneSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1799,7 +1799,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun neptuneSettings(neptuneSettings: CfnEndpoint.NeptuneSettingsProperty) { - cdkBuilder.neptuneSettings(neptuneSettings.let(CfnEndpoint.NeptuneSettingsProperty::unwrap)) + cdkBuilder.neptuneSettings(neptuneSettings.let(CfnEndpoint.NeptuneSettingsProperty.Companion::unwrap)) } /** @@ -1825,7 +1825,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun oracleSettings(oracleSettings: IResolvable) { - cdkBuilder.oracleSettings(oracleSettings.let(IResolvable::unwrap)) + cdkBuilder.oracleSettings(oracleSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1838,7 +1838,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun oracleSettings(oracleSettings: CfnEndpoint.OracleSettingsProperty) { - cdkBuilder.oracleSettings(oracleSettings.let(CfnEndpoint.OracleSettingsProperty::unwrap)) + cdkBuilder.oracleSettings(oracleSettings.let(CfnEndpoint.OracleSettingsProperty.Companion::unwrap)) } /** @@ -1881,7 +1881,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun postgreSqlSettings(postgreSqlSettings: IResolvable) { - cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(IResolvable::unwrap)) + cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1895,7 +1895,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun postgreSqlSettings(postgreSqlSettings: CfnEndpoint.PostgreSqlSettingsProperty) { - cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(CfnEndpoint.PostgreSqlSettingsProperty::unwrap)) + cdkBuilder.postgreSqlSettings(postgreSqlSettings.let(CfnEndpoint.PostgreSqlSettingsProperty.Companion::unwrap)) } /** @@ -1922,7 +1922,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun redisSettings(redisSettings: IResolvable) { - cdkBuilder.redisSettings(redisSettings.let(IResolvable::unwrap)) + cdkBuilder.redisSettings(redisSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1933,7 +1933,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun redisSettings(redisSettings: CfnEndpoint.RedisSettingsProperty) { - cdkBuilder.redisSettings(redisSettings.let(CfnEndpoint.RedisSettingsProperty::unwrap)) + cdkBuilder.redisSettings(redisSettings.let(CfnEndpoint.RedisSettingsProperty.Companion::unwrap)) } /** @@ -1956,7 +1956,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun redshiftSettings(redshiftSettings: IResolvable) { - cdkBuilder.redshiftSettings(redshiftSettings.let(IResolvable::unwrap)) + cdkBuilder.redshiftSettings(redshiftSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1967,7 +1967,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun redshiftSettings(redshiftSettings: CfnEndpoint.RedshiftSettingsProperty) { - cdkBuilder.redshiftSettings(redshiftSettings.let(CfnEndpoint.RedshiftSettingsProperty::unwrap)) + cdkBuilder.redshiftSettings(redshiftSettings.let(CfnEndpoint.RedshiftSettingsProperty.Companion::unwrap)) } /** @@ -2009,7 +2009,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun s3Settings(s3Settings: IResolvable) { - cdkBuilder.s3Settings(s3Settings.let(IResolvable::unwrap)) + cdkBuilder.s3Settings(s3Settings.let(IResolvable.Companion::unwrap)) } /** @@ -2022,7 +2022,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun s3Settings(s3Settings: CfnEndpoint.S3SettingsProperty) { - cdkBuilder.s3Settings(s3Settings.let(CfnEndpoint.S3SettingsProperty::unwrap)) + cdkBuilder.s3Settings(s3Settings.let(CfnEndpoint.S3SettingsProperty.Companion::unwrap)) } /** @@ -2066,7 +2066,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun sybaseSettings(sybaseSettings: IResolvable) { - cdkBuilder.sybaseSettings(sybaseSettings.let(IResolvable::unwrap)) + cdkBuilder.sybaseSettings(sybaseSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2079,7 +2079,7 @@ public interface CfnEndpointProps { * in the *AWS Database Migration Service User Guide* . */ override fun sybaseSettings(sybaseSettings: CfnEndpoint.SybaseSettingsProperty) { - cdkBuilder.sybaseSettings(sybaseSettings.let(CfnEndpoint.SybaseSettingsProperty::unwrap)) + cdkBuilder.sybaseSettings(sybaseSettings.let(CfnEndpoint.SybaseSettingsProperty.Companion::unwrap)) } /** @@ -2101,7 +2101,7 @@ public interface CfnEndpointProps { * @param tags One or more tags to be assigned to the endpoint. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscription.kt index f62fade263..b4b59f6bcf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscription.kt @@ -58,8 +58,8 @@ public open class CfnEventSubscription( id: String, props: CfnEventSubscriptionProps, ) : - this(software.amazon.awscdk.services.dms.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnEventSubscription( * Indicates whether to activate the subscription. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnEventSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnEventSubscription( * One or more tags to be assigned to the event subscription. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class CfnEventSubscription( * @param enabled Indicates whether to activate the subscription. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnEventSubscription( * @param tags One or more tags to be assigned to the event subscription. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscriptionProps.kt index 05a902e53c..a573a1a737 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnEventSubscriptionProps.kt @@ -216,7 +216,7 @@ public interface CfnEventSubscriptionProps { * If you don't specify this property, AWS CloudFormation activates the subscription. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public interface CfnEventSubscriptionProps { * @param tags One or more tags to be assigned to the event subscription. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfile.kt index 112f237125..2c41e463fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfile.kt @@ -51,7 +51,7 @@ public open class CfnInstanceProfile( cdkObject: software.amazon.awscdk.services.dms.CfnInstanceProfile, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.dms.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.dms.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnInstanceProfile( id: String, props: CfnInstanceProfileProps, ) : - this(software.amazon.awscdk.services.dms.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProfileProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProfileProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnInstanceProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnInstanceProfile( * Specifies the accessibility options for the instance profile. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnInstanceProfile( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CfnInstanceProfile( * @param publiclyAccessible Specifies the accessibility options for the instance profile. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CfnInstanceProfile( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfileProps.kt index a193257d6a..92c12afafe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnInstanceProfileProps.kt @@ -307,7 +307,7 @@ public interface CfnInstanceProfileProps { * represents an instance profile with a private IP address. The default value is `true` . */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public interface CfnInstanceProfileProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProject.kt index d1e6783eb6..4a397fb7d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProject.kt @@ -71,7 +71,7 @@ public open class CfnMigrationProject( cdkObject: software.amazon.awscdk.services.dms.CfnMigrationProject, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.dms.CfnMigrationProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.dms.CfnMigrationProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -80,8 +80,8 @@ public open class CfnMigrationProject( id: String, props: CfnMigrationProjectProps, ) : - this(software.amazon.awscdk.services.dms.CfnMigrationProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMigrationProjectProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnMigrationProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMigrationProjectProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnMigrationProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnMigrationProject( * role ARN. */ public open fun schemaConversionApplicationAttributes(`value`: IResolvable) { - unwrap(this).setSchemaConversionApplicationAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchemaConversionApplicationAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnMigrationProject( */ public open fun schemaConversionApplicationAttributes(`value`: SchemaConversionApplicationAttributesProperty) { - unwrap(this).setSchemaConversionApplicationAttributes(`value`.let(SchemaConversionApplicationAttributesProperty::unwrap)) + unwrap(this).setSchemaConversionApplicationAttributes(`value`.let(SchemaConversionApplicationAttributesProperty.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnMigrationProject( * parameters. */ public open fun sourceDataProviderDescriptors(`value`: IResolvable) { - unwrap(this).setSourceDataProviderDescriptors(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceDataProviderDescriptors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnMigrationProject( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnMigrationProject( * parameters. */ public open fun targetDataProviderDescriptors(`value`: IResolvable) { - unwrap(this).setTargetDataProviderDescriptors(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetDataProviderDescriptors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class CfnMigrationProject( */ override fun schemaConversionApplicationAttributes(schemaConversionApplicationAttributes: IResolvable) { - cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(IResolvable::unwrap)) + cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnMigrationProject( */ override fun schemaConversionApplicationAttributes(schemaConversionApplicationAttributes: SchemaConversionApplicationAttributesProperty) { - cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(SchemaConversionApplicationAttributesProperty::unwrap)) + cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(SchemaConversionApplicationAttributesProperty.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnMigrationProject( * the name or ARN, and AWS Secrets Manager parameters. */ override fun sourceDataProviderDescriptors(sourceDataProviderDescriptors: IResolvable) { - cdkBuilder.sourceDataProviderDescriptors(sourceDataProviderDescriptors.let(IResolvable::unwrap)) + cdkBuilder.sourceDataProviderDescriptors(sourceDataProviderDescriptors.let(IResolvable.Companion::unwrap)) } /** @@ -688,7 +688,7 @@ public open class CfnMigrationProject( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class CfnMigrationProject( * the name or ARN, and AWS Secrets Manager parameters. */ override fun targetDataProviderDescriptors(targetDataProviderDescriptors: IResolvable) { - cdkBuilder.targetDataProviderDescriptors(targetDataProviderDescriptors.let(IResolvable::unwrap)) + cdkBuilder.targetDataProviderDescriptors(targetDataProviderDescriptors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProjectProps.kt index 9e549f3996..b55870ad60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnMigrationProjectProps.kt @@ -349,7 +349,7 @@ public interface CfnMigrationProjectProps { */ override fun schemaConversionApplicationAttributes(schemaConversionApplicationAttributes: IResolvable) { - cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(IResolvable::unwrap)) + cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface CfnMigrationProjectProps { */ override fun schemaConversionApplicationAttributes(schemaConversionApplicationAttributes: CfnMigrationProject.SchemaConversionApplicationAttributesProperty) { - cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(CfnMigrationProject.SchemaConversionApplicationAttributesProperty::unwrap)) + cdkBuilder.schemaConversionApplicationAttributes(schemaConversionApplicationAttributes.let(CfnMigrationProject.SchemaConversionApplicationAttributesProperty.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public interface CfnMigrationProjectProps { * the name or ARN, and AWS Secrets Manager parameters. */ override fun sourceDataProviderDescriptors(sourceDataProviderDescriptors: IResolvable) { - cdkBuilder.sourceDataProviderDescriptors(sourceDataProviderDescriptors.let(IResolvable::unwrap)) + cdkBuilder.sourceDataProviderDescriptors(sourceDataProviderDescriptors.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface CfnMigrationProjectProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface CfnMigrationProjectProps { * the name or ARN, and AWS Secrets Manager parameters. */ override fun targetDataProviderDescriptors(targetDataProviderDescriptors: IResolvable) { - cdkBuilder.targetDataProviderDescriptors(targetDataProviderDescriptors.let(IResolvable::unwrap)) + cdkBuilder.targetDataProviderDescriptors(targetDataProviderDescriptors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfig.kt index d28c8bb8ea..820b510c20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfig.kt @@ -69,7 +69,7 @@ public open class CfnReplicationConfig( cdkObject: software.amazon.awscdk.services.dms.CfnReplicationConfig, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.dms.CfnReplicationConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.dms.CfnReplicationConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -78,8 +78,8 @@ public open class CfnReplicationConfig( id: String, props: CfnReplicationConfigProps, ) : - this(software.amazon.awscdk.services.dms.CfnReplicationConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationConfigProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnReplicationConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationConfigProps.Companion::unwrap)) ) public constructor( @@ -109,14 +109,14 @@ public open class CfnReplicationConfig( * Configuration parameters for provisioning an AWS DMS Serverless replication. */ public open fun computeConfig(`value`: IResolvable) { - unwrap(this).setComputeConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setComputeConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration parameters for provisioning an AWS DMS Serverless replication. */ public open fun computeConfig(`value`: ComputeConfigProperty) { - unwrap(this).setComputeConfig(`value`.let(ComputeConfigProperty::unwrap)) + unwrap(this).setComputeConfig(`value`.let(ComputeConfigProperty.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnReplicationConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnReplicationConfig( * One or more optional tags associated with resources used by the AWS DMS Serverless replication. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public open class CfnReplicationConfig( * replication. */ override fun computeConfig(computeConfig: IResolvable) { - cdkBuilder.computeConfig(computeConfig.let(IResolvable::unwrap)) + cdkBuilder.computeConfig(computeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnReplicationConfig( * replication. */ override fun computeConfig(computeConfig: ComputeConfigProperty) { - cdkBuilder.computeConfig(computeConfig.let(ComputeConfigProperty::unwrap)) + cdkBuilder.computeConfig(computeConfig.let(ComputeConfigProperty.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnReplicationConfig( * Serverless replication. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public open class CfnReplicationConfig( * . */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfigProps.kt index b68d9e7b9e..32d54a475d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationConfigProps.kt @@ -282,7 +282,7 @@ public interface CfnReplicationConfigProps { * replication. */ override fun computeConfig(computeConfig: IResolvable) { - cdkBuilder.computeConfig(computeConfig.let(IResolvable::unwrap)) + cdkBuilder.computeConfig(computeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface CfnReplicationConfigProps { * replication. */ override fun computeConfig(computeConfig: CfnReplicationConfig.ComputeConfigProperty) { - cdkBuilder.computeConfig(computeConfig.let(CfnReplicationConfig.ComputeConfigProperty::unwrap)) + cdkBuilder.computeConfig(computeConfig.let(CfnReplicationConfig.ComputeConfigProperty.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface CfnReplicationConfigProps { * Service](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstance.kt index e5fc920ff3..46306e9574 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstance.kt @@ -65,8 +65,8 @@ public open class CfnReplicationInstance( id: String, props: CfnReplicationInstanceProps, ) : - this(software.amazon.awscdk.services.dms.CfnReplicationInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationInstanceProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnReplicationInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationInstanceProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnReplicationInstance( * Indicates that major version upgrades are allowed. */ public open fun allowMajorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAllowMajorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowMajorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnReplicationInstance( * replication instance during the maintenance window. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnReplicationInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnReplicationInstance( * Specifies whether the replication instance is a Multi-AZ deployment. */ public open fun multiAz(`value`: IResolvable) { - unwrap(this).setMultiAz(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiAz(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnReplicationInstance( * Specifies the accessibility options for the replication instance. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnReplicationInstance( * One or more tags to be assigned to the replication instance. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -660,7 +660,7 @@ public open class CfnReplicationInstance( * @param allowMajorVersionUpgrade Indicates that major version upgrades are allowed. */ override fun allowMajorVersionUpgrade(allowMajorVersionUpgrade: IResolvable) { - cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnReplicationInstance( * applied automatically to the replication instance during the maintenance window. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnReplicationInstance( * @param multiAz Specifies whether the replication instance is a Multi-AZ deployment. */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** @@ -806,7 +806,7 @@ public open class CfnReplicationInstance( * @param publiclyAccessible Specifies the accessibility options for the replication instance. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public open class CfnReplicationInstance( * @param tags One or more tags to be assigned to the replication instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstanceProps.kt index 0d93edaccd..c96c3b7f8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationInstanceProps.kt @@ -435,7 +435,7 @@ public interface CfnReplicationInstanceProps { * parameter that is a different major version than the replication instance's current version. */ override fun allowMajorVersionUpgrade(allowMajorVersionUpgrade: IResolvable) { - cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface CfnReplicationInstanceProps { * Default: `true` */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public interface CfnReplicationInstanceProps { * You can't set the `AvailabilityZone` parameter if the Multi-AZ parameter is set to `true` . */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public interface CfnReplicationInstanceProps { * represents an instance with a private IP address. The default value is `true` . */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface CfnReplicationInstanceProps { * @param tags One or more tags to be assigned to the replication instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroup.kt index ce8f6afad6..878dd44f09 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroup.kt @@ -57,8 +57,8 @@ public open class CfnReplicationSubnetGroup( id: String, props: CfnReplicationSubnetGroupProps, ) : - this(software.amazon.awscdk.services.dms.CfnReplicationSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnReplicationSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnReplicationSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnReplicationSubnetGroup( * One or more tags to be assigned to the subnet group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnReplicationSubnetGroup( * @param tags One or more tags to be assigned to the subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroupProps.kt index 9a2a1ad532..811f0e1fdc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationSubnetGroupProps.kt @@ -142,7 +142,7 @@ public interface CfnReplicationSubnetGroupProps { * @param tags One or more tags to be assigned to the subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTask.kt index 6125cdd039..687e209f78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTask.kt @@ -57,8 +57,8 @@ public open class CfnReplicationTask( id: String, props: CfnReplicationTaskProps, ) : - this(software.amazon.awscdk.services.dms.CfnReplicationTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationTaskProps::unwrap)) + this(software.amazon.awscdk.services.dms.CfnReplicationTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationTaskProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnReplicationTask( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnReplicationTask( * One or more tags to be assigned to the replication task. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnReplicationTask( * @param tags One or more tags to be assigned to the replication task. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTaskProps.kt index e1a4149149..e5667d8851 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dms/CfnReplicationTaskProps.kt @@ -449,7 +449,7 @@ public interface CfnReplicationTaskProps { * @param tags One or more tags to be assigned to the replication task. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/BackupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/BackupProps.kt index 4a36016dce..892c0eff54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/BackupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/BackupProps.kt @@ -90,7 +90,7 @@ public interface BackupProps { * @param retention How many days to retain the backup. */ override fun retention(retention: Duration) { - cdkBuilder.retention(retention.let(Duration::unwrap)) + cdkBuilder.retention(retention.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.docdb.BackupProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CaCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CaCertificate.kt new file mode 100644 index 0000000000..ec247489c7 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CaCertificate.kt @@ -0,0 +1,44 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.docdb + +import io.cloudshiftdev.awscdk.common.CdkObject +import kotlin.String + +/** + * The CA certificate used for a DB instance. + * + * [Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) + */ +public open class CaCertificate( + cdkObject: software.amazon.awscdk.services.docdb.CaCertificate, +) : CdkObject(cdkObject) { + public companion object { + public val RDS_CA_2019: io.cloudshiftdev.awscdk.services.rds.CaCertificate = + io.cloudshiftdev.awscdk.services.rds.CaCertificate.wrap(software.amazon.awscdk.services.docdb.CaCertificate.RDS_CA_2019) + + public val RDS_CA_ECC384_G1: io.cloudshiftdev.awscdk.services.rds.CaCertificate = + io.cloudshiftdev.awscdk.services.rds.CaCertificate.wrap(software.amazon.awscdk.services.docdb.CaCertificate.RDS_CA_ECC384_G1) + + public val RDS_CA_RDS2048_G1: io.cloudshiftdev.awscdk.services.rds.CaCertificate = + io.cloudshiftdev.awscdk.services.rds.CaCertificate.wrap(software.amazon.awscdk.services.docdb.CaCertificate.RDS_CA_RDS2048_G1) + + public val RDS_CA_RDS4096_G1: io.cloudshiftdev.awscdk.services.rds.CaCertificate = + io.cloudshiftdev.awscdk.services.rds.CaCertificate.wrap(software.amazon.awscdk.services.docdb.CaCertificate.RDS_CA_RDS4096_G1) + + public val RDS_CA_RSA2048_G1: io.cloudshiftdev.awscdk.services.rds.CaCertificate = + io.cloudshiftdev.awscdk.services.rds.CaCertificate.wrap(software.amazon.awscdk.services.docdb.CaCertificate.RDS_CA_RSA2048_G1) + + public val RDS_CA_RSA4096_G1: io.cloudshiftdev.awscdk.services.rds.CaCertificate = + io.cloudshiftdev.awscdk.services.rds.CaCertificate.wrap(software.amazon.awscdk.services.docdb.CaCertificate.RDS_CA_RSA4096_G1) + + public fun of(identifier: String): io.cloudshiftdev.awscdk.services.rds.CaCertificate = + software.amazon.awscdk.services.docdb.CaCertificate.of(identifier).let(io.cloudshiftdev.awscdk.services.rds.CaCertificate::wrap) + + internal fun wrap(cdkObject: software.amazon.awscdk.services.docdb.CaCertificate): CaCertificate + = CaCertificate(cdkObject) + + internal fun unwrap(wrapped: CaCertificate): software.amazon.awscdk.services.docdb.CaCertificate + = wrapped.cdkObject as software.amazon.awscdk.services.docdb.CaCertificate + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBCluster.kt index 0cd5369b2b..1366e39ba3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBCluster.kt @@ -71,7 +71,7 @@ public open class CfnDBCluster( cdkObject: software.amazon.awscdk.services.docdb.CfnDBCluster, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.docdb.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.docdb.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -80,8 +80,8 @@ public open class CfnDBCluster( id: String, props: CfnDBClusterProps, ) : - this(software.amazon.awscdk.services.docdb.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBClusterProps::unwrap)) + this(software.amazon.awscdk.services.docdb.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBClusterProps.Companion::unwrap)) ) public constructor( @@ -175,7 +175,7 @@ public open class CfnDBCluster( * */ public open fun copyTagsToSnapshot(`value`: IResolvable) { - unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable::unwrap)) + unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnDBCluster( * Protects clusters from being accidentally deleted. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnDBCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class CfnDBCluster( * Specifies whether the cluster is encrypted. */ public open fun storageEncrypted(`value`: IResolvable) { - unwrap(this).setStorageEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnDBCluster( * The tags to be assigned to the cluster. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnDBCluster( * `false` otherwise. */ public open fun useLatestRestorableTime(`value`: IResolvable) { - unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public open class CfnDBCluster( * @param copyTagsToSnapshot */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -1042,7 +1042,7 @@ public open class CfnDBCluster( * @param deletionProtection Protects clusters from being accidentally deleted. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -1289,7 +1289,7 @@ public open class CfnDBCluster( * @param storageEncrypted Specifies whether the cluster is encrypted. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1322,7 +1322,7 @@ public open class CfnDBCluster( * @param tags The tags to be assigned to the cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1362,7 +1362,7 @@ public open class CfnDBCluster( * latest restorable backup time, and `false` otherwise. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroup.kt index c92469bd31..7c048b0982 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroup.kt @@ -72,8 +72,8 @@ public open class CfnDBClusterParameterGroup( id: String, props: CfnDBClusterParameterGroupProps, ) : - this(software.amazon.awscdk.services.docdb.CfnDBClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBClusterParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.docdb.CfnDBClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBClusterParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnDBClusterParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnDBClusterParameterGroup( * The tags to be assigned to the cluster parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnDBClusterParameterGroup( * @param tags The tags to be assigned to the cluster parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroupProps.kt index 1f3ce5c979..327d5a165e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterParameterGroupProps.kt @@ -166,7 +166,7 @@ public interface CfnDBClusterParameterGroupProps { * @param tags The tags to be assigned to the cluster parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterProps.kt index c93f61ed84..a37a600bfe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBClusterProps.kt @@ -686,7 +686,7 @@ public interface CfnDBClusterProps { * @param copyTagsToSnapshot the value to be set. */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -737,7 +737,7 @@ public interface CfnDBClusterProps { * disabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public interface CfnDBClusterProps { * @param storageEncrypted Specifies whether the cluster is encrypted. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -950,7 +950,7 @@ public interface CfnDBClusterProps { * @param tags The tags to be assigned to the cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -977,7 +977,7 @@ public interface CfnDBClusterProps { * Constraints: Cannot be specified if the `RestoreToTime` parameter is provided. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstance.kt index 3dda22eb24..c259be4102 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstance.kt @@ -60,8 +60,8 @@ public open class CfnDBInstance( id: String, props: CfnDBInstanceProps, ) : - this(software.amazon.awscdk.services.docdb.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBInstanceProps::unwrap)) + this(software.amazon.awscdk.services.docdb.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBInstanceProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnDBInstance( * This parameter does not apply to Amazon DocumentDB. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnDBInstance( * Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. */ public open fun certificateRotationRestart(`value`: IResolvable) { - unwrap(this).setCertificateRotationRestart(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificateRotationRestart(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnDBInstance( * A value that indicates whether to enable Performance Insights for the DB Instance. */ public open fun enablePerformanceInsights(`value`: IResolvable) { - unwrap(this).setEnablePerformanceInsights(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnablePerformanceInsights(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnDBInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnDBInstance( * The tags to be assigned to the instance. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public open class CfnDBInstance( * @param autoMinorVersionUpgrade This parameter does not apply to Amazon DocumentDB. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class CfnDBInstance( * rotate your SSL/TLS certificate. */ override fun certificateRotationRestart(certificateRotationRestart: IResolvable) { - cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable::unwrap)) + cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public open class CfnDBInstance( * Insights for the DB Instance. */ override fun enablePerformanceInsights(enablePerformanceInsights: IResolvable) { - cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public open class CfnDBInstance( * @param tags The tags to be assigned to the instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstanceProps.kt index ad321744e8..d99bdf4187 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBInstanceProps.kt @@ -337,7 +337,7 @@ public interface CfnDBInstanceProps { * Default: `false` */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public interface CfnDBInstanceProps { * in the *Amazon DocumentDB Developer Guide* . */ override fun certificateRotationRestart(certificateRotationRestart: IResolvable) { - cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable::unwrap)) + cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public interface CfnDBInstanceProps { * . */ override fun enablePerformanceInsights(enablePerformanceInsights: IResolvable) { - cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface CfnDBInstanceProps { * You can assign up to 10 tags to an instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroup.kt index d7ddff1b3b..2683c82627 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroup.kt @@ -52,8 +52,8 @@ public open class CfnDBSubnetGroup( id: String, props: CfnDBSubnetGroupProps, ) : - this(software.amazon.awscdk.services.docdb.CfnDBSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.docdb.CfnDBSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnDBSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnDBSubnetGroup( * The tags to be assigned to the subnet group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnDBSubnetGroup( * @param tags The tags to be assigned to the subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroupProps.kt index 9dbdc52167..1dabb763cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnDBSubnetGroupProps.kt @@ -147,7 +147,7 @@ public interface CfnDBSubnetGroupProps { * @param tags The tags to be assigned to the subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscription.kt index bb9f3844ea..ed534cddc6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscription.kt @@ -64,8 +64,8 @@ public open class CfnEventSubscription( id: String, props: CfnEventSubscriptionProps, ) : - this(software.amazon.awscdk.services.docdb.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.docdb.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnEventSubscription( * A Boolean value; */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnEventSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnEventSubscription( * @param enabled A Boolean value;. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscriptionProps.kt index 9b2445f857..719658cfba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/CfnEventSubscriptionProps.kt @@ -208,7 +208,7 @@ public interface CfnEventSubscriptionProps { * active it. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/ClusterParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/ClusterParameterGroup.kt index 019d1445c5..ddc075998d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/ClusterParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/ClusterParameterGroup.kt @@ -38,8 +38,8 @@ public open class ClusterParameterGroup( id: String, props: ClusterParameterGroupProps, ) : - this(software.amazon.awscdk.services.docdb.ClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ClusterParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.docdb.ClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ClusterParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class ClusterParameterGroup( id: String, parameterGroupName: String, ): IClusterParameterGroup = - software.amazon.awscdk.services.docdb.ClusterParameterGroup.fromParameterGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.docdb.ClusterParameterGroup.fromParameterGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, parameterGroupName).let(IClusterParameterGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseCluster.kt index 9eb1ddfe47..ff7cacaec1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseCluster.kt @@ -14,6 +14,7 @@ import io.cloudshiftdev.awscdk.services.ec2.SubnetSelection import io.cloudshiftdev.awscdk.services.iam.IRole import io.cloudshiftdev.awscdk.services.kms.IKey import io.cloudshiftdev.awscdk.services.logs.RetentionDays +import io.cloudshiftdev.awscdk.services.rds.CaCertificate import io.cloudshiftdev.awscdk.services.secretsmanager.ISecret import io.cloudshiftdev.awscdk.services.secretsmanager.SecretAttachmentTargetProps import io.cloudshiftdev.awscdk.services.secretsmanager.SecretRotation @@ -44,7 +45,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .subnetType(SubnetType.PUBLIC) * .build()) * .vpc(vpc) - * .removalPolicy(RemovalPolicy.SNAPSHOT) + * .caCertificate(CaCertificate.RDS_CA_RSA4096_G1) * .build(); * ``` */ @@ -56,8 +57,8 @@ public open class DatabaseCluster( id: String, props: DatabaseClusterProps, ) : - this(software.amazon.awscdk.services.docdb.DatabaseCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseClusterProps::unwrap)) + this(software.amazon.awscdk.services.docdb.DatabaseCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseClusterProps.Companion::unwrap)) ) public constructor( @@ -75,7 +76,7 @@ public open class DatabaseCluster( */ public open fun addRotationMultiUser(id: String, options: RotationMultiUserOptions): SecretRotation = unwrap(this).addRotationMultiUser(id, - options.let(RotationMultiUserOptions::unwrap)).let(SecretRotation::wrap) + options.let(RotationMultiUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the multi user rotation to this cluster. @@ -105,7 +106,7 @@ public open class DatabaseCluster( * Secrets Manager triggers the next automatic rotation. */ public open fun addRotationSingleUser(automaticallyAfter: Duration): SecretRotation = - unwrap(this).addRotationSingleUser(automaticallyAfter.let(Duration::unwrap)).let(SecretRotation::wrap) + unwrap(this).addRotationSingleUser(automaticallyAfter.let(Duration.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds security groups to this cluster. @@ -207,6 +208,18 @@ public open class DatabaseCluster( @JvmName("c96b7df7819668cd86079d0487b9e2f82c8b347b3683ead131c1b3fe19811fac") public fun backup(backup: BackupProps.Builder.() -> Unit) + /** + * The identifier of the CA certificate used for the instances. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + * @param caCertificate The identifier of the CA certificate used for the instances. + */ + public fun caCertificate(caCertificate: CaCertificate) + /** * The number of days log events are kept in CloudWatch Logs. * @@ -231,6 +244,15 @@ public open class DatabaseCluster( */ public fun cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole: IRole) + /** + * Whether to copy tags to the snapshot when a snapshot is created. + * + * Default: - false + * + * @param copyTagsToSnapshot Whether to copy tags to the snapshot when a snapshot is created. + */ + public fun copyTagsToSnapshot(copyTagsToSnapshot: Boolean) + /** * An optional identifier for the cluster. * @@ -501,7 +523,7 @@ public open class DatabaseCluster( * @param backup Backup settings. */ override fun backup(backup: BackupProps) { - cdkBuilder.backup(backup.let(BackupProps::unwrap)) + cdkBuilder.backup(backup.let(BackupProps.Companion::unwrap)) } /** @@ -518,6 +540,20 @@ public open class DatabaseCluster( @JvmName("c96b7df7819668cd86079d0487b9e2f82c8b347b3683ead131c1b3fe19811fac") override fun backup(backup: BackupProps.Builder.() -> Unit): Unit = backup(BackupProps(backup)) + /** + * The identifier of the CA certificate used for the instances. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + * @param caCertificate The identifier of the CA certificate used for the instances. + */ + override fun caCertificate(caCertificate: CaCertificate) { + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) + } + /** * The number of days log events are kept in CloudWatch Logs. * @@ -530,7 +566,7 @@ public open class DatabaseCluster( * @param cloudWatchLogsRetention The number of days log events are kept in CloudWatch Logs. */ override fun cloudWatchLogsRetention(cloudWatchLogsRetention: RetentionDays) { - cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -543,7 +579,18 @@ public open class DatabaseCluster( * custom resource that sets the retention policy. */ override fun cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole: IRole) { - cdkBuilder.cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole.let(IRole.Companion::unwrap)) + } + + /** + * Whether to copy tags to the snapshot when a snapshot is created. + * + * Default: - false + * + * @param copyTagsToSnapshot Whether to copy tags to the snapshot when a snapshot is created. + */ + override fun copyTagsToSnapshot(copyTagsToSnapshot: Boolean) { + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot) } /** @@ -654,7 +701,7 @@ public open class DatabaseCluster( * @param instanceRemovalPolicy The removal policy to apply to the cluster's instances. */ override fun instanceRemovalPolicy(instanceRemovalPolicy: RemovalPolicy) { - cdkBuilder.instanceRemovalPolicy(instanceRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.instanceRemovalPolicy(instanceRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -663,7 +710,7 @@ public open class DatabaseCluster( * @param instanceType What type of instance to start for the replicas. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -685,7 +732,7 @@ public open class DatabaseCluster( * @param kmsKey The KMS key for storage encryption. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -694,7 +741,7 @@ public open class DatabaseCluster( * @param masterUser Username and password for the administrative user. */ override fun masterUser(masterUser: Login) { - cdkBuilder.masterUser(masterUser.let(Login::unwrap)) + cdkBuilder.masterUser(masterUser.let(Login.Companion::unwrap)) } /** @@ -715,7 +762,7 @@ public open class DatabaseCluster( * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IClusterParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IClusterParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IClusterParameterGroup.Companion::unwrap)) } /** @@ -766,7 +813,7 @@ public open class DatabaseCluster( * removed or replaced during a stack update, or when the stack is deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -777,7 +824,7 @@ public open class DatabaseCluster( * @param securityGroup Security group. */ override fun securityGroup(securityGroup: CloudshiftdevAwscdkServicesEc2ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(CloudshiftdevAwscdkServicesEc2ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(CloudshiftdevAwscdkServicesEc2ISecurityGroup.Companion::unwrap)) } /** @@ -793,7 +840,7 @@ public open class DatabaseCluster( * group. */ override fun securityGroupRemovalPolicy(securityGroupRemovalPolicy: RemovalPolicy) { - cdkBuilder.securityGroupRemovalPolicy(securityGroupRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.securityGroupRemovalPolicy(securityGroupRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -815,7 +862,7 @@ public open class DatabaseCluster( * @param vpc What subnets to run the DocumentDB instances in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -826,7 +873,7 @@ public open class DatabaseCluster( * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -856,8 +903,8 @@ public open class DatabaseCluster( id: String, attrs: DatabaseClusterAttributes, ): IDatabaseCluster = - software.amazon.awscdk.services.docdb.DatabaseCluster.fromDatabaseClusterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DatabaseClusterAttributes::unwrap)).let(IDatabaseCluster::wrap) + software.amazon.awscdk.services.docdb.DatabaseCluster.fromDatabaseClusterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DatabaseClusterAttributes.Companion::unwrap)).let(IDatabaseCluster::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e421efc8468697cbb6411872efd05956c0ff05aff40cd5e11355e43937395e19") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterAttributes.kt index 49103c66fe..2d24bd36a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterAttributes.kt @@ -198,7 +198,7 @@ public interface DatabaseClusterAttributes { * @param securityGroup The security group of the database cluster. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.docdb.DatabaseClusterAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterProps.kt index c08d6e7173..8a20374908 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseClusterProps.kt @@ -13,6 +13,7 @@ import io.cloudshiftdev.awscdk.services.ec2.SubnetSelection import io.cloudshiftdev.awscdk.services.iam.IRole import io.cloudshiftdev.awscdk.services.kms.IKey import io.cloudshiftdev.awscdk.services.logs.RetentionDays +import io.cloudshiftdev.awscdk.services.rds.CaCertificate import kotlin.Boolean import kotlin.Number import kotlin.String @@ -35,7 +36,7 @@ import kotlin.jvm.JvmName * .subnetType(SubnetType.PUBLIC) * .build()) * .vpc(vpc) - * .removalPolicy(RemovalPolicy.SNAPSHOT) + * .caCertificate(CaCertificate.RDS_CA_RSA4096_G1) * .build(); * ``` */ @@ -51,6 +52,18 @@ public interface DatabaseClusterProps { */ public fun backup(): BackupProps? = unwrap(this).getBackup()?.let(BackupProps::wrap) + /** + * The identifier of the CA certificate used for the instances. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + */ + public fun caCertificate(): CaCertificate? = + unwrap(this).getCaCertificate()?.let(CaCertificate::wrap) + /** * The number of days log events are kept in CloudWatch Logs. * @@ -72,6 +85,13 @@ public interface DatabaseClusterProps { public fun cloudWatchLogsRetentionRole(): IRole? = unwrap(this).getCloudWatchLogsRetentionRole()?.let(IRole::wrap) + /** + * Whether to copy tags to the snapshot when a snapshot is created. + * + * Default: - false + */ + public fun copyTagsToSnapshot(): Boolean? = unwrap(this).getCopyTagsToSnapshot() + /** * An optional identifier for the cluster. * @@ -284,6 +304,12 @@ public interface DatabaseClusterProps { @JvmName("058a57ed0bc87d0dc99dc6c7ef3958fcae11e18166396fa80e8358d505258030") public fun backup(backup: BackupProps.Builder.() -> Unit) + /** + * @param caCertificate The identifier of the CA certificate used for the instances. + * Specifying or updating this property triggers a reboot. + */ + public fun caCertificate(caCertificate: CaCertificate) + /** * @param cloudWatchLogsRetention The number of days log events are kept in CloudWatch Logs. * When updating @@ -298,6 +324,11 @@ public interface DatabaseClusterProps { */ public fun cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole: IRole) + /** + * @param copyTagsToSnapshot Whether to copy tags to the snapshot when a snapshot is created. + */ + public fun copyTagsToSnapshot(copyTagsToSnapshot: Boolean) + /** * @param dbClusterName An optional identifier for the cluster. */ @@ -453,7 +484,7 @@ public interface DatabaseClusterProps { * @param backup Backup settings. */ override fun backup(backup: BackupProps) { - cdkBuilder.backup(backup.let(BackupProps::unwrap)) + cdkBuilder.backup(backup.let(BackupProps.Companion::unwrap)) } /** @@ -463,6 +494,14 @@ public interface DatabaseClusterProps { @JvmName("058a57ed0bc87d0dc99dc6c7ef3958fcae11e18166396fa80e8358d505258030") override fun backup(backup: BackupProps.Builder.() -> Unit): Unit = backup(BackupProps(backup)) + /** + * @param caCertificate The identifier of the CA certificate used for the instances. + * Specifying or updating this property triggers a reboot. + */ + override fun caCertificate(caCertificate: CaCertificate) { + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) + } + /** * @param cloudWatchLogsRetention The number of days log events are kept in CloudWatch Logs. * When updating @@ -470,7 +509,7 @@ public interface DatabaseClusterProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudWatchLogsRetention(cloudWatchLogsRetention: RetentionDays) { - cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudWatchLogsRetention(cloudWatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -478,7 +517,14 @@ public interface DatabaseClusterProps { * custom resource that sets the retention policy. */ override fun cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole: IRole) { - cdkBuilder.cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudWatchLogsRetentionRole(cloudWatchLogsRetentionRole.let(IRole.Companion::unwrap)) + } + + /** + * @param copyTagsToSnapshot Whether to copy tags to the snapshot when a snapshot is created. + */ + override fun copyTagsToSnapshot(copyTagsToSnapshot: Boolean) { + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot) } /** @@ -545,14 +591,14 @@ public interface DatabaseClusterProps { * Cannot be set to `SNAPSHOT`. */ override fun instanceRemovalPolicy(instanceRemovalPolicy: RemovalPolicy) { - cdkBuilder.instanceRemovalPolicy(instanceRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.instanceRemovalPolicy(instanceRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param instanceType What type of instance to start for the replicas. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -566,14 +612,14 @@ public interface DatabaseClusterProps { * @param kmsKey The KMS key for storage encryption. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** * @param masterUser Username and password for the administrative user. */ override fun masterUser(masterUser: Login) { - cdkBuilder.masterUser(masterUser.let(Login::unwrap)) + cdkBuilder.masterUser(masterUser.let(Login.Companion::unwrap)) } /** @@ -588,7 +634,7 @@ public interface DatabaseClusterProps { * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IClusterParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IClusterParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IClusterParameterGroup.Companion::unwrap)) } /** @@ -622,14 +668,14 @@ public interface DatabaseClusterProps { * Use the `instanceRemovalPolicy` and `securityGroupRemovalPolicy` to change the behavior. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param securityGroup Security group. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -638,7 +684,7 @@ public interface DatabaseClusterProps { * Cannot be set to `SNAPSHOT`. */ override fun securityGroupRemovalPolicy(securityGroupRemovalPolicy: RemovalPolicy) { - cdkBuilder.securityGroupRemovalPolicy(securityGroupRemovalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.securityGroupRemovalPolicy(securityGroupRemovalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -653,14 +699,14 @@ public interface DatabaseClusterProps { * Must be at least 2 subnets in two different AZs. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -689,6 +735,18 @@ public interface DatabaseClusterProps { */ override fun backup(): BackupProps? = unwrap(this).getBackup()?.let(BackupProps::wrap) + /** + * The identifier of the CA certificate used for the instances. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + */ + override fun caCertificate(): CaCertificate? = + unwrap(this).getCaCertificate()?.let(CaCertificate::wrap) + /** * The number of days log events are kept in CloudWatch Logs. * @@ -710,6 +768,13 @@ public interface DatabaseClusterProps { override fun cloudWatchLogsRetentionRole(): IRole? = unwrap(this).getCloudWatchLogsRetentionRole()?.let(IRole::wrap) + /** + * Whether to copy tags to the snapshot when a snapshot is created. + * + * Default: - false + */ + override fun copyTagsToSnapshot(): Boolean? = unwrap(this).getCopyTagsToSnapshot() + /** * An optional identifier for the cluster. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstance.kt index 3343c90a25..a33d549ea7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstance.kt @@ -6,6 +6,7 @@ import io.cloudshiftdev.awscdk.RemovalPolicy import io.cloudshiftdev.awscdk.Resource import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.services.ec2.InstanceType +import io.cloudshiftdev.awscdk.services.rds.CaCertificate import kotlin.Boolean import kotlin.String import kotlin.Unit @@ -24,6 +25,8 @@ import software.constructs.Construct as SoftwareConstructsConstruct * import io.cloudshiftdev.awscdk.*; * import io.cloudshiftdev.awscdk.services.docdb.*; * import io.cloudshiftdev.awscdk.services.ec2.*; + * import io.cloudshiftdev.awscdk.services.rds.*; + * CaCertificate caCertificate; * DatabaseCluster databaseCluster; * InstanceType instanceType; * DatabaseInstance databaseInstance = DatabaseInstance.Builder.create(this, "MyDatabaseInstance") @@ -32,6 +35,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * // the properties below are optional * .autoMinorVersionUpgrade(false) * .availabilityZone("availabilityZone") + * .caCertificate(caCertificate) * .dbInstanceName("dbInstanceName") * .enablePerformanceInsights(false) * .preferredMaintenanceWindow("preferredMaintenanceWindow") @@ -47,8 +51,8 @@ public open class DatabaseInstance( id: String, props: DatabaseInstanceProps, ) : - this(software.amazon.awscdk.services.docdb.DatabaseInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseInstanceProps::unwrap)) + this(software.amazon.awscdk.services.docdb.DatabaseInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseInstanceProps.Companion::unwrap)) ) public constructor( @@ -117,6 +121,18 @@ public open class DatabaseInstance( */ public fun availabilityZone(availabilityZone: String) + /** + * The identifier of the CA certificate for this DB instance. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + * @param caCertificate The identifier of the CA certificate for this DB instance. + */ + public fun caCertificate(caCertificate: CaCertificate) + /** * The DocumentDB database cluster the instance should launch into. * @@ -213,13 +229,27 @@ public open class DatabaseInstance( cdkBuilder.availabilityZone(availabilityZone) } + /** + * The identifier of the CA certificate for this DB instance. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + * @param caCertificate The identifier of the CA certificate for this DB instance. + */ + override fun caCertificate(caCertificate: CaCertificate) { + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) + } + /** * The DocumentDB database cluster the instance should launch into. * * @param cluster The DocumentDB database cluster the instance should launch into. */ override fun cluster(cluster: IDatabaseCluster) { - cdkBuilder.cluster(cluster.let(IDatabaseCluster::unwrap)) + cdkBuilder.cluster(cluster.let(IDatabaseCluster.Companion::unwrap)) } /** @@ -254,7 +284,7 @@ public open class DatabaseInstance( * @param instanceType The name of the compute and memory capacity classes. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -285,7 +315,7 @@ public open class DatabaseInstance( * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.docdb.DatabaseInstance = cdkBuilder.build() @@ -297,8 +327,8 @@ public open class DatabaseInstance( id: String, attrs: DatabaseInstanceAttributes, ): IDatabaseInstance = - software.amazon.awscdk.services.docdb.DatabaseInstance.fromDatabaseInstanceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DatabaseInstanceAttributes::unwrap)).let(IDatabaseInstance::wrap) + software.amazon.awscdk.services.docdb.DatabaseInstance.fromDatabaseInstanceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DatabaseInstanceAttributes.Companion::unwrap)).let(IDatabaseInstance::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ff4a584981905c20a48b9c9367a21a00691a564de963b093a11b8692116afdde") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstanceProps.kt index 654a9f62d1..1b6e1c910e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseInstanceProps.kt @@ -7,6 +7,7 @@ import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import io.cloudshiftdev.awscdk.services.ec2.InstanceType +import io.cloudshiftdev.awscdk.services.rds.CaCertificate import kotlin.Boolean import kotlin.String import kotlin.Unit @@ -22,6 +23,8 @@ import kotlin.Unit * import io.cloudshiftdev.awscdk.*; * import io.cloudshiftdev.awscdk.services.docdb.*; * import io.cloudshiftdev.awscdk.services.ec2.*; + * import io.cloudshiftdev.awscdk.services.rds.*; + * CaCertificate caCertificate; * DatabaseCluster databaseCluster; * InstanceType instanceType; * DatabaseInstanceProps databaseInstanceProps = DatabaseInstanceProps.builder() @@ -30,6 +33,7 @@ import kotlin.Unit * // the properties below are optional * .autoMinorVersionUpgrade(false) * .availabilityZone("availabilityZone") + * .caCertificate(caCertificate) * .dbInstanceName("dbInstanceName") * .enablePerformanceInsights(false) * .preferredMaintenanceWindow("preferredMaintenanceWindow") @@ -53,6 +57,18 @@ public interface DatabaseInstanceProps { */ public fun availabilityZone(): String? = unwrap(this).getAvailabilityZone() + /** + * The identifier of the CA certificate for this DB instance. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + */ + public fun caCertificate(): CaCertificate? = + unwrap(this).getCaCertificate()?.let(CaCertificate::wrap) + /** * The DocumentDB database cluster the instance should launch into. */ @@ -119,6 +135,12 @@ public interface DatabaseInstanceProps { */ public fun availabilityZone(availabilityZone: String) + /** + * @param caCertificate The identifier of the CA certificate for this DB instance. + * Specifying or updating this property triggers a reboot. + */ + public fun caCertificate(caCertificate: CaCertificate) + /** * @param cluster The DocumentDB database cluster the instance should launch into. */ @@ -177,11 +199,19 @@ public interface DatabaseInstanceProps { cdkBuilder.availabilityZone(availabilityZone) } + /** + * @param caCertificate The identifier of the CA certificate for this DB instance. + * Specifying or updating this property triggers a reboot. + */ + override fun caCertificate(caCertificate: CaCertificate) { + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) + } + /** * @param cluster The DocumentDB database cluster the instance should launch into. */ override fun cluster(cluster: IDatabaseCluster) { - cdkBuilder.cluster(cluster.let(IDatabaseCluster::unwrap)) + cdkBuilder.cluster(cluster.let(IDatabaseCluster.Companion::unwrap)) } /** @@ -205,7 +235,7 @@ public interface DatabaseInstanceProps { * @param instanceType The name of the compute and memory capacity classes. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -223,7 +253,7 @@ public interface DatabaseInstanceProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.docdb.DatabaseInstanceProps = @@ -248,6 +278,18 @@ public interface DatabaseInstanceProps { */ override fun availabilityZone(): String? = unwrap(this).getAvailabilityZone() + /** + * The identifier of the CA certificate for this DB instance. + * + * Specifying or updating this property triggers a reboot. + * + * Default: - DocumentDB will choose a certificate authority + * + * [Documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/ca_cert_rotation.html) + */ + override fun caCertificate(): CaCertificate? = + unwrap(this).getCaCertificate()?.let(CaCertificate::wrap) + /** * The DocumentDB database cluster the instance should launch into. */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecret.kt index e183b61c7c..a8e6c6fd3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecret.kt @@ -37,8 +37,8 @@ public open class DatabaseSecret( id: String, props: DatabaseSecretProps, ) : - this(software.amazon.awscdk.services.docdb.DatabaseSecret(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseSecretProps::unwrap)) + this(software.amazon.awscdk.services.docdb.DatabaseSecret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseSecretProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class DatabaseSecret( * @param encryptionKey The KMS key to use to encrypt the secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class DatabaseSecret( * @param masterSecret The master secret which will be used to rotate this secret. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecretProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecretProps.kt index 684d28da68..896f70410d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecretProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/DatabaseSecretProps.kt @@ -101,7 +101,7 @@ public interface DatabaseSecretProps { * @param encryptionKey The KMS key to use to encrypt the secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface DatabaseSecretProps { * @param masterSecret The master secret which will be used to rotate this secret. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IClusterParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IClusterParameterGroup.kt index 7e7e70c33b..8b92de675a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IClusterParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IClusterParameterGroup.kt @@ -37,7 +37,7 @@ public interface IClusterParameterGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseCluster.kt index d88e699b75..5941f17c9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseCluster.kt @@ -67,7 +67,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseInstance.kt index d164b091aa..98b7c16e73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/IDatabaseInstance.kt @@ -57,7 +57,7 @@ public interface IDatabaseInstance : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/Login.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/Login.kt index 0cb53084fb..abbea2e2c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/Login.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/Login.kt @@ -26,7 +26,7 @@ import kotlin.Unit * .subnetType(SubnetType.PUBLIC) * .build()) * .vpc(vpc) - * .removalPolicy(RemovalPolicy.SNAPSHOT) + * .caCertificate(CaCertificate.RDS_CA_RSA4096_G1) * .build(); * ``` */ @@ -113,7 +113,7 @@ public interface Login { * @param kmsKey KMS encryption key to encrypt the generated secret. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface Login { * Do not put passwords in your CDK code directly. */ override fun password(password: SecretValue) { - cdkBuilder.password(password.let(SecretValue::unwrap)) + cdkBuilder.password(password.let(SecretValue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/RotationMultiUserOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/RotationMultiUserOptions.kt index 8ed7565337..2c1ad886b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/RotationMultiUserOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdb/RotationMultiUserOptions.kt @@ -99,7 +99,7 @@ public interface RotationMultiUserOptions { * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface RotationMultiUserOptions { * ``` */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.docdb.RotationMultiUserOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnCluster.kt index 804d8f2c17..e7f4669b05 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnCluster.kt @@ -57,8 +57,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.docdbelastic.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.docdbelastic.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -152,7 +152,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnCluster( * The tags to be assigned to the new elastic cluster. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public open class CfnCluster( * @param tags The tags to be assigned to the new elastic cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnClusterProps.kt index 86a7d8eb6b..78202e84ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/docdbelastic/CfnClusterProps.kt @@ -470,7 +470,7 @@ public interface CfnClusterProps { * @param tags The tags to be assigned to the new elastic cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Attribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Attribute.kt index f8eebd28e5..1865111f8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Attribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Attribute.kt @@ -69,7 +69,7 @@ public interface Attribute { * @param type The data type of an attribute. */ override fun type(type: AttributeType) { - cdkBuilder.type(type.let(AttributeType::unwrap)) + cdkBuilder.type(type.let(AttributeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dynamodb.Attribute = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Billing.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Billing.kt index a83f7ddb42..23203b5159 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Billing.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Billing.kt @@ -50,7 +50,7 @@ public abstract class Billing( software.amazon.awscdk.services.dynamodb.Billing.onDemand().let(Billing::wrap) public fun provisioned(props: ThroughputProps): Billing = - software.amazon.awscdk.services.dynamodb.Billing.provisioned(props.let(ThroughputProps::unwrap)).let(Billing::wrap) + software.amazon.awscdk.services.dynamodb.Billing.provisioned(props.let(ThroughputProps.Companion::unwrap)).let(Billing::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4a809155c8ce7d1be4bf74289d5a94ae5c101cc12d650e3fdd8528190ca8597a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Capacity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Capacity.kt index de53c02cbb..cd52f58516 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Capacity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Capacity.kt @@ -47,7 +47,7 @@ public abstract class Capacity( public companion object { public fun autoscaled(options: AutoscaledCapacityOptions): Capacity = - software.amazon.awscdk.services.dynamodb.Capacity.autoscaled(options.let(AutoscaledCapacityOptions::unwrap)).let(Capacity::wrap) + software.amazon.awscdk.services.dynamodb.Capacity.autoscaled(options.let(AutoscaledCapacityOptions.Companion::unwrap)).let(Capacity::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("96f6dbb03cf6826a48596492729e14be59467cc53d33e92c46267f599b4579ad") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTable.kt index 8285cf030d..97b8b52c4a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTable.kt @@ -131,6 +131,9 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -156,6 +159,9 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .pointInTimeRecoverySpecification(PointInTimeRecoverySpecificationProperty.builder() * .pointInTimeRecoveryEnabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -202,6 +208,9 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .projectionType("projectionType") * .build()) * // the properties below are optional + * .writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty.builder() + * .maxWriteRequestUnits(123) + * .build()) * .writeProvisionedThroughputSettings(WriteProvisionedThroughputSettingsProperty.builder() * .writeCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -243,6 +252,9 @@ import software.constructs.Construct as SoftwareConstructsConstruct * // the properties below are optional * .attributeName("attributeName") * .build()) + * .writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty.builder() + * .maxWriteRequestUnits(123) + * .build()) * .writeProvisionedThroughputSettings(WriteProvisionedThroughputSettingsProperty.builder() * .writeCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -271,8 +283,8 @@ public open class CfnGlobalTable( id: String, props: CfnGlobalTableProps, ) : - this(software.amazon.awscdk.services.dynamodb.CfnGlobalTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGlobalTableProps::unwrap)) + this(software.amazon.awscdk.services.dynamodb.CfnGlobalTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGlobalTableProps.Companion::unwrap)) ) public constructor( @@ -316,7 +328,7 @@ public open class CfnGlobalTable( * A list of attributes that describe the key schema for the global table and indexes. */ public open fun attributeDefinitions(`value`: IResolvable) { - unwrap(this).setAttributeDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributeDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +369,7 @@ public open class CfnGlobalTable( * Global secondary indexes to be created on the global table. */ public open fun globalSecondaryIndexes(`value`: IResolvable) { - unwrap(this).setGlobalSecondaryIndexes(`value`.let(IResolvable::unwrap)) + unwrap(this).setGlobalSecondaryIndexes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -379,7 +391,7 @@ public open class CfnGlobalTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -391,7 +403,7 @@ public open class CfnGlobalTable( * Specifies the attributes that make up the primary key for the table. */ public open fun keySchema(`value`: IResolvable) { - unwrap(this).setKeySchema(`value`.let(IResolvable::unwrap)) + unwrap(this).setKeySchema(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -415,7 +427,7 @@ public open class CfnGlobalTable( * Local secondary indexes to be created on the table. */ public open fun localSecondaryIndexes(`value`: IResolvable) { - unwrap(this).setLocalSecondaryIndexes(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocalSecondaryIndexes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +452,7 @@ public open class CfnGlobalTable( * Specifies the list of replicas for your global table. */ public open fun replicas(`value`: IResolvable) { - unwrap(this).setReplicas(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicas(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -464,14 +476,14 @@ public open class CfnGlobalTable( * Specifies the settings to enable server-side encryption. */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the settings to enable server-side encryption. */ public open fun sseSpecification(`value`: SSESpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -491,14 +503,14 @@ public open class CfnGlobalTable( * Specifies the streams settings on your global table. */ public open fun streamSpecification(`value`: IResolvable) { - unwrap(this).setStreamSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the streams settings on your global table. */ public open fun streamSpecification(`value`: StreamSpecificationProperty) { - unwrap(this).setStreamSpecification(`value`.let(StreamSpecificationProperty::unwrap)) + unwrap(this).setStreamSpecification(`value`.let(StreamSpecificationProperty.Companion::unwrap)) } /** @@ -530,14 +542,14 @@ public open class CfnGlobalTable( * Specifies the time to live (TTL) settings for the table. */ public open fun timeToLiveSpecification(`value`: IResolvable) { - unwrap(this).setTimeToLiveSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setTimeToLiveSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the time to live (TTL) settings for the table. */ public open fun timeToLiveSpecification(`value`: TimeToLiveSpecificationProperty) { - unwrap(this).setTimeToLiveSpecification(`value`.let(TimeToLiveSpecificationProperty::unwrap)) + unwrap(this).setTimeToLiveSpecification(`value`.let(TimeToLiveSpecificationProperty.Companion::unwrap)) } /** @@ -549,6 +561,36 @@ public open class CfnGlobalTable( fun timeToLiveSpecification(`value`: TimeToLiveSpecificationProperty.Builder.() -> Unit): Unit = timeToLiveSpecification(TimeToLiveSpecificationProperty(`value`)) + /** + * + */ + public open fun writeOnDemandThroughputSettings(): Any? = + unwrap(this).getWriteOnDemandThroughputSettings() + + /** + * + */ + public open fun writeOnDemandThroughputSettings(`value`: IResolvable) { + unwrap(this).setWriteOnDemandThroughputSettings(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * + */ + public open + fun writeOnDemandThroughputSettings(`value`: WriteOnDemandThroughputSettingsProperty) { + unwrap(this).setWriteOnDemandThroughputSettings(`value`.let(WriteOnDemandThroughputSettingsProperty.Companion::unwrap)) + } + + /** + * + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("299f4a5f85f8ece9cfd1c5c9ece7c37bb829428bb1f6dfb96dee1ea4794527ed") + public open + fun writeOnDemandThroughputSettings(`value`: WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit): + Unit = writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty(`value`)) + /** * Specifies an auto scaling policy for write capacity. */ @@ -559,7 +601,7 @@ public open class CfnGlobalTable( * Specifies an auto scaling policy for write capacity. */ public open fun writeProvisionedThroughputSettings(`value`: IResolvable) { - unwrap(this).setWriteProvisionedThroughputSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setWriteProvisionedThroughputSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +609,7 @@ public open class CfnGlobalTable( */ public open fun writeProvisionedThroughputSettings(`value`: WriteProvisionedThroughputSettingsProperty) { - unwrap(this).setWriteProvisionedThroughputSettings(`value`.let(WriteProvisionedThroughputSettingsProperty::unwrap)) + unwrap(this).setWriteProvisionedThroughputSettings(`value`.let(WriteProvisionedThroughputSettingsProperty.Companion::unwrap)) } /** @@ -949,6 +991,28 @@ public open class CfnGlobalTable( public fun timeToLiveSpecification(timeToLiveSpecification: TimeToLiveSpecificationProperty.Builder.() -> Unit) + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + * @param writeOnDemandThroughputSettings + */ + public fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: IResolvable) + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + * @param writeOnDemandThroughputSettings + */ + public + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty) + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + * @param writeOnDemandThroughputSettings + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8d369adffc4c078a8c2cc57564c544e31adfc18de47eb2a84db3a1dfb26a5ba7") + public + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit) + /** * Specifies an auto scaling policy for write capacity. * @@ -1005,7 +1069,7 @@ public open class CfnGlobalTable( * table and indexes. */ override fun attributeDefinitions(attributeDefinitions: IResolvable) { - cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable::unwrap)) + cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -1064,7 +1128,7 @@ public open class CfnGlobalTable( * @param globalSecondaryIndexes Global secondary indexes to be created on the global table. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: IResolvable) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -1112,7 +1176,7 @@ public open class CfnGlobalTable( * @param keySchema Specifies the attributes that make up the primary key for the table. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -1150,7 +1214,7 @@ public open class CfnGlobalTable( * @param localSecondaryIndexes Local secondary indexes to be created on the table. */ override fun localSecondaryIndexes(localSecondaryIndexes: IResolvable) { - cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -1205,7 +1269,7 @@ public open class CfnGlobalTable( * @param replicas Specifies the list of replicas for your global table. */ override fun replicas(replicas: IResolvable) { - cdkBuilder.replicas(replicas.let(IResolvable::unwrap)) + cdkBuilder.replicas(replicas.let(IResolvable.Companion::unwrap)) } /** @@ -1273,7 +1337,7 @@ public open class CfnGlobalTable( * @param sseSpecification Specifies the settings to enable server-side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1287,7 +1351,7 @@ public open class CfnGlobalTable( * @param sseSpecification Specifies the settings to enable server-side encryption. */ override fun sseSpecification(sseSpecification: SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -1315,7 +1379,7 @@ public open class CfnGlobalTable( * @param streamSpecification Specifies the streams settings on your global table. */ override fun streamSpecification(streamSpecification: IResolvable) { - cdkBuilder.streamSpecification(streamSpecification.let(IResolvable::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1328,7 +1392,7 @@ public open class CfnGlobalTable( * @param streamSpecification Specifies the streams settings on your global table. */ override fun streamSpecification(streamSpecification: StreamSpecificationProperty) { - cdkBuilder.streamSpecification(streamSpecification.let(StreamSpecificationProperty::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(StreamSpecificationProperty.Companion::unwrap)) } /** @@ -1375,7 +1439,7 @@ public open class CfnGlobalTable( * @param timeToLiveSpecification Specifies the time to live (TTL) settings for the table. */ override fun timeToLiveSpecification(timeToLiveSpecification: IResolvable) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1387,7 +1451,7 @@ public open class CfnGlobalTable( * @param timeToLiveSpecification Specifies the time to live (TTL) settings for the table. */ override fun timeToLiveSpecification(timeToLiveSpecification: TimeToLiveSpecificationProperty) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(TimeToLiveSpecificationProperty::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(TimeToLiveSpecificationProperty.Companion::unwrap)) } /** @@ -1404,6 +1468,34 @@ public open class CfnGlobalTable( fun timeToLiveSpecification(timeToLiveSpecification: TimeToLiveSpecificationProperty.Builder.() -> Unit): Unit = timeToLiveSpecification(TimeToLiveSpecificationProperty(timeToLiveSpecification)) + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + * @param writeOnDemandThroughputSettings + */ + override fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: IResolvable) { + cdkBuilder.writeOnDemandThroughputSettings(writeOnDemandThroughputSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + * @param writeOnDemandThroughputSettings + */ + override + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty) { + cdkBuilder.writeOnDemandThroughputSettings(writeOnDemandThroughputSettings.let(WriteOnDemandThroughputSettingsProperty.Companion::unwrap)) + } + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + * @param writeOnDemandThroughputSettings + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8d369adffc4c078a8c2cc57564c544e31adfc18de47eb2a84db3a1dfb26a5ba7") + override + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit): + Unit = + writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty(writeOnDemandThroughputSettings)) + /** * Specifies an auto scaling policy for write capacity. * @@ -1416,7 +1508,7 @@ public open class CfnGlobalTable( */ override fun writeProvisionedThroughputSettings(writeProvisionedThroughputSettings: IResolvable) { - cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(IResolvable::unwrap)) + cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1431,7 +1523,7 @@ public open class CfnGlobalTable( */ override fun writeProvisionedThroughputSettings(writeProvisionedThroughputSettings: WriteProvisionedThroughputSettingsProperty) { - cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(WriteProvisionedThroughputSettingsProperty::unwrap)) + cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(WriteProvisionedThroughputSettingsProperty.Companion::unwrap)) } /** @@ -1789,7 +1881,7 @@ public open class CfnGlobalTable( */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: IResolvable) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1797,7 +1889,7 @@ public open class CfnGlobalTable( */ override fun targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration: TargetTrackingScalingPolicyConfigurationProperty) { - cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(TargetTrackingScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingScalingPolicyConfiguration(targetTrackingScalingPolicyConfiguration.let(TargetTrackingScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -1951,7 +2043,7 @@ public open class CfnGlobalTable( * or disabled (false). */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2013,6 +2105,9 @@ public open class CfnGlobalTable( * .projectionType("projectionType") * .build()) * // the properties below are optional + * .writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty.builder() + * .maxWriteRequestUnits(123) + * .build()) * .writeProvisionedThroughputSettings(WriteProvisionedThroughputSettingsProperty.builder() * .writeCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -2072,6 +2167,12 @@ public open class CfnGlobalTable( */ public fun projection(): Any + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-writeondemandthroughputsettings) + */ + public fun writeOnDemandThroughputSettings(): Any? = + unwrap(this).getWriteOnDemandThroughputSettings() + /** * Defines write capacity settings for the global secondary index. * @@ -2162,6 +2263,25 @@ public open class CfnGlobalTable( @JvmName("f58d5331a2b6e0e2a944808861029f8d5207b9bfe0b220f19868469cc21f4955") public fun projection(projection: ProjectionProperty.Builder.() -> Unit) + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + public fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: IResolvable) + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + public + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty) + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("75bc700c6e6d1f0b234f7f279ab9bdd40651f966af3b0ae481f86f62bf711096") + public + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit) + /** * @param writeProvisionedThroughputSettings Defines write capacity settings for the global * secondary index. @@ -2218,7 +2338,7 @@ public open class CfnGlobalTable( * together, in sorted order by the sort key value. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -2258,7 +2378,7 @@ public open class CfnGlobalTable( * automatically projected. */ override fun projection(projection: IResolvable) { - cdkBuilder.projection(projection.let(IResolvable::unwrap)) + cdkBuilder.projection(projection.let(IResolvable.Companion::unwrap)) } /** @@ -2268,7 +2388,7 @@ public open class CfnGlobalTable( * automatically projected. */ override fun projection(projection: ProjectionProperty) { - cdkBuilder.projection(projection.let(ProjectionProperty::unwrap)) + cdkBuilder.projection(projection.let(ProjectionProperty.Companion::unwrap)) } /** @@ -2282,6 +2402,31 @@ public open class CfnGlobalTable( override fun projection(projection: ProjectionProperty.Builder.() -> Unit): Unit = projection(ProjectionProperty(projection)) + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + override fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: IResolvable) { + cdkBuilder.writeOnDemandThroughputSettings(writeOnDemandThroughputSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + override + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty) { + cdkBuilder.writeOnDemandThroughputSettings(writeOnDemandThroughputSettings.let(WriteOnDemandThroughputSettingsProperty.Companion::unwrap)) + } + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("75bc700c6e6d1f0b234f7f279ab9bdd40651f966af3b0ae481f86f62bf711096") + override + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit): + Unit = + writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty(writeOnDemandThroughputSettings)) + /** * @param writeProvisionedThroughputSettings Defines write capacity settings for the global * secondary index. @@ -2290,7 +2435,7 @@ public open class CfnGlobalTable( */ override fun writeProvisionedThroughputSettings(writeProvisionedThroughputSettings: IResolvable) { - cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(IResolvable::unwrap)) + cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2301,7 +2446,7 @@ public open class CfnGlobalTable( */ override fun writeProvisionedThroughputSettings(writeProvisionedThroughputSettings: WriteProvisionedThroughputSettingsProperty) { - cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(WriteProvisionedThroughputSettingsProperty::unwrap)) + cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(WriteProvisionedThroughputSettingsProperty.Companion::unwrap)) } /** @@ -2363,6 +2508,12 @@ public open class CfnGlobalTable( */ override fun projection(): Any = unwrap(this).getProjection() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-writeondemandthroughputsettings) + */ + override fun writeOnDemandThroughputSettings(): Any? = + unwrap(this).getWriteOnDemandThroughputSettings() + /** * Defines write capacity settings for the global secondary index. * @@ -2849,7 +3000,7 @@ public open class CfnGlobalTable( * together, in sorted order by the sort key value. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -2889,7 +3040,7 @@ public open class CfnGlobalTable( * automatically projected. */ override fun projection(projection: IResolvable) { - cdkBuilder.projection(projection.let(IResolvable::unwrap)) + cdkBuilder.projection(projection.let(IResolvable.Companion::unwrap)) } /** @@ -2899,7 +3050,7 @@ public open class CfnGlobalTable( * automatically projected. */ override fun projection(projection: ProjectionProperty) { - cdkBuilder.projection(projection.let(ProjectionProperty::unwrap)) + cdkBuilder.projection(projection.let(ProjectionProperty.Companion::unwrap)) } /** @@ -3040,7 +3191,7 @@ public open class CfnGlobalTable( * (true) or disabled (false) on the table. */ override fun pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled: IResolvable) { - cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3251,6 +3402,84 @@ public open class CfnGlobalTable( } } + /** + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.dynamodb.*; + * ReadOnDemandThroughputSettingsProperty readOnDemandThroughputSettingsProperty = + * ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readondemandthroughputsettings.html) + */ + public interface ReadOnDemandThroughputSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readondemandthroughputsettings.html#cfn-dynamodb-globaltable-readondemandthroughputsettings-maxreadrequestunits) + */ + public fun maxReadRequestUnits(): Number? = unwrap(this).getMaxReadRequestUnits() + + /** + * A builder for [ReadOnDemandThroughputSettingsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param maxReadRequestUnits the value to be set. + */ + public fun maxReadRequestUnits(maxReadRequestUnits: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty.Builder + = + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty.builder() + + /** + * @param maxReadRequestUnits the value to be set. + */ + override fun maxReadRequestUnits(maxReadRequestUnits: Number) { + cdkBuilder.maxReadRequestUnits(maxReadRequestUnits) + } + + public fun build(): + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty, + ) : CdkObject(cdkObject), ReadOnDemandThroughputSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readondemandthroughputsettings.html#cfn-dynamodb-globaltable-readondemandthroughputsettings-maxreadrequestunits) + */ + override fun maxReadRequestUnits(): Number? = unwrap(this).getMaxReadRequestUnits() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + ReadOnDemandThroughputSettingsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty): + ReadOnDemandThroughputSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? + ReadOnDemandThroughputSettingsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ReadOnDemandThroughputSettingsProperty): + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty + } + } + /** * Allows you to specify the read capacity settings for a replica table or a replica global * secondary index when the `BillingMode` is set to `PROVISIONED` . @@ -3346,7 +3575,7 @@ public open class CfnGlobalTable( * table or global secondary index. */ override fun readCapacityAutoScalingSettings(readCapacityAutoScalingSettings: IResolvable) { - cdkBuilder.readCapacityAutoScalingSettings(readCapacityAutoScalingSettings.let(IResolvable::unwrap)) + cdkBuilder.readCapacityAutoScalingSettings(readCapacityAutoScalingSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3355,7 +3584,7 @@ public open class CfnGlobalTable( */ override fun readCapacityAutoScalingSettings(readCapacityAutoScalingSettings: CapacityAutoScalingSettingsProperty) { - cdkBuilder.readCapacityAutoScalingSettings(readCapacityAutoScalingSettings.let(CapacityAutoScalingSettingsProperty::unwrap)) + cdkBuilder.readCapacityAutoScalingSettings(readCapacityAutoScalingSettings.let(CapacityAutoScalingSettingsProperty.Companion::unwrap)) } /** @@ -3437,6 +3666,9 @@ public open class CfnGlobalTable( * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -3482,6 +3714,12 @@ public open class CfnGlobalTable( */ public fun indexName(): String + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readondemandthroughputsettings) + */ + public fun readOnDemandThroughputSettings(): Any? = + unwrap(this).getReadOnDemandThroughputSettings() + /** * Allows you to specify the read capacity settings for a replica global secondary index when * the `BillingMode` is set to `PROVISIONED` . @@ -3539,6 +3777,25 @@ public open class CfnGlobalTable( */ public fun indexName(indexName: String) + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + public fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: IResolvable) + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + public + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty) + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("afdf16d2798041a0b92d4ce57cbf89143ebabde09bf9c47543cd5c7117d71e89") + public + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty.Builder.() -> Unit) + /** * @param readProvisionedThroughputSettings Allows you to specify the read capacity settings * for a replica global secondary index when the `BillingMode` is set to `PROVISIONED` . @@ -3578,7 +3835,7 @@ public open class CfnGlobalTable( * CloudWatch Contributor Insights for DynamoDB for this table. */ override fun contributorInsightsSpecification(contributorInsightsSpecification: IResolvable) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3592,7 +3849,7 @@ public open class CfnGlobalTable( */ override fun contributorInsightsSpecification(contributorInsightsSpecification: ContributorInsightsSpecificationProperty) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty.Companion::unwrap)) } /** @@ -3619,13 +3876,38 @@ public open class CfnGlobalTable( cdkBuilder.indexName(indexName) } + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + override fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: IResolvable) { + cdkBuilder.readOnDemandThroughputSettings(readOnDemandThroughputSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + override + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty) { + cdkBuilder.readOnDemandThroughputSettings(readOnDemandThroughputSettings.let(ReadOnDemandThroughputSettingsProperty.Companion::unwrap)) + } + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("afdf16d2798041a0b92d4ce57cbf89143ebabde09bf9c47543cd5c7117d71e89") + override + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty.Builder.() -> Unit): + Unit = + readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty(readOnDemandThroughputSettings)) + /** * @param readProvisionedThroughputSettings Allows you to specify the read capacity settings * for a replica global secondary index when the `BillingMode` is set to `PROVISIONED` . */ override fun readProvisionedThroughputSettings(readProvisionedThroughputSettings: IResolvable) { - cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(IResolvable::unwrap)) + cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3634,7 +3916,7 @@ public open class CfnGlobalTable( */ override fun readProvisionedThroughputSettings(readProvisionedThroughputSettings: ReadProvisionedThroughputSettingsProperty) { - cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(ReadProvisionedThroughputSettingsProperty::unwrap)) + cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(ReadProvisionedThroughputSettingsProperty.Companion::unwrap)) } /** @@ -3679,6 +3961,12 @@ public open class CfnGlobalTable( */ override fun indexName(): String = unwrap(this).getIndexName() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readondemandthroughputsettings) + */ + override fun readOnDemandThroughputSettings(): Any? = + unwrap(this).getReadOnDemandThroughputSettings() + /** * Allows you to specify the read capacity settings for a replica global secondary index when * the `BillingMode` is set to `PROVISIONED` . @@ -3832,6 +4120,9 @@ public open class CfnGlobalTable( * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -3857,6 +4148,9 @@ public open class CfnGlobalTable( * .pointInTimeRecoverySpecification(PointInTimeRecoverySpecificationProperty.builder() * .pointInTimeRecoveryEnabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -3942,6 +4236,12 @@ public open class CfnGlobalTable( public fun pointInTimeRecoverySpecification(): Any? = unwrap(this).getPointInTimeRecoverySpecification() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-readondemandthroughputsettings) + */ + public fun readOnDemandThroughputSettings(): Any? = + unwrap(this).getReadOnDemandThroughputSettings() + /** * Defines read capacity settings for the replica table. * @@ -4122,6 +4422,25 @@ public open class CfnGlobalTable( public fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: PointInTimeRecoverySpecificationProperty.Builder.() -> Unit) + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + public fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: IResolvable) + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + public + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty) + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f7144966396cf4947837c85cdfeef9ac25a567337ea06f0ef3dc016f448d57d2") + public + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty.Builder.() -> Unit) + /** * @param readProvisionedThroughputSettings Defines read capacity settings for the replica * table. @@ -4280,7 +4599,7 @@ public open class CfnGlobalTable( * When not specified, defaults to contributor insights disabled for the replica. */ override fun contributorInsightsSpecification(contributorInsightsSpecification: IResolvable) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4290,7 +4609,7 @@ public open class CfnGlobalTable( */ override fun contributorInsightsSpecification(contributorInsightsSpecification: ContributorInsightsSpecificationProperty) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty.Companion::unwrap)) } /** @@ -4324,7 +4643,7 @@ public open class CfnGlobalTable( * in the *Amazon DynamoDB Developer Guide* . */ override fun deletionProtectionEnabled(deletionProtectionEnabled: IResolvable) { - cdkBuilder.deletionProtectionEnabled(deletionProtectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.deletionProtectionEnabled(deletionProtectionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -4332,7 +4651,7 @@ public open class CfnGlobalTable( * of this replica. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: IResolvable) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -4355,7 +4674,7 @@ public open class CfnGlobalTable( * specified replica. */ override fun kinesisStreamSpecification(kinesisStreamSpecification: IResolvable) { - cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4364,7 +4683,7 @@ public open class CfnGlobalTable( */ override fun kinesisStreamSpecification(kinesisStreamSpecification: KinesisStreamSpecificationProperty) { - cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(KinesisStreamSpecificationProperty::unwrap)) + cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(KinesisStreamSpecificationProperty.Companion::unwrap)) } /** @@ -4383,7 +4702,7 @@ public open class CfnGlobalTable( * When not specified, defaults to point in time recovery disabled for the replica. */ override fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: IResolvable) { - cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4392,7 +4711,7 @@ public open class CfnGlobalTable( */ override fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: PointInTimeRecoverySpecificationProperty) { - cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(PointInTimeRecoverySpecificationProperty::unwrap)) + cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(PointInTimeRecoverySpecificationProperty.Companion::unwrap)) } /** @@ -4406,13 +4725,38 @@ public open class CfnGlobalTable( Unit = pointInTimeRecoverySpecification(PointInTimeRecoverySpecificationProperty(pointInTimeRecoverySpecification)) + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + override fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: IResolvable) { + cdkBuilder.readOnDemandThroughputSettings(readOnDemandThroughputSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + override + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty) { + cdkBuilder.readOnDemandThroughputSettings(readOnDemandThroughputSettings.let(ReadOnDemandThroughputSettingsProperty.Companion::unwrap)) + } + + /** + * @param readOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f7144966396cf4947837c85cdfeef9ac25a567337ea06f0ef3dc016f448d57d2") + override + fun readOnDemandThroughputSettings(readOnDemandThroughputSettings: ReadOnDemandThroughputSettingsProperty.Builder.() -> Unit): + Unit = + readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty(readOnDemandThroughputSettings)) + /** * @param readProvisionedThroughputSettings Defines read capacity settings for the replica * table. */ override fun readProvisionedThroughputSettings(readProvisionedThroughputSettings: IResolvable) { - cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(IResolvable::unwrap)) + cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -4421,7 +4765,7 @@ public open class CfnGlobalTable( */ override fun readProvisionedThroughputSettings(readProvisionedThroughputSettings: ReadProvisionedThroughputSettingsProperty) { - cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(ReadProvisionedThroughputSettingsProperty::unwrap)) + cdkBuilder.readProvisionedThroughputSettings(readProvisionedThroughputSettings.let(ReadProvisionedThroughputSettingsProperty.Companion::unwrap)) } /** @@ -4447,7 +4791,7 @@ public open class CfnGlobalTable( * global table replica. */ override fun replicaStreamSpecification(replicaStreamSpecification: IResolvable) { - cdkBuilder.replicaStreamSpecification(replicaStreamSpecification.let(IResolvable::unwrap)) + cdkBuilder.replicaStreamSpecification(replicaStreamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4456,7 +4800,7 @@ public open class CfnGlobalTable( */ override fun replicaStreamSpecification(replicaStreamSpecification: ReplicaStreamSpecificationProperty) { - cdkBuilder.replicaStreamSpecification(replicaStreamSpecification.let(ReplicaStreamSpecificationProperty::unwrap)) + cdkBuilder.replicaStreamSpecification(replicaStreamSpecification.let(ReplicaStreamSpecificationProperty.Companion::unwrap)) } /** @@ -4485,7 +4829,7 @@ public open class CfnGlobalTable( * . */ override fun resourcePolicy(resourcePolicy: IResolvable) { - cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -4503,7 +4847,7 @@ public open class CfnGlobalTable( * . */ override fun resourcePolicy(resourcePolicy: ResourcePolicyProperty) { - cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty.Companion::unwrap)) } /** @@ -4531,7 +4875,7 @@ public open class CfnGlobalTable( * value in all replicas. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4540,7 +4884,7 @@ public open class CfnGlobalTable( * value in all replicas. */ override fun sseSpecification(sseSpecification: ReplicaSSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(ReplicaSSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(ReplicaSSESpecificationProperty.Companion::unwrap)) } /** @@ -4569,7 +4913,7 @@ public open class CfnGlobalTable( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -4635,6 +4979,12 @@ public open class CfnGlobalTable( override fun pointInTimeRecoverySpecification(): Any? = unwrap(this).getPointInTimeRecoverySpecification() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-readondemandthroughputsettings) + */ + override fun readOnDemandThroughputSettings(): Any? = + unwrap(this).getReadOnDemandThroughputSettings() + /** * Defines read capacity settings for the replica table. * @@ -4866,7 +5216,7 @@ public open class CfnGlobalTable( * resource. */ override fun resourcePolicy(resourcePolicy: IResolvable) { - cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -4889,7 +5239,7 @@ public open class CfnGlobalTable( * resource. */ override fun resourcePolicy(resourcePolicy: ResourcePolicyProperty) { - cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty.Companion::unwrap)) } /** @@ -5233,7 +5583,7 @@ public open class CfnGlobalTable( * mix AWS managed and customer managed KMS keys. */ override fun sseEnabled(sseEnabled: IResolvable) { - cdkBuilder.sseEnabled(sseEnabled.let(IResolvable::unwrap)) + cdkBuilder.sseEnabled(sseEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -5537,7 +5887,7 @@ public open class CfnGlobalTable( * The default value is `false` . */ override fun disableScaleIn(disableScaleIn: IResolvable) { - cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable::unwrap)) + cdkBuilder.disableScaleIn(disableScaleIn.let(IResolvable.Companion::unwrap)) } /** @@ -5723,7 +6073,7 @@ public open class CfnGlobalTable( * table. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5772,6 +6122,84 @@ public open class CfnGlobalTable( } } + /** + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.dynamodb.*; + * WriteOnDemandThroughputSettingsProperty writeOnDemandThroughputSettingsProperty = + * WriteOnDemandThroughputSettingsProperty.builder() + * .maxWriteRequestUnits(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html) + */ + public interface WriteOnDemandThroughputSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings-maxwriterequestunits) + */ + public fun maxWriteRequestUnits(): Number? = unwrap(this).getMaxWriteRequestUnits() + + /** + * A builder for [WriteOnDemandThroughputSettingsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param maxWriteRequestUnits the value to be set. + */ + public fun maxWriteRequestUnits(maxWriteRequestUnits: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty.Builder + = + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty.builder() + + /** + * @param maxWriteRequestUnits the value to be set. + */ + override fun maxWriteRequestUnits(maxWriteRequestUnits: Number) { + cdkBuilder.maxWriteRequestUnits(maxWriteRequestUnits) + } + + public fun build(): + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, + ) : CdkObject(cdkObject), WriteOnDemandThroughputSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings-maxwriterequestunits) + */ + override fun maxWriteRequestUnits(): Number? = unwrap(this).getMaxWriteRequestUnits() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WriteOnDemandThroughputSettingsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty): + WriteOnDemandThroughputSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? + WriteOnDemandThroughputSettingsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WriteOnDemandThroughputSettingsProperty): + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty + } + } + /** * Specifies an auto scaling policy for write capacity. * @@ -5852,7 +6280,7 @@ public open class CfnGlobalTable( * table or global secondary index. */ override fun writeCapacityAutoScalingSettings(writeCapacityAutoScalingSettings: IResolvable) { - cdkBuilder.writeCapacityAutoScalingSettings(writeCapacityAutoScalingSettings.let(IResolvable::unwrap)) + cdkBuilder.writeCapacityAutoScalingSettings(writeCapacityAutoScalingSettings.let(IResolvable.Companion::unwrap)) } /** @@ -5861,7 +6289,7 @@ public open class CfnGlobalTable( */ override fun writeCapacityAutoScalingSettings(writeCapacityAutoScalingSettings: CapacityAutoScalingSettingsProperty) { - cdkBuilder.writeCapacityAutoScalingSettings(writeCapacityAutoScalingSettings.let(CapacityAutoScalingSettingsProperty::unwrap)) + cdkBuilder.writeCapacityAutoScalingSettings(writeCapacityAutoScalingSettings.let(CapacityAutoScalingSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTableProps.kt index da779c9b56..20af93151c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnGlobalTableProps.kt @@ -44,6 +44,9 @@ import kotlin.jvm.JvmName * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -69,6 +72,9 @@ import kotlin.jvm.JvmName * .pointInTimeRecoverySpecification(PointInTimeRecoverySpecificationProperty.builder() * .pointInTimeRecoveryEnabled(false) * .build()) + * .readOnDemandThroughputSettings(ReadOnDemandThroughputSettingsProperty.builder() + * .maxReadRequestUnits(123) + * .build()) * .readProvisionedThroughputSettings(ReadProvisionedThroughputSettingsProperty.builder() * .readCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -115,6 +121,9 @@ import kotlin.jvm.JvmName * .projectionType("projectionType") * .build()) * // the properties below are optional + * .writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty.builder() + * .maxWriteRequestUnits(123) + * .build()) * .writeProvisionedThroughputSettings(WriteProvisionedThroughputSettingsProperty.builder() * .writeCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -156,6 +165,9 @@ import kotlin.jvm.JvmName * // the properties below are optional * .attributeName("attributeName") * .build()) + * .writeOnDemandThroughputSettings(WriteOnDemandThroughputSettingsProperty.builder() + * .maxWriteRequestUnits(123) + * .build()) * .writeProvisionedThroughputSettings(WriteProvisionedThroughputSettingsProperty.builder() * .writeCapacityAutoScalingSettings(CapacityAutoScalingSettingsProperty.builder() * .maxCapacity(123) @@ -308,6 +320,12 @@ public interface CfnGlobalTableProps { */ public fun timeToLiveSpecification(): Any? = unwrap(this).getTimeToLiveSpecification() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + */ + public fun writeOnDemandThroughputSettings(): Any? = + unwrap(this).getWriteOnDemandThroughputSettings() + /** * Specifies an auto scaling policy for write capacity. * @@ -588,6 +606,25 @@ public interface CfnGlobalTableProps { public fun timeToLiveSpecification(timeToLiveSpecification: CfnGlobalTable.TimeToLiveSpecificationProperty.Builder.() -> Unit) + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + public fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: IResolvable) + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + public + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: CfnGlobalTable.WriteOnDemandThroughputSettingsProperty) + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("03ff940b187afcc4d415dbd175d3418a96cc698bd2755a5821b65ea8f65b9834") + public + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: CfnGlobalTable.WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit) + /** * @param writeProvisionedThroughputSettings Specifies an auto scaling policy for write * capacity. @@ -626,7 +663,7 @@ public interface CfnGlobalTableProps { * table and indexes. */ override fun attributeDefinitions(attributeDefinitions: IResolvable) { - cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable::unwrap)) + cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -670,7 +707,7 @@ public interface CfnGlobalTableProps { * index that has been added. In that case, you will need to delete the index manually. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: IResolvable) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -706,7 +743,7 @@ public interface CfnGlobalTableProps { * property. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -732,7 +769,7 @@ public interface CfnGlobalTableProps { * will have the same local secondary index settings. */ override fun localSecondaryIndexes(localSecondaryIndexes: IResolvable) { - cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -775,7 +812,7 @@ public interface CfnGlobalTableProps { * replicas after table creation, but you can only add or remove a single replica in each update. */ override fun replicas(replicas: IResolvable) { - cdkBuilder.replicas(replicas.let(IResolvable::unwrap)) + cdkBuilder.replicas(replicas.let(IResolvable.Companion::unwrap)) } /** @@ -831,7 +868,7 @@ public interface CfnGlobalTableProps { * property. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -841,7 +878,7 @@ public interface CfnGlobalTableProps { * property. */ override fun sseSpecification(sseSpecification: CfnGlobalTable.SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnGlobalTable.SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnGlobalTable.SSESpecificationProperty.Companion::unwrap)) } /** @@ -862,7 +899,7 @@ public interface CfnGlobalTableProps { * replica. You can only change the streams settings if your global table has only one replica. */ override fun streamSpecification(streamSpecification: IResolvable) { - cdkBuilder.streamSpecification(streamSpecification.let(IResolvable::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -872,7 +909,7 @@ public interface CfnGlobalTableProps { */ override fun streamSpecification(streamSpecification: CfnGlobalTable.StreamSpecificationProperty) { - cdkBuilder.streamSpecification(streamSpecification.let(CfnGlobalTable.StreamSpecificationProperty::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(CfnGlobalTable.StreamSpecificationProperty.Companion::unwrap)) } /** @@ -906,7 +943,7 @@ public interface CfnGlobalTableProps { * This setting will be applied to all replicas. */ override fun timeToLiveSpecification(timeToLiveSpecification: IResolvable) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -915,7 +952,7 @@ public interface CfnGlobalTableProps { */ override fun timeToLiveSpecification(timeToLiveSpecification: CfnGlobalTable.TimeToLiveSpecificationProperty) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(CfnGlobalTable.TimeToLiveSpecificationProperty::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(CfnGlobalTable.TimeToLiveSpecificationProperty.Companion::unwrap)) } /** @@ -929,6 +966,31 @@ public interface CfnGlobalTableProps { Unit = timeToLiveSpecification(CfnGlobalTable.TimeToLiveSpecificationProperty(timeToLiveSpecification)) + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + override fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: IResolvable) { + cdkBuilder.writeOnDemandThroughputSettings(writeOnDemandThroughputSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + override + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: CfnGlobalTable.WriteOnDemandThroughputSettingsProperty) { + cdkBuilder.writeOnDemandThroughputSettings(writeOnDemandThroughputSettings.let(CfnGlobalTable.WriteOnDemandThroughputSettingsProperty.Companion::unwrap)) + } + + /** + * @param writeOnDemandThroughputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("03ff940b187afcc4d415dbd175d3418a96cc698bd2755a5821b65ea8f65b9834") + override + fun writeOnDemandThroughputSettings(writeOnDemandThroughputSettings: CfnGlobalTable.WriteOnDemandThroughputSettingsProperty.Builder.() -> Unit): + Unit = + writeOnDemandThroughputSettings(CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(writeOnDemandThroughputSettings)) + /** * @param writeProvisionedThroughputSettings Specifies an auto scaling policy for write * capacity. @@ -937,7 +999,7 @@ public interface CfnGlobalTableProps { */ override fun writeProvisionedThroughputSettings(writeProvisionedThroughputSettings: IResolvable) { - cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(IResolvable::unwrap)) + cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -948,7 +1010,7 @@ public interface CfnGlobalTableProps { */ override fun writeProvisionedThroughputSettings(writeProvisionedThroughputSettings: CfnGlobalTable.WriteProvisionedThroughputSettingsProperty) { - cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(CfnGlobalTable.WriteProvisionedThroughputSettingsProperty::unwrap)) + cdkBuilder.writeProvisionedThroughputSettings(writeProvisionedThroughputSettings.let(CfnGlobalTable.WriteProvisionedThroughputSettingsProperty.Companion::unwrap)) } /** @@ -1102,6 +1164,12 @@ public interface CfnGlobalTableProps { */ override fun timeToLiveSpecification(): Any? = unwrap(this).getTimeToLiveSpecification() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings) + */ + override fun writeOnDemandThroughputSettings(): Any? = + unwrap(this).getWriteOnDemandThroughputSettings() + /** * Specifies an auto scaling policy for write capacity. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTable.kt index 4d0235aa37..dda1017927 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTable.kt @@ -81,6 +81,10 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .onDemandThroughput(OnDemandThroughputProperty.builder() + * .maxReadRequestUnits(123) + * .maxWriteRequestUnits(123) + * .build()) * .provisionedThroughput(ProvisionedThroughputProperty.builder() * .readCapacityUnits(123) * .writeCapacityUnits(123) @@ -119,6 +123,10 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .projectionType("projectionType") * .build()) * .build())) + * .onDemandThroughput(OnDemandThroughputProperty.builder() + * .maxReadRequestUnits(123) + * .maxWriteRequestUnits(123) + * .build()) * .pointInTimeRecoverySpecification(PointInTimeRecoverySpecificationProperty.builder() * .pointInTimeRecoveryEnabled(false) * .build()) @@ -166,8 +174,8 @@ public open class CfnTable( id: String, props: CfnTableProps, ) : - this(software.amazon.awscdk.services.dynamodb.CfnTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTableProps::unwrap)) + this(software.amazon.awscdk.services.dynamodb.CfnTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTableProps.Companion::unwrap)) ) public constructor( @@ -202,7 +210,7 @@ public open class CfnTable( * A list of attributes that describe the key schema for the table and indexes. */ public open fun attributeDefinitions(`value`: IResolvable) { - unwrap(this).setAttributeDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributeDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +248,7 @@ public open class CfnTable( * The settings used to enable or disable CloudWatch Contributor Insights for the specified table. */ public open fun contributorInsightsSpecification(`value`: IResolvable) { - unwrap(this).setContributorInsightsSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setContributorInsightsSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -248,7 +256,7 @@ public open class CfnTable( */ public open fun contributorInsightsSpecification(`value`: ContributorInsightsSpecificationProperty) { - unwrap(this).setContributorInsightsSpecification(`value`.let(ContributorInsightsSpecificationProperty::unwrap)) + unwrap(this).setContributorInsightsSpecification(`value`.let(ContributorInsightsSpecificationProperty.Companion::unwrap)) } /** @@ -276,7 +284,7 @@ public open class CfnTable( * Determines if a table is protected from deletion. */ public open fun deletionProtectionEnabled(`value`: IResolvable) { - unwrap(this).setDeletionProtectionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtectionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +300,7 @@ public open class CfnTable( * You can create up to 20 global secondary indexes. */ public open fun globalSecondaryIndexes(`value`: IResolvable) { - unwrap(this).setGlobalSecondaryIndexes(`value`.let(IResolvable::unwrap)) + unwrap(this).setGlobalSecondaryIndexes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -321,14 +329,14 @@ public open class CfnTable( * Specifies the properties of data being imported from the S3 bucket source to the table. */ public open fun importSourceSpecification(`value`: IResolvable) { - unwrap(this).setImportSourceSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setImportSourceSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the properties of data being imported from the S3 bucket source to the table. */ public open fun importSourceSpecification(`value`: ImportSourceSpecificationProperty) { - unwrap(this).setImportSourceSpecification(`value`.let(ImportSourceSpecificationProperty::unwrap)) + unwrap(this).setImportSourceSpecification(`value`.let(ImportSourceSpecificationProperty.Companion::unwrap)) } /** @@ -346,7 +354,7 @@ public open class CfnTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -358,7 +366,7 @@ public open class CfnTable( * Specifies the attributes that make up the primary key for the table. */ public open fun keySchema(`value`: IResolvable) { - unwrap(this).setKeySchema(`value`.let(IResolvable::unwrap)) + unwrap(this).setKeySchema(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -382,14 +390,14 @@ public open class CfnTable( * The Kinesis Data Streams configuration for the specified table. */ public open fun kinesisStreamSpecification(`value`: IResolvable) { - unwrap(this).setKinesisStreamSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisStreamSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The Kinesis Data Streams configuration for the specified table. */ public open fun kinesisStreamSpecification(`value`: KinesisStreamSpecificationProperty) { - unwrap(this).setKinesisStreamSpecification(`value`.let(KinesisStreamSpecificationProperty::unwrap)) + unwrap(this).setKinesisStreamSpecification(`value`.let(KinesisStreamSpecificationProperty.Companion::unwrap)) } /** @@ -410,7 +418,7 @@ public open class CfnTable( * Local secondary indexes to be created on the table. */ public open fun localSecondaryIndexes(`value`: IResolvable) { - unwrap(this).setLocalSecondaryIndexes(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocalSecondaryIndexes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -426,6 +434,33 @@ public open class CfnTable( public open fun localSecondaryIndexes(vararg `value`: Any): Unit = localSecondaryIndexes(`value`.toList()) + /** + * + */ + public open fun onDemandThroughput(): Any? = unwrap(this).getOnDemandThroughput() + + /** + * + */ + public open fun onDemandThroughput(`value`: IResolvable) { + unwrap(this).setOnDemandThroughput(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * + */ + public open fun onDemandThroughput(`value`: OnDemandThroughputProperty) { + unwrap(this).setOnDemandThroughput(`value`.let(OnDemandThroughputProperty.Companion::unwrap)) + } + + /** + * + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c93adda1db198600681d4d1f3eccea6b279138abfc98c48df8f9700db8fe154c") + public open fun onDemandThroughput(`value`: OnDemandThroughputProperty.Builder.() -> Unit): Unit = + onDemandThroughput(OnDemandThroughputProperty(`value`)) + /** * The settings used to enable point in time recovery. */ @@ -436,7 +471,7 @@ public open class CfnTable( * The settings used to enable point in time recovery. */ public open fun pointInTimeRecoverySpecification(`value`: IResolvable) { - unwrap(this).setPointInTimeRecoverySpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setPointInTimeRecoverySpecification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -444,7 +479,7 @@ public open class CfnTable( */ public open fun pointInTimeRecoverySpecification(`value`: PointInTimeRecoverySpecificationProperty) { - unwrap(this).setPointInTimeRecoverySpecification(`value`.let(PointInTimeRecoverySpecificationProperty::unwrap)) + unwrap(this).setPointInTimeRecoverySpecification(`value`.let(PointInTimeRecoverySpecificationProperty.Companion::unwrap)) } /** @@ -467,7 +502,7 @@ public open class CfnTable( * `WriteCapacityUnits` . */ public open fun provisionedThroughput(`value`: IResolvable) { - unwrap(this).setProvisionedThroughput(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisionedThroughput(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -475,7 +510,7 @@ public open class CfnTable( * `WriteCapacityUnits` . */ public open fun provisionedThroughput(`value`: ProvisionedThroughputProperty) { - unwrap(this).setProvisionedThroughput(`value`.let(ProvisionedThroughputProperty::unwrap)) + unwrap(this).setProvisionedThroughput(`value`.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -496,14 +531,14 @@ public open class CfnTable( * A resource-based policy document that contains permissions to add to the specified table. */ public open fun resourcePolicy(`value`: IResolvable) { - unwrap(this).setResourcePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourcePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * A resource-based policy document that contains permissions to add to the specified table. */ public open fun resourcePolicy(`value`: ResourcePolicyProperty) { - unwrap(this).setResourcePolicy(`value`.let(ResourcePolicyProperty::unwrap)) + unwrap(this).setResourcePolicy(`value`.let(ResourcePolicyProperty.Companion::unwrap)) } /** @@ -523,14 +558,14 @@ public open class CfnTable( * Specifies the settings to enable server-side encryption. */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the settings to enable server-side encryption. */ public open fun sseSpecification(`value`: SSESpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -550,14 +585,14 @@ public open class CfnTable( * The settings for the DynamoDB table stream, which capture changes to items stored in the table. */ public open fun streamSpecification(`value`: IResolvable) { - unwrap(this).setStreamSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for the DynamoDB table stream, which capture changes to items stored in the table. */ public open fun streamSpecification(`value`: StreamSpecificationProperty) { - unwrap(this).setStreamSpecification(`value`.let(StreamSpecificationProperty::unwrap)) + unwrap(this).setStreamSpecification(`value`.let(StreamSpecificationProperty.Companion::unwrap)) } /** @@ -607,7 +642,7 @@ public open class CfnTable( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -624,14 +659,14 @@ public open class CfnTable( * Specifies the Time to Live (TTL) settings for the table. */ public open fun timeToLiveSpecification(`value`: IResolvable) { - unwrap(this).setTimeToLiveSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setTimeToLiveSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the Time to Live (TTL) settings for the table. */ public open fun timeToLiveSpecification(`value`: TimeToLiveSpecificationProperty) { - unwrap(this).setTimeToLiveSpecification(`value`.let(TimeToLiveSpecificationProperty::unwrap)) + unwrap(this).setTimeToLiveSpecification(`value`.let(TimeToLiveSpecificationProperty.Companion::unwrap)) } /** @@ -1014,6 +1049,26 @@ public open class CfnTable( */ public fun localSecondaryIndexes(vararg localSecondaryIndexes: Any) + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + * @param onDemandThroughput + */ + public fun onDemandThroughput(onDemandThroughput: IResolvable) + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + * @param onDemandThroughput + */ + public fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty) + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + * @param onDemandThroughput + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c6881b07c0f5d8cd3d66f6ea81853d9f53c08aefb6c5ca373298c0dee1bf8c5d") + public fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty.Builder.() -> Unit) + /** * The settings used to enable point in time recovery. * @@ -1345,7 +1400,7 @@ public open class CfnTable( * and indexes. */ override fun attributeDefinitions(attributeDefinitions: IResolvable) { - cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable::unwrap)) + cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -1414,7 +1469,7 @@ public open class CfnTable( * Contributor Insights for the specified table. */ override fun contributorInsightsSpecification(contributorInsightsSpecification: IResolvable) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1427,7 +1482,7 @@ public open class CfnTable( */ override fun contributorInsightsSpecification(contributorInsightsSpecification: ContributorInsightsSpecificationProperty) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty.Companion::unwrap)) } /** @@ -1472,7 +1527,7 @@ public open class CfnTable( * @param deletionProtectionEnabled Determines if a table is protected from deletion. */ override fun deletionProtectionEnabled(deletionProtectionEnabled: IResolvable) { - cdkBuilder.deletionProtectionEnabled(deletionProtectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.deletionProtectionEnabled(deletionProtectionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1505,7 +1560,7 @@ public open class CfnTable( * create up to 20 global secondary indexes. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: IResolvable) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -1587,7 +1642,7 @@ public open class CfnTable( * bucket source to the table. */ override fun importSourceSpecification(importSourceSpecification: IResolvable) { - cdkBuilder.importSourceSpecification(importSourceSpecification.let(IResolvable::unwrap)) + cdkBuilder.importSourceSpecification(importSourceSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1605,7 +1660,7 @@ public open class CfnTable( */ override fun importSourceSpecification(importSourceSpecification: ImportSourceSpecificationProperty) { - cdkBuilder.importSourceSpecification(importSourceSpecification.let(ImportSourceSpecificationProperty::unwrap)) + cdkBuilder.importSourceSpecification(importSourceSpecification.let(ImportSourceSpecificationProperty.Companion::unwrap)) } /** @@ -1638,7 +1693,7 @@ public open class CfnTable( * @param keySchema Specifies the attributes that make up the primary key for the table. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -1673,7 +1728,7 @@ public open class CfnTable( * table. */ override fun kinesisStreamSpecification(kinesisStreamSpecification: IResolvable) { - cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1685,7 +1740,7 @@ public open class CfnTable( */ override fun kinesisStreamSpecification(kinesisStreamSpecification: KinesisStreamSpecificationProperty) { - cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(KinesisStreamSpecificationProperty::unwrap)) + cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(KinesisStreamSpecificationProperty.Companion::unwrap)) } /** @@ -1712,7 +1767,7 @@ public open class CfnTable( * @param localSecondaryIndexes Local secondary indexes to be created on the table. */ override fun localSecondaryIndexes(localSecondaryIndexes: IResolvable) { - cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -1740,6 +1795,32 @@ public open class CfnTable( override fun localSecondaryIndexes(vararg localSecondaryIndexes: Any): Unit = localSecondaryIndexes(localSecondaryIndexes.toList()) + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + * @param onDemandThroughput + */ + override fun onDemandThroughput(onDemandThroughput: IResolvable) { + cdkBuilder.onDemandThroughput(onDemandThroughput.let(IResolvable.Companion::unwrap)) + } + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + * @param onDemandThroughput + */ + override fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty) { + cdkBuilder.onDemandThroughput(onDemandThroughput.let(OnDemandThroughputProperty.Companion::unwrap)) + } + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + * @param onDemandThroughput + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c6881b07c0f5d8cd3d66f6ea81853d9f53c08aefb6c5ca373298c0dee1bf8c5d") + override + fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty.Builder.() -> Unit): + Unit = onDemandThroughput(OnDemandThroughputProperty(onDemandThroughput)) + /** * The settings used to enable point in time recovery. * @@ -1747,7 +1828,7 @@ public open class CfnTable( * @param pointInTimeRecoverySpecification The settings used to enable point in time recovery. */ override fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: IResolvable) { - cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1758,7 +1839,7 @@ public open class CfnTable( */ override fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: PointInTimeRecoverySpecificationProperty) { - cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(PointInTimeRecoverySpecificationProperty::unwrap)) + cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(PointInTimeRecoverySpecificationProperty.Companion::unwrap)) } /** @@ -1791,7 +1872,7 @@ public open class CfnTable( * `ReadCapacityUnits` and `WriteCapacityUnits` . */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** @@ -1811,7 +1892,7 @@ public open class CfnTable( * `ReadCapacityUnits` and `WriteCapacityUnits` . */ override fun provisionedThroughput(provisionedThroughput: ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -1857,7 +1938,7 @@ public open class CfnTable( * the specified table. */ override fun resourcePolicy(resourcePolicy: IResolvable) { - cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1881,7 +1962,7 @@ public open class CfnTable( * the specified table. */ override fun resourcePolicy(resourcePolicy: ResourcePolicyProperty) { - cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty.Companion::unwrap)) } /** @@ -1916,7 +1997,7 @@ public open class CfnTable( * @param sseSpecification Specifies the settings to enable server-side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1926,7 +2007,7 @@ public open class CfnTable( * @param sseSpecification Specifies the settings to enable server-side encryption. */ override fun sseSpecification(sseSpecification: SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -1949,7 +2030,7 @@ public open class CfnTable( * to items stored in the table. */ override fun streamSpecification(streamSpecification: IResolvable) { - cdkBuilder.streamSpecification(streamSpecification.let(IResolvable::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1961,7 +2042,7 @@ public open class CfnTable( * to items stored in the table. */ override fun streamSpecification(streamSpecification: StreamSpecificationProperty) { - cdkBuilder.streamSpecification(streamSpecification.let(StreamSpecificationProperty::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(StreamSpecificationProperty.Companion::unwrap)) } /** @@ -2021,7 +2102,7 @@ public open class CfnTable( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2049,7 +2130,7 @@ public open class CfnTable( * @param timeToLiveSpecification Specifies the Time to Live (TTL) settings for the table. */ override fun timeToLiveSpecification(timeToLiveSpecification: IResolvable) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -2065,7 +2146,7 @@ public open class CfnTable( * @param timeToLiveSpecification Specifies the Time to Live (TTL) settings for the table. */ override fun timeToLiveSpecification(timeToLiveSpecification: TimeToLiveSpecificationProperty) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(TimeToLiveSpecificationProperty::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(TimeToLiveSpecificationProperty.Companion::unwrap)) } /** @@ -2294,7 +2375,7 @@ public open class CfnTable( * or disabled (false). */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2497,6 +2578,10 @@ public open class CfnTable( * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .onDemandThroughput(OnDemandThroughputProperty.builder() + * .maxReadRequestUnits(123) + * .maxWriteRequestUnits(123) + * .build()) * .provisionedThroughput(ProvisionedThroughputProperty.builder() * .readCapacityUnits(123) * .writeCapacityUnits(123) @@ -2543,6 +2628,11 @@ public open class CfnTable( */ public fun keySchema(): Any + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html#cfn-dynamodb-table-globalsecondaryindex-ondemandthroughput) + */ + public fun onDemandThroughput(): Any? = unwrap(this).getOnDemandThroughput() + /** * Represents attributes that are copied (projected) from the table into the global secondary * index. @@ -2640,6 +2730,24 @@ public open class CfnTable( */ public fun keySchema(vararg keySchema: Any) + /** + * @param onDemandThroughput the value to be set. + */ + public fun onDemandThroughput(onDemandThroughput: IResolvable) + + /** + * @param onDemandThroughput the value to be set. + */ + public fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty) + + /** + * @param onDemandThroughput the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cae04943fcb210d89eebb92f56cb35dc3b451709e92e9481802f625359c0f6ef") + public + fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty.Builder.() -> Unit) + /** * @param projection Represents attributes that are copied (projected) from the table into the * global secondary index. @@ -2707,7 +2815,7 @@ public open class CfnTable( * Contributor Insights for the specified global secondary index. */ override fun contributorInsightsSpecification(contributorInsightsSpecification: IResolvable) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -2716,7 +2824,7 @@ public open class CfnTable( */ override fun contributorInsightsSpecification(contributorInsightsSpecification: ContributorInsightsSpecificationProperty) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(ContributorInsightsSpecificationProperty.Companion::unwrap)) } /** @@ -2751,7 +2859,7 @@ public open class CfnTable( * together, in sorted order by the sort key value. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -2784,6 +2892,29 @@ public open class CfnTable( */ override fun keySchema(vararg keySchema: Any): Unit = keySchema(keySchema.toList()) + /** + * @param onDemandThroughput the value to be set. + */ + override fun onDemandThroughput(onDemandThroughput: IResolvable) { + cdkBuilder.onDemandThroughput(onDemandThroughput.let(IResolvable.Companion::unwrap)) + } + + /** + * @param onDemandThroughput the value to be set. + */ + override fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty) { + cdkBuilder.onDemandThroughput(onDemandThroughput.let(OnDemandThroughputProperty.Companion::unwrap)) + } + + /** + * @param onDemandThroughput the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cae04943fcb210d89eebb92f56cb35dc3b451709e92e9481802f625359c0f6ef") + override + fun onDemandThroughput(onDemandThroughput: OnDemandThroughputProperty.Builder.() -> Unit): + Unit = onDemandThroughput(OnDemandThroughputProperty(onDemandThroughput)) + /** * @param projection Represents attributes that are copied (projected) from the table into the * global secondary index. @@ -2791,7 +2922,7 @@ public open class CfnTable( * automatically projected. */ override fun projection(projection: IResolvable) { - cdkBuilder.projection(projection.let(IResolvable::unwrap)) + cdkBuilder.projection(projection.let(IResolvable.Companion::unwrap)) } /** @@ -2801,7 +2932,7 @@ public open class CfnTable( * automatically projected. */ override fun projection(projection: ProjectionProperty) { - cdkBuilder.projection(projection.let(ProjectionProperty::unwrap)) + cdkBuilder.projection(projection.let(ProjectionProperty.Companion::unwrap)) } /** @@ -2823,7 +2954,7 @@ public open class CfnTable( * the *Amazon DynamoDB Developer Guide* . */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** @@ -2834,7 +2965,7 @@ public open class CfnTable( * the *Amazon DynamoDB Developer Guide* . */ override fun provisionedThroughput(provisionedThroughput: ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -2894,6 +3025,11 @@ public open class CfnTable( */ override fun keySchema(): Any = unwrap(this).getKeySchema() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html#cfn-dynamodb-table-globalsecondaryindex-ondemandthroughput) + */ + override fun onDemandThroughput(): Any? = unwrap(this).getOnDemandThroughput() + /** * Represents attributes that are copied (projected) from the table into the global secondary * index. @@ -3076,14 +3212,14 @@ public open class CfnTable( * @param inputFormatOptions Additional properties that specify how the input is formatted,. */ override fun inputFormatOptions(inputFormatOptions: IResolvable) { - cdkBuilder.inputFormatOptions(inputFormatOptions.let(IResolvable::unwrap)) + cdkBuilder.inputFormatOptions(inputFormatOptions.let(IResolvable.Companion::unwrap)) } /** * @param inputFormatOptions Additional properties that specify how the input is formatted,. */ override fun inputFormatOptions(inputFormatOptions: InputFormatOptionsProperty) { - cdkBuilder.inputFormatOptions(inputFormatOptions.let(InputFormatOptionsProperty::unwrap)) + cdkBuilder.inputFormatOptions(inputFormatOptions.let(InputFormatOptionsProperty.Companion::unwrap)) } /** @@ -3099,14 +3235,14 @@ public open class CfnTable( * @param s3BucketSource The S3 bucket that provides the source for the import. */ override fun s3BucketSource(s3BucketSource: IResolvable) { - cdkBuilder.s3BucketSource(s3BucketSource.let(IResolvable::unwrap)) + cdkBuilder.s3BucketSource(s3BucketSource.let(IResolvable.Companion::unwrap)) } /** * @param s3BucketSource The S3 bucket that provides the source for the import. */ override fun s3BucketSource(s3BucketSource: S3BucketSourceProperty) { - cdkBuilder.s3BucketSource(s3BucketSource.let(S3BucketSourceProperty::unwrap)) + cdkBuilder.s3BucketSource(s3BucketSource.let(S3BucketSourceProperty.Companion::unwrap)) } /** @@ -3242,7 +3378,7 @@ public open class CfnTable( * The values are Delimiter and HeaderList. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** @@ -3250,7 +3386,7 @@ public open class CfnTable( * The values are Delimiter and HeaderList. */ override fun csv(csv: CsvProperty) { - cdkBuilder.csv(csv.let(CsvProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvProperty.Companion::unwrap)) } /** @@ -3758,7 +3894,7 @@ public open class CfnTable( * together, in sorted order by the sort key value. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -3798,7 +3934,7 @@ public open class CfnTable( * automatically projected. */ override fun projection(projection: IResolvable) { - cdkBuilder.projection(projection.let(IResolvable::unwrap)) + cdkBuilder.projection(projection.let(IResolvable.Companion::unwrap)) } /** @@ -3808,7 +3944,7 @@ public open class CfnTable( * automatically projected. */ override fun projection(projection: ProjectionProperty) { - cdkBuilder.projection(projection.let(ProjectionProperty::unwrap)) + cdkBuilder.projection(projection.let(ProjectionProperty.Companion::unwrap)) } /** @@ -3887,6 +4023,104 @@ public open class CfnTable( } } + /** + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.dynamodb.*; + * OnDemandThroughputProperty onDemandThroughputProperty = OnDemandThroughputProperty.builder() + * .maxReadRequestUnits(123) + * .maxWriteRequestUnits(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html) + */ + public interface OnDemandThroughputProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxreadrequestunits) + */ + public fun maxReadRequestUnits(): Number? = unwrap(this).getMaxReadRequestUnits() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxwriterequestunits) + */ + public fun maxWriteRequestUnits(): Number? = unwrap(this).getMaxWriteRequestUnits() + + /** + * A builder for [OnDemandThroughputProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param maxReadRequestUnits the value to be set. + */ + public fun maxReadRequestUnits(maxReadRequestUnits: Number) + + /** + * @param maxWriteRequestUnits the value to be set. + */ + public fun maxWriteRequestUnits(maxWriteRequestUnits: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty.Builder = + software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty.builder() + + /** + * @param maxReadRequestUnits the value to be set. + */ + override fun maxReadRequestUnits(maxReadRequestUnits: Number) { + cdkBuilder.maxReadRequestUnits(maxReadRequestUnits) + } + + /** + * @param maxWriteRequestUnits the value to be set. + */ + override fun maxWriteRequestUnits(maxWriteRequestUnits: Number) { + cdkBuilder.maxWriteRequestUnits(maxWriteRequestUnits) + } + + public fun build(): + software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty, + ) : CdkObject(cdkObject), OnDemandThroughputProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxreadrequestunits) + */ + override fun maxReadRequestUnits(): Number? = unwrap(this).getMaxReadRequestUnits() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxwriterequestunits) + */ + override fun maxWriteRequestUnits(): Number? = unwrap(this).getMaxWriteRequestUnits() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): OnDemandThroughputProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty): + OnDemandThroughputProperty = CdkObjectWrappers.wrap(cdkObject) as? + OnDemandThroughputProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: OnDemandThroughputProperty): + software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.dynamodb.CfnTable.OnDemandThroughputProperty + } + } + /** * The settings used to enable point in time recovery. * @@ -3949,7 +4183,7 @@ public open class CfnTable( * (true) or disabled (false) on the table. */ override fun pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled: IResolvable) { - cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoveryEnabled(pointInTimeRecoveryEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4745,7 +4979,7 @@ public open class CfnTable( * set to AWS owned key. */ override fun sseEnabled(sseEnabled: IResolvable) { - cdkBuilder.sseEnabled(sseEnabled.let(IResolvable::unwrap)) + cdkBuilder.sseEnabled(sseEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -4965,7 +5199,7 @@ public open class CfnTable( * . */ override fun resourcePolicy(resourcePolicy: IResolvable) { - cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -4983,7 +5217,7 @@ public open class CfnTable( * . */ override fun resourcePolicy(resourcePolicy: ResourcePolicyProperty) { - cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(ResourcePolicyProperty.Companion::unwrap)) } /** @@ -5188,7 +5422,7 @@ public open class CfnTable( * table. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTableProps.kt index d9f9cc666b..30953c44d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/CfnTableProps.kt @@ -53,6 +53,10 @@ import kotlin.jvm.JvmName * .contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder() * .enabled(false) * .build()) + * .onDemandThroughput(OnDemandThroughputProperty.builder() + * .maxReadRequestUnits(123) + * .maxWriteRequestUnits(123) + * .build()) * .provisionedThroughput(ProvisionedThroughputProperty.builder() * .readCapacityUnits(123) * .writeCapacityUnits(123) @@ -91,6 +95,10 @@ import kotlin.jvm.JvmName * .projectionType("projectionType") * .build()) * .build())) + * .onDemandThroughput(OnDemandThroughputProperty.builder() + * .maxReadRequestUnits(123) + * .maxWriteRequestUnits(123) + * .build()) * .pointInTimeRecoverySpecification(PointInTimeRecoverySpecificationProperty.builder() * .pointInTimeRecoveryEnabled(false) * .build()) @@ -253,6 +261,11 @@ public interface CfnTableProps { */ public fun localSecondaryIndexes(): Any? = unwrap(this).getLocalSecondaryIndexes() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + */ + public fun onDemandThroughput(): Any? = unwrap(this).getOnDemandThroughput() + /** * The settings used to enable point in time recovery. * @@ -630,6 +643,24 @@ public interface CfnTableProps { */ public fun localSecondaryIndexes(vararg localSecondaryIndexes: Any) + /** + * @param onDemandThroughput the value to be set. + */ + public fun onDemandThroughput(onDemandThroughput: IResolvable) + + /** + * @param onDemandThroughput the value to be set. + */ + public fun onDemandThroughput(onDemandThroughput: CfnTable.OnDemandThroughputProperty) + + /** + * @param onDemandThroughput the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cc718963042c53d725537d46f01dd6981e8cf3c1c5ce260b1ef47d116d832b4e") + public + fun onDemandThroughput(onDemandThroughput: CfnTable.OnDemandThroughputProperty.Builder.() -> Unit) + /** * @param pointInTimeRecoverySpecification The settings used to enable point in time recovery. */ @@ -867,7 +898,7 @@ public interface CfnTableProps { * . Replacement if you edit an existing AttributeDefinition. */ override fun attributeDefinitions(attributeDefinitions: IResolvable) { - cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable::unwrap)) + cdkBuilder.attributeDefinitions(attributeDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -920,7 +951,7 @@ public interface CfnTableProps { * Contributor Insights for the specified table. */ override fun contributorInsightsSpecification(contributorInsightsSpecification: IResolvable) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -929,7 +960,7 @@ public interface CfnTableProps { */ override fun contributorInsightsSpecification(contributorInsightsSpecification: CfnTable.ContributorInsightsSpecificationProperty) { - cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(CfnTable.ContributorInsightsSpecificationProperty::unwrap)) + cdkBuilder.contributorInsightsSpecification(contributorInsightsSpecification.let(CfnTable.ContributorInsightsSpecificationProperty.Companion::unwrap)) } /** @@ -962,7 +993,7 @@ public interface CfnTableProps { * in the *Amazon DynamoDB Developer Guide* . */ override fun deletionProtectionEnabled(deletionProtectionEnabled: IResolvable) { - cdkBuilder.deletionProtectionEnabled(deletionProtectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.deletionProtectionEnabled(deletionProtectionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -989,7 +1020,7 @@ public interface CfnTableProps { * the same update (for example, by changing the index's logical ID), the update fails. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: IResolvable) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -1054,7 +1085,7 @@ public interface CfnTableProps { * the IAM entity creating/updating stack must have `UpdateTable` permission. */ override fun importSourceSpecification(importSourceSpecification: IResolvable) { - cdkBuilder.importSourceSpecification(importSourceSpecification.let(IResolvable::unwrap)) + cdkBuilder.importSourceSpecification(importSourceSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1067,7 +1098,7 @@ public interface CfnTableProps { */ override fun importSourceSpecification(importSourceSpecification: CfnTable.ImportSourceSpecificationProperty) { - cdkBuilder.importSourceSpecification(importSourceSpecification.let(CfnTable.ImportSourceSpecificationProperty::unwrap)) + cdkBuilder.importSourceSpecification(importSourceSpecification.let(CfnTable.ImportSourceSpecificationProperty.Companion::unwrap)) } /** @@ -1091,7 +1122,7 @@ public interface CfnTableProps { * property. */ override fun keySchema(keySchema: IResolvable) { - cdkBuilder.keySchema(keySchema.let(IResolvable::unwrap)) + cdkBuilder.keySchema(keySchema.let(IResolvable.Companion::unwrap)) } /** @@ -1115,7 +1146,7 @@ public interface CfnTableProps { * table. */ override fun kinesisStreamSpecification(kinesisStreamSpecification: IResolvable) { - cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1124,7 +1155,7 @@ public interface CfnTableProps { */ override fun kinesisStreamSpecification(kinesisStreamSpecification: CfnTable.KinesisStreamSpecificationProperty) { - cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(CfnTable.KinesisStreamSpecificationProperty::unwrap)) + cdkBuilder.kinesisStreamSpecification(kinesisStreamSpecification.let(CfnTable.KinesisStreamSpecificationProperty.Companion::unwrap)) } /** @@ -1144,7 +1175,7 @@ public interface CfnTableProps { * value. The size of each hash key can be up to 10 gigabytes. */ override fun localSecondaryIndexes(localSecondaryIndexes: IResolvable) { - cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable::unwrap)) + cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.let(IResolvable.Companion::unwrap)) } /** @@ -1164,11 +1195,34 @@ public interface CfnTableProps { override fun localSecondaryIndexes(vararg localSecondaryIndexes: Any): Unit = localSecondaryIndexes(localSecondaryIndexes.toList()) + /** + * @param onDemandThroughput the value to be set. + */ + override fun onDemandThroughput(onDemandThroughput: IResolvable) { + cdkBuilder.onDemandThroughput(onDemandThroughput.let(IResolvable.Companion::unwrap)) + } + + /** + * @param onDemandThroughput the value to be set. + */ + override fun onDemandThroughput(onDemandThroughput: CfnTable.OnDemandThroughputProperty) { + cdkBuilder.onDemandThroughput(onDemandThroughput.let(CfnTable.OnDemandThroughputProperty.Companion::unwrap)) + } + + /** + * @param onDemandThroughput the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cc718963042c53d725537d46f01dd6981e8cf3c1c5ce260b1ef47d116d832b4e") + override + fun onDemandThroughput(onDemandThroughput: CfnTable.OnDemandThroughputProperty.Builder.() -> Unit): + Unit = onDemandThroughput(CfnTable.OnDemandThroughputProperty(onDemandThroughput)) + /** * @param pointInTimeRecoverySpecification The settings used to enable point in time recovery. */ override fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: IResolvable) { - cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(IResolvable::unwrap)) + cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1176,7 +1230,7 @@ public interface CfnTableProps { */ override fun pointInTimeRecoverySpecification(pointInTimeRecoverySpecification: CfnTable.PointInTimeRecoverySpecificationProperty) { - cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(CfnTable.PointInTimeRecoverySpecificationProperty::unwrap)) + cdkBuilder.pointInTimeRecoverySpecification(pointInTimeRecoverySpecification.let(CfnTable.PointInTimeRecoverySpecificationProperty.Companion::unwrap)) } /** @@ -1201,7 +1255,7 @@ public interface CfnTableProps { * `BillingMode` as `PAY_PER_REQUEST` , you cannot specify this property. */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** @@ -1217,7 +1271,7 @@ public interface CfnTableProps { */ override fun provisionedThroughput(provisionedThroughput: CfnTable.ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(CfnTable.ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(CfnTable.ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -1254,7 +1308,7 @@ public interface CfnTableProps { * . */ override fun resourcePolicy(resourcePolicy: IResolvable) { - cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1274,7 +1328,7 @@ public interface CfnTableProps { * . */ override fun resourcePolicy(resourcePolicy: CfnTable.ResourcePolicyProperty) { - cdkBuilder.resourcePolicy(resourcePolicy.let(CfnTable.ResourcePolicyProperty::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(CfnTable.ResourcePolicyProperty.Companion::unwrap)) } /** @@ -1302,14 +1356,14 @@ public interface CfnTableProps { * @param sseSpecification Specifies the settings to enable server-side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** * @param sseSpecification Specifies the settings to enable server-side encryption. */ override fun sseSpecification(sseSpecification: CfnTable.SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnTable.SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnTable.SSESpecificationProperty.Companion::unwrap)) } /** @@ -1326,7 +1380,7 @@ public interface CfnTableProps { * to items stored in the table. */ override fun streamSpecification(streamSpecification: IResolvable) { - cdkBuilder.streamSpecification(streamSpecification.let(IResolvable::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1334,7 +1388,7 @@ public interface CfnTableProps { * to items stored in the table. */ override fun streamSpecification(streamSpecification: CfnTable.StreamSpecificationProperty) { - cdkBuilder.streamSpecification(streamSpecification.let(CfnTable.StreamSpecificationProperty::unwrap)) + cdkBuilder.streamSpecification(streamSpecification.let(CfnTable.StreamSpecificationProperty.Companion::unwrap)) } /** @@ -1377,7 +1431,7 @@ public interface CfnTableProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1396,7 +1450,7 @@ public interface CfnTableProps { * Amazon DynamoDB Developer Guide. */ override fun timeToLiveSpecification(timeToLiveSpecification: IResolvable) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1408,7 +1462,7 @@ public interface CfnTableProps { */ override fun timeToLiveSpecification(timeToLiveSpecification: CfnTable.TimeToLiveSpecificationProperty) { - cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(CfnTable.TimeToLiveSpecificationProperty::unwrap)) + cdkBuilder.timeToLiveSpecification(timeToLiveSpecification.let(CfnTable.TimeToLiveSpecificationProperty.Companion::unwrap)) } /** @@ -1554,6 +1608,11 @@ public interface CfnTableProps { */ override fun localSecondaryIndexes(): Any? = unwrap(this).getLocalSecondaryIndexes() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput) + */ + override fun onDemandThroughput(): Any? = unwrap(this).getOnDemandThroughput() + /** * The settings used to enable point in time recovery. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexProps.kt index 1de7237320..4b14b4e385 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexProps.kt @@ -148,7 +148,7 @@ public interface GlobalSecondaryIndexProps : SecondaryIndexProps, SchemaOptions * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface GlobalSecondaryIndexProps : SecondaryIndexProps, SchemaOptions * @param projectionType The set of attributes that are projected into the secondary index. */ override fun projectionType(projectionType: ProjectionType) { - cdkBuilder.projectionType(projectionType.let(ProjectionType::unwrap)) + cdkBuilder.projectionType(projectionType.let(ProjectionType.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface GlobalSecondaryIndexProps : SecondaryIndexProps, SchemaOptions * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexPropsV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexPropsV2.kt index faaff9a285..9655f23d1c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexPropsV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/GlobalSecondaryIndexPropsV2.kt @@ -151,7 +151,7 @@ public interface GlobalSecondaryIndexPropsV2 : SecondaryIndexProps { * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface GlobalSecondaryIndexPropsV2 : SecondaryIndexProps { * @param projectionType The set of attributes that are projected into the secondary index. */ override fun projectionType(projectionType: ProjectionType) { - cdkBuilder.projectionType(projectionType.let(ProjectionType::unwrap)) + cdkBuilder.projectionType(projectionType.let(ProjectionType.Companion::unwrap)) } /** @@ -174,14 +174,14 @@ public interface GlobalSecondaryIndexPropsV2 : SecondaryIndexProps { * Note: This can only be configured if the primary table billing is provisioned. */ override fun readCapacity(readCapacity: Capacity) { - cdkBuilder.readCapacity(readCapacity.let(Capacity::unwrap)) + cdkBuilder.readCapacity(readCapacity.let(Capacity.Companion::unwrap)) } /** * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface GlobalSecondaryIndexPropsV2 : SecondaryIndexProps { * Note: This can only be configured if the primary table billing is provisioned. */ override fun writeCapacity(writeCapacity: Capacity) { - cdkBuilder.writeCapacity(writeCapacity.let(Capacity::unwrap)) + cdkBuilder.writeCapacity(writeCapacity.let(Capacity.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dynamodb.GlobalSecondaryIndexPropsV2 = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/IScalableTableAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/IScalableTableAttribute.kt index 5fa8511bc9..42593d5bb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/IScalableTableAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/IScalableTableAttribute.kt @@ -57,7 +57,7 @@ public interface IScalableTableAttribute { * @param actions */ override fun scaleOnSchedule(id: String, actions: ScalingSchedule) { - unwrap(this).scaleOnSchedule(id, actions.let(ScalingSchedule::unwrap)) + unwrap(this).scaleOnSchedule(id, actions.let(ScalingSchedule.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface IScalableTableAttribute { * @param props */ override fun scaleOnUtilization(props: UtilizationScalingProps) { - unwrap(this).scaleOnUtilization(props.let(UtilizationScalingProps::unwrap)) + unwrap(this).scaleOnUtilization(props.let(UtilizationScalingProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITable.kt index 50845ae095..20b0c09cf9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITable.kt @@ -367,7 +367,7 @@ public interface ITable : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public interface ITable : IResource { * ...). */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -410,7 +410,7 @@ public interface ITable : IResource { * @param grantee The principal to grant access to. */ override fun grantFullAccess(grantee: IGrantable): Grant = - unwrap(this).grantFullAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantFullAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, @@ -422,7 +422,7 @@ public interface ITable : IResource { * @param grantee The principal to grant access to. */ override fun grantReadData(grantee: IGrantable): Grant = - unwrap(this).grantReadData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal to all data read/write operations to this table. @@ -436,7 +436,7 @@ public interface ITable : IResource { * @param grantee The principal to grant access to. */ override fun grantReadWriteData(grantee: IGrantable): Grant = - unwrap(this).grantReadWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Adds an IAM policy statement associated with this table's stream to an IAM principal's @@ -450,7 +450,7 @@ public interface ITable : IResource { * "dynamodb:GetRecords", ...). */ override fun grantStream(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grantStream(grantee.let(IGrantable::unwrap), + unwrap(this).grantStream(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -463,7 +463,7 @@ public interface ITable : IResource { * @param grantee The principal to grant access to. */ override fun grantStreamRead(grantee: IGrantable): Grant = - unwrap(this).grantStreamRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM Principal to list streams attached to current dynamodb table. @@ -471,7 +471,7 @@ public interface ITable : IResource { * @param grantee The principal (no-op if undefined). */ override fun grantTableListStreams(grantee: IGrantable): Grant = - unwrap(this).grantTableListStreams(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTableListStreams(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, @@ -483,7 +483,7 @@ public interface ITable : IResource { * @param grantee The principal to grant access to. */ override fun grantWriteData(grantee: IGrantable): Grant = - unwrap(this).grantWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Metric for the number of Errors executing all Lambdas. @@ -501,7 +501,8 @@ public interface ITable : IResource { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of Errors executing all Lambdas. @@ -528,7 +529,7 @@ public interface ITable : IResource { * @param props properties of a metric. */ override fun metricConditionalCheckFailedRequests(props: MetricOptions): Metric = - unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the conditional check failed requests. @@ -554,7 +555,7 @@ public interface ITable : IResource { * @param props properties of a metric. */ override fun metricConsumedReadCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed read capacity units. @@ -580,7 +581,7 @@ public interface ITable : IResource { * @param props properties of a metric. */ override fun metricConsumedWriteCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed write capacity units. @@ -606,7 +607,7 @@ public interface ITable : IResource { * @param props properties of a metric. */ override fun metricSuccessfulRequestLatency(props: MetricOptions): Metric = - unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the successful request latency. @@ -633,7 +634,7 @@ public interface ITable : IResource { */ override fun metricSystemErrorsForOperations(props: SystemErrorsForOperationsMetricOptions): IMetric = - unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * Metric for the system errors this table. @@ -664,7 +665,7 @@ public interface ITable : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricThrottledRequests(props: MetricOptions): Metric = - unwrap(this).metricThrottledRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottledRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for throttled requests. @@ -692,7 +693,7 @@ public interface ITable : IResource { * @param props properties of a metric. */ override fun metricThrottledRequestsForOperations(props: OperationsMetricOptions): IMetric = - unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * Metric for throttled requests. @@ -718,7 +719,7 @@ public interface ITable : IResource { * @param props properties of a metric. */ override fun metricUserErrors(props: MetricOptions): Metric = - unwrap(this).metricUserErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricUserErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the user errors. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITableV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITableV2.kt index a8a5455c41..c47bccca8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITableV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ITableV2.kt @@ -45,7 +45,7 @@ public interface ITableV2 : ITable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -76,7 +76,7 @@ public interface ITableV2 : ITable { * ...). */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -88,7 +88,7 @@ public interface ITableV2 : ITable { * @param grantee The principal to grant access to. */ override fun grantFullAccess(grantee: IGrantable): Grant = - unwrap(this).grantFullAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantFullAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, @@ -100,7 +100,7 @@ public interface ITableV2 : ITable { * @param grantee The principal to grant access to. */ override fun grantReadData(grantee: IGrantable): Grant = - unwrap(this).grantReadData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal to all data read/write operations to this table. @@ -114,7 +114,7 @@ public interface ITableV2 : ITable { * @param grantee The principal to grant access to. */ override fun grantReadWriteData(grantee: IGrantable): Grant = - unwrap(this).grantReadWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Adds an IAM policy statement associated with this table's stream to an IAM principal's @@ -128,7 +128,7 @@ public interface ITableV2 : ITable { * "dynamodb:GetRecords", ...). */ override fun grantStream(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grantStream(grantee.let(IGrantable::unwrap), + unwrap(this).grantStream(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -141,7 +141,7 @@ public interface ITableV2 : ITable { * @param grantee The principal to grant access to. */ override fun grantStreamRead(grantee: IGrantable): Grant = - unwrap(this).grantStreamRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM Principal to list streams attached to current dynamodb table. @@ -149,7 +149,7 @@ public interface ITableV2 : ITable { * @param grantee The principal (no-op if undefined). */ override fun grantTableListStreams(grantee: IGrantable): Grant = - unwrap(this).grantTableListStreams(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTableListStreams(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, @@ -161,7 +161,7 @@ public interface ITableV2 : ITable { * @param grantee The principal to grant access to. */ override fun grantWriteData(grantee: IGrantable): Grant = - unwrap(this).grantWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Metric for the number of Errors executing all Lambdas. @@ -179,7 +179,8 @@ public interface ITableV2 : ITable { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of Errors executing all Lambdas. @@ -206,7 +207,7 @@ public interface ITableV2 : ITable { * @param props properties of a metric. */ override fun metricConditionalCheckFailedRequests(props: MetricOptions): Metric = - unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the conditional check failed requests. @@ -232,7 +233,7 @@ public interface ITableV2 : ITable { * @param props properties of a metric. */ override fun metricConsumedReadCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed read capacity units. @@ -258,7 +259,7 @@ public interface ITableV2 : ITable { * @param props properties of a metric. */ override fun metricConsumedWriteCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed write capacity units. @@ -284,7 +285,7 @@ public interface ITableV2 : ITable { * @param props properties of a metric. */ override fun metricSuccessfulRequestLatency(props: MetricOptions): Metric = - unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the successful request latency. @@ -311,7 +312,7 @@ public interface ITableV2 : ITable { */ override fun metricSystemErrorsForOperations(props: SystemErrorsForOperationsMetricOptions): IMetric = - unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * Metric for the system errors this table. @@ -342,7 +343,7 @@ public interface ITableV2 : ITable { */ @Deprecated(message = "deprecated in CDK") override fun metricThrottledRequests(props: MetricOptions): Metric = - unwrap(this).metricThrottledRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottledRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for throttled requests. @@ -370,7 +371,7 @@ public interface ITableV2 : ITable { * @param props properties of a metric. */ override fun metricThrottledRequestsForOperations(props: OperationsMetricOptions): IMetric = - unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * Metric for throttled requests. @@ -396,7 +397,7 @@ public interface ITableV2 : ITable { * @param props properties of a metric. */ override fun metricUserErrors(props: MetricOptions): Metric = - unwrap(this).metricUserErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricUserErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the user errors. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ImportSourceSpecification.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ImportSourceSpecification.kt index 9d7184d4ea..a2d400ed57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ImportSourceSpecification.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ImportSourceSpecification.kt @@ -107,7 +107,7 @@ public interface ImportSourceSpecification { * @param bucket The S3 bucket that is being imported from. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -121,14 +121,14 @@ public interface ImportSourceSpecification { * @param compressionType The compression type of the imported data. */ override fun compressionType(compressionType: InputCompressionType) { - cdkBuilder.compressionType(compressionType.let(InputCompressionType::unwrap)) + cdkBuilder.compressionType(compressionType.let(InputCompressionType.Companion::unwrap)) } /** * @param inputFormat The format of the imported data. */ override fun inputFormat(inputFormat: InputFormat) { - cdkBuilder.inputFormat(inputFormat.let(InputFormat::unwrap)) + cdkBuilder.inputFormat(inputFormat.let(InputFormat.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/InputFormat.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/InputFormat.kt index 0b80f428d9..59236379c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/InputFormat.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/InputFormat.kt @@ -44,7 +44,7 @@ public abstract class InputFormat( software.amazon.awscdk.services.dynamodb.InputFormat.csv().let(InputFormat::wrap) public fun csv(options: CsvOptions): InputFormat = - software.amazon.awscdk.services.dynamodb.InputFormat.csv(options.let(CsvOptions::unwrap)).let(InputFormat::wrap) + software.amazon.awscdk.services.dynamodb.InputFormat.csv(options.let(CsvOptions.Companion::unwrap)).let(InputFormat::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2755f0fdb57e36185ffda293270efaf3fa63ca1727275d2fcf5c04e945bdd9ba") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/LocalSecondaryIndexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/LocalSecondaryIndexProps.kt index 2a0c6a876a..7026856cf9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/LocalSecondaryIndexProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/LocalSecondaryIndexProps.kt @@ -103,14 +103,14 @@ public interface LocalSecondaryIndexProps : SecondaryIndexProps { * @param projectionType The set of attributes that are projected into the secondary index. */ override fun projectionType(projectionType: ProjectionType) { - cdkBuilder.projectionType(projectionType.let(ProjectionType::unwrap)) + cdkBuilder.projectionType(projectionType.let(ProjectionType.Companion::unwrap)) } /** * @param sortKey The attribute of a sort key for the local secondary index. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/OperationsMetricOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/OperationsMetricOptions.kt index a70e566b22..9838e8d5b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/OperationsMetricOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/OperationsMetricOptions.kt @@ -177,7 +177,7 @@ public interface OperationsMetricOptions : SystemErrorsForOperationsMetricOption * @param operations The operations to apply the metric to. */ override fun operations(operations: List) { - cdkBuilder.operations(operations.map(Operation::unwrap)) + cdkBuilder.operations(operations.map(Operation.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface OperationsMetricOptions : SystemErrorsForOperationsMetricOption * @param period The period over which the specified statistic is applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface OperationsMetricOptions : SystemErrorsForOperationsMetricOption * CloudWatch does not honor this property for graphs. */ override fun unit(unit: CloudwatchUnit) { - cdkBuilder.unit(unit.let(CloudwatchUnit::unwrap)) + cdkBuilder.unit(unit.let(CloudwatchUnit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dynamodb.OperationsMetricOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaGlobalSecondaryIndexOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaGlobalSecondaryIndexOptions.kt index bbb72bf15a..b479eb41c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaGlobalSecondaryIndexOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaGlobalSecondaryIndexOptions.kt @@ -107,7 +107,7 @@ public interface ReplicaGlobalSecondaryIndexOptions { * Note: This can only be configured if primary table billing is provisioned. */ override fun readCapacity(readCapacity: Capacity) { - cdkBuilder.readCapacity(readCapacity.let(Capacity::unwrap)) + cdkBuilder.readCapacity(readCapacity.let(Capacity.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dynamodb.ReplicaGlobalSecondaryIndexOptions diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaTableProps.kt index 50a95e228c..0a640cae37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ReplicaTableProps.kt @@ -144,7 +144,7 @@ public interface ReplicaTableProps : TableOptionsV2 { * @param kinesisStream Kinesis Data Stream to capture item level changes. */ override fun kinesisStream(kinesisStream: IStream) { - cdkBuilder.kinesisStream(kinesisStream.let(IStream::unwrap)) + cdkBuilder.kinesisStream(kinesisStream.let(IStream.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface ReplicaTableProps : TableOptionsV2 { * Note: This can only be configured if the primary table billing is provisioned. */ override fun readCapacity(readCapacity: Capacity) { - cdkBuilder.readCapacity(readCapacity.let(Capacity::unwrap)) + cdkBuilder.readCapacity(readCapacity.let(Capacity.Companion::unwrap)) } /** @@ -173,14 +173,14 @@ public interface ReplicaTableProps : TableOptionsV2 { * @param tableClass The table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** * @param tags Tags to be applied to the table or replica table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SchemaOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SchemaOptions.kt index e9d697df58..91eb64c6a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SchemaOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SchemaOptions.kt @@ -81,7 +81,7 @@ public interface SchemaOptions { * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public interface SchemaOptions { * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SecondaryIndexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SecondaryIndexProps.kt index d42f1800a0..c6ec6c6b5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SecondaryIndexProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SecondaryIndexProps.kt @@ -101,7 +101,7 @@ public interface SecondaryIndexProps { * @param projectionType The set of attributes that are projected into the secondary index. */ override fun projectionType(projectionType: ProjectionType) { - cdkBuilder.projectionType(projectionType.let(ProjectionType::unwrap)) + cdkBuilder.projectionType(projectionType.let(ProjectionType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dynamodb.SecondaryIndexProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SystemErrorsForOperationsMetricOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SystemErrorsForOperationsMetricOptions.kt index 3dc6d0b5ea..95a68c706a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SystemErrorsForOperationsMetricOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/SystemErrorsForOperationsMetricOptions.kt @@ -188,7 +188,7 @@ public interface SystemErrorsForOperationsMetricOptions : MetricOptions { * @param operations The operations to apply the metric to. */ override fun operations(operations: List) { - cdkBuilder.operations(operations.map(Operation::unwrap)) + cdkBuilder.operations(operations.map(Operation.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface SystemErrorsForOperationsMetricOptions : MetricOptions { * @param period The period over which the specified statistic is applied. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface SystemErrorsForOperationsMetricOptions : MetricOptions { * CloudWatch does not honor this property for graphs. */ override fun unit(unit: CloudwatchUnit) { - cdkBuilder.unit(unit.let(CloudwatchUnit::unwrap)) + cdkBuilder.unit(unit.let(CloudwatchUnit.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Table.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Table.kt index d2162485e0..be1d1247eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Table.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/Table.kt @@ -52,8 +52,8 @@ public open class Table( id: String, props: TableProps, ) : - this(software.amazon.awscdk.services.dynamodb.Table(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TableProps::unwrap)) + this(software.amazon.awscdk.services.dynamodb.Table(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TableProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class Table( * @param props the property of global secondary index. */ public open fun addGlobalSecondaryIndex(props: GlobalSecondaryIndexProps) { - unwrap(this).addGlobalSecondaryIndex(props.let(GlobalSecondaryIndexProps::unwrap)) + unwrap(this).addGlobalSecondaryIndex(props.let(GlobalSecondaryIndexProps.Companion::unwrap)) } /** @@ -88,7 +88,7 @@ public open class Table( * @param props the property of local secondary index. */ public open fun addLocalSecondaryIndex(props: LocalSecondaryIndexProps) { - unwrap(this).addLocalSecondaryIndex(props.let(LocalSecondaryIndexProps::unwrap)) + unwrap(this).addLocalSecondaryIndex(props.let(LocalSecondaryIndexProps.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class Table( public open fun autoScaleGlobalSecondaryIndexReadCapacity(indexName: String, props: EnableScalingProps): IScalableTableAttribute = unwrap(this).autoScaleGlobalSecondaryIndexReadCapacity(indexName, - props.let(EnableScalingProps::unwrap)).let(IScalableTableAttribute::wrap) + props.let(EnableScalingProps.Companion::unwrap)).let(IScalableTableAttribute::wrap) /** * Enable read capacity scaling for the given GSI. @@ -136,7 +136,7 @@ public open class Table( public open fun autoScaleGlobalSecondaryIndexWriteCapacity(indexName: String, props: EnableScalingProps): IScalableTableAttribute = unwrap(this).autoScaleGlobalSecondaryIndexWriteCapacity(indexName, - props.let(EnableScalingProps::unwrap)).let(IScalableTableAttribute::wrap) + props.let(EnableScalingProps.Companion::unwrap)).let(IScalableTableAttribute::wrap) /** * Enable write capacity scaling for the given GSI. @@ -158,7 +158,7 @@ public open class Table( * @param props */ public open fun autoScaleReadCapacity(props: EnableScalingProps): IScalableTableAttribute = - unwrap(this).autoScaleReadCapacity(props.let(EnableScalingProps::unwrap)).let(IScalableTableAttribute::wrap) + unwrap(this).autoScaleReadCapacity(props.let(EnableScalingProps.Companion::unwrap)).let(IScalableTableAttribute::wrap) /** * Enable read capacity scaling for this table. @@ -178,7 +178,7 @@ public open class Table( * @param props */ public open fun autoScaleWriteCapacity(props: EnableScalingProps): IScalableTableAttribute = - unwrap(this).autoScaleWriteCapacity(props.let(EnableScalingProps::unwrap)).let(IScalableTableAttribute::wrap) + unwrap(this).autoScaleWriteCapacity(props.let(EnableScalingProps.Companion::unwrap)).let(IScalableTableAttribute::wrap) /** * Enable write capacity scaling for this table. @@ -519,7 +519,7 @@ public open class Table( * manage capacity. */ override fun billingMode(billingMode: BillingMode) { - cdkBuilder.billingMode(billingMode.let(BillingMode::unwrap)) + cdkBuilder.billingMode(billingMode.let(BillingMode.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class Table( * enabled. */ override fun encryption(encryption: TableEncryption) { - cdkBuilder.encryption(encryption.let(TableEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(TableEncryption.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public open class Table( * @param encryptionKey External KMS key to use for table encryption. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -593,7 +593,7 @@ public open class Table( * table. */ override fun importSource(importSource: ImportSourceSpecification) { - cdkBuilder.importSource(importSource.let(ImportSourceSpecification::unwrap)) + cdkBuilder.importSource(importSource.let(ImportSourceSpecification.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class Table( * @param kinesisStream Kinesis Data Stream to capture item-level changes for the table. */ override fun kinesisStream(kinesisStream: IStream) { - cdkBuilder.kinesisStream(kinesisStream.let(IStream::unwrap)) + cdkBuilder.kinesisStream(kinesisStream.let(IStream.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class Table( * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class Table( * @param removalPolicy The removal policy to apply to the DynamoDB Table. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class Table( * @param replicationTimeout The timeout for a table replication operation in a single region. */ override fun replicationTimeout(replicationTimeout: Duration) { - cdkBuilder.replicationTimeout(replicationTimeout.let(Duration::unwrap)) + cdkBuilder.replicationTimeout(replicationTimeout.let(Duration.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class Table( * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** @@ -741,7 +741,7 @@ public open class Table( * information is written to the stream for this table. */ override fun stream(stream: StreamViewType) { - cdkBuilder.stream(stream.let(StreamViewType::unwrap)) + cdkBuilder.stream(stream.let(StreamViewType.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class Table( * @param tableClass Specify the table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** @@ -831,7 +831,7 @@ public open class Table( id: String, tableArn: String, ): ITable = - software.amazon.awscdk.services.dynamodb.Table.fromTableArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.dynamodb.Table.fromTableArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, tableArn).let(ITable::wrap) public fun fromTableAttributes( @@ -839,8 +839,8 @@ public open class Table( id: String, attrs: TableAttributes, ): ITable = - software.amazon.awscdk.services.dynamodb.Table.fromTableAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(TableAttributes::unwrap)).let(ITable::wrap) + software.amazon.awscdk.services.dynamodb.Table.fromTableAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(TableAttributes.Companion::unwrap)).let(ITable::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("62bcd05214907d2b15967422d696b87c576a19fd7d7eda43e7c503e51c260176") @@ -855,7 +855,7 @@ public open class Table( id: String, tableName: String, ): ITable = - software.amazon.awscdk.services.dynamodb.Table.fromTableName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.dynamodb.Table.fromTableName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, tableName).let(ITable::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributes.kt index 998364c356..83aadf9339 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributes.kt @@ -182,7 +182,7 @@ public interface TableAttributes { * key. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributesV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributesV2.kt index 20130c28a3..7c789bde31 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributesV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableAttributesV2.kt @@ -181,7 +181,7 @@ public interface TableAttributesV2 { * @param encryptionKey KMS encryption key for the table. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBase.kt index b697bc3efd..cb6e613914 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBase.kt @@ -37,8 +37,8 @@ public abstract class TableBase( * @param actions The set of actions to allow (i.e. "dynamodb:PutItem", "dynamodb:GetItem", ...). */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Permits all DynamoDB operations ("dynamodb:*") to an IAM principal. @@ -49,7 +49,7 @@ public abstract class TableBase( * @param grantee The principal to grant access to. */ public override fun grantFullAccess(grantee: IGrantable): Grant = - unwrap(this).grantFullAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantFullAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, @@ -61,7 +61,7 @@ public abstract class TableBase( * @param grantee The principal to grant access to. */ public override fun grantReadData(grantee: IGrantable): Grant = - unwrap(this).grantReadData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal to all data read/write operations to this table. @@ -75,7 +75,7 @@ public abstract class TableBase( * @param grantee The principal to grant access to. */ public override fun grantReadWriteData(grantee: IGrantable): Grant = - unwrap(this).grantReadWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Adds an IAM policy statement associated with this table's stream to an IAM principal's policy. @@ -88,7 +88,7 @@ public abstract class TableBase( * "dynamodb:GetRecords", ...). */ public override fun grantStream(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grantStream(grantee.let(IGrantable::unwrap), + unwrap(this).grantStream(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -101,7 +101,7 @@ public abstract class TableBase( * @param grantee The principal to grant access to. */ public override fun grantStreamRead(grantee: IGrantable): Grant = - unwrap(this).grantStreamRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM Principal to list streams attached to current dynamodb table. @@ -109,7 +109,7 @@ public abstract class TableBase( * @param grantee The principal (no-op if undefined). */ public override fun grantTableListStreams(grantee: IGrantable): Grant = - unwrap(this).grantTableListStreams(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTableListStreams(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, @@ -121,7 +121,7 @@ public abstract class TableBase( * @param grantee The principal to grant access to. */ public override fun grantWriteData(grantee: IGrantable): Grant = - unwrap(this).grantWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Table. @@ -145,7 +145,7 @@ public abstract class TableBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Table. @@ -181,7 +181,7 @@ public abstract class TableBase( * @param props */ public override fun metricConditionalCheckFailedRequests(props: MetricOptions): Metric = - unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the conditional check failed requests this table. @@ -216,7 +216,7 @@ public abstract class TableBase( * @param props */ public override fun metricConsumedReadCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed read capacity units this table. @@ -251,7 +251,7 @@ public abstract class TableBase( * @param props */ public override fun metricConsumedWriteCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed write capacity units this table. @@ -286,7 +286,7 @@ public abstract class TableBase( * @param props */ public override fun metricSuccessfulRequestLatency(props: MetricOptions): Metric = - unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the successful request latency this table. @@ -318,7 +318,7 @@ public abstract class TableBase( */ @Deprecated(message = "deprecated in CDK") public open fun metricSystemErrors(props: MetricOptions): Metric = - unwrap(this).metricSystemErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSystemErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the system errors this table. @@ -357,7 +357,7 @@ public abstract class TableBase( */ public override fun metricSystemErrorsForOperations(props: SystemErrorsForOperationsMetricOptions): IMetric = - unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * Metric for the system errors this table. @@ -399,7 +399,7 @@ public abstract class TableBase( */ @Deprecated(message = "deprecated in CDK") public override fun metricThrottledRequests(props: MetricOptions): Metric = - unwrap(this).metricThrottledRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottledRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) How many requests are throttled on this table. @@ -437,7 +437,7 @@ public abstract class TableBase( */ public open fun metricThrottledRequestsForOperation(operation: String, props: MetricOptions): Metric = unwrap(this).metricThrottledRequestsForOperation(operation, - props.let(MetricOptions::unwrap)).let(Metric::wrap) + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How many requests are throttled on this table, for the given operation. @@ -478,7 +478,7 @@ public abstract class TableBase( */ public override fun metricThrottledRequestsForOperations(props: OperationsMetricOptions): IMetric = - unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * How many requests are throttled on this table. @@ -521,7 +521,7 @@ public abstract class TableBase( * @param props */ public override fun metricUserErrors(props: MetricOptions): Metric = - unwrap(this).metricUserErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricUserErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the user errors. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBaseV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBaseV2.kt index a04e2fe741..4370109cdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBaseV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableBaseV2.kt @@ -38,8 +38,8 @@ public abstract class TableBaseV2( * etc.). */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Permits an IAM principal to all DynamoDB operations ('dynamodb:*') on this table. @@ -51,7 +51,7 @@ public abstract class TableBaseV2( * @param grantee the principal to grant access to. */ public override fun grantFullAccess(grantee: IGrantable): Grant = - unwrap(this).grantFullAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantFullAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data read operations on this table. @@ -65,7 +65,7 @@ public abstract class TableBaseV2( * @param grantee the principal to grant access to. */ public override fun grantReadData(grantee: IGrantable): Grant = - unwrap(this).grantReadData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal to all data read/write operations on this table. @@ -81,7 +81,7 @@ public abstract class TableBaseV2( * @param grantee the principal to grant access to. */ public override fun grantReadWriteData(grantee: IGrantable): Grant = - unwrap(this).grantReadWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Adds an IAM policy statement associated with this table to an IAM principal's policy. @@ -94,7 +94,7 @@ public abstract class TableBaseV2( * 'dynamodb:GetRecords', etc.). */ public override fun grantStream(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grantStream(grantee.let(IGrantable::unwrap), + unwrap(this).grantStream(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -109,7 +109,7 @@ public abstract class TableBaseV2( * @param grantee the principal to grant access to. */ public override fun grantStreamRead(grantee: IGrantable): Grant = - unwrap(this).grantStreamRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStreamRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal to list streams attached to this table. @@ -117,7 +117,7 @@ public abstract class TableBaseV2( * @param grantee the principal to grant access to. */ public override fun grantTableListStreams(grantee: IGrantable): Grant = - unwrap(this).grantTableListStreams(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTableListStreams(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Permits an IAM principal all data write operations on this table. @@ -131,7 +131,7 @@ public abstract class TableBaseV2( * @param grantee the principal to grant access to. */ public override fun grantWriteData(grantee: IGrantable): Grant = - unwrap(this).grantWriteData(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWriteData(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this table. @@ -155,7 +155,7 @@ public abstract class TableBaseV2( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this table. @@ -191,7 +191,7 @@ public abstract class TableBaseV2( * @param props */ public override fun metricConditionalCheckFailedRequests(props: MetricOptions): Metric = - unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConditionalCheckFailedRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the conditional check failed requests for this table. @@ -226,7 +226,7 @@ public abstract class TableBaseV2( * @param props */ public override fun metricConsumedReadCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedReadCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed read capacity units for this table. @@ -261,7 +261,7 @@ public abstract class TableBaseV2( * @param props */ public override fun metricConsumedWriteCapacityUnits(props: MetricOptions): Metric = - unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedWriteCapacityUnits(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the consumed write capacity units for this table. @@ -296,7 +296,7 @@ public abstract class TableBaseV2( * @param props */ public override fun metricSuccessfulRequestLatency(props: MetricOptions): Metric = - unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSuccessfulRequestLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the successful request latency for this table. @@ -328,7 +328,7 @@ public abstract class TableBaseV2( */ @Deprecated(message = "deprecated in CDK") public open fun metricSystemErrors(props: MetricOptions): Metric = - unwrap(this).metricSystemErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSystemErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the system errors this table. @@ -365,7 +365,7 @@ public abstract class TableBaseV2( */ public override fun metricSystemErrorsForOperations(props: SystemErrorsForOperationsMetricOptions): IMetric = - unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricSystemErrorsForOperations(props.let(SystemErrorsForOperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * Metric for the system errors for this table. This will sum errors across all possible @@ -408,7 +408,7 @@ public abstract class TableBaseV2( */ @Deprecated(message = "deprecated in CDK") public override fun metricThrottledRequests(props: MetricOptions): Metric = - unwrap(this).metricThrottledRequests(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottledRequests(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) How many requests are throttled on this table. @@ -450,7 +450,7 @@ public abstract class TableBaseV2( public open fun metricThrottledRequestsForOperation(operation: String, props: OperationsMetricOptions): IMetric = unwrap(this).metricThrottledRequestsForOperation(operation, - props.let(OperationsMetricOptions::unwrap)).let(IMetric::wrap) + props.let(OperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * How many requests are throttled on this table for the given operation. @@ -490,7 +490,7 @@ public abstract class TableBaseV2( */ public override fun metricThrottledRequestsForOperations(props: OperationsMetricOptions): IMetric = - unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions::unwrap)).let(IMetric::wrap) + unwrap(this).metricThrottledRequestsForOperations(props.let(OperationsMetricOptions.Companion::unwrap)).let(IMetric::wrap) /** * How many requests are throttled on this table. This will sum errors across all possible @@ -532,7 +532,7 @@ public abstract class TableBaseV2( * @param props */ public override fun metricUserErrors(props: MetricOptions): Metric = - unwrap(this).metricUserErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricUserErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the user errors for this table. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableEncryptionV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableEncryptionV2.kt index 9ed550ca59..edd1ea364a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableEncryptionV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableEncryptionV2.kt @@ -59,11 +59,11 @@ public abstract class TableEncryptionV2( software.amazon.awscdk.services.dynamodb.TableEncryptionV2.awsManagedKey().let(TableEncryptionV2::wrap) public fun customerManagedKey(tableKey: IKey): TableEncryptionV2 = - software.amazon.awscdk.services.dynamodb.TableEncryptionV2.customerManagedKey(tableKey.let(IKey::unwrap)).let(TableEncryptionV2::wrap) + software.amazon.awscdk.services.dynamodb.TableEncryptionV2.customerManagedKey(tableKey.let(IKey.Companion::unwrap)).let(TableEncryptionV2::wrap) public fun customerManagedKey(tableKey: IKey, replicaKeyArns: Map): TableEncryptionV2 = - software.amazon.awscdk.services.dynamodb.TableEncryptionV2.customerManagedKey(tableKey.let(IKey::unwrap), + software.amazon.awscdk.services.dynamodb.TableEncryptionV2.customerManagedKey(tableKey.let(IKey.Companion::unwrap), replicaKeyArns).let(TableEncryptionV2::wrap) public fun dynamoOwnedKey(): TableEncryptionV2 = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptions.kt index 68e462d650..f1483773c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptions.kt @@ -402,7 +402,7 @@ public interface TableOptions : SchemaOptions { * manage capacity. */ override fun billingMode(billingMode: BillingMode) { - cdkBuilder.billingMode(billingMode.let(BillingMode::unwrap)) + cdkBuilder.billingMode(billingMode.let(BillingMode.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface TableOptions : SchemaOptions { * `@aws-cdk/aws-kms:defaultKeyPolicies` is set to `true` in your `cdk.json`. */ override fun encryption(encryption: TableEncryption) { - cdkBuilder.encryption(encryption.let(TableEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(TableEncryption.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface TableOptions : SchemaOptions { * This property can only be set if `encryption` is set to `TableEncryption.CUSTOMER_MANAGED`. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public interface TableOptions : SchemaOptions { * table. */ override fun importSource(importSource: ImportSourceSpecification) { - cdkBuilder.importSource(importSource.let(ImportSourceSpecification::unwrap)) + cdkBuilder.importSource(importSource.let(ImportSourceSpecification.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public interface TableOptions : SchemaOptions { * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public interface TableOptions : SchemaOptions { * @param removalPolicy The removal policy to apply to the DynamoDB Table. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -518,14 +518,14 @@ public interface TableOptions : SchemaOptions { * @param replicationTimeout The timeout for a table replication operation in a single region. */ override fun replicationTimeout(replicationTimeout: Duration) { - cdkBuilder.replicationTimeout(replicationTimeout.let(Duration::unwrap)) + cdkBuilder.replicationTimeout(replicationTimeout.let(Duration.Companion::unwrap)) } /** * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** @@ -540,14 +540,14 @@ public interface TableOptions : SchemaOptions { * information is written to the stream for this table. */ override fun stream(stream: StreamViewType) { - cdkBuilder.stream(stream.let(StreamViewType::unwrap)) + cdkBuilder.stream(stream.let(StreamViewType.Companion::unwrap)) } /** * @param tableClass Specify the table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptionsV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptionsV2.kt index 35571b3d96..e0559b9e45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptionsV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableOptionsV2.kt @@ -141,7 +141,7 @@ public interface TableOptionsV2 { * @param kinesisStream Kinesis Data Stream to capture item level changes. */ override fun kinesisStream(kinesisStream: IStream) { - cdkBuilder.kinesisStream(kinesisStream.let(IStream::unwrap)) + cdkBuilder.kinesisStream(kinesisStream.let(IStream.Companion::unwrap)) } /** @@ -155,14 +155,14 @@ public interface TableOptionsV2 { * @param tableClass The table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** * @param tags Tags to be applied to the table or replica table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableProps.kt index 20ef8cc482..50b523d4e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableProps.kt @@ -239,7 +239,7 @@ public interface TableProps : TableOptions { * manage capacity. */ override fun billingMode(billingMode: BillingMode) { - cdkBuilder.billingMode(billingMode.let(BillingMode::unwrap)) + cdkBuilder.billingMode(billingMode.let(BillingMode.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface TableProps : TableOptions { * `@aws-cdk/aws-kms:defaultKeyPolicies` is set to `true` in your `cdk.json`. */ override fun encryption(encryption: TableEncryption) { - cdkBuilder.encryption(encryption.let(TableEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(TableEncryption.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface TableProps : TableOptions { * This property can only be set if `encryption` is set to `TableEncryption.CUSTOMER_MANAGED`. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface TableProps : TableOptions { * table. */ override fun importSource(importSource: ImportSourceSpecification) { - cdkBuilder.importSource(importSource.let(ImportSourceSpecification::unwrap)) + cdkBuilder.importSource(importSource.let(ImportSourceSpecification.Companion::unwrap)) } /** @@ -302,14 +302,14 @@ public interface TableProps : TableOptions { * @param kinesisStream Kinesis Data Stream to capture item-level changes for the table. */ override fun kinesisStream(kinesisStream: IStream) { - cdkBuilder.kinesisStream(kinesisStream.let(IStream::unwrap)) + cdkBuilder.kinesisStream(kinesisStream.let(IStream.Companion::unwrap)) } /** * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface TableProps : TableOptions { * @param removalPolicy The removal policy to apply to the DynamoDB Table. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -362,14 +362,14 @@ public interface TableProps : TableOptions { * @param replicationTimeout The timeout for a table replication operation in a single region. */ override fun replicationTimeout(replicationTimeout: Duration) { - cdkBuilder.replicationTimeout(replicationTimeout.let(Duration::unwrap)) + cdkBuilder.replicationTimeout(replicationTimeout.let(Duration.Companion::unwrap)) } /** * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** @@ -384,14 +384,14 @@ public interface TableProps : TableOptions { * information is written to the stream for this table. */ override fun stream(stream: StreamViewType) { - cdkBuilder.stream(stream.let(StreamViewType::unwrap)) + cdkBuilder.stream(stream.let(StreamViewType.Companion::unwrap)) } /** * @param tableClass Specify the table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TablePropsV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TablePropsV2.kt index 5b23bc14e4..2db7e97624 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TablePropsV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TablePropsV2.kt @@ -271,7 +271,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param billing The billing mode and capacity settings to apply to the table. */ override fun billing(billing: Billing) { - cdkBuilder.billing(billing.let(Billing::unwrap)) + cdkBuilder.billing(billing.let(Billing.Companion::unwrap)) } /** @@ -293,14 +293,14 @@ public interface TablePropsV2 : TableOptionsV2 { * information is written to the stream. */ override fun dynamoStream(dynamoStream: StreamViewType) { - cdkBuilder.dynamoStream(dynamoStream.let(StreamViewType::unwrap)) + cdkBuilder.dynamoStream(dynamoStream.let(StreamViewType.Companion::unwrap)) } /** * @param encryption The server-side encryption. */ override fun encryption(encryption: TableEncryptionV2) { - cdkBuilder.encryption(encryption.let(TableEncryptionV2::unwrap)) + cdkBuilder.encryption(encryption.let(TableEncryptionV2.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface TablePropsV2 : TableOptionsV2 { * Note: You can provide a maximum of 20 global secondary indexes. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: List) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.map(GlobalSecondaryIndexPropsV2::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.map(GlobalSecondaryIndexPropsV2.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param kinesisStream Kinesis Data Stream to capture item level changes. */ override fun kinesisStream(kinesisStream: IStream) { - cdkBuilder.kinesisStream(kinesisStream.let(IStream::unwrap)) + cdkBuilder.kinesisStream(kinesisStream.let(IStream.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public interface TablePropsV2 : TableOptionsV2 { * Note: You can only provide a maximum of 5 local secondary indexes. */ override fun localSecondaryIndexes(localSecondaryIndexes: List) { - cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.map(LocalSecondaryIndexProps::unwrap)) + cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.map(LocalSecondaryIndexProps.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param removalPolicy The removal policy applied to the table. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public interface TablePropsV2 : TableOptionsV2 { * to. Replica tables will only be supported if the stack deployment region is defined. */ override fun replicas(replicas: List) { - cdkBuilder.replicas(replicas.map(ReplicaTableProps::unwrap)) + cdkBuilder.replicas(replicas.map(ReplicaTableProps.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param tableClass The table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public interface TablePropsV2 : TableOptionsV2 { * @param tags Tags to be applied to the table or replica table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableV2.kt index 18041e82cb..a950f34fa1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/TableV2.kt @@ -42,8 +42,8 @@ public open class TableV2( id: String, props: TablePropsV2, ) : - this(software.amazon.awscdk.services.dynamodb.TableV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TablePropsV2::unwrap)) + this(software.amazon.awscdk.services.dynamodb.TableV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TablePropsV2.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class TableV2( * @param props the properties of the global secondary index. */ public open fun addGlobalSecondaryIndex(props: GlobalSecondaryIndexPropsV2) { - unwrap(this).addGlobalSecondaryIndex(props.let(GlobalSecondaryIndexPropsV2::unwrap)) + unwrap(this).addGlobalSecondaryIndex(props.let(GlobalSecondaryIndexPropsV2.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public open class TableV2( * @param props the properties of the local secondary index. */ public open fun addLocalSecondaryIndex(props: LocalSecondaryIndexProps) { - unwrap(this).addLocalSecondaryIndex(props.let(LocalSecondaryIndexProps::unwrap)) + unwrap(this).addLocalSecondaryIndex(props.let(LocalSecondaryIndexProps.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public open class TableV2( * @param props the properties of the replica table to add. */ public open fun addReplica(props: ReplicaTableProps) { - unwrap(this).addReplica(props.let(ReplicaTableProps::unwrap)) + unwrap(this).addReplica(props.let(ReplicaTableProps.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class TableV2( * @param billing The billing mode and capacity settings to apply to the table. */ override fun billing(billing: Billing) { - cdkBuilder.billing(billing.let(Billing::unwrap)) + cdkBuilder.billing(billing.let(Billing.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public open class TableV2( * information is written to the stream. */ override fun dynamoStream(dynamoStream: StreamViewType) { - cdkBuilder.dynamoStream(dynamoStream.let(StreamViewType::unwrap)) + cdkBuilder.dynamoStream(dynamoStream.let(StreamViewType.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class TableV2( * @param encryption The server-side encryption. */ override fun encryption(encryption: TableEncryptionV2) { - cdkBuilder.encryption(encryption.let(TableEncryptionV2::unwrap)) + cdkBuilder.encryption(encryption.let(TableEncryptionV2.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class TableV2( * @param globalSecondaryIndexes Global secondary indexes. */ override fun globalSecondaryIndexes(globalSecondaryIndexes: List) { - cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.map(GlobalSecondaryIndexPropsV2::unwrap)) + cdkBuilder.globalSecondaryIndexes(globalSecondaryIndexes.map(GlobalSecondaryIndexPropsV2.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class TableV2( * @param kinesisStream Kinesis Data Stream to capture item level changes. */ override fun kinesisStream(kinesisStream: IStream) { - cdkBuilder.kinesisStream(kinesisStream.let(IStream::unwrap)) + cdkBuilder.kinesisStream(kinesisStream.let(IStream.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class TableV2( * @param localSecondaryIndexes Local secondary indexes. */ override fun localSecondaryIndexes(localSecondaryIndexes: List) { - cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.map(LocalSecondaryIndexProps::unwrap)) + cdkBuilder.localSecondaryIndexes(localSecondaryIndexes.map(LocalSecondaryIndexProps.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class TableV2( * @param partitionKey Partition key attribute definition. */ override fun partitionKey(partitionKey: Attribute) { - cdkBuilder.partitionKey(partitionKey.let(Attribute::unwrap)) + cdkBuilder.partitionKey(partitionKey.let(Attribute.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public open class TableV2( * @param removalPolicy The removal policy applied to the table. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class TableV2( * @param replicas Replica tables to deploy with the primary table. */ override fun replicas(replicas: List) { - cdkBuilder.replicas(replicas.map(ReplicaTableProps::unwrap)) + cdkBuilder.replicas(replicas.map(ReplicaTableProps.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class TableV2( * @param sortKey Sort key attribute definition. */ override fun sortKey(sortKey: Attribute) { - cdkBuilder.sortKey(sortKey.let(Attribute::unwrap)) + cdkBuilder.sortKey(sortKey.let(Attribute.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class TableV2( * @param tableClass The table class. */ override fun tableClass(tableClass: TableClass) { - cdkBuilder.tableClass(tableClass.let(TableClass::unwrap)) + cdkBuilder.tableClass(tableClass.let(TableClass.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public open class TableV2( * @param tags Tags to be applied to the table or replica table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public open class TableV2( id: String, tableArn: String, ): ITableV2 = - software.amazon.awscdk.services.dynamodb.TableV2.fromTableArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.dynamodb.TableV2.fromTableArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, tableArn).let(ITableV2::wrap) public fun fromTableAttributes( @@ -678,8 +678,8 @@ public open class TableV2( id: String, attrs: TableAttributesV2, ): ITableV2 = - software.amazon.awscdk.services.dynamodb.TableV2.fromTableAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(TableAttributesV2::unwrap)).let(ITableV2::wrap) + software.amazon.awscdk.services.dynamodb.TableV2.fromTableAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(TableAttributesV2.Companion::unwrap)).let(ITableV2::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("372c946c79c90401b2fe4249b59cb6d3bf9278dc8e195126ce781bb179c557b6") @@ -694,7 +694,7 @@ public open class TableV2( id: String, tableName: String, ): ITableV2 = - software.amazon.awscdk.services.dynamodb.TableV2.fromTableName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.dynamodb.TableV2.fromTableName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, tableName).let(ITableV2::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ThroughputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ThroughputProps.kt index e3fb1c78d7..4b714bf458 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ThroughputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/ThroughputProps.kt @@ -67,14 +67,14 @@ public interface ThroughputProps { * @param readCapacity The read capacity. */ override fun readCapacity(readCapacity: Capacity) { - cdkBuilder.readCapacity(readCapacity.let(Capacity::unwrap)) + cdkBuilder.readCapacity(readCapacity.let(Capacity.Companion::unwrap)) } /** * @param writeCapacity The write capacity. */ override fun writeCapacity(writeCapacity: Capacity) { - cdkBuilder.writeCapacity(writeCapacity.let(Capacity::unwrap)) + cdkBuilder.writeCapacity(writeCapacity.let(Capacity.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.dynamodb.ThroughputProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/UtilizationScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/UtilizationScalingProps.kt index 334c1d63b3..900ec67d8a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/UtilizationScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/dynamodb/UtilizationScalingProps.kt @@ -99,7 +99,7 @@ public interface UtilizationScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface UtilizationScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTraffic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTraffic.kt index 6c0d94a812..7da7684a86 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTraffic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTraffic.kt @@ -38,14 +38,14 @@ public abstract class AclTraffic( software.amazon.awscdk.services.ec2.AclTraffic.allTraffic().let(AclTraffic::wrap) public fun icmp(props: AclIcmp): AclTraffic = - software.amazon.awscdk.services.ec2.AclTraffic.icmp(props.let(AclIcmp::unwrap)).let(AclTraffic::wrap) + software.amazon.awscdk.services.ec2.AclTraffic.icmp(props.let(AclIcmp.Companion::unwrap)).let(AclTraffic::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("205d17d3279aff58f9420f658e741702b5c6008f9a12938baf2f131fd8a12052") public fun icmp(props: AclIcmp.Builder.() -> Unit): AclTraffic = icmp(AclIcmp(props)) public fun icmpv6(props: AclIcmp): AclTraffic = - software.amazon.awscdk.services.ec2.AclTraffic.icmpv6(props.let(AclIcmp::unwrap)).let(AclTraffic::wrap) + software.amazon.awscdk.services.ec2.AclTraffic.icmpv6(props.let(AclIcmp.Companion::unwrap)).let(AclTraffic::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3a7cdb51d199e6b85f447b0b3c330361a7291cb89e09085bda4a3dae11209945") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTrafficConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTrafficConfig.kt index 0e98d63bfc..edf97a02c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTrafficConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AclTrafficConfig.kt @@ -118,7 +118,7 @@ public interface AclTrafficConfig { * @param icmp The Internet Control Message Protocol (ICMP) code and type. */ override fun icmp(icmp: AclIcmp) { - cdkBuilder.icmp(icmp.let(AclIcmp::unwrap)) + cdkBuilder.icmp(icmp.let(AclIcmp.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface AclTrafficConfig { * @param portRange The range of port numbers for the UDP/TCP protocol. */ override fun portRange(portRange: AclPortRange) { - cdkBuilder.portRange(portRange.let(AclPortRange::unwrap)) + cdkBuilder.portRange(portRange.let(AclPortRange.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AddRouteOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AddRouteOptions.kt index f38c25a6a1..c5e8ace4e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AddRouteOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AddRouteOptions.kt @@ -141,7 +141,7 @@ public interface AddRouteOptions { * @param routerType What type of router to route this traffic to. */ override fun routerType(routerType: RouterType) { - cdkBuilder.routerType(routerType.let(RouterType::unwrap)) + cdkBuilder.routerType(routerType.let(RouterType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AddRouteOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateCidrRequest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateCidrRequest.kt index 5cd091eacf..8816d86240 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateCidrRequest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateCidrRequest.kt @@ -76,7 +76,7 @@ public interface AllocateCidrRequest { * @param requestedSubnets The Subnets to be allocated. */ override fun requestedSubnets(requestedSubnets: List) { - cdkBuilder.requestedSubnets(requestedSubnets.map(RequestedSubnet::unwrap)) + cdkBuilder.requestedSubnets(requestedSubnets.map(RequestedSubnet.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateIpv6CidrRequest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateIpv6CidrRequest.kt index eaef554326..f886e88e50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateIpv6CidrRequest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateIpv6CidrRequest.kt @@ -73,7 +73,7 @@ public interface AllocateIpv6CidrRequest { * @param allocatedSubnets List of subnets allocated with IPv4 CIDRs. */ override fun allocatedSubnets(allocatedSubnets: List) { - cdkBuilder.allocatedSubnets(allocatedSubnets.map(AllocatedSubnet::unwrap)) + cdkBuilder.allocatedSubnets(allocatedSubnets.map(AllocatedSubnet.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateVpcIpv6CidrRequest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateVpcIpv6CidrRequest.kt index 63af5e37ba..448c420238 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateVpcIpv6CidrRequest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AllocateVpcIpv6CidrRequest.kt @@ -61,7 +61,7 @@ public interface AllocateVpcIpv6CidrRequest { * @param scope The VPC construct to attach to. */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameter.kt index 544efd3649..4becfcc7c2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameter.kt @@ -33,7 +33,7 @@ public open class AmazonLinux2022ImageSsmParameter( cdkObject: software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter, ) : AmazonLinuxImageSsmParameterBase(cdkObject) { public constructor(props: AmazonLinux2022ImageSsmParameterProps) : - this(software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter(props.let(AmazonLinux2022ImageSsmParameterProps::unwrap)) + this(software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter(props.let(AmazonLinux2022ImageSsmParameterProps.Companion::unwrap)) ) public constructor(props: AmazonLinux2022ImageSsmParameterProps.Builder.() -> Unit) : @@ -143,7 +143,7 @@ public open class AmazonLinux2022ImageSsmParameter( * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class AmazonLinux2022ImageSsmParameter( * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class AmazonLinux2022ImageSsmParameter( * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinux2022Kernel) { - cdkBuilder.kernel(kernel.let(AmazonLinux2022Kernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinux2022Kernel.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class AmazonLinux2022ImageSsmParameter( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter = @@ -185,7 +185,7 @@ public open class AmazonLinux2022ImageSsmParameter( public companion object { public fun ssmParameterName(props: AmazonLinux2022ImageSsmParameterProps): String = - software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter.ssmParameterName(props.let(AmazonLinux2022ImageSsmParameterProps::unwrap)) + software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameter.ssmParameterName(props.let(AmazonLinux2022ImageSsmParameterProps.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("79850475ae55dd29e05eb4cc855fc428956da78811c64ccf69535565eb81e4ad") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameterProps.kt index 71c36eb49a..a8d937d555 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2022ImageSsmParameterProps.kt @@ -111,28 +111,28 @@ public interface AmazonLinux2022ImageSsmParameterProps : AmazonLinuxImageSsmPara * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinux2022Kernel) { - cdkBuilder.kernel(kernel.let(AmazonLinux2022Kernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinux2022Kernel.Companion::unwrap)) } /** * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinux2022ImageSsmParameterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameter.kt index b69c2556ee..4a39ee6ac4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameter.kt @@ -39,7 +39,7 @@ public open class AmazonLinux2023ImageSsmParameter( ) public constructor(props: AmazonLinux2023ImageSsmParameterProps) : - this(software.amazon.awscdk.services.ec2.AmazonLinux2023ImageSsmParameter(props.let(AmazonLinux2023ImageSsmParameterProps::unwrap)) + this(software.amazon.awscdk.services.ec2.AmazonLinux2023ImageSsmParameter(props.let(AmazonLinux2023ImageSsmParameterProps.Companion::unwrap)) ) public constructor(props: AmazonLinux2023ImageSsmParameterProps.Builder.() -> Unit) : @@ -149,7 +149,7 @@ public open class AmazonLinux2023ImageSsmParameter( * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class AmazonLinux2023ImageSsmParameter( * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class AmazonLinux2023ImageSsmParameter( * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinux2023Kernel) { - cdkBuilder.kernel(kernel.let(AmazonLinux2023Kernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinux2023Kernel.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class AmazonLinux2023ImageSsmParameter( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinux2023ImageSsmParameter = @@ -191,7 +191,7 @@ public open class AmazonLinux2023ImageSsmParameter( public companion object { public fun ssmParameterName(props: AmazonLinux2023ImageSsmParameterProps): String = - software.amazon.awscdk.services.ec2.AmazonLinux2023ImageSsmParameter.ssmParameterName(props.let(AmazonLinux2023ImageSsmParameterProps::unwrap)) + software.amazon.awscdk.services.ec2.AmazonLinux2023ImageSsmParameter.ssmParameterName(props.let(AmazonLinux2023ImageSsmParameterProps.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a0b3719397a1188916c6b60658e0e9c8f4e61fe053f967f62c8639c65cc7e125") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameterProps.kt index 2fba9a4261..09b37318ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2023ImageSsmParameterProps.kt @@ -114,28 +114,28 @@ public interface AmazonLinux2023ImageSsmParameterProps : AmazonLinuxImageSsmPara * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinux2023Kernel) { - cdkBuilder.kernel(kernel.let(AmazonLinux2023Kernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinux2023Kernel.Companion::unwrap)) } /** * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinux2023ImageSsmParameterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameter.kt index cc50f2e2e7..30c0fa7fc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameter.kt @@ -35,7 +35,7 @@ public open class AmazonLinux2ImageSsmParameter( cdkObject: software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameter, ) : AmazonLinuxImageSsmParameterBase(cdkObject) { public constructor(props: AmazonLinux2ImageSsmParameterProps) : - this(software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameter(props.let(AmazonLinux2ImageSsmParameterProps::unwrap)) + this(software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameter(props.let(AmazonLinux2ImageSsmParameterProps.Companion::unwrap)) ) public constructor(props: AmazonLinux2ImageSsmParameterProps.Builder.() -> Unit) : @@ -163,7 +163,7 @@ public open class AmazonLinux2ImageSsmParameter( * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class AmazonLinux2ImageSsmParameter( * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class AmazonLinux2ImageSsmParameter( * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinux2Kernel) { - cdkBuilder.kernel(kernel.let(AmazonLinux2Kernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinux2Kernel.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class AmazonLinux2ImageSsmParameter( * @param storage What storage backed image to use. */ override fun storage(storage: AmazonLinuxStorage) { - cdkBuilder.storage(storage.let(AmazonLinuxStorage::unwrap)) + cdkBuilder.storage(storage.let(AmazonLinuxStorage.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class AmazonLinux2ImageSsmParameter( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class AmazonLinux2ImageSsmParameter( * @param virtualization Virtualization type. */ override fun virtualization(virtualization: AmazonLinuxVirt) { - cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt::unwrap)) + cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameter = @@ -227,7 +227,7 @@ public open class AmazonLinux2ImageSsmParameter( public companion object { public fun ssmParameterName(props: AmazonLinux2ImageSsmParameterProps): String = - software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameter.ssmParameterName(props.let(AmazonLinux2ImageSsmParameterProps::unwrap)) + software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameter.ssmParameterName(props.let(AmazonLinux2ImageSsmParameterProps.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("be96e33b0132f0c5a67c00f40fc28b8c800535e60c6bb6bf16f748418c650955") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameterProps.kt index ea5d17eda5..75e4277bea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinux2ImageSsmParameterProps.kt @@ -157,42 +157,42 @@ public interface AmazonLinux2ImageSsmParameterProps : AmazonLinuxImageSsmParamet * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinux2Kernel) { - cdkBuilder.kernel(kernel.let(AmazonLinux2Kernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinux2Kernel.Companion::unwrap)) } /** * @param storage What storage backed image to use. */ override fun storage(storage: AmazonLinuxStorage) { - cdkBuilder.storage(storage.let(AmazonLinuxStorage::unwrap)) + cdkBuilder.storage(storage.let(AmazonLinuxStorage.Companion::unwrap)) } /** * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** * @param virtualization Virtualization type. */ override fun virtualization(virtualization: AmazonLinuxVirt) { - cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt::unwrap)) + cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinux2ImageSsmParameterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImage.kt index aadec2d9e3..bdb1836815 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImage.kt @@ -43,7 +43,7 @@ public open class AmazonLinuxImage( ) public constructor(props: AmazonLinuxImageProps) : - this(software.amazon.awscdk.services.ec2.AmazonLinuxImage(props.let(AmazonLinuxImageProps::unwrap)) + this(software.amazon.awscdk.services.ec2.AmazonLinuxImage(props.let(AmazonLinuxImageProps.Companion::unwrap)) ) public constructor(props: AmazonLinuxImageProps.Builder.() -> Unit) : @@ -56,7 +56,7 @@ public open class AmazonLinuxImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ec2.AmazonLinuxImage]. @@ -187,7 +187,7 @@ public open class AmazonLinuxImage( * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class AmazonLinuxImage( * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class AmazonLinuxImage( * @param generation What generation of Amazon Linux to use. */ override fun generation(generation: AmazonLinuxGeneration) { - cdkBuilder.generation(generation.let(AmazonLinuxGeneration::unwrap)) + cdkBuilder.generation(generation.let(AmazonLinuxGeneration.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class AmazonLinuxImage( * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinuxKernel) { - cdkBuilder.kernel(kernel.let(AmazonLinuxKernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinuxKernel.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class AmazonLinuxImage( * @param storage What storage backed image to use. */ override fun storage(storage: AmazonLinuxStorage) { - cdkBuilder.storage(storage.let(AmazonLinuxStorage::unwrap)) + cdkBuilder.storage(storage.let(AmazonLinuxStorage.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class AmazonLinuxImage( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class AmazonLinuxImage( * @param virtualization Virtualization type. */ override fun virtualization(virtualization: AmazonLinuxVirt) { - cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt::unwrap)) + cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinuxImage = cdkBuilder.build() @@ -264,7 +264,7 @@ public open class AmazonLinuxImage( software.amazon.awscdk.services.ec2.AmazonLinuxImage.ssmParameterName() public fun ssmParameterName(props: AmazonLinuxImageProps): String = - software.amazon.awscdk.services.ec2.AmazonLinuxImage.ssmParameterName(props.let(AmazonLinuxImageProps::unwrap)) + software.amazon.awscdk.services.ec2.AmazonLinuxImage.ssmParameterName(props.let(AmazonLinuxImageProps.Companion::unwrap)) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a404935d97c75dc9dc41179b9d410bc64c050dd220fa58e9d9cf3299786d4f3b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageProps.kt index 4596d16079..9c3cd7d39b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageProps.kt @@ -191,49 +191,49 @@ public interface AmazonLinuxImageProps { * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** * @param generation What generation of Amazon Linux to use. */ override fun generation(generation: AmazonLinuxGeneration) { - cdkBuilder.generation(generation.let(AmazonLinuxGeneration::unwrap)) + cdkBuilder.generation(generation.let(AmazonLinuxGeneration.Companion::unwrap)) } /** * @param kernel What kernel version of Amazon Linux to use. */ override fun kernel(kernel: AmazonLinuxKernel) { - cdkBuilder.kernel(kernel.let(AmazonLinuxKernel::unwrap)) + cdkBuilder.kernel(kernel.let(AmazonLinuxKernel.Companion::unwrap)) } /** * @param storage What storage backed image to use. */ override fun storage(storage: AmazonLinuxStorage) { - cdkBuilder.storage(storage.let(AmazonLinuxStorage::unwrap)) + cdkBuilder.storage(storage.let(AmazonLinuxStorage.Companion::unwrap)) } /** * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** * @param virtualization Virtualization type. */ override fun virtualization(virtualization: AmazonLinuxVirt) { - cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt::unwrap)) + cdkBuilder.virtualization(virtualization.let(AmazonLinuxVirt.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinuxImageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBase.kt index a71602a982..b8baedd8fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBase.kt @@ -18,7 +18,7 @@ public abstract class AmazonLinuxImageSsmParameterBase( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterBase, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseOptions.kt index 56ee6e70d0..dab84cb612 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseOptions.kt @@ -112,7 +112,7 @@ public interface AmazonLinuxImageSsmParameterBaseOptions { * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterBaseOptions diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseProps.kt index 3c4a634786..33a7d7a2cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterBaseProps.kt @@ -104,7 +104,7 @@ public interface AmazonLinuxImageSsmParameterBaseProps : AmazonLinuxImageSsmPara * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AmazonLinuxImageSsmParameterBaseProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterCommonOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterCommonOptions.kt index 568eff1cf8..4e0b0654fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterCommonOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AmazonLinuxImageSsmParameterCommonOptions.kt @@ -113,21 +113,21 @@ public interface AmazonLinuxImageSsmParameterCommonOptions : AmazonLinuxImageSsm * @param cpuType CPU Type. */ override fun cpuType(cpuType: AmazonLinuxCpuType) { - cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType::unwrap)) + cdkBuilder.cpuType(cpuType.let(AmazonLinuxCpuType.Companion::unwrap)) } /** * @param edition What edition of Amazon Linux to use. */ override fun edition(edition: AmazonLinuxEdition) { - cdkBuilder.edition(edition.let(AmazonLinuxEdition::unwrap)) + cdkBuilder.edition(edition.let(AmazonLinuxEdition.Companion::unwrap)) } /** * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ApplyCloudFormationInitOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ApplyCloudFormationInitOptions.kt index 2d433de358..48771bb33d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ApplyCloudFormationInitOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ApplyCloudFormationInitOptions.kt @@ -292,7 +292,7 @@ public interface ApplyCloudFormationInitOptions { * @param timeout Timeout waiting for the configuration to be applied. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.ApplyCloudFormationInitOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AttachInitOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AttachInitOptions.kt index 1486b542ad..89b6e1b43b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AttachInitOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/AttachInitOptions.kt @@ -271,14 +271,14 @@ public interface AttachInitOptions { * @param instanceRole Instance role of the consuming instance or fleet. */ override fun instanceRole(instanceRole: IRole) { - cdkBuilder.instanceRole(instanceRole.let(IRole::unwrap)) + cdkBuilder.instanceRole(instanceRole.let(IRole.Companion::unwrap)) } /** * @param platform OS Platform the init config will be used for. */ override fun platform(platform: OperatingSystemType) { - cdkBuilder.platform(platform.let(OperatingSystemType::unwrap)) + cdkBuilder.platform(platform.let(OperatingSystemType.Companion::unwrap)) } /** @@ -300,14 +300,14 @@ public interface AttachInitOptions { * You can use this to support signaling LaunchTemplate while attaching AutoScalingGroup */ override fun signalResource(signalResource: CfnResource) { - cdkBuilder.signalResource(signalResource.let(CfnResource::unwrap)) + cdkBuilder.signalResource(signalResource.let(CfnResource.Companion::unwrap)) } /** * @param userData UserData to add commands to. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.AttachInitOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinux.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinux.kt index 3112d6d26e..0909f01dc7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinux.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinux.kt @@ -49,8 +49,8 @@ public open class BastionHostLinux( id: String, props: BastionHostLinuxProps, ) : - this(software.amazon.awscdk.services.ec2.BastionHostLinux(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BastionHostLinuxProps::unwrap)) + this(software.amazon.awscdk.services.ec2.BastionHostLinux(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BastionHostLinuxProps.Companion::unwrap)) ) public constructor( @@ -332,7 +332,7 @@ public open class BastionHostLinux( * virtual devices and EBS volumes. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class BastionHostLinux( * @param init Apply the given CloudFormation Init configuration to the instance at startup. */ override fun `init`(`init`: CloudFormationInit) { - cdkBuilder.`init`(`init`.let(CloudFormationInit::unwrap)) + cdkBuilder.`init`(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public open class BastionHostLinux( * @param initOptions Use the given options for applying CloudFormation Init. */ override fun initOptions(initOptions: ApplyCloudFormationInitOptions) { - cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions::unwrap)) + cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class BastionHostLinux( * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class BastionHostLinux( * @param machineImage The machine image to use, assumed to have SSM Agent preinstalled. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class BastionHostLinux( * @param securityGroup Security Group to assign to this instance. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class BastionHostLinux( * @param subnetSelection Select the subnets to run the bastion host in. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class BastionHostLinux( * @param vpc VPC to launch the instance in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.BastionHostLinux = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinuxProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinuxProps.kt index 4dec3cea20..0f7dba03f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinuxProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BastionHostLinuxProps.kt @@ -241,7 +241,7 @@ public interface BastionHostLinuxProps { * instance store volumes to attach to an instance when it is launched. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface BastionHostLinuxProps { * @param init Apply the given CloudFormation Init configuration to the instance at startup. */ override fun `init`(`init`: CloudFormationInit) { - cdkBuilder.`init`(`init`.let(CloudFormationInit::unwrap)) + cdkBuilder.`init`(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface BastionHostLinuxProps { * Describes the configsets to use and the timeout to wait */ override fun initOptions(initOptions: ApplyCloudFormationInitOptions) { - cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions::unwrap)) + cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -290,14 +290,14 @@ public interface BastionHostLinuxProps { * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** * @param machineImage The machine image to use, assumed to have SSM Agent preinstalled. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface BastionHostLinuxProps { * @param securityGroup Security Group to assign to this instance. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface BastionHostLinuxProps { * You have to allow port 22 manually by using the connections field */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public interface BastionHostLinuxProps { * @param vpc VPC to launch the instance in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.BastionHostLinuxProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDevice.kt index 4e338f65c1..e4f4d56f8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDevice.kt @@ -110,7 +110,7 @@ public interface BlockDevice { * For example, a value like `BlockDeviceVolume.ebs(15)`, `BlockDeviceVolume.ephemeral(0)`. */ override fun volume(volume: BlockDeviceVolume) { - cdkBuilder.volume(volume.let(BlockDeviceVolume::unwrap)) + cdkBuilder.volume(volume.let(BlockDeviceVolume.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.BlockDevice = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDeviceVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDeviceVolume.kt index be0bac0b36..1b04e24920 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDeviceVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/BlockDeviceVolume.kt @@ -21,13 +21,10 @@ import kotlin.jvm.JvmName * .vpc(vpc) * .instanceType(instanceType) * .machineImage(machineImage) - * // ... + * .ebsOptimized(true) * .blockDevices(List.of(BlockDevice.builder() - * .deviceName("/dev/sda1") - * .volume(BlockDeviceVolume.ebs(50)) - * .build(), BlockDevice.builder() - * .deviceName("/dev/sdm") - * .volume(BlockDeviceVolume.ebs(100)) + * .deviceName("/dev/xvda") + * .volume(BlockDeviceVolume.ebs(8)) * .build())) * .build(); * ``` @@ -52,7 +49,7 @@ public open class BlockDeviceVolume( public fun ebs(volumeSize: Number, options: EbsDeviceOptions): BlockDeviceVolume = software.amazon.awscdk.services.ec2.BlockDeviceVolume.ebs(volumeSize, - options.let(EbsDeviceOptions::unwrap)).let(BlockDeviceVolume::wrap) + options.let(EbsDeviceOptions.Companion::unwrap)).let(BlockDeviceVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("752c4bbe99b63409bb36621fc7c2f80a68d0a3d98e54b7fdf84efac755ccb9a5") @@ -65,7 +62,7 @@ public open class BlockDeviceVolume( public fun ebsFromSnapshot(snapshotId: String, options: EbsDeviceSnapshotOptions): BlockDeviceVolume = software.amazon.awscdk.services.ec2.BlockDeviceVolume.ebsFromSnapshot(snapshotId, - options.let(EbsDeviceSnapshotOptions::unwrap)).let(BlockDeviceVolume::wrap) + options.let(EbsDeviceSnapshotOptions.Companion::unwrap)).let(BlockDeviceVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a06bb97efa2e3c952c8db689f1830dcb411a8f0fb88ce4a16e8ca7ccdd50ae02") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservation.kt index b9aa3d70aa..709d66edbb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservation.kt @@ -67,8 +67,8 @@ public open class CfnCapacityReservation( id: String, props: CfnCapacityReservationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnCapacityReservation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCapacityReservationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnCapacityReservation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCapacityReservationProps.Companion::unwrap)) ) public constructor( @@ -148,7 +148,7 @@ public open class CfnCapacityReservation( * Indicates whether the Capacity Reservation supports EBS-optimized instances. */ public open fun ebsOptimized(`value`: IResolvable) { - unwrap(this).setEbsOptimized(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsOptimized(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnCapacityReservation( * *Deprecated.*. */ public open fun ephemeralStorage(`value`: IResolvable) { - unwrap(this).setEphemeralStorage(`value`.let(IResolvable::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnCapacityReservation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnCapacityReservation( * The tags to apply to the Capacity Reservation during launch. */ public open fun tagSpecifications(`value`: IResolvable) { - unwrap(this).setTagSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setTagSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnCapacityReservation( * instances. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public open class CfnCapacityReservation( * @param ephemeralStorage *Deprecated.*. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnCapacityReservation( * @param tagSpecifications The tags to apply to the Capacity Reservation during launch. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -865,7 +865,7 @@ public open class CfnCapacityReservation( * @param tags The tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleet.kt index 7ac759c9e1..af2be48e63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleet.kt @@ -66,7 +66,7 @@ public open class CfnCapacityReservationFleet( cdkObject: software.amazon.awscdk.services.ec2.CfnCapacityReservationFleet, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnCapacityReservationFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnCapacityReservationFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -75,8 +75,8 @@ public open class CfnCapacityReservationFleet( id: String, props: CfnCapacityReservationFleetProps, ) : - this(software.amazon.awscdk.services.ec2.CfnCapacityReservationFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCapacityReservationFleetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnCapacityReservationFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCapacityReservationFleetProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnCapacityReservationFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnCapacityReservationFleet( * Information about the instance types for which to reserve the capacity. */ public open fun instanceTypeSpecifications(`value`: IResolvable) { - unwrap(this).setInstanceTypeSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceTypeSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnCapacityReservationFleet( * Used to add an end date to a Capacity Reservation Fleet that has no end date and time. */ public open fun noRemoveEndDate(`value`: IResolvable) { - unwrap(this).setNoRemoveEndDate(`value`.let(IResolvable::unwrap)) + unwrap(this).setNoRemoveEndDate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnCapacityReservationFleet( * automatically at a specific date and time. */ public open fun removeEndDate(`value`: IResolvable) { - unwrap(this).setRemoveEndDate(`value`.let(IResolvable::unwrap)) + unwrap(this).setRemoveEndDate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnCapacityReservationFleet( * The tags to assign to the Capacity Reservation Fleet. */ public open fun tagSpecifications(`value`: IResolvable) { - unwrap(this).setTagSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setTagSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnCapacityReservationFleet( * the capacity. */ override fun instanceTypeSpecifications(instanceTypeSpecifications: IResolvable) { - cdkBuilder.instanceTypeSpecifications(instanceTypeSpecifications.let(IResolvable::unwrap)) + cdkBuilder.instanceTypeSpecifications(instanceTypeSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class CfnCapacityReservationFleet( * end date and time. */ override fun noRemoveEndDate(noRemoveEndDate: IResolvable) { - cdkBuilder.noRemoveEndDate(noRemoveEndDate.let(IResolvable::unwrap)) + cdkBuilder.noRemoveEndDate(noRemoveEndDate.let(IResolvable.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class CfnCapacityReservationFleet( * configured to end automatically at a specific date and time. */ override fun removeEndDate(removeEndDate: IResolvable) { - cdkBuilder.removeEndDate(removeEndDate.let(IResolvable::unwrap)) + cdkBuilder.removeEndDate(removeEndDate.let(IResolvable.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public open class CfnCapacityReservationFleet( * @param tagSpecifications The tags to assign to the Capacity Reservation Fleet. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -914,7 +914,7 @@ public open class CfnCapacityReservationFleet( * all instance types. Additional usage charges apply when using EBS-optimized instance types. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -1152,7 +1152,7 @@ public open class CfnCapacityReservationFleet( * @param tags The tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleetProps.kt index aca6a7c602..4d671f33c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationFleetProps.kt @@ -345,7 +345,7 @@ public interface CfnCapacityReservationFleetProps { * the capacity. */ override fun instanceTypeSpecifications(instanceTypeSpecifications: IResolvable) { - cdkBuilder.instanceTypeSpecifications(instanceTypeSpecifications.let(IResolvable::unwrap)) + cdkBuilder.instanceTypeSpecifications(instanceTypeSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface CfnCapacityReservationFleetProps { * specify the end date and time (in UTC time format) for the *EndDate* parameter. */ override fun noRemoveEndDate(noRemoveEndDate: IResolvable) { - cdkBuilder.noRemoveEndDate(noRemoveEndDate.let(IResolvable::unwrap)) + cdkBuilder.noRemoveEndDate(noRemoveEndDate.let(IResolvable.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface CfnCapacityReservationFleetProps { * and omit the *EndDate* parameter. */ override fun removeEndDate(removeEndDate: IResolvable) { - cdkBuilder.removeEndDate(removeEndDate.let(IResolvable::unwrap)) + cdkBuilder.removeEndDate(removeEndDate.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnCapacityReservationFleetProps { * The tags are automatically assigned to the Capacity Reservations in the Fleet. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationProps.kt index 560061ab18..9e1edf9338 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCapacityReservationProps.kt @@ -359,7 +359,7 @@ public interface CfnCapacityReservationProps { * types. Additional usage charges apply when using an EBS- optimized instance. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public interface CfnCapacityReservationProps { * @param ephemeralStorage *Deprecated.*. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public interface CfnCapacityReservationProps { * @param tagSpecifications The tags to apply to the Capacity Reservation during launch. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGateway.kt index 26a1745f13..1a3121e9bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGateway.kt @@ -49,8 +49,8 @@ public open class CfnCarrierGateway( id: String, props: CfnCarrierGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnCarrierGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCarrierGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnCarrierGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCarrierGatewayProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnCarrierGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public open class CfnCarrierGateway( * The tags assigned to the carrier gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnCarrierGateway( * @param tags The tags assigned to the carrier gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGatewayProps.kt index 64fadf3e0a..61aa9f68f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCarrierGatewayProps.kt @@ -75,7 +75,7 @@ public interface CfnCarrierGatewayProps { * @param tags The tags assigned to the carrier gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRule.kt index 528486ada6..9bf4e021ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRule.kt @@ -48,8 +48,8 @@ public open class CfnClientVpnAuthorizationRule( id: String, props: CfnClientVpnAuthorizationRuleProps, ) : - this(software.amazon.awscdk.services.ec2.CfnClientVpnAuthorizationRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClientVpnAuthorizationRuleProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnClientVpnAuthorizationRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClientVpnAuthorizationRuleProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnClientVpnAuthorizationRule( * Indicates whether to grant access to all clients. */ public open fun authorizeAllGroups(`value`: IResolvable) { - unwrap(this).setAuthorizeAllGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthorizeAllGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnClientVpnAuthorizationRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnClientVpnAuthorizationRule( * @param authorizeAllGroups Indicates whether to grant access to all clients. */ override fun authorizeAllGroups(authorizeAllGroups: IResolvable) { - cdkBuilder.authorizeAllGroups(authorizeAllGroups.let(IResolvable::unwrap)) + cdkBuilder.authorizeAllGroups(authorizeAllGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRuleProps.kt index 200f18b67e..ee169098d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnAuthorizationRuleProps.kt @@ -147,7 +147,7 @@ public interface CfnClientVpnAuthorizationRuleProps { * network. Must be set to `true` if `AccessGroupId` is not specified. */ override fun authorizeAllGroups(authorizeAllGroups: IResolvable) { - cdkBuilder.authorizeAllGroups(authorizeAllGroups.let(IResolvable::unwrap)) + cdkBuilder.authorizeAllGroups(authorizeAllGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpoint.kt index 8ed1d53f21..5ded0e4b9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpoint.kt @@ -97,8 +97,8 @@ public open class CfnClientVpnEndpoint( id: String, props: CfnClientVpnEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClientVpnEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClientVpnEndpointProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnClientVpnEndpoint( * Information about the authentication method to be used to authenticate clients. */ public open fun authenticationOptions(`value`: IResolvable) { - unwrap(this).setAuthenticationOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthenticationOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -159,14 +159,14 @@ public open class CfnClientVpnEndpoint( * The options for managing connection authorization for new client connections. */ public open fun clientConnectOptions(`value`: IResolvable) { - unwrap(this).setClientConnectOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setClientConnectOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for managing connection authorization for new client connections. */ public open fun clientConnectOptions(`value`: ClientConnectOptionsProperty) { - unwrap(this).setClientConnectOptions(`value`.let(ClientConnectOptionsProperty::unwrap)) + unwrap(this).setClientConnectOptions(`value`.let(ClientConnectOptionsProperty.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnClientVpnEndpoint( * when a VPN session is established. */ public open fun clientLoginBannerOptions(`value`: IResolvable) { - unwrap(this).setClientLoginBannerOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setClientLoginBannerOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnClientVpnEndpoint( * when a VPN session is established. */ public open fun clientLoginBannerOptions(`value`: ClientLoginBannerOptionsProperty) { - unwrap(this).setClientLoginBannerOptions(`value`.let(ClientLoginBannerOptionsProperty::unwrap)) + unwrap(this).setClientLoginBannerOptions(`value`.let(ClientLoginBannerOptionsProperty.Companion::unwrap)) } /** @@ -218,14 +218,14 @@ public open class CfnClientVpnEndpoint( * Information about the client connection logging options. */ public open fun connectionLogOptions(`value`: IResolvable) { - unwrap(this).setConnectionLogOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectionLogOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the client connection logging options. */ public open fun connectionLogOptions(`value`: ConnectionLogOptionsProperty) { - unwrap(this).setConnectionLogOptions(`value`.let(ConnectionLogOptionsProperty::unwrap)) + unwrap(this).setConnectionLogOptions(`value`.let(ConnectionLogOptionsProperty.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnClientVpnEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnClientVpnEndpoint( * Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint. */ public open fun splitTunnel(`value`: IResolvable) { - unwrap(this).setSplitTunnel(`value`.let(IResolvable::unwrap)) + unwrap(this).setSplitTunnel(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnClientVpnEndpoint( * The tags to apply to the Client VPN endpoint during creation. */ public open fun tagSpecifications(`value`: IResolvable) { - unwrap(this).setTagSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setTagSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -755,7 +755,7 @@ public open class CfnClientVpnEndpoint( * authenticate clients. */ override fun authenticationOptions(authenticationOptions: IResolvable) { - cdkBuilder.authenticationOptions(authenticationOptions.let(IResolvable::unwrap)) + cdkBuilder.authenticationOptions(authenticationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -803,7 +803,7 @@ public open class CfnClientVpnEndpoint( * connections. */ override fun clientConnectOptions(clientConnectOptions: IResolvable) { - cdkBuilder.clientConnectOptions(clientConnectOptions.let(IResolvable::unwrap)) + cdkBuilder.clientConnectOptions(clientConnectOptions.let(IResolvable.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnClientVpnEndpoint( * connections. */ override fun clientConnectOptions(clientConnectOptions: ClientConnectOptionsProperty) { - cdkBuilder.clientConnectOptions(clientConnectOptions.let(ClientConnectOptionsProperty::unwrap)) + cdkBuilder.clientConnectOptions(clientConnectOptions.let(ClientConnectOptionsProperty.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public open class CfnClientVpnEndpoint( * displayed on AWS provided clients when a VPN session is established. */ override fun clientLoginBannerOptions(clientLoginBannerOptions: IResolvable) { - cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(IResolvable::unwrap)) + cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(IResolvable.Companion::unwrap)) } /** @@ -852,7 +852,7 @@ public open class CfnClientVpnEndpoint( */ override fun clientLoginBannerOptions(clientLoginBannerOptions: ClientLoginBannerOptionsProperty) { - cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(ClientLoginBannerOptionsProperty::unwrap)) + cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(ClientLoginBannerOptionsProperty.Companion::unwrap)) } /** @@ -884,7 +884,7 @@ public open class CfnClientVpnEndpoint( * @param connectionLogOptions Information about the client connection logging options. */ override fun connectionLogOptions(connectionLogOptions: IResolvable) { - cdkBuilder.connectionLogOptions(connectionLogOptions.let(IResolvable::unwrap)) + cdkBuilder.connectionLogOptions(connectionLogOptions.let(IResolvable.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class CfnClientVpnEndpoint( * @param connectionLogOptions Information about the client connection logging options. */ override fun connectionLogOptions(connectionLogOptions: ConnectionLogOptionsProperty) { - cdkBuilder.connectionLogOptions(connectionLogOptions.let(ConnectionLogOptionsProperty::unwrap)) + cdkBuilder.connectionLogOptions(connectionLogOptions.let(ConnectionLogOptionsProperty.Companion::unwrap)) } /** @@ -1053,7 +1053,7 @@ public open class CfnClientVpnEndpoint( * @param splitTunnel Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint. */ override fun splitTunnel(splitTunnel: IResolvable) { - cdkBuilder.splitTunnel(splitTunnel.let(IResolvable::unwrap)) + cdkBuilder.splitTunnel(splitTunnel.let(IResolvable.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public open class CfnClientVpnEndpoint( * @param tagSpecifications The tags to apply to the Client VPN endpoint during creation. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -1400,7 +1400,7 @@ public open class CfnClientVpnEndpoint( * You must provide this information if *Type* is `directory-service-authentication` . */ override fun activeDirectory(activeDirectory: IResolvable) { - cdkBuilder.activeDirectory(activeDirectory.let(IResolvable::unwrap)) + cdkBuilder.activeDirectory(activeDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -1408,7 +1408,7 @@ public open class CfnClientVpnEndpoint( * You must provide this information if *Type* is `directory-service-authentication` . */ override fun activeDirectory(activeDirectory: DirectoryServiceAuthenticationRequestProperty) { - cdkBuilder.activeDirectory(activeDirectory.let(DirectoryServiceAuthenticationRequestProperty::unwrap)) + cdkBuilder.activeDirectory(activeDirectory.let(DirectoryServiceAuthenticationRequestProperty.Companion::unwrap)) } /** @@ -1426,7 +1426,7 @@ public open class CfnClientVpnEndpoint( * applicable. */ override fun federatedAuthentication(federatedAuthentication: IResolvable) { - cdkBuilder.federatedAuthentication(federatedAuthentication.let(IResolvable::unwrap)) + cdkBuilder.federatedAuthentication(federatedAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -1435,7 +1435,7 @@ public open class CfnClientVpnEndpoint( */ override fun federatedAuthentication(federatedAuthentication: FederatedAuthenticationRequestProperty) { - cdkBuilder.federatedAuthentication(federatedAuthentication.let(FederatedAuthenticationRequestProperty::unwrap)) + cdkBuilder.federatedAuthentication(federatedAuthentication.let(FederatedAuthenticationRequestProperty.Companion::unwrap)) } /** @@ -1455,7 +1455,7 @@ public open class CfnClientVpnEndpoint( * You must provide this information if *Type* is `certificate-authentication` . */ override fun mutualAuthentication(mutualAuthentication: IResolvable) { - cdkBuilder.mutualAuthentication(mutualAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualAuthentication(mutualAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -1465,7 +1465,7 @@ public open class CfnClientVpnEndpoint( */ override fun mutualAuthentication(mutualAuthentication: CertificateAuthenticationRequestProperty) { - cdkBuilder.mutualAuthentication(mutualAuthentication.let(CertificateAuthenticationRequestProperty::unwrap)) + cdkBuilder.mutualAuthentication(mutualAuthentication.let(CertificateAuthenticationRequestProperty.Companion::unwrap)) } /** @@ -1628,7 +1628,7 @@ public open class CfnClientVpnEndpoint( * The default is `false` (not enabled). */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1791,7 +1791,7 @@ public open class CfnClientVpnEndpoint( * Default value: `false` */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1948,7 +1948,7 @@ public open class CfnClientVpnEndpoint( * @param enabled Indicates whether connection logging is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2283,7 +2283,7 @@ public open class CfnClientVpnEndpoint( * @param tags The tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpointProps.kt index bfd52e0e78..139bb346f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnEndpointProps.kt @@ -473,7 +473,7 @@ public interface CfnClientVpnEndpointProps { * authenticate clients. */ override fun authenticationOptions(authenticationOptions: IResolvable) { - cdkBuilder.authenticationOptions(authenticationOptions.let(IResolvable::unwrap)) + cdkBuilder.authenticationOptions(authenticationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -508,7 +508,7 @@ public interface CfnClientVpnEndpointProps { * connections. */ override fun clientConnectOptions(clientConnectOptions: IResolvable) { - cdkBuilder.clientConnectOptions(clientConnectOptions.let(IResolvable::unwrap)) + cdkBuilder.clientConnectOptions(clientConnectOptions.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface CfnClientVpnEndpointProps { */ override fun clientConnectOptions(clientConnectOptions: CfnClientVpnEndpoint.ClientConnectOptionsProperty) { - cdkBuilder.clientConnectOptions(clientConnectOptions.let(CfnClientVpnEndpoint.ClientConnectOptionsProperty::unwrap)) + cdkBuilder.clientConnectOptions(clientConnectOptions.let(CfnClientVpnEndpoint.ClientConnectOptionsProperty.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public interface CfnClientVpnEndpointProps { * displayed on AWS provided clients when a VPN session is established. */ override fun clientLoginBannerOptions(clientLoginBannerOptions: IResolvable) { - cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(IResolvable::unwrap)) + cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(IResolvable.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public interface CfnClientVpnEndpointProps { */ override fun clientLoginBannerOptions(clientLoginBannerOptions: CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty) { - cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty::unwrap)) + cdkBuilder.clientLoginBannerOptions(clientLoginBannerOptions.let(CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public interface CfnClientVpnEndpointProps { * * Client connection termination time */ override fun connectionLogOptions(connectionLogOptions: IResolvable) { - cdkBuilder.connectionLogOptions(connectionLogOptions.let(IResolvable::unwrap)) + cdkBuilder.connectionLogOptions(connectionLogOptions.let(IResolvable.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public interface CfnClientVpnEndpointProps { */ override fun connectionLogOptions(connectionLogOptions: CfnClientVpnEndpoint.ConnectionLogOptionsProperty) { - cdkBuilder.connectionLogOptions(connectionLogOptions.let(CfnClientVpnEndpoint.ConnectionLogOptionsProperty::unwrap)) + cdkBuilder.connectionLogOptions(connectionLogOptions.let(CfnClientVpnEndpoint.ConnectionLogOptionsProperty.Companion::unwrap)) } /** @@ -694,14 +694,14 @@ public interface CfnClientVpnEndpointProps { * *AWS Client VPN Administrator Guide* . */ override fun splitTunnel(splitTunnel: IResolvable) { - cdkBuilder.splitTunnel(splitTunnel.let(IResolvable::unwrap)) + cdkBuilder.splitTunnel(splitTunnel.let(IResolvable.Companion::unwrap)) } /** * @param tagSpecifications The tags to apply to the Client VPN endpoint during creation. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnRoute.kt index 0cee66a8a0..17bfa6bc2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnRoute.kt @@ -49,8 +49,8 @@ public open class CfnClientVpnRoute( id: String, props: CfnClientVpnRouteProps, ) : - this(software.amazon.awscdk.services.ec2.CfnClientVpnRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClientVpnRouteProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnClientVpnRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClientVpnRouteProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnClientVpnRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnTargetNetworkAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnTargetNetworkAssociation.kt index f2801c29fa..1dfddd6248 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnTargetNetworkAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnClientVpnTargetNetworkAssociation.kt @@ -41,8 +41,8 @@ public open class CfnClientVpnTargetNetworkAssociation( id: String, props: CfnClientVpnTargetNetworkAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnClientVpnTargetNetworkAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClientVpnTargetNetworkAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnClientVpnTargetNetworkAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClientVpnTargetNetworkAssociationProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnClientVpnTargetNetworkAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGateway.kt index 34dd26e850..0ff8d0c18e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGateway.kt @@ -31,7 +31,6 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .type("type") * // the properties below are optional * .bgpAsn(123) - * .bgpAsnExtended(123) * .certificateArn("certificateArn") * .deviceName("deviceName") * .tags(List.of(CfnTag.builder() @@ -51,8 +50,8 @@ public open class CfnCustomerGateway( id: String, props: CfnCustomerGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnCustomerGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomerGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnCustomerGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomerGatewayProps.Companion::unwrap)) ) public constructor( @@ -79,18 +78,6 @@ public open class CfnCustomerGateway( unwrap(this).setBgpAsn(`value`) } - /** - * - */ - public open fun bgpAsnExtended(): Number? = unwrap(this).getBgpAsnExtended() - - /** - * - */ - public open fun bgpAsnExtended(`value`: Number) { - unwrap(this).setBgpAsnExtended(`value`) - } - /** * The Amazon Resource Name (ARN) for the customer gateway certificate. */ @@ -121,7 +108,7 @@ public open class CfnCustomerGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +138,7 @@ public open class CfnCustomerGateway( * One or more tags for the customer gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -188,12 +175,6 @@ public open class CfnCustomerGateway( */ public fun bgpAsn(bgpAsn: Number) - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended) - * @param bgpAsnExtended - */ - public fun bgpAsnExtended(bgpAsnExtended: Number) - /** * The Amazon Resource Name (ARN) for the customer gateway certificate. * @@ -266,14 +247,6 @@ public open class CfnCustomerGateway( cdkBuilder.bgpAsn(bgpAsn) } - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended) - * @param bgpAsnExtended - */ - override fun bgpAsnExtended(bgpAsnExtended: Number) { - cdkBuilder.bgpAsnExtended(bgpAsnExtended) - } - /** * The Amazon Resource Name (ARN) for the customer gateway certificate. * @@ -313,7 +286,7 @@ public open class CfnCustomerGateway( * @param tags One or more tags for the customer gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGatewayProps.kt index 919a639b29..942f555d8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnCustomerGatewayProps.kt @@ -25,7 +25,6 @@ import kotlin.collections.List * .type("type") * // the properties below are optional * .bgpAsn(123) - * .bgpAsnExtended(123) * .certificateArn("certificateArn") * .deviceName("deviceName") * .tags(List.of(CfnTag.builder() @@ -49,11 +48,6 @@ public interface CfnCustomerGatewayProps { */ public fun bgpAsn(): Number? = unwrap(this).getBgpAsn() - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended) - */ - public fun bgpAsnExtended(): Number? = unwrap(this).getBgpAsnExtended() - /** * The Amazon Resource Name (ARN) for the customer gateway certificate. * @@ -102,11 +96,6 @@ public interface CfnCustomerGatewayProps { */ public fun bgpAsn(bgpAsn: Number) - /** - * @param bgpAsnExtended the value to be set. - */ - public fun bgpAsnExtended(bgpAsnExtended: Number) - /** * @param certificateArn The Amazon Resource Name (ARN) for the customer gateway certificate. */ @@ -151,13 +140,6 @@ public interface CfnCustomerGatewayProps { cdkBuilder.bgpAsn(bgpAsn) } - /** - * @param bgpAsnExtended the value to be set. - */ - override fun bgpAsnExtended(bgpAsnExtended: Number) { - cdkBuilder.bgpAsnExtended(bgpAsnExtended) - } - /** * @param certificateArn The Amazon Resource Name (ARN) for the customer gateway certificate. */ @@ -184,7 +166,7 @@ public interface CfnCustomerGatewayProps { * @param tags One or more tags for the customer gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -217,11 +199,6 @@ public interface CfnCustomerGatewayProps { */ override fun bgpAsn(): Number? = unwrap(this).getBgpAsn() - /** - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended) - */ - override fun bgpAsnExtended(): Number? = unwrap(this).getBgpAsnExtended() - /** * The Amazon Resource Name (ARN) for the customer gateway certificate. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptions.kt index 322f0d28a0..4adccd3f7e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptions.kt @@ -49,7 +49,7 @@ public open class CfnDHCPOptions( cdkObject: software.amazon.awscdk.services.ec2.CfnDHCPOptions, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnDHCPOptions(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnDHCPOptions(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -58,8 +58,8 @@ public open class CfnDHCPOptions( id: String, props: CfnDHCPOptionsProps, ) : - this(software.amazon.awscdk.services.ec2.CfnDHCPOptions(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDHCPOptionsProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnDHCPOptions(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDHCPOptionsProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnDHCPOptions( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnDHCPOptions( * Any tags assigned to the DHCP options set. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CfnDHCPOptions( * @param tags Any tags assigned to the DHCP options set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptionsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptionsProps.kt index 1e615853d6..fe3b375702 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptionsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnDHCPOptionsProps.kt @@ -264,7 +264,7 @@ public interface CfnDHCPOptionsProps { * @param tags Any tags assigned to the DHCP options set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2Fleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2Fleet.kt index 4519e36078..e95346dd07 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2Fleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2Fleet.kt @@ -178,8 +178,8 @@ public open class CfnEC2Fleet( id: String, props: CfnEC2FleetProps, ) : - this(software.amazon.awscdk.services.ec2.CfnEC2Fleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEC2FleetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnEC2Fleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEC2FleetProps.Companion::unwrap)) ) public constructor( @@ -227,7 +227,7 @@ public open class CfnEC2Fleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnEC2Fleet( * The configuration for the EC2 Fleet. */ public open fun launchTemplateConfigs(`value`: IResolvable) { - unwrap(this).setLaunchTemplateConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchTemplateConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -264,14 +264,14 @@ public open class CfnEC2Fleet( * Describes the configuration of On-Demand Instances in an EC2 Fleet. */ public open fun onDemandOptions(`value`: IResolvable) { - unwrap(this).setOnDemandOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnDemandOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the configuration of On-Demand Instances in an EC2 Fleet. */ public open fun onDemandOptions(`value`: OnDemandOptionsRequestProperty) { - unwrap(this).setOnDemandOptions(`value`.let(OnDemandOptionsRequestProperty::unwrap)) + unwrap(this).setOnDemandOptions(`value`.let(OnDemandOptionsRequestProperty.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnEC2Fleet( * Indicates whether EC2 Fleet should replace unhealthy Spot Instances. */ public open fun replaceUnhealthyInstances(`value`: IResolvable) { - unwrap(this).setReplaceUnhealthyInstances(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplaceUnhealthyInstances(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -310,14 +310,14 @@ public open class CfnEC2Fleet( * Describes the configuration of Spot Instances in an EC2 Fleet. */ public open fun spotOptions(`value`: IResolvable) { - unwrap(this).setSpotOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpotOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the configuration of Spot Instances in an EC2 Fleet. */ public open fun spotOptions(`value`: SpotOptionsRequestProperty) { - unwrap(this).setSpotOptions(`value`.let(SpotOptionsRequestProperty::unwrap)) + unwrap(this).setSpotOptions(`value`.let(SpotOptionsRequestProperty.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnEC2Fleet( * resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources) . */ public open fun tagSpecifications(`value`: IResolvable) { - unwrap(this).setTagSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setTagSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -373,14 +373,14 @@ public open class CfnEC2Fleet( * The number of units to request. */ public open fun targetCapacitySpecification(`value`: IResolvable) { - unwrap(this).setTargetCapacitySpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetCapacitySpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The number of units to request. */ public open fun targetCapacitySpecification(`value`: TargetCapacitySpecificationRequestProperty) { - unwrap(this).setTargetCapacitySpecification(`value`.let(TargetCapacitySpecificationRequestProperty::unwrap)) + unwrap(this).setTargetCapacitySpecification(`value`.let(TargetCapacitySpecificationRequestProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnEC2Fleet( * Indicates whether running instances should be terminated when the EC2 Fleet expires. */ public open fun terminateInstancesWithExpiration(`value`: IResolvable) { - unwrap(this).setTerminateInstancesWithExpiration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTerminateInstancesWithExpiration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -778,7 +778,7 @@ public open class CfnEC2Fleet( * @param launchTemplateConfigs The configuration for the EC2 Fleet. */ override fun launchTemplateConfigs(launchTemplateConfigs: IResolvable) { - cdkBuilder.launchTemplateConfigs(launchTemplateConfigs.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateConfigs(launchTemplateConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnEC2Fleet( * @param onDemandOptions Describes the configuration of On-Demand Instances in an EC2 Fleet. */ override fun onDemandOptions(onDemandOptions: IResolvable) { - cdkBuilder.onDemandOptions(onDemandOptions.let(IResolvable::unwrap)) + cdkBuilder.onDemandOptions(onDemandOptions.let(IResolvable.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public open class CfnEC2Fleet( * @param onDemandOptions Describes the configuration of On-Demand Instances in an EC2 Fleet. */ override fun onDemandOptions(onDemandOptions: OnDemandOptionsRequestProperty) { - cdkBuilder.onDemandOptions(onDemandOptions.let(OnDemandOptionsRequestProperty::unwrap)) + cdkBuilder.onDemandOptions(onDemandOptions.let(OnDemandOptionsRequestProperty.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class CfnEC2Fleet( * Instances. */ override fun replaceUnhealthyInstances(replaceUnhealthyInstances: IResolvable) { - cdkBuilder.replaceUnhealthyInstances(replaceUnhealthyInstances.let(IResolvable::unwrap)) + cdkBuilder.replaceUnhealthyInstances(replaceUnhealthyInstances.let(IResolvable.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class CfnEC2Fleet( * @param spotOptions Describes the configuration of Spot Instances in an EC2 Fleet. */ override fun spotOptions(spotOptions: IResolvable) { - cdkBuilder.spotOptions(spotOptions.let(IResolvable::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(IResolvable.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public open class CfnEC2Fleet( * @param spotOptions Describes the configuration of Spot Instances in an EC2 Fleet. */ override fun spotOptions(spotOptions: SpotOptionsRequestProperty) { - cdkBuilder.spotOptions(spotOptions.let(SpotOptionsRequestProperty::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(SpotOptionsRequestProperty.Companion::unwrap)) } /** @@ -913,7 +913,7 @@ public open class CfnEC2Fleet( * resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources) . */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -968,7 +968,7 @@ public open class CfnEC2Fleet( * @param targetCapacitySpecification The number of units to request. */ override fun targetCapacitySpecification(targetCapacitySpecification: IResolvable) { - cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(IResolvable::unwrap)) + cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(IResolvable.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class CfnEC2Fleet( */ override fun targetCapacitySpecification(targetCapacitySpecification: TargetCapacitySpecificationRequestProperty) { - cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(TargetCapacitySpecificationRequestProperty::unwrap)) + cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(TargetCapacitySpecificationRequestProperty.Companion::unwrap)) } /** @@ -1014,7 +1014,7 @@ public open class CfnEC2Fleet( * terminated when the EC2 Fleet expires. */ override fun terminateInstancesWithExpiration(terminateInstancesWithExpiration: IResolvable) { - cdkBuilder.terminateInstancesWithExpiration(terminateInstancesWithExpiration.let(IResolvable::unwrap)) + cdkBuilder.terminateInstancesWithExpiration(terminateInstancesWithExpiration.let(IResolvable.Companion::unwrap)) } /** @@ -1963,7 +1963,7 @@ public open class CfnEC2Fleet( * You must specify either the launch template ID or launch template name in the request. */ override fun launchTemplateSpecification(launchTemplateSpecification: IResolvable) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1972,7 +1972,7 @@ public open class CfnEC2Fleet( */ override fun launchTemplateSpecification(launchTemplateSpecification: FleetLaunchTemplateSpecificationRequestProperty) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(FleetLaunchTemplateSpecificationRequestProperty::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(FleetLaunchTemplateSpecificationRequestProperty.Companion::unwrap)) } /** @@ -1993,7 +1993,7 @@ public open class CfnEC2Fleet( * launch templates. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -2388,7 +2388,7 @@ public open class CfnEC2Fleet( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: IResolvable) { - cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -2400,7 +2400,7 @@ public open class CfnEC2Fleet( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: InstanceRequirementsRequestProperty) { - cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsRequestProperty::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsRequestProperty.Companion::unwrap)) } /** @@ -2446,14 +2446,14 @@ public open class CfnEC2Fleet( * @param placement The location where the instance launched, if applicable. */ override fun placement(placement: IResolvable) { - cdkBuilder.placement(placement.let(IResolvable::unwrap)) + cdkBuilder.placement(placement.let(IResolvable.Companion::unwrap)) } /** * @param placement The location where the instance launched, if applicable. */ override fun placement(placement: PlacementProperty) { - cdkBuilder.placement(placement.let(PlacementProperty::unwrap)) + cdkBuilder.placement(placement.let(PlacementProperty.Companion::unwrap)) } /** @@ -3969,7 +3969,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: IResolvable) { - cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable.Companion::unwrap)) } /** @@ -3980,7 +3980,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: AcceleratorCountRequestProperty) { - cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRequestProperty::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRequestProperty.Companion::unwrap)) } /** @@ -4072,7 +4072,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: IResolvable) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable.Companion::unwrap)) } /** @@ -4082,7 +4082,7 @@ public open class CfnEC2Fleet( */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: AcceleratorTotalMemoryMiBRequestProperty) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRequestProperty::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRequestProperty.Companion::unwrap)) } /** @@ -4186,7 +4186,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: IResolvable) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable.Companion::unwrap)) } /** @@ -4200,7 +4200,7 @@ public open class CfnEC2Fleet( */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: BaselineEbsBandwidthMbpsRequestProperty) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsRequestProperty::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsRequestProperty.Companion::unwrap)) } /** @@ -4419,7 +4419,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: IResolvable) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable.Companion::unwrap)) } /** @@ -4427,7 +4427,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: MemoryGiBPerVCpuRequestProperty) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuRequestProperty::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuRequestProperty.Companion::unwrap)) } /** @@ -4444,14 +4444,14 @@ public open class CfnEC2Fleet( * @param memoryMiB The minimum and maximum amount of memory, in MiB. */ override fun memoryMiB(memoryMiB: IResolvable) { - cdkBuilder.memoryMiB(memoryMiB.let(IResolvable::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(IResolvable.Companion::unwrap)) } /** * @param memoryMiB The minimum and maximum amount of memory, in MiB. */ override fun memoryMiB(memoryMiB: MemoryMiBRequestProperty) { - cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRequestProperty::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRequestProperty.Companion::unwrap)) } /** @@ -4472,7 +4472,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: IResolvable) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable.Companion::unwrap)) } /** @@ -4485,7 +4485,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: NetworkBandwidthGbpsRequestProperty) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsRequestProperty::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsRequestProperty.Companion::unwrap)) } /** @@ -4508,7 +4508,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun networkInterfaceCount(networkInterfaceCount: IResolvable) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable.Companion::unwrap)) } /** @@ -4517,7 +4517,7 @@ public open class CfnEC2Fleet( */ override fun networkInterfaceCount(networkInterfaceCount: NetworkInterfaceCountRequestProperty) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountRequestProperty::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountRequestProperty.Companion::unwrap)) } /** @@ -4583,7 +4583,7 @@ public open class CfnEC2Fleet( * Default: `false` */ override fun requireHibernateSupport(requireHibernateSupport: IResolvable) { - cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable::unwrap)) + cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable.Companion::unwrap)) } /** @@ -4630,7 +4630,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: IResolvable) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable.Companion::unwrap)) } /** @@ -4638,7 +4638,7 @@ public open class CfnEC2Fleet( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: TotalLocalStorageGBRequestProperty) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBRequestProperty::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBRequestProperty.Companion::unwrap)) } /** @@ -4655,14 +4655,14 @@ public open class CfnEC2Fleet( * @param vCpuCount The minimum and maximum number of vCPUs. */ override fun vCpuCount(vCpuCount: IResolvable) { - cdkBuilder.vCpuCount(vCpuCount.let(IResolvable::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(IResolvable.Companion::unwrap)) } /** * @param vCpuCount The minimum and maximum number of vCPUs. */ override fun vCpuCount(vCpuCount: VCpuCountRangeRequestProperty) { - cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeRequestProperty::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeRequestProperty.Companion::unwrap)) } /** @@ -5172,7 +5172,7 @@ public open class CfnEC2Fleet( * Instance is at an elevated risk of being interrupted. */ override fun capacityRebalance(capacityRebalance: IResolvable) { - cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable::unwrap)) + cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable.Companion::unwrap)) } /** @@ -5180,7 +5180,7 @@ public open class CfnEC2Fleet( * Instance is at an elevated risk of being interrupted. */ override fun capacityRebalance(capacityRebalance: CapacityRebalanceProperty) { - cdkBuilder.capacityRebalance(capacityRebalance.let(CapacityRebalanceProperty::unwrap)) + cdkBuilder.capacityRebalance(capacityRebalance.let(CapacityRebalanceProperty.Companion::unwrap)) } /** @@ -5950,7 +5950,7 @@ public open class CfnEC2Fleet( * Supported only for fleets of type `instant` . */ override fun capacityReservationOptions(capacityReservationOptions: IResolvable) { - cdkBuilder.capacityReservationOptions(capacityReservationOptions.let(IResolvable::unwrap)) + cdkBuilder.capacityReservationOptions(capacityReservationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5960,7 +5960,7 @@ public open class CfnEC2Fleet( */ override fun capacityReservationOptions(capacityReservationOptions: CapacityReservationOptionsRequestProperty) { - cdkBuilder.capacityReservationOptions(capacityReservationOptions.let(CapacityReservationOptionsRequestProperty::unwrap)) + cdkBuilder.capacityReservationOptions(capacityReservationOptions.let(CapacityReservationOptionsRequestProperty.Companion::unwrap)) } /** @@ -6019,7 +6019,7 @@ public open class CfnEC2Fleet( * Supported only for fleets of type `instant` . */ override fun singleAvailabilityZone(singleAvailabilityZone: IResolvable) { - cdkBuilder.singleAvailabilityZone(singleAvailabilityZone.let(IResolvable::unwrap)) + cdkBuilder.singleAvailabilityZone(singleAvailabilityZone.let(IResolvable.Companion::unwrap)) } /** @@ -6037,7 +6037,7 @@ public open class CfnEC2Fleet( * Supported only for fleets of type `instant` . */ override fun singleInstanceType(singleInstanceType: IResolvable) { - cdkBuilder.singleInstanceType(singleInstanceType.let(IResolvable::unwrap)) + cdkBuilder.singleInstanceType(singleInstanceType.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6862,7 +6862,7 @@ public open class CfnEC2Fleet( * elevated risk of being interrupted. */ override fun maintenanceStrategies(maintenanceStrategies: IResolvable) { - cdkBuilder.maintenanceStrategies(maintenanceStrategies.let(IResolvable::unwrap)) + cdkBuilder.maintenanceStrategies(maintenanceStrategies.let(IResolvable.Companion::unwrap)) } /** @@ -6870,7 +6870,7 @@ public open class CfnEC2Fleet( * elevated risk of being interrupted. */ override fun maintenanceStrategies(maintenanceStrategies: MaintenanceStrategiesProperty) { - cdkBuilder.maintenanceStrategies(maintenanceStrategies.let(MaintenanceStrategiesProperty::unwrap)) + cdkBuilder.maintenanceStrategies(maintenanceStrategies.let(MaintenanceStrategiesProperty.Companion::unwrap)) } /** @@ -6931,7 +6931,7 @@ public open class CfnEC2Fleet( * Supported only for fleets of type `instant` . */ override fun singleAvailabilityZone(singleAvailabilityZone: IResolvable) { - cdkBuilder.singleAvailabilityZone(singleAvailabilityZone.let(IResolvable::unwrap)) + cdkBuilder.singleAvailabilityZone(singleAvailabilityZone.let(IResolvable.Companion::unwrap)) } /** @@ -6949,7 +6949,7 @@ public open class CfnEC2Fleet( * Supported only for fleets of type `instant` . */ override fun singleInstanceType(singleInstanceType: IResolvable) { - cdkBuilder.singleInstanceType(singleInstanceType.let(IResolvable::unwrap)) + cdkBuilder.singleInstanceType(singleInstanceType.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.CfnEC2Fleet.SpotOptionsRequestProperty @@ -7165,7 +7165,7 @@ public open class CfnEC2Fleet( * @param tags The tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2FleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2FleetProps.kt index 9f0ce18677..0ece62c908 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2FleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEC2FleetProps.kt @@ -498,7 +498,7 @@ public interface CfnEC2FleetProps { * @param launchTemplateConfigs The configuration for the EC2 Fleet. */ override fun launchTemplateConfigs(launchTemplateConfigs: IResolvable) { - cdkBuilder.launchTemplateConfigs(launchTemplateConfigs.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateConfigs(launchTemplateConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -518,14 +518,14 @@ public interface CfnEC2FleetProps { * @param onDemandOptions Describes the configuration of On-Demand Instances in an EC2 Fleet. */ override fun onDemandOptions(onDemandOptions: IResolvable) { - cdkBuilder.onDemandOptions(onDemandOptions.let(IResolvable::unwrap)) + cdkBuilder.onDemandOptions(onDemandOptions.let(IResolvable.Companion::unwrap)) } /** * @param onDemandOptions Describes the configuration of On-Demand Instances in an EC2 Fleet. */ override fun onDemandOptions(onDemandOptions: CfnEC2Fleet.OnDemandOptionsRequestProperty) { - cdkBuilder.onDemandOptions(onDemandOptions.let(CfnEC2Fleet.OnDemandOptionsRequestProperty::unwrap)) + cdkBuilder.onDemandOptions(onDemandOptions.let(CfnEC2Fleet.OnDemandOptionsRequestProperty.Companion::unwrap)) } /** @@ -556,21 +556,21 @@ public interface CfnEC2FleetProps { * in the *Amazon EC2 User Guide* . */ override fun replaceUnhealthyInstances(replaceUnhealthyInstances: IResolvable) { - cdkBuilder.replaceUnhealthyInstances(replaceUnhealthyInstances.let(IResolvable::unwrap)) + cdkBuilder.replaceUnhealthyInstances(replaceUnhealthyInstances.let(IResolvable.Companion::unwrap)) } /** * @param spotOptions Describes the configuration of Spot Instances in an EC2 Fleet. */ override fun spotOptions(spotOptions: IResolvable) { - cdkBuilder.spotOptions(spotOptions.let(IResolvable::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(IResolvable.Companion::unwrap)) } /** * @param spotOptions Describes the configuration of Spot Instances in an EC2 Fleet. */ override fun spotOptions(spotOptions: CfnEC2Fleet.SpotOptionsRequestProperty) { - cdkBuilder.spotOptions(spotOptions.let(CfnEC2Fleet.SpotOptionsRequestProperty::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(CfnEC2Fleet.SpotOptionsRequestProperty.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface CfnEC2FleetProps { * . */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public interface CfnEC2FleetProps { * @param targetCapacitySpecification The number of units to request. */ override fun targetCapacitySpecification(targetCapacitySpecification: IResolvable) { - cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(IResolvable::unwrap)) + cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(IResolvable.Companion::unwrap)) } /** @@ -644,7 +644,7 @@ public interface CfnEC2FleetProps { */ override fun targetCapacitySpecification(targetCapacitySpecification: CfnEC2Fleet.TargetCapacitySpecificationRequestProperty) { - cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(CfnEC2Fleet.TargetCapacitySpecificationRequestProperty::unwrap)) + cdkBuilder.targetCapacitySpecification(targetCapacitySpecification.let(CfnEC2Fleet.TargetCapacitySpecificationRequestProperty.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public interface CfnEC2FleetProps { * terminated when the EC2 Fleet expires. */ override fun terminateInstancesWithExpiration(terminateInstancesWithExpiration: IResolvable) { - cdkBuilder.terminateInstancesWithExpiration(terminateInstancesWithExpiration.let(IResolvable::unwrap)) + cdkBuilder.terminateInstancesWithExpiration(terminateInstancesWithExpiration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIP.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIP.kt index 75d9a38a24..02d4c3fd1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIP.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIP.kt @@ -48,7 +48,7 @@ public open class CfnEIP( cdkObject: software.amazon.awscdk.services.ec2.CfnEIP, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnEIP(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnEIP(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnEIP( id: String, props: CfnEIPProps, ) : - this(software.amazon.awscdk.services.ec2.CfnEIP(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEIPProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnEIP(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEIPProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnEIP( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class CfnEIP( * Any tags assigned to the Elastic IP address. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnEIP( * @param tags Any tags assigned to the Elastic IP address. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPAssociation.kt index 56d1100d4d..f1f24b05a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPAssociation.kt @@ -44,7 +44,7 @@ public open class CfnEIPAssociation( cdkObject: software.amazon.awscdk.services.ec2.CfnEIPAssociation, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnEIPAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnEIPAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class CfnEIPAssociation( id: String, props: CfnEIPAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnEIPAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEIPAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnEIPAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEIPAssociationProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnEIPAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPProps.kt index 190db41318..5fc0089b94 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEIPProps.kt @@ -236,7 +236,7 @@ public interface CfnEIPProps { * reassociates the address on its associated resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEgressOnlyInternetGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEgressOnlyInternetGateway.kt index 1ccdb20fd0..fe3c747908 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEgressOnlyInternetGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEgressOnlyInternetGateway.kt @@ -44,8 +44,8 @@ public open class CfnEgressOnlyInternetGateway( id: String, props: CfnEgressOnlyInternetGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnEgressOnlyInternetGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEgressOnlyInternetGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnEgressOnlyInternetGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEgressOnlyInternetGatewayProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class CfnEgressOnlyInternetGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEnclaveCertificateIamRoleAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEnclaveCertificateIamRoleAssociation.kt index a885bc226e..56239ae362 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEnclaveCertificateIamRoleAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnEnclaveCertificateIamRoleAssociation.kt @@ -56,8 +56,8 @@ public open class CfnEnclaveCertificateIamRoleAssociation( id: String, props: CfnEnclaveCertificateIamRoleAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnEnclaveCertificateIamRoleAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnclaveCertificateIamRoleAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnEnclaveCertificateIamRoleAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnclaveCertificateIamRoleAssociationProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnEnclaveCertificateIamRoleAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLog.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLog.kt index 03eda485e8..158da3b6f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLog.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLog.kt @@ -68,8 +68,8 @@ public open class CfnFlowLog( id: String, props: CfnFlowLogProps, ) : - this(software.amazon.awscdk.services.ec2.CfnFlowLog(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowLogProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnFlowLog(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowLogProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnFlowLog( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnFlowLog( * The tags to apply to the flow logs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class CfnFlowLog( * @param tags The tags to apply to the flow logs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnFlowLog( * The default is `false` . */ override fun hiveCompatiblePartitions(hiveCompatiblePartitions: IResolvable) { - cdkBuilder.hiveCompatiblePartitions(hiveCompatiblePartitions.let(IResolvable::unwrap)) + cdkBuilder.hiveCompatiblePartitions(hiveCompatiblePartitions.let(IResolvable.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public open class CfnFlowLog( * This reduces the cost and response time for queries. The default is `false` . */ override fun perHourPartition(perHourPartition: IResolvable) { - cdkBuilder.perHourPartition(perHourPartition.let(IResolvable::unwrap)) + cdkBuilder.perHourPartition(perHourPartition.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.CfnFlowLog.DestinationOptionsProperty diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLogProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLogProps.kt index b18e1cb4ae..b40770dde1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLogProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnFlowLogProps.kt @@ -428,7 +428,7 @@ public interface CfnFlowLogProps { * @param tags The tags to apply to the flow logs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnGatewayRouteTableAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnGatewayRouteTableAssociation.kt index fb015f04c5..5d29cd7675 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnGatewayRouteTableAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnGatewayRouteTableAssociation.kt @@ -40,8 +40,8 @@ public open class CfnGatewayRouteTableAssociation( id: String, props: CfnGatewayRouteTableAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnGatewayRouteTableAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGatewayRouteTableAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnGatewayRouteTableAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGatewayRouteTableAssociationProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnGatewayRouteTableAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnHost.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnHost.kt index 2c3f3da10e..cd8db13502 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnHost.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnHost.kt @@ -49,8 +49,8 @@ public open class CfnHost( id: String, props: CfnHostProps, ) : - this(software.amazon.awscdk.services.ec2.CfnHost(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHostProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnHost(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHostProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnHost( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAM.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAM.kt index f50b85452b..7676396c20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAM.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAM.kt @@ -59,7 +59,7 @@ public open class CfnIPAM( cdkObject: software.amazon.awscdk.services.ec2.CfnIPAM, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnIPAM(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnIPAM(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -68,8 +68,8 @@ public open class CfnIPAM( id: String, props: CfnIPAMProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAM(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAM(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class CfnIPAM( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnIPAM( * The operating Regions for an IPAM. */ public open fun operatingRegions(`value`: IResolvable) { - unwrap(this).setOperatingRegions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOperatingRegions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnIPAM( * The key/value combination of a tag assigned to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnIPAM( * @param operatingRegions The operating Regions for an IPAM. */ override fun operatingRegions(operatingRegions: IResolvable) { - cdkBuilder.operatingRegions(operatingRegions.let(IResolvable::unwrap)) + cdkBuilder.operatingRegions(operatingRegions.let(IResolvable.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public open class CfnIPAM( * @param tags The key/value combination of a tag assigned to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMAllocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMAllocation.kt index acbc012232..29ad1911b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMAllocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMAllocation.kt @@ -42,8 +42,8 @@ public open class CfnIPAMAllocation( id: String, props: CfnIPAMAllocationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAMAllocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMAllocationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAMAllocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMAllocationProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnIPAMAllocation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPool.kt index 198b513909..91f65b8def 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPool.kt @@ -79,8 +79,8 @@ public open class CfnIPAMPool( id: String, props: CfnIPAMPoolProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAMPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMPoolProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAMPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMPoolProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CfnIPAMPool( * Tags that are required for resources that use CIDRs from this IPAM pool. */ public open fun allocationResourceTags(`value`: IResolvable) { - unwrap(this).setAllocationResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllocationResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnIPAMPool( * automatically import them as allocations into your IPAM. */ public open fun autoImport(`value`: IResolvable) { - unwrap(this).setAutoImport(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoImport(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnIPAMPool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnIPAMPool( * Information about the CIDRs provisioned to an IPAM pool. */ public open fun provisionedCidrs(`value`: IResolvable) { - unwrap(this).setProvisionedCidrs(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisionedCidrs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnIPAMPool( * Determines if a pool is publicly advertisable. */ public open fun publiclyAdvertisable(`value`: IResolvable) { - unwrap(this).setPubliclyAdvertisable(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAdvertisable(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -363,14 +363,14 @@ public open class CfnIPAMPool( * The resource used to provision CIDRs to a resource planning pool. */ public open fun sourceResource(`value`: IResolvable) { - unwrap(this).setSourceResource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceResource(`value`.let(IResolvable.Companion::unwrap)) } /** * The resource used to provision CIDRs to a resource planning pool. */ public open fun sourceResource(`value`: SourceResourceProperty) { - unwrap(this).setSourceResource(`value`.let(SourceResourceProperty::unwrap)) + unwrap(this).setSourceResource(`value`.let(SourceResourceProperty.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnIPAMPool( * The key/value combination of a tag assigned to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnIPAMPool( * IPAM pool. */ override fun allocationResourceTags(allocationResourceTags: IResolvable) { - cdkBuilder.allocationResourceTags(allocationResourceTags.let(IResolvable::unwrap)) + cdkBuilder.allocationResourceTags(allocationResourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnIPAMPool( * range of this pool and automatically import them as allocations into your IPAM. */ override fun autoImport(autoImport: IResolvable) { - cdkBuilder.autoImport(autoImport.let(IResolvable::unwrap)) + cdkBuilder.autoImport(autoImport.let(IResolvable.Companion::unwrap)) } /** @@ -893,7 +893,7 @@ public open class CfnIPAMPool( * @param provisionedCidrs Information about the CIDRs provisioned to an IPAM pool. */ override fun provisionedCidrs(provisionedCidrs: IResolvable) { - cdkBuilder.provisionedCidrs(provisionedCidrs.let(IResolvable::unwrap)) + cdkBuilder.provisionedCidrs(provisionedCidrs.let(IResolvable.Companion::unwrap)) } /** @@ -954,7 +954,7 @@ public open class CfnIPAMPool( * @param publiclyAdvertisable Determines if a pool is publicly advertisable. */ override fun publiclyAdvertisable(publiclyAdvertisable: IResolvable) { - cdkBuilder.publiclyAdvertisable(publiclyAdvertisable.let(IResolvable::unwrap)) + cdkBuilder.publiclyAdvertisable(publiclyAdvertisable.let(IResolvable.Companion::unwrap)) } /** @@ -976,7 +976,7 @@ public open class CfnIPAMPool( * @param sourceResource The resource used to provision CIDRs to a resource planning pool. */ override fun sourceResource(sourceResource: IResolvable) { - cdkBuilder.sourceResource(sourceResource.let(IResolvable::unwrap)) + cdkBuilder.sourceResource(sourceResource.let(IResolvable.Companion::unwrap)) } /** @@ -986,7 +986,7 @@ public open class CfnIPAMPool( * @param sourceResource The resource used to provision CIDRs to a resource planning pool. */ override fun sourceResource(sourceResource: SourceResourceProperty) { - cdkBuilder.sourceResource(sourceResource.let(SourceResourceProperty::unwrap)) + cdkBuilder.sourceResource(sourceResource.let(SourceResourceProperty.Companion::unwrap)) } /** @@ -1011,7 +1011,7 @@ public open class CfnIPAMPool( * @param tags The key/value combination of a tag assigned to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolCidr.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolCidr.kt index 810879893e..a0f63fcbd6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolCidr.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolCidr.kt @@ -39,8 +39,8 @@ public open class CfnIPAMPoolCidr( id: String, props: CfnIPAMPoolCidrProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMPoolCidrProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAMPoolCidr(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMPoolCidrProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnIPAMPoolCidr( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolProps.kt index 5209bde76f..3632e6de58 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMPoolProps.kt @@ -466,7 +466,7 @@ public interface CfnIPAMPoolProps { * tagging requirements are changed on the pool, the resource may be marked as noncompliant. */ override fun allocationResourceTags(allocationResourceTags: IResolvable) { - cdkBuilder.allocationResourceTags(allocationResourceTags.let(IResolvable::unwrap)) + cdkBuilder.allocationResourceTags(allocationResourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public interface CfnIPAMPoolProps { * A locale must be set on the pool for this feature to work. */ override fun autoImport(autoImport: IResolvable) { - cdkBuilder.autoImport(autoImport.let(IResolvable::unwrap)) + cdkBuilder.autoImport(autoImport.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface CfnIPAMPoolProps { * @param provisionedCidrs Information about the CIDRs provisioned to an IPAM pool. */ override fun provisionedCidrs(provisionedCidrs: IResolvable) { - cdkBuilder.provisionedCidrs(provisionedCidrs.let(IResolvable::unwrap)) + cdkBuilder.provisionedCidrs(provisionedCidrs.let(IResolvable.Companion::unwrap)) } /** @@ -604,7 +604,7 @@ public interface CfnIPAMPoolProps { * This option is not available for pools with AddressFamily set to `ipv4` . */ override fun publiclyAdvertisable(publiclyAdvertisable: IResolvable) { - cdkBuilder.publiclyAdvertisable(publiclyAdvertisable.let(IResolvable::unwrap)) + cdkBuilder.publiclyAdvertisable(publiclyAdvertisable.let(IResolvable.Companion::unwrap)) } /** @@ -619,14 +619,14 @@ public interface CfnIPAMPoolProps { * @param sourceResource The resource used to provision CIDRs to a resource planning pool. */ override fun sourceResource(sourceResource: IResolvable) { - cdkBuilder.sourceResource(sourceResource.let(IResolvable::unwrap)) + cdkBuilder.sourceResource(sourceResource.let(IResolvable.Companion::unwrap)) } /** * @param sourceResource The resource used to provision CIDRs to a resource planning pool. */ override fun sourceResource(sourceResource: CfnIPAMPool.SourceResourceProperty) { - cdkBuilder.sourceResource(sourceResource.let(CfnIPAMPool.SourceResourceProperty::unwrap)) + cdkBuilder.sourceResource(sourceResource.let(CfnIPAMPool.SourceResourceProperty.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public interface CfnIPAMPoolProps { * `tag:Owner` for the filter name and `TeamA` for the filter value. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMProps.kt index 25371bf8a4..eb3dcfc75f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMProps.kt @@ -167,7 +167,7 @@ public interface CfnIPAMProps { * User Guide* . */ override fun operatingRegions(operatingRegions: IResolvable) { - cdkBuilder.operatingRegions(operatingRegions.let(IResolvable::unwrap)) + cdkBuilder.operatingRegions(operatingRegions.let(IResolvable.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface CfnIPAMProps { * `tag:Owner` for the filter name and `TeamA` for the filter value. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscovery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscovery.kt index 7b8647e6b9..c7240533cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscovery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscovery.kt @@ -48,7 +48,7 @@ public open class CfnIPAMResourceDiscovery( cdkObject: software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscovery, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscovery(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscovery(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnIPAMResourceDiscovery( id: String, props: CfnIPAMResourceDiscoveryProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscovery(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMResourceDiscoveryProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscovery(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMResourceDiscoveryProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnIPAMResourceDiscovery( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnIPAMResourceDiscovery( * The operating Regions for the resource discovery. */ public open fun operatingRegions(`value`: IResolvable) { - unwrap(this).setOperatingRegions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOperatingRegions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnIPAMResourceDiscovery( * A tag is a label that you assign to an AWS resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnIPAMResourceDiscovery( * @param operatingRegions The operating Regions for the resource discovery. */ override fun operatingRegions(operatingRegions: IResolvable) { - cdkBuilder.operatingRegions(operatingRegions.let(IResolvable::unwrap)) + cdkBuilder.operatingRegions(operatingRegions.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnIPAMResourceDiscovery( * @param tags A tag is a label that you assign to an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociation.kt index ea6f241f75..18c1184936 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociation.kt @@ -50,8 +50,8 @@ public open class CfnIPAMResourceDiscoveryAssociation( id: String, props: CfnIPAMResourceDiscoveryAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscoveryAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMResourceDiscoveryAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscoveryAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMResourceDiscoveryAssociationProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnIPAMResourceDiscoveryAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnIPAMResourceDiscoveryAssociation( * A tag is a label that you assign to an AWS resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnIPAMResourceDiscoveryAssociation( * @param tags A tag is a label that you assign to an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociationProps.kt index 80613deb7c..7b5504467c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryAssociationProps.kt @@ -113,7 +113,7 @@ public interface CfnIPAMResourceDiscoveryAssociationProps { * resources or track your AWS costs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryProps.kt index 5cd104241b..04ac36f4a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMResourceDiscoveryProps.kt @@ -128,7 +128,7 @@ public interface CfnIPAMResourceDiscoveryProps { * only discovers and monitors resources in the AWS Regions you select as operating Regions. */ override fun operatingRegions(operatingRegions: IResolvable) { - cdkBuilder.operatingRegions(operatingRegions.let(IResolvable::unwrap)) + cdkBuilder.operatingRegions(operatingRegions.let(IResolvable.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface CfnIPAMResourceDiscoveryProps { * resources or track your AWS costs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScope.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScope.kt index 7ce6d37a07..b6422a5658 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScope.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScope.kt @@ -56,8 +56,8 @@ public open class CfnIPAMScope( id: String, props: CfnIPAMScopeProps, ) : - this(software.amazon.awscdk.services.ec2.CfnIPAMScope(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPAMScopeProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnIPAMScope(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPAMScopeProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class CfnIPAMScope( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnIPAMScope( * The key/value combination of a tag assigned to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnIPAMScope( * @param tags The key/value combination of a tag assigned to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScopeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScopeProps.kt index d09fff3ed8..9654a31623 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScopeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnIPAMScopeProps.kt @@ -115,7 +115,7 @@ public interface CfnIPAMScopeProps { * `tag:Owner` for the filter name and `TeamA` for the filter value. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstance.kt index 12a3381c00..99b87f4a91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstance.kt @@ -162,7 +162,7 @@ public open class CfnInstance( cdkObject: software.amazon.awscdk.services.ec2.CfnInstance, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -171,8 +171,8 @@ public open class CfnInstance( id: String, props: CfnInstanceProps, ) : - this(software.amazon.awscdk.services.ec2.CfnInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProps.Companion::unwrap)) ) public constructor( @@ -244,6 +244,11 @@ public open class CfnInstance( */ public open fun attrPublicIp(): String = unwrap(this).getAttrPublicIp() + /** + * The current state of the instance. + */ + public open fun attrState(): IResolvable = unwrap(this).getAttrState().let(IResolvable::wrap) + /** * The ID of the VPC in which the instance is running. */ @@ -272,7 +277,7 @@ public open class CfnInstance( * launch. */ public open fun blockDeviceMappings(`value`: IResolvable) { - unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -299,14 +304,14 @@ public open class CfnInstance( * The CPU options for the instance. */ public open fun cpuOptions(`value`: IResolvable) { - unwrap(this).setCpuOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setCpuOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The CPU options for the instance. */ public open fun cpuOptions(`value`: CpuOptionsProperty) { - unwrap(this).setCpuOptions(`value`.let(CpuOptionsProperty::unwrap)) + unwrap(this).setCpuOptions(`value`.let(CpuOptionsProperty.Companion::unwrap)) } /** @@ -326,14 +331,14 @@ public open class CfnInstance( * The credit option for CPU usage of the burstable performance instance. */ public open fun creditSpecification(`value`: IResolvable) { - unwrap(this).setCreditSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreditSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The credit option for CPU usage of the burstable performance instance. */ public open fun creditSpecification(`value`: CreditSpecificationProperty) { - unwrap(this).setCreditSpecification(`value`.let(CreditSpecificationProperty::unwrap)) + unwrap(this).setCreditSpecification(`value`.let(CreditSpecificationProperty.Companion::unwrap)) } /** @@ -363,7 +368,7 @@ public open class CfnInstance( * console, CLI, or API; */ public open fun disableApiTermination(`value`: IResolvable) { - unwrap(this).setDisableApiTermination(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableApiTermination(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -382,7 +387,7 @@ public open class CfnInstance( * Indicates whether the instance is optimized for Amazon EBS I/O. */ public open fun ebsOptimized(`value`: IResolvable) { - unwrap(this).setEbsOptimized(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsOptimized(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -394,7 +399,7 @@ public open class CfnInstance( * An elastic GPU to associate with the instance. */ public open fun elasticGpuSpecifications(`value`: IResolvable) { - unwrap(this).setElasticGpuSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticGpuSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -420,7 +425,7 @@ public open class CfnInstance( * An elastic inference accelerator to associate with the instance. */ public open fun elasticInferenceAccelerators(`value`: IResolvable) { - unwrap(this).setElasticInferenceAccelerators(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticInferenceAccelerators(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -445,14 +450,14 @@ public open class CfnInstance( * Indicates whether the instance is enabled for AWS Nitro Enclaves. */ public open fun enclaveOptions(`value`: IResolvable) { - unwrap(this).setEnclaveOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnclaveOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Indicates whether the instance is enabled for AWS Nitro Enclaves. */ public open fun enclaveOptions(`value`: EnclaveOptionsProperty) { - unwrap(this).setEnclaveOptions(`value`.let(EnclaveOptionsProperty::unwrap)) + unwrap(this).setEnclaveOptions(`value`.let(EnclaveOptionsProperty.Companion::unwrap)) } /** @@ -472,14 +477,14 @@ public open class CfnInstance( * Indicates whether an instance is enabled for hibernation. */ public open fun hibernationOptions(`value`: IResolvable) { - unwrap(this).setHibernationOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setHibernationOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Indicates whether an instance is enabled for hibernation. */ public open fun hibernationOptions(`value`: HibernationOptionsProperty) { - unwrap(this).setHibernationOptions(`value`.let(HibernationOptionsProperty::unwrap)) + unwrap(this).setHibernationOptions(`value`.let(HibernationOptionsProperty.Companion::unwrap)) } /** @@ -546,7 +551,7 @@ public open class CfnInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -607,7 +612,7 @@ public open class CfnInstance( * interface. */ public open fun ipv6Addresses(`value`: IResolvable) { - unwrap(this).setIpv6Addresses(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpv6Addresses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -657,26 +662,26 @@ public open class CfnInstance( } /** - * The launch template to use to launch the instances. + * The launch template. */ public open fun launchTemplate(): Any? = unwrap(this).getLaunchTemplate() /** - * The launch template to use to launch the instances. + * The launch template. */ public open fun launchTemplate(`value`: IResolvable) { - unwrap(this).setLaunchTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** - * The launch template to use to launch the instances. + * The launch template. */ public open fun launchTemplate(`value`: LaunchTemplateSpecificationProperty) { - unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateSpecificationProperty::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** - * The launch template to use to launch the instances. + * The launch template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("535cb576814b4579419de7412d1256c1940139943ea2c243956fbc07001789a0") @@ -692,7 +697,7 @@ public open class CfnInstance( * The license configurations. */ public open fun licenseSpecifications(`value`: IResolvable) { - unwrap(this).setLicenseSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setLicenseSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -724,7 +729,7 @@ public open class CfnInstance( * Specifies whether detailed monitoring is enabled for the instance. */ public open fun monitoring(`value`: IResolvable) { - unwrap(this).setMonitoring(`value`.let(IResolvable::unwrap)) + unwrap(this).setMonitoring(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +741,7 @@ public open class CfnInstance( * The network interfaces to associate with the instance. */ public open fun networkInterfaces(`value`: IResolvable) { - unwrap(this).setNetworkInterfaces(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkInterfaces(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -774,14 +779,14 @@ public open class CfnInstance( * The options for the instance hostname. */ public open fun privateDnsNameOptions(`value`: IResolvable) { - unwrap(this).setPrivateDnsNameOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrivateDnsNameOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for the instance hostname. */ public open fun privateDnsNameOptions(`value`: PrivateDnsNameOptionsProperty) { - unwrap(this).setPrivateDnsNameOptions(`value`.let(PrivateDnsNameOptionsProperty::unwrap)) + unwrap(this).setPrivateDnsNameOptions(`value`.let(PrivateDnsNameOptionsProperty.Companion::unwrap)) } /** @@ -828,7 +833,7 @@ public open class CfnInstance( * instance at launch. */ public open fun propagateTagsToVolumeOnCreation(`value`: IResolvable) { - unwrap(this).setPropagateTagsToVolumeOnCreation(`value`.let(IResolvable::unwrap)) + unwrap(this).setPropagateTagsToVolumeOnCreation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -904,7 +909,7 @@ public open class CfnInstance( * source or the destination of any traffic that it receives. */ public open fun sourceDestCheck(`value`: IResolvable) { - unwrap(this).setSourceDestCheck(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceDestCheck(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -928,7 +933,7 @@ public open class CfnInstance( * in the *AWS Systems Manager User Guide* . */ public open fun ssmAssociations(`value`: IResolvable) { - unwrap(this).setSsmAssociations(`value`.let(IResolvable::unwrap)) + unwrap(this).setSsmAssociations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -982,7 +987,7 @@ public open class CfnInstance( * The tags to add to the instance. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1023,7 +1028,7 @@ public open class CfnInstance( * The volumes to attach to the instance. */ public open fun volumes(`value`: IResolvable) { - unwrap(this).setVolumes(`value`.let(IResolvable::unwrap)) + unwrap(this).setVolumes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1646,38 +1651,35 @@ public open class CfnInstance( public fun keyName(keyName: String) /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) - * @param launchTemplate The launch template to use to launch the instances. + * @param launchTemplate The launch template. */ public fun launchTemplate(launchTemplate: IResolvable) /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) - * @param launchTemplate The launch template to use to launch the instances. + * @param launchTemplate The launch template. */ public fun launchTemplate(launchTemplate: LaunchTemplateSpecificationProperty) /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) - * @param launchTemplate The launch template to use to launch the instances. + * @param launchTemplate The launch template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1a96fad6d5019a3dd2182fee83a3a37fbea28f6c867f2ec0ff8c8d0b4e93680a") @@ -2214,7 +2216,7 @@ public open class CfnInstance( * attach to the instance at launch. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -2277,7 +2279,7 @@ public open class CfnInstance( * @param cpuOptions The CPU options for the instance. */ override fun cpuOptions(cpuOptions: IResolvable) { - cdkBuilder.cpuOptions(cpuOptions.let(IResolvable::unwrap)) + cdkBuilder.cpuOptions(cpuOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2291,7 +2293,7 @@ public open class CfnInstance( * @param cpuOptions The CPU options for the instance. */ override fun cpuOptions(cpuOptions: CpuOptionsProperty) { - cdkBuilder.cpuOptions(cpuOptions.let(CpuOptionsProperty::unwrap)) + cdkBuilder.cpuOptions(cpuOptions.let(CpuOptionsProperty.Companion::unwrap)) } /** @@ -2327,7 +2329,7 @@ public open class CfnInstance( * instance. */ override fun creditSpecification(creditSpecification: IResolvable) { - cdkBuilder.creditSpecification(creditSpecification.let(IResolvable::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -2348,7 +2350,7 @@ public open class CfnInstance( * instance. */ override fun creditSpecification(creditSpecification: CreditSpecificationProperty) { - cdkBuilder.creditSpecification(creditSpecification.let(CreditSpecificationProperty::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CreditSpecificationProperty.Companion::unwrap)) } /** @@ -2409,7 +2411,7 @@ public open class CfnInstance( * instance using the Amazon EC2 console, CLI, or API;. */ override fun disableApiTermination(disableApiTermination: IResolvable) { - cdkBuilder.disableApiTermination(disableApiTermination.let(IResolvable::unwrap)) + cdkBuilder.disableApiTermination(disableApiTermination.let(IResolvable.Companion::unwrap)) } /** @@ -2441,7 +2443,7 @@ public open class CfnInstance( * @param ebsOptimized Indicates whether the instance is optimized for Amazon EBS I/O. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -2455,7 +2457,7 @@ public open class CfnInstance( * @param elasticGpuSpecifications An elastic GPU to associate with the instance. */ override fun elasticGpuSpecifications(elasticGpuSpecifications: IResolvable) { - cdkBuilder.elasticGpuSpecifications(elasticGpuSpecifications.let(IResolvable::unwrap)) + cdkBuilder.elasticGpuSpecifications(elasticGpuSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -2499,7 +2501,7 @@ public open class CfnInstance( * instance. */ override fun elasticInferenceAccelerators(elasticInferenceAccelerators: IResolvable) { - cdkBuilder.elasticInferenceAccelerators(elasticInferenceAccelerators.let(IResolvable::unwrap)) + cdkBuilder.elasticInferenceAccelerators(elasticInferenceAccelerators.let(IResolvable.Companion::unwrap)) } /** @@ -2542,7 +2544,7 @@ public open class CfnInstance( * @param enclaveOptions Indicates whether the instance is enabled for AWS Nitro Enclaves. */ override fun enclaveOptions(enclaveOptions: IResolvable) { - cdkBuilder.enclaveOptions(enclaveOptions.let(IResolvable::unwrap)) + cdkBuilder.enclaveOptions(enclaveOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2552,7 +2554,7 @@ public open class CfnInstance( * @param enclaveOptions Indicates whether the instance is enabled for AWS Nitro Enclaves. */ override fun enclaveOptions(enclaveOptions: EnclaveOptionsProperty) { - cdkBuilder.enclaveOptions(enclaveOptions.let(EnclaveOptionsProperty::unwrap)) + cdkBuilder.enclaveOptions(enclaveOptions.let(EnclaveOptionsProperty.Companion::unwrap)) } /** @@ -2581,7 +2583,7 @@ public open class CfnInstance( * @param hibernationOptions Indicates whether an instance is enabled for hibernation. */ override fun hibernationOptions(hibernationOptions: IResolvable) { - cdkBuilder.hibernationOptions(hibernationOptions.let(IResolvable::unwrap)) + cdkBuilder.hibernationOptions(hibernationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2599,7 +2601,7 @@ public open class CfnInstance( * @param hibernationOptions Indicates whether an instance is enabled for hibernation. */ override fun hibernationOptions(hibernationOptions: HibernationOptionsProperty) { - cdkBuilder.hibernationOptions(hibernationOptions.let(HibernationOptionsProperty::unwrap)) + cdkBuilder.hibernationOptions(hibernationOptions.let(HibernationOptionsProperty.Companion::unwrap)) } /** @@ -2746,7 +2748,7 @@ public open class CfnInstance( * primary network interface. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -2823,42 +2825,39 @@ public open class CfnInstance( } /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) - * @param launchTemplate The launch template to use to launch the instances. + * @param launchTemplate The launch template. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) - * @param launchTemplate The launch template to use to launch the instances. + * @param launchTemplate The launch template. */ override fun launchTemplate(launchTemplate: LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) - * @param launchTemplate The launch template to use to launch the instances. + * @param launchTemplate The launch template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1a96fad6d5019a3dd2182fee83a3a37fbea28f6c867f2ec0ff8c8d0b4e93680a") @@ -2873,7 +2872,7 @@ public open class CfnInstance( * @param licenseSpecifications The license configurations. */ override fun licenseSpecifications(licenseSpecifications: IResolvable) { - cdkBuilder.licenseSpecifications(licenseSpecifications.let(IResolvable::unwrap)) + cdkBuilder.licenseSpecifications(licenseSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -2922,7 +2921,7 @@ public open class CfnInstance( * @param monitoring Specifies whether detailed monitoring is enabled for the instance. */ override fun monitoring(monitoring: IResolvable) { - cdkBuilder.monitoring(monitoring.let(IResolvable::unwrap)) + cdkBuilder.monitoring(monitoring.let(IResolvable.Companion::unwrap)) } /** @@ -2942,7 +2941,7 @@ public open class CfnInstance( * @param networkInterfaces The network interfaces to associate with the instance. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -3003,7 +3002,7 @@ public open class CfnInstance( * @param privateDnsNameOptions The options for the instance hostname. */ override fun privateDnsNameOptions(privateDnsNameOptions: IResolvable) { - cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(IResolvable::unwrap)) + cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3013,7 +3012,7 @@ public open class CfnInstance( * @param privateDnsNameOptions The options for the instance hostname. */ override fun privateDnsNameOptions(privateDnsNameOptions: PrivateDnsNameOptionsProperty) { - cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(PrivateDnsNameOptionsProperty::unwrap)) + cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(PrivateDnsNameOptionsProperty.Companion::unwrap)) } /** @@ -3081,7 +3080,7 @@ public open class CfnInstance( * to all of the volumes attached to the instance at launch. */ override fun propagateTagsToVolumeOnCreation(propagateTagsToVolumeOnCreation: IResolvable) { - cdkBuilder.propagateTagsToVolumeOnCreation(propagateTagsToVolumeOnCreation.let(IResolvable::unwrap)) + cdkBuilder.propagateTagsToVolumeOnCreation(propagateTagsToVolumeOnCreation.let(IResolvable.Companion::unwrap)) } /** @@ -3199,7 +3198,7 @@ public open class CfnInstance( * instance is either the source or the destination of any traffic that it receives. */ override fun sourceDestCheck(sourceDestCheck: IResolvable) { - cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable::unwrap)) + cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable.Companion::unwrap)) } /** @@ -3225,7 +3224,7 @@ public open class CfnInstance( * in the *AWS Systems Manager User Guide* . */ override fun ssmAssociations(ssmAssociations: IResolvable) { - cdkBuilder.ssmAssociations(ssmAssociations.let(IResolvable::unwrap)) + cdkBuilder.ssmAssociations(ssmAssociations.let(IResolvable.Companion::unwrap)) } /** @@ -3303,7 +3302,7 @@ public open class CfnInstance( * @param tags The tags to add to the instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -3356,7 +3355,7 @@ public open class CfnInstance( * @param volumes The volumes to attach to the instance. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -3760,7 +3759,7 @@ public open class CfnInstance( * . */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** @@ -3774,7 +3773,7 @@ public open class CfnInstance( * . */ override fun ebs(ebs: EbsProperty) { - cdkBuilder.ebs(ebs.let(EbsProperty::unwrap)) + cdkBuilder.ebs(ebs.let(EbsProperty.Companion::unwrap)) } /** @@ -3799,7 +3798,7 @@ public open class CfnInstance( * . */ override fun noDevice(noDevice: IResolvable) { - cdkBuilder.noDevice(noDevice.let(IResolvable::unwrap)) + cdkBuilder.noDevice(noDevice.let(IResolvable.Companion::unwrap)) } /** @@ -3810,7 +3809,7 @@ public open class CfnInstance( * . */ override fun noDevice(noDevice: NoDeviceProperty) { - cdkBuilder.noDevice(noDevice.let(NoDeviceProperty::unwrap)) + cdkBuilder.noDevice(noDevice.let(NoDeviceProperty.Companion::unwrap)) } /** @@ -4521,7 +4520,7 @@ public open class CfnInstance( * in the *Amazon EC2 User Guide* . */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -4565,7 +4564,7 @@ public open class CfnInstance( * . */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -5147,7 +5146,7 @@ public open class CfnInstance( * otherwise, it is not enabled for AWS Nitro Enclaves. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.CfnInstance.EnclaveOptionsProperty = @@ -5298,7 +5297,7 @@ public open class CfnInstance( * Default: `false` */ override fun configured(configured: IResolvable) { - cdkBuilder.configured(configured.let(IResolvable::unwrap)) + cdkBuilder.configured(configured.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.CfnInstance.HibernationOptionsProperty @@ -5444,9 +5443,7 @@ public open class CfnInstance( * [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) * and [Create a launch * template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template) - * in the *Amazon EC2 User Guide* . - * - * For example launch templates, see the + * in the *Amazon EC2 User Guide* . For example launch templates, see the * [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate--examples) * for `AWS::EC2::LaunchTemplate` . * @@ -5471,7 +5468,7 @@ public open class CfnInstance( /** * The ID of the launch template. * - * You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-launchtemplatespecification.html#cfn-ec2-instance-launchtemplatespecification-launchtemplateid) */ @@ -5480,19 +5477,20 @@ public open class CfnInstance( /** * The name of the launch template. * - * You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-launchtemplatespecification.html#cfn-ec2-instance-launchtemplatespecification-launchtemplatename) */ public fun launchTemplateName(): String? = unwrap(this).getLaunchTemplateName() /** - * The version number of the launch template. + * The version number of the launch template. You must specify this property. * - * Specifying `$Latest` or `$Default` for the template version number is not supported. However, - * you can specify `LatestVersionNumber` or `DefaultVersionNumber` using the `Fn::GetAtt` intrinsic - * function. For more information, see - * [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) + * To specify the default version of the template, use the `Fn::GetAtt` intrinsic function to + * retrieve the `DefaultVersionNumber` attribute of the launch template. To specify the latest + * version of the template, use `Fn::GetAtt` to retrieve the `LatestVersionNumber` attribute. For + * more information, see [AWS::EC2:LaunchTemplate return values for + * Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-launchtemplatespecification.html#cfn-ec2-instance-launchtemplatespecification-version) @@ -5506,22 +5504,23 @@ public open class CfnInstance( public interface Builder { /** * @param launchTemplateId The ID of the launch template. - * You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. */ public fun launchTemplateId(launchTemplateId: String) /** * @param launchTemplateName The name of the launch template. - * You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. */ public fun launchTemplateName(launchTemplateName: String) /** - * @param version The version number of the launch template. - * Specifying `$Latest` or `$Default` for the template version number is not supported. - * However, you can specify `LatestVersionNumber` or `DefaultVersionNumber` using the - * `Fn::GetAtt` intrinsic function. For more information, see - * [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) + * @param version The version number of the launch template. You must specify this property. + * To specify the default version of the template, use the `Fn::GetAtt` intrinsic function to + * retrieve the `DefaultVersionNumber` attribute of the launch template. To specify the latest + * version of the template, use `Fn::GetAtt` to retrieve the `LatestVersionNumber` attribute. For + * more information, see [AWS::EC2:LaunchTemplate return values for + * Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) * . */ public fun version(version: String) @@ -5535,7 +5534,7 @@ public open class CfnInstance( /** * @param launchTemplateId The ID of the launch template. - * You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. */ override fun launchTemplateId(launchTemplateId: String) { cdkBuilder.launchTemplateId(launchTemplateId) @@ -5543,18 +5542,19 @@ public open class CfnInstance( /** * @param launchTemplateName The name of the launch template. - * You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. */ override fun launchTemplateName(launchTemplateName: String) { cdkBuilder.launchTemplateName(launchTemplateName) } /** - * @param version The version number of the launch template. - * Specifying `$Latest` or `$Default` for the template version number is not supported. - * However, you can specify `LatestVersionNumber` or `DefaultVersionNumber` using the - * `Fn::GetAtt` intrinsic function. For more information, see - * [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) + * @param version The version number of the launch template. You must specify this property. + * To specify the default version of the template, use the `Fn::GetAtt` intrinsic function to + * retrieve the `DefaultVersionNumber` attribute of the launch template. To specify the latest + * version of the template, use `Fn::GetAtt` to retrieve the `LatestVersionNumber` attribute. For + * more information, see [AWS::EC2:LaunchTemplate return values for + * Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) * . */ override fun version(version: String) { @@ -5572,7 +5572,7 @@ public open class CfnInstance( /** * The ID of the launch template. * - * You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-launchtemplatespecification.html#cfn-ec2-instance-launchtemplatespecification-launchtemplateid) */ @@ -5581,19 +5581,20 @@ public open class CfnInstance( /** * The name of the launch template. * - * You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both. + * You must specify either the launch template ID or the launch template name, but not both. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-launchtemplatespecification.html#cfn-ec2-instance-launchtemplatespecification-launchtemplatename) */ override fun launchTemplateName(): String? = unwrap(this).getLaunchTemplateName() /** - * The version number of the launch template. + * The version number of the launch template. You must specify this property. * - * Specifying `$Latest` or `$Default` for the template version number is not supported. - * However, you can specify `LatestVersionNumber` or `DefaultVersionNumber` using the - * `Fn::GetAtt` intrinsic function. For more information, see - * [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) + * To specify the default version of the template, use the `Fn::GetAtt` intrinsic function to + * retrieve the `DefaultVersionNumber` attribute of the launch template. To specify the latest + * version of the template, use `Fn::GetAtt` to retrieve the `LatestVersionNumber` attribute. For + * more information, see [AWS::EC2:LaunchTemplate return values for + * Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) * . * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-launchtemplatespecification.html#cfn-ec2-instance-launchtemplatespecification-version) @@ -6080,7 +6081,7 @@ public open class CfnInstance( * in the *AWS Wavelength Developer Guide* . */ override fun associateCarrierIpAddress(associateCarrierIpAddress: IResolvable) { - cdkBuilder.associateCarrierIpAddress(associateCarrierIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associateCarrierIpAddress(associateCarrierIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -6110,7 +6111,7 @@ public open class CfnInstance( * Address* tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -6128,7 +6129,7 @@ public open class CfnInstance( * Applies only if creating a network interface when launching an instance. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -6181,7 +6182,7 @@ public open class CfnInstance( * to launch. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -6225,7 +6226,7 @@ public open class CfnInstance( * Only one private IPv4 address can be designated as primary. */ override fun privateIpAddresses(privateIpAddresses: IResolvable) { - cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable::unwrap)) + cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -6608,7 +6609,7 @@ public open class CfnInstance( * *Amazon Elastic Compute Cloud User Guide* . */ override fun enableResourceNameDnsARecord(enableResourceNameDnsARecord: IResolvable) { - cdkBuilder.enableResourceNameDnsARecord(enableResourceNameDnsARecord.let(IResolvable::unwrap)) + cdkBuilder.enableResourceNameDnsARecord(enableResourceNameDnsARecord.let(IResolvable.Companion::unwrap)) } /** @@ -6630,7 +6631,7 @@ public open class CfnInstance( * *Amazon Elastic Compute Cloud User Guide* . */ override fun enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord: IResolvable) { - cdkBuilder.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.let(IResolvable::unwrap)) + cdkBuilder.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.let(IResolvable.Companion::unwrap)) } /** @@ -6792,7 +6793,7 @@ public open class CfnInstance( * Only one IPv4 address can be designated as primary. */ override fun primary(primary: IResolvable) { - cdkBuilder.primary(primary.let(IResolvable::unwrap)) + cdkBuilder.primary(primary.let(IResolvable.Companion::unwrap)) } /** @@ -6926,7 +6927,7 @@ public open class CfnInstance( * document. */ override fun associationParameters(associationParameters: IResolvable) { - cdkBuilder.associationParameters(associationParameters.let(IResolvable::unwrap)) + cdkBuilder.associationParameters(associationParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6991,6 +6992,109 @@ public open class CfnInstance( } } + /** + * The current state of the instance. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.ec2.*; + * StateProperty stateProperty = StateProperty.builder() + * .code("code") + * .name("name") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html) + */ + public interface StateProperty { + /** + * The state of the instance as a 16-bit unsigned integer. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-code) + */ + public fun code(): String? = unwrap(this).getCode() + + /** + * The current state of the instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-name) + */ + public fun name(): String? = unwrap(this).getName() + + /** + * A builder for [StateProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param code The state of the instance as a 16-bit unsigned integer. + */ + public fun code(code: String) + + /** + * @param name The current state of the instance. + */ + public fun name(name: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.ec2.CfnInstance.StateProperty.Builder + = software.amazon.awscdk.services.ec2.CfnInstance.StateProperty.builder() + + /** + * @param code The state of the instance as a 16-bit unsigned integer. + */ + override fun code(code: String) { + cdkBuilder.code(code) + } + + /** + * @param name The current state of the instance. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + public fun build(): software.amazon.awscdk.services.ec2.CfnInstance.StateProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.ec2.CfnInstance.StateProperty, + ) : CdkObject(cdkObject), StateProperty { + /** + * The state of the instance as a 16-bit unsigned integer. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-code) + */ + override fun code(): String? = unwrap(this).getCode() + + /** + * The current state of the instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-name) + */ + override fun name(): String? = unwrap(this).getName() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): StateProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.CfnInstance.StateProperty): + StateProperty = CdkObjectWrappers.wrap(cdkObject) as? StateProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: StateProperty): + software.amazon.awscdk.services.ec2.CfnInstance.StateProperty = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.ec2.CfnInstance.StateProperty + } + } + /** * Specifies a volume to attach to an instance. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpoint.kt index bc418589dc..a007fff2de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpoint.kt @@ -57,8 +57,8 @@ public open class CfnInstanceConnectEndpoint( id: String, props: CfnInstanceConnectEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.CfnInstanceConnectEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceConnectEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnInstanceConnectEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceConnectEndpointProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnInstanceConnectEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnInstanceConnectEndpoint( * The value is `true` or `false` . */ public open fun preserveClientIp(`value`: IResolvable) { - unwrap(this).setPreserveClientIp(`value`.let(IResolvable::unwrap)) + unwrap(this).setPreserveClientIp(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnInstanceConnectEndpoint( * The tags to apply to the EC2 Instance Connect Endpoint during creation. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnInstanceConnectEndpoint( * source. The value is `true` or `false` . */ override fun preserveClientIp(preserveClientIp: IResolvable) { - cdkBuilder.preserveClientIp(preserveClientIp.let(IResolvable::unwrap)) + cdkBuilder.preserveClientIp(preserveClientIp.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnInstanceConnectEndpoint( * @param tags The tags to apply to the EC2 Instance Connect Endpoint during creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpointProps.kt index 72339403d2..2f5353a911 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceConnectEndpointProps.kt @@ -182,7 +182,7 @@ public interface CfnInstanceConnectEndpointProps { * Default: `true` */ override fun preserveClientIp(preserveClientIp: IResolvable) { - cdkBuilder.preserveClientIp(preserveClientIp.let(IResolvable::unwrap)) + cdkBuilder.preserveClientIp(preserveClientIp.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface CfnInstanceConnectEndpointProps { * @param tags The tags to apply to the EC2 Instance Connect Endpoint during creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceProps.kt index baa23511c7..ddde608e58 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInstanceProps.kt @@ -428,10 +428,10 @@ public interface CfnInstanceProps { public fun keyName(): String? = unwrap(this).getKeyName() /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same parameters - * in the launch template. You can specify either the name or ID of a launch template, but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) */ @@ -1072,26 +1072,23 @@ public interface CfnInstanceProps { public fun keyName(keyName: String) /** - * @param launchTemplate The launch template to use to launch the instances. - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * @param launchTemplate The launch template. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. */ public fun launchTemplate(launchTemplate: IResolvable) /** - * @param launchTemplate The launch template to use to launch the instances. - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * @param launchTemplate The launch template. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. */ public fun launchTemplate(launchTemplate: CfnInstance.LaunchTemplateSpecificationProperty) /** - * @param launchTemplate The launch template to use to launch the instances. - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * @param launchTemplate The launch template. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e326118898904f1199750eeee8062e3036ec75ce7993b39f7c062ee9a576a10f") @@ -1454,7 +1451,7 @@ public interface CfnInstanceProps { * . */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1501,7 +1498,7 @@ public interface CfnInstanceProps { * *Amazon Elastic Compute Cloud User Guide* . */ override fun cpuOptions(cpuOptions: IResolvable) { - cdkBuilder.cpuOptions(cpuOptions.let(IResolvable::unwrap)) + cdkBuilder.cpuOptions(cpuOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1511,7 +1508,7 @@ public interface CfnInstanceProps { * *Amazon Elastic Compute Cloud User Guide* . */ override fun cpuOptions(cpuOptions: CfnInstance.CpuOptionsProperty) { - cdkBuilder.cpuOptions(cpuOptions.let(CfnInstance.CpuOptionsProperty::unwrap)) + cdkBuilder.cpuOptions(cpuOptions.let(CfnInstance.CpuOptionsProperty.Companion::unwrap)) } /** @@ -1539,7 +1536,7 @@ public interface CfnInstanceProps { * For T3 instances with `host` tenancy, only `standard` is supported. */ override fun creditSpecification(creditSpecification: IResolvable) { - cdkBuilder.creditSpecification(creditSpecification.let(IResolvable::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1556,7 +1553,7 @@ public interface CfnInstanceProps { * For T3 instances with `host` tenancy, only `standard` is supported. */ override fun creditSpecification(creditSpecification: CfnInstance.CreditSpecificationProperty) { - cdkBuilder.creditSpecification(creditSpecification.let(CfnInstance.CreditSpecificationProperty::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CfnInstance.CreditSpecificationProperty.Companion::unwrap)) } /** @@ -1603,7 +1600,7 @@ public interface CfnInstanceProps { * Default: `false` */ override fun disableApiTermination(disableApiTermination: IResolvable) { - cdkBuilder.disableApiTermination(disableApiTermination.let(IResolvable::unwrap)) + cdkBuilder.disableApiTermination(disableApiTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1627,7 +1624,7 @@ public interface CfnInstanceProps { * Default: `false` */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -1636,7 +1633,7 @@ public interface CfnInstanceProps { * Amazon Elastic Graphics reached end of life on January 8, 2024. */ override fun elasticGpuSpecifications(elasticGpuSpecifications: IResolvable) { - cdkBuilder.elasticGpuSpecifications(elasticGpuSpecifications.let(IResolvable::unwrap)) + cdkBuilder.elasticGpuSpecifications(elasticGpuSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -1665,7 +1662,7 @@ public interface CfnInstanceProps { * FAQs](https://docs.aws.amazon.com/machine-learning/elastic-inference/faqs/) . */ override fun elasticInferenceAccelerators(elasticInferenceAccelerators: IResolvable) { - cdkBuilder.elasticInferenceAccelerators(elasticInferenceAccelerators.let(IResolvable::unwrap)) + cdkBuilder.elasticInferenceAccelerators(elasticInferenceAccelerators.let(IResolvable.Companion::unwrap)) } /** @@ -1695,14 +1692,14 @@ public interface CfnInstanceProps { * @param enclaveOptions Indicates whether the instance is enabled for AWS Nitro Enclaves. */ override fun enclaveOptions(enclaveOptions: IResolvable) { - cdkBuilder.enclaveOptions(enclaveOptions.let(IResolvable::unwrap)) + cdkBuilder.enclaveOptions(enclaveOptions.let(IResolvable.Companion::unwrap)) } /** * @param enclaveOptions Indicates whether the instance is enabled for AWS Nitro Enclaves. */ override fun enclaveOptions(enclaveOptions: CfnInstance.EnclaveOptionsProperty) { - cdkBuilder.enclaveOptions(enclaveOptions.let(CfnInstance.EnclaveOptionsProperty::unwrap)) + cdkBuilder.enclaveOptions(enclaveOptions.let(CfnInstance.EnclaveOptionsProperty.Companion::unwrap)) } /** @@ -1725,7 +1722,7 @@ public interface CfnInstanceProps { * You can't enable hibernation and AWS Nitro Enclaves on the same instance. */ override fun hibernationOptions(hibernationOptions: IResolvable) { - cdkBuilder.hibernationOptions(hibernationOptions.let(IResolvable::unwrap)) + cdkBuilder.hibernationOptions(hibernationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1739,7 +1736,7 @@ public interface CfnInstanceProps { * You can't enable hibernation and AWS Nitro Enclaves on the same instance. */ override fun hibernationOptions(hibernationOptions: CfnInstance.HibernationOptionsProperty) { - cdkBuilder.hibernationOptions(hibernationOptions.let(CfnInstance.HibernationOptionsProperty::unwrap)) + cdkBuilder.hibernationOptions(hibernationOptions.let(CfnInstance.HibernationOptionsProperty.Companion::unwrap)) } /** @@ -1845,7 +1842,7 @@ public interface CfnInstanceProps { * You cannot specify this option and the network interfaces option in the same request. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -1898,30 +1895,27 @@ public interface CfnInstanceProps { } /** - * @param launchTemplate The launch template to use to launch the instances. - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * @param launchTemplate The launch template. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** - * @param launchTemplate The launch template to use to launch the instances. - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * @param launchTemplate The launch template. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. */ override fun launchTemplate(launchTemplate: CfnInstance.LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(CfnInstance.LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(CfnInstance.LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** - * @param launchTemplate The launch template to use to launch the instances. - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * @param launchTemplate The launch template. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e326118898904f1199750eeee8062e3036ec75ce7993b39f7c062ee9a576a10f") @@ -1933,7 +1927,7 @@ public interface CfnInstanceProps { * @param licenseSpecifications The license configurations. */ override fun licenseSpecifications(licenseSpecifications: IResolvable) { - cdkBuilder.licenseSpecifications(licenseSpecifications.let(IResolvable::unwrap)) + cdkBuilder.licenseSpecifications(licenseSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -1968,7 +1962,7 @@ public interface CfnInstanceProps { * *Amazon EC2 User Guide* . */ override fun monitoring(monitoring: IResolvable) { - cdkBuilder.monitoring(monitoring.let(IResolvable::unwrap)) + cdkBuilder.monitoring(monitoring.let(IResolvable.Companion::unwrap)) } /** @@ -1983,7 +1977,7 @@ public interface CfnInstanceProps { * to declare a dependency on the VPC-gateway attachment. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -2027,7 +2021,7 @@ public interface CfnInstanceProps { * @param privateDnsNameOptions The options for the instance hostname. */ override fun privateDnsNameOptions(privateDnsNameOptions: IResolvable) { - cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(IResolvable::unwrap)) + cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2035,7 +2029,7 @@ public interface CfnInstanceProps { */ override fun privateDnsNameOptions(privateDnsNameOptions: CfnInstance.PrivateDnsNameOptionsProperty) { - cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(CfnInstance.PrivateDnsNameOptionsProperty::unwrap)) + cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(CfnInstance.PrivateDnsNameOptionsProperty.Companion::unwrap)) } /** @@ -2087,7 +2081,7 @@ public interface CfnInstanceProps { * , those tags are not assigned to the attached volumes. */ override fun propagateTagsToVolumeOnCreation(propagateTagsToVolumeOnCreation: IResolvable) { - cdkBuilder.propagateTagsToVolumeOnCreation(propagateTagsToVolumeOnCreation.let(IResolvable::unwrap)) + cdkBuilder.propagateTagsToVolumeOnCreation(propagateTagsToVolumeOnCreation.let(IResolvable.Companion::unwrap)) } /** @@ -2172,7 +2166,7 @@ public interface CfnInstanceProps { * services such as network address translation, routing, or firewalls. */ override fun sourceDestCheck(sourceDestCheck: IResolvable) { - cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable::unwrap)) + cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable.Companion::unwrap)) } /** @@ -2187,7 +2181,7 @@ public interface CfnInstanceProps { * You can associate only one document with an instance. */ override fun ssmAssociations(ssmAssociations: IResolvable) { - cdkBuilder.ssmAssociations(ssmAssociations.let(IResolvable::unwrap)) + cdkBuilder.ssmAssociations(ssmAssociations.let(IResolvable.Companion::unwrap)) } /** @@ -2235,7 +2229,7 @@ public interface CfnInstanceProps { * is `true` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2273,7 +2267,7 @@ public interface CfnInstanceProps { * @param volumes The volumes to attach to the instance. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -2579,11 +2573,10 @@ public interface CfnInstanceProps { override fun keyName(): String? = unwrap(this).getKeyName() /** - * The launch template to use to launch the instances. + * The launch template. * - * Any parameters that you specify in the AWS CloudFormation template override the same - * parameters in the launch template. You can specify either the name or ID of a launch template, - * but not both. + * Any additional parameters that you specify for the new instance overwrite the corresponding + * parameters included in the launch template. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGateway.kt index 14caecd499..69ce26024c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGateway.kt @@ -41,7 +41,7 @@ public open class CfnInternetGateway( cdkObject: software.amazon.awscdk.services.ec2.CfnInternetGateway, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnInternetGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnInternetGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class CfnInternetGateway( id: String, props: CfnInternetGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnInternetGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInternetGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnInternetGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInternetGatewayProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnInternetGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public open class CfnInternetGateway( * Any tags to assign to the internet gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnInternetGateway( * @param tags Any tags to assign to the internet gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGatewayProps.kt index 4f1251ea4f..64f1dfcec1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnInternetGatewayProps.kt @@ -60,7 +60,7 @@ public interface CfnInternetGatewayProps { * @param tags Any tags to assign to the internet gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPair.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPair.kt index 78fd7c0766..2cd9ec268a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPair.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPair.kt @@ -63,8 +63,8 @@ public open class CfnKeyPair( id: String, props: CfnKeyPairProps, ) : - this(software.amazon.awscdk.services.ec2.CfnKeyPair(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKeyPairProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnKeyPair(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeyPairProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnKeyPair( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnKeyPair( * The tags to apply to the key pair. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnKeyPair( * @param tags The tags to apply to the key pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPairProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPairProps.kt index fb862d7212..5ff34c8b61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPairProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnKeyPairProps.kt @@ -176,7 +176,7 @@ public interface CfnKeyPairProps { * @param tags The tags to apply to the key pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplate.kt index cdb3a4b8a5..34b633ac9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplate.kt @@ -26,8 +26,8 @@ import software.constructs.Construct as SoftwareConstructsConstruct * The minimum required properties for specifying a launch template are as follows: * * * You must specify at least one property for the launch template data. - * * You do not need to specify a name for the launch template. If you do not specify a name, AWS - * CloudFormation creates the name for you. + * * You can optionally specify a name for the launch template. If you do not specify a name, AWS + * CloudFormation creates a name for you. * * A launch template can contain some or all of the configuration information to launch an instance. * When you launch an instance using a launch template, instance properties that are not specified in @@ -71,8 +71,8 @@ public open class CfnLaunchTemplate( id: String, props: CfnLaunchTemplateProps, ) : - this(software.amazon.awscdk.services.ec2.CfnLaunchTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchTemplateProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnLaunchTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchTemplateProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnLaunchTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -119,14 +119,14 @@ public open class CfnLaunchTemplate( * The information for the launch template. */ public open fun launchTemplateData(`value`: IResolvable) { - unwrap(this).setLaunchTemplateData(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchTemplateData(`value`.let(IResolvable.Companion::unwrap)) } /** * The information for the launch template. */ public open fun launchTemplateData(`value`: LaunchTemplateDataProperty) { - unwrap(this).setLaunchTemplateData(`value`.let(LaunchTemplateDataProperty::unwrap)) + unwrap(this).setLaunchTemplateData(`value`.let(LaunchTemplateDataProperty.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnLaunchTemplate( * The tags to apply to the launch template on creation. */ public open fun tagSpecifications(`value`: IResolvable) { - unwrap(this).setTagSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setTagSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnLaunchTemplate( * @param launchTemplateData The information for the launch template. */ override fun launchTemplateData(launchTemplateData: IResolvable) { - cdkBuilder.launchTemplateData(launchTemplateData.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateData(launchTemplateData.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnLaunchTemplate( * @param launchTemplateData The information for the launch template. */ override fun launchTemplateData(launchTemplateData: LaunchTemplateDataProperty) { - cdkBuilder.launchTemplateData(launchTemplateData.let(LaunchTemplateDataProperty::unwrap)) + cdkBuilder.launchTemplateData(launchTemplateData.let(LaunchTemplateDataProperty.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnLaunchTemplate( * @param tagSpecifications The tags to apply to the launch template on creation. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -916,7 +916,7 @@ public open class CfnLaunchTemplate( * launched. */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** @@ -924,7 +924,7 @@ public open class CfnLaunchTemplate( * launched. */ override fun ebs(ebs: EbsProperty) { - cdkBuilder.ebs(ebs.let(EbsProperty::unwrap)) + cdkBuilder.ebs(ebs.let(EbsProperty.Companion::unwrap)) } /** @@ -1121,7 +1121,7 @@ public open class CfnLaunchTemplate( * Capacity Reservation group. */ override fun capacityReservationTarget(capacityReservationTarget: IResolvable) { - cdkBuilder.capacityReservationTarget(capacityReservationTarget.let(IResolvable::unwrap)) + cdkBuilder.capacityReservationTarget(capacityReservationTarget.let(IResolvable.Companion::unwrap)) } /** @@ -1130,7 +1130,7 @@ public open class CfnLaunchTemplate( */ override fun capacityReservationTarget(capacityReservationTarget: CapacityReservationTargetProperty) { - cdkBuilder.capacityReservationTarget(capacityReservationTarget.let(CapacityReservationTargetProperty::unwrap)) + cdkBuilder.capacityReservationTarget(capacityReservationTarget.let(CapacityReservationTargetProperty.Companion::unwrap)) } /** @@ -1970,7 +1970,7 @@ public open class CfnLaunchTemplate( * termination. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1988,7 +1988,7 @@ public open class CfnLaunchTemplate( * you are creating a volume from a snapshot, you can't specify an encryption value. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -2381,21 +2381,21 @@ public open class CfnLaunchTemplate( * @param enaSrdEnabled Indicates whether ENA Express is enabled for the network interface. */ override fun enaSrdEnabled(enaSrdEnabled: IResolvable) { - cdkBuilder.enaSrdEnabled(enaSrdEnabled.let(IResolvable::unwrap)) + cdkBuilder.enaSrdEnabled(enaSrdEnabled.let(IResolvable.Companion::unwrap)) } /** * @param enaSrdUdpSpecification Configures ENA Express for UDP network traffic. */ override fun enaSrdUdpSpecification(enaSrdUdpSpecification: IResolvable) { - cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(IResolvable::unwrap)) + cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(IResolvable.Companion::unwrap)) } /** * @param enaSrdUdpSpecification Configures ENA Express for UDP network traffic. */ override fun enaSrdUdpSpecification(enaSrdUdpSpecification: EnaSrdUdpSpecificationProperty) { - cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(EnaSrdUdpSpecificationProperty::unwrap)) + cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(EnaSrdUdpSpecificationProperty.Companion::unwrap)) } /** @@ -2521,7 +2521,7 @@ public open class CfnLaunchTemplate( * To specify this setting, you must first enable ENA Express. */ override fun enaSrdUdpEnabled(enaSrdUdpEnabled: IResolvable) { - cdkBuilder.enaSrdUdpEnabled(enaSrdUdpEnabled.let(IResolvable::unwrap)) + cdkBuilder.enaSrdUdpEnabled(enaSrdUdpEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2626,7 +2626,7 @@ public open class CfnLaunchTemplate( * otherwise, it is not enabled for AWS Nitro Enclaves. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2741,7 +2741,7 @@ public open class CfnLaunchTemplate( * Default: `false` */ override fun configured(configured: IResolvable) { - cdkBuilder.configured(configured.let(IResolvable::unwrap)) + cdkBuilder.configured(configured.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2985,14 +2985,14 @@ public open class CfnLaunchTemplate( * @param spotOptions The options for Spot Instances. */ override fun spotOptions(spotOptions: IResolvable) { - cdkBuilder.spotOptions(spotOptions.let(IResolvable::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(IResolvable.Companion::unwrap)) } /** * @param spotOptions The options for Spot Instances. */ override fun spotOptions(spotOptions: SpotOptionsProperty) { - cdkBuilder.spotOptions(spotOptions.let(SpotOptionsProperty::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(SpotOptionsProperty.Companion::unwrap)) } /** @@ -4176,7 +4176,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: IResolvable) { - cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable.Companion::unwrap)) } /** @@ -4187,7 +4187,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: AcceleratorCountProperty) { - cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountProperty::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountProperty.Companion::unwrap)) } /** @@ -4278,7 +4278,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: IResolvable) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable.Companion::unwrap)) } /** @@ -4288,7 +4288,7 @@ public open class CfnLaunchTemplate( */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: AcceleratorTotalMemoryMiBProperty) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBProperty::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBProperty.Companion::unwrap)) } /** @@ -4392,7 +4392,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: IResolvable) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable.Companion::unwrap)) } /** @@ -4406,7 +4406,7 @@ public open class CfnLaunchTemplate( */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: BaselineEbsBandwidthMbpsProperty) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsProperty::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsProperty.Companion::unwrap)) } /** @@ -4625,7 +4625,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: IResolvable) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable.Companion::unwrap)) } /** @@ -4633,7 +4633,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: MemoryGiBPerVCpuProperty) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuProperty::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuProperty.Companion::unwrap)) } /** @@ -4649,14 +4649,14 @@ public open class CfnLaunchTemplate( * @param memoryMiB The minimum and maximum amount of memory, in MiB. */ override fun memoryMiB(memoryMiB: IResolvable) { - cdkBuilder.memoryMiB(memoryMiB.let(IResolvable::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(IResolvable.Companion::unwrap)) } /** * @param memoryMiB The minimum and maximum amount of memory, in MiB. */ override fun memoryMiB(memoryMiB: MemoryMiBProperty) { - cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBProperty::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBProperty.Companion::unwrap)) } /** @@ -4673,7 +4673,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: IResolvable) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable.Companion::unwrap)) } /** @@ -4682,7 +4682,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: NetworkBandwidthGbpsProperty) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsProperty::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsProperty.Companion::unwrap)) } /** @@ -4701,7 +4701,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun networkInterfaceCount(networkInterfaceCount: IResolvable) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable.Companion::unwrap)) } /** @@ -4709,7 +4709,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun networkInterfaceCount(networkInterfaceCount: NetworkInterfaceCountProperty) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountProperty::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountProperty.Companion::unwrap)) } /** @@ -4775,7 +4775,7 @@ public open class CfnLaunchTemplate( * Default: `false` */ override fun requireHibernateSupport(requireHibernateSupport: IResolvable) { - cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable::unwrap)) + cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable.Companion::unwrap)) } /** @@ -4822,7 +4822,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: IResolvable) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable.Companion::unwrap)) } /** @@ -4830,7 +4830,7 @@ public open class CfnLaunchTemplate( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: TotalLocalStorageGBProperty) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBProperty::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBProperty.Companion::unwrap)) } /** @@ -4847,14 +4847,14 @@ public open class CfnLaunchTemplate( * @param vCpuCount The minimum and maximum number of vCPUs. */ override fun vCpuCount(vCpuCount: IResolvable) { - cdkBuilder.vCpuCount(vCpuCount.let(IResolvable::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(IResolvable.Companion::unwrap)) } /** * @param vCpuCount The minimum and maximum number of vCPUs. */ override fun vCpuCount(vCpuCount: VCpuCountProperty) { - cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountProperty::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountProperty.Companion::unwrap)) } /** @@ -6959,7 +6959,7 @@ public open class CfnLaunchTemplate( * @param blockDeviceMappings The block device mapping. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -6982,7 +6982,7 @@ public open class CfnLaunchTemplate( * matching attributes (instance type, platform, Availability Zone). */ override fun capacityReservationSpecification(capacityReservationSpecification: IResolvable) { - cdkBuilder.capacityReservationSpecification(capacityReservationSpecification.let(IResolvable::unwrap)) + cdkBuilder.capacityReservationSpecification(capacityReservationSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -6993,7 +6993,7 @@ public open class CfnLaunchTemplate( */ override fun capacityReservationSpecification(capacityReservationSpecification: CapacityReservationSpecificationProperty) { - cdkBuilder.capacityReservationSpecification(capacityReservationSpecification.let(CapacityReservationSpecificationProperty::unwrap)) + cdkBuilder.capacityReservationSpecification(capacityReservationSpecification.let(CapacityReservationSpecificationProperty.Companion::unwrap)) } /** @@ -7016,7 +7016,7 @@ public open class CfnLaunchTemplate( * the *Amazon Elastic Compute Cloud User Guide* . */ override fun cpuOptions(cpuOptions: IResolvable) { - cdkBuilder.cpuOptions(cpuOptions.let(IResolvable::unwrap)) + cdkBuilder.cpuOptions(cpuOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7026,7 +7026,7 @@ public open class CfnLaunchTemplate( * the *Amazon Elastic Compute Cloud User Guide* . */ override fun cpuOptions(cpuOptions: CpuOptionsProperty) { - cdkBuilder.cpuOptions(cpuOptions.let(CpuOptionsProperty::unwrap)) + cdkBuilder.cpuOptions(cpuOptions.let(CpuOptionsProperty.Companion::unwrap)) } /** @@ -7045,7 +7045,7 @@ public open class CfnLaunchTemplate( * Valid only for T instances. */ override fun creditSpecification(creditSpecification: IResolvable) { - cdkBuilder.creditSpecification(creditSpecification.let(IResolvable::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -7053,7 +7053,7 @@ public open class CfnLaunchTemplate( * Valid only for T instances. */ override fun creditSpecification(creditSpecification: CreditSpecificationProperty) { - cdkBuilder.creditSpecification(creditSpecification.let(CreditSpecificationProperty::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CreditSpecificationProperty.Companion::unwrap)) } /** @@ -7083,7 +7083,7 @@ public open class CfnLaunchTemplate( * in the *Amazon Elastic Compute Cloud User Guide* . */ override fun disableApiStop(disableApiStop: IResolvable) { - cdkBuilder.disableApiStop(disableApiStop.let(IResolvable::unwrap)) + cdkBuilder.disableApiStop(disableApiStop.let(IResolvable.Companion::unwrap)) } /** @@ -7107,7 +7107,7 @@ public open class CfnLaunchTemplate( * terminate the instance by running the shutdown command from the instance. */ override fun disableApiTermination(disableApiTermination: IResolvable) { - cdkBuilder.disableApiTermination(disableApiTermination.let(IResolvable::unwrap)) + cdkBuilder.disableApiTermination(disableApiTermination.let(IResolvable.Companion::unwrap)) } /** @@ -7129,7 +7129,7 @@ public open class CfnLaunchTemplate( * instance. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -7139,7 +7139,7 @@ public open class CfnLaunchTemplate( * graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances. */ override fun elasticGpuSpecifications(elasticGpuSpecifications: IResolvable) { - cdkBuilder.elasticGpuSpecifications(elasticGpuSpecifications.let(IResolvable::unwrap)) + cdkBuilder.elasticGpuSpecifications(elasticGpuSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -7178,7 +7178,7 @@ public open class CfnLaunchTemplate( * current customers and will be able to continue using the service. */ override fun elasticInferenceAccelerators(elasticInferenceAccelerators: IResolvable) { - cdkBuilder.elasticInferenceAccelerators(elasticInferenceAccelerators.let(IResolvable::unwrap)) + cdkBuilder.elasticInferenceAccelerators(elasticInferenceAccelerators.let(IResolvable.Companion::unwrap)) } /** @@ -7229,7 +7229,7 @@ public open class CfnLaunchTemplate( * You can't enable AWS Nitro Enclaves and hibernation on the same instance. */ override fun enclaveOptions(enclaveOptions: IResolvable) { - cdkBuilder.enclaveOptions(enclaveOptions.let(IResolvable::unwrap)) + cdkBuilder.enclaveOptions(enclaveOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7241,7 +7241,7 @@ public open class CfnLaunchTemplate( * You can't enable AWS Nitro Enclaves and hibernation on the same instance. */ override fun enclaveOptions(enclaveOptions: EnclaveOptionsProperty) { - cdkBuilder.enclaveOptions(enclaveOptions.let(EnclaveOptionsProperty::unwrap)) + cdkBuilder.enclaveOptions(enclaveOptions.let(EnclaveOptionsProperty.Companion::unwrap)) } /** @@ -7266,7 +7266,7 @@ public open class CfnLaunchTemplate( * Elastic Compute Cloud User Guide* . */ override fun hibernationOptions(hibernationOptions: IResolvable) { - cdkBuilder.hibernationOptions(hibernationOptions.let(IResolvable::unwrap)) + cdkBuilder.hibernationOptions(hibernationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7278,7 +7278,7 @@ public open class CfnLaunchTemplate( * Elastic Compute Cloud User Guide* . */ override fun hibernationOptions(hibernationOptions: HibernationOptionsProperty) { - cdkBuilder.hibernationOptions(hibernationOptions.let(HibernationOptionsProperty::unwrap)) + cdkBuilder.hibernationOptions(hibernationOptions.let(HibernationOptionsProperty.Companion::unwrap)) } /** @@ -7300,7 +7300,7 @@ public open class CfnLaunchTemplate( * profile. */ override fun iamInstanceProfile(iamInstanceProfile: IResolvable) { - cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IResolvable::unwrap)) + cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IResolvable.Companion::unwrap)) } /** @@ -7308,7 +7308,7 @@ public open class CfnLaunchTemplate( * profile. */ override fun iamInstanceProfile(iamInstanceProfile: IamInstanceProfileProperty) { - cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IamInstanceProfileProperty::unwrap)) + cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IamInstanceProfileProperty.Companion::unwrap)) } /** @@ -7355,14 +7355,14 @@ public open class CfnLaunchTemplate( * @param instanceMarketOptions The market (purchasing) option for the instances. */ override fun instanceMarketOptions(instanceMarketOptions: IResolvable) { - cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(IResolvable::unwrap)) + cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(IResolvable.Companion::unwrap)) } /** * @param instanceMarketOptions The market (purchasing) option for the instances. */ override fun instanceMarketOptions(instanceMarketOptions: InstanceMarketOptionsProperty) { - cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(InstanceMarketOptionsProperty::unwrap)) + cdkBuilder.instanceMarketOptions(instanceMarketOptions.let(InstanceMarketOptionsProperty.Companion::unwrap)) } /** @@ -7417,7 +7417,7 @@ public open class CfnLaunchTemplate( * *Amazon EC2 User Guide* . */ override fun instanceRequirements(instanceRequirements: IResolvable) { - cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -7463,7 +7463,7 @@ public open class CfnLaunchTemplate( * *Amazon EC2 User Guide* . */ override fun instanceRequirements(instanceRequirements: InstanceRequirementsProperty) { - cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsProperty::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsProperty.Companion::unwrap)) } /** @@ -7553,7 +7553,7 @@ public open class CfnLaunchTemplate( * @param licenseSpecifications The license configurations. */ override fun licenseSpecifications(licenseSpecifications: IResolvable) { - cdkBuilder.licenseSpecifications(licenseSpecifications.let(IResolvable::unwrap)) + cdkBuilder.licenseSpecifications(licenseSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -7573,14 +7573,14 @@ public open class CfnLaunchTemplate( * @param maintenanceOptions The maintenance options of your instance. */ override fun maintenanceOptions(maintenanceOptions: IResolvable) { - cdkBuilder.maintenanceOptions(maintenanceOptions.let(IResolvable::unwrap)) + cdkBuilder.maintenanceOptions(maintenanceOptions.let(IResolvable.Companion::unwrap)) } /** * @param maintenanceOptions The maintenance options of your instance. */ override fun maintenanceOptions(maintenanceOptions: MaintenanceOptionsProperty) { - cdkBuilder.maintenanceOptions(maintenanceOptions.let(MaintenanceOptionsProperty::unwrap)) + cdkBuilder.maintenanceOptions(maintenanceOptions.let(MaintenanceOptionsProperty.Companion::unwrap)) } /** @@ -7599,7 +7599,7 @@ public open class CfnLaunchTemplate( * *Amazon Elastic Compute Cloud User Guide* . */ override fun metadataOptions(metadataOptions: IResolvable) { - cdkBuilder.metadataOptions(metadataOptions.let(IResolvable::unwrap)) + cdkBuilder.metadataOptions(metadataOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7609,7 +7609,7 @@ public open class CfnLaunchTemplate( * *Amazon Elastic Compute Cloud User Guide* . */ override fun metadataOptions(metadataOptions: MetadataOptionsProperty) { - cdkBuilder.metadataOptions(metadataOptions.let(MetadataOptionsProperty::unwrap)) + cdkBuilder.metadataOptions(metadataOptions.let(MetadataOptionsProperty.Companion::unwrap)) } /** @@ -7627,14 +7627,14 @@ public open class CfnLaunchTemplate( * @param monitoring The monitoring for the instance. */ override fun monitoring(monitoring: IResolvable) { - cdkBuilder.monitoring(monitoring.let(IResolvable::unwrap)) + cdkBuilder.monitoring(monitoring.let(IResolvable.Companion::unwrap)) } /** * @param monitoring The monitoring for the instance. */ override fun monitoring(monitoring: MonitoringProperty) { - cdkBuilder.monitoring(monitoring.let(MonitoringProperty::unwrap)) + cdkBuilder.monitoring(monitoring.let(MonitoringProperty.Companion::unwrap)) } /** @@ -7649,7 +7649,7 @@ public open class CfnLaunchTemplate( * @param networkInterfaces The network interfaces for the instance. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -7669,14 +7669,14 @@ public open class CfnLaunchTemplate( * @param placement The placement for the instance. */ override fun placement(placement: IResolvable) { - cdkBuilder.placement(placement.let(IResolvable::unwrap)) + cdkBuilder.placement(placement.let(IResolvable.Companion::unwrap)) } /** * @param placement The placement for the instance. */ override fun placement(placement: PlacementProperty) { - cdkBuilder.placement(placement.let(PlacementProperty::unwrap)) + cdkBuilder.placement(placement.let(PlacementProperty.Companion::unwrap)) } /** @@ -7695,7 +7695,7 @@ public open class CfnLaunchTemplate( * *Amazon Elastic Compute Cloud User Guide* . */ override fun privateDnsNameOptions(privateDnsNameOptions: IResolvable) { - cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(IResolvable::unwrap)) + cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7706,7 +7706,7 @@ public open class CfnLaunchTemplate( * *Amazon Elastic Compute Cloud User Guide* . */ override fun privateDnsNameOptions(privateDnsNameOptions: PrivateDnsNameOptionsProperty) { - cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(PrivateDnsNameOptionsProperty::unwrap)) + cdkBuilder.privateDnsNameOptions(privateDnsNameOptions.let(PrivateDnsNameOptionsProperty.Companion::unwrap)) } /** @@ -7787,7 +7787,7 @@ public open class CfnLaunchTemplate( * . */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -8473,7 +8473,7 @@ public open class CfnLaunchTemplate( * @param tags The tags for the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -9326,7 +9326,7 @@ public open class CfnLaunchTemplate( * Otherwise, basic monitoring is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.CfnLaunchTemplate.MonitoringProperty = @@ -9726,6 +9726,10 @@ public open class CfnLaunchTemplate( /** * The device index for the network interface attachment. * + * Each network interface requires a device index. If you create a launch template that includes + * secondary network interfaces but not a primary network interface, then you must add a primary + * network interface as a launch parameter when you launch an instance from the template. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-deviceindex) */ public fun deviceIndex(): Number? = unwrap(this).getDeviceIndex() @@ -9958,6 +9962,9 @@ public open class CfnLaunchTemplate( /** * @param deviceIndex The device index for the network interface attachment. + * Each network interface requires a device index. If you create a launch template that + * includes secondary network interfaces but not a primary network interface, then you must add a + * primary network interface as a launch parameter when you launch an instance from the template. */ public fun deviceIndex(deviceIndex: Number) @@ -10169,7 +10176,7 @@ public open class CfnLaunchTemplate( * in the *AWS Wavelength Developer Guide* . */ override fun associateCarrierIpAddress(associateCarrierIpAddress: IResolvable) { - cdkBuilder.associateCarrierIpAddress(associateCarrierIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associateCarrierIpAddress(associateCarrierIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -10191,7 +10198,7 @@ public open class CfnLaunchTemplate( * Address* tab on the [Amazon VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -10199,7 +10206,7 @@ public open class CfnLaunchTemplate( * interface. */ override fun connectionTrackingSpecification(connectionTrackingSpecification: IResolvable) { - cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(IResolvable::unwrap)) + cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -10208,7 +10215,7 @@ public open class CfnLaunchTemplate( */ override fun connectionTrackingSpecification(connectionTrackingSpecification: ConnectionTrackingSpecificationProperty) { - cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(ConnectionTrackingSpecificationProperty::unwrap)) + cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(ConnectionTrackingSpecificationProperty.Companion::unwrap)) } /** @@ -10235,7 +10242,7 @@ public open class CfnLaunchTemplate( * instance is terminated. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -10247,6 +10254,9 @@ public open class CfnLaunchTemplate( /** * @param deviceIndex The device index for the network interface attachment. + * Each network interface requires a device index. If you create a launch template that + * includes secondary network interfaces but not a primary network interface, then you must add a + * primary network interface as a launch parameter when you launch an instance from the template. */ override fun deviceIndex(deviceIndex: Number) { cdkBuilder.deviceIndex(deviceIndex) @@ -10256,14 +10266,14 @@ public open class CfnLaunchTemplate( * @param enaSrdSpecification The ENA Express configuration for the network interface. */ override fun enaSrdSpecification(enaSrdSpecification: IResolvable) { - cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(IResolvable::unwrap)) + cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(IResolvable.Companion::unwrap)) } /** * @param enaSrdSpecification The ENA Express configuration for the network interface. */ override fun enaSrdSpecification(enaSrdSpecification: EnaSrdSpecificationProperty) { - cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(EnaSrdSpecificationProperty::unwrap)) + cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(EnaSrdSpecificationProperty.Companion::unwrap)) } /** @@ -10315,7 +10325,7 @@ public open class CfnLaunchTemplate( * You cannot use this option if you use the `Ipv4PrefixCount` option. */ override fun ipv4Prefixes(ipv4Prefixes: IResolvable) { - cdkBuilder.ipv4Prefixes(ipv4Prefixes.let(IResolvable::unwrap)) + cdkBuilder.ipv4Prefixes(ipv4Prefixes.let(IResolvable.Companion::unwrap)) } /** @@ -10348,7 +10358,7 @@ public open class CfnLaunchTemplate( * You can't use this option if you're specifying a number of IPv6 addresses. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -10382,7 +10392,7 @@ public open class CfnLaunchTemplate( * You cannot use this option if you use the `Ipv6PrefixCount` option. */ override fun ipv6Prefixes(ipv6Prefixes: IResolvable) { - cdkBuilder.ipv6Prefixes(ipv6Prefixes.let(IResolvable::unwrap)) + cdkBuilder.ipv6Prefixes(ipv6Prefixes.let(IResolvable.Companion::unwrap)) } /** @@ -10435,7 +10445,7 @@ public open class CfnLaunchTemplate( * [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) . */ override fun primaryIpv6(primaryIpv6: IResolvable) { - cdkBuilder.primaryIpv6(primaryIpv6.let(IResolvable::unwrap)) + cdkBuilder.primaryIpv6(primaryIpv6.let(IResolvable.Companion::unwrap)) } /** @@ -10449,7 +10459,7 @@ public open class CfnLaunchTemplate( * @param privateIpAddresses One or more private IPv4 addresses. */ override fun privateIpAddresses(privateIpAddresses: IResolvable) { - cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable::unwrap)) + cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -10537,6 +10547,10 @@ public open class CfnLaunchTemplate( /** * The device index for the network interface attachment. * + * Each network interface requires a device index. If you create a launch template that + * includes secondary network interfaces but not a primary network interface, then you must add a + * primary network interface as a launch parameter when you launch an instance from the template. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-deviceindex) */ override fun deviceIndex(): Number? = unwrap(this).getDeviceIndex() @@ -11149,7 +11163,7 @@ public open class CfnLaunchTemplate( * instance hostnames with DNS A records. */ override fun enableResourceNameDnsARecord(enableResourceNameDnsARecord: IResolvable) { - cdkBuilder.enableResourceNameDnsARecord(enableResourceNameDnsARecord.let(IResolvable::unwrap)) + cdkBuilder.enableResourceNameDnsARecord(enableResourceNameDnsARecord.let(IResolvable.Companion::unwrap)) } /** @@ -11165,7 +11179,7 @@ public open class CfnLaunchTemplate( * instance hostnames with DNS AAAA records. */ override fun enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord: IResolvable) { - cdkBuilder.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.let(IResolvable::unwrap)) + cdkBuilder.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.let(IResolvable.Companion::unwrap)) } /** @@ -11321,7 +11335,7 @@ public open class CfnLaunchTemplate( * Only one IPv4 address can be designated as primary. */ override fun primary(primary: IResolvable) { - cdkBuilder.primary(primary.let(IResolvable::unwrap)) + cdkBuilder.primary(primary.let(IResolvable.Companion::unwrap)) } /** @@ -11750,7 +11764,7 @@ public open class CfnLaunchTemplate( * @param tags The tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplateProps.kt index 648f295626..6ac4954358 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLaunchTemplateProps.kt @@ -150,7 +150,7 @@ public interface CfnLaunchTemplateProps { * @param launchTemplateData The information for the launch template. */ override fun launchTemplateData(launchTemplateData: IResolvable) { - cdkBuilder.launchTemplateData(launchTemplateData.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateData(launchTemplateData.let(IResolvable.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface CfnLaunchTemplateProps { */ override fun launchTemplateData(launchTemplateData: CfnLaunchTemplate.LaunchTemplateDataProperty) { - cdkBuilder.launchTemplateData(launchTemplateData.let(CfnLaunchTemplate.LaunchTemplateDataProperty::unwrap)) + cdkBuilder.launchTemplateData(launchTemplateData.let(CfnLaunchTemplate.LaunchTemplateDataProperty.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface CfnLaunchTemplateProps { * . */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRoute.kt index eda8111e39..eefd59d00b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRoute.kt @@ -44,8 +44,8 @@ public open class CfnLocalGatewayRoute( id: String, props: CfnLocalGatewayRouteProps, ) : - this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocalGatewayRouteProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocalGatewayRouteProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnLocalGatewayRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTable.kt index dad8e62c7c..cc78046949 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTable.kt @@ -46,8 +46,8 @@ public open class CfnLocalGatewayRouteTable( id: String, props: CfnLocalGatewayRouteTableProps, ) : - this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocalGatewayRouteTableProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocalGatewayRouteTableProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnLocalGatewayRouteTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnLocalGatewayRouteTable( * The tags assigned to the local gateway route table. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnLocalGatewayRouteTable( * @param tags The tags assigned to the local gateway route table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableProps.kt index c268db8b68..9d77e47704 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableProps.kt @@ -104,7 +104,7 @@ public interface CfnLocalGatewayRouteTableProps { * @param tags The tags assigned to the local gateway route table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociation.kt index b47de9b43e..47ba7de777 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociation.kt @@ -47,8 +47,8 @@ public open class CfnLocalGatewayRouteTableVPCAssociation( id: String, props: CfnLocalGatewayRouteTableVPCAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTableVPCAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocalGatewayRouteTableVPCAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTableVPCAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocalGatewayRouteTableVPCAssociationProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnLocalGatewayRouteTableVPCAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public open class CfnLocalGatewayRouteTableVPCAssociation( * The tags assigned to the association. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnLocalGatewayRouteTableVPCAssociation( * @param tags The tags assigned to the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociationProps.kt index e35bd01748..2282f49a2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVPCAssociationProps.kt @@ -97,7 +97,7 @@ public interface CfnLocalGatewayRouteTableVPCAssociationProps { * @param tags The tags assigned to the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation.kt index 57aa2d23f4..bda29b1716 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation.kt @@ -48,8 +48,9 @@ public open class CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation( id: String, props: CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + props.let(CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.Companion::unwrap)) ) public constructor( @@ -93,7 +94,7 @@ public open class CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,7 +137,7 @@ public open class CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation( * The tags assigned to the association. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -220,7 +221,7 @@ public open class CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation( * @param tags The tags assigned to the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.kt index 55482e25f1..c4e2611fdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps.kt @@ -106,7 +106,7 @@ public interface CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociationProps * @param tags The tags assigned to the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGateway.kt index 030413f81f..cdf8174199 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGateway.kt @@ -74,8 +74,8 @@ public open class CfnNatGateway( id: String, props: CfnNatGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNatGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNatGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNatGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNatGatewayProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnNatGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnNatGateway( * The tags for the NAT gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public open class CfnNatGateway( * @param tags The tags for the NAT gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGatewayProps.kt index 9135fe7076..5111b65c2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNatGatewayProps.kt @@ -344,7 +344,7 @@ public interface CfnNatGatewayProps { * @param tags The tags for the NAT gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAcl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAcl.kt index b433b92866..5ec7287684 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAcl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAcl.kt @@ -44,8 +44,8 @@ public open class CfnNetworkAcl( id: String, props: CfnNetworkAclProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkAcl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkAclProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkAcl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkAclProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class CfnNetworkAcl( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public open class CfnNetworkAcl( * The tags for the network ACL. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnNetworkAcl( * @param tags The tags for the network ACL. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntry.kt index 603be656f6..6e7e5343b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntry.kt @@ -64,8 +64,8 @@ public open class CfnNetworkAclEntry( id: String, props: CfnNetworkAclEntryProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkAclEntry(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkAclEntryProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkAclEntry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkAclEntryProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnNetworkAclEntry( * the subnet ( `false` ). */ public open fun egress(`value`: IResolvable) { - unwrap(this).setEgress(`value`.let(IResolvable::unwrap)) + unwrap(this).setEgress(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -125,14 +125,14 @@ public open class CfnNetworkAclEntry( * The Internet Control Message Protocol (ICMP) code and type. */ public open fun icmp(`value`: IResolvable) { - unwrap(this).setIcmp(`value`.let(IResolvable::unwrap)) + unwrap(this).setIcmp(`value`.let(IResolvable.Companion::unwrap)) } /** * The Internet Control Message Protocol (ICMP) code and type. */ public open fun icmp(`value`: IcmpProperty) { - unwrap(this).setIcmp(`value`.let(IcmpProperty::unwrap)) + unwrap(this).setIcmp(`value`.let(IcmpProperty.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnNetworkAclEntry( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -184,14 +184,14 @@ public open class CfnNetworkAclEntry( * The range of port numbers for the UDP/TCP protocol. */ public open fun portRange(`value`: IResolvable) { - unwrap(this).setPortRange(`value`.let(IResolvable::unwrap)) + unwrap(this).setPortRange(`value`.let(IResolvable.Companion::unwrap)) } /** * The range of port numbers for the UDP/TCP protocol. */ public open fun portRange(`value`: PortRangeProperty) { - unwrap(this).setPortRange(`value`.let(PortRangeProperty::unwrap)) + unwrap(this).setPortRange(`value`.let(PortRangeProperty.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnNetworkAclEntry( * ingress traffic to the subnet ( `false` ). */ override fun egress(egress: IResolvable) { - cdkBuilder.egress(egress.let(IResolvable::unwrap)) + cdkBuilder.egress(egress.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnNetworkAclEntry( * @param icmp The Internet Control Message Protocol (ICMP) code and type. */ override fun icmp(icmp: IResolvable) { - cdkBuilder.icmp(icmp.let(IResolvable::unwrap)) + cdkBuilder.icmp(icmp.let(IResolvable.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnNetworkAclEntry( * @param icmp The Internet Control Message Protocol (ICMP) code and type. */ override fun icmp(icmp: IcmpProperty) { - cdkBuilder.icmp(icmp.let(IcmpProperty::unwrap)) + cdkBuilder.icmp(icmp.let(IcmpProperty.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnNetworkAclEntry( * @param portRange The range of port numbers for the UDP/TCP protocol. */ override fun portRange(portRange: IResolvable) { - cdkBuilder.portRange(portRange.let(IResolvable::unwrap)) + cdkBuilder.portRange(portRange.let(IResolvable.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class CfnNetworkAclEntry( * @param portRange The range of port numbers for the UDP/TCP protocol. */ override fun portRange(portRange: PortRangeProperty) { - cdkBuilder.portRange(portRange.let(PortRangeProperty::unwrap)) + cdkBuilder.portRange(portRange.let(PortRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntryProps.kt index e9a1a069be..e6351c9f65 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclEntryProps.kt @@ -255,7 +255,7 @@ public interface CfnNetworkAclEntryProps { * By default, AWS CloudFormation specifies `false` . */ override fun egress(egress: IResolvable) { - cdkBuilder.egress(egress.let(IResolvable::unwrap)) + cdkBuilder.egress(egress.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface CfnNetworkAclEntryProps { * Required if specifying 1 (ICMP) for the protocol parameter. */ override fun icmp(icmp: IResolvable) { - cdkBuilder.icmp(icmp.let(IResolvable::unwrap)) + cdkBuilder.icmp(icmp.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnNetworkAclEntryProps { * Required if specifying 1 (ICMP) for the protocol parameter. */ override fun icmp(icmp: CfnNetworkAclEntry.IcmpProperty) { - cdkBuilder.icmp(icmp.let(CfnNetworkAclEntry.IcmpProperty::unwrap)) + cdkBuilder.icmp(icmp.let(CfnNetworkAclEntry.IcmpProperty.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface CfnNetworkAclEntryProps { * Required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter. */ override fun portRange(portRange: IResolvable) { - cdkBuilder.portRange(portRange.let(IResolvable::unwrap)) + cdkBuilder.portRange(portRange.let(IResolvable.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface CfnNetworkAclEntryProps { * Required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter. */ override fun portRange(portRange: CfnNetworkAclEntry.PortRangeProperty) { - cdkBuilder.portRange(portRange.let(CfnNetworkAclEntry.PortRangeProperty::unwrap)) + cdkBuilder.portRange(portRange.let(CfnNetworkAclEntry.PortRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclProps.kt index 8bd6242b88..df4b75f6d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkAclProps.kt @@ -75,7 +75,7 @@ public interface CfnNetworkAclProps { * @param tags The tags for the network ACL. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScope.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScope.kt index a22e5fb4d5..0403518381 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScope.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScope.kt @@ -128,7 +128,7 @@ public open class CfnNetworkInsightsAccessScope( cdkObject: software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -137,8 +137,8 @@ public open class CfnNetworkInsightsAccessScope( id: String, props: CfnNetworkInsightsAccessScopeProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInsightsAccessScopeProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScope(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInsightsAccessScopeProps.Companion::unwrap)) ) public constructor( @@ -179,7 +179,7 @@ public open class CfnNetworkInsightsAccessScope( * The paths to exclude. */ public open fun excludePaths(`value`: IResolvable) { - unwrap(this).setExcludePaths(`value`.let(IResolvable::unwrap)) + unwrap(this).setExcludePaths(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnNetworkInsightsAccessScope( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnNetworkInsightsAccessScope( * The paths to match. */ public open fun matchPaths(`value`: IResolvable) { - unwrap(this).setMatchPaths(`value`.let(IResolvable::unwrap)) + unwrap(this).setMatchPaths(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnNetworkInsightsAccessScope( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public open class CfnNetworkInsightsAccessScope( * @param excludePaths The paths to exclude. */ override fun excludePaths(excludePaths: IResolvable) { - cdkBuilder.excludePaths(excludePaths.let(IResolvable::unwrap)) + cdkBuilder.excludePaths(excludePaths.let(IResolvable.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnNetworkInsightsAccessScope( * @param matchPaths The paths to match. */ override fun matchPaths(matchPaths: IResolvable) { - cdkBuilder.matchPaths(matchPaths.let(IResolvable::unwrap)) + cdkBuilder.matchPaths(matchPaths.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnNetworkInsightsAccessScope( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -566,14 +566,14 @@ public open class CfnNetworkInsightsAccessScope( * @param destination The destination. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination The destination. */ override fun destination(destination: PathStatementRequestProperty) { - cdkBuilder.destination(destination.let(PathStatementRequestProperty::unwrap)) + cdkBuilder.destination(destination.let(PathStatementRequestProperty.Companion::unwrap)) } /** @@ -588,14 +588,14 @@ public open class CfnNetworkInsightsAccessScope( * @param source The source. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The source. */ override fun source(source: PathStatementRequestProperty) { - cdkBuilder.source(source.let(PathStatementRequestProperty::unwrap)) + cdkBuilder.source(source.let(PathStatementRequestProperty.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnNetworkInsightsAccessScope( * @param throughResources The through resources. */ override fun throughResources(throughResources: IResolvable) { - cdkBuilder.throughResources(throughResources.let(IResolvable::unwrap)) + cdkBuilder.throughResources(throughResources.let(IResolvable.Companion::unwrap)) } /** @@ -1099,7 +1099,7 @@ public open class CfnNetworkInsightsAccessScope( * @param packetHeaderStatement The packet header statement. */ override fun packetHeaderStatement(packetHeaderStatement: IResolvable) { - cdkBuilder.packetHeaderStatement(packetHeaderStatement.let(IResolvable::unwrap)) + cdkBuilder.packetHeaderStatement(packetHeaderStatement.let(IResolvable.Companion::unwrap)) } /** @@ -1107,7 +1107,7 @@ public open class CfnNetworkInsightsAccessScope( */ override fun packetHeaderStatement(packetHeaderStatement: PacketHeaderStatementRequestProperty) { - cdkBuilder.packetHeaderStatement(packetHeaderStatement.let(PacketHeaderStatementRequestProperty::unwrap)) + cdkBuilder.packetHeaderStatement(packetHeaderStatement.let(PacketHeaderStatementRequestProperty.Companion::unwrap)) } /** @@ -1123,14 +1123,14 @@ public open class CfnNetworkInsightsAccessScope( * @param resourceStatement The resource statement. */ override fun resourceStatement(resourceStatement: IResolvable) { - cdkBuilder.resourceStatement(resourceStatement.let(IResolvable::unwrap)) + cdkBuilder.resourceStatement(resourceStatement.let(IResolvable.Companion::unwrap)) } /** * @param resourceStatement The resource statement. */ override fun resourceStatement(resourceStatement: ResourceStatementRequestProperty) { - cdkBuilder.resourceStatement(resourceStatement.let(ResourceStatementRequestProperty::unwrap)) + cdkBuilder.resourceStatement(resourceStatement.let(ResourceStatementRequestProperty.Companion::unwrap)) } /** @@ -1376,14 +1376,14 @@ public open class CfnNetworkInsightsAccessScope( * @param resourceStatement The resource statement. */ override fun resourceStatement(resourceStatement: IResolvable) { - cdkBuilder.resourceStatement(resourceStatement.let(IResolvable::unwrap)) + cdkBuilder.resourceStatement(resourceStatement.let(IResolvable.Companion::unwrap)) } /** * @param resourceStatement The resource statement. */ override fun resourceStatement(resourceStatement: ResourceStatementRequestProperty) { - cdkBuilder.resourceStatement(resourceStatement.let(ResourceStatementRequestProperty::unwrap)) + cdkBuilder.resourceStatement(resourceStatement.let(ResourceStatementRequestProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysis.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysis.kt index 1c45d8cd58..6dc7f1fba5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysis.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysis.kt @@ -47,8 +47,8 @@ public open class CfnNetworkInsightsAccessScopeAnalysis( id: String, props: CfnNetworkInsightsAccessScopeAnalysisProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScopeAnalysis(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInsightsAccessScopeAnalysisProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAccessScopeAnalysis(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInsightsAccessScopeAnalysisProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnNetworkInsightsAccessScopeAnalysis( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnNetworkInsightsAccessScopeAnalysis( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnNetworkInsightsAccessScopeAnalysis( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysisProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysisProps.kt index 5318224385..346815dd1e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysisProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeAnalysisProps.kt @@ -84,7 +84,7 @@ public interface CfnNetworkInsightsAccessScopeAnalysisProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeProps.kt index d69fa13f3b..63d9673d35 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAccessScopeProps.kt @@ -184,7 +184,7 @@ public interface CfnNetworkInsightsAccessScopeProps { * @param excludePaths The paths to exclude. */ override fun excludePaths(excludePaths: IResolvable) { - cdkBuilder.excludePaths(excludePaths.let(IResolvable::unwrap)) + cdkBuilder.excludePaths(excludePaths.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CfnNetworkInsightsAccessScopeProps { * @param matchPaths The paths to match. */ override fun matchPaths(matchPaths: IResolvable) { - cdkBuilder.matchPaths(matchPaths.let(IResolvable::unwrap)) + cdkBuilder.matchPaths(matchPaths.let(IResolvable.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface CfnNetworkInsightsAccessScopeProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysis.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysis.kt index 3f1add999a..af37721dd2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysis.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysis.kt @@ -54,8 +54,8 @@ public open class CfnNetworkInsightsAnalysis( id: String, props: CfnNetworkInsightsAnalysisProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInsightsAnalysisProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsAnalysis(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInsightsAnalysisProps.Companion::unwrap)) ) public constructor( @@ -172,7 +172,7 @@ public open class CfnNetworkInsightsAnalysis( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnNetworkInsightsAnalysis( * The tags to apply. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class CfnNetworkInsightsAnalysis( * @param tags The tags to apply. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -500,14 +500,14 @@ public open class CfnNetworkInsightsAnalysis( * @param component The path component. */ override fun component(component: IResolvable) { - cdkBuilder.component(component.let(IResolvable::unwrap)) + cdkBuilder.component(component.let(IResolvable.Companion::unwrap)) } /** * @param component The path component. */ override fun component(component: AnalysisComponentProperty) { - cdkBuilder.component(component.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.component(component.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public open class CfnNetworkInsightsAnalysis( * @param loadBalancers The load balancers. */ override fun loadBalancers(loadBalancers: IResolvable) { - cdkBuilder.loadBalancers(loadBalancers.let(IResolvable::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.let(IResolvable.Companion::unwrap)) } /** @@ -853,21 +853,21 @@ public open class CfnNetworkInsightsAnalysis( * @param egress Indicates whether the rule is an outbound rule. */ override fun egress(egress: IResolvable) { - cdkBuilder.egress(egress.let(IResolvable::unwrap)) + cdkBuilder.egress(egress.let(IResolvable.Companion::unwrap)) } /** * @param portRange The range of ports. */ override fun portRange(portRange: IResolvable) { - cdkBuilder.portRange(portRange.let(IResolvable::unwrap)) + cdkBuilder.portRange(portRange.let(IResolvable.Companion::unwrap)) } /** * @param portRange The range of ports. */ override fun portRange(portRange: PortRangeProperty) { - cdkBuilder.portRange(portRange.let(PortRangeProperty::unwrap)) + cdkBuilder.portRange(portRange.let(PortRangeProperty.Companion::unwrap)) } /** @@ -1302,14 +1302,14 @@ public open class CfnNetworkInsightsAnalysis( * @param instance Information about the instance. */ override fun instance(instance: IResolvable) { - cdkBuilder.instance(instance.let(IResolvable::unwrap)) + cdkBuilder.instance(instance.let(IResolvable.Companion::unwrap)) } /** * @param instance Information about the instance. */ override fun instance(instance: AnalysisComponentProperty) { - cdkBuilder.instance(instance.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.instance(instance.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -1534,7 +1534,7 @@ public open class CfnNetworkInsightsAnalysis( * @param destinationPortRanges The destination port ranges. */ override fun destinationPortRanges(destinationPortRanges: IResolvable) { - cdkBuilder.destinationPortRanges(destinationPortRanges.let(IResolvable::unwrap)) + cdkBuilder.destinationPortRanges(destinationPortRanges.let(IResolvable.Companion::unwrap)) } /** @@ -1574,7 +1574,7 @@ public open class CfnNetworkInsightsAnalysis( * @param sourcePortRanges The source port ranges. */ override fun sourcePortRanges(sourcePortRanges: IResolvable) { - cdkBuilder.sourcePortRanges(sourcePortRanges.let(IResolvable::unwrap)) + cdkBuilder.sourcePortRanges(sourcePortRanges.let(IResolvable.Companion::unwrap)) } /** @@ -2182,14 +2182,14 @@ public open class CfnNetworkInsightsAnalysis( * @param portRange The port range. */ override fun portRange(portRange: IResolvable) { - cdkBuilder.portRange(portRange.let(IResolvable::unwrap)) + cdkBuilder.portRange(portRange.let(IResolvable.Companion::unwrap)) } /** * @param portRange The port range. */ override fun portRange(portRange: PortRangeProperty) { - cdkBuilder.portRange(portRange.let(PortRangeProperty::unwrap)) + cdkBuilder.portRange(portRange.let(PortRangeProperty.Companion::unwrap)) } /** @@ -3583,14 +3583,14 @@ public open class CfnNetworkInsightsAnalysis( * @param acl The network ACL. */ override fun acl(acl: IResolvable) { - cdkBuilder.acl(acl.let(IResolvable::unwrap)) + cdkBuilder.acl(acl.let(IResolvable.Companion::unwrap)) } /** * @param acl The network ACL. */ override fun acl(acl: AnalysisComponentProperty) { - cdkBuilder.acl(acl.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.acl(acl.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3605,14 +3605,14 @@ public open class CfnNetworkInsightsAnalysis( * @param aclRule The network ACL rule. */ override fun aclRule(aclRule: IResolvable) { - cdkBuilder.aclRule(aclRule.let(IResolvable::unwrap)) + cdkBuilder.aclRule(aclRule.let(IResolvable.Companion::unwrap)) } /** * @param aclRule The network ACL rule. */ override fun aclRule(aclRule: AnalysisAclRuleProperty) { - cdkBuilder.aclRule(aclRule.let(AnalysisAclRuleProperty::unwrap)) + cdkBuilder.aclRule(aclRule.let(AnalysisAclRuleProperty.Companion::unwrap)) } /** @@ -3646,14 +3646,14 @@ public open class CfnNetworkInsightsAnalysis( * @param attachedTo The resource to which the component is attached. */ override fun attachedTo(attachedTo: IResolvable) { - cdkBuilder.attachedTo(attachedTo.let(IResolvable::unwrap)) + cdkBuilder.attachedTo(attachedTo.let(IResolvable.Companion::unwrap)) } /** * @param attachedTo The resource to which the component is attached. */ override fun attachedTo(attachedTo: AnalysisComponentProperty) { - cdkBuilder.attachedTo(attachedTo.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.attachedTo(attachedTo.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3693,7 +3693,7 @@ public open class CfnNetworkInsightsAnalysis( * @param classicLoadBalancerListener The listener for a Classic Load Balancer. */ override fun classicLoadBalancerListener(classicLoadBalancerListener: IResolvable) { - cdkBuilder.classicLoadBalancerListener(classicLoadBalancerListener.let(IResolvable::unwrap)) + cdkBuilder.classicLoadBalancerListener(classicLoadBalancerListener.let(IResolvable.Companion::unwrap)) } /** @@ -3701,7 +3701,7 @@ public open class CfnNetworkInsightsAnalysis( */ override fun classicLoadBalancerListener(classicLoadBalancerListener: AnalysisLoadBalancerListenerProperty) { - cdkBuilder.classicLoadBalancerListener(classicLoadBalancerListener.let(AnalysisLoadBalancerListenerProperty::unwrap)) + cdkBuilder.classicLoadBalancerListener(classicLoadBalancerListener.let(AnalysisLoadBalancerListenerProperty.Companion::unwrap)) } /** @@ -3718,14 +3718,14 @@ public open class CfnNetworkInsightsAnalysis( * @param component The component. */ override fun component(component: IResolvable) { - cdkBuilder.component(component.let(IResolvable::unwrap)) + cdkBuilder.component(component.let(IResolvable.Companion::unwrap)) } /** * @param component The component. */ override fun component(component: AnalysisComponentProperty) { - cdkBuilder.component(component.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.component(component.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3754,14 +3754,14 @@ public open class CfnNetworkInsightsAnalysis( * @param customerGateway The customer gateway. */ override fun customerGateway(customerGateway: IResolvable) { - cdkBuilder.customerGateway(customerGateway.let(IResolvable::unwrap)) + cdkBuilder.customerGateway(customerGateway.let(IResolvable.Companion::unwrap)) } /** * @param customerGateway The customer gateway. */ override fun customerGateway(customerGateway: AnalysisComponentProperty) { - cdkBuilder.customerGateway(customerGateway.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.customerGateway(customerGateway.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3776,14 +3776,14 @@ public open class CfnNetworkInsightsAnalysis( * @param destination The destination. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination The destination. */ override fun destination(destination: AnalysisComponentProperty) { - cdkBuilder.destination(destination.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.destination(destination.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3798,14 +3798,14 @@ public open class CfnNetworkInsightsAnalysis( * @param destinationVpc The destination VPC. */ override fun destinationVpc(destinationVpc: IResolvable) { - cdkBuilder.destinationVpc(destinationVpc.let(IResolvable::unwrap)) + cdkBuilder.destinationVpc(destinationVpc.let(IResolvable.Companion::unwrap)) } /** * @param destinationVpc The destination VPC. */ override fun destinationVpc(destinationVpc: AnalysisComponentProperty) { - cdkBuilder.destinationVpc(destinationVpc.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.destinationVpc(destinationVpc.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3829,7 +3829,7 @@ public open class CfnNetworkInsightsAnalysis( * @param elasticLoadBalancerListener The load balancer listener. */ override fun elasticLoadBalancerListener(elasticLoadBalancerListener: IResolvable) { - cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(IResolvable::unwrap)) + cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(IResolvable.Companion::unwrap)) } /** @@ -3837,7 +3837,7 @@ public open class CfnNetworkInsightsAnalysis( */ override fun elasticLoadBalancerListener(elasticLoadBalancerListener: AnalysisComponentProperty) { - cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3860,14 +3860,14 @@ public open class CfnNetworkInsightsAnalysis( * @param ingressRouteTable The route table. */ override fun ingressRouteTable(ingressRouteTable: IResolvable) { - cdkBuilder.ingressRouteTable(ingressRouteTable.let(IResolvable::unwrap)) + cdkBuilder.ingressRouteTable(ingressRouteTable.let(IResolvable.Companion::unwrap)) } /** * @param ingressRouteTable The route table. */ override fun ingressRouteTable(ingressRouteTable: AnalysisComponentProperty) { - cdkBuilder.ingressRouteTable(ingressRouteTable.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.ingressRouteTable(ingressRouteTable.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3883,14 +3883,14 @@ public open class CfnNetworkInsightsAnalysis( * @param internetGateway The internet gateway. */ override fun internetGateway(internetGateway: IResolvable) { - cdkBuilder.internetGateway(internetGateway.let(IResolvable::unwrap)) + cdkBuilder.internetGateway(internetGateway.let(IResolvable.Companion::unwrap)) } /** * @param internetGateway The internet gateway. */ override fun internetGateway(internetGateway: AnalysisComponentProperty) { - cdkBuilder.internetGateway(internetGateway.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.internetGateway(internetGateway.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3919,14 +3919,14 @@ public open class CfnNetworkInsightsAnalysis( * @param loadBalancerTarget The target. */ override fun loadBalancerTarget(loadBalancerTarget: IResolvable) { - cdkBuilder.loadBalancerTarget(loadBalancerTarget.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerTarget(loadBalancerTarget.let(IResolvable.Companion::unwrap)) } /** * @param loadBalancerTarget The target. */ override fun loadBalancerTarget(loadBalancerTarget: AnalysisLoadBalancerTargetProperty) { - cdkBuilder.loadBalancerTarget(loadBalancerTarget.let(AnalysisLoadBalancerTargetProperty::unwrap)) + cdkBuilder.loadBalancerTarget(loadBalancerTarget.let(AnalysisLoadBalancerTargetProperty.Companion::unwrap)) } /** @@ -3942,14 +3942,14 @@ public open class CfnNetworkInsightsAnalysis( * @param loadBalancerTargetGroup The target group. */ override fun loadBalancerTargetGroup(loadBalancerTargetGroup: IResolvable) { - cdkBuilder.loadBalancerTargetGroup(loadBalancerTargetGroup.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerTargetGroup(loadBalancerTargetGroup.let(IResolvable.Companion::unwrap)) } /** * @param loadBalancerTargetGroup The target group. */ override fun loadBalancerTargetGroup(loadBalancerTargetGroup: AnalysisComponentProperty) { - cdkBuilder.loadBalancerTargetGroup(loadBalancerTargetGroup.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.loadBalancerTargetGroup(loadBalancerTargetGroup.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -3965,7 +3965,7 @@ public open class CfnNetworkInsightsAnalysis( * @param loadBalancerTargetGroups The target groups. */ override fun loadBalancerTargetGroups(loadBalancerTargetGroups: IResolvable) { - cdkBuilder.loadBalancerTargetGroups(loadBalancerTargetGroups.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerTargetGroups(loadBalancerTargetGroups.let(IResolvable.Companion::unwrap)) } /** @@ -3999,14 +3999,14 @@ public open class CfnNetworkInsightsAnalysis( * @param natGateway The NAT gateway. */ override fun natGateway(natGateway: IResolvable) { - cdkBuilder.natGateway(natGateway.let(IResolvable::unwrap)) + cdkBuilder.natGateway(natGateway.let(IResolvable.Companion::unwrap)) } /** * @param natGateway The NAT gateway. */ override fun natGateway(natGateway: AnalysisComponentProperty) { - cdkBuilder.natGateway(natGateway.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.natGateway(natGateway.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4021,14 +4021,14 @@ public open class CfnNetworkInsightsAnalysis( * @param networkInterface The network interface. */ override fun networkInterface(networkInterface: IResolvable) { - cdkBuilder.networkInterface(networkInterface.let(IResolvable::unwrap)) + cdkBuilder.networkInterface(networkInterface.let(IResolvable.Companion::unwrap)) } /** * @param networkInterface The network interface. */ override fun networkInterface(networkInterface: AnalysisComponentProperty) { - cdkBuilder.networkInterface(networkInterface.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.networkInterface(networkInterface.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4057,7 +4057,7 @@ public open class CfnNetworkInsightsAnalysis( * @param portRanges The port ranges. */ override fun portRanges(portRanges: IResolvable) { - cdkBuilder.portRanges(portRanges.let(IResolvable::unwrap)) + cdkBuilder.portRanges(portRanges.let(IResolvable.Companion::unwrap)) } /** @@ -4076,14 +4076,14 @@ public open class CfnNetworkInsightsAnalysis( * @param prefixList The prefix list. */ override fun prefixList(prefixList: IResolvable) { - cdkBuilder.prefixList(prefixList.let(IResolvable::unwrap)) + cdkBuilder.prefixList(prefixList.let(IResolvable.Companion::unwrap)) } /** * @param prefixList The prefix list. */ override fun prefixList(prefixList: AnalysisComponentProperty) { - cdkBuilder.prefixList(prefixList.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.prefixList(prefixList.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4110,14 +4110,14 @@ public open class CfnNetworkInsightsAnalysis( * @param routeTable The route table. */ override fun routeTable(routeTable: IResolvable) { - cdkBuilder.routeTable(routeTable.let(IResolvable::unwrap)) + cdkBuilder.routeTable(routeTable.let(IResolvable.Companion::unwrap)) } /** * @param routeTable The route table. */ override fun routeTable(routeTable: AnalysisComponentProperty) { - cdkBuilder.routeTable(routeTable.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.routeTable(routeTable.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4132,14 +4132,14 @@ public open class CfnNetworkInsightsAnalysis( * @param routeTableRoute The route table route. */ override fun routeTableRoute(routeTableRoute: IResolvable) { - cdkBuilder.routeTableRoute(routeTableRoute.let(IResolvable::unwrap)) + cdkBuilder.routeTableRoute(routeTableRoute.let(IResolvable.Companion::unwrap)) } /** * @param routeTableRoute The route table route. */ override fun routeTableRoute(routeTableRoute: AnalysisRouteTableRouteProperty) { - cdkBuilder.routeTableRoute(routeTableRoute.let(AnalysisRouteTableRouteProperty::unwrap)) + cdkBuilder.routeTableRoute(routeTableRoute.let(AnalysisRouteTableRouteProperty.Companion::unwrap)) } /** @@ -4155,14 +4155,14 @@ public open class CfnNetworkInsightsAnalysis( * @param securityGroup The security group. */ override fun securityGroup(securityGroup: IResolvable) { - cdkBuilder.securityGroup(securityGroup.let(IResolvable::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(IResolvable.Companion::unwrap)) } /** * @param securityGroup The security group. */ override fun securityGroup(securityGroup: AnalysisComponentProperty) { - cdkBuilder.securityGroup(securityGroup.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4177,14 +4177,14 @@ public open class CfnNetworkInsightsAnalysis( * @param securityGroupRule The security group rule. */ override fun securityGroupRule(securityGroupRule: IResolvable) { - cdkBuilder.securityGroupRule(securityGroupRule.let(IResolvable::unwrap)) + cdkBuilder.securityGroupRule(securityGroupRule.let(IResolvable.Companion::unwrap)) } /** * @param securityGroupRule The security group rule. */ override fun securityGroupRule(securityGroupRule: AnalysisSecurityGroupRuleProperty) { - cdkBuilder.securityGroupRule(securityGroupRule.let(AnalysisSecurityGroupRuleProperty::unwrap)) + cdkBuilder.securityGroupRule(securityGroupRule.let(AnalysisSecurityGroupRuleProperty.Companion::unwrap)) } /** @@ -4200,7 +4200,7 @@ public open class CfnNetworkInsightsAnalysis( * @param securityGroups The security groups. */ override fun securityGroups(securityGroups: IResolvable) { - cdkBuilder.securityGroups(securityGroups.let(IResolvable::unwrap)) + cdkBuilder.securityGroups(securityGroups.let(IResolvable.Companion::unwrap)) } /** @@ -4220,14 +4220,14 @@ public open class CfnNetworkInsightsAnalysis( * @param sourceVpc The source VPC. */ override fun sourceVpc(sourceVpc: IResolvable) { - cdkBuilder.sourceVpc(sourceVpc.let(IResolvable::unwrap)) + cdkBuilder.sourceVpc(sourceVpc.let(IResolvable.Companion::unwrap)) } /** * @param sourceVpc The source VPC. */ override fun sourceVpc(sourceVpc: AnalysisComponentProperty) { - cdkBuilder.sourceVpc(sourceVpc.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.sourceVpc(sourceVpc.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4249,14 +4249,14 @@ public open class CfnNetworkInsightsAnalysis( * @param subnet The subnet. */ override fun subnet(subnet: IResolvable) { - cdkBuilder.subnet(subnet.let(IResolvable::unwrap)) + cdkBuilder.subnet(subnet.let(IResolvable.Companion::unwrap)) } /** * @param subnet The subnet. */ override fun subnet(subnet: AnalysisComponentProperty) { - cdkBuilder.subnet(subnet.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.subnet(subnet.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4271,14 +4271,14 @@ public open class CfnNetworkInsightsAnalysis( * @param subnetRouteTable The route table for the subnet. */ override fun subnetRouteTable(subnetRouteTable: IResolvable) { - cdkBuilder.subnetRouteTable(subnetRouteTable.let(IResolvable::unwrap)) + cdkBuilder.subnetRouteTable(subnetRouteTable.let(IResolvable.Companion::unwrap)) } /** * @param subnetRouteTable The route table for the subnet. */ override fun subnetRouteTable(subnetRouteTable: AnalysisComponentProperty) { - cdkBuilder.subnetRouteTable(subnetRouteTable.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.subnetRouteTable(subnetRouteTable.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4293,14 +4293,14 @@ public open class CfnNetworkInsightsAnalysis( * @param transitGateway The transit gateway. */ override fun transitGateway(transitGateway: IResolvable) { - cdkBuilder.transitGateway(transitGateway.let(IResolvable::unwrap)) + cdkBuilder.transitGateway(transitGateway.let(IResolvable.Companion::unwrap)) } /** * @param transitGateway The transit gateway. */ override fun transitGateway(transitGateway: AnalysisComponentProperty) { - cdkBuilder.transitGateway(transitGateway.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.transitGateway(transitGateway.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4315,14 +4315,14 @@ public open class CfnNetworkInsightsAnalysis( * @param transitGatewayAttachment The transit gateway attachment. */ override fun transitGatewayAttachment(transitGatewayAttachment: IResolvable) { - cdkBuilder.transitGatewayAttachment(transitGatewayAttachment.let(IResolvable::unwrap)) + cdkBuilder.transitGatewayAttachment(transitGatewayAttachment.let(IResolvable.Companion::unwrap)) } /** * @param transitGatewayAttachment The transit gateway attachment. */ override fun transitGatewayAttachment(transitGatewayAttachment: AnalysisComponentProperty) { - cdkBuilder.transitGatewayAttachment(transitGatewayAttachment.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.transitGatewayAttachment(transitGatewayAttachment.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4338,14 +4338,14 @@ public open class CfnNetworkInsightsAnalysis( * @param transitGatewayRouteTable The transit gateway route table. */ override fun transitGatewayRouteTable(transitGatewayRouteTable: IResolvable) { - cdkBuilder.transitGatewayRouteTable(transitGatewayRouteTable.let(IResolvable::unwrap)) + cdkBuilder.transitGatewayRouteTable(transitGatewayRouteTable.let(IResolvable.Companion::unwrap)) } /** * @param transitGatewayRouteTable The transit gateway route table. */ override fun transitGatewayRouteTable(transitGatewayRouteTable: AnalysisComponentProperty) { - cdkBuilder.transitGatewayRouteTable(transitGatewayRouteTable.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.transitGatewayRouteTable(transitGatewayRouteTable.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4361,7 +4361,7 @@ public open class CfnNetworkInsightsAnalysis( * @param transitGatewayRouteTableRoute The transit gateway route table route. */ override fun transitGatewayRouteTableRoute(transitGatewayRouteTableRoute: IResolvable) { - cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(IResolvable::unwrap)) + cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(IResolvable.Companion::unwrap)) } /** @@ -4369,7 +4369,7 @@ public open class CfnNetworkInsightsAnalysis( */ override fun transitGatewayRouteTableRoute(transitGatewayRouteTableRoute: TransitGatewayRouteTableRouteProperty) { - cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(TransitGatewayRouteTableRouteProperty::unwrap)) + cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(TransitGatewayRouteTableRouteProperty.Companion::unwrap)) } /** @@ -4386,14 +4386,14 @@ public open class CfnNetworkInsightsAnalysis( * @param vpc The component VPC. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** * @param vpc The component VPC. */ override fun vpc(vpc: AnalysisComponentProperty) { - cdkBuilder.vpc(vpc.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.vpc(vpc.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4408,14 +4408,14 @@ public open class CfnNetworkInsightsAnalysis( * @param vpcEndpoint The VPC endpoint. */ override fun vpcEndpoint(vpcEndpoint: IResolvable) { - cdkBuilder.vpcEndpoint(vpcEndpoint.let(IResolvable::unwrap)) + cdkBuilder.vpcEndpoint(vpcEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param vpcEndpoint The VPC endpoint. */ override fun vpcEndpoint(vpcEndpoint: AnalysisComponentProperty) { - cdkBuilder.vpcEndpoint(vpcEndpoint.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.vpcEndpoint(vpcEndpoint.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4430,14 +4430,14 @@ public open class CfnNetworkInsightsAnalysis( * @param vpcPeeringConnection The VPC peering connection. */ override fun vpcPeeringConnection(vpcPeeringConnection: IResolvable) { - cdkBuilder.vpcPeeringConnection(vpcPeeringConnection.let(IResolvable::unwrap)) + cdkBuilder.vpcPeeringConnection(vpcPeeringConnection.let(IResolvable.Companion::unwrap)) } /** * @param vpcPeeringConnection The VPC peering connection. */ override fun vpcPeeringConnection(vpcPeeringConnection: AnalysisComponentProperty) { - cdkBuilder.vpcPeeringConnection(vpcPeeringConnection.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.vpcPeeringConnection(vpcPeeringConnection.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4453,14 +4453,14 @@ public open class CfnNetworkInsightsAnalysis( * @param vpnConnection The VPN connection. */ override fun vpnConnection(vpnConnection: IResolvable) { - cdkBuilder.vpnConnection(vpnConnection.let(IResolvable::unwrap)) + cdkBuilder.vpnConnection(vpnConnection.let(IResolvable.Companion::unwrap)) } /** * @param vpnConnection The VPN connection. */ override fun vpnConnection(vpnConnection: AnalysisComponentProperty) { - cdkBuilder.vpnConnection(vpnConnection.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.vpnConnection(vpnConnection.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -4475,14 +4475,14 @@ public open class CfnNetworkInsightsAnalysis( * @param vpnGateway The VPN gateway. */ override fun vpnGateway(vpnGateway: IResolvable) { - cdkBuilder.vpnGateway(vpnGateway.let(IResolvable::unwrap)) + cdkBuilder.vpnGateway(vpnGateway.let(IResolvable.Companion::unwrap)) } /** * @param vpnGateway The VPN gateway. */ override fun vpnGateway(vpnGateway: AnalysisComponentProperty) { - cdkBuilder.vpnGateway(vpnGateway.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.vpnGateway(vpnGateway.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5605,14 +5605,14 @@ public open class CfnNetworkInsightsAnalysis( * @param aclRule The network ACL rule. */ override fun aclRule(aclRule: IResolvable) { - cdkBuilder.aclRule(aclRule.let(IResolvable::unwrap)) + cdkBuilder.aclRule(aclRule.let(IResolvable.Companion::unwrap)) } /** * @param aclRule The network ACL rule. */ override fun aclRule(aclRule: AnalysisAclRuleProperty) { - cdkBuilder.aclRule(aclRule.let(AnalysisAclRuleProperty::unwrap)) + cdkBuilder.aclRule(aclRule.let(AnalysisAclRuleProperty.Companion::unwrap)) } /** @@ -5627,7 +5627,7 @@ public open class CfnNetworkInsightsAnalysis( * @param additionalDetails The additional details. */ override fun additionalDetails(additionalDetails: IResolvable) { - cdkBuilder.additionalDetails(additionalDetails.let(IResolvable::unwrap)) + cdkBuilder.additionalDetails(additionalDetails.let(IResolvable.Companion::unwrap)) } /** @@ -5647,14 +5647,14 @@ public open class CfnNetworkInsightsAnalysis( * @param component The component. */ override fun component(component: IResolvable) { - cdkBuilder.component(component.let(IResolvable::unwrap)) + cdkBuilder.component(component.let(IResolvable.Companion::unwrap)) } /** * @param component The component. */ override fun component(component: AnalysisComponentProperty) { - cdkBuilder.component(component.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.component(component.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5669,14 +5669,14 @@ public open class CfnNetworkInsightsAnalysis( * @param destinationVpc The destination VPC. */ override fun destinationVpc(destinationVpc: IResolvable) { - cdkBuilder.destinationVpc(destinationVpc.let(IResolvable::unwrap)) + cdkBuilder.destinationVpc(destinationVpc.let(IResolvable.Companion::unwrap)) } /** * @param destinationVpc The destination VPC. */ override fun destinationVpc(destinationVpc: AnalysisComponentProperty) { - cdkBuilder.destinationVpc(destinationVpc.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.destinationVpc(destinationVpc.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5691,7 +5691,7 @@ public open class CfnNetworkInsightsAnalysis( * @param elasticLoadBalancerListener The load balancer listener. */ override fun elasticLoadBalancerListener(elasticLoadBalancerListener: IResolvable) { - cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(IResolvable::unwrap)) + cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(IResolvable.Companion::unwrap)) } /** @@ -5699,7 +5699,7 @@ public open class CfnNetworkInsightsAnalysis( */ override fun elasticLoadBalancerListener(elasticLoadBalancerListener: AnalysisComponentProperty) { - cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.elasticLoadBalancerListener(elasticLoadBalancerListener.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5715,7 +5715,7 @@ public open class CfnNetworkInsightsAnalysis( * @param explanations The explanation codes. */ override fun explanations(explanations: IResolvable) { - cdkBuilder.explanations(explanations.let(IResolvable::unwrap)) + cdkBuilder.explanations(explanations.let(IResolvable.Companion::unwrap)) } /** @@ -5735,14 +5735,14 @@ public open class CfnNetworkInsightsAnalysis( * @param inboundHeader The inbound header. */ override fun inboundHeader(inboundHeader: IResolvable) { - cdkBuilder.inboundHeader(inboundHeader.let(IResolvable::unwrap)) + cdkBuilder.inboundHeader(inboundHeader.let(IResolvable.Companion::unwrap)) } /** * @param inboundHeader The inbound header. */ override fun inboundHeader(inboundHeader: AnalysisPacketHeaderProperty) { - cdkBuilder.inboundHeader(inboundHeader.let(AnalysisPacketHeaderProperty::unwrap)) + cdkBuilder.inboundHeader(inboundHeader.let(AnalysisPacketHeaderProperty.Companion::unwrap)) } /** @@ -5757,14 +5757,14 @@ public open class CfnNetworkInsightsAnalysis( * @param outboundHeader The outbound header. */ override fun outboundHeader(outboundHeader: IResolvable) { - cdkBuilder.outboundHeader(outboundHeader.let(IResolvable::unwrap)) + cdkBuilder.outboundHeader(outboundHeader.let(IResolvable.Companion::unwrap)) } /** * @param outboundHeader The outbound header. */ override fun outboundHeader(outboundHeader: AnalysisPacketHeaderProperty) { - cdkBuilder.outboundHeader(outboundHeader.let(AnalysisPacketHeaderProperty::unwrap)) + cdkBuilder.outboundHeader(outboundHeader.let(AnalysisPacketHeaderProperty.Companion::unwrap)) } /** @@ -5779,14 +5779,14 @@ public open class CfnNetworkInsightsAnalysis( * @param routeTableRoute The route table route. */ override fun routeTableRoute(routeTableRoute: IResolvable) { - cdkBuilder.routeTableRoute(routeTableRoute.let(IResolvable::unwrap)) + cdkBuilder.routeTableRoute(routeTableRoute.let(IResolvable.Companion::unwrap)) } /** * @param routeTableRoute The route table route. */ override fun routeTableRoute(routeTableRoute: AnalysisRouteTableRouteProperty) { - cdkBuilder.routeTableRoute(routeTableRoute.let(AnalysisRouteTableRouteProperty::unwrap)) + cdkBuilder.routeTableRoute(routeTableRoute.let(AnalysisRouteTableRouteProperty.Companion::unwrap)) } /** @@ -5802,14 +5802,14 @@ public open class CfnNetworkInsightsAnalysis( * @param securityGroupRule The security group rule. */ override fun securityGroupRule(securityGroupRule: IResolvable) { - cdkBuilder.securityGroupRule(securityGroupRule.let(IResolvable::unwrap)) + cdkBuilder.securityGroupRule(securityGroupRule.let(IResolvable.Companion::unwrap)) } /** * @param securityGroupRule The security group rule. */ override fun securityGroupRule(securityGroupRule: AnalysisSecurityGroupRuleProperty) { - cdkBuilder.securityGroupRule(securityGroupRule.let(AnalysisSecurityGroupRuleProperty::unwrap)) + cdkBuilder.securityGroupRule(securityGroupRule.let(AnalysisSecurityGroupRuleProperty.Companion::unwrap)) } /** @@ -5839,14 +5839,14 @@ public open class CfnNetworkInsightsAnalysis( * @param sourceVpc The source VPC. */ override fun sourceVpc(sourceVpc: IResolvable) { - cdkBuilder.sourceVpc(sourceVpc.let(IResolvable::unwrap)) + cdkBuilder.sourceVpc(sourceVpc.let(IResolvable.Companion::unwrap)) } /** * @param sourceVpc The source VPC. */ override fun sourceVpc(sourceVpc: AnalysisComponentProperty) { - cdkBuilder.sourceVpc(sourceVpc.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.sourceVpc(sourceVpc.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5861,14 +5861,14 @@ public open class CfnNetworkInsightsAnalysis( * @param subnet The subnet. */ override fun subnet(subnet: IResolvable) { - cdkBuilder.subnet(subnet.let(IResolvable::unwrap)) + cdkBuilder.subnet(subnet.let(IResolvable.Companion::unwrap)) } /** * @param subnet The subnet. */ override fun subnet(subnet: AnalysisComponentProperty) { - cdkBuilder.subnet(subnet.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.subnet(subnet.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5883,14 +5883,14 @@ public open class CfnNetworkInsightsAnalysis( * @param transitGateway The transit gateway. */ override fun transitGateway(transitGateway: IResolvable) { - cdkBuilder.transitGateway(transitGateway.let(IResolvable::unwrap)) + cdkBuilder.transitGateway(transitGateway.let(IResolvable.Companion::unwrap)) } /** * @param transitGateway The transit gateway. */ override fun transitGateway(transitGateway: AnalysisComponentProperty) { - cdkBuilder.transitGateway(transitGateway.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.transitGateway(transitGateway.let(AnalysisComponentProperty.Companion::unwrap)) } /** @@ -5905,7 +5905,7 @@ public open class CfnNetworkInsightsAnalysis( * @param transitGatewayRouteTableRoute The route in a transit gateway route table. */ override fun transitGatewayRouteTableRoute(transitGatewayRouteTableRoute: IResolvable) { - cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(IResolvable::unwrap)) + cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(IResolvable.Companion::unwrap)) } /** @@ -5913,7 +5913,7 @@ public open class CfnNetworkInsightsAnalysis( */ override fun transitGatewayRouteTableRoute(transitGatewayRouteTableRoute: TransitGatewayRouteTableRouteProperty) { - cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(TransitGatewayRouteTableRouteProperty::unwrap)) + cdkBuilder.transitGatewayRouteTableRoute(transitGatewayRouteTableRoute.let(TransitGatewayRouteTableRouteProperty.Companion::unwrap)) } /** @@ -5930,14 +5930,14 @@ public open class CfnNetworkInsightsAnalysis( * @param vpc The component VPC. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** * @param vpc The component VPC. */ override fun vpc(vpc: AnalysisComponentProperty) { - cdkBuilder.vpc(vpc.let(AnalysisComponentProperty::unwrap)) + cdkBuilder.vpc(vpc.let(AnalysisComponentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysisProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysisProps.kt index d52ae1ed82..a94bb2ae52 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysisProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsAnalysisProps.kt @@ -155,7 +155,7 @@ public interface CfnNetworkInsightsAnalysisProps { * @param tags The tags to apply. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPath.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPath.kt index fb71b4ac56..713da45b2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPath.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPath.kt @@ -85,8 +85,8 @@ public open class CfnNetworkInsightsPath( id: String, props: CfnNetworkInsightsPathProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsPath(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInsightsPathProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInsightsPath(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInsightsPathProps.Companion::unwrap)) ) public constructor( @@ -167,14 +167,14 @@ public open class CfnNetworkInsightsPath( * Scopes the analysis to network paths that match specific filters at the destination. */ public open fun filterAtDestination(`value`: IResolvable) { - unwrap(this).setFilterAtDestination(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilterAtDestination(`value`.let(IResolvable.Companion::unwrap)) } /** * Scopes the analysis to network paths that match specific filters at the destination. */ public open fun filterAtDestination(`value`: PathFilterProperty) { - unwrap(this).setFilterAtDestination(`value`.let(PathFilterProperty::unwrap)) + unwrap(this).setFilterAtDestination(`value`.let(PathFilterProperty.Companion::unwrap)) } /** @@ -194,14 +194,14 @@ public open class CfnNetworkInsightsPath( * Scopes the analysis to network paths that match specific filters at the source. */ public open fun filterAtSource(`value`: IResolvable) { - unwrap(this).setFilterAtSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilterAtSource(`value`.let(IResolvable.Companion::unwrap)) } /** * Scopes the analysis to network paths that match specific filters at the source. */ public open fun filterAtSource(`value`: PathFilterProperty) { - unwrap(this).setFilterAtSource(`value`.let(PathFilterProperty::unwrap)) + unwrap(this).setFilterAtSource(`value`.let(PathFilterProperty.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnNetworkInsightsPath( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnNetworkInsightsPath( * The tags to add to the path. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnNetworkInsightsPath( * at the destination. */ override fun filterAtDestination(filterAtDestination: IResolvable) { - cdkBuilder.filterAtDestination(filterAtDestination.let(IResolvable::unwrap)) + cdkBuilder.filterAtDestination(filterAtDestination.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnNetworkInsightsPath( * at the destination. */ override fun filterAtDestination(filterAtDestination: PathFilterProperty) { - cdkBuilder.filterAtDestination(filterAtDestination.let(PathFilterProperty::unwrap)) + cdkBuilder.filterAtDestination(filterAtDestination.let(PathFilterProperty.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnNetworkInsightsPath( * source. */ override fun filterAtSource(filterAtSource: IResolvable) { - cdkBuilder.filterAtSource(filterAtSource.let(IResolvable::unwrap)) + cdkBuilder.filterAtSource(filterAtSource.let(IResolvable.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnNetworkInsightsPath( * source. */ override fun filterAtSource(filterAtSource: PathFilterProperty) { - cdkBuilder.filterAtSource(filterAtSource.let(PathFilterProperty::unwrap)) + cdkBuilder.filterAtSource(filterAtSource.let(PathFilterProperty.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class CfnNetworkInsightsPath( * @param tags The tags to add to the path. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -862,14 +862,14 @@ public open class CfnNetworkInsightsPath( * @param destinationPortRange The destination port range. */ override fun destinationPortRange(destinationPortRange: IResolvable) { - cdkBuilder.destinationPortRange(destinationPortRange.let(IResolvable::unwrap)) + cdkBuilder.destinationPortRange(destinationPortRange.let(IResolvable.Companion::unwrap)) } /** * @param destinationPortRange The destination port range. */ override fun destinationPortRange(destinationPortRange: FilterPortRangeProperty) { - cdkBuilder.destinationPortRange(destinationPortRange.let(FilterPortRangeProperty::unwrap)) + cdkBuilder.destinationPortRange(destinationPortRange.let(FilterPortRangeProperty.Companion::unwrap)) } /** @@ -892,14 +892,14 @@ public open class CfnNetworkInsightsPath( * @param sourcePortRange The source port range. */ override fun sourcePortRange(sourcePortRange: IResolvable) { - cdkBuilder.sourcePortRange(sourcePortRange.let(IResolvable::unwrap)) + cdkBuilder.sourcePortRange(sourcePortRange.let(IResolvable.Companion::unwrap)) } /** * @param sourcePortRange The source port range. */ override fun sourcePortRange(sourcePortRange: FilterPortRangeProperty) { - cdkBuilder.sourcePortRange(sourcePortRange.let(FilterPortRangeProperty::unwrap)) + cdkBuilder.sourcePortRange(sourcePortRange.let(FilterPortRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPathProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPathProps.kt index e050f4f209..3b61c573aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPathProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInsightsPathProps.kt @@ -272,7 +272,7 @@ public interface CfnNetworkInsightsPathProps { * address. */ override fun filterAtDestination(filterAtDestination: IResolvable) { - cdkBuilder.filterAtDestination(filterAtDestination.let(IResolvable::unwrap)) + cdkBuilder.filterAtDestination(filterAtDestination.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface CfnNetworkInsightsPathProps { */ override fun filterAtDestination(filterAtDestination: CfnNetworkInsightsPath.PathFilterProperty) { - cdkBuilder.filterAtDestination(filterAtDestination.let(CfnNetworkInsightsPath.PathFilterProperty::unwrap)) + cdkBuilder.filterAtDestination(filterAtDestination.let(CfnNetworkInsightsPath.PathFilterProperty.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface CfnNetworkInsightsPathProps { * the destination port. */ override fun filterAtSource(filterAtSource: IResolvable) { - cdkBuilder.filterAtSource(filterAtSource.let(IResolvable::unwrap)) + cdkBuilder.filterAtSource(filterAtSource.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public interface CfnNetworkInsightsPathProps { * the destination port. */ override fun filterAtSource(filterAtSource: CfnNetworkInsightsPath.PathFilterProperty) { - cdkBuilder.filterAtSource(filterAtSource.let(CfnNetworkInsightsPath.PathFilterProperty::unwrap)) + cdkBuilder.filterAtSource(filterAtSource.let(CfnNetworkInsightsPath.PathFilterProperty.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface CfnNetworkInsightsPathProps { * @param tags The tags to add to the path. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterface.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterface.kt index 2531ed4afd..8a03063917 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterface.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterface.kt @@ -80,8 +80,8 @@ public open class CfnNetworkInterface( id: String, props: CfnNetworkInterfaceProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInterface(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInterfaceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInterface(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInterfaceProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnNetworkInterface( * A connection tracking specification for the network interface. */ public open fun connectionTrackingSpecification(`value`: IResolvable) { - unwrap(this).setConnectionTrackingSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectionTrackingSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnNetworkInterface( */ public open fun connectionTrackingSpecification(`value`: ConnectionTrackingSpecificationProperty) { - unwrap(this).setConnectionTrackingSpecification(`value`.let(ConnectionTrackingSpecificationProperty::unwrap)) + unwrap(this).setConnectionTrackingSpecification(`value`.let(ConnectionTrackingSpecificationProperty.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnNetworkInterface( * option to assign a primary IPv6 IP address. */ public open fun enablePrimaryIpv6(`value`: IResolvable) { - unwrap(this).setEnablePrimaryIpv6(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnablePrimaryIpv6(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnNetworkInterface( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnNetworkInterface( * The IPv4 delegated prefixes that are assigned to the network interface. */ public open fun ipv4Prefixes(`value`: IResolvable) { - unwrap(this).setIpv4Prefixes(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpv4Prefixes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnNetworkInterface( * interface. */ public open fun ipv6Addresses(`value`: IResolvable) { - unwrap(this).setIpv6Addresses(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpv6Addresses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnNetworkInterface( * The IPv6 delegated prefixes that are assigned to the network interface. */ public open fun ipv6Prefixes(`value`: IResolvable) { - unwrap(this).setIpv6Prefixes(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpv6Prefixes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnNetworkInterface( * The private IPv4 addresses to assign to the network interface. */ public open fun privateIpAddresses(`value`: IResolvable) { - unwrap(this).setPrivateIpAddresses(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrivateIpAddresses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnNetworkInterface( * source or the destination of any traffic that it receives. */ public open fun sourceDestCheck(`value`: IResolvable) { - unwrap(this).setSourceDestCheck(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceDestCheck(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnNetworkInterface( * The tags to apply to the network interface. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -862,7 +862,7 @@ public open class CfnNetworkInterface( * interface. */ override fun connectionTrackingSpecification(connectionTrackingSpecification: IResolvable) { - cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(IResolvable::unwrap)) + cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public open class CfnNetworkInterface( */ override fun connectionTrackingSpecification(connectionTrackingSpecification: ConnectionTrackingSpecificationProperty) { - cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(ConnectionTrackingSpecificationProperty::unwrap)) + cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(ConnectionTrackingSpecificationProperty.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public open class CfnNetworkInterface( * subnet, you have the option to assign a primary IPv6 IP address. */ override fun enablePrimaryIpv6(enablePrimaryIpv6: IResolvable) { - cdkBuilder.enablePrimaryIpv6(enablePrimaryIpv6.let(IResolvable::unwrap)) + cdkBuilder.enablePrimaryIpv6(enablePrimaryIpv6.let(IResolvable.Companion::unwrap)) } /** @@ -1001,7 +1001,7 @@ public open class CfnNetworkInterface( * @param ipv4Prefixes The IPv4 delegated prefixes that are assigned to the network interface. */ override fun ipv4Prefixes(ipv4Prefixes: IResolvable) { - cdkBuilder.ipv4Prefixes(ipv4Prefixes.let(IResolvable::unwrap)) + cdkBuilder.ipv4Prefixes(ipv4Prefixes.let(IResolvable.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public open class CfnNetworkInterface( * assign to the network interface. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -1128,7 +1128,7 @@ public open class CfnNetworkInterface( * @param ipv6Prefixes The IPv6 delegated prefixes that are assigned to the network interface. */ override fun ipv6Prefixes(ipv6Prefixes: IResolvable) { - cdkBuilder.ipv6Prefixes(ipv6Prefixes.let(IResolvable::unwrap)) + cdkBuilder.ipv6Prefixes(ipv6Prefixes.let(IResolvable.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public open class CfnNetworkInterface( * @param privateIpAddresses The private IPv4 addresses to assign to the network interface. */ override fun privateIpAddresses(privateIpAddresses: IResolvable) { - cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable::unwrap)) + cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -1273,7 +1273,7 @@ public open class CfnNetworkInterface( * instance is either the source or the destination of any traffic that it receives. */ override fun sourceDestCheck(sourceDestCheck: IResolvable) { - cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable::unwrap)) + cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1293,7 +1293,7 @@ public open class CfnNetworkInterface( * @param tags The tags to apply to the network interface. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1860,7 +1860,7 @@ public open class CfnNetworkInterface( * address, Amazon EC2 automatically assigns a primary private IP address. */ override fun primary(primary: IResolvable) { - cdkBuilder.primary(primary.let(IResolvable::unwrap)) + cdkBuilder.primary(primary.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachment.kt index 7b698b8039..883eb6d65e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachment.kt @@ -55,8 +55,8 @@ public open class CfnNetworkInterfaceAttachment( id: String, props: CfnNetworkInterfaceAttachmentProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInterfaceAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInterfaceAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInterfaceAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInterfaceAttachmentProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnNetworkInterfaceAttachment( * Whether to delete the network interface when the instance terminates. */ public open fun deleteOnTermination(`value`: IResolvable) { - unwrap(this).setDeleteOnTermination(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteOnTermination(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -111,14 +111,14 @@ public open class CfnNetworkInterfaceAttachment( * Configures ENA Express for the network interface that this action attaches to the instance. */ public open fun enaSrdSpecification(`value`: IResolvable) { - unwrap(this).setEnaSrdSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnaSrdSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures ENA Express for the network interface that this action attaches to the instance. */ public open fun enaSrdSpecification(`value`: EnaSrdSpecificationProperty) { - unwrap(this).setEnaSrdSpecification(`value`.let(EnaSrdSpecificationProperty::unwrap)) + unwrap(this).setEnaSrdSpecification(`value`.let(EnaSrdSpecificationProperty.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnNetworkInterfaceAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnNetworkInterfaceAttachment( * terminates. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnNetworkInterfaceAttachment( * attaches to the instance. */ override fun enaSrdSpecification(enaSrdSpecification: IResolvable) { - cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(IResolvable::unwrap)) + cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnNetworkInterfaceAttachment( * attaches to the instance. */ override fun enaSrdSpecification(enaSrdSpecification: EnaSrdSpecificationProperty) { - cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(EnaSrdSpecificationProperty::unwrap)) + cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(EnaSrdSpecificationProperty.Companion::unwrap)) } /** @@ -475,21 +475,21 @@ public open class CfnNetworkInterfaceAttachment( * @param enaSrdEnabled Indicates whether ENA Express is enabled for the network interface. */ override fun enaSrdEnabled(enaSrdEnabled: IResolvable) { - cdkBuilder.enaSrdEnabled(enaSrdEnabled.let(IResolvable::unwrap)) + cdkBuilder.enaSrdEnabled(enaSrdEnabled.let(IResolvable.Companion::unwrap)) } /** * @param enaSrdUdpSpecification Configures ENA Express for UDP network traffic. */ override fun enaSrdUdpSpecification(enaSrdUdpSpecification: IResolvable) { - cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(IResolvable::unwrap)) + cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(IResolvable.Companion::unwrap)) } /** * @param enaSrdUdpSpecification Configures ENA Express for UDP network traffic. */ override fun enaSrdUdpSpecification(enaSrdUdpSpecification: EnaSrdUdpSpecificationProperty) { - cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(EnaSrdUdpSpecificationProperty::unwrap)) + cdkBuilder.enaSrdUdpSpecification(enaSrdUdpSpecification.let(EnaSrdUdpSpecificationProperty.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class CfnNetworkInterfaceAttachment( * To specify this setting, you must first enable ENA Express. */ override fun enaSrdUdpEnabled(enaSrdUdpEnabled: IResolvable) { - cdkBuilder.enaSrdUdpEnabled(enaSrdUdpEnabled.let(IResolvable::unwrap)) + cdkBuilder.enaSrdUdpEnabled(enaSrdUdpEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachmentProps.kt index a27bc0a094..a8e79e6e39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceAttachmentProps.kt @@ -159,7 +159,7 @@ public interface CfnNetworkInterfaceAttachmentProps { * By default, this value is set to `true` . */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public interface CfnNetworkInterfaceAttachmentProps { * attaches to the instance. */ override fun enaSrdSpecification(enaSrdSpecification: IResolvable) { - cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(IResolvable::unwrap)) + cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface CfnNetworkInterfaceAttachmentProps { */ override fun enaSrdSpecification(enaSrdSpecification: CfnNetworkInterfaceAttachment.EnaSrdSpecificationProperty) { - cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(CfnNetworkInterfaceAttachment.EnaSrdSpecificationProperty::unwrap)) + cdkBuilder.enaSrdSpecification(enaSrdSpecification.let(CfnNetworkInterfaceAttachment.EnaSrdSpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfacePermission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfacePermission.kt index c1aaa364a7..a82b3f9e4e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfacePermission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfacePermission.kt @@ -41,8 +41,8 @@ public open class CfnNetworkInterfacePermission( id: String, props: CfnNetworkInterfacePermissionProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkInterfacePermission(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkInterfacePermissionProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkInterfacePermission(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkInterfacePermissionProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnNetworkInterfacePermission( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceProps.kt index b685c6c71f..2929203d47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkInterfaceProps.kt @@ -542,7 +542,7 @@ public interface CfnNetworkInterfaceProps { * interface. */ override fun connectionTrackingSpecification(connectionTrackingSpecification: IResolvable) { - cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(IResolvable::unwrap)) + cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface CfnNetworkInterfaceProps { */ override fun connectionTrackingSpecification(connectionTrackingSpecification: CfnNetworkInterface.ConnectionTrackingSpecificationProperty) { - cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(CfnNetworkInterface.ConnectionTrackingSpecificationProperty::unwrap)) + cdkBuilder.connectionTrackingSpecification(connectionTrackingSpecification.let(CfnNetworkInterface.ConnectionTrackingSpecificationProperty.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public interface CfnNetworkInterfaceProps { * address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address. */ override fun enablePrimaryIpv6(enablePrimaryIpv6: IResolvable) { - cdkBuilder.enablePrimaryIpv6(enablePrimaryIpv6.let(IResolvable::unwrap)) + cdkBuilder.enablePrimaryIpv6(enablePrimaryIpv6.let(IResolvable.Companion::unwrap)) } /** @@ -644,7 +644,7 @@ public interface CfnNetworkInterfaceProps { * IPv4 addresses. */ override fun ipv4Prefixes(ipv4Prefixes: IResolvable) { - cdkBuilder.ipv4Prefixes(ipv4Prefixes.let(IResolvable::unwrap)) + cdkBuilder.ipv4Prefixes(ipv4Prefixes.let(IResolvable.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public interface CfnNetworkInterfaceProps { * prefixes. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public interface CfnNetworkInterfaceProps { * the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses. */ override fun ipv6Prefixes(ipv6Prefixes: IResolvable) { - cdkBuilder.ipv6Prefixes(ipv6Prefixes.let(IResolvable::unwrap)) + cdkBuilder.ipv6Prefixes(ipv6Prefixes.let(IResolvable.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public interface CfnNetworkInterfaceProps { * count of IPv4 prefixes. */ override fun privateIpAddresses(privateIpAddresses: IResolvable) { - cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable::unwrap)) + cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -842,7 +842,7 @@ public interface CfnNetworkInterfaceProps { * services such as network address translation, routing, or firewalls. */ override fun sourceDestCheck(sourceDestCheck: IResolvable) { - cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable::unwrap)) + cdkBuilder.sourceDestCheck(sourceDestCheck.let(IResolvable.Companion::unwrap)) } /** @@ -856,7 +856,7 @@ public interface CfnNetworkInterfaceProps { * @param tags The tags to apply to the network interface. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkPerformanceMetricSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkPerformanceMetricSubscription.kt index 09933a613a..33630873c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkPerformanceMetricSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnNetworkPerformanceMetricSubscription.kt @@ -40,8 +40,8 @@ public open class CfnNetworkPerformanceMetricSubscription( id: String, props: CfnNetworkPerformanceMetricSubscriptionProps, ) : - this(software.amazon.awscdk.services.ec2.CfnNetworkPerformanceMetricSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkPerformanceMetricSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnNetworkPerformanceMetricSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkPerformanceMetricSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnNetworkPerformanceMetricSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroup.kt index 0d5679c88d..d2002deabf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroup.kt @@ -55,7 +55,7 @@ public open class CfnPlacementGroup( cdkObject: software.amazon.awscdk.services.ec2.CfnPlacementGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnPlacementGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnPlacementGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -64,8 +64,8 @@ public open class CfnPlacementGroup( id: String, props: CfnPlacementGroupProps, ) : - this(software.amazon.awscdk.services.ec2.CfnPlacementGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlacementGroupProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnPlacementGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlacementGroupProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnPlacementGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnPlacementGroup( * The tags to apply to the new placement group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnPlacementGroup( * @param tags The tags to apply to the new placement group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroupProps.kt index 0175e5e564..729958346c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPlacementGroupProps.kt @@ -133,7 +133,7 @@ public interface CfnPlacementGroupProps { * @param tags The tags to apply to the new placement group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixList.kt index c3ea37f043..0c068f2351 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixList.kt @@ -59,8 +59,8 @@ public open class CfnPrefixList( id: String, props: CfnPrefixListProps, ) : - this(software.amazon.awscdk.services.ec2.CfnPrefixList(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPrefixListProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnPrefixList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPrefixListProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnPrefixList( * One or more entries for the prefix list. */ public open fun entries(`value`: IResolvable) { - unwrap(this).setEntries(`value`.let(IResolvable::unwrap)) + unwrap(this).setEntries(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnPrefixList( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnPrefixList( * The tags for the prefix list. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnPrefixList( * @param entries One or more entries for the prefix list. */ override fun entries(entries: IResolvable) { - cdkBuilder.entries(entries.let(IResolvable::unwrap)) + cdkBuilder.entries(entries.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnPrefixList( * @param tags The tags for the prefix list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixListProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixListProps.kt index cf202123b5..b6e905f935 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixListProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnPrefixListProps.kt @@ -145,7 +145,7 @@ public interface CfnPrefixListProps { * @param entries One or more entries for the prefix list. */ override fun entries(entries: IResolvable) { - cdkBuilder.entries(entries.let(IResolvable::unwrap)) + cdkBuilder.entries(entries.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface CfnPrefixListProps { * @param tags The tags for the prefix list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRoute.kt index 98e420f5d1..124cb316e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRoute.kt @@ -62,8 +62,8 @@ public open class CfnRoute( id: String, props: CfnRouteProps, ) : - this(software.amazon.awscdk.services.ec2.CfnRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteProps.Companion::unwrap)) ) public constructor( @@ -169,7 +169,7 @@ public open class CfnRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTable.kt index c1bfcbccbc..e67f144509 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTable.kt @@ -50,8 +50,8 @@ public open class CfnRouteTable( id: String, props: CfnRouteTableProps, ) : - this(software.amazon.awscdk.services.ec2.CfnRouteTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteTableProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnRouteTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteTableProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnRouteTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public open class CfnRouteTable( * Any tags assigned to the route table. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class CfnRouteTable( * @param tags Any tags assigned to the route table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTableProps.kt index 571f1cf0f9..bf15932fd3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnRouteTableProps.kt @@ -75,7 +75,7 @@ public interface CfnRouteTableProps { * @param tags Any tags assigned to the route table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroup.kt index 44f8dd132d..7e3f9b5d78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroup.kt @@ -99,8 +99,8 @@ public open class CfnSecurityGroup( id: String, props: CfnSecurityGroupProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityGroupProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityGroupProps.Companion::unwrap)) ) public constructor( @@ -159,7 +159,7 @@ public open class CfnSecurityGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnSecurityGroup( * The outbound rules associated with the security group. */ public open fun securityGroupEgress(`value`: IResolvable) { - unwrap(this).setSecurityGroupEgress(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecurityGroupEgress(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnSecurityGroup( * The inbound rules associated with the security group. */ public open fun securityGroupIngress(`value`: IResolvable) { - unwrap(this).setSecurityGroupIngress(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecurityGroupIngress(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnSecurityGroup( * Any tags assigned to the security group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnSecurityGroup( * @param securityGroupEgress The outbound rules associated with the security group. */ override fun securityGroupEgress(securityGroupEgress: IResolvable) { - cdkBuilder.securityGroupEgress(securityGroupEgress.let(IResolvable::unwrap)) + cdkBuilder.securityGroupEgress(securityGroupEgress.let(IResolvable.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnSecurityGroup( * @param securityGroupIngress The inbound rules associated with the security group. */ override fun securityGroupIngress(securityGroupIngress: IResolvable) { - cdkBuilder.securityGroupIngress(securityGroupIngress.let(IResolvable::unwrap)) + cdkBuilder.securityGroupIngress(securityGroupIngress.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnSecurityGroup( * @param tags Any tags assigned to the security group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupEgress.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupEgress.kt index ff0cf8f052..65143e166e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupEgress.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupEgress.kt @@ -61,8 +61,8 @@ public open class CfnSecurityGroupEgress( id: String, props: CfnSecurityGroupEgressProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSecurityGroupEgress(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityGroupEgressProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSecurityGroupEgress(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityGroupEgressProps.Companion::unwrap)) ) public constructor( @@ -168,7 +168,7 @@ public open class CfnSecurityGroupEgress( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupIngress.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupIngress.kt index 4e396fa527..ce42971037 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupIngress.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupIngress.kt @@ -64,8 +64,8 @@ public open class CfnSecurityGroupIngress( id: String, props: CfnSecurityGroupIngressProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityGroupIngressProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityGroupIngressProps.Companion::unwrap)) ) public constructor( @@ -158,7 +158,7 @@ public open class CfnSecurityGroupIngress( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupProps.kt index 819e7ccfe4..d2bd276d9f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSecurityGroupProps.kt @@ -221,7 +221,7 @@ public interface CfnSecurityGroupProps { * There is a short interruption during which you cannot connect to the security group. */ override fun securityGroupEgress(securityGroupEgress: IResolvable) { - cdkBuilder.securityGroupEgress(securityGroupEgress.let(IResolvable::unwrap)) + cdkBuilder.securityGroupEgress(securityGroupEgress.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CfnSecurityGroupProps { * There is a short interruption during which you cannot connect to the security group. */ override fun securityGroupIngress(securityGroupIngress: IResolvable) { - cdkBuilder.securityGroupIngress(securityGroupIngress.let(IResolvable::unwrap)) + cdkBuilder.securityGroupIngress(securityGroupIngress.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface CfnSecurityGroupProps { * @param tags Any tags assigned to the security group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSnapshotBlockPublicAccess.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSnapshotBlockPublicAccess.kt index c7dbc9a2dd..5a7ffd62ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSnapshotBlockPublicAccess.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSnapshotBlockPublicAccess.kt @@ -39,8 +39,8 @@ public open class CfnSnapshotBlockPublicAccess( id: String, props: CfnSnapshotBlockPublicAccessProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSnapshotBlockPublicAccess(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSnapshotBlockPublicAccessProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSnapshotBlockPublicAccess(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSnapshotBlockPublicAccessProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class CfnSnapshotBlockPublicAccess( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleet.kt index 4abc72666d..71ec05041f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleet.kt @@ -301,8 +301,8 @@ public open class CfnSpotFleet( id: String, props: CfnSpotFleetProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSpotFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSpotFleetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSpotFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSpotFleetProps.Companion::unwrap)) ) public constructor( @@ -323,7 +323,7 @@ public open class CfnSpotFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -335,14 +335,14 @@ public open class CfnSpotFleet( * Describes the configuration of a Spot Fleet request. */ public open fun spotFleetRequestConfigData(`value`: IResolvable) { - unwrap(this).setSpotFleetRequestConfigData(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpotFleetRequestConfigData(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the configuration of a Spot Fleet request. */ public open fun spotFleetRequestConfigData(`value`: SpotFleetRequestConfigDataProperty) { - unwrap(this).setSpotFleetRequestConfigData(`value`.let(SpotFleetRequestConfigDataProperty::unwrap)) + unwrap(this).setSpotFleetRequestConfigData(`value`.let(SpotFleetRequestConfigDataProperty.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public open class CfnSpotFleet( * @param spotFleetRequestConfigData Describes the configuration of a Spot Fleet request. */ override fun spotFleetRequestConfigData(spotFleetRequestConfigData: IResolvable) { - cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(IResolvable::unwrap)) + cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnSpotFleet( */ override fun spotFleetRequestConfigData(spotFleetRequestConfigData: SpotFleetRequestConfigDataProperty) { - cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(SpotFleetRequestConfigDataProperty::unwrap)) + cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(SpotFleetRequestConfigDataProperty.Companion::unwrap)) } /** @@ -974,7 +974,7 @@ public open class CfnSpotFleet( * launched. */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** @@ -982,7 +982,7 @@ public open class CfnSpotFleet( * launched. */ override fun ebs(ebs: EbsBlockDeviceProperty) { - cdkBuilder.ebs(ebs.let(EbsBlockDeviceProperty::unwrap)) + cdkBuilder.ebs(ebs.let(EbsBlockDeviceProperty.Companion::unwrap)) } /** @@ -1232,7 +1232,7 @@ public open class CfnSpotFleet( * @param classicLoadBalancers One or more Classic Load Balancers. */ override fun classicLoadBalancers(classicLoadBalancers: IResolvable) { - cdkBuilder.classicLoadBalancers(classicLoadBalancers.let(IResolvable::unwrap)) + cdkBuilder.classicLoadBalancers(classicLoadBalancers.let(IResolvable.Companion::unwrap)) } /** @@ -1544,7 +1544,7 @@ public open class CfnSpotFleet( * in the *Amazon EC2 User Guide* . */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1592,7 +1592,7 @@ public open class CfnSpotFleet( * . */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -2555,7 +2555,7 @@ public open class CfnSpotFleet( * Address* tab on the [Amazon VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -2571,7 +2571,7 @@ public open class CfnSpotFleet( * instance is terminated. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -2624,7 +2624,7 @@ public open class CfnSpotFleet( * to launch. */ override fun ipv6Addresses(ipv6Addresses: IResolvable) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -2663,7 +2663,7 @@ public open class CfnSpotFleet( * request. */ override fun privateIpAddresses(privateIpAddresses: IResolvable) { - cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable::unwrap)) + cdkBuilder.privateIpAddresses(privateIpAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -4002,7 +4002,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: IResolvable) { - cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(IResolvable.Companion::unwrap)) } /** @@ -4013,7 +4013,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun acceleratorCount(acceleratorCount: AcceleratorCountRequestProperty) { - cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRequestProperty::unwrap)) + cdkBuilder.acceleratorCount(acceleratorCount.let(AcceleratorCountRequestProperty.Companion::unwrap)) } /** @@ -4105,7 +4105,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: IResolvable) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(IResolvable.Companion::unwrap)) } /** @@ -4115,7 +4115,7 @@ public open class CfnSpotFleet( */ override fun acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB: AcceleratorTotalMemoryMiBRequestProperty) { - cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRequestProperty::unwrap)) + cdkBuilder.acceleratorTotalMemoryMiB(acceleratorTotalMemoryMiB.let(AcceleratorTotalMemoryMiBRequestProperty.Companion::unwrap)) } /** @@ -4219,7 +4219,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: IResolvable) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(IResolvable.Companion::unwrap)) } /** @@ -4233,7 +4233,7 @@ public open class CfnSpotFleet( */ override fun baselineEbsBandwidthMbps(baselineEbsBandwidthMbps: BaselineEbsBandwidthMbpsRequestProperty) { - cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsRequestProperty::unwrap)) + cdkBuilder.baselineEbsBandwidthMbps(baselineEbsBandwidthMbps.let(BaselineEbsBandwidthMbpsRequestProperty.Companion::unwrap)) } /** @@ -4452,7 +4452,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: IResolvable) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(IResolvable.Companion::unwrap)) } /** @@ -4460,7 +4460,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun memoryGiBPerVCpu(memoryGiBPerVCpu: MemoryGiBPerVCpuRequestProperty) { - cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuRequestProperty::unwrap)) + cdkBuilder.memoryGiBPerVCpu(memoryGiBPerVCpu.let(MemoryGiBPerVCpuRequestProperty.Companion::unwrap)) } /** @@ -4477,14 +4477,14 @@ public open class CfnSpotFleet( * @param memoryMiB The minimum and maximum amount of memory, in MiB. */ override fun memoryMiB(memoryMiB: IResolvable) { - cdkBuilder.memoryMiB(memoryMiB.let(IResolvable::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(IResolvable.Companion::unwrap)) } /** * @param memoryMiB The minimum and maximum amount of memory, in MiB. */ override fun memoryMiB(memoryMiB: MemoryMiBRequestProperty) { - cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRequestProperty::unwrap)) + cdkBuilder.memoryMiB(memoryMiB.let(MemoryMiBRequestProperty.Companion::unwrap)) } /** @@ -4505,7 +4505,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: IResolvable) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(IResolvable.Companion::unwrap)) } /** @@ -4518,7 +4518,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun networkBandwidthGbps(networkBandwidthGbps: NetworkBandwidthGbpsRequestProperty) { - cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsRequestProperty::unwrap)) + cdkBuilder.networkBandwidthGbps(networkBandwidthGbps.let(NetworkBandwidthGbpsRequestProperty.Companion::unwrap)) } /** @@ -4541,7 +4541,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun networkInterfaceCount(networkInterfaceCount: IResolvable) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(IResolvable.Companion::unwrap)) } /** @@ -4550,7 +4550,7 @@ public open class CfnSpotFleet( */ override fun networkInterfaceCount(networkInterfaceCount: NetworkInterfaceCountRequestProperty) { - cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountRequestProperty::unwrap)) + cdkBuilder.networkInterfaceCount(networkInterfaceCount.let(NetworkInterfaceCountRequestProperty.Companion::unwrap)) } /** @@ -4616,7 +4616,7 @@ public open class CfnSpotFleet( * Default: `false` */ override fun requireHibernateSupport(requireHibernateSupport: IResolvable) { - cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable::unwrap)) + cdkBuilder.requireHibernateSupport(requireHibernateSupport.let(IResolvable.Companion::unwrap)) } /** @@ -4663,7 +4663,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: IResolvable) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(IResolvable.Companion::unwrap)) } /** @@ -4671,7 +4671,7 @@ public open class CfnSpotFleet( * Default: No minimum or maximum limits */ override fun totalLocalStorageGb(totalLocalStorageGb: TotalLocalStorageGBRequestProperty) { - cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBRequestProperty::unwrap)) + cdkBuilder.totalLocalStorageGb(totalLocalStorageGb.let(TotalLocalStorageGBRequestProperty.Companion::unwrap)) } /** @@ -4688,14 +4688,14 @@ public open class CfnSpotFleet( * @param vCpuCount The minimum and maximum number of vCPUs. */ override fun vCpuCount(vCpuCount: IResolvable) { - cdkBuilder.vCpuCount(vCpuCount.let(IResolvable::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(IResolvable.Companion::unwrap)) } /** * @param vCpuCount The minimum and maximum number of vCPUs. */ override fun vCpuCount(vCpuCount: VCpuCountRangeRequestProperty) { - cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeRequestProperty::unwrap)) + cdkBuilder.vCpuCount(vCpuCount.let(VCpuCountRangeRequestProperty.Companion::unwrap)) } /** @@ -5300,7 +5300,7 @@ public open class CfnSpotFleet( * because you can't specify a network interface ID in a Spot Fleet. */ override fun launchTemplateSpecification(launchTemplateSpecification: IResolvable) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -5310,7 +5310,7 @@ public open class CfnSpotFleet( */ override fun launchTemplateSpecification(launchTemplateSpecification: FleetLaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(FleetLaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplateSpecification(launchTemplateSpecification.let(FleetLaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -5330,7 +5330,7 @@ public open class CfnSpotFleet( * template. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** @@ -5674,7 +5674,7 @@ public open class CfnSpotFleet( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: IResolvable) { - cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -5688,7 +5688,7 @@ public open class CfnSpotFleet( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: InstanceRequirementsRequestProperty) { - cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsRequestProperty::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsRequestProperty.Companion::unwrap)) } /** @@ -5970,7 +5970,7 @@ public open class CfnSpotFleet( * @param classicLoadBalancersConfig The Classic Load Balancers. */ override fun classicLoadBalancersConfig(classicLoadBalancersConfig: IResolvable) { - cdkBuilder.classicLoadBalancersConfig(classicLoadBalancersConfig.let(IResolvable::unwrap)) + cdkBuilder.classicLoadBalancersConfig(classicLoadBalancersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -5978,7 +5978,7 @@ public open class CfnSpotFleet( */ override fun classicLoadBalancersConfig(classicLoadBalancersConfig: ClassicLoadBalancersConfigProperty) { - cdkBuilder.classicLoadBalancersConfig(classicLoadBalancersConfig.let(ClassicLoadBalancersConfigProperty::unwrap)) + cdkBuilder.classicLoadBalancersConfig(classicLoadBalancersConfig.let(ClassicLoadBalancersConfigProperty.Companion::unwrap)) } /** @@ -5995,14 +5995,14 @@ public open class CfnSpotFleet( * @param targetGroupsConfig The target groups. */ override fun targetGroupsConfig(targetGroupsConfig: IResolvable) { - cdkBuilder.targetGroupsConfig(targetGroupsConfig.let(IResolvable::unwrap)) + cdkBuilder.targetGroupsConfig(targetGroupsConfig.let(IResolvable.Companion::unwrap)) } /** * @param targetGroupsConfig The target groups. */ override fun targetGroupsConfig(targetGroupsConfig: TargetGroupsConfigProperty) { - cdkBuilder.targetGroupsConfig(targetGroupsConfig.let(TargetGroupsConfigProperty::unwrap)) + cdkBuilder.targetGroupsConfig(targetGroupsConfig.let(TargetGroupsConfigProperty.Companion::unwrap)) } /** @@ -6629,7 +6629,7 @@ public open class CfnSpotFleet( * Only one IPv4 address can be designated as primary. */ override fun primary(primary: IResolvable) { - cdkBuilder.primary(primary.let(IResolvable::unwrap)) + cdkBuilder.primary(primary.let(IResolvable.Companion::unwrap)) } /** @@ -7446,7 +7446,7 @@ public open class CfnSpotFleet( * and its encryption status is used for the volume encryption status. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -7489,21 +7489,21 @@ public open class CfnSpotFleet( * Default: `false` */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** * @param iamInstanceProfile The IAM instance profile. */ override fun iamInstanceProfile(iamInstanceProfile: IResolvable) { - cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IResolvable::unwrap)) + cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IResolvable.Companion::unwrap)) } /** * @param iamInstanceProfile The IAM instance profile. */ override fun iamInstanceProfile(iamInstanceProfile: IamInstanceProfileSpecificationProperty) { - cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IamInstanceProfileSpecificationProperty::unwrap)) + cdkBuilder.iamInstanceProfile(iamInstanceProfile.let(IamInstanceProfileSpecificationProperty.Companion::unwrap)) } /** @@ -7531,7 +7531,7 @@ public open class CfnSpotFleet( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: IResolvable) { - cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -7543,7 +7543,7 @@ public open class CfnSpotFleet( * If you specify `InstanceRequirements` , you can't specify `InstanceType` . */ override fun instanceRequirements(instanceRequirements: InstanceRequirementsRequestProperty) { - cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsRequestProperty::unwrap)) + cdkBuilder.instanceRequirements(instanceRequirements.let(InstanceRequirementsRequestProperty.Companion::unwrap)) } /** @@ -7585,14 +7585,14 @@ public open class CfnSpotFleet( * @param monitoring Enable or disable monitoring for the instances. */ override fun monitoring(monitoring: IResolvable) { - cdkBuilder.monitoring(monitoring.let(IResolvable::unwrap)) + cdkBuilder.monitoring(monitoring.let(IResolvable.Companion::unwrap)) } /** * @param monitoring Enable or disable monitoring for the instances. */ override fun monitoring(monitoring: SpotFleetMonitoringProperty) { - cdkBuilder.monitoring(monitoring.let(SpotFleetMonitoringProperty::unwrap)) + cdkBuilder.monitoring(monitoring.let(SpotFleetMonitoringProperty.Companion::unwrap)) } /** @@ -7607,7 +7607,7 @@ public open class CfnSpotFleet( * @param networkInterfaces The network interfaces. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -7627,14 +7627,14 @@ public open class CfnSpotFleet( * @param placement The placement information. */ override fun placement(placement: IResolvable) { - cdkBuilder.placement(placement.let(IResolvable::unwrap)) + cdkBuilder.placement(placement.let(IResolvable.Companion::unwrap)) } /** * @param placement The placement information. */ override fun placement(placement: SpotPlacementProperty) { - cdkBuilder.placement(placement.let(SpotPlacementProperty::unwrap)) + cdkBuilder.placement(placement.let(SpotPlacementProperty.Companion::unwrap)) } /** @@ -7661,7 +7661,7 @@ public open class CfnSpotFleet( * network interface instead of using this parameter. */ override fun securityGroups(securityGroups: IResolvable) { - cdkBuilder.securityGroups(securityGroups.let(IResolvable::unwrap)) + cdkBuilder.securityGroups(securityGroups.let(IResolvable.Companion::unwrap)) } /** @@ -7711,7 +7711,7 @@ public open class CfnSpotFleet( * @param tagSpecifications The tags to apply during creation. */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -8015,7 +8015,7 @@ public open class CfnSpotFleet( * Default: `false` */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -9102,7 +9102,7 @@ public open class CfnSpotFleet( * If you specify `LaunchSpecifications` , you can't specify `LaunchTemplateConfigs` . */ override fun launchSpecifications(launchSpecifications: IResolvable) { - cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -9125,7 +9125,7 @@ public open class CfnSpotFleet( * If you specify `LaunchTemplateConfigs` , you can't specify `LaunchSpecifications` . */ override fun launchTemplateConfigs(launchTemplateConfigs: IResolvable) { - cdkBuilder.launchTemplateConfigs(launchTemplateConfigs.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateConfigs(launchTemplateConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -9153,7 +9153,7 @@ public open class CfnSpotFleet( * instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. */ override fun loadBalancersConfig(loadBalancersConfig: IResolvable) { - cdkBuilder.loadBalancersConfig(loadBalancersConfig.let(IResolvable::unwrap)) + cdkBuilder.loadBalancersConfig(loadBalancersConfig.let(IResolvable.Companion::unwrap)) } /** @@ -9166,7 +9166,7 @@ public open class CfnSpotFleet( * instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. */ override fun loadBalancersConfig(loadBalancersConfig: LoadBalancersConfigProperty) { - cdkBuilder.loadBalancersConfig(loadBalancersConfig.let(LoadBalancersConfigProperty::unwrap)) + cdkBuilder.loadBalancersConfig(loadBalancersConfig.let(LoadBalancersConfigProperty.Companion::unwrap)) } /** @@ -9243,7 +9243,7 @@ public open class CfnSpotFleet( * instances. */ override fun replaceUnhealthyInstances(replaceUnhealthyInstances: IResolvable) { - cdkBuilder.replaceUnhealthyInstances(replaceUnhealthyInstances.let(IResolvable::unwrap)) + cdkBuilder.replaceUnhealthyInstances(replaceUnhealthyInstances.let(IResolvable.Companion::unwrap)) } /** @@ -9251,7 +9251,7 @@ public open class CfnSpotFleet( * at an elevated risk of being interrupted. */ override fun spotMaintenanceStrategies(spotMaintenanceStrategies: IResolvable) { - cdkBuilder.spotMaintenanceStrategies(spotMaintenanceStrategies.let(IResolvable::unwrap)) + cdkBuilder.spotMaintenanceStrategies(spotMaintenanceStrategies.let(IResolvable.Companion::unwrap)) } /** @@ -9260,7 +9260,7 @@ public open class CfnSpotFleet( */ override fun spotMaintenanceStrategies(spotMaintenanceStrategies: SpotMaintenanceStrategiesProperty) { - cdkBuilder.spotMaintenanceStrategies(spotMaintenanceStrategies.let(SpotMaintenanceStrategiesProperty::unwrap)) + cdkBuilder.spotMaintenanceStrategies(spotMaintenanceStrategies.let(SpotMaintenanceStrategiesProperty.Companion::unwrap)) } /** @@ -9324,7 +9324,7 @@ public open class CfnSpotFleet( * . */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -9391,7 +9391,7 @@ public open class CfnSpotFleet( * terminated when the Spot Fleet request expires. */ override fun terminateInstancesWithExpiration(terminateInstancesWithExpiration: IResolvable) { - cdkBuilder.terminateInstancesWithExpiration(terminateInstancesWithExpiration.let(IResolvable::unwrap)) + cdkBuilder.terminateInstancesWithExpiration(terminateInstancesWithExpiration.let(IResolvable.Companion::unwrap)) } /** @@ -9862,7 +9862,7 @@ public open class CfnSpotFleet( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -10001,7 +10001,7 @@ public open class CfnSpotFleet( * in the *Amazon EC2 User Guide for Linux Instances* . */ override fun capacityRebalance(capacityRebalance: IResolvable) { - cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable::unwrap)) + cdkBuilder.capacityRebalance(capacityRebalance.let(IResolvable.Companion::unwrap)) } /** @@ -10012,7 +10012,7 @@ public open class CfnSpotFleet( * in the *Amazon EC2 User Guide for Linux Instances* . */ override fun capacityRebalance(capacityRebalance: SpotCapacityRebalanceProperty) { - cdkBuilder.capacityRebalance(capacityRebalance.let(SpotCapacityRebalanceProperty::unwrap)) + cdkBuilder.capacityRebalance(capacityRebalance.let(SpotCapacityRebalanceProperty.Companion::unwrap)) } /** @@ -10360,7 +10360,7 @@ public open class CfnSpotFleet( * @param targetGroups One or more target groups. */ override fun targetGroups(targetGroups: IResolvable) { - cdkBuilder.targetGroups(targetGroups.let(IResolvable::unwrap)) + cdkBuilder.targetGroups(targetGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleetProps.kt index 11ccf5ad83..4f8070962d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSpotFleetProps.kt @@ -301,7 +301,7 @@ public interface CfnSpotFleetProps { * @param spotFleetRequestConfigData Describes the configuration of a Spot Fleet request. */ override fun spotFleetRequestConfigData(spotFleetRequestConfigData: IResolvable) { - cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(IResolvable::unwrap)) + cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(IResolvable.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface CfnSpotFleetProps { */ override fun spotFleetRequestConfigData(spotFleetRequestConfigData: CfnSpotFleet.SpotFleetRequestConfigDataProperty) { - cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(CfnSpotFleet.SpotFleetRequestConfigDataProperty::unwrap)) + cdkBuilder.spotFleetRequestConfigData(spotFleetRequestConfigData.let(CfnSpotFleet.SpotFleetRequestConfigDataProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnet.kt index 744a0ee73c..deaadaad89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnet.kt @@ -74,8 +74,8 @@ public open class CfnSubnet( id: String, props: CfnSubnetProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSubnet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSubnet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnSubnet( * The default value is `false` . */ public open fun assignIpv6AddressOnCreation(`value`: IResolvable) { - unwrap(this).setAssignIpv6AddressOnCreation(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssignIpv6AddressOnCreation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnSubnet( * return synthetic IPv6 addresses for IPv4-only destinations. */ public open fun enableDns64(`value`: IResolvable) { - unwrap(this).setEnableDns64(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDns64(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnSubnet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class CfnSubnet( * Indicates whether this is an IPv6 only subnet. */ public open fun ipv6Native(`value`: IResolvable) { - unwrap(this).setIpv6Native(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpv6Native(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CfnSubnet( * The default value is `false` . */ public open fun mapPublicIpOnLaunch(`value`: IResolvable) { - unwrap(this).setMapPublicIpOnLaunch(`value`.let(IResolvable::unwrap)) + unwrap(this).setMapPublicIpOnLaunch(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnSubnet( * Any tags assigned to the subnet. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnSubnet( * subnet receives an IPv6 address. The default value is `false` . */ override fun assignIpv6AddressOnCreation(assignIpv6AddressOnCreation: IResolvable) { - cdkBuilder.assignIpv6AddressOnCreation(assignIpv6AddressOnCreation.let(IResolvable::unwrap)) + cdkBuilder.assignIpv6AddressOnCreation(assignIpv6AddressOnCreation.let(IResolvable.Companion::unwrap)) } /** @@ -778,7 +778,7 @@ public open class CfnSubnet( * this subnet should return synthetic IPv6 addresses for IPv4-only destinations. */ override fun enableDns64(enableDns64: IResolvable) { - cdkBuilder.enableDns64(enableDns64.let(IResolvable::unwrap)) + cdkBuilder.enableDns64(enableDns64.let(IResolvable.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public open class CfnSubnet( * @param ipv6Native Indicates whether this is an IPv6 only subnet. */ override fun ipv6Native(ipv6Native: IResolvable) { - cdkBuilder.ipv6Native(ipv6Native.let(IResolvable::unwrap)) + cdkBuilder.ipv6Native(ipv6Native.let(IResolvable.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public open class CfnSubnet( * public IPv4 address. The default value is `false` . */ override fun mapPublicIpOnLaunch(mapPublicIpOnLaunch: IResolvable) { - cdkBuilder.mapPublicIpOnLaunch(mapPublicIpOnLaunch.let(IResolvable::unwrap)) + cdkBuilder.mapPublicIpOnLaunch(mapPublicIpOnLaunch.let(IResolvable.Companion::unwrap)) } /** @@ -965,7 +965,7 @@ public open class CfnSubnet( * @param tags Any tags assigned to the subnet. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1114,7 +1114,7 @@ public open class CfnSubnet( * instance hostnames with DNS A records. */ override fun enableResourceNameDnsARecord(enableResourceNameDnsARecord: IResolvable) { - cdkBuilder.enableResourceNameDnsARecord(enableResourceNameDnsARecord.let(IResolvable::unwrap)) + cdkBuilder.enableResourceNameDnsARecord(enableResourceNameDnsARecord.let(IResolvable.Companion::unwrap)) } /** @@ -1130,7 +1130,7 @@ public open class CfnSubnet( * instance hostname with DNS AAAA records. */ override fun enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord: IResolvable) { - cdkBuilder.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.let(IResolvable::unwrap)) + cdkBuilder.enableResourceNameDnsAaaaRecord(enableResourceNameDnsAaaaRecord.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetCidrBlock.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetCidrBlock.kt index 03c3e4a1c6..eefd9d775d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetCidrBlock.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetCidrBlock.kt @@ -43,8 +43,8 @@ public open class CfnSubnetCidrBlock( id: String, props: CfnSubnetCidrBlockProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSubnetCidrBlock(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetCidrBlockProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSubnetCidrBlock(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetCidrBlockProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class CfnSubnetCidrBlock( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetNetworkAclAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetNetworkAclAssociation.kt index 883964b456..85ca8833e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetNetworkAclAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetNetworkAclAssociation.kt @@ -47,8 +47,8 @@ public open class CfnSubnetNetworkAclAssociation( id: String, props: CfnSubnetNetworkAclAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSubnetNetworkAclAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetNetworkAclAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSubnetNetworkAclAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetNetworkAclAssociationProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnSubnetNetworkAclAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetProps.kt index 579dd5a546..8cc53605e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetProps.kt @@ -406,7 +406,7 @@ public interface CfnSubnetProps { * If you specify `AssignIpv6AddressOnCreation` , you must also specify an IPv6 CIDR block. */ override fun assignIpv6AddressOnCreation(assignIpv6AddressOnCreation: IResolvable) { - cdkBuilder.assignIpv6AddressOnCreation(assignIpv6AddressOnCreation.let(IResolvable::unwrap)) + cdkBuilder.assignIpv6AddressOnCreation(assignIpv6AddressOnCreation.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface CfnSubnetProps { * in the *Amazon Virtual Private Cloud User Guide* . */ override fun enableDns64(enableDns64: IResolvable) { - cdkBuilder.enableDns64(enableDns64.let(IResolvable::unwrap)) + cdkBuilder.enableDns64(enableDns64.let(IResolvable.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public interface CfnSubnetProps { * *Amazon Virtual Private Cloud User Guide* . */ override fun ipv6Native(ipv6Native: IResolvable) { - cdkBuilder.ipv6Native(ipv6Native.let(IResolvable::unwrap)) + cdkBuilder.ipv6Native(ipv6Native.let(IResolvable.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface CfnSubnetProps { * tab on the [VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . */ override fun mapPublicIpOnLaunch(mapPublicIpOnLaunch: IResolvable) { - cdkBuilder.mapPublicIpOnLaunch(mapPublicIpOnLaunch.let(IResolvable::unwrap)) + cdkBuilder.mapPublicIpOnLaunch(mapPublicIpOnLaunch.let(IResolvable.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public interface CfnSubnetProps { * @param tags Any tags assigned to the subnet. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetRouteTableAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetRouteTableAssociation.kt index 60c356815d..8f622480d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetRouteTableAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnSubnetRouteTableAssociation.kt @@ -43,8 +43,8 @@ public open class CfnSubnetRouteTableAssociation( id: String, props: CfnSubnetRouteTableAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnSubnetRouteTableAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetRouteTableAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnSubnetRouteTableAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetRouteTableAssociationProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class CfnSubnetRouteTableAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilter.kt index af81155cba..ffc277db0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilter.kt @@ -47,7 +47,7 @@ public open class CfnTrafficMirrorFilter( cdkObject: software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilter, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +56,8 @@ public open class CfnTrafficMirrorFilter( id: String, props: CfnTrafficMirrorFilterProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrafficMirrorFilterProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrafficMirrorFilterProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnTrafficMirrorFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnTrafficMirrorFilter( * The tags to assign to a Traffic Mirror filter. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnTrafficMirrorFilter( * @param tags The tags to assign to a Traffic Mirror filter. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterProps.kt index df3cdcccaa..3e53832b23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterProps.kt @@ -122,7 +122,7 @@ public interface CfnTrafficMirrorFilterProps { * @param tags The tags to assign to a Traffic Mirror filter. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRule.kt index 1dc8ba9dc7..cb01d6840a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRule.kt @@ -62,8 +62,8 @@ public open class CfnTrafficMirrorFilterRule( id: String, props: CfnTrafficMirrorFilterRuleProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilterRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrafficMirrorFilterRuleProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilterRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrafficMirrorFilterRuleProps.Companion::unwrap)) ) public constructor( @@ -111,14 +111,14 @@ public open class CfnTrafficMirrorFilterRule( * The destination port range. */ public open fun destinationPortRange(`value`: IResolvable) { - unwrap(this).setDestinationPortRange(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinationPortRange(`value`.let(IResolvable.Companion::unwrap)) } /** * The destination port range. */ public open fun destinationPortRange(`value`: TrafficMirrorPortRangeProperty) { - unwrap(this).setDestinationPortRange(`value`.let(TrafficMirrorPortRangeProperty::unwrap)) + unwrap(this).setDestinationPortRange(`value`.let(TrafficMirrorPortRangeProperty.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnTrafficMirrorFilterRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,14 +195,14 @@ public open class CfnTrafficMirrorFilterRule( * The source port range. */ public open fun sourcePortRange(`value`: IResolvable) { - unwrap(this).setSourcePortRange(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourcePortRange(`value`.let(IResolvable.Companion::unwrap)) } /** * The source port range. */ public open fun sourcePortRange(`value`: TrafficMirrorPortRangeProperty) { - unwrap(this).setSourcePortRange(`value`.let(TrafficMirrorPortRangeProperty::unwrap)) + unwrap(this).setSourcePortRange(`value`.let(TrafficMirrorPortRangeProperty.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnTrafficMirrorFilterRule( * @param destinationPortRange The destination port range. */ override fun destinationPortRange(destinationPortRange: IResolvable) { - cdkBuilder.destinationPortRange(destinationPortRange.let(IResolvable::unwrap)) + cdkBuilder.destinationPortRange(destinationPortRange.let(IResolvable.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class CfnTrafficMirrorFilterRule( * @param destinationPortRange The destination port range. */ override fun destinationPortRange(destinationPortRange: TrafficMirrorPortRangeProperty) { - cdkBuilder.destinationPortRange(destinationPortRange.let(TrafficMirrorPortRangeProperty::unwrap)) + cdkBuilder.destinationPortRange(destinationPortRange.let(TrafficMirrorPortRangeProperty.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnTrafficMirrorFilterRule( * @param sourcePortRange The source port range. */ override fun sourcePortRange(sourcePortRange: IResolvable) { - cdkBuilder.sourcePortRange(sourcePortRange.let(IResolvable::unwrap)) + cdkBuilder.sourcePortRange(sourcePortRange.let(IResolvable.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnTrafficMirrorFilterRule( * @param sourcePortRange The source port range. */ override fun sourcePortRange(sourcePortRange: TrafficMirrorPortRangeProperty) { - cdkBuilder.sourcePortRange(sourcePortRange.let(TrafficMirrorPortRangeProperty::unwrap)) + cdkBuilder.sourcePortRange(sourcePortRange.let(TrafficMirrorPortRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRuleProps.kt index fb6ae903d3..63690ac41f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorFilterRuleProps.kt @@ -235,7 +235,7 @@ public interface CfnTrafficMirrorFilterRuleProps { * @param destinationPortRange The destination port range. */ override fun destinationPortRange(destinationPortRange: IResolvable) { - cdkBuilder.destinationPortRange(destinationPortRange.let(IResolvable::unwrap)) + cdkBuilder.destinationPortRange(destinationPortRange.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface CfnTrafficMirrorFilterRuleProps { */ override fun destinationPortRange(destinationPortRange: CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty) { - cdkBuilder.destinationPortRange(destinationPortRange.let(CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty::unwrap)) + cdkBuilder.destinationPortRange(destinationPortRange.let(CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CfnTrafficMirrorFilterRuleProps { * @param sourcePortRange The source port range. */ override fun sourcePortRange(sourcePortRange: IResolvable) { - cdkBuilder.sourcePortRange(sourcePortRange.let(IResolvable::unwrap)) + cdkBuilder.sourcePortRange(sourcePortRange.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface CfnTrafficMirrorFilterRuleProps { */ override fun sourcePortRange(sourcePortRange: CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty) { - cdkBuilder.sourcePortRange(sourcePortRange.let(CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty::unwrap)) + cdkBuilder.sourcePortRange(sourcePortRange.let(CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSession.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSession.kt index e9bc9ed4d5..93f8d10a25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSession.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSession.kt @@ -63,8 +63,8 @@ public open class CfnTrafficMirrorSession( id: String, props: CfnTrafficMirrorSessionProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorSession(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrafficMirrorSessionProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorSession(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrafficMirrorSessionProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnTrafficMirrorSession( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnTrafficMirrorSession( * The tags to assign to a Traffic Mirror session. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnTrafficMirrorSession( * @param tags The tags to assign to a Traffic Mirror session. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSessionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSessionProps.kt index 30b5c3ea77..267c2aad8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSessionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorSessionProps.kt @@ -237,7 +237,7 @@ public interface CfnTrafficMirrorSessionProps { * @param tags The tags to assign to a Traffic Mirror session. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTarget.kt index 2ea8053538..eafd0a5b50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTarget.kt @@ -54,7 +54,7 @@ public open class CfnTrafficMirrorTarget( cdkObject: software.amazon.awscdk.services.ec2.CfnTrafficMirrorTarget, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -63,8 +63,8 @@ public open class CfnTrafficMirrorTarget( id: String, props: CfnTrafficMirrorTargetProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrafficMirrorTargetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTrafficMirrorTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrafficMirrorTargetProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnTrafficMirrorTarget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnTrafficMirrorTarget( * The tags to assign to the Traffic Mirror target. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnTrafficMirrorTarget( * @param tags The tags to assign to the Traffic Mirror target. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTargetProps.kt index f4a0ec633e..02a072241e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTrafficMirrorTargetProps.kt @@ -144,7 +144,7 @@ public interface CfnTrafficMirrorTargetProps { * @param tags The tags to assign to the Traffic Mirror target. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGateway.kt index 74787cac58..d9df0a70a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGateway.kt @@ -77,7 +77,7 @@ public open class CfnTransitGateway( cdkObject: software.amazon.awscdk.services.ec2.CfnTransitGateway, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnTransitGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnTransitGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -86,8 +86,8 @@ public open class CfnTransitGateway( id: String, props: CfnTransitGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayProps.Companion::unwrap)) ) public constructor( @@ -201,7 +201,7 @@ public open class CfnTransitGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnTransitGateway( * The tags for the transit gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public open class CfnTransitGateway( * @param tags The tags for the transit gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachment.kt index 9126b23ce6..9488d92af6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachment.kt @@ -63,8 +63,8 @@ public open class CfnTransitGatewayAttachment( id: String, props: CfnTransitGatewayAttachmentProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayAttachmentProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnTransitGatewayAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnTransitGatewayAttachment( * The tags for the attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnTransitGatewayAttachment( * @param tags The tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachmentProps.kt index ed61568c3c..0d8e1e7c14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayAttachmentProps.kt @@ -158,7 +158,7 @@ public interface CfnTransitGatewayAttachmentProps { * @param tags The tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnect.kt index 4fc95a4694..ef9aa5f61f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnect.kt @@ -59,8 +59,8 @@ public open class CfnTransitGatewayConnect( id: String, props: CfnTransitGatewayConnectProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayConnect(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayConnectProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayConnect(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayConnectProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnTransitGatewayConnect( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -109,14 +109,14 @@ public open class CfnTransitGatewayConnect( * The Connect attachment options. */ public open fun options(`value`: IResolvable) { - unwrap(this).setOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The Connect attachment options. */ public open fun options(`value`: TransitGatewayConnectOptionsProperty) { - unwrap(this).setOptions(`value`.let(TransitGatewayConnectOptionsProperty::unwrap)) + unwrap(this).setOptions(`value`.let(TransitGatewayConnectOptionsProperty.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnTransitGatewayConnect( * The tags for the attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnTransitGatewayConnect( * @param options The Connect attachment options. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnTransitGatewayConnect( * @param options The Connect attachment options. */ override fun options(options: TransitGatewayConnectOptionsProperty) { - cdkBuilder.options(options.let(TransitGatewayConnectOptionsProperty::unwrap)) + cdkBuilder.options(options.let(TransitGatewayConnectOptionsProperty.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnTransitGatewayConnect( * @param tags The tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnectProps.kt index e00252cb89..831a2e7f7d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayConnectProps.kt @@ -115,7 +115,7 @@ public interface CfnTransitGatewayConnectProps { * * protocol (gre) */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface CfnTransitGatewayConnectProps { * * protocol (gre) */ override fun options(options: CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty) { - cdkBuilder.options(options.let(CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty::unwrap)) + cdkBuilder.options(options.let(CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface CfnTransitGatewayConnectProps { * @param tags The tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomain.kt index 3f7fb3bae7..ef1f034c08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomain.kt @@ -52,8 +52,8 @@ public open class CfnTransitGatewayMulticastDomain( id: String, props: CfnTransitGatewayMulticastDomainProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayMulticastDomainProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayMulticastDomainProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnTransitGatewayMulticastDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnTransitGatewayMulticastDomain( * The tags for the transit gateway multicast domain. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnTransitGatewayMulticastDomain( * @param tags The tags for the transit gateway multicast domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainAssociation.kt index 700d255228..453a13b0d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainAssociation.kt @@ -42,8 +42,8 @@ public open class CfnTransitGatewayMulticastDomainAssociation( id: String, props: CfnTransitGatewayMulticastDomainAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastDomainAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayMulticastDomainAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastDomainAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayMulticastDomainAssociationProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnTransitGatewayMulticastDomainAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainProps.kt index 623536c60e..2ee796c0c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastDomainProps.kt @@ -109,7 +109,7 @@ public interface CfnTransitGatewayMulticastDomainProps { * @param tags The tags for the transit gateway multicast domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupMember.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupMember.kt index 076f1b6505..8c17514c96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupMember.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupMember.kt @@ -45,8 +45,8 @@ public open class CfnTransitGatewayMulticastGroupMember( id: String, props: CfnTransitGatewayMulticastGroupMemberProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastGroupMember(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayMulticastGroupMemberProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastGroupMember(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayMulticastGroupMemberProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnTransitGatewayMulticastGroupMember( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupSource.kt index dc4ce7babb..8357005e73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayMulticastGroupSource.kt @@ -45,8 +45,8 @@ public open class CfnTransitGatewayMulticastGroupSource( id: String, props: CfnTransitGatewayMulticastGroupSourceProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastGroupSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayMulticastGroupSourceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayMulticastGroupSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayMulticastGroupSourceProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnTransitGatewayMulticastGroupSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachment.kt index c6ecaff4a4..d0cf2b2686 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachment.kt @@ -57,8 +57,8 @@ public open class CfnTransitGatewayPeeringAttachment( id: String, props: CfnTransitGatewayPeeringAttachmentProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayPeeringAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayPeeringAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayPeeringAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayPeeringAttachmentProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnTransitGatewayPeeringAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnTransitGatewayPeeringAttachment( * The tags for the transit gateway peering attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnTransitGatewayPeeringAttachment( * @param tags The tags for the transit gateway peering attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachmentProps.kt index eb6d8d788f..e2f059cc6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayPeeringAttachmentProps.kt @@ -137,7 +137,7 @@ public interface CfnTransitGatewayPeeringAttachmentProps { * @param tags The tags for the transit gateway peering attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayProps.kt index 0469d30ec0..1f5e8ccfb1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayProps.kt @@ -309,7 +309,7 @@ public interface CfnTransitGatewayProps { * @param tags The tags for the transit gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRoute.kt index 30d897bafd..8a96b4a8fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRoute.kt @@ -43,8 +43,8 @@ public open class CfnTransitGatewayRoute( id: String, props: CfnTransitGatewayRouteProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayRouteProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayRouteProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnTransitGatewayRoute( * Indicates whether to drop traffic that matches this route. */ public open fun blackhole(`value`: IResolvable) { - unwrap(this).setBlackhole(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlackhole(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class CfnTransitGatewayRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnTransitGatewayRoute( * @param blackhole Indicates whether to drop traffic that matches this route. */ override fun blackhole(blackhole: IResolvable) { - cdkBuilder.blackhole(blackhole.let(IResolvable::unwrap)) + cdkBuilder.blackhole(blackhole.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteProps.kt index adf5aae6c2..10a1f44537 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteProps.kt @@ -106,7 +106,7 @@ public interface CfnTransitGatewayRouteProps { * @param blackhole Indicates whether to drop traffic that matches this route. */ override fun blackhole(blackhole: IResolvable) { - cdkBuilder.blackhole(blackhole.let(IResolvable::unwrap)) + cdkBuilder.blackhole(blackhole.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTable.kt index 63f9b90102..cc456c2ba8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTable.kt @@ -45,8 +45,8 @@ public open class CfnTransitGatewayRouteTable( id: String, props: CfnTransitGatewayRouteTableProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayRouteTableProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayRouteTableProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class CfnTransitGatewayRouteTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -86,7 +86,7 @@ public open class CfnTransitGatewayRouteTable( * Any tags assigned to the route table. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnTransitGatewayRouteTable( * @param tags Any tags assigned to the route table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableAssociation.kt index 2e62d8ab84..81294e69d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableAssociation.kt @@ -45,8 +45,8 @@ public open class CfnTransitGatewayRouteTableAssociation( id: String, props: CfnTransitGatewayRouteTableAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTableAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayRouteTableAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTableAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayRouteTableAssociationProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class CfnTransitGatewayRouteTableAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTablePropagation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTablePropagation.kt index 6d95c80434..705d767130 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTablePropagation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTablePropagation.kt @@ -42,8 +42,8 @@ public open class CfnTransitGatewayRouteTablePropagation( id: String, props: CfnTransitGatewayRouteTablePropagationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTablePropagation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayRouteTablePropagationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayRouteTablePropagation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayRouteTablePropagationProps.Companion::unwrap)) ) public constructor( @@ -53,18 +53,13 @@ public open class CfnTransitGatewayRouteTablePropagation( ) : this(scope, id, CfnTransitGatewayRouteTablePropagationProps(props) ) - /** - * - */ - public open fun attrId(): String = unwrap(this).getAttrId() - /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableProps.kt index 345c734940..640b16312e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayRouteTableProps.kt @@ -77,7 +77,7 @@ public interface CfnTransitGatewayRouteTableProps { * @param tags Any tags assigned to the route table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachment.kt index 736a56302e..cfc87c1807 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachment.kt @@ -54,8 +54,8 @@ public open class CfnTransitGatewayVpcAttachment( id: String, props: CfnTransitGatewayVpcAttachmentProps, ) : - this(software.amazon.awscdk.services.ec2.CfnTransitGatewayVpcAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayVpcAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnTransitGatewayVpcAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayVpcAttachmentProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnTransitGatewayVpcAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnTransitGatewayVpcAttachment( * The tags for the VPC attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CfnTransitGatewayVpcAttachment( * @param tags The tags for the VPC attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachmentProps.kt index c7c1777e18..8f1e66bf7e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnTransitGatewayVpcAttachmentProps.kt @@ -210,7 +210,7 @@ public interface CfnTransitGatewayVpcAttachmentProps { * @param tags The tags for the VPC attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPC.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPC.kt index 68baae0210..a7b34be484 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPC.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPC.kt @@ -57,7 +57,7 @@ public open class CfnVPC( cdkObject: software.amazon.awscdk.services.ec2.CfnVPC, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnVPC(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnVPC(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnVPC( id: String, props: CfnVPCProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPC(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPC(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCProps.Companion::unwrap)) ) public constructor( @@ -146,7 +146,7 @@ public open class CfnVPC( * Indicates whether the instances launched in the VPC get DNS hostnames. */ public open fun enableDnsHostnames(`value`: IResolvable) { - unwrap(this).setEnableDnsHostnames(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDnsHostnames(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnVPC( * Indicates whether the DNS resolution is supported for the VPC. */ public open fun enableDnsSupport(`value`: IResolvable) { - unwrap(this).setEnableDnsSupport(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDnsSupport(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnVPC( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnVPC( * The tags for the VPC. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class CfnVPC( * hostnames. */ override fun enableDnsHostnames(enableDnsHostnames: IResolvable) { - cdkBuilder.enableDnsHostnames(enableDnsHostnames.let(IResolvable::unwrap)) + cdkBuilder.enableDnsHostnames(enableDnsHostnames.let(IResolvable.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnVPC( * @param enableDnsSupport Indicates whether the DNS resolution is supported for the VPC. */ override fun enableDnsSupport(enableDnsSupport: IResolvable) { - cdkBuilder.enableDnsSupport(enableDnsSupport.let(IResolvable::unwrap)) + cdkBuilder.enableDnsSupport(enableDnsSupport.let(IResolvable.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnVPC( * @param tags The tags for the VPC. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlock.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlock.kt index 61cafdbbad..17b57e89ae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlock.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlock.kt @@ -68,8 +68,8 @@ public open class CfnVPCCidrBlock( id: String, props: CfnVPCCidrBlockProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCCidrBlock(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCCidrBlockProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCCidrBlock(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCCidrBlockProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnVPCCidrBlock( * Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. */ public open fun amazonProvidedIpv6CidrBlock(`value`: IResolvable) { - unwrap(this).setAmazonProvidedIpv6CidrBlock(`value`.let(IResolvable::unwrap)) + unwrap(this).setAmazonProvidedIpv6CidrBlock(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnVPCCidrBlock( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnVPCCidrBlock( * prefix length for the VPC. */ override fun amazonProvidedIpv6CidrBlock(amazonProvidedIpv6CidrBlock: IResolvable) { - cdkBuilder.amazonProvidedIpv6CidrBlock(amazonProvidedIpv6CidrBlock.let(IResolvable::unwrap)) + cdkBuilder.amazonProvidedIpv6CidrBlock(amazonProvidedIpv6CidrBlock.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlockProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlockProps.kt index d3ed23e0cb..371b13449d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlockProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCCidrBlockProps.kt @@ -230,7 +230,7 @@ public interface CfnVPCCidrBlockProps { * You cannot specify the range of IPv6 addresses or the size of the CIDR block. */ override fun amazonProvidedIpv6CidrBlock(amazonProvidedIpv6CidrBlock: IResolvable) { - cdkBuilder.amazonProvidedIpv6CidrBlock(amazonProvidedIpv6CidrBlock.let(IResolvable::unwrap)) + cdkBuilder.amazonProvidedIpv6CidrBlock(amazonProvidedIpv6CidrBlock.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCDHCPOptionsAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCDHCPOptionsAssociation.kt index 28eba19184..87c2f57fc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCDHCPOptionsAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCDHCPOptionsAssociation.kt @@ -43,8 +43,8 @@ public open class CfnVPCDHCPOptionsAssociation( id: String, props: CfnVPCDHCPOptionsAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCDHCPOptionsAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCDHCPOptionsAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCDHCPOptionsAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCDHCPOptionsAssociationProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnVPCDHCPOptionsAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpoint.kt index fc671cde83..127ff2fa48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpoint.kt @@ -68,8 +68,8 @@ public open class CfnVPCEndpoint( id: String, props: CfnVPCEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCEndpointProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class CfnVPCEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnVPCEndpoint( * Indicate whether to associate a private hosted zone with the specified VPC. */ public open fun privateDnsEnabled(`value`: IResolvable) { - unwrap(this).setPrivateDnsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrivateDnsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnVPCEndpoint( * specified VPC. */ override fun privateDnsEnabled(privateDnsEnabled: IResolvable) { - cdkBuilder.privateDnsEnabled(privateDnsEnabled.let(IResolvable::unwrap)) + cdkBuilder.privateDnsEnabled(privateDnsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointConnectionNotification.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointConnectionNotification.kt index 28f7e4af45..111908f794 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointConnectionNotification.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointConnectionNotification.kt @@ -48,8 +48,8 @@ public open class CfnVPCEndpointConnectionNotification( id: String, props: CfnVPCEndpointConnectionNotificationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCEndpointConnectionNotification(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCEndpointConnectionNotificationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCEndpointConnectionNotification(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCEndpointConnectionNotificationProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnVPCEndpointConnectionNotification( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointProps.kt index c3ecd9ab1e..fea590f1c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointProps.kt @@ -292,7 +292,7 @@ public interface CfnVPCEndpointProps { * Default: `false` */ override fun privateDnsEnabled(privateDnsEnabled: IResolvable) { - cdkBuilder.privateDnsEnabled(privateDnsEnabled.let(IResolvable::unwrap)) + cdkBuilder.privateDnsEnabled(privateDnsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointService.kt index 77cd14cea7..5299049eb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointService.kt @@ -54,7 +54,7 @@ public open class CfnVPCEndpointService( cdkObject: software.amazon.awscdk.services.ec2.CfnVPCEndpointService, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnVPCEndpointService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnVPCEndpointService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -63,8 +63,8 @@ public open class CfnVPCEndpointService( id: String, props: CfnVPCEndpointServiceProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCEndpointService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCEndpointServiceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCEndpointService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCEndpointServiceProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnVPCEndpointService( * accepted. */ public open fun acceptanceRequired(`value`: IResolvable) { - unwrap(this).setAcceptanceRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setAcceptanceRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnVPCEndpointService( * . */ public open fun contributorInsightsEnabled(`value`: IResolvable) { - unwrap(this).setContributorInsightsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setContributorInsightsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnVPCEndpointService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CfnVPCEndpointService( * endpoint to your service must be accepted. */ override fun acceptanceRequired(acceptanceRequired: IResolvable) { - cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable::unwrap)) + cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnVPCEndpointService( * Insights rules provided by AWS PrivateLink . */ override fun contributorInsightsEnabled(contributorInsightsEnabled: IResolvable) { - cdkBuilder.contributorInsightsEnabled(contributorInsightsEnabled.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsEnabled(contributorInsightsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServicePermissions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServicePermissions.kt index 95381e05f8..88ee6ceb60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServicePermissions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServicePermissions.kt @@ -44,8 +44,8 @@ public open class CfnVPCEndpointServicePermissions( id: String, props: CfnVPCEndpointServicePermissionsProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCEndpointServicePermissions(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCEndpointServicePermissionsProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCEndpointServicePermissions(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCEndpointServicePermissionsProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnVPCEndpointServicePermissions( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServiceProps.kt index 315744fbe7..479107471a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCEndpointServiceProps.kt @@ -153,7 +153,7 @@ public interface CfnVPCEndpointServiceProps { * endpoint to your service must be accepted. */ override fun acceptanceRequired(acceptanceRequired: IResolvable) { - cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable::unwrap)) + cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CfnVPCEndpointServiceProps { * Insights rules provided by AWS PrivateLink . */ override fun contributorInsightsEnabled(contributorInsightsEnabled: IResolvable) { - cdkBuilder.contributorInsightsEnabled(contributorInsightsEnabled.let(IResolvable::unwrap)) + cdkBuilder.contributorInsightsEnabled(contributorInsightsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCGatewayAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCGatewayAttachment.kt index 3c89557ff8..27a6d649fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCGatewayAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCGatewayAttachment.kt @@ -40,8 +40,8 @@ public open class CfnVPCGatewayAttachment( id: String, props: CfnVPCGatewayAttachmentProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCGatewayAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCGatewayAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCGatewayAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCGatewayAttachmentProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class CfnVPCGatewayAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnection.kt index 891f20e44d..972da57c79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnection.kt @@ -66,8 +66,8 @@ public open class CfnVPCPeeringConnection( id: String, props: CfnVPCPeeringConnectionProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPCPeeringConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCPeeringConnectionProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPCPeeringConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCPeeringConnectionProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnVPCPeeringConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnVPCPeeringConnection( * Any tags assigned to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnVPCPeeringConnection( * @param tags Any tags assigned to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnectionProps.kt index b893564d3c..d5fd0b5de7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCPeeringConnectionProps.kt @@ -178,7 +178,7 @@ public interface CfnVPCPeeringConnectionProps { * @param tags Any tags assigned to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCProps.kt index 6ce720034f..0c631c9ff2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPCProps.kt @@ -266,7 +266,7 @@ public interface CfnVPCProps { * You can only enable DNS hostnames if you've enabled DNS support. */ override fun enableDnsHostnames(enableDnsHostnames: IResolvable) { - cdkBuilder.enableDnsHostnames(enableDnsHostnames.let(IResolvable::unwrap)) + cdkBuilder.enableDnsHostnames(enableDnsHostnames.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface CfnVPCProps { * VPC](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html#vpc-dns-support) . */ override fun enableDnsSupport(enableDnsSupport: IResolvable) { - cdkBuilder.enableDnsSupport(enableDnsSupport.let(IResolvable::unwrap)) + cdkBuilder.enableDnsSupport(enableDnsSupport.let(IResolvable.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public interface CfnVPCProps { * @param tags The tags for the VPC. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnection.kt index 4d03b68406..41f68d55c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnection.kt @@ -68,8 +68,8 @@ public open class CfnVPNConnection( id: String, props: CfnVPNConnectionProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPNConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPNConnectionProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPNConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPNConnectionProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnVPNConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnVPNConnection( * Indicates whether the VPN connection uses static routes only. */ public open fun staticRoutesOnly(`value`: IResolvable) { - unwrap(this).setStaticRoutesOnly(`value`.let(IResolvable::unwrap)) + unwrap(this).setStaticRoutesOnly(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnVPNConnection( * Any tags assigned to the VPN connection. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnVPNConnection( * The tunnel options for the VPN connection. */ public open fun vpnTunnelOptionsSpecifications(`value`: IResolvable) { - unwrap(this).setVpnTunnelOptionsSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpnTunnelOptionsSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnVPNConnection( * @param staticRoutesOnly Indicates whether the VPN connection uses static routes only. */ override fun staticRoutesOnly(staticRoutesOnly: IResolvable) { - cdkBuilder.staticRoutesOnly(staticRoutesOnly.let(IResolvable::unwrap)) + cdkBuilder.staticRoutesOnly(staticRoutesOnly.let(IResolvable.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CfnVPNConnection( * @param tags Any tags assigned to the VPN connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnVPNConnection( * @param vpnTunnelOptionsSpecifications The tunnel options for the VPN connection. */ override fun vpnTunnelOptionsSpecifications(vpnTunnelOptionsSpecifications: IResolvable) { - cdkBuilder.vpnTunnelOptionsSpecifications(vpnTunnelOptionsSpecifications.let(IResolvable::unwrap)) + cdkBuilder.vpnTunnelOptionsSpecifications(vpnTunnelOptionsSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionProps.kt index 894b11df95..1b76d9e6d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionProps.kt @@ -204,14 +204,14 @@ public interface CfnVPNConnectionProps { * Protocol (BGP), you must specify `true` . */ override fun staticRoutesOnly(staticRoutesOnly: IResolvable) { - cdkBuilder.staticRoutesOnly(staticRoutesOnly.let(IResolvable::unwrap)) + cdkBuilder.staticRoutesOnly(staticRoutesOnly.let(IResolvable.Companion::unwrap)) } /** * @param tags Any tags assigned to the VPN connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface CfnVPNConnectionProps { * @param vpnTunnelOptionsSpecifications The tunnel options for the VPN connection. */ override fun vpnTunnelOptionsSpecifications(vpnTunnelOptionsSpecifications: IResolvable) { - cdkBuilder.vpnTunnelOptionsSpecifications(vpnTunnelOptionsSpecifications.let(IResolvable::unwrap)) + cdkBuilder.vpnTunnelOptionsSpecifications(vpnTunnelOptionsSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionRoute.kt index 76e303df63..4345a42209 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNConnectionRoute.kt @@ -45,8 +45,8 @@ public open class CfnVPNConnectionRoute( id: String, props: CfnVPNConnectionRouteProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPNConnectionRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPNConnectionRouteProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPNConnectionRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPNConnectionRouteProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnVPNConnectionRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGateway.kt index 4fa57fa0e8..2e03aed937 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGateway.kt @@ -53,8 +53,8 @@ public open class CfnVPNGateway( id: String, props: CfnVPNGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPNGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPNGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPNGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPNGatewayProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnVPNGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class CfnVPNGateway( * Any tags assigned to the virtual private gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class CfnVPNGateway( * @param tags Any tags assigned to the virtual private gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayProps.kt index 597c21b8f9..46abee58f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayProps.kt @@ -98,7 +98,7 @@ public interface CfnVPNGatewayProps { * @param tags Any tags assigned to the virtual private gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayRoutePropagation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayRoutePropagation.kt index 5fc07ace87..d4e1567333 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayRoutePropagation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVPNGatewayRoutePropagation.kt @@ -47,8 +47,8 @@ public open class CfnVPNGatewayRoutePropagation( id: String, props: CfnVPNGatewayRoutePropagationProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVPNGatewayRoutePropagation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPNGatewayRoutePropagationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVPNGatewayRoutePropagation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPNGatewayRoutePropagationProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnVPNGatewayRoutePropagation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpoint.kt index 2b0f0dc2a5..4f25186379 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpoint.kt @@ -80,8 +80,8 @@ public open class CfnVerifiedAccessEndpoint( id: String, props: CfnVerifiedAccessEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVerifiedAccessEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVerifiedAccessEndpointProps.Companion::unwrap)) ) public constructor( @@ -209,7 +209,7 @@ public open class CfnVerifiedAccessEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnVerifiedAccessEndpoint( * The load balancer details if creating the AWS Verified Access endpoint as `load-balancer` type. */ public open fun loadBalancerOptions(`value`: IResolvable) { - unwrap(this).setLoadBalancerOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoadBalancerOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The load balancer details if creating the AWS Verified Access endpoint as `load-balancer` type. */ public open fun loadBalancerOptions(`value`: LoadBalancerOptionsProperty) { - unwrap(this).setLoadBalancerOptions(`value`.let(LoadBalancerOptionsProperty::unwrap)) + unwrap(this).setLoadBalancerOptions(`value`.let(LoadBalancerOptionsProperty.Companion::unwrap)) } /** @@ -248,14 +248,14 @@ public open class CfnVerifiedAccessEndpoint( * The options for network-interface type endpoint. */ public open fun networkInterfaceOptions(`value`: IResolvable) { - unwrap(this).setNetworkInterfaceOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkInterfaceOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for network-interface type endpoint. */ public open fun networkInterfaceOptions(`value`: NetworkInterfaceOptionsProperty) { - unwrap(this).setNetworkInterfaceOptions(`value`.let(NetworkInterfaceOptionsProperty::unwrap)) + unwrap(this).setNetworkInterfaceOptions(`value`.let(NetworkInterfaceOptionsProperty.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnVerifiedAccessEndpoint( * The status of the Verified Access policy. */ public open fun policyEnabled(`value`: IResolvable) { - unwrap(this).setPolicyEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicyEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -326,14 +326,14 @@ public open class CfnVerifiedAccessEndpoint( * The options for additional server side encryption. */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for additional server side encryption. */ public open fun sseSpecification(`value`: SseSpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SseSpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SseSpecificationProperty.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnVerifiedAccessEndpoint( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnVerifiedAccessEndpoint( * endpoint as `load-balancer` type. */ override fun loadBalancerOptions(loadBalancerOptions: IResolvable) { - cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class CfnVerifiedAccessEndpoint( * endpoint as `load-balancer` type. */ override fun loadBalancerOptions(loadBalancerOptions: LoadBalancerOptionsProperty) { - cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(LoadBalancerOptionsProperty::unwrap)) + cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(LoadBalancerOptionsProperty.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public open class CfnVerifiedAccessEndpoint( * @param networkInterfaceOptions The options for network-interface type endpoint. */ override fun networkInterfaceOptions(networkInterfaceOptions: IResolvable) { - cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(IResolvable.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public open class CfnVerifiedAccessEndpoint( * @param networkInterfaceOptions The options for network-interface type endpoint. */ override fun networkInterfaceOptions(networkInterfaceOptions: NetworkInterfaceOptionsProperty) { - cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(NetworkInterfaceOptionsProperty::unwrap)) + cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(NetworkInterfaceOptionsProperty.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class CfnVerifiedAccessEndpoint( * @param policyEnabled The status of the Verified Access policy. */ override fun policyEnabled(policyEnabled: IResolvable) { - cdkBuilder.policyEnabled(policyEnabled.let(IResolvable::unwrap)) + cdkBuilder.policyEnabled(policyEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnVerifiedAccessEndpoint( * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -800,7 +800,7 @@ public open class CfnVerifiedAccessEndpoint( * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: SseSpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SseSpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SseSpecificationProperty.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public open class CfnVerifiedAccessEndpoint( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1263,7 +1263,7 @@ public open class CfnVerifiedAccessEndpoint( * Valid values: `True` | `False` */ override fun customerManagedKeyEnabled(customerManagedKeyEnabled: IResolvable) { - cdkBuilder.customerManagedKeyEnabled(customerManagedKeyEnabled.let(IResolvable::unwrap)) + cdkBuilder.customerManagedKeyEnabled(customerManagedKeyEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpointProps.kt index 6166860aec..4a7717d043 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessEndpointProps.kt @@ -361,7 +361,7 @@ public interface CfnVerifiedAccessEndpointProps { * endpoint as `load-balancer` type. */ override fun loadBalancerOptions(loadBalancerOptions: IResolvable) { - cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface CfnVerifiedAccessEndpointProps { */ override fun loadBalancerOptions(loadBalancerOptions: CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty) { - cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty::unwrap)) + cdkBuilder.loadBalancerOptions(loadBalancerOptions.let(CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public interface CfnVerifiedAccessEndpointProps { * @param networkInterfaceOptions The options for network-interface type endpoint. */ override fun networkInterfaceOptions(networkInterfaceOptions: IResolvable) { - cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface CfnVerifiedAccessEndpointProps { */ override fun networkInterfaceOptions(networkInterfaceOptions: CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty) { - cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty::unwrap)) + cdkBuilder.networkInterfaceOptions(networkInterfaceOptions.let(CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface CfnVerifiedAccessEndpointProps { * @param policyEnabled The status of the Verified Access policy. */ override fun policyEnabled(policyEnabled: IResolvable) { - cdkBuilder.policyEnabled(policyEnabled.let(IResolvable::unwrap)) + cdkBuilder.policyEnabled(policyEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public interface CfnVerifiedAccessEndpointProps { * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public interface CfnVerifiedAccessEndpointProps { */ override fun sseSpecification(sseSpecification: CfnVerifiedAccessEndpoint.SseSpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnVerifiedAccessEndpoint.SseSpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnVerifiedAccessEndpoint.SseSpecificationProperty.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public interface CfnVerifiedAccessEndpointProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroup.kt index d056fc9b95..a75df6d384 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroup.kt @@ -63,8 +63,8 @@ public open class CfnVerifiedAccessGroup( id: String, props: CfnVerifiedAccessGroupProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVerifiedAccessGroupProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVerifiedAccessGroupProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnVerifiedAccessGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnVerifiedAccessGroup( * The status of the Verified Access policy. */ public open fun policyEnabled(`value`: IResolvable) { - unwrap(this).setPolicyEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicyEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -161,14 +161,14 @@ public open class CfnVerifiedAccessGroup( * The options for additional server side encryption. */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for additional server side encryption. */ public open fun sseSpecification(`value`: SseSpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SseSpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SseSpecificationProperty.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnVerifiedAccessGroup( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class CfnVerifiedAccessGroup( * @param policyEnabled The status of the Verified Access policy. */ override fun policyEnabled(policyEnabled: IResolvable) { - cdkBuilder.policyEnabled(policyEnabled.let(IResolvable::unwrap)) + cdkBuilder.policyEnabled(policyEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnVerifiedAccessGroup( * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnVerifiedAccessGroup( * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: SseSpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SseSpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SseSpecificationProperty.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnVerifiedAccessGroup( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public open class CfnVerifiedAccessGroup( * Valid values: `True` | `False` */ override fun customerManagedKeyEnabled(customerManagedKeyEnabled: IResolvable) { - cdkBuilder.customerManagedKeyEnabled(customerManagedKeyEnabled.let(IResolvable::unwrap)) + cdkBuilder.customerManagedKeyEnabled(customerManagedKeyEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroupProps.kt index f2021a9cec..1cde381217 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessGroupProps.kt @@ -173,14 +173,14 @@ public interface CfnVerifiedAccessGroupProps { * @param policyEnabled The status of the Verified Access policy. */ override fun policyEnabled(policyEnabled: IResolvable) { - cdkBuilder.policyEnabled(policyEnabled.let(IResolvable::unwrap)) + cdkBuilder.policyEnabled(policyEnabled.let(IResolvable.Companion::unwrap)) } /** * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface CfnVerifiedAccessGroupProps { */ override fun sseSpecification(sseSpecification: CfnVerifiedAccessGroup.SseSpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnVerifiedAccessGroup.SseSpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnVerifiedAccessGroup.SseSpecificationProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface CfnVerifiedAccessGroupProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstance.kt index 8374835ee5..98747def9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstance.kt @@ -74,7 +74,7 @@ public open class CfnVerifiedAccessInstance( cdkObject: software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -83,8 +83,8 @@ public open class CfnVerifiedAccessInstance( id: String, props: CfnVerifiedAccessInstanceProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVerifiedAccessInstanceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVerifiedAccessInstanceProps.Companion::unwrap)) ) public constructor( @@ -141,7 +141,7 @@ public open class CfnVerifiedAccessInstance( * instance. */ public open fun fipsEnabled(`value`: IResolvable) { - unwrap(this).setFipsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setFipsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnVerifiedAccessInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,14 +162,14 @@ public open class CfnVerifiedAccessInstance( * The logging configuration for the Verified Access instances. */ public open fun loggingConfigurations(`value`: IResolvable) { - unwrap(this).setLoggingConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** * The logging configuration for the Verified Access instances. */ public open fun loggingConfigurations(`value`: VerifiedAccessLogsProperty) { - unwrap(this).setLoggingConfigurations(`value`.let(VerifiedAccessLogsProperty::unwrap)) + unwrap(this).setLoggingConfigurations(`value`.let(VerifiedAccessLogsProperty.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnVerifiedAccessInstance( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnVerifiedAccessInstance( * The IDs of the AWS Verified Access trust providers. */ public open fun verifiedAccessTrustProviders(`value`: IResolvable) { - unwrap(this).setVerifiedAccessTrustProviders(`value`.let(IResolvable::unwrap)) + unwrap(this).setVerifiedAccessTrustProviders(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CfnVerifiedAccessInstance( * (FIPS) is enabled on the instance. */ override fun fipsEnabled(fipsEnabled: IResolvable) { - cdkBuilder.fipsEnabled(fipsEnabled.let(IResolvable::unwrap)) + cdkBuilder.fipsEnabled(fipsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnVerifiedAccessInstance( * @param loggingConfigurations The logging configuration for the Verified Access instances. */ override fun loggingConfigurations(loggingConfigurations: IResolvable) { - cdkBuilder.loggingConfigurations(loggingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.loggingConfigurations(loggingConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class CfnVerifiedAccessInstance( * @param loggingConfigurations The logging configuration for the Verified Access instances. */ override fun loggingConfigurations(loggingConfigurations: VerifiedAccessLogsProperty) { - cdkBuilder.loggingConfigurations(loggingConfigurations.let(VerifiedAccessLogsProperty::unwrap)) + cdkBuilder.loggingConfigurations(loggingConfigurations.let(VerifiedAccessLogsProperty.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnVerifiedAccessInstance( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnVerifiedAccessInstance( * @param verifiedAccessTrustProviders The IDs of the AWS Verified Access trust providers. */ override fun verifiedAccessTrustProviders(verifiedAccessTrustProviders: IResolvable) { - cdkBuilder.verifiedAccessTrustProviders(verifiedAccessTrustProviders.let(IResolvable::unwrap)) + cdkBuilder.verifiedAccessTrustProviders(verifiedAccessTrustProviders.let(IResolvable.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public open class CfnVerifiedAccessInstance( * @param enabled Indicates whether logging is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public open class CfnVerifiedAccessInstance( * @param enabled Indicates whether logging is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -880,7 +880,7 @@ public open class CfnVerifiedAccessInstance( * @param enabled Indicates whether logging is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1098,14 +1098,14 @@ public open class CfnVerifiedAccessInstance( * @param cloudWatchLogs CloudWatch Logs logging destination. */ override fun cloudWatchLogs(cloudWatchLogs: IResolvable) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable.Companion::unwrap)) } /** * @param cloudWatchLogs CloudWatch Logs logging destination. */ override fun cloudWatchLogs(cloudWatchLogs: CloudWatchLogsProperty) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsProperty::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsProperty.Companion::unwrap)) } /** @@ -1129,21 +1129,21 @@ public open class CfnVerifiedAccessInstance( * in the logs. */ override fun includeTrustContext(includeTrustContext: IResolvable) { - cdkBuilder.includeTrustContext(includeTrustContext.let(IResolvable::unwrap)) + cdkBuilder.includeTrustContext(includeTrustContext.let(IResolvable.Companion::unwrap)) } /** * @param kinesisDataFirehose Kinesis logging destination. */ override fun kinesisDataFirehose(kinesisDataFirehose: IResolvable) { - cdkBuilder.kinesisDataFirehose(kinesisDataFirehose.let(IResolvable::unwrap)) + cdkBuilder.kinesisDataFirehose(kinesisDataFirehose.let(IResolvable.Companion::unwrap)) } /** * @param kinesisDataFirehose Kinesis logging destination. */ override fun kinesisDataFirehose(kinesisDataFirehose: KinesisDataFirehoseProperty) { - cdkBuilder.kinesisDataFirehose(kinesisDataFirehose.let(KinesisDataFirehoseProperty::unwrap)) + cdkBuilder.kinesisDataFirehose(kinesisDataFirehose.let(KinesisDataFirehoseProperty.Companion::unwrap)) } /** @@ -1167,14 +1167,14 @@ public open class CfnVerifiedAccessInstance( * @param s3 Amazon S3 logging options. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Amazon S3 logging options. */ override fun s3(s3: S3Property) { - cdkBuilder.s3(s3.let(S3Property::unwrap)) + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstanceProps.kt index 7410ab7b04..bd3fb94b8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessInstanceProps.kt @@ -209,14 +209,14 @@ public interface CfnVerifiedAccessInstanceProps { * (FIPS) is enabled on the instance. */ override fun fipsEnabled(fipsEnabled: IResolvable) { - cdkBuilder.fipsEnabled(fipsEnabled.let(IResolvable::unwrap)) + cdkBuilder.fipsEnabled(fipsEnabled.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfigurations The logging configuration for the Verified Access instances. */ override fun loggingConfigurations(loggingConfigurations: IResolvable) { - cdkBuilder.loggingConfigurations(loggingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.loggingConfigurations(loggingConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface CfnVerifiedAccessInstanceProps { */ override fun loggingConfigurations(loggingConfigurations: CfnVerifiedAccessInstance.VerifiedAccessLogsProperty) { - cdkBuilder.loggingConfigurations(loggingConfigurations.let(CfnVerifiedAccessInstance.VerifiedAccessLogsProperty::unwrap)) + cdkBuilder.loggingConfigurations(loggingConfigurations.let(CfnVerifiedAccessInstance.VerifiedAccessLogsProperty.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public interface CfnVerifiedAccessInstanceProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface CfnVerifiedAccessInstanceProps { * @param verifiedAccessTrustProviders The IDs of the AWS Verified Access trust providers. */ override fun verifiedAccessTrustProviders(verifiedAccessTrustProviders: IResolvable) { - cdkBuilder.verifiedAccessTrustProviders(verifiedAccessTrustProviders.let(IResolvable::unwrap)) + cdkBuilder.verifiedAccessTrustProviders(verifiedAccessTrustProviders.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProvider.kt index d94946e871..d48768f66e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProvider.kt @@ -76,8 +76,8 @@ public open class CfnVerifiedAccessTrustProvider( id: String, props: CfnVerifiedAccessTrustProviderProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessTrustProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVerifiedAccessTrustProviderProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVerifiedAccessTrustProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVerifiedAccessTrustProviderProps.Companion::unwrap)) ) public constructor( @@ -124,14 +124,14 @@ public open class CfnVerifiedAccessTrustProvider( * The options for device-identity trust provider. */ public open fun deviceOptions(`value`: IResolvable) { - unwrap(this).setDeviceOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeviceOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for device-identity trust provider. */ public open fun deviceOptions(`value`: DeviceOptionsProperty) { - unwrap(this).setDeviceOptions(`value`.let(DeviceOptionsProperty::unwrap)) + unwrap(this).setDeviceOptions(`value`.let(DeviceOptionsProperty.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnVerifiedAccessTrustProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -172,14 +172,14 @@ public open class CfnVerifiedAccessTrustProvider( * The options for an OpenID Connect-compatible user-identity trust provider. */ public open fun oidcOptions(`value`: IResolvable) { - unwrap(this).setOidcOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOidcOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for an OpenID Connect-compatible user-identity trust provider. */ public open fun oidcOptions(`value`: OidcOptionsProperty) { - unwrap(this).setOidcOptions(`value`.let(OidcOptionsProperty::unwrap)) + unwrap(this).setOidcOptions(`value`.let(OidcOptionsProperty.Companion::unwrap)) } /** @@ -211,14 +211,14 @@ public open class CfnVerifiedAccessTrustProvider( * The options for additional server side encryption. */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The options for additional server side encryption. */ public open fun sseSpecification(`value`: SseSpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SseSpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SseSpecificationProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnVerifiedAccessTrustProvider( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class CfnVerifiedAccessTrustProvider( * @param deviceOptions The options for device-identity trust provider. */ override fun deviceOptions(deviceOptions: IResolvable) { - cdkBuilder.deviceOptions(deviceOptions.let(IResolvable::unwrap)) + cdkBuilder.deviceOptions(deviceOptions.let(IResolvable.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnVerifiedAccessTrustProvider( * @param deviceOptions The options for device-identity trust provider. */ override fun deviceOptions(deviceOptions: DeviceOptionsProperty) { - cdkBuilder.deviceOptions(deviceOptions.let(DeviceOptionsProperty::unwrap)) + cdkBuilder.deviceOptions(deviceOptions.let(DeviceOptionsProperty.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnVerifiedAccessTrustProvider( * */ override fun oidcOptions(oidcOptions: IResolvable) { - cdkBuilder.oidcOptions(oidcOptions.let(IResolvable::unwrap)) + cdkBuilder.oidcOptions(oidcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CfnVerifiedAccessTrustProvider( * */ override fun oidcOptions(oidcOptions: OidcOptionsProperty) { - cdkBuilder.oidcOptions(oidcOptions.let(OidcOptionsProperty::unwrap)) + cdkBuilder.oidcOptions(oidcOptions.let(OidcOptionsProperty.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public open class CfnVerifiedAccessTrustProvider( * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class CfnVerifiedAccessTrustProvider( * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: SseSpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SseSpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SseSpecificationProperty.Companion::unwrap)) } /** @@ -560,7 +560,7 @@ public open class CfnVerifiedAccessTrustProvider( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1056,7 +1056,7 @@ public open class CfnVerifiedAccessTrustProvider( * Valid values: `True` | `False` */ override fun customerManagedKeyEnabled(customerManagedKeyEnabled: IResolvable) { - cdkBuilder.customerManagedKeyEnabled(customerManagedKeyEnabled.let(IResolvable::unwrap)) + cdkBuilder.customerManagedKeyEnabled(customerManagedKeyEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProviderProps.kt index 7929bca34e..32e29f165d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVerifiedAccessTrustProviderProps.kt @@ -232,7 +232,7 @@ public interface CfnVerifiedAccessTrustProviderProps { * @param deviceOptions The options for device-identity trust provider. */ override fun deviceOptions(deviceOptions: IResolvable) { - cdkBuilder.deviceOptions(deviceOptions.let(IResolvable::unwrap)) + cdkBuilder.deviceOptions(deviceOptions.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface CfnVerifiedAccessTrustProviderProps { */ override fun deviceOptions(deviceOptions: CfnVerifiedAccessTrustProvider.DeviceOptionsProperty) { - cdkBuilder.deviceOptions(deviceOptions.let(CfnVerifiedAccessTrustProvider.DeviceOptionsProperty::unwrap)) + cdkBuilder.deviceOptions(deviceOptions.let(CfnVerifiedAccessTrustProvider.DeviceOptionsProperty.Companion::unwrap)) } /** @@ -263,14 +263,14 @@ public interface CfnVerifiedAccessTrustProviderProps { * @param oidcOptions The options for an OpenID Connect-compatible user-identity trust provider. */ override fun oidcOptions(oidcOptions: IResolvable) { - cdkBuilder.oidcOptions(oidcOptions.let(IResolvable::unwrap)) + cdkBuilder.oidcOptions(oidcOptions.let(IResolvable.Companion::unwrap)) } /** * @param oidcOptions The options for an OpenID Connect-compatible user-identity trust provider. */ override fun oidcOptions(oidcOptions: CfnVerifiedAccessTrustProvider.OidcOptionsProperty) { - cdkBuilder.oidcOptions(oidcOptions.let(CfnVerifiedAccessTrustProvider.OidcOptionsProperty::unwrap)) + cdkBuilder.oidcOptions(oidcOptions.let(CfnVerifiedAccessTrustProvider.OidcOptionsProperty.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CfnVerifiedAccessTrustProviderProps { * @param sseSpecification The options for additional server side encryption. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface CfnVerifiedAccessTrustProviderProps { */ override fun sseSpecification(sseSpecification: CfnVerifiedAccessTrustProvider.SseSpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnVerifiedAccessTrustProvider.SseSpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnVerifiedAccessTrustProvider.SseSpecificationProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface CfnVerifiedAccessTrustProviderProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolume.kt index 74fe917ceb..6dda7edaca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolume.kt @@ -89,8 +89,8 @@ public open class CfnVolume( id: String, props: CfnVolumeProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVolume(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVolumeProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVolume(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVolumeProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnVolume( * Indicates whether the volume is auto-enabled for I/O operations. */ public open fun autoEnableIo(`value`: IResolvable) { - unwrap(this).setAutoEnableIo(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoEnableIo(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnVolume( * Indicates whether the volume should be encrypted. */ public open fun encrypted(`value`: IResolvable) { - unwrap(this).setEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnVolume( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnVolume( * Indicates whether Amazon EBS Multi-Attach is enabled. */ public open fun multiAttachEnabled(`value`: IResolvable) { - unwrap(this).setMultiAttachEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiAttachEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnVolume( * The tags to apply to the volume during creation. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnVolume( * @param autoEnableIo Indicates whether the volume is auto-enabled for I/O operations. */ override fun autoEnableIo(autoEnableIo: IResolvable) { - cdkBuilder.autoEnableIo(autoEnableIo.let(IResolvable::unwrap)) + cdkBuilder.autoEnableIo(autoEnableIo.let(IResolvable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnVolume( * @param encrypted Indicates whether the volume should be encrypted. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public open class CfnVolume( * @param multiAttachEnabled Indicates whether Amazon EBS Multi-Attach is enabled. */ override fun multiAttachEnabled(multiAttachEnabled: IResolvable) { - cdkBuilder.multiAttachEnabled(multiAttachEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiAttachEnabled(multiAttachEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public open class CfnVolume( * @param tags The tags to apply to the volume during creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeAttachment.kt index d0a72ebb41..1cf1566c50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeAttachment.kt @@ -50,8 +50,8 @@ public open class CfnVolumeAttachment( id: String, props: CfnVolumeAttachmentProps, ) : - this(software.amazon.awscdk.services.ec2.CfnVolumeAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVolumeAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.ec2.CfnVolumeAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVolumeAttachmentProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnVolumeAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeProps.kt index d32db40b88..5df2b76d62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CfnVolumeProps.kt @@ -416,7 +416,7 @@ public interface CfnVolumeProps { * you can configure the volume to automatically enable I/O. */ override fun autoEnableIo(autoEnableIo: IResolvable) { - cdkBuilder.autoEnableIo(autoEnableIo.let(IResolvable::unwrap)) + cdkBuilder.autoEnableIo(autoEnableIo.let(IResolvable.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface CfnVolumeProps { * . */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public interface CfnVolumeProps { * the size or number of I/O operations per second (IOPS) of a multi-attach enabled volume. */ override fun multiAttachEnabled(multiAttachEnabled: IResolvable) { - cdkBuilder.multiAttachEnabled(multiAttachEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiAttachEnabled(multiAttachEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public interface CfnVolumeProps { * @param tags The tags to apply to the volume during creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRule.kt index 49133cbcf7..9560866fbe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRule.kt @@ -37,8 +37,8 @@ public open class ClientVpnAuthorizationRule( id: String, props: ClientVpnAuthorizationRuleProps, ) : - this(software.amazon.awscdk.services.ec2.ClientVpnAuthorizationRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ClientVpnAuthorizationRuleProps::unwrap)) + this(software.amazon.awscdk.services.ec2.ClientVpnAuthorizationRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ClientVpnAuthorizationRuleProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class ClientVpnAuthorizationRule( * @param clientVpnEndpoint The client VPN endpoint to which to add the rule. */ override fun clientVpnEndpoint(clientVpnEndpoint: IClientVpnEndpoint) { - cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint::unwrap)) + cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRuleProps.kt index e8e33a151d..5c1c3a2e2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnAuthorizationRuleProps.kt @@ -82,7 +82,7 @@ public interface ClientVpnAuthorizationRuleProps : ClientVpnAuthorizationRuleOpt * @param clientVpnEndpoint The client VPN endpoint to which to add the rule. */ override fun clientVpnEndpoint(clientVpnEndpoint: IClientVpnEndpoint) { - cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint::unwrap)) + cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpoint.kt index 9e54dcfaa9..c80819a661 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpoint.kt @@ -42,8 +42,8 @@ public open class ClientVpnEndpoint( id: String, props: ClientVpnEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.ClientVpnEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ClientVpnEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.ClientVpnEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ClientVpnEndpointProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class ClientVpnEndpoint( */ public open fun addAuthorizationRule(id: String, props: ClientVpnAuthorizationRuleOptions): ClientVpnAuthorizationRule = unwrap(this).addAuthorizationRule(id, - props.let(ClientVpnAuthorizationRuleOptions::unwrap)).let(ClientVpnAuthorizationRule::wrap) + props.let(ClientVpnAuthorizationRuleOptions.Companion::unwrap)).let(ClientVpnAuthorizationRule::wrap) /** * Adds an authorization rule to this endpoint. @@ -82,7 +82,8 @@ public open class ClientVpnEndpoint( * @param props */ public open fun addRoute(id: String, props: ClientVpnRouteOptions): ClientVpnRoute = - unwrap(this).addRoute(id, props.let(ClientVpnRouteOptions::unwrap)).let(ClientVpnRoute::wrap) + unwrap(this).addRoute(id, + props.let(ClientVpnRouteOptions.Companion::unwrap)).let(ClientVpnRoute::wrap) /** * Adds a route to this endpoint. @@ -410,7 +411,7 @@ public open class ClientVpnEndpoint( * @param clientConnectionHandler The AWS Lambda function used for connection authorization. */ override fun clientConnectionHandler(clientConnectionHandler: IClientVpnConnectionHandler) { - cdkBuilder.clientConnectionHandler(clientConnectionHandler.let(IClientVpnConnectionHandler::unwrap)) + cdkBuilder.clientConnectionHandler(clientConnectionHandler.let(IClientVpnConnectionHandler.Companion::unwrap)) } /** @@ -471,7 +472,7 @@ public open class ClientVpnEndpoint( * @param logGroup A CloudWatch Logs log group for connection logging. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -482,7 +483,7 @@ public open class ClientVpnEndpoint( * @param logStream A CloudWatch Logs log stream for connection logging. */ override fun logStream(logStream: ILogStream) { - cdkBuilder.logStream(logStream.let(ILogStream::unwrap)) + cdkBuilder.logStream(logStream.let(ILogStream.Companion::unwrap)) } /** @@ -504,7 +505,7 @@ public open class ClientVpnEndpoint( * @param port The port number to assign to the Client VPN endpoint for TCP and UDP traffic. */ override fun port(port: VpnPort) { - cdkBuilder.port(port.let(VpnPort::unwrap)) + cdkBuilder.port(port.let(VpnPort.Companion::unwrap)) } /** @@ -515,7 +516,7 @@ public open class ClientVpnEndpoint( * @param securityGroups The security groups to apply to the target network. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -557,7 +558,7 @@ public open class ClientVpnEndpoint( * @param sessionTimeout The maximum VPN session duration time. */ override fun sessionTimeout(sessionTimeout: ClientVpnSessionTimeout) { - cdkBuilder.sessionTimeout(sessionTimeout.let(ClientVpnSessionTimeout::unwrap)) + cdkBuilder.sessionTimeout(sessionTimeout.let(ClientVpnSessionTimeout.Companion::unwrap)) } /** @@ -580,7 +581,7 @@ public open class ClientVpnEndpoint( * @param transportProtocol The transport protocol to be used by the VPN session. */ override fun transportProtocol(transportProtocol: TransportProtocol) { - cdkBuilder.transportProtocol(transportProtocol.let(TransportProtocol::unwrap)) + cdkBuilder.transportProtocol(transportProtocol.let(TransportProtocol.Companion::unwrap)) } /** @@ -593,7 +594,7 @@ public open class ClientVpnEndpoint( */ override fun userBasedAuthentication(userBasedAuthentication: ClientVpnUserBasedAuthentication) { - cdkBuilder.userBasedAuthentication(userBasedAuthentication.let(ClientVpnUserBasedAuthentication::unwrap)) + cdkBuilder.userBasedAuthentication(userBasedAuthentication.let(ClientVpnUserBasedAuthentication.Companion::unwrap)) } /** @@ -602,7 +603,7 @@ public open class ClientVpnEndpoint( * @param vpc The VPC to connect to. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -613,7 +614,7 @@ public open class ClientVpnEndpoint( * @param vpcSubnets Subnets to associate to the client VPN endpoint. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -637,8 +638,8 @@ public open class ClientVpnEndpoint( id: String, attrs: ClientVpnEndpointAttributes, ): IClientVpnEndpoint = - software.amazon.awscdk.services.ec2.ClientVpnEndpoint.fromEndpointAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ClientVpnEndpointAttributes::unwrap)).let(IClientVpnEndpoint::wrap) + software.amazon.awscdk.services.ec2.ClientVpnEndpoint.fromEndpointAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ClientVpnEndpointAttributes.Companion::unwrap)).let(IClientVpnEndpoint::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ee168512bf896e7da207e8fee80caa0b6a2feb399a6f9a2fbfbb973a25175dd") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointAttributes.kt index 0831b029f5..4d340bd83c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointAttributes.kt @@ -72,7 +72,7 @@ public interface ClientVpnEndpointAttributes { * @param securityGroups The security groups associated with the endpoint. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointOptions.kt index 40ea2ce70e..11be64919c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointOptions.kt @@ -368,7 +368,7 @@ public interface ClientVpnEndpointOptions { * The name of the Lambda function must begin with the `AWSClientVPN-` prefix */ override fun clientConnectionHandler(clientConnectionHandler: IClientVpnConnectionHandler) { - cdkBuilder.clientConnectionHandler(clientConnectionHandler.let(IClientVpnConnectionHandler::unwrap)) + cdkBuilder.clientConnectionHandler(clientConnectionHandler.let(IClientVpnConnectionHandler.Companion::unwrap)) } /** @@ -405,14 +405,14 @@ public interface ClientVpnEndpointOptions { * @param logGroup A CloudWatch Logs log group for connection logging. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** * @param logStream A CloudWatch Logs log stream for connection logging. */ override fun logStream(logStream: ILogStream) { - cdkBuilder.logStream(logStream.let(ILogStream::unwrap)) + cdkBuilder.logStream(logStream.let(ILogStream.Companion::unwrap)) } /** @@ -426,14 +426,14 @@ public interface ClientVpnEndpointOptions { * @param port The port number to assign to the Client VPN endpoint for TCP and UDP traffic. */ override fun port(port: VpnPort) { - cdkBuilder.port(port.let(VpnPort::unwrap)) + cdkBuilder.port(port.let(VpnPort.Companion::unwrap)) } /** * @param securityGroups The security groups to apply to the target network. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public interface ClientVpnEndpointOptions { * @param sessionTimeout The maximum VPN session duration time. */ override fun sessionTimeout(sessionTimeout: ClientVpnSessionTimeout) { - cdkBuilder.sessionTimeout(sessionTimeout.let(ClientVpnSessionTimeout::unwrap)) + cdkBuilder.sessionTimeout(sessionTimeout.let(ClientVpnSessionTimeout.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public interface ClientVpnEndpointOptions { * @param transportProtocol The transport protocol to be used by the VPN session. */ override fun transportProtocol(transportProtocol: TransportProtocol) { - cdkBuilder.transportProtocol(transportProtocol.let(TransportProtocol::unwrap)) + cdkBuilder.transportProtocol(transportProtocol.let(TransportProtocol.Companion::unwrap)) } /** @@ -483,14 +483,14 @@ public interface ClientVpnEndpointOptions { */ override fun userBasedAuthentication(userBasedAuthentication: ClientVpnUserBasedAuthentication) { - cdkBuilder.userBasedAuthentication(userBasedAuthentication.let(ClientVpnUserBasedAuthentication::unwrap)) + cdkBuilder.userBasedAuthentication(userBasedAuthentication.let(ClientVpnUserBasedAuthentication.Companion::unwrap)) } /** * @param vpcSubnets Subnets to associate to the client VPN endpoint. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointProps.kt index 408162dfae..7135a3fd6f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnEndpointProps.kt @@ -250,7 +250,7 @@ public interface ClientVpnEndpointProps : ClientVpnEndpointOptions { * The name of the Lambda function must begin with the `AWSClientVPN-` prefix */ override fun clientConnectionHandler(clientConnectionHandler: IClientVpnConnectionHandler) { - cdkBuilder.clientConnectionHandler(clientConnectionHandler.let(IClientVpnConnectionHandler::unwrap)) + cdkBuilder.clientConnectionHandler(clientConnectionHandler.let(IClientVpnConnectionHandler.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public interface ClientVpnEndpointProps : ClientVpnEndpointOptions { * @param logGroup A CloudWatch Logs log group for connection logging. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** * @param logStream A CloudWatch Logs log stream for connection logging. */ override fun logStream(logStream: ILogStream) { - cdkBuilder.logStream(logStream.let(ILogStream::unwrap)) + cdkBuilder.logStream(logStream.let(ILogStream.Companion::unwrap)) } /** @@ -308,14 +308,14 @@ public interface ClientVpnEndpointProps : ClientVpnEndpointOptions { * @param port The port number to assign to the Client VPN endpoint for TCP and UDP traffic. */ override fun port(port: VpnPort) { - cdkBuilder.port(port.let(VpnPort::unwrap)) + cdkBuilder.port(port.let(VpnPort.Companion::unwrap)) } /** * @param securityGroups The security groups to apply to the target network. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface ClientVpnEndpointProps : ClientVpnEndpointOptions { * @param sessionTimeout The maximum VPN session duration time. */ override fun sessionTimeout(sessionTimeout: ClientVpnSessionTimeout) { - cdkBuilder.sessionTimeout(sessionTimeout.let(ClientVpnSessionTimeout::unwrap)) + cdkBuilder.sessionTimeout(sessionTimeout.let(ClientVpnSessionTimeout.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface ClientVpnEndpointProps : ClientVpnEndpointOptions { * @param transportProtocol The transport protocol to be used by the VPN session. */ override fun transportProtocol(transportProtocol: TransportProtocol) { - cdkBuilder.transportProtocol(transportProtocol.let(TransportProtocol::unwrap)) + cdkBuilder.transportProtocol(transportProtocol.let(TransportProtocol.Companion::unwrap)) } /** @@ -365,21 +365,21 @@ public interface ClientVpnEndpointProps : ClientVpnEndpointOptions { */ override fun userBasedAuthentication(userBasedAuthentication: ClientVpnUserBasedAuthentication) { - cdkBuilder.userBasedAuthentication(userBasedAuthentication.let(ClientVpnUserBasedAuthentication::unwrap)) + cdkBuilder.userBasedAuthentication(userBasedAuthentication.let(ClientVpnUserBasedAuthentication.Companion::unwrap)) } /** * @param vpc The VPC to connect to. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Subnets to associate to the client VPN endpoint. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRoute.kt index 74871f05bd..a887a2ec08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRoute.kt @@ -37,8 +37,8 @@ public open class ClientVpnRoute( id: String, props: ClientVpnRouteProps, ) : - this(software.amazon.awscdk.services.ec2.ClientVpnRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ClientVpnRouteProps::unwrap)) + this(software.amazon.awscdk.services.ec2.ClientVpnRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ClientVpnRouteProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class ClientVpnRoute( * @param clientVpnEndpoint The client VPN endpoint to which to add the route. */ override fun clientVpnEndpoint(clientVpnEndpoint: IClientVpnEndpoint) { - cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint::unwrap)) + cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class ClientVpnRoute( * @param target The target for the route. */ override fun target(target: ClientVpnRouteTarget) { - cdkBuilder.target(target.let(ClientVpnRouteTarget::unwrap)) + cdkBuilder.target(target.let(ClientVpnRouteTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.ClientVpnRoute = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteOptions.kt index 6ecb1ea42d..3d4a15716f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteOptions.kt @@ -110,7 +110,7 @@ public interface ClientVpnRouteOptions { * @param target The target for the route. */ override fun target(target: ClientVpnRouteTarget) { - cdkBuilder.target(target.let(ClientVpnRouteTarget::unwrap)) + cdkBuilder.target(target.let(ClientVpnRouteTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.ClientVpnRouteOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteProps.kt index 24a864d08b..d17ae97b2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteProps.kt @@ -92,7 +92,7 @@ public interface ClientVpnRouteProps : ClientVpnRouteOptions { * @param clientVpnEndpoint The client VPN endpoint to which to add the route. */ override fun clientVpnEndpoint(clientVpnEndpoint: IClientVpnEndpoint) { - cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint::unwrap)) + cdkBuilder.clientVpnEndpoint(clientVpnEndpoint.let(IClientVpnEndpoint.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public interface ClientVpnRouteProps : ClientVpnRouteOptions { * @param target The target for the route. */ override fun target(target: ClientVpnRouteTarget) { - cdkBuilder.target(target.let(ClientVpnRouteTarget::unwrap)) + cdkBuilder.target(target.let(ClientVpnRouteTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.ClientVpnRouteProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteTarget.kt index 26dc73a3c1..e83169c5ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnRouteTarget.kt @@ -42,7 +42,7 @@ public abstract class ClientVpnRouteTarget( software.amazon.awscdk.services.ec2.ClientVpnRouteTarget.local().let(ClientVpnRouteTarget::wrap) public fun subnet(subnet: ISubnet): ClientVpnRouteTarget = - software.amazon.awscdk.services.ec2.ClientVpnRouteTarget.subnet(subnet.let(ISubnet::unwrap)).let(ClientVpnRouteTarget::wrap) + software.amazon.awscdk.services.ec2.ClientVpnRouteTarget.subnet(subnet.let(ISubnet.Companion::unwrap)).let(ClientVpnRouteTarget::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.ClientVpnRouteTarget): ClientVpnRouteTarget = CdkObjectWrappers.wrap(cdkObject) as? ClientVpnRouteTarget ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnUserBasedAuthentication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnUserBasedAuthentication.kt index b04d1d0338..83a38c4e82 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnUserBasedAuthentication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ClientVpnUserBasedAuthentication.kt @@ -44,12 +44,12 @@ public abstract class ClientVpnUserBasedAuthentication( software.amazon.awscdk.services.ec2.ClientVpnUserBasedAuthentication.activeDirectory(directoryId).let(ClientVpnUserBasedAuthentication::wrap) public fun federated(samlProvider: ISamlProvider): ClientVpnUserBasedAuthentication = - software.amazon.awscdk.services.ec2.ClientVpnUserBasedAuthentication.federated(samlProvider.let(ISamlProvider::unwrap)).let(ClientVpnUserBasedAuthentication::wrap) + software.amazon.awscdk.services.ec2.ClientVpnUserBasedAuthentication.federated(samlProvider.let(ISamlProvider.Companion::unwrap)).let(ClientVpnUserBasedAuthentication::wrap) public fun federated(samlProvider: ISamlProvider, selfServiceSamlProvider: ISamlProvider): ClientVpnUserBasedAuthentication = - software.amazon.awscdk.services.ec2.ClientVpnUserBasedAuthentication.federated(samlProvider.let(ISamlProvider::unwrap), - selfServiceSamlProvider.let(ISamlProvider::unwrap)).let(ClientVpnUserBasedAuthentication::wrap) + software.amazon.awscdk.services.ec2.ClientVpnUserBasedAuthentication.federated(samlProvider.let(ISamlProvider.Companion::unwrap), + selfServiceSamlProvider.let(ISamlProvider.Companion::unwrap)).let(ClientVpnUserBasedAuthentication::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.ClientVpnUserBasedAuthentication): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CloudFormationInit.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CloudFormationInit.kt index 5068479682..39242dc91a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CloudFormationInit.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CloudFormationInit.kt @@ -41,7 +41,7 @@ public open class CloudFormationInit( * @param config */ public open fun addConfig(configName: String, config: InitConfig) { - unwrap(this).addConfig(configName, config.let(InitConfig::unwrap)) + unwrap(this).addConfig(configName, config.let(InitConfig.Companion::unwrap)) } /** @@ -88,8 +88,8 @@ public open class CloudFormationInit( * @param attachOptions */ public open fun attach(attachedResource: CfnResource, attachOptions: AttachInitOptions) { - unwrap(this).attach(attachedResource.let(CfnResource::unwrap), - attachOptions.let(AttachInitOptions::unwrap)) + unwrap(this).attach(attachedResource.let(CfnResource.Companion::unwrap), + attachOptions.let(AttachInitOptions.Companion::unwrap)) } /** @@ -119,10 +119,10 @@ public open class CloudFormationInit( public companion object { public fun fromConfig(config: InitConfig): CloudFormationInit = - software.amazon.awscdk.services.ec2.CloudFormationInit.fromConfig(config.let(InitConfig::unwrap)).let(CloudFormationInit::wrap) + software.amazon.awscdk.services.ec2.CloudFormationInit.fromConfig(config.let(InitConfig.Companion::unwrap)).let(CloudFormationInit::wrap) public fun fromConfigSets(props: ConfigSetProps): CloudFormationInit = - software.amazon.awscdk.services.ec2.CloudFormationInit.fromConfigSets(props.let(ConfigSetProps::unwrap)).let(CloudFormationInit::wrap) + software.amazon.awscdk.services.ec2.CloudFormationInit.fromConfigSets(props.let(ConfigSetProps.Companion::unwrap)).let(CloudFormationInit::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3a1ada42d693bd08ad189334b687e14fd6fcae9bb24ccd7817234984da78a781") @@ -130,7 +130,7 @@ public open class CloudFormationInit( fromConfigSets(ConfigSetProps(props)) public fun fromElements(elements: InitElement): CloudFormationInit = - software.amazon.awscdk.services.ec2.CloudFormationInit.fromElements(elements.let(InitElement::unwrap)).let(CloudFormationInit::wrap) + software.amazon.awscdk.services.ec2.CloudFormationInit.fromElements(elements.let(InitElement.Companion::unwrap)).let(CloudFormationInit::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.CloudFormationInit): CloudFormationInit = CloudFormationInit(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CommonNetworkAclEntryOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CommonNetworkAclEntryOptions.kt index 29a8ff8090..2e1fc3a483 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CommonNetworkAclEntryOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/CommonNetworkAclEntryOptions.kt @@ -131,14 +131,14 @@ public interface CommonNetworkAclEntryOptions { * @param cidr The CIDR range to allow or deny. */ override fun cidr(cidr: AclCidr) { - cdkBuilder.cidr(cidr.let(AclCidr::unwrap)) + cdkBuilder.cidr(cidr.let(AclCidr.Companion::unwrap)) } /** * @param direction Traffic direction, with respect to the subnet, this rule applies to. */ override fun direction(direction: TrafficDirection) { - cdkBuilder.direction(direction.let(TrafficDirection::unwrap)) + cdkBuilder.direction(direction.let(TrafficDirection.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface CommonNetworkAclEntryOptions { * ACL, all traffic is automatically allowed in a default ACL. */ override fun ruleAction(ruleAction: Action) { - cdkBuilder.ruleAction(ruleAction.let(Action::unwrap)) + cdkBuilder.ruleAction(ruleAction.let(Action.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface CommonNetworkAclEntryOptions { * @param traffic What kind of traffic this ACL rule applies to. */ override fun traffic(traffic: AclTraffic) { - cdkBuilder.traffic(traffic.let(AclTraffic::unwrap)) + cdkBuilder.traffic(traffic.let(AclTraffic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.CommonNetworkAclEntryOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConfigureNatOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConfigureNatOptions.kt index 846c8f3946..190f4fb9e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConfigureNatOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConfigureNatOptions.kt @@ -86,7 +86,7 @@ public interface ConfigureNatOptions { * @param natSubnets The public subnets where the NAT providers need to be placed. */ override fun natSubnets(natSubnets: List) { - cdkBuilder.natSubnets(natSubnets.map(PublicSubnet::unwrap)) + cdkBuilder.natSubnets(natSubnets.map(PublicSubnet.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public interface ConfigureNatOptions { * There may be more private subnets than public subnets with NAT providers. */ override fun privateSubnets(privateSubnets: List) { - cdkBuilder.privateSubnets(privateSubnets.map(PrivateSubnet::unwrap)) + cdkBuilder.privateSubnets(privateSubnets.map(PrivateSubnet.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface ConfigureNatOptions { * @param vpc The VPC we're configuring NAT for. */ override fun vpc(vpc: Vpc) { - cdkBuilder.vpc(vpc.let(Vpc::unwrap)) + cdkBuilder.vpc(vpc.let(Vpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.ConfigureNatOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Connections.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Connections.kt index 1fb9e36e23..bf261208a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Connections.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Connections.kt @@ -44,7 +44,7 @@ public open class Connections( ) public constructor(props: ConnectionsProps) : - this(software.amazon.awscdk.services.ec2.Connections(props.let(ConnectionsProps::unwrap)) + this(software.amazon.awscdk.services.ec2.Connections(props.let(ConnectionsProps.Companion::unwrap)) ) public constructor(props: ConnectionsProps.Builder.() -> Unit) : this(ConnectionsProps(props) @@ -69,7 +69,7 @@ public open class Connections( * @param description */ public open fun allowDefaultPortFrom(other: IConnectable) { - unwrap(this).allowDefaultPortFrom(other.let(IConnectable::unwrap)) + unwrap(this).allowDefaultPortFrom(other.let(IConnectable.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public open class Connections( * @param description */ public open fun allowDefaultPortFrom(other: IConnectable, description: String) { - unwrap(this).allowDefaultPortFrom(other.let(IConnectable::unwrap), description) + unwrap(this).allowDefaultPortFrom(other.let(IConnectable.Companion::unwrap), description) } /** @@ -129,7 +129,7 @@ public open class Connections( * @param description */ public open fun allowDefaultPortTo(other: IConnectable) { - unwrap(this).allowDefaultPortTo(other.let(IConnectable::unwrap)) + unwrap(this).allowDefaultPortTo(other.let(IConnectable.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class Connections( * @param description */ public open fun allowDefaultPortTo(other: IConnectable, description: String) { - unwrap(this).allowDefaultPortTo(other.let(IConnectable::unwrap), description) + unwrap(this).allowDefaultPortTo(other.let(IConnectable.Companion::unwrap), description) } /** @@ -152,7 +152,8 @@ public open class Connections( * @param description */ public open fun allowFrom(other: IConnectable, portRange: Port) { - unwrap(this).allowFrom(other.let(IConnectable::unwrap), portRange.let(Port::unwrap)) + unwrap(this).allowFrom(other.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap)) } /** @@ -179,8 +180,8 @@ public open class Connections( portRange: Port, description: String, ) { - unwrap(this).allowFrom(other.let(IConnectable::unwrap), portRange.let(Port::unwrap), - description) + unwrap(this).allowFrom(other.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap), description) } /** @@ -190,7 +191,7 @@ public open class Connections( * @param description */ public open fun allowFromAnyIpv4(portRange: Port) { - unwrap(this).allowFromAnyIpv4(portRange.let(Port::unwrap)) + unwrap(this).allowFromAnyIpv4(portRange.let(Port.Companion::unwrap)) } /** @@ -211,7 +212,7 @@ public open class Connections( * @param description */ public open fun allowFromAnyIpv4(portRange: Port, description: String) { - unwrap(this).allowFromAnyIpv4(portRange.let(Port::unwrap), description) + unwrap(this).allowFromAnyIpv4(portRange.let(Port.Companion::unwrap), description) } /** @@ -221,7 +222,7 @@ public open class Connections( * @param description */ public open fun allowInternally(portRange: Port) { - unwrap(this).allowInternally(portRange.let(Port::unwrap)) + unwrap(this).allowInternally(portRange.let(Port.Companion::unwrap)) } /** @@ -242,7 +243,7 @@ public open class Connections( * @param description */ public open fun allowInternally(portRange: Port, description: String) { - unwrap(this).allowInternally(portRange.let(Port::unwrap), description) + unwrap(this).allowInternally(portRange.let(Port.Companion::unwrap), description) } /** @@ -253,7 +254,8 @@ public open class Connections( * @param description */ public open fun allowTo(other: IConnectable, portRange: Port) { - unwrap(this).allowTo(other.let(IConnectable::unwrap), portRange.let(Port::unwrap)) + unwrap(this).allowTo(other.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap)) } /** @@ -280,7 +282,8 @@ public open class Connections( portRange: Port, description: String, ) { - unwrap(this).allowTo(other.let(IConnectable::unwrap), portRange.let(Port::unwrap), description) + unwrap(this).allowTo(other.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap), description) } /** @@ -290,7 +293,7 @@ public open class Connections( * @param description */ public open fun allowToAnyIpv4(portRange: Port) { - unwrap(this).allowToAnyIpv4(portRange.let(Port::unwrap)) + unwrap(this).allowToAnyIpv4(portRange.let(Port.Companion::unwrap)) } /** @@ -311,7 +314,7 @@ public open class Connections( * @param description */ public open fun allowToAnyIpv4(portRange: Port, description: String) { - unwrap(this).allowToAnyIpv4(portRange.let(Port::unwrap), description) + unwrap(this).allowToAnyIpv4(portRange.let(Port.Companion::unwrap), description) } /** @@ -321,7 +324,7 @@ public open class Connections( * @param description */ public open fun allowToDefaultPort(other: IConnectable) { - unwrap(this).allowToDefaultPort(other.let(IConnectable::unwrap)) + unwrap(this).allowToDefaultPort(other.let(IConnectable.Companion::unwrap)) } /** @@ -331,7 +334,7 @@ public open class Connections( * @param description */ public open fun allowToDefaultPort(other: IConnectable, description: String) { - unwrap(this).allowToDefaultPort(other.let(IConnectable::unwrap), description) + unwrap(this).allowToDefaultPort(other.let(IConnectable.Companion::unwrap), description) } /** @@ -418,7 +421,7 @@ public open class Connections( * @param defaultPort Default port range for initiating connections to and from this object. */ override fun defaultPort(defaultPort: Port) { - cdkBuilder.defaultPort(defaultPort.let(Port::unwrap)) + cdkBuilder.defaultPort(defaultPort.let(Port.Companion::unwrap)) } /** @@ -443,7 +446,7 @@ public open class Connections( * @param peer Class that represents the rule by which others can connect to this connectable. */ override fun peer(peer: IPeer) { - cdkBuilder.peer(peer.let(IPeer::unwrap)) + cdkBuilder.peer(peer.let(IPeer.Companion::unwrap)) } /** @@ -454,7 +457,7 @@ public open class Connections( * @param securityGroups What securityGroup(s) this object is managing connections for. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConnectionsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConnectionsProps.kt index b75571cf43..5408578f33 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConnectionsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ConnectionsProps.kt @@ -95,7 +95,7 @@ public interface ConnectionsProps { * @param defaultPort Default port range for initiating connections to and from this object. */ override fun defaultPort(defaultPort: Port) { - cdkBuilder.defaultPort(defaultPort.let(Port::unwrap)) + cdkBuilder.defaultPort(defaultPort.let(Port.Companion::unwrap)) } /** @@ -111,14 +111,14 @@ public interface ConnectionsProps { * This object is required, but will be derived from securityGroup if that is passed. */ override fun peer(peer: IPeer) { - cdkBuilder.peer(peer.let(IPeer::unwrap)) + cdkBuilder.peer(peer.let(IPeer.Companion::unwrap)) } /** * @param securityGroups What securityGroup(s) this object is managing connections for. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/DestinationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/DestinationOptions.kt index 6a5f055c2f..5b86b4fb20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/DestinationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/DestinationOptions.kt @@ -58,7 +58,7 @@ public interface DestinationOptions : S3DestinationOptions { * @param fileFormat The format for the flow log. */ override fun fileFormat(fileFormat: FlowLogFileFormat) { - cdkBuilder.fileFormat(fileFormat.let(FlowLogFileFormat::unwrap)) + cdkBuilder.fileFormat(fileFormat.let(FlowLogFileFormat.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptions.kt index 01f49d223c..1e413c827a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptions.kt @@ -127,14 +127,14 @@ public interface EbsDeviceOptions : EbsDeviceOptionsBase { * launching the ec2 instances. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.EbsDeviceOptions = cdkBuilder.build() @@ -190,7 +190,9 @@ public interface EbsDeviceOptions : EbsDeviceOptionsBase { /** * The EBS volume type. * - * Default: `EbsDeviceVolumeType.GP2` + * Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or + * `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if + * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled. * * [Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptionsBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptionsBase.kt index 4b65412889..991a570a70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptionsBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceOptionsBase.kt @@ -50,7 +50,9 @@ public interface EbsDeviceOptionsBase { /** * The EBS volume type. * - * Default: `EbsDeviceVolumeType.GP2` + * Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or + * `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if + * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled. * * [Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) */ @@ -110,7 +112,7 @@ public interface EbsDeviceOptionsBase { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.EbsDeviceOptionsBase = @@ -144,7 +146,9 @@ public interface EbsDeviceOptionsBase { /** * The EBS volume type. * - * Default: `EbsDeviceVolumeType.GP2` + * Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or + * `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if + * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled. * * [Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceProps.kt index 53b50d34f9..fa992246bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceProps.kt @@ -65,7 +65,9 @@ public interface EbsDeviceProps : EbsDeviceSnapshotOptions, EbsDeviceOptions { /** * The EBS volume type. * - * Default: `EbsDeviceVolumeType.GP2` + * Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or + * `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if + * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled. * * [Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) */ @@ -159,7 +161,7 @@ public interface EbsDeviceProps : EbsDeviceSnapshotOptions, EbsDeviceOptions { * launching the ec2 instances. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -181,7 +183,7 @@ public interface EbsDeviceProps : EbsDeviceSnapshotOptions, EbsDeviceOptions { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.EbsDeviceProps = cdkBuilder.build() @@ -253,7 +255,9 @@ public interface EbsDeviceProps : EbsDeviceSnapshotOptions, EbsDeviceOptions { /** * The EBS volume type. * - * Default: `EbsDeviceVolumeType.GP2` + * Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or + * `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if + * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled. * * [Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceSnapshotOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceSnapshotOptions.kt index e85011ea6e..db8b69481a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceSnapshotOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EbsDeviceSnapshotOptions.kt @@ -103,7 +103,7 @@ public interface EbsDeviceSnapshotOptions : EbsDeviceOptionsBase { * @param volumeType The EBS volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.EbsDeviceSnapshotOptions = @@ -146,7 +146,9 @@ public interface EbsDeviceSnapshotOptions : EbsDeviceOptionsBase { /** * The EBS volume type. * - * Default: `EbsDeviceVolumeType.GP2` + * Default: `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD` or + * `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3` if + * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume` is enabled. * * [Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EnableVpnGatewayOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EnableVpnGatewayOptions.kt index 20f8ed5ae4..363bfcdde6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EnableVpnGatewayOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/EnableVpnGatewayOptions.kt @@ -96,7 +96,7 @@ public interface EnableVpnGatewayOptions : VpnGatewayProps { * added. */ override fun vpnRoutePropagation(vpnRoutePropagation: List) { - cdkBuilder.vpnRoutePropagation(vpnRoutePropagation.map(SubnetSelection::unwrap)) + cdkBuilder.vpnRoutePropagation(vpnRoutePropagation.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLog.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLog.kt index 969046269e..0707db58a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLog.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLog.kt @@ -33,8 +33,8 @@ public open class FlowLog( id: String, props: FlowLogProps, ) : - this(software.amazon.awscdk.services.ec2.FlowLog(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FlowLogProps::unwrap)) + this(software.amazon.awscdk.services.ec2.FlowLog(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FlowLogProps.Companion::unwrap)) ) public constructor( @@ -191,7 +191,7 @@ public open class FlowLog( * published. */ override fun destination(destination: FlowLogDestination) { - cdkBuilder.destination(destination.let(FlowLogDestination::unwrap)) + cdkBuilder.destination(destination.let(FlowLogDestination.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class FlowLog( * should appear. */ override fun logFormat(logFormat: List) { - cdkBuilder.logFormat(logFormat.map(LogFormat::unwrap)) + cdkBuilder.logFormat(logFormat.map(LogFormat.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class FlowLog( * captured and aggregated into a flow log record. */ override fun maxAggregationInterval(maxAggregationInterval: FlowLogMaxAggregationInterval) { - cdkBuilder.maxAggregationInterval(maxAggregationInterval.let(FlowLogMaxAggregationInterval::unwrap)) + cdkBuilder.maxAggregationInterval(maxAggregationInterval.let(FlowLogMaxAggregationInterval.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class FlowLog( * @param resourceType The type of resource for which to create the flow log. */ override fun resourceType(resourceType: FlowLogResourceType) { - cdkBuilder.resourceType(resourceType.let(FlowLogResourceType::unwrap)) + cdkBuilder.resourceType(resourceType.let(FlowLogResourceType.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class FlowLog( * @param trafficType The type of traffic to log. */ override fun trafficType(trafficType: FlowLogTrafficType) { - cdkBuilder.trafficType(trafficType.let(FlowLogTrafficType::unwrap)) + cdkBuilder.trafficType(trafficType.let(FlowLogTrafficType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.FlowLog = cdkBuilder.build() @@ -294,7 +294,7 @@ public open class FlowLog( id: String, flowLogId: String, ): IFlowLog = - software.amazon.awscdk.services.ec2.FlowLog.fromFlowLogId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.FlowLog.fromFlowLogId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, flowLogId).let(IFlowLog::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestination.kt index 566133e39a..8d23575998 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestination.kt @@ -39,8 +39,8 @@ public abstract class FlowLogDestination( * @param flowLog */ public open fun bind(scope: Construct, flowLog: FlowLog): FlowLogDestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - flowLog.let(FlowLog::unwrap)).let(FlowLogDestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + flowLog.let(FlowLog.Companion::unwrap)).let(FlowLogDestinationConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ec2.FlowLogDestination, @@ -51,11 +51,11 @@ public abstract class FlowLogDestination( software.amazon.awscdk.services.ec2.FlowLogDestination.toCloudWatchLogs().let(FlowLogDestination::wrap) public fun toCloudWatchLogs(logGroup: ILogGroup): FlowLogDestination = - software.amazon.awscdk.services.ec2.FlowLogDestination.toCloudWatchLogs(logGroup.let(ILogGroup::unwrap)).let(FlowLogDestination::wrap) + software.amazon.awscdk.services.ec2.FlowLogDestination.toCloudWatchLogs(logGroup.let(ILogGroup.Companion::unwrap)).let(FlowLogDestination::wrap) public fun toCloudWatchLogs(logGroup: ILogGroup, iamRole: IRole): FlowLogDestination = - software.amazon.awscdk.services.ec2.FlowLogDestination.toCloudWatchLogs(logGroup.let(ILogGroup::unwrap), - iamRole.let(IRole::unwrap)).let(FlowLogDestination::wrap) + software.amazon.awscdk.services.ec2.FlowLogDestination.toCloudWatchLogs(logGroup.let(ILogGroup.Companion::unwrap), + iamRole.let(IRole.Companion::unwrap)).let(FlowLogDestination::wrap) public fun toKinesisDataFirehoseDestination(deliveryStreamArn: String): FlowLogDestination = software.amazon.awscdk.services.ec2.FlowLogDestination.toKinesisDataFirehoseDestination(deliveryStreamArn).let(FlowLogDestination::wrap) @@ -64,10 +64,10 @@ public abstract class FlowLogDestination( software.amazon.awscdk.services.ec2.FlowLogDestination.toS3().let(FlowLogDestination::wrap) public fun toS3(bucket: IBucket): FlowLogDestination = - software.amazon.awscdk.services.ec2.FlowLogDestination.toS3(bucket.let(IBucket::unwrap)).let(FlowLogDestination::wrap) + software.amazon.awscdk.services.ec2.FlowLogDestination.toS3(bucket.let(IBucket.Companion::unwrap)).let(FlowLogDestination::wrap) public fun toS3(bucket: IBucket, keyPrefix: String): FlowLogDestination = - software.amazon.awscdk.services.ec2.FlowLogDestination.toS3(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.ec2.FlowLogDestination.toS3(bucket.let(IBucket.Companion::unwrap), keyPrefix).let(FlowLogDestination::wrap) public fun toS3( @@ -75,8 +75,9 @@ public abstract class FlowLogDestination( keyPrefix: String, options: S3DestinationOptions, ): FlowLogDestination = - software.amazon.awscdk.services.ec2.FlowLogDestination.toS3(bucket.let(IBucket::unwrap), - keyPrefix, options.let(S3DestinationOptions::unwrap)).let(FlowLogDestination::wrap) + software.amazon.awscdk.services.ec2.FlowLogDestination.toS3(bucket.let(IBucket.Companion::unwrap), + keyPrefix, + options.let(S3DestinationOptions.Companion::unwrap)).let(FlowLogDestination::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("69da5a41e3236503effbe0827193df601789cf0de6500d681257d51ba7c16be2") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestinationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestinationConfig.kt index 68b8a3da1e..079f10c729 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestinationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogDestinationConfig.kt @@ -159,7 +159,7 @@ public interface FlowLogDestinationConfig { * @param destinationOptions Options for writing flow logs to a supported destination. */ override fun destinationOptions(destinationOptions: DestinationOptions) { - cdkBuilder.destinationOptions(destinationOptions.let(DestinationOptions::unwrap)) + cdkBuilder.destinationOptions(destinationOptions.let(DestinationOptions.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface FlowLogDestinationConfig { * @param iamRole The IAM Role that has access to publish to CloudWatch logs. */ override fun iamRole(iamRole: IRole) { - cdkBuilder.iamRole(iamRole.let(IRole::unwrap)) + cdkBuilder.iamRole(iamRole.let(IRole.Companion::unwrap)) } /** @@ -188,21 +188,21 @@ public interface FlowLogDestinationConfig { * @param logDestinationType The type of destination to publish the flow logs to. */ override fun logDestinationType(logDestinationType: FlowLogDestinationType) { - cdkBuilder.logDestinationType(logDestinationType.let(FlowLogDestinationType::unwrap)) + cdkBuilder.logDestinationType(logDestinationType.let(FlowLogDestinationType.Companion::unwrap)) } /** * @param logGroup The CloudWatch Logs Log Group to publish the flow logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** * @param s3Bucket S3 bucket to publish the flow logs to. */ override fun s3Bucket(s3Bucket: IBucket) { - cdkBuilder.s3Bucket(s3Bucket.let(IBucket::unwrap)) + cdkBuilder.s3Bucket(s3Bucket.let(IBucket.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.FlowLogDestinationConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogOptions.kt index c28745e17a..1c48c025aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogOptions.kt @@ -140,7 +140,7 @@ public interface FlowLogOptions { * Flow log data can be published to CloudWatch Logs or Amazon S3 */ override fun destination(destination: FlowLogDestination) { - cdkBuilder.destination(destination.let(FlowLogDestination::unwrap)) + cdkBuilder.destination(destination.let(FlowLogDestination.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface FlowLogOptions { * See https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records */ override fun logFormat(logFormat: List) { - cdkBuilder.logFormat(logFormat.map(LogFormat::unwrap)) + cdkBuilder.logFormat(logFormat.map(LogFormat.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface FlowLogOptions { * this property must be ONE_MINUTES. */ override fun maxAggregationInterval(maxAggregationInterval: FlowLogMaxAggregationInterval) { - cdkBuilder.maxAggregationInterval(maxAggregationInterval.let(FlowLogMaxAggregationInterval::unwrap)) + cdkBuilder.maxAggregationInterval(maxAggregationInterval.let(FlowLogMaxAggregationInterval.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface FlowLogOptions { * type is not possible. */ override fun trafficType(trafficType: FlowLogTrafficType) { - cdkBuilder.trafficType(trafficType.let(FlowLogTrafficType::unwrap)) + cdkBuilder.trafficType(trafficType.let(FlowLogTrafficType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.FlowLogOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogProps.kt index adf891b3ce..0803085af3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogProps.kt @@ -110,7 +110,7 @@ public interface FlowLogProps : FlowLogOptions { * Flow log data can be published to CloudWatch Logs or Amazon S3 */ override fun destination(destination: FlowLogDestination) { - cdkBuilder.destination(destination.let(FlowLogDestination::unwrap)) + cdkBuilder.destination(destination.let(FlowLogDestination.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface FlowLogProps : FlowLogOptions { * See https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records */ override fun logFormat(logFormat: List) { - cdkBuilder.logFormat(logFormat.map(LogFormat::unwrap)) + cdkBuilder.logFormat(logFormat.map(LogFormat.Companion::unwrap)) } /** @@ -153,14 +153,14 @@ public interface FlowLogProps : FlowLogOptions { * this property must be ONE_MINUTES. */ override fun maxAggregationInterval(maxAggregationInterval: FlowLogMaxAggregationInterval) { - cdkBuilder.maxAggregationInterval(maxAggregationInterval.let(FlowLogMaxAggregationInterval::unwrap)) + cdkBuilder.maxAggregationInterval(maxAggregationInterval.let(FlowLogMaxAggregationInterval.Companion::unwrap)) } /** * @param resourceType The type of resource for which to create the flow log. */ override fun resourceType(resourceType: FlowLogResourceType) { - cdkBuilder.resourceType(resourceType.let(FlowLogResourceType::unwrap)) + cdkBuilder.resourceType(resourceType.let(FlowLogResourceType.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public interface FlowLogProps : FlowLogOptions { * type is not possible. */ override fun trafficType(trafficType: FlowLogTrafficType) { - cdkBuilder.trafficType(trafficType.let(FlowLogTrafficType::unwrap)) + cdkBuilder.trafficType(trafficType.let(FlowLogTrafficType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.FlowLogProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogResourceType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogResourceType.kt index 1c778ecc2c..8ac483f236 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogResourceType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/FlowLogResourceType.kt @@ -54,7 +54,7 @@ public abstract class FlowLogResourceType( software.amazon.awscdk.services.ec2.FlowLogResourceType.fromNetworkInterfaceId(id).let(FlowLogResourceType::wrap) public fun fromSubnet(subnet: ISubnet): FlowLogResourceType = - software.amazon.awscdk.services.ec2.FlowLogResourceType.fromSubnet(subnet.let(ISubnet::unwrap)).let(FlowLogResourceType::wrap) + software.amazon.awscdk.services.ec2.FlowLogResourceType.fromSubnet(subnet.let(ISubnet.Companion::unwrap)).let(FlowLogResourceType::wrap) public fun fromTransitGatewayAttachmentId(id: String): FlowLogResourceType = software.amazon.awscdk.services.ec2.FlowLogResourceType.fromTransitGatewayAttachmentId(id).let(FlowLogResourceType::wrap) @@ -63,7 +63,7 @@ public abstract class FlowLogResourceType( software.amazon.awscdk.services.ec2.FlowLogResourceType.fromTransitGatewayId(id).let(FlowLogResourceType::wrap) public fun fromVpc(vpc: IVpc): FlowLogResourceType = - software.amazon.awscdk.services.ec2.FlowLogResourceType.fromVpc(vpc.let(IVpc::unwrap)).let(FlowLogResourceType::wrap) + software.amazon.awscdk.services.ec2.FlowLogResourceType.fromVpc(vpc.let(IVpc.Companion::unwrap)).let(FlowLogResourceType::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.FlowLogResourceType): FlowLogResourceType = CdkObjectWrappers.wrap(cdkObject) as? FlowLogResourceType ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpoint.kt index eb74d99afa..a3ffe2579b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpoint.kt @@ -47,8 +47,8 @@ public open class GatewayVpcEndpoint( id: String, props: GatewayVpcEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.GatewayVpcEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GatewayVpcEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.GatewayVpcEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GatewayVpcEndpointProps.Companion::unwrap)) ) public constructor( @@ -159,7 +159,7 @@ public open class GatewayVpcEndpoint( * @param service The service to use for this gateway VPC endpoint. */ override fun service(service: IGatewayVpcEndpointService) { - cdkBuilder.service(service.let(IGatewayVpcEndpointService::unwrap)) + cdkBuilder.service(service.let(IGatewayVpcEndpointService.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class GatewayVpcEndpoint( * @param subnets Where to add endpoint routing. */ override fun subnets(subnets: List) { - cdkBuilder.subnets(subnets.map(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class GatewayVpcEndpoint( * @param vpc The VPC network in which the gateway endpoint will be used. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.GatewayVpcEndpoint = cdkBuilder.build() @@ -228,7 +228,7 @@ public open class GatewayVpcEndpoint( id: String, gatewayVpcEndpointId: String, ): IGatewayVpcEndpoint = - software.amazon.awscdk.services.ec2.GatewayVpcEndpoint.fromGatewayVpcEndpointId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.GatewayVpcEndpoint.fromGatewayVpcEndpointId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, gatewayVpcEndpointId).let(IGatewayVpcEndpoint::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointOptions.kt index 3ce07dfd60..549e5581a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointOptions.kt @@ -99,7 +99,7 @@ public interface GatewayVpcEndpointOptions { * @param service The service to use for this gateway VPC endpoint. */ override fun service(service: IGatewayVpcEndpointService) { - cdkBuilder.service(service.let(IGatewayVpcEndpointService::unwrap)) + cdkBuilder.service(service.let(IGatewayVpcEndpointService.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface GatewayVpcEndpointOptions { * Specify a list of subnet selection objects here to be more specific. */ override fun subnets(subnets: List) { - cdkBuilder.subnets(subnets.map(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointProps.kt index c75fd0861f..408a06f496 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GatewayVpcEndpointProps.kt @@ -80,7 +80,7 @@ public interface GatewayVpcEndpointProps : GatewayVpcEndpointOptions { * @param service The service to use for this gateway VPC endpoint. */ override fun service(service: IGatewayVpcEndpointService) { - cdkBuilder.service(service.let(IGatewayVpcEndpointService::unwrap)) + cdkBuilder.service(service.let(IGatewayVpcEndpointService.Companion::unwrap)) } /** @@ -89,7 +89,7 @@ public interface GatewayVpcEndpointProps : GatewayVpcEndpointOptions { * Specify a list of subnet selection objects here to be more specific. */ override fun subnets(subnets: List) { - cdkBuilder.subnets(subnets.map(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public interface GatewayVpcEndpointProps : GatewayVpcEndpointOptions { * @param vpc The VPC network in which the gateway endpoint will be used. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.GatewayVpcEndpointProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImage.kt index d7fefcf9bc..20deaca0af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImage.kt @@ -44,7 +44,7 @@ public open class GenericLinuxImage( public constructor(amiMap: Map, props: GenericLinuxImageProps) : this(software.amazon.awscdk.services.ec2.GenericLinuxImage(amiMap, - props.let(GenericLinuxImageProps::unwrap)) + props.let(GenericLinuxImageProps.Companion::unwrap)) ) public constructor(amiMap: Map, props: GenericLinuxImageProps.Builder.() -> Unit) @@ -57,7 +57,7 @@ public open class GenericLinuxImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ec2.GenericLinuxImage]. @@ -88,7 +88,7 @@ public open class GenericLinuxImage( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.GenericLinuxImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImageProps.kt index 2e57f17f25..3f2d9178c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericLinuxImageProps.kt @@ -49,7 +49,7 @@ public interface GenericLinuxImageProps { * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.GenericLinuxImageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericSSMParameterImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericSSMParameterImage.kt index b227b9db9f..7acc88d7a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericSSMParameterImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericSSMParameterImage.kt @@ -32,7 +32,7 @@ public open class GenericSSMParameterImage( ) : CdkObject(cdkObject), IMachineImage { public constructor(parameterName: String, os: OperatingSystemType) : this(software.amazon.awscdk.services.ec2.GenericSSMParameterImage(parameterName, - os.let(OperatingSystemType::unwrap)) + os.let(OperatingSystemType.Companion::unwrap)) ) public constructor( @@ -40,7 +40,7 @@ public open class GenericSSMParameterImage( os: OperatingSystemType, userData: UserData, ) : this(software.amazon.awscdk.services.ec2.GenericSSMParameterImage(parameterName, - os.let(OperatingSystemType::unwrap), userData.let(UserData::unwrap)) + os.let(OperatingSystemType.Companion::unwrap), userData.let(UserData.Companion::unwrap)) ) /** @@ -49,7 +49,7 @@ public open class GenericSSMParameterImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * Name of the SSM parameter we're looking up. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImage.kt index 76a8e97748..c02cb1179e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImage.kt @@ -36,7 +36,7 @@ public open class GenericWindowsImage( public constructor(amiMap: Map, props: GenericWindowsImageProps) : this(software.amazon.awscdk.services.ec2.GenericWindowsImage(amiMap, - props.let(GenericWindowsImageProps::unwrap)) + props.let(GenericWindowsImageProps.Companion::unwrap)) ) public constructor(amiMap: Map, @@ -50,7 +50,7 @@ public open class GenericWindowsImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ec2.GenericWindowsImage]. @@ -81,7 +81,7 @@ public open class GenericWindowsImage( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.GenericWindowsImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImageProps.kt index 2ba6075abd..f436dfd35e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/GenericWindowsImageProps.kt @@ -49,7 +49,7 @@ public interface GenericWindowsImageProps { * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.GenericWindowsImageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IClientVpnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IClientVpnEndpoint.kt index 9fde577cd8..b76d4d3d8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IClientVpnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IClientVpnEndpoint.kt @@ -43,7 +43,7 @@ public interface IClientVpnEndpoint : IResource, IConnectable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IFlowLog.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IFlowLog.kt index 41afe2c3e6..c327816145 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IFlowLog.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IFlowLog.kt @@ -37,7 +37,7 @@ public interface IFlowLog : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IGatewayVpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IGatewayVpcEndpoint.kt index c54b49e974..412dd83e14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IGatewayVpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IGatewayVpcEndpoint.kt @@ -31,7 +31,7 @@ public interface IGatewayVpcEndpoint : IVpcEndpoint { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInstance.kt index ba5a2717a9..2caa78a781 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInstance.kt @@ -68,7 +68,7 @@ public interface IInstance : IResource, IConnectable, IGrantable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInterfaceVpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInterfaceVpcEndpoint.kt index 45e0b3caaa..6031596ce3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInterfaceVpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IInterfaceVpcEndpoint.kt @@ -31,7 +31,7 @@ public interface IInterfaceVpcEndpoint : IVpcEndpoint, IConnectable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpAddresses.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpAddresses.kt index 19bee2baff..8fcedb396e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpAddresses.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpAddresses.kt @@ -51,7 +51,7 @@ public interface IIpAddresses { * @param input */ override fun allocateSubnetsCidr(input: AllocateCidrRequest): SubnetIpamOptions = - unwrap(this).allocateSubnetsCidr(input.let(AllocateCidrRequest::unwrap)).let(SubnetIpamOptions::wrap) + unwrap(this).allocateSubnetsCidr(input.let(AllocateCidrRequest.Companion::unwrap)).let(SubnetIpamOptions::wrap) /** * Called by the VPC to retrieve Subnet options from the Ipam. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpv6Addresses.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpv6Addresses.kt index 925840594c..54d619c6a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpv6Addresses.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IIpv6Addresses.kt @@ -104,7 +104,7 @@ public interface IIpv6Addresses { * @param input */ override fun allocateSubnetsIpv6Cidr(input: AllocateIpv6CidrRequest): SubnetIpamOptions = - unwrap(this).allocateSubnetsIpv6Cidr(input.let(AllocateIpv6CidrRequest::unwrap)).let(SubnetIpamOptions::wrap) + unwrap(this).allocateSubnetsIpv6Cidr(input.let(AllocateIpv6CidrRequest.Companion::unwrap)).let(SubnetIpamOptions::wrap) /** * Allocates Subnets IPv6 CIDRs. Called by VPC when creating subnets with IPv6 enabled. @@ -126,7 +126,7 @@ public interface IIpv6Addresses { * @param input */ override fun allocateVpcIpv6Cidr(input: AllocateVpcIpv6CidrRequest): CfnVPCCidrBlock = - unwrap(this).allocateVpcIpv6Cidr(input.let(AllocateVpcIpv6CidrRequest::unwrap)).let(CfnVPCCidrBlock::wrap) + unwrap(this).allocateVpcIpv6Cidr(input.let(AllocateVpcIpv6CidrRequest.Companion::unwrap)).let(CfnVPCCidrBlock::wrap) /** * Called by VPC to allocate IPv6 CIDR. @@ -164,7 +164,7 @@ public interface IIpv6Addresses { * @param input */ override fun createIpv6CidrBlocks(input: CreateIpv6CidrBlocksRequest): List = - unwrap(this).createIpv6CidrBlocks(input.let(CreateIpv6CidrBlocksRequest::unwrap)) + unwrap(this).createIpv6CidrBlocks(input.let(CreateIpv6CidrBlocksRequest.Companion::unwrap)) /** * Split IPv6 CIDR block up for subnets. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IKeyPair.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IKeyPair.kt index e37943385a..d19ac9f435 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IKeyPair.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IKeyPair.kt @@ -42,7 +42,7 @@ public interface IKeyPair : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ILaunchTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ILaunchTemplate.kt index 636c179d39..857ef5de2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ILaunchTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ILaunchTemplate.kt @@ -51,7 +51,7 @@ public interface ILaunchTemplate : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IMachineImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IMachineImage.kt index c0e889ee82..47cf79ed13 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IMachineImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IMachineImage.kt @@ -26,7 +26,7 @@ public interface IMachineImage { * @param scope */ override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAcl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAcl.kt index edfd0d4316..88d5ed0b6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAcl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAcl.kt @@ -52,7 +52,7 @@ public interface INetworkAcl : IResource { */ override fun addEntry(id: String, options: CommonNetworkAclEntryOptions): NetworkAclEntry = unwrap(this).addEntry(id, - options.let(CommonNetworkAclEntryOptions::unwrap)).let(NetworkAclEntry::wrap) + options.let(CommonNetworkAclEntryOptions.Companion::unwrap)).let(NetworkAclEntry::wrap) /** * Add a new entry to the ACL. @@ -79,7 +79,7 @@ public interface INetworkAcl : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAclEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAclEntry.kt index c0b554be7d..7224aab217 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAclEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/INetworkAclEntry.kt @@ -36,7 +36,7 @@ public interface INetworkAclEntry : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPlacementGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPlacementGroup.kt index 7fb17e5f64..8454946146 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPlacementGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPlacementGroup.kt @@ -79,7 +79,7 @@ public interface IPlacementGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrefixList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrefixList.kt index 7a50134e97..df98c02d47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrefixList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrefixList.kt @@ -37,7 +37,7 @@ public interface IPrefixList : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrivateSubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrivateSubnet.kt index 8647190dc3..81cd3ccd97 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrivateSubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPrivateSubnet.kt @@ -32,7 +32,7 @@ public interface IPrivateSubnet : ISubnet { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -42,7 +42,7 @@ public interface IPrivateSubnet : ISubnet { * @param acl The Network ACL to associate. */ override fun associateNetworkAcl(id: String, acl: INetworkAcl) { - unwrap(this).associateNetworkAcl(id, acl.let(INetworkAcl::unwrap)) + unwrap(this).associateNetworkAcl(id, acl.let(INetworkAcl.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPublicSubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPublicSubnet.kt index 2542c4348c..9bc70ed9a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPublicSubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IPublicSubnet.kt @@ -32,7 +32,7 @@ public interface IPublicSubnet : ISubnet { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -42,7 +42,7 @@ public interface IPublicSubnet : ISubnet { * @param acl The Network ACL to associate. */ override fun associateNetworkAcl(id: String, acl: INetworkAcl) { - unwrap(this).associateNetworkAcl(id, acl.let(INetworkAcl::unwrap)) + unwrap(this).associateNetworkAcl(id, acl.let(INetworkAcl.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISecurityGroup.kt index d835b7b16e..4457b2db08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISecurityGroup.kt @@ -197,7 +197,8 @@ public interface ISecurityGroup : IResource, IPeer { * @param remoteRule */ override fun addEgressRule(peer: IPeer, connection: Port) { - unwrap(this).addEgressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap)) + unwrap(this).addEgressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap)) } /** @@ -238,7 +239,8 @@ public interface ISecurityGroup : IResource, IPeer { connection: Port, description: String, ) { - unwrap(this).addEgressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), description) + unwrap(this).addEgressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description) } /** @@ -261,8 +263,8 @@ public interface ISecurityGroup : IResource, IPeer { description: String, remoteRule: Boolean, ) { - unwrap(this).addEgressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), description, - remoteRule) + unwrap(this).addEgressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description, remoteRule) } /** @@ -280,7 +282,8 @@ public interface ISecurityGroup : IResource, IPeer { * @param remoteRule */ override fun addIngressRule(peer: IPeer, connection: Port) { - unwrap(this).addIngressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap)) + unwrap(this).addIngressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap)) } /** @@ -321,8 +324,8 @@ public interface ISecurityGroup : IResource, IPeer { connection: Port, description: String, ) { - unwrap(this).addIngressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), - description) + unwrap(this).addIngressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description) } /** @@ -345,8 +348,8 @@ public interface ISecurityGroup : IResource, IPeer { description: String, remoteRule: Boolean, ) { - unwrap(this).addIngressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), - description, remoteRule) + unwrap(this).addIngressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description, remoteRule) } /** @@ -368,7 +371,7 @@ public interface ISecurityGroup : IResource, IPeer { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnet.kt index c9f62fe217..6540991019 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnet.kt @@ -66,7 +66,7 @@ public interface ISubnet : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -76,7 +76,7 @@ public interface ISubnet : IResource { * @param acl The Network ACL to associate. */ override fun associateNetworkAcl(id: String, acl: INetworkAcl) { - unwrap(this).associateNetworkAcl(id, acl.let(INetworkAcl::unwrap)) + unwrap(this).associateNetworkAcl(id, acl.let(INetworkAcl.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnetNetworkAclAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnetNetworkAclAssociation.kt index 32fd7ef68c..7b5c7aa0d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnetNetworkAclAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ISubnetNetworkAclAssociation.kt @@ -37,7 +37,7 @@ public interface ISubnetNetworkAclAssociation : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVolume.kt index a448df224f..3b7096f70d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVolume.kt @@ -180,7 +180,7 @@ public interface IVolume : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface IVolume : IResource { * @param instances the instances to which permission is being granted to attach this volume to. */ override fun grantAttachVolume(grantee: IGrantable): Grant = - unwrap(this).grantAttachVolume(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantAttachVolume(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to attach this Volume to an instance. @@ -231,8 +231,8 @@ public interface IVolume : IResource { * @param instances the instances to which permission is being granted to attach this volume to. */ override fun grantAttachVolume(grantee: IGrantable, instances: List): Grant = - unwrap(this).grantAttachVolume(grantee.let(IGrantable::unwrap), - instances.map(IInstance::unwrap)).let(Grant::wrap) + unwrap(this).grantAttachVolume(grantee.let(IGrantable.Companion::unwrap), + instances.map(IInstance.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to attach the Volume by a ResourceTag condition. @@ -254,8 +254,9 @@ public interface IVolume : IResource { * value. */ override fun grantAttachVolumeByResourceTag(grantee: IGrantable, constructs: List): - Grant = unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(Construct::unwrap)).let(Grant::wrap) + Grant = + unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(Construct.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to attach the Volume by a ResourceTag condition. @@ -280,8 +281,9 @@ public interface IVolume : IResource { grantee: IGrantable, constructs: List, tagKeySuffix: String, - ): Grant = unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(Construct::unwrap), tagKeySuffix).let(Grant::wrap) + ): Grant = + unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(Construct.Companion::unwrap), tagKeySuffix).let(Grant::wrap) /** * Grants permission to detach this Volume from an instance CAUTION: Granting an instance @@ -296,7 +298,7 @@ public interface IVolume : IResource { * from. */ override fun grantDetachVolume(grantee: IGrantable): Grant = - unwrap(this).grantDetachVolume(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDetachVolume(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to detach this Volume from an instance CAUTION: Granting an instance @@ -311,8 +313,8 @@ public interface IVolume : IResource { * from. */ override fun grantDetachVolume(grantee: IGrantable, instances: List): Grant = - unwrap(this).grantDetachVolume(grantee.let(IGrantable::unwrap), - instances.map(IInstance::unwrap)).let(Grant::wrap) + unwrap(this).grantDetachVolume(grantee.let(IGrantable.Companion::unwrap), + instances.map(IInstance.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to detach the Volume by a ResourceTag condition. @@ -327,8 +329,9 @@ public interface IVolume : IResource { * value. */ override fun grantDetachVolumeByResourceTag(grantee: IGrantable, constructs: List): - Grant = unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(Construct::unwrap)).let(Grant::wrap) + Grant = + unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(Construct.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to detach the Volume by a ResourceTag condition. @@ -346,8 +349,9 @@ public interface IVolume : IResource { grantee: IGrantable, constructs: List, tagKeySuffix: String, - ): Grant = unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(Construct::unwrap), tagKeySuffix).let(Grant::wrap) + ): Grant = + unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(Construct.Companion::unwrap), tagKeySuffix).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpc.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpc.kt index 00048725e4..d49003ad4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpc.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpc.kt @@ -226,7 +226,7 @@ public interface IVpc : IResource { */ override fun addClientVpnEndpoint(id: String, options: ClientVpnEndpointOptions): ClientVpnEndpoint = unwrap(this).addClientVpnEndpoint(id, - options.let(ClientVpnEndpointOptions::unwrap)).let(ClientVpnEndpoint::wrap) + options.let(ClientVpnEndpointOptions.Companion::unwrap)).let(ClientVpnEndpoint::wrap) /** * Adds a new client VPN endpoint to this VPC. @@ -255,7 +255,8 @@ public interface IVpc : IResource { * @param options */ override fun addFlowLog(id: String, options: FlowLogOptions): FlowLog = - unwrap(this).addFlowLog(id, options.let(FlowLogOptions::unwrap)).let(FlowLog::wrap) + unwrap(this).addFlowLog(id, + options.let(FlowLogOptions.Companion::unwrap)).let(FlowLog::wrap) /** * Adds a new Flow Log to this VPC. @@ -276,7 +277,7 @@ public interface IVpc : IResource { */ override fun addGatewayEndpoint(id: String, options: GatewayVpcEndpointOptions): GatewayVpcEndpoint = unwrap(this).addGatewayEndpoint(id, - options.let(GatewayVpcEndpointOptions::unwrap)).let(GatewayVpcEndpoint::wrap) + options.let(GatewayVpcEndpointOptions.Companion::unwrap)).let(GatewayVpcEndpoint::wrap) /** * Adds a new gateway endpoint to this VPC. @@ -298,7 +299,7 @@ public interface IVpc : IResource { */ override fun addInterfaceEndpoint(id: String, options: InterfaceVpcEndpointOptions): InterfaceVpcEndpoint = unwrap(this).addInterfaceEndpoint(id, - options.let(InterfaceVpcEndpointOptions::unwrap)).let(InterfaceVpcEndpoint::wrap) + options.let(InterfaceVpcEndpointOptions.Companion::unwrap)).let(InterfaceVpcEndpoint::wrap) /** * Adds a new interface endpoint to this VPC. @@ -320,7 +321,7 @@ public interface IVpc : IResource { */ override fun addVpnConnection(id: String, options: VpnConnectionOptions): VpnConnection = unwrap(this).addVpnConnection(id, - options.let(VpnConnectionOptions::unwrap)).let(VpnConnection::wrap) + options.let(VpnConnectionOptions.Companion::unwrap)).let(VpnConnection::wrap) /** * Adds a new VPN connection to this VPC. @@ -347,7 +348,7 @@ public interface IVpc : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -361,7 +362,7 @@ public interface IVpc : IResource { * @param options */ override fun enableVpnGateway(options: EnableVpnGatewayOptions) { - unwrap(this).enableVpnGateway(options.let(EnableVpnGatewayOptions::unwrap)) + unwrap(this).enableVpnGateway(options.let(EnableVpnGatewayOptions.Companion::unwrap)) } /** @@ -431,7 +432,7 @@ public interface IVpc : IResource { * @param selection */ override fun selectSubnets(selection: SubnetSelection): SelectedSubnets = - unwrap(this).selectSubnets(selection.let(SubnetSelection::unwrap)).let(SelectedSubnets::wrap) + unwrap(this).selectSubnets(selection.let(SubnetSelection.Companion::unwrap)).let(SelectedSubnets::wrap) /** * Return information on the subnets appropriate for the given selection strategy. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpoint.kt index cc125e823a..86353b9733 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpoint.kt @@ -37,7 +37,7 @@ public interface IVpcEndpoint : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpointService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpointService.kt index 516bb4e90d..c76c3e8445 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpointService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpcEndpointService.kt @@ -44,7 +44,7 @@ public interface IVpcEndpointService : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnConnection.kt index f946a4ffb6..17c6edefe3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnConnection.kt @@ -170,7 +170,7 @@ public interface IVpnConnection : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -216,7 +216,8 @@ public interface IVpnConnection : IResource { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this VPNConnection. @@ -246,7 +247,7 @@ public interface IVpnConnection : IResource { * @param props */ override fun metricTunnelDataIn(props: MetricOptions): Metric = - unwrap(this).metricTunnelDataIn(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTunnelDataIn(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The bytes received through the VPN tunnel. @@ -278,7 +279,7 @@ public interface IVpnConnection : IResource { * @param props */ override fun metricTunnelDataOut(props: MetricOptions): Metric = - unwrap(this).metricTunnelDataOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTunnelDataOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The bytes sent through the VPN tunnel. @@ -309,7 +310,7 @@ public interface IVpnConnection : IResource { * @param props */ override fun metricTunnelState(props: MetricOptions): Metric = - unwrap(this).metricTunnelState(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTunnelState(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The state of the tunnel. 0 indicates DOWN and 1 indicates UP. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnGateway.kt index 31164f887b..40a5632530 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IVpnGateway.kt @@ -37,7 +37,7 @@ public interface IVpnGateway : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommand.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommand.kt index 9b8f4fa330..006d826881 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommand.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommand.kt @@ -35,7 +35,7 @@ public open class InitCommand( public fun argvCommand(argv: List, options: InitCommandOptions): InitCommand = software.amazon.awscdk.services.ec2.InitCommand.argvCommand(argv, - options.let(InitCommandOptions::unwrap)).let(InitCommand::wrap) + options.let(InitCommandOptions.Companion::unwrap)).let(InitCommand::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a0c19cbf9eb896fbd54ff7a0bd0819b6bb6ed28b35a7aed77ecdcaae3239f254") @@ -47,7 +47,7 @@ public open class InitCommand( public fun shellCommand(shellCommand: String, options: InitCommandOptions): InitCommand = software.amazon.awscdk.services.ec2.InitCommand.shellCommand(shellCommand, - options.let(InitCommandOptions::unwrap)).let(InitCommand::wrap) + options.let(InitCommandOptions.Companion::unwrap)).let(InitCommand::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fb1d0fcbe5c0edf66553efc370b400bcec713ffa9e0140d8cfb97aabd109e1fb") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandOptions.kt index d1e368eb64..a3d132c705 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandOptions.kt @@ -182,7 +182,7 @@ public interface InitCommandOptions { * @param serviceRestartHandles Restart the given service(s) after this command has run. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface InitCommandOptions { * For Windows systems only. */ override fun waitAfterCompletion(waitAfterCompletion: InitCommandWaitDuration) { - cdkBuilder.waitAfterCompletion(waitAfterCompletion.let(InitCommandWaitDuration::unwrap)) + cdkBuilder.waitAfterCompletion(waitAfterCompletion.let(InitCommandWaitDuration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.InitCommandOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandWaitDuration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandWaitDuration.kt index d2bb06137d..0ed0fea44c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandWaitDuration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitCommandWaitDuration.kt @@ -33,7 +33,7 @@ public abstract class InitCommandWaitDuration( software.amazon.awscdk.services.ec2.InitCommandWaitDuration.none().let(InitCommandWaitDuration::wrap) public fun of(duration: Duration): InitCommandWaitDuration = - software.amazon.awscdk.services.ec2.InitCommandWaitDuration.of(duration.let(Duration::unwrap)).let(InitCommandWaitDuration::wrap) + software.amazon.awscdk.services.ec2.InitCommandWaitDuration.of(duration.let(Duration.Companion::unwrap)).let(InitCommandWaitDuration::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.InitCommandWaitDuration): InitCommandWaitDuration = CdkObjectWrappers.wrap(cdkObject) as? InitCommandWaitDuration ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitConfig.kt index fb83578f12..53472283e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitConfig.kt @@ -54,7 +54,7 @@ public open class InitConfig( cdkObject: software.amazon.awscdk.services.ec2.InitConfig, ) : CdkObject(cdkObject) { public constructor(elements: List) : - this(software.amazon.awscdk.services.ec2.InitConfig(elements.map(InitElement::unwrap)) + this(software.amazon.awscdk.services.ec2.InitConfig(elements.map(InitElement.Companion::unwrap)) ) public constructor(vararg elements: InitElement) : this(elements.toList() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFile.kt index 20d82beb21..fdaab1855d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFile.kt @@ -56,7 +56,7 @@ public abstract class InitFile( path: String, options: InitFileAssetOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromAsset(targetFileName, path, - options.let(InitFileAssetOptions::unwrap)).let(InitFile::wrap) + options.let(InitFileAssetOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0cd84052c5af85eab4abafad0cb4955b8e98fcbabce662031d8126c0cdc4b88c") @@ -68,14 +68,15 @@ public abstract class InitFile( public fun fromExistingAsset(targetFileName: String, asset: Asset): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromExistingAsset(targetFileName, - asset.let(Asset::unwrap)).let(InitFile::wrap) + asset.let(Asset.Companion::unwrap)).let(InitFile::wrap) public fun fromExistingAsset( targetFileName: String, asset: Asset, options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromExistingAsset(targetFileName, - asset.let(Asset::unwrap), options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + asset.let(Asset.Companion::unwrap), + options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0682e870032d4be19d8855aec193f92aa7b2efdbf7f3b392bbd49c301fc76c76") @@ -94,7 +95,7 @@ public abstract class InitFile( sourceFileName: String, options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromFileInline(targetFileName, - sourceFileName, options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + sourceFileName, options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("878f71ef5b9479902b6f46c0620a740d1dd2326dd7d170f10504747a5c1695db") @@ -114,7 +115,7 @@ public abstract class InitFile( options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromObject(fileName, obj.mapValues{CdkObjectWrappers.unwrap(it.value)}, - options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e345663b9fbc8b23594aa30cc8848b9da053d6333bfcfbd85dd18b77055b3770") @@ -129,7 +130,7 @@ public abstract class InitFile( bucket: IBucket, key: String, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromS3Object(fileName, - bucket.let(IBucket::unwrap), key).let(InitFile::wrap) + bucket.let(IBucket.Companion::unwrap), key).let(InitFile::wrap) public fun fromS3Object( fileName: String, @@ -137,7 +138,8 @@ public abstract class InitFile( key: String, options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromS3Object(fileName, - bucket.let(IBucket::unwrap), key, options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + bucket.let(IBucket.Companion::unwrap), key, + options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f2f70a96955a6a69821f6e2b7f68daedd0264960b582a110c3ca98032e0efc4") @@ -157,7 +159,7 @@ public abstract class InitFile( content: String, options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromString(fileName, content, - options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3a466a510cb9df44b5f954405749e107dcaa57db1fb0afcbb5e451b71e178ea0") @@ -175,7 +177,7 @@ public abstract class InitFile( url: String, options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.fromUrl(fileName, url, - options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4fa29a032d33c25fa83792a2cbb96ea2ed59be37f14328bc2301abf27ec7b3b7") @@ -193,7 +195,7 @@ public abstract class InitFile( target: String, options: InitFileOptions, ): InitFile = software.amazon.awscdk.services.ec2.InitFile.symlink(fileName, target, - options.let(InitFileOptions::unwrap)).let(InitFile::wrap) + options.let(InitFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("243018c22471ae1eb11927c0b3d7fb02d0d91fdcfb0faab2cf57e3c5d3e3f66b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileAssetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileAssetOptions.kt index 442ec3d5ab..9a1c8db706 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileAssetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileAssetOptions.kt @@ -239,7 +239,7 @@ public interface InitFileAssetOptions : InitFileOptions, AssetOptions { * `AssetHashType.CUSTOM`. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface InitFileAssetOptions : InitFileOptions, AssetOptions { * final asset. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface InitFileAssetOptions : InitFileOptions, AssetOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface InitFileAssetOptions : InitFileOptions, AssetOptions { * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface InitFileAssetOptions : InitFileOptions, AssetOptions { * You can use `asset.grantRead(principal)` to grant read permissions later. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface InitFileAssetOptions : InitFileOptions, AssetOptions { * @param serviceRestartHandles Restart the given service after this file has been written. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileOptions.kt index 433ac2da85..5d3c574577 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitFileOptions.kt @@ -169,7 +169,7 @@ public interface InitFileOptions { * @param serviceRestartHandles Restart the given service after this file has been written. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitPackage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitPackage.kt index 4911c28dbd..e473173163 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitPackage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitPackage.kt @@ -63,7 +63,7 @@ public open class InitPackage( public fun apt(packageName: String, options: NamedPackageOptions): InitPackage = software.amazon.awscdk.services.ec2.InitPackage.apt(packageName, - options.let(NamedPackageOptions::unwrap)).let(InitPackage::wrap) + options.let(NamedPackageOptions.Companion::unwrap)).let(InitPackage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("56c5ef4dac296da113d618dc5a4c58d0f05db718cb912e50eff52e25a849456f") @@ -75,7 +75,7 @@ public open class InitPackage( public fun msi(location: String, options: LocationPackageOptions): InitPackage = software.amazon.awscdk.services.ec2.InitPackage.msi(location, - options.let(LocationPackageOptions::unwrap)).let(InitPackage::wrap) + options.let(LocationPackageOptions.Companion::unwrap)).let(InitPackage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b31ac763634b5421ccf514f35d44f1c8490df358012f23e9765e8ca2bf948245") @@ -87,7 +87,7 @@ public open class InitPackage( public fun python(packageName: String, options: NamedPackageOptions): InitPackage = software.amazon.awscdk.services.ec2.InitPackage.python(packageName, - options.let(NamedPackageOptions::unwrap)).let(InitPackage::wrap) + options.let(NamedPackageOptions.Companion::unwrap)).let(InitPackage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("840c48621004e25887c34b3d3cf879b2b56dfc1967359f95c3fbb02007c1ca00") @@ -99,7 +99,7 @@ public open class InitPackage( public fun rpm(location: String, options: LocationPackageOptions): InitPackage = software.amazon.awscdk.services.ec2.InitPackage.rpm(location, - options.let(LocationPackageOptions::unwrap)).let(InitPackage::wrap) + options.let(LocationPackageOptions.Companion::unwrap)).let(InitPackage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("25b7cdfdafa50d54608d0c0d3078099e5fb70eb1b8b2edf44cc4f9878d770d9e") @@ -111,7 +111,7 @@ public open class InitPackage( public fun rubyGem(gemName: String, options: NamedPackageOptions): InitPackage = software.amazon.awscdk.services.ec2.InitPackage.rubyGem(gemName, - options.let(NamedPackageOptions::unwrap)).let(InitPackage::wrap) + options.let(NamedPackageOptions.Companion::unwrap)).let(InitPackage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("98ea1b042a15902fe297b634ac1de33b10b9f3cd77a7d20936c283b18a29567d") @@ -123,7 +123,7 @@ public open class InitPackage( public fun yum(packageName: String, options: NamedPackageOptions): InitPackage = software.amazon.awscdk.services.ec2.InitPackage.yum(packageName, - options.let(NamedPackageOptions::unwrap)).let(InitPackage::wrap) + options.let(NamedPackageOptions.Companion::unwrap)).let(InitPackage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("48256aac0dd654897815af44a1e0b5fb724b9ee9a6e898adf016e444af0fd075") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitService.kt index 8094e208b8..624f100683 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitService.kt @@ -40,7 +40,7 @@ public open class InitService( public fun enable(serviceName: String, options: InitServiceOptions): InitService = software.amazon.awscdk.services.ec2.InitService.enable(serviceName, - options.let(InitServiceOptions::unwrap)).let(InitService::wrap) + options.let(InitServiceOptions.Companion::unwrap)).let(InitService::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10bbc0c71562733d4b9a50998191a25878d7052cdaf06c2ca0587057e675eaa4") @@ -49,7 +49,7 @@ public open class InitService( public fun systemdConfigFile(serviceName: String, options: SystemdConfigFileOptions): InitFile = software.amazon.awscdk.services.ec2.InitService.systemdConfigFile(serviceName, - options.let(SystemdConfigFileOptions::unwrap)).let(InitFile::wrap) + options.let(SystemdConfigFileOptions.Companion::unwrap)).let(InitFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("94f4c1fe20f9f8f0e59c6c286975e52200644f0f4c93a57d9a76f59085948606") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitServiceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitServiceOptions.kt index ffeeb871eb..c09a087fd2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitServiceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitServiceOptions.kt @@ -140,7 +140,7 @@ public interface InitServiceOptions { * For example, Amazon Linux 1 uses SysVinit, but Amazon Linux 2 uses Systemd. */ override fun serviceManager(serviceManager: ServiceManager) { - cdkBuilder.serviceManager(serviceManager.let(ServiceManager::unwrap)) + cdkBuilder.serviceManager(serviceManager.let(ServiceManager.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface InitServiceOptions { * `InitPackage` and `InitSource` objects. */ override fun serviceRestartHandle(serviceRestartHandle: InitServiceRestartHandle) { - cdkBuilder.serviceRestartHandle(serviceRestartHandle.let(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandle(serviceRestartHandle.let(InitServiceRestartHandle.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.InitServiceOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSource.kt index 84d49e05f0..9bbbc4caca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSource.kt @@ -49,7 +49,7 @@ public abstract class InitSource( path: String, options: InitSourceAssetOptions, ): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromAsset(targetDirectory, path, - options.let(InitSourceAssetOptions::unwrap)).let(InitSource::wrap) + options.let(InitSourceAssetOptions.Companion::unwrap)).let(InitSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e1f1fecf2b225234eea1013354428190e2e47778ab0d334d6c4ea21dc2fe34c2") @@ -61,7 +61,7 @@ public abstract class InitSource( public fun fromExistingAsset(targetDirectory: String, asset: Asset): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromExistingAsset(targetDirectory, - asset.let(Asset::unwrap)).let(InitSource::wrap) + asset.let(Asset.Companion::unwrap)).let(InitSource::wrap) public fun fromExistingAsset( targetDirectory: String, @@ -69,7 +69,8 @@ public abstract class InitSource( options: InitSourceOptions, ): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromExistingAsset(targetDirectory, - asset.let(Asset::unwrap), options.let(InitSourceOptions::unwrap)).let(InitSource::wrap) + asset.let(Asset.Companion::unwrap), + options.let(InitSourceOptions.Companion::unwrap)).let(InitSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cf703a1bcfb00fd804bf67a313f21a6bcb7ecb8f94ee17a70bef43032312e342") @@ -101,7 +102,8 @@ public abstract class InitSource( refSpec: String, options: InitSourceOptions, ): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromGitHub(targetDirectory, - owner, repo, refSpec, options.let(InitSourceOptions::unwrap)).let(InitSource::wrap) + owner, repo, refSpec, + options.let(InitSourceOptions.Companion::unwrap)).let(InitSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("93ce7f85c9388415b5fa894d5fe03f64b8271affc373d56fb2b24b7eb865d8a7") @@ -118,7 +120,7 @@ public abstract class InitSource( bucket: IBucket, key: String, ): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromS3Object(targetDirectory, - bucket.let(IBucket::unwrap), key).let(InitSource::wrap) + bucket.let(IBucket.Companion::unwrap), key).let(InitSource::wrap) public fun fromS3Object( targetDirectory: String, @@ -126,8 +128,8 @@ public abstract class InitSource( key: String, options: InitSourceOptions, ): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromS3Object(targetDirectory, - bucket.let(IBucket::unwrap), key, - options.let(InitSourceOptions::unwrap)).let(InitSource::wrap) + bucket.let(IBucket.Companion::unwrap), key, + options.let(InitSourceOptions.Companion::unwrap)).let(InitSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1be87ac88191d70e0b5137578a0be878b1001367abbd19c4e9e2f3abea9ddd19") @@ -147,7 +149,7 @@ public abstract class InitSource( url: String, options: InitSourceOptions, ): InitSource = software.amazon.awscdk.services.ec2.InitSource.fromUrl(targetDirectory, url, - options.let(InitSourceOptions::unwrap)).let(InitSource::wrap) + options.let(InitSourceOptions.Companion::unwrap)).let(InitSource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d73aa7bb4f64e38e39ec2da5b6dffe8433b89dde5377872916cd00fc33fd6c4c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceAssetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceAssetOptions.kt index c257e39423..a7eb2fb416 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceAssetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceAssetOptions.kt @@ -207,7 +207,7 @@ public interface InitSourceAssetOptions : InitSourceOptions, AssetOptions { * `AssetHashType.CUSTOM`. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface InitSourceAssetOptions : InitSourceOptions, AssetOptions { * final asset. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -271,14 +271,14 @@ public interface InitSourceAssetOptions : InitSourceOptions, AssetOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface InitSourceAssetOptions : InitSourceOptions, AssetOptions { * You can use `asset.grantRead(principal)` to grant read permissions later. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface InitSourceAssetOptions : InitSourceOptions, AssetOptions { * extracted. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceOptions.kt index 8240e46056..46c12f1efa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitSourceOptions.kt @@ -61,7 +61,7 @@ public interface InitSourceOptions { * extracted. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitUser.kt index 9f0e923406..1ac5b0fab8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InitUser.kt @@ -68,7 +68,7 @@ public open class InitUser( public fun fromName(userName: String, options: InitUserOptions): InitUser = software.amazon.awscdk.services.ec2.InitUser.fromName(userName, - options.let(InitUserOptions::unwrap)).let(InitUser::wrap) + options.let(InitUserOptions.Companion::unwrap)).let(InitUser::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0a26924dae7a8166afd97f6d7679d8e626cdef31a879e208222d57659d8c37f9") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Instance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Instance.kt index ffa8046866..0b0b1baca5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Instance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Instance.kt @@ -46,8 +46,8 @@ public open class Instance( id: String, props: InstanceProps, ) : - this(software.amazon.awscdk.services.ec2.Instance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(InstanceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.Instance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(InstanceProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class Instance( * @param securityGroup : The security group to add. */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public open class Instance( * @param statement */ public open fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -272,6 +272,20 @@ public open class Instance( */ public fun detailedMonitoring(detailedMonitoring: Boolean) + /** + * Indicates whether the instance is optimized for Amazon EBS I/O. + * + * This optimization provides dedicated throughput to Amazon EBS and an optimized configuration + * stack to provide optimal Amazon EBS I/O performance. + * This optimization isn't available with all instance types. + * Additional usage charges apply when using an EBS-optimized instance. + * + * Default: false + * + * @param ebsOptimized Indicates whether the instance is optimized for Amazon EBS I/O. + */ + public fun ebsOptimized(ebsOptimized: Boolean) + /** * Apply the given CloudFormation Init configuration to the instance at startup. * @@ -589,7 +603,7 @@ public open class Instance( * virtual devices and EBS volumes. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -621,7 +635,7 @@ public open class Instance( * (T2, T3, T3a, etc). */ override fun creditSpecification(creditSpecification: CpuCredits) { - cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits.Companion::unwrap)) } /** @@ -638,6 +652,22 @@ public open class Instance( cdkBuilder.detailedMonitoring(detailedMonitoring) } + /** + * Indicates whether the instance is optimized for Amazon EBS I/O. + * + * This optimization provides dedicated throughput to Amazon EBS and an optimized configuration + * stack to provide optimal Amazon EBS I/O performance. + * This optimization isn't available with all instance types. + * Additional usage charges apply when using an EBS-optimized instance. + * + * Default: false + * + * @param ebsOptimized Indicates whether the instance is optimized for Amazon EBS I/O. + */ + override fun ebsOptimized(ebsOptimized: Boolean) { + cdkBuilder.ebsOptimized(ebsOptimized) + } + /** * Apply the given CloudFormation Init configuration to the instance at startup. * @@ -646,7 +676,7 @@ public open class Instance( * @param init Apply the given CloudFormation Init configuration to the instance at startup. */ override fun `init`(`init`: CloudFormationInit) { - cdkBuilder.`init`(`init`.let(CloudFormationInit::unwrap)) + cdkBuilder.`init`(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -659,7 +689,7 @@ public open class Instance( * @param initOptions Use the given options for applying CloudFormation Init. */ override fun initOptions(initOptions: ApplyCloudFormationInitOptions) { - cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions::unwrap)) + cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -693,7 +723,7 @@ public open class Instance( * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -718,7 +748,7 @@ public open class Instance( * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** @@ -727,7 +757,7 @@ public open class Instance( * @param machineImage AMI to launch. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -775,7 +805,7 @@ public open class Instance( * @param resourceSignalTimeout The length of time to wait for the resourceSignalCount. */ override fun resourceSignalTimeout(resourceSignalTimeout: Duration) { - cdkBuilder.resourceSignalTimeout(resourceSignalTimeout.let(Duration::unwrap)) + cdkBuilder.resourceSignalTimeout(resourceSignalTimeout.let(Duration.Companion::unwrap)) } /** @@ -797,7 +827,7 @@ public open class Instance( * Group. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -808,7 +838,7 @@ public open class Instance( * @param securityGroup Security Group to assign to this instance. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -860,7 +890,7 @@ public open class Instance( * @param userData Specific UserData to use. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** @@ -893,7 +923,7 @@ public open class Instance( * @param vpc VPC to launch the instance in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -904,7 +934,7 @@ public open class Instance( * @param vpcSubnets Where to place the instance within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceProps.kt index 14d9755705..01b1e679ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceProps.kt @@ -104,6 +104,18 @@ public interface InstanceProps { */ public fun detailedMonitoring(): Boolean? = unwrap(this).getDetailedMonitoring() + /** + * Indicates whether the instance is optimized for Amazon EBS I/O. + * + * This optimization provides dedicated throughput to Amazon EBS and an optimized configuration + * stack to provide optimal Amazon EBS I/O performance. + * This optimization isn't available with all instance types. + * Additional usage charges apply when using an EBS-optimized instance. + * + * Default: false + */ + public fun ebsOptimized(): Boolean? = unwrap(this).getEbsOptimized() + /** * Apply the given CloudFormation Init configuration to the instance at startup. * @@ -350,6 +362,15 @@ public interface InstanceProps { */ public fun detailedMonitoring(detailedMonitoring: Boolean) + /** + * @param ebsOptimized Indicates whether the instance is optimized for Amazon EBS I/O. + * This optimization provides dedicated throughput to Amazon EBS and an optimized configuration + * stack to provide optimal Amazon EBS I/O performance. + * This optimization isn't available with all instance types. + * Additional usage charges apply when using an EBS-optimized instance. + */ + public fun ebsOptimized(ebsOptimized: Boolean) + /** * @param init Apply the given CloudFormation Init configuration to the instance at startup. */ @@ -542,7 +563,7 @@ public interface InstanceProps { * instance store volumes to attach to an instance when it is launched. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -562,7 +583,7 @@ public interface InstanceProps { * The unlimited CPU credit option is not supported for T3 instances with a dedicated host. */ override fun creditSpecification(creditSpecification: CpuCredits) { - cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits.Companion::unwrap)) } /** @@ -573,11 +594,22 @@ public interface InstanceProps { cdkBuilder.detailedMonitoring(detailedMonitoring) } + /** + * @param ebsOptimized Indicates whether the instance is optimized for Amazon EBS I/O. + * This optimization provides dedicated throughput to Amazon EBS and an optimized configuration + * stack to provide optimal Amazon EBS I/O performance. + * This optimization isn't available with all instance types. + * Additional usage charges apply when using an EBS-optimized instance. + */ + override fun ebsOptimized(ebsOptimized: Boolean) { + cdkBuilder.ebsOptimized(ebsOptimized) + } + /** * @param init Apply the given CloudFormation Init configuration to the instance at startup. */ override fun `init`(`init`: CloudFormationInit) { - cdkBuilder.`init`(`init`.let(CloudFormationInit::unwrap)) + cdkBuilder.`init`(`init`.let(CloudFormationInit.Companion::unwrap)) } /** @@ -585,7 +617,7 @@ public interface InstanceProps { * Describes the configsets to use and the timeout to wait */ override fun initOptions(initOptions: ApplyCloudFormationInitOptions) { - cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions::unwrap)) + cdkBuilder.initOptions(initOptions.let(ApplyCloudFormationInitOptions.Companion::unwrap)) } /** @@ -608,7 +640,7 @@ public interface InstanceProps { * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -625,14 +657,14 @@ public interface InstanceProps { * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** * @param machineImage AMI to launch. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -662,7 +694,7 @@ public interface InstanceProps { * The maximum value is 43200 (12 hours). */ override fun resourceSignalTimeout(resourceSignalTimeout: Duration) { - cdkBuilder.resourceSignalTimeout(resourceSignalTimeout.let(Duration::unwrap)) + cdkBuilder.resourceSignalTimeout(resourceSignalTimeout.let(Duration.Companion::unwrap)) } /** @@ -671,14 +703,14 @@ public interface InstanceProps { * The role must be assumable by the service principal `ec2.amazonaws.com`: */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param securityGroup Security Group to assign to this instance. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -714,7 +746,7 @@ public interface InstanceProps { * The UserData may still be mutated after creation. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** @@ -740,14 +772,14 @@ public interface InstanceProps { * @param vpc VPC to launch the instance in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Where to place the instance within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -833,6 +865,18 @@ public interface InstanceProps { */ override fun detailedMonitoring(): Boolean? = unwrap(this).getDetailedMonitoring() + /** + * Indicates whether the instance is optimized for Amazon EBS I/O. + * + * This optimization provides dedicated throughput to Amazon EBS and an optimized configuration + * stack to provide optimal Amazon EBS I/O performance. + * This optimization isn't available with all instance types. + * Additional usage charges apply when using an EBS-optimized instance. + * + * Default: false + */ + override fun ebsOptimized(): Boolean? = unwrap(this).getEbsOptimized() + /** * Apply the given CloudFormation Init configuration to the instance at startup. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceRequireImdsv2Aspect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceRequireImdsv2Aspect.kt index 39e0a281e3..66064cd833 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceRequireImdsv2Aspect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceRequireImdsv2Aspect.kt @@ -33,7 +33,7 @@ public open class InstanceRequireImdsv2Aspect( ) public constructor(props: InstanceRequireImdsv2AspectProps) : - this(software.amazon.awscdk.services.ec2.InstanceRequireImdsv2Aspect(props.let(InstanceRequireImdsv2AspectProps::unwrap)) + this(software.amazon.awscdk.services.ec2.InstanceRequireImdsv2Aspect(props.let(InstanceRequireImdsv2AspectProps.Companion::unwrap)) ) public constructor(props: InstanceRequireImdsv2AspectProps.Builder.() -> Unit) : @@ -46,7 +46,7 @@ public open class InstanceRequireImdsv2Aspect( * @param node */ public override fun visit(node: IConstruct) { - unwrap(this).visit(node.let(IConstruct::unwrap)) + unwrap(this).visit(node.let(IConstruct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceType.kt index 1bd49a6e10..c62320b78b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InstanceType.kt @@ -25,8 +25,7 @@ import kotlin.String * .subnetType(SubnetType.PUBLIC) * .build()) * .vpc(vpc) - * .removalPolicy(RemovalPolicy.SNAPSHOT) - * .instanceRemovalPolicy(RemovalPolicy.RETAIN) + * .caCertificate(CaCertificate.RDS_CA_RSA4096_G1) * .build(); * ``` */ @@ -52,12 +51,12 @@ public open class InstanceType( * @param other */ public open fun sameInstanceClassAs(other: InstanceType): Boolean = - unwrap(this).sameInstanceClassAs(other.let(InstanceType::unwrap)) + unwrap(this).sameInstanceClassAs(other.let(InstanceType.Companion::unwrap)) public companion object { public fun of(instanceClass: InstanceClass, instanceSize: InstanceSize): InstanceType = - software.amazon.awscdk.services.ec2.InstanceType.of(instanceClass.let(InstanceClass::unwrap), - instanceSize.let(InstanceSize::unwrap)).let(InstanceType::wrap) + software.amazon.awscdk.services.ec2.InstanceType.of(instanceClass.let(InstanceClass.Companion::unwrap), + instanceSize.let(InstanceSize.Companion::unwrap)).let(InstanceType::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.InstanceType): InstanceType = InstanceType(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpoint.kt index f1a88edf7e..f598755d0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpoint.kt @@ -38,8 +38,8 @@ public open class InterfaceVpcEndpoint( id: String, props: InterfaceVpcEndpointProps, ) : - this(software.amazon.awscdk.services.ec2.InterfaceVpcEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(InterfaceVpcEndpointProps::unwrap)) + this(software.amazon.awscdk.services.ec2.InterfaceVpcEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(InterfaceVpcEndpointProps.Companion::unwrap)) ) public constructor( @@ -253,7 +253,7 @@ public open class InterfaceVpcEndpoint( * @param securityGroups The security groups to associate with this interface VPC endpoint. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class InterfaceVpcEndpoint( * @param service The service to use for this interface VPC endpoint. */ override fun service(service: IInterfaceVpcEndpointService) { - cdkBuilder.service(service.let(IInterfaceVpcEndpointService::unwrap)) + cdkBuilder.service(service.let(IInterfaceVpcEndpointService.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class InterfaceVpcEndpoint( * @param subnets The subnets in which to create an endpoint network interface. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class InterfaceVpcEndpoint( * @param vpc The VPC network in which the interface endpoint will be used. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.InterfaceVpcEndpoint = @@ -323,8 +323,9 @@ public open class InterfaceVpcEndpoint( id: String, attrs: InterfaceVpcEndpointAttributes, ): IInterfaceVpcEndpoint = - software.amazon.awscdk.services.ec2.InterfaceVpcEndpoint.fromInterfaceVpcEndpointAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(InterfaceVpcEndpointAttributes::unwrap)).let(IInterfaceVpcEndpoint::wrap) + software.amazon.awscdk.services.ec2.InterfaceVpcEndpoint.fromInterfaceVpcEndpointAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(InterfaceVpcEndpointAttributes.Companion::unwrap)).let(IInterfaceVpcEndpoint::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("043f62487a2a59022231e31cd1d63b4fdc03fcd7d42e156db33883fa2f60c551") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAttributes.kt index 5fd3584059..e9de52c2e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAttributes.kt @@ -97,7 +97,7 @@ public interface InterfaceVpcEndpointAttributes { * you will need to specify its security groups. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAwsService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAwsService.kt index ba42a10f42..080574f9ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAwsService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointAwsService.kt @@ -63,7 +63,7 @@ public open class InterfaceVpcEndpointAwsService( port: Number, props: InterfaceVpcEndpointAwsServiceProps, ) : this(software.amazon.awscdk.services.ec2.InterfaceVpcEndpointAwsService(name, prefix, port, - props.let(InterfaceVpcEndpointAwsServiceProps::unwrap)) + props.let(InterfaceVpcEndpointAwsServiceProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointOptions.kt index 3dd729a398..86255ebcad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointOptions.kt @@ -190,7 +190,7 @@ public interface InterfaceVpcEndpointOptions { * @param securityGroups The security groups to associate with this interface VPC endpoint. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface InterfaceVpcEndpointOptions { * @param service The service to use for this interface VPC endpoint. */ override fun service(service: IInterfaceVpcEndpointService) { - cdkBuilder.service(service.let(IInterfaceVpcEndpointService::unwrap)) + cdkBuilder.service(service.let(IInterfaceVpcEndpointService.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public interface InterfaceVpcEndpointOptions { * per availability zone. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointProps.kt index 8cd739bc7f..d697ad1d56 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/InterfaceVpcEndpointProps.kt @@ -135,7 +135,7 @@ public interface InterfaceVpcEndpointProps : InterfaceVpcEndpointOptions { * @param securityGroups The security groups to associate with this interface VPC endpoint. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface InterfaceVpcEndpointProps : InterfaceVpcEndpointOptions { * @param service The service to use for this interface VPC endpoint. */ override fun service(service: IInterfaceVpcEndpointService) { - cdkBuilder.service(service.let(IInterfaceVpcEndpointService::unwrap)) + cdkBuilder.service(service.let(IInterfaceVpcEndpointService.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface InterfaceVpcEndpointProps : InterfaceVpcEndpointOptions { * per availability zone. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface InterfaceVpcEndpointProps : InterfaceVpcEndpointOptions { * @param vpc The VPC network in which the interface endpoint will be used. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.InterfaceVpcEndpointProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IpAddresses.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IpAddresses.kt index 08a4bac590..b569026740 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IpAddresses.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/IpAddresses.kt @@ -62,7 +62,7 @@ public open class IpAddresses( ) : CdkObject(cdkObject) { public companion object { public fun awsIpamAllocation(props: AwsIpamProps): IIpAddresses = - software.amazon.awscdk.services.ec2.IpAddresses.awsIpamAllocation(props.let(AwsIpamProps::unwrap)).let(IIpAddresses::wrap) + software.amazon.awscdk.services.ec2.IpAddresses.awsIpamAllocation(props.let(AwsIpamProps.Companion::unwrap)).let(IIpAddresses::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("27407714c0d9440af0c80765721b424fa3415f353924aba4901f276414c99cb4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPair.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPair.kt index ccaca4f4eb..481499aa13 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPair.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPair.kt @@ -28,7 +28,7 @@ public open class KeyPair( cdkObject: software.amazon.awscdk.services.ec2.KeyPair, ) : Resource(cdkObject), IKeyPair { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.KeyPair(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.KeyPair(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -37,8 +37,8 @@ public open class KeyPair( id: String, props: KeyPairProps, ) : - this(software.amazon.awscdk.services.ec2.KeyPair(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KeyPairProps::unwrap)) + this(software.amazon.awscdk.services.ec2.KeyPair(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KeyPairProps.Companion::unwrap)) ) public constructor( @@ -225,7 +225,7 @@ public open class KeyPair( * @param format The format of the key pair. */ override fun format(format: KeyPairFormat) { - cdkBuilder.format(format.let(KeyPairFormat::unwrap)) + cdkBuilder.format(format.let(KeyPairFormat.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class KeyPair( * @param type The type of key pair. */ override fun type(type: KeyPairType) { - cdkBuilder.type(type.let(KeyPairType::unwrap)) + cdkBuilder.type(type.let(KeyPairType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.KeyPair = cdkBuilder.build() @@ -305,8 +305,8 @@ public open class KeyPair( id: String, attrs: KeyPairAttributes, ): IKeyPair = - software.amazon.awscdk.services.ec2.KeyPair.fromKeyPairAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(KeyPairAttributes::unwrap)).let(IKeyPair::wrap) + software.amazon.awscdk.services.ec2.KeyPair.fromKeyPairAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(KeyPairAttributes.Companion::unwrap)).let(IKeyPair::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bd9caf7b1f832116a7bd6fe64c987b52581abb0163ff41ed36b0abc60e006127") @@ -321,7 +321,7 @@ public open class KeyPair( id: String, keyPairName: String, ): IKeyPair = - software.amazon.awscdk.services.ec2.KeyPair.fromKeyPairName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.KeyPair.fromKeyPairName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, keyPairName).let(IKeyPair::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairAttributes.kt index 89dc320b17..5f2b9db6f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairAttributes.kt @@ -64,7 +64,7 @@ public interface KeyPairAttributes { * @param type The type of the key pair. */ override fun type(type: KeyPairType) { - cdkBuilder.type(type.let(KeyPairType::unwrap)) + cdkBuilder.type(type.let(KeyPairType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.KeyPairAttributes = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairProps.kt index 5a5b4d645b..02bd25120c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/KeyPairProps.kt @@ -151,7 +151,7 @@ public interface KeyPairProps : ResourceProps { * @param format The format of the key pair. */ override fun format(format: KeyPairFormat) { - cdkBuilder.format(format.let(KeyPairFormat::unwrap)) + cdkBuilder.format(format.let(KeyPairFormat.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface KeyPairProps : ResourceProps { * @param type The type of key pair. */ override fun type(type: KeyPairType) { - cdkBuilder.type(type.let(KeyPairType::unwrap)) + cdkBuilder.type(type.let(KeyPairType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.KeyPairProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplate.kt index 437c18958c..0f073dbf69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplate.kt @@ -44,7 +44,7 @@ public open class LaunchTemplate( cdkObject: software.amazon.awscdk.services.ec2.LaunchTemplate, ) : Resource(cdkObject), ILaunchTemplate, IGrantable, IConnectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.LaunchTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.LaunchTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class LaunchTemplate( id: String, props: LaunchTemplateProps, ) : - this(software.amazon.awscdk.services.ec2.LaunchTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LaunchTemplateProps::unwrap)) + this(software.amazon.awscdk.services.ec2.LaunchTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LaunchTemplateProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class LaunchTemplate( * @param securityGroup : The security group to add. */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class LaunchTemplate( * virtual devices and EBS volumes. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class LaunchTemplate( * @param cpuCredits CPU credit type for burstable EC2 instance types. */ override fun cpuCredits(cpuCredits: CpuCredits) { - cdkBuilder.cpuCredits(cpuCredits.let(CpuCredits::unwrap)) + cdkBuilder.cpuCredits(cpuCredits.let(CpuCredits.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class LaunchTemplate( * @param httpTokens The state of token usage for your instance metadata requests. */ override fun httpTokens(httpTokens: LaunchTemplateHttpTokens) { - cdkBuilder.httpTokens(httpTokens.let(LaunchTemplateHttpTokens::unwrap)) + cdkBuilder.httpTokens(httpTokens.let(LaunchTemplateHttpTokens.Companion::unwrap)) } /** @@ -667,7 +667,7 @@ public open class LaunchTemplate( */ override fun instanceInitiatedShutdownBehavior(instanceInitiatedShutdownBehavior: InstanceInitiatedShutdownBehavior) { - cdkBuilder.instanceInitiatedShutdownBehavior(instanceInitiatedShutdownBehavior.let(InstanceInitiatedShutdownBehavior::unwrap)) + cdkBuilder.instanceInitiatedShutdownBehavior(instanceInitiatedShutdownBehavior.let(InstanceInitiatedShutdownBehavior.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class LaunchTemplate( * @param instanceProfile The instance profile used to pass role information to EC2 instances. */ override fun instanceProfile(instanceProfile: IInstanceProfile) { - cdkBuilder.instanceProfile(instanceProfile.let(IInstanceProfile::unwrap)) + cdkBuilder.instanceProfile(instanceProfile.let(IInstanceProfile.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class LaunchTemplate( * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class LaunchTemplate( * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public open class LaunchTemplate( * @param machineImage The AMI that will be used by instances. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public open class LaunchTemplate( * @param role An IAM role to associate with the instance profile that is used by instances. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class LaunchTemplate( * @param securityGroup Security group to assign to instances created with the launch template. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -826,7 +826,7 @@ public open class LaunchTemplate( * will be as defined. */ override fun spotOptions(spotOptions: LaunchTemplateSpotOptions) { - cdkBuilder.spotOptions(spotOptions.let(LaunchTemplateSpotOptions::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(LaunchTemplateSpotOptions.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public open class LaunchTemplate( * @param userData The AMI that will be used by instances. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.LaunchTemplate = cdkBuilder.build() @@ -865,8 +865,8 @@ public open class LaunchTemplate( id: String, attrs: LaunchTemplateAttributes, ): ILaunchTemplate = - software.amazon.awscdk.services.ec2.LaunchTemplate.fromLaunchTemplateAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(LaunchTemplateAttributes::unwrap)).let(ILaunchTemplate::wrap) + software.amazon.awscdk.services.ec2.LaunchTemplate.fromLaunchTemplateAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(LaunchTemplateAttributes.Companion::unwrap)).let(ILaunchTemplate::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("057cd63217e551e0bd19d10f532f79a21856bfe1557c66c09debaa22e75ea62c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateProps.kt index 221245fea7..8d99ef11cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateProps.kt @@ -489,7 +489,7 @@ public interface LaunchTemplateProps { * instance store volumes to attach to an instance when it is launched. */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public interface LaunchTemplateProps { * @param cpuCredits CPU credit type for burstable EC2 instance types. */ override fun cpuCredits(cpuCredits: CpuCredits) { - cdkBuilder.cpuCredits(cpuCredits.let(CpuCredits::unwrap)) + cdkBuilder.cpuCredits(cpuCredits.let(CpuCredits.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public interface LaunchTemplateProps { * if requireImdsv2 is true, the state must be `required`. */ override fun httpTokens(httpTokens: LaunchTemplateHttpTokens) { - cdkBuilder.httpTokens(httpTokens.let(LaunchTemplateHttpTokens::unwrap)) + cdkBuilder.httpTokens(httpTokens.let(LaunchTemplateHttpTokens.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public interface LaunchTemplateProps { */ override fun instanceInitiatedShutdownBehavior(instanceInitiatedShutdownBehavior: InstanceInitiatedShutdownBehavior) { - cdkBuilder.instanceInitiatedShutdownBehavior(instanceInitiatedShutdownBehavior.let(InstanceInitiatedShutdownBehavior::unwrap)) + cdkBuilder.instanceInitiatedShutdownBehavior(instanceInitiatedShutdownBehavior.let(InstanceInitiatedShutdownBehavior.Companion::unwrap)) } /** @@ -604,14 +604,14 @@ public interface LaunchTemplateProps { * Note: You can provide an instanceProfile or a role, but not both. */ override fun instanceProfile(instanceProfile: IInstanceProfile) { - cdkBuilder.instanceProfile(instanceProfile.let(IInstanceProfile::unwrap)) + cdkBuilder.instanceProfile(instanceProfile.let(IInstanceProfile.Companion::unwrap)) } /** * @param instanceType Type of instance to launch. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public interface LaunchTemplateProps { * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public interface LaunchTemplateProps { * @param machineImage The AMI that will be used by instances. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -667,14 +667,14 @@ public interface LaunchTemplateProps { * Note: You can provide an instanceProfile or a role, but not both. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param securityGroup Security group to assign to instances created with the launch template. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public interface LaunchTemplateProps { * will be as defined. */ override fun spotOptions(spotOptions: LaunchTemplateSpotOptions) { - cdkBuilder.spotOptions(spotOptions.let(LaunchTemplateSpotOptions::unwrap)) + cdkBuilder.spotOptions(spotOptions.let(LaunchTemplateSpotOptions.Companion::unwrap)) } /** @@ -700,7 +700,7 @@ public interface LaunchTemplateProps { * @param userData The AMI that will be used by instances. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.LaunchTemplateProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateRequireImdsv2Aspect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateRequireImdsv2Aspect.kt index ac68a8e29f..dbb1b72cbb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateRequireImdsv2Aspect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateRequireImdsv2Aspect.kt @@ -34,7 +34,7 @@ public open class LaunchTemplateRequireImdsv2Aspect( ) public constructor(props: LaunchTemplateRequireImdsv2AspectProps) : - this(software.amazon.awscdk.services.ec2.LaunchTemplateRequireImdsv2Aspect(props.let(LaunchTemplateRequireImdsv2AspectProps::unwrap)) + this(software.amazon.awscdk.services.ec2.LaunchTemplateRequireImdsv2Aspect(props.let(LaunchTemplateRequireImdsv2AspectProps.Companion::unwrap)) ) public constructor(props: LaunchTemplateRequireImdsv2AspectProps.Builder.() -> Unit) : @@ -47,7 +47,7 @@ public open class LaunchTemplateRequireImdsv2Aspect( * @param node */ public override fun visit(node: IConstruct) { - unwrap(this).visit(node.let(IConstruct::unwrap)) + unwrap(this).visit(node.let(IConstruct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateSpotOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateSpotOptions.kt index 92fc358304..0570a2e310 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateSpotOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LaunchTemplateSpotOptions.kt @@ -137,14 +137,14 @@ public interface LaunchTemplateSpotOptions { * You can use a duration of 1, 2, 3, 4, 5, or 6 hours. */ override fun blockDuration(blockDuration: Duration) { - cdkBuilder.blockDuration(blockDuration.let(Duration::unwrap)) + cdkBuilder.blockDuration(blockDuration.let(Duration.Companion::unwrap)) } /** * @param interruptionBehavior The behavior when a Spot Instance is interrupted. */ override fun interruptionBehavior(interruptionBehavior: SpotInstanceInterruption) { - cdkBuilder.interruptionBehavior(interruptionBehavior.let(SpotInstanceInterruption::unwrap)) + cdkBuilder.interruptionBehavior(interruptionBehavior.let(SpotInstanceInterruption.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface LaunchTemplateSpotOptions { * below its desired capacity. */ override fun requestType(requestType: SpotRequestType) { - cdkBuilder.requestType(requestType.let(SpotRequestType::unwrap)) + cdkBuilder.requestType(requestType.let(SpotRequestType.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface LaunchTemplateSpotOptions { * active until it is canceled or this date and time is reached. */ override fun validUntil(validUntil: Expiration) { - cdkBuilder.validUntil(validUntil.let(Expiration::unwrap)) + cdkBuilder.validUntil(validUntil.let(Expiration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.LaunchTemplateSpotOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LocationPackageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LocationPackageOptions.kt index bbea6be849..2bddc80eb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LocationPackageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LocationPackageOptions.kt @@ -81,7 +81,7 @@ public interface LocationPackageOptions { * @param serviceRestartHandles Restart the given service after this command has run. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImage.kt index dac8395234..4de19deaec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImage.kt @@ -45,7 +45,7 @@ public open class LookupMachineImage( cdkObject: software.amazon.awscdk.services.ec2.LookupMachineImage, ) : CdkObject(cdkObject), IMachineImage { public constructor(props: LookupMachineImageProps) : - this(software.amazon.awscdk.services.ec2.LookupMachineImage(props.let(LookupMachineImageProps::unwrap)) + this(software.amazon.awscdk.services.ec2.LookupMachineImage(props.let(LookupMachineImageProps.Companion::unwrap)) ) public constructor(props: LookupMachineImageProps.Builder.() -> Unit) : @@ -58,7 +58,7 @@ public open class LookupMachineImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ec2.LookupMachineImage]. @@ -172,7 +172,7 @@ public open class LookupMachineImage( * @param userData Custom userdata for this image. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImageProps.kt index 9ad1172ab0..960e043fa4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/LookupMachineImageProps.kt @@ -157,7 +157,7 @@ public interface LookupMachineImageProps { * @param userData Custom userdata for this image. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImage.kt index 9512bdc9e7..6795498dc2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImage.kt @@ -41,7 +41,7 @@ public abstract class MachineImage( public fun fromSsmParameter(parameterName: String, options: SsmParameterImageOptions): IMachineImage = software.amazon.awscdk.services.ec2.MachineImage.fromSsmParameter(parameterName, - options.let(SsmParameterImageOptions::unwrap)).let(IMachineImage::wrap) + options.let(SsmParameterImageOptions.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("63f792ad7ab1cae3d66a8afcf4dab8ff31f2f3686850e6fa434c157beddea96f") @@ -54,7 +54,7 @@ public abstract class MachineImage( public fun genericLinux(amiMap: Map, props: GenericLinuxImageProps): IMachineImage = software.amazon.awscdk.services.ec2.MachineImage.genericLinux(amiMap, - props.let(GenericLinuxImageProps::unwrap)).let(IMachineImage::wrap) + props.let(GenericLinuxImageProps.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8b4701b43763562a0f4d863888e6a78e2df7f0f72cedceb197faff2ef9bc9d05") @@ -67,7 +67,7 @@ public abstract class MachineImage( public fun genericWindows(amiMap: Map, props: GenericWindowsImageProps): IMachineImage = software.amazon.awscdk.services.ec2.MachineImage.genericWindows(amiMap, - props.let(GenericWindowsImageProps::unwrap)).let(IMachineImage::wrap) + props.let(GenericWindowsImageProps.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("29e5f78664e3160d40efe8d6ae2a2ee3887b5b8456e895c964544c2bf66115c7") @@ -81,7 +81,7 @@ public abstract class MachineImage( @Deprecated(message = "deprecated in CDK") public fun latestAmazonLinux(props: AmazonLinuxImageProps): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux(props.let(AmazonLinuxImageProps::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux(props.let(AmazonLinuxImageProps.Companion::unwrap)).let(IMachineImage::wrap) @Deprecated(message = "deprecated in CDK") @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -93,7 +93,7 @@ public abstract class MachineImage( software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2().let(IMachineImage::wrap) public fun latestAmazonLinux2(props: AmazonLinux2ImageSsmParameterProps): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2(props.let(AmazonLinux2ImageSsmParameterProps::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2(props.let(AmazonLinux2ImageSsmParameterProps.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("92aee78120dd85359a1deb7426f9f01a98e4be3482c8fcdad9edcd36c195bdcf") @@ -106,7 +106,7 @@ public abstract class MachineImage( @Deprecated(message = "deprecated in CDK") public fun latestAmazonLinux2022(props: AmazonLinux2022ImageSsmParameterProps): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2022(props.let(AmazonLinux2022ImageSsmParameterProps::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2022(props.let(AmazonLinux2022ImageSsmParameterProps.Companion::unwrap)).let(IMachineImage::wrap) @Deprecated(message = "deprecated in CDK") @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -119,7 +119,7 @@ public abstract class MachineImage( software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2023().let(IMachineImage::wrap) public fun latestAmazonLinux2023(props: AmazonLinux2023ImageSsmParameterProps): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2023(props.let(AmazonLinux2023ImageSsmParameterProps::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.latestAmazonLinux2023(props.let(AmazonLinux2023ImageSsmParameterProps.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("545cf7df6acb42be8aa9ee9750008fa1bdfe60c4469909f4955fd3783d1b1327") @@ -128,11 +128,11 @@ public abstract class MachineImage( IMachineImage = latestAmazonLinux2023(AmazonLinux2023ImageSsmParameterProps(props)) public fun latestWindows(version: WindowsVersion): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.latestWindows(version.let(WindowsVersion::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.latestWindows(version.let(WindowsVersion.Companion::unwrap)).let(IMachineImage::wrap) public fun latestWindows(version: WindowsVersion, props: WindowsImageProps): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.latestWindows(version.let(WindowsVersion::unwrap), - props.let(WindowsImageProps::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.latestWindows(version.let(WindowsVersion.Companion::unwrap), + props.let(WindowsImageProps.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("336d6ff6633fbb37fbdf64dde60a0c92781fa5a8560d350fb14f4c08b62b0bbc") @@ -140,7 +140,7 @@ public abstract class MachineImage( IMachineImage = latestWindows(version, WindowsImageProps(props)) public fun lookup(props: LookupMachineImageProps): IMachineImage = - software.amazon.awscdk.services.ec2.MachineImage.lookup(props.let(LookupMachineImageProps::unwrap)).let(IMachineImage::wrap) + software.amazon.awscdk.services.ec2.MachineImage.lookup(props.let(LookupMachineImageProps.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8326e1f75e2666153392f77bc811eee47a73dae6b93750bfc303dfe7c75a1ff0") @@ -153,7 +153,7 @@ public abstract class MachineImage( public fun resolveSsmParameterAtLaunch(parameterName: String, options: SsmParameterImageOptions): IMachineImage = software.amazon.awscdk.services.ec2.MachineImage.resolveSsmParameterAtLaunch(parameterName, - options.let(SsmParameterImageOptions::unwrap)).let(IMachineImage::wrap) + options.let(SsmParameterImageOptions.Companion::unwrap)).let(IMachineImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1b0b6c7443f43c1241e86464c786f51f56714c41e618bf304d5e0ba468b35dec") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImageConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImageConfig.kt index 79efd67cfd..9148a76c12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImageConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MachineImageConfig.kt @@ -77,14 +77,14 @@ public interface MachineImageConfig { * @param osType Operating system type for this image. */ override fun osType(osType: OperatingSystemType) { - cdkBuilder.osType(osType.let(OperatingSystemType::unwrap)) + cdkBuilder.osType(osType.let(OperatingSystemType.Companion::unwrap)) } /** * @param userData Initial UserData for this image. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.MachineImageConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartBody.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartBody.kt index b23d678545..184a883d3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartBody.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartBody.kt @@ -44,7 +44,7 @@ public abstract class MultipartBody( public val SHELL_SCRIPT: String = software.amazon.awscdk.services.ec2.MultipartBody.SHELL_SCRIPT public fun fromRawBody(opts: MultipartBodyOptions): MultipartBody = - software.amazon.awscdk.services.ec2.MultipartBody.fromRawBody(opts.let(MultipartBodyOptions::unwrap)).let(MultipartBody::wrap) + software.amazon.awscdk.services.ec2.MultipartBody.fromRawBody(opts.let(MultipartBodyOptions.Companion::unwrap)).let(MultipartBody::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("54f5c817affa2ea65b6f6e9daed61c40a521ab0a2012d40d517e7d3debe1b445") @@ -52,10 +52,10 @@ public abstract class MultipartBody( fromRawBody(MultipartBodyOptions(opts)) public fun fromUserData(userData: UserData): MultipartBody = - software.amazon.awscdk.services.ec2.MultipartBody.fromUserData(userData.let(UserData::unwrap)).let(MultipartBody::wrap) + software.amazon.awscdk.services.ec2.MultipartBody.fromUserData(userData.let(UserData.Companion::unwrap)).let(MultipartBody::wrap) public fun fromUserData(userData: UserData, contentType: String): MultipartBody = - software.amazon.awscdk.services.ec2.MultipartBody.fromUserData(userData.let(UserData::unwrap), + software.amazon.awscdk.services.ec2.MultipartBody.fromUserData(userData.let(UserData.Companion::unwrap), contentType).let(MultipartBody::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ec2.MultipartBody): MultipartBody = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartUserData.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartUserData.kt index b0f6d3442e..4f1322f63d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartUserData.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/MultipartUserData.kt @@ -45,7 +45,7 @@ public open class MultipartUserData( ) public constructor(opts: MultipartUserDataOptions) : - this(software.amazon.awscdk.services.ec2.MultipartUserData(opts.let(MultipartUserDataOptions::unwrap)) + this(software.amazon.awscdk.services.ec2.MultipartUserData(opts.let(MultipartUserDataOptions.Companion::unwrap)) ) public constructor(opts: MultipartUserDataOptions.Builder.() -> Unit) : @@ -67,7 +67,7 @@ public open class MultipartUserData( * @param params */ public override fun addExecuteFileCommand(params: ExecuteFileOptions) { - unwrap(this).addExecuteFileCommand(params.let(ExecuteFileOptions::unwrap)) + unwrap(this).addExecuteFileCommand(params.let(ExecuteFileOptions.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class MultipartUserData( * @param part */ public open fun addPart(part: MultipartBody) { - unwrap(this).addPart(part.let(MultipartBody::unwrap)) + unwrap(this).addPart(part.let(MultipartBody.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class MultipartUserData( * @param params */ public override fun addS3DownloadCommand(params: S3DownloadOptions): String = - unwrap(this).addS3DownloadCommand(params.let(S3DownloadOptions::unwrap)) + unwrap(this).addS3DownloadCommand(params.let(S3DownloadOptions.Companion::unwrap)) /** * Adds commands to download a file from S3. @@ -123,7 +123,7 @@ public open class MultipartUserData( * @param resource */ public override fun addSignalOnExitCommand(resource: Resource) { - unwrap(this).addSignalOnExitCommand(resource.let(Resource::unwrap)) + unwrap(this).addSignalOnExitCommand(resource.let(Resource.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class MultipartUserData( * @param makeDefault */ public open fun addUserDataPart(userData: UserData) { - unwrap(this).addUserDataPart(userData.let(UserData::unwrap)) + unwrap(this).addUserDataPart(userData.let(UserData.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class MultipartUserData( * @param makeDefault */ public open fun addUserDataPart(userData: UserData, contentType: String) { - unwrap(this).addUserDataPart(userData.let(UserData::unwrap), contentType) + unwrap(this).addUserDataPart(userData.let(UserData.Companion::unwrap), contentType) } /** @@ -214,7 +214,7 @@ public open class MultipartUserData( contentType: String, makeDefault: Boolean, ) { - unwrap(this).addUserDataPart(userData.let(UserData::unwrap), contentType, makeDefault) + unwrap(this).addUserDataPart(userData.let(UserData.Companion::unwrap), contentType, makeDefault) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NamedPackageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NamedPackageOptions.kt index 19c3ea0822..469777abac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NamedPackageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NamedPackageOptions.kt @@ -75,7 +75,7 @@ public interface NamedPackageOptions { * @param serviceRestartHandles Restart the given services after this command has run. */ override fun serviceRestartHandles(serviceRestartHandles: List) { - cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle::unwrap)) + cdkBuilder.serviceRestartHandles(serviceRestartHandles.map(InitServiceRestartHandle.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProps.kt index 981a7fb4c6..3441f509db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProps.kt @@ -229,7 +229,7 @@ public interface NatInstanceProps { * (`host`) tenancy. */ override fun creditSpecification(creditSpecification: CpuCredits) { - cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits.Companion::unwrap)) } /** @@ -244,14 +244,14 @@ public interface NatInstanceProps { * `.connections` members after passing the NAT Instance Provider to a Vpc. */ override fun defaultAllowedTraffic(defaultAllowedTraffic: NatTrafficDirection) { - cdkBuilder.defaultAllowedTraffic(defaultAllowedTraffic.let(NatTrafficDirection::unwrap)) + cdkBuilder.defaultAllowedTraffic(defaultAllowedTraffic.let(NatTrafficDirection.Companion::unwrap)) } /** * @param instanceType Instance type of the NAT instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface NatInstanceProps { * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface NatInstanceProps { * ``` */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public interface NatInstanceProps { */ @Deprecated(message = "deprecated in CDK") override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param userData Custom user data to run on the NAT instances. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NatInstanceProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProvider.kt index e28928cecd..3eea616ac6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProvider.kt @@ -33,7 +33,7 @@ public open class NatInstanceProvider( ) : NatProvider(cdkObject), IConnectable { @Deprecated(message = "deprecated in CDK") public constructor(props: NatInstanceProps) : - this(software.amazon.awscdk.services.ec2.NatInstanceProvider(props.let(NatInstanceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.NatInstanceProvider(props.let(NatInstanceProps.Companion::unwrap)) ) @Deprecated(message = "deprecated in CDK") @@ -49,7 +49,7 @@ public open class NatInstanceProvider( */ @Deprecated(message = "deprecated in CDK") public override fun configureNat(options: ConfigureNatOptions) { - unwrap(this).configureNat(options.let(ConfigureNatOptions::unwrap)) + unwrap(this).configureNat(options.let(ConfigureNatOptions.Companion::unwrap)) } /** @@ -74,7 +74,7 @@ public open class NatInstanceProvider( */ @Deprecated(message = "deprecated in CDK") public override fun configureSubnet(subnet: PrivateSubnet) { - unwrap(this).configureSubnet(subnet.let(PrivateSubnet::unwrap)) + unwrap(this).configureSubnet(subnet.let(PrivateSubnet.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class NatInstanceProvider( * (T2, T3, T3a, etc). */ override fun creditSpecification(creditSpecification: CpuCredits) { - cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class NatInstanceProvider( * default. */ override fun defaultAllowedTraffic(defaultAllowedTraffic: NatTrafficDirection) { - cdkBuilder.defaultAllowedTraffic(defaultAllowedTraffic.let(NatTrafficDirection::unwrap)) + cdkBuilder.defaultAllowedTraffic(defaultAllowedTraffic.let(NatTrafficDirection.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class NatInstanceProvider( * @param instanceType Instance type of the NAT instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class NatInstanceProvider( * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class NatInstanceProvider( * @param machineImage The machine image (AMI) to use. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class NatInstanceProvider( */ @Deprecated(message = "deprecated in CDK") override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class NatInstanceProvider( * @param userData Custom user data to run on the NAT instances. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NatInstanceProvider = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProviderV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProviderV2.kt index 5fc060aed3..f0c89d2d31 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProviderV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatInstanceProviderV2.kt @@ -36,7 +36,7 @@ public open class NatInstanceProviderV2( cdkObject: software.amazon.awscdk.services.ec2.NatInstanceProviderV2, ) : NatProvider(cdkObject), IConnectable { public constructor(props: NatInstanceProps) : - this(software.amazon.awscdk.services.ec2.NatInstanceProviderV2(props.let(NatInstanceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.NatInstanceProviderV2(props.let(NatInstanceProps.Companion::unwrap)) ) public constructor(props: NatInstanceProps.Builder.() -> Unit) : this(NatInstanceProps(props) @@ -50,7 +50,7 @@ public open class NatInstanceProviderV2( * @param options */ public override fun configureNat(options: ConfigureNatOptions) { - unwrap(this).configureNat(options.let(ConfigureNatOptions::unwrap)) + unwrap(this).configureNat(options.let(ConfigureNatOptions.Companion::unwrap)) } /** @@ -73,7 +73,7 @@ public open class NatInstanceProviderV2( * @param subnet */ public override fun configureSubnet(subnet: PrivateSubnet) { - unwrap(this).configureSubnet(subnet.let(PrivateSubnet::unwrap)) + unwrap(this).configureSubnet(subnet.let(PrivateSubnet.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class NatInstanceProviderV2( * (T2, T3, T3a, etc). */ override fun creditSpecification(creditSpecification: CpuCredits) { - cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits::unwrap)) + cdkBuilder.creditSpecification(creditSpecification.let(CpuCredits.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class NatInstanceProviderV2( * default. */ override fun defaultAllowedTraffic(defaultAllowedTraffic: NatTrafficDirection) { - cdkBuilder.defaultAllowedTraffic(defaultAllowedTraffic.let(NatTrafficDirection::unwrap)) + cdkBuilder.defaultAllowedTraffic(defaultAllowedTraffic.let(NatTrafficDirection.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class NatInstanceProviderV2( * @param instanceType Instance type of the NAT instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class NatInstanceProviderV2( * @param keyPair The SSH keypair to grant access to the instance. */ override fun keyPair(keyPair: IKeyPair) { - cdkBuilder.keyPair(keyPair.let(IKeyPair::unwrap)) + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class NatInstanceProviderV2( * @param machineImage The machine image (AMI) to use. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class NatInstanceProviderV2( */ @Deprecated(message = "deprecated in CDK") override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class NatInstanceProviderV2( * @param userData Custom user data to run on the NAT instances. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NatInstanceProviderV2 = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatProvider.kt index d3374c6743..4d130b4889 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NatProvider.kt @@ -40,7 +40,7 @@ public abstract class NatProvider( * @param options */ public open fun configureNat(options: ConfigureNatOptions) { - unwrap(this).configureNat(options.let(ConfigureNatOptions::unwrap)) + unwrap(this).configureNat(options.let(ConfigureNatOptions.Companion::unwrap)) } /** @@ -63,7 +63,7 @@ public abstract class NatProvider( * @param subnet */ public open fun configureSubnet(subnet: PrivateSubnet) { - unwrap(this).configureSubnet(subnet.let(PrivateSubnet::unwrap)) + unwrap(this).configureSubnet(subnet.let(PrivateSubnet.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public abstract class NatProvider( software.amazon.awscdk.services.ec2.NatProvider.gateway().let(NatProvider::wrap) public fun gateway(props: NatGatewayProps): NatProvider = - software.amazon.awscdk.services.ec2.NatProvider.gateway(props.let(NatGatewayProps::unwrap)).let(NatProvider::wrap) + software.amazon.awscdk.services.ec2.NatProvider.gateway(props.let(NatGatewayProps.Companion::unwrap)).let(NatProvider::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("64b0328c12f8c57b834fc161debeb09c1a129907450a628bafc6db79ec2ad8b0") @@ -90,7 +90,7 @@ public abstract class NatProvider( @Deprecated(message = "deprecated in CDK") public fun instance(props: NatInstanceProps): NatInstanceProvider = - software.amazon.awscdk.services.ec2.NatProvider.instance(props.let(NatInstanceProps::unwrap)).let(NatInstanceProvider::wrap) + software.amazon.awscdk.services.ec2.NatProvider.instance(props.let(NatInstanceProps.Companion::unwrap)).let(NatInstanceProvider::wrap) @Deprecated(message = "deprecated in CDK") @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -99,7 +99,7 @@ public abstract class NatProvider( instance(NatInstanceProps(props)) public fun instanceV2(props: NatInstanceProps): NatInstanceProviderV2 = - software.amazon.awscdk.services.ec2.NatProvider.instanceV2(props.let(NatInstanceProps::unwrap)).let(NatInstanceProviderV2::wrap) + software.amazon.awscdk.services.ec2.NatProvider.instanceV2(props.let(NatInstanceProps.Companion::unwrap)).let(NatInstanceProviderV2::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("68043635bfbcb6b4bfd37b41f8eae5b1f4bc7b843f1638eed2cd515d86b18eda") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAcl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAcl.kt index 10694cecec..c26797054b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAcl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAcl.kt @@ -48,8 +48,8 @@ public open class NetworkAcl( id: String, props: NetworkAclProps, ) : - this(software.amazon.awscdk.services.ec2.NetworkAcl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkAclProps::unwrap)) + this(software.amazon.awscdk.services.ec2.NetworkAcl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkAclProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class NetworkAcl( */ public override fun addEntry(id: String, options: CommonNetworkAclEntryOptions): NetworkAclEntry = unwrap(this).addEntry(id, - options.let(CommonNetworkAclEntryOptions::unwrap)).let(NetworkAclEntry::wrap) + options.let(CommonNetworkAclEntryOptions.Companion::unwrap)).let(NetworkAclEntry::wrap) /** * Add a new entry to the ACL. @@ -88,7 +88,7 @@ public open class NetworkAcl( * @param selection */ public open fun associateWithSubnet(id: String, selection: SubnetSelection) { - unwrap(this).associateWithSubnet(id, selection.let(SubnetSelection::unwrap)) + unwrap(this).associateWithSubnet(id, selection.let(SubnetSelection.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class NetworkAcl( * @param subnetSelection Subnets in the given VPC to associate the ACL with. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class NetworkAcl( * @param vpc The VPC in which to create the NetworkACL. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NetworkAcl = cdkBuilder.build() @@ -231,7 +231,7 @@ public open class NetworkAcl( id: String, networkAclId: String, ): INetworkAcl = - software.amazon.awscdk.services.ec2.NetworkAcl.fromNetworkAclId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.NetworkAcl.fromNetworkAclId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, networkAclId).let(INetworkAcl::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntry.kt index e5d95aca3a..4e61874e2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntry.kt @@ -42,8 +42,8 @@ public open class NetworkAclEntry( id: String, props: NetworkAclEntryProps, ) : - this(software.amazon.awscdk.services.ec2.NetworkAclEntry(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkAclEntryProps::unwrap)) + this(software.amazon.awscdk.services.ec2.NetworkAclEntry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkAclEntryProps.Companion::unwrap)) ) public constructor( @@ -144,7 +144,7 @@ public open class NetworkAclEntry( * @param cidr The CIDR range to allow or deny. */ override fun cidr(cidr: AclCidr) { - cdkBuilder.cidr(cidr.let(AclCidr::unwrap)) + cdkBuilder.cidr(cidr.let(AclCidr.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class NetworkAclEntry( * @param direction Traffic direction, with respect to the subnet, this rule applies to. */ override fun direction(direction: TrafficDirection) { - cdkBuilder.direction(direction.let(TrafficDirection::unwrap)) + cdkBuilder.direction(direction.let(TrafficDirection.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class NetworkAclEntry( * @param networkAcl The network ACL this entry applies to. */ override fun networkAcl(networkAcl: INetworkAcl) { - cdkBuilder.networkAcl(networkAcl.let(INetworkAcl::unwrap)) + cdkBuilder.networkAcl(networkAcl.let(INetworkAcl.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class NetworkAclEntry( * "allow" or "deny". */ override fun ruleAction(ruleAction: Action) { - cdkBuilder.ruleAction(ruleAction.let(Action::unwrap)) + cdkBuilder.ruleAction(ruleAction.let(Action.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class NetworkAclEntry( * @param traffic What kind of traffic this ACL rule applies to. */ override fun traffic(traffic: AclTraffic) { - cdkBuilder.traffic(traffic.let(AclTraffic::unwrap)) + cdkBuilder.traffic(traffic.let(AclTraffic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NetworkAclEntry = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntryProps.kt index 48c30687c0..5824251b08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclEntryProps.kt @@ -95,21 +95,21 @@ public interface NetworkAclEntryProps : CommonNetworkAclEntryOptions { * @param cidr The CIDR range to allow or deny. */ override fun cidr(cidr: AclCidr) { - cdkBuilder.cidr(cidr.let(AclCidr::unwrap)) + cdkBuilder.cidr(cidr.let(AclCidr.Companion::unwrap)) } /** * @param direction Traffic direction, with respect to the subnet, this rule applies to. */ override fun direction(direction: TrafficDirection) { - cdkBuilder.direction(direction.let(TrafficDirection::unwrap)) + cdkBuilder.direction(direction.let(TrafficDirection.Companion::unwrap)) } /** * @param networkAcl The network ACL this entry applies to. */ override fun networkAcl(networkAcl: INetworkAcl) { - cdkBuilder.networkAcl(networkAcl.let(INetworkAcl::unwrap)) + cdkBuilder.networkAcl(networkAcl.let(INetworkAcl.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface NetworkAclEntryProps : CommonNetworkAclEntryOptions { * ACL, all traffic is automatically allowed in a default ACL. */ override fun ruleAction(ruleAction: Action) { - cdkBuilder.ruleAction(ruleAction.let(Action::unwrap)) + cdkBuilder.ruleAction(ruleAction.let(Action.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface NetworkAclEntryProps : CommonNetworkAclEntryOptions { * @param traffic What kind of traffic this ACL rule applies to. */ override fun traffic(traffic: AclTraffic) { - cdkBuilder.traffic(traffic.let(AclTraffic::unwrap)) + cdkBuilder.traffic(traffic.let(AclTraffic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NetworkAclEntryProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclProps.kt index 8ba21337ec..d04562cc8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/NetworkAclProps.kt @@ -116,7 +116,7 @@ public interface NetworkAclProps { * `associateWithSubnets()`. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface NetworkAclProps { * @param vpc The VPC in which to create the NetworkACL. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.NetworkAclProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroup.kt index 08d06201f4..576a5d091e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroup.kt @@ -34,7 +34,7 @@ public open class PlacementGroup( cdkObject: software.amazon.awscdk.services.ec2.PlacementGroup, ) : Resource(cdkObject), IPlacementGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.PlacementGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.PlacementGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -43,8 +43,8 @@ public open class PlacementGroup( id: String, props: PlacementGroupProps, ) : - this(software.amazon.awscdk.services.ec2.PlacementGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PlacementGroupProps::unwrap)) + this(software.amazon.awscdk.services.ec2.PlacementGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PlacementGroupProps.Companion::unwrap)) ) public constructor( @@ -202,7 +202,7 @@ public open class PlacementGroup( * @param spreadLevel Places instances on distinct hardware. */ override fun spreadLevel(spreadLevel: PlacementGroupSpreadLevel) { - cdkBuilder.spreadLevel(spreadLevel.let(PlacementGroupSpreadLevel::unwrap)) + cdkBuilder.spreadLevel(spreadLevel.let(PlacementGroupSpreadLevel.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class PlacementGroup( * @param strategy Which strategy to use when launching instances. */ override fun strategy(strategy: PlacementGroupStrategy) { - cdkBuilder.strategy(strategy.let(PlacementGroupStrategy::unwrap)) + cdkBuilder.strategy(strategy.let(PlacementGroupStrategy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.PlacementGroup = cdkBuilder.build() @@ -225,7 +225,7 @@ public open class PlacementGroup( id: String, placementGroupName: String, ): IPlacementGroup = - software.amazon.awscdk.services.ec2.PlacementGroup.fromPlacementGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.PlacementGroup.fromPlacementGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, placementGroupName).let(IPlacementGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroupProps.kt index 15fdbcfa53..cb71dceec4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PlacementGroupProps.kt @@ -148,14 +148,14 @@ public interface PlacementGroupProps { * You can use host level spread placement groups only with AWS Outposts. */ override fun spreadLevel(spreadLevel: PlacementGroupSpreadLevel) { - cdkBuilder.spreadLevel(spreadLevel.let(PlacementGroupSpreadLevel::unwrap)) + cdkBuilder.spreadLevel(spreadLevel.let(PlacementGroupSpreadLevel.Companion::unwrap)) } /** * @param strategy Which strategy to use when launching instances. */ override fun strategy(strategy: PlacementGroupStrategy) { - cdkBuilder.strategy(strategy.let(PlacementGroupStrategy::unwrap)) + cdkBuilder.strategy(strategy.let(PlacementGroupStrategy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.PlacementGroupProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Port.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Port.kt index 376bf96ab4..b1862a5dee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Port.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Port.kt @@ -31,7 +31,7 @@ public open class Port( cdkObject: software.amazon.awscdk.services.ec2.Port, ) : CdkObject(cdkObject) { public constructor(props: PortProps) : - this(software.amazon.awscdk.services.ec2.Port(props.let(PortProps::unwrap)) + this(software.amazon.awscdk.services.ec2.Port(props.let(PortProps.Companion::unwrap)) ) public constructor(props: PortProps.Builder.() -> Unit) : this(PortProps(props) @@ -106,7 +106,7 @@ public open class Port( * @param protocol The protocol for the range. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PortProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PortProps.kt index 44450942df..52a502bb94 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PortProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PortProps.kt @@ -93,7 +93,7 @@ public interface PortProps { * @param protocol The protocol for the range. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixList.kt index 63d34c1f58..11efb9d35f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixList.kt @@ -26,7 +26,7 @@ public open class PrefixList( cdkObject: software.amazon.awscdk.services.ec2.PrefixList, ) : Resource(cdkObject), IPrefixList { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.PrefixList(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.PrefixList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -35,8 +35,8 @@ public open class PrefixList( id: String, props: PrefixListProps, ) : - this(software.amazon.awscdk.services.ec2.PrefixList(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PrefixListProps::unwrap)) + this(software.amazon.awscdk.services.ec2.PrefixList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PrefixListProps.Companion::unwrap)) ) public constructor( @@ -142,7 +142,7 @@ public open class PrefixList( * @param addressFamily The address family of the prefix list. */ override fun addressFamily(addressFamily: AddressFamily) { - cdkBuilder.addressFamily(addressFamily.let(AddressFamily::unwrap)) + cdkBuilder.addressFamily(addressFamily.let(AddressFamily.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class PrefixList( * @param entries The list of entries for the prefix list. */ override fun entries(entries: List) { - cdkBuilder.entries(entries.map(CfnPrefixList.EntryProperty::unwrap)) + cdkBuilder.entries(entries.map(CfnPrefixList.EntryProperty.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class PrefixList( id: String, prefixListId: String, ): IPrefixList = - software.amazon.awscdk.services.ec2.PrefixList.fromPrefixListId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.PrefixList.fromPrefixListId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, prefixListId).let(IPrefixList::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixListProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixListProps.kt index 91f4423e5e..17b980eb76 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixListProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrefixListProps.kt @@ -84,14 +84,14 @@ public interface PrefixListProps : PrefixListOptions { * @param addressFamily The address family of the prefix list. */ override fun addressFamily(addressFamily: AddressFamily) { - cdkBuilder.addressFamily(addressFamily.let(AddressFamily::unwrap)) + cdkBuilder.addressFamily(addressFamily.let(AddressFamily.Companion::unwrap)) } /** * @param entries The list of entries for the prefix list. */ override fun entries(entries: List) { - cdkBuilder.entries(entries.map(CfnPrefixList.EntryProperty::unwrap)) + cdkBuilder.entries(entries.map(CfnPrefixList.EntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrivateSubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrivateSubnet.kt index f3902c25ef..17bf00165d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrivateSubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PrivateSubnet.kt @@ -38,8 +38,8 @@ public open class PrivateSubnet( id: String, props: PrivateSubnetProps, ) : - this(software.amazon.awscdk.services.ec2.PrivateSubnet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PrivateSubnetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.PrivateSubnet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PrivateSubnetProps.Companion::unwrap)) ) public constructor( @@ -189,8 +189,8 @@ public open class PrivateSubnet( id: String, attrs: PrivateSubnetAttributes, ): IPrivateSubnet = - software.amazon.awscdk.services.ec2.PrivateSubnet.fromPrivateSubnetAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(PrivateSubnetAttributes::unwrap)).let(IPrivateSubnet::wrap) + software.amazon.awscdk.services.ec2.PrivateSubnet.fromPrivateSubnetAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(PrivateSubnetAttributes.Companion::unwrap)).let(IPrivateSubnet::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("24d7ca2097dfebaf7ccfe38c8086fab72cd4d0c9e67486c526078a5dfdb71435") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PublicSubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PublicSubnet.kt index 4c101be4db..08b0a6c42d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PublicSubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/PublicSubnet.kt @@ -38,8 +38,8 @@ public open class PublicSubnet( id: String, props: PublicSubnetProps, ) : - this(software.amazon.awscdk.services.ec2.PublicSubnet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PublicSubnetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.PublicSubnet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PublicSubnetProps.Companion::unwrap)) ) public constructor( @@ -211,8 +211,8 @@ public open class PublicSubnet( id: String, attrs: PublicSubnetAttributes, ): IPublicSubnet = - software.amazon.awscdk.services.ec2.PublicSubnet.fromPublicSubnetAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(PublicSubnetAttributes::unwrap)).let(IPublicSubnet::wrap) + software.amazon.awscdk.services.ec2.PublicSubnet.fromPublicSubnetAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(PublicSubnetAttributes.Companion::unwrap)).let(IPublicSubnet::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("62d4fc116dffe5100e12879b93f7113e28393ae8f102cf16abe1ca548805c7ef") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RequestedSubnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RequestedSubnet.kt index 4013ed5104..92c0645c8c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RequestedSubnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RequestedSubnet.kt @@ -92,7 +92,7 @@ public interface RequestedSubnet { * @param configuration Specify configuration parameters for a single subnet group in a VPC. */ override fun configuration(configuration: SubnetConfiguration) { - cdkBuilder.configuration(configuration.let(SubnetConfiguration::unwrap)) + cdkBuilder.configuration(configuration.let(SubnetConfiguration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ResolveSsmParameterAtLaunchImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ResolveSsmParameterAtLaunchImage.kt index 461170a55d..58a70ed010 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ResolveSsmParameterAtLaunchImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/ResolveSsmParameterAtLaunchImage.kt @@ -47,7 +47,7 @@ public open class ResolveSsmParameterAtLaunchImage( public constructor(parameterName: String, props: SsmParameterImageOptions) : this(software.amazon.awscdk.services.ec2.ResolveSsmParameterAtLaunchImage(parameterName, - props.let(SsmParameterImageOptions::unwrap)) + props.let(SsmParameterImageOptions.Companion::unwrap)) ) public constructor(parameterName: String, props: SsmParameterImageOptions.Builder.() -> Unit) : @@ -60,7 +60,7 @@ public open class ResolveSsmParameterAtLaunchImage( * @param _ */ public override fun image(`_`: Construct): MachineImageConfig = - unwrap(this).getImage(`_`.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(`_`.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * Name of the SSM parameter we're looking up. @@ -163,7 +163,7 @@ public open class ResolveSsmParameterAtLaunchImage( * @param os Operating system. */ override fun os(os: OperatingSystemType) { - cdkBuilder.os(os.let(OperatingSystemType::unwrap)) + cdkBuilder.os(os.let(OperatingSystemType.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class ResolveSsmParameterAtLaunchImage( * @param userData Custom UserData. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.ResolveSsmParameterAtLaunchImage = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RuleScope.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RuleScope.kt index 1e53e7fdb6..06ab91216d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RuleScope.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/RuleScope.kt @@ -66,7 +66,7 @@ public interface RuleScope { * @param scope The SecurityGroup in which a rule should be scoped. */ override fun scope(scope: ISecurityGroup) { - cdkBuilder.scope(scope.let(ISecurityGroup::unwrap)) + cdkBuilder.scope(scope.let(ISecurityGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.RuleScope = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DestinationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DestinationOptions.kt index ec9f0fc8ea..59c7b7d1e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DestinationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DestinationOptions.kt @@ -77,7 +77,7 @@ public interface S3DestinationOptions { * @param fileFormat The format for the flow log. */ override fun fileFormat(fileFormat: FlowLogFileFormat) { - cdkBuilder.fileFormat(fileFormat.let(FlowLogFileFormat::unwrap)) + cdkBuilder.fileFormat(fileFormat.let(FlowLogFileFormat.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DownloadOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DownloadOptions.kt index 3333fc602f..5cc8bc3592 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DownloadOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/S3DownloadOptions.kt @@ -92,7 +92,7 @@ public interface S3DownloadOptions { * @param bucket Name of the S3 bucket to download from. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroup.kt index 7790a1cd9d..3f1f170a0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroup.kt @@ -72,8 +72,8 @@ public open class SecurityGroup( id: String, props: SecurityGroupProps, ) : - this(software.amazon.awscdk.services.ec2.SecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SecurityGroupProps::unwrap)) + this(software.amazon.awscdk.services.ec2.SecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SecurityGroupProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,8 @@ public open class SecurityGroup( * @param remoteRule */ public override fun addEgressRule(peer: IPeer, connection: Port) { - unwrap(this).addEgressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap)) + unwrap(this).addEgressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap)) } /** @@ -139,7 +140,8 @@ public open class SecurityGroup( connection: Port, description: String, ) { - unwrap(this).addEgressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), description) + unwrap(this).addEgressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description) } /** @@ -162,8 +164,8 @@ public open class SecurityGroup( description: String, remoteRule: Boolean, ) { - unwrap(this).addEgressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), description, - remoteRule) + unwrap(this).addEgressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description, remoteRule) } /** @@ -181,7 +183,8 @@ public open class SecurityGroup( * @param remoteRule */ public override fun addIngressRule(peer: IPeer, connection: Port) { - unwrap(this).addIngressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap)) + unwrap(this).addIngressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap)) } /** @@ -222,7 +225,8 @@ public open class SecurityGroup( connection: Port, description: String, ) { - unwrap(this).addIngressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), description) + unwrap(this).addIngressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description) } /** @@ -245,8 +249,8 @@ public open class SecurityGroup( description: String, remoteRule: Boolean, ) { - unwrap(this).addIngressRule(peer.let(IPeer::unwrap), connection.let(Port::unwrap), description, - remoteRule) + unwrap(this).addIngressRule(peer.let(IPeer.Companion::unwrap), + connection.let(Port.Companion::unwrap), description, remoteRule) } /** @@ -482,7 +486,7 @@ public open class SecurityGroup( * @param vpc The VPC in which to create the security group. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.SecurityGroup = cdkBuilder.build() @@ -494,7 +498,7 @@ public open class SecurityGroup( id: String, securityGroupId: String, ): ISecurityGroup = - software.amazon.awscdk.services.ec2.SecurityGroup.fromLookupById(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.SecurityGroup.fromLookupById(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, securityGroupId).let(ISecurityGroup::wrap) public fun fromLookupByName( @@ -503,15 +507,15 @@ public open class SecurityGroup( securityGroupName: String, vpc: IVpc, ): ISecurityGroup = - software.amazon.awscdk.services.ec2.SecurityGroup.fromLookupByName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, securityGroupName, vpc.let(IVpc::unwrap)).let(ISecurityGroup::wrap) + software.amazon.awscdk.services.ec2.SecurityGroup.fromLookupByName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, securityGroupName, vpc.let(IVpc.Companion::unwrap)).let(ISecurityGroup::wrap) public fun fromSecurityGroupId( scope: CloudshiftdevConstructsConstruct, id: String, securityGroupId: String, ): ISecurityGroup = - software.amazon.awscdk.services.ec2.SecurityGroup.fromSecurityGroupId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.SecurityGroup.fromSecurityGroupId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, securityGroupId).let(ISecurityGroup::wrap) public fun fromSecurityGroupId( @@ -520,9 +524,9 @@ public open class SecurityGroup( securityGroupId: String, options: SecurityGroupImportOptions, ): ISecurityGroup = - software.amazon.awscdk.services.ec2.SecurityGroup.fromSecurityGroupId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.SecurityGroup.fromSecurityGroupId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, securityGroupId, - options.let(SecurityGroupImportOptions::unwrap)).let(ISecurityGroup::wrap) + options.let(SecurityGroupImportOptions.Companion::unwrap)).let(ISecurityGroup::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b1c6c1dacaf5bb3e730a1c0404aa31a8e76593f9a43e6f9d87dabffb2d41cee7") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroupProps.kt index 474f505a94..585fc745e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SecurityGroupProps.kt @@ -218,7 +218,7 @@ public interface SecurityGroupProps { * @param vpc The VPC in which to create the security group. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.SecurityGroupProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SelectedSubnets.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SelectedSubnets.kt index c806f90e62..1b3f199ecd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SelectedSubnets.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SelectedSubnets.kt @@ -149,7 +149,7 @@ public interface SelectedSubnets { * these subnets. */ override fun internetConnectivityEstablished(internetConnectivityEstablished: IDependable) { - cdkBuilder.internetConnectivityEstablished(internetConnectivityEstablished.let(IDependable::unwrap)) + cdkBuilder.internetConnectivityEstablished(internetConnectivityEstablished.let(IDependable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface SelectedSubnets { * @param subnets Selected subnet objects. */ override fun subnets(subnets: List) { - cdkBuilder.subnets(subnets.map(ISubnet::unwrap)) + cdkBuilder.subnets(subnets.map(ISubnet.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SsmParameterImageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SsmParameterImageOptions.kt index 5ad0404aa1..ef3268a517 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SsmParameterImageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SsmParameterImageOptions.kt @@ -159,7 +159,7 @@ public interface SsmParameterImageOptions { * @param os Operating system. */ override fun os(os: OperatingSystemType) { - cdkBuilder.os(os.let(OperatingSystemType::unwrap)) + cdkBuilder.os(os.let(OperatingSystemType.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface SsmParameterImageOptions { * @param userData Custom UserData. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.SsmParameterImageOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Subnet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Subnet.kt index 820db0b0fd..97995c365c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Subnet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Subnet.kt @@ -44,8 +44,8 @@ public open class Subnet( id: String, props: SubnetProps, ) : - this(software.amazon.awscdk.services.ec2.Subnet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SubnetProps::unwrap)) + this(software.amazon.awscdk.services.ec2.Subnet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SubnetProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,8 @@ public open class Subnet( * @param gatewayAttachment the gateway attachment construct to be added as a dependency. */ public open fun addDefaultInternetRoute(gatewayId: String, gatewayAttachment: IDependable) { - unwrap(this).addDefaultInternetRoute(gatewayId, gatewayAttachment.let(IDependable::unwrap)) + unwrap(this).addDefaultInternetRoute(gatewayId, + gatewayAttachment.let(IDependable.Companion::unwrap)) } /** @@ -111,7 +112,7 @@ public open class Subnet( * @param options */ public open fun addRoute(id: String, options: AddRouteOptions) { - unwrap(this).addRoute(id, options.let(AddRouteOptions::unwrap)) + unwrap(this).addRoute(id, options.let(AddRouteOptions.Companion::unwrap)) } /** @@ -132,7 +133,7 @@ public open class Subnet( * @param networkAcl */ public override fun associateNetworkAcl(id: String, networkAcl: INetworkAcl) { - unwrap(this).associateNetworkAcl(id, networkAcl.let(INetworkAcl::unwrap)) + unwrap(this).associateNetworkAcl(id, networkAcl.let(INetworkAcl.Companion::unwrap)) } /** @@ -346,8 +347,8 @@ public open class Subnet( id: String, attrs: SubnetAttributes, ): ISubnet = - software.amazon.awscdk.services.ec2.Subnet.fromSubnetAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(SubnetAttributes::unwrap)).let(ISubnet::wrap) + software.amazon.awscdk.services.ec2.Subnet.fromSubnetAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(SubnetAttributes.Companion::unwrap)).let(ISubnet::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bcd31c29478f827dbff002348d295e16e925bd47775558a2a43fd936e9c4133e") @@ -362,7 +363,7 @@ public open class Subnet( id: String, subnetId: String, ): ISubnet = - software.amazon.awscdk.services.ec2.Subnet.fromSubnetId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.Subnet.fromSubnetId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, subnetId).let(ISubnet::wrap) public fun isVpcSubnet(x: Any): Boolean = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetConfiguration.kt index 9b3eea8378..34863be780 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetConfiguration.kt @@ -210,7 +210,7 @@ public interface SubnetConfiguration { * Internet. */ override fun subnetType(subnetType: SubnetType) { - cdkBuilder.subnetType(subnetType.let(SubnetType::unwrap)) + cdkBuilder.subnetType(subnetType.let(SubnetType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.SubnetConfiguration = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetFilter.kt index b879288e81..51d8679586 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetFilter.kt @@ -31,7 +31,7 @@ public abstract class SubnetFilter( * @param _subnets */ public open fun selectSubnets(subnets: List): List = - unwrap(this).selectSubnets(subnets.map(ISubnet::unwrap)).map(ISubnet::wrap) + unwrap(this).selectSubnets(subnets.map(ISubnet.Companion::unwrap)).map(ISubnet::wrap) /** * Executes the subnet filtering logic, returning a filtered set of subnets. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetIpamOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetIpamOptions.kt index c1c613e44b..62937d069f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetIpamOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetIpamOptions.kt @@ -56,7 +56,7 @@ public interface SubnetIpamOptions { * @param allocatedSubnets CIDR Allocations for Subnets. */ override fun allocatedSubnets(allocatedSubnets: List) { - cdkBuilder.allocatedSubnets(allocatedSubnets.map(AllocatedSubnet::unwrap)) + cdkBuilder.allocatedSubnets(allocatedSubnets.map(AllocatedSubnet.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociation.kt index e64372240b..f518b5f0ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociation.kt @@ -35,8 +35,8 @@ public open class SubnetNetworkAclAssociation( id: String, props: SubnetNetworkAclAssociationProps, ) : - this(software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SubnetNetworkAclAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SubnetNetworkAclAssociationProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class SubnetNetworkAclAssociation( * @param networkAcl The Network ACL this association is defined for. */ override fun networkAcl(networkAcl: INetworkAcl) { - cdkBuilder.networkAcl(networkAcl.let(INetworkAcl::unwrap)) + cdkBuilder.networkAcl(networkAcl.let(INetworkAcl.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class SubnetNetworkAclAssociation( * @param subnet ID of the Subnet. */ override fun subnet(subnet: ISubnet) { - cdkBuilder.subnet(subnet.let(ISubnet::unwrap)) + cdkBuilder.subnet(subnet.let(ISubnet.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class SubnetNetworkAclAssociation( id: String, subnetNetworkAclAssociationAssociationId: String, ): ISubnetNetworkAclAssociation = - software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociation.fromSubnetNetworkAclAssociationAssociationId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociation.fromSubnetNetworkAclAssociationAssociationId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, subnetNetworkAclAssociationAssociationId).let(ISubnetNetworkAclAssociation::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociationProps.kt index 9f91edeeb9..7281a07714 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetNetworkAclAssociationProps.kt @@ -81,14 +81,14 @@ public interface SubnetNetworkAclAssociationProps { * @param networkAcl The Network ACL this association is defined for. */ override fun networkAcl(networkAcl: INetworkAcl) { - cdkBuilder.networkAcl(networkAcl.let(INetworkAcl::unwrap)) + cdkBuilder.networkAcl(networkAcl.let(INetworkAcl.Companion::unwrap)) } /** * @param subnet ID of the Subnet. */ override fun subnet(subnet: ISubnet) { - cdkBuilder.subnet(subnet.let(ISubnet::unwrap)) + cdkBuilder.subnet(subnet.let(ISubnet.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetSelection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetSelection.kt index d913027931..e1f6105197 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetSelection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SubnetSelection.kt @@ -200,7 +200,7 @@ public interface SubnetSelection { * @param subnetFilters List of provided subnet filters. */ override fun subnetFilters(subnetFilters: List) { - cdkBuilder.subnetFilters(subnetFilters.map(SubnetFilter::unwrap)) + cdkBuilder.subnetFilters(subnetFilters.map(SubnetFilter.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface SubnetSelection { * At most one of `subnetType` and `subnetGroupName` can be supplied. */ override fun subnetType(subnetType: SubnetType) { - cdkBuilder.subnetType(subnetType.let(SubnetType::unwrap)) + cdkBuilder.subnetType(subnetType.let(SubnetType.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface SubnetSelection { * Cannot be specified together with `subnetType` or `subnetGroupName`. */ override fun subnets(subnets: List) { - cdkBuilder.subnets(subnets.map(ISubnet::unwrap)) + cdkBuilder.subnets(subnets.map(ISubnet.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SystemdConfigFileOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SystemdConfigFileOptions.kt index eca657ffd1..0f251dfb96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SystemdConfigFileOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/SystemdConfigFileOptions.kt @@ -8,6 +8,8 @@ import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import kotlin.Boolean import kotlin.String import kotlin.Unit +import kotlin.collections.List +import kotlin.collections.Map /** * Options for creating a SystemD configuration file. @@ -58,6 +60,23 @@ public interface SystemdConfigFileOptions { */ public fun description(): String? = unwrap(this).getDescription() + /** + * Loads environment variables from files when the process is running. + * + * Must use absolute paths. + * + * Default: - No environment files + */ + public fun environmentFiles(): List = unwrap(this).getEnvironmentFiles() ?: emptyList() + + /** + * Environment variables to load when the process is running. + * + * Default: - No environment variables set + */ + public fun environmentVariables(): Map = unwrap(this).getEnvironmentVariables() ?: + emptyMap() + /** * The group to execute the process under. * @@ -107,6 +126,23 @@ public interface SystemdConfigFileOptions { */ public fun description(description: String) + /** + * @param environmentFiles Loads environment variables from files when the process is running. + * Must use absolute paths. + */ + public fun environmentFiles(environmentFiles: List) + + /** + * @param environmentFiles Loads environment variables from files when the process is running. + * Must use absolute paths. + */ + public fun environmentFiles(vararg environmentFiles: String) + + /** + * @param environmentVariables Environment variables to load when the process is running. + */ + public fun environmentVariables(environmentVariables: Map) + /** * @param group The group to execute the process under. */ @@ -157,6 +193,28 @@ public interface SystemdConfigFileOptions { cdkBuilder.description(description) } + /** + * @param environmentFiles Loads environment variables from files when the process is running. + * Must use absolute paths. + */ + override fun environmentFiles(environmentFiles: List) { + cdkBuilder.environmentFiles(environmentFiles) + } + + /** + * @param environmentFiles Loads environment variables from files when the process is running. + * Must use absolute paths. + */ + override fun environmentFiles(vararg environmentFiles: String): Unit = + environmentFiles(environmentFiles.toList()) + + /** + * @param environmentVariables Environment variables to load when the process is running. + */ + override fun environmentVariables(environmentVariables: Map) { + cdkBuilder.environmentVariables(environmentVariables) + } + /** * @param group The group to execute the process under. */ @@ -213,6 +271,24 @@ public interface SystemdConfigFileOptions { */ override fun description(): String? = unwrap(this).getDescription() + /** + * Loads environment variables from files when the process is running. + * + * Must use absolute paths. + * + * Default: - No environment files + */ + override fun environmentFiles(): List = unwrap(this).getEnvironmentFiles() ?: + emptyList() + + /** + * Environment variables to load when the process is running. + * + * Default: - No environment variables set + */ + override fun environmentVariables(): Map = + unwrap(this).getEnvironmentVariables() ?: emptyMap() + /** * The group to execute the process under. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/UserData.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/UserData.kt index 81661185cf..93ca6ac4bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/UserData.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/UserData.kt @@ -52,7 +52,7 @@ public abstract class UserData( * @param params */ public open fun addExecuteFileCommand(params: ExecuteFileOptions) { - unwrap(this).addExecuteFileCommand(params.let(ExecuteFileOptions::unwrap)) + unwrap(this).addExecuteFileCommand(params.let(ExecuteFileOptions.Companion::unwrap)) } /** @@ -82,7 +82,7 @@ public abstract class UserData( * @param params */ public open fun addS3DownloadCommand(params: S3DownloadOptions): String = - unwrap(this).addS3DownloadCommand(params.let(S3DownloadOptions::unwrap)) + unwrap(this).addS3DownloadCommand(params.let(S3DownloadOptions.Companion::unwrap)) /** * Adds commands to download a file from S3. @@ -101,7 +101,7 @@ public abstract class UserData( * @param resource */ public open fun addSignalOnExitCommand(resource: Resource) { - unwrap(this).addSignalOnExitCommand(resource.let(Resource::unwrap)) + unwrap(this).addSignalOnExitCommand(resource.let(Resource.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public abstract class UserData( software.amazon.awscdk.services.ec2.UserData.forLinux().let(UserData::wrap) public fun forLinux(options: LinuxUserDataOptions): UserData = - software.amazon.awscdk.services.ec2.UserData.forLinux(options.let(LinuxUserDataOptions::unwrap)).let(UserData::wrap) + software.amazon.awscdk.services.ec2.UserData.forLinux(options.let(LinuxUserDataOptions.Companion::unwrap)).let(UserData::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d0f6580db612bc851c54d2099ec88beae3a75a687c834d4720cd21d88b136b1b") @@ -129,13 +129,13 @@ public abstract class UserData( forLinux(LinuxUserDataOptions(options)) public fun forOperatingSystem(os: OperatingSystemType): UserData = - software.amazon.awscdk.services.ec2.UserData.forOperatingSystem(os.let(OperatingSystemType::unwrap)).let(UserData::wrap) + software.amazon.awscdk.services.ec2.UserData.forOperatingSystem(os.let(OperatingSystemType.Companion::unwrap)).let(UserData::wrap) public fun forWindows(): UserData = software.amazon.awscdk.services.ec2.UserData.forWindows().let(UserData::wrap) public fun forWindows(options: WindowsUserDataOptions): UserData = - software.amazon.awscdk.services.ec2.UserData.forWindows(options.let(WindowsUserDataOptions::unwrap)).let(UserData::wrap) + software.amazon.awscdk.services.ec2.UserData.forWindows(options.let(WindowsUserDataOptions.Companion::unwrap)).let(UserData::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fbba03fb3cbf7b7fbd6f4cfa74c1e39e79eeb185157e50feec0de02231b7da9c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Volume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Volume.kt index c0e00ec023..9f0bf1d534 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Volume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Volume.kt @@ -42,8 +42,8 @@ public open class Volume( id: String, props: VolumeProps, ) : - this(software.amazon.awscdk.services.ec2.Volume(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VolumeProps::unwrap)) + this(software.amazon.awscdk.services.ec2.Volume(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VolumeProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class Volume( * @param instances */ public override fun grantAttachVolume(grantee: IGrantable): Grant = - unwrap(this).grantAttachVolume(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantAttachVolume(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to attach this Volume to an instance. @@ -89,8 +89,8 @@ public open class Volume( * @param instances */ public override fun grantAttachVolume(grantee: IGrantable, instances: List): Grant = - unwrap(this).grantAttachVolume(grantee.let(IGrantable::unwrap), - instances.map(IInstance::unwrap)).let(Grant::wrap) + unwrap(this).grantAttachVolume(grantee.let(IGrantable.Companion::unwrap), + instances.map(IInstance.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to attach the Volume by a ResourceTag condition. @@ -110,8 +110,8 @@ public open class Volume( */ public override fun grantAttachVolumeByResourceTag(grantee: IGrantable, constructs: List): Grant = - unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(CloudshiftdevConstructsConstruct::unwrap)).let(Grant::wrap) + unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to attach the Volume by a ResourceTag condition. @@ -133,8 +133,9 @@ public open class Volume( grantee: IGrantable, constructs: List, tagKeySuffix: String, - ): Grant = unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(CloudshiftdevConstructsConstruct::unwrap), tagKeySuffix).let(Grant::wrap) + ): Grant = unwrap(this).grantAttachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(CloudshiftdevConstructsConstruct.Companion::unwrap), + tagKeySuffix).let(Grant::wrap) /** * Grants permission to detach this Volume from an instance CAUTION: Granting an instance @@ -148,7 +149,7 @@ public open class Volume( * @param instances */ public override fun grantDetachVolume(grantee: IGrantable): Grant = - unwrap(this).grantDetachVolume(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDetachVolume(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to detach this Volume from an instance CAUTION: Granting an instance @@ -162,8 +163,8 @@ public open class Volume( * @param instances */ public override fun grantDetachVolume(grantee: IGrantable, instances: List): Grant = - unwrap(this).grantDetachVolume(grantee.let(IGrantable::unwrap), - instances.map(IInstance::unwrap)).let(Grant::wrap) + unwrap(this).grantDetachVolume(grantee.let(IGrantable.Companion::unwrap), + instances.map(IInstance.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to detach the Volume by a ResourceTag condition. @@ -177,8 +178,8 @@ public open class Volume( */ public override fun grantDetachVolumeByResourceTag(grantee: IGrantable, constructs: List): Grant = - unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(CloudshiftdevConstructsConstruct::unwrap)).let(Grant::wrap) + unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(Grant::wrap) /** * Grants permission to detach the Volume by a ResourceTag condition. @@ -194,8 +195,9 @@ public open class Volume( grantee: IGrantable, constructs: List, tagKeySuffix: String, - ): Grant = unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable::unwrap), - constructs.map(CloudshiftdevConstructsConstruct::unwrap), tagKeySuffix).let(Grant::wrap) + ): Grant = unwrap(this).grantDetachVolumeByResourceTag(grantee.let(IGrantable.Companion::unwrap), + constructs.map(CloudshiftdevConstructsConstruct.Companion::unwrap), + tagKeySuffix).let(Grant::wrap) /** * The EBS Volume's ID. @@ -489,7 +491,7 @@ public open class Volume( * @param encryptionKey The customer-managed encryption key that is used to encrypt the Volume. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -521,7 +523,7 @@ public open class Volume( * @param removalPolicy Policy to apply when the volume is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -538,7 +540,7 @@ public open class Volume( * @param size The size of the volume, in GiBs. */ override fun size(size: Size) { - cdkBuilder.size(size.let(Size::unwrap)) + cdkBuilder.size(size.let(Size.Companion::unwrap)) } /** @@ -588,7 +590,7 @@ public open class Volume( * @param volumeType The type of the volume;. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.Volume = cdkBuilder.build() @@ -600,8 +602,8 @@ public open class Volume( id: String, attrs: VolumeAttributes, ): IVolume = - software.amazon.awscdk.services.ec2.Volume.fromVolumeAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VolumeAttributes::unwrap)).let(IVolume::wrap) + software.amazon.awscdk.services.ec2.Volume.fromVolumeAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VolumeAttributes.Companion::unwrap)).let(IVolume::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("46294edfafb5f5897a09cfc033d6dc1f7599f18b9a23511cbbf2feae5897f105") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeAttributes.kt index 83e5995773..e084f6ff1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeAttributes.kt @@ -84,7 +84,7 @@ public interface VolumeAttributes { * @param encryptionKey The customer-managed encryption key that is used to encrypt the Volume. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeProps.kt index 6ad25722bc..462d5e15ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VolumeProps.kt @@ -386,7 +386,7 @@ public interface VolumeProps { * ``` */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface VolumeProps { * @param removalPolicy Policy to apply when the volume is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public interface VolumeProps { * for details on the allowable size for each type of volume. */ override fun size(size: Size) { - cdkBuilder.size(size.let(Size::unwrap)) + cdkBuilder.size(size.let(Size.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface VolumeProps { * what type of storage to use to form the EBS Volume. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.VolumeProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Vpc.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Vpc.kt index 72484ef425..e0c8166005 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Vpc.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/Vpc.kt @@ -61,7 +61,7 @@ public open class Vpc( cdkObject: software.amazon.awscdk.services.ec2.Vpc, ) : Resource(cdkObject), IVpc { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ec2.Vpc(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ec2.Vpc(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class Vpc( id: String, props: VpcProps, ) : - this(software.amazon.awscdk.services.ec2.Vpc(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpcProps::unwrap)) + this(software.amazon.awscdk.services.ec2.Vpc(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpcProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class Vpc( */ public override fun addClientVpnEndpoint(id: String, options: ClientVpnEndpointOptions): ClientVpnEndpoint = unwrap(this).addClientVpnEndpoint(id, - options.let(ClientVpnEndpointOptions::unwrap)).let(ClientVpnEndpoint::wrap) + options.let(ClientVpnEndpointOptions.Companion::unwrap)).let(ClientVpnEndpoint::wrap) /** * Adds a new client VPN endpoint to this VPC. @@ -119,7 +119,7 @@ public open class Vpc( * @param options */ public override fun addFlowLog(id: String, options: FlowLogOptions): FlowLog = - unwrap(this).addFlowLog(id, options.let(FlowLogOptions::unwrap)).let(FlowLog::wrap) + unwrap(this).addFlowLog(id, options.let(FlowLogOptions.Companion::unwrap)).let(FlowLog::wrap) /** * Adds a new flow log to this VPC. @@ -140,7 +140,7 @@ public open class Vpc( */ public override fun addGatewayEndpoint(id: String, options: GatewayVpcEndpointOptions): GatewayVpcEndpoint = unwrap(this).addGatewayEndpoint(id, - options.let(GatewayVpcEndpointOptions::unwrap)).let(GatewayVpcEndpoint::wrap) + options.let(GatewayVpcEndpointOptions.Companion::unwrap)).let(GatewayVpcEndpoint::wrap) /** * Adds a new gateway endpoint to this VPC. @@ -162,7 +162,7 @@ public open class Vpc( */ public override fun addInterfaceEndpoint(id: String, options: InterfaceVpcEndpointOptions): InterfaceVpcEndpoint = unwrap(this).addInterfaceEndpoint(id, - options.let(InterfaceVpcEndpointOptions::unwrap)).let(InterfaceVpcEndpoint::wrap) + options.let(InterfaceVpcEndpointOptions.Companion::unwrap)).let(InterfaceVpcEndpoint::wrap) /** * Adds a new interface endpoint to this VPC. @@ -184,7 +184,7 @@ public open class Vpc( */ public override fun addVpnConnection(id: String, options: VpnConnectionOptions): VpnConnection = unwrap(this).addVpnConnection(id, - options.let(VpnConnectionOptions::unwrap)).let(VpnConnection::wrap) + options.let(VpnConnectionOptions.Companion::unwrap)).let(VpnConnection::wrap) /** * Adds a new VPN connection to this VPC. @@ -219,7 +219,7 @@ public open class Vpc( * @param options */ public override fun enableVpnGateway(options: EnableVpnGatewayOptions) { - unwrap(this).enableVpnGateway(options.let(EnableVpnGatewayOptions::unwrap)) + unwrap(this).enableVpnGateway(options.let(EnableVpnGatewayOptions.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class Vpc( * @param selection */ public override fun selectSubnets(selection: SubnetSelection): SelectedSubnets = - unwrap(this).selectSubnets(selection.let(SubnetSelection::unwrap)).let(SelectedSubnets::wrap) + unwrap(this).selectSubnets(selection.let(SubnetSelection.Companion::unwrap)).let(SelectedSubnets::wrap) /** * Returns IDs of selected subnets. @@ -787,7 +787,7 @@ public open class Vpc( * @param defaultInstanceTenancy The default tenancy of instances launched into the VPC. */ override fun defaultInstanceTenancy(defaultInstanceTenancy: DefaultInstanceTenancy) { - cdkBuilder.defaultInstanceTenancy(defaultInstanceTenancy.let(DefaultInstanceTenancy::unwrap)) + cdkBuilder.defaultInstanceTenancy(defaultInstanceTenancy.let(DefaultInstanceTenancy.Companion::unwrap)) } /** @@ -856,7 +856,7 @@ public open class Vpc( * @param ipAddresses The Provider to use to allocate IPv4 Space to your VPC. */ override fun ipAddresses(ipAddresses: IIpAddresses) { - cdkBuilder.ipAddresses(ipAddresses.let(IIpAddresses::unwrap)) + cdkBuilder.ipAddresses(ipAddresses.let(IIpAddresses.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class Vpc( * @param ipProtocol The protocol of the vpc. */ override fun ipProtocol(ipProtocol: IpProtocol) { - cdkBuilder.ipProtocol(ipProtocol.let(IpProtocol::unwrap)) + cdkBuilder.ipProtocol(ipProtocol.let(IpProtocol.Companion::unwrap)) } /** @@ -884,7 +884,7 @@ public open class Vpc( * @param ipv6Addresses The Provider to use to allocate IPv6 Space to your VPC. */ override fun ipv6Addresses(ipv6Addresses: IIpv6Addresses) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IIpv6Addresses::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IIpv6Addresses.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public open class Vpc( * @param natGatewayProvider What type of NAT provider to use. */ override fun natGatewayProvider(natGatewayProvider: NatProvider) { - cdkBuilder.natGatewayProvider(natGatewayProvider.let(NatProvider::unwrap)) + cdkBuilder.natGatewayProvider(natGatewayProvider.let(NatProvider.Companion::unwrap)) } /** @@ -939,7 +939,7 @@ public open class Vpc( * @param natGatewaySubnets Configures the subnets which will have NAT Gateways/Instances. */ override fun natGatewaySubnets(natGatewaySubnets: SubnetSelection) { - cdkBuilder.natGatewaySubnets(natGatewaySubnets.let(SubnetSelection::unwrap)) + cdkBuilder.natGatewaySubnets(natGatewaySubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1037,7 +1037,7 @@ public open class Vpc( * @param subnetConfiguration Configure the subnets to build for each AZ. */ override fun subnetConfiguration(subnetConfiguration: List) { - cdkBuilder.subnetConfiguration(subnetConfiguration.map(SubnetConfiguration::unwrap)) + cdkBuilder.subnetConfiguration(subnetConfiguration.map(SubnetConfiguration.Companion::unwrap)) } /** @@ -1133,7 +1133,7 @@ public open class Vpc( * @param vpnRoutePropagation Where to propagate VPN routes. */ override fun vpnRoutePropagation(vpnRoutePropagation: List) { - cdkBuilder.vpnRoutePropagation(vpnRoutePropagation.map(SubnetSelection::unwrap)) + cdkBuilder.vpnRoutePropagation(vpnRoutePropagation.map(SubnetSelection.Companion::unwrap)) } /** @@ -1166,8 +1166,8 @@ public open class Vpc( id: String, options: VpcLookupOptions, ): IVpc = - software.amazon.awscdk.services.ec2.Vpc.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, options.let(VpcLookupOptions::unwrap)).let(IVpc::wrap) + software.amazon.awscdk.services.ec2.Vpc.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, options.let(VpcLookupOptions.Companion::unwrap)).let(IVpc::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bfd3d4a9b937e72de676f265f17bf0e942f1bc1be6304439abd5c5d51ed927ca") @@ -1182,8 +1182,8 @@ public open class Vpc( id: String, attrs: VpcAttributes, ): IVpc = - software.amazon.awscdk.services.ec2.Vpc.fromVpcAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VpcAttributes::unwrap)).let(IVpc::wrap) + software.amazon.awscdk.services.ec2.Vpc.fromVpcAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VpcAttributes.Companion::unwrap)).let(IVpc::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b042fc2d1b4b50c558012358dc931e1a21e45cb4ade21134892c366410e05793") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpoint.kt index e49994ff15..26c879907d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpoint.kt @@ -26,7 +26,7 @@ public abstract class VpcEndpoint( * @param statement the IAM statement to add. */ public open fun addToPolicy(statement: PolicyStatement) { - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointService.kt index d7e69930e3..07785b62bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointService.kt @@ -36,8 +36,8 @@ public open class VpcEndpointService( id: String, props: VpcEndpointServiceProps, ) : - this(software.amazon.awscdk.services.ec2.VpcEndpointService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpcEndpointServiceProps::unwrap)) + this(software.amazon.awscdk.services.ec2.VpcEndpointService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpcEndpointServiceProps.Companion::unwrap)) ) public constructor( @@ -185,7 +185,7 @@ public open class VpcEndpointService( * from. */ override fun allowedPrincipals(allowedPrincipals: List) { - cdkBuilder.allowedPrincipals(allowedPrincipals.map(ArnPrincipal::unwrap)) + cdkBuilder.allowedPrincipals(allowedPrincipals.map(ArnPrincipal.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class VpcEndpointService( */ override fun vpcEndpointServiceLoadBalancers(vpcEndpointServiceLoadBalancers: List) { - cdkBuilder.vpcEndpointServiceLoadBalancers(vpcEndpointServiceLoadBalancers.map(IVpcEndpointServiceLoadBalancer::unwrap)) + cdkBuilder.vpcEndpointServiceLoadBalancers(vpcEndpointServiceLoadBalancers.map(IVpcEndpointServiceLoadBalancer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointServiceProps.kt index f3aa200c43..5dab12c9ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcEndpointServiceProps.kt @@ -126,7 +126,7 @@ public interface VpcEndpointServiceProps { * list of one or more ArnPrincipal. */ override fun allowedPrincipals(allowedPrincipals: List) { - cdkBuilder.allowedPrincipals(allowedPrincipals.map(ArnPrincipal::unwrap)) + cdkBuilder.allowedPrincipals(allowedPrincipals.map(ArnPrincipal.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public interface VpcEndpointServiceProps { */ override fun vpcEndpointServiceLoadBalancers(vpcEndpointServiceLoadBalancers: List) { - cdkBuilder.vpcEndpointServiceLoadBalancers(vpcEndpointServiceLoadBalancers.map(IVpcEndpointServiceLoadBalancer::unwrap)) + cdkBuilder.vpcEndpointServiceLoadBalancers(vpcEndpointServiceLoadBalancers.map(IVpcEndpointServiceLoadBalancer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcProps.kt index 0a2378518f..3107661f41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpcProps.kt @@ -601,7 +601,7 @@ public interface VpcProps { * with Dedicated tenancy. */ override fun defaultInstanceTenancy(defaultInstanceTenancy: DefaultInstanceTenancy) { - cdkBuilder.defaultInstanceTenancy(defaultInstanceTenancy.let(DefaultInstanceTenancy::unwrap)) + cdkBuilder.defaultInstanceTenancy(defaultInstanceTenancy.let(DefaultInstanceTenancy.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public interface VpcProps { * Note this is specific to IPv4 addresses. */ override fun ipAddresses(ipAddresses: IIpAddresses) { - cdkBuilder.ipAddresses(ipAddresses.let(IIpAddresses::unwrap)) + cdkBuilder.ipAddresses(ipAddresses.let(IIpAddresses.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public interface VpcProps { * Options are IPv4 only or dual stack. */ override fun ipProtocol(ipProtocol: IpProtocol) { - cdkBuilder.ipProtocol(ipProtocol.let(IpProtocol::unwrap)) + cdkBuilder.ipProtocol(ipProtocol.let(IpProtocol.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public interface VpcProps { * Note this is specific to IPv6 addresses. */ override fun ipv6Addresses(ipv6Addresses: IIpv6Addresses) { - cdkBuilder.ipv6Addresses(ipv6Addresses.let(IIpv6Addresses::unwrap)) + cdkBuilder.ipv6Addresses(ipv6Addresses.let(IIpv6Addresses.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public interface VpcProps { * may not be available in all AWS regions. */ override fun natGatewayProvider(natGatewayProvider: NatProvider) { - cdkBuilder.natGatewayProvider(natGatewayProvider.let(NatProvider::unwrap)) + cdkBuilder.natGatewayProvider(natGatewayProvider.let(NatProvider.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public interface VpcProps { * Only necessary if you have more than one public subnet group. */ override fun natGatewaySubnets(natGatewaySubnets: SubnetSelection) { - cdkBuilder.natGatewaySubnets(natGatewaySubnets.let(SubnetSelection::unwrap)) + cdkBuilder.natGatewaySubnets(natGatewaySubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public interface VpcProps { * ``` */ override fun subnetConfiguration(subnetConfiguration: List) { - cdkBuilder.subnetConfiguration(subnetConfiguration.map(SubnetConfiguration::unwrap)) + cdkBuilder.subnetConfiguration(subnetConfiguration.map(SubnetConfiguration.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public interface VpcProps { * @param vpnRoutePropagation Where to propagate VPN routes. */ override fun vpnRoutePropagation(vpnRoutePropagation: List) { - cdkBuilder.vpnRoutePropagation(vpnRoutePropagation.map(SubnetSelection::unwrap)) + cdkBuilder.vpnRoutePropagation(vpnRoutePropagation.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnection.kt index 1d51d177e4..d508369805 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnection.kt @@ -36,8 +36,8 @@ public open class VpnConnection( id: String, props: VpnConnectionProps, ) : - this(software.amazon.awscdk.services.ec2.VpnConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpnConnectionProps::unwrap)) + this(software.amazon.awscdk.services.ec2.VpnConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpnConnectionProps.Companion::unwrap)) ) public constructor( @@ -201,7 +201,7 @@ public open class VpnConnection( * @param tunnelOptions The tunnel options for the VPN connection. */ override fun tunnelOptions(tunnelOptions: List) { - cdkBuilder.tunnelOptions(tunnelOptions.map(VpnTunnelOption::unwrap)) + cdkBuilder.tunnelOptions(tunnelOptions.map(VpnTunnelOption.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class VpnConnection( * @param vpc The VPC to connect to. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.VpnConnection = cdkBuilder.build() @@ -235,8 +235,8 @@ public open class VpnConnection( id: String, attrs: VpnConnectionAttributes, ): IVpnConnection = - software.amazon.awscdk.services.ec2.VpnConnection.fromVpnConnectionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VpnConnectionAttributes::unwrap)).let(IVpnConnection::wrap) + software.amazon.awscdk.services.ec2.VpnConnection.fromVpnConnectionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VpnConnectionAttributes.Companion::unwrap)).let(IVpnConnection::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6bc1baf4cdaedeaa5eecd9cc606061ad7873b1bb912d32ae93071272f83b8bb2") @@ -251,7 +251,7 @@ public open class VpnConnection( public fun metricAll(metricName: String, props: MetricOptions): Metric = software.amazon.awscdk.services.ec2.VpnConnection.metricAll(metricName, - props.let(MetricOptions::unwrap)).let(Metric::wrap) + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc2edb7e8860d33b2c02a5d62b7557e31ca2fd399a100f3532bebaf81fa8a856") @@ -262,7 +262,7 @@ public open class VpnConnection( software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelDataIn().let(Metric::wrap) public fun metricAllTunnelDataIn(props: MetricOptions): Metric = - software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelDataIn(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelDataIn(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a092407d130c7cab3d0974bfeb2b4910d4ae00e1d8a67aa74bc33aa6d4216a62") @@ -273,7 +273,7 @@ public open class VpnConnection( software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelDataOut().let(Metric::wrap) public fun metricAllTunnelDataOut(props: MetricOptions): Metric = - software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelDataOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelDataOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("93ffe4727bd68275e3dd616f9b320e41ab2c62ee36cf60b54423d2d721bef296") @@ -284,7 +284,7 @@ public open class VpnConnection( software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelState().let(Metric::wrap) public fun metricAllTunnelState(props: MetricOptions): Metric = - software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelState(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.ec2.VpnConnection.metricAllTunnelState(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea74a84f08419b85cbe4425224a306285099aa8445f837f5f4a51cdaa7021385") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionBase.kt index 2cca87a203..c8d95e2a8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionBase.kt @@ -49,7 +49,7 @@ public abstract class VpnConnectionBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this VPNConnection. @@ -80,7 +80,7 @@ public abstract class VpnConnectionBase( * @param props */ public override fun metricTunnelDataIn(props: MetricOptions): Metric = - unwrap(this).metricTunnelDataIn(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTunnelDataIn(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The bytes received through the VPN tunnel. @@ -112,7 +112,7 @@ public abstract class VpnConnectionBase( * @param props */ public override fun metricTunnelDataOut(props: MetricOptions): Metric = - unwrap(this).metricTunnelDataOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTunnelDataOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The bytes sent through the VPN tunnel. @@ -144,7 +144,7 @@ public abstract class VpnConnectionBase( * @param props */ public override fun metricTunnelState(props: MetricOptions): Metric = - unwrap(this).metricTunnelState(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTunnelState(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The state of the tunnel. 0 indicates DOWN and 1 indicates UP. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionOptions.kt index 7123e578a6..076bdf5f99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionOptions.kt @@ -135,7 +135,7 @@ public interface VpnConnectionOptions { * Duplicates not allowed. */ override fun tunnelOptions(tunnelOptions: List) { - cdkBuilder.tunnelOptions(tunnelOptions.map(VpnTunnelOption::unwrap)) + cdkBuilder.tunnelOptions(tunnelOptions.map(VpnTunnelOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionProps.kt index b4fac129ed..ec175e152a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnConnectionProps.kt @@ -126,7 +126,7 @@ public interface VpnConnectionProps : VpnConnectionOptions { * Duplicates not allowed. */ override fun tunnelOptions(tunnelOptions: List) { - cdkBuilder.tunnelOptions(tunnelOptions.map(VpnTunnelOption::unwrap)) + cdkBuilder.tunnelOptions(tunnelOptions.map(VpnTunnelOption.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface VpnConnectionProps : VpnConnectionOptions { * @param vpc The VPC to connect to. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.VpnConnectionProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnGateway.kt index df00ac4871..7386a77a5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnGateway.kt @@ -34,8 +34,8 @@ public open class VpnGateway( id: String, props: VpnGatewayProps, ) : - this(software.amazon.awscdk.services.ec2.VpnGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpnGatewayProps::unwrap)) + this(software.amazon.awscdk.services.ec2.VpnGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpnGatewayProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnTunnelOption.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnTunnelOption.kt index 5940f18631..7025b4c9f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnTunnelOption.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/VpnTunnelOption.kt @@ -125,7 +125,7 @@ public interface VpnTunnelOption { * and 64 characters in length and cannot start with zero (0). */ override fun preSharedKeySecret(preSharedKeySecret: SecretValue) { - cdkBuilder.preSharedKeySecret(preSharedKeySecret.let(SecretValue::unwrap)) + cdkBuilder.preSharedKeySecret(preSharedKeySecret.let(SecretValue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImage.kt index 28d82434da..cc75f0cedb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImage.kt @@ -41,12 +41,12 @@ public open class WindowsImage( cdkObject: software.amazon.awscdk.services.ec2.WindowsImage, ) : GenericSSMParameterImage(cdkObject) { public constructor(version: WindowsVersion) : - this(software.amazon.awscdk.services.ec2.WindowsImage(version.let(WindowsVersion::unwrap)) + this(software.amazon.awscdk.services.ec2.WindowsImage(version.let(WindowsVersion.Companion::unwrap)) ) public constructor(version: WindowsVersion, props: WindowsImageProps) : - this(software.amazon.awscdk.services.ec2.WindowsImage(version.let(WindowsVersion::unwrap), - props.let(WindowsImageProps::unwrap)) + this(software.amazon.awscdk.services.ec2.WindowsImage(version.let(WindowsVersion.Companion::unwrap), + props.let(WindowsImageProps.Companion::unwrap)) ) public constructor(version: WindowsVersion, props: WindowsImageProps.Builder.() -> Unit) : @@ -82,7 +82,7 @@ public open class WindowsImage( * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.WindowsImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImageProps.kt index 7fe392afc3..72015b11ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ec2/WindowsImageProps.kt @@ -49,7 +49,7 @@ public interface WindowsImageProps { * @param userData Initial user data. */ override fun userData(userData: UserData) { - cdkBuilder.userData(userData.let(UserData::unwrap)) + cdkBuilder.userData(userData.let(UserData.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ec2.WindowsImageProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/AuthorizationToken.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/AuthorizationToken.kt index f5dc8d7ac9..ef0a843113 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/AuthorizationToken.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/AuthorizationToken.kt @@ -22,7 +22,7 @@ public open class AuthorizationToken( ) : CdkObject(cdkObject) { public companion object { public fun grantRead(grantee: IGrantable) { - software.amazon.awscdk.services.ecr.AuthorizationToken.grantRead(grantee.let(IGrantable::unwrap)) + software.amazon.awscdk.services.ecr.AuthorizationToken.grantRead(grantee.let(IGrantable.Companion::unwrap)) } internal fun wrap(cdkObject: software.amazon.awscdk.services.ecr.AuthorizationToken): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepository.kt index a77965ebe3..555c151c4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepository.kt @@ -53,7 +53,7 @@ public open class CfnPublicRepository( cdkObject: software.amazon.awscdk.services.ecr.CfnPublicRepository, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecr.CfnPublicRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecr.CfnPublicRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -62,8 +62,8 @@ public open class CfnPublicRepository( id: String, props: CfnPublicRepositoryProps, ) : - this(software.amazon.awscdk.services.ecr.CfnPublicRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublicRepositoryProps::unwrap)) + this(software.amazon.awscdk.services.ecr.CfnPublicRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublicRepositoryProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnPublicRepository( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnPublicRepository( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnPublicRepository( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepositoryProps.kt index b30e55c3a5..b5e8341670 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPublicRepositoryProps.kt @@ -180,7 +180,7 @@ public interface CfnPublicRepositoryProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPullThroughCacheRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPullThroughCacheRule.kt index 6f5344dafe..2dac84a793 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPullThroughCacheRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnPullThroughCacheRule.kt @@ -38,7 +38,7 @@ public open class CfnPullThroughCacheRule( cdkObject: software.amazon.awscdk.services.ecr.CfnPullThroughCacheRule, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecr.CfnPullThroughCacheRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecr.CfnPullThroughCacheRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class CfnPullThroughCacheRule( id: String, props: CfnPullThroughCacheRuleProps, ) : - this(software.amazon.awscdk.services.ecr.CfnPullThroughCacheRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPullThroughCacheRuleProps::unwrap)) + this(software.amazon.awscdk.services.ecr.CfnPullThroughCacheRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPullThroughCacheRuleProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnPullThroughCacheRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRegistryPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRegistryPolicy.kt index f1e8bc1832..8649f8a482 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRegistryPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRegistryPolicy.kt @@ -44,8 +44,8 @@ public open class CfnRegistryPolicy( id: String, props: CfnRegistryPolicyProps, ) : - this(software.amazon.awscdk.services.ecr.CfnRegistryPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRegistryPolicyProps::unwrap)) + this(software.amazon.awscdk.services.ecr.CfnRegistryPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRegistryPolicyProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class CfnRegistryPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfiguration.kt index 2d3143c7b9..8572fb0949 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfiguration.kt @@ -67,8 +67,8 @@ public open class CfnReplicationConfiguration( id: String, props: CfnReplicationConfigurationProps, ) : - this(software.amazon.awscdk.services.ecr.CfnReplicationConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.ecr.CfnReplicationConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationConfigurationProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnReplicationConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -101,14 +101,14 @@ public open class CfnReplicationConfiguration( * The replication configuration for a registry. */ public open fun replicationConfiguration(`value`: IResolvable) { - unwrap(this).setReplicationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The replication configuration for a registry. */ public open fun replicationConfiguration(`value`: ReplicationConfigurationProperty) { - unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnReplicationConfiguration( * @param replicationConfiguration The replication configuration for a registry. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnReplicationConfiguration( */ override fun replicationConfiguration(replicationConfiguration: ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnReplicationConfiguration( * filters for a replication configuration. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnReplicationConfiguration( * rule. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnReplicationConfiguration( * which repositories in a private registry are replicated. */ override fun repositoryFilters(repositoryFilters: IResolvable) { - cdkBuilder.repositoryFilters(repositoryFilters.let(IResolvable::unwrap)) + cdkBuilder.repositoryFilters(repositoryFilters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfigurationProps.kt index 54e4c1fc6e..cae072ed01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnReplicationConfigurationProps.kt @@ -81,7 +81,7 @@ public interface CfnReplicationConfigurationProps { * @param replicationConfiguration The replication configuration for a registry. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -89,7 +89,7 @@ public interface CfnReplicationConfigurationProps { */ override fun replicationConfiguration(replicationConfiguration: CfnReplicationConfiguration.ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnReplicationConfiguration.ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnReplicationConfiguration.ReplicationConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepository.kt index 80b2bd449f..f2d83a9ef5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepository.kt @@ -67,7 +67,7 @@ public open class CfnRepository( cdkObject: software.amazon.awscdk.services.ecr.CfnRepository, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecr.CfnRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecr.CfnRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -76,8 +76,8 @@ public open class CfnRepository( id: String, props: CfnRepositoryProps, ) : - this(software.amazon.awscdk.services.ecr.CfnRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRepositoryProps::unwrap)) + this(software.amazon.awscdk.services.ecr.CfnRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRepositoryProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnRepository( * If true, deleting the repository force deletes the contents of the repository. */ public open fun emptyOnDelete(`value`: IResolvable) { - unwrap(this).setEmptyOnDelete(`value`.let(IResolvable::unwrap)) + unwrap(this).setEmptyOnDelete(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,14 +129,14 @@ public open class CfnRepository( * The encryption configuration for the repository. */ public open fun encryptionConfiguration(`value`: IResolvable) { - unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The encryption configuration for the repository. */ public open fun encryptionConfiguration(`value`: EncryptionConfigurationProperty) { - unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -157,14 +157,14 @@ public open class CfnRepository( * The image scanning configuration for the repository. */ public open fun imageScanningConfiguration(`value`: IResolvable) { - unwrap(this).setImageScanningConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageScanningConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The image scanning configuration for the repository. */ public open fun imageScanningConfiguration(`value`: ImageScanningConfigurationProperty) { - unwrap(this).setImageScanningConfiguration(`value`.let(ImageScanningConfigurationProperty::unwrap)) + unwrap(this).setImageScanningConfiguration(`value`.let(ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnRepository( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,14 +206,14 @@ public open class CfnRepository( * Creates or updates a lifecycle policy. */ public open fun lifecyclePolicy(`value`: IResolvable) { - unwrap(this).setLifecyclePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecyclePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * Creates or updates a lifecycle policy. */ public open fun lifecyclePolicy(`value`: LifecyclePolicyProperty) { - unwrap(this).setLifecyclePolicy(`value`.let(LifecyclePolicyProperty::unwrap)) + unwrap(this).setLifecyclePolicy(`value`.let(LifecyclePolicyProperty.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnRepository( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CfnRepository( * repository. */ override fun emptyOnDelete(emptyOnDelete: IResolvable) { - cdkBuilder.emptyOnDelete(emptyOnDelete.let(IResolvable::unwrap)) + cdkBuilder.emptyOnDelete(emptyOnDelete.let(IResolvable.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnRepository( * @param encryptionConfiguration The encryption configuration for the repository. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class CfnRepository( * @param encryptionConfiguration The encryption configuration for the repository. */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public open class CfnRepository( * @param imageScanningConfiguration The image scanning configuration for the repository. */ override fun imageScanningConfiguration(imageScanningConfiguration: IResolvable) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public open class CfnRepository( */ override fun imageScanningConfiguration(imageScanningConfiguration: ImageScanningConfigurationProperty) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(ImageScanningConfigurationProperty::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public open class CfnRepository( * @param lifecyclePolicy Creates or updates a lifecycle policy. */ override fun lifecyclePolicy(lifecyclePolicy: IResolvable) { - cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(IResolvable::unwrap)) + cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class CfnRepository( * @param lifecyclePolicy Creates or updates a lifecycle policy. */ override fun lifecyclePolicy(lifecyclePolicy: LifecyclePolicyProperty) { - cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(LifecyclePolicyProperty::unwrap)) + cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(LifecyclePolicyProperty.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public open class CfnRepository( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -992,7 +992,7 @@ public open class CfnRepository( * started. */ override fun scanOnPush(scanOnPush: IResolvable) { - cdkBuilder.scanOnPush(scanOnPush.let(IResolvable::unwrap)) + cdkBuilder.scanOnPush(scanOnPush.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplate.kt index 73582bce08..afc8c04082 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplate.kt @@ -58,8 +58,8 @@ public open class CfnRepositoryCreationTemplate( id: String, props: CfnRepositoryCreationTemplateProps, ) : - this(software.amazon.awscdk.services.ecr.CfnRepositoryCreationTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRepositoryCreationTemplateProps::unwrap)) + this(software.amazon.awscdk.services.ecr.CfnRepositoryCreationTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRepositoryCreationTemplateProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnRepositoryCreationTemplate( * This determines how the contents of your repository are encrypted at rest. */ public open fun encryptionConfiguration(`value`: IResolvable) { - unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnRepositoryCreationTemplate( * This determines how the contents of your repository are encrypted at rest. */ public open fun encryptionConfiguration(`value`: EncryptionConfigurationProperty) { - unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnRepositoryCreationTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnRepositoryCreationTemplate( * The tags attached to the resource. */ public open fun resourceTags(`value`: IResolvable) { - unwrap(this).setResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnRepositoryCreationTemplate( * determines how the contents of your repository are encrypted at rest. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnRepositoryCreationTemplate( * determines how the contents of your repository are encrypted at rest. */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public open class CfnRepositoryCreationTemplate( * @param resourceTags The tags attached to the resource. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplateProps.kt index e468c155f1..175098979f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryCreationTemplateProps.kt @@ -274,7 +274,7 @@ public interface CfnRepositoryCreationTemplateProps { * *Amazon Elastic Container Registry User Guide* . */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CfnRepositoryCreationTemplateProps { */ override fun encryptionConfiguration(encryptionConfiguration: CfnRepositoryCreationTemplate.EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnRepositoryCreationTemplate.EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnRepositoryCreationTemplate.EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface CfnRepositoryCreationTemplateProps { * @param resourceTags The tags attached to the resource. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryProps.kt index 2b03809f08..6acd3b7072 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/CfnRepositoryProps.kt @@ -294,7 +294,7 @@ public interface CfnRepositoryProps { * If false, the repository must be empty before attempting to delete it. */ override fun emptyOnDelete(emptyOnDelete: IResolvable) { - cdkBuilder.emptyOnDelete(emptyOnDelete.let(IResolvable::unwrap)) + cdkBuilder.emptyOnDelete(emptyOnDelete.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnRepositoryProps { * This determines how the contents of your repository are encrypted at rest. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface CfnRepositoryProps { */ override fun encryptionConfiguration(encryptionConfiguration: CfnRepository.EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnRepository.EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnRepository.EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface CfnRepositoryProps { * the repository. */ override fun imageScanningConfiguration(imageScanningConfiguration: IResolvable) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface CfnRepositoryProps { */ override fun imageScanningConfiguration(imageScanningConfiguration: CfnRepository.ImageScanningConfigurationProperty) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(CfnRepository.ImageScanningConfigurationProperty::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(CfnRepository.ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface CfnRepositoryProps { * template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) . */ override fun lifecyclePolicy(lifecyclePolicy: IResolvable) { - cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(IResolvable::unwrap)) + cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnRepositoryProps { * template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) . */ override fun lifecyclePolicy(lifecyclePolicy: CfnRepository.LifecyclePolicyProperty) { - cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(CfnRepository.LifecyclePolicyProperty::unwrap)) + cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(CfnRepository.LifecyclePolicyProperty.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public interface CfnRepositoryProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/IRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/IRepository.kt index d53b821381..5edb676f9e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/IRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/IRepository.kt @@ -307,7 +307,7 @@ public interface IRepository : IResource { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Add a policy statement to the repository's resource policy. @@ -333,7 +333,7 @@ public interface IRepository : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public interface IRepository : IResource { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -364,7 +364,7 @@ public interface IRepository : IResource { * @param grantee */ override fun grantPull(grantee: IGrantable): Grant = - unwrap(this).grantPull(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPull(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to pull and push images to this repository. @@ -372,7 +372,7 @@ public interface IRepository : IResource { * @param grantee */ override fun grantPullPush(grantee: IGrantable): Grant = - unwrap(this).grantPullPush(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPullPush(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to push images in this repository. @@ -380,7 +380,7 @@ public interface IRepository : IResource { * @param grantee */ override fun grantPush(grantee: IGrantable): Grant = - unwrap(this).grantPush(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPush(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to read images in this repository. @@ -388,7 +388,7 @@ public interface IRepository : IResource { * @param grantee */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) @@ -414,7 +414,8 @@ public interface IRepository : IResource { * @param options Options for adding the rule. */ override fun onCloudTrailEvent(id: String, options: OnEventOptions): Rule = - unwrap(this).onCloudTrailEvent(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCloudTrailEvent(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Define a CloudWatch event that triggers when something happens to this repository. @@ -455,7 +456,7 @@ public interface IRepository : IResource { */ override fun onCloudTrailImagePushed(id: String, options: OnCloudTrailImagePushedOptions): Rule = unwrap(this).onCloudTrailImagePushed(id, - options.let(OnCloudTrailImagePushedOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailImagePushedOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event rule that can trigger a target when an image is pushed to @@ -494,7 +495,7 @@ public interface IRepository : IResource { * @param options */ override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers for repository events. @@ -529,7 +530,7 @@ public interface IRepository : IResource { */ override fun onImageScanCompleted(id: String, options: OnImageScanCompletedOptions): Rule = unwrap(this).onImageScanCompleted(id, - options.let(OnImageScanCompletedOptions::unwrap)).let(Rule::wrap) + options.let(OnImageScanCompletedOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event rule that can trigger a target when the image scan is diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/LifecycleRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/LifecycleRule.kt index b9a0b959f2..c0bc7b497d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/LifecycleRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/LifecycleRule.kt @@ -200,7 +200,7 @@ public interface LifecycleRule { * Specify exactly one of maxImageCount and maxImageAge. */ override fun maxImageAge(maxImageAge: Duration) { - cdkBuilder.maxImageAge(maxImageAge.let(Duration::unwrap)) + cdkBuilder.maxImageAge(maxImageAge.let(Duration.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public interface LifecycleRule { * have the highest rulePriority. */ override fun tagStatus(tagStatus: TagStatus) { - cdkBuilder.tagStatus(tagStatus.let(TagStatus::unwrap)) + cdkBuilder.tagStatus(tagStatus.let(TagStatus.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecr.LifecycleRule = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnCloudTrailImagePushedOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnCloudTrailImagePushedOptions.kt index 2d05ec261a..45156666c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnCloudTrailImagePushedOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnCloudTrailImagePushedOptions.kt @@ -119,7 +119,7 @@ public interface OnCloudTrailImagePushedOptions : OnEventOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface OnCloudTrailImagePushedOptions : OnEventOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface OnCloudTrailImagePushedOptions : OnEventOptions { * @param target The target to register for the event. */ override fun target(target: IRuleTarget) { - cdkBuilder.target(target.let(IRuleTarget::unwrap)) + cdkBuilder.target(target.let(IRuleTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecr.OnCloudTrailImagePushedOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnImageScanCompletedOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnImageScanCompletedOptions.kt index 10670c05d2..d8ef3458ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnImageScanCompletedOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/OnImageScanCompletedOptions.kt @@ -127,7 +127,7 @@ public interface OnImageScanCompletedOptions : OnEventOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface OnImageScanCompletedOptions : OnEventOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface OnImageScanCompletedOptions : OnEventOptions { * @param target The target to register for the event. */ override fun target(target: IRuleTarget) { - cdkBuilder.target(target.let(IRuleTarget::unwrap)) + cdkBuilder.target(target.let(IRuleTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecr.OnImageScanCompletedOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/PublicGalleryAuthorizationToken.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/PublicGalleryAuthorizationToken.kt index 6e663ccd06..bed7947351 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/PublicGalleryAuthorizationToken.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/PublicGalleryAuthorizationToken.kt @@ -22,7 +22,7 @@ public open class PublicGalleryAuthorizationToken( ) : CdkObject(cdkObject) { public companion object { public fun grantRead(grantee: IGrantable) { - software.amazon.awscdk.services.ecr.PublicGalleryAuthorizationToken.grantRead(grantee.let(IGrantable::unwrap)) + software.amazon.awscdk.services.ecr.PublicGalleryAuthorizationToken.grantRead(grantee.let(IGrantable.Companion::unwrap)) } internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/Repository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/Repository.kt index 97e6d8a9b4..efb98f69ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/Repository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/Repository.kt @@ -23,21 +23,24 @@ import software.constructs.Construct as SoftwareConstructsConstruct * Example: * * ``` - * import io.cloudshiftdev.awscdk.services.ecr.*; - * Service.Builder.create(this, "Service") - * .source(Source.fromEcr(EcrProps.builder() - * .imageConfiguration(ImageConfiguration.builder().port(80).build()) - * .repository(Repository.fromRepositoryName(this, "NginxRepository", "nginx")) - * .tagOrDigest("latest") - * .build())) + * import io.cloudshiftdev.awscdk.services.lambda.*; + * import io.cloudshiftdev.awscdk.services.events.targets.LambdaFunction; + * Repository repo = new Repository(this, "Repo"); + * Function lambdaHandler = Function.Builder.create(this, "LambdaFunction") + * .runtime(Runtime.PYTHON_3_12) + * .code(Code.fromInline("# dummy func")) + * .handler("index.handler") * .build(); + * repo.onEvent("OnEventTargetLambda", OnEventOptions.builder() + * .target(new LambdaFunction(lambdaHandler)) + * .build()); * ``` */ public open class Repository( cdkObject: software.amazon.awscdk.services.ecr.Repository, ) : RepositoryBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecr.Repository(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecr.Repository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +49,8 @@ public open class Repository( id: String, props: RepositoryProps, ) : - this(software.amazon.awscdk.services.ecr.Repository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RepositoryProps::unwrap)) + this(software.amazon.awscdk.services.ecr.Repository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RepositoryProps.Companion::unwrap)) ) public constructor( @@ -66,7 +69,7 @@ public open class Repository( * @param rule */ public open fun addLifecycleRule(rule: LifecycleRule) { - unwrap(this).addLifecycleRule(rule.let(LifecycleRule::unwrap)) + unwrap(this).addLifecycleRule(rule.let(LifecycleRule.Companion::unwrap)) } /** @@ -92,7 +95,7 @@ public open class Repository( * @param statement */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Add a policy statement to the repository's resource policy. @@ -303,7 +306,7 @@ public open class Repository( * @param encryption The kind of server-side encryption to apply to this repository. */ override fun encryption(encryption: RepositoryEncryption) { - cdkBuilder.encryption(encryption.let(RepositoryEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(RepositoryEncryption.Companion::unwrap)) } /** @@ -318,7 +321,7 @@ public open class Repository( * @param encryptionKey External KMS key to use for repository encryption. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -343,7 +346,7 @@ public open class Repository( * @param imageTagMutability The tag mutability setting for the repository. */ override fun imageTagMutability(imageTagMutability: TagMutability) { - cdkBuilder.imageTagMutability(imageTagMutability.let(TagMutability::unwrap)) + cdkBuilder.imageTagMutability(imageTagMutability.let(TagMutability.Companion::unwrap)) } /** @@ -367,7 +370,7 @@ public open class Repository( * @param lifecycleRules Life cycle rules to apply to this registry. */ override fun lifecycleRules(lifecycleRules: List) { - cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule::unwrap)) + cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule.Companion::unwrap)) } /** @@ -389,7 +392,7 @@ public open class Repository( * deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -418,21 +421,21 @@ public open class Repository( public companion object { public fun arnForLocalRepository(repositoryName: String, scope: IConstruct): String = software.amazon.awscdk.services.ecr.Repository.arnForLocalRepository(repositoryName, - scope.let(IConstruct::unwrap)) + scope.let(IConstruct.Companion::unwrap)) public fun arnForLocalRepository( repositoryName: String, scope: IConstruct, account: String, ): String = software.amazon.awscdk.services.ecr.Repository.arnForLocalRepository(repositoryName, - scope.let(IConstruct::unwrap), account) + scope.let(IConstruct.Companion::unwrap), account) public fun fromRepositoryArn( scope: CloudshiftdevConstructsConstruct, id: String, repositoryArn: String, ): IRepository = - software.amazon.awscdk.services.ecr.Repository.fromRepositoryArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecr.Repository.fromRepositoryArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, repositoryArn).let(IRepository::wrap) public fun fromRepositoryAttributes( @@ -440,8 +443,8 @@ public open class Repository( id: String, attrs: RepositoryAttributes, ): IRepository = - software.amazon.awscdk.services.ecr.Repository.fromRepositoryAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(RepositoryAttributes::unwrap)).let(IRepository::wrap) + software.amazon.awscdk.services.ecr.Repository.fromRepositoryAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(RepositoryAttributes.Companion::unwrap)).let(IRepository::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("405954211f1a7ef3be4216b322ae86130da7e17ded90391dc304207d9ba2e528") @@ -456,7 +459,7 @@ public open class Repository( id: String, repositoryName: String, ): IRepository = - software.amazon.awscdk.services.ecr.Repository.fromRepositoryName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecr.Repository.fromRepositoryName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, repositoryName).let(IRepository::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryBase.kt index 1ee72afe2e..5365206878 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryBase.kt @@ -29,7 +29,7 @@ public abstract class RepositoryBase( * @param statement */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Add a policy statement to the repository's resource policy. @@ -48,8 +48,8 @@ public abstract class RepositoryBase( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant the given identity permissions to use the images in this repository. @@ -57,7 +57,7 @@ public abstract class RepositoryBase( * @param grantee */ public override fun grantPull(grantee: IGrantable): Grant = - unwrap(this).grantPull(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPull(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to pull and push images to this repository. @@ -65,7 +65,7 @@ public abstract class RepositoryBase( * @param grantee */ public override fun grantPullPush(grantee: IGrantable): Grant = - unwrap(this).grantPullPush(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPullPush(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to use the images in this repository. @@ -73,7 +73,7 @@ public abstract class RepositoryBase( * @param grantee */ public override fun grantPush(grantee: IGrantable): Grant = - unwrap(this).grantPush(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPush(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to read the images in this repository. @@ -81,7 +81,7 @@ public abstract class RepositoryBase( * @param grantee */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Define a CloudWatch event that triggers when something happens to this repository. @@ -105,7 +105,8 @@ public abstract class RepositoryBase( * @param options Options for adding the rule. */ public override fun onCloudTrailEvent(id: String, options: OnEventOptions): Rule = - unwrap(this).onCloudTrailEvent(id, options.let(OnEventOptions::unwrap)).let(Rule::wrap) + unwrap(this).onCloudTrailEvent(id, + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Define a CloudWatch event that triggers when something happens to this repository. @@ -146,7 +147,7 @@ public abstract class RepositoryBase( */ public override fun onCloudTrailImagePushed(id: String, options: OnCloudTrailImagePushedOptions): Rule = unwrap(this).onCloudTrailImagePushed(id, - options.let(OnCloudTrailImagePushedOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailImagePushedOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event rule that can trigger a target when an image is pushed to this @@ -185,7 +186,7 @@ public abstract class RepositoryBase( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers for repository events. @@ -218,7 +219,7 @@ public abstract class RepositoryBase( */ public override fun onImageScanCompleted(id: String, options: OnImageScanCompletedOptions): Rule = unwrap(this).onImageScanCompleted(id, - options.let(OnImageScanCompletedOptions::unwrap)).let(Rule::wrap) + options.let(OnImageScanCompletedOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event rule that can trigger a target when an image scan is completed. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryProps.kt index 7084549d6c..f6a22ab663 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/RepositoryProps.kt @@ -236,7 +236,7 @@ public interface RepositoryProps { * encryptionKey is not specified, an AWS managed KMS key is used. */ override fun encryption(encryption: RepositoryEncryption) { - cdkBuilder.encryption(encryption.let(RepositoryEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(RepositoryEncryption.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface RepositoryProps { * An error will be emitted if encryption is set to "AES256". */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface RepositoryProps { * image tags to be overwritten. */ override fun imageTagMutability(imageTagMutability: TagMutability) { - cdkBuilder.imageTagMutability(imageTagMutability.let(TagMutability::unwrap)) + cdkBuilder.imageTagMutability(imageTagMutability.let(TagMutability.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface RepositoryProps { * @param lifecycleRules Life cycle rules to apply to this registry. */ override fun lifecycleRules(lifecycleRules: List) { - cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule::unwrap)) + cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface RepositoryProps { * deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAsset.kt index c6ad29f2e8..d4e8e76d27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAsset.kt @@ -43,8 +43,8 @@ public open class DockerImageAsset( id: String, props: DockerImageAssetProps, ) : - this(software.amazon.awscdk.services.ecr.assets.DockerImageAsset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DockerImageAssetProps::unwrap)) + this(software.amazon.awscdk.services.ecr.assets.DockerImageAsset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DockerImageAssetProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class DockerImageAsset( * @param resourceProperty The property name where this asset is referenced. */ public open fun addResourceMetadata(resource: CfnResource, resourceProperty: String) { - unwrap(this).addResourceMetadata(resource.let(CfnResource::unwrap), resourceProperty) + unwrap(this).addResourceMetadata(resource.let(CfnResource.Companion::unwrap), resourceProperty) } /** @@ -117,7 +117,7 @@ public open class DockerImageAsset( * Repository where the image is stored. */ public open fun repository(`value`: IRepository) { - unwrap(this).setRepository(`value`.let(IRepository::unwrap)) + unwrap(this).setRepository(`value`.let(IRepository.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public open class DockerImageAsset( * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public open class DockerImageAsset( * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class DockerImageAsset( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class DockerImageAsset( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class DockerImageAsset( * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public open class DockerImageAsset( * @param networkMode Networking mode for the RUN commands during build. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class DockerImageAsset( * @param platform Platform to build for. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetOptions.kt index 0c2a965865..1c65649b55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetOptions.kt @@ -383,7 +383,7 @@ public interface DockerImageAssetOptions : FileFingerprintOptions { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface DockerImageAssetOptions : FileFingerprintOptions { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -442,14 +442,14 @@ public interface DockerImageAssetOptions : FileFingerprintOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface DockerImageAssetOptions : FileFingerprintOptions { * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public interface DockerImageAssetOptions : FileFingerprintOptions { * Support docker API 1.25+. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public interface DockerImageAssetOptions : FileFingerprintOptions { * *Requires Docker Buildx*. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetProps.kt index 1d255e433c..ba479607a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/DockerImageAssetProps.kt @@ -231,7 +231,7 @@ public interface DockerImageAssetProps : DockerImageAssetOptions { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface DockerImageAssetProps : DockerImageAssetOptions { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public interface DockerImageAssetProps : DockerImageAssetOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface DockerImageAssetProps : DockerImageAssetOptions { * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface DockerImageAssetProps : DockerImageAssetOptions { * Support docker API 1.25+. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface DockerImageAssetProps : DockerImageAssetOptions { * *Requires Docker Buildx*. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/TarballImageAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/TarballImageAsset.kt index 61eb6b91b8..16972c5e79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/TarballImageAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecr/assets/TarballImageAsset.kt @@ -31,8 +31,8 @@ public open class TarballImageAsset( id: String, props: TarballImageAssetProps, ) : - this(software.amazon.awscdk.services.ecr.assets.TarballImageAsset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TarballImageAssetProps::unwrap)) + this(software.amazon.awscdk.services.ecr.assets.TarballImageAsset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TarballImageAssetProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class TarballImageAsset( * Repository where the image is stored. */ public open fun repository(`value`: IRepository) { - unwrap(this).setRepository(`value`.let(IRepository::unwrap)) + unwrap(this).setRepository(`value`.let(IRepository.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddAutoScalingGroupCapacityOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddAutoScalingGroupCapacityOptions.kt index b592a76b32..be70a3560c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddAutoScalingGroupCapacityOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddAutoScalingGroupCapacityOptions.kt @@ -143,7 +143,7 @@ public interface AddAutoScalingGroupCapacityOptions { * from the `machineImage` you pass. */ override fun machineImageType(machineImageType: MachineImageType) { - cdkBuilder.machineImageType(machineImageType.let(MachineImageType::unwrap)) + cdkBuilder.machineImageType(machineImageType.let(MachineImageType.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface AddAutoScalingGroupCapacityOptions { * information. */ override fun topicEncryptionKey(topicEncryptionKey: IKey) { - cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey::unwrap)) + cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.AddAutoScalingGroupCapacityOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddCapacityOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddCapacityOptions.kt index 4bfeed1569..843c4ebe3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddCapacityOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AddCapacityOptions.kt @@ -15,11 +15,13 @@ import io.cloudshiftdev.awscdk.services.autoscaling.NotificationConfiguration import io.cloudshiftdev.awscdk.services.autoscaling.Signals import io.cloudshiftdev.awscdk.services.autoscaling.TerminationPolicy import io.cloudshiftdev.awscdk.services.autoscaling.UpdatePolicy +import io.cloudshiftdev.awscdk.services.ec2.IKeyPair import io.cloudshiftdev.awscdk.services.ec2.IMachineImage import io.cloudshiftdev.awscdk.services.ec2.InstanceType import io.cloudshiftdev.awscdk.services.ec2.SubnetSelection import io.cloudshiftdev.awscdk.services.kms.IKey import kotlin.Boolean +import kotlin.Deprecated import kotlin.Number import kotlin.String import kotlin.Unit @@ -227,9 +229,25 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") public fun keyName(keyName: String) + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + public fun keyPair(keyPair: IKeyPair) + /** * @param machineImage The ECS-optimized AMI variant to use. * The default is to use an ECS-optimized AMI of Amazon Linux 2 which is @@ -468,7 +486,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * specified */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -508,7 +526,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * @param cooldown Default scaling cooldown for this AutoScalingGroup. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -528,7 +546,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * Default instance warmup will not be added if no value is specified */ override fun defaultInstanceWarmup(defaultInstanceWarmup: Duration) { - cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -547,7 +565,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * Group metrics are reported in a granularity of 1 minute at no additional charge. */ override fun groupMetrics(groupMetrics: List) { - cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics::unwrap)) + cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics.Companion::unwrap)) } /** @@ -563,7 +581,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * @param healthCheck Configuration for health checks. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -591,7 +609,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * specified */ override fun instanceMonitoring(instanceMonitoring: Monitoring) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring.Companion::unwrap)) } /** @@ -599,18 +617,36 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * AutoScalingGroup. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(keyName: String) { cdkBuilder.keyName(keyName) } + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + override fun keyPair(keyPair: IKeyPair) { + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) + } + /** * @param machineImage The ECS-optimized AMI variant to use. * The default is to use an ECS-optimized AMI of Amazon Linux 2 which is @@ -635,7 +671,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * You must define either `machineImage` or `machineImageType`, not both. */ override fun machineImage(machineImage: IMachineImage) { - cdkBuilder.machineImage(machineImage.let(IMachineImage::unwrap)) + cdkBuilder.machineImage(machineImage.let(IMachineImage.Companion::unwrap)) } /** @@ -649,7 +685,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * from the `machineImage` you pass. */ override fun machineImageType(machineImageType: MachineImageType) { - cdkBuilder.machineImageType(machineImageType.let(MachineImageType::unwrap)) + cdkBuilder.machineImageType(machineImageType.let(MachineImageType.Companion::unwrap)) } /** @@ -671,7 +707,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * leave this property undefined. */ override fun maxInstanceLifetime(maxInstanceLifetime: Duration) { - cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration::unwrap)) + cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration.Companion::unwrap)) } /** @@ -702,7 +738,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * an SNS topic(s). */ override fun notifications(notifications: List) { - cdkBuilder.notifications(notifications.map(NotificationConfiguration::unwrap)) + cdkBuilder.notifications(notifications.map(NotificationConfiguration.Companion::unwrap)) } /** @@ -731,7 +767,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/AutoScaling/AutoScalingRollingUpdates.yaml */ override fun signals(signals: Signals) { - cdkBuilder.signals(signals.let(Signals::unwrap)) + cdkBuilder.signals(signals.let(Signals.Companion::unwrap)) } /** @@ -780,7 +816,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * The policies are executed in the order that you list them. */ override fun terminationPolicies(terminationPolicies: List) { - cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy::unwrap)) + cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy.Companion::unwrap)) } /** @@ -811,7 +847,7 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * information. */ override fun topicEncryptionKey(topicEncryptionKey: IKey) { - cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey::unwrap)) + cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -823,14 +859,14 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, * is done and only new instances are launched with the new config. */ override fun updatePolicy(updatePolicy: UpdatePolicy) { - cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy.Companion::unwrap)) } /** * @param vpcSubnets Where to place instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1016,15 +1052,35 @@ public interface AddCapacityOptions : AddAutoScalingGroupCapacityOptions, unwrap(this).getInstanceType().let(InstanceType::wrap) /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. + * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(): String? = unwrap(this).getKeyName() + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + */ + override fun keyPair(): IKeyPair? = unwrap(this).getKeyPair()?.let(IKeyPair::wrap) + /** * The ECS-optimized AMI variant to use. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfiguration.kt index ac042e7709..ba05c9e6e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfiguration.kt @@ -48,7 +48,7 @@ public open class AppMeshProxyConfiguration( cdkObject: software.amazon.awscdk.services.ecs.AppMeshProxyConfiguration, ) : ProxyConfiguration(cdkObject) { public constructor(props: AppMeshProxyConfigurationConfigProps) : - this(software.amazon.awscdk.services.ecs.AppMeshProxyConfiguration(props.let(AppMeshProxyConfigurationConfigProps::unwrap)) + this(software.amazon.awscdk.services.ecs.AppMeshProxyConfiguration(props.let(AppMeshProxyConfigurationConfigProps.Companion::unwrap)) ) public constructor(props: AppMeshProxyConfigurationConfigProps.Builder.() -> Unit) : @@ -62,8 +62,9 @@ public open class AppMeshProxyConfiguration( * @param _taskDefinition */ public override fun bind(scope: Construct, taskDefinition: TaskDefinition): - CfnTaskDefinition.ProxyConfigurationProperty = unwrap(this).bind(scope.let(Construct::unwrap), - taskDefinition.let(TaskDefinition::unwrap)).let(CfnTaskDefinition.ProxyConfigurationProperty::wrap) + CfnTaskDefinition.ProxyConfigurationProperty = + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + taskDefinition.let(TaskDefinition.Companion::unwrap)).let(CfnTaskDefinition.ProxyConfigurationProperty::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.AppMeshProxyConfiguration]. @@ -119,7 +120,7 @@ public open class AppMeshProxyConfiguration( * Network Interface (CNI) plugin. */ override fun properties(properties: AppMeshProxyConfigurationProps) { - cdkBuilder.properties(properties.let(AppMeshProxyConfigurationProps::unwrap)) + cdkBuilder.properties(properties.let(AppMeshProxyConfigurationProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfigurationConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfigurationConfigProps.kt index 83731760fa..1d5b64f553 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfigurationConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppMeshProxyConfigurationConfigProps.kt @@ -88,7 +88,7 @@ public interface AppMeshProxyConfigurationConfigProps { * Network Interface (CNI) plugin. */ override fun properties(properties: AppMeshProxyConfigurationProps) { - cdkBuilder.properties(properties.let(AppMeshProxyConfigurationProps::unwrap)) + cdkBuilder.properties(properties.let(AppMeshProxyConfigurationProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppProtocol.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppProtocol.kt index 80b3f95d15..8774a31c23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppProtocol.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AppProtocol.kt @@ -30,21 +30,21 @@ public open class AppProtocol( software.amazon.awscdk.services.ecs.AppProtocol.getGrpc().let(AppProtocol::wrap) public fun grpc(`value`: AppProtocol) { - software.amazon.awscdk.services.ecs.AppProtocol.setGrpc(`value`.let(AppProtocol::unwrap)) + software.amazon.awscdk.services.ecs.AppProtocol.setGrpc(`value`.let(AppProtocol.Companion::unwrap)) } public fun http(): AppProtocol = software.amazon.awscdk.services.ecs.AppProtocol.getHttp().let(AppProtocol::wrap) public fun http(`value`: AppProtocol) { - software.amazon.awscdk.services.ecs.AppProtocol.setHttp(`value`.let(AppProtocol::unwrap)) + software.amazon.awscdk.services.ecs.AppProtocol.setHttp(`value`.let(AppProtocol.Companion::unwrap)) } public fun http2(): AppProtocol = software.amazon.awscdk.services.ecs.AppProtocol.getHttp2().let(AppProtocol::wrap) public fun http2(`value`: AppProtocol) { - software.amazon.awscdk.services.ecs.AppProtocol.setHttp2(`value`.let(AppProtocol::unwrap)) + software.amazon.awscdk.services.ecs.AppProtocol.setHttp2(`value`.let(AppProtocol.Companion::unwrap)) } internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.AppProtocol): AppProtocol = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProvider.kt index 3d2e6da9de..cf217e0b30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProvider.kt @@ -58,8 +58,8 @@ public open class AsgCapacityProvider( id: String, props: AsgCapacityProviderProps, ) : - this(software.amazon.awscdk.services.ecs.AsgCapacityProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AsgCapacityProviderProps::unwrap)) + this(software.amazon.awscdk.services.ecs.AsgCapacityProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AsgCapacityProviderProps.Companion::unwrap)) ) public constructor( @@ -308,7 +308,7 @@ public open class AsgCapacityProvider( * @param autoScalingGroup The autoscaling group to add as a Capacity Provider. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class AsgCapacityProvider( * @param machineImageType What type of machine image this is. */ override fun machineImageType(machineImageType: MachineImageType) { - cdkBuilder.machineImageType(machineImageType.let(MachineImageType::unwrap)) + cdkBuilder.machineImageType(machineImageType.let(MachineImageType.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class AsgCapacityProvider( * information. */ override fun topicEncryptionKey(topicEncryptionKey: IKey) { - cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey::unwrap)) + cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.AsgCapacityProvider = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProviderProps.kt index ee258fcd74..6fedc0fe29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AsgCapacityProviderProps.kt @@ -271,7 +271,7 @@ public interface AsgCapacityProviderProps : AddAutoScalingGroupCapacityOptions { * @param autoScalingGroup The autoscaling group to add as a Capacity Provider. */ override fun autoScalingGroup(autoScalingGroup: IAutoScalingGroup) { - cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoScalingGroup(autoScalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface AsgCapacityProviderProps : AddAutoScalingGroupCapacityOptions { * from the `machineImage` you pass. */ override fun machineImageType(machineImageType: MachineImageType) { - cdkBuilder.machineImageType(machineImageType.let(MachineImageType::unwrap)) + cdkBuilder.machineImageType(machineImageType.let(MachineImageType.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public interface AsgCapacityProviderProps : AddAutoScalingGroupCapacityOptions { * information. */ override fun topicEncryptionKey(topicEncryptionKey: IKey) { - cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey::unwrap)) + cdkBuilder.topicEncryptionKey(topicEncryptionKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.AsgCapacityProviderProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetEnvironmentFile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetEnvironmentFile.kt index 9c451fa28c..48cfb4d243 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetEnvironmentFile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetEnvironmentFile.kt @@ -73,7 +73,7 @@ public open class AssetEnvironmentFile( public constructor(path: String, options: AssetOptions) : this(software.amazon.awscdk.services.ecs.AssetEnvironmentFile(path, - options.let(AssetOptions::unwrap)) + options.let(AssetOptions.Companion::unwrap)) ) public constructor(path: String, options: AssetOptions.Builder.() -> Unit) : this(path, @@ -86,7 +86,7 @@ public open class AssetEnvironmentFile( * @param scope */ public override fun bind(scope: Construct): EnvironmentFileConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(EnvironmentFileConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(EnvironmentFileConfig::wrap) /** * The path to the asset file or directory. @@ -289,7 +289,7 @@ public open class AssetEnvironmentFile( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class AssetEnvironmentFile( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class AssetEnvironmentFile( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class AssetEnvironmentFile( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class AssetEnvironmentFile( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImage.kt index 6b16129331..b0cd76b566 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImage.kt @@ -83,7 +83,7 @@ public open class AssetImage( public constructor(directory: String, props: AssetImageProps) : this(software.amazon.awscdk.services.ecs.AssetImage(directory, - props.let(AssetImageProps::unwrap)) + props.let(AssetImageProps.Companion::unwrap)) ) public constructor(directory: String, props: AssetImageProps.Builder.() -> Unit) : this(directory, @@ -97,8 +97,8 @@ public open class AssetImage( * @param containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - ContainerImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(ContainerImageConfig::wrap) + ContainerImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(ContainerImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.AssetImage]. @@ -438,7 +438,7 @@ public open class AssetImage( * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public open class AssetImage( * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class AssetImage( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public open class AssetImage( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class AssetImage( * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -584,7 +584,7 @@ public open class AssetImage( * @param networkMode Networking mode for the RUN commands during build. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class AssetImage( * @param platform Platform to build for. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImageProps.kt index 159e4f230d..3eb1728a5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssetImageProps.kt @@ -261,7 +261,7 @@ public interface AssetImageProps : DockerImageAssetOptions { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface AssetImageProps : DockerImageAssetOptions { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -320,14 +320,14 @@ public interface AssetImageProps : DockerImageAssetOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface AssetImageProps : DockerImageAssetOptions { * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface AssetImageProps : DockerImageAssetOptions { * Support docker API 1.25+. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface AssetImageProps : DockerImageAssetOptions { * *Requires Docker Buildx*. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssociateCloudMapServiceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssociateCloudMapServiceOptions.kt index 55665b305d..31291e5bc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssociateCloudMapServiceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AssociateCloudMapServiceOptions.kt @@ -73,7 +73,7 @@ public interface AssociateCloudMapServiceOptions { * @param container The container to point to for a SRV record. */ override fun container(container: ContainerDefinition) { - cdkBuilder.container(container.let(ContainerDefinition::unwrap)) + cdkBuilder.container(container.let(ContainerDefinition.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public interface AssociateCloudMapServiceOptions { * @param service The cloudmap service to register with. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.AssociateCloudMapServiceOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriver.kt index 2500c9898b..5d86921a34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriver.kt @@ -47,7 +47,7 @@ public open class AwsLogDriver( cdkObject: software.amazon.awscdk.services.ecs.AwsLogDriver, ) : LogDriver(cdkObject) { public constructor(props: AwsLogDriverProps) : - this(software.amazon.awscdk.services.ecs.AwsLogDriver(props.let(AwsLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.AwsLogDriver(props.let(AwsLogDriverProps.Companion::unwrap)) ) public constructor(props: AwsLogDriverProps.Builder.() -> Unit) : this(AwsLogDriverProps(props) @@ -60,8 +60,8 @@ public open class AwsLogDriver( * @param containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * The log group to send log streams to. @@ -76,7 +76,7 @@ public open class AwsLogDriver( * Only available after the LogDriver has been bound to a ContainerDefinition. */ public open fun logGroup(`value`: ILogGroup) { - unwrap(this).setLogGroup(`value`.let(ILogGroup::unwrap)) + unwrap(this).setLogGroup(`value`.let(ILogGroup.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class AwsLogDriver( * @param logGroup The log group to log to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class AwsLogDriver( * group is automatically created by this construct. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class AwsLogDriver( * is not valid with AwsLogDriverMode.BLOCKING. */ override fun maxBufferSize(maxBufferSize: Size) { - cdkBuilder.maxBufferSize(maxBufferSize.let(Size::unwrap)) + cdkBuilder.maxBufferSize(maxBufferSize.let(Size.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class AwsLogDriver( * @param mode The delivery mode of log messages from the container to awslogs. */ override fun mode(mode: AwsLogDriverMode) { - cdkBuilder.mode(mode.let(AwsLogDriverMode::unwrap)) + cdkBuilder.mode(mode.let(AwsLogDriverMode.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriverProps.kt index 9c5760e72e..f9162eed71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/AwsLogDriverProps.kt @@ -185,7 +185,7 @@ public interface AwsLogDriverProps { * @param logGroup The log group to log to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface AwsLogDriverProps { * group is automatically created by this construct. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -202,14 +202,14 @@ public interface AwsLogDriverProps { * is not valid with AwsLogDriverMode.BLOCKING. */ override fun maxBufferSize(maxBufferSize: Size) { - cdkBuilder.maxBufferSize(maxBufferSize.let(Size::unwrap)) + cdkBuilder.maxBufferSize(maxBufferSize.let(Size.Companion::unwrap)) } /** * @param mode The delivery mode of log messages from the container to awslogs. */ override fun mode(mode: AwsLogDriverMode) { - cdkBuilder.mode(mode.let(AwsLogDriverMode::unwrap)) + cdkBuilder.mode(mode.let(AwsLogDriverMode.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseService.kt index 499b5c34b2..a567fc3661 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseService.kt @@ -57,7 +57,7 @@ public abstract class BaseService( * @param volume */ public open fun addVolume(volume: ServiceManagedVolume) { - unwrap(this).addVolume(volume.let(ServiceManagedVolume::unwrap)) + unwrap(this).addVolume(volume.let(ServiceManagedVolume.Companion::unwrap)) } /** @@ -66,7 +66,7 @@ public abstract class BaseService( * @param options */ public open fun associateCloudMapService(options: AssociateCloudMapServiceOptions) { - unwrap(this).associateCloudMapService(options.let(AssociateCloudMapServiceOptions::unwrap)) + unwrap(this).associateCloudMapService(options.let(AssociateCloudMapServiceOptions.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public abstract class BaseService( */ public override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Registers the service as a target of a Classic Load Balancer (CLB). @@ -100,7 +100,7 @@ public abstract class BaseService( * @param loadBalancer */ public override fun attachToClassicLB(loadBalancer: LoadBalancer) { - unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer::unwrap)) + unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public abstract class BaseService( */ public override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * An attribute representing the minimum and maximum task count for an AutoScalingGroup. @@ -121,7 +121,7 @@ public abstract class BaseService( * @param props */ public open fun autoScaleTaskCount(props: EnableScalingProps): ScalableTaskCount = - unwrap(this).autoScaleTaskCount(props.let(EnableScalingProps::unwrap)).let(ScalableTaskCount::wrap) + unwrap(this).autoScaleTaskCount(props.let(EnableScalingProps.Companion::unwrap)).let(ScalableTaskCount::wrap) /** * An attribute representing the minimum and maximum task count for an AutoScalingGroup. @@ -157,7 +157,7 @@ public abstract class BaseService( * @param options */ public open fun enableCloudMap(options: CloudMapOptions): Service = - unwrap(this).enableCloudMap(options.let(CloudMapOptions::unwrap)).let(Service::wrap) + unwrap(this).enableCloudMap(options.let(CloudMapOptions.Companion::unwrap)).let(Service::wrap) /** * Enable CloudMap service discovery for the service. @@ -257,7 +257,8 @@ public abstract class BaseService( */ public open fun enableDeploymentAlarms(alarmNames: List, options: DeploymentAlarmOptions) { - unwrap(this).enableDeploymentAlarms(alarmNames, options.let(DeploymentAlarmOptions::unwrap)) + unwrap(this).enableDeploymentAlarms(alarmNames, + options.let(DeploymentAlarmOptions.Companion::unwrap)) } /** @@ -307,7 +308,7 @@ public abstract class BaseService( * @param config */ public open fun enableServiceConnect(config: ServiceConnectProps) { - unwrap(this).enableServiceConnect(config.let(ServiceConnectProps::unwrap)) + unwrap(this).enableServiceConnect(config.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -347,7 +348,7 @@ public abstract class BaseService( * @param options */ public open fun loadBalancerTarget(options: LoadBalancerTargetOptions): IEcsLoadBalancerTarget = - unwrap(this).loadBalancerTarget(options.let(LoadBalancerTargetOptions::unwrap)).let(IEcsLoadBalancerTarget::wrap) + unwrap(this).loadBalancerTarget(options.let(LoadBalancerTargetOptions.Companion::unwrap)).let(IEcsLoadBalancerTarget::wrap) /** * Return a load balancing target for a specific container and port. @@ -396,7 +397,7 @@ public abstract class BaseService( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the specified CloudWatch metric name for this service. @@ -427,7 +428,7 @@ public abstract class BaseService( * @param props */ public open fun metricCpuUtilization(props: MetricOptions): Metric = - unwrap(this).metricCpuUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCpuUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the CloudWatch metric for this service's CPU utilization. @@ -459,7 +460,7 @@ public abstract class BaseService( * @param props */ public open fun metricMemoryUtilization(props: MetricOptions): Metric = - unwrap(this).metricMemoryUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMemoryUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the CloudWatch metric for this service's memory utilization. @@ -557,7 +558,7 @@ public abstract class BaseService( id: String, serviceArn: String, ): IBaseService = - software.amazon.awscdk.services.ecs.BaseService.fromServiceArnWithCluster(scope.let(Construct::unwrap), + software.amazon.awscdk.services.ecs.BaseService.fromServiceArnWithCluster(scope.let(Construct.Companion::unwrap), id, serviceArn).let(IBaseService::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.BaseService): BaseService = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceOptions.kt index cda08505d0..6316e7b837 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceOptions.kt @@ -424,7 +424,7 @@ public interface BaseServiceOptions { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface BaseServiceOptions { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface BaseServiceOptions { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public interface BaseServiceOptions { * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public interface BaseServiceOptions { * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public interface BaseServiceOptions { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public interface BaseServiceOptions { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -576,14 +576,14 @@ public interface BaseServiceOptions { * PropagatedTagSource.NONE */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public interface BaseServiceOptions { * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public interface BaseServiceOptions { * details about the EBS volume that can be attched to ECS tasks. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceProps.kt index e81a185ed4..0179c7c795 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BaseServiceProps.kt @@ -292,7 +292,7 @@ public interface BaseServiceProps : BaseServiceOptions { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface BaseServiceProps : BaseServiceOptions { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface BaseServiceProps : BaseServiceOptions { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface BaseServiceProps : BaseServiceOptions { * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface BaseServiceProps : BaseServiceOptions { * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface BaseServiceProps : BaseServiceOptions { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public interface BaseServiceProps : BaseServiceOptions { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public interface BaseServiceProps : BaseServiceOptions { * LaunchType will be omitted if capacity provider strategies are specified on the service. */ override fun launchType(launchType: LaunchType) { - cdkBuilder.launchType(launchType.let(LaunchType::unwrap)) + cdkBuilder.launchType(launchType.let(LaunchType.Companion::unwrap)) } /** @@ -452,14 +452,14 @@ public interface BaseServiceProps : BaseServiceOptions { * PropagatedTagSource.NONE */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public interface BaseServiceProps : BaseServiceOptions { * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public interface BaseServiceProps : BaseServiceOptions { * details about the EBS volume that can be attched to ECS tasks. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImage.kt index 9423aa85f6..1eb83fcb91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImage.kt @@ -33,7 +33,7 @@ public open class BottleRocketImage( ) public constructor(props: BottleRocketImageProps) : - this(software.amazon.awscdk.services.ecs.BottleRocketImage(props.let(BottleRocketImageProps::unwrap)) + this(software.amazon.awscdk.services.ecs.BottleRocketImage(props.let(BottleRocketImageProps.Companion::unwrap)) ) public constructor(props: BottleRocketImageProps.Builder.() -> Unit) : @@ -46,7 +46,7 @@ public open class BottleRocketImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.BottleRocketImage]. @@ -107,7 +107,7 @@ public open class BottleRocketImage( * @param architecture The CPU architecture. */ override fun architecture(architecture: InstanceArchitecture) { - cdkBuilder.architecture(architecture.let(InstanceArchitecture::unwrap)) + cdkBuilder.architecture(architecture.let(InstanceArchitecture.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class BottleRocketImage( * @param variant The Amazon ECS variant to use. */ override fun variant(variant: BottlerocketEcsVariant) { - cdkBuilder.variant(variant.let(BottlerocketEcsVariant::unwrap)) + cdkBuilder.variant(variant.let(BottlerocketEcsVariant.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.BottleRocketImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImageProps.kt index db1eba537a..1742c7ece2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/BottleRocketImageProps.kt @@ -104,7 +104,7 @@ public interface BottleRocketImageProps { * @param architecture The CPU architecture. */ override fun architecture(architecture: InstanceArchitecture) { - cdkBuilder.architecture(architecture.let(InstanceArchitecture::unwrap)) + cdkBuilder.architecture(architecture.let(InstanceArchitecture.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface BottleRocketImageProps { * @param variant The Amazon ECS variant to use. */ override fun variant(variant: BottlerocketEcsVariant) { - cdkBuilder.variant(variant.let(BottlerocketEcsVariant::unwrap)) + cdkBuilder.variant(variant.let(BottlerocketEcsVariant.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.BottleRocketImageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProvider.kt index f170d000ff..36abf551ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProvider.kt @@ -71,8 +71,8 @@ public open class CfnCapacityProvider( id: String, props: CfnCapacityProviderProps, ) : - this(software.amazon.awscdk.services.ecs.CfnCapacityProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCapacityProviderProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnCapacityProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCapacityProviderProps.Companion::unwrap)) ) public constructor( @@ -91,14 +91,14 @@ public open class CfnCapacityProvider( * The Auto Scaling group settings for the capacity provider. */ public open fun autoScalingGroupProvider(`value`: IResolvable) { - unwrap(this).setAutoScalingGroupProvider(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoScalingGroupProvider(`value`.let(IResolvable.Companion::unwrap)) } /** * The Auto Scaling group settings for the capacity provider. */ public open fun autoScalingGroupProvider(`value`: AutoScalingGroupProviderProperty) { - unwrap(this).setAutoScalingGroupProvider(`value`.let(AutoScalingGroupProviderProperty::unwrap)) + unwrap(this).setAutoScalingGroupProvider(`value`.let(AutoScalingGroupProviderProperty.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnCapacityProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnCapacityProvider( * The metadata that you apply to the capacity provider to help you categorize and organize it. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnCapacityProvider( * @param autoScalingGroupProvider The Auto Scaling group settings for the capacity provider. */ override fun autoScalingGroupProvider(autoScalingGroupProvider: IResolvable) { - cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(IResolvable::unwrap)) + cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(IResolvable.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnCapacityProvider( */ override fun autoScalingGroupProvider(autoScalingGroupProvider: AutoScalingGroupProviderProperty) { - cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(AutoScalingGroupProviderProperty::unwrap)) + cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(AutoScalingGroupProviderProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnCapacityProvider( * organize it. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnCapacityProvider( * provider. */ override fun managedScaling(managedScaling: IResolvable) { - cdkBuilder.managedScaling(managedScaling.let(IResolvable::unwrap)) + cdkBuilder.managedScaling(managedScaling.let(IResolvable.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnCapacityProvider( * provider. */ override fun managedScaling(managedScaling: ManagedScalingProperty) { - cdkBuilder.managedScaling(managedScaling.let(ManagedScalingProperty::unwrap)) + cdkBuilder.managedScaling(managedScaling.let(ManagedScalingProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProviderProps.kt index 3b12f3c677..9c7efb4927 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCapacityProviderProps.kt @@ -158,7 +158,7 @@ public interface CfnCapacityProviderProps { * @param autoScalingGroupProvider The Auto Scaling group settings for the capacity provider. */ override fun autoScalingGroupProvider(autoScalingGroupProvider: IResolvable) { - cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(IResolvable::unwrap)) + cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface CfnCapacityProviderProps { */ override fun autoScalingGroupProvider(autoScalingGroupProvider: CfnCapacityProvider.AutoScalingGroupProviderProperty) { - cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(CfnCapacityProvider.AutoScalingGroupProviderProperty::unwrap)) + cdkBuilder.autoScalingGroupProvider(autoScalingGroupProvider.let(CfnCapacityProvider.AutoScalingGroupProviderProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface CfnCapacityProviderProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCluster.kt index 5a29cc97fd..ba47ad710c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnCluster.kt @@ -73,7 +73,7 @@ public open class CfnCluster( cdkObject: software.amazon.awscdk.services.ecs.CfnCluster, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -82,8 +82,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.ecs.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class CfnCluster( * The settings to use when creating a cluster. */ public open fun clusterSettings(`value`: IResolvable) { - unwrap(this).setClusterSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setClusterSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -163,14 +163,14 @@ public open class CfnCluster( * The execute command configuration for the cluster. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The execute command configuration for the cluster. */ public open fun configuration(`value`: ClusterConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(ClusterConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(ClusterConfigurationProperty.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnCluster( * The default capacity provider strategy for the cluster. */ public open fun defaultCapacityProviderStrategy(`value`: IResolvable) { - unwrap(this).setDefaultCapacityProviderStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultCapacityProviderStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -225,14 +225,14 @@ public open class CfnCluster( * Use this parameter to set a default Service Connect namespace. */ public open fun serviceConnectDefaults(`value`: IResolvable) { - unwrap(this).setServiceConnectDefaults(`value`.let(IResolvable::unwrap)) + unwrap(this).setServiceConnectDefaults(`value`.let(IResolvable.Companion::unwrap)) } /** * Use this parameter to set a default Service Connect namespace. */ public open fun serviceConnectDefaults(`value`: ServiceConnectDefaultsProperty) { - unwrap(this).setServiceConnectDefaults(`value`.let(ServiceConnectDefaultsProperty::unwrap)) + unwrap(this).setServiceConnectDefaults(`value`.let(ServiceConnectDefaultsProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnCluster( * The metadata that you apply to the cluster to help you categorize and organize them. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -641,7 +641,7 @@ public open class CfnCluster( * @param clusterSettings The settings to use when creating a cluster. */ override fun clusterSettings(clusterSettings: IResolvable) { - cdkBuilder.clusterSettings(clusterSettings.let(IResolvable::unwrap)) + cdkBuilder.clusterSettings(clusterSettings.let(IResolvable.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class CfnCluster( * @param configuration The execute command configuration for the cluster. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnCluster( * @param configuration The execute command configuration for the cluster. */ override fun configuration(configuration: ClusterConfigurationProperty) { - cdkBuilder.configuration(configuration.let(ClusterConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(ClusterConfigurationProperty.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public open class CfnCluster( * cluster. */ override fun defaultCapacityProviderStrategy(defaultCapacityProviderStrategy: IResolvable) { - cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnCluster( * @param serviceConnectDefaults Use this parameter to set a default Service Connect namespace. */ override fun serviceConnectDefaults(serviceConnectDefaults: IResolvable) { - cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(IResolvable::unwrap)) + cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -784,7 +784,7 @@ public open class CfnCluster( * @param serviceConnectDefaults Use this parameter to set a default Service Connect namespace. */ override fun serviceConnectDefaults(serviceConnectDefaults: ServiceConnectDefaultsProperty) { - cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(ServiceConnectDefaultsProperty::unwrap)) + cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(ServiceConnectDefaultsProperty.Companion::unwrap)) } /** @@ -833,7 +833,7 @@ public open class CfnCluster( * them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1171,7 +1171,7 @@ public open class CfnCluster( * @param executeCommandConfiguration The details of the execute command configuration. */ override fun executeCommandConfiguration(executeCommandConfiguration: IResolvable) { - cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(IResolvable::unwrap)) + cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1179,7 +1179,7 @@ public open class CfnCluster( */ override fun executeCommandConfiguration(executeCommandConfiguration: ExecuteCommandConfigurationProperty) { - cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfigurationProperty::unwrap)) + cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfigurationProperty.Companion::unwrap)) } /** @@ -1510,7 +1510,7 @@ public open class CfnCluster( * specified, a `logConfiguration` must be provided. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1520,7 +1520,7 @@ public open class CfnCluster( * specified, a `logConfiguration` must be provided. */ override fun logConfiguration(logConfiguration: ExecuteCommandLogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(ExecuteCommandLogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(ExecuteCommandLogConfigurationProperty.Companion::unwrap)) } /** @@ -1753,7 +1753,7 @@ public open class CfnCluster( * If not specified, encryption will be off. */ override fun cloudWatchEncryptionEnabled(cloudWatchEncryptionEnabled: IResolvable) { - cdkBuilder.cloudWatchEncryptionEnabled(cloudWatchEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchEncryptionEnabled(cloudWatchEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1787,7 +1787,7 @@ public open class CfnCluster( * If not specified, encryption is not used. */ override fun s3EncryptionEnabled(s3EncryptionEnabled: IResolvable) { - cdkBuilder.s3EncryptionEnabled(s3EncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.s3EncryptionEnabled(s3EncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociations.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociations.kt index 1a5f3502fa..ee985025ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociations.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociations.kt @@ -51,8 +51,8 @@ public open class CfnClusterCapacityProviderAssociations( id: String, props: CfnClusterCapacityProviderAssociationsProps, ) : - this(software.amazon.awscdk.services.ecs.CfnClusterCapacityProviderAssociations(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterCapacityProviderAssociationsProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnClusterCapacityProviderAssociations(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterCapacityProviderAssociationsProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnClusterCapacityProviderAssociations( * The default capacity provider strategy to associate with the cluster. */ public open fun defaultCapacityProviderStrategy(`value`: IResolvable) { - unwrap(this).setDefaultCapacityProviderStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultCapacityProviderStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public open class CfnClusterCapacityProviderAssociations( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnClusterCapacityProviderAssociations( * with the cluster. */ override fun defaultCapacityProviderStrategy(defaultCapacityProviderStrategy: IResolvable) { - cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociationsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociationsProps.kt index 7dd7ff10ee..20134375ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociationsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterCapacityProviderAssociationsProps.kt @@ -126,7 +126,7 @@ public interface CfnClusterCapacityProviderAssociationsProps { * with the cluster. */ override fun defaultCapacityProviderStrategy(defaultCapacityProviderStrategy: IResolvable) { - cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterProps.kt index ac740cedb2..4e6baf8bf3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnClusterProps.kt @@ -456,7 +456,7 @@ public interface CfnClusterProps { * This parameter is used to turn on CloudWatch Container Insights for a cluster. */ override fun clusterSettings(clusterSettings: IResolvable) { - cdkBuilder.clusterSettings(clusterSettings.let(IResolvable::unwrap)) + cdkBuilder.clusterSettings(clusterSettings.let(IResolvable.Companion::unwrap)) } /** @@ -478,14 +478,14 @@ public interface CfnClusterProps { * @param configuration The execute command configuration for the cluster. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The execute command configuration for the cluster. */ override fun configuration(configuration: CfnCluster.ClusterConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnCluster.ClusterConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnCluster.ClusterConfigurationProperty.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public interface CfnClusterProps { * strategy specified, the default capacity provider strategy is used. */ override fun defaultCapacityProviderStrategy(defaultCapacityProviderStrategy: IResolvable) { - cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public interface CfnClusterProps { * the *Amazon Elastic Container Service Developer Guide* . */ override fun serviceConnectDefaults(serviceConnectDefaults: IResolvable) { - cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(IResolvable::unwrap)) + cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public interface CfnClusterProps { */ override fun serviceConnectDefaults(serviceConnectDefaults: CfnCluster.ServiceConnectDefaultsProperty) { - cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(CfnCluster.ServiceConnectDefaultsProperty::unwrap)) + cdkBuilder.serviceConnectDefaults(serviceConnectDefaults.let(CfnCluster.ServiceConnectDefaultsProperty.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface CfnClusterProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnPrimaryTaskSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnPrimaryTaskSet.kt index 91add1dc8b..89099d3935 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnPrimaryTaskSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnPrimaryTaskSet.kt @@ -44,8 +44,8 @@ public open class CfnPrimaryTaskSet( id: String, props: CfnPrimaryTaskSetProps, ) : - this(software.amazon.awscdk.services.ecs.CfnPrimaryTaskSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPrimaryTaskSetProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnPrimaryTaskSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPrimaryTaskSetProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnPrimaryTaskSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnService.kt index 888c79916f..f027196933 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnService.kt @@ -183,7 +183,7 @@ public open class CfnService( cdkObject: software.amazon.awscdk.services.ecs.CfnService, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -192,8 +192,8 @@ public open class CfnService( id: String, props: CfnServiceProps, ) : - this(software.amazon.awscdk.services.ecs.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceProps.Companion::unwrap)) ) public constructor( @@ -222,7 +222,7 @@ public open class CfnService( * The capacity provider strategy to use for the service. */ public open fun capacityProviderStrategy(`value`: IResolvable) { - unwrap(this).setCapacityProviderStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setCapacityProviderStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnService( * ordering of stopping and starting tasks. */ public open fun deploymentConfiguration(`value`: IResolvable) { - unwrap(this).setDeploymentConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnService( * ordering of stopping and starting tasks. */ public open fun deploymentConfiguration(`value`: DeploymentConfigurationProperty) { - unwrap(this).setDeploymentConfiguration(`value`.let(DeploymentConfigurationProperty::unwrap)) + unwrap(this).setDeploymentConfiguration(`value`.let(DeploymentConfigurationProperty.Companion::unwrap)) } /** @@ -291,14 +291,14 @@ public open class CfnService( * The deployment controller to use for the service. */ public open fun deploymentController(`value`: IResolvable) { - unwrap(this).setDeploymentController(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentController(`value`.let(IResolvable.Companion::unwrap)) } /** * The deployment controller to use for the service. */ public open fun deploymentController(`value`: DeploymentControllerProperty) { - unwrap(this).setDeploymentController(`value`.let(DeploymentControllerProperty::unwrap)) + unwrap(this).setDeploymentController(`value`.let(DeploymentControllerProperty.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnService( * Specifies whether to turn on Amazon ECS managed tags for the tasks within the service. */ public open fun enableEcsManagedTags(`value`: IResolvable) { - unwrap(this).setEnableEcsManagedTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableEcsManagedTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnService( * Determines whether the execute command functionality is turned on for the service. */ public open fun enableExecuteCommand(`value`: IResolvable) { - unwrap(this).setEnableExecuteCommand(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableExecuteCommand(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CfnService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class CfnService( * A list of load balancer objects to associate with the service. */ public open fun loadBalancers(`value`: IResolvable) { - unwrap(this).setLoadBalancers(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoadBalancers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -430,14 +430,14 @@ public open class CfnService( * The network configuration for the service. */ public open fun networkConfiguration(`value`: IResolvable) { - unwrap(this).setNetworkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The network configuration for the service. */ public open fun networkConfiguration(`value`: NetworkConfigurationProperty) { - unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnService( * An array of placement constraint objects to use for tasks in your service. */ public open fun placementConstraints(`value`: IResolvable) { - unwrap(this).setPlacementConstraints(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlacementConstraints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnService( * The placement strategy objects to use for tasks in your service. */ public open fun placementStrategies(`value`: IResolvable) { - unwrap(this).setPlacementStrategies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlacementStrategies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnService( * and connected from, other services within a namespace. */ public open fun serviceConnectConfiguration(`value`: IResolvable) { - unwrap(this).setServiceConnectConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServiceConnectConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnService( * and connected from, other services within a namespace. */ public open fun serviceConnectConfiguration(`value`: ServiceConnectConfigurationProperty) { - unwrap(this).setServiceConnectConfiguration(`value`.let(ServiceConnectConfigurationProperty::unwrap)) + unwrap(this).setServiceConnectConfiguration(`value`.let(ServiceConnectConfigurationProperty.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public open class CfnService( * discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) . */ public open fun serviceRegistries(`value`: IResolvable) { - unwrap(this).setServiceRegistries(`value`.let(IResolvable::unwrap)) + unwrap(this).setServiceRegistries(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnService( * The metadata that you apply to the service to help you categorize and organize them. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnService( * at launch time. */ public open fun volumeConfigurations(`value`: IResolvable) { - unwrap(this).setVolumeConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setVolumeConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1433,7 +1433,7 @@ public open class CfnService( * @param capacityProviderStrategy The capacity provider strategy to use for the service. */ override fun capacityProviderStrategy(capacityProviderStrategy: IResolvable) { - cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -1490,7 +1490,7 @@ public open class CfnService( * during the deployment and the ordering of stopping and starting tasks. */ override fun deploymentConfiguration(deploymentConfiguration: IResolvable) { - cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1502,7 +1502,7 @@ public open class CfnService( * during the deployment and the ordering of stopping and starting tasks. */ override fun deploymentConfiguration(deploymentConfiguration: DeploymentConfigurationProperty) { - cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(DeploymentConfigurationProperty::unwrap)) + cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(DeploymentConfigurationProperty.Companion::unwrap)) } /** @@ -1528,7 +1528,7 @@ public open class CfnService( * @param deploymentController The deployment controller to use for the service. */ override fun deploymentController(deploymentController: IResolvable) { - cdkBuilder.deploymentController(deploymentController.let(IResolvable::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(IResolvable.Companion::unwrap)) } /** @@ -1540,7 +1540,7 @@ public open class CfnService( * @param deploymentController The deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentControllerProperty) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentControllerProperty::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentControllerProperty.Companion::unwrap)) } /** @@ -1605,7 +1605,7 @@ public open class CfnService( * tasks within the service. */ override fun enableEcsManagedTags(enableEcsManagedTags: IResolvable) { - cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable::unwrap)) + cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable.Companion::unwrap)) } /** @@ -1633,7 +1633,7 @@ public open class CfnService( * for the service. */ override fun enableExecuteCommand(enableExecuteCommand: IResolvable) { - cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable::unwrap)) + cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable.Companion::unwrap)) } /** @@ -1690,7 +1690,7 @@ public open class CfnService( * @param loadBalancers A list of load balancer objects to associate with the service. */ override fun loadBalancers(loadBalancers: IResolvable) { - cdkBuilder.loadBalancers(loadBalancers.let(IResolvable::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.let(IResolvable.Companion::unwrap)) } /** @@ -1737,7 +1737,7 @@ public open class CfnService( * @param networkConfiguration The network configuration for the service. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1753,7 +1753,7 @@ public open class CfnService( * @param networkConfiguration The network configuration for the service. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -1785,7 +1785,7 @@ public open class CfnService( * service. */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -1824,7 +1824,7 @@ public open class CfnService( * @param placementStrategies The placement strategy objects to use for tasks in your service. */ override fun placementStrategies(placementStrategies: IResolvable) { - cdkBuilder.placementStrategies(placementStrategies.let(IResolvable::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.let(IResolvable.Companion::unwrap)) } /** @@ -1974,7 +1974,7 @@ public open class CfnService( * to services, and be discovered by, and connected from, other services within a namespace. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: IResolvable) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1995,7 +1995,7 @@ public open class CfnService( */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectConfigurationProperty) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectConfigurationProperty::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectConfigurationProperty.Companion::unwrap)) } /** @@ -2058,7 +2058,7 @@ public open class CfnService( * */ override fun serviceRegistries(serviceRegistries: IResolvable) { - cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable::unwrap)) + cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable.Companion::unwrap)) } /** @@ -2121,7 +2121,7 @@ public open class CfnService( * them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2177,7 +2177,7 @@ public open class CfnService( * as a volume that is configured at launch time. */ override fun volumeConfigurations(volumeConfigurations: IResolvable) { - cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -2826,7 +2826,7 @@ public open class CfnService( * deployment process. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** @@ -2846,7 +2846,7 @@ public open class CfnService( * last deployment that completed successfully. */ override fun rollback(rollback: IResolvable) { - cdkBuilder.rollback(rollback.let(IResolvable::unwrap)) + cdkBuilder.rollback(rollback.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.CfnService.DeploymentAlarmsProperty = @@ -3003,7 +3003,7 @@ public open class CfnService( * service. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** @@ -3023,7 +3023,7 @@ public open class CfnService( * deployment that completed successfully. */ override fun rollback(rollback: IResolvable) { - cdkBuilder.rollback(rollback.let(IResolvable::unwrap)) + cdkBuilder.rollback(rollback.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3344,14 +3344,14 @@ public open class CfnService( * @param alarms Information about the CloudWatch alarms. */ override fun alarms(alarms: IResolvable) { - cdkBuilder.alarms(alarms.let(IResolvable::unwrap)) + cdkBuilder.alarms(alarms.let(IResolvable.Companion::unwrap)) } /** * @param alarms Information about the CloudWatch alarms. */ override fun alarms(alarms: DeploymentAlarmsProperty) { - cdkBuilder.alarms(alarms.let(DeploymentAlarmsProperty::unwrap)) + cdkBuilder.alarms(alarms.let(DeploymentAlarmsProperty.Companion::unwrap)) } /** @@ -3374,7 +3374,7 @@ public open class CfnService( * in the *Amazon Elastic Container Service Developer Guide* */ override fun deploymentCircuitBreaker(deploymentCircuitBreaker: IResolvable) { - cdkBuilder.deploymentCircuitBreaker(deploymentCircuitBreaker.let(IResolvable::unwrap)) + cdkBuilder.deploymentCircuitBreaker(deploymentCircuitBreaker.let(IResolvable.Companion::unwrap)) } /** @@ -3390,7 +3390,7 @@ public open class CfnService( */ override fun deploymentCircuitBreaker(deploymentCircuitBreaker: DeploymentCircuitBreakerProperty) { - cdkBuilder.deploymentCircuitBreaker(deploymentCircuitBreaker.let(DeploymentCircuitBreakerProperty::unwrap)) + cdkBuilder.deploymentCircuitBreaker(deploymentCircuitBreaker.let(DeploymentCircuitBreakerProperty.Companion::unwrap)) } /** @@ -3861,7 +3861,7 @@ public open class CfnService( * `AmazonECSCreated` and `AmazonECSManaged` are reserved tags that can't be used. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -4447,7 +4447,7 @@ public open class CfnService( * '{{.Server.APIVersion}}'` */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -4468,7 +4468,7 @@ public open class CfnService( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun secretOptions(secretOptions: IResolvable) { - cdkBuilder.secretOptions(secretOptions.let(IResolvable::unwrap)) + cdkBuilder.secretOptions(secretOptions.let(IResolvable.Companion::unwrap)) } /** @@ -4648,7 +4648,7 @@ public open class CfnService( * All specified subnets and security groups must be from the same VPC. */ override fun awsvpcConfiguration(awsvpcConfiguration: IResolvable) { - cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4658,7 +4658,7 @@ public open class CfnService( * All specified subnets and security groups must be from the same VPC. */ override fun awsvpcConfiguration(awsvpcConfiguration: AwsVpcConfigurationProperty) { - cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(AwsVpcConfigurationProperty::unwrap)) + cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(AwsVpcConfigurationProperty.Companion::unwrap)) } /** @@ -5782,7 +5782,7 @@ public open class CfnService( * @param enabled Specifies whether to use Service Connect with this service. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -5828,7 +5828,7 @@ public open class CfnService( * Logstash to send Gelf logs to. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5874,7 +5874,7 @@ public open class CfnService( * Logstash to send Gelf logs to. */ override fun logConfiguration(logConfiguration: LogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -5952,7 +5952,7 @@ public open class CfnService( * service. */ override fun services(services: IResolvable) { - cdkBuilder.services(services.let(IResolvable::unwrap)) + cdkBuilder.services(services.let(IResolvable.Companion::unwrap)) } /** @@ -6356,7 +6356,7 @@ public open class CfnService( * `port` . */ override fun clientAliases(clientAliases: IResolvable) { - cdkBuilder.clientAliases(clientAliases.let(IResolvable::unwrap)) + cdkBuilder.clientAliases(clientAliases.let(IResolvable.Companion::unwrap)) } /** @@ -6433,7 +6433,7 @@ public open class CfnService( * Connect. */ override fun timeout(timeout: IResolvable) { - cdkBuilder.timeout(timeout.let(IResolvable::unwrap)) + cdkBuilder.timeout(timeout.let(IResolvable.Companion::unwrap)) } /** @@ -6441,7 +6441,7 @@ public open class CfnService( * Connect. */ override fun timeout(timeout: TimeoutConfigurationProperty) { - cdkBuilder.timeout(timeout.let(TimeoutConfigurationProperty::unwrap)) + cdkBuilder.timeout(timeout.let(TimeoutConfigurationProperty.Companion::unwrap)) } /** @@ -6458,7 +6458,7 @@ public open class CfnService( * configuration. */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** @@ -6466,7 +6466,7 @@ public open class CfnService( * configuration. */ override fun tls(tls: ServiceConnectTlsConfigurationProperty) { - cdkBuilder.tls(tls.let(ServiceConnectTlsConfigurationProperty::unwrap)) + cdkBuilder.tls(tls.let(ServiceConnectTlsConfigurationProperty.Companion::unwrap)) } /** @@ -6750,7 +6750,7 @@ public open class CfnService( * @param issuerCertificateAuthority The signer certificate authority. */ override fun issuerCertificateAuthority(issuerCertificateAuthority: IResolvable) { - cdkBuilder.issuerCertificateAuthority(issuerCertificateAuthority.let(IResolvable::unwrap)) + cdkBuilder.issuerCertificateAuthority(issuerCertificateAuthority.let(IResolvable.Companion::unwrap)) } /** @@ -6758,7 +6758,7 @@ public open class CfnService( */ override fun issuerCertificateAuthority(issuerCertificateAuthority: ServiceConnectTlsCertificateAuthorityProperty) { - cdkBuilder.issuerCertificateAuthority(issuerCertificateAuthority.let(ServiceConnectTlsCertificateAuthorityProperty::unwrap)) + cdkBuilder.issuerCertificateAuthority(issuerCertificateAuthority.let(ServiceConnectTlsCertificateAuthorityProperty.Companion::unwrap)) } /** @@ -7242,7 +7242,7 @@ public open class CfnService( * *Amazon EC2 API Reference* . */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -7352,7 +7352,7 @@ public open class CfnService( * *Amazon EC2 API Reference* . */ override fun tagSpecifications(tagSpecifications: IResolvable) { - cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -7969,7 +7969,7 @@ public open class CfnService( * console once they are created. */ override fun managedEbsVolume(managedEbsVolume: IResolvable) { - cdkBuilder.managedEbsVolume(managedEbsVolume.let(IResolvable::unwrap)) + cdkBuilder.managedEbsVolume(managedEbsVolume.let(IResolvable.Companion::unwrap)) } /** @@ -7981,7 +7981,7 @@ public open class CfnService( */ override fun managedEbsVolume(managedEbsVolume: ServiceManagedEBSVolumeConfigurationProperty) { - cdkBuilder.managedEbsVolume(managedEbsVolume.let(ServiceManagedEBSVolumeConfigurationProperty::unwrap)) + cdkBuilder.managedEbsVolume(managedEbsVolume.let(ServiceManagedEBSVolumeConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnServiceProps.kt index 166a205c29..50e0d3f9bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnServiceProps.kt @@ -1009,7 +1009,7 @@ public interface CfnServiceProps { * A capacity provider strategy may contain a maximum of 6 capacity providers. */ override fun capacityProviderStrategy(capacityProviderStrategy: IResolvable) { - cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -1049,7 +1049,7 @@ public interface CfnServiceProps { * during the deployment and the ordering of stopping and starting tasks. */ override fun deploymentConfiguration(deploymentConfiguration: IResolvable) { - cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1058,7 +1058,7 @@ public interface CfnServiceProps { */ override fun deploymentConfiguration(deploymentConfiguration: CfnService.DeploymentConfigurationProperty) { - cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(CfnService.DeploymentConfigurationProperty::unwrap)) + cdkBuilder.deploymentConfiguration(deploymentConfiguration.let(CfnService.DeploymentConfigurationProperty.Companion::unwrap)) } /** @@ -1077,7 +1077,7 @@ public interface CfnServiceProps { * If no deployment controller is specified, the default value of `ECS` is used. */ override fun deploymentController(deploymentController: IResolvable) { - cdkBuilder.deploymentController(deploymentController.let(IResolvable::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(IResolvable.Companion::unwrap)) } /** @@ -1086,7 +1086,7 @@ public interface CfnServiceProps { */ override fun deploymentController(deploymentController: CfnService.DeploymentControllerProperty) { - cdkBuilder.deploymentController(deploymentController.let(CfnService.DeploymentControllerProperty::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(CfnService.DeploymentControllerProperty.Companion::unwrap)) } /** @@ -1134,7 +1134,7 @@ public interface CfnServiceProps { * When you use Amazon ECS managed tags, you need to set the `propagateTags` request parameter. */ override fun enableEcsManagedTags(enableEcsManagedTags: IResolvable) { - cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable::unwrap)) + cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable.Companion::unwrap)) } /** @@ -1154,7 +1154,7 @@ public interface CfnServiceProps { * part of the service. */ override fun enableExecuteCommand(enableExecuteCommand: IResolvable) { - cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable::unwrap)) + cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable.Companion::unwrap)) } /** @@ -1198,7 +1198,7 @@ public interface CfnServiceProps { * in the *Amazon Elastic Container Service Developer Guide* . */ override fun loadBalancers(loadBalancers: IResolvable) { - cdkBuilder.loadBalancers(loadBalancers.let(IResolvable::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.let(IResolvable.Companion::unwrap)) } /** @@ -1233,7 +1233,7 @@ public interface CfnServiceProps { * the *Amazon Elastic Container Service Developer Guide* . */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1246,7 +1246,7 @@ public interface CfnServiceProps { */ override fun networkConfiguration(networkConfiguration: CfnService.NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(CfnService.NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(CfnService.NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -1270,7 +1270,7 @@ public interface CfnServiceProps { * the task definition and those specified at runtime. */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -1297,7 +1297,7 @@ public interface CfnServiceProps { * You can specify a maximum of 5 strategy rules for each service. */ override fun placementStrategies(placementStrategies: IResolvable) { - cdkBuilder.placementStrategies(placementStrategies.let(IResolvable::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.let(IResolvable.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public interface CfnServiceProps { * the *Amazon Elastic Container Service Developer Guide* . */ override fun serviceConnectConfiguration(serviceConnectConfiguration: IResolvable) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1429,7 +1429,7 @@ public interface CfnServiceProps { */ override fun serviceConnectConfiguration(serviceConnectConfiguration: CfnService.ServiceConnectConfigurationProperty) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(CfnService.ServiceConnectConfigurationProperty::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(CfnService.ServiceConnectConfigurationProperty.Companion::unwrap)) } /** @@ -1474,7 +1474,7 @@ public interface CfnServiceProps { * each service isn't supported. */ override fun serviceRegistries(serviceRegistries: IResolvable) { - cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable::unwrap)) + cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable.Companion::unwrap)) } /** @@ -1517,7 +1517,7 @@ public interface CfnServiceProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1559,7 +1559,7 @@ public interface CfnServiceProps { * Currently, the only supported volume type is an Amazon EBS volume. */ override fun volumeConfigurations(volumeConfigurations: IResolvable) { - cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinition.kt index c6bb34f9fa..ed9c665685 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinition.kt @@ -262,7 +262,7 @@ public open class CfnTaskDefinition( cdkObject: software.amazon.awscdk.services.ecs.CfnTaskDefinition, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.CfnTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.CfnTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -271,8 +271,8 @@ public open class CfnTaskDefinition( id: String, props: CfnTaskDefinitionProps, ) : - this(software.amazon.awscdk.services.ecs.CfnTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTaskDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTaskDefinitionProps.Companion::unwrap)) ) public constructor( @@ -298,7 +298,7 @@ public open class CfnTaskDefinition( * up your task. */ public open fun containerDefinitions(`value`: IResolvable) { - unwrap(this).setContainerDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setContainerDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -337,14 +337,14 @@ public open class CfnTaskDefinition( * The ephemeral storage settings to use for tasks run with the task definition. */ public open fun ephemeralStorage(`value`: IResolvable) { - unwrap(this).setEphemeralStorage(`value`.let(IResolvable::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(IResolvable.Companion::unwrap)) } /** * The ephemeral storage settings to use for tasks run with the task definition. */ public open fun ephemeralStorage(`value`: EphemeralStorageProperty) { - unwrap(this).setEphemeralStorage(`value`.let(EphemeralStorageProperty::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnTaskDefinition( * The Elastic Inference accelerators to use for the containers in the task. */ public open fun inferenceAccelerators(`value`: IResolvable) { - unwrap(this).setInferenceAccelerators(`value`.let(IResolvable::unwrap)) + unwrap(this).setInferenceAccelerators(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class CfnTaskDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnTaskDefinition( * An array of placement constraint objects to use for tasks. */ public open fun placementConstraints(`value`: IResolvable) { - unwrap(this).setPlacementConstraints(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlacementConstraints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -497,14 +497,14 @@ public open class CfnTaskDefinition( * The configuration details for the App Mesh proxy. */ public open fun proxyConfiguration(`value`: IResolvable) { - unwrap(this).setProxyConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setProxyConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration details for the App Mesh proxy. */ public open fun proxyConfiguration(`value`: ProxyConfigurationProperty) { - unwrap(this).setProxyConfiguration(`value`.let(ProxyConfigurationProperty::unwrap)) + unwrap(this).setProxyConfiguration(`value`.let(ProxyConfigurationProperty.Companion::unwrap)) } /** @@ -543,14 +543,14 @@ public open class CfnTaskDefinition( * The operating system that your tasks definitions run on. */ public open fun runtimePlatform(`value`: IResolvable) { - unwrap(this).setRuntimePlatform(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntimePlatform(`value`.let(IResolvable.Companion::unwrap)) } /** * The operating system that your tasks definitions run on. */ public open fun runtimePlatform(`value`: RuntimePlatformProperty) { - unwrap(this).setRuntimePlatform(`value`.let(RuntimePlatformProperty::unwrap)) + unwrap(this).setRuntimePlatform(`value`.let(RuntimePlatformProperty.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnTaskDefinition( * The metadata that you apply to the task definition to help you categorize and organize them. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class CfnTaskDefinition( * The list of data volume definitions for the task. */ public open fun volumes(`value`: IResolvable) { - unwrap(this).setVolumes(`value`.let(IResolvable::unwrap)) + unwrap(this).setVolumes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1055,9 +1055,6 @@ public open class CfnTaskDefinition( * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) * @param runtimePlatform The operating system that your tasks definitions run on. */ @@ -1068,9 +1065,6 @@ public open class CfnTaskDefinition( * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) * @param runtimePlatform The operating system that your tasks definitions run on. */ @@ -1081,9 +1075,6 @@ public open class CfnTaskDefinition( * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) * @param runtimePlatform The operating system that your tasks definitions run on. */ @@ -1223,7 +1214,7 @@ public open class CfnTaskDefinition( * different containers that make up your task. */ override fun containerDefinitions(containerDefinitions: IResolvable) { - cdkBuilder.containerDefinitions(containerDefinitions.let(IResolvable::unwrap)) + cdkBuilder.containerDefinitions(containerDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -1298,7 +1289,7 @@ public open class CfnTaskDefinition( * definition. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -1309,7 +1300,7 @@ public open class CfnTaskDefinition( * definition. */ override fun ephemeralStorage(ephemeralStorage: EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -1371,7 +1362,7 @@ public open class CfnTaskDefinition( * the task. */ override fun inferenceAccelerators(inferenceAccelerators: IResolvable) { - cdkBuilder.inferenceAccelerators(inferenceAccelerators.let(IResolvable::unwrap)) + cdkBuilder.inferenceAccelerators(inferenceAccelerators.let(IResolvable.Companion::unwrap)) } /** @@ -1561,7 +1552,7 @@ public open class CfnTaskDefinition( * @param placementConstraints An array of placement constraint objects to use for tasks. */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -1606,7 +1597,7 @@ public open class CfnTaskDefinition( * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: IResolvable) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1624,7 +1615,7 @@ public open class CfnTaskDefinition( * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfigurationProperty) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfigurationProperty::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfigurationProperty.Companion::unwrap)) } /** @@ -1681,14 +1672,11 @@ public open class CfnTaskDefinition( * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) * @param runtimePlatform The operating system that your tasks definitions run on. */ override fun runtimePlatform(runtimePlatform: IResolvable) { - cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable.Companion::unwrap)) } /** @@ -1696,14 +1684,11 @@ public open class CfnTaskDefinition( * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) * @param runtimePlatform The operating system that your tasks definitions run on. */ override fun runtimePlatform(runtimePlatform: RuntimePlatformProperty) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatformProperty::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatformProperty.Companion::unwrap)) } /** @@ -1711,9 +1696,6 @@ public open class CfnTaskDefinition( * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) * @param runtimePlatform The operating system that your tasks definitions run on. */ @@ -1742,7 +1724,7 @@ public open class CfnTaskDefinition( * organize them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1804,7 +1786,7 @@ public open class CfnTaskDefinition( * @param volumes The list of data volume definitions for the task. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -4988,7 +4970,7 @@ public open class CfnTaskDefinition( * on the on the GitHub website. */ override fun dependsOn(dependsOn: IResolvable) { - cdkBuilder.dependsOn(dependsOn.let(IResolvable::unwrap)) + cdkBuilder.dependsOn(dependsOn.let(IResolvable.Companion::unwrap)) } /** @@ -5086,7 +5068,7 @@ public open class CfnTaskDefinition( * This parameter is not supported for Windows containers. */ override fun disableNetworking(disableNetworking: IResolvable) { - cdkBuilder.disableNetworking(disableNetworking.let(IResolvable::unwrap)) + cdkBuilder.disableNetworking(disableNetworking.let(IResolvable.Companion::unwrap)) } /** @@ -5168,7 +5150,7 @@ public open class CfnTaskDefinition( * '{{.Server.APIVersion}}'` */ override fun dockerLabels(dockerLabels: IResolvable) { - cdkBuilder.dockerLabels(dockerLabels.let(IResolvable::unwrap)) + cdkBuilder.dockerLabels(dockerLabels.let(IResolvable.Companion::unwrap)) } /** @@ -5334,7 +5316,7 @@ public open class CfnTaskDefinition( * such as credential data. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -5393,7 +5375,7 @@ public open class CfnTaskDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun environmentFiles(environmentFiles: IResolvable) { - cdkBuilder.environmentFiles(environmentFiles.let(IResolvable::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.let(IResolvable.Companion::unwrap)) } /** @@ -5480,7 +5462,7 @@ public open class CfnTaskDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun essential(essential: IResolvable) { - cdkBuilder.essential(essential.let(IResolvable::unwrap)) + cdkBuilder.essential(essential.let(IResolvable.Companion::unwrap)) } /** @@ -5499,7 +5481,7 @@ public open class CfnTaskDefinition( * network mode. */ override fun extraHosts(extraHosts: IResolvable) { - cdkBuilder.extraHosts(extraHosts.let(IResolvable::unwrap)) + cdkBuilder.extraHosts(extraHosts.let(IResolvable.Companion::unwrap)) } /** @@ -5546,7 +5528,7 @@ public open class CfnTaskDefinition( * the *Amazon Elastic Container Service Developer Guide* . */ override fun firelensConfiguration(firelensConfiguration: IResolvable) { - cdkBuilder.firelensConfiguration(firelensConfiguration.let(IResolvable::unwrap)) + cdkBuilder.firelensConfiguration(firelensConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5557,7 +5539,7 @@ public open class CfnTaskDefinition( * the *Amazon Elastic Container Service Developer Guide* . */ override fun firelensConfiguration(firelensConfiguration: FirelensConfigurationProperty) { - cdkBuilder.firelensConfiguration(firelensConfiguration.let(FirelensConfigurationProperty::unwrap)) + cdkBuilder.firelensConfiguration(firelensConfiguration.let(FirelensConfigurationProperty.Companion::unwrap)) } /** @@ -5585,7 +5567,7 @@ public open class CfnTaskDefinition( * . */ override fun healthCheck(healthCheck: IResolvable) { - cdkBuilder.healthCheck(healthCheck.let(IResolvable::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) } /** @@ -5600,7 +5582,7 @@ public open class CfnTaskDefinition( * . */ override fun healthCheck(healthCheck: HealthCheckProperty) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckProperty::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckProperty.Companion::unwrap)) } /** @@ -5696,7 +5678,7 @@ public open class CfnTaskDefinition( * . */ override fun interactive(interactive: IResolvable) { - cdkBuilder.interactive(interactive.let(IResolvable::unwrap)) + cdkBuilder.interactive(interactive.let(IResolvable.Companion::unwrap)) } /** @@ -5758,7 +5740,7 @@ public open class CfnTaskDefinition( * This parameter is not supported for Windows containers. */ override fun linuxParameters(linuxParameters: IResolvable) { - cdkBuilder.linuxParameters(linuxParameters.let(IResolvable::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5770,7 +5752,7 @@ public open class CfnTaskDefinition( * This parameter is not supported for Windows containers. */ override fun linuxParameters(linuxParameters: LinuxParametersProperty) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParametersProperty::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParametersProperty.Companion::unwrap)) } /** @@ -5825,7 +5807,7 @@ public open class CfnTaskDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5867,7 +5849,7 @@ public open class CfnTaskDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun logConfiguration(logConfiguration: LogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -5995,7 +5977,7 @@ public open class CfnTaskDefinition( * across drives. */ override fun mountPoints(mountPoints: IResolvable) { - cdkBuilder.mountPoints(mountPoints.let(IResolvable::unwrap)) + cdkBuilder.mountPoints(mountPoints.let(IResolvable.Companion::unwrap)) } /** @@ -6081,7 +6063,7 @@ public open class CfnTaskDefinition( * responses. */ override fun portMappings(portMappings: IResolvable) { - cdkBuilder.portMappings(portMappings.let(IResolvable::unwrap)) + cdkBuilder.portMappings(portMappings.let(IResolvable.Companion::unwrap)) } /** @@ -6186,7 +6168,7 @@ public open class CfnTaskDefinition( * This parameter is not supported for Windows containers or tasks run on AWS Fargate . */ override fun privileged(privileged: IResolvable) { - cdkBuilder.privileged(privileged.let(IResolvable::unwrap)) + cdkBuilder.privileged(privileged.let(IResolvable.Companion::unwrap)) } /** @@ -6214,7 +6196,7 @@ public open class CfnTaskDefinition( * . */ override fun pseudoTerminal(pseudoTerminal: IResolvable) { - cdkBuilder.pseudoTerminal(pseudoTerminal.let(IResolvable::unwrap)) + cdkBuilder.pseudoTerminal(pseudoTerminal.let(IResolvable.Companion::unwrap)) } /** @@ -6250,21 +6232,21 @@ public open class CfnTaskDefinition( * This parameter is not supported for Windows containers. */ override fun readonlyRootFilesystem(readonlyRootFilesystem: IResolvable) { - cdkBuilder.readonlyRootFilesystem(readonlyRootFilesystem.let(IResolvable::unwrap)) + cdkBuilder.readonlyRootFilesystem(readonlyRootFilesystem.let(IResolvable.Companion::unwrap)) } /** * @param repositoryCredentials The private repository authentication credentials to use. */ override fun repositoryCredentials(repositoryCredentials: IResolvable) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(IResolvable::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(IResolvable.Companion::unwrap)) } /** * @param repositoryCredentials The private repository authentication credentials to use. */ override fun repositoryCredentials(repositoryCredentials: RepositoryCredentialsProperty) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(RepositoryCredentialsProperty::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(RepositoryCredentialsProperty.Companion::unwrap)) } /** @@ -6281,7 +6263,7 @@ public open class CfnTaskDefinition( * The only supported resource is a GPU. */ override fun resourceRequirements(resourceRequirements: IResolvable) { - cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable::unwrap)) + cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -6306,7 +6288,7 @@ public open class CfnTaskDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun secrets(secrets: IResolvable) { - cdkBuilder.secrets(secrets.let(IResolvable::unwrap)) + cdkBuilder.secrets(secrets.let(IResolvable.Companion::unwrap)) } /** @@ -6414,7 +6396,7 @@ public open class CfnTaskDefinition( * lived connections. */ override fun systemControls(systemControls: IResolvable) { - cdkBuilder.systemControls(systemControls.let(IResolvable::unwrap)) + cdkBuilder.systemControls(systemControls.let(IResolvable.Companion::unwrap)) } /** @@ -6465,7 +6447,7 @@ public open class CfnTaskDefinition( * This parameter is not supported for Windows containers. */ override fun ulimits(ulimits: IResolvable) { - cdkBuilder.ulimits(ulimits.let(IResolvable::unwrap)) + cdkBuilder.ulimits(ulimits.let(IResolvable.Companion::unwrap)) } /** @@ -6553,7 +6535,7 @@ public open class CfnTaskDefinition( * . */ override fun volumesFrom(volumesFrom: IResolvable) { - cdkBuilder.volumesFrom(volumesFrom.let(IResolvable::unwrap)) + cdkBuilder.volumesFrom(volumesFrom.let(IResolvable.Companion::unwrap)) } /** @@ -8143,7 +8125,7 @@ public open class CfnTaskDefinition( * This field is only used if the `scope` is `shared` . */ override fun autoprovision(autoprovision: IResolvable) { - cdkBuilder.autoprovision(autoprovision.let(IResolvable::unwrap)) + cdkBuilder.autoprovision(autoprovision.let(IResolvable.Companion::unwrap)) } /** @@ -8177,7 +8159,7 @@ public open class CfnTaskDefinition( * . */ override fun driverOpts(driverOpts: IResolvable) { - cdkBuilder.driverOpts(driverOpts.let(IResolvable::unwrap)) + cdkBuilder.driverOpts(driverOpts.let(IResolvable.Companion::unwrap)) } /** @@ -8205,7 +8187,7 @@ public open class CfnTaskDefinition( * . */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** @@ -8499,7 +8481,7 @@ public open class CfnTaskDefinition( * system. */ override fun authorizationConfig(authorizationConfig: IResolvable) { - cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -8507,7 +8489,7 @@ public open class CfnTaskDefinition( * system. */ override fun authorizationConfig(authorizationConfig: AuthorizationConfigProperty) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfigProperty::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfigProperty.Companion::unwrap)) } /** @@ -9097,7 +9079,7 @@ public open class CfnTaskDefinition( * Windows File Server file system. */ override fun authorizationConfig(authorizationConfig: IResolvable) { - cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -9105,7 +9087,7 @@ public open class CfnTaskDefinition( * Windows File Server file system. */ override fun authorizationConfig(authorizationConfig: FSxAuthorizationConfigProperty) { - cdkBuilder.authorizationConfig(authorizationConfig.let(FSxAuthorizationConfigProperty::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(FSxAuthorizationConfigProperty.Companion::unwrap)) } /** @@ -9290,7 +9272,7 @@ public open class CfnTaskDefinition( * * `config-file-value` , which is either an S3 ARN or a file path */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -10952,7 +10934,7 @@ public open class CfnTaskDefinition( * versions but the `add` parameter is only supported if using platform version 1.4.0 or later. */ override fun capabilities(capabilities: IResolvable) { - cdkBuilder.capabilities(capabilities.let(IResolvable::unwrap)) + cdkBuilder.capabilities(capabilities.let(IResolvable.Companion::unwrap)) } /** @@ -10963,7 +10945,7 @@ public open class CfnTaskDefinition( * versions but the `add` parameter is only supported if using platform version 1.4.0 or later. */ override fun capabilities(capabilities: KernelCapabilitiesProperty) { - cdkBuilder.capabilities(capabilities.let(KernelCapabilitiesProperty::unwrap)) + cdkBuilder.capabilities(capabilities.let(KernelCapabilitiesProperty.Companion::unwrap)) } /** @@ -10993,7 +10975,7 @@ public open class CfnTaskDefinition( * supported. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** @@ -11055,7 +11037,7 @@ public open class CfnTaskDefinition( * '{{.Server.APIVersion}}'` */ override fun initProcessEnabled(initProcessEnabled: IResolvable) { - cdkBuilder.initProcessEnabled(initProcessEnabled.let(IResolvable::unwrap)) + cdkBuilder.initProcessEnabled(initProcessEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -11124,7 +11106,7 @@ public open class CfnTaskDefinition( * supported. */ override fun tmpfs(tmpfs: IResolvable) { - cdkBuilder.tmpfs(tmpfs.let(IResolvable::unwrap)) + cdkBuilder.tmpfs(tmpfs.let(IResolvable.Companion::unwrap)) } /** @@ -11499,7 +11481,7 @@ public open class CfnTaskDefinition( * '{{.Server.APIVersion}}'` */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -11520,7 +11502,7 @@ public open class CfnTaskDefinition( * in the *Amazon Elastic Container Service Developer Guide* . */ override fun secretOptions(secretOptions: IResolvable) { - cdkBuilder.secretOptions(secretOptions.let(IResolvable::unwrap)) + cdkBuilder.secretOptions(secretOptions.let(IResolvable.Companion::unwrap)) } /** @@ -11726,7 +11708,7 @@ public open class CfnTaskDefinition( * `false` . */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } /** @@ -12631,7 +12613,7 @@ public open class CfnTaskDefinition( * ignored and not redirected to the `ProxyEgressPort` . It can be an empty list. */ override fun proxyConfigurationProperties(proxyConfigurationProperties: IResolvable) { - cdkBuilder.proxyConfigurationProperties(proxyConfigurationProperties.let(IResolvable::unwrap)) + cdkBuilder.proxyConfigurationProperties(proxyConfigurationProperties.let(IResolvable.Companion::unwrap)) } /** @@ -14043,7 +14025,7 @@ public open class CfnTaskDefinition( * `false` . */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } /** @@ -14431,7 +14413,7 @@ public open class CfnTaskDefinition( * or `StartTask` APIs. */ override fun configuredAtLaunch(configuredAtLaunch: IResolvable) { - cdkBuilder.configuredAtLaunch(configuredAtLaunch.let(IResolvable::unwrap)) + cdkBuilder.configuredAtLaunch(configuredAtLaunch.let(IResolvable.Companion::unwrap)) } /** @@ -14443,7 +14425,7 @@ public open class CfnTaskDefinition( * Docker volumes aren't supported by tasks run on AWS Fargate . */ override fun dockerVolumeConfiguration(dockerVolumeConfiguration: IResolvable) { - cdkBuilder.dockerVolumeConfiguration(dockerVolumeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dockerVolumeConfiguration(dockerVolumeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14456,7 +14438,7 @@ public open class CfnTaskDefinition( */ override fun dockerVolumeConfiguration(dockerVolumeConfiguration: DockerVolumeConfigurationProperty) { - cdkBuilder.dockerVolumeConfiguration(dockerVolumeConfiguration.let(DockerVolumeConfigurationProperty::unwrap)) + cdkBuilder.dockerVolumeConfiguration(dockerVolumeConfiguration.let(DockerVolumeConfigurationProperty.Companion::unwrap)) } /** @@ -14479,7 +14461,7 @@ public open class CfnTaskDefinition( * File System file system for task storage. */ override fun efsVolumeConfiguration(efsVolumeConfiguration: IResolvable) { - cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14487,7 +14469,7 @@ public open class CfnTaskDefinition( * File System file system for task storage. */ override fun efsVolumeConfiguration(efsVolumeConfiguration: EFSVolumeConfigurationProperty) { - cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(EFSVolumeConfigurationProperty::unwrap)) + cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(EFSVolumeConfigurationProperty.Companion::unwrap)) } /** @@ -14506,7 +14488,7 @@ public open class CfnTaskDefinition( */ override fun fSxWindowsFileServerVolumeConfiguration(fSxWindowsFileServerVolumeConfiguration: IResolvable) { - cdkBuilder.fSxWindowsFileServerVolumeConfiguration(fSxWindowsFileServerVolumeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fSxWindowsFileServerVolumeConfiguration(fSxWindowsFileServerVolumeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14515,7 +14497,7 @@ public open class CfnTaskDefinition( */ override fun fSxWindowsFileServerVolumeConfiguration(fSxWindowsFileServerVolumeConfiguration: FSxWindowsFileServerVolumeConfigurationProperty) { - cdkBuilder.fSxWindowsFileServerVolumeConfiguration(fSxWindowsFileServerVolumeConfiguration.let(FSxWindowsFileServerVolumeConfigurationProperty::unwrap)) + cdkBuilder.fSxWindowsFileServerVolumeConfiguration(fSxWindowsFileServerVolumeConfiguration.let(FSxWindowsFileServerVolumeConfigurationProperty.Companion::unwrap)) } /** @@ -14542,7 +14524,7 @@ public open class CfnTaskDefinition( * `D:\my\path:C:\my\path` or `D:\:C:\my\path` . */ override fun host(host: IResolvable) { - cdkBuilder.host(host.let(IResolvable::unwrap)) + cdkBuilder.host(host.let(IResolvable.Companion::unwrap)) } /** @@ -14558,7 +14540,7 @@ public open class CfnTaskDefinition( * `D:\my\path:C:\my\path` or `D:\:C:\my\path` . */ override fun host(host: HostVolumePropertiesProperty) { - cdkBuilder.host(host.let(HostVolumePropertiesProperty::unwrap)) + cdkBuilder.host(host.let(HostVolumePropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinitionProps.kt index 1b3f2bc967..9fdceadb62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskDefinitionProps.kt @@ -497,9 +497,6 @@ public interface CfnTaskDefinitionProps { * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) */ public fun runtimePlatform(): Any? = unwrap(this).getRuntimePlatform() @@ -889,27 +886,18 @@ public interface CfnTaskDefinitionProps { /** * @param runtimePlatform The operating system that your tasks definitions run on. * A platform family is specified only for tasks using the Fargate launch type. - * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. */ public fun runtimePlatform(runtimePlatform: IResolvable) /** * @param runtimePlatform The operating system that your tasks definitions run on. * A platform family is specified only for tasks using the Fargate launch type. - * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. */ public fun runtimePlatform(runtimePlatform: CfnTaskDefinition.RuntimePlatformProperty) /** * @param runtimePlatform The operating system that your tasks definitions run on. * A platform family is specified only for tasks using the Fargate launch type. - * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6f8ca60933771d6a181e09c848f3ad875b7eff4ba5e3d55a01ae2ba0b9af589c") @@ -1012,7 +1000,7 @@ public interface CfnTaskDefinitionProps { * in the *Amazon Elastic Container Service Developer Guide* . */ override fun containerDefinitions(containerDefinitions: IResolvable) { - cdkBuilder.containerDefinitions(containerDefinitions.let(IResolvable::unwrap)) + cdkBuilder.containerDefinitions(containerDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -1070,7 +1058,7 @@ public interface CfnTaskDefinitionProps { * definition. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -1078,7 +1066,7 @@ public interface CfnTaskDefinitionProps { * definition. */ override fun ephemeralStorage(ephemeralStorage: CfnTaskDefinition.EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(CfnTaskDefinition.EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(CfnTaskDefinition.EphemeralStorageProperty.Companion::unwrap)) } /** @@ -1125,7 +1113,7 @@ public interface CfnTaskDefinitionProps { * the task. */ override fun inferenceAccelerators(inferenceAccelerators: IResolvable) { - cdkBuilder.inferenceAccelerators(inferenceAccelerators.let(IResolvable::unwrap)) + cdkBuilder.inferenceAccelerators(inferenceAccelerators.let(IResolvable.Companion::unwrap)) } /** @@ -1286,7 +1274,7 @@ public interface CfnTaskDefinitionProps { * This parameter isn't supported for tasks run on AWS Fargate . */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -1317,7 +1305,7 @@ public interface CfnTaskDefinitionProps { * *Amazon Elastic Container Service Developer Guide* . */ override fun proxyConfiguration(proxyConfiguration: IResolvable) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1332,7 +1320,7 @@ public interface CfnTaskDefinitionProps { */ override fun proxyConfiguration(proxyConfiguration: CfnTaskDefinition.ProxyConfigurationProperty) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(CfnTaskDefinition.ProxyConfigurationProperty::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(CfnTaskDefinition.ProxyConfigurationProperty.Companion::unwrap)) } /** @@ -1375,31 +1363,22 @@ public interface CfnTaskDefinitionProps { /** * @param runtimePlatform The operating system that your tasks definitions run on. * A platform family is specified only for tasks using the Fargate launch type. - * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. */ override fun runtimePlatform(runtimePlatform: IResolvable) { - cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(IResolvable.Companion::unwrap)) } /** * @param runtimePlatform The operating system that your tasks definitions run on. * A platform family is specified only for tasks using the Fargate launch type. - * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. */ override fun runtimePlatform(runtimePlatform: CfnTaskDefinition.RuntimePlatformProperty) { - cdkBuilder.runtimePlatform(runtimePlatform.let(CfnTaskDefinition.RuntimePlatformProperty::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(CfnTaskDefinition.RuntimePlatformProperty.Companion::unwrap)) } /** * @param runtimePlatform The operating system that your tasks definitions run on. * A platform family is specified only for tasks using the Fargate launch type. - * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6f8ca60933771d6a181e09c848f3ad875b7eff4ba5e3d55a01ae2ba0b9af589c") @@ -1423,7 +1402,7 @@ public interface CfnTaskDefinitionProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1471,7 +1450,7 @@ public interface CfnTaskDefinitionProps { * The `host` and `sourcePath` parameters aren't supported for tasks run on AWS Fargate . */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -1779,9 +1758,6 @@ public interface CfnTaskDefinitionProps { * * A platform family is specified only for tasks using the Fargate launch type. * - * When you specify a task definition in a service, this value must match the `runtimePlatform` - * value of the service. - * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform) */ override fun runtimePlatform(): Any? = unwrap(this).getRuntimePlatform() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSet.kt index ae492e8366..4fd703c825 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSet.kt @@ -93,8 +93,8 @@ public open class CfnTaskSet( id: String, props: CfnTaskSetProps, ) : - this(software.amazon.awscdk.services.ecs.CfnTaskSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTaskSetProps::unwrap)) + this(software.amazon.awscdk.services.ecs.CfnTaskSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTaskSetProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnTaskSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnTaskSet( * A load balancer object representing the load balancer to use with the task set. */ public open fun loadBalancers(`value`: IResolvable) { - unwrap(this).setLoadBalancers(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoadBalancers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -195,14 +195,14 @@ public open class CfnTaskSet( * The network configuration for the task set. */ public open fun networkConfiguration(`value`: IResolvable) { - unwrap(this).setNetworkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The network configuration for the task set. */ public open fun networkConfiguration(`value`: NetworkConfigurationProperty) { - unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnTaskSet( * task set. */ public open fun scale(`value`: IResolvable) { - unwrap(this).setScale(`value`.let(IResolvable::unwrap)) + unwrap(this).setScale(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnTaskSet( * task set. */ public open fun scale(`value`: ScaleProperty) { - unwrap(this).setScale(`value`.let(ScaleProperty::unwrap)) + unwrap(this).setScale(`value`.let(ScaleProperty.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnTaskSet( * The details of the service discovery registries to assign to this task set. */ public open fun serviceRegistries(`value`: IResolvable) { - unwrap(this).setServiceRegistries(`value`.let(IResolvable::unwrap)) + unwrap(this).setServiceRegistries(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnTaskSet( * The metadata that you apply to the task set to help you categorize and organize them. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnTaskSet( * task set. */ override fun loadBalancers(loadBalancers: IResolvable) { - cdkBuilder.loadBalancers(loadBalancers.let(IResolvable::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.let(IResolvable.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class CfnTaskSet( * @param networkConfiguration The network configuration for the task set. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnTaskSet( * @param networkConfiguration The network configuration for the task set. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public open class CfnTaskSet( * running in the task set. */ override fun scale(scale: IResolvable) { - cdkBuilder.scale(scale.let(IResolvable::unwrap)) + cdkBuilder.scale(scale.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnTaskSet( * running in the task set. */ override fun scale(scale: ScaleProperty) { - cdkBuilder.scale(scale.let(ScaleProperty::unwrap)) + cdkBuilder.scale(scale.let(ScaleProperty.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public open class CfnTaskSet( * task set. */ override fun serviceRegistries(serviceRegistries: IResolvable) { - cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable::unwrap)) + cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class CfnTaskSet( * them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1429,7 +1429,7 @@ public open class CfnTaskSet( * All specified subnets and security groups must be from the same VPC. */ override fun awsVpcConfiguration(awsVpcConfiguration: IResolvable) { - cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1439,7 +1439,7 @@ public open class CfnTaskSet( * All specified subnets and security groups must be from the same VPC. */ override fun awsVpcConfiguration(awsVpcConfiguration: AwsVpcConfigurationProperty) { - cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(AwsVpcConfigurationProperty::unwrap)) + cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(AwsVpcConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSetProps.kt index f6356b3b0d..3c60eb59b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CfnTaskSetProps.kt @@ -384,7 +384,7 @@ public interface CfnTaskSetProps { * Balancer. */ override fun loadBalancers(loadBalancers: IResolvable) { - cdkBuilder.loadBalancers(loadBalancers.let(IResolvable::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public interface CfnTaskSetProps { * @param networkConfiguration The network configuration for the task set. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface CfnTaskSetProps { */ override fun networkConfiguration(networkConfiguration: CfnTaskSet.NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(CfnTaskSet.NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(CfnTaskSet.NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface CfnTaskSetProps { * running in the task set. */ override fun scale(scale: IResolvable) { - cdkBuilder.scale(scale.let(IResolvable::unwrap)) + cdkBuilder.scale(scale.let(IResolvable.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public interface CfnTaskSetProps { * running in the task set. */ override fun scale(scale: CfnTaskSet.ScaleProperty) { - cdkBuilder.scale(scale.let(CfnTaskSet.ScaleProperty::unwrap)) + cdkBuilder.scale(scale.let(CfnTaskSet.ScaleProperty.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface CfnTaskSetProps { * discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) . */ override fun serviceRegistries(serviceRegistries: IResolvable) { - cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable::unwrap)) + cdkBuilder.serviceRegistries(serviceRegistries.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface CfnTaskSetProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapNamespaceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapNamespaceOptions.kt index 6409deaf5f..85dd277ce9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapNamespaceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapNamespaceOptions.kt @@ -114,7 +114,7 @@ public interface CloudMapNamespaceOptions { * @param type The type of CloudMap Namespace to create. */ override fun type(type: NamespaceType) { - cdkBuilder.type(type.let(NamespaceType::unwrap)) + cdkBuilder.type(type.let(NamespaceType.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public interface CloudMapNamespaceOptions { * This property is required for private DNS namespaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.CloudMapNamespaceOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapOptions.kt index 0bbe091403..962deaeb50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CloudMapOptions.kt @@ -143,14 +143,14 @@ public interface CloudMapOptions { * to the ECS service. */ override fun cloudMapNamespace(cloudMapNamespace: INamespace) { - cdkBuilder.cloudMapNamespace(cloudMapNamespace.let(INamespace::unwrap)) + cdkBuilder.cloudMapNamespace(cloudMapNamespace.let(INamespace.Companion::unwrap)) } /** * @param container The container to point to for a SRV record. */ override fun container(container: ContainerDefinition) { - cdkBuilder.container(container.let(ContainerDefinition::unwrap)) + cdkBuilder.container(container.let(ContainerDefinition.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface CloudMapOptions { * The supported record types are A or SRV. */ override fun dnsRecordType(dnsRecordType: DnsRecordType) { - cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType::unwrap)) + cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface CloudMapOptions { * record. */ override fun dnsTtl(dnsTtl: Duration) { - cdkBuilder.dnsTtl(dnsTtl.let(Duration::unwrap)) + cdkBuilder.dnsTtl(dnsTtl.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Cluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Cluster.kt index 7060f09e6b..3d4d2cc8c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Cluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Cluster.kt @@ -52,7 +52,7 @@ public open class Cluster( cdkObject: software.amazon.awscdk.services.ecs.Cluster, ) : Resource(cdkObject), ICluster { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.Cluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.Cluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -61,8 +61,8 @@ public open class Cluster( id: String, props: ClusterProps, ) : - this(software.amazon.awscdk.services.ecs.Cluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ClusterProps::unwrap)) + this(software.amazon.awscdk.services.ecs.Cluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ClusterProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class Cluster( * @param options */ public open fun addAsgCapacityProvider(provider: AsgCapacityProvider) { - unwrap(this).addAsgCapacityProvider(provider.let(AsgCapacityProvider::unwrap)) + unwrap(this).addAsgCapacityProvider(provider.let(AsgCapacityProvider.Companion::unwrap)) } /** @@ -90,8 +90,8 @@ public open class Cluster( */ public open fun addAsgCapacityProvider(provider: AsgCapacityProvider, options: AddAutoScalingGroupCapacityOptions) { - unwrap(this).addAsgCapacityProvider(provider.let(AsgCapacityProvider::unwrap), - options.let(AddAutoScalingGroupCapacityOptions::unwrap)) + unwrap(this).addAsgCapacityProvider(provider.let(AsgCapacityProvider.Companion::unwrap), + options.let(AddAutoScalingGroupCapacityOptions.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class Cluster( */ public open fun addCapacity(id: String, options: AddCapacityOptions): AutoScalingGroup = unwrap(this).addCapacity(id, - options.let(AddCapacityOptions::unwrap)).let(AutoScalingGroup::wrap) + options.let(AddCapacityOptions.Companion::unwrap)).let(AutoScalingGroup::wrap) /** * It is highly recommended to use `Cluster.addAsgCapacityProvider` instead of this method. @@ -145,7 +145,7 @@ public open class Cluster( */ public open fun addDefaultCapacityProviderStrategy(defaultCapacityProviderStrategy: List) { - unwrap(this).addDefaultCapacityProviderStrategy(defaultCapacityProviderStrategy.map(CapacityProviderStrategy::unwrap)) + unwrap(this).addDefaultCapacityProviderStrategy(defaultCapacityProviderStrategy.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class Cluster( * @param options */ public open fun addDefaultCloudMapNamespace(options: CloudMapNamespaceOptions): INamespace = - unwrap(this).addDefaultCloudMapNamespace(options.let(CloudMapNamespaceOptions::unwrap)).let(INamespace::wrap) + unwrap(this).addDefaultCloudMapNamespace(options.let(CloudMapNamespaceOptions.Companion::unwrap)).let(INamespace::wrap) /** * Add an AWS Cloud Map DNS namespace for this cluster. @@ -259,7 +259,7 @@ public open class Cluster( * @param grantee The entity (e.g., IAM role or user) to grant the permissions to. */ public open fun grantTaskProtection(grantee: IGrantable): Grant = - unwrap(this).grantTaskProtection(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTaskProtection(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Whether the cluster has EC2 capacity associated with it. @@ -282,7 +282,7 @@ public open class Cluster( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the specifed CloudWatch metric for this cluster. @@ -313,7 +313,7 @@ public open class Cluster( * @param props */ public open fun metricCpuReservation(props: MetricOptions): Metric = - unwrap(this).metricCpuReservation(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCpuReservation(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the CloudWatch metric for this clusters CPU reservation. @@ -345,7 +345,7 @@ public open class Cluster( * @param props */ public open fun metricCpuUtilization(props: MetricOptions): Metric = - unwrap(this).metricCpuUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCpuUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the CloudWatch metric for this clusters CPU utilization. @@ -377,7 +377,7 @@ public open class Cluster( * @param props */ public open fun metricMemoryReservation(props: MetricOptions): Metric = - unwrap(this).metricMemoryReservation(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMemoryReservation(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the CloudWatch metric for this clusters memory reservation. @@ -409,7 +409,7 @@ public open class Cluster( * @param props */ public open fun metricMemoryUtilization(props: MetricOptions): Metric = - unwrap(this).metricMemoryUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMemoryUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This method returns the CloudWatch metric for this clusters memory utilization. @@ -552,7 +552,7 @@ public open class Cluster( * @param capacity The ec2 capacity to add to the cluster. */ override fun capacity(capacity: AddCapacityOptions) { - cdkBuilder.capacity(capacity.let(AddCapacityOptions::unwrap)) + cdkBuilder.capacity(capacity.let(AddCapacityOptions.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class Cluster( * @param defaultCloudMapNamespace The service discovery namespace created in this cluster. */ override fun defaultCloudMapNamespace(defaultCloudMapNamespace: CloudMapNamespaceOptions) { - cdkBuilder.defaultCloudMapNamespace(defaultCloudMapNamespace.let(CloudMapNamespaceOptions::unwrap)) + cdkBuilder.defaultCloudMapNamespace(defaultCloudMapNamespace.let(CloudMapNamespaceOptions.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public open class Cluster( */ override fun executeCommandConfiguration(executeCommandConfiguration: ExecuteCommandConfiguration) { - cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfiguration::unwrap)) + cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfiguration.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class Cluster( * @param vpc The VPC where your ECS instances will be running or your ENIs will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.Cluster = cdkBuilder.build() @@ -674,7 +674,7 @@ public open class Cluster( id: String, clusterArn: String, ): ICluster = - software.amazon.awscdk.services.ecs.Cluster.fromClusterArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.Cluster.fromClusterArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, clusterArn).let(ICluster::wrap) public fun fromClusterAttributes( @@ -682,8 +682,8 @@ public open class Cluster( id: String, attrs: ClusterAttributes, ): ICluster = - software.amazon.awscdk.services.ecs.Cluster.fromClusterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ClusterAttributes::unwrap)).let(ICluster::wrap) + software.amazon.awscdk.services.ecs.Cluster.fromClusterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ClusterAttributes.Companion::unwrap)).let(ICluster::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("54fbf9e293c46c81fc7b01109faa86bd7c632a14b9eee35f533a39b6ecf90964") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterAttributes.kt index f9caef3363..9c7c6e7176 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterAttributes.kt @@ -186,7 +186,7 @@ public interface ClusterAttributes { * @param autoscalingGroup Autoscaling group added to the cluster if capacity is added. */ override fun autoscalingGroup(autoscalingGroup: IAutoScalingGroup) { - cdkBuilder.autoscalingGroup(autoscalingGroup.let(IAutoScalingGroup::unwrap)) + cdkBuilder.autoscalingGroup(autoscalingGroup.let(IAutoScalingGroup.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface ClusterAttributes { * @param defaultCloudMapNamespace The AWS Cloud Map namespace to associate with the cluster. */ override fun defaultCloudMapNamespace(defaultCloudMapNamespace: INamespace) { - cdkBuilder.defaultCloudMapNamespace(defaultCloudMapNamespace.let(INamespace::unwrap)) + cdkBuilder.defaultCloudMapNamespace(defaultCloudMapNamespace.let(INamespace.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public interface ClusterAttributes { */ override fun executeCommandConfiguration(executeCommandConfiguration: ExecuteCommandConfiguration) { - cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfiguration::unwrap)) + cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfiguration.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public interface ClusterAttributes { * to the cluster. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface ClusterAttributes { * @param vpc The VPC associated with the cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ClusterAttributes = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterProps.kt index f3713d5d8e..a3154040f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ClusterProps.kt @@ -178,7 +178,7 @@ public interface ClusterProps { * @param capacity The ec2 capacity to add to the cluster. */ override fun capacity(capacity: AddCapacityOptions) { - cdkBuilder.capacity(capacity.let(AddCapacityOptions::unwrap)) + cdkBuilder.capacity(capacity.let(AddCapacityOptions.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface ClusterProps { * @param defaultCloudMapNamespace The service discovery namespace created in this cluster. */ override fun defaultCloudMapNamespace(defaultCloudMapNamespace: CloudMapNamespaceOptions) { - cdkBuilder.defaultCloudMapNamespace(defaultCloudMapNamespace.let(CloudMapNamespaceOptions::unwrap)) + cdkBuilder.defaultCloudMapNamespace(defaultCloudMapNamespace.let(CloudMapNamespaceOptions.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface ClusterProps { */ override fun executeCommandConfiguration(executeCommandConfiguration: ExecuteCommandConfiguration) { - cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfiguration::unwrap)) + cdkBuilder.executeCommandConfiguration(executeCommandConfiguration.let(ExecuteCommandConfiguration.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface ClusterProps { * @param vpc The VPC where your ECS instances will be running or your ENIs will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ClusterProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionAttributes.kt index b935dd5f24..f27303247c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionAttributes.kt @@ -101,14 +101,14 @@ public interface CommonTaskDefinitionAttributes { * Some tasks do not have an execution role. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface CommonTaskDefinitionAttributes { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.CommonTaskDefinitionAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionProps.kt index 15feb21284..9c23d4709c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CommonTaskDefinitionProps.kt @@ -167,7 +167,7 @@ public interface CommonTaskDefinitionProps { * The role will be used to retrieve container images from ECR and create CloudWatch log groups. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public interface CommonTaskDefinitionProps { * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface CommonTaskDefinitionProps { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public interface CommonTaskDefinitionProps { * Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide//task_definition_parameters.html#volumes). */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinition.kt index b2c7d21fcf..f83135b52f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinition.kt @@ -57,8 +57,8 @@ public open class ContainerDefinition( id: String, props: ContainerDefinitionProps, ) : - this(software.amazon.awscdk.services.ecs.ContainerDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ContainerDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.ecs.ContainerDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ContainerDefinitionProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class ContainerDefinition( * @param alias */ public open fun addLink(container: ContainerDefinition) { - unwrap(this).addLink(container.let(ContainerDefinition::unwrap)) + unwrap(this).addLink(container.let(ContainerDefinition.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class ContainerDefinition( * @param alias */ public open fun addLink(container: ContainerDefinition, alias: String) { - unwrap(this).addLink(container.let(ContainerDefinition::unwrap), alias) + unwrap(this).addLink(container.let(ContainerDefinition.Companion::unwrap), alias) } /** @@ -195,7 +195,7 @@ public open class ContainerDefinition( * @param scratch */ public open fun addScratch(scratch: ScratchSpace) { - unwrap(this).addScratch(scratch.let(ScratchSpace::unwrap)) + unwrap(this).addScratch(scratch.let(ScratchSpace.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class ContainerDefinition( * @param secret */ public open fun addSecret(name: String, secret: Secret) { - unwrap(this).addSecret(name, secret.let(Secret::unwrap)) + unwrap(this).addSecret(name, secret.let(Secret.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class ContainerDefinition( * @param statement */ public open fun addToExecutionPolicy(statement: PolicyStatement) { - unwrap(this).addToExecutionPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToExecutionPolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class ContainerDefinition( */ public open fun findPortMapping(containerPort: Number, protocol: Protocol): PortMapping? = unwrap(this).findPortMapping(containerPort, - protocol.let(Protocol::unwrap))?.let(PortMapping::wrap) + protocol.let(Protocol.Companion::unwrap))?.let(PortMapping::wrap) /** * Returns the port mapping with the given name, if it exists. @@ -417,7 +417,7 @@ public open class ContainerDefinition( */ public open fun renderContainerDefinition(taskDefinition: TaskDefinition): CfnTaskDefinition.ContainerDefinitionProperty = - unwrap(this).renderContainerDefinition(taskDefinition.let(TaskDefinition::unwrap)).let(CfnTaskDefinition.ContainerDefinitionProperty::wrap) + unwrap(this).renderContainerDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)).let(CfnTaskDefinition.ContainerDefinitionProperty::wrap) /** * The name of the task definition that includes this container definition. @@ -1021,7 +1021,7 @@ public open class ContainerDefinition( * file that configures the container for Active Directory authentication. */ override fun credentialSpecs(credentialSpecs: List) { - cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec::unwrap)) + cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec.Companion::unwrap)) } /** @@ -1172,7 +1172,7 @@ public open class ContainerDefinition( * @param environmentFiles The environment files to pass to the container. */ override fun environmentFiles(environmentFiles: List) { - cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class ContainerDefinition( * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -1277,7 +1277,7 @@ public open class ContainerDefinition( * @param image The image used to start a container. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -1328,7 +1328,7 @@ public open class ContainerDefinition( * as Linux kernel capabilities. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** @@ -1339,7 +1339,7 @@ public open class ContainerDefinition( * @param logging The log configuration specification for the container. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -1385,7 +1385,7 @@ public open class ContainerDefinition( * @param portMappings The port mappings to add to the container definition. */ override fun portMappings(portMappings: List) { - cdkBuilder.portMappings(portMappings.map(PortMapping::unwrap)) + cdkBuilder.portMappings(portMappings.map(PortMapping.Companion::unwrap)) } /** @@ -1460,7 +1460,7 @@ public open class ContainerDefinition( * dependencies for a container. */ override fun startTimeout(startTimeout: Duration) { - cdkBuilder.startTimeout(startTimeout.let(Duration::unwrap)) + cdkBuilder.startTimeout(startTimeout.let(Duration.Companion::unwrap)) } /** @@ -1473,7 +1473,7 @@ public open class ContainerDefinition( * killed if it doesn't exit normally on its own. */ override fun stopTimeout(stopTimeout: Duration) { - cdkBuilder.stopTimeout(stopTimeout.let(Duration::unwrap)) + cdkBuilder.stopTimeout(stopTimeout.let(Duration.Companion::unwrap)) } /** @@ -1485,7 +1485,7 @@ public open class ContainerDefinition( * @param systemControls A list of namespaced kernel parameters to set in the container. */ override fun systemControls(systemControls: List) { - cdkBuilder.systemControls(systemControls.map(SystemControl::unwrap)) + cdkBuilder.systemControls(systemControls.map(SystemControl.Companion::unwrap)) } /** @@ -1508,7 +1508,7 @@ public open class ContainerDefinition( * definition. */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -1517,7 +1517,7 @@ public open class ContainerDefinition( * @param ulimits An array of ulimits to set in the container. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionOptions.kt index 7050d953c6..55493d7709 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionOptions.kt @@ -693,7 +693,7 @@ public interface ContainerDefinitionOptions { * Currently, only one credential spec is allowed per container definition. */ override fun credentialSpecs(credentialSpecs: List) { - cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec::unwrap)) + cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec.Companion::unwrap)) } /** @@ -784,7 +784,7 @@ public interface ContainerDefinitionOptions { * @param environmentFiles The environment files to pass to the container. */ override fun environmentFiles(environmentFiles: List) { - cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile.Companion::unwrap)) } /** @@ -827,7 +827,7 @@ public interface ContainerDefinitionOptions { * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public interface ContainerDefinitionOptions { * TODO: Update these to specify using classes of IContainerImage */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -886,14 +886,14 @@ public interface ContainerDefinitionOptions { * [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The log configuration specification for the container. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public interface ContainerDefinitionOptions { * @param portMappings The port mappings to add to the container definition. */ override fun portMappings(portMappings: List) { - cdkBuilder.portMappings(portMappings.map(PortMapping::unwrap)) + cdkBuilder.portMappings(portMappings.map(PortMapping.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public interface ContainerDefinitionOptions { * dependencies for a container. */ override fun startTimeout(startTimeout: Duration) { - cdkBuilder.startTimeout(startTimeout.let(Duration::unwrap)) + cdkBuilder.startTimeout(startTimeout.let(Duration.Companion::unwrap)) } /** @@ -980,14 +980,14 @@ public interface ContainerDefinitionOptions { * killed if it doesn't exit normally on its own. */ override fun stopTimeout(stopTimeout: Duration) { - cdkBuilder.stopTimeout(stopTimeout.let(Duration::unwrap)) + cdkBuilder.stopTimeout(stopTimeout.let(Duration.Companion::unwrap)) } /** * @param systemControls A list of namespaced kernel parameters to set in the container. */ override fun systemControls(systemControls: List) { - cdkBuilder.systemControls(systemControls.map(SystemControl::unwrap)) + cdkBuilder.systemControls(systemControls.map(SystemControl.Companion::unwrap)) } /** @@ -1000,7 +1000,7 @@ public interface ContainerDefinitionOptions { * @param ulimits An array of ulimits to set in the container. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionProps.kt index 4131a8dad8..02e2665f18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDefinitionProps.kt @@ -449,7 +449,7 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * Currently, only one credential spec is allowed per container definition. */ override fun credentialSpecs(credentialSpecs: List) { - cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec::unwrap)) + cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * @param environmentFiles The environment files to pass to the container. */ override fun environmentFiles(environmentFiles: List) { - cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * TODO: Update these to specify using classes of IContainerImage */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -642,14 +642,14 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The log configuration specification for the container. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * @param portMappings The port mappings to add to the container definition. */ override fun portMappings(portMappings: List) { - cdkBuilder.portMappings(portMappings.map(PortMapping::unwrap)) + cdkBuilder.portMappings(portMappings.map(PortMapping.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * dependencies for a container. */ override fun startTimeout(startTimeout: Duration) { - cdkBuilder.startTimeout(startTimeout.let(Duration::unwrap)) + cdkBuilder.startTimeout(startTimeout.let(Duration.Companion::unwrap)) } /** @@ -736,14 +736,14 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * killed if it doesn't exit normally on its own. */ override fun stopTimeout(stopTimeout: Duration) { - cdkBuilder.stopTimeout(stopTimeout.let(Duration::unwrap)) + cdkBuilder.stopTimeout(stopTimeout.let(Duration.Companion::unwrap)) } /** * @param systemControls A list of namespaced kernel parameters to set in the container. */ override fun systemControls(systemControls: List) { - cdkBuilder.systemControls(systemControls.map(SystemControl::unwrap)) + cdkBuilder.systemControls(systemControls.map(SystemControl.Companion::unwrap)) } /** @@ -758,14 +758,14 @@ public interface ContainerDefinitionProps : ContainerDefinitionOptions { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** * @param ulimits An array of ulimits to set in the container. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDependency.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDependency.kt index 12fb447afa..9182c9c620 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDependency.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerDependency.kt @@ -73,14 +73,14 @@ public interface ContainerDependency { * ContainerDependencyCondition.SUCCESS and ContainerDependencyCondition.HEALTHY. */ override fun condition(condition: ContainerDependencyCondition) { - cdkBuilder.condition(condition.let(ContainerDependencyCondition::unwrap)) + cdkBuilder.condition(condition.let(ContainerDependencyCondition.Companion::unwrap)) } /** * @param container The container to depend on. */ override fun container(container: ContainerDefinition) { - cdkBuilder.container(container.let(ContainerDefinition::unwrap)) + cdkBuilder.container(container.let(ContainerDefinition.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ContainerDependency = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImage.kt index d3bfb99ebd..6fadefd128 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImage.kt @@ -39,8 +39,8 @@ public abstract class ContainerImage( * @param containerDefinition */ public open fun bind(scope: Construct, containerDefinition: ContainerDefinition): - ContainerImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(ContainerImageConfig::wrap) + ContainerImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(ContainerImageConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ecs.ContainerImage, @@ -52,7 +52,7 @@ public abstract class ContainerImage( public fun fromAsset(directory: String, props: AssetImageProps): AssetImage = software.amazon.awscdk.services.ecs.ContainerImage.fromAsset(directory, - props.let(AssetImageProps::unwrap)).let(AssetImage::wrap) + props.let(AssetImageProps.Companion::unwrap)).let(AssetImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("079bd47206f00ba5df71024a9ccc19749b364c49826c602f2e09d28ba45b86f4") @@ -60,13 +60,13 @@ public abstract class ContainerImage( fromAsset(directory, AssetImageProps(props)) public fun fromDockerImageAsset(asset: DockerImageAsset): ContainerImage = - software.amazon.awscdk.services.ecs.ContainerImage.fromDockerImageAsset(asset.let(DockerImageAsset::unwrap)).let(ContainerImage::wrap) + software.amazon.awscdk.services.ecs.ContainerImage.fromDockerImageAsset(asset.let(DockerImageAsset.Companion::unwrap)).let(ContainerImage::wrap) public fun fromEcrRepository(repository: IRepository): EcrImage = - software.amazon.awscdk.services.ecs.ContainerImage.fromEcrRepository(repository.let(IRepository::unwrap)).let(EcrImage::wrap) + software.amazon.awscdk.services.ecs.ContainerImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap)).let(EcrImage::wrap) public fun fromEcrRepository(repository: IRepository, tag: String): EcrImage = - software.amazon.awscdk.services.ecs.ContainerImage.fromEcrRepository(repository.let(IRepository::unwrap), + software.amazon.awscdk.services.ecs.ContainerImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), tag).let(EcrImage::wrap) public fun fromRegistry(name: String): RepositoryImage = @@ -74,7 +74,7 @@ public abstract class ContainerImage( public fun fromRegistry(name: String, props: RepositoryImageProps): RepositoryImage = software.amazon.awscdk.services.ecs.ContainerImage.fromRegistry(name, - props.let(RepositoryImageProps::unwrap)).let(RepositoryImage::wrap) + props.let(RepositoryImageProps.Companion::unwrap)).let(RepositoryImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("60234a1c1e29f6a957bb3e79efb0c46aace8158ca4dad387364294ac0404dd93") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImageConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImageConfig.kt index e509603862..996536d6f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImageConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ContainerImageConfig.kt @@ -80,7 +80,7 @@ public interface ContainerImageConfig { */ override fun repositoryCredentials(repositoryCredentials: CfnTaskDefinition.RepositoryCredentialsProperty) { - cdkBuilder.repositoryCredentials(repositoryCredentials.let(CfnTaskDefinition.RepositoryCredentialsProperty::unwrap)) + cdkBuilder.repositoryCredentials(repositoryCredentials.let(CfnTaskDefinition.RepositoryCredentialsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CpuUtilizationScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CpuUtilizationScalingProps.kt index f948f918c5..3d74711589 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CpuUtilizationScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/CpuUtilizationScalingProps.kt @@ -102,7 +102,7 @@ public interface CpuUtilizationScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public interface CpuUtilizationScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmConfig.kt index 6f05767268..7ad5fb08de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmConfig.kt @@ -87,7 +87,7 @@ public interface DeploymentAlarmConfig : DeploymentAlarmOptions { * @param behavior Default rollback on alarm. */ override fun behavior(behavior: AlarmBehavior) { - cdkBuilder.behavior(behavior.let(AlarmBehavior::unwrap)) + cdkBuilder.behavior(behavior.let(AlarmBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.DeploymentAlarmConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmOptions.kt index 1491b3f7e6..19dffac6f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentAlarmOptions.kt @@ -65,7 +65,7 @@ public interface DeploymentAlarmOptions { * @param behavior Default rollback on alarm. */ override fun behavior(behavior: AlarmBehavior) { - cdkBuilder.behavior(behavior.let(AlarmBehavior::unwrap)) + cdkBuilder.behavior(behavior.let(AlarmBehavior.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.DeploymentAlarmOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentController.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentController.kt index bbd67f3269..3df26a7829 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentController.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DeploymentController.kt @@ -65,7 +65,7 @@ public interface DeploymentController { * @param type The deployment controller type to use. */ override fun type(type: DeploymentControllerType) { - cdkBuilder.type(type.let(DeploymentControllerType::unwrap)) + cdkBuilder.type(type.let(DeploymentControllerType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.DeploymentController = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Device.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Device.kt index 3aa2b09d79..070b497d1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Device.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Device.kt @@ -100,7 +100,7 @@ public interface Device { * By default, the container has permissions for read, write, and mknod for the device. */ override fun permissions(permissions: List) { - cdkBuilder.permissions(permissions.map(DevicePermission::unwrap)) + cdkBuilder.permissions(permissions.map(DevicePermission.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DockerVolumeConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DockerVolumeConfiguration.kt index 5aea1872e7..8eb48960b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DockerVolumeConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DockerVolumeConfiguration.kt @@ -138,7 +138,7 @@ public interface DockerVolumeConfiguration { * @param scope The scope for the Docker volume that determines its lifecycle. */ override fun scope(scope: Scope) { - cdkBuilder.scope(scope.let(Scope::unwrap)) + cdkBuilder.scope(scope.let(Scope.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.DockerVolumeConfiguration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainJoinedCredentialSpec.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainJoinedCredentialSpec.kt index 84a7bf6005..78068a63d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainJoinedCredentialSpec.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainJoinedCredentialSpec.kt @@ -34,11 +34,11 @@ public open class DomainJoinedCredentialSpec( public companion object { public fun fromS3Bucket(bucket: IBucket, key: String): DomainJoinedCredentialSpec = - software.amazon.awscdk.services.ecs.DomainJoinedCredentialSpec.fromS3Bucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.ecs.DomainJoinedCredentialSpec.fromS3Bucket(bucket.let(IBucket.Companion::unwrap), key).let(DomainJoinedCredentialSpec::wrap) public fun fromSsmParameter(parameter: IParameter): DomainJoinedCredentialSpec = - software.amazon.awscdk.services.ecs.DomainJoinedCredentialSpec.fromSsmParameter(parameter.let(IParameter::unwrap)).let(DomainJoinedCredentialSpec::wrap) + software.amazon.awscdk.services.ecs.DomainJoinedCredentialSpec.fromSsmParameter(parameter.let(IParameter.Companion::unwrap)).let(DomainJoinedCredentialSpec::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.DomainJoinedCredentialSpec): DomainJoinedCredentialSpec = DomainJoinedCredentialSpec(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainlessCredentialSpec.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainlessCredentialSpec.kt index 45d496747a..1158d1fa53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainlessCredentialSpec.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/DomainlessCredentialSpec.kt @@ -34,11 +34,11 @@ public open class DomainlessCredentialSpec( public companion object { public fun fromS3Bucket(bucket: IBucket, key: String): DomainlessCredentialSpec = - software.amazon.awscdk.services.ecs.DomainlessCredentialSpec.fromS3Bucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.ecs.DomainlessCredentialSpec.fromS3Bucket(bucket.let(IBucket.Companion::unwrap), key).let(DomainlessCredentialSpec::wrap) public fun fromSsmParameter(parameter: IParameter): DomainlessCredentialSpec = - software.amazon.awscdk.services.ecs.DomainlessCredentialSpec.fromSsmParameter(parameter.let(IParameter::unwrap)).let(DomainlessCredentialSpec::wrap) + software.amazon.awscdk.services.ecs.DomainlessCredentialSpec.fromSsmParameter(parameter.let(IParameter.Companion::unwrap)).let(DomainlessCredentialSpec::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.DomainlessCredentialSpec): DomainlessCredentialSpec = DomainlessCredentialSpec(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EBSTagSpecification.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EBSTagSpecification.kt index 8694ff992f..57b5a8bb04 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EBSTagSpecification.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EBSTagSpecification.kt @@ -71,7 +71,7 @@ public interface EBSTagSpecification { * Valid values are: PropagatedTagSource.SERVICE, PropagatedTagSource.TASK_DEFINITION */ override fun propagateTags(propagateTags: EbsPropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(EbsPropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(EbsPropagatedTagSource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2Service.kt index dc616cd27a..8fe815afab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2Service.kt @@ -43,8 +43,8 @@ public open class Ec2Service( id: String, props: Ec2ServiceProps, ) : - this(software.amazon.awscdk.services.ecs.Ec2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(Ec2ServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.Ec2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(Ec2ServiceProps.Companion::unwrap)) ) public constructor( @@ -542,7 +542,7 @@ public open class Ec2Service( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public open class Ec2Service( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class Ec2Service( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class Ec2Service( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public open class Ec2Service( * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class Ec2Service( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class Ec2Service( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class Ec2Service( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public open class Ec2Service( * @param placementStrategies The placement strategies to use for tasks in the service. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public open class Ec2Service( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public open class Ec2Service( * @param securityGroups The security groups to associate with the service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public open class Ec2Service( * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -926,7 +926,7 @@ public open class Ec2Service( * @param taskDefinition The task definition to use for tasks in the service. */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -938,7 +938,7 @@ public open class Ec2Service( * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -952,7 +952,7 @@ public open class Ec2Service( * @param volumeConfigurations Configuration details for a volume used by the service. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class Ec2Service( * @param vpcSubnets The subnets to associate with the service. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1006,7 +1006,7 @@ public open class Ec2Service( id: String, ec2ServiceArn: String, ): IEc2Service = - software.amazon.awscdk.services.ecs.Ec2Service.fromEc2ServiceArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.Ec2Service.fromEc2ServiceArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, ec2ServiceArn).let(IEc2Service::wrap) public fun fromEc2ServiceAttributes( @@ -1014,8 +1014,8 @@ public open class Ec2Service( id: String, attrs: Ec2ServiceAttributes, ): IBaseService = - software.amazon.awscdk.services.ecs.Ec2Service.fromEc2ServiceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(Ec2ServiceAttributes::unwrap)).let(IBaseService::wrap) + software.amazon.awscdk.services.ecs.Ec2Service.fromEc2ServiceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(Ec2ServiceAttributes.Companion::unwrap)).let(IBaseService::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("deda49ac6a4ffe06a7cd5863c7416e87d620457ecd6508bced33ce9c2f31b151") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceAttributes.kt index 3f9524f7d8..9bd45c1f92 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceAttributes.kt @@ -75,7 +75,7 @@ public interface Ec2ServiceAttributes { * @param cluster The cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceProps.kt index 3c981fb39a..6de2745191 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2ServiceProps.kt @@ -394,7 +394,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html). */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * PropagatedTagSource.NONE */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * This property is only used for tasks that use the awsvpc network mode. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -646,7 +646,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * details about the EBS volume that can be attched to ECS tasks. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public interface Ec2ServiceProps : BaseServiceOptions { * This property is only used for tasks that use the awsvpc network mode. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinition.kt index 06123f0e1e..8f63e7ea08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinition.kt @@ -34,7 +34,7 @@ public open class Ec2TaskDefinition( cdkObject: software.amazon.awscdk.services.ecs.Ec2TaskDefinition, ) : TaskDefinition(cdkObject), IEc2TaskDefinition { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.Ec2TaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.Ec2TaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -43,8 +43,8 @@ public open class Ec2TaskDefinition( id: String, props: Ec2TaskDefinitionProps, ) : - this(software.amazon.awscdk.services.ecs.Ec2TaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(Ec2TaskDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.ecs.Ec2TaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(Ec2TaskDefinitionProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class Ec2TaskDefinition( */ public override fun addContainer(id: String, props: ContainerDefinitionOptions): ContainerDefinition = unwrap(this).addContainer(id, - props.let(ContainerDefinitionOptions::unwrap)).let(ContainerDefinition::wrap) + props.let(ContainerDefinitionOptions.Companion::unwrap)).let(ContainerDefinition::wrap) /** * Tasks running in AWSVPC networking mode requires an additional environment variable for the @@ -262,7 +262,7 @@ public open class Ec2TaskDefinition( * permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class Ec2TaskDefinition( * task. */ override fun inferenceAccelerators(inferenceAccelerators: List) { - cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator::unwrap)) + cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class Ec2TaskDefinition( * @param ipcMode The IPC resource namespace to use for the containers in the task. */ override fun ipcMode(ipcMode: IpcMode) { - cdkBuilder.ipcMode(ipcMode.let(IpcMode::unwrap)) + cdkBuilder.ipcMode(ipcMode.let(IpcMode.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public open class Ec2TaskDefinition( * @param networkMode The Docker networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class Ec2TaskDefinition( * @param pidMode The process namespace to use for the containers in the task. */ override fun pidMode(pidMode: PidMode) { - cdkBuilder.pidMode(pidMode.let(PidMode::unwrap)) + cdkBuilder.pidMode(pidMode.let(PidMode.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class Ec2TaskDefinition( * @param placementConstraints An array of placement constraint objects to use for the task. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class Ec2TaskDefinition( * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class Ec2TaskDefinition( * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class Ec2TaskDefinition( * @param volumes The list of volume definitions for the task. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class Ec2TaskDefinition( id: String, ec2TaskDefinitionArn: String, ): IEc2TaskDefinition = - software.amazon.awscdk.services.ecs.Ec2TaskDefinition.fromEc2TaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.Ec2TaskDefinition.fromEc2TaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, ec2TaskDefinitionArn).let(IEc2TaskDefinition::wrap) public fun fromEc2TaskDefinitionAttributes( @@ -442,8 +442,8 @@ public open class Ec2TaskDefinition( id: String, attrs: Ec2TaskDefinitionAttributes, ): IEc2TaskDefinition = - software.amazon.awscdk.services.ecs.Ec2TaskDefinition.fromEc2TaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(Ec2TaskDefinitionAttributes::unwrap)).let(IEc2TaskDefinition::wrap) + software.amazon.awscdk.services.ecs.Ec2TaskDefinition.fromEc2TaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(Ec2TaskDefinitionAttributes.Companion::unwrap)).let(IEc2TaskDefinition::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("831e03cd1177ff8a7b26c4aea6d55da95fb064478c439f83bd74f417450d0e79") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionAttributes.kt index e747385c5d..aac041bd25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionAttributes.kt @@ -69,14 +69,14 @@ public interface Ec2TaskDefinitionAttributes : CommonTaskDefinitionAttributes { * Some tasks do not have an execution role. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -91,7 +91,7 @@ public interface Ec2TaskDefinitionAttributes : CommonTaskDefinitionAttributes { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.Ec2TaskDefinitionAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionProps.kt index 33f14f4dce..4dea432c8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ec2TaskDefinitionProps.kt @@ -181,7 +181,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * The role will be used to retrieve container images from ECR and create CloudWatch log groups. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * Not supported in Fargate. */ override fun inferenceAccelerators(inferenceAccelerators: List) { - cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator::unwrap)) + cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * Not supported in Fargate and Windows containers. */ override fun ipcMode(ipcMode: IpcMode) { - cdkBuilder.ipcMode(ipcMode.let(IpcMode::unwrap)) + cdkBuilder.ipcMode(ipcMode.let(IpcMode.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * The valid values are NONE, BRIDGE, AWS_VPC, and HOST. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * Not supported in Windows containers. */ override fun pidMode(pidMode: PidMode) { - cdkBuilder.pidMode(pidMode.let(PidMode::unwrap)) + cdkBuilder.pidMode(pidMode.let(PidMode.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * constraints in the task definition and those specified at run time). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface Ec2TaskDefinitionProps : CommonTaskDefinitionProps { * Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide//task_definition_parameters.html#volumes). */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcrImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcrImage.kt index a283f0b6b6..6725383785 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcrImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcrImage.kt @@ -24,7 +24,7 @@ public open class EcrImage( cdkObject: software.amazon.awscdk.services.ecs.EcrImage, ) : ContainerImage(cdkObject) { public constructor(repository: IRepository, tagOrDigest: String) : - this(software.amazon.awscdk.services.ecs.EcrImage(repository.let(IRepository::unwrap), + this(software.amazon.awscdk.services.ecs.EcrImage(repository.let(IRepository.Companion::unwrap), tagOrDigest) ) @@ -35,8 +35,8 @@ public open class EcrImage( * @param containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - ContainerImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(ContainerImageConfig::wrap) + ContainerImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(ContainerImageConfig::wrap) /** * The image name. Images in Amazon ECR repositories can be specified by either using the full diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsOptimizedImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsOptimizedImage.kt index 85a416366c..57673cadbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsOptimizedImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsOptimizedImage.kt @@ -49,14 +49,14 @@ public open class EcsOptimizedImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) public companion object { public fun amazonLinux(): EcsOptimizedImage = software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux().let(EcsOptimizedImage::wrap) public fun amazonLinux(options: EcsOptimizedImageOptions): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux(options.let(EcsOptimizedImageOptions::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux(options.let(EcsOptimizedImageOptions.Companion::unwrap)).let(EcsOptimizedImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f93e5a87fbd6616222398433e1ccd8b9a1e019d397ddd8e321f33a36989609a7") @@ -67,12 +67,12 @@ public open class EcsOptimizedImage( software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2().let(EcsOptimizedImage::wrap) public fun amazonLinux2(hardwareType: AmiHardwareType): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2(hardwareType.let(AmiHardwareType::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2(hardwareType.let(AmiHardwareType.Companion::unwrap)).let(EcsOptimizedImage::wrap) public fun amazonLinux2(hardwareType: AmiHardwareType, options: EcsOptimizedImageOptions): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2(hardwareType.let(AmiHardwareType::unwrap), - options.let(EcsOptimizedImageOptions::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2(hardwareType.let(AmiHardwareType.Companion::unwrap), + options.let(EcsOptimizedImageOptions.Companion::unwrap)).let(EcsOptimizedImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fc3aa8d938d5713c1147297adfe81e772ad3efd29124368f915a9af0ce144697") @@ -84,12 +84,12 @@ public open class EcsOptimizedImage( software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2023().let(EcsOptimizedImage::wrap) public fun amazonLinux2023(hardwareType: AmiHardwareType): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2023(hardwareType.let(AmiHardwareType::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2023(hardwareType.let(AmiHardwareType.Companion::unwrap)).let(EcsOptimizedImage::wrap) public fun amazonLinux2023(hardwareType: AmiHardwareType, options: EcsOptimizedImageOptions): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2023(hardwareType.let(AmiHardwareType::unwrap), - options.let(EcsOptimizedImageOptions::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.amazonLinux2023(hardwareType.let(AmiHardwareType.Companion::unwrap), + options.let(EcsOptimizedImageOptions.Companion::unwrap)).let(EcsOptimizedImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("aa3b2f35b5fa6f9d797342f29e3bf57f158ca291e867516dafe0ff05bb7c144c") @@ -98,12 +98,12 @@ public open class EcsOptimizedImage( amazonLinux2023(hardwareType, EcsOptimizedImageOptions(options)) public fun windows(windowsVersion: WindowsOptimizedVersion): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.windows(windowsVersion.let(WindowsOptimizedVersion::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.windows(windowsVersion.let(WindowsOptimizedVersion.Companion::unwrap)).let(EcsOptimizedImage::wrap) public fun windows(windowsVersion: WindowsOptimizedVersion, options: EcsOptimizedImageOptions): EcsOptimizedImage = - software.amazon.awscdk.services.ecs.EcsOptimizedImage.windows(windowsVersion.let(WindowsOptimizedVersion::unwrap), - options.let(EcsOptimizedImageOptions::unwrap)).let(EcsOptimizedImage::wrap) + software.amazon.awscdk.services.ecs.EcsOptimizedImage.windows(windowsVersion.let(WindowsOptimizedVersion.Companion::unwrap), + options.let(EcsOptimizedImageOptions.Companion::unwrap)).let(EcsOptimizedImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a6b383a2e109bf0dcab6b90cd7f90e03c0ab136e7b88e89b9a716c1541d1e014") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsTarget.kt index 63c2c4a75d..809da271b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EcsTarget.kt @@ -122,7 +122,7 @@ public interface EcsTarget { * @param listener Listener and properties for adding target group to the listener. */ override fun listener(listener: ListenerConfig) { - cdkBuilder.listener(listener.let(ListenerConfig::unwrap)) + cdkBuilder.listener(listener.let(ListenerConfig.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface EcsTarget { * Only applicable when using application load balancers. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.EcsTarget = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EfsVolumeConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EfsVolumeConfiguration.kt index 6a7814dff3..ca5b661c86 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EfsVolumeConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EfsVolumeConfiguration.kt @@ -134,7 +134,7 @@ public interface EfsVolumeConfiguration { * system. */ override fun authorizationConfig(authorizationConfig: AuthorizationConfig) { - cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfig::unwrap)) + cdkBuilder.authorizationConfig(authorizationConfig.let(AuthorizationConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFile.kt index b663c35b64..0009041f57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFile.kt @@ -55,7 +55,7 @@ public abstract class EnvironmentFile( * @param scope The binding scope. */ public open fun bind(scope: Construct): EnvironmentFileConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(EnvironmentFileConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(EnvironmentFileConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ecs.EnvironmentFile, @@ -67,7 +67,7 @@ public abstract class EnvironmentFile( public fun fromAsset(path: String, options: AssetOptions): AssetEnvironmentFile = software.amazon.awscdk.services.ecs.EnvironmentFile.fromAsset(path, - options.let(AssetOptions::unwrap)).let(AssetEnvironmentFile::wrap) + options.let(AssetOptions.Companion::unwrap)).let(AssetEnvironmentFile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("edeec1152b0bf37aee91af633844d9f37c3d95bf602d5a2e342201186b0d53ef") @@ -75,7 +75,7 @@ public abstract class EnvironmentFile( AssetEnvironmentFile = fromAsset(path, AssetOptions(options)) public fun fromBucket(bucket: IBucket, key: String): S3EnvironmentFile = - software.amazon.awscdk.services.ecs.EnvironmentFile.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.ecs.EnvironmentFile.fromBucket(bucket.let(IBucket.Companion::unwrap), key).let(S3EnvironmentFile::wrap) public fun fromBucket( @@ -83,7 +83,7 @@ public abstract class EnvironmentFile( key: String, objectVersion: String, ): S3EnvironmentFile = - software.amazon.awscdk.services.ecs.EnvironmentFile.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.ecs.EnvironmentFile.fromBucket(bucket.let(IBucket.Companion::unwrap), key, objectVersion).let(S3EnvironmentFile::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.EnvironmentFile): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFileConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFileConfig.kt index 8d77e93828..808fae38f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFileConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/EnvironmentFileConfig.kt @@ -71,14 +71,14 @@ public interface EnvironmentFileConfig { * @param fileType The type of environment file. */ override fun fileType(fileType: EnvironmentFileType) { - cdkBuilder.fileType(fileType.let(EnvironmentFileType::unwrap)) + cdkBuilder.fileType(fileType.let(EnvironmentFileType.Companion::unwrap)) } /** * @param s3Location The location of the environment file in S3. */ override fun s3Location(s3Location: Location) { - cdkBuilder.s3Location(s3Location.let(Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(Location.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandConfiguration.kt index f8cb9aed39..5aa05548ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandConfiguration.kt @@ -112,7 +112,7 @@ public interface ExecuteCommandConfiguration { * client and the container. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface ExecuteCommandConfiguration { * The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. */ override fun logConfiguration(logConfiguration: ExecuteCommandLogConfiguration) { - cdkBuilder.logConfiguration(logConfiguration.let(ExecuteCommandLogConfiguration::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(ExecuteCommandLogConfiguration.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface ExecuteCommandConfiguration { * @param logging The log settings to use for logging the execute command session. */ override fun logging(logging: ExecuteCommandLogging) { - cdkBuilder.logging(logging.let(ExecuteCommandLogging::unwrap)) + cdkBuilder.logging(logging.let(ExecuteCommandLogging.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ExecuteCommandConfiguration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandLogConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandLogConfiguration.kt index f8b7d5f0a9..74004ec437 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandLogConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExecuteCommandLogConfiguration.kt @@ -140,7 +140,7 @@ public interface ExecuteCommandLogConfiguration { * The CloudWatch log group must already be created. */ override fun cloudWatchLogGroup(cloudWatchLogGroup: ILogGroup) { - cdkBuilder.cloudWatchLogGroup(cloudWatchLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.cloudWatchLogGroup(cloudWatchLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface ExecuteCommandLogConfiguration { * The S3 bucket must already be created. */ override fun s3Bucket(s3Bucket: IBucket) { - cdkBuilder.s3Bucket(s3Bucket.let(IBucket::unwrap)) + cdkBuilder.s3Bucket(s3Bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalService.kt index 233a81a07d..8fcb92eb47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalService.kt @@ -42,8 +42,8 @@ public open class ExternalService( id: String, props: ExternalServiceProps, ) : - this(software.amazon.awscdk.services.ecs.ExternalService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ExternalServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.ExternalService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ExternalServiceProps.Companion::unwrap)) ) public constructor( @@ -60,7 +60,7 @@ public open class ExternalService( * @param _options */ public override fun associateCloudMapService(options: AssociateCloudMapServiceOptions) { - unwrap(this).associateCloudMapService(options.let(AssociateCloudMapServiceOptions::unwrap)) + unwrap(this).associateCloudMapService(options.let(AssociateCloudMapServiceOptions.Companion::unwrap)) } /** @@ -83,7 +83,7 @@ public open class ExternalService( */ public override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Overriden method to throw error as `autoScaleTaskCount` is not supported for external service. @@ -91,7 +91,7 @@ public open class ExternalService( * @param _props */ public override fun autoScaleTaskCount(props: EnableScalingProps): ScalableTaskCount = - unwrap(this).autoScaleTaskCount(props.let(EnableScalingProps::unwrap)).let(ScalableTaskCount::wrap) + unwrap(this).autoScaleTaskCount(props.let(EnableScalingProps.Companion::unwrap)).let(ScalableTaskCount::wrap) /** * Overriden method to throw error as `autoScaleTaskCount` is not supported for external service. @@ -109,7 +109,7 @@ public open class ExternalService( * @param _options */ public override fun enableCloudMap(options: CloudMapOptions): Service = - unwrap(this).enableCloudMap(options.let(CloudMapOptions::unwrap)).let(Service::wrap) + unwrap(this).enableCloudMap(options.let(CloudMapOptions.Companion::unwrap)).let(Service::wrap) /** * Overriden method to throw error as `enableCloudMap` is not supported for external service. @@ -128,7 +128,7 @@ public open class ExternalService( */ public override fun loadBalancerTarget(options: LoadBalancerTargetOptions): IEcsLoadBalancerTarget = - unwrap(this).loadBalancerTarget(options.let(LoadBalancerTargetOptions::unwrap)).let(IEcsLoadBalancerTarget::wrap) + unwrap(this).loadBalancerTarget(options.let(LoadBalancerTargetOptions.Companion::unwrap)).let(IEcsLoadBalancerTarget::wrap) /** * Overriden method to throw error as `loadBalancerTarget` is not supported for external service. @@ -495,7 +495,7 @@ public open class ExternalService( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class ExternalService( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public open class ExternalService( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class ExternalService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class ExternalService( * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class ExternalService( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class ExternalService( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public open class ExternalService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public open class ExternalService( * @param securityGroups The security groups to associate with the service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public open class ExternalService( * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -800,7 +800,7 @@ public open class ExternalService( * @param taskDefinition The task definition to use for tasks in the service. */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class ExternalService( * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -826,7 +826,7 @@ public open class ExternalService( * @param volumeConfigurations Configuration details for a volume used by the service. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public open class ExternalService( id: String, externalServiceArn: String, ): IExternalService = - software.amazon.awscdk.services.ecs.ExternalService.fromExternalServiceArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.ExternalService.fromExternalServiceArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, externalServiceArn).let(IExternalService::wrap) public fun fromExternalServiceAttributes( @@ -859,8 +859,8 @@ public open class ExternalService( id: String, attrs: ExternalServiceAttributes, ): IBaseService = - software.amazon.awscdk.services.ecs.ExternalService.fromExternalServiceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ExternalServiceAttributes::unwrap)).let(IBaseService::wrap) + software.amazon.awscdk.services.ecs.ExternalService.fromExternalServiceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ExternalServiceAttributes.Companion::unwrap)).let(IBaseService::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9c821c053693b374d19971efb06539e7456849cba31705ede4c6c0f7fb4674de") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceAttributes.kt index 60f598850a..919af43d12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceAttributes.kt @@ -75,7 +75,7 @@ public interface ExternalServiceAttributes { * @param cluster The cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceProps.kt index 3be69d697a..3312cbb901 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalServiceProps.kt @@ -248,7 +248,7 @@ public interface ExternalServiceProps : BaseServiceOptions { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * PropagatedTagSource.NONE */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * If you do not specify a security group, a new security group is created. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public interface ExternalServiceProps : BaseServiceOptions { * details about the EBS volume that can be attched to ECS tasks. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinition.kt index fc6b2d036f..3e629d202a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinition.kt @@ -30,7 +30,7 @@ public open class ExternalTaskDefinition( cdkObject: software.amazon.awscdk.services.ecs.ExternalTaskDefinition, ) : TaskDefinition(cdkObject), IExternalTaskDefinition { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.ExternalTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.ExternalTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,8 @@ public open class ExternalTaskDefinition( id: String, props: ExternalTaskDefinitionProps, ) : - this(software.amazon.awscdk.services.ecs.ExternalTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ExternalTaskDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.ecs.ExternalTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ExternalTaskDefinitionProps.Companion::unwrap)) ) public constructor( @@ -56,7 +56,7 @@ public open class ExternalTaskDefinition( * @param _inferenceAccelerator */ public override fun addInferenceAccelerator(inferenceAccelerator: InferenceAccelerator) { - unwrap(this).addInferenceAccelerator(inferenceAccelerator.let(InferenceAccelerator::unwrap)) + unwrap(this).addInferenceAccelerator(inferenceAccelerator.let(InferenceAccelerator.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class ExternalTaskDefinition( * permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class ExternalTaskDefinition( * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class ExternalTaskDefinition( * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class ExternalTaskDefinition( * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class ExternalTaskDefinition( * @param volumes The list of volume definitions for the task. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class ExternalTaskDefinition( id: String, externalTaskDefinitionArn: String, ): IExternalTaskDefinition = - software.amazon.awscdk.services.ecs.ExternalTaskDefinition.fromEc2TaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.ExternalTaskDefinition.fromEc2TaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, externalTaskDefinitionArn).let(IExternalTaskDefinition::wrap) public fun fromExternalTaskDefinitionAttributes( @@ -277,8 +277,9 @@ public open class ExternalTaskDefinition( id: String, attrs: ExternalTaskDefinitionAttributes, ): IExternalTaskDefinition = - software.amazon.awscdk.services.ecs.ExternalTaskDefinition.fromExternalTaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ExternalTaskDefinitionAttributes::unwrap)).let(IExternalTaskDefinition::wrap) + software.amazon.awscdk.services.ecs.ExternalTaskDefinition.fromExternalTaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(ExternalTaskDefinitionAttributes.Companion::unwrap)).let(IExternalTaskDefinition::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("79b74a848577dd70dae18e1ee2e46d90562825a4b2b91ccfd7a22ec79c56b22a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionAttributes.kt index bd30ef3161..56175e467a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionAttributes.kt @@ -71,14 +71,14 @@ public interface ExternalTaskDefinitionAttributes : CommonTaskDefinitionAttribut * Some tasks do not have an execution role. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public interface ExternalTaskDefinitionAttributes : CommonTaskDefinitionAttribut * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ExternalTaskDefinitionAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionProps.kt index 703c25de36..7317cb43fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ExternalTaskDefinitionProps.kt @@ -132,7 +132,7 @@ public interface ExternalTaskDefinitionProps : CommonTaskDefinitionProps { * The role will be used to retrieve container images from ECR and create CloudWatch log groups. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -148,14 +148,14 @@ public interface ExternalTaskDefinitionProps : CommonTaskDefinitionProps { * With ECS Anywhere, supported modes are bridge, host and none. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface ExternalTaskDefinitionProps : CommonTaskDefinitionProps { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface ExternalTaskDefinitionProps : CommonTaskDefinitionProps { * Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide//task_definition_parameters.html#volumes). */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateService.kt index cbc789a95a..d71d685315 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateService.kt @@ -54,8 +54,8 @@ public open class FargateService( id: String, props: FargateServiceProps, ) : - this(software.amazon.awscdk.services.ecs.FargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FargateServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.FargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FargateServiceProps.Companion::unwrap)) ) public constructor( @@ -461,7 +461,7 @@ public open class FargateService( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class FargateService( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class FargateService( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class FargateService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public open class FargateService( * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public open class FargateService( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class FargateService( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class FargateService( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public open class FargateService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -723,7 +723,7 @@ public open class FargateService( * @param securityGroups The security groups to associate with the service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class FargateService( * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public open class FargateService( * @param taskDefinition The task definition to use for tasks in the service. */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class FargateService( * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class FargateService( * @param volumeConfigurations Configuration details for a volume used by the service. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class FargateService( * @param vpcSubnets The subnets to associate with the service. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class FargateService( id: String, fargateServiceArn: String, ): IFargateService = - software.amazon.awscdk.services.ecs.FargateService.fromFargateServiceArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.FargateService.fromFargateServiceArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, fargateServiceArn).let(IFargateService::wrap) public fun fromFargateServiceAttributes( @@ -867,8 +867,8 @@ public open class FargateService( id: String, attrs: FargateServiceAttributes, ): IBaseService = - software.amazon.awscdk.services.ecs.FargateService.fromFargateServiceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(FargateServiceAttributes::unwrap)).let(IBaseService::wrap) + software.amazon.awscdk.services.ecs.FargateService.fromFargateServiceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(FargateServiceAttributes.Companion::unwrap)).let(IBaseService::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3c5efe0a0970d19a1c51a45728e582eb1f09f35537ee09070a9268210df4858a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceAttributes.kt index 6c60f1c58e..5eb3f478c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceAttributes.kt @@ -75,7 +75,7 @@ public interface FargateServiceAttributes { * @param cluster The cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceProps.kt index d3fee11a2f..20e52e32fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateServiceProps.kt @@ -335,7 +335,7 @@ public interface FargateServiceProps : BaseServiceOptions { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface FargateServiceProps : BaseServiceOptions { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface FargateServiceProps : BaseServiceOptions { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface FargateServiceProps : BaseServiceOptions { * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public interface FargateServiceProps : BaseServiceOptions { * at least one enters a state of alarm during the deployment or bake time. */ override fun deploymentAlarms(deploymentAlarms: DeploymentAlarmConfig) { - cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig::unwrap)) + cdkBuilder.deploymentAlarms(deploymentAlarms.let(DeploymentAlarmConfig.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface FargateServiceProps : BaseServiceOptions { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public interface FargateServiceProps : BaseServiceOptions { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public interface FargateServiceProps : BaseServiceOptions { * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public interface FargateServiceProps : BaseServiceOptions { * PropagatedTagSource.NONE */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public interface FargateServiceProps : BaseServiceOptions { * If you do not specify a security group, a new security group is created. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public interface FargateServiceProps : BaseServiceOptions { * @param serviceConnectConfiguration Configuration for Service Connect. */ override fun serviceConnectConfiguration(serviceConnectConfiguration: ServiceConnectProps) { - cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps::unwrap)) + cdkBuilder.serviceConnectConfiguration(serviceConnectConfiguration.let(ServiceConnectProps.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public interface FargateServiceProps : BaseServiceOptions { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public interface FargateServiceProps : BaseServiceOptions { * latest active task revision. */ override fun taskDefinitionRevision(taskDefinitionRevision: TaskDefinitionRevision) { - cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision::unwrap)) + cdkBuilder.taskDefinitionRevision(taskDefinitionRevision.let(TaskDefinitionRevision.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public interface FargateServiceProps : BaseServiceOptions { * details about the EBS volume that can be attched to ECS tasks. */ override fun volumeConfigurations(volumeConfigurations: List) { - cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.map(ServiceManagedVolume.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public interface FargateServiceProps : BaseServiceOptions { * @param vpcSubnets The subnets to associate with the service. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinition.kt index eccd9f261e..bf96fac311 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinition.kt @@ -44,7 +44,7 @@ public open class FargateTaskDefinition( cdkObject: software.amazon.awscdk.services.ecs.FargateTaskDefinition, ) : TaskDefinition(cdkObject), IFargateTaskDefinition { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.FargateTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.FargateTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class FargateTaskDefinition( id: String, props: FargateTaskDefinitionProps, ) : - this(software.amazon.awscdk.services.ecs.FargateTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FargateTaskDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.ecs.FargateTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FargateTaskDefinitionProps.Companion::unwrap)) ) public constructor( @@ -190,8 +190,12 @@ public open class FargateTaskDefinition( * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in + * Windows containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified * @@ -341,7 +345,7 @@ public open class FargateTaskDefinition( * permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -395,15 +399,19 @@ public open class FargateTaskDefinition( * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in + * Windows containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified * * @param pidMode The process namespace to use for the containers in the task. */ override fun pidMode(pidMode: PidMode) { - cdkBuilder.pidMode(pidMode.let(PidMode::unwrap)) + cdkBuilder.pidMode(pidMode.let(PidMode.Companion::unwrap)) } /** @@ -414,7 +422,7 @@ public open class FargateTaskDefinition( * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -427,7 +435,7 @@ public open class FargateTaskDefinition( * @param runtimePlatform The operating system that your task definitions are running on. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -454,7 +462,7 @@ public open class FargateTaskDefinition( * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -469,7 +477,7 @@ public open class FargateTaskDefinition( * @param volumes The list of volume definitions for the task. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** @@ -495,7 +503,7 @@ public open class FargateTaskDefinition( id: String, fargateTaskDefinitionArn: String, ): IFargateTaskDefinition = - software.amazon.awscdk.services.ecs.FargateTaskDefinition.fromFargateTaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.FargateTaskDefinition.fromFargateTaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, fargateTaskDefinitionArn).let(IFargateTaskDefinition::wrap) public fun fromFargateTaskDefinitionAttributes( @@ -503,8 +511,9 @@ public open class FargateTaskDefinition( id: String, attrs: FargateTaskDefinitionAttributes, ): IFargateTaskDefinition = - software.amazon.awscdk.services.ecs.FargateTaskDefinition.fromFargateTaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(FargateTaskDefinitionAttributes::unwrap)).let(IFargateTaskDefinition::wrap) + software.amazon.awscdk.services.ecs.FargateTaskDefinition.fromFargateTaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(FargateTaskDefinitionAttributes.Companion::unwrap)).let(IFargateTaskDefinition::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a04252545f1217926f85148bb768fff294d8987397e2ce21b792cf7ae5f7fdcf") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionAttributes.kt index 7fff2d3b27..bf177bc895 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionAttributes.kt @@ -71,14 +71,14 @@ public interface FargateTaskDefinitionAttributes : CommonTaskDefinitionAttribute * Some tasks do not have an execution role. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public interface FargateTaskDefinitionAttributes : CommonTaskDefinitionAttribute * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.FargateTaskDefinitionAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionProps.kt index 8a849c07df..0765226feb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FargateTaskDefinitionProps.kt @@ -26,7 +26,7 @@ import kotlin.jvm.JvmName * .build()) * .memoryLimitMiB(512) * .cpu(256) - * .pidMode(PidMode.HOST) + * .pidMode(PidMode.TASK) * .build(); * ``` */ @@ -107,8 +107,12 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in + * Windows containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified */ @@ -209,8 +213,12 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { /** * @param pidMode The process namespace to use for the containers in the task. * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in + * Windows containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). */ public fun pidMode(pidMode: PidMode) @@ -307,7 +315,7 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { * The role will be used to retrieve container images from ECR and create CloudWatch log groups. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -350,18 +358,22 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { /** * @param pidMode The process namespace to use for the containers in the task. * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in + * Windows containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). */ override fun pidMode(pidMode: PidMode) { - cdkBuilder.pidMode(pidMode.let(PidMode::unwrap)) + cdkBuilder.pidMode(pidMode.let(PidMode.Companion::unwrap)) } /** * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -369,7 +381,7 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { * A runtimePlatform is supported only for tasks using the Fargate launch type. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -386,7 +398,7 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -396,7 +408,7 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { * Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide//task_definition_parameters.html#volumes). */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** @@ -510,8 +522,12 @@ public interface FargateTaskDefinitionProps : CommonTaskDefinitionProps { * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in + * Windows containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FireLensLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FireLensLogDriver.kt index 86f0323705..5b91248fcb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FireLensLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FireLensLogDriver.kt @@ -36,7 +36,7 @@ public open class FireLensLogDriver( cdkObject: software.amazon.awscdk.services.ecs.FireLensLogDriver, ) : LogDriver(cdkObject) { public constructor(props: FireLensLogDriverProps) : - this(software.amazon.awscdk.services.ecs.FireLensLogDriver(props.let(FireLensLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.FireLensLogDriver(props.let(FireLensLogDriverProps.Companion::unwrap)) ) public constructor(props: FireLensLogDriverProps.Builder.() -> Unit) : @@ -50,8 +50,8 @@ public open class FireLensLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.FireLensLogDriver]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensConfig.kt index 941f34ef92..5b1af0a3de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensConfig.kt @@ -75,7 +75,7 @@ public interface FirelensConfig { * @param options Firelens options. */ override fun options(options: FirelensOptions) { - cdkBuilder.options(options.let(FirelensOptions::unwrap)) + cdkBuilder.options(options.let(FirelensOptions.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public interface FirelensConfig { * @param type The log router to use. */ override fun type(type: FirelensLogRouterType) { - cdkBuilder.type(type.let(FirelensLogRouterType::unwrap)) + cdkBuilder.type(type.let(FirelensLogRouterType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.FirelensConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouter.kt index 8143a821c4..3caf3b6b60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouter.kt @@ -117,8 +117,8 @@ public open class FirelensLogRouter( id: String, props: FirelensLogRouterProps, ) : - this(software.amazon.awscdk.services.ecs.FirelensLogRouter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FirelensLogRouterProps::unwrap)) + this(software.amazon.awscdk.services.ecs.FirelensLogRouter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FirelensLogRouterProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class FirelensLogRouter( */ public override fun renderContainerDefinition(taskDefinition: TaskDefinition): CfnTaskDefinition.ContainerDefinitionProperty = - unwrap(this).renderContainerDefinition(taskDefinition.let(TaskDefinition::unwrap)).let(CfnTaskDefinition.ContainerDefinitionProperty::wrap) + unwrap(this).renderContainerDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)).let(CfnTaskDefinition.ContainerDefinitionProperty::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.FirelensLogRouter]. @@ -752,7 +752,7 @@ public open class FirelensLogRouter( * file that configures the container for Active Directory authentication. */ override fun credentialSpecs(credentialSpecs: List) { - cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec::unwrap)) + cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public open class FirelensLogRouter( * @param environmentFiles The environment files to pass to the container. */ override fun environmentFiles(environmentFiles: List) { - cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile.Companion::unwrap)) } /** @@ -955,7 +955,7 @@ public open class FirelensLogRouter( * @param firelensConfig Firelens configuration. */ override fun firelensConfig(firelensConfig: FirelensConfig) { - cdkBuilder.firelensConfig(firelensConfig.let(FirelensConfig::unwrap)) + cdkBuilder.firelensConfig(firelensConfig.let(FirelensConfig.Companion::unwrap)) } /** @@ -988,7 +988,7 @@ public open class FirelensLogRouter( * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -1027,7 +1027,7 @@ public open class FirelensLogRouter( * @param image The image used to start a container. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -1078,7 +1078,7 @@ public open class FirelensLogRouter( * as Linux kernel capabilities. */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** @@ -1089,7 +1089,7 @@ public open class FirelensLogRouter( * @param logging The log configuration specification for the container. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class FirelensLogRouter( * @param portMappings The port mappings to add to the container definition. */ override fun portMappings(portMappings: List) { - cdkBuilder.portMappings(portMappings.map(PortMapping::unwrap)) + cdkBuilder.portMappings(portMappings.map(PortMapping.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class FirelensLogRouter( * dependencies for a container. */ override fun startTimeout(startTimeout: Duration) { - cdkBuilder.startTimeout(startTimeout.let(Duration::unwrap)) + cdkBuilder.startTimeout(startTimeout.let(Duration.Companion::unwrap)) } /** @@ -1223,7 +1223,7 @@ public open class FirelensLogRouter( * killed if it doesn't exit normally on its own. */ override fun stopTimeout(stopTimeout: Duration) { - cdkBuilder.stopTimeout(stopTimeout.let(Duration::unwrap)) + cdkBuilder.stopTimeout(stopTimeout.let(Duration.Companion::unwrap)) } /** @@ -1235,7 +1235,7 @@ public open class FirelensLogRouter( * @param systemControls A list of namespaced kernel parameters to set in the container. */ override fun systemControls(systemControls: List) { - cdkBuilder.systemControls(systemControls.map(SystemControl::unwrap)) + cdkBuilder.systemControls(systemControls.map(SystemControl.Companion::unwrap)) } /** @@ -1258,7 +1258,7 @@ public open class FirelensLogRouter( * definition. */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -1267,7 +1267,7 @@ public open class FirelensLogRouter( * @param ulimits An array of ulimits to set in the container. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterDefinitionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterDefinitionOptions.kt index c94daac748..2cdcabbe25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterDefinitionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterDefinitionOptions.kt @@ -461,7 +461,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * Currently, only one credential spec is allowed per container definition. */ override fun credentialSpecs(credentialSpecs: List) { - cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec::unwrap)) + cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * @param environmentFiles The environment files to pass to the container. */ override fun environmentFiles(environmentFiles: List) { - cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * @param firelensConfig Firelens configuration. */ override fun firelensConfig(firelensConfig: FirelensConfig) { - cdkBuilder.firelensConfig(firelensConfig.let(FirelensConfig::unwrap)) + cdkBuilder.firelensConfig(firelensConfig.let(FirelensConfig.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * TODO: Update these to specify using classes of IContainerImage */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -669,14 +669,14 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The log configuration specification for the container. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * @param portMappings The port mappings to add to the container definition. */ override fun portMappings(portMappings: List) { - cdkBuilder.portMappings(portMappings.map(PortMapping::unwrap)) + cdkBuilder.portMappings(portMappings.map(PortMapping.Companion::unwrap)) } /** @@ -755,7 +755,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * dependencies for a container. */ override fun startTimeout(startTimeout: Duration) { - cdkBuilder.startTimeout(startTimeout.let(Duration::unwrap)) + cdkBuilder.startTimeout(startTimeout.let(Duration.Companion::unwrap)) } /** @@ -763,14 +763,14 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * killed if it doesn't exit normally on its own. */ override fun stopTimeout(stopTimeout: Duration) { - cdkBuilder.stopTimeout(stopTimeout.let(Duration::unwrap)) + cdkBuilder.stopTimeout(stopTimeout.let(Duration.Companion::unwrap)) } /** * @param systemControls A list of namespaced kernel parameters to set in the container. */ override fun systemControls(systemControls: List) { - cdkBuilder.systemControls(systemControls.map(SystemControl::unwrap)) + cdkBuilder.systemControls(systemControls.map(SystemControl.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public interface FirelensLogRouterDefinitionOptions : ContainerDefinitionOptions * @param ulimits An array of ulimits to set in the container. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterProps.kt index 617c6f0d19..ad193b28ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensLogRouterProps.kt @@ -468,7 +468,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * Currently, only one credential spec is allowed per container definition. */ override fun credentialSpecs(credentialSpecs: List) { - cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec::unwrap)) + cdkBuilder.credentialSpecs(credentialSpecs.map(CredentialSpec.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * @param environmentFiles The environment files to pass to the container. */ override fun environmentFiles(environmentFiles: List) { - cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.map(EnvironmentFile.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * @param firelensConfig Firelens configuration. */ override fun firelensConfig(firelensConfig: FirelensConfig) { - cdkBuilder.firelensConfig(firelensConfig.let(FirelensConfig::unwrap)) + cdkBuilder.firelensConfig(firelensConfig.let(FirelensConfig.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * TODO: Update these to specify using classes of IContainerImage */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -676,14 +676,14 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). */ override fun linuxParameters(linuxParameters: LinuxParameters) { - cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters::unwrap)) + cdkBuilder.linuxParameters(linuxParameters.let(LinuxParameters.Companion::unwrap)) } /** * @param logging The log configuration specification for the container. */ override fun logging(logging: LogDriver) { - cdkBuilder.logging(logging.let(LogDriver::unwrap)) + cdkBuilder.logging(logging.let(LogDriver.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * @param portMappings The port mappings to add to the container definition. */ override fun portMappings(portMappings: List) { - cdkBuilder.portMappings(portMappings.map(PortMapping::unwrap)) + cdkBuilder.portMappings(portMappings.map(PortMapping.Companion::unwrap)) } /** @@ -762,7 +762,7 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * dependencies for a container. */ override fun startTimeout(startTimeout: Duration) { - cdkBuilder.startTimeout(startTimeout.let(Duration::unwrap)) + cdkBuilder.startTimeout(startTimeout.let(Duration.Companion::unwrap)) } /** @@ -770,14 +770,14 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * killed if it doesn't exit normally on its own. */ override fun stopTimeout(stopTimeout: Duration) { - cdkBuilder.stopTimeout(stopTimeout.let(Duration::unwrap)) + cdkBuilder.stopTimeout(stopTimeout.let(Duration.Companion::unwrap)) } /** * @param systemControls A list of namespaced kernel parameters to set in the container. */ override fun systemControls(systemControls: List) { - cdkBuilder.systemControls(systemControls.map(SystemControl::unwrap)) + cdkBuilder.systemControls(systemControls.map(SystemControl.Companion::unwrap)) } /** @@ -792,14 +792,14 @@ public interface FirelensLogRouterProps : ContainerDefinitionProps { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** * @param ulimits An array of ulimits to set in the container. */ override fun ulimits(ulimits: List) { - cdkBuilder.ulimits(ulimits.map(Ulimit::unwrap)) + cdkBuilder.ulimits(ulimits.map(Ulimit.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensOptions.kt index e638026e41..5325f0fef4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FirelensOptions.kt @@ -92,7 +92,7 @@ public interface FirelensOptions { * to define a custom configuration source. */ override fun configFileType(configFileType: FirelensConfigFileType) { - cdkBuilder.configFileType(configFileType.let(FirelensConfigFileType::unwrap)) + cdkBuilder.configFileType(configFileType.let(FirelensConfigFileType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriver.kt index e8e9530377..d7e4220058 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriver.kt @@ -42,7 +42,7 @@ public open class FluentdLogDriver( ) public constructor(props: FluentdLogDriverProps) : - this(software.amazon.awscdk.services.ecs.FluentdLogDriver(props.let(FluentdLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.FluentdLogDriver(props.let(FluentdLogDriverProps.Companion::unwrap)) ) public constructor(props: FluentdLogDriverProps.Builder.() -> Unit) : @@ -56,8 +56,8 @@ public open class FluentdLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.FluentdLogDriver]. @@ -338,7 +338,7 @@ public open class FluentdLogDriver( * @param retryWait How long to wait between retries. */ override fun retryWait(retryWait: Duration) { - cdkBuilder.retryWait(retryWait.let(Duration::unwrap)) + cdkBuilder.retryWait(retryWait.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriverProps.kt index fd5078bada..96aae30188 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/FluentdLogDriverProps.kt @@ -264,7 +264,7 @@ public interface FluentdLogDriverProps : BaseLogDriverProps { * @param retryWait How long to wait between retries. */ override fun retryWait(retryWait: Duration) { - cdkBuilder.retryWait(retryWait.let(Duration::unwrap)) + cdkBuilder.retryWait(retryWait.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriver.kt index 9503f46373..3ab23315d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriver.kt @@ -38,7 +38,7 @@ public open class GelfLogDriver( cdkObject: software.amazon.awscdk.services.ecs.GelfLogDriver, ) : LogDriver(cdkObject) { public constructor(props: GelfLogDriverProps) : - this(software.amazon.awscdk.services.ecs.GelfLogDriver(props.let(GelfLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.GelfLogDriver(props.let(GelfLogDriverProps.Companion::unwrap)) ) public constructor(props: GelfLogDriverProps.Builder.() -> Unit) : this(GelfLogDriverProps(props) @@ -51,8 +51,8 @@ public open class GelfLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.GelfLogDriver]. @@ -239,7 +239,7 @@ public open class GelfLogDriver( * log message. */ override fun compressionType(compressionType: GelfCompressionType) { - cdkBuilder.compressionType(compressionType.let(GelfCompressionType::unwrap)) + cdkBuilder.compressionType(compressionType.let(GelfCompressionType.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class GelfLogDriver( * attempts. */ override fun tcpReconnectDelay(tcpReconnectDelay: Duration) { - cdkBuilder.tcpReconnectDelay(tcpReconnectDelay.let(Duration::unwrap)) + cdkBuilder.tcpReconnectDelay(tcpReconnectDelay.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.GelfLogDriver = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriverProps.kt index 13dade7498..2cea496f9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GelfLogDriverProps.kt @@ -195,7 +195,7 @@ public interface GelfLogDriverProps : BaseLogDriverProps { * Allowed values are gzip, zlib and none. */ override fun compressionType(compressionType: GelfCompressionType) { - cdkBuilder.compressionType(compressionType.let(GelfCompressionType::unwrap)) + cdkBuilder.compressionType(compressionType.let(GelfCompressionType.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface GelfLogDriverProps : BaseLogDriverProps { * A positive integer. */ override fun tcpReconnectDelay(tcpReconnectDelay: Duration) { - cdkBuilder.tcpReconnectDelay(tcpReconnectDelay.let(Duration::unwrap)) + cdkBuilder.tcpReconnectDelay(tcpReconnectDelay.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.GelfLogDriverProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GenericLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GenericLogDriver.kt index 833b9bc167..f9c7d3b305 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GenericLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/GenericLogDriver.kt @@ -31,7 +31,7 @@ public open class GenericLogDriver( cdkObject: software.amazon.awscdk.services.ecs.GenericLogDriver, ) : LogDriver(cdkObject) { public constructor(props: GenericLogDriverProps) : - this(software.amazon.awscdk.services.ecs.GenericLogDriver(props.let(GenericLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.GenericLogDriver(props.let(GenericLogDriverProps.Companion::unwrap)) ) public constructor(props: GenericLogDriverProps.Builder.() -> Unit) : @@ -45,8 +45,8 @@ public open class GenericLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.GenericLogDriver]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/HealthCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/HealthCheck.kt index 6d33fd0d9a..9a6417f334 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/HealthCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/HealthCheck.kt @@ -169,7 +169,7 @@ public interface HealthCheck { * You may specify between 5 and 300 seconds. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface HealthCheck { * You may specify between 0 and 300 seconds. */ override fun startPeriod(startPeriod: Duration) { - cdkBuilder.startPeriod(startPeriod.let(Duration::unwrap)) + cdkBuilder.startPeriod(startPeriod.let(Duration.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface HealthCheck { * You may specify between 2 and 60 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.HealthCheck = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IBaseService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IBaseService.kt index f33807aeed..6b3b9efd42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IBaseService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IBaseService.kt @@ -36,7 +36,7 @@ public interface IBaseService : IService { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ICluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ICluster.kt index f6b9765ea4..ce2d627723 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ICluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ICluster.kt @@ -80,7 +80,7 @@ public interface ICluster : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2Service.kt index 5e4d409521..2742570113 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2Service.kt @@ -31,7 +31,7 @@ public interface IEc2Service : IService { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2TaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2TaskDefinition.kt index f20e97680d..d46d64884a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2TaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEc2TaskDefinition.kt @@ -33,7 +33,7 @@ public interface IEc2TaskDefinition : ITaskDefinition { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEcsLoadBalancerTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEcsLoadBalancerTarget.kt index bfde938eb0..663c9aaad8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEcsLoadBalancerTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IEcsLoadBalancerTarget.kt @@ -31,7 +31,7 @@ public interface IEcsLoadBalancerTarget : IApplicationLoadBalancerTarget, */ override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Attach load-balanced target to a classic ELB. @@ -40,7 +40,7 @@ public interface IEcsLoadBalancerTarget : IApplicationLoadBalancerTarget, * target to. */ override fun attachToClassicLB(loadBalancer: LoadBalancer) { - unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer::unwrap)) + unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** @@ -53,7 +53,7 @@ public interface IEcsLoadBalancerTarget : IApplicationLoadBalancerTarget, */ override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * The network connections associated with this resource. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalService.kt index 153f993246..e42342c913 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalService.kt @@ -31,7 +31,7 @@ public interface IExternalService : IService { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalTaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalTaskDefinition.kt index 163f14a652..dff96a3c01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalTaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IExternalTaskDefinition.kt @@ -33,7 +33,7 @@ public interface IExternalTaskDefinition : ITaskDefinition { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateService.kt index 6665d3abbd..3bc8ec463e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateService.kt @@ -31,7 +31,7 @@ public interface IFargateService : IService { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateTaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateTaskDefinition.kt index e55f5a7f67..000809ed91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateTaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IFargateTaskDefinition.kt @@ -33,7 +33,7 @@ public interface IFargateTaskDefinition : ITaskDefinition { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IService.kt index 1b26129943..a01966152c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/IService.kt @@ -42,7 +42,7 @@ public interface IService : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinition.kt index ae25eb344a..e3f7bb970c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinition.kt @@ -75,7 +75,7 @@ public interface ITaskDefinition : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinitionExtension.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinitionExtension.kt index 9a12a35cd2..3b941a5a64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinitionExtension.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ITaskDefinitionExtension.kt @@ -31,7 +31,7 @@ public interface ITaskDefinitionExtension { * @param taskDefinition [disable-awslint:ref-via-interface]. */ override fun extend(taskDefinition: TaskDefinition) { - unwrap(this).extend(taskDefinition.let(TaskDefinition::unwrap)) + unwrap(this).extend(taskDefinition.let(TaskDefinition.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JournaldLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JournaldLogDriver.kt index d291ed8f7e..91633d7c73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JournaldLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JournaldLogDriver.kt @@ -32,7 +32,7 @@ public open class JournaldLogDriver( ) public constructor(props: JournaldLogDriverProps) : - this(software.amazon.awscdk.services.ecs.JournaldLogDriver(props.let(JournaldLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.JournaldLogDriver(props.let(JournaldLogDriverProps.Companion::unwrap)) ) public constructor(props: JournaldLogDriverProps.Builder.() -> Unit) : @@ -46,8 +46,8 @@ public open class JournaldLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.JournaldLogDriver]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JsonFileLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JsonFileLogDriver.kt index 9299e833bf..c3c64903a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JsonFileLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/JsonFileLogDriver.kt @@ -37,7 +37,7 @@ public open class JsonFileLogDriver( ) public constructor(props: JsonFileLogDriverProps) : - this(software.amazon.awscdk.services.ecs.JsonFileLogDriver(props.let(JsonFileLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.JsonFileLogDriver(props.let(JsonFileLogDriverProps.Companion::unwrap)) ) public constructor(props: JsonFileLogDriverProps.Builder.() -> Unit) : @@ -51,8 +51,8 @@ public open class JsonFileLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.JsonFileLogDriver]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParameters.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParameters.kt index f64903af1b..2659ccc99a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParameters.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParameters.kt @@ -36,7 +36,7 @@ public open class LinuxParameters( cdkObject: software.amazon.awscdk.services.ecs.LinuxParameters, ) : CloudshiftdevConstructsConstruct(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class LinuxParameters( id: String, props: LinuxParametersProps, ) : - this(software.amazon.awscdk.services.ecs.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LinuxParametersProps::unwrap)) + this(software.amazon.awscdk.services.ecs.LinuxParameters(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LinuxParametersProps.Companion::unwrap)) ) public constructor( @@ -222,7 +222,7 @@ public open class LinuxParameters( * @param maxSwap The total amount of swap memory a container can use. */ override fun maxSwap(maxSwap: Size) { - cdkBuilder.maxSwap(maxSwap.let(Size::unwrap)) + cdkBuilder.maxSwap(maxSwap.let(Size.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParametersProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParametersProps.kt index 860bc74a67..0186f616bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParametersProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LinuxParametersProps.kt @@ -137,7 +137,7 @@ public interface LinuxParametersProps { * Accepted values are positive integers. */ override fun maxSwap(maxSwap: Size) { - cdkBuilder.maxSwap(maxSwap.let(Size::unwrap)) + cdkBuilder.maxSwap(maxSwap.let(Size.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ListenerConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ListenerConfig.kt index 3e40eb32a6..e0aeb6cbcc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ListenerConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ListenerConfig.kt @@ -52,8 +52,8 @@ public abstract class ListenerConfig( target: LoadBalancerTargetOptions, service: BaseService, ) { - unwrap(this).addTargets(id, target.let(LoadBalancerTargetOptions::unwrap), - service.let(BaseService::unwrap)) + unwrap(this).addTargets(id, target.let(LoadBalancerTargetOptions.Companion::unwrap), + service.let(BaseService.Companion::unwrap)) } private class Wrapper( @@ -62,12 +62,12 @@ public abstract class ListenerConfig( public companion object { public fun applicationListener(listener: ApplicationListener): ListenerConfig = - software.amazon.awscdk.services.ecs.ListenerConfig.applicationListener(listener.let(ApplicationListener::unwrap)).let(ListenerConfig::wrap) + software.amazon.awscdk.services.ecs.ListenerConfig.applicationListener(listener.let(ApplicationListener.Companion::unwrap)).let(ListenerConfig::wrap) public fun applicationListener(listener: ApplicationListener, props: AddApplicationTargetsProps): ListenerConfig = - software.amazon.awscdk.services.ecs.ListenerConfig.applicationListener(listener.let(ApplicationListener::unwrap), - props.let(AddApplicationTargetsProps::unwrap)).let(ListenerConfig::wrap) + software.amazon.awscdk.services.ecs.ListenerConfig.applicationListener(listener.let(ApplicationListener.Companion::unwrap), + props.let(AddApplicationTargetsProps.Companion::unwrap)).let(ListenerConfig::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2e8434e7630f57d2f56657a6dd56edd3274cac87386c4bd93585178fe5676884") @@ -76,12 +76,12 @@ public abstract class ListenerConfig( applicationListener(listener, AddApplicationTargetsProps(props)) public fun networkListener(listener: NetworkListener): ListenerConfig = - software.amazon.awscdk.services.ecs.ListenerConfig.networkListener(listener.let(NetworkListener::unwrap)).let(ListenerConfig::wrap) + software.amazon.awscdk.services.ecs.ListenerConfig.networkListener(listener.let(NetworkListener.Companion::unwrap)).let(ListenerConfig::wrap) public fun networkListener(listener: NetworkListener, props: AddNetworkTargetsProps): ListenerConfig = - software.amazon.awscdk.services.ecs.ListenerConfig.networkListener(listener.let(NetworkListener::unwrap), - props.let(AddNetworkTargetsProps::unwrap)).let(ListenerConfig::wrap) + software.amazon.awscdk.services.ecs.ListenerConfig.networkListener(listener.let(NetworkListener.Companion::unwrap), + props.let(AddNetworkTargetsProps.Companion::unwrap)).let(ListenerConfig::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c16422763514ae0eb3b96259e0f711dc1314889f1a8a917b63a43b7c32f51ecd") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LoadBalancerTargetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LoadBalancerTargetOptions.kt index 220136dd70..bf79fbbb3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LoadBalancerTargetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LoadBalancerTargetOptions.kt @@ -101,7 +101,7 @@ public interface LoadBalancerTargetOptions { * Only applicable when using application load balancers. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.LoadBalancerTargetOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriver.kt index 14d6060128..78e26a4642 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriver.kt @@ -37,8 +37,8 @@ public abstract class LogDriver( * @param containerDefinition */ public open fun bind(scope: Construct, containerDefinition: ContainerDefinition): LogDriverConfig - = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ecs.LogDriver, @@ -46,7 +46,7 @@ public abstract class LogDriver( public companion object { public fun awsLogs(props: AwsLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDriver.awsLogs(props.let(AwsLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDriver.awsLogs(props.let(AwsLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c2d0d9a506ce9f0fb5ba45e5e4ad84bbef85836d2019566b9bd522ad46b3e85e") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriverConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriverConfig.kt index 24a69d5f64..1f13932020 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriverConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDriverConfig.kt @@ -153,7 +153,7 @@ public interface LogDriverConfig { * @param secretOptions The secrets to pass to the log configuration. */ override fun secretOptions(secretOptions: List) { - cdkBuilder.secretOptions(secretOptions.map(CfnTaskDefinition.SecretProperty::unwrap)) + cdkBuilder.secretOptions(secretOptions.map(CfnTaskDefinition.SecretProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDrivers.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDrivers.kt index d63bd1d1f4..8091639716 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDrivers.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/LogDrivers.kt @@ -33,7 +33,7 @@ public open class LogDrivers( public companion object { public fun awsLogs(props: AwsLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.awsLogs(props.let(AwsLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.awsLogs(props.let(AwsLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c2d0d9a506ce9f0fb5ba45e5e4ad84bbef85836d2019566b9bd522ad46b3e85e") @@ -41,7 +41,7 @@ public open class LogDrivers( awsLogs(AwsLogDriverProps(props)) public fun firelens(props: FireLensLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.firelens(props.let(FireLensLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.firelens(props.let(FireLensLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ea9d67b53e8a0d60901e3b4170cb9d382e095b880c4ea01a96e0d533e6fdd7a0") @@ -52,7 +52,7 @@ public open class LogDrivers( software.amazon.awscdk.services.ecs.LogDrivers.fluentd().let(LogDriver::wrap) public fun fluentd(props: FluentdLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.fluentd(props.let(FluentdLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.fluentd(props.let(FluentdLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8616d671e373c5bdce2dab019deebbc53bb86eac8e207423098286d9b70a7b6c") @@ -60,7 +60,7 @@ public open class LogDrivers( fluentd(FluentdLogDriverProps(props)) public fun gelf(props: GelfLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.gelf(props.let(GelfLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.gelf(props.let(GelfLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ffa97fd65e07fe1d06bc0df7726876713aa9de9a360b70160204846fb75de23b") @@ -71,7 +71,7 @@ public open class LogDrivers( software.amazon.awscdk.services.ecs.LogDrivers.journald().let(LogDriver::wrap) public fun journald(props: JournaldLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.journald(props.let(JournaldLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.journald(props.let(JournaldLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a7e11c719f616a93699b28238d9b097b6707585d0c79c06ef778c997dd8f09d") @@ -82,7 +82,7 @@ public open class LogDrivers( software.amazon.awscdk.services.ecs.LogDrivers.jsonFile().let(LogDriver::wrap) public fun jsonFile(props: JsonFileLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.jsonFile(props.let(JsonFileLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.jsonFile(props.let(JsonFileLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2f1f4f250701846f5bbf1cce43fd57e1529d32914a13689354fe6c3523a6831b") @@ -90,7 +90,7 @@ public open class LogDrivers( jsonFile(JsonFileLogDriverProps(props)) public fun splunk(props: SplunkLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.splunk(props.let(SplunkLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.splunk(props.let(SplunkLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d6a7e5f3363d821dc68dbff0ef8a2b674fd4710eeac25860b75abe40b5242341") @@ -101,7 +101,7 @@ public open class LogDrivers( software.amazon.awscdk.services.ecs.LogDrivers.syslog().let(LogDriver::wrap) public fun syslog(props: SyslogLogDriverProps): LogDriver = - software.amazon.awscdk.services.ecs.LogDrivers.syslog(props.let(SyslogLogDriverProps::unwrap)).let(LogDriver::wrap) + software.amazon.awscdk.services.ecs.LogDrivers.syslog(props.let(SyslogLogDriverProps.Companion::unwrap)).let(LogDriver::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7630600838b209f9d5c5d5f0e7a396eac2279f6416b3ce4c8a2aebf37be7a54a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/MemoryUtilizationScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/MemoryUtilizationScalingProps.kt index fae635b8c7..2ffb63eb86 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/MemoryUtilizationScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/MemoryUtilizationScalingProps.kt @@ -114,7 +114,7 @@ public interface MemoryUtilizationScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public interface MemoryUtilizationScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/OperatingSystemFamily.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/OperatingSystemFamily.kt index 12e7177d3d..150cdd40e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/OperatingSystemFamily.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/OperatingSystemFamily.kt @@ -32,7 +32,12 @@ public open class OperatingSystemFamily( cdkObject: software.amazon.awscdk.services.ecs.OperatingSystemFamily, ) : CdkObject(cdkObject) { /** - * Returns true if the operating system family is Windows. + * Indicates whether the operating system family is Linux. + */ + public open fun isLinux(): Boolean = unwrap(this).isLinux() + + /** + * Indicates whether the operating system family is Windows. */ public open fun isWindows(): Boolean = unwrap(this).isWindows() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PlacementStrategy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PlacementStrategy.kt index 1018a2ac05..dae3b5f957 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PlacementStrategy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PlacementStrategy.kt @@ -55,7 +55,7 @@ public open class PlacementStrategy( public companion object { public fun packedBy(resource: BinPackResource): PlacementStrategy = - software.amazon.awscdk.services.ecs.PlacementStrategy.packedBy(resource.let(BinPackResource::unwrap)).let(PlacementStrategy::wrap) + software.amazon.awscdk.services.ecs.PlacementStrategy.packedBy(resource.let(BinPackResource.Companion::unwrap)).let(PlacementStrategy::wrap) public fun packedByCpu(): PlacementStrategy = software.amazon.awscdk.services.ecs.PlacementStrategy.packedByCpu().let(PlacementStrategy::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMap.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMap.kt index 79d2c674d5..ea7001ed8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMap.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMap.kt @@ -33,8 +33,8 @@ public open class PortMap( cdkObject: software.amazon.awscdk.services.ecs.PortMap, ) : CdkObject(cdkObject) { public constructor(networkmode: NetworkMode, pm: PortMapping) : - this(software.amazon.awscdk.services.ecs.PortMap(networkmode.let(NetworkMode::unwrap), - pm.let(PortMapping::unwrap)) + this(software.amazon.awscdk.services.ecs.PortMap(networkmode.let(NetworkMode.Companion::unwrap), + pm.let(PortMapping.Companion::unwrap)) ) public constructor(networkmode: NetworkMode, pm: PortMapping.Builder.() -> Unit) : @@ -185,7 +185,7 @@ public open class PortMap( * @param appProtocol The protocol used by Service Connect. */ override fun appProtocol(appProtocol: AppProtocol) { - cdkBuilder.appProtocol(appProtocol.let(AppProtocol::unwrap)) + cdkBuilder.appProtocol(appProtocol.let(AppProtocol.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class PortMap( * @param protocol The protocol used for the port mapping. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.PortMap = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMapping.kt index f422a6f3f1..47c0ca20c2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/PortMapping.kt @@ -198,7 +198,7 @@ public interface PortMapping { * This field may only be set when the task definition uses Bridge or Awsvpc network modes. */ override fun appProtocol(appProtocol: AppProtocol) { - cdkBuilder.appProtocol(appProtocol.let(AppProtocol::unwrap)) + cdkBuilder.appProtocol(appProtocol.let(AppProtocol.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface PortMapping { * Valid values are Protocol.TCP and Protocol.UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.PortMapping = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfiguration.kt index 92eee878b1..1fcad4458d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfiguration.kt @@ -19,8 +19,9 @@ public abstract class ProxyConfiguration( * @param _taskDefinition */ public open fun bind(scope: Construct, taskDefinition: TaskDefinition): - CfnTaskDefinition.ProxyConfigurationProperty = unwrap(this).bind(scope.let(Construct::unwrap), - taskDefinition.let(TaskDefinition::unwrap)).let(CfnTaskDefinition.ProxyConfigurationProperty::wrap) + CfnTaskDefinition.ProxyConfigurationProperty = + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + taskDefinition.let(TaskDefinition.Companion::unwrap)).let(CfnTaskDefinition.ProxyConfigurationProperty::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ecs.ProxyConfiguration, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfigurations.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfigurations.kt index 9031184bac..172b1dfdab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfigurations.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ProxyConfigurations.kt @@ -27,7 +27,7 @@ public open class ProxyConfigurations( public companion object { public fun appMeshProxyConfiguration(props: AppMeshProxyConfigurationConfigProps): ProxyConfiguration = - software.amazon.awscdk.services.ecs.ProxyConfigurations.appMeshProxyConfiguration(props.let(AppMeshProxyConfigurationConfigProps::unwrap)).let(ProxyConfiguration::wrap) + software.amazon.awscdk.services.ecs.ProxyConfigurations.appMeshProxyConfiguration(props.let(AppMeshProxyConfigurationConfigProps.Companion::unwrap)).let(ProxyConfiguration::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("55c94b9a637fb38e477eea6e3c1d4bb61f30e855da96780bfa8dd649096c9c6d") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImage.kt index e91c6f8090..cbc35498ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImage.kt @@ -34,7 +34,7 @@ public open class RepositoryImage( public constructor(imageName: String, props: RepositoryImageProps) : this(software.amazon.awscdk.services.ecs.RepositoryImage(imageName, - props.let(RepositoryImageProps::unwrap)) + props.let(RepositoryImageProps.Companion::unwrap)) ) public constructor(imageName: String, props: RepositoryImageProps.Builder.() -> Unit) : @@ -48,8 +48,8 @@ public open class RepositoryImage( * @param containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - ContainerImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(ContainerImageConfig::wrap) + ContainerImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(ContainerImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.RepositoryImage]. @@ -82,7 +82,7 @@ public open class RepositoryImage( * the image repository. */ override fun credentials(credentials: ISecret) { - cdkBuilder.credentials(credentials.let(ISecret::unwrap)) + cdkBuilder.credentials(credentials.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.RepositoryImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImageProps.kt index 142e43d31f..6f955c74d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RepositoryImageProps.kt @@ -55,7 +55,7 @@ public interface RepositoryImageProps { * The supported value is the full ARN of an AWS Secrets Manager secret. */ override fun credentials(credentials: ISecret) { - cdkBuilder.credentials(credentials.let(ISecret::unwrap)) + cdkBuilder.credentials(credentials.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.RepositoryImageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RequestCountScalingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RequestCountScalingProps.kt index c7b68a8afa..a117c55b37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RequestCountScalingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RequestCountScalingProps.kt @@ -119,7 +119,7 @@ public interface RequestCountScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -127,14 +127,14 @@ public interface RequestCountScalingProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** * @param targetGroup The ALB target group name. */ override fun targetGroup(targetGroup: ApplicationTargetGroup) { - cdkBuilder.targetGroup(targetGroup.let(ApplicationTargetGroup::unwrap)) + cdkBuilder.targetGroup(targetGroup.let(ApplicationTargetGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.RequestCountScalingProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RuntimePlatform.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RuntimePlatform.kt index 9ac3fd5338..6f66febac1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RuntimePlatform.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/RuntimePlatform.kt @@ -70,14 +70,14 @@ public interface RuntimePlatform { * @param cpuArchitecture The CpuArchitecture for Fargate Runtime Platform. */ override fun cpuArchitecture(cpuArchitecture: CpuArchitecture) { - cdkBuilder.cpuArchitecture(cpuArchitecture.let(CpuArchitecture::unwrap)) + cdkBuilder.cpuArchitecture(cpuArchitecture.let(CpuArchitecture.Companion::unwrap)) } /** * @param operatingSystemFamily The operating system for Fargate Runtime Platform. */ override fun operatingSystemFamily(operatingSystemFamily: OperatingSystemFamily) { - cdkBuilder.operatingSystemFamily(operatingSystemFamily.let(OperatingSystemFamily::unwrap)) + cdkBuilder.operatingSystemFamily(operatingSystemFamily.let(OperatingSystemFamily.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.RuntimePlatform = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/S3EnvironmentFile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/S3EnvironmentFile.kt index 83db4793fe..16306b7904 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/S3EnvironmentFile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/S3EnvironmentFile.kt @@ -24,15 +24,17 @@ public open class S3EnvironmentFile( cdkObject: software.amazon.awscdk.services.ecs.S3EnvironmentFile, ) : EnvironmentFile(cdkObject) { public constructor(bucket: IBucket, key: String) : - this(software.amazon.awscdk.services.ecs.S3EnvironmentFile(bucket.let(IBucket::unwrap), key) + this(software.amazon.awscdk.services.ecs.S3EnvironmentFile(bucket.let(IBucket.Companion::unwrap), + key) ) public constructor( bucket: IBucket, key: String, objectVersion: String, - ) : this(software.amazon.awscdk.services.ecs.S3EnvironmentFile(bucket.let(IBucket::unwrap), key, - objectVersion) + ) : + this(software.amazon.awscdk.services.ecs.S3EnvironmentFile(bucket.let(IBucket.Companion::unwrap), + key, objectVersion) ) /** @@ -41,7 +43,7 @@ public open class S3EnvironmentFile( * @param _scope */ public override fun bind(scope: Construct): EnvironmentFileConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(EnvironmentFileConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(EnvironmentFileConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.S3EnvironmentFile): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCount.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCount.kt index 075498c5cf..30d9c9df55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCount.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCount.kt @@ -53,8 +53,8 @@ public open class ScalableTaskCount( id: String, props: ScalableTaskCountProps, ) : - this(software.amazon.awscdk.services.ecs.ScalableTaskCount(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ScalableTaskCountProps::unwrap)) + this(software.amazon.awscdk.services.ecs.ScalableTaskCount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ScalableTaskCountProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class ScalableTaskCount( * @param props */ public open fun scaleOnCpuUtilization(id: String, props: CpuUtilizationScalingProps) { - unwrap(this).scaleOnCpuUtilization(id, props.let(CpuUtilizationScalingProps::unwrap)) + unwrap(this).scaleOnCpuUtilization(id, props.let(CpuUtilizationScalingProps.Companion::unwrap)) } /** @@ -93,7 +93,8 @@ public open class ScalableTaskCount( * @param props */ public open fun scaleOnMemoryUtilization(id: String, props: MemoryUtilizationScalingProps) { - unwrap(this).scaleOnMemoryUtilization(id, props.let(MemoryUtilizationScalingProps::unwrap)) + unwrap(this).scaleOnMemoryUtilization(id, + props.let(MemoryUtilizationScalingProps.Companion::unwrap)) } /** @@ -115,7 +116,7 @@ public open class ScalableTaskCount( * @param props */ public open fun scaleOnMetric(id: String, props: BasicStepScalingPolicyProps) { - unwrap(this).scaleOnMetric(id, props.let(BasicStepScalingPolicyProps::unwrap)) + unwrap(this).scaleOnMetric(id, props.let(BasicStepScalingPolicyProps.Companion::unwrap)) } /** @@ -136,7 +137,7 @@ public open class ScalableTaskCount( * @param props */ public open fun scaleOnRequestCount(id: String, props: RequestCountScalingProps) { - unwrap(this).scaleOnRequestCount(id, props.let(RequestCountScalingProps::unwrap)) + unwrap(this).scaleOnRequestCount(id, props.let(RequestCountScalingProps.Companion::unwrap)) } /** @@ -158,7 +159,7 @@ public open class ScalableTaskCount( * @param props */ public open fun scaleOnSchedule(id: String, props: ScalingSchedule) { - unwrap(this).scaleOnSchedule(id, props.let(ScalingSchedule::unwrap)) + unwrap(this).scaleOnSchedule(id, props.let(ScalingSchedule.Companion::unwrap)) } /** @@ -179,7 +180,7 @@ public open class ScalableTaskCount( * @param props */ public open fun scaleToTrackCustomMetric(id: String, props: TrackCustomMetricProps) { - unwrap(this).scaleToTrackCustomMetric(id, props.let(TrackCustomMetricProps::unwrap)) + unwrap(this).scaleToTrackCustomMetric(id, props.let(TrackCustomMetricProps.Companion::unwrap)) } /** @@ -295,7 +296,7 @@ public open class ScalableTaskCount( * @param role Role to use for scaling. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -304,7 +305,7 @@ public open class ScalableTaskCount( * @param serviceNamespace Service namespace of the scalable attribute. */ override fun serviceNamespace(serviceNamespace: ServiceNamespace) { - cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace::unwrap)) + cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ScalableTaskCount = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCountProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCountProps.kt index 06b6e03b41..dfdf2b6b5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCountProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ScalableTaskCountProps.kt @@ -108,14 +108,14 @@ public interface ScalableTaskCountProps : BaseScalableAttributeProps { * @param role Role to use for scaling. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param serviceNamespace Service namespace of the scalable attribute. */ override fun serviceNamespace(serviceNamespace: ServiceNamespace) { - cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace::unwrap)) + cdkBuilder.serviceNamespace(serviceNamespace.let(ServiceNamespace.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ScalableTaskCountProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Secret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Secret.kt index 401e30fa39..e07c9c6029 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Secret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Secret.kt @@ -49,7 +49,7 @@ public abstract class Secret( * @param grantee */ public open fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Whether this secret uses a specific JSON field. @@ -62,15 +62,15 @@ public abstract class Secret( public companion object { public fun fromSecretsManager(secret: ISecret): Secret = - software.amazon.awscdk.services.ecs.Secret.fromSecretsManager(secret.let(ISecret::unwrap)).let(Secret::wrap) + software.amazon.awscdk.services.ecs.Secret.fromSecretsManager(secret.let(ISecret.Companion::unwrap)).let(Secret::wrap) public fun fromSecretsManager(secret: ISecret, `field`: String): Secret = - software.amazon.awscdk.services.ecs.Secret.fromSecretsManager(secret.let(ISecret::unwrap), + software.amazon.awscdk.services.ecs.Secret.fromSecretsManager(secret.let(ISecret.Companion::unwrap), `field`).let(Secret::wrap) public fun fromSecretsManagerVersion(secret: ISecret, versionInfo: SecretVersionInfo): Secret = - software.amazon.awscdk.services.ecs.Secret.fromSecretsManagerVersion(secret.let(ISecret::unwrap), - versionInfo.let(SecretVersionInfo::unwrap)).let(Secret::wrap) + software.amazon.awscdk.services.ecs.Secret.fromSecretsManagerVersion(secret.let(ISecret.Companion::unwrap), + versionInfo.let(SecretVersionInfo.Companion::unwrap)).let(Secret::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("920c861858a2d3dfda5936da694fb8ff6329cc08a1fb9d3f2bdebc5f069220cb") @@ -83,11 +83,11 @@ public abstract class Secret( versionInfo: SecretVersionInfo, `field`: String, ): Secret = - software.amazon.awscdk.services.ecs.Secret.fromSecretsManagerVersion(secret.let(ISecret::unwrap), - versionInfo.let(SecretVersionInfo::unwrap), `field`).let(Secret::wrap) + software.amazon.awscdk.services.ecs.Secret.fromSecretsManagerVersion(secret.let(ISecret.Companion::unwrap), + versionInfo.let(SecretVersionInfo.Companion::unwrap), `field`).let(Secret::wrap) public fun fromSsmParameter(parameter: IParameter): Secret = - software.amazon.awscdk.services.ecs.Secret.fromSsmParameter(parameter.let(IParameter::unwrap)).let(Secret::wrap) + software.amazon.awscdk.services.ecs.Secret.fromSsmParameter(parameter.let(IParameter.Companion::unwrap)).let(Secret::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ecs.Secret): Secret = CdkObjectWrappers.wrap(cdkObject) as? Secret ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnect.kt index 89a8345ffa..5bbae42f03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnect.kt @@ -34,8 +34,8 @@ public open class ServiceConnect( cdkObject: software.amazon.awscdk.services.ecs.ServiceConnect, ) : CdkObject(cdkObject) { public constructor(networkmode: NetworkMode, pm: PortMapping) : - this(software.amazon.awscdk.services.ecs.ServiceConnect(networkmode.let(NetworkMode::unwrap), - pm.let(PortMapping::unwrap)) + this(software.amazon.awscdk.services.ecs.ServiceConnect(networkmode.let(NetworkMode.Companion::unwrap), + pm.let(PortMapping.Companion::unwrap)) ) public constructor(networkmode: NetworkMode, pm: PortMapping.Builder.() -> Unit) : @@ -193,7 +193,7 @@ public open class ServiceConnect( * @param appProtocol The protocol used by Service Connect. */ override fun appProtocol(appProtocol: AppProtocol) { - cdkBuilder.appProtocol(appProtocol.let(AppProtocol::unwrap)) + cdkBuilder.appProtocol(appProtocol.let(AppProtocol.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class ServiceConnect( * @param protocol The protocol used for the port mapping. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ServiceConnect = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectProps.kt index 2667fb7e8a..4cbb7153e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectProps.kt @@ -102,7 +102,7 @@ public interface ServiceConnectProps { * @param logDriver The log driver configuration to use for the Service Connect agent logs. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface ServiceConnectProps { * ports via Service Connect. */ override fun services(services: List) { - cdkBuilder.services(services.map(ServiceConnectService::unwrap)) + cdkBuilder.services(services.map(ServiceConnectService.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectService.kt index 52fe0df218..17b3661bdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceConnectService.kt @@ -195,7 +195,7 @@ public interface ServiceConnectService { * when the `idleTimeout` is reached and not the `perRequestTimeout`. */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface ServiceConnectService { * when the `idleTimeout` is reached and not the `perRequestTimeout`. */ override fun perRequestTimeout(perRequestTimeout: Duration) { - cdkBuilder.perRequestTimeout(perRequestTimeout.let(Duration::unwrap)) + cdkBuilder.perRequestTimeout(perRequestTimeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedEBSVolumeConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedEBSVolumeConfiguration.kt index 40833e66e6..e2c2fed3b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedEBSVolumeConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedEBSVolumeConfiguration.kt @@ -275,7 +275,7 @@ public interface ServiceManagedEBSVolumeConfiguration { * The available filesystem types are ext3, ext4, and xfs. */ override fun fileSystemType(fileSystemType: FileSystemType) { - cdkBuilder.fileSystemType(fileSystemType.let(FileSystemType::unwrap)) + cdkBuilder.fileSystemType(fileSystemType.let(FileSystemType.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface ServiceManagedEBSVolumeConfiguration { * @param kmsKeyId AWS Key Management Service key to use for Amazon EBS encryption. */ override fun kmsKeyId(kmsKeyId: IKey) { - cdkBuilder.kmsKeyId(kmsKeyId.let(IKey::unwrap)) + cdkBuilder.kmsKeyId(kmsKeyId.let(IKey.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface ServiceManagedEBSVolumeConfiguration { * This role is required to create and manage the Amazon EBS volume. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public interface ServiceManagedEBSVolumeConfiguration { * * standard: 1-1,024 */ override fun size(size: Size) { - cdkBuilder.size(size.let(Size::unwrap)) + cdkBuilder.size(size.let(Size.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface ServiceManagedEBSVolumeConfiguration { * those tags to the volume. */ override fun tagSpecifications(tagSpecifications: List) { - cdkBuilder.tagSpecifications(tagSpecifications.map(EBSTagSpecification::unwrap)) + cdkBuilder.tagSpecifications(tagSpecifications.map(EBSTagSpecification.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public interface ServiceManagedEBSVolumeConfiguration { * @param volumeType The volume type. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.ServiceManagedEBSVolumeConfiguration = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolume.kt index 2887b32d85..22930e995a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolume.kt @@ -60,8 +60,8 @@ public open class ServiceManagedVolume( id: String, props: ServiceManagedVolumeProps, ) : - this(software.amazon.awscdk.services.ecs.ServiceManagedVolume(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServiceManagedVolumeProps::unwrap)) + this(software.amazon.awscdk.services.ecs.ServiceManagedVolume(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServiceManagedVolumeProps.Companion::unwrap)) ) public constructor( @@ -89,8 +89,8 @@ public open class ServiceManagedVolume( * @param mountPoint The mounting point details within the container. */ public open fun mountIn(container: ContainerDefinition, mountPoint: ContainerMountPoint) { - unwrap(this).mountIn(container.let(ContainerDefinition::unwrap), - mountPoint.let(ContainerMountPoint::unwrap)) + unwrap(this).mountIn(container.let(ContainerDefinition.Companion::unwrap), + mountPoint.let(ContainerMountPoint.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class ServiceManagedVolume( * by ECS. */ override fun managedEbsVolume(managedEbsVolume: ServiceManagedEBSVolumeConfiguration) { - cdkBuilder.managedEbsVolume(managedEbsVolume.let(ServiceManagedEBSVolumeConfiguration::unwrap)) + cdkBuilder.managedEbsVolume(managedEbsVolume.let(ServiceManagedEBSVolumeConfiguration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolumeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolumeProps.kt index 241b4acc82..78abff088e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolumeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/ServiceManagedVolumeProps.kt @@ -102,7 +102,7 @@ public interface ServiceManagedVolumeProps { * by ECS. */ override fun managedEbsVolume(managedEbsVolume: ServiceManagedEBSVolumeConfiguration) { - cdkBuilder.managedEbsVolume(managedEbsVolume.let(ServiceManagedEBSVolumeConfiguration::unwrap)) + cdkBuilder.managedEbsVolume(managedEbsVolume.let(ServiceManagedEBSVolumeConfiguration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriver.kt index 5f83742a17..d2a2e0762d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriver.kt @@ -45,7 +45,7 @@ public open class SplunkLogDriver( cdkObject: software.amazon.awscdk.services.ecs.SplunkLogDriver, ) : LogDriver(cdkObject) { public constructor(props: SplunkLogDriverProps) : - this(software.amazon.awscdk.services.ecs.SplunkLogDriver(props.let(SplunkLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.SplunkLogDriver(props.let(SplunkLogDriverProps.Companion::unwrap)) ) public constructor(props: SplunkLogDriverProps.Builder.() -> Unit) : @@ -59,8 +59,8 @@ public open class SplunkLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.SplunkLogDriver]. @@ -346,7 +346,7 @@ public open class SplunkLogDriver( * @param format Message format. */ override fun format(format: SplunkLogFormat) { - cdkBuilder.format(format.let(SplunkLogFormat::unwrap)) + cdkBuilder.format(format.let(SplunkLogFormat.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class SplunkLogDriver( * @param secretToken Splunk HTTP Event Collector token (Secret). */ override fun secretToken(secretToken: Secret) { - cdkBuilder.secretToken(secretToken.let(Secret::unwrap)) + cdkBuilder.secretToken(secretToken.let(Secret.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriverProps.kt index 17648f7556..a50b299c79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SplunkLogDriverProps.kt @@ -301,7 +301,7 @@ public interface SplunkLogDriverProps : BaseLogDriverProps { * Can be inline, json or raw. */ override fun format(format: SplunkLogFormat) { - cdkBuilder.format(format.let(SplunkLogFormat::unwrap)) + cdkBuilder.format(format.let(SplunkLogFormat.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public interface SplunkLogDriverProps : BaseLogDriverProps { * resolved or viewable as plain text. */ override fun secretToken(secretToken: Secret) { - cdkBuilder.secretToken(secretToken.let(Secret::unwrap)) + cdkBuilder.secretToken(secretToken.let(Secret.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SyslogLogDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SyslogLogDriver.kt index 85a84a9256..7eb83ca208 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SyslogLogDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/SyslogLogDriver.kt @@ -40,7 +40,7 @@ public open class SyslogLogDriver( ) public constructor(props: SyslogLogDriverProps) : - this(software.amazon.awscdk.services.ecs.SyslogLogDriver(props.let(SyslogLogDriverProps::unwrap)) + this(software.amazon.awscdk.services.ecs.SyslogLogDriver(props.let(SyslogLogDriverProps.Companion::unwrap)) ) public constructor(props: SyslogLogDriverProps.Builder.() -> Unit) : @@ -54,8 +54,8 @@ public open class SyslogLogDriver( * @param _containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - LogDriverConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(LogDriverConfig::wrap) + LogDriverConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(LogDriverConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ecs.SyslogLogDriver]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TagParameterContainerImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TagParameterContainerImage.kt index e6549610e1..11d86a1132 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TagParameterContainerImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TagParameterContainerImage.kt @@ -187,7 +187,7 @@ public open class TagParameterContainerImage( cdkObject: software.amazon.awscdk.services.ecs.TagParameterContainerImage, ) : ContainerImage(cdkObject) { public constructor(repository: IRepository) : - this(software.amazon.awscdk.services.ecs.TagParameterContainerImage(repository.let(IRepository::unwrap)) + this(software.amazon.awscdk.services.ecs.TagParameterContainerImage(repository.let(IRepository.Companion::unwrap)) ) /** @@ -197,8 +197,8 @@ public open class TagParameterContainerImage( * @param containerDefinition */ public override fun bind(scope: Construct, containerDefinition: ContainerDefinition): - ContainerImageConfig = unwrap(this).bind(scope.let(Construct::unwrap), - containerDefinition.let(ContainerDefinition::unwrap)).let(ContainerImageConfig::wrap) + ContainerImageConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + containerDefinition.let(ContainerDefinition.Companion::unwrap)).let(ContainerImageConfig::wrap) /** * Returns the name of the CloudFormation Parameter that represents the tag of the image in the diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinition.kt index 22ecc7ee11..0e727e014e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinition.kt @@ -50,8 +50,8 @@ public open class TaskDefinition( id: String, props: TaskDefinitionProps, ) : - this(software.amazon.awscdk.services.ecs.TaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TaskDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.ecs.TaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TaskDefinitionProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class TaskDefinition( */ public open fun addContainer(id: String, props: ContainerDefinitionOptions): ContainerDefinition = unwrap(this).addContainer(id, - props.let(ContainerDefinitionOptions::unwrap)).let(ContainerDefinition::wrap) + props.let(ContainerDefinitionOptions.Companion::unwrap)).let(ContainerDefinition::wrap) /** * Adds a new container to the task definition. @@ -91,7 +91,7 @@ public open class TaskDefinition( * @param extension */ public open fun addExtension(extension: ITaskDefinitionExtension) { - unwrap(this).addExtension(extension.let(ITaskDefinitionExtension::unwrap)) + unwrap(this).addExtension(extension.let(ITaskDefinitionExtension.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class TaskDefinition( */ public open fun addFirelensLogRouter(id: String, props: FirelensLogRouterDefinitionOptions): FirelensLogRouter = unwrap(this).addFirelensLogRouter(id, - props.let(FirelensLogRouterDefinitionOptions::unwrap)).let(FirelensLogRouter::wrap) + props.let(FirelensLogRouterDefinitionOptions.Companion::unwrap)).let(FirelensLogRouter::wrap) /** * Adds a firelens log router to the task definition. @@ -122,7 +122,7 @@ public open class TaskDefinition( * @param inferenceAccelerator */ public open fun addInferenceAccelerator(inferenceAccelerator: InferenceAccelerator) { - unwrap(this).addInferenceAccelerator(inferenceAccelerator.let(InferenceAccelerator::unwrap)) + unwrap(this).addInferenceAccelerator(inferenceAccelerator.let(InferenceAccelerator.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class TaskDefinition( * @param constraint */ public open fun addPlacementConstraint(constraint: PlacementConstraint) { - unwrap(this).addPlacementConstraint(constraint.let(PlacementConstraint::unwrap)) + unwrap(this).addPlacementConstraint(constraint.let(PlacementConstraint.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class TaskDefinition( * @param statement */ public open fun addToExecutionRolePolicy(statement: PolicyStatement) { - unwrap(this).addToExecutionRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToExecutionRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class TaskDefinition( * @param statement */ public open fun addToTaskRolePolicy(statement: PolicyStatement) { - unwrap(this).addToTaskRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToTaskRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class TaskDefinition( * @param volume */ public open fun addVolume(volume: Volume) { - unwrap(this).addVolume(volume.let(Volume::unwrap)) + unwrap(this).addVolume(volume.let(Volume.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class TaskDefinition( * container. */ public open fun defaultContainer(`value`: ContainerDefinition) { - unwrap(this).setDefaultContainer(`value`.let(ContainerDefinition::unwrap)) + unwrap(this).setDefaultContainer(`value`.let(ContainerDefinition.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class TaskDefinition( * @param grantee Principal to grant consume rights to. */ public open fun grantRun(grantee: IGrantable): Grant = - unwrap(this).grantRun(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRun(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Public getter method to access list of inference accelerators attached to the instance. @@ -313,8 +313,11 @@ public open class TaskDefinition( * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Not supported in + * Windows containers. If pidMode is specified for a Fargate task, + * then runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). */ public open fun pidMode(): PidMode? = unwrap(this).getPidMode()?.let(PidMode::wrap) @@ -501,8 +504,12 @@ public open class TaskDefinition( * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in Windows + * containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified * @@ -622,7 +629,7 @@ public open class TaskDefinition( * @param compatibility The task launch type compatiblity requirement. */ override fun compatibility(compatibility: Compatibility) { - cdkBuilder.compatibility(compatibility.let(Compatibility::unwrap)) + cdkBuilder.compatibility(compatibility.let(Compatibility.Companion::unwrap)) } /** @@ -687,7 +694,7 @@ public open class TaskDefinition( * permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -714,7 +721,7 @@ public open class TaskDefinition( * task. */ override fun inferenceAccelerators(inferenceAccelerators: List) { - cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator::unwrap)) + cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator.Companion::unwrap)) } /** @@ -740,7 +747,7 @@ public open class TaskDefinition( * @param ipcMode The IPC resource namespace to use for the containers in the task. */ override fun ipcMode(ipcMode: IpcMode) { - cdkBuilder.ipcMode(ipcMode.let(IpcMode::unwrap)) + cdkBuilder.ipcMode(ipcMode.let(IpcMode.Companion::unwrap)) } /** @@ -788,22 +795,26 @@ public open class TaskDefinition( * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in Windows + * containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified * * @param pidMode The process namespace to use for the containers in the task. */ override fun pidMode(pidMode: PidMode) { - cdkBuilder.pidMode(pidMode.let(PidMode::unwrap)) + cdkBuilder.pidMode(pidMode.let(PidMode.Companion::unwrap)) } /** @@ -819,7 +830,7 @@ public open class TaskDefinition( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -845,7 +856,7 @@ public open class TaskDefinition( * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -858,7 +869,7 @@ public open class TaskDefinition( * @param runtimePlatform The operating system that your task definitions are running on. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -885,7 +896,7 @@ public open class TaskDefinition( * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -900,7 +911,7 @@ public open class TaskDefinition( * @param volumes The list of volume definitions for the task. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** @@ -925,7 +936,7 @@ public open class TaskDefinition( id: String, taskDefinitionArn: String, ): ITaskDefinition = - software.amazon.awscdk.services.ecs.TaskDefinition.fromTaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ecs.TaskDefinition.fromTaskDefinitionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, taskDefinitionArn).let(ITaskDefinition::wrap) public fun fromTaskDefinitionAttributes( @@ -933,8 +944,8 @@ public open class TaskDefinition( id: String, attrs: TaskDefinitionAttributes, ): ITaskDefinition = - software.amazon.awscdk.services.ecs.TaskDefinition.fromTaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(TaskDefinitionAttributes::unwrap)).let(ITaskDefinition::wrap) + software.amazon.awscdk.services.ecs.TaskDefinition.fromTaskDefinitionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(TaskDefinitionAttributes.Companion::unwrap)).let(ITaskDefinition::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ed824df4eec5e5f45c3bcd7ff84cc08d918cf494c5b6d021f8cb2e318fba063c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionAttributes.kt index e9594e81d5..61a8ee52cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionAttributes.kt @@ -81,7 +81,7 @@ public interface TaskDefinitionAttributes : CommonTaskDefinitionAttributes { * @param compatibility What launch types this task definition should be compatible with. */ override fun compatibility(compatibility: Compatibility) { - cdkBuilder.compatibility(compatibility.let(Compatibility::unwrap)) + cdkBuilder.compatibility(compatibility.let(Compatibility.Companion::unwrap)) } /** @@ -90,14 +90,14 @@ public interface TaskDefinitionAttributes : CommonTaskDefinitionAttributes { * Some tasks do not have an execution role. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** * @param networkMode The networking mode to use for the containers in the task. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public interface TaskDefinitionAttributes : CommonTaskDefinitionAttributes { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.TaskDefinitionAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionProps.kt index 356c6469e2..253c41ca91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TaskDefinitionProps.kt @@ -155,8 +155,12 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in Windows + * containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified */ @@ -300,8 +304,12 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { /** * @param pidMode The process namespace to use for the containers in the task. * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in Windows + * containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). */ public fun pidMode(pidMode: PidMode) @@ -373,7 +381,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * @param compatibility The task launch type compatiblity requirement. */ override fun compatibility(compatibility: Compatibility) { - cdkBuilder.compatibility(compatibility.let(Compatibility::unwrap)) + cdkBuilder.compatibility(compatibility.let(Compatibility.Companion::unwrap)) } /** @@ -421,7 +429,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * The role will be used to retrieve container images from ECR and create CloudWatch log groups. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -438,7 +446,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * Not supported in Fargate. */ override fun inferenceAccelerators(inferenceAccelerators: List) { - cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator::unwrap)) + cdkBuilder.inferenceAccelerators(inferenceAccelerators.map(InferenceAccelerator.Companion::unwrap)) } /** @@ -454,7 +462,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * Not supported in Fargate and Windows containers. */ override fun ipcMode(ipcMode: IpcMode) { - cdkBuilder.ipcMode(ipcMode.let(IpcMode::unwrap)) + cdkBuilder.ipcMode(ipcMode.let(IpcMode.Companion::unwrap)) } /** @@ -492,17 +500,21 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * On Fargate, the only supported networking mode is AwsVpc. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** * @param pidMode The process namespace to use for the containers in the task. * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in Windows + * containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). */ override fun pidMode(pidMode: PidMode) { - cdkBuilder.pidMode(pidMode.let(PidMode::unwrap)) + cdkBuilder.pidMode(pidMode.let(PidMode.Companion::unwrap)) } /** @@ -513,7 +525,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * Not supported in Fargate. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -530,7 +542,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * @param proxyConfiguration The configuration details for the App Mesh proxy. */ override fun proxyConfiguration(proxyConfiguration: ProxyConfiguration) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfiguration.Companion::unwrap)) } /** @@ -538,7 +550,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * A runtimePlatform is supported only for tasks using the Fargate launch type. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -555,7 +567,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } /** @@ -565,7 +577,7 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide//task_definition_parameters.html#volumes). */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(Volume::unwrap)) + cdkBuilder.volumes(volumes.map(Volume.Companion::unwrap)) } /** @@ -711,8 +723,12 @@ public interface TaskDefinitionProps : CommonTaskDefinitionProps { * The process namespace to use for the containers in the task. * * Only supported for tasks that are hosted on AWS Fargate if the tasks - * are using platform version 1.4.0 or later (Linux). - * Not supported in Windows containers. + * are using platform version 1.4.0 or later (Linux). Only the TASK option + * is supported for Linux-based Fargate containers. Not supported in Windows + * containers. If pidMode is specified for a Fargate task, then + * runtimePlatform.operatingSystemFamily must also be specified. For more + * information, see [Task Definition + * Parameters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_pidmode). * * Default: - PidMode used by the task is not specified */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Tmpfs.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Tmpfs.kt index 8a144f867b..732ae19f77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Tmpfs.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Tmpfs.kt @@ -94,7 +94,7 @@ public interface Tmpfs { * [TmpfsMountOptions](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Tmpfs.html). */ override fun mountOptions(mountOptions: List) { - cdkBuilder.mountOptions(mountOptions.map(TmpfsMountOption::unwrap)) + cdkBuilder.mountOptions(mountOptions.map(TmpfsMountOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TrackCustomMetricProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TrackCustomMetricProps.kt index 74b9f6ab09..1bf1dc69f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TrackCustomMetricProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/TrackCustomMetricProps.kt @@ -121,7 +121,7 @@ public interface TrackCustomMetricProps : BaseTargetTrackingProps { * * metric < targetValue => scale in */ override fun metric(metric: IMetric) { - cdkBuilder.metric(metric.let(IMetric::unwrap)) + cdkBuilder.metric(metric.let(IMetric.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface TrackCustomMetricProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface TrackCustomMetricProps : BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ulimit.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ulimit.kt index bba588a2ba..a534041c42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ulimit.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Ulimit.kt @@ -85,7 +85,7 @@ public interface Ulimit { * [UlimitName](https://docs.aws.amazon.com/cdk/api/latest/typescript/api/aws-ecs/ulimitname.html#aws_ecs_UlimitName). */ override fun name(name: UlimitName) { - cdkBuilder.name(name.let(UlimitName::unwrap)) + cdkBuilder.name(name.let(UlimitName.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Volume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Volume.kt index 37ea9a8fe4..1c51c75e73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Volume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/Volume.kt @@ -211,7 +211,7 @@ public interface Volume { * To use bind mounts, specify a host instead. */ override fun dockerVolumeConfiguration(dockerVolumeConfiguration: DockerVolumeConfiguration) { - cdkBuilder.dockerVolumeConfiguration(dockerVolumeConfiguration.let(DockerVolumeConfiguration::unwrap)) + cdkBuilder.dockerVolumeConfiguration(dockerVolumeConfiguration.let(DockerVolumeConfiguration.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface Volume { * but is not visible in CloudWatch Container Insights. */ override fun efsVolumeConfiguration(efsVolumeConfiguration: EfsVolumeConfiguration) { - cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(EfsVolumeConfiguration::unwrap)) + cdkBuilder.efsVolumeConfiguration(efsVolumeConfiguration.let(EfsVolumeConfiguration.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface Volume { * after the containers associated with it stop running. */ override fun host(host: Host) { - cdkBuilder.host(host.let(Host::unwrap)) + cdkBuilder.host(host.let(Host.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationListenerProps.kt index 49677d7739..c2ebdb8c30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationListenerProps.kt @@ -124,7 +124,7 @@ public interface ApplicationListenerProps { * Setting this option will set the load balancer protocol to HTTPS. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface ApplicationListenerProps { * specified if using HTTPS. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface ApplicationListenerProps { * by the ALB Listener. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ApplicationListenerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2Service.kt index 983f183512..5b01ed6fc0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2Service.kt @@ -57,7 +57,7 @@ public open class ApplicationLoadBalancedEc2Service( cdkObject: software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedEc2Service, ) : ApplicationLoadBalancedServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class ApplicationLoadBalancedEc2Service( id: String, props: ApplicationLoadBalancedEc2ServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationLoadBalancedEc2ServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationLoadBalancedEc2ServiceProps.Companion::unwrap)) ) public constructor( @@ -645,7 +645,7 @@ public open class ApplicationLoadBalancedEc2Service( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param certificate Certificate Manager certificate to associate with the load balancer. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -687,7 +687,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public open class ApplicationLoadBalancedEc2Service( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public open class ApplicationLoadBalancedEc2Service( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param idleTimeout The load balancer idle timeout, in seconds. */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -921,7 +921,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param loadBalancer The application load balancer that will serve traffic to the service. */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -1021,7 +1021,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -1050,7 +1050,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param placementStrategies The placement strategies to use for tasks in the service. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public open class ApplicationLoadBalancedEc2Service( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -1095,7 +1095,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param protocol The protocol for connections from clients to the load balancer. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -1106,7 +1106,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -1132,7 +1132,7 @@ public open class ApplicationLoadBalancedEc2Service( * the Alias feature or no record at all. */ override fun recordType(recordType: ApplicationLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -1170,7 +1170,7 @@ public open class ApplicationLoadBalancedEc2Service( * by the ALB Listener. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } /** @@ -1184,7 +1184,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param targetProtocol The protocol for connections from the load balancer to the ECS tasks. */ override fun targetProtocol(targetProtocol: ApplicationProtocol) { - cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -1199,7 +1199,7 @@ public open class ApplicationLoadBalancedEc2Service( * TaskImageOptions must be specified, but not both.. */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -1212,7 +1212,7 @@ public open class ApplicationLoadBalancedEc2Service( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -1243,7 +1243,7 @@ public open class ApplicationLoadBalancedEc2Service( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2ServiceProps.kt index 1fcf464d43..c1b3a1d0d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2ServiceProps.kt @@ -468,7 +468,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * Setting this option will set the load balancer protocol to HTTPS. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * Can be between 1 and 4000 seconds */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * [disable-awslint:ref-via-interface] */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -733,7 +733,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html). */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -761,14 +761,14 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * name and domain zone must also be specified. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -784,7 +784,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * This is useful if you need to work with DNS systems that do not support alias records. */ override fun recordType(recordType: ApplicationLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -808,7 +808,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * by the ALB Listener. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * HTTP, port 443 for HTTPS). */ override fun targetProtocol(targetProtocol: ApplicationProtocol) { - cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -826,7 +826,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * TaskDefinition or TaskImageOptions must be specified, but not both. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public interface ApplicationLoadBalancedEc2ServiceProps : ApplicationLoadBalance * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateService.kt index 479df02575..e3fe1d5a61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateService.kt @@ -60,7 +60,7 @@ public open class ApplicationLoadBalancedFargateService( cdkObject: software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedFargateService, ) : ApplicationLoadBalancedServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class ApplicationLoadBalancedFargateService( id: String, props: ApplicationLoadBalancedFargateServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationLoadBalancedFargateServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.ApplicationLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationLoadBalancedFargateServiceProps.Companion::unwrap)) ) public constructor( @@ -746,7 +746,7 @@ public open class ApplicationLoadBalancedFargateService( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class ApplicationLoadBalancedFargateService( * @param certificate Certificate Manager certificate to associate with the load balancer. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -788,7 +788,7 @@ public open class ApplicationLoadBalancedFargateService( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class ApplicationLoadBalancedFargateService( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class ApplicationLoadBalancedFargateService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -887,7 +887,7 @@ public open class ApplicationLoadBalancedFargateService( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public open class ApplicationLoadBalancedFargateService( * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -997,7 +997,7 @@ public open class ApplicationLoadBalancedFargateService( * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -1025,7 +1025,7 @@ public open class ApplicationLoadBalancedFargateService( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -1038,7 +1038,7 @@ public open class ApplicationLoadBalancedFargateService( * @param idleTimeout The load balancer idle timeout, in seconds. */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -1067,7 +1067,7 @@ public open class ApplicationLoadBalancedFargateService( * @param loadBalancer The application load balancer that will serve traffic to the service. */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -1171,7 +1171,7 @@ public open class ApplicationLoadBalancedFargateService( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -1186,7 +1186,7 @@ public open class ApplicationLoadBalancedFargateService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -1202,7 +1202,7 @@ public open class ApplicationLoadBalancedFargateService( * @param protocol The protocol for connections from clients to the load balancer. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -1213,7 +1213,7 @@ public open class ApplicationLoadBalancedFargateService( * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -1239,7 +1239,7 @@ public open class ApplicationLoadBalancedFargateService( * the Alias feature or no record at all. */ override fun recordType(recordType: ApplicationLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -1265,7 +1265,7 @@ public open class ApplicationLoadBalancedFargateService( * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -1291,7 +1291,7 @@ public open class ApplicationLoadBalancedFargateService( * @param securityGroups The security groups to associate with the service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1327,7 +1327,7 @@ public open class ApplicationLoadBalancedFargateService( * by the ALB Listener. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public open class ApplicationLoadBalancedFargateService( * @param targetProtocol The protocol for connections from the load balancer to the ECS tasks. */ override fun targetProtocol(targetProtocol: ApplicationProtocol) { - cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -1356,7 +1356,7 @@ public open class ApplicationLoadBalancedFargateService( * TaskImageOptions must be specified, but not both. */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -1369,7 +1369,7 @@ public open class ApplicationLoadBalancedFargateService( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -1396,7 +1396,7 @@ public open class ApplicationLoadBalancedFargateService( * @param taskSubnets The subnets to associate with the service. */ override fun taskSubnets(taskSubnets: SubnetSelection) { - cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1425,7 +1425,7 @@ public open class ApplicationLoadBalancedFargateService( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateServiceProps.kt index 2f279bd8de..d2f6cdbe22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedFargateServiceProps.kt @@ -485,7 +485,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * Setting this option will set the load balancer protocol to HTTPS. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -652,7 +652,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * Can be between 1 and 4000 seconds */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * [disable-awslint:ref-via-interface] */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -791,14 +791,14 @@ public interface ApplicationLoadBalancedFargateServiceProps : * name and domain zone must also be specified. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * This is useful if you need to work with DNS systems that do not support alias records. */ override fun recordType(recordType: ApplicationLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -846,7 +846,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * If you do not specify a security group, a new security group is created. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -868,7 +868,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * by the ALB Listener. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * HTTP, port 443 for HTTPS). */ override fun targetProtocol(targetProtocol: ApplicationProtocol) { - cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -894,7 +894,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * TaskDefinition or TaskImageOptions must be specified, but not both. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -911,7 +911,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * @param taskSubnets The subnets to associate with the service. */ override fun taskSubnets(taskSubnets: SubnetSelection) { - cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface ApplicationLoadBalancedFargateServiceProps : * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedServiceBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedServiceBaseProps.kt index 608dbd4e02..8de99f7f81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedServiceBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedServiceBaseProps.kt @@ -663,7 +663,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * Setting this option will set the load balancer protocol to HTTPS. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -688,7 +688,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -804,7 +804,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * Can be between 1 and 4000 seconds */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -823,7 +823,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * [disable-awslint:ref-via-interface] */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -874,14 +874,14 @@ public interface ApplicationLoadBalancedServiceBaseProps { * name and domain zone must also be specified. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -897,7 +897,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * This is useful if you need to work with DNS systems that do not support alias records. */ override fun recordType(recordType: ApplicationLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(ApplicationLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -921,7 +921,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * by the ALB Listener. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } /** @@ -930,7 +930,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * HTTP, port 443 for HTTPS). */ override fun targetProtocol(targetProtocol: ApplicationProtocol) { - cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -938,7 +938,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * TaskDefinition or TaskImageOptions must be specified, but not both. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -958,7 +958,7 @@ public interface ApplicationLoadBalancedServiceBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageOptions.kt index 347dde8305..8e85561b62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageOptions.kt @@ -425,7 +425,7 @@ public interface ApplicationLoadBalancedTaskImageOptions { * container agent permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -441,14 +441,14 @@ public interface ApplicationLoadBalancedTaskImageOptions { * Image or taskDefinition must be specified, not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public interface ApplicationLoadBalancedTaskImageOptions { * to call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageProps.kt index a61fc48148..7bed41b031 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedTaskImageProps.kt @@ -348,7 +348,7 @@ public interface ApplicationLoadBalancedTaskImageProps { * container agent permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -364,14 +364,14 @@ public interface ApplicationLoadBalancedTaskImageProps { * Image or taskDefinition must be specified, not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface ApplicationLoadBalancedTaskImageProps { * to call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancerProps.kt index e456d29728..1cbdf43f32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancerProps.kt @@ -145,7 +145,7 @@ public interface ApplicationLoadBalancerProps { * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -153,14 +153,14 @@ public interface ApplicationLoadBalancerProps { * Can be between 1 and 4000 seconds. */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** * @param listeners Listeners (at least one listener) attached to this load balancer. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(ApplicationListenerProps::unwrap)) + cdkBuilder.listeners(listeners.map(ApplicationListenerProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2Service.kt index c37823b49a..846dd152fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2Service.kt @@ -52,7 +52,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( cdkObject: software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsEc2Service, ) : ApplicationMultipleTargetGroupsServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -61,8 +61,8 @@ public open class ApplicationMultipleTargetGroupsEc2Service( id: String, props: ApplicationMultipleTargetGroupsEc2ServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationMultipleTargetGroupsEc2ServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationMultipleTargetGroupsEc2ServiceProps.Companion::unwrap)) ) public constructor( @@ -409,7 +409,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * @param loadBalancers The application load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * @param placementStrategies The placement strategies to use for tasks in the service. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -660,7 +660,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * @param targetGroups Properties to specify ALB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * TaskDefinition or TaskImageOptions must be specified. */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class ApplicationMultipleTargetGroupsEc2Service( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2ServiceProps.kt index 5a67d94770..af2d984aae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsEc2ServiceProps.kt @@ -308,7 +308,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -369,14 +369,14 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** * @param loadBalancers The application load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html). */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * @param targetGroups Properties to specify ALB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * Only one of TaskDefinition or TaskImageOptions must be specified. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public interface ApplicationMultipleTargetGroupsEc2ServiceProps : * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateService.kt index 27cb8d26bb..441040c000 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateService.kt @@ -92,7 +92,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( cdkObject: software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsFargateService, ) : ApplicationMultipleTargetGroupsServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -101,8 +101,8 @@ public open class ApplicationMultipleTargetGroupsFargateService( id: String, props: ApplicationMultipleTargetGroupsFargateServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationMultipleTargetGroupsFargateServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationMultipleTargetGroupsFargateServiceProps.Companion::unwrap)) ) public constructor( @@ -490,7 +490,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -630,7 +630,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * @param loadBalancers The application load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * @param targetGroups Properties to specify ALB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * TaskImageOptions must be specified, but not both. */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -826,7 +826,7 @@ public open class ApplicationMultipleTargetGroupsFargateService( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateServiceProps.kt index 0e99c2313f..250116d769 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateServiceProps.kt @@ -315,7 +315,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -403,14 +403,14 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** * @param loadBalancers The application load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -468,14 +468,14 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * @param targetGroups Properties to specify ALB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * Only one of TaskDefinition or TaskImageOptions must be specified. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface ApplicationMultipleTargetGroupsFargateServiceProps : * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsServiceBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsServiceBaseProps.kt index 399005f1b7..dab96f0ff6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsServiceBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationMultipleTargetGroupsServiceBaseProps.kt @@ -341,7 +341,7 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -394,14 +394,14 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** * @param loadBalancers The application load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(ApplicationLoadBalancerProps.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * @param targetGroups Properties to specify ALB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(ApplicationTargetProps.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * Only one of TaskDefinition or TaskImageOptions must be specified. */ override fun taskImageOptions(taskImageOptions: ApplicationLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(ApplicationLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface ApplicationMultipleTargetGroupsServiceBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationTargetProps.kt index a295e6020f..ed60b85a60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationTargetProps.kt @@ -200,7 +200,7 @@ public interface ApplicationTargetProps { * Only applicable when using application load balancers. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ApplicationTargetProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/FargateServiceBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/FargateServiceBaseProps.kt index 3b2786da31..b4de59e654 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/FargateServiceBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/FargateServiceBaseProps.kt @@ -314,14 +314,14 @@ public interface FargateServiceBaseProps { * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface FargateServiceBaseProps { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.FargateServiceBaseProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2Service.kt index cec18b1570..c6be64d43d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2Service.kt @@ -51,7 +51,7 @@ public open class NetworkLoadBalancedEc2Service( cdkObject: software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedEc2Service, ) : NetworkLoadBalancedServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class NetworkLoadBalancedEc2Service( id: String, props: NetworkLoadBalancedEc2ServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkLoadBalancedEc2ServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkLoadBalancedEc2ServiceProps.Companion::unwrap)) ) public constructor( @@ -535,7 +535,7 @@ public open class NetworkLoadBalancedEc2Service( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class NetworkLoadBalancedEc2Service( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class NetworkLoadBalancedEc2Service( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class NetworkLoadBalancedEc2Service( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -656,7 +656,7 @@ public open class NetworkLoadBalancedEc2Service( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public open class NetworkLoadBalancedEc2Service( * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public open class NetworkLoadBalancedEc2Service( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class NetworkLoadBalancedEc2Service( * @param loadBalancer The network load balancer that will serve traffic to the service. */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -857,7 +857,7 @@ public open class NetworkLoadBalancedEc2Service( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public open class NetworkLoadBalancedEc2Service( * @param placementStrategies The placement strategies to use for tasks in the service. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -915,7 +915,7 @@ public open class NetworkLoadBalancedEc2Service( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class NetworkLoadBalancedEc2Service( * the Alias feature or no record at all. */ override fun recordType(recordType: NetworkLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -967,7 +967,7 @@ public open class NetworkLoadBalancedEc2Service( * TaskImageOptions must be specified, but not both.. */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -980,7 +980,7 @@ public open class NetworkLoadBalancedEc2Service( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -1011,7 +1011,7 @@ public open class NetworkLoadBalancedEc2Service( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedEc2Service = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2ServiceProps.kt index 46318f2349..60437d3d88 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedEc2ServiceProps.kt @@ -405,7 +405,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * [disable-awslint:ref-via-interface] */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html). */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * This is useful if you need to work with DNS systems that do not support alias records. */ override fun recordType(recordType: NetworkLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * One of taskImageOptions or taskDefinition must be specified. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public interface NetworkLoadBalancedEc2ServiceProps : NetworkLoadBalancedService * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateService.kt index 0c9260b978..c58f34f32f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateService.kt @@ -51,7 +51,7 @@ public open class NetworkLoadBalancedFargateService( cdkObject: software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedFargateService, ) : NetworkLoadBalancedServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class NetworkLoadBalancedFargateService( id: String, props: NetworkLoadBalancedFargateServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkLoadBalancedFargateServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.NetworkLoadBalancedFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkLoadBalancedFargateServiceProps.Companion::unwrap)) ) public constructor( @@ -611,7 +611,7 @@ public open class NetworkLoadBalancedFargateService( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public open class NetworkLoadBalancedFargateService( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public open class NetworkLoadBalancedFargateService( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class NetworkLoadBalancedFargateService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class NetworkLoadBalancedFargateService( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class NetworkLoadBalancedFargateService( * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public open class NetworkLoadBalancedFargateService( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public open class NetworkLoadBalancedFargateService( * @param loadBalancer The network load balancer that will serve traffic to the service. */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class NetworkLoadBalancedFargateService( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public open class NetworkLoadBalancedFargateService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -998,7 +998,7 @@ public open class NetworkLoadBalancedFargateService( * the Alias feature or no record at all. */ override fun recordType(recordType: NetworkLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -1010,7 +1010,7 @@ public open class NetworkLoadBalancedFargateService( * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -1036,7 +1036,7 @@ public open class NetworkLoadBalancedFargateService( * @param securityGroups The security groups to associate with the service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1074,7 +1074,7 @@ public open class NetworkLoadBalancedFargateService( * TaskImageOptions must be specified, but not both. */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -1087,7 +1087,7 @@ public open class NetworkLoadBalancedFargateService( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -1114,7 +1114,7 @@ public open class NetworkLoadBalancedFargateService( * @param taskSubnets The subnets to associate with the service. */ override fun taskSubnets(taskSubnets: SubnetSelection) { - cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1143,7 +1143,7 @@ public open class NetworkLoadBalancedFargateService( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateServiceProps.kt index d511cf81cb..445ec6ec27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedFargateServiceProps.kt @@ -399,7 +399,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * [disable-awslint:ref-via-interface] */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -663,14 +663,14 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * This is useful if you need to work with DNS systems that do not support alias records. */ override fun recordType(recordType: NetworkLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType.Companion::unwrap)) } /** * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * If you do not specify a security group, a new security group is created. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * One of taskImageOptions or taskDefinition must be specified. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * @param taskSubnets The subnets to associate with the service. */ override fun taskSubnets(taskSubnets: SubnetSelection) { - cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public interface NetworkLoadBalancedFargateServiceProps : NetworkLoadBalancedSer * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedServiceBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedServiceBaseProps.kt index 7cdea5dbb1..24f515c475 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedServiceBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedServiceBaseProps.kt @@ -505,7 +505,7 @@ public interface NetworkLoadBalancedServiceBaseProps { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** @@ -630,7 +630,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -649,7 +649,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * [disable-awslint:ref-via-interface] */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * This is useful if you need to work with DNS systems that do not support alias records. */ override fun recordType(recordType: NetworkLoadBalancedServiceRecordType) { - cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType::unwrap)) + cdkBuilder.recordType(recordType.let(NetworkLoadBalancedServiceRecordType.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * One of taskImageOptions or taskDefinition must be specified. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageOptions) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageOptions.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public interface NetworkLoadBalancedServiceBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageOptions.kt index b0b366b0fc..2cb56f6968 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageOptions.kt @@ -266,7 +266,7 @@ public interface NetworkLoadBalancedTaskImageOptions { * container agent permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -282,14 +282,14 @@ public interface NetworkLoadBalancedTaskImageOptions { * Image or taskDefinition must be specified, but not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public interface NetworkLoadBalancedTaskImageOptions { * to call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageProps.kt index 3184641fbc..ce9c46d798 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancedTaskImageProps.kt @@ -319,7 +319,7 @@ public interface NetworkLoadBalancedTaskImageProps { * container agent permission to call AWS APIs on your behalf. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -335,14 +335,14 @@ public interface NetworkLoadBalancedTaskImageProps { * Image or taskDefinition must be specified, but not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface NetworkLoadBalancedTaskImageProps { * to call AWS APIs on your behalf. */ override fun taskRole(taskRole: IRole) { - cdkBuilder.taskRole(taskRole.let(IRole::unwrap)) + cdkBuilder.taskRole(taskRole.let(IRole.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancerProps.kt index b708f7e7ee..61f9297077 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkLoadBalancerProps.kt @@ -122,14 +122,14 @@ public interface NetworkLoadBalancerProps { * @param domainZone The Route53 hosted zone for the domain, e.g. "example.com.". */ override fun domainZone(domainZone: IHostedZone) { - cdkBuilder.domainZone(domainZone.let(IHostedZone::unwrap)) + cdkBuilder.domainZone(domainZone.let(IHostedZone.Companion::unwrap)) } /** * @param listeners Listeners (at least one listener) attached to this load balancer. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(NetworkListenerProps::unwrap)) + cdkBuilder.listeners(listeners.map(NetworkListenerProps.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2Service.kt index 129c27f7b7..f222de6a11 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2Service.kt @@ -63,7 +63,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( cdkObject: software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsEc2Service, ) : NetworkMultipleTargetGroupsServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -72,8 +72,8 @@ public open class NetworkMultipleTargetGroupsEc2Service( id: String, props: NetworkMultipleTargetGroupsEc2ServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkMultipleTargetGroupsEc2ServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkMultipleTargetGroupsEc2ServiceProps.Companion::unwrap)) ) public constructor( @@ -421,7 +421,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * @param loadBalancers The network load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps.Companion::unwrap)) } /** @@ -593,7 +593,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * @param placementStrategies The placement strategies to use for tasks in the service. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * @param targetGroups Properties to specify NLB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps.Companion::unwrap)) } /** @@ -700,7 +700,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * TaskDefinition or TaskImageOptions must be specified. */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class NetworkMultipleTargetGroupsEc2Service( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2ServiceProps.kt index efcf3367b8..d3c22791d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsEc2ServiceProps.kt @@ -320,7 +320,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -382,14 +382,14 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** * @param loadBalancers The network load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html). */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * @param targetGroups Properties to specify NLB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * Only one of TaskDefinition or TaskImageOptions must be specified. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public interface NetworkMultipleTargetGroupsEc2ServiceProps : * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateService.kt index a971621e8d..b174bfa3a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateService.kt @@ -63,7 +63,7 @@ public open class NetworkMultipleTargetGroupsFargateService( cdkObject: software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsFargateService, ) : NetworkMultipleTargetGroupsServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -72,8 +72,8 @@ public open class NetworkMultipleTargetGroupsFargateService( id: String, props: NetworkMultipleTargetGroupsFargateServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkMultipleTargetGroupsFargateServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.NetworkMultipleTargetGroupsFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkMultipleTargetGroupsFargateServiceProps.Companion::unwrap)) ) public constructor( @@ -463,7 +463,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * @param loadBalancers The network load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * @param targetGroups Properties to specify NLB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * TaskImageOptions must be specified, but not both. */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -770,7 +770,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * @param taskImageOptions The properties required to create a new task definition. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public open class NetworkMultipleTargetGroupsFargateService( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateServiceProps.kt index 13227e3efc..83bbc8f89f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateServiceProps.kt @@ -287,7 +287,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -376,14 +376,14 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** * @param loadBalancers The network load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -441,14 +441,14 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * @param targetGroups Properties to specify NLB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * Only one of TaskDefinition or TaskImageOptions must be specified. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public interface NetworkMultipleTargetGroupsFargateServiceProps : * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsServiceBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsServiceBaseProps.kt index 98e91783e9..0fa464487a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsServiceBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsServiceBaseProps.kt @@ -333,7 +333,7 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * discovery. */ override fun cloudMapOptions(cloudMapOptions: CloudMapOptions) { - cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions::unwrap)) + cdkBuilder.cloudMapOptions(cloudMapOptions.let(CloudMapOptions.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -387,14 +387,14 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * started. */ override fun healthCheckGracePeriod(healthCheckGracePeriod: Duration) { - cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration::unwrap)) + cdkBuilder.healthCheckGracePeriod(healthCheckGracePeriod.let(Duration.Companion::unwrap)) } /** * @param loadBalancers The network load balancer that will serve traffic to the service. */ override fun loadBalancers(loadBalancers: List) { - cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps::unwrap)) + cdkBuilder.loadBalancers(loadBalancers.map(NetworkLoadBalancerProps.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * @param targetGroups Properties to specify NLB target groups. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(NetworkTargetProps.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * Only one of TaskDefinition or TaskImageOptions must be specified. */ override fun taskImageOptions(taskImageOptions: NetworkLoadBalancedTaskImageProps) { - cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps::unwrap)) + cdkBuilder.taskImageOptions(taskImageOptions.let(NetworkLoadBalancedTaskImageProps.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface NetworkMultipleTargetGroupsServiceBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2Service.kt index a7babd9a0e..3a44b2b2a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2Service.kt @@ -56,7 +56,7 @@ public open class QueueProcessingEc2Service( cdkObject: software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service, ) : QueueProcessingServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -65,8 +65,8 @@ public open class QueueProcessingEc2Service( id: String, props: QueueProcessingEc2ServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(QueueProcessingEc2ServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(QueueProcessingEc2ServiceProps.Companion::unwrap)) ) public constructor( @@ -628,7 +628,7 @@ public open class QueueProcessingEc2Service( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class QueueProcessingEc2Service( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class QueueProcessingEc2Service( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class QueueProcessingEc2Service( * @param cooldown Grace period after scaling activity in seconds. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -788,7 +788,7 @@ public open class QueueProcessingEc2Service( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public open class QueueProcessingEc2Service( * @param image The image used to start a container. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -921,7 +921,7 @@ public open class QueueProcessingEc2Service( * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -1036,7 +1036,7 @@ public open class QueueProcessingEc2Service( * @param placementConstraints The placement constraints to use for tasks in the service. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class QueueProcessingEc2Service( * @param placementStrategies The placement strategies to use for tasks in the service. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -1094,7 +1094,7 @@ public open class QueueProcessingEc2Service( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -1108,7 +1108,7 @@ public open class QueueProcessingEc2Service( * @param queue A queue for which to process items from. */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -1121,7 +1121,7 @@ public open class QueueProcessingEc2Service( * @param retentionPeriod The number of seconds that Dead Letter Queue retains a message. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -1137,7 +1137,7 @@ public open class QueueProcessingEc2Service( * ApproximateNumberOfMessagesVisible metric. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -1192,7 +1192,7 @@ public open class QueueProcessingEc2Service( * @param visibilityTimeout Timeout of processing a single message. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } /** @@ -1208,7 +1208,7 @@ public open class QueueProcessingEc2Service( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2Service = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2ServiceProps.kt index 8cacabab5f..2047624637 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingEc2ServiceProps.kt @@ -468,7 +468,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * Subsequent scale ins during the cooldown period are ignored. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -653,14 +653,14 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * For `QueueProcessingEc2Service`, `image` is required. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -737,7 +737,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html). */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html). */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * [CreateQueue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html) */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * If the queue construct is specified, retentionPeriod should be omitted. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -802,7 +802,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * If the queue construct is specified, visibilityTimeout should be omitted. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public interface QueueProcessingEc2ServiceProps : QueueProcessingServiceBaseProp * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.QueueProcessingEc2ServiceProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateService.kt index f1cf2015d0..3fe99375b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateService.kt @@ -59,7 +59,7 @@ public open class QueueProcessingFargateService( cdkObject: software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService, ) : QueueProcessingServiceBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -68,8 +68,8 @@ public open class QueueProcessingFargateService( id: String, props: QueueProcessingFargateServiceProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(QueueProcessingFargateServiceProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(QueueProcessingFargateServiceProps.Companion::unwrap)) ) public constructor( @@ -735,7 +735,7 @@ public open class QueueProcessingFargateService( */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class QueueProcessingFargateService( * @param circuitBreaker Whether to enable the deployment circuit breaker. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class QueueProcessingFargateService( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class QueueProcessingFargateService( * @param cooldown Grace period after scaling activity in seconds. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -901,7 +901,7 @@ public open class QueueProcessingFargateService( * @param deploymentController Specifies which deployment controller to use for the service. */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class QueueProcessingFargateService( * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -1051,7 +1051,7 @@ public open class QueueProcessingFargateService( * @param image The image used to start a container. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** @@ -1062,7 +1062,7 @@ public open class QueueProcessingFargateService( * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -1181,7 +1181,7 @@ public open class QueueProcessingFargateService( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -1196,7 +1196,7 @@ public open class QueueProcessingFargateService( * service to the tasks in the service. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class QueueProcessingFargateService( * @param queue A queue for which to process items from. */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -1223,7 +1223,7 @@ public open class QueueProcessingFargateService( * @param retentionPeriod The number of seconds that Dead Letter Queue retains a message. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -1235,7 +1235,7 @@ public open class QueueProcessingFargateService( * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -1264,7 +1264,7 @@ public open class QueueProcessingFargateService( * ApproximateNumberOfMessagesVisible metric. */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -1303,7 +1303,7 @@ public open class QueueProcessingFargateService( * @param securityGroups The security groups to associate with the service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public open class QueueProcessingFargateService( * TaskImageOptions must be specified, but not both. */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -1353,7 +1353,7 @@ public open class QueueProcessingFargateService( * @param taskSubnets The subnets to associate with the service. */ override fun taskSubnets(taskSubnets: SubnetSelection) { - cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1384,7 +1384,7 @@ public open class QueueProcessingFargateService( * @param visibilityTimeout Timeout of processing a single message. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } /** @@ -1400,7 +1400,7 @@ public open class QueueProcessingFargateService( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.QueueProcessingFargateService = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateServiceProps.kt index 4b553c22c9..22b3b3a1bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingFargateServiceProps.kt @@ -498,7 +498,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * Subsequent scale ins during the cooldown period are ignored. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * container. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -708,14 +708,14 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * For `QueueProcessingEc2Service`, `image` is required. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -810,7 +810,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * [CreateQueue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html) */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -827,14 +827,14 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * If the queue construct is specified, retentionPeriod should be omitted. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * If you do not specify a security group, a new security group is created. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -901,14 +901,14 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** * @param taskSubnets The subnets to associate with the service. */ override fun taskSubnets(taskSubnets: SubnetSelection) { - cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.taskSubnets(taskSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * If the queue construct is specified, visibilityTimeout should be omitted. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } /** @@ -939,7 +939,7 @@ public interface QueueProcessingFargateServiceProps : QueueProcessingServiceBase * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingServiceBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingServiceBaseProps.kt index 6f6aa12e17..222ce4e16c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingServiceBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/QueueProcessingServiceBaseProps.kt @@ -611,7 +611,7 @@ public interface QueueProcessingServiceBaseProps { */ override fun capacityProviderStrategies(capacityProviderStrategies: List) { - cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy::unwrap)) + cdkBuilder.capacityProviderStrategies(capacityProviderStrategies.map(CapacityProviderStrategy.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public interface QueueProcessingServiceBaseProps { * enabled. */ override fun circuitBreaker(circuitBreaker: DeploymentCircuitBreaker) { - cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker::unwrap)) + cdkBuilder.circuitBreaker(circuitBreaker.let(DeploymentCircuitBreaker.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public interface QueueProcessingServiceBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public interface QueueProcessingServiceBaseProps { * Subsequent scale ins during the cooldown period are ignored. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface QueueProcessingServiceBaseProps { * Types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) */ override fun deploymentController(deploymentController: DeploymentController) { - cdkBuilder.deploymentController(deploymentController.let(DeploymentController::unwrap)) + cdkBuilder.deploymentController(deploymentController.let(DeploymentController.Companion::unwrap)) } /** @@ -761,14 +761,14 @@ public interface QueueProcessingServiceBaseProps { * For `QueueProcessingEc2Service`, `image` is required. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -820,7 +820,7 @@ public interface QueueProcessingServiceBaseProps { * Tags can only be propagated to the tasks within the service during service creation. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public interface QueueProcessingServiceBaseProps { * [CreateQueue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html) */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public interface QueueProcessingServiceBaseProps { * If the queue construct is specified, retentionPeriod should be omitted. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -848,7 +848,7 @@ public interface QueueProcessingServiceBaseProps { * Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html) */ override fun scalingSteps(scalingSteps: List) { - cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval::unwrap)) + cdkBuilder.scalingSteps(scalingSteps.map(ScalingInterval.Companion::unwrap)) } /** @@ -885,7 +885,7 @@ public interface QueueProcessingServiceBaseProps { * If the queue construct is specified, visibilityTimeout should be omitted. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public interface QueueProcessingServiceBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.QueueProcessingServiceBaseProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2Task.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2Task.kt index f8796e3ea4..36425b158b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2Task.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2Task.kt @@ -50,8 +50,8 @@ public open class ScheduledEc2Task( id: String, props: ScheduledEc2TaskProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.ScheduledEc2Task(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ScheduledEc2TaskProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.ScheduledEc2Task(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ScheduledEc2TaskProps.Companion::unwrap)) ) public constructor( @@ -305,7 +305,7 @@ public open class ScheduledEc2Task( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class ScheduledEc2Task( * task. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class ScheduledEc2Task( * the rule. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class ScheduledEc2Task( */ override fun scheduledEc2TaskDefinitionOptions(scheduledEc2TaskDefinitionOptions: ScheduledEc2TaskDefinitionOptions) { - cdkBuilder.scheduledEc2TaskDefinitionOptions(scheduledEc2TaskDefinitionOptions.let(ScheduledEc2TaskDefinitionOptions::unwrap)) + cdkBuilder.scheduledEc2TaskDefinitionOptions(scheduledEc2TaskDefinitionOptions.let(ScheduledEc2TaskDefinitionOptions.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class ScheduledEc2Task( */ override fun scheduledEc2TaskImageOptions(scheduledEc2TaskImageOptions: ScheduledEc2TaskImageOptions) { - cdkBuilder.scheduledEc2TaskImageOptions(scheduledEc2TaskImageOptions.let(ScheduledEc2TaskImageOptions::unwrap)) + cdkBuilder.scheduledEc2TaskImageOptions(scheduledEc2TaskImageOptions.let(ScheduledEc2TaskImageOptions.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class ScheduledEc2Task( * @param securityGroups Existing security groups to use for your service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class ScheduledEc2Task( * @param subnetSelection In what subnets to place the task's ENIs. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class ScheduledEc2Task( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class ScheduledEc2Task( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ScheduledEc2Task = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskDefinitionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskDefinitionOptions.kt index 47cc03e74a..bb74d995f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskDefinitionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskDefinitionOptions.kt @@ -60,7 +60,7 @@ public interface ScheduledEc2TaskDefinitionOptions { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: Ec2TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(Ec2TaskDefinition.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskImageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskImageOptions.kt index 53c518fcda..92256ea910 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskImageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskImageOptions.kt @@ -171,14 +171,14 @@ public interface ScheduledEc2TaskImageOptions : ScheduledTaskImageProps { * Image or taskDefinition must be specified, but not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskProps.kt index 644a45f397..e589142032 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledEc2TaskProps.kt @@ -204,7 +204,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * If no value is specified, the tags are not propagated. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * in the Amazon CloudWatch User Guide. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { */ override fun scheduledEc2TaskDefinitionOptions(scheduledEc2TaskDefinitionOptions: ScheduledEc2TaskDefinitionOptions) { - cdkBuilder.scheduledEc2TaskDefinitionOptions(scheduledEc2TaskDefinitionOptions.let(ScheduledEc2TaskDefinitionOptions::unwrap)) + cdkBuilder.scheduledEc2TaskDefinitionOptions(scheduledEc2TaskDefinitionOptions.let(ScheduledEc2TaskDefinitionOptions.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { */ override fun scheduledEc2TaskImageOptions(scheduledEc2TaskImageOptions: ScheduledEc2TaskImageOptions) { - cdkBuilder.scheduledEc2TaskImageOptions(scheduledEc2TaskImageOptions.let(ScheduledEc2TaskImageOptions::unwrap)) + cdkBuilder.scheduledEc2TaskImageOptions(scheduledEc2TaskImageOptions.let(ScheduledEc2TaskImageOptions.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * @param securityGroups Existing security groups to use for your service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * (Only applicable in case the TaskDefinition is configured for AwsVpc networking) */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface ScheduledEc2TaskProps : ScheduledTaskBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ScheduledEc2TaskProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTask.kt index 0c9f807648..63f451c482 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTask.kt @@ -54,8 +54,8 @@ public open class ScheduledFargateTask( id: String, props: ScheduledFargateTaskProps, ) : - this(software.amazon.awscdk.services.ecs.patterns.ScheduledFargateTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ScheduledFargateTaskProps::unwrap)) + this(software.amazon.awscdk.services.ecs.patterns.ScheduledFargateTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ScheduledFargateTaskProps.Companion::unwrap)) ) public constructor( @@ -435,7 +435,7 @@ public open class ScheduledFargateTask( * @param cluster The name of the cluster that hosts the service. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class ScheduledFargateTask( * @param platformVersion The platform version on which to run your service. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class ScheduledFargateTask( * task. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class ScheduledFargateTask( * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -623,7 +623,7 @@ public open class ScheduledFargateTask( * the rule. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class ScheduledFargateTask( */ override fun scheduledFargateTaskDefinitionOptions(scheduledFargateTaskDefinitionOptions: ScheduledFargateTaskDefinitionOptions) { - cdkBuilder.scheduledFargateTaskDefinitionOptions(scheduledFargateTaskDefinitionOptions.let(ScheduledFargateTaskDefinitionOptions::unwrap)) + cdkBuilder.scheduledFargateTaskDefinitionOptions(scheduledFargateTaskDefinitionOptions.let(ScheduledFargateTaskDefinitionOptions.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class ScheduledFargateTask( */ override fun scheduledFargateTaskImageOptions(scheduledFargateTaskImageOptions: ScheduledFargateTaskImageOptions) { - cdkBuilder.scheduledFargateTaskImageOptions(scheduledFargateTaskImageOptions.let(ScheduledFargateTaskImageOptions::unwrap)) + cdkBuilder.scheduledFargateTaskImageOptions(scheduledFargateTaskImageOptions.let(ScheduledFargateTaskImageOptions.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public open class ScheduledFargateTask( * @param securityGroups Existing security groups to use for your service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -725,7 +725,7 @@ public open class ScheduledFargateTask( * @param subnetSelection In what subnets to place the task's ENIs. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public open class ScheduledFargateTask( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class ScheduledFargateTask( * TaskImageOptions must be specified, but not both. */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public open class ScheduledFargateTask( * interfaces (ENIs) will be deployed. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ScheduledFargateTask = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskDefinitionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskDefinitionOptions.kt index cb5931aeee..7c09116304 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskDefinitionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskDefinitionOptions.kt @@ -60,7 +60,7 @@ public interface ScheduledFargateTaskDefinitionOptions { * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskImageOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskImageOptions.kt index 32b8c969a5..c227b1ad70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskImageOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskImageOptions.kt @@ -237,14 +237,14 @@ public interface ScheduledFargateTaskImageOptions : ScheduledTaskImageProps, Far * Image or taskDefinition must be specified, but not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public interface ScheduledFargateTaskImageOptions : ScheduledTaskImageProps, Far * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface ScheduledFargateTaskImageOptions : ScheduledTaskImageProps, Far * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskProps.kt index b46c15a9d8..db55b4d21d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledFargateTaskProps.kt @@ -298,7 +298,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * in the Amazon Elastic Container Service Developer Guide. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * If no value is specified, the tags are not propagated. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * @param runtimePlatform The runtime platform of the task definition. */ override fun runtimePlatform(runtimePlatform: RuntimePlatform) { - cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform::unwrap)) + cdkBuilder.runtimePlatform(runtimePlatform.let(RuntimePlatform.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * in the Amazon CloudWatch User Guide. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ */ override fun scheduledFargateTaskDefinitionOptions(scheduledFargateTaskDefinitionOptions: ScheduledFargateTaskDefinitionOptions) { - cdkBuilder.scheduledFargateTaskDefinitionOptions(scheduledFargateTaskDefinitionOptions.let(ScheduledFargateTaskDefinitionOptions::unwrap)) + cdkBuilder.scheduledFargateTaskDefinitionOptions(scheduledFargateTaskDefinitionOptions.let(ScheduledFargateTaskDefinitionOptions.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ */ override fun scheduledFargateTaskImageOptions(scheduledFargateTaskImageOptions: ScheduledFargateTaskImageOptions) { - cdkBuilder.scheduledFargateTaskImageOptions(scheduledFargateTaskImageOptions.let(ScheduledFargateTaskImageOptions::unwrap)) + cdkBuilder.scheduledFargateTaskImageOptions(scheduledFargateTaskImageOptions.let(ScheduledFargateTaskImageOptions.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * @param securityGroups Existing security groups to use for your service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * (Only applicable in case the TaskDefinition is configured for AwsVpc networking) */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * [disable-awslint:ref-via-interface] */ override fun taskDefinition(taskDefinition: FargateTaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(FargateTaskDefinition.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public interface ScheduledFargateTaskProps : ScheduledTaskBaseProps, FargateServ * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ScheduledFargateTaskProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskBaseProps.kt index 424d34287a..d6438fcfde 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskBaseProps.kt @@ -256,7 +256,7 @@ public interface ScheduledTaskBaseProps { * both cluster and vpc. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public interface ScheduledTaskBaseProps { * If no value is specified, the tags are not propagated. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public interface ScheduledTaskBaseProps { * in the Amazon CloudWatch User Guide. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** * @param securityGroups Existing security groups to use for your service. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface ScheduledTaskBaseProps { * (Only applicable in case the TaskDefinition is configured for AwsVpc networking) */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public interface ScheduledTaskBaseProps { * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface ScheduledTaskBaseProps { * both vpc and cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ecs.patterns.ScheduledTaskBaseProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskImageProps.kt index c07f9d50ed..73941cb5d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ScheduledTaskImageProps.kt @@ -147,14 +147,14 @@ public interface ScheduledTaskImageProps { * Image or taskDefinition must be specified, but not both. */ override fun image(image: ContainerImage) { - cdkBuilder.image(image.let(ContainerImage::unwrap)) + cdkBuilder.image(image.let(ContainerImage.Companion::unwrap)) } /** * @param logDriver The log driver to use. */ override fun logDriver(logDriver: LogDriver) { - cdkBuilder.logDriver(logDriver.let(LogDriver::unwrap)) + cdkBuilder.logDriver(logDriver.let(LogDriver.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPoint.kt index 0cfbffc8d7..618e87d1c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPoint.kt @@ -33,8 +33,8 @@ public open class AccessPoint( id: String, props: AccessPointProps, ) : - this(software.amazon.awscdk.services.efs.AccessPoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AccessPointProps::unwrap)) + this(software.amazon.awscdk.services.efs.AccessPoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AccessPointProps.Companion::unwrap)) ) public constructor( @@ -179,7 +179,7 @@ public open class AccessPoint( * point's root directory. */ override fun createAcl(createAcl: Acl) { - cdkBuilder.createAcl(createAcl.let(Acl::unwrap)) + cdkBuilder.createAcl(createAcl.let(Acl.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class AccessPoint( * @param fileSystem The efs filesystem. */ override fun fileSystem(fileSystem: IFileSystem) { - cdkBuilder.fileSystem(fileSystem.let(IFileSystem::unwrap)) + cdkBuilder.fileSystem(fileSystem.let(IFileSystem.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class AccessPoint( * clients using the access point. */ override fun posixUser(posixUser: PosixUser) { - cdkBuilder.posixUser(posixUser.let(PosixUser::unwrap)) + cdkBuilder.posixUser(posixUser.let(PosixUser.Companion::unwrap)) } /** @@ -271,8 +271,8 @@ public open class AccessPoint( id: String, attrs: AccessPointAttributes, ): IAccessPoint = - software.amazon.awscdk.services.efs.AccessPoint.fromAccessPointAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(AccessPointAttributes::unwrap)).let(IAccessPoint::wrap) + software.amazon.awscdk.services.efs.AccessPoint.fromAccessPointAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(AccessPointAttributes.Companion::unwrap)).let(IAccessPoint::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fdc24fd29d0d7d80090cf1ae8cde4702127ddffb6a4bc6cc5398f4fed3557f2d") @@ -287,7 +287,7 @@ public open class AccessPoint( id: String, accessPointId: String, ): IAccessPoint = - software.amazon.awscdk.services.efs.AccessPoint.fromAccessPointId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.efs.AccessPoint.fromAccessPointId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, accessPointId).let(IAccessPoint::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointAttributes.kt index b26e60da4c..4f7307c196 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointAttributes.kt @@ -88,7 +88,7 @@ public interface AccessPointAttributes { * @param fileSystem The EFS file system. */ override fun fileSystem(fileSystem: IFileSystem) { - cdkBuilder.fileSystem(fileSystem.let(IFileSystem::unwrap)) + cdkBuilder.fileSystem(fileSystem.let(IFileSystem.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.efs.AccessPointAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointOptions.kt index 53f7f4c9d4..536500a3df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointOptions.kt @@ -153,7 +153,7 @@ public interface AccessPointOptions { * `createAcl`. */ override fun createAcl(createAcl: Acl) { - cdkBuilder.createAcl(createAcl.let(Acl::unwrap)) + cdkBuilder.createAcl(createAcl.let(Acl.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface AccessPointOptions { * Specify this to enforce a user identity using an access point. */ override fun posixUser(posixUser: PosixUser) { - cdkBuilder.posixUser(posixUser.let(PosixUser::unwrap)) + cdkBuilder.posixUser(posixUser.let(PosixUser.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointProps.kt index deab8d3bc0..cdd8e38272 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/AccessPointProps.kt @@ -116,7 +116,7 @@ public interface AccessPointProps : AccessPointOptions { * `createAcl`. */ override fun createAcl(createAcl: Acl) { - cdkBuilder.createAcl(createAcl.let(Acl::unwrap)) + cdkBuilder.createAcl(createAcl.let(Acl.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface AccessPointProps : AccessPointOptions { * @param fileSystem The efs filesystem. */ override fun fileSystem(fileSystem: IFileSystem) { - cdkBuilder.fileSystem(fileSystem.let(IFileSystem::unwrap)) + cdkBuilder.fileSystem(fileSystem.let(IFileSystem.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface AccessPointProps : AccessPointOptions { * Specify this to enforce a user identity using an access point. */ override fun posixUser(posixUser: PosixUser) { - cdkBuilder.posixUser(posixUser.let(PosixUser::unwrap)) + cdkBuilder.posixUser(posixUser.let(PosixUser.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPoint.kt index 1dd0948ae3..5f81d8b3cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPoint.kt @@ -73,8 +73,8 @@ public open class CfnAccessPoint( id: String, props: CfnAccessPointProps, ) : - this(software.amazon.awscdk.services.efs.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPointProps::unwrap)) + this(software.amazon.awscdk.services.efs.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPointProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnAccessPoint( * An array of key-value pairs to apply to this resource. */ public open fun accessPointTagsRaw(`value`: List) { - unwrap(this).setAccessPointTagsRaw(`value`.map(AccessPointTagProperty::unwrap)) + unwrap(this).setAccessPointTagsRaw(`value`.map(AccessPointTagProperty.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnAccessPoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnAccessPoint( * point that is used for all file operations by NFS clients using the access point. */ public open fun posixUser(`value`: IResolvable) { - unwrap(this).setPosixUser(`value`.let(IResolvable::unwrap)) + unwrap(this).setPosixUser(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnAccessPoint( * point that is used for all file operations by NFS clients using the access point. */ public open fun posixUser(`value`: PosixUserProperty) { - unwrap(this).setPosixUser(`value`.let(PosixUserProperty::unwrap)) + unwrap(this).setPosixUser(`value`.let(PosixUserProperty.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnAccessPoint( * clients using the access point. */ public open fun rootDirectory(`value`: IResolvable) { - unwrap(this).setRootDirectory(`value`.let(IResolvable::unwrap)) + unwrap(this).setRootDirectory(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnAccessPoint( * clients using the access point. */ public open fun rootDirectory(`value`: RootDirectoryProperty) { - unwrap(this).setRootDirectory(`value`.let(RootDirectoryProperty::unwrap)) + unwrap(this).setRootDirectory(`value`.let(RootDirectoryProperty.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnAccessPoint( * @param accessPointTags An array of key-value pairs to apply to this resource. */ override fun accessPointTags(accessPointTags: List) { - cdkBuilder.accessPointTags(accessPointTags.map(AccessPointTagProperty::unwrap)) + cdkBuilder.accessPointTags(accessPointTags.map(AccessPointTagProperty.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnAccessPoint( * access point. */ override fun posixUser(posixUser: IResolvable) { - cdkBuilder.posixUser(posixUser.let(IResolvable::unwrap)) + cdkBuilder.posixUser(posixUser.let(IResolvable.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnAccessPoint( * access point. */ override fun posixUser(posixUser: PosixUserProperty) { - cdkBuilder.posixUser(posixUser.let(PosixUserProperty::unwrap)) + cdkBuilder.posixUser(posixUser.let(PosixUserProperty.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnAccessPoint( * the root directory to NFS clients using the access point. */ override fun rootDirectory(rootDirectory: IResolvable) { - cdkBuilder.rootDirectory(rootDirectory.let(IResolvable::unwrap)) + cdkBuilder.rootDirectory(rootDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CfnAccessPoint( * the root directory to NFS clients using the access point. */ override fun rootDirectory(rootDirectory: RootDirectoryProperty) { - cdkBuilder.rootDirectory(rootDirectory.let(RootDirectoryProperty::unwrap)) + cdkBuilder.rootDirectory(rootDirectory.let(RootDirectoryProperty.Companion::unwrap)) } /** @@ -1045,7 +1045,7 @@ public open class CfnAccessPoint( * exist, attempts to mount the file system using the access point will fail. */ override fun creationInfo(creationInfo: IResolvable) { - cdkBuilder.creationInfo(creationInfo.let(IResolvable::unwrap)) + cdkBuilder.creationInfo(creationInfo.let(IResolvable.Companion::unwrap)) } /** @@ -1060,7 +1060,7 @@ public open class CfnAccessPoint( * exist, attempts to mount the file system using the access point will fail. */ override fun creationInfo(creationInfo: CreationInfoProperty) { - cdkBuilder.creationInfo(creationInfo.let(CreationInfoProperty::unwrap)) + cdkBuilder.creationInfo(creationInfo.let(CreationInfoProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPointProps.kt index 2be901e971..f550d8d214 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPointProps.kt @@ -183,7 +183,7 @@ public interface CfnAccessPointProps { * . */ override fun accessPointTags(accessPointTags: List) { - cdkBuilder.accessPointTags(accessPointTags.map(CfnAccessPoint.AccessPointTagProperty::unwrap)) + cdkBuilder.accessPointTags(accessPointTags.map(CfnAccessPoint.AccessPointTagProperty.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnAccessPointProps { * access point. */ override fun posixUser(posixUser: IResolvable) { - cdkBuilder.posixUser(posixUser.let(IResolvable::unwrap)) + cdkBuilder.posixUser(posixUser.let(IResolvable.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface CfnAccessPointProps { * access point. */ override fun posixUser(posixUser: CfnAccessPoint.PosixUserProperty) { - cdkBuilder.posixUser(posixUser.let(CfnAccessPoint.PosixUserProperty::unwrap)) + cdkBuilder.posixUser(posixUser.let(CfnAccessPoint.PosixUserProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CfnAccessPointProps { * the root directory to NFS clients using the access point. */ override fun rootDirectory(rootDirectory: IResolvable) { - cdkBuilder.rootDirectory(rootDirectory.let(IResolvable::unwrap)) + cdkBuilder.rootDirectory(rootDirectory.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface CfnAccessPointProps { * the root directory to NFS clients using the access point. */ override fun rootDirectory(rootDirectory: CfnAccessPoint.RootDirectoryProperty) { - cdkBuilder.rootDirectory(rootDirectory.let(CfnAccessPoint.RootDirectoryProperty::unwrap)) + cdkBuilder.rootDirectory(rootDirectory.let(CfnAccessPoint.RootDirectoryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystem.kt index 579f40943e..701edfe9e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystem.kt @@ -77,7 +77,7 @@ public open class CfnFileSystem( cdkObject: software.amazon.awscdk.services.efs.CfnFileSystem, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.efs.CfnFileSystem(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.efs.CfnFileSystem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -86,8 +86,8 @@ public open class CfnFileSystem( id: String, props: CfnFileSystemProps, ) : - this(software.amazon.awscdk.services.efs.CfnFileSystem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFileSystemProps::unwrap)) + this(software.amazon.awscdk.services.efs.CfnFileSystem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFileSystemProps.Companion::unwrap)) ) public constructor( @@ -135,14 +135,14 @@ public open class CfnFileSystem( * Use the `BackupPolicy` to turn automatic backups on or off for the file system. */ public open fun backupPolicy(`value`: IResolvable) { - unwrap(this).setBackupPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setBackupPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * Use the `BackupPolicy` to turn automatic backups on or off for the file system. */ public open fun backupPolicy(`value`: BackupPolicyProperty) { - unwrap(this).setBackupPolicy(`value`.let(BackupPolicyProperty::unwrap)) + unwrap(this).setBackupPolicy(`value`.let(BackupPolicyProperty.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnFileSystem( * safety check. */ public open fun bypassPolicyLockoutSafetyCheck(`value`: IResolvable) { - unwrap(this).setBypassPolicyLockoutSafetyCheck(`value`.let(IResolvable::unwrap)) + unwrap(this).setBypassPolicyLockoutSafetyCheck(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnFileSystem( * A Boolean value that, if true, creates an encrypted file system. */ public open fun encrypted(`value`: IResolvable) { - unwrap(this).setEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -216,14 +216,14 @@ public open class CfnFileSystem( * Describes the protection on the file system. */ public open fun fileSystemProtection(`value`: IResolvable) { - unwrap(this).setFileSystemProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileSystemProtection(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the protection on the file system. */ public open fun fileSystemProtection(`value`: FileSystemProtectionProperty) { - unwrap(this).setFileSystemProtection(`value`.let(FileSystemProtectionProperty::unwrap)) + unwrap(this).setFileSystemProtection(`value`.let(FileSystemProtectionProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnFileSystem( * Use to create one or more tags associated with the file system. */ public open fun fileSystemTagsRaw(`value`: List) { - unwrap(this).setFileSystemTagsRaw(`value`.map(ElasticFileSystemTagProperty::unwrap)) + unwrap(this).setFileSystemTagsRaw(`value`.map(ElasticFileSystemTagProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnFileSystem( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnFileSystem( * object. */ public open fun lifecyclePolicies(`value`: IResolvable) { - unwrap(this).setLifecyclePolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecyclePolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -338,14 +338,14 @@ public open class CfnFileSystem( * Describes the replication configuration for a specific file system. */ public open fun replicationConfiguration(`value`: IResolvable) { - unwrap(this).setReplicationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the replication configuration for a specific file system. */ public open fun replicationConfiguration(`value`: ReplicationConfigurationProperty) { - unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -770,7 +770,7 @@ public open class CfnFileSystem( * system. */ override fun backupPolicy(backupPolicy: IResolvable) { - cdkBuilder.backupPolicy(backupPolicy.let(IResolvable::unwrap)) + cdkBuilder.backupPolicy(backupPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnFileSystem( * system. */ override fun backupPolicy(backupPolicy: BackupPolicyProperty) { - cdkBuilder.backupPolicy(backupPolicy.let(BackupPolicyProperty::unwrap)) + cdkBuilder.backupPolicy(backupPolicy.let(BackupPolicyProperty.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public open class CfnFileSystem( * bypass the `FileSystemPolicy` lockout safety check. */ override fun bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck: IResolvable) { - cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable::unwrap)) + cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable.Companion::unwrap)) } /** @@ -857,7 +857,7 @@ public open class CfnFileSystem( * @param encrypted A Boolean value that, if true, creates an encrypted file system. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -882,7 +882,7 @@ public open class CfnFileSystem( * @param fileSystemProtection Describes the protection on the file system. */ override fun fileSystemProtection(fileSystemProtection: IResolvable) { - cdkBuilder.fileSystemProtection(fileSystemProtection.let(IResolvable::unwrap)) + cdkBuilder.fileSystemProtection(fileSystemProtection.let(IResolvable.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class CfnFileSystem( * @param fileSystemProtection Describes the protection on the file system. */ override fun fileSystemProtection(fileSystemProtection: FileSystemProtectionProperty) { - cdkBuilder.fileSystemProtection(fileSystemProtection.let(FileSystemProtectionProperty::unwrap)) + cdkBuilder.fileSystemProtection(fileSystemProtection.let(FileSystemProtectionProperty.Companion::unwrap)) } /** @@ -919,7 +919,7 @@ public open class CfnFileSystem( * @param fileSystemTags Use to create one or more tags associated with the file system. */ override fun fileSystemTags(fileSystemTags: List) { - cdkBuilder.fileSystemTags(fileSystemTags.map(ElasticFileSystemTagProperty::unwrap)) + cdkBuilder.fileSystemTags(fileSystemTags.map(ElasticFileSystemTagProperty.Companion::unwrap)) } /** @@ -984,7 +984,7 @@ public open class CfnFileSystem( * `LifecycleConfiguration` object. */ override fun lifecyclePolicies(lifecyclePolicies: IResolvable) { - cdkBuilder.lifecyclePolicies(lifecyclePolicies.let(IResolvable::unwrap)) + cdkBuilder.lifecyclePolicies(lifecyclePolicies.let(IResolvable.Companion::unwrap)) } /** @@ -1089,7 +1089,7 @@ public open class CfnFileSystem( * system. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1101,7 +1101,7 @@ public open class CfnFileSystem( */ override fun replicationConfiguration(replicationConfiguration: ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1758,7 +1758,7 @@ public open class CfnFileSystem( * Only one destination object is supported. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystemProps.kt index 67a9341e8e..fd0c381cbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnFileSystemProps.kt @@ -535,7 +535,7 @@ public interface CfnFileSystemProps { * system. */ override fun backupPolicy(backupPolicy: IResolvable) { - cdkBuilder.backupPolicy(backupPolicy.let(IResolvable::unwrap)) + cdkBuilder.backupPolicy(backupPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public interface CfnFileSystemProps { * system. */ override fun backupPolicy(backupPolicy: CfnFileSystem.BackupPolicyProperty) { - cdkBuilder.backupPolicy(backupPolicy.let(CfnFileSystem.BackupPolicyProperty::unwrap)) + cdkBuilder.backupPolicy(backupPolicy.let(CfnFileSystem.BackupPolicyProperty.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public interface CfnFileSystemProps { * `PutFileSystemPolicy` requests on this file system. The default value is `False` . */ override fun bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck: IResolvable) { - cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable::unwrap)) + cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public interface CfnFileSystemProps { * , `/aws/elasticfilesystem` , is used to protect the encrypted file system. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public interface CfnFileSystemProps { * @param fileSystemProtection Describes the protection on the file system. */ override fun fileSystemProtection(fileSystemProtection: IResolvable) { - cdkBuilder.fileSystemProtection(fileSystemProtection.let(IResolvable::unwrap)) + cdkBuilder.fileSystemProtection(fileSystemProtection.let(IResolvable.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public interface CfnFileSystemProps { */ override fun fileSystemProtection(fileSystemProtection: CfnFileSystem.FileSystemProtectionProperty) { - cdkBuilder.fileSystemProtection(fileSystemProtection.let(CfnFileSystem.FileSystemProtectionProperty::unwrap)) + cdkBuilder.fileSystemProtection(fileSystemProtection.let(CfnFileSystem.FileSystemProtectionProperty.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public interface CfnFileSystemProps { * the *AWS General Reference Guide* . */ override fun fileSystemTags(fileSystemTags: List) { - cdkBuilder.fileSystemTags(fileSystemTags.map(CfnFileSystem.ElasticFileSystemTagProperty::unwrap)) + cdkBuilder.fileSystemTags(fileSystemTags.map(CfnFileSystem.ElasticFileSystemTagProperty.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public interface CfnFileSystemProps { * following section for more information. */ override fun lifecyclePolicies(lifecyclePolicies: IResolvable) { - cdkBuilder.lifecyclePolicies(lifecyclePolicies.let(IResolvable::unwrap)) + cdkBuilder.lifecyclePolicies(lifecyclePolicies.let(IResolvable.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public interface CfnFileSystemProps { * system. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public interface CfnFileSystemProps { */ override fun replicationConfiguration(replicationConfiguration: CfnFileSystem.ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnFileSystem.ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnFileSystem.ReplicationConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnMountTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnMountTarget.kt index dcf699f12b..6d3c925600 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnMountTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnMountTarget.kt @@ -44,8 +44,8 @@ public open class CfnMountTarget( id: String, props: CfnMountTargetProps, ) : - this(software.amazon.awscdk.services.efs.CfnMountTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMountTargetProps::unwrap)) + this(software.amazon.awscdk.services.efs.CfnMountTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMountTargetProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnMountTarget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ExistingFileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ExistingFileSystemProps.kt index 99f0c68851..804df49f18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ExistingFileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ExistingFileSystemProps.kt @@ -47,7 +47,7 @@ public interface ExistingFileSystemProps { * @param destinationFileSystem The existing destination file system for the replication. */ override fun destinationFileSystem(destinationFileSystem: IFileSystem) { - cdkBuilder.destinationFileSystem(destinationFileSystem.let(IFileSystem::unwrap)) + cdkBuilder.destinationFileSystem(destinationFileSystem.let(IFileSystem.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.efs.ExistingFileSystemProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystem.kt index 6fd4c18e88..fea9a6c1a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystem.kt @@ -57,8 +57,8 @@ public open class FileSystem( id: String, props: FileSystemProps, ) : - this(software.amazon.awscdk.services.efs.FileSystem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FileSystemProps::unwrap)) + this(software.amazon.awscdk.services.efs.FileSystem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FileSystemProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class FileSystem( */ public open fun addAccessPoint(id: String, accessPointOptions: AccessPointOptions): AccessPoint = unwrap(this).addAccessPoint(id, - accessPointOptions.let(AccessPointOptions::unwrap)).let(AccessPoint::wrap) + accessPointOptions.let(AccessPointOptions.Companion::unwrap)).let(AccessPoint::wrap) /** * create access point from this filesystem. @@ -109,7 +109,7 @@ public open class FileSystem( * @param statement The policy statement to add. */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the resource policy associated with this file system. @@ -148,8 +148,8 @@ public open class FileSystem( * @param actions The actions to grant. */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant read permissions for this file system to an IAM principal. @@ -157,7 +157,7 @@ public open class FileSystem( * @param grantee The principal to grant read to. */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read and write permissions for this file system to an IAM principal. @@ -165,7 +165,7 @@ public open class FileSystem( * @param grantee The principal to grant read and write to. */ public override fun grantReadWrite(grantee: IGrantable): Grant = - unwrap(this).grantReadWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * As root user, grant read and write permissions for this file system to an IAM principal. @@ -173,7 +173,7 @@ public open class FileSystem( * @param grantee The principal to grant root access to. */ public override fun grantRootAccess(grantee: IGrantable): Grant = - unwrap(this).grantRootAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRootAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Dependable that can be depended upon to ensure the mount targets of the filesystem are ready. @@ -475,7 +475,7 @@ public open class FileSystem( * access to an EFS file system. */ override fun fileSystemPolicy(fileSystemPolicy: PolicyDocument) { - cdkBuilder.fileSystemPolicy(fileSystemPolicy.let(PolicyDocument::unwrap)) + cdkBuilder.fileSystemPolicy(fileSystemPolicy.let(PolicyDocument.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class FileSystem( * @param kmsKey The KMS key used for encryption. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class FileSystem( * Infrequent Access (IA) storage class. */ override fun lifecyclePolicy(lifecyclePolicy: LifecyclePolicy) { - cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(LifecyclePolicy::unwrap)) + cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(LifecyclePolicy.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public open class FileSystem( */ override fun outOfInfrequentAccessPolicy(outOfInfrequentAccessPolicy: OutOfInfrequentAccessPolicy) { - cdkBuilder.outOfInfrequentAccessPolicy(outOfInfrequentAccessPolicy.let(OutOfInfrequentAccessPolicy::unwrap)) + cdkBuilder.outOfInfrequentAccessPolicy(outOfInfrequentAccessPolicy.let(OutOfInfrequentAccessPolicy.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public open class FileSystem( * @param performanceMode The performance mode that the file system will operate under. */ override fun performanceMode(performanceMode: PerformanceMode) { - cdkBuilder.performanceMode(performanceMode.let(PerformanceMode::unwrap)) + cdkBuilder.performanceMode(performanceMode.let(PerformanceMode.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public open class FileSystem( * @param provisionedThroughputPerSecond Provisioned throughput for the file system. */ override fun provisionedThroughputPerSecond(provisionedThroughputPerSecond: Size) { - cdkBuilder.provisionedThroughputPerSecond(provisionedThroughputPerSecond.let(Size::unwrap)) + cdkBuilder.provisionedThroughputPerSecond(provisionedThroughputPerSecond.let(Size.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class FileSystem( * @param removalPolicy The removal policy to apply to the file system. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class FileSystem( * @param replicationConfiguration Replication configuration for the file system. */ override fun replicationConfiguration(replicationConfiguration: ReplicationConfiguration) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfiguration::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfiguration.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class FileSystem( */ override fun replicationOverwriteProtection(replicationOverwriteProtection: ReplicationOverwriteProtection) { - cdkBuilder.replicationOverwriteProtection(replicationOverwriteProtection.let(ReplicationOverwriteProtection::unwrap)) + cdkBuilder.replicationOverwriteProtection(replicationOverwriteProtection.let(ReplicationOverwriteProtection.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class FileSystem( * @param securityGroup Security Group to assign to this file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class FileSystem( * @param throughputMode Enum to mention the throughput mode of the file system. */ override fun throughputMode(throughputMode: ThroughputMode) { - cdkBuilder.throughputMode(throughputMode.let(ThroughputMode::unwrap)) + cdkBuilder.throughputMode(throughputMode.let(ThroughputMode.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class FileSystem( * storage (the Standard storage class) at which to move them to Archive storage. */ override fun transitionToArchivePolicy(transitionToArchivePolicy: LifecyclePolicy) { - cdkBuilder.transitionToArchivePolicy(transitionToArchivePolicy.let(LifecyclePolicy::unwrap)) + cdkBuilder.transitionToArchivePolicy(transitionToArchivePolicy.let(LifecyclePolicy.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class FileSystem( * @param vpc VPC to launch the file system in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public open class FileSystem( * @param vpcSubnets Which subnets to place the mount target in the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -694,8 +694,8 @@ public open class FileSystem( id: String, attrs: FileSystemAttributes, ): IFileSystem = - software.amazon.awscdk.services.efs.FileSystem.fromFileSystemAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(FileSystemAttributes::unwrap)).let(IFileSystem::wrap) + software.amazon.awscdk.services.efs.FileSystem.fromFileSystemAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(FileSystemAttributes.Companion::unwrap)).let(IFileSystem::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("67c7f8559a1a02511e0302ffd8ca4a5cf064c784eb6e462c6fc3b5500a867d2b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemAttributes.kt index 5c7cade98d..da63bac198 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemAttributes.kt @@ -89,7 +89,7 @@ public interface FileSystemAttributes { * @param securityGroup The security group of the file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.efs.FileSystemAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemProps.kt index 3fcc7337d4..16e53032e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/FileSystemProps.kt @@ -373,7 +373,7 @@ public interface FileSystemProps { * access to an EFS file system. */ override fun fileSystemPolicy(fileSystemPolicy: PolicyDocument) { - cdkBuilder.fileSystemPolicy(fileSystemPolicy.let(PolicyDocument::unwrap)) + cdkBuilder.fileSystemPolicy(fileSystemPolicy.let(PolicyDocument.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public interface FileSystemProps { * This is required to encrypt the data at rest if */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public interface FileSystemProps { * Infrequent Access (IA) storage class. */ override fun lifecyclePolicy(lifecyclePolicy: LifecyclePolicy) { - cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(LifecyclePolicy::unwrap)) + cdkBuilder.lifecyclePolicy(lifecyclePolicy.let(LifecyclePolicy.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface FileSystemProps { */ override fun outOfInfrequentAccessPolicy(outOfInfrequentAccessPolicy: OutOfInfrequentAccessPolicy) { - cdkBuilder.outOfInfrequentAccessPolicy(outOfInfrequentAccessPolicy.let(OutOfInfrequentAccessPolicy::unwrap)) + cdkBuilder.outOfInfrequentAccessPolicy(outOfInfrequentAccessPolicy.let(OutOfInfrequentAccessPolicy.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public interface FileSystemProps { * Updating this property will replace the file system. */ override fun performanceMode(performanceMode: PerformanceMode) { - cdkBuilder.performanceMode(performanceMode.let(PerformanceMode::unwrap)) + cdkBuilder.performanceMode(performanceMode.let(PerformanceMode.Companion::unwrap)) } /** @@ -435,21 +435,21 @@ public interface FileSystemProps { * Must be at least 1MiB/s. */ override fun provisionedThroughputPerSecond(provisionedThroughputPerSecond: Size) { - cdkBuilder.provisionedThroughputPerSecond(provisionedThroughputPerSecond.let(Size::unwrap)) + cdkBuilder.provisionedThroughputPerSecond(provisionedThroughputPerSecond.let(Size.Companion::unwrap)) } /** * @param removalPolicy The removal policy to apply to the file system. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param replicationConfiguration Replication configuration for the file system. */ override fun replicationConfiguration(replicationConfiguration: ReplicationConfiguration) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfiguration::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfiguration.Companion::unwrap)) } /** @@ -459,21 +459,21 @@ public interface FileSystemProps { */ override fun replicationOverwriteProtection(replicationOverwriteProtection: ReplicationOverwriteProtection) { - cdkBuilder.replicationOverwriteProtection(replicationOverwriteProtection.let(ReplicationOverwriteProtection::unwrap)) + cdkBuilder.replicationOverwriteProtection(replicationOverwriteProtection.let(ReplicationOverwriteProtection.Companion::unwrap)) } /** * @param securityGroup Security Group to assign to this file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param throughputMode Enum to mention the throughput mode of the file system. */ override fun throughputMode(throughputMode: ThroughputMode) { - cdkBuilder.throughputMode(throughputMode.let(ThroughputMode::unwrap)) + cdkBuilder.throughputMode(throughputMode.let(ThroughputMode.Companion::unwrap)) } /** @@ -483,21 +483,21 @@ public interface FileSystemProps { * events. */ override fun transitionToArchivePolicy(transitionToArchivePolicy: LifecyclePolicy) { - cdkBuilder.transitionToArchivePolicy(transitionToArchivePolicy.let(LifecyclePolicy::unwrap)) + cdkBuilder.transitionToArchivePolicy(transitionToArchivePolicy.let(LifecyclePolicy.Companion::unwrap)) } /** * @param vpc VPC to launch the file system in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Which subnets to place the mount target in the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IAccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IAccessPoint.kt index f0e1330084..3331236b78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IAccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IAccessPoint.kt @@ -57,7 +57,7 @@ public interface IAccessPoint : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IFileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IFileSystem.kt index b569879601..8e5cd4c043 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IFileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/IFileSystem.kt @@ -77,7 +77,7 @@ public interface IFileSystem : IConnectable, IResourceWithPolicy { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Add a statement to the resource's resource policy. @@ -103,7 +103,7 @@ public interface IFileSystem : IConnectable, IResourceWithPolicy { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface IFileSystem : IConnectable, IResourceWithPolicy { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -149,7 +149,7 @@ public interface IFileSystem : IConnectable, IResourceWithPolicy { * @param grantee The principal to grant read to. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read and write permissions for this file system to an IAM principal. @@ -157,7 +157,7 @@ public interface IFileSystem : IConnectable, IResourceWithPolicy { * @param grantee The principal to grant read and write to. */ override fun grantReadWrite(grantee: IGrantable): Grant = - unwrap(this).grantReadWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * As root user, grant read and write permissions for this file system to an IAM principal. @@ -165,7 +165,7 @@ public interface IFileSystem : IConnectable, IResourceWithPolicy { * @param grantee The principal to grant root access to. */ override fun grantRootAccess(grantee: IGrantable): Grant = - unwrap(this).grantRootAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRootAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Dependable that can be depended upon to ensure the mount targets of the filesystem are ready. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/OneZoneFileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/OneZoneFileSystemProps.kt index c5cf7dde0a..dd784f121a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/OneZoneFileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/OneZoneFileSystemProps.kt @@ -86,7 +86,7 @@ public interface OneZoneFileSystemProps { * @param kmsKey AWS KMS key used to protect the encrypted file system. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/RegionalFileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/RegionalFileSystemProps.kt index a21e472f40..1134ab55c8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/RegionalFileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/RegionalFileSystemProps.kt @@ -65,7 +65,7 @@ public interface RegionalFileSystemProps { * @param kmsKey AWS KMS key used to protect the encrypted file system. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfiguration.kt index 86242b0ba3..342a6c7532 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfiguration.kt @@ -71,7 +71,7 @@ public abstract class ReplicationConfiguration( public companion object { public fun existingFileSystem(destinationFileSystem: IFileSystem): ReplicationConfiguration = - software.amazon.awscdk.services.efs.ReplicationConfiguration.existingFileSystem(destinationFileSystem.let(IFileSystem::unwrap)).let(ReplicationConfiguration::wrap) + software.amazon.awscdk.services.efs.ReplicationConfiguration.existingFileSystem(destinationFileSystem.let(IFileSystem.Companion::unwrap)).let(ReplicationConfiguration::wrap) public fun oneZoneFileSystem(region: String, availabilityZone: String): ReplicationConfiguration = software.amazon.awscdk.services.efs.ReplicationConfiguration.oneZoneFileSystem(region, @@ -83,7 +83,7 @@ public abstract class ReplicationConfiguration( kmsKey: IKey, ): ReplicationConfiguration = software.amazon.awscdk.services.efs.ReplicationConfiguration.oneZoneFileSystem(region, - availabilityZone, kmsKey.let(IKey::unwrap)).let(ReplicationConfiguration::wrap) + availabilityZone, kmsKey.let(IKey.Companion::unwrap)).let(ReplicationConfiguration::wrap) public fun regionalFileSystem(): ReplicationConfiguration = software.amazon.awscdk.services.efs.ReplicationConfiguration.regionalFileSystem().let(ReplicationConfiguration::wrap) @@ -93,7 +93,7 @@ public abstract class ReplicationConfiguration( public fun regionalFileSystem(region: String, kmsKey: IKey): ReplicationConfiguration = software.amazon.awscdk.services.efs.ReplicationConfiguration.regionalFileSystem(region, - kmsKey.let(IKey::unwrap)).let(ReplicationConfiguration::wrap) + kmsKey.let(IKey.Companion::unwrap)).let(ReplicationConfiguration::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.efs.ReplicationConfiguration): ReplicationConfiguration = CdkObjectWrappers.wrap(cdkObject) as? ReplicationConfiguration ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfigurationProps.kt index 07e0cffa77..71260dcf85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/ReplicationConfigurationProps.kt @@ -106,14 +106,14 @@ public interface ReplicationConfigurationProps { * @param destinationFileSystem The existing destination file system for the replication. */ override fun destinationFileSystem(destinationFileSystem: IFileSystem) { - cdkBuilder.destinationFileSystem(destinationFileSystem.let(IFileSystem::unwrap)) + cdkBuilder.destinationFileSystem(destinationFileSystem.let(IFileSystem.Companion::unwrap)) } /** * @param kmsKey AWS KMS key used to protect the encrypted file system. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbController.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbController.kt index 3d3d39a8b5..2fdc2e475e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbController.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbController.kt @@ -43,8 +43,8 @@ public open class AlbController( id: String, props: AlbControllerProps, ) : - this(software.amazon.awscdk.services.eks.AlbController(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AlbControllerProps::unwrap)) + this(software.amazon.awscdk.services.eks.AlbController(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AlbControllerProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class AlbController( * @param cluster [disable-awslint:ref-via-interface] Cluster to install the controller onto. */ override fun cluster(cluster: Cluster) { - cdkBuilder.cluster(cluster.let(Cluster::unwrap)) + cdkBuilder.cluster(cluster.let(Cluster.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class AlbController( * @param version Version of the controller. */ override fun version(version: AlbControllerVersion) { - cdkBuilder.version(version.let(AlbControllerVersion::unwrap)) + cdkBuilder.version(version.let(AlbControllerVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.AlbController = cdkBuilder.build() @@ -165,8 +165,8 @@ public open class AlbController( public companion object { public fun create(scope: CloudshiftdevConstructsConstruct, props: AlbControllerProps): AlbController = - software.amazon.awscdk.services.eks.AlbController.create(scope.let(CloudshiftdevConstructsConstruct::unwrap), - props.let(AlbControllerProps::unwrap)).let(AlbController::wrap) + software.amazon.awscdk.services.eks.AlbController.create(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + props.let(AlbControllerProps.Companion::unwrap)).let(AlbController::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3abec2df923af4b086c4ed5b4438c030eef16ecfd9e5fa74e3b42aaa7207f58f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerOptions.kt index ecd59a258f..6cdae3cfb6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerOptions.kt @@ -112,7 +112,7 @@ public interface AlbControllerOptions { * @param version Version of the controller. */ override fun version(version: AlbControllerVersion) { - cdkBuilder.version(version.let(AlbControllerVersion::unwrap)) + cdkBuilder.version(version.let(AlbControllerVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.AlbControllerOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerProps.kt index e0bdc27705..ce44f271c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AlbControllerProps.kt @@ -78,7 +78,7 @@ public interface AlbControllerProps : AlbControllerOptions { * @param cluster [disable-awslint:ref-via-interface] Cluster to install the controller onto. */ override fun cluster(cluster: Cluster) { - cdkBuilder.cluster(cluster.let(Cluster::unwrap)) + cdkBuilder.cluster(cluster.let(Cluster.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface AlbControllerProps : AlbControllerOptions { * @param version Version of the controller. */ override fun version(version: AlbControllerVersion) { - cdkBuilder.version(version.let(AlbControllerVersion::unwrap)) + cdkBuilder.version(version.let(AlbControllerVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.AlbControllerProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupCapacityOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupCapacityOptions.kt index 51e4ac3756..5d939eac14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupCapacityOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupCapacityOptions.kt @@ -15,9 +15,11 @@ import io.cloudshiftdev.awscdk.services.autoscaling.NotificationConfiguration import io.cloudshiftdev.awscdk.services.autoscaling.Signals import io.cloudshiftdev.awscdk.services.autoscaling.TerminationPolicy import io.cloudshiftdev.awscdk.services.autoscaling.UpdatePolicy +import io.cloudshiftdev.awscdk.services.ec2.IKeyPair import io.cloudshiftdev.awscdk.services.ec2.InstanceType import io.cloudshiftdev.awscdk.services.ec2.SubnetSelection import kotlin.Boolean +import kotlin.Deprecated import kotlin.Number import kotlin.String import kotlin.Unit @@ -255,9 +257,25 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") public fun keyName(keyName: String) + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + public fun keyPair(keyPair: IKeyPair) + /** * @param machineImageType Machine image type. */ @@ -461,7 +479,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * specified */ override fun blockDevices(blockDevices: List) { - cdkBuilder.blockDevices(blockDevices.map(BlockDevice::unwrap)) + cdkBuilder.blockDevices(blockDevices.map(BlockDevice.Companion::unwrap)) } /** @@ -493,7 +511,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * @param bootstrapOptions EKS node bootstrapping options. */ override fun bootstrapOptions(bootstrapOptions: BootstrapOptions) { - cdkBuilder.bootstrapOptions(bootstrapOptions.let(BootstrapOptions::unwrap)) + cdkBuilder.bootstrapOptions(bootstrapOptions.let(BootstrapOptions.Companion::unwrap)) } /** @@ -519,7 +537,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * @param cooldown Default scaling cooldown for this AutoScalingGroup. */ override fun cooldown(cooldown: Duration) { - cdkBuilder.cooldown(cooldown.let(Duration::unwrap)) + cdkBuilder.cooldown(cooldown.let(Duration.Companion::unwrap)) } /** @@ -539,7 +557,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * Default instance warmup will not be added if no value is specified */ override fun defaultInstanceWarmup(defaultInstanceWarmup: Duration) { - cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration::unwrap)) + cdkBuilder.defaultInstanceWarmup(defaultInstanceWarmup.let(Duration.Companion::unwrap)) } /** @@ -558,7 +576,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * Group metrics are reported in a granularity of 1 minute at no additional charge. */ override fun groupMetrics(groupMetrics: List) { - cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics::unwrap)) + cdkBuilder.groupMetrics(groupMetrics.map(GroupMetrics.Companion::unwrap)) } /** @@ -574,7 +592,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * @param healthCheck Configuration for health checks. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -602,30 +620,48 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * specified */ override fun instanceMonitoring(instanceMonitoring: Monitoring) { - cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring::unwrap)) + cdkBuilder.instanceMonitoring(instanceMonitoring.let(Monitoring.Companion::unwrap)) } /** * @param instanceType Instance type of the instances to start. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** * @param keyName Name of SSH keypair to grant access to instances. * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified + * + * You can either specify `keyPair` or `keyName`, not both. + * @deprecated - Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(keyName: String) { cdkBuilder.keyName(keyName) } + /** + * @param keyPair The SSH keypair to grant access to the instance. + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + */ + override fun keyPair(keyPair: IKeyPair) { + cdkBuilder.keyPair(keyPair.let(IKeyPair.Companion::unwrap)) + } + /** * @param machineImageType Machine image type. */ override fun machineImageType(machineImageType: MachineImageType) { - cdkBuilder.machineImageType(machineImageType.let(MachineImageType::unwrap)) + cdkBuilder.machineImageType(machineImageType.let(MachineImageType.Companion::unwrap)) } /** @@ -656,7 +692,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * leave this property undefined. */ override fun maxInstanceLifetime(maxInstanceLifetime: Duration) { - cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration::unwrap)) + cdkBuilder.maxInstanceLifetime(maxInstanceLifetime.let(Duration.Companion::unwrap)) } /** @@ -687,7 +723,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * an SNS topic(s). */ override fun notifications(notifications: List) { - cdkBuilder.notifications(notifications.map(NotificationConfiguration::unwrap)) + cdkBuilder.notifications(notifications.map(NotificationConfiguration.Companion::unwrap)) } /** @@ -716,7 +752,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/AutoScaling/AutoScalingRollingUpdates.yaml */ override fun signals(signals: Signals) { - cdkBuilder.signals(signals.let(Signals::unwrap)) + cdkBuilder.signals(signals.let(Signals.Companion::unwrap)) } /** @@ -764,7 +800,7 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * The policies are executed in the order that you list them. */ override fun terminationPolicies(terminationPolicies: List) { - cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy::unwrap)) + cdkBuilder.terminationPolicies(terminationPolicies.map(TerminationPolicy.Companion::unwrap)) } /** @@ -795,14 +831,14 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { * is done and only new instances are launched with the new config. */ override fun updatePolicy(updatePolicy: UpdatePolicy) { - cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy::unwrap)) + cdkBuilder.updatePolicy(updatePolicy.let(UpdatePolicy.Companion::unwrap)) } /** * @param vpcSubnets Where to place instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1000,15 +1036,35 @@ public interface AutoScalingGroupCapacityOptions : CommonAutoScalingGroupProps { unwrap(this).getInstanceType().let(InstanceType::wrap) /** - * Name of SSH keypair to grant access to instances. + * (deprecated) Name of SSH keypair to grant access to instances. * * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is * specified * + * You can either specify `keyPair` or `keyName`, not both. + * * Default: - No SSH access will be possible. + * + * * Use `keyPair` instead - + * https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair */ + @Deprecated(message = "deprecated in CDK") override fun keyName(): String? = unwrap(this).getKeyName() + /** + * The SSH keypair to grant access to the instance. + * + * Feature flag `AUTOSCALING_GENERATE_LAUNCH_TEMPLATE` must be enabled to use this property. + * + * `launchTemplate` and `mixedInstancesPolicy` must not be specified when this property is + * specified. + * + * You can either specify `keyPair` or `keyName`, not both. + * + * Default: - No SSH access will be possible. + */ + override fun keyPair(): IKeyPair? = unwrap(this).getKeyPair()?.let(IKeyPair::wrap) + /** * Machine image type. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupOptions.kt index 9ecbdd9235..abf94bfd4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AutoScalingGroupOptions.kt @@ -131,7 +131,7 @@ public interface AutoScalingGroupOptions { * @param bootstrapOptions Allows options for node bootstrapping through EC2 user data. */ override fun bootstrapOptions(bootstrapOptions: BootstrapOptions) { - cdkBuilder.bootstrapOptions(bootstrapOptions.let(BootstrapOptions::unwrap)) + cdkBuilder.bootstrapOptions(bootstrapOptions.let(BootstrapOptions.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface AutoScalingGroupOptions { * @param machineImageType Allow options to specify different machine image type. */ override fun machineImageType(machineImageType: MachineImageType) { - cdkBuilder.machineImageType(machineImageType.let(MachineImageType::unwrap)) + cdkBuilder.machineImageType(machineImageType.let(MachineImageType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuth.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuth.kt index 97190e4de4..f5e5c64c97 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuth.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuth.kt @@ -36,8 +36,8 @@ public open class AwsAuth( id: String, props: AwsAuthProps, ) : - this(software.amazon.awscdk.services.eks.AwsAuth(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AwsAuthProps::unwrap)) + this(software.amazon.awscdk.services.eks.AwsAuth(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AwsAuthProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class AwsAuth( * @param username Optional user (defaults to the role ARN). */ public open fun addMastersRole(role: IRole) { - unwrap(this).addMastersRole(role.let(IRole::unwrap)) + unwrap(this).addMastersRole(role.let(IRole.Companion::unwrap)) } /** @@ -75,7 +75,7 @@ public open class AwsAuth( * @param username Optional user (defaults to the role ARN). */ public open fun addMastersRole(role: IRole, username: String) { - unwrap(this).addMastersRole(role.let(IRole::unwrap), username) + unwrap(this).addMastersRole(role.let(IRole.Companion::unwrap), username) } /** @@ -85,7 +85,8 @@ public open class AwsAuth( * @param mapping Mapping to k8s user name and groups. */ public open fun addRoleMapping(role: IRole, mapping: AwsAuthMapping) { - unwrap(this).addRoleMapping(role.let(IRole::unwrap), mapping.let(AwsAuthMapping::unwrap)) + unwrap(this).addRoleMapping(role.let(IRole.Companion::unwrap), + mapping.let(AwsAuthMapping.Companion::unwrap)) } /** @@ -106,7 +107,8 @@ public open class AwsAuth( * @param mapping Mapping to k8s user name and groups. */ public open fun addUserMapping(user: IUser, mapping: AwsAuthMapping) { - unwrap(this).addUserMapping(user.let(IUser::unwrap), mapping.let(AwsAuthMapping::unwrap)) + unwrap(this).addUserMapping(user.let(IUser.Companion::unwrap), + mapping.let(AwsAuthMapping.Companion::unwrap)) } /** @@ -150,7 +152,7 @@ public open class AwsAuth( * @param cluster The EKS cluster to apply this configuration to. */ override fun cluster(cluster: Cluster) { - cdkBuilder.cluster(cluster.let(Cluster::unwrap)) + cdkBuilder.cluster(cluster.let(Cluster.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.AwsAuth = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuthProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuthProps.kt index d78c63a3fa..bd1cd3e9ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuthProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/AwsAuthProps.kt @@ -51,7 +51,7 @@ public interface AwsAuthProps { * [disable-awslint:ref-via-interface] */ override fun cluster(cluster: Cluster) { - cdkBuilder.cluster(cluster.let(Cluster::unwrap)) + cdkBuilder.cluster(cluster.let(Cluster.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.AwsAuthProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntry.kt index 63c3e5ef90..f195d599cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntry.kt @@ -74,8 +74,8 @@ public open class CfnAccessEntry( id: String, props: CfnAccessEntryProps, ) : - this(software.amazon.awscdk.services.eks.CfnAccessEntry(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessEntryProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnAccessEntry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessEntryProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnAccessEntry( * The access policies to associate to the access entry. */ public open fun accessPolicies(`value`: IResolvable) { - unwrap(this).setAccessPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnAccessEntry( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnAccessEntry( * Metadata that assists with categorization and organization. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnAccessEntry( * @param accessPolicies The access policies to associate to the access entry. */ override fun accessPolicies(accessPolicies: IResolvable) { - cdkBuilder.accessPolicies(accessPolicies.let(IResolvable::unwrap)) + cdkBuilder.accessPolicies(accessPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnAccessEntry( * @param tags Metadata that assists with categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -687,14 +687,14 @@ public open class CfnAccessEntry( * @param accessScope The scope of an `AccessPolicy` that's associated to an `AccessEntry` . */ override fun accessScope(accessScope: IResolvable) { - cdkBuilder.accessScope(accessScope.let(IResolvable::unwrap)) + cdkBuilder.accessScope(accessScope.let(IResolvable.Companion::unwrap)) } /** * @param accessScope The scope of an `AccessPolicy` that's associated to an `AccessEntry` . */ override fun accessScope(accessScope: AccessScopeProperty) { - cdkBuilder.accessScope(accessScope.let(AccessScopeProperty::unwrap)) + cdkBuilder.accessScope(accessScope.let(AccessScopeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntryProps.kt index ee56ca67dd..0159346e25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAccessEntryProps.kt @@ -284,7 +284,7 @@ public interface CfnAccessEntryProps { * @param accessPolicies The access policies to associate to the access entry. */ override fun accessPolicies(accessPolicies: IResolvable) { - cdkBuilder.accessPolicies(accessPolicies.let(IResolvable::unwrap)) + cdkBuilder.accessPolicies(accessPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface CfnAccessEntryProps { * any other cluster or AWS resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddon.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddon.kt index 54197d4e96..81e4e3b804 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddon.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddon.kt @@ -58,8 +58,8 @@ public open class CfnAddon( id: String, props: CfnAddonProps, ) : - this(software.amazon.awscdk.services.eks.CfnAddon(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAddonProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnAddon(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAddonProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnAddon( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnAddon( * managing any settings for the add-on. */ public open fun preserveOnDelete(`value`: IResolvable) { - unwrap(this).setPreserveOnDelete(`value`.let(IResolvable::unwrap)) + unwrap(this).setPreserveOnDelete(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnAddon( * The metadata that you apply to the add-on to assist with categorization and organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnAddon( * but Amazon EKS stops managing any settings for the add-on. */ override fun preserveOnDelete(preserveOnDelete: IResolvable) { - cdkBuilder.preserveOnDelete(preserveOnDelete.let(IResolvable::unwrap)) + cdkBuilder.preserveOnDelete(preserveOnDelete.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnAddon( * organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddonProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddonProps.kt index c4c2031fd4..63e45b3615 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddonProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnAddonProps.kt @@ -274,7 +274,7 @@ public interface CfnAddonProps { * If an IAM account is associated with the add-on, it isn't removed. */ override fun preserveOnDelete(preserveOnDelete: IResolvable) { - cdkBuilder.preserveOnDelete(preserveOnDelete.let(IResolvable::unwrap)) + cdkBuilder.preserveOnDelete(preserveOnDelete.let(IResolvable.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface CfnAddonProps { * not propagate to any other resources associated with the cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnCluster.kt index 2ce23e10c6..2a06aec109 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnCluster.kt @@ -129,8 +129,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.eks.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -149,14 +149,14 @@ public open class CfnCluster( * The access configuration for the cluster. */ public open fun accessConfig(`value`: IResolvable) { - unwrap(this).setAccessConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The access configuration for the cluster. */ public open fun accessConfig(`value`: AccessConfigProperty) { - unwrap(this).setAccessConfig(`value`.let(AccessConfigProperty::unwrap)) + unwrap(this).setAccessConfig(`value`.let(AccessConfigProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnCluster( * The encryption configuration for the cluster. */ public open fun encryptionConfig(`value`: IResolvable) { - unwrap(this).setEncryptionConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -272,14 +272,14 @@ public open class CfnCluster( * The Kubernetes network configuration for the cluster. */ public open fun kubernetesNetworkConfig(`value`: IResolvable) { - unwrap(this).setKubernetesNetworkConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setKubernetesNetworkConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The Kubernetes network configuration for the cluster. */ public open fun kubernetesNetworkConfig(`value`: KubernetesNetworkConfigProperty) { - unwrap(this).setKubernetesNetworkConfig(`value`.let(KubernetesNetworkConfigProperty::unwrap)) + unwrap(this).setKubernetesNetworkConfig(`value`.let(KubernetesNetworkConfigProperty.Companion::unwrap)) } /** @@ -300,14 +300,14 @@ public open class CfnCluster( * The logging configuration for your cluster. */ public open fun logging(`value`: IResolvable) { - unwrap(this).setLogging(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogging(`value`.let(IResolvable.Companion::unwrap)) } /** * The logging configuration for your cluster. */ public open fun logging(`value`: LoggingProperty) { - unwrap(this).setLogging(`value`.let(LoggingProperty::unwrap)) + unwrap(this).setLogging(`value`.let(LoggingProperty.Companion::unwrap)) } /** @@ -339,14 +339,14 @@ public open class CfnCluster( * An object representing the configuration of your local Amazon EKS cluster on an AWS Outpost. */ public open fun outpostConfig(`value`: IResolvable) { - unwrap(this).setOutpostConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutpostConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * An object representing the configuration of your local Amazon EKS cluster on an AWS Outpost. */ public open fun outpostConfig(`value`: OutpostConfigProperty) { - unwrap(this).setOutpostConfig(`value`.let(OutpostConfigProperty::unwrap)) + unwrap(this).setOutpostConfig(`value`.let(OutpostConfigProperty.Companion::unwrap)) } /** @@ -366,14 +366,14 @@ public open class CfnCluster( * The VPC configuration that's used by the cluster control plane. */ public open fun resourcesVpcConfig(`value`: IResolvable) { - unwrap(this).setResourcesVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourcesVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC configuration that's used by the cluster control plane. */ public open fun resourcesVpcConfig(`value`: ResourcesVpcConfigProperty) { - unwrap(this).setResourcesVpcConfig(`value`.let(ResourcesVpcConfigProperty::unwrap)) + unwrap(this).setResourcesVpcConfig(`value`.let(ResourcesVpcConfigProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnCluster( * The metadata that you apply to the cluster to assist with categorization and organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnCluster( * @param accessConfig The access configuration for the cluster. */ override fun accessConfig(accessConfig: IResolvable) { - cdkBuilder.accessConfig(accessConfig.let(IResolvable::unwrap)) + cdkBuilder.accessConfig(accessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class CfnCluster( * @param accessConfig The access configuration for the cluster. */ override fun accessConfig(accessConfig: AccessConfigProperty) { - cdkBuilder.accessConfig(accessConfig.let(AccessConfigProperty::unwrap)) + cdkBuilder.accessConfig(accessConfig.let(AccessConfigProperty.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public open class CfnCluster( * @param encryptionConfig The encryption configuration for the cluster. */ override fun encryptionConfig(encryptionConfig: IResolvable) { - cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class CfnCluster( * @param kubernetesNetworkConfig The Kubernetes network configuration for the cluster. */ override fun kubernetesNetworkConfig(kubernetesNetworkConfig: IResolvable) { - cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(IResolvable::unwrap)) + cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnCluster( * @param kubernetesNetworkConfig The Kubernetes network configuration for the cluster. */ override fun kubernetesNetworkConfig(kubernetesNetworkConfig: KubernetesNetworkConfigProperty) { - cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(KubernetesNetworkConfigProperty::unwrap)) + cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(KubernetesNetworkConfigProperty.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnCluster( * @param logging The logging configuration for your cluster. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnCluster( * @param logging The logging configuration for your cluster. */ override fun logging(logging: LoggingProperty) { - cdkBuilder.logging(logging.let(LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(LoggingProperty.Companion::unwrap)) } /** @@ -856,7 +856,7 @@ public open class CfnCluster( * cluster on an AWS Outpost. */ override fun outpostConfig(outpostConfig: IResolvable) { - cdkBuilder.outpostConfig(outpostConfig.let(IResolvable::unwrap)) + cdkBuilder.outpostConfig(outpostConfig.let(IResolvable.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class CfnCluster( * cluster on an AWS Outpost. */ override fun outpostConfig(outpostConfig: OutpostConfigProperty) { - cdkBuilder.outpostConfig(outpostConfig.let(OutpostConfigProperty::unwrap)) + cdkBuilder.outpostConfig(outpostConfig.let(OutpostConfigProperty.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class CfnCluster( * @param resourcesVpcConfig The VPC configuration that's used by the cluster control plane. */ override fun resourcesVpcConfig(resourcesVpcConfig: IResolvable) { - cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(IResolvable::unwrap)) + cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -921,7 +921,7 @@ public open class CfnCluster( * @param resourcesVpcConfig The VPC configuration that's used by the cluster control plane. */ override fun resourcesVpcConfig(resourcesVpcConfig: ResourcesVpcConfigProperty) { - cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(ResourcesVpcConfigProperty::unwrap)) + cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(ResourcesVpcConfigProperty.Companion::unwrap)) } /** @@ -980,7 +980,7 @@ public open class CfnCluster( * organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1144,7 +1144,7 @@ public open class CfnCluster( */ override fun bootstrapClusterCreatorAdminPermissions(bootstrapClusterCreatorAdminPermissions: IResolvable) { - cdkBuilder.bootstrapClusterCreatorAdminPermissions(bootstrapClusterCreatorAdminPermissions.let(IResolvable::unwrap)) + cdkBuilder.bootstrapClusterCreatorAdminPermissions(bootstrapClusterCreatorAdminPermissions.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.CfnCluster.AccessConfigProperty = @@ -1278,7 +1278,7 @@ public open class CfnCluster( * CloudFormation template of the resource had it. */ override fun enabledTypes(enabledTypes: IResolvable) { - cdkBuilder.enabledTypes(enabledTypes.let(IResolvable::unwrap)) + cdkBuilder.enabledTypes(enabledTypes.let(IResolvable.Companion::unwrap)) } /** @@ -1516,14 +1516,14 @@ public open class CfnCluster( * @param provider The encryption provider for the cluster. */ override fun provider(provider: IResolvable) { - cdkBuilder.provider(provider.let(IResolvable::unwrap)) + cdkBuilder.provider(provider.let(IResolvable.Companion::unwrap)) } /** * @param provider The encryption provider for the cluster. */ override fun provider(provider: ProviderProperty) { - cdkBuilder.provider(provider.let(ProviderProperty::unwrap)) + cdkBuilder.provider(provider.let(ProviderProperty.Companion::unwrap)) } /** @@ -1928,14 +1928,14 @@ public open class CfnCluster( * @param clusterLogging The cluster control plane logging configuration for your cluster. */ override fun clusterLogging(clusterLogging: IResolvable) { - cdkBuilder.clusterLogging(clusterLogging.let(IResolvable::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.let(IResolvable.Companion::unwrap)) } /** * @param clusterLogging The cluster control plane logging configuration for your cluster. */ override fun clusterLogging(clusterLogging: ClusterLoggingProperty) { - cdkBuilder.clusterLogging(clusterLogging.let(ClusterLoggingProperty::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.let(ClusterLoggingProperty.Companion::unwrap)) } /** @@ -2219,7 +2219,7 @@ public open class CfnCluster( * in the *Amazon EKS User Guide* . */ override fun controlPlanePlacement(controlPlanePlacement: IResolvable) { - cdkBuilder.controlPlanePlacement(controlPlanePlacement.let(IResolvable::unwrap)) + cdkBuilder.controlPlanePlacement(controlPlanePlacement.let(IResolvable.Companion::unwrap)) } /** @@ -2230,7 +2230,7 @@ public open class CfnCluster( * in the *Amazon EKS User Guide* . */ override fun controlPlanePlacement(controlPlanePlacement: ControlPlanePlacementProperty) { - cdkBuilder.controlPlanePlacement(controlPlanePlacement.let(ControlPlanePlacementProperty::unwrap)) + cdkBuilder.controlPlanePlacement(controlPlanePlacement.let(ControlPlanePlacementProperty.Companion::unwrap)) } /** @@ -2691,7 +2691,7 @@ public open class CfnCluster( * **Amazon EKS User Guide** . */ override fun endpointPrivateAccess(endpointPrivateAccess: IResolvable) { - cdkBuilder.endpointPrivateAccess(endpointPrivateAccess.let(IResolvable::unwrap)) + cdkBuilder.endpointPrivateAccess(endpointPrivateAccess.let(IResolvable.Companion::unwrap)) } /** @@ -2719,7 +2719,7 @@ public open class CfnCluster( * **Amazon EKS User Guide** . */ override fun endpointPublicAccess(endpointPublicAccess: IResolvable) { - cdkBuilder.endpointPublicAccess(endpointPublicAccess.let(IResolvable::unwrap)) + cdkBuilder.endpointPublicAccess(endpointPublicAccess.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnClusterProps.kt index 67e74edb42..52c025a36c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnClusterProps.kt @@ -378,14 +378,14 @@ public interface CfnClusterProps { * @param accessConfig The access configuration for the cluster. */ override fun accessConfig(accessConfig: IResolvable) { - cdkBuilder.accessConfig(accessConfig.let(IResolvable::unwrap)) + cdkBuilder.accessConfig(accessConfig.let(IResolvable.Companion::unwrap)) } /** * @param accessConfig The access configuration for the cluster. */ override fun accessConfig(accessConfig: CfnCluster.AccessConfigProperty) { - cdkBuilder.accessConfig(accessConfig.let(CfnCluster.AccessConfigProperty::unwrap)) + cdkBuilder.accessConfig(accessConfig.let(CfnCluster.AccessConfigProperty.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface CfnClusterProps { * @param encryptionConfig The encryption configuration for the cluster. */ override fun encryptionConfig(encryptionConfig: IResolvable) { - cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfig(encryptionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface CfnClusterProps { * @param kubernetesNetworkConfig The Kubernetes network configuration for the cluster. */ override fun kubernetesNetworkConfig(kubernetesNetworkConfig: IResolvable) { - cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(IResolvable::unwrap)) + cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface CfnClusterProps { */ override fun kubernetesNetworkConfig(kubernetesNetworkConfig: CfnCluster.KubernetesNetworkConfigProperty) { - cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(CfnCluster.KubernetesNetworkConfigProperty::unwrap)) + cdkBuilder.kubernetesNetworkConfig(kubernetesNetworkConfig.let(CfnCluster.KubernetesNetworkConfigProperty.Companion::unwrap)) } /** @@ -445,14 +445,14 @@ public interface CfnClusterProps { * @param logging The logging configuration for your cluster. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** * @param logging The logging configuration for your cluster. */ override fun logging(logging: CfnCluster.LoggingProperty) { - cdkBuilder.logging(logging.let(CfnCluster.LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(CfnCluster.LoggingProperty.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnClusterProps { * This object isn't available for clusters on the AWS cloud. */ override fun outpostConfig(outpostConfig: IResolvable) { - cdkBuilder.outpostConfig(outpostConfig.let(IResolvable::unwrap)) + cdkBuilder.outpostConfig(outpostConfig.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnClusterProps { * This object isn't available for clusters on the AWS cloud. */ override fun outpostConfig(outpostConfig: CfnCluster.OutpostConfigProperty) { - cdkBuilder.outpostConfig(outpostConfig.let(CfnCluster.OutpostConfigProperty::unwrap)) + cdkBuilder.outpostConfig(outpostConfig.let(CfnCluster.OutpostConfigProperty.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public interface CfnClusterProps { * control plane. */ override fun resourcesVpcConfig(resourcesVpcConfig: IResolvable) { - cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(IResolvable::unwrap)) + cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public interface CfnClusterProps { * control plane. */ override fun resourcesVpcConfig(resourcesVpcConfig: CfnCluster.ResourcesVpcConfigProperty) { - cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(CfnCluster.ResourcesVpcConfigProperty::unwrap)) + cdkBuilder.resourcesVpcConfig(resourcesVpcConfig.let(CfnCluster.ResourcesVpcConfigProperty.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public interface CfnClusterProps { * and update. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfile.kt index 1c58fd6aa7..b21e98aede 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfile.kt @@ -90,8 +90,8 @@ public open class CfnFargateProfile( id: String, props: CfnFargateProfileProps, ) : - this(software.amazon.awscdk.services.eks.CfnFargateProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFargateProfileProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnFargateProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFargateProfileProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnFargateProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnFargateProfile( * The selectors to match for a `Pod` to use this Fargate profile. */ public open fun selectors(`value`: IResolvable) { - unwrap(this).setSelectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setSelectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnFargateProfile( * Metadata that assists with categorization and organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnFargateProfile( * @param selectors The selectors to match for a `Pod` to use this Fargate profile. */ override fun selectors(selectors: IResolvable) { - cdkBuilder.selectors(selectors.let(IResolvable::unwrap)) + cdkBuilder.selectors(selectors.let(IResolvable.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public open class CfnFargateProfile( * @param tags Metadata that assists with categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public open class CfnFargateProfile( * considered a match. */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfileProps.kt index bfd4d91e66..3cd8c34467 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnFargateProfileProps.kt @@ -213,7 +213,7 @@ public interface CfnFargateProfileProps { * specify `labels` for a `namespace` . You may specify up to five selectors in a Fargate profile. */ override fun selectors(selectors: IResolvable) { - cdkBuilder.selectors(selectors.let(IResolvable::unwrap)) + cdkBuilder.selectors(selectors.let(IResolvable.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public interface CfnFargateProfileProps { * any other cluster or AWS resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfig.kt index da87a618d4..1a0476b83c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfig.kt @@ -73,8 +73,8 @@ public open class CfnIdentityProviderConfig( id: String, props: CfnIdentityProviderConfigProps, ) : - this(software.amazon.awscdk.services.eks.CfnIdentityProviderConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentityProviderConfigProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnIdentityProviderConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentityProviderConfigProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnIdentityProviderConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -133,14 +133,14 @@ public open class CfnIdentityProviderConfig( * An object representing an OpenID Connect (OIDC) identity provider configuration. */ public open fun oidc(`value`: IResolvable) { - unwrap(this).setOidc(`value`.let(IResolvable::unwrap)) + unwrap(this).setOidc(`value`.let(IResolvable.Companion::unwrap)) } /** * An object representing an OpenID Connect (OIDC) identity provider configuration. */ public open fun oidc(`value`: OidcIdentityProviderConfigProperty) { - unwrap(this).setOidc(`value`.let(OidcIdentityProviderConfigProperty::unwrap)) + unwrap(this).setOidc(`value`.let(OidcIdentityProviderConfigProperty.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnIdentityProviderConfig( * Metadata that assists with categorization and organization. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnIdentityProviderConfig( * @param oidc An object representing an OpenID Connect (OIDC) identity provider configuration. */ override fun oidc(oidc: IResolvable) { - cdkBuilder.oidc(oidc.let(IResolvable::unwrap)) + cdkBuilder.oidc(oidc.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnIdentityProviderConfig( * @param oidc An object representing an OpenID Connect (OIDC) identity provider configuration. */ override fun oidc(oidc: OidcIdentityProviderConfigProperty) { - cdkBuilder.oidc(oidc.let(OidcIdentityProviderConfigProperty::unwrap)) + cdkBuilder.oidc(oidc.let(OidcIdentityProviderConfigProperty.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnIdentityProviderConfig( * @param tags Metadata that assists with categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class CfnIdentityProviderConfig( * If set, each claim is verified to be present in the token with a matching value. */ override fun requiredClaims(requiredClaims: IResolvable) { - cdkBuilder.requiredClaims(requiredClaims.let(IResolvable::unwrap)) + cdkBuilder.requiredClaims(requiredClaims.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfigProps.kt index 71de19e63b..4b46bf58d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnIdentityProviderConfigProps.kt @@ -168,14 +168,14 @@ public interface CfnIdentityProviderConfigProps { * @param oidc An object representing an OpenID Connect (OIDC) identity provider configuration. */ override fun oidc(oidc: IResolvable) { - cdkBuilder.oidc(oidc.let(IResolvable::unwrap)) + cdkBuilder.oidc(oidc.let(IResolvable.Companion::unwrap)) } /** * @param oidc An object representing an OpenID Connect (OIDC) identity provider configuration. */ override fun oidc(oidc: CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty) { - cdkBuilder.oidc(oidc.let(CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty::unwrap)) + cdkBuilder.oidc(oidc.let(CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface CfnIdentityProviderConfigProps { * any other cluster or AWS resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroup.kt index 8cd61d4d84..8b3ac5ba39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroup.kt @@ -101,8 +101,8 @@ public open class CfnNodegroup( id: String, props: CfnNodegroupProps, ) : - this(software.amazon.awscdk.services.eks.CfnNodegroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNodegroupProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnNodegroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNodegroupProps.Companion::unwrap)) ) public constructor( @@ -199,7 +199,7 @@ public open class CfnNodegroup( * disruption budget issue. */ public open fun forceUpdateEnabled(`value`: IResolvable) { - unwrap(this).setForceUpdateEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setForceUpdateEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnNodegroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnNodegroup( * The Kubernetes `labels` applied to the nodes in the node group. */ public open fun labels(`value`: IResolvable) { - unwrap(this).setLabels(`value`.let(IResolvable::unwrap)) + unwrap(this).setLabels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -256,14 +256,14 @@ public open class CfnNodegroup( * An object representing a node group's launch template specification. */ public open fun launchTemplate(`value`: IResolvable) { - unwrap(this).setLaunchTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** * An object representing a node group's launch template specification. */ public open fun launchTemplate(`value`: LaunchTemplateSpecificationProperty) { - unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateSpecificationProperty::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -327,14 +327,14 @@ public open class CfnNodegroup( * The remote access configuration to use with your node group. */ public open fun remoteAccess(`value`: IResolvable) { - unwrap(this).setRemoteAccess(`value`.let(IResolvable::unwrap)) + unwrap(this).setRemoteAccess(`value`.let(IResolvable.Companion::unwrap)) } /** * The remote access configuration to use with your node group. */ public open fun remoteAccess(`value`: RemoteAccessProperty) { - unwrap(this).setRemoteAccess(`value`.let(RemoteAccessProperty::unwrap)) + unwrap(this).setRemoteAccess(`value`.let(RemoteAccessProperty.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnNodegroup( * group. */ public open fun scalingConfig(`value`: IResolvable) { - unwrap(this).setScalingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setScalingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class CfnNodegroup( * group. */ public open fun scalingConfig(`value`: ScalingConfigProperty) { - unwrap(this).setScalingConfig(`value`.let(ScalingConfigProperty::unwrap)) + unwrap(this).setScalingConfig(`value`.let(ScalingConfigProperty.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnNodegroup( * The Kubernetes taints to be applied to the nodes in the node group when they are created. */ public open fun taints(`value`: IResolvable) { - unwrap(this).setTaints(`value`.let(IResolvable::unwrap)) + unwrap(this).setTaints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -443,14 +443,14 @@ public open class CfnNodegroup( * The node group update configuration. */ public open fun updateConfig(`value`: IResolvable) { - unwrap(this).setUpdateConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setUpdateConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The node group update configuration. */ public open fun updateConfig(`value`: UpdateConfigProperty) { - unwrap(this).setUpdateConfig(`value`.let(UpdateConfigProperty::unwrap)) + unwrap(this).setUpdateConfig(`value`.let(UpdateConfigProperty.Companion::unwrap)) } /** @@ -1022,7 +1022,7 @@ public open class CfnNodegroup( * drained due to a `Pod` disruption budget issue. */ override fun forceUpdateEnabled(forceUpdateEnabled: IResolvable) { - cdkBuilder.forceUpdateEnabled(forceUpdateEnabled.let(IResolvable::unwrap)) + cdkBuilder.forceUpdateEnabled(forceUpdateEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1082,7 +1082,7 @@ public open class CfnNodegroup( * @param labels The Kubernetes `labels` applied to the nodes in the node group. */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** @@ -1113,7 +1113,7 @@ public open class CfnNodegroup( * @param launchTemplate An object representing a node group's launch template specification. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -1129,7 +1129,7 @@ public open class CfnNodegroup( * @param launchTemplate An object representing a node group's launch template specification. */ override fun launchTemplate(launchTemplate: LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -1221,7 +1221,7 @@ public open class CfnNodegroup( * @param remoteAccess The remote access configuration to use with your node group. */ override fun remoteAccess(remoteAccess: IResolvable) { - cdkBuilder.remoteAccess(remoteAccess.let(IResolvable::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(IResolvable.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class CfnNodegroup( * @param remoteAccess The remote access configuration to use with your node group. */ override fun remoteAccess(remoteAccess: RemoteAccessProperty) { - cdkBuilder.remoteAccess(remoteAccess.let(RemoteAccessProperty::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(RemoteAccessProperty.Companion::unwrap)) } /** @@ -1268,7 +1268,7 @@ public open class CfnNodegroup( * created for your node group. */ override fun scalingConfig(scalingConfig: IResolvable) { - cdkBuilder.scalingConfig(scalingConfig.let(IResolvable::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1280,7 +1280,7 @@ public open class CfnNodegroup( * created for your node group. */ override fun scalingConfig(scalingConfig: ScalingConfigProperty) { - cdkBuilder.scalingConfig(scalingConfig.let(ScalingConfigProperty::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(ScalingConfigProperty.Companion::unwrap)) } /** @@ -1356,7 +1356,7 @@ public open class CfnNodegroup( * are created. */ override fun taints(taints: IResolvable) { - cdkBuilder.taints(taints.let(IResolvable::unwrap)) + cdkBuilder.taints(taints.let(IResolvable.Companion::unwrap)) } /** @@ -1396,7 +1396,7 @@ public open class CfnNodegroup( * @param updateConfig The node group update configuration. */ override fun updateConfig(updateConfig: IResolvable) { - cdkBuilder.updateConfig(updateConfig.let(IResolvable::unwrap)) + cdkBuilder.updateConfig(updateConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1406,7 +1406,7 @@ public open class CfnNodegroup( * @param updateConfig The node group update configuration. */ override fun updateConfig(updateConfig: UpdateConfigProperty) { - cdkBuilder.updateConfig(updateConfig.let(UpdateConfigProperty::unwrap)) + cdkBuilder.updateConfig(updateConfig.let(UpdateConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroupProps.kt index 23c3381935..3c8f5195c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnNodegroupProps.kt @@ -678,7 +678,7 @@ public interface CfnNodegroupProps { * to terminate the old node whether or not any `Pod` is running on the node. */ override fun forceUpdateEnabled(forceUpdateEnabled: IResolvable) { - cdkBuilder.forceUpdateEnabled(forceUpdateEnabled.let(IResolvable::unwrap)) + cdkBuilder.forceUpdateEnabled(forceUpdateEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -725,7 +725,7 @@ public interface CfnNodegroupProps { * Kubernetes `labels` applied to the nodes in this group. */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public interface CfnNodegroupProps { * *Amazon EKS User Guide* . */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public interface CfnNodegroupProps { * *Amazon EKS User Guide* . */ override fun launchTemplate(launchTemplate: CfnNodegroup.LaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(CfnNodegroup.LaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(CfnNodegroup.LaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -827,7 +827,7 @@ public interface CfnNodegroupProps { * *Amazon EKS User Guide* . */ override fun remoteAccess(remoteAccess: IResolvable) { - cdkBuilder.remoteAccess(remoteAccess.let(IResolvable::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(IResolvable.Companion::unwrap)) } /** @@ -840,7 +840,7 @@ public interface CfnNodegroupProps { * *Amazon EKS User Guide* . */ override fun remoteAccess(remoteAccess: CfnNodegroup.RemoteAccessProperty) { - cdkBuilder.remoteAccess(remoteAccess.let(CfnNodegroup.RemoteAccessProperty::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(CfnNodegroup.RemoteAccessProperty.Companion::unwrap)) } /** @@ -862,7 +862,7 @@ public interface CfnNodegroupProps { * created for your node group. */ override fun scalingConfig(scalingConfig: IResolvable) { - cdkBuilder.scalingConfig(scalingConfig.let(IResolvable::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -870,7 +870,7 @@ public interface CfnNodegroupProps { * created for your node group. */ override fun scalingConfig(scalingConfig: CfnNodegroup.ScalingConfigProperty) { - cdkBuilder.scalingConfig(scalingConfig.let(CfnNodegroup.ScalingConfigProperty::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(CfnNodegroup.ScalingConfigProperty.Companion::unwrap)) } /** @@ -927,7 +927,7 @@ public interface CfnNodegroupProps { * groups](https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html) . */ override fun taints(taints: IResolvable) { - cdkBuilder.taints(taints.let(IResolvable::unwrap)) + cdkBuilder.taints(taints.let(IResolvable.Companion::unwrap)) } /** @@ -956,14 +956,14 @@ public interface CfnNodegroupProps { * @param updateConfig The node group update configuration. */ override fun updateConfig(updateConfig: IResolvable) { - cdkBuilder.updateConfig(updateConfig.let(IResolvable::unwrap)) + cdkBuilder.updateConfig(updateConfig.let(IResolvable.Companion::unwrap)) } /** * @param updateConfig The node group update configuration. */ override fun updateConfig(updateConfig: CfnNodegroup.UpdateConfigProperty) { - cdkBuilder.updateConfig(updateConfig.let(CfnNodegroup.UpdateConfigProperty::unwrap)) + cdkBuilder.updateConfig(updateConfig.let(CfnNodegroup.UpdateConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociation.kt index c1d86bc6de..b60f755851 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociation.kt @@ -50,8 +50,8 @@ public open class CfnPodIdentityAssociation( id: String, props: CfnPodIdentityAssociationProps, ) : - this(software.amazon.awscdk.services.eks.CfnPodIdentityAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPodIdentityAssociationProps::unwrap)) + this(software.amazon.awscdk.services.eks.CfnPodIdentityAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPodIdentityAssociationProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnPodIdentityAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnPodIdentityAssociation( * Metadata that assists with categorization and organization. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnPodIdentityAssociation( * @param tags Metadata that assists with categorization and organization. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociationProps.kt index 99fb2f3a0c..45b77937cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CfnPodIdentityAssociationProps.kt @@ -211,7 +211,7 @@ public interface CfnPodIdentityAssociationProps { * numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Cluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Cluster.kt index 1e6d620017..808efcfb10 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Cluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Cluster.kt @@ -59,8 +59,8 @@ public open class Cluster( id: String, props: ClusterProps, ) : - this(software.amazon.awscdk.services.eks.Cluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ClusterProps::unwrap)) + this(software.amazon.awscdk.services.eks.Cluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ClusterProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class Cluster( */ public open fun addAutoScalingGroupCapacity(id: String, options: AutoScalingGroupCapacityOptions): AutoScalingGroup = unwrap(this).addAutoScalingGroupCapacity(id, - options.let(AutoScalingGroupCapacityOptions::unwrap)).let(AutoScalingGroup::wrap) + options.let(AutoScalingGroupCapacityOptions.Companion::unwrap)).let(AutoScalingGroup::wrap) /** * Add nodes to this EKS cluster. @@ -136,7 +136,7 @@ public open class Cluster( */ public override fun addCdk8sChart(id: String, chart: CloudshiftdevConstructsConstruct): KubernetesManifest = unwrap(this).addCdk8sChart(id, - chart.let(CloudshiftdevConstructsConstruct::unwrap)).let(KubernetesManifest::wrap) + chart.let(CloudshiftdevConstructsConstruct.Companion::unwrap)).let(KubernetesManifest::wrap) /** * Defines a CDK8s chart in this cluster. @@ -151,8 +151,8 @@ public open class Cluster( chart: CloudshiftdevConstructsConstruct, options: KubernetesManifestOptions, ): KubernetesManifest = unwrap(this).addCdk8sChart(id, - chart.let(CloudshiftdevConstructsConstruct::unwrap), - options.let(KubernetesManifestOptions::unwrap)).let(KubernetesManifest::wrap) + chart.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + options.let(KubernetesManifestOptions.Companion::unwrap)).let(KubernetesManifest::wrap) /** * Defines a CDK8s chart in this cluster. @@ -179,7 +179,7 @@ public open class Cluster( */ public open fun addFargateProfile(id: String, options: FargateProfileOptions): FargateProfile = unwrap(this).addFargateProfile(id, - options.let(FargateProfileOptions::unwrap)).let(FargateProfile::wrap) + options.let(FargateProfileOptions.Companion::unwrap)).let(FargateProfile::wrap) /** * Adds a Fargate profile to this cluster. @@ -201,7 +201,8 @@ public open class Cluster( * @param options options of this chart. */ public override fun addHelmChart(id: String, options: HelmChartOptions): HelmChart = - unwrap(this).addHelmChart(id, options.let(HelmChartOptions::unwrap)).let(HelmChart::wrap) + unwrap(this).addHelmChart(id, + options.let(HelmChartOptions.Companion::unwrap)).let(HelmChart::wrap) /** * Defines a Helm chart in this cluster. @@ -251,7 +252,7 @@ public open class Cluster( */ public open fun addNodegroupCapacity(id: String, options: NodegroupOptions): Nodegroup = unwrap(this).addNodegroupCapacity(id, - options.let(NodegroupOptions::unwrap)).let(Nodegroup::wrap) + options.let(NodegroupOptions.Companion::unwrap)).let(Nodegroup::wrap) /** * Add managed nodegroup to this Amazon EKS cluster. @@ -284,7 +285,7 @@ public open class Cluster( */ public override fun addServiceAccount(id: String, options: ServiceAccountOptions): ServiceAccount = unwrap(this).addServiceAccount(id, - options.let(ServiceAccountOptions::unwrap)).let(ServiceAccount::wrap) + options.let(ServiceAccountOptions.Companion::unwrap)).let(ServiceAccount::wrap) /** * Creates a new service account with corresponding IAM Role (IRSA). @@ -426,8 +427,8 @@ public open class Cluster( */ public override fun connectAutoScalingGroupCapacity(autoScalingGroup: AutoScalingGroup, options: AutoScalingGroupOptions) { - unwrap(this).connectAutoScalingGroupCapacity(autoScalingGroup.let(AutoScalingGroup::unwrap), - options.let(AutoScalingGroupOptions::unwrap)) + unwrap(this).connectAutoScalingGroupCapacity(autoScalingGroup.let(AutoScalingGroup.Companion::unwrap), + options.let(AutoScalingGroupOptions.Companion::unwrap)) } /** @@ -500,7 +501,7 @@ public open class Cluster( public open fun ingressLoadBalancerAddress(ingressName: String, options: IngressLoadBalancerAddressOptions): String = unwrap(this).getIngressLoadBalancerAddress(ingressName, - options.let(IngressLoadBalancerAddressOptions::unwrap)) + options.let(IngressLoadBalancerAddressOptions.Companion::unwrap)) /** * Fetch the load balancer address of an ingress backed by a load balancer. @@ -626,7 +627,7 @@ public open class Cluster( public open fun serviceLoadBalancerAddress(serviceName: String, options: ServiceLoadBalancerAddressOptions): String = unwrap(this).getServiceLoadBalancerAddress(serviceName, - options.let(ServiceLoadBalancerAddressOptions::unwrap)) + options.let(ServiceLoadBalancerAddressOptions.Companion::unwrap)) /** * Fetch the load balancer address of a service of type 'LoadBalancer'. @@ -1067,7 +1068,7 @@ public open class Cluster( * @param albController Install the AWS Load Balancer Controller onto the cluster. */ override fun albController(albController: AlbControllerOptions) { - cdkBuilder.albController(albController.let(AlbControllerOptions::unwrap)) + cdkBuilder.albController(albController.let(AlbControllerOptions.Companion::unwrap)) } /** @@ -1097,7 +1098,7 @@ public open class Cluster( * @param awscliLayer An AWS Lambda layer that contains the `aws` CLI. */ override fun awscliLayer(awscliLayer: ILayerVersion) { - cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion::unwrap)) + cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -1126,7 +1127,7 @@ public open class Cluster( * Lambdas. */ override fun clusterHandlerSecurityGroup(clusterHandlerSecurityGroup: ISecurityGroup) { - cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -1137,7 +1138,7 @@ public open class Cluster( * @param clusterLogging The cluster log types which you want to enable. */ override fun clusterLogging(clusterLogging: List) { - cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes.Companion::unwrap)) } /** @@ -1171,7 +1172,7 @@ public open class Cluster( * CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS. */ override fun coreDnsComputeType(coreDnsComputeType: CoreDnsComputeType) { - cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType::unwrap)) + cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType.Companion::unwrap)) } /** @@ -1203,7 +1204,7 @@ public open class Cluster( * @param defaultCapacityInstance The instance type to use for the default capacity. */ override fun defaultCapacityInstance(defaultCapacityInstance: InstanceType) { - cdkBuilder.defaultCapacityInstance(defaultCapacityInstance.let(InstanceType::unwrap)) + cdkBuilder.defaultCapacityInstance(defaultCapacityInstance.let(InstanceType.Companion::unwrap)) } /** @@ -1214,7 +1215,7 @@ public open class Cluster( * @param defaultCapacityType The default capacity type for the cluster. */ override fun defaultCapacityType(defaultCapacityType: DefaultCapacityType) { - cdkBuilder.defaultCapacityType(defaultCapacityType.let(DefaultCapacityType::unwrap)) + cdkBuilder.defaultCapacityType(defaultCapacityType.let(DefaultCapacityType.Companion::unwrap)) } /** @@ -1226,7 +1227,7 @@ public open class Cluster( * @param endpointAccess Configure access to the Kubernetes API server endpoint.. */ override fun endpointAccess(endpointAccess: EndpointAccess) { - cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess::unwrap)) + cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess.Companion::unwrap)) } /** @@ -1239,7 +1240,7 @@ public open class Cluster( * addresses. */ override fun ipFamily(ipFamily: IpFamily) { - cdkBuilder.ipFamily(ipFamily.let(IpFamily::unwrap)) + cdkBuilder.ipFamily(ipFamily.let(IpFamily.Companion::unwrap)) } /** @@ -1263,7 +1264,7 @@ public open class Cluster( * @param kubectlLambdaRole The IAM role to pass to the Kubectl Lambda Handler. */ override fun kubectlLambdaRole(kubectlLambdaRole: IRole) { - cdkBuilder.kubectlLambdaRole(kubectlLambdaRole.let(IRole::unwrap)) + cdkBuilder.kubectlLambdaRole(kubectlLambdaRole.let(IRole.Companion::unwrap)) } /** @@ -1287,7 +1288,7 @@ public open class Cluster( * @param kubectlLayer An AWS Lambda Layer which includes `kubectl` and Helm. */ override fun kubectlLayer(kubectlLayer: ILayerVersion) { - cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion::unwrap)) + cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -1298,7 +1299,7 @@ public open class Cluster( * @param kubectlMemory Amount of memory to allocate to the provider's lambda function. */ override fun kubectlMemory(kubectlMemory: Size) { - cdkBuilder.kubectlMemory(kubectlMemory.let(Size::unwrap)) + cdkBuilder.kubectlMemory(kubectlMemory.let(Size.Companion::unwrap)) } /** @@ -1311,7 +1312,7 @@ public open class Cluster( * group. */ override fun mastersRole(mastersRole: IRole) { - cdkBuilder.mastersRole(mastersRole.let(IRole::unwrap)) + cdkBuilder.mastersRole(mastersRole.let(IRole.Companion::unwrap)) } /** @@ -1338,7 +1339,7 @@ public open class Cluster( * @param onEventLayer An AWS Lambda Layer which includes the NPM dependency `proxy-agent`. */ override fun onEventLayer(onEventLayer: ILayerVersion) { - cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion::unwrap)) + cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -1422,7 +1423,7 @@ public open class Cluster( * AWS API operations on your behalf. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1435,7 +1436,7 @@ public open class Cluster( * @param secretsEncryptionKey KMS secret for envelope encryption for Kubernetes secrets. */ override fun secretsEncryptionKey(secretsEncryptionKey: IKey) { - cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey::unwrap)) + cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1446,7 +1447,7 @@ public open class Cluster( * @param securityGroup Security Group to use for Control Plane ENIs. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -1479,7 +1480,7 @@ public open class Cluster( * @param version The Kubernetes version to run in the cluster. */ override fun version(version: KubernetesVersion) { - cdkBuilder.version(version.let(KubernetesVersion::unwrap)) + cdkBuilder.version(version.let(KubernetesVersion.Companion::unwrap)) } /** @@ -1491,7 +1492,7 @@ public open class Cluster( * @param vpc The VPC in which to create the Cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1506,7 +1507,7 @@ public open class Cluster( * @param vpcSubnets Where to place EKS Control Plane ENIs. */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -1532,8 +1533,8 @@ public open class Cluster( id: String, attrs: ClusterAttributes, ): ICluster = - software.amazon.awscdk.services.eks.Cluster.fromClusterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ClusterAttributes::unwrap)).let(ICluster::wrap) + software.amazon.awscdk.services.eks.Cluster.fromClusterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ClusterAttributes.Companion::unwrap)).let(ICluster::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2f9f698ebef13011b7bab8c610cfa73efb97bee56308d6cafa66534ab5f42b49") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterAttributes.kt index 8970e90d66..4b162c568e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterAttributes.kt @@ -425,7 +425,7 @@ public interface ClusterAttributes { * ``` */ override fun awscliLayer(awscliLayer: ILayerVersion) { - cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion::unwrap)) + cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface ClusterAttributes { * addresses. */ override fun ipFamily(ipFamily: IpFamily) { - cdkBuilder.ipFamily(ipFamily.let(IpFamily::unwrap)) + cdkBuilder.ipFamily(ipFamily.let(IpFamily.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public interface ClusterAttributes { * to the cluster. */ override fun kubectlLambdaRole(kubectlLambdaRole: IRole) { - cdkBuilder.kubectlLambdaRole(kubectlLambdaRole.let(IRole::unwrap)) + cdkBuilder.kubectlLambdaRole(kubectlLambdaRole.let(IRole.Companion::unwrap)) } /** @@ -518,14 +518,14 @@ public interface ClusterAttributes { * ``` */ override fun kubectlLayer(kubectlLayer: ILayerVersion) { - cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion::unwrap)) + cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion.Companion::unwrap)) } /** * @param kubectlMemory Amount of memory to allocate to the provider's lambda function. */ override fun kubectlMemory(kubectlMemory: Size) { - cdkBuilder.kubectlMemory(kubectlMemory.let(Size::unwrap)) + cdkBuilder.kubectlMemory(kubectlMemory.let(Size.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public interface ClusterAttributes { * @param kubectlProvider KubectlProvider for issuing kubectl commands. */ override fun kubectlProvider(kubectlProvider: IKubectlProvider) { - cdkBuilder.kubectlProvider(kubectlProvider.let(IKubectlProvider::unwrap)) + cdkBuilder.kubectlProvider(kubectlProvider.let(IKubectlProvider.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public interface ClusterAttributes { * proxy-agent */ override fun onEventLayer(onEventLayer: ILayerVersion) { - cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion::unwrap)) + cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public interface ClusterAttributes { * or create a new provider using `new eks.OpenIdConnectProvider` */ override fun openIdConnectProvider(openIdConnectProvider: IOpenIdConnectProvider) { - cdkBuilder.openIdConnectProvider(openIdConnectProvider.let(IOpenIdConnectProvider::unwrap)) + cdkBuilder.openIdConnectProvider(openIdConnectProvider.let(IOpenIdConnectProvider.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface ClusterAttributes { * @param vpc The VPC in which this Cluster was created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.ClusterAttributes = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterOptions.kt index e73b429846..a14d15e485 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterOptions.kt @@ -508,7 +508,7 @@ public interface ClusterOptions : CommonClusterOptions { * @param albController Install the AWS Load Balancer Controller onto the cluster. */ override fun albController(albController: AlbControllerOptions) { - cdkBuilder.albController(albController.let(AlbControllerOptions::unwrap)) + cdkBuilder.albController(albController.let(AlbControllerOptions.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public interface ClusterOptions : CommonClusterOptions { * ``` */ override fun awscliLayer(awscliLayer: ILayerVersion) { - cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion::unwrap)) + cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -547,14 +547,14 @@ public interface ClusterOptions : CommonClusterOptions { * Requires `placeClusterHandlerInVpc` to be set to true. */ override fun clusterHandlerSecurityGroup(clusterHandlerSecurityGroup: ISecurityGroup) { - cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param clusterLogging The cluster log types which you want to enable. */ override fun clusterLogging(clusterLogging: List) { - cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes.Companion::unwrap)) } /** @@ -575,14 +575,14 @@ public interface ClusterOptions : CommonClusterOptions { * CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS. */ override fun coreDnsComputeType(coreDnsComputeType: CoreDnsComputeType) { - cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType::unwrap)) + cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType.Companion::unwrap)) } /** * @param endpointAccess Configure access to the Kubernetes API server endpoint.. */ override fun endpointAccess(endpointAccess: EndpointAccess) { - cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess::unwrap)) + cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public interface ClusterOptions : CommonClusterOptions { * addresses. */ override fun ipFamily(ipFamily: IpFamily) { - cdkBuilder.ipFamily(ipFamily.let(IpFamily::unwrap)) + cdkBuilder.ipFamily(ipFamily.let(IpFamily.Companion::unwrap)) } /** @@ -617,14 +617,14 @@ public interface ClusterOptions : CommonClusterOptions { * ``` */ override fun kubectlLayer(kubectlLayer: ILayerVersion) { - cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion::unwrap)) + cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion.Companion::unwrap)) } /** * @param kubectlMemory Amount of memory to allocate to the provider's lambda function. */ override fun kubectlMemory(kubectlMemory: Size) { - cdkBuilder.kubectlMemory(kubectlMemory.let(Size::unwrap)) + cdkBuilder.kubectlMemory(kubectlMemory.let(Size.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public interface ClusterOptions : CommonClusterOptions { * group. */ override fun mastersRole(mastersRole: IRole) { - cdkBuilder.mastersRole(mastersRole.let(IRole::unwrap)) + cdkBuilder.mastersRole(mastersRole.let(IRole.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public interface ClusterOptions : CommonClusterOptions { * ``` */ override fun onEventLayer(onEventLayer: ILayerVersion) { - cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion::unwrap)) + cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -707,21 +707,21 @@ public interface ClusterOptions : CommonClusterOptions { * AWS API operations on your behalf. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param secretsEncryptionKey KMS secret for envelope encryption for Kubernetes secrets. */ override fun secretsEncryptionKey(secretsEncryptionKey: IKey) { - cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey::unwrap)) + cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param securityGroup Security Group to use for Control Plane ENIs. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -735,14 +735,14 @@ public interface ClusterOptions : CommonClusterOptions { * @param version The Kubernetes version to run in the cluster. */ override fun version(version: KubernetesVersion) { - cdkBuilder.version(version.let(KubernetesVersion::unwrap)) + cdkBuilder.version(version.let(KubernetesVersion.Companion::unwrap)) } /** * @param vpc The VPC in which to create the Cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public interface ClusterOptions : CommonClusterOptions { * `vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }]` */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterProps.kt index 762cf5b763..17c0e3acdc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ClusterProps.kt @@ -339,7 +339,7 @@ public interface ClusterProps : ClusterOptions { * @param albController Install the AWS Load Balancer Controller onto the cluster. */ override fun albController(albController: AlbControllerOptions) { - cdkBuilder.albController(albController.let(AlbControllerOptions::unwrap)) + cdkBuilder.albController(albController.let(AlbControllerOptions.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public interface ClusterProps : ClusterOptions { * ``` */ override fun awscliLayer(awscliLayer: ILayerVersion) { - cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion::unwrap)) + cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -378,14 +378,14 @@ public interface ClusterProps : ClusterOptions { * Requires `placeClusterHandlerInVpc` to be set to true. */ override fun clusterHandlerSecurityGroup(clusterHandlerSecurityGroup: ISecurityGroup) { - cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param clusterLogging The cluster log types which you want to enable. */ override fun clusterLogging(clusterLogging: List) { - cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public interface ClusterProps : ClusterOptions { * CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS. */ override fun coreDnsComputeType(coreDnsComputeType: CoreDnsComputeType) { - cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType::unwrap)) + cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType.Companion::unwrap)) } /** @@ -428,21 +428,21 @@ public interface ClusterProps : ClusterOptions { * into account if `defaultCapacity` is > 0. */ override fun defaultCapacityInstance(defaultCapacityInstance: InstanceType) { - cdkBuilder.defaultCapacityInstance(defaultCapacityInstance.let(InstanceType::unwrap)) + cdkBuilder.defaultCapacityInstance(defaultCapacityInstance.let(InstanceType.Companion::unwrap)) } /** * @param defaultCapacityType The default capacity type for the cluster. */ override fun defaultCapacityType(defaultCapacityType: DefaultCapacityType) { - cdkBuilder.defaultCapacityType(defaultCapacityType.let(DefaultCapacityType::unwrap)) + cdkBuilder.defaultCapacityType(defaultCapacityType.let(DefaultCapacityType.Companion::unwrap)) } /** * @param endpointAccess Configure access to the Kubernetes API server endpoint.. */ override fun endpointAccess(endpointAccess: EndpointAccess) { - cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess::unwrap)) + cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface ClusterProps : ClusterOptions { * addresses. */ override fun ipFamily(ipFamily: IpFamily) { - cdkBuilder.ipFamily(ipFamily.let(IpFamily::unwrap)) + cdkBuilder.ipFamily(ipFamily.let(IpFamily.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public interface ClusterProps : ClusterOptions { * @param kubectlLambdaRole The IAM role to pass to the Kubectl Lambda Handler. */ override fun kubectlLambdaRole(kubectlLambdaRole: IRole) { - cdkBuilder.kubectlLambdaRole(kubectlLambdaRole.let(IRole::unwrap)) + cdkBuilder.kubectlLambdaRole(kubectlLambdaRole.let(IRole.Companion::unwrap)) } /** @@ -484,14 +484,14 @@ public interface ClusterProps : ClusterOptions { * ``` */ override fun kubectlLayer(kubectlLayer: ILayerVersion) { - cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion::unwrap)) + cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion.Companion::unwrap)) } /** * @param kubectlMemory Amount of memory to allocate to the provider's lambda function. */ override fun kubectlMemory(kubectlMemory: Size) { - cdkBuilder.kubectlMemory(kubectlMemory.let(Size::unwrap)) + cdkBuilder.kubectlMemory(kubectlMemory.let(Size.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public interface ClusterProps : ClusterOptions { * group. */ override fun mastersRole(mastersRole: IRole) { - cdkBuilder.mastersRole(mastersRole.let(IRole::unwrap)) + cdkBuilder.mastersRole(mastersRole.let(IRole.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public interface ClusterProps : ClusterOptions { * ``` */ override fun onEventLayer(onEventLayer: ILayerVersion) { - cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion::unwrap)) + cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -574,21 +574,21 @@ public interface ClusterProps : ClusterOptions { * AWS API operations on your behalf. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param secretsEncryptionKey KMS secret for envelope encryption for Kubernetes secrets. */ override fun secretsEncryptionKey(secretsEncryptionKey: IKey) { - cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey::unwrap)) + cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param securityGroup Security Group to use for Control Plane ENIs. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -609,14 +609,14 @@ public interface ClusterProps : ClusterOptions { * @param version The Kubernetes version to run in the cluster. */ override fun version(version: KubernetesVersion) { - cdkBuilder.version(version.let(KubernetesVersion::unwrap)) + cdkBuilder.version(version.let(KubernetesVersion.Companion::unwrap)) } /** * @param vpc The VPC in which to create the Cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public interface ClusterProps : ClusterOptions { * `vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }]` */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CommonClusterOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CommonClusterOptions.kt index 7037e7f780..1810b03c83 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CommonClusterOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/CommonClusterOptions.kt @@ -214,28 +214,28 @@ public interface CommonClusterOptions { * AWS API operations on your behalf. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param securityGroup Security Group to use for Control Plane ENIs. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param version The Kubernetes version to run in the cluster. */ override fun version(version: KubernetesVersion) { - cdkBuilder.version(version.let(KubernetesVersion::unwrap)) + cdkBuilder.version(version.let(KubernetesVersion.Companion::unwrap)) } /** * @param vpc The VPC in which to create the Cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface CommonClusterOptions { * `vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }]` */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImage.kt index 6f1bd16d97..ec90574c22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImage.kt @@ -33,7 +33,7 @@ public open class EksOptimizedImage( ) public constructor(props: EksOptimizedImageProps) : - this(software.amazon.awscdk.services.eks.EksOptimizedImage(props.let(EksOptimizedImageProps::unwrap)) + this(software.amazon.awscdk.services.eks.EksOptimizedImage(props.let(EksOptimizedImageProps.Companion::unwrap)) ) public constructor(props: EksOptimizedImageProps.Builder.() -> Unit) : @@ -46,7 +46,7 @@ public open class EksOptimizedImage( * @param scope */ public override fun image(scope: Construct): MachineImageConfig = - unwrap(this).getImage(scope.let(Construct::unwrap)).let(MachineImageConfig::wrap) + unwrap(this).getImage(scope.let(Construct.Companion::unwrap)).let(MachineImageConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.eks.EksOptimizedImage]. @@ -93,7 +93,7 @@ public open class EksOptimizedImage( * @param cpuArch What cpu architecture to retrieve the image for (arm64 or x86_64). */ override fun cpuArch(cpuArch: CpuArch) { - cdkBuilder.cpuArch(cpuArch.let(CpuArch::unwrap)) + cdkBuilder.cpuArch(cpuArch.let(CpuArch.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class EksOptimizedImage( * @param nodeType What instance type to retrieve the image for (standard or GPU-optimized). */ override fun nodeType(nodeType: NodeType) { - cdkBuilder.nodeType(nodeType.let(NodeType::unwrap)) + cdkBuilder.nodeType(nodeType.let(NodeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.EksOptimizedImage = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImageProps.kt index 045ba69115..ef3999c15a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/EksOptimizedImageProps.kt @@ -75,7 +75,7 @@ public interface EksOptimizedImageProps { * @param cpuArch What cpu architecture to retrieve the image for (arm64 or x86_64). */ override fun cpuArch(cpuArch: CpuArch) { - cdkBuilder.cpuArch(cpuArch.let(CpuArch::unwrap)) + cdkBuilder.cpuArch(cpuArch.let(CpuArch.Companion::unwrap)) } /** @@ -89,7 +89,7 @@ public interface EksOptimizedImageProps { * @param nodeType What instance type to retrieve the image for (standard or GPU-optimized). */ override fun nodeType(nodeType: NodeType) { - cdkBuilder.nodeType(nodeType.let(NodeType::unwrap)) + cdkBuilder.nodeType(nodeType.let(NodeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.EksOptimizedImageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateCluster.kt index 0bfd1025b0..14227e23c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateCluster.kt @@ -42,8 +42,8 @@ public open class FargateCluster( id: String, props: FargateClusterProps, ) : - this(software.amazon.awscdk.services.eks.FargateCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FargateClusterProps::unwrap)) + this(software.amazon.awscdk.services.eks.FargateCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FargateClusterProps.Companion::unwrap)) ) public constructor( @@ -448,7 +448,7 @@ public open class FargateCluster( * @param albController Install the AWS Load Balancer Controller onto the cluster. */ override fun albController(albController: AlbControllerOptions) { - cdkBuilder.albController(albController.let(AlbControllerOptions::unwrap)) + cdkBuilder.albController(albController.let(AlbControllerOptions.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class FargateCluster( * @param awscliLayer An AWS Lambda layer that contains the `aws` CLI. */ override fun awscliLayer(awscliLayer: ILayerVersion) { - cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion::unwrap)) + cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class FargateCluster( * Lambdas. */ override fun clusterHandlerSecurityGroup(clusterHandlerSecurityGroup: ISecurityGroup) { - cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class FargateCluster( * @param clusterLogging The cluster log types which you want to enable. */ override fun clusterLogging(clusterLogging: List) { - cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class FargateCluster( * CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS. */ override fun coreDnsComputeType(coreDnsComputeType: CoreDnsComputeType) { - cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType::unwrap)) + cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class FargateCluster( * @param defaultProfile Fargate Profile to create along with the cluster. */ override fun defaultProfile(defaultProfile: FargateProfileOptions) { - cdkBuilder.defaultProfile(defaultProfile.let(FargateProfileOptions::unwrap)) + cdkBuilder.defaultProfile(defaultProfile.let(FargateProfileOptions.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class FargateCluster( * @param endpointAccess Configure access to the Kubernetes API server endpoint.. */ override fun endpointAccess(endpointAccess: EndpointAccess) { - cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess::unwrap)) + cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class FargateCluster( * addresses. */ override fun ipFamily(ipFamily: IpFamily) { - cdkBuilder.ipFamily(ipFamily.let(IpFamily::unwrap)) + cdkBuilder.ipFamily(ipFamily.let(IpFamily.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class FargateCluster( * @param kubectlLayer An AWS Lambda Layer which includes `kubectl` and Helm. */ override fun kubectlLayer(kubectlLayer: ILayerVersion) { - cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion::unwrap)) + cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class FargateCluster( * @param kubectlMemory Amount of memory to allocate to the provider's lambda function. */ override fun kubectlMemory(kubectlMemory: Size) { - cdkBuilder.kubectlMemory(kubectlMemory.let(Size::unwrap)) + cdkBuilder.kubectlMemory(kubectlMemory.let(Size.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class FargateCluster( * group. */ override fun mastersRole(mastersRole: IRole) { - cdkBuilder.mastersRole(mastersRole.let(IRole::unwrap)) + cdkBuilder.mastersRole(mastersRole.let(IRole.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public open class FargateCluster( * @param onEventLayer An AWS Lambda Layer which includes the NPM dependency `proxy-agent`. */ override fun onEventLayer(onEventLayer: ILayerVersion) { - cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion::unwrap)) + cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class FargateCluster( * AWS API operations on your behalf. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public open class FargateCluster( * @param secretsEncryptionKey KMS secret for envelope encryption for Kubernetes secrets. */ override fun secretsEncryptionKey(secretsEncryptionKey: IKey) { - cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey::unwrap)) + cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public open class FargateCluster( * @param securityGroup Security Group to use for Control Plane ENIs. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -820,7 +820,7 @@ public open class FargateCluster( * @param version The Kubernetes version to run in the cluster. */ override fun version(version: KubernetesVersion) { - cdkBuilder.version(version.let(KubernetesVersion::unwrap)) + cdkBuilder.version(version.let(KubernetesVersion.Companion::unwrap)) } /** @@ -832,7 +832,7 @@ public open class FargateCluster( * @param vpc The VPC in which to create the Cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public open class FargateCluster( * @param vpcSubnets Where to place EKS Control Plane ENIs. */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateClusterProps.kt index 3aeae055f3..5d0e00530b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateClusterProps.kt @@ -271,7 +271,7 @@ public interface FargateClusterProps : ClusterOptions { * @param albController Install the AWS Load Balancer Controller onto the cluster. */ override fun albController(albController: AlbControllerOptions) { - cdkBuilder.albController(albController.let(AlbControllerOptions::unwrap)) + cdkBuilder.albController(albController.let(AlbControllerOptions.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public interface FargateClusterProps : ClusterOptions { * ``` */ override fun awscliLayer(awscliLayer: ILayerVersion) { - cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion::unwrap)) + cdkBuilder.awscliLayer(awscliLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -310,14 +310,14 @@ public interface FargateClusterProps : ClusterOptions { * Requires `placeClusterHandlerInVpc` to be set to true. */ override fun clusterHandlerSecurityGroup(clusterHandlerSecurityGroup: ISecurityGroup) { - cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.clusterHandlerSecurityGroup(clusterHandlerSecurityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param clusterLogging The cluster log types which you want to enable. */ override fun clusterLogging(clusterLogging: List) { - cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes::unwrap)) + cdkBuilder.clusterLogging(clusterLogging.map(ClusterLoggingTypes.Companion::unwrap)) } /** @@ -338,14 +338,14 @@ public interface FargateClusterProps : ClusterOptions { * CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS. */ override fun coreDnsComputeType(coreDnsComputeType: CoreDnsComputeType) { - cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType::unwrap)) + cdkBuilder.coreDnsComputeType(coreDnsComputeType.let(CoreDnsComputeType.Companion::unwrap)) } /** * @param defaultProfile Fargate Profile to create along with the cluster. */ override fun defaultProfile(defaultProfile: FargateProfileOptions) { - cdkBuilder.defaultProfile(defaultProfile.let(FargateProfileOptions::unwrap)) + cdkBuilder.defaultProfile(defaultProfile.let(FargateProfileOptions.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public interface FargateClusterProps : ClusterOptions { * @param endpointAccess Configure access to the Kubernetes API server endpoint.. */ override fun endpointAccess(endpointAccess: EndpointAccess) { - cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess::unwrap)) + cdkBuilder.endpointAccess(endpointAccess.let(EndpointAccess.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface FargateClusterProps : ClusterOptions { * addresses. */ override fun ipFamily(ipFamily: IpFamily) { - cdkBuilder.ipFamily(ipFamily.let(IpFamily::unwrap)) + cdkBuilder.ipFamily(ipFamily.let(IpFamily.Companion::unwrap)) } /** @@ -395,14 +395,14 @@ public interface FargateClusterProps : ClusterOptions { * ``` */ override fun kubectlLayer(kubectlLayer: ILayerVersion) { - cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion::unwrap)) + cdkBuilder.kubectlLayer(kubectlLayer.let(ILayerVersion.Companion::unwrap)) } /** * @param kubectlMemory Amount of memory to allocate to the provider's lambda function. */ override fun kubectlMemory(kubectlMemory: Size) { - cdkBuilder.kubectlMemory(kubectlMemory.let(Size::unwrap)) + cdkBuilder.kubectlMemory(kubectlMemory.let(Size.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public interface FargateClusterProps : ClusterOptions { * group. */ override fun mastersRole(mastersRole: IRole) { - cdkBuilder.mastersRole(mastersRole.let(IRole::unwrap)) + cdkBuilder.mastersRole(mastersRole.let(IRole.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface FargateClusterProps : ClusterOptions { * ``` */ override fun onEventLayer(onEventLayer: ILayerVersion) { - cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion::unwrap)) + cdkBuilder.onEventLayer(onEventLayer.let(ILayerVersion.Companion::unwrap)) } /** @@ -485,21 +485,21 @@ public interface FargateClusterProps : ClusterOptions { * AWS API operations on your behalf. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param secretsEncryptionKey KMS secret for envelope encryption for Kubernetes secrets. */ override fun secretsEncryptionKey(secretsEncryptionKey: IKey) { - cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey::unwrap)) + cdkBuilder.secretsEncryptionKey(secretsEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param securityGroup Security Group to use for Control Plane ENIs. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -513,14 +513,14 @@ public interface FargateClusterProps : ClusterOptions { * @param version The Kubernetes version to run in the cluster. */ override fun version(version: KubernetesVersion) { - cdkBuilder.version(version.let(KubernetesVersion::unwrap)) + cdkBuilder.version(version.let(KubernetesVersion.Companion::unwrap)) } /** * @param vpc The VPC in which to create the Cluster. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public interface FargateClusterProps : ClusterOptions { * `vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }]` */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfile.kt index eb84918f8d..0d52d8c8ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfile.kt @@ -53,8 +53,8 @@ public open class FargateProfile( id: String, props: FargateProfileProps, ) : - this(software.amazon.awscdk.services.eks.FargateProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FargateProfileProps::unwrap)) + this(software.amazon.awscdk.services.eks.FargateProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FargateProfileProps.Companion::unwrap)) ) public constructor( @@ -212,7 +212,7 @@ public open class FargateProfile( * @param cluster The EKS cluster to apply the Fargate profile to. */ override fun cluster(cluster: Cluster) { - cdkBuilder.cluster(cluster.let(Cluster::unwrap)) + cdkBuilder.cluster(cluster.let(Cluster.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class FargateProfile( * the Fargate profile. */ override fun podExecutionRole(podExecutionRole: IRole) { - cdkBuilder.podExecutionRole(podExecutionRole.let(IRole::unwrap)) + cdkBuilder.podExecutionRole(podExecutionRole.let(IRole.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class FargateProfile( * @param selectors The selectors to match for pods to use this Fargate profile. */ override fun selectors(selectors: List) { - cdkBuilder.selectors(selectors.map(Selector::unwrap)) + cdkBuilder.selectors(selectors.map(Selector.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class FargateProfile( * @param subnetSelection Select which subnets to launch your pods into. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class FargateProfile( * @param vpc The VPC from which to select subnets to launch your pods into. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.FargateProfile = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileOptions.kt index e437d3b7dc..fd89e3ad74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileOptions.kt @@ -169,7 +169,7 @@ public interface FargateProfileOptions { * ECR image repositories. */ override fun podExecutionRole(podExecutionRole: IRole) { - cdkBuilder.podExecutionRole(podExecutionRole.let(IRole::unwrap)) + cdkBuilder.podExecutionRole(podExecutionRole.let(IRole.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface FargateProfileOptions { * At least one selector is required and you may specify up to five selectors. */ override fun selectors(selectors: List) { - cdkBuilder.selectors(selectors.map(Selector::unwrap)) + cdkBuilder.selectors(selectors.map(Selector.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface FargateProfileOptions { * You must specify the VPC to customize the subnet selection */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface FargateProfileOptions { * `subnetSelection`. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.FargateProfileOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileProps.kt index 72a9d8417e..451134ce23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/FargateProfileProps.kt @@ -118,7 +118,7 @@ public interface FargateProfileProps : FargateProfileOptions { * [disable-awslint:ref-via-interface] */ override fun cluster(cluster: Cluster) { - cdkBuilder.cluster(cluster.let(Cluster::unwrap)) + cdkBuilder.cluster(cluster.let(Cluster.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface FargateProfileProps : FargateProfileOptions { * ECR image repositories. */ override fun podExecutionRole(podExecutionRole: IRole) { - cdkBuilder.podExecutionRole(podExecutionRole.let(IRole::unwrap)) + cdkBuilder.podExecutionRole(podExecutionRole.let(IRole.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface FargateProfileProps : FargateProfileOptions { * At least one selector is required and you may specify up to five selectors. */ override fun selectors(selectors: List) { - cdkBuilder.selectors(selectors.map(Selector::unwrap)) + cdkBuilder.selectors(selectors.map(Selector.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public interface FargateProfileProps : FargateProfileOptions { * You must specify the VPC to customize the subnet selection */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface FargateProfileProps : FargateProfileOptions { * `subnetSelection`. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.FargateProfileProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChart.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChart.kt index 386ca8e284..24ea19eee5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChart.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChart.kt @@ -42,8 +42,8 @@ public open class HelmChart( id: String, props: HelmChartProps, ) : - this(software.amazon.awscdk.services.eks.HelmChart(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HelmChartProps::unwrap)) + this(software.amazon.awscdk.services.eks.HelmChart(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HelmChartProps.Companion::unwrap)) ) public constructor( @@ -53,6 +53,11 @@ public open class HelmChart( ) : this(scope, id, HelmChartProps(props) ) + /** + * + */ + public open fun atomic(): Boolean? = unwrap(this).getAtomic() + /** * */ @@ -78,6 +83,19 @@ public open class HelmChart( */ @CdkDslMarker public interface Builder { + /** + * Whether or not Helm should treat this operation as atomic; + * + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + * + * Default: false + * + * @param atomic Whether or not Helm should treat this operation as atomic;. + */ + public fun atomic(atomic: Boolean) + /** * The name of the chart. * @@ -214,6 +232,21 @@ public open class HelmChart( private val cdkBuilder: software.amazon.awscdk.services.eks.HelmChart.Builder = software.amazon.awscdk.services.eks.HelmChart.Builder.create(scope, id) + /** + * Whether or not Helm should treat this operation as atomic; + * + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + * + * Default: false + * + * @param atomic Whether or not Helm should treat this operation as atomic;. + */ + override fun atomic(atomic: Boolean) { + cdkBuilder.atomic(atomic) + } + /** * The name of the chart. * @@ -237,7 +270,7 @@ public open class HelmChart( * @param chartAsset The chart in the form of an asset. */ override fun chartAsset(chartAsset: Asset) { - cdkBuilder.chartAsset(chartAsset.let(Asset::unwrap)) + cdkBuilder.chartAsset(chartAsset.let(Asset.Companion::unwrap)) } /** @@ -248,7 +281,7 @@ public open class HelmChart( * @param cluster The EKS cluster to apply this configuration to. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -320,7 +353,7 @@ public open class HelmChart( * @param timeout Amount of time to wait for any individual Kubernetes operation. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartOptions.kt index 69f420a307..aaf72f0bb1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartOptions.kt @@ -30,6 +30,16 @@ import kotlin.collections.Map * ``` */ public interface HelmChartOptions { + /** + * Whether or not Helm should treat this operation as atomic; + * + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is used. + * + * Default: false + */ + public fun atomic(): Boolean? = unwrap(this).getAtomic() + /** * The name of the chart. * @@ -129,6 +139,14 @@ public interface HelmChartOptions { */ @CdkDslMarker public interface Builder { + /** + * @param atomic Whether or not Helm should treat this operation as atomic;. + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + */ + public fun atomic(atomic: Boolean) + /** * @param chart The name of the chart. * Either this or `chartAsset` must be specified. @@ -200,6 +218,16 @@ public interface HelmChartOptions { private val cdkBuilder: software.amazon.awscdk.services.eks.HelmChartOptions.Builder = software.amazon.awscdk.services.eks.HelmChartOptions.builder() + /** + * @param atomic Whether or not Helm should treat this operation as atomic;. + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + */ + override fun atomic(atomic: Boolean) { + cdkBuilder.atomic(atomic) + } + /** * @param chart The name of the chart. * Either this or `chartAsset` must be specified. @@ -213,7 +241,7 @@ public interface HelmChartOptions { * Either this or `chart` must be specified. */ override fun chartAsset(chartAsset: Asset) { - cdkBuilder.chartAsset(chartAsset.let(Asset::unwrap)) + cdkBuilder.chartAsset(chartAsset.let(Asset.Companion::unwrap)) } /** @@ -257,7 +285,7 @@ public interface HelmChartOptions { * Maximum 15 minutes. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -294,6 +322,17 @@ public interface HelmChartOptions { private class Wrapper( cdkObject: software.amazon.awscdk.services.eks.HelmChartOptions, ) : CdkObject(cdkObject), HelmChartOptions { + /** + * Whether or not Helm should treat this operation as atomic; + * + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + * + * Default: false + */ + override fun atomic(): Boolean? = unwrap(this).getAtomic() + /** * The name of the chart. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartProps.kt index 22fbd7ca93..34adeb71f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/HelmChartProps.kt @@ -44,6 +44,14 @@ public interface HelmChartProps : HelmChartOptions { */ @CdkDslMarker public interface Builder { + /** + * @param atomic Whether or not Helm should treat this operation as atomic;. + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + */ + public fun atomic(atomic: Boolean) + /** * @param chart The name of the chart. * Either this or `chartAsset` must be specified. @@ -121,6 +129,16 @@ public interface HelmChartProps : HelmChartOptions { private val cdkBuilder: software.amazon.awscdk.services.eks.HelmChartProps.Builder = software.amazon.awscdk.services.eks.HelmChartProps.builder() + /** + * @param atomic Whether or not Helm should treat this operation as atomic;. + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + */ + override fun atomic(atomic: Boolean) { + cdkBuilder.atomic(atomic) + } + /** * @param chart The name of the chart. * Either this or `chartAsset` must be specified. @@ -134,7 +152,7 @@ public interface HelmChartProps : HelmChartOptions { * Either this or `chart` must be specified. */ override fun chartAsset(chartAsset: Asset) { - cdkBuilder.chartAsset(chartAsset.let(Asset::unwrap)) + cdkBuilder.chartAsset(chartAsset.let(Asset.Companion::unwrap)) } /** @@ -142,7 +160,7 @@ public interface HelmChartProps : HelmChartOptions { * [disable-awslint:ref-via-interface] */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -186,7 +204,7 @@ public interface HelmChartProps : HelmChartOptions { * Maximum 15 minutes. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -223,6 +241,17 @@ public interface HelmChartProps : HelmChartOptions { private class Wrapper( cdkObject: software.amazon.awscdk.services.eks.HelmChartProps, ) : CdkObject(cdkObject), HelmChartProps { + /** + * Whether or not Helm should treat this operation as atomic; + * + * if set, upgrade process rolls back changes + * made in case of failed upgrade. The --wait flag will be set automatically if --atomic is + * used. + * + * Default: false + */ + override fun atomic(): Boolean? = unwrap(this).getAtomic() + /** * The name of the chart. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ICluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ICluster.kt index 71666e0e59..26400b7175 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ICluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ICluster.kt @@ -346,7 +346,8 @@ public interface ICluster : IResource, IConnectable { * @param options */ override fun addCdk8sChart(id: String, chart: Construct): KubernetesManifest = - unwrap(this).addCdk8sChart(id, chart.let(Construct::unwrap)).let(KubernetesManifest::wrap) + unwrap(this).addCdk8sChart(id, + chart.let(Construct.Companion::unwrap)).let(KubernetesManifest::wrap) /** * Defines a CDK8s chart in this cluster. @@ -360,8 +361,8 @@ public interface ICluster : IResource, IConnectable { id: String, chart: Construct, options: KubernetesManifestOptions, - ): KubernetesManifest = unwrap(this).addCdk8sChart(id, chart.let(Construct::unwrap), - options.let(KubernetesManifestOptions::unwrap)).let(KubernetesManifest::wrap) + ): KubernetesManifest = unwrap(this).addCdk8sChart(id, chart.let(Construct.Companion::unwrap), + options.let(KubernetesManifestOptions.Companion::unwrap)).let(KubernetesManifest::wrap) /** * Defines a CDK8s chart in this cluster. @@ -387,7 +388,8 @@ public interface ICluster : IResource, IConnectable { * @param options options of this chart. */ override fun addHelmChart(id: String, options: HelmChartOptions): HelmChart = - unwrap(this).addHelmChart(id, options.let(HelmChartOptions::unwrap)).let(HelmChart::wrap) + unwrap(this).addHelmChart(id, + options.let(HelmChartOptions.Companion::unwrap)).let(HelmChart::wrap) /** * Defines a Helm chart in this cluster. @@ -431,7 +433,7 @@ public interface ICluster : IResource, IConnectable { */ override fun addServiceAccount(id: String, options: ServiceAccountOptions): ServiceAccount = unwrap(this).addServiceAccount(id, - options.let(ServiceAccountOptions::unwrap)).let(ServiceAccount::wrap) + options.let(ServiceAccountOptions.Companion::unwrap)).let(ServiceAccount::wrap) /** * Creates a new service account with corresponding IAM Role (IRSA). @@ -458,7 +460,7 @@ public interface ICluster : IResource, IConnectable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -544,8 +546,8 @@ public interface ICluster : IResource, IConnectable { */ override fun connectAutoScalingGroupCapacity(autoScalingGroup: AutoScalingGroup, options: AutoScalingGroupOptions) { - unwrap(this).connectAutoScalingGroupCapacity(autoScalingGroup.let(AutoScalingGroup::unwrap), - options.let(AutoScalingGroupOptions::unwrap)) + unwrap(this).connectAutoScalingGroupCapacity(autoScalingGroup.let(AutoScalingGroup.Companion::unwrap), + options.let(AutoScalingGroupOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/INodegroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/INodegroup.kt index 53b0546266..218e4c69fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/INodegroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/INodegroup.kt @@ -37,7 +37,7 @@ public interface INodegroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/IngressLoadBalancerAddressOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/IngressLoadBalancerAddressOptions.kt index a6be2b1a44..b6691c99e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/IngressLoadBalancerAddressOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/IngressLoadBalancerAddressOptions.kt @@ -59,7 +59,7 @@ public interface IngressLoadBalancerAddressOptions : ServiceLoadBalancerAddressO * @param timeout Timeout for waiting on the load balancer address. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.IngressLoadBalancerAddressOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProvider.kt index 3dce72cb8c..90c97b14cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProvider.kt @@ -42,8 +42,8 @@ public open class KubectlProvider( id: String, props: KubectlProviderProps, ) : - this(software.amazon.awscdk.services.eks.KubectlProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KubectlProviderProps::unwrap)) + this(software.amazon.awscdk.services.eks.KubectlProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KubectlProviderProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class KubectlProvider( * @param cluster The cluster to control. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.KubectlProvider = cdkBuilder.build() @@ -106,8 +106,8 @@ public open class KubectlProvider( id: String, attrs: KubectlProviderAttributes, ): IKubectlProvider = - software.amazon.awscdk.services.eks.KubectlProvider.fromKubectlProviderAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(KubectlProviderAttributes::unwrap)).let(IKubectlProvider::wrap) + software.amazon.awscdk.services.eks.KubectlProvider.fromKubectlProviderAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(KubectlProviderAttributes.Companion::unwrap)).let(IKubectlProvider::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db3b6a08bf06eba23b6ec28a610bdedc6e2fd17a1c14d9dab34c23095ae0324d") @@ -119,8 +119,8 @@ public open class KubectlProvider( public fun orCreate(scope: CloudshiftdevConstructsConstruct, cluster: ICluster): IKubectlProvider = - software.amazon.awscdk.services.eks.KubectlProvider.getOrCreate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - cluster.let(ICluster::unwrap)).let(IKubectlProvider::wrap) + software.amazon.awscdk.services.eks.KubectlProvider.getOrCreate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + cluster.let(ICluster.Companion::unwrap)).let(IKubectlProvider::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderAttributes.kt index 288670c2da..e98b4a99d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderAttributes.kt @@ -89,7 +89,7 @@ public interface KubectlProviderAttributes { * This role must be able to assume kubectlRoleArn */ override fun handlerRole(handlerRole: IRole) { - cdkBuilder.handlerRole(handlerRole.let(IRole::unwrap)) + cdkBuilder.handlerRole(handlerRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderProps.kt index 974be4dd63..8b1e8a5974 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubectlProviderProps.kt @@ -47,7 +47,7 @@ public interface KubectlProviderProps { * @param cluster The cluster to control. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.KubectlProviderProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifest.kt index 7ee6ac8065..e585dd10cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifest.kt @@ -44,8 +44,8 @@ public open class KubernetesManifest( id: String, props: KubernetesManifestProps, ) : - this(software.amazon.awscdk.services.eks.KubernetesManifest(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KubernetesManifestProps::unwrap)) + this(software.amazon.awscdk.services.eks.KubernetesManifest(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KubernetesManifestProps.Companion::unwrap)) ) public constructor( @@ -207,7 +207,7 @@ public open class KubernetesManifest( * @param cluster The EKS cluster to apply this manifest to. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class KubernetesManifest( * */ override fun ingressAlbScheme(ingressAlbScheme: AlbScheme) { - cdkBuilder.ingressAlbScheme(ingressAlbScheme.let(AlbScheme::unwrap)) + cdkBuilder.ingressAlbScheme(ingressAlbScheme.let(AlbScheme.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestOptions.kt index 9915113b75..9fd25adbe0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestOptions.kt @@ -135,7 +135,7 @@ public interface KubernetesManifestOptions { * Only applicable if `ingressAlb` is set to `true`. */ override fun ingressAlbScheme(ingressAlbScheme: AlbScheme) { - cdkBuilder.ingressAlbScheme(ingressAlbScheme.let(AlbScheme::unwrap)) + cdkBuilder.ingressAlbScheme(ingressAlbScheme.let(AlbScheme.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestProps.kt index b391c92bf0..d067baeb26 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesManifestProps.kt @@ -179,7 +179,7 @@ public interface KubernetesManifestProps : KubernetesManifestOptions { * [disable-awslint:ref-via-interface] */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public interface KubernetesManifestProps : KubernetesManifestOptions { * Only applicable if `ingressAlb` is set to `true`. */ override fun ingressAlbScheme(ingressAlbScheme: AlbScheme) { - cdkBuilder.ingressAlbScheme(ingressAlbScheme.let(AlbScheme::unwrap)) + cdkBuilder.ingressAlbScheme(ingressAlbScheme.let(AlbScheme.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValue.kt index a20f622d06..44e3525d6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValue.kt @@ -44,8 +44,8 @@ public open class KubernetesObjectValue( id: String, props: KubernetesObjectValueProps, ) : - this(software.amazon.awscdk.services.eks.KubernetesObjectValue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KubernetesObjectValueProps::unwrap)) + this(software.amazon.awscdk.services.eks.KubernetesObjectValue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KubernetesObjectValueProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class KubernetesObjectValue( * @param cluster The EKS cluster to fetch attributes from. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class KubernetesObjectValue( * @param timeout Timeout for waiting on a value. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.KubernetesObjectValue = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValueProps.kt index 60abe0c61d..fdb6b592bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesObjectValueProps.kt @@ -122,7 +122,7 @@ public interface KubernetesObjectValueProps { * [disable-awslint:ref-via-interface] */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface KubernetesObjectValueProps { * @param timeout Timeout for waiting on a value. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.KubernetesObjectValueProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatch.kt index bd7a212c44..aae8ecc326 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatch.kt @@ -36,8 +36,8 @@ public open class KubernetesPatch( id: String, props: KubernetesPatchProps, ) : - this(software.amazon.awscdk.services.eks.KubernetesPatch(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KubernetesPatchProps::unwrap)) + this(software.amazon.awscdk.services.eks.KubernetesPatch(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KubernetesPatchProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class KubernetesPatch( * @param cluster The cluster to apply the patch to. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class KubernetesPatch( * @param patchType The patch type to pass to `kubectl patch`. */ override fun patchType(patchType: PatchType) { - cdkBuilder.patchType(patchType.let(PatchType::unwrap)) + cdkBuilder.patchType(patchType.let(PatchType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatchProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatchProps.kt index fe2c9bb941..78fe4ed7e1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatchProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/KubernetesPatchProps.kt @@ -120,7 +120,7 @@ public interface KubernetesPatchProps { * [disable-awslint:ref-via-interface] */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface KubernetesPatchProps { * The default type used by `kubectl patch` is "strategic". */ override fun patchType(patchType: PatchType) { - cdkBuilder.patchType(patchType.let(PatchType::unwrap)) + cdkBuilder.patchType(patchType.let(PatchType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Nodegroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Nodegroup.kt index 9512e638d3..8109166c3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Nodegroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/Nodegroup.kt @@ -88,8 +88,8 @@ public open class Nodegroup( id: String, props: NodegroupProps, ) : - this(software.amazon.awscdk.services.eks.Nodegroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NodegroupProps::unwrap)) + this(software.amazon.awscdk.services.eks.Nodegroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NodegroupProps.Companion::unwrap)) ) public constructor( @@ -462,7 +462,7 @@ public open class Nodegroup( * @param amiType The AMI type for your node group. */ override fun amiType(amiType: NodegroupAmiType) { - cdkBuilder.amiType(amiType.let(NodegroupAmiType::unwrap)) + cdkBuilder.amiType(amiType.let(NodegroupAmiType.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class Nodegroup( * @param capacityType The capacity type of the nodegroup. */ override fun capacityType(capacityType: CapacityType) { - cdkBuilder.capacityType(capacityType.let(CapacityType::unwrap)) + cdkBuilder.capacityType(capacityType.let(CapacityType.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class Nodegroup( * @param cluster Cluster resource. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class Nodegroup( * @param instanceTypes The instance types to use for your node group. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public open class Nodegroup( * @param launchTemplateSpec Launch template specification used for the nodegroup. */ override fun launchTemplateSpec(launchTemplateSpec: LaunchTemplateSpec) { - cdkBuilder.launchTemplateSpec(launchTemplateSpec.let(LaunchTemplateSpec::unwrap)) + cdkBuilder.launchTemplateSpec(launchTemplateSpec.let(LaunchTemplateSpec.Companion::unwrap)) } /** @@ -671,7 +671,7 @@ public open class Nodegroup( * @param nodeRole The IAM role to associate with your node group. */ override fun nodeRole(nodeRole: IRole) { - cdkBuilder.nodeRole(nodeRole.let(IRole::unwrap)) + cdkBuilder.nodeRole(nodeRole.let(IRole.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class Nodegroup( * @param remoteAccess The remote access (SSH) configuration to use with your node group. */ override fun remoteAccess(remoteAccess: NodegroupRemoteAccess) { - cdkBuilder.remoteAccess(remoteAccess.let(NodegroupRemoteAccess::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(NodegroupRemoteAccess.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class Nodegroup( * group. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class Nodegroup( * are created. */ override fun taints(taints: List) { - cdkBuilder.taints(taints.map(TaintSpec::unwrap)) + cdkBuilder.taints(taints.map(TaintSpec.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public open class Nodegroup( id: String, nodegroupName: String, ): INodegroup = - software.amazon.awscdk.services.eks.Nodegroup.fromNodegroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.eks.Nodegroup.fromNodegroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, nodegroupName).let(INodegroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupOptions.kt index 2eda337684..3507df9969 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupOptions.kt @@ -440,14 +440,14 @@ public interface NodegroupOptions { * for the nodegroup. */ override fun amiType(amiType: NodegroupAmiType) { - cdkBuilder.amiType(amiType.let(NodegroupAmiType::unwrap)) + cdkBuilder.amiType(amiType.let(NodegroupAmiType.Companion::unwrap)) } /** * @param capacityType The capacity type of the nodegroup. */ override fun capacityType(capacityType: CapacityType) { - cdkBuilder.capacityType(capacityType.let(CapacityType::unwrap)) + cdkBuilder.capacityType(capacityType.let(CapacityType.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public interface NodegroupOptions { * @param instanceTypes The instance types to use for your node group. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public interface NodegroupOptions { * @param launchTemplateSpec Launch template specification used for the nodegroup. */ override fun launchTemplateSpec(launchTemplateSpec: LaunchTemplateSpec) { - cdkBuilder.launchTemplateSpec(launchTemplateSpec.let(LaunchTemplateSpec::unwrap)) + cdkBuilder.launchTemplateSpec(launchTemplateSpec.let(LaunchTemplateSpec.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface NodegroupOptions { * launched. */ override fun nodeRole(nodeRole: IRole) { - cdkBuilder.nodeRole(nodeRole.let(IRole::unwrap)) + cdkBuilder.nodeRole(nodeRole.let(IRole.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public interface NodegroupOptions { * then port 22 on the worker nodes is opened to the internet (0.0.0.0/0) */ override fun remoteAccess(remoteAccess: NodegroupRemoteAccess) { - cdkBuilder.remoteAccess(remoteAccess.let(NodegroupRemoteAccess::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(NodegroupRemoteAccess.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public interface NodegroupOptions { * the name of your cluster. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public interface NodegroupOptions { * are created. */ override fun taints(taints: List) { - cdkBuilder.taints(taints.map(TaintSpec::unwrap)) + cdkBuilder.taints(taints.map(TaintSpec.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupProps.kt index 6e70da2db2..18a9cc511f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupProps.kt @@ -296,21 +296,21 @@ public interface NodegroupProps : NodegroupOptions { * for the nodegroup. */ override fun amiType(amiType: NodegroupAmiType) { - cdkBuilder.amiType(amiType.let(NodegroupAmiType::unwrap)) + cdkBuilder.amiType(amiType.let(NodegroupAmiType.Companion::unwrap)) } /** * @param capacityType The capacity type of the nodegroup. */ override fun capacityType(capacityType: CapacityType) { - cdkBuilder.capacityType(capacityType.let(CapacityType::unwrap)) + cdkBuilder.capacityType(capacityType.let(CapacityType.Companion::unwrap)) } /** * @param cluster Cluster resource. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public interface NodegroupProps : NodegroupOptions { * @param instanceTypes The instance types to use for your node group. */ override fun instanceTypes(instanceTypes: List) { - cdkBuilder.instanceTypes(instanceTypes.map(InstanceType::unwrap)) + cdkBuilder.instanceTypes(instanceTypes.map(InstanceType.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public interface NodegroupProps : NodegroupOptions { * @param launchTemplateSpec Launch template specification used for the nodegroup. */ override fun launchTemplateSpec(launchTemplateSpec: LaunchTemplateSpec) { - cdkBuilder.launchTemplateSpec(launchTemplateSpec.let(LaunchTemplateSpec::unwrap)) + cdkBuilder.launchTemplateSpec(launchTemplateSpec.let(LaunchTemplateSpec.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public interface NodegroupProps : NodegroupOptions { * launched. */ override fun nodeRole(nodeRole: IRole) { - cdkBuilder.nodeRole(nodeRole.let(IRole::unwrap)) + cdkBuilder.nodeRole(nodeRole.let(IRole.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface NodegroupProps : NodegroupOptions { * then port 22 on the worker nodes is opened to the internet (0.0.0.0/0) */ override fun remoteAccess(remoteAccess: NodegroupRemoteAccess) { - cdkBuilder.remoteAccess(remoteAccess.let(NodegroupRemoteAccess::unwrap)) + cdkBuilder.remoteAccess(remoteAccess.let(NodegroupRemoteAccess.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface NodegroupProps : NodegroupOptions { * the name of your cluster. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public interface NodegroupProps : NodegroupOptions { * are created. */ override fun taints(taints: List) { - cdkBuilder.taints(taints.map(TaintSpec::unwrap)) + cdkBuilder.taints(taints.map(TaintSpec.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupRemoteAccess.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupRemoteAccess.kt index 6da9645649..9faed49bda 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupRemoteAccess.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/NodegroupRemoteAccess.kt @@ -95,7 +95,7 @@ public interface NodegroupRemoteAccess { * nodes is opened to the internet (0.0.0.0/0). */ override fun sourceSecurityGroups(sourceSecurityGroups: List) { - cdkBuilder.sourceSecurityGroups(sourceSecurityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.sourceSecurityGroups(sourceSecurityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/OpenIdConnectProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/OpenIdConnectProvider.kt index 43bd6f5074..94b467a315 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/OpenIdConnectProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/OpenIdConnectProvider.kt @@ -50,8 +50,8 @@ public open class OpenIdConnectProvider( id: String, props: OpenIdConnectProviderProps, ) : - this(software.amazon.awscdk.services.eks.OpenIdConnectProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(OpenIdConnectProviderProps::unwrap)) + this(software.amazon.awscdk.services.eks.OpenIdConnectProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(OpenIdConnectProviderProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccount.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccount.kt index 3c64137b00..e7e2a3dbbb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccount.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccount.kt @@ -47,8 +47,8 @@ public open class ServiceAccount( id: String, props: ServiceAccountProps, ) : - this(software.amazon.awscdk.services.eks.ServiceAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServiceAccountProps::unwrap)) + this(software.amazon.awscdk.services.eks.ServiceAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServiceAccountProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class ServiceAccount( * @param statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. @@ -187,7 +187,7 @@ public open class ServiceAccount( * @param cluster The cluster to apply the patch to. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccountProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccountProps.kt index 945dd4f005..d7405576f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccountProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceAccountProps.kt @@ -87,7 +87,7 @@ public interface ServiceAccountProps : ServiceAccountOptions { * @param cluster The cluster to apply the patch to. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceLoadBalancerAddressOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceLoadBalancerAddressOptions.kt index 7204b21c31..81ca5caefc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceLoadBalancerAddressOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/ServiceLoadBalancerAddressOptions.kt @@ -73,7 +73,7 @@ public interface ServiceLoadBalancerAddressOptions { * @param timeout Timeout for waiting on the load balancer address. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.eks.ServiceLoadBalancerAddressOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/TaintSpec.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/TaintSpec.kt index e6161a3ade..e460cd5e1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/TaintSpec.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eks/TaintSpec.kt @@ -75,7 +75,7 @@ public interface TaintSpec { * @param effect Effect type. */ override fun effect(effect: TaintEffect) { - cdkBuilder.effect(effect.let(TaintEffect::unwrap)) + cdkBuilder.effect(effect.let(TaintEffect.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheCluster.kt index d61787b6b0..5397328560 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheCluster.kt @@ -86,8 +86,8 @@ public open class CfnCacheCluster( id: String, props: CfnCacheClusterProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnCacheCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCacheClusterProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnCacheCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCacheClusterProps.Companion::unwrap)) ) public constructor( @@ -156,7 +156,7 @@ public open class CfnCacheCluster( * versions. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnCacheCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnCacheCluster( * Specifies the destination, format and type of the logs. */ public open fun logDeliveryConfigurations(`value`: IResolvable) { - unwrap(this).setLogDeliveryConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogDeliveryConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnCacheCluster( * A list of tags to be added to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class CfnCacheCluster( * A flag that enables in-transit encryption when set to true. */ public open fun transitEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setTransitEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTransitEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1099,7 +1099,7 @@ public open class CfnCacheCluster( * parameter is disabled for previous versions. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -1338,7 +1338,7 @@ public open class CfnCacheCluster( * @param logDeliveryConfigurations Specifies the destination, format and type of the logs. */ override fun logDeliveryConfigurations(logDeliveryConfigurations: IResolvable) { - cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1617,7 +1617,7 @@ public open class CfnCacheCluster( * @param tags A list of tags to be added to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1645,7 +1645,7 @@ public open class CfnCacheCluster( * @param transitEncryptionEnabled A flag that enables in-transit encryption when set to true. */ override fun transitEncryptionEnabled(transitEncryptionEnabled: IResolvable) { - cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1899,7 +1899,7 @@ public open class CfnCacheCluster( * destination. */ override fun cloudWatchLogsDetails(cloudWatchLogsDetails: IResolvable) { - cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1909,7 +1909,7 @@ public open class CfnCacheCluster( */ override fun cloudWatchLogsDetails(cloudWatchLogsDetails: CloudWatchLogsDestinationDetailsProperty) { - cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(CloudWatchLogsDestinationDetailsProperty::unwrap)) + cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(CloudWatchLogsDestinationDetailsProperty.Companion::unwrap)) } /** @@ -1931,7 +1931,7 @@ public open class CfnCacheCluster( * the destination. */ override fun kinesisFirehoseDetails(kinesisFirehoseDetails: IResolvable) { - cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1942,7 +1942,7 @@ public open class CfnCacheCluster( */ override fun kinesisFirehoseDetails(kinesisFirehoseDetails: KinesisFirehoseDestinationDetailsProperty) { - cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(KinesisFirehoseDestinationDetailsProperty::unwrap)) + cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(KinesisFirehoseDestinationDetailsProperty.Companion::unwrap)) } /** @@ -2208,7 +2208,7 @@ public open class CfnCacheCluster( * Kinesis Data Firehose destination. */ override fun destinationDetails(destinationDetails: IResolvable) { - cdkBuilder.destinationDetails(destinationDetails.let(IResolvable::unwrap)) + cdkBuilder.destinationDetails(destinationDetails.let(IResolvable.Companion::unwrap)) } /** @@ -2216,7 +2216,7 @@ public open class CfnCacheCluster( * Kinesis Data Firehose destination. */ override fun destinationDetails(destinationDetails: DestinationDetailsProperty) { - cdkBuilder.destinationDetails(destinationDetails.let(DestinationDetailsProperty::unwrap)) + cdkBuilder.destinationDetails(destinationDetails.let(DestinationDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheClusterProps.kt index 2a24d43b0b..683cd4e640 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnCacheClusterProps.kt @@ -883,7 +883,7 @@ public interface CfnCacheClusterProps { * parameter is disabled for previous versions. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -1075,7 +1075,7 @@ public interface CfnCacheClusterProps { * @param logDeliveryConfigurations Specifies the destination, format and type of the logs. */ override fun logDeliveryConfigurations(logDeliveryConfigurations: IResolvable) { - cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1286,7 +1286,7 @@ public interface CfnCacheClusterProps { * @param tags A list of tags to be added to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1305,7 +1305,7 @@ public interface CfnCacheClusterProps { * @param transitEncryptionEnabled A flag that enables in-transit encryption when set to true. */ override fun transitEncryptionEnabled(transitEncryptionEnabled: IResolvable) { - cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroup.kt index 566cf1c112..cee607c82d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroup.kt @@ -70,8 +70,8 @@ public open class CfnGlobalReplicationGroup( id: String, props: CfnGlobalReplicationGroupProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnGlobalReplicationGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGlobalReplicationGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnGlobalReplicationGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGlobalReplicationGroupProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnGlobalReplicationGroup( * existing primary fails. */ public open fun automaticFailoverEnabled(`value`: IResolvable) { - unwrap(this).setAutomaticFailoverEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutomaticFailoverEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnGlobalReplicationGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnGlobalReplicationGroup( * The replication groups that comprise the Global datastore. */ public open fun members(`value`: IResolvable) { - unwrap(this).setMembers(`value`.let(IResolvable::unwrap)) + unwrap(this).setMembers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnGlobalReplicationGroup( * The Regions that comprise the Global Datastore. */ public open fun regionalConfigurations(`value`: IResolvable) { - unwrap(this).setRegionalConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegionalConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnGlobalReplicationGroup( * promoted to read/write primary if the existing primary fails. */ override fun automaticFailoverEnabled(automaticFailoverEnabled: IResolvable) { - cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable::unwrap)) + cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnGlobalReplicationGroup( * @param members The replication groups that comprise the Global datastore. */ override fun members(members: IResolvable) { - cdkBuilder.members(members.let(IResolvable::unwrap)) + cdkBuilder.members(members.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public open class CfnGlobalReplicationGroup( * @param regionalConfigurations The Regions that comprise the Global Datastore. */ override fun regionalConfigurations(regionalConfigurations: IResolvable) { - cdkBuilder.regionalConfigurations(regionalConfigurations.let(IResolvable::unwrap)) + cdkBuilder.regionalConfigurations(regionalConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnGlobalReplicationGroup( * the configuration of a node group in the resharded cluster. */ override fun reshardingConfigurations(reshardingConfigurations: IResolvable) { - cdkBuilder.reshardingConfigurations(reshardingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.reshardingConfigurations(reshardingConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroupProps.kt index 345a31a666..485ad28388 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnGlobalReplicationGroupProps.kt @@ -230,7 +230,7 @@ public interface CfnGlobalReplicationGroupProps { * groups. */ override fun automaticFailoverEnabled(automaticFailoverEnabled: IResolvable) { - cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable::unwrap)) + cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public interface CfnGlobalReplicationGroupProps { * @param members The replication groups that comprise the Global datastore. */ override fun members(members: IResolvable) { - cdkBuilder.members(members.let(IResolvable::unwrap)) + cdkBuilder.members(members.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface CfnGlobalReplicationGroupProps { * @param regionalConfigurations The Regions that comprise the Global Datastore. */ override fun regionalConfigurations(regionalConfigurations: IResolvable) { - cdkBuilder.regionalConfigurations(regionalConfigurations.let(IResolvable::unwrap)) + cdkBuilder.regionalConfigurations(regionalConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroup.kt index 3918927963..93bc3d8c34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroup.kt @@ -53,8 +53,8 @@ public open class CfnParameterGroup( id: String, props: CfnParameterGroupProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class CfnParameterGroup( * A comma-delimited list of parameter name/value pairs. */ public open fun properties(`value`: IResolvable) { - unwrap(this).setProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnParameterGroup( * A tag that can be added to an ElastiCache parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnParameterGroup( * @param properties A comma-delimited list of parameter name/value pairs. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnParameterGroup( * @param tags A tag that can be added to an ElastiCache parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroupProps.kt index 9751350e84..f96a07c372 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnParameterGroupProps.kt @@ -167,7 +167,7 @@ public interface CfnParameterGroupProps { * ``` */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnParameterGroupProps { * parameter groups. A tag with a null Value is permitted. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroup.kt index aa35ae55bf..2295d7a39d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroup.kt @@ -129,8 +129,8 @@ public open class CfnReplicationGroup( id: String, props: CfnReplicationGroupProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnReplicationGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnReplicationGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationGroupProps.Companion::unwrap)) ) public constructor( @@ -156,7 +156,7 @@ public open class CfnReplicationGroup( * A flag that enables encryption at rest when set to `true` . */ public open fun atRestEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setAtRestEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setAtRestEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnReplicationGroup( * versions. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnReplicationGroup( * existing primary fails. */ public open fun automaticFailoverEnabled(`value`: IResolvable) { - unwrap(this).setAutomaticFailoverEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutomaticFailoverEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public open class CfnReplicationGroup( * Enables data tiering. */ public open fun dataTieringEnabled(`value`: IResolvable) { - unwrap(this).setDataTieringEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataTieringEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnReplicationGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnReplicationGroup( * Specifies the destination, format and type of the logs. */ public open fun logDeliveryConfigurations(`value`: IResolvable) { - unwrap(this).setLogDeliveryConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogDeliveryConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnReplicationGroup( * A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. */ public open fun multiAzEnabled(`value`: IResolvable) { - unwrap(this).setMultiAzEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiAzEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnReplicationGroup( * that configures an Amazon ElastiCache (ElastiCache) Redis cluster node group. */ public open fun nodeGroupConfiguration(`value`: IResolvable) { - unwrap(this).setNodeGroupConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodeGroupConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public open class CfnReplicationGroup( * A list of tags to be added to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -792,7 +792,7 @@ public open class CfnReplicationGroup( * A flag that enables in-transit encryption when set to `true` . */ public open fun transitEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setTransitEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTransitEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1736,7 +1736,7 @@ public open class CfnReplicationGroup( * @param atRestEncryptionEnabled A flag that enables encryption at rest when set to `true` . */ override fun atRestEncryptionEnabled(atRestEncryptionEnabled: IResolvable) { - cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1800,7 +1800,7 @@ public open class CfnReplicationGroup( * parameter is disabled for previous versions. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -1834,7 +1834,7 @@ public open class CfnReplicationGroup( * promoted to read/write primary if the existing primary fails. */ override fun automaticFailoverEnabled(automaticFailoverEnabled: IResolvable) { - cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable::unwrap)) + cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2017,7 +2017,7 @@ public open class CfnReplicationGroup( * @param dataTieringEnabled Enables data tiering. */ override fun dataTieringEnabled(dataTieringEnabled: IResolvable) { - cdkBuilder.dataTieringEnabled(dataTieringEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTieringEnabled(dataTieringEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2094,7 +2094,7 @@ public open class CfnReplicationGroup( * @param logDeliveryConfigurations Specifies the destination, format and type of the logs. */ override fun logDeliveryConfigurations(logDeliveryConfigurations: IResolvable) { - cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -2141,7 +2141,7 @@ public open class CfnReplicationGroup( * tolerance. */ override fun multiAzEnabled(multiAzEnabled: IResolvable) { - cdkBuilder.multiAzEnabled(multiAzEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiAzEnabled(multiAzEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2176,7 +2176,7 @@ public open class CfnReplicationGroup( * (ElastiCache) Redis cluster node group. */ override fun nodeGroupConfiguration(nodeGroupConfiguration: IResolvable) { - cdkBuilder.nodeGroupConfiguration(nodeGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nodeGroupConfiguration(nodeGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2547,7 +2547,7 @@ public open class CfnReplicationGroup( * @param tags A list of tags to be added to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2619,7 +2619,7 @@ public open class CfnReplicationGroup( * . */ override fun transitEncryptionEnabled(transitEncryptionEnabled: IResolvable) { - cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2890,7 +2890,7 @@ public open class CfnReplicationGroup( * destination. */ override fun cloudWatchLogsDetails(cloudWatchLogsDetails: IResolvable) { - cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(IResolvable.Companion::unwrap)) } /** @@ -2900,7 +2900,7 @@ public open class CfnReplicationGroup( */ override fun cloudWatchLogsDetails(cloudWatchLogsDetails: CloudWatchLogsDestinationDetailsProperty) { - cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(CloudWatchLogsDestinationDetailsProperty::unwrap)) + cdkBuilder.cloudWatchLogsDetails(cloudWatchLogsDetails.let(CloudWatchLogsDestinationDetailsProperty.Companion::unwrap)) } /** @@ -2922,7 +2922,7 @@ public open class CfnReplicationGroup( * the destination. */ override fun kinesisFirehoseDetails(kinesisFirehoseDetails: IResolvable) { - cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(IResolvable.Companion::unwrap)) } /** @@ -2933,7 +2933,7 @@ public open class CfnReplicationGroup( */ override fun kinesisFirehoseDetails(kinesisFirehoseDetails: KinesisFirehoseDestinationDetailsProperty) { - cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(KinesisFirehoseDestinationDetailsProperty::unwrap)) + cdkBuilder.kinesisFirehoseDetails(kinesisFirehoseDetails.let(KinesisFirehoseDestinationDetailsProperty.Companion::unwrap)) } /** @@ -3199,7 +3199,7 @@ public open class CfnReplicationGroup( * Kinesis Data Firehose destination. */ override fun destinationDetails(destinationDetails: IResolvable) { - cdkBuilder.destinationDetails(destinationDetails.let(IResolvable::unwrap)) + cdkBuilder.destinationDetails(destinationDetails.let(IResolvable.Companion::unwrap)) } /** @@ -3207,7 +3207,7 @@ public open class CfnReplicationGroup( * Kinesis Data Firehose destination. */ override fun destinationDetails(destinationDetails: DestinationDetailsProperty) { - cdkBuilder.destinationDetails(destinationDetails.let(DestinationDetailsProperty::unwrap)) + cdkBuilder.destinationDetails(destinationDetails.let(DestinationDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroupProps.kt index f90ab27bc5..8f46ac067d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnReplicationGroupProps.kt @@ -1330,7 +1330,7 @@ public interface CfnReplicationGroupProps { * Default: `false` */ override fun atRestEncryptionEnabled(atRestEncryptionEnabled: IResolvable) { - cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.atRestEncryptionEnabled(atRestEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1379,7 +1379,7 @@ public interface CfnReplicationGroupProps { * parameter is disabled for previous versions. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -1403,7 +1403,7 @@ public interface CfnReplicationGroupProps { * Default: false */ override fun automaticFailoverEnabled(automaticFailoverEnabled: IResolvable) { - cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable::unwrap)) + cdkBuilder.automaticFailoverEnabled(automaticFailoverEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1555,7 +1555,7 @@ public interface CfnReplicationGroupProps { * tiering](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/data-tiering.html) . */ override fun dataTieringEnabled(dataTieringEnabled: IResolvable) { - cdkBuilder.dataTieringEnabled(dataTieringEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTieringEnabled(dataTieringEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1611,7 +1611,7 @@ public interface CfnReplicationGroupProps { * @param logDeliveryConfigurations Specifies the destination, format and type of the logs. */ override fun logDeliveryConfigurations(logDeliveryConfigurations: IResolvable) { - cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.logDeliveryConfigurations(logDeliveryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1644,7 +1644,7 @@ public interface CfnReplicationGroupProps { * Multi-AZ](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html) . */ override fun multiAzEnabled(multiAzEnabled: IResolvable) { - cdkBuilder.multiAzEnabled(multiAzEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiAzEnabled(multiAzEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1670,7 +1670,7 @@ public interface CfnReplicationGroupProps { * . */ override fun nodeGroupConfiguration(nodeGroupConfiguration: IResolvable) { - cdkBuilder.nodeGroupConfiguration(nodeGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nodeGroupConfiguration(nodeGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1950,7 +1950,7 @@ public interface CfnReplicationGroupProps { * , Value= `mySecondKeyValue` . Tags on replication groups will be replicated to all nodes. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2008,7 +2008,7 @@ public interface CfnReplicationGroupProps { * , and a `CacheSubnetGroup` . */ override fun transitEncryptionEnabled(transitEncryptionEnabled: IResolvable) { - cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.transitEncryptionEnabled(transitEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroup.kt index be7632c4b0..a87b7b9e63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroup.kt @@ -54,8 +54,8 @@ public open class CfnSecurityGroup( id: String, props: CfnSecurityGroupProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnSecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnSecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityGroupProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnSecurityGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class CfnSecurityGroup( * A tag that can be added to an ElastiCache security group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnSecurityGroup( * @param tags A tag that can be added to an ElastiCache security group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupIngress.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupIngress.kt index c96e34031f..b152568d56 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupIngress.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupIngress.kt @@ -48,8 +48,8 @@ public open class CfnSecurityGroupIngress( id: String, props: CfnSecurityGroupIngressProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityGroupIngressProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityGroupIngressProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnSecurityGroupIngress( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupProps.kt index 8e9f62eb34..8b7edf77a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSecurityGroupProps.kt @@ -92,7 +92,7 @@ public interface CfnSecurityGroupProps { * security groups. A tag with a null Value is permitted. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCache.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCache.kt index ca2903e2c7..4f503650c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCache.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCache.kt @@ -82,8 +82,8 @@ public open class CfnServerlessCache( id: String, props: CfnServerlessCacheProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnServerlessCache(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServerlessCacheProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnServerlessCache(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServerlessCacheProps.Companion::unwrap)) ) public constructor( @@ -144,14 +144,14 @@ public open class CfnServerlessCache( * The cache usage limit for the serverless cache. */ public open fun cacheUsageLimits(`value`: IResolvable) { - unwrap(this).setCacheUsageLimits(`value`.let(IResolvable::unwrap)) + unwrap(this).setCacheUsageLimits(`value`.let(IResolvable.Companion::unwrap)) } /** * The cache usage limit for the serverless cache. */ public open fun cacheUsageLimits(`value`: CacheUsageLimitsProperty) { - unwrap(this).setCacheUsageLimits(`value`.let(CacheUsageLimitsProperty::unwrap)) + unwrap(this).setCacheUsageLimits(`value`.let(CacheUsageLimitsProperty.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public open class CfnServerlessCache( * Represents the information required for client programs to connect to a cache node. */ public open fun endpoint(`value`: IResolvable) { - unwrap(this).setEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * Represents the information required for client programs to connect to a cache node. */ public open fun endpoint(`value`: EndpointProperty) { - unwrap(this).setEndpoint(`value`.let(EndpointProperty::unwrap)) + unwrap(this).setEndpoint(`value`.let(EndpointProperty.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnServerlessCache( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public open class CfnServerlessCache( * Represents the information required for client programs to connect to a cache node. */ public open fun readerEndpoint(`value`: IResolvable) { - unwrap(this).setReaderEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setReaderEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * Represents the information required for client programs to connect to a cache node. */ public open fun readerEndpoint(`value`: EndpointProperty) { - unwrap(this).setReaderEndpoint(`value`.let(EndpointProperty::unwrap)) + unwrap(this).setReaderEndpoint(`value`.let(EndpointProperty.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnServerlessCache( * A list of tags to be added to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class CfnServerlessCache( * @param cacheUsageLimits The cache usage limit for the serverless cache. */ override fun cacheUsageLimits(cacheUsageLimits: IResolvable) { - cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(IResolvable::unwrap)) + cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnServerlessCache( * @param cacheUsageLimits The cache usage limit for the serverless cache. */ override fun cacheUsageLimits(cacheUsageLimits: CacheUsageLimitsProperty) { - cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(CacheUsageLimitsProperty::unwrap)) + cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(CacheUsageLimitsProperty.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public open class CfnServerlessCache( * node. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public open class CfnServerlessCache( * node. */ override fun endpoint(endpoint: EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(EndpointProperty.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnServerlessCache( * cache node. */ override fun readerEndpoint(readerEndpoint: IResolvable) { - cdkBuilder.readerEndpoint(readerEndpoint.let(IResolvable::unwrap)) + cdkBuilder.readerEndpoint(readerEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -848,7 +848,7 @@ public open class CfnServerlessCache( * cache node. */ override fun readerEndpoint(readerEndpoint: EndpointProperty) { - cdkBuilder.readerEndpoint(readerEndpoint.let(EndpointProperty::unwrap)) + cdkBuilder.readerEndpoint(readerEndpoint.let(EndpointProperty.Companion::unwrap)) } /** @@ -965,7 +965,7 @@ public open class CfnServerlessCache( * @param tags A list of tags to be added to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1106,14 +1106,14 @@ public open class CfnServerlessCache( * @param dataStorage The maximum data storage limit in the cache, expressed in Gigabytes. */ override fun dataStorage(dataStorage: IResolvable) { - cdkBuilder.dataStorage(dataStorage.let(IResolvable::unwrap)) + cdkBuilder.dataStorage(dataStorage.let(IResolvable.Companion::unwrap)) } /** * @param dataStorage The maximum data storage limit in the cache, expressed in Gigabytes. */ override fun dataStorage(dataStorage: DataStorageProperty) { - cdkBuilder.dataStorage(dataStorage.let(DataStorageProperty::unwrap)) + cdkBuilder.dataStorage(dataStorage.let(DataStorageProperty.Companion::unwrap)) } /** @@ -1129,7 +1129,7 @@ public open class CfnServerlessCache( * consume per second. */ override fun ecpuPerSecond(ecpuPerSecond: IResolvable) { - cdkBuilder.ecpuPerSecond(ecpuPerSecond.let(IResolvable::unwrap)) + cdkBuilder.ecpuPerSecond(ecpuPerSecond.let(IResolvable.Companion::unwrap)) } /** @@ -1137,7 +1137,7 @@ public open class CfnServerlessCache( * consume per second. */ override fun ecpuPerSecond(ecpuPerSecond: ECPUPerSecondProperty) { - cdkBuilder.ecpuPerSecond(ecpuPerSecond.let(ECPUPerSecondProperty::unwrap)) + cdkBuilder.ecpuPerSecond(ecpuPerSecond.let(ECPUPerSecondProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCacheProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCacheProps.kt index a1830cd79a..7190e2938d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCacheProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnServerlessCacheProps.kt @@ -379,14 +379,14 @@ public interface CfnServerlessCacheProps { * @param cacheUsageLimits The cache usage limit for the serverless cache. */ override fun cacheUsageLimits(cacheUsageLimits: IResolvable) { - cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(IResolvable::unwrap)) + cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(IResolvable.Companion::unwrap)) } /** * @param cacheUsageLimits The cache usage limit for the serverless cache. */ override fun cacheUsageLimits(cacheUsageLimits: CfnServerlessCache.CacheUsageLimitsProperty) { - cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(CfnServerlessCache.CacheUsageLimitsProperty::unwrap)) + cdkBuilder.cacheUsageLimits(cacheUsageLimits.let(CfnServerlessCache.CacheUsageLimitsProperty.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface CfnServerlessCacheProps { * This value is read-only. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public interface CfnServerlessCacheProps { * This value is read-only. */ override fun endpoint(endpoint: CfnServerlessCache.EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(CfnServerlessCache.EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(CfnServerlessCache.EndpointProperty.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface CfnServerlessCacheProps { * This value is read-only. */ override fun readerEndpoint(readerEndpoint: IResolvable) { - cdkBuilder.readerEndpoint(readerEndpoint.let(IResolvable::unwrap)) + cdkBuilder.readerEndpoint(readerEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public interface CfnServerlessCacheProps { * This value is read-only. */ override fun readerEndpoint(readerEndpoint: CfnServerlessCache.EndpointProperty) { - cdkBuilder.readerEndpoint(readerEndpoint.let(CfnServerlessCache.EndpointProperty::unwrap)) + cdkBuilder.readerEndpoint(readerEndpoint.let(CfnServerlessCache.EndpointProperty.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public interface CfnServerlessCacheProps { * @param tags A list of tags to be added to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroup.kt index 91f9b7255c..e4ebbf40b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroup.kt @@ -51,8 +51,8 @@ public open class CfnSubnetGroup( id: String, props: CfnSubnetGroupProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnSubnetGroup( * A tag that can be added to an ElastiCache subnet group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnSubnetGroup( * @param tags A tag that can be added to an ElastiCache subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroupProps.kt index 00f94643be..b002f92e39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnSubnetGroupProps.kt @@ -153,7 +153,7 @@ public interface CfnSubnetGroupProps { * subnet groups. A tag with a null Value is permitted. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUser.kt index 06979713fe..9c90797b41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUser.kt @@ -58,8 +58,8 @@ public open class CfnUser( id: String, props: CfnUserProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnUser( * Indicates a password is not required for this user. */ public open fun noPasswordRequired(`value`: IResolvable) { - unwrap(this).setNoPasswordRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setNoPasswordRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnUser( * An array of key-value pairs to apply to this user. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnUser( * @param noPasswordRequired Indicates a password is not required for this user. */ override fun noPasswordRequired(noPasswordRequired: IResolvable) { - cdkBuilder.noPasswordRequired(noPasswordRequired.let(IResolvable::unwrap)) + cdkBuilder.noPasswordRequired(noPasswordRequired.let(IResolvable.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnUser( * @param tags An array of key-value pairs to apply to this user. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroup.kt index 1bbf237a09..a6e62194b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroup.kt @@ -48,8 +48,8 @@ public open class CfnUserGroup( id: String, props: CfnUserGroupProps, ) : - this(software.amazon.awscdk.services.elasticache.CfnUserGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticache.CfnUserGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserGroupProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnUserGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public open class CfnUserGroup( * An array of key-value pairs to apply to this user. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnUserGroup( * @param tags An array of key-value pairs to apply to this user. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroupProps.kt index e82d7a50b8..3e07ad904c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserGroupProps.kt @@ -117,7 +117,7 @@ public interface CfnUserGroupProps { * @param tags An array of key-value pairs to apply to this user. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserProps.kt index 042430d568..4f07692b84 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticache/CfnUserProps.kt @@ -214,7 +214,7 @@ public interface CfnUserProps { * @param noPasswordRequired Indicates a password is not required for this user. */ override fun noPasswordRequired(noPasswordRequired: IResolvable) { - cdkBuilder.noPasswordRequired(noPasswordRequired.let(IResolvable::unwrap)) + cdkBuilder.noPasswordRequired(noPasswordRequired.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface CfnUserProps { * @param tags An array of key-value pairs to apply to this user. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplication.kt index 7dff13c67d..800d231e0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplication.kt @@ -58,7 +58,7 @@ public open class CfnApplication( cdkObject: software.amazon.awscdk.services.elasticbeanstalk.CfnApplication, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticbeanstalk.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticbeanstalk.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -67,8 +67,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.elasticbeanstalk.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.elasticbeanstalk.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnApplication( * accumulating too many versions. */ public open fun resourceLifecycleConfig(`value`: IResolvable) { - unwrap(this).setResourceLifecycleConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceLifecycleConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnApplication( * accumulating too many versions. */ public open fun resourceLifecycleConfig(`value`: ApplicationResourceLifecycleConfigProperty) { - unwrap(this).setResourceLifecycleConfig(`value`.let(ApplicationResourceLifecycleConfigProperty::unwrap)) + unwrap(this).setResourceLifecycleConfig(`value`.let(ApplicationResourceLifecycleConfigProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnApplication( * prevent your application from accumulating too many versions. */ override fun resourceLifecycleConfig(resourceLifecycleConfig: IResolvable) { - cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(IResolvable::unwrap)) + cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnApplication( */ override fun resourceLifecycleConfig(resourceLifecycleConfig: ApplicationResourceLifecycleConfigProperty) { - cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(ApplicationResourceLifecycleConfigProperty::unwrap)) + cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(ApplicationResourceLifecycleConfigProperty.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnApplication( * @param versionLifecycleConfig Defines lifecycle settings for application versions. */ override fun versionLifecycleConfig(versionLifecycleConfig: IResolvable) { - cdkBuilder.versionLifecycleConfig(versionLifecycleConfig.let(IResolvable::unwrap)) + cdkBuilder.versionLifecycleConfig(versionLifecycleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class CfnApplication( */ override fun versionLifecycleConfig(versionLifecycleConfig: ApplicationVersionLifecycleConfigProperty) { - cdkBuilder.versionLifecycleConfig(versionLifecycleConfig.let(ApplicationVersionLifecycleConfigProperty::unwrap)) + cdkBuilder.versionLifecycleConfig(versionLifecycleConfig.let(ApplicationVersionLifecycleConfigProperty.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnApplication( * versions are retained for an application. */ override fun maxAgeRule(maxAgeRule: IResolvable) { - cdkBuilder.maxAgeRule(maxAgeRule.let(IResolvable::unwrap)) + cdkBuilder.maxAgeRule(maxAgeRule.let(IResolvable.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class CfnApplication( * versions are retained for an application. */ override fun maxAgeRule(maxAgeRule: MaxAgeRuleProperty) { - cdkBuilder.maxAgeRule(maxAgeRule.let(MaxAgeRuleProperty::unwrap)) + cdkBuilder.maxAgeRule(maxAgeRule.let(MaxAgeRuleProperty.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class CfnApplication( * that are retained for an application. */ override fun maxCountRule(maxCountRule: IResolvable) { - cdkBuilder.maxCountRule(maxCountRule.let(IResolvable::unwrap)) + cdkBuilder.maxCountRule(maxCountRule.let(IResolvable.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public open class CfnApplication( * that are retained for an application. */ override fun maxCountRule(maxCountRule: MaxCountRuleProperty) { - cdkBuilder.maxCountRule(maxCountRule.let(MaxCountRuleProperty::unwrap)) + cdkBuilder.maxCountRule(maxCountRule.let(MaxCountRuleProperty.Companion::unwrap)) } /** @@ -800,7 +800,7 @@ public open class CfnApplication( * when Elastic Beanstalk deletes the application version. */ override fun deleteSourceFromS3(deleteSourceFromS3: IResolvable) { - cdkBuilder.deleteSourceFromS3(deleteSourceFromS3.let(IResolvable::unwrap)) + cdkBuilder.deleteSourceFromS3(deleteSourceFromS3.let(IResolvable.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnApplication( * @param enabled Specify `true` to apply the rule, or `false` to disable it. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -975,7 +975,7 @@ public open class CfnApplication( * when Elastic Beanstalk deletes the application version. */ override fun deleteSourceFromS3(deleteSourceFromS3: IResolvable) { - cdkBuilder.deleteSourceFromS3(deleteSourceFromS3.let(IResolvable::unwrap)) + cdkBuilder.deleteSourceFromS3(deleteSourceFromS3.let(IResolvable.Companion::unwrap)) } /** @@ -989,7 +989,7 @@ public open class CfnApplication( * @param enabled Specify `true` to apply the rule, or `false` to disable it. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationProps.kt index 022522f16a..59349d9684 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationProps.kt @@ -154,7 +154,7 @@ public interface CfnApplicationProps { * prevent your application from accumulating too many versions. */ override fun resourceLifecycleConfig(resourceLifecycleConfig: IResolvable) { - cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(IResolvable::unwrap)) + cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface CfnApplicationProps { */ override fun resourceLifecycleConfig(resourceLifecycleConfig: CfnApplication.ApplicationResourceLifecycleConfigProperty) { - cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(CfnApplication.ApplicationResourceLifecycleConfigProperty::unwrap)) + cdkBuilder.resourceLifecycleConfig(resourceLifecycleConfig.let(CfnApplication.ApplicationResourceLifecycleConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersion.kt index b32b0db258..dac59a4687 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersion.kt @@ -58,8 +58,8 @@ public open class CfnApplicationVersion( id: String, props: CfnApplicationVersionProps, ) : - this(software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationVersionProps::unwrap)) + this(software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationVersionProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnApplicationVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -116,14 +116,14 @@ public open class CfnApplicationVersion( * The Amazon S3 bucket and key that identify the location of the source bundle for this version. */ public open fun sourceBundle(`value`: IResolvable) { - unwrap(this).setSourceBundle(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceBundle(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon S3 bucket and key that identify the location of the source bundle for this version. */ public open fun sourceBundle(`value`: SourceBundleProperty) { - unwrap(this).setSourceBundle(`value`.let(SourceBundleProperty::unwrap)) + unwrap(this).setSourceBundle(`value`.let(SourceBundleProperty.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnApplicationVersion( * bundle for this version. */ override fun sourceBundle(sourceBundle: IResolvable) { - cdkBuilder.sourceBundle(sourceBundle.let(IResolvable::unwrap)) + cdkBuilder.sourceBundle(sourceBundle.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnApplicationVersion( * bundle for this version. */ override fun sourceBundle(sourceBundle: SourceBundleProperty) { - cdkBuilder.sourceBundle(sourceBundle.let(SourceBundleProperty::unwrap)) + cdkBuilder.sourceBundle(sourceBundle.let(SourceBundleProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersionProps.kt index d46bf22008..a8b0c19bfb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnApplicationVersionProps.kt @@ -130,7 +130,7 @@ public interface CfnApplicationVersionProps { * The Amazon S3 bucket must be in the same region as the environment. */ override fun sourceBundle(sourceBundle: IResolvable) { - cdkBuilder.sourceBundle(sourceBundle.let(IResolvable::unwrap)) + cdkBuilder.sourceBundle(sourceBundle.let(IResolvable.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface CfnApplicationVersionProps { * The Amazon S3 bucket must be in the same region as the environment. */ override fun sourceBundle(sourceBundle: CfnApplicationVersion.SourceBundleProperty) { - cdkBuilder.sourceBundle(sourceBundle.let(CfnApplicationVersion.SourceBundleProperty::unwrap)) + cdkBuilder.sourceBundle(sourceBundle.let(CfnApplicationVersion.SourceBundleProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplate.kt index eb941ed47d..6b52905e6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplate.kt @@ -74,8 +74,8 @@ public open class CfnConfigurationTemplate( id: String, props: CfnConfigurationTemplateProps, ) : - this(software.amazon.awscdk.services.elasticbeanstalk.CfnConfigurationTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationTemplateProps::unwrap)) + this(software.amazon.awscdk.services.elasticbeanstalk.CfnConfigurationTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationTemplateProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnConfigurationTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnConfigurationTemplate( * Option values for the Elastic Beanstalk configuration, such as the instance type. */ public open fun optionSettings(`value`: IResolvable) { - unwrap(this).setOptionSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptionSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,14 +196,14 @@ public open class CfnConfigurationTemplate( * An Elastic Beanstalk configuration template to base this one on. */ public open fun sourceConfiguration(`value`: IResolvable) { - unwrap(this).setSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * An Elastic Beanstalk configuration template to base this one on. */ public open fun sourceConfiguration(`value`: SourceConfigurationProperty) { - unwrap(this).setSourceConfiguration(`value`.let(SourceConfigurationProperty::unwrap)) + unwrap(this).setSourceConfiguration(`value`.let(SourceConfigurationProperty.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnConfigurationTemplate( * instance type. */ override fun optionSettings(optionSettings: IResolvable) { - cdkBuilder.optionSettings(optionSettings.let(IResolvable::unwrap)) + cdkBuilder.optionSettings(optionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public open class CfnConfigurationTemplate( * @param sourceConfiguration An Elastic Beanstalk configuration template to base this one on. */ override fun sourceConfiguration(sourceConfiguration: IResolvable) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnConfigurationTemplate( * @param sourceConfiguration An Elastic Beanstalk configuration template to base this one on. */ override fun sourceConfiguration(sourceConfiguration: SourceConfigurationProperty) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(SourceConfigurationProperty::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(SourceConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplateProps.kt index ea6d0457a7..808658708f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnConfigurationTemplateProps.kt @@ -314,7 +314,7 @@ public interface CfnConfigurationTemplateProps { * the *AWS Elastic Beanstalk Developer Guide* . */ override fun optionSettings(optionSettings: IResolvable) { - cdkBuilder.optionSettings(optionSettings.let(IResolvable::unwrap)) + cdkBuilder.optionSettings(optionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public interface CfnConfigurationTemplateProps { * stack of the source configuration template must match the specified solution stack name. */ override fun sourceConfiguration(sourceConfiguration: IResolvable) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnConfigurationTemplateProps { */ override fun sourceConfiguration(sourceConfiguration: CfnConfigurationTemplate.SourceConfigurationProperty) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(CfnConfigurationTemplate.SourceConfigurationProperty::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(CfnConfigurationTemplate.SourceConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironment.kt index 53d471665d..8eb3e05fc8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironment.kt @@ -73,8 +73,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.elasticbeanstalk.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.elasticbeanstalk.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -152,7 +152,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnEnvironment( * Key-value pairs defining configuration options for this environment, such as the instance type. */ public open fun optionSettings(`value`: IResolvable) { - unwrap(this).setOptionSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptionSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnEnvironment( * Specifies the tags applied to resources in the environment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -261,14 +261,14 @@ public open class CfnEnvironment( * Specifies the tier to use in creating this environment. */ public open fun tier(`value`: IResolvable) { - unwrap(this).setTier(`value`.let(IResolvable::unwrap)) + unwrap(this).setTier(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the tier to use in creating this environment. */ public open fun tier(`value`: TierProperty) { - unwrap(this).setTier(`value`.let(TierProperty::unwrap)) + unwrap(this).setTier(`value`.let(TierProperty.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnEnvironment( * such as the instance type. */ override fun optionSettings(optionSettings: IResolvable) { - cdkBuilder.optionSettings(optionSettings.let(IResolvable::unwrap)) + cdkBuilder.optionSettings(optionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public open class CfnEnvironment( * @param tags Specifies the tags applied to resources in the environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public open class CfnEnvironment( * @param tier Specifies the tier to use in creating this environment. */ override fun tier(tier: IResolvable) { - cdkBuilder.tier(tier.let(IResolvable::unwrap)) + cdkBuilder.tier(tier.let(IResolvable.Companion::unwrap)) } /** @@ -765,7 +765,7 @@ public open class CfnEnvironment( * @param tier Specifies the tier to use in creating this environment. */ override fun tier(tier: TierProperty) { - cdkBuilder.tier(tier.let(TierProperty::unwrap)) + cdkBuilder.tier(tier.let(TierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironmentProps.kt index d214c51ef2..f9571191ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticbeanstalk/CfnEnvironmentProps.kt @@ -435,7 +435,7 @@ public interface CfnEnvironmentProps { * values. */ override fun optionSettings(optionSettings: IResolvable) { - cdkBuilder.optionSettings(optionSettings.let(IResolvable::unwrap)) + cdkBuilder.optionSettings(optionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface CfnEnvironmentProps { * @param tags Specifies the tags applied to resources in the environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnEnvironmentProps { * handles background-processing tasks. */ override fun tier(tier: IResolvable) { - cdkBuilder.tier(tier.let(IResolvable::unwrap)) + cdkBuilder.tier(tier.let(IResolvable.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public interface CfnEnvironmentProps { * handles background-processing tasks. */ override fun tier(tier: CfnEnvironment.TierProperty) { - cdkBuilder.tier(tier.let(CfnEnvironment.TierProperty::unwrap)) + cdkBuilder.tier(tier.let(CfnEnvironment.TierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancer.kt index 7546c2904f..62aa1f7304 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancer.kt @@ -110,8 +110,8 @@ public open class CfnLoadBalancer( id: String, props: CfnLoadBalancerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoadBalancerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoadBalancerProps.Companion::unwrap)) ) public constructor( @@ -130,14 +130,14 @@ public open class CfnLoadBalancer( * Information about where and how access logs are stored for the load balancer. */ public open fun accessLoggingPolicy(`value`: IResolvable) { - unwrap(this).setAccessLoggingPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessLoggingPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about where and how access logs are stored for the load balancer. */ public open fun accessLoggingPolicy(`value`: AccessLoggingPolicyProperty) { - unwrap(this).setAccessLoggingPolicy(`value`.let(AccessLoggingPolicyProperty::unwrap)) + unwrap(this).setAccessLoggingPolicy(`value`.let(AccessLoggingPolicyProperty.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnLoadBalancer( * Information about a policy for application-controlled session stickiness. */ public open fun appCookieStickinessPolicy(`value`: IResolvable) { - unwrap(this).setAppCookieStickinessPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAppCookieStickinessPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnLoadBalancer( * shifts traffic away from a deregistered or unhealthy instance. */ public open fun connectionDrainingPolicy(`value`: IResolvable) { - unwrap(this).setConnectionDrainingPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectionDrainingPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnLoadBalancer( * shifts traffic away from a deregistered or unhealthy instance. */ public open fun connectionDrainingPolicy(`value`: ConnectionDrainingPolicyProperty) { - unwrap(this).setConnectionDrainingPolicy(`value`.let(ConnectionDrainingPolicyProperty::unwrap)) + unwrap(this).setConnectionDrainingPolicy(`value`.let(ConnectionDrainingPolicyProperty.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnLoadBalancer( * connection) for the specified duration. */ public open fun connectionSettings(`value`: IResolvable) { - unwrap(this).setConnectionSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectionSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnLoadBalancer( * connection) for the specified duration. */ public open fun connectionSettings(`value`: ConnectionSettingsProperty) { - unwrap(this).setConnectionSettings(`value`.let(ConnectionSettingsProperty::unwrap)) + unwrap(this).setConnectionSettings(`value`.let(ConnectionSettingsProperty.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnLoadBalancer( * of the Availability Zones. */ public open fun crossZone(`value`: IResolvable) { - unwrap(this).setCrossZone(`value`.let(IResolvable::unwrap)) + unwrap(this).setCrossZone(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -323,14 +323,14 @@ public open class CfnLoadBalancer( * The health check settings to use when evaluating the health of your EC2 instances. */ public open fun healthCheck(`value`: IResolvable) { - unwrap(this).setHealthCheck(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheck(`value`.let(IResolvable.Companion::unwrap)) } /** * The health check settings to use when evaluating the health of your EC2 instances. */ public open fun healthCheck(`value`: HealthCheckProperty) { - unwrap(this).setHealthCheck(`value`.let(HealthCheckProperty::unwrap)) + unwrap(this).setHealthCheck(`value`.let(HealthCheckProperty.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnLoadBalancer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CfnLoadBalancer( * Information about a policy for duration-based session stickiness. */ public open fun lbCookieStickinessPolicy(`value`: IResolvable) { - unwrap(this).setLbCookieStickinessPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setLbCookieStickinessPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnLoadBalancer( * You can specify at most one listener per port. */ public open fun listeners(`value`: IResolvable) { - unwrap(this).setListeners(`value`.let(IResolvable::unwrap)) + unwrap(this).setListeners(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnLoadBalancer( * The policies defined for your Classic Load Balancer. */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class CfnLoadBalancer( * The tags associated with a load balancer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1017,7 +1017,7 @@ public open class CfnLoadBalancer( * load balancer. */ override fun accessLoggingPolicy(accessLoggingPolicy: IResolvable) { - cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(IResolvable::unwrap)) + cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1028,7 +1028,7 @@ public open class CfnLoadBalancer( * load balancer. */ override fun accessLoggingPolicy(accessLoggingPolicy: AccessLoggingPolicyProperty) { - cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(AccessLoggingPolicyProperty::unwrap)) + cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(AccessLoggingPolicyProperty.Companion::unwrap)) } /** @@ -1052,7 +1052,7 @@ public open class CfnLoadBalancer( * session stickiness. */ override fun appCookieStickinessPolicy(appCookieStickinessPolicy: IResolvable) { - cdkBuilder.appCookieStickinessPolicy(appCookieStickinessPolicy.let(IResolvable::unwrap)) + cdkBuilder.appCookieStickinessPolicy(appCookieStickinessPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1119,7 +1119,7 @@ public open class CfnLoadBalancer( * */ override fun connectionDrainingPolicy(connectionDrainingPolicy: IResolvable) { - cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(IResolvable::unwrap)) + cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1137,7 +1137,7 @@ public open class CfnLoadBalancer( */ override fun connectionDrainingPolicy(connectionDrainingPolicy: ConnectionDrainingPolicyProperty) { - cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(ConnectionDrainingPolicyProperty::unwrap)) + cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(ConnectionDrainingPolicyProperty.Companion::unwrap)) } /** @@ -1174,7 +1174,7 @@ public open class CfnLoadBalancer( * (no data is sent over the connection) for the specified duration. */ override fun connectionSettings(connectionSettings: IResolvable) { - cdkBuilder.connectionSettings(connectionSettings.let(IResolvable::unwrap)) + cdkBuilder.connectionSettings(connectionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1192,7 +1192,7 @@ public open class CfnLoadBalancer( * (no data is sent over the connection) for the specified duration. */ override fun connectionSettings(connectionSettings: ConnectionSettingsProperty) { - cdkBuilder.connectionSettings(connectionSettings.let(ConnectionSettingsProperty::unwrap)) + cdkBuilder.connectionSettings(connectionSettings.let(ConnectionSettingsProperty.Companion::unwrap)) } /** @@ -1244,7 +1244,7 @@ public open class CfnLoadBalancer( * instances regardless of the Availability Zones. */ override fun crossZone(crossZone: IResolvable) { - cdkBuilder.crossZone(crossZone.let(IResolvable::unwrap)) + cdkBuilder.crossZone(crossZone.let(IResolvable.Companion::unwrap)) } /** @@ -1258,7 +1258,7 @@ public open class CfnLoadBalancer( * instances. */ override fun healthCheck(healthCheck: IResolvable) { - cdkBuilder.healthCheck(healthCheck.let(IResolvable::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1272,7 +1272,7 @@ public open class CfnLoadBalancer( * instances. */ override fun healthCheck(healthCheck: HealthCheckProperty) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckProperty::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckProperty.Companion::unwrap)) } /** @@ -1316,7 +1316,7 @@ public open class CfnLoadBalancer( * stickiness. */ override fun lbCookieStickinessPolicy(lbCookieStickinessPolicy: IResolvable) { - cdkBuilder.lbCookieStickinessPolicy(lbCookieStickinessPolicy.let(IResolvable::unwrap)) + cdkBuilder.lbCookieStickinessPolicy(lbCookieStickinessPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1352,7 +1352,7 @@ public open class CfnLoadBalancer( * per port. */ override fun listeners(listeners: IResolvable) { - cdkBuilder.listeners(listeners.let(IResolvable::unwrap)) + cdkBuilder.listeners(listeners.let(IResolvable.Companion::unwrap)) } /** @@ -1410,7 +1410,7 @@ public open class CfnLoadBalancer( * @param policies The policies defined for your Classic Load Balancer. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -1513,7 +1513,7 @@ public open class CfnLoadBalancer( * @param tags The tags associated with a load balancer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1666,7 +1666,7 @@ public open class CfnLoadBalancer( * @param enabled Specifies whether access logs are enabled for the load balancer. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1942,7 +1942,7 @@ public open class CfnLoadBalancer( * @param enabled Specifies whether connection draining is enabled for the load balancer. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2905,7 +2905,7 @@ public open class CfnLoadBalancer( * @param attributes The policy attributes. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancerProps.kt index ccfc6bd8d8..3888b74a96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/CfnLoadBalancerProps.kt @@ -576,7 +576,7 @@ public interface CfnLoadBalancerProps { * load balancer. */ override fun accessLoggingPolicy(accessLoggingPolicy: IResolvable) { - cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(IResolvable::unwrap)) + cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public interface CfnLoadBalancerProps { */ override fun accessLoggingPolicy(accessLoggingPolicy: CfnLoadBalancer.AccessLoggingPolicyProperty) { - cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(CfnLoadBalancer.AccessLoggingPolicyProperty::unwrap)) + cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(CfnLoadBalancer.AccessLoggingPolicyProperty.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public interface CfnLoadBalancerProps { * session stickiness. */ override fun appCookieStickinessPolicy(appCookieStickinessPolicy: IResolvable) { - cdkBuilder.appCookieStickinessPolicy(appCookieStickinessPolicy.let(IResolvable::unwrap)) + cdkBuilder.appCookieStickinessPolicy(appCookieStickinessPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public interface CfnLoadBalancerProps { * in the *User Guide for Classic Load Balancers* . */ override fun connectionDrainingPolicy(connectionDrainingPolicy: IResolvable) { - cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(IResolvable::unwrap)) + cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public interface CfnLoadBalancerProps { */ override fun connectionDrainingPolicy(connectionDrainingPolicy: CfnLoadBalancer.ConnectionDrainingPolicyProperty) { - cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(CfnLoadBalancer.ConnectionDrainingPolicyProperty::unwrap)) + cdkBuilder.connectionDrainingPolicy(connectionDrainingPolicy.let(CfnLoadBalancer.ConnectionDrainingPolicyProperty.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public interface CfnLoadBalancerProps { * in the *User Guide for Classic Load Balancers* . */ override fun connectionSettings(connectionSettings: IResolvable) { - cdkBuilder.connectionSettings(connectionSettings.let(IResolvable::unwrap)) + cdkBuilder.connectionSettings(connectionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public interface CfnLoadBalancerProps { */ override fun connectionSettings(connectionSettings: CfnLoadBalancer.ConnectionSettingsProperty) { - cdkBuilder.connectionSettings(connectionSettings.let(CfnLoadBalancer.ConnectionSettingsProperty::unwrap)) + cdkBuilder.connectionSettings(connectionSettings.let(CfnLoadBalancer.ConnectionSettingsProperty.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public interface CfnLoadBalancerProps { * in the *User Guide for Classic Load Balancers* . */ override fun crossZone(crossZone: IResolvable) { - cdkBuilder.crossZone(crossZone.let(IResolvable::unwrap)) + cdkBuilder.crossZone(crossZone.let(IResolvable.Companion::unwrap)) } /** @@ -750,7 +750,7 @@ public interface CfnLoadBalancerProps { * are removing the health check settings. Otherwise, update requires no interruption. */ override fun healthCheck(healthCheck: IResolvable) { - cdkBuilder.healthCheck(healthCheck.let(IResolvable::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public interface CfnLoadBalancerProps { * are removing the health check settings. Otherwise, update requires no interruption. */ override fun healthCheck(healthCheck: CfnLoadBalancer.HealthCheckProperty) { - cdkBuilder.healthCheck(healthCheck.let(CfnLoadBalancer.HealthCheckProperty::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(CfnLoadBalancer.HealthCheckProperty.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public interface CfnLoadBalancerProps { * stickiness. */ override fun lbCookieStickinessPolicy(lbCookieStickinessPolicy: IResolvable) { - cdkBuilder.lbCookieStickinessPolicy(lbCookieStickinessPolicy.let(IResolvable::unwrap)) + cdkBuilder.lbCookieStickinessPolicy(lbCookieStickinessPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public interface CfnLoadBalancerProps { * clients cannot connect to the load balancer. */ override fun listeners(listeners: IResolvable) { - cdkBuilder.listeners(listeners.let(IResolvable::unwrap)) + cdkBuilder.listeners(listeners.let(IResolvable.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public interface CfnLoadBalancerProps { * Specify only back-end server policies. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface CfnLoadBalancerProps { * @param tags The tags associated with a load balancer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/HealthCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/HealthCheck.kt index d3af607d62..5ae022d6bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/HealthCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/HealthCheck.kt @@ -145,7 +145,7 @@ public interface HealthCheck { * @param interval Number of seconds between health checks. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public interface HealthCheck { * The protocol is automatically determined from the port if it's not supplied. */ override fun protocol(protocol: LoadBalancingProtocol) { - cdkBuilder.protocol(protocol.let(LoadBalancingProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(LoadBalancingProtocol.Companion::unwrap)) } /** * @param timeout Health check timeout. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ILoadBalancerTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ILoadBalancerTarget.kt index e453973389..5bfba00ebf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ILoadBalancerTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ILoadBalancerTarget.kt @@ -29,7 +29,7 @@ public interface ILoadBalancerTarget : IConnectable { * target to. */ override fun attachToClassicLB(loadBalancer: LoadBalancer) { - unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer::unwrap)) + unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/InstanceTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/InstanceTarget.kt index f58b55431a..92afeb5a59 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/InstanceTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/InstanceTarget.kt @@ -30,7 +30,7 @@ public open class InstanceTarget( cdkObject: software.amazon.awscdk.services.elasticloadbalancing.InstanceTarget, ) : CdkObject(cdkObject), ILoadBalancerTarget { public constructor(instance: Instance) : - this(software.amazon.awscdk.services.elasticloadbalancing.InstanceTarget(instance.let(Instance::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancing.InstanceTarget(instance.let(Instance.Companion::unwrap)) ) /** @@ -39,7 +39,7 @@ public open class InstanceTarget( * @param loadBalancer */ public override fun attachToClassicLB(loadBalancer: LoadBalancer) { - unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer::unwrap)) + unwrap(this).attachToClassicLB(loadBalancer.let(LoadBalancer.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ListenerPort.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ListenerPort.kt index 53f1c0f363..27e6617fae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ListenerPort.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/ListenerPort.kt @@ -38,8 +38,8 @@ public open class ListenerPort( cdkObject: software.amazon.awscdk.services.elasticloadbalancing.ListenerPort, ) : CdkObject(cdkObject), IConnectable { public constructor(securityGroup: ISecurityGroup, defaultPort: Port) : - this(software.amazon.awscdk.services.elasticloadbalancing.ListenerPort(securityGroup.let(ISecurityGroup::unwrap), - defaultPort.let(Port::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancing.ListenerPort(securityGroup.let(ISecurityGroup.Companion::unwrap), + defaultPort.let(Port.Companion::unwrap)) ) public constructor(securityGroup: ISecurityGroup, defaultPort: Port.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancer.kt index 2675d03cfd..65e3a24b99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancer.kt @@ -45,8 +45,8 @@ public open class LoadBalancer( id: String, props: LoadBalancerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancing.LoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LoadBalancerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancing.LoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LoadBalancerProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class LoadBalancer( * @param listener */ public open fun addListener(listener: LoadBalancerListener): ListenerPort = - unwrap(this).addListener(listener.let(LoadBalancerListener::unwrap)).let(ListenerPort::wrap) + unwrap(this).addListener(listener.let(LoadBalancerListener.Companion::unwrap)).let(ListenerPort::wrap) /** * Add a backend to the load balancer. @@ -80,7 +80,7 @@ public open class LoadBalancer( * @param target */ public open fun addTarget(target: ILoadBalancerTarget) { - unwrap(this).addTarget(target.let(ILoadBalancerTarget::unwrap)) + unwrap(this).addTarget(target.let(ILoadBalancerTarget.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class LoadBalancer( */ override fun accessLoggingPolicy(accessLoggingPolicy: CfnLoadBalancer.AccessLoggingPolicyProperty) { - cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(CfnLoadBalancer.AccessLoggingPolicyProperty::unwrap)) + cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(CfnLoadBalancer.AccessLoggingPolicyProperty.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class LoadBalancer( * @param healthCheck Health check settings for the load balancing targets. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class LoadBalancer( * @param listeners What listeners to set up for the load balancer. */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(LoadBalancerListener::unwrap)) + cdkBuilder.listeners(listeners.map(LoadBalancerListener.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class LoadBalancer( * @param subnetSelection Which subnets to deploy the load balancer. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class LoadBalancer( * @param targets What targets to load balance to. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(ILoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(ILoadBalancerTarget.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class LoadBalancer( * @param vpc VPC network of the fleet instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancing.LoadBalancer = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerListener.kt index 9f73cec201..7d334999a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerListener.kt @@ -178,7 +178,7 @@ public interface LoadBalancerListener { * (IP ranges or security groups). */ override fun allowConnectionsFrom(allowConnectionsFrom: List) { - cdkBuilder.allowConnectionsFrom(allowConnectionsFrom.map(IConnectable::unwrap)) + cdkBuilder.allowConnectionsFrom(allowConnectionsFrom.map(IConnectable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface LoadBalancerListener { * May be omitted if the external port is either 80 or 443. */ override fun externalProtocol(externalProtocol: LoadBalancingProtocol) { - cdkBuilder.externalProtocol(externalProtocol.let(LoadBalancingProtocol::unwrap)) + cdkBuilder.externalProtocol(externalProtocol.let(LoadBalancingProtocol.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface LoadBalancerListener { * front-end protocol is 'https'. */ override fun internalProtocol(internalProtocol: LoadBalancingProtocol) { - cdkBuilder.internalProtocol(internalProtocol.let(LoadBalancingProtocol::unwrap)) + cdkBuilder.internalProtocol(internalProtocol.let(LoadBalancingProtocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerProps.kt index 0aefec5665..3e55ee0a71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancing/LoadBalancerProps.kt @@ -215,7 +215,7 @@ public interface LoadBalancerProps { */ override fun accessLoggingPolicy(accessLoggingPolicy: CfnLoadBalancer.AccessLoggingPolicyProperty) { - cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(CfnLoadBalancer.AccessLoggingPolicyProperty::unwrap)) + cdkBuilder.accessLoggingPolicy(accessLoggingPolicy.let(CfnLoadBalancer.AccessLoggingPolicyProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface LoadBalancerProps { * Not required but recommended. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface LoadBalancerProps { * Can also be added by .addListener() */ override fun listeners(listeners: List) { - cdkBuilder.listeners(listeners.map(LoadBalancerListener::unwrap)) + cdkBuilder.listeners(listeners.map(LoadBalancerListener.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface LoadBalancerProps { * Useful multiple public or private subnets are covering the same availability zone. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface LoadBalancerProps { * Can also be added by .addTarget() */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(ILoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(ILoadBalancerTarget.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface LoadBalancerProps { * @param vpc VPC network of the fleet instances. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancing.LoadBalancerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationActionProps.kt index 7b036cfe96..a5c1f267d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationActionProps.kt @@ -104,14 +104,14 @@ public interface AddApplicationActionProps : AddRuleProps { * @param action Action to perform. */ override fun action(action: ListenerAction) { - cdkBuilder.action(action.let(ListenerAction::unwrap)) + cdkBuilder.action(action.let(ListenerAction.Companion::unwrap)) } /** * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetGroupsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetGroupsProps.kt index 8a8d164b40..d3369d82ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetGroupsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetGroupsProps.kt @@ -81,7 +81,7 @@ public interface AddApplicationTargetGroupsProps : AddRuleProps { * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public interface AddApplicationTargetGroupsProps : AddRuleProps { * @param targetGroups Target groups to forward requests to. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetsProps.kt index 3f2a70d183..dd083cc768 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddApplicationTargetsProps.kt @@ -281,7 +281,7 @@ public interface AddApplicationTargetsProps : AddRuleProps { * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** @@ -296,14 +296,14 @@ public interface AddApplicationTargetsProps : AddRuleProps { * The range is 0-3600 seconds. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface AddApplicationTargetsProps : AddRuleProps { */ override fun loadBalancingAlgorithmType(loadBalancingAlgorithmType: TargetGroupLoadBalancingAlgorithmType) { - cdkBuilder.loadBalancingAlgorithmType(loadBalancingAlgorithmType.let(TargetGroupLoadBalancingAlgorithmType::unwrap)) + cdkBuilder.loadBalancingAlgorithmType(loadBalancingAlgorithmType.let(TargetGroupLoadBalancingAlgorithmType.Companion::unwrap)) } /** @@ -346,14 +346,14 @@ public interface AddApplicationTargetsProps : AddRuleProps { * @param protocol The protocol to use. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public interface AddApplicationTargetsProps : AddRuleProps { * The range is 30-900 seconds (15 minutes). */ override fun slowStart(slowStart: Duration) { - cdkBuilder.slowStart(slowStart.let(Duration::unwrap)) + cdkBuilder.slowStart(slowStart.let(Duration.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface AddApplicationTargetsProps : AddRuleProps { * 1 second and the maximum value is 7 days (604800 seconds). */ override fun stickinessCookieDuration(stickinessCookieDuration: Duration) { - cdkBuilder.stickinessCookieDuration(stickinessCookieDuration.let(Duration::unwrap)) + cdkBuilder.stickinessCookieDuration(stickinessCookieDuration.let(Duration.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface AddApplicationTargetsProps : AddRuleProps { * target. All target must be of the same type. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(IApplicationLoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(IApplicationLoadBalancerTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkActionProps.kt index 4eb8a86bb0..b1ccd9cc24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkActionProps.kt @@ -48,7 +48,7 @@ public interface AddNetworkActionProps { * @param action Action to perform. */ override fun action(action: NetworkListenerAction) { - cdkBuilder.action(action.let(NetworkListenerAction::unwrap)) + cdkBuilder.action(action.let(NetworkListenerAction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.AddNetworkActionProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkTargetsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkTargetsProps.kt index 130d6b878e..f78a32b6e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkTargetsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddNetworkTargetsProps.kt @@ -193,14 +193,14 @@ public interface AddNetworkTargetsProps { * The range is 0-3600 seconds. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface AddNetworkTargetsProps { * @param protocol Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface AddNetworkTargetsProps { * target must be of the same type. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(INetworkLoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(INetworkLoadBalancerTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddRuleProps.kt index 7cc019e47e..100eeda5d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AddRuleProps.kt @@ -84,7 +84,7 @@ public interface AddRuleProps { * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListener.kt index a69895be92..807d39df5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListener.kt @@ -55,8 +55,8 @@ public open class ApplicationListener( id: String, props: ApplicationListenerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationListenerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationListenerProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class ApplicationListener( * @param props */ public override fun addAction(id: String, props: AddApplicationActionProps) { - unwrap(this).addAction(id, props.let(AddApplicationActionProps::unwrap)) + unwrap(this).addAction(id, props.let(AddApplicationActionProps.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class ApplicationListener( * @param certificates */ public override fun addCertificates(id: String, certificates: List) { - unwrap(this).addCertificates(id, certificates.map(IListenerCertificate::unwrap)) + unwrap(this).addCertificates(id, certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class ApplicationListener( * @param props */ public override fun addTargetGroups(id: String, props: AddApplicationTargetGroupsProps) { - unwrap(this).addTargetGroups(id, props.let(AddApplicationTargetGroupsProps::unwrap)) + unwrap(this).addTargetGroups(id, props.let(AddApplicationTargetGroupsProps.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class ApplicationListener( */ public override fun addTargets(id: String, props: AddApplicationTargetsProps): ApplicationTargetGroup = unwrap(this).addTargets(id, - props.let(AddApplicationTargetsProps::unwrap)).let(ApplicationTargetGroup::wrap) + props.let(AddApplicationTargetsProps.Companion::unwrap)).let(ApplicationTargetGroup::wrap) /** * Load balance incoming requests to the given load balancing targets. @@ -215,8 +215,8 @@ public open class ApplicationListener( * @param portRange */ public override fun registerConnectable(connectable: IConnectable, portRange: Port) { - unwrap(this).registerConnectable(connectable.let(IConnectable::unwrap), - portRange.let(Port::unwrap)) + unwrap(this).registerConnectable(connectable.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class ApplicationListener( * @param certificates Certificate list of ACM cert ARNs. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class ApplicationListener( * @param defaultAction Default action to take for requests to this listener. */ override fun defaultAction(defaultAction: ListenerAction) { - cdkBuilder.defaultAction(defaultAction.let(ListenerAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(ListenerAction.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class ApplicationListener( * @param defaultTargetGroups Default target groups to load balance to. */ override fun defaultTargetGroups(defaultTargetGroups: List) { - cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class ApplicationListener( * @param loadBalancer The load balancer to attach this listener to. */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class ApplicationListener( * @param protocol The protocol to use. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class ApplicationListener( * @param sslPolicy The security policy that defines which ciphers and protocols are supported. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener = @@ -514,8 +514,9 @@ public open class ApplicationListener( id: String, attrs: ApplicationListenerAttributes, ): IApplicationListener = - software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener.fromApplicationListenerAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ApplicationListenerAttributes::unwrap)).let(IApplicationListener::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener.fromApplicationListenerAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(ApplicationListenerAttributes.Companion::unwrap)).let(IApplicationListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b897b7fb5b672293f218aba1adecf0ac2282eeedea9ba928e37c9ecba0fae0d4") @@ -531,8 +532,9 @@ public open class ApplicationListener( id: String, options: ApplicationListenerLookupOptions, ): IApplicationListener = - software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, options.let(ApplicationListenerLookupOptions::unwrap)).let(IApplicationListener::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListener.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + options.let(ApplicationListenerLookupOptions.Companion::unwrap)).let(IApplicationListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c7a271d69b9802565632e8864c501b85c1d1c9a7287bb40117a2242310e7184e") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerAttributes.kt index acd54f8a27..23342d294c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerAttributes.kt @@ -91,7 +91,7 @@ public interface ApplicationListenerAttributes { * @param securityGroup Security group of the load balancer this listener is associated with. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificate.kt index 188fb743b1..595ca6dc4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificate.kt @@ -36,8 +36,8 @@ public open class ApplicationListenerCertificate( id: String, props: ApplicationListenerCertificateProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationListenerCertificateProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationListenerCertificateProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class ApplicationListenerCertificate( * @param certificates Certificates to attach. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public open class ApplicationListenerCertificate( * @param listener The listener to attach the rule to. */ override fun listener(listener: IApplicationListener) { - cdkBuilder.listener(listener.let(IApplicationListener::unwrap)) + cdkBuilder.listener(listener.let(IApplicationListener.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificateProps.kt index 28e0a84afd..181f12110c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerCertificateProps.kt @@ -77,7 +77,7 @@ public interface ApplicationListenerCertificateProps { * Duplicates are not allowed. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -91,7 +91,7 @@ public interface ApplicationListenerCertificateProps { * @param listener The listener to attach the rule to. */ override fun listener(listener: IApplicationListener) { - cdkBuilder.listener(listener.let(IApplicationListener::unwrap)) + cdkBuilder.listener(listener.let(IApplicationListener.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerLookupOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerLookupOptions.kt index 2322fbca2e..9fb8adf19b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerLookupOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerLookupOptions.kt @@ -95,7 +95,7 @@ public interface ApplicationListenerLookupOptions : BaseListenerLookupOptions { * @param listenerProtocol Filter listeners by listener protocol. */ override fun listenerProtocol(listenerProtocol: ApplicationProtocol) { - cdkBuilder.listenerProtocol(listenerProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.listenerProtocol(listenerProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerProps.kt index f16232acac..a45d00fec6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerProps.kt @@ -133,7 +133,7 @@ public interface ApplicationListenerProps : BaseApplicationListenerProps { * You must provide exactly one certificate if the listener protocol is HTTPS or TLS. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface ApplicationListenerProps : BaseApplicationListenerProps { * Cannot be specified together with `defaultTargetGroups`. */ override fun defaultAction(defaultAction: ListenerAction) { - cdkBuilder.defaultAction(defaultAction.let(ListenerAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(ListenerAction.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface ApplicationListenerProps : BaseApplicationListenerProps { * Cannot be specified together with `defaultAction`. */ override fun defaultTargetGroups(defaultTargetGroups: List) { - cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface ApplicationListenerProps : BaseApplicationListenerProps { * @param loadBalancer The load balancer to attach this listener to. */ override fun loadBalancer(loadBalancer: IApplicationLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(IApplicationLoadBalancer.Companion::unwrap)) } /** @@ -211,14 +211,14 @@ public interface ApplicationListenerProps : BaseApplicationListenerProps { * @param protocol The protocol to use. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param sslPolicy The security policy that defines which ciphers and protocols are supported. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRule.kt index 1422feead1..254fb84cfb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRule.kt @@ -42,8 +42,8 @@ public open class ApplicationListenerRule( id: String, props: ApplicationListenerRuleProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationListenerRuleProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationListenerRuleProps.Companion::unwrap)) ) public constructor( @@ -59,7 +59,7 @@ public open class ApplicationListenerRule( * @param condition */ public open fun addCondition(condition: ListenerCondition) { - unwrap(this).addCondition(condition.let(ListenerCondition::unwrap)) + unwrap(this).addCondition(condition.let(ListenerCondition.Companion::unwrap)) } /** @@ -68,7 +68,7 @@ public open class ApplicationListenerRule( * @param action */ public open fun configureAction(action: ListenerAction) { - unwrap(this).configureAction(action.let(ListenerAction::unwrap)) + unwrap(this).configureAction(action.let(ListenerAction.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class ApplicationListenerRule( * @param action Action to perform when requests are received. */ override fun action(action: ListenerAction) { - cdkBuilder.action(action.let(ListenerAction::unwrap)) + cdkBuilder.action(action.let(ListenerAction.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class ApplicationListenerRule( * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class ApplicationListenerRule( * @param listener The listener to attach the rule to. */ override fun listener(listener: IApplicationListener) { - cdkBuilder.listener(listener.let(IApplicationListener::unwrap)) + cdkBuilder.listener(listener.let(IApplicationListener.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class ApplicationListenerRule( * @param targetGroups Target groups to forward requests to. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRuleProps.kt index a66d2b82d0..3a1fd0e859 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationListenerRuleProps.kt @@ -101,14 +101,14 @@ public interface ApplicationListenerRuleProps : BaseApplicationListenerRuleProps * Only one of `action`, `fixedResponse`, `redirectResponse` or `targetGroups` can be specified. */ override fun action(action: ListenerAction) { - cdkBuilder.action(action.let(ListenerAction::unwrap)) + cdkBuilder.action(action.let(ListenerAction.Companion::unwrap)) } /** * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface ApplicationListenerRuleProps : BaseApplicationListenerRuleProps * @param listener The listener to attach the rule to. */ override fun listener(listener: IApplicationListener) { - cdkBuilder.listener(listener.let(IApplicationListener::unwrap)) + cdkBuilder.listener(listener.let(IApplicationListener.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface ApplicationListenerRuleProps : BaseApplicationListenerRuleProps * Implies a `forward` action. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancer.kt index 3ca2439ce4..3168235347 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancer.kt @@ -60,8 +60,8 @@ public open class ApplicationLoadBalancer( id: String, props: ApplicationLoadBalancerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationLoadBalancerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationLoadBalancerProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class ApplicationLoadBalancer( */ public override fun addListener(id: String, props: BaseApplicationListenerProps): ApplicationListener = unwrap(this).addListener(id, - props.let(BaseApplicationListenerProps::unwrap)).let(ApplicationListener::wrap) + props.let(BaseApplicationListenerProps.Companion::unwrap)).let(ApplicationListener::wrap) /** * Add a new listener to this load balancer. @@ -107,7 +107,7 @@ public open class ApplicationLoadBalancer( * @param props */ public open fun addRedirect(props: ApplicationLoadBalancerRedirectConfig): ApplicationListener = - unwrap(this).addRedirect(props.let(ApplicationLoadBalancerRedirectConfig::unwrap)).let(ApplicationListener::wrap) + unwrap(this).addRedirect(props.let(ApplicationLoadBalancerRedirectConfig.Companion::unwrap)).let(ApplicationListener::wrap) /** * Add a redirection listener to this load balancer. @@ -125,7 +125,7 @@ public open class ApplicationLoadBalancer( * @param securityGroup */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class ApplicationLoadBalancer( * @param prefix */ public override fun logAccessLogs(bucket: IBucket) { - unwrap(this).logAccessLogs(bucket.let(IBucket::unwrap)) + unwrap(this).logAccessLogs(bucket.let(IBucket.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class ApplicationLoadBalancer( * @param prefix */ public override fun logAccessLogs(bucket: IBucket, prefix: String) { - unwrap(this).logAccessLogs(bucket.let(IBucket::unwrap), prefix) + unwrap(this).logAccessLogs(bucket.let(IBucket.Companion::unwrap), prefix) } /** @@ -200,7 +200,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Return the given named metric for this Application Load Balancer. @@ -241,7 +241,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricActiveConnectionCount(props: MetricOptions): Metric = - unwrap(this).metricActiveConnectionCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricActiveConnectionCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of concurrent TCP connections active from clients to the load @@ -288,7 +288,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricClientTlsNegotiationErrorCount(props: MetricOptions): Metric = - unwrap(this).metricClientTlsNegotiationErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClientTlsNegotiationErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of TLS connections initiated by the client that did not establish a @@ -329,7 +329,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricConsumedLCUs(props: MetricOptions): Metric = - unwrap(this).metricConsumedLCUs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedLCUs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of load balancer capacity units (LCU) used by your load balancer. @@ -374,7 +374,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricElbAuthError(props: MetricOptions): Metric = - unwrap(this).metricElbAuthError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricElbAuthError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of user authentications that could not be completed. @@ -418,7 +418,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricElbAuthFailure(props: MetricOptions): Metric = - unwrap(this).metricElbAuthFailure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricElbAuthFailure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of user authentications that could not be completed because the IdP @@ -463,7 +463,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricElbAuthLatency(props: MetricOptions): Metric = - unwrap(this).metricElbAuthLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricElbAuthLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The time elapsed, in milliseconds, to query the IdP for the ID token and user @@ -510,7 +510,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricElbAuthSuccess(props: MetricOptions): Metric = - unwrap(this).metricElbAuthSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricElbAuthSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of authenticate actions that were successful. @@ -542,7 +542,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpCodeElb(code: HttpCodeElb): Metric = - unwrap(this).metricHttpCodeElb(code.let(HttpCodeElb::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpCodeElb(code.let(HttpCodeElb.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer. @@ -557,8 +557,8 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpCodeElb(code: HttpCodeElb, props: MetricOptions): Metric = - unwrap(this).metricHttpCodeElb(code.let(HttpCodeElb::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpCodeElb(code.let(HttpCodeElb.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer. @@ -591,7 +591,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpCodeTarget(code: HttpCodeTarget): Metric = - unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the @@ -607,8 +607,8 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpCodeTarget(code: HttpCodeTarget, props: MetricOptions): Metric = - unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the @@ -651,7 +651,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpFixedResponseCount(props: MetricOptions): Metric = - unwrap(this).metricHttpFixedResponseCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpFixedResponseCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of fixed-response actions that were successful. @@ -689,7 +689,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpRedirectCount(props: MetricOptions): Metric = - unwrap(this).metricHttpRedirectCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpRedirectCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of redirect actions that were successful. @@ -729,7 +729,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpRedirectUrlLimitExceededCount(props: MetricOptions): Metric = - unwrap(this).metricHttpRedirectUrlLimitExceededCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpRedirectUrlLimitExceededCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of redirect actions that couldn't be completed because the URL in the @@ -768,7 +768,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricIpv6ProcessedBytes(props: MetricOptions): Metric = - unwrap(this).metricIpv6ProcessedBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIpv6ProcessedBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of bytes processed by the load balancer over IPv6. @@ -806,7 +806,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricIpv6RequestCount(props: MetricOptions): Metric = - unwrap(this).metricIpv6RequestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIpv6RequestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of IPv6 requests received by the load balancer. @@ -846,7 +846,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricNewConnectionCount(props: MetricOptions): Metric = - unwrap(this).metricNewConnectionCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNewConnectionCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of new TCP connections established from clients to the load @@ -885,7 +885,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricProcessedBytes(props: MetricOptions): Metric = - unwrap(this).metricProcessedBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricProcessedBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of bytes processed by the load balancer over IPv4 and IPv6. @@ -925,7 +925,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricRejectedConnectionCount(props: MetricOptions): Metric = - unwrap(this).metricRejectedConnectionCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRejectedConnectionCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of connections that were rejected because the load balancer had reached @@ -969,7 +969,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricRequestCount(props: MetricOptions): Metric = - unwrap(this).metricRequestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRequestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of requests processed over IPv4 and IPv6. @@ -1012,7 +1012,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricRuleEvaluations(props: MetricOptions): Metric = - unwrap(this).metricRuleEvaluations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRuleEvaluations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of rules processed by the load balancer given a request rate averaged @@ -1053,7 +1053,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricTargetConnectionErrorCount(props: MetricOptions): Metric = - unwrap(this).metricTargetConnectionErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTargetConnectionErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of connections that were not successfully established between the load @@ -1094,7 +1094,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricTargetResponseTime(props: MetricOptions): Metric = - unwrap(this).metricTargetResponseTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTargetResponseTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The time elapsed, in seconds, after the request leaves the load balancer until a @@ -1139,7 +1139,7 @@ public open class ApplicationLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricTargetTLSNegotiationErrorCount(props: MetricOptions): Metric = - unwrap(this).metricTargetTLSNegotiationErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTargetTLSNegotiationErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of TLS connections initiated by the load balancer that did not @@ -1402,7 +1402,7 @@ public open class ApplicationLoadBalancer( * @param clientKeepAlive The client keep alive duration. */ override fun clientKeepAlive(clientKeepAlive: Duration) { - cdkBuilder.clientKeepAlive(clientKeepAlive.let(Duration::unwrap)) + cdkBuilder.clientKeepAlive(clientKeepAlive.let(Duration.Companion::unwrap)) } /** @@ -1452,7 +1452,7 @@ public open class ApplicationLoadBalancer( * a security risk to your application. */ override fun desyncMitigationMode(desyncMitigationMode: DesyncMitigationMode) { - cdkBuilder.desyncMitigationMode(desyncMitigationMode.let(DesyncMitigationMode::unwrap)) + cdkBuilder.desyncMitigationMode(desyncMitigationMode.let(DesyncMitigationMode.Companion::unwrap)) } /** @@ -1487,7 +1487,7 @@ public open class ApplicationLoadBalancer( * @param idleTimeout The load balancer idle timeout, in seconds. */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -1509,7 +1509,7 @@ public open class ApplicationLoadBalancer( * @param ipAddressType The type of IP addresses to use. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** @@ -1557,7 +1557,7 @@ public open class ApplicationLoadBalancer( * @param securityGroup Security group to associate with this load balancer. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -1566,7 +1566,7 @@ public open class ApplicationLoadBalancer( * @param vpc The VPC network to place the load balancer in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1577,7 +1577,7 @@ public open class ApplicationLoadBalancer( * @param vpcSubnets Which subnets place the load balancer in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1639,7 +1639,7 @@ public open class ApplicationLoadBalancer( * */ override fun xffHeaderProcessingMode(xffHeaderProcessingMode: XffHeaderProcessingMode) { - cdkBuilder.xffHeaderProcessingMode(xffHeaderProcessingMode.let(XffHeaderProcessingMode::unwrap)) + cdkBuilder.xffHeaderProcessingMode(xffHeaderProcessingMode.let(XffHeaderProcessingMode.Companion::unwrap)) } public fun build(): @@ -1653,9 +1653,9 @@ public open class ApplicationLoadBalancer( id: String, attrs: ApplicationLoadBalancerAttributes, ): IApplicationLoadBalancer = - software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer.fromApplicationLoadBalancerAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer.fromApplicationLoadBalancerAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, - attrs.let(ApplicationLoadBalancerAttributes::unwrap)).let(IApplicationLoadBalancer::wrap) + attrs.let(ApplicationLoadBalancerAttributes.Companion::unwrap)).let(IApplicationLoadBalancer::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("13cee8bdd3ada2786fba9f63419504bcf481668ec2f4e0edb3c498f69610ef38") @@ -1671,9 +1671,9 @@ public open class ApplicationLoadBalancer( id: String, options: ApplicationLoadBalancerLookupOptions, ): IApplicationLoadBalancer = - software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationLoadBalancer.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, - options.let(ApplicationLoadBalancerLookupOptions::unwrap)).let(IApplicationLoadBalancer::wrap) + options.let(ApplicationLoadBalancerLookupOptions.Companion::unwrap)).let(IApplicationLoadBalancer::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("296951d0c25167abddbc9bef4ff4ec5da29b12faec1bbb29a746129a61469732") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerAttributes.kt index f93bb3c685..6d525cf6be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerAttributes.kt @@ -162,7 +162,7 @@ public interface ApplicationLoadBalancerAttributes { * @param vpc The VPC this load balancer has been created in, if available. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerProps.kt index 1471bdb664..df4d59a57b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerProps.kt @@ -290,7 +290,7 @@ public interface ApplicationLoadBalancerProps : BaseLoadBalancerProps { * The valid range is 60 to 604800 seconds (1 minute to 7 days). */ override fun clientKeepAlive(clientKeepAlive: Duration) { - cdkBuilder.clientKeepAlive(clientKeepAlive.let(Duration::unwrap)) + cdkBuilder.clientKeepAlive(clientKeepAlive.let(Duration.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface ApplicationLoadBalancerProps : BaseLoadBalancerProps { * a security risk to your application. */ override fun desyncMitigationMode(desyncMitigationMode: DesyncMitigationMode) { - cdkBuilder.desyncMitigationMode(desyncMitigationMode.let(DesyncMitigationMode::unwrap)) + cdkBuilder.desyncMitigationMode(desyncMitigationMode.let(DesyncMitigationMode.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface ApplicationLoadBalancerProps : BaseLoadBalancerProps { * @param idleTimeout The load balancer idle timeout, in seconds. */ override fun idleTimeout(idleTimeout: Duration) { - cdkBuilder.idleTimeout(idleTimeout.let(Duration::unwrap)) + cdkBuilder.idleTimeout(idleTimeout.let(Duration.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface ApplicationLoadBalancerProps : BaseLoadBalancerProps { * @param ipAddressType The type of IP addresses to use. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** @@ -386,21 +386,21 @@ public interface ApplicationLoadBalancerProps : BaseLoadBalancerProps { * @param securityGroup Security group to associate with this load balancer. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param vpc The VPC network to place the load balancer in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Which subnets place the load balancer in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface ApplicationLoadBalancerProps : BaseLoadBalancerProps { * header in the HTTP request before the Application Load Balancer sends the request to the target. */ override fun xffHeaderProcessingMode(xffHeaderProcessingMode: XffHeaderProcessingMode) { - cdkBuilder.xffHeaderProcessingMode(xffHeaderProcessingMode.let(XffHeaderProcessingMode::unwrap)) + cdkBuilder.xffHeaderProcessingMode(xffHeaderProcessingMode.let(XffHeaderProcessingMode.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerRedirectConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerRedirectConfig.kt index 0a149c95d1..e5a1521032 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerRedirectConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationLoadBalancerRedirectConfig.kt @@ -139,7 +139,7 @@ public interface ApplicationLoadBalancerRedirectConfig { * @param sourceProtocol The protocol of the listener being created. */ override fun sourceProtocol(sourceProtocol: ApplicationProtocol) { - cdkBuilder.sourceProtocol(sourceProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.sourceProtocol(sourceProtocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface ApplicationLoadBalancerRedirectConfig { * @param targetProtocol The protocol of the redirection target. */ override fun targetProtocol(targetProtocol: ApplicationProtocol) { - cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.targetProtocol(targetProtocol.let(ApplicationProtocol.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroup.kt index e435ada079..db7c02141d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroup.kt @@ -41,7 +41,7 @@ public open class ApplicationTargetGroup( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup, ) : TargetGroupBase(cdkObject), IApplicationTargetGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class ApplicationTargetGroup( id: String, props: ApplicationTargetGroupProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApplicationTargetGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApplicationTargetGroupProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class ApplicationTargetGroup( * @param cookieName */ public open fun enableCookieStickiness(duration: Duration) { - unwrap(this).enableCookieStickiness(duration.let(Duration::unwrap)) + unwrap(this).enableCookieStickiness(duration.let(Duration.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class ApplicationTargetGroup( * @param cookieName */ public open fun enableCookieStickiness(duration: Duration, cookieName: String) { - unwrap(this).enableCookieStickiness(duration.let(Duration::unwrap), cookieName) + unwrap(this).enableCookieStickiness(duration.let(Duration.Companion::unwrap), cookieName) } /** @@ -135,7 +135,7 @@ public open class ApplicationTargetGroup( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Application Load Balancer Target Group. @@ -177,7 +177,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricHealthyHostCount(props: MetricOptions): Metric = - unwrap(this).metricHealthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHealthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of healthy hosts in the target group. @@ -207,7 +207,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpCodeTarget(code: HttpCodeTarget): Metric = - unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this @@ -223,8 +223,8 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricHttpCodeTarget(code: HttpCodeTarget, props: MetricOptions): Metric = - unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHttpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this @@ -267,7 +267,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricIpv6RequestCount(props: MetricOptions): Metric = - unwrap(this).metricIpv6RequestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIpv6RequestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of IPv6 requests received by the target group. @@ -310,7 +310,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricRequestCount(props: MetricOptions): Metric = - unwrap(this).metricRequestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRequestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of requests processed over IPv4 and IPv6. @@ -355,7 +355,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricRequestCountPerTarget(props: MetricOptions): Metric = - unwrap(this).metricRequestCountPerTarget(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRequestCountPerTarget(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The average number of requests received by each target in a target group. @@ -397,7 +397,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricTargetConnectionErrorCount(props: MetricOptions): Metric = - unwrap(this).metricTargetConnectionErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTargetConnectionErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of connections that were not successfully established between the load @@ -438,7 +438,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricTargetResponseTime(props: MetricOptions): Metric = - unwrap(this).metricTargetResponseTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTargetResponseTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The time elapsed, in seconds, after the request leaves the load balancer until a @@ -483,7 +483,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricTargetTLSNegotiationErrorCount(props: MetricOptions): Metric = - unwrap(this).metricTargetTLSNegotiationErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTargetTLSNegotiationErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of TLS connections initiated by the load balancer that did not @@ -524,7 +524,7 @@ public open class ApplicationTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricUnhealthyHostCount(props: MetricOptions): Metric = - unwrap(this).metricUnhealthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricUnhealthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of unhealthy hosts in the target group. @@ -555,7 +555,7 @@ public open class ApplicationTargetGroup( * @param portRange */ public override fun registerConnectable(connectable: IConnectable) { - unwrap(this).registerConnectable(connectable.let(IConnectable::unwrap)) + unwrap(this).registerConnectable(connectable.let(IConnectable.Companion::unwrap)) } /** @@ -567,8 +567,8 @@ public open class ApplicationTargetGroup( * @param portRange */ public override fun registerConnectable(connectable: IConnectable, portRange: Port) { - unwrap(this).registerConnectable(connectable.let(IConnectable::unwrap), - portRange.let(Port::unwrap)) + unwrap(this).registerConnectable(connectable.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap)) } /** @@ -593,7 +593,7 @@ public open class ApplicationTargetGroup( * @param associatingConstruct */ public override fun registerListener(listener: IApplicationListener) { - unwrap(this).registerListener(listener.let(IApplicationListener::unwrap)) + unwrap(this).registerListener(listener.let(IApplicationListener.Companion::unwrap)) } /** @@ -606,8 +606,8 @@ public open class ApplicationTargetGroup( */ public override fun registerListener(listener: IApplicationListener, associatingConstruct: IConstruct) { - unwrap(this).registerListener(listener.let(IApplicationListener::unwrap), - associatingConstruct.let(IConstruct::unwrap)) + unwrap(this).registerListener(listener.let(IApplicationListener.Companion::unwrap), + associatingConstruct.let(IConstruct.Companion::unwrap)) } /** @@ -823,7 +823,7 @@ public open class ApplicationTargetGroup( * deregistering a target. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** @@ -836,7 +836,7 @@ public open class ApplicationTargetGroup( * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -863,7 +863,7 @@ public open class ApplicationTargetGroup( */ override fun loadBalancingAlgorithmType(loadBalancingAlgorithmType: TargetGroupLoadBalancingAlgorithmType) { - cdkBuilder.loadBalancingAlgorithmType(loadBalancingAlgorithmType.let(TargetGroupLoadBalancingAlgorithmType::unwrap)) + cdkBuilder.loadBalancingAlgorithmType(loadBalancingAlgorithmType.let(TargetGroupLoadBalancingAlgorithmType.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public open class ApplicationTargetGroup( * @param protocol The protocol used for communication with the target. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** @@ -900,7 +900,7 @@ public open class ApplicationTargetGroup( * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -915,7 +915,7 @@ public open class ApplicationTargetGroup( * target a linearly increasing share of the traffic to the target group. */ override fun slowStart(slowStart: Duration) { - cdkBuilder.slowStart(slowStart.let(Duration::unwrap)) + cdkBuilder.slowStart(slowStart.let(Duration.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public open class ApplicationTargetGroup( * @param stickinessCookieDuration The stickiness cookie expiration period. */ override fun stickinessCookieDuration(stickinessCookieDuration: Duration) { - cdkBuilder.stickinessCookieDuration(stickinessCookieDuration.let(Duration::unwrap)) + cdkBuilder.stickinessCookieDuration(stickinessCookieDuration.let(Duration.Companion::unwrap)) } /** @@ -981,7 +981,7 @@ public open class ApplicationTargetGroup( * @param targetType The type of targets registered to this TargetGroup, either IP or Instance. */ override fun targetType(targetType: TargetType) { - cdkBuilder.targetType(targetType.let(TargetType::unwrap)) + cdkBuilder.targetType(targetType.let(TargetType.Companion::unwrap)) } /** @@ -996,7 +996,7 @@ public open class ApplicationTargetGroup( * @param targets The targets to add to this target group. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(IApplicationLoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(IApplicationLoadBalancerTarget.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class ApplicationTargetGroup( * @param vpc The virtual private cloud (VPC). */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): @@ -1037,8 +1037,8 @@ public open class ApplicationTargetGroup( id: String, attrs: TargetGroupAttributes, ): IApplicationTargetGroup = - software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup.fromTargetGroupAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(TargetGroupAttributes::unwrap)).let(IApplicationTargetGroup::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationTargetGroup.fromTargetGroupAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(TargetGroupAttributes.Companion::unwrap)).let(IApplicationTargetGroup::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("22a0352b4305020b57f07768a4d7557c8f9f1dddb85c7eaaa8816f33b3ff9c2d") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroupProps.kt index 466e0460be..19938bb25b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ApplicationTargetGroupProps.kt @@ -246,14 +246,14 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * The range is 0-3600 seconds. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { */ override fun loadBalancingAlgorithmType(loadBalancingAlgorithmType: TargetGroupLoadBalancingAlgorithmType) { - cdkBuilder.loadBalancingAlgorithmType(loadBalancingAlgorithmType.let(TargetGroupLoadBalancingAlgorithmType::unwrap)) + cdkBuilder.loadBalancingAlgorithmType(loadBalancingAlgorithmType.let(TargetGroupLoadBalancingAlgorithmType.Companion::unwrap)) } /** @@ -286,14 +286,14 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * This is not applicable for Lambda targets. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param protocolVersion The protocol version to use. */ override fun protocolVersion(protocolVersion: ApplicationProtocolVersion) { - cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion::unwrap)) + cdkBuilder.protocolVersion(protocolVersion.let(ApplicationProtocolVersion.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * The range is 30-900 seconds (15 minutes). */ override fun slowStart(slowStart: Duration) { - cdkBuilder.slowStart(slowStart.let(Duration::unwrap)) + cdkBuilder.slowStart(slowStart.let(Duration.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * 1 second and the maximum value is 7 days (604800 seconds). */ override fun stickinessCookieDuration(stickinessCookieDuration: Duration) { - cdkBuilder.stickinessCookieDuration(stickinessCookieDuration.let(Duration::unwrap)) + cdkBuilder.stickinessCookieDuration(stickinessCookieDuration.let(Duration.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * determined automatically. */ override fun targetType(targetType: TargetType) { - cdkBuilder.targetType(targetType.let(TargetType::unwrap)) + cdkBuilder.targetType(targetType.let(TargetType.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * target must be of the same type. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(IApplicationLoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(IApplicationLoadBalancerTarget.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface ApplicationTargetGroupProps : BaseTargetGroupProps { * only if `TargetType` is `Ip` or `InstanceId` */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AuthenticateOidcOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AuthenticateOidcOptions.kt index 65eed9515c..a2b7e56137 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AuthenticateOidcOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/AuthenticateOidcOptions.kt @@ -261,7 +261,7 @@ public interface AuthenticateOidcOptions { * @param clientSecret The OAuth 2.0 client secret. */ override fun clientSecret(clientSecret: SecretValue) { - cdkBuilder.clientSecret(clientSecret.let(SecretValue::unwrap)) + cdkBuilder.clientSecret(clientSecret.let(SecretValue.Companion::unwrap)) } /** @@ -276,14 +276,14 @@ public interface AuthenticateOidcOptions { * @param next What action to execute next. */ override fun next(next: ListenerAction) { - cdkBuilder.next(next.let(ListenerAction::unwrap)) + cdkBuilder.next(next.let(ListenerAction.Companion::unwrap)) } /** * @param onUnauthenticatedRequest The behavior if the user is not authenticated. */ override fun onUnauthenticatedRequest(onUnauthenticatedRequest: UnauthenticatedAction) { - cdkBuilder.onUnauthenticatedRequest(onUnauthenticatedRequest.let(UnauthenticatedAction::unwrap)) + cdkBuilder.onUnauthenticatedRequest(onUnauthenticatedRequest.let(UnauthenticatedAction.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface AuthenticateOidcOptions { * @param sessionTimeout The maximum duration of the authentication session. */ override fun sessionTimeout(sessionTimeout: Duration) { - cdkBuilder.sessionTimeout(sessionTimeout.let(Duration::unwrap)) + cdkBuilder.sessionTimeout(sessionTimeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerProps.kt index d8cf26c4e5..4d39a31337 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerProps.kt @@ -199,7 +199,7 @@ public interface BaseApplicationListenerProps { * You must provide exactly one certificate if the listener protocol is HTTPS or TLS. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface BaseApplicationListenerProps { * Cannot be specified together with `defaultTargetGroups`. */ override fun defaultAction(defaultAction: ListenerAction) { - cdkBuilder.defaultAction(defaultAction.let(ListenerAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(ListenerAction.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface BaseApplicationListenerProps { * Cannot be specified together with `defaultAction`. */ override fun defaultTargetGroups(defaultTargetGroups: List) { - cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** @@ -270,14 +270,14 @@ public interface BaseApplicationListenerProps { * @param protocol The protocol to use. */ override fun protocol(protocol: ApplicationProtocol) { - cdkBuilder.protocol(protocol.let(ApplicationProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ApplicationProtocol.Companion::unwrap)) } /** * @param sslPolicy The security policy that defines which ciphers and protocols are supported. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerRuleProps.kt index e841502c39..5e44d5b04d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseApplicationListenerRuleProps.kt @@ -129,14 +129,14 @@ public interface BaseApplicationListenerRuleProps { * Only one of `action`, `fixedResponse`, `redirectResponse` or `targetGroups` can be specified. */ override fun action(action: ListenerAction) { - cdkBuilder.action(action.let(ListenerAction::unwrap)) + cdkBuilder.action(action.let(ListenerAction.Companion::unwrap)) } /** * @param conditions Rule applies if matches the conditions. */ override fun conditions(conditions: List) { - cdkBuilder.conditions(conditions.map(ListenerCondition::unwrap)) + cdkBuilder.conditions(conditions.map(ListenerCondition.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface BaseApplicationListenerRuleProps { * Implies a `forward` action. */ override fun targetGroups(targetGroups: List) { - cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup::unwrap)) + cdkBuilder.targetGroups(targetGroups.map(IApplicationTargetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancer.kt index 9d5b085c36..65a67bcd10 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancer.kt @@ -92,7 +92,7 @@ public abstract class BaseLoadBalancer( * @param prefix */ public open fun logAccessLogs(bucket: IBucket) { - unwrap(this).logAccessLogs(bucket.let(IBucket::unwrap)) + unwrap(this).logAccessLogs(bucket.let(IBucket.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public abstract class BaseLoadBalancer( * @param prefix */ public open fun logAccessLogs(bucket: IBucket, prefix: String) { - unwrap(this).logAccessLogs(bucket.let(IBucket::unwrap), prefix) + unwrap(this).logAccessLogs(bucket.let(IBucket.Companion::unwrap), prefix) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancerProps.kt index 01939946d3..efcf812d8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseLoadBalancerProps.kt @@ -191,14 +191,14 @@ public interface BaseLoadBalancerProps { * @param vpc The VPC network to place the load balancer in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Which subnets place the load balancer in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseNetworkListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseNetworkListenerProps.kt index b5232c0a23..da320225a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseNetworkListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseNetworkListenerProps.kt @@ -193,7 +193,7 @@ public interface BaseNetworkListenerProps { * Can only be specified together with Protocol TLS. */ override fun alpnPolicy(alpnPolicy: AlpnPolicy) { - cdkBuilder.alpnPolicy(alpnPolicy.let(AlpnPolicy::unwrap)) + cdkBuilder.alpnPolicy(alpnPolicy.let(AlpnPolicy.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface BaseNetworkListenerProps { * You must provide exactly one certificate if the listener protocol is HTTPS or TLS. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public interface BaseNetworkListenerProps { * Cannot be specified together with `defaultTargetGroups`. */ override fun defaultAction(defaultAction: NetworkListenerAction) { - cdkBuilder.defaultAction(defaultAction.let(NetworkListenerAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(NetworkListenerAction.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface BaseNetworkListenerProps { * Cannot be specified together with `defaultAction`. */ override fun defaultTargetGroups(defaultTargetGroups: List) { - cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(INetworkTargetGroup::unwrap)) + cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(INetworkTargetGroup.Companion::unwrap)) } /** @@ -257,14 +257,14 @@ public interface BaseNetworkListenerProps { * @param protocol Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** * @param sslPolicy SSL Policy. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseTargetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseTargetGroupProps.kt index 2d058a89bb..4646ab99c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseTargetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/BaseTargetGroupProps.kt @@ -153,14 +153,14 @@ public interface BaseTargetGroupProps { * The range is 0-3600 seconds. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface BaseTargetGroupProps { * determined automatically. */ override fun targetType(targetType: TargetType) { - cdkBuilder.targetType(targetType.let(TargetType::unwrap)) + cdkBuilder.targetType(targetType.let(TargetType.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface BaseTargetGroupProps { * only if `TargetType` is `Ip` or `InstanceId` */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.BaseTargetGroupProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListener.kt index dea0ca869a..757d610891 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListener.kt @@ -117,8 +117,8 @@ public open class CfnListener( id: String, props: CfnListenerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnListener(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnListenerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnListener(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnListenerProps.Companion::unwrap)) ) public constructor( @@ -159,7 +159,7 @@ public open class CfnListener( * The default SSL server certificate for a secure listener. */ public open fun certificates(`value`: IResolvable) { - unwrap(this).setCertificates(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnListener( * You cannot define a condition for a default rule. */ public open fun defaultActions(`value`: IResolvable) { - unwrap(this).setDefaultActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnListener( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -236,14 +236,14 @@ public open class CfnListener( * The mutual authentication configuration information. */ public open fun mutualAuthentication(`value`: IResolvable) { - unwrap(this).setMutualAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setMutualAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** * The mutual authentication configuration information. */ public open fun mutualAuthentication(`value`: MutualAuthenticationProperty) { - unwrap(this).setMutualAuthentication(`value`.let(MutualAuthenticationProperty::unwrap)) + unwrap(this).setMutualAuthentication(`value`.let(MutualAuthenticationProperty.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnListener( * @param certificates The default SSL server certificate for a secure listener. */ override fun certificates(certificates: IResolvable) { - cdkBuilder.certificates(certificates.let(IResolvable::unwrap)) + cdkBuilder.certificates(certificates.let(IResolvable.Companion::unwrap)) } /** @@ -560,7 +560,7 @@ public open class CfnListener( * default rule. */ override fun defaultActions(defaultActions: IResolvable) { - cdkBuilder.defaultActions(defaultActions.let(IResolvable::unwrap)) + cdkBuilder.defaultActions(defaultActions.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnListener( * @param mutualAuthentication The mutual authentication configuration information. */ override fun mutualAuthentication(mutualAuthentication: IResolvable) { - cdkBuilder.mutualAuthentication(mutualAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualAuthentication(mutualAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class CfnListener( * @param mutualAuthentication The mutual authentication configuration information. */ override fun mutualAuthentication(mutualAuthentication: MutualAuthenticationProperty) { - cdkBuilder.mutualAuthentication(mutualAuthentication.let(MutualAuthenticationProperty::unwrap)) + cdkBuilder.mutualAuthentication(mutualAuthentication.let(MutualAuthenticationProperty.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class CfnListener( * Specify only when `Type` is `authenticate-cognito` . */ override fun authenticateCognitoConfig(authenticateCognitoConfig: IResolvable) { - cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(IResolvable::unwrap)) + cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1033,7 +1033,7 @@ public open class CfnListener( */ override fun authenticateCognitoConfig(authenticateCognitoConfig: AuthenticateCognitoConfigProperty) { - cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(AuthenticateCognitoConfigProperty::unwrap)) + cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(AuthenticateCognitoConfigProperty.Companion::unwrap)) } /** @@ -1054,7 +1054,7 @@ public open class CfnListener( * Specify only when `Type` is `authenticate-oidc` . */ override fun authenticateOidcConfig(authenticateOidcConfig: IResolvable) { - cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(IResolvable::unwrap)) + cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public open class CfnListener( * Specify only when `Type` is `authenticate-oidc` . */ override fun authenticateOidcConfig(authenticateOidcConfig: AuthenticateOidcConfigProperty) { - cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(AuthenticateOidcConfigProperty::unwrap)) + cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(AuthenticateOidcConfigProperty.Companion::unwrap)) } /** @@ -1083,7 +1083,7 @@ public open class CfnListener( * Specify only when `Type` is `fixed-response` . */ override fun fixedResponseConfig(fixedResponseConfig: IResolvable) { - cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(IResolvable::unwrap)) + cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1092,7 +1092,7 @@ public open class CfnListener( * Specify only when `Type` is `fixed-response` . */ override fun fixedResponseConfig(fixedResponseConfig: FixedResponseConfigProperty) { - cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(FixedResponseConfigProperty::unwrap)) + cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(FixedResponseConfigProperty.Companion::unwrap)) } /** @@ -1115,7 +1115,7 @@ public open class CfnListener( * `TargetGroupArn` . */ override fun forwardConfig(forwardConfig: IResolvable) { - cdkBuilder.forwardConfig(forwardConfig.let(IResolvable::unwrap)) + cdkBuilder.forwardConfig(forwardConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1127,7 +1127,7 @@ public open class CfnListener( * `TargetGroupArn` . */ override fun forwardConfig(forwardConfig: ForwardConfigProperty) { - cdkBuilder.forwardConfig(forwardConfig.let(ForwardConfigProperty::unwrap)) + cdkBuilder.forwardConfig(forwardConfig.let(ForwardConfigProperty.Companion::unwrap)) } /** @@ -1158,7 +1158,7 @@ public open class CfnListener( * Specify only when `Type` is `redirect` . */ override fun redirectConfig(redirectConfig: IResolvable) { - cdkBuilder.redirectConfig(redirectConfig.let(IResolvable::unwrap)) + cdkBuilder.redirectConfig(redirectConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1167,7 +1167,7 @@ public open class CfnListener( * Specify only when `Type` is `redirect` . */ override fun redirectConfig(redirectConfig: RedirectConfigProperty) { - cdkBuilder.redirectConfig(redirectConfig.let(RedirectConfigProperty::unwrap)) + cdkBuilder.redirectConfig(redirectConfig.let(RedirectConfigProperty.Companion::unwrap)) } /** @@ -1473,7 +1473,7 @@ public open class CfnListener( * redirect request to the authorization endpoint. */ override fun authenticationRequestExtraParams(authenticationRequestExtraParams: IResolvable) { - cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable::unwrap)) + cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable.Companion::unwrap)) } /** @@ -1892,7 +1892,7 @@ public open class CfnListener( * redirect request to the authorization endpoint. */ override fun authenticationRequestExtraParams(authenticationRequestExtraParams: IResolvable) { - cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable::unwrap)) + cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable.Companion::unwrap)) } /** @@ -1996,7 +1996,7 @@ public open class CfnListener( * If you are creating a rule, you can omit this parameter or set it to false. */ override fun useExistingClientSecret(useExistingClientSecret: IResolvable) { - cdkBuilder.useExistingClientSecret(useExistingClientSecret.let(IResolvable::unwrap)) + cdkBuilder.useExistingClientSecret(useExistingClientSecret.let(IResolvable.Companion::unwrap)) } /** @@ -2470,7 +2470,7 @@ public open class CfnListener( * rule. */ override fun targetGroupStickinessConfig(targetGroupStickinessConfig: IResolvable) { - cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(IResolvable::unwrap)) + cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2479,7 +2479,7 @@ public open class CfnListener( */ override fun targetGroupStickinessConfig(targetGroupStickinessConfig: TargetGroupStickinessConfigProperty) { - cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(TargetGroupStickinessConfigProperty::unwrap)) + cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(TargetGroupStickinessConfigProperty.Companion::unwrap)) } /** @@ -2498,7 +2498,7 @@ public open class CfnListener( * target groups in a forward rule. */ override fun targetGroups(targetGroups: IResolvable) { - cdkBuilder.targetGroups(targetGroups.let(IResolvable::unwrap)) + cdkBuilder.targetGroups(targetGroups.let(IResolvable.Companion::unwrap)) } /** @@ -2651,7 +2651,7 @@ public open class CfnListener( * ignored. */ override fun ignoreClientCertificateExpiry(ignoreClientCertificateExpiry: IResolvable) { - cdkBuilder.ignoreClientCertificateExpiry(ignoreClientCertificateExpiry.let(IResolvable::unwrap)) + cdkBuilder.ignoreClientCertificateExpiry(ignoreClientCertificateExpiry.let(IResolvable.Companion::unwrap)) } /** @@ -3082,7 +3082,7 @@ public open class CfnListener( * @param enabled Indicates whether target group stickiness is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificate.kt index 0b125555c1..2d1ec14cc8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificate.kt @@ -44,8 +44,8 @@ public open class CfnListenerCertificate( id: String, props: CfnListenerCertificateProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnListenerCertificateProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnListenerCertificateProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnListenerCertificate( * The certificate. */ public open fun certificates(`value`: IResolvable) { - unwrap(this).setCertificates(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public open class CfnListenerCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnListenerCertificate( * @param certificates The certificate. */ override fun certificates(certificates: IResolvable) { - cdkBuilder.certificates(certificates.let(IResolvable::unwrap)) + cdkBuilder.certificates(certificates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificateProps.kt index 8d9fd852ef..a616629879 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerCertificateProps.kt @@ -86,7 +86,7 @@ public interface CfnListenerCertificateProps { * You can specify one certificate per resource. */ override fun certificates(certificates: IResolvable) { - cdkBuilder.certificates(certificates.let(IResolvable::unwrap)) + cdkBuilder.certificates(certificates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerProps.kt index b742ffb748..23bac8d6ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerProps.kt @@ -340,7 +340,7 @@ public interface CfnListenerProps { * . */ override fun certificates(certificates: IResolvable) { - cdkBuilder.certificates(certificates.let(IResolvable::unwrap)) + cdkBuilder.certificates(certificates.let(IResolvable.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface CfnListenerProps { * . */ override fun defaultActions(defaultActions: IResolvable) { - cdkBuilder.defaultActions(defaultActions.let(IResolvable::unwrap)) + cdkBuilder.defaultActions(defaultActions.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnListenerProps { * @param mutualAuthentication The mutual authentication configuration information. */ override fun mutualAuthentication(mutualAuthentication: IResolvable) { - cdkBuilder.mutualAuthentication(mutualAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualAuthentication(mutualAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnListenerProps { */ override fun mutualAuthentication(mutualAuthentication: CfnListener.MutualAuthenticationProperty) { - cdkBuilder.mutualAuthentication(mutualAuthentication.let(CfnListener.MutualAuthenticationProperty::unwrap)) + cdkBuilder.mutualAuthentication(mutualAuthentication.let(CfnListener.MutualAuthenticationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRule.kt index 2138b5fec4..95bf9dc880 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRule.kt @@ -138,8 +138,8 @@ public open class CfnListenerRule( id: String, props: CfnListenerRuleProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnListenerRuleProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnListenerRuleProps.Companion::unwrap)) ) public constructor( @@ -158,7 +158,7 @@ public open class CfnListenerRule( * The actions. */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnListenerRule( * The conditions. */ public open fun conditions(`value`: IResolvable) { - unwrap(this).setConditions(`value`.let(IResolvable::unwrap)) + unwrap(this).setConditions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnListenerRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnListenerRule( * @param actions The actions. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnListenerRule( * @param conditions The conditions. */ override fun conditions(conditions: IResolvable) { - cdkBuilder.conditions(conditions.let(IResolvable::unwrap)) + cdkBuilder.conditions(conditions.let(IResolvable.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `authenticate-cognito` . */ override fun authenticateCognitoConfig(authenticateCognitoConfig: IResolvable) { - cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(IResolvable::unwrap)) + cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(IResolvable.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public open class CfnListenerRule( */ override fun authenticateCognitoConfig(authenticateCognitoConfig: AuthenticateCognitoConfigProperty) { - cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(AuthenticateCognitoConfigProperty::unwrap)) + cdkBuilder.authenticateCognitoConfig(authenticateCognitoConfig.let(AuthenticateCognitoConfigProperty.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `authenticate-oidc` . */ override fun authenticateOidcConfig(authenticateOidcConfig: IResolvable) { - cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(IResolvable::unwrap)) + cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `authenticate-oidc` . */ override fun authenticateOidcConfig(authenticateOidcConfig: AuthenticateOidcConfigProperty) { - cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(AuthenticateOidcConfigProperty::unwrap)) + cdkBuilder.authenticateOidcConfig(authenticateOidcConfig.let(AuthenticateOidcConfigProperty.Companion::unwrap)) } /** @@ -867,7 +867,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `fixed-response` . */ override fun fixedResponseConfig(fixedResponseConfig: IResolvable) { - cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(IResolvable::unwrap)) + cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `fixed-response` . */ override fun fixedResponseConfig(fixedResponseConfig: FixedResponseConfigProperty) { - cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(FixedResponseConfigProperty::unwrap)) + cdkBuilder.fixedResponseConfig(fixedResponseConfig.let(FixedResponseConfigProperty.Companion::unwrap)) } /** @@ -899,7 +899,7 @@ public open class CfnListenerRule( * `TargetGroupArn` . */ override fun forwardConfig(forwardConfig: IResolvable) { - cdkBuilder.forwardConfig(forwardConfig.let(IResolvable::unwrap)) + cdkBuilder.forwardConfig(forwardConfig.let(IResolvable.Companion::unwrap)) } /** @@ -911,7 +911,7 @@ public open class CfnListenerRule( * `TargetGroupArn` . */ override fun forwardConfig(forwardConfig: ForwardConfigProperty) { - cdkBuilder.forwardConfig(forwardConfig.let(ForwardConfigProperty::unwrap)) + cdkBuilder.forwardConfig(forwardConfig.let(ForwardConfigProperty.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `redirect` . */ override fun redirectConfig(redirectConfig: IResolvable) { - cdkBuilder.redirectConfig(redirectConfig.let(IResolvable::unwrap)) + cdkBuilder.redirectConfig(redirectConfig.let(IResolvable.Companion::unwrap)) } /** @@ -951,7 +951,7 @@ public open class CfnListenerRule( * Specify only when `Type` is `redirect` . */ override fun redirectConfig(redirectConfig: RedirectConfigProperty) { - cdkBuilder.redirectConfig(redirectConfig.let(RedirectConfigProperty::unwrap)) + cdkBuilder.redirectConfig(redirectConfig.let(RedirectConfigProperty.Companion::unwrap)) } /** @@ -1257,7 +1257,7 @@ public open class CfnListenerRule( * redirect request to the authorization endpoint. */ override fun authenticationRequestExtraParams(authenticationRequestExtraParams: IResolvable) { - cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable::unwrap)) + cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable.Companion::unwrap)) } /** @@ -1676,7 +1676,7 @@ public open class CfnListenerRule( * redirect request to the authorization endpoint. */ override fun authenticationRequestExtraParams(authenticationRequestExtraParams: IResolvable) { - cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable::unwrap)) + cdkBuilder.authenticationRequestExtraParams(authenticationRequestExtraParams.let(IResolvable.Companion::unwrap)) } /** @@ -1780,7 +1780,7 @@ public open class CfnListenerRule( * If you are creating a rule, you can omit this parameter or set it to false. */ override fun useExistingClientSecret(useExistingClientSecret: IResolvable) { - cdkBuilder.useExistingClientSecret(useExistingClientSecret.let(IResolvable::unwrap)) + cdkBuilder.useExistingClientSecret(useExistingClientSecret.let(IResolvable.Companion::unwrap)) } /** @@ -2172,7 +2172,7 @@ public open class CfnListenerRule( * rule. */ override fun targetGroupStickinessConfig(targetGroupStickinessConfig: IResolvable) { - cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(IResolvable::unwrap)) + cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2181,7 +2181,7 @@ public open class CfnListenerRule( */ override fun targetGroupStickinessConfig(targetGroupStickinessConfig: TargetGroupStickinessConfigProperty) { - cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(TargetGroupStickinessConfigProperty::unwrap)) + cdkBuilder.targetGroupStickinessConfig(targetGroupStickinessConfig.let(TargetGroupStickinessConfigProperty.Companion::unwrap)) } /** @@ -2200,7 +2200,7 @@ public open class CfnListenerRule( * target groups in a forward rule. */ override fun targetGroups(targetGroups: IResolvable) { - cdkBuilder.targetGroups(targetGroups.let(IResolvable::unwrap)) + cdkBuilder.targetGroups(targetGroups.let(IResolvable.Companion::unwrap)) } /** @@ -2960,7 +2960,7 @@ public open class CfnListenerRule( * them is found in the query string. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -3792,7 +3792,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `host-header` . */ override fun hostHeaderConfig(hostHeaderConfig: IResolvable) { - cdkBuilder.hostHeaderConfig(hostHeaderConfig.let(IResolvable::unwrap)) + cdkBuilder.hostHeaderConfig(hostHeaderConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3800,7 +3800,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `host-header` . */ override fun hostHeaderConfig(hostHeaderConfig: HostHeaderConfigProperty) { - cdkBuilder.hostHeaderConfig(hostHeaderConfig.let(HostHeaderConfigProperty::unwrap)) + cdkBuilder.hostHeaderConfig(hostHeaderConfig.let(HostHeaderConfigProperty.Companion::unwrap)) } /** @@ -3817,7 +3817,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `http-header` . */ override fun httpHeaderConfig(httpHeaderConfig: IResolvable) { - cdkBuilder.httpHeaderConfig(httpHeaderConfig.let(IResolvable::unwrap)) + cdkBuilder.httpHeaderConfig(httpHeaderConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3825,7 +3825,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `http-header` . */ override fun httpHeaderConfig(httpHeaderConfig: HttpHeaderConfigProperty) { - cdkBuilder.httpHeaderConfig(httpHeaderConfig.let(HttpHeaderConfigProperty::unwrap)) + cdkBuilder.httpHeaderConfig(httpHeaderConfig.let(HttpHeaderConfigProperty.Companion::unwrap)) } /** @@ -3842,7 +3842,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `http-request-method` . */ override fun httpRequestMethodConfig(httpRequestMethodConfig: IResolvable) { - cdkBuilder.httpRequestMethodConfig(httpRequestMethodConfig.let(IResolvable::unwrap)) + cdkBuilder.httpRequestMethodConfig(httpRequestMethodConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3851,7 +3851,7 @@ public open class CfnListenerRule( */ override fun httpRequestMethodConfig(httpRequestMethodConfig: HttpRequestMethodConfigProperty) { - cdkBuilder.httpRequestMethodConfig(httpRequestMethodConfig.let(HttpRequestMethodConfigProperty::unwrap)) + cdkBuilder.httpRequestMethodConfig(httpRequestMethodConfig.let(HttpRequestMethodConfigProperty.Companion::unwrap)) } /** @@ -3869,7 +3869,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `path-pattern` . */ override fun pathPatternConfig(pathPatternConfig: IResolvable) { - cdkBuilder.pathPatternConfig(pathPatternConfig.let(IResolvable::unwrap)) + cdkBuilder.pathPatternConfig(pathPatternConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3877,7 +3877,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `path-pattern` . */ override fun pathPatternConfig(pathPatternConfig: PathPatternConfigProperty) { - cdkBuilder.pathPatternConfig(pathPatternConfig.let(PathPatternConfigProperty::unwrap)) + cdkBuilder.pathPatternConfig(pathPatternConfig.let(PathPatternConfigProperty.Companion::unwrap)) } /** @@ -3895,7 +3895,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `query-string` . */ override fun queryStringConfig(queryStringConfig: IResolvable) { - cdkBuilder.queryStringConfig(queryStringConfig.let(IResolvable::unwrap)) + cdkBuilder.queryStringConfig(queryStringConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3903,7 +3903,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `query-string` . */ override fun queryStringConfig(queryStringConfig: QueryStringConfigProperty) { - cdkBuilder.queryStringConfig(queryStringConfig.let(QueryStringConfigProperty::unwrap)) + cdkBuilder.queryStringConfig(queryStringConfig.let(QueryStringConfigProperty.Companion::unwrap)) } /** @@ -3921,7 +3921,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `source-ip` . */ override fun sourceIpConfig(sourceIpConfig: IResolvable) { - cdkBuilder.sourceIpConfig(sourceIpConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceIpConfig(sourceIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3929,7 +3929,7 @@ public open class CfnListenerRule( * Specify only when `Field` is `source-ip` . */ override fun sourceIpConfig(sourceIpConfig: SourceIpConfigProperty) { - cdkBuilder.sourceIpConfig(sourceIpConfig.let(SourceIpConfigProperty::unwrap)) + cdkBuilder.sourceIpConfig(sourceIpConfig.let(SourceIpConfigProperty.Companion::unwrap)) } /** @@ -4344,7 +4344,7 @@ public open class CfnListenerRule( * @param enabled Indicates whether target group stickiness is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRuleProps.kt index 759f7decb1..f1dc0e76d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnListenerRuleProps.kt @@ -242,7 +242,7 @@ public interface CfnListenerRuleProps { * is for an HTTPS listener, it can also optionally include an authentication action. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnListenerRuleProps { * `query-string` . */ override fun conditions(conditions: IResolvable) { - cdkBuilder.conditions(conditions.let(IResolvable::unwrap)) + cdkBuilder.conditions(conditions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancer.kt index 743066f2e5..7d4fda5654 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancer.kt @@ -60,7 +60,7 @@ public open class CfnLoadBalancer( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class CfnLoadBalancer( id: String, props: CfnLoadBalancerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoadBalancerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoadBalancerProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class CfnLoadBalancer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnLoadBalancer( * The load balancer attributes. */ public open fun loadBalancerAttributes(`value`: IResolvable) { - unwrap(this).setLoadBalancerAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoadBalancerAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnLoadBalancer( * The IDs of the subnets. */ public open fun subnetMappings(`value`: IResolvable) { - unwrap(this).setSubnetMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubnetMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnLoadBalancer( * The tags to assign to the load balancer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnLoadBalancer( * @param loadBalancerAttributes The load balancer attributes. */ override fun loadBalancerAttributes(loadBalancerAttributes: IResolvable) { - cdkBuilder.loadBalancerAttributes(loadBalancerAttributes.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerAttributes(loadBalancerAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class CfnLoadBalancer( * @param subnetMappings The IDs of the subnets. */ override fun subnetMappings(subnetMappings: IResolvable) { - cdkBuilder.subnetMappings(subnetMappings.let(IResolvable::unwrap)) + cdkBuilder.subnetMappings(subnetMappings.let(IResolvable.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class CfnLoadBalancer( * @param tags The tags to assign to the load balancer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancerProps.kt index 881463aa67..9784edf0eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnLoadBalancerProps.kt @@ -415,7 +415,7 @@ public interface CfnLoadBalancerProps { * @param loadBalancerAttributes The load balancer attributes. */ override fun loadBalancerAttributes(loadBalancerAttributes: IResolvable) { - cdkBuilder.loadBalancerAttributes(loadBalancerAttributes.let(IResolvable::unwrap)) + cdkBuilder.loadBalancerAttributes(loadBalancerAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public interface CfnLoadBalancerProps { * cannot specify Elastic IP addresses for your subnets. */ override fun subnetMappings(subnetMappings: IResolvable) { - cdkBuilder.subnetMappings(subnetMappings.let(IResolvable::unwrap)) + cdkBuilder.subnetMappings(subnetMappings.let(IResolvable.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public interface CfnLoadBalancerProps { * @param tags The tags to assign to the load balancer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroup.kt index a867b72b91..184b9949bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroup.kt @@ -79,7 +79,7 @@ public open class CfnTargetGroup( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.CfnTargetGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -88,8 +88,8 @@ public open class CfnTargetGroup( id: String, props: CfnTargetGroupProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTargetGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTargetGroupProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class CfnTargetGroup( * Indicates whether health checks are enabled. */ public open fun healthCheckEnabled(`value`: IResolvable) { - unwrap(this).setHealthCheckEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheckEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class CfnTargetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnTargetGroup( * response from a target. */ public open fun matcher(`value`: IResolvable) { - unwrap(this).setMatcher(`value`.let(IResolvable::unwrap)) + unwrap(this).setMatcher(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class CfnTargetGroup( * response from a target. */ public open fun matcher(`value`: MatcherProperty) { - unwrap(this).setMatcher(`value`.let(MatcherProperty::unwrap)) + unwrap(this).setMatcher(`value`.let(MatcherProperty.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnTargetGroup( * The tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnTargetGroup( * The attributes. */ public open fun targetGroupAttributes(`value`: IResolvable) { - unwrap(this).setTargetGroupAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetGroupAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class CfnTargetGroup( * The targets. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnTargetGroup( * @param healthCheckEnabled Indicates whether health checks are enabled. */ override fun healthCheckEnabled(healthCheckEnabled: IResolvable) { - cdkBuilder.healthCheckEnabled(healthCheckEnabled.let(IResolvable::unwrap)) + cdkBuilder.healthCheckEnabled(healthCheckEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -905,7 +905,7 @@ public open class CfnTargetGroup( * successful response from a target. */ override fun matcher(matcher: IResolvable) { - cdkBuilder.matcher(matcher.let(IResolvable::unwrap)) + cdkBuilder.matcher(matcher.let(IResolvable.Companion::unwrap)) } /** @@ -921,7 +921,7 @@ public open class CfnTargetGroup( * successful response from a target. */ override fun matcher(matcher: MatcherProperty) { - cdkBuilder.matcher(matcher.let(MatcherProperty::unwrap)) + cdkBuilder.matcher(matcher.let(MatcherProperty.Companion::unwrap)) } /** @@ -1002,7 +1002,7 @@ public open class CfnTargetGroup( * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1020,7 +1020,7 @@ public open class CfnTargetGroup( * @param targetGroupAttributes The attributes. */ override fun targetGroupAttributes(targetGroupAttributes: IResolvable) { - cdkBuilder.targetGroupAttributes(targetGroupAttributes.let(IResolvable::unwrap)) + cdkBuilder.targetGroupAttributes(targetGroupAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -1070,7 +1070,7 @@ public open class CfnTargetGroup( * @param targets The targets. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroupProps.kt index 41860e1e7b..7deeabe6b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTargetGroupProps.kt @@ -506,7 +506,7 @@ public interface CfnTargetGroupProps { * disabled. */ override fun healthCheckEnabled(healthCheckEnabled: IResolvable) { - cdkBuilder.healthCheckEnabled(healthCheckEnabled.let(IResolvable::unwrap)) + cdkBuilder.healthCheckEnabled(healthCheckEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public interface CfnTargetGroupProps { * protocol of GENEVE, the range is 200-399. */ override fun matcher(matcher: IResolvable) { - cdkBuilder.matcher(matcher.let(IResolvable::unwrap)) + cdkBuilder.matcher(matcher.let(IResolvable.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface CfnTargetGroupProps { * protocol of GENEVE, the range is 200-399. */ override fun matcher(matcher: CfnTargetGroup.MatcherProperty) { - cdkBuilder.matcher(matcher.let(CfnTargetGroup.MatcherProperty::unwrap)) + cdkBuilder.matcher(matcher.let(CfnTargetGroup.MatcherProperty.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public interface CfnTargetGroupProps { * @param tags The tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public interface CfnTargetGroupProps { * @param targetGroupAttributes The attributes. */ override fun targetGroupAttributes(targetGroupAttributes: IResolvable) { - cdkBuilder.targetGroupAttributes(targetGroupAttributes.let(IResolvable::unwrap)) + cdkBuilder.targetGroupAttributes(targetGroupAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public interface CfnTargetGroupProps { * @param targets The targets. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStore.kt index ffa8f4b15f..6b4abb2a83 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStore.kt @@ -45,7 +45,7 @@ public open class CfnTrustStore( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStore, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class CfnTrustStore( id: String, props: CfnTrustStoreProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrustStoreProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrustStoreProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnTrustStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnTrustStore( * The tags to assign to the trust store. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnTrustStore( * @param tags The tags to assign to the trust store. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreProps.kt index 2f20bcc3d5..31dc493a18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreProps.kt @@ -150,7 +150,7 @@ public interface CfnTrustStoreProps { * @param tags The tags to assign to the trust store. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocation.kt index b83acecadc..47cb5e5c74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocation.kt @@ -46,7 +46,7 @@ public open class CfnTrustStoreRevocation( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStoreRevocation, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStoreRevocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStoreRevocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -55,8 +55,8 @@ public open class CfnTrustStoreRevocation( id: String, props: CfnTrustStoreRevocationProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStoreRevocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrustStoreRevocationProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.CfnTrustStoreRevocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrustStoreRevocationProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnTrustStoreRevocation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public open class CfnTrustStoreRevocation( * The revocation file to add. */ public open fun revocationContents(`value`: IResolvable) { - unwrap(this).setRevocationContents(`value`.let(IResolvable::unwrap)) + unwrap(this).setRevocationContents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnTrustStoreRevocation( * @param revocationContents The revocation file to add. */ override fun revocationContents(revocationContents: IResolvable) { - cdkBuilder.revocationContents(revocationContents.let(IResolvable::unwrap)) + cdkBuilder.revocationContents(revocationContents.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocationProps.kt index 27e63edf4b..813fcae974 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/CfnTrustStoreRevocationProps.kt @@ -85,7 +85,7 @@ public interface CfnTrustStoreRevocationProps { * @param revocationContents The revocation file to add. */ override fun revocationContents(revocationContents: IResolvable) { - cdkBuilder.revocationContents(revocationContents.let(IResolvable::unwrap)) + cdkBuilder.revocationContents(revocationContents.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ForwardOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ForwardOptions.kt index 8f14536204..e86c741ced 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ForwardOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ForwardOptions.kt @@ -56,7 +56,7 @@ public interface ForwardOptions { * Range between 1 second and 7 days. */ override fun stickinessDuration(stickinessDuration: Duration) { - cdkBuilder.stickinessDuration(stickinessDuration.let(Duration::unwrap)) + cdkBuilder.stickinessDuration(stickinessDuration.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.ForwardOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/HealthCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/HealthCheck.kt index 15e5271580..45f70c570f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/HealthCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/HealthCheck.kt @@ -264,7 +264,7 @@ public interface HealthCheck { * Must be 5 to 300 seconds */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface HealthCheck { * The TLS, UDP, and TCP_UDP protocols are not supported for health checks. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface HealthCheck { * Must be 2 to 120 seconds. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationListener.kt index c076eca362..c6bd51b5ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationListener.kt @@ -165,7 +165,7 @@ public interface IApplicationListener : IListener, IConnectable { * @param props */ override fun addAction(id: String, props: AddApplicationActionProps) { - unwrap(this).addAction(id, props.let(AddApplicationActionProps::unwrap)) + unwrap(this).addAction(id, props.let(AddApplicationActionProps.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface IApplicationListener : IListener, IConnectable { * @param certificates */ override fun addCertificates(id: String, certificates: List) { - unwrap(this).addCertificates(id, certificates.map(IListenerCertificate::unwrap)) + unwrap(this).addCertificates(id, certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public interface IApplicationListener : IListener, IConnectable { * @param props */ override fun addTargetGroups(id: String, props: AddApplicationTargetGroupsProps) { - unwrap(this).addTargetGroups(id, props.let(AddApplicationTargetGroupsProps::unwrap)) + unwrap(this).addTargetGroups(id, props.let(AddApplicationTargetGroupsProps.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface IApplicationListener : IListener, IConnectable { */ override fun addTargets(id: String, props: AddApplicationTargetsProps): ApplicationTargetGroup = unwrap(this).addTargets(id, - props.let(AddApplicationTargetsProps::unwrap)).let(ApplicationTargetGroup::wrap) + props.let(AddApplicationTargetsProps.Companion::unwrap)).let(ApplicationTargetGroup::wrap) /** * Load balance incoming requests to the given load balancing targets. @@ -276,7 +276,7 @@ public interface IApplicationListener : IListener, IConnectable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -312,8 +312,8 @@ public interface IApplicationListener : IListener, IConnectable { * @param portRange */ override fun registerConnectable(connectable: IConnectable, portRange: Port) { - unwrap(this).registerConnectable(connectable.let(IConnectable::unwrap), - portRange.let(Port::unwrap)) + unwrap(this).registerConnectable(connectable.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancer.kt index eeee9069d2..9f720bbea5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancer.kt @@ -83,7 +83,7 @@ public interface IApplicationLoadBalancer : ILoadBalancerV2, IConnectable { */ override fun addListener(id: String, props: BaseApplicationListenerProps): ApplicationListener = unwrap(this).addListener(id, - props.let(BaseApplicationListenerProps::unwrap)).let(ApplicationListener::wrap) + props.let(BaseApplicationListenerProps.Companion::unwrap)).let(ApplicationListener::wrap) /** * Add a new listener to this load balancer. @@ -110,7 +110,7 @@ public interface IApplicationLoadBalancer : ILoadBalancerV2, IConnectable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerMetrics.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerMetrics.kt index 964e874f4f..36250b289c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerMetrics.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerMetrics.kt @@ -806,7 +806,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun activeConnectionCount(props: MetricOptions): Metric = - unwrap(this).activeConnectionCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).activeConnectionCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of concurrent TCP connections active from clients to the load balancer and @@ -847,7 +847,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun clientTlsNegotiationErrorCount(props: MetricOptions): Metric = - unwrap(this).clientTlsNegotiationErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).clientTlsNegotiationErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of TLS connections initiated by the client that did not establish a session with @@ -882,7 +882,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun consumedLCUs(props: MetricOptions): Metric = - unwrap(this).consumedLCUs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).consumedLCUs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of load balancer capacity units (LCU) used by your load balancer. @@ -916,7 +916,8 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun custom(metricName: String, props: MetricOptions): Metric = - unwrap(this).custom(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).custom(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Application Load Balancer. @@ -956,7 +957,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun elbAuthError(props: MetricOptions): Metric = - unwrap(this).elbAuthError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).elbAuthError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of user authentications that could not be completed. @@ -993,7 +994,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun elbAuthFailure(props: MetricOptions): Metric = - unwrap(this).elbAuthFailure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).elbAuthFailure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of user authentications that could not be completed because the IdP denied access @@ -1029,7 +1030,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun elbAuthLatency(props: MetricOptions): Metric = - unwrap(this).elbAuthLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).elbAuthLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time elapsed, in milliseconds, to query the IdP for the ID token and user info. @@ -1068,7 +1069,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun elbAuthSuccess(props: MetricOptions): Metric = - unwrap(this).elbAuthSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).elbAuthSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of authenticate actions that were successful. @@ -1096,7 +1097,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpCodeElb(code: HttpCodeElb): Metric = - unwrap(this).httpCodeElb(code.let(HttpCodeElb::unwrap)).let(Metric::wrap) + unwrap(this).httpCodeElb(code.let(HttpCodeElb.Companion::unwrap)).let(Metric::wrap) /** * The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer. @@ -1109,8 +1110,8 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpCodeElb(code: HttpCodeElb, props: MetricOptions): Metric = - unwrap(this).httpCodeElb(code.let(HttpCodeElb::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).httpCodeElb(code.let(HttpCodeElb.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer. @@ -1139,7 +1140,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpCodeTarget(code: HttpCodeTarget): Metric = - unwrap(this).httpCodeTarget(code.let(HttpCodeTarget::unwrap)).let(Metric::wrap) + unwrap(this).httpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap)).let(Metric::wrap) /** * The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load @@ -1153,8 +1154,8 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpCodeTarget(code: HttpCodeTarget, props: MetricOptions): Metric = - unwrap(this).httpCodeTarget(code.let(HttpCodeTarget::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).httpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load @@ -1190,7 +1191,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpFixedResponseCount(props: MetricOptions): Metric = - unwrap(this).httpFixedResponseCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).httpFixedResponseCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of fixed-response actions that were successful. @@ -1221,7 +1222,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpRedirectCount(props: MetricOptions): Metric = - unwrap(this).httpRedirectCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).httpRedirectCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of redirect actions that were successful. @@ -1255,7 +1256,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun httpRedirectUrlLimitExceededCount(props: MetricOptions): Metric = - unwrap(this).httpRedirectUrlLimitExceededCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).httpRedirectUrlLimitExceededCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of redirect actions that couldn't be completed because the URL in the response @@ -1287,7 +1288,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun ipv6ProcessedBytes(props: MetricOptions): Metric = - unwrap(this).ipv6ProcessedBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).ipv6ProcessedBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of bytes processed by the load balancer over IPv6. @@ -1318,7 +1319,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun ipv6RequestCount(props: MetricOptions): Metric = - unwrap(this).ipv6RequestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).ipv6RequestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of IPv6 requests received by the load balancer. @@ -1351,7 +1352,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun newConnectionCount(props: MetricOptions): Metric = - unwrap(this).newConnectionCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).newConnectionCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of new TCP connections established from clients to the load balancer and @@ -1383,7 +1384,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun processedBytes(props: MetricOptions): Metric = - unwrap(this).processedBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).processedBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of bytes processed by the load balancer over IPv4 and IPv6. @@ -1417,7 +1418,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun rejectedConnectionCount(props: MetricOptions): Metric = - unwrap(this).rejectedConnectionCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).rejectedConnectionCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of connections that were rejected because the load balancer had reached its @@ -1455,7 +1456,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun requestCount(props: MetricOptions): Metric = - unwrap(this).requestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).requestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of requests processed over IPv4 and IPv6. @@ -1491,7 +1492,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun ruleEvaluations(props: MetricOptions): Metric = - unwrap(this).ruleEvaluations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).ruleEvaluations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of rules processed by the load balancer given a request rate averaged over an @@ -1526,7 +1527,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun targetConnectionErrorCount(props: MetricOptions): Metric = - unwrap(this).targetConnectionErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).targetConnectionErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of connections that were not successfully established between the load balancer @@ -1560,7 +1561,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun targetResponseTime(props: MetricOptions): Metric = - unwrap(this).targetResponseTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).targetResponseTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time elapsed, in seconds, after the request leaves the load balancer until a response @@ -1599,7 +1600,7 @@ public interface IApplicationLoadBalancerMetrics { * @param props */ override fun targetTLSNegotiationErrorCount(props: MetricOptions): Metric = - unwrap(this).targetTLSNegotiationErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).targetTLSNegotiationErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of TLS connections initiated by the load balancer that did not establish a session diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerTarget.kt index fc2eeeba19..8e18a7d11f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationLoadBalancerTarget.kt @@ -33,7 +33,7 @@ public interface IApplicationLoadBalancerTarget { */ override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroup.kt index cb93dec88f..4b95ab1802 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroup.kt @@ -123,7 +123,7 @@ public interface IApplicationTargetGroup : ITargetGroup { * @param portRange */ override fun registerConnectable(connectable: IConnectable) { - unwrap(this).registerConnectable(connectable.let(IConnectable::unwrap)) + unwrap(this).registerConnectable(connectable.let(IConnectable.Companion::unwrap)) } /** @@ -135,8 +135,8 @@ public interface IApplicationTargetGroup : ITargetGroup { * @param portRange */ override fun registerConnectable(connectable: IConnectable, portRange: Port) { - unwrap(this).registerConnectable(connectable.let(IConnectable::unwrap), - portRange.let(Port::unwrap)) + unwrap(this).registerConnectable(connectable.let(IConnectable.Companion::unwrap), + portRange.let(Port.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public interface IApplicationTargetGroup : ITargetGroup { * @param associatingConstruct */ override fun registerListener(listener: IApplicationListener) { - unwrap(this).registerListener(listener.let(IApplicationListener::unwrap)) + unwrap(this).registerListener(listener.let(IApplicationListener.Companion::unwrap)) } /** @@ -174,8 +174,8 @@ public interface IApplicationTargetGroup : ITargetGroup { */ override fun registerListener(listener: IApplicationListener, associatingConstruct: IConstruct) { - unwrap(this).registerListener(listener.let(IApplicationListener::unwrap), - associatingConstruct.let(IConstruct::unwrap)) + unwrap(this).registerListener(listener.let(IApplicationListener.Companion::unwrap), + associatingConstruct.let(IConstruct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroupMetrics.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroupMetrics.kt index 6b2b14358d..4795812b1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroupMetrics.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IApplicationTargetGroupMetrics.kt @@ -372,7 +372,8 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun custom(metricName: String, props: MetricOptions): Metric = - unwrap(this).custom(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).custom(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Network Target Group. @@ -404,7 +405,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun healthyHostCount(props: MetricOptions): Metric = - unwrap(this).healthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).healthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of healthy hosts in the target group. @@ -430,7 +431,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun httpCodeTarget(code: HttpCodeTarget): Metric = - unwrap(this).httpCodeTarget(code.let(HttpCodeTarget::unwrap)).let(Metric::wrap) + unwrap(this).httpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap)).let(Metric::wrap) /** * The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this target @@ -444,8 +445,8 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun httpCodeTarget(code: HttpCodeTarget, props: MetricOptions): Metric = - unwrap(this).httpCodeTarget(code.let(HttpCodeTarget::unwrap), - props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).httpCodeTarget(code.let(HttpCodeTarget.Companion::unwrap), + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in this target @@ -480,7 +481,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun ipv6RequestCount(props: MetricOptions): Metric = - unwrap(this).ipv6RequestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).ipv6RequestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of IPv6 requests received by the target group. @@ -517,7 +518,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun requestCount(props: MetricOptions): Metric = - unwrap(this).requestCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).requestCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of requests processed over IPv4 and IPv6. @@ -556,7 +557,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun requestCountPerTarget(props: MetricOptions): Metric = - unwrap(this).requestCountPerTarget(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).requestCountPerTarget(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of requests received by each target in a target group. @@ -592,7 +593,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun targetConnectionErrorCount(props: MetricOptions): Metric = - unwrap(this).targetConnectionErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).targetConnectionErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of connections that were not successfully established between the load balancer @@ -626,7 +627,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun targetResponseTime(props: MetricOptions): Metric = - unwrap(this).targetResponseTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).targetResponseTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time elapsed, in seconds, after the request leaves the load balancer until a response @@ -665,7 +666,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun targetTLSNegotiationErrorCount(props: MetricOptions): Metric = - unwrap(this).targetTLSNegotiationErrorCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).targetTLSNegotiationErrorCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of TLS connections initiated by the load balancer that did not establish a session @@ -699,7 +700,7 @@ public interface IApplicationTargetGroupMetrics { * @param props */ override fun unhealthyHostCount(props: MetricOptions): Metric = - unwrap(this).unhealthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).unhealthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of unhealthy hosts in the target group. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IListener.kt index f19c08aaa3..ea82070dbd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/IListener.kt @@ -37,7 +37,7 @@ public interface IListener : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ILoadBalancerV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ILoadBalancerV2.kt index 93839b15bf..7306bb75f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ILoadBalancerV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ILoadBalancerV2.kt @@ -46,7 +46,7 @@ public interface ILoadBalancerV2 : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkListener.kt index 7050b770f2..0c910b3d74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkListener.kt @@ -31,7 +31,7 @@ public interface INetworkListener : IListener { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancer.kt index bfc40d95b6..0015625e37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancer.kt @@ -87,7 +87,7 @@ public interface INetworkLoadBalancer : ILoadBalancerV2, IVpcEndpointServiceLoad */ override fun addListener(id: String, props: BaseNetworkListenerProps): NetworkListener = unwrap(this).addListener(id, - props.let(BaseNetworkListenerProps::unwrap)).let(NetworkListener::wrap) + props.let(BaseNetworkListenerProps.Companion::unwrap)).let(NetworkListener::wrap) /** * Add a listener to this load balancer. @@ -115,7 +115,7 @@ public interface INetworkLoadBalancer : ILoadBalancerV2, IVpcEndpointServiceLoad * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerMetrics.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerMetrics.kt index d0e543362d..e091e3c790 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerMetrics.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerMetrics.kt @@ -304,7 +304,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun activeFlowCount(props: MetricOptions): Metric = - unwrap(this).activeFlowCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).activeFlowCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of concurrent TCP flows (or connections) from clients to targets. @@ -339,7 +339,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun consumedLCUs(props: MetricOptions): Metric = - unwrap(this).consumedLCUs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).consumedLCUs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of load balancer capacity units (LCU) used by your load balancer. @@ -373,7 +373,8 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun custom(metricName: String, props: MetricOptions): Metric = - unwrap(this).custom(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).custom(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Network Load Balancer. @@ -407,7 +408,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun newFlowCount(props: MetricOptions): Metric = - unwrap(this).newFlowCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).newFlowCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of new TCP flows (or connections) established from clients to targets in the @@ -439,7 +440,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun processedBytes(props: MetricOptions): Metric = - unwrap(this).processedBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).processedBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of bytes processed by the load balancer, including TCP/IP headers. @@ -475,7 +476,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun tcpClientResetCount(props: MetricOptions): Metric = - unwrap(this).tcpClientResetCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).tcpClientResetCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of reset (RST) packets sent from a client to a target. @@ -508,7 +509,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun tcpElbResetCount(props: MetricOptions): Metric = - unwrap(this).tcpElbResetCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).tcpElbResetCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of reset (RST) packets generated by the load balancer. @@ -544,7 +545,7 @@ public interface INetworkLoadBalancerMetrics { * @param props */ override fun tcpTargetResetCount(props: MetricOptions): Metric = - unwrap(this).tcpTargetResetCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).tcpTargetResetCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of reset (RST) packets sent from a target to a client. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerTarget.kt index 5dc6bdbd5d..97cf5e8371 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkLoadBalancerTarget.kt @@ -32,7 +32,7 @@ public interface INetworkLoadBalancerTarget { */ override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroup.kt index b1595827d6..6e882f781d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroup.kt @@ -74,7 +74,7 @@ public interface INetworkTargetGroup : ITargetGroup { * @param listener */ override fun registerListener(listener: INetworkListener) { - unwrap(this).registerListener(listener.let(INetworkListener::unwrap)) + unwrap(this).registerListener(listener.let(INetworkListener.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroupMetrics.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroupMetrics.kt index 0b999af274..3c6884d335 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroupMetrics.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/INetworkTargetGroupMetrics.kt @@ -127,7 +127,8 @@ public interface INetworkTargetGroupMetrics { * @param props */ override fun custom(metricName: String, props: MetricOptions): Metric = - unwrap(this).custom(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).custom(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Network Target Group. @@ -159,7 +160,7 @@ public interface INetworkTargetGroupMetrics { * @param props */ override fun healthyHostCount(props: MetricOptions): Metric = - unwrap(this).healthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).healthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of targets that are considered healthy. @@ -190,7 +191,7 @@ public interface INetworkTargetGroupMetrics { * @param props */ override fun unHealthyHostCount(props: MetricOptions): Metric = - unwrap(this).unHealthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).unHealthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of targets that are considered unhealthy. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerAction.kt index 520ca41618..2f50ae4b40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerAction.kt @@ -57,7 +57,8 @@ public open class ListenerAction( * @param associatingConstruct */ public open fun bind(scope: Construct, listener: IApplicationListener) { - unwrap(this).bind(scope.let(Construct::unwrap), listener.let(IApplicationListener::unwrap)) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + listener.let(IApplicationListener.Companion::unwrap)) } /** @@ -72,8 +73,9 @@ public open class ListenerAction( listener: IApplicationListener, associatingConstruct: IConstruct, ) { - unwrap(this).bind(scope.let(Construct::unwrap), listener.let(IApplicationListener::unwrap), - associatingConstruct.let(IConstruct::unwrap)) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + listener.let(IApplicationListener.Companion::unwrap), + associatingConstruct.let(IConstruct.Companion::unwrap)) } /** @@ -90,7 +92,7 @@ public open class ListenerAction( public companion object { public fun authenticateOidc(options: AuthenticateOidcOptions): ListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.authenticateOidc(options.let(AuthenticateOidcOptions::unwrap)).let(ListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.authenticateOidc(options.let(AuthenticateOidcOptions.Companion::unwrap)).let(ListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("02f4270c547a02b7f0b9d0550ece424b1b41de91bfc69f93696b32175affcdfd") @@ -102,7 +104,7 @@ public open class ListenerAction( public fun fixedResponse(statusCode: Number, options: FixedResponseOptions): ListenerAction = software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.fixedResponse(statusCode, - options.let(FixedResponseOptions::unwrap)).let(ListenerAction::wrap) + options.let(FixedResponseOptions.Companion::unwrap)).let(ListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6ca345f3d3c2683f66fa1e38f24b92a4b0f6c61f223ba47cf89c0dbdd408da8b") @@ -110,15 +112,15 @@ public open class ListenerAction( ListenerAction = fixedResponse(statusCode, FixedResponseOptions(options)) public fun forward(targetGroups: List): ListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.forward(targetGroups.map(IApplicationTargetGroup::unwrap)).let(ListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.forward(targetGroups.map(IApplicationTargetGroup.Companion::unwrap)).let(ListenerAction::wrap) public fun forward(vararg targetGroups: IApplicationTargetGroup): ListenerAction = forward(targetGroups.toList()) public fun forward(targetGroups: List, options: ForwardOptions): ListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.forward(targetGroups.map(IApplicationTargetGroup::unwrap), - options.let(ForwardOptions::unwrap)).let(ListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.forward(targetGroups.map(IApplicationTargetGroup.Companion::unwrap), + options.let(ForwardOptions.Companion::unwrap)).let(ListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b1977ca66cf3b21839ab7046d80272a616a15a4f9d160ae53eba23adceb6f9d1") @@ -127,7 +129,7 @@ public open class ListenerAction( ForwardOptions(options)) public fun redirect(options: RedirectOptions): ListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.redirect(options.let(RedirectOptions::unwrap)).let(ListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.redirect(options.let(RedirectOptions.Companion::unwrap)).let(ListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ff3e5156e25823d24931fc41a372d9f2a6c74f1a1eab69d9035d3936cbcb40e4") @@ -135,15 +137,15 @@ public open class ListenerAction( redirect(RedirectOptions(options)) public fun weightedForward(targetGroups: List): ListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.weightedForward(targetGroups.map(WeightedTargetGroup::unwrap)).let(ListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.weightedForward(targetGroups.map(WeightedTargetGroup.Companion::unwrap)).let(ListenerAction::wrap) public fun weightedForward(vararg targetGroups: WeightedTargetGroup): ListenerAction = weightedForward(targetGroups.toList()) public fun weightedForward(targetGroups: List, options: ForwardOptions): ListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.weightedForward(targetGroups.map(WeightedTargetGroup::unwrap), - options.let(ForwardOptions::unwrap)).let(ListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerAction.weightedForward(targetGroups.map(WeightedTargetGroup.Companion::unwrap), + options.let(ForwardOptions.Companion::unwrap)).let(ListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f1faaf479f8b219868e510298addee08e2b43a0d635c2e647f5f5b14d4680765") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCertificate.kt index d270bacda5..1f6a79f632 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCertificate.kt @@ -31,7 +31,7 @@ public open class ListenerCertificate( software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCertificate.fromArn(certificateArn).let(ListenerCertificate::wrap) public fun fromCertificateManager(acmCertificate: ICertificate): ListenerCertificate = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCertificate.fromCertificateManager(acmCertificate.let(ICertificate::unwrap)).let(ListenerCertificate::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCertificate.fromCertificateManager(acmCertificate.let(ICertificate.Companion::unwrap)).let(ListenerCertificate::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCertificate): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCondition.kt index 7bb71efa99..718c3a2378 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/ListenerCondition.kt @@ -60,7 +60,7 @@ public abstract class ListenerCondition( pathPatterns(values.toList()) public fun queryStrings(values: List): ListenerCondition = - software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCondition.queryStrings(values.map(QueryStringCondition::unwrap)).let(ListenerCondition::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCondition.queryStrings(values.map(QueryStringCondition.Companion::unwrap)).let(ListenerCondition::wrap) public fun queryStrings(vararg values: QueryStringCondition): ListenerCondition = queryStrings(values.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/LoadBalancerTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/LoadBalancerTargetProps.kt index d105671a9b..f64df44260 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/LoadBalancerTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/LoadBalancerTargetProps.kt @@ -72,7 +72,7 @@ public interface LoadBalancerTargetProps { * @param targetType What kind of target this is. */ override fun targetType(targetType: TargetType) { - cdkBuilder.targetType(targetType.let(TargetType::unwrap)) + cdkBuilder.targetType(targetType.let(TargetType.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkForwardOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkForwardOptions.kt index ea9adae65d..9d0fdbd469 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkForwardOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkForwardOptions.kt @@ -56,7 +56,7 @@ public interface NetworkForwardOptions { * Range between 1 second and 7 days. */ override fun stickinessDuration(stickinessDuration: Duration) { - cdkBuilder.stickinessDuration(stickinessDuration.let(Duration::unwrap)) + cdkBuilder.stickinessDuration(stickinessDuration.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.NetworkForwardOptions diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListener.kt index 2ecbd6d0f1..35e1071106 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListener.kt @@ -49,8 +49,8 @@ public open class NetworkListener( id: String, props: NetworkListenerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkListenerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkListenerProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class NetworkListener( * @param props */ public open fun addAction(id: String, props: AddNetworkActionProps) { - unwrap(this).addAction(id, props.let(AddNetworkActionProps::unwrap)) + unwrap(this).addAction(id, props.let(AddNetworkActionProps.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class NetworkListener( * @param certificates */ public open fun addCertificates(id: String, certificates: List) { - unwrap(this).addCertificates(id, certificates.map(IListenerCertificate::unwrap)) + unwrap(this).addCertificates(id, certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class NetworkListener( */ public open fun addTargets(id: String, props: AddNetworkTargetsProps): NetworkTargetGroup = unwrap(this).addTargets(id, - props.let(AddNetworkTargetsProps::unwrap)).let(NetworkTargetGroup::wrap) + props.let(AddNetworkTargetsProps.Companion::unwrap)).let(NetworkTargetGroup::wrap) /** * Load balance incoming requests to the given load balancing targets. @@ -309,7 +309,7 @@ public open class NetworkListener( * sent on the initial TLS handshake hello messages. */ override fun alpnPolicy(alpnPolicy: AlpnPolicy) { - cdkBuilder.alpnPolicy(alpnPolicy.let(AlpnPolicy::unwrap)) + cdkBuilder.alpnPolicy(alpnPolicy.let(AlpnPolicy.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class NetworkListener( * @param certificates Certificate list of ACM cert ARNs. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class NetworkListener( * @param defaultAction Default action to take for requests to this listener. */ override fun defaultAction(defaultAction: NetworkListenerAction) { - cdkBuilder.defaultAction(defaultAction.let(NetworkListenerAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(NetworkListenerAction.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class NetworkListener( * @param defaultTargetGroups Default target groups to load balance to. */ override fun defaultTargetGroups(defaultTargetGroups: List) { - cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(INetworkTargetGroup::unwrap)) + cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(INetworkTargetGroup.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class NetworkListener( * @param loadBalancer The load balancer to attach this listener to. */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class NetworkListener( * @param protocol Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class NetworkListener( * @param sslPolicy SSL Policy. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener = @@ -437,8 +437,8 @@ public open class NetworkListener( id: String, options: NetworkListenerLookupOptions, ): INetworkListener = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, options.let(NetworkListenerLookupOptions::unwrap)).let(INetworkListener::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, options.let(NetworkListenerLookupOptions.Companion::unwrap)).let(INetworkListener::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("abba836d5b64859eb292993f79e315fb864ac07f994e22ba71ba4c2aa5303a97") @@ -453,7 +453,7 @@ public open class NetworkListener( id: String, networkListenerArn: String, ): INetworkListener = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener.fromNetworkListenerArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListener.fromNetworkListenerArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, networkListenerArn).let(INetworkListener::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerAction.kt index c238782832..d6fbd14519 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerAction.kt @@ -44,7 +44,8 @@ public open class NetworkListenerAction( * @param listener */ public open fun bind(scope: Construct, listener: INetworkListener) { - unwrap(this).bind(scope.let(Construct::unwrap), listener.let(INetworkListener::unwrap)) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + listener.let(INetworkListener.Companion::unwrap)) } /** @@ -61,15 +62,15 @@ public open class NetworkListenerAction( public companion object { public fun forward(targetGroups: List): NetworkListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.forward(targetGroups.map(INetworkTargetGroup::unwrap)).let(NetworkListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.forward(targetGroups.map(INetworkTargetGroup.Companion::unwrap)).let(NetworkListenerAction::wrap) public fun forward(vararg targetGroups: INetworkTargetGroup): NetworkListenerAction = forward(targetGroups.toList()) public fun forward(targetGroups: List, options: NetworkForwardOptions): NetworkListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.forward(targetGroups.map(INetworkTargetGroup::unwrap), - options.let(NetworkForwardOptions::unwrap)).let(NetworkListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.forward(targetGroups.map(INetworkTargetGroup.Companion::unwrap), + options.let(NetworkForwardOptions.Companion::unwrap)).let(NetworkListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b8de02d392eea3480b5baa6fa25dc414abfe95b01e64827e0f129d8d217b140d") @@ -79,15 +80,15 @@ public open class NetworkListenerAction( public fun weightedForward(targetGroups: List): NetworkListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.weightedForward(targetGroups.map(NetworkWeightedTargetGroup::unwrap)).let(NetworkListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.weightedForward(targetGroups.map(NetworkWeightedTargetGroup.Companion::unwrap)).let(NetworkListenerAction::wrap) public fun weightedForward(vararg targetGroups: NetworkWeightedTargetGroup): NetworkListenerAction = weightedForward(targetGroups.toList()) public fun weightedForward(targetGroups: List, options: NetworkForwardOptions): NetworkListenerAction = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.weightedForward(targetGroups.map(NetworkWeightedTargetGroup::unwrap), - options.let(NetworkForwardOptions::unwrap)).let(NetworkListenerAction::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction.weightedForward(targetGroups.map(NetworkWeightedTargetGroup.Companion::unwrap), + options.let(NetworkForwardOptions.Companion::unwrap)).let(NetworkListenerAction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a81ee2c40d375f94fdb3a1bab176498ab7876003dd1c156f2df5db10392ac1b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerLookupOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerLookupOptions.kt index d2797d5ed7..bbfe7de871 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerLookupOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerLookupOptions.kt @@ -76,7 +76,7 @@ public interface NetworkListenerLookupOptions : BaseListenerLookupOptions { * @param listenerProtocol Protocol of the listener port. */ override fun listenerProtocol(listenerProtocol: Protocol) { - cdkBuilder.listenerProtocol(listenerProtocol.let(Protocol::unwrap)) + cdkBuilder.listenerProtocol(listenerProtocol.let(Protocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerProps.kt index 26549af708..aefd7929d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkListenerProps.kt @@ -133,7 +133,7 @@ public interface NetworkListenerProps : BaseNetworkListenerProps { * Can only be specified together with Protocol TLS. */ override fun alpnPolicy(alpnPolicy: AlpnPolicy) { - cdkBuilder.alpnPolicy(alpnPolicy.let(AlpnPolicy::unwrap)) + cdkBuilder.alpnPolicy(alpnPolicy.let(AlpnPolicy.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface NetworkListenerProps : BaseNetworkListenerProps { * You must provide exactly one certificate if the listener protocol is HTTPS or TLS. */ override fun certificates(certificates: List) { - cdkBuilder.certificates(certificates.map(IListenerCertificate::unwrap)) + cdkBuilder.certificates(certificates.map(IListenerCertificate.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface NetworkListenerProps : BaseNetworkListenerProps { * Cannot be specified together with `defaultTargetGroups`. */ override fun defaultAction(defaultAction: NetworkListenerAction) { - cdkBuilder.defaultAction(defaultAction.let(NetworkListenerAction::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(NetworkListenerAction.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public interface NetworkListenerProps : BaseNetworkListenerProps { * Cannot be specified together with `defaultAction`. */ override fun defaultTargetGroups(defaultTargetGroups: List) { - cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(INetworkTargetGroup::unwrap)) + cdkBuilder.defaultTargetGroups(defaultTargetGroups.map(INetworkTargetGroup.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface NetworkListenerProps : BaseNetworkListenerProps { * @param loadBalancer The load balancer to attach this listener to. */ override fun loadBalancer(loadBalancer: INetworkLoadBalancer) { - cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer::unwrap)) + cdkBuilder.loadBalancer(loadBalancer.let(INetworkLoadBalancer.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public interface NetworkListenerProps : BaseNetworkListenerProps { * @param protocol Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** * @param sslPolicy SSL Policy. */ override fun sslPolicy(sslPolicy: SslPolicy) { - cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy::unwrap)) + cdkBuilder.sslPolicy(sslPolicy.let(SslPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancer.kt index a07ebf1647..119b112158 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancer.kt @@ -45,8 +45,8 @@ public open class NetworkLoadBalancer( id: String, props: NetworkLoadBalancerProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkLoadBalancerProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkLoadBalancerProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class NetworkLoadBalancer( */ public override fun addListener(id: String, props: BaseNetworkListenerProps): NetworkListener = unwrap(this).addListener(id, - props.let(BaseNetworkListenerProps::unwrap)).let(NetworkListener::wrap) + props.let(BaseNetworkListenerProps.Companion::unwrap)).let(NetworkListener::wrap) /** * Add a listener to this load balancer. @@ -85,7 +85,7 @@ public open class NetworkLoadBalancer( * @param securityGroup */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Return the given named metric for this Network Load Balancer. @@ -178,7 +178,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricActiveFlowCount(props: MetricOptions): Metric = - unwrap(this).metricActiveFlowCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricActiveFlowCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of concurrent TCP flows (or connections) from clients to targets. @@ -219,7 +219,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricConsumedLCUs(props: MetricOptions): Metric = - unwrap(this).metricConsumedLCUs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricConsumedLCUs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of load balancer capacity units (LCU) used by your load balancer. @@ -258,7 +258,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricNewFlowCount(props: MetricOptions): Metric = - unwrap(this).metricNewFlowCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNewFlowCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of new TCP flows (or connections) established from clients to @@ -299,7 +299,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricProcessedBytes(props: MetricOptions): Metric = - unwrap(this).metricProcessedBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricProcessedBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of bytes processed by the load balancer, including TCP/IP @@ -342,7 +342,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricTcpClientResetCount(props: MetricOptions): Metric = - unwrap(this).metricTcpClientResetCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTcpClientResetCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of reset (RST) packets sent from a client to a target. @@ -382,7 +382,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricTcpElbResetCount(props: MetricOptions): Metric = - unwrap(this).metricTcpElbResetCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTcpElbResetCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of reset (RST) packets generated by the load balancer. @@ -424,7 +424,7 @@ public open class NetworkLoadBalancer( */ @Deprecated(message = "deprecated in CDK") public open fun metricTcpTargetResetCount(props: MetricOptions): Metric = - unwrap(this).metricTcpTargetResetCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTcpTargetResetCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The total number of reset (RST) packets sent from a target to a client. @@ -613,7 +613,7 @@ public open class NetworkLoadBalancer( * @param clientRoutingPolicy The AZ affinity routing policy. */ override fun clientRoutingPolicy(clientRoutingPolicy: ClientRoutingPolicy) { - cdkBuilder.clientRoutingPolicy(clientRoutingPolicy.let(ClientRoutingPolicy::unwrap)) + cdkBuilder.clientRoutingPolicy(clientRoutingPolicy.let(ClientRoutingPolicy.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public open class NetworkLoadBalancer( * @param ipAddressType The type of IP addresses to use. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class NetworkLoadBalancer( * @param securityGroups Security groups to associate with this load balancer. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class NetworkLoadBalancer( * @param vpc The VPC network to place the load balancer in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class NetworkLoadBalancer( * @param vpcSubnets Which subnets place the load balancer in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -767,8 +767,9 @@ public open class NetworkLoadBalancer( id: String, options: NetworkLoadBalancerLookupOptions, ): INetworkLoadBalancer = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, options.let(NetworkLoadBalancerLookupOptions::unwrap)).let(INetworkLoadBalancer::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + options.let(NetworkLoadBalancerLookupOptions.Companion::unwrap)).let(INetworkLoadBalancer::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bcd51206aa6d66c8e1035cfa09dc81795e7186ac9e256f9be8d2c805945399b1") @@ -783,8 +784,9 @@ public open class NetworkLoadBalancer( id: String, attrs: NetworkLoadBalancerAttributes, ): INetworkLoadBalancer = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer.fromNetworkLoadBalancerAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(NetworkLoadBalancerAttributes::unwrap)).let(INetworkLoadBalancer::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer.fromNetworkLoadBalancerAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(NetworkLoadBalancerAttributes.Companion::unwrap)).let(INetworkLoadBalancer::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("068a2579d6c7917a88937fb61ae4cf40af5dd1d14d86741fca3de48637d669bb") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerAttributes.kt index 3d7311aef6..69b5d3fc41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerAttributes.kt @@ -161,7 +161,7 @@ public interface NetworkLoadBalancerAttributes { * @param vpc The VPC to associate with the load balancer. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerProps.kt index 6e5521946e..c3c04185ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkLoadBalancerProps.kt @@ -160,7 +160,7 @@ public interface NetworkLoadBalancerProps : BaseLoadBalancerProps { * @param clientRoutingPolicy The AZ affinity routing policy. */ override fun clientRoutingPolicy(clientRoutingPolicy: ClientRoutingPolicy) { - cdkBuilder.clientRoutingPolicy(clientRoutingPolicy.let(ClientRoutingPolicy::unwrap)) + cdkBuilder.clientRoutingPolicy(clientRoutingPolicy.let(ClientRoutingPolicy.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface NetworkLoadBalancerProps : BaseLoadBalancerProps { * you must choose IPv4. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface NetworkLoadBalancerProps : BaseLoadBalancerProps { * @param securityGroups Security groups to associate with this load balancer. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -235,14 +235,14 @@ public interface NetworkLoadBalancerProps : BaseLoadBalancerProps { * @param vpc The VPC network to place the load balancer in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Which subnets place the load balancer in. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroup.kt index b91b9a180e..bac0d98e2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroup.kt @@ -52,8 +52,8 @@ public open class NetworkTargetGroup( id: String, props: NetworkTargetGroupProps, ) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.NetworkTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NetworkTargetGroupProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.NetworkTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NetworkTargetGroupProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class NetworkTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricHealthyHostCount(props: MetricOptions): Metric = - unwrap(this).metricHealthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHealthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of targets that are considered healthy. @@ -139,7 +139,7 @@ public open class NetworkTargetGroup( */ @Deprecated(message = "deprecated in CDK") public open fun metricUnHealthyHostCount(props: MetricOptions): Metric = - unwrap(this).metricUnHealthyHostCount(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricUnHealthyHostCount(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) The number of targets that are considered unhealthy. @@ -169,7 +169,7 @@ public open class NetworkTargetGroup( * @param listener */ public override fun registerListener(listener: INetworkListener) { - unwrap(this).registerListener(listener.let(INetworkListener::unwrap)) + unwrap(this).registerListener(listener.let(INetworkListener.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class NetworkTargetGroup( * deregistering a target. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class NetworkTargetGroup( * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class NetworkTargetGroup( * @param protocol Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class NetworkTargetGroup( * @param targetType The type of targets registered to this TargetGroup, either IP or Instance. */ override fun targetType(targetType: TargetType) { - cdkBuilder.targetType(targetType.let(TargetType::unwrap)) + cdkBuilder.targetType(targetType.let(TargetType.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class NetworkTargetGroup( * @param targets The targets to add to this target group. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(INetworkLoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(INetworkLoadBalancerTarget.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class NetworkTargetGroup( * @param vpc The virtual private cloud (VPC). */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticloadbalancingv2.NetworkTargetGroup = @@ -512,8 +512,8 @@ public open class NetworkTargetGroup( id: String, attrs: TargetGroupAttributes, ): INetworkTargetGroup = - software.amazon.awscdk.services.elasticloadbalancingv2.NetworkTargetGroup.fromTargetGroupAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(TargetGroupAttributes::unwrap)).let(INetworkTargetGroup::wrap) + software.amazon.awscdk.services.elasticloadbalancingv2.NetworkTargetGroup.fromTargetGroupAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(TargetGroupAttributes.Companion::unwrap)).let(INetworkTargetGroup::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9e8569f93dff0c1e3a15c44bddcebbe3a3c3a3ab105f2a53138bf6a5aedbeaca") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroupProps.kt index 71e86d0d49..18a04a0157 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkTargetGroupProps.kt @@ -210,14 +210,14 @@ public interface NetworkTargetGroupProps : BaseTargetGroupProps { * The range is 0-3600 seconds. */ override fun deregistrationDelay(deregistrationDelay: Duration) { - cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration::unwrap)) + cdkBuilder.deregistrationDelay(deregistrationDelay.let(Duration.Companion::unwrap)) } /** * @param healthCheck Health check configuration. */ override fun healthCheck(healthCheck: HealthCheck) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheck::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public interface NetworkTargetGroupProps : BaseTargetGroupProps { * @param protocol Protocol for target group, expects TCP, TLS, UDP, or TCP_UDP. */ override fun protocol(protocol: Protocol) { - cdkBuilder.protocol(protocol.let(Protocol::unwrap)) + cdkBuilder.protocol(protocol.let(Protocol.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface NetworkTargetGroupProps : BaseTargetGroupProps { * determined automatically. */ override fun targetType(targetType: TargetType) { - cdkBuilder.targetType(targetType.let(TargetType::unwrap)) + cdkBuilder.targetType(targetType.let(TargetType.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface NetworkTargetGroupProps : BaseTargetGroupProps { * target must be of the same type. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(INetworkLoadBalancerTarget::unwrap)) + cdkBuilder.targets(targets.map(INetworkLoadBalancerTarget.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface NetworkTargetGroupProps : BaseTargetGroupProps { * only if `TargetType` is `Ip` or `InstanceId` */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkWeightedTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkWeightedTargetGroup.kt index 5a7922350e..5ddac2c698 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkWeightedTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/NetworkWeightedTargetGroup.kt @@ -66,7 +66,7 @@ public interface NetworkWeightedTargetGroup { * @param targetGroup The target group. */ override fun targetGroup(targetGroup: INetworkTargetGroup) { - cdkBuilder.targetGroup(targetGroup.let(INetworkTargetGroup::unwrap)) + cdkBuilder.targetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/TargetGroupBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/TargetGroupBase.kt index b222cecbde..23be9634cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/TargetGroupBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/TargetGroupBase.kt @@ -45,7 +45,7 @@ public abstract class TargetGroupBase( * @param healthCheck */ public open fun configureHealthCheck(healthCheck: HealthCheck) { - unwrap(this).configureHealthCheck(healthCheck.let(HealthCheck::unwrap)) + unwrap(this).configureHealthCheck(healthCheck.let(HealthCheck.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public abstract class TargetGroupBase( * Health check for the members of this target group. */ public open fun healthCheck(`value`: HealthCheck) { - unwrap(this).setHealthCheck(`value`.let(HealthCheck::unwrap)) + unwrap(this).setHealthCheck(`value`.let(HealthCheck.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/WeightedTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/WeightedTargetGroup.kt index 54678e91a3..32ab65ff2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/WeightedTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/WeightedTargetGroup.kt @@ -66,7 +66,7 @@ public interface WeightedTargetGroup { * @param targetGroup The target group. */ override fun targetGroup(targetGroup: IApplicationTargetGroup) { - cdkBuilder.targetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)) + cdkBuilder.targetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoAction.kt index b230cd2d98..a87a6405ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoAction.kt @@ -78,7 +78,7 @@ public open class AuthenticateCognitoAction( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.actions.AuthenticateCognitoAction, ) : ListenerAction(cdkObject) { public constructor(options: AuthenticateCognitoActionProps) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.actions.AuthenticateCognitoAction(options.let(AuthenticateCognitoActionProps::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.actions.AuthenticateCognitoAction(options.let(AuthenticateCognitoActionProps.Companion::unwrap)) ) public constructor(options: AuthenticateCognitoActionProps.Builder.() -> Unit) : @@ -93,7 +93,8 @@ public open class AuthenticateCognitoAction( * @param associatingConstruct */ public override fun bind(scope: Construct, listener: IApplicationListener) { - unwrap(this).bind(scope.let(Construct::unwrap), listener.let(IApplicationListener::unwrap)) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + listener.let(IApplicationListener.Companion::unwrap)) } /** @@ -108,8 +109,9 @@ public open class AuthenticateCognitoAction( listener: IApplicationListener, associatingConstruct: IConstruct, ) { - unwrap(this).bind(scope.let(Construct::unwrap), listener.let(IApplicationListener::unwrap), - associatingConstruct.let(IConstruct::unwrap)) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + listener.let(IApplicationListener.Companion::unwrap), + associatingConstruct.let(IConstruct.Companion::unwrap)) } /** @@ -263,7 +265,7 @@ public open class AuthenticateCognitoAction( * @param next What action to execute next. */ override fun next(next: ListenerAction) { - cdkBuilder.next(next.let(ListenerAction::unwrap)) + cdkBuilder.next(next.let(ListenerAction.Companion::unwrap)) } /** @@ -274,7 +276,7 @@ public open class AuthenticateCognitoAction( * @param onUnauthenticatedRequest The behavior if the user is not authenticated. */ override fun onUnauthenticatedRequest(onUnauthenticatedRequest: UnauthenticatedAction) { - cdkBuilder.onUnauthenticatedRequest(onUnauthenticatedRequest.let(UnauthenticatedAction::unwrap)) + cdkBuilder.onUnauthenticatedRequest(onUnauthenticatedRequest.let(UnauthenticatedAction.Companion::unwrap)) } /** @@ -310,7 +312,7 @@ public open class AuthenticateCognitoAction( * @param sessionTimeout The maximum duration of the authentication session. */ override fun sessionTimeout(sessionTimeout: Duration) { - cdkBuilder.sessionTimeout(sessionTimeout.let(Duration::unwrap)) + cdkBuilder.sessionTimeout(sessionTimeout.let(Duration.Companion::unwrap)) } /** @@ -319,7 +321,7 @@ public open class AuthenticateCognitoAction( * @param userPool The Amazon Cognito user pool. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } /** @@ -328,7 +330,7 @@ public open class AuthenticateCognitoAction( * @param userPoolClient The Amazon Cognito user pool client. */ override fun userPoolClient(userPoolClient: IUserPoolClient) { - cdkBuilder.userPoolClient(userPoolClient.let(IUserPoolClient::unwrap)) + cdkBuilder.userPoolClient(userPoolClient.let(IUserPoolClient.Companion::unwrap)) } /** @@ -338,7 +340,7 @@ public open class AuthenticateCognitoAction( * user pool. */ override fun userPoolDomain(userPoolDomain: IUserPoolDomain) { - cdkBuilder.userPoolDomain(userPoolDomain.let(IUserPoolDomain::unwrap)) + cdkBuilder.userPoolDomain(userPoolDomain.let(IUserPoolDomain.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoActionProps.kt index 759d690a9c..af0d393260 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/actions/AuthenticateCognitoActionProps.kt @@ -251,14 +251,14 @@ public interface AuthenticateCognitoActionProps { * (weighted)forward, fixedResponse or redirect action. */ override fun next(next: ListenerAction) { - cdkBuilder.next(next.let(ListenerAction::unwrap)) + cdkBuilder.next(next.let(ListenerAction.Companion::unwrap)) } /** * @param onUnauthenticatedRequest The behavior if the user is not authenticated. */ override fun onUnauthenticatedRequest(onUnauthenticatedRequest: UnauthenticatedAction) { - cdkBuilder.onUnauthenticatedRequest(onUnauthenticatedRequest.let(UnauthenticatedAction::unwrap)) + cdkBuilder.onUnauthenticatedRequest(onUnauthenticatedRequest.let(UnauthenticatedAction.Companion::unwrap)) } /** @@ -281,21 +281,21 @@ public interface AuthenticateCognitoActionProps { * @param sessionTimeout The maximum duration of the authentication session. */ override fun sessionTimeout(sessionTimeout: Duration) { - cdkBuilder.sessionTimeout(sessionTimeout.let(Duration::unwrap)) + cdkBuilder.sessionTimeout(sessionTimeout.let(Duration.Companion::unwrap)) } /** * @param userPool The Amazon Cognito user pool. */ override fun userPool(userPool: IUserPool) { - cdkBuilder.userPool(userPool.let(IUserPool::unwrap)) + cdkBuilder.userPool(userPool.let(IUserPool.Companion::unwrap)) } /** * @param userPoolClient The Amazon Cognito user pool client. */ override fun userPoolClient(userPoolClient: IUserPoolClient) { - cdkBuilder.userPoolClient(userPoolClient.let(IUserPoolClient::unwrap)) + cdkBuilder.userPoolClient(userPoolClient.let(IUserPoolClient.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface AuthenticateCognitoActionProps { * user pool. */ override fun userPoolDomain(userPoolDomain: IUserPoolDomain) { - cdkBuilder.userPoolDomain(userPoolDomain.let(IUserPoolDomain::unwrap)) + cdkBuilder.userPoolDomain(userPoolDomain.let(IUserPoolDomain.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbArnTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbArnTarget.kt index 69291f019d..f0c7966d0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbArnTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbArnTarget.kt @@ -38,7 +38,7 @@ public open class AlbArnTarget( */ public override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbTarget.kt index 11f1b79f7a..f432cfaa5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/AlbTarget.kt @@ -46,7 +46,7 @@ public open class AlbTarget( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbTarget, ) : AlbArnTarget(cdkObject) { public constructor(alb: IApplicationLoadBalancer, port: Number) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbTarget(alb.let(IApplicationLoadBalancer::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.AlbTarget(alb.let(IApplicationLoadBalancer.Companion::unwrap), port) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceIdTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceIdTarget.kt index 393bc8df77..0678fda537 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceIdTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceIdTarget.kt @@ -48,7 +48,7 @@ public open class InstanceIdTarget( */ public override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Register this instance target with a load balancer. @@ -60,7 +60,7 @@ public open class InstanceIdTarget( */ public override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceTarget.kt index 9495a6e4dd..d83d6f7db7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/InstanceTarget.kt @@ -21,11 +21,11 @@ public open class InstanceTarget( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.targets.InstanceTarget, ) : InstanceIdTarget(cdkObject) { public constructor(instance: Instance) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.InstanceTarget(instance.let(Instance::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.InstanceTarget(instance.let(Instance.Companion::unwrap)) ) public constructor(instance: Instance, port: Number) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.InstanceTarget(instance.let(Instance::unwrap), + this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.InstanceTarget(instance.let(Instance.Companion::unwrap), port) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/IpTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/IpTarget.kt index 4b08720f90..7d6bd6f6ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/IpTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/IpTarget.kt @@ -60,7 +60,7 @@ public open class IpTarget( */ public override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Register this instance target with a load balancer. @@ -72,7 +72,7 @@ public open class IpTarget( */ public override fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/LambdaTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/LambdaTarget.kt index ebf23aa9c0..18522e0ab9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/LambdaTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticloadbalancingv2/targets/LambdaTarget.kt @@ -33,7 +33,7 @@ public open class LambdaTarget( cdkObject: software.amazon.awscdk.services.elasticloadbalancingv2.targets.LambdaTarget, ) : CdkObject(cdkObject), IApplicationLoadBalancerTarget { public constructor(fn: IFunction) : - this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.LambdaTarget(fn.let(IFunction::unwrap)) + this(software.amazon.awscdk.services.elasticloadbalancingv2.targets.LambdaTarget(fn.let(IFunction.Companion::unwrap)) ) /** @@ -46,7 +46,7 @@ public open class LambdaTarget( */ public override fun attachToApplicationTargetGroup(targetGroup: IApplicationTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToApplicationTargetGroup(targetGroup.let(IApplicationTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) /** * Register this instance target with a load balancer. @@ -58,7 +58,7 @@ public open class LambdaTarget( */ public open fun attachToNetworkTargetGroup(targetGroup: INetworkTargetGroup): LoadBalancerTargetProps = - unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup::unwrap)).let(LoadBalancerTargetProps::wrap) + unwrap(this).attachToNetworkTargetGroup(targetGroup.let(INetworkTargetGroup.Companion::unwrap)).let(LoadBalancerTargetProps::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/AdvancedSecurityOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/AdvancedSecurityOptions.kt index e9fe10e858..4033595a55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/AdvancedSecurityOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/AdvancedSecurityOptions.kt @@ -139,7 +139,7 @@ public interface AdvancedSecurityOptions { */ @Deprecated(message = "deprecated in CDK") override fun masterUserPassword(masterUserPassword: SecretValue) { - cdkBuilder.masterUserPassword(masterUserPassword.let(SecretValue::unwrap)) + cdkBuilder.masterUserPassword(masterUserPassword.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticsearch.AdvancedSecurityOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomain.kt index 4e7d5dcfe6..6948b2fb68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomain.kt @@ -129,7 +129,7 @@ public open class CfnDomain( cdkObject: software.amazon.awscdk.services.elasticsearch.CfnDomain, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.elasticsearch.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.elasticsearch.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -138,8 +138,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.elasticsearch.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.elasticsearch.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -172,7 +172,7 @@ public open class CfnDomain( * Additional options to specify for the OpenSearch Service domain. */ public open fun advancedOptions(`value`: IResolvable) { - unwrap(this).setAdvancedOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdvancedOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -191,14 +191,14 @@ public open class CfnDomain( * Specifies options for fine-grained access control. */ public open fun advancedSecurityOptions(`value`: IResolvable) { - unwrap(this).setAdvancedSecurityOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdvancedSecurityOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies options for fine-grained access control. */ public open fun advancedSecurityOptions(`value`: AdvancedSecurityOptionsInputProperty) { - unwrap(this).setAdvancedSecurityOptions(`value`.let(AdvancedSecurityOptionsInputProperty::unwrap)) + unwrap(this).setAdvancedSecurityOptions(`value`.let(AdvancedSecurityOptionsInputProperty.Companion::unwrap)) } /** @@ -238,14 +238,14 @@ public open class CfnDomain( * Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. */ public open fun cognitoOptions(`value`: IResolvable) { - unwrap(this).setCognitoOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setCognitoOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. */ public open fun cognitoOptions(`value`: CognitoOptionsProperty) { - unwrap(this).setCognitoOptions(`value`.let(CognitoOptionsProperty::unwrap)) + unwrap(this).setCognitoOptions(`value`.let(CognitoOptionsProperty.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnDomain( * traffic or whether to use a custom endpoint rather than the default endpoint. */ public open fun domainEndpointOptions(`value`: IResolvable) { - unwrap(this).setDomainEndpointOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainEndpointOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class CfnDomain( * traffic or whether to use a custom endpoint rather than the default endpoint. */ public open fun domainEndpointOptions(`value`: DomainEndpointOptionsProperty) { - unwrap(this).setDomainEndpointOptions(`value`.let(DomainEndpointOptionsProperty::unwrap)) + unwrap(this).setDomainEndpointOptions(`value`.let(DomainEndpointOptionsProperty.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnDomain( * nodes in the OpenSearch Service domain. */ public open fun ebsOptions(`value`: IResolvable) { - unwrap(this).setEbsOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnDomain( * nodes in the OpenSearch Service domain. */ public open fun ebsOptions(`value`: EBSOptionsProperty) { - unwrap(this).setEbsOptions(`value`.let(EBSOptionsProperty::unwrap)) + unwrap(this).setEbsOptions(`value`.let(EBSOptionsProperty.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CfnDomain( * configures the cluster of an Amazon OpenSearch Service domain. */ public open fun elasticsearchClusterConfig(`value`: IResolvable) { - unwrap(this).setElasticsearchClusterConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticsearchClusterConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnDomain( * configures the cluster of an Amazon OpenSearch Service domain. */ public open fun elasticsearchClusterConfig(`value`: ElasticsearchClusterConfigProperty) { - unwrap(this).setElasticsearchClusterConfig(`value`.let(ElasticsearchClusterConfigProperty::unwrap)) + unwrap(this).setElasticsearchClusterConfig(`value`.let(ElasticsearchClusterConfigProperty.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnDomain( * to use. */ public open fun encryptionAtRestOptions(`value`: IResolvable) { - unwrap(this).setEncryptionAtRestOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionAtRestOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnDomain( * to use. */ public open fun encryptionAtRestOptions(`value`: EncryptionAtRestOptionsProperty) { - unwrap(this).setEncryptionAtRestOptions(`value`.let(EncryptionAtRestOptionsProperty::unwrap)) + unwrap(this).setEncryptionAtRestOptions(`value`.let(EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnDomain( * `INDEX_SLOW_LOGS` , `AUDIT_LOGS` , depending on the types of logs you want to publish. */ public open fun logPublishingOptions(`value`: IResolvable) { - unwrap(this).setLogPublishingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogPublishingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -467,14 +467,14 @@ public open class CfnDomain( * Specifies whether node-to-node encryption is enabled. */ public open fun nodeToNodeEncryptionOptions(`value`: IResolvable) { - unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies whether node-to-node encryption is enabled. */ public open fun nodeToNodeEncryptionOptions(`value`: NodeToNodeEncryptionOptionsProperty) { - unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(NodeToNodeEncryptionOptionsProperty::unwrap)) + unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(NodeToNodeEncryptionOptionsProperty.Companion::unwrap)) } /** @@ -495,14 +495,14 @@ public open class CfnDomain( * *DEPRECATED* . */ public open fun snapshotOptions(`value`: IResolvable) { - unwrap(this).setSnapshotOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnapshotOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * *DEPRECATED* . */ public open fun snapshotOptions(`value`: SnapshotOptionsProperty) { - unwrap(this).setSnapshotOptions(`value`.let(SnapshotOptionsProperty::unwrap)) + unwrap(this).setSnapshotOptions(`value`.let(SnapshotOptionsProperty.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnDomain( * An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -545,14 +545,14 @@ public open class CfnDomain( * The virtual private cloud (VPC) configuration for the OpenSearch Service domain. */ public open fun vpcOptions(`value`: IResolvable) { - unwrap(this).setVpcOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual private cloud (VPC) configuration for the OpenSearch Service domain. */ public open fun vpcOptions(`value`: VPCOptionsProperty) { - unwrap(this).setVpcOptions(`value`.let(VPCOptionsProperty::unwrap)) + unwrap(this).setVpcOptions(`value`.let(VPCOptionsProperty.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class CfnDomain( * @param advancedOptions Additional options to specify for the OpenSearch Service domain. */ override fun advancedOptions(advancedOptions: IResolvable) { - cdkBuilder.advancedOptions(advancedOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedOptions(advancedOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1089,7 +1089,7 @@ public open class CfnDomain( * @param advancedSecurityOptions Specifies options for fine-grained access control. */ override fun advancedSecurityOptions(advancedSecurityOptions: IResolvable) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1100,7 +1100,7 @@ public open class CfnDomain( */ override fun advancedSecurityOptions(advancedSecurityOptions: AdvancedSecurityOptionsInputProperty) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(AdvancedSecurityOptionsInputProperty::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(AdvancedSecurityOptionsInputProperty.Companion::unwrap)) } /** @@ -1124,7 +1124,7 @@ public open class CfnDomain( * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: IResolvable) { - cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class CfnDomain( * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: CognitoOptionsProperty) { - cdkBuilder.cognitoOptions(cognitoOptions.let(CognitoOptionsProperty::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(CognitoOptionsProperty.Companion::unwrap)) } /** @@ -1168,7 +1168,7 @@ public open class CfnDomain( * default endpoint. */ override fun domainEndpointOptions(domainEndpointOptions: IResolvable) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1181,7 +1181,7 @@ public open class CfnDomain( * default endpoint. */ override fun domainEndpointOptions(domainEndpointOptions: DomainEndpointOptionsProperty) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(DomainEndpointOptionsProperty::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(DomainEndpointOptionsProperty.Companion::unwrap)) } /** @@ -1235,7 +1235,7 @@ public open class CfnDomain( * are attached to data nodes in the OpenSearch Service domain. */ override fun ebsOptions(ebsOptions: IResolvable) { - cdkBuilder.ebsOptions(ebsOptions.let(IResolvable::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1251,7 +1251,7 @@ public open class CfnDomain( * are attached to data nodes in the OpenSearch Service domain. */ override fun ebsOptions(ebsOptions: EBSOptionsProperty) { - cdkBuilder.ebsOptions(ebsOptions.let(EBSOptionsProperty::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(EBSOptionsProperty.Companion::unwrap)) } /** @@ -1281,7 +1281,7 @@ public open class CfnDomain( * domain. */ override fun elasticsearchClusterConfig(elasticsearchClusterConfig: IResolvable) { - cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1295,7 +1295,7 @@ public open class CfnDomain( */ override fun elasticsearchClusterConfig(elasticsearchClusterConfig: ElasticsearchClusterConfigProperty) { - cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(ElasticsearchClusterConfigProperty::unwrap)) + cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(ElasticsearchClusterConfigProperty.Companion::unwrap)) } /** @@ -1353,7 +1353,7 @@ public open class CfnDomain( * AWS Key Management Service key to use. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: IResolvable) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1369,7 +1369,7 @@ public open class CfnDomain( * AWS Key Management Service key to use. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: EncryptionAtRestOptionsProperty) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(EncryptionAtRestOptionsProperty::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -1402,7 +1402,7 @@ public open class CfnDomain( * types of logs you want to publish. */ override fun logPublishingOptions(logPublishingOptions: IResolvable) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1430,7 +1430,7 @@ public open class CfnDomain( * @param nodeToNodeEncryptionOptions Specifies whether node-to-node encryption is enabled. */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: IResolvable) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1444,7 +1444,7 @@ public open class CfnDomain( */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: NodeToNodeEncryptionOptionsProperty) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(NodeToNodeEncryptionOptionsProperty::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(NodeToNodeEncryptionOptionsProperty.Companion::unwrap)) } /** @@ -1472,7 +1472,7 @@ public open class CfnDomain( * @param snapshotOptions *DEPRECATED* . */ override fun snapshotOptions(snapshotOptions: IResolvable) { - cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1484,7 +1484,7 @@ public open class CfnDomain( * @param snapshotOptions *DEPRECATED* . */ override fun snapshotOptions(snapshotOptions: SnapshotOptionsProperty) { - cdkBuilder.snapshotOptions(snapshotOptions.let(SnapshotOptionsProperty::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(SnapshotOptionsProperty.Companion::unwrap)) } /** @@ -1508,7 +1508,7 @@ public open class CfnDomain( * Service domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1532,7 +1532,7 @@ public open class CfnDomain( * domain. */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1547,7 +1547,7 @@ public open class CfnDomain( * domain. */ override fun vpcOptions(vpcOptions: VPCOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(VPCOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(VPCOptionsProperty.Companion::unwrap)) } /** @@ -1725,7 +1725,7 @@ public open class CfnDomain( * @param anonymousAuthEnabled the value to be set. */ override fun anonymousAuthEnabled(anonymousAuthEnabled: IResolvable) { - cdkBuilder.anonymousAuthEnabled(anonymousAuthEnabled.let(IResolvable::unwrap)) + cdkBuilder.anonymousAuthEnabled(anonymousAuthEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1741,7 +1741,7 @@ public open class CfnDomain( * You must also enable encryption of data at rest and node-to-node encryption. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1755,21 +1755,21 @@ public open class CfnDomain( * @param internalUserDatabaseEnabled True to enable the internal user database. */ override fun internalUserDatabaseEnabled(internalUserDatabaseEnabled: IResolvable) { - cdkBuilder.internalUserDatabaseEnabled(internalUserDatabaseEnabled.let(IResolvable::unwrap)) + cdkBuilder.internalUserDatabaseEnabled(internalUserDatabaseEnabled.let(IResolvable.Companion::unwrap)) } /** * @param masterUserOptions Specifies information about the master user. */ override fun masterUserOptions(masterUserOptions: IResolvable) { - cdkBuilder.masterUserOptions(masterUserOptions.let(IResolvable::unwrap)) + cdkBuilder.masterUserOptions(masterUserOptions.let(IResolvable.Companion::unwrap)) } /** * @param masterUserOptions Specifies information about the master user. */ override fun masterUserOptions(masterUserOptions: MasterUserOptionsProperty) { - cdkBuilder.masterUserOptions(masterUserOptions.let(MasterUserOptionsProperty::unwrap)) + cdkBuilder.masterUserOptions(masterUserOptions.let(MasterUserOptionsProperty.Companion::unwrap)) } /** @@ -1979,7 +1979,7 @@ public open class CfnDomain( * . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2154,7 +2154,7 @@ public open class CfnDomain( * You must enable UltraWarm storage in order to enable cold storage. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2363,7 +2363,7 @@ public open class CfnDomain( * `CustomEndpointCertificateArn` . */ override fun customEndpointEnabled(customEndpointEnabled: IResolvable) { - cdkBuilder.customEndpointEnabled(customEndpointEnabled.let(IResolvable::unwrap)) + cdkBuilder.customEndpointEnabled(customEndpointEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2377,7 +2377,7 @@ public open class CfnDomain( * @param enforceHttps True to require that all traffic to the domain arrive over HTTPS. */ override fun enforceHttps(enforceHttps: IResolvable) { - cdkBuilder.enforceHttps(enforceHttps.let(IResolvable::unwrap)) + cdkBuilder.enforceHttps(enforceHttps.let(IResolvable.Companion::unwrap)) } /** @@ -2600,7 +2600,7 @@ public open class CfnDomain( * OpenSearch Service domain. */ override fun ebsEnabled(ebsEnabled: IResolvable) { - cdkBuilder.ebsEnabled(ebsEnabled.let(IResolvable::unwrap)) + cdkBuilder.ebsEnabled(ebsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3015,14 +3015,14 @@ public open class CfnDomain( * @param coldStorageOptions Specifies cold storage options for the domain. */ override fun coldStorageOptions(coldStorageOptions: IResolvable) { - cdkBuilder.coldStorageOptions(coldStorageOptions.let(IResolvable::unwrap)) + cdkBuilder.coldStorageOptions(coldStorageOptions.let(IResolvable.Companion::unwrap)) } /** * @param coldStorageOptions Specifies cold storage options for the domain. */ override fun coldStorageOptions(coldStorageOptions: ColdStorageOptionsProperty) { - cdkBuilder.coldStorageOptions(coldStorageOptions.let(ColdStorageOptionsProperty::unwrap)) + cdkBuilder.coldStorageOptions(coldStorageOptions.let(ColdStorageOptionsProperty.Companion::unwrap)) } /** @@ -3068,7 +3068,7 @@ public open class CfnDomain( * . */ override fun dedicatedMasterEnabled(dedicatedMasterEnabled: IResolvable) { - cdkBuilder.dedicatedMasterEnabled(dedicatedMasterEnabled.let(IResolvable::unwrap)) + cdkBuilder.dedicatedMasterEnabled(dedicatedMasterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3121,7 +3121,7 @@ public open class CfnDomain( * @param warmEnabled Whether to enable warm storage for the cluster. */ override fun warmEnabled(warmEnabled: IResolvable) { - cdkBuilder.warmEnabled(warmEnabled.let(IResolvable::unwrap)) + cdkBuilder.warmEnabled(warmEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3137,7 +3137,7 @@ public open class CfnDomain( * Only use if `ZoneAwarenessEnabled` is `true` . */ override fun zoneAwarenessConfig(zoneAwarenessConfig: IResolvable) { - cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(IResolvable::unwrap)) + cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3145,7 +3145,7 @@ public open class CfnDomain( * Only use if `ZoneAwarenessEnabled` is `true` . */ override fun zoneAwarenessConfig(zoneAwarenessConfig: ZoneAwarenessConfigProperty) { - cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(ZoneAwarenessConfigProperty::unwrap)) + cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(ZoneAwarenessConfigProperty.Companion::unwrap)) } /** @@ -3185,7 +3185,7 @@ public open class CfnDomain( * . */ override fun zoneAwarenessEnabled(zoneAwarenessEnabled: IResolvable) { - cdkBuilder.zoneAwarenessEnabled(zoneAwarenessEnabled.let(IResolvable::unwrap)) + cdkBuilder.zoneAwarenessEnabled(zoneAwarenessEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3413,7 +3413,7 @@ public open class CfnDomain( * @param enabled Specify `true` to enable encryption at rest. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -3573,7 +3573,7 @@ public open class CfnDomain( * Default: `false` . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3857,7 +3857,7 @@ public open class CfnDomain( * @param enabled Specifies whether node-to-node encryption is enabled, as a Boolean. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomainProps.kt index 2ba9727314..ea5a61420d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CfnDomainProps.kt @@ -615,7 +615,7 @@ public interface CfnDomainProps { * in the *Amazon OpenSearch Service Developer Guide* . */ override fun advancedOptions(advancedOptions: IResolvable) { - cdkBuilder.advancedOptions(advancedOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedOptions(advancedOptions.let(IResolvable.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public interface CfnDomainProps { * @param advancedSecurityOptions Specifies options for fine-grained access control. */ override fun advancedSecurityOptions(advancedSecurityOptions: IResolvable) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable.Companion::unwrap)) } /** @@ -640,7 +640,7 @@ public interface CfnDomainProps { */ override fun advancedSecurityOptions(advancedSecurityOptions: CfnDomain.AdvancedSecurityOptionsInputProperty) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(CfnDomain.AdvancedSecurityOptionsInputProperty::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(CfnDomain.AdvancedSecurityOptionsInputProperty.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface CfnDomainProps { * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: IResolvable) { - cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable.Companion::unwrap)) } /** @@ -666,7 +666,7 @@ public interface CfnDomainProps { * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: CfnDomain.CognitoOptionsProperty) { - cdkBuilder.cognitoOptions(cognitoOptions.let(CfnDomain.CognitoOptionsProperty::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(CfnDomain.CognitoOptionsProperty.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public interface CfnDomainProps { * default endpoint. */ override fun domainEndpointOptions(domainEndpointOptions: IResolvable) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public interface CfnDomainProps { */ override fun domainEndpointOptions(domainEndpointOptions: CfnDomain.DomainEndpointOptionsProperty) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(CfnDomain.DomainEndpointOptionsProperty::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(CfnDomain.DomainEndpointOptionsProperty.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public interface CfnDomainProps { * in the *Amazon OpenSearch Service Developer Guide* . */ override fun ebsOptions(ebsOptions: IResolvable) { - cdkBuilder.ebsOptions(ebsOptions.let(IResolvable::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(IResolvable.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public interface CfnDomainProps { * in the *Amazon OpenSearch Service Developer Guide* . */ override fun ebsOptions(ebsOptions: CfnDomain.EBSOptionsProperty) { - cdkBuilder.ebsOptions(ebsOptions.let(CfnDomain.EBSOptionsProperty::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(CfnDomain.EBSOptionsProperty.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public interface CfnDomainProps { * domain. */ override fun elasticsearchClusterConfig(elasticsearchClusterConfig: IResolvable) { - cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -784,7 +784,7 @@ public interface CfnDomainProps { */ override fun elasticsearchClusterConfig(elasticsearchClusterConfig: CfnDomain.ElasticsearchClusterConfigProperty) { - cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(CfnDomain.ElasticsearchClusterConfigProperty::unwrap)) + cdkBuilder.elasticsearchClusterConfig(elasticsearchClusterConfig.let(CfnDomain.ElasticsearchClusterConfigProperty.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public interface CfnDomainProps { * . */ override fun encryptionAtRestOptions(encryptionAtRestOptions: IResolvable) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public interface CfnDomainProps { */ override fun encryptionAtRestOptions(encryptionAtRestOptions: CfnDomain.EncryptionAtRestOptionsProperty) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(CfnDomain.EncryptionAtRestOptionsProperty::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(CfnDomain.EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -861,7 +861,7 @@ public interface CfnDomainProps { * Each key needs a valid `LogPublishingOption` value. */ override fun logPublishingOptions(logPublishingOptions: IResolvable) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -880,7 +880,7 @@ public interface CfnDomainProps { * Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html) . */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: IResolvable) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public interface CfnDomainProps { */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: CfnDomain.NodeToNodeEncryptionOptionsProperty) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(CfnDomain.NodeToNodeEncryptionOptionsProperty::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(CfnDomain.NodeToNodeEncryptionOptionsProperty.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public interface CfnDomainProps { * The automated snapshot configuration for the OpenSearch Service domain indices. */ override fun snapshotOptions(snapshotOptions: IResolvable) { - cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable.Companion::unwrap)) } /** @@ -918,7 +918,7 @@ public interface CfnDomainProps { * The automated snapshot configuration for the OpenSearch Service domain indices. */ override fun snapshotOptions(snapshotOptions: CfnDomain.SnapshotOptionsProperty) { - cdkBuilder.snapshotOptions(snapshotOptions.let(CfnDomain.SnapshotOptionsProperty::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(CfnDomain.SnapshotOptionsProperty.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public interface CfnDomainProps { * Service domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -953,7 +953,7 @@ public interface CfnDomainProps { * *Amazon OpenSearch Service Developer Guide* . */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -964,7 +964,7 @@ public interface CfnDomainProps { * *Amazon OpenSearch Service Developer Guide* . */ override fun vpcOptions(vpcOptions: CfnDomain.VPCOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(CfnDomain.VPCOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(CfnDomain.VPCOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CognitoOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CognitoOptions.kt index 9ebb535efd..8f170cf1f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CognitoOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CognitoOptions.kt @@ -111,7 +111,7 @@ public interface CognitoOptions { */ @Deprecated(message = "deprecated in CDK") override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CustomEndpointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CustomEndpointOptions.kt index 5ce6d50df3..0401d54171 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CustomEndpointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/CustomEndpointOptions.kt @@ -95,7 +95,7 @@ public interface CustomEndpointOptions { */ @Deprecated(message = "deprecated in CDK") override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface CustomEndpointOptions { */ @Deprecated(message = "deprecated in CDK") override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticsearch.CustomEndpointOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/Domain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/Domain.kt index f87ed173c2..0e0baa408f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/Domain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/Domain.kt @@ -60,8 +60,8 @@ public open class Domain( id: String, props: DomainProps, ) : - this(software.amazon.awscdk.services.elasticsearch.Domain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DomainProps::unwrap)) + this(software.amazon.awscdk.services.elasticsearch.Domain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DomainProps.Companion::unwrap)) ) @Deprecated(message = "deprecated in CDK") @@ -162,7 +162,8 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantIndexRead(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexRead(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexRead(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read/write permissions for an index in this domain to an IAM principal @@ -174,7 +175,8 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantIndexReadWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexReadWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexReadWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant write permissions for an index in this domain to an IAM principal @@ -186,7 +188,8 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantIndexWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read permissions for a specific path in this domain to an IAM principal @@ -198,7 +201,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantPathRead(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathRead(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathRead(path, identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read/write permissions for a specific path in this domain to an IAM @@ -210,7 +213,8 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantPathReadWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathReadWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathReadWrite(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant write permissions for a specific path in this domain to an IAM principal @@ -222,7 +226,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantPathWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathWrite(path, identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read permissions for this domain and its contents to an IAM principal @@ -233,7 +237,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read/write permissions for this domain and its contents to an IAM principal @@ -244,7 +248,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantReadWrite(identity: IGrantable): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant write permissions for this domain and its contents to an IAM principal @@ -255,7 +259,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Master user password if fine grained access control is configured. @@ -286,7 +290,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Return the given named metric for this Domain. @@ -323,7 +327,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricAutomatedSnapshotFailure(props: MetricOptions): Metric = - unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for automated snapshot failures. @@ -361,7 +365,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for CPU utilization. @@ -399,7 +403,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricClusterIndexWritesBlocked(props: MetricOptions): Metric = - unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the cluster blocking index writes. @@ -437,7 +441,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricClusterStatusRed(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusRed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusRed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the time the cluster status is red. @@ -475,7 +479,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricClusterStatusYellow(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusYellow(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusYellow(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the time the cluster status is yellow. @@ -513,7 +517,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricFreeStorageSpace(props: MetricOptions): Metric = - unwrap(this).metricFreeStorageSpace(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeStorageSpace(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the storage space of nodes in the cluster. @@ -551,7 +555,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricIndexingLatency(props: MetricOptions): Metric = - unwrap(this).metricIndexingLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIndexingLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for indexing latency. @@ -589,7 +593,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for JVM memory pressure. @@ -627,7 +631,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricKMSKeyError(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for KMS key errors. @@ -665,7 +669,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricKMSKeyInaccessible(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for KMS key being inaccessible. @@ -703,7 +707,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricMasterCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for master CPU utilization. @@ -741,7 +745,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricMasterJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for master JVM memory pressure. @@ -778,7 +782,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricNodes(props: MetricOptions): Metric = - unwrap(this).metricNodes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNodes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the number of nodes. @@ -816,7 +820,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricSearchLatency(props: MetricOptions): Metric = - unwrap(this).metricSearchLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for search latency. @@ -854,7 +858,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") public override fun metricSearchableDocuments(props: MetricOptions): Metric = - unwrap(this).metricSearchableDocuments(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchableDocuments(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for number of searchable documents. @@ -1369,7 +1373,7 @@ public open class Domain( @Deprecated(message = "deprecated in CDK") override fun accessPolicies(accessPolicies: List) { - cdkBuilder.accessPolicies(accessPolicies.map(CloudshiftdevAwscdkServicesIamPolicyStatement::unwrap)) + cdkBuilder.accessPolicies(accessPolicies.map(CloudshiftdevAwscdkServicesIamPolicyStatement.Companion::unwrap)) } /** @@ -1427,7 +1431,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun capacity(capacity: CapacityConfig) { - cdkBuilder.capacity(capacity.let(CapacityConfig::unwrap)) + cdkBuilder.capacity(capacity.let(CapacityConfig.Companion::unwrap)) } /** @@ -1455,7 +1459,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun cognitoKibanaAuth(cognitoKibanaAuth: CognitoOptions) { - cdkBuilder.cognitoKibanaAuth(cognitoKibanaAuth.let(CognitoOptions::unwrap)) + cdkBuilder.cognitoKibanaAuth(cognitoKibanaAuth.let(CognitoOptions.Companion::unwrap)) } /** @@ -1486,7 +1490,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun customEndpoint(customEndpoint: CustomEndpointOptions) { - cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions::unwrap)) + cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions.Companion::unwrap)) } /** @@ -1536,7 +1540,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun ebs(ebs: EbsOptions) { - cdkBuilder.ebs(ebs.let(EbsOptions::unwrap)) + cdkBuilder.ebs(ebs.let(EbsOptions.Companion::unwrap)) } /** @@ -1585,7 +1589,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun encryptionAtRest(encryptionAtRest: EncryptionAtRestOptions) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions.Companion::unwrap)) } /** @@ -1629,7 +1633,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun fineGrainedAccessControl(fineGrainedAccessControl: AdvancedSecurityOptions) { - cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions::unwrap)) + cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions.Companion::unwrap)) } /** @@ -1661,7 +1665,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -1703,7 +1707,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1721,7 +1725,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1751,7 +1755,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun tlsSecurityPolicy(tlsSecurityPolicy: TLSSecurityPolicy) { - cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy::unwrap)) + cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy.Companion::unwrap)) } /** @@ -1785,7 +1789,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun version(version: ElasticsearchVersion) { - cdkBuilder.version(version.let(ElasticsearchVersion::unwrap)) + cdkBuilder.version(version.let(ElasticsearchVersion.Companion::unwrap)) } /** @@ -1799,7 +1803,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1820,7 +1824,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -1853,7 +1857,7 @@ public open class Domain( */ @Deprecated(message = "deprecated in CDK") override fun zoneAwareness(zoneAwareness: ZoneAwarenessConfig) { - cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig::unwrap)) + cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig.Companion::unwrap)) } /** @@ -1880,8 +1884,8 @@ public open class Domain( id: String, attrs: DomainAttributes, ): IDomain = - software.amazon.awscdk.services.elasticsearch.Domain.fromDomainAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DomainAttributes::unwrap)).let(IDomain::wrap) + software.amazon.awscdk.services.elasticsearch.Domain.fromDomainAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DomainAttributes.Companion::unwrap)).let(IDomain::wrap) @Deprecated(message = "deprecated in CDK") @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -1898,7 +1902,7 @@ public open class Domain( id: String, domainEndpoint: String, ): IDomain = - software.amazon.awscdk.services.elasticsearch.Domain.fromDomainEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.elasticsearch.Domain.fromDomainEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, domainEndpoint).let(IDomain::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/DomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/DomainProps.kt index 7bb4b4c553..7e6a97d611 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/DomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/DomainProps.kt @@ -632,7 +632,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun accessPolicies(accessPolicies: List) { - cdkBuilder.accessPolicies(accessPolicies.map(PolicyStatement::unwrap)) + cdkBuilder.accessPolicies(accessPolicies.map(PolicyStatement.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun capacity(capacity: CapacityConfig) { - cdkBuilder.capacity(capacity.let(CapacityConfig::unwrap)) + cdkBuilder.capacity(capacity.let(CapacityConfig.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun cognitoKibanaAuth(cognitoKibanaAuth: CognitoOptions) { - cdkBuilder.cognitoKibanaAuth(cognitoKibanaAuth.let(CognitoOptions::unwrap)) + cdkBuilder.cognitoKibanaAuth(cognitoKibanaAuth.let(CognitoOptions.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun customEndpoint(customEndpoint: CustomEndpointOptions) { - cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions::unwrap)) + cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun ebs(ebs: EbsOptions) { - cdkBuilder.ebs(ebs.let(EbsOptions::unwrap)) + cdkBuilder.ebs(ebs.let(EbsOptions.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun encryptionAtRest(encryptionAtRest: EncryptionAtRestOptions) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions.Companion::unwrap)) } /** @@ -811,7 +811,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun fineGrainedAccessControl(fineGrainedAccessControl: AdvancedSecurityOptions) { - cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions::unwrap)) + cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -863,7 +863,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -893,7 +893,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun tlsSecurityPolicy(tlsSecurityPolicy: TLSSecurityPolicy) { - cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy::unwrap)) + cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy.Companion::unwrap)) } /** @@ -920,7 +920,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun version(version: ElasticsearchVersion) { - cdkBuilder.version(version.let(ElasticsearchVersion::unwrap)) + cdkBuilder.version(version.let(ElasticsearchVersion.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -967,7 +967,7 @@ public interface DomainProps { */ @Deprecated(message = "deprecated in CDK") override fun zoneAwareness(zoneAwareness: ZoneAwarenessConfig) { - cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig::unwrap)) + cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EbsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EbsOptions.kt index 3248ba7588..27a5c2fc12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EbsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EbsOptions.kt @@ -200,7 +200,7 @@ public interface EbsOptions { */ @Deprecated(message = "deprecated in CDK") override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticsearch.EbsOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EncryptionAtRestOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EncryptionAtRestOptions.kt index 483ff7b4f4..7aa45cde70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EncryptionAtRestOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/EncryptionAtRestOptions.kt @@ -98,7 +98,7 @@ public interface EncryptionAtRestOptions { */ @Deprecated(message = "deprecated in CDK") override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticsearch.EncryptionAtRestOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/IDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/IDomain.kt index 67dbb6a56c..7fd3f3961b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/IDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/IDomain.kt @@ -719,7 +719,7 @@ public interface IDomain : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -768,7 +768,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantIndexRead(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexRead(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexRead(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read/write permissions for an index in this domain to an IAM principal @@ -780,7 +781,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantIndexReadWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexReadWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexReadWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant write permissions for an index in this domain to an IAM principal @@ -792,7 +794,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantIndexWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read permissions for a specific path in this domain to an IAM principal @@ -804,7 +807,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantPathRead(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathRead(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathRead(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read/write permissions for a specific path in this domain to an IAM @@ -816,7 +820,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantPathReadWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathReadWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathReadWrite(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant write permissions for a specific path in this domain to an IAM principal @@ -828,7 +833,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantPathWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathWrite(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read permissions for this domain and its contents to an IAM principal @@ -839,7 +845,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant read/write permissions for this domain and its contents to an IAM @@ -850,7 +856,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantReadWrite(identity: IGrantable): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Grant write permissions for this domain and its contents to an IAM principal @@ -861,7 +867,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) Return the given named metric for this Domain. @@ -883,7 +889,8 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Return the given named metric for this Domain. @@ -920,7 +927,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricAutomatedSnapshotFailure(props: MetricOptions): Metric = - unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for automated snapshot failures. @@ -958,7 +965,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for CPU utilization. @@ -996,7 +1003,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricClusterIndexWritesBlocked(props: MetricOptions): Metric = - unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the cluster blocking index writes. @@ -1034,7 +1041,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricClusterStatusRed(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusRed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusRed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the time the cluster status is red. @@ -1072,7 +1079,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricClusterStatusYellow(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusYellow(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusYellow(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the time the cluster status is yellow. @@ -1110,7 +1117,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricFreeStorageSpace(props: MetricOptions): Metric = - unwrap(this).metricFreeStorageSpace(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeStorageSpace(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the storage space of nodes in the cluster. @@ -1148,7 +1155,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricIndexingLatency(props: MetricOptions): Metric = - unwrap(this).metricIndexingLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIndexingLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for indexing latency. @@ -1186,7 +1193,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for JVM memory pressure. @@ -1223,7 +1230,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricKMSKeyError(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for KMS key errors. @@ -1261,7 +1268,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricKMSKeyInaccessible(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for KMS key being inaccessible. @@ -1299,7 +1306,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricMasterCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for master CPU utilization. @@ -1337,7 +1344,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricMasterJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for master JVM memory pressure. @@ -1374,7 +1381,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricNodes(props: MetricOptions): Metric = - unwrap(this).metricNodes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNodes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for the number of nodes. @@ -1412,7 +1419,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricSearchLatency(props: MetricOptions): Metric = - unwrap(this).metricSearchLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for search latency. @@ -1450,7 +1457,7 @@ public interface IDomain : IResource { */ @Deprecated(message = "deprecated in CDK") override fun metricSearchableDocuments(props: MetricOptions): Metric = - unwrap(this).metricSearchableDocuments(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchableDocuments(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * (deprecated) Metric for number of searchable documents. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/LoggingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/LoggingOptions.kt index 8534140e44..52944b6d6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/LoggingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/elasticsearch/LoggingOptions.kt @@ -216,7 +216,7 @@ public interface LoggingOptions { */ @Deprecated(message = "deprecated in CDK") override fun appLogGroup(appLogGroup: ILogGroup) { - cdkBuilder.appLogGroup(appLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.appLogGroup(appLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface LoggingOptions { */ @Deprecated(message = "deprecated in CDK") override fun auditLogGroup(auditLogGroup: ILogGroup) { - cdkBuilder.auditLogGroup(auditLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.auditLogGroup(auditLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public interface LoggingOptions { */ @Deprecated(message = "deprecated in CDK") override fun slowIndexLogGroup(slowIndexLogGroup: ILogGroup) { - cdkBuilder.slowIndexLogGroup(slowIndexLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.slowIndexLogGroup(slowIndexLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface LoggingOptions { */ @Deprecated(message = "deprecated in CDK") override fun slowSearchLogGroup(slowSearchLogGroup: ILogGroup) { - cdkBuilder.slowSearchLogGroup(slowSearchLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.slowSearchLogGroup(slowSearchLogGroup.let(ILogGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.elasticsearch.LoggingOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnCluster.kt index f56505341c..325c74bb68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnCluster.kt @@ -496,8 +496,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.emr.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -530,7 +530,7 @@ public open class CfnCluster( * on. */ public open fun applications(`value`: IResolvable) { - unwrap(this).setApplications(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public open class CfnCluster( * automatically terminates. */ public open fun autoTerminationPolicy(`value`: IResolvable) { - unwrap(this).setAutoTerminationPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoTerminationPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnCluster( * automatically terminates. */ public open fun autoTerminationPolicy(`value`: AutoTerminationPolicyProperty) { - unwrap(this).setAutoTerminationPolicy(`value`.let(AutoTerminationPolicyProperty::unwrap)) + unwrap(this).setAutoTerminationPolicy(`value`.let(AutoTerminationPolicyProperty.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnCluster( * A list of bootstrap actions to run before Hadoop starts on the cluster nodes. */ public open fun bootstrapActions(`value`: IResolvable) { - unwrap(this).setBootstrapActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setBootstrapActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnCluster( * to the Amazon EMR cluster. */ public open fun configurations(`value`: IResolvable) { - unwrap(this).setConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -727,14 +727,14 @@ public open class CfnCluster( * A specification of the number and type of Amazon EC2 instances. */ public open fun instances(`value`: IResolvable) { - unwrap(this).setInstances(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstances(`value`.let(IResolvable.Companion::unwrap)) } /** * A specification of the number and type of Amazon EC2 instances. */ public open fun instances(`value`: JobFlowInstancesConfigProperty) { - unwrap(this).setInstances(`value`.let(JobFlowInstancesConfigProperty::unwrap)) + unwrap(this).setInstances(`value`.let(JobFlowInstancesConfigProperty.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public open class CfnCluster( * configuration. */ public open fun kerberosAttributes(`value`: IResolvable) { - unwrap(this).setKerberosAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setKerberosAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public open class CfnCluster( * configuration. */ public open fun kerberosAttributes(`value`: KerberosAttributesProperty) { - unwrap(this).setKerberosAttributes(`value`.let(KerberosAttributesProperty::unwrap)) + unwrap(this).setKerberosAttributes(`value`.let(KerberosAttributesProperty.Companion::unwrap)) } /** @@ -821,14 +821,14 @@ public open class CfnCluster( * Creates or updates a managed scaling policy for an Amazon EMR cluster. */ public open fun managedScalingPolicy(`value`: IResolvable) { - unwrap(this).setManagedScalingPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setManagedScalingPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * Creates or updates a managed scaling policy for an Amazon EMR cluster. */ public open fun managedScalingPolicy(`value`: ManagedScalingPolicyProperty) { - unwrap(this).setManagedScalingPolicy(`value`.let(ManagedScalingPolicyProperty::unwrap)) + unwrap(this).setManagedScalingPolicy(`value`.let(ManagedScalingPolicyProperty.Companion::unwrap)) } /** @@ -872,7 +872,7 @@ public open class CfnCluster( * */ public open fun placementGroupConfigs(`value`: IResolvable) { - unwrap(this).setPlacementGroupConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlacementGroupConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public open class CfnCluster( * A list of steps to run. */ public open fun steps(`value`: IResolvable) { - unwrap(this).setSteps(`value`.let(IResolvable::unwrap)) + unwrap(this).setSteps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -991,7 +991,7 @@ public open class CfnCluster( * A list of tags associated with a cluster. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1018,7 +1018,7 @@ public open class CfnCluster( * the cluster. */ public open fun visibleToAllUsers(`value`: IResolvable) { - unwrap(this).setVisibleToAllUsers(`value`.let(IResolvable::unwrap)) + unwrap(this).setVisibleToAllUsers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1576,7 +1576,7 @@ public open class CfnCluster( * Oozie, Zeppelin, and so on. */ override fun applications(applications: IResolvable) { - cdkBuilder.applications(applications.let(IResolvable::unwrap)) + cdkBuilder.applications(applications.let(IResolvable.Companion::unwrap)) } /** @@ -1627,7 +1627,7 @@ public open class CfnCluster( * seconds after which a cluster automatically terminates. */ override fun autoTerminationPolicy(autoTerminationPolicy: IResolvable) { - cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1642,7 +1642,7 @@ public open class CfnCluster( * seconds after which a cluster automatically terminates. */ override fun autoTerminationPolicy(autoTerminationPolicy: AutoTerminationPolicyProperty) { - cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(AutoTerminationPolicyProperty::unwrap)) + cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(AutoTerminationPolicyProperty.Companion::unwrap)) } /** @@ -1670,7 +1670,7 @@ public open class CfnCluster( * cluster nodes. */ override fun bootstrapActions(bootstrapActions: IResolvable) { - cdkBuilder.bootstrapActions(bootstrapActions.let(IResolvable::unwrap)) + cdkBuilder.bootstrapActions(bootstrapActions.let(IResolvable.Companion::unwrap)) } /** @@ -1703,7 +1703,7 @@ public open class CfnCluster( * configurations that are supplied to the Amazon EMR cluster. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -1790,7 +1790,7 @@ public open class CfnCluster( * @param instances A specification of the number and type of Amazon EC2 instances. */ override fun instances(instances: IResolvable) { - cdkBuilder.instances(instances.let(IResolvable::unwrap)) + cdkBuilder.instances(instances.let(IResolvable.Companion::unwrap)) } /** @@ -1800,7 +1800,7 @@ public open class CfnCluster( * @param instances A specification of the number and type of Amazon EC2 instances. */ override fun instances(instances: JobFlowInstancesConfigProperty) { - cdkBuilder.instances(instances.let(JobFlowInstancesConfigProperty::unwrap)) + cdkBuilder.instances(instances.let(JobFlowInstancesConfigProperty.Companion::unwrap)) } /** @@ -1841,7 +1841,7 @@ public open class CfnCluster( * is enabled using a security configuration. */ override fun kerberosAttributes(kerberosAttributes: IResolvable) { - cdkBuilder.kerberosAttributes(kerberosAttributes.let(IResolvable::unwrap)) + cdkBuilder.kerberosAttributes(kerberosAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -1857,7 +1857,7 @@ public open class CfnCluster( * is enabled using a security configuration. */ override fun kerberosAttributes(kerberosAttributes: KerberosAttributesProperty) { - cdkBuilder.kerberosAttributes(kerberosAttributes.let(KerberosAttributesProperty::unwrap)) + cdkBuilder.kerberosAttributes(kerberosAttributes.let(KerberosAttributesProperty.Companion::unwrap)) } /** @@ -1913,7 +1913,7 @@ public open class CfnCluster( * cluster. */ override fun managedScalingPolicy(managedScalingPolicy: IResolvable) { - cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1928,7 +1928,7 @@ public open class CfnCluster( * cluster. */ override fun managedScalingPolicy(managedScalingPolicy: ManagedScalingPolicyProperty) { - cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(ManagedScalingPolicyProperty::unwrap)) + cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(ManagedScalingPolicyProperty.Companion::unwrap)) } /** @@ -1979,7 +1979,7 @@ public open class CfnCluster( * @param placementGroupConfigs */ override fun placementGroupConfigs(placementGroupConfigs: IResolvable) { - cdkBuilder.placementGroupConfigs(placementGroupConfigs.let(IResolvable::unwrap)) + cdkBuilder.placementGroupConfigs(placementGroupConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -2077,7 +2077,7 @@ public open class CfnCluster( * @param steps A list of steps to run. */ override fun steps(steps: IResolvable) { - cdkBuilder.steps(steps.let(IResolvable::unwrap)) + cdkBuilder.steps(steps.let(IResolvable.Companion::unwrap)) } /** @@ -2105,7 +2105,7 @@ public open class CfnCluster( * @param tags A list of tags associated with a cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2159,7 +2159,7 @@ public open class CfnCluster( * account associated with the cluster. */ override fun visibleToAllUsers(visibleToAllUsers: IResolvable) { - cdkBuilder.visibleToAllUsers(visibleToAllUsers.let(IResolvable::unwrap)) + cdkBuilder.visibleToAllUsers(visibleToAllUsers.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.emr.CfnCluster = cdkBuilder.build() @@ -2301,7 +2301,7 @@ public open class CfnCluster( * troubleshooting. */ override fun additionalInfo(additionalInfo: IResolvable) { - cdkBuilder.additionalInfo(additionalInfo.let(IResolvable::unwrap)) + cdkBuilder.additionalInfo(additionalInfo.let(IResolvable.Companion::unwrap)) } /** @@ -2529,7 +2529,7 @@ public open class CfnCluster( * limits. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** @@ -2539,7 +2539,7 @@ public open class CfnCluster( * limits. */ override fun constraints(constraints: ScalingConstraintsProperty) { - cdkBuilder.constraints(constraints.let(ScalingConstraintsProperty::unwrap)) + cdkBuilder.constraints(constraints.let(ScalingConstraintsProperty.Companion::unwrap)) } /** @@ -2557,7 +2557,7 @@ public open class CfnCluster( * @param rules The scale-in and scale-out rules that comprise the automatic scaling policy. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -2800,7 +2800,7 @@ public open class CfnCluster( * @param scriptBootstrapAction The script run by the bootstrap action. */ override fun scriptBootstrapAction(scriptBootstrapAction: IResolvable) { - cdkBuilder.scriptBootstrapAction(scriptBootstrapAction.let(IResolvable::unwrap)) + cdkBuilder.scriptBootstrapAction(scriptBootstrapAction.let(IResolvable.Companion::unwrap)) } /** @@ -2808,7 +2808,7 @@ public open class CfnCluster( */ override fun scriptBootstrapAction(scriptBootstrapAction: ScriptBootstrapActionConfigProperty) { - cdkBuilder.scriptBootstrapAction(scriptBootstrapAction.let(ScriptBootstrapActionConfigProperty::unwrap)) + cdkBuilder.scriptBootstrapAction(scriptBootstrapAction.let(ScriptBootstrapActionConfigProperty.Companion::unwrap)) } /** @@ -3059,7 +3059,7 @@ public open class CfnCluster( * @param dimensions A CloudWatch metric dimension. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -3607,7 +3607,7 @@ public open class CfnCluster( * configuration object. */ override fun configurationProperties(configurationProperties: IResolvable) { - cdkBuilder.configurationProperties(configurationProperties.let(IResolvable::unwrap)) + cdkBuilder.configurationProperties(configurationProperties.let(IResolvable.Companion::unwrap)) } /** @@ -3623,7 +3623,7 @@ public open class CfnCluster( * object. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -3780,7 +3780,7 @@ public open class CfnCluster( * instance in the cluster. */ override fun volumeSpecification(volumeSpecification: IResolvable) { - cdkBuilder.volumeSpecification(volumeSpecification.let(IResolvable::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3789,7 +3789,7 @@ public open class CfnCluster( * instance in the cluster. */ override fun volumeSpecification(volumeSpecification: VolumeSpecificationProperty) { - cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty.Companion::unwrap)) } /** @@ -3942,7 +3942,7 @@ public open class CfnCluster( * cluster instance. */ override fun ebsBlockDeviceConfigs(ebsBlockDeviceConfigs: IResolvable) { - cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.let(IResolvable::unwrap)) + cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -3971,7 +3971,7 @@ public open class CfnCluster( * @param ebsOptimized Indicates whether an Amazon EBS volume is EBS-optimized. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.emr.CfnCluster.EbsConfigurationProperty = @@ -4160,7 +4160,7 @@ public open class CfnCluster( * You can use these properties to pass key-value pairs to your main function. */ override fun stepProperties(stepProperties: IResolvable) { - cdkBuilder.stepProperties(stepProperties.let(IResolvable::unwrap)) + cdkBuilder.stepProperties(stepProperties.let(IResolvable.Companion::unwrap)) } /** @@ -4471,7 +4471,7 @@ public open class CfnCluster( * instances in the instance fleet. */ override fun instanceTypeConfigs(instanceTypeConfigs: IResolvable) { - cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.let(IResolvable::unwrap)) + cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -4493,7 +4493,7 @@ public open class CfnCluster( * @param launchSpecifications The launch specification for the instance fleet. */ override fun launchSpecifications(launchSpecifications: IResolvable) { - cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -4501,7 +4501,7 @@ public open class CfnCluster( */ override fun launchSpecifications(launchSpecifications: InstanceFleetProvisioningSpecificationsProperty) { - cdkBuilder.launchSpecifications(launchSpecifications.let(InstanceFleetProvisioningSpecificationsProperty::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(InstanceFleetProvisioningSpecificationsProperty.Companion::unwrap)) } /** @@ -4793,7 +4793,7 @@ public open class CfnCluster( * releases 5.12.1 and later. */ override fun onDemandSpecification(onDemandSpecification: IResolvable) { - cdkBuilder.onDemandSpecification(onDemandSpecification.let(IResolvable::unwrap)) + cdkBuilder.onDemandSpecification(onDemandSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4806,7 +4806,7 @@ public open class CfnCluster( */ override fun onDemandSpecification(onDemandSpecification: OnDemandProvisioningSpecificationProperty) { - cdkBuilder.onDemandSpecification(onDemandSpecification.let(OnDemandProvisioningSpecificationProperty::unwrap)) + cdkBuilder.onDemandSpecification(onDemandSpecification.let(OnDemandProvisioningSpecificationProperty.Companion::unwrap)) } /** @@ -4829,7 +4829,7 @@ public open class CfnCluster( * determines the defined duration, provisioning timeout behavior, and allocation strategy. */ override fun spotSpecification(spotSpecification: IResolvable) { - cdkBuilder.spotSpecification(spotSpecification.let(IResolvable::unwrap)) + cdkBuilder.spotSpecification(spotSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4837,7 +4837,7 @@ public open class CfnCluster( * determines the defined duration, provisioning timeout behavior, and allocation strategy. */ override fun spotSpecification(spotSpecification: SpotProvisioningSpecificationProperty) { - cdkBuilder.spotSpecification(spotSpecification.let(SpotProvisioningSpecificationProperty::unwrap)) + cdkBuilder.spotSpecification(spotSpecification.let(SpotProvisioningSpecificationProperty.Companion::unwrap)) } /** @@ -5196,7 +5196,7 @@ public open class CfnCluster( * EMR](https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-automatic-scaling.html) . */ override fun autoScalingPolicy(autoScalingPolicy: IResolvable) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -5210,7 +5210,7 @@ public open class CfnCluster( * EMR](https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-automatic-scaling.html) . */ override fun autoScalingPolicy(autoScalingPolicy: AutoScalingPolicyProperty) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -5244,7 +5244,7 @@ public open class CfnCluster( * specify a separate configuration for each instance group (master, core, and task). */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -5276,7 +5276,7 @@ public open class CfnCluster( * instance in the instance group. */ override fun ebsConfiguration(ebsConfiguration: IResolvable) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5284,7 +5284,7 @@ public open class CfnCluster( * instance in the instance group. */ override fun ebsConfiguration(ebsConfiguration: EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty.Companion::unwrap)) } /** @@ -5653,7 +5653,7 @@ public open class CfnCluster( * cluster. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -5685,7 +5685,7 @@ public open class CfnCluster( * attached to each instance as defined by `InstanceType` . */ override fun ebsConfiguration(ebsConfiguration: IResolvable) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5693,7 +5693,7 @@ public open class CfnCluster( * attached to each instance as defined by `InstanceType` . */ override fun ebsConfiguration(ebsConfiguration: EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty.Companion::unwrap)) } /** @@ -6768,7 +6768,7 @@ public open class CfnCluster( * core instance fleet when using clusters with the instance fleet configuration. */ override fun coreInstanceFleet(coreInstanceFleet: IResolvable) { - cdkBuilder.coreInstanceFleet(coreInstanceFleet.let(IResolvable::unwrap)) + cdkBuilder.coreInstanceFleet(coreInstanceFleet.let(IResolvable.Companion::unwrap)) } /** @@ -6776,7 +6776,7 @@ public open class CfnCluster( * core instance fleet when using clusters with the instance fleet configuration. */ override fun coreInstanceFleet(coreInstanceFleet: InstanceFleetConfigProperty) { - cdkBuilder.coreInstanceFleet(coreInstanceFleet.let(InstanceFleetConfigProperty::unwrap)) + cdkBuilder.coreInstanceFleet(coreInstanceFleet.let(InstanceFleetConfigProperty.Companion::unwrap)) } /** @@ -6794,7 +6794,7 @@ public open class CfnCluster( * instance groups when using clusters with the uniform instance group configuration. */ override fun coreInstanceGroup(coreInstanceGroup: IResolvable) { - cdkBuilder.coreInstanceGroup(coreInstanceGroup.let(IResolvable::unwrap)) + cdkBuilder.coreInstanceGroup(coreInstanceGroup.let(IResolvable.Companion::unwrap)) } /** @@ -6802,7 +6802,7 @@ public open class CfnCluster( * instance groups when using clusters with the uniform instance group configuration. */ override fun coreInstanceGroup(coreInstanceGroup: InstanceGroupConfigProperty) { - cdkBuilder.coreInstanceGroup(coreInstanceGroup.let(InstanceGroupConfigProperty::unwrap)) + cdkBuilder.coreInstanceGroup(coreInstanceGroup.let(InstanceGroupConfigProperty.Companion::unwrap)) } /** @@ -6910,7 +6910,7 @@ public open class CfnCluster( * in the *EMR Management Guide* . */ override fun keepJobFlowAliveWhenNoSteps(keepJobFlowAliveWhenNoSteps: IResolvable) { - cdkBuilder.keepJobFlowAliveWhenNoSteps(keepJobFlowAliveWhenNoSteps.let(IResolvable::unwrap)) + cdkBuilder.keepJobFlowAliveWhenNoSteps(keepJobFlowAliveWhenNoSteps.let(IResolvable.Companion::unwrap)) } /** @@ -6918,7 +6918,7 @@ public open class CfnCluster( * master instance fleet when using clusters with the instance fleet configuration. */ override fun masterInstanceFleet(masterInstanceFleet: IResolvable) { - cdkBuilder.masterInstanceFleet(masterInstanceFleet.let(IResolvable::unwrap)) + cdkBuilder.masterInstanceFleet(masterInstanceFleet.let(IResolvable.Companion::unwrap)) } /** @@ -6926,7 +6926,7 @@ public open class CfnCluster( * master instance fleet when using clusters with the instance fleet configuration. */ override fun masterInstanceFleet(masterInstanceFleet: InstanceFleetConfigProperty) { - cdkBuilder.masterInstanceFleet(masterInstanceFleet.let(InstanceFleetConfigProperty::unwrap)) + cdkBuilder.masterInstanceFleet(masterInstanceFleet.let(InstanceFleetConfigProperty.Companion::unwrap)) } /** @@ -6944,7 +6944,7 @@ public open class CfnCluster( * master instance group when using clusters with the uniform instance group configuration. */ override fun masterInstanceGroup(masterInstanceGroup: IResolvable) { - cdkBuilder.masterInstanceGroup(masterInstanceGroup.let(IResolvable::unwrap)) + cdkBuilder.masterInstanceGroup(masterInstanceGroup.let(IResolvable.Companion::unwrap)) } /** @@ -6952,7 +6952,7 @@ public open class CfnCluster( * master instance group when using clusters with the uniform instance group configuration. */ override fun masterInstanceGroup(masterInstanceGroup: InstanceGroupConfigProperty) { - cdkBuilder.masterInstanceGroup(masterInstanceGroup.let(InstanceGroupConfigProperty::unwrap)) + cdkBuilder.masterInstanceGroup(masterInstanceGroup.let(InstanceGroupConfigProperty.Companion::unwrap)) } /** @@ -6969,14 +6969,14 @@ public open class CfnCluster( * @param placement The Availability Zone in which the cluster runs. */ override fun placement(placement: IResolvable) { - cdkBuilder.placement(placement.let(IResolvable::unwrap)) + cdkBuilder.placement(placement.let(IResolvable.Companion::unwrap)) } /** * @param placement The Availability Zone in which the cluster runs. */ override fun placement(placement: PlacementTypeProperty) { - cdkBuilder.placement(placement.let(PlacementTypeProperty::unwrap)) + cdkBuilder.placement(placement.let(PlacementTypeProperty.Companion::unwrap)) } /** @@ -7012,7 +7012,7 @@ public open class CfnCluster( * maximum of five Amazon EC2 instance types. */ override fun taskInstanceFleets(taskInstanceFleets: IResolvable) { - cdkBuilder.taskInstanceFleets(taskInstanceFleets.let(IResolvable::unwrap)) + cdkBuilder.taskInstanceFleets(taskInstanceFleets.let(IResolvable.Companion::unwrap)) } /** @@ -7067,7 +7067,7 @@ public open class CfnCluster( * other property results in cluster replacement. */ override fun taskInstanceGroups(taskInstanceGroups: IResolvable) { - cdkBuilder.taskInstanceGroups(taskInstanceGroups.let(IResolvable::unwrap)) + cdkBuilder.taskInstanceGroups(taskInstanceGroups.let(IResolvable.Companion::unwrap)) } /** @@ -7116,7 +7116,7 @@ public open class CfnCluster( * error. */ override fun terminationProtected(terminationProtected: IResolvable) { - cdkBuilder.terminationProtected(terminationProtected.let(IResolvable::unwrap)) + cdkBuilder.terminationProtected(terminationProtected.let(IResolvable.Companion::unwrap)) } /** @@ -7132,7 +7132,7 @@ public open class CfnCluster( * nodes that have degraded within the cluster. */ override fun unhealthyNodeReplacement(unhealthyNodeReplacement: IResolvable) { - cdkBuilder.unhealthyNodeReplacement(unhealthyNodeReplacement.let(IResolvable::unwrap)) + cdkBuilder.unhealthyNodeReplacement(unhealthyNodeReplacement.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -7778,7 +7778,7 @@ public open class CfnCluster( * initial configuration. */ override fun computeLimits(computeLimits: IResolvable) { - cdkBuilder.computeLimits(computeLimits.let(IResolvable::unwrap)) + cdkBuilder.computeLimits(computeLimits.let(IResolvable.Companion::unwrap)) } /** @@ -7788,7 +7788,7 @@ public open class CfnCluster( * initial configuration. */ override fun computeLimits(computeLimits: ComputeLimitsProperty) { - cdkBuilder.computeLimits(computeLimits.let(ComputeLimitsProperty::unwrap)) + cdkBuilder.computeLimits(computeLimits.let(ComputeLimitsProperty.Companion::unwrap)) } /** @@ -8377,7 +8377,7 @@ public open class CfnCluster( * activity makes when triggered, and the periodicity of the adjustment. */ override fun simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration: IResolvable) { - cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -8386,7 +8386,7 @@ public open class CfnCluster( */ override fun simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationProperty) { - cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(SimpleScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(SimpleScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -8719,14 +8719,14 @@ public open class CfnCluster( * @param action The conditions that trigger an automatic scaling activity. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action The conditions that trigger an automatic scaling activity. */ override fun action(action: ScalingActionProperty) { - cdkBuilder.action(action.let(ScalingActionProperty::unwrap)) + cdkBuilder.action(action.let(ScalingActionProperty.Companion::unwrap)) } /** @@ -8757,7 +8757,7 @@ public open class CfnCluster( * activity is triggered. */ override fun trigger(trigger: IResolvable) { - cdkBuilder.trigger(trigger.let(IResolvable::unwrap)) + cdkBuilder.trigger(trigger.let(IResolvable.Companion::unwrap)) } /** @@ -8765,7 +8765,7 @@ public open class CfnCluster( * activity is triggered. */ override fun trigger(trigger: ScalingTriggerProperty) { - cdkBuilder.trigger(trigger.let(ScalingTriggerProperty::unwrap)) + cdkBuilder.trigger(trigger.let(ScalingTriggerProperty.Companion::unwrap)) } /** @@ -8918,7 +8918,7 @@ public open class CfnCluster( * activity begins. */ override fun cloudWatchAlarmDefinition(cloudWatchAlarmDefinition: IResolvable) { - cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -8928,7 +8928,7 @@ public open class CfnCluster( */ override fun cloudWatchAlarmDefinition(cloudWatchAlarmDefinition: CloudWatchAlarmDefinitionProperty) { - cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(CloudWatchAlarmDefinitionProperty::unwrap)) + cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(CloudWatchAlarmDefinitionProperty.Companion::unwrap)) } /** @@ -9727,14 +9727,14 @@ public open class CfnCluster( * @param hadoopJarStep The JAR file used for the step. */ override fun hadoopJarStep(hadoopJarStep: IResolvable) { - cdkBuilder.hadoopJarStep(hadoopJarStep.let(IResolvable::unwrap)) + cdkBuilder.hadoopJarStep(hadoopJarStep.let(IResolvable.Companion::unwrap)) } /** * @param hadoopJarStep The JAR file used for the step. */ override fun hadoopJarStep(hadoopJarStep: HadoopJarStepConfigProperty) { - cdkBuilder.hadoopJarStep(hadoopJarStep.let(HadoopJarStepConfigProperty::unwrap)) + cdkBuilder.hadoopJarStep(hadoopJarStep.let(HadoopJarStepConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnClusterProps.kt index 6aa0185e41..1549d23c9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnClusterProps.kt @@ -1096,7 +1096,7 @@ public interface CfnClusterProps { * Oozie, Zeppelin, and so on. */ override fun applications(applications: IResolvable) { - cdkBuilder.applications(applications.let(IResolvable::unwrap)) + cdkBuilder.applications(applications.let(IResolvable.Companion::unwrap)) } /** @@ -1130,7 +1130,7 @@ public interface CfnClusterProps { * termination](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html) */ override fun autoTerminationPolicy(autoTerminationPolicy: IResolvable) { - cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1141,7 +1141,7 @@ public interface CfnClusterProps { */ override fun autoTerminationPolicy(autoTerminationPolicy: CfnCluster.AutoTerminationPolicyProperty) { - cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(CfnCluster.AutoTerminationPolicyProperty::unwrap)) + cdkBuilder.autoTerminationPolicy(autoTerminationPolicy.let(CfnCluster.AutoTerminationPolicyProperty.Companion::unwrap)) } /** @@ -1162,7 +1162,7 @@ public interface CfnClusterProps { * cluster nodes. */ override fun bootstrapActions(bootstrapActions: IResolvable) { - cdkBuilder.bootstrapActions(bootstrapActions.let(IResolvable::unwrap)) + cdkBuilder.bootstrapActions(bootstrapActions.let(IResolvable.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public interface CfnClusterProps { * configurations that are supplied to the Amazon EMR cluster. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -1242,14 +1242,14 @@ public interface CfnClusterProps { * @param instances A specification of the number and type of Amazon EC2 instances. */ override fun instances(instances: IResolvable) { - cdkBuilder.instances(instances.let(IResolvable::unwrap)) + cdkBuilder.instances(instances.let(IResolvable.Companion::unwrap)) } /** * @param instances A specification of the number and type of Amazon EC2 instances. */ override fun instances(instances: CfnCluster.JobFlowInstancesConfigProperty) { - cdkBuilder.instances(instances.let(CfnCluster.JobFlowInstancesConfigProperty::unwrap)) + cdkBuilder.instances(instances.let(CfnCluster.JobFlowInstancesConfigProperty.Companion::unwrap)) } /** @@ -1278,7 +1278,7 @@ public interface CfnClusterProps { * *Amazon EMR Management Guide* . */ override fun kerberosAttributes(kerberosAttributes: IResolvable) { - cdkBuilder.kerberosAttributes(kerberosAttributes.let(IResolvable::unwrap)) + cdkBuilder.kerberosAttributes(kerberosAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -1289,7 +1289,7 @@ public interface CfnClusterProps { * *Amazon EMR Management Guide* . */ override fun kerberosAttributes(kerberosAttributes: CfnCluster.KerberosAttributesProperty) { - cdkBuilder.kerberosAttributes(kerberosAttributes.let(CfnCluster.KerberosAttributesProperty::unwrap)) + cdkBuilder.kerberosAttributes(kerberosAttributes.let(CfnCluster.KerberosAttributesProperty.Companion::unwrap)) } /** @@ -1329,7 +1329,7 @@ public interface CfnClusterProps { * nodes. The master node cannot be scaled after initial configuration. */ override fun managedScalingPolicy(managedScalingPolicy: IResolvable) { - cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public interface CfnClusterProps { */ override fun managedScalingPolicy(managedScalingPolicy: CfnCluster.ManagedScalingPolicyProperty) { - cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(CfnCluster.ManagedScalingPolicyProperty::unwrap)) + cdkBuilder.managedScalingPolicy(managedScalingPolicy.let(CfnCluster.ManagedScalingPolicyProperty.Companion::unwrap)) } /** @@ -1379,7 +1379,7 @@ public interface CfnClusterProps { * @param placementGroupConfigs the value to be set. */ override fun placementGroupConfigs(placementGroupConfigs: IResolvable) { - cdkBuilder.placementGroupConfigs(placementGroupConfigs.let(IResolvable::unwrap)) + cdkBuilder.placementGroupConfigs(placementGroupConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -1452,7 +1452,7 @@ public interface CfnClusterProps { * @param steps A list of steps to run. */ override fun steps(steps: IResolvable) { - cdkBuilder.steps(steps.let(IResolvable::unwrap)) + cdkBuilder.steps(steps.let(IResolvable.Companion::unwrap)) } /** @@ -1471,7 +1471,7 @@ public interface CfnClusterProps { * @param tags A list of tags associated with a cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1510,7 +1510,7 @@ public interface CfnClusterProps { * . */ override fun visibleToAllUsers(visibleToAllUsers: IResolvable) { - cdkBuilder.visibleToAllUsers(visibleToAllUsers.let(IResolvable::unwrap)) + cdkBuilder.visibleToAllUsers(visibleToAllUsers.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.emr.CfnClusterProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfig.kt index e11471deb3..01167f2adc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfig.kt @@ -109,8 +109,8 @@ public open class CfnInstanceFleetConfig( id: String, props: CfnInstanceFleetConfigProps, ) : - this(software.amazon.awscdk.services.emr.CfnInstanceFleetConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceFleetConfigProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnInstanceFleetConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceFleetConfigProps.Companion::unwrap)) ) public constructor( @@ -143,7 +143,7 @@ public open class CfnInstanceFleetConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnInstanceFleetConfig( * fulfill On-Demand and Spot target capacities. */ public open fun instanceTypeConfigs(`value`: IResolvable) { - unwrap(this).setInstanceTypeConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceTypeConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,14 +196,14 @@ public open class CfnInstanceFleetConfig( * The launch specification for the instance fleet. */ public open fun launchSpecifications(`value`: IResolvable) { - unwrap(this).setLaunchSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** * The launch specification for the instance fleet. */ public open fun launchSpecifications(`value`: InstanceFleetProvisioningSpecificationsProperty) { - unwrap(this).setLaunchSpecifications(`value`.let(InstanceFleetProvisioningSpecificationsProperty::unwrap)) + unwrap(this).setLaunchSpecifications(`value`.let(InstanceFleetProvisioningSpecificationsProperty.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnInstanceFleetConfig( * attempts to provision to fulfill On-Demand and Spot target capacities. */ override fun instanceTypeConfigs(instanceTypeConfigs: IResolvable) { - cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.let(IResolvable::unwrap)) + cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CfnInstanceFleetConfig( * @param launchSpecifications The launch specification for the instance fleet. */ override fun launchSpecifications(launchSpecifications: IResolvable) { - cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -508,7 +508,7 @@ public open class CfnInstanceFleetConfig( */ override fun launchSpecifications(launchSpecifications: InstanceFleetProvisioningSpecificationsProperty) { - cdkBuilder.launchSpecifications(launchSpecifications.let(InstanceFleetProvisioningSpecificationsProperty::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(InstanceFleetProvisioningSpecificationsProperty.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnInstanceFleetConfig( * Duplicates not allowed. */ override fun configurationProperties(configurationProperties: IResolvable) { - cdkBuilder.configurationProperties(configurationProperties.let(IResolvable::unwrap)) + cdkBuilder.configurationProperties(configurationProperties.let(IResolvable.Companion::unwrap)) } /** @@ -745,7 +745,7 @@ public open class CfnInstanceFleetConfig( * object. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnInstanceFleetConfig( * instance in the cluster. */ override fun volumeSpecification(volumeSpecification: IResolvable) { - cdkBuilder.volumeSpecification(volumeSpecification.let(IResolvable::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -916,7 +916,7 @@ public open class CfnInstanceFleetConfig( * instance in the cluster. */ override fun volumeSpecification(volumeSpecification: VolumeSpecificationProperty) { - cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty.Companion::unwrap)) } /** @@ -1068,7 +1068,7 @@ public open class CfnInstanceFleetConfig( * cluster instance. */ override fun ebsBlockDeviceConfigs(ebsBlockDeviceConfigs: IResolvable) { - cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.let(IResolvable::unwrap)) + cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -1097,7 +1097,7 @@ public open class CfnInstanceFleetConfig( * @param ebsOptimized Indicates whether an Amazon EBS volume is EBS-optimized. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1271,7 +1271,7 @@ public open class CfnInstanceFleetConfig( * releases 5.12.1 and later. */ override fun onDemandSpecification(onDemandSpecification: IResolvable) { - cdkBuilder.onDemandSpecification(onDemandSpecification.let(IResolvable::unwrap)) + cdkBuilder.onDemandSpecification(onDemandSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1284,7 +1284,7 @@ public open class CfnInstanceFleetConfig( */ override fun onDemandSpecification(onDemandSpecification: OnDemandProvisioningSpecificationProperty) { - cdkBuilder.onDemandSpecification(onDemandSpecification.let(OnDemandProvisioningSpecificationProperty::unwrap)) + cdkBuilder.onDemandSpecification(onDemandSpecification.let(OnDemandProvisioningSpecificationProperty.Companion::unwrap)) } /** @@ -1307,7 +1307,7 @@ public open class CfnInstanceFleetConfig( * determines the defined duration, provisioning timeout behavior, and allocation strategy. */ override fun spotSpecification(spotSpecification: IResolvable) { - cdkBuilder.spotSpecification(spotSpecification.let(IResolvable::unwrap)) + cdkBuilder.spotSpecification(spotSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1315,7 +1315,7 @@ public open class CfnInstanceFleetConfig( * determines the defined duration, provisioning timeout behavior, and allocation strategy. */ override fun spotSpecification(spotSpecification: SpotProvisioningSpecificationProperty) { - cdkBuilder.spotSpecification(spotSpecification.let(SpotProvisioningSpecificationProperty::unwrap)) + cdkBuilder.spotSpecification(spotSpecification.let(SpotProvisioningSpecificationProperty.Companion::unwrap)) } /** @@ -1632,7 +1632,7 @@ public open class CfnInstanceFleetConfig( * Applications](https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html) . */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -1672,7 +1672,7 @@ public open class CfnInstanceFleetConfig( * attached to each instance as defined by `InstanceType` . */ override fun ebsConfiguration(ebsConfiguration: IResolvable) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1680,7 +1680,7 @@ public open class CfnInstanceFleetConfig( * attached to each instance as defined by `InstanceType` . */ override fun ebsConfiguration(ebsConfiguration: EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfigProps.kt index 71eaaf21c7..5e871456aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceFleetConfigProps.kt @@ -299,7 +299,7 @@ public interface CfnInstanceFleetConfigProps { * excluding 5.0.x versions. */ override fun instanceTypeConfigs(instanceTypeConfigs: IResolvable) { - cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.let(IResolvable::unwrap)) + cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface CfnInstanceFleetConfigProps { * @param launchSpecifications The launch specification for the instance fleet. */ override fun launchSpecifications(launchSpecifications: IResolvable) { - cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface CfnInstanceFleetConfigProps { */ override fun launchSpecifications(launchSpecifications: CfnInstanceFleetConfig.InstanceFleetProvisioningSpecificationsProperty) { - cdkBuilder.launchSpecifications(launchSpecifications.let(CfnInstanceFleetConfig.InstanceFleetProvisioningSpecificationsProperty::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(CfnInstanceFleetConfig.InstanceFleetProvisioningSpecificationsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfig.kt index 6afcc24cf8..0267e94f65 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfig.kt @@ -129,8 +129,8 @@ public open class CfnInstanceGroupConfig( id: String, props: CfnInstanceGroupConfigProps, ) : - this(software.amazon.awscdk.services.emr.CfnInstanceGroupConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceGroupConfigProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnInstanceGroupConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceGroupConfigProps.Companion::unwrap)) ) public constructor( @@ -154,14 +154,14 @@ public open class CfnInstanceGroupConfig( * `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` . */ public open fun autoScalingPolicy(`value`: IResolvable) { - unwrap(this).setAutoScalingPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoScalingPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` . */ public open fun autoScalingPolicy(`value`: AutoScalingPolicyProperty) { - unwrap(this).setAutoScalingPolicy(`value`.let(AutoScalingPolicyProperty::unwrap)) + unwrap(this).setAutoScalingPolicy(`value`.let(AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnInstanceGroupConfig( * Amazon EMR releases 4.x or later. */ public open fun configurations(`value`: IResolvable) { - unwrap(this).setConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -229,14 +229,14 @@ public open class CfnInstanceGroupConfig( * `EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances. */ public open fun ebsConfiguration(`value`: IResolvable) { - unwrap(this).setEbsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * `EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances. */ public open fun ebsConfiguration(`value`: EbsConfigurationProperty) { - unwrap(this).setEbsConfiguration(`value`.let(EbsConfigurationProperty::unwrap)) + unwrap(this).setEbsConfiguration(`value`.let(EbsConfigurationProperty.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnInstanceGroupConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnInstanceGroupConfig( * @param autoScalingPolicy `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` . */ override fun autoScalingPolicy(autoScalingPolicy: IResolvable) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class CfnInstanceGroupConfig( * @param autoScalingPolicy `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` . */ override fun autoScalingPolicy(autoScalingPolicy: AutoScalingPolicyProperty) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnInstanceGroupConfig( * @param configurations Amazon EMR releases 4.x or later. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class CfnInstanceGroupConfig( * cluster instances. */ override fun ebsConfiguration(ebsConfiguration: IResolvable) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -646,7 +646,7 @@ public open class CfnInstanceGroupConfig( * cluster instances. */ override fun ebsConfiguration(ebsConfiguration: EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public open class CfnInstanceGroupConfig( * limits. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** @@ -893,7 +893,7 @@ public open class CfnInstanceGroupConfig( * limits. */ override fun constraints(constraints: ScalingConstraintsProperty) { - cdkBuilder.constraints(constraints.let(ScalingConstraintsProperty::unwrap)) + cdkBuilder.constraints(constraints.let(ScalingConstraintsProperty.Companion::unwrap)) } /** @@ -911,7 +911,7 @@ public open class CfnInstanceGroupConfig( * @param rules The scale-in and scale-out rules that comprise the automatic scaling policy. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -1169,7 +1169,7 @@ public open class CfnInstanceGroupConfig( * @param dimensions A CloudWatch metric dimension. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -1465,7 +1465,7 @@ public open class CfnInstanceGroupConfig( * Duplicates not allowed. */ override fun configurationProperties(configurationProperties: IResolvable) { - cdkBuilder.configurationProperties(configurationProperties.let(IResolvable::unwrap)) + cdkBuilder.configurationProperties(configurationProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1482,7 +1482,7 @@ public open class CfnInstanceGroupConfig( * object. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -1642,7 +1642,7 @@ public open class CfnInstanceGroupConfig( * instance in the cluster. */ override fun volumeSpecification(volumeSpecification: IResolvable) { - cdkBuilder.volumeSpecification(volumeSpecification.let(IResolvable::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1651,7 +1651,7 @@ public open class CfnInstanceGroupConfig( * instance in the cluster. */ override fun volumeSpecification(volumeSpecification: VolumeSpecificationProperty) { - cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty.Companion::unwrap)) } /** @@ -1803,7 +1803,7 @@ public open class CfnInstanceGroupConfig( * cluster instance. */ override fun ebsBlockDeviceConfigs(ebsBlockDeviceConfigs: IResolvable) { - cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.let(IResolvable::unwrap)) + cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -1832,7 +1832,7 @@ public open class CfnInstanceGroupConfig( * @param ebsOptimized Indicates whether an Amazon EBS volume is EBS-optimized. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2087,7 +2087,7 @@ public open class CfnInstanceGroupConfig( * activity makes when triggered, and the periodicity of the adjustment. */ override fun simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration: IResolvable) { - cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2096,7 +2096,7 @@ public open class CfnInstanceGroupConfig( */ override fun simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationProperty) { - cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(SimpleScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(SimpleScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -2432,14 +2432,14 @@ public open class CfnInstanceGroupConfig( * @param action The conditions that trigger an automatic scaling activity. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action The conditions that trigger an automatic scaling activity. */ override fun action(action: ScalingActionProperty) { - cdkBuilder.action(action.let(ScalingActionProperty::unwrap)) + cdkBuilder.action(action.let(ScalingActionProperty.Companion::unwrap)) } /** @@ -2470,7 +2470,7 @@ public open class CfnInstanceGroupConfig( * activity is triggered. */ override fun trigger(trigger: IResolvable) { - cdkBuilder.trigger(trigger.let(IResolvable::unwrap)) + cdkBuilder.trigger(trigger.let(IResolvable.Companion::unwrap)) } /** @@ -2478,7 +2478,7 @@ public open class CfnInstanceGroupConfig( * activity is triggered. */ override fun trigger(trigger: ScalingTriggerProperty) { - cdkBuilder.trigger(trigger.let(ScalingTriggerProperty::unwrap)) + cdkBuilder.trigger(trigger.let(ScalingTriggerProperty.Companion::unwrap)) } /** @@ -2634,7 +2634,7 @@ public open class CfnInstanceGroupConfig( * activity begins. */ override fun cloudWatchAlarmDefinition(cloudWatchAlarmDefinition: IResolvable) { - cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -2644,7 +2644,7 @@ public open class CfnInstanceGroupConfig( */ override fun cloudWatchAlarmDefinition(cloudWatchAlarmDefinition: CloudWatchAlarmDefinitionProperty) { - cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(CloudWatchAlarmDefinitionProperty::unwrap)) + cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(CloudWatchAlarmDefinitionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfigProps.kt index ad0ba55902..68ee0d25c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnInstanceGroupConfigProps.kt @@ -327,7 +327,7 @@ public interface CfnInstanceGroupConfigProps { * *Amazon EMR Management Guide* . */ override fun autoScalingPolicy(autoScalingPolicy: IResolvable) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface CfnInstanceGroupConfigProps { */ override fun autoScalingPolicy(autoScalingPolicy: CfnInstanceGroupConfig.AutoScalingPolicyProperty) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(CfnInstanceGroupConfig.AutoScalingPolicyProperty::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(CfnInstanceGroupConfig.AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface CfnInstanceGroupConfigProps { * a separate configuration for each instance group (master, core, and task). */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface CfnInstanceGroupConfigProps { * cluster instances. */ override fun ebsConfiguration(ebsConfiguration: IResolvable) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface CfnInstanceGroupConfigProps { */ override fun ebsConfiguration(ebsConfiguration: CfnInstanceGroupConfig.EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(CfnInstanceGroupConfig.EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(CfnInstanceGroupConfig.EbsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnSecurityConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnSecurityConfiguration.kt index 8efd65c1cb..e94c1b3516 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnSecurityConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnSecurityConfiguration.kt @@ -76,8 +76,8 @@ public open class CfnSecurityConfiguration( id: String, props: CfnSecurityConfigurationProps, ) : - this(software.amazon.awscdk.services.emr.CfnSecurityConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnSecurityConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityConfigurationProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnSecurityConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStep.kt index 60989706a4..cfd4644194 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStep.kt @@ -55,8 +55,8 @@ public open class CfnStep( id: String, props: CfnStepProps, ) : - this(software.amazon.awscdk.services.emr.CfnStep(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStepProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnStep(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStepProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnStep( * whose main function will be executed. */ public open fun hadoopJarStep(`value`: IResolvable) { - unwrap(this).setHadoopJarStep(`value`.let(IResolvable::unwrap)) + unwrap(this).setHadoopJarStep(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class CfnStep( * whose main function will be executed. */ public open fun hadoopJarStep(`value`: HadoopJarStepConfigProperty) { - unwrap(this).setHadoopJarStep(`value`.let(HadoopJarStepConfigProperty::unwrap)) + unwrap(this).setHadoopJarStep(`value`.let(HadoopJarStepConfigProperty.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnStep( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnStep( * consisting of a JAR file whose main function will be executed. */ override fun hadoopJarStep(hadoopJarStep: IResolvable) { - cdkBuilder.hadoopJarStep(hadoopJarStep.let(IResolvable::unwrap)) + cdkBuilder.hadoopJarStep(hadoopJarStep.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnStep( * consisting of a JAR file whose main function will be executed. */ override fun hadoopJarStep(hadoopJarStep: HadoopJarStepConfigProperty) { - cdkBuilder.hadoopJarStep(hadoopJarStep.let(HadoopJarStepConfigProperty::unwrap)) + cdkBuilder.hadoopJarStep(hadoopJarStep.let(HadoopJarStepConfigProperty.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnStep( * You can use these properties to pass key value pairs to your main function. */ override fun stepProperties(stepProperties: IResolvable) { - cdkBuilder.stepProperties(stepProperties.let(IResolvable::unwrap)) + cdkBuilder.stepProperties(stepProperties.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStepProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStepProps.kt index 14dc29027a..cb6b18b07b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStepProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStepProps.kt @@ -141,7 +141,7 @@ public interface CfnStepProps { * then waits for the job to finish or fail before executing subsequent steps. */ override fun hadoopJarStep(hadoopJarStep: IResolvable) { - cdkBuilder.hadoopJarStep(hadoopJarStep.let(IResolvable::unwrap)) + cdkBuilder.hadoopJarStep(hadoopJarStep.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public interface CfnStepProps { * then waits for the job to finish or fail before executing subsequent steps. */ override fun hadoopJarStep(hadoopJarStep: CfnStep.HadoopJarStepConfigProperty) { - cdkBuilder.hadoopJarStep(hadoopJarStep.let(CfnStep.HadoopJarStepConfigProperty::unwrap)) + cdkBuilder.hadoopJarStep(hadoopJarStep.let(CfnStep.HadoopJarStepConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudio.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudio.kt index 28591ebf68..99dd2e1847 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudio.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudio.kt @@ -66,8 +66,8 @@ public open class CfnStudio( id: String, props: CfnStudioProps, ) : - this(software.amazon.awscdk.services.emr.CfnStudio(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStudioProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnStudio(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStudioProps.Companion::unwrap)) ) public constructor( @@ -216,7 +216,7 @@ public open class CfnStudio( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnStudio( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnStudio( * Indicates whether the Studio has Trusted identity propagation enabled. */ public open fun trustedIdentityPropagationEnabled(`value`: IResolvable) { - unwrap(this).setTrustedIdentityPropagationEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTrustedIdentityPropagationEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class CfnStudio( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class CfnStudio( * propagation enabled. */ override fun trustedIdentityPropagationEnabled(trustedIdentityPropagationEnabled: IResolvable) { - cdkBuilder.trustedIdentityPropagationEnabled(trustedIdentityPropagationEnabled.let(IResolvable::unwrap)) + cdkBuilder.trustedIdentityPropagationEnabled(trustedIdentityPropagationEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioProps.kt index 854b197626..8ab4ed2223 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioProps.kt @@ -459,7 +459,7 @@ public interface CfnStudioProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnStudioProps { * The default value is `false` . */ override fun trustedIdentityPropagationEnabled(trustedIdentityPropagationEnabled: IResolvable) { - cdkBuilder.trustedIdentityPropagationEnabled(trustedIdentityPropagationEnabled.let(IResolvable::unwrap)) + cdkBuilder.trustedIdentityPropagationEnabled(trustedIdentityPropagationEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioSessionMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioSessionMapping.kt index 2357257b5a..a3c69518b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioSessionMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnStudioSessionMapping.kt @@ -41,8 +41,8 @@ public open class CfnStudioSessionMapping( id: String, props: CfnStudioSessionMappingProps, ) : - this(software.amazon.awscdk.services.emr.CfnStudioSessionMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStudioSessionMappingProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnStudioSessionMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStudioSessionMappingProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnStudioSessionMapping( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspace.kt index b0440a4af2..744beae16a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspace.kt @@ -41,7 +41,7 @@ public open class CfnWALWorkspace( cdkObject: software.amazon.awscdk.services.emr.CfnWALWorkspace, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.emr.CfnWALWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.emr.CfnWALWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class CfnWALWorkspace( id: String, props: CfnWALWorkspaceProps, ) : - this(software.amazon.awscdk.services.emr.CfnWALWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWALWorkspaceProps::unwrap)) + this(software.amazon.awscdk.services.emr.CfnWALWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWALWorkspaceProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnWALWorkspace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public open class CfnWALWorkspace( * You can add tags when you create a new workspace. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnWALWorkspace( * @param tags You can add tags when you create a new workspace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspaceProps.kt index c61577a695..2fa08462fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emr/CfnWALWorkspaceProps.kt @@ -94,7 +94,7 @@ public interface CfnWALWorkspaceProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualCluster.kt index 97ac4e11fc..a49dec34cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualCluster.kt @@ -64,8 +64,8 @@ public open class CfnVirtualCluster( id: String, props: CfnVirtualClusterProps, ) : - this(software.amazon.awscdk.services.emrcontainers.CfnVirtualCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVirtualClusterProps::unwrap)) + this(software.amazon.awscdk.services.emrcontainers.CfnVirtualCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVirtualClusterProps.Companion::unwrap)) ) public constructor( @@ -95,14 +95,14 @@ public open class CfnVirtualCluster( * The container provider of the virtual cluster. */ public open fun containerProvider(`value`: IResolvable) { - unwrap(this).setContainerProvider(`value`.let(IResolvable::unwrap)) + unwrap(this).setContainerProvider(`value`.let(IResolvable.Companion::unwrap)) } /** * The container provider of the virtual cluster. */ public open fun containerProvider(`value`: ContainerProviderProperty) { - unwrap(this).setContainerProvider(`value`.let(ContainerProviderProperty::unwrap)) + unwrap(this).setContainerProvider(`value`.let(ContainerProviderProperty.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnVirtualCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnVirtualCluster( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnVirtualCluster( * @param containerProvider The container provider of the virtual cluster. */ override fun containerProvider(containerProvider: IResolvable) { - cdkBuilder.containerProvider(containerProvider.let(IResolvable::unwrap)) + cdkBuilder.containerProvider(containerProvider.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnVirtualCluster( * @param containerProvider The container provider of the virtual cluster. */ override fun containerProvider(containerProvider: ContainerProviderProperty) { - cdkBuilder.containerProvider(containerProvider.let(ContainerProviderProperty::unwrap)) + cdkBuilder.containerProvider(containerProvider.let(ContainerProviderProperty.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnVirtualCluster( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -379,14 +379,14 @@ public open class CfnVirtualCluster( * @param eksInfo The information about the Amazon EKS cluster. */ override fun eksInfo(eksInfo: IResolvable) { - cdkBuilder.eksInfo(eksInfo.let(IResolvable::unwrap)) + cdkBuilder.eksInfo(eksInfo.let(IResolvable.Companion::unwrap)) } /** * @param eksInfo The information about the Amazon EKS cluster. */ override fun eksInfo(eksInfo: EksInfoProperty) { - cdkBuilder.eksInfo(eksInfo.let(EksInfoProperty::unwrap)) + cdkBuilder.eksInfo(eksInfo.let(EksInfoProperty.Companion::unwrap)) } /** @@ -544,14 +544,14 @@ public open class CfnVirtualCluster( * @param info The information about the container cluster. */ override fun info(info: IResolvable) { - cdkBuilder.info(info.let(IResolvable::unwrap)) + cdkBuilder.info(info.let(IResolvable.Companion::unwrap)) } /** * @param info The information about the container cluster. */ override fun info(info: ContainerInfoProperty) { - cdkBuilder.info(info.let(ContainerInfoProperty::unwrap)) + cdkBuilder.info(info.let(ContainerInfoProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualClusterProps.kt index e0f2159b1f..87af0b92b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrcontainers/CfnVirtualClusterProps.kt @@ -123,14 +123,14 @@ public interface CfnVirtualClusterProps { * @param containerProvider The container provider of the virtual cluster. */ override fun containerProvider(containerProvider: IResolvable) { - cdkBuilder.containerProvider(containerProvider.let(IResolvable::unwrap)) + cdkBuilder.containerProvider(containerProvider.let(IResolvable.Companion::unwrap)) } /** * @param containerProvider The container provider of the virtual cluster. */ override fun containerProvider(containerProvider: CfnVirtualCluster.ContainerProviderProperty) { - cdkBuilder.containerProvider(containerProvider.let(CfnVirtualCluster.ContainerProviderProperty::unwrap)) + cdkBuilder.containerProvider(containerProvider.let(CfnVirtualCluster.ContainerProviderProperty.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public interface CfnVirtualClusterProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplication.kt index b539f9b2ea..7c91a8e36d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplication.kt @@ -126,8 +126,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.emrserverless.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.emrserverless.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -168,14 +168,14 @@ public open class CfnApplication( * The configuration for an application to automatically start on job submission. */ public open fun autoStartConfiguration(`value`: IResolvable) { - unwrap(this).setAutoStartConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoStartConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for an application to automatically start on job submission. */ public open fun autoStartConfiguration(`value`: AutoStartConfigurationProperty) { - unwrap(this).setAutoStartConfiguration(`value`.let(AutoStartConfigurationProperty::unwrap)) + unwrap(this).setAutoStartConfiguration(`value`.let(AutoStartConfigurationProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnApplication( * idle. */ public open fun autoStopConfiguration(`value`: IResolvable) { - unwrap(this).setAutoStopConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoStopConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnApplication( * idle. */ public open fun autoStopConfiguration(`value`: AutoStopConfigurationProperty) { - unwrap(this).setAutoStopConfiguration(`value`.let(AutoStopConfigurationProperty::unwrap)) + unwrap(this).setAutoStopConfiguration(`value`.let(AutoStopConfigurationProperty.Companion::unwrap)) } /** @@ -227,14 +227,14 @@ public open class CfnApplication( * The image configuration applied to all worker types. */ public open fun imageConfiguration(`value`: IResolvable) { - unwrap(this).setImageConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The image configuration applied to all worker types. */ public open fun imageConfiguration(`value`: ImageConfigurationInputProperty) { - unwrap(this).setImageConfiguration(`value`.let(ImageConfigurationInputProperty::unwrap)) + unwrap(this).setImageConfiguration(`value`.let(ImageConfigurationInputProperty.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnApplication( * The initial capacity of the application. */ public open fun initialCapacity(`value`: IResolvable) { - unwrap(this).setInitialCapacity(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialCapacity(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public open class CfnApplication( * The maximum capacity of the application. */ public open fun maximumCapacity(`value`: IResolvable) { - unwrap(this).setMaximumCapacity(`value`.let(IResolvable::unwrap)) + unwrap(this).setMaximumCapacity(`value`.let(IResolvable.Companion::unwrap)) } /** * The maximum capacity of the application. */ public open fun maximumCapacity(`value`: MaximumAllowedResourcesProperty) { - unwrap(this).setMaximumCapacity(`value`.let(MaximumAllowedResourcesProperty::unwrap)) + unwrap(this).setMaximumCapacity(`value`.let(MaximumAllowedResourcesProperty.Companion::unwrap)) } /** @@ -314,14 +314,14 @@ public open class CfnApplication( * A configuration specification to be used when provisioning an application. */ public open fun monitoringConfiguration(`value`: IResolvable) { - unwrap(this).setMonitoringConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setMonitoringConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A configuration specification to be used when provisioning an application. */ public open fun monitoringConfiguration(`value`: MonitoringConfigurationProperty) { - unwrap(this).setMonitoringConfiguration(`value`.let(MonitoringConfigurationProperty::unwrap)) + unwrap(this).setMonitoringConfiguration(`value`.let(MonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -354,14 +354,14 @@ public open class CfnApplication( * The network configuration for customer VPC connectivity for the application. */ public open fun networkConfiguration(`value`: IResolvable) { - unwrap(this).setNetworkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The network configuration for customer VPC connectivity for the application. */ public open fun networkConfiguration(`value`: NetworkConfigurationProperty) { - unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnApplication( * API operation. */ public open fun runtimeConfiguration(`value`: IResolvable) { - unwrap(this).setRuntimeConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntimeConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public open class CfnApplication( * The tags assigned to the application. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnApplication( * The specification applied to each worker type. */ public open fun workerTypeSpecifications(`value`: IResolvable) { - unwrap(this).setWorkerTypeSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkerTypeSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnApplication( * job submission. */ override fun autoStartConfiguration(autoStartConfiguration: IResolvable) { - cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public open class CfnApplication( * job submission. */ override fun autoStartConfiguration(autoStartConfiguration: AutoStartConfigurationProperty) { - cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(AutoStartConfigurationProperty::unwrap)) + cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(AutoStartConfigurationProperty.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class CfnApplication( * a certain amount of time being idle. */ override fun autoStopConfiguration(autoStopConfiguration: IResolvable) { - cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -914,7 +914,7 @@ public open class CfnApplication( * a certain amount of time being idle. */ override fun autoStopConfiguration(autoStopConfiguration: AutoStopConfigurationProperty) { - cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(AutoStopConfigurationProperty::unwrap)) + cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(AutoStopConfigurationProperty.Companion::unwrap)) } /** @@ -938,7 +938,7 @@ public open class CfnApplication( * @param imageConfiguration The image configuration applied to all worker types. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -948,7 +948,7 @@ public open class CfnApplication( * @param imageConfiguration The image configuration applied to all worker types. */ override fun imageConfiguration(imageConfiguration: ImageConfigurationInputProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(ImageConfigurationInputProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(ImageConfigurationInputProperty.Companion::unwrap)) } /** @@ -970,7 +970,7 @@ public open class CfnApplication( * @param initialCapacity The initial capacity of the application. */ override fun initialCapacity(initialCapacity: IResolvable) { - cdkBuilder.initialCapacity(initialCapacity.let(IResolvable::unwrap)) + cdkBuilder.initialCapacity(initialCapacity.let(IResolvable.Companion::unwrap)) } /** @@ -1003,7 +1003,7 @@ public open class CfnApplication( * @param maximumCapacity The maximum capacity of the application. */ override fun maximumCapacity(maximumCapacity: IResolvable) { - cdkBuilder.maximumCapacity(maximumCapacity.let(IResolvable::unwrap)) + cdkBuilder.maximumCapacity(maximumCapacity.let(IResolvable.Companion::unwrap)) } /** @@ -1017,7 +1017,7 @@ public open class CfnApplication( * @param maximumCapacity The maximum capacity of the application. */ override fun maximumCapacity(maximumCapacity: MaximumAllowedResourcesProperty) { - cdkBuilder.maximumCapacity(maximumCapacity.let(MaximumAllowedResourcesProperty::unwrap)) + cdkBuilder.maximumCapacity(maximumCapacity.let(MaximumAllowedResourcesProperty.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public open class CfnApplication( * application. */ override fun monitoringConfiguration(monitoringConfiguration: IResolvable) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public open class CfnApplication( * application. */ override fun monitoringConfiguration(monitoringConfiguration: MonitoringConfigurationProperty) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(MonitoringConfigurationProperty::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(MonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -1101,7 +1101,7 @@ public open class CfnApplication( * application. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1112,7 +1112,7 @@ public open class CfnApplication( * application. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -1157,7 +1157,7 @@ public open class CfnApplication( * API operation. */ override fun runtimeConfiguration(runtimeConfiguration: IResolvable) { - cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class CfnApplication( * @param tags The tags assigned to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class CfnApplication( * @param workerTypeSpecifications The specification applied to each worker type. */ override fun workerTypeSpecifications(workerTypeSpecifications: IResolvable) { - cdkBuilder.workerTypeSpecifications(workerTypeSpecifications.let(IResolvable::unwrap)) + cdkBuilder.workerTypeSpecifications(workerTypeSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -1342,7 +1342,7 @@ public open class CfnApplication( * Defaults to true. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1466,7 +1466,7 @@ public open class CfnApplication( * Defaults to true. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1655,7 +1655,7 @@ public open class CfnApplication( * @param enabled Enables CloudWatch logging. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1685,7 +1685,7 @@ public open class CfnApplication( * @param logTypeMap The specific log-streams which need to be uploaded to CloudWatch. */ override fun logTypeMap(logTypeMap: IResolvable) { - cdkBuilder.logTypeMap(logTypeMap.let(IResolvable::unwrap)) + cdkBuilder.logTypeMap(logTypeMap.let(IResolvable.Companion::unwrap)) } /** @@ -1856,7 +1856,7 @@ public open class CfnApplication( * @param configurations the value to be set. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -1876,7 +1876,7 @@ public open class CfnApplication( * @param properties the value to be set. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -2103,14 +2103,14 @@ public open class CfnApplication( * @param value the value to be set. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value the value to be set. */ override fun `value`(`value`: InitialCapacityConfigProperty) { - cdkBuilder.`value`(`value`.let(InitialCapacityConfigProperty::unwrap)) + cdkBuilder.`value`(`value`.let(InitialCapacityConfigProperty.Companion::unwrap)) } /** @@ -2242,7 +2242,7 @@ public open class CfnApplication( * configuration. */ override fun workerConfiguration(workerConfiguration: IResolvable) { - cdkBuilder.workerConfiguration(workerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.workerConfiguration(workerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2250,7 +2250,7 @@ public open class CfnApplication( * configuration. */ override fun workerConfiguration(workerConfiguration: WorkerConfigurationProperty) { - cdkBuilder.workerConfiguration(workerConfiguration.let(WorkerConfigurationProperty::unwrap)) + cdkBuilder.workerConfiguration(workerConfiguration.let(WorkerConfigurationProperty.Companion::unwrap)) } /** @@ -2506,7 +2506,7 @@ public open class CfnApplication( * If set to false, managed logging will be turned off. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2848,7 +2848,7 @@ public open class CfnApplication( * You can configure your jobs to send log information to CloudWatch . */ override fun cloudWatchLoggingConfiguration(cloudWatchLoggingConfiguration: IResolvable) { - cdkBuilder.cloudWatchLoggingConfiguration(cloudWatchLoggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingConfiguration(cloudWatchLoggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2858,7 +2858,7 @@ public open class CfnApplication( */ override fun cloudWatchLoggingConfiguration(cloudWatchLoggingConfiguration: CloudWatchLoggingConfigurationProperty) { - cdkBuilder.cloudWatchLoggingConfiguration(cloudWatchLoggingConfiguration.let(CloudWatchLoggingConfigurationProperty::unwrap)) + cdkBuilder.cloudWatchLoggingConfiguration(cloudWatchLoggingConfiguration.let(CloudWatchLoggingConfigurationProperty.Companion::unwrap)) } /** @@ -2879,7 +2879,7 @@ public open class CfnApplication( */ override fun managedPersistenceMonitoringConfiguration(managedPersistenceMonitoringConfiguration: IResolvable) { - cdkBuilder.managedPersistenceMonitoringConfiguration(managedPersistenceMonitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.managedPersistenceMonitoringConfiguration(managedPersistenceMonitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2888,7 +2888,7 @@ public open class CfnApplication( */ override fun managedPersistenceMonitoringConfiguration(managedPersistenceMonitoringConfiguration: ManagedPersistenceMonitoringConfigurationProperty) { - cdkBuilder.managedPersistenceMonitoringConfiguration(managedPersistenceMonitoringConfiguration.let(ManagedPersistenceMonitoringConfigurationProperty::unwrap)) + cdkBuilder.managedPersistenceMonitoringConfiguration(managedPersistenceMonitoringConfiguration.let(ManagedPersistenceMonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -2906,7 +2906,7 @@ public open class CfnApplication( * @param s3MonitoringConfiguration The Amazon S3 configuration for monitoring log publishing. */ override fun s3MonitoringConfiguration(s3MonitoringConfiguration: IResolvable) { - cdkBuilder.s3MonitoringConfiguration(s3MonitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3MonitoringConfiguration(s3MonitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2914,7 +2914,7 @@ public open class CfnApplication( */ override fun s3MonitoringConfiguration(s3MonitoringConfiguration: S3MonitoringConfigurationProperty) { - cdkBuilder.s3MonitoringConfiguration(s3MonitoringConfiguration.let(S3MonitoringConfigurationProperty::unwrap)) + cdkBuilder.s3MonitoringConfiguration(s3MonitoringConfiguration.let(S3MonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -3440,14 +3440,14 @@ public open class CfnApplication( * @param imageConfiguration The image configuration for a worker type. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param imageConfiguration The image configuration for a worker type. */ override fun imageConfiguration(imageConfiguration: ImageConfigurationInputProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(ImageConfigurationInputProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(ImageConfigurationInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplicationProps.kt index 311c28b1a9..39ce7fb93d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/emrserverless/CfnApplicationProps.kt @@ -472,7 +472,7 @@ public interface CfnApplicationProps { * job submission. */ override fun autoStartConfiguration(autoStartConfiguration: IResolvable) { - cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public interface CfnApplicationProps { */ override fun autoStartConfiguration(autoStartConfiguration: CfnApplication.AutoStartConfigurationProperty) { - cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(CfnApplication.AutoStartConfigurationProperty::unwrap)) + cdkBuilder.autoStartConfiguration(autoStartConfiguration.let(CfnApplication.AutoStartConfigurationProperty.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public interface CfnApplicationProps { * a certain amount of time being idle. */ override fun autoStopConfiguration(autoStopConfiguration: IResolvable) { - cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public interface CfnApplicationProps { */ override fun autoStopConfiguration(autoStopConfiguration: CfnApplication.AutoStopConfigurationProperty) { - cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(CfnApplication.AutoStopConfigurationProperty::unwrap)) + cdkBuilder.autoStopConfiguration(autoStopConfiguration.let(CfnApplication.AutoStopConfigurationProperty.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public interface CfnApplicationProps { * @param imageConfiguration The image configuration applied to all worker types. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public interface CfnApplicationProps { */ override fun imageConfiguration(imageConfiguration: CfnApplication.ImageConfigurationInputProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(CfnApplication.ImageConfigurationInputProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(CfnApplication.ImageConfigurationInputProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface CfnApplicationProps { * @param initialCapacity The initial capacity of the application. */ override fun initialCapacity(initialCapacity: IResolvable) { - cdkBuilder.initialCapacity(initialCapacity.let(IResolvable::unwrap)) + cdkBuilder.initialCapacity(initialCapacity.let(IResolvable.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public interface CfnApplicationProps { * hit. */ override fun maximumCapacity(maximumCapacity: IResolvable) { - cdkBuilder.maximumCapacity(maximumCapacity.let(IResolvable::unwrap)) + cdkBuilder.maximumCapacity(maximumCapacity.let(IResolvable.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public interface CfnApplicationProps { * hit. */ override fun maximumCapacity(maximumCapacity: CfnApplication.MaximumAllowedResourcesProperty) { - cdkBuilder.maximumCapacity(maximumCapacity.let(CfnApplication.MaximumAllowedResourcesProperty::unwrap)) + cdkBuilder.maximumCapacity(maximumCapacity.let(CfnApplication.MaximumAllowedResourcesProperty.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public interface CfnApplicationProps { * settings you want to change in that file. */ override fun monitoringConfiguration(monitoringConfiguration: IResolvable) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface CfnApplicationProps { */ override fun monitoringConfiguration(monitoringConfiguration: CfnApplication.MonitoringConfigurationProperty) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(CfnApplication.MonitoringConfigurationProperty::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(CfnApplication.MonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -649,7 +649,7 @@ public interface CfnApplicationProps { * application. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface CfnApplicationProps { */ override fun networkConfiguration(networkConfiguration: CfnApplication.NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(CfnApplication.NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(CfnApplication.NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public interface CfnApplicationProps { * API operation. */ override fun runtimeConfiguration(runtimeConfiguration: IResolvable) { - cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public interface CfnApplicationProps { * @param tags The tags assigned to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public interface CfnApplicationProps { * @param workerTypeSpecifications The specification applied to each worker type. */ override fun workerTypeSpecifications(workerTypeSpecifications: IResolvable) { - cdkBuilder.workerTypeSpecifications(workerTypeSpecifications.let(IResolvable::unwrap)) + cdkBuilder.workerTypeSpecifications(workerTypeSpecifications.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflow.kt index de1be3c283..8e90e7ca39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflow.kt @@ -80,8 +80,8 @@ public open class CfnIdMappingWorkflow( id: String, props: CfnIdMappingWorkflowProps, ) : - this(software.amazon.awscdk.services.entityresolution.CfnIdMappingWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdMappingWorkflowProps::unwrap)) + this(software.amazon.awscdk.services.entityresolution.CfnIdMappingWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdMappingWorkflowProps.Companion::unwrap)) ) public constructor( @@ -133,14 +133,14 @@ public open class CfnIdMappingWorkflow( * An object which defines the `idMappingType` and the `providerProperties` . */ public open fun idMappingTechniques(`value`: IResolvable) { - unwrap(this).setIdMappingTechniques(`value`.let(IResolvable::unwrap)) + unwrap(this).setIdMappingTechniques(`value`.let(IResolvable.Companion::unwrap)) } /** * An object which defines the `idMappingType` and the `providerProperties` . */ public open fun idMappingTechniques(`value`: IdMappingTechniquesProperty) { - unwrap(this).setIdMappingTechniques(`value`.let(IdMappingTechniquesProperty::unwrap)) + unwrap(this).setIdMappingTechniques(`value`.let(IdMappingTechniquesProperty.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnIdMappingWorkflow( * A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName` . */ public open fun inputSourceConfig(`value`: IResolvable) { - unwrap(this).setInputSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnIdMappingWorkflow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnIdMappingWorkflow( * and `Output` . */ public open fun outputSourceConfig(`value`: IResolvable) { - unwrap(this).setOutputSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnIdMappingWorkflow( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnIdMappingWorkflow( * `providerProperties` . */ override fun idMappingTechniques(idMappingTechniques: IResolvable) { - cdkBuilder.idMappingTechniques(idMappingTechniques.let(IResolvable::unwrap)) + cdkBuilder.idMappingTechniques(idMappingTechniques.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class CfnIdMappingWorkflow( * `providerProperties` . */ override fun idMappingTechniques(idMappingTechniques: IdMappingTechniquesProperty) { - cdkBuilder.idMappingTechniques(idMappingTechniques.let(IdMappingTechniquesProperty::unwrap)) + cdkBuilder.idMappingTechniques(idMappingTechniques.let(IdMappingTechniquesProperty.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnIdMappingWorkflow( * `InputSourceARN` and `SchemaName` . */ override fun inputSourceConfig(inputSourceConfig: IResolvable) { - cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnIdMappingWorkflow( * contains fields `OutputS3Path` and `Output` . */ override fun outputSourceConfig(outputSourceConfig: IResolvable) { - cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnIdMappingWorkflow( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnIdMappingWorkflow( * the provider service. */ override fun providerProperties(providerProperties: IResolvable) { - cdkBuilder.providerProperties(providerProperties.let(IResolvable::unwrap)) + cdkBuilder.providerProperties(providerProperties.let(IResolvable.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CfnIdMappingWorkflow( * the provider service. */ override fun providerProperties(providerProperties: ProviderPropertiesProperty) { - cdkBuilder.providerProperties(providerProperties.let(ProviderPropertiesProperty::unwrap)) + cdkBuilder.providerProperties(providerProperties.let(ProviderPropertiesProperty.Companion::unwrap)) } /** @@ -1218,7 +1218,7 @@ public open class CfnIdMappingWorkflow( * Your information won't be saved permanently. */ override fun intermediateSourceConfiguration(intermediateSourceConfiguration: IResolvable) { - cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1228,7 +1228,7 @@ public open class CfnIdMappingWorkflow( */ override fun intermediateSourceConfiguration(intermediateSourceConfiguration: IntermediateSourceConfigurationProperty) { - cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IntermediateSourceConfigurationProperty::unwrap)) + cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IntermediateSourceConfigurationProperty.Companion::unwrap)) } /** @@ -1248,7 +1248,7 @@ public open class CfnIdMappingWorkflow( * service. */ override fun providerConfiguration(providerConfiguration: IResolvable) { - cdkBuilder.providerConfiguration(providerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.providerConfiguration(providerConfiguration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflowProps.kt index 911b10d3f6..cd09103e0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdMappingWorkflowProps.kt @@ -224,7 +224,7 @@ public interface CfnIdMappingWorkflowProps { * `providerProperties` . */ override fun idMappingTechniques(idMappingTechniques: IResolvable) { - cdkBuilder.idMappingTechniques(idMappingTechniques.let(IResolvable::unwrap)) + cdkBuilder.idMappingTechniques(idMappingTechniques.let(IResolvable.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public interface CfnIdMappingWorkflowProps { */ override fun idMappingTechniques(idMappingTechniques: CfnIdMappingWorkflow.IdMappingTechniquesProperty) { - cdkBuilder.idMappingTechniques(idMappingTechniques.let(CfnIdMappingWorkflow.IdMappingTechniquesProperty::unwrap)) + cdkBuilder.idMappingTechniques(idMappingTechniques.let(CfnIdMappingWorkflow.IdMappingTechniquesProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface CfnIdMappingWorkflowProps { * `InputSourceARN` and `SchemaName` . */ override fun inputSourceConfig(inputSourceConfig: IResolvable) { - cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnIdMappingWorkflowProps { * contains fields `OutputS3Path` and `Output` . */ override fun outputSourceConfig(outputSourceConfig: IResolvable) { - cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface CfnIdMappingWorkflowProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespace.kt index 507ae2d384..4403cc0c37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespace.kt @@ -72,8 +72,8 @@ public open class CfnIdNamespace( id: String, props: CfnIdNamespaceProps, ) : - this(software.amazon.awscdk.services.entityresolution.CfnIdNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.entityresolution.CfnIdNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdNamespaceProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnIdNamespace( * `Source` or a `Target` . */ public open fun idMappingWorkflowProperties(`value`: IResolvable) { - unwrap(this).setIdMappingWorkflowProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setIdMappingWorkflowProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnIdNamespace( * A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName` . */ public open fun inputSourceConfig(`value`: IResolvable) { - unwrap(this).setInputSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnIdNamespace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnIdNamespace( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnIdNamespace( * `IdNamespace` can be used as a `Source` or a `Target` . */ override fun idMappingWorkflowProperties(idMappingWorkflowProperties: IResolvable) { - cdkBuilder.idMappingWorkflowProperties(idMappingWorkflowProperties.let(IResolvable::unwrap)) + cdkBuilder.idMappingWorkflowProperties(idMappingWorkflowProperties.let(IResolvable.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnIdNamespace( * `InputSourceARN` and `SchemaName` . */ override fun inputSourceConfig(inputSourceConfig: IResolvable) { - cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public open class CfnIdNamespace( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnIdNamespace( * the provider service. */ override fun providerProperties(providerProperties: IResolvable) { - cdkBuilder.providerProperties(providerProperties.let(IResolvable::unwrap)) + cdkBuilder.providerProperties(providerProperties.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnIdNamespace( * the provider service. */ override fun providerProperties(providerProperties: NamespaceProviderPropertiesProperty) { - cdkBuilder.providerProperties(providerProperties.let(NamespaceProviderPropertiesProperty::unwrap)) + cdkBuilder.providerProperties(providerProperties.let(NamespaceProviderPropertiesProperty.Companion::unwrap)) } /** @@ -852,7 +852,7 @@ public open class CfnIdNamespace( * by the provider service. */ override fun providerConfiguration(providerConfiguration: IResolvable) { - cdkBuilder.providerConfiguration(providerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.providerConfiguration(providerConfiguration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespaceProps.kt index 8d2641b866..c44a0650b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnIdNamespaceProps.kt @@ -205,7 +205,7 @@ public interface CfnIdNamespaceProps { * `IdNamespace` can be used as a `Source` or a `Target` . */ override fun idMappingWorkflowProperties(idMappingWorkflowProperties: IResolvable) { - cdkBuilder.idMappingWorkflowProperties(idMappingWorkflowProperties.let(IResolvable::unwrap)) + cdkBuilder.idMappingWorkflowProperties(idMappingWorkflowProperties.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface CfnIdNamespaceProps { * `InputSourceARN` and `SchemaName` . */ override fun inputSourceConfig(inputSourceConfig: IResolvable) { - cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface CfnIdNamespaceProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflow.kt index c8b0a84cf4..f23cff551c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflow.kt @@ -94,8 +94,8 @@ public open class CfnMatchingWorkflow( id: String, props: CfnMatchingWorkflowProps, ) : - this(software.amazon.awscdk.services.entityresolution.CfnMatchingWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMatchingWorkflowProps::unwrap)) + this(software.amazon.awscdk.services.entityresolution.CfnMatchingWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMatchingWorkflowProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnMatchingWorkflow( * A list of `InputSource` objects, which have the fields `InputSourceARN` and `SchemaName` . */ public open fun inputSourceConfig(`value`: IResolvable) { - unwrap(this).setInputSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnMatchingWorkflow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnMatchingWorkflow( * `ApplyNormalization` , and `Output` . */ public open fun outputSourceConfig(`value`: IResolvable) { - unwrap(this).setOutputSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public open class CfnMatchingWorkflow( * An object which defines the `resolutionType` and the `ruleBasedProperties` . */ public open fun resolutionTechniques(`value`: IResolvable) { - unwrap(this).setResolutionTechniques(`value`.let(IResolvable::unwrap)) + unwrap(this).setResolutionTechniques(`value`.let(IResolvable.Companion::unwrap)) } /** * An object which defines the `resolutionType` and the `ruleBasedProperties` . */ public open fun resolutionTechniques(`value`: ResolutionTechniquesProperty) { - unwrap(this).setResolutionTechniques(`value`.let(ResolutionTechniquesProperty::unwrap)) + unwrap(this).setResolutionTechniques(`value`.let(ResolutionTechniquesProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnMatchingWorkflow( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class CfnMatchingWorkflow( * `InputSourceARN` and `SchemaName` . */ override fun inputSourceConfig(inputSourceConfig: IResolvable) { - cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnMatchingWorkflow( * `OutputS3Path` , `ApplyNormalization` , and `Output` . */ override fun outputSourceConfig(outputSourceConfig: IResolvable) { - cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnMatchingWorkflow( * `ruleBasedProperties` . */ override fun resolutionTechniques(resolutionTechniques: IResolvable) { - cdkBuilder.resolutionTechniques(resolutionTechniques.let(IResolvable::unwrap)) + cdkBuilder.resolutionTechniques(resolutionTechniques.let(IResolvable.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public open class CfnMatchingWorkflow( * `ruleBasedProperties` . */ override fun resolutionTechniques(resolutionTechniques: ResolutionTechniquesProperty) { - cdkBuilder.resolutionTechniques(resolutionTechniques.let(ResolutionTechniquesProperty::unwrap)) + cdkBuilder.resolutionTechniques(resolutionTechniques.let(ResolutionTechniquesProperty.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnMatchingWorkflow( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class CfnMatchingWorkflow( * the output to (123)-456-7890. */ override fun applyNormalization(applyNormalization: IResolvable) { - cdkBuilder.applyNormalization(applyNormalization.let(IResolvable::unwrap)) + cdkBuilder.applyNormalization(applyNormalization.let(IResolvable.Companion::unwrap)) } /** @@ -940,7 +940,7 @@ public open class CfnMatchingWorkflow( * @param hashed Enables the ability to hash the column values in the output. */ override fun hashed(hashed: IResolvable) { - cdkBuilder.hashed(hashed.let(IResolvable::unwrap)) + cdkBuilder.hashed(hashed.let(IResolvable.Companion::unwrap)) } /** @@ -1144,7 +1144,7 @@ public open class CfnMatchingWorkflow( * the output to (123)-456-7890. */ override fun applyNormalization(applyNormalization: IResolvable) { - cdkBuilder.applyNormalization(applyNormalization.let(IResolvable::unwrap)) + cdkBuilder.applyNormalization(applyNormalization.let(IResolvable.Companion::unwrap)) } /** @@ -1162,7 +1162,7 @@ public open class CfnMatchingWorkflow( * values of the column should be hashed. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -1363,7 +1363,7 @@ public open class CfnMatchingWorkflow( * Your information won't be saved permanently. */ override fun intermediateSourceConfiguration(intermediateSourceConfiguration: IResolvable) { - cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1373,7 +1373,7 @@ public open class CfnMatchingWorkflow( */ override fun intermediateSourceConfiguration(intermediateSourceConfiguration: IntermediateSourceConfigurationProperty) { - cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IntermediateSourceConfigurationProperty::unwrap)) + cdkBuilder.intermediateSourceConfiguration(intermediateSourceConfiguration.let(IntermediateSourceConfigurationProperty.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class CfnMatchingWorkflow( * service. */ override fun providerConfiguration(providerConfiguration: IResolvable) { - cdkBuilder.providerConfiguration(providerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.providerConfiguration(providerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1581,14 +1581,14 @@ public open class CfnMatchingWorkflow( * @param providerProperties The properties of the provider service. */ override fun providerProperties(providerProperties: IResolvable) { - cdkBuilder.providerProperties(providerProperties.let(IResolvable::unwrap)) + cdkBuilder.providerProperties(providerProperties.let(IResolvable.Companion::unwrap)) } /** * @param providerProperties The properties of the provider service. */ override fun providerProperties(providerProperties: ProviderPropertiesProperty) { - cdkBuilder.providerProperties(providerProperties.let(ProviderPropertiesProperty::unwrap)) + cdkBuilder.providerProperties(providerProperties.let(ProviderPropertiesProperty.Companion::unwrap)) } /** @@ -1613,7 +1613,7 @@ public open class CfnMatchingWorkflow( * has a field `Rules` , which is a list of rule objects. */ override fun ruleBasedProperties(ruleBasedProperties: IResolvable) { - cdkBuilder.ruleBasedProperties(ruleBasedProperties.let(IResolvable::unwrap)) + cdkBuilder.ruleBasedProperties(ruleBasedProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1621,7 +1621,7 @@ public open class CfnMatchingWorkflow( * has a field `Rules` , which is a list of rule objects. */ override fun ruleBasedProperties(ruleBasedProperties: RuleBasedPropertiesProperty) { - cdkBuilder.ruleBasedProperties(ruleBasedProperties.let(RuleBasedPropertiesProperty::unwrap)) + cdkBuilder.ruleBasedProperties(ruleBasedProperties.let(RuleBasedPropertiesProperty.Companion::unwrap)) } /** @@ -1790,7 +1790,7 @@ public open class CfnMatchingWorkflow( * `MatchingKeys` . */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflowProps.kt index e60e54051c..4722db977e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnMatchingWorkflowProps.kt @@ -237,7 +237,7 @@ public interface CfnMatchingWorkflowProps { * `InputSourceARN` and `SchemaName` . */ override fun inputSourceConfig(inputSourceConfig: IResolvable) { - cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.inputSourceConfig(inputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface CfnMatchingWorkflowProps { * `OutputS3Path` , `ApplyNormalization` , and `Output` . */ override fun outputSourceConfig(outputSourceConfig: IResolvable) { - cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.outputSourceConfig(outputSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface CfnMatchingWorkflowProps { * `ruleBasedProperties` . */ override fun resolutionTechniques(resolutionTechniques: IResolvable) { - cdkBuilder.resolutionTechniques(resolutionTechniques.let(IResolvable::unwrap)) + cdkBuilder.resolutionTechniques(resolutionTechniques.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public interface CfnMatchingWorkflowProps { */ override fun resolutionTechniques(resolutionTechniques: CfnMatchingWorkflow.ResolutionTechniquesProperty) { - cdkBuilder.resolutionTechniques(resolutionTechniques.let(CfnMatchingWorkflow.ResolutionTechniquesProperty::unwrap)) + cdkBuilder.resolutionTechniques(resolutionTechniques.let(CfnMatchingWorkflow.ResolutionTechniquesProperty.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface CfnMatchingWorkflowProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatement.kt index 46bef60651..4ff8351c22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatement.kt @@ -45,8 +45,8 @@ public open class CfnPolicyStatement( id: String, props: CfnPolicyStatementProps, ) : - this(software.amazon.awscdk.services.entityresolution.CfnPolicyStatement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyStatementProps::unwrap)) + this(software.amazon.awscdk.services.entityresolution.CfnPolicyStatement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyStatementProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnPolicyStatement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,6 +195,12 @@ public open class CfnPolicyStatement( * Determines whether the permissions specified in the policy are to be allowed ( `Allow` ) or * denied ( `Deny` ). * + * + * If you set the value of the `effect` parameter to `Deny` for the `AddPolicyStatement` + * operation, you must also set the value of the `effect` parameter in the `policy` to `Deny` for + * the `PutPolicy` operation. + * + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-policystatement.html#cfn-entityresolution-policystatement-effect) * @param effect Determines whether the permissions specified in the policy are to be allowed ( * `Allow` ) or denied ( `Deny` ). @@ -283,6 +289,12 @@ public open class CfnPolicyStatement( * Determines whether the permissions specified in the policy are to be allowed ( `Allow` ) or * denied ( `Deny` ). * + * + * If you set the value of the `effect` parameter to `Deny` for the `AddPolicyStatement` + * operation, you must also set the value of the `effect` parameter in the `policy` to `Deny` for + * the `PutPolicy` operation. + * + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-policystatement.html#cfn-entityresolution-policystatement-effect) * @param effect Determines whether the permissions specified in the policy are to be allowed ( * `Allow` ) or denied ( `Deny` ). diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatementProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatementProps.kt index ab1018596f..3690252866 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatementProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnPolicyStatementProps.kt @@ -59,6 +59,12 @@ public interface CfnPolicyStatementProps { * Determines whether the permissions specified in the policy are to be allowed ( `Allow` ) or * denied ( `Deny` ). * + * + * If you set the value of the `effect` parameter to `Deny` for the `AddPolicyStatement` + * operation, you must also set the value of the `effect` parameter in the `policy` to `Deny` for the + * `PutPolicy` operation. + * + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-policystatement.html#cfn-entityresolution-policystatement-effect) */ public fun effect(): String? = unwrap(this).getEffect() @@ -108,6 +114,10 @@ public interface CfnPolicyStatementProps { /** * @param effect Determines whether the permissions specified in the policy are to be allowed ( * `Allow` ) or denied ( `Deny` ). + * + * If you set the value of the `effect` parameter to `Deny` for the `AddPolicyStatement` + * operation, you must also set the value of the `effect` parameter in the `policy` to `Deny` for + * the `PutPolicy` operation. */ public fun effect(effect: String) @@ -165,6 +175,10 @@ public interface CfnPolicyStatementProps { /** * @param effect Determines whether the permissions specified in the policy are to be allowed ( * `Allow` ) or denied ( `Deny` ). + * + * If you set the value of the `effect` parameter to `Deny` for the `AddPolicyStatement` + * operation, you must also set the value of the `effect` parameter in the `policy` to `Deny` for + * the `PutPolicy` operation. */ override fun effect(effect: String) { cdkBuilder.effect(effect) @@ -224,6 +238,12 @@ public interface CfnPolicyStatementProps { * Determines whether the permissions specified in the policy are to be allowed ( `Allow` ) or * denied ( `Deny` ). * + * + * If you set the value of the `effect` parameter to `Deny` for the `AddPolicyStatement` + * operation, you must also set the value of the `effect` parameter in the `policy` to `Deny` for + * the `PutPolicy` operation. + * + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-policystatement.html#cfn-entityresolution-policystatement-effect) */ override fun effect(): String? = unwrap(this).getEffect() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMapping.kt index 465725e11f..dd31d26853 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMapping.kt @@ -60,8 +60,8 @@ public open class CfnSchemaMapping( id: String, props: CfnSchemaMappingProps, ) : - this(software.amazon.awscdk.services.entityresolution.CfnSchemaMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchemaMappingProps::unwrap)) + this(software.amazon.awscdk.services.entityresolution.CfnSchemaMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchemaMappingProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnSchemaMapping( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnSchemaMapping( * A list of `MappedInputFields` . */ public open fun mappedInputFields(`value`: IResolvable) { - unwrap(this).setMappedInputFields(`value`.let(IResolvable::unwrap)) + unwrap(this).setMappedInputFields(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnSchemaMapping( * The tags used to organize, track, or control access for this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnSchemaMapping( * @param mappedInputFields A list of `MappedInputFields` . */ override fun mappedInputFields(mappedInputFields: IResolvable) { - cdkBuilder.mappedInputFields(mappedInputFields.let(IResolvable::unwrap)) + cdkBuilder.mappedInputFields(mappedInputFields.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnSchemaMapping( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMappingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMappingProps.kt index 0c45770b3c..a9efbb58fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMappingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/entityresolution/CfnSchemaMappingProps.kt @@ -142,7 +142,7 @@ public interface CfnSchemaMappingProps { * name plus additional information that AWS Entity Resolution uses for matching. */ override fun mappedInputFields(mappedInputFields: IResolvable) { - cdkBuilder.mappedInputFields(mappedInputFields.let(IResolvable::unwrap)) + cdkBuilder.mappedInputFields(mappedInputFields.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface CfnSchemaMappingProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestination.kt index 4041d99e14..cdbafa04aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestination.kt @@ -7,6 +7,7 @@ import io.cloudshiftdev.awscdk.common.CdkDslMarker import kotlin.Number import kotlin.String import kotlin.Unit +import kotlin.jvm.JvmName import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct import software.constructs.Construct as SoftwareConstructsConstruct @@ -39,8 +40,8 @@ public open class ApiDestination( id: String, props: ApiDestinationProps, ) : - this(software.amazon.awscdk.services.events.ApiDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ApiDestinationProps::unwrap)) + this(software.amazon.awscdk.services.events.ApiDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ApiDestinationProps.Companion::unwrap)) ) public constructor( @@ -146,7 +147,7 @@ public open class ApiDestination( * @param connection The ARN of the connection to use for the API destination. */ override fun connection(connection: IConnection) { - cdkBuilder.connection(connection.let(IConnection::unwrap)) + cdkBuilder.connection(connection.let(IConnection.Companion::unwrap)) } /** @@ -177,7 +178,7 @@ public open class ApiDestination( * @param httpMethod The method to use for the request to the HTTP invocation endpoint. */ override fun httpMethod(httpMethod: HttpMethod) { - cdkBuilder.httpMethod(httpMethod.let(HttpMethod::unwrap)) + cdkBuilder.httpMethod(httpMethod.let(HttpMethod.Companion::unwrap)) } /** @@ -196,6 +197,22 @@ public open class ApiDestination( } public companion object { + public fun fromApiDestinationAttributes( + scope: CloudshiftdevConstructsConstruct, + id: String, + attrs: ApiDestinationAttributes, + ): ApiDestination = + software.amazon.awscdk.services.events.ApiDestination.fromApiDestinationAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ApiDestinationAttributes.Companion::unwrap)).let(ApiDestination::wrap) + + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("555db03fe6c1e0ea8e62fe11367c8590c1425c7d00d3e6b69c0db2fb4cdde494") + public fun fromApiDestinationAttributes( + scope: CloudshiftdevConstructsConstruct, + id: String, + attrs: ApiDestinationAttributes.Builder.() -> Unit, + ): ApiDestination = fromApiDestinationAttributes(scope, id, ApiDestinationAttributes(attrs)) + public operator fun invoke( scope: CloudshiftdevConstructsConstruct, id: String, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationAttributes.kt new file mode 100644 index 0000000000..87b679d855 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationAttributes.kt @@ -0,0 +1,107 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.events + +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit + +/** + * The properties to import an existing Api Destination. + * + * Example: + * + * ``` + * IConnection connection = Connection.fromEventBusArn(this, "Connection", + * "arn:aws:events:us-east-1:123456789012:event-bus/EventBusName", + * "arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-f3gDy9"); + * String apiDestinationArn = + * "arn:aws:events:us-east-1:123456789012:api-destination/DestinationName"; + * ApiDestination destination = ApiDestination.fromApiDestinationAttributes(this, "Destination", + * ApiDestinationAttributes.builder().apiDestinationArn(apiDestinationArn).connection(connection).build()); + * Rule rule = Rule.Builder.create(this, "OtherRule") + * .schedule(Schedule.rate(Duration.minutes(10))) + * .targets(List.of(new ApiDestination(destination))) + * .build(); + * ``` + */ +public interface ApiDestinationAttributes { + /** + * The ARN of the Api Destination. + */ + public fun apiDestinationArn(): String + + /** + * The Connection to associate with the Api Destination. + */ + public fun connection(): IConnection + + /** + * A builder for [ApiDestinationAttributes] + */ + @CdkDslMarker + public interface Builder { + /** + * @param apiDestinationArn The ARN of the Api Destination. + */ + public fun apiDestinationArn(apiDestinationArn: String) + + /** + * @param connection The Connection to associate with the Api Destination. + */ + public fun connection(connection: IConnection) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.events.ApiDestinationAttributes.Builder + = software.amazon.awscdk.services.events.ApiDestinationAttributes.builder() + + /** + * @param apiDestinationArn The ARN of the Api Destination. + */ + override fun apiDestinationArn(apiDestinationArn: String) { + cdkBuilder.apiDestinationArn(apiDestinationArn) + } + + /** + * @param connection The Connection to associate with the Api Destination. + */ + override fun connection(connection: IConnection) { + cdkBuilder.connection(connection.let(IConnection.Companion::unwrap)) + } + + public fun build(): software.amazon.awscdk.services.events.ApiDestinationAttributes = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.events.ApiDestinationAttributes, + ) : CdkObject(cdkObject), ApiDestinationAttributes { + /** + * The ARN of the Api Destination. + */ + override fun apiDestinationArn(): String = unwrap(this).getApiDestinationArn() + + /** + * The Connection to associate with the Api Destination. + */ + override fun connection(): IConnection = unwrap(this).getConnection().let(IConnection::wrap) + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ApiDestinationAttributes { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.events.ApiDestinationAttributes): + ApiDestinationAttributes = CdkObjectWrappers.wrap(cdkObject) as? ApiDestinationAttributes ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: ApiDestinationAttributes): + software.amazon.awscdk.services.events.ApiDestinationAttributes = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.events.ApiDestinationAttributes + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationProps.kt index 14c094fefb..25fa7ec3c8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ApiDestinationProps.kt @@ -121,7 +121,7 @@ public interface ApiDestinationProps { * @param connection The ARN of the connection to use for the API destination. */ override fun connection(connection: IConnection) { - cdkBuilder.connection(connection.let(IConnection::unwrap)) + cdkBuilder.connection(connection.let(IConnection.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public interface ApiDestinationProps { * @param httpMethod The method to use for the request to the HTTP invocation endpoint. */ override fun httpMethod(httpMethod: HttpMethod) { - cdkBuilder.httpMethod(httpMethod.let(HttpMethod::unwrap)) + cdkBuilder.httpMethod(httpMethod.let(HttpMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Archive.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Archive.kt index ec00a75087..e427f27163 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Archive.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Archive.kt @@ -52,8 +52,8 @@ public open class Archive( id: String, props: ArchiveProps, ) : - this(software.amazon.awscdk.services.events.Archive(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ArchiveProps::unwrap)) + this(software.amazon.awscdk.services.events.Archive(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ArchiveProps.Companion::unwrap)) ) public constructor( @@ -166,7 +166,7 @@ public open class Archive( * @param eventPattern An event pattern to use to filter events sent to the archive. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class Archive( * @param retention The number of days to retain events for. */ override fun retention(retention: Duration) { - cdkBuilder.retention(retention.let(Duration::unwrap)) + cdkBuilder.retention(retention.let(Duration.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class Archive( * @param sourceEventBus The event source associated with the archive. */ override fun sourceEventBus(sourceEventBus: IEventBus) { - cdkBuilder.sourceEventBus(sourceEventBus.let(IEventBus::unwrap)) + cdkBuilder.sourceEventBus(sourceEventBus.let(IEventBus.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.Archive = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ArchiveProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ArchiveProps.kt index b4bc8e8dd9..98d92f7a2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ArchiveProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ArchiveProps.kt @@ -110,7 +110,7 @@ public interface ArchiveProps : BaseArchiveProps { * @param eventPattern An event pattern to use to filter events sent to the archive. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -126,14 +126,14 @@ public interface ArchiveProps : BaseArchiveProps { * Default value is 0. If set to 0, events are retained indefinitely. */ override fun retention(retention: Duration) { - cdkBuilder.retention(retention.let(Duration::unwrap)) + cdkBuilder.retention(retention.let(Duration.Companion::unwrap)) } /** * @param sourceEventBus The event source associated with the archive. */ override fun sourceEventBus(sourceEventBus: IEventBus) { - cdkBuilder.sourceEventBus(sourceEventBus.let(IEventBus::unwrap)) + cdkBuilder.sourceEventBus(sourceEventBus.let(IEventBus.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.ArchiveProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Authorization.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Authorization.kt index c6bd263bcf..f36f91ad0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Authorization.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Authorization.kt @@ -40,14 +40,14 @@ public abstract class Authorization( public companion object { public fun apiKey(apiKeyName: String, apiKeyValue: SecretValue): Authorization = software.amazon.awscdk.services.events.Authorization.apiKey(apiKeyName, - apiKeyValue.let(SecretValue::unwrap)).let(Authorization::wrap) + apiKeyValue.let(SecretValue.Companion::unwrap)).let(Authorization::wrap) public fun basic(username: String, password: SecretValue): Authorization = software.amazon.awscdk.services.events.Authorization.basic(username, - password.let(SecretValue::unwrap)).let(Authorization::wrap) + password.let(SecretValue.Companion::unwrap)).let(Authorization::wrap) public fun oauth(props: OAuthAuthorizationProps): Authorization = - software.amazon.awscdk.services.events.Authorization.oauth(props.let(OAuthAuthorizationProps::unwrap)).let(Authorization::wrap) + software.amazon.awscdk.services.events.Authorization.oauth(props.let(OAuthAuthorizationProps.Companion::unwrap)).let(Authorization::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("44cf2a39827872cbac58a8e44ba686c1673ce7401835019919d576c9e95ec701") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/BaseArchiveProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/BaseArchiveProps.kt index 6276ffe722..2abde2b8c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/BaseArchiveProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/BaseArchiveProps.kt @@ -114,7 +114,7 @@ public interface BaseArchiveProps { * @param eventPattern An event pattern to use to filter events sent to the archive. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public interface BaseArchiveProps { * Default value is 0. If set to 0, events are retained indefinitely. */ override fun retention(retention: Duration) { - cdkBuilder.retention(retention.let(Duration::unwrap)) + cdkBuilder.retention(retention.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.BaseArchiveProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnApiDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnApiDestination.kt index b523b84af9..a15c3a6b2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnApiDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnApiDestination.kt @@ -68,8 +68,8 @@ public open class CfnApiDestination( id: String, props: CfnApiDestinationProps, ) : - this(software.amazon.awscdk.services.events.CfnApiDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiDestinationProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnApiDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiDestinationProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnApiDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnArchive.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnArchive.kt index 31ef114221..2e50549629 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnArchive.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnArchive.kt @@ -48,8 +48,8 @@ public open class CfnArchive( id: String, props: CfnArchiveProps, ) : - this(software.amazon.awscdk.services.events.CfnArchive(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnArchiveProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnArchive(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnArchiveProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnArchive( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnection.kt index 1d985ceb23..d53508bff2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnection.kt @@ -107,8 +107,8 @@ public open class CfnConnection( id: String, props: CfnConnectionProps, ) : - this(software.amazon.awscdk.services.events.CfnConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectionProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectionProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class CfnConnection( * use to authorize with the endpoint. */ public open fun authParameters(`value`: IResolvable) { - unwrap(this).setAuthParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnConnection( * use to authorize with the endpoint. */ public open fun authParameters(`value`: AuthParametersProperty) { - unwrap(this).setAuthParameters(`value`.let(AuthParametersProperty::unwrap)) + unwrap(this).setAuthParameters(`value`.let(AuthParametersProperty.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class CfnConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnConnection( * authorization parameters to use to authorize with the endpoint. */ override fun authParameters(authParameters: IResolvable) { - cdkBuilder.authParameters(authParameters.let(IResolvable::unwrap)) + cdkBuilder.authParameters(authParameters.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnConnection( * authorization parameters to use to authorize with the endpoint. */ override fun authParameters(authParameters: AuthParametersProperty) { - cdkBuilder.authParameters(authParameters.let(AuthParametersProperty::unwrap)) + cdkBuilder.authParameters(authParameters.let(AuthParametersProperty.Companion::unwrap)) } /** @@ -674,14 +674,14 @@ public open class CfnConnection( * @param apiKeyAuthParameters The API Key parameters to use for authorization. */ override fun apiKeyAuthParameters(apiKeyAuthParameters: IResolvable) { - cdkBuilder.apiKeyAuthParameters(apiKeyAuthParameters.let(IResolvable::unwrap)) + cdkBuilder.apiKeyAuthParameters(apiKeyAuthParameters.let(IResolvable.Companion::unwrap)) } /** * @param apiKeyAuthParameters The API Key parameters to use for authorization. */ override fun apiKeyAuthParameters(apiKeyAuthParameters: ApiKeyAuthParametersProperty) { - cdkBuilder.apiKeyAuthParameters(apiKeyAuthParameters.let(ApiKeyAuthParametersProperty::unwrap)) + cdkBuilder.apiKeyAuthParameters(apiKeyAuthParameters.let(ApiKeyAuthParametersProperty.Companion::unwrap)) } /** @@ -697,14 +697,14 @@ public open class CfnConnection( * @param basicAuthParameters The authorization parameters for Basic authorization. */ override fun basicAuthParameters(basicAuthParameters: IResolvable) { - cdkBuilder.basicAuthParameters(basicAuthParameters.let(IResolvable::unwrap)) + cdkBuilder.basicAuthParameters(basicAuthParameters.let(IResolvable.Companion::unwrap)) } /** * @param basicAuthParameters The authorization parameters for Basic authorization. */ override fun basicAuthParameters(basicAuthParameters: BasicAuthParametersProperty) { - cdkBuilder.basicAuthParameters(basicAuthParameters.let(BasicAuthParametersProperty::unwrap)) + cdkBuilder.basicAuthParameters(basicAuthParameters.let(BasicAuthParametersProperty.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class CfnConnection( * through with every invocation to the HTTP endpoint. */ override fun invocationHttpParameters(invocationHttpParameters: IResolvable) { - cdkBuilder.invocationHttpParameters(invocationHttpParameters.let(IResolvable::unwrap)) + cdkBuilder.invocationHttpParameters(invocationHttpParameters.let(IResolvable.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class CfnConnection( */ override fun invocationHttpParameters(invocationHttpParameters: ConnectionHttpParametersProperty) { - cdkBuilder.invocationHttpParameters(invocationHttpParameters.let(ConnectionHttpParametersProperty::unwrap)) + cdkBuilder.invocationHttpParameters(invocationHttpParameters.let(ConnectionHttpParametersProperty.Companion::unwrap)) } /** @@ -748,14 +748,14 @@ public open class CfnConnection( * @param oAuthParameters The OAuth parameters to use for authorization. */ override fun oAuthParameters(oAuthParameters: IResolvable) { - cdkBuilder.oAuthParameters(oAuthParameters.let(IResolvable::unwrap)) + cdkBuilder.oAuthParameters(oAuthParameters.let(IResolvable.Companion::unwrap)) } /** * @param oAuthParameters The OAuth parameters to use for authorization. */ override fun oAuthParameters(oAuthParameters: OAuthParametersProperty) { - cdkBuilder.oAuthParameters(oAuthParameters.let(OAuthParametersProperty::unwrap)) + cdkBuilder.oAuthParameters(oAuthParameters.let(OAuthParametersProperty.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public open class CfnConnection( * @param bodyParameters Contains additional body string parameters for the connection. */ override fun bodyParameters(bodyParameters: IResolvable) { - cdkBuilder.bodyParameters(bodyParameters.let(IResolvable::unwrap)) + cdkBuilder.bodyParameters(bodyParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1180,7 +1180,7 @@ public open class CfnConnection( * @param headerParameters Contains additional header parameters for the connection. */ override fun headerParameters(headerParameters: IResolvable) { - cdkBuilder.headerParameters(headerParameters.let(IResolvable::unwrap)) + cdkBuilder.headerParameters(headerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1201,7 +1201,7 @@ public open class CfnConnection( * connection. */ override fun queryStringParameters(queryStringParameters: IResolvable) { - cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable::unwrap)) + cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1416,7 +1416,7 @@ public open class CfnConnection( * contains the client parameters for OAuth authorization. */ override fun clientParameters(clientParameters: IResolvable) { - cdkBuilder.clientParameters(clientParameters.let(IResolvable::unwrap)) + cdkBuilder.clientParameters(clientParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1424,7 +1424,7 @@ public open class CfnConnection( * contains the client parameters for OAuth authorization. */ override fun clientParameters(clientParameters: ClientParametersProperty) { - cdkBuilder.clientParameters(clientParameters.let(ClientParametersProperty::unwrap)) + cdkBuilder.clientParameters(clientParameters.let(ClientParametersProperty.Companion::unwrap)) } /** @@ -1448,7 +1448,7 @@ public open class CfnConnection( * the additional parameters to use for the connection. */ override fun oAuthHttpParameters(oAuthHttpParameters: IResolvable) { - cdkBuilder.oAuthHttpParameters(oAuthHttpParameters.let(IResolvable::unwrap)) + cdkBuilder.oAuthHttpParameters(oAuthHttpParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1456,7 +1456,7 @@ public open class CfnConnection( * the additional parameters to use for the connection. */ override fun oAuthHttpParameters(oAuthHttpParameters: ConnectionHttpParametersProperty) { - cdkBuilder.oAuthHttpParameters(oAuthHttpParameters.let(ConnectionHttpParametersProperty::unwrap)) + cdkBuilder.oAuthHttpParameters(oAuthHttpParameters.let(ConnectionHttpParametersProperty.Companion::unwrap)) } /** @@ -1612,7 +1612,7 @@ public open class CfnConnection( * @param isValueSecret Specifies whether the value is secret. */ override fun isValueSecret(isValueSecret: IResolvable) { - cdkBuilder.isValueSecret(isValueSecret.let(IResolvable::unwrap)) + cdkBuilder.isValueSecret(isValueSecret.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnectionProps.kt index e59a35c536..9e0cff6efb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnConnectionProps.kt @@ -176,7 +176,7 @@ public interface CfnConnectionProps { * authorization parameters to use to authorize with the endpoint. */ override fun authParameters(authParameters: IResolvable) { - cdkBuilder.authParameters(authParameters.let(IResolvable::unwrap)) + cdkBuilder.authParameters(authParameters.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface CfnConnectionProps { * authorization parameters to use to authorize with the endpoint. */ override fun authParameters(authParameters: CfnConnection.AuthParametersProperty) { - cdkBuilder.authParameters(authParameters.let(CfnConnection.AuthParametersProperty::unwrap)) + cdkBuilder.authParameters(authParameters.let(CfnConnection.AuthParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpoint.kt index 62aa5ca6c4..f5545ae423 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpoint.kt @@ -66,8 +66,8 @@ public open class CfnEndpoint( id: String, props: CfnEndpointProps, ) : - this(software.amazon.awscdk.services.events.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnEndpoint( * The event buses being used by the endpoint. */ public open fun eventBuses(`value`: IResolvable) { - unwrap(this).setEventBuses(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventBuses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnEndpoint( * Whether event replication was enabled or disabled for this endpoint. */ public open fun replicationConfig(`value`: IResolvable) { - unwrap(this).setReplicationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Whether event replication was enabled or disabled for this endpoint. */ public open fun replicationConfig(`value`: ReplicationConfigProperty) { - unwrap(this).setReplicationConfig(`value`.let(ReplicationConfigProperty::unwrap)) + unwrap(this).setReplicationConfig(`value`.let(ReplicationConfigProperty.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnEndpoint( * The routing configuration of the endpoint. */ public open fun routingConfig(`value`: IResolvable) { - unwrap(this).setRoutingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoutingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The routing configuration of the endpoint. */ public open fun routingConfig(`value`: RoutingConfigProperty) { - unwrap(this).setRoutingConfig(`value`.let(RoutingConfigProperty::unwrap)) + unwrap(this).setRoutingConfig(`value`.let(RoutingConfigProperty.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class CfnEndpoint( * @param eventBuses The event buses being used by the endpoint. */ override fun eventBuses(eventBuses: IResolvable) { - cdkBuilder.eventBuses(eventBuses.let(IResolvable::unwrap)) + cdkBuilder.eventBuses(eventBuses.let(IResolvable.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnEndpoint( * */ override fun replicationConfig(replicationConfig: IResolvable) { - cdkBuilder.replicationConfig(replicationConfig.let(IResolvable::unwrap)) + cdkBuilder.replicationConfig(replicationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnEndpoint( * */ override fun replicationConfig(replicationConfig: ReplicationConfigProperty) { - cdkBuilder.replicationConfig(replicationConfig.let(ReplicationConfigProperty::unwrap)) + cdkBuilder.replicationConfig(replicationConfig.let(ReplicationConfigProperty.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class CfnEndpoint( * @param routingConfig The routing configuration of the endpoint. */ override fun routingConfig(routingConfig: IResolvable) { - cdkBuilder.routingConfig(routingConfig.let(IResolvable::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnEndpoint( * @param routingConfig The routing configuration of the endpoint. */ override fun routingConfig(routingConfig: RoutingConfigProperty) { - cdkBuilder.routingConfig(routingConfig.let(RoutingConfigProperty::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(RoutingConfigProperty.Companion::unwrap)) } /** @@ -689,14 +689,14 @@ public open class CfnEndpoint( * @param primary The main Region of the endpoint. */ override fun primary(primary: IResolvable) { - cdkBuilder.primary(primary.let(IResolvable::unwrap)) + cdkBuilder.primary(primary.let(IResolvable.Companion::unwrap)) } /** * @param primary The main Region of the endpoint. */ override fun primary(primary: PrimaryProperty) { - cdkBuilder.primary(primary.let(PrimaryProperty::unwrap)) + cdkBuilder.primary(primary.let(PrimaryProperty.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnEndpoint( * replication is enabled. */ override fun secondary(secondary: IResolvable) { - cdkBuilder.secondary(secondary.let(IResolvable::unwrap)) + cdkBuilder.secondary(secondary.let(IResolvable.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnEndpoint( * replication is enabled. */ override fun secondary(secondary: SecondaryProperty) { - cdkBuilder.secondary(secondary.let(SecondaryProperty::unwrap)) + cdkBuilder.secondary(secondary.let(SecondaryProperty.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public open class CfnEndpoint( * This includes what triggers failover and what happens when it's triggered. */ override fun failoverConfig(failoverConfig: IResolvable) { - cdkBuilder.failoverConfig(failoverConfig.let(IResolvable::unwrap)) + cdkBuilder.failoverConfig(failoverConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1013,7 +1013,7 @@ public open class CfnEndpoint( * This includes what triggers failover and what happens when it's triggered. */ override fun failoverConfig(failoverConfig: FailoverConfigProperty) { - cdkBuilder.failoverConfig(failoverConfig.let(FailoverConfigProperty::unwrap)) + cdkBuilder.failoverConfig(failoverConfig.let(FailoverConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpointProps.kt index 42734cca2b..ae7f4576e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEndpointProps.kt @@ -191,7 +191,7 @@ public interface CfnEndpointProps { * *Exactly* : `2` */ override fun eventBuses(eventBuses: IResolvable) { - cdkBuilder.eventBuses(eventBuses.let(IResolvable::unwrap)) + cdkBuilder.eventBuses(eventBuses.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CfnEndpointProps { * `RoleArn` or you don't want event replication enabled, set the state to `DISABLED` . */ override fun replicationConfig(replicationConfig: IResolvable) { - cdkBuilder.replicationConfig(replicationConfig.let(IResolvable::unwrap)) + cdkBuilder.replicationConfig(replicationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface CfnEndpointProps { * `RoleArn` or you don't want event replication enabled, set the state to `DISABLED` . */ override fun replicationConfig(replicationConfig: CfnEndpoint.ReplicationConfigProperty) { - cdkBuilder.replicationConfig(replicationConfig.let(CfnEndpoint.ReplicationConfigProperty::unwrap)) + cdkBuilder.replicationConfig(replicationConfig.let(CfnEndpoint.ReplicationConfigProperty.Companion::unwrap)) } /** @@ -255,14 +255,14 @@ public interface CfnEndpointProps { * @param routingConfig The routing configuration of the endpoint. */ override fun routingConfig(routingConfig: IResolvable) { - cdkBuilder.routingConfig(routingConfig.let(IResolvable::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(IResolvable.Companion::unwrap)) } /** * @param routingConfig The routing configuration of the endpoint. */ override fun routingConfig(routingConfig: CfnEndpoint.RoutingConfigProperty) { - cdkBuilder.routingConfig(routingConfig.let(CfnEndpoint.RoutingConfigProperty::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(CfnEndpoint.RoutingConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBus.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBus.kt index 8c5f7c374b..7632ac6cf8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBus.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBus.kt @@ -59,8 +59,8 @@ public open class CfnEventBus( id: String, props: CfnEventBusProps, ) : - this(software.amazon.awscdk.services.events.CfnEventBus(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventBusProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnEventBus(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventBusProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnEventBus( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnEventBus( * Tags to associate with the event bus. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnEventBus( * @param tags Tags to associate with the event bus. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicy.kt index ca744472c6..0d3065394b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicy.kt @@ -72,8 +72,8 @@ public open class CfnEventBusPolicy( id: String, props: CfnEventBusPolicyProps, ) : - this(software.amazon.awscdk.services.events.CfnEventBusPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventBusPolicyProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnEventBusPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventBusPolicyProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnEventBusPolicy( * condition, such as being a member of a certain AWS organization. */ public open fun condition(`value`: IResolvable) { - unwrap(this).setCondition(`value`.let(IResolvable::unwrap)) + unwrap(this).setCondition(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnEventBusPolicy( * condition, such as being a member of a certain AWS organization. */ public open fun condition(`value`: ConditionProperty) { - unwrap(this).setCondition(`value`.let(ConditionProperty::unwrap)) + unwrap(this).setCondition(`value`.let(ConditionProperty.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnEventBusPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class CfnEventBusPolicy( * a certain condition, such as being a member of a certain AWS organization. */ override fun condition(condition: IResolvable) { - cdkBuilder.condition(condition.let(IResolvable::unwrap)) + cdkBuilder.condition(condition.let(IResolvable.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CfnEventBusPolicy( * a certain condition, such as being a member of a certain AWS organization. */ override fun condition(condition: ConditionProperty) { - cdkBuilder.condition(condition.let(ConditionProperty::unwrap)) + cdkBuilder.condition(condition.let(ConditionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicyProps.kt index ea112733e2..7136ed7be4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusPolicyProps.kt @@ -229,7 +229,7 @@ public interface CfnEventBusPolicyProps { * The `Condition` is a JSON string which must contain `Type` , `Key` , and `Value` fields. */ override fun condition(condition: IResolvable) { - cdkBuilder.condition(condition.let(IResolvable::unwrap)) + cdkBuilder.condition(condition.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface CfnEventBusPolicyProps { * The `Condition` is a JSON string which must contain `Type` , `Key` , and `Value` fields. */ override fun condition(condition: CfnEventBusPolicy.ConditionProperty) { - cdkBuilder.condition(condition.let(CfnEventBusPolicy.ConditionProperty::unwrap)) + cdkBuilder.condition(condition.let(CfnEventBusPolicy.ConditionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusProps.kt index eca66a2368..2e82aab202 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnEventBusProps.kt @@ -149,7 +149,7 @@ public interface CfnEventBusProps { * @param tags Tags to associate with the event bus. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRule.kt index 698d0fc902..817313b3e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRule.kt @@ -205,7 +205,7 @@ public open class CfnRule( cdkObject: software.amazon.awscdk.services.events.CfnRule, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.events.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.events.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -214,8 +214,8 @@ public open class CfnRule( id: String, props: CfnRuleProps, ) : - this(software.amazon.awscdk.services.events.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleProps::unwrap)) + this(software.amazon.awscdk.services.events.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleProps.Companion::unwrap)) ) public constructor( @@ -272,7 +272,7 @@ public open class CfnRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnRule( * associated with the rule. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -977,7 +977,7 @@ public open class CfnRule( * they are already associated with the rule. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -1741,7 +1741,7 @@ public open class CfnRule( * becomes an array job. This parameter is used only if the target is an AWS Batch job. */ override fun arrayProperties(arrayProperties: IResolvable) { - cdkBuilder.arrayProperties(arrayProperties.let(IResolvable::unwrap)) + cdkBuilder.arrayProperties(arrayProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1751,7 +1751,7 @@ public open class CfnRule( * becomes an array job. This parameter is used only if the target is an AWS Batch job. */ override fun arrayProperties(arrayProperties: BatchArrayPropertiesProperty) { - cdkBuilder.arrayProperties(arrayProperties.let(BatchArrayPropertiesProperty::unwrap)) + cdkBuilder.arrayProperties(arrayProperties.let(BatchArrayPropertiesProperty.Companion::unwrap)) } /** @@ -1791,7 +1791,7 @@ public open class CfnRule( * the job definition. */ override fun retryStrategy(retryStrategy: IResolvable) { - cdkBuilder.retryStrategy(retryStrategy.let(IResolvable::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -1802,7 +1802,7 @@ public open class CfnRule( * the job definition. */ override fun retryStrategy(retryStrategy: BatchRetryStrategyProperty) { - cdkBuilder.retryStrategy(retryStrategy.let(BatchRetryStrategyProperty::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(BatchRetryStrategyProperty.Companion::unwrap)) } /** @@ -2652,7 +2652,7 @@ public open class CfnRule( * `defaultCapacityProviderStrategy` for the cluster is used. */ override fun capacityProviderStrategy(capacityProviderStrategy: IResolvable) { - cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -2693,7 +2693,7 @@ public open class CfnRule( * the Amazon Elastic Container Service Developer Guide. */ override fun enableEcsManagedTags(enableEcsManagedTags: IResolvable) { - cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable::unwrap)) + cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable.Companion::unwrap)) } /** @@ -2711,7 +2711,7 @@ public open class CfnRule( * If true, this enables execute command functionality on all containers in the task. */ override fun enableExecuteCommand(enableExecuteCommand: IResolvable) { - cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable::unwrap)) + cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable.Companion::unwrap)) } /** @@ -2745,7 +2745,7 @@ public open class CfnRule( * network mode, the task fails. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2759,7 +2759,7 @@ public open class CfnRule( * network mode, the task fails. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -2784,7 +2784,7 @@ public open class CfnRule( * and those specified at runtime). */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -2809,7 +2809,7 @@ public open class CfnRule( * You can specify a maximum of five strategy rules per task. */ override fun placementStrategies(placementStrategies: IResolvable) { - cdkBuilder.placementStrategies(placementStrategies.let(IResolvable::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.let(IResolvable.Companion::unwrap)) } /** @@ -2867,7 +2867,7 @@ public open class CfnRule( * in the Amazon ECS API Reference. */ override fun tagList(tagList: IResolvable) { - cdkBuilder.tagList(tagList.let(IResolvable::unwrap)) + cdkBuilder.tagList(tagList.let(IResolvable.Companion::unwrap)) } /** @@ -3182,7 +3182,7 @@ public open class CfnRule( * API Gateway API or EventBridge ApiDestination. */ override fun headerParameters(headerParameters: IResolvable) { - cdkBuilder.headerParameters(headerParameters.let(IResolvable::unwrap)) + cdkBuilder.headerParameters(headerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3213,7 +3213,7 @@ public open class CfnRule( * request invoking the API Gateway API or EventBridge ApiDestination. */ override fun queryStringParameters(queryStringParameters: IResolvable) { - cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable::unwrap)) + cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3462,7 +3462,7 @@ public open class CfnRule( * The keys cannot start with " AWS ." */ override fun inputPathsMap(inputPathsMap: IResolvable) { - cdkBuilder.inputPathsMap(inputPathsMap.let(IResolvable::unwrap)) + cdkBuilder.inputPathsMap(inputPathsMap.let(IResolvable.Companion::unwrap)) } /** @@ -3801,7 +3801,7 @@ public open class CfnRule( * This structure is relevant only for ECS tasks that use the `awsvpc` network mode. */ override fun awsVpcConfiguration(awsVpcConfiguration: IResolvable) { - cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3810,7 +3810,7 @@ public open class CfnRule( * This structure is relevant only for ECS tasks that use the `awsvpc` network mode. */ override fun awsVpcConfiguration(awsVpcConfiguration: AwsVpcConfigurationProperty) { - cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(AwsVpcConfigurationProperty::unwrap)) + cdkBuilder.awsVpcConfiguration(awsVpcConfiguration.let(AwsVpcConfigurationProperty.Companion::unwrap)) } /** @@ -4388,7 +4388,7 @@ public open class CfnRule( * statement runs. */ override fun withEvent(withEvent: IResolvable) { - cdkBuilder.withEvent(withEvent.let(IResolvable::unwrap)) + cdkBuilder.withEvent(withEvent.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4664,7 +4664,7 @@ public open class CfnRule( * which specifies either an array of InstanceIds or a tag. */ override fun runCommandTargets(runCommandTargets: IResolvable) { - cdkBuilder.runCommandTargets(runCommandTargets.let(IResolvable::unwrap)) + cdkBuilder.runCommandTargets(runCommandTargets.let(IResolvable.Companion::unwrap)) } /** @@ -5021,7 +5021,7 @@ public open class CfnRule( * Building Pipeline execution. */ override fun pipelineParameterList(pipelineParameterList: IResolvable) { - cdkBuilder.pipelineParameterList(pipelineParameterList.let(IResolvable::unwrap)) + cdkBuilder.pipelineParameterList(pipelineParameterList.let(IResolvable.Companion::unwrap)) } /** @@ -5929,7 +5929,7 @@ public open class CfnRule( * event target is an AWS AppSync API. */ override fun appSyncParameters(appSyncParameters: IResolvable) { - cdkBuilder.appSyncParameters(appSyncParameters.let(IResolvable::unwrap)) + cdkBuilder.appSyncParameters(appSyncParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5937,7 +5937,7 @@ public open class CfnRule( * event target is an AWS AppSync API. */ override fun appSyncParameters(appSyncParameters: AppSyncParametersProperty) { - cdkBuilder.appSyncParameters(appSyncParameters.let(AppSyncParametersProperty::unwrap)) + cdkBuilder.appSyncParameters(appSyncParameters.let(AppSyncParametersProperty.Companion::unwrap)) } /** @@ -5965,7 +5965,7 @@ public open class CfnRule( * Guide* . */ override fun batchParameters(batchParameters: IResolvable) { - cdkBuilder.batchParameters(batchParameters.let(IResolvable::unwrap)) + cdkBuilder.batchParameters(batchParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5976,7 +5976,7 @@ public open class CfnRule( * Guide* . */ override fun batchParameters(batchParameters: BatchParametersProperty) { - cdkBuilder.batchParameters(batchParameters.let(BatchParametersProperty::unwrap)) + cdkBuilder.batchParameters(batchParameters.let(BatchParametersProperty.Companion::unwrap)) } /** @@ -5996,7 +5996,7 @@ public open class CfnRule( * dead-letter queue events to. */ override fun deadLetterConfig(deadLetterConfig: IResolvable) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6004,7 +6004,7 @@ public open class CfnRule( * dead-letter queue events to. */ override fun deadLetterConfig(deadLetterConfig: DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -6024,7 +6024,7 @@ public open class CfnRule( * in the *Amazon EC2 Container Service Developer Guide* . */ override fun ecsParameters(ecsParameters: IResolvable) { - cdkBuilder.ecsParameters(ecsParameters.let(IResolvable::unwrap)) + cdkBuilder.ecsParameters(ecsParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6035,7 +6035,7 @@ public open class CfnRule( * in the *Amazon EC2 Container Service Developer Guide* . */ override fun ecsParameters(ecsParameters: EcsParametersProperty) { - cdkBuilder.ecsParameters(ecsParameters.let(EcsParametersProperty::unwrap)) + cdkBuilder.ecsParameters(ecsParameters.let(EcsParametersProperty.Companion::unwrap)) } /** @@ -6060,7 +6060,7 @@ public open class CfnRule( * Connection take precedence. */ override fun httpParameters(httpParameters: IResolvable) { - cdkBuilder.httpParameters(httpParameters.let(IResolvable::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6073,7 +6073,7 @@ public open class CfnRule( * Connection take precedence. */ override fun httpParameters(httpParameters: HttpParametersProperty) { - cdkBuilder.httpParameters(httpParameters.let(HttpParametersProperty::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(HttpParametersProperty.Companion::unwrap)) } /** @@ -6126,7 +6126,7 @@ public open class CfnRule( * customized input to the target. */ override fun inputTransformer(inputTransformer: IResolvable) { - cdkBuilder.inputTransformer(inputTransformer.let(IResolvable::unwrap)) + cdkBuilder.inputTransformer(inputTransformer.let(IResolvable.Companion::unwrap)) } /** @@ -6136,7 +6136,7 @@ public open class CfnRule( * customized input to the target. */ override fun inputTransformer(inputTransformer: InputTransformerProperty) { - cdkBuilder.inputTransformer(inputTransformer.let(InputTransformerProperty::unwrap)) + cdkBuilder.inputTransformer(inputTransformer.let(InputTransformerProperty.Companion::unwrap)) } /** @@ -6157,7 +6157,7 @@ public open class CfnRule( * key. */ override fun kinesisParameters(kinesisParameters: IResolvable) { - cdkBuilder.kinesisParameters(kinesisParameters.let(IResolvable::unwrap)) + cdkBuilder.kinesisParameters(kinesisParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6167,7 +6167,7 @@ public open class CfnRule( * key. */ override fun kinesisParameters(kinesisParameters: KinesisParametersProperty) { - cdkBuilder.kinesisParameters(kinesisParameters.let(KinesisParametersProperty::unwrap)) + cdkBuilder.kinesisParameters(kinesisParameters.let(KinesisParametersProperty.Companion::unwrap)) } /** @@ -6190,7 +6190,7 @@ public open class CfnRule( * events. */ override fun redshiftDataParameters(redshiftDataParameters: IResolvable) { - cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(IResolvable::unwrap)) + cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6201,7 +6201,7 @@ public open class CfnRule( * events. */ override fun redshiftDataParameters(redshiftDataParameters: RedshiftDataParametersProperty) { - cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(RedshiftDataParametersProperty::unwrap)) + cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(RedshiftDataParametersProperty.Companion::unwrap)) } /** @@ -6222,7 +6222,7 @@ public open class CfnRule( * use for the dead-letter queue. */ override fun retryPolicy(retryPolicy: IResolvable) { - cdkBuilder.retryPolicy(retryPolicy.let(IResolvable::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -6230,7 +6230,7 @@ public open class CfnRule( * use for the dead-letter queue. */ override fun retryPolicy(retryPolicy: RetryPolicyProperty) { - cdkBuilder.retryPolicy(retryPolicy.let(RetryPolicyProperty::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(RetryPolicyProperty.Companion::unwrap)) } /** @@ -6256,7 +6256,7 @@ public open class CfnRule( * EC2 Run Command. */ override fun runCommandParameters(runCommandParameters: IResolvable) { - cdkBuilder.runCommandParameters(runCommandParameters.let(IResolvable::unwrap)) + cdkBuilder.runCommandParameters(runCommandParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6264,7 +6264,7 @@ public open class CfnRule( * EC2 Run Command. */ override fun runCommandParameters(runCommandParameters: RunCommandParametersProperty) { - cdkBuilder.runCommandParameters(runCommandParameters.let(RunCommandParametersProperty::unwrap)) + cdkBuilder.runCommandParameters(runCommandParameters.let(RunCommandParametersProperty.Companion::unwrap)) } /** @@ -6284,7 +6284,7 @@ public open class CfnRule( * parameters to start a pipeline execution based on EventBridge events. */ override fun sageMakerPipelineParameters(sageMakerPipelineParameters: IResolvable) { - cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(IResolvable::unwrap)) + cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6295,7 +6295,7 @@ public open class CfnRule( */ override fun sageMakerPipelineParameters(sageMakerPipelineParameters: SageMakerPipelineParametersProperty) { - cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(SageMakerPipelineParametersProperty::unwrap)) + cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(SageMakerPipelineParametersProperty.Companion::unwrap)) } /** @@ -6317,7 +6317,7 @@ public open class CfnRule( * deduplication enabled. */ override fun sqsParameters(sqsParameters: IResolvable) { - cdkBuilder.sqsParameters(sqsParameters.let(IResolvable::unwrap)) + cdkBuilder.sqsParameters(sqsParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6326,7 +6326,7 @@ public open class CfnRule( * deduplication enabled. */ override fun sqsParameters(sqsParameters: SqsParametersProperty) { - cdkBuilder.sqsParameters(sqsParameters.let(SqsParametersProperty::unwrap)) + cdkBuilder.sqsParameters(sqsParameters.let(SqsParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRuleProps.kt index 3fc71a826b..03ff064e5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/CfnRuleProps.kt @@ -876,7 +876,7 @@ public interface CfnRuleProps { * provides the ID of the failed target and the error code. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Connection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Connection.kt index 86de7f67f5..cb310175eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Connection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Connection.kt @@ -40,8 +40,8 @@ public open class Connection( id: String, props: ConnectionProps, ) : - this(software.amazon.awscdk.services.events.Connection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ConnectionProps::unwrap)) + this(software.amazon.awscdk.services.events.Connection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ConnectionProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class Connection( * @param authorization The authorization type for the connection. */ override fun authorization(authorization: Authorization) { - cdkBuilder.authorization(authorization.let(Authorization::unwrap)) + cdkBuilder.authorization(authorization.let(Authorization.Companion::unwrap)) } /** @@ -206,8 +206,8 @@ public open class Connection( id: String, attrs: ConnectionAttributes, ): IConnection = - software.amazon.awscdk.services.events.Connection.fromConnectionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ConnectionAttributes::unwrap)).let(IConnection::wrap) + software.amazon.awscdk.services.events.Connection.fromConnectionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ConnectionAttributes.Companion::unwrap)).let(IConnection::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f720ca07b7b29643172a6bb242b98f4a00be144d44284f8fa5b19b4a62c17a3c") @@ -223,7 +223,7 @@ public open class Connection( connectionArn: String, connectionSecretArn: String, ): IConnection = - software.amazon.awscdk.services.events.Connection.fromEventBusArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.events.Connection.fromEventBusArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, connectionArn, connectionSecretArn).let(IConnection::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ConnectionProps.kt index c8a9705b0e..b9ba086818 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/ConnectionProps.kt @@ -122,7 +122,7 @@ public interface ConnectionProps { * @param authorization The authorization type for the connection. */ override fun authorization(authorization: Authorization) { - cdkBuilder.authorization(authorization.let(Authorization::unwrap)) + cdkBuilder.authorization(authorization.let(Authorization.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBus.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBus.kt index 3b6ac17e86..0ff139d538 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBus.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBus.kt @@ -37,7 +37,7 @@ public open class EventBus( cdkObject: software.amazon.awscdk.services.events.EventBus, ) : Resource(cdkObject), IEventBus { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.events.EventBus(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.events.EventBus(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class EventBus( id: String, props: EventBusProps, ) : - this(software.amazon.awscdk.services.events.EventBus(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EventBusProps::unwrap)) + this(software.amazon.awscdk.services.events.EventBus(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EventBusProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class EventBus( * @param statement */ public open fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this event bus. @@ -86,7 +86,7 @@ public open class EventBus( * @param props */ public override fun archive(id: String, props: BaseArchiveProps): Archive = - unwrap(this).archive(id, props.let(BaseArchiveProps::unwrap)).let(Archive::wrap) + unwrap(this).archive(id, props.let(BaseArchiveProps.Companion::unwrap)).let(Archive::wrap) /** * Create an EventBridge archive to send events to. @@ -131,7 +131,7 @@ public open class EventBus( * @param grantee */ public override fun grantPutEventsTo(grantee: IGrantable): Grant = - unwrap(this).grantPutEventsTo(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPutEventsTo(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.EventBus]. @@ -203,7 +203,7 @@ public open class EventBus( id: String, eventBusArn: String, ): IEventBus = - software.amazon.awscdk.services.events.EventBus.fromEventBusArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.events.EventBus.fromEventBusArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, eventBusArn).let(IEventBus::wrap) public fun fromEventBusAttributes( @@ -211,8 +211,8 @@ public open class EventBus( id: String, attrs: EventBusAttributes, ): IEventBus = - software.amazon.awscdk.services.events.EventBus.fromEventBusAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(EventBusAttributes::unwrap)).let(IEventBus::wrap) + software.amazon.awscdk.services.events.EventBus.fromEventBusAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(EventBusAttributes.Companion::unwrap)).let(IEventBus::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("db4baaedf19a8aa6a12b5ee830180ece463210cfe7437dd4c219388fb552b137") @@ -227,11 +227,11 @@ public open class EventBus( id: String, eventBusName: String, ): IEventBus = - software.amazon.awscdk.services.events.EventBus.fromEventBusName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.events.EventBus.fromEventBusName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, eventBusName).let(IEventBus::wrap) public fun grantAllPutEvents(grantee: IGrantable): Grant = - software.amazon.awscdk.services.events.EventBus.grantAllPutEvents(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + software.amazon.awscdk.services.events.EventBus.grantAllPutEvents(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicy.kt index bd2cc53fd9..47350b4443 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicy.kt @@ -49,8 +49,8 @@ public open class EventBusPolicy( id: String, props: EventBusPolicyProps, ) : - this(software.amazon.awscdk.services.events.EventBusPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EventBusPolicyProps::unwrap)) + this(software.amazon.awscdk.services.events.EventBusPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EventBusPolicyProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class EventBusPolicy( * @param eventBus The event bus to which the policy applies. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class EventBusPolicy( * @param statement An IAM Policy Statement to apply to the Event Bus. */ override fun statement(statement: PolicyStatement) { - cdkBuilder.statement(statement.let(PolicyStatement::unwrap)) + cdkBuilder.statement(statement.let(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicyProps.kt index 1f7f3e0093..dd66ade71c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventBusPolicyProps.kt @@ -82,14 +82,14 @@ public interface EventBusPolicyProps { * @param eventBus The event bus to which the policy applies. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** * @param statement An IAM Policy Statement to apply to the Event Bus. */ override fun statement(statement: PolicyStatement) { - cdkBuilder.statement(statement.let(PolicyStatement::unwrap)) + cdkBuilder.statement(statement.let(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventCommonOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventCommonOptions.kt index a7d5d69c7c..5552df5667 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventCommonOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventCommonOptions.kt @@ -130,7 +130,7 @@ public interface EventCommonOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface EventCommonOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventField.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventField.kt index 52d9588258..aa5be29b3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventField.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/EventField.kt @@ -54,7 +54,7 @@ public open class EventField( * @param _ctx */ public override fun resolve(ctx: IResolveContext): Any = - unwrap(this).resolve(ctx.let(IResolveContext::unwrap)) + unwrap(this).resolve(ctx.let(IResolveContext.Companion::unwrap)) /** * Convert the path to the field in the event pattern to JSON. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/HttpParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/HttpParameter.kt index 96520a86d0..46f6b0fd0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/HttpParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/HttpParameter.kt @@ -30,7 +30,7 @@ public abstract class HttpParameter( public companion object { public fun fromSecret(`value`: SecretValue): HttpParameter = - software.amazon.awscdk.services.events.HttpParameter.fromSecret(`value`.let(SecretValue::unwrap)).let(HttpParameter::wrap) + software.amazon.awscdk.services.events.HttpParameter.fromSecret(`value`.let(SecretValue.Companion::unwrap)).let(HttpParameter::wrap) public fun fromString(`value`: String): HttpParameter = software.amazon.awscdk.services.events.HttpParameter.fromString(`value`).let(HttpParameter::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IApiDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IApiDestination.kt index 31e7f12b89..6660f027f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IApiDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IApiDestination.kt @@ -52,7 +52,7 @@ public interface IApiDestination : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IConnection.kt index 5aac3e8b40..71694a580e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IConnection.kt @@ -47,7 +47,7 @@ public interface IConnection : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IEventBus.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IEventBus.kt index 0df88e7180..9621c02ed8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IEventBus.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IEventBus.kt @@ -90,7 +90,7 @@ public interface IEventBus : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public interface IEventBus : IResource { * @param props Properties of the archive. */ override fun archive(id: String, props: BaseArchiveProps): Archive = unwrap(this).archive(id, - props.let(BaseArchiveProps::unwrap)).let(Archive::wrap) + props.let(BaseArchiveProps.Companion::unwrap)).let(Archive::wrap) /** * Create an EventBridge archive to send events to. @@ -160,7 +160,7 @@ public interface IEventBus : IResource { * @param grantee The principal (no-op if undefined). */ override fun grantPutEventsTo(grantee: IGrantable): Grant = - unwrap(this).grantPutEventsTo(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPutEventsTo(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRule.kt index a447077afa..bc918db558 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRule.kt @@ -43,7 +43,7 @@ public interface IRule : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRuleTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRuleTarget.kt index 3a5b172f2f..7afe4671f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRuleTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/IRuleTarget.kt @@ -42,7 +42,7 @@ public interface IRuleTarget { * @param id The id of the target that will be attached to the rule. */ override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns the rule target specification. @@ -53,7 +53,7 @@ public interface IRuleTarget { * @param id The id of the target that will be attached to the rule. */ override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Match.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Match.kt index 7ca7e3f5b9..748ac14be9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Match.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Match.kt @@ -55,7 +55,7 @@ public open class Match( * @param context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) public companion object { public fun allOf(matchers: Any): List = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OAuthAuthorizationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OAuthAuthorizationProps.kt index 40c6e22047..9c3a4746fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OAuthAuthorizationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OAuthAuthorizationProps.kt @@ -159,7 +159,7 @@ public interface OAuthAuthorizationProps { * authorization for the connection. */ override fun clientSecret(clientSecret: SecretValue) { - cdkBuilder.clientSecret(clientSecret.let(SecretValue::unwrap)) + cdkBuilder.clientSecret(clientSecret.let(SecretValue.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface OAuthAuthorizationProps { * (Can only choose POST, GET or PUT). */ override fun httpMethod(httpMethod: HttpMethod) { - cdkBuilder.httpMethod(httpMethod.let(HttpMethod::unwrap)) + cdkBuilder.httpMethod(httpMethod.let(HttpMethod.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OnEventOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OnEventOptions.kt index 191e6ec71e..234be356c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OnEventOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/OnEventOptions.kt @@ -103,7 +103,7 @@ public interface OnEventOptions : EventCommonOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface OnEventOptions : EventCommonOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public interface OnEventOptions : EventCommonOptions { * @param target The target to register for the event. */ override fun target(target: IRuleTarget) { - cdkBuilder.target(target.let(IRuleTarget::unwrap)) + cdkBuilder.target(target.let(IRuleTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.OnEventOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Rule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Rule.kt index 49b8ef3fdd..6b8842dbc7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Rule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Rule.kt @@ -41,7 +41,7 @@ public open class Rule( cdkObject: software.amazon.awscdk.services.events.Rule, ) : Resource(cdkObject), IRule { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.events.Rule(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.events.Rule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class Rule( id: String, props: RuleProps, ) : - this(software.amazon.awscdk.services.events.Rule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RuleProps::unwrap)) + this(software.amazon.awscdk.services.events.Rule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RuleProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class Rule( * @param eventPattern */ public open fun addEventPattern(eventPattern: EventPattern) { - unwrap(this).addEventPattern(eventPattern.let(EventPattern::unwrap)) + unwrap(this).addEventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class Rule( * @param target */ public open fun addTarget(target: IRuleTarget) { - unwrap(this).addTarget(target.let(IRuleTarget::unwrap)) + unwrap(this).addTarget(target.let(IRuleTarget.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class Rule( * different Stacks (but in the same account & region). */ override fun crossStackScope(crossStackScope: CloudshiftdevConstructsConstruct) { - cdkBuilder.crossStackScope(crossStackScope.let(CloudshiftdevConstructsConstruct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class Rule( * @param eventBus The event bus to associate with this rule. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class Rule( * @param eventPattern Additional restrictions for the event to route to the specified target. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class Rule( * rule. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class Rule( * @param targets Targets to invoke when this rule matches an event. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(IRuleTarget::unwrap)) + cdkBuilder.targets(targets.map(IRuleTarget.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public open class Rule( id: String, eventRuleArn: String, ): IRule = - software.amazon.awscdk.services.events.Rule.fromEventRuleArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.events.Rule.fromEventRuleArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, eventRuleArn).let(IRule::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleProps.kt index f2284dbd0b..9019081db9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleProps.kt @@ -162,7 +162,7 @@ public interface RuleProps : EventCommonOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface RuleProps : EventCommonOptions { * @param eventBus The event bus to associate with this rule. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface RuleProps : EventCommonOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface RuleProps : EventCommonOptions { * Rules in the Amazon EventBridge User Guide. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface RuleProps : EventCommonOptions { * target input, use `addTarget(target[, inputOptions])`. */ override fun targets(targets: List) { - cdkBuilder.targets(targets.map(IRuleTarget::unwrap)) + cdkBuilder.targets(targets.map(IRuleTarget.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetConfig.kt index 2de569defc..2f464fdd74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetConfig.kt @@ -28,6 +28,9 @@ import kotlin.jvm.JvmName * RuleTargetConfig ruleTargetConfig = RuleTargetConfig.builder() * .arn("arn") * // the properties below are optional + * .appSyncParameters(AppSyncParametersProperty.builder() + * .graphQlOperation("graphQlOperation") + * .build()) * .batchParameters(BatchParametersProperty.builder() * .jobDefinition("jobDefinition") * .jobName("jobName") @@ -110,6 +113,15 @@ import kotlin.jvm.JvmName * ``` */ public interface RuleTargetConfig { + /** + * Contains the GraphQL operation to be parsed and executed, if the event target is an AWS AppSync + * API. + * + * Default: - None + */ + public fun appSyncParameters(): CfnRule.AppSyncParametersProperty? = + unwrap(this).getAppSyncParameters()?.let(CfnRule.AppSyncParametersProperty::wrap) + /** * The Amazon Resource Name (ARN) of the target. */ @@ -208,6 +220,21 @@ public interface RuleTargetConfig { */ @CdkDslMarker public interface Builder { + /** + * @param appSyncParameters Contains the GraphQL operation to be parsed and executed, if the + * event target is an AWS AppSync API. + */ + public fun appSyncParameters(appSyncParameters: CfnRule.AppSyncParametersProperty) + + /** + * @param appSyncParameters Contains the GraphQL operation to be parsed and executed, if the + * event target is an AWS AppSync API. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("405145ce8423ba08c08806c69aea275931cbafb9a97ae6a826c4a3a0a93e7d70") + public + fun appSyncParameters(appSyncParameters: CfnRule.AppSyncParametersProperty.Builder.() -> Unit) + /** * @param arn The Amazon Resource Name (ARN) of the target. */ @@ -354,6 +381,24 @@ public interface RuleTargetConfig { private val cdkBuilder: software.amazon.awscdk.services.events.RuleTargetConfig.Builder = software.amazon.awscdk.services.events.RuleTargetConfig.builder() + /** + * @param appSyncParameters Contains the GraphQL operation to be parsed and executed, if the + * event target is an AWS AppSync API. + */ + override fun appSyncParameters(appSyncParameters: CfnRule.AppSyncParametersProperty) { + cdkBuilder.appSyncParameters(appSyncParameters.let(CfnRule.AppSyncParametersProperty.Companion::unwrap)) + } + + /** + * @param appSyncParameters Contains the GraphQL operation to be parsed and executed, if the + * event target is an AWS AppSync API. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("405145ce8423ba08c08806c69aea275931cbafb9a97ae6a826c4a3a0a93e7d70") + override + fun appSyncParameters(appSyncParameters: CfnRule.AppSyncParametersProperty.Builder.() -> Unit): + Unit = appSyncParameters(CfnRule.AppSyncParametersProperty(appSyncParameters)) + /** * @param arn The Amazon Resource Name (ARN) of the target. */ @@ -365,7 +410,7 @@ public interface RuleTargetConfig { * @param batchParameters Parameters used when the rule invokes Amazon AWS Batch Job/Queue. */ override fun batchParameters(batchParameters: CfnRule.BatchParametersProperty) { - cdkBuilder.batchParameters(batchParameters.let(CfnRule.BatchParametersProperty::unwrap)) + cdkBuilder.batchParameters(batchParameters.let(CfnRule.BatchParametersProperty.Companion::unwrap)) } /** @@ -381,7 +426,7 @@ public interface RuleTargetConfig { * @param deadLetterConfig Contains information about a dead-letter queue configuration. */ override fun deadLetterConfig(deadLetterConfig: CfnRule.DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(CfnRule.DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(CfnRule.DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -398,7 +443,7 @@ public interface RuleTargetConfig { * target is an Amazon ECS task. */ override fun ecsParameters(ecsParameters: CfnRule.EcsParametersProperty) { - cdkBuilder.ecsParameters(ecsParameters.let(CfnRule.EcsParametersProperty::unwrap)) + cdkBuilder.ecsParameters(ecsParameters.let(CfnRule.EcsParametersProperty.Companion::unwrap)) } /** @@ -415,7 +460,7 @@ public interface RuleTargetConfig { * REST endpoint or EventBridge API destination. */ override fun httpParameters(httpParameters: CfnRule.HttpParametersProperty) { - cdkBuilder.httpParameters(httpParameters.let(CfnRule.HttpParametersProperty::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(CfnRule.HttpParametersProperty.Companion::unwrap)) } /** @@ -431,7 +476,7 @@ public interface RuleTargetConfig { * @param input What input to send to the event target. */ override fun input(input: RuleTargetInput) { - cdkBuilder.input(input.let(RuleTargetInput::unwrap)) + cdkBuilder.input(input.let(RuleTargetInput.Companion::unwrap)) } /** @@ -441,7 +486,7 @@ public interface RuleTargetConfig { * partition key. */ override fun kinesisParameters(kinesisParameters: CfnRule.KinesisParametersProperty) { - cdkBuilder.kinesisParameters(kinesisParameters.let(CfnRule.KinesisParametersProperty::unwrap)) + cdkBuilder.kinesisParameters(kinesisParameters.let(CfnRule.KinesisParametersProperty.Companion::unwrap)) } /** @@ -461,7 +506,7 @@ public interface RuleTargetConfig { * settings. */ override fun retryPolicy(retryPolicy: CfnRule.RetryPolicyProperty) { - cdkBuilder.retryPolicy(retryPolicy.let(CfnRule.RetryPolicyProperty::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(CfnRule.RetryPolicyProperty.Companion::unwrap)) } /** @@ -477,7 +522,7 @@ public interface RuleTargetConfig { * @param role Role to use to invoke this event target. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -485,7 +530,7 @@ public interface RuleTargetConfig { * Run Command. */ override fun runCommandParameters(runCommandParameters: CfnRule.RunCommandParametersProperty) { - cdkBuilder.runCommandParameters(runCommandParameters.let(CfnRule.RunCommandParametersProperty::unwrap)) + cdkBuilder.runCommandParameters(runCommandParameters.let(CfnRule.RunCommandParametersProperty.Companion::unwrap)) } /** @@ -503,7 +548,7 @@ public interface RuleTargetConfig { * rule. */ override fun sqsParameters(sqsParameters: CfnRule.SqsParametersProperty) { - cdkBuilder.sqsParameters(sqsParameters.let(CfnRule.SqsParametersProperty::unwrap)) + cdkBuilder.sqsParameters(sqsParameters.let(CfnRule.SqsParametersProperty.Companion::unwrap)) } /** @@ -525,7 +570,7 @@ public interface RuleTargetConfig { * including an additional stack containing the EventBusPolicy. */ override fun targetResource(targetResource: IConstruct) { - cdkBuilder.targetResource(targetResource.let(IConstruct::unwrap)) + cdkBuilder.targetResource(targetResource.let(IConstruct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.RuleTargetConfig = cdkBuilder.build() @@ -534,6 +579,15 @@ public interface RuleTargetConfig { private class Wrapper( cdkObject: software.amazon.awscdk.services.events.RuleTargetConfig, ) : CdkObject(cdkObject), RuleTargetConfig { + /** + * Contains the GraphQL operation to be parsed and executed, if the event target is an AWS + * AppSync API. + * + * Default: - None + */ + override fun appSyncParameters(): CfnRule.AppSyncParametersProperty? = + unwrap(this).getAppSyncParameters()?.let(CfnRule.AppSyncParametersProperty::wrap) + /** * The Amazon Resource Name (ARN) of the target. */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetInput.kt index 4e4a46b6c2..10a7cda69e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/RuleTargetInput.kt @@ -13,23 +13,22 @@ import kotlin.String * Example: * * ``` - * import io.cloudshiftdev.awscdk.services.iam.*; - * import io.cloudshiftdev.awscdk.services.stepfunctions.*; - * Rule rule = Rule.Builder.create(this, "Rule") - * .schedule(Schedule.rate(Duration.minutes(1))) - * .build(); - * Queue dlq = new Queue(this, "DeadLetterQueue"); - * Role role = Role.Builder.create(this, "Role") - * .assumedBy(new ServicePrincipal("events.amazonaws.com")) + * import io.cloudshiftdev.awscdk.services.appsync.*; + * GraphqlApi api = GraphqlApi.Builder.create(this, "api") + * .name("api") + * .definition(Definition.fromFile("schema.graphql")) + * .authorizationConfig(AuthorizationConfig.builder() + * .defaultAuthorization(AuthorizationMode.builder().authorizationType(AuthorizationType.IAM).build()) + * .build()) * .build(); - * StateMachine stateMachine = StateMachine.Builder.create(this, "SM") - * .definition(Wait.Builder.create(this, - * "Hello").time(WaitTime.duration(Duration.seconds(10))).build()) + * Rule rule = Rule.Builder.create(this, "Rule") + * .schedule(Schedule.rate(Duration.hours(1))) * .build(); - * rule.addTarget(SfnStateMachine.Builder.create(stateMachine) - * .input(RuleTargetInput.fromObject(Map.of("SomeParam", "SomeValue"))) - * .deadLetterQueue(dlq) - * .role(role) + * rule.addTarget(AppSync.Builder.create(api) + * .graphQLOperation("mutation Publish($message: String!){ publish(message: $message) { message } + * }") + * .variables(RuleTargetInput.fromObject(Map.of( + * "message", "hello world"))) * .build()); * ``` */ @@ -42,7 +41,7 @@ public abstract class RuleTargetInput( * @param rule */ public open fun bind(rule: IRule): RuleTargetInputProperties = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetInputProperties::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetInputProperties::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.events.RuleTargetInput, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Schedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Schedule.kt index af3cc31278..7a1b90dfef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Schedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/Schedule.kt @@ -23,15 +23,15 @@ import kotlin.jvm.JvmName * Rule rule = Rule.Builder.create(this, "Rule") * .schedule(Schedule.rate(Duration.hours(1))) * .build(); - * rule.addTarget(EcsTask.Builder.create() + * rule.addTarget( + * EcsTask.Builder.create() * .cluster(cluster) * .taskDefinition(taskDefinition) - * .taskCount(1) - * .containerOverrides(List.of(ContainerOverride.builder() - * .containerName("TheContainer") - * .command(List.of("echo", EventField.fromPath("$.detail.event"))) + * .propagateTags(PropagatedTagSource.TASK_DEFINITION) + * .tags(List.of(Tag.builder() + * .key("my-tag") + * .value("my-tag-value") * .build())) - * .enableExecuteCommand(true) * .build()); * ``` * @@ -51,7 +51,7 @@ public abstract class Schedule( public companion object { public fun cron(options: CronOptions): Schedule = - software.amazon.awscdk.services.events.Schedule.cron(options.let(CronOptions::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.events.Schedule.cron(options.let(CronOptions.Companion::unwrap)).let(Schedule::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0c121adce7fd50c39a14d31e74ad5f9f0fca810eb9b218b8452715471f9ee1b8") @@ -61,7 +61,7 @@ public abstract class Schedule( software.amazon.awscdk.services.events.Schedule.expression(expression).let(Schedule::wrap) public fun rate(duration: Duration): Schedule = - software.amazon.awscdk.services.events.Schedule.rate(duration.let(Duration::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.events.Schedule.rate(duration.let(Duration.Companion::unwrap)).let(Schedule::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.events.Schedule): Schedule = CdkObjectWrappers.wrap(cdkObject) as? Schedule ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestination.kt index 966fc7929c..ef75d949f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestination.kt @@ -44,13 +44,13 @@ public open class ApiDestination( cdkObject: software.amazon.awscdk.services.events.targets.ApiDestination, ) : CdkObject(cdkObject), IRuleTarget { public constructor(apiDestination: CloudshiftdevAwscdkServicesEventsIApiDestination) : - this(software.amazon.awscdk.services.events.targets.ApiDestination(apiDestination.let(CloudshiftdevAwscdkServicesEventsIApiDestination::unwrap)) + this(software.amazon.awscdk.services.events.targets.ApiDestination(apiDestination.let(CloudshiftdevAwscdkServicesEventsIApiDestination.Companion::unwrap)) ) public constructor(apiDestination: CloudshiftdevAwscdkServicesEventsIApiDestination, props: ApiDestinationProps) : - this(software.amazon.awscdk.services.events.targets.ApiDestination(apiDestination.let(CloudshiftdevAwscdkServicesEventsIApiDestination::unwrap), - props.let(ApiDestinationProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.ApiDestination(apiDestination.let(CloudshiftdevAwscdkServicesEventsIApiDestination.Companion::unwrap), + props.let(ApiDestinationProps.Companion::unwrap)) ) public constructor(apiDestination: CloudshiftdevAwscdkServicesEventsIApiDestination, @@ -65,7 +65,7 @@ public open class ApiDestination( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger API destinations from an EventBridge event. @@ -74,7 +74,7 @@ public open class ApiDestination( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.ApiDestination]. @@ -223,7 +223,7 @@ public open class ApiDestination( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class ApiDestination( * @param event The event to send. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class ApiDestination( * @param eventRole The role to assume before invoking the target. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class ApiDestination( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestinationProps.kt index b8a03f9d94..654c9a1d1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiDestinationProps.kt @@ -188,21 +188,21 @@ public interface ApiDestinationProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** * @param event The event to send. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** * @param eventRole The role to assume before invoking the target. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface ApiDestinationProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGateway.kt index c8286315e4..cd2f1d6384 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGateway.kt @@ -57,13 +57,13 @@ public open class ApiGateway( cdkObject: software.amazon.awscdk.services.events.targets.ApiGateway, ) : CdkObject(cdkObject), IRuleTarget { public constructor(restApi: CloudshiftdevAwscdkServicesApigatewayIRestApi) : - this(software.amazon.awscdk.services.events.targets.ApiGateway(restApi.let(CloudshiftdevAwscdkServicesApigatewayIRestApi::unwrap)) + this(software.amazon.awscdk.services.events.targets.ApiGateway(restApi.let(CloudshiftdevAwscdkServicesApigatewayIRestApi.Companion::unwrap)) ) public constructor(restApi: CloudshiftdevAwscdkServicesApigatewayIRestApi, props: ApiGatewayProps) : - this(software.amazon.awscdk.services.events.targets.ApiGateway(restApi.let(CloudshiftdevAwscdkServicesApigatewayIRestApi::unwrap), - props.let(ApiGatewayProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.ApiGateway(restApi.let(CloudshiftdevAwscdkServicesApigatewayIRestApi.Companion::unwrap), + props.let(ApiGatewayProps.Companion::unwrap)) ) public constructor(restApi: CloudshiftdevAwscdkServicesApigatewayIRestApi, @@ -79,7 +79,7 @@ public open class ApiGateway( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this API Gateway REST APIs as a result from an @@ -90,7 +90,7 @@ public open class ApiGateway( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * Returns the target IRestApi. @@ -269,7 +269,7 @@ public open class ApiGateway( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class ApiGateway( * given rule is triggered. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class ApiGateway( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class ApiGateway( * @param postBody This will be the post request body send to the API. */ override fun postBody(postBody: RuleTargetInput) { - cdkBuilder.postBody(postBody.let(RuleTargetInput::unwrap)) + cdkBuilder.postBody(postBody.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGatewayProps.kt index 6d31ed76e9..2145120418 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ApiGatewayProps.kt @@ -209,7 +209,7 @@ public interface ApiGatewayProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface ApiGatewayProps : TargetBaseProps { * given rule is triggered. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface ApiGatewayProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface ApiGatewayProps : TargetBaseProps { * @param postBody This will be the post request body send to the API. */ override fun postBody(postBody: RuleTargetInput) { - cdkBuilder.postBody(postBody.let(RuleTargetInput::unwrap)) + cdkBuilder.postBody(postBody.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AppSync.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AppSync.kt new file mode 100644 index 0000000000..aac7603c79 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AppSync.kt @@ -0,0 +1,272 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.events.targets + +import io.cloudshiftdev.awscdk.Duration +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.services.events.IRule +import io.cloudshiftdev.awscdk.services.events.IRuleTarget +import io.cloudshiftdev.awscdk.services.events.RuleTargetConfig +import io.cloudshiftdev.awscdk.services.events.RuleTargetInput +import io.cloudshiftdev.awscdk.services.iam.IRole +import io.cloudshiftdev.awscdk.services.sqs.IQueue +import kotlin.Number +import kotlin.String +import kotlin.Unit +import io.cloudshiftdev.awscdk.services.appsync.IGraphqlApi as CloudshiftdevAwscdkServicesAppsyncIGraphqlApi +import software.amazon.awscdk.services.appsync.IGraphqlApi as AmazonAwscdkServicesAppsyncIGraphqlApi + +/** + * Use an AppSync GraphQL API as a target for Amazon EventBridge rules. + * + * Example: + * + * ``` + * import io.cloudshiftdev.awscdk.services.appsync.*; + * GraphqlApi api = GraphqlApi.Builder.create(this, "api") + * .name("api") + * .definition(Definition.fromFile("schema.graphql")) + * .authorizationConfig(AuthorizationConfig.builder() + * .defaultAuthorization(AuthorizationMode.builder().authorizationType(AuthorizationType.IAM).build()) + * .build()) + * .build(); + * Rule rule = Rule.Builder.create(this, "Rule") + * .schedule(Schedule.rate(Duration.hours(1))) + * .build(); + * rule.addTarget(AppSync.Builder.create(api) + * .graphQLOperation("mutation Publish($message: String!){ publish(message: $message) { message } + * }") + * .variables(RuleTargetInput.fromObject(Map.of( + * "message", "hello world"))) + * .build()); + * ``` + */ +public open class AppSync( + cdkObject: software.amazon.awscdk.services.events.targets.AppSync, +) : CdkObject(cdkObject), IRuleTarget { + public constructor(appsyncApi: CloudshiftdevAwscdkServicesAppsyncIGraphqlApi, + props: AppSyncGraphQLApiProps) : + this(software.amazon.awscdk.services.events.targets.AppSync(appsyncApi.let(CloudshiftdevAwscdkServicesAppsyncIGraphqlApi.Companion::unwrap), + props.let(AppSyncGraphQLApiProps.Companion::unwrap)) + ) + + public constructor(appsyncApi: CloudshiftdevAwscdkServicesAppsyncIGraphqlApi, + props: AppSyncGraphQLApiProps.Builder.() -> Unit) : this(appsyncApi, + AppSyncGraphQLApiProps(props) + ) + + /** + * Returns a RuleTarget that can be used to trigger this AppSync GraphQL API as a result from an + * EventBridge event. + * + * @param rule + * @param _id + */ + public override fun bind(rule: IRule): RuleTargetConfig = + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) + + /** + * Returns a RuleTarget that can be used to trigger this AppSync GraphQL API as a result from an + * EventBridge event. + * + * @param rule + * @param _id + */ + public override fun bind(rule: IRule, id: String): RuleTargetConfig = + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.AppSync]. + */ + @CdkDslMarker + public interface Builder { + /** + * The SQS queue to be used as deadLetterQueue. Check out the [considerations for using a + * dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * + * The events not successfully delivered are automatically retried for a specified period of + * time, + * depending on the retry policy of the target. + * If an event is not delivered before all retry attempts are exhausted, it will be sent to the + * dead letter queue. + * + * Default: - no dead-letter queue + * + * @param deadLetterQueue The SQS queue to be used as deadLetterQueue. Check out the + * [considerations for using a dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * + */ + public fun deadLetterQueue(deadLetterQueue: IQueue) + + /** + * The role to assume before invoking the target (i.e., the pipeline) when the given rule is + * triggered. + * + * Default: - a new role with permissions to access mutations will be created + * + * @param eventRole The role to assume before invoking the target (i.e., the pipeline) when the + * given rule is triggered. + */ + public fun eventRole(eventRole: IRole) + + /** + * The GraphQL operation; + * + * that is, the query, mutation, or subscription + * to be parsed and executed by the GraphQL service. + * + * @param graphQlOperation The GraphQL operation;. + */ + public fun graphQlOperation(graphQlOperation: String) + + /** + * The maximum age of a request that Lambda sends to a function for processing. + * + * Minimum value of 60. + * Maximum value of 86400. + * + * Default: Duration.hours(24) + * + * @param maxEventAge The maximum age of a request that Lambda sends to a function for + * processing. + */ + public fun maxEventAge(maxEventAge: Duration) + + /** + * The maximum number of times to retry when the function returns an error. + * + * Minimum value of 0. + * Maximum value of 185. + * + * Default: 185 + * + * @param retryAttempts The maximum number of times to retry when the function returns an error. + * + */ + public fun retryAttempts(retryAttempts: Number) + + /** + * The variables that are include in the GraphQL operation. + * + * Default: - The entire event is used + * + * @param variables The variables that are include in the GraphQL operation. + */ + public fun variables(variables: RuleTargetInput) + } + + private class BuilderImpl( + appsyncApi: AmazonAwscdkServicesAppsyncIGraphqlApi, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.events.targets.AppSync.Builder = + software.amazon.awscdk.services.events.targets.AppSync.Builder.create(appsyncApi) + + /** + * The SQS queue to be used as deadLetterQueue. Check out the [considerations for using a + * dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * + * The events not successfully delivered are automatically retried for a specified period of + * time, + * depending on the retry policy of the target. + * If an event is not delivered before all retry attempts are exhausted, it will be sent to the + * dead letter queue. + * + * Default: - no dead-letter queue + * + * @param deadLetterQueue The SQS queue to be used as deadLetterQueue. Check out the + * [considerations for using a dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * + */ + override fun deadLetterQueue(deadLetterQueue: IQueue) { + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) + } + + /** + * The role to assume before invoking the target (i.e., the pipeline) when the given rule is + * triggered. + * + * Default: - a new role with permissions to access mutations will be created + * + * @param eventRole The role to assume before invoking the target (i.e., the pipeline) when the + * given rule is triggered. + */ + override fun eventRole(eventRole: IRole) { + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) + } + + /** + * The GraphQL operation; + * + * that is, the query, mutation, or subscription + * to be parsed and executed by the GraphQL service. + * + * @param graphQlOperation The GraphQL operation;. + */ + override fun graphQlOperation(graphQlOperation: String) { + cdkBuilder.graphQlOperation(graphQlOperation) + } + + /** + * The maximum age of a request that Lambda sends to a function for processing. + * + * Minimum value of 60. + * Maximum value of 86400. + * + * Default: Duration.hours(24) + * + * @param maxEventAge The maximum age of a request that Lambda sends to a function for + * processing. + */ + override fun maxEventAge(maxEventAge: Duration) { + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) + } + + /** + * The maximum number of times to retry when the function returns an error. + * + * Minimum value of 0. + * Maximum value of 185. + * + * Default: 185 + * + * @param retryAttempts The maximum number of times to retry when the function returns an error. + * + */ + override fun retryAttempts(retryAttempts: Number) { + cdkBuilder.retryAttempts(retryAttempts) + } + + /** + * The variables that are include in the GraphQL operation. + * + * Default: - The entire event is used + * + * @param variables The variables that are include in the GraphQL operation. + */ + override fun variables(variables: RuleTargetInput) { + cdkBuilder.variables(variables.let(RuleTargetInput.Companion::unwrap)) + } + + public fun build(): software.amazon.awscdk.services.events.targets.AppSync = cdkBuilder.build() + } + + public companion object { + public operator fun invoke(appsyncApi: CloudshiftdevAwscdkServicesAppsyncIGraphqlApi, + block: Builder.() -> Unit = {}): AppSync { + val builderImpl = + BuilderImpl(CloudshiftdevAwscdkServicesAppsyncIGraphqlApi.unwrap(appsyncApi)) + return AppSync(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.events.targets.AppSync): AppSync = + AppSync(cdkObject) + + internal fun unwrap(wrapped: AppSync): software.amazon.awscdk.services.events.targets.AppSync = + wrapped.cdkObject as software.amazon.awscdk.services.events.targets.AppSync + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AppSyncGraphQLApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AppSyncGraphQLApiProps.kt new file mode 100644 index 0000000000..40eaf1c6e1 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AppSyncGraphQLApiProps.kt @@ -0,0 +1,261 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.events.targets + +import io.cloudshiftdev.awscdk.Duration +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import io.cloudshiftdev.awscdk.services.events.RuleTargetInput +import io.cloudshiftdev.awscdk.services.iam.IRole +import io.cloudshiftdev.awscdk.services.sqs.IQueue +import kotlin.Number +import kotlin.String +import kotlin.Unit + +/** + * Customize the AppSync GraphQL API target. + * + * Example: + * + * ``` + * import io.cloudshiftdev.awscdk.services.appsync.*; + * GraphqlApi api = GraphqlApi.Builder.create(this, "api") + * .name("api") + * .definition(Definition.fromFile("schema.graphql")) + * .authorizationConfig(AuthorizationConfig.builder() + * .defaultAuthorization(AuthorizationMode.builder().authorizationType(AuthorizationType.IAM).build()) + * .build()) + * .build(); + * Rule rule = Rule.Builder.create(this, "Rule") + * .schedule(Schedule.rate(Duration.hours(1))) + * .build(); + * rule.addTarget(AppSync.Builder.create(api) + * .graphQLOperation("mutation Publish($message: String!){ publish(message: $message) { message } + * }") + * .variables(RuleTargetInput.fromObject(Map.of( + * "message", "hello world"))) + * .build()); + * ``` + */ +public interface AppSyncGraphQLApiProps : TargetBaseProps { + /** + * The role to assume before invoking the target (i.e., the pipeline) when the given rule is + * triggered. + * + * Default: - a new role with permissions to access mutations will be created + */ + public fun eventRole(): IRole? = unwrap(this).getEventRole()?.let(IRole::wrap) + + /** + * The GraphQL operation; + * + * that is, the query, mutation, or subscription + * to be parsed and executed by the GraphQL service. + */ + public fun graphQLOperation(): String + + /** + * The variables that are include in the GraphQL operation. + * + * Default: - The entire event is used + */ + public fun variables(): RuleTargetInput? = unwrap(this).getVariables()?.let(RuleTargetInput::wrap) + + /** + * A builder for [AppSyncGraphQLApiProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param deadLetterQueue The SQS queue to be used as deadLetterQueue. Check out the + * [considerations for using a dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * The events not successfully delivered are automatically retried for a specified period of + * time, + * depending on the retry policy of the target. + * If an event is not delivered before all retry attempts are exhausted, it will be sent to the + * dead letter queue. + */ + public fun deadLetterQueue(deadLetterQueue: IQueue) + + /** + * @param eventRole The role to assume before invoking the target (i.e., the pipeline) when the + * given rule is triggered. + */ + public fun eventRole(eventRole: IRole) + + /** + * @param graphQlOperation The GraphQL operation;. + * that is, the query, mutation, or subscription + * to be parsed and executed by the GraphQL service. + */ + public fun graphQlOperation(graphQlOperation: String) + + /** + * @param maxEventAge The maximum age of a request that Lambda sends to a function for + * processing. + * Minimum value of 60. + * Maximum value of 86400. + */ + public fun maxEventAge(maxEventAge: Duration) + + /** + * @param retryAttempts The maximum number of times to retry when the function returns an error. + * Minimum value of 0. + * Maximum value of 185. + */ + public fun retryAttempts(retryAttempts: Number) + + /** + * @param variables The variables that are include in the GraphQL operation. + */ + public fun variables(variables: RuleTargetInput) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps.Builder = + software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps.builder() + + /** + * @param deadLetterQueue The SQS queue to be used as deadLetterQueue. Check out the + * [considerations for using a dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * The events not successfully delivered are automatically retried for a specified period of + * time, + * depending on the retry policy of the target. + * If an event is not delivered before all retry attempts are exhausted, it will be sent to the + * dead letter queue. + */ + override fun deadLetterQueue(deadLetterQueue: IQueue) { + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) + } + + /** + * @param eventRole The role to assume before invoking the target (i.e., the pipeline) when the + * given rule is triggered. + */ + override fun eventRole(eventRole: IRole) { + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) + } + + /** + * @param graphQlOperation The GraphQL operation;. + * that is, the query, mutation, or subscription + * to be parsed and executed by the GraphQL service. + */ + override fun graphQlOperation(graphQlOperation: String) { + cdkBuilder.graphQlOperation(graphQlOperation) + } + + /** + * @param maxEventAge The maximum age of a request that Lambda sends to a function for + * processing. + * Minimum value of 60. + * Maximum value of 86400. + */ + override fun maxEventAge(maxEventAge: Duration) { + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) + } + + /** + * @param retryAttempts The maximum number of times to retry when the function returns an error. + * Minimum value of 0. + * Maximum value of 185. + */ + override fun retryAttempts(retryAttempts: Number) { + cdkBuilder.retryAttempts(retryAttempts) + } + + /** + * @param variables The variables that are include in the GraphQL operation. + */ + override fun variables(variables: RuleTargetInput) { + cdkBuilder.variables(variables.let(RuleTargetInput.Companion::unwrap)) + } + + public fun build(): software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps, + ) : CdkObject(cdkObject), AppSyncGraphQLApiProps { + /** + * The SQS queue to be used as deadLetterQueue. Check out the [considerations for using a + * dead-letter + * queue](https://docs.aws.amazon.com/eventbridge/latest/userguide/rule-dlq.html#dlq-considerations). + * + * The events not successfully delivered are automatically retried for a specified period of + * time, + * depending on the retry policy of the target. + * If an event is not delivered before all retry attempts are exhausted, it will be sent to the + * dead letter queue. + * + * Default: - no dead-letter queue + */ + override fun deadLetterQueue(): IQueue? = unwrap(this).getDeadLetterQueue()?.let(IQueue::wrap) + + /** + * The role to assume before invoking the target (i.e., the pipeline) when the given rule is + * triggered. + * + * Default: - a new role with permissions to access mutations will be created + */ + override fun eventRole(): IRole? = unwrap(this).getEventRole()?.let(IRole::wrap) + + /** + * The GraphQL operation; + * + * that is, the query, mutation, or subscription + * to be parsed and executed by the GraphQL service. + */ + override fun graphQLOperation(): String = unwrap(this).getGraphQLOperation() + + /** + * The maximum age of a request that Lambda sends to a function for processing. + * + * Minimum value of 60. + * Maximum value of 86400. + * + * Default: Duration.hours(24) + */ + override fun maxEventAge(): Duration? = unwrap(this).getMaxEventAge()?.let(Duration::wrap) + + /** + * The maximum number of times to retry when the function returns an error. + * + * Minimum value of 0. + * Maximum value of 185. + * + * Default: 185 + */ + override fun retryAttempts(): Number? = unwrap(this).getRetryAttempts() + + /** + * The variables that are include in the GraphQL operation. + * + * Default: - The entire event is used + */ + override fun variables(): RuleTargetInput? = + unwrap(this).getVariables()?.let(RuleTargetInput::wrap) + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): AppSyncGraphQLApiProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps): + AppSyncGraphQLApiProps = CdkObjectWrappers.wrap(cdkObject) as? AppSyncGraphQLApiProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: AppSyncGraphQLApiProps): + software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.events.targets.AppSyncGraphQLApiProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApi.kt index 489795302b..8bc40203cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApi.kt @@ -41,7 +41,7 @@ public open class AwsApi( cdkObject: software.amazon.awscdk.services.events.targets.AwsApi, ) : CdkObject(cdkObject), IRuleTarget { public constructor(props: AwsApiProps) : - this(software.amazon.awscdk.services.events.targets.AwsApi(props.let(AwsApiProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.AwsApi(props.let(AwsApiProps.Companion::unwrap)) ) public constructor(props: AwsApiProps.Builder.() -> Unit) : this(AwsApiProps(props) @@ -55,7 +55,7 @@ public open class AwsApi( * @param id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this AwsApi as a result from an EventBridge @@ -65,7 +65,7 @@ public open class AwsApi( * @param id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.AwsApi]. @@ -212,7 +212,7 @@ public open class AwsApi( * @param policyStatement The IAM policy statement to allow the API call. */ override fun policyStatement(policyStatement: PolicyStatement) { - cdkBuilder.policyStatement(policyStatement.let(PolicyStatement::unwrap)) + cdkBuilder.policyStatement(policyStatement.let(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApiProps.kt index 4186f8bf63..d846eedc15 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/AwsApiProps.kt @@ -144,7 +144,7 @@ public interface AwsApiProps : AwsApiInput { * resource restriction is needed. */ override fun policyStatement(policyStatement: PolicyStatement) { - cdkBuilder.policyStatement(policyStatement.let(PolicyStatement::unwrap)) + cdkBuilder.policyStatement(policyStatement.let(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJob.kt index 0a9504f7c8..ea9840a1d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJob.kt @@ -72,8 +72,8 @@ public open class BatchJob( jobDefinitionArn: String, jobDefinitionScope: CloudshiftdevConstructsIConstruct, ) : this(software.amazon.awscdk.services.events.targets.BatchJob(jobQueueArn, - jobQueueScope.let(CloudshiftdevConstructsIConstruct::unwrap), jobDefinitionArn, - jobDefinitionScope.let(CloudshiftdevConstructsIConstruct::unwrap)) + jobQueueScope.let(CloudshiftdevConstructsIConstruct.Companion::unwrap), jobDefinitionArn, + jobDefinitionScope.let(CloudshiftdevConstructsIConstruct.Companion::unwrap)) ) public constructor( @@ -83,9 +83,9 @@ public open class BatchJob( jobDefinitionScope: CloudshiftdevConstructsIConstruct, props: BatchJobProps, ) : this(software.amazon.awscdk.services.events.targets.BatchJob(jobQueueArn, - jobQueueScope.let(CloudshiftdevConstructsIConstruct::unwrap), jobDefinitionArn, - jobDefinitionScope.let(CloudshiftdevConstructsIConstruct::unwrap), - props.let(BatchJobProps::unwrap)) + jobQueueScope.let(CloudshiftdevConstructsIConstruct.Companion::unwrap), jobDefinitionArn, + jobDefinitionScope.let(CloudshiftdevConstructsIConstruct.Companion::unwrap), + props.let(BatchJobProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class BatchJob( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger queue this batch job as a result from an @@ -115,7 +115,7 @@ public open class BatchJob( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.BatchJob]. @@ -253,7 +253,7 @@ public open class BatchJob( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class BatchJob( * @param event The event to send to the Lambda. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class BatchJob( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJobProps.kt index 3b120a09e5..1dc56fd9a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/BatchJobProps.kt @@ -168,7 +168,7 @@ public interface BatchJobProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface BatchJobProps : TargetBaseProps { * This will be the payload sent to the Lambda Function. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface BatchJobProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CloudWatchLogGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CloudWatchLogGroup.kt index 32a9bf0834..8edad9b926 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CloudWatchLogGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CloudWatchLogGroup.kt @@ -39,12 +39,12 @@ public open class CloudWatchLogGroup( cdkObject: software.amazon.awscdk.services.events.targets.CloudWatchLogGroup, ) : CdkObject(cdkObject), IRuleTarget { public constructor(logGroup: CloudshiftdevAwscdkServicesLogsILogGroup) : - this(software.amazon.awscdk.services.events.targets.CloudWatchLogGroup(logGroup.let(CloudshiftdevAwscdkServicesLogsILogGroup::unwrap)) + this(software.amazon.awscdk.services.events.targets.CloudWatchLogGroup(logGroup.let(CloudshiftdevAwscdkServicesLogsILogGroup.Companion::unwrap)) ) public constructor(logGroup: CloudshiftdevAwscdkServicesLogsILogGroup, props: LogGroupProps) : - this(software.amazon.awscdk.services.events.targets.CloudWatchLogGroup(logGroup.let(CloudshiftdevAwscdkServicesLogsILogGroup::unwrap), - props.let(LogGroupProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.CloudWatchLogGroup(logGroup.let(CloudshiftdevAwscdkServicesLogsILogGroup.Companion::unwrap), + props.let(LogGroupProps.Companion::unwrap)) ) public constructor(logGroup: CloudshiftdevAwscdkServicesLogsILogGroup, @@ -58,7 +58,7 @@ public open class CloudWatchLogGroup( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to log an event into a CloudWatch LogGroup. @@ -67,7 +67,7 @@ public open class CloudWatchLogGroup( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.CloudWatchLogGroup]. @@ -181,7 +181,7 @@ public open class CloudWatchLogGroup( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CloudWatchLogGroup( */ @Deprecated(message = "deprecated in CDK") override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CloudWatchLogGroup( * @param logEvent The event to send to the CloudWatch LogGroup. */ override fun logEvent(logEvent: LogGroupTargetInput) { - cdkBuilder.logEvent(logEvent.let(LogGroupTargetInput::unwrap)) + cdkBuilder.logEvent(logEvent.let(LogGroupTargetInput.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CloudWatchLogGroup( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProject.kt index 446f8a3578..f4c484386e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProject.kt @@ -43,13 +43,13 @@ public open class CodeBuildProject( cdkObject: software.amazon.awscdk.services.events.targets.CodeBuildProject, ) : CdkObject(cdkObject), IRuleTarget { public constructor(project: CloudshiftdevAwscdkServicesCodebuildIProject) : - this(software.amazon.awscdk.services.events.targets.CodeBuildProject(project.let(CloudshiftdevAwscdkServicesCodebuildIProject::unwrap)) + this(software.amazon.awscdk.services.events.targets.CodeBuildProject(project.let(CloudshiftdevAwscdkServicesCodebuildIProject.Companion::unwrap)) ) public constructor(project: CloudshiftdevAwscdkServicesCodebuildIProject, props: CodeBuildProjectProps) : - this(software.amazon.awscdk.services.events.targets.CodeBuildProject(project.let(CloudshiftdevAwscdkServicesCodebuildIProject::unwrap), - props.let(CodeBuildProjectProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.CodeBuildProject(project.let(CloudshiftdevAwscdkServicesCodebuildIProject.Companion::unwrap), + props.let(CodeBuildProjectProps.Companion::unwrap)) ) public constructor(project: CloudshiftdevAwscdkServicesCodebuildIProject, @@ -63,7 +63,7 @@ public open class CodeBuildProject( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Allows using build projects as event rule targets. @@ -72,7 +72,7 @@ public open class CodeBuildProject( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.CodeBuildProject]. @@ -173,7 +173,7 @@ public open class CodeBuildProject( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CodeBuildProject( * @param event The event to send to CodeBuild. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CodeBuildProject( * given rule is triggered. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CodeBuildProject( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProjectProps.kt index ae38f38315..6dbd1ca18c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodeBuildProjectProps.kt @@ -115,7 +115,7 @@ public interface CodeBuildProjectProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface CodeBuildProjectProps : TargetBaseProps { * This will be the payload for the StartBuild API. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface CodeBuildProjectProps : TargetBaseProps { * given rule is triggered. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface CodeBuildProjectProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipeline.kt index 23fa7df5fd..64240c1beb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipeline.kt @@ -37,13 +37,13 @@ public open class CodePipeline( cdkObject: software.amazon.awscdk.services.events.targets.CodePipeline, ) : CdkObject(cdkObject), IRuleTarget { public constructor(pipeline: CloudshiftdevAwscdkServicesCodepipelineIPipeline) : - this(software.amazon.awscdk.services.events.targets.CodePipeline(pipeline.let(CloudshiftdevAwscdkServicesCodepipelineIPipeline::unwrap)) + this(software.amazon.awscdk.services.events.targets.CodePipeline(pipeline.let(CloudshiftdevAwscdkServicesCodepipelineIPipeline.Companion::unwrap)) ) public constructor(pipeline: CloudshiftdevAwscdkServicesCodepipelineIPipeline, options: CodePipelineTargetOptions) : - this(software.amazon.awscdk.services.events.targets.CodePipeline(pipeline.let(CloudshiftdevAwscdkServicesCodepipelineIPipeline::unwrap), - options.let(CodePipelineTargetOptions::unwrap)) + this(software.amazon.awscdk.services.events.targets.CodePipeline(pipeline.let(CloudshiftdevAwscdkServicesCodepipelineIPipeline.Companion::unwrap), + options.let(CodePipelineTargetOptions.Companion::unwrap)) ) public constructor(pipeline: CloudshiftdevAwscdkServicesCodepipelineIPipeline, @@ -60,7 +60,7 @@ public open class CodePipeline( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns the rule target specification. @@ -71,7 +71,7 @@ public open class CodePipeline( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.CodePipeline]. @@ -161,7 +161,7 @@ public open class CodePipeline( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CodePipeline( * given rule is triggered. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class CodePipeline( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipelineTargetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipelineTargetOptions.kt index 0d926ecd25..82f50a0706 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipelineTargetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/CodePipelineTargetOptions.kt @@ -97,7 +97,7 @@ public interface CodePipelineTargetOptions : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public interface CodePipelineTargetOptions : TargetBaseProps { * given rule is triggered. */ override fun eventRole(eventRole: IRole) { - cdkBuilder.eventRole(eventRole.let(IRole::unwrap)) + cdkBuilder.eventRole(eventRole.let(IRole.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface CodePipelineTargetOptions : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ContainerOverride.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ContainerOverride.kt index 96e262faab..aaa5d8b38a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ContainerOverride.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/ContainerOverride.kt @@ -151,7 +151,7 @@ public interface ContainerOverride { * @param environment Variables to set in the container's environment. */ override fun environment(environment: List) { - cdkBuilder.environment(environment.map(TaskEnvironmentVariable::unwrap)) + cdkBuilder.environment(environment.map(TaskEnvironmentVariable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTask.kt index 98486530a1..c4dacd341f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTask.kt @@ -50,7 +50,7 @@ public open class EcsTask( cdkObject: software.amazon.awscdk.services.events.targets.EcsTask, ) : CdkObject(cdkObject), IRuleTarget { public constructor(props: EcsTaskProps) : - this(software.amazon.awscdk.services.events.targets.EcsTask(props.let(EcsTaskProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.EcsTask(props.let(EcsTaskProps.Companion::unwrap)) ) public constructor(props: EcsTaskProps.Builder.() -> Unit) : this(EcsTaskProps(props) @@ -63,7 +63,7 @@ public open class EcsTask( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Allows using tasks as target of EventBridge events. @@ -72,7 +72,7 @@ public open class EcsTask( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * The security groups associated with the task. @@ -342,7 +342,7 @@ public open class EcsTask( * @param cluster Cluster where service will be deployed. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class EcsTask( * @param containerOverrides Container setting overrides. */ override fun containerOverrides(containerOverrides: List) { - cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class EcsTask( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class EcsTask( * @param launchType Specifies the launch type on which your task is running. */ override fun launchType(launchType: LaunchType) { - cdkBuilder.launchType(launchType.let(LaunchType::unwrap)) + cdkBuilder.launchType(launchType.let(LaunchType.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class EcsTask( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class EcsTask( * @param platformVersion The platform version on which to run your task. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class EcsTask( * task. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class EcsTask( * @param role Existing IAM role to run the ECS task. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class EcsTask( * @param securityGroups Existing security groups to use for the task's ENIs. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public open class EcsTask( * @param subnetSelection In what subnets to place the task's ENIs. */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class EcsTask( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class EcsTask( * @param taskDefinition Task Definition of the task that should be started. */ override fun taskDefinition(taskDefinition: ITaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(ITaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(ITaskDefinition.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.EcsTask = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTaskProps.kt index 47b4674489..a73ed82179 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EcsTaskProps.kt @@ -312,7 +312,7 @@ public interface EcsTaskProps : TargetBaseProps { * @param cluster Cluster where service will be deployed. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface EcsTaskProps : TargetBaseProps { * values you want to override. */ override fun containerOverrides(containerOverrides: List) { - cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface EcsTaskProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface EcsTaskProps : TargetBaseProps { * must match one of the launch type (compatibilities) of the target task. */ override fun launchType(launchType: LaunchType) { - cdkBuilder.launchType(launchType.let(LaunchType::unwrap)) + cdkBuilder.launchType(launchType.let(LaunchType.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface EcsTaskProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public interface EcsTaskProps : TargetBaseProps { * Unless you have specific compatibility requirements, you don't need to specify this. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public interface EcsTaskProps : TargetBaseProps { * If no value is specified, the tags are not propagated. */ override fun propagateTags(propagateTags: PropagatedTagSource) { - cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagateTags(propagateTags.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface EcsTaskProps : TargetBaseProps { * @param role Existing IAM role to run the ECS task. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface EcsTaskProps : TargetBaseProps { * (Only applicable in case the TaskDefinition is configured for AwsVpc networking) */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface EcsTaskProps : TargetBaseProps { * (Only applicable in case the TaskDefinition is configured for AwsVpc networking) */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface EcsTaskProps : TargetBaseProps { * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface EcsTaskProps : TargetBaseProps { * @param taskDefinition Task Definition of the task that should be started. */ override fun taskDefinition(taskDefinition: ITaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(ITaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(ITaskDefinition.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.EcsTaskProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBus.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBus.kt index 301f60d362..e08362c4dd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBus.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBus.kt @@ -31,12 +31,12 @@ public open class EventBus( cdkObject: software.amazon.awscdk.services.events.targets.EventBus, ) : CdkObject(cdkObject), IRuleTarget { public constructor(eventBus: CloudshiftdevAwscdkServicesEventsIEventBus) : - this(software.amazon.awscdk.services.events.targets.EventBus(eventBus.let(CloudshiftdevAwscdkServicesEventsIEventBus::unwrap)) + this(software.amazon.awscdk.services.events.targets.EventBus(eventBus.let(CloudshiftdevAwscdkServicesEventsIEventBus.Companion::unwrap)) ) public constructor(eventBus: CloudshiftdevAwscdkServicesEventsIEventBus, props: EventBusProps) : - this(software.amazon.awscdk.services.events.targets.EventBus(eventBus.let(CloudshiftdevAwscdkServicesEventsIEventBus::unwrap), - props.let(EventBusProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.EventBus(eventBus.let(CloudshiftdevAwscdkServicesEventsIEventBus.Companion::unwrap), + props.let(EventBusProps.Companion::unwrap)) ) public constructor(eventBus: CloudshiftdevAwscdkServicesEventsIEventBus, @@ -52,7 +52,7 @@ public open class EventBus( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns the rule target specification. @@ -63,7 +63,7 @@ public open class EventBus( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.EventBus]. @@ -125,7 +125,7 @@ public open class EventBus( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class EventBus( * @param role Role to be used to publish the event. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.EventBus = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBusProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBusProps.kt index 48934521da..b80e53f786 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBusProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/EventBusProps.kt @@ -90,14 +90,14 @@ public interface EventBusProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** * @param role Role to be used to publish the event. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.EventBusProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStream.kt index 10622d75ec..546cc3e247 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStream.kt @@ -36,13 +36,13 @@ public open class KinesisFirehoseStream( cdkObject: software.amazon.awscdk.services.events.targets.KinesisFirehoseStream, ) : CdkObject(cdkObject), IRuleTarget { public constructor(stream: CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream) : - this(software.amazon.awscdk.services.events.targets.KinesisFirehoseStream(stream.let(CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream::unwrap)) + this(software.amazon.awscdk.services.events.targets.KinesisFirehoseStream(stream.let(CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream, props: KinesisFirehoseStreamProps) : - this(software.amazon.awscdk.services.events.targets.KinesisFirehoseStream(stream.let(CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream::unwrap), - props.let(KinesisFirehoseStreamProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.KinesisFirehoseStream(stream.let(CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream.Companion::unwrap), + props.let(KinesisFirehoseStreamProps.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisfirehoseCfnDeliveryStream, @@ -58,7 +58,7 @@ public open class KinesisFirehoseStream( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event @@ -68,7 +68,7 @@ public open class KinesisFirehoseStream( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.KinesisFirehoseStream]. @@ -104,7 +104,7 @@ public open class KinesisFirehoseStream( * @param message The message to send to the stream. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.KinesisFirehoseStream = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStreamProps.kt index 195399e082..66178907ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisFirehoseStreamProps.kt @@ -56,7 +56,7 @@ public interface KinesisFirehoseStreamProps { * Must be a valid JSON text passed to the target stream. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.KinesisFirehoseStreamProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStream.kt index 90c0a23d77..e3f7015945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStream.kt @@ -29,12 +29,12 @@ public open class KinesisStream( cdkObject: software.amazon.awscdk.services.events.targets.KinesisStream, ) : CdkObject(cdkObject), IRuleTarget { public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream) : - this(software.amazon.awscdk.services.events.targets.KinesisStream(stream.let(CloudshiftdevAwscdkServicesKinesisIStream::unwrap)) + this(software.amazon.awscdk.services.events.targets.KinesisStream(stream.let(CloudshiftdevAwscdkServicesKinesisIStream.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream, props: KinesisStreamProps) : - this(software.amazon.awscdk.services.events.targets.KinesisStream(stream.let(CloudshiftdevAwscdkServicesKinesisIStream::unwrap), - props.let(KinesisStreamProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.KinesisStream(stream.let(CloudshiftdevAwscdkServicesKinesisIStream.Companion::unwrap), + props.let(KinesisStreamProps.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream, @@ -49,7 +49,7 @@ public open class KinesisStream( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this Kinesis Stream as a result from a @@ -59,7 +59,7 @@ public open class KinesisStream( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.KinesisStream]. @@ -103,7 +103,7 @@ public open class KinesisStream( * @param message The message to send to the stream. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStreamProps.kt index 86256480a0..b85b2f9dbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/KinesisStreamProps.kt @@ -70,7 +70,7 @@ public interface KinesisStreamProps { * Must be a valid JSON text passed to the target stream. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunction.kt index db7c737574..2cf5706bdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunction.kt @@ -45,13 +45,13 @@ public open class LambdaFunction( cdkObject: software.amazon.awscdk.services.events.targets.LambdaFunction, ) : CdkObject(cdkObject), IRuleTarget { public constructor(handler: CloudshiftdevAwscdkServicesLambdaIFunction) : - this(software.amazon.awscdk.services.events.targets.LambdaFunction(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + this(software.amazon.awscdk.services.events.targets.LambdaFunction(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor(handler: CloudshiftdevAwscdkServicesLambdaIFunction, props: LambdaFunctionProps) : - this(software.amazon.awscdk.services.events.targets.LambdaFunction(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - props.let(LambdaFunctionProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.LambdaFunction(handler.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + props.let(LambdaFunctionProps.Companion::unwrap)) ) public constructor(handler: CloudshiftdevAwscdkServicesLambdaIFunction, @@ -66,7 +66,7 @@ public open class LambdaFunction( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this Lambda as a result from an EventBridge @@ -76,7 +76,7 @@ public open class LambdaFunction( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.events.targets.LambdaFunction]. @@ -166,7 +166,7 @@ public open class LambdaFunction( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class LambdaFunction( * @param event The event to send to the Lambda. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class LambdaFunction( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunctionProps.kt index 6b8a9c9949..4987cf85c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LambdaFunctionProps.kt @@ -101,7 +101,7 @@ public interface LambdaFunctionProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface LambdaFunctionProps : TargetBaseProps { * This will be the payload sent to the Lambda Function. */ override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface LambdaFunctionProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupProps.kt index c8eb975b7a..3437f6b762 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupProps.kt @@ -128,7 +128,7 @@ public interface LogGroupProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public interface LogGroupProps : TargetBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun event(event: RuleTargetInput) { - cdkBuilder.event(event.let(RuleTargetInput::unwrap)) + cdkBuilder.event(event.let(RuleTargetInput.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface LogGroupProps : TargetBaseProps { * This will be the event logged into the CloudWatch LogGroup */ override fun logEvent(logEvent: LogGroupTargetInput) { - cdkBuilder.logEvent(logEvent.let(LogGroupTargetInput::unwrap)) + cdkBuilder.logEvent(logEvent.let(LogGroupTargetInput.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public interface LogGroupProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupTargetInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupTargetInput.kt index b607904ab8..42f57e3915 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupTargetInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/LogGroupTargetInput.kt @@ -36,7 +36,7 @@ public abstract class LogGroupTargetInput( * @param rule */ public open fun bind(rule: IRule): RuleTargetInputProperties = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetInputProperties::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetInputProperties::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.events.targets.LogGroupTargetInput, @@ -47,7 +47,7 @@ public abstract class LogGroupTargetInput( software.amazon.awscdk.services.events.targets.LogGroupTargetInput.fromObject().let(RuleTargetInput::wrap) public fun fromObject(options: LogGroupTargetInputOptions): RuleTargetInput = - software.amazon.awscdk.services.events.targets.LogGroupTargetInput.fromObject(options.let(LogGroupTargetInputOptions::unwrap)).let(RuleTargetInput::wrap) + software.amazon.awscdk.services.events.targets.LogGroupTargetInput.fromObject(options.let(LogGroupTargetInputOptions.Companion::unwrap)).let(RuleTargetInput::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("898b6d05b662d8870ea1382acc3991a186e6104ddb70b26df0483ceecd8265c6") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachine.kt index 3cbce8a6b0..66184cd449 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachine.kt @@ -47,13 +47,13 @@ public open class SfnStateMachine( cdkObject: software.amazon.awscdk.services.events.targets.SfnStateMachine, ) : CdkObject(cdkObject), IRuleTarget { public constructor(machine: CloudshiftdevAwscdkServicesStepfunctionsIStateMachine) : - this(software.amazon.awscdk.services.events.targets.SfnStateMachine(machine.let(CloudshiftdevAwscdkServicesStepfunctionsIStateMachine::unwrap)) + this(software.amazon.awscdk.services.events.targets.SfnStateMachine(machine.let(CloudshiftdevAwscdkServicesStepfunctionsIStateMachine.Companion::unwrap)) ) public constructor(machine: CloudshiftdevAwscdkServicesStepfunctionsIStateMachine, props: SfnStateMachineProps) : - this(software.amazon.awscdk.services.events.targets.SfnStateMachine(machine.let(CloudshiftdevAwscdkServicesStepfunctionsIStateMachine::unwrap), - props.let(SfnStateMachineProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.SfnStateMachine(machine.let(CloudshiftdevAwscdkServicesStepfunctionsIStateMachine.Companion::unwrap), + props.let(SfnStateMachineProps.Companion::unwrap)) ) public constructor(machine: CloudshiftdevAwscdkServicesStepfunctionsIStateMachine, @@ -68,7 +68,7 @@ public open class SfnStateMachine( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a properties that are used in an Rule to trigger this State Machine. @@ -78,7 +78,7 @@ public open class SfnStateMachine( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * @@ -181,7 +181,7 @@ public open class SfnStateMachine( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class SfnStateMachine( * @param input The input to the state machine execution. */ override fun input(input: RuleTargetInput) { - cdkBuilder.input(input.let(RuleTargetInput::unwrap)) + cdkBuilder.input(input.let(RuleTargetInput.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class SfnStateMachine( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class SfnStateMachine( * @param role The IAM role to be assumed to execute the State Machine. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.SfnStateMachine = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachineProps.kt index 69c9c72905..e79238a05a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SfnStateMachineProps.kt @@ -112,14 +112,14 @@ public interface SfnStateMachineProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** * @param input The input to the state machine execution. */ override fun input(input: RuleTargetInput) { - cdkBuilder.input(input.let(RuleTargetInput::unwrap)) + cdkBuilder.input(input.let(RuleTargetInput.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface SfnStateMachineProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public interface SfnStateMachineProps : TargetBaseProps { * @param role The IAM role to be assumed to execute the State Machine. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.events.targets.SfnStateMachineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopic.kt index 4622b59534..60855d913d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopic.kt @@ -31,12 +31,12 @@ public open class SnsTopic( cdkObject: software.amazon.awscdk.services.events.targets.SnsTopic, ) : CdkObject(cdkObject), IRuleTarget { public constructor(topic: CloudshiftdevAwscdkServicesSnsITopic) : - this(software.amazon.awscdk.services.events.targets.SnsTopic(topic.let(CloudshiftdevAwscdkServicesSnsITopic::unwrap)) + this(software.amazon.awscdk.services.events.targets.SnsTopic(topic.let(CloudshiftdevAwscdkServicesSnsITopic.Companion::unwrap)) ) public constructor(topic: CloudshiftdevAwscdkServicesSnsITopic, props: SnsTopicProps) : - this(software.amazon.awscdk.services.events.targets.SnsTopic(topic.let(CloudshiftdevAwscdkServicesSnsITopic::unwrap), - props.let(SnsTopicProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.SnsTopic(topic.let(CloudshiftdevAwscdkServicesSnsITopic.Companion::unwrap), + props.let(SnsTopicProps.Companion::unwrap)) ) public constructor(topic: CloudshiftdevAwscdkServicesSnsITopic, @@ -52,7 +52,7 @@ public open class SnsTopic( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this SNS topic as a result from an EventBridge @@ -63,7 +63,7 @@ public open class SnsTopic( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * @@ -157,7 +157,7 @@ public open class SnsTopic( * */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class SnsTopic( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class SnsTopic( * @param message The message to send to the topic. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopicProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopicProps.kt index 7511c08ff3..c93ef5cb92 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopicProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SnsTopicProps.kt @@ -86,7 +86,7 @@ public interface SnsTopicProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -96,14 +96,14 @@ public interface SnsTopicProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param message The message to send to the topic. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueue.kt index 932f8410a5..4515b80f22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueue.kt @@ -30,12 +30,12 @@ public open class SqsQueue( cdkObject: software.amazon.awscdk.services.events.targets.SqsQueue, ) : CdkObject(cdkObject), IRuleTarget { public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue) : - this(software.amazon.awscdk.services.events.targets.SqsQueue(queue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap)) + this(software.amazon.awscdk.services.events.targets.SqsQueue(queue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap)) ) public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue, props: SqsQueueProps) : - this(software.amazon.awscdk.services.events.targets.SqsQueue(queue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap), - props.let(SqsQueueProps::unwrap)) + this(software.amazon.awscdk.services.events.targets.SqsQueue(queue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap), + props.let(SqsQueueProps.Companion::unwrap)) ) public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue, @@ -51,7 +51,7 @@ public open class SqsQueue( * @param _id */ public override fun bind(rule: IRule): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap)).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap)).let(RuleTargetConfig::wrap) /** * Returns a RuleTarget that can be used to trigger this SQS queue as a result from an EventBridge @@ -62,7 +62,7 @@ public open class SqsQueue( * @param _id */ public override fun bind(rule: IRule, id: String): RuleTargetConfig = - unwrap(this).bind(rule.let(IRule::unwrap), id).let(RuleTargetConfig::wrap) + unwrap(this).bind(rule.let(IRule.Companion::unwrap), id).let(RuleTargetConfig::wrap) /** * @@ -169,7 +169,7 @@ public open class SqsQueue( * */ override fun deadLetterQueue(deadLetterQueue: CloudshiftdevAwscdkServicesSqsIQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class SqsQueue( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class SqsQueue( * @param message The message to send to the queue. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueueProps.kt index b8c5599a55..fdad85e008 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/SqsQueueProps.kt @@ -114,7 +114,7 @@ public interface SqsQueueProps : TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public interface SqsQueueProps : TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface SqsQueueProps : TargetBaseProps { * Must be a valid JSON text passed to the target queue. */ override fun message(message: RuleTargetInput) { - cdkBuilder.message(message.let(RuleTargetInput::unwrap)) + cdkBuilder.message(message.let(RuleTargetInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/TargetBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/TargetBaseProps.kt index 08a1f5b314..9cb8d0ddf8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/TargetBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/events/targets/TargetBaseProps.kt @@ -112,7 +112,7 @@ public interface TargetBaseProps { * dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public interface TargetBaseProps { * Maximum value of 86400. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscoverer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscoverer.kt index cc05bf6435..988be1c543 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscoverer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscoverer.kt @@ -54,8 +54,8 @@ public open class CfnDiscoverer( id: String, props: CfnDiscovererProps, ) : - this(software.amazon.awscdk.services.eventschemas.CfnDiscoverer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDiscovererProps::unwrap)) + this(software.amazon.awscdk.services.eventschemas.CfnDiscoverer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDiscovererProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnDiscoverer( * account. */ public open fun crossAccount(`value`: IResolvable) { - unwrap(this).setCrossAccount(`value`.let(IResolvable::unwrap)) + unwrap(this).setCrossAccount(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnDiscoverer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnDiscoverer( * Tags associated with the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnDiscoverer( * bus from another account. */ override fun crossAccount(crossAccount: IResolvable) { - cdkBuilder.crossAccount(crossAccount.let(IResolvable::unwrap)) + cdkBuilder.crossAccount(crossAccount.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnDiscoverer( * @param tags Tags associated with the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscovererProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscovererProps.kt index 5d17ce79e5..b5143ac023 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscovererProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnDiscovererProps.kt @@ -123,7 +123,7 @@ public interface CfnDiscovererProps { * bus from another account. */ override fun crossAccount(crossAccount: IResolvable) { - cdkBuilder.crossAccount(crossAccount.let(IResolvable::unwrap)) + cdkBuilder.crossAccount(crossAccount.let(IResolvable.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface CfnDiscovererProps { * @param tags Tags associated with the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnDiscoverer.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnDiscoverer.TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistry.kt index 53ed7a7f6f..e4941a739d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistry.kt @@ -44,7 +44,7 @@ public open class CfnRegistry( cdkObject: software.amazon.awscdk.services.eventschemas.CfnRegistry, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.eventschemas.CfnRegistry(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.eventschemas.CfnRegistry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class CfnRegistry( id: String, props: CfnRegistryProps, ) : - this(software.amazon.awscdk.services.eventschemas.CfnRegistry(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRegistryProps::unwrap)) + this(software.amazon.awscdk.services.eventschemas.CfnRegistry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRegistryProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnRegistry( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnRegistry( * Tags to associate with the registry. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnRegistry( * @param tags Tags to associate with the registry. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryPolicy.kt index 61eeac12d5..795ff7c179 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryPolicy.kt @@ -42,8 +42,8 @@ public open class CfnRegistryPolicy( id: String, props: CfnRegistryPolicyProps, ) : - this(software.amazon.awscdk.services.eventschemas.CfnRegistryPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRegistryPolicyProps::unwrap)) + this(software.amazon.awscdk.services.eventschemas.CfnRegistryPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRegistryPolicyProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CfnRegistryPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryProps.kt index 6daccc1ab5..60407644ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnRegistryProps.kt @@ -101,7 +101,7 @@ public interface CfnRegistryProps { * @param tags Tags to associate with the registry. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnRegistry.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnRegistry.TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchema.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchema.kt index 4b34d2e254..1181e6695e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchema.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchema.kt @@ -49,8 +49,8 @@ public open class CfnSchema( id: String, props: CfnSchemaProps, ) : - this(software.amazon.awscdk.services.eventschemas.CfnSchema(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchemaProps::unwrap)) + this(software.amazon.awscdk.services.eventschemas.CfnSchema(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchemaProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnSchema( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnSchema( * Tags associated with the schema. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnSchema( * @param tags Tags associated with the schema. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchemaProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchemaProps.kt index a04368e96d..3040a4d432 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchemaProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/eventschemas/CfnSchemaProps.kt @@ -158,7 +158,7 @@ public interface CfnSchemaProps { * @param tags Tags associated with the schema. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnSchema.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnSchema.TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperiment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperiment.kt index 2a92b4cb71..1540264d79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperiment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperiment.kt @@ -93,8 +93,8 @@ public open class CfnExperiment( id: String, props: CfnExperimentProps, ) : - this(software.amazon.awscdk.services.evidently.CfnExperiment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnExperimentProps::unwrap)) + this(software.amazon.awscdk.services.evidently.CfnExperiment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnExperimentProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class CfnExperiment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnExperiment( * or lower value for each metric is the goal. */ public open fun metricGoals(`value`: IResolvable) { - unwrap(this).setMetricGoals(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricGoals(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,14 +182,14 @@ public open class CfnExperiment( * A structure that contains the configuration of which variation to use as the "control" version. */ public open fun onlineAbConfig(`value`: IResolvable) { - unwrap(this).setOnlineAbConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnlineAbConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the configuration of which variation to use as the "control" version. */ public open fun onlineAbConfig(`value`: OnlineAbConfigObjectProperty) { - unwrap(this).setOnlineAbConfig(`value`.let(OnlineAbConfigObjectProperty::unwrap)) + unwrap(this).setOnlineAbConfig(`value`.let(OnlineAbConfigObjectProperty.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnExperiment( * Set this to `true` to remove the segment that is associated with this experiment. */ public open fun removeSegment(`value`: IResolvable) { - unwrap(this).setRemoveSegment(`value`.let(IResolvable::unwrap)) + unwrap(this).setRemoveSegment(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -254,14 +254,14 @@ public open class CfnExperiment( * A structure that you can use to start and stop the experiment. */ public open fun runningStatus(`value`: IResolvable) { - unwrap(this).setRunningStatus(`value`.let(IResolvable::unwrap)) + unwrap(this).setRunningStatus(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that you can use to start and stop the experiment. */ public open fun runningStatus(`value`: RunningStatusObjectProperty) { - unwrap(this).setRunningStatus(`value`.let(RunningStatusObjectProperty::unwrap)) + unwrap(this).setRunningStatus(`value`.let(RunningStatusObjectProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnExperiment( * Assigns one or more tags (key-value pairs) to the experiment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnExperiment( * experiment. */ public open fun treatments(`value`: IResolvable) { - unwrap(this).setTreatments(`value`.let(IResolvable::unwrap)) + unwrap(this).setTreatments(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -646,7 +646,7 @@ public open class CfnExperiment( * and whether a higher or lower value for each metric is the goal. */ override fun metricGoals(metricGoals: IResolvable) { - cdkBuilder.metricGoals(metricGoals.let(IResolvable::unwrap)) + cdkBuilder.metricGoals(metricGoals.let(IResolvable.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public open class CfnExperiment( * as the "control" version. */ override fun onlineAbConfig(onlineAbConfig: IResolvable) { - cdkBuilder.onlineAbConfig(onlineAbConfig.let(IResolvable::unwrap)) + cdkBuilder.onlineAbConfig(onlineAbConfig.let(IResolvable.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnExperiment( * as the "control" version. */ override fun onlineAbConfig(onlineAbConfig: OnlineAbConfigObjectProperty) { - cdkBuilder.onlineAbConfig(onlineAbConfig.let(OnlineAbConfigObjectProperty::unwrap)) + cdkBuilder.onlineAbConfig(onlineAbConfig.let(OnlineAbConfigObjectProperty.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public open class CfnExperiment( * experiment. */ override fun removeSegment(removeSegment: IResolvable) { - cdkBuilder.removeSegment(removeSegment.let(IResolvable::unwrap)) + cdkBuilder.removeSegment(removeSegment.let(IResolvable.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public open class CfnExperiment( * @param runningStatus A structure that you can use to start and stop the experiment. */ override fun runningStatus(runningStatus: IResolvable) { - cdkBuilder.runningStatus(runningStatus.let(IResolvable::unwrap)) + cdkBuilder.runningStatus(runningStatus.let(IResolvable.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public open class CfnExperiment( * @param runningStatus A structure that you can use to start and stop the experiment. */ override fun runningStatus(runningStatus: RunningStatusObjectProperty) { - cdkBuilder.runningStatus(runningStatus.let(RunningStatusObjectProperty::unwrap)) + cdkBuilder.runningStatus(runningStatus.let(RunningStatusObjectProperty.Companion::unwrap)) } /** @@ -867,7 +867,7 @@ public open class CfnExperiment( * @param tags Assigns one or more tags (key-value pairs) to the experiment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -899,7 +899,7 @@ public open class CfnExperiment( * variation used in the experiment. */ override fun treatments(treatments: IResolvable) { - cdkBuilder.treatments(treatments.let(IResolvable::unwrap)) + cdkBuilder.treatments(treatments.let(IResolvable.Companion::unwrap)) } /** @@ -1302,7 +1302,7 @@ public open class CfnExperiment( * for a variation would allocate 20% of the experiment traffic to that variation. */ override fun treatmentWeights(treatmentWeights: IResolvable) { - cdkBuilder.treatmentWeights(treatmentWeights.let(IResolvable::unwrap)) + cdkBuilder.treatmentWeights(treatmentWeights.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperimentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperimentProps.kt index 8c4a157fef..3d413bdaef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperimentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnExperimentProps.kt @@ -394,7 +394,7 @@ public interface CfnExperimentProps { * You can use up to three metrics in an experiment. */ override fun metricGoals(metricGoals: IResolvable) { - cdkBuilder.metricGoals(metricGoals.let(IResolvable::unwrap)) + cdkBuilder.metricGoals(metricGoals.let(IResolvable.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface CfnExperimentProps { * specifies how much experiment traffic is allocated to each variation. */ override fun onlineAbConfig(onlineAbConfig: IResolvable) { - cdkBuilder.onlineAbConfig(onlineAbConfig.let(IResolvable::unwrap)) + cdkBuilder.onlineAbConfig(onlineAbConfig.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface CfnExperimentProps { * specifies how much experiment traffic is allocated to each variation. */ override fun onlineAbConfig(onlineAbConfig: CfnExperiment.OnlineAbConfigObjectProperty) { - cdkBuilder.onlineAbConfig(onlineAbConfig.let(CfnExperiment.OnlineAbConfigObjectProperty::unwrap)) + cdkBuilder.onlineAbConfig(onlineAbConfig.let(CfnExperiment.OnlineAbConfigObjectProperty.Companion::unwrap)) } /** @@ -484,21 +484,21 @@ public interface CfnExperimentProps { * You can't use this parameter if the experiment is currently running. */ override fun removeSegment(removeSegment: IResolvable) { - cdkBuilder.removeSegment(removeSegment.let(IResolvable::unwrap)) + cdkBuilder.removeSegment(removeSegment.let(IResolvable.Companion::unwrap)) } /** * @param runningStatus A structure that you can use to start and stop the experiment. */ override fun runningStatus(runningStatus: IResolvable) { - cdkBuilder.runningStatus(runningStatus.let(IResolvable::unwrap)) + cdkBuilder.runningStatus(runningStatus.let(IResolvable.Companion::unwrap)) } /** * @param runningStatus A structure that you can use to start and stop the experiment. */ override fun runningStatus(runningStatus: CfnExperiment.RunningStatusObjectProperty) { - cdkBuilder.runningStatus(runningStatus.let(CfnExperiment.RunningStatusObjectProperty::unwrap)) + cdkBuilder.runningStatus(runningStatus.let(CfnExperiment.RunningStatusObjectProperty.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface CfnExperimentProps { * resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public interface CfnExperimentProps { * variation used in the experiment. */ override fun treatments(treatments: IResolvable) { - cdkBuilder.treatments(treatments.let(IResolvable::unwrap)) + cdkBuilder.treatments(treatments.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeature.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeature.kt index 279f85aa73..83a9bd4dbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeature.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeature.kt @@ -71,8 +71,8 @@ public open class CfnFeature( id: String, props: CfnFeatureProps, ) : - this(software.amazon.awscdk.services.evidently.CfnFeature(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFeatureProps::unwrap)) + this(software.amazon.awscdk.services.evidently.CfnFeature(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFeatureProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnFeature( * Specify users that should always be served a specific variation of a feature. */ public open fun entityOverrides(`value`: IResolvable) { - unwrap(this).setEntityOverrides(`value`.let(IResolvable::unwrap)) + unwrap(this).setEntityOverrides(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnFeature( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnFeature( * Assigns one or more tags (key-value pairs) to the feature. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnFeature( * An array of structures that contain the configuration of the feature's different variations. */ public open fun variations(`value`: IResolvable) { - unwrap(this).setVariations(`value`.let(IResolvable::unwrap)) + unwrap(this).setVariations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnFeature( * feature. */ override fun entityOverrides(entityOverrides: IResolvable) { - cdkBuilder.entityOverrides(entityOverrides.let(IResolvable::unwrap)) + cdkBuilder.entityOverrides(entityOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public open class CfnFeature( * @param tags Assigns one or more tags (key-value pairs) to the feature. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnFeature( * different variations. */ override fun variations(variations: IResolvable) { - cdkBuilder.variations(variations.let(IResolvable::unwrap)) + cdkBuilder.variations(variations.let(IResolvable.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class CfnFeature( * @param booleanValue The value assigned to this variation, if the variation type is boolean. */ override fun booleanValue(booleanValue: IResolvable) { - cdkBuilder.booleanValue(booleanValue.let(IResolvable::unwrap)) + cdkBuilder.booleanValue(booleanValue.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeatureProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeatureProps.kt index 57577d3206..4d423c1f75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeatureProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnFeatureProps.kt @@ -295,7 +295,7 @@ public interface CfnFeatureProps { * that they are to be served. */ override fun entityOverrides(entityOverrides: IResolvable) { - cdkBuilder.entityOverrides(entityOverrides.let(IResolvable::unwrap)) + cdkBuilder.entityOverrides(entityOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface CfnFeatureProps { * resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public interface CfnFeatureProps { * value ( `BooleanValue` , `DoubleValue` , `LongValue` or `StringValue` ). */ override fun variations(variations: IResolvable) { - cdkBuilder.variations(variations.let(IResolvable::unwrap)) + cdkBuilder.variations(variations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunch.kt index 43f45717b4..0c9a869697 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunch.kt @@ -97,8 +97,8 @@ public open class CfnLaunch( id: String, props: CfnLaunchProps, ) : - this(software.amazon.awscdk.services.evidently.CfnLaunch(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchProps::unwrap)) + this(software.amazon.awscdk.services.evidently.CfnLaunch(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchProps.Companion::unwrap)) ) public constructor( @@ -136,14 +136,14 @@ public open class CfnLaunch( * A structure that you can use to start and stop the launch. */ public open fun executionStatus(`value`: IResolvable) { - unwrap(this).setExecutionStatus(`value`.let(IResolvable::unwrap)) + unwrap(this).setExecutionStatus(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that you can use to start and stop the launch. */ public open fun executionStatus(`value`: ExecutionStatusObjectProperty) { - unwrap(this).setExecutionStatus(`value`.let(ExecutionStatusObjectProperty::unwrap)) + unwrap(this).setExecutionStatus(`value`.let(ExecutionStatusObjectProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnLaunch( * launch. */ public open fun groups(`value`: IResolvable) { - unwrap(this).setGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnLaunch( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnLaunch( * performance. */ public open fun metricMonitors(`value`: IResolvable) { - unwrap(this).setMetricMonitors(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricMonitors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnLaunch( * variations during each step of the launch. */ public open fun scheduledSplitsConfig(`value`: IResolvable) { - unwrap(this).setScheduledSplitsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setScheduledSplitsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnLaunch( * Assigns one or more tags (key-value pairs) to the launch. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class CfnLaunch( * @param executionStatus A structure that you can use to start and stop the launch. */ override fun executionStatus(executionStatus: IResolvable) { - cdkBuilder.executionStatus(executionStatus.let(IResolvable::unwrap)) + cdkBuilder.executionStatus(executionStatus.let(IResolvable.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class CfnLaunch( * @param executionStatus A structure that you can use to start and stop the launch. */ override fun executionStatus(executionStatus: ExecutionStatusObjectProperty) { - cdkBuilder.executionStatus(executionStatus.let(ExecutionStatusObjectProperty::unwrap)) + cdkBuilder.executionStatus(executionStatus.let(ExecutionStatusObjectProperty.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public open class CfnLaunch( * used for the launch. */ override fun groups(groups: IResolvable) { - cdkBuilder.groups(groups.let(IResolvable::unwrap)) + cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnLaunch( * monitor the launch performance. */ override fun metricMonitors(metricMonitors: IResolvable) { - cdkBuilder.metricMonitors(metricMonitors.let(IResolvable::unwrap)) + cdkBuilder.metricMonitors(metricMonitors.let(IResolvable.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public open class CfnLaunch( * percentages among the feature variations during each step of the launch. */ override fun scheduledSplitsConfig(scheduledSplitsConfig: IResolvable) { - cdkBuilder.scheduledSplitsConfig(scheduledSplitsConfig.let(IResolvable::unwrap)) + cdkBuilder.scheduledSplitsConfig(scheduledSplitsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnLaunch( * @param tags Assigns one or more tags (key-value pairs) to the launch. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1594,7 +1594,7 @@ public open class CfnLaunch( * thousandths of a percent, so a weight of 50000 represents 50% of traffic. */ override fun weights(weights: IResolvable) { - cdkBuilder.weights(weights.let(IResolvable::unwrap)) + cdkBuilder.weights(weights.let(IResolvable.Companion::unwrap)) } /** @@ -1815,7 +1815,7 @@ public open class CfnLaunch( * to each launch group during this step of the launch. */ override fun groupWeights(groupWeights: IResolvable) { - cdkBuilder.groupWeights(groupWeights.let(IResolvable::unwrap)) + cdkBuilder.groupWeights(groupWeights.let(IResolvable.Companion::unwrap)) } /** @@ -1845,7 +1845,7 @@ public open class CfnLaunch( * . */ override fun segmentOverrides(segmentOverrides: IResolvable) { - cdkBuilder.segmentOverrides(segmentOverrides.let(IResolvable::unwrap)) + cdkBuilder.segmentOverrides(segmentOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunchProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunchProps.kt index 670a064723..8c8f8a1be7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunchProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnLaunchProps.kt @@ -318,14 +318,14 @@ public interface CfnLaunchProps { * @param executionStatus A structure that you can use to start and stop the launch. */ override fun executionStatus(executionStatus: IResolvable) { - cdkBuilder.executionStatus(executionStatus.let(IResolvable::unwrap)) + cdkBuilder.executionStatus(executionStatus.let(IResolvable.Companion::unwrap)) } /** * @param executionStatus A structure that you can use to start and stop the launch. */ override fun executionStatus(executionStatus: CfnLaunch.ExecutionStatusObjectProperty) { - cdkBuilder.executionStatus(executionStatus.let(CfnLaunch.ExecutionStatusObjectProperty::unwrap)) + cdkBuilder.executionStatus(executionStatus.let(CfnLaunch.ExecutionStatusObjectProperty.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface CfnLaunchProps { * You can up to five launch groups in a launch. */ override fun groups(groups: IResolvable) { - cdkBuilder.groups(groups.let(IResolvable::unwrap)) + cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface CfnLaunchProps { * You can have up to three metric monitors in the array. */ override fun metricMonitors(metricMonitors: IResolvable) { - cdkBuilder.metricMonitors(metricMonitors.let(IResolvable::unwrap)) + cdkBuilder.metricMonitors(metricMonitors.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface CfnLaunchProps { * percentages among the feature variations during each step of the launch. */ override fun scheduledSplitsConfig(scheduledSplitsConfig: IResolvable) { - cdkBuilder.scheduledSplitsConfig(scheduledSplitsConfig.let(IResolvable::unwrap)) + cdkBuilder.scheduledSplitsConfig(scheduledSplitsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface CfnLaunchProps { * resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProject.kt index 3ca838ef4a..d699cbd057 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProject.kt @@ -65,8 +65,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.evidently.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.evidently.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -85,14 +85,14 @@ public open class CfnProject( * Use this parameter if the project will use *client-side evaluation powered by AWS AppConfig* . */ public open fun appConfigResource(`value`: IResolvable) { - unwrap(this).setAppConfigResource(`value`.let(IResolvable::unwrap)) + unwrap(this).setAppConfigResource(`value`.let(IResolvable.Companion::unwrap)) } /** * Use this parameter if the project will use *client-side evaluation powered by AWS AppConfig* . */ public open fun appConfigResource(`value`: AppConfigResourceObjectProperty) { - unwrap(this).setAppConfigResource(`value`.let(AppConfigResourceObjectProperty::unwrap)) + unwrap(this).setAppConfigResource(`value`.let(AppConfigResourceObjectProperty.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnProject( * longer term storage, if you choose to do so. */ public open fun dataDelivery(`value`: IResolvable) { - unwrap(this).setDataDelivery(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataDelivery(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnProject( * longer term storage, if you choose to do so. */ public open fun dataDelivery(`value`: DataDeliveryObjectProperty) { - unwrap(this).setDataDelivery(`value`.let(DataDeliveryObjectProperty::unwrap)) + unwrap(this).setDataDelivery(`value`.let(DataDeliveryObjectProperty.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class CfnProject( * Assigns one or more tags (key-value pairs) to the project. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnProject( * powered by AWS AppConfig* . */ override fun appConfigResource(appConfigResource: IResolvable) { - cdkBuilder.appConfigResource(appConfigResource.let(IResolvable::unwrap)) + cdkBuilder.appConfigResource(appConfigResource.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnProject( * powered by AWS AppConfig* . */ override fun appConfigResource(appConfigResource: AppConfigResourceObjectProperty) { - cdkBuilder.appConfigResource(appConfigResource.let(AppConfigResourceObjectProperty::unwrap)) + cdkBuilder.appConfigResource(appConfigResource.let(AppConfigResourceObjectProperty.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnProject( * evaluation events for longer term storage, if you choose to do so. */ override fun dataDelivery(dataDelivery: IResolvable) { - cdkBuilder.dataDelivery(dataDelivery.let(IResolvable::unwrap)) + cdkBuilder.dataDelivery(dataDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public open class CfnProject( * evaluation events for longer term storage, if you choose to do so. */ override fun dataDelivery(dataDelivery: DataDeliveryObjectProperty) { - cdkBuilder.dataDelivery(dataDelivery.let(DataDeliveryObjectProperty::unwrap)) + cdkBuilder.dataDelivery(dataDelivery.let(DataDeliveryObjectProperty.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnProject( * @param tags Assigns one or more tags (key-value pairs) to the project. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnProject( * stores the bucket name and bucket prefix. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class CfnProject( * stores the bucket name and bucket prefix. */ override fun s3(s3: S3DestinationProperty) { - cdkBuilder.s3(s3.let(S3DestinationProperty::unwrap)) + cdkBuilder.s3(s3.let(S3DestinationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProjectProps.kt index 85d517c403..58bf4d6643 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnProjectProps.kt @@ -275,7 +275,7 @@ public interface CfnProjectProps { * `evidently:ExportProjectAsConfiguration` permission. */ override fun appConfigResource(appConfigResource: IResolvable) { - cdkBuilder.appConfigResource(appConfigResource.let(IResolvable::unwrap)) + cdkBuilder.appConfigResource(appConfigResource.let(IResolvable.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public interface CfnProjectProps { * `evidently:ExportProjectAsConfiguration` permission. */ override fun appConfigResource(appConfigResource: CfnProject.AppConfigResourceObjectProperty) { - cdkBuilder.appConfigResource(appConfigResource.let(CfnProject.AppConfigResourceObjectProperty::unwrap)) + cdkBuilder.appConfigResource(appConfigResource.let(CfnProject.AppConfigResourceObjectProperty.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public interface CfnProjectProps { * You can't specify both `CloudWatchLogs` and `S3Destination` in the same operation. */ override fun dataDelivery(dataDelivery: IResolvable) { - cdkBuilder.dataDelivery(dataDelivery.let(IResolvable::unwrap)) + cdkBuilder.dataDelivery(dataDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface CfnProjectProps { * You can't specify both `CloudWatchLogs` and `S3Destination` in the same operation. */ override fun dataDelivery(dataDelivery: CfnProject.DataDeliveryObjectProperty) { - cdkBuilder.dataDelivery(dataDelivery.let(CfnProject.DataDeliveryObjectProperty::unwrap)) + cdkBuilder.dataDelivery(dataDelivery.let(CfnProject.DataDeliveryObjectProperty.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public interface CfnProjectProps { * resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegment.kt index bbb0b7e2b3..00d64c0282 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegment.kt @@ -63,8 +63,8 @@ public open class CfnSegment( id: String, props: CfnSegmentProps, ) : - this(software.amazon.awscdk.services.evidently.CfnSegment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSegmentProps::unwrap)) + this(software.amazon.awscdk.services.evidently.CfnSegment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSegmentProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnSegment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnSegment( * Assigns one or more tags (key-value pairs) to the feature. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnSegment( * @param tags Assigns one or more tags (key-value pairs) to the feature. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegmentProps.kt index 650dd5f087..5f8eefaa2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/evidently/CfnSegmentProps.kt @@ -177,7 +177,7 @@ public interface CfnSegmentProps { * resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironment.kt index ab48c9eb9e..76f547e759 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironment.kt @@ -70,8 +70,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.finspace.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.finspace.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -177,14 +177,14 @@ public open class CfnEnvironment( * Configuration information when authentication mode is FEDERATED. */ public open fun federationParameters(`value`: IResolvable) { - unwrap(this).setFederationParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setFederationParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration information when authentication mode is FEDERATED. */ public open fun federationParameters(`value`: FederationParametersProperty) { - unwrap(this).setFederationParameters(`value`.let(FederationParametersProperty::unwrap)) + unwrap(this).setFederationParameters(`value`.let(FederationParametersProperty.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -237,14 +237,14 @@ public open class CfnEnvironment( * Configuration information for the superuser. */ public open fun superuserParameters(`value`: IResolvable) { - unwrap(this).setSuperuserParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setSuperuserParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration information for the superuser. */ public open fun superuserParameters(`value`: SuperuserParametersProperty) { - unwrap(this).setSuperuserParameters(`value`.let(SuperuserParametersProperty::unwrap)) + unwrap(this).setSuperuserParameters(`value`.let(SuperuserParametersProperty.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnEnvironment( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnEnvironment( * @param federationParameters Configuration information when authentication mode is FEDERATED. */ override fun federationParameters(federationParameters: IResolvable) { - cdkBuilder.federationParameters(federationParameters.let(IResolvable::unwrap)) + cdkBuilder.federationParameters(federationParameters.let(IResolvable.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnEnvironment( * @param federationParameters Configuration information when authentication mode is FEDERATED. */ override fun federationParameters(federationParameters: FederationParametersProperty) { - cdkBuilder.federationParameters(federationParameters.let(FederationParametersProperty::unwrap)) + cdkBuilder.federationParameters(federationParameters.let(FederationParametersProperty.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnEnvironment( * @param superuserParameters Configuration information for the superuser. */ override fun superuserParameters(superuserParameters: IResolvable) { - cdkBuilder.superuserParameters(superuserParameters.let(IResolvable::unwrap)) + cdkBuilder.superuserParameters(superuserParameters.let(IResolvable.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public open class CfnEnvironment( * @param superuserParameters Configuration information for the superuser. */ override fun superuserParameters(superuserParameters: SuperuserParametersProperty) { - cdkBuilder.superuserParameters(superuserParameters.let(SuperuserParametersProperty::unwrap)) + cdkBuilder.superuserParameters(superuserParameters.let(SuperuserParametersProperty.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class CfnEnvironment( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public open class CfnEnvironment( * 2.0 compliant identity provider (IdP) documentation for details. */ override fun attributeMap(attributeMap: IResolvable) { - cdkBuilder.attributeMap(attributeMap.let(IResolvable::unwrap)) + cdkBuilder.attributeMap(attributeMap.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironmentProps.kt index 7fb58ec6f3..01fc952468 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/finspace/CfnEnvironmentProps.kt @@ -239,7 +239,7 @@ public interface CfnEnvironmentProps { * @param federationParameters Configuration information when authentication mode is FEDERATED. */ override fun federationParameters(federationParameters: IResolvable) { - cdkBuilder.federationParameters(federationParameters.let(IResolvable::unwrap)) + cdkBuilder.federationParameters(federationParameters.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface CfnEnvironmentProps { */ override fun federationParameters(federationParameters: CfnEnvironment.FederationParametersProperty) { - cdkBuilder.federationParameters(federationParameters.let(CfnEnvironment.FederationParametersProperty::unwrap)) + cdkBuilder.federationParameters(federationParameters.let(CfnEnvironment.FederationParametersProperty.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnEnvironmentProps { * @param superuserParameters Configuration information for the superuser. */ override fun superuserParameters(superuserParameters: IResolvable) { - cdkBuilder.superuserParameters(superuserParameters.let(IResolvable::unwrap)) + cdkBuilder.superuserParameters(superuserParameters.let(IResolvable.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface CfnEnvironmentProps { */ override fun superuserParameters(superuserParameters: CfnEnvironment.SuperuserParametersProperty) { - cdkBuilder.superuserParameters(superuserParameters.let(CfnEnvironment.SuperuserParametersProperty::unwrap)) + cdkBuilder.superuserParameters(superuserParameters.let(CfnEnvironment.SuperuserParametersProperty.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnEnvironmentProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplate.kt index 37ff49aeb5..48732e9d0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplate.kt @@ -106,8 +106,8 @@ public open class CfnExperimentTemplate( id: String, props: CfnExperimentTemplateProps, ) : - this(software.amazon.awscdk.services.fis.CfnExperimentTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnExperimentTemplateProps::unwrap)) + this(software.amazon.awscdk.services.fis.CfnExperimentTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnExperimentTemplateProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnExperimentTemplate( * The actions for the experiment. */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnExperimentTemplate( } /** - * + * The ID of the experiment template. */ public open fun attrId(): String = unwrap(this).getAttrId() @@ -162,14 +162,14 @@ public open class CfnExperimentTemplate( * The experiment options for an experiment template. */ public open fun experimentOptions(`value`: IResolvable) { - unwrap(this).setExperimentOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setExperimentOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The experiment options for an experiment template. */ public open fun experimentOptions(`value`: ExperimentTemplateExperimentOptionsProperty) { - unwrap(this).setExperimentOptions(`value`.let(ExperimentTemplateExperimentOptionsProperty::unwrap)) + unwrap(this).setExperimentOptions(`value`.let(ExperimentTemplateExperimentOptionsProperty.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnExperimentTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -199,14 +199,14 @@ public open class CfnExperimentTemplate( * The configuration for experiment logging. */ public open fun logConfiguration(`value`: IResolvable) { - unwrap(this).setLogConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for experiment logging. */ public open fun logConfiguration(`value`: ExperimentTemplateLogConfigurationProperty) { - unwrap(this).setLogConfiguration(`value`.let(ExperimentTemplateLogConfigurationProperty::unwrap)) + unwrap(this).setLogConfiguration(`value`.let(ExperimentTemplateLogConfigurationProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnExperimentTemplate( * The stop conditions for the experiment. */ public open fun stopConditions(`value`: IResolvable) { - unwrap(this).setStopConditions(`value`.let(IResolvable::unwrap)) + unwrap(this).setStopConditions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnExperimentTemplate( * The targets for the experiment. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class CfnExperimentTemplate( * @param actions The actions for the experiment. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class CfnExperimentTemplate( * @param experimentOptions The experiment options for an experiment template. */ override fun experimentOptions(experimentOptions: IResolvable) { - cdkBuilder.experimentOptions(experimentOptions.let(IResolvable::unwrap)) + cdkBuilder.experimentOptions(experimentOptions.let(IResolvable.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class CfnExperimentTemplate( * @param experimentOptions The experiment options for an experiment template. */ override fun experimentOptions(experimentOptions: ExperimentTemplateExperimentOptionsProperty) { - cdkBuilder.experimentOptions(experimentOptions.let(ExperimentTemplateExperimentOptionsProperty::unwrap)) + cdkBuilder.experimentOptions(experimentOptions.let(ExperimentTemplateExperimentOptionsProperty.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class CfnExperimentTemplate( * @param logConfiguration The configuration for experiment logging. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnExperimentTemplate( * @param logConfiguration The configuration for experiment logging. */ override fun logConfiguration(logConfiguration: ExperimentTemplateLogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(ExperimentTemplateLogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(ExperimentTemplateLogConfigurationProperty.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public open class CfnExperimentTemplate( * @param stopConditions The stop conditions for the experiment. */ override fun stopConditions(stopConditions: IResolvable) { - cdkBuilder.stopConditions(stopConditions.let(IResolvable::unwrap)) + cdkBuilder.stopConditions(stopConditions.let(IResolvable.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class CfnExperimentTemplate( * @param targets The targets for the experiment. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public open class CfnExperimentTemplate( * @param parameters The parameters for the action. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public open class CfnExperimentTemplate( * @param targets The targets for the action. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -1599,7 +1599,7 @@ public open class CfnExperimentTemplate( * @param filters The filters to apply to identify target resources using specific attributes. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -1618,7 +1618,7 @@ public open class CfnExperimentTemplate( * @param parameters The parameters for the resource type. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -1645,7 +1645,7 @@ public open class CfnExperimentTemplate( * @param resourceTags The tags for the target resources. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplateProps.kt index 9ac11840e0..d44029e03f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnExperimentTemplateProps.kt @@ -235,7 +235,7 @@ public interface CfnExperimentTemplateProps { * @param actions The actions for the experiment. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnExperimentTemplateProps { * @param experimentOptions The experiment options for an experiment template. */ override fun experimentOptions(experimentOptions: IResolvable) { - cdkBuilder.experimentOptions(experimentOptions.let(IResolvable::unwrap)) + cdkBuilder.experimentOptions(experimentOptions.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface CfnExperimentTemplateProps { */ override fun experimentOptions(experimentOptions: CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty) { - cdkBuilder.experimentOptions(experimentOptions.let(CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty::unwrap)) + cdkBuilder.experimentOptions(experimentOptions.let(CfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface CfnExperimentTemplateProps { * @param logConfiguration The configuration for experiment logging. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnExperimentTemplateProps { */ override fun logConfiguration(logConfiguration: CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface CfnExperimentTemplateProps { * @param stopConditions The stop conditions for the experiment. */ override fun stopConditions(stopConditions: IResolvable) { - cdkBuilder.stopConditions(stopConditions.let(IResolvable::unwrap)) + cdkBuilder.stopConditions(stopConditions.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface CfnExperimentTemplateProps { * @param targets The targets for the experiment. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnTargetAccountConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnTargetAccountConfiguration.kt index 8caeedb1e6..46e857c05b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnTargetAccountConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fis/CfnTargetAccountConfiguration.kt @@ -45,8 +45,8 @@ public open class CfnTargetAccountConfiguration( id: String, props: CfnTargetAccountConfigurationProps, ) : - this(software.amazon.awscdk.services.fis.CfnTargetAccountConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTargetAccountConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.fis.CfnTargetAccountConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTargetAccountConfigurationProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnTargetAccountConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnNotificationChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnNotificationChannel.kt index f75c643066..0c9ff77250 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnNotificationChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnNotificationChannel.kt @@ -44,8 +44,8 @@ public open class CfnNotificationChannel( id: String, props: CfnNotificationChannelProps, ) : - this(software.amazon.awscdk.services.fms.CfnNotificationChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNotificationChannelProps::unwrap)) + this(software.amazon.awscdk.services.fms.CfnNotificationChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNotificationChannelProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class CfnNotificationChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicy.kt index 74a58e5827..24974edbe3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicy.kt @@ -104,8 +104,8 @@ public open class CfnPolicy( id: String, props: CfnPolicyProps, ) : - this(software.amazon.awscdk.services.fms.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyProps::unwrap)) + this(software.amazon.awscdk.services.fms.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class CfnPolicy( * If `true` , Firewall Manager performs cleanup according to the policy type. */ public open fun deleteAllPolicyResources(`value`: IResolvable) { - unwrap(this).setDeleteAllPolicyResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteAllPolicyResources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnPolicy( * the policy. */ public open fun excludeMap(`value`: IResolvable) { - unwrap(this).setExcludeMap(`value`.let(IResolvable::unwrap)) + unwrap(this).setExcludeMap(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnPolicy( * the policy. */ public open fun excludeMap(`value`: IEMapProperty) { - unwrap(this).setExcludeMap(`value`.let(IEMapProperty::unwrap)) + unwrap(this).setExcludeMap(`value`.let(IEMapProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnPolicy( * Used only when tags are specified in the `ResourceTags` property. */ public open fun excludeResourceTags(`value`: IResolvable) { - unwrap(this).setExcludeResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setExcludeResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnPolicy( * the policy. */ public open fun includeMap(`value`: IResolvable) { - unwrap(this).setIncludeMap(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludeMap(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnPolicy( * the policy. */ public open fun includeMap(`value`: IEMapProperty) { - unwrap(this).setIncludeMap(`value`.let(IEMapProperty::unwrap)) + unwrap(this).setIncludeMap(`value`.let(IEMapProperty.Companion::unwrap)) } /** @@ -243,16 +243,16 @@ public open class CfnPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** - * The definition of the AWS Network Firewall firewall policy. + * Your description of the AWS Firewall Manager policy. */ public open fun policyDescription(): String? = unwrap(this).getPolicyDescription() /** - * The definition of the AWS Network Firewall firewall policy. + * Your description of the AWS Firewall Manager policy. */ public open fun policyDescription(`value`: String) { unwrap(this).setPolicyDescription(`value`) @@ -286,7 +286,7 @@ public open class CfnPolicy( * Indicates if the policy should be automatically applied to new resources. */ public open fun remediationEnabled(`value`: IResolvable) { - unwrap(this).setRemediationEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setRemediationEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnPolicy( * explicitly exclude them. */ public open fun resourceTags(`value`: IResolvable) { - unwrap(this).setResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnPolicy( * when those accounts leave policy scope. */ public open fun resourcesCleanUp(`value`: IResolvable) { - unwrap(this).setResourcesCleanUp(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourcesCleanUp(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -399,14 +399,14 @@ public open class CfnPolicy( * Details about the security service that is being used to protect the resources. */ public open fun securityServicePolicyData(`value`: IResolvable) { - unwrap(this).setSecurityServicePolicyData(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecurityServicePolicyData(`value`.let(IResolvable.Companion::unwrap)) } /** * Details about the security service that is being used to protect the resources. */ public open fun securityServicePolicyData(`value`: SecurityServicePolicyDataProperty) { - unwrap(this).setSecurityServicePolicyData(`value`.let(SecurityServicePolicyDataProperty::unwrap)) + unwrap(this).setSecurityServicePolicyData(`value`.let(SecurityServicePolicyDataProperty.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnPolicy( * A collection of key:value pairs associated with an AWS resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(PolicyTagProperty::unwrap)) + unwrap(this).setTags(`value`.map(PolicyTagProperty.Companion::unwrap)) } /** @@ -696,10 +696,10 @@ public open class CfnPolicy( public fun includeMap(includeMap: IEMapProperty.Builder.() -> Unit) /** - * The definition of the AWS Network Firewall firewall policy. + * Your description of the AWS Firewall Manager policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-policydescription) - * @param policyDescription The definition of the AWS Network Firewall firewall policy. + * @param policyDescription Your description of the AWS Firewall Manager policy. */ public fun policyDescription(policyDescription: String) @@ -1495,7 +1495,7 @@ public open class CfnPolicy( * performs cleanup according to the policy type. */ override fun deleteAllPolicyResources(deleteAllPolicyResources: IResolvable) { - cdkBuilder.deleteAllPolicyResources(deleteAllPolicyResources.let(IResolvable::unwrap)) + cdkBuilder.deleteAllPolicyResources(deleteAllPolicyResources.let(IResolvable.Companion::unwrap)) } /** @@ -1525,7 +1525,7 @@ public open class CfnPolicy( * (OUs) to exclude from the policy. */ override fun excludeMap(excludeMap: IResolvable) { - cdkBuilder.excludeMap(excludeMap.let(IResolvable::unwrap)) + cdkBuilder.excludeMap(excludeMap.let(IResolvable.Companion::unwrap)) } /** @@ -1555,7 +1555,7 @@ public open class CfnPolicy( * (OUs) to exclude from the policy. */ override fun excludeMap(excludeMap: IEMapProperty) { - cdkBuilder.excludeMap(excludeMap.let(IEMapProperty::unwrap)) + cdkBuilder.excludeMap(excludeMap.let(IEMapProperty.Companion::unwrap)) } /** @@ -1612,7 +1612,7 @@ public open class CfnPolicy( * @param excludeResourceTags Used only when tags are specified in the `ResourceTags` property. */ override fun excludeResourceTags(excludeResourceTags: IResolvable) { - cdkBuilder.excludeResourceTags(excludeResourceTags.let(IResolvable::unwrap)) + cdkBuilder.excludeResourceTags(excludeResourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -1642,7 +1642,7 @@ public open class CfnPolicy( * (OUs) to include in the policy. */ override fun includeMap(includeMap: IResolvable) { - cdkBuilder.includeMap(includeMap.let(IResolvable::unwrap)) + cdkBuilder.includeMap(includeMap.let(IResolvable.Companion::unwrap)) } /** @@ -1672,7 +1672,7 @@ public open class CfnPolicy( * (OUs) to include in the policy. */ override fun includeMap(includeMap: IEMapProperty) { - cdkBuilder.includeMap(includeMap.let(IEMapProperty::unwrap)) + cdkBuilder.includeMap(includeMap.let(IEMapProperty.Companion::unwrap)) } /** @@ -1707,10 +1707,10 @@ public open class CfnPolicy( includeMap(IEMapProperty(includeMap)) /** - * The definition of the AWS Network Firewall firewall policy. + * Your description of the AWS Firewall Manager policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-policydescription) - * @param policyDescription The definition of the AWS Network Firewall firewall policy. + * @param policyDescription Your description of the AWS Firewall Manager policy. */ override fun policyDescription(policyDescription: String) { cdkBuilder.policyDescription(policyDescription) @@ -1745,7 +1745,7 @@ public open class CfnPolicy( * resources. */ override fun remediationEnabled(remediationEnabled: IResolvable) { - cdkBuilder.remediationEnabled(remediationEnabled.let(IResolvable::unwrap)) + cdkBuilder.remediationEnabled(remediationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1779,7 +1779,7 @@ public open class CfnPolicy( * in the policy scope or explicitly exclude them. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -1905,7 +1905,7 @@ public open class CfnPolicy( * Manager is managing for accounts when those accounts leave policy scope. */ override fun resourcesCleanUp(resourcesCleanUp: IResolvable) { - cdkBuilder.resourcesCleanUp(resourcesCleanUp.let(IResolvable::unwrap)) + cdkBuilder.resourcesCleanUp(resourcesCleanUp.let(IResolvable.Companion::unwrap)) } /** @@ -2082,7 +2082,7 @@ public open class CfnPolicy( * protect the resources. */ override fun securityServicePolicyData(securityServicePolicyData: IResolvable) { - cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(IResolvable::unwrap)) + cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(IResolvable.Companion::unwrap)) } /** @@ -2260,7 +2260,7 @@ public open class CfnPolicy( */ override fun securityServicePolicyData(securityServicePolicyData: SecurityServicePolicyDataProperty) { - cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(SecurityServicePolicyDataProperty::unwrap)) + cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(SecurityServicePolicyDataProperty.Companion::unwrap)) } /** @@ -2454,7 +2454,7 @@ public open class CfnPolicy( * @param tags A collection of key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(PolicyTagProperty::unwrap)) + cdkBuilder.tags(tags.map(PolicyTagProperty.Companion::unwrap)) } /** @@ -2734,8 +2734,8 @@ public open class CfnPolicy( } /** - * Contains the AWS Network Firewall firewall policy options to configure the policy's deployment - * model and third-party firewall policy settings. + * Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall policy + * deployment model, or a third-party firewall policy. * * Example: * @@ -2825,14 +2825,14 @@ public open class CfnPolicy( * @param networkFirewallPolicy Defines the deployment model to use for the firewall policy. */ override fun networkFirewallPolicy(networkFirewallPolicy: IResolvable) { - cdkBuilder.networkFirewallPolicy(networkFirewallPolicy.let(IResolvable::unwrap)) + cdkBuilder.networkFirewallPolicy(networkFirewallPolicy.let(IResolvable.Companion::unwrap)) } /** * @param networkFirewallPolicy Defines the deployment model to use for the firewall policy. */ override fun networkFirewallPolicy(networkFirewallPolicy: NetworkFirewallPolicyProperty) { - cdkBuilder.networkFirewallPolicy(networkFirewallPolicy.let(NetworkFirewallPolicyProperty::unwrap)) + cdkBuilder.networkFirewallPolicy(networkFirewallPolicy.let(NetworkFirewallPolicyProperty.Companion::unwrap)) } /** @@ -2849,7 +2849,7 @@ public open class CfnPolicy( * policy. */ override fun thirdPartyFirewallPolicy(thirdPartyFirewallPolicy: IResolvable) { - cdkBuilder.thirdPartyFirewallPolicy(thirdPartyFirewallPolicy.let(IResolvable::unwrap)) + cdkBuilder.thirdPartyFirewallPolicy(thirdPartyFirewallPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -2858,7 +2858,7 @@ public open class CfnPolicy( */ override fun thirdPartyFirewallPolicy(thirdPartyFirewallPolicy: ThirdPartyFirewallPolicyProperty) { - cdkBuilder.thirdPartyFirewallPolicy(thirdPartyFirewallPolicy.let(ThirdPartyFirewallPolicyProperty::unwrap)) + cdkBuilder.thirdPartyFirewallPolicy(thirdPartyFirewallPolicy.let(ThirdPartyFirewallPolicyProperty.Companion::unwrap)) } /** @@ -3344,8 +3344,8 @@ public open class CfnPolicy( public fun managedServiceData(): String? = unwrap(this).getManagedServiceData() /** - * Contains the Network Firewall firewall policy options to configure a centralized deployment - * model. + * Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall + * policy deployment model, or a third-party firewall policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-securityservicepolicydata.html#cfn-fms-policy-securityservicepolicydata-policyoption) */ @@ -3529,20 +3529,20 @@ public open class CfnPolicy( public fun managedServiceData(managedServiceData: String) /** - * @param policyOption Contains the Network Firewall firewall policy options to configure a - * centralized deployment model. + * @param policyOption Contains the settings to configure a network ACL policy, a AWS Network + * Firewall firewall policy deployment model, or a third-party firewall policy. */ public fun policyOption(policyOption: IResolvable) /** - * @param policyOption Contains the Network Firewall firewall policy options to configure a - * centralized deployment model. + * @param policyOption Contains the settings to configure a network ACL policy, a AWS Network + * Firewall firewall policy deployment model, or a third-party firewall policy. */ public fun policyOption(policyOption: PolicyOptionProperty) /** - * @param policyOption Contains the Network Firewall firewall policy options to configure a - * centralized deployment model. + * @param policyOption Contains the settings to configure a network ACL policy, a AWS Network + * Firewall firewall policy deployment model, or a third-party firewall policy. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f802adb0072e9aff9070aaec6a8b5cccadf0cb1794bb55ea6dcb6d68e66c7c85") @@ -3726,24 +3726,24 @@ public open class CfnPolicy( } /** - * @param policyOption Contains the Network Firewall firewall policy options to configure a - * centralized deployment model. + * @param policyOption Contains the settings to configure a network ACL policy, a AWS Network + * Firewall firewall policy deployment model, or a third-party firewall policy. */ override fun policyOption(policyOption: IResolvable) { - cdkBuilder.policyOption(policyOption.let(IResolvable::unwrap)) + cdkBuilder.policyOption(policyOption.let(IResolvable.Companion::unwrap)) } /** - * @param policyOption Contains the Network Firewall firewall policy options to configure a - * centralized deployment model. + * @param policyOption Contains the settings to configure a network ACL policy, a AWS Network + * Firewall firewall policy deployment model, or a third-party firewall policy. */ override fun policyOption(policyOption: PolicyOptionProperty) { - cdkBuilder.policyOption(policyOption.let(PolicyOptionProperty::unwrap)) + cdkBuilder.policyOption(policyOption.let(PolicyOptionProperty.Companion::unwrap)) } /** - * @param policyOption Contains the Network Firewall firewall policy options to configure a - * centralized deployment model. + * @param policyOption Contains the settings to configure a network ACL policy, a AWS Network + * Firewall firewall policy deployment model, or a third-party firewall policy. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f802adb0072e9aff9070aaec6a8b5cccadf0cb1794bb55ea6dcb6d68e66c7c85") @@ -3932,8 +3932,8 @@ public open class CfnPolicy( override fun managedServiceData(): String? = unwrap(this).getManagedServiceData() /** - * Contains the Network Firewall firewall policy options to configure a centralized deployment - * model. + * Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall + * policy deployment model, or a third-party firewall policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-securityservicepolicydata.html#cfn-fms-policy-securityservicepolicydata-policyoption) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicyProps.kt index 91fc3fc01b..d0df1debc4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnPolicyProps.kt @@ -158,7 +158,7 @@ public interface CfnPolicyProps { public fun includeMap(): Any? = unwrap(this).getIncludeMap() /** - * The definition of the AWS Network Firewall firewall policy. + * Your description of the AWS Firewall Manager policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-policydescription) */ @@ -646,7 +646,7 @@ public interface CfnPolicyProps { public fun includeMap(includeMap: CfnPolicy.IEMapProperty.Builder.() -> Unit) /** - * @param policyDescription The definition of the AWS Network Firewall firewall policy. + * @param policyDescription Your description of the AWS Firewall Manager policy. */ public fun policyDescription(policyDescription: String) @@ -1355,7 +1355,7 @@ public interface CfnPolicyProps { * specify tags or accounts, all resources are in scope. */ override fun deleteAllPolicyResources(deleteAllPolicyResources: IResolvable) { - cdkBuilder.deleteAllPolicyResources(deleteAllPolicyResources.let(IResolvable::unwrap)) + cdkBuilder.deleteAllPolicyResources(deleteAllPolicyResources.let(IResolvable.Companion::unwrap)) } /** @@ -1380,7 +1380,7 @@ public interface CfnPolicyProps { * “ouid112”]}` . */ override fun excludeMap(excludeMap: IResolvable) { - cdkBuilder.excludeMap(excludeMap.let(IResolvable::unwrap)) + cdkBuilder.excludeMap(excludeMap.let(IResolvable.Companion::unwrap)) } /** @@ -1405,7 +1405,7 @@ public interface CfnPolicyProps { * “ouid112”]}` . */ override fun excludeMap(excludeMap: CfnPolicy.IEMapProperty) { - cdkBuilder.excludeMap(excludeMap.let(CfnPolicy.IEMapProperty::unwrap)) + cdkBuilder.excludeMap(excludeMap.let(CfnPolicy.IEMapProperty.Companion::unwrap)) } /** @@ -1449,7 +1449,7 @@ public interface CfnPolicyProps { * policy. If it's `False` , only resources with the specified tags are in scope of the policy. */ override fun excludeResourceTags(excludeResourceTags: IResolvable) { - cdkBuilder.excludeResourceTags(excludeResourceTags.let(IResolvable::unwrap)) + cdkBuilder.excludeResourceTags(excludeResourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -1474,7 +1474,7 @@ public interface CfnPolicyProps { * “ouid112”]}` . */ override fun includeMap(includeMap: IResolvable) { - cdkBuilder.includeMap(includeMap.let(IResolvable::unwrap)) + cdkBuilder.includeMap(includeMap.let(IResolvable.Companion::unwrap)) } /** @@ -1499,7 +1499,7 @@ public interface CfnPolicyProps { * “ouid112”]}` . */ override fun includeMap(includeMap: CfnPolicy.IEMapProperty) { - cdkBuilder.includeMap(includeMap.let(CfnPolicy.IEMapProperty::unwrap)) + cdkBuilder.includeMap(includeMap.let(CfnPolicy.IEMapProperty.Companion::unwrap)) } /** @@ -1529,7 +1529,7 @@ public interface CfnPolicyProps { includeMap(CfnPolicy.IEMapProperty(includeMap)) /** - * @param policyDescription The definition of the AWS Network Firewall firewall policy. + * @param policyDescription Your description of the AWS Firewall Manager policy. */ override fun policyDescription(policyDescription: String) { cdkBuilder.policyDescription(policyDescription) @@ -1555,7 +1555,7 @@ public interface CfnPolicyProps { * resources. */ override fun remediationEnabled(remediationEnabled: IResolvable) { - cdkBuilder.remediationEnabled(remediationEnabled.let(IResolvable::unwrap)) + cdkBuilder.remediationEnabled(remediationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1578,7 +1578,7 @@ public interface CfnPolicyProps { * `ExcludeResourceTags` . */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -1670,7 +1670,7 @@ public interface CfnPolicyProps { * This option is not available for Shield Advanced or AWS WAF Classic policies. */ override fun resourcesCleanUp(resourcesCleanUp: IResolvable) { - cdkBuilder.resourcesCleanUp(resourcesCleanUp.let(IResolvable::unwrap)) + cdkBuilder.resourcesCleanUp(resourcesCleanUp.let(IResolvable.Companion::unwrap)) } /** @@ -1843,7 +1843,7 @@ public interface CfnPolicyProps { * `"{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}"` */ override fun securityServicePolicyData(securityServicePolicyData: IResolvable) { - cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(IResolvable::unwrap)) + cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(IResolvable.Companion::unwrap)) } /** @@ -2017,7 +2017,7 @@ public interface CfnPolicyProps { */ override fun securityServicePolicyData(securityServicePolicyData: CfnPolicy.SecurityServicePolicyDataProperty) { - cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(CfnPolicy.SecurityServicePolicyDataProperty::unwrap)) + cdkBuilder.securityServicePolicyData(securityServicePolicyData.let(CfnPolicy.SecurityServicePolicyDataProperty.Companion::unwrap)) } /** @@ -2203,7 +2203,7 @@ public interface CfnPolicyProps { * as "test," "development," or "production"). You can add up to 50 tags to each AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnPolicy.PolicyTagProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnPolicy.PolicyTagProperty.Companion::unwrap)) } /** @@ -2311,7 +2311,7 @@ public interface CfnPolicyProps { override fun includeMap(): Any? = unwrap(this).getIncludeMap() /** - * The definition of the AWS Network Firewall firewall policy. + * Your description of the AWS Firewall Manager policy. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-policydescription) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSet.kt index e5338f62d5..7d31aafe34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSet.kt @@ -47,8 +47,8 @@ public open class CfnResourceSet( id: String, props: CfnResourceSetProps, ) : - this(software.amazon.awscdk.services.fms.CfnResourceSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceSetProps::unwrap)) + this(software.amazon.awscdk.services.fms.CfnResourceSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceSetProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnResourceSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnResourceSet( * */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnResourceSet( * @param tags */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSetProps.kt index b50ee4a86c..ca2ebc417a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fms/CfnResourceSetProps.kt @@ -174,7 +174,7 @@ public interface CfnResourceSetProps { * @param tags the value to be set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDataset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDataset.kt index 39d51e5d68..147fa3dd34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDataset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDataset.kt @@ -79,8 +79,8 @@ public open class CfnDataset( id: String, props: CfnDatasetProps, ) : - this(software.amazon.awscdk.services.forecast.CfnDataset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatasetProps::unwrap)) + this(software.amazon.awscdk.services.forecast.CfnDataset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatasetProps.Companion::unwrap)) ) public constructor( @@ -167,7 +167,7 @@ public open class CfnDataset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnDataset( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(TagsItemsProperty::unwrap)) + unwrap(this).setTags(`value`.map(TagsItemsProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnDataset( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsItemsProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsItemsProperty.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnDataset( * dataset. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroup.kt index 2e95edfc90..bc054fc87e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroup.kt @@ -65,8 +65,8 @@ public open class CfnDatasetGroup( id: String, props: CfnDatasetGroupProps, ) : - this(software.amazon.awscdk.services.forecast.CfnDatasetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatasetGroupProps::unwrap)) + this(software.amazon.awscdk.services.forecast.CfnDatasetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatasetGroupProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnDatasetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnDatasetGroup( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnDatasetGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroupProps.kt index 14c9444b7a..3998db0888 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetGroupProps.kt @@ -181,7 +181,7 @@ public interface CfnDatasetGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetProps.kt index 36aa99ca59..9f62ca84d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/forecast/CfnDatasetProps.kt @@ -265,7 +265,7 @@ public interface CfnDatasetProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnDataset.TagsItemsProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnDataset.TagsItemsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetector.kt index 8dc82ff933..43a69b874e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetector.kt @@ -135,8 +135,8 @@ public open class CfnDetector( id: String, props: CfnDetectorProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDetectorProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDetectorProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnDetector( * The models to associate with this detector. */ public open fun associatedModels(`value`: IResolvable) { - unwrap(this).setAssociatedModels(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociatedModels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -251,14 +251,14 @@ public open class CfnDetector( * The event type associated with this detector. */ public open fun eventType(`value`: IResolvable) { - unwrap(this).setEventType(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventType(`value`.let(IResolvable.Companion::unwrap)) } /** * The event type associated with this detector. */ public open fun eventType(`value`: EventTypeProperty) { - unwrap(this).setEventType(`value`.let(EventTypeProperty::unwrap)) + unwrap(this).setEventType(`value`.let(EventTypeProperty.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnDetector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnDetector( * The rules to include in the detector version. */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnDetector( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnDetector( * @param associatedModels The models to associate with this detector. */ override fun associatedModels(associatedModels: IResolvable) { - cdkBuilder.associatedModels(associatedModels.let(IResolvable::unwrap)) + cdkBuilder.associatedModels(associatedModels.let(IResolvable.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class CfnDetector( * @param eventType The event type associated with this detector. */ override fun eventType(eventType: IResolvable) { - cdkBuilder.eventType(eventType.let(IResolvable::unwrap)) + cdkBuilder.eventType(eventType.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnDetector( * @param eventType The event type associated with this detector. */ override fun eventType(eventType: EventTypeProperty) { - cdkBuilder.eventType(eventType.let(EventTypeProperty::unwrap)) + cdkBuilder.eventType(eventType.let(EventTypeProperty.Companion::unwrap)) } /** @@ -633,7 +633,7 @@ public open class CfnDetector( * @param rules The rules to include in the detector version. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public open class CfnDetector( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -933,7 +933,7 @@ public open class CfnDetector( * any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnDetector( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1365,7 +1365,7 @@ public open class CfnDetector( * @param entityTypes The event type entity types. */ override fun entityTypes(entityTypes: IResolvable) { - cdkBuilder.entityTypes(entityTypes.let(IResolvable::unwrap)) + cdkBuilder.entityTypes(entityTypes.let(IResolvable.Companion::unwrap)) } /** @@ -1384,7 +1384,7 @@ public open class CfnDetector( * @param eventVariables The event type event variables. */ override fun eventVariables(eventVariables: IResolvable) { - cdkBuilder.eventVariables(eventVariables.let(IResolvable::unwrap)) + cdkBuilder.eventVariables(eventVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1433,14 +1433,14 @@ public open class CfnDetector( * any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** * @param labels The event type labels. */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** @@ -1476,7 +1476,7 @@ public open class CfnDetector( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1932,7 +1932,7 @@ public open class CfnDetector( * any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -1956,7 +1956,7 @@ public open class CfnDetector( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2339,7 +2339,7 @@ public open class CfnDetector( * any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -2363,7 +2363,7 @@ public open class CfnDetector( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2771,7 +2771,7 @@ public open class CfnDetector( * any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -2795,7 +2795,7 @@ public open class CfnDetector( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -3170,7 +3170,7 @@ public open class CfnDetector( * @param outcomes The rule outcome. */ override fun outcomes(outcomes: IResolvable) { - cdkBuilder.outcomes(outcomes.let(IResolvable::unwrap)) + cdkBuilder.outcomes(outcomes.let(IResolvable.Companion::unwrap)) } /** @@ -3206,7 +3206,7 @@ public open class CfnDetector( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetectorProps.kt index c50c421ef9..7ee1a68ccf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnDetectorProps.kt @@ -314,7 +314,7 @@ public interface CfnDetectorProps { * You must provide the ARNs of all the models you want to associate. */ override fun associatedModels(associatedModels: IResolvable) { - cdkBuilder.associatedModels(associatedModels.let(IResolvable::unwrap)) + cdkBuilder.associatedModels(associatedModels.let(IResolvable.Companion::unwrap)) } /** @@ -360,14 +360,14 @@ public interface CfnDetectorProps { * @param eventType The event type associated with this detector. */ override fun eventType(eventType: IResolvable) { - cdkBuilder.eventType(eventType.let(IResolvable::unwrap)) + cdkBuilder.eventType(eventType.let(IResolvable.Companion::unwrap)) } /** * @param eventType The event type associated with this detector. */ override fun eventType(eventType: CfnDetector.EventTypeProperty) { - cdkBuilder.eventType(eventType.let(CfnDetector.EventTypeProperty::unwrap)) + cdkBuilder.eventType(eventType.let(CfnDetector.EventTypeProperty.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public interface CfnDetectorProps { * @param rules The rules to include in the detector version. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface CfnDetectorProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityType.kt index bc7e283954..35c81def0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityType.kt @@ -49,8 +49,8 @@ public open class CfnEntityType( id: String, props: CfnEntityTypeProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnEntityType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEntityTypeProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnEntityType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEntityTypeProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnEntityType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnEntityType( * A key and value pair. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnEntityType( * @param tags A key and value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityTypeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityTypeProps.kt index a7d6ad089d..6bca6c3e6b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityTypeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEntityTypeProps.kt @@ -106,7 +106,7 @@ public interface CfnEntityTypeProps { * @param tags A key and value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventType.kt index a3ea8bd281..dd14ab4aa5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventType.kt @@ -96,8 +96,8 @@ public open class CfnEventType( id: String, props: CfnEventTypeProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnEventType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventTypeProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnEventType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventTypeProps.Companion::unwrap)) ) public constructor( @@ -143,7 +143,7 @@ public open class CfnEventType( * The event type entity types. */ public open fun entityTypes(`value`: IResolvable) { - unwrap(this).setEntityTypes(`value`.let(IResolvable::unwrap)) + unwrap(this).setEntityTypes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnEventType( * The event type event variables. */ public open fun eventVariables(`value`: IResolvable) { - unwrap(this).setEventVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnEventType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnEventType( * The event type labels. */ public open fun labels(`value`: IResolvable) { - unwrap(this).setLabels(`value`.let(IResolvable::unwrap)) + unwrap(this).setLabels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnEventType( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnEventType( * @param entityTypes The event type entity types. */ override fun entityTypes(entityTypes: IResolvable) { - cdkBuilder.entityTypes(entityTypes.let(IResolvable::unwrap)) + cdkBuilder.entityTypes(entityTypes.let(IResolvable.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class CfnEventType( * @param eventVariables The event type event variables. */ override fun eventVariables(eventVariables: IResolvable) { - cdkBuilder.eventVariables(eventVariables.let(IResolvable::unwrap)) + cdkBuilder.eventVariables(eventVariables.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnEventType( * @param labels The event type labels. */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public open class CfnEventType( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -766,7 +766,7 @@ public open class CfnEventType( * execute any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class CfnEventType( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1225,7 +1225,7 @@ public open class CfnEventType( * execute any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -1249,7 +1249,7 @@ public open class CfnEventType( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1629,7 +1629,7 @@ public open class CfnEventType( * any changes to the variables. */ override fun `inline`(`inline`: IResolvable) { - cdkBuilder.`inline`(`inline`.let(IResolvable::unwrap)) + cdkBuilder.`inline`(`inline`.let(IResolvable.Companion::unwrap)) } /** @@ -1653,7 +1653,7 @@ public open class CfnEventType( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventTypeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventTypeProps.kt index ac634c495b..41dbb05a79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventTypeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnEventTypeProps.kt @@ -216,7 +216,7 @@ public interface CfnEventTypeProps { * @param entityTypes The event type entity types. */ override fun entityTypes(entityTypes: IResolvable) { - cdkBuilder.entityTypes(entityTypes.let(IResolvable::unwrap)) + cdkBuilder.entityTypes(entityTypes.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface CfnEventTypeProps { * @param eventVariables The event type event variables. */ override fun eventVariables(eventVariables: IResolvable) { - cdkBuilder.eventVariables(eventVariables.let(IResolvable::unwrap)) + cdkBuilder.eventVariables(eventVariables.let(IResolvable.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface CfnEventTypeProps { * @param labels The event type labels. */ override fun labels(labels: IResolvable) { - cdkBuilder.labels(labels.let(IResolvable::unwrap)) + cdkBuilder.labels(labels.let(IResolvable.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface CfnEventTypeProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabel.kt index c92fadd1e7..cca25b6a24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabel.kt @@ -48,8 +48,8 @@ public open class CfnLabel( id: String, props: CfnLabelProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnLabel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLabelProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnLabel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLabelProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnLabel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnLabel( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnLabel( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabelProps.kt index af432b82ff..f0242d7c2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnLabelProps.kt @@ -119,7 +119,7 @@ public interface CfnLabelProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnList.kt index b9406ec640..4de552f697 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnList.kt @@ -51,8 +51,8 @@ public open class CfnList( id: String, props: CfnListProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnList(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnListProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnListProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnList( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnList( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class CfnList( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnListProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnListProps.kt index 8e51dab689..0c611b16dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnListProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnListProps.kt @@ -163,7 +163,7 @@ public interface CfnListProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcome.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcome.kt index dcb2d22ba0..7fc0968f51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcome.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcome.kt @@ -45,8 +45,8 @@ public open class CfnOutcome( id: String, props: CfnOutcomeProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnOutcome(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOutcomeProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnOutcome(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOutcomeProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnOutcome( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnOutcome( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnOutcome( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcomeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcomeProps.kt index d07a78ba79..af288a68e1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcomeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnOutcomeProps.kt @@ -115,7 +115,7 @@ public interface CfnOutcomeProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariable.kt index 341a7a731c..ac1e3bcd3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariable.kt @@ -49,8 +49,8 @@ public open class CfnVariable( id: String, props: CfnVariableProps, ) : - this(software.amazon.awscdk.services.frauddetector.CfnVariable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVariableProps::unwrap)) + this(software.amazon.awscdk.services.frauddetector.CfnVariable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVariableProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnVariable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnVariable( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class CfnVariable( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariableProps.kt index 6f5284b485..581531d9cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/frauddetector/CfnVariableProps.kt @@ -229,7 +229,7 @@ public interface CfnVariableProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociation.kt index a126e3ddd4..2e1d76af78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociation.kt @@ -75,8 +75,8 @@ public open class CfnDataRepositoryAssociation( id: String, props: CfnDataRepositoryAssociationProps, ) : - this(software.amazon.awscdk.services.fsx.CfnDataRepositoryAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataRepositoryAssociationProps::unwrap)) + this(software.amazon.awscdk.services.fsx.CfnDataRepositoryAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataRepositoryAssociationProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnDataRepositoryAssociation( * after the data repository association is created. */ public open fun batchImportMetaDataOnCreate(`value`: IResolvable) { - unwrap(this).setBatchImportMetaDataOnCreate(`value`.let(IResolvable::unwrap)) + unwrap(this).setBatchImportMetaDataOnCreate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnDataRepositoryAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnDataRepositoryAssociation( * with a data repository association. */ public open fun s3(`value`: IResolvable) { - unwrap(this).setS3(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnDataRepositoryAssociation( * with a data repository association. */ public open fun s3(`value`: S3Property) { - unwrap(this).setS3(`value`.let(S3Property::unwrap)) + unwrap(this).setS3(`value`.let(S3Property.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnDataRepositoryAssociation( * A list of `Tag` values, with a maximum of 50 elements. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnDataRepositoryAssociation( * repository task to import metadata should run after the data repository association is created. */ override fun batchImportMetaDataOnCreate(batchImportMetaDataOnCreate: IResolvable) { - cdkBuilder.batchImportMetaDataOnCreate(batchImportMetaDataOnCreate.let(IResolvable::unwrap)) + cdkBuilder.batchImportMetaDataOnCreate(batchImportMetaDataOnCreate.let(IResolvable.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnDataRepositoryAssociation( * file system with a data repository association. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnDataRepositoryAssociation( * file system with a data repository association. */ override fun s3(s3: S3Property) { - cdkBuilder.s3(s3.let(S3Property::unwrap)) + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class CfnDataRepositoryAssociation( * @param tags A list of `Tag` values, with a maximum of 50 elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1045,7 +1045,7 @@ public open class CfnDataRepositoryAssociation( * repository association. */ override fun autoExportPolicy(autoExportPolicy: IResolvable) { - cdkBuilder.autoExportPolicy(autoExportPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoExportPolicy(autoExportPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1059,7 +1059,7 @@ public open class CfnDataRepositoryAssociation( * repository association. */ override fun autoExportPolicy(autoExportPolicy: AutoExportPolicyProperty) { - cdkBuilder.autoExportPolicy(autoExportPolicy.let(AutoExportPolicyProperty::unwrap)) + cdkBuilder.autoExportPolicy(autoExportPolicy.let(AutoExportPolicyProperty.Companion::unwrap)) } /** @@ -1088,7 +1088,7 @@ public open class CfnDataRepositoryAssociation( * repository association. */ override fun autoImportPolicy(autoImportPolicy: IResolvable) { - cdkBuilder.autoImportPolicy(autoImportPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoImportPolicy(autoImportPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1102,7 +1102,7 @@ public open class CfnDataRepositoryAssociation( * repository association. */ override fun autoImportPolicy(autoImportPolicy: AutoImportPolicyProperty) { - cdkBuilder.autoImportPolicy(autoImportPolicy.let(AutoImportPolicyProperty::unwrap)) + cdkBuilder.autoImportPolicy(autoImportPolicy.let(AutoImportPolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociationProps.kt index 72fbc6fa81..604005d207 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnDataRepositoryAssociationProps.kt @@ -257,7 +257,7 @@ public interface CfnDataRepositoryAssociationProps { * The task runs if this flag is set to `true` . */ override fun batchImportMetaDataOnCreate(batchImportMetaDataOnCreate: IResolvable) { - cdkBuilder.batchImportMetaDataOnCreate(batchImportMetaDataOnCreate.let(IResolvable::unwrap)) + cdkBuilder.batchImportMetaDataOnCreate(batchImportMetaDataOnCreate.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface CfnDataRepositoryAssociationProps { * exported from the file system to the data repository. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public interface CfnDataRepositoryAssociationProps { * exported from the file system to the data repository. */ override fun s3(s3: CfnDataRepositoryAssociation.S3Property) { - cdkBuilder.s3(s3.let(CfnDataRepositoryAssociation.S3Property::unwrap)) + cdkBuilder.s3(s3.let(CfnDataRepositoryAssociation.S3Property.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface CfnDataRepositoryAssociationProps { * @param tags A list of `Tag` values, with a maximum of 50 elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystem.kt index 657edbf299..863d68e5e1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystem.kt @@ -163,8 +163,8 @@ public open class CfnFileSystem( id: String, props: CfnFileSystemProps, ) : - this(software.amazon.awscdk.services.fsx.CfnFileSystem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFileSystemProps::unwrap)) + this(software.amazon.awscdk.services.fsx.CfnFileSystem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFileSystemProps.Companion::unwrap)) ) public constructor( @@ -255,7 +255,7 @@ public open class CfnFileSystem( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -281,14 +281,14 @@ public open class CfnFileSystem( * The Lustre configuration for the file system being created. */ public open fun lustreConfiguration(`value`: IResolvable) { - unwrap(this).setLustreConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLustreConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The Lustre configuration for the file system being created. */ public open fun lustreConfiguration(`value`: LustreConfigurationProperty) { - unwrap(this).setLustreConfiguration(`value`.let(LustreConfigurationProperty::unwrap)) + unwrap(this).setLustreConfiguration(`value`.let(LustreConfigurationProperty.Companion::unwrap)) } /** @@ -308,14 +308,14 @@ public open class CfnFileSystem( * The ONTAP configuration properties of the FSx for ONTAP file system that you are creating. */ public open fun ontapConfiguration(`value`: IResolvable) { - unwrap(this).setOntapConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setOntapConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The ONTAP configuration properties of the FSx for ONTAP file system that you are creating. */ public open fun ontapConfiguration(`value`: OntapConfigurationProperty) { - unwrap(this).setOntapConfiguration(`value`.let(OntapConfigurationProperty::unwrap)) + unwrap(this).setOntapConfiguration(`value`.let(OntapConfigurationProperty.Companion::unwrap)) } /** @@ -335,14 +335,14 @@ public open class CfnFileSystem( * The Amazon FSx for OpenZFS configuration properties for the file system that you are creating. */ public open fun openZfsConfiguration(`value`: IResolvable) { - unwrap(this).setOpenZfsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpenZfsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon FSx for OpenZFS configuration properties for the file system that you are creating. */ public open fun openZfsConfiguration(`value`: OpenZFSConfigurationProperty) { - unwrap(this).setOpenZfsConfiguration(`value`.let(OpenZFSConfigurationProperty::unwrap)) + unwrap(this).setOpenZfsConfiguration(`value`.let(OpenZFSConfigurationProperty.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnFileSystem( * The tags to associate with the file system. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -452,14 +452,14 @@ public open class CfnFileSystem( * The configuration object for the Microsoft Windows file system you are creating. */ public open fun windowsConfiguration(`value`: IResolvable) { - unwrap(this).setWindowsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setWindowsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration object for the Microsoft Windows file system you are creating. */ public open fun windowsConfiguration(`value`: WindowsConfigurationProperty) { - unwrap(this).setWindowsConfiguration(`value`.let(WindowsConfigurationProperty::unwrap)) + unwrap(this).setWindowsConfiguration(`value`.let(WindowsConfigurationProperty.Companion::unwrap)) } /** @@ -956,7 +956,7 @@ public open class CfnFileSystem( * @param lustreConfiguration The Lustre configuration for the file system being created. */ override fun lustreConfiguration(lustreConfiguration: IResolvable) { - cdkBuilder.lustreConfiguration(lustreConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lustreConfiguration(lustreConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -976,7 +976,7 @@ public open class CfnFileSystem( * @param lustreConfiguration The Lustre configuration for the file system being created. */ override fun lustreConfiguration(lustreConfiguration: LustreConfigurationProperty) { - cdkBuilder.lustreConfiguration(lustreConfiguration.let(LustreConfigurationProperty::unwrap)) + cdkBuilder.lustreConfiguration(lustreConfiguration.let(LustreConfigurationProperty.Companion::unwrap)) } /** @@ -1009,7 +1009,7 @@ public open class CfnFileSystem( * that you are creating. */ override fun ontapConfiguration(ontapConfiguration: IResolvable) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1020,7 +1020,7 @@ public open class CfnFileSystem( * that you are creating. */ override fun ontapConfiguration(ontapConfiguration: OntapConfigurationProperty) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(OntapConfigurationProperty::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(OntapConfigurationProperty.Companion::unwrap)) } /** @@ -1045,7 +1045,7 @@ public open class CfnFileSystem( * system that you are creating. */ override fun openZfsConfiguration(openZfsConfiguration: IResolvable) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1057,7 +1057,7 @@ public open class CfnFileSystem( * system that you are creating. */ override fun openZfsConfiguration(openZfsConfiguration: OpenZFSConfigurationProperty) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(OpenZFSConfigurationProperty::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(OpenZFSConfigurationProperty.Companion::unwrap)) } /** @@ -1229,7 +1229,7 @@ public open class CfnFileSystem( * @param tags The tags to associate with the file system. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1254,7 +1254,7 @@ public open class CfnFileSystem( * you are creating. */ override fun windowsConfiguration(windowsConfiguration: IResolvable) { - cdkBuilder.windowsConfiguration(windowsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.windowsConfiguration(windowsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1267,7 +1267,7 @@ public open class CfnFileSystem( * you are creating. */ override fun windowsConfiguration(windowsConfiguration: WindowsConfigurationProperty) { - cdkBuilder.windowsConfiguration(windowsConfiguration.let(WindowsConfigurationProperty::unwrap)) + cdkBuilder.windowsConfiguration(windowsConfiguration.let(WindowsConfigurationProperty.Companion::unwrap)) } /** @@ -2440,7 +2440,7 @@ public open class CfnFileSystem( * *Amazon FSx for Lustre User Guide* . */ override fun copyTagsToBackups(copyTagsToBackups: IResolvable) { - cdkBuilder.copyTagsToBackups(copyTagsToBackups.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToBackups(copyTagsToBackups.let(IResolvable.Companion::unwrap)) } /** @@ -2931,7 +2931,7 @@ public open class CfnFileSystem( * options for mounting the OpenZFS file system. */ override fun clientConfigurations(clientConfigurations: IResolvable) { - cdkBuilder.clientConfigurations(clientConfigurations.let(IResolvable::unwrap)) + cdkBuilder.clientConfigurations(clientConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -3414,14 +3414,14 @@ public open class CfnFileSystem( * @param diskIopsConfiguration The SSD IOPS configuration for the FSx for ONTAP file system. */ override fun diskIopsConfiguration(diskIopsConfiguration: IResolvable) { - cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param diskIopsConfiguration The SSD IOPS configuration for the FSx for ONTAP file system. */ override fun diskIopsConfiguration(diskIopsConfiguration: DiskIopsConfigurationProperty) { - cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(DiskIopsConfigurationProperty::unwrap)) + cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(DiskIopsConfigurationProperty.Companion::unwrap)) } /** @@ -4269,7 +4269,7 @@ public open class CfnFileSystem( * copied from the file system, regardless of this value. */ override fun copyTagsToBackups(copyTagsToBackups: IResolvable) { - cdkBuilder.copyTagsToBackups(copyTagsToBackups.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToBackups(copyTagsToBackups.let(IResolvable.Companion::unwrap)) } /** @@ -4295,7 +4295,7 @@ public open class CfnFileSystem( * this value. */ override fun copyTagsToVolumes(copyTagsToVolumes: IResolvable) { - cdkBuilder.copyTagsToVolumes(copyTagsToVolumes.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToVolumes(copyTagsToVolumes.let(IResolvable.Companion::unwrap)) } /** @@ -4343,7 +4343,7 @@ public open class CfnFileSystem( * FSx). */ override fun diskIopsConfiguration(diskIopsConfiguration: IResolvable) { - cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4356,7 +4356,7 @@ public open class CfnFileSystem( * FSx). */ override fun diskIopsConfiguration(diskIopsConfiguration: DiskIopsConfigurationProperty) { - cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(DiskIopsConfigurationProperty::unwrap)) + cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(DiskIopsConfigurationProperty.Companion::unwrap)) } /** @@ -4417,7 +4417,7 @@ public open class CfnFileSystem( * All volumes are children of the root volume. */ override fun rootVolumeConfiguration(rootVolumeConfiguration: IResolvable) { - cdkBuilder.rootVolumeConfiguration(rootVolumeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.rootVolumeConfiguration(rootVolumeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4427,7 +4427,7 @@ public open class CfnFileSystem( */ override fun rootVolumeConfiguration(rootVolumeConfiguration: RootVolumeConfigurationProperty) { - cdkBuilder.rootVolumeConfiguration(rootVolumeConfiguration.let(RootVolumeConfigurationProperty::unwrap)) + cdkBuilder.rootVolumeConfiguration(rootVolumeConfiguration.let(RootVolumeConfigurationProperty.Companion::unwrap)) } /** @@ -4916,7 +4916,7 @@ public open class CfnFileSystem( * when creating the snapshot, no tags are copied from the volume, regardless of this value. */ override fun copyTagsToSnapshots(copyTagsToSnapshots: IResolvable) { - cdkBuilder.copyTagsToSnapshots(copyTagsToSnapshots.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshots(copyTagsToSnapshots.let(IResolvable.Companion::unwrap)) } /** @@ -4937,7 +4937,7 @@ public open class CfnFileSystem( * @param nfsExports The configuration object for mounting a file system. */ override fun nfsExports(nfsExports: IResolvable) { - cdkBuilder.nfsExports(nfsExports.let(IResolvable::unwrap)) + cdkBuilder.nfsExports(nfsExports.let(IResolvable.Companion::unwrap)) } /** @@ -4967,7 +4967,7 @@ public open class CfnFileSystem( * no longer want changes to occur. */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } /** @@ -4989,7 +4989,7 @@ public open class CfnFileSystem( * the volume. */ override fun userAndGroupQuotas(userAndGroupQuotas: IResolvable) { - cdkBuilder.userAndGroupQuotas(userAndGroupQuotas.let(IResolvable::unwrap)) + cdkBuilder.userAndGroupQuotas(userAndGroupQuotas.let(IResolvable.Companion::unwrap)) } /** @@ -6109,7 +6109,7 @@ public open class CfnFileSystem( * Windows File Server file system. */ override fun auditLogConfiguration(auditLogConfiguration: IResolvable) { - cdkBuilder.auditLogConfiguration(auditLogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.auditLogConfiguration(auditLogConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6118,7 +6118,7 @@ public open class CfnFileSystem( * Windows File Server file system. */ override fun auditLogConfiguration(auditLogConfiguration: AuditLogConfigurationProperty) { - cdkBuilder.auditLogConfiguration(auditLogConfiguration.let(AuditLogConfigurationProperty::unwrap)) + cdkBuilder.auditLogConfiguration(auditLogConfiguration.let(AuditLogConfigurationProperty.Companion::unwrap)) } /** @@ -6164,7 +6164,7 @@ public open class CfnFileSystem( * the file system, regardless of this value. */ override fun copyTagsToBackups(copyTagsToBackups: IResolvable) { - cdkBuilder.copyTagsToBackups(copyTagsToBackups.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToBackups(copyTagsToBackups.let(IResolvable.Companion::unwrap)) } /** @@ -6203,7 +6203,7 @@ public open class CfnFileSystem( * chosen throughput capacity. */ override fun diskIopsConfiguration(diskIopsConfiguration: IResolvable) { - cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6214,7 +6214,7 @@ public open class CfnFileSystem( * chosen throughput capacity. */ override fun diskIopsConfiguration(diskIopsConfiguration: DiskIopsConfigurationProperty) { - cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(DiskIopsConfigurationProperty::unwrap)) + cdkBuilder.diskIopsConfiguration(diskIopsConfiguration.let(DiskIopsConfigurationProperty.Companion::unwrap)) } /** @@ -6252,7 +6252,7 @@ public open class CfnFileSystem( */ override fun selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration: IResolvable) { - cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6266,7 +6266,7 @@ public open class CfnFileSystem( */ override fun selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration: SelfManagedActiveDirectoryConfigurationProperty) { - cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(SelfManagedActiveDirectoryConfigurationProperty::unwrap)) + cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(SelfManagedActiveDirectoryConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystemProps.kt index 81d3ba80d6..a07995f71f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnFileSystemProps.kt @@ -697,7 +697,7 @@ public interface CfnFileSystemProps { * * `ImportPath` */ override fun lustreConfiguration(lustreConfiguration: IResolvable) { - cdkBuilder.lustreConfiguration(lustreConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lustreConfiguration(lustreConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public interface CfnFileSystemProps { */ override fun lustreConfiguration(lustreConfiguration: CfnFileSystem.LustreConfigurationProperty) { - cdkBuilder.lustreConfiguration(lustreConfiguration.let(CfnFileSystem.LustreConfigurationProperty::unwrap)) + cdkBuilder.lustreConfiguration(lustreConfiguration.let(CfnFileSystem.LustreConfigurationProperty.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public interface CfnFileSystemProps { * that you are creating. */ override fun ontapConfiguration(ontapConfiguration: IResolvable) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -746,7 +746,7 @@ public interface CfnFileSystemProps { * that you are creating. */ override fun ontapConfiguration(ontapConfiguration: CfnFileSystem.OntapConfigurationProperty) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(CfnFileSystem.OntapConfigurationProperty::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(CfnFileSystem.OntapConfigurationProperty.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public interface CfnFileSystemProps { * system that you are creating. */ override fun openZfsConfiguration(openZfsConfiguration: IResolvable) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -773,7 +773,7 @@ public interface CfnFileSystemProps { */ override fun openZfsConfiguration(openZfsConfiguration: CfnFileSystem.OpenZFSConfigurationProperty) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(CfnFileSystem.OpenZFSConfigurationProperty::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(CfnFileSystem.OpenZFSConfigurationProperty.Companion::unwrap)) } /** @@ -909,7 +909,7 @@ public interface CfnFileSystemProps { * FSx for Lustre User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -926,7 +926,7 @@ public interface CfnFileSystemProps { * This value is required if `FileSystemType` is set to `WINDOWS` . */ override fun windowsConfiguration(windowsConfiguration: IResolvable) { - cdkBuilder.windowsConfiguration(windowsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.windowsConfiguration(windowsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public interface CfnFileSystemProps { */ override fun windowsConfiguration(windowsConfiguration: CfnFileSystem.WindowsConfigurationProperty) { - cdkBuilder.windowsConfiguration(windowsConfiguration.let(CfnFileSystem.WindowsConfigurationProperty::unwrap)) + cdkBuilder.windowsConfiguration(windowsConfiguration.let(CfnFileSystem.WindowsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshot.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshot.kt index 31770162f8..c33a5ba190 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshot.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshot.kt @@ -45,8 +45,8 @@ public open class CfnSnapshot( id: String, props: CfnSnapshotProps, ) : - this(software.amazon.awscdk.services.fsx.CfnSnapshot(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSnapshotProps::unwrap)) + this(software.amazon.awscdk.services.fsx.CfnSnapshot(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSnapshotProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnSnapshot( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class CfnSnapshot( * A list of `Tag` values, with a maximum of 50 elements. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnSnapshot( * @param tags A list of `Tag` values, with a maximum of 50 elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshotProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshotProps.kt index c8e21be85b..fb5629aad9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshotProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnSnapshotProps.kt @@ -95,7 +95,7 @@ public interface CfnSnapshotProps { * @param tags A list of `Tag` values, with a maximum of 50 elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachine.kt index a0c7b3f95f..d668268408 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachine.kt @@ -64,8 +64,8 @@ public open class CfnStorageVirtualMachine( id: String, props: CfnStorageVirtualMachineProps, ) : - this(software.amazon.awscdk.services.fsx.CfnStorageVirtualMachine(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStorageVirtualMachineProps::unwrap)) + this(software.amazon.awscdk.services.fsx.CfnStorageVirtualMachine(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStorageVirtualMachineProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnStorageVirtualMachine( * applicable. */ public open fun activeDirectoryConfiguration(`value`: IResolvable) { - unwrap(this).setActiveDirectoryConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setActiveDirectoryConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public open class CfnStorageVirtualMachine( * applicable. */ public open fun activeDirectoryConfiguration(`value`: ActiveDirectoryConfigurationProperty) { - unwrap(this).setActiveDirectoryConfiguration(`value`.let(ActiveDirectoryConfigurationProperty::unwrap)) + unwrap(this).setActiveDirectoryConfiguration(`value`.let(ActiveDirectoryConfigurationProperty.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnStorageVirtualMachine( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnStorageVirtualMachine( * A list of `Tag` values, with a maximum of 50 elements. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnStorageVirtualMachine( * which the SVM is joined, if applicable. */ override fun activeDirectoryConfiguration(activeDirectoryConfiguration: IResolvable) { - cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnStorageVirtualMachine( */ override fun activeDirectoryConfiguration(activeDirectoryConfiguration: ActiveDirectoryConfigurationProperty) { - cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(ActiveDirectoryConfigurationProperty::unwrap)) + cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(ActiveDirectoryConfigurationProperty.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnStorageVirtualMachine( * @param tags A list of `Tag` values, with a maximum of 50 elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public open class CfnStorageVirtualMachine( */ override fun selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration: IResolvable) { - cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public open class CfnStorageVirtualMachine( */ override fun selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration: SelfManagedActiveDirectoryConfigurationProperty) { - cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(SelfManagedActiveDirectoryConfigurationProperty::unwrap)) + cdkBuilder.selfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration.let(SelfManagedActiveDirectoryConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachineProps.kt index 0655fb9361..92308f7f82 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnStorageVirtualMachineProps.kt @@ -192,7 +192,7 @@ public interface CfnStorageVirtualMachineProps { * which the SVM is joined, if applicable. */ override fun activeDirectoryConfiguration(activeDirectoryConfiguration: IResolvable) { - cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface CfnStorageVirtualMachineProps { */ override fun activeDirectoryConfiguration(activeDirectoryConfiguration: CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty) { - cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty::unwrap)) + cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnStorageVirtualMachineProps { * @param tags A list of `Tag` values, with a maximum of 50 elements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolume.kt index 4a2d7ba2a8..6c451042b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolume.kt @@ -129,8 +129,8 @@ public open class CfnVolume( id: String, props: CfnVolumeProps, ) : - this(software.amazon.awscdk.services.fsx.CfnVolume(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVolumeProps::unwrap)) + this(software.amazon.awscdk.services.fsx.CfnVolume(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVolumeProps.Companion::unwrap)) ) public constructor( @@ -180,7 +180,7 @@ public open class CfnVolume( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnVolume( * The configuration of an Amazon FSx for NetApp ONTAP volume. */ public open fun ontapConfiguration(`value`: IResolvable) { - unwrap(this).setOntapConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setOntapConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of an Amazon FSx for NetApp ONTAP volume. */ public open fun ontapConfiguration(`value`: OntapConfigurationProperty) { - unwrap(this).setOntapConfiguration(`value`.let(OntapConfigurationProperty::unwrap)) + unwrap(this).setOntapConfiguration(`value`.let(OntapConfigurationProperty.Companion::unwrap)) } /** @@ -231,14 +231,14 @@ public open class CfnVolume( * The configuration of an Amazon FSx for OpenZFS volume. */ public open fun openZfsConfiguration(`value`: IResolvable) { - unwrap(this).setOpenZfsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpenZfsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of an Amazon FSx for OpenZFS volume. */ public open fun openZfsConfiguration(`value`: OpenZFSConfigurationProperty) { - unwrap(this).setOpenZfsConfiguration(`value`.let(OpenZFSConfigurationProperty::unwrap)) + unwrap(this).setOpenZfsConfiguration(`value`.let(OpenZFSConfigurationProperty.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnVolume( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnVolume( * @param ontapConfiguration The configuration of an Amazon FSx for NetApp ONTAP volume. */ override fun ontapConfiguration(ontapConfiguration: IResolvable) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnVolume( * @param ontapConfiguration The configuration of an Amazon FSx for NetApp ONTAP volume. */ override fun ontapConfiguration(ontapConfiguration: OntapConfigurationProperty) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(OntapConfigurationProperty::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(OntapConfigurationProperty.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnVolume( * @param openZfsConfiguration The configuration of an Amazon FSx for OpenZFS volume. */ override fun openZfsConfiguration(openZfsConfiguration: IResolvable) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnVolume( * @param openZfsConfiguration The configuration of an Amazon FSx for OpenZFS volume. */ override fun openZfsConfiguration(openZfsConfiguration: OpenZFSConfigurationProperty) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(OpenZFSConfigurationProperty::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(OpenZFSConfigurationProperty.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnVolume( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1166,7 +1166,7 @@ public open class CfnVolume( * options for mounting the OpenZFS file system. */ override fun clientConfigurations(clientConfigurations: IResolvable) { - cdkBuilder.clientConfigurations(clientConfigurations.let(IResolvable::unwrap)) + cdkBuilder.clientConfigurations(clientConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1672,7 +1672,7 @@ public open class CfnVolume( * ONTAP volume's storage aggregate or aggregates. */ override fun aggregateConfiguration(aggregateConfiguration: IResolvable) { - cdkBuilder.aggregateConfiguration(aggregateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.aggregateConfiguration(aggregateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1680,7 +1680,7 @@ public open class CfnVolume( * ONTAP volume's storage aggregate or aggregates. */ override fun aggregateConfiguration(aggregateConfiguration: AggregateConfigurationProperty) { - cdkBuilder.aggregateConfiguration(aggregateConfiguration.let(AggregateConfigurationProperty::unwrap)) + cdkBuilder.aggregateConfiguration(aggregateConfiguration.let(AggregateConfigurationProperty.Companion::unwrap)) } /** @@ -1776,7 +1776,7 @@ public open class CfnVolume( * SnapLock volume. */ override fun snaplockConfiguration(snaplockConfiguration: IResolvable) { - cdkBuilder.snaplockConfiguration(snaplockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snaplockConfiguration(snaplockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1784,7 +1784,7 @@ public open class CfnVolume( * SnapLock volume. */ override fun snaplockConfiguration(snaplockConfiguration: SnaplockConfigurationProperty) { - cdkBuilder.snaplockConfiguration(snaplockConfiguration.let(SnaplockConfigurationProperty::unwrap)) + cdkBuilder.snaplockConfiguration(snaplockConfiguration.let(SnaplockConfigurationProperty.Companion::unwrap)) } /** @@ -1854,7 +1854,7 @@ public open class CfnVolume( * moved to the capacity pool tier. */ override fun tieringPolicy(tieringPolicy: IResolvable) { - cdkBuilder.tieringPolicy(tieringPolicy.let(IResolvable::unwrap)) + cdkBuilder.tieringPolicy(tieringPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1874,7 +1874,7 @@ public open class CfnVolume( * moved to the capacity pool tier. */ override fun tieringPolicy(tieringPolicy: TieringPolicyProperty) { - cdkBuilder.tieringPolicy(tieringPolicy.let(TieringPolicyProperty::unwrap)) + cdkBuilder.tieringPolicy(tieringPolicy.let(TieringPolicyProperty.Companion::unwrap)) } /** @@ -2451,7 +2451,7 @@ public open class CfnVolume( * tags when creating the snapshot, no tags are copied from the volume, regardless of this value. */ override fun copyTagsToSnapshots(copyTagsToSnapshots: IResolvable) { - cdkBuilder.copyTagsToSnapshots(copyTagsToSnapshots.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshots(copyTagsToSnapshots.let(IResolvable.Companion::unwrap)) } /** @@ -2473,7 +2473,7 @@ public open class CfnVolume( * system. */ override fun nfsExports(nfsExports: IResolvable) { - cdkBuilder.nfsExports(nfsExports.let(IResolvable::unwrap)) + cdkBuilder.nfsExports(nfsExports.let(IResolvable.Companion::unwrap)) } /** @@ -2509,7 +2509,7 @@ public open class CfnVolume( * origin of the data for the volume. */ override fun originSnapshot(originSnapshot: IResolvable) { - cdkBuilder.originSnapshot(originSnapshot.let(IResolvable::unwrap)) + cdkBuilder.originSnapshot(originSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -2517,7 +2517,7 @@ public open class CfnVolume( * origin of the data for the volume. */ override fun originSnapshot(originSnapshot: OriginSnapshotProperty) { - cdkBuilder.originSnapshot(originSnapshot.let(OriginSnapshotProperty::unwrap)) + cdkBuilder.originSnapshot(originSnapshot.let(OriginSnapshotProperty.Companion::unwrap)) } /** @@ -2548,7 +2548,7 @@ public open class CfnVolume( * @param readOnly A Boolean value indicating whether the volume is read-only. */ override fun readOnly(readOnly: IResolvable) { - cdkBuilder.readOnly(readOnly.let(IResolvable::unwrap)) + cdkBuilder.readOnly(readOnly.let(IResolvable.Companion::unwrap)) } /** @@ -2602,7 +2602,7 @@ public open class CfnVolume( * volume. */ override fun userAndGroupQuotas(userAndGroupQuotas: IResolvable) { - cdkBuilder.userAndGroupQuotas(userAndGroupQuotas.let(IResolvable::unwrap)) + cdkBuilder.userAndGroupQuotas(userAndGroupQuotas.let(IResolvable.Companion::unwrap)) } /** @@ -3353,7 +3353,7 @@ public open class CfnVolume( * in an FSx for ONTAP SnapLock volume. */ override fun autocommitPeriod(autocommitPeriod: IResolvable) { - cdkBuilder.autocommitPeriod(autocommitPeriod.let(IResolvable::unwrap)) + cdkBuilder.autocommitPeriod(autocommitPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -3361,7 +3361,7 @@ public open class CfnVolume( * in an FSx for ONTAP SnapLock volume. */ override fun autocommitPeriod(autocommitPeriod: AutocommitPeriodProperty) { - cdkBuilder.autocommitPeriod(autocommitPeriod.let(AutocommitPeriodProperty::unwrap)) + cdkBuilder.autocommitPeriod(autocommitPeriod.let(AutocommitPeriodProperty.Companion::unwrap)) } /** @@ -3393,14 +3393,14 @@ public open class CfnVolume( * @param retentionPeriod Specifies the retention period of an FSx for ONTAP SnapLock volume. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** * @param retentionPeriod Specifies the retention period of an FSx for ONTAP SnapLock volume. */ override fun retentionPeriod(retentionPeriod: SnaplockRetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(SnaplockRetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(SnaplockRetentionPeriodProperty.Companion::unwrap)) } /** @@ -3702,7 +3702,7 @@ public open class CfnVolume( * and less than or equal to the maximum retention period. */ override fun defaultRetention(defaultRetention: IResolvable) { - cdkBuilder.defaultRetention(defaultRetention.let(IResolvable::unwrap)) + cdkBuilder.defaultRetention(defaultRetention.let(IResolvable.Companion::unwrap)) } /** @@ -3713,7 +3713,7 @@ public open class CfnVolume( * and less than or equal to the maximum retention period. */ override fun defaultRetention(defaultRetention: RetentionPeriodProperty) { - cdkBuilder.defaultRetention(defaultRetention.let(RetentionPeriodProperty::unwrap)) + cdkBuilder.defaultRetention(defaultRetention.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -3733,7 +3733,7 @@ public open class CfnVolume( * an FSx for ONTAP SnapLock volume. */ override fun maximumRetention(maximumRetention: IResolvable) { - cdkBuilder.maximumRetention(maximumRetention.let(IResolvable::unwrap)) + cdkBuilder.maximumRetention(maximumRetention.let(IResolvable.Companion::unwrap)) } /** @@ -3741,7 +3741,7 @@ public open class CfnVolume( * an FSx for ONTAP SnapLock volume. */ override fun maximumRetention(maximumRetention: RetentionPeriodProperty) { - cdkBuilder.maximumRetention(maximumRetention.let(RetentionPeriodProperty::unwrap)) + cdkBuilder.maximumRetention(maximumRetention.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -3758,7 +3758,7 @@ public open class CfnVolume( * on an FSx for ONTAP SnapLock volume. */ override fun minimumRetention(minimumRetention: IResolvable) { - cdkBuilder.minimumRetention(minimumRetention.let(IResolvable::unwrap)) + cdkBuilder.minimumRetention(minimumRetention.let(IResolvable.Companion::unwrap)) } /** @@ -3766,7 +3766,7 @@ public open class CfnVolume( * on an FSx for ONTAP SnapLock volume. */ override fun minimumRetention(minimumRetention: RetentionPeriodProperty) { - cdkBuilder.minimumRetention(minimumRetention.let(RetentionPeriodProperty::unwrap)) + cdkBuilder.minimumRetention(minimumRetention.let(RetentionPeriodProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolumeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolumeProps.kt index da08ae5317..60796028fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolumeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/CfnVolumeProps.kt @@ -254,14 +254,14 @@ public interface CfnVolumeProps { * @param ontapConfiguration The configuration of an Amazon FSx for NetApp ONTAP volume. */ override fun ontapConfiguration(ontapConfiguration: IResolvable) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param ontapConfiguration The configuration of an Amazon FSx for NetApp ONTAP volume. */ override fun ontapConfiguration(ontapConfiguration: CfnVolume.OntapConfigurationProperty) { - cdkBuilder.ontapConfiguration(ontapConfiguration.let(CfnVolume.OntapConfigurationProperty::unwrap)) + cdkBuilder.ontapConfiguration(ontapConfiguration.let(CfnVolume.OntapConfigurationProperty.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public interface CfnVolumeProps { * @param openZfsConfiguration The configuration of an Amazon FSx for OpenZFS volume. */ override fun openZfsConfiguration(openZfsConfiguration: IResolvable) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface CfnVolumeProps { */ override fun openZfsConfiguration(openZfsConfiguration: CfnVolume.OpenZFSConfigurationProperty) { - cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(CfnVolume.OpenZFSConfigurationProperty::unwrap)) + cdkBuilder.openZfsConfiguration(openZfsConfiguration.let(CfnVolume.OpenZFSConfigurationProperty.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public interface CfnVolumeProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemAttributes.kt index 7024f7fa54..a69c860805 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemAttributes.kt @@ -100,7 +100,7 @@ public interface FileSystemAttributes { * @param securityGroup The security group of the file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.fsx.FileSystemAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemProps.kt index 4d563b716d..aae0f245c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/FileSystemProps.kt @@ -148,21 +148,21 @@ public interface FileSystemProps { * @param kmsKey The KMS key used for encryption to protect your data at rest. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** * @param removalPolicy Policy to apply when the file system is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param securityGroup Security Group to assign to this file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface FileSystemProps { * @param vpc The VPC to launch the file system in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.fsx.FileSystemProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreConfiguration.kt index 3d0c8ba795..9bd839fdc8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreConfiguration.kt @@ -247,7 +247,7 @@ public interface LustreConfiguration { * type. */ override fun autoImportPolicy(autoImportPolicy: LustreAutoImportPolicy) { - cdkBuilder.autoImportPolicy(autoImportPolicy.let(LustreAutoImportPolicy::unwrap)) + cdkBuilder.autoImportPolicy(autoImportPolicy.let(LustreAutoImportPolicy.Companion::unwrap)) } /** @@ -257,14 +257,14 @@ public interface LustreConfiguration { * *Amazon FSx for Lustre User Guide* . */ override fun dataCompressionType(dataCompressionType: LustreDataCompressionType) { - cdkBuilder.dataCompressionType(dataCompressionType.let(LustreDataCompressionType::unwrap)) + cdkBuilder.dataCompressionType(dataCompressionType.let(LustreDataCompressionType.Companion::unwrap)) } /** * @param deploymentType The type of backing file system deployment used by FSx. */ override fun deploymentType(deploymentType: LustreDeploymentType) { - cdkBuilder.deploymentType(deploymentType.let(LustreDeploymentType::unwrap)) + cdkBuilder.deploymentType(deploymentType.let(LustreDeploymentType.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface LustreConfiguration { * is Tuesdays at 20:30. */ override fun weeklyMaintenanceStartTime(weeklyMaintenanceStartTime: LustreMaintenanceTime) { - cdkBuilder.weeklyMaintenanceStartTime(weeklyMaintenanceStartTime.let(LustreMaintenanceTime::unwrap)) + cdkBuilder.weeklyMaintenanceStartTime(weeklyMaintenanceStartTime.let(LustreMaintenanceTime.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystem.kt index 1032c3ffb3..4857f93de9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystem.kt @@ -48,8 +48,8 @@ public open class LustreFileSystem( id: String, props: LustreFileSystemProps, ) : - this(software.amazon.awscdk.services.fsx.LustreFileSystem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LustreFileSystemProps::unwrap)) + this(software.amazon.awscdk.services.fsx.LustreFileSystem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LustreFileSystemProps.Companion::unwrap)) ) public constructor( @@ -195,7 +195,7 @@ public open class LustreFileSystem( * @param kmsKey The KMS key used for encryption to protect your data at rest. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class LustreFileSystem( * @param lustreConfiguration Additional configuration for FSx specific to Lustre. */ override fun lustreConfiguration(lustreConfiguration: LustreConfiguration) { - cdkBuilder.lustreConfiguration(lustreConfiguration.let(LustreConfiguration::unwrap)) + cdkBuilder.lustreConfiguration(lustreConfiguration.let(LustreConfiguration.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class LustreFileSystem( * @param removalPolicy Policy to apply when the file system is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class LustreFileSystem( * @param securityGroup Security Group to assign to this file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class LustreFileSystem( * @param vpc The VPC to launch the file system in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class LustreFileSystem( * @param vpcSubnet The subnet that the file system will be accessible from. */ override fun vpcSubnet(vpcSubnet: ISubnet) { - cdkBuilder.vpcSubnet(vpcSubnet.let(ISubnet::unwrap)) + cdkBuilder.vpcSubnet(vpcSubnet.let(ISubnet.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.fsx.LustreFileSystem = cdkBuilder.build() @@ -281,8 +281,8 @@ public open class LustreFileSystem( id: String, attrs: FileSystemAttributes, ): IFileSystem = - software.amazon.awscdk.services.fsx.LustreFileSystem.fromLustreFileSystemAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(FileSystemAttributes::unwrap)).let(IFileSystem::wrap) + software.amazon.awscdk.services.fsx.LustreFileSystem.fromLustreFileSystemAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(FileSystemAttributes.Companion::unwrap)).let(IFileSystem::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cebd825229cf3b382afac49973d6ddd64b711e5f0ef72f664a1a0aaf4ef0bd42") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystemProps.kt index 5b412d21dd..744eab50ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreFileSystemProps.kt @@ -123,14 +123,14 @@ public interface LustreFileSystemProps : FileSystemProps { * @param kmsKey The KMS key used for encryption to protect your data at rest. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** * @param lustreConfiguration Additional configuration for FSx specific to Lustre. */ override fun lustreConfiguration(lustreConfiguration: LustreConfiguration) { - cdkBuilder.lustreConfiguration(lustreConfiguration.let(LustreConfiguration::unwrap)) + cdkBuilder.lustreConfiguration(lustreConfiguration.let(LustreConfiguration.Companion::unwrap)) } /** @@ -145,14 +145,14 @@ public interface LustreFileSystemProps : FileSystemProps { * @param removalPolicy Policy to apply when the file system is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param securityGroup Security Group to assign to this file system. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -171,14 +171,14 @@ public interface LustreFileSystemProps : FileSystemProps { * @param vpc The VPC to launch the file system in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnet The subnet that the file system will be accessible from. */ override fun vpcSubnet(vpcSubnet: ISubnet) { - cdkBuilder.vpcSubnet(vpcSubnet.let(ISubnet::unwrap)) + cdkBuilder.vpcSubnet(vpcSubnet.let(ISubnet.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.fsx.LustreFileSystemProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTime.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTime.kt index db943dd8b4..693608592f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTime.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTime.kt @@ -28,7 +28,7 @@ public open class LustreMaintenanceTime( cdkObject: software.amazon.awscdk.services.fsx.LustreMaintenanceTime, ) : CdkObject(cdkObject) { public constructor(props: LustreMaintenanceTimeProps) : - this(software.amazon.awscdk.services.fsx.LustreMaintenanceTime(props.let(LustreMaintenanceTimeProps::unwrap)) + this(software.amazon.awscdk.services.fsx.LustreMaintenanceTime(props.let(LustreMaintenanceTimeProps.Companion::unwrap)) ) public constructor(props: LustreMaintenanceTimeProps.Builder.() -> Unit) : @@ -78,7 +78,7 @@ public open class LustreMaintenanceTime( * @param day The day of the week for maintenance to be performed. */ override fun day(day: Weekday) { - cdkBuilder.day(day.let(Weekday::unwrap)) + cdkBuilder.day(day.let(Weekday.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTimeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTimeProps.kt index e89228ee50..fd37b263df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTimeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/fsx/LustreMaintenanceTimeProps.kt @@ -69,7 +69,7 @@ public interface LustreMaintenanceTimeProps { * @param day The day of the week for maintenance to be performed. */ override fun day(day: Weekday) { - cdkBuilder.day(day.let(Weekday::unwrap)) + cdkBuilder.day(day.let(Weekday.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAlias.kt index f76929a4ca..7777627ebd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAlias.kt @@ -55,8 +55,8 @@ public open class CfnAlias( id: String, props: CfnAliasProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAliasProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAliasProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -116,14 +116,14 @@ public open class CfnAlias( * The routing configuration, including routing type and fleet target, for the alias. */ public open fun routingStrategy(`value`: IResolvable) { - unwrap(this).setRoutingStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoutingStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** * The routing configuration, including routing type and fleet target, for the alias. */ public open fun routingStrategy(`value`: RoutingStrategyProperty) { - unwrap(this).setRoutingStrategy(`value`.let(RoutingStrategyProperty::unwrap)) + unwrap(this).setRoutingStrategy(`value`.let(RoutingStrategyProperty.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnAlias( * for the alias. */ override fun routingStrategy(routingStrategy: IResolvable) { - cdkBuilder.routingStrategy(routingStrategy.let(IResolvable::unwrap)) + cdkBuilder.routingStrategy(routingStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnAlias( * for the alias. */ override fun routingStrategy(routingStrategy: RoutingStrategyProperty) { - cdkBuilder.routingStrategy(routingStrategy.let(RoutingStrategyProperty::unwrap)) + cdkBuilder.routingStrategy(routingStrategy.let(RoutingStrategyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAliasProps.kt index 94807180b6..75c96623f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnAliasProps.kt @@ -120,7 +120,7 @@ public interface CfnAliasProps { * for the alias. */ override fun routingStrategy(routingStrategy: IResolvable) { - cdkBuilder.routingStrategy(routingStrategy.let(IResolvable::unwrap)) + cdkBuilder.routingStrategy(routingStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface CfnAliasProps { * for the alias. */ override fun routingStrategy(routingStrategy: CfnAlias.RoutingStrategyProperty) { - cdkBuilder.routingStrategy(routingStrategy.let(CfnAlias.RoutingStrategyProperty::unwrap)) + cdkBuilder.routingStrategy(routingStrategy.let(CfnAlias.RoutingStrategyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuild.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuild.kt index 221edd1642..42e01b4fbd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuild.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuild.kt @@ -50,7 +50,7 @@ public open class CfnBuild( cdkObject: software.amazon.awscdk.services.gamelift.CfnBuild, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.gamelift.CfnBuild(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.gamelift.CfnBuild(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -59,8 +59,8 @@ public open class CfnBuild( id: String, props: CfnBuildProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnBuild(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBuildProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnBuild(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBuildProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnBuild( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,14 +129,14 @@ public open class CfnBuild( * Information indicating where your game build files are stored. */ public open fun storageLocation(`value`: IResolvable) { - unwrap(this).setStorageLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * Information indicating where your game build files are stored. */ public open fun storageLocation(`value`: StorageLocationProperty) { - unwrap(this).setStorageLocation(`value`.let(StorageLocationProperty::unwrap)) + unwrap(this).setStorageLocation(`value`.let(StorageLocationProperty.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnBuild( * @param storageLocation Information indicating where your game build files are stored. */ override fun storageLocation(storageLocation: IResolvable) { - cdkBuilder.storageLocation(storageLocation.let(IResolvable::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(IResolvable.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class CfnBuild( * @param storageLocation Information indicating where your game build files are stored. */ override fun storageLocation(storageLocation: StorageLocationProperty) { - cdkBuilder.storageLocation(storageLocation.let(StorageLocationProperty::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(StorageLocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuildProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuildProps.kt index 9f329096c4..42c8fee71c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuildProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnBuildProps.kt @@ -229,7 +229,7 @@ public interface CfnBuildProps { * bucket. Amazon GameLift will report a `SizeOnDisk` of 0. */ override fun storageLocation(storageLocation: IResolvable) { - cdkBuilder.storageLocation(storageLocation.let(IResolvable::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface CfnBuildProps { * bucket. Amazon GameLift will report a `SizeOnDisk` of 0. */ override fun storageLocation(storageLocation: CfnBuild.StorageLocationProperty) { - cdkBuilder.storageLocation(storageLocation.let(CfnBuild.StorageLocationProperty::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(CfnBuild.StorageLocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinition.kt new file mode 100644 index 0000000000..e08226d2e3 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinition.kt @@ -0,0 +1,2296 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.gamelift + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.Boolean +import kotlin.Number +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * *This data type is used with the Amazon GameLift containers feature, which is currently in public + * preview.*. + * + * The properties that describe a container group resource. Container group definition properties + * can't be updated. To change a property, create a new container group definition. + * + * *Used with:* `CreateContainerGroupDefinition` + * + * *Returned by:* `DescribeContainerGroupDefinition` , `ListContainerGroupDefinitions` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * CfnContainerGroupDefinition cfnContainerGroupDefinition = + * CfnContainerGroupDefinition.Builder.create(this, "MyCfnContainerGroupDefinition") + * .containerDefinitions(List.of(ContainerDefinitionProperty.builder() + * .containerName("containerName") + * .imageUri("imageUri") + * // the properties below are optional + * .command(List.of("command")) + * .cpu(123) + * .dependsOn(List.of(ContainerDependencyProperty.builder() + * .condition("condition") + * .containerName("containerName") + * .build())) + * .entryPoint(List.of("entryPoint")) + * .environment(List.of(ContainerEnvironmentProperty.builder() + * .name("name") + * .value("value") + * .build())) + * .essential(false) + * .healthCheck(ContainerHealthCheckProperty.builder() + * .command(List.of("command")) + * // the properties below are optional + * .interval(123) + * .retries(123) + * .startPeriod(123) + * .timeout(123) + * .build()) + * .memoryLimits(MemoryLimitsProperty.builder() + * .hardLimit(123) + * .softLimit(123) + * .build()) + * .portConfiguration(PortConfigurationProperty.builder() + * .containerPortRanges(List.of(ContainerPortRangeProperty.builder() + * .fromPort(123) + * .protocol("protocol") + * .toPort(123) + * .build())) + * .build()) + * .resolvedImageDigest("resolvedImageDigest") + * .workingDirectory("workingDirectory") + * .build())) + * .name("name") + * .operatingSystem("operatingSystem") + * .totalCpuLimit(123) + * .totalMemoryLimit(123) + * // the properties below are optional + * .schedulingStrategy("schedulingStrategy") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html) + */ +public open class CfnContainerGroupDefinition( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnContainerGroupDefinitionProps, + ) : + this(software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContainerGroupDefinitionProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnContainerGroupDefinitionProps.Builder.() -> Unit, + ) : this(scope, id, CfnContainerGroupDefinitionProps(props) + ) + + /** + * The Amazon Resource Name ( + * [ARN](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) ) that is assigned to an + * Amazon GameLift `ContainerGroupDefinition` resource. It uniquely identifies the resource across + * all AWS Regions. Format is `arn:aws:gamelift:<region>::containergroupdefinition/[container + * group definition name]` . + */ + public open fun attrContainerGroupDefinitionArn(): String = + unwrap(this).getAttrContainerGroupDefinitionArn() + + /** + * A time stamp indicating when this data object was created. + * + * Format is a number expressed in Unix time as milliseconds (for example `"1469498468.057"` ). + */ + public open fun attrCreationTime(): String = unwrap(this).getAttrCreationTime() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * The set of container definitions that are included in the container group. + */ + public open fun containerDefinitions(): Any = unwrap(this).getContainerDefinitions() + + /** + * The set of container definitions that are included in the container group. + */ + public open fun containerDefinitions(`value`: IResolvable) { + unwrap(this).setContainerDefinitions(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * The set of container definitions that are included in the container group. + */ + public open fun containerDefinitions(`value`: List) { + unwrap(this).setContainerDefinitions(`value`.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * The set of container definitions that are included in the container group. + */ + public open fun containerDefinitions(vararg `value`: Any): Unit = + containerDefinitions(`value`.toList()) + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * A descriptive identifier for the container group definition. + */ + public open fun name(): String = unwrap(this).getName() + + /** + * A descriptive identifier for the container group definition. + */ + public open fun name(`value`: String) { + unwrap(this).setName(`value`) + } + + /** + * The platform required for all containers in the container group definition. + */ + public open fun operatingSystem(): String = unwrap(this).getOperatingSystem() + + /** + * The platform required for all containers in the container group definition. + */ + public open fun operatingSystem(`value`: String) { + unwrap(this).setOperatingSystem(`value`) + } + + /** + * The method for deploying the container group across fleet instances. + */ + public open fun schedulingStrategy(): String? = unwrap(this).getSchedulingStrategy() + + /** + * The method for deploying the container group across fleet instances. + */ + public open fun schedulingStrategy(`value`: String) { + unwrap(this).setSchedulingStrategy(`value`) + } + + /** + * An array of key-value pairs to apply to this resource. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * An array of key-value pairs to apply to this resource. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * An array of key-value pairs to apply to this resource. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * The amount of CPU units on a fleet instance to allocate for the container group. + */ + public open fun totalCpuLimit(): Number = unwrap(this).getTotalCpuLimit() + + /** + * The amount of CPU units on a fleet instance to allocate for the container group. + */ + public open fun totalCpuLimit(`value`: Number) { + unwrap(this).setTotalCpuLimit(`value`) + } + + /** + * The amount of memory (in MiB) on a fleet instance to allocate for the container group. + */ + public open fun totalMemoryLimit(): Number = unwrap(this).getTotalMemoryLimit() + + /** + * The amount of memory (in MiB) on a fleet instance to allocate for the container group. + */ + public open fun totalMemoryLimit(`value`: Number) { + unwrap(this).setTotalMemoryLimit(`value`) + } + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.gamelift.CfnContainerGroupDefinition]. + */ + @CdkDslMarker + public interface Builder { + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + public fun containerDefinitions(containerDefinitions: IResolvable) + + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + public fun containerDefinitions(containerDefinitions: List) + + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + public fun containerDefinitions(vararg containerDefinitions: Any) + + /** + * A descriptive identifier for the container group definition. + * + * The name value is unique in an AWS Region. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-name) + * @param name A descriptive identifier for the container group definition. + */ + public fun name(name: String) + + /** + * The platform required for all containers in the container group definition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem) + * @param operatingSystem The platform required for all containers in the container group + * definition. + */ + public fun operatingSystem(operatingSystem: String) + + /** + * The method for deploying the container group across fleet instances. + * + * A replica container group might have multiple copies on each fleet instance. A daemon + * container group maintains only one copy per fleet instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-schedulingstrategy) + * @param schedulingStrategy The method for deploying the container group across fleet + * instances. + */ + public fun schedulingStrategy(schedulingStrategy: String) + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(tags: List) + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(vararg tags: CfnTag) + + /** + * The amount of CPU units on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. This property is an integer value in CPU + * units (1 vCPU is equal to 1024 CPU units). + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must be equal to or greater than the sum of all + * container-specific CPU limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalcpulimit) + * @param totalCpuLimit The amount of CPU units on a fleet instance to allocate for the + * container group. + */ + public fun totalCpuLimit(totalCpuLimit: Number) + + /** + * The amount of memory (in MiB) on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must meet the following requirements: + * + * * Equal to or greater than the sum of all container-specific soft memory limits in the group. + * * Equal to or greater than any container-specific hard limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalmemorylimit) + * @param totalMemoryLimit The amount of memory (in MiB) on a fleet instance to allocate for the + * container group. + */ + public fun totalMemoryLimit(totalMemoryLimit: Number) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.Builder = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.Builder.create(scope, + id) + + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + override fun containerDefinitions(containerDefinitions: IResolvable) { + cdkBuilder.containerDefinitions(containerDefinitions.let(IResolvable.Companion::unwrap)) + } + + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + override fun containerDefinitions(containerDefinitions: List) { + cdkBuilder.containerDefinitions(containerDefinitions.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + override fun containerDefinitions(vararg containerDefinitions: Any): Unit = + containerDefinitions(containerDefinitions.toList()) + + /** + * A descriptive identifier for the container group definition. + * + * The name value is unique in an AWS Region. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-name) + * @param name A descriptive identifier for the container group definition. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * The platform required for all containers in the container group definition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem) + * @param operatingSystem The platform required for all containers in the container group + * definition. + */ + override fun operatingSystem(operatingSystem: String) { + cdkBuilder.operatingSystem(operatingSystem) + } + + /** + * The method for deploying the container group across fleet instances. + * + * A replica container group might have multiple copies on each fleet instance. A daemon + * container group maintains only one copy per fleet instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-schedulingstrategy) + * @param schedulingStrategy The method for deploying the container group across fleet + * instances. + */ + override fun schedulingStrategy(schedulingStrategy: String) { + cdkBuilder.schedulingStrategy(schedulingStrategy) + } + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * The amount of CPU units on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. This property is an integer value in CPU + * units (1 vCPU is equal to 1024 CPU units). + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must be equal to or greater than the sum of all + * container-specific CPU limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalcpulimit) + * @param totalCpuLimit The amount of CPU units on a fleet instance to allocate for the + * container group. + */ + override fun totalCpuLimit(totalCpuLimit: Number) { + cdkBuilder.totalCpuLimit(totalCpuLimit) + } + + /** + * The amount of memory (in MiB) on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must meet the following requirements: + * + * * Equal to or greater than the sum of all container-specific soft memory limits in the group. + * * Equal to or greater than any container-specific hard limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalmemorylimit) + * @param totalMemoryLimit The amount of memory (in MiB) on a fleet instance to allocate for the + * container group. + */ + override fun totalMemoryLimit(totalMemoryLimit: Number) { + cdkBuilder.totalMemoryLimit(totalMemoryLimit) + } + + public fun build(): software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnContainerGroupDefinition { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnContainerGroupDefinition(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition): + CfnContainerGroupDefinition = CfnContainerGroupDefinition(cdkObject) + + internal fun unwrap(wrapped: CfnContainerGroupDefinition): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition = wrapped.cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Describes a container in a container fleet, the resources available to the container, and the + * commands that are run when the container starts. Container properties can't be updated. To change + * a property, create a new container group definition. See also `ContainerDefinitionInput` . + * + * *Part of:* `ContainerGroupDefinition` + * + * *Returned by:* `DescribeContainerGroupDefinition` , `ListContainerGroupDefinitions` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerDefinitionProperty containerDefinitionProperty = ContainerDefinitionProperty.builder() + * .containerName("containerName") + * .imageUri("imageUri") + * // the properties below are optional + * .command(List.of("command")) + * .cpu(123) + * .dependsOn(List.of(ContainerDependencyProperty.builder() + * .condition("condition") + * .containerName("containerName") + * .build())) + * .entryPoint(List.of("entryPoint")) + * .environment(List.of(ContainerEnvironmentProperty.builder() + * .name("name") + * .value("value") + * .build())) + * .essential(false) + * .healthCheck(ContainerHealthCheckProperty.builder() + * .command(List.of("command")) + * // the properties below are optional + * .interval(123) + * .retries(123) + * .startPeriod(123) + * .timeout(123) + * .build()) + * .memoryLimits(MemoryLimitsProperty.builder() + * .hardLimit(123) + * .softLimit(123) + * .build()) + * .portConfiguration(PortConfigurationProperty.builder() + * .containerPortRanges(List.of(ContainerPortRangeProperty.builder() + * .fromPort(123) + * .protocol("protocol") + * .toPort(123) + * .build())) + * .build()) + * .resolvedImageDigest("resolvedImageDigest") + * .workingDirectory("workingDirectory") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html) + */ + public interface ContainerDefinitionProperty { + /** + * A command that's passed to the container on startup. + * + * Each argument for the command is an additional string in the array. See the + * [ContainerDefinition::command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-command) + * parameter in the *Amazon Elastic Container Service API reference.* + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-command) + */ + public fun command(): List = unwrap(this).getCommand() ?: emptyList() + + /** + * The container definition identifier. + * + * Container names are unique within a container group definition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-containername) + */ + public fun containerName(): String + + /** + * The number of CPU units that are reserved for the container. + * + * Note: 1 vCPU unit equals 1024 CPU units. If no resources are reserved, the container shares + * the total CPU limit for the container group. + * + * *Related data type:* `ContainerGroupDefinition$TotalCpuLimit` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-cpu) + */ + public fun cpu(): Number? = unwrap(this).getCpu() + + /** + * Indicates that the container relies on the status of other containers in the same container + * group during its startup and shutdown sequences. + * + * A container might have dependencies on multiple containers. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-dependson) + */ + public fun dependsOn(): Any? = unwrap(this).getDependsOn() + + /** + * The entry point that's passed to the container on startup. + * + * If there are multiple arguments, each argument is an additional string in the array. See the + * [ContainerDefinition::entryPoint](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-entryPoint) + * parameter in the *Amazon Elastic Container Service API Reference* . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-entrypoint) + */ + public fun entryPoint(): List = unwrap(this).getEntryPoint() ?: emptyList() + + /** + * A set of environment variables that's passed to the container on startup. + * + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-environment) + */ + public fun environment(): Any? = unwrap(this).getEnvironment() + + /** + * Indicates whether the container is vital to the container group. + * + * If an essential container fails, the entire container group is restarted. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-essential) + */ + public fun essential(): Any? = unwrap(this).getEssential() + + /** + * A configuration for a non-terminal health check. + * + * A container, which automatically restarts if it stops functioning, also restarts if it fails + * this health check. If an essential container in the daemon group fails a health check, the + * entire container group is restarted. The essential container in the replica group doesn't use + * this health check mechanism, because the Amazon GameLift Agent automatically handles the task. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-healthcheck) + */ + public fun healthCheck(): Any? = unwrap(this).getHealthCheck() + + /** + * The URI to the image that $short; + * + * copied and deployed to a container fleet. For a more specific identifier, see + * `ResolvedImageDigest` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-imageuri) + */ + public fun imageUri(): String + + /** + * The amount of memory that Amazon GameLift makes available to the container. + * + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-memorylimits) + */ + public fun memoryLimits(): Any? = unwrap(this).getMemoryLimits() + + /** + * Defines the ports that are available to assign to processes in the container. + * + * For example, a game server process requires a container port to allow game clients to connect + * to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift maps these + * container ports to externally accessible connection ports, which are assigned as needed from the + * container fleet's `ConnectionPortRange` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-portconfiguration) + */ + public fun portConfiguration(): Any? = unwrap(this).getPortConfiguration() + + /** + * A unique and immutable identifier for the container image that is deployed to a container + * fleet. + * + * The digest is a SHA 256 hash of the container image manifest. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-resolvedimagedigest) + */ + public fun resolvedImageDigest(): String? = unwrap(this).getResolvedImageDigest() + + /** + * The directory in the container where commands are run. + * + * See the + * [ContainerDefinition::workingDirectory](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-workingDirectory) + * parameter in the *Amazon Elastic Container Service API Reference* . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-workingdirectory) + */ + public fun workingDirectory(): String? = unwrap(this).getWorkingDirectory() + + /** + * A builder for [ContainerDefinitionProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param command A command that's passed to the container on startup. + * Each argument for the command is an additional string in the array. See the + * [ContainerDefinition::command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-command) + * parameter in the *Amazon Elastic Container Service API reference.* + */ + public fun command(command: List) + + /** + * @param command A command that's passed to the container on startup. + * Each argument for the command is an additional string in the array. See the + * [ContainerDefinition::command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-command) + * parameter in the *Amazon Elastic Container Service API reference.* + */ + public fun command(vararg command: String) + + /** + * @param containerName The container definition identifier. + * Container names are unique within a container group definition. + */ + public fun containerName(containerName: String) + + /** + * @param cpu The number of CPU units that are reserved for the container. + * Note: 1 vCPU unit equals 1024 CPU units. If no resources are reserved, the container shares + * the total CPU limit for the container group. + * + * *Related data type:* `ContainerGroupDefinition$TotalCpuLimit` + */ + public fun cpu(cpu: Number) + + /** + * @param dependsOn Indicates that the container relies on the status of other containers in + * the same container group during its startup and shutdown sequences. + * A container might have dependencies on multiple containers. + */ + public fun dependsOn(dependsOn: IResolvable) + + /** + * @param dependsOn Indicates that the container relies on the status of other containers in + * the same container group during its startup and shutdown sequences. + * A container might have dependencies on multiple containers. + */ + public fun dependsOn(dependsOn: List) + + /** + * @param dependsOn Indicates that the container relies on the status of other containers in + * the same container group during its startup and shutdown sequences. + * A container might have dependencies on multiple containers. + */ + public fun dependsOn(vararg dependsOn: Any) + + /** + * @param entryPoint The entry point that's passed to the container on startup. + * If there are multiple arguments, each argument is an additional string in the array. See + * the + * [ContainerDefinition::entryPoint](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-entryPoint) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + public fun entryPoint(entryPoint: List) + + /** + * @param entryPoint The entry point that's passed to the container on startup. + * If there are multiple arguments, each argument is an additional string in the array. See + * the + * [ContainerDefinition::entryPoint](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-entryPoint) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + public fun entryPoint(vararg entryPoint: String) + + /** + * @param environment A set of environment variables that's passed to the container on + * startup. + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + public fun environment(environment: IResolvable) + + /** + * @param environment A set of environment variables that's passed to the container on + * startup. + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + public fun environment(environment: List) + + /** + * @param environment A set of environment variables that's passed to the container on + * startup. + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + public fun environment(vararg environment: Any) + + /** + * @param essential Indicates whether the container is vital to the container group. + * If an essential container fails, the entire container group is restarted. + */ + public fun essential(essential: Boolean) + + /** + * @param essential Indicates whether the container is vital to the container group. + * If an essential container fails, the entire container group is restarted. + */ + public fun essential(essential: IResolvable) + + /** + * @param healthCheck A configuration for a non-terminal health check. + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + */ + public fun healthCheck(healthCheck: IResolvable) + + /** + * @param healthCheck A configuration for a non-terminal health check. + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + */ + public fun healthCheck(healthCheck: ContainerHealthCheckProperty) + + /** + * @param healthCheck A configuration for a non-terminal health check. + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c695f15588c8baffb7b34ca883e74a62d7c21d5b7a03cda2a5672c390a526fe7") + public fun healthCheck(healthCheck: ContainerHealthCheckProperty.Builder.() -> Unit) + + /** + * @param imageUri The URI to the image that $short;. + * copied and deployed to a container fleet. For a more specific identifier, see + * `ResolvedImageDigest` . + */ + public fun imageUri(imageUri: String) + + /** + * @param memoryLimits The amount of memory that Amazon GameLift makes available to the + * container. + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + */ + public fun memoryLimits(memoryLimits: IResolvable) + + /** + * @param memoryLimits The amount of memory that Amazon GameLift makes available to the + * container. + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + */ + public fun memoryLimits(memoryLimits: MemoryLimitsProperty) + + /** + * @param memoryLimits The amount of memory that Amazon GameLift makes available to the + * container. + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6247ae715da731da25727bc99d6c4a6f04ad1377b88e7f489954fec050ae5914") + public fun memoryLimits(memoryLimits: MemoryLimitsProperty.Builder.() -> Unit) + + /** + * @param portConfiguration Defines the ports that are available to assign to processes in the + * container. + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + */ + public fun portConfiguration(portConfiguration: IResolvable) + + /** + * @param portConfiguration Defines the ports that are available to assign to processes in the + * container. + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + */ + public fun portConfiguration(portConfiguration: PortConfigurationProperty) + + /** + * @param portConfiguration Defines the ports that are available to assign to processes in the + * container. + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bd5beb617276644a5d92197c695c03a4e6f5835acec002c6c789b87cd7f7624a") + public fun portConfiguration(portConfiguration: PortConfigurationProperty.Builder.() -> Unit) + + /** + * @param resolvedImageDigest A unique and immutable identifier for the container image that + * is deployed to a container fleet. + * The digest is a SHA 256 hash of the container image manifest. + */ + public fun resolvedImageDigest(resolvedImageDigest: String) + + /** + * @param workingDirectory The directory in the container where commands are run. + * See the + * [ContainerDefinition::workingDirectory](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-workingDirectory) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + public fun workingDirectory(workingDirectory: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty.builder() + + /** + * @param command A command that's passed to the container on startup. + * Each argument for the command is an additional string in the array. See the + * [ContainerDefinition::command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-command) + * parameter in the *Amazon Elastic Container Service API reference.* + */ + override fun command(command: List) { + cdkBuilder.command(command) + } + + /** + * @param command A command that's passed to the container on startup. + * Each argument for the command is an additional string in the array. See the + * [ContainerDefinition::command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-command) + * parameter in the *Amazon Elastic Container Service API reference.* + */ + override fun command(vararg command: String): Unit = command(command.toList()) + + /** + * @param containerName The container definition identifier. + * Container names are unique within a container group definition. + */ + override fun containerName(containerName: String) { + cdkBuilder.containerName(containerName) + } + + /** + * @param cpu The number of CPU units that are reserved for the container. + * Note: 1 vCPU unit equals 1024 CPU units. If no resources are reserved, the container shares + * the total CPU limit for the container group. + * + * *Related data type:* `ContainerGroupDefinition$TotalCpuLimit` + */ + override fun cpu(cpu: Number) { + cdkBuilder.cpu(cpu) + } + + /** + * @param dependsOn Indicates that the container relies on the status of other containers in + * the same container group during its startup and shutdown sequences. + * A container might have dependencies on multiple containers. + */ + override fun dependsOn(dependsOn: IResolvable) { + cdkBuilder.dependsOn(dependsOn.let(IResolvable.Companion::unwrap)) + } + + /** + * @param dependsOn Indicates that the container relies on the status of other containers in + * the same container group during its startup and shutdown sequences. + * A container might have dependencies on multiple containers. + */ + override fun dependsOn(dependsOn: List) { + cdkBuilder.dependsOn(dependsOn.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param dependsOn Indicates that the container relies on the status of other containers in + * the same container group during its startup and shutdown sequences. + * A container might have dependencies on multiple containers. + */ + override fun dependsOn(vararg dependsOn: Any): Unit = dependsOn(dependsOn.toList()) + + /** + * @param entryPoint The entry point that's passed to the container on startup. + * If there are multiple arguments, each argument is an additional string in the array. See + * the + * [ContainerDefinition::entryPoint](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-entryPoint) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + override fun entryPoint(entryPoint: List) { + cdkBuilder.entryPoint(entryPoint) + } + + /** + * @param entryPoint The entry point that's passed to the container on startup. + * If there are multiple arguments, each argument is an additional string in the array. See + * the + * [ContainerDefinition::entryPoint](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-entryPoint) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + override fun entryPoint(vararg entryPoint: String): Unit = entryPoint(entryPoint.toList()) + + /** + * @param environment A set of environment variables that's passed to the container on + * startup. + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + override fun environment(environment: IResolvable) { + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) + } + + /** + * @param environment A set of environment variables that's passed to the container on + * startup. + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + override fun environment(environment: List) { + cdkBuilder.environment(environment.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param environment A set of environment variables that's passed to the container on + * startup. + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + override fun environment(vararg environment: Any): Unit = environment(environment.toList()) + + /** + * @param essential Indicates whether the container is vital to the container group. + * If an essential container fails, the entire container group is restarted. + */ + override fun essential(essential: Boolean) { + cdkBuilder.essential(essential) + } + + /** + * @param essential Indicates whether the container is vital to the container group. + * If an essential container fails, the entire container group is restarted. + */ + override fun essential(essential: IResolvable) { + cdkBuilder.essential(essential.let(IResolvable.Companion::unwrap)) + } + + /** + * @param healthCheck A configuration for a non-terminal health check. + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + */ + override fun healthCheck(healthCheck: IResolvable) { + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) + } + + /** + * @param healthCheck A configuration for a non-terminal health check. + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + */ + override fun healthCheck(healthCheck: ContainerHealthCheckProperty) { + cdkBuilder.healthCheck(healthCheck.let(ContainerHealthCheckProperty.Companion::unwrap)) + } + + /** + * @param healthCheck A configuration for a non-terminal health check. + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c695f15588c8baffb7b34ca883e74a62d7c21d5b7a03cda2a5672c390a526fe7") + override fun healthCheck(healthCheck: ContainerHealthCheckProperty.Builder.() -> Unit): Unit = + healthCheck(ContainerHealthCheckProperty(healthCheck)) + + /** + * @param imageUri The URI to the image that $short;. + * copied and deployed to a container fleet. For a more specific identifier, see + * `ResolvedImageDigest` . + */ + override fun imageUri(imageUri: String) { + cdkBuilder.imageUri(imageUri) + } + + /** + * @param memoryLimits The amount of memory that Amazon GameLift makes available to the + * container. + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + */ + override fun memoryLimits(memoryLimits: IResolvable) { + cdkBuilder.memoryLimits(memoryLimits.let(IResolvable.Companion::unwrap)) + } + + /** + * @param memoryLimits The amount of memory that Amazon GameLift makes available to the + * container. + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + */ + override fun memoryLimits(memoryLimits: MemoryLimitsProperty) { + cdkBuilder.memoryLimits(memoryLimits.let(MemoryLimitsProperty.Companion::unwrap)) + } + + /** + * @param memoryLimits The amount of memory that Amazon GameLift makes available to the + * container. + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6247ae715da731da25727bc99d6c4a6f04ad1377b88e7f489954fec050ae5914") + override fun memoryLimits(memoryLimits: MemoryLimitsProperty.Builder.() -> Unit): Unit = + memoryLimits(MemoryLimitsProperty(memoryLimits)) + + /** + * @param portConfiguration Defines the ports that are available to assign to processes in the + * container. + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + */ + override fun portConfiguration(portConfiguration: IResolvable) { + cdkBuilder.portConfiguration(portConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param portConfiguration Defines the ports that are available to assign to processes in the + * container. + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + */ + override fun portConfiguration(portConfiguration: PortConfigurationProperty) { + cdkBuilder.portConfiguration(portConfiguration.let(PortConfigurationProperty.Companion::unwrap)) + } + + /** + * @param portConfiguration Defines the ports that are available to assign to processes in the + * container. + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bd5beb617276644a5d92197c695c03a4e6f5835acec002c6c789b87cd7f7624a") + override + fun portConfiguration(portConfiguration: PortConfigurationProperty.Builder.() -> Unit): + Unit = portConfiguration(PortConfigurationProperty(portConfiguration)) + + /** + * @param resolvedImageDigest A unique and immutable identifier for the container image that + * is deployed to a container fleet. + * The digest is a SHA 256 hash of the container image manifest. + */ + override fun resolvedImageDigest(resolvedImageDigest: String) { + cdkBuilder.resolvedImageDigest(resolvedImageDigest) + } + + /** + * @param workingDirectory The directory in the container where commands are run. + * See the + * [ContainerDefinition::workingDirectory](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-workingDirectory) + * parameter in the *Amazon Elastic Container Service API Reference* . + */ + override fun workingDirectory(workingDirectory: String) { + cdkBuilder.workingDirectory(workingDirectory) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty, + ) : CdkObject(cdkObject), ContainerDefinitionProperty { + /** + * A command that's passed to the container on startup. + * + * Each argument for the command is an additional string in the array. See the + * [ContainerDefinition::command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-command) + * parameter in the *Amazon Elastic Container Service API reference.* + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-command) + */ + override fun command(): List = unwrap(this).getCommand() ?: emptyList() + + /** + * The container definition identifier. + * + * Container names are unique within a container group definition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-containername) + */ + override fun containerName(): String = unwrap(this).getContainerName() + + /** + * The number of CPU units that are reserved for the container. + * + * Note: 1 vCPU unit equals 1024 CPU units. If no resources are reserved, the container shares + * the total CPU limit for the container group. + * + * *Related data type:* `ContainerGroupDefinition$TotalCpuLimit` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-cpu) + */ + override fun cpu(): Number? = unwrap(this).getCpu() + + /** + * Indicates that the container relies on the status of other containers in the same container + * group during its startup and shutdown sequences. + * + * A container might have dependencies on multiple containers. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-dependson) + */ + override fun dependsOn(): Any? = unwrap(this).getDependsOn() + + /** + * The entry point that's passed to the container on startup. + * + * If there are multiple arguments, each argument is an additional string in the array. See + * the + * [ContainerDefinition::entryPoint](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-entryPoint) + * parameter in the *Amazon Elastic Container Service API Reference* . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-entrypoint) + */ + override fun entryPoint(): List = unwrap(this).getEntryPoint() ?: emptyList() + + /** + * A set of environment variables that's passed to the container on startup. + * + * See the + * [ContainerDefinition::environment](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment) + * parameter in the *Amazon Elastic Container Service API Reference* . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-environment) + */ + override fun environment(): Any? = unwrap(this).getEnvironment() + + /** + * Indicates whether the container is vital to the container group. + * + * If an essential container fails, the entire container group is restarted. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-essential) + */ + override fun essential(): Any? = unwrap(this).getEssential() + + /** + * A configuration for a non-terminal health check. + * + * A container, which automatically restarts if it stops functioning, also restarts if it + * fails this health check. If an essential container in the daemon group fails a health check, + * the entire container group is restarted. The essential container in the replica group doesn't + * use this health check mechanism, because the Amazon GameLift Agent automatically handles the + * task. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-healthcheck) + */ + override fun healthCheck(): Any? = unwrap(this).getHealthCheck() + + /** + * The URI to the image that $short; + * + * copied and deployed to a container fleet. For a more specific identifier, see + * `ResolvedImageDigest` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-imageuri) + */ + override fun imageUri(): String = unwrap(this).getImageUri() + + /** + * The amount of memory that Amazon GameLift makes available to the container. + * + * If memory limits aren't set for an individual container, the container shares the container + * group's total memory allocation. + * + * *Related data type:* `ContainerGroupDefinition$TotalMemoryLimit` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-memorylimits) + */ + override fun memoryLimits(): Any? = unwrap(this).getMemoryLimits() + + /** + * Defines the ports that are available to assign to processes in the container. + * + * For example, a game server process requires a container port to allow game clients to + * connect to it. Container ports aren't directly accessed by inbound traffic. Amazon GameLift + * maps these container ports to externally accessible connection ports, which are assigned as + * needed from the container fleet's `ConnectionPortRange` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-portconfiguration) + */ + override fun portConfiguration(): Any? = unwrap(this).getPortConfiguration() + + /** + * A unique and immutable identifier for the container image that is deployed to a container + * fleet. + * + * The digest is a SHA 256 hash of the container image manifest. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-resolvedimagedigest) + */ + override fun resolvedImageDigest(): String? = unwrap(this).getResolvedImageDigest() + + /** + * The directory in the container where commands are run. + * + * See the + * [ContainerDefinition::workingDirectory](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-workingDirectory) + * parameter in the *Amazon Elastic Container Service API Reference* . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinition-workingdirectory) + */ + override fun workingDirectory(): String? = unwrap(this).getWorkingDirectory() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContainerDefinitionProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty): + ContainerDefinitionProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerDefinitionProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerDefinitionProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDefinitionProperty + } + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * A container's dependency on another container in the same container group. The dependency + * impacts how the dependent container is able to start or shut down based the status of the other + * container. + * + * For example, ContainerA is configured with the following dependency: a `START` dependency on + * ContainerB. This means that ContainerA can't start until ContainerB has started. It also means + * that ContainerA must shut down before ContainerB. + * + * *Part of:* `ContainerDefinition` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerDependencyProperty containerDependencyProperty = ContainerDependencyProperty.builder() + * .condition("condition") + * .containerName("containerName") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdependency.html) + */ + public interface ContainerDependencyProperty { + /** + * The condition that the dependency container must reach before the dependent container can + * start. Valid conditions include:. + * + * * START - The dependency container must have started. + * * COMPLETE - The dependency container has run to completion (exits). Use this condition with + * nonessential containers, such as those that run a script and then exit. The dependency container + * can't be an essential container. + * * SUCCESS - The dependency container has run to completion and exited with a zero status. The + * dependency container can't be an essential container. + * * HEALTHY - The dependency container has passed its Docker health check. Use this condition + * with dependency containers that have health checks configured. This condition is confirmed at + * container group startup only. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdependency.html#cfn-gamelift-containergroupdefinition-containerdependency-condition) + */ + public fun condition(): String + + /** + * A descriptive label for the container definition that this container depends on. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdependency.html#cfn-gamelift-containergroupdefinition-containerdependency-containername) + */ + public fun containerName(): String + + /** + * A builder for [ContainerDependencyProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param condition The condition that the dependency container must reach before the + * dependent container can start. Valid conditions include:. + * * START - The dependency container must have started. + * * COMPLETE - The dependency container has run to completion (exits). Use this condition + * with nonessential containers, such as those that run a script and then exit. The dependency + * container can't be an essential container. + * * SUCCESS - The dependency container has run to completion and exited with a zero status. + * The dependency container can't be an essential container. + * * HEALTHY - The dependency container has passed its Docker health check. Use this condition + * with dependency containers that have health checks configured. This condition is confirmed at + * container group startup only. + */ + public fun condition(condition: String) + + /** + * @param containerName A descriptive label for the container definition that this container + * depends on. + */ + public fun containerName(containerName: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty.builder() + + /** + * @param condition The condition that the dependency container must reach before the + * dependent container can start. Valid conditions include:. + * * START - The dependency container must have started. + * * COMPLETE - The dependency container has run to completion (exits). Use this condition + * with nonessential containers, such as those that run a script and then exit. The dependency + * container can't be an essential container. + * * SUCCESS - The dependency container has run to completion and exited with a zero status. + * The dependency container can't be an essential container. + * * HEALTHY - The dependency container has passed its Docker health check. Use this condition + * with dependency containers that have health checks configured. This condition is confirmed at + * container group startup only. + */ + override fun condition(condition: String) { + cdkBuilder.condition(condition) + } + + /** + * @param containerName A descriptive label for the container definition that this container + * depends on. + */ + override fun containerName(containerName: String) { + cdkBuilder.containerName(containerName) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty, + ) : CdkObject(cdkObject), ContainerDependencyProperty { + /** + * The condition that the dependency container must reach before the dependent container can + * start. Valid conditions include:. + * + * * START - The dependency container must have started. + * * COMPLETE - The dependency container has run to completion (exits). Use this condition + * with nonessential containers, such as those that run a script and then exit. The dependency + * container can't be an essential container. + * * SUCCESS - The dependency container has run to completion and exited with a zero status. + * The dependency container can't be an essential container. + * * HEALTHY - The dependency container has passed its Docker health check. Use this condition + * with dependency containers that have health checks configured. This condition is confirmed at + * container group startup only. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdependency.html#cfn-gamelift-containergroupdefinition-containerdependency-condition) + */ + override fun condition(): String = unwrap(this).getCondition() + + /** + * A descriptive label for the container definition that this container depends on. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerdependency.html#cfn-gamelift-containergroupdefinition-containerdependency-containername) + */ + override fun containerName(): String = unwrap(this).getContainerName() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContainerDependencyProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty): + ContainerDependencyProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerDependencyProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerDependencyProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerDependencyProperty + } + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * An environment variable to set inside a container, in the form of a key-value pair. + * + * *Related data type:* `ContainerDefinition$Environment` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerEnvironmentProperty containerEnvironmentProperty = + * ContainerEnvironmentProperty.builder() + * .name("name") + * .value("value") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerenvironment.html) + */ + public interface ContainerEnvironmentProperty { + /** + * The environment variable name. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerenvironment.html#cfn-gamelift-containergroupdefinition-containerenvironment-name) + */ + public fun name(): String + + /** + * The environment variable value. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerenvironment.html#cfn-gamelift-containergroupdefinition-containerenvironment-value) + */ + public fun `value`(): String + + /** + * A builder for [ContainerEnvironmentProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param name The environment variable name. + */ + public fun name(name: String) + + /** + * @param value The environment variable value. + */ + public fun `value`(`value`: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty.builder() + + /** + * @param name The environment variable name. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param value The environment variable value. + */ + override fun `value`(`value`: String) { + cdkBuilder.`value`(`value`) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty, + ) : CdkObject(cdkObject), ContainerEnvironmentProperty { + /** + * The environment variable name. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerenvironment.html#cfn-gamelift-containergroupdefinition-containerenvironment-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * The environment variable value. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerenvironment.html#cfn-gamelift-containergroupdefinition-containerenvironment-value) + */ + override fun `value`(): String = unwrap(this).getValue() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContainerEnvironmentProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty): + ContainerEnvironmentProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerEnvironmentProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerEnvironmentProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerEnvironmentProperty + } + } + + /** + * Instructions on when and how to check the health of a container in a container fleet. + * + * When health check properties are set in a container definition, they override any Docker health + * checks in the container image. For more information on container health checks, see [HealthCheck + * command](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html#ECS-Type-HealthCheck-command) + * in the *Amazon Elastic Container Service API* . + * + * The following example instructions tell the container to wait 100 seconds after launch before + * counting failed health checks, then initiate the health check command every 60 seconds. After + * issuing the health check command, wait 10 seconds for it to succeed. If it fails, retry the + * command 3 times before considering the container to be unhealthy. + * + * `{"Command": [ "CMD-SHELL", "ps cax | grep "processmanager" || exit 1" ], "Interval": 300, + * "Timeout": 30, "Retries": 5, "StartPeriod": 100 }` + * + * *Part of:* `ContainerDefinition$HealthCheck` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerHealthCheckProperty containerHealthCheckProperty = + * ContainerHealthCheckProperty.builder() + * .command(List.of("command")) + * // the properties below are optional + * .interval(123) + * .retries(123) + * .startPeriod(123) + * .timeout(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html) + */ + public interface ContainerHealthCheckProperty { + /** + * A string array that specifies the command that the container runs to determine if it's + * healthy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-command) + */ + public fun command(): List + + /** + * The time period (in seconds) between each health check. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-interval) + */ + public fun interval(): Number? = unwrap(this).getInterval() + + /** + * The number of times to retry a failed health check before the container is considered + * unhealthy. + * + * The first run of the command does not count as a retry. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-retries) + */ + public fun retries(): Number? = unwrap(this).getRetries() + + /** + * The optional grace period (in seconds) to give a container time to bootstrap before the first + * failed health check counts toward the number of retries. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-startperiod) + */ + public fun startPeriod(): Number? = unwrap(this).getStartPeriod() + + /** + * The time period (in seconds) to wait for a health check to succeed before a failed health + * check is counted. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-timeout) + */ + public fun timeout(): Number? = unwrap(this).getTimeout() + + /** + * A builder for [ContainerHealthCheckProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param command A string array that specifies the command that the container runs to + * determine if it's healthy. + */ + public fun command(command: List) + + /** + * @param command A string array that specifies the command that the container runs to + * determine if it's healthy. + */ + public fun command(vararg command: String) + + /** + * @param interval The time period (in seconds) between each health check. + */ + public fun interval(interval: Number) + + /** + * @param retries The number of times to retry a failed health check before the container is + * considered unhealthy. + * The first run of the command does not count as a retry. + */ + public fun retries(retries: Number) + + /** + * @param startPeriod The optional grace period (in seconds) to give a container time to + * bootstrap before the first failed health check counts toward the number of retries. + */ + public fun startPeriod(startPeriod: Number) + + /** + * @param timeout The time period (in seconds) to wait for a health check to succeed before a + * failed health check is counted. + */ + public fun timeout(timeout: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty.builder() + + /** + * @param command A string array that specifies the command that the container runs to + * determine if it's healthy. + */ + override fun command(command: List) { + cdkBuilder.command(command) + } + + /** + * @param command A string array that specifies the command that the container runs to + * determine if it's healthy. + */ + override fun command(vararg command: String): Unit = command(command.toList()) + + /** + * @param interval The time period (in seconds) between each health check. + */ + override fun interval(interval: Number) { + cdkBuilder.interval(interval) + } + + /** + * @param retries The number of times to retry a failed health check before the container is + * considered unhealthy. + * The first run of the command does not count as a retry. + */ + override fun retries(retries: Number) { + cdkBuilder.retries(retries) + } + + /** + * @param startPeriod The optional grace period (in seconds) to give a container time to + * bootstrap before the first failed health check counts toward the number of retries. + */ + override fun startPeriod(startPeriod: Number) { + cdkBuilder.startPeriod(startPeriod) + } + + /** + * @param timeout The time period (in seconds) to wait for a health check to succeed before a + * failed health check is counted. + */ + override fun timeout(timeout: Number) { + cdkBuilder.timeout(timeout) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty, + ) : CdkObject(cdkObject), ContainerHealthCheckProperty { + /** + * A string array that specifies the command that the container runs to determine if it's + * healthy. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-command) + */ + override fun command(): List = unwrap(this).getCommand() + + /** + * The time period (in seconds) between each health check. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-interval) + */ + override fun interval(): Number? = unwrap(this).getInterval() + + /** + * The number of times to retry a failed health check before the container is considered + * unhealthy. + * + * The first run of the command does not count as a retry. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-retries) + */ + override fun retries(): Number? = unwrap(this).getRetries() + + /** + * The optional grace period (in seconds) to give a container time to bootstrap before the + * first failed health check counts toward the number of retries. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-startperiod) + */ + override fun startPeriod(): Number? = unwrap(this).getStartPeriod() + + /** + * The time period (in seconds) to wait for a health check to succeed before a failed health + * check is counted. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerhealthcheck.html#cfn-gamelift-containergroupdefinition-containerhealthcheck-timeout) + */ + override fun timeout(): Number? = unwrap(this).getTimeout() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContainerHealthCheckProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty): + ContainerHealthCheckProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerHealthCheckProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerHealthCheckProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerHealthCheckProperty + } + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * A set of one or more port numbers that can be opened on the container. + * + * *Part of:* `ContainerPortConfiguration` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerPortRangeProperty containerPortRangeProperty = ContainerPortRangeProperty.builder() + * .fromPort(123) + * .protocol("protocol") + * .toPort(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html) + */ + public interface ContainerPortRangeProperty { + /** + * A starting value for the range of allowed port numbers. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-fromport) + */ + public fun fromPort(): Number + + /** + * The network protocol that these ports support. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-protocol) + */ + public fun protocol(): String + + /** + * An ending value for the range of allowed port numbers. + * + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-toport) + */ + public fun toPort(): Number + + /** + * A builder for [ContainerPortRangeProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param fromPort A starting value for the range of allowed port numbers. + */ + public fun fromPort(fromPort: Number) + + /** + * @param protocol The network protocol that these ports support. + */ + public fun protocol(protocol: String) + + /** + * @param toPort An ending value for the range of allowed port numbers. + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + */ + public fun toPort(toPort: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty.builder() + + /** + * @param fromPort A starting value for the range of allowed port numbers. + */ + override fun fromPort(fromPort: Number) { + cdkBuilder.fromPort(fromPort) + } + + /** + * @param protocol The network protocol that these ports support. + */ + override fun protocol(protocol: String) { + cdkBuilder.protocol(protocol) + } + + /** + * @param toPort An ending value for the range of allowed port numbers. + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + */ + override fun toPort(toPort: Number) { + cdkBuilder.toPort(toPort) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty, + ) : CdkObject(cdkObject), ContainerPortRangeProperty { + /** + * A starting value for the range of allowed port numbers. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-fromport) + */ + override fun fromPort(): Number = unwrap(this).getFromPort() + + /** + * The network protocol that these ports support. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-protocol) + */ + override fun protocol(): String = unwrap(this).getProtocol() + + /** + * An ending value for the range of allowed port numbers. + * + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-containerportrange.html#cfn-gamelift-containergroupdefinition-containerportrange-toport) + */ + override fun toPort(): Number = unwrap(this).getToPort() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ContainerPortRangeProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty): + ContainerPortRangeProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerPortRangeProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerPortRangeProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.ContainerPortRangeProperty + } + } + + /** + * Specifies how much memory is available to the container. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * MemoryLimitsProperty memoryLimitsProperty = MemoryLimitsProperty.builder() + * .hardLimit(123) + * .softLimit(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-memorylimits.html) + */ + public interface MemoryLimitsProperty { + /** + * The hard limit of memory to reserve for the container. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-memorylimits.html#cfn-gamelift-containergroupdefinition-memorylimits-hardlimit) + */ + public fun hardLimit(): Number? = unwrap(this).getHardLimit() + + /** + * The amount of memory that is reserved for the container. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-memorylimits.html#cfn-gamelift-containergroupdefinition-memorylimits-softlimit) + */ + public fun softLimit(): Number? = unwrap(this).getSoftLimit() + + /** + * A builder for [MemoryLimitsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param hardLimit The hard limit of memory to reserve for the container. + */ + public fun hardLimit(hardLimit: Number) + + /** + * @param softLimit The amount of memory that is reserved for the container. + */ + public fun softLimit(softLimit: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty.builder() + + /** + * @param hardLimit The hard limit of memory to reserve for the container. + */ + override fun hardLimit(hardLimit: Number) { + cdkBuilder.hardLimit(hardLimit) + } + + /** + * @param softLimit The amount of memory that is reserved for the container. + */ + override fun softLimit(softLimit: Number) { + cdkBuilder.softLimit(softLimit) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty, + ) : CdkObject(cdkObject), MemoryLimitsProperty { + /** + * The hard limit of memory to reserve for the container. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-memorylimits.html#cfn-gamelift-containergroupdefinition-memorylimits-hardlimit) + */ + override fun hardLimit(): Number? = unwrap(this).getHardLimit() + + /** + * The amount of memory that is reserved for the container. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-memorylimits.html#cfn-gamelift-containergroupdefinition-memorylimits-softlimit) + */ + override fun softLimit(): Number? = unwrap(this).getSoftLimit() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): MemoryLimitsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty): + MemoryLimitsProperty = CdkObjectWrappers.wrap(cdkObject) as? MemoryLimitsProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: MemoryLimitsProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.MemoryLimitsProperty + } + } + + /** + * Defines the ports on a container. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * PortConfigurationProperty portConfigurationProperty = PortConfigurationProperty.builder() + * .containerPortRanges(List.of(ContainerPortRangeProperty.builder() + * .fromPort(123) + * .protocol("protocol") + * .toPort(123) + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-portconfiguration.html) + */ + public interface PortConfigurationProperty { + /** + * Specifies one or more ranges of ports on a container. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-portconfiguration.html#cfn-gamelift-containergroupdefinition-portconfiguration-containerportranges) + */ + public fun containerPortRanges(): Any + + /** + * A builder for [PortConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param containerPortRanges Specifies one or more ranges of ports on a container. + */ + public fun containerPortRanges(containerPortRanges: IResolvable) + + /** + * @param containerPortRanges Specifies one or more ranges of ports on a container. + */ + public fun containerPortRanges(containerPortRanges: List) + + /** + * @param containerPortRanges Specifies one or more ranges of ports on a container. + */ + public fun containerPortRanges(vararg containerPortRanges: Any) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty.builder() + + /** + * @param containerPortRanges Specifies one or more ranges of ports on a container. + */ + override fun containerPortRanges(containerPortRanges: IResolvable) { + cdkBuilder.containerPortRanges(containerPortRanges.let(IResolvable.Companion::unwrap)) + } + + /** + * @param containerPortRanges Specifies one or more ranges of ports on a container. + */ + override fun containerPortRanges(containerPortRanges: List) { + cdkBuilder.containerPortRanges(containerPortRanges.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param containerPortRanges Specifies one or more ranges of ports on a container. + */ + override fun containerPortRanges(vararg containerPortRanges: Any): Unit = + containerPortRanges(containerPortRanges.toList()) + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty, + ) : CdkObject(cdkObject), PortConfigurationProperty { + /** + * Specifies one or more ranges of ports on a container. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containergroupdefinition-portconfiguration.html#cfn-gamelift-containergroupdefinition-portconfiguration-containerportranges) + */ + override fun containerPortRanges(): Any = unwrap(this).getContainerPortRanges() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): PortConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty): + PortConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + PortConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: PortConfigurationProperty): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinition.PortConfigurationProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinitionProps.kt new file mode 100644 index 0000000000..55c56e4bbd --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnContainerGroupDefinitionProps.kt @@ -0,0 +1,441 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.gamelift + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.Number +import kotlin.String +import kotlin.Unit +import kotlin.collections.List + +/** + * Properties for defining a `CfnContainerGroupDefinition`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * CfnContainerGroupDefinitionProps cfnContainerGroupDefinitionProps = + * CfnContainerGroupDefinitionProps.builder() + * .containerDefinitions(List.of(ContainerDefinitionProperty.builder() + * .containerName("containerName") + * .imageUri("imageUri") + * // the properties below are optional + * .command(List.of("command")) + * .cpu(123) + * .dependsOn(List.of(ContainerDependencyProperty.builder() + * .condition("condition") + * .containerName("containerName") + * .build())) + * .entryPoint(List.of("entryPoint")) + * .environment(List.of(ContainerEnvironmentProperty.builder() + * .name("name") + * .value("value") + * .build())) + * .essential(false) + * .healthCheck(ContainerHealthCheckProperty.builder() + * .command(List.of("command")) + * // the properties below are optional + * .interval(123) + * .retries(123) + * .startPeriod(123) + * .timeout(123) + * .build()) + * .memoryLimits(MemoryLimitsProperty.builder() + * .hardLimit(123) + * .softLimit(123) + * .build()) + * .portConfiguration(PortConfigurationProperty.builder() + * .containerPortRanges(List.of(ContainerPortRangeProperty.builder() + * .fromPort(123) + * .protocol("protocol") + * .toPort(123) + * .build())) + * .build()) + * .resolvedImageDigest("resolvedImageDigest") + * .workingDirectory("workingDirectory") + * .build())) + * .name("name") + * .operatingSystem("operatingSystem") + * .totalCpuLimit(123) + * .totalMemoryLimit(123) + * // the properties below are optional + * .schedulingStrategy("schedulingStrategy") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html) + */ +public interface CfnContainerGroupDefinitionProps { + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + */ + public fun containerDefinitions(): Any + + /** + * A descriptive identifier for the container group definition. + * + * The name value is unique in an AWS Region. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-name) + */ + public fun name(): String + + /** + * The platform required for all containers in the container group definition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem) + */ + public fun operatingSystem(): String + + /** + * The method for deploying the container group across fleet instances. + * + * A replica container group might have multiple copies on each fleet instance. A daemon container + * group maintains only one copy per fleet instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-schedulingstrategy) + */ + public fun schedulingStrategy(): String? = unwrap(this).getSchedulingStrategy() + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The amount of CPU units on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. This property is an integer value in CPU + * units (1 vCPU is equal to 1024 CPU units). + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must be equal to or greater than the sum of all + * container-specific CPU limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalcpulimit) + */ + public fun totalCpuLimit(): Number + + /** + * The amount of memory (in MiB) on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must meet the following requirements: + * + * * Equal to or greater than the sum of all container-specific soft memory limits in the group. + * * Equal to or greater than any container-specific hard limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalmemorylimit) + */ + public fun totalMemoryLimit(): Number + + /** + * A builder for [CfnContainerGroupDefinitionProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + public fun containerDefinitions(containerDefinitions: IResolvable) + + /** + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + public fun containerDefinitions(containerDefinitions: List) + + /** + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + public fun containerDefinitions(vararg containerDefinitions: Any) + + /** + * @param name A descriptive identifier for the container group definition. + * The name value is unique in an AWS Region. + */ + public fun name(name: String) + + /** + * @param operatingSystem The platform required for all containers in the container group + * definition. + */ + public fun operatingSystem(operatingSystem: String) + + /** + * @param schedulingStrategy The method for deploying the container group across fleet + * instances. + * A replica container group might have multiple copies on each fleet instance. A daemon + * container group maintains only one copy per fleet instance. + */ + public fun schedulingStrategy(schedulingStrategy: String) + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(tags: List) + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param totalCpuLimit The amount of CPU units on a fleet instance to allocate for the + * container group. + * All containers in the group share these resources. This property is an integer value in CPU + * units (1 vCPU is equal to 1024 CPU units). + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must be equal to or greater than the sum of all + * container-specific CPU limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + */ + public fun totalCpuLimit(totalCpuLimit: Number) + + /** + * @param totalMemoryLimit The amount of memory (in MiB) on a fleet instance to allocate for the + * container group. + * All containers in the group share these resources. + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must meet the following requirements: + * + * * Equal to or greater than the sum of all container-specific soft memory limits in the group. + * * Equal to or greater than any container-specific hard limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + */ + public fun totalMemoryLimit(totalMemoryLimit: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps.Builder = + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps.builder() + + /** + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + override fun containerDefinitions(containerDefinitions: IResolvable) { + cdkBuilder.containerDefinitions(containerDefinitions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + override fun containerDefinitions(containerDefinitions: List) { + cdkBuilder.containerDefinitions(containerDefinitions.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param containerDefinitions The set of container definitions that are included in the + * container group. + */ + override fun containerDefinitions(vararg containerDefinitions: Any): Unit = + containerDefinitions(containerDefinitions.toList()) + + /** + * @param name A descriptive identifier for the container group definition. + * The name value is unique in an AWS Region. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param operatingSystem The platform required for all containers in the container group + * definition. + */ + override fun operatingSystem(operatingSystem: String) { + cdkBuilder.operatingSystem(operatingSystem) + } + + /** + * @param schedulingStrategy The method for deploying the container group across fleet + * instances. + * A replica container group might have multiple copies on each fleet instance. A daemon + * container group maintains only one copy per fleet instance. + */ + override fun schedulingStrategy(schedulingStrategy: String) { + cdkBuilder.schedulingStrategy(schedulingStrategy) + } + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param totalCpuLimit The amount of CPU units on a fleet instance to allocate for the + * container group. + * All containers in the group share these resources. This property is an integer value in CPU + * units (1 vCPU is equal to 1024 CPU units). + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must be equal to or greater than the sum of all + * container-specific CPU limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + */ + override fun totalCpuLimit(totalCpuLimit: Number) { + cdkBuilder.totalCpuLimit(totalCpuLimit) + } + + /** + * @param totalMemoryLimit The amount of memory (in MiB) on a fleet instance to allocate for the + * container group. + * All containers in the group share these resources. + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must meet the following requirements: + * + * * Equal to or greater than the sum of all container-specific soft memory limits in the group. + * * Equal to or greater than any container-specific hard limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + */ + override fun totalMemoryLimit(totalMemoryLimit: Number) { + cdkBuilder.totalMemoryLimit(totalMemoryLimit) + } + + public fun build(): software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps, + ) : CdkObject(cdkObject), CfnContainerGroupDefinitionProps { + /** + * The set of container definitions that are included in the container group. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-containerdefinitions) + */ + override fun containerDefinitions(): Any = unwrap(this).getContainerDefinitions() + + /** + * A descriptive identifier for the container group definition. + * + * The name value is unique in an AWS Region. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * The platform required for all containers in the container group definition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem) + */ + override fun operatingSystem(): String = unwrap(this).getOperatingSystem() + + /** + * The method for deploying the container group across fleet instances. + * + * A replica container group might have multiple copies on each fleet instance. A daemon + * container group maintains only one copy per fleet instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-schedulingstrategy) + */ + override fun schedulingStrategy(): String? = unwrap(this).getSchedulingStrategy() + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The amount of CPU units on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. This property is an integer value in CPU + * units (1 vCPU is equal to 1024 CPU units). + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must be equal to or greater than the sum of all + * container-specific CPU limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalcpulimit) + */ + override fun totalCpuLimit(): Number = unwrap(this).getTotalCpuLimit() + + /** + * The amount of memory (in MiB) on a fleet instance to allocate for the container group. + * + * All containers in the group share these resources. + * + * You can set additional limits for each `ContainerDefinition` in the group. If individual + * containers have limits, this value must meet the following requirements: + * + * * Equal to or greater than the sum of all container-specific soft memory limits in the group. + * * Equal to or greater than any container-specific hard limits in the group. + * + * For more details on memory allocation, see the [Container fleet design + * guide](https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-totalmemorylimit) + */ + override fun totalMemoryLimit(): Number = unwrap(this).getTotalMemoryLimit() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnContainerGroupDefinitionProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps): + CfnContainerGroupDefinitionProps = CdkObjectWrappers.wrap(cdkObject) as? + CfnContainerGroupDefinitionProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnContainerGroupDefinitionProps): + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnContainerGroupDefinitionProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleet.kt index 1cf67558fc..e358f0b2b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleet.kt @@ -44,6 +44,18 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .certificateType("certificateType") * .build()) * .computeType("computeType") + * .containerGroupsConfiguration(ContainerGroupsConfigurationProperty.builder() + * .connectionPortRange(ConnectionPortRangeProperty.builder() + * .fromPort(123) + * .toPort(123) + * .build()) + * .containerGroupDefinitionNames(List.of("containerGroupDefinitionNames")) + * // the properties below are optional + * .containerGroupsPerInstance(ContainerGroupsPerInstanceProperty.builder() + * .desiredReplicaContainerGroupsPerInstance(123) + * .maxReplicaContainerGroupsPerInstance(123) + * .build()) + * .build()) * .description("description") * .desiredEc2Instances(123) * .ec2InboundPermissions(List.of(IpPermissionProperty.builder() @@ -119,8 +131,8 @@ public open class CfnFleet( id: String, props: CfnFleetProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetProps.Companion::unwrap)) ) public constructor( @@ -139,14 +151,14 @@ public open class CfnFleet( * Amazon GameLift Anywhere configuration options. */ public open fun anywhereConfiguration(`value`: IResolvable) { - unwrap(this).setAnywhereConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnywhereConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Amazon GameLift Anywhere configuration options. */ public open fun anywhereConfiguration(`value`: AnywhereConfigurationProperty) { - unwrap(this).setAnywhereConfiguration(`value`.let(AnywhereConfigurationProperty::unwrap)) + unwrap(this).setAnywhereConfiguration(`value`.let(AnywhereConfigurationProperty.Companion::unwrap)) } /** @@ -158,17 +170,25 @@ public open class CfnFleet( Unit = anywhereConfiguration(AnywhereConfigurationProperty(`value`)) /** - * Current resource capacity settings in a specified fleet or location. + * Current resource capacity settings for managed EC2 fleets and container fleets. */ public open fun applyCapacity(): String? = unwrap(this).getApplyCapacity() /** - * Current resource capacity settings in a specified fleet or location. + * Current resource capacity settings for managed EC2 fleets and container fleets. */ public open fun applyCapacity(`value`: String) { unwrap(this).setApplyCapacity(`value`) } + /** + * The maximum possible number of replica container groups that each fleet instance can have. + */ + public open + fun attrContainerGroupsConfigurationContainerGroupsPerInstanceMaxReplicaContainerGroupsPerInstance(): + Number = + unwrap(this).getAttrContainerGroupsConfigurationContainerGroupsPerInstanceMaxReplicaContainerGroupsPerInstance() + /** * A unique identifier for the fleet. */ @@ -195,14 +215,14 @@ public open class CfnFleet( * Prompts Amazon GameLift to generate a TLS/SSL certificate for the fleet. */ public open fun certificateConfiguration(`value`: IResolvable) { - unwrap(this).setCertificateConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificateConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Prompts Amazon GameLift to generate a TLS/SSL certificate for the fleet. */ public open fun certificateConfiguration(`value`: CertificateConfigurationProperty) { - unwrap(this).setCertificateConfiguration(`value`.let(CertificateConfigurationProperty::unwrap)) + unwrap(this).setCertificateConfiguration(`value`.let(CertificateConfigurationProperty.Companion::unwrap)) } /** @@ -226,6 +246,39 @@ public open class CfnFleet( unwrap(this).setComputeType(`value`) } + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + */ + public open fun containerGroupsConfiguration(): Any? = + unwrap(this).getContainerGroupsConfiguration() + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + */ + public open fun containerGroupsConfiguration(`value`: IResolvable) { + unwrap(this).setContainerGroupsConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + */ + public open fun containerGroupsConfiguration(`value`: ContainerGroupsConfigurationProperty) { + unwrap(this).setContainerGroupsConfiguration(`value`.let(ContainerGroupsConfigurationProperty.Companion::unwrap)) + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a175a5ad3b588b58f6c92b7bcc7583e752dc14f62a660a2d36995eb1d9b3a6ed") + public open + fun containerGroupsConfiguration(`value`: ContainerGroupsConfigurationProperty.Builder.() -> Unit): + Unit = containerGroupsConfiguration(ContainerGroupsConfigurationProperty(`value`)) + /** * A description for the fleet. */ @@ -251,41 +304,41 @@ public open class CfnFleet( } /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. */ public open fun ec2InboundPermissions(): Any? = unwrap(this).getEc2InboundPermissions() /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. */ public open fun ec2InboundPermissions(`value`: IResolvable) { - unwrap(this).setEc2InboundPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEc2InboundPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. */ public open fun ec2InboundPermissions(`value`: List) { unwrap(this).setEc2InboundPermissions(`value`.map{CdkObjectWrappers.unwrap(it)}) } /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. */ public open fun ec2InboundPermissions(vararg `value`: Any): Unit = ec2InboundPermissions(`value`.toList()) /** - * The Amazon GameLift-supported Amazon EC2 instance type to use for all fleet instances. + * The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. */ public open fun ec2InstanceType(): String? = unwrap(this).getEc2InstanceType() /** - * The Amazon GameLift-supported Amazon EC2 instance type to use for all fleet instances. + * The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. */ public open fun ec2InstanceType(`value`: String) { unwrap(this).setEc2InstanceType(`value`) @@ -309,7 +362,7 @@ public open class CfnFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -348,7 +401,7 @@ public open class CfnFleet( * A set of remote locations to deploy additional instances to and manage as part of the fleet. */ public open fun locations(`value`: IResolvable) { - unwrap(this).setLocations(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +546,7 @@ public open class CfnFleet( * instances in this fleet within a specified span of time. */ public open fun resourceCreationLimitPolicy(`value`: IResolvable) { - unwrap(this).setResourceCreationLimitPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceCreationLimitPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -501,7 +554,7 @@ public open class CfnFleet( * instances in this fleet within a specified span of time. */ public open fun resourceCreationLimitPolicy(`value`: ResourceCreationLimitPolicyProperty) { - unwrap(this).setResourceCreationLimitPolicy(`value`.let(ResourceCreationLimitPolicyProperty::unwrap)) + unwrap(this).setResourceCreationLimitPolicy(`value`.let(ResourceCreationLimitPolicyProperty.Companion::unwrap)) } /** @@ -523,14 +576,14 @@ public open class CfnFleet( * Instructions for how to launch and maintain server processes on instances in the fleet. */ public open fun runtimeConfiguration(`value`: IResolvable) { - unwrap(this).setRuntimeConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntimeConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Instructions for how to launch and maintain server processes on instances in the fleet. */ public open fun runtimeConfiguration(`value`: RuntimeConfigurationProperty) { - unwrap(this).setRuntimeConfiguration(`value`.let(RuntimeConfigurationProperty::unwrap)) + unwrap(this).setRuntimeConfiguration(`value`.let(RuntimeConfigurationProperty.Companion::unwrap)) } /** @@ -550,7 +603,7 @@ public open class CfnFleet( * Rule that controls how a fleet is scaled. */ public open fun scalingPolicies(`value`: IResolvable) { - unwrap(this).setScalingPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setScalingPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -646,20 +699,21 @@ public open class CfnFleet( fun anywhereConfiguration(anywhereConfiguration: AnywhereConfigurationProperty.Builder.() -> Unit) /** - * Current resource capacity settings in a specified fleet or location. - * - * The location value might refer to a fleet's remote location or its home Region. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-applycapacity) - * @param applyCapacity Current resource capacity settings in a specified fleet or location. + * @param applyCapacity Current resource capacity settings for managed EC2 fleets and container + * fleets. */ public fun applyCapacity(applyCapacity: String) @@ -756,14 +810,69 @@ public open class CfnFleet( /** * The type of compute resource used to host your game servers. * - * You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 - * instances with managed Amazon GameLift. By default, this property is set to `EC2` . + * * `EC2` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This + * is the default setting. + * * `CONTAINER` – Container images with your game server build and supporting software are + * deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the + * `ContainerGroupsConfiguration` parameter. + * * `ANYWHERE` – Game servers or container images with your game server and supporting software + * are deployed to compute resources that are provided and managed by you. With this compute type, + * you can also set the `AnywhereConfiguration` parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-computetype) * @param computeType The type of compute resource used to host your game servers. */ public fun computeType(computeType: String) + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + */ + public fun containerGroupsConfiguration(containerGroupsConfiguration: IResolvable) + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + */ + public + fun containerGroupsConfiguration(containerGroupsConfiguration: ContainerGroupsConfigurationProperty) + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8c3331c73b38aead358f816f3f01271856bd2cad11aad1ab1862aff8da1874e6") + public + fun containerGroupsConfiguration(containerGroupsConfiguration: ContainerGroupsConfigurationProperty.Builder.() -> Unit) + /** * A description for the fleet. * @@ -785,49 +894,67 @@ public open class CfnFleet( public fun desiredEc2Instances(desiredEc2Instances: Number) /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. + * + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. */ public fun ec2InboundPermissions(ec2InboundPermissions: IResolvable) /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. */ public fun ec2InboundPermissions(ec2InboundPermissions: List) /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. + * + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. */ public fun ec2InboundPermissions(vararg ec2InboundPermissions: Any) /** - * The Amazon GameLift-supported Amazon EC2 instance type to use for all fleet instances. + * The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. * * Instance type determines the computing resources that will be used to host your game servers, * including CPU, memory, storage, and networking capacity. See [Amazon Elastic Compute Cloud @@ -835,8 +962,8 @@ public open class CfnFleet( * Amazon EC2 instance types. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2instancetype) - * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use for all - * fleet instances. + * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 + * and container fleets. */ public fun ec2InstanceType(ec2InstanceType: String) @@ -861,7 +988,7 @@ public open class CfnFleet( * you own or have access to. For more information about using the role with your game server * builds, see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolearn) * @param instanceRoleArn A unique identifier for an IAM role with access permissions to other @@ -878,7 +1005,7 @@ public open class CfnFleet( * integrated with the server SDK version 5.x. For more information about using shared credentials, * see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolecredentialsprovider) * @param instanceRoleCredentialsProvider Indicates that fleet instances maintain a shared @@ -891,10 +1018,11 @@ public open class CfnFleet( * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) * @param locations A set of remote locations to deploy additional instances to and manage as @@ -907,10 +1035,11 @@ public open class CfnFleet( * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) * @param locations A set of remote locations to deploy additional instances to and manage as @@ -923,10 +1052,11 @@ public open class CfnFleet( * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) * @param locations A set of remote locations to deploy additional instances to and manage as @@ -1245,7 +1375,7 @@ public open class CfnFleet( * @param anywhereConfiguration Amazon GameLift Anywhere configuration options. */ override fun anywhereConfiguration(anywhereConfiguration: IResolvable) { - cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1255,7 +1385,7 @@ public open class CfnFleet( * @param anywhereConfiguration Amazon GameLift Anywhere configuration options. */ override fun anywhereConfiguration(anywhereConfiguration: AnywhereConfigurationProperty) { - cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(AnywhereConfigurationProperty::unwrap)) + cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(AnywhereConfigurationProperty.Companion::unwrap)) } /** @@ -1271,20 +1401,21 @@ public open class CfnFleet( Unit = anywhereConfiguration(AnywhereConfigurationProperty(anywhereConfiguration)) /** - * Current resource capacity settings in a specified fleet or location. - * - * The location value might refer to a fleet's remote location or its home Region. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-applycapacity) - * @param applyCapacity Current resource capacity settings in a specified fleet or location. + * @param applyCapacity Current resource capacity settings for managed EC2 fleets and container + * fleets. */ override fun applyCapacity(applyCapacity: String) { cdkBuilder.applyCapacity(applyCapacity) @@ -1328,7 +1459,7 @@ public open class CfnFleet( * the fleet. */ override fun certificateConfiguration(certificateConfiguration: IResolvable) { - cdkBuilder.certificateConfiguration(certificateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.certificateConfiguration(certificateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1356,7 +1487,7 @@ public open class CfnFleet( */ override fun certificateConfiguration(certificateConfiguration: CertificateConfigurationProperty) { - cdkBuilder.certificateConfiguration(certificateConfiguration.let(CertificateConfigurationProperty::unwrap)) + cdkBuilder.certificateConfiguration(certificateConfiguration.let(CertificateConfigurationProperty.Companion::unwrap)) } /** @@ -1391,8 +1522,14 @@ public open class CfnFleet( /** * The type of compute resource used to host your game servers. * - * You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 - * instances with managed Amazon GameLift. By default, this property is set to `EC2` . + * * `EC2` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This + * is the default setting. + * * `CONTAINER` – Container images with your game server build and supporting software are + * deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the + * `ContainerGroupsConfiguration` parameter. + * * `ANYWHERE` – Game servers or container images with your game server and supporting software + * are deployed to compute resources that are provided and managed by you. With this compute type, + * you can also set the `AnywhereConfiguration` parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-computetype) * @param computeType The type of compute resource used to host your game servers. @@ -1401,6 +1538,61 @@ public open class CfnFleet( cdkBuilder.computeType(computeType) } + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + */ + override fun containerGroupsConfiguration(containerGroupsConfiguration: IResolvable) { + cdkBuilder.containerGroupsConfiguration(containerGroupsConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + */ + override + fun containerGroupsConfiguration(containerGroupsConfiguration: ContainerGroupsConfigurationProperty) { + cdkBuilder.containerGroupsConfiguration(containerGroupsConfiguration.let(ContainerGroupsConfigurationProperty.Companion::unwrap)) + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8c3331c73b38aead358f816f3f01271856bd2cad11aad1ab1862aff8da1874e6") + override + fun containerGroupsConfiguration(containerGroupsConfiguration: ContainerGroupsConfigurationProperty.Builder.() -> Unit): + Unit = + containerGroupsConfiguration(ContainerGroupsConfigurationProperty(containerGroupsConfiguration)) + /** * A description for the fleet. * @@ -1426,54 +1618,72 @@ public open class CfnFleet( } /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. */ override fun ec2InboundPermissions(ec2InboundPermissions: IResolvable) { - cdkBuilder.ec2InboundPermissions(ec2InboundPermissions.let(IResolvable::unwrap)) + cdkBuilder.ec2InboundPermissions(ec2InboundPermissions.let(IResolvable.Companion::unwrap)) } /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. + * + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. */ override fun ec2InboundPermissions(ec2InboundPermissions: List) { cdkBuilder.ec2InboundPermissions(ec2InboundPermissions.map{CdkObjectWrappers.unwrap(it)}) } /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. + * + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. */ override fun ec2InboundPermissions(vararg ec2InboundPermissions: Any): Unit = ec2InboundPermissions(ec2InboundPermissions.toList()) /** - * The Amazon GameLift-supported Amazon EC2 instance type to use for all fleet instances. + * The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. * * Instance type determines the computing resources that will be used to host your game servers, * including CPU, memory, storage, and networking capacity. See [Amazon Elastic Compute Cloud @@ -1481,8 +1691,8 @@ public open class CfnFleet( * Amazon EC2 instance types. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2instancetype) - * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use for all - * fleet instances. + * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 + * and container fleets. */ override fun ec2InstanceType(ec2InstanceType: String) { cdkBuilder.ec2InstanceType(ec2InstanceType) @@ -1511,7 +1721,7 @@ public open class CfnFleet( * you own or have access to. For more information about using the role with your game server * builds, see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolearn) * @param instanceRoleArn A unique identifier for an IAM role with access permissions to other @@ -1530,7 +1740,7 @@ public open class CfnFleet( * integrated with the server SDK version 5.x. For more information about using shared credentials, * see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolecredentialsprovider) * @param instanceRoleCredentialsProvider Indicates that fleet instances maintain a shared @@ -1545,17 +1755,18 @@ public open class CfnFleet( * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) * @param locations A set of remote locations to deploy additional instances to and manage as * part of the fleet. */ override fun locations(locations: IResolvable) { - cdkBuilder.locations(locations.let(IResolvable::unwrap)) + cdkBuilder.locations(locations.let(IResolvable.Companion::unwrap)) } /** @@ -1563,10 +1774,11 @@ public open class CfnFleet( * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) * @param locations A set of remote locations to deploy additional instances to and manage as @@ -1581,10 +1793,11 @@ public open class CfnFleet( * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) * @param locations A set of remote locations to deploy additional instances to and manage as @@ -1742,7 +1955,7 @@ public open class CfnFleet( * individual player can create on instances in this fleet within a specified span of time. */ override fun resourceCreationLimitPolicy(resourceCreationLimitPolicy: IResolvable) { - cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(IResolvable::unwrap)) + cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1755,7 +1968,7 @@ public open class CfnFleet( */ override fun resourceCreationLimitPolicy(resourceCreationLimitPolicy: ResourceCreationLimitPolicyProperty) { - cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(ResourceCreationLimitPolicyProperty::unwrap)) + cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(ResourceCreationLimitPolicyProperty.Companion::unwrap)) } /** @@ -1791,7 +2004,7 @@ public open class CfnFleet( * instances in the fleet. */ override fun runtimeConfiguration(runtimeConfiguration: IResolvable) { - cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1812,7 +2025,7 @@ public open class CfnFleet( * instances in the fleet. */ override fun runtimeConfiguration(runtimeConfiguration: RuntimeConfigurationProperty) { - cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(RuntimeConfigurationProperty::unwrap)) + cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(RuntimeConfigurationProperty.Companion::unwrap)) } /** @@ -1847,7 +2060,7 @@ public open class CfnFleet( * @param scalingPolicies Rule that controls how a fleet is scaled. */ override fun scalingPolicies(scalingPolicies: IResolvable) { - cdkBuilder.scalingPolicies(scalingPolicies.let(IResolvable::unwrap)) + cdkBuilder.scalingPolicies(scalingPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -1951,7 +2164,7 @@ public open class CfnFleet( } /** - * Amazon GameLift Anywhere configuration options for your Anywhere fleets. + * Amazon GameLift configuration options for your Anywhere fleets. * * Example: * @@ -2156,6 +2369,626 @@ public open class CfnFleet( } } + /** + * *This operation has been expanded to use with the Amazon GameLift containers feature, which is + * currently in public preview.*. + * + * The set of port numbers to open on each instance in a container fleet. Connection ports are + * used by inbound traffic to connect with processes that are running in containers on the fleet. + * + * *Part of:* `ContainerGroupsConfiguration` , `ContainerGroupsAttributes` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ConnectionPortRangeProperty connectionPortRangeProperty = ConnectionPortRangeProperty.builder() + * .fromPort(123) + * .toPort(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-connectionportrange.html) + */ + public interface ConnectionPortRangeProperty { + /** + * Starting value for the port range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-connectionportrange.html#cfn-gamelift-fleet-connectionportrange-fromport) + */ + public fun fromPort(): Number + + /** + * Ending value for the port. + * + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-connectionportrange.html#cfn-gamelift-fleet-connectionportrange-toport) + */ + public fun toPort(): Number + + /** + * A builder for [ConnectionPortRangeProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param fromPort Starting value for the port range. + */ + public fun fromPort(fromPort: Number) + + /** + * @param toPort Ending value for the port. + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + */ + public fun toPort(toPort: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty.Builder = + software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty.builder() + + /** + * @param fromPort Starting value for the port range. + */ + override fun fromPort(fromPort: Number) { + cdkBuilder.fromPort(fromPort) + } + + /** + * @param toPort Ending value for the port. + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + */ + override fun toPort(toPort: Number) { + cdkBuilder.toPort(toPort) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty, + ) : CdkObject(cdkObject), ConnectionPortRangeProperty { + /** + * Starting value for the port range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-connectionportrange.html#cfn-gamelift-fleet-connectionportrange-fromport) + */ + override fun fromPort(): Number = unwrap(this).getFromPort() + + /** + * Ending value for the port. + * + * Port numbers are end-inclusive. This value must be equal to or greater than `FromPort` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-connectionportrange.html#cfn-gamelift-fleet-connectionportrange-toport) + */ + override fun toPort(): Number = unwrap(this).getToPort() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ConnectionPortRangeProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty): + ConnectionPortRangeProperty = CdkObjectWrappers.wrap(cdkObject) as? + ConnectionPortRangeProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ConnectionPortRangeProperty): + software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty = (wrapped + as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnFleet.ConnectionPortRangeProperty + } + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with compute + * type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerGroupsConfigurationProperty containerGroupsConfigurationProperty = + * ContainerGroupsConfigurationProperty.builder() + * .connectionPortRange(ConnectionPortRangeProperty.builder() + * .fromPort(123) + * .toPort(123) + * .build()) + * .containerGroupDefinitionNames(List.of("containerGroupDefinitionNames")) + * // the properties below are optional + * .containerGroupsPerInstance(ContainerGroupsPerInstanceProperty.builder() + * .desiredReplicaContainerGroupsPerInstance(123) + * .maxReplicaContainerGroupsPerInstance(123) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html) + */ + public interface ContainerGroupsConfigurationProperty { + /** + * A set of ports to allow inbound traffic, including game clients, to connect to processes + * running in the container fleet. + * + * Connection ports are dynamically mapped to container ports, which are assigned to individual + * processes running in a container. The connection port range must have enough ports to map to all + * container ports across a fleet instance. To calculate the minimum connection ports needed, use + * the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] * + * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + * + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html#cfn-gamelift-fleet-containergroupsconfiguration-connectionportrange) + */ + public fun connectionPortRange(): Any + + /** + * The list of container group definition names to deploy to a new container fleet. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html#cfn-gamelift-fleet-containergroupsconfiguration-containergroupdefinitionnames) + */ + public fun containerGroupDefinitionNames(): List + + /** + * The number of container groups per instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html#cfn-gamelift-fleet-containergroupsconfiguration-containergroupsperinstance) + */ + public fun containerGroupsPerInstance(): Any? = unwrap(this).getContainerGroupsPerInstance() + + /** + * A builder for [ContainerGroupsConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param connectionPortRange A set of ports to allow inbound traffic, including game clients, + * to connect to processes running in the container fleet. + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + */ + public fun connectionPortRange(connectionPortRange: IResolvable) + + /** + * @param connectionPortRange A set of ports to allow inbound traffic, including game clients, + * to connect to processes running in the container fleet. + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + */ + public fun connectionPortRange(connectionPortRange: ConnectionPortRangeProperty) + + /** + * @param connectionPortRange A set of ports to allow inbound traffic, including game clients, + * to connect to processes running in the container fleet. + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8256fe27d6aba499e880add49f67dbdf7e1b301eba28490143e8d5d5706fa57e") + public + fun connectionPortRange(connectionPortRange: ConnectionPortRangeProperty.Builder.() -> Unit) + + /** + * @param containerGroupDefinitionNames The list of container group definition names to deploy + * to a new container fleet. + */ + public fun containerGroupDefinitionNames(containerGroupDefinitionNames: List) + + /** + * @param containerGroupDefinitionNames The list of container group definition names to deploy + * to a new container fleet. + */ + public fun containerGroupDefinitionNames(vararg containerGroupDefinitionNames: String) + + /** + * @param containerGroupsPerInstance The number of container groups per instance. + */ + public fun containerGroupsPerInstance(containerGroupsPerInstance: IResolvable) + + /** + * @param containerGroupsPerInstance The number of container groups per instance. + */ + public + fun containerGroupsPerInstance(containerGroupsPerInstance: ContainerGroupsPerInstanceProperty) + + /** + * @param containerGroupsPerInstance The number of container groups per instance. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e80e8e816644f3b8f51837a2cb59b23c6ef5d04e18de69310de91feb12cebbb3") + public + fun containerGroupsPerInstance(containerGroupsPerInstance: ContainerGroupsPerInstanceProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty.builder() + + /** + * @param connectionPortRange A set of ports to allow inbound traffic, including game clients, + * to connect to processes running in the container fleet. + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + */ + override fun connectionPortRange(connectionPortRange: IResolvable) { + cdkBuilder.connectionPortRange(connectionPortRange.let(IResolvable.Companion::unwrap)) + } + + /** + * @param connectionPortRange A set of ports to allow inbound traffic, including game clients, + * to connect to processes running in the container fleet. + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + */ + override fun connectionPortRange(connectionPortRange: ConnectionPortRangeProperty) { + cdkBuilder.connectionPortRange(connectionPortRange.let(ConnectionPortRangeProperty.Companion::unwrap)) + } + + /** + * @param connectionPortRange A set of ports to allow inbound traffic, including game clients, + * to connect to processes running in the container fleet. + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8256fe27d6aba499e880add49f67dbdf7e1b301eba28490143e8d5d5706fa57e") + override + fun connectionPortRange(connectionPortRange: ConnectionPortRangeProperty.Builder.() -> Unit): + Unit = connectionPortRange(ConnectionPortRangeProperty(connectionPortRange)) + + /** + * @param containerGroupDefinitionNames The list of container group definition names to deploy + * to a new container fleet. + */ + override fun containerGroupDefinitionNames(containerGroupDefinitionNames: List) { + cdkBuilder.containerGroupDefinitionNames(containerGroupDefinitionNames) + } + + /** + * @param containerGroupDefinitionNames The list of container group definition names to deploy + * to a new container fleet. + */ + override fun containerGroupDefinitionNames(vararg containerGroupDefinitionNames: String): Unit + = containerGroupDefinitionNames(containerGroupDefinitionNames.toList()) + + /** + * @param containerGroupsPerInstance The number of container groups per instance. + */ + override fun containerGroupsPerInstance(containerGroupsPerInstance: IResolvable) { + cdkBuilder.containerGroupsPerInstance(containerGroupsPerInstance.let(IResolvable.Companion::unwrap)) + } + + /** + * @param containerGroupsPerInstance The number of container groups per instance. + */ + override + fun containerGroupsPerInstance(containerGroupsPerInstance: ContainerGroupsPerInstanceProperty) { + cdkBuilder.containerGroupsPerInstance(containerGroupsPerInstance.let(ContainerGroupsPerInstanceProperty.Companion::unwrap)) + } + + /** + * @param containerGroupsPerInstance The number of container groups per instance. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e80e8e816644f3b8f51837a2cb59b23c6ef5d04e18de69310de91feb12cebbb3") + override + fun containerGroupsPerInstance(containerGroupsPerInstance: ContainerGroupsPerInstanceProperty.Builder.() -> Unit): + Unit = + containerGroupsPerInstance(ContainerGroupsPerInstanceProperty(containerGroupsPerInstance)) + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty, + ) : CdkObject(cdkObject), ContainerGroupsConfigurationProperty { + /** + * A set of ports to allow inbound traffic, including game clients, to connect to processes + * running in the container fleet. + * + * Connection ports are dynamically mapped to container ports, which are assigned to + * individual processes running in a container. The connection port range must have enough ports + * to map to all container ports across a fleet instance. To calculate the minimum connection + * ports needed, use the following formula: + * + * *[Total number of container ports as defined for containers in the replica container group] + * * [Desired or calculated number of replica container groups per instance] + [Total number of + * container ports as defined for containers in the daemon container group]* + * + * As a best practice, double the minimum number of connection ports. + * + * + * Use the fleet's `EC2InboundPermissions` property to control external access to connection + * ports. Set this property to the connection port numbers that you want to open access to. See + * `IpPermission` for more details. + * + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html#cfn-gamelift-fleet-containergroupsconfiguration-connectionportrange) + */ + override fun connectionPortRange(): Any = unwrap(this).getConnectionPortRange() + + /** + * The list of container group definition names to deploy to a new container fleet. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html#cfn-gamelift-fleet-containergroupsconfiguration-containergroupdefinitionnames) + */ + override fun containerGroupDefinitionNames(): List = + unwrap(this).getContainerGroupDefinitionNames() + + /** + * The number of container groups per instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsconfiguration.html#cfn-gamelift-fleet-containergroupsconfiguration-containergroupsperinstance) + */ + override fun containerGroupsPerInstance(): Any? = unwrap(this).getContainerGroupsPerInstance() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + ContainerGroupsConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty): + ContainerGroupsConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerGroupsConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerGroupsConfigurationProperty): + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsConfigurationProperty + } + } + + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Determines how many replica container groups that Amazon GameLift deploys to each instance in a + * container fleet. + * + * Amazon GameLift calculates the maximum possible replica groups per instance based on the + * instance 's CPU and memory resources. When deploying a fleet, Amazon GameLift places replica + * container groups on each fleet instance based on the following: + * + * * If no desired value is set, Amazon GameLift places the calculated maximum. + * * If a desired number is set to a value higher than the calculated maximum, fleet creation + * fails.. + * * If a desired number is set to a value lower than the calculated maximum, Amazon GameLift + * places the desired number. + * + * *Part of:* `ContainerGroupsConfiguration` , `ContainerGroupsAttributes` + * + * *Returned by:* `DescribeFleetAttributes` , `CreateFleet` + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.gamelift.*; + * ContainerGroupsPerInstanceProperty containerGroupsPerInstanceProperty = + * ContainerGroupsPerInstanceProperty.builder() + * .desiredReplicaContainerGroupsPerInstance(123) + * .maxReplicaContainerGroupsPerInstance(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsperinstance.html) + */ + public interface ContainerGroupsPerInstanceProperty { + /** + * The desired number of replica container groups to place on each fleet instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsperinstance.html#cfn-gamelift-fleet-containergroupsperinstance-desiredreplicacontainergroupsperinstance) + */ + public fun desiredReplicaContainerGroupsPerInstance(): Number? = + unwrap(this).getDesiredReplicaContainerGroupsPerInstance() + + /** + * The maximum possible number of replica container groups that each fleet instance can have. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsperinstance.html#cfn-gamelift-fleet-containergroupsperinstance-maxreplicacontainergroupsperinstance) + */ + public fun maxReplicaContainerGroupsPerInstance(): Number? = + unwrap(this).getMaxReplicaContainerGroupsPerInstance() + + /** + * A builder for [ContainerGroupsPerInstanceProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param desiredReplicaContainerGroupsPerInstance The desired number of replica container + * groups to place on each fleet instance. + */ + public + fun desiredReplicaContainerGroupsPerInstance(desiredReplicaContainerGroupsPerInstance: Number) + + /** + * @param maxReplicaContainerGroupsPerInstance The maximum possible number of replica + * container groups that each fleet instance can have. + */ + public fun maxReplicaContainerGroupsPerInstance(maxReplicaContainerGroupsPerInstance: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty.Builder + = + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty.builder() + + /** + * @param desiredReplicaContainerGroupsPerInstance The desired number of replica container + * groups to place on each fleet instance. + */ + override + fun desiredReplicaContainerGroupsPerInstance(desiredReplicaContainerGroupsPerInstance: Number) { + cdkBuilder.desiredReplicaContainerGroupsPerInstance(desiredReplicaContainerGroupsPerInstance) + } + + /** + * @param maxReplicaContainerGroupsPerInstance The maximum possible number of replica + * container groups that each fleet instance can have. + */ + override + fun maxReplicaContainerGroupsPerInstance(maxReplicaContainerGroupsPerInstance: Number) { + cdkBuilder.maxReplicaContainerGroupsPerInstance(maxReplicaContainerGroupsPerInstance) + } + + public fun build(): + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty, + ) : CdkObject(cdkObject), ContainerGroupsPerInstanceProperty { + /** + * The desired number of replica container groups to place on each fleet instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsperinstance.html#cfn-gamelift-fleet-containergroupsperinstance-desiredreplicacontainergroupsperinstance) + */ + override fun desiredReplicaContainerGroupsPerInstance(): Number? = + unwrap(this).getDesiredReplicaContainerGroupsPerInstance() + + /** + * The maximum possible number of replica container groups that each fleet instance can have. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-containergroupsperinstance.html#cfn-gamelift-fleet-containergroupsperinstance-maxreplicacontainergroupsperinstance) + */ + override fun maxReplicaContainerGroupsPerInstance(): Number? = + unwrap(this).getMaxReplicaContainerGroupsPerInstance() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + ContainerGroupsPerInstanceProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty): + ContainerGroupsPerInstanceProperty = CdkObjectWrappers.wrap(cdkObject) as? + ContainerGroupsPerInstanceProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ContainerGroupsPerInstanceProperty): + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.gamelift.CfnFleet.ContainerGroupsPerInstanceProperty + } + } + /** * A range of IP addresses and port settings that allow inbound traffic to connect to server * processes on an instance in a fleet. @@ -2370,16 +3203,16 @@ public open class CfnFleet( } /** - * Current resource capacity settings in a specified fleet or location. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its home + * Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * Example: @@ -2545,6 +3378,9 @@ public open class CfnFleet( } /** + * *This data type has been expanded to use with the Amazon GameLift containers feature, which is + * currently in public preview.*. + * * A remote location where a multi-location fleet can deploy game servers for game hosting. * * Example: @@ -2576,16 +3412,16 @@ public open class CfnFleet( public fun location(): String /** - * Current resource capacity settings in a specified fleet or location. - * - * The location value might refer to a fleet's remote location or its home Region. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationconfiguration.html#cfn-gamelift-fleet-locationconfiguration-locationcapacity) @@ -2603,46 +3439,46 @@ public open class CfnFleet( public fun location(location: String) /** - * @param locationCapacity Current resource capacity settings in a specified fleet or - * location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param locationCapacity Current resource capacity settings for managed EC2 fleets and + * container fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ public fun locationCapacity(locationCapacity: IResolvable) /** - * @param locationCapacity Current resource capacity settings in a specified fleet or - * location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param locationCapacity Current resource capacity settings for managed EC2 fleets and + * container fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ public fun locationCapacity(locationCapacity: LocationCapacityProperty) /** - * @param locationCapacity Current resource capacity settings in a specified fleet or - * location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param locationCapacity Current resource capacity settings for managed EC2 fleets and + * container fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -2663,50 +3499,50 @@ public open class CfnFleet( } /** - * @param locationCapacity Current resource capacity settings in a specified fleet or - * location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param locationCapacity Current resource capacity settings for managed EC2 fleets and + * container fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ override fun locationCapacity(locationCapacity: IResolvable) { - cdkBuilder.locationCapacity(locationCapacity.let(IResolvable::unwrap)) + cdkBuilder.locationCapacity(locationCapacity.let(IResolvable.Companion::unwrap)) } /** - * @param locationCapacity Current resource capacity settings in a specified fleet or - * location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param locationCapacity Current resource capacity settings for managed EC2 fleets and + * container fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ override fun locationCapacity(locationCapacity: LocationCapacityProperty) { - cdkBuilder.locationCapacity(locationCapacity.let(LocationCapacityProperty::unwrap)) + cdkBuilder.locationCapacity(locationCapacity.let(LocationCapacityProperty.Companion::unwrap)) } /** - * @param locationCapacity Current resource capacity settings in a specified fleet or - * location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param locationCapacity Current resource capacity settings for managed EC2 fleets and + * container fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -2730,16 +3566,16 @@ public open class CfnFleet( override fun location(): String = unwrap(this).getLocation() /** - * Current resource capacity settings in a specified fleet or location. - * - * The location value might refer to a fleet's remote location or its home Region. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationconfiguration.html#cfn-gamelift-fleet-locationconfiguration-locationcapacity) @@ -2963,7 +3799,7 @@ public open class CfnFleet( unwrap(this).getGameSessionActivationTimeoutSeconds() /** - * The number of game sessions in status `ACTIVATING` to allow on an instance. + * The number of game sessions in status `ACTIVATING` to allow on an instance or container. * * This setting limits the instance resources that can be used for new game activations at any * one time. @@ -2975,7 +3811,7 @@ public open class CfnFleet( /** * A collection of server process configurations that identify what server processes to run on - * each instance in a fleet. + * fleet computes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html#cfn-gamelift-fleet-runtimeconfiguration-serverprocesses) */ @@ -2997,7 +3833,7 @@ public open class CfnFleet( /** * @param maxConcurrentGameSessionActivations The number of game sessions in status - * `ACTIVATING` to allow on an instance. + * `ACTIVATING` to allow on an instance or container. * This setting limits the instance resources that can be used for new game activations at any * one time. */ @@ -3005,19 +3841,19 @@ public open class CfnFleet( /** * @param serverProcesses A collection of server process configurations that identify what - * server processes to run on each instance in a fleet. + * server processes to run on fleet computes. */ public fun serverProcesses(serverProcesses: IResolvable) /** * @param serverProcesses A collection of server process configurations that identify what - * server processes to run on each instance in a fleet. + * server processes to run on fleet computes. */ public fun serverProcesses(serverProcesses: List) /** * @param serverProcesses A collection of server process configurations that identify what - * server processes to run on each instance in a fleet. + * server processes to run on fleet computes. */ public fun serverProcesses(vararg serverProcesses: Any) } @@ -3041,7 +3877,7 @@ public open class CfnFleet( /** * @param maxConcurrentGameSessionActivations The number of game sessions in status - * `ACTIVATING` to allow on an instance. + * `ACTIVATING` to allow on an instance or container. * This setting limits the instance resources that can be used for new game activations at any * one time. */ @@ -3052,15 +3888,15 @@ public open class CfnFleet( /** * @param serverProcesses A collection of server process configurations that identify what - * server processes to run on each instance in a fleet. + * server processes to run on fleet computes. */ override fun serverProcesses(serverProcesses: IResolvable) { - cdkBuilder.serverProcesses(serverProcesses.let(IResolvable::unwrap)) + cdkBuilder.serverProcesses(serverProcesses.let(IResolvable.Companion::unwrap)) } /** * @param serverProcesses A collection of server process configurations that identify what - * server processes to run on each instance in a fleet. + * server processes to run on fleet computes. */ override fun serverProcesses(serverProcesses: List) { cdkBuilder.serverProcesses(serverProcesses.map{CdkObjectWrappers.unwrap(it)}) @@ -3068,7 +3904,7 @@ public open class CfnFleet( /** * @param serverProcesses A collection of server process configurations that identify what - * server processes to run on each instance in a fleet. + * server processes to run on fleet computes. */ override fun serverProcesses(vararg serverProcesses: Any): Unit = serverProcesses(serverProcesses.toList()) @@ -3095,7 +3931,7 @@ public open class CfnFleet( unwrap(this).getGameSessionActivationTimeoutSeconds() /** - * The number of game sessions in status `ACTIVATING` to allow on an instance. + * The number of game sessions in status `ACTIVATING` to allow on an instance or container. * * This setting limits the instance resources that can be used for new game activations at any * one time. @@ -3107,7 +3943,7 @@ public open class CfnFleet( /** * A collection of server process configurations that identify what server processes to run on - * each instance in a fleet. + * fleet computes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html#cfn-gamelift-fleet-runtimeconfiguration-serverprocesses) */ @@ -3561,7 +4397,7 @@ public open class CfnFleet( * policy. */ override fun targetConfiguration(targetConfiguration: IResolvable) { - cdkBuilder.targetConfiguration(targetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetConfiguration(targetConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3569,7 +4405,7 @@ public open class CfnFleet( * policy. */ override fun targetConfiguration(targetConfiguration: TargetConfigurationProperty) { - cdkBuilder.targetConfiguration(targetConfiguration.let(TargetConfigurationProperty::unwrap)) + cdkBuilder.targetConfiguration(targetConfiguration.let(TargetConfigurationProperty.Companion::unwrap)) } /** @@ -3788,7 +4624,7 @@ public open class CfnFleet( public interface ServerProcessProperty { /** * The number of server processes using this configuration that run concurrently on each - * instance. + * instance or container.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html#cfn-gamelift-fleet-serverprocess-concurrentexecutions) */ @@ -3831,7 +4667,7 @@ public open class CfnFleet( public interface Builder { /** * @param concurrentExecutions The number of server processes using this configuration that - * run concurrently on each instance. + * run concurrently on each instance or container.. */ public fun concurrentExecutions(concurrentExecutions: Number) @@ -3867,7 +4703,7 @@ public open class CfnFleet( /** * @param concurrentExecutions The number of server processes using this configuration that - * run concurrently on each instance. + * run concurrently on each instance or container.. */ override fun concurrentExecutions(concurrentExecutions: Number) { cdkBuilder.concurrentExecutions(concurrentExecutions) @@ -3910,7 +4746,7 @@ public open class CfnFleet( ) : CdkObject(cdkObject), ServerProcessProperty { /** * The number of server processes using this configuration that run concurrently on each - * instance. + * instance or container.. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html#cfn-gamelift-fleet-serverprocess-concurrentexecutions) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleetProps.kt index 99efa348e3..97f789dea7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnFleetProps.kt @@ -35,6 +35,18 @@ import kotlin.jvm.JvmName * .certificateType("certificateType") * .build()) * .computeType("computeType") + * .containerGroupsConfiguration(ContainerGroupsConfigurationProperty.builder() + * .connectionPortRange(ConnectionPortRangeProperty.builder() + * .fromPort(123) + * .toPort(123) + * .build()) + * .containerGroupDefinitionNames(List.of("containerGroupDefinitionNames")) + * // the properties below are optional + * .containerGroupsPerInstance(ContainerGroupsPerInstanceProperty.builder() + * .desiredReplicaContainerGroupsPerInstance(123) + * .maxReplicaContainerGroupsPerInstance(123) + * .build()) + * .build()) * .description("description") * .desiredEc2Instances(123) * .ec2InboundPermissions(List.of(IpPermissionProperty.builder() @@ -111,16 +123,16 @@ public interface CfnFleetProps { public fun anywhereConfiguration(): Any? = unwrap(this).getAnywhereConfiguration() /** - * Current resource capacity settings in a specified fleet or location. - * - * The location value might refer to a fleet's remote location or its home Region. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its home + * Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-applycapacity) @@ -164,13 +176,32 @@ public interface CfnFleetProps { /** * The type of compute resource used to host your game servers. * - * You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 - * instances with managed Amazon GameLift. By default, this property is set to `EC2` . + * * `EC2` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This is + * the default setting. + * * `CONTAINER` – Container images with your game server build and supporting software are + * deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the + * `ContainerGroupsConfiguration` parameter. + * * `ANYWHERE` – Game servers or container images with your game server and supporting software + * are deployed to compute resources that are provided and managed by you. With this compute type, + * you can also set the `AnywhereConfiguration` parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-computetype) */ public fun computeType(): String? = unwrap(this).getComputeType() + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with compute + * type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + */ + public fun containerGroupsConfiguration(): Any? = unwrap(this).getContainerGroupsConfiguration() + /** * A description for the fleet. * @@ -190,19 +221,25 @@ public interface CfnFleetProps { public fun desiredEc2Instances(): Number? = unwrap(this).getDesiredEc2Instances() /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP and - * UDP ranges. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) */ public fun ec2InboundPermissions(): Any? = unwrap(this).getEc2InboundPermissions() /** - * The Amazon GameLift-supported Amazon EC2 instance type to use for all fleet instances. + * The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. * * Instance type determines the computing resources that will be used to host your game servers, * including CPU, memory, storage, and networking capacity. See [Amazon Elastic Compute Cloud @@ -233,7 +270,7 @@ public interface CfnFleetProps { * own or have access to. For more information about using the role with your game server builds, see * [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolearn) */ @@ -248,7 +285,7 @@ public interface CfnFleetProps { * integrated with the server SDK version 5.x. For more information about using shared credentials, * see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolecredentialsprovider) */ @@ -260,10 +297,11 @@ public interface CfnFleetProps { * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the form - * of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home Region - * only, don't use this parameter. + * of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with instances in + * the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) */ @@ -457,15 +495,16 @@ public interface CfnFleetProps { fun anywhereConfiguration(anywhereConfiguration: CfnFleet.AnywhereConfigurationProperty.Builder.() -> Unit) /** - * @param applyCapacity Current resource capacity settings in a specified fleet or location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param applyCapacity Current resource capacity settings for managed EC2 fleets and container + * fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ public fun applyCapacity(applyCapacity: String) @@ -544,11 +583,51 @@ public interface CfnFleetProps { /** * @param computeType The type of compute resource used to host your game servers. - * You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 - * instances with managed Amazon GameLift. By default, this property is set to `EC2` . + * * `EC2` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This + * is the default setting. + * * `CONTAINER` – Container images with your game server build and supporting software are + * deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the + * `ContainerGroupsConfiguration` parameter. + * * `ANYWHERE` – Game servers or container images with your game server and supporting software + * are deployed to compute resources that are provided and managed by you. With this compute type, + * you can also set the `AnywhereConfiguration` parameter. */ public fun computeType(computeType: String) + /** + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + */ + public fun containerGroupsConfiguration(containerGroupsConfiguration: IResolvable) + + /** + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + */ + public + fun containerGroupsConfiguration(containerGroupsConfiguration: CfnFleet.ContainerGroupsConfigurationProperty) + + /** + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("4e29149ed4284507ad56fce0ddd8c9e3560181cff87428c226cb9bfc6cbc8db9") + public + fun containerGroupsConfiguration(containerGroupsConfiguration: CfnFleet.ContainerGroupsConfigurationProperty.Builder.() -> Unit) + /** * @param description A description for the fleet. */ @@ -563,35 +642,53 @@ public interface CfnFleetProps { public fun desiredEc2Instances(desiredEc2Instances: Number) /** - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. */ public fun ec2InboundPermissions(ec2InboundPermissions: IResolvable) /** - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. */ public fun ec2InboundPermissions(ec2InboundPermissions: List) /** - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. */ public fun ec2InboundPermissions(vararg ec2InboundPermissions: Any) /** - * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use for all - * fleet instances. + * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 + * and container fleets. * Instance type determines the computing resources that will be used to host your game servers, * including CPU, memory, storage, and networking capacity. See [Amazon Elastic Compute Cloud * Instance Types](https://docs.aws.amazon.com/ec2/instance-types/) for detailed descriptions of @@ -616,7 +713,7 @@ public interface CfnFleetProps { * you own or have access to. For more information about using the role with your game server * builds, see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". */ public fun instanceRoleArn(instanceRoleArn: String) @@ -628,7 +725,7 @@ public interface CfnFleetProps { * integrated with the server SDK version 5.x. For more information about using shared credentials, * see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". */ public fun instanceRoleCredentialsProvider(instanceRoleCredentialsProvider: String) @@ -637,10 +734,11 @@ public interface CfnFleetProps { * part of the fleet. * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. */ public fun locations(locations: IResolvable) @@ -649,10 +747,11 @@ public interface CfnFleetProps { * part of the fleet. * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. */ public fun locations(locations: List) @@ -661,10 +760,11 @@ public interface CfnFleetProps { * part of the fleet. * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. */ public fun locations(vararg locations: Any) @@ -880,7 +980,7 @@ public interface CfnFleetProps { * @param anywhereConfiguration Amazon GameLift Anywhere configuration options. */ override fun anywhereConfiguration(anywhereConfiguration: IResolvable) { - cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -888,7 +988,7 @@ public interface CfnFleetProps { */ override fun anywhereConfiguration(anywhereConfiguration: CfnFleet.AnywhereConfigurationProperty) { - cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(CfnFleet.AnywhereConfigurationProperty::unwrap)) + cdkBuilder.anywhereConfiguration(anywhereConfiguration.let(CfnFleet.AnywhereConfigurationProperty.Companion::unwrap)) } /** @@ -901,15 +1001,16 @@ public interface CfnFleetProps { Unit = anywhereConfiguration(CfnFleet.AnywhereConfigurationProperty(anywhereConfiguration)) /** - * @param applyCapacity Current resource capacity settings in a specified fleet or location. - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * @param applyCapacity Current resource capacity settings for managed EC2 fleets and container + * fleets. + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) */ override fun applyCapacity(applyCapacity: String) { @@ -945,7 +1046,7 @@ public interface CfnFleetProps { * Certificate Manager User Guide* . */ override fun certificateConfiguration(certificateConfiguration: IResolvable) { - cdkBuilder.certificateConfiguration(certificateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.certificateConfiguration(certificateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -968,7 +1069,7 @@ public interface CfnFleetProps { */ override fun certificateConfiguration(certificateConfiguration: CfnFleet.CertificateConfigurationProperty) { - cdkBuilder.certificateConfiguration(certificateConfiguration.let(CfnFleet.CertificateConfigurationProperty::unwrap)) + cdkBuilder.certificateConfiguration(certificateConfiguration.let(CfnFleet.CertificateConfigurationProperty.Companion::unwrap)) } /** @@ -998,13 +1099,59 @@ public interface CfnFleetProps { /** * @param computeType The type of compute resource used to host your game servers. - * You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 - * instances with managed Amazon GameLift. By default, this property is set to `EC2` . + * * `EC2` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This + * is the default setting. + * * `CONTAINER` – Container images with your game server build and supporting software are + * deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the + * `ContainerGroupsConfiguration` parameter. + * * `ANYWHERE` – Game servers or container images with your game server and supporting software + * are deployed to compute resources that are provided and managed by you. With this compute type, + * you can also set the `AnywhereConfiguration` parameter. */ override fun computeType(computeType: String) { cdkBuilder.computeType(computeType) } + /** + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + */ + override fun containerGroupsConfiguration(containerGroupsConfiguration: IResolvable) { + cdkBuilder.containerGroupsConfiguration(containerGroupsConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + */ + override + fun containerGroupsConfiguration(containerGroupsConfiguration: CfnFleet.ContainerGroupsConfigurationProperty) { + cdkBuilder.containerGroupsConfiguration(containerGroupsConfiguration.let(CfnFleet.ContainerGroupsConfigurationProperty.Companion::unwrap)) + } + + /** + * @param containerGroupsConfiguration *This data type is used with the Amazon GameLift + * containers feature, which is currently in public preview.*. + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("4e29149ed4284507ad56fce0ddd8c9e3560181cff87428c226cb9bfc6cbc8db9") + override + fun containerGroupsConfiguration(containerGroupsConfiguration: CfnFleet.ContainerGroupsConfigurationProperty.Builder.() -> Unit): + Unit = + containerGroupsConfiguration(CfnFleet.ContainerGroupsConfigurationProperty(containerGroupsConfiguration)) + /** * @param description A description for the fleet. */ @@ -1023,40 +1170,58 @@ public interface CfnFleetProps { } /** - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. */ override fun ec2InboundPermissions(ec2InboundPermissions: IResolvable) { - cdkBuilder.ec2InboundPermissions(ec2InboundPermissions.let(IResolvable::unwrap)) + cdkBuilder.ec2InboundPermissions(ec2InboundPermissions.let(IResolvable.Companion::unwrap)) } /** - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. */ override fun ec2InboundPermissions(ec2InboundPermissions: List) { cdkBuilder.ec2InboundPermissions(ec2InboundPermissions.map{CdkObjectWrappers.unwrap(it)}) } /** - * @param ec2InboundPermissions The allowed IP address ranges and port settings that allow - * inbound traffic to access game sessions on this fleet. - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * @param ec2InboundPermissions The IP address ranges and port settings that allow inbound + * traffic to access game server processes and other processes on this fleet. + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. + * + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. */ override fun ec2InboundPermissions(vararg ec2InboundPermissions: Any): Unit = ec2InboundPermissions(ec2InboundPermissions.toList()) /** - * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use for all - * fleet instances. + * @param ec2InstanceType The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 + * and container fleets. * Instance type determines the computing resources that will be used to host your game servers, * including CPU, memory, storage, and networking capacity. See [Amazon Elastic Compute Cloud * Instance Types](https://docs.aws.amazon.com/ec2/instance-types/) for detailed descriptions of @@ -1085,7 +1250,7 @@ public interface CfnFleetProps { * you own or have access to. For more information about using the role with your game server * builds, see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". */ override fun instanceRoleArn(instanceRoleArn: String) { cdkBuilder.instanceRoleArn(instanceRoleArn) @@ -1099,7 +1264,7 @@ public interface CfnFleetProps { * integrated with the server SDK version 5.x. For more information about using shared credentials, * see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". */ override fun instanceRoleCredentialsProvider(instanceRoleCredentialsProvider: String) { cdkBuilder.instanceRoleCredentialsProvider(instanceRoleCredentialsProvider) @@ -1110,13 +1275,14 @@ public interface CfnFleetProps { * part of the fleet. * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. */ override fun locations(locations: IResolvable) { - cdkBuilder.locations(locations.let(IResolvable::unwrap)) + cdkBuilder.locations(locations.let(IResolvable.Companion::unwrap)) } /** @@ -1124,10 +1290,11 @@ public interface CfnFleetProps { * part of the fleet. * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. */ override fun locations(locations: List) { cdkBuilder.locations(locations.map{CdkObjectWrappers.unwrap(it)}) @@ -1138,10 +1305,11 @@ public interface CfnFleetProps { * part of the fleet. * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. */ override fun locations(vararg locations: Any): Unit = locations(locations.toList()) @@ -1250,7 +1418,7 @@ public interface CfnFleetProps { * individual player can create on instances in this fleet within a specified span of time. */ override fun resourceCreationLimitPolicy(resourceCreationLimitPolicy: IResolvable) { - cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(IResolvable::unwrap)) + cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1259,7 +1427,7 @@ public interface CfnFleetProps { */ override fun resourceCreationLimitPolicy(resourceCreationLimitPolicy: CfnFleet.ResourceCreationLimitPolicyProperty) { - cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(CfnFleet.ResourceCreationLimitPolicyProperty::unwrap)) + cdkBuilder.resourceCreationLimitPolicy(resourceCreationLimitPolicy.let(CfnFleet.ResourceCreationLimitPolicyProperty.Companion::unwrap)) } /** @@ -1286,7 +1454,7 @@ public interface CfnFleetProps { * for backward compatibility. */ override fun runtimeConfiguration(runtimeConfiguration: IResolvable) { - cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1302,7 +1470,7 @@ public interface CfnFleetProps { * for backward compatibility. */ override fun runtimeConfiguration(runtimeConfiguration: CfnFleet.RuntimeConfigurationProperty) { - cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(CfnFleet.RuntimeConfigurationProperty::unwrap)) + cdkBuilder.runtimeConfiguration(runtimeConfiguration.let(CfnFleet.RuntimeConfigurationProperty.Companion::unwrap)) } /** @@ -1328,7 +1496,7 @@ public interface CfnFleetProps { * Scaling policies are uniquely identified by the combination of name and fleet ID. */ override fun scalingPolicies(scalingPolicies: IResolvable) { - cdkBuilder.scalingPolicies(scalingPolicies.let(IResolvable::unwrap)) + cdkBuilder.scalingPolicies(scalingPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -1401,16 +1569,16 @@ public interface CfnFleetProps { override fun anywhereConfiguration(): Any? = unwrap(this).getAnywhereConfiguration() /** - * Current resource capacity settings in a specified fleet or location. + * Current resource capacity settings for managed EC2 fleets and container fleets. * - * The location value might refer to a fleet's remote location or its home Region. - * - * *Related actions* + * For multi-location fleets, location values might refer to a fleet's remote location or its + * home Region. * + * *Returned by:* * [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) - * | + * , * [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) - * | + * , * [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-applycapacity) @@ -1454,13 +1622,33 @@ public interface CfnFleetProps { /** * The type of compute resource used to host your game servers. * - * You can use your own compute resources with Amazon GameLift Anywhere or use Amazon EC2 - * instances with managed Amazon GameLift. By default, this property is set to `EC2` . + * * `EC2` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This + * is the default setting. + * * `CONTAINER` – Container images with your game server build and supporting software are + * deployed to Amazon EC2 instances for cloud hosting. With this compute type, you must specify the + * `ContainerGroupsConfiguration` parameter. + * * `ANYWHERE` – Game servers or container images with your game server and supporting software + * are deployed to compute resources that are provided and managed by you. With this compute type, + * you can also set the `AnywhereConfiguration` parameter. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-computetype) */ override fun computeType(): String? = unwrap(this).getComputeType() + /** + * *This data type is used with the Amazon GameLift containers feature, which is currently in + * public preview.*. + * + * Configuration details for a set of container groups, for use when creating a fleet with + * compute type `CONTAINER` . + * + * *Used with:* `CreateFleet` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-containergroupsconfiguration) + */ + override fun containerGroupsConfiguration(): Any? = + unwrap(this).getContainerGroupsConfiguration() + /** * A description for the fleet. * @@ -1480,19 +1668,25 @@ public interface CfnFleetProps { override fun desiredEc2Instances(): Number? = unwrap(this).getDesiredEc2Instances() /** - * The allowed IP address ranges and port settings that allow inbound traffic to access game - * sessions on this fleet. + * The IP address ranges and port settings that allow inbound traffic to access game server + * processes and other processes on this fleet. + * + * Set this parameter for EC2 and container fleets. You can leave this parameter empty when + * creating the fleet, but you must call `UpdateFleetPortSettings` to set it before players can + * connect to game sessions. As a best practice, we recommend opening ports for remote access only + * when you need them and closing them when you're finished. For Realtime Servers fleets, Amazon + * GameLift automatically sets TCP and UDP ranges. * - * If the fleet is hosting a custom game build, this property must be set before players can - * connect to game sessions. For Realtime Servers fleets, Amazon GameLift automatically sets TCP - * and UDP ranges. + * To manage inbound access for a container fleet, set this parameter to the same port numbers + * that you set for the fleet's connection port range. During the life of the fleet, update this + * parameter to control which connection ports are open to inbound traffic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions) */ override fun ec2InboundPermissions(): Any? = unwrap(this).getEc2InboundPermissions() /** - * The Amazon GameLift-supported Amazon EC2 instance type to use for all fleet instances. + * The Amazon GameLift-supported Amazon EC2 instance type to use with EC2 and container fleets. * * Instance type determines the computing resources that will be used to host your game servers, * including CPU, memory, storage, and networking capacity. See [Amazon Elastic Compute Cloud @@ -1523,7 +1717,7 @@ public interface CfnFleetProps { * you own or have access to. For more information about using the role with your game server * builds, see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolearn) */ @@ -1538,7 +1732,7 @@ public interface CfnFleetProps { * integrated with the server SDK version 5.x. For more information about using shared credentials, * see [Communicate with other AWS resources from your * fleets](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html) - * . + * . This attribute is used with fleets where `ComputeType` is "EC2" or "Container". * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolecredentialsprovider) */ @@ -1550,10 +1744,11 @@ public interface CfnFleetProps { * * This parameter can only be used when creating fleets in AWS Regions that support multiple * locations. You can add any Amazon GameLift-supported AWS Region as a remote location, in the - * form of an AWS Region code such as `us-west-2` . To create a fleet with instances in the home - * Region only, don't use this parameter. + * form of an AWS Region code, such as `us-west-2` or Local Zone code. To create a fleet with + * instances in the home Region only, don't set this parameter. * - * To use this parameter, Amazon GameLift requires you to use your home location in the request. + * When using this parameter, Amazon GameLift requires you to include your home location in the + * request. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroup.kt index 659db59708..35cd64a307 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroup.kt @@ -109,8 +109,8 @@ public open class CfnGameServerGroup( id: String, props: CfnGameServerGroupProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnGameServerGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGameServerGroupProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnGameServerGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGameServerGroupProps.Companion::unwrap)) ) public constructor( @@ -141,7 +141,7 @@ public open class CfnGameServerGroup( * for game hosting. */ public open fun autoScalingPolicy(`value`: IResolvable) { - unwrap(this).setAutoScalingPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoScalingPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnGameServerGroup( * for game hosting. */ public open fun autoScalingPolicy(`value`: AutoScalingPolicyProperty) { - unwrap(this).setAutoScalingPolicy(`value`.let(AutoScalingPolicyProperty::unwrap)) + unwrap(this).setAutoScalingPolicy(`value`.let(AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnGameServerGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnGameServerGroup( * automatically scaling instances in the corresponding Auto Scaling group. */ public open fun instanceDefinitions(`value`: IResolvable) { - unwrap(this).setInstanceDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnGameServerGroup( * deployed to all instances in the game server group. */ public open fun launchTemplate(`value`: IResolvable) { - unwrap(this).setLaunchTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnGameServerGroup( * deployed to all instances in the game server group. */ public open fun launchTemplate(`value`: LaunchTemplateProperty) { - unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateProperty::unwrap)) + unwrap(this).setLaunchTemplate(`value`.let(LaunchTemplateProperty.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class CfnGameServerGroup( * A list of labels to assign to the new game server group resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public open class CfnGameServerGroup( * Scaling group that is optimized for game hosting. */ override fun autoScalingPolicy(autoScalingPolicy: IResolvable) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public open class CfnGameServerGroup( * Scaling group that is optimized for game hosting. */ override fun autoScalingPolicy(autoScalingPolicy: AutoScalingPolicyProperty) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public open class CfnGameServerGroup( * group. */ override fun instanceDefinitions(instanceDefinitions: IResolvable) { - cdkBuilder.instanceDefinitions(instanceDefinitions.let(IResolvable::unwrap)) + cdkBuilder.instanceDefinitions(instanceDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public open class CfnGameServerGroup( * game server code to be deployed to all instances in the game server group. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -898,7 +898,7 @@ public open class CfnGameServerGroup( * game server code to be deployed to all instances in the game server group. */ override fun launchTemplate(launchTemplate: LaunchTemplateProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(LaunchTemplateProperty.Companion::unwrap)) } /** @@ -983,7 +983,7 @@ public open class CfnGameServerGroup( * @param tags A list of labels to assign to the new game server group resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1179,7 +1179,7 @@ public open class CfnGameServerGroup( * returns to the target value. */ override fun targetTrackingConfiguration(targetTrackingConfiguration: IResolvable) { - cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1192,7 +1192,7 @@ public open class CfnGameServerGroup( */ override fun targetTrackingConfiguration(targetTrackingConfiguration: TargetTrackingConfigurationProperty) { - cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(TargetTrackingConfigurationProperty::unwrap)) + cdkBuilder.targetTrackingConfiguration(targetTrackingConfiguration.let(TargetTrackingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroupProps.kt index a6c48170b8..f5f39dba63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameServerGroupProps.kt @@ -459,7 +459,7 @@ public interface CfnGameServerGroupProps { * APIs. */ override fun autoScalingPolicy(autoScalingPolicy: IResolvable) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public interface CfnGameServerGroupProps { */ override fun autoScalingPolicy(autoScalingPolicy: CfnGameServerGroup.AutoScalingPolicyProperty) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(CfnGameServerGroup.AutoScalingPolicyProperty::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(CfnGameServerGroup.AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface CfnGameServerGroupProps { * group. */ override fun instanceDefinitions(instanceDefinitions: IResolvable) { - cdkBuilder.instanceDefinitions(instanceDefinitions.let(IResolvable::unwrap)) + cdkBuilder.instanceDefinitions(instanceDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public interface CfnGameServerGroupProps { * launch template, Amazon GameLift FleetIQ uses your account's default VPC. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public interface CfnGameServerGroupProps { * launch template, Amazon GameLift FleetIQ uses your account's default VPC. */ override fun launchTemplate(launchTemplate: CfnGameServerGroup.LaunchTemplateProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(CfnGameServerGroup.LaunchTemplateProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(CfnGameServerGroup.LaunchTemplateProperty.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public interface CfnGameServerGroupProps { * lower than stated. See the AWS General Reference for actual tagging limits. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueue.kt index 555f72e4fd..b70765f5c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueue.kt @@ -74,8 +74,8 @@ public open class CfnGameSessionQueue( id: String, props: CfnGameSessionQueueProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnGameSessionQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGameSessionQueueProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnGameSessionQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGameSessionQueueProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnGameSessionQueue( * requests in the queue. */ public open fun destinations(`value`: IResolvable) { - unwrap(this).setDestinations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -146,14 +146,14 @@ public open class CfnGameSessionQueue( * A list of locations where a queue is allowed to place new game sessions. */ public open fun filterConfiguration(`value`: IResolvable) { - unwrap(this).setFilterConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilterConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of locations where a queue is allowed to place new game sessions. */ public open fun filterConfiguration(`value`: FilterConfigurationProperty) { - unwrap(this).setFilterConfiguration(`value`.let(FilterConfigurationProperty::unwrap)) + unwrap(this).setFilterConfiguration(`value`.let(FilterConfigurationProperty.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnGameSessionQueue( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnGameSessionQueue( * A set of policies that act as a sliding cap on player latency. */ public open fun playerLatencyPolicies(`value`: IResolvable) { - unwrap(this).setPlayerLatencyPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlayerLatencyPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class CfnGameSessionQueue( * placements. */ public open fun priorityConfiguration(`value`: IResolvable) { - unwrap(this).setPriorityConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPriorityConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnGameSessionQueue( * placements. */ public open fun priorityConfiguration(`value`: PriorityConfigurationProperty) { - unwrap(this).setPriorityConfiguration(`value`.let(PriorityConfigurationProperty::unwrap)) + unwrap(this).setPriorityConfiguration(`value`.let(PriorityConfigurationProperty.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnGameSessionQueue( * A list of labels to assign to the new game session queue resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class CfnGameSessionQueue( * session placement requests in the queue. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnGameSessionQueue( * sessions. */ override fun filterConfiguration(filterConfiguration: IResolvable) { - cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class CfnGameSessionQueue( * sessions. */ override fun filterConfiguration(filterConfiguration: FilterConfigurationProperty) { - cdkBuilder.filterConfiguration(filterConfiguration.let(FilterConfigurationProperty::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(FilterConfigurationProperty.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public open class CfnGameSessionQueue( * @param playerLatencyPolicies A set of policies that act as a sliding cap on player latency. */ override fun playerLatencyPolicies(playerLatencyPolicies: IResolvable) { - cdkBuilder.playerLatencyPolicies(playerLatencyPolicies.let(IResolvable::unwrap)) + cdkBuilder.playerLatencyPolicies(playerLatencyPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public open class CfnGameSessionQueue( * locations for game session placements. */ override fun priorityConfiguration(priorityConfiguration: IResolvable) { - cdkBuilder.priorityConfiguration(priorityConfiguration.let(IResolvable::unwrap)) + cdkBuilder.priorityConfiguration(priorityConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnGameSessionQueue( * locations for game session placements. */ override fun priorityConfiguration(priorityConfiguration: PriorityConfigurationProperty) { - cdkBuilder.priorityConfiguration(priorityConfiguration.let(PriorityConfigurationProperty::unwrap)) + cdkBuilder.priorityConfiguration(priorityConfiguration.let(PriorityConfigurationProperty.Companion::unwrap)) } /** @@ -762,7 +762,7 @@ public open class CfnGameSessionQueue( * @param tags A list of labels to assign to the new game session queue resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueueProps.kt index 955b286e14..b040be580a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnGameSessionQueueProps.kt @@ -330,7 +330,7 @@ public interface CfnGameSessionQueueProps { * order of placement preference. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface CfnGameSessionQueueProps { * parameter is not set, game sessions can be placed in any queue location. */ override fun filterConfiguration(filterConfiguration: IResolvable) { - cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface CfnGameSessionQueueProps { */ override fun filterConfiguration(filterConfiguration: CfnGameSessionQueue.FilterConfigurationProperty) { - cdkBuilder.filterConfiguration(filterConfiguration.let(CfnGameSessionQueue.FilterConfigurationProperty::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(CfnGameSessionQueue.FilterConfigurationProperty.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface CfnGameSessionQueueProps { * are applied based on their maximum allowed latency, starting with the lowest value. */ override fun playerLatencyPolicies(playerLatencyPolicies: IResolvable) { - cdkBuilder.playerLatencyPolicies(playerLatencyPolicies.let(IResolvable::unwrap)) + cdkBuilder.playerLatencyPolicies(playerLatencyPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public interface CfnGameSessionQueueProps { * are not explicitly named will be automatically applied at the end of the prioritization process. */ override fun priorityConfiguration(priorityConfiguration: IResolvable) { - cdkBuilder.priorityConfiguration(priorityConfiguration.let(IResolvable::unwrap)) + cdkBuilder.priorityConfiguration(priorityConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public interface CfnGameSessionQueueProps { */ override fun priorityConfiguration(priorityConfiguration: CfnGameSessionQueue.PriorityConfigurationProperty) { - cdkBuilder.priorityConfiguration(priorityConfiguration.let(CfnGameSessionQueue.PriorityConfigurationProperty::unwrap)) + cdkBuilder.priorityConfiguration(priorityConfiguration.let(CfnGameSessionQueue.PriorityConfigurationProperty.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface CfnGameSessionQueueProps { * stated. See the AWS General Reference for actual tagging limits. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocation.kt index 9e7ecf1966..e3a1a24491 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocation.kt @@ -44,8 +44,8 @@ public open class CfnLocation( id: String, props: CfnLocationProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnLocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLocationProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnLocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLocationProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnLocation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public open class CfnLocation( * A list of labels to assign to the new matchmaking configuration resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnLocation( * @param tags A list of labels to assign to the new matchmaking configuration resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocationProps.kt index 8a30c9999f..5bef4319dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnLocationProps.kt @@ -99,7 +99,7 @@ public interface CfnLocationProps { * Rareference* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfiguration.kt index 6693ab8fb5..d47d43e36d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfiguration.kt @@ -77,8 +77,8 @@ public open class CfnMatchmakingConfiguration( id: String, props: CfnMatchmakingConfigurationProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnMatchmakingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMatchmakingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnMatchmakingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMatchmakingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnMatchmakingConfiguration( * accepted by the matched players. */ public open fun acceptanceRequired(`value`: IResolvable) { - unwrap(this).setAcceptanceRequired(`value`.let(IResolvable::unwrap)) + unwrap(this).setAcceptanceRequired(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnMatchmakingConfiguration( * A set of custom properties for a game session, formatted as key-value pairs. */ public open fun gameProperties(`value`: IResolvable) { - unwrap(this).setGameProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setGameProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class CfnMatchmakingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public open class CfnMatchmakingConfiguration( * A list of labels to assign to the new matchmaking configuration resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnMatchmakingConfiguration( * configuration must be accepted by the matched players. */ override fun acceptanceRequired(acceptanceRequired: IResolvable) { - cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable::unwrap)) + cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public open class CfnMatchmakingConfiguration( * pairs. */ override fun gameProperties(gameProperties: IResolvable) { - cdkBuilder.gameProperties(gameProperties.let(IResolvable::unwrap)) + cdkBuilder.gameProperties(gameProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1014,7 +1014,7 @@ public open class CfnMatchmakingConfiguration( * @param tags A list of labels to assign to the new matchmaking configuration resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfigurationProps.kt index 071891e71e..2bf1f4c924 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingConfigurationProps.kt @@ -468,7 +468,7 @@ public interface CfnMatchmakingConfigurationProps { * acceptance. */ override fun acceptanceRequired(acceptanceRequired: IResolvable) { - cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable::unwrap)) + cdkBuilder.acceptanceRequired(acceptanceRequired.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface CfnMatchmakingConfigurationProps { * . This parameter is not used if `FlexMatchMode` is set to `STANDALONE` . */ override fun gameProperties(gameProperties: IResolvable) { - cdkBuilder.gameProperties(gameProperties.let(IResolvable::unwrap)) + cdkBuilder.gameProperties(gameProperties.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public interface CfnMatchmakingConfigurationProps { * stated. See the AWS General Reference for actual tagging limits. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSet.kt index 3b46717ee9..bb14ca1bb5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSet.kt @@ -64,8 +64,8 @@ public open class CfnMatchmakingRuleSet( id: String, props: CfnMatchmakingRuleSetProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnMatchmakingRuleSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMatchmakingRuleSetProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnMatchmakingRuleSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMatchmakingRuleSetProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnMatchmakingRuleSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnMatchmakingRuleSet( * A list of labels to assign to the new matchmaking rule set resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnMatchmakingRuleSet( * @param tags A list of labels to assign to the new matchmaking rule set resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSetProps.kt index 15cbfa013d..5cb1b9a37f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnMatchmakingRuleSetProps.kt @@ -139,7 +139,7 @@ public interface CfnMatchmakingRuleSetProps { * stated. See the AWS General Reference for actual tagging limits. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScript.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScript.kt index 0d49d0159a..9ff1b06815 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScript.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScript.kt @@ -63,8 +63,8 @@ public open class CfnScript( id: String, props: CfnScriptProps, ) : - this(software.amazon.awscdk.services.gamelift.CfnScript(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScriptProps::unwrap)) + this(software.amazon.awscdk.services.gamelift.CfnScript(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScriptProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnScript( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnScript( * stored. */ public open fun storageLocation(`value`: IResolvable) { - unwrap(this).setStorageLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageLocation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnScript( * stored. */ public open fun storageLocation(`value`: S3LocationProperty) { - unwrap(this).setStorageLocation(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setStorageLocation(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnScript( * A list of labels to assign to the new script resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnScript( * your Realtime scripts is stored. */ override fun storageLocation(storageLocation: IResolvable) { - cdkBuilder.storageLocation(storageLocation.let(IResolvable::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(IResolvable.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnScript( * your Realtime scripts is stored. */ override fun storageLocation(storageLocation: S3LocationProperty) { - cdkBuilder.storageLocation(storageLocation.let(S3LocationProperty::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(S3LocationProperty.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnScript( * @param tags A list of labels to assign to the new script resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScriptProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScriptProps.kt index 2026128cd9..703021358e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScriptProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/gamelift/CfnScriptProps.kt @@ -186,7 +186,7 @@ public interface CfnScriptProps { * you can use the `ObjectVersion` parameter to specify an earlier version. */ override fun storageLocation(storageLocation: IResolvable) { - cdkBuilder.storageLocation(storageLocation.let(IResolvable::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(IResolvable.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public interface CfnScriptProps { * you can use the `ObjectVersion` parameter to specify an earlier version. */ override fun storageLocation(storageLocation: CfnScript.S3LocationProperty) { - cdkBuilder.storageLocation(storageLocation.let(CfnScript.S3LocationProperty::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(CfnScript.S3LocationProperty.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface CfnScriptProps { * stated. See the AWS General Reference for actual tagging limits. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Accelerator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Accelerator.kt index b31efd0d67..83091344e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Accelerator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Accelerator.kt @@ -50,7 +50,7 @@ public open class Accelerator( cdkObject: software.amazon.awscdk.services.globalaccelerator.Accelerator, ) : Resource(cdkObject), IAccelerator { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.globalaccelerator.Accelerator(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.globalaccelerator.Accelerator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -59,8 +59,8 @@ public open class Accelerator( id: String, props: AcceleratorProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.Accelerator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AcceleratorProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.Accelerator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AcceleratorProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,8 @@ public open class Accelerator( * @param options */ public open fun addListener(id: String, options: ListenerOptions): Listener = - unwrap(this).addListener(id, options.let(ListenerOptions::unwrap)).let(Listener::wrap) + unwrap(this).addListener(id, + options.let(ListenerOptions.Companion::unwrap)).let(Listener::wrap) /** * Add a listener to the accelerator. @@ -241,7 +242,7 @@ public open class Accelerator( * @param ipAddressType The IP address type that an accelerator supports. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** @@ -306,8 +307,8 @@ public open class Accelerator( id: String, attrs: AcceleratorAttributes, ): IAccelerator = - software.amazon.awscdk.services.globalaccelerator.Accelerator.fromAcceleratorAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(AcceleratorAttributes::unwrap)).let(IAccelerator::wrap) + software.amazon.awscdk.services.globalaccelerator.Accelerator.fromAcceleratorAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(AcceleratorAttributes.Companion::unwrap)).let(IAccelerator::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8baed08c541ab0b2afcc742de4fe7296b53dea3fc9b6ce5fdfb9dc99c2a62385") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/AcceleratorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/AcceleratorProps.kt index 561cbdb1be..8c53e77246 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/AcceleratorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/AcceleratorProps.kt @@ -156,7 +156,7 @@ public interface AcceleratorProps { * For a standard accelerator, the value can be IPV4 or DUAL_STACK. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAccelerator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAccelerator.kt index 1fe41f6fac..2443335252 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAccelerator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAccelerator.kt @@ -55,8 +55,8 @@ public open class CfnAccelerator( id: String, props: CfnAcceleratorProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.CfnAccelerator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAcceleratorProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.CfnAccelerator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAcceleratorProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnAccelerator( * The value is true or false. The default value is true. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnAccelerator( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnAccelerator( * Create tags for an accelerator. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnAccelerator( * default value is true. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnAccelerator( * @param tags Create tags for an accelerator. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAcceleratorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAcceleratorProps.kt index 7bd5739852..9d03638edf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAcceleratorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnAcceleratorProps.kt @@ -216,7 +216,7 @@ public interface CfnAcceleratorProps { * can be deleted. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface CfnAcceleratorProps { * in the *AWS Global Accelerator Developer Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachment.kt index 1cab3984e8..0e149b198a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachment.kt @@ -76,8 +76,8 @@ public open class CfnCrossAccountAttachment( id: String, props: CfnCrossAccountAttachmentProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.CfnCrossAccountAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCrossAccountAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.CfnCrossAccountAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCrossAccountAttachmentProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnCrossAccountAttachment( ) /** - * The Amazon Resource Name (ARN) of the attachment. + * The Amazon Resource Name (ARN) of the cross-account attachment. */ public open fun attrAttachmentArn(): String = unwrap(this).getAttrAttachmentArn() @@ -104,76 +104,76 @@ public open class CfnCrossAccountAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** - * The Friendly identifier of the attachment. + * The name of the cross-account attachment. */ public open fun name(): String = unwrap(this).getName() /** - * The Friendly identifier of the attachment. + * The name of the cross-account attachment. */ public open fun name(`value`: String) { unwrap(this).setName(`value`) } /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. */ public open fun principals(): List = unwrap(this).getPrincipals() ?: emptyList() /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. */ public open fun principals(`value`: List) { unwrap(this).setPrincipals(`value`) } /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. */ public open fun principals(vararg `value`: String): Unit = principals(`value`.toList()) /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. */ public open fun resources(): Any? = unwrap(this).getResources() /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. */ public open fun resources(`value`: IResolvable) { - unwrap(this).setResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setResources(`value`.let(IResolvable.Companion::unwrap)) } /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. */ public open fun resources(`value`: List) { unwrap(this).setResources(`value`.map{CdkObjectWrappers.unwrap(it)}) } /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. */ public open fun resources(vararg `value`: Any): Unit = resources(`value`.toList()) /** - * + * Add tags for a cross-account attachment. */ public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() /** - * + * Add tags for a cross-account attachment. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** - * + * Add tags for a cross-account attachment. */ public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) @@ -184,62 +184,74 @@ public open class CfnCrossAccountAttachment( @CdkDslMarker public interface Builder { /** - * The Friendly identifier of the attachment. + * The name of the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-name) - * @param name The Friendly identifier of the attachment. + * @param name The name of the cross-account attachment. */ public fun name(name: String) /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-principals) - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ public fun principals(principals: List) /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-principals) - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ public fun principals(vararg principals: String) /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ public fun resources(resources: IResolvable) /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ public fun resources(resources: List) /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ public fun resources(vararg resources: Any) /** + * Add tags for a cross-account attachment. + * + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-tags) - * @param tags + * @param tags Add tags for a cross-account attachment. */ public fun tags(tags: List) /** + * Add tags for a cross-account attachment. + * + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-tags) - * @param tags + * @param tags Add tags for a cross-account attachment. */ public fun tags(vararg tags: CfnTag) } @@ -254,72 +266,84 @@ public open class CfnCrossAccountAttachment( id) /** - * The Friendly identifier of the attachment. + * The name of the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-name) - * @param name The Friendly identifier of the attachment. + * @param name The name of the cross-account attachment. */ override fun name(name: String) { cdkBuilder.name(name) } /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-principals) - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ override fun principals(principals: List) { cdkBuilder.principals(principals) } /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-principals) - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ override fun principals(vararg principals: String): Unit = principals(principals.toList()) /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ override fun resources(resources: List) { cdkBuilder.resources(resources.map{CdkObjectWrappers.unwrap(it)}) } /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ override fun resources(vararg resources: Any): Unit = resources(resources.toList()) /** + * Add tags for a cross-account attachment. + * + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-tags) - * @param tags + * @param tags Add tags for a cross-account attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** + * Add tags for a cross-account attachment. + * + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-tags) - * @param tags + * @param tags Add tags for a cross-account attachment. */ override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachmentProps.kt index 00db3aa09d..bd640831ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnCrossAccountAttachmentProps.kt @@ -42,27 +42,33 @@ import kotlin.collections.List */ public interface CfnCrossAccountAttachmentProps { /** - * The Friendly identifier of the attachment. + * The name of the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-name) */ public fun name(): String /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-principals) */ public fun principals(): List = unwrap(this).getPrincipals() ?: emptyList() /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) */ public fun resources(): Any? = unwrap(this).getResources() /** + * Add tags for a cross-account attachment. + * + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-tags) */ public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() @@ -73,42 +79,48 @@ public interface CfnCrossAccountAttachmentProps { @CdkDslMarker public interface Builder { /** - * @param name The Friendly identifier of the attachment. + * @param name The name of the cross-account attachment. */ public fun name(name: String) /** - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ public fun principals(principals: List) /** - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ public fun principals(vararg principals: String) /** - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ public fun resources(resources: IResolvable) /** - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ public fun resources(resources: List) /** - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ public fun resources(vararg resources: Any) /** - * @param tags the value to be set. + * @param tags Add tags for a cross-account attachment. + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . */ public fun tags(tags: List) /** - * @param tags the value to be set. + * @param tags Add tags for a cross-account attachment. + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . */ public fun tags(vararg tags: CfnTag) } @@ -119,52 +131,58 @@ public interface CfnCrossAccountAttachmentProps { software.amazon.awscdk.services.globalaccelerator.CfnCrossAccountAttachmentProps.builder() /** - * @param name The Friendly identifier of the attachment. + * @param name The name of the cross-account attachment. */ override fun name(name: String) { cdkBuilder.name(name) } /** - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ override fun principals(principals: List) { cdkBuilder.principals(principals) } /** - * @param principals Principals to share the resources with. + * @param principals The principals included in the cross-account attachment. */ override fun principals(vararg principals: String): Unit = principals(principals.toList()) /** - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ override fun resources(resources: List) { cdkBuilder.resources(resources.map{CdkObjectWrappers.unwrap(it)}) } /** - * @param resources Resources shared using the attachment. + * @param resources The resources included in the cross-account attachment. */ override fun resources(vararg resources: Any): Unit = resources(resources.toList()) /** - * @param tags the value to be set. + * @param tags Add tags for a cross-account attachment. + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** - * @param tags the value to be set. + * @param tags Add tags for a cross-account attachment. + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . */ override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) @@ -177,27 +195,33 @@ public interface CfnCrossAccountAttachmentProps { cdkObject: software.amazon.awscdk.services.globalaccelerator.CfnCrossAccountAttachmentProps, ) : CdkObject(cdkObject), CfnCrossAccountAttachmentProps { /** - * The Friendly identifier of the attachment. + * The name of the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-name) */ override fun name(): String = unwrap(this).getName() /** - * Principals to share the resources with. + * The principals included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-principals) */ override fun principals(): List = unwrap(this).getPrincipals() ?: emptyList() /** - * Resources shared using the attachment. + * The resources included in the cross-account attachment. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-resources) */ override fun resources(): Any? = unwrap(this).getResources() /** + * Add tags for a cross-account attachment. + * + * For more information, see [Tagging in AWS Global + * Accelerator](https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) + * in the *AWS Global Accelerator Developer Guide* . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-crossaccountattachment.html#cfn-globalaccelerator-crossaccountattachment-tags) */ override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroup.kt index 5b73869c32..f1674bb0af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroup.kt @@ -64,8 +64,8 @@ public open class CfnEndpointGroup( id: String, props: CfnEndpointGroupProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.CfnEndpointGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointGroupProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.CfnEndpointGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointGroupProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnEndpointGroup( * The list of endpoint objects. */ public open fun endpointConfigurations(`value`: IResolvable) { - unwrap(this).setEndpointConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpointConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnEndpointGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnEndpointGroup( * Allows you to override the destination ports used to route traffic to an endpoint. */ public open fun portOverrides(`value`: IResolvable) { - unwrap(this).setPortOverrides(`value`.let(IResolvable::unwrap)) + unwrap(this).setPortOverrides(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnEndpointGroup( * @param endpointConfigurations The list of endpoint objects. */ override fun endpointConfigurations(endpointConfigurations: IResolvable) { - cdkBuilder.endpointConfigurations(endpointConfigurations.let(IResolvable::unwrap)) + cdkBuilder.endpointConfigurations(endpointConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnEndpointGroup( * endpoint. */ override fun portOverrides(portOverrides: IResolvable) { - cdkBuilder.portOverrides(portOverrides.let(IResolvable::unwrap)) + cdkBuilder.portOverrides(portOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class CfnEndpointGroup( * in the *AWS Global Accelerator Developer Guide* . */ override fun clientIpPreservationEnabled(clientIpPreservationEnabled: IResolvable) { - cdkBuilder.clientIpPreservationEnabled(clientIpPreservationEnabled.let(IResolvable::unwrap)) + cdkBuilder.clientIpPreservationEnabled(clientIpPreservationEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroupProps.kt index 23b2d4dc1a..a48cb59c78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnEndpointGroupProps.kt @@ -274,7 +274,7 @@ public interface CfnEndpointGroupProps { * @param endpointConfigurations The list of endpoint objects. */ override fun endpointConfigurations(endpointConfigurations: IResolvable) { - cdkBuilder.endpointConfigurations(endpointConfigurations.let(IResolvable::unwrap)) + cdkBuilder.endpointConfigurations(endpointConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public interface CfnEndpointGroupProps { * receive traffic on. */ override fun portOverrides(portOverrides: IResolvable) { - cdkBuilder.portOverrides(portOverrides.let(IResolvable::unwrap)) + cdkBuilder.portOverrides(portOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListener.kt index a19ded957e..acadcb9a4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListener.kt @@ -53,8 +53,8 @@ public open class CfnListener( id: String, props: CfnListenerProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.CfnListener(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnListenerProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.CfnListener(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnListenerProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnListener( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnListener( * The list of port ranges for the connections from clients to the accelerator. */ public open fun portRanges(`value`: IResolvable) { - unwrap(this).setPortRanges(`value`.let(IResolvable::unwrap)) + unwrap(this).setPortRanges(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnListener( * accelerator. */ override fun portRanges(portRanges: IResolvable) { - cdkBuilder.portRanges(portRanges.let(IResolvable::unwrap)) + cdkBuilder.portRanges(portRanges.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListenerProps.kt index 92b1a5d323..0371511b81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/CfnListenerProps.kt @@ -186,7 +186,7 @@ public interface CfnListenerProps { * accelerator. */ override fun portRanges(portRanges: IResolvable) { - cdkBuilder.portRanges(portRanges.let(IResolvable::unwrap)) + cdkBuilder.portRanges(portRanges.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroup.kt index 4545da7d9c..64811b0ea2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroup.kt @@ -44,8 +44,8 @@ public open class EndpointGroup( id: String, props: EndpointGroupProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.EndpointGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EndpointGroupProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.EndpointGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EndpointGroupProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class EndpointGroup( * @param endpoint */ public open fun addEndpoint(endpoint: IEndpoint) { - unwrap(this).addEndpoint(endpoint.let(IEndpoint::unwrap)) + unwrap(this).addEndpoint(endpoint.let(IEndpoint.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public open class EndpointGroup( * @param vpc */ public open fun connectionsPeer(id: String, vpc: IVpc): IPeer = unwrap(this).connectionsPeer(id, - vpc.let(IVpc::unwrap)).let(IPeer::wrap) + vpc.let(IVpc.Companion::unwrap)).let(IPeer::wrap) /** * EndpointGroup ARN. @@ -255,7 +255,7 @@ public open class EndpointGroup( * @param endpoints Initial list of endpoints for this group. */ override fun endpoints(endpoints: List) { - cdkBuilder.endpoints(endpoints.map(IEndpoint::unwrap)) + cdkBuilder.endpoints(endpoints.map(IEndpoint.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class EndpointGroup( * @param healthCheckInterval The time between health checks for each endpoint. */ override fun healthCheckInterval(healthCheckInterval: Duration) { - cdkBuilder.healthCheckInterval(healthCheckInterval.let(Duration::unwrap)) + cdkBuilder.healthCheckInterval(healthCheckInterval.let(Duration.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class EndpointGroup( * @param healthCheckProtocol The protocol used to perform health checks. */ override fun healthCheckProtocol(healthCheckProtocol: HealthCheckProtocol) { - cdkBuilder.healthCheckProtocol(healthCheckProtocol.let(HealthCheckProtocol::unwrap)) + cdkBuilder.healthCheckProtocol(healthCheckProtocol.let(HealthCheckProtocol.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class EndpointGroup( * @param listener The Amazon Resource Name (ARN) of the listener. */ override fun listener(listener: IListener) { - cdkBuilder.listener(listener.let(IListener::unwrap)) + cdkBuilder.listener(listener.let(IListener.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class EndpointGroup( * @param portOverrides Override the destination ports used to route traffic to an endpoint. */ override fun portOverrides(portOverrides: List) { - cdkBuilder.portOverrides(portOverrides.map(PortOverride::unwrap)) + cdkBuilder.portOverrides(portOverrides.map(PortOverride.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class EndpointGroup( id: String, endpointGroupArn: String, ): IEndpointGroup = - software.amazon.awscdk.services.globalaccelerator.EndpointGroup.fromEndpointGroupArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.globalaccelerator.EndpointGroup.fromEndpointGroupArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, endpointGroupArn).let(IEndpointGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupOptions.kt index 71b7cfa5da..5241952dc4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupOptions.kt @@ -205,7 +205,7 @@ public interface EndpointGroupOptions { * @param endpoints Initial list of endpoints for this group. */ override fun endpoints(endpoints: List) { - cdkBuilder.endpoints(endpoints.map(IEndpoint::unwrap)) + cdkBuilder.endpoints(endpoints.map(IEndpoint.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public interface EndpointGroupOptions { * Must be either 10 or 30 seconds. */ override fun healthCheckInterval(healthCheckInterval: Duration) { - cdkBuilder.healthCheckInterval(healthCheckInterval.let(Duration::unwrap)) + cdkBuilder.healthCheckInterval(healthCheckInterval.let(Duration.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public interface EndpointGroupOptions { * @param healthCheckProtocol The protocol used to perform health checks. */ override fun healthCheckProtocol(healthCheckProtocol: HealthCheckProtocol) { - cdkBuilder.healthCheckProtocol(healthCheckProtocol.let(HealthCheckProtocol::unwrap)) + cdkBuilder.healthCheckProtocol(healthCheckProtocol.let(HealthCheckProtocol.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface EndpointGroupOptions { * that traffic arrives on at the listener. */ override fun portOverrides(portOverrides: List) { - cdkBuilder.portOverrides(portOverrides.map(PortOverride::unwrap)) + cdkBuilder.portOverrides(portOverrides.map(PortOverride.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupProps.kt index 923d1ec212..f7561c11ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/EndpointGroupProps.kt @@ -144,7 +144,7 @@ public interface EndpointGroupProps : EndpointGroupOptions { * @param endpoints Initial list of endpoints for this group. */ override fun endpoints(endpoints: List) { - cdkBuilder.endpoints(endpoints.map(IEndpoint::unwrap)) + cdkBuilder.endpoints(endpoints.map(IEndpoint.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface EndpointGroupProps : EndpointGroupOptions { * Must be either 10 or 30 seconds. */ override fun healthCheckInterval(healthCheckInterval: Duration) { - cdkBuilder.healthCheckInterval(healthCheckInterval.let(Duration::unwrap)) + cdkBuilder.healthCheckInterval(healthCheckInterval.let(Duration.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface EndpointGroupProps : EndpointGroupOptions { * @param healthCheckProtocol The protocol used to perform health checks. */ override fun healthCheckProtocol(healthCheckProtocol: HealthCheckProtocol) { - cdkBuilder.healthCheckProtocol(healthCheckProtocol.let(HealthCheckProtocol::unwrap)) + cdkBuilder.healthCheckProtocol(healthCheckProtocol.let(HealthCheckProtocol.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface EndpointGroupProps : EndpointGroupOptions { * @param listener The Amazon Resource Name (ARN) of the listener. */ override fun listener(listener: IListener) { - cdkBuilder.listener(listener.let(IListener::unwrap)) + cdkBuilder.listener(listener.let(IListener.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface EndpointGroupProps : EndpointGroupOptions { * that traffic arrives on at the listener. */ override fun portOverrides(portOverrides: List) { - cdkBuilder.portOverrides(portOverrides.map(PortOverride::unwrap)) + cdkBuilder.portOverrides(portOverrides.map(PortOverride.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IAccelerator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IAccelerator.kt index 6bff7f5790..dd3ae19fee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IAccelerator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IAccelerator.kt @@ -69,7 +69,7 @@ public interface IAccelerator : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IEndpointGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IEndpointGroup.kt index 21d7744bea..a9f95fe704 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IEndpointGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IEndpointGroup.kt @@ -37,7 +37,7 @@ public interface IEndpointGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IListener.kt index d1cbe8e0b3..68c8703ef2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/IListener.kt @@ -37,7 +37,7 @@ public interface IListener : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Listener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Listener.kt index 791e2c335c..ba6dd9caf8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Listener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/Listener.kt @@ -53,8 +53,8 @@ public open class Listener( id: String, props: ListenerProps, ) : - this(software.amazon.awscdk.services.globalaccelerator.Listener(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ListenerProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.Listener(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ListenerProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class Listener( */ public open fun addEndpointGroup(id: String, options: EndpointGroupOptions): EndpointGroup = unwrap(this).addEndpointGroup(id, - options.let(EndpointGroupOptions::unwrap)).let(EndpointGroup::wrap) + options.let(EndpointGroupOptions.Companion::unwrap)).let(EndpointGroup::wrap) /** * Add a new endpoint group to this listener. @@ -181,7 +181,7 @@ public open class Listener( * @param accelerator The accelerator for this listener. */ override fun accelerator(accelerator: IAccelerator) { - cdkBuilder.accelerator(accelerator.let(IAccelerator::unwrap)) + cdkBuilder.accelerator(accelerator.let(IAccelerator.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class Listener( * endpoint. */ override fun clientAffinity(clientAffinity: ClientAffinity) { - cdkBuilder.clientAffinity(clientAffinity.let(ClientAffinity::unwrap)) + cdkBuilder.clientAffinity(clientAffinity.let(ClientAffinity.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class Listener( * accelerator. */ override fun portRanges(portRanges: List) { - cdkBuilder.portRanges(portRanges.map(PortRange::unwrap)) + cdkBuilder.portRanges(portRanges.map(PortRange.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class Listener( * @param protocol The protocol for the connections from clients to the accelerator. */ override fun protocol(protocol: ConnectionProtocol) { - cdkBuilder.protocol(protocol.let(ConnectionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ConnectionProtocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.globalaccelerator.Listener = @@ -253,7 +253,7 @@ public open class Listener( id: String, listenerArn: String, ): IListener = - software.amazon.awscdk.services.globalaccelerator.Listener.fromListenerArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.globalaccelerator.Listener.fromListenerArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, listenerArn).let(IListener::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerOptions.kt index 630743e23b..30d551207b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerOptions.kt @@ -135,7 +135,7 @@ public interface ListenerOptions { * a single client to the same endpoint. */ override fun clientAffinity(clientAffinity: ClientAffinity) { - cdkBuilder.clientAffinity(clientAffinity.let(ClientAffinity::unwrap)) + cdkBuilder.clientAffinity(clientAffinity.let(ClientAffinity.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface ListenerOptions { * accelerator. */ override fun portRanges(portRanges: List) { - cdkBuilder.portRanges(portRanges.map(PortRange::unwrap)) + cdkBuilder.portRanges(portRanges.map(PortRange.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface ListenerOptions { * @param protocol The protocol for the connections from clients to the accelerator. */ override fun protocol(protocol: ConnectionProtocol) { - cdkBuilder.protocol(protocol.let(ConnectionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ConnectionProtocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.globalaccelerator.ListenerOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerProps.kt index 00ea0f2702..c227b71beb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/ListenerProps.kt @@ -92,7 +92,7 @@ public interface ListenerProps : ListenerOptions { * @param accelerator The accelerator for this listener. */ override fun accelerator(accelerator: IAccelerator) { - cdkBuilder.accelerator(accelerator.let(IAccelerator::unwrap)) + cdkBuilder.accelerator(accelerator.let(IAccelerator.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public interface ListenerProps : ListenerOptions { * a single client to the same endpoint. */ override fun clientAffinity(clientAffinity: ClientAffinity) { - cdkBuilder.clientAffinity(clientAffinity.let(ClientAffinity::unwrap)) + cdkBuilder.clientAffinity(clientAffinity.let(ClientAffinity.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface ListenerProps : ListenerOptions { * accelerator. */ override fun portRanges(portRanges: List) { - cdkBuilder.portRanges(portRanges.map(PortRange::unwrap)) + cdkBuilder.portRanges(portRanges.map(PortRange.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public interface ListenerProps : ListenerOptions { * @param protocol The protocol for the connections from clients to the accelerator. */ override fun protocol(protocol: ConnectionProtocol) { - cdkBuilder.protocol(protocol.let(ConnectionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(ConnectionProtocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.globalaccelerator.ListenerProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/RawEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/RawEndpoint.kt index be4f424951..40687157ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/RawEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/RawEndpoint.kt @@ -36,7 +36,7 @@ public open class RawEndpoint( cdkObject: software.amazon.awscdk.services.globalaccelerator.RawEndpoint, ) : CdkObject(cdkObject), IEndpoint { public constructor(props: RawEndpointProps) : - this(software.amazon.awscdk.services.globalaccelerator.RawEndpoint(props.let(RawEndpointProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.RawEndpoint(props.let(RawEndpointProps.Companion::unwrap)) ) public constructor(props: RawEndpointProps.Builder.() -> Unit) : this(RawEndpointProps(props) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/ApplicationLoadBalancerEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/ApplicationLoadBalancerEndpoint.kt index 0308af9799..e912ec5206 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/ApplicationLoadBalancerEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/ApplicationLoadBalancerEndpoint.kt @@ -36,14 +36,14 @@ public open class ApplicationLoadBalancerEndpoint( public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationLoadBalancer) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.ApplicationLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationLoadBalancer::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.ApplicationLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationLoadBalancer.Companion::unwrap)) ) public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationLoadBalancer, options: ApplicationLoadBalancerEndpointOptions) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.ApplicationLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationLoadBalancer::unwrap), - options.let(ApplicationLoadBalancerEndpointOptions::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.ApplicationLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2IApplicationLoadBalancer.Companion::unwrap), + options.let(ApplicationLoadBalancerEndpointOptions.Companion::unwrap)) ) public diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/CfnEipEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/CfnEipEndpoint.kt index acc437f279..ec8b5be99d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/CfnEipEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/CfnEipEndpoint.kt @@ -32,12 +32,12 @@ public open class CfnEipEndpoint( cdkObject: software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint, ) : CdkObject(cdkObject), IEndpoint { public constructor(eip: CloudshiftdevAwscdkServicesEc2CfnEIP) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint(eip.let(CloudshiftdevAwscdkServicesEc2CfnEIP::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint(eip.let(CloudshiftdevAwscdkServicesEc2CfnEIP.Companion::unwrap)) ) public constructor(eip: CloudshiftdevAwscdkServicesEc2CfnEIP, options: CfnEipEndpointProps) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint(eip.let(CloudshiftdevAwscdkServicesEc2CfnEIP::unwrap), - options.let(CfnEipEndpointProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint(eip.let(CloudshiftdevAwscdkServicesEc2CfnEIP.Companion::unwrap), + options.let(CfnEipEndpointProps.Companion::unwrap)) ) public constructor(eip: CloudshiftdevAwscdkServicesEc2CfnEIP, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/InstanceEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/InstanceEndpoint.kt index e18f5b235a..1c30b2e77e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/InstanceEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/InstanceEndpoint.kt @@ -34,13 +34,13 @@ public open class InstanceEndpoint( cdkObject: software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpoint, ) : CdkObject(cdkObject), IEndpoint { public constructor(instance: CloudshiftdevAwscdkServicesEc2IInstance) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpoint(instance.let(CloudshiftdevAwscdkServicesEc2IInstance::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpoint(instance.let(CloudshiftdevAwscdkServicesEc2IInstance.Companion::unwrap)) ) public constructor(instance: CloudshiftdevAwscdkServicesEc2IInstance, options: InstanceEndpointProps) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpoint(instance.let(CloudshiftdevAwscdkServicesEc2IInstance::unwrap), - options.let(InstanceEndpointProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.InstanceEndpoint(instance.let(CloudshiftdevAwscdkServicesEc2IInstance.Companion::unwrap), + options.let(InstanceEndpointProps.Companion::unwrap)) ) public constructor(instance: CloudshiftdevAwscdkServicesEc2IInstance, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/NetworkLoadBalancerEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/NetworkLoadBalancerEndpoint.kt index 29e9bf0920..a696ae950c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/NetworkLoadBalancerEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/globalaccelerator/endpoints/NetworkLoadBalancerEndpoint.kt @@ -52,14 +52,14 @@ public open class NetworkLoadBalancerEndpoint( public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.NetworkLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.NetworkLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer.Companion::unwrap)) ) public constructor(loadBalancer: CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer, options: NetworkLoadBalancerEndpointProps) : - this(software.amazon.awscdk.services.globalaccelerator.endpoints.NetworkLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer::unwrap), - options.let(NetworkLoadBalancerEndpointProps::unwrap)) + this(software.amazon.awscdk.services.globalaccelerator.endpoints.NetworkLoadBalancerEndpoint(loadBalancer.let(CloudshiftdevAwscdkServicesElasticloadbalancingv2INetworkLoadBalancer.Companion::unwrap), + options.let(NetworkLoadBalancerEndpointProps.Companion::unwrap)) ) public diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifier.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifier.kt index c6c274a49e..0f13bb48d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifier.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifier.kt @@ -72,7 +72,7 @@ public open class CfnClassifier( cdkObject: software.amazon.awscdk.services.glue.CfnClassifier, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.glue.CfnClassifier(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.glue.CfnClassifier(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -81,8 +81,8 @@ public open class CfnClassifier( id: String, props: CfnClassifierProps, ) : - this(software.amazon.awscdk.services.glue.CfnClassifier(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClassifierProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnClassifier(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClassifierProps.Companion::unwrap)) ) public constructor( @@ -106,14 +106,14 @@ public open class CfnClassifier( * A classifier for comma-separated values (CSV). */ public open fun csvClassifier(`value`: IResolvable) { - unwrap(this).setCsvClassifier(`value`.let(IResolvable::unwrap)) + unwrap(this).setCsvClassifier(`value`.let(IResolvable.Companion::unwrap)) } /** * A classifier for comma-separated values (CSV). */ public open fun csvClassifier(`value`: CsvClassifierProperty) { - unwrap(this).setCsvClassifier(`value`.let(CsvClassifierProperty::unwrap)) + unwrap(this).setCsvClassifier(`value`.let(CsvClassifierProperty.Companion::unwrap)) } /** @@ -133,14 +133,14 @@ public open class CfnClassifier( * A classifier that uses `grok` . */ public open fun grokClassifier(`value`: IResolvable) { - unwrap(this).setGrokClassifier(`value`.let(IResolvable::unwrap)) + unwrap(this).setGrokClassifier(`value`.let(IResolvable.Companion::unwrap)) } /** * A classifier that uses `grok` . */ public open fun grokClassifier(`value`: GrokClassifierProperty) { - unwrap(this).setGrokClassifier(`value`.let(GrokClassifierProperty::unwrap)) + unwrap(this).setGrokClassifier(`value`.let(GrokClassifierProperty.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnClassifier( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnClassifier( * A classifier for JSON content. */ public open fun jsonClassifier(`value`: IResolvable) { - unwrap(this).setJsonClassifier(`value`.let(IResolvable::unwrap)) + unwrap(this).setJsonClassifier(`value`.let(IResolvable.Companion::unwrap)) } /** * A classifier for JSON content. */ public open fun jsonClassifier(`value`: JsonClassifierProperty) { - unwrap(this).setJsonClassifier(`value`.let(JsonClassifierProperty::unwrap)) + unwrap(this).setJsonClassifier(`value`.let(JsonClassifierProperty.Companion::unwrap)) } /** @@ -196,14 +196,14 @@ public open class CfnClassifier( * A classifier for XML content. */ public open fun xmlClassifier(`value`: IResolvable) { - unwrap(this).setXmlClassifier(`value`.let(IResolvable::unwrap)) + unwrap(this).setXmlClassifier(`value`.let(IResolvable.Companion::unwrap)) } /** * A classifier for XML content. */ public open fun xmlClassifier(`value`: XMLClassifierProperty) { - unwrap(this).setXmlClassifier(`value`.let(XMLClassifierProperty::unwrap)) + unwrap(this).setXmlClassifier(`value`.let(XMLClassifierProperty.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class CfnClassifier( * @param csvClassifier A classifier for comma-separated values (CSV). */ override fun csvClassifier(csvClassifier: IResolvable) { - cdkBuilder.csvClassifier(csvClassifier.let(IResolvable::unwrap)) + cdkBuilder.csvClassifier(csvClassifier.let(IResolvable.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnClassifier( * @param csvClassifier A classifier for comma-separated values (CSV). */ override fun csvClassifier(csvClassifier: CsvClassifierProperty) { - cdkBuilder.csvClassifier(csvClassifier.let(CsvClassifierProperty::unwrap)) + cdkBuilder.csvClassifier(csvClassifier.let(CsvClassifierProperty.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnClassifier( * @param grokClassifier A classifier that uses `grok` . */ override fun grokClassifier(grokClassifier: IResolvable) { - cdkBuilder.grokClassifier(grokClassifier.let(IResolvable::unwrap)) + cdkBuilder.grokClassifier(grokClassifier.let(IResolvable.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnClassifier( * @param grokClassifier A classifier that uses `grok` . */ override fun grokClassifier(grokClassifier: GrokClassifierProperty) { - cdkBuilder.grokClassifier(grokClassifier.let(GrokClassifierProperty::unwrap)) + cdkBuilder.grokClassifier(grokClassifier.let(GrokClassifierProperty.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class CfnClassifier( * @param jsonClassifier A classifier for JSON content. */ override fun jsonClassifier(jsonClassifier: IResolvable) { - cdkBuilder.jsonClassifier(jsonClassifier.let(IResolvable::unwrap)) + cdkBuilder.jsonClassifier(jsonClassifier.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnClassifier( * @param jsonClassifier A classifier for JSON content. */ override fun jsonClassifier(jsonClassifier: JsonClassifierProperty) { - cdkBuilder.jsonClassifier(jsonClassifier.let(JsonClassifierProperty::unwrap)) + cdkBuilder.jsonClassifier(jsonClassifier.let(JsonClassifierProperty.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class CfnClassifier( * @param xmlClassifier A classifier for XML content. */ override fun xmlClassifier(xmlClassifier: IResolvable) { - cdkBuilder.xmlClassifier(xmlClassifier.let(IResolvable::unwrap)) + cdkBuilder.xmlClassifier(xmlClassifier.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class CfnClassifier( * @param xmlClassifier A classifier for XML content. */ override fun xmlClassifier(xmlClassifier: XMLClassifierProperty) { - cdkBuilder.xmlClassifier(xmlClassifier.let(XMLClassifierProperty::unwrap)) + cdkBuilder.xmlClassifier(xmlClassifier.let(XMLClassifierProperty.Companion::unwrap)) } /** @@ -682,7 +682,7 @@ public open class CfnClassifier( * @param allowSingleColumn Enables the processing of files that contain only one column. */ override fun allowSingleColumn(allowSingleColumn: IResolvable) { - cdkBuilder.allowSingleColumn(allowSingleColumn.let(IResolvable::unwrap)) + cdkBuilder.allowSingleColumn(allowSingleColumn.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnClassifier( * @param customDatatypeConfigured Enables the configuration of custom data types. */ override fun customDatatypeConfigured(customDatatypeConfigured: IResolvable) { - cdkBuilder.customDatatypeConfigured(customDatatypeConfigured.let(IResolvable::unwrap)) + cdkBuilder.customDatatypeConfigured(customDatatypeConfigured.let(IResolvable.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class CfnClassifier( * The default value is `true` . */ override fun disableValueTrimming(disableValueTrimming: IResolvable) { - cdkBuilder.disableValueTrimming(disableValueTrimming.let(IResolvable::unwrap)) + cdkBuilder.disableValueTrimming(disableValueTrimming.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifierProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifierProps.kt index cc76f8c4ad..b0f612104e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifierProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnClassifierProps.kt @@ -167,14 +167,14 @@ public interface CfnClassifierProps { * @param csvClassifier A classifier for comma-separated values (CSV). */ override fun csvClassifier(csvClassifier: IResolvable) { - cdkBuilder.csvClassifier(csvClassifier.let(IResolvable::unwrap)) + cdkBuilder.csvClassifier(csvClassifier.let(IResolvable.Companion::unwrap)) } /** * @param csvClassifier A classifier for comma-separated values (CSV). */ override fun csvClassifier(csvClassifier: CfnClassifier.CsvClassifierProperty) { - cdkBuilder.csvClassifier(csvClassifier.let(CfnClassifier.CsvClassifierProperty::unwrap)) + cdkBuilder.csvClassifier(csvClassifier.let(CfnClassifier.CsvClassifierProperty.Companion::unwrap)) } /** @@ -190,14 +190,14 @@ public interface CfnClassifierProps { * @param grokClassifier A classifier that uses `grok` . */ override fun grokClassifier(grokClassifier: IResolvable) { - cdkBuilder.grokClassifier(grokClassifier.let(IResolvable::unwrap)) + cdkBuilder.grokClassifier(grokClassifier.let(IResolvable.Companion::unwrap)) } /** * @param grokClassifier A classifier that uses `grok` . */ override fun grokClassifier(grokClassifier: CfnClassifier.GrokClassifierProperty) { - cdkBuilder.grokClassifier(grokClassifier.let(CfnClassifier.GrokClassifierProperty::unwrap)) + cdkBuilder.grokClassifier(grokClassifier.let(CfnClassifier.GrokClassifierProperty.Companion::unwrap)) } /** @@ -213,14 +213,14 @@ public interface CfnClassifierProps { * @param jsonClassifier A classifier for JSON content. */ override fun jsonClassifier(jsonClassifier: IResolvable) { - cdkBuilder.jsonClassifier(jsonClassifier.let(IResolvable::unwrap)) + cdkBuilder.jsonClassifier(jsonClassifier.let(IResolvable.Companion::unwrap)) } /** * @param jsonClassifier A classifier for JSON content. */ override fun jsonClassifier(jsonClassifier: CfnClassifier.JsonClassifierProperty) { - cdkBuilder.jsonClassifier(jsonClassifier.let(CfnClassifier.JsonClassifierProperty::unwrap)) + cdkBuilder.jsonClassifier(jsonClassifier.let(CfnClassifier.JsonClassifierProperty.Companion::unwrap)) } /** @@ -236,14 +236,14 @@ public interface CfnClassifierProps { * @param xmlClassifier A classifier for XML content. */ override fun xmlClassifier(xmlClassifier: IResolvable) { - cdkBuilder.xmlClassifier(xmlClassifier.let(IResolvable::unwrap)) + cdkBuilder.xmlClassifier(xmlClassifier.let(IResolvable.Companion::unwrap)) } /** * @param xmlClassifier A classifier for XML content. */ override fun xmlClassifier(xmlClassifier: CfnClassifier.XMLClassifierProperty) { - cdkBuilder.xmlClassifier(xmlClassifier.let(CfnClassifier.XMLClassifierProperty::unwrap)) + cdkBuilder.xmlClassifier(xmlClassifier.let(CfnClassifier.XMLClassifierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnection.kt index 4fb270f0a4..b5da999a2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnection.kt @@ -60,8 +60,8 @@ public open class CfnConnection( id: String, props: CfnConnectionProps, ) : - this(software.amazon.awscdk.services.glue.CfnConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectionProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectionProps.Companion::unwrap)) ) public constructor( @@ -97,14 +97,14 @@ public open class CfnConnection( * The connection that you want to create. */ public open fun connectionInput(`value`: IResolvable) { - unwrap(this).setConnectionInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectionInput(`value`.let(IResolvable.Companion::unwrap)) } /** * The connection that you want to create. */ public open fun connectionInput(`value`: ConnectionInputProperty) { - unwrap(this).setConnectionInput(`value`.let(ConnectionInputProperty::unwrap)) + unwrap(this).setConnectionInput(`value`.let(ConnectionInputProperty.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnConnection( * @param connectionInput The connection that you want to create. */ override fun connectionInput(connectionInput: IResolvable) { - cdkBuilder.connectionInput(connectionInput.let(IResolvable::unwrap)) + cdkBuilder.connectionInput(connectionInput.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnConnection( * @param connectionInput The connection that you want to create. */ override fun connectionInput(connectionInput: ConnectionInputProperty) { - cdkBuilder.connectionInput(connectionInput.let(ConnectionInputProperty::unwrap)) + cdkBuilder.connectionInput(connectionInput.let(ConnectionInputProperty.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public open class CfnConnection( * connection. */ override fun physicalConnectionRequirements(physicalConnectionRequirements: IResolvable) { - cdkBuilder.physicalConnectionRequirements(physicalConnectionRequirements.let(IResolvable::unwrap)) + cdkBuilder.physicalConnectionRequirements(physicalConnectionRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -630,7 +630,7 @@ public open class CfnConnection( */ override fun physicalConnectionRequirements(physicalConnectionRequirements: PhysicalConnectionRequirementsProperty) { - cdkBuilder.physicalConnectionRequirements(physicalConnectionRequirements.let(PhysicalConnectionRequirementsProperty::unwrap)) + cdkBuilder.physicalConnectionRequirements(physicalConnectionRequirements.let(PhysicalConnectionRequirementsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnectionProps.kt index 91dfd9b3bd..d147f5788b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnConnectionProps.kt @@ -117,14 +117,14 @@ public interface CfnConnectionProps { * @param connectionInput The connection that you want to create. */ override fun connectionInput(connectionInput: IResolvable) { - cdkBuilder.connectionInput(connectionInput.let(IResolvable::unwrap)) + cdkBuilder.connectionInput(connectionInput.let(IResolvable.Companion::unwrap)) } /** * @param connectionInput The connection that you want to create. */ override fun connectionInput(connectionInput: CfnConnection.ConnectionInputProperty) { - cdkBuilder.connectionInput(connectionInput.let(CfnConnection.ConnectionInputProperty::unwrap)) + cdkBuilder.connectionInput(connectionInput.let(CfnConnection.ConnectionInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawler.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawler.kt index d107405235..3370b4c34d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawler.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawler.kt @@ -115,8 +115,8 @@ public open class CfnCrawler( id: String, props: CfnCrawlerProps, ) : - this(software.amazon.awscdk.services.glue.CfnCrawler(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCrawlerProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnCrawler(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCrawlerProps.Companion::unwrap)) ) public constructor( @@ -206,7 +206,7 @@ public open class CfnCrawler( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnCrawler( * of the IAM role credentials. */ public open fun lakeFormationConfiguration(`value`: IResolvable) { - unwrap(this).setLakeFormationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLakeFormationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnCrawler( * of the IAM role credentials. */ public open fun lakeFormationConfiguration(`value`: LakeFormationConfigurationProperty) { - unwrap(this).setLakeFormationConfiguration(`value`.let(LakeFormationConfigurationProperty::unwrap)) + unwrap(this).setLakeFormationConfiguration(`value`.let(LakeFormationConfigurationProperty.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnCrawler( * that were added since the last crawler run. */ public open fun recrawlPolicy(`value`: IResolvable) { - unwrap(this).setRecrawlPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecrawlPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnCrawler( * that were added since the last crawler run. */ public open fun recrawlPolicy(`value`: RecrawlPolicyProperty) { - unwrap(this).setRecrawlPolicy(`value`.let(RecrawlPolicyProperty::unwrap)) + unwrap(this).setRecrawlPolicy(`value`.let(RecrawlPolicyProperty.Companion::unwrap)) } /** @@ -307,14 +307,14 @@ public open class CfnCrawler( * For scheduled crawlers, the schedule when the crawler runs. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * For scheduled crawlers, the schedule when the crawler runs. */ public open fun schedule(`value`: ScheduleProperty) { - unwrap(this).setSchedule(`value`.let(ScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(ScheduleProperty.Companion::unwrap)) } /** @@ -334,14 +334,14 @@ public open class CfnCrawler( * The policy that specifies update and delete behaviors for the crawler. */ public open fun schemaChangePolicy(`value`: IResolvable) { - unwrap(this).setSchemaChangePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchemaChangePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * The policy that specifies update and delete behaviors for the crawler. */ public open fun schemaChangePolicy(`value`: SchemaChangePolicyProperty) { - unwrap(this).setSchemaChangePolicy(`value`.let(SchemaChangePolicyProperty::unwrap)) + unwrap(this).setSchemaChangePolicy(`value`.let(SchemaChangePolicyProperty.Companion::unwrap)) } /** @@ -390,14 +390,14 @@ public open class CfnCrawler( * A collection of targets to crawl. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** * A collection of targets to crawl. */ public open fun targets(`value`: TargetsProperty) { - unwrap(this).setTargets(`value`.let(TargetsProperty::unwrap)) + unwrap(this).setTargets(`value`.let(TargetsProperty.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public open class CfnCrawler( * credentials for the crawler instead of the IAM role credentials. */ override fun lakeFormationConfiguration(lakeFormationConfiguration: IResolvable) { - cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class CfnCrawler( */ override fun lakeFormationConfiguration(lakeFormationConfiguration: LakeFormationConfigurationProperty) { - cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(LakeFormationConfigurationProperty::unwrap)) + cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(LakeFormationConfigurationProperty.Companion::unwrap)) } /** @@ -806,7 +806,7 @@ public open class CfnCrawler( * crawl only folders that were added since the last crawler run. */ override fun recrawlPolicy(recrawlPolicy: IResolvable) { - cdkBuilder.recrawlPolicy(recrawlPolicy.let(IResolvable::unwrap)) + cdkBuilder.recrawlPolicy(recrawlPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -818,7 +818,7 @@ public open class CfnCrawler( * crawl only folders that were added since the last crawler run. */ override fun recrawlPolicy(recrawlPolicy: RecrawlPolicyProperty) { - cdkBuilder.recrawlPolicy(recrawlPolicy.let(RecrawlPolicyProperty::unwrap)) + cdkBuilder.recrawlPolicy(recrawlPolicy.let(RecrawlPolicyProperty.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public open class CfnCrawler( * @param schedule For scheduled crawlers, the schedule when the crawler runs. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -863,7 +863,7 @@ public open class CfnCrawler( * @param schedule For scheduled crawlers, the schedule when the crawler runs. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class CfnCrawler( * crawler. */ override fun schemaChangePolicy(schemaChangePolicy: IResolvable) { - cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(IResolvable::unwrap)) + cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public open class CfnCrawler( * crawler. */ override fun schemaChangePolicy(schemaChangePolicy: SchemaChangePolicyProperty) { - cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(SchemaChangePolicyProperty::unwrap)) + cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(SchemaChangePolicyProperty.Companion::unwrap)) } /** @@ -960,7 +960,7 @@ public open class CfnCrawler( * @param targets A collection of targets to crawl. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -970,7 +970,7 @@ public open class CfnCrawler( * @param targets A collection of targets to crawl. */ override fun targets(targets: TargetsProperty) { - cdkBuilder.targets(targets.let(TargetsProperty::unwrap)) + cdkBuilder.targets(targets.let(TargetsProperty.Companion::unwrap)) } /** @@ -1346,7 +1346,7 @@ public open class CfnCrawler( * directly. */ override fun createNativeDeltaTable(createNativeDeltaTable: IResolvable) { - cdkBuilder.createNativeDeltaTable(createNativeDeltaTable.let(IResolvable::unwrap)) + cdkBuilder.createNativeDeltaTable(createNativeDeltaTable.let(IResolvable.Companion::unwrap)) } /** @@ -1372,7 +1372,7 @@ public open class CfnCrawler( * @param writeManifest Specifies whether to write the manifest files to the Delta table path. */ override fun writeManifest(writeManifest: IResolvable) { - cdkBuilder.writeManifest(writeManifest.let(IResolvable::unwrap)) + cdkBuilder.writeManifest(writeManifest.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.glue.CfnCrawler.DeltaTargetProperty = @@ -1949,7 +1949,7 @@ public open class CfnCrawler( * for the crawler instead of the IAM role credentials. */ override fun useLakeFormationCredentials(useLakeFormationCredentials: IResolvable) { - cdkBuilder.useLakeFormationCredentials(useLakeFormationCredentials.let(IResolvable::unwrap)) + cdkBuilder.useLakeFormationCredentials(useLakeFormationCredentials.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2985,7 +2985,7 @@ public open class CfnCrawler( * @param catalogTargets Specifies AWS Glue Data Catalog targets. */ override fun catalogTargets(catalogTargets: IResolvable) { - cdkBuilder.catalogTargets(catalogTargets.let(IResolvable::unwrap)) + cdkBuilder.catalogTargets(catalogTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3005,7 +3005,7 @@ public open class CfnCrawler( * @param deltaTargets Specifies an array of Delta data store targets. */ override fun deltaTargets(deltaTargets: IResolvable) { - cdkBuilder.deltaTargets(deltaTargets.let(IResolvable::unwrap)) + cdkBuilder.deltaTargets(deltaTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3025,7 +3025,7 @@ public open class CfnCrawler( * @param dynamoDbTargets Specifies Amazon DynamoDB targets. */ override fun dynamoDbTargets(dynamoDbTargets: IResolvable) { - cdkBuilder.dynamoDbTargets(dynamoDbTargets.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbTargets(dynamoDbTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3045,7 +3045,7 @@ public open class CfnCrawler( * @param icebergTargets Specifies Apache Iceberg data store targets. */ override fun icebergTargets(icebergTargets: IResolvable) { - cdkBuilder.icebergTargets(icebergTargets.let(IResolvable::unwrap)) + cdkBuilder.icebergTargets(icebergTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3065,7 +3065,7 @@ public open class CfnCrawler( * @param jdbcTargets Specifies JDBC targets. */ override fun jdbcTargets(jdbcTargets: IResolvable) { - cdkBuilder.jdbcTargets(jdbcTargets.let(IResolvable::unwrap)) + cdkBuilder.jdbcTargets(jdbcTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3084,7 +3084,7 @@ public open class CfnCrawler( * @param mongoDbTargets A list of Mongo DB targets. */ override fun mongoDbTargets(mongoDbTargets: IResolvable) { - cdkBuilder.mongoDbTargets(mongoDbTargets.let(IResolvable::unwrap)) + cdkBuilder.mongoDbTargets(mongoDbTargets.let(IResolvable.Companion::unwrap)) } /** @@ -3104,7 +3104,7 @@ public open class CfnCrawler( * @param s3Targets Specifies Amazon Simple Storage Service (Amazon S3) targets. */ override fun s3Targets(s3Targets: IResolvable) { - cdkBuilder.s3Targets(s3Targets.let(IResolvable::unwrap)) + cdkBuilder.s3Targets(s3Targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawlerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawlerProps.kt index b44919c9d8..3d26358e41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawlerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCrawlerProps.kt @@ -441,7 +441,7 @@ public interface CfnCrawlerProps { * credentials for the crawler instead of the IAM role credentials. */ override fun lakeFormationConfiguration(lakeFormationConfiguration: IResolvable) { - cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface CfnCrawlerProps { */ override fun lakeFormationConfiguration(lakeFormationConfiguration: CfnCrawler.LakeFormationConfigurationProperty) { - cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(CfnCrawler.LakeFormationConfigurationProperty::unwrap)) + cdkBuilder.lakeFormationConfiguration(lakeFormationConfiguration.let(CfnCrawler.LakeFormationConfigurationProperty.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnCrawlerProps { * crawl only folders that were added since the last crawler run. */ override fun recrawlPolicy(recrawlPolicy: IResolvable) { - cdkBuilder.recrawlPolicy(recrawlPolicy.let(IResolvable::unwrap)) + cdkBuilder.recrawlPolicy(recrawlPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public interface CfnCrawlerProps { * crawl only folders that were added since the last crawler run. */ override fun recrawlPolicy(recrawlPolicy: CfnCrawler.RecrawlPolicyProperty) { - cdkBuilder.recrawlPolicy(recrawlPolicy.let(CfnCrawler.RecrawlPolicyProperty::unwrap)) + cdkBuilder.recrawlPolicy(recrawlPolicy.let(CfnCrawler.RecrawlPolicyProperty.Companion::unwrap)) } /** @@ -508,14 +508,14 @@ public interface CfnCrawlerProps { * @param schedule For scheduled crawlers, the schedule when the crawler runs. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule For scheduled crawlers, the schedule when the crawler runs. */ override fun schedule(schedule: CfnCrawler.ScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnCrawler.ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnCrawler.ScheduleProperty.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public interface CfnCrawlerProps { * The SchemaChangePolicy consists of two components, `UpdateBehavior` and `DeleteBehavior` . */ override fun schemaChangePolicy(schemaChangePolicy: IResolvable) { - cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(IResolvable::unwrap)) + cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface CfnCrawlerProps { * The SchemaChangePolicy consists of two components, `UpdateBehavior` and `DeleteBehavior` . */ override fun schemaChangePolicy(schemaChangePolicy: CfnCrawler.SchemaChangePolicyProperty) { - cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(CfnCrawler.SchemaChangePolicyProperty::unwrap)) + cdkBuilder.schemaChangePolicy(schemaChangePolicy.let(CfnCrawler.SchemaChangePolicyProperty.Companion::unwrap)) } /** @@ -588,14 +588,14 @@ public interface CfnCrawlerProps { * @param targets A collection of targets to crawl. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** * @param targets A collection of targets to crawl. */ override fun targets(targets: CfnCrawler.TargetsProperty) { - cdkBuilder.targets(targets.let(CfnCrawler.TargetsProperty::unwrap)) + cdkBuilder.targets(targets.let(CfnCrawler.TargetsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCustomEntityType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCustomEntityType.kt index 43890ce6e1..fe118f8429 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCustomEntityType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnCustomEntityType.kt @@ -44,7 +44,7 @@ public open class CfnCustomEntityType( cdkObject: software.amazon.awscdk.services.glue.CfnCustomEntityType, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.glue.CfnCustomEntityType(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.glue.CfnCustomEntityType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class CfnCustomEntityType( id: String, props: CfnCustomEntityTypeProps, ) : - this(software.amazon.awscdk.services.glue.CfnCustomEntityType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomEntityTypeProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnCustomEntityType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomEntityTypeProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnCustomEntityType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettings.kt index 4a1865b184..1f0f27f871 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettings.kt @@ -56,8 +56,8 @@ public open class CfnDataCatalogEncryptionSettings( id: String, props: CfnDataCatalogEncryptionSettingsProps, ) : - this(software.amazon.awscdk.services.glue.CfnDataCatalogEncryptionSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataCatalogEncryptionSettingsProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnDataCatalogEncryptionSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataCatalogEncryptionSettingsProps.Companion::unwrap)) ) public constructor( @@ -94,14 +94,14 @@ public open class CfnDataCatalogEncryptionSettings( * Contains configuration information for maintaining Data Catalog security. */ public open fun dataCatalogEncryptionSettings(`value`: IResolvable) { - unwrap(this).setDataCatalogEncryptionSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataCatalogEncryptionSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains configuration information for maintaining Data Catalog security. */ public open fun dataCatalogEncryptionSettings(`value`: DataCatalogEncryptionSettingsProperty) { - unwrap(this).setDataCatalogEncryptionSettings(`value`.let(DataCatalogEncryptionSettingsProperty::unwrap)) + unwrap(this).setDataCatalogEncryptionSettings(`value`.let(DataCatalogEncryptionSettingsProperty.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnDataCatalogEncryptionSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnDataCatalogEncryptionSettings( * Catalog security. */ override fun dataCatalogEncryptionSettings(dataCatalogEncryptionSettings: IResolvable) { - cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnDataCatalogEncryptionSettings( */ override fun dataCatalogEncryptionSettings(dataCatalogEncryptionSettings: DataCatalogEncryptionSettingsProperty) { - cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(DataCatalogEncryptionSettingsProperty::unwrap)) + cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(DataCatalogEncryptionSettingsProperty.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnDataCatalogEncryptionSettings( */ override fun returnConnectionPasswordEncrypted(returnConnectionPasswordEncrypted: IResolvable) { - cdkBuilder.returnConnectionPasswordEncrypted(returnConnectionPasswordEncrypted.let(IResolvable::unwrap)) + cdkBuilder.returnConnectionPasswordEncrypted(returnConnectionPasswordEncrypted.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -538,7 +538,7 @@ public open class CfnDataCatalogEncryptionSettings( * You can enable catalog encryption or only password encryption. */ override fun connectionPasswordEncryption(connectionPasswordEncryption: IResolvable) { - cdkBuilder.connectionPasswordEncryption(connectionPasswordEncryption.let(IResolvable::unwrap)) + cdkBuilder.connectionPasswordEncryption(connectionPasswordEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnDataCatalogEncryptionSettings( */ override fun connectionPasswordEncryption(connectionPasswordEncryption: ConnectionPasswordEncryptionProperty) { - cdkBuilder.connectionPasswordEncryption(connectionPasswordEncryption.let(ConnectionPasswordEncryptionProperty::unwrap)) + cdkBuilder.connectionPasswordEncryption(connectionPasswordEncryption.let(ConnectionPasswordEncryptionProperty.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public open class CfnDataCatalogEncryptionSettings( * Catalog. */ override fun encryptionAtRest(encryptionAtRest: IResolvable) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(IResolvable.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public open class CfnDataCatalogEncryptionSettings( * Catalog. */ override fun encryptionAtRest(encryptionAtRest: EncryptionAtRestProperty) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestProperty::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettingsProps.kt index f1c12ebb73..080da53181 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataCatalogEncryptionSettingsProps.kt @@ -104,7 +104,7 @@ public interface CfnDataCatalogEncryptionSettingsProps { * Catalog security. */ override fun dataCatalogEncryptionSettings(dataCatalogEncryptionSettings: IResolvable) { - cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface CfnDataCatalogEncryptionSettingsProps { */ override fun dataCatalogEncryptionSettings(dataCatalogEncryptionSettings: CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty) { - cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty::unwrap)) + cdkBuilder.dataCatalogEncryptionSettings(dataCatalogEncryptionSettings.let(CfnDataCatalogEncryptionSettings.DataCatalogEncryptionSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRuleset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRuleset.kt index a002523446..f0cbd40660 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRuleset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRuleset.kt @@ -51,7 +51,7 @@ public open class CfnDataQualityRuleset( cdkObject: software.amazon.awscdk.services.glue.CfnDataQualityRuleset, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.glue.CfnDataQualityRuleset(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.glue.CfnDataQualityRuleset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnDataQualityRuleset( id: String, props: CfnDataQualityRulesetProps, ) : - this(software.amazon.awscdk.services.glue.CfnDataQualityRuleset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataQualityRulesetProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnDataQualityRuleset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataQualityRulesetProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnDataQualityRuleset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,14 +162,14 @@ public open class CfnDataQualityRuleset( * An object representing an AWS Glue table. */ public open fun targetTable(`value`: IResolvable) { - unwrap(this).setTargetTable(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetTable(`value`.let(IResolvable.Companion::unwrap)) } /** * An object representing an AWS Glue table. */ public open fun targetTable(`value`: DataQualityTargetTableProperty) { - unwrap(this).setTargetTable(`value`.let(DataQualityTargetTableProperty::unwrap)) + unwrap(this).setTargetTable(`value`.let(DataQualityTargetTableProperty.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnDataQualityRuleset( * @param targetTable An object representing an AWS Glue table. */ override fun targetTable(targetTable: IResolvable) { - cdkBuilder.targetTable(targetTable.let(IResolvable::unwrap)) + cdkBuilder.targetTable(targetTable.let(IResolvable.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnDataQualityRuleset( * @param targetTable An object representing an AWS Glue table. */ override fun targetTable(targetTable: DataQualityTargetTableProperty) { - cdkBuilder.targetTable(targetTable.let(DataQualityTargetTableProperty::unwrap)) + cdkBuilder.targetTable(targetTable.let(DataQualityTargetTableProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRulesetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRulesetProps.kt index ae58cfbf32..6a0ae3e9bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRulesetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDataQualityRulesetProps.kt @@ -178,14 +178,14 @@ public interface CfnDataQualityRulesetProps { * @param targetTable An object representing an AWS Glue table. */ override fun targetTable(targetTable: IResolvable) { - cdkBuilder.targetTable(targetTable.let(IResolvable::unwrap)) + cdkBuilder.targetTable(targetTable.let(IResolvable.Companion::unwrap)) } /** * @param targetTable An object representing an AWS Glue table. */ override fun targetTable(targetTable: CfnDataQualityRuleset.DataQualityTargetTableProperty) { - cdkBuilder.targetTable(targetTable.let(CfnDataQualityRuleset.DataQualityTargetTableProperty::unwrap)) + cdkBuilder.targetTable(targetTable.let(CfnDataQualityRuleset.DataQualityTargetTableProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabase.kt index f8aab84ef2..38c5f4595d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabase.kt @@ -68,8 +68,8 @@ public open class CfnDatabase( id: String, props: CfnDatabaseProps, ) : - this(software.amazon.awscdk.services.glue.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatabaseProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatabaseProps.Companion::unwrap)) ) public constructor( @@ -105,14 +105,14 @@ public open class CfnDatabase( * The metadata for the database. */ public open fun databaseInput(`value`: IResolvable) { - unwrap(this).setDatabaseInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setDatabaseInput(`value`.let(IResolvable.Companion::unwrap)) } /** * The metadata for the database. */ public open fun databaseInput(`value`: DatabaseInputProperty) { - unwrap(this).setDatabaseInput(`value`.let(DatabaseInputProperty::unwrap)) + unwrap(this).setDatabaseInput(`value`.let(DatabaseInputProperty.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnDatabase( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnDatabase( * @param databaseInput The metadata for the database. */ override fun databaseInput(databaseInput: IResolvable) { - cdkBuilder.databaseInput(databaseInput.let(IResolvable::unwrap)) + cdkBuilder.databaseInput(databaseInput.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnDatabase( * @param databaseInput The metadata for the database. */ override fun databaseInput(databaseInput: DatabaseInputProperty) { - cdkBuilder.databaseInput(databaseInput.let(DatabaseInputProperty::unwrap)) + cdkBuilder.databaseInput(databaseInput.let(DatabaseInputProperty.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class CfnDatabase( * Used by AWS Lake Formation . Not used in the normal course of AWS Glue operations. */ override fun createTableDefaultPermissions(createTableDefaultPermissions: IResolvable) { - cdkBuilder.createTableDefaultPermissions(createTableDefaultPermissions.let(IResolvable::unwrap)) + cdkBuilder.createTableDefaultPermissions(createTableDefaultPermissions.let(IResolvable.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnDatabase( * the AWS Glue Data Catalog . */ override fun federatedDatabase(federatedDatabase: IResolvable) { - cdkBuilder.federatedDatabase(federatedDatabase.let(IResolvable::unwrap)) + cdkBuilder.federatedDatabase(federatedDatabase.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnDatabase( * the AWS Glue Data Catalog . */ override fun federatedDatabase(federatedDatabase: FederatedDatabaseProperty) { - cdkBuilder.federatedDatabase(federatedDatabase.let(FederatedDatabaseProperty::unwrap)) + cdkBuilder.federatedDatabase(federatedDatabase.let(FederatedDatabaseProperty.Companion::unwrap)) } /** @@ -739,7 +739,7 @@ public open class CfnDatabase( * resource linking. */ override fun targetDatabase(targetDatabase: IResolvable) { - cdkBuilder.targetDatabase(targetDatabase.let(IResolvable::unwrap)) + cdkBuilder.targetDatabase(targetDatabase.let(IResolvable.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class CfnDatabase( * resource linking. */ override fun targetDatabase(targetDatabase: DatabaseIdentifierProperty) { - cdkBuilder.targetDatabase(targetDatabase.let(DatabaseIdentifierProperty::unwrap)) + cdkBuilder.targetDatabase(targetDatabase.let(DatabaseIdentifierProperty.Companion::unwrap)) } /** @@ -1035,14 +1035,14 @@ public open class CfnDatabase( * @param principal The principal who is granted permissions. */ override fun principal(principal: IResolvable) { - cdkBuilder.principal(principal.let(IResolvable::unwrap)) + cdkBuilder.principal(principal.let(IResolvable.Companion::unwrap)) } /** * @param principal The principal who is granted permissions. */ override fun principal(principal: DataLakePrincipalProperty) { - cdkBuilder.principal(principal.let(DataLakePrincipalProperty::unwrap)) + cdkBuilder.principal(principal.let(DataLakePrincipalProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabaseProps.kt index 92775d03aa..d318b09d40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDatabaseProps.kt @@ -118,14 +118,14 @@ public interface CfnDatabaseProps { * @param databaseInput The metadata for the database. */ override fun databaseInput(databaseInput: IResolvable) { - cdkBuilder.databaseInput(databaseInput.let(IResolvable::unwrap)) + cdkBuilder.databaseInput(databaseInput.let(IResolvable.Companion::unwrap)) } /** * @param databaseInput The metadata for the database. */ override fun databaseInput(databaseInput: CfnDatabase.DatabaseInputProperty) { - cdkBuilder.databaseInput(databaseInput.let(CfnDatabase.DatabaseInputProperty::unwrap)) + cdkBuilder.databaseInput(databaseInput.let(CfnDatabase.DatabaseInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDevEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDevEndpoint.kt index 11c820fad6..7fe1381ee8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDevEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnDevEndpoint.kt @@ -62,8 +62,8 @@ public open class CfnDevEndpoint( id: String, props: CfnDevEndpointProps, ) : - this(software.amazon.awscdk.services.glue.CfnDevEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDevEndpointProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnDevEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDevEndpointProps.Companion::unwrap)) ) public constructor( @@ -148,7 +148,7 @@ public open class CfnDevEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJob.kt index d4614f4e40..1e3dbcf124 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJob.kt @@ -83,8 +83,8 @@ public open class CfnJob( id: String, props: CfnJobProps, ) : - this(software.amazon.awscdk.services.glue.CfnJob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnJobProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnJob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJobProps.Companion::unwrap)) ) public constructor( @@ -124,14 +124,14 @@ public open class CfnJob( * The code that executes a job. */ public open fun command(`value`: IResolvable) { - unwrap(this).setCommand(`value`.let(IResolvable::unwrap)) + unwrap(this).setCommand(`value`.let(IResolvable.Companion::unwrap)) } /** * The code that executes a job. */ public open fun command(`value`: JobCommandProperty) { - unwrap(this).setCommand(`value`.let(JobCommandProperty::unwrap)) + unwrap(this).setCommand(`value`.let(JobCommandProperty.Companion::unwrap)) } /** @@ -151,14 +151,14 @@ public open class CfnJob( * The connections used for this job. */ public open fun connections(`value`: IResolvable) { - unwrap(this).setConnections(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnections(`value`.let(IResolvable.Companion::unwrap)) } /** * The connections used for this job. */ public open fun connections(`value`: ConnectionsListProperty) { - unwrap(this).setConnections(`value`.let(ConnectionsListProperty::unwrap)) + unwrap(this).setConnections(`value`.let(ConnectionsListProperty.Companion::unwrap)) } /** @@ -214,14 +214,14 @@ public open class CfnJob( * The maximum number of concurrent runs that are allowed for this job. */ public open fun executionProperty(`value`: IResolvable) { - unwrap(this).setExecutionProperty(`value`.let(IResolvable::unwrap)) + unwrap(this).setExecutionProperty(`value`.let(IResolvable.Companion::unwrap)) } /** * The maximum number of concurrent runs that are allowed for this job. */ public open fun executionProperty(`value`: ExecutionPropertyProperty) { - unwrap(this).setExecutionProperty(`value`.let(ExecutionPropertyProperty::unwrap)) + unwrap(this).setExecutionProperty(`value`.let(ExecutionPropertyProperty.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnJob( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -322,14 +322,14 @@ public open class CfnJob( * Specifies configuration properties of a notification. */ public open fun notificationProperty(`value`: IResolvable) { - unwrap(this).setNotificationProperty(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationProperty(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies configuration properties of a notification. */ public open fun notificationProperty(`value`: NotificationPropertyProperty) { - unwrap(this).setNotificationProperty(`value`.let(NotificationPropertyProperty::unwrap)) + unwrap(this).setNotificationProperty(`value`.let(NotificationPropertyProperty.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public open class CfnJob( * @param command The code that executes a job. */ override fun command(command: IResolvable) { - cdkBuilder.command(command.let(IResolvable::unwrap)) + cdkBuilder.command(command.let(IResolvable.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class CfnJob( * @param command The code that executes a job. */ override fun command(command: JobCommandProperty) { - cdkBuilder.command(command.let(JobCommandProperty::unwrap)) + cdkBuilder.command(command.let(JobCommandProperty.Companion::unwrap)) } /** @@ -803,7 +803,7 @@ public open class CfnJob( * @param connections The connections used for this job. */ override fun connections(connections: IResolvable) { - cdkBuilder.connections(connections.let(IResolvable::unwrap)) + cdkBuilder.connections(connections.let(IResolvable.Companion::unwrap)) } /** @@ -813,7 +813,7 @@ public open class CfnJob( * @param connections The connections used for this job. */ override fun connections(connections: ConnectionsListProperty) { - cdkBuilder.connections(connections.let(ConnectionsListProperty::unwrap)) + cdkBuilder.connections(connections.let(ConnectionsListProperty.Companion::unwrap)) } /** @@ -888,7 +888,7 @@ public open class CfnJob( * */ override fun executionProperty(executionProperty: IResolvable) { - cdkBuilder.executionProperty(executionProperty.let(IResolvable::unwrap)) + cdkBuilder.executionProperty(executionProperty.let(IResolvable.Companion::unwrap)) } /** @@ -899,7 +899,7 @@ public open class CfnJob( * */ override fun executionProperty(executionProperty: ExecutionPropertyProperty) { - cdkBuilder.executionProperty(executionProperty.let(ExecutionPropertyProperty::unwrap)) + cdkBuilder.executionProperty(executionProperty.let(ExecutionPropertyProperty.Companion::unwrap)) } /** @@ -1006,7 +1006,7 @@ public open class CfnJob( * @param notificationProperty Specifies configuration properties of a notification. */ override fun notificationProperty(notificationProperty: IResolvable) { - cdkBuilder.notificationProperty(notificationProperty.let(IResolvable::unwrap)) + cdkBuilder.notificationProperty(notificationProperty.let(IResolvable.Companion::unwrap)) } /** @@ -1016,7 +1016,7 @@ public open class CfnJob( * @param notificationProperty Specifies configuration properties of a notification. */ override fun notificationProperty(notificationProperty: NotificationPropertyProperty) { - cdkBuilder.notificationProperty(notificationProperty.let(NotificationPropertyProperty::unwrap)) + cdkBuilder.notificationProperty(notificationProperty.let(NotificationPropertyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJobProps.kt index d3f476bdff..69ab4e4aa6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnJobProps.kt @@ -534,14 +534,14 @@ public interface CfnJobProps { * @param command The code that executes a job. */ override fun command(command: IResolvable) { - cdkBuilder.command(command.let(IResolvable::unwrap)) + cdkBuilder.command(command.let(IResolvable.Companion::unwrap)) } /** * @param command The code that executes a job. */ override fun command(command: CfnJob.JobCommandProperty) { - cdkBuilder.command(command.let(CfnJob.JobCommandProperty::unwrap)) + cdkBuilder.command(command.let(CfnJob.JobCommandProperty.Companion::unwrap)) } /** @@ -556,14 +556,14 @@ public interface CfnJobProps { * @param connections The connections used for this job. */ override fun connections(connections: IResolvable) { - cdkBuilder.connections(connections.let(IResolvable::unwrap)) + cdkBuilder.connections(connections.let(IResolvable.Companion::unwrap)) } /** * @param connections The connections used for this job. */ override fun connections(connections: CfnJob.ConnectionsListProperty) { - cdkBuilder.connections(connections.let(CfnJob.ConnectionsListProperty::unwrap)) + cdkBuilder.connections(connections.let(CfnJob.ConnectionsListProperty.Companion::unwrap)) } /** @@ -620,14 +620,14 @@ public interface CfnJobProps { * @param executionProperty The maximum number of concurrent runs that are allowed for this job. */ override fun executionProperty(executionProperty: IResolvable) { - cdkBuilder.executionProperty(executionProperty.let(IResolvable::unwrap)) + cdkBuilder.executionProperty(executionProperty.let(IResolvable.Companion::unwrap)) } /** * @param executionProperty The maximum number of concurrent runs that are allowed for this job. */ override fun executionProperty(executionProperty: CfnJob.ExecutionPropertyProperty) { - cdkBuilder.executionProperty(executionProperty.let(CfnJob.ExecutionPropertyProperty::unwrap)) + cdkBuilder.executionProperty(executionProperty.let(CfnJob.ExecutionPropertyProperty.Companion::unwrap)) } /** @@ -708,14 +708,14 @@ public interface CfnJobProps { * @param notificationProperty Specifies configuration properties of a notification. */ override fun notificationProperty(notificationProperty: IResolvable) { - cdkBuilder.notificationProperty(notificationProperty.let(IResolvable::unwrap)) + cdkBuilder.notificationProperty(notificationProperty.let(IResolvable.Companion::unwrap)) } /** * @param notificationProperty Specifies configuration properties of a notification. */ override fun notificationProperty(notificationProperty: CfnJob.NotificationPropertyProperty) { - cdkBuilder.notificationProperty(notificationProperty.let(CfnJob.NotificationPropertyProperty::unwrap)) + cdkBuilder.notificationProperty(notificationProperty.let(CfnJob.NotificationPropertyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransform.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransform.kt index b7f1fb0b92..6aca6fcea8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransform.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransform.kt @@ -84,8 +84,8 @@ public open class CfnMLTransform( id: String, props: CfnMLTransformProps, ) : - this(software.amazon.awscdk.services.glue.CfnMLTransform(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMLTransformProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnMLTransform(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMLTransformProps.Companion::unwrap)) ) public constructor( @@ -135,14 +135,14 @@ public open class CfnMLTransform( * A list of AWS Glue table definitions used by the transform. */ public open fun inputRecordTables(`value`: IResolvable) { - unwrap(this).setInputRecordTables(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputRecordTables(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of AWS Glue table definitions used by the transform. */ public open fun inputRecordTables(`value`: InputRecordTablesProperty) { - unwrap(this).setInputRecordTables(`value`.let(InputRecordTablesProperty::unwrap)) + unwrap(this).setInputRecordTables(`value`.let(InputRecordTablesProperty.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnMLTransform( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -270,14 +270,14 @@ public open class CfnMLTransform( * The encryption-at-rest settings of the transform that apply to accessing user data. */ public open fun transformEncryption(`value`: IResolvable) { - unwrap(this).setTransformEncryption(`value`.let(IResolvable::unwrap)) + unwrap(this).setTransformEncryption(`value`.let(IResolvable.Companion::unwrap)) } /** * The encryption-at-rest settings of the transform that apply to accessing user data. */ public open fun transformEncryption(`value`: TransformEncryptionProperty) { - unwrap(this).setTransformEncryption(`value`.let(TransformEncryptionProperty::unwrap)) + unwrap(this).setTransformEncryption(`value`.let(TransformEncryptionProperty.Companion::unwrap)) } /** @@ -297,14 +297,14 @@ public open class CfnMLTransform( * The algorithm-specific parameters that are associated with the machine learning transform. */ public open fun transformParameters(`value`: IResolvable) { - unwrap(this).setTransformParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setTransformParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The algorithm-specific parameters that are associated with the machine learning transform. */ public open fun transformParameters(`value`: TransformParametersProperty) { - unwrap(this).setTransformParameters(`value`.let(TransformParametersProperty::unwrap)) + unwrap(this).setTransformParameters(`value`.let(TransformParametersProperty.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class CfnMLTransform( * @param inputRecordTables A list of AWS Glue table definitions used by the transform. */ override fun inputRecordTables(inputRecordTables: IResolvable) { - cdkBuilder.inputRecordTables(inputRecordTables.let(IResolvable::unwrap)) + cdkBuilder.inputRecordTables(inputRecordTables.let(IResolvable.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnMLTransform( * @param inputRecordTables A list of AWS Glue table definitions used by the transform. */ override fun inputRecordTables(inputRecordTables: InputRecordTablesProperty) { - cdkBuilder.inputRecordTables(inputRecordTables.let(InputRecordTablesProperty::unwrap)) + cdkBuilder.inputRecordTables(inputRecordTables.let(InputRecordTablesProperty.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class CfnMLTransform( * accessing user data. */ override fun transformEncryption(transformEncryption: IResolvable) { - cdkBuilder.transformEncryption(transformEncryption.let(IResolvable::unwrap)) + cdkBuilder.transformEncryption(transformEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public open class CfnMLTransform( * accessing user data. */ override fun transformEncryption(transformEncryption: TransformEncryptionProperty) { - cdkBuilder.transformEncryption(transformEncryption.let(TransformEncryptionProperty::unwrap)) + cdkBuilder.transformEncryption(transformEncryption.let(TransformEncryptionProperty.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public open class CfnMLTransform( * machine learning transform. */ override fun transformParameters(transformParameters: IResolvable) { - cdkBuilder.transformParameters(transformParameters.let(IResolvable::unwrap)) + cdkBuilder.transformParameters(transformParameters.let(IResolvable.Companion::unwrap)) } /** @@ -840,7 +840,7 @@ public open class CfnMLTransform( * machine learning transform. */ override fun transformParameters(transformParameters: TransformParametersProperty) { - cdkBuilder.transformParameters(transformParameters.let(TransformParametersProperty::unwrap)) + cdkBuilder.transformParameters(transformParameters.let(TransformParametersProperty.Companion::unwrap)) } /** @@ -1104,7 +1104,7 @@ public open class CfnMLTransform( * Note that setting this value to true may increase the conflation execution time. */ override fun enforceProvidedLabels(enforceProvidedLabels: IResolvable) { - cdkBuilder.enforceProvidedLabels(enforceProvidedLabels.let(IResolvable::unwrap)) + cdkBuilder.enforceProvidedLabels(enforceProvidedLabels.let(IResolvable.Companion::unwrap)) } /** @@ -1444,7 +1444,7 @@ public open class CfnMLTransform( * input or output data. */ override fun glueTables(glueTables: IResolvable) { - cdkBuilder.glueTables(glueTables.let(IResolvable::unwrap)) + cdkBuilder.glueTables(glueTables.let(IResolvable.Companion::unwrap)) } /** @@ -1711,7 +1711,7 @@ public open class CfnMLTransform( * accessing user data. */ override fun mlUserDataEncryption(mlUserDataEncryption: IResolvable) { - cdkBuilder.mlUserDataEncryption(mlUserDataEncryption.let(IResolvable::unwrap)) + cdkBuilder.mlUserDataEncryption(mlUserDataEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -1719,7 +1719,7 @@ public open class CfnMLTransform( * accessing user data. */ override fun mlUserDataEncryption(mlUserDataEncryption: MLUserDataEncryptionProperty) { - cdkBuilder.mlUserDataEncryption(mlUserDataEncryption.let(MLUserDataEncryptionProperty::unwrap)) + cdkBuilder.mlUserDataEncryption(mlUserDataEncryption.let(MLUserDataEncryptionProperty.Companion::unwrap)) } /** @@ -1868,14 +1868,14 @@ public open class CfnMLTransform( * @param findMatchesParameters The parameters for the find matches algorithm. */ override fun findMatchesParameters(findMatchesParameters: IResolvable) { - cdkBuilder.findMatchesParameters(findMatchesParameters.let(IResolvable::unwrap)) + cdkBuilder.findMatchesParameters(findMatchesParameters.let(IResolvable.Companion::unwrap)) } /** * @param findMatchesParameters The parameters for the find matches algorithm. */ override fun findMatchesParameters(findMatchesParameters: FindMatchesParametersProperty) { - cdkBuilder.findMatchesParameters(findMatchesParameters.let(FindMatchesParametersProperty::unwrap)) + cdkBuilder.findMatchesParameters(findMatchesParameters.let(FindMatchesParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransformProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransformProps.kt index ae110b3edc..a9cb4f3e77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransformProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnMLTransformProps.kt @@ -441,14 +441,14 @@ public interface CfnMLTransformProps { * @param inputRecordTables A list of AWS Glue table definitions used by the transform. */ override fun inputRecordTables(inputRecordTables: IResolvable) { - cdkBuilder.inputRecordTables(inputRecordTables.let(IResolvable::unwrap)) + cdkBuilder.inputRecordTables(inputRecordTables.let(IResolvable.Companion::unwrap)) } /** * @param inputRecordTables A list of AWS Glue table definitions used by the transform. */ override fun inputRecordTables(inputRecordTables: CfnMLTransform.InputRecordTablesProperty) { - cdkBuilder.inputRecordTables(inputRecordTables.let(CfnMLTransform.InputRecordTablesProperty::unwrap)) + cdkBuilder.inputRecordTables(inputRecordTables.let(CfnMLTransform.InputRecordTablesProperty.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public interface CfnMLTransformProps { * KMS key. */ override fun transformEncryption(transformEncryption: IResolvable) { - cdkBuilder.transformEncryption(transformEncryption.let(IResolvable::unwrap)) + cdkBuilder.transformEncryption(transformEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface CfnMLTransformProps { */ override fun transformEncryption(transformEncryption: CfnMLTransform.TransformEncryptionProperty) { - cdkBuilder.transformEncryption(transformEncryption.let(CfnMLTransform.TransformEncryptionProperty::unwrap)) + cdkBuilder.transformEncryption(transformEncryption.let(CfnMLTransform.TransformEncryptionProperty.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public interface CfnMLTransformProps { * machine learning transform. */ override fun transformParameters(transformParameters: IResolvable) { - cdkBuilder.transformParameters(transformParameters.let(IResolvable::unwrap)) + cdkBuilder.transformParameters(transformParameters.let(IResolvable.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public interface CfnMLTransformProps { */ override fun transformParameters(transformParameters: CfnMLTransform.TransformParametersProperty) { - cdkBuilder.transformParameters(transformParameters.let(CfnMLTransform.TransformParametersProperty::unwrap)) + cdkBuilder.transformParameters(transformParameters.let(CfnMLTransform.TransformParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartition.kt index 008ecc6073..49ea02aeaf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartition.kt @@ -99,8 +99,8 @@ public open class CfnPartition( id: String, props: CfnPartitionProps, ) : - this(software.amazon.awscdk.services.glue.CfnPartition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPartitionProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnPartition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPartitionProps.Companion::unwrap)) ) public constructor( @@ -145,7 +145,7 @@ public open class CfnPartition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,14 +157,14 @@ public open class CfnPartition( * The structure used to create and update a partition. */ public open fun partitionInput(`value`: IResolvable) { - unwrap(this).setPartitionInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setPartitionInput(`value`.let(IResolvable.Companion::unwrap)) } /** * The structure used to create and update a partition. */ public open fun partitionInput(`value`: PartitionInputProperty) { - unwrap(this).setPartitionInput(`value`.let(PartitionInputProperty::unwrap)) + unwrap(this).setPartitionInput(`value`.let(PartitionInputProperty.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class CfnPartition( * @param partitionInput The structure used to create and update a partition. */ override fun partitionInput(partitionInput: IResolvable) { - cdkBuilder.partitionInput(partitionInput.let(IResolvable::unwrap)) + cdkBuilder.partitionInput(partitionInput.let(IResolvable.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnPartition( * @param partitionInput The structure used to create and update a partition. */ override fun partitionInput(partitionInput: PartitionInputProperty) { - cdkBuilder.partitionInput(partitionInput.let(PartitionInputProperty::unwrap)) + cdkBuilder.partitionInput(partitionInput.let(PartitionInputProperty.Companion::unwrap)) } /** @@ -746,7 +746,7 @@ public open class CfnPartition( * partition is stored. */ override fun storageDescriptor(storageDescriptor: IResolvable) { - cdkBuilder.storageDescriptor(storageDescriptor.let(IResolvable::unwrap)) + cdkBuilder.storageDescriptor(storageDescriptor.let(IResolvable.Companion::unwrap)) } /** @@ -754,7 +754,7 @@ public open class CfnPartition( * partition is stored. */ override fun storageDescriptor(storageDescriptor: StorageDescriptorProperty) { - cdkBuilder.storageDescriptor(storageDescriptor.let(StorageDescriptorProperty::unwrap)) + cdkBuilder.storageDescriptor(storageDescriptor.let(StorageDescriptorProperty.Companion::unwrap)) } /** @@ -1097,7 +1097,7 @@ public open class CfnPartition( * provided. */ override fun schemaId(schemaId: IResolvable) { - cdkBuilder.schemaId(schemaId.let(IResolvable::unwrap)) + cdkBuilder.schemaId(schemaId.let(IResolvable.Companion::unwrap)) } /** @@ -1106,7 +1106,7 @@ public open class CfnPartition( * provided. */ override fun schemaId(schemaId: SchemaIdProperty) { - cdkBuilder.schemaId(schemaId.let(SchemaIdProperty::unwrap)) + cdkBuilder.schemaId(schemaId.let(SchemaIdProperty.Companion::unwrap)) } /** @@ -1834,7 +1834,7 @@ public open class CfnPartition( * @param columns A list of the `Columns` in the table. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -1860,7 +1860,7 @@ public open class CfnPartition( * @param compressed `True` if the data in the table is compressed, or `False` if not. */ override fun compressed(compressed: IResolvable) { - cdkBuilder.compressed(compressed.let(IResolvable::unwrap)) + cdkBuilder.compressed(compressed.let(IResolvable.Companion::unwrap)) } /** @@ -1908,7 +1908,7 @@ public open class CfnPartition( * Registry. */ override fun schemaReference(schemaReference: IResolvable) { - cdkBuilder.schemaReference(schemaReference.let(IResolvable::unwrap)) + cdkBuilder.schemaReference(schemaReference.let(IResolvable.Companion::unwrap)) } /** @@ -1916,7 +1916,7 @@ public open class CfnPartition( * Registry. */ override fun schemaReference(schemaReference: SchemaReferenceProperty) { - cdkBuilder.schemaReference(schemaReference.let(SchemaReferenceProperty::unwrap)) + cdkBuilder.schemaReference(schemaReference.let(SchemaReferenceProperty.Companion::unwrap)) } /** @@ -1932,14 +1932,14 @@ public open class CfnPartition( * @param serdeInfo The serialization/deserialization (SerDe) information. */ override fun serdeInfo(serdeInfo: IResolvable) { - cdkBuilder.serdeInfo(serdeInfo.let(IResolvable::unwrap)) + cdkBuilder.serdeInfo(serdeInfo.let(IResolvable.Companion::unwrap)) } /** * @param serdeInfo The serialization/deserialization (SerDe) information. */ override fun serdeInfo(serdeInfo: SerdeInfoProperty) { - cdkBuilder.serdeInfo(serdeInfo.let(SerdeInfoProperty::unwrap)) + cdkBuilder.serdeInfo(serdeInfo.let(SerdeInfoProperty.Companion::unwrap)) } /** @@ -1955,7 +1955,7 @@ public open class CfnPartition( * values). */ override fun skewedInfo(skewedInfo: IResolvable) { - cdkBuilder.skewedInfo(skewedInfo.let(IResolvable::unwrap)) + cdkBuilder.skewedInfo(skewedInfo.let(IResolvable.Companion::unwrap)) } /** @@ -1963,7 +1963,7 @@ public open class CfnPartition( * values). */ override fun skewedInfo(skewedInfo: SkewedInfoProperty) { - cdkBuilder.skewedInfo(skewedInfo.let(SkewedInfoProperty::unwrap)) + cdkBuilder.skewedInfo(skewedInfo.let(SkewedInfoProperty.Companion::unwrap)) } /** @@ -1979,7 +1979,7 @@ public open class CfnPartition( * @param sortColumns A list specifying the sort order of each bucket in the table. */ override fun sortColumns(sortColumns: IResolvable) { - cdkBuilder.sortColumns(sortColumns.let(IResolvable::unwrap)) + cdkBuilder.sortColumns(sortColumns.let(IResolvable.Companion::unwrap)) } /** @@ -2007,7 +2007,7 @@ public open class CfnPartition( * `False` if not. */ override fun storedAsSubDirectories(storedAsSubDirectories: IResolvable) { - cdkBuilder.storedAsSubDirectories(storedAsSubDirectories.let(IResolvable::unwrap)) + cdkBuilder.storedAsSubDirectories(storedAsSubDirectories.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartitionProps.kt index 3649daf771..14ad5ef8e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnPartitionProps.kt @@ -177,14 +177,14 @@ public interface CfnPartitionProps { * @param partitionInput The structure used to create and update a partition. */ override fun partitionInput(partitionInput: IResolvable) { - cdkBuilder.partitionInput(partitionInput.let(IResolvable::unwrap)) + cdkBuilder.partitionInput(partitionInput.let(IResolvable.Companion::unwrap)) } /** * @param partitionInput The structure used to create and update a partition. */ override fun partitionInput(partitionInput: CfnPartition.PartitionInputProperty) { - cdkBuilder.partitionInput(partitionInput.let(CfnPartition.PartitionInputProperty::unwrap)) + cdkBuilder.partitionInput(partitionInput.let(CfnPartition.PartitionInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistry.kt index 5583d165aa..18493ec7e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistry.kt @@ -46,8 +46,8 @@ public open class CfnRegistry( id: String, props: CfnRegistryProps, ) : - this(software.amazon.awscdk.services.glue.CfnRegistry(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRegistryProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnRegistry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRegistryProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnRegistry( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public open class CfnRegistry( * AWS tags that contain a key value pair and may be searched by console, command line, or API. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnRegistry( * line, or API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistryProps.kt index 886fa76d66..fa3d3686af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnRegistryProps.kt @@ -105,7 +105,7 @@ public interface CfnRegistryProps { * line, or API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchema.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchema.kt index a5d4940272..d75c5133b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchema.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchema.kt @@ -64,8 +64,8 @@ public open class CfnSchema( id: String, props: CfnSchemaProps, ) : - this(software.amazon.awscdk.services.glue.CfnSchema(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchemaProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnSchema(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchemaProps.Companion::unwrap)) ) public constructor( @@ -95,14 +95,14 @@ public open class CfnSchema( * Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. */ public open fun checkpointVersion(`value`: IResolvable) { - unwrap(this).setCheckpointVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setCheckpointVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. */ public open fun checkpointVersion(`value`: SchemaVersionProperty) { - unwrap(this).setCheckpointVersion(`value`.let(SchemaVersionProperty::unwrap)) + unwrap(this).setCheckpointVersion(`value`.let(SchemaVersionProperty.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnSchema( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -181,14 +181,14 @@ public open class CfnSchema( * The registry where a schema is stored. */ public open fun registry(`value`: IResolvable) { - unwrap(this).setRegistry(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegistry(`value`.let(IResolvable.Companion::unwrap)) } /** * The registry where a schema is stored. */ public open fun registry(`value`: RegistryProperty) { - unwrap(this).setRegistry(`value`.let(RegistryProperty::unwrap)) + unwrap(this).setRegistry(`value`.let(RegistryProperty.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnSchema( * AWS tags that contain a key value pair and may be searched by console, command line, or API. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class CfnSchema( * checkpoint for the schema. */ override fun checkpointVersion(checkpointVersion: IResolvable) { - cdkBuilder.checkpointVersion(checkpointVersion.let(IResolvable::unwrap)) + cdkBuilder.checkpointVersion(checkpointVersion.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnSchema( * checkpoint for the schema. */ override fun checkpointVersion(checkpointVersion: SchemaVersionProperty) { - cdkBuilder.checkpointVersion(checkpointVersion.let(SchemaVersionProperty::unwrap)) + cdkBuilder.checkpointVersion(checkpointVersion.let(SchemaVersionProperty.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnSchema( * @param registry The registry where a schema is stored. */ override fun registry(registry: IResolvable) { - cdkBuilder.registry(registry.let(IResolvable::unwrap)) + cdkBuilder.registry(registry.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnSchema( * @param registry The registry where a schema is stored. */ override fun registry(registry: RegistryProperty) { - cdkBuilder.registry(registry.let(RegistryProperty::unwrap)) + cdkBuilder.registry(registry.let(RegistryProperty.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnSchema( * line, or API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -718,7 +718,7 @@ public open class CfnSchema( * @param isLatest Indicates if this version is the latest version of the schema. */ override fun isLatest(isLatest: IResolvable) { - cdkBuilder.isLatest(isLatest.let(IResolvable::unwrap)) + cdkBuilder.isLatest(isLatest.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaProps.kt index 4d43c1e201..57d9bf59df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaProps.kt @@ -208,7 +208,7 @@ public interface CfnSchemaProps { * This is only required for updating a checkpoint. */ override fun checkpointVersion(checkpointVersion: IResolvable) { - cdkBuilder.checkpointVersion(checkpointVersion.let(IResolvable::unwrap)) + cdkBuilder.checkpointVersion(checkpointVersion.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnSchemaProps { * This is only required for updating a checkpoint. */ override fun checkpointVersion(checkpointVersion: CfnSchema.SchemaVersionProperty) { - cdkBuilder.checkpointVersion(checkpointVersion.let(CfnSchema.SchemaVersionProperty::unwrap)) + cdkBuilder.checkpointVersion(checkpointVersion.let(CfnSchema.SchemaVersionProperty.Companion::unwrap)) } /** @@ -266,14 +266,14 @@ public interface CfnSchemaProps { * @param registry The registry where a schema is stored. */ override fun registry(registry: IResolvable) { - cdkBuilder.registry(registry.let(IResolvable::unwrap)) + cdkBuilder.registry(registry.let(IResolvable.Companion::unwrap)) } /** * @param registry The registry where a schema is stored. */ override fun registry(registry: CfnSchema.RegistryProperty) { - cdkBuilder.registry(registry.let(CfnSchema.RegistryProperty::unwrap)) + cdkBuilder.registry(registry.let(CfnSchema.RegistryProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CfnSchemaProps { * line, or API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersion.kt index bba7e0ad9a..7189d09379 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersion.kt @@ -46,8 +46,8 @@ public open class CfnSchemaVersion( id: String, props: CfnSchemaVersionProps, ) : - this(software.amazon.awscdk.services.glue.CfnSchemaVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchemaVersionProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnSchemaVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchemaVersionProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class CfnSchemaVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -80,14 +80,14 @@ public open class CfnSchemaVersion( * The schema that includes the schema version. */ public open fun schema(`value`: IResolvable) { - unwrap(this).setSchema(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchema(`value`.let(IResolvable.Companion::unwrap)) } /** * The schema that includes the schema version. */ public open fun schema(`value`: SchemaProperty) { - unwrap(this).setSchema(`value`.let(SchemaProperty::unwrap)) + unwrap(this).setSchema(`value`.let(SchemaProperty.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnSchemaVersion( * @param schema The schema that includes the schema version. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnSchemaVersion( * @param schema The schema that includes the schema version. */ override fun schema(schema: SchemaProperty) { - cdkBuilder.schema(schema.let(SchemaProperty::unwrap)) + cdkBuilder.schema(schema.let(SchemaProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionMetadata.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionMetadata.kt index ec22fa91d8..c295df7893 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionMetadata.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionMetadata.kt @@ -39,8 +39,8 @@ public open class CfnSchemaVersionMetadata( id: String, props: CfnSchemaVersionMetadataProps, ) : - this(software.amazon.awscdk.services.glue.CfnSchemaVersionMetadata(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchemaVersionMetadataProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnSchemaVersionMetadata(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchemaVersionMetadataProps.Companion::unwrap)) ) public constructor( @@ -56,7 +56,7 @@ public open class CfnSchemaVersionMetadata( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionProps.kt index f379730b80..ca475c7dfc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSchemaVersionProps.kt @@ -83,14 +83,14 @@ public interface CfnSchemaVersionProps { * @param schema The schema that includes the schema version. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** * @param schema The schema that includes the schema version. */ override fun schema(schema: CfnSchemaVersion.SchemaProperty) { - cdkBuilder.schema(schema.let(CfnSchemaVersion.SchemaProperty::unwrap)) + cdkBuilder.schema(schema.let(CfnSchemaVersion.SchemaProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfiguration.kt index aec9597142..e7a833dc88 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfiguration.kt @@ -61,8 +61,8 @@ public open class CfnSecurityConfiguration( id: String, props: CfnSecurityConfigurationProps, ) : - this(software.amazon.awscdk.services.glue.CfnSecurityConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnSecurityConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityConfigurationProps.Companion::unwrap)) ) public constructor( @@ -86,14 +86,14 @@ public open class CfnSecurityConfiguration( * The encryption configuration associated with this security configuration. */ public open fun encryptionConfiguration(`value`: IResolvable) { - unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The encryption configuration associated with this security configuration. */ public open fun encryptionConfiguration(`value`: EncryptionConfigurationProperty) { - unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnSecurityConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnSecurityConfiguration( * configuration. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnSecurityConfiguration( * configuration. */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -479,14 +479,14 @@ public open class CfnSecurityConfiguration( * @param cloudWatchEncryption The encryption configuration for Amazon CloudWatch. */ override fun cloudWatchEncryption(cloudWatchEncryption: IResolvable) { - cdkBuilder.cloudWatchEncryption(cloudWatchEncryption.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchEncryption(cloudWatchEncryption.let(IResolvable.Companion::unwrap)) } /** * @param cloudWatchEncryption The encryption configuration for Amazon CloudWatch. */ override fun cloudWatchEncryption(cloudWatchEncryption: CloudWatchEncryptionProperty) { - cdkBuilder.cloudWatchEncryption(cloudWatchEncryption.let(CloudWatchEncryptionProperty::unwrap)) + cdkBuilder.cloudWatchEncryption(cloudWatchEncryption.let(CloudWatchEncryptionProperty.Companion::unwrap)) } /** @@ -502,14 +502,14 @@ public open class CfnSecurityConfiguration( * @param jobBookmarksEncryption The encryption configuration for job bookmarks. */ override fun jobBookmarksEncryption(jobBookmarksEncryption: IResolvable) { - cdkBuilder.jobBookmarksEncryption(jobBookmarksEncryption.let(IResolvable::unwrap)) + cdkBuilder.jobBookmarksEncryption(jobBookmarksEncryption.let(IResolvable.Companion::unwrap)) } /** * @param jobBookmarksEncryption The encryption configuration for job bookmarks. */ override fun jobBookmarksEncryption(jobBookmarksEncryption: JobBookmarksEncryptionProperty) { - cdkBuilder.jobBookmarksEncryption(jobBookmarksEncryption.let(JobBookmarksEncryptionProperty::unwrap)) + cdkBuilder.jobBookmarksEncryption(jobBookmarksEncryption.let(JobBookmarksEncryptionProperty.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnSecurityConfiguration( * S3) data. */ override fun s3Encryptions(s3Encryptions: IResolvable) { - cdkBuilder.s3Encryptions(s3Encryptions.let(IResolvable::unwrap)) + cdkBuilder.s3Encryptions(s3Encryptions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfigurationProps.kt index 4b9f1f3c97..5745a30073 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnSecurityConfigurationProps.kt @@ -100,7 +100,7 @@ public interface CfnSecurityConfigurationProps { * configuration. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface CfnSecurityConfigurationProps { */ override fun encryptionConfiguration(encryptionConfiguration: CfnSecurityConfiguration.EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnSecurityConfiguration.EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnSecurityConfiguration.EncryptionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTable.kt index 89b9b367dd..d5d5607146 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTable.kt @@ -119,8 +119,8 @@ public open class CfnTable( id: String, props: CfnTableProps, ) : - this(software.amazon.awscdk.services.glue.CfnTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTableProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTableProps.Companion::unwrap)) ) public constructor( @@ -165,7 +165,7 @@ public open class CfnTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -177,14 +177,14 @@ public open class CfnTable( * Specifies an `OpenTableFormatInput` structure when creating an open format table. */ public open fun openTableFormatInput(`value`: IResolvable) { - unwrap(this).setOpenTableFormatInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpenTableFormatInput(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies an `OpenTableFormatInput` structure when creating an open format table. */ public open fun openTableFormatInput(`value`: OpenTableFormatInputProperty) { - unwrap(this).setOpenTableFormatInput(`value`.let(OpenTableFormatInputProperty::unwrap)) + unwrap(this).setOpenTableFormatInput(`value`.let(OpenTableFormatInputProperty.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnTable( * A structure used to define a table. */ public open fun tableInput(`value`: IResolvable) { - unwrap(this).setTableInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setTableInput(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure used to define a table. */ public open fun tableInput(`value`: TableInputProperty) { - unwrap(this).setTableInput(`value`.let(TableInputProperty::unwrap)) + unwrap(this).setTableInput(`value`.let(TableInputProperty.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnTable( * open format table. */ override fun openTableFormatInput(openTableFormatInput: IResolvable) { - cdkBuilder.openTableFormatInput(openTableFormatInput.let(IResolvable::unwrap)) + cdkBuilder.openTableFormatInput(openTableFormatInput.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnTable( * open format table. */ override fun openTableFormatInput(openTableFormatInput: OpenTableFormatInputProperty) { - cdkBuilder.openTableFormatInput(openTableFormatInput.let(OpenTableFormatInputProperty::unwrap)) + cdkBuilder.openTableFormatInput(openTableFormatInput.let(OpenTableFormatInputProperty.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnTable( * @param tableInput A structure used to define a table. */ override fun tableInput(tableInput: IResolvable) { - cdkBuilder.tableInput(tableInput.let(IResolvable::unwrap)) + cdkBuilder.tableInput(tableInput.let(IResolvable.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class CfnTable( * @param tableInput A structure used to define a table. */ override fun tableInput(tableInput: TableInputProperty) { - cdkBuilder.tableInput(tableInput.let(TableInputProperty::unwrap)) + cdkBuilder.tableInput(tableInput.let(TableInputProperty.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public open class CfnTable( * metadata table. */ override fun icebergInput(icebergInput: IResolvable) { - cdkBuilder.icebergInput(icebergInput.let(IResolvable::unwrap)) + cdkBuilder.icebergInput(icebergInput.let(IResolvable.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnTable( * metadata table. */ override fun icebergInput(icebergInput: IcebergInputProperty) { - cdkBuilder.icebergInput(icebergInput.let(IcebergInputProperty::unwrap)) + cdkBuilder.icebergInput(icebergInput.let(IcebergInputProperty.Companion::unwrap)) } /** @@ -1144,7 +1144,7 @@ public open class CfnTable( * provided. */ override fun schemaId(schemaId: IResolvable) { - cdkBuilder.schemaId(schemaId.let(IResolvable::unwrap)) + cdkBuilder.schemaId(schemaId.let(IResolvable.Companion::unwrap)) } /** @@ -1153,7 +1153,7 @@ public open class CfnTable( * provided. */ override fun schemaId(schemaId: SchemaIdProperty) { - cdkBuilder.schemaId(schemaId.let(SchemaIdProperty::unwrap)) + cdkBuilder.schemaId(schemaId.let(SchemaIdProperty.Companion::unwrap)) } /** @@ -1874,7 +1874,7 @@ public open class CfnTable( * @param columns A list of the `Columns` in the table. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -1900,7 +1900,7 @@ public open class CfnTable( * @param compressed `True` if the data in the table is compressed, or `False` if not. */ override fun compressed(compressed: IResolvable) { - cdkBuilder.compressed(compressed.let(IResolvable::unwrap)) + cdkBuilder.compressed(compressed.let(IResolvable.Companion::unwrap)) } /** @@ -1947,7 +1947,7 @@ public open class CfnTable( * Registry. */ override fun schemaReference(schemaReference: IResolvable) { - cdkBuilder.schemaReference(schemaReference.let(IResolvable::unwrap)) + cdkBuilder.schemaReference(schemaReference.let(IResolvable.Companion::unwrap)) } /** @@ -1955,7 +1955,7 @@ public open class CfnTable( * Registry. */ override fun schemaReference(schemaReference: SchemaReferenceProperty) { - cdkBuilder.schemaReference(schemaReference.let(SchemaReferenceProperty::unwrap)) + cdkBuilder.schemaReference(schemaReference.let(SchemaReferenceProperty.Companion::unwrap)) } /** @@ -1971,14 +1971,14 @@ public open class CfnTable( * @param serdeInfo The serialization/deserialization (SerDe) information. */ override fun serdeInfo(serdeInfo: IResolvable) { - cdkBuilder.serdeInfo(serdeInfo.let(IResolvable::unwrap)) + cdkBuilder.serdeInfo(serdeInfo.let(IResolvable.Companion::unwrap)) } /** * @param serdeInfo The serialization/deserialization (SerDe) information. */ override fun serdeInfo(serdeInfo: SerdeInfoProperty) { - cdkBuilder.serdeInfo(serdeInfo.let(SerdeInfoProperty::unwrap)) + cdkBuilder.serdeInfo(serdeInfo.let(SerdeInfoProperty.Companion::unwrap)) } /** @@ -1994,7 +1994,7 @@ public open class CfnTable( * values). */ override fun skewedInfo(skewedInfo: IResolvable) { - cdkBuilder.skewedInfo(skewedInfo.let(IResolvable::unwrap)) + cdkBuilder.skewedInfo(skewedInfo.let(IResolvable.Companion::unwrap)) } /** @@ -2002,7 +2002,7 @@ public open class CfnTable( * values). */ override fun skewedInfo(skewedInfo: SkewedInfoProperty) { - cdkBuilder.skewedInfo(skewedInfo.let(SkewedInfoProperty::unwrap)) + cdkBuilder.skewedInfo(skewedInfo.let(SkewedInfoProperty.Companion::unwrap)) } /** @@ -2018,7 +2018,7 @@ public open class CfnTable( * @param sortColumns A list specifying the sort order of each bucket in the table. */ override fun sortColumns(sortColumns: IResolvable) { - cdkBuilder.sortColumns(sortColumns.let(IResolvable::unwrap)) + cdkBuilder.sortColumns(sortColumns.let(IResolvable.Companion::unwrap)) } /** @@ -2046,7 +2046,7 @@ public open class CfnTable( * `False` if not. */ override fun storedAsSubDirectories(storedAsSubDirectories: IResolvable) { - cdkBuilder.storedAsSubDirectories(storedAsSubDirectories.let(IResolvable::unwrap)) + cdkBuilder.storedAsSubDirectories(storedAsSubDirectories.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.glue.CfnTable.StorageDescriptorProperty = @@ -2685,7 +2685,7 @@ public open class CfnTable( * `"PartitionKeys": []` */ override fun partitionKeys(partitionKeys: IResolvable) { - cdkBuilder.partitionKeys(partitionKeys.let(IResolvable::unwrap)) + cdkBuilder.partitionKeys(partitionKeys.let(IResolvable.Companion::unwrap)) } /** @@ -2723,7 +2723,7 @@ public open class CfnTable( * storage of this table. */ override fun storageDescriptor(storageDescriptor: IResolvable) { - cdkBuilder.storageDescriptor(storageDescriptor.let(IResolvable::unwrap)) + cdkBuilder.storageDescriptor(storageDescriptor.let(IResolvable.Companion::unwrap)) } /** @@ -2731,7 +2731,7 @@ public open class CfnTable( * storage of this table. */ override fun storageDescriptor(storageDescriptor: StorageDescriptorProperty) { - cdkBuilder.storageDescriptor(storageDescriptor.let(StorageDescriptorProperty::unwrap)) + cdkBuilder.storageDescriptor(storageDescriptor.let(StorageDescriptorProperty.Companion::unwrap)) } /** @@ -2764,7 +2764,7 @@ public open class CfnTable( * linking. */ override fun targetTable(targetTable: IResolvable) { - cdkBuilder.targetTable(targetTable.let(IResolvable::unwrap)) + cdkBuilder.targetTable(targetTable.let(IResolvable.Companion::unwrap)) } /** @@ -2772,7 +2772,7 @@ public open class CfnTable( * linking. */ override fun targetTable(targetTable: TableIdentifierProperty) { - cdkBuilder.targetTable(targetTable.let(TableIdentifierProperty::unwrap)) + cdkBuilder.targetTable(targetTable.let(TableIdentifierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizer.kt index 1323f1fe1f..27d56b6c7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizer.kt @@ -50,8 +50,8 @@ public open class CfnTableOptimizer( id: String, props: CfnTableOptimizerProps, ) : - this(software.amazon.awscdk.services.glue.CfnTableOptimizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTableOptimizerProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnTableOptimizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTableOptimizerProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnTableOptimizer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -120,14 +120,14 @@ public open class CfnTableOptimizer( * Specifies configuration details of a table optimizer. */ public open fun tableOptimizerConfiguration(`value`: IResolvable) { - unwrap(this).setTableOptimizerConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTableOptimizerConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies configuration details of a table optimizer. */ public open fun tableOptimizerConfiguration(`value`: TableOptimizerConfigurationProperty) { - unwrap(this).setTableOptimizerConfiguration(`value`.let(TableOptimizerConfigurationProperty::unwrap)) + unwrap(this).setTableOptimizerConfiguration(`value`.let(TableOptimizerConfigurationProperty.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnTableOptimizer( * @param tableOptimizerConfiguration Specifies configuration details of a table optimizer. */ override fun tableOptimizerConfiguration(tableOptimizerConfiguration: IResolvable) { - cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnTableOptimizer( */ override fun tableOptimizerConfiguration(tableOptimizerConfiguration: TableOptimizerConfigurationProperty) { - cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(TableOptimizerConfigurationProperty::unwrap)) + cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(TableOptimizerConfigurationProperty.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnTableOptimizer( * @param enabled Whether the table optimization is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizerProps.kt index 4f2fc14f86..e8a6e2c07c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableOptimizerProps.kt @@ -155,7 +155,7 @@ public interface CfnTableOptimizerProps { * @param tableOptimizerConfiguration Specifies configuration details of a table optimizer. */ override fun tableOptimizerConfiguration(tableOptimizerConfiguration: IResolvable) { - cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface CfnTableOptimizerProps { */ override fun tableOptimizerConfiguration(tableOptimizerConfiguration: CfnTableOptimizer.TableOptimizerConfigurationProperty) { - cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(CfnTableOptimizer.TableOptimizerConfigurationProperty::unwrap)) + cdkBuilder.tableOptimizerConfiguration(tableOptimizerConfiguration.let(CfnTableOptimizer.TableOptimizerConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableProps.kt index 377d6d653c..26abfade29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTableProps.kt @@ -208,7 +208,7 @@ public interface CfnTableProps { * open format table. */ override fun openTableFormatInput(openTableFormatInput: IResolvable) { - cdkBuilder.openTableFormatInput(openTableFormatInput.let(IResolvable::unwrap)) + cdkBuilder.openTableFormatInput(openTableFormatInput.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public interface CfnTableProps { * open format table. */ override fun openTableFormatInput(openTableFormatInput: CfnTable.OpenTableFormatInputProperty) { - cdkBuilder.openTableFormatInput(openTableFormatInput.let(CfnTable.OpenTableFormatInputProperty::unwrap)) + cdkBuilder.openTableFormatInput(openTableFormatInput.let(CfnTable.OpenTableFormatInputProperty.Companion::unwrap)) } /** @@ -233,14 +233,14 @@ public interface CfnTableProps { * @param tableInput A structure used to define a table. */ override fun tableInput(tableInput: IResolvable) { - cdkBuilder.tableInput(tableInput.let(IResolvable::unwrap)) + cdkBuilder.tableInput(tableInput.let(IResolvable.Companion::unwrap)) } /** * @param tableInput A structure used to define a table. */ override fun tableInput(tableInput: CfnTable.TableInputProperty) { - cdkBuilder.tableInput(tableInput.let(CfnTable.TableInputProperty::unwrap)) + cdkBuilder.tableInput(tableInput.let(CfnTable.TableInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTrigger.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTrigger.kt index 39e4aa5006..5af3ee9d3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTrigger.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTrigger.kt @@ -84,8 +84,8 @@ public open class CfnTrigger( id: String, props: CfnTriggerProps, ) : - this(software.amazon.awscdk.services.glue.CfnTrigger(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTriggerProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnTrigger(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTriggerProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnTrigger( * The actions initiated by this trigger. */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnTrigger( * expired) before EventBridge event trigger fires. */ public open fun eventBatchingCondition(`value`: IResolvable) { - unwrap(this).setEventBatchingCondition(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventBatchingCondition(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnTrigger( * expired) before EventBridge event trigger fires. */ public open fun eventBatchingCondition(`value`: EventBatchingConditionProperty) { - unwrap(this).setEventBatchingCondition(`value`.let(EventBatchingConditionProperty::unwrap)) + unwrap(this).setEventBatchingCondition(`value`.let(EventBatchingConditionProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnTrigger( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -198,14 +198,14 @@ public open class CfnTrigger( * The predicate of this trigger, which defines when it will fire. */ public open fun predicate(`value`: IResolvable) { - unwrap(this).setPredicate(`value`.let(IResolvable::unwrap)) + unwrap(this).setPredicate(`value`.let(IResolvable.Companion::unwrap)) } /** * The predicate of this trigger, which defines when it will fire. */ public open fun predicate(`value`: PredicateProperty) { - unwrap(this).setPredicate(`value`.let(PredicateProperty::unwrap)) + unwrap(this).setPredicate(`value`.let(PredicateProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnTrigger( * Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created. */ public open fun startOnCreation(`value`: IResolvable) { - unwrap(this).setStartOnCreation(`value`.let(IResolvable::unwrap)) + unwrap(this).setStartOnCreation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnTrigger( * @param actions The actions initiated by this trigger. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class CfnTrigger( * received or batch time window expired) before EventBridge event trigger fires. */ override fun eventBatchingCondition(eventBatchingCondition: IResolvable) { - cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(IResolvable::unwrap)) + cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CfnTrigger( * received or batch time window expired) before EventBridge event trigger fires. */ override fun eventBatchingCondition(eventBatchingCondition: EventBatchingConditionProperty) { - cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(EventBatchingConditionProperty::unwrap)) + cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(EventBatchingConditionProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnTrigger( * @param predicate The predicate of this trigger, which defines when it will fire. */ override fun predicate(predicate: IResolvable) { - cdkBuilder.predicate(predicate.let(IResolvable::unwrap)) + cdkBuilder.predicate(predicate.let(IResolvable.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public open class CfnTrigger( * @param predicate The predicate of this trigger, which defines when it will fire. */ override fun predicate(predicate: PredicateProperty) { - cdkBuilder.predicate(predicate.let(PredicateProperty::unwrap)) + cdkBuilder.predicate(predicate.let(PredicateProperty.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public open class CfnTrigger( * created. */ override fun startOnCreation(startOnCreation: IResolvable) { - cdkBuilder.startOnCreation(startOnCreation.let(IResolvable::unwrap)) + cdkBuilder.startOnCreation(startOnCreation.let(IResolvable.Companion::unwrap)) } /** @@ -866,14 +866,14 @@ public open class CfnTrigger( * @param notificationProperty Specifies configuration properties of a job run notification. */ override fun notificationProperty(notificationProperty: IResolvable) { - cdkBuilder.notificationProperty(notificationProperty.let(IResolvable::unwrap)) + cdkBuilder.notificationProperty(notificationProperty.let(IResolvable.Companion::unwrap)) } /** * @param notificationProperty Specifies configuration properties of a job run notification. */ override fun notificationProperty(notificationProperty: NotificationPropertyProperty) { - cdkBuilder.notificationProperty(notificationProperty.let(NotificationPropertyProperty::unwrap)) + cdkBuilder.notificationProperty(notificationProperty.let(NotificationPropertyProperty.Companion::unwrap)) } /** @@ -1468,7 +1468,7 @@ public open class CfnTrigger( * @param conditions A list of the conditions that determine when the trigger will fire. */ override fun conditions(conditions: IResolvable) { - cdkBuilder.conditions(conditions.let(IResolvable::unwrap)) + cdkBuilder.conditions(conditions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTriggerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTriggerProps.kt index 37cdb5a7c8..8e4be6692e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTriggerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnTriggerProps.kt @@ -258,7 +258,7 @@ public interface CfnTriggerProps { * @param actions The actions initiated by this trigger. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface CfnTriggerProps { * received or batch time window expired) before EventBridge event trigger fires. */ override fun eventBatchingCondition(eventBatchingCondition: IResolvable) { - cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(IResolvable::unwrap)) + cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnTriggerProps { */ override fun eventBatchingCondition(eventBatchingCondition: CfnTrigger.EventBatchingConditionProperty) { - cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(CfnTrigger.EventBatchingConditionProperty::unwrap)) + cdkBuilder.eventBatchingCondition(eventBatchingCondition.let(CfnTrigger.EventBatchingConditionProperty.Companion::unwrap)) } /** @@ -319,14 +319,14 @@ public interface CfnTriggerProps { * @param predicate The predicate of this trigger, which defines when it will fire. */ override fun predicate(predicate: IResolvable) { - cdkBuilder.predicate(predicate.let(IResolvable::unwrap)) + cdkBuilder.predicate(predicate.let(IResolvable.Companion::unwrap)) } /** * @param predicate The predicate of this trigger, which defines when it will fire. */ override fun predicate(predicate: CfnTrigger.PredicateProperty) { - cdkBuilder.predicate(predicate.let(CfnTrigger.PredicateProperty::unwrap)) + cdkBuilder.predicate(predicate.let(CfnTrigger.PredicateProperty.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public interface CfnTriggerProps { * True is not supported for `ON_DEMAND` triggers. */ override fun startOnCreation(startOnCreation: IResolvable) { - cdkBuilder.startOnCreation(startOnCreation.let(IResolvable::unwrap)) + cdkBuilder.startOnCreation(startOnCreation.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnWorkflow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnWorkflow.kt index a3faa26a60..d67c52a2ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnWorkflow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/glue/CfnWorkflow.kt @@ -45,7 +45,7 @@ public open class CfnWorkflow( cdkObject: software.amazon.awscdk.services.glue.CfnWorkflow, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.glue.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.glue.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class CfnWorkflow( id: String, props: CfnWorkflowProps, ) : - this(software.amazon.awscdk.services.glue.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkflowProps::unwrap)) + this(software.amazon.awscdk.services.glue.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkflowProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnWorkflow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspace.kt index 059601c50f..7ab8e4609a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspace.kt @@ -90,8 +90,8 @@ public open class CfnWorkspace( id: String, props: CfnWorkspaceProps, ) : - this(software.amazon.awscdk.services.grafana.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkspaceProps::unwrap)) + this(software.amazon.awscdk.services.grafana.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkspaceProps.Companion::unwrap)) ) public constructor( @@ -268,7 +268,7 @@ public open class CfnWorkspace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -292,14 +292,14 @@ public open class CfnWorkspace( * The configuration settings for network access to your workspace. */ public open fun networkAccessControl(`value`: IResolvable) { - unwrap(this).setNetworkAccessControl(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkAccessControl(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration settings for network access to your workspace. */ public open fun networkAccessControl(`value`: NetworkAccessControlProperty) { - unwrap(this).setNetworkAccessControl(`value`.let(NetworkAccessControlProperty::unwrap)) + unwrap(this).setNetworkAccessControl(`value`.let(NetworkAccessControlProperty.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnWorkspace( * Whether plugin administration is enabled in the workspace. */ public open fun pluginAdminEnabled(`value`: IResolvable) { - unwrap(this).setPluginAdminEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setPluginAdminEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnWorkspace( * `Editor` roles in the workspace. */ public open fun samlConfiguration(`value`: IResolvable) { - unwrap(this).setSamlConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSamlConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnWorkspace( * `Editor` roles in the workspace. */ public open fun samlConfiguration(`value`: SamlConfigurationProperty) { - unwrap(this).setSamlConfiguration(`value`.let(SamlConfigurationProperty::unwrap)) + unwrap(this).setSamlConfiguration(`value`.let(SamlConfigurationProperty.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnWorkspace( * workspace to connect to. */ public open fun vpcConfiguration(`value`: IResolvable) { - unwrap(this).setVpcConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnWorkspace( * workspace to connect to. */ public open fun vpcConfiguration(`value`: VpcConfigurationProperty) { - unwrap(this).setVpcConfiguration(`value`.let(VpcConfigurationProperty::unwrap)) + unwrap(this).setVpcConfiguration(`value`.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public open class CfnWorkspace( * @param networkAccessControl The configuration settings for network access to your workspace. */ override fun networkAccessControl(networkAccessControl: IResolvable) { - cdkBuilder.networkAccessControl(networkAccessControl.let(IResolvable::unwrap)) + cdkBuilder.networkAccessControl(networkAccessControl.let(IResolvable.Companion::unwrap)) } /** @@ -1004,7 +1004,7 @@ public open class CfnWorkspace( * @param networkAccessControl The configuration settings for network access to your workspace. */ override fun networkAccessControl(networkAccessControl: NetworkAccessControlProperty) { - cdkBuilder.networkAccessControl(networkAccessControl.let(NetworkAccessControlProperty::unwrap)) + cdkBuilder.networkAccessControl(networkAccessControl.let(NetworkAccessControlProperty.Companion::unwrap)) } /** @@ -1138,7 +1138,7 @@ public open class CfnWorkspace( * @param pluginAdminEnabled Whether plugin administration is enabled in the workspace. */ override fun pluginAdminEnabled(pluginAdminEnabled: IResolvable) { - cdkBuilder.pluginAdminEnabled(pluginAdminEnabled.let(IResolvable::unwrap)) + cdkBuilder.pluginAdminEnabled(pluginAdminEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1166,7 +1166,7 @@ public open class CfnWorkspace( * to have the `Admin` and `Editor` roles in the workspace. */ override fun samlConfiguration(samlConfiguration: IResolvable) { - cdkBuilder.samlConfiguration(samlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.samlConfiguration(samlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1180,7 +1180,7 @@ public open class CfnWorkspace( * to have the `Admin` and `Editor` roles in the workspace. */ override fun samlConfiguration(samlConfiguration: SamlConfigurationProperty) { - cdkBuilder.samlConfiguration(samlConfiguration.let(SamlConfigurationProperty::unwrap)) + cdkBuilder.samlConfiguration(samlConfiguration.let(SamlConfigurationProperty.Companion::unwrap)) } /** @@ -1224,7 +1224,7 @@ public open class CfnWorkspace( * sources for your Grafana workspace to connect to. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1241,7 +1241,7 @@ public open class CfnWorkspace( * sources for your Grafana workspace to connect to. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -2270,7 +2270,7 @@ public open class CfnWorkspace( * workspace. */ override fun assertionAttributes(assertionAttributes: IResolvable) { - cdkBuilder.assertionAttributes(assertionAttributes.let(IResolvable::unwrap)) + cdkBuilder.assertionAttributes(assertionAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -2279,7 +2279,7 @@ public open class CfnWorkspace( * workspace. */ override fun assertionAttributes(assertionAttributes: AssertionAttributesProperty) { - cdkBuilder.assertionAttributes(assertionAttributes.let(AssertionAttributesProperty::unwrap)) + cdkBuilder.assertionAttributes(assertionAttributes.let(AssertionAttributesProperty.Companion::unwrap)) } /** @@ -2298,7 +2298,7 @@ public open class CfnWorkspace( * integrate the identity provider with this workspace. */ override fun idpMetadata(idpMetadata: IResolvable) { - cdkBuilder.idpMetadata(idpMetadata.let(IResolvable::unwrap)) + cdkBuilder.idpMetadata(idpMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -2306,7 +2306,7 @@ public open class CfnWorkspace( * integrate the identity provider with this workspace. */ override fun idpMetadata(idpMetadata: IdpMetadataProperty) { - cdkBuilder.idpMetadata(idpMetadata.let(IdpMetadataProperty::unwrap)) + cdkBuilder.idpMetadata(idpMetadata.let(IdpMetadataProperty.Companion::unwrap)) } /** @@ -2331,7 +2331,7 @@ public open class CfnWorkspace( * to the Grafana `Admin` and `Editor` roles in the workspace. */ override fun roleValues(roleValues: IResolvable) { - cdkBuilder.roleValues(roleValues.let(IResolvable::unwrap)) + cdkBuilder.roleValues(roleValues.let(IResolvable.Companion::unwrap)) } /** @@ -2339,7 +2339,7 @@ public open class CfnWorkspace( * to the Grafana `Admin` and `Editor` roles in the workspace. */ override fun roleValues(roleValues: RoleValuesProperty) { - cdkBuilder.roleValues(roleValues.let(RoleValuesProperty::unwrap)) + cdkBuilder.roleValues(roleValues.let(RoleValuesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspaceProps.kt index 27c82d817e..2a4305217b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/grafana/CfnWorkspaceProps.kt @@ -581,7 +581,7 @@ public interface CfnWorkspaceProps { * @param networkAccessControl The configuration settings for network access to your workspace. */ override fun networkAccessControl(networkAccessControl: IResolvable) { - cdkBuilder.networkAccessControl(networkAccessControl.let(IResolvable::unwrap)) + cdkBuilder.networkAccessControl(networkAccessControl.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public interface CfnWorkspaceProps { */ override fun networkAccessControl(networkAccessControl: CfnWorkspace.NetworkAccessControlProperty) { - cdkBuilder.networkAccessControl(networkAccessControl.let(CfnWorkspace.NetworkAccessControlProperty::unwrap)) + cdkBuilder.networkAccessControl(networkAccessControl.let(CfnWorkspace.NetworkAccessControlProperty.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public interface CfnWorkspaceProps { * This option is only valid for workspaces that support Grafana version 9 or newer. */ override fun pluginAdminEnabled(pluginAdminEnabled: IResolvable) { - cdkBuilder.pluginAdminEnabled(pluginAdminEnabled.let(IResolvable::unwrap)) + cdkBuilder.pluginAdminEnabled(pluginAdminEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public interface CfnWorkspaceProps { * to have the `Admin` and `Editor` roles in the workspace. */ override fun samlConfiguration(samlConfiguration: IResolvable) { - cdkBuilder.samlConfiguration(samlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.samlConfiguration(samlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public interface CfnWorkspaceProps { * to have the `Admin` and `Editor` roles in the workspace. */ override fun samlConfiguration(samlConfiguration: CfnWorkspace.SamlConfigurationProperty) { - cdkBuilder.samlConfiguration(samlConfiguration.let(CfnWorkspace.SamlConfigurationProperty::unwrap)) + cdkBuilder.samlConfiguration(samlConfiguration.let(CfnWorkspace.SamlConfigurationProperty.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public interface CfnWorkspaceProps { * (ap-northeast-2). */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public interface CfnWorkspaceProps { * (ap-northeast-2). */ override fun vpcConfiguration(vpcConfiguration: CfnWorkspace.VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnWorkspace.VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnWorkspace.VpcConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinition.kt index 3b04eafb6e..fdfa5aa586 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinition.kt @@ -75,8 +75,8 @@ public open class CfnConnectorDefinition( id: String, props: CfnConnectorDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnConnectorDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnConnectorDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorDefinitionProps.Companion::unwrap)) ) public constructor( @@ -120,14 +120,14 @@ public open class CfnConnectorDefinition( * The connector definition version to include when the connector definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The connector definition version to include when the connector definition is created. */ public open fun initialVersion(`value`: ConnectorDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(ConnectorDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(ConnectorDefinitionVersionProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnConnectorDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnConnectorDefinition( * definition is created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnConnectorDefinition( * definition is created. */ override fun initialVersion(initialVersion: ConnectorDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(ConnectorDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(ConnectorDefinitionVersionProperty.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public open class CfnConnectorDefinition( * time. */ override fun connectors(connectors: IResolvable) { - cdkBuilder.connectors(connectors.let(IResolvable::unwrap)) + cdkBuilder.connectors(connectors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionProps.kt index 5fde2b1633..aaa49ecdb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionProps.kt @@ -181,7 +181,7 @@ public interface CfnConnectorDefinitionProps { * resource and specify the ID of this connector definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public interface CfnConnectorDefinitionProps { */ override fun initialVersion(initialVersion: CfnConnectorDefinition.ConnectorDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnConnectorDefinition.ConnectorDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnConnectorDefinition.ConnectorDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersion.kt index d6402bf6aa..2ecab81335 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersion.kt @@ -64,8 +64,8 @@ public open class CfnConnectorDefinitionVersion( id: String, props: CfnConnectorDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnConnectorDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnConnectorDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnConnectorDefinitionVersion( * The connectors in this version. */ public open fun connectors(`value`: IResolvable) { - unwrap(this).setConnectors(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnConnectorDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnConnectorDefinitionVersion( * @param connectors The connectors in this version. */ override fun connectors(connectors: IResolvable) { - cdkBuilder.connectors(connectors.let(IResolvable::unwrap)) + cdkBuilder.connectors(connectors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersionProps.kt index 1894b705b1..2296403bbd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnConnectorDefinitionVersionProps.kt @@ -109,7 +109,7 @@ public interface CfnConnectorDefinitionVersionProps { * time. */ override fun connectors(connectors: IResolvable) { - cdkBuilder.connectors(connectors.let(IResolvable::unwrap)) + cdkBuilder.connectors(connectors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinition.kt index 88568ec267..a03ef8c6ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinition.kt @@ -76,8 +76,8 @@ public open class CfnCoreDefinition( id: String, props: CfnCoreDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnCoreDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCoreDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnCoreDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCoreDefinitionProps.Companion::unwrap)) ) public constructor( @@ -120,14 +120,14 @@ public open class CfnCoreDefinition( * The core definition version to include when the core definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The core definition version to include when the core definition is created. */ public open fun initialVersion(`value`: CoreDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(CoreDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(CoreDefinitionVersionProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnCoreDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnCoreDefinition( * created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class CfnCoreDefinition( * created. */ override fun initialVersion(initialVersion: CoreDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CoreDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CoreDefinitionVersionProperty.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnCoreDefinition( * Currently, the `Cores` property for a core definition version can contain only one core. */ override fun cores(cores: IResolvable) { - cdkBuilder.cores(cores.let(IResolvable::unwrap)) + cdkBuilder.cores(cores.let(IResolvable.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CfnCoreDefinition( * The default is false. */ override fun syncShadow(syncShadow: IResolvable) { - cdkBuilder.syncShadow(syncShadow.let(IResolvable::unwrap)) + cdkBuilder.syncShadow(syncShadow.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionProps.kt index d66faee58d..f6623c0691 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionProps.kt @@ -175,7 +175,7 @@ public interface CfnCoreDefinitionProps { * resource and specify the ID of this core definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface CfnCoreDefinitionProps { * resource and specify the ID of this core definition. */ override fun initialVersion(initialVersion: CfnCoreDefinition.CoreDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnCoreDefinition.CoreDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnCoreDefinition.CoreDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersion.kt index 20b6709198..69fcd1bbf7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersion.kt @@ -64,8 +64,8 @@ public open class CfnCoreDefinitionVersion( id: String, props: CfnCoreDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnCoreDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCoreDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnCoreDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCoreDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnCoreDefinitionVersion( * The Greengrass core in this version. */ public open fun cores(`value`: IResolvable) { - unwrap(this).setCores(`value`.let(IResolvable::unwrap)) + unwrap(this).setCores(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnCoreDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnCoreDefinitionVersion( * @param cores The Greengrass core in this version. */ override fun cores(cores: IResolvable) { - cdkBuilder.cores(cores.let(IResolvable::unwrap)) + cdkBuilder.cores(cores.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnCoreDefinitionVersion( * The default is false. */ override fun syncShadow(syncShadow: IResolvable) { - cdkBuilder.syncShadow(syncShadow.let(IResolvable::unwrap)) + cdkBuilder.syncShadow(syncShadow.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersionProps.kt index 08b26ef500..7153efa1ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnCoreDefinitionVersionProps.kt @@ -102,7 +102,7 @@ public interface CfnCoreDefinitionVersionProps { * Currently, the `Cores` property for a core definition version can contain only one core. */ override fun cores(cores: IResolvable) { - cdkBuilder.cores(cores.let(IResolvable::unwrap)) + cdkBuilder.cores(cores.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinition.kt index 7b0fd6eadd..27fb9e4685 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinition.kt @@ -76,8 +76,8 @@ public open class CfnDeviceDefinition( id: String, props: CfnDeviceDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnDeviceDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnDeviceDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceDefinitionProps.Companion::unwrap)) ) public constructor( @@ -121,14 +121,14 @@ public open class CfnDeviceDefinition( * The device definition version to include when the device definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The device definition version to include when the device definition is created. */ public open fun initialVersion(`value`: DeviceDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(DeviceDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(DeviceDefinitionVersionProperty.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnDeviceDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnDeviceDefinition( * created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnDeviceDefinition( * created. */ override fun initialVersion(initialVersion: DeviceDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(DeviceDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(DeviceDefinitionVersionProperty.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnDeviceDefinition( * @param devices The devices in this version. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public open class CfnDeviceDefinition( * automatically. */ override fun syncShadow(syncShadow: IResolvable) { - cdkBuilder.syncShadow(syncShadow.let(IResolvable::unwrap)) + cdkBuilder.syncShadow(syncShadow.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionProps.kt index dcabb18fa2..cf03697801 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionProps.kt @@ -175,7 +175,7 @@ public interface CfnDeviceDefinitionProps { * resource and specify the ID of this device definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface CfnDeviceDefinitionProps { */ override fun initialVersion(initialVersion: CfnDeviceDefinition.DeviceDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnDeviceDefinition.DeviceDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnDeviceDefinition.DeviceDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersion.kt index cb0531ae24..b5902d53f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersion.kt @@ -64,8 +64,8 @@ public open class CfnDeviceDefinitionVersion( id: String, props: CfnDeviceDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnDeviceDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnDeviceDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnDeviceDefinitionVersion( * The devices in this version. */ public open fun devices(`value`: IResolvable) { - unwrap(this).setDevices(`value`.let(IResolvable::unwrap)) + unwrap(this).setDevices(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnDeviceDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnDeviceDefinitionVersion( * @param devices The devices in this version. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnDeviceDefinitionVersion( * automatically. */ override fun syncShadow(syncShadow: IResolvable) { - cdkBuilder.syncShadow(syncShadow.let(IResolvable::unwrap)) + cdkBuilder.syncShadow(syncShadow.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersionProps.kt index b0405309b1..929e7fed25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnDeviceDefinitionVersionProps.kt @@ -96,7 +96,7 @@ public interface CfnDeviceDefinitionVersionProps { * @param devices The devices in this version. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinition.kt index 6fd2c8fedb..af586b8378 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinition.kt @@ -109,8 +109,8 @@ public open class CfnFunctionDefinition( id: String, props: CfnFunctionDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnFunctionDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFunctionDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnFunctionDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFunctionDefinitionProps.Companion::unwrap)) ) public constructor( @@ -154,14 +154,14 @@ public open class CfnFunctionDefinition( * The function definition version to include when the function definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The function definition version to include when the function definition is created. */ public open fun initialVersion(`value`: FunctionDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(FunctionDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(FunctionDefinitionVersionProperty.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnFunctionDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnFunctionDefinition( * is created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class CfnFunctionDefinition( * is created. */ override fun initialVersion(initialVersion: FunctionDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(FunctionDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(FunctionDefinitionVersionProperty.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnFunctionDefinition( * Greengrass core. */ override fun execution(execution: IResolvable) { - cdkBuilder.execution(execution.let(IResolvable::unwrap)) + cdkBuilder.execution(execution.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public open class CfnFunctionDefinition( * Greengrass core. */ override fun execution(execution: ExecutionProperty) { - cdkBuilder.execution(execution.let(ExecutionProperty::unwrap)) + cdkBuilder.execution(execution.let(ExecutionProperty.Companion::unwrap)) } /** @@ -740,21 +740,21 @@ public open class CfnFunctionDefinition( * This property applies only to Lambda functions that run in a Greengrass container. */ override fun accessSysfs(accessSysfs: IResolvable) { - cdkBuilder.accessSysfs(accessSysfs.let(IResolvable::unwrap)) + cdkBuilder.accessSysfs(accessSysfs.let(IResolvable.Companion::unwrap)) } /** * @param execution Settings for the Lambda execution environment in AWS IoT Greengrass . */ override fun execution(execution: IResolvable) { - cdkBuilder.execution(execution.let(IResolvable::unwrap)) + cdkBuilder.execution(execution.let(IResolvable.Companion::unwrap)) } /** * @param execution Settings for the Lambda execution environment in AWS IoT Greengrass . */ override fun execution(execution: ExecutionProperty) { - cdkBuilder.execution(execution.let(ExecutionProperty::unwrap)) + cdkBuilder.execution(execution.let(ExecutionProperty.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class CfnFunctionDefinition( * This property applies only for Lambda functions that run in a Greengrass container. */ override fun resourceAccessPolicies(resourceAccessPolicies: IResolvable) { - cdkBuilder.resourceAccessPolicies(resourceAccessPolicies.let(IResolvable::unwrap)) + cdkBuilder.resourceAccessPolicies(resourceAccessPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -1115,7 +1115,7 @@ public open class CfnFunctionDefinition( * . */ override fun runAs(runAs: IResolvable) { - cdkBuilder.runAs(runAs.let(IResolvable::unwrap)) + cdkBuilder.runAs(runAs.let(IResolvable.Companion::unwrap)) } /** @@ -1142,7 +1142,7 @@ public open class CfnFunctionDefinition( * . */ override fun runAs(runAs: RunAsProperty) { - cdkBuilder.runAs(runAs.let(RunAsProperty::unwrap)) + cdkBuilder.runAs(runAs.let(RunAsProperty.Companion::unwrap)) } /** @@ -1449,14 +1449,14 @@ public open class CfnFunctionDefinition( * @param environment The environment configuration of the function. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** * @param environment The environment configuration of the function. */ override fun environment(environment: EnvironmentProperty) { - cdkBuilder.environment(environment.let(EnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(EnvironmentProperty.Companion::unwrap)) } /** @@ -1505,7 +1505,7 @@ public open class CfnFunctionDefinition( * The default value is false. */ override fun pinned(pinned: IResolvable) { - cdkBuilder.pinned(pinned.let(IResolvable::unwrap)) + cdkBuilder.pinned(pinned.let(IResolvable.Companion::unwrap)) } /** @@ -1744,7 +1744,7 @@ public open class CfnFunctionDefinition( * Individual Lambda functions can override these settings. */ override fun defaultConfig(defaultConfig: IResolvable) { - cdkBuilder.defaultConfig(defaultConfig.let(IResolvable::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1753,7 +1753,7 @@ public open class CfnFunctionDefinition( * Individual Lambda functions can override these settings. */ override fun defaultConfig(defaultConfig: DefaultConfigProperty) { - cdkBuilder.defaultConfig(defaultConfig.let(DefaultConfigProperty::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(DefaultConfigProperty.Companion::unwrap)) } /** @@ -1770,7 +1770,7 @@ public open class CfnFunctionDefinition( * @param functions The functions in this version. */ override fun functions(functions: IResolvable) { - cdkBuilder.functions(functions.let(IResolvable::unwrap)) + cdkBuilder.functions(functions.let(IResolvable.Companion::unwrap)) } /** @@ -1967,7 +1967,7 @@ public open class CfnFunctionDefinition( * These settings configure the function's behavior in the Greengrass group. */ override fun functionConfiguration(functionConfiguration: IResolvable) { - cdkBuilder.functionConfiguration(functionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.functionConfiguration(functionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1975,7 +1975,7 @@ public open class CfnFunctionDefinition( * These settings configure the function's behavior in the Greengrass group. */ override fun functionConfiguration(functionConfiguration: FunctionConfigurationProperty) { - cdkBuilder.functionConfiguration(functionConfiguration.let(FunctionConfigurationProperty::unwrap)) + cdkBuilder.functionConfiguration(functionConfiguration.let(FunctionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionProps.kt index 0b7b53c5cc..ea4dde087e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionProps.kt @@ -212,7 +212,7 @@ public interface CfnFunctionDefinitionProps { * resource and specify the ID of this function definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface CfnFunctionDefinitionProps { */ override fun initialVersion(initialVersion: CfnFunctionDefinition.FunctionDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnFunctionDefinition.FunctionDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnFunctionDefinition.FunctionDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersion.kt index 469e7707fa..251d9fe606 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersion.kt @@ -98,8 +98,8 @@ public open class CfnFunctionDefinitionVersion( id: String, props: CfnFunctionDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFunctionDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnFunctionDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFunctionDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -123,14 +123,14 @@ public open class CfnFunctionDefinitionVersion( * The default configuration that applies to all Lambda functions in the group. */ public open fun defaultConfig(`value`: IResolvable) { - unwrap(this).setDefaultConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The default configuration that applies to all Lambda functions in the group. */ public open fun defaultConfig(`value`: DefaultConfigProperty) { - unwrap(this).setDefaultConfig(`value`.let(DefaultConfigProperty::unwrap)) + unwrap(this).setDefaultConfig(`value`.let(DefaultConfigProperty.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnFunctionDefinitionVersion( * The functions in this version. */ public open fun functions(`value`: IResolvable) { - unwrap(this).setFunctions(`value`.let(IResolvable::unwrap)) + unwrap(this).setFunctions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnFunctionDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnFunctionDefinitionVersion( * group. */ override fun defaultConfig(defaultConfig: IResolvable) { - cdkBuilder.defaultConfig(defaultConfig.let(IResolvable::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnFunctionDefinitionVersion( * group. */ override fun defaultConfig(defaultConfig: DefaultConfigProperty) { - cdkBuilder.defaultConfig(defaultConfig.let(DefaultConfigProperty::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(DefaultConfigProperty.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnFunctionDefinitionVersion( * @param functions The functions in this version. */ override fun functions(functions: IResolvable) { - cdkBuilder.functions(functions.let(IResolvable::unwrap)) + cdkBuilder.functions(functions.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnFunctionDefinitionVersion( * Greengrass core. */ override fun execution(execution: IResolvable) { - cdkBuilder.execution(execution.let(IResolvable::unwrap)) + cdkBuilder.execution(execution.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnFunctionDefinitionVersion( * Greengrass core. */ override fun execution(execution: ExecutionProperty) { - cdkBuilder.execution(execution.let(ExecutionProperty::unwrap)) + cdkBuilder.execution(execution.let(ExecutionProperty.Companion::unwrap)) } /** @@ -677,21 +677,21 @@ public open class CfnFunctionDefinitionVersion( * This property applies only to Lambda functions that run in a Greengrass container. */ override fun accessSysfs(accessSysfs: IResolvable) { - cdkBuilder.accessSysfs(accessSysfs.let(IResolvable::unwrap)) + cdkBuilder.accessSysfs(accessSysfs.let(IResolvable.Companion::unwrap)) } /** * @param execution Settings for the Lambda execution environment in AWS IoT Greengrass . */ override fun execution(execution: IResolvable) { - cdkBuilder.execution(execution.let(IResolvable::unwrap)) + cdkBuilder.execution(execution.let(IResolvable.Companion::unwrap)) } /** * @param execution Settings for the Lambda execution environment in AWS IoT Greengrass . */ override fun execution(execution: ExecutionProperty) { - cdkBuilder.execution(execution.let(ExecutionProperty::unwrap)) + cdkBuilder.execution(execution.let(ExecutionProperty.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public open class CfnFunctionDefinitionVersion( * This property applies only to Lambda functions that run in a Greengrass container. */ override fun resourceAccessPolicies(resourceAccessPolicies: IResolvable) { - cdkBuilder.resourceAccessPolicies(resourceAccessPolicies.let(IResolvable::unwrap)) + cdkBuilder.resourceAccessPolicies(resourceAccessPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -1052,7 +1052,7 @@ public open class CfnFunctionDefinitionVersion( * . */ override fun runAs(runAs: IResolvable) { - cdkBuilder.runAs(runAs.let(IResolvable::unwrap)) + cdkBuilder.runAs(runAs.let(IResolvable.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public open class CfnFunctionDefinitionVersion( * . */ override fun runAs(runAs: RunAsProperty) { - cdkBuilder.runAs(runAs.let(RunAsProperty::unwrap)) + cdkBuilder.runAs(runAs.let(RunAsProperty.Companion::unwrap)) } /** @@ -1386,14 +1386,14 @@ public open class CfnFunctionDefinitionVersion( * @param environment The environment configuration of the function. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** * @param environment The environment configuration of the function. */ override fun environment(environment: EnvironmentProperty) { - cdkBuilder.environment(environment.let(EnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(EnvironmentProperty.Companion::unwrap)) } /** @@ -1442,7 +1442,7 @@ public open class CfnFunctionDefinitionVersion( * The default value is false. */ override fun pinned(pinned: IResolvable) { - cdkBuilder.pinned(pinned.let(IResolvable::unwrap)) + cdkBuilder.pinned(pinned.let(IResolvable.Companion::unwrap)) } /** @@ -1679,7 +1679,7 @@ public open class CfnFunctionDefinitionVersion( * These settings configure the function's behavior in the Greengrass group. */ override fun functionConfiguration(functionConfiguration: IResolvable) { - cdkBuilder.functionConfiguration(functionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.functionConfiguration(functionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1687,7 +1687,7 @@ public open class CfnFunctionDefinitionVersion( * These settings configure the function's behavior in the Greengrass group. */ override fun functionConfiguration(functionConfiguration: FunctionConfigurationProperty) { - cdkBuilder.functionConfiguration(functionConfiguration.let(FunctionConfigurationProperty::unwrap)) + cdkBuilder.functionConfiguration(functionConfiguration.let(FunctionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersionProps.kt index 61978c3394..ed2daee24d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnFunctionDefinitionVersionProps.kt @@ -156,7 +156,7 @@ public interface CfnFunctionDefinitionVersionProps { * Individual Lambda functions can override these settings. */ override fun defaultConfig(defaultConfig: IResolvable) { - cdkBuilder.defaultConfig(defaultConfig.let(IResolvable::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface CfnFunctionDefinitionVersionProps { * Individual Lambda functions can override these settings. */ override fun defaultConfig(defaultConfig: CfnFunctionDefinitionVersion.DefaultConfigProperty) { - cdkBuilder.defaultConfig(defaultConfig.let(CfnFunctionDefinitionVersion.DefaultConfigProperty::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(CfnFunctionDefinitionVersion.DefaultConfigProperty.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface CfnFunctionDefinitionVersionProps { * @param functions The functions in this version. */ override fun functions(functions: IResolvable) { - cdkBuilder.functions(functions.let(IResolvable::unwrap)) + cdkBuilder.functions(functions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroup.kt index b39b081e3c..457df202cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroup.kt @@ -101,8 +101,8 @@ public open class CfnGroup( id: String, props: CfnGroupProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupProps.Companion::unwrap)) ) public constructor( @@ -156,14 +156,14 @@ public open class CfnGroup( * The group version to include when the group is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The group version to include when the group is created. */ public open fun initialVersion(`value`: GroupVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(GroupVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(GroupVersionProperty.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class CfnGroup( * @param initialVersion The group version to include when the group is created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class CfnGroup( * @param initialVersion The group version to include when the group is created. */ override fun initialVersion(initialVersion: GroupVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(GroupVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(GroupVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupProps.kt index 1b1edbafd0..7d166a4f53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupProps.kt @@ -192,7 +192,7 @@ public interface CfnGroupProps { * resource and specify the ID of this group. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnGroupProps { * resource and specify the ID of this group. */ override fun initialVersion(initialVersion: CfnGroup.GroupVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnGroup.GroupVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnGroup.GroupVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupVersion.kt index 1b64b39ef6..5e214fb99e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnGroupVersion.kt @@ -55,8 +55,8 @@ public open class CfnGroupVersion( id: String, props: CfnGroupVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnGroupVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnGroupVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupVersionProps.Companion::unwrap)) ) public constructor( @@ -148,7 +148,7 @@ public open class CfnGroupVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinition.kt index fb7f6ed438..c452b4c1f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinition.kt @@ -77,8 +77,8 @@ public open class CfnLoggerDefinition( id: String, props: CfnLoggerDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnLoggerDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoggerDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnLoggerDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoggerDefinitionProps.Companion::unwrap)) ) public constructor( @@ -122,14 +122,14 @@ public open class CfnLoggerDefinition( * The logger definition version to include when the logger definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The logger definition version to include when the logger definition is created. */ public open fun initialVersion(`value`: LoggerDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(LoggerDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(LoggerDefinitionVersionProperty.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnLoggerDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnLoggerDefinition( * created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnLoggerDefinition( * created. */ override fun initialVersion(initialVersion: LoggerDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(LoggerDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(LoggerDefinitionVersionProperty.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnLoggerDefinition( * @param loggers The loggers in this version. */ override fun loggers(loggers: IResolvable) { - cdkBuilder.loggers(loggers.let(IResolvable::unwrap)) + cdkBuilder.loggers(loggers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionProps.kt index a9dd11d52e..1ec0bd3941 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionProps.kt @@ -176,7 +176,7 @@ public interface CfnLoggerDefinitionProps { * resource and specify the ID of this logger definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface CfnLoggerDefinitionProps { */ override fun initialVersion(initialVersion: CfnLoggerDefinition.LoggerDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnLoggerDefinition.LoggerDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnLoggerDefinition.LoggerDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersion.kt index 740d0d8840..8648c9b3c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersion.kt @@ -65,8 +65,8 @@ public open class CfnLoggerDefinitionVersion( id: String, props: CfnLoggerDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnLoggerDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoggerDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnLoggerDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoggerDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnLoggerDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnLoggerDefinitionVersion( * The loggers in this version. */ public open fun loggers(`value`: IResolvable) { - unwrap(this).setLoggers(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnLoggerDefinitionVersion( * @param loggers The loggers in this version. */ override fun loggers(loggers: IResolvable) { - cdkBuilder.loggers(loggers.let(IResolvable::unwrap)) + cdkBuilder.loggers(loggers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersionProps.kt index 3efef301da..466ba01ee4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnLoggerDefinitionVersionProps.kt @@ -97,7 +97,7 @@ public interface CfnLoggerDefinitionVersionProps { * @param loggers The loggers in this version. */ override fun loggers(loggers: IResolvable) { - cdkBuilder.loggers(loggers.let(IResolvable::unwrap)) + cdkBuilder.loggers(loggers.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinition.kt index 462f9b97d9..f0217a833a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinition.kt @@ -117,8 +117,8 @@ public open class CfnResourceDefinition( id: String, props: CfnResourceDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnResourceDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnResourceDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceDefinitionProps.Companion::unwrap)) ) public constructor( @@ -162,14 +162,14 @@ public open class CfnResourceDefinition( * The resource definition version to include when the resource definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The resource definition version to include when the resource definition is created. */ public open fun initialVersion(`value`: ResourceDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(ResourceDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(ResourceDefinitionVersionProperty.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnResourceDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnResourceDefinition( * is created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnResourceDefinition( * is created. */ override fun initialVersion(initialVersion: ResourceDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(ResourceDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(ResourceDefinitionVersionProperty.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnResourceDefinition( * This gives the Lambda process the file access permissions of the Linux group. */ override fun autoAddGroupOwner(autoAddGroupOwner: IResolvable) { - cdkBuilder.autoAddGroupOwner(autoAddGroupOwner.let(IResolvable::unwrap)) + cdkBuilder.autoAddGroupOwner(autoAddGroupOwner.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class CfnResourceDefinition( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: IResolvable) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnResourceDefinition( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: GroupOwnerSettingProperty) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty.Companion::unwrap)) } /** @@ -884,7 +884,7 @@ public open class CfnResourceDefinition( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: IResolvable) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class CfnResourceDefinition( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: GroupOwnerSettingProperty) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public open class CfnResourceDefinition( * @param localDeviceResourceData Settings for a local device resource. */ override fun localDeviceResourceData(localDeviceResourceData: IResolvable) { - cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(IResolvable::unwrap)) + cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1198,7 +1198,7 @@ public open class CfnResourceDefinition( */ override fun localDeviceResourceData(localDeviceResourceData: LocalDeviceResourceDataProperty) { - cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(LocalDeviceResourceDataProperty::unwrap)) + cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(LocalDeviceResourceDataProperty.Companion::unwrap)) } /** @@ -1214,7 +1214,7 @@ public open class CfnResourceDefinition( * @param localVolumeResourceData Settings for a local volume resource. */ override fun localVolumeResourceData(localVolumeResourceData: IResolvable) { - cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(IResolvable::unwrap)) + cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1222,7 +1222,7 @@ public open class CfnResourceDefinition( */ override fun localVolumeResourceData(localVolumeResourceData: LocalVolumeResourceDataProperty) { - cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(LocalVolumeResourceDataProperty::unwrap)) + cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(LocalVolumeResourceDataProperty.Companion::unwrap)) } /** @@ -1240,7 +1240,7 @@ public open class CfnResourceDefinition( */ override fun s3MachineLearningModelResourceData(s3MachineLearningModelResourceData: IResolvable) { - cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(IResolvable::unwrap)) + cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1249,7 +1249,7 @@ public open class CfnResourceDefinition( */ override fun s3MachineLearningModelResourceData(s3MachineLearningModelResourceData: S3MachineLearningModelResourceDataProperty) { - cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(S3MachineLearningModelResourceDataProperty::unwrap)) + cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(S3MachineLearningModelResourceDataProperty.Companion::unwrap)) } /** @@ -1269,7 +1269,7 @@ public open class CfnResourceDefinition( */ override fun sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData: IResolvable) { - cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(IResolvable::unwrap)) + cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1278,7 +1278,7 @@ public open class CfnResourceDefinition( */ override fun sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData: SageMakerMachineLearningModelResourceDataProperty) { - cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(SageMakerMachineLearningModelResourceDataProperty::unwrap)) + cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(SageMakerMachineLearningModelResourceDataProperty.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public open class CfnResourceDefinition( * @param secretsManagerSecretResourceData Settings for a secret resource. */ override fun secretsManagerSecretResourceData(secretsManagerSecretResourceData: IResolvable) { - cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(IResolvable::unwrap)) + cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1304,7 +1304,7 @@ public open class CfnResourceDefinition( */ override fun secretsManagerSecretResourceData(secretsManagerSecretResourceData: SecretsManagerSecretResourceDataProperty) { - cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(SecretsManagerSecretResourceDataProperty::unwrap)) + cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(SecretsManagerSecretResourceDataProperty.Companion::unwrap)) } /** @@ -1498,7 +1498,7 @@ public open class CfnResourceDefinition( * @param resources The resources in this version. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** @@ -1894,7 +1894,7 @@ public open class CfnResourceDefinition( * Only one resource type can be defined for a `ResourceDataContainer` instance. */ override fun resourceDataContainer(resourceDataContainer: IResolvable) { - cdkBuilder.resourceDataContainer(resourceDataContainer.let(IResolvable::unwrap)) + cdkBuilder.resourceDataContainer(resourceDataContainer.let(IResolvable.Companion::unwrap)) } /** @@ -1908,7 +1908,7 @@ public open class CfnResourceDefinition( * Only one resource type can be defined for a `ResourceDataContainer` instance. */ override fun resourceDataContainer(resourceDataContainer: ResourceDataContainerProperty) { - cdkBuilder.resourceDataContainer(resourceDataContainer.let(ResourceDataContainerProperty::unwrap)) + cdkBuilder.resourceDataContainer(resourceDataContainer.let(ResourceDataContainerProperty.Companion::unwrap)) } /** @@ -2114,7 +2114,7 @@ public open class CfnResourceDefinition( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: IResolvable) { - cdkBuilder.ownerSetting(ownerSetting.let(IResolvable::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -2124,7 +2124,7 @@ public open class CfnResourceDefinition( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: ResourceDownloadOwnerSettingProperty) { - cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty.Companion::unwrap)) } /** @@ -2327,7 +2327,7 @@ public open class CfnResourceDefinition( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: IResolvable) { - cdkBuilder.ownerSetting(ownerSetting.let(IResolvable::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -2337,7 +2337,7 @@ public open class CfnResourceDefinition( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: ResourceDownloadOwnerSettingProperty) { - cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionProps.kt index 37a94004ac..5e3c268229 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionProps.kt @@ -221,7 +221,7 @@ public interface CfnResourceDefinitionProps { * resource and specify the ID of this resource definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public interface CfnResourceDefinitionProps { */ override fun initialVersion(initialVersion: CfnResourceDefinition.ResourceDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnResourceDefinition.ResourceDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnResourceDefinition.ResourceDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersion.kt index 9de37c7d82..fb772b9201 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersion.kt @@ -107,8 +107,8 @@ public open class CfnResourceDefinitionVersion( id: String, props: CfnResourceDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnResourceDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnResourceDefinitionVersion( * The resources in this version. */ public open fun resources(`value`: IResolvable) { - unwrap(this).setResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setResources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnResourceDefinitionVersion( * @param resources The resources in this version. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public open class CfnResourceDefinitionVersion( * This gives the Lambda process the file access permissions of the Linux group. */ override fun autoAddGroupOwner(autoAddGroupOwner: IResolvable) { - cdkBuilder.autoAddGroupOwner(autoAddGroupOwner.let(IResolvable::unwrap)) + cdkBuilder.autoAddGroupOwner(autoAddGroupOwner.let(IResolvable.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public open class CfnResourceDefinitionVersion( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: IResolvable) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public open class CfnResourceDefinitionVersion( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: GroupOwnerSettingProperty) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnResourceDefinitionVersion( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: IResolvable) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnResourceDefinitionVersion( * to the Lambda function process. */ override fun groupOwnerSetting(groupOwnerSetting: GroupOwnerSettingProperty) { - cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty::unwrap)) + cdkBuilder.groupOwnerSetting(groupOwnerSetting.let(GroupOwnerSettingProperty.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public open class CfnResourceDefinitionVersion( * @param localDeviceResourceData Settings for a local device resource. */ override fun localDeviceResourceData(localDeviceResourceData: IResolvable) { - cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(IResolvable::unwrap)) + cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnResourceDefinitionVersion( */ override fun localDeviceResourceData(localDeviceResourceData: LocalDeviceResourceDataProperty) { - cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(LocalDeviceResourceDataProperty::unwrap)) + cdkBuilder.localDeviceResourceData(localDeviceResourceData.let(LocalDeviceResourceDataProperty.Companion::unwrap)) } /** @@ -1050,7 +1050,7 @@ public open class CfnResourceDefinitionVersion( * @param localVolumeResourceData Settings for a local volume resource. */ override fun localVolumeResourceData(localVolumeResourceData: IResolvable) { - cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(IResolvable::unwrap)) + cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1058,7 +1058,7 @@ public open class CfnResourceDefinitionVersion( */ override fun localVolumeResourceData(localVolumeResourceData: LocalVolumeResourceDataProperty) { - cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(LocalVolumeResourceDataProperty::unwrap)) + cdkBuilder.localVolumeResourceData(localVolumeResourceData.let(LocalVolumeResourceDataProperty.Companion::unwrap)) } /** @@ -1076,7 +1076,7 @@ public open class CfnResourceDefinitionVersion( */ override fun s3MachineLearningModelResourceData(s3MachineLearningModelResourceData: IResolvable) { - cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(IResolvable::unwrap)) + cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1085,7 +1085,7 @@ public open class CfnResourceDefinitionVersion( */ override fun s3MachineLearningModelResourceData(s3MachineLearningModelResourceData: S3MachineLearningModelResourceDataProperty) { - cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(S3MachineLearningModelResourceDataProperty::unwrap)) + cdkBuilder.s3MachineLearningModelResourceData(s3MachineLearningModelResourceData.let(S3MachineLearningModelResourceDataProperty.Companion::unwrap)) } /** @@ -1105,7 +1105,7 @@ public open class CfnResourceDefinitionVersion( */ override fun sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData: IResolvable) { - cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(IResolvable::unwrap)) + cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1114,7 +1114,7 @@ public open class CfnResourceDefinitionVersion( */ override fun sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData: SageMakerMachineLearningModelResourceDataProperty) { - cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(SageMakerMachineLearningModelResourceDataProperty::unwrap)) + cdkBuilder.sageMakerMachineLearningModelResourceData(sageMakerMachineLearningModelResourceData.let(SageMakerMachineLearningModelResourceDataProperty.Companion::unwrap)) } /** @@ -1132,7 +1132,7 @@ public open class CfnResourceDefinitionVersion( * @param secretsManagerSecretResourceData Settings for a secret resource. */ override fun secretsManagerSecretResourceData(secretsManagerSecretResourceData: IResolvable) { - cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(IResolvable::unwrap)) + cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(IResolvable.Companion::unwrap)) } /** @@ -1140,7 +1140,7 @@ public open class CfnResourceDefinitionVersion( */ override fun secretsManagerSecretResourceData(secretsManagerSecretResourceData: SecretsManagerSecretResourceDataProperty) { - cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(SecretsManagerSecretResourceDataProperty::unwrap)) + cdkBuilder.secretsManagerSecretResourceData(secretsManagerSecretResourceData.let(SecretsManagerSecretResourceDataProperty.Companion::unwrap)) } /** @@ -1564,7 +1564,7 @@ public open class CfnResourceDefinitionVersion( * Only one resource type can be defined for a `ResourceDataContainer` instance. */ override fun resourceDataContainer(resourceDataContainer: IResolvable) { - cdkBuilder.resourceDataContainer(resourceDataContainer.let(IResolvable::unwrap)) + cdkBuilder.resourceDataContainer(resourceDataContainer.let(IResolvable.Companion::unwrap)) } /** @@ -1578,7 +1578,7 @@ public open class CfnResourceDefinitionVersion( * Only one resource type can be defined for a `ResourceDataContainer` instance. */ override fun resourceDataContainer(resourceDataContainer: ResourceDataContainerProperty) { - cdkBuilder.resourceDataContainer(resourceDataContainer.let(ResourceDataContainerProperty::unwrap)) + cdkBuilder.resourceDataContainer(resourceDataContainer.let(ResourceDataContainerProperty.Companion::unwrap)) } /** @@ -1784,7 +1784,7 @@ public open class CfnResourceDefinitionVersion( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: IResolvable) { - cdkBuilder.ownerSetting(ownerSetting.let(IResolvable::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -1794,7 +1794,7 @@ public open class CfnResourceDefinitionVersion( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: ResourceDownloadOwnerSettingProperty) { - cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty.Companion::unwrap)) } /** @@ -1997,7 +1997,7 @@ public open class CfnResourceDefinitionVersion( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: IResolvable) { - cdkBuilder.ownerSetting(ownerSetting.let(IResolvable::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(IResolvable.Companion::unwrap)) } /** @@ -2007,7 +2007,7 @@ public open class CfnResourceDefinitionVersion( * in the *Developer Guide* . */ override fun ownerSetting(ownerSetting: ResourceDownloadOwnerSettingProperty) { - cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty::unwrap)) + cdkBuilder.ownerSetting(ownerSetting.let(ResourceDownloadOwnerSettingProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersionProps.kt index d656d6a70d..ed1c7bac23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnResourceDefinitionVersionProps.kt @@ -137,7 +137,7 @@ public interface CfnResourceDefinitionVersionProps { * @param resources The resources in this version. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinition.kt index d7a90bf767..0d40dbcdd3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinition.kt @@ -74,8 +74,8 @@ public open class CfnSubscriptionDefinition( id: String, props: CfnSubscriptionDefinitionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnSubscriptionDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubscriptionDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnSubscriptionDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubscriptionDefinitionProps.Companion::unwrap)) ) public constructor( @@ -119,14 +119,14 @@ public open class CfnSubscriptionDefinition( * The subscription definition version to include when the subscription definition is created. */ public open fun initialVersion(`value`: IResolvable) { - unwrap(this).setInitialVersion(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitialVersion(`value`.let(IResolvable.Companion::unwrap)) } /** * The subscription definition version to include when the subscription definition is created. */ public open fun initialVersion(`value`: SubscriptionDefinitionVersionProperty) { - unwrap(this).setInitialVersion(`value`.let(SubscriptionDefinitionVersionProperty::unwrap)) + unwrap(this).setInitialVersion(`value`.let(SubscriptionDefinitionVersionProperty.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnSubscriptionDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnSubscriptionDefinition( * definition is created. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnSubscriptionDefinition( * definition is created. */ override fun initialVersion(initialVersion: SubscriptionDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(SubscriptionDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(SubscriptionDefinitionVersionProperty.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class CfnSubscriptionDefinition( * @param subscriptions The subscriptions in this version. */ override fun subscriptions(subscriptions: IResolvable) { - cdkBuilder.subscriptions(subscriptions.let(IResolvable::unwrap)) + cdkBuilder.subscriptions(subscriptions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionProps.kt index e71dff11b2..eb930415f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionProps.kt @@ -181,7 +181,7 @@ public interface CfnSubscriptionDefinitionProps { * resource and specify the ID of this subscription definition. */ override fun initialVersion(initialVersion: IResolvable) { - cdkBuilder.initialVersion(initialVersion.let(IResolvable::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(IResolvable.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public interface CfnSubscriptionDefinitionProps { */ override fun initialVersion(initialVersion: CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty) { - cdkBuilder.initialVersion(initialVersion.let(CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty::unwrap)) + cdkBuilder.initialVersion(initialVersion.let(CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersion.kt index dd888d642f..8786c4236a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersion.kt @@ -63,8 +63,8 @@ public open class CfnSubscriptionDefinitionVersion( id: String, props: CfnSubscriptionDefinitionVersionProps, ) : - this(software.amazon.awscdk.services.greengrass.CfnSubscriptionDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubscriptionDefinitionVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrass.CfnSubscriptionDefinitionVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubscriptionDefinitionVersionProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnSubscriptionDefinitionVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public open class CfnSubscriptionDefinitionVersion( * The subscriptions in this version. */ public open fun subscriptions(`value`: IResolvable) { - unwrap(this).setSubscriptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubscriptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnSubscriptionDefinitionVersion( * @param subscriptions The subscriptions in this version. */ override fun subscriptions(subscriptions: IResolvable) { - cdkBuilder.subscriptions(subscriptions.let(IResolvable::unwrap)) + cdkBuilder.subscriptions(subscriptions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersionProps.kt index 50e1727b79..c1e27ff551 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrass/CfnSubscriptionDefinitionVersionProps.kt @@ -97,7 +97,7 @@ public interface CfnSubscriptionDefinitionVersionProps { * @param subscriptions The subscriptions in this version. */ override fun subscriptions(subscriptions: IResolvable) { - cdkBuilder.subscriptions(subscriptions.let(IResolvable::unwrap)) + cdkBuilder.subscriptions(subscriptions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersion.kt index 44a9b1e30b..c43348a34a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersion.kt @@ -123,7 +123,7 @@ public open class CfnComponentVersion( cdkObject: software.amazon.awscdk.services.greengrassv2.CfnComponentVersion, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.greengrassv2.CfnComponentVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.greengrassv2.CfnComponentVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -132,8 +132,8 @@ public open class CfnComponentVersion( id: String, props: CfnComponentVersionProps, ) : - this(software.amazon.awscdk.services.greengrassv2.CfnComponentVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnComponentVersionProps::unwrap)) + this(software.amazon.awscdk.services.greengrassv2.CfnComponentVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnComponentVersionProps.Companion::unwrap)) ) public constructor( @@ -176,7 +176,7 @@ public open class CfnComponentVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -188,14 +188,14 @@ public open class CfnComponentVersion( * The parameters to create a component from a Lambda function. */ public open fun lambdaFunction(`value`: IResolvable) { - unwrap(this).setLambdaFunction(`value`.let(IResolvable::unwrap)) + unwrap(this).setLambdaFunction(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters to create a component from a Lambda function. */ public open fun lambdaFunction(`value`: LambdaFunctionRecipeSourceProperty) { - unwrap(this).setLambdaFunction(`value`.let(LambdaFunctionRecipeSourceProperty::unwrap)) + unwrap(this).setLambdaFunction(`value`.let(LambdaFunctionRecipeSourceProperty.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnComponentVersion( * @param lambdaFunction The parameters to create a component from a Lambda function. */ override fun lambdaFunction(lambdaFunction: IResolvable) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IResolvable::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IResolvable.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnComponentVersion( * @param lambdaFunction The parameters to create a component from a Lambda function. */ override fun lambdaFunction(lambdaFunction: LambdaFunctionRecipeSourceProperty) { - cdkBuilder.lambdaFunction(lambdaFunction.let(LambdaFunctionRecipeSourceProperty::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(LambdaFunctionRecipeSourceProperty.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class CfnComponentVersion( * in the *AWS IoT Greengrass V2 Developer Guide* . */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public open class CfnComponentVersion( * @param devices The list of system devices that the container can access. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** @@ -875,14 +875,14 @@ public open class CfnComponentVersion( * Default: `false` */ override fun mountRoSysfs(mountRoSysfs: IResolvable) { - cdkBuilder.mountRoSysfs(mountRoSysfs.let(IResolvable::unwrap)) + cdkBuilder.mountRoSysfs(mountRoSysfs.let(IResolvable.Companion::unwrap)) } /** * @param volumes The list of volumes that the container can access. */ override fun volumes(volumes: IResolvable) { - cdkBuilder.volumes(volumes.let(IResolvable::unwrap)) + cdkBuilder.volumes(volumes.let(IResolvable.Companion::unwrap)) } /** @@ -1053,7 +1053,7 @@ public open class CfnComponentVersion( * Default: `false` */ override fun addGroupOwner(addGroupOwner: IResolvable) { - cdkBuilder.addGroupOwner(addGroupOwner.let(IResolvable::unwrap)) + cdkBuilder.addGroupOwner(addGroupOwner.let(IResolvable.Companion::unwrap)) } /** @@ -1544,7 +1544,7 @@ public open class CfnComponentVersion( * Lambda function when it runs. */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1562,7 +1562,7 @@ public open class CfnComponentVersion( * this function to local publish/subscribe messages and AWS IoT Core MQTT messages. */ override fun eventSources(eventSources: IResolvable) { - cdkBuilder.eventSources(eventSources.let(IResolvable::unwrap)) + cdkBuilder.eventSources(eventSources.let(IResolvable.Companion::unwrap)) } /** @@ -1609,7 +1609,7 @@ public open class CfnComponentVersion( * function. */ override fun linuxProcessParams(linuxProcessParams: IResolvable) { - cdkBuilder.linuxProcessParams(linuxProcessParams.let(IResolvable::unwrap)) + cdkBuilder.linuxProcessParams(linuxProcessParams.let(IResolvable.Companion::unwrap)) } /** @@ -1617,7 +1617,7 @@ public open class CfnComponentVersion( * function. */ override fun linuxProcessParams(linuxProcessParams: LambdaLinuxProcessParamsProperty) { - cdkBuilder.linuxProcessParams(linuxProcessParams.let(LambdaLinuxProcessParamsProperty::unwrap)) + cdkBuilder.linuxProcessParams(linuxProcessParams.let(LambdaLinuxProcessParamsProperty.Companion::unwrap)) } /** @@ -1681,7 +1681,7 @@ public open class CfnComponentVersion( * Default: `true` */ override fun pinned(pinned: IResolvable) { - cdkBuilder.pinned(pinned.let(IResolvable::unwrap)) + cdkBuilder.pinned(pinned.let(IResolvable.Companion::unwrap)) } /** @@ -2024,7 +2024,7 @@ public open class CfnComponentVersion( * depends. */ override fun componentDependencies(componentDependencies: IResolvable) { - cdkBuilder.componentDependencies(componentDependencies.let(IResolvable::unwrap)) + cdkBuilder.componentDependencies(componentDependencies.let(IResolvable.Companion::unwrap)) } /** @@ -2040,7 +2040,7 @@ public open class CfnComponentVersion( * as it runs on the AWS IoT Greengrass core device. */ override fun componentLambdaParameters(componentLambdaParameters: IResolvable) { - cdkBuilder.componentLambdaParameters(componentLambdaParameters.let(IResolvable::unwrap)) + cdkBuilder.componentLambdaParameters(componentLambdaParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2049,7 +2049,7 @@ public open class CfnComponentVersion( */ override fun componentLambdaParameters(componentLambdaParameters: LambdaExecutionParametersProperty) { - cdkBuilder.componentLambdaParameters(componentLambdaParameters.let(LambdaExecutionParametersProperty::unwrap)) + cdkBuilder.componentLambdaParameters(componentLambdaParameters.let(LambdaExecutionParametersProperty.Companion::unwrap)) } /** @@ -2075,7 +2075,7 @@ public open class CfnComponentVersion( * @param componentPlatforms The platforms that the component version supports. */ override fun componentPlatforms(componentPlatforms: IResolvable) { - cdkBuilder.componentPlatforms(componentPlatforms.let(IResolvable::unwrap)) + cdkBuilder.componentPlatforms(componentPlatforms.let(IResolvable.Companion::unwrap)) } /** @@ -2282,14 +2282,14 @@ public open class CfnComponentVersion( * @param containerParams The parameters for the container in which the Lambda function runs. */ override fun containerParams(containerParams: IResolvable) { - cdkBuilder.containerParams(containerParams.let(IResolvable::unwrap)) + cdkBuilder.containerParams(containerParams.let(IResolvable.Companion::unwrap)) } /** * @param containerParams The parameters for the container in which the Lambda function runs. */ override fun containerParams(containerParams: LambdaContainerParamsProperty) { - cdkBuilder.containerParams(containerParams.let(LambdaContainerParamsProperty::unwrap)) + cdkBuilder.containerParams(containerParams.let(LambdaContainerParamsProperty.Companion::unwrap)) } /** @@ -2471,7 +2471,7 @@ public open class CfnComponentVersion( * Default: `false` */ override fun addGroupOwner(addGroupOwner: IResolvable) { - cdkBuilder.addGroupOwner(addGroupOwner.let(IResolvable::unwrap)) + cdkBuilder.addGroupOwner(addGroupOwner.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersionProps.kt index 4c6580f695..59d054a7f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnComponentVersionProps.kt @@ -197,7 +197,7 @@ public interface CfnComponentVersionProps { * You must specify either `InlineRecipe` or `LambdaFunction` . */ override fun lambdaFunction(lambdaFunction: IResolvable) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IResolvable::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public interface CfnComponentVersionProps { */ override fun lambdaFunction(lambdaFunction: CfnComponentVersion.LambdaFunctionRecipeSourceProperty) { - cdkBuilder.lambdaFunction(lambdaFunction.let(CfnComponentVersion.LambdaFunctionRecipeSourceProperty::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(CfnComponentVersion.LambdaFunctionRecipeSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeployment.kt index 2360a92f74..8c53d59698 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeployment.kt @@ -127,8 +127,8 @@ public open class CfnDeployment( id: String, props: CfnDeploymentProps, ) : - this(software.amazon.awscdk.services.greengrassv2.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeploymentProps::unwrap)) + this(software.amazon.awscdk.services.greengrassv2.CfnDeployment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeploymentProps.Companion::unwrap)) ) public constructor( @@ -152,7 +152,7 @@ public open class CfnDeployment( * The components to deploy. */ public open fun components(`value`: IResolvable) { - unwrap(this).setComponents(`value`.let(IResolvable::unwrap)) + unwrap(this).setComponents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -183,14 +183,14 @@ public open class CfnDeployment( * The deployment policies for the deployment. */ public open fun deploymentPolicies(`value`: IResolvable) { - unwrap(this).setDeploymentPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** * The deployment policies for the deployment. */ public open fun deploymentPolicies(`value`: DeploymentPoliciesProperty) { - unwrap(this).setDeploymentPolicies(`value`.let(DeploymentPoliciesProperty::unwrap)) + unwrap(this).setDeploymentPolicies(`value`.let(DeploymentPoliciesProperty.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnDeployment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,14 +219,14 @@ public open class CfnDeployment( * The job configuration for the deployment configuration. */ public open fun iotJobConfiguration(`value`: IResolvable) { - unwrap(this).setIotJobConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setIotJobConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The job configuration for the deployment configuration. */ public open fun iotJobConfiguration(`value`: DeploymentIoTJobConfigurationProperty) { - unwrap(this).setIotJobConfiguration(`value`.let(DeploymentIoTJobConfigurationProperty::unwrap)) + unwrap(this).setIotJobConfiguration(`value`.let(DeploymentIoTJobConfigurationProperty.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnDeployment( * @param components The components to deploy. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnDeployment( * @param deploymentPolicies The deployment policies for the deployment. */ override fun deploymentPolicies(deploymentPolicies: IResolvable) { - cdkBuilder.deploymentPolicies(deploymentPolicies.let(IResolvable::unwrap)) + cdkBuilder.deploymentPolicies(deploymentPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnDeployment( * @param deploymentPolicies The deployment policies for the deployment. */ override fun deploymentPolicies(deploymentPolicies: DeploymentPoliciesProperty) { - cdkBuilder.deploymentPolicies(deploymentPolicies.let(DeploymentPoliciesProperty::unwrap)) + cdkBuilder.deploymentPolicies(deploymentPolicies.let(DeploymentPoliciesProperty.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CfnDeployment( * @param iotJobConfiguration The job configuration for the deployment configuration. */ override fun iotJobConfiguration(iotJobConfiguration: IResolvable) { - cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(IResolvable::unwrap)) + cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnDeployment( * @param iotJobConfiguration The job configuration for the deployment configuration. */ override fun iotJobConfiguration(iotJobConfiguration: DeploymentIoTJobConfigurationProperty) { - cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(DeploymentIoTJobConfigurationProperty::unwrap)) + cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(DeploymentIoTJobConfigurationProperty.Companion::unwrap)) } /** @@ -997,7 +997,7 @@ public open class CfnDeployment( * . */ override fun configurationUpdate(configurationUpdate: IResolvable) { - cdkBuilder.configurationUpdate(configurationUpdate.let(IResolvable::unwrap)) + cdkBuilder.configurationUpdate(configurationUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -1011,7 +1011,7 @@ public open class CfnDeployment( * . */ override fun configurationUpdate(configurationUpdate: ComponentConfigurationUpdateProperty) { - cdkBuilder.configurationUpdate(configurationUpdate.let(ComponentConfigurationUpdateProperty::unwrap)) + cdkBuilder.configurationUpdate(configurationUpdate.let(ComponentConfigurationUpdateProperty.Companion::unwrap)) } /** @@ -1039,7 +1039,7 @@ public open class CfnDeployment( * in the *AWS IoT Greengrass V2 Developer Guide* . */ override fun runWith(runWith: IResolvable) { - cdkBuilder.runWith(runWith.let(IResolvable::unwrap)) + cdkBuilder.runWith(runWith.let(IResolvable.Companion::unwrap)) } /** @@ -1051,7 +1051,7 @@ public open class CfnDeployment( * in the *AWS IoT Greengrass V2 Developer Guide* . */ override fun runWith(runWith: ComponentRunWithProperty) { - cdkBuilder.runWith(runWith.let(ComponentRunWithProperty::unwrap)) + cdkBuilder.runWith(runWith.let(ComponentRunWithProperty.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public open class CfnDeployment( * . */ override fun systemResourceLimits(systemResourceLimits: IResolvable) { - cdkBuilder.systemResourceLimits(systemResourceLimits.let(IResolvable::unwrap)) + cdkBuilder.systemResourceLimits(systemResourceLimits.let(IResolvable.Companion::unwrap)) } /** @@ -1311,7 +1311,7 @@ public open class CfnDeployment( * . */ override fun systemResourceLimits(systemResourceLimits: SystemResourceLimitsProperty) { - cdkBuilder.systemResourceLimits(systemResourceLimits.let(SystemResourceLimitsProperty::unwrap)) + cdkBuilder.systemResourceLimits(systemResourceLimits.let(SystemResourceLimitsProperty.Companion::unwrap)) } /** @@ -1871,7 +1871,7 @@ public open class CfnDeployment( * This configuration defines when and how to stop a job rollout. */ override fun abortConfig(abortConfig: IResolvable) { - cdkBuilder.abortConfig(abortConfig.let(IResolvable::unwrap)) + cdkBuilder.abortConfig(abortConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1879,7 +1879,7 @@ public open class CfnDeployment( * This configuration defines when and how to stop a job rollout. */ override fun abortConfig(abortConfig: IoTJobAbortConfigProperty) { - cdkBuilder.abortConfig(abortConfig.let(IoTJobAbortConfigProperty::unwrap)) + cdkBuilder.abortConfig(abortConfig.let(IoTJobAbortConfigProperty.Companion::unwrap)) } /** @@ -1897,7 +1897,7 @@ public open class CfnDeployment( * devices. */ override fun jobExecutionsRolloutConfig(jobExecutionsRolloutConfig: IResolvable) { - cdkBuilder.jobExecutionsRolloutConfig(jobExecutionsRolloutConfig.let(IResolvable::unwrap)) + cdkBuilder.jobExecutionsRolloutConfig(jobExecutionsRolloutConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1907,7 +1907,7 @@ public open class CfnDeployment( */ override fun jobExecutionsRolloutConfig(jobExecutionsRolloutConfig: IoTJobExecutionsRolloutConfigProperty) { - cdkBuilder.jobExecutionsRolloutConfig(jobExecutionsRolloutConfig.let(IoTJobExecutionsRolloutConfigProperty::unwrap)) + cdkBuilder.jobExecutionsRolloutConfig(jobExecutionsRolloutConfig.let(IoTJobExecutionsRolloutConfigProperty.Companion::unwrap)) } /** @@ -1927,7 +1927,7 @@ public open class CfnDeployment( * This configuration defines the amount of time each device has to complete the job. */ override fun timeoutConfig(timeoutConfig: IResolvable) { - cdkBuilder.timeoutConfig(timeoutConfig.let(IResolvable::unwrap)) + cdkBuilder.timeoutConfig(timeoutConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1935,7 +1935,7 @@ public open class CfnDeployment( * This configuration defines the amount of time each device has to complete the job. */ override fun timeoutConfig(timeoutConfig: IoTJobTimeoutConfigProperty) { - cdkBuilder.timeoutConfig(timeoutConfig.let(IoTJobTimeoutConfigProperty::unwrap)) + cdkBuilder.timeoutConfig(timeoutConfig.let(IoTJobTimeoutConfigProperty.Companion::unwrap)) } /** @@ -2128,7 +2128,7 @@ public open class CfnDeployment( * This policy defines when it's safe to deploy the configuration to devices. */ override fun componentUpdatePolicy(componentUpdatePolicy: IResolvable) { - cdkBuilder.componentUpdatePolicy(componentUpdatePolicy.let(IResolvable::unwrap)) + cdkBuilder.componentUpdatePolicy(componentUpdatePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -2137,7 +2137,7 @@ public open class CfnDeployment( */ override fun componentUpdatePolicy(componentUpdatePolicy: DeploymentComponentUpdatePolicyProperty) { - cdkBuilder.componentUpdatePolicy(componentUpdatePolicy.let(DeploymentComponentUpdatePolicyProperty::unwrap)) + cdkBuilder.componentUpdatePolicy(componentUpdatePolicy.let(DeploymentComponentUpdatePolicyProperty.Companion::unwrap)) } /** @@ -2157,7 +2157,7 @@ public open class CfnDeployment( * This policy defines how long each component has to validate its configure updates. */ override fun configurationValidationPolicy(configurationValidationPolicy: IResolvable) { - cdkBuilder.configurationValidationPolicy(configurationValidationPolicy.let(IResolvable::unwrap)) + cdkBuilder.configurationValidationPolicy(configurationValidationPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -2167,7 +2167,7 @@ public open class CfnDeployment( */ override fun configurationValidationPolicy(configurationValidationPolicy: DeploymentConfigurationValidationPolicyProperty) { - cdkBuilder.configurationValidationPolicy(configurationValidationPolicy.let(DeploymentConfigurationValidationPolicyProperty::unwrap)) + cdkBuilder.configurationValidationPolicy(configurationValidationPolicy.let(DeploymentConfigurationValidationPolicyProperty.Companion::unwrap)) } /** @@ -2311,7 +2311,7 @@ public open class CfnDeployment( * configuration deployment. */ override fun criteriaList(criteriaList: IResolvable) { - cdkBuilder.criteriaList(criteriaList.let(IResolvable::unwrap)) + cdkBuilder.criteriaList(criteriaList.let(IResolvable.Companion::unwrap)) } /** @@ -2626,14 +2626,14 @@ public open class CfnDeployment( * @param exponentialRate The exponential rate to increase the job rollout rate. */ override fun exponentialRate(exponentialRate: IResolvable) { - cdkBuilder.exponentialRate(exponentialRate.let(IResolvable::unwrap)) + cdkBuilder.exponentialRate(exponentialRate.let(IResolvable.Companion::unwrap)) } /** * @param exponentialRate The exponential rate to increase the job rollout rate. */ override fun exponentialRate(exponentialRate: IoTJobExponentialRolloutRateProperty) { - cdkBuilder.exponentialRate(exponentialRate.let(IoTJobExponentialRolloutRateProperty::unwrap)) + cdkBuilder.exponentialRate(exponentialRate.let(IoTJobExponentialRolloutRateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeploymentProps.kt index 59ed56cb0e..6fb7dfc97a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/greengrassv2/CfnDeploymentProps.kt @@ -265,7 +265,7 @@ public interface CfnDeploymentProps { * version and configuration to deploy for that component. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnDeploymentProps { * These policies define how the deployment updates components and handles failure. */ override fun deploymentPolicies(deploymentPolicies: IResolvable) { - cdkBuilder.deploymentPolicies(deploymentPolicies.let(IResolvable::unwrap)) + cdkBuilder.deploymentPolicies(deploymentPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CfnDeploymentProps { * These policies define how the deployment updates components and handles failure. */ override fun deploymentPolicies(deploymentPolicies: CfnDeployment.DeploymentPoliciesProperty) { - cdkBuilder.deploymentPolicies(deploymentPolicies.let(CfnDeployment.DeploymentPoliciesProperty::unwrap)) + cdkBuilder.deploymentPolicies(deploymentPolicies.let(CfnDeployment.DeploymentPoliciesProperty.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface CfnDeploymentProps { * deployment configuration. */ override fun iotJobConfiguration(iotJobConfiguration: IResolvable) { - cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(IResolvable::unwrap)) + cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface CfnDeploymentProps { */ override fun iotJobConfiguration(iotJobConfiguration: CfnDeployment.DeploymentIoTJobConfigurationProperty) { - cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(CfnDeployment.DeploymentIoTJobConfigurationProperty::unwrap)) + cdkBuilder.iotJobConfiguration(iotJobConfiguration.let(CfnDeployment.DeploymentIoTJobConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfig.kt index 8e7468cdfe..e1eb27f087 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfig.kt @@ -118,8 +118,8 @@ public open class CfnConfig( id: String, props: CfnConfigProps, ) : - this(software.amazon.awscdk.services.groundstation.CfnConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigProps::unwrap)) + this(software.amazon.awscdk.services.groundstation.CfnConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigProps.Companion::unwrap)) ) public constructor( @@ -155,14 +155,14 @@ public open class CfnConfig( * Object containing the parameters of a config. */ public open fun configData(`value`: IResolvable) { - unwrap(this).setConfigData(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigData(`value`.let(IResolvable.Companion::unwrap)) } /** * Object containing the parameters of a config. */ public open fun configData(`value`: ConfigDataProperty) { - unwrap(this).setConfigData(`value`.let(ConfigDataProperty::unwrap)) + unwrap(this).setConfigData(`value`.let(ConfigDataProperty.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnConfig( * Tags assigned to a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnConfig( * @param configData Object containing the parameters of a config. */ override fun configData(configData: IResolvable) { - cdkBuilder.configData(configData.let(IResolvable::unwrap)) + cdkBuilder.configData(configData.let(IResolvable.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnConfig( * @param configData Object containing the parameters of a config. */ override fun configData(configData: ConfigDataProperty) { - cdkBuilder.configData(configData.let(ConfigDataProperty::unwrap)) + cdkBuilder.configData(configData.let(ConfigDataProperty.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class CfnConfig( * @param tags Tags assigned to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -452,14 +452,14 @@ public open class CfnConfig( * @param spectrumConfig Defines the spectrum configuration. */ override fun spectrumConfig(spectrumConfig: IResolvable) { - cdkBuilder.spectrumConfig(spectrumConfig.let(IResolvable::unwrap)) + cdkBuilder.spectrumConfig(spectrumConfig.let(IResolvable.Companion::unwrap)) } /** * @param spectrumConfig Defines the spectrum configuration. */ override fun spectrumConfig(spectrumConfig: SpectrumConfigProperty) { - cdkBuilder.spectrumConfig(spectrumConfig.let(SpectrumConfigProperty::unwrap)) + cdkBuilder.spectrumConfig(spectrumConfig.let(SpectrumConfigProperty.Companion::unwrap)) } /** @@ -631,14 +631,14 @@ public open class CfnConfig( * @param decodeConfig Defines how the RF signal will be decoded. */ override fun decodeConfig(decodeConfig: IResolvable) { - cdkBuilder.decodeConfig(decodeConfig.let(IResolvable::unwrap)) + cdkBuilder.decodeConfig(decodeConfig.let(IResolvable.Companion::unwrap)) } /** * @param decodeConfig Defines how the RF signal will be decoded. */ override fun decodeConfig(decodeConfig: DecodeConfigProperty) { - cdkBuilder.decodeConfig(decodeConfig.let(DecodeConfigProperty::unwrap)) + cdkBuilder.decodeConfig(decodeConfig.let(DecodeConfigProperty.Companion::unwrap)) } /** @@ -653,14 +653,14 @@ public open class CfnConfig( * @param demodulationConfig Defines how the RF signal will be demodulated. */ override fun demodulationConfig(demodulationConfig: IResolvable) { - cdkBuilder.demodulationConfig(demodulationConfig.let(IResolvable::unwrap)) + cdkBuilder.demodulationConfig(demodulationConfig.let(IResolvable.Companion::unwrap)) } /** * @param demodulationConfig Defines how the RF signal will be demodulated. */ override fun demodulationConfig(demodulationConfig: DemodulationConfigProperty) { - cdkBuilder.demodulationConfig(demodulationConfig.let(DemodulationConfigProperty::unwrap)) + cdkBuilder.demodulationConfig(demodulationConfig.let(DemodulationConfigProperty.Companion::unwrap)) } /** @@ -676,14 +676,14 @@ public open class CfnConfig( * @param spectrumConfig Defines the spectrum configuration. */ override fun spectrumConfig(spectrumConfig: IResolvable) { - cdkBuilder.spectrumConfig(spectrumConfig.let(IResolvable::unwrap)) + cdkBuilder.spectrumConfig(spectrumConfig.let(IResolvable.Companion::unwrap)) } /** * @param spectrumConfig Defines the spectrum configuration. */ override fun spectrumConfig(spectrumConfig: SpectrumConfigProperty) { - cdkBuilder.spectrumConfig(spectrumConfig.let(SpectrumConfigProperty::unwrap)) + cdkBuilder.spectrumConfig(spectrumConfig.let(SpectrumConfigProperty.Companion::unwrap)) } /** @@ -861,14 +861,14 @@ public open class CfnConfig( * @param spectrumConfig Defines the spectrum configuration. */ override fun spectrumConfig(spectrumConfig: IResolvable) { - cdkBuilder.spectrumConfig(spectrumConfig.let(IResolvable::unwrap)) + cdkBuilder.spectrumConfig(spectrumConfig.let(IResolvable.Companion::unwrap)) } /** * @param spectrumConfig Defines the spectrum configuration. */ override fun spectrumConfig(spectrumConfig: UplinkSpectrumConfigProperty) { - cdkBuilder.spectrumConfig(spectrumConfig.let(UplinkSpectrumConfigProperty::unwrap)) + cdkBuilder.spectrumConfig(spectrumConfig.let(UplinkSpectrumConfigProperty.Companion::unwrap)) } /** @@ -885,7 +885,7 @@ public open class CfnConfig( * Valid values are between 20.0 to 50.0 dBW. */ override fun targetEirp(targetEirp: IResolvable) { - cdkBuilder.targetEirp(targetEirp.let(IResolvable::unwrap)) + cdkBuilder.targetEirp(targetEirp.let(IResolvable.Companion::unwrap)) } /** @@ -894,7 +894,7 @@ public open class CfnConfig( * Valid values are between 20.0 to 50.0 dBW. */ override fun targetEirp(targetEirp: EirpProperty) { - cdkBuilder.targetEirp(targetEirp.let(EirpProperty::unwrap)) + cdkBuilder.targetEirp(targetEirp.let(EirpProperty.Companion::unwrap)) } /** @@ -918,7 +918,7 @@ public open class CfnConfig( * @param transmitDisabled Whether or not uplink transmit is disabled. */ override fun transmitDisabled(transmitDisabled: IResolvable) { - cdkBuilder.transmitDisabled(transmitDisabled.let(IResolvable::unwrap)) + cdkBuilder.transmitDisabled(transmitDisabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1311,7 +1311,7 @@ public open class CfnConfig( * demodulation or decoding is performed by Ground Station (RF over IP downlinks). */ override fun antennaDownlinkConfig(antennaDownlinkConfig: IResolvable) { - cdkBuilder.antennaDownlinkConfig(antennaDownlinkConfig.let(IResolvable::unwrap)) + cdkBuilder.antennaDownlinkConfig(antennaDownlinkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1320,7 +1320,7 @@ public open class CfnConfig( * demodulation or decoding is performed by Ground Station (RF over IP downlinks). */ override fun antennaDownlinkConfig(antennaDownlinkConfig: AntennaDownlinkConfigProperty) { - cdkBuilder.antennaDownlinkConfig(antennaDownlinkConfig.let(AntennaDownlinkConfigProperty::unwrap)) + cdkBuilder.antennaDownlinkConfig(antennaDownlinkConfig.let(AntennaDownlinkConfigProperty.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public open class CfnConfig( * Ground Station service will demodulate and decode the downlinked data. */ override fun antennaDownlinkDemodDecodeConfig(antennaDownlinkDemodDecodeConfig: IResolvable) { - cdkBuilder.antennaDownlinkDemodDecodeConfig(antennaDownlinkDemodDecodeConfig.let(IResolvable::unwrap)) + cdkBuilder.antennaDownlinkDemodDecodeConfig(antennaDownlinkDemodDecodeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1352,7 +1352,7 @@ public open class CfnConfig( */ override fun antennaDownlinkDemodDecodeConfig(antennaDownlinkDemodDecodeConfig: AntennaDownlinkDemodDecodeConfigProperty) { - cdkBuilder.antennaDownlinkDemodDecodeConfig(antennaDownlinkDemodDecodeConfig.let(AntennaDownlinkDemodDecodeConfigProperty::unwrap)) + cdkBuilder.antennaDownlinkDemodDecodeConfig(antennaDownlinkDemodDecodeConfig.let(AntennaDownlinkDemodDecodeConfigProperty.Companion::unwrap)) } /** @@ -1373,7 +1373,7 @@ public open class CfnConfig( * Uplink config objects are used to provide parameters for uplink contacts. */ override fun antennaUplinkConfig(antennaUplinkConfig: IResolvable) { - cdkBuilder.antennaUplinkConfig(antennaUplinkConfig.let(IResolvable::unwrap)) + cdkBuilder.antennaUplinkConfig(antennaUplinkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1381,7 +1381,7 @@ public open class CfnConfig( * Uplink config objects are used to provide parameters for uplink contacts. */ override fun antennaUplinkConfig(antennaUplinkConfig: AntennaUplinkConfigProperty) { - cdkBuilder.antennaUplinkConfig(antennaUplinkConfig.let(AntennaUplinkConfigProperty::unwrap)) + cdkBuilder.antennaUplinkConfig(antennaUplinkConfig.let(AntennaUplinkConfigProperty.Companion::unwrap)) } /** @@ -1402,7 +1402,7 @@ public open class CfnConfig( * uplink contact. */ override fun dataflowEndpointConfig(dataflowEndpointConfig: IResolvable) { - cdkBuilder.dataflowEndpointConfig(dataflowEndpointConfig.let(IResolvable::unwrap)) + cdkBuilder.dataflowEndpointConfig(dataflowEndpointConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class CfnConfig( * uplink contact. */ override fun dataflowEndpointConfig(dataflowEndpointConfig: DataflowEndpointConfigProperty) { - cdkBuilder.dataflowEndpointConfig(dataflowEndpointConfig.let(DataflowEndpointConfigProperty::unwrap)) + cdkBuilder.dataflowEndpointConfig(dataflowEndpointConfig.let(DataflowEndpointConfigProperty.Companion::unwrap)) } /** @@ -1435,7 +1435,7 @@ public open class CfnConfig( * contacts. */ override fun s3RecordingConfig(s3RecordingConfig: IResolvable) { - cdkBuilder.s3RecordingConfig(s3RecordingConfig.let(IResolvable::unwrap)) + cdkBuilder.s3RecordingConfig(s3RecordingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1444,7 +1444,7 @@ public open class CfnConfig( * contacts. */ override fun s3RecordingConfig(s3RecordingConfig: S3RecordingConfigProperty) { - cdkBuilder.s3RecordingConfig(s3RecordingConfig.let(S3RecordingConfigProperty::unwrap)) + cdkBuilder.s3RecordingConfig(s3RecordingConfig.let(S3RecordingConfigProperty.Companion::unwrap)) } /** @@ -1464,7 +1464,7 @@ public open class CfnConfig( * through the sky during a contact. */ override fun trackingConfig(trackingConfig: IResolvable) { - cdkBuilder.trackingConfig(trackingConfig.let(IResolvable::unwrap)) + cdkBuilder.trackingConfig(trackingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1473,7 +1473,7 @@ public open class CfnConfig( * through the sky during a contact. */ override fun trackingConfig(trackingConfig: TrackingConfigProperty) { - cdkBuilder.trackingConfig(trackingConfig.let(TrackingConfigProperty::unwrap)) + cdkBuilder.trackingConfig(trackingConfig.let(TrackingConfigProperty.Companion::unwrap)) } /** @@ -1492,7 +1492,7 @@ public open class CfnConfig( * contacts. */ override fun uplinkEchoConfig(uplinkEchoConfig: IResolvable) { - cdkBuilder.uplinkEchoConfig(uplinkEchoConfig.let(IResolvable::unwrap)) + cdkBuilder.uplinkEchoConfig(uplinkEchoConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1501,7 +1501,7 @@ public open class CfnConfig( * contacts. */ override fun uplinkEchoConfig(uplinkEchoConfig: UplinkEchoConfigProperty) { - cdkBuilder.uplinkEchoConfig(uplinkEchoConfig.let(UplinkEchoConfigProperty::unwrap)) + cdkBuilder.uplinkEchoConfig(uplinkEchoConfig.let(UplinkEchoConfigProperty.Companion::unwrap)) } /** @@ -2542,7 +2542,7 @@ public open class CfnConfig( * * For `AntennaUplinkConfig` , valid values are between 10 kHz to 54 MHz. */ override fun bandwidth(bandwidth: IResolvable) { - cdkBuilder.bandwidth(bandwidth.let(IResolvable::unwrap)) + cdkBuilder.bandwidth(bandwidth.let(IResolvable.Companion::unwrap)) } /** @@ -2553,7 +2553,7 @@ public open class CfnConfig( * * For `AntennaUplinkConfig` , valid values are between 10 kHz to 54 MHz. */ override fun bandwidth(bandwidth: FrequencyBandwidthProperty) { - cdkBuilder.bandwidth(bandwidth.let(FrequencyBandwidthProperty::unwrap)) + cdkBuilder.bandwidth(bandwidth.let(FrequencyBandwidthProperty.Companion::unwrap)) } /** @@ -2574,7 +2574,7 @@ public open class CfnConfig( * 2120 MHz for uplink. */ override fun centerFrequency(centerFrequency: IResolvable) { - cdkBuilder.centerFrequency(centerFrequency.let(IResolvable::unwrap)) + cdkBuilder.centerFrequency(centerFrequency.let(IResolvable.Companion::unwrap)) } /** @@ -2583,7 +2583,7 @@ public open class CfnConfig( * 2120 MHz for uplink. */ override fun centerFrequency(centerFrequency: FrequencyProperty) { - cdkBuilder.centerFrequency(centerFrequency.let(FrequencyProperty::unwrap)) + cdkBuilder.centerFrequency(centerFrequency.let(FrequencyProperty.Companion::unwrap)) } /** @@ -2843,7 +2843,7 @@ public open class CfnConfig( * @param enabled Whether or not uplink echo is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2975,7 +2975,7 @@ public open class CfnConfig( * 2120 MHz for uplink. */ override fun centerFrequency(centerFrequency: IResolvable) { - cdkBuilder.centerFrequency(centerFrequency.let(IResolvable::unwrap)) + cdkBuilder.centerFrequency(centerFrequency.let(IResolvable.Companion::unwrap)) } /** @@ -2984,7 +2984,7 @@ public open class CfnConfig( * 2120 MHz for uplink. */ override fun centerFrequency(centerFrequency: FrequencyProperty) { - cdkBuilder.centerFrequency(centerFrequency.let(FrequencyProperty::unwrap)) + cdkBuilder.centerFrequency(centerFrequency.let(FrequencyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfigProps.kt index 05806767e7..7aa4df2b78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnConfigProps.kt @@ -177,7 +177,7 @@ public interface CfnConfigProps { * of each config subtype. */ override fun configData(configData: IResolvable) { - cdkBuilder.configData(configData.let(IResolvable::unwrap)) + cdkBuilder.configData(configData.let(IResolvable.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public interface CfnConfigProps { * of each config subtype. */ override fun configData(configData: CfnConfig.ConfigDataProperty) { - cdkBuilder.configData(configData.let(CfnConfig.ConfigDataProperty::unwrap)) + cdkBuilder.configData(configData.let(CfnConfig.ConfigDataProperty.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface CfnConfigProps { * @param tags Tags assigned to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroup.kt index ee83d45e65..a3cda8c53d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroup.kt @@ -96,8 +96,8 @@ public open class CfnDataflowEndpointGroup( id: String, props: CfnDataflowEndpointGroupProps, ) : - this(software.amazon.awscdk.services.groundstation.CfnDataflowEndpointGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataflowEndpointGroupProps::unwrap)) + this(software.amazon.awscdk.services.groundstation.CfnDataflowEndpointGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataflowEndpointGroupProps.Companion::unwrap)) ) public constructor( @@ -158,7 +158,7 @@ public open class CfnDataflowEndpointGroup( * List of Endpoint Details, containing address and port for each endpoint. */ public open fun endpointDetails(`value`: IResolvable) { - unwrap(this).setEndpointDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpointDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnDataflowEndpointGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnDataflowEndpointGroup( * Tags assigned to a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnDataflowEndpointGroup( * endpoint. */ override fun endpointDetails(endpointDetails: IResolvable) { - cdkBuilder.endpointDetails(endpointDetails.let(IResolvable::unwrap)) + cdkBuilder.endpointDetails(endpointDetails.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnDataflowEndpointGroup( * @param tags Tags assigned to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -534,14 +534,14 @@ public open class CfnDataflowEndpointGroup( * @param egressAddress the value to be set. */ override fun egressAddress(egressAddress: IResolvable) { - cdkBuilder.egressAddress(egressAddress.let(IResolvable::unwrap)) + cdkBuilder.egressAddress(egressAddress.let(IResolvable.Companion::unwrap)) } /** * @param egressAddress the value to be set. */ override fun egressAddress(egressAddress: ConnectionDetailsProperty) { - cdkBuilder.egressAddress(egressAddress.let(ConnectionDetailsProperty::unwrap)) + cdkBuilder.egressAddress(egressAddress.let(ConnectionDetailsProperty.Companion::unwrap)) } /** @@ -556,14 +556,14 @@ public open class CfnDataflowEndpointGroup( * @param ingressAddress the value to be set. */ override fun ingressAddress(ingressAddress: IResolvable) { - cdkBuilder.ingressAddress(ingressAddress.let(IResolvable::unwrap)) + cdkBuilder.ingressAddress(ingressAddress.let(IResolvable.Companion::unwrap)) } /** * @param ingressAddress the value to be set. */ override fun ingressAddress(ingressAddress: RangedConnectionDetailsProperty) { - cdkBuilder.ingressAddress(ingressAddress.let(RangedConnectionDetailsProperty::unwrap)) + cdkBuilder.ingressAddress(ingressAddress.let(RangedConnectionDetailsProperty.Companion::unwrap)) } /** @@ -709,14 +709,14 @@ public open class CfnDataflowEndpointGroup( * @param socketAddress the value to be set. */ override fun socketAddress(socketAddress: IResolvable) { - cdkBuilder.socketAddress(socketAddress.let(IResolvable::unwrap)) + cdkBuilder.socketAddress(socketAddress.let(IResolvable.Companion::unwrap)) } /** * @param socketAddress the value to be set. */ override fun socketAddress(socketAddress: SocketAddressProperty) { - cdkBuilder.socketAddress(socketAddress.let(SocketAddressProperty::unwrap)) + cdkBuilder.socketAddress(socketAddress.let(SocketAddressProperty.Companion::unwrap)) } /** @@ -857,14 +857,14 @@ public open class CfnDataflowEndpointGroup( * @param address The address and port of an endpoint. */ override fun address(address: IResolvable) { - cdkBuilder.address(address.let(IResolvable::unwrap)) + cdkBuilder.address(address.let(IResolvable.Companion::unwrap)) } /** * @param address The address and port of an endpoint. */ override fun address(address: SocketAddressProperty) { - cdkBuilder.address(address.let(SocketAddressProperty::unwrap)) + cdkBuilder.address(address.let(SocketAddressProperty.Companion::unwrap)) } /** @@ -1084,7 +1084,7 @@ public open class CfnDataflowEndpointGroup( * @param awsGroundStationAgentEndpoint the value to be set. */ override fun awsGroundStationAgentEndpoint(awsGroundStationAgentEndpoint: IResolvable) { - cdkBuilder.awsGroundStationAgentEndpoint(awsGroundStationAgentEndpoint.let(IResolvable::unwrap)) + cdkBuilder.awsGroundStationAgentEndpoint(awsGroundStationAgentEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -1092,7 +1092,7 @@ public open class CfnDataflowEndpointGroup( */ override fun awsGroundStationAgentEndpoint(awsGroundStationAgentEndpoint: AwsGroundStationAgentEndpointProperty) { - cdkBuilder.awsGroundStationAgentEndpoint(awsGroundStationAgentEndpoint.let(AwsGroundStationAgentEndpointProperty::unwrap)) + cdkBuilder.awsGroundStationAgentEndpoint(awsGroundStationAgentEndpoint.let(AwsGroundStationAgentEndpointProperty.Companion::unwrap)) } /** @@ -1109,14 +1109,14 @@ public open class CfnDataflowEndpointGroup( * @param endpoint Information about the endpoint such as name and the endpoint address. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** * @param endpoint Information about the endpoint such as name and the endpoint address. */ override fun endpoint(endpoint: DataflowEndpointProperty) { - cdkBuilder.endpoint(endpoint.let(DataflowEndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(DataflowEndpointProperty.Companion::unwrap)) } /** @@ -1131,14 +1131,14 @@ public open class CfnDataflowEndpointGroup( * @param securityDetails The role ARN, and IDs for security groups and subnets. */ override fun securityDetails(securityDetails: IResolvable) { - cdkBuilder.securityDetails(securityDetails.let(IResolvable::unwrap)) + cdkBuilder.securityDetails(securityDetails.let(IResolvable.Companion::unwrap)) } /** * @param securityDetails The role ARN, and IDs for security groups and subnets. */ override fun securityDetails(securityDetails: SecurityDetailsProperty) { - cdkBuilder.securityDetails(securityDetails.let(SecurityDetailsProperty::unwrap)) + cdkBuilder.securityDetails(securityDetails.let(SecurityDetailsProperty.Companion::unwrap)) } /** @@ -1373,14 +1373,14 @@ public open class CfnDataflowEndpointGroup( * @param socketAddress the value to be set. */ override fun socketAddress(socketAddress: IResolvable) { - cdkBuilder.socketAddress(socketAddress.let(IResolvable::unwrap)) + cdkBuilder.socketAddress(socketAddress.let(IResolvable.Companion::unwrap)) } /** * @param socketAddress the value to be set. */ override fun socketAddress(socketAddress: RangedSocketAddressProperty) { - cdkBuilder.socketAddress(socketAddress.let(RangedSocketAddressProperty::unwrap)) + cdkBuilder.socketAddress(socketAddress.let(RangedSocketAddressProperty.Companion::unwrap)) } /** @@ -1502,14 +1502,14 @@ public open class CfnDataflowEndpointGroup( * @param portRange the value to be set. */ override fun portRange(portRange: IResolvable) { - cdkBuilder.portRange(portRange.let(IResolvable::unwrap)) + cdkBuilder.portRange(portRange.let(IResolvable.Companion::unwrap)) } /** * @param portRange the value to be set. */ override fun portRange(portRange: IntegerRangeProperty) { - cdkBuilder.portRange(portRange.let(IntegerRangeProperty::unwrap)) + cdkBuilder.portRange(portRange.let(IntegerRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroupProps.kt index 103ac2d0d9..cea69e6344 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnDataflowEndpointGroupProps.kt @@ -191,7 +191,7 @@ public interface CfnDataflowEndpointGroupProps { * endpoint. */ override fun endpointDetails(endpointDetails: IResolvable) { - cdkBuilder.endpointDetails(endpointDetails.let(IResolvable::unwrap)) + cdkBuilder.endpointDetails(endpointDetails.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface CfnDataflowEndpointGroupProps { * @param tags Tags assigned to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfile.kt index c81d00e0e5..2b86607b3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfile.kt @@ -65,8 +65,8 @@ public open class CfnMissionProfile( id: String, props: CfnMissionProfileProps, ) : - this(software.amazon.awscdk.services.groundstation.CfnMissionProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMissionProfileProps::unwrap)) + this(software.amazon.awscdk.services.groundstation.CfnMissionProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMissionProfileProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnMissionProfile( * A list containing lists of config ARNs. */ public open fun dataflowEdges(`value`: IResolvable) { - unwrap(this).setDataflowEdges(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataflowEdges(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnMissionProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -190,14 +190,14 @@ public open class CfnMissionProfile( * */ public open fun streamsKmsKey(`value`: IResolvable) { - unwrap(this).setStreamsKmsKey(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamsKmsKey(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun streamsKmsKey(`value`: StreamsKmsKeyProperty) { - unwrap(this).setStreamsKmsKey(`value`.let(StreamsKmsKeyProperty::unwrap)) + unwrap(this).setStreamsKmsKey(`value`.let(StreamsKmsKeyProperty.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnMissionProfile( * Tags assigned to the mission profile. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CfnMissionProfile( * @param dataflowEdges A list containing lists of config ARNs. */ override fun dataflowEdges(dataflowEdges: IResolvable) { - cdkBuilder.dataflowEdges(dataflowEdges.let(IResolvable::unwrap)) + cdkBuilder.dataflowEdges(dataflowEdges.let(IResolvable.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnMissionProfile( * @param streamsKmsKey */ override fun streamsKmsKey(streamsKmsKey: IResolvable) { - cdkBuilder.streamsKmsKey(streamsKmsKey.let(IResolvable::unwrap)) + cdkBuilder.streamsKmsKey(streamsKmsKey.let(IResolvable.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnMissionProfile( * @param streamsKmsKey */ override fun streamsKmsKey(streamsKmsKey: StreamsKmsKeyProperty) { - cdkBuilder.streamsKmsKey(streamsKmsKey.let(StreamsKmsKeyProperty::unwrap)) + cdkBuilder.streamsKmsKey(streamsKmsKey.let(StreamsKmsKeyProperty.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public open class CfnMissionProfile( * @param tags Tags assigned to the mission profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfileProps.kt index 629b052c89..9fead33883 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/groundstation/CfnMissionProfileProps.kt @@ -233,7 +233,7 @@ public interface CfnMissionProfileProps { * Each list of config ARNs is an edge, with a "from" config and a "to" config. */ override fun dataflowEdges(dataflowEdges: IResolvable) { - cdkBuilder.dataflowEdges(dataflowEdges.let(IResolvable::unwrap)) + cdkBuilder.dataflowEdges(dataflowEdges.let(IResolvable.Companion::unwrap)) } /** @@ -271,14 +271,14 @@ public interface CfnMissionProfileProps { * @param streamsKmsKey the value to be set. */ override fun streamsKmsKey(streamsKmsKey: IResolvable) { - cdkBuilder.streamsKmsKey(streamsKmsKey.let(IResolvable::unwrap)) + cdkBuilder.streamsKmsKey(streamsKmsKey.let(IResolvable.Companion::unwrap)) } /** * @param streamsKmsKey the value to be set. */ override fun streamsKmsKey(streamsKmsKey: CfnMissionProfile.StreamsKmsKeyProperty) { - cdkBuilder.streamsKmsKey(streamsKmsKey.let(CfnMissionProfile.StreamsKmsKeyProperty::unwrap)) + cdkBuilder.streamsKmsKey(streamsKmsKey.let(CfnMissionProfile.StreamsKmsKeyProperty.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnMissionProfileProps { * @param tags Tags assigned to the mission profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetector.kt index d12b1fd13e..e2bf3946bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetector.kt @@ -79,8 +79,8 @@ public open class CfnDetector( id: String, props: CfnDetectorProps, ) : - this(software.amazon.awscdk.services.guardduty.CfnDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDetectorProps::unwrap)) + this(software.amazon.awscdk.services.guardduty.CfnDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDetectorProps.Companion::unwrap)) ) public constructor( @@ -104,14 +104,14 @@ public open class CfnDetector( * Describes which data sources will be enabled for the detector. */ public open fun dataSources(`value`: IResolvable) { - unwrap(this).setDataSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSources(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes which data sources will be enabled for the detector. */ public open fun dataSources(`value`: CFNDataSourceConfigurationsProperty) { - unwrap(this).setDataSources(`value`.let(CFNDataSourceConfigurationsProperty::unwrap)) + unwrap(this).setDataSources(`value`.let(CFNDataSourceConfigurationsProperty.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnDetector( * Specifies whether the detector is to be enabled on creation. */ public open fun enable(`value`: IResolvable) { - unwrap(this).setEnable(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnable(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnDetector( * A list of features that will be configured for the detector. */ public open fun features(`value`: IResolvable) { - unwrap(this).setFeatures(`value`.let(IResolvable::unwrap)) + unwrap(this).setFeatures(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnDetector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnDetector( * Specifies tags added to a new detector resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagItemProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagItemProperty.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class CfnDetector( * @param dataSources Describes which data sources will be enabled for the detector. */ override fun dataSources(dataSources: IResolvable) { - cdkBuilder.dataSources(dataSources.let(IResolvable::unwrap)) + cdkBuilder.dataSources(dataSources.let(IResolvable.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnDetector( * @param dataSources Describes which data sources will be enabled for the detector. */ override fun dataSources(dataSources: CFNDataSourceConfigurationsProperty) { - cdkBuilder.dataSources(dataSources.let(CFNDataSourceConfigurationsProperty::unwrap)) + cdkBuilder.dataSources(dataSources.let(CFNDataSourceConfigurationsProperty.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnDetector( * @param enable Specifies whether the detector is to be enabled on creation. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnDetector( * @param features A list of features that will be configured for the detector. */ override fun features(features: IResolvable) { - cdkBuilder.features(features.let(IResolvable::unwrap)) + cdkBuilder.features(features.let(IResolvable.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class CfnDetector( * @param tags Specifies tags added to a new detector resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagItemProperty::unwrap)) + cdkBuilder.tags(tags.map(TagItemProperty.Companion::unwrap)) } /** @@ -602,14 +602,14 @@ public open class CfnDetector( * @param kubernetes Describes which Kubernetes data sources are enabled for a detector. */ override fun kubernetes(kubernetes: IResolvable) { - cdkBuilder.kubernetes(kubernetes.let(IResolvable::unwrap)) + cdkBuilder.kubernetes(kubernetes.let(IResolvable.Companion::unwrap)) } /** * @param kubernetes Describes which Kubernetes data sources are enabled for a detector. */ override fun kubernetes(kubernetes: CFNKubernetesConfigurationProperty) { - cdkBuilder.kubernetes(kubernetes.let(CFNKubernetesConfigurationProperty::unwrap)) + cdkBuilder.kubernetes(kubernetes.let(CFNKubernetesConfigurationProperty.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public open class CfnDetector( * source. */ override fun malwareProtection(malwareProtection: IResolvable) { - cdkBuilder.malwareProtection(malwareProtection.let(IResolvable::unwrap)) + cdkBuilder.malwareProtection(malwareProtection.let(IResolvable.Companion::unwrap)) } /** @@ -633,7 +633,7 @@ public open class CfnDetector( * source. */ override fun malwareProtection(malwareProtection: CFNMalwareProtectionConfigurationProperty) { - cdkBuilder.malwareProtection(malwareProtection.let(CFNMalwareProtectionConfigurationProperty::unwrap)) + cdkBuilder.malwareProtection(malwareProtection.let(CFNMalwareProtectionConfigurationProperty.Companion::unwrap)) } /** @@ -650,14 +650,14 @@ public open class CfnDetector( * @param s3Logs Describes whether S3 data event logs are enabled as a data source. */ override fun s3Logs(s3Logs: IResolvable) { - cdkBuilder.s3Logs(s3Logs.let(IResolvable::unwrap)) + cdkBuilder.s3Logs(s3Logs.let(IResolvable.Companion::unwrap)) } /** * @param s3Logs Describes whether S3 data event logs are enabled as a data source. */ override fun s3Logs(s3Logs: CFNS3LogsConfigurationProperty) { - cdkBuilder.s3Logs(s3Logs.let(CFNS3LogsConfigurationProperty::unwrap)) + cdkBuilder.s3Logs(s3Logs.let(CFNS3LogsConfigurationProperty.Companion::unwrap)) } /** @@ -918,7 +918,7 @@ public open class CfnDetector( * in your account. */ override fun additionalConfiguration(additionalConfiguration: IResolvable) { - cdkBuilder.additionalConfiguration(additionalConfiguration.let(IResolvable::unwrap)) + cdkBuilder.additionalConfiguration(additionalConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1060,7 +1060,7 @@ public open class CfnDetector( * detector. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1163,7 +1163,7 @@ public open class CfnDetector( * the detector. */ override fun auditLogs(auditLogs: IResolvable) { - cdkBuilder.auditLogs(auditLogs.let(IResolvable::unwrap)) + cdkBuilder.auditLogs(auditLogs.let(IResolvable.Companion::unwrap)) } /** @@ -1171,7 +1171,7 @@ public open class CfnDetector( * the detector. */ override fun auditLogs(auditLogs: CFNKubernetesAuditLogsConfigurationProperty) { - cdkBuilder.auditLogs(auditLogs.let(CFNKubernetesAuditLogsConfigurationProperty::unwrap)) + cdkBuilder.auditLogs(auditLogs.let(CFNKubernetesAuditLogsConfigurationProperty.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public open class CfnDetector( * EC2 instances with findings. */ override fun scanEc2InstanceWithFindings(scanEc2InstanceWithFindings: IResolvable) { - cdkBuilder.scanEc2InstanceWithFindings(scanEc2InstanceWithFindings.let(IResolvable::unwrap)) + cdkBuilder.scanEc2InstanceWithFindings(scanEc2InstanceWithFindings.let(IResolvable.Companion::unwrap)) } /** @@ -1294,7 +1294,7 @@ public open class CfnDetector( */ override fun scanEc2InstanceWithFindings(scanEc2InstanceWithFindings: CFNScanEc2InstanceWithFindingsConfigurationProperty) { - cdkBuilder.scanEc2InstanceWithFindings(scanEc2InstanceWithFindings.let(CFNScanEc2InstanceWithFindingsConfigurationProperty::unwrap)) + cdkBuilder.scanEc2InstanceWithFindings(scanEc2InstanceWithFindings.let(CFNScanEc2InstanceWithFindingsConfigurationProperty.Companion::unwrap)) } /** @@ -1403,7 +1403,7 @@ public open class CfnDetector( * @param enable The status of S3 data event logs as a data source. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1500,7 +1500,7 @@ public open class CfnDetector( * @param ebsVolumes Describes the configuration for scanning EBS volumes as data source. */ override fun ebsVolumes(ebsVolumes: IResolvable) { - cdkBuilder.ebsVolumes(ebsVolumes.let(IResolvable::unwrap)) + cdkBuilder.ebsVolumes(ebsVolumes.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetectorProps.kt index 7006bce4c5..7461368c14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnDetectorProps.kt @@ -193,14 +193,14 @@ public interface CfnDetectorProps { * @param dataSources Describes which data sources will be enabled for the detector. */ override fun dataSources(dataSources: IResolvable) { - cdkBuilder.dataSources(dataSources.let(IResolvable::unwrap)) + cdkBuilder.dataSources(dataSources.let(IResolvable.Companion::unwrap)) } /** * @param dataSources Describes which data sources will be enabled for the detector. */ override fun dataSources(dataSources: CfnDetector.CFNDataSourceConfigurationsProperty) { - cdkBuilder.dataSources(dataSources.let(CfnDetector.CFNDataSourceConfigurationsProperty::unwrap)) + cdkBuilder.dataSources(dataSources.let(CfnDetector.CFNDataSourceConfigurationsProperty.Companion::unwrap)) } /** @@ -223,14 +223,14 @@ public interface CfnDetectorProps { * @param enable Specifies whether the detector is to be enabled on creation. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** * @param features A list of features that will be configured for the detector. */ override fun features(features: IResolvable) { - cdkBuilder.features(features.let(IResolvable::unwrap)) + cdkBuilder.features(features.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface CfnDetectorProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnDetector.TagItemProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnDetector.TagItemProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilter.kt index 1494cf231d..cda629d429 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilter.kt @@ -73,8 +73,8 @@ public open class CfnFilter( id: String, props: CfnFilterProps, ) : - this(software.amazon.awscdk.services.guardduty.CfnFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFilterProps::unwrap)) + this(software.amazon.awscdk.services.guardduty.CfnFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFilterProps.Companion::unwrap)) ) public constructor( @@ -129,14 +129,14 @@ public open class CfnFilter( * Represents the criteria to be used in the filter for querying findings. */ public open fun findingCriteria(`value`: IResolvable) { - unwrap(this).setFindingCriteria(`value`.let(IResolvable::unwrap)) + unwrap(this).setFindingCriteria(`value`.let(IResolvable.Companion::unwrap)) } /** * Represents the criteria to be used in the filter for querying findings. */ public open fun findingCriteria(`value`: FindingCriteriaProperty) { - unwrap(this).setFindingCriteria(`value`.let(FindingCriteriaProperty::unwrap)) + unwrap(this).setFindingCriteria(`value`.let(FindingCriteriaProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnFilter( * The tags to be added to a new filter resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CfnFilter( * findings. */ override fun findingCriteria(findingCriteria: IResolvable) { - cdkBuilder.findingCriteria(findingCriteria.let(IResolvable::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnFilter( * findings. */ override fun findingCriteria(findingCriteria: FindingCriteriaProperty) { - cdkBuilder.findingCriteria(findingCriteria.let(FindingCriteriaProperty::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(FindingCriteriaProperty.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnFilter( * @param tags The tags to be added to a new filter resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1369,14 +1369,14 @@ public open class CfnFilter( * @param itemType the value to be set. */ override fun itemType(itemType: IResolvable) { - cdkBuilder.itemType(itemType.let(IResolvable::unwrap)) + cdkBuilder.itemType(itemType.let(IResolvable.Companion::unwrap)) } /** * @param itemType the value to be set. */ override fun itemType(itemType: ConditionProperty) { - cdkBuilder.itemType(itemType.let(ConditionProperty::unwrap)) + cdkBuilder.itemType(itemType.let(ConditionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilterProps.kt index b0a438314e..a7234162c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnFilterProps.kt @@ -249,7 +249,7 @@ public interface CfnFilterProps { * findings. */ override fun findingCriteria(findingCriteria: IResolvable) { - cdkBuilder.findingCriteria(findingCriteria.let(IResolvable::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface CfnFilterProps { * findings. */ override fun findingCriteria(findingCriteria: CfnFilter.FindingCriteriaProperty) { - cdkBuilder.findingCriteria(findingCriteria.let(CfnFilter.FindingCriteriaProperty::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(CfnFilter.FindingCriteriaProperty.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnFilterProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSet.kt index 76f47a639c..2ff46e288e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSet.kt @@ -54,8 +54,8 @@ public open class CfnIPSet( id: String, props: CfnIPSetProps, ) : - this(software.amazon.awscdk.services.guardduty.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPSetProps::unwrap)) + this(software.amazon.awscdk.services.guardduty.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPSetProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnIPSet( * Indicates whether or not GuardDuty uses the `IPSet` . */ public open fun activate(`value`: IResolvable) { - unwrap(this).setActivate(`value`.let(IResolvable::unwrap)) + unwrap(this).setActivate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnIPSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnIPSet( * The tags to be added to a new IP set resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnIPSet( * @param activate Indicates whether or not GuardDuty uses the `IPSet` . */ override fun activate(activate: IResolvable) { - cdkBuilder.activate(activate.let(IResolvable::unwrap)) + cdkBuilder.activate(activate.let(IResolvable.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnIPSet( * @param tags The tags to be added to a new IP set resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSetProps.kt index 1db7c0f094..acf9c2f5e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnIPSetProps.kt @@ -162,7 +162,7 @@ public interface CfnIPSetProps { * @param activate Indicates whether or not GuardDuty uses the `IPSet` . */ override fun activate(activate: IResolvable) { - cdkBuilder.activate(activate.let(IResolvable::unwrap)) + cdkBuilder.activate(activate.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface CfnIPSetProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMaster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMaster.kt index 4392d4f522..5addd7fd70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMaster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMaster.kt @@ -44,8 +44,8 @@ public open class CfnMaster( id: String, props: CfnMasterProps, ) : - this(software.amazon.awscdk.services.guardduty.CfnMaster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMasterProps::unwrap)) + this(software.amazon.awscdk.services.guardduty.CfnMaster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMasterProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnMaster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMember.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMember.kt index d504862815..b91c2a177a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMember.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMember.kt @@ -51,8 +51,8 @@ public open class CfnMember( id: String, props: CfnMemberProps, ) : - this(software.amazon.awscdk.services.guardduty.CfnMember(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMemberProps::unwrap)) + this(software.amazon.awscdk.services.guardduty.CfnMember(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMemberProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnMember( * Specifies whether or not to disable email notification for the member account that you invite. */ public open fun disableEmailNotification(`value`: IResolvable) { - unwrap(this).setDisableEmailNotification(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableEmailNotification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnMember( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnMember( * the member account that you invite. */ override fun disableEmailNotification(disableEmailNotification: IResolvable) { - cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable::unwrap)) + cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMemberProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMemberProps.kt index cfe8ed7aa0..8596528944 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMemberProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnMemberProps.kt @@ -158,7 +158,7 @@ public interface CfnMemberProps { * the member account that you invite. */ override fun disableEmailNotification(disableEmailNotification: IResolvable) { - cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable::unwrap)) + cdkBuilder.disableEmailNotification(disableEmailNotification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSet.kt index 87c9ef4140..000531f70c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSet.kt @@ -55,8 +55,8 @@ public open class CfnThreatIntelSet( id: String, props: CfnThreatIntelSetProps, ) : - this(software.amazon.awscdk.services.guardduty.CfnThreatIntelSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThreatIntelSetProps::unwrap)) + this(software.amazon.awscdk.services.guardduty.CfnThreatIntelSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThreatIntelSetProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnThreatIntelSet( * A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. */ public open fun activate(`value`: IResolvable) { - unwrap(this).setActivate(`value`.let(IResolvable::unwrap)) + unwrap(this).setActivate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnThreatIntelSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnThreatIntelSet( * The tags to be added to a new threat list resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnThreatIntelSet( * uploaded ThreatIntelSet. */ override fun activate(activate: IResolvable) { - cdkBuilder.activate(activate.let(IResolvable::unwrap)) + cdkBuilder.activate(activate.let(IResolvable.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnThreatIntelSet( * @param tags The tags to be added to a new threat list resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSetProps.kt index 3d856659b7..97fdaebe36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSetProps.kt @@ -166,7 +166,7 @@ public interface CfnThreatIntelSetProps { * uploaded ThreatIntelSet. */ override fun activate(activate: IResolvable) { - cdkBuilder.activate(activate.let(IResolvable::unwrap)) + cdkBuilder.activate(activate.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnThreatIntelSetProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthimaging/CfnDatastore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthimaging/CfnDatastore.kt index 9e68a2fd7a..b53751a0c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthimaging/CfnDatastore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthimaging/CfnDatastore.kt @@ -37,7 +37,7 @@ public open class CfnDatastore( cdkObject: software.amazon.awscdk.services.healthimaging.CfnDatastore, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.healthimaging.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.healthimaging.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class CfnDatastore( id: String, props: CfnDatastoreProps, ) : - this(software.amazon.awscdk.services.healthimaging.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatastoreProps::unwrap)) + this(software.amazon.awscdk.services.healthimaging.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatastoreProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnDatastore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastore.kt index d1b5173358..043c50b00d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastore.kt @@ -75,8 +75,8 @@ public open class CfnFHIRDatastore( id: String, props: CfnFHIRDatastoreProps, ) : - this(software.amazon.awscdk.services.healthlake.CfnFHIRDatastore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFHIRDatastoreProps::unwrap)) + this(software.amazon.awscdk.services.healthlake.CfnFHIRDatastore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFHIRDatastoreProps.Companion::unwrap)) ) public constructor( @@ -161,14 +161,14 @@ public open class CfnFHIRDatastore( * The identity provider configuration that you gave when the data store was created. */ public open fun identityProviderConfiguration(`value`: IResolvable) { - unwrap(this).setIdentityProviderConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setIdentityProviderConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The identity provider configuration that you gave when the data store was created. */ public open fun identityProviderConfiguration(`value`: IdentityProviderConfigurationProperty) { - unwrap(this).setIdentityProviderConfiguration(`value`.let(IdentityProviderConfigurationProperty::unwrap)) + unwrap(this).setIdentityProviderConfiguration(`value`.let(IdentityProviderConfigurationProperty.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnFHIRDatastore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -198,14 +198,14 @@ public open class CfnFHIRDatastore( * The preloaded data configuration for the data store. */ public open fun preloadDataConfig(`value`: IResolvable) { - unwrap(this).setPreloadDataConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setPreloadDataConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The preloaded data configuration for the data store. */ public open fun preloadDataConfig(`value`: PreloadDataConfigProperty) { - unwrap(this).setPreloadDataConfig(`value`.let(PreloadDataConfigProperty::unwrap)) + unwrap(this).setPreloadDataConfig(`value`.let(PreloadDataConfigProperty.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnFHIRDatastore( * for creating a data store. */ public open fun sseConfiguration(`value`: IResolvable) { - unwrap(this).setSseConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnFHIRDatastore( * for creating a data store. */ public open fun sseConfiguration(`value`: SseConfigurationProperty) { - unwrap(this).setSseConfiguration(`value`.let(SseConfigurationProperty::unwrap)) + unwrap(this).setSseConfiguration(`value`.let(SseConfigurationProperty.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnFHIRDatastore( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnFHIRDatastore( * the data store was created. */ override fun identityProviderConfiguration(identityProviderConfiguration: IResolvable) { - cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(IResolvable::unwrap)) + cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnFHIRDatastore( */ override fun identityProviderConfiguration(identityProviderConfiguration: IdentityProviderConfigurationProperty) { - cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(IdentityProviderConfigurationProperty::unwrap)) + cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(IdentityProviderConfigurationProperty.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnFHIRDatastore( * @param preloadDataConfig The preloaded data configuration for the data store. */ override fun preloadDataConfig(preloadDataConfig: IResolvable) { - cdkBuilder.preloadDataConfig(preloadDataConfig.let(IResolvable::unwrap)) + cdkBuilder.preloadDataConfig(preloadDataConfig.let(IResolvable.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnFHIRDatastore( * @param preloadDataConfig The preloaded data configuration for the data store. */ override fun preloadDataConfig(preloadDataConfig: PreloadDataConfigProperty) { - cdkBuilder.preloadDataConfig(preloadDataConfig.let(PreloadDataConfigProperty::unwrap)) + cdkBuilder.preloadDataConfig(preloadDataConfig.let(PreloadDataConfigProperty.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnFHIRDatastore( * encryption key specified for creating a data store. */ override fun sseConfiguration(sseConfiguration: IResolvable) { - cdkBuilder.sseConfiguration(sseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sseConfiguration(sseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnFHIRDatastore( * encryption key specified for creating a data store. */ override fun sseConfiguration(sseConfiguration: SseConfigurationProperty) { - cdkBuilder.sseConfiguration(sseConfiguration.let(SseConfigurationProperty::unwrap)) + cdkBuilder.sseConfiguration(sseConfiguration.let(SseConfigurationProperty.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class CfnFHIRDatastore( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public open class CfnFHIRDatastore( * created the data store. */ override fun fineGrainedAuthorizationEnabled(fineGrainedAuthorizationEnabled: IResolvable) { - cdkBuilder.fineGrainedAuthorizationEnabled(fineGrainedAuthorizationEnabled.let(IResolvable::unwrap)) + cdkBuilder.fineGrainedAuthorizationEnabled(fineGrainedAuthorizationEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1266,7 +1266,7 @@ public open class CfnFHIRDatastore( * provided encryption key (CMK). */ override fun kmsEncryptionConfig(kmsEncryptionConfig: IResolvable) { - cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(IResolvable::unwrap)) + cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1274,7 +1274,7 @@ public open class CfnFHIRDatastore( * provided encryption key (CMK). */ override fun kmsEncryptionConfig(kmsEncryptionConfig: KmsEncryptionConfigProperty) { - cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(KmsEncryptionConfigProperty::unwrap)) + cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(KmsEncryptionConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastoreProps.kt index 1669cdf71a..d153cb1bf5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/healthlake/CfnFHIRDatastoreProps.kt @@ -225,7 +225,7 @@ public interface CfnFHIRDatastoreProps { * the data store was created. */ override fun identityProviderConfiguration(identityProviderConfiguration: IResolvable) { - cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(IResolvable::unwrap)) + cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface CfnFHIRDatastoreProps { */ override fun identityProviderConfiguration(identityProviderConfiguration: CfnFHIRDatastore.IdentityProviderConfigurationProperty) { - cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(CfnFHIRDatastore.IdentityProviderConfigurationProperty::unwrap)) + cdkBuilder.identityProviderConfiguration(identityProviderConfiguration.let(CfnFHIRDatastore.IdentityProviderConfigurationProperty.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnFHIRDatastoreProps { * Only data preloaded from Synthea is supported. */ override fun preloadDataConfig(preloadDataConfig: IResolvable) { - cdkBuilder.preloadDataConfig(preloadDataConfig.let(IResolvable::unwrap)) + cdkBuilder.preloadDataConfig(preloadDataConfig.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface CfnFHIRDatastoreProps { * Only data preloaded from Synthea is supported. */ override fun preloadDataConfig(preloadDataConfig: CfnFHIRDatastore.PreloadDataConfigProperty) { - cdkBuilder.preloadDataConfig(preloadDataConfig.let(CfnFHIRDatastore.PreloadDataConfigProperty::unwrap)) + cdkBuilder.preloadDataConfig(preloadDataConfig.let(CfnFHIRDatastore.PreloadDataConfigProperty.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface CfnFHIRDatastoreProps { * encryption key specified for creating a data store. */ override fun sseConfiguration(sseConfiguration: IResolvable) { - cdkBuilder.sseConfiguration(sseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sseConfiguration(sseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface CfnFHIRDatastoreProps { * encryption key specified for creating a data store. */ override fun sseConfiguration(sseConfiguration: CfnFHIRDatastore.SseConfigurationProperty) { - cdkBuilder.sseConfiguration(sseConfiguration.let(CfnFHIRDatastore.SseConfigurationProperty::unwrap)) + cdkBuilder.sseConfiguration(sseConfiguration.let(CfnFHIRDatastore.SseConfigurationProperty.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface CfnFHIRDatastoreProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKey.kt index 319db654d9..5a6d57ae58 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKey.kt @@ -33,8 +33,8 @@ public open class AccessKey( id: String, props: AccessKeyProps, ) : - this(software.amazon.awscdk.services.iam.AccessKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AccessKeyProps::unwrap)) + this(software.amazon.awscdk.services.iam.AccessKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AccessKeyProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class AccessKey( * @param status The status of the access key. */ override fun status(status: AccessKeyStatus) { - cdkBuilder.status(status.let(AccessKeyStatus::unwrap)) + cdkBuilder.status(status.let(AccessKeyStatus.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class AccessKey( * @param user The IAM user this key will belong to. */ override fun user(user: IUser) { - cdkBuilder.user(user.let(IUser::unwrap)) + cdkBuilder.user(user.let(IUser.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.AccessKey = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKeyProps.kt index 1d7dae4b56..a7eadc5940 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AccessKeyProps.kt @@ -101,7 +101,7 @@ public interface AccessKeyProps { * to make API calls; An Inactive key cannot. */ override fun status(status: AccessKeyStatus) { - cdkBuilder.status(status.let(AccessKeyStatus::unwrap)) + cdkBuilder.status(status.let(AccessKeyStatus.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public interface AccessKeyProps { * user. */ override fun user(user: IUser) { - cdkBuilder.user(user.let(IUser::unwrap)) + cdkBuilder.user(user.let(IUser.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.AccessKeyProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToPrincipalPolicyResult.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToPrincipalPolicyResult.kt index 1bfd347654..7bccabbdea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToPrincipalPolicyResult.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToPrincipalPolicyResult.kt @@ -65,7 +65,7 @@ public interface AddToPrincipalPolicyResult { * @param policyDependable Dependable which allows depending on the policy change being applied. */ override fun policyDependable(policyDependable: IDependable) { - cdkBuilder.policyDependable(policyDependable.let(IDependable::unwrap)) + cdkBuilder.policyDependable(policyDependable.let(IDependable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToResourcePolicyResult.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToResourcePolicyResult.kt index c793a11c12..ca477c83a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToResourcePolicyResult.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/AddToResourcePolicyResult.kt @@ -64,7 +64,7 @@ public interface AddToResourcePolicyResult { * @param policyDependable Dependable which allows depending on the policy change being applied. */ override fun policyDependable(policyDependable: IDependable) { - cdkBuilder.policyDependable(policyDependable.let(IDependable::unwrap)) + cdkBuilder.policyDependable(policyDependable.let(IDependable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnAccessKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnAccessKey.kt index 48d81991e4..a44cdac99d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnAccessKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnAccessKey.kt @@ -52,8 +52,8 @@ public open class CfnAccessKey( id: String, props: CfnAccessKeyProps, ) : - this(software.amazon.awscdk.services.iam.CfnAccessKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessKeyProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnAccessKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessKeyProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnAccessKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroup.kt index caf56c2f8b..f696bf5573 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroup.kt @@ -47,7 +47,7 @@ public open class CfnGroup( cdkObject: software.amazon.awscdk.services.iam.CfnGroup, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +56,8 @@ public open class CfnGroup( id: String, props: CfnGroupProps, ) : - this(software.amazon.awscdk.services.iam.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnGroup( * Adds or updates an inline policy document that is embedded in the specified IAM group. */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CfnGroup( * IAM group. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupPolicy.kt index 2fbd865f5b..df16a7e64d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupPolicy.kt @@ -52,8 +52,8 @@ public open class CfnGroupPolicy( id: String, props: CfnGroupPolicyProps, ) : - this(software.amazon.awscdk.services.iam.CfnGroupPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnGroupPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupPolicyProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnGroupPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupProps.kt index 5243fc2a4f..5f0f09d78f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnGroupProps.kt @@ -321,7 +321,7 @@ public interface CfnGroupProps { * *IAM User Guide* . */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnInstanceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnInstanceProfile.kt index b728b6121f..bee1b5f63b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnInstanceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnInstanceProfile.kt @@ -46,8 +46,8 @@ public open class CfnInstanceProfile( id: String, props: CfnInstanceProfileProps, ) : - this(software.amazon.awscdk.services.iam.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProfileProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnInstanceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProfileProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnInstanceProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnManagedPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnManagedPolicy.kt index e3d1eb8809..ab6f46285e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnManagedPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnManagedPolicy.kt @@ -60,8 +60,8 @@ public open class CfnManagedPolicy( id: String, props: CfnManagedPolicyProps, ) : - this(software.amazon.awscdk.services.iam.CfnManagedPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnManagedPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnManagedPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnManagedPolicyProps.Companion::unwrap)) ) public constructor( @@ -168,7 +168,7 @@ public open class CfnManagedPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProvider.kt index 57cfcd17c7..edb36fd6ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProvider.kt @@ -77,8 +77,8 @@ public open class CfnOIDCProvider( id: String, props: CfnOIDCProviderProps, ) : - this(software.amazon.awscdk.services.iam.CfnOIDCProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOIDCProviderProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnOIDCProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOIDCProviderProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnOIDCProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnOIDCProvider( * A list of tags that are attached to the specified IAM OIDC provider. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnOIDCProvider( * @param tags A list of tags that are attached to the specified IAM OIDC provider. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProviderProps.kt index b4207ea42e..e352a9f027 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnOIDCProviderProps.kt @@ -178,7 +178,7 @@ public interface CfnOIDCProviderProps { * *IAM User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnPolicy.kt index 03803a9962..3a4946fc14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnPolicy.kt @@ -74,8 +74,8 @@ public open class CfnPolicy( id: String, props: CfnPolicyProps, ) : - this(software.amazon.awscdk.services.iam.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRole.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRole.kt index 9412603e80..c90adbf121 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRole.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRole.kt @@ -67,8 +67,8 @@ public open class CfnRole( id: String, props: CfnRoleProps, ) : - this(software.amazon.awscdk.services.iam.CfnRole(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRoleProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnRole(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRoleProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnRole( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnRole( * Adds or updates an inline policy document that is embedded in the specified IAM role. */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnRole( * A list of tags that are attached to the role. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnRole( * IAM role. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnRole( * @param tags A list of tags that are attached to the role. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRolePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRolePolicy.kt index b001e8a45e..53bd5ba0f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRolePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRolePolicy.kt @@ -61,8 +61,8 @@ public open class CfnRolePolicy( id: String, props: CfnRolePolicyProps, ) : - this(software.amazon.awscdk.services.iam.CfnRolePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRolePolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnRolePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRolePolicyProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnRolePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRoleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRoleProps.kt index 7f0b679726..f4c1c29f81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRoleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnRoleProps.kt @@ -552,7 +552,7 @@ public interface CfnRoleProps { * deleting its role's policy. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -656,7 +656,7 @@ public interface CfnRoleProps { * Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProvider.kt index df76a3d296..6dd5c71740 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProvider.kt @@ -67,8 +67,8 @@ public open class CfnSAMLProvider( id: String, props: CfnSAMLProviderProps, ) : - this(software.amazon.awscdk.services.iam.CfnSAMLProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSAMLProviderProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnSAMLProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSAMLProviderProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnSAMLProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnSAMLProvider( * A list of tags that you want to attach to the new IAM SAML provider. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnSAMLProvider( * @param tags A list of tags that you want to attach to the new IAM SAML provider. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProviderProps.kt index 453dd46850..62400a5900 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnSAMLProviderProps.kt @@ -166,7 +166,7 @@ public interface CfnSAMLProviderProps { * the entire request fails and the resource is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificate.kt index e737d14027..17cfed93bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificate.kt @@ -73,7 +73,7 @@ public open class CfnServerCertificate( cdkObject: software.amazon.awscdk.services.iam.CfnServerCertificate, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.CfnServerCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.CfnServerCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -82,8 +82,8 @@ public open class CfnServerCertificate( id: String, props: CfnServerCertificateProps, ) : - this(software.amazon.awscdk.services.iam.CfnServerCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServerCertificateProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnServerCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServerCertificateProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnServerCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnServerCertificate( * A list of tags that are attached to the server certificate. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CfnServerCertificate( * @param tags A list of tags that are attached to the server certificate. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificateProps.kt index 51e20ee1fe..e2129ee0cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServerCertificateProps.kt @@ -268,7 +268,7 @@ public interface CfnServerCertificateProps { * Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServiceLinkedRole.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServiceLinkedRole.kt index 73dde71b45..8b9b0b1067 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServiceLinkedRole.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnServiceLinkedRole.kt @@ -39,7 +39,7 @@ public open class CfnServiceLinkedRole( cdkObject: software.amazon.awscdk.services.iam.CfnServiceLinkedRole, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.CfnServiceLinkedRole(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.CfnServiceLinkedRole(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -48,8 +48,8 @@ public open class CfnServiceLinkedRole( id: String, props: CfnServiceLinkedRoleProps, ) : - this(software.amazon.awscdk.services.iam.CfnServiceLinkedRole(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceLinkedRoleProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnServiceLinkedRole(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceLinkedRoleProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnServiceLinkedRole( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUser.kt index bfc2dd44a9..2defd806ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUser.kt @@ -63,7 +63,7 @@ public open class CfnUser( cdkObject: software.amazon.awscdk.services.iam.CfnUser, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -72,8 +72,8 @@ public open class CfnUser( id: String, props: CfnUserProps, ) : - this(software.amazon.awscdk.services.iam.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,14 +125,14 @@ public open class CfnUser( * Creates a password for the specified IAM user. */ public open fun loginProfile(`value`: IResolvable) { - unwrap(this).setLoginProfile(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoginProfile(`value`.let(IResolvable.Companion::unwrap)) } /** * Creates a password for the specified IAM user. */ public open fun loginProfile(`value`: LoginProfileProperty) { - unwrap(this).setLoginProfile(`value`.let(LoginProfileProperty::unwrap)) + unwrap(this).setLoginProfile(`value`.let(LoginProfileProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnUser( * Adds or updates an inline policy document that is embedded in the specified IAM user. */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnUser( * A list of tags that you want to attach to the new user. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class CfnUser( * @param loginProfile Creates a password for the specified IAM user. */ override fun loginProfile(loginProfile: IResolvable) { - cdkBuilder.loginProfile(loginProfile.let(IResolvable::unwrap)) + cdkBuilder.loginProfile(loginProfile.let(IResolvable.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public open class CfnUser( * @param loginProfile Creates a password for the specified IAM user. */ override fun loginProfile(loginProfile: LoginProfileProperty) { - cdkBuilder.loginProfile(loginProfile.let(LoginProfileProperty::unwrap)) + cdkBuilder.loginProfile(loginProfile.let(LoginProfileProperty.Companion::unwrap)) } /** @@ -729,7 +729,7 @@ public open class CfnUser( * IAM user. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public open class CfnUser( * @param tags A list of tags that you want to attach to the new user. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -958,7 +958,7 @@ public open class CfnUser( * on next sign-in. */ override fun passwordResetRequired(passwordResetRequired: IResolvable) { - cdkBuilder.passwordResetRequired(passwordResetRequired.let(IResolvable::unwrap)) + cdkBuilder.passwordResetRequired(passwordResetRequired.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.CfnUser.LoginProfileProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserPolicy.kt index 494d1fff94..31ee703c9e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserPolicy.kt @@ -53,8 +53,8 @@ public open class CfnUserPolicy( id: String, props: CfnUserPolicyProps, ) : - this(software.amazon.awscdk.services.iam.CfnUserPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnUserPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserPolicyProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class CfnUserPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserProps.kt index 4a5ee8fa89..ba71523842 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserProps.kt @@ -446,7 +446,7 @@ public interface CfnUserProps { * *IAM User Guide* . */ override fun loginProfile(loginProfile: IResolvable) { - cdkBuilder.loginProfile(loginProfile.let(IResolvable::unwrap)) + cdkBuilder.loginProfile(loginProfile.let(IResolvable.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface CfnUserProps { * *IAM User Guide* . */ override fun loginProfile(loginProfile: CfnUser.LoginProfileProperty) { - cdkBuilder.loginProfile(loginProfile.let(CfnUser.LoginProfileProperty::unwrap)) + cdkBuilder.loginProfile(loginProfile.let(CfnUser.LoginProfileProperty.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public interface CfnUserProps { * *IAM User Guide* . */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public interface CfnUserProps { * the entire request fails and the resource is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserToGroupAddition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserToGroupAddition.kt index 0aae2c4725..7e5f4002f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserToGroupAddition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnUserToGroupAddition.kt @@ -38,8 +38,8 @@ public open class CfnUserToGroupAddition( id: String, props: CfnUserToGroupAdditionProps, ) : - this(software.amazon.awscdk.services.iam.CfnUserToGroupAddition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserToGroupAdditionProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnUserToGroupAddition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserToGroupAdditionProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnUserToGroupAddition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADevice.kt index ea35963c30..db9270fba3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADevice.kt @@ -65,8 +65,8 @@ public open class CfnVirtualMFADevice( id: String, props: CfnVirtualMFADeviceProps, ) : - this(software.amazon.awscdk.services.iam.CfnVirtualMFADevice(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVirtualMFADeviceProps::unwrap)) + this(software.amazon.awscdk.services.iam.CfnVirtualMFADevice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVirtualMFADeviceProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnVirtualMFADevice( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnVirtualMFADevice( * A list of tags that you want to attach to the new IAM virtual MFA device. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnVirtualMFADevice( * @param tags A list of tags that you want to attach to the new IAM virtual MFA device. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADeviceProps.kt index bcdb4a00dc..8188a7cbf9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CfnVirtualMFADeviceProps.kt @@ -193,7 +193,7 @@ public interface CfnVirtualMFADeviceProps { * the entire request fails and the resource is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CommonGrantOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CommonGrantOptions.kt index acbe1257d7..e1274dde16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CommonGrantOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CommonGrantOptions.kt @@ -122,7 +122,7 @@ public interface CommonGrantOptions { * @param grantee The principal to grant to. */ override fun grantee(grantee: IGrantable) { - cdkBuilder.grantee(grantee.let(IGrantable::unwrap)) + cdkBuilder.grantee(grantee.let(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ComparablePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ComparablePrincipal.kt index bebdd10493..2cfc840f20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ComparablePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ComparablePrincipal.kt @@ -26,10 +26,10 @@ public open class ComparablePrincipal( public companion object { public fun dedupeStringFor(x: IPrincipal): String? = - software.amazon.awscdk.services.iam.ComparablePrincipal.dedupeStringFor(x.let(IPrincipal::unwrap)) + software.amazon.awscdk.services.iam.ComparablePrincipal.dedupeStringFor(x.let(IPrincipal.Companion::unwrap)) public fun isComparablePrincipal(x: IPrincipal): Boolean = - software.amazon.awscdk.services.iam.ComparablePrincipal.isComparablePrincipal(x.let(IPrincipal::unwrap)) + software.amazon.awscdk.services.iam.ComparablePrincipal.isComparablePrincipal(x.let(IPrincipal.Companion::unwrap)) internal fun wrap(cdkObject: software.amazon.awscdk.services.iam.ComparablePrincipal): ComparablePrincipal = ComparablePrincipal(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositeDependable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositeDependable.kt index 985722457b..a1625f874e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositeDependable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositeDependable.kt @@ -27,7 +27,7 @@ public open class CompositeDependable( cdkObject: software.amazon.awscdk.services.iam.CompositeDependable, ) : CdkObject(cdkObject), IDependable { public constructor(dependables: IDependable) : - this(software.amazon.awscdk.services.iam.CompositeDependable(dependables.let(IDependable::unwrap)) + this(software.amazon.awscdk.services.iam.CompositeDependable(dependables.let(IDependable.Companion::unwrap)) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositePrincipal.kt index 23bffe031a..efb2d386ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/CompositePrincipal.kt @@ -36,7 +36,7 @@ public open class CompositePrincipal( cdkObject: software.amazon.awscdk.services.iam.CompositePrincipal, ) : PrincipalBase(cdkObject) { public constructor(principals: IPrincipal) : - this(software.amazon.awscdk.services.iam.CompositePrincipal(principals.let(IPrincipal::unwrap)) + this(software.amazon.awscdk.services.iam.CompositePrincipal(principals.let(IPrincipal.Companion::unwrap)) ) /** @@ -60,7 +60,7 @@ public open class CompositePrincipal( * @param doc */ public override fun addToAssumeRolePolicy(doc: PolicyDocument) { - unwrap(this).addToAssumeRolePolicy(doc.let(PolicyDocument::unwrap)) + unwrap(this).addToAssumeRolePolicy(doc.let(PolicyDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Grant.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Grant.kt index 9a03fd40da..c474966813 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Grant.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Grant.kt @@ -59,7 +59,7 @@ public open class Grant( * @param rhs */ public open fun combine(rhs: Grant): Grant = - unwrap(this).combine(rhs.let(Grant::unwrap)).let(Grant::wrap) + unwrap(this).combine(rhs.let(Grant.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) The statement that was added to the principal's policy. @@ -98,7 +98,7 @@ public open class Grant( public companion object { public fun addToPrincipal(options: GrantOnPrincipalOptions): Grant = - software.amazon.awscdk.services.iam.Grant.addToPrincipal(options.let(GrantOnPrincipalOptions::unwrap)).let(Grant::wrap) + software.amazon.awscdk.services.iam.Grant.addToPrincipal(options.let(GrantOnPrincipalOptions.Companion::unwrap)).let(Grant::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("262301c1f5f1f4891aa3e11b1e5bf888d6abb225c4d4d928a53142ee7c436374") @@ -106,7 +106,7 @@ public open class Grant( addToPrincipal(GrantOnPrincipalOptions(options)) public fun addToPrincipalAndResource(options: GrantOnPrincipalAndResourceOptions): Grant = - software.amazon.awscdk.services.iam.Grant.addToPrincipalAndResource(options.let(GrantOnPrincipalAndResourceOptions::unwrap)).let(Grant::wrap) + software.amazon.awscdk.services.iam.Grant.addToPrincipalAndResource(options.let(GrantOnPrincipalAndResourceOptions.Companion::unwrap)).let(Grant::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ebcdd9f0c9e9ff70d6e4e619f79e7f55ccb8089bca3d40830d66eeb4ac507a76") @@ -115,7 +115,7 @@ public open class Grant( Grant = addToPrincipalAndResource(GrantOnPrincipalAndResourceOptions(options)) public fun addToPrincipalOrResource(options: GrantWithResourceOptions): Grant = - software.amazon.awscdk.services.iam.Grant.addToPrincipalOrResource(options.let(GrantWithResourceOptions::unwrap)).let(Grant::wrap) + software.amazon.awscdk.services.iam.Grant.addToPrincipalOrResource(options.let(GrantWithResourceOptions.Companion::unwrap)).let(Grant::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("13c508b7e078720e89980b7918f884c74f03eef6e6b2164e4eb9df04ee787328") @@ -123,7 +123,7 @@ public open class Grant( = addToPrincipalOrResource(GrantWithResourceOptions(options)) public fun drop(grantee: IGrantable, intent: String): Grant = - software.amazon.awscdk.services.iam.Grant.drop(grantee.let(IGrantable::unwrap), + software.amazon.awscdk.services.iam.Grant.drop(grantee.let(IGrantable.Companion::unwrap), intent).let(Grant::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.iam.Grant): Grant = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalAndResourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalAndResourceOptions.kt index b1d10b3143..fb0faebdec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalAndResourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalAndResourceOptions.kt @@ -151,7 +151,7 @@ public interface GrantOnPrincipalAndResourceOptions : CommonGrantOptions { * @param grantee The principal to grant to. */ override fun grantee(grantee: IGrantable) { - cdkBuilder.grantee(grantee.let(IGrantable::unwrap)) + cdkBuilder.grantee(grantee.let(IGrantable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface GrantOnPrincipalAndResourceOptions : CommonGrantOptions { * The statement will always be added to the resource policy. */ override fun resource(resource: IResourceWithPolicy) { - cdkBuilder.resource(resource.let(IResourceWithPolicy::unwrap)) + cdkBuilder.resource(resource.let(IResourceWithPolicy.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface GrantOnPrincipalAndResourceOptions : CommonGrantOptions { * @param resourcePolicyPrincipal The principal to use in the statement for the resource policy. */ override fun resourcePolicyPrincipal(resourcePolicyPrincipal: IPrincipal) { - cdkBuilder.resourcePolicyPrincipal(resourcePolicyPrincipal.let(IPrincipal::unwrap)) + cdkBuilder.resourcePolicyPrincipal(resourcePolicyPrincipal.let(IPrincipal.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalOptions.kt index 4f9d563960..7a8be09df5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantOnPrincipalOptions.kt @@ -113,7 +113,7 @@ public interface GrantOnPrincipalOptions : CommonGrantOptions { * @param grantee The principal to grant to. */ override fun grantee(grantee: IGrantable) { - cdkBuilder.grantee(grantee.let(IGrantable::unwrap)) + cdkBuilder.grantee(grantee.let(IGrantable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface GrantOnPrincipalOptions : CommonGrantOptions { * @param scope Construct to report warnings on in case grant could not be registered. */ override fun scope(scope: IConstruct) { - cdkBuilder.scope(scope.let(IConstruct::unwrap)) + cdkBuilder.scope(scope.let(IConstruct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.GrantOnPrincipalOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantWithResourceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantWithResourceOptions.kt index c27d23ce2b..a0dcffff41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantWithResourceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GrantWithResourceOptions.kt @@ -136,7 +136,7 @@ public interface GrantWithResourceOptions : CommonGrantOptions { * @param grantee The principal to grant to. */ override fun grantee(grantee: IGrantable) { - cdkBuilder.grantee(grantee.let(IGrantable::unwrap)) + cdkBuilder.grantee(grantee.let(IGrantable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public interface GrantWithResourceOptions : CommonGrantOptions { * added to the principal policy. */ override fun resource(resource: IResourceWithPolicy) { - cdkBuilder.resource(resource.let(IResourceWithPolicy::unwrap)) + cdkBuilder.resource(resource.let(IResourceWithPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Group.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Group.kt index 9b5cc6407f..59a61af469 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Group.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Group.kt @@ -33,7 +33,7 @@ public open class Group( cdkObject: software.amazon.awscdk.services.iam.Group, ) : Resource(cdkObject), IGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.Group(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.Group(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -42,8 +42,8 @@ public open class Group( id: String, props: GroupProps, ) : - this(software.amazon.awscdk.services.iam.Group(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GroupProps::unwrap)) + this(software.amazon.awscdk.services.iam.Group(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GroupProps.Companion::unwrap)) ) public constructor( @@ -63,7 +63,7 @@ public open class Group( * @param policy The managed policy to attach. */ public override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public open class Group( * @param statement */ public open fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -90,7 +90,7 @@ public open class Group( * @param statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Adds an IAM statement to the default policy. @@ -108,7 +108,7 @@ public open class Group( * @param user */ public open fun addUser(user: IUser) { - unwrap(this).addUser(user.let(IUser::unwrap)) + unwrap(this).addUser(user.let(IUser.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class Group( * @param policy The policy to attach. */ public override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class Group( * @param managedPolicies A list of managed policies associated with this role. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class Group( id: String, groupArn: String, ): IGroup = - software.amazon.awscdk.services.iam.Group.fromGroupArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.Group.fromGroupArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, groupArn).let(IGroup::wrap) public fun fromGroupName( @@ -306,7 +306,7 @@ public open class Group( id: String, groupName: String, ): IGroup = - software.amazon.awscdk.services.iam.Group.fromGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.Group.fromGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, groupName).let(IGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GroupProps.kt index 9e102e8c59..7a51da951c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/GroupProps.kt @@ -133,7 +133,7 @@ public interface GroupProps { * `addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName))`. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAccessKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAccessKey.kt index 3940e303d1..211a4e4748 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAccessKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAccessKey.kt @@ -50,7 +50,7 @@ public interface IAccessKey : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAssumeRolePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAssumeRolePrincipal.kt index fc0873460e..0bd7dee481 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAssumeRolePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IAssumeRolePrincipal.kt @@ -53,7 +53,7 @@ public interface IAssumeRolePrincipal : IPrincipal { * @param document */ override fun addToAssumeRolePolicy(document: PolicyDocument) { - unwrap(this).addToAssumeRolePolicy(document.let(PolicyDocument::unwrap)) + unwrap(this).addToAssumeRolePolicy(document.let(PolicyDocument.Companion::unwrap)) } /** @@ -75,7 +75,7 @@ public interface IAssumeRolePrincipal : IPrincipal { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IComparablePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IComparablePrincipal.kt index 50de14742c..329f1636ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IComparablePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IComparablePrincipal.kt @@ -30,7 +30,7 @@ public interface IComparablePrincipal : IPrincipal { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IGroup.kt index daff1caebe..34e878e6df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IGroup.kt @@ -37,7 +37,7 @@ public interface IGroup : IIdentity { * @param policy The managed policy. */ override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -46,7 +46,7 @@ public interface IGroup : IIdentity { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. @@ -72,7 +72,7 @@ public interface IGroup : IIdentity { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -89,7 +89,7 @@ public interface IGroup : IIdentity { * [disable-awslint:ref-via-interface]. */ override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IIdentity.kt index 03a6d65c7c..ddee4cfdc6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IIdentity.kt @@ -43,7 +43,7 @@ public interface IIdentity : IPrincipal, IResource { * @param policy The managed policy. */ override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -52,7 +52,7 @@ public interface IIdentity : IPrincipal, IResource { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. @@ -78,7 +78,7 @@ public interface IIdentity : IPrincipal, IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -95,7 +95,7 @@ public interface IIdentity : IPrincipal, IResource { * [disable-awslint:ref-via-interface]. */ override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IInstanceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IInstanceProfile.kt index ab5ccac9a7..64c7705ece 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IInstanceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IInstanceProfile.kt @@ -47,7 +47,7 @@ public interface IInstanceProfile : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IOpenIdConnectProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IOpenIdConnectProvider.kt index dcd6ee532a..0e26a985bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IOpenIdConnectProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IOpenIdConnectProvider.kt @@ -42,7 +42,7 @@ public interface IOpenIdConnectProvider : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPolicy.kt index 6eb439809e..2ed2f7b457 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPolicy.kt @@ -39,7 +39,7 @@ public interface IPolicy : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPrincipal.kt index 0bd19a5c92..4e90bb9fdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IPrincipal.kt @@ -72,7 +72,7 @@ public interface IPrincipal : IGrantable { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IResourceWithPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IResourceWithPolicy.kt index 9fd303351f..0aa94ef26e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IResourceWithPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IResourceWithPolicy.kt @@ -42,7 +42,7 @@ public interface IResourceWithPolicy : IResource { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Add a statement to the resource's resource policy. @@ -68,7 +68,7 @@ public interface IResourceWithPolicy : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IRole.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IRole.kt index 4334caf663..182bb76160 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IRole.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IRole.kt @@ -57,7 +57,7 @@ public interface IRole : IIdentity { * @param policy The managed policy. */ override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -66,7 +66,7 @@ public interface IRole : IIdentity { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. @@ -92,7 +92,7 @@ public interface IRole : IIdentity { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface IRole : IIdentity { * [disable-awslint:ref-via-interface]. */ override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface IRole : IIdentity { * @param actions */ override fun grant(grantee: IPrincipal, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IPrincipal::unwrap), + unwrap(this).grant(grantee.let(IPrincipal.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -140,7 +140,7 @@ public interface IRole : IIdentity { * @param grantee */ override fun grantAssumeRole(grantee: IPrincipal): Grant = - unwrap(this).grantAssumeRole(grantee.let(IPrincipal::unwrap)).let(Grant::wrap) + unwrap(this).grantAssumeRole(grantee.let(IPrincipal.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to the given principal to pass this role. @@ -148,7 +148,7 @@ public interface IRole : IIdentity { * @param grantee */ override fun grantPassRole(grantee: IPrincipal): Grant = - unwrap(this).grantPassRole(grantee.let(IPrincipal::unwrap)).let(Grant::wrap) + unwrap(this).grantPassRole(grantee.let(IPrincipal.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ISamlProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ISamlProvider.kt index 149d2f0687..f4260d4710 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ISamlProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ISamlProvider.kt @@ -37,7 +37,7 @@ public interface ISamlProvider : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IUser.kt index f6c8f68f48..b351a18760 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/IUser.kt @@ -44,7 +44,7 @@ public interface IUser : IIdentity { * @param policy The managed policy. */ override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -53,7 +53,7 @@ public interface IUser : IIdentity { * @param group */ override fun addToGroup(group: IGroup) { - unwrap(this).addToGroup(group.let(IGroup::unwrap)) + unwrap(this).addToGroup(group.let(IGroup.Companion::unwrap)) } /** @@ -62,7 +62,7 @@ public interface IUser : IIdentity { * @param statement */ override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. @@ -88,7 +88,7 @@ public interface IUser : IIdentity { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public interface IUser : IIdentity { * [disable-awslint:ref-via-interface]. */ override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfile.kt index 4578e25f96..9b888f271a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfile.kt @@ -30,7 +30,7 @@ public open class InstanceProfile( cdkObject: software.amazon.awscdk.services.iam.InstanceProfile, ) : Resource(cdkObject), IInstanceProfile { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.InstanceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.InstanceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,8 @@ public open class InstanceProfile( id: String, props: InstanceProfileProps, ) : - this(software.amazon.awscdk.services.iam.InstanceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(InstanceProfileProps::unwrap)) + this(software.amazon.awscdk.services.iam.InstanceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(InstanceProfileProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class InstanceProfile( * */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.InstanceProfile = cdkBuilder.build() @@ -169,7 +169,7 @@ public open class InstanceProfile( id: String, instanceProfileArn: String, ): IInstanceProfile = - software.amazon.awscdk.services.iam.InstanceProfile.fromInstanceProfileArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.InstanceProfile.fromInstanceProfileArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, instanceProfileArn).let(IInstanceProfile::wrap) public fun fromInstanceProfileAttributes( @@ -177,8 +177,8 @@ public open class InstanceProfile( id: String, attrs: InstanceProfileAttributes, ): IInstanceProfile = - software.amazon.awscdk.services.iam.InstanceProfile.fromInstanceProfileAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(InstanceProfileAttributes::unwrap)).let(IInstanceProfile::wrap) + software.amazon.awscdk.services.iam.InstanceProfile.fromInstanceProfileAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(InstanceProfileAttributes.Companion::unwrap)).let(IInstanceProfile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("461d32d27355084613f43815133d12090dc7e621f74293219d07f03997428f89") @@ -193,7 +193,7 @@ public open class InstanceProfile( id: String, instanceProfileName: String, ): IInstanceProfile = - software.amazon.awscdk.services.iam.InstanceProfile.fromInstanceProfileName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.InstanceProfile.fromInstanceProfileName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, instanceProfileName).let(IInstanceProfile::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileAttributes.kt index 2d51ec21a2..2a1cb93d66 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileAttributes.kt @@ -72,7 +72,7 @@ public interface InstanceProfileAttributes { * @param role The role associated with the InstanceProfile. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.InstanceProfileAttributes = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileProps.kt index 282a05ff29..9d34db6180 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/InstanceProfileProps.kt @@ -101,7 +101,7 @@ public interface InstanceProfileProps { * The role must be assumable by the service principal `ec2.amazonaws.com`: */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.InstanceProfileProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRole.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRole.kt index 546fc9e606..a42f26bb14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRole.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRole.kt @@ -57,8 +57,8 @@ public open class LazyRole( id: String, props: LazyRoleProps, ) : - this(software.amazon.awscdk.services.iam.LazyRole(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LazyRoleProps::unwrap)) + this(software.amazon.awscdk.services.iam.LazyRole(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LazyRoleProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class LazyRole( * @param policy The managed policy to attach. */ public override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -83,7 +83,7 @@ public open class LazyRole( * @param statement */ public open fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -103,7 +103,7 @@ public open class LazyRole( * @param statement The permission statement to add to the policy document. */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Adds a permission to the role's default policy document. @@ -128,7 +128,7 @@ public open class LazyRole( * @param policy The policy to attach. */ public override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** @@ -138,8 +138,8 @@ public open class LazyRole( * @param actions */ public override fun grant(identity: IPrincipal, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IPrincipal::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(identity.let(IPrincipal.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant permissions to the given principal to assume this role. @@ -147,7 +147,7 @@ public open class LazyRole( * @param identity */ public override fun grantAssumeRole(identity: IPrincipal): Grant = - unwrap(this).grantAssumeRole(identity.let(IPrincipal::unwrap)).let(Grant::wrap) + unwrap(this).grantAssumeRole(identity.let(IPrincipal.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to the given principal to pass this role. @@ -155,7 +155,7 @@ public open class LazyRole( * @param identity */ public override fun grantPassRole(identity: IPrincipal): Grant = - unwrap(this).grantPassRole(identity.let(IPrincipal::unwrap)).let(Grant::wrap) + unwrap(this).grantPassRole(identity.let(IPrincipal.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. @@ -377,7 +377,7 @@ public open class LazyRole( * can assume this role. */ override fun assumedBy(assumedBy: IPrincipal) { - cdkBuilder.assumedBy(assumedBy.let(IPrincipal::unwrap)) + cdkBuilder.assumedBy(assumedBy.let(IPrincipal.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public open class LazyRole( * @param managedPolicies A list of managed policies associated with this role. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class LazyRole( * role. */ override fun maxSessionDuration(maxSessionDuration: Duration) { - cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration::unwrap)) + cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class LazyRole( * roles). */ override fun permissionsBoundary(permissionsBoundary: IManagedPolicy) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRoleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRoleProps.kt index f6b1d9db9b..5e7e571139 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRoleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/LazyRoleProps.kt @@ -161,7 +161,7 @@ public interface LazyRoleProps : RoleProps { * the `assumeRolePolicy` property. */ override fun assumedBy(assumedBy: IPrincipal) { - cdkBuilder.assumedBy(assumedBy.let(IPrincipal::unwrap)) + cdkBuilder.assumedBy(assumedBy.let(IPrincipal.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface LazyRoleProps : RoleProps { * `addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName))`. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface LazyRoleProps : RoleProps { * but does not apply when you use those operations to create a console URL. */ override fun maxSessionDuration(maxSessionDuration: Duration) { - cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration::unwrap)) + cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface LazyRoleProps : RoleProps { * permissions boundaries. */ override fun permissionsBoundary(permissionsBoundary: IManagedPolicy) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicy.kt index da93eb0203..5fd0d457e1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicy.kt @@ -42,7 +42,7 @@ public open class ManagedPolicy( cdkObject: software.amazon.awscdk.services.iam.ManagedPolicy, ) : Resource(cdkObject), IManagedPolicy, IGrantable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.ManagedPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.ManagedPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class ManagedPolicy( id: String, props: ManagedPolicyProps, ) : - this(software.amazon.awscdk.services.iam.ManagedPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ManagedPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.ManagedPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ManagedPolicyProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class ManagedPolicy( * @param group */ public open fun attachToGroup(group: IGroup) { - unwrap(this).attachToGroup(group.let(IGroup::unwrap)) + unwrap(this).attachToGroup(group.let(IGroup.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public open class ManagedPolicy( * @param role */ public open fun attachToRole(role: IRole) { - unwrap(this).attachToRole(role.let(IRole::unwrap)) + unwrap(this).attachToRole(role.let(IRole.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class ManagedPolicy( * @param user */ public open fun attachToUser(user: IUser) { - unwrap(this).attachToUser(user.let(IUser::unwrap)) + unwrap(this).attachToUser(user.let(IUser.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class ManagedPolicy( * @param document Initial PolicyDocument to use for this ManagedPolicy. */ override fun document(document: PolicyDocument) { - cdkBuilder.document(document.let(PolicyDocument::unwrap)) + cdkBuilder.document(document.let(PolicyDocument.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public open class ManagedPolicy( * @param groups Groups to attach this policy to. */ override fun groups(groups: List) { - cdkBuilder.groups(groups.map(IGroup::unwrap)) + cdkBuilder.groups(groups.map(IGroup.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class ManagedPolicy( * @param roles Roles to attach this policy to. */ override fun roles(roles: List) { - cdkBuilder.roles(roles.map(IRole::unwrap)) + cdkBuilder.roles(roles.map(IRole.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class ManagedPolicy( * @param statements Initial set of permissions to add to this policy document. */ override fun statements(statements: List) { - cdkBuilder.statements(statements.map(PolicyStatement::unwrap)) + cdkBuilder.statements(statements.map(PolicyStatement.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public open class ManagedPolicy( * @param users Users to attach this policy to. */ override fun users(users: List) { - cdkBuilder.users(users.map(IUser::unwrap)) + cdkBuilder.users(users.map(IUser.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class ManagedPolicy( id: String, managedPolicyArn: String, ): IManagedPolicy = - software.amazon.awscdk.services.iam.ManagedPolicy.fromManagedPolicyArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.ManagedPolicy.fromManagedPolicyArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, managedPolicyArn).let(IManagedPolicy::wrap) public fun fromManagedPolicyName( @@ -513,7 +513,7 @@ public open class ManagedPolicy( id: String, managedPolicyName: String, ): IManagedPolicy = - software.amazon.awscdk.services.iam.ManagedPolicy.fromManagedPolicyName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.ManagedPolicy.fromManagedPolicyName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, managedPolicyName).let(IManagedPolicy::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicyProps.kt index 091913bd03..d4e1cc7a37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ManagedPolicyProps.kt @@ -254,7 +254,7 @@ public interface ManagedPolicyProps { * against the empty default `PolicyDocument`. */ override fun document(document: PolicyDocument) { - cdkBuilder.document(document.let(PolicyDocument::unwrap)) + cdkBuilder.document(document.let(PolicyDocument.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface ManagedPolicyProps { * You can also use `attachToGroup(group)` to attach this policy to a group. */ override fun groups(groups: List) { - cdkBuilder.groups(groups.map(IGroup::unwrap)) + cdkBuilder.groups(groups.map(IGroup.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface ManagedPolicyProps { * You can also use `attachToRole(role)` to attach this policy to a role. */ override fun roles(roles: List) { - cdkBuilder.roles(roles.map(IRole::unwrap)) + cdkBuilder.roles(roles.map(IRole.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface ManagedPolicyProps { * You can also use `addPermission(statement)` to add permissions later. */ override fun statements(statements: List) { - cdkBuilder.statements(statements.map(PolicyStatement::unwrap)) + cdkBuilder.statements(statements.map(PolicyStatement.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface ManagedPolicyProps { * You can also use `attachToUser(user)` to attach this policy to a user. */ override fun users(users: List) { - cdkBuilder.users(users.map(IUser::unwrap)) + cdkBuilder.users(users.map(IUser.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectPrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectPrincipal.kt index 9cf11c9042..64341228a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectPrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectPrincipal.kt @@ -24,11 +24,11 @@ public open class OpenIdConnectPrincipal( cdkObject: software.amazon.awscdk.services.iam.OpenIdConnectPrincipal, ) : WebIdentityPrincipal(cdkObject) { public constructor(openIdConnectProvider: IOpenIdConnectProvider) : - this(software.amazon.awscdk.services.iam.OpenIdConnectPrincipal(openIdConnectProvider.let(IOpenIdConnectProvider::unwrap)) + this(software.amazon.awscdk.services.iam.OpenIdConnectPrincipal(openIdConnectProvider.let(IOpenIdConnectProvider.Companion::unwrap)) ) public constructor(openIdConnectProvider: IOpenIdConnectProvider, conditions: Map) : - this(software.amazon.awscdk.services.iam.OpenIdConnectPrincipal(openIdConnectProvider.let(IOpenIdConnectProvider::unwrap), + this(software.amazon.awscdk.services.iam.OpenIdConnectPrincipal(openIdConnectProvider.let(IOpenIdConnectProvider.Companion::unwrap), conditions.mapValues{CdkObjectWrappers.unwrap(it.value)}) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectProvider.kt index 232a0f584c..0f359d1ab7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/OpenIdConnectProvider.kt @@ -39,8 +39,8 @@ public open class OpenIdConnectProvider( id: String, props: OpenIdConnectProviderProps, ) : - this(software.amazon.awscdk.services.iam.OpenIdConnectProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(OpenIdConnectProviderProps::unwrap)) + this(software.amazon.awscdk.services.iam.OpenIdConnectProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(OpenIdConnectProviderProps.Companion::unwrap)) ) public constructor( @@ -327,7 +327,7 @@ public open class OpenIdConnectProvider( id: String, openIdConnectProviderArn: String, ): IOpenIdConnectProvider = - software.amazon.awscdk.services.iam.OpenIdConnectProvider.fromOpenIdConnectProviderArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.OpenIdConnectProvider.fromOpenIdConnectProviderArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, openIdConnectProviderArn).let(IOpenIdConnectProvider::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PermissionsBoundary.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PermissionsBoundary.kt index c1375d0497..8dcdceda97 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PermissionsBoundary.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PermissionsBoundary.kt @@ -33,7 +33,7 @@ public open class PermissionsBoundary( * @param boundaryPolicy */ public open fun apply(boundaryPolicy: IManagedPolicy) { - unwrap(this).apply(boundaryPolicy.let(IManagedPolicy::unwrap)) + unwrap(this).apply(boundaryPolicy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -45,7 +45,7 @@ public open class PermissionsBoundary( public companion object { public fun of(scope: IConstruct): PermissionsBoundary = - software.amazon.awscdk.services.iam.PermissionsBoundary.of(scope.let(IConstruct::unwrap)).let(PermissionsBoundary::wrap) + software.amazon.awscdk.services.iam.PermissionsBoundary.of(scope.let(IConstruct.Companion::unwrap)).let(PermissionsBoundary::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.iam.PermissionsBoundary): PermissionsBoundary = PermissionsBoundary(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Policy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Policy.kt index efca2b2392..4e6e5e0269 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Policy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Policy.kt @@ -42,7 +42,7 @@ public open class Policy( cdkObject: software.amazon.awscdk.services.iam.Policy, ) : Resource(cdkObject), IPolicy, IGrantable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.Policy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.Policy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class Policy( id: String, props: PolicyProps, ) : - this(software.amazon.awscdk.services.iam.Policy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PolicyProps::unwrap)) + this(software.amazon.awscdk.services.iam.Policy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PolicyProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class Policy( * @param group */ public open fun attachToGroup(group: IGroup) { - unwrap(this).attachToGroup(group.let(IGroup::unwrap)) + unwrap(this).attachToGroup(group.let(IGroup.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public open class Policy( * @param role */ public open fun attachToRole(role: IRole) { - unwrap(this).attachToRole(role.let(IRole::unwrap)) + unwrap(this).attachToRole(role.let(IRole.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class Policy( * @param user */ public open fun attachToUser(user: IUser) { - unwrap(this).attachToUser(user.let(IUser::unwrap)) + unwrap(this).attachToUser(user.let(IUser.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class Policy( * @param document Initial PolicyDocument to use for this Policy. */ override fun document(document: PolicyDocument) { - cdkBuilder.document(document.let(PolicyDocument::unwrap)) + cdkBuilder.document(document.let(PolicyDocument.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class Policy( * @param groups Groups to attach this policy to. */ override fun groups(groups: List) { - cdkBuilder.groups(groups.map(IGroup::unwrap)) + cdkBuilder.groups(groups.map(IGroup.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class Policy( * @param roles Roles to attach this policy to. */ override fun roles(roles: List) { - cdkBuilder.roles(roles.map(IRole::unwrap)) + cdkBuilder.roles(roles.map(IRole.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class Policy( * @param statements Initial set of permissions to add to this policy document. */ override fun statements(statements: List) { - cdkBuilder.statements(statements.map(PolicyStatement::unwrap)) + cdkBuilder.statements(statements.map(PolicyStatement.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class Policy( * @param users Users to attach this policy to. */ override fun users(users: List) { - cdkBuilder.users(users.map(IUser::unwrap)) + cdkBuilder.users(users.map(IUser.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public open class Policy( id: String, policyName: String, ): IPolicy = - software.amazon.awscdk.services.iam.Policy.fromPolicyName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.Policy.fromPolicyName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, policyName).let(IPolicy::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocument.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocument.kt index 4854aff134..09f1d636da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocument.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocument.kt @@ -45,7 +45,7 @@ public open class PolicyDocument( ) public constructor(props: PolicyDocumentProps) : - this(software.amazon.awscdk.services.iam.PolicyDocument(props.let(PolicyDocumentProps::unwrap)) + this(software.amazon.awscdk.services.iam.PolicyDocument(props.let(PolicyDocumentProps.Companion::unwrap)) ) public constructor(props: PolicyDocumentProps.Builder.() -> Unit) : @@ -92,7 +92,7 @@ public open class PolicyDocument( * @param context */ public override fun resolve(context: IResolveContext): Any = - unwrap(this).resolve(context.let(IResolveContext::unwrap)) + unwrap(this).resolve(context.let(IResolveContext.Companion::unwrap)) /** * The number of statements already added to this policy. @@ -235,7 +235,7 @@ public open class PolicyDocument( * @param statements Initial statements to add to the policy document. */ override fun statements(statements: List) { - cdkBuilder.statements(statements.map(PolicyStatement::unwrap)) + cdkBuilder.statements(statements.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocumentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocumentProps.kt index d1c58bbda8..a17da619ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocumentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyDocumentProps.kt @@ -134,7 +134,7 @@ public interface PolicyDocumentProps { * @param statements Initial statements to add to the policy document. */ override fun statements(statements: List) { - cdkBuilder.statements(statements.map(PolicyStatement::unwrap)) + cdkBuilder.statements(statements.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyProps.kt index 74af1d5173..6820e5451a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyProps.kt @@ -216,7 +216,7 @@ public interface PolicyProps { * against the empty default `PolicyDocument`. */ override fun document(document: PolicyDocument) { - cdkBuilder.document(document.let(PolicyDocument::unwrap)) + cdkBuilder.document(document.let(PolicyDocument.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface PolicyProps { * You can also use `attachToGroup(group)` to attach this policy to a group. */ override fun groups(groups: List) { - cdkBuilder.groups(groups.map(IGroup::unwrap)) + cdkBuilder.groups(groups.map(IGroup.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface PolicyProps { * You can also use `attachToRole(role)` to attach this policy to a role. */ override fun roles(roles: List) { - cdkBuilder.roles(roles.map(IRole::unwrap)) + cdkBuilder.roles(roles.map(IRole.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface PolicyProps { * You can also use `addStatements(...statement)` to add permissions later. */ override fun statements(statements: List) { - cdkBuilder.statements(statements.map(PolicyStatement::unwrap)) + cdkBuilder.statements(statements.map(PolicyStatement.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public interface PolicyProps { * You can also use `attachToUser(user)` to attach this policy to a user. */ override fun users(users: List) { - cdkBuilder.users(users.map(IUser::unwrap)) + cdkBuilder.users(users.map(IUser.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatement.kt index 70c2411e0c..9ac0614e93 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatement.kt @@ -39,7 +39,7 @@ public open class PolicyStatement( ) public constructor(props: PolicyStatementProps) : - this(software.amazon.awscdk.services.iam.PolicyStatement(props.let(PolicyStatementProps::unwrap)) + this(software.amazon.awscdk.services.iam.PolicyStatement(props.let(PolicyStatementProps.Companion::unwrap)) ) public constructor(props: PolicyStatementProps.Builder.() -> Unit) : @@ -258,7 +258,7 @@ public open class PolicyStatement( * different region). */ public open fun addServicePrincipal(service: String, opts: ServicePrincipalOpts) { - unwrap(this).addServicePrincipal(service, opts.let(ServicePrincipalOpts::unwrap)) + unwrap(this).addServicePrincipal(service, opts.let(ServicePrincipalOpts.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class PolicyStatement( * @param overrides */ public open fun copy(overrides: PolicyStatementProps): PolicyStatement = - unwrap(this).copy(overrides.let(PolicyStatementProps::unwrap)).let(PolicyStatement::wrap) + unwrap(this).copy(overrides.let(PolicyStatementProps.Companion::unwrap)).let(PolicyStatement::wrap) /** * Create a new `PolicyStatement` with the same exact properties as this one, except for the @@ -341,7 +341,7 @@ public open class PolicyStatement( * Whether to allow or deny the actions in this statement Set effect for this statement. */ public open fun effect(`value`: Effect) { - unwrap(this).setEffect(`value`.let(Effect::unwrap)) + unwrap(this).setEffect(`value`.let(Effect.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public open class PolicyStatement( * @param effect Whether to allow or deny the actions in this statement. */ override fun effect(effect: Effect) { - cdkBuilder.effect(effect.let(Effect::unwrap)) + cdkBuilder.effect(effect.let(Effect.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public open class PolicyStatement( * @param notPrincipals List of not principals to add to the statement. */ override fun notPrincipals(notPrincipals: List) { - cdkBuilder.notPrincipals(notPrincipals.map(IPrincipal::unwrap)) + cdkBuilder.notPrincipals(notPrincipals.map(IPrincipal.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public open class PolicyStatement( * @param principals List of principals to add to the statement. */ override fun principals(principals: List) { - cdkBuilder.principals(principals.map(IPrincipal::unwrap)) + cdkBuilder.principals(principals.map(IPrincipal.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatementProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatementProps.kt index e13d9c1f89..409ab98e52 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatementProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PolicyStatementProps.kt @@ -214,7 +214,7 @@ public interface PolicyStatementProps { * @param effect Whether to allow or deny the actions in this statement. */ override fun effect(effect: Effect) { - cdkBuilder.effect(effect.let(Effect::unwrap)) + cdkBuilder.effect(effect.let(Effect.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public interface PolicyStatementProps { * @param notPrincipals List of not principals to add to the statement. */ override fun notPrincipals(notPrincipals: List) { - cdkBuilder.notPrincipals(notPrincipals.map(IPrincipal::unwrap)) + cdkBuilder.notPrincipals(notPrincipals.map(IPrincipal.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface PolicyStatementProps { * @param principals List of principals to add to the statement. */ override fun principals(principals: List) { - cdkBuilder.principals(principals.map(IPrincipal::unwrap)) + cdkBuilder.principals(principals.map(IPrincipal.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalBase.kt index 69a827a6f9..fddddca6ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalBase.kt @@ -40,7 +40,7 @@ public abstract class PrincipalBase( * @param document */ public override fun addToAssumeRolePolicy(document: PolicyDocument) { - unwrap(this).addToAssumeRolePolicy(document.let(PolicyDocument::unwrap)) + unwrap(this).addToAssumeRolePolicy(document.let(PolicyDocument.Companion::unwrap)) } /** @@ -62,7 +62,7 @@ public abstract class PrincipalBase( * @param statement */ public open fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -80,7 +80,7 @@ public abstract class PrincipalBase( * @param _statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalWithConditions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalWithConditions.kt index bda5e25f49..0de63745dd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalWithConditions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/PrincipalWithConditions.kt @@ -33,7 +33,7 @@ public open class PrincipalWithConditions( cdkObject: software.amazon.awscdk.services.iam.PrincipalWithConditions, ) : PrincipalBase(cdkObject) { public constructor(principal: IPrincipal, conditions: Map) : - this(software.amazon.awscdk.services.iam.PrincipalWithConditions(principal.let(IPrincipal::unwrap), + this(software.amazon.awscdk.services.iam.PrincipalWithConditions(principal.let(IPrincipal.Companion::unwrap), conditions.mapValues{CdkObjectWrappers.unwrap(it.value)}) ) @@ -68,7 +68,7 @@ public open class PrincipalWithConditions( * @param doc */ public override fun addToAssumeRolePolicy(doc: PolicyDocument) { - unwrap(this).addToAssumeRolePolicy(doc.let(PolicyDocument::unwrap)) + unwrap(this).addToAssumeRolePolicy(doc.let(PolicyDocument.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public open class PrincipalWithConditions( * @param statement */ public override fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -108,7 +108,7 @@ public open class PrincipalWithConditions( * @param statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Role.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Role.kt index 89ad8a5cc7..e92fa29f35 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Role.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/Role.kt @@ -44,8 +44,8 @@ public open class Role( id: String, props: RoleProps, ) : - this(software.amazon.awscdk.services.iam.Role(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RoleProps::unwrap)) + this(software.amazon.awscdk.services.iam.Role(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RoleProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class Role( * @param policy The the managed policy to attach. */ public override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -70,7 +70,7 @@ public open class Role( * @param statement */ public open fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -90,7 +90,7 @@ public open class Role( * @param statement The permission statement to add to the policy document. */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Adds a permission to the role's default policy document. @@ -121,7 +121,7 @@ public open class Role( * @param policy The policy to attach. */ public override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** @@ -131,8 +131,8 @@ public open class Role( * @param actions */ public override fun grant(grantee: IPrincipal, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IPrincipal::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IPrincipal.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant permissions to the given principal to assume this role. @@ -140,7 +140,7 @@ public open class Role( * @param identity */ public override fun grantAssumeRole(identity: IPrincipal): Grant = - unwrap(this).grantAssumeRole(identity.let(IPrincipal::unwrap)).let(Grant::wrap) + unwrap(this).grantAssumeRole(identity.let(IPrincipal.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to the given principal to pass this role. @@ -148,7 +148,7 @@ public open class Role( * @param identity */ public override fun grantPassRole(identity: IPrincipal): Grant = - unwrap(this).grantPassRole(identity.let(IPrincipal::unwrap)).let(Grant::wrap) + unwrap(this).grantPassRole(identity.let(IPrincipal.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. @@ -222,7 +222,7 @@ public open class Role( * @param options */ public open fun withoutPolicyUpdates(options: WithoutPolicyUpdatesOptions): IRole = - unwrap(this).withoutPolicyUpdates(options.let(WithoutPolicyUpdatesOptions::unwrap)).let(IRole::wrap) + unwrap(this).withoutPolicyUpdates(options.let(WithoutPolicyUpdatesOptions.Companion::unwrap)).let(IRole::wrap) /** * Return a copy of this Role object whose Policies will not be updated. @@ -423,7 +423,7 @@ public open class Role( * can assume this role. */ override fun assumedBy(assumedBy: IPrincipal) { - cdkBuilder.assumedBy(assumedBy.let(IPrincipal::unwrap)) + cdkBuilder.assumedBy(assumedBy.let(IPrincipal.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class Role( * @param managedPolicies A list of managed policies associated with this role. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public open class Role( * role. */ override fun maxSessionDuration(maxSessionDuration: Duration) { - cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration::unwrap)) + cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class Role( * roles). */ override fun permissionsBoundary(permissionsBoundary: IManagedPolicy) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy.Companion::unwrap)) } /** @@ -595,13 +595,13 @@ public open class Role( public companion object { public fun customizeRoles(scope: CloudshiftdevConstructsConstruct) { - software.amazon.awscdk.services.iam.Role.customizeRoles(scope.let(CloudshiftdevConstructsConstruct::unwrap)) + software.amazon.awscdk.services.iam.Role.customizeRoles(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap)) } public fun customizeRoles(scope: CloudshiftdevConstructsConstruct, options: CustomizeRolesOptions) { - software.amazon.awscdk.services.iam.Role.customizeRoles(scope.let(CloudshiftdevConstructsConstruct::unwrap), - options.let(CustomizeRolesOptions::unwrap)) + software.amazon.awscdk.services.iam.Role.customizeRoles(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + options.let(CustomizeRolesOptions.Companion::unwrap)) } @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -615,7 +615,7 @@ public open class Role( id: String, roleArn: String, ): IRole = - software.amazon.awscdk.services.iam.Role.fromRoleArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.Role.fromRoleArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, roleArn).let(IRole::wrap) public fun fromRoleArn( @@ -624,8 +624,8 @@ public open class Role( roleArn: String, options: FromRoleArnOptions, ): IRole = - software.amazon.awscdk.services.iam.Role.fromRoleArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, roleArn, options.let(FromRoleArnOptions::unwrap)).let(IRole::wrap) + software.amazon.awscdk.services.iam.Role.fromRoleArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, roleArn, options.let(FromRoleArnOptions.Companion::unwrap)).let(IRole::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a4fb31fe9dd1e72e4b8ca587f24946f2fdf30b789ba5dd86492388cc8e4a5a11") @@ -641,7 +641,7 @@ public open class Role( id: String, roleName: String, ): IRole = - software.amazon.awscdk.services.iam.Role.fromRoleName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.Role.fromRoleName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, roleName).let(IRole::wrap) public fun fromRoleName( @@ -650,8 +650,8 @@ public open class Role( roleName: String, options: FromRoleNameOptions, ): IRole = - software.amazon.awscdk.services.iam.Role.fromRoleName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, roleName, options.let(FromRoleNameOptions::unwrap)).let(IRole::wrap) + software.amazon.awscdk.services.iam.Role.fromRoleName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, roleName, options.let(FromRoleNameOptions.Companion::unwrap)).let(IRole::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("75fdf9c6375dbd7430f3304bb8fd3be42333a5b7701b06ab210e40c20e6d1d3a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/RoleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/RoleProps.kt index 0aeb169503..ac20397f36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/RoleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/RoleProps.kt @@ -17,15 +17,18 @@ import kotlin.collections.Map * Example: * * ``` - * IChainable definition; - * Role role = Role.Builder.create(this, "Role") - * .assumedBy(new ServicePrincipal("lambda.amazonaws.com")) + * // Option 3: Create a new role that allows the account root principal to assume. Add this role in + * the `system:masters` and witch to this role from the AWS console. + * Cluster cluster; + * Role consoleReadOnlyRole = Role.Builder.create(this, "ConsoleReadOnlyRole") + * .assumedBy(new ArnPrincipal("arn_for_trusted_principal")) * .build(); - * StateMachine stateMachine = StateMachine.Builder.create(this, "StateMachine") - * .definitionBody(DefinitionBody.fromChainable(definition)) - * .build(); - * // Give role permission to get execution history of ALL executions for the state machine - * stateMachine.grantExecution(role, "states:GetExecutionHistory"); + * consoleReadOnlyRole.addToPolicy(PolicyStatement.Builder.create() + * .actions(List.of("eks:AccessKubernetesApi", "eks:Describe*", "eks:List*")) + * .resources(List.of(cluster.getClusterArn())) + * .build()); + * // Add this role to system:masters RBAC group + * cluster.awsAuth.addMastersRole(consoleReadOnlyRole); * ``` */ public interface RoleProps { @@ -266,7 +269,7 @@ public interface RoleProps { * the `assumeRolePolicy` property. */ override fun assumedBy(assumedBy: IPrincipal) { - cdkBuilder.assumedBy(assumedBy.let(IPrincipal::unwrap)) + cdkBuilder.assumedBy(assumedBy.let(IPrincipal.Companion::unwrap)) } /** @@ -312,7 +315,7 @@ public interface RoleProps { * `addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName))`. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -340,7 +343,7 @@ public interface RoleProps { * but does not apply when you use those operations to create a console URL. */ override fun maxSessionDuration(maxSessionDuration: Duration) { - cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration::unwrap)) + cdkBuilder.maxSessionDuration(maxSessionDuration.let(Duration.Companion::unwrap)) } /** @@ -362,7 +365,7 @@ public interface RoleProps { * permissions boundaries. */ override fun permissionsBoundary(permissionsBoundary: IManagedPolicy) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlConsolePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlConsolePrincipal.kt index cc3da1c95e..707f3ee0b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlConsolePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlConsolePrincipal.kt @@ -26,11 +26,11 @@ public open class SamlConsolePrincipal( cdkObject: software.amazon.awscdk.services.iam.SamlConsolePrincipal, ) : SamlPrincipal(cdkObject) { public constructor(samlProvider: ISamlProvider) : - this(software.amazon.awscdk.services.iam.SamlConsolePrincipal(samlProvider.let(ISamlProvider::unwrap)) + this(software.amazon.awscdk.services.iam.SamlConsolePrincipal(samlProvider.let(ISamlProvider.Companion::unwrap)) ) public constructor(samlProvider: ISamlProvider, conditions: Map) : - this(software.amazon.awscdk.services.iam.SamlConsolePrincipal(samlProvider.let(ISamlProvider::unwrap), + this(software.amazon.awscdk.services.iam.SamlConsolePrincipal(samlProvider.let(ISamlProvider.Companion::unwrap), conditions.mapValues{CdkObjectWrappers.unwrap(it.value)}) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlPrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlPrincipal.kt index 18ad3fc6ac..b79ff506fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlPrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlPrincipal.kt @@ -25,7 +25,7 @@ public open class SamlPrincipal( cdkObject: software.amazon.awscdk.services.iam.SamlPrincipal, ) : FederatedPrincipal(cdkObject) { public constructor(samlProvider: ISamlProvider, conditions: Map) : - this(software.amazon.awscdk.services.iam.SamlPrincipal(samlProvider.let(ISamlProvider::unwrap), + this(software.amazon.awscdk.services.iam.SamlPrincipal(samlProvider.let(ISamlProvider.Companion::unwrap), conditions.mapValues{CdkObjectWrappers.unwrap(it.value)}) ) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProvider.kt index 637ae5c498..04c9ad00e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProvider.kt @@ -31,8 +31,8 @@ public open class SamlProvider( id: String, props: SamlProviderProps, ) : - this(software.amazon.awscdk.services.iam.SamlProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SamlProviderProps::unwrap)) + this(software.amazon.awscdk.services.iam.SamlProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SamlProviderProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class SamlProvider( * your organization's IdP. */ override fun metadataDocument(metadataDocument: SamlMetadataDocument) { - cdkBuilder.metadataDocument(metadataDocument.let(SamlMetadataDocument::unwrap)) + cdkBuilder.metadataDocument(metadataDocument.let(SamlMetadataDocument.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class SamlProvider( id: String, samlProviderArn: String, ): ISamlProvider = - software.amazon.awscdk.services.iam.SamlProvider.fromSamlProviderArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.SamlProvider.fromSamlProviderArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, samlProviderArn).let(ISamlProvider::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProviderProps.kt index 14bc9fd23e..0f3f0de01b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SamlProviderProps.kt @@ -81,7 +81,7 @@ public interface SamlProviderProps { * your organization's IdP. */ override fun metadataDocument(metadataDocument: SamlMetadataDocument) { - cdkBuilder.metadataDocument(metadataDocument.let(SamlMetadataDocument::unwrap)) + cdkBuilder.metadataDocument(metadataDocument.let(SamlMetadataDocument.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ServicePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ServicePrincipal.kt index 2982d448e2..b3099a5543 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ServicePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/ServicePrincipal.kt @@ -35,7 +35,7 @@ public open class ServicePrincipal( public constructor(service: String, opts: ServicePrincipalOpts) : this(software.amazon.awscdk.services.iam.ServicePrincipal(service, - opts.let(ServicePrincipalOpts::unwrap)) + opts.let(ServicePrincipalOpts.Companion::unwrap)) ) public constructor(service: String, opts: ServicePrincipalOpts.Builder.() -> Unit) : this(service, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SessionTagsPrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SessionTagsPrincipal.kt index 2d1d72bac6..190f7d9eb0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SessionTagsPrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/SessionTagsPrincipal.kt @@ -27,7 +27,7 @@ public open class SessionTagsPrincipal( cdkObject: software.amazon.awscdk.services.iam.SessionTagsPrincipal, ) : PrincipalBase(cdkObject) { public constructor(principal: IPrincipal) : - this(software.amazon.awscdk.services.iam.SessionTagsPrincipal(principal.let(IPrincipal::unwrap)) + this(software.amazon.awscdk.services.iam.SessionTagsPrincipal(principal.let(IPrincipal.Companion::unwrap)) ) /** @@ -39,7 +39,7 @@ public open class SessionTagsPrincipal( * @param doc */ public override fun addToAssumeRolePolicy(doc: PolicyDocument) { - unwrap(this).addToAssumeRolePolicy(doc.let(PolicyDocument::unwrap)) + unwrap(this).addToAssumeRolePolicy(doc.let(PolicyDocument.Companion::unwrap)) } /** @@ -61,7 +61,7 @@ public open class SessionTagsPrincipal( * @param statement */ public override fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -79,7 +79,7 @@ public open class SessionTagsPrincipal( * @param statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipal.kt index a6a61c99fd..d2187dcf3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipal.kt @@ -38,7 +38,7 @@ public open class UnknownPrincipal( cdkObject: software.amazon.awscdk.services.iam.UnknownPrincipal, ) : CdkObject(cdkObject), IPrincipal { public constructor(props: UnknownPrincipalProps) : - this(software.amazon.awscdk.services.iam.UnknownPrincipal(props.let(UnknownPrincipalProps::unwrap)) + this(software.amazon.awscdk.services.iam.UnknownPrincipal(props.let(UnknownPrincipalProps.Companion::unwrap)) ) public constructor(props: UnknownPrincipalProps.Builder.() -> Unit) : @@ -51,7 +51,7 @@ public open class UnknownPrincipal( * @param statement */ public open fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -69,7 +69,7 @@ public open class UnknownPrincipal( * @param statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Add to the policy of this principal. @@ -121,7 +121,7 @@ public open class UnknownPrincipal( * @param resource The resource the role proxy is for. */ override fun resource(resource: IConstruct) { - cdkBuilder.resource(resource.let(IConstruct::unwrap)) + cdkBuilder.resource(resource.let(IConstruct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.UnknownPrincipal = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipalProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipalProps.kt index 7f08b3e6ee..9a45dc8d7e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipalProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UnknownPrincipalProps.kt @@ -49,7 +49,7 @@ public interface UnknownPrincipalProps { * @param resource The resource the role proxy is for. */ override fun resource(resource: IConstruct) { - cdkBuilder.resource(resource.let(IConstruct::unwrap)) + cdkBuilder.resource(resource.let(IConstruct.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iam.UnknownPrincipalProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/User.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/User.kt index 17946cf88c..efae069daf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/User.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/User.kt @@ -32,7 +32,7 @@ public open class User( cdkObject: software.amazon.awscdk.services.iam.User, ) : Resource(cdkObject), IIdentity, IUser { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iam.User(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iam.User(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -41,8 +41,8 @@ public open class User( id: String, props: UserProps, ) : - this(software.amazon.awscdk.services.iam.User(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(UserProps::unwrap)) + this(software.amazon.awscdk.services.iam.User(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(UserProps.Companion::unwrap)) ) public constructor( @@ -58,7 +58,7 @@ public open class User( * @param policy The managed policy to attach. */ public override fun addManagedPolicy(policy: IManagedPolicy) { - unwrap(this).addManagedPolicy(policy.let(IManagedPolicy::unwrap)) + unwrap(this).addManagedPolicy(policy.let(IManagedPolicy.Companion::unwrap)) } /** @@ -67,7 +67,7 @@ public open class User( * @param group */ public override fun addToGroup(group: IGroup) { - unwrap(this).addToGroup(group.let(IGroup::unwrap)) + unwrap(this).addToGroup(group.let(IGroup.Companion::unwrap)) } /** @@ -76,7 +76,7 @@ public open class User( * @param statement */ public open fun addToPolicy(statement: PolicyStatement): Boolean = - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) /** * Add to the policy of this principal. @@ -95,7 +95,7 @@ public open class User( * @param statement */ public override fun addToPrincipalPolicy(statement: PolicyStatement): AddToPrincipalPolicyResult = - unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement::unwrap)).let(AddToPrincipalPolicyResult::wrap) + unwrap(this).addToPrincipalPolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToPrincipalPolicyResult::wrap) /** * Adds an IAM statement to the default policy. @@ -119,7 +119,7 @@ public open class User( * @param policy */ public override fun attachInlinePolicy(policy: Policy) { - unwrap(this).attachInlinePolicy(policy.let(Policy::unwrap)) + unwrap(this).attachInlinePolicy(policy.let(Policy.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class User( * @param groups Groups to add this user to. */ override fun groups(groups: List) { - cdkBuilder.groups(groups.map(IGroup::unwrap)) + cdkBuilder.groups(groups.map(IGroup.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class User( * @param managedPolicies A list of managed policies associated with this role. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class User( * Management Console. */ override fun password(password: SecretValue) { - cdkBuilder.password(password.let(SecretValue::unwrap)) + cdkBuilder.password(password.let(SecretValue.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class User( * roles). */ override fun permissionsBoundary(permissionsBoundary: IManagedPolicy) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class User( id: String, userArn: String, ): IUser = - software.amazon.awscdk.services.iam.User.fromUserArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.User.fromUserArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userArn).let(IUser::wrap) public fun fromUserAttributes( @@ -457,8 +457,8 @@ public open class User( id: String, attrs: UserAttributes, ): IUser = - software.amazon.awscdk.services.iam.User.fromUserAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(UserAttributes::unwrap)).let(IUser::wrap) + software.amazon.awscdk.services.iam.User.fromUserAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(UserAttributes.Companion::unwrap)).let(IUser::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("321ebf0b48716f7490762a7ac1e1728ff5e7fb51d9ed53e20e99d0c80a46bc9d") @@ -473,7 +473,7 @@ public open class User( id: String, userName: String, ): IUser = - software.amazon.awscdk.services.iam.User.fromUserName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.iam.User.fromUserName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, userName).let(IUser::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UserProps.kt index 473ae5ff87..31b4ed8cb3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iam/UserProps.kt @@ -206,7 +206,7 @@ public interface UserProps { * user to a group. */ override fun groups(groups: List) { - cdkBuilder.groups(groups.map(IGroup::unwrap)) + cdkBuilder.groups(groups.map(IGroup.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface UserProps { * `addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName))`. */ override fun managedPolicies(managedPolicies: List) { - cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy::unwrap)) + cdkBuilder.managedPolicies(managedPolicies.map(IManagedPolicy.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public interface UserProps { * Secrets Manager. */ override fun password(password: SecretValue) { - cdkBuilder.password(password.let(SecretValue::unwrap)) + cdkBuilder.password(password.let(SecretValue.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface UserProps { * permissions boundaries. */ override fun permissionsBoundary(permissionsBoundary: IManagedPolicy) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IManagedPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroup.kt index ded943d875..c97fcc8344 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroup.kt @@ -38,8 +38,8 @@ public open class CfnGroup( id: String, props: CfnGroupProps, ) : - this(software.amazon.awscdk.services.identitystore.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupProps::unwrap)) + this(software.amazon.awscdk.services.identitystore.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembership.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembership.kt index 0ba1932e05..1a92f3a332 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembership.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembership.kt @@ -46,8 +46,8 @@ public open class CfnGroupMembership( id: String, props: CfnGroupMembershipProps, ) : - this(software.amazon.awscdk.services.identitystore.CfnGroupMembership(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupMembershipProps::unwrap)) + this(software.amazon.awscdk.services.identitystore.CfnGroupMembership(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupMembershipProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnGroupMembership( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -104,14 +104,14 @@ public open class CfnGroupMembership( * An object containing the identifier of a group member. */ public open fun memberId(`value`: IResolvable) { - unwrap(this).setMemberId(`value`.let(IResolvable::unwrap)) + unwrap(this).setMemberId(`value`.let(IResolvable.Companion::unwrap)) } /** * An object containing the identifier of a group member. */ public open fun memberId(`value`: MemberIdProperty) { - unwrap(this).setMemberId(`value`.let(MemberIdProperty::unwrap)) + unwrap(this).setMemberId(`value`.let(MemberIdProperty.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnGroupMembership( * @param memberId An object containing the identifier of a group member. */ override fun memberId(memberId: IResolvable) { - cdkBuilder.memberId(memberId.let(IResolvable::unwrap)) + cdkBuilder.memberId(memberId.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnGroupMembership( * @param memberId An object containing the identifier of a group member. */ override fun memberId(memberId: MemberIdProperty) { - cdkBuilder.memberId(memberId.let(MemberIdProperty::unwrap)) + cdkBuilder.memberId(memberId.let(MemberIdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembershipProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembershipProps.kt index 7141d8eeed..5c469c2e31 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembershipProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/identitystore/CfnGroupMembershipProps.kt @@ -120,7 +120,7 @@ public interface CfnGroupMembershipProps { * that User as a group member. */ override fun memberId(memberId: IResolvable) { - cdkBuilder.memberId(memberId.let(IResolvable::unwrap)) + cdkBuilder.memberId(memberId.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public interface CfnGroupMembershipProps { * that User as a group member. */ override fun memberId(memberId: CfnGroupMembership.MemberIdProperty) { - cdkBuilder.memberId(memberId.let(CfnGroupMembership.MemberIdProperty::unwrap)) + cdkBuilder.memberId(memberId.let(CfnGroupMembership.MemberIdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnComponent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnComponent.kt index 98aeeb8d09..61cbbcbf9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnComponent.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnComponent.kt @@ -58,8 +58,8 @@ public open class CfnComponent( id: String, props: CfnComponentProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnComponent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnComponentProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnComponent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnComponentProps.Companion::unwrap)) ) public constructor( @@ -142,7 +142,7 @@ public open class CfnComponent( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipe.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipe.kt index edc547c76d..74872b9edf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipe.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipe.kt @@ -91,8 +91,8 @@ public open class CfnContainerRecipe( id: String, props: CfnContainerRecipeProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnContainerRecipe(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContainerRecipeProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnContainerRecipe(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContainerRecipeProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnContainerRecipe( * Build and test components that are included in the container recipe. */ public open fun components(`value`: IResolvable) { - unwrap(this).setComponents(`value`.let(IResolvable::unwrap)) + unwrap(this).setComponents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnContainerRecipe( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnContainerRecipe( * images. */ public open fun instanceConfiguration(`value`: IResolvable) { - unwrap(this).setInstanceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnContainerRecipe( * images. */ public open fun instanceConfiguration(`value`: InstanceConfigurationProperty) { - unwrap(this).setInstanceConfiguration(`value`.let(InstanceConfigurationProperty::unwrap)) + unwrap(this).setInstanceConfiguration(`value`.let(InstanceConfigurationProperty.Companion::unwrap)) } /** @@ -317,14 +317,14 @@ public open class CfnContainerRecipe( * The destination repository for the container image. */ public open fun targetRepository(`value`: IResolvable) { - unwrap(this).setTargetRepository(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetRepository(`value`.let(IResolvable.Companion::unwrap)) } /** * The destination repository for the container image. */ public open fun targetRepository(`value`: TargetContainerRepositoryProperty) { - unwrap(this).setTargetRepository(`value`.let(TargetContainerRepositoryProperty::unwrap)) + unwrap(this).setTargetRepository(`value`.let(TargetContainerRepositoryProperty.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public open class CfnContainerRecipe( * @param components Build and test components that are included in the container recipe. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnContainerRecipe( * building and testing container images. */ override fun instanceConfiguration(instanceConfiguration: IResolvable) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnContainerRecipe( * building and testing container images. */ override fun instanceConfiguration(instanceConfiguration: InstanceConfigurationProperty) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(InstanceConfigurationProperty::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(InstanceConfigurationProperty.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnContainerRecipe( * @param targetRepository The destination repository for the container image. */ override fun targetRepository(targetRepository: IResolvable) { - cdkBuilder.targetRepository(targetRepository.let(IResolvable::unwrap)) + cdkBuilder.targetRepository(targetRepository.let(IResolvable.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class CfnContainerRecipe( * @param targetRepository The destination repository for the container image. */ override fun targetRepository(targetRepository: TargetContainerRepositoryProperty) { - cdkBuilder.targetRepository(targetRepository.let(TargetContainerRepositoryProperty::unwrap)) + cdkBuilder.targetRepository(targetRepository.let(TargetContainerRepositoryProperty.Companion::unwrap)) } /** @@ -953,7 +953,7 @@ public open class CfnContainerRecipe( * component for a specific recipe. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -1286,7 +1286,7 @@ public open class CfnContainerRecipe( * @param deleteOnTermination Use to configure delete on termination of the associated device. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1300,7 +1300,7 @@ public open class CfnContainerRecipe( * @param encrypted Use to configure device encryption. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1543,14 +1543,14 @@ public open class CfnContainerRecipe( * @param ebs Use to manage Amazon EBS-specific configuration for this mapping. */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** * @param ebs Use to manage Amazon EBS-specific configuration for this mapping. */ override fun ebs(ebs: EbsInstanceBlockDeviceSpecificationProperty) { - cdkBuilder.ebs(ebs.let(EbsInstanceBlockDeviceSpecificationProperty::unwrap)) + cdkBuilder.ebs(ebs.let(EbsInstanceBlockDeviceSpecificationProperty.Companion::unwrap)) } /** @@ -1722,7 +1722,7 @@ public open class CfnContainerRecipe( * from this Image Builder AMI. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipeProps.kt index c62d7774af..a6d62f92b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnContainerRecipeProps.kt @@ -366,7 +366,7 @@ public interface CfnContainerRecipeProps { * components in any combination. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public interface CfnContainerRecipeProps { * building and testing container images. */ override fun instanceConfiguration(instanceConfiguration: IResolvable) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface CfnContainerRecipeProps { */ override fun instanceConfiguration(instanceConfiguration: CfnContainerRecipe.InstanceConfigurationProperty) { - cdkBuilder.instanceConfiguration(instanceConfiguration.let(CfnContainerRecipe.InstanceConfigurationProperty::unwrap)) + cdkBuilder.instanceConfiguration(instanceConfiguration.let(CfnContainerRecipe.InstanceConfigurationProperty.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public interface CfnContainerRecipeProps { * @param targetRepository The destination repository for the container image. */ override fun targetRepository(targetRepository: IResolvable) { - cdkBuilder.targetRepository(targetRepository.let(IResolvable::unwrap)) + cdkBuilder.targetRepository(targetRepository.let(IResolvable.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public interface CfnContainerRecipeProps { */ override fun targetRepository(targetRepository: CfnContainerRecipe.TargetContainerRepositoryProperty) { - cdkBuilder.targetRepository(targetRepository.let(CfnContainerRecipe.TargetContainerRepositoryProperty::unwrap)) + cdkBuilder.targetRepository(targetRepository.let(CfnContainerRecipe.TargetContainerRepositoryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfiguration.kt index 3555575c6f..18bf5adb7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfiguration.kt @@ -81,8 +81,8 @@ public open class CfnDistributionConfiguration( id: String, props: CfnDistributionConfigurationProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDistributionConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDistributionConfigurationProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnDistributionConfiguration( * objects. */ public open fun distributions(`value`: IResolvable) { - unwrap(this).setDistributions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDistributions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnDistributionConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnDistributionConfiguration( * array of Distribution objects. */ override fun distributions(distributions: IResolvable) { - cdkBuilder.distributions(distributions.let(IResolvable::unwrap)) + cdkBuilder.distributions(distributions.let(IResolvable.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public open class CfnDistributionConfiguration( * @param amiTags The tags to apply to AMIs distributed to this Region. */ override fun amiTags(amiTags: IResolvable) { - cdkBuilder.amiTags(amiTags.let(IResolvable::unwrap)) + cdkBuilder.amiTags(amiTags.let(IResolvable.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnDistributionConfiguration( * account s can use the AMI to launch instances. */ override fun launchPermissionConfiguration(launchPermissionConfiguration: IResolvable) { - cdkBuilder.launchPermissionConfiguration(launchPermissionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.launchPermissionConfiguration(launchPermissionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnDistributionConfiguration( */ override fun launchPermissionConfiguration(launchPermissionConfiguration: LaunchPermissionConfigurationProperty) { - cdkBuilder.launchPermissionConfiguration(launchPermissionConfiguration.let(LaunchPermissionConfigurationProperty::unwrap)) + cdkBuilder.launchPermissionConfiguration(launchPermissionConfiguration.let(LaunchPermissionConfigurationProperty.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnDistributionConfiguration( * configuration. */ override fun targetRepository(targetRepository: IResolvable) { - cdkBuilder.targetRepository(targetRepository.let(IResolvable::unwrap)) + cdkBuilder.targetRepository(targetRepository.let(IResolvable.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public open class CfnDistributionConfiguration( * configuration. */ override fun targetRepository(targetRepository: TargetContainerRepositoryProperty) { - cdkBuilder.targetRepository(targetRepository.let(TargetContainerRepositoryProperty::unwrap)) + cdkBuilder.targetRepository(targetRepository.let(TargetContainerRepositoryProperty.Companion::unwrap)) } /** @@ -1042,7 +1042,7 @@ public open class CfnDistributionConfiguration( * distribution. */ override fun fastLaunchConfigurations(fastLaunchConfigurations: IResolvable) { - cdkBuilder.fastLaunchConfigurations(fastLaunchConfigurations.let(IResolvable::unwrap)) + cdkBuilder.fastLaunchConfigurations(fastLaunchConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class CfnDistributionConfiguration( * apply to image distribution for specified accounts. */ override fun launchTemplateConfigurations(launchTemplateConfigurations: IResolvable) { - cdkBuilder.launchTemplateConfigurations(launchTemplateConfigurations.let(IResolvable::unwrap)) + cdkBuilder.launchTemplateConfigurations(launchTemplateConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1369,7 +1369,7 @@ public open class CfnDistributionConfiguration( * Set to `true` to start using Windows faster launching, or `false` to stop using it. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1377,7 +1377,7 @@ public open class CfnDistributionConfiguration( * when it launches Windows instances to create pre-provisioned snapshots. */ override fun launchTemplate(launchTemplate: IResolvable) { - cdkBuilder.launchTemplate(launchTemplate.let(IResolvable::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -1385,7 +1385,7 @@ public open class CfnDistributionConfiguration( * when it launches Windows instances to create pre-provisioned snapshots. */ override fun launchTemplate(launchTemplate: FastLaunchLaunchTemplateSpecificationProperty) { - cdkBuilder.launchTemplate(launchTemplate.let(FastLaunchLaunchTemplateSpecificationProperty::unwrap)) + cdkBuilder.launchTemplate(launchTemplate.let(FastLaunchLaunchTemplateSpecificationProperty.Companion::unwrap)) } /** @@ -1412,7 +1412,7 @@ public open class CfnDistributionConfiguration( * enabled. */ override fun snapshotConfiguration(snapshotConfiguration: IResolvable) { - cdkBuilder.snapshotConfiguration(snapshotConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snapshotConfiguration(snapshotConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1422,7 +1422,7 @@ public open class CfnDistributionConfiguration( */ override fun snapshotConfiguration(snapshotConfiguration: FastLaunchSnapshotConfigurationProperty) { - cdkBuilder.snapshotConfiguration(snapshotConfiguration.let(FastLaunchSnapshotConfigurationProperty::unwrap)) + cdkBuilder.snapshotConfiguration(snapshotConfiguration.let(FastLaunchSnapshotConfigurationProperty.Companion::unwrap)) } /** @@ -2105,7 +2105,7 @@ public open class CfnDistributionConfiguration( * template for the specified account. */ override fun defaultVersion(setDefaultVersion: IResolvable) { - cdkBuilder.setDefaultVersion(setDefaultVersion.let(IResolvable::unwrap)) + cdkBuilder.setDefaultVersion(setDefaultVersion.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfigurationProps.kt index 8aadaf8915..750b2ecf4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnDistributionConfigurationProps.kt @@ -146,7 +146,7 @@ public interface CfnDistributionConfigurationProps { * array of Distribution objects. */ override fun distributions(distributions: IResolvable) { - cdkBuilder.distributions(distributions.let(IResolvable::unwrap)) + cdkBuilder.distributions(distributions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImage.kt index 1705a9010c..5df441d015 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImage.kt @@ -78,8 +78,8 @@ public open class CfnImage( id: String, props: CfnImageProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnImage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnImageProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnImage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnImageProps.Companion::unwrap)) ) public constructor( @@ -164,7 +164,7 @@ public open class CfnImage( * (OS) version and package list. */ public open fun enhancedImageMetadataEnabled(`value`: IResolvable) { - unwrap(this).setEnhancedImageMetadataEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnhancedImageMetadataEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnImage( * Contains settings for vulnerability scans. */ public open fun imageScanningConfiguration(`value`: IResolvable) { - unwrap(this).setImageScanningConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageScanningConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains settings for vulnerability scans. */ public open fun imageScanningConfiguration(`value`: ImageScanningConfigurationProperty) { - unwrap(this).setImageScanningConfiguration(`value`.let(ImageScanningConfigurationProperty::unwrap)) + unwrap(this).setImageScanningConfiguration(`value`.let(ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -232,14 +232,14 @@ public open class CfnImage( * The image tests configuration of the image. */ public open fun imageTestsConfiguration(`value`: IResolvable) { - unwrap(this).setImageTestsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageTestsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The image tests configuration of the image. */ public open fun imageTestsConfiguration(`value`: ImageTestsConfigurationProperty) { - unwrap(this).setImageTestsConfiguration(`value`.let(ImageTestsConfigurationProperty::unwrap)) + unwrap(this).setImageTestsConfiguration(`value`.let(ImageTestsConfigurationProperty.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnImage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnImage( * Contains an array of workflow configuration objects. */ public open fun workflows(`value`: IResolvable) { - unwrap(this).setWorkflows(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkflows(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public open class CfnImage( * created, including the operating system (OS) version and package list. */ override fun enhancedImageMetadataEnabled(enhancedImageMetadataEnabled: IResolvable) { - cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable::unwrap)) + cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnImage( * @param imageScanningConfiguration Contains settings for vulnerability scans. */ override fun imageScanningConfiguration(imageScanningConfiguration: IResolvable) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnImage( */ override fun imageScanningConfiguration(imageScanningConfiguration: ImageScanningConfigurationProperty) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(ImageScanningConfigurationProperty::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public open class CfnImage( * @param imageTestsConfiguration The image tests configuration of the image. */ override fun imageTestsConfiguration(imageTestsConfiguration: IResolvable) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnImage( * @param imageTestsConfiguration The image tests configuration of the image. */ override fun imageTestsConfiguration(imageTestsConfiguration: ImageTestsConfigurationProperty) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(ImageTestsConfigurationProperty::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(ImageTestsConfigurationProperty.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public open class CfnImage( * @param workflows Contains an array of workflow configuration objects. */ override fun workflows(workflows: IResolvable) { - cdkBuilder.workflows(workflows.let(IResolvable::unwrap)) + cdkBuilder.workflows(workflows.let(IResolvable.Companion::unwrap)) } /** @@ -947,14 +947,14 @@ public open class CfnImage( * @param ecrConfiguration Contains Amazon ECR settings for vulnerability scans. */ override fun ecrConfiguration(ecrConfiguration: IResolvable) { - cdkBuilder.ecrConfiguration(ecrConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ecrConfiguration(ecrConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param ecrConfiguration Contains Amazon ECR settings for vulnerability scans. */ override fun ecrConfiguration(ecrConfiguration: EcrConfigurationProperty) { - cdkBuilder.ecrConfiguration(ecrConfiguration.let(EcrConfigurationProperty::unwrap)) + cdkBuilder.ecrConfiguration(ecrConfiguration.let(EcrConfigurationProperty.Companion::unwrap)) } /** @@ -980,7 +980,7 @@ public open class CfnImage( * create a new image. */ override fun imageScanningEnabled(imageScanningEnabled: IResolvable) { - cdkBuilder.imageScanningEnabled(imageScanningEnabled.let(IResolvable::unwrap)) + cdkBuilder.imageScanningEnabled(imageScanningEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1119,7 +1119,7 @@ public open class CfnImage( * distribution. */ override fun imageTestsEnabled(imageTestsEnabled: IResolvable) { - cdkBuilder.imageTestsEnabled(imageTestsEnabled.let(IResolvable::unwrap)) + cdkBuilder.imageTestsEnabled(imageTestsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1311,7 +1311,7 @@ public open class CfnImage( * document defined for the workflow resource. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipeline.kt index 83a449c60c..6502114aea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipeline.kt @@ -88,8 +88,8 @@ public open class CfnImagePipeline( id: String, props: CfnImagePipelineProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnImagePipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnImagePipelineProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnImagePipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnImagePipelineProps.Companion::unwrap)) ) public constructor( @@ -171,7 +171,7 @@ public open class CfnImagePipeline( * (OS) version and package list. */ public open fun enhancedImageMetadataEnabled(`value`: IResolvable) { - unwrap(this).setEnhancedImageMetadataEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnhancedImageMetadataEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public open class CfnImagePipeline( * Contains settings for vulnerability scans. */ public open fun imageScanningConfiguration(`value`: IResolvable) { - unwrap(this).setImageScanningConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageScanningConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains settings for vulnerability scans. */ public open fun imageScanningConfiguration(`value`: ImageScanningConfigurationProperty) { - unwrap(this).setImageScanningConfiguration(`value`.let(ImageScanningConfigurationProperty::unwrap)) + unwrap(this).setImageScanningConfiguration(`value`.let(ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnImagePipeline( * image that was created. */ public open fun imageTestsConfiguration(`value`: IResolvable) { - unwrap(this).setImageTestsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageTestsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnImagePipeline( * image that was created. */ public open fun imageTestsConfiguration(`value`: ImageTestsConfigurationProperty) { - unwrap(this).setImageTestsConfiguration(`value`.let(ImageTestsConfigurationProperty::unwrap)) + unwrap(this).setImageTestsConfiguration(`value`.let(ImageTestsConfigurationProperty.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnImagePipeline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -305,14 +305,14 @@ public open class CfnImagePipeline( * The schedule of the image pipeline. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * The schedule of the image pipeline. */ public open fun schedule(`value`: ScheduleProperty) { - unwrap(this).setSchedule(`value`.let(ScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(ScheduleProperty.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnImagePipeline( * Contains the workflows that run for the image pipeline. */ public open fun workflows(`value`: IResolvable) { - unwrap(this).setWorkflows(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkflows(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnImagePipeline( * created, including the operating system (OS) version and package list. */ override fun enhancedImageMetadataEnabled(enhancedImageMetadataEnabled: IResolvable) { - cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable::unwrap)) + cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public open class CfnImagePipeline( * @param imageScanningConfiguration Contains settings for vulnerability scans. */ override fun imageScanningConfiguration(imageScanningConfiguration: IResolvable) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public open class CfnImagePipeline( */ override fun imageScanningConfiguration(imageScanningConfiguration: ImageScanningConfigurationProperty) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(ImageScanningConfigurationProperty::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -741,7 +741,7 @@ public open class CfnImagePipeline( * creation to ensure the quality of the image that was created. */ override fun imageTestsConfiguration(imageTestsConfiguration: IResolvable) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public open class CfnImagePipeline( * creation to ensure the quality of the image that was created. */ override fun imageTestsConfiguration(imageTestsConfiguration: ImageTestsConfigurationProperty) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(ImageTestsConfigurationProperty::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(ImageTestsConfigurationProperty.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public open class CfnImagePipeline( * @param schedule The schedule of the image pipeline. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -813,7 +813,7 @@ public open class CfnImagePipeline( * @param schedule The schedule of the image pipeline. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -856,7 +856,7 @@ public open class CfnImagePipeline( * @param workflows Contains the workflows that run for the image pipeline. */ override fun workflows(workflows: IResolvable) { - cdkBuilder.workflows(workflows.let(IResolvable::unwrap)) + cdkBuilder.workflows(workflows.let(IResolvable.Companion::unwrap)) } /** @@ -1141,14 +1141,14 @@ public open class CfnImagePipeline( * @param ecrConfiguration Contains Amazon ECR settings for vulnerability scans. */ override fun ecrConfiguration(ecrConfiguration: IResolvable) { - cdkBuilder.ecrConfiguration(ecrConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ecrConfiguration(ecrConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param ecrConfiguration Contains Amazon ECR settings for vulnerability scans. */ override fun ecrConfiguration(ecrConfiguration: EcrConfigurationProperty) { - cdkBuilder.ecrConfiguration(ecrConfiguration.let(EcrConfigurationProperty::unwrap)) + cdkBuilder.ecrConfiguration(ecrConfiguration.let(EcrConfigurationProperty.Companion::unwrap)) } /** @@ -1174,7 +1174,7 @@ public open class CfnImagePipeline( * create a new image. */ override fun imageScanningEnabled(imageScanningEnabled: IResolvable) { - cdkBuilder.imageScanningEnabled(imageScanningEnabled.let(IResolvable::unwrap)) + cdkBuilder.imageScanningEnabled(imageScanningEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1308,7 +1308,7 @@ public open class CfnImagePipeline( * For example, `true` or `false` . */ override fun imageTestsEnabled(imageTestsEnabled: IResolvable) { - cdkBuilder.imageTestsEnabled(imageTestsEnabled.let(IResolvable::unwrap)) + cdkBuilder.imageTestsEnabled(imageTestsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1663,7 +1663,7 @@ public open class CfnImagePipeline( * document defined for the workflow resource. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipelineProps.kt index 431c283361..bb4eece9ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImagePipelineProps.kt @@ -368,7 +368,7 @@ public interface CfnImagePipelineProps { * Enabled by default. */ override fun enhancedImageMetadataEnabled(enhancedImageMetadataEnabled: IResolvable) { - cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable::unwrap)) + cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface CfnImagePipelineProps { * @param imageScanningConfiguration Contains settings for vulnerability scans. */ override fun imageScanningConfiguration(imageScanningConfiguration: IResolvable) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface CfnImagePipelineProps { */ override fun imageScanningConfiguration(imageScanningConfiguration: CfnImagePipeline.ImageScanningConfigurationProperty) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(CfnImagePipeline.ImageScanningConfigurationProperty::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(CfnImagePipeline.ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public interface CfnImagePipelineProps { * creation to ensure the quality of the image that was created. */ override fun imageTestsConfiguration(imageTestsConfiguration: IResolvable) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public interface CfnImagePipelineProps { */ override fun imageTestsConfiguration(imageTestsConfiguration: CfnImagePipeline.ImageTestsConfigurationProperty) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(CfnImagePipeline.ImageTestsConfigurationProperty::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(CfnImagePipeline.ImageTestsConfigurationProperty.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public interface CfnImagePipelineProps { * A schedule configures how often and when a pipeline automatically creates a new image. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public interface CfnImagePipelineProps { * A schedule configures how often and when a pipeline automatically creates a new image. */ override fun schedule(schedule: CfnImagePipeline.ScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnImagePipeline.ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnImagePipeline.ScheduleProperty.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public interface CfnImagePipelineProps { * @param workflows Contains the workflows that run for the image pipeline. */ override fun workflows(workflows: IResolvable) { - cdkBuilder.workflows(workflows.let(IResolvable::unwrap)) + cdkBuilder.workflows(workflows.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageProps.kt index e06f8b7fc9..a8835a9f74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageProps.kt @@ -286,7 +286,7 @@ public interface CfnImageProps { * Enabled by default. */ override fun enhancedImageMetadataEnabled(enhancedImageMetadataEnabled: IResolvable) { - cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable::unwrap)) + cdkBuilder.enhancedImageMetadataEnabled(enhancedImageMetadataEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface CfnImageProps { * @param imageScanningConfiguration Contains settings for vulnerability scans. */ override fun imageScanningConfiguration(imageScanningConfiguration: IResolvable) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface CfnImageProps { */ override fun imageScanningConfiguration(imageScanningConfiguration: CfnImage.ImageScanningConfigurationProperty) { - cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(CfnImage.ImageScanningConfigurationProperty::unwrap)) + cdkBuilder.imageScanningConfiguration(imageScanningConfiguration.let(CfnImage.ImageScanningConfigurationProperty.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface CfnImageProps { * @param imageTestsConfiguration The image tests configuration of the image. */ override fun imageTestsConfiguration(imageTestsConfiguration: IResolvable) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface CfnImageProps { */ override fun imageTestsConfiguration(imageTestsConfiguration: CfnImage.ImageTestsConfigurationProperty) { - cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(CfnImage.ImageTestsConfigurationProperty::unwrap)) + cdkBuilder.imageTestsConfiguration(imageTestsConfiguration.let(CfnImage.ImageTestsConfigurationProperty.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public interface CfnImageProps { * @param workflows Contains an array of workflow configuration objects. */ override fun workflows(workflows: IResolvable) { - cdkBuilder.workflows(workflows.let(IResolvable::unwrap)) + cdkBuilder.workflows(workflows.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipe.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipe.kt index b0aab9566f..33c6210775 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipe.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipe.kt @@ -86,8 +86,8 @@ public open class CfnImageRecipe( id: String, props: CfnImageRecipeProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnImageRecipe(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnImageRecipeProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnImageRecipe(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnImageRecipeProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnImageRecipe( * test your image configuration. */ public open fun additionalInstanceConfiguration(`value`: IResolvable) { - unwrap(this).setAdditionalInstanceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalInstanceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnImageRecipe( */ public open fun additionalInstanceConfiguration(`value`: AdditionalInstanceConfigurationProperty) { - unwrap(this).setAdditionalInstanceConfiguration(`value`.let(AdditionalInstanceConfigurationProperty::unwrap)) + unwrap(this).setAdditionalInstanceConfiguration(`value`.let(AdditionalInstanceConfigurationProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnImageRecipe( * The block device mappings to apply when creating images from this recipe. */ public open fun blockDeviceMappings(`value`: IResolvable) { - unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnImageRecipe( * The components of the image recipe. */ public open fun components(`value`: IResolvable) { - unwrap(this).setComponents(`value`.let(IResolvable::unwrap)) + unwrap(this).setComponents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnImageRecipe( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnImageRecipe( * temporary Amazon EC2 instances to build and test your image configuration. */ override fun additionalInstanceConfiguration(additionalInstanceConfiguration: IResolvable) { - cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnImageRecipe( */ override fun additionalInstanceConfiguration(additionalInstanceConfiguration: AdditionalInstanceConfigurationProperty) { - cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(AdditionalInstanceConfigurationProperty::unwrap)) + cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(AdditionalInstanceConfigurationProperty.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class CfnImageRecipe( * recipe. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public open class CfnImageRecipe( * @param components The components of the image recipe. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -775,7 +775,7 @@ public open class CfnImageRecipe( * instance. */ override fun systemsManagerAgent(systemsManagerAgent: IResolvable) { - cdkBuilder.systemsManagerAgent(systemsManagerAgent.let(IResolvable::unwrap)) + cdkBuilder.systemsManagerAgent(systemsManagerAgent.let(IResolvable.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public open class CfnImageRecipe( * instance. */ override fun systemsManagerAgent(systemsManagerAgent: SystemsManagerAgentProperty) { - cdkBuilder.systemsManagerAgent(systemsManagerAgent.let(SystemsManagerAgentProperty::unwrap)) + cdkBuilder.systemsManagerAgent(systemsManagerAgent.let(SystemsManagerAgentProperty.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public open class CfnImageRecipe( * component for a specific recipe. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -1295,7 +1295,7 @@ public open class CfnImageRecipe( * @param deleteOnTermination Configures delete on termination of the associated device. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1309,7 +1309,7 @@ public open class CfnImageRecipe( * @param encrypted Use to configure device encryption. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1559,14 +1559,14 @@ public open class CfnImageRecipe( * @param ebs Use to manage Amazon EBS-specific configuration for this mapping. */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** * @param ebs Use to manage Amazon EBS-specific configuration for this mapping. */ override fun ebs(ebs: EbsInstanceBlockDeviceSpecificationProperty) { - cdkBuilder.ebs(ebs.let(EbsInstanceBlockDeviceSpecificationProperty::unwrap)) + cdkBuilder.ebs(ebs.let(EbsInstanceBlockDeviceSpecificationProperty.Companion::unwrap)) } /** @@ -1731,7 +1731,7 @@ public open class CfnImageRecipe( * false. */ override fun uninstallAfterBuild(uninstallAfterBuild: IResolvable) { - cdkBuilder.uninstallAfterBuild(uninstallAfterBuild.let(IResolvable::unwrap)) + cdkBuilder.uninstallAfterBuild(uninstallAfterBuild.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipeProps.kt index 4edb9e5ba4..38d773e7b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnImageRecipeProps.kt @@ -257,7 +257,7 @@ public interface CfnImageRecipeProps { * and add scripts to run when an instance is launched from your AMI. */ override fun additionalInstanceConfiguration(additionalInstanceConfiguration: IResolvable) { - cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CfnImageRecipeProps { */ override fun additionalInstanceConfiguration(additionalInstanceConfiguration: CfnImageRecipe.AdditionalInstanceConfigurationProperty) { - cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(CfnImageRecipe.AdditionalInstanceConfigurationProperty::unwrap)) + cdkBuilder.additionalInstanceConfiguration(additionalInstanceConfiguration.let(CfnImageRecipe.AdditionalInstanceConfigurationProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnImageRecipeProps { * recipe. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface CfnImageRecipeProps { * hardening steps. A component is defined using a YAML document format. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfiguration.kt index a43e8861b7..df3efdef97 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfiguration.kt @@ -76,8 +76,8 @@ public open class CfnInfrastructureConfiguration( id: String, props: CfnInfrastructureConfigurationProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnInfrastructureConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInfrastructureConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnInfrastructureConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInfrastructureConfigurationProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnInfrastructureConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,14 +131,14 @@ public open class CfnInfrastructureConfiguration( * The instance metadata option settings for the infrastructure configuration. */ public open fun instanceMetadataOptions(`value`: IResolvable) { - unwrap(this).setInstanceMetadataOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceMetadataOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The instance metadata option settings for the infrastructure configuration. */ public open fun instanceMetadataOptions(`value`: InstanceMetadataOptionsProperty) { - unwrap(this).setInstanceMetadataOptions(`value`.let(InstanceMetadataOptionsProperty::unwrap)) + unwrap(this).setInstanceMetadataOptions(`value`.let(InstanceMetadataOptionsProperty.Companion::unwrap)) } /** @@ -200,14 +200,14 @@ public open class CfnInfrastructureConfiguration( * The logging configuration defines where Image Builder uploads your logs. */ public open fun logging(`value`: IResolvable) { - unwrap(this).setLogging(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogging(`value`.let(IResolvable.Companion::unwrap)) } /** * The logging configuration defines where Image Builder uploads your logs. */ public open fun logging(`value`: LoggingProperty) { - unwrap(this).setLogging(`value`.let(LoggingProperty::unwrap)) + unwrap(this).setLogging(`value`.let(LoggingProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnInfrastructureConfiguration( * The tags attached to the resource created by Image Builder. */ public open fun resourceTags(`value`: IResolvable) { - unwrap(this).setResourceTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnInfrastructureConfiguration( * The terminate instance on failure configuration of the infrastructure configuration. */ public open fun terminateInstanceOnFailure(`value`: IResolvable) { - unwrap(this).setTerminateInstanceOnFailure(`value`.let(IResolvable::unwrap)) + unwrap(this).setTerminateInstanceOnFailure(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnInfrastructureConfiguration( * configuration. */ override fun instanceMetadataOptions(instanceMetadataOptions: IResolvable) { - cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(IResolvable::unwrap)) + cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(IResolvable.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnInfrastructureConfiguration( * configuration. */ override fun instanceMetadataOptions(instanceMetadataOptions: InstanceMetadataOptionsProperty) { - cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(InstanceMetadataOptionsProperty::unwrap)) + cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(InstanceMetadataOptionsProperty.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public open class CfnInfrastructureConfiguration( * @param logging The logging configuration defines where Image Builder uploads your logs. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class CfnInfrastructureConfiguration( * @param logging The logging configuration defines where Image Builder uploads your logs. */ override fun logging(logging: LoggingProperty) { - cdkBuilder.logging(logging.let(LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(LoggingProperty.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnInfrastructureConfiguration( * @param resourceTags The tags attached to the resource created by Image Builder. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -737,7 +737,7 @@ public open class CfnInfrastructureConfiguration( * infrastructure configuration. */ override fun terminateInstanceOnFailure(terminateInstanceOnFailure: IResolvable) { - cdkBuilder.terminateInstanceOnFailure(terminateInstanceOnFailure.let(IResolvable::unwrap)) + cdkBuilder.terminateInstanceOnFailure(terminateInstanceOnFailure.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.imagebuilder.CfnInfrastructureConfiguration @@ -999,14 +999,14 @@ public open class CfnInfrastructureConfiguration( * @param s3Logs The Amazon S3 logging configuration. */ override fun s3Logs(s3Logs: IResolvable) { - cdkBuilder.s3Logs(s3Logs.let(IResolvable::unwrap)) + cdkBuilder.s3Logs(s3Logs.let(IResolvable.Companion::unwrap)) } /** * @param s3Logs The Amazon S3 logging configuration. */ override fun s3Logs(s3Logs: S3LogsProperty) { - cdkBuilder.s3Logs(s3Logs.let(S3LogsProperty::unwrap)) + cdkBuilder.s3Logs(s3Logs.let(S3LogsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfigurationProps.kt index 85082bd610..25fa20ad9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnInfrastructureConfigurationProps.kt @@ -286,7 +286,7 @@ public interface CfnInfrastructureConfigurationProps { * configuration. */ override fun instanceMetadataOptions(instanceMetadataOptions: IResolvable) { - cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(IResolvable::unwrap)) + cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(IResolvable.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public interface CfnInfrastructureConfigurationProps { */ override fun instanceMetadataOptions(instanceMetadataOptions: CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty) { - cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty::unwrap)) + cdkBuilder.instanceMetadataOptions(instanceMetadataOptions.let(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Companion::unwrap)) } /** @@ -340,14 +340,14 @@ public interface CfnInfrastructureConfigurationProps { * @param logging The logging configuration defines where Image Builder uploads your logs. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** * @param logging The logging configuration defines where Image Builder uploads your logs. */ override fun logging(logging: CfnInfrastructureConfiguration.LoggingProperty) { - cdkBuilder.logging(logging.let(CfnInfrastructureConfiguration.LoggingProperty::unwrap)) + cdkBuilder.logging(logging.let(CfnInfrastructureConfiguration.LoggingProperty.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface CfnInfrastructureConfigurationProps { * @param resourceTags The tags attached to the resource created by Image Builder. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface CfnInfrastructureConfigurationProps { * infrastructure configuration. */ override fun terminateInstanceOnFailure(terminateInstanceOnFailure: IResolvable) { - cdkBuilder.terminateInstanceOnFailure(terminateInstanceOnFailure.let(IResolvable::unwrap)) + cdkBuilder.terminateInstanceOnFailure(terminateInstanceOnFailure.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicy.kt index d04d21bf74..62859c02cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicy.kt @@ -94,8 +94,8 @@ public open class CfnLifecyclePolicy( id: String, props: CfnLifecyclePolicyProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLifecyclePolicyProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLifecyclePolicyProps.Companion::unwrap)) ) public constructor( @@ -142,7 +142,7 @@ public open class CfnLifecyclePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnLifecyclePolicy( * Configuration details for the lifecycle policy rules. */ public open fun policyDetails(`value`: IResolvable) { - unwrap(this).setPolicyDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicyDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,14 +190,14 @@ public open class CfnLifecyclePolicy( * Selection criteria for the resources that the lifecycle policy applies to. */ public open fun resourceSelection(`value`: IResolvable) { - unwrap(this).setResourceSelection(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceSelection(`value`.let(IResolvable.Companion::unwrap)) } /** * Selection criteria for the resources that the lifecycle policy applies to. */ public open fun resourceSelection(`value`: ResourceSelectionProperty) { - unwrap(this).setResourceSelection(`value`.let(ResourceSelectionProperty::unwrap)) + unwrap(this).setResourceSelection(`value`.let(ResourceSelectionProperty.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnLifecyclePolicy( * @param policyDetails Configuration details for the lifecycle policy rules. */ override fun policyDetails(policyDetails: IResolvable) { - cdkBuilder.policyDetails(policyDetails.let(IResolvable::unwrap)) + cdkBuilder.policyDetails(policyDetails.let(IResolvable.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CfnLifecyclePolicy( * applies to. */ override fun resourceSelection(resourceSelection: IResolvable) { - cdkBuilder.resourceSelection(resourceSelection.let(IResolvable::unwrap)) + cdkBuilder.resourceSelection(resourceSelection.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnLifecyclePolicy( * applies to. */ override fun resourceSelection(resourceSelection: ResourceSelectionProperty) { - cdkBuilder.resourceSelection(resourceSelection.let(ResourceSelectionProperty::unwrap)) + cdkBuilder.resourceSelection(resourceSelection.let(ResourceSelectionProperty.Companion::unwrap)) } /** @@ -584,14 +584,14 @@ public open class CfnLifecyclePolicy( * @param includeResources Specifies the resources that the lifecycle policy applies to. */ override fun includeResources(includeResources: IResolvable) { - cdkBuilder.includeResources(includeResources.let(IResolvable::unwrap)) + cdkBuilder.includeResources(includeResources.let(IResolvable.Companion::unwrap)) } /** * @param includeResources Specifies the resources that the lifecycle policy applies to. */ override fun includeResources(includeResources: IncludeResourcesProperty) { - cdkBuilder.includeResources(includeResources.let(IncludeResourcesProperty::unwrap)) + cdkBuilder.includeResources(includeResources.let(IncludeResourcesProperty.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public open class CfnLifecyclePolicy( * @param isPublic Configures whether public AMIs are excluded from the lifecycle action. */ override fun isPublic(isPublic: IResolvable) { - cdkBuilder.isPublic(isPublic.let(IResolvable::unwrap)) + cdkBuilder.isPublic(isPublic.let(IResolvable.Companion::unwrap)) } /** @@ -806,7 +806,7 @@ public open class CfnLifecyclePolicy( * recent resources from lifecycle actions. */ override fun lastLaunched(lastLaunched: IResolvable) { - cdkBuilder.lastLaunched(lastLaunched.let(IResolvable::unwrap)) + cdkBuilder.lastLaunched(lastLaunched.let(IResolvable.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnLifecyclePolicy( * recent resources from lifecycle actions. */ override fun lastLaunched(lastLaunched: LastLaunchedProperty) { - cdkBuilder.lastLaunched(lastLaunched.let(LastLaunchedProperty::unwrap)) + cdkBuilder.lastLaunched(lastLaunched.let(LastLaunchedProperty.Companion::unwrap)) } /** @@ -858,7 +858,7 @@ public open class CfnLifecyclePolicy( * have them. */ override fun tagMap(tagMap: IResolvable) { - cdkBuilder.tagMap(tagMap.let(IResolvable::unwrap)) + cdkBuilder.tagMap(tagMap.let(IResolvable.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public open class CfnLifecyclePolicy( * from the lifecycle action. */ override fun amis(amis: IResolvable) { - cdkBuilder.amis(amis.let(IResolvable::unwrap)) + cdkBuilder.amis(amis.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnLifecyclePolicy( * from the lifecycle action. */ override fun amis(amis: AmiExclusionRulesProperty) { - cdkBuilder.amis(amis.let(AmiExclusionRulesProperty::unwrap)) + cdkBuilder.amis(amis.let(AmiExclusionRulesProperty.Companion::unwrap)) } /** @@ -1051,7 +1051,7 @@ public open class CfnLifecyclePolicy( * Image Builder image resources that have them. */ override fun tagMap(tagMap: IResolvable) { - cdkBuilder.tagMap(tagMap.let(IResolvable::unwrap)) + cdkBuilder.tagMap(tagMap.let(IResolvable.Companion::unwrap)) } /** @@ -1416,7 +1416,7 @@ public open class CfnLifecyclePolicy( * @param amis Specifies whether the lifecycle action should apply to distributed AMIs. */ override fun amis(amis: IResolvable) { - cdkBuilder.amis(amis.let(IResolvable::unwrap)) + cdkBuilder.amis(amis.let(IResolvable.Companion::unwrap)) } /** @@ -1432,7 +1432,7 @@ public open class CfnLifecyclePolicy( * containers. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -1448,7 +1448,7 @@ public open class CfnLifecyclePolicy( * associated with distributed AMIs. */ override fun snapshots(snapshots: IResolvable) { - cdkBuilder.snapshots(snapshots.let(IResolvable::unwrap)) + cdkBuilder.snapshots(snapshots.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1765,14 +1765,14 @@ public open class CfnLifecyclePolicy( * @param action Configuration details for the policy action. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action Configuration details for the policy action. */ override fun action(action: ActionProperty) { - cdkBuilder.action(action.let(ActionProperty::unwrap)) + cdkBuilder.action(action.let(ActionProperty.Companion::unwrap)) } /** @@ -1788,7 +1788,7 @@ public open class CfnLifecyclePolicy( * policy actions. */ override fun exclusionRules(exclusionRules: IResolvable) { - cdkBuilder.exclusionRules(exclusionRules.let(IResolvable::unwrap)) + cdkBuilder.exclusionRules(exclusionRules.let(IResolvable.Companion::unwrap)) } /** @@ -1796,7 +1796,7 @@ public open class CfnLifecyclePolicy( * policy actions. */ override fun exclusionRules(exclusionRules: ExclusionRulesProperty) { - cdkBuilder.exclusionRules(exclusionRules.let(ExclusionRulesProperty::unwrap)) + cdkBuilder.exclusionRules(exclusionRules.let(ExclusionRulesProperty.Companion::unwrap)) } /** @@ -1812,14 +1812,14 @@ public open class CfnLifecyclePolicy( * @param filter Specifies the resources that the lifecycle policy applies to. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** * @param filter Specifies the resources that the lifecycle policy applies to. */ override fun filter(filter: FilterProperty) { - cdkBuilder.filter(filter.let(FilterProperty::unwrap)) + cdkBuilder.filter(filter.let(FilterProperty.Companion::unwrap)) } /** @@ -2076,7 +2076,7 @@ public open class CfnLifecyclePolicy( * that the lifecycle policy applies to. */ override fun recipes(recipes: IResolvable) { - cdkBuilder.recipes(recipes.let(IResolvable::unwrap)) + cdkBuilder.recipes(recipes.let(IResolvable.Companion::unwrap)) } /** @@ -2098,7 +2098,7 @@ public open class CfnLifecyclePolicy( * image resources that the lifecycle policy applies to. */ override fun tagMap(tagMap: IResolvable) { - cdkBuilder.tagMap(tagMap.let(IResolvable::unwrap)) + cdkBuilder.tagMap(tagMap.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicyProps.kt index 638d91f402..542e77c530 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnLifecyclePolicyProps.kt @@ -240,7 +240,7 @@ public interface CfnLifecyclePolicyProps { * @param policyDetails Configuration details for the lifecycle policy rules. */ override fun policyDetails(policyDetails: IResolvable) { - cdkBuilder.policyDetails(policyDetails.let(IResolvable::unwrap)) + cdkBuilder.policyDetails(policyDetails.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface CfnLifecyclePolicyProps { * applies to. */ override fun resourceSelection(resourceSelection: IResolvable) { - cdkBuilder.resourceSelection(resourceSelection.let(IResolvable::unwrap)) + cdkBuilder.resourceSelection(resourceSelection.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CfnLifecyclePolicyProps { */ override fun resourceSelection(resourceSelection: CfnLifecyclePolicy.ResourceSelectionProperty) { - cdkBuilder.resourceSelection(resourceSelection.let(CfnLifecyclePolicy.ResourceSelectionProperty::unwrap)) + cdkBuilder.resourceSelection(resourceSelection.let(CfnLifecyclePolicy.ResourceSelectionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnWorkflow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnWorkflow.kt index 2c4880c204..1d031892e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnWorkflow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/imagebuilder/CfnWorkflow.kt @@ -46,8 +46,8 @@ public open class CfnWorkflow( id: String, props: CfnWorkflowProps, ) : - this(software.amazon.awscdk.services.imagebuilder.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkflowProps::unwrap)) + this(software.amazon.awscdk.services.imagebuilder.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkflowProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnWorkflow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTarget.kt index 6ba1a8397d..ee71ca54da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTarget.kt @@ -34,7 +34,7 @@ public open class CfnAssessmentTarget( cdkObject: software.amazon.awscdk.services.inspector.CfnAssessmentTarget, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.inspector.CfnAssessmentTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.inspector.CfnAssessmentTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -43,8 +43,8 @@ public open class CfnAssessmentTarget( id: String, props: CfnAssessmentTargetProps, ) : - this(software.amazon.awscdk.services.inspector.CfnAssessmentTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssessmentTargetProps::unwrap)) + this(software.amazon.awscdk.services.inspector.CfnAssessmentTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssessmentTargetProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnAssessmentTarget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplate.kt index b51b26716b..ca0cccaacf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplate.kt @@ -42,8 +42,8 @@ public open class CfnAssessmentTemplate( id: String, props: CfnAssessmentTemplateProps, ) : - this(software.amazon.awscdk.services.inspector.CfnAssessmentTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssessmentTemplateProps::unwrap)) + this(software.amazon.awscdk.services.inspector.CfnAssessmentTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssessmentTemplateProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnAssessmentTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnAssessmentTemplate( * assessment run that uses this assessment template. */ public open fun userAttributesForFindings(`value`: IResolvable) { - unwrap(this).setUserAttributesForFindings(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserAttributesForFindings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnAssessmentTemplate( * finding that is generated by the assessment run that uses this assessment template. */ override fun userAttributesForFindings(userAttributesForFindings: IResolvable) { - cdkBuilder.userAttributesForFindings(userAttributesForFindings.let(IResolvable::unwrap)) + cdkBuilder.userAttributesForFindings(userAttributesForFindings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplateProps.kt index 16d695b53d..f1982bfedb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnAssessmentTemplateProps.kt @@ -187,7 +187,7 @@ public interface CfnAssessmentTemplateProps { * Within an assessment template, each key must be unique. */ override fun userAttributesForFindings(userAttributesForFindings: IResolvable) { - cdkBuilder.userAttributesForFindings(userAttributesForFindings.let(IResolvable::unwrap)) + cdkBuilder.userAttributesForFindings(userAttributesForFindings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroup.kt index 53d771fd78..c0f2143c6b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroup.kt @@ -45,8 +45,8 @@ public open class CfnResourceGroup( id: String, props: CfnResourceGroupProps, ) : - this(software.amazon.awscdk.services.inspector.CfnResourceGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceGroupProps::unwrap)) + this(software.amazon.awscdk.services.inspector.CfnResourceGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceGroupProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class CfnResourceGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -79,7 +79,7 @@ public open class CfnResourceGroup( * The tags (key and value pairs) that will be associated with the resource group. */ public open fun resourceGroupTags(`value`: IResolvable) { - unwrap(this).setResourceGroupTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceGroupTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnResourceGroup( * resource group. */ override fun resourceGroupTags(resourceGroupTags: IResolvable) { - cdkBuilder.resourceGroupTags(resourceGroupTags.let(IResolvable::unwrap)) + cdkBuilder.resourceGroupTags(resourceGroupTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroupProps.kt index 74634af96f..a09b53c471 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspector/CfnResourceGroupProps.kt @@ -86,7 +86,7 @@ public interface CfnResourceGroupProps { * . */ override fun resourceGroupTags(resourceGroupTags: IResolvable) { - cdkBuilder.resourceGroupTags(resourceGroupTags.let(IResolvable::unwrap)) + cdkBuilder.resourceGroupTags(resourceGroupTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfiguration.kt index 9628ae9c03..63357c26d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfiguration.kt @@ -74,7 +74,7 @@ public open class CfnCisScanConfiguration( cdkObject: software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -83,8 +83,8 @@ public open class CfnCisScanConfiguration( id: String, props: CfnCisScanConfigurationProps, ) : - this(software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCisScanConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCisScanConfigurationProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnCisScanConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,14 +135,14 @@ public open class CfnCisScanConfiguration( * The CIS scan configuration's schedule. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * The CIS scan configuration's schedule. */ public open fun schedule(`value`: ScheduleProperty) { - unwrap(this).setSchedule(`value`.let(ScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(ScheduleProperty.Companion::unwrap)) } /** @@ -186,14 +186,14 @@ public open class CfnCisScanConfiguration( * The CIS scan configuration's targets. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** * The CIS scan configuration's targets. */ public open fun targets(`value`: CisTargetsProperty) { - unwrap(this).setTargets(`value`.let(CisTargetsProperty::unwrap)) + unwrap(this).setTargets(`value`.let(CisTargetsProperty.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnCisScanConfiguration( * @param schedule The CIS scan configuration's schedule. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnCisScanConfiguration( * @param schedule The CIS scan configuration's schedule. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnCisScanConfiguration( * @param targets The CIS scan configuration's targets. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnCisScanConfiguration( * @param targets The CIS scan configuration's targets. */ override fun targets(targets: CisTargetsProperty) { - cdkBuilder.targets(targets.let(CisTargetsProperty::unwrap)) + cdkBuilder.targets(targets.let(CisTargetsProperty.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public open class CfnCisScanConfiguration( * @param targetResourceTags The CIS target resource tags. */ override fun targetResourceTags(targetResourceTags: IResolvable) { - cdkBuilder.targetResourceTags(targetResourceTags.let(IResolvable::unwrap)) + cdkBuilder.targetResourceTags(targetResourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -606,14 +606,14 @@ public open class CfnCisScanConfiguration( * @param startTime The schedule start time. */ override fun startTime(startTime: IResolvable) { - cdkBuilder.startTime(startTime.let(IResolvable::unwrap)) + cdkBuilder.startTime(startTime.let(IResolvable.Companion::unwrap)) } /** * @param startTime The schedule start time. */ override fun startTime(startTime: TimeProperty) { - cdkBuilder.startTime(startTime.let(TimeProperty::unwrap)) + cdkBuilder.startTime(startTime.let(TimeProperty.Companion::unwrap)) } /** @@ -738,14 +738,14 @@ public open class CfnCisScanConfiguration( * @param startTime The monthly schedule's start time. */ override fun startTime(startTime: IResolvable) { - cdkBuilder.startTime(startTime.let(IResolvable::unwrap)) + cdkBuilder.startTime(startTime.let(IResolvable.Companion::unwrap)) } /** * @param startTime The monthly schedule's start time. */ override fun startTime(startTime: TimeProperty) { - cdkBuilder.startTime(startTime.let(TimeProperty::unwrap)) + cdkBuilder.startTime(startTime.let(TimeProperty.Companion::unwrap)) } /** @@ -937,14 +937,14 @@ public open class CfnCisScanConfiguration( * @param daily A daily schedule. */ override fun daily(daily: IResolvable) { - cdkBuilder.daily(daily.let(IResolvable::unwrap)) + cdkBuilder.daily(daily.let(IResolvable.Companion::unwrap)) } /** * @param daily A daily schedule. */ override fun daily(daily: DailyScheduleProperty) { - cdkBuilder.daily(daily.let(DailyScheduleProperty::unwrap)) + cdkBuilder.daily(daily.let(DailyScheduleProperty.Companion::unwrap)) } /** @@ -959,14 +959,14 @@ public open class CfnCisScanConfiguration( * @param monthly A monthly schedule. */ override fun monthly(monthly: IResolvable) { - cdkBuilder.monthly(monthly.let(IResolvable::unwrap)) + cdkBuilder.monthly(monthly.let(IResolvable.Companion::unwrap)) } /** * @param monthly A monthly schedule. */ override fun monthly(monthly: MonthlyScheduleProperty) { - cdkBuilder.monthly(monthly.let(MonthlyScheduleProperty::unwrap)) + cdkBuilder.monthly(monthly.let(MonthlyScheduleProperty.Companion::unwrap)) } /** @@ -988,14 +988,14 @@ public open class CfnCisScanConfiguration( * @param weekly A weekly schedule. */ override fun weekly(weekly: IResolvable) { - cdkBuilder.weekly(weekly.let(IResolvable::unwrap)) + cdkBuilder.weekly(weekly.let(IResolvable.Companion::unwrap)) } /** * @param weekly A weekly schedule. */ override fun weekly(weekly: WeeklyScheduleProperty) { - cdkBuilder.weekly(weekly.let(WeeklyScheduleProperty::unwrap)) + cdkBuilder.weekly(weekly.let(WeeklyScheduleProperty.Companion::unwrap)) } /** @@ -1258,14 +1258,14 @@ public open class CfnCisScanConfiguration( * @param startTime The weekly schedule's start time. */ override fun startTime(startTime: IResolvable) { - cdkBuilder.startTime(startTime.let(IResolvable::unwrap)) + cdkBuilder.startTime(startTime.let(IResolvable.Companion::unwrap)) } /** * @param startTime The weekly schedule's start time. */ override fun startTime(startTime: TimeProperty) { - cdkBuilder.startTime(startTime.let(TimeProperty::unwrap)) + cdkBuilder.startTime(startTime.let(TimeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfigurationProps.kt index 54731439bf..cdc58e48fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnCisScanConfigurationProps.kt @@ -169,14 +169,14 @@ public interface CfnCisScanConfigurationProps { * @param schedule The CIS scan configuration's schedule. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule The CIS scan configuration's schedule. */ override fun schedule(schedule: CfnCisScanConfiguration.ScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnCisScanConfiguration.ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnCisScanConfiguration.ScheduleProperty.Companion::unwrap)) } /** @@ -205,14 +205,14 @@ public interface CfnCisScanConfigurationProps { * @param targets The CIS scan configuration's targets. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** * @param targets The CIS scan configuration's targets. */ override fun targets(targets: CfnCisScanConfiguration.CisTargetsProperty) { - cdkBuilder.targets(targets.let(CfnCisScanConfiguration.CisTargetsProperty::unwrap)) + cdkBuilder.targets(targets.let(CfnCisScanConfiguration.CisTargetsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilter.kt index 74e01a33c6..2ea17f797c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilter.kt @@ -195,8 +195,8 @@ public open class CfnFilter( id: String, props: CfnFilterProps, ) : - this(software.amazon.awscdk.services.inspectorv2.CfnFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFilterProps::unwrap)) + this(software.amazon.awscdk.services.inspectorv2.CfnFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFilterProps.Companion::unwrap)) ) public constructor( @@ -244,14 +244,14 @@ public open class CfnFilter( * Details on the filter criteria associated with this filter. */ public open fun filterCriteria(`value`: IResolvable) { - unwrap(this).setFilterCriteria(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilterCriteria(`value`.let(IResolvable.Companion::unwrap)) } /** * Details on the filter criteria associated with this filter. */ public open fun filterCriteria(`value`: FilterCriteriaProperty) { - unwrap(this).setFilterCriteria(`value`.let(FilterCriteriaProperty::unwrap)) + unwrap(this).setFilterCriteria(`value`.let(FilterCriteriaProperty.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnFilter( * @param filterCriteria Details on the filter criteria associated with this filter. */ override fun filterCriteria(filterCriteria: IResolvable) { - cdkBuilder.filterCriteria(filterCriteria.let(IResolvable::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class CfnFilter( * @param filterCriteria Details on the filter criteria associated with this filter. */ override fun filterCriteria(filterCriteria: FilterCriteriaProperty) { - cdkBuilder.filterCriteria(filterCriteria.let(FilterCriteriaProperty::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(FilterCriteriaProperty.Companion::unwrap)) } /** @@ -1425,7 +1425,7 @@ public open class CfnFilter( * @param awsAccountId Details of the AWS account IDs used to filter findings. */ override fun awsAccountId(awsAccountId: IResolvable) { - cdkBuilder.awsAccountId(awsAccountId.let(IResolvable::unwrap)) + cdkBuilder.awsAccountId(awsAccountId.let(IResolvable.Companion::unwrap)) } /** @@ -1445,7 +1445,7 @@ public open class CfnFilter( * @param componentId Details of the component IDs used to filter findings. */ override fun componentId(componentId: IResolvable) { - cdkBuilder.componentId(componentId.let(IResolvable::unwrap)) + cdkBuilder.componentId(componentId.let(IResolvable.Companion::unwrap)) } /** @@ -1464,7 +1464,7 @@ public open class CfnFilter( * @param componentType Details of the component types used to filter findings. */ override fun componentType(componentType: IResolvable) { - cdkBuilder.componentType(componentType.let(IResolvable::unwrap)) + cdkBuilder.componentType(componentType.let(IResolvable.Companion::unwrap)) } /** @@ -1485,7 +1485,7 @@ public open class CfnFilter( * findings. */ override fun ec2InstanceImageId(ec2InstanceImageId: IResolvable) { - cdkBuilder.ec2InstanceImageId(ec2InstanceImageId.let(IResolvable::unwrap)) + cdkBuilder.ec2InstanceImageId(ec2InstanceImageId.let(IResolvable.Companion::unwrap)) } /** @@ -1508,7 +1508,7 @@ public open class CfnFilter( * findings. */ override fun ec2InstanceSubnetId(ec2InstanceSubnetId: IResolvable) { - cdkBuilder.ec2InstanceSubnetId(ec2InstanceSubnetId.let(IResolvable::unwrap)) + cdkBuilder.ec2InstanceSubnetId(ec2InstanceSubnetId.let(IResolvable.Companion::unwrap)) } /** @@ -1530,7 +1530,7 @@ public open class CfnFilter( * @param ec2InstanceVpcId Details of the Amazon EC2 instance VPC IDs used to filter findings. */ override fun ec2InstanceVpcId(ec2InstanceVpcId: IResolvable) { - cdkBuilder.ec2InstanceVpcId(ec2InstanceVpcId.let(IResolvable::unwrap)) + cdkBuilder.ec2InstanceVpcId(ec2InstanceVpcId.let(IResolvable.Companion::unwrap)) } /** @@ -1551,7 +1551,7 @@ public open class CfnFilter( * filter findings. */ override fun ecrImageArchitecture(ecrImageArchitecture: IResolvable) { - cdkBuilder.ecrImageArchitecture(ecrImageArchitecture.let(IResolvable::unwrap)) + cdkBuilder.ecrImageArchitecture(ecrImageArchitecture.let(IResolvable.Companion::unwrap)) } /** @@ -1573,7 +1573,7 @@ public open class CfnFilter( * @param ecrImageHash Details of the Amazon ECR image hashes used to filter findings. */ override fun ecrImageHash(ecrImageHash: IResolvable) { - cdkBuilder.ecrImageHash(ecrImageHash.let(IResolvable::unwrap)) + cdkBuilder.ecrImageHash(ecrImageHash.let(IResolvable.Companion::unwrap)) } /** @@ -1594,7 +1594,7 @@ public open class CfnFilter( * findings. */ override fun ecrImagePushedAt(ecrImagePushedAt: IResolvable) { - cdkBuilder.ecrImagePushedAt(ecrImagePushedAt.let(IResolvable::unwrap)) + cdkBuilder.ecrImagePushedAt(ecrImagePushedAt.let(IResolvable.Companion::unwrap)) } /** @@ -1616,7 +1616,7 @@ public open class CfnFilter( * @param ecrImageRegistry Details on the Amazon ECR registry used to filter findings. */ override fun ecrImageRegistry(ecrImageRegistry: IResolvable) { - cdkBuilder.ecrImageRegistry(ecrImageRegistry.let(IResolvable::unwrap)) + cdkBuilder.ecrImageRegistry(ecrImageRegistry.let(IResolvable.Companion::unwrap)) } /** @@ -1637,7 +1637,7 @@ public open class CfnFilter( * filter findings. */ override fun ecrImageRepositoryName(ecrImageRepositoryName: IResolvable) { - cdkBuilder.ecrImageRepositoryName(ecrImageRepositoryName.let(IResolvable::unwrap)) + cdkBuilder.ecrImageRepositoryName(ecrImageRepositoryName.let(IResolvable.Companion::unwrap)) } /** @@ -1659,7 +1659,7 @@ public open class CfnFilter( * @param ecrImageTags The tags attached to the Amazon ECR container image. */ override fun ecrImageTags(ecrImageTags: IResolvable) { - cdkBuilder.ecrImageTags(ecrImageTags.let(IResolvable::unwrap)) + cdkBuilder.ecrImageTags(ecrImageTags.let(IResolvable.Companion::unwrap)) } /** @@ -1679,7 +1679,7 @@ public open class CfnFilter( * @param findingArn Details on the finding ARNs used to filter findings. */ override fun findingArn(findingArn: IResolvable) { - cdkBuilder.findingArn(findingArn.let(IResolvable::unwrap)) + cdkBuilder.findingArn(findingArn.let(IResolvable.Companion::unwrap)) } /** @@ -1698,7 +1698,7 @@ public open class CfnFilter( * @param findingStatus Details on the finding status types used to filter findings. */ override fun findingStatus(findingStatus: IResolvable) { - cdkBuilder.findingStatus(findingStatus.let(IResolvable::unwrap)) + cdkBuilder.findingStatus(findingStatus.let(IResolvable.Companion::unwrap)) } /** @@ -1718,7 +1718,7 @@ public open class CfnFilter( * @param findingType Details on the finding types used to filter findings. */ override fun findingType(findingType: IResolvable) { - cdkBuilder.findingType(findingType.let(IResolvable::unwrap)) + cdkBuilder.findingType(findingType.let(IResolvable.Companion::unwrap)) } /** @@ -1738,7 +1738,7 @@ public open class CfnFilter( * findings. */ override fun firstObservedAt(firstObservedAt: IResolvable) { - cdkBuilder.firstObservedAt(firstObservedAt.let(IResolvable::unwrap)) + cdkBuilder.firstObservedAt(firstObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -1760,7 +1760,7 @@ public open class CfnFilter( * @param inspectorScore The Amazon Inspector score to filter on. */ override fun inspectorScore(inspectorScore: IResolvable) { - cdkBuilder.inspectorScore(inspectorScore.let(IResolvable::unwrap)) + cdkBuilder.inspectorScore(inspectorScore.let(IResolvable.Companion::unwrap)) } /** @@ -1781,7 +1781,7 @@ public open class CfnFilter( * findings. */ override fun lastObservedAt(lastObservedAt: IResolvable) { - cdkBuilder.lastObservedAt(lastObservedAt.let(IResolvable::unwrap)) + cdkBuilder.lastObservedAt(lastObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -1803,7 +1803,7 @@ public open class CfnFilter( * @param networkProtocol Details on network protocol used to filter findings. */ override fun networkProtocol(networkProtocol: IResolvable) { - cdkBuilder.networkProtocol(networkProtocol.let(IResolvable::unwrap)) + cdkBuilder.networkProtocol(networkProtocol.let(IResolvable.Companion::unwrap)) } /** @@ -1823,7 +1823,7 @@ public open class CfnFilter( * @param portRange Details on the port ranges used to filter findings. */ override fun portRange(portRange: IResolvable) { - cdkBuilder.portRange(portRange.let(IResolvable::unwrap)) + cdkBuilder.portRange(portRange.let(IResolvable.Companion::unwrap)) } /** @@ -1843,7 +1843,7 @@ public open class CfnFilter( * findings. */ override fun relatedVulnerabilities(relatedVulnerabilities: IResolvable) { - cdkBuilder.relatedVulnerabilities(relatedVulnerabilities.let(IResolvable::unwrap)) + cdkBuilder.relatedVulnerabilities(relatedVulnerabilities.let(IResolvable.Companion::unwrap)) } /** @@ -1865,7 +1865,7 @@ public open class CfnFilter( * @param resourceId Details on the resource IDs used to filter findings. */ override fun resourceId(resourceId: IResolvable) { - cdkBuilder.resourceId(resourceId.let(IResolvable::unwrap)) + cdkBuilder.resourceId(resourceId.let(IResolvable.Companion::unwrap)) } /** @@ -1884,7 +1884,7 @@ public open class CfnFilter( * @param resourceTags Details on the resource tags used to filter findings. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -1904,7 +1904,7 @@ public open class CfnFilter( * @param resourceType Details on the resource types used to filter findings. */ override fun resourceType(resourceType: IResolvable) { - cdkBuilder.resourceType(resourceType.let(IResolvable::unwrap)) + cdkBuilder.resourceType(resourceType.let(IResolvable.Companion::unwrap)) } /** @@ -1924,7 +1924,7 @@ public open class CfnFilter( * @param severity Details on the severity used to filter findings. */ override fun severity(severity: IResolvable) { - cdkBuilder.severity(severity.let(IResolvable::unwrap)) + cdkBuilder.severity(severity.let(IResolvable.Companion::unwrap)) } /** @@ -1943,7 +1943,7 @@ public open class CfnFilter( * @param title Details on the finding title used to filter findings. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** @@ -1963,7 +1963,7 @@ public open class CfnFilter( * findings. */ override fun updatedAt(updatedAt: IResolvable) { - cdkBuilder.updatedAt(updatedAt.let(IResolvable::unwrap)) + cdkBuilder.updatedAt(updatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -1984,7 +1984,7 @@ public open class CfnFilter( * @param vendorSeverity Details on the vendor severity used to filter findings. */ override fun vendorSeverity(vendorSeverity: IResolvable) { - cdkBuilder.vendorSeverity(vendorSeverity.let(IResolvable::unwrap)) + cdkBuilder.vendorSeverity(vendorSeverity.let(IResolvable.Companion::unwrap)) } /** @@ -2004,7 +2004,7 @@ public open class CfnFilter( * @param vulnerabilityId Details on the vulnerability ID used to filter findings. */ override fun vulnerabilityId(vulnerabilityId: IResolvable) { - cdkBuilder.vulnerabilityId(vulnerabilityId.let(IResolvable::unwrap)) + cdkBuilder.vulnerabilityId(vulnerabilityId.let(IResolvable.Companion::unwrap)) } /** @@ -2024,7 +2024,7 @@ public open class CfnFilter( * @param vulnerabilitySource Details on the vulnerability score to filter findings by. */ override fun vulnerabilitySource(vulnerabilitySource: IResolvable) { - cdkBuilder.vulnerabilitySource(vulnerabilitySource.let(IResolvable::unwrap)) + cdkBuilder.vulnerabilitySource(vulnerabilitySource.let(IResolvable.Companion::unwrap)) } /** @@ -2044,7 +2044,7 @@ public open class CfnFilter( * @param vulnerablePackages Details on the vulnerable packages used to filter findings. */ override fun vulnerablePackages(vulnerablePackages: IResolvable) { - cdkBuilder.vulnerablePackages(vulnerablePackages.let(IResolvable::unwrap)) + cdkBuilder.vulnerablePackages(vulnerablePackages.let(IResolvable.Companion::unwrap)) } /** @@ -2752,7 +2752,7 @@ public open class CfnFilter( * filter on. */ override fun architecture(architecture: IResolvable) { - cdkBuilder.architecture(architecture.let(IResolvable::unwrap)) + cdkBuilder.architecture(architecture.let(IResolvable.Companion::unwrap)) } /** @@ -2760,7 +2760,7 @@ public open class CfnFilter( * filter on. */ override fun architecture(architecture: StringFilterProperty) { - cdkBuilder.architecture(architecture.let(StringFilterProperty::unwrap)) + cdkBuilder.architecture(architecture.let(StringFilterProperty.Companion::unwrap)) } /** @@ -2776,14 +2776,14 @@ public open class CfnFilter( * @param epoch An object that contains details on the package epoch to filter on. */ override fun epoch(epoch: IResolvable) { - cdkBuilder.epoch(epoch.let(IResolvable::unwrap)) + cdkBuilder.epoch(epoch.let(IResolvable.Companion::unwrap)) } /** * @param epoch An object that contains details on the package epoch to filter on. */ override fun epoch(epoch: NumberFilterProperty) { - cdkBuilder.epoch(epoch.let(NumberFilterProperty::unwrap)) + cdkBuilder.epoch(epoch.let(NumberFilterProperty.Companion::unwrap)) } /** @@ -2798,14 +2798,14 @@ public open class CfnFilter( * @param name An object that contains details on the name of the package to filter on. */ override fun name(name: IResolvable) { - cdkBuilder.name(name.let(IResolvable::unwrap)) + cdkBuilder.name(name.let(IResolvable.Companion::unwrap)) } /** * @param name An object that contains details on the name of the package to filter on. */ override fun name(name: StringFilterProperty) { - cdkBuilder.name(name.let(StringFilterProperty::unwrap)) + cdkBuilder.name(name.let(StringFilterProperty.Companion::unwrap)) } /** @@ -2820,14 +2820,14 @@ public open class CfnFilter( * @param release An object that contains details on the package release to filter on. */ override fun release(release: IResolvable) { - cdkBuilder.release(release.let(IResolvable::unwrap)) + cdkBuilder.release(release.let(IResolvable.Companion::unwrap)) } /** * @param release An object that contains details on the package release to filter on. */ override fun release(release: StringFilterProperty) { - cdkBuilder.release(release.let(StringFilterProperty::unwrap)) + cdkBuilder.release(release.let(StringFilterProperty.Companion::unwrap)) } /** @@ -2843,7 +2843,7 @@ public open class CfnFilter( * on. */ override fun sourceLayerHash(sourceLayerHash: IResolvable) { - cdkBuilder.sourceLayerHash(sourceLayerHash.let(IResolvable::unwrap)) + cdkBuilder.sourceLayerHash(sourceLayerHash.let(IResolvable.Companion::unwrap)) } /** @@ -2851,7 +2851,7 @@ public open class CfnFilter( * on. */ override fun sourceLayerHash(sourceLayerHash: StringFilterProperty) { - cdkBuilder.sourceLayerHash(sourceLayerHash.let(StringFilterProperty::unwrap)) + cdkBuilder.sourceLayerHash(sourceLayerHash.let(StringFilterProperty.Companion::unwrap)) } /** @@ -2867,14 +2867,14 @@ public open class CfnFilter( * @param version The package version to filter on. */ override fun version(version: IResolvable) { - cdkBuilder.version(version.let(IResolvable::unwrap)) + cdkBuilder.version(version.let(IResolvable.Companion::unwrap)) } /** * @param version The package version to filter on. */ override fun version(version: StringFilterProperty) { - cdkBuilder.version(version.let(StringFilterProperty::unwrap)) + cdkBuilder.version(version.let(StringFilterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilterProps.kt index d56dcefd3e..227bef3dce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/inspectorv2/CfnFilterProps.kt @@ -269,14 +269,14 @@ public interface CfnFilterProps { * @param filterCriteria Details on the filter criteria associated with this filter. */ override fun filterCriteria(filterCriteria: IResolvable) { - cdkBuilder.filterCriteria(filterCriteria.let(IResolvable::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(IResolvable.Companion::unwrap)) } /** * @param filterCriteria Details on the filter criteria associated with this filter. */ override fun filterCriteria(filterCriteria: CfnFilter.FilterCriteriaProperty) { - cdkBuilder.filterCriteria(filterCriteria.let(CfnFilter.FilterCriteriaProperty::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(CfnFilter.FilterCriteriaProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitor.kt index bdede57e4c..a3dcf16925 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitor.kt @@ -94,8 +94,8 @@ public open class CfnMonitor( id: String, props: CfnMonitorProps, ) : - this(software.amazon.awscdk.services.internetmonitor.CfnMonitor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMonitorProps::unwrap)) + this(software.amazon.awscdk.services.internetmonitor.CfnMonitor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMonitorProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnMonitor( * availability issue, across an application's geographies. */ public open fun healthEventsConfig(`value`: IResolvable) { - unwrap(this).setHealthEventsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthEventsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnMonitor( * availability issue, across an application's geographies. */ public open fun healthEventsConfig(`value`: HealthEventsConfigProperty) { - unwrap(this).setHealthEventsConfig(`value`.let(HealthEventsConfigProperty::unwrap)) + unwrap(this).setHealthEventsConfig(`value`.let(HealthEventsConfigProperty.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnMonitor( * of monitors, when you've set up cross-account sharing in Internet Monitor. */ public open fun includeLinkedAccounts(`value`: IResolvable) { - unwrap(this).setIncludeLinkedAccounts(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludeLinkedAccounts(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnMonitor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnMonitor( * limit) to another location, such as an Amazon S3 bucket. */ public open fun internetMeasurementsLogDelivery(`value`: IResolvable) { - unwrap(this).setInternetMeasurementsLogDelivery(`value`.let(IResolvable::unwrap)) + unwrap(this).setInternetMeasurementsLogDelivery(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnMonitor( */ public open fun internetMeasurementsLogDelivery(`value`: InternetMeasurementsLogDeliveryProperty) { - unwrap(this).setInternetMeasurementsLogDelivery(`value`.let(InternetMeasurementsLogDeliveryProperty::unwrap)) + unwrap(this).setInternetMeasurementsLogDelivery(`value`.let(InternetMeasurementsLogDeliveryProperty.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnMonitor( * The tags for a monitor, listed as a set of *key:value* pairs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public open class CfnMonitor( * overall performance or availability issue, across an application's geographies. */ override fun healthEventsConfig(healthEventsConfig: IResolvable) { - cdkBuilder.healthEventsConfig(healthEventsConfig.let(IResolvable::unwrap)) + cdkBuilder.healthEventsConfig(healthEventsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnMonitor( * overall performance or availability issue, across an application's geographies. */ override fun healthEventsConfig(healthEventsConfig: HealthEventsConfigProperty) { - cdkBuilder.healthEventsConfig(healthEventsConfig.let(HealthEventsConfigProperty::unwrap)) + cdkBuilder.healthEventsConfig(healthEventsConfig.let(HealthEventsConfigProperty.Companion::unwrap)) } /** @@ -893,7 +893,7 @@ public open class CfnMonitor( * Monitor. */ override fun includeLinkedAccounts(includeLinkedAccounts: IResolvable) { - cdkBuilder.includeLinkedAccounts(includeLinkedAccounts.let(IResolvable::unwrap)) + cdkBuilder.includeLinkedAccounts(includeLinkedAccounts.let(IResolvable.Companion::unwrap)) } /** @@ -909,7 +909,7 @@ public open class CfnMonitor( * bucket. */ override fun internetMeasurementsLogDelivery(internetMeasurementsLogDelivery: IResolvable) { - cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(IResolvable::unwrap)) + cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -926,7 +926,7 @@ public open class CfnMonitor( */ override fun internetMeasurementsLogDelivery(internetMeasurementsLogDelivery: InternetMeasurementsLogDeliveryProperty) { - cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(InternetMeasurementsLogDeliveryProperty::unwrap)) + cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(InternetMeasurementsLogDeliveryProperty.Companion::unwrap)) } /** @@ -1134,7 +1134,7 @@ public open class CfnMonitor( * @param tags The tags for a monitor, listed as a set of *key:value* pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1344,7 +1344,7 @@ public open class CfnMonitor( */ override fun availabilityLocalHealthEventsConfig(availabilityLocalHealthEventsConfig: IResolvable) { - cdkBuilder.availabilityLocalHealthEventsConfig(availabilityLocalHealthEventsConfig.let(IResolvable::unwrap)) + cdkBuilder.availabilityLocalHealthEventsConfig(availabilityLocalHealthEventsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1354,7 +1354,7 @@ public open class CfnMonitor( */ override fun availabilityLocalHealthEventsConfig(availabilityLocalHealthEventsConfig: LocalHealthEventsConfigProperty) { - cdkBuilder.availabilityLocalHealthEventsConfig(availabilityLocalHealthEventsConfig.let(LocalHealthEventsConfigProperty::unwrap)) + cdkBuilder.availabilityLocalHealthEventsConfig(availabilityLocalHealthEventsConfig.let(LocalHealthEventsConfigProperty.Companion::unwrap)) } /** @@ -1386,7 +1386,7 @@ public open class CfnMonitor( */ override fun performanceLocalHealthEventsConfig(performanceLocalHealthEventsConfig: IResolvable) { - cdkBuilder.performanceLocalHealthEventsConfig(performanceLocalHealthEventsConfig.let(IResolvable::unwrap)) + cdkBuilder.performanceLocalHealthEventsConfig(performanceLocalHealthEventsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1396,7 +1396,7 @@ public open class CfnMonitor( */ override fun performanceLocalHealthEventsConfig(performanceLocalHealthEventsConfig: LocalHealthEventsConfigProperty) { - cdkBuilder.performanceLocalHealthEventsConfig(performanceLocalHealthEventsConfig.let(LocalHealthEventsConfigProperty::unwrap)) + cdkBuilder.performanceLocalHealthEventsConfig(performanceLocalHealthEventsConfig.let(LocalHealthEventsConfigProperty.Companion::unwrap)) } /** @@ -1555,7 +1555,7 @@ public open class CfnMonitor( * internet measurements to Amazon S3. */ override fun s3Config(s3Config: IResolvable) { - cdkBuilder.s3Config(s3Config.let(IResolvable::unwrap)) + cdkBuilder.s3Config(s3Config.let(IResolvable.Companion::unwrap)) } /** @@ -1563,7 +1563,7 @@ public open class CfnMonitor( * internet measurements to Amazon S3. */ override fun s3Config(s3Config: S3ConfigProperty) { - cdkBuilder.s3Config(s3Config.let(S3ConfigProperty::unwrap)) + cdkBuilder.s3Config(s3Config.let(S3ConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitorProps.kt index 4b72fa7708..7ec7fc0daf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/internetmonitor/CfnMonitorProps.kt @@ -527,7 +527,7 @@ public interface CfnMonitorProps { * in the Internet Monitor section of the *CloudWatch User Guide* . */ override fun healthEventsConfig(healthEventsConfig: IResolvable) { - cdkBuilder.healthEventsConfig(healthEventsConfig.let(IResolvable::unwrap)) + cdkBuilder.healthEventsConfig(healthEventsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public interface CfnMonitorProps { * in the Internet Monitor section of the *CloudWatch User Guide* . */ override fun healthEventsConfig(healthEventsConfig: CfnMonitor.HealthEventsConfigProperty) { - cdkBuilder.healthEventsConfig(healthEventsConfig.let(CfnMonitor.HealthEventsConfigProperty::unwrap)) + cdkBuilder.healthEventsConfig(healthEventsConfig.let(CfnMonitor.HealthEventsConfigProperty.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public interface CfnMonitorProps { * in the Amazon CloudWatch User Guide. */ override fun includeLinkedAccounts(includeLinkedAccounts: IResolvable) { - cdkBuilder.includeLinkedAccounts(includeLinkedAccounts.let(IResolvable::unwrap)) + cdkBuilder.includeLinkedAccounts(includeLinkedAccounts.let(IResolvable.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface CfnMonitorProps { * volume) city-networks (client locations and ASNs, typically internet service providers or ISPs). */ override fun internetMeasurementsLogDelivery(internetMeasurementsLogDelivery: IResolvable) { - cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(IResolvable::unwrap)) + cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public interface CfnMonitorProps { */ override fun internetMeasurementsLogDelivery(internetMeasurementsLogDelivery: CfnMonitor.InternetMeasurementsLogDeliveryProperty) { - cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(CfnMonitor.InternetMeasurementsLogDeliveryProperty::unwrap)) + cdkBuilder.internetMeasurementsLogDelivery(internetMeasurementsLogDelivery.let(CfnMonitor.InternetMeasurementsLogDeliveryProperty.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public interface CfnMonitorProps { * @param tags The tags for a monitor, listed as a set of *key:value* pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfiguration.kt index 3b2a818ada..817be42384 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfiguration.kt @@ -108,8 +108,8 @@ public open class CfnAccountAuditConfiguration( id: String, props: CfnAccountAuditConfigurationProps, ) : - this(software.amazon.awscdk.services.iot.CfnAccountAuditConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccountAuditConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnAccountAuditConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccountAuditConfigurationProps.Companion::unwrap)) ) public constructor( @@ -140,14 +140,14 @@ public open class CfnAccountAuditConfiguration( * Specifies which audit checks are enabled and disabled for this account. */ public open fun auditCheckConfigurations(`value`: IResolvable) { - unwrap(this).setAuditCheckConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuditCheckConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies which audit checks are enabled and disabled for this account. */ public open fun auditCheckConfigurations(`value`: AuditCheckConfigurationsProperty) { - unwrap(this).setAuditCheckConfigurations(`value`.let(AuditCheckConfigurationsProperty::unwrap)) + unwrap(this).setAuditCheckConfigurations(`value`.let(AuditCheckConfigurationsProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnAccountAuditConfiguration( * Information about the targets to which audit notifications are sent. */ public open fun auditNotificationTargetConfigurations(`value`: IResolvable) { - unwrap(this).setAuditNotificationTargetConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuditNotificationTargetConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnAccountAuditConfiguration( */ public open fun auditNotificationTargetConfigurations(`value`: AuditNotificationTargetConfigurationsProperty) { - unwrap(this).setAuditNotificationTargetConfigurations(`value`.let(AuditNotificationTargetConfigurationsProperty::unwrap)) + unwrap(this).setAuditNotificationTargetConfigurations(`value`.let(AuditNotificationTargetConfigurationsProperty.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnAccountAuditConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public open class CfnAccountAuditConfiguration( * this account. */ override fun auditCheckConfigurations(auditCheckConfigurations: IResolvable) { - cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(IResolvable::unwrap)) + cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CfnAccountAuditConfiguration( */ override fun auditCheckConfigurations(auditCheckConfigurations: AuditCheckConfigurationsProperty) { - cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(AuditCheckConfigurationsProperty::unwrap)) + cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(AuditCheckConfigurationsProperty.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class CfnAccountAuditConfiguration( */ override fun auditNotificationTargetConfigurations(auditNotificationTargetConfigurations: IResolvable) { - cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(IResolvable::unwrap)) + cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnAccountAuditConfiguration( */ override fun auditNotificationTargetConfigurations(auditNotificationTargetConfigurations: AuditNotificationTargetConfigurationsProperty) { - cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(AuditNotificationTargetConfigurationsProperty::unwrap)) + cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(AuditNotificationTargetConfigurationsProperty.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnAccountAuditConfiguration( * @param enabled True if this audit check is enabled for this account. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1218,7 +1218,7 @@ public open class CfnAccountAuditConfiguration( */ override fun authenticatedCognitoRoleOverlyPermissiveCheck(authenticatedCognitoRoleOverlyPermissiveCheck: IResolvable) { - cdkBuilder.authenticatedCognitoRoleOverlyPermissiveCheck(authenticatedCognitoRoleOverlyPermissiveCheck.let(IResolvable::unwrap)) + cdkBuilder.authenticatedCognitoRoleOverlyPermissiveCheck(authenticatedCognitoRoleOverlyPermissiveCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1230,7 +1230,7 @@ public open class CfnAccountAuditConfiguration( */ override fun authenticatedCognitoRoleOverlyPermissiveCheck(authenticatedCognitoRoleOverlyPermissiveCheck: AuditCheckConfigurationProperty) { - cdkBuilder.authenticatedCognitoRoleOverlyPermissiveCheck(authenticatedCognitoRoleOverlyPermissiveCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.authenticatedCognitoRoleOverlyPermissiveCheck(authenticatedCognitoRoleOverlyPermissiveCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1252,7 +1252,7 @@ public open class CfnAccountAuditConfiguration( * This check applies to CA certificates expiring within 30 days or that have expired. */ override fun caCertificateExpiringCheck(caCertificateExpiringCheck: IResolvable) { - cdkBuilder.caCertificateExpiringCheck(caCertificateExpiringCheck.let(IResolvable::unwrap)) + cdkBuilder.caCertificateExpiringCheck(caCertificateExpiringCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1261,7 +1261,7 @@ public open class CfnAccountAuditConfiguration( */ override fun caCertificateExpiringCheck(caCertificateExpiringCheck: AuditCheckConfigurationProperty) { - cdkBuilder.caCertificateExpiringCheck(caCertificateExpiringCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.caCertificateExpiringCheck(caCertificateExpiringCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1282,7 +1282,7 @@ public open class CfnAccountAuditConfiguration( * `PENDING_TRANSFER` . */ override fun caCertificateKeyQualityCheck(caCertificateKeyQualityCheck: IResolvable) { - cdkBuilder.caCertificateKeyQualityCheck(caCertificateKeyQualityCheck.let(IResolvable::unwrap)) + cdkBuilder.caCertificateKeyQualityCheck(caCertificateKeyQualityCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1293,7 +1293,7 @@ public open class CfnAccountAuditConfiguration( */ override fun caCertificateKeyQualityCheck(caCertificateKeyQualityCheck: AuditCheckConfigurationProperty) { - cdkBuilder.caCertificateKeyQualityCheck(caCertificateKeyQualityCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.caCertificateKeyQualityCheck(caCertificateKeyQualityCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1314,7 +1314,7 @@ public open class CfnAccountAuditConfiguration( * ID. */ override fun conflictingClientIdsCheck(conflictingClientIdsCheck: IResolvable) { - cdkBuilder.conflictingClientIdsCheck(conflictingClientIdsCheck.let(IResolvable::unwrap)) + cdkBuilder.conflictingClientIdsCheck(conflictingClientIdsCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1323,7 +1323,7 @@ public open class CfnAccountAuditConfiguration( */ override fun conflictingClientIdsCheck(conflictingClientIdsCheck: AuditCheckConfigurationProperty) { - cdkBuilder.conflictingClientIdsCheck(conflictingClientIdsCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.conflictingClientIdsCheck(conflictingClientIdsCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1342,7 +1342,7 @@ public open class CfnAccountAuditConfiguration( * This check applies to device certificates expiring within 30 days or that have expired. */ override fun deviceCertificateExpiringCheck(deviceCertificateExpiringCheck: IResolvable) { - cdkBuilder.deviceCertificateExpiringCheck(deviceCertificateExpiringCheck.let(IResolvable::unwrap)) + cdkBuilder.deviceCertificateExpiringCheck(deviceCertificateExpiringCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1351,7 +1351,7 @@ public open class CfnAccountAuditConfiguration( */ override fun deviceCertificateExpiringCheck(deviceCertificateExpiringCheck: AuditCheckConfigurationProperty) { - cdkBuilder.deviceCertificateExpiringCheck(deviceCertificateExpiringCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.deviceCertificateExpiringCheck(deviceCertificateExpiringCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1371,7 +1371,7 @@ public open class CfnAccountAuditConfiguration( * certificate authority, and if the key meets a minimum required size. */ override fun deviceCertificateKeyQualityCheck(deviceCertificateKeyQualityCheck: IResolvable) { - cdkBuilder.deviceCertificateKeyQualityCheck(deviceCertificateKeyQualityCheck.let(IResolvable::unwrap)) + cdkBuilder.deviceCertificateKeyQualityCheck(deviceCertificateKeyQualityCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1381,7 +1381,7 @@ public open class CfnAccountAuditConfiguration( */ override fun deviceCertificateKeyQualityCheck(deviceCertificateKeyQualityCheck: AuditCheckConfigurationProperty) { - cdkBuilder.deviceCertificateKeyQualityCheck(deviceCertificateKeyQualityCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.deviceCertificateKeyQualityCheck(deviceCertificateKeyQualityCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1401,7 +1401,7 @@ public open class CfnAccountAuditConfiguration( * X.509 certificate to authenticate with AWS IoT . */ override fun deviceCertificateSharedCheck(deviceCertificateSharedCheck: IResolvable) { - cdkBuilder.deviceCertificateSharedCheck(deviceCertificateSharedCheck.let(IResolvable::unwrap)) + cdkBuilder.deviceCertificateSharedCheck(deviceCertificateSharedCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1410,7 +1410,7 @@ public open class CfnAccountAuditConfiguration( */ override fun deviceCertificateSharedCheck(deviceCertificateSharedCheck: AuditCheckConfigurationProperty) { - cdkBuilder.deviceCertificateSharedCheck(deviceCertificateSharedCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.deviceCertificateSharedCheck(deviceCertificateSharedCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1430,7 +1430,7 @@ public open class CfnAccountAuditConfiguration( */ override fun intermediateCaRevokedForActiveDeviceCertificatesCheck(intermediateCaRevokedForActiveDeviceCertificatesCheck: IResolvable) { - cdkBuilder.intermediateCaRevokedForActiveDeviceCertificatesCheck(intermediateCaRevokedForActiveDeviceCertificatesCheck.let(IResolvable::unwrap)) + cdkBuilder.intermediateCaRevokedForActiveDeviceCertificatesCheck(intermediateCaRevokedForActiveDeviceCertificatesCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1439,7 +1439,7 @@ public open class CfnAccountAuditConfiguration( */ override fun intermediateCaRevokedForActiveDeviceCertificatesCheck(intermediateCaRevokedForActiveDeviceCertificatesCheck: AuditCheckConfigurationProperty) { - cdkBuilder.intermediateCaRevokedForActiveDeviceCertificatesCheck(intermediateCaRevokedForActiveDeviceCertificatesCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.intermediateCaRevokedForActiveDeviceCertificatesCheck(intermediateCaRevokedForActiveDeviceCertificatesCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1462,7 +1462,7 @@ public open class CfnAccountAuditConfiguration( */ override fun ioTPolicyPotentialMisConfigurationCheck(ioTPolicyPotentialMisConfigurationCheck: IResolvable) { - cdkBuilder.ioTPolicyPotentialMisConfigurationCheck(ioTPolicyPotentialMisConfigurationCheck.let(IResolvable::unwrap)) + cdkBuilder.ioTPolicyPotentialMisConfigurationCheck(ioTPolicyPotentialMisConfigurationCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1474,7 +1474,7 @@ public open class CfnAccountAuditConfiguration( */ override fun ioTPolicyPotentialMisConfigurationCheck(ioTPolicyPotentialMisConfigurationCheck: AuditCheckConfigurationProperty) { - cdkBuilder.ioTPolicyPotentialMisConfigurationCheck(ioTPolicyPotentialMisConfigurationCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.ioTPolicyPotentialMisConfigurationCheck(ioTPolicyPotentialMisConfigurationCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1496,7 +1496,7 @@ public open class CfnAccountAuditConfiguration( * authenticated Amazon Cognito identity pool role. */ override fun iotPolicyOverlyPermissiveCheck(iotPolicyOverlyPermissiveCheck: IResolvable) { - cdkBuilder.iotPolicyOverlyPermissiveCheck(iotPolicyOverlyPermissiveCheck.let(IResolvable::unwrap)) + cdkBuilder.iotPolicyOverlyPermissiveCheck(iotPolicyOverlyPermissiveCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1505,7 +1505,7 @@ public open class CfnAccountAuditConfiguration( */ override fun iotPolicyOverlyPermissiveCheck(iotPolicyOverlyPermissiveCheck: AuditCheckConfigurationProperty) { - cdkBuilder.iotPolicyOverlyPermissiveCheck(iotPolicyOverlyPermissiveCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.iotPolicyOverlyPermissiveCheck(iotPolicyOverlyPermissiveCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1525,7 +1525,7 @@ public open class CfnAccountAuditConfiguration( */ override fun iotRoleAliasAllowsAccessToUnusedServicesCheck(iotRoleAliasAllowsAccessToUnusedServicesCheck: IResolvable) { - cdkBuilder.iotRoleAliasAllowsAccessToUnusedServicesCheck(iotRoleAliasAllowsAccessToUnusedServicesCheck.let(IResolvable::unwrap)) + cdkBuilder.iotRoleAliasAllowsAccessToUnusedServicesCheck(iotRoleAliasAllowsAccessToUnusedServicesCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1534,7 +1534,7 @@ public open class CfnAccountAuditConfiguration( */ override fun iotRoleAliasAllowsAccessToUnusedServicesCheck(iotRoleAliasAllowsAccessToUnusedServicesCheck: AuditCheckConfigurationProperty) { - cdkBuilder.iotRoleAliasAllowsAccessToUnusedServicesCheck(iotRoleAliasAllowsAccessToUnusedServicesCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.iotRoleAliasAllowsAccessToUnusedServicesCheck(iotRoleAliasAllowsAccessToUnusedServicesCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1554,7 +1554,7 @@ public open class CfnAccountAuditConfiguration( */ override fun iotRoleAliasOverlyPermissiveCheck(iotRoleAliasOverlyPermissiveCheck: IResolvable) { - cdkBuilder.iotRoleAliasOverlyPermissiveCheck(iotRoleAliasOverlyPermissiveCheck.let(IResolvable::unwrap)) + cdkBuilder.iotRoleAliasOverlyPermissiveCheck(iotRoleAliasOverlyPermissiveCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1563,7 +1563,7 @@ public open class CfnAccountAuditConfiguration( */ override fun iotRoleAliasOverlyPermissiveCheck(iotRoleAliasOverlyPermissiveCheck: AuditCheckConfigurationProperty) { - cdkBuilder.iotRoleAliasOverlyPermissiveCheck(iotRoleAliasOverlyPermissiveCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.iotRoleAliasOverlyPermissiveCheck(iotRoleAliasOverlyPermissiveCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1581,14 +1581,14 @@ public open class CfnAccountAuditConfiguration( * @param loggingDisabledCheck Checks if AWS IoT logs are disabled. */ override fun loggingDisabledCheck(loggingDisabledCheck: IResolvable) { - cdkBuilder.loggingDisabledCheck(loggingDisabledCheck.let(IResolvable::unwrap)) + cdkBuilder.loggingDisabledCheck(loggingDisabledCheck.let(IResolvable.Companion::unwrap)) } /** * @param loggingDisabledCheck Checks if AWS IoT logs are disabled. */ override fun loggingDisabledCheck(loggingDisabledCheck: AuditCheckConfigurationProperty) { - cdkBuilder.loggingDisabledCheck(loggingDisabledCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.loggingDisabledCheck(loggingDisabledCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1606,7 +1606,7 @@ public open class CfnAccountAuditConfiguration( */ override fun revokedCaCertificateStillActiveCheck(revokedCaCertificateStillActiveCheck: IResolvable) { - cdkBuilder.revokedCaCertificateStillActiveCheck(revokedCaCertificateStillActiveCheck.let(IResolvable::unwrap)) + cdkBuilder.revokedCaCertificateStillActiveCheck(revokedCaCertificateStillActiveCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1615,7 +1615,7 @@ public open class CfnAccountAuditConfiguration( */ override fun revokedCaCertificateStillActiveCheck(revokedCaCertificateStillActiveCheck: AuditCheckConfigurationProperty) { - cdkBuilder.revokedCaCertificateStillActiveCheck(revokedCaCertificateStillActiveCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.revokedCaCertificateStillActiveCheck(revokedCaCertificateStillActiveCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1635,7 +1635,7 @@ public open class CfnAccountAuditConfiguration( */ override fun revokedDeviceCertificateStillActiveCheck(revokedDeviceCertificateStillActiveCheck: IResolvable) { - cdkBuilder.revokedDeviceCertificateStillActiveCheck(revokedDeviceCertificateStillActiveCheck.let(IResolvable::unwrap)) + cdkBuilder.revokedDeviceCertificateStillActiveCheck(revokedDeviceCertificateStillActiveCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1644,7 +1644,7 @@ public open class CfnAccountAuditConfiguration( */ override fun revokedDeviceCertificateStillActiveCheck(revokedDeviceCertificateStillActiveCheck: AuditCheckConfigurationProperty) { - cdkBuilder.revokedDeviceCertificateStillActiveCheck(revokedDeviceCertificateStillActiveCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.revokedDeviceCertificateStillActiveCheck(revokedDeviceCertificateStillActiveCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1664,7 +1664,7 @@ public open class CfnAccountAuditConfiguration( */ override fun unauthenticatedCognitoRoleOverlyPermissiveCheck(unauthenticatedCognitoRoleOverlyPermissiveCheck: IResolvable) { - cdkBuilder.unauthenticatedCognitoRoleOverlyPermissiveCheck(unauthenticatedCognitoRoleOverlyPermissiveCheck.let(IResolvable::unwrap)) + cdkBuilder.unauthenticatedCognitoRoleOverlyPermissiveCheck(unauthenticatedCognitoRoleOverlyPermissiveCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1673,7 +1673,7 @@ public open class CfnAccountAuditConfiguration( */ override fun unauthenticatedCognitoRoleOverlyPermissiveCheck(unauthenticatedCognitoRoleOverlyPermissiveCheck: AuditCheckConfigurationProperty) { - cdkBuilder.unauthenticatedCognitoRoleOverlyPermissiveCheck(unauthenticatedCognitoRoleOverlyPermissiveCheck.let(AuditCheckConfigurationProperty::unwrap)) + cdkBuilder.unauthenticatedCognitoRoleOverlyPermissiveCheck(unauthenticatedCognitoRoleOverlyPermissiveCheck.let(AuditCheckConfigurationProperty.Companion::unwrap)) } /** @@ -1924,14 +1924,14 @@ public open class CfnAccountAuditConfiguration( * @param sns The `Sns` notification target. */ override fun sns(sns: IResolvable) { - cdkBuilder.sns(sns.let(IResolvable::unwrap)) + cdkBuilder.sns(sns.let(IResolvable.Companion::unwrap)) } /** * @param sns The `Sns` notification target. */ override fun sns(sns: AuditNotificationTargetProperty) { - cdkBuilder.sns(sns.let(AuditNotificationTargetProperty::unwrap)) + cdkBuilder.sns(sns.let(AuditNotificationTargetProperty.Companion::unwrap)) } /** @@ -2062,7 +2062,7 @@ public open class CfnAccountAuditConfiguration( * @param enabled True if notifications to the target are enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfigurationProps.kt index d569cd1e6f..042f77b146 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAccountAuditConfigurationProps.kt @@ -259,7 +259,7 @@ public interface CfnAccountAuditConfigurationProps { * AuditCheckConfigurations](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html) */ override fun auditCheckConfigurations(auditCheckConfigurations: IResolvable) { - cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(IResolvable::unwrap)) + cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface CfnAccountAuditConfigurationProps { */ override fun auditCheckConfigurations(auditCheckConfigurations: CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty) { - cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty::unwrap)) + cdkBuilder.auditCheckConfigurations(auditCheckConfigurations.let(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface CfnAccountAuditConfigurationProps { */ override fun auditNotificationTargetConfigurations(auditNotificationTargetConfigurations: IResolvable) { - cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(IResolvable::unwrap)) + cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface CfnAccountAuditConfigurationProps { */ override fun auditNotificationTargetConfigurations(auditNotificationTargetConfigurations: CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty) { - cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty::unwrap)) + cdkBuilder.auditNotificationTargetConfigurations(auditNotificationTargetConfigurations.let(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizer.kt index 50b22aed68..be07204f05 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizer.kt @@ -55,8 +55,8 @@ public open class CfnAuthorizer( id: String, props: CfnAuthorizerProps, ) : - this(software.amazon.awscdk.services.iot.CfnAuthorizer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAuthorizerProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnAuthorizer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAuthorizerProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnAuthorizer( * persistent HTTP connections. */ public open fun enableCachingForHttp(`value`: IResolvable) { - unwrap(this).setEnableCachingForHttp(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableCachingForHttp(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnAuthorizer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnAuthorizer( * Specifies whether AWS IoT validates the token signature in an authorization request. */ public open fun signingDisabled(`value`: IResolvable) { - unwrap(this).setSigningDisabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setSigningDisabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnAuthorizer( * Metadata which can be used to manage the custom authorizer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnAuthorizer( * service. */ public open fun tokenSigningPublicKeys(`value`: IResolvable) { - unwrap(this).setTokenSigningPublicKeys(`value`.let(IResolvable::unwrap)) + unwrap(this).setTokenSigningPublicKeys(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnAuthorizer( * cached for clients that use persistent HTTP connections. */ override fun enableCachingForHttp(enableCachingForHttp: IResolvable) { - cdkBuilder.enableCachingForHttp(enableCachingForHttp.let(IResolvable::unwrap)) + cdkBuilder.enableCachingForHttp(enableCachingForHttp.let(IResolvable.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnAuthorizer( * authorization request. */ override fun signingDisabled(signingDisabled: IResolvable) { - cdkBuilder.signingDisabled(signingDisabled.let(IResolvable::unwrap)) + cdkBuilder.signingDisabled(signingDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnAuthorizer( * @param tags Metadata which can be used to manage the custom authorizer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnAuthorizer( * by your custom authentication service. */ override fun tokenSigningPublicKeys(tokenSigningPublicKeys: IResolvable) { - cdkBuilder.tokenSigningPublicKeys(tokenSigningPublicKeys.let(IResolvable::unwrap)) + cdkBuilder.tokenSigningPublicKeys(tokenSigningPublicKeys.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizerProps.kt index 81a1ac2664..43df410277 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnAuthorizerProps.kt @@ -244,7 +244,7 @@ public interface CfnAuthorizerProps { * connections. */ override fun enableCachingForHttp(enableCachingForHttp: IResolvable) { - cdkBuilder.enableCachingForHttp(enableCachingForHttp.let(IResolvable::unwrap)) + cdkBuilder.enableCachingForHttp(enableCachingForHttp.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface CfnAuthorizerProps { * authorization request. */ override fun signingDisabled(signingDisabled: IResolvable) { - cdkBuilder.signingDisabled(signingDisabled.let(IResolvable::unwrap)) + cdkBuilder.signingDisabled(signingDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public interface CfnAuthorizerProps { * For the cli-input-json file use format: "tags": "key1=value1&key2=value2..." */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface CfnAuthorizerProps { * by your custom authentication service. */ override fun tokenSigningPublicKeys(tokenSigningPublicKeys: IResolvable) { - cdkBuilder.tokenSigningPublicKeys(tokenSigningPublicKeys.let(IResolvable::unwrap)) + cdkBuilder.tokenSigningPublicKeys(tokenSigningPublicKeys.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroup.kt index 5c0f1f1482..2603de89e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroup.kt @@ -51,7 +51,7 @@ public open class CfnBillingGroup( cdkObject: software.amazon.awscdk.services.iot.CfnBillingGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnBillingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnBillingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnBillingGroup( id: String, props: CfnBillingGroupProps, ) : - this(software.amazon.awscdk.services.iot.CfnBillingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBillingGroupProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnBillingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBillingGroupProps.Companion::unwrap)) ) public constructor( @@ -102,14 +102,14 @@ public open class CfnBillingGroup( * The properties of the billing group. */ public open fun billingGroupProperties(`value`: IResolvable) { - unwrap(this).setBillingGroupProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setBillingGroupProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * The properties of the billing group. */ public open fun billingGroupProperties(`value`: BillingGroupPropertiesProperty) { - unwrap(this).setBillingGroupProperties(`value`.let(BillingGroupPropertiesProperty::unwrap)) + unwrap(this).setBillingGroupProperties(`value`.let(BillingGroupPropertiesProperty.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnBillingGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnBillingGroup( * Metadata which can be used to manage the billing group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnBillingGroup( * @param billingGroupProperties The properties of the billing group. */ override fun billingGroupProperties(billingGroupProperties: IResolvable) { - cdkBuilder.billingGroupProperties(billingGroupProperties.let(IResolvable::unwrap)) + cdkBuilder.billingGroupProperties(billingGroupProperties.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnBillingGroup( * @param billingGroupProperties The properties of the billing group. */ override fun billingGroupProperties(billingGroupProperties: BillingGroupPropertiesProperty) { - cdkBuilder.billingGroupProperties(billingGroupProperties.let(BillingGroupPropertiesProperty::unwrap)) + cdkBuilder.billingGroupProperties(billingGroupProperties.let(BillingGroupPropertiesProperty.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnBillingGroup( * @param tags Metadata which can be used to manage the billing group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroupProps.kt index ed59b8dff4..91429ab683 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnBillingGroupProps.kt @@ -113,7 +113,7 @@ public interface CfnBillingGroupProps { * @param billingGroupProperties The properties of the billing group. */ override fun billingGroupProperties(billingGroupProperties: IResolvable) { - cdkBuilder.billingGroupProperties(billingGroupProperties.let(IResolvable::unwrap)) + cdkBuilder.billingGroupProperties(billingGroupProperties.let(IResolvable.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface CfnBillingGroupProps { */ override fun billingGroupProperties(billingGroupProperties: CfnBillingGroup.BillingGroupPropertiesProperty) { - cdkBuilder.billingGroupProperties(billingGroupProperties.let(CfnBillingGroup.BillingGroupPropertiesProperty::unwrap)) + cdkBuilder.billingGroupProperties(billingGroupProperties.let(CfnBillingGroup.BillingGroupPropertiesProperty.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public interface CfnBillingGroupProps { * @param tags Metadata which can be used to manage the billing group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificate.kt index b2b33eeb1e..1159ec6a03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificate.kt @@ -60,8 +60,8 @@ public open class CfnCACertificate( id: String, props: CfnCACertificateProps, ) : - this(software.amazon.awscdk.services.iot.CfnCACertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCACertificateProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnCACertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCACertificateProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnCACertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,14 +141,14 @@ public open class CfnCACertificate( * Information about the registration configuration. */ public open fun registrationConfig(`value`: IResolvable) { - unwrap(this).setRegistrationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegistrationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the registration configuration. */ public open fun registrationConfig(`value`: RegistrationConfigProperty) { - unwrap(this).setRegistrationConfig(`value`.let(RegistrationConfigProperty::unwrap)) + unwrap(this).setRegistrationConfig(`value`.let(RegistrationConfigProperty.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnCACertificate( * If true, removes auto registration. */ public open fun removeAutoRegistration(`value`: IResolvable) { - unwrap(this).setRemoveAutoRegistration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRemoveAutoRegistration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnCACertificate( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class CfnCACertificate( * @param registrationConfig Information about the registration configuration. */ override fun registrationConfig(registrationConfig: IResolvable) { - cdkBuilder.registrationConfig(registrationConfig.let(IResolvable::unwrap)) + cdkBuilder.registrationConfig(registrationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnCACertificate( * @param registrationConfig Information about the registration configuration. */ override fun registrationConfig(registrationConfig: RegistrationConfigProperty) { - cdkBuilder.registrationConfig(registrationConfig.let(RegistrationConfigProperty::unwrap)) + cdkBuilder.registrationConfig(registrationConfig.let(RegistrationConfigProperty.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public open class CfnCACertificate( * @param removeAutoRegistration If true, removes auto registration. */ override fun removeAutoRegistration(removeAutoRegistration: IResolvable) { - cdkBuilder.removeAutoRegistration(removeAutoRegistration.let(IResolvable::unwrap)) + cdkBuilder.removeAutoRegistration(removeAutoRegistration.let(IResolvable.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class CfnCACertificate( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificateProps.kt index 4f531bc3a8..41677be375 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCACertificateProps.kt @@ -241,7 +241,7 @@ public interface CfnCACertificateProps { * @param registrationConfig Information about the registration configuration. */ override fun registrationConfig(registrationConfig: IResolvable) { - cdkBuilder.registrationConfig(registrationConfig.let(IResolvable::unwrap)) + cdkBuilder.registrationConfig(registrationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface CfnCACertificateProps { */ override fun registrationConfig(registrationConfig: CfnCACertificate.RegistrationConfigProperty) { - cdkBuilder.registrationConfig(registrationConfig.let(CfnCACertificate.RegistrationConfigProperty::unwrap)) + cdkBuilder.registrationConfig(registrationConfig.let(CfnCACertificate.RegistrationConfigProperty.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface CfnCACertificateProps { * @param removeAutoRegistration If true, removes auto registration. */ override fun removeAutoRegistration(removeAutoRegistration: IResolvable) { - cdkBuilder.removeAutoRegistration(removeAutoRegistration.let(IResolvable::unwrap)) + cdkBuilder.removeAutoRegistration(removeAutoRegistration.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface CfnCACertificateProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificate.kt index 5859df1e49..2793b2b559 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificate.kt @@ -43,8 +43,8 @@ public open class CfnCertificate( id: String, props: CfnCertificateProps, ) : - this(software.amazon.awscdk.services.iot.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProvider.kt index b9baab7084..91de0b517e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProvider.kt @@ -53,8 +53,8 @@ public open class CfnCertificateProvider( id: String, props: CfnCertificateProviderProps, ) : - this(software.amazon.awscdk.services.iot.CfnCertificateProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProviderProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnCertificateProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProviderProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnCertificateProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnCertificateProvider( * Metadata that can be used to manage the certificate provider. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnCertificateProvider( * @param tags Metadata that can be used to manage the certificate provider. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProviderProps.kt index 03a481f4ee..18caeafe4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCertificateProviderProps.kt @@ -143,7 +143,7 @@ public interface CfnCertificateProviderProps { * @param tags Metadata that can be used to manage the certificate provider. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetric.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetric.kt index 48d6918312..4978f7310f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetric.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetric.kt @@ -52,8 +52,8 @@ public open class CfnCustomMetric( id: String, props: CfnCustomMetricProps, ) : - this(software.amazon.awscdk.services.iot.CfnCustomMetric(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomMetricProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnCustomMetric(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomMetricProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnCustomMetric( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnCustomMetric( * Metadata that can be used to manage the custom metric. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnCustomMetric( * @param tags Metadata that can be used to manage the custom metric. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetricProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetricProps.kt index 1776545f2f..de06d30df2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetricProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnCustomMetricProps.kt @@ -150,7 +150,7 @@ public interface CfnCustomMetricProps { * @param tags Metadata that can be used to manage the custom metric. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimension.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimension.kt index f9b02775b8..45cfcdded0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimension.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimension.kt @@ -53,8 +53,8 @@ public open class CfnDimension( id: String, props: CfnDimensionProps, ) : - this(software.amazon.awscdk.services.iot.CfnDimension(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDimensionProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnDimension(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDimensionProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnDimension( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnDimension( * Metadata that can be used to manage the dimension. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnDimension( * @param tags Metadata that can be used to manage the dimension. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimensionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimensionProps.kt index 0927ae6074..75049c4881 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimensionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDimensionProps.kt @@ -140,7 +140,7 @@ public interface CfnDimensionProps { * @param tags Metadata that can be used to manage the dimension. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfiguration.kt index 256d8770aa..e1c4241594 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfiguration.kt @@ -61,7 +61,7 @@ public open class CfnDomainConfiguration( cdkObject: software.amazon.awscdk.services.iot.CfnDomainConfiguration, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnDomainConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnDomainConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class CfnDomainConfiguration( id: String, props: CfnDomainConfigurationProps, ) : - this(software.amazon.awscdk.services.iot.CfnDomainConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnDomainConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainConfigurationProps.Companion::unwrap)) ) public constructor( @@ -109,14 +109,14 @@ public open class CfnDomainConfiguration( * An object that specifies the authorization service for a domain. */ public open fun authorizerConfig(`value`: IResolvable) { - unwrap(this).setAuthorizerConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthorizerConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that specifies the authorization service for a domain. */ public open fun authorizerConfig(`value`: AuthorizerConfigProperty) { - unwrap(this).setAuthorizerConfig(`value`.let(AuthorizerConfigProperty::unwrap)) + unwrap(this).setAuthorizerConfig(`value`.let(AuthorizerConfigProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnDomainConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -200,14 +200,14 @@ public open class CfnDomainConfiguration( * The server certificate configuration. */ public open fun serverCertificateConfig(`value`: IResolvable) { - unwrap(this).setServerCertificateConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerCertificateConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The server certificate configuration. */ public open fun serverCertificateConfig(`value`: ServerCertificateConfigProperty) { - unwrap(this).setServerCertificateConfig(`value`.let(ServerCertificateConfigProperty::unwrap)) + unwrap(this).setServerCertificateConfig(`value`.let(ServerCertificateConfigProperty.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnDomainConfiguration( * Metadata which can be used to manage the domain configuration. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -263,14 +263,14 @@ public open class CfnDomainConfiguration( * An object that specifies the TLS configuration for a domain. */ public open fun tlsConfig(`value`: IResolvable) { - unwrap(this).setTlsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTlsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that specifies the TLS configuration for a domain. */ public open fun tlsConfig(`value`: TlsConfigProperty) { - unwrap(this).setTlsConfig(`value`.let(TlsConfigProperty::unwrap)) + unwrap(this).setTlsConfig(`value`.let(TlsConfigProperty.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnDomainConfiguration( * @param authorizerConfig An object that specifies the authorization service for a domain. */ override fun authorizerConfig(authorizerConfig: IResolvable) { - cdkBuilder.authorizerConfig(authorizerConfig.let(IResolvable::unwrap)) + cdkBuilder.authorizerConfig(authorizerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnDomainConfiguration( * @param authorizerConfig An object that specifies the authorization service for a domain. */ override fun authorizerConfig(authorizerConfig: AuthorizerConfigProperty) { - cdkBuilder.authorizerConfig(authorizerConfig.let(AuthorizerConfigProperty::unwrap)) + cdkBuilder.authorizerConfig(authorizerConfig.let(AuthorizerConfigProperty.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class CfnDomainConfiguration( * @param serverCertificateConfig The server certificate configuration. */ override fun serverCertificateConfig(serverCertificateConfig: IResolvable) { - cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(IResolvable::unwrap)) + cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(IResolvable.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnDomainConfiguration( * @param serverCertificateConfig The server certificate configuration. */ override fun serverCertificateConfig(serverCertificateConfig: ServerCertificateConfigProperty) { - cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(ServerCertificateConfigProperty::unwrap)) + cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(ServerCertificateConfigProperty.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public open class CfnDomainConfiguration( * @param tags Metadata which can be used to manage the domain configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public open class CfnDomainConfiguration( * @param tlsConfig An object that specifies the TLS configuration for a domain. */ override fun tlsConfig(tlsConfig: IResolvable) { - cdkBuilder.tlsConfig(tlsConfig.let(IResolvable::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnDomainConfiguration( * @param tlsConfig An object that specifies the TLS configuration for a domain. */ override fun tlsConfig(tlsConfig: TlsConfigProperty) { - cdkBuilder.tlsConfig(tlsConfig.let(TlsConfigProperty::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(TlsConfigProperty.Companion::unwrap)) } /** @@ -841,7 +841,7 @@ public open class CfnDomainConfiguration( * authorization service can be overridden. */ override fun allowAuthorizerOverride(allowAuthorizerOverride: IResolvable) { - cdkBuilder.allowAuthorizerOverride(allowAuthorizerOverride.let(IResolvable::unwrap)) + cdkBuilder.allowAuthorizerOverride(allowAuthorizerOverride.let(IResolvable.Companion::unwrap)) } /** @@ -977,7 +977,7 @@ public open class CfnDomainConfiguration( * from the AWS IoT Core Developer Guide. */ override fun enableOcspCheck(enableOcspCheck: IResolvable) { - cdkBuilder.enableOcspCheck(enableOcspCheck.let(IResolvable::unwrap)) + cdkBuilder.enableOcspCheck(enableOcspCheck.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfigurationProps.kt index f6431a50c3..018f1823da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnDomainConfigurationProps.kt @@ -296,7 +296,7 @@ public interface CfnDomainConfigurationProps { * @param authorizerConfig An object that specifies the authorization service for a domain. */ override fun authorizerConfig(authorizerConfig: IResolvable) { - cdkBuilder.authorizerConfig(authorizerConfig.let(IResolvable::unwrap)) + cdkBuilder.authorizerConfig(authorizerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public interface CfnDomainConfigurationProps { */ override fun authorizerConfig(authorizerConfig: CfnDomainConfiguration.AuthorizerConfigProperty) { - cdkBuilder.authorizerConfig(authorizerConfig.let(CfnDomainConfiguration.AuthorizerConfigProperty::unwrap)) + cdkBuilder.authorizerConfig(authorizerConfig.let(CfnDomainConfiguration.AuthorizerConfigProperty.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface CfnDomainConfigurationProps { * from the AWS IoT Core Developer Guide. */ override fun serverCertificateConfig(serverCertificateConfig: IResolvable) { - cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(IResolvable::unwrap)) + cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(IResolvable.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public interface CfnDomainConfigurationProps { */ override fun serverCertificateConfig(serverCertificateConfig: CfnDomainConfiguration.ServerCertificateConfigProperty) { - cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(CfnDomainConfiguration.ServerCertificateConfigProperty::unwrap)) + cdkBuilder.serverCertificateConfig(serverCertificateConfig.let(CfnDomainConfiguration.ServerCertificateConfigProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnDomainConfigurationProps { * For the cli-input-json file use format: "tags": "key1=value1&key2=value2..." */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -432,14 +432,14 @@ public interface CfnDomainConfigurationProps { * @param tlsConfig An object that specifies the TLS configuration for a domain. */ override fun tlsConfig(tlsConfig: IResolvable) { - cdkBuilder.tlsConfig(tlsConfig.let(IResolvable::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(IResolvable.Companion::unwrap)) } /** * @param tlsConfig An object that specifies the TLS configuration for a domain. */ override fun tlsConfig(tlsConfig: CfnDomainConfiguration.TlsConfigProperty) { - cdkBuilder.tlsConfig(tlsConfig.let(CfnDomainConfiguration.TlsConfigProperty::unwrap)) + cdkBuilder.tlsConfig(tlsConfig.let(CfnDomainConfiguration.TlsConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetric.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetric.kt index 35e461fc9c..2bd6f7a220 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetric.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetric.kt @@ -61,8 +61,8 @@ public open class CfnFleetMetric( id: String, props: CfnFleetMetricProps, ) : - this(software.amazon.awscdk.services.iot.CfnFleetMetric(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetMetricProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnFleetMetric(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetMetricProps.Companion::unwrap)) ) public constructor( @@ -93,14 +93,14 @@ public open class CfnFleetMetric( * The type of the aggregation query. */ public open fun aggregationType(`value`: IResolvable) { - unwrap(this).setAggregationType(`value`.let(IResolvable::unwrap)) + unwrap(this).setAggregationType(`value`.let(IResolvable.Companion::unwrap)) } /** * The type of the aggregation query. */ public open fun aggregationType(`value`: AggregationTypeProperty) { - unwrap(this).setAggregationType(`value`.let(AggregationTypeProperty::unwrap)) + unwrap(this).setAggregationType(`value`.let(AggregationTypeProperty.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnFleetMetric( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnFleetMetric( * Metadata which can be used to manage the fleet metric. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnFleetMetric( * @param aggregationType The type of the aggregation query. */ override fun aggregationType(aggregationType: IResolvable) { - cdkBuilder.aggregationType(aggregationType.let(IResolvable::unwrap)) + cdkBuilder.aggregationType(aggregationType.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnFleetMetric( * @param aggregationType The type of the aggregation query. */ override fun aggregationType(aggregationType: AggregationTypeProperty) { - cdkBuilder.aggregationType(aggregationType.let(AggregationTypeProperty::unwrap)) + cdkBuilder.aggregationType(aggregationType.let(AggregationTypeProperty.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnFleetMetric( * @param tags Metadata which can be used to manage the fleet metric. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetricProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetricProps.kt index b7bf6d87c4..9c1b82abdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetricProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnFleetMetricProps.kt @@ -212,14 +212,14 @@ public interface CfnFleetMetricProps { * @param aggregationType The type of the aggregation query. */ override fun aggregationType(aggregationType: IResolvable) { - cdkBuilder.aggregationType(aggregationType.let(IResolvable::unwrap)) + cdkBuilder.aggregationType(aggregationType.let(IResolvable.Companion::unwrap)) } /** * @param aggregationType The type of the aggregation query. */ override fun aggregationType(aggregationType: CfnFleetMetric.AggregationTypeProperty) { - cdkBuilder.aggregationType(aggregationType.let(CfnFleetMetric.AggregationTypeProperty::unwrap)) + cdkBuilder.aggregationType(aggregationType.let(CfnFleetMetric.AggregationTypeProperty.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnFleetMetricProps { * @param tags Metadata which can be used to manage the fleet metric. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplate.kt index a650d66aee..fb20008a21 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplate.kt @@ -73,8 +73,8 @@ public open class CfnJobTemplate( id: String, props: CfnJobTemplateProps, ) : - this(software.amazon.awscdk.services.iot.CfnJobTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnJobTemplateProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnJobTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJobTemplateProps.Companion::unwrap)) ) public constructor( @@ -165,7 +165,7 @@ public open class CfnJobTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -189,14 +189,14 @@ public open class CfnJobTemplate( * Allows you to create the criteria to retry a job. */ public open fun jobExecutionsRetryConfig(`value`: IResolvable) { - unwrap(this).setJobExecutionsRetryConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobExecutionsRetryConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Allows you to create the criteria to retry a job. */ public open fun jobExecutionsRetryConfig(`value`: JobExecutionsRetryConfigProperty) { - unwrap(this).setJobExecutionsRetryConfig(`value`.let(JobExecutionsRetryConfigProperty::unwrap)) + unwrap(this).setJobExecutionsRetryConfig(`value`.let(JobExecutionsRetryConfigProperty.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnJobTemplate( * target group for a job. */ public open fun maintenanceWindows(`value`: IResolvable) { - unwrap(this).setMaintenanceWindows(`value`.let(IResolvable::unwrap)) + unwrap(this).setMaintenanceWindows(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnJobTemplate( * Metadata that can be used to manage the job template. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnJobTemplate( * @param jobExecutionsRetryConfig Allows you to create the criteria to retry a job. */ override fun jobExecutionsRetryConfig(jobExecutionsRetryConfig: IResolvable) { - cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(IResolvable::unwrap)) + cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(IResolvable.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnJobTemplate( */ override fun jobExecutionsRetryConfig(jobExecutionsRetryConfig: JobExecutionsRetryConfigProperty) { - cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(JobExecutionsRetryConfigProperty::unwrap)) + cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(JobExecutionsRetryConfigProperty.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class CfnJobTemplate( * job document to all devices in a target group for a job. */ override fun maintenanceWindows(maintenanceWindows: IResolvable) { - cdkBuilder.maintenanceWindows(maintenanceWindows.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindows(maintenanceWindows.let(IResolvable.Companion::unwrap)) } /** @@ -723,7 +723,7 @@ public open class CfnJobTemplate( * @param tags Metadata that can be used to manage the job template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -831,7 +831,7 @@ public open class CfnJobTemplate( * @param criteriaList The list of criteria that determine when and how to abort the job. */ override fun criteriaList(criteriaList: IResolvable) { - cdkBuilder.criteriaList(criteriaList.let(IResolvable::unwrap)) + cdkBuilder.criteriaList(criteriaList.let(IResolvable.Companion::unwrap)) } /** @@ -1174,7 +1174,7 @@ public open class CfnJobTemplate( * job. */ override fun rateIncreaseCriteria(rateIncreaseCriteria: IResolvable) { - cdkBuilder.rateIncreaseCriteria(rateIncreaseCriteria.let(IResolvable::unwrap)) + cdkBuilder.rateIncreaseCriteria(rateIncreaseCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -1182,7 +1182,7 @@ public open class CfnJobTemplate( * job. */ override fun rateIncreaseCriteria(rateIncreaseCriteria: RateIncreaseCriteriaProperty) { - cdkBuilder.rateIncreaseCriteria(rateIncreaseCriteria.let(RateIncreaseCriteriaProperty::unwrap)) + cdkBuilder.rateIncreaseCriteria(rateIncreaseCriteria.let(RateIncreaseCriteriaProperty.Companion::unwrap)) } /** @@ -1312,7 +1312,7 @@ public open class CfnJobTemplate( * for each failure type for a job. */ override fun retryCriteriaList(retryCriteriaList: IResolvable) { - cdkBuilder.retryCriteriaList(retryCriteriaList.let(IResolvable::unwrap)) + cdkBuilder.retryCriteriaList(retryCriteriaList.let(IResolvable.Companion::unwrap)) } /** @@ -1454,7 +1454,7 @@ public open class CfnJobTemplate( * This parameter allows you to define an exponential rate for a job rollout. */ override fun exponentialRolloutRate(exponentialRolloutRate: IResolvable) { - cdkBuilder.exponentialRolloutRate(exponentialRolloutRate.let(IResolvable::unwrap)) + cdkBuilder.exponentialRolloutRate(exponentialRolloutRate.let(IResolvable.Companion::unwrap)) } /** @@ -1462,7 +1462,7 @@ public open class CfnJobTemplate( * This parameter allows you to define an exponential rate for a job rollout. */ override fun exponentialRolloutRate(exponentialRolloutRate: ExponentialRolloutRateProperty) { - cdkBuilder.exponentialRolloutRate(exponentialRolloutRate.let(ExponentialRolloutRateProperty::unwrap)) + cdkBuilder.exponentialRolloutRate(exponentialRolloutRate.let(ExponentialRolloutRateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplateProps.kt index c044732ff0..778be38239 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnJobTemplateProps.kt @@ -374,7 +374,7 @@ public interface CfnJobTemplateProps { * @param jobExecutionsRetryConfig Allows you to create the criteria to retry a job. */ override fun jobExecutionsRetryConfig(jobExecutionsRetryConfig: IResolvable) { - cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(IResolvable::unwrap)) + cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(IResolvable.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public interface CfnJobTemplateProps { */ override fun jobExecutionsRetryConfig(jobExecutionsRetryConfig: CfnJobTemplate.JobExecutionsRetryConfigProperty) { - cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(CfnJobTemplate.JobExecutionsRetryConfigProperty::unwrap)) + cdkBuilder.jobExecutionsRetryConfig(jobExecutionsRetryConfig.let(CfnJobTemplate.JobExecutionsRetryConfigProperty.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnJobTemplateProps { * job document to all devices in a target group for a job. */ override fun maintenanceWindows(maintenanceWindows: IResolvable) { - cdkBuilder.maintenanceWindows(maintenanceWindows.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindows(maintenanceWindows.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public interface CfnJobTemplateProps { * @param tags Metadata that can be used to manage the job template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnLogging.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnLogging.kt index 5a228521c6..5d0885e645 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnLogging.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnLogging.kt @@ -37,8 +37,8 @@ public open class CfnLogging( id: String, props: CfnLoggingProps, ) : - this(software.amazon.awscdk.services.iot.CfnLogging(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoggingProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnLogging(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoggingProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnLogging( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationAction.kt index 21e742192e..d9e729b145 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationAction.kt @@ -80,8 +80,8 @@ public open class CfnMitigationAction( id: String, props: CfnMitigationActionProps, ) : - this(software.amazon.awscdk.services.iot.CfnMitigationAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMitigationActionProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnMitigationAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMitigationActionProps.Companion::unwrap)) ) public constructor( @@ -112,14 +112,14 @@ public open class CfnMitigationAction( * The set of parameters for this mitigation action. */ public open fun actionParams(`value`: IResolvable) { - unwrap(this).setActionParams(`value`.let(IResolvable::unwrap)) + unwrap(this).setActionParams(`value`.let(IResolvable.Companion::unwrap)) } /** * The set of parameters for this mitigation action. */ public open fun actionParams(`value`: ActionParamsProperty) { - unwrap(this).setActionParams(`value`.let(ActionParamsProperty::unwrap)) + unwrap(this).setActionParams(`value`.let(ActionParamsProperty.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnMitigationAction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnMitigationAction( * Metadata that can be used to manage the mitigation action. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnMitigationAction( * @param actionParams The set of parameters for this mitigation action. */ override fun actionParams(actionParams: IResolvable) { - cdkBuilder.actionParams(actionParams.let(IResolvable::unwrap)) + cdkBuilder.actionParams(actionParams.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnMitigationAction( * @param actionParams The set of parameters for this mitigation action. */ override fun actionParams(actionParams: ActionParamsProperty) { - cdkBuilder.actionParams(actionParams.let(ActionParamsProperty::unwrap)) + cdkBuilder.actionParams(actionParams.let(ActionParamsProperty.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnMitigationAction( * @param tags Metadata that can be used to manage the mitigation action. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class CfnMitigationAction( * devices. */ override fun addThingsToThingGroupParams(addThingsToThingGroupParams: IResolvable) { - cdkBuilder.addThingsToThingGroupParams(addThingsToThingGroupParams.let(IResolvable::unwrap)) + cdkBuilder.addThingsToThingGroupParams(addThingsToThingGroupParams.let(IResolvable.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public open class CfnMitigationAction( */ override fun addThingsToThingGroupParams(addThingsToThingGroupParams: AddThingsToThingGroupParamsProperty) { - cdkBuilder.addThingsToThingGroupParams(addThingsToThingGroupParams.let(AddThingsToThingGroupParamsProperty::unwrap)) + cdkBuilder.addThingsToThingGroupParams(addThingsToThingGroupParams.let(AddThingsToThingGroupParamsProperty.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnMitigationAction( * You cannot specify a logging level of `DISABLED` . */ override fun enableIoTLoggingParams(enableIoTLoggingParams: IResolvable) { - cdkBuilder.enableIoTLoggingParams(enableIoTLoggingParams.let(IResolvable::unwrap)) + cdkBuilder.enableIoTLoggingParams(enableIoTLoggingParams.let(IResolvable.Companion::unwrap)) } /** @@ -640,7 +640,7 @@ public open class CfnMitigationAction( * You cannot specify a logging level of `DISABLED` . */ override fun enableIoTLoggingParams(enableIoTLoggingParams: EnableIoTLoggingParamsProperty) { - cdkBuilder.enableIoTLoggingParams(enableIoTLoggingParams.let(EnableIoTLoggingParamsProperty::unwrap)) + cdkBuilder.enableIoTLoggingParams(enableIoTLoggingParams.let(EnableIoTLoggingParamsProperty.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class CfnMitigationAction( * published. */ override fun publishFindingToSnsParams(publishFindingToSnsParams: IResolvable) { - cdkBuilder.publishFindingToSnsParams(publishFindingToSnsParams.let(IResolvable::unwrap)) + cdkBuilder.publishFindingToSnsParams(publishFindingToSnsParams.let(IResolvable.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public open class CfnMitigationAction( */ override fun publishFindingToSnsParams(publishFindingToSnsParams: PublishFindingToSnsParamsProperty) { - cdkBuilder.publishFindingToSnsParams(publishFindingToSnsParams.let(PublishFindingToSnsParamsProperty::unwrap)) + cdkBuilder.publishFindingToSnsParams(publishFindingToSnsParams.let(PublishFindingToSnsParamsProperty.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public open class CfnMitigationAction( */ override fun replaceDefaultPolicyVersionParams(replaceDefaultPolicyVersionParams: IResolvable) { - cdkBuilder.replaceDefaultPolicyVersionParams(replaceDefaultPolicyVersionParams.let(IResolvable::unwrap)) + cdkBuilder.replaceDefaultPolicyVersionParams(replaceDefaultPolicyVersionParams.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnMitigationAction( */ override fun replaceDefaultPolicyVersionParams(replaceDefaultPolicyVersionParams: ReplaceDefaultPolicyVersionParamsProperty) { - cdkBuilder.replaceDefaultPolicyVersionParams(replaceDefaultPolicyVersionParams.let(ReplaceDefaultPolicyVersionParamsProperty::unwrap)) + cdkBuilder.replaceDefaultPolicyVersionParams(replaceDefaultPolicyVersionParams.let(ReplaceDefaultPolicyVersionParamsProperty.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public open class CfnMitigationAction( * Only a value of `DEACTIVATE` is currently supported. */ override fun updateCaCertificateParams(updateCaCertificateParams: IResolvable) { - cdkBuilder.updateCaCertificateParams(updateCaCertificateParams.let(IResolvable::unwrap)) + cdkBuilder.updateCaCertificateParams(updateCaCertificateParams.let(IResolvable.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnMitigationAction( */ override fun updateCaCertificateParams(updateCaCertificateParams: UpdateCACertificateParamsProperty) { - cdkBuilder.updateCaCertificateParams(updateCaCertificateParams.let(UpdateCACertificateParamsProperty::unwrap)) + cdkBuilder.updateCaCertificateParams(updateCaCertificateParams.let(UpdateCACertificateParamsProperty.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class CfnMitigationAction( * Only a value of `DEACTIVATE` is currently supported. */ override fun updateDeviceCertificateParams(updateDeviceCertificateParams: IResolvable) { - cdkBuilder.updateDeviceCertificateParams(updateDeviceCertificateParams.let(IResolvable::unwrap)) + cdkBuilder.updateDeviceCertificateParams(updateDeviceCertificateParams.let(IResolvable.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public open class CfnMitigationAction( */ override fun updateDeviceCertificateParams(updateDeviceCertificateParams: UpdateDeviceCertificateParamsProperty) { - cdkBuilder.updateDeviceCertificateParams(updateDeviceCertificateParams.let(UpdateDeviceCertificateParamsProperty::unwrap)) + cdkBuilder.updateDeviceCertificateParams(updateDeviceCertificateParams.let(UpdateDeviceCertificateParamsProperty.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnMitigationAction( * triggered the mitigation action even if they are part of one or more dynamic thing groups. */ override fun overrideDynamicGroups(overrideDynamicGroups: IResolvable) { - cdkBuilder.overrideDynamicGroups(overrideDynamicGroups.let(IResolvable::unwrap)) + cdkBuilder.overrideDynamicGroups(overrideDynamicGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationActionProps.kt index 8ed61acbec..d29a711544 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnMitigationActionProps.kt @@ -152,7 +152,7 @@ public interface CfnMitigationActionProps { * The parameters vary, depending on the kind of action you apply. */ override fun actionParams(actionParams: IResolvable) { - cdkBuilder.actionParams(actionParams.let(IResolvable::unwrap)) + cdkBuilder.actionParams(actionParams.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface CfnMitigationActionProps { * The parameters vary, depending on the kind of action you apply. */ override fun actionParams(actionParams: CfnMitigationAction.ActionParamsProperty) { - cdkBuilder.actionParams(actionParams.let(CfnMitigationAction.ActionParamsProperty::unwrap)) + cdkBuilder.actionParams(actionParams.let(CfnMitigationAction.ActionParamsProperty.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface CfnMitigationActionProps { * @param tags Metadata that can be used to manage the mitigation action. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicy.kt index ef230bf1ad..421fcd2651 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicy.kt @@ -51,8 +51,8 @@ public open class CfnPolicy( id: String, props: CfnPolicyProps, ) : - this(software.amazon.awscdk.services.iot.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnPolicy( * */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnPolicy( * @param tags */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyPrincipalAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyPrincipalAttachment.kt index 977fa5866b..ac878f7861 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyPrincipalAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyPrincipalAttachment.kt @@ -42,8 +42,8 @@ public open class CfnPolicyPrincipalAttachment( id: String, props: CfnPolicyPrincipalAttachmentProps, ) : - this(software.amazon.awscdk.services.iot.CfnPolicyPrincipalAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyPrincipalAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnPolicyPrincipalAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyPrincipalAttachmentProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CfnPolicyPrincipalAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyProps.kt index 9871590ded..1a961640fd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnPolicyProps.kt @@ -102,7 +102,7 @@ public interface CfnPolicyProps { * @param tags the value to be set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplate.kt index 6b2538031e..e4fa4d5a30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplate.kt @@ -60,8 +60,8 @@ public open class CfnProvisioningTemplate( id: String, props: CfnProvisioningTemplateProps, ) : - this(software.amazon.awscdk.services.iot.CfnProvisioningTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProvisioningTemplateProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnProvisioningTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProvisioningTemplateProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnProvisioningTemplate( * True to enable the fleet provisioning template, otherwise false. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class CfnProvisioningTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,14 +125,14 @@ public open class CfnProvisioningTemplate( * Creates a pre-provisioning hook template. */ public open fun preProvisioningHook(`value`: IResolvable) { - unwrap(this).setPreProvisioningHook(`value`.let(IResolvable::unwrap)) + unwrap(this).setPreProvisioningHook(`value`.let(IResolvable.Companion::unwrap)) } /** * Creates a pre-provisioning hook template. */ public open fun preProvisioningHook(`value`: ProvisioningHookProperty) { - unwrap(this).setPreProvisioningHook(`value`.let(ProvisioningHookProperty::unwrap)) + unwrap(this).setPreProvisioningHook(`value`.let(ProvisioningHookProperty.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnProvisioningTemplate( * Metadata that can be used to manage the fleet provisioning template. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class CfnProvisioningTemplate( * @param enabled True to enable the fleet provisioning template, otherwise false. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnProvisioningTemplate( * @param preProvisioningHook Creates a pre-provisioning hook template. */ override fun preProvisioningHook(preProvisioningHook: IResolvable) { - cdkBuilder.preProvisioningHook(preProvisioningHook.let(IResolvable::unwrap)) + cdkBuilder.preProvisioningHook(preProvisioningHook.let(IResolvable.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class CfnProvisioningTemplate( * @param preProvisioningHook Creates a pre-provisioning hook template. */ override fun preProvisioningHook(preProvisioningHook: ProvisioningHookProperty) { - cdkBuilder.preProvisioningHook(preProvisioningHook.let(ProvisioningHookProperty::unwrap)) + cdkBuilder.preProvisioningHook(preProvisioningHook.let(ProvisioningHookProperty.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnProvisioningTemplate( * @param tags Metadata that can be used to manage the fleet provisioning template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplateProps.kt index 57acece23a..3cd03fe92a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnProvisioningTemplateProps.kt @@ -198,14 +198,14 @@ public interface CfnProvisioningTemplateProps { * @param enabled True to enable the fleet provisioning template, otherwise false. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param preProvisioningHook Creates a pre-provisioning hook template. */ override fun preProvisioningHook(preProvisioningHook: IResolvable) { - cdkBuilder.preProvisioningHook(preProvisioningHook.let(IResolvable::unwrap)) + cdkBuilder.preProvisioningHook(preProvisioningHook.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface CfnProvisioningTemplateProps { */ override fun preProvisioningHook(preProvisioningHook: CfnProvisioningTemplate.ProvisioningHookProperty) { - cdkBuilder.preProvisioningHook(preProvisioningHook.let(CfnProvisioningTemplate.ProvisioningHookProperty::unwrap)) + cdkBuilder.preProvisioningHook(preProvisioningHook.let(CfnProvisioningTemplate.ProvisioningHookProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public interface CfnProvisioningTemplateProps { * @param tags Metadata that can be used to manage the fleet provisioning template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnResourceSpecificLogging.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnResourceSpecificLogging.kt index 806655cf40..ae3eb17cce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnResourceSpecificLogging.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnResourceSpecificLogging.kt @@ -38,8 +38,8 @@ public open class CfnResourceSpecificLogging( id: String, props: CfnResourceSpecificLoggingProps, ) : - this(software.amazon.awscdk.services.iot.CfnResourceSpecificLogging(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceSpecificLoggingProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnResourceSpecificLogging(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceSpecificLoggingProps.Companion::unwrap)) ) public constructor( @@ -60,7 +60,7 @@ public open class CfnResourceSpecificLogging( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAlias.kt index 370f1cfbd5..8f39dd5fdb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAlias.kt @@ -51,8 +51,8 @@ public open class CfnRoleAlias( id: String, props: CfnRoleAliasProps, ) : - this(software.amazon.awscdk.services.iot.CfnRoleAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRoleAliasProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnRoleAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRoleAliasProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnRoleAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnRoleAlias( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnRoleAlias( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAliasProps.kt index 816deda00d..9e1ba7257f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnRoleAliasProps.kt @@ -138,7 +138,7 @@ public interface CfnRoleAliasProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAudit.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAudit.kt index 75657affb9..c4c1236c2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAudit.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAudit.kt @@ -55,8 +55,8 @@ public open class CfnScheduledAudit( id: String, props: CfnScheduledAuditProps, ) : - this(software.amazon.awscdk.services.iot.CfnScheduledAudit(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduledAuditProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnScheduledAudit(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduledAuditProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnScheduledAudit( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnScheduledAudit( * Metadata that can be used to manage the scheduled audit. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnScheduledAudit( * @param tags Metadata that can be used to manage the scheduled audit. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAuditProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAuditProps.kt index 3c77b9c7d4..18e1bef046 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAuditProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnScheduledAuditProps.kt @@ -233,7 +233,7 @@ public interface CfnScheduledAuditProps { * @param tags Metadata that can be used to manage the scheduled audit. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfile.kt index ff869aad18..be4d942d61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfile.kt @@ -106,7 +106,7 @@ public open class CfnSecurityProfile( cdkObject: software.amazon.awscdk.services.iot.CfnSecurityProfile, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnSecurityProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnSecurityProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -115,8 +115,8 @@ public open class CfnSecurityProfile( id: String, props: CfnSecurityProfileProps, ) : - this(software.amazon.awscdk.services.iot.CfnSecurityProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityProfileProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnSecurityProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityProfileProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnSecurityProfile( * A list of metrics whose data is retained (stored). */ public open fun additionalMetricsToRetainV2(`value`: IResolvable) { - unwrap(this).setAdditionalMetricsToRetainV2(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalMetricsToRetainV2(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnSecurityProfile( * Specifies the destinations to which alerts are sent. */ public open fun alertTargets(`value`: IResolvable) { - unwrap(this).setAlertTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlertTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnSecurityProfile( * Specifies the behaviors that, when violated by a device (thing), cause an alert. */ public open fun behaviors(`value`: IResolvable) { - unwrap(this).setBehaviors(`value`.let(IResolvable::unwrap)) + unwrap(this).setBehaviors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnSecurityProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -218,14 +218,14 @@ public open class CfnSecurityProfile( * Specifies the MQTT topic and role ARN required for metric export. */ public open fun metricsExportConfig(`value`: IResolvable) { - unwrap(this).setMetricsExportConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricsExportConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the MQTT topic and role ARN required for metric export. */ public open fun metricsExportConfig(`value`: MetricsExportConfigProperty) { - unwrap(this).setMetricsExportConfig(`value`.let(MetricsExportConfigProperty::unwrap)) + unwrap(this).setMetricsExportConfig(`value`.let(MetricsExportConfigProperty.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnSecurityProfile( * Metadata that can be used to manage the security profile. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnSecurityProfile( * @param additionalMetricsToRetainV2 A list of metrics whose data is retained (stored). */ override fun additionalMetricsToRetainV2(additionalMetricsToRetainV2: IResolvable) { - cdkBuilder.additionalMetricsToRetainV2(additionalMetricsToRetainV2.let(IResolvable::unwrap)) + cdkBuilder.additionalMetricsToRetainV2(additionalMetricsToRetainV2.let(IResolvable.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnSecurityProfile( * @param alertTargets Specifies the destinations to which alerts are sent. */ override fun alertTargets(alertTargets: IResolvable) { - cdkBuilder.alertTargets(alertTargets.let(IResolvable::unwrap)) + cdkBuilder.alertTargets(alertTargets.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public open class CfnSecurityProfile( * alert. */ override fun behaviors(behaviors: IResolvable) { - cdkBuilder.behaviors(behaviors.let(IResolvable::unwrap)) + cdkBuilder.behaviors(behaviors.let(IResolvable.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public open class CfnSecurityProfile( * @param metricsExportConfig Specifies the MQTT topic and role ARN required for metric export. */ override fun metricsExportConfig(metricsExportConfig: IResolvable) { - cdkBuilder.metricsExportConfig(metricsExportConfig.let(IResolvable::unwrap)) + cdkBuilder.metricsExportConfig(metricsExportConfig.let(IResolvable.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public open class CfnSecurityProfile( * @param metricsExportConfig Specifies the MQTT topic and role ARN required for metric export. */ override fun metricsExportConfig(metricsExportConfig: MetricsExportConfigProperty) { - cdkBuilder.metricsExportConfig(metricsExportConfig.let(MetricsExportConfigProperty::unwrap)) + cdkBuilder.metricsExportConfig(metricsExportConfig.let(MetricsExportConfigProperty.Companion::unwrap)) } /** @@ -633,7 +633,7 @@ public open class CfnSecurityProfile( * @param tags Metadata that can be used to manage the security profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1058,14 +1058,14 @@ public open class CfnSecurityProfile( * @param mlDetectionConfig The confidence level of the detection model. */ override fun mlDetectionConfig(mlDetectionConfig: IResolvable) { - cdkBuilder.mlDetectionConfig(mlDetectionConfig.let(IResolvable::unwrap)) + cdkBuilder.mlDetectionConfig(mlDetectionConfig.let(IResolvable.Companion::unwrap)) } /** * @param mlDetectionConfig The confidence level of the detection model. */ override fun mlDetectionConfig(mlDetectionConfig: MachineLearningDetectionConfigProperty) { - cdkBuilder.mlDetectionConfig(mlDetectionConfig.let(MachineLearningDetectionConfigProperty::unwrap)) + cdkBuilder.mlDetectionConfig(mlDetectionConfig.let(MachineLearningDetectionConfigProperty.Companion::unwrap)) } /** @@ -1082,7 +1082,7 @@ public open class CfnSecurityProfile( * value by which a behavior is determined to be in compliance or in violation of the behavior. */ override fun statisticalThreshold(statisticalThreshold: IResolvable) { - cdkBuilder.statisticalThreshold(statisticalThreshold.let(IResolvable::unwrap)) + cdkBuilder.statisticalThreshold(statisticalThreshold.let(IResolvable.Companion::unwrap)) } /** @@ -1090,7 +1090,7 @@ public open class CfnSecurityProfile( * value by which a behavior is determined to be in compliance or in violation of the behavior. */ override fun statisticalThreshold(statisticalThreshold: StatisticalThresholdProperty) { - cdkBuilder.statisticalThreshold(statisticalThreshold.let(StatisticalThresholdProperty::unwrap)) + cdkBuilder.statisticalThreshold(statisticalThreshold.let(StatisticalThresholdProperty.Companion::unwrap)) } /** @@ -1107,14 +1107,14 @@ public open class CfnSecurityProfile( * @param value The value to be compared with the `metric` . */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value to be compared with the `metric` . */ override fun `value`(`value`: MetricValueProperty) { - cdkBuilder.`value`(`value`.let(MetricValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MetricValueProperty.Companion::unwrap)) } /** @@ -1418,7 +1418,7 @@ public open class CfnSecurityProfile( * Device Defender detects that a device is behaving anomalously. */ override fun criteria(criteria: IResolvable) { - cdkBuilder.criteria(criteria.let(IResolvable::unwrap)) + cdkBuilder.criteria(criteria.let(IResolvable.Companion::unwrap)) } /** @@ -1429,7 +1429,7 @@ public open class CfnSecurityProfile( * Device Defender detects that a device is behaving anomalously. */ override fun criteria(criteria: BehaviorCriteriaProperty) { - cdkBuilder.criteria(criteria.let(BehaviorCriteriaProperty::unwrap)) + cdkBuilder.criteria(criteria.let(BehaviorCriteriaProperty.Companion::unwrap)) } /** @@ -1457,7 +1457,7 @@ public open class CfnSecurityProfile( * true. */ override fun exportMetric(exportMetric: IResolvable) { - cdkBuilder.exportMetric(exportMetric.let(IResolvable::unwrap)) + cdkBuilder.exportMetric(exportMetric.let(IResolvable.Companion::unwrap)) } /** @@ -1471,14 +1471,14 @@ public open class CfnSecurityProfile( * @param metricDimension The dimension of the metric. */ override fun metricDimension(metricDimension: IResolvable) { - cdkBuilder.metricDimension(metricDimension.let(IResolvable::unwrap)) + cdkBuilder.metricDimension(metricDimension.let(IResolvable.Companion::unwrap)) } /** * @param metricDimension The dimension of the metric. */ override fun metricDimension(metricDimension: MetricDimensionProperty) { - cdkBuilder.metricDimension(metricDimension.let(MetricDimensionProperty::unwrap)) + cdkBuilder.metricDimension(metricDimension.let(MetricDimensionProperty.Companion::unwrap)) } /** @@ -1509,7 +1509,7 @@ public open class CfnSecurityProfile( * If you set the value to `true` , alerts will be suppressed. */ override fun suppressAlerts(suppressAlerts: IResolvable) { - cdkBuilder.suppressAlerts(suppressAlerts.let(IResolvable::unwrap)) + cdkBuilder.suppressAlerts(suppressAlerts.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iot.CfnSecurityProfile.BehaviorProperty = @@ -1910,7 +1910,7 @@ public open class CfnSecurityProfile( * when it's true. */ override fun exportMetric(exportMetric: IResolvable) { - cdkBuilder.exportMetric(exportMetric.let(IResolvable::unwrap)) + cdkBuilder.exportMetric(exportMetric.let(IResolvable.Companion::unwrap)) } /** @@ -1924,14 +1924,14 @@ public open class CfnSecurityProfile( * @param metricDimension The dimension of the metric. */ override fun metricDimension(metricDimension: IResolvable) { - cdkBuilder.metricDimension(metricDimension.let(IResolvable::unwrap)) + cdkBuilder.metricDimension(metricDimension.let(IResolvable.Companion::unwrap)) } /** * @param metricDimension The dimension of the metric. */ override fun metricDimension(metricDimension: MetricDimensionProperty) { - cdkBuilder.metricDimension(metricDimension.let(MetricDimensionProperty::unwrap)) + cdkBuilder.metricDimension(metricDimension.let(MetricDimensionProperty.Companion::unwrap)) } /** @@ -2167,7 +2167,7 @@ public open class CfnSecurityProfile( * @param numbers The numeric value of a metric. */ override fun numbers(numbers: IResolvable) { - cdkBuilder.numbers(numbers.let(IResolvable::unwrap)) + cdkBuilder.numbers(numbers.let(IResolvable.Companion::unwrap)) } /** @@ -2187,7 +2187,7 @@ public open class CfnSecurityProfile( * set to be compared with the `metric` . */ override fun ports(ports: IResolvable) { - cdkBuilder.ports(ports.let(IResolvable::unwrap)) + cdkBuilder.ports(ports.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfileProps.kt index e8fb15a300..50aac7577d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSecurityProfileProps.kt @@ -275,7 +275,7 @@ public interface CfnSecurityProfileProps { * dimensions. */ override fun additionalMetricsToRetainV2(additionalMetricsToRetainV2: IResolvable) { - cdkBuilder.additionalMetricsToRetainV2(additionalMetricsToRetainV2.let(IResolvable::unwrap)) + cdkBuilder.additionalMetricsToRetainV2(additionalMetricsToRetainV2.let(IResolvable.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface CfnSecurityProfileProps { * a behavior. */ override fun alertTargets(alertTargets: IResolvable) { - cdkBuilder.alertTargets(alertTargets.let(IResolvable::unwrap)) + cdkBuilder.alertTargets(alertTargets.let(IResolvable.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface CfnSecurityProfileProps { * alert. */ override fun behaviors(behaviors: IResolvable) { - cdkBuilder.behaviors(behaviors.let(IResolvable::unwrap)) + cdkBuilder.behaviors(behaviors.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface CfnSecurityProfileProps { * @param metricsExportConfig Specifies the MQTT topic and role ARN required for metric export. */ override fun metricsExportConfig(metricsExportConfig: IResolvable) { - cdkBuilder.metricsExportConfig(metricsExportConfig.let(IResolvable::unwrap)) + cdkBuilder.metricsExportConfig(metricsExportConfig.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface CfnSecurityProfileProps { */ override fun metricsExportConfig(metricsExportConfig: CfnSecurityProfile.MetricsExportConfigProperty) { - cdkBuilder.metricsExportConfig(metricsExportConfig.let(CfnSecurityProfile.MetricsExportConfigProperty::unwrap)) + cdkBuilder.metricsExportConfig(metricsExportConfig.let(CfnSecurityProfile.MetricsExportConfigProperty.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface CfnSecurityProfileProps { * @param tags Metadata that can be used to manage the security profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackage.kt index 7e7e7d491a..c438e3a3f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackage.kt @@ -50,7 +50,7 @@ public open class CfnSoftwarePackage( cdkObject: software.amazon.awscdk.services.iot.CfnSoftwarePackage, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnSoftwarePackage(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnSoftwarePackage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -59,8 +59,8 @@ public open class CfnSoftwarePackage( id: String, props: CfnSoftwarePackageProps, ) : - this(software.amazon.awscdk.services.iot.CfnSoftwarePackage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSoftwarePackageProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnSoftwarePackage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSoftwarePackageProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnSoftwarePackage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnSoftwarePackage( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnSoftwarePackage( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageProps.kt index 32e589a925..db6d69a87e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageProps.kt @@ -97,7 +97,7 @@ public interface CfnSoftwarePackageProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersion.kt index 0b7574c781..771888c420 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersion.kt @@ -75,8 +75,8 @@ public open class CfnSoftwarePackageVersion( id: String, props: CfnSoftwarePackageVersionProps, ) : - this(software.amazon.awscdk.services.iot.CfnSoftwarePackageVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSoftwarePackageVersionProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnSoftwarePackageVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSoftwarePackageVersionProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnSoftwarePackageVersion( * */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnSoftwarePackageVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnSoftwarePackageVersion( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnSoftwarePackageVersion( * @param attributes */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnSoftwarePackageVersion( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersionProps.kt index 50227a210b..111b09c70f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnSoftwarePackageVersionProps.kt @@ -117,7 +117,7 @@ public interface CfnSoftwarePackageVersionProps { * @param attributes the value to be set. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public interface CfnSoftwarePackageVersionProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThing.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThing.kt index c69a00160c..68baec1440 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThing.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThing.kt @@ -46,7 +46,7 @@ public open class CfnThing( cdkObject: software.amazon.awscdk.services.iot.CfnThing, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnThing(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnThing(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -55,8 +55,8 @@ public open class CfnThing( id: String, props: CfnThingProps, ) : - this(software.amazon.awscdk.services.iot.CfnThing(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThingProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnThing(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThingProps.Companion::unwrap)) ) public constructor( @@ -86,14 +86,14 @@ public open class CfnThing( * A string that contains up to three key value pairs. */ public open fun attributePayload(`value`: IResolvable) { - unwrap(this).setAttributePayload(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributePayload(`value`.let(IResolvable.Companion::unwrap)) } /** * A string that contains up to three key value pairs. */ public open fun attributePayload(`value`: AttributePayloadProperty) { - unwrap(this).setAttributePayload(`value`.let(AttributePayloadProperty::unwrap)) + unwrap(this).setAttributePayload(`value`.let(AttributePayloadProperty.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public open class CfnThing( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnThing( * @param attributePayload A string that contains up to three key value pairs. */ override fun attributePayload(attributePayload: IResolvable) { - cdkBuilder.attributePayload(attributePayload.let(IResolvable::unwrap)) + cdkBuilder.attributePayload(attributePayload.let(IResolvable.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnThing( * @param attributePayload A string that contains up to three key value pairs. */ override fun attributePayload(attributePayload: AttributePayloadProperty) { - cdkBuilder.attributePayload(attributePayload.let(AttributePayloadProperty::unwrap)) + cdkBuilder.attributePayload(attributePayload.let(AttributePayloadProperty.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnThing( * `{\"attributes\":{\"string1\":\"string2\"}}` */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroup.kt index 36b7557dc4..efb80a1984 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroup.kt @@ -69,7 +69,7 @@ public open class CfnThingGroup( cdkObject: software.amazon.awscdk.services.iot.CfnThingGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnThingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnThingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -78,8 +78,8 @@ public open class CfnThingGroup( id: String, props: CfnThingGroupProps, ) : - this(software.amazon.awscdk.services.iot.CfnThingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThingGroupProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnThingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThingGroupProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnThingGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnThingGroup( * Metadata which can be used to manage the thing group or dynamic thing group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -176,14 +176,14 @@ public open class CfnThingGroup( * Thing group properties. */ public open fun thingGroupProperties(`value`: IResolvable) { - unwrap(this).setThingGroupProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setThingGroupProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * Thing group properties. */ public open fun thingGroupProperties(`value`: ThingGroupPropertiesProperty) { - unwrap(this).setThingGroupProperties(`value`.let(ThingGroupPropertiesProperty::unwrap)) + unwrap(this).setThingGroupProperties(`value`.let(ThingGroupPropertiesProperty.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnThingGroup( * @param tags Metadata which can be used to manage the thing group or dynamic thing group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnThingGroup( * @param thingGroupProperties Thing group properties. */ override fun thingGroupProperties(thingGroupProperties: IResolvable) { - cdkBuilder.thingGroupProperties(thingGroupProperties.let(IResolvable::unwrap)) + cdkBuilder.thingGroupProperties(thingGroupProperties.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnThingGroup( * @param thingGroupProperties Thing group properties. */ override fun thingGroupProperties(thingGroupProperties: ThingGroupPropertiesProperty) { - cdkBuilder.thingGroupProperties(thingGroupProperties.let(ThingGroupPropertiesProperty::unwrap)) + cdkBuilder.thingGroupProperties(thingGroupProperties.let(ThingGroupPropertiesProperty.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnThingGroup( * `{\"attributes\":{\"string1\":\"string2\"}}` */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -565,14 +565,14 @@ public open class CfnThingGroup( * @param attributePayload The thing group attributes in JSON format. */ override fun attributePayload(attributePayload: IResolvable) { - cdkBuilder.attributePayload(attributePayload.let(IResolvable::unwrap)) + cdkBuilder.attributePayload(attributePayload.let(IResolvable.Companion::unwrap)) } /** * @param attributePayload The thing group attributes in JSON format. */ override fun attributePayload(attributePayload: AttributePayloadProperty) { - cdkBuilder.attributePayload(attributePayload.let(AttributePayloadProperty::unwrap)) + cdkBuilder.attributePayload(attributePayload.let(AttributePayloadProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroupProps.kt index 234f2b93fa..42fae4a749 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingGroupProps.kt @@ -161,7 +161,7 @@ public interface CfnThingGroupProps { * @param tags Metadata which can be used to manage the thing group or dynamic thing group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public interface CfnThingGroupProps { * @param thingGroupProperties Thing group properties. */ override fun thingGroupProperties(thingGroupProperties: IResolvable) { - cdkBuilder.thingGroupProperties(thingGroupProperties.let(IResolvable::unwrap)) + cdkBuilder.thingGroupProperties(thingGroupProperties.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface CfnThingGroupProps { */ override fun thingGroupProperties(thingGroupProperties: CfnThingGroup.ThingGroupPropertiesProperty) { - cdkBuilder.thingGroupProperties(thingGroupProperties.let(CfnThingGroup.ThingGroupPropertiesProperty::unwrap)) + cdkBuilder.thingGroupProperties(thingGroupProperties.let(CfnThingGroup.ThingGroupPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingPrincipalAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingPrincipalAttachment.kt index 2ca9221a45..5da626f6e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingPrincipalAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingPrincipalAttachment.kt @@ -42,8 +42,8 @@ public open class CfnThingPrincipalAttachment( id: String, props: CfnThingPrincipalAttachmentProps, ) : - this(software.amazon.awscdk.services.iot.CfnThingPrincipalAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThingPrincipalAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnThingPrincipalAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThingPrincipalAttachmentProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CfnThingPrincipalAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingProps.kt index a49539ff02..ead28d034c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingProps.kt @@ -94,7 +94,7 @@ public interface CfnThingProps { * Maximum length of 800. Duplicates not allowed. */ override fun attributePayload(attributePayload: IResolvable) { - cdkBuilder.attributePayload(attributePayload.let(IResolvable::unwrap)) + cdkBuilder.attributePayload(attributePayload.let(IResolvable.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public interface CfnThingProps { * Maximum length of 800. Duplicates not allowed. */ override fun attributePayload(attributePayload: CfnThing.AttributePayloadProperty) { - cdkBuilder.attributePayload(attributePayload.let(CfnThing.AttributePayloadProperty::unwrap)) + cdkBuilder.attributePayload(attributePayload.let(CfnThing.AttributePayloadProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingType.kt index 208621ddf3..e0bd67d636 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingType.kt @@ -50,7 +50,7 @@ public open class CfnThingType( cdkObject: software.amazon.awscdk.services.iot.CfnThingType, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnThingType(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnThingType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -59,8 +59,8 @@ public open class CfnThingType( id: String, props: CfnThingTypeProps, ) : - this(software.amazon.awscdk.services.iot.CfnThingType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThingTypeProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnThingType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThingTypeProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnThingType( * You can not associate new things with deprecated thing type. */ public open fun deprecateThingType(`value`: IResolvable) { - unwrap(this).setDeprecateThingType(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeprecateThingType(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnThingType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnThingType( * Metadata which can be used to manage the thing type. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -158,14 +158,14 @@ public open class CfnThingType( * The thing type properties for the thing type to create. */ public open fun thingTypeProperties(`value`: IResolvable) { - unwrap(this).setThingTypeProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setThingTypeProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * The thing type properties for the thing type to create. */ public open fun thingTypeProperties(`value`: ThingTypePropertiesProperty) { - unwrap(this).setThingTypeProperties(`value`.let(ThingTypePropertiesProperty::unwrap)) + unwrap(this).setThingTypeProperties(`value`.let(ThingTypePropertiesProperty.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnThingType( * deprecated thing type. */ override fun deprecateThingType(deprecateThingType: IResolvable) { - cdkBuilder.deprecateThingType(deprecateThingType.let(IResolvable::unwrap)) + cdkBuilder.deprecateThingType(deprecateThingType.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnThingType( * @param tags Metadata which can be used to manage the thing type. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnThingType( * @param thingTypeProperties The thing type properties for the thing type to create. */ override fun thingTypeProperties(thingTypeProperties: IResolvable) { - cdkBuilder.thingTypeProperties(thingTypeProperties.let(IResolvable::unwrap)) + cdkBuilder.thingTypeProperties(thingTypeProperties.let(IResolvable.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnThingType( * @param thingTypeProperties The thing type properties for the thing type to create. */ override fun thingTypeProperties(thingTypeProperties: ThingTypePropertiesProperty) { - cdkBuilder.thingTypeProperties(thingTypeProperties.let(ThingTypePropertiesProperty::unwrap)) + cdkBuilder.thingTypeProperties(thingTypeProperties.let(ThingTypePropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingTypeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingTypeProps.kt index 3945ee799e..4324154688 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingTypeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnThingTypeProps.kt @@ -165,14 +165,14 @@ public interface CfnThingTypeProps { * action. */ override fun deprecateThingType(deprecateThingType: IResolvable) { - cdkBuilder.deprecateThingType(deprecateThingType.let(IResolvable::unwrap)) + cdkBuilder.deprecateThingType(deprecateThingType.let(IResolvable.Companion::unwrap)) } /** * @param tags Metadata which can be used to manage the thing type. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnThingTypeProps { * creation of the `ThingType` . */ override fun thingTypeProperties(thingTypeProperties: IResolvable) { - cdkBuilder.thingTypeProperties(thingTypeProperties.let(IResolvable::unwrap)) + cdkBuilder.thingTypeProperties(thingTypeProperties.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface CfnThingTypeProps { */ override fun thingTypeProperties(thingTypeProperties: CfnThingType.ThingTypePropertiesProperty) { - cdkBuilder.thingTypeProperties(thingTypeProperties.let(CfnThingType.ThingTypePropertiesProperty::unwrap)) + cdkBuilder.thingTypeProperties(thingTypeProperties.let(CfnThingType.ThingTypePropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRule.kt index cd5d9e5c6a..efb49ca6eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRule.kt @@ -477,8 +477,8 @@ public open class CfnTopicRule( id: String, props: CfnTopicRuleProps, ) : - this(software.amazon.awscdk.services.iot.CfnTopicRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTopicRuleProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnTopicRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTopicRuleProps.Companion::unwrap)) ) public constructor( @@ -500,7 +500,7 @@ public open class CfnTopicRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnTopicRule( * Metadata which can be used to manage the topic rule. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -547,14 +547,14 @@ public open class CfnTopicRule( * The rule payload. */ public open fun topicRulePayload(`value`: IResolvable) { - unwrap(this).setTopicRulePayload(`value`.let(IResolvable::unwrap)) + unwrap(this).setTopicRulePayload(`value`.let(IResolvable.Companion::unwrap)) } /** * The rule payload. */ public open fun topicRulePayload(`value`: TopicRulePayloadProperty) { - unwrap(this).setTopicRulePayload(`value`.let(TopicRulePayloadProperty::unwrap)) + unwrap(this).setTopicRulePayload(`value`.let(TopicRulePayloadProperty.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnTopicRule( * @param tags Metadata which can be used to manage the topic rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnTopicRule( * @param topicRulePayload The rule payload. */ override fun topicRulePayload(topicRulePayload: IResolvable) { - cdkBuilder.topicRulePayload(topicRulePayload.let(IResolvable::unwrap)) + cdkBuilder.topicRulePayload(topicRulePayload.let(IResolvable.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public open class CfnTopicRule( * @param topicRulePayload The rule payload. */ override fun topicRulePayload(topicRulePayload: TopicRulePayloadProperty) { - cdkBuilder.topicRulePayload(topicRulePayload.let(TopicRulePayloadProperty::unwrap)) + cdkBuilder.topicRulePayload(topicRulePayload.let(TopicRulePayloadProperty.Companion::unwrap)) } /** @@ -1558,14 +1558,14 @@ public open class CfnTopicRule( * @param cloudwatchAlarm Change the state of a CloudWatch alarm. */ override fun cloudwatchAlarm(cloudwatchAlarm: IResolvable) { - cdkBuilder.cloudwatchAlarm(cloudwatchAlarm.let(IResolvable::unwrap)) + cdkBuilder.cloudwatchAlarm(cloudwatchAlarm.let(IResolvable.Companion::unwrap)) } /** * @param cloudwatchAlarm Change the state of a CloudWatch alarm. */ override fun cloudwatchAlarm(cloudwatchAlarm: CloudwatchAlarmActionProperty) { - cdkBuilder.cloudwatchAlarm(cloudwatchAlarm.let(CloudwatchAlarmActionProperty::unwrap)) + cdkBuilder.cloudwatchAlarm(cloudwatchAlarm.let(CloudwatchAlarmActionProperty.Companion::unwrap)) } /** @@ -1581,14 +1581,14 @@ public open class CfnTopicRule( * @param cloudwatchLogs Sends data to CloudWatch. */ override fun cloudwatchLogs(cloudwatchLogs: IResolvable) { - cdkBuilder.cloudwatchLogs(cloudwatchLogs.let(IResolvable::unwrap)) + cdkBuilder.cloudwatchLogs(cloudwatchLogs.let(IResolvable.Companion::unwrap)) } /** * @param cloudwatchLogs Sends data to CloudWatch. */ override fun cloudwatchLogs(cloudwatchLogs: CloudwatchLogsActionProperty) { - cdkBuilder.cloudwatchLogs(cloudwatchLogs.let(CloudwatchLogsActionProperty::unwrap)) + cdkBuilder.cloudwatchLogs(cloudwatchLogs.let(CloudwatchLogsActionProperty.Companion::unwrap)) } /** @@ -1603,14 +1603,14 @@ public open class CfnTopicRule( * @param cloudwatchMetric Capture a CloudWatch metric. */ override fun cloudwatchMetric(cloudwatchMetric: IResolvable) { - cdkBuilder.cloudwatchMetric(cloudwatchMetric.let(IResolvable::unwrap)) + cdkBuilder.cloudwatchMetric(cloudwatchMetric.let(IResolvable.Companion::unwrap)) } /** * @param cloudwatchMetric Capture a CloudWatch metric. */ override fun cloudwatchMetric(cloudwatchMetric: CloudwatchMetricActionProperty) { - cdkBuilder.cloudwatchMetric(cloudwatchMetric.let(CloudwatchMetricActionProperty::unwrap)) + cdkBuilder.cloudwatchMetric(cloudwatchMetric.let(CloudwatchMetricActionProperty.Companion::unwrap)) } /** @@ -1628,7 +1628,7 @@ public open class CfnTopicRule( * MQTT message payload into a separate DynamoDB column. */ override fun dynamoDBv2(dynamoDBv2: IResolvable) { - cdkBuilder.dynamoDBv2(dynamoDBv2.let(IResolvable::unwrap)) + cdkBuilder.dynamoDBv2(dynamoDBv2.let(IResolvable.Companion::unwrap)) } /** @@ -1637,7 +1637,7 @@ public open class CfnTopicRule( * MQTT message payload into a separate DynamoDB column. */ override fun dynamoDBv2(dynamoDBv2: DynamoDBv2ActionProperty) { - cdkBuilder.dynamoDBv2(dynamoDBv2.let(DynamoDBv2ActionProperty::unwrap)) + cdkBuilder.dynamoDBv2(dynamoDBv2.let(DynamoDBv2ActionProperty.Companion::unwrap)) } /** @@ -1654,14 +1654,14 @@ public open class CfnTopicRule( * @param dynamoDb Write to a DynamoDB table. */ override fun dynamoDb(dynamoDb: IResolvable) { - cdkBuilder.dynamoDb(dynamoDb.let(IResolvable::unwrap)) + cdkBuilder.dynamoDb(dynamoDb.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDb Write to a DynamoDB table. */ override fun dynamoDb(dynamoDb: DynamoDBActionProperty) { - cdkBuilder.dynamoDb(dynamoDb.let(DynamoDBActionProperty::unwrap)) + cdkBuilder.dynamoDb(dynamoDb.let(DynamoDBActionProperty.Companion::unwrap)) } /** @@ -1682,7 +1682,7 @@ public open class CfnTopicRule( * . */ override fun elasticsearch(elasticsearch: IResolvable) { - cdkBuilder.elasticsearch(elasticsearch.let(IResolvable::unwrap)) + cdkBuilder.elasticsearch(elasticsearch.let(IResolvable.Companion::unwrap)) } /** @@ -1695,7 +1695,7 @@ public open class CfnTopicRule( * . */ override fun elasticsearch(elasticsearch: ElasticsearchActionProperty) { - cdkBuilder.elasticsearch(elasticsearch.let(ElasticsearchActionProperty::unwrap)) + cdkBuilder.elasticsearch(elasticsearch.let(ElasticsearchActionProperty.Companion::unwrap)) } /** @@ -1716,14 +1716,14 @@ public open class CfnTopicRule( * @param firehose Write to an Amazon Kinesis Firehose stream. */ override fun firehose(firehose: IResolvable) { - cdkBuilder.firehose(firehose.let(IResolvable::unwrap)) + cdkBuilder.firehose(firehose.let(IResolvable.Companion::unwrap)) } /** * @param firehose Write to an Amazon Kinesis Firehose stream. */ override fun firehose(firehose: FirehoseActionProperty) { - cdkBuilder.firehose(firehose.let(FirehoseActionProperty::unwrap)) + cdkBuilder.firehose(firehose.let(FirehoseActionProperty.Companion::unwrap)) } /** @@ -1738,14 +1738,14 @@ public open class CfnTopicRule( * @param http Send data to an HTTPS endpoint. */ override fun http(http: IResolvable) { - cdkBuilder.http(http.let(IResolvable::unwrap)) + cdkBuilder.http(http.let(IResolvable.Companion::unwrap)) } /** * @param http Send data to an HTTPS endpoint. */ override fun http(http: HttpActionProperty) { - cdkBuilder.http(http.let(HttpActionProperty::unwrap)) + cdkBuilder.http(http.let(HttpActionProperty.Companion::unwrap)) } /** @@ -1760,14 +1760,14 @@ public open class CfnTopicRule( * @param iotAnalytics Sends message data to an AWS IoT Analytics channel. */ override fun iotAnalytics(iotAnalytics: IResolvable) { - cdkBuilder.iotAnalytics(iotAnalytics.let(IResolvable::unwrap)) + cdkBuilder.iotAnalytics(iotAnalytics.let(IResolvable.Companion::unwrap)) } /** * @param iotAnalytics Sends message data to an AWS IoT Analytics channel. */ override fun iotAnalytics(iotAnalytics: IotAnalyticsActionProperty) { - cdkBuilder.iotAnalytics(iotAnalytics.let(IotAnalyticsActionProperty::unwrap)) + cdkBuilder.iotAnalytics(iotAnalytics.let(IotAnalyticsActionProperty.Companion::unwrap)) } /** @@ -1782,14 +1782,14 @@ public open class CfnTopicRule( * @param iotEvents Sends an input to an AWS IoT Events detector. */ override fun iotEvents(iotEvents: IResolvable) { - cdkBuilder.iotEvents(iotEvents.let(IResolvable::unwrap)) + cdkBuilder.iotEvents(iotEvents.let(IResolvable.Companion::unwrap)) } /** * @param iotEvents Sends an input to an AWS IoT Events detector. */ override fun iotEvents(iotEvents: IotEventsActionProperty) { - cdkBuilder.iotEvents(iotEvents.let(IotEventsActionProperty::unwrap)) + cdkBuilder.iotEvents(iotEvents.let(IotEventsActionProperty.Companion::unwrap)) } /** @@ -1805,7 +1805,7 @@ public open class CfnTopicRule( * SiteWise asset properties. */ override fun iotSiteWise(iotSiteWise: IResolvable) { - cdkBuilder.iotSiteWise(iotSiteWise.let(IResolvable::unwrap)) + cdkBuilder.iotSiteWise(iotSiteWise.let(IResolvable.Companion::unwrap)) } /** @@ -1813,7 +1813,7 @@ public open class CfnTopicRule( * SiteWise asset properties. */ override fun iotSiteWise(iotSiteWise: IotSiteWiseActionProperty) { - cdkBuilder.iotSiteWise(iotSiteWise.let(IotSiteWiseActionProperty::unwrap)) + cdkBuilder.iotSiteWise(iotSiteWise.let(IotSiteWiseActionProperty.Companion::unwrap)) } /** @@ -1830,7 +1830,7 @@ public open class CfnTopicRule( * self-managed Apache Kafka cluster. */ override fun kafka(kafka: IResolvable) { - cdkBuilder.kafka(kafka.let(IResolvable::unwrap)) + cdkBuilder.kafka(kafka.let(IResolvable.Companion::unwrap)) } /** @@ -1838,7 +1838,7 @@ public open class CfnTopicRule( * self-managed Apache Kafka cluster. */ override fun kafka(kafka: KafkaActionProperty) { - cdkBuilder.kafka(kafka.let(KafkaActionProperty::unwrap)) + cdkBuilder.kafka(kafka.let(KafkaActionProperty.Companion::unwrap)) } /** @@ -1854,14 +1854,14 @@ public open class CfnTopicRule( * @param kinesis Write data to an Amazon Kinesis stream. */ override fun kinesis(kinesis: IResolvable) { - cdkBuilder.kinesis(kinesis.let(IResolvable::unwrap)) + cdkBuilder.kinesis(kinesis.let(IResolvable.Companion::unwrap)) } /** * @param kinesis Write data to an Amazon Kinesis stream. */ override fun kinesis(kinesis: KinesisActionProperty) { - cdkBuilder.kinesis(kinesis.let(KinesisActionProperty::unwrap)) + cdkBuilder.kinesis(kinesis.let(KinesisActionProperty.Companion::unwrap)) } /** @@ -1876,14 +1876,14 @@ public open class CfnTopicRule( * @param lambda Invoke a Lambda function. */ override fun lambda(lambda: IResolvable) { - cdkBuilder.lambda(lambda.let(IResolvable::unwrap)) + cdkBuilder.lambda(lambda.let(IResolvable.Companion::unwrap)) } /** * @param lambda Invoke a Lambda function. */ override fun lambda(lambda: LambdaActionProperty) { - cdkBuilder.lambda(lambda.let(LambdaActionProperty::unwrap)) + cdkBuilder.lambda(lambda.let(LambdaActionProperty.Companion::unwrap)) } /** @@ -1899,7 +1899,7 @@ public open class CfnTopicRule( * Service](https://docs.aws.amazon.com//location/latest/developerguide/welcome.html) . */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -1907,7 +1907,7 @@ public open class CfnTopicRule( * Service](https://docs.aws.amazon.com//location/latest/developerguide/welcome.html) . */ override fun location(location: LocationActionProperty) { - cdkBuilder.location(location.let(LocationActionProperty::unwrap)) + cdkBuilder.location(location.let(LocationActionProperty.Companion::unwrap)) } /** @@ -1923,14 +1923,14 @@ public open class CfnTopicRule( * @param openSearch Write data to an Amazon OpenSearch Service domain. */ override fun openSearch(openSearch: IResolvable) { - cdkBuilder.openSearch(openSearch.let(IResolvable::unwrap)) + cdkBuilder.openSearch(openSearch.let(IResolvable.Companion::unwrap)) } /** * @param openSearch Write data to an Amazon OpenSearch Service domain. */ override fun openSearch(openSearch: OpenSearchActionProperty) { - cdkBuilder.openSearch(openSearch.let(OpenSearchActionProperty::unwrap)) + cdkBuilder.openSearch(openSearch.let(OpenSearchActionProperty.Companion::unwrap)) } /** @@ -1945,14 +1945,14 @@ public open class CfnTopicRule( * @param republish Publish to another MQTT topic. */ override fun republish(republish: IResolvable) { - cdkBuilder.republish(republish.let(IResolvable::unwrap)) + cdkBuilder.republish(republish.let(IResolvable.Companion::unwrap)) } /** * @param republish Publish to another MQTT topic. */ override fun republish(republish: RepublishActionProperty) { - cdkBuilder.republish(republish.let(RepublishActionProperty::unwrap)) + cdkBuilder.republish(republish.let(RepublishActionProperty.Companion::unwrap)) } /** @@ -1967,14 +1967,14 @@ public open class CfnTopicRule( * @param s3 Write to an Amazon S3 bucket. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Write to an Amazon S3 bucket. */ override fun s3(s3: S3ActionProperty) { - cdkBuilder.s3(s3.let(S3ActionProperty::unwrap)) + cdkBuilder.s3(s3.let(S3ActionProperty.Companion::unwrap)) } /** @@ -1988,14 +1988,14 @@ public open class CfnTopicRule( * @param sns Publish to an Amazon SNS topic. */ override fun sns(sns: IResolvable) { - cdkBuilder.sns(sns.let(IResolvable::unwrap)) + cdkBuilder.sns(sns.let(IResolvable.Companion::unwrap)) } /** * @param sns Publish to an Amazon SNS topic. */ override fun sns(sns: SnsActionProperty) { - cdkBuilder.sns(sns.let(SnsActionProperty::unwrap)) + cdkBuilder.sns(sns.let(SnsActionProperty.Companion::unwrap)) } /** @@ -2010,14 +2010,14 @@ public open class CfnTopicRule( * @param sqs Publish to an Amazon SQS queue. */ override fun sqs(sqs: IResolvable) { - cdkBuilder.sqs(sqs.let(IResolvable::unwrap)) + cdkBuilder.sqs(sqs.let(IResolvable.Companion::unwrap)) } /** * @param sqs Publish to an Amazon SQS queue. */ override fun sqs(sqs: SqsActionProperty) { - cdkBuilder.sqs(sqs.let(SqsActionProperty::unwrap)) + cdkBuilder.sqs(sqs.let(SqsActionProperty.Companion::unwrap)) } /** @@ -2032,14 +2032,14 @@ public open class CfnTopicRule( * @param stepFunctions Starts execution of a Step Functions state machine. */ override fun stepFunctions(stepFunctions: IResolvable) { - cdkBuilder.stepFunctions(stepFunctions.let(IResolvable::unwrap)) + cdkBuilder.stepFunctions(stepFunctions.let(IResolvable.Companion::unwrap)) } /** * @param stepFunctions Starts execution of a Step Functions state machine. */ override fun stepFunctions(stepFunctions: StepFunctionsActionProperty) { - cdkBuilder.stepFunctions(stepFunctions.let(StepFunctionsActionProperty::unwrap)) + cdkBuilder.stepFunctions(stepFunctions.let(StepFunctionsActionProperty.Companion::unwrap)) } /** @@ -2054,14 +2054,14 @@ public open class CfnTopicRule( * @param timestream Writes attributes from an MQTT message. */ override fun timestream(timestream: IResolvable) { - cdkBuilder.timestream(timestream.let(IResolvable::unwrap)) + cdkBuilder.timestream(timestream.let(IResolvable.Companion::unwrap)) } /** * @param timestream Writes attributes from an MQTT message. */ override fun timestream(timestream: TimestreamActionProperty) { - cdkBuilder.timestream(timestream.let(TimestreamActionProperty::unwrap)) + cdkBuilder.timestream(timestream.let(TimestreamActionProperty.Companion::unwrap)) } /** @@ -2504,14 +2504,14 @@ public open class CfnTopicRule( * @param timestamp The asset property value timestamp. */ override fun timestamp(timestamp: IResolvable) { - cdkBuilder.timestamp(timestamp.let(IResolvable::unwrap)) + cdkBuilder.timestamp(timestamp.let(IResolvable.Companion::unwrap)) } /** * @param timestamp The asset property value timestamp. */ override fun timestamp(timestamp: AssetPropertyTimestampProperty) { - cdkBuilder.timestamp(timestamp.let(AssetPropertyTimestampProperty::unwrap)) + cdkBuilder.timestamp(timestamp.let(AssetPropertyTimestampProperty.Companion::unwrap)) } /** @@ -2526,14 +2526,14 @@ public open class CfnTopicRule( * @param value The value of the asset property. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value of the asset property. */ override fun `value`(`value`: AssetPropertyVariantProperty) { - cdkBuilder.`value`(`value`.let(AssetPropertyVariantProperty::unwrap)) + cdkBuilder.`value`(`value`.let(AssetPropertyVariantProperty.Companion::unwrap)) } /** @@ -3046,7 +3046,7 @@ public open class CfnTopicRule( * into CloudWatch. */ override fun batchMode(batchMode: IResolvable) { - cdkBuilder.batchMode(batchMode.let(IResolvable::unwrap)) + cdkBuilder.batchMode(batchMode.let(IResolvable.Companion::unwrap)) } /** @@ -3784,7 +3784,7 @@ public open class CfnTopicRule( * database. */ override fun putItem(putItem: IResolvable) { - cdkBuilder.putItem(putItem.let(IResolvable::unwrap)) + cdkBuilder.putItem(putItem.let(IResolvable.Companion::unwrap)) } /** @@ -3797,7 +3797,7 @@ public open class CfnTopicRule( * database. */ override fun putItem(putItem: PutItemInputProperty) { - cdkBuilder.putItem(putItem.let(PutItemInputProperty::unwrap)) + cdkBuilder.putItem(putItem.let(PutItemInputProperty.Companion::unwrap)) } /** @@ -4195,7 +4195,7 @@ public open class CfnTopicRule( * request. The resulting array can't have more than 500 records. */ override fun batchMode(batchMode: IResolvable) { - cdkBuilder.batchMode(batchMode.let(IResolvable::unwrap)) + cdkBuilder.batchMode(batchMode.let(IResolvable.Companion::unwrap)) } /** @@ -4528,14 +4528,14 @@ public open class CfnTopicRule( * @param auth The authentication method to use when sending data to an HTTPS endpoint. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** * @param auth The authentication method to use when sending data to an HTTPS endpoint. */ override fun auth(auth: HttpAuthorizationProperty) { - cdkBuilder.auth(auth.let(HttpAuthorizationProperty::unwrap)) + cdkBuilder.auth(auth.let(HttpAuthorizationProperty.Companion::unwrap)) } /** @@ -4562,7 +4562,7 @@ public open class CfnTopicRule( * @param headers The HTTP headers to send with the message data. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -4720,7 +4720,7 @@ public open class CfnTopicRule( * Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) . */ override fun sigv4(sigv4: IResolvable) { - cdkBuilder.sigv4(sigv4.let(IResolvable::unwrap)) + cdkBuilder.sigv4(sigv4.let(IResolvable.Companion::unwrap)) } /** @@ -4729,7 +4729,7 @@ public open class CfnTopicRule( * Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) . */ override fun sigv4(sigv4: SigV4AuthorizationProperty) { - cdkBuilder.sigv4(sigv4.let(SigV4AuthorizationProperty::unwrap)) + cdkBuilder.sigv4(sigv4.let(SigV4AuthorizationProperty.Companion::unwrap)) } /** @@ -4885,7 +4885,7 @@ public open class CfnTopicRule( * The resulting array can't have more than 100 messages. */ override fun batchMode(batchMode: IResolvable) { - cdkBuilder.batchMode(batchMode.let(IResolvable::unwrap)) + cdkBuilder.batchMode(batchMode.let(IResolvable.Companion::unwrap)) } /** @@ -5105,7 +5105,7 @@ public open class CfnTopicRule( * . The resulting array can't have more than 10 messages. */ override fun batchMode(batchMode: IResolvable) { - cdkBuilder.batchMode(batchMode.let(IResolvable::unwrap)) + cdkBuilder.batchMode(batchMode.let(IResolvable.Companion::unwrap)) } /** @@ -5302,7 +5302,7 @@ public open class CfnTopicRule( * @param putAssetPropertyValueEntries A list of asset property value entries. */ override fun putAssetPropertyValueEntries(putAssetPropertyValueEntries: IResolvable) { - cdkBuilder.putAssetPropertyValueEntries(putAssetPropertyValueEntries.let(IResolvable::unwrap)) + cdkBuilder.putAssetPropertyValueEntries(putAssetPropertyValueEntries.let(IResolvable.Companion::unwrap)) } /** @@ -5613,7 +5613,7 @@ public open class CfnTopicRule( * @param clientProperties Properties of the Apache Kafka producer client. */ override fun clientProperties(clientProperties: IResolvable) { - cdkBuilder.clientProperties(clientProperties.let(IResolvable::unwrap)) + cdkBuilder.clientProperties(clientProperties.let(IResolvable.Companion::unwrap)) } /** @@ -5634,7 +5634,7 @@ public open class CfnTopicRule( * @param headers The list of Kafka headers that you specify. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -6123,7 +6123,7 @@ public open class CfnTopicRule( * The default value is the time the MQTT message was processed. */ override fun timestamp(timestamp: IResolvable) { - cdkBuilder.timestamp(timestamp.let(IResolvable::unwrap)) + cdkBuilder.timestamp(timestamp.let(IResolvable.Companion::unwrap)) } /** @@ -6131,7 +6131,7 @@ public open class CfnTopicRule( * The default value is the time the MQTT message was processed. */ override fun timestamp(timestamp: TimestampProperty) { - cdkBuilder.timestamp(timestamp.let(TimestampProperty::unwrap)) + cdkBuilder.timestamp(timestamp.let(TimestampProperty.Companion::unwrap)) } /** @@ -6595,7 +6595,7 @@ public open class CfnTopicRule( * quality, and value (TQV) information. */ override fun propertyValues(propertyValues: IResolvable) { - cdkBuilder.propertyValues(propertyValues.let(IResolvable::unwrap)) + cdkBuilder.propertyValues(propertyValues.let(IResolvable.Companion::unwrap)) } /** @@ -7085,7 +7085,7 @@ public open class CfnTopicRule( * @param userProperties An array of key-value pairs that you define in the MQTT5 header. */ override fun userProperties(userProperties: IResolvable) { - cdkBuilder.userProperties(userProperties.let(IResolvable::unwrap)) + cdkBuilder.userProperties(userProperties.let(IResolvable.Companion::unwrap)) } /** @@ -7342,7 +7342,7 @@ public open class CfnTopicRule( * Developer Guide. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -7351,7 +7351,7 @@ public open class CfnTopicRule( * Developer Guide. */ override fun headers(headers: RepublishActionHeadersProperty) { - cdkBuilder.headers(headers.let(RepublishActionHeadersProperty::unwrap)) + cdkBuilder.headers(headers.let(RepublishActionHeadersProperty.Companion::unwrap)) } /** @@ -8016,7 +8016,7 @@ public open class CfnTopicRule( * @param useBase64 Specifies whether to use Base64 encoding. */ override fun useBase64(useBase64: IResolvable) { - cdkBuilder.useBase64(useBase64.let(IResolvable::unwrap)) + cdkBuilder.useBase64(useBase64.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iot.CfnTopicRule.SqsActionProperty = @@ -8477,7 +8477,7 @@ public open class CfnTopicRule( * record. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -8514,7 +8514,7 @@ public open class CfnTopicRule( * If blank, the time that the entry was processed is used. */ override fun timestamp(timestamp: IResolvable) { - cdkBuilder.timestamp(timestamp.let(IResolvable::unwrap)) + cdkBuilder.timestamp(timestamp.let(IResolvable.Companion::unwrap)) } /** @@ -8522,7 +8522,7 @@ public open class CfnTopicRule( * If blank, the time that the entry was processed is used. */ override fun timestamp(timestamp: TimestreamTimestampProperty) { - cdkBuilder.timestamp(timestamp.let(TimestreamTimestampProperty::unwrap)) + cdkBuilder.timestamp(timestamp.let(TimestreamTimestampProperty.Companion::unwrap)) } /** @@ -9385,7 +9385,7 @@ public open class CfnTopicRule( * @param actions The actions associated with the rule. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -9420,14 +9420,14 @@ public open class CfnTopicRule( * @param errorAction The action to take when an error occurs. */ override fun errorAction(errorAction: IResolvable) { - cdkBuilder.errorAction(errorAction.let(IResolvable::unwrap)) + cdkBuilder.errorAction(errorAction.let(IResolvable.Companion::unwrap)) } /** * @param errorAction The action to take when an error occurs. */ override fun errorAction(errorAction: ActionProperty) { - cdkBuilder.errorAction(errorAction.let(ActionProperty::unwrap)) + cdkBuilder.errorAction(errorAction.let(ActionProperty.Companion::unwrap)) } /** @@ -9449,7 +9449,7 @@ public open class CfnTopicRule( * @param ruleDisabled Specifies whether the rule is disabled. */ override fun ruleDisabled(ruleDisabled: IResolvable) { - cdkBuilder.ruleDisabled(ruleDisabled.let(IResolvable::unwrap)) + cdkBuilder.ruleDisabled(ruleDisabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestination.kt index 148fc868f1..5b6980fde3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestination.kt @@ -47,7 +47,7 @@ public open class CfnTopicRuleDestination( cdkObject: software.amazon.awscdk.services.iot.CfnTopicRuleDestination, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iot.CfnTopicRuleDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iot.CfnTopicRuleDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +56,8 @@ public open class CfnTopicRuleDestination( id: String, props: CfnTopicRuleDestinationProps, ) : - this(software.amazon.awscdk.services.iot.CfnTopicRuleDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTopicRuleDestinationProps::unwrap)) + this(software.amazon.awscdk.services.iot.CfnTopicRuleDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTopicRuleDestinationProps.Companion::unwrap)) ) public constructor( @@ -86,14 +86,14 @@ public open class CfnTopicRuleDestination( * Properties of the HTTP URL. */ public open fun httpUrlProperties(`value`: IResolvable) { - unwrap(this).setHttpUrlProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpUrlProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * Properties of the HTTP URL. */ public open fun httpUrlProperties(`value`: HttpUrlDestinationSummaryProperty) { - unwrap(this).setHttpUrlProperties(`value`.let(HttpUrlDestinationSummaryProperty::unwrap)) + unwrap(this).setHttpUrlProperties(`value`.let(HttpUrlDestinationSummaryProperty.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public open class CfnTopicRuleDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,14 +134,14 @@ public open class CfnTopicRuleDestination( * Properties of the virtual private cloud (VPC) connection. */ public open fun vpcProperties(`value`: IResolvable) { - unwrap(this).setVpcProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * Properties of the virtual private cloud (VPC) connection. */ public open fun vpcProperties(`value`: VpcDestinationPropertiesProperty) { - unwrap(this).setVpcProperties(`value`.let(VpcDestinationPropertiesProperty::unwrap)) + unwrap(this).setVpcProperties(`value`.let(VpcDestinationPropertiesProperty.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnTopicRuleDestination( * @param httpUrlProperties Properties of the HTTP URL. */ override fun httpUrlProperties(httpUrlProperties: IResolvable) { - cdkBuilder.httpUrlProperties(httpUrlProperties.let(IResolvable::unwrap)) + cdkBuilder.httpUrlProperties(httpUrlProperties.let(IResolvable.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class CfnTopicRuleDestination( * @param httpUrlProperties Properties of the HTTP URL. */ override fun httpUrlProperties(httpUrlProperties: HttpUrlDestinationSummaryProperty) { - cdkBuilder.httpUrlProperties(httpUrlProperties.let(HttpUrlDestinationSummaryProperty::unwrap)) + cdkBuilder.httpUrlProperties(httpUrlProperties.let(HttpUrlDestinationSummaryProperty.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CfnTopicRuleDestination( * @param vpcProperties Properties of the virtual private cloud (VPC) connection. */ override fun vpcProperties(vpcProperties: IResolvable) { - cdkBuilder.vpcProperties(vpcProperties.let(IResolvable::unwrap)) + cdkBuilder.vpcProperties(vpcProperties.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnTopicRuleDestination( * @param vpcProperties Properties of the virtual private cloud (VPC) connection. */ override fun vpcProperties(vpcProperties: VpcDestinationPropertiesProperty) { - cdkBuilder.vpcProperties(vpcProperties.let(VpcDestinationPropertiesProperty::unwrap)) + cdkBuilder.vpcProperties(vpcProperties.let(VpcDestinationPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestinationProps.kt index 320e8957e0..a09d36aee7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleDestinationProps.kt @@ -142,7 +142,7 @@ public interface CfnTopicRuleDestinationProps { * @param httpUrlProperties Properties of the HTTP URL. */ override fun httpUrlProperties(httpUrlProperties: IResolvable) { - cdkBuilder.httpUrlProperties(httpUrlProperties.let(IResolvable::unwrap)) + cdkBuilder.httpUrlProperties(httpUrlProperties.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnTopicRuleDestinationProps { */ override fun httpUrlProperties(httpUrlProperties: CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty) { - cdkBuilder.httpUrlProperties(httpUrlProperties.let(CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty::unwrap)) + cdkBuilder.httpUrlProperties(httpUrlProperties.let(CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface CfnTopicRuleDestinationProps { * @param vpcProperties Properties of the virtual private cloud (VPC) connection. */ override fun vpcProperties(vpcProperties: IResolvable) { - cdkBuilder.vpcProperties(vpcProperties.let(IResolvable::unwrap)) + cdkBuilder.vpcProperties(vpcProperties.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public interface CfnTopicRuleDestinationProps { */ override fun vpcProperties(vpcProperties: CfnTopicRuleDestination.VpcDestinationPropertiesProperty) { - cdkBuilder.vpcProperties(vpcProperties.let(CfnTopicRuleDestination.VpcDestinationPropertiesProperty::unwrap)) + cdkBuilder.vpcProperties(vpcProperties.let(CfnTopicRuleDestination.VpcDestinationPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleProps.kt index e233389c75..291c2d8e68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot/CfnTopicRuleProps.kt @@ -561,7 +561,7 @@ public interface CfnTopicRuleProps { * For the cli-input-json file use format: "tags": "key1=value1&key2=value2..." */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -579,14 +579,14 @@ public interface CfnTopicRuleProps { * @param topicRulePayload The rule payload. */ override fun topicRulePayload(topicRulePayload: IResolvable) { - cdkBuilder.topicRulePayload(topicRulePayload.let(IResolvable::unwrap)) + cdkBuilder.topicRulePayload(topicRulePayload.let(IResolvable.Companion::unwrap)) } /** * @param topicRulePayload The rule payload. */ override fun topicRulePayload(topicRulePayload: CfnTopicRule.TopicRulePayloadProperty) { - cdkBuilder.topicRulePayload(topicRulePayload.let(CfnTopicRule.TopicRulePayloadProperty::unwrap)) + cdkBuilder.topicRulePayload(topicRulePayload.let(CfnTopicRule.TopicRulePayloadProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDevice.kt index 75ed96ee62..99d4cbd104 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDevice.kt @@ -44,8 +44,8 @@ public open class CfnDevice( id: String, props: CfnDeviceProps, ) : - this(software.amazon.awscdk.services.iot1click.CfnDevice(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceProps::unwrap)) + this(software.amazon.awscdk.services.iot1click.CfnDevice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnDevice( * A Boolean value indicating whether the device is enabled ( `true` ) or not ( `false` ). */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnDevice( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnDevice( * `false` ). */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iot1click.CfnDevice = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDeviceProps.kt index 9111504db8..c0bf0ab45c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnDeviceProps.kt @@ -90,7 +90,7 @@ public interface CfnDeviceProps { * `false` ). */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iot1click.CfnDeviceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnPlacement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnPlacement.kt index d9288da5b3..f1d5580f6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnPlacement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnPlacement.kt @@ -48,8 +48,8 @@ public open class CfnPlacement( id: String, props: CfnPlacementProps, ) : - this(software.amazon.awscdk.services.iot1click.CfnPlacement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlacementProps::unwrap)) + this(software.amazon.awscdk.services.iot1click.CfnPlacement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlacementProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnPlacement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProject.kt index f2ff939e5f..ef1125df24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProject.kt @@ -58,8 +58,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.iot1click.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.iot1click.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,14 +115,14 @@ public open class CfnProject( * An object describing the project's placement specifications. */ public open fun placementTemplate(`value`: IResolvable) { - unwrap(this).setPlacementTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlacementTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** * An object describing the project's placement specifications. */ public open fun placementTemplate(`value`: PlacementTemplateProperty) { - unwrap(this).setPlacementTemplate(`value`.let(PlacementTemplateProperty::unwrap)) + unwrap(this).setPlacementTemplate(`value`.let(PlacementTemplateProperty.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnProject( * @param placementTemplate An object describing the project's placement specifications. */ override fun placementTemplate(placementTemplate: IResolvable) { - cdkBuilder.placementTemplate(placementTemplate.let(IResolvable::unwrap)) + cdkBuilder.placementTemplate(placementTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnProject( * @param placementTemplate An object describing the project's placement specifications. */ override fun placementTemplate(placementTemplate: PlacementTemplateProperty) { - cdkBuilder.placementTemplate(placementTemplate.let(PlacementTemplateProperty::unwrap)) + cdkBuilder.placementTemplate(placementTemplate.let(PlacementTemplateProperty.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public open class CfnProject( * ) template. */ override fun deviceTemplates(deviceTemplates: IResolvable) { - cdkBuilder.deviceTemplates(deviceTemplates.let(IResolvable::unwrap)) + cdkBuilder.deviceTemplates(deviceTemplates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProjectProps.kt index 4e10149192..aecb03d513 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iot1click/CfnProjectProps.kt @@ -110,14 +110,14 @@ public interface CfnProjectProps { * @param placementTemplate An object describing the project's placement specifications. */ override fun placementTemplate(placementTemplate: IResolvable) { - cdkBuilder.placementTemplate(placementTemplate.let(IResolvable::unwrap)) + cdkBuilder.placementTemplate(placementTemplate.let(IResolvable.Companion::unwrap)) } /** * @param placementTemplate An object describing the project's placement specifications. */ override fun placementTemplate(placementTemplate: CfnProject.PlacementTemplateProperty) { - cdkBuilder.placementTemplate(placementTemplate.let(CfnProject.PlacementTemplateProperty::unwrap)) + cdkBuilder.placementTemplate(placementTemplate.let(CfnProject.PlacementTemplateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannel.kt index 7022a7479e..a257e03951 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannel.kt @@ -65,7 +65,7 @@ public open class CfnChannel( cdkObject: software.amazon.awscdk.services.iotanalytics.CfnChannel, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iotanalytics.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iotanalytics.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -74,8 +74,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.iotanalytics.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.iotanalytics.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -111,14 +111,14 @@ public open class CfnChannel( * Where channel data is stored. */ public open fun channelStorage(`value`: IResolvable) { - unwrap(this).setChannelStorage(`value`.let(IResolvable::unwrap)) + unwrap(this).setChannelStorage(`value`.let(IResolvable.Companion::unwrap)) } /** * Where channel data is stored. */ public open fun channelStorage(`value`: ChannelStorageProperty) { - unwrap(this).setChannelStorage(`value`.let(ChannelStorageProperty::unwrap)) + unwrap(this).setChannelStorage(`value`.let(ChannelStorageProperty.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public open class CfnChannel( * How long, in days, message data is kept for the channel. */ public open fun retentionPeriod(`value`: IResolvable) { - unwrap(this).setRetentionPeriod(`value`.let(IResolvable::unwrap)) + unwrap(this).setRetentionPeriod(`value`.let(IResolvable.Companion::unwrap)) } /** * How long, in days, message data is kept for the channel. */ public open fun retentionPeriod(`value`: RetentionPeriodProperty) { - unwrap(this).setRetentionPeriod(`value`.let(RetentionPeriodProperty::unwrap)) + unwrap(this).setRetentionPeriod(`value`.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnChannel( * Metadata which can be used to manage the channel. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnChannel( * @param channelStorage Where channel data is stored. */ override fun channelStorage(channelStorage: IResolvable) { - cdkBuilder.channelStorage(channelStorage.let(IResolvable::unwrap)) + cdkBuilder.channelStorage(channelStorage.let(IResolvable.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnChannel( * @param channelStorage Where channel data is stored. */ override fun channelStorage(channelStorage: ChannelStorageProperty) { - cdkBuilder.channelStorage(channelStorage.let(ChannelStorageProperty::unwrap)) + cdkBuilder.channelStorage(channelStorage.let(ChannelStorageProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnChannel( * @param retentionPeriod How long, in days, message data is kept for the channel. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnChannel( * @param retentionPeriod How long, in days, message data is kept for the channel. */ override fun retentionPeriod(retentionPeriod: RetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(RetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnChannel( * @param tags Metadata which can be used to manage the channel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnChannel( * can't change the choice of S3 storage after the data store is created. */ override fun customerManagedS3(customerManagedS3: IResolvable) { - cdkBuilder.customerManagedS3(customerManagedS3.let(IResolvable::unwrap)) + cdkBuilder.customerManagedS3(customerManagedS3.let(IResolvable.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnChannel( * can't change the choice of S3 storage after the data store is created. */ override fun customerManagedS3(customerManagedS3: CustomerManagedS3Property) { - cdkBuilder.customerManagedS3(customerManagedS3.let(CustomerManagedS3Property::unwrap)) + cdkBuilder.customerManagedS3(customerManagedS3.let(CustomerManagedS3Property.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class CfnChannel( * @param unlimited If true, message data is kept indefinitely. */ override fun unlimited(unlimited: IResolvable) { - cdkBuilder.unlimited(unlimited.let(IResolvable::unwrap)) + cdkBuilder.unlimited(unlimited.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannelProps.kt index c530121c50..f3edc5906c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnChannelProps.kt @@ -157,14 +157,14 @@ public interface CfnChannelProps { * @param channelStorage Where channel data is stored. */ override fun channelStorage(channelStorage: IResolvable) { - cdkBuilder.channelStorage(channelStorage.let(IResolvable::unwrap)) + cdkBuilder.channelStorage(channelStorage.let(IResolvable.Companion::unwrap)) } /** * @param channelStorage Where channel data is stored. */ override fun channelStorage(channelStorage: CfnChannel.ChannelStorageProperty) { - cdkBuilder.channelStorage(channelStorage.let(CfnChannel.ChannelStorageProperty::unwrap)) + cdkBuilder.channelStorage(channelStorage.let(CfnChannel.ChannelStorageProperty.Companion::unwrap)) } /** @@ -180,14 +180,14 @@ public interface CfnChannelProps { * @param retentionPeriod How long, in days, message data is kept for the channel. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** * @param retentionPeriod How long, in days, message data is kept for the channel. */ override fun retentionPeriod(retentionPeriod: CfnChannel.RetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(CfnChannel.RetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(CfnChannel.RetentionPeriodProperty.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public interface CfnChannelProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDataset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDataset.kt index 541690dec9..c99df36a3e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDataset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDataset.kt @@ -137,8 +137,8 @@ public open class CfnDataset( id: String, props: CfnDatasetProps, ) : - this(software.amazon.awscdk.services.iotanalytics.CfnDataset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatasetProps::unwrap)) + this(software.amazon.awscdk.services.iotanalytics.CfnDataset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatasetProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class CfnDataset( * The `DatasetAction` objects that automatically create the dataset contents. */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnDataset( * When dataset contents are created they are delivered to destinations specified here. */ public open fun contentDeliveryRules(`value`: IResolvable) { - unwrap(this).setContentDeliveryRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setContentDeliveryRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnDataset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnDataset( * A list of data rules that send notifications to CloudWatch, when data arrives late. */ public open fun lateDataRules(`value`: IResolvable) { - unwrap(this).setLateDataRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setLateDataRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -256,14 +256,14 @@ public open class CfnDataset( * Optional. */ public open fun retentionPeriod(`value`: IResolvable) { - unwrap(this).setRetentionPeriod(`value`.let(IResolvable::unwrap)) + unwrap(this).setRetentionPeriod(`value`.let(IResolvable.Companion::unwrap)) } /** * Optional. */ public open fun retentionPeriod(`value`: RetentionPeriodProperty) { - unwrap(this).setRetentionPeriod(`value`.let(RetentionPeriodProperty::unwrap)) + unwrap(this).setRetentionPeriod(`value`.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnDataset( * Metadata which can be used to manage the data set. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnDataset( * The `DatasetTrigger` objects that specify when the dataset is automatically updated. */ public open fun triggers(`value`: IResolvable) { - unwrap(this).setTriggers(`value`.let(IResolvable::unwrap)) + unwrap(this).setTriggers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -330,14 +330,14 @@ public open class CfnDataset( * Optional. */ public open fun versioningConfiguration(`value`: IResolvable) { - unwrap(this).setVersioningConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVersioningConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Optional. */ public open fun versioningConfiguration(`value`: VersioningConfigurationProperty) { - unwrap(this).setVersioningConfiguration(`value`.let(VersioningConfigurationProperty::unwrap)) + unwrap(this).setVersioningConfiguration(`value`.let(VersioningConfigurationProperty.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnDataset( * @param actions The `DatasetAction` objects that automatically create the dataset contents. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public open class CfnDataset( * destinations specified here. */ override fun contentDeliveryRules(contentDeliveryRules: IResolvable) { - cdkBuilder.contentDeliveryRules(contentDeliveryRules.let(IResolvable::unwrap)) + cdkBuilder.contentDeliveryRules(contentDeliveryRules.let(IResolvable.Companion::unwrap)) } /** @@ -673,7 +673,7 @@ public open class CfnDataset( * arrives late. */ override fun lateDataRules(lateDataRules: IResolvable) { - cdkBuilder.lateDataRules(lateDataRules.let(IResolvable::unwrap)) + cdkBuilder.lateDataRules(lateDataRules.let(IResolvable.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public open class CfnDataset( * @param retentionPeriod Optional. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public open class CfnDataset( * @param retentionPeriod Optional. */ override fun retentionPeriod(retentionPeriod: RetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(RetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public open class CfnDataset( * @param tags Metadata which can be used to manage the data set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public open class CfnDataset( * updated. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -813,7 +813,7 @@ public open class CfnDataset( * @param versioningConfiguration Optional. */ override fun versioningConfiguration(versioningConfiguration: IResolvable) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public open class CfnDataset( * @param versioningConfiguration Optional. */ override fun versioningConfiguration(versioningConfiguration: VersioningConfigurationProperty) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(VersioningConfigurationProperty::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(VersioningConfigurationProperty.Companion::unwrap)) } /** @@ -1024,7 +1024,7 @@ public open class CfnDataset( * The application must be in a Docker container along with any needed support libraries. */ override fun containerAction(containerAction: IResolvable) { - cdkBuilder.containerAction(containerAction.let(IResolvable::unwrap)) + cdkBuilder.containerAction(containerAction.let(IResolvable.Companion::unwrap)) } /** @@ -1033,7 +1033,7 @@ public open class CfnDataset( * The application must be in a Docker container along with any needed support libraries. */ override fun containerAction(containerAction: ContainerActionProperty) { - cdkBuilder.containerAction(containerAction.let(ContainerActionProperty::unwrap)) + cdkBuilder.containerAction(containerAction.let(ContainerActionProperty.Companion::unwrap)) } /** @@ -1051,7 +1051,7 @@ public open class CfnDataset( * automatically create data set contents. */ override fun queryAction(queryAction: IResolvable) { - cdkBuilder.queryAction(queryAction.let(IResolvable::unwrap)) + cdkBuilder.queryAction(queryAction.let(IResolvable.Companion::unwrap)) } /** @@ -1059,7 +1059,7 @@ public open class CfnDataset( * automatically create data set contents. */ override fun queryAction(queryAction: QueryActionProperty) { - cdkBuilder.queryAction(queryAction.let(QueryActionProperty::unwrap)) + cdkBuilder.queryAction(queryAction.let(QueryActionProperty.Companion::unwrap)) } /** @@ -1291,7 +1291,7 @@ public open class CfnDataset( * "containerAction". */ override fun resourceConfiguration(resourceConfiguration: IResolvable) { - cdkBuilder.resourceConfiguration(resourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.resourceConfiguration(resourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1299,7 +1299,7 @@ public open class CfnDataset( * "containerAction". */ override fun resourceConfiguration(resourceConfiguration: ResourceConfigurationProperty) { - cdkBuilder.resourceConfiguration(resourceConfiguration.let(ResourceConfigurationProperty::unwrap)) + cdkBuilder.resourceConfiguration(resourceConfiguration.let(ResourceConfigurationProperty.Companion::unwrap)) } /** @@ -1319,7 +1319,7 @@ public open class CfnDataset( * "datasetContentVersionValue", or "outputFileUriValue". */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -1514,7 +1514,7 @@ public open class CfnDataset( */ override fun iotEventsDestinationConfiguration(iotEventsDestinationConfiguration: IResolvable) { - cdkBuilder.iotEventsDestinationConfiguration(iotEventsDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.iotEventsDestinationConfiguration(iotEventsDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1523,7 +1523,7 @@ public open class CfnDataset( */ override fun iotEventsDestinationConfiguration(iotEventsDestinationConfiguration: IotEventsDestinationConfigurationProperty) { - cdkBuilder.iotEventsDestinationConfiguration(iotEventsDestinationConfiguration.let(IotEventsDestinationConfigurationProperty::unwrap)) + cdkBuilder.iotEventsDestinationConfiguration(iotEventsDestinationConfiguration.let(IotEventsDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1542,7 +1542,7 @@ public open class CfnDataset( * contents to Amazon S3. */ override fun s3DestinationConfiguration(s3DestinationConfiguration: IResolvable) { - cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1551,7 +1551,7 @@ public open class CfnDataset( */ override fun s3DestinationConfiguration(s3DestinationConfiguration: S3DestinationConfigurationProperty) { - cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1696,14 +1696,14 @@ public open class CfnDataset( * @param destination The destination to which dataset contents are delivered. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination The destination to which dataset contents are delivered. */ override fun destination(destination: DatasetContentDeliveryRuleDestinationProperty) { - cdkBuilder.destination(destination.let(DatasetContentDeliveryRuleDestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(DatasetContentDeliveryRuleDestinationProperty.Companion::unwrap)) } /** @@ -2188,7 +2188,7 @@ public open class CfnDataset( * the action. */ override fun deltaTime(deltaTime: IResolvable) { - cdkBuilder.deltaTime(deltaTime.let(IResolvable::unwrap)) + cdkBuilder.deltaTime(deltaTime.let(IResolvable.Companion::unwrap)) } /** @@ -2196,7 +2196,7 @@ public open class CfnDataset( * the action. */ override fun deltaTime(deltaTime: DeltaTimeProperty) { - cdkBuilder.deltaTime(deltaTime.let(DeltaTimeProperty::unwrap)) + cdkBuilder.deltaTime(deltaTime.let(DeltaTimeProperty.Companion::unwrap)) } /** @@ -2559,7 +2559,7 @@ public open class CfnDataset( */ override fun deltaTimeSessionWindowConfiguration(deltaTimeSessionWindowConfiguration: IResolvable) { - cdkBuilder.deltaTimeSessionWindowConfiguration(deltaTimeSessionWindowConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deltaTimeSessionWindowConfiguration(deltaTimeSessionWindowConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2568,7 +2568,7 @@ public open class CfnDataset( */ override fun deltaTimeSessionWindowConfiguration(deltaTimeSessionWindowConfiguration: DeltaTimeSessionWindowConfigurationProperty) { - cdkBuilder.deltaTimeSessionWindowConfiguration(deltaTimeSessionWindowConfiguration.let(DeltaTimeSessionWindowConfigurationProperty::unwrap)) + cdkBuilder.deltaTimeSessionWindowConfiguration(deltaTimeSessionWindowConfiguration.let(DeltaTimeSessionWindowConfigurationProperty.Companion::unwrap)) } /** @@ -2693,14 +2693,14 @@ public open class CfnDataset( * @param ruleConfiguration The information needed to configure the late data rule. */ override fun ruleConfiguration(ruleConfiguration: IResolvable) { - cdkBuilder.ruleConfiguration(ruleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.ruleConfiguration(ruleConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param ruleConfiguration The information needed to configure the late data rule. */ override fun ruleConfiguration(ruleConfiguration: LateDataRuleConfigurationProperty) { - cdkBuilder.ruleConfiguration(ruleConfiguration.let(LateDataRuleConfigurationProperty::unwrap)) + cdkBuilder.ruleConfiguration(ruleConfiguration.let(LateDataRuleConfigurationProperty.Companion::unwrap)) } /** @@ -2922,7 +2922,7 @@ public open class CfnDataset( * @param filters Pre-filters applied to message data. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -3189,7 +3189,7 @@ public open class CfnDataset( * @param unlimited If true, message data is kept indefinitely. */ override fun unlimited(unlimited: IResolvable) { - cdkBuilder.unlimited(unlimited.let(IResolvable::unwrap)) + cdkBuilder.unlimited(unlimited.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3384,7 +3384,7 @@ public open class CfnDataset( * managed extract, transform and load (ETL) service. */ override fun glueConfiguration(glueConfiguration: IResolvable) { - cdkBuilder.glueConfiguration(glueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.glueConfiguration(glueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3392,7 +3392,7 @@ public open class CfnDataset( * managed extract, transform and load (ETL) service. */ override fun glueConfiguration(glueConfiguration: GlueConfigurationProperty) { - cdkBuilder.glueConfiguration(glueConfiguration.let(GlueConfigurationProperty::unwrap)) + cdkBuilder.glueConfiguration(glueConfiguration.let(GlueConfigurationProperty.Companion::unwrap)) } /** @@ -3695,14 +3695,14 @@ public open class CfnDataset( * @param schedule The "Schedule" when the trigger is initiated. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule The "Schedule" when the trigger is initiated. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -3718,7 +3718,7 @@ public open class CfnDataset( * the new data set content generation. */ override fun triggeringDataset(triggeringDataset: IResolvable) { - cdkBuilder.triggeringDataset(triggeringDataset.let(IResolvable::unwrap)) + cdkBuilder.triggeringDataset(triggeringDataset.let(IResolvable.Companion::unwrap)) } /** @@ -3726,7 +3726,7 @@ public open class CfnDataset( * the new data set content generation. */ override fun triggeringDataset(triggeringDataset: TriggeringDatasetProperty) { - cdkBuilder.triggeringDataset(triggeringDataset.let(TriggeringDatasetProperty::unwrap)) + cdkBuilder.triggeringDataset(triggeringDataset.let(TriggeringDatasetProperty.Companion::unwrap)) } /** @@ -4005,7 +4005,7 @@ public open class CfnDataset( * dataset content version. */ override fun datasetContentVersionValue(datasetContentVersionValue: IResolvable) { - cdkBuilder.datasetContentVersionValue(datasetContentVersionValue.let(IResolvable::unwrap)) + cdkBuilder.datasetContentVersionValue(datasetContentVersionValue.let(IResolvable.Companion::unwrap)) } /** @@ -4014,7 +4014,7 @@ public open class CfnDataset( */ override fun datasetContentVersionValue(datasetContentVersionValue: DatasetContentVersionValueProperty) { - cdkBuilder.datasetContentVersionValue(datasetContentVersionValue.let(DatasetContentVersionValueProperty::unwrap)) + cdkBuilder.datasetContentVersionValue(datasetContentVersionValue.let(DatasetContentVersionValueProperty.Companion::unwrap)) } /** @@ -4040,7 +4040,7 @@ public open class CfnDataset( * file URI. */ override fun outputFileUriValue(outputFileUriValue: IResolvable) { - cdkBuilder.outputFileUriValue(outputFileUriValue.let(IResolvable::unwrap)) + cdkBuilder.outputFileUriValue(outputFileUriValue.let(IResolvable.Companion::unwrap)) } /** @@ -4048,7 +4048,7 @@ public open class CfnDataset( * file URI. */ override fun outputFileUriValue(outputFileUriValue: OutputFileUriValueProperty) { - cdkBuilder.outputFileUriValue(outputFileUriValue.let(OutputFileUriValueProperty::unwrap)) + cdkBuilder.outputFileUriValue(outputFileUriValue.let(OutputFileUriValueProperty.Companion::unwrap)) } /** @@ -4218,7 +4218,7 @@ public open class CfnDataset( * @param unlimited If true, unlimited versions of dataset contents are kept. */ override fun unlimited(unlimited: IResolvable) { - cdkBuilder.unlimited(unlimited.let(IResolvable::unwrap)) + cdkBuilder.unlimited(unlimited.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatasetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatasetProps.kt index 857251e0f6..6eecf6fdd0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatasetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatasetProps.kt @@ -359,7 +359,7 @@ public interface CfnDatasetProps { * @param actions The `DatasetAction` objects that automatically create the dataset contents. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public interface CfnDatasetProps { * destinations specified here. */ override fun contentDeliveryRules(contentDeliveryRules: IResolvable) { - cdkBuilder.contentDeliveryRules(contentDeliveryRules.let(IResolvable::unwrap)) + cdkBuilder.contentDeliveryRules(contentDeliveryRules.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface CfnDatasetProps { * filter. */ override fun lateDataRules(lateDataRules: IResolvable) { - cdkBuilder.lateDataRules(lateDataRules.let(IResolvable::unwrap)) + cdkBuilder.lateDataRules(lateDataRules.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnDatasetProps { * How long, in days, message data is kept for the dataset. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public interface CfnDatasetProps { * How long, in days, message data is kept for the dataset. */ override fun retentionPeriod(retentionPeriod: CfnDataset.RetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(CfnDataset.RetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(CfnDataset.RetentionPeriodProperty.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public interface CfnDatasetProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnDatasetProps { * updated. */ override fun triggers(triggers: IResolvable) { - cdkBuilder.triggers(triggers.let(IResolvable::unwrap)) + cdkBuilder.triggers(triggers.let(IResolvable.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface CfnDatasetProps { * in the *AWS IoT Analytics User Guide* . */ override fun versioningConfiguration(versioningConfiguration: IResolvable) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public interface CfnDatasetProps { */ override fun versioningConfiguration(versioningConfiguration: CfnDataset.VersioningConfigurationProperty) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(CfnDataset.VersioningConfigurationProperty::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(CfnDataset.VersioningConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastore.kt index 24920b8714..0859c89707 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastore.kt @@ -95,7 +95,7 @@ public open class CfnDatastore( cdkObject: software.amazon.awscdk.services.iotanalytics.CfnDatastore, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iotanalytics.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iotanalytics.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -104,8 +104,8 @@ public open class CfnDatastore( id: String, props: CfnDatastoreProps, ) : - this(software.amazon.awscdk.services.iotanalytics.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatastoreProps::unwrap)) + this(software.amazon.awscdk.services.iotanalytics.CfnDatastore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatastoreProps.Companion::unwrap)) ) public constructor( @@ -141,14 +141,14 @@ public open class CfnDatastore( * Information about the partition dimensions in a data store. */ public open fun datastorePartitions(`value`: IResolvable) { - unwrap(this).setDatastorePartitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDatastorePartitions(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the partition dimensions in a data store. */ public open fun datastorePartitions(`value`: DatastorePartitionsProperty) { - unwrap(this).setDatastorePartitions(`value`.let(DatastorePartitionsProperty::unwrap)) + unwrap(this).setDatastorePartitions(`value`.let(DatastorePartitionsProperty.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnDatastore( * Where data store data is stored. */ public open fun datastoreStorage(`value`: IResolvable) { - unwrap(this).setDatastoreStorage(`value`.let(IResolvable::unwrap)) + unwrap(this).setDatastoreStorage(`value`.let(IResolvable.Companion::unwrap)) } /** * Where data store data is stored. */ public open fun datastoreStorage(`value`: DatastoreStorageProperty) { - unwrap(this).setDatastoreStorage(`value`.let(DatastoreStorageProperty::unwrap)) + unwrap(this).setDatastoreStorage(`value`.let(DatastoreStorageProperty.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnDatastore( * [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) . */ public open fun fileFormatConfiguration(`value`: IResolvable) { - unwrap(this).setFileFormatConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileFormatConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnDatastore( * [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) . */ public open fun fileFormatConfiguration(`value`: FileFormatConfigurationProperty) { - unwrap(this).setFileFormatConfiguration(`value`.let(FileFormatConfigurationProperty::unwrap)) + unwrap(this).setFileFormatConfiguration(`value`.let(FileFormatConfigurationProperty.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnDatastore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -244,14 +244,14 @@ public open class CfnDatastore( * How long, in days, message data is kept for the data store. */ public open fun retentionPeriod(`value`: IResolvable) { - unwrap(this).setRetentionPeriod(`value`.let(IResolvable::unwrap)) + unwrap(this).setRetentionPeriod(`value`.let(IResolvable.Companion::unwrap)) } /** * How long, in days, message data is kept for the data store. */ public open fun retentionPeriod(`value`: RetentionPeriodProperty) { - unwrap(this).setRetentionPeriod(`value`.let(RetentionPeriodProperty::unwrap)) + unwrap(this).setRetentionPeriod(`value`.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnDatastore( * Metadata which can be used to manage the data store. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnDatastore( * @param datastorePartitions Information about the partition dimensions in a data store. */ override fun datastorePartitions(datastorePartitions: IResolvable) { - cdkBuilder.datastorePartitions(datastorePartitions.let(IResolvable::unwrap)) + cdkBuilder.datastorePartitions(datastorePartitions.let(IResolvable.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnDatastore( * @param datastorePartitions Information about the partition dimensions in a data store. */ override fun datastorePartitions(datastorePartitions: DatastorePartitionsProperty) { - cdkBuilder.datastorePartitions(datastorePartitions.let(DatastorePartitionsProperty::unwrap)) + cdkBuilder.datastorePartitions(datastorePartitions.let(DatastorePartitionsProperty.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnDatastore( * @param datastoreStorage Where data store data is stored. */ override fun datastoreStorage(datastoreStorage: IResolvable) { - cdkBuilder.datastoreStorage(datastoreStorage.let(IResolvable::unwrap)) + cdkBuilder.datastoreStorage(datastoreStorage.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public open class CfnDatastore( * @param datastoreStorage Where data store data is stored. */ override fun datastoreStorage(datastoreStorage: DatastoreStorageProperty) { - cdkBuilder.datastoreStorage(datastoreStorage.let(DatastoreStorageProperty::unwrap)) + cdkBuilder.datastoreStorage(datastoreStorage.let(DatastoreStorageProperty.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnDatastore( * [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) . */ override fun fileFormatConfiguration(fileFormatConfiguration: IResolvable) { - cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnDatastore( * [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) . */ override fun fileFormatConfiguration(fileFormatConfiguration: FileFormatConfigurationProperty) { - cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(FileFormatConfigurationProperty::unwrap)) + cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(FileFormatConfigurationProperty.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnDatastore( * @param retentionPeriod How long, in days, message data is kept for the data store. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnDatastore( * @param retentionPeriod How long, in days, message data is kept for the data store. */ override fun retentionPeriod(retentionPeriod: RetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(RetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(RetentionPeriodProperty.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public open class CfnDatastore( * @param tags Metadata which can be used to manage the data store. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1171,14 +1171,14 @@ public open class CfnDatastore( * @param partition A partition dimension defined by an attribute. */ override fun partition(partition: IResolvable) { - cdkBuilder.partition(partition.let(IResolvable::unwrap)) + cdkBuilder.partition(partition.let(IResolvable.Companion::unwrap)) } /** * @param partition A partition dimension defined by an attribute. */ override fun partition(partition: PartitionProperty) { - cdkBuilder.partition(partition.let(PartitionProperty::unwrap)) + cdkBuilder.partition(partition.let(PartitionProperty.Companion::unwrap)) } /** @@ -1193,14 +1193,14 @@ public open class CfnDatastore( * @param timestampPartition A partition dimension defined by a timestamp attribute. */ override fun timestampPartition(timestampPartition: IResolvable) { - cdkBuilder.timestampPartition(timestampPartition.let(IResolvable::unwrap)) + cdkBuilder.timestampPartition(timestampPartition.let(IResolvable.Companion::unwrap)) } /** * @param timestampPartition A partition dimension defined by a timestamp attribute. */ override fun timestampPartition(timestampPartition: TimestampPartitionProperty) { - cdkBuilder.timestampPartition(timestampPartition.let(TimestampPartitionProperty::unwrap)) + cdkBuilder.timestampPartition(timestampPartition.let(TimestampPartitionProperty.Companion::unwrap)) } /** @@ -1317,7 +1317,7 @@ public open class CfnDatastore( * @param partitions A list of partition dimensions in a data store. */ override fun partitions(partitions: IResolvable) { - cdkBuilder.partitions(partitions.let(IResolvable::unwrap)) + cdkBuilder.partitions(partitions.let(IResolvable.Companion::unwrap)) } /** @@ -1500,7 +1500,7 @@ public open class CfnDatastore( * creation of the data store. */ override fun customerManagedS3(customerManagedS3: IResolvable) { - cdkBuilder.customerManagedS3(customerManagedS3.let(IResolvable::unwrap)) + cdkBuilder.customerManagedS3(customerManagedS3.let(IResolvable.Companion::unwrap)) } /** @@ -1509,7 +1509,7 @@ public open class CfnDatastore( * creation of the data store. */ override fun customerManagedS3(customerManagedS3: CustomerManagedS3Property) { - cdkBuilder.customerManagedS3(customerManagedS3.let(CustomerManagedS3Property::unwrap)) + cdkBuilder.customerManagedS3(customerManagedS3.let(CustomerManagedS3Property.Companion::unwrap)) } /** @@ -1529,7 +1529,7 @@ public open class CfnDatastore( * You can't change the choice of Amazon S3 storage after your data store is created. */ override fun iotSiteWiseMultiLayerStorage(iotSiteWiseMultiLayerStorage: IResolvable) { - cdkBuilder.iotSiteWiseMultiLayerStorage(iotSiteWiseMultiLayerStorage.let(IResolvable::unwrap)) + cdkBuilder.iotSiteWiseMultiLayerStorage(iotSiteWiseMultiLayerStorage.let(IResolvable.Companion::unwrap)) } /** @@ -1539,7 +1539,7 @@ public open class CfnDatastore( */ override fun iotSiteWiseMultiLayerStorage(iotSiteWiseMultiLayerStorage: IotSiteWiseMultiLayerStorageProperty) { - cdkBuilder.iotSiteWiseMultiLayerStorage(iotSiteWiseMultiLayerStorage.let(IotSiteWiseMultiLayerStorageProperty::unwrap)) + cdkBuilder.iotSiteWiseMultiLayerStorage(iotSiteWiseMultiLayerStorage.let(IotSiteWiseMultiLayerStorageProperty.Companion::unwrap)) } /** @@ -1713,14 +1713,14 @@ public open class CfnDatastore( * @param parquetConfiguration Contains the configuration information of the Parquet format. */ override fun parquetConfiguration(parquetConfiguration: IResolvable) { - cdkBuilder.parquetConfiguration(parquetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.parquetConfiguration(parquetConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param parquetConfiguration Contains the configuration information of the Parquet format. */ override fun parquetConfiguration(parquetConfiguration: ParquetConfigurationProperty) { - cdkBuilder.parquetConfiguration(parquetConfiguration.let(ParquetConfigurationProperty::unwrap)) + cdkBuilder.parquetConfiguration(parquetConfiguration.let(ParquetConfigurationProperty.Companion::unwrap)) } /** @@ -1843,7 +1843,7 @@ public open class CfnDatastore( * that you manage. */ override fun customerManagedS3Storage(customerManagedS3Storage: IResolvable) { - cdkBuilder.customerManagedS3Storage(customerManagedS3Storage.let(IResolvable::unwrap)) + cdkBuilder.customerManagedS3Storage(customerManagedS3Storage.let(IResolvable.Companion::unwrap)) } /** @@ -1852,7 +1852,7 @@ public open class CfnDatastore( */ override fun customerManagedS3Storage(customerManagedS3Storage: CustomerManagedS3StorageProperty) { - cdkBuilder.customerManagedS3Storage(customerManagedS3Storage.let(CustomerManagedS3StorageProperty::unwrap)) + cdkBuilder.customerManagedS3Storage(customerManagedS3Storage.let(CustomerManagedS3StorageProperty.Companion::unwrap)) } /** @@ -1964,14 +1964,14 @@ public open class CfnDatastore( * @param schemaDefinition Information needed to define a schema. */ override fun schemaDefinition(schemaDefinition: IResolvable) { - cdkBuilder.schemaDefinition(schemaDefinition.let(IResolvable::unwrap)) + cdkBuilder.schemaDefinition(schemaDefinition.let(IResolvable.Companion::unwrap)) } /** * @param schemaDefinition Information needed to define a schema. */ override fun schemaDefinition(schemaDefinition: SchemaDefinitionProperty) { - cdkBuilder.schemaDefinition(schemaDefinition.let(SchemaDefinitionProperty::unwrap)) + cdkBuilder.schemaDefinition(schemaDefinition.let(SchemaDefinitionProperty.Companion::unwrap)) } /** @@ -2180,7 +2180,7 @@ public open class CfnDatastore( * @param unlimited If true, message data is kept indefinitely. */ override fun unlimited(unlimited: IResolvable) { - cdkBuilder.unlimited(unlimited.let(IResolvable::unwrap)) + cdkBuilder.unlimited(unlimited.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2290,7 +2290,7 @@ public open class CfnDatastore( * Each schema can have up to 100 columns. Each column can have up to 100 nested types. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastoreProps.kt index dc87a37f09..10d5cca55f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnDatastoreProps.kt @@ -265,7 +265,7 @@ public interface CfnDatastoreProps { * @param datastorePartitions Information about the partition dimensions in a data store. */ override fun datastorePartitions(datastorePartitions: IResolvable) { - cdkBuilder.datastorePartitions(datastorePartitions.let(IResolvable::unwrap)) + cdkBuilder.datastorePartitions(datastorePartitions.let(IResolvable.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface CfnDatastoreProps { */ override fun datastorePartitions(datastorePartitions: CfnDatastore.DatastorePartitionsProperty) { - cdkBuilder.datastorePartitions(datastorePartitions.let(CfnDatastore.DatastorePartitionsProperty::unwrap)) + cdkBuilder.datastorePartitions(datastorePartitions.let(CfnDatastore.DatastorePartitionsProperty.Companion::unwrap)) } /** @@ -289,14 +289,14 @@ public interface CfnDatastoreProps { * @param datastoreStorage Where data store data is stored. */ override fun datastoreStorage(datastoreStorage: IResolvable) { - cdkBuilder.datastoreStorage(datastoreStorage.let(IResolvable::unwrap)) + cdkBuilder.datastoreStorage(datastoreStorage.let(IResolvable.Companion::unwrap)) } /** * @param datastoreStorage Where data store data is stored. */ override fun datastoreStorage(datastoreStorage: CfnDatastore.DatastoreStorageProperty) { - cdkBuilder.datastoreStorage(datastoreStorage.let(CfnDatastore.DatastoreStorageProperty::unwrap)) + cdkBuilder.datastoreStorage(datastoreStorage.let(CfnDatastore.DatastoreStorageProperty.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface CfnDatastoreProps { * You can't change the file format after you create the data store. */ override fun fileFormatConfiguration(fileFormatConfiguration: IResolvable) { - cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public interface CfnDatastoreProps { */ override fun fileFormatConfiguration(fileFormatConfiguration: CfnDatastore.FileFormatConfigurationProperty) { - cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(CfnDatastore.FileFormatConfigurationProperty::unwrap)) + cdkBuilder.fileFormatConfiguration(fileFormatConfiguration.let(CfnDatastore.FileFormatConfigurationProperty.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface CfnDatastoreProps { * When `customerManagedS3` storage is selected, this parameter is ignored. */ override fun retentionPeriod(retentionPeriod: IResolvable) { - cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface CfnDatastoreProps { * When `customerManagedS3` storage is selected, this parameter is ignored. */ override fun retentionPeriod(retentionPeriod: CfnDatastore.RetentionPeriodProperty) { - cdkBuilder.retentionPeriod(retentionPeriod.let(CfnDatastore.RetentionPeriodProperty::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(CfnDatastore.RetentionPeriodProperty.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnDatastoreProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipeline.kt index 0020f9a092..4a170b41b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipeline.kt @@ -125,8 +125,8 @@ public open class CfnPipeline( id: String, props: CfnPipelineProps, ) : - this(software.amazon.awscdk.services.iotanalytics.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPipelineProps::unwrap)) + this(software.amazon.awscdk.services.iotanalytics.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPipelineProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnPipeline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnPipeline( * A list of "PipelineActivity" objects. */ public open fun pipelineActivities(`value`: IResolvable) { - unwrap(this).setPipelineActivities(`value`.let(IResolvable::unwrap)) + unwrap(this).setPipelineActivities(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnPipeline( * Metadata which can be used to manage the pipeline. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class CfnPipeline( * @param pipelineActivities A list of "PipelineActivity" objects. */ override fun pipelineActivities(pipelineActivities: IResolvable) { - cdkBuilder.pipelineActivities(pipelineActivities.let(IResolvable::unwrap)) + cdkBuilder.pipelineActivities(pipelineActivities.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnPipeline( * @param tags Metadata which can be used to manage the pipeline. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -776,14 +776,14 @@ public open class CfnPipeline( * @param addAttributes Adds other attributes based on existing attributes in the message. */ override fun addAttributes(addAttributes: IResolvable) { - cdkBuilder.addAttributes(addAttributes.let(IResolvable::unwrap)) + cdkBuilder.addAttributes(addAttributes.let(IResolvable.Companion::unwrap)) } /** * @param addAttributes Adds other attributes based on existing attributes in the message. */ override fun addAttributes(addAttributes: AddAttributesProperty) { - cdkBuilder.addAttributes(addAttributes.let(AddAttributesProperty::unwrap)) + cdkBuilder.addAttributes(addAttributes.let(AddAttributesProperty.Companion::unwrap)) } /** @@ -798,14 +798,14 @@ public open class CfnPipeline( * @param channel Determines the source of the messages to be processed. */ override fun channel(channel: IResolvable) { - cdkBuilder.channel(channel.let(IResolvable::unwrap)) + cdkBuilder.channel(channel.let(IResolvable.Companion::unwrap)) } /** * @param channel Determines the source of the messages to be processed. */ override fun channel(channel: ChannelProperty) { - cdkBuilder.channel(channel.let(ChannelProperty::unwrap)) + cdkBuilder.channel(channel.let(ChannelProperty.Companion::unwrap)) } /** @@ -820,14 +820,14 @@ public open class CfnPipeline( * @param datastore Specifies where to store the processed message data. */ override fun datastore(datastore: IResolvable) { - cdkBuilder.datastore(datastore.let(IResolvable::unwrap)) + cdkBuilder.datastore(datastore.let(IResolvable.Companion::unwrap)) } /** * @param datastore Specifies where to store the processed message data. */ override fun datastore(datastore: DatastoreProperty) { - cdkBuilder.datastore(datastore.let(DatastoreProperty::unwrap)) + cdkBuilder.datastore(datastore.let(DatastoreProperty.Companion::unwrap)) } /** @@ -842,14 +842,14 @@ public open class CfnPipeline( * @param deviceRegistryEnrich Adds data from the AWS IoT device registry to your message. */ override fun deviceRegistryEnrich(deviceRegistryEnrich: IResolvable) { - cdkBuilder.deviceRegistryEnrich(deviceRegistryEnrich.let(IResolvable::unwrap)) + cdkBuilder.deviceRegistryEnrich(deviceRegistryEnrich.let(IResolvable.Companion::unwrap)) } /** * @param deviceRegistryEnrich Adds data from the AWS IoT device registry to your message. */ override fun deviceRegistryEnrich(deviceRegistryEnrich: DeviceRegistryEnrichProperty) { - cdkBuilder.deviceRegistryEnrich(deviceRegistryEnrich.let(DeviceRegistryEnrichProperty::unwrap)) + cdkBuilder.deviceRegistryEnrich(deviceRegistryEnrich.let(DeviceRegistryEnrichProperty.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnPipeline( * message. */ override fun deviceShadowEnrich(deviceShadowEnrich: IResolvable) { - cdkBuilder.deviceShadowEnrich(deviceShadowEnrich.let(IResolvable::unwrap)) + cdkBuilder.deviceShadowEnrich(deviceShadowEnrich.let(IResolvable.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public open class CfnPipeline( * message. */ override fun deviceShadowEnrich(deviceShadowEnrich: DeviceShadowEnrichProperty) { - cdkBuilder.deviceShadowEnrich(deviceShadowEnrich.let(DeviceShadowEnrichProperty::unwrap)) + cdkBuilder.deviceShadowEnrich(deviceShadowEnrich.let(DeviceShadowEnrichProperty.Companion::unwrap)) } /** @@ -891,14 +891,14 @@ public open class CfnPipeline( * @param filter Filters a message based on its attributes. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** * @param filter Filters a message based on its attributes. */ override fun filter(filter: FilterProperty) { - cdkBuilder.filter(filter.let(FilterProperty::unwrap)) + cdkBuilder.filter(filter.let(FilterProperty.Companion::unwrap)) } /** @@ -913,14 +913,14 @@ public open class CfnPipeline( * @param lambda Runs a Lambda function to modify the message. */ override fun lambda(lambda: IResolvable) { - cdkBuilder.lambda(lambda.let(IResolvable::unwrap)) + cdkBuilder.lambda(lambda.let(IResolvable.Companion::unwrap)) } /** * @param lambda Runs a Lambda function to modify the message. */ override fun lambda(lambda: LambdaProperty) { - cdkBuilder.lambda(lambda.let(LambdaProperty::unwrap)) + cdkBuilder.lambda(lambda.let(LambdaProperty.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public open class CfnPipeline( * the message. */ override fun math(math: IResolvable) { - cdkBuilder.math(math.let(IResolvable::unwrap)) + cdkBuilder.math(math.let(IResolvable.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public open class CfnPipeline( * the message. */ override fun math(math: MathProperty) { - cdkBuilder.math(math.let(MathProperty::unwrap)) + cdkBuilder.math(math.let(MathProperty.Companion::unwrap)) } /** @@ -959,14 +959,14 @@ public open class CfnPipeline( * @param removeAttributes Removes attributes from a message. */ override fun removeAttributes(removeAttributes: IResolvable) { - cdkBuilder.removeAttributes(removeAttributes.let(IResolvable::unwrap)) + cdkBuilder.removeAttributes(removeAttributes.let(IResolvable.Companion::unwrap)) } /** * @param removeAttributes Removes attributes from a message. */ override fun removeAttributes(removeAttributes: RemoveAttributesProperty) { - cdkBuilder.removeAttributes(removeAttributes.let(RemoveAttributesProperty::unwrap)) + cdkBuilder.removeAttributes(removeAttributes.let(RemoveAttributesProperty.Companion::unwrap)) } /** @@ -982,7 +982,7 @@ public open class CfnPipeline( * original message. */ override fun selectAttributes(selectAttributes: IResolvable) { - cdkBuilder.selectAttributes(selectAttributes.let(IResolvable::unwrap)) + cdkBuilder.selectAttributes(selectAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -990,7 +990,7 @@ public open class CfnPipeline( * original message. */ override fun selectAttributes(selectAttributes: SelectAttributesProperty) { - cdkBuilder.selectAttributes(selectAttributes.let(SelectAttributesProperty::unwrap)) + cdkBuilder.selectAttributes(selectAttributes.let(SelectAttributesProperty.Companion::unwrap)) } /** @@ -1194,7 +1194,7 @@ public open class CfnPipeline( * "RemoveAttributeActivity". */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipelineProps.kt index 530e956f7a..bf8ecafceb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotanalytics/CfnPipelineProps.kt @@ -222,7 +222,7 @@ public interface CfnPipelineProps { * `pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]` */ override fun pipelineActivities(pipelineActivities: IResolvable) { - cdkBuilder.pipelineActivities(pipelineActivities.let(IResolvable::unwrap)) + cdkBuilder.pipelineActivities(pipelineActivities.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CfnPipelineProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinition.kt index dea9c826ca..fc88102119 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinition.kt @@ -55,8 +55,8 @@ public open class CfnSuiteDefinition( id: String, props: CfnSuiteDefinitionProps, ) : - this(software.amazon.awscdk.services.iotcoredeviceadvisor.CfnSuiteDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSuiteDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.iotcoredeviceadvisor.CfnSuiteDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSuiteDefinitionProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnSuiteDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnSuiteDefinition( * Metadata that can be used to manage the the Suite Definition. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnSuiteDefinition( * @param tags Metadata that can be used to manage the the Suite Definition. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class CfnSuiteDefinition( * @param devices Gets the devices configured. */ override fun devices(devices: IResolvable) { - cdkBuilder.devices(devices.let(IResolvable::unwrap)) + cdkBuilder.devices(devices.let(IResolvable.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class CfnSuiteDefinition( * @param intendedForQualification Gets the tests intended for qualification in a suite. */ override fun intendedForQualification(intendedForQualification: IResolvable) { - cdkBuilder.intendedForQualification(intendedForQualification.let(IResolvable::unwrap)) + cdkBuilder.intendedForQualification(intendedForQualification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinitionProps.kt index 83373975ac..4e41b9a004 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotcoredeviceadvisor/CfnSuiteDefinitionProps.kt @@ -187,7 +187,7 @@ public interface CfnSuiteDefinitionProps { * @param tags Metadata that can be used to manage the the Suite Definition. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModel.kt index 7eed5b25a2..2ea08e987e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModel.kt @@ -174,8 +174,8 @@ public open class CfnAlarmModel( id: String, props: CfnAlarmModelProps, ) : - this(software.amazon.awscdk.services.iotevents.CfnAlarmModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAlarmModelProps::unwrap)) + this(software.amazon.awscdk.services.iotevents.CfnAlarmModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAlarmModelProps.Companion::unwrap)) ) public constructor( @@ -194,14 +194,14 @@ public open class CfnAlarmModel( * Contains the configuration information of alarm state changes. */ public open fun alarmCapabilities(`value`: IResolvable) { - unwrap(this).setAlarmCapabilities(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlarmCapabilities(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains the configuration information of alarm state changes. */ public open fun alarmCapabilities(`value`: AlarmCapabilitiesProperty) { - unwrap(this).setAlarmCapabilities(`value`.let(AlarmCapabilitiesProperty::unwrap)) + unwrap(this).setAlarmCapabilities(`value`.let(AlarmCapabilitiesProperty.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnAlarmModel( * Contains information about one or more alarm actions. */ public open fun alarmEventActions(`value`: IResolvable) { - unwrap(this).setAlarmEventActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlarmEventActions(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about one or more alarm actions. */ public open fun alarmEventActions(`value`: AlarmEventActionsProperty) { - unwrap(this).setAlarmEventActions(`value`.let(AlarmEventActionsProperty::unwrap)) + unwrap(this).setAlarmEventActions(`value`.let(AlarmEventActionsProperty.Companion::unwrap)) } /** @@ -272,14 +272,14 @@ public open class CfnAlarmModel( * Defines when your alarm is invoked. */ public open fun alarmRule(`value`: IResolvable) { - unwrap(this).setAlarmRule(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlarmRule(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines when your alarm is invoked. */ public open fun alarmRule(`value`: AlarmRuleProperty) { - unwrap(this).setAlarmRule(`value`.let(AlarmRuleProperty::unwrap)) + unwrap(this).setAlarmRule(`value`.let(AlarmRuleProperty.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnAlarmModel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnAlarmModel( * A list of key-value pairs that contain metadata for the alarm model. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public open class CfnAlarmModel( * @param alarmCapabilities Contains the configuration information of alarm state changes. */ override fun alarmCapabilities(alarmCapabilities: IResolvable) { - cdkBuilder.alarmCapabilities(alarmCapabilities.let(IResolvable::unwrap)) + cdkBuilder.alarmCapabilities(alarmCapabilities.let(IResolvable.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public open class CfnAlarmModel( * @param alarmCapabilities Contains the configuration information of alarm state changes. */ override fun alarmCapabilities(alarmCapabilities: AlarmCapabilitiesProperty) { - cdkBuilder.alarmCapabilities(alarmCapabilities.let(AlarmCapabilitiesProperty::unwrap)) + cdkBuilder.alarmCapabilities(alarmCapabilities.let(AlarmCapabilitiesProperty.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnAlarmModel( * @param alarmEventActions Contains information about one or more alarm actions. */ override fun alarmEventActions(alarmEventActions: IResolvable) { - cdkBuilder.alarmEventActions(alarmEventActions.let(IResolvable::unwrap)) + cdkBuilder.alarmEventActions(alarmEventActions.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnAlarmModel( * @param alarmEventActions Contains information about one or more alarm actions. */ override fun alarmEventActions(alarmEventActions: AlarmEventActionsProperty) { - cdkBuilder.alarmEventActions(alarmEventActions.let(AlarmEventActionsProperty::unwrap)) + cdkBuilder.alarmEventActions(alarmEventActions.let(AlarmEventActionsProperty.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnAlarmModel( * @param alarmRule Defines when your alarm is invoked. */ override fun alarmRule(alarmRule: IResolvable) { - cdkBuilder.alarmRule(alarmRule.let(IResolvable::unwrap)) + cdkBuilder.alarmRule(alarmRule.let(IResolvable.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public open class CfnAlarmModel( * @param alarmRule Defines when your alarm is invoked. */ override fun alarmRule(alarmRule: AlarmRuleProperty) { - cdkBuilder.alarmRule(alarmRule.let(AlarmRuleProperty::unwrap)) + cdkBuilder.alarmRule(alarmRule.let(AlarmRuleProperty.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class CfnAlarmModel( * @param tags A list of key-value pairs that contain metadata for the alarm model. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -813,7 +813,7 @@ public open class CfnAlarmModel( * input property value returns to the specified range. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1659,7 +1659,7 @@ public open class CfnAlarmModel( * The value for the `type` parameter in `Payload` must be `JSON` . */ override fun dynamoDBv2(dynamoDBv2: IResolvable) { - cdkBuilder.dynamoDBv2(dynamoDBv2.let(IResolvable::unwrap)) + cdkBuilder.dynamoDBv2(dynamoDBv2.let(IResolvable.Companion::unwrap)) } /** @@ -1703,7 +1703,7 @@ public open class CfnAlarmModel( * The value for the `type` parameter in `Payload` must be `JSON` . */ override fun dynamoDBv2(dynamoDBv2: DynamoDBv2Property) { - cdkBuilder.dynamoDBv2(dynamoDBv2.let(DynamoDBv2Property::unwrap)) + cdkBuilder.dynamoDBv2(dynamoDBv2.let(DynamoDBv2Property.Companion::unwrap)) } /** @@ -1793,7 +1793,7 @@ public open class CfnAlarmModel( * The value for the `payloadField` parameter is `<payload-field>_raw` . */ override fun dynamoDb(dynamoDb: IResolvable) { - cdkBuilder.dynamoDb(dynamoDb.let(IResolvable::unwrap)) + cdkBuilder.dynamoDb(dynamoDb.let(IResolvable.Companion::unwrap)) } /** @@ -1838,7 +1838,7 @@ public open class CfnAlarmModel( * The value for the `payloadField` parameter is `<payload-field>_raw` . */ override fun dynamoDb(dynamoDb: DynamoDBProperty) { - cdkBuilder.dynamoDb(dynamoDb.let(DynamoDBProperty::unwrap)) + cdkBuilder.dynamoDb(dynamoDb.let(DynamoDBProperty.Companion::unwrap)) } /** @@ -1892,7 +1892,7 @@ public open class CfnAlarmModel( * triggered the action to an Amazon Kinesis Data Firehose delivery stream. */ override fun firehose(firehose: IResolvable) { - cdkBuilder.firehose(firehose.let(IResolvable::unwrap)) + cdkBuilder.firehose(firehose.let(IResolvable.Companion::unwrap)) } /** @@ -1900,7 +1900,7 @@ public open class CfnAlarmModel( * triggered the action to an Amazon Kinesis Data Firehose delivery stream. */ override fun firehose(firehose: FirehoseProperty) { - cdkBuilder.firehose(firehose.let(FirehoseProperty::unwrap)) + cdkBuilder.firehose(firehose.let(FirehoseProperty.Companion::unwrap)) } /** @@ -1917,7 +1917,7 @@ public open class CfnAlarmModel( * model instance and the event that triggered the action. */ override fun iotEvents(iotEvents: IResolvable) { - cdkBuilder.iotEvents(iotEvents.let(IResolvable::unwrap)) + cdkBuilder.iotEvents(iotEvents.let(IResolvable.Companion::unwrap)) } /** @@ -1925,7 +1925,7 @@ public open class CfnAlarmModel( * model instance and the event that triggered the action. */ override fun iotEvents(iotEvents: IotEventsProperty) { - cdkBuilder.iotEvents(iotEvents.let(IotEventsProperty::unwrap)) + cdkBuilder.iotEvents(iotEvents.let(IotEventsProperty.Companion::unwrap)) } /** @@ -1967,7 +1967,7 @@ public open class CfnAlarmModel( * in the *AWS IoT Events Developer Guide* . */ override fun iotSiteWise(iotSiteWise: IResolvable) { - cdkBuilder.iotSiteWise(iotSiteWise.let(IResolvable::unwrap)) + cdkBuilder.iotSiteWise(iotSiteWise.let(IResolvable.Companion::unwrap)) } /** @@ -2000,7 +2000,7 @@ public open class CfnAlarmModel( * in the *AWS IoT Events Developer Guide* . */ override fun iotSiteWise(iotSiteWise: IotSiteWiseProperty) { - cdkBuilder.iotSiteWise(iotSiteWise.let(IotSiteWiseProperty::unwrap)) + cdkBuilder.iotSiteWise(iotSiteWise.let(IotSiteWiseProperty.Companion::unwrap)) } /** @@ -2042,7 +2042,7 @@ public open class CfnAlarmModel( * message broker. */ override fun iotTopicPublish(iotTopicPublish: IResolvable) { - cdkBuilder.iotTopicPublish(iotTopicPublish.let(IResolvable::unwrap)) + cdkBuilder.iotTopicPublish(iotTopicPublish.let(IResolvable.Companion::unwrap)) } /** @@ -2050,7 +2050,7 @@ public open class CfnAlarmModel( * message broker. */ override fun iotTopicPublish(iotTopicPublish: IotTopicPublishProperty) { - cdkBuilder.iotTopicPublish(iotTopicPublish.let(IotTopicPublishProperty::unwrap)) + cdkBuilder.iotTopicPublish(iotTopicPublish.let(IotTopicPublishProperty.Companion::unwrap)) } /** @@ -2067,7 +2067,7 @@ public open class CfnAlarmModel( * instance and the event that triggered the action. */ override fun lambda(lambda: IResolvable) { - cdkBuilder.lambda(lambda.let(IResolvable::unwrap)) + cdkBuilder.lambda(lambda.let(IResolvable.Companion::unwrap)) } /** @@ -2075,7 +2075,7 @@ public open class CfnAlarmModel( * instance and the event that triggered the action. */ override fun lambda(lambda: LambdaProperty) { - cdkBuilder.lambda(lambda.let(LambdaProperty::unwrap)) + cdkBuilder.lambda(lambda.let(LambdaProperty.Companion::unwrap)) } /** @@ -2091,14 +2091,14 @@ public open class CfnAlarmModel( * @param sns Information required to publish the Amazon SNS message. */ override fun sns(sns: IResolvable) { - cdkBuilder.sns(sns.let(IResolvable::unwrap)) + cdkBuilder.sns(sns.let(IResolvable.Companion::unwrap)) } /** * @param sns Information required to publish the Amazon SNS message. */ override fun sns(sns: SnsProperty) { - cdkBuilder.sns(sns.let(SnsProperty::unwrap)) + cdkBuilder.sns(sns.let(SnsProperty.Companion::unwrap)) } /** @@ -2113,7 +2113,7 @@ public open class CfnAlarmModel( * the action to an Amazon SQS queue. */ override fun sqs(sqs: IResolvable) { - cdkBuilder.sqs(sqs.let(IResolvable::unwrap)) + cdkBuilder.sqs(sqs.let(IResolvable.Companion::unwrap)) } /** @@ -2121,7 +2121,7 @@ public open class CfnAlarmModel( * the action to an Amazon SQS queue. */ override fun sqs(sqs: SqsProperty) { - cdkBuilder.sqs(sqs.let(SqsProperty::unwrap)) + cdkBuilder.sqs(sqs.let(SqsProperty.Companion::unwrap)) } /** @@ -2423,14 +2423,14 @@ public open class CfnAlarmModel( * @param acknowledgeFlow Specifies whether to get notified for alarm state changes. */ override fun acknowledgeFlow(acknowledgeFlow: IResolvable) { - cdkBuilder.acknowledgeFlow(acknowledgeFlow.let(IResolvable::unwrap)) + cdkBuilder.acknowledgeFlow(acknowledgeFlow.let(IResolvable.Companion::unwrap)) } /** * @param acknowledgeFlow Specifies whether to get notified for alarm state changes. */ override fun acknowledgeFlow(acknowledgeFlow: AcknowledgeFlowProperty) { - cdkBuilder.acknowledgeFlow(acknowledgeFlow.let(AcknowledgeFlowProperty::unwrap)) + cdkBuilder.acknowledgeFlow(acknowledgeFlow.let(AcknowledgeFlowProperty.Companion::unwrap)) } /** @@ -2446,7 +2446,7 @@ public open class CfnAlarmModel( * The configuration applies to all alarms that were created based on this alarm model. */ override fun initializationConfiguration(initializationConfiguration: IResolvable) { - cdkBuilder.initializationConfiguration(initializationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.initializationConfiguration(initializationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2455,7 +2455,7 @@ public open class CfnAlarmModel( */ override fun initializationConfiguration(initializationConfiguration: InitializationConfigurationProperty) { - cdkBuilder.initializationConfiguration(initializationConfiguration.let(InitializationConfigurationProperty::unwrap)) + cdkBuilder.initializationConfiguration(initializationConfiguration.let(InitializationConfigurationProperty.Companion::unwrap)) } /** @@ -2669,7 +2669,7 @@ public open class CfnAlarmModel( * the alarm state changes. */ override fun alarmActions(alarmActions: IResolvable) { - cdkBuilder.alarmActions(alarmActions.let(IResolvable::unwrap)) + cdkBuilder.alarmActions(alarmActions.let(IResolvable.Companion::unwrap)) } /** @@ -2786,7 +2786,7 @@ public open class CfnAlarmModel( * comparison operator. */ override fun simpleRule(simpleRule: IResolvable) { - cdkBuilder.simpleRule(simpleRule.let(IResolvable::unwrap)) + cdkBuilder.simpleRule(simpleRule.let(IResolvable.Companion::unwrap)) } /** @@ -2794,7 +2794,7 @@ public open class CfnAlarmModel( * comparison operator. */ override fun simpleRule(simpleRule: SimpleRuleProperty) { - cdkBuilder.simpleRule(simpleRule.let(SimpleRuleProperty::unwrap)) + cdkBuilder.simpleRule(simpleRule.let(SimpleRuleProperty.Companion::unwrap)) } /** @@ -3123,7 +3123,7 @@ public open class CfnAlarmModel( * The default is the current event time. */ override fun timestamp(timestamp: IResolvable) { - cdkBuilder.timestamp(timestamp.let(IResolvable::unwrap)) + cdkBuilder.timestamp(timestamp.let(IResolvable.Companion::unwrap)) } /** @@ -3131,7 +3131,7 @@ public open class CfnAlarmModel( * The default is the current event time. */ override fun timestamp(timestamp: AssetPropertyTimestampProperty) { - cdkBuilder.timestamp(timestamp.let(AssetPropertyTimestampProperty::unwrap)) + cdkBuilder.timestamp(timestamp.let(AssetPropertyTimestampProperty.Companion::unwrap)) } /** @@ -3147,14 +3147,14 @@ public open class CfnAlarmModel( * @param value The value to send to an asset property. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value to send to an asset property. */ override fun `value`(`value`: AssetPropertyVariantProperty) { - cdkBuilder.`value`(`value`.let(AssetPropertyVariantProperty::unwrap)) + cdkBuilder.`value`(`value`.let(AssetPropertyVariantProperty.Companion::unwrap)) } /** @@ -3774,7 +3774,7 @@ public open class CfnAlarmModel( * `contentExpression` . */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -3785,7 +3785,7 @@ public open class CfnAlarmModel( * `contentExpression` . */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -4106,7 +4106,7 @@ public open class CfnAlarmModel( * `contentExpression` . */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -4117,7 +4117,7 @@ public open class CfnAlarmModel( * `contentExpression` . */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -4290,7 +4290,7 @@ public open class CfnAlarmModel( * Data Firehose delivery stream. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -4298,7 +4298,7 @@ public open class CfnAlarmModel( * Data Firehose delivery stream. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -4441,7 +4441,7 @@ public open class CfnAlarmModel( * default value is `TRUE` . */ override fun disabledOnInitialization(disabledOnInitialization: IResolvable) { - cdkBuilder.disabledOnInitialization(disabledOnInitialization.let(IResolvable::unwrap)) + cdkBuilder.disabledOnInitialization(disabledOnInitialization.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4567,7 +4567,7 @@ public open class CfnAlarmModel( * Events input. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -4575,7 +4575,7 @@ public open class CfnAlarmModel( * Events input. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -4816,7 +4816,7 @@ public open class CfnAlarmModel( * This value contains timestamp, quality, and value (TQV) information. */ override fun propertyValue(propertyValue: IResolvable) { - cdkBuilder.propertyValue(propertyValue.let(IResolvable::unwrap)) + cdkBuilder.propertyValue(propertyValue.let(IResolvable.Companion::unwrap)) } /** @@ -4824,7 +4824,7 @@ public open class CfnAlarmModel( * This value contains timestamp, quality, and value (TQV) information. */ override fun propertyValue(propertyValue: AssetPropertyValueProperty) { - cdkBuilder.propertyValue(propertyValue.let(AssetPropertyValueProperty::unwrap)) + cdkBuilder.propertyValue(propertyValue.let(AssetPropertyValueProperty.Companion::unwrap)) } /** @@ -4994,7 +4994,7 @@ public open class CfnAlarmModel( * IoT Core topic. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -5002,7 +5002,7 @@ public open class CfnAlarmModel( * IoT Core topic. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -5143,7 +5143,7 @@ public open class CfnAlarmModel( * function. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -5151,7 +5151,7 @@ public open class CfnAlarmModel( * function. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -5560,7 +5560,7 @@ public open class CfnAlarmModel( * SNS push notification. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -5568,7 +5568,7 @@ public open class CfnAlarmModel( * SNS push notification. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -5730,7 +5730,7 @@ public open class CfnAlarmModel( * SQS queue. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -5738,7 +5738,7 @@ public open class CfnAlarmModel( * SQS queue. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -5772,7 +5772,7 @@ public open class CfnAlarmModel( * Otherwise, set this to FALSE. */ override fun useBase64(useBase64: IResolvable) { - cdkBuilder.useBase64(useBase64.let(IResolvable::unwrap)) + cdkBuilder.useBase64(useBase64.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iotevents.CfnAlarmModel.SqsProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModelProps.kt index 245fb2fdd4..5120dc5cf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnAlarmModelProps.kt @@ -353,14 +353,14 @@ public interface CfnAlarmModelProps { * @param alarmCapabilities Contains the configuration information of alarm state changes. */ override fun alarmCapabilities(alarmCapabilities: IResolvable) { - cdkBuilder.alarmCapabilities(alarmCapabilities.let(IResolvable::unwrap)) + cdkBuilder.alarmCapabilities(alarmCapabilities.let(IResolvable.Companion::unwrap)) } /** * @param alarmCapabilities Contains the configuration information of alarm state changes. */ override fun alarmCapabilities(alarmCapabilities: CfnAlarmModel.AlarmCapabilitiesProperty) { - cdkBuilder.alarmCapabilities(alarmCapabilities.let(CfnAlarmModel.AlarmCapabilitiesProperty::unwrap)) + cdkBuilder.alarmCapabilities(alarmCapabilities.let(CfnAlarmModel.AlarmCapabilitiesProperty.Companion::unwrap)) } /** @@ -376,14 +376,14 @@ public interface CfnAlarmModelProps { * @param alarmEventActions Contains information about one or more alarm actions. */ override fun alarmEventActions(alarmEventActions: IResolvable) { - cdkBuilder.alarmEventActions(alarmEventActions.let(IResolvable::unwrap)) + cdkBuilder.alarmEventActions(alarmEventActions.let(IResolvable.Companion::unwrap)) } /** * @param alarmEventActions Contains information about one or more alarm actions. */ override fun alarmEventActions(alarmEventActions: CfnAlarmModel.AlarmEventActionsProperty) { - cdkBuilder.alarmEventActions(alarmEventActions.let(CfnAlarmModel.AlarmEventActionsProperty::unwrap)) + cdkBuilder.alarmEventActions(alarmEventActions.let(CfnAlarmModel.AlarmEventActionsProperty.Companion::unwrap)) } /** @@ -413,14 +413,14 @@ public interface CfnAlarmModelProps { * @param alarmRule Defines when your alarm is invoked. */ override fun alarmRule(alarmRule: IResolvable) { - cdkBuilder.alarmRule(alarmRule.let(IResolvable::unwrap)) + cdkBuilder.alarmRule(alarmRule.let(IResolvable.Companion::unwrap)) } /** * @param alarmRule Defines when your alarm is invoked. */ override fun alarmRule(alarmRule: CfnAlarmModel.AlarmRuleProperty) { - cdkBuilder.alarmRule(alarmRule.let(CfnAlarmModel.AlarmRuleProperty::unwrap)) + cdkBuilder.alarmRule(alarmRule.let(CfnAlarmModel.AlarmRuleProperty.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public interface CfnAlarmModelProps { * You can create up to 50 tags for one alarm model. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModel.kt index c60afee55b..721513f2e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModel.kt @@ -71,8 +71,8 @@ public open class CfnDetectorModel( id: String, props: CfnDetectorModelProps, ) : - this(software.amazon.awscdk.services.iotevents.CfnDetectorModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDetectorModelProps::unwrap)) + this(software.amazon.awscdk.services.iotevents.CfnDetectorModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDetectorModelProps.Companion::unwrap)) ) public constructor( @@ -91,14 +91,14 @@ public open class CfnDetectorModel( * Information that defines how a detector operates. */ public open fun detectorModelDefinition(`value`: IResolvable) { - unwrap(this).setDetectorModelDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDetectorModelDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * Information that defines how a detector operates. */ public open fun detectorModelDefinition(`value`: DetectorModelDefinitionProperty) { - unwrap(this).setDetectorModelDefinition(`value`.let(DetectorModelDefinitionProperty::unwrap)) + unwrap(this).setDetectorModelDefinition(`value`.let(DetectorModelDefinitionProperty.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnDetectorModel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnDetectorModel( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnDetectorModel( * @param detectorModelDefinition Information that defines how a detector operates. */ override fun detectorModelDefinition(detectorModelDefinition: IResolvable) { - cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(IResolvable::unwrap)) + cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnDetectorModel( * @param detectorModelDefinition Information that defines how a detector operates. */ override fun detectorModelDefinition(detectorModelDefinition: DetectorModelDefinitionProperty) { - cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(DetectorModelDefinitionProperty::unwrap)) + cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(DetectorModelDefinitionProperty.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnDetectorModel( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -991,14 +991,14 @@ public open class CfnDetectorModel( * @param clearTimer Information needed to clear the timer. */ override fun clearTimer(clearTimer: IResolvable) { - cdkBuilder.clearTimer(clearTimer.let(IResolvable::unwrap)) + cdkBuilder.clearTimer(clearTimer.let(IResolvable.Companion::unwrap)) } /** * @param clearTimer Information needed to clear the timer. */ override fun clearTimer(clearTimer: ClearTimerProperty) { - cdkBuilder.clearTimer(clearTimer.let(ClearTimerProperty::unwrap)) + cdkBuilder.clearTimer(clearTimer.let(ClearTimerProperty.Companion::unwrap)) } /** @@ -1020,7 +1020,7 @@ public open class CfnDetectorModel( * in *AWS IoT Events Developer Guide* . */ override fun dynamoDBv2(dynamoDBv2: IResolvable) { - cdkBuilder.dynamoDBv2(dynamoDBv2.let(IResolvable::unwrap)) + cdkBuilder.dynamoDBv2(dynamoDBv2.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnDetectorModel( * in *AWS IoT Events Developer Guide* . */ override fun dynamoDBv2(dynamoDBv2: DynamoDBv2Property) { - cdkBuilder.dynamoDBv2(dynamoDBv2.let(DynamoDBv2Property::unwrap)) + cdkBuilder.dynamoDBv2(dynamoDBv2.let(DynamoDBv2Property.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public open class CfnDetectorModel( * in *AWS IoT Events Developer Guide* . */ override fun dynamoDb(dynamoDb: IResolvable) { - cdkBuilder.dynamoDb(dynamoDb.let(IResolvable::unwrap)) + cdkBuilder.dynamoDb(dynamoDb.let(IResolvable.Companion::unwrap)) } /** @@ -1077,7 +1077,7 @@ public open class CfnDetectorModel( * in *AWS IoT Events Developer Guide* . */ override fun dynamoDb(dynamoDb: DynamoDBProperty) { - cdkBuilder.dynamoDb(dynamoDb.let(DynamoDBProperty::unwrap)) + cdkBuilder.dynamoDb(dynamoDb.let(DynamoDBProperty.Companion::unwrap)) } /** @@ -1100,7 +1100,7 @@ public open class CfnDetectorModel( * triggered the action to an Amazon Kinesis Data Firehose delivery stream. */ override fun firehose(firehose: IResolvable) { - cdkBuilder.firehose(firehose.let(IResolvable::unwrap)) + cdkBuilder.firehose(firehose.let(IResolvable.Companion::unwrap)) } /** @@ -1108,7 +1108,7 @@ public open class CfnDetectorModel( * triggered the action to an Amazon Kinesis Data Firehose delivery stream. */ override fun firehose(firehose: FirehoseProperty) { - cdkBuilder.firehose(firehose.let(FirehoseProperty::unwrap)) + cdkBuilder.firehose(firehose.let(FirehoseProperty.Companion::unwrap)) } /** @@ -1125,7 +1125,7 @@ public open class CfnDetectorModel( * model instance and the event that triggered the action. */ override fun iotEvents(iotEvents: IResolvable) { - cdkBuilder.iotEvents(iotEvents.let(IResolvable::unwrap)) + cdkBuilder.iotEvents(iotEvents.let(IResolvable.Companion::unwrap)) } /** @@ -1133,7 +1133,7 @@ public open class CfnDetectorModel( * model instance and the event that triggered the action. */ override fun iotEvents(iotEvents: IotEventsProperty) { - cdkBuilder.iotEvents(iotEvents.let(IotEventsProperty::unwrap)) + cdkBuilder.iotEvents(iotEvents.let(IotEventsProperty.Companion::unwrap)) } /** @@ -1150,7 +1150,7 @@ public open class CfnDetectorModel( * triggered the action to an asset property in AWS IoT SiteWise . */ override fun iotSiteWise(iotSiteWise: IResolvable) { - cdkBuilder.iotSiteWise(iotSiteWise.let(IResolvable::unwrap)) + cdkBuilder.iotSiteWise(iotSiteWise.let(IResolvable.Companion::unwrap)) } /** @@ -1158,7 +1158,7 @@ public open class CfnDetectorModel( * triggered the action to an asset property in AWS IoT SiteWise . */ override fun iotSiteWise(iotSiteWise: IotSiteWiseProperty) { - cdkBuilder.iotSiteWise(iotSiteWise.let(IotSiteWiseProperty::unwrap)) + cdkBuilder.iotSiteWise(iotSiteWise.let(IotSiteWiseProperty.Companion::unwrap)) } /** @@ -1175,7 +1175,7 @@ public open class CfnDetectorModel( * message broker. */ override fun iotTopicPublish(iotTopicPublish: IResolvable) { - cdkBuilder.iotTopicPublish(iotTopicPublish.let(IResolvable::unwrap)) + cdkBuilder.iotTopicPublish(iotTopicPublish.let(IResolvable.Companion::unwrap)) } /** @@ -1183,7 +1183,7 @@ public open class CfnDetectorModel( * message broker. */ override fun iotTopicPublish(iotTopicPublish: IotTopicPublishProperty) { - cdkBuilder.iotTopicPublish(iotTopicPublish.let(IotTopicPublishProperty::unwrap)) + cdkBuilder.iotTopicPublish(iotTopicPublish.let(IotTopicPublishProperty.Companion::unwrap)) } /** @@ -1200,7 +1200,7 @@ public open class CfnDetectorModel( * instance and the event that triggered the action. */ override fun lambda(lambda: IResolvable) { - cdkBuilder.lambda(lambda.let(IResolvable::unwrap)) + cdkBuilder.lambda(lambda.let(IResolvable.Companion::unwrap)) } /** @@ -1208,7 +1208,7 @@ public open class CfnDetectorModel( * instance and the event that triggered the action. */ override fun lambda(lambda: LambdaProperty) { - cdkBuilder.lambda(lambda.let(LambdaProperty::unwrap)) + cdkBuilder.lambda(lambda.let(LambdaProperty.Companion::unwrap)) } /** @@ -1224,14 +1224,14 @@ public open class CfnDetectorModel( * @param resetTimer Information needed to reset the timer. */ override fun resetTimer(resetTimer: IResolvable) { - cdkBuilder.resetTimer(resetTimer.let(IResolvable::unwrap)) + cdkBuilder.resetTimer(resetTimer.let(IResolvable.Companion::unwrap)) } /** * @param resetTimer Information needed to reset the timer. */ override fun resetTimer(resetTimer: ResetTimerProperty) { - cdkBuilder.resetTimer(resetTimer.let(ResetTimerProperty::unwrap)) + cdkBuilder.resetTimer(resetTimer.let(ResetTimerProperty.Companion::unwrap)) } /** @@ -1246,14 +1246,14 @@ public open class CfnDetectorModel( * @param sns Sends an Amazon SNS message. */ override fun sns(sns: IResolvable) { - cdkBuilder.sns(sns.let(IResolvable::unwrap)) + cdkBuilder.sns(sns.let(IResolvable.Companion::unwrap)) } /** * @param sns Sends an Amazon SNS message. */ override fun sns(sns: SnsProperty) { - cdkBuilder.sns(sns.let(SnsProperty::unwrap)) + cdkBuilder.sns(sns.let(SnsProperty.Companion::unwrap)) } /** @@ -1267,14 +1267,14 @@ public open class CfnDetectorModel( * @param sqs Sends an Amazon SNS message. */ override fun sqs(sqs: IResolvable) { - cdkBuilder.sqs(sqs.let(IResolvable::unwrap)) + cdkBuilder.sqs(sqs.let(IResolvable.Companion::unwrap)) } /** * @param sqs Sends an Amazon SNS message. */ override fun sqs(sqs: SqsProperty) { - cdkBuilder.sqs(sqs.let(SqsProperty::unwrap)) + cdkBuilder.sqs(sqs.let(SqsProperty.Companion::unwrap)) } /** @@ -1288,14 +1288,14 @@ public open class CfnDetectorModel( * @param setTimer Information needed to set the timer. */ override fun timer(setTimer: IResolvable) { - cdkBuilder.setTimer(setTimer.let(IResolvable::unwrap)) + cdkBuilder.setTimer(setTimer.let(IResolvable.Companion::unwrap)) } /** * @param setTimer Information needed to set the timer. */ override fun timer(setTimer: SetTimerProperty) { - cdkBuilder.setTimer(setTimer.let(SetTimerProperty::unwrap)) + cdkBuilder.setTimer(setTimer.let(SetTimerProperty.Companion::unwrap)) } /** @@ -1310,14 +1310,14 @@ public open class CfnDetectorModel( * @param setVariable Sets a variable to a specified value. */ override fun variable(setVariable: IResolvable) { - cdkBuilder.setVariable(setVariable.let(IResolvable::unwrap)) + cdkBuilder.setVariable(setVariable.let(IResolvable.Companion::unwrap)) } /** * @param setVariable Sets a variable to a specified value. */ override fun variable(setVariable: SetVariableProperty) { - cdkBuilder.setVariable(setVariable.let(SetVariableProperty::unwrap)) + cdkBuilder.setVariable(setVariable.let(SetVariableProperty.Companion::unwrap)) } /** @@ -1748,7 +1748,7 @@ public open class CfnDetectorModel( * The default is the current event time. */ override fun timestamp(timestamp: IResolvable) { - cdkBuilder.timestamp(timestamp.let(IResolvable::unwrap)) + cdkBuilder.timestamp(timestamp.let(IResolvable.Companion::unwrap)) } /** @@ -1756,7 +1756,7 @@ public open class CfnDetectorModel( * The default is the current event time. */ override fun timestamp(timestamp: AssetPropertyTimestampProperty) { - cdkBuilder.timestamp(timestamp.let(AssetPropertyTimestampProperty::unwrap)) + cdkBuilder.timestamp(timestamp.let(AssetPropertyTimestampProperty.Companion::unwrap)) } /** @@ -1772,14 +1772,14 @@ public open class CfnDetectorModel( * @param value The value to send to an asset property. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value to send to an asset property. */ override fun `value`(`value`: AssetPropertyVariantProperty) { - cdkBuilder.`value`(`value`.let(AssetPropertyVariantProperty::unwrap)) + cdkBuilder.`value`(`value`.let(AssetPropertyVariantProperty.Companion::unwrap)) } /** @@ -2213,7 +2213,7 @@ public open class CfnDetectorModel( * @param states Information about the states of the detector. */ override fun states(states: IResolvable) { - cdkBuilder.states(states.let(IResolvable::unwrap)) + cdkBuilder.states(states.let(IResolvable.Companion::unwrap)) } /** @@ -2606,7 +2606,7 @@ public open class CfnDetectorModel( * `contentExpression` . */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -2617,7 +2617,7 @@ public open class CfnDetectorModel( * `contentExpression` . */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -2939,7 +2939,7 @@ public open class CfnDetectorModel( * `contentExpression` . */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -2950,7 +2950,7 @@ public open class CfnDetectorModel( * `contentExpression` . */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -3219,7 +3219,7 @@ public open class CfnDetectorModel( * @param actions The actions to be performed. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -3407,7 +3407,7 @@ public open class CfnDetectorModel( * Data Firehose delivery stream. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -3415,7 +3415,7 @@ public open class CfnDetectorModel( * Data Firehose delivery stream. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -3573,7 +3573,7 @@ public open class CfnDetectorModel( * Events input. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -3581,7 +3581,7 @@ public open class CfnDetectorModel( * Events input. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -3824,7 +3824,7 @@ public open class CfnDetectorModel( * This value contains timestamp, quality, and value (TQV) information. */ override fun propertyValue(propertyValue: IResolvable) { - cdkBuilder.propertyValue(propertyValue.let(IResolvable::unwrap)) + cdkBuilder.propertyValue(propertyValue.let(IResolvable.Companion::unwrap)) } /** @@ -3832,7 +3832,7 @@ public open class CfnDetectorModel( * This value contains timestamp, quality, and value (TQV) information. */ override fun propertyValue(propertyValue: AssetPropertyValueProperty) { - cdkBuilder.propertyValue(propertyValue.let(AssetPropertyValueProperty::unwrap)) + cdkBuilder.propertyValue(propertyValue.let(AssetPropertyValueProperty.Companion::unwrap)) } /** @@ -4003,7 +4003,7 @@ public open class CfnDetectorModel( * IoT Core topic. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -4011,7 +4011,7 @@ public open class CfnDetectorModel( * IoT Core topic. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -4152,7 +4152,7 @@ public open class CfnDetectorModel( * function. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -4160,7 +4160,7 @@ public open class CfnDetectorModel( * function. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -4389,7 +4389,7 @@ public open class CfnDetectorModel( * `condition` is `TRUE` . */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -4617,7 +4617,7 @@ public open class CfnDetectorModel( * `condition` is `TRUE` . */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -4986,7 +4986,7 @@ public open class CfnDetectorModel( * @param events Specifies the actions performed when the `condition` evaluates to TRUE. */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -5006,7 +5006,7 @@ public open class CfnDetectorModel( * `condition` evaluates to TRUE. */ override fun transitionEvents(transitionEvents: IResolvable) { - cdkBuilder.transitionEvents(transitionEvents.let(IResolvable::unwrap)) + cdkBuilder.transitionEvents(transitionEvents.let(IResolvable.Companion::unwrap)) } /** @@ -5632,7 +5632,7 @@ public open class CfnDetectorModel( * SNS push notification. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -5640,7 +5640,7 @@ public open class CfnDetectorModel( * SNS push notification. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -5802,7 +5802,7 @@ public open class CfnDetectorModel( * SQS queue. */ override fun payload(payload: IResolvable) { - cdkBuilder.payload(payload.let(IResolvable::unwrap)) + cdkBuilder.payload(payload.let(IResolvable.Companion::unwrap)) } /** @@ -5810,7 +5810,7 @@ public open class CfnDetectorModel( * SQS queue. */ override fun payload(payload: PayloadProperty) { - cdkBuilder.payload(payload.let(PayloadProperty::unwrap)) + cdkBuilder.payload(payload.let(PayloadProperty.Companion::unwrap)) } /** @@ -5844,7 +5844,7 @@ public open class CfnDetectorModel( * Otherwise, set this to FALSE. */ override fun useBase64(useBase64: IResolvable) { - cdkBuilder.useBase64(useBase64.let(IResolvable::unwrap)) + cdkBuilder.useBase64(useBase64.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iotevents.CfnDetectorModel.SqsProperty = @@ -6016,7 +6016,7 @@ public open class CfnDetectorModel( * TRUE. */ override fun onEnter(onEnter: IResolvable) { - cdkBuilder.onEnter(onEnter.let(IResolvable::unwrap)) + cdkBuilder.onEnter(onEnter.let(IResolvable.Companion::unwrap)) } /** @@ -6024,7 +6024,7 @@ public open class CfnDetectorModel( * TRUE. */ override fun onEnter(onEnter: OnEnterProperty) { - cdkBuilder.onEnter(onEnter.let(OnEnterProperty::unwrap)) + cdkBuilder.onEnter(onEnter.let(OnEnterProperty.Companion::unwrap)) } /** @@ -6041,7 +6041,7 @@ public open class CfnDetectorModel( * is `TRUE` . */ override fun onExit(onExit: IResolvable) { - cdkBuilder.onExit(onExit.let(IResolvable::unwrap)) + cdkBuilder.onExit(onExit.let(IResolvable.Companion::unwrap)) } /** @@ -6049,7 +6049,7 @@ public open class CfnDetectorModel( * is `TRUE` . */ override fun onExit(onExit: OnExitProperty) { - cdkBuilder.onExit(onExit.let(OnExitProperty::unwrap)) + cdkBuilder.onExit(onExit.let(OnExitProperty.Companion::unwrap)) } /** @@ -6066,7 +6066,7 @@ public open class CfnDetectorModel( * `actions` . */ override fun onInput(onInput: IResolvable) { - cdkBuilder.onInput(onInput.let(IResolvable::unwrap)) + cdkBuilder.onInput(onInput.let(IResolvable.Companion::unwrap)) } /** @@ -6074,7 +6074,7 @@ public open class CfnDetectorModel( * `actions` . */ override fun onInput(onInput: OnInputProperty) { - cdkBuilder.onInput(onInput.let(OnInputProperty::unwrap)) + cdkBuilder.onInput(onInput.let(OnInputProperty.Companion::unwrap)) } /** @@ -6360,7 +6360,7 @@ public open class CfnDetectorModel( * @param actions The actions to be performed. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModelProps.kt index d9fade5d0f..682c20528f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnDetectorModelProps.kt @@ -168,7 +168,7 @@ public interface CfnDetectorModelProps { * @param detectorModelDefinition Information that defines how a detector operates. */ override fun detectorModelDefinition(detectorModelDefinition: IResolvable) { - cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(IResolvable::unwrap)) + cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface CfnDetectorModelProps { */ override fun detectorModelDefinition(detectorModelDefinition: CfnDetectorModel.DetectorModelDefinitionProperty) { - cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(CfnDetectorModel.DetectorModelDefinitionProperty::unwrap)) + cdkBuilder.detectorModelDefinition(detectorModelDefinition.let(CfnDetectorModel.DetectorModelDefinitionProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface CfnDetectorModelProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInput.kt index d929724c81..384200325e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInput.kt @@ -61,8 +61,8 @@ public open class CfnInput( id: String, props: CfnInputProps, ) : - this(software.amazon.awscdk.services.iotevents.CfnInput(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInputProps::unwrap)) + this(software.amazon.awscdk.services.iotevents.CfnInput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInputProps.Companion::unwrap)) ) public constructor( @@ -81,14 +81,14 @@ public open class CfnInput( * The definition of the input. */ public open fun inputDefinition(`value`: IResolvable) { - unwrap(this).setInputDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * The definition of the input. */ public open fun inputDefinition(`value`: InputDefinitionProperty) { - unwrap(this).setInputDefinition(`value`.let(InputDefinitionProperty::unwrap)) + unwrap(this).setInputDefinition(`value`.let(InputDefinitionProperty.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnInput( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnInput( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnInput( * @param inputDefinition The definition of the input. */ override fun inputDefinition(inputDefinition: IResolvable) { - cdkBuilder.inputDefinition(inputDefinition.let(IResolvable::unwrap)) + cdkBuilder.inputDefinition(inputDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnInput( * @param inputDefinition The definition of the input. */ override fun inputDefinition(inputDefinition: InputDefinitionProperty) { - cdkBuilder.inputDefinition(inputDefinition.let(InputDefinitionProperty::unwrap)) + cdkBuilder.inputDefinition(inputDefinition.let(InputDefinitionProperty.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnInput( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnInput( * monitor this input. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInputProps.kt index 3e2a8b1930..ef05ea7da7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotevents/CfnInputProps.kt @@ -130,14 +130,14 @@ public interface CfnInputProps { * @param inputDefinition The definition of the input. */ override fun inputDefinition(inputDefinition: IResolvable) { - cdkBuilder.inputDefinition(inputDefinition.let(IResolvable::unwrap)) + cdkBuilder.inputDefinition(inputDefinition.let(IResolvable.Companion::unwrap)) } /** * @param inputDefinition The definition of the input. */ override fun inputDefinition(inputDefinition: CfnInput.InputDefinitionProperty) { - cdkBuilder.inputDefinition(inputDefinition.let(CfnInput.InputDefinitionProperty::unwrap)) + cdkBuilder.inputDefinition(inputDefinition.let(CfnInput.InputDefinitionProperty.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public interface CfnInputProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplication.kt index 3868152f94..82b7a81d93 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplication.kt @@ -47,8 +47,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.iotfleethub.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.iotfleethub.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnApplication( * A set of key/value pairs that you can use to manage the web application resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnApplication( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplicationProps.kt index 3fd6c8b0bb..b510475f75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleethub/CfnApplicationProps.kt @@ -140,7 +140,7 @@ public interface CfnApplicationProps { * @param tags A set of key/value pairs that you can use to manage the web application resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaign.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaign.kt index fe976e0067..81294318d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaign.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaign.kt @@ -101,8 +101,8 @@ public open class CfnCampaign( id: String, props: CfnCampaignProps, ) : - this(software.amazon.awscdk.services.iotfleetwise.CfnCampaign(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCampaignProps::unwrap)) + this(software.amazon.awscdk.services.iotfleetwise.CfnCampaign(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCampaignProps.Companion::unwrap)) ) public constructor( @@ -160,14 +160,14 @@ public open class CfnCampaign( * The data collection scheme associated with the campaign. */ public open fun collectionScheme(`value`: IResolvable) { - unwrap(this).setCollectionScheme(`value`.let(IResolvable::unwrap)) + unwrap(this).setCollectionScheme(`value`.let(IResolvable.Companion::unwrap)) } /** * The data collection scheme associated with the campaign. */ public open fun collectionScheme(`value`: CollectionSchemeProperty) { - unwrap(this).setCollectionScheme(`value`.let(CollectionSchemeProperty::unwrap)) + unwrap(this).setCollectionScheme(`value`.let(CollectionSchemeProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnCampaign( * (Optional) The destination where the campaign sends data. */ public open fun dataDestinationConfigs(`value`: IResolvable) { - unwrap(this).setDataDestinationConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataDestinationConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnCampaign( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnCampaign( * (Optional) A list of information about signals to collect. */ public open fun signalsToCollect(`value`: IResolvable) { - unwrap(this).setSignalsToCollect(`value`.let(IResolvable::unwrap)) + unwrap(this).setSignalsToCollect(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CfnCampaign( * (Optional) Metadata that can be used to manage the campaign. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class CfnCampaign( * @param collectionScheme The data collection scheme associated with the campaign. */ override fun collectionScheme(collectionScheme: IResolvable) { - cdkBuilder.collectionScheme(collectionScheme.let(IResolvable::unwrap)) + cdkBuilder.collectionScheme(collectionScheme.let(IResolvable.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public open class CfnCampaign( * @param collectionScheme The data collection scheme associated with the campaign. */ override fun collectionScheme(collectionScheme: CollectionSchemeProperty) { - cdkBuilder.collectionScheme(collectionScheme.let(CollectionSchemeProperty::unwrap)) + cdkBuilder.collectionScheme(collectionScheme.let(CollectionSchemeProperty.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public open class CfnCampaign( * @param dataDestinationConfigs (Optional) The destination where the campaign sends data. */ override fun dataDestinationConfigs(dataDestinationConfigs: IResolvable) { - cdkBuilder.dataDestinationConfigs(dataDestinationConfigs.let(IResolvable::unwrap)) + cdkBuilder.dataDestinationConfigs(dataDestinationConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class CfnCampaign( * @param signalsToCollect (Optional) A list of information about signals to collect. */ override fun signalsToCollect(signalsToCollect: IResolvable) { - cdkBuilder.signalsToCollect(signalsToCollect.let(IResolvable::unwrap)) + cdkBuilder.signalsToCollect(signalsToCollect.let(IResolvable.Companion::unwrap)) } /** @@ -1088,7 +1088,7 @@ public open class CfnCampaign( * @param tags (Optional) Metadata that can be used to manage the campaign. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1239,7 +1239,7 @@ public open class CfnCampaign( * uses a simple logical expression to recognize what data to collect. */ override fun conditionBasedCollectionScheme(conditionBasedCollectionScheme: IResolvable) { - cdkBuilder.conditionBasedCollectionScheme(conditionBasedCollectionScheme.let(IResolvable::unwrap)) + cdkBuilder.conditionBasedCollectionScheme(conditionBasedCollectionScheme.let(IResolvable.Companion::unwrap)) } /** @@ -1248,7 +1248,7 @@ public open class CfnCampaign( */ override fun conditionBasedCollectionScheme(conditionBasedCollectionScheme: ConditionBasedCollectionSchemeProperty) { - cdkBuilder.conditionBasedCollectionScheme(conditionBasedCollectionScheme.let(ConditionBasedCollectionSchemeProperty::unwrap)) + cdkBuilder.conditionBasedCollectionScheme(conditionBasedCollectionScheme.let(ConditionBasedCollectionSchemeProperty.Companion::unwrap)) } /** @@ -1267,7 +1267,7 @@ public open class CfnCampaign( * a time period to decide how often to collect data. */ override fun timeBasedCollectionScheme(timeBasedCollectionScheme: IResolvable) { - cdkBuilder.timeBasedCollectionScheme(timeBasedCollectionScheme.let(IResolvable::unwrap)) + cdkBuilder.timeBasedCollectionScheme(timeBasedCollectionScheme.let(IResolvable.Companion::unwrap)) } /** @@ -1276,7 +1276,7 @@ public open class CfnCampaign( */ override fun timeBasedCollectionScheme(timeBasedCollectionScheme: TimeBasedCollectionSchemeProperty) { - cdkBuilder.timeBasedCollectionScheme(timeBasedCollectionScheme.let(TimeBasedCollectionSchemeProperty::unwrap)) + cdkBuilder.timeBasedCollectionScheme(timeBasedCollectionScheme.let(TimeBasedCollectionSchemeProperty.Companion::unwrap)) } /** @@ -1642,7 +1642,7 @@ public open class CfnCampaign( * data. */ override fun s3Config(s3Config: IResolvable) { - cdkBuilder.s3Config(s3Config.let(IResolvable::unwrap)) + cdkBuilder.s3Config(s3Config.let(IResolvable.Companion::unwrap)) } /** @@ -1650,7 +1650,7 @@ public open class CfnCampaign( * data. */ override fun s3Config(s3Config: S3ConfigProperty) { - cdkBuilder.s3Config(s3Config.let(S3ConfigProperty::unwrap)) + cdkBuilder.s3Config(s3Config.let(S3ConfigProperty.Companion::unwrap)) } /** @@ -1667,7 +1667,7 @@ public open class CfnCampaign( * data. */ override fun timestreamConfig(timestreamConfig: IResolvable) { - cdkBuilder.timestreamConfig(timestreamConfig.let(IResolvable::unwrap)) + cdkBuilder.timestreamConfig(timestreamConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1675,7 +1675,7 @@ public open class CfnCampaign( * data. */ override fun timestreamConfig(timestreamConfig: TimestreamConfigProperty) { - cdkBuilder.timestreamConfig(timestreamConfig.let(TimestreamConfigProperty::unwrap)) + cdkBuilder.timestreamConfig(timestreamConfig.let(TimestreamConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaignProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaignProps.kt index c0f37126bb..de17e1eff4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaignProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnCampaignProps.kt @@ -513,7 +513,7 @@ public interface CfnCampaignProps { * You can specify a scheme that collects data based on time or an event. */ override fun collectionScheme(collectionScheme: IResolvable) { - cdkBuilder.collectionScheme(collectionScheme.let(IResolvable::unwrap)) + cdkBuilder.collectionScheme(collectionScheme.let(IResolvable.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public interface CfnCampaignProps { * You can specify a scheme that collects data based on time or an event. */ override fun collectionScheme(collectionScheme: CfnCampaign.CollectionSchemeProperty) { - cdkBuilder.collectionScheme(collectionScheme.let(CfnCampaign.CollectionSchemeProperty::unwrap)) + cdkBuilder.collectionScheme(collectionScheme.let(CfnCampaign.CollectionSchemeProperty.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public interface CfnCampaignProps { * vehicle data so that you can identify trends and patterns. */ override fun dataDestinationConfigs(dataDestinationConfigs: IResolvable) { - cdkBuilder.dataDestinationConfigs(dataDestinationConfigs.let(IResolvable::unwrap)) + cdkBuilder.dataDestinationConfigs(dataDestinationConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface CfnCampaignProps { * @param signalsToCollect (Optional) A list of information about signals to collect. */ override fun signalsToCollect(signalsToCollect: IResolvable) { - cdkBuilder.signalsToCollect(signalsToCollect.let(IResolvable::unwrap)) + cdkBuilder.signalsToCollect(signalsToCollect.let(IResolvable.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface CfnCampaignProps { * @param tags (Optional) Metadata that can be used to manage the campaign. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifest.kt index 92e284f543..c31fd8b48e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifest.kt @@ -109,8 +109,8 @@ public open class CfnDecoderManifest( id: String, props: CfnDecoderManifestProps, ) : - this(software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDecoderManifestProps::unwrap)) + this(software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDecoderManifestProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnDecoderManifest( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnDecoderManifest( * (Optional) A list of information about available network interfaces. */ public open fun networkInterfaces(`value`: IResolvable) { - unwrap(this).setNetworkInterfaces(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkInterfaces(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnDecoderManifest( * (Optional) A list of information about signal decoders. */ public open fun signalDecoders(`value`: IResolvable) { - unwrap(this).setSignalDecoders(`value`.let(IResolvable::unwrap)) + unwrap(this).setSignalDecoders(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnDecoderManifest( * (Optional) Metadata that can be used to manage the decoder manifest. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnDecoderManifest( * */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnDecoderManifest( * @param signalDecoders (Optional) A list of information about signal decoders. */ override fun signalDecoders(signalDecoders: IResolvable) { - cdkBuilder.signalDecoders(signalDecoders.let(IResolvable::unwrap)) + cdkBuilder.signalDecoders(signalDecoders.let(IResolvable.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class CfnDecoderManifest( * @param tags (Optional) Metadata that can be used to manage the decoder manifest. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public open class CfnDecoderManifest( * Network (CAN) protocol. */ override fun canInterface(canInterface: IResolvable) { - cdkBuilder.canInterface(canInterface.let(IResolvable::unwrap)) + cdkBuilder.canInterface(canInterface.let(IResolvable.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class CfnDecoderManifest( * Network (CAN) protocol. */ override fun canInterface(canInterface: CanInterfaceProperty) { - cdkBuilder.canInterface(canInterface.let(CanInterfaceProperty::unwrap)) + cdkBuilder.canInterface(canInterface.let(CanInterfaceProperty.Companion::unwrap)) } /** @@ -993,7 +993,7 @@ public open class CfnDecoderManifest( * messages it receives and transmits. */ override fun canSignal(canSignal: IResolvable) { - cdkBuilder.canSignal(canSignal.let(IResolvable::unwrap)) + cdkBuilder.canSignal(canSignal.let(IResolvable.Companion::unwrap)) } /** @@ -1001,7 +1001,7 @@ public open class CfnDecoderManifest( * messages it receives and transmits. */ override fun canSignal(canSignal: CanSignalProperty) { - cdkBuilder.canSignal(canSignal.let(CanSignalProperty::unwrap)) + cdkBuilder.canSignal(canSignal.let(CanSignalProperty.Companion::unwrap)) } /** @@ -1494,14 +1494,14 @@ public open class CfnDecoderManifest( * @param canInterface the value to be set. */ override fun canInterface(canInterface: IResolvable) { - cdkBuilder.canInterface(canInterface.let(IResolvable::unwrap)) + cdkBuilder.canInterface(canInterface.let(IResolvable.Companion::unwrap)) } /** * @param canInterface the value to be set. */ override fun canInterface(canInterface: CanInterfaceProperty) { - cdkBuilder.canInterface(canInterface.let(CanInterfaceProperty::unwrap)) + cdkBuilder.canInterface(canInterface.let(CanInterfaceProperty.Companion::unwrap)) } /** @@ -1523,14 +1523,14 @@ public open class CfnDecoderManifest( * @param obdInterface the value to be set. */ override fun obdInterface(obdInterface: IResolvable) { - cdkBuilder.obdInterface(obdInterface.let(IResolvable::unwrap)) + cdkBuilder.obdInterface(obdInterface.let(IResolvable.Companion::unwrap)) } /** * @param obdInterface the value to be set. */ override fun obdInterface(obdInterface: ObdInterfaceProperty) { - cdkBuilder.obdInterface(obdInterface.let(ObdInterfaceProperty::unwrap)) + cdkBuilder.obdInterface(obdInterface.let(ObdInterfaceProperty.Companion::unwrap)) } /** @@ -1957,7 +1957,7 @@ public open class CfnDecoderManifest( * On-board diagnostic (OBD) II protocol. */ override fun obdInterface(obdInterface: IResolvable) { - cdkBuilder.obdInterface(obdInterface.let(IResolvable::unwrap)) + cdkBuilder.obdInterface(obdInterface.let(IResolvable.Companion::unwrap)) } /** @@ -1965,7 +1965,7 @@ public open class CfnDecoderManifest( * On-board diagnostic (OBD) II protocol. */ override fun obdInterface(obdInterface: ObdInterfaceProperty) { - cdkBuilder.obdInterface(obdInterface.let(ObdInterfaceProperty::unwrap)) + cdkBuilder.obdInterface(obdInterface.let(ObdInterfaceProperty.Companion::unwrap)) } /** @@ -2160,7 +2160,7 @@ public open class CfnDecoderManifest( * protocol in a vehicle. */ override fun obdSignal(obdSignal: IResolvable) { - cdkBuilder.obdSignal(obdSignal.let(IResolvable::unwrap)) + cdkBuilder.obdSignal(obdSignal.let(IResolvable.Companion::unwrap)) } /** @@ -2168,7 +2168,7 @@ public open class CfnDecoderManifest( * protocol in a vehicle. */ override fun obdSignal(obdSignal: ObdSignalProperty) { - cdkBuilder.obdSignal(obdSignal.let(ObdSignalProperty::unwrap)) + cdkBuilder.obdSignal(obdSignal.let(ObdSignalProperty.Companion::unwrap)) } /** @@ -2676,14 +2676,14 @@ public open class CfnDecoderManifest( * @param canSignal the value to be set. */ override fun canSignal(canSignal: IResolvable) { - cdkBuilder.canSignal(canSignal.let(IResolvable::unwrap)) + cdkBuilder.canSignal(canSignal.let(IResolvable.Companion::unwrap)) } /** * @param canSignal the value to be set. */ override fun canSignal(canSignal: CanSignalProperty) { - cdkBuilder.canSignal(canSignal.let(CanSignalProperty::unwrap)) + cdkBuilder.canSignal(canSignal.let(CanSignalProperty.Companion::unwrap)) } /** @@ -2712,14 +2712,14 @@ public open class CfnDecoderManifest( * @param obdSignal the value to be set. */ override fun obdSignal(obdSignal: IResolvable) { - cdkBuilder.obdSignal(obdSignal.let(IResolvable::unwrap)) + cdkBuilder.obdSignal(obdSignal.let(IResolvable.Companion::unwrap)) } /** * @param obdSignal the value to be set. */ override fun obdSignal(obdSignal: ObdSignalProperty) { - cdkBuilder.obdSignal(obdSignal.let(ObdSignalProperty::unwrap)) + cdkBuilder.obdSignal(obdSignal.let(ObdSignalProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifestProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifestProps.kt index b8b7c4c663..5868fcbe3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifestProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnDecoderManifestProps.kt @@ -242,7 +242,7 @@ public interface CfnDecoderManifestProps { * @param networkInterfaces (Optional) A list of information about available network interfaces. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnDecoderManifestProps { * @param signalDecoders (Optional) A list of information about signal decoders. */ override fun signalDecoders(signalDecoders: IResolvable) { - cdkBuilder.signalDecoders(signalDecoders.let(IResolvable::unwrap)) + cdkBuilder.signalDecoders(signalDecoders.let(IResolvable.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public interface CfnDecoderManifestProps { * @param tags (Optional) Metadata that can be used to manage the decoder manifest. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleet.kt index b429d0b45d..899f244ef0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleet.kt @@ -54,8 +54,8 @@ public open class CfnFleet( id: String, props: CfnFleetProps, ) : - this(software.amazon.awscdk.services.iotfleetwise.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetProps::unwrap)) + this(software.amazon.awscdk.services.iotfleetwise.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnFleet( * (Optional) Metadata that can be used to manage the fleet. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnFleet( * @param tags (Optional) Metadata that can be used to manage the fleet. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleetProps.kt index dc725a8c35..4b41772362 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnFleetProps.kt @@ -122,7 +122,7 @@ public interface CfnFleetProps { * @param tags (Optional) Metadata that can be used to manage the fleet. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifest.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifest.kt index 9e8dd530a7..8b7af74846 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifest.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifest.kt @@ -53,8 +53,8 @@ public open class CfnModelManifest( id: String, props: CfnModelManifestProps, ) : - this(software.amazon.awscdk.services.iotfleetwise.CfnModelManifest(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelManifestProps::unwrap)) + this(software.amazon.awscdk.services.iotfleetwise.CfnModelManifest(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelManifestProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnModelManifest( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnModelManifest( * (Optional) Metadata that can be used to manage the vehicle model. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnModelManifest( * @param tags (Optional) Metadata that can be used to manage the vehicle model. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifestProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifestProps.kt index fe6fd293e6..8bab3c7d9f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifestProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnModelManifestProps.kt @@ -184,7 +184,7 @@ public interface CfnModelManifestProps { * @param tags (Optional) Metadata that can be used to manage the vehicle model. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalog.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalog.kt index 1abd7594f3..dcb4ed77f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalog.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalog.kt @@ -93,7 +93,7 @@ public open class CfnSignalCatalog( cdkObject: software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -102,8 +102,8 @@ public open class CfnSignalCatalog( id: String, props: CfnSignalCatalogProps, ) : - this(software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSignalCatalogProps::unwrap)) + this(software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSignalCatalogProps.Companion::unwrap)) ) public constructor( @@ -178,7 +178,7 @@ public open class CfnSignalCatalog( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,14 +202,14 @@ public open class CfnSignalCatalog( * (Optional) Information about the number of nodes and node types in a vehicle network. */ public open fun nodeCounts(`value`: IResolvable) { - unwrap(this).setNodeCounts(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodeCounts(`value`.let(IResolvable.Companion::unwrap)) } /** * (Optional) Information about the number of nodes and node types in a vehicle network. */ public open fun nodeCounts(`value`: NodeCountsProperty) { - unwrap(this).setNodeCounts(`value`.let(NodeCountsProperty::unwrap)) + unwrap(this).setNodeCounts(`value`.let(NodeCountsProperty.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnSignalCatalog( * (Optional) A list of information about nodes, which are a general abstraction of signals. */ public open fun nodes(`value`: IResolvable) { - unwrap(this).setNodes(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnSignalCatalog( * (Optional) Metadata that can be used to manage the signal catalog. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnSignalCatalog( * vehicle network. */ override fun nodeCounts(nodeCounts: IResolvable) { - cdkBuilder.nodeCounts(nodeCounts.let(IResolvable::unwrap)) + cdkBuilder.nodeCounts(nodeCounts.let(IResolvable.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnSignalCatalog( * vehicle network. */ override fun nodeCounts(nodeCounts: NodeCountsProperty) { - cdkBuilder.nodeCounts(nodeCounts.let(NodeCountsProperty::unwrap)) + cdkBuilder.nodeCounts(nodeCounts.let(NodeCountsProperty.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class CfnSignalCatalog( * signals. */ override fun nodes(nodes: IResolvable) { - cdkBuilder.nodes(nodes.let(IResolvable::unwrap)) + cdkBuilder.nodes(nodes.let(IResolvable.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnSignalCatalog( * @param tags (Optional) Metadata that can be used to manage the signal catalog. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1639,7 +1639,7 @@ public open class CfnSignalCatalog( * An actuator is a digital representation of a vehicle device. */ override fun actuator(actuator: IResolvable) { - cdkBuilder.actuator(actuator.let(IResolvable::unwrap)) + cdkBuilder.actuator(actuator.let(IResolvable.Companion::unwrap)) } /** @@ -1648,7 +1648,7 @@ public open class CfnSignalCatalog( * An actuator is a digital representation of a vehicle device. */ override fun actuator(actuator: ActuatorProperty) { - cdkBuilder.actuator(actuator.let(ActuatorProperty::unwrap)) + cdkBuilder.actuator(actuator.let(ActuatorProperty.Companion::unwrap)) } /** @@ -1667,7 +1667,7 @@ public open class CfnSignalCatalog( * An attribute represents static information about a vehicle. */ override fun attribute(attribute: IResolvable) { - cdkBuilder.attribute(attribute.let(IResolvable::unwrap)) + cdkBuilder.attribute(attribute.let(IResolvable.Companion::unwrap)) } /** @@ -1676,7 +1676,7 @@ public open class CfnSignalCatalog( * An attribute represents static information about a vehicle. */ override fun attribute(attribute: AttributeProperty) { - cdkBuilder.attribute(attribute.let(AttributeProperty::unwrap)) + cdkBuilder.attribute(attribute.let(AttributeProperty.Companion::unwrap)) } /** @@ -1695,7 +1695,7 @@ public open class CfnSignalCatalog( * A group of signals that are defined in a hierarchical structure. */ override fun branch(branch: IResolvable) { - cdkBuilder.branch(branch.let(IResolvable::unwrap)) + cdkBuilder.branch(branch.let(IResolvable.Companion::unwrap)) } /** @@ -1704,7 +1704,7 @@ public open class CfnSignalCatalog( * A group of signals that are defined in a hierarchical structure. */ override fun branch(branch: BranchProperty) { - cdkBuilder.branch(branch.let(BranchProperty::unwrap)) + cdkBuilder.branch(branch.let(BranchProperty.Companion::unwrap)) } /** @@ -1725,7 +1725,7 @@ public open class CfnSignalCatalog( * sensors. */ override fun sensor(sensor: IResolvable) { - cdkBuilder.sensor(sensor.let(IResolvable::unwrap)) + cdkBuilder.sensor(sensor.let(IResolvable.Companion::unwrap)) } /** @@ -1736,7 +1736,7 @@ public open class CfnSignalCatalog( * sensors. */ override fun sensor(sensor: SensorProperty) { - cdkBuilder.sensor(sensor.let(SensorProperty::unwrap)) + cdkBuilder.sensor(sensor.let(SensorProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalogProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalogProps.kt index 07b3351ed1..8d9928e8be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalogProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnSignalCatalogProps.kt @@ -205,7 +205,7 @@ public interface CfnSignalCatalogProps { * vehicle network. */ override fun nodeCounts(nodeCounts: IResolvable) { - cdkBuilder.nodeCounts(nodeCounts.let(IResolvable::unwrap)) + cdkBuilder.nodeCounts(nodeCounts.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface CfnSignalCatalogProps { * vehicle network. */ override fun nodeCounts(nodeCounts: CfnSignalCatalog.NodeCountsProperty) { - cdkBuilder.nodeCounts(nodeCounts.let(CfnSignalCatalog.NodeCountsProperty::unwrap)) + cdkBuilder.nodeCounts(nodeCounts.let(CfnSignalCatalog.NodeCountsProperty.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface CfnSignalCatalogProps { * signals. */ override fun nodes(nodes: IResolvable) { - cdkBuilder.nodes(nodes.let(IResolvable::unwrap)) + cdkBuilder.nodes(nodes.let(IResolvable.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface CfnSignalCatalogProps { * @param tags (Optional) Metadata that can be used to manage the signal catalog. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicle.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicle.kt index 624ff9aa9d..88f50e99f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicle.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicle.kt @@ -64,8 +64,8 @@ public open class CfnVehicle( id: String, props: CfnVehicleProps, ) : - this(software.amazon.awscdk.services.iotfleetwise.CfnVehicle(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVehicleProps::unwrap)) + this(software.amazon.awscdk.services.iotfleetwise.CfnVehicle(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVehicleProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnVehicle( * (Optional) Static information about a vehicle in a key-value pair. */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnVehicle( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnVehicle( * (Optional) Metadata which can be used to manage the vehicle. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnVehicle( * @param attributes (Optional) Static information about a vehicle in a key-value pair. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnVehicle( * @param tags (Optional) Metadata which can be used to manage the vehicle. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicleProps.kt index 13f1adb453..74b20b22f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotfleetwise/CfnVehicleProps.kt @@ -154,7 +154,7 @@ public interface CfnVehicleProps { * For example: `"engine Type"` : `"v6"` */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface CfnVehicleProps { * @param tags (Optional) Metadata which can be used to manage the vehicle. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicy.kt index 339ed649f3..bb9aa25978 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicy.kt @@ -61,8 +61,8 @@ public open class CfnAccessPolicy( id: String, props: CfnAccessPolicyProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPolicyProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPolicyProps.Companion::unwrap)) ) public constructor( @@ -81,14 +81,14 @@ public open class CfnAccessPolicy( * The identity for this access policy. */ public open fun accessPolicyIdentity(`value`: IResolvable) { - unwrap(this).setAccessPolicyIdentity(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessPolicyIdentity(`value`.let(IResolvable.Companion::unwrap)) } /** * The identity for this access policy. */ public open fun accessPolicyIdentity(`value`: AccessPolicyIdentityProperty) { - unwrap(this).setAccessPolicyIdentity(`value`.let(AccessPolicyIdentityProperty::unwrap)) + unwrap(this).setAccessPolicyIdentity(`value`.let(AccessPolicyIdentityProperty.Companion::unwrap)) } /** @@ -120,14 +120,14 @@ public open class CfnAccessPolicy( * The AWS IoT SiteWise Monitor resource for this access policy. */ public open fun accessPolicyResource(`value`: IResolvable) { - unwrap(this).setAccessPolicyResource(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessPolicyResource(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS IoT SiteWise Monitor resource for this access policy. */ public open fun accessPolicyResource(`value`: AccessPolicyResourceProperty) { - unwrap(this).setAccessPolicyResource(`value`.let(AccessPolicyResourceProperty::unwrap)) + unwrap(this).setAccessPolicyResource(`value`.let(AccessPolicyResourceProperty.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnAccessPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnAccessPolicy( * @param accessPolicyIdentity The identity for this access policy. */ override fun accessPolicyIdentity(accessPolicyIdentity: IResolvable) { - cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(IResolvable::unwrap)) + cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnAccessPolicy( * @param accessPolicyIdentity The identity for this access policy. */ override fun accessPolicyIdentity(accessPolicyIdentity: AccessPolicyIdentityProperty) { - cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(AccessPolicyIdentityProperty::unwrap)) + cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(AccessPolicyIdentityProperty.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnAccessPolicy( * @param accessPolicyResource The AWS IoT SiteWise Monitor resource for this access policy. */ override fun accessPolicyResource(accessPolicyResource: IResolvable) { - cdkBuilder.accessPolicyResource(accessPolicyResource.let(IResolvable::unwrap)) + cdkBuilder.accessPolicyResource(accessPolicyResource.let(IResolvable.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnAccessPolicy( * @param accessPolicyResource The AWS IoT SiteWise Monitor resource for this access policy. */ override fun accessPolicyResource(accessPolicyResource: AccessPolicyResourceProperty) { - cdkBuilder.accessPolicyResource(accessPolicyResource.let(AccessPolicyResourceProperty::unwrap)) + cdkBuilder.accessPolicyResource(accessPolicyResource.let(AccessPolicyResourceProperty.Companion::unwrap)) } /** @@ -477,14 +477,14 @@ public open class CfnAccessPolicy( * @param iamRole An IAM role identity. */ override fun iamRole(iamRole: IResolvable) { - cdkBuilder.iamRole(iamRole.let(IResolvable::unwrap)) + cdkBuilder.iamRole(iamRole.let(IResolvable.Companion::unwrap)) } /** * @param iamRole An IAM role identity. */ override fun iamRole(iamRole: IamRoleProperty) { - cdkBuilder.iamRole(iamRole.let(IamRoleProperty::unwrap)) + cdkBuilder.iamRole(iamRole.let(IamRoleProperty.Companion::unwrap)) } /** @@ -499,14 +499,14 @@ public open class CfnAccessPolicy( * @param iamUser An IAM user identity. */ override fun iamUser(iamUser: IResolvable) { - cdkBuilder.iamUser(iamUser.let(IResolvable::unwrap)) + cdkBuilder.iamUser(iamUser.let(IResolvable.Companion::unwrap)) } /** * @param iamUser An IAM user identity. */ override fun iamUser(iamUser: IamUserProperty) { - cdkBuilder.iamUser(iamUser.let(IamUserProperty::unwrap)) + cdkBuilder.iamUser(iamUser.let(IamUserProperty.Companion::unwrap)) } /** @@ -521,14 +521,14 @@ public open class CfnAccessPolicy( * @param user An IAM Identity Center user identity. */ override fun user(user: IResolvable) { - cdkBuilder.user(user.let(IResolvable::unwrap)) + cdkBuilder.user(user.let(IResolvable.Companion::unwrap)) } /** * @param user An IAM Identity Center user identity. */ override fun user(user: UserProperty) { - cdkBuilder.user(user.let(UserProperty::unwrap)) + cdkBuilder.user(user.let(UserProperty.Companion::unwrap)) } /** @@ -675,14 +675,14 @@ public open class CfnAccessPolicy( * @param portal Identifies an AWS IoT SiteWise Monitor portal. */ override fun portal(portal: IResolvable) { - cdkBuilder.portal(portal.let(IResolvable::unwrap)) + cdkBuilder.portal(portal.let(IResolvable.Companion::unwrap)) } /** * @param portal Identifies an AWS IoT SiteWise Monitor portal. */ override fun portal(portal: PortalProperty) { - cdkBuilder.portal(portal.let(PortalProperty::unwrap)) + cdkBuilder.portal(portal.let(PortalProperty.Companion::unwrap)) } /** @@ -697,14 +697,14 @@ public open class CfnAccessPolicy( * @param project Identifies a specific AWS IoT SiteWise Monitor project. */ override fun project(project: IResolvable) { - cdkBuilder.project(project.let(IResolvable::unwrap)) + cdkBuilder.project(project.let(IResolvable.Companion::unwrap)) } /** * @param project Identifies a specific AWS IoT SiteWise Monitor project. */ override fun project(project: ProjectProperty) { - cdkBuilder.project(project.let(ProjectProperty::unwrap)) + cdkBuilder.project(project.let(ProjectProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicyProps.kt index 081565287c..e6fa1fe4e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAccessPolicyProps.kt @@ -139,7 +139,7 @@ public interface CfnAccessPolicyProps { * Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user. */ override fun accessPolicyIdentity(accessPolicyIdentity: IResolvable) { - cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(IResolvable::unwrap)) + cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface CfnAccessPolicyProps { */ override fun accessPolicyIdentity(accessPolicyIdentity: CfnAccessPolicy.AccessPolicyIdentityProperty) { - cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(CfnAccessPolicy.AccessPolicyIdentityProperty::unwrap)) + cdkBuilder.accessPolicyIdentity(accessPolicyIdentity.let(CfnAccessPolicy.AccessPolicyIdentityProperty.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public interface CfnAccessPolicyProps { * Choose either a portal or a project. */ override fun accessPolicyResource(accessPolicyResource: IResolvable) { - cdkBuilder.accessPolicyResource(accessPolicyResource.let(IResolvable::unwrap)) + cdkBuilder.accessPolicyResource(accessPolicyResource.let(IResolvable.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface CfnAccessPolicyProps { */ override fun accessPolicyResource(accessPolicyResource: CfnAccessPolicy.AccessPolicyResourceProperty) { - cdkBuilder.accessPolicyResource(accessPolicyResource.let(CfnAccessPolicy.AccessPolicyResourceProperty::unwrap)) + cdkBuilder.accessPolicyResource(accessPolicyResource.let(CfnAccessPolicy.AccessPolicyResourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAsset.kt index 02bcc5f61c..ecddc45f9f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAsset.kt @@ -70,8 +70,8 @@ public open class CfnAsset( id: String, props: CfnAssetProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnAsset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssetProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnAsset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssetProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnAsset( * A list of asset hierarchies that each contain a `hierarchyId` . */ public open fun assetHierarchies(`value`: IResolvable) { - unwrap(this).setAssetHierarchies(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssetHierarchies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnAsset( * The list of asset properties for the asset. */ public open fun assetProperties(`value`: IResolvable) { - unwrap(this).setAssetProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssetProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnAsset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnAsset( * A list of key-value pairs that contain metadata for the asset. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class CfnAsset( * @param assetHierarchies A list of asset hierarchies that each contain a `hierarchyId` . */ override fun assetHierarchies(assetHierarchies: IResolvable) { - cdkBuilder.assetHierarchies(assetHierarchies.let(IResolvable::unwrap)) + cdkBuilder.assetHierarchies(assetHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnAsset( * @param assetProperties The list of asset properties for the asset. */ override fun assetProperties(assetProperties: IResolvable) { - cdkBuilder.assetProperties(assetProperties.let(IResolvable::unwrap)) + cdkBuilder.assetProperties(assetProperties.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnAsset( * @param tags A list of key-value pairs that contain metadata for the asset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModel.kt index 88346c6d13..b3a1702e98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModel.kt @@ -200,8 +200,8 @@ public open class CfnAssetModel( id: String, props: CfnAssetModelProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnAssetModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssetModelProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnAssetModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssetModelProps.Companion::unwrap)) ) public constructor( @@ -220,7 +220,7 @@ public open class CfnAssetModel( * The composite models that are part of this asset model. */ public open fun assetModelCompositeModels(`value`: IResolvable) { - unwrap(this).setAssetModelCompositeModels(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssetModelCompositeModels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnAssetModel( * The hierarchy definitions of the asset model. */ public open fun assetModelHierarchies(`value`: IResolvable) { - unwrap(this).setAssetModelHierarchies(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssetModelHierarchies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnAssetModel( * The property definitions of the asset model. */ public open fun assetModelProperties(`value`: IResolvable) { - unwrap(this).setAssetModelProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssetModelProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnAssetModel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnAssetModel( * A list of key-value pairs that contain metadata for the asset. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnAssetModel( * @param assetModelCompositeModels The composite models that are part of this asset model. */ override fun assetModelCompositeModels(assetModelCompositeModels: IResolvable) { - cdkBuilder.assetModelCompositeModels(assetModelCompositeModels.let(IResolvable::unwrap)) + cdkBuilder.assetModelCompositeModels(assetModelCompositeModels.let(IResolvable.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public open class CfnAssetModel( * @param assetModelHierarchies The hierarchy definitions of the asset model. */ override fun assetModelHierarchies(assetModelHierarchies: IResolvable) { - cdkBuilder.assetModelHierarchies(assetModelHierarchies.let(IResolvable::unwrap)) + cdkBuilder.assetModelHierarchies(assetModelHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public open class CfnAssetModel( * @param assetModelProperties The property definitions of the asset model. */ override fun assetModelProperties(assetModelProperties: IResolvable) { - cdkBuilder.assetModelProperties(assetModelProperties.let(IResolvable::unwrap)) + cdkBuilder.assetModelProperties(assetModelProperties.let(IResolvable.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public open class CfnAssetModel( * @param tags A list of key-value pairs that contain metadata for the asset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1184,7 +1184,7 @@ public open class CfnAssetModel( * @param compositeModelProperties The asset property definitions for this composite model. */ override fun compositeModelProperties(compositeModelProperties: IResolvable) { - cdkBuilder.compositeModelProperties(compositeModelProperties.let(IResolvable::unwrap)) + cdkBuilder.compositeModelProperties(compositeModelProperties.let(IResolvable.Companion::unwrap)) } /** @@ -2050,7 +2050,7 @@ public open class CfnAssetModel( * `metric` , or `transform` . */ override fun type(type: IResolvable) { - cdkBuilder.type(type.let(IResolvable::unwrap)) + cdkBuilder.type(type.let(IResolvable.Companion::unwrap)) } /** @@ -2058,7 +2058,7 @@ public open class CfnAssetModel( * `metric` , or `transform` . */ override fun type(type: PropertyTypeProperty) { - cdkBuilder.type(type.let(PropertyTypeProperty::unwrap)) + cdkBuilder.type(type.let(PropertyTypeProperty.Companion::unwrap)) } /** @@ -2372,14 +2372,14 @@ public open class CfnAssetModel( * @param value The variable that identifies an asset property from which to use values. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The variable that identifies an asset property from which to use values. */ override fun `value`(`value`: VariableValueProperty) { - cdkBuilder.`value`(`value`.let(VariableValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(VariableValueProperty.Companion::unwrap)) } /** @@ -2592,7 +2592,7 @@ public open class CfnAssetModel( * @param variables The list of variables used in the expression. */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -2613,7 +2613,7 @@ public open class CfnAssetModel( * AWS IoT SiteWise computes one data point per `window` . */ override fun window(window: IResolvable) { - cdkBuilder.window(window.let(IResolvable::unwrap)) + cdkBuilder.window(window.let(IResolvable.Companion::unwrap)) } /** @@ -2622,7 +2622,7 @@ public open class CfnAssetModel( * AWS IoT SiteWise computes one data point per `window` . */ override fun window(window: MetricWindowProperty) { - cdkBuilder.window(window.let(MetricWindowProperty::unwrap)) + cdkBuilder.window(window.let(MetricWindowProperty.Companion::unwrap)) } /** @@ -2753,14 +2753,14 @@ public open class CfnAssetModel( * @param tumbling The tumbling time interval window. */ override fun tumbling(tumbling: IResolvable) { - cdkBuilder.tumbling(tumbling.let(IResolvable::unwrap)) + cdkBuilder.tumbling(tumbling.let(IResolvable.Companion::unwrap)) } /** * @param tumbling The tumbling time interval window. */ override fun tumbling(tumbling: TumblingWindowProperty) { - cdkBuilder.tumbling(tumbling.let(TumblingWindowProperty::unwrap)) + cdkBuilder.tumbling(tumbling.let(TumblingWindowProperty.Companion::unwrap)) } /** @@ -3090,7 +3090,7 @@ public open class CfnAssetModel( * wind turbine. */ override fun attribute(attribute: IResolvable) { - cdkBuilder.attribute(attribute.let(IResolvable::unwrap)) + cdkBuilder.attribute(attribute.let(IResolvable.Companion::unwrap)) } /** @@ -3100,7 +3100,7 @@ public open class CfnAssetModel( * wind turbine. */ override fun attribute(attribute: AttributeProperty) { - cdkBuilder.attribute(attribute.let(AttributeProperty::unwrap)) + cdkBuilder.attribute(attribute.let(AttributeProperty.Companion::unwrap)) } /** @@ -3121,7 +3121,7 @@ public open class CfnAssetModel( * the average hourly temperature. */ override fun metric(metric: IResolvable) { - cdkBuilder.metric(metric.let(IResolvable::unwrap)) + cdkBuilder.metric(metric.let(IResolvable.Companion::unwrap)) } /** @@ -3131,7 +3131,7 @@ public open class CfnAssetModel( * the average hourly temperature. */ override fun metric(metric: MetricProperty) { - cdkBuilder.metric(metric.let(MetricProperty::unwrap)) + cdkBuilder.metric(metric.let(MetricProperty.Companion::unwrap)) } /** @@ -3151,7 +3151,7 @@ public open class CfnAssetModel( * form to another, such as a unit conversion from Celsius to Fahrenheit. */ override fun transform(transform: IResolvable) { - cdkBuilder.transform(transform.let(IResolvable::unwrap)) + cdkBuilder.transform(transform.let(IResolvable.Companion::unwrap)) } /** @@ -3160,7 +3160,7 @@ public open class CfnAssetModel( * form to another, such as a unit conversion from Celsius to Fahrenheit. */ override fun transform(transform: TransformProperty) { - cdkBuilder.transform(transform.let(TransformProperty::unwrap)) + cdkBuilder.transform(transform.let(TransformProperty.Companion::unwrap)) } /** @@ -3363,7 +3363,7 @@ public open class CfnAssetModel( * @param variables The list of variables used in the expression. */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -4009,7 +4009,7 @@ public open class CfnAssetModel( * `PropertyPath: Name: AssetModelName Name: Composite1 Name: NestedComposite` */ override fun propertyPath(propertyPath: IResolvable) { - cdkBuilder.propertyPath(propertyPath.let(IResolvable::unwrap)) + cdkBuilder.propertyPath(propertyPath.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModelProps.kt index 34aee81604..92635ba587 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetModelProps.kt @@ -462,7 +462,7 @@ public interface CfnAssetModelProps { * in the *AWS IoT SiteWise User Guide* . */ override fun assetModelCompositeModels(assetModelCompositeModels: IResolvable) { - cdkBuilder.assetModelCompositeModels(assetModelCompositeModels.let(IResolvable::unwrap)) + cdkBuilder.assetModelCompositeModels(assetModelCompositeModels.let(IResolvable.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public interface CfnAssetModelProps { * SiteWise User Guide* . */ override fun assetModelHierarchies(assetModelHierarchies: IResolvable) { - cdkBuilder.assetModelHierarchies(assetModelHierarchies.let(IResolvable::unwrap)) + cdkBuilder.assetModelHierarchies(assetModelHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public interface CfnAssetModelProps { * SiteWise User Guide* . */ override fun assetModelProperties(assetModelProperties: IResolvable) { - cdkBuilder.assetModelProperties(assetModelProperties.let(IResolvable::unwrap)) + cdkBuilder.assetModelProperties(assetModelProperties.let(IResolvable.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public interface CfnAssetModelProps { * *AWS IoT SiteWise User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetProps.kt index dd6fba6b27..6055128293 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnAssetProps.kt @@ -233,7 +233,7 @@ public interface CfnAssetProps { * A hierarchy specifies allowed parent/child asset relationships. */ override fun assetHierarchies(assetHierarchies: IResolvable) { - cdkBuilder.assetHierarchies(assetHierarchies.let(IResolvable::unwrap)) + cdkBuilder.assetHierarchies(assetHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnAssetProps { * composite model properties in the `assetCompositeModels` object. */ override fun assetProperties(assetProperties: IResolvable) { - cdkBuilder.assetProperties(assetProperties.let(IResolvable::unwrap)) + cdkBuilder.assetProperties(assetProperties.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnAssetProps { * *AWS IoT SiteWise User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboard.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboard.kt index d73c166203..5e55077d6b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboard.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboard.kt @@ -47,8 +47,8 @@ public open class CfnDashboard( id: String, props: CfnDashboardProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDashboardProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDashboardProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnDashboard( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnDashboard( * A list of key-value pairs that contain metadata for the dashboard. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnDashboard( * @param tags A list of key-value pairs that contain metadata for the dashboard. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboardProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboardProps.kt index fa3f2fd2d6..0d2b62b152 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboardProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnDashboardProps.kt @@ -165,7 +165,7 @@ public interface CfnDashboardProps { * *AWS IoT SiteWise User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGateway.kt index 69d9b91d4b..5eb6834a1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGateway.kt @@ -67,8 +67,8 @@ public open class CfnGateway( id: String, props: CfnGatewayProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGatewayProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGatewayProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnGateway( * A list of gateway capability summaries that each contain a namespace and status. */ public open fun gatewayCapabilitySummaries(`value`: IResolvable) { - unwrap(this).setGatewayCapabilitySummaries(`value`.let(IResolvable::unwrap)) + unwrap(this).setGatewayCapabilitySummaries(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,14 +129,14 @@ public open class CfnGateway( * The gateway's platform. */ public open fun gatewayPlatform(`value`: IResolvable) { - unwrap(this).setGatewayPlatform(`value`.let(IResolvable::unwrap)) + unwrap(this).setGatewayPlatform(`value`.let(IResolvable.Companion::unwrap)) } /** * The gateway's platform. */ public open fun gatewayPlatform(`value`: GatewayPlatformProperty) { - unwrap(this).setGatewayPlatform(`value`.let(GatewayPlatformProperty::unwrap)) + unwrap(this).setGatewayPlatform(`value`.let(GatewayPlatformProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnGateway( * A list of key-value pairs that contain metadata for the gateway. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnGateway( * namespace and status. */ override fun gatewayCapabilitySummaries(gatewayCapabilitySummaries: IResolvable) { - cdkBuilder.gatewayCapabilitySummaries(gatewayCapabilitySummaries.let(IResolvable::unwrap)) + cdkBuilder.gatewayCapabilitySummaries(gatewayCapabilitySummaries.let(IResolvable.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class CfnGateway( * @param gatewayPlatform The gateway's platform. */ override fun gatewayPlatform(gatewayPlatform: IResolvable) { - cdkBuilder.gatewayPlatform(gatewayPlatform.let(IResolvable::unwrap)) + cdkBuilder.gatewayPlatform(gatewayPlatform.let(IResolvable.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CfnGateway( * @param gatewayPlatform The gateway's platform. */ override fun gatewayPlatform(gatewayPlatform: GatewayPlatformProperty) { - cdkBuilder.gatewayPlatform(gatewayPlatform.let(GatewayPlatformProperty::unwrap)) + cdkBuilder.gatewayPlatform(gatewayPlatform.let(GatewayPlatformProperty.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CfnGateway( * @param tags A list of key-value pairs that contain metadata for the gateway. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -667,14 +667,14 @@ public open class CfnGateway( * @param greengrass A gateway that runs on AWS IoT Greengrass . */ override fun greengrass(greengrass: IResolvable) { - cdkBuilder.greengrass(greengrass.let(IResolvable::unwrap)) + cdkBuilder.greengrass(greengrass.let(IResolvable.Companion::unwrap)) } /** * @param greengrass A gateway that runs on AWS IoT Greengrass . */ override fun greengrass(greengrass: GreengrassProperty) { - cdkBuilder.greengrass(greengrass.let(GreengrassProperty::unwrap)) + cdkBuilder.greengrass(greengrass.let(GreengrassProperty.Companion::unwrap)) } /** @@ -689,14 +689,14 @@ public open class CfnGateway( * @param greengrassV2 A gateway that runs on AWS IoT Greengrass V2 . */ override fun greengrassV2(greengrassV2: IResolvable) { - cdkBuilder.greengrassV2(greengrassV2.let(IResolvable::unwrap)) + cdkBuilder.greengrassV2(greengrassV2.let(IResolvable.Companion::unwrap)) } /** * @param greengrassV2 A gateway that runs on AWS IoT Greengrass V2 . */ override fun greengrassV2(greengrassV2: GreengrassV2Property) { - cdkBuilder.greengrassV2(greengrassV2.let(GreengrassV2Property::unwrap)) + cdkBuilder.greengrassV2(greengrassV2.let(GreengrassV2Property.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGatewayProps.kt index fde58e4618..ac516ec4fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnGatewayProps.kt @@ -178,7 +178,7 @@ public interface CfnGatewayProps { * . */ override fun gatewayCapabilitySummaries(gatewayCapabilitySummaries: IResolvable) { - cdkBuilder.gatewayCapabilitySummaries(gatewayCapabilitySummaries.let(IResolvable::unwrap)) + cdkBuilder.gatewayCapabilitySummaries(gatewayCapabilitySummaries.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public interface CfnGatewayProps { * You can only specify one platform in a gateway. */ override fun gatewayPlatform(gatewayPlatform: IResolvable) { - cdkBuilder.gatewayPlatform(gatewayPlatform.let(IResolvable::unwrap)) + cdkBuilder.gatewayPlatform(gatewayPlatform.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface CfnGatewayProps { * You can only specify one platform in a gateway. */ override fun gatewayPlatform(gatewayPlatform: CfnGateway.GatewayPlatformProperty) { - cdkBuilder.gatewayPlatform(gatewayPlatform.let(CfnGateway.GatewayPlatformProperty::unwrap)) + cdkBuilder.gatewayPlatform(gatewayPlatform.let(CfnGateway.GatewayPlatformProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CfnGatewayProps { * *AWS IoT SiteWise User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortal.kt index 9a158b30e9..03efc9d72b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortal.kt @@ -64,8 +64,8 @@ public open class CfnPortal( id: String, props: CfnPortalProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnPortal(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPortalProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnPortal(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPortalProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnPortal( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnPortal( * A list of key-value pairs that contain metadata for the portal. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnPortal( * @param tags A list of key-value pairs that contain metadata for the portal. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortalProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortalProps.kt index 86e2e7e573..1524e72055 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortalProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnPortalProps.kt @@ -303,7 +303,7 @@ public interface CfnPortalProps { * *AWS IoT SiteWise User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProject.kt index 722ab60684..127af2a01d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProject.kt @@ -51,8 +51,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.iotsitewise.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.iotsitewise.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnProject( * A list of key-value pairs that contain metadata for the project. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnProject( * @param tags A list of key-value pairs that contain metadata for the project. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProjectProps.kt index 3da90bad06..b90432ae45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotsitewise/CfnProjectProps.kt @@ -165,7 +165,7 @@ public interface CfnProjectProps { * *AWS IoT SiteWise User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplate.kt index 0ef279db92..13a68ccc7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplate.kt @@ -46,8 +46,8 @@ public open class CfnFlowTemplate( id: String, props: CfnFlowTemplateProps, ) : - this(software.amazon.awscdk.services.iotthingsgraph.CfnFlowTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowTemplateProps::unwrap)) + this(software.amazon.awscdk.services.iotthingsgraph.CfnFlowTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowTemplateProps.Companion::unwrap)) ) public constructor( @@ -84,14 +84,14 @@ public open class CfnFlowTemplate( * */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definition(`value`: DefinitionDocumentProperty) { - unwrap(this).setDefinition(`value`.let(DefinitionDocumentProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(DefinitionDocumentProperty.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnFlowTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnFlowTemplate( * @param definition */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnFlowTemplate( * @param definition */ override fun definition(definition: DefinitionDocumentProperty) { - cdkBuilder.definition(definition.let(DefinitionDocumentProperty::unwrap)) + cdkBuilder.definition(definition.let(DefinitionDocumentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplateProps.kt index 3e15d4f1e6..6640d5a18f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotthingsgraph/CfnFlowTemplateProps.kt @@ -87,14 +87,14 @@ public interface CfnFlowTemplateProps { * @param definition the value to be set. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** * @param definition the value to be set. */ override fun definition(definition: CfnFlowTemplate.DefinitionDocumentProperty) { - cdkBuilder.definition(definition.let(CfnFlowTemplate.DefinitionDocumentProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnFlowTemplate.DefinitionDocumentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentType.kt index dfd4db95b3..de72d701f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentType.kt @@ -119,8 +119,8 @@ public open class CfnComponentType( id: String, props: CfnComponentTypeProps, ) : - this(software.amazon.awscdk.services.iottwinmaker.CfnComponentType(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnComponentTypeProps::unwrap)) + this(software.amazon.awscdk.services.iottwinmaker.CfnComponentType(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnComponentTypeProps.Companion::unwrap)) ) public constructor( @@ -205,7 +205,7 @@ public open class CfnComponentType( * Maps strings to `compositeComponentTypes` of the `componentType` . */ public open fun compositeComponentTypes(`value`: IResolvable) { - unwrap(this).setCompositeComponentTypes(`value`.let(IResolvable::unwrap)) + unwrap(this).setCompositeComponentTypes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnComponentType( * An object that maps strings to the functions in the component type. */ public open fun functions(`value`: IResolvable) { - unwrap(this).setFunctions(`value`.let(IResolvable::unwrap)) + unwrap(this).setFunctions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnComponentType( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnComponentType( * A boolean value that specifies whether an entity can have more than one component of this type. */ public open fun isSingleton(`value`: IResolvable) { - unwrap(this).setIsSingleton(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsSingleton(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnComponentType( * An object that maps strings to the property definitions in the component type. */ public open fun propertyDefinitions(`value`: IResolvable) { - unwrap(this).setPropertyDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPropertyDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnComponentType( * An object that maps strings to the property groups in the component type. */ public open fun propertyGroups(`value`: IResolvable) { - unwrap(this).setPropertyGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setPropertyGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnComponentType( * `componentType` . */ override fun compositeComponentTypes(compositeComponentTypes: IResolvable) { - cdkBuilder.compositeComponentTypes(compositeComponentTypes.let(IResolvable::unwrap)) + cdkBuilder.compositeComponentTypes(compositeComponentTypes.let(IResolvable.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class CfnComponentType( * @param functions An object that maps strings to the functions in the component type. */ override fun functions(functions: IResolvable) { - cdkBuilder.functions(functions.let(IResolvable::unwrap)) + cdkBuilder.functions(functions.let(IResolvable.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public open class CfnComponentType( * component of this type. */ override fun isSingleton(isSingleton: IResolvable) { - cdkBuilder.isSingleton(isSingleton.let(IResolvable::unwrap)) + cdkBuilder.isSingleton(isSingleton.let(IResolvable.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public open class CfnComponentType( * component type. */ override fun propertyDefinitions(propertyDefinitions: IResolvable) { - cdkBuilder.propertyDefinitions(propertyDefinitions.let(IResolvable::unwrap)) + cdkBuilder.propertyDefinitions(propertyDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public open class CfnComponentType( * type. */ override fun propertyGroups(propertyGroups: IResolvable) { - cdkBuilder.propertyGroups(propertyGroups.let(IResolvable::unwrap)) + cdkBuilder.propertyGroups(propertyGroups.let(IResolvable.Companion::unwrap)) } /** @@ -937,21 +937,21 @@ public open class CfnComponentType( * TwinMaker. */ override fun isNative(isNative: IResolvable) { - cdkBuilder.isNative(isNative.let(IResolvable::unwrap)) + cdkBuilder.isNative(isNative.let(IResolvable.Companion::unwrap)) } /** * @param lambda The Lambda function associated with the data connector. */ override fun lambda(lambda: IResolvable) { - cdkBuilder.lambda(lambda.let(IResolvable::unwrap)) + cdkBuilder.lambda(lambda.let(IResolvable.Companion::unwrap)) } /** * @param lambda The Lambda function associated with the data connector. */ override fun lambda(lambda: LambdaFunctionProperty) { - cdkBuilder.lambda(lambda.let(LambdaFunctionProperty::unwrap)) + cdkBuilder.lambda(lambda.let(LambdaFunctionProperty.Companion::unwrap)) } /** @@ -1154,7 +1154,7 @@ public open class CfnComponentType( * @param allowedValues The allowed values for this data type. */ override fun allowedValues(allowedValues: IResolvable) { - cdkBuilder.allowedValues(allowedValues.let(IResolvable::unwrap)) + cdkBuilder.allowedValues(allowedValues.let(IResolvable.Companion::unwrap)) } /** @@ -1174,14 +1174,14 @@ public open class CfnComponentType( * @param nestedType The nested type in the data type. */ override fun nestedType(nestedType: IResolvable) { - cdkBuilder.nestedType(nestedType.let(IResolvable::unwrap)) + cdkBuilder.nestedType(nestedType.let(IResolvable.Companion::unwrap)) } /** * @param nestedType The nested type in the data type. */ override fun nestedType(nestedType: DataTypeProperty) { - cdkBuilder.nestedType(nestedType.let(DataTypeProperty::unwrap)) + cdkBuilder.nestedType(nestedType.let(DataTypeProperty.Companion::unwrap)) } /** @@ -1196,14 +1196,14 @@ public open class CfnComponentType( * @param relationship A relationship that associates a component with another component. */ override fun relationship(relationship: IResolvable) { - cdkBuilder.relationship(relationship.let(IResolvable::unwrap)) + cdkBuilder.relationship(relationship.let(IResolvable.Companion::unwrap)) } /** * @param relationship A relationship that associates a component with another component. */ override fun relationship(relationship: RelationshipProperty) { - cdkBuilder.relationship(relationship.let(RelationshipProperty::unwrap)) + cdkBuilder.relationship(relationship.let(RelationshipProperty.Companion::unwrap)) } /** @@ -1471,7 +1471,7 @@ public open class CfnComponentType( * @param booleanValue A boolean value. */ override fun booleanValue(booleanValue: IResolvable) { - cdkBuilder.booleanValue(booleanValue.let(IResolvable::unwrap)) + cdkBuilder.booleanValue(booleanValue.let(IResolvable.Companion::unwrap)) } /** @@ -1499,7 +1499,7 @@ public open class CfnComponentType( * @param listValue A list of multiple values. */ override fun listValue(listValue: IResolvable) { - cdkBuilder.listValue(listValue.let(IResolvable::unwrap)) + cdkBuilder.listValue(listValue.let(IResolvable.Companion::unwrap)) } /** @@ -1525,7 +1525,7 @@ public open class CfnComponentType( * @param mapValue An object that maps strings to multiple `DataValue` objects. */ override fun mapValue(mapValue: IResolvable) { - cdkBuilder.mapValue(mapValue.let(IResolvable::unwrap)) + cdkBuilder.mapValue(mapValue.let(IResolvable.Companion::unwrap)) } /** @@ -1839,14 +1839,14 @@ public open class CfnComponentType( * @param implementedBy The data connector. */ override fun implementedBy(implementedBy: IResolvable) { - cdkBuilder.implementedBy(implementedBy.let(IResolvable::unwrap)) + cdkBuilder.implementedBy(implementedBy.let(IResolvable.Companion::unwrap)) } /** * @param implementedBy The data connector. */ override fun implementedBy(implementedBy: DataConnectorProperty) { - cdkBuilder.implementedBy(implementedBy.let(DataConnectorProperty::unwrap)) + cdkBuilder.implementedBy(implementedBy.let(DataConnectorProperty.Companion::unwrap)) } /** @@ -2231,7 +2231,7 @@ public open class CfnComponentType( * property. */ override fun configurations(configurations: IResolvable) { - cdkBuilder.configurations(configurations.let(IResolvable::unwrap)) + cdkBuilder.configurations(configurations.let(IResolvable.Companion::unwrap)) } /** @@ -2246,14 +2246,14 @@ public open class CfnComponentType( * @param dataType An object that specifies the data type of a property. */ override fun dataType(dataType: IResolvable) { - cdkBuilder.dataType(dataType.let(IResolvable::unwrap)) + cdkBuilder.dataType(dataType.let(IResolvable.Companion::unwrap)) } /** * @param dataType An object that specifies the data type of a property. */ override fun dataType(dataType: DataTypeProperty) { - cdkBuilder.dataType(dataType.let(DataTypeProperty::unwrap)) + cdkBuilder.dataType(dataType.let(DataTypeProperty.Companion::unwrap)) } /** @@ -2269,7 +2269,7 @@ public open class CfnComponentType( * external data store. */ override fun defaultValue(defaultValue: IResolvable) { - cdkBuilder.defaultValue(defaultValue.let(IResolvable::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(IResolvable.Companion::unwrap)) } /** @@ -2277,7 +2277,7 @@ public open class CfnComponentType( * external data store. */ override fun defaultValue(defaultValue: DataValueProperty) { - cdkBuilder.defaultValue(defaultValue.let(DataValueProperty::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(DataValueProperty.Companion::unwrap)) } /** @@ -2302,7 +2302,7 @@ public open class CfnComponentType( * external data source. */ override fun isExternalId(isExternalId: IResolvable) { - cdkBuilder.isExternalId(isExternalId.let(IResolvable::unwrap)) + cdkBuilder.isExternalId(isExternalId.let(IResolvable.Companion::unwrap)) } /** @@ -2318,7 +2318,7 @@ public open class CfnComponentType( * in an entity. */ override fun isRequiredInEntity(isRequiredInEntity: IResolvable) { - cdkBuilder.isRequiredInEntity(isRequiredInEntity.let(IResolvable::unwrap)) + cdkBuilder.isRequiredInEntity(isRequiredInEntity.let(IResolvable.Companion::unwrap)) } /** @@ -2334,7 +2334,7 @@ public open class CfnComponentType( * externally. */ override fun isStoredExternally(isStoredExternally: IResolvable) { - cdkBuilder.isStoredExternally(isStoredExternally.let(IResolvable::unwrap)) + cdkBuilder.isStoredExternally(isStoredExternally.let(IResolvable.Companion::unwrap)) } /** @@ -2350,7 +2350,7 @@ public open class CfnComponentType( * series data. */ override fun isTimeSeries(isTimeSeries: IResolvable) { - cdkBuilder.isTimeSeries(isTimeSeries.let(IResolvable::unwrap)) + cdkBuilder.isTimeSeries(isTimeSeries.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2841,14 +2841,14 @@ public open class CfnComponentType( * @param error The component type error. */ override fun error(error: IResolvable) { - cdkBuilder.error(error.let(IResolvable::unwrap)) + cdkBuilder.error(error.let(IResolvable.Companion::unwrap)) } /** * @param error The component type error. */ override fun error(error: ErrorProperty) { - cdkBuilder.error(error.let(ErrorProperty::unwrap)) + cdkBuilder.error(error.let(ErrorProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentTypeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentTypeProps.kt index 0283eb6c42..3d4146a9c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentTypeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnComponentTypeProps.kt @@ -325,7 +325,7 @@ public interface CfnComponentTypeProps { * `CompositeComponentType` is referenced by `componentTypeId` . */ override fun compositeComponentTypes(compositeComponentTypes: IResolvable) { - cdkBuilder.compositeComponentTypes(compositeComponentTypes.let(IResolvable::unwrap)) + cdkBuilder.compositeComponentTypes(compositeComponentTypes.let(IResolvable.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public interface CfnComponentTypeProps { * API reference. */ override fun functions(functions: IResolvable) { - cdkBuilder.functions(functions.let(IResolvable::unwrap)) + cdkBuilder.functions(functions.let(IResolvable.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface CfnComponentTypeProps { * component of this type. */ override fun isSingleton(isSingleton: IResolvable) { - cdkBuilder.isSingleton(isSingleton.let(IResolvable::unwrap)) + cdkBuilder.isSingleton(isSingleton.let(IResolvable.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public interface CfnComponentTypeProps { * API reference. */ override fun propertyDefinitions(propertyDefinitions: IResolvable) { - cdkBuilder.propertyDefinitions(propertyDefinitions.let(IResolvable::unwrap)) + cdkBuilder.propertyDefinitions(propertyDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface CfnComponentTypeProps { * Each string in the mapping must be unique to this object. */ override fun propertyGroups(propertyGroups: IResolvable) { - cdkBuilder.propertyGroups(propertyGroups.let(IResolvable::unwrap)) + cdkBuilder.propertyGroups(propertyGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntity.kt index c42150809b..f0b707e43e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntity.kt @@ -121,8 +121,8 @@ public open class CfnEntity( id: String, props: CfnEntityProps, ) : - this(software.amazon.awscdk.services.iottwinmaker.CfnEntity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEntityProps::unwrap)) + this(software.amazon.awscdk.services.iottwinmaker.CfnEntity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEntityProps.Companion::unwrap)) ) public constructor( @@ -188,7 +188,7 @@ public open class CfnEntity( * An object that maps strings to the components in the entity. */ public open fun components(`value`: IResolvable) { - unwrap(this).setComponents(`value`.let(IResolvable::unwrap)) + unwrap(this).setComponents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnEntity( * Maps string to `compositeComponent` updates in the request. */ public open fun compositeComponents(`value`: IResolvable) { - unwrap(this).setCompositeComponents(`value`.let(IResolvable::unwrap)) + unwrap(this).setCompositeComponents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnEntity( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnEntity( * @param components An object that maps strings to the components in the entity. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnEntity( * @param compositeComponents Maps string to `compositeComponent` updates in the request. */ override fun compositeComponents(compositeComponents: IResolvable) { - cdkBuilder.compositeComponents(compositeComponents.let(IResolvable::unwrap)) + cdkBuilder.compositeComponents(compositeComponents.let(IResolvable.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnEntity( * Each string in the mapping must be unique to this object. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnEntity( * Each string in the mapping must be unique to this object. */ override fun propertyGroups(propertyGroups: IResolvable) { - cdkBuilder.propertyGroups(propertyGroups.let(IResolvable::unwrap)) + cdkBuilder.propertyGroups(propertyGroups.let(IResolvable.Companion::unwrap)) } /** @@ -797,14 +797,14 @@ public open class CfnEntity( * @param status The status of the component. */ override fun status(status: IResolvable) { - cdkBuilder.status(status.let(IResolvable::unwrap)) + cdkBuilder.status(status.let(IResolvable.Companion::unwrap)) } /** * @param status The status of the component. */ override fun status(status: StatusProperty) { - cdkBuilder.status(status.let(StatusProperty::unwrap)) + cdkBuilder.status(status.let(StatusProperty.Companion::unwrap)) } /** @@ -1100,7 +1100,7 @@ public open class CfnEntity( * Each string in the mapping must be unique to this component. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -1115,7 +1115,7 @@ public open class CfnEntity( * @param propertyGroups The property groups. */ override fun propertyGroups(propertyGroups: IResolvable) { - cdkBuilder.propertyGroups(propertyGroups.let(IResolvable::unwrap)) + cdkBuilder.propertyGroups(propertyGroups.let(IResolvable.Companion::unwrap)) } /** @@ -1129,14 +1129,14 @@ public open class CfnEntity( * @param status The current status of the composite component. */ override fun status(status: IResolvable) { - cdkBuilder.status(status.let(IResolvable::unwrap)) + cdkBuilder.status(status.let(IResolvable.Companion::unwrap)) } /** * @param status The current status of the composite component. */ override fun status(status: StatusProperty) { - cdkBuilder.status(status.let(StatusProperty::unwrap)) + cdkBuilder.status(status.let(StatusProperty.Companion::unwrap)) } /** @@ -1372,7 +1372,7 @@ public open class CfnEntity( * @param allowedValues The allowed values. */ override fun allowedValues(allowedValues: IResolvable) { - cdkBuilder.allowedValues(allowedValues.let(IResolvable::unwrap)) + cdkBuilder.allowedValues(allowedValues.let(IResolvable.Companion::unwrap)) } /** @@ -1392,14 +1392,14 @@ public open class CfnEntity( * @param nestedType The nested type. */ override fun nestedType(nestedType: IResolvable) { - cdkBuilder.nestedType(nestedType.let(IResolvable::unwrap)) + cdkBuilder.nestedType(nestedType.let(IResolvable.Companion::unwrap)) } /** * @param nestedType The nested type. */ override fun nestedType(nestedType: DataTypeProperty) { - cdkBuilder.nestedType(nestedType.let(DataTypeProperty::unwrap)) + cdkBuilder.nestedType(nestedType.let(DataTypeProperty.Companion::unwrap)) } /** @@ -1414,14 +1414,14 @@ public open class CfnEntity( * @param relationship The relationship. */ override fun relationship(relationship: IResolvable) { - cdkBuilder.relationship(relationship.let(IResolvable::unwrap)) + cdkBuilder.relationship(relationship.let(IResolvable.Companion::unwrap)) } /** * @param relationship The relationship. */ override fun relationship(relationship: RelationshipProperty) { - cdkBuilder.relationship(relationship.let(RelationshipProperty::unwrap)) + cdkBuilder.relationship(relationship.let(RelationshipProperty.Companion::unwrap)) } /** @@ -1685,7 +1685,7 @@ public open class CfnEntity( * @param booleanValue A boolean value. */ override fun booleanValue(booleanValue: IResolvable) { - cdkBuilder.booleanValue(booleanValue.let(IResolvable::unwrap)) + cdkBuilder.booleanValue(booleanValue.let(IResolvable.Companion::unwrap)) } /** @@ -1713,7 +1713,7 @@ public open class CfnEntity( * @param listValue A list of multiple values. */ override fun listValue(listValue: IResolvable) { - cdkBuilder.listValue(listValue.let(IResolvable::unwrap)) + cdkBuilder.listValue(listValue.let(IResolvable.Companion::unwrap)) } /** @@ -1739,7 +1739,7 @@ public open class CfnEntity( * @param mapValue An object that maps strings to multiple DataValue objects. */ override fun mapValue(mapValue: IResolvable) { - cdkBuilder.mapValue(mapValue.let(IResolvable::unwrap)) + cdkBuilder.mapValue(mapValue.let(IResolvable.Companion::unwrap)) } /** @@ -2112,7 +2112,7 @@ public open class CfnEntity( * @param configuration The configuration. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -2126,14 +2126,14 @@ public open class CfnEntity( * @param dataType The data type. */ override fun dataType(dataType: IResolvable) { - cdkBuilder.dataType(dataType.let(IResolvable::unwrap)) + cdkBuilder.dataType(dataType.let(IResolvable.Companion::unwrap)) } /** * @param dataType The data type. */ override fun dataType(dataType: DataTypeProperty) { - cdkBuilder.dataType(dataType.let(DataTypeProperty::unwrap)) + cdkBuilder.dataType(dataType.let(DataTypeProperty.Companion::unwrap)) } /** @@ -2148,14 +2148,14 @@ public open class CfnEntity( * @param defaultValue The default value. */ override fun defaultValue(defaultValue: IResolvable) { - cdkBuilder.defaultValue(defaultValue.let(IResolvable::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(IResolvable.Companion::unwrap)) } /** * @param defaultValue The default value. */ override fun defaultValue(defaultValue: DataValueProperty) { - cdkBuilder.defaultValue(defaultValue.let(DataValueProperty::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(DataValueProperty.Companion::unwrap)) } /** @@ -2177,7 +2177,7 @@ public open class CfnEntity( * @param isExternalId Displays if the entity has a external Id. */ override fun isExternalId(isExternalId: IResolvable) { - cdkBuilder.isExternalId(isExternalId.let(IResolvable::unwrap)) + cdkBuilder.isExternalId(isExternalId.let(IResolvable.Companion::unwrap)) } /** @@ -2191,7 +2191,7 @@ public open class CfnEntity( * @param isFinal Displays if the entity is final. */ override fun isFinal(isFinal: IResolvable) { - cdkBuilder.isFinal(isFinal.let(IResolvable::unwrap)) + cdkBuilder.isFinal(isFinal.let(IResolvable.Companion::unwrap)) } /** @@ -2205,7 +2205,7 @@ public open class CfnEntity( * @param isImported Displays if the entity is imported. */ override fun isImported(isImported: IResolvable) { - cdkBuilder.isImported(isImported.let(IResolvable::unwrap)) + cdkBuilder.isImported(isImported.let(IResolvable.Companion::unwrap)) } /** @@ -2219,7 +2219,7 @@ public open class CfnEntity( * @param isInherited Displays if the entity is inherited. */ override fun isInherited(isInherited: IResolvable) { - cdkBuilder.isInherited(isInherited.let(IResolvable::unwrap)) + cdkBuilder.isInherited(isInherited.let(IResolvable.Companion::unwrap)) } /** @@ -2233,7 +2233,7 @@ public open class CfnEntity( * @param isRequiredInEntity Displays if the entity is a required entity. */ override fun isRequiredInEntity(isRequiredInEntity: IResolvable) { - cdkBuilder.isRequiredInEntity(isRequiredInEntity.let(IResolvable::unwrap)) + cdkBuilder.isRequiredInEntity(isRequiredInEntity.let(IResolvable.Companion::unwrap)) } /** @@ -2247,7 +2247,7 @@ public open class CfnEntity( * @param isStoredExternally Displays if the entity is tored externally. */ override fun isStoredExternally(isStoredExternally: IResolvable) { - cdkBuilder.isStoredExternally(isStoredExternally.let(IResolvable::unwrap)) + cdkBuilder.isStoredExternally(isStoredExternally.let(IResolvable.Companion::unwrap)) } /** @@ -2261,7 +2261,7 @@ public open class CfnEntity( * @param isTimeSeries Displays if the entity. */ override fun isTimeSeries(isTimeSeries: IResolvable) { - cdkBuilder.isTimeSeries(isTimeSeries.let(IResolvable::unwrap)) + cdkBuilder.isTimeSeries(isTimeSeries.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.iottwinmaker.CfnEntity.DefinitionProperty @@ -2675,14 +2675,14 @@ public open class CfnEntity( * @param value An object that contains information about a value for a time series property. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value An object that contains information about a value for a time series property. */ override fun `value`(`value`: DataValueProperty) { - cdkBuilder.`value`(`value`.let(DataValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(DataValueProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntityProps.kt index 567592ea9f..5d3f91c4ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnEntityProps.kt @@ -248,7 +248,7 @@ public interface CfnEntityProps { * API reference. */ override fun components(components: IResolvable) { - cdkBuilder.components(components.let(IResolvable::unwrap)) + cdkBuilder.components(components.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CfnEntityProps { * Each key of the map represents the `componentPath` of the `compositeComponent` . */ override fun compositeComponents(compositeComponents: IResolvable) { - cdkBuilder.compositeComponents(compositeComponents.let(IResolvable::unwrap)) + cdkBuilder.compositeComponents(compositeComponents.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnScene.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnScene.kt index a3ba7b5999..4a8721a91a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnScene.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnScene.kt @@ -50,8 +50,8 @@ public open class CfnScene( id: String, props: CfnSceneProps, ) : - this(software.amazon.awscdk.services.iottwinmaker.CfnScene(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSceneProps::unwrap)) + this(software.amazon.awscdk.services.iottwinmaker.CfnScene(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSceneProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnScene( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnScene( * The scene metadata. */ public open fun sceneMetadata(`value`: IResolvable) { - unwrap(this).setSceneMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setSceneMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public open class CfnScene( * @param sceneMetadata The scene metadata. */ override fun sceneMetadata(sceneMetadata: IResolvable) { - cdkBuilder.sceneMetadata(sceneMetadata.let(IResolvable::unwrap)) + cdkBuilder.sceneMetadata(sceneMetadata.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSceneProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSceneProps.kt index 55185ab0dd..bdc2dddcec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSceneProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSceneProps.kt @@ -182,7 +182,7 @@ public interface CfnSceneProps { * @param sceneMetadata The scene metadata. */ override fun sceneMetadata(sceneMetadata: IResolvable) { - cdkBuilder.sceneMetadata(sceneMetadata.let(IResolvable::unwrap)) + cdkBuilder.sceneMetadata(sceneMetadata.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSyncJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSyncJob.kt index 9cdb6874a3..6a4c737328 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSyncJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnSyncJob.kt @@ -43,8 +43,8 @@ public open class CfnSyncJob( id: String, props: CfnSyncJobProps, ) : - this(software.amazon.awscdk.services.iottwinmaker.CfnSyncJob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSyncJobProps::unwrap)) + this(software.amazon.awscdk.services.iottwinmaker.CfnSyncJob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSyncJobProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnSyncJob( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnWorkspace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnWorkspace.kt index 63d0d33348..365f9bd8fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnWorkspace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iottwinmaker/CfnWorkspace.kt @@ -44,8 +44,8 @@ public open class CfnWorkspace( id: String, props: CfnWorkspaceProps, ) : - this(software.amazon.awscdk.services.iottwinmaker.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkspaceProps::unwrap)) + this(software.amazon.awscdk.services.iottwinmaker.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkspaceProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnWorkspace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestination.kt index 18c8fb3855..081b5e56e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestination.kt @@ -48,8 +48,8 @@ public open class CfnDestination( id: String, props: CfnDestinationProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDestinationProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDestinationProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnDestination( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnDestination( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestinationProps.kt index 771be674b4..b9baeab6a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDestinationProps.kt @@ -171,7 +171,7 @@ public interface CfnDestinationProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfile.kt index 56e9346502..f7bf0a47eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfile.kt @@ -67,7 +67,7 @@ public open class CfnDeviceProfile( cdkObject: software.amazon.awscdk.services.iotwireless.CfnDeviceProfile, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iotwireless.CfnDeviceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iotwireless.CfnDeviceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -76,8 +76,8 @@ public open class CfnDeviceProfile( id: String, props: CfnDeviceProfileProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnDeviceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceProfileProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnDeviceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceProfileProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnDeviceProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,14 +115,14 @@ public open class CfnDeviceProfile( * LoRaWAN device profile object. */ public open fun loRaWan(`value`: IResolvable) { - unwrap(this).setLoRaWan(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWan(`value`.let(IResolvable.Companion::unwrap)) } /** * LoRaWAN device profile object. */ public open fun loRaWan(`value`: LoRaWANDeviceProfileProperty) { - unwrap(this).setLoRaWan(`value`.let(LoRaWANDeviceProfileProperty::unwrap)) + unwrap(this).setLoRaWan(`value`.let(LoRaWANDeviceProfileProperty.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnDeviceProfile( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnDeviceProfile( * @param loRaWan LoRaWAN device profile object. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnDeviceProfile( * @param loRaWan LoRaWAN device profile object. */ override fun loRaWan(loRaWan: LoRaWANDeviceProfileProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANDeviceProfileProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANDeviceProfileProperty.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnDeviceProfile( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnDeviceProfile( * Valid range of values include a minimum value of 1000000 and a maximum value of 16700000. */ override fun factoryPresetFreqsList(factoryPresetFreqsList: IResolvable) { - cdkBuilder.factoryPresetFreqsList(factoryPresetFreqsList.let(IResolvable::unwrap)) + cdkBuilder.factoryPresetFreqsList(factoryPresetFreqsList.let(IResolvable.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public open class CfnDeviceProfile( * @param supports32BitFCnt The Supports32BitFCnt value. */ override fun supports32BitFCnt(supports32BitFCnt: IResolvable) { - cdkBuilder.supports32BitFCnt(supports32BitFCnt.let(IResolvable::unwrap)) + cdkBuilder.supports32BitFCnt(supports32BitFCnt.let(IResolvable.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class CfnDeviceProfile( * @param supportsClassB The SupportsClassB value. */ override fun supportsClassB(supportsClassB: IResolvable) { - cdkBuilder.supportsClassB(supportsClassB.let(IResolvable::unwrap)) + cdkBuilder.supportsClassB(supportsClassB.let(IResolvable.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public open class CfnDeviceProfile( * @param supportsClassC The SupportsClassC value. */ override fun supportsClassC(supportsClassC: IResolvable) { - cdkBuilder.supportsClassC(supportsClassC.let(IResolvable::unwrap)) + cdkBuilder.supportsClassC(supportsClassC.let(IResolvable.Companion::unwrap)) } /** @@ -810,7 +810,7 @@ public open class CfnDeviceProfile( * @param supportsJoin The SupportsJoin value. */ override fun supportsJoin(supportsJoin: IResolvable) { - cdkBuilder.supportsJoin(supportsJoin.let(IResolvable::unwrap)) + cdkBuilder.supportsJoin(supportsJoin.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfileProps.kt index 1a41636230..9d419476ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnDeviceProfileProps.kt @@ -127,14 +127,14 @@ public interface CfnDeviceProfileProps { * @param loRaWan LoRaWAN device profile object. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** * @param loRaWan LoRaWAN device profile object. */ override fun loRaWan(loRaWan: CfnDeviceProfile.LoRaWANDeviceProfileProperty) { - cdkBuilder.loRaWan(loRaWan.let(CfnDeviceProfile.LoRaWANDeviceProfileProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(CfnDeviceProfile.LoRaWANDeviceProfileProperty.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface CfnDeviceProfileProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTask.kt index 88f5badc2a..13a0e35ca3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTask.kt @@ -61,8 +61,8 @@ public open class CfnFuotaTask( id: String, props: CfnFuotaTaskProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnFuotaTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFuotaTaskProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnFuotaTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFuotaTaskProps.Companion::unwrap)) ) public constructor( @@ -184,7 +184,7 @@ public open class CfnFuotaTask( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -196,14 +196,14 @@ public open class CfnFuotaTask( * The LoRaWAN information used with a FUOTA task. */ public open fun loRaWan(`value`: IResolvable) { - unwrap(this).setLoRaWan(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWan(`value`.let(IResolvable.Companion::unwrap)) } /** * The LoRaWAN information used with a FUOTA task. */ public open fun loRaWan(`value`: LoRaWANProperty) { - unwrap(this).setLoRaWan(`value`.let(LoRaWANProperty::unwrap)) + unwrap(this).setLoRaWan(`value`.let(LoRaWANProperty.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnFuotaTask( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnFuotaTask( * @param loRaWan The LoRaWAN information used with a FUOTA task. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnFuotaTask( * @param loRaWan The LoRaWAN information used with a FUOTA task. */ override fun loRaWan(loRaWan: LoRaWANProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANProperty.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnFuotaTask( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTaskProps.kt index 31f048a633..f13839da58 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnFuotaTaskProps.kt @@ -259,14 +259,14 @@ public interface CfnFuotaTaskProps { * @param loRaWan The LoRaWAN information used with a FUOTA task. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** * @param loRaWan The LoRaWAN information used with a FUOTA task. */ override fun loRaWan(loRaWan: CfnFuotaTask.LoRaWANProperty) { - cdkBuilder.loRaWan(loRaWan.let(CfnFuotaTask.LoRaWANProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(CfnFuotaTask.LoRaWANProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnFuotaTaskProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroup.kt index 3c92ee52a7..30de0c9601 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroup.kt @@ -61,8 +61,8 @@ public open class CfnMulticastGroup( id: String, props: CfnMulticastGroupProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnMulticastGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMulticastGroupProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnMulticastGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMulticastGroupProps.Companion::unwrap)) ) public constructor( @@ -142,7 +142,7 @@ public open class CfnMulticastGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -154,14 +154,14 @@ public open class CfnMulticastGroup( * The LoRaWAN information that is to be used with the multicast group. */ public open fun loRaWan(`value`: IResolvable) { - unwrap(this).setLoRaWan(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWan(`value`.let(IResolvable.Companion::unwrap)) } /** * The LoRaWAN information that is to be used with the multicast group. */ public open fun loRaWan(`value`: LoRaWANProperty) { - unwrap(this).setLoRaWan(`value`.let(LoRaWANProperty::unwrap)) + unwrap(this).setLoRaWan(`value`.let(LoRaWANProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnMulticastGroup( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnMulticastGroup( * @param loRaWan The LoRaWAN information that is to be used with the multicast group. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnMulticastGroup( * @param loRaWan The LoRaWAN information that is to be used with the multicast group. */ override fun loRaWan(loRaWan: LoRaWANProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANProperty.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CfnMulticastGroup( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroupProps.kt index f3e8a4ce8f..1c71587c01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnMulticastGroupProps.kt @@ -178,14 +178,14 @@ public interface CfnMulticastGroupProps { * @param loRaWan The LoRaWAN information that is to be used with the multicast group. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** * @param loRaWan The LoRaWAN information that is to be used with the multicast group. */ override fun loRaWan(loRaWan: CfnMulticastGroup.LoRaWANProperty) { - cdkBuilder.loRaWan(loRaWan.let(CfnMulticastGroup.LoRaWANProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(CfnMulticastGroup.LoRaWANProperty.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnMulticastGroupProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfiguration.kt index 1c30101293..9cf20a3e63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfiguration.kt @@ -53,8 +53,8 @@ public open class CfnNetworkAnalyzerConfiguration( id: String, props: CfnNetworkAnalyzerConfigurationProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnNetworkAnalyzerConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkAnalyzerConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnNetworkAnalyzerConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkAnalyzerConfigurationProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnNetworkAnalyzerConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnNetworkAnalyzerConfiguration( * The tags to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnNetworkAnalyzerConfiguration( * @param tags The tags to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfigurationProps.kt index b6dccfb843..3ef0fd19b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnNetworkAnalyzerConfigurationProps.kt @@ -172,7 +172,7 @@ public interface CfnNetworkAnalyzerConfigurationProps { * Tags are metadata that you can use to manage a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccount.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccount.kt index b61e8b5952..dbfc5fb367 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccount.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccount.kt @@ -61,7 +61,7 @@ public open class CfnPartnerAccount( cdkObject: software.amazon.awscdk.services.iotwireless.CfnPartnerAccount, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iotwireless.CfnPartnerAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iotwireless.CfnPartnerAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class CfnPartnerAccount( id: String, props: CfnPartnerAccountProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnPartnerAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPartnerAccountProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnPartnerAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPartnerAccountProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnPartnerAccount( * Whether the partner account is linked to the AWS account. */ public open fun accountLinked(`value`: IResolvable) { - unwrap(this).setAccountLinked(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccountLinked(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnPartnerAccount( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,14 +152,14 @@ public open class CfnPartnerAccount( * The Sidewalk account credentials. */ public open fun sidewalk(`value`: IResolvable) { - unwrap(this).setSidewalk(`value`.let(IResolvable::unwrap)) + unwrap(this).setSidewalk(`value`.let(IResolvable.Companion::unwrap)) } /** * The Sidewalk account credentials. */ public open fun sidewalk(`value`: SidewalkAccountInfoProperty) { - unwrap(this).setSidewalk(`value`.let(SidewalkAccountInfoProperty::unwrap)) + unwrap(this).setSidewalk(`value`.let(SidewalkAccountInfoProperty.Companion::unwrap)) } /** @@ -179,14 +179,14 @@ public open class CfnPartnerAccount( * Information about a Sidewalk account. */ public open fun sidewalkResponse(`value`: IResolvable) { - unwrap(this).setSidewalkResponse(`value`.let(IResolvable::unwrap)) + unwrap(this).setSidewalkResponse(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about a Sidewalk account. */ public open fun sidewalkResponse(`value`: SidewalkAccountInfoWithFingerprintProperty) { - unwrap(this).setSidewalkResponse(`value`.let(SidewalkAccountInfoWithFingerprintProperty::unwrap)) + unwrap(this).setSidewalkResponse(`value`.let(SidewalkAccountInfoWithFingerprintProperty.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnPartnerAccount( * Sidewalk update. */ public open fun sidewalkUpdate(`value`: IResolvable) { - unwrap(this).setSidewalkUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setSidewalkUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** * Sidewalk update. */ public open fun sidewalkUpdate(`value`: SidewalkUpdateAccountProperty) { - unwrap(this).setSidewalkUpdate(`value`.let(SidewalkUpdateAccountProperty::unwrap)) + unwrap(this).setSidewalkUpdate(`value`.let(SidewalkUpdateAccountProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnPartnerAccount( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnPartnerAccount( * @param accountLinked Whether the partner account is linked to the AWS account. */ override fun accountLinked(accountLinked: IResolvable) { - cdkBuilder.accountLinked(accountLinked.let(IResolvable::unwrap)) + cdkBuilder.accountLinked(accountLinked.let(IResolvable.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnPartnerAccount( * @param sidewalk The Sidewalk account credentials. */ override fun sidewalk(sidewalk: IResolvable) { - cdkBuilder.sidewalk(sidewalk.let(IResolvable::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnPartnerAccount( * @param sidewalk The Sidewalk account credentials. */ override fun sidewalk(sidewalk: SidewalkAccountInfoProperty) { - cdkBuilder.sidewalk(sidewalk.let(SidewalkAccountInfoProperty::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(SidewalkAccountInfoProperty.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class CfnPartnerAccount( * @param sidewalkResponse Information about a Sidewalk account. */ override fun sidewalkResponse(sidewalkResponse: IResolvable) { - cdkBuilder.sidewalkResponse(sidewalkResponse.let(IResolvable::unwrap)) + cdkBuilder.sidewalkResponse(sidewalkResponse.let(IResolvable.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnPartnerAccount( * @param sidewalkResponse Information about a Sidewalk account. */ override fun sidewalkResponse(sidewalkResponse: SidewalkAccountInfoWithFingerprintProperty) { - cdkBuilder.sidewalkResponse(sidewalkResponse.let(SidewalkAccountInfoWithFingerprintProperty::unwrap)) + cdkBuilder.sidewalkResponse(sidewalkResponse.let(SidewalkAccountInfoWithFingerprintProperty.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnPartnerAccount( * @param sidewalkUpdate Sidewalk update. */ override fun sidewalkUpdate(sidewalkUpdate: IResolvable) { - cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(IResolvable::unwrap)) + cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnPartnerAccount( * @param sidewalkUpdate Sidewalk update. */ override fun sidewalkUpdate(sidewalkUpdate: SidewalkUpdateAccountProperty) { - cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(SidewalkUpdateAccountProperty::unwrap)) + cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(SidewalkUpdateAccountProperty.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public open class CfnPartnerAccount( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccountProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccountProps.kt index 1110357ed7..913a7ec826 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccountProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnPartnerAccountProps.kt @@ -207,7 +207,7 @@ public interface CfnPartnerAccountProps { * @param accountLinked Whether the partner account is linked to the AWS account. */ override fun accountLinked(accountLinked: IResolvable) { - cdkBuilder.accountLinked(accountLinked.let(IResolvable::unwrap)) + cdkBuilder.accountLinked(accountLinked.let(IResolvable.Companion::unwrap)) } /** @@ -228,14 +228,14 @@ public interface CfnPartnerAccountProps { * @param sidewalk The Sidewalk account credentials. */ override fun sidewalk(sidewalk: IResolvable) { - cdkBuilder.sidewalk(sidewalk.let(IResolvable::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(IResolvable.Companion::unwrap)) } /** * @param sidewalk The Sidewalk account credentials. */ override fun sidewalk(sidewalk: CfnPartnerAccount.SidewalkAccountInfoProperty) { - cdkBuilder.sidewalk(sidewalk.let(CfnPartnerAccount.SidewalkAccountInfoProperty::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(CfnPartnerAccount.SidewalkAccountInfoProperty.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface CfnPartnerAccountProps { * @param sidewalkResponse Information about a Sidewalk account. */ override fun sidewalkResponse(sidewalkResponse: IResolvable) { - cdkBuilder.sidewalkResponse(sidewalkResponse.let(IResolvable::unwrap)) + cdkBuilder.sidewalkResponse(sidewalkResponse.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface CfnPartnerAccountProps { */ override fun sidewalkResponse(sidewalkResponse: CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty) { - cdkBuilder.sidewalkResponse(sidewalkResponse.let(CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty::unwrap)) + cdkBuilder.sidewalkResponse(sidewalkResponse.let(CfnPartnerAccount.SidewalkAccountInfoWithFingerprintProperty.Companion::unwrap)) } /** @@ -276,14 +276,14 @@ public interface CfnPartnerAccountProps { * @param sidewalkUpdate Sidewalk update. */ override fun sidewalkUpdate(sidewalkUpdate: IResolvable) { - cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(IResolvable::unwrap)) + cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(IResolvable.Companion::unwrap)) } /** * @param sidewalkUpdate Sidewalk update. */ override fun sidewalkUpdate(sidewalkUpdate: CfnPartnerAccount.SidewalkUpdateAccountProperty) { - cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(CfnPartnerAccount.SidewalkUpdateAccountProperty::unwrap)) + cdkBuilder.sidewalkUpdate(sidewalkUpdate.let(CfnPartnerAccount.SidewalkUpdateAccountProperty.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface CfnPartnerAccountProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfile.kt index 925be260ea..a915c98df6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfile.kt @@ -68,7 +68,7 @@ public open class CfnServiceProfile( cdkObject: software.amazon.awscdk.services.iotwireless.CfnServiceProfile, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.iotwireless.CfnServiceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.iotwireless.CfnServiceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -77,8 +77,8 @@ public open class CfnServiceProfile( id: String, props: CfnServiceProfileProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnServiceProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceProfileProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnServiceProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceProfileProps.Companion::unwrap)) ) public constructor( @@ -195,7 +195,7 @@ public open class CfnServiceProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnServiceProfile( * LoRaWAN service profile object. */ public open fun loRaWan(`value`: IResolvable) { - unwrap(this).setLoRaWan(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWan(`value`.let(IResolvable.Companion::unwrap)) } /** * LoRaWAN service profile object. */ public open fun loRaWan(`value`: LoRaWANServiceProfileProperty) { - unwrap(this).setLoRaWan(`value`.let(LoRaWANServiceProfileProperty::unwrap)) + unwrap(this).setLoRaWan(`value`.let(LoRaWANServiceProfileProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnServiceProfile( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnServiceProfile( * @param loRaWan LoRaWAN service profile object. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public open class CfnServiceProfile( * @param loRaWan LoRaWAN service profile object. */ override fun loRaWan(loRaWan: LoRaWANServiceProfileProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANServiceProfileProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANServiceProfileProperty.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnServiceProfile( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class CfnServiceProfile( * @param addGwMetadata The AddGWMetaData value. */ override fun addGwMetadata(addGwMetadata: IResolvable) { - cdkBuilder.addGwMetadata(addGwMetadata.let(IResolvable::unwrap)) + cdkBuilder.addGwMetadata(addGwMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -896,7 +896,7 @@ public open class CfnServiceProfile( * `Fn::GetAtt` */ override fun hrAllowed(hrAllowed: IResolvable) { - cdkBuilder.hrAllowed(hrAllowed.let(IResolvable::unwrap)) + cdkBuilder.hrAllowed(hrAllowed.let(IResolvable.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public open class CfnServiceProfile( * `Fn::GetAtt` */ override fun nwkGeoLoc(nwkGeoLoc: IResolvable) { - cdkBuilder.nwkGeoLoc(nwkGeoLoc.let(IResolvable::unwrap)) + cdkBuilder.nwkGeoLoc(nwkGeoLoc.let(IResolvable.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnServiceProfile( * `Fn::GetAtt` */ override fun prAllowed(prAllowed: IResolvable) { - cdkBuilder.prAllowed(prAllowed.let(IResolvable::unwrap)) + cdkBuilder.prAllowed(prAllowed.let(IResolvable.Companion::unwrap)) } /** @@ -955,7 +955,7 @@ public open class CfnServiceProfile( * @param raAllowed The RAAllowed value that describes whether roaming activation is allowed. */ override fun raAllowed(raAllowed: IResolvable) { - cdkBuilder.raAllowed(raAllowed.let(IResolvable::unwrap)) + cdkBuilder.raAllowed(raAllowed.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnServiceProfile( * `Fn::GetAtt` */ override fun reportDevStatusBattery(reportDevStatusBattery: IResolvable) { - cdkBuilder.reportDevStatusBattery(reportDevStatusBattery.let(IResolvable::unwrap)) + cdkBuilder.reportDevStatusBattery(reportDevStatusBattery.let(IResolvable.Companion::unwrap)) } /** @@ -991,7 +991,7 @@ public open class CfnServiceProfile( * `Fn::GetAtt` */ override fun reportDevStatusMargin(reportDevStatusMargin: IResolvable) { - cdkBuilder.reportDevStatusMargin(reportDevStatusMargin.let(IResolvable::unwrap)) + cdkBuilder.reportDevStatusMargin(reportDevStatusMargin.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfileProps.kt index 83401263e8..e1b4822963 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnServiceProfileProps.kt @@ -127,14 +127,14 @@ public interface CfnServiceProfileProps { * @param loRaWan LoRaWAN service profile object. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** * @param loRaWan LoRaWAN service profile object. */ override fun loRaWan(loRaWan: CfnServiceProfile.LoRaWANServiceProfileProperty) { - cdkBuilder.loRaWan(loRaWan.let(CfnServiceProfile.LoRaWANServiceProfileProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(CfnServiceProfile.LoRaWANServiceProfileProperty.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface CfnServiceProfileProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinition.kt index a8ce4cd44b..8acc5e42fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinition.kt @@ -84,8 +84,8 @@ public open class CfnTaskDefinition( id: String, props: CfnTaskDefinitionProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnTaskDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTaskDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnTaskDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTaskDefinitionProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnTaskDefinition( * specified current version. */ public open fun autoCreateTasks(`value`: IResolvable) { - unwrap(this).setAutoCreateTasks(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoCreateTasks(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnTaskDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,14 +146,14 @@ public open class CfnTaskDefinition( * LoRaWANUpdateGatewayTaskEntry object. */ public open fun loRaWanUpdateGatewayTaskEntry(`value`: IResolvable) { - unwrap(this).setLoRaWanUpdateGatewayTaskEntry(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWanUpdateGatewayTaskEntry(`value`.let(IResolvable.Companion::unwrap)) } /** * LoRaWANUpdateGatewayTaskEntry object. */ public open fun loRaWanUpdateGatewayTaskEntry(`value`: LoRaWANUpdateGatewayTaskEntryProperty) { - unwrap(this).setLoRaWanUpdateGatewayTaskEntry(`value`.let(LoRaWANUpdateGatewayTaskEntryProperty::unwrap)) + unwrap(this).setLoRaWanUpdateGatewayTaskEntry(`value`.let(LoRaWANUpdateGatewayTaskEntryProperty.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnTaskDefinition( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnTaskDefinition( * Information about the gateways to update. */ public open fun update(`value`: IResolvable) { - unwrap(this).setUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the gateways to update. */ public open fun update(`value`: UpdateWirelessGatewayTaskCreateProperty) { - unwrap(this).setUpdate(`value`.let(UpdateWirelessGatewayTaskCreateProperty::unwrap)) + unwrap(this).setUpdate(`value`.let(UpdateWirelessGatewayTaskCreateProperty.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class CfnTaskDefinition( * all gateways with the specified current version. */ override fun autoCreateTasks(autoCreateTasks: IResolvable) { - cdkBuilder.autoCreateTasks(autoCreateTasks.let(IResolvable::unwrap)) + cdkBuilder.autoCreateTasks(autoCreateTasks.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CfnTaskDefinition( * @param loRaWanUpdateGatewayTaskEntry LoRaWANUpdateGatewayTaskEntry object. */ override fun loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry: IResolvable) { - cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(IResolvable::unwrap)) + cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(IResolvable.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class CfnTaskDefinition( */ override fun loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry: LoRaWANUpdateGatewayTaskEntryProperty) { - cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(LoRaWANUpdateGatewayTaskEntryProperty::unwrap)) + cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(LoRaWANUpdateGatewayTaskEntryProperty.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnTaskDefinition( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnTaskDefinition( * @param update Information about the gateways to update. */ override fun update(update: IResolvable) { - cdkBuilder.update(update.let(IResolvable::unwrap)) + cdkBuilder.update(update.let(IResolvable.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public open class CfnTaskDefinition( * @param update Information about the gateways to update. */ override fun update(update: UpdateWirelessGatewayTaskCreateProperty) { - cdkBuilder.update(update.let(UpdateWirelessGatewayTaskCreateProperty::unwrap)) + cdkBuilder.update(update.let(UpdateWirelessGatewayTaskCreateProperty.Companion::unwrap)) } /** @@ -784,14 +784,14 @@ public open class CfnTaskDefinition( * @param currentVersion The version of the gateways that should receive the update. */ override fun currentVersion(currentVersion: IResolvable) { - cdkBuilder.currentVersion(currentVersion.let(IResolvable::unwrap)) + cdkBuilder.currentVersion(currentVersion.let(IResolvable.Companion::unwrap)) } /** * @param currentVersion The version of the gateways that should receive the update. */ override fun currentVersion(currentVersion: LoRaWANGatewayVersionProperty) { - cdkBuilder.currentVersion(currentVersion.let(LoRaWANGatewayVersionProperty::unwrap)) + cdkBuilder.currentVersion(currentVersion.let(LoRaWANGatewayVersionProperty.Companion::unwrap)) } /** @@ -820,14 +820,14 @@ public open class CfnTaskDefinition( * @param updateVersion The firmware version to update the gateway to. */ override fun updateVersion(updateVersion: IResolvable) { - cdkBuilder.updateVersion(updateVersion.let(IResolvable::unwrap)) + cdkBuilder.updateVersion(updateVersion.let(IResolvable.Companion::unwrap)) } /** * @param updateVersion The firmware version to update the gateway to. */ override fun updateVersion(updateVersion: LoRaWANGatewayVersionProperty) { - cdkBuilder.updateVersion(updateVersion.let(LoRaWANGatewayVersionProperty::unwrap)) + cdkBuilder.updateVersion(updateVersion.let(LoRaWANGatewayVersionProperty.Companion::unwrap)) } /** @@ -985,14 +985,14 @@ public open class CfnTaskDefinition( * @param currentVersion The version of the gateways that should receive the update. */ override fun currentVersion(currentVersion: IResolvable) { - cdkBuilder.currentVersion(currentVersion.let(IResolvable::unwrap)) + cdkBuilder.currentVersion(currentVersion.let(IResolvable.Companion::unwrap)) } /** * @param currentVersion The version of the gateways that should receive the update. */ override fun currentVersion(currentVersion: LoRaWANGatewayVersionProperty) { - cdkBuilder.currentVersion(currentVersion.let(LoRaWANGatewayVersionProperty::unwrap)) + cdkBuilder.currentVersion(currentVersion.let(LoRaWANGatewayVersionProperty.Companion::unwrap)) } /** @@ -1007,14 +1007,14 @@ public open class CfnTaskDefinition( * @param updateVersion The firmware version to update the gateway to. */ override fun updateVersion(updateVersion: IResolvable) { - cdkBuilder.updateVersion(updateVersion.let(IResolvable::unwrap)) + cdkBuilder.updateVersion(updateVersion.let(IResolvable.Companion::unwrap)) } /** * @param updateVersion The firmware version to update the gateway to. */ override fun updateVersion(updateVersion: LoRaWANGatewayVersionProperty) { - cdkBuilder.updateVersion(updateVersion.let(LoRaWANGatewayVersionProperty::unwrap)) + cdkBuilder.updateVersion(updateVersion.let(LoRaWANGatewayVersionProperty.Companion::unwrap)) } /** @@ -1164,14 +1164,14 @@ public open class CfnTaskDefinition( * @param loRaWan The properties that relate to the LoRaWAN wireless gateway. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** * @param loRaWan The properties that relate to the LoRaWAN wireless gateway. */ override fun loRaWan(loRaWan: LoRaWANUpdateGatewayTaskCreateProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANUpdateGatewayTaskCreateProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANUpdateGatewayTaskCreateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinitionProps.kt index 365707a6c8..ab287e6c75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnTaskDefinitionProps.kt @@ -215,14 +215,14 @@ public interface CfnTaskDefinitionProps { * If `false` , the task must be created by calling `CreateWirelessGatewayTask` . */ override fun autoCreateTasks(autoCreateTasks: IResolvable) { - cdkBuilder.autoCreateTasks(autoCreateTasks.let(IResolvable::unwrap)) + cdkBuilder.autoCreateTasks(autoCreateTasks.let(IResolvable.Companion::unwrap)) } /** * @param loRaWanUpdateGatewayTaskEntry LoRaWANUpdateGatewayTaskEntry object. */ override fun loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry: IResolvable) { - cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(IResolvable::unwrap)) + cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface CfnTaskDefinitionProps { */ override fun loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry: CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty) { - cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty::unwrap)) + cdkBuilder.loRaWanUpdateGatewayTaskEntry(loRaWanUpdateGatewayTaskEntry.let(CfnTaskDefinition.LoRaWANUpdateGatewayTaskEntryProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface CfnTaskDefinitionProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -276,14 +276,14 @@ public interface CfnTaskDefinitionProps { * @param update Information about the gateways to update. */ override fun update(update: IResolvable) { - cdkBuilder.update(update.let(IResolvable::unwrap)) + cdkBuilder.update(update.let(IResolvable.Companion::unwrap)) } /** * @param update Information about the gateways to update. */ override fun update(update: CfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty) { - cdkBuilder.update(update.let(CfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty::unwrap)) + cdkBuilder.update(update.let(CfnTaskDefinition.UpdateWirelessGatewayTaskCreateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDevice.kt index 975611b909..ebfd6e2318 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDevice.kt @@ -86,8 +86,8 @@ public open class CfnWirelessDevice( id: String, props: CfnWirelessDeviceProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnWirelessDevice(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWirelessDeviceProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnWirelessDevice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWirelessDeviceProps.Companion::unwrap)) ) public constructor( @@ -144,7 +144,7 @@ public open class CfnWirelessDevice( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnWirelessDevice( * The device configuration information to use to create the wireless device. */ public open fun loRaWan(`value`: IResolvable) { - unwrap(this).setLoRaWan(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWan(`value`.let(IResolvable.Companion::unwrap)) } /** * The device configuration information to use to create the wireless device. */ public open fun loRaWan(`value`: LoRaWANDeviceProperty) { - unwrap(this).setLoRaWan(`value`.let(LoRaWANDeviceProperty::unwrap)) + unwrap(this).setLoRaWan(`value`.let(LoRaWANDeviceProperty.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnWirelessDevice( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnWirelessDevice( * @param loRaWan The device configuration information to use to create the wireless device. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnWirelessDevice( * @param loRaWan The device configuration information to use to create the wireless device. */ override fun loRaWan(loRaWan: LoRaWANDeviceProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANDeviceProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANDeviceProperty.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnWirelessDevice( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -623,14 +623,14 @@ public open class CfnWirelessDevice( * @param sessionKeys Session keys for ABP v1.0.x. */ override fun sessionKeys(sessionKeys: IResolvable) { - cdkBuilder.sessionKeys(sessionKeys.let(IResolvable::unwrap)) + cdkBuilder.sessionKeys(sessionKeys.let(IResolvable.Companion::unwrap)) } /** * @param sessionKeys Session keys for ABP v1.0.x. */ override fun sessionKeys(sessionKeys: SessionKeysAbpV10xProperty) { - cdkBuilder.sessionKeys(sessionKeys.let(SessionKeysAbpV10xProperty::unwrap)) + cdkBuilder.sessionKeys(sessionKeys.let(SessionKeysAbpV10xProperty.Companion::unwrap)) } /** @@ -763,14 +763,14 @@ public open class CfnWirelessDevice( * @param sessionKeys Session keys for ABP v1.1. */ override fun sessionKeys(sessionKeys: IResolvable) { - cdkBuilder.sessionKeys(sessionKeys.let(IResolvable::unwrap)) + cdkBuilder.sessionKeys(sessionKeys.let(IResolvable.Companion::unwrap)) } /** * @param sessionKeys Session keys for ABP v1.1. */ override fun sessionKeys(sessionKeys: SessionKeysAbpV11Property) { - cdkBuilder.sessionKeys(sessionKeys.let(SessionKeysAbpV11Property::unwrap)) + cdkBuilder.sessionKeys(sessionKeys.let(SessionKeysAbpV11Property.Companion::unwrap)) } /** @@ -1014,14 +1014,14 @@ public open class CfnWirelessDevice( * @param abpV10X ABP device object for LoRaWAN specification v1.0.x. */ override fun abpV10X(abpV10X: IResolvable) { - cdkBuilder.abpV10X(abpV10X.let(IResolvable::unwrap)) + cdkBuilder.abpV10X(abpV10X.let(IResolvable.Companion::unwrap)) } /** * @param abpV10X ABP device object for LoRaWAN specification v1.0.x. */ override fun abpV10X(abpV10X: AbpV10xProperty) { - cdkBuilder.abpV10X(abpV10X.let(AbpV10xProperty::unwrap)) + cdkBuilder.abpV10X(abpV10X.let(AbpV10xProperty.Companion::unwrap)) } /** @@ -1036,14 +1036,14 @@ public open class CfnWirelessDevice( * @param abpV11 ABP device object for create APIs for v1.1. */ override fun abpV11(abpV11: IResolvable) { - cdkBuilder.abpV11(abpV11.let(IResolvable::unwrap)) + cdkBuilder.abpV11(abpV11.let(IResolvable.Companion::unwrap)) } /** * @param abpV11 ABP device object for create APIs for v1.1. */ override fun abpV11(abpV11: AbpV11Property) { - cdkBuilder.abpV11(abpV11.let(AbpV11Property::unwrap)) + cdkBuilder.abpV11(abpV11.let(AbpV11Property.Companion::unwrap)) } /** @@ -1072,14 +1072,14 @@ public open class CfnWirelessDevice( * @param otaaV10X OTAA device object for create APIs for v1.0.x. */ override fun otaaV10X(otaaV10X: IResolvable) { - cdkBuilder.otaaV10X(otaaV10X.let(IResolvable::unwrap)) + cdkBuilder.otaaV10X(otaaV10X.let(IResolvable.Companion::unwrap)) } /** * @param otaaV10X OTAA device object for create APIs for v1.0.x. */ override fun otaaV10X(otaaV10X: OtaaV10xProperty) { - cdkBuilder.otaaV10X(otaaV10X.let(OtaaV10xProperty::unwrap)) + cdkBuilder.otaaV10X(otaaV10X.let(OtaaV10xProperty.Companion::unwrap)) } /** @@ -1094,14 +1094,14 @@ public open class CfnWirelessDevice( * @param otaaV11 OTAA device object for v1.1 for create APIs. */ override fun otaaV11(otaaV11: IResolvable) { - cdkBuilder.otaaV11(otaaV11.let(IResolvable::unwrap)) + cdkBuilder.otaaV11(otaaV11.let(IResolvable.Companion::unwrap)) } /** * @param otaaV11 OTAA device object for v1.1 for create APIs. */ override fun otaaV11(otaaV11: OtaaV11Property) { - cdkBuilder.otaaV11(otaaV11.let(OtaaV11Property::unwrap)) + cdkBuilder.otaaV11(otaaV11.let(OtaaV11Property.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTask.kt index 12b63d1074..e915bc28bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTask.kt @@ -61,8 +61,8 @@ public open class CfnWirelessDeviceImportTask( id: String, props: CfnWirelessDeviceImportTaskProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnWirelessDeviceImportTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWirelessDeviceImportTaskProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnWirelessDeviceImportTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWirelessDeviceImportTaskProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class CfnWirelessDeviceImportTask( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,14 +165,14 @@ public open class CfnWirelessDeviceImportTask( * The Sidewalk-related information of the wireless device import task. */ public open fun sidewalk(`value`: IResolvable) { - unwrap(this).setSidewalk(`value`.let(IResolvable::unwrap)) + unwrap(this).setSidewalk(`value`.let(IResolvable.Companion::unwrap)) } /** * The Sidewalk-related information of the wireless device import task. */ public open fun sidewalk(`value`: SidewalkProperty) { - unwrap(this).setSidewalk(`value`.let(SidewalkProperty::unwrap)) + unwrap(this).setSidewalk(`value`.let(SidewalkProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnWirelessDeviceImportTask( * Adds to or modifies the tags of the given resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnWirelessDeviceImportTask( * @param sidewalk The Sidewalk-related information of the wireless device import task. */ override fun sidewalk(sidewalk: IResolvable) { - cdkBuilder.sidewalk(sidewalk.let(IResolvable::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(IResolvable.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnWirelessDeviceImportTask( * @param sidewalk The Sidewalk-related information of the wireless device import task. */ override fun sidewalk(sidewalk: SidewalkProperty) { - cdkBuilder.sidewalk(sidewalk.let(SidewalkProperty::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(SidewalkProperty.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnWirelessDeviceImportTask( * @param tags Adds to or modifies the tags of the given resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTaskProps.kt index 985074dce7..f98985be7a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceImportTaskProps.kt @@ -124,14 +124,14 @@ public interface CfnWirelessDeviceImportTaskProps { * @param sidewalk The Sidewalk-related information of the wireless device import task. */ override fun sidewalk(sidewalk: IResolvable) { - cdkBuilder.sidewalk(sidewalk.let(IResolvable::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(IResolvable.Companion::unwrap)) } /** * @param sidewalk The Sidewalk-related information of the wireless device import task. */ override fun sidewalk(sidewalk: CfnWirelessDeviceImportTask.SidewalkProperty) { - cdkBuilder.sidewalk(sidewalk.let(CfnWirelessDeviceImportTask.SidewalkProperty::unwrap)) + cdkBuilder.sidewalk(sidewalk.let(CfnWirelessDeviceImportTask.SidewalkProperty.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface CfnWirelessDeviceImportTaskProps { * Tags are metadata that you can use to manage a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceProps.kt index 5fbd968a33..0a4b4c25d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessDeviceProps.kt @@ -254,7 +254,7 @@ public interface CfnWirelessDeviceProps { * Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnWirelessDeviceProps { * Must be at least one of OtaaV10x, OtaaV11, AbpV11, or AbpV10x. */ override fun loRaWan(loRaWan: CfnWirelessDevice.LoRaWANDeviceProperty) { - cdkBuilder.loRaWan(loRaWan.let(CfnWirelessDevice.LoRaWANDeviceProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(CfnWirelessDevice.LoRaWANDeviceProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnWirelessDeviceProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGateway.kt index 52d9370887..f959b2cefa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGateway.kt @@ -58,8 +58,8 @@ public open class CfnWirelessGateway( id: String, props: CfnWirelessGatewayProps, ) : - this(software.amazon.awscdk.services.iotwireless.CfnWirelessGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWirelessGatewayProps::unwrap)) + this(software.amazon.awscdk.services.iotwireless.CfnWirelessGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWirelessGatewayProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnWirelessGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,14 +121,14 @@ public open class CfnWirelessGateway( * The gateway configuration information to use to create the wireless gateway. */ public open fun loRaWan(`value`: IResolvable) { - unwrap(this).setLoRaWan(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoRaWan(`value`.let(IResolvable.Companion::unwrap)) } /** * The gateway configuration information to use to create the wireless gateway. */ public open fun loRaWan(`value`: LoRaWANGatewayProperty) { - unwrap(this).setLoRaWan(`value`.let(LoRaWANGatewayProperty::unwrap)) + unwrap(this).setLoRaWan(`value`.let(LoRaWANGatewayProperty.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnWirelessGateway( * The tags are an array of key-value pairs to attach to the specified resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnWirelessGateway( * @param loRaWan The gateway configuration information to use to create the wireless gateway. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnWirelessGateway( * @param loRaWan The gateway configuration information to use to create the wireless gateway. */ override fun loRaWan(loRaWan: LoRaWANGatewayProperty) { - cdkBuilder.loRaWan(loRaWan.let(LoRaWANGatewayProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(LoRaWANGatewayProperty.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnWirelessGateway( * @param tags The tags are an array of key-value pairs to attach to the specified resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGatewayProps.kt index 3b812313d8..d8809beb38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/iotwireless/CfnWirelessGatewayProps.kt @@ -184,14 +184,14 @@ public interface CfnWirelessGatewayProps { * @param loRaWan The gateway configuration information to use to create the wireless gateway. */ override fun loRaWan(loRaWan: IResolvable) { - cdkBuilder.loRaWan(loRaWan.let(IResolvable::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(IResolvable.Companion::unwrap)) } /** * @param loRaWan The gateway configuration information to use to create the wireless gateway. */ override fun loRaWan(loRaWan: CfnWirelessGateway.LoRaWANGatewayProperty) { - cdkBuilder.loRaWan(loRaWan.let(CfnWirelessGateway.LoRaWANGatewayProperty::unwrap)) + cdkBuilder.loRaWan(loRaWan.let(CfnWirelessGateway.LoRaWANGatewayProperty.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface CfnWirelessGatewayProps { * Tags can have a minimum of 0 and a maximum of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannel.kt index dbbb72fb55..f916bdfa99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannel.kt @@ -58,7 +58,7 @@ public open class CfnChannel( cdkObject: software.amazon.awscdk.services.ivs.CfnChannel, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ivs.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ivs.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -67,8 +67,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.ivs.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnChannel( * Whether the channel is authorized. */ public open fun authorized(`value`: IResolvable) { - unwrap(this).setAuthorized(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthorized(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnChannel( * Whether the channel allows insecure RTMP ingest. */ public open fun insecureIngest(`value`: IResolvable) { - unwrap(this).setInsecureIngest(`value`.let(IResolvable::unwrap)) + unwrap(this).setInsecureIngest(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnChannel( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnChannel( * @param authorized Whether the channel is authorized. */ override fun authorized(authorized: IResolvable) { - cdkBuilder.authorized(authorized.let(IResolvable::unwrap)) + cdkBuilder.authorized(authorized.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnChannel( * @param insecureIngest Whether the channel allows insecure RTMP ingest. */ override fun insecureIngest(insecureIngest: IResolvable) { - cdkBuilder.insecureIngest(insecureIngest.let(IResolvable::unwrap)) + cdkBuilder.insecureIngest(insecureIngest.let(IResolvable.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public open class CfnChannel( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannelProps.kt index c5cbf1533f..f2ea56d0d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnChannelProps.kt @@ -309,7 +309,7 @@ public interface CfnChannelProps { * *Default* : `false` */ override fun authorized(authorized: IResolvable) { - cdkBuilder.authorized(authorized.let(IResolvable::unwrap)) + cdkBuilder.authorized(authorized.let(IResolvable.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public interface CfnChannelProps { * *Default* : `false` */ override fun insecureIngest(insecureIngest: IResolvable) { - cdkBuilder.insecureIngest(insecureIngest.let(IResolvable::unwrap)) + cdkBuilder.insecureIngest(insecureIngest.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnChannelProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfiguration.kt index 98b22eb3b6..2d1b40b40f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfiguration.kt @@ -57,7 +57,7 @@ public open class CfnEncoderConfiguration( cdkObject: software.amazon.awscdk.services.ivs.CfnEncoderConfiguration, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ivs.CfnEncoderConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ivs.CfnEncoderConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnEncoderConfiguration( id: String, props: CfnEncoderConfigurationProps, ) : - this(software.amazon.awscdk.services.ivs.CfnEncoderConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEncoderConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnEncoderConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEncoderConfigurationProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnEncoderConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnEncoderConfiguration( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -137,14 +137,14 @@ public open class CfnEncoderConfiguration( * Video configuration. */ public open fun video(`value`: IResolvable) { - unwrap(this).setVideo(`value`.let(IResolvable::unwrap)) + unwrap(this).setVideo(`value`.let(IResolvable.Companion::unwrap)) } /** * Video configuration. */ public open fun video(`value`: VideoProperty) { - unwrap(this).setVideo(`value`.let(VideoProperty::unwrap)) + unwrap(this).setVideo(`value`.let(VideoProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnEncoderConfiguration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnEncoderConfiguration( * @param video Video configuration. */ override fun video(video: IResolvable) { - cdkBuilder.video(video.let(IResolvable::unwrap)) + cdkBuilder.video(video.let(IResolvable.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnEncoderConfiguration( * @param video Video configuration. */ override fun video(video: VideoProperty) { - cdkBuilder.video(video.let(VideoProperty::unwrap)) + cdkBuilder.video(video.let(VideoProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfigurationProps.kt index 976231d658..99cc52117d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnEncoderConfigurationProps.kt @@ -141,7 +141,7 @@ public interface CfnEncoderConfigurationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface CfnEncoderConfigurationProps { * property type for more information. */ override fun video(video: IResolvable) { - cdkBuilder.video(video.let(IResolvable::unwrap)) + cdkBuilder.video(video.let(IResolvable.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CfnEncoderConfigurationProps { * property type for more information. */ override fun video(video: CfnEncoderConfiguration.VideoProperty) { - cdkBuilder.video(video.let(CfnEncoderConfiguration.VideoProperty::unwrap)) + cdkBuilder.video(video.let(CfnEncoderConfiguration.VideoProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPair.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPair.kt index 6a97814ff3..61d8b949d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPair.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPair.kt @@ -46,7 +46,7 @@ public open class CfnPlaybackKeyPair( cdkObject: software.amazon.awscdk.services.ivs.CfnPlaybackKeyPair, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ivs.CfnPlaybackKeyPair(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ivs.CfnPlaybackKeyPair(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -55,8 +55,8 @@ public open class CfnPlaybackKeyPair( id: String, props: CfnPlaybackKeyPairProps, ) : - this(software.amazon.awscdk.services.ivs.CfnPlaybackKeyPair(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlaybackKeyPairProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnPlaybackKeyPair(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlaybackKeyPairProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnPlaybackKeyPair( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnPlaybackKeyPair( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnPlaybackKeyPair( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPairProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPairProps.kt index 3fdc0bae04..17962f1f69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPairProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackKeyPairProps.kt @@ -118,7 +118,7 @@ public interface CfnPlaybackKeyPairProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicy.kt index a4ed1c8fdd..bdab0be882 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicy.kt @@ -56,8 +56,8 @@ public open class CfnPlaybackRestrictionPolicy( id: String, props: CfnPlaybackRestrictionPolicyProps, ) : - this(software.amazon.awscdk.services.ivs.CfnPlaybackRestrictionPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlaybackRestrictionPolicyProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnPlaybackRestrictionPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlaybackRestrictionPolicyProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnPlaybackRestrictionPolicy( * Whether channel playback is constrained by the origin site. */ public open fun enableStrictOriginEnforcement(`value`: IResolvable) { - unwrap(this).setEnableStrictOriginEnforcement(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableStrictOriginEnforcement(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnPlaybackRestrictionPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnPlaybackRestrictionPolicy( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnPlaybackRestrictionPolicy( * site. */ override fun enableStrictOriginEnforcement(enableStrictOriginEnforcement: IResolvable) { - cdkBuilder.enableStrictOriginEnforcement(enableStrictOriginEnforcement.let(IResolvable::unwrap)) + cdkBuilder.enableStrictOriginEnforcement(enableStrictOriginEnforcement.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnPlaybackRestrictionPolicy( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicyProps.kt index a520a08fea..97b71e1d0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnPlaybackRestrictionPolicyProps.kt @@ -205,7 +205,7 @@ public interface CfnPlaybackRestrictionPolicyProps { * site. */ override fun enableStrictOriginEnforcement(enableStrictOriginEnforcement: IResolvable) { - cdkBuilder.enableStrictOriginEnforcement(enableStrictOriginEnforcement.let(IResolvable::unwrap)) + cdkBuilder.enableStrictOriginEnforcement(enableStrictOriginEnforcement.let(IResolvable.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface CfnPlaybackRestrictionPolicyProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfiguration.kt index 269891bfbc..5081f450bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfiguration.kt @@ -72,8 +72,8 @@ public open class CfnRecordingConfiguration( id: String, props: CfnRecordingConfigurationProps, ) : - this(software.amazon.awscdk.services.ivs.CfnRecordingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRecordingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnRecordingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRecordingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -107,14 +107,14 @@ public open class CfnRecordingConfiguration( * A destination configuration describes an S3 bucket where recorded video will be stored. */ public open fun destinationConfiguration(`value`: IResolvable) { - unwrap(this).setDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A destination configuration describes an S3 bucket where recorded video will be stored. */ public open fun destinationConfiguration(`value`: DestinationConfigurationProperty) { - unwrap(this).setDestinationConfiguration(`value`.let(DestinationConfigurationProperty::unwrap)) + unwrap(this).setDestinationConfiguration(`value`.let(DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnRecordingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,14 +171,14 @@ public open class CfnRecordingConfiguration( * A rendition configuration describes which renditions should be recorded for a stream. */ public open fun renditionConfiguration(`value`: IResolvable) { - unwrap(this).setRenditionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRenditionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A rendition configuration describes which renditions should be recorded for a stream. */ public open fun renditionConfiguration(`value`: RenditionConfigurationProperty) { - unwrap(this).setRenditionConfiguration(`value`.let(RenditionConfigurationProperty::unwrap)) + unwrap(this).setRenditionConfiguration(`value`.let(RenditionConfigurationProperty.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnRecordingConfiguration( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnRecordingConfiguration( * controls the interval at which thumbnails are generated for the live session. */ public open fun thumbnailConfiguration(`value`: IResolvable) { - unwrap(this).setThumbnailConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setThumbnailConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnRecordingConfiguration( * controls the interval at which thumbnails are generated for the live session. */ public open fun thumbnailConfiguration(`value`: ThumbnailConfigurationProperty) { - unwrap(this).setThumbnailConfiguration(`value`.let(ThumbnailConfigurationProperty::unwrap)) + unwrap(this).setThumbnailConfiguration(`value`.let(ThumbnailConfigurationProperty.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class CfnRecordingConfiguration( * recorded video will be stored. */ override fun destinationConfiguration(destinationConfiguration: IResolvable) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnRecordingConfiguration( */ override fun destinationConfiguration(destinationConfiguration: DestinationConfigurationProperty) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(DestinationConfigurationProperty::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnRecordingConfiguration( * recorded for a stream. */ override fun renditionConfiguration(renditionConfiguration: IResolvable) { - cdkBuilder.renditionConfiguration(renditionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.renditionConfiguration(renditionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnRecordingConfiguration( * recorded for a stream. */ override fun renditionConfiguration(renditionConfiguration: RenditionConfigurationProperty) { - cdkBuilder.renditionConfiguration(renditionConfiguration.let(RenditionConfigurationProperty::unwrap)) + cdkBuilder.renditionConfiguration(renditionConfiguration.let(RenditionConfigurationProperty.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnRecordingConfiguration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnRecordingConfiguration( * the live session. */ override fun thumbnailConfiguration(thumbnailConfiguration: IResolvable) { - cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(IResolvable::unwrap)) + cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -586,7 +586,7 @@ public open class CfnRecordingConfiguration( * the live session. */ override fun thumbnailConfiguration(thumbnailConfiguration: ThumbnailConfigurationProperty) { - cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(ThumbnailConfigurationProperty::unwrap)) + cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(ThumbnailConfigurationProperty.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public open class CfnRecordingConfiguration( * property type for more information. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class CfnRecordingConfiguration( * property type for more information. */ override fun s3(s3: S3DestinationConfigurationProperty) { - cdkBuilder.s3(s3.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3(s3.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1110,8 +1110,6 @@ public open class CfnRecordingConfiguration( * * *Default* : 60 * - * *Valid Range* : Minumum value of 1. Maximum value of 60. - * * Default: - 60 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-thumbnailconfiguration.html#cfn-ivs-recordingconfiguration-thumbnailconfiguration-targetintervalseconds) @@ -1178,8 +1176,6 @@ public open class CfnRecordingConfiguration( * * * *Default* : 60 - * - * *Valid Range* : Minumum value of 1. Maximum value of 60. */ public fun targetIntervalSeconds(targetIntervalSeconds: Number) } @@ -1251,8 +1247,6 @@ public open class CfnRecordingConfiguration( * * * *Default* : 60 - * - * *Valid Range* : Minumum value of 1. Maximum value of 60. */ override fun targetIntervalSeconds(targetIntervalSeconds: Number) { cdkBuilder.targetIntervalSeconds(targetIntervalSeconds) @@ -1325,8 +1319,6 @@ public open class CfnRecordingConfiguration( * * *Default* : 60 * - * *Valid Range* : Minumum value of 1. Maximum value of 60. - * * Default: - 60 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-thumbnailconfiguration.html#cfn-ivs-recordingconfiguration-thumbnailconfiguration-targetintervalseconds) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfigurationProps.kt index 3514a84a53..bdaec23320 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnRecordingConfigurationProps.kt @@ -239,7 +239,7 @@ public interface CfnRecordingConfigurationProps { * See the DestinationConfiguration property type for more information. */ override fun destinationConfiguration(destinationConfiguration: IResolvable) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface CfnRecordingConfigurationProps { */ override fun destinationConfiguration(destinationConfiguration: CfnRecordingConfiguration.DestinationConfigurationProperty) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(CfnRecordingConfiguration.DestinationConfigurationProperty::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(CfnRecordingConfiguration.DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnRecordingConfigurationProps { * See the RenditionConfiguration property type for more information. */ override fun renditionConfiguration(renditionConfiguration: IResolvable) { - cdkBuilder.renditionConfiguration(renditionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.renditionConfiguration(renditionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public interface CfnRecordingConfigurationProps { */ override fun renditionConfiguration(renditionConfiguration: CfnRecordingConfiguration.RenditionConfigurationProperty) { - cdkBuilder.renditionConfiguration(renditionConfiguration.let(CfnRecordingConfiguration.RenditionConfigurationProperty::unwrap)) + cdkBuilder.renditionConfiguration(renditionConfiguration.let(CfnRecordingConfiguration.RenditionConfigurationProperty.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface CfnRecordingConfigurationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface CfnRecordingConfigurationProps { * See the ThumbnailConfiguration property type for more information. */ override fun thumbnailConfiguration(thumbnailConfiguration: IResolvable) { - cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(IResolvable::unwrap)) + cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface CfnRecordingConfigurationProps { */ override fun thumbnailConfiguration(thumbnailConfiguration: CfnRecordingConfiguration.ThumbnailConfigurationProperty) { - cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(CfnRecordingConfiguration.ThumbnailConfigurationProperty::unwrap)) + cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(CfnRecordingConfiguration.ThumbnailConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStage.kt index e1f1813053..26985eccba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStage.kt @@ -44,7 +44,7 @@ public open class CfnStage( cdkObject: software.amazon.awscdk.services.ivs.CfnStage, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ivs.CfnStage(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ivs.CfnStage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class CfnStage( id: String, props: CfnStageProps, ) : - this(software.amazon.awscdk.services.ivs.CfnStage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStageProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnStage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStageProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnStage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class CfnStage( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnStage( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStageProps.kt index 42f7a442e5..5a400940bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStageProps.kt @@ -94,7 +94,7 @@ public interface CfnStageProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfiguration.kt index 2a650d1080..42580c9bea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfiguration.kt @@ -58,8 +58,8 @@ public open class CfnStorageConfiguration( id: String, props: CfnStorageConfigurationProps, ) : - this(software.amazon.awscdk.services.ivs.CfnStorageConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStorageConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnStorageConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStorageConfigurationProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnStorageConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -112,14 +112,14 @@ public open class CfnStorageConfiguration( * An S3 storage configuration contains information about where recorded video will be stored. */ public open fun s3(`value`: IResolvable) { - unwrap(this).setS3(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3(`value`.let(IResolvable.Companion::unwrap)) } /** * An S3 storage configuration contains information about where recorded video will be stored. */ public open fun s3(`value`: S3StorageConfigurationProperty) { - unwrap(this).setS3(`value`.let(S3StorageConfigurationProperty::unwrap)) + unwrap(this).setS3(`value`.let(S3StorageConfigurationProperty.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnStorageConfiguration( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnStorageConfiguration( * stored. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnStorageConfiguration( * stored. */ override fun s3(s3: S3StorageConfigurationProperty) { - cdkBuilder.s3(s3.let(S3StorageConfigurationProperty::unwrap)) + cdkBuilder.s3(s3.let(S3StorageConfigurationProperty.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnStorageConfiguration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfigurationProps.kt index 3f9968e703..b2854b14f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStorageConfigurationProps.kt @@ -143,7 +143,7 @@ public interface CfnStorageConfigurationProps { * property type for more information. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface CfnStorageConfigurationProps { * property type for more information. */ override fun s3(s3: CfnStorageConfiguration.S3StorageConfigurationProperty) { - cdkBuilder.s3(s3.let(CfnStorageConfiguration.S3StorageConfigurationProperty::unwrap)) + cdkBuilder.s3(s3.let(CfnStorageConfiguration.S3StorageConfigurationProperty.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface CfnStorageConfigurationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKey.kt index e86c159d38..cbf24f9340 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKey.kt @@ -47,8 +47,8 @@ public open class CfnStreamKey( id: String, props: CfnStreamKeyProps, ) : - this(software.amazon.awscdk.services.ivs.CfnStreamKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamKeyProps::unwrap)) + this(software.amazon.awscdk.services.ivs.CfnStreamKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamKeyProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnStreamKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnStreamKey( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnStreamKey( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKeyProps.kt index 36dfd1665f..ec78429f3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivs/CfnStreamKeyProps.kt @@ -95,7 +95,7 @@ public interface CfnStreamKeyProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfiguration.kt index 57c235cf45..f3290c033c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfiguration.kt @@ -66,8 +66,8 @@ public open class CfnLoggingConfiguration( id: String, props: CfnLoggingConfigurationProps, ) : - this(software.amazon.awscdk.services.ivschat.CfnLoggingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoggingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.ivschat.CfnLoggingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoggingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnLoggingConfiguration( * content will be logged. */ public open fun destinationConfiguration(`value`: IResolvable) { - unwrap(this).setDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnLoggingConfiguration( * content will be logged. */ public open fun destinationConfiguration(`value`: DestinationConfigurationProperty) { - unwrap(this).setDestinationConfiguration(`value`.let(DestinationConfigurationProperty::unwrap)) + unwrap(this).setDestinationConfiguration(`value`.let(DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnLoggingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnLoggingConfiguration( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnLoggingConfiguration( * information about where chat content will be logged. */ override fun destinationConfiguration(destinationConfiguration: IResolvable) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnLoggingConfiguration( */ override fun destinationConfiguration(destinationConfiguration: DestinationConfigurationProperty) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(DestinationConfigurationProperty::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnLoggingConfiguration( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class CfnLoggingConfiguration( * activity will be logged. */ override fun cloudWatchLogs(cloudWatchLogs: IResolvable) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public open class CfnLoggingConfiguration( * activity will be logged. */ override fun cloudWatchLogs(cloudWatchLogs: CloudWatchLogsDestinationConfigurationProperty) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsDestinationConfigurationProperty::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public open class CfnLoggingConfiguration( * activity will be logged. */ override fun firehose(firehose: IResolvable) { - cdkBuilder.firehose(firehose.let(IResolvable::unwrap)) + cdkBuilder.firehose(firehose.let(IResolvable.Companion::unwrap)) } /** @@ -604,7 +604,7 @@ public open class CfnLoggingConfiguration( * activity will be logged. */ override fun firehose(firehose: FirehoseDestinationConfigurationProperty) { - cdkBuilder.firehose(firehose.let(FirehoseDestinationConfigurationProperty::unwrap)) + cdkBuilder.firehose(firehose.let(FirehoseDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -620,14 +620,14 @@ public open class CfnLoggingConfiguration( * @param s3 An Amazon S3 destination configuration where chat activity will be logged. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 An Amazon S3 destination configuration where chat activity will be logged. */ override fun s3(s3: S3DestinationConfigurationProperty) { - cdkBuilder.s3(s3.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3(s3.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfigurationProps.kt index b251e31f33..f90de21e79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnLoggingConfigurationProps.kt @@ -135,7 +135,7 @@ public interface CfnLoggingConfigurationProps { * information about where chat content will be logged. */ override fun destinationConfiguration(destinationConfiguration: IResolvable) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface CfnLoggingConfigurationProps { */ override fun destinationConfiguration(destinationConfiguration: CfnLoggingConfiguration.DestinationConfigurationProperty) { - cdkBuilder.destinationConfiguration(destinationConfiguration.let(CfnLoggingConfiguration.DestinationConfigurationProperty::unwrap)) + cdkBuilder.destinationConfiguration(destinationConfiguration.let(CfnLoggingConfiguration.DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface CfnLoggingConfigurationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoom.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoom.kt index 69ee8c47c8..b3ae22c150 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoom.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoom.kt @@ -57,7 +57,7 @@ public open class CfnRoom( cdkObject: software.amazon.awscdk.services.ivschat.CfnRoom, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ivschat.CfnRoom(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ivschat.CfnRoom(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnRoom( id: String, props: CfnRoomProps, ) : - this(software.amazon.awscdk.services.ivschat.CfnRoom(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRoomProps::unwrap)) + this(software.amazon.awscdk.services.ivschat.CfnRoom(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRoomProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnRoom( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,14 +153,14 @@ public open class CfnRoom( * Configuration information for optional review of messages. */ public open fun messageReviewHandler(`value`: IResolvable) { - unwrap(this).setMessageReviewHandler(`value`.let(IResolvable::unwrap)) + unwrap(this).setMessageReviewHandler(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration information for optional review of messages. */ public open fun messageReviewHandler(`value`: MessageReviewHandlerProperty) { - unwrap(this).setMessageReviewHandler(`value`.let(MessageReviewHandlerProperty::unwrap)) + unwrap(this).setMessageReviewHandler(`value`.let(MessageReviewHandlerProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnRoom( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnRoom( * @param messageReviewHandler Configuration information for optional review of messages. */ override fun messageReviewHandler(messageReviewHandler: IResolvable) { - cdkBuilder.messageReviewHandler(messageReviewHandler.let(IResolvable::unwrap)) + cdkBuilder.messageReviewHandler(messageReviewHandler.let(IResolvable.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnRoom( * @param messageReviewHandler Configuration information for optional review of messages. */ override fun messageReviewHandler(messageReviewHandler: MessageReviewHandlerProperty) { - cdkBuilder.messageReviewHandler(messageReviewHandler.let(MessageReviewHandlerProperty::unwrap)) + cdkBuilder.messageReviewHandler(messageReviewHandler.let(MessageReviewHandlerProperty.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnRoom( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoomProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoomProps.kt index f5d3c4734d..04c3babd6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoomProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ivschat/CfnRoomProps.kt @@ -209,14 +209,14 @@ public interface CfnRoomProps { * @param messageReviewHandler Configuration information for optional review of messages. */ override fun messageReviewHandler(messageReviewHandler: IResolvable) { - cdkBuilder.messageReviewHandler(messageReviewHandler.let(IResolvable::unwrap)) + cdkBuilder.messageReviewHandler(messageReviewHandler.let(IResolvable.Companion::unwrap)) } /** * @param messageReviewHandler Configuration information for optional review of messages. */ override fun messageReviewHandler(messageReviewHandler: CfnRoom.MessageReviewHandlerProperty) { - cdkBuilder.messageReviewHandler(messageReviewHandler.let(CfnRoom.MessageReviewHandlerProperty::unwrap)) + cdkBuilder.messageReviewHandler(messageReviewHandler.let(CfnRoom.MessageReviewHandlerProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface CfnRoomProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnector.kt index 3a516b396c..674b0b85da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnector.kt @@ -120,8 +120,8 @@ public open class CfnConnector( id: String, props: CfnConnectorProps, ) : - this(software.amazon.awscdk.services.kafkaconnect.CfnConnector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorProps::unwrap)) + this(software.amazon.awscdk.services.kafkaconnect.CfnConnector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorProps.Companion::unwrap)) ) public constructor( @@ -145,14 +145,14 @@ public open class CfnConnector( * The connector's compute capacity settings. */ public open fun capacity(`value`: IResolvable) { - unwrap(this).setCapacity(`value`.let(IResolvable::unwrap)) + unwrap(this).setCapacity(`value`.let(IResolvable.Companion::unwrap)) } /** * The connector's compute capacity settings. */ public open fun capacity(`value`: CapacityProperty) { - unwrap(this).setCapacity(`value`.let(CapacityProperty::unwrap)) + unwrap(this).setCapacity(`value`.let(CapacityProperty.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnConnector( * The configuration of the connector. */ public open fun connectorConfiguration(`value`: IResolvable) { - unwrap(this).setConnectorConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectorConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnConnector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -230,14 +230,14 @@ public open class CfnConnector( * The details of the Apache Kafka cluster to which the connector is connected. */ public open fun kafkaCluster(`value`: IResolvable) { - unwrap(this).setKafkaCluster(`value`.let(IResolvable::unwrap)) + unwrap(this).setKafkaCluster(`value`.let(IResolvable.Companion::unwrap)) } /** * The details of the Apache Kafka cluster to which the connector is connected. */ public open fun kafkaCluster(`value`: KafkaClusterProperty) { - unwrap(this).setKafkaCluster(`value`.let(KafkaClusterProperty::unwrap)) + unwrap(this).setKafkaCluster(`value`.let(KafkaClusterProperty.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnConnector( * The type of client authentication used to connect to the Apache Kafka cluster. */ public open fun kafkaClusterClientAuthentication(`value`: IResolvable) { - unwrap(this).setKafkaClusterClientAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setKafkaClusterClientAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnConnector( */ public open fun kafkaClusterClientAuthentication(`value`: KafkaClusterClientAuthenticationProperty) { - unwrap(this).setKafkaClusterClientAuthentication(`value`.let(KafkaClusterClientAuthenticationProperty::unwrap)) + unwrap(this).setKafkaClusterClientAuthentication(`value`.let(KafkaClusterClientAuthenticationProperty.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnConnector( * Details of encryption in transit to the Apache Kafka cluster. */ public open fun kafkaClusterEncryptionInTransit(`value`: IResolvable) { - unwrap(this).setKafkaClusterEncryptionInTransit(`value`.let(IResolvable::unwrap)) + unwrap(this).setKafkaClusterEncryptionInTransit(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnConnector( */ public open fun kafkaClusterEncryptionInTransit(`value`: KafkaClusterEncryptionInTransitProperty) { - unwrap(this).setKafkaClusterEncryptionInTransit(`value`.let(KafkaClusterEncryptionInTransitProperty::unwrap)) + unwrap(this).setKafkaClusterEncryptionInTransit(`value`.let(KafkaClusterEncryptionInTransitProperty.Companion::unwrap)) } /** @@ -329,14 +329,14 @@ public open class CfnConnector( * The settings for delivering connector logs to Amazon CloudWatch Logs. */ public open fun logDelivery(`value`: IResolvable) { - unwrap(this).setLogDelivery(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogDelivery(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for delivering connector logs to Amazon CloudWatch Logs. */ public open fun logDelivery(`value`: LogDeliveryProperty) { - unwrap(this).setLogDelivery(`value`.let(LogDeliveryProperty::unwrap)) + unwrap(this).setLogDelivery(`value`.let(LogDeliveryProperty.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class CfnConnector( * Specifies which plugin to use for the connector. */ public open fun plugins(`value`: IResolvable) { - unwrap(this).setPlugins(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlugins(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnConnector( * A collection of tags associated with a resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -411,14 +411,14 @@ public open class CfnConnector( * The worker configurations that are in use with the connector. */ public open fun workerConfiguration(`value`: IResolvable) { - unwrap(this).setWorkerConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkerConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The worker configurations that are in use with the connector. */ public open fun workerConfiguration(`value`: WorkerConfigurationProperty) { - unwrap(this).setWorkerConfiguration(`value`.let(WorkerConfigurationProperty::unwrap)) + unwrap(this).setWorkerConfiguration(`value`.let(WorkerConfigurationProperty.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public open class CfnConnector( * @param capacity The connector's compute capacity settings. */ override fun capacity(capacity: IResolvable) { - cdkBuilder.capacity(capacity.let(IResolvable::unwrap)) + cdkBuilder.capacity(capacity.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnConnector( * @param capacity The connector's compute capacity settings. */ override fun capacity(capacity: CapacityProperty) { - cdkBuilder.capacity(capacity.let(CapacityProperty::unwrap)) + cdkBuilder.capacity(capacity.let(CapacityProperty.Companion::unwrap)) } /** @@ -757,7 +757,7 @@ public open class CfnConnector( * @param connectorConfiguration The configuration of the connector. */ override fun connectorConfiguration(connectorConfiguration: IResolvable) { - cdkBuilder.connectorConfiguration(connectorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.connectorConfiguration(connectorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public open class CfnConnector( * connected. */ override fun kafkaCluster(kafkaCluster: IResolvable) { - cdkBuilder.kafkaCluster(kafkaCluster.let(IResolvable::unwrap)) + cdkBuilder.kafkaCluster(kafkaCluster.let(IResolvable.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class CfnConnector( * connected. */ override fun kafkaCluster(kafkaCluster: KafkaClusterProperty) { - cdkBuilder.kafkaCluster(kafkaCluster.let(KafkaClusterProperty::unwrap)) + cdkBuilder.kafkaCluster(kafkaCluster.let(KafkaClusterProperty.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnConnector( * the Apache Kafka cluster. */ override fun kafkaClusterClientAuthentication(kafkaClusterClientAuthentication: IResolvable) { - cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -848,7 +848,7 @@ public open class CfnConnector( */ override fun kafkaClusterClientAuthentication(kafkaClusterClientAuthentication: KafkaClusterClientAuthenticationProperty) { - cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(KafkaClusterClientAuthenticationProperty::unwrap)) + cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(KafkaClusterClientAuthenticationProperty.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public open class CfnConnector( * cluster. */ override fun kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit: IResolvable) { - cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(IResolvable::unwrap)) + cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(IResolvable.Companion::unwrap)) } /** @@ -887,7 +887,7 @@ public open class CfnConnector( */ override fun kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit: KafkaClusterEncryptionInTransitProperty) { - cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(KafkaClusterEncryptionInTransitProperty::unwrap)) + cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(KafkaClusterEncryptionInTransitProperty.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public open class CfnConnector( * @param logDelivery The settings for delivering connector logs to Amazon CloudWatch Logs. */ override fun logDelivery(logDelivery: IResolvable) { - cdkBuilder.logDelivery(logDelivery.let(IResolvable::unwrap)) + cdkBuilder.logDelivery(logDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -933,7 +933,7 @@ public open class CfnConnector( * @param logDelivery The settings for delivering connector logs to Amazon CloudWatch Logs. */ override fun logDelivery(logDelivery: LogDeliveryProperty) { - cdkBuilder.logDelivery(logDelivery.let(LogDeliveryProperty::unwrap)) + cdkBuilder.logDelivery(logDelivery.let(LogDeliveryProperty.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnConnector( * @param plugins Specifies which plugin to use for the connector. */ override fun plugins(plugins: IResolvable) { - cdkBuilder.plugins(plugins.let(IResolvable::unwrap)) + cdkBuilder.plugins(plugins.let(IResolvable.Companion::unwrap)) } /** @@ -1003,7 +1003,7 @@ public open class CfnConnector( * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1021,7 +1021,7 @@ public open class CfnConnector( * @param workerConfiguration The worker configurations that are in use with the connector. */ override fun workerConfiguration(workerConfiguration: IResolvable) { - cdkBuilder.workerConfiguration(workerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.workerConfiguration(workerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1031,7 +1031,7 @@ public open class CfnConnector( * @param workerConfiguration The worker configurations that are in use with the connector. */ override fun workerConfiguration(workerConfiguration: WorkerConfigurationProperty) { - cdkBuilder.workerConfiguration(workerConfiguration.let(WorkerConfigurationProperty::unwrap)) + cdkBuilder.workerConfiguration(workerConfiguration.let(WorkerConfigurationProperty.Companion::unwrap)) } /** @@ -1155,7 +1155,7 @@ public open class CfnConnector( * cluster. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** @@ -1163,7 +1163,7 @@ public open class CfnConnector( * cluster. */ override fun vpc(vpc: VpcProperty) { - cdkBuilder.vpc(vpc.let(VpcProperty::unwrap)) + cdkBuilder.vpc(vpc.let(VpcProperty.Companion::unwrap)) } /** @@ -1366,14 +1366,14 @@ public open class CfnConnector( * @param scaleInPolicy The sacle-in policy for the connector. */ override fun scaleInPolicy(scaleInPolicy: IResolvable) { - cdkBuilder.scaleInPolicy(scaleInPolicy.let(IResolvable::unwrap)) + cdkBuilder.scaleInPolicy(scaleInPolicy.let(IResolvable.Companion::unwrap)) } /** * @param scaleInPolicy The sacle-in policy for the connector. */ override fun scaleInPolicy(scaleInPolicy: ScaleInPolicyProperty) { - cdkBuilder.scaleInPolicy(scaleInPolicy.let(ScaleInPolicyProperty::unwrap)) + cdkBuilder.scaleInPolicy(scaleInPolicy.let(ScaleInPolicyProperty.Companion::unwrap)) } /** @@ -1388,14 +1388,14 @@ public open class CfnConnector( * @param scaleOutPolicy The sacle-out policy for the connector. */ override fun scaleOutPolicy(scaleOutPolicy: IResolvable) { - cdkBuilder.scaleOutPolicy(scaleOutPolicy.let(IResolvable::unwrap)) + cdkBuilder.scaleOutPolicy(scaleOutPolicy.let(IResolvable.Companion::unwrap)) } /** * @param scaleOutPolicy The sacle-out policy for the connector. */ override fun scaleOutPolicy(scaleOutPolicy: ScaleOutPolicyProperty) { - cdkBuilder.scaleOutPolicy(scaleOutPolicy.let(ScaleOutPolicyProperty::unwrap)) + cdkBuilder.scaleOutPolicy(scaleOutPolicy.let(ScaleOutPolicyProperty.Companion::unwrap)) } /** @@ -1566,14 +1566,14 @@ public open class CfnConnector( * @param autoScaling Information about the auto scaling parameters for the connector. */ override fun autoScaling(autoScaling: IResolvable) { - cdkBuilder.autoScaling(autoScaling.let(IResolvable::unwrap)) + cdkBuilder.autoScaling(autoScaling.let(IResolvable.Companion::unwrap)) } /** * @param autoScaling Information about the auto scaling parameters for the connector. */ override fun autoScaling(autoScaling: AutoScalingProperty) { - cdkBuilder.autoScaling(autoScaling.let(AutoScalingProperty::unwrap)) + cdkBuilder.autoScaling(autoScaling.let(AutoScalingProperty.Companion::unwrap)) } /** @@ -1588,14 +1588,14 @@ public open class CfnConnector( * @param provisionedCapacity Details about a fixed capacity allocated to a connector. */ override fun provisionedCapacity(provisionedCapacity: IResolvable) { - cdkBuilder.provisionedCapacity(provisionedCapacity.let(IResolvable::unwrap)) + cdkBuilder.provisionedCapacity(provisionedCapacity.let(IResolvable.Companion::unwrap)) } /** * @param provisionedCapacity Details about a fixed capacity allocated to a connector. */ override fun provisionedCapacity(provisionedCapacity: ProvisionedCapacityProperty) { - cdkBuilder.provisionedCapacity(provisionedCapacity.let(ProvisionedCapacityProperty::unwrap)) + cdkBuilder.provisionedCapacity(provisionedCapacity.let(ProvisionedCapacityProperty.Companion::unwrap)) } /** @@ -1720,7 +1720,7 @@ public open class CfnConnector( * @param enabled Whether log delivery to Amazon CloudWatch Logs is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1966,7 +1966,7 @@ public open class CfnConnector( * Firehose. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2251,14 +2251,14 @@ public open class CfnConnector( * @param apacheKafkaCluster The Apache Kafka cluster to which the connector is connected. */ override fun apacheKafkaCluster(apacheKafkaCluster: IResolvable) { - cdkBuilder.apacheKafkaCluster(apacheKafkaCluster.let(IResolvable::unwrap)) + cdkBuilder.apacheKafkaCluster(apacheKafkaCluster.let(IResolvable.Companion::unwrap)) } /** * @param apacheKafkaCluster The Apache Kafka cluster to which the connector is connected. */ override fun apacheKafkaCluster(apacheKafkaCluster: ApacheKafkaClusterProperty) { - cdkBuilder.apacheKafkaCluster(apacheKafkaCluster.let(ApacheKafkaClusterProperty::unwrap)) + cdkBuilder.apacheKafkaCluster(apacheKafkaCluster.let(ApacheKafkaClusterProperty.Companion::unwrap)) } /** @@ -2383,7 +2383,7 @@ public open class CfnConnector( * This configuration specifies the details of these destinations. */ override fun workerLogDelivery(workerLogDelivery: IResolvable) { - cdkBuilder.workerLogDelivery(workerLogDelivery.let(IResolvable::unwrap)) + cdkBuilder.workerLogDelivery(workerLogDelivery.let(IResolvable.Companion::unwrap)) } /** @@ -2391,7 +2391,7 @@ public open class CfnConnector( * This configuration specifies the details of these destinations. */ override fun workerLogDelivery(workerLogDelivery: WorkerLogDeliveryProperty) { - cdkBuilder.workerLogDelivery(workerLogDelivery.let(WorkerLogDeliveryProperty::unwrap)) + cdkBuilder.workerLogDelivery(workerLogDelivery.let(WorkerLogDeliveryProperty.Companion::unwrap)) } /** @@ -2499,14 +2499,14 @@ public open class CfnConnector( * @param customPlugin Details about a custom plugin. */ override fun customPlugin(customPlugin: IResolvable) { - cdkBuilder.customPlugin(customPlugin.let(IResolvable::unwrap)) + cdkBuilder.customPlugin(customPlugin.let(IResolvable.Companion::unwrap)) } /** * @param customPlugin Details about a custom plugin. */ override fun customPlugin(customPlugin: CustomPluginProperty) { - cdkBuilder.customPlugin(customPlugin.let(CustomPluginProperty::unwrap)) + cdkBuilder.customPlugin(customPlugin.let(CustomPluginProperty.Companion::unwrap)) } /** @@ -2762,7 +2762,7 @@ public open class CfnConnector( * destination. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -3349,14 +3349,14 @@ public open class CfnConnector( * @param cloudWatchLogs Details about delivering logs to Amazon CloudWatch Logs. */ override fun cloudWatchLogs(cloudWatchLogs: IResolvable) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable.Companion::unwrap)) } /** * @param cloudWatchLogs Details about delivering logs to Amazon CloudWatch Logs. */ override fun cloudWatchLogs(cloudWatchLogs: CloudWatchLogsLogDeliveryProperty) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsLogDeliveryProperty::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsLogDeliveryProperty.Companion::unwrap)) } /** @@ -3372,14 +3372,14 @@ public open class CfnConnector( * @param firehose Details about delivering logs to Amazon Kinesis Data Firehose. */ override fun firehose(firehose: IResolvable) { - cdkBuilder.firehose(firehose.let(IResolvable::unwrap)) + cdkBuilder.firehose(firehose.let(IResolvable.Companion::unwrap)) } /** * @param firehose Details about delivering logs to Amazon Kinesis Data Firehose. */ override fun firehose(firehose: FirehoseLogDeliveryProperty) { - cdkBuilder.firehose(firehose.let(FirehoseLogDeliveryProperty::unwrap)) + cdkBuilder.firehose(firehose.let(FirehoseLogDeliveryProperty.Companion::unwrap)) } /** @@ -3394,14 +3394,14 @@ public open class CfnConnector( * @param s3 Details about delivering logs to Amazon S3. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Details about delivering logs to Amazon S3. */ override fun s3(s3: S3LogDeliveryProperty) { - cdkBuilder.s3(s3.let(S3LogDeliveryProperty::unwrap)) + cdkBuilder.s3(s3.let(S3LogDeliveryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnectorProps.kt index 6ca084aa16..0a2f6aba66 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnConnectorProps.kt @@ -399,14 +399,14 @@ public interface CfnConnectorProps { * @param capacity The connector's compute capacity settings. */ override fun capacity(capacity: IResolvable) { - cdkBuilder.capacity(capacity.let(IResolvable::unwrap)) + cdkBuilder.capacity(capacity.let(IResolvable.Companion::unwrap)) } /** * @param capacity The connector's compute capacity settings. */ override fun capacity(capacity: CfnConnector.CapacityProperty) { - cdkBuilder.capacity(capacity.let(CfnConnector.CapacityProperty::unwrap)) + cdkBuilder.capacity(capacity.let(CfnConnector.CapacityProperty.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public interface CfnConnectorProps { * @param connectorConfiguration The configuration of the connector. */ override fun connectorConfiguration(connectorConfiguration: IResolvable) { - cdkBuilder.connectorConfiguration(connectorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.connectorConfiguration(connectorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface CfnConnectorProps { * connected. */ override fun kafkaCluster(kafkaCluster: IResolvable) { - cdkBuilder.kafkaCluster(kafkaCluster.let(IResolvable::unwrap)) + cdkBuilder.kafkaCluster(kafkaCluster.let(IResolvable.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface CfnConnectorProps { * connected. */ override fun kafkaCluster(kafkaCluster: CfnConnector.KafkaClusterProperty) { - cdkBuilder.kafkaCluster(kafkaCluster.let(CfnConnector.KafkaClusterProperty::unwrap)) + cdkBuilder.kafkaCluster(kafkaCluster.let(CfnConnector.KafkaClusterProperty.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnConnectorProps { * The value is NONE when no client authentication is used. */ override fun kafkaClusterClientAuthentication(kafkaClusterClientAuthentication: IResolvable) { - cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public interface CfnConnectorProps { */ override fun kafkaClusterClientAuthentication(kafkaClusterClientAuthentication: CfnConnector.KafkaClusterClientAuthenticationProperty) { - cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(CfnConnector.KafkaClusterClientAuthenticationProperty::unwrap)) + cdkBuilder.kafkaClusterClientAuthentication(kafkaClusterClientAuthentication.let(CfnConnector.KafkaClusterClientAuthenticationProperty.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public interface CfnConnectorProps { * cluster. */ override fun kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit: IResolvable) { - cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(IResolvable::unwrap)) + cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(IResolvable.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public interface CfnConnectorProps { */ override fun kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit: CfnConnector.KafkaClusterEncryptionInTransitProperty) { - cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(CfnConnector.KafkaClusterEncryptionInTransitProperty::unwrap)) + cdkBuilder.kafkaClusterEncryptionInTransit(kafkaClusterEncryptionInTransit.let(CfnConnector.KafkaClusterEncryptionInTransitProperty.Companion::unwrap)) } /** @@ -541,14 +541,14 @@ public interface CfnConnectorProps { * @param logDelivery The settings for delivering connector logs to Amazon CloudWatch Logs. */ override fun logDelivery(logDelivery: IResolvable) { - cdkBuilder.logDelivery(logDelivery.let(IResolvable::unwrap)) + cdkBuilder.logDelivery(logDelivery.let(IResolvable.Companion::unwrap)) } /** * @param logDelivery The settings for delivering connector logs to Amazon CloudWatch Logs. */ override fun logDelivery(logDelivery: CfnConnector.LogDeliveryProperty) { - cdkBuilder.logDelivery(logDelivery.let(CfnConnector.LogDeliveryProperty::unwrap)) + cdkBuilder.logDelivery(logDelivery.let(CfnConnector.LogDeliveryProperty.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public interface CfnConnectorProps { * specifying multiple plugins. */ override fun plugins(plugins: IResolvable) { - cdkBuilder.plugins(plugins.let(IResolvable::unwrap)) + cdkBuilder.plugins(plugins.let(IResolvable.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface CfnConnectorProps { * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public interface CfnConnectorProps { * @param workerConfiguration The worker configurations that are in use with the connector. */ override fun workerConfiguration(workerConfiguration: IResolvable) { - cdkBuilder.workerConfiguration(workerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.workerConfiguration(workerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public interface CfnConnectorProps { */ override fun workerConfiguration(workerConfiguration: CfnConnector.WorkerConfigurationProperty) { - cdkBuilder.workerConfiguration(workerConfiguration.let(CfnConnector.WorkerConfigurationProperty::unwrap)) + cdkBuilder.workerConfiguration(workerConfiguration.let(CfnConnector.WorkerConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPlugin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPlugin.kt index cc2e7fed60..6b588dca4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPlugin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPlugin.kt @@ -60,8 +60,8 @@ public open class CfnCustomPlugin( id: String, props: CfnCustomPluginProps, ) : - this(software.amazon.awscdk.services.kafkaconnect.CfnCustomPlugin(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomPluginProps::unwrap)) + this(software.amazon.awscdk.services.kafkaconnect.CfnCustomPlugin(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomPluginProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnCustomPlugin( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,14 +135,14 @@ public open class CfnCustomPlugin( * Information about the location of the custom plugin. */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the location of the custom plugin. */ public open fun location(`value`: CustomPluginLocationProperty) { - unwrap(this).setLocation(`value`.let(CustomPluginLocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(CustomPluginLocationProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnCustomPlugin( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnCustomPlugin( * @param location Information about the location of the custom plugin. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnCustomPlugin( * @param location Information about the location of the custom plugin. */ override fun location(location: CustomPluginLocationProperty) { - cdkBuilder.location(location.let(CustomPluginLocationProperty::unwrap)) + cdkBuilder.location(location.let(CustomPluginLocationProperty.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnCustomPlugin( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class CfnCustomPlugin( * the plugin file stored in Amazon S3. */ override fun s3Location(s3Location: IResolvable) { - cdkBuilder.s3Location(s3Location.let(IResolvable::unwrap)) + cdkBuilder.s3Location(s3Location.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class CfnCustomPlugin( * the plugin file stored in Amazon S3. */ override fun s3Location(s3Location: S3LocationProperty) { - cdkBuilder.s3Location(s3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.s3Location(s3Location.let(S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPluginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPluginProps.kt index c63a38e35c..ef0f4fe73f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPluginProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnCustomPluginProps.kt @@ -151,14 +151,14 @@ public interface CfnCustomPluginProps { * @param location Information about the location of the custom plugin. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** * @param location Information about the location of the custom plugin. */ override fun location(location: CfnCustomPlugin.CustomPluginLocationProperty) { - cdkBuilder.location(location.let(CfnCustomPlugin.CustomPluginLocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnCustomPlugin.CustomPluginLocationProperty.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface CfnCustomPluginProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfiguration.kt index 20516ce789..27dffe8755 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfiguration.kt @@ -48,8 +48,8 @@ public open class CfnWorkerConfiguration( id: String, props: CfnWorkerConfigurationProps, ) : - this(software.amazon.awscdk.services.kafkaconnect.CfnWorkerConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkerConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.kafkaconnect.CfnWorkerConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkerConfigurationProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnWorkerConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnWorkerConfiguration( * A collection of tags associated with a resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnWorkerConfiguration( * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfigurationProps.kt index 008bd5ef90..0d7a6dcf91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kafkaconnect/CfnWorkerConfigurationProps.kt @@ -125,7 +125,7 @@ public interface CfnWorkerConfigurationProps { * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSource.kt index c8484bd6ae..3aa67815d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSource.kt @@ -439,8 +439,8 @@ public open class CfnDataSource( id: String, props: CfnDataSourceProps, ) : - this(software.amazon.awscdk.services.kendra.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.kendra.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSourceProps.Companion::unwrap)) ) public constructor( @@ -476,7 +476,7 @@ public open class CfnDataSource( * ingestion process. */ public open fun customDocumentEnrichmentConfiguration(`value`: IResolvable) { - unwrap(this).setCustomDocumentEnrichmentConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomDocumentEnrichmentConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public open class CfnDataSource( */ public open fun customDocumentEnrichmentConfiguration(`value`: CustomDocumentEnrichmentConfigurationProperty) { - unwrap(this).setCustomDocumentEnrichmentConfiguration(`value`.let(CustomDocumentEnrichmentConfigurationProperty::unwrap)) + unwrap(this).setCustomDocumentEnrichmentConfiguration(`value`.let(CustomDocumentEnrichmentConfigurationProperty.Companion::unwrap)) } /** @@ -508,14 +508,14 @@ public open class CfnDataSource( * Configuration information for an Amazon Kendra data source. */ public open fun dataSourceConfiguration(`value`: IResolvable) { - unwrap(this).setDataSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration information for an Amazon Kendra data source. */ public open fun dataSourceConfiguration(`value`: DataSourceConfigurationProperty) { - unwrap(this).setDataSourceConfiguration(`value`.let(DataSourceConfigurationProperty::unwrap)) + unwrap(this).setDataSourceConfiguration(`value`.let(DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public open class CfnDataSource( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -848,7 +848,7 @@ public open class CfnDataSource( */ override fun customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration: IResolvable) { - cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -861,7 +861,7 @@ public open class CfnDataSource( */ override fun customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration: CustomDocumentEnrichmentConfigurationProperty) { - cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(CustomDocumentEnrichmentConfigurationProperty::unwrap)) + cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(CustomDocumentEnrichmentConfigurationProperty.Companion::unwrap)) } /** @@ -894,7 +894,7 @@ public open class CfnDataSource( * @param dataSourceConfiguration Configuration information for an Amazon Kendra data source. */ override fun dataSourceConfiguration(dataSourceConfiguration: IResolvable) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -912,7 +912,7 @@ public open class CfnDataSource( * @param dataSourceConfiguration Configuration information for an Amazon Kendra data source. */ override fun dataSourceConfiguration(dataSourceConfiguration: DataSourceConfigurationProperty) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(DataSourceConfigurationProperty::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -1020,7 +1020,7 @@ public open class CfnDataSource( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1423,7 +1423,7 @@ public open class CfnDataSource( * [UpdateIndex](https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateIndex.html) operation. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1632,7 +1632,7 @@ public open class CfnDataSource( * mapping. */ override fun attachmentFieldMappings(attachmentFieldMappings: IResolvable) { - cdkBuilder.attachmentFieldMappings(attachmentFieldMappings.let(IResolvable::unwrap)) + cdkBuilder.attachmentFieldMappings(attachmentFieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1675,7 +1675,7 @@ public open class CfnDataSource( * @param crawlAttachments `TRUE` to index attachments of pages and blogs in Confluence. */ override fun crawlAttachments(crawlAttachments: IResolvable) { - cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable::unwrap)) + cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2001,7 +2001,7 @@ public open class CfnDataSource( * mapping. */ override fun blogFieldMappings(blogFieldMappings: IResolvable) { - cdkBuilder.blogFieldMappings(blogFieldMappings.let(IResolvable::unwrap)) + cdkBuilder.blogFieldMappings(blogFieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -2576,7 +2576,7 @@ public open class CfnDataSource( * Confluence blogs and pages. */ override fun attachmentConfiguration(attachmentConfiguration: IResolvable) { - cdkBuilder.attachmentConfiguration(attachmentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.attachmentConfiguration(attachmentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2585,7 +2585,7 @@ public open class CfnDataSource( */ override fun attachmentConfiguration(attachmentConfiguration: ConfluenceAttachmentConfigurationProperty) { - cdkBuilder.attachmentConfiguration(attachmentConfiguration.let(ConfluenceAttachmentConfigurationProperty::unwrap)) + cdkBuilder.attachmentConfiguration(attachmentConfiguration.let(ConfluenceAttachmentConfigurationProperty.Companion::unwrap)) } /** @@ -2603,14 +2603,14 @@ public open class CfnDataSource( * @param blogConfiguration Configuration information for indexing Confluence blogs. */ override fun blogConfiguration(blogConfiguration: IResolvable) { - cdkBuilder.blogConfiguration(blogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.blogConfiguration(blogConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param blogConfiguration Configuration information for indexing Confluence blogs. */ override fun blogConfiguration(blogConfiguration: ConfluenceBlogConfigurationProperty) { - cdkBuilder.blogConfiguration(blogConfiguration.let(ConfluenceBlogConfigurationProperty::unwrap)) + cdkBuilder.blogConfiguration(blogConfiguration.let(ConfluenceBlogConfigurationProperty.Companion::unwrap)) } /** @@ -2668,14 +2668,14 @@ public open class CfnDataSource( * @param pageConfiguration Configuration information for indexing Confluence pages. */ override fun pageConfiguration(pageConfiguration: IResolvable) { - cdkBuilder.pageConfiguration(pageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.pageConfiguration(pageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param pageConfiguration Configuration information for indexing Confluence pages. */ override fun pageConfiguration(pageConfiguration: ConfluencePageConfigurationProperty) { - cdkBuilder.pageConfiguration(pageConfiguration.let(ConfluencePageConfigurationProperty::unwrap)) + cdkBuilder.pageConfiguration(pageConfiguration.let(ConfluencePageConfigurationProperty.Companion::unwrap)) } /** @@ -2713,14 +2713,14 @@ public open class CfnDataSource( * @param spaceConfiguration Configuration information for indexing Confluence spaces. */ override fun spaceConfiguration(spaceConfiguration: IResolvable) { - cdkBuilder.spaceConfiguration(spaceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.spaceConfiguration(spaceConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param spaceConfiguration Configuration information for indexing Confluence spaces. */ override fun spaceConfiguration(spaceConfiguration: ConfluenceSpaceConfigurationProperty) { - cdkBuilder.spaceConfiguration(spaceConfiguration.let(ConfluenceSpaceConfigurationProperty::unwrap)) + cdkBuilder.spaceConfiguration(spaceConfiguration.let(ConfluenceSpaceConfigurationProperty.Companion::unwrap)) } /** @@ -2746,7 +2746,7 @@ public open class CfnDataSource( * VPC](https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html) . */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2756,7 +2756,7 @@ public open class CfnDataSource( * VPC](https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html) . */ override fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty.Companion::unwrap)) } /** @@ -2995,7 +2995,7 @@ public open class CfnDataSource( * mapping. */ override fun pageFieldMappings(pageFieldMappings: IResolvable) { - cdkBuilder.pageFieldMappings(pageFieldMappings.let(IResolvable::unwrap)) + cdkBuilder.pageFieldMappings(pageFieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -3437,7 +3437,7 @@ public open class CfnDataSource( * @param crawlArchivedSpaces `TRUE` to index archived spaces. */ override fun crawlArchivedSpaces(crawlArchivedSpaces: IResolvable) { - cdkBuilder.crawlArchivedSpaces(crawlArchivedSpaces.let(IResolvable::unwrap)) + cdkBuilder.crawlArchivedSpaces(crawlArchivedSpaces.let(IResolvable.Companion::unwrap)) } /** @@ -3459,7 +3459,7 @@ public open class CfnDataSource( * context](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html) . */ override fun crawlPersonalSpaces(crawlPersonalSpaces: IResolvable) { - cdkBuilder.crawlPersonalSpaces(crawlPersonalSpaces.let(IResolvable::unwrap)) + cdkBuilder.crawlPersonalSpaces(crawlPersonalSpaces.let(IResolvable.Companion::unwrap)) } /** @@ -3512,7 +3512,7 @@ public open class CfnDataSource( * mapping. */ override fun spaceFieldMappings(spaceFieldMappings: IResolvable) { - cdkBuilder.spaceFieldMappings(spaceFieldMappings.let(IResolvable::unwrap)) + cdkBuilder.spaceFieldMappings(spaceFieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -4254,7 +4254,7 @@ public open class CfnDataSource( * metadata fields and content when ingesting documents into Amazon Kendra. */ override fun inlineConfigurations(inlineConfigurations: IResolvable) { - cdkBuilder.inlineConfigurations(inlineConfigurations.let(IResolvable::unwrap)) + cdkBuilder.inlineConfigurations(inlineConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -4281,7 +4281,7 @@ public open class CfnDataSource( * . */ override fun postExtractionHookConfiguration(postExtractionHookConfiguration: IResolvable) { - cdkBuilder.postExtractionHookConfiguration(postExtractionHookConfiguration.let(IResolvable::unwrap)) + cdkBuilder.postExtractionHookConfiguration(postExtractionHookConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4294,7 +4294,7 @@ public open class CfnDataSource( */ override fun postExtractionHookConfiguration(postExtractionHookConfiguration: HookConfigurationProperty) { - cdkBuilder.postExtractionHookConfiguration(postExtractionHookConfiguration.let(HookConfigurationProperty::unwrap)) + cdkBuilder.postExtractionHookConfiguration(postExtractionHookConfiguration.let(HookConfigurationProperty.Companion::unwrap)) } /** @@ -4322,7 +4322,7 @@ public open class CfnDataSource( * . */ override fun preExtractionHookConfiguration(preExtractionHookConfiguration: IResolvable) { - cdkBuilder.preExtractionHookConfiguration(preExtractionHookConfiguration.let(IResolvable::unwrap)) + cdkBuilder.preExtractionHookConfiguration(preExtractionHookConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4336,7 +4336,7 @@ public open class CfnDataSource( */ override fun preExtractionHookConfiguration(preExtractionHookConfiguration: HookConfigurationProperty) { - cdkBuilder.preExtractionHookConfiguration(preExtractionHookConfiguration.let(HookConfigurationProperty::unwrap)) + cdkBuilder.preExtractionHookConfiguration(preExtractionHookConfiguration.let(HookConfigurationProperty.Companion::unwrap)) } /** @@ -5146,7 +5146,7 @@ public open class CfnDataSource( * Confluence as your data source. */ override fun confluenceConfiguration(confluenceConfiguration: IResolvable) { - cdkBuilder.confluenceConfiguration(confluenceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.confluenceConfiguration(confluenceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5155,7 +5155,7 @@ public open class CfnDataSource( */ override fun confluenceConfiguration(confluenceConfiguration: ConfluenceConfigurationProperty) { - cdkBuilder.confluenceConfiguration(confluenceConfiguration.let(ConfluenceConfigurationProperty::unwrap)) + cdkBuilder.confluenceConfiguration(confluenceConfiguration.let(ConfluenceConfigurationProperty.Companion::unwrap)) } /** @@ -5173,7 +5173,7 @@ public open class CfnDataSource( * database as your data source. */ override fun databaseConfiguration(databaseConfiguration: IResolvable) { - cdkBuilder.databaseConfiguration(databaseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.databaseConfiguration(databaseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5181,7 +5181,7 @@ public open class CfnDataSource( * database as your data source. */ override fun databaseConfiguration(databaseConfiguration: DatabaseConfigurationProperty) { - cdkBuilder.databaseConfiguration(databaseConfiguration.let(DatabaseConfigurationProperty::unwrap)) + cdkBuilder.databaseConfiguration(databaseConfiguration.let(DatabaseConfigurationProperty.Companion::unwrap)) } /** @@ -5199,7 +5199,7 @@ public open class CfnDataSource( * Drive as your data source. */ override fun googleDriveConfiguration(googleDriveConfiguration: IResolvable) { - cdkBuilder.googleDriveConfiguration(googleDriveConfiguration.let(IResolvable::unwrap)) + cdkBuilder.googleDriveConfiguration(googleDriveConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5208,7 +5208,7 @@ public open class CfnDataSource( */ override fun googleDriveConfiguration(googleDriveConfiguration: GoogleDriveConfigurationProperty) { - cdkBuilder.googleDriveConfiguration(googleDriveConfiguration.let(GoogleDriveConfigurationProperty::unwrap)) + cdkBuilder.googleDriveConfiguration(googleDriveConfiguration.let(GoogleDriveConfigurationProperty.Companion::unwrap)) } /** @@ -5227,7 +5227,7 @@ public open class CfnDataSource( * OneDrive as your data source. */ override fun oneDriveConfiguration(oneDriveConfiguration: IResolvable) { - cdkBuilder.oneDriveConfiguration(oneDriveConfiguration.let(IResolvable::unwrap)) + cdkBuilder.oneDriveConfiguration(oneDriveConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5235,7 +5235,7 @@ public open class CfnDataSource( * OneDrive as your data source. */ override fun oneDriveConfiguration(oneDriveConfiguration: OneDriveConfigurationProperty) { - cdkBuilder.oneDriveConfiguration(oneDriveConfiguration.let(OneDriveConfigurationProperty::unwrap)) + cdkBuilder.oneDriveConfiguration(oneDriveConfiguration.let(OneDriveConfigurationProperty.Companion::unwrap)) } /** @@ -5266,7 +5266,7 @@ public open class CfnDataSource( * connectors configured using the older architecture is scheduled to end by June 2024. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** @@ -5287,7 +5287,7 @@ public open class CfnDataSource( * connectors configured using the older architecture is scheduled to end by June 2024. */ override fun s3Configuration(s3Configuration: S3DataSourceConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DataSourceConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -5318,7 +5318,7 @@ public open class CfnDataSource( * Salesforce as your data source. */ override fun salesforceConfiguration(salesforceConfiguration: IResolvable) { - cdkBuilder.salesforceConfiguration(salesforceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.salesforceConfiguration(salesforceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5327,7 +5327,7 @@ public open class CfnDataSource( */ override fun salesforceConfiguration(salesforceConfiguration: SalesforceConfigurationProperty) { - cdkBuilder.salesforceConfiguration(salesforceConfiguration.let(SalesforceConfigurationProperty::unwrap)) + cdkBuilder.salesforceConfiguration(salesforceConfiguration.let(SalesforceConfigurationProperty.Companion::unwrap)) } /** @@ -5345,7 +5345,7 @@ public open class CfnDataSource( * ServiceNow as your data source. */ override fun serviceNowConfiguration(serviceNowConfiguration: IResolvable) { - cdkBuilder.serviceNowConfiguration(serviceNowConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serviceNowConfiguration(serviceNowConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5354,7 +5354,7 @@ public open class CfnDataSource( */ override fun serviceNowConfiguration(serviceNowConfiguration: ServiceNowConfigurationProperty) { - cdkBuilder.serviceNowConfiguration(serviceNowConfiguration.let(ServiceNowConfigurationProperty::unwrap)) + cdkBuilder.serviceNowConfiguration(serviceNowConfiguration.let(ServiceNowConfigurationProperty.Companion::unwrap)) } /** @@ -5372,7 +5372,7 @@ public open class CfnDataSource( * Microsoft SharePoint as your data source. */ override fun sharePointConfiguration(sharePointConfiguration: IResolvable) { - cdkBuilder.sharePointConfiguration(sharePointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sharePointConfiguration(sharePointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5381,7 +5381,7 @@ public open class CfnDataSource( */ override fun sharePointConfiguration(sharePointConfiguration: SharePointConfigurationProperty) { - cdkBuilder.sharePointConfiguration(sharePointConfiguration.let(SharePointConfigurationProperty::unwrap)) + cdkBuilder.sharePointConfiguration(sharePointConfiguration.let(SharePointConfigurationProperty.Companion::unwrap)) } /** @@ -5398,14 +5398,14 @@ public open class CfnDataSource( * @param templateConfiguration the value to be set. */ override fun templateConfiguration(templateConfiguration: IResolvable) { - cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param templateConfiguration the value to be set. */ override fun templateConfiguration(templateConfiguration: TemplateConfigurationProperty) { - cdkBuilder.templateConfiguration(templateConfiguration.let(TemplateConfigurationProperty::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(TemplateConfigurationProperty.Companion::unwrap)) } /** @@ -5422,7 +5422,7 @@ public open class CfnDataSource( * Kendra Web Crawler. */ override fun webCrawlerConfiguration(webCrawlerConfiguration: IResolvable) { - cdkBuilder.webCrawlerConfiguration(webCrawlerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.webCrawlerConfiguration(webCrawlerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5431,7 +5431,7 @@ public open class CfnDataSource( */ override fun webCrawlerConfiguration(webCrawlerConfiguration: WebCrawlerConfigurationProperty) { - cdkBuilder.webCrawlerConfiguration(webCrawlerConfiguration.let(WebCrawlerConfigurationProperty::unwrap)) + cdkBuilder.webCrawlerConfiguration(webCrawlerConfiguration.let(WebCrawlerConfigurationProperty.Companion::unwrap)) } /** @@ -5449,7 +5449,7 @@ public open class CfnDataSource( * WorkDocs as your data source. */ override fun workDocsConfiguration(workDocsConfiguration: IResolvable) { - cdkBuilder.workDocsConfiguration(workDocsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.workDocsConfiguration(workDocsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5457,7 +5457,7 @@ public open class CfnDataSource( * WorkDocs as your data source. */ override fun workDocsConfiguration(workDocsConfiguration: WorkDocsConfigurationProperty) { - cdkBuilder.workDocsConfiguration(workDocsConfiguration.let(WorkDocsConfigurationProperty::unwrap)) + cdkBuilder.workDocsConfiguration(workDocsConfiguration.let(WorkDocsConfigurationProperty.Companion::unwrap)) } /** @@ -6123,7 +6123,7 @@ public open class CfnDataSource( * user context filtering. */ override fun aclConfiguration(aclConfiguration: IResolvable) { - cdkBuilder.aclConfiguration(aclConfiguration.let(IResolvable::unwrap)) + cdkBuilder.aclConfiguration(aclConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6131,7 +6131,7 @@ public open class CfnDataSource( * user context filtering. */ override fun aclConfiguration(aclConfiguration: AclConfigurationProperty) { - cdkBuilder.aclConfiguration(aclConfiguration.let(AclConfigurationProperty::unwrap)) + cdkBuilder.aclConfiguration(aclConfiguration.let(AclConfigurationProperty.Companion::unwrap)) } /** @@ -6148,7 +6148,7 @@ public open class CfnDataSource( * information from the database. */ override fun columnConfiguration(columnConfiguration: IResolvable) { - cdkBuilder.columnConfiguration(columnConfiguration.let(IResolvable::unwrap)) + cdkBuilder.columnConfiguration(columnConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6156,7 +6156,7 @@ public open class CfnDataSource( * information from the database. */ override fun columnConfiguration(columnConfiguration: ColumnConfigurationProperty) { - cdkBuilder.columnConfiguration(columnConfiguration.let(ColumnConfigurationProperty::unwrap)) + cdkBuilder.columnConfiguration(columnConfiguration.let(ColumnConfigurationProperty.Companion::unwrap)) } /** @@ -6174,7 +6174,7 @@ public open class CfnDataSource( * database. */ override fun connectionConfiguration(connectionConfiguration: IResolvable) { - cdkBuilder.connectionConfiguration(connectionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.connectionConfiguration(connectionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6183,7 +6183,7 @@ public open class CfnDataSource( */ override fun connectionConfiguration(connectionConfiguration: ConnectionConfigurationProperty) { - cdkBuilder.connectionConfiguration(connectionConfiguration.let(ConnectionConfigurationProperty::unwrap)) + cdkBuilder.connectionConfiguration(connectionConfiguration.let(ConnectionConfigurationProperty.Companion::unwrap)) } /** @@ -6208,7 +6208,7 @@ public open class CfnDataSource( * around SQL identifiers when querying a database data source. */ override fun sqlConfiguration(sqlConfiguration: IResolvable) { - cdkBuilder.sqlConfiguration(sqlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sqlConfiguration(sqlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6216,7 +6216,7 @@ public open class CfnDataSource( * around SQL identifiers when querying a database data source. */ override fun sqlConfiguration(sqlConfiguration: SqlConfigurationProperty) { - cdkBuilder.sqlConfiguration(sqlConfiguration.let(SqlConfigurationProperty::unwrap)) + cdkBuilder.sqlConfiguration(sqlConfiguration.let(SqlConfigurationProperty.Companion::unwrap)) } /** @@ -6232,14 +6232,14 @@ public open class CfnDataSource( * @param vpcConfiguration Provides information for connecting to an Amazon VPC. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfiguration Provides information for connecting to an Amazon VPC. */ override fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty.Companion::unwrap)) } /** @@ -6465,7 +6465,7 @@ public open class CfnDataSource( * that partially match or contain this value. */ override fun conditionOnValue(conditionOnValue: IResolvable) { - cdkBuilder.conditionOnValue(conditionOnValue.let(IResolvable::unwrap)) + cdkBuilder.conditionOnValue(conditionOnValue.let(IResolvable.Companion::unwrap)) } /** @@ -6474,7 +6474,7 @@ public open class CfnDataSource( * that partially match or contain this value. */ override fun conditionOnValue(conditionOnValue: DocumentAttributeValueProperty) { - cdkBuilder.conditionOnValue(conditionOnValue.let(DocumentAttributeValueProperty::unwrap)) + cdkBuilder.conditionOnValue(conditionOnValue.let(DocumentAttributeValueProperty.Companion::unwrap)) } /** @@ -6706,7 +6706,7 @@ public open class CfnDataSource( * For example, 'Finance' could be the target value for the target attribute key 'Department'. */ override fun targetDocumentAttributeValue(targetDocumentAttributeValue: IResolvable) { - cdkBuilder.targetDocumentAttributeValue(targetDocumentAttributeValue.let(IResolvable::unwrap)) + cdkBuilder.targetDocumentAttributeValue(targetDocumentAttributeValue.let(IResolvable.Companion::unwrap)) } /** @@ -6716,7 +6716,7 @@ public open class CfnDataSource( */ override fun targetDocumentAttributeValue(targetDocumentAttributeValue: DocumentAttributeValueProperty) { - cdkBuilder.targetDocumentAttributeValue(targetDocumentAttributeValue.let(DocumentAttributeValueProperty::unwrap)) + cdkBuilder.targetDocumentAttributeValue(targetDocumentAttributeValue.let(DocumentAttributeValueProperty.Companion::unwrap)) } /** @@ -6750,7 +6750,7 @@ public open class CfnDataSource( */ override fun targetDocumentAttributeValueDeletion(targetDocumentAttributeValueDeletion: IResolvable) { - cdkBuilder.targetDocumentAttributeValueDeletion(targetDocumentAttributeValueDeletion.let(IResolvable::unwrap)) + cdkBuilder.targetDocumentAttributeValueDeletion(targetDocumentAttributeValueDeletion.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -7433,7 +7433,7 @@ public open class CfnDataSource( * data source field names must exist in your Google Drive custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -7733,7 +7733,7 @@ public open class CfnDataSource( * Amazon Kendra should invoke a function that inserts the current date-time. */ override fun invocationCondition(invocationCondition: IResolvable) { - cdkBuilder.invocationCondition(invocationCondition.let(IResolvable::unwrap)) + cdkBuilder.invocationCondition(invocationCondition.let(IResolvable.Companion::unwrap)) } /** @@ -7742,7 +7742,7 @@ public open class CfnDataSource( * Amazon Kendra should invoke a function that inserts the current date-time. */ override fun invocationCondition(invocationCondition: DocumentAttributeConditionProperty) { - cdkBuilder.invocationCondition(invocationCondition.let(DocumentAttributeConditionProperty::unwrap)) + cdkBuilder.invocationCondition(invocationCondition.let(DocumentAttributeConditionProperty.Companion::unwrap)) } /** @@ -7982,7 +7982,7 @@ public open class CfnDataSource( * metadata field when ingesting documents into Amazon Kendra. */ override fun condition(condition: IResolvable) { - cdkBuilder.condition(condition.let(IResolvable::unwrap)) + cdkBuilder.condition(condition.let(IResolvable.Companion::unwrap)) } /** @@ -7990,7 +7990,7 @@ public open class CfnDataSource( * metadata field when ingesting documents into Amazon Kendra. */ override fun condition(condition: DocumentAttributeConditionProperty) { - cdkBuilder.condition(condition.let(DocumentAttributeConditionProperty::unwrap)) + cdkBuilder.condition(condition.let(DocumentAttributeConditionProperty.Companion::unwrap)) } /** @@ -8015,7 +8015,7 @@ public open class CfnDataSource( * target attribute is met. */ override fun documentContentDeletion(documentContentDeletion: IResolvable) { - cdkBuilder.documentContentDeletion(documentContentDeletion.let(IResolvable::unwrap)) + cdkBuilder.documentContentDeletion(documentContentDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -8024,7 +8024,7 @@ public open class CfnDataSource( * You can also include a value. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** @@ -8033,7 +8033,7 @@ public open class CfnDataSource( * You can also include a value. */ override fun target(target: DocumentAttributeTargetProperty) { - cdkBuilder.target(target.let(DocumentAttributeTargetProperty::unwrap)) + cdkBuilder.target(target.let(DocumentAttributeTargetProperty.Companion::unwrap)) } /** @@ -8345,7 +8345,7 @@ public open class CfnDataSource( * @param disableLocalGroups `TRUE` to disable local groups information. */ override fun disableLocalGroups(disableLocalGroups: IResolvable) { - cdkBuilder.disableLocalGroups(disableLocalGroups.let(IResolvable::unwrap)) + cdkBuilder.disableLocalGroups(disableLocalGroups.let(IResolvable.Companion::unwrap)) } /** @@ -8382,7 +8382,7 @@ public open class CfnDataSource( * source field names must exist in your OneDrive custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -8437,14 +8437,14 @@ public open class CfnDataSource( * @param oneDriveUsers A list of user accounts whose documents should be indexed. */ override fun oneDriveUsers(oneDriveUsers: IResolvable) { - cdkBuilder.oneDriveUsers(oneDriveUsers.let(IResolvable::unwrap)) + cdkBuilder.oneDriveUsers(oneDriveUsers.let(IResolvable.Companion::unwrap)) } /** * @param oneDriveUsers A list of user accounts whose documents should be indexed. */ override fun oneDriveUsers(oneDriveUsers: OneDriveUsersProperty) { - cdkBuilder.oneDriveUsers(oneDriveUsers.let(OneDriveUsersProperty::unwrap)) + cdkBuilder.oneDriveUsers(oneDriveUsers.let(OneDriveUsersProperty.Companion::unwrap)) } /** @@ -8683,7 +8683,7 @@ public open class CfnDataSource( * documents should be indexed. */ override fun oneDriveUserS3Path(oneDriveUserS3Path: IResolvable) { - cdkBuilder.oneDriveUserS3Path(oneDriveUserS3Path.let(IResolvable::unwrap)) + cdkBuilder.oneDriveUserS3Path(oneDriveUserS3Path.let(IResolvable.Companion::unwrap)) } /** @@ -8691,7 +8691,7 @@ public open class CfnDataSource( * documents should be indexed. */ override fun oneDriveUserS3Path(oneDriveUserS3Path: S3PathProperty) { - cdkBuilder.oneDriveUserS3Path(oneDriveUserS3Path.let(S3PathProperty::unwrap)) + cdkBuilder.oneDriveUserS3Path(oneDriveUserS3Path.let(S3PathProperty.Companion::unwrap)) } /** @@ -9278,7 +9278,7 @@ public open class CfnDataSource( * sources](https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html) . */ override fun accessControlListConfiguration(accessControlListConfiguration: IResolvable) { - cdkBuilder.accessControlListConfiguration(accessControlListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accessControlListConfiguration(accessControlListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -9289,7 +9289,7 @@ public open class CfnDataSource( */ override fun accessControlListConfiguration(accessControlListConfiguration: AccessControlListConfigurationProperty) { - cdkBuilder.accessControlListConfiguration(accessControlListConfiguration.let(AccessControlListConfigurationProperty::unwrap)) + cdkBuilder.accessControlListConfiguration(accessControlListConfiguration.let(AccessControlListConfigurationProperty.Companion::unwrap)) } /** @@ -9319,7 +9319,7 @@ public open class CfnDataSource( * Each metadata file contains metadata about a single document. */ override fun documentsMetadataConfiguration(documentsMetadataConfiguration: IResolvable) { - cdkBuilder.documentsMetadataConfiguration(documentsMetadataConfiguration.let(IResolvable::unwrap)) + cdkBuilder.documentsMetadataConfiguration(documentsMetadataConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -9330,7 +9330,7 @@ public open class CfnDataSource( */ override fun documentsMetadataConfiguration(documentsMetadataConfiguration: DocumentsMetadataConfigurationProperty) { - cdkBuilder.documentsMetadataConfiguration(documentsMetadataConfiguration.let(DocumentsMetadataConfigurationProperty::unwrap)) + cdkBuilder.documentsMetadataConfiguration(documentsMetadataConfiguration.let(DocumentsMetadataConfigurationProperty.Companion::unwrap)) } /** @@ -9866,7 +9866,7 @@ public open class CfnDataSource( * fields. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -10327,7 +10327,7 @@ public open class CfnDataSource( * @param chatterFeedConfiguration Configuration information for Salesforce chatter feeds. */ override fun chatterFeedConfiguration(chatterFeedConfiguration: IResolvable) { - cdkBuilder.chatterFeedConfiguration(chatterFeedConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chatterFeedConfiguration(chatterFeedConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10335,7 +10335,7 @@ public open class CfnDataSource( */ override fun chatterFeedConfiguration(chatterFeedConfiguration: SalesforceChatterFeedConfigurationProperty) { - cdkBuilder.chatterFeedConfiguration(chatterFeedConfiguration.let(SalesforceChatterFeedConfigurationProperty::unwrap)) + cdkBuilder.chatterFeedConfiguration(chatterFeedConfiguration.let(SalesforceChatterFeedConfigurationProperty.Companion::unwrap)) } /** @@ -10361,7 +10361,7 @@ public open class CfnDataSource( * Salesforce objects. */ override fun crawlAttachments(crawlAttachments: IResolvable) { - cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable::unwrap)) + cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable.Companion::unwrap)) } /** @@ -10421,7 +10421,7 @@ public open class CfnDataSource( * articles, or the custom fields of custom knowledge articles, but not both. */ override fun knowledgeArticleConfiguration(knowledgeArticleConfiguration: IResolvable) { - cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10432,7 +10432,7 @@ public open class CfnDataSource( */ override fun knowledgeArticleConfiguration(knowledgeArticleConfiguration: SalesforceKnowledgeArticleConfigurationProperty) { - cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(SalesforceKnowledgeArticleConfigurationProperty::unwrap)) + cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(SalesforceKnowledgeArticleConfigurationProperty.Companion::unwrap)) } /** @@ -10479,7 +10479,7 @@ public open class CfnDataSource( */ override fun standardObjectAttachmentConfiguration(standardObjectAttachmentConfiguration: IResolvable) { - cdkBuilder.standardObjectAttachmentConfiguration(standardObjectAttachmentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.standardObjectAttachmentConfiguration(standardObjectAttachmentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10488,7 +10488,7 @@ public open class CfnDataSource( */ override fun standardObjectAttachmentConfiguration(standardObjectAttachmentConfiguration: SalesforceStandardObjectAttachmentConfigurationProperty) { - cdkBuilder.standardObjectAttachmentConfiguration(standardObjectAttachmentConfiguration.let(SalesforceStandardObjectAttachmentConfigurationProperty::unwrap)) + cdkBuilder.standardObjectAttachmentConfiguration(standardObjectAttachmentConfiguration.let(SalesforceStandardObjectAttachmentConfigurationProperty.Companion::unwrap)) } /** @@ -10507,7 +10507,7 @@ public open class CfnDataSource( * Amazon Kendra indexes. */ override fun standardObjectConfigurations(standardObjectConfigurations: IResolvable) { - cdkBuilder.standardObjectConfigurations(standardObjectConfigurations.let(IResolvable::unwrap)) + cdkBuilder.standardObjectConfigurations(standardObjectConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -10794,7 +10794,7 @@ public open class CfnDataSource( * source field names must exist in your Salesforce custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -11039,7 +11039,7 @@ public open class CfnDataSource( */ override fun customKnowledgeArticleTypeConfigurations(customKnowledgeArticleTypeConfigurations: IResolvable) { - cdkBuilder.customKnowledgeArticleTypeConfigurations(customKnowledgeArticleTypeConfigurations.let(IResolvable::unwrap)) + cdkBuilder.customKnowledgeArticleTypeConfigurations(customKnowledgeArticleTypeConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -11082,7 +11082,7 @@ public open class CfnDataSource( */ override fun standardKnowledgeArticleTypeConfiguration(standardKnowledgeArticleTypeConfiguration: IResolvable) { - cdkBuilder.standardKnowledgeArticleTypeConfiguration(standardKnowledgeArticleTypeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.standardKnowledgeArticleTypeConfiguration(standardKnowledgeArticleTypeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11091,7 +11091,7 @@ public open class CfnDataSource( */ override fun standardKnowledgeArticleTypeConfiguration(standardKnowledgeArticleTypeConfiguration: SalesforceStandardKnowledgeArticleTypeConfigurationProperty) { - cdkBuilder.standardKnowledgeArticleTypeConfiguration(standardKnowledgeArticleTypeConfiguration.let(SalesforceStandardKnowledgeArticleTypeConfigurationProperty::unwrap)) + cdkBuilder.standardKnowledgeArticleTypeConfiguration(standardKnowledgeArticleTypeConfiguration.let(SalesforceStandardKnowledgeArticleTypeConfigurationProperty.Companion::unwrap)) } /** @@ -11289,7 +11289,7 @@ public open class CfnDataSource( * source field names must exist in your Salesforce custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -11457,7 +11457,7 @@ public open class CfnDataSource( * index fields. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -11662,7 +11662,7 @@ public open class CfnDataSource( * source field names must exist in your Salesforce custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -11989,7 +11989,7 @@ public open class CfnDataSource( * articles in the ServiceNow site. */ override fun knowledgeArticleConfiguration(knowledgeArticleConfiguration: IResolvable) { - cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11998,7 +11998,7 @@ public open class CfnDataSource( */ override fun knowledgeArticleConfiguration(knowledgeArticleConfiguration: ServiceNowKnowledgeArticleConfigurationProperty) { - cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(ServiceNowKnowledgeArticleConfigurationProperty::unwrap)) + cdkBuilder.knowledgeArticleConfiguration(knowledgeArticleConfiguration.let(ServiceNowKnowledgeArticleConfigurationProperty.Companion::unwrap)) } /** @@ -12028,7 +12028,7 @@ public open class CfnDataSource( * in the ServiceNow site. */ override fun serviceCatalogConfiguration(serviceCatalogConfiguration: IResolvable) { - cdkBuilder.serviceCatalogConfiguration(serviceCatalogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serviceCatalogConfiguration(serviceCatalogConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -12037,7 +12037,7 @@ public open class CfnDataSource( */ override fun serviceCatalogConfiguration(serviceCatalogConfiguration: ServiceNowServiceCatalogConfigurationProperty) { - cdkBuilder.serviceCatalogConfiguration(serviceCatalogConfiguration.let(ServiceNowServiceCatalogConfigurationProperty::unwrap)) + cdkBuilder.serviceCatalogConfiguration(serviceCatalogConfiguration.let(ServiceNowServiceCatalogConfigurationProperty.Companion::unwrap)) } /** @@ -12374,7 +12374,7 @@ public open class CfnDataSource( * @param crawlAttachments `TRUE` to index attachments to knowledge articles. */ override fun crawlAttachments(crawlAttachments: IResolvable) { - cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable::unwrap)) + cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable.Companion::unwrap)) } /** @@ -12423,7 +12423,7 @@ public open class CfnDataSource( * source field names must exist in your ServiceNow custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -12797,7 +12797,7 @@ public open class CfnDataSource( * @param crawlAttachments `TRUE` to index attachments to service catalog items. */ override fun crawlAttachments(crawlAttachments: IResolvable) { - cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable::unwrap)) + cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable.Companion::unwrap)) } /** @@ -12850,7 +12850,7 @@ public open class CfnDataSource( * source field names must exist in your ServiceNow custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -13344,7 +13344,7 @@ public open class CfnDataSource( * @param crawlAttachments `TRUE` to index document attachments. */ override fun crawlAttachments(crawlAttachments: IResolvable) { - cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable::unwrap)) + cdkBuilder.crawlAttachments(crawlAttachments.let(IResolvable.Companion::unwrap)) } /** @@ -13358,7 +13358,7 @@ public open class CfnDataSource( * @param disableLocalGroups `TRUE` to disable local groups information. */ override fun disableLocalGroups(disableLocalGroups: IResolvable) { - cdkBuilder.disableLocalGroups(disableLocalGroups.let(IResolvable::unwrap)) + cdkBuilder.disableLocalGroups(disableLocalGroups.let(IResolvable.Companion::unwrap)) } /** @@ -13401,7 +13401,7 @@ public open class CfnDataSource( * Fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -13474,7 +13474,7 @@ public open class CfnDataSource( * bucket. */ override fun sslCertificateS3Path(sslCertificateS3Path: IResolvable) { - cdkBuilder.sslCertificateS3Path(sslCertificateS3Path.let(IResolvable::unwrap)) + cdkBuilder.sslCertificateS3Path(sslCertificateS3Path.let(IResolvable.Companion::unwrap)) } /** @@ -13482,7 +13482,7 @@ public open class CfnDataSource( * bucket. */ override fun sslCertificateS3Path(sslCertificateS3Path: S3PathProperty) { - cdkBuilder.sslCertificateS3Path(sslCertificateS3Path.let(S3PathProperty::unwrap)) + cdkBuilder.sslCertificateS3Path(sslCertificateS3Path.let(S3PathProperty.Companion::unwrap)) } /** @@ -13523,21 +13523,21 @@ public open class CfnDataSource( * log than to scan all of your documents in SharePoint. */ override fun useChangeLog(useChangeLog: IResolvable) { - cdkBuilder.useChangeLog(useChangeLog.let(IResolvable::unwrap)) + cdkBuilder.useChangeLog(useChangeLog.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfiguration Provides information for connecting to an Amazon VPC. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfiguration Provides information for connecting to an Amazon VPC. */ override fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty.Companion::unwrap)) } /** @@ -13972,7 +13972,7 @@ public open class CfnDataSource( * The list includes the name and port number of the website host. */ override fun basicAuthentication(basicAuthentication: IResolvable) { - cdkBuilder.basicAuthentication(basicAuthentication.let(IResolvable::unwrap)) + cdkBuilder.basicAuthentication(basicAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -14620,7 +14620,7 @@ public open class CfnDataSource( * HTTPS. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14637,7 +14637,7 @@ public open class CfnDataSource( */ override fun authenticationConfiguration(authenticationConfiguration: WebCrawlerAuthenticationConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(WebCrawlerAuthenticationConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(WebCrawlerAuthenticationConfigurationProperty.Companion::unwrap)) } /** @@ -14716,7 +14716,7 @@ public open class CfnDataSource( * Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) . */ override fun proxyConfiguration(proxyConfiguration: IResolvable) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14731,7 +14731,7 @@ public open class CfnDataSource( * Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) . */ override fun proxyConfiguration(proxyConfiguration: ProxyConfigurationProperty) { - cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfigurationProperty::unwrap)) + cdkBuilder.proxyConfiguration(proxyConfiguration.let(ProxyConfigurationProperty.Companion::unwrap)) } /** @@ -14809,7 +14809,7 @@ public open class CfnDataSource( * authorization to index.* */ override fun urls(urls: IResolvable) { - cdkBuilder.urls(urls.let(IResolvable::unwrap)) + cdkBuilder.urls(urls.let(IResolvable.Companion::unwrap)) } /** @@ -14828,7 +14828,7 @@ public open class CfnDataSource( * authorization to index.* */ override fun urls(urls: WebCrawlerUrlsProperty) { - cdkBuilder.urls(urls.let(WebCrawlerUrlsProperty::unwrap)) + cdkBuilder.urls(urls.let(WebCrawlerUrlsProperty.Companion::unwrap)) } /** @@ -15423,7 +15423,7 @@ public open class CfnDataSource( * You can list up to 100 seed URLs. */ override fun seedUrlConfiguration(seedUrlConfiguration: IResolvable) { - cdkBuilder.seedUrlConfiguration(seedUrlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.seedUrlConfiguration(seedUrlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -15437,7 +15437,7 @@ public open class CfnDataSource( */ override fun seedUrlConfiguration(seedUrlConfiguration: WebCrawlerSeedUrlConfigurationProperty) { - cdkBuilder.seedUrlConfiguration(seedUrlConfiguration.let(WebCrawlerSeedUrlConfigurationProperty::unwrap)) + cdkBuilder.seedUrlConfiguration(seedUrlConfiguration.let(WebCrawlerSeedUrlConfigurationProperty.Companion::unwrap)) } /** @@ -15462,7 +15462,7 @@ public open class CfnDataSource( * sitemap URLs. */ override fun siteMapsConfiguration(siteMapsConfiguration: IResolvable) { - cdkBuilder.siteMapsConfiguration(siteMapsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.siteMapsConfiguration(siteMapsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -15473,7 +15473,7 @@ public open class CfnDataSource( */ override fun siteMapsConfiguration(siteMapsConfiguration: WebCrawlerSiteMapsConfigurationProperty) { - cdkBuilder.siteMapsConfiguration(siteMapsConfiguration.let(WebCrawlerSiteMapsConfigurationProperty::unwrap)) + cdkBuilder.siteMapsConfiguration(siteMapsConfiguration.let(WebCrawlerSiteMapsConfigurationProperty.Companion::unwrap)) } /** @@ -15783,7 +15783,7 @@ public open class CfnDataSource( * The default is set to `FALSE` . */ override fun crawlComments(crawlComments: IResolvable) { - cdkBuilder.crawlComments(crawlComments.let(IResolvable::unwrap)) + cdkBuilder.crawlComments(crawlComments.let(IResolvable.Companion::unwrap)) } /** @@ -15816,7 +15816,7 @@ public open class CfnDataSource( * data source field names must exist in your Amazon WorkDocs custom metadata. */ override fun fieldMappings(fieldMappings: IResolvable) { - cdkBuilder.fieldMappings(fieldMappings.let(IResolvable::unwrap)) + cdkBuilder.fieldMappings(fieldMappings.let(IResolvable.Companion::unwrap)) } /** @@ -15893,7 +15893,7 @@ public open class CfnDataSource( * log than to scan all of your documents in Amazon WorkDocs. */ override fun useChangeLog(useChangeLog: IResolvable) { - cdkBuilder.useChangeLog(useChangeLog.let(IResolvable::unwrap)) + cdkBuilder.useChangeLog(useChangeLog.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSourceProps.kt index 07c6e9157f..7c7f68c124 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnDataSourceProps.kt @@ -649,7 +649,7 @@ public interface CfnDataSourceProps { */ override fun customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration: IResolvable) { - cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface CfnDataSourceProps { */ override fun customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration: CfnDataSource.CustomDocumentEnrichmentConfigurationProperty) { - cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(CfnDataSource.CustomDocumentEnrichmentConfigurationProperty::unwrap)) + cdkBuilder.customDocumentEnrichmentConfiguration(customDocumentEnrichmentConfiguration.let(CfnDataSource.CustomDocumentEnrichmentConfigurationProperty.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public interface CfnDataSourceProps { * The `Configuration` parameter is required for all other data sources. */ override fun dataSourceConfiguration(dataSourceConfiguration: IResolvable) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -698,7 +698,7 @@ public interface CfnDataSourceProps { */ override fun dataSourceConfiguration(dataSourceConfiguration: CfnDataSource.DataSourceConfigurationProperty) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(CfnDataSource.DataSourceConfigurationProperty::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(CfnDataSource.DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public interface CfnDataSourceProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaq.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaq.kt index 4c480ed1c1..80ceb64c93 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaq.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaq.kt @@ -58,8 +58,8 @@ public open class CfnFaq( id: String, props: CfnFaqProps, ) : - this(software.amazon.awscdk.services.kendra.CfnFaq(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFaqProps::unwrap)) + this(software.amazon.awscdk.services.kendra.CfnFaq(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFaqProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnFaq( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -173,14 +173,14 @@ public open class CfnFaq( * The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. */ public open fun s3Path(`value`: IResolvable) { - unwrap(this).setS3Path(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3Path(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. */ public open fun s3Path(`value`: S3PathProperty) { - unwrap(this).setS3Path(`value`.let(S3PathProperty::unwrap)) + unwrap(this).setS3Path(`value`.let(S3PathProperty.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnFaq( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class CfnFaq( * @param s3Path The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. */ override fun s3Path(s3Path: IResolvable) { - cdkBuilder.s3Path(s3Path.let(IResolvable::unwrap)) + cdkBuilder.s3Path(s3Path.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnFaq( * @param s3Path The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. */ override fun s3Path(s3Path: S3PathProperty) { - cdkBuilder.s3Path(s3Path.let(S3PathProperty::unwrap)) + cdkBuilder.s3Path(s3Path.let(S3PathProperty.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class CfnFaq( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaqProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaqProps.kt index 3b7cebf680..49425123ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaqProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnFaqProps.kt @@ -273,14 +273,14 @@ public interface CfnFaqProps { * @param s3Path The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. */ override fun s3Path(s3Path: IResolvable) { - cdkBuilder.s3Path(s3Path.let(IResolvable::unwrap)) + cdkBuilder.s3Path(s3Path.let(IResolvable.Companion::unwrap)) } /** * @param s3Path The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. */ override fun s3Path(s3Path: CfnFaq.S3PathProperty) { - cdkBuilder.s3Path(s3Path.let(CfnFaq.S3PathProperty::unwrap)) + cdkBuilder.s3Path(s3Path.let(CfnFaq.S3PathProperty.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public interface CfnFaqProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndex.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndex.kt index d1cf01be5a..399551bbd0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndex.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndex.kt @@ -103,8 +103,8 @@ public open class CfnIndex( id: String, props: CfnIndexProps, ) : - this(software.amazon.awscdk.services.kendra.CfnIndex(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIndexProps::unwrap)) + this(software.amazon.awscdk.services.kendra.CfnIndex(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIndexProps.Companion::unwrap)) ) public constructor( @@ -137,14 +137,14 @@ public open class CfnIndex( * Specifies additional capacity units configured for your Enterprise Edition index. */ public open fun capacityUnits(`value`: IResolvable) { - unwrap(this).setCapacityUnits(`value`.let(IResolvable::unwrap)) + unwrap(this).setCapacityUnits(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies additional capacity units configured for your Enterprise Edition index. */ public open fun capacityUnits(`value`: CapacityUnitsConfigurationProperty) { - unwrap(this).setCapacityUnits(`value`.let(CapacityUnitsConfigurationProperty::unwrap)) + unwrap(this).setCapacityUnits(`value`.let(CapacityUnitsConfigurationProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnIndex( * Specifies the properties of an index field. */ public open fun documentMetadataConfigurations(`value`: IResolvable) { - unwrap(this).setDocumentMetadataConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDocumentMetadataConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnIndex( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnIndex( * Amazon Kendra. */ public open fun serverSideEncryptionConfiguration(`value`: IResolvable) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnIndex( */ public open fun serverSideEncryptionConfiguration(`value`: ServerSideEncryptionConfigurationProperty) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnIndex( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnIndex( * Defines the type of user token used for the index. */ public open fun userTokenConfigurations(`value`: IResolvable) { - unwrap(this).setUserTokenConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserTokenConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnIndex( * Edition index. */ override fun capacityUnits(capacityUnits: IResolvable) { - cdkBuilder.capacityUnits(capacityUnits.let(IResolvable::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(IResolvable.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CfnIndex( * Edition index. */ override fun capacityUnits(capacityUnits: CapacityUnitsConfigurationProperty) { - cdkBuilder.capacityUnits(capacityUnits.let(CapacityUnitsConfigurationProperty::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(CapacityUnitsConfigurationProperty.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class CfnIndex( * @param documentMetadataConfigurations Specifies the properties of an index field. */ override fun documentMetadataConfigurations(documentMetadataConfigurations: IResolvable) { - cdkBuilder.documentMetadataConfigurations(documentMetadataConfigurations.let(IResolvable::unwrap)) + cdkBuilder.documentMetadataConfigurations(documentMetadataConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public open class CfnIndex( * (CMK) to use to encrypt data indexed by Amazon Kendra. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public open class CfnIndex( */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -755,7 +755,7 @@ public open class CfnIndex( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public open class CfnIndex( * @param userTokenConfigurations Defines the type of user token used for the index. */ override fun userTokenConfigurations(userTokenConfigurations: IResolvable) { - cdkBuilder.userTokenConfigurations(userTokenConfigurations.let(IResolvable::unwrap)) + cdkBuilder.userTokenConfigurations(userTokenConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1148,7 +1148,7 @@ public open class CfnIndex( * results. */ override fun relevance(relevance: IResolvable) { - cdkBuilder.relevance(relevance.let(IResolvable::unwrap)) + cdkBuilder.relevance(relevance.let(IResolvable.Companion::unwrap)) } /** @@ -1156,7 +1156,7 @@ public open class CfnIndex( * results. */ override fun relevance(relevance: RelevanceProperty) { - cdkBuilder.relevance(relevance.let(RelevanceProperty::unwrap)) + cdkBuilder.relevance(relevance.let(RelevanceProperty.Companion::unwrap)) } /** @@ -1172,14 +1172,14 @@ public open class CfnIndex( * @param search Provides information about how the field is used during a search. */ override fun search(search: IResolvable) { - cdkBuilder.search(search.let(IResolvable::unwrap)) + cdkBuilder.search(search.let(IResolvable.Companion::unwrap)) } /** * @param search Provides information about how the field is used during a search. */ override fun search(search: SearchProperty) { - cdkBuilder.search(search.let(SearchProperty::unwrap)) + cdkBuilder.search(search.let(SearchProperty.Companion::unwrap)) } /** @@ -1825,7 +1825,7 @@ public open class CfnIndex( * 31, document 1 is "fresher" than document 2. Only applies to `DATE` fields. */ override fun freshness(freshness: IResolvable) { - cdkBuilder.freshness(freshness.let(IResolvable::unwrap)) + cdkBuilder.freshness(freshness.let(IResolvable.Companion::unwrap)) } /** @@ -1862,7 +1862,7 @@ public open class CfnIndex( * of a document. */ override fun valueImportanceItems(valueImportanceItems: IResolvable) { - cdkBuilder.valueImportanceItems(valueImportanceItems.let(IResolvable::unwrap)) + cdkBuilder.valueImportanceItems(valueImportanceItems.let(IResolvable.Companion::unwrap)) } /** @@ -2120,7 +2120,7 @@ public open class CfnIndex( * The default is `true` . */ override fun displayable(displayable: IResolvable) { - cdkBuilder.displayable(displayable.let(IResolvable::unwrap)) + cdkBuilder.displayable(displayable.let(IResolvable.Companion::unwrap)) } /** @@ -2138,7 +2138,7 @@ public open class CfnIndex( * The default is `false` . */ override fun facetable(facetable: IResolvable) { - cdkBuilder.facetable(facetable.let(IResolvable::unwrap)) + cdkBuilder.facetable(facetable.let(IResolvable.Companion::unwrap)) } /** @@ -2158,7 +2158,7 @@ public open class CfnIndex( * `false` for number and date fields. */ override fun searchable(searchable: IResolvable) { - cdkBuilder.searchable(searchable.let(IResolvable::unwrap)) + cdkBuilder.searchable(searchable.let(IResolvable.Companion::unwrap)) } /** @@ -2174,7 +2174,7 @@ public open class CfnIndex( * The default is `false` . */ override fun sortable(sortable: IResolvable) { - cdkBuilder.sortable(sortable.let(IResolvable::unwrap)) + cdkBuilder.sortable(sortable.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.kendra.CfnIndex.SearchProperty = @@ -2432,7 +2432,7 @@ public open class CfnIndex( * @param jsonTokenTypeConfiguration Information about the JSON token type configuration. */ override fun jsonTokenTypeConfiguration(jsonTokenTypeConfiguration: IResolvable) { - cdkBuilder.jsonTokenTypeConfiguration(jsonTokenTypeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.jsonTokenTypeConfiguration(jsonTokenTypeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2440,7 +2440,7 @@ public open class CfnIndex( */ override fun jsonTokenTypeConfiguration(jsonTokenTypeConfiguration: JsonTokenTypeConfigurationProperty) { - cdkBuilder.jsonTokenTypeConfiguration(jsonTokenTypeConfiguration.let(JsonTokenTypeConfigurationProperty::unwrap)) + cdkBuilder.jsonTokenTypeConfiguration(jsonTokenTypeConfiguration.let(JsonTokenTypeConfigurationProperty.Companion::unwrap)) } /** @@ -2457,7 +2457,7 @@ public open class CfnIndex( * @param jwtTokenTypeConfiguration Information about the JWT token type configuration. */ override fun jwtTokenTypeConfiguration(jwtTokenTypeConfiguration: IResolvable) { - cdkBuilder.jwtTokenTypeConfiguration(jwtTokenTypeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.jwtTokenTypeConfiguration(jwtTokenTypeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2465,7 +2465,7 @@ public open class CfnIndex( */ override fun jwtTokenTypeConfiguration(jwtTokenTypeConfiguration: JwtTokenTypeConfigurationProperty) { - cdkBuilder.jwtTokenTypeConfiguration(jwtTokenTypeConfiguration.let(JwtTokenTypeConfigurationProperty::unwrap)) + cdkBuilder.jwtTokenTypeConfiguration(jwtTokenTypeConfiguration.let(JwtTokenTypeConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndexProps.kt index 670c836585..7f574c5acb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndexProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendra/CfnIndexProps.kt @@ -349,7 +349,7 @@ public interface CfnIndexProps { * You can add and remove capacity units to fit your usage requirements. */ override fun capacityUnits(capacityUnits: IResolvable) { - cdkBuilder.capacityUnits(capacityUnits.let(IResolvable::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface CfnIndexProps { * You can add and remove capacity units to fit your usage requirements. */ override fun capacityUnits(capacityUnits: CfnIndex.CapacityUnitsConfigurationProperty) { - cdkBuilder.capacityUnits(capacityUnits.let(CfnIndex.CapacityUnitsConfigurationProperty::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(CfnIndex.CapacityUnitsConfigurationProperty.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface CfnIndexProps { * field. Custom fields can't be removed from an index after they are added. */ override fun documentMetadataConfigurations(documentMetadataConfigurations: IResolvable) { - cdkBuilder.documentMetadataConfigurations(documentMetadataConfigurations.let(IResolvable::unwrap)) + cdkBuilder.documentMetadataConfigurations(documentMetadataConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnIndexProps { * Amazon Kendra doesn't support asymmetric CMKs. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface CfnIndexProps { */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: CfnIndex.ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnIndex.ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnIndex.ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public interface CfnIndexProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public interface CfnIndexProps { * @param userTokenConfigurations Defines the type of user token used for the index. */ override fun userTokenConfigurations(userTokenConfigurations: IResolvable) { - cdkBuilder.userTokenConfigurations(userTokenConfigurations.let(IResolvable::unwrap)) + cdkBuilder.userTokenConfigurations(userTokenConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlan.kt index d7de3d44f9..c7c0e2715c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlan.kt @@ -62,8 +62,8 @@ public open class CfnExecutionPlan( id: String, props: CfnExecutionPlanProps, ) : - this(software.amazon.awscdk.services.kendraranking.CfnExecutionPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnExecutionPlanProps::unwrap)) + this(software.amazon.awscdk.services.kendraranking.CfnExecutionPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnExecutionPlanProps.Companion::unwrap)) ) public constructor( @@ -92,14 +92,14 @@ public open class CfnExecutionPlan( * You can set additional capacity units to meet the needs of your rescore execution plan. */ public open fun capacityUnits(`value`: IResolvable) { - unwrap(this).setCapacityUnits(`value`.let(IResolvable::unwrap)) + unwrap(this).setCapacityUnits(`value`.let(IResolvable.Companion::unwrap)) } /** * You can set additional capacity units to meet the needs of your rescore execution plan. */ public open fun capacityUnits(`value`: CapacityUnitsConfigurationProperty) { - unwrap(this).setCapacityUnits(`value`.let(CapacityUnitsConfigurationProperty::unwrap)) + unwrap(this).setCapacityUnits(`value`.let(CapacityUnitsConfigurationProperty.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnExecutionPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnExecutionPlan( * A list of key-value pairs that identify or categorize your rescore execution plan. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnExecutionPlan( * execution plan. */ override fun capacityUnits(capacityUnits: IResolvable) { - cdkBuilder.capacityUnits(capacityUnits.let(IResolvable::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnExecutionPlan( * execution plan. */ override fun capacityUnits(capacityUnits: CapacityUnitsConfigurationProperty) { - cdkBuilder.capacityUnits(capacityUnits.let(CapacityUnitsConfigurationProperty::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(CapacityUnitsConfigurationProperty.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnExecutionPlan( * plan. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlanProps.kt index e8fdd837cc..2a98aba083 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kendraranking/CfnExecutionPlanProps.kt @@ -157,7 +157,7 @@ public interface CfnExecutionPlanProps { * capacity](https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html) . */ override fun capacityUnits(capacityUnits: IResolvable) { - cdkBuilder.capacityUnits(capacityUnits.let(IResolvable::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(IResolvable.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CfnExecutionPlanProps { * capacity](https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html) . */ override fun capacityUnits(capacityUnits: CfnExecutionPlan.CapacityUnitsConfigurationProperty) { - cdkBuilder.capacityUnits(capacityUnits.let(CfnExecutionPlan.CapacityUnitsConfigurationProperty::unwrap)) + cdkBuilder.capacityUnits(capacityUnits.let(CfnExecutionPlan.CapacityUnitsConfigurationProperty.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface CfnExecutionPlanProps { * period, colon, equal, plus, and asperand. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStream.kt index 0cfb3c3894..35aa377044 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStream.kt @@ -59,7 +59,7 @@ public open class CfnStream( cdkObject: software.amazon.awscdk.services.kinesis.CfnStream, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kinesis.CfnStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kinesis.CfnStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -68,8 +68,8 @@ public open class CfnStream( id: String, props: CfnStreamProps, ) : - this(software.amazon.awscdk.services.kinesis.CfnStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamProps::unwrap)) + this(software.amazon.awscdk.services.kinesis.CfnStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnStream( * stream. */ public open fun streamEncryption(`value`: IResolvable) { - unwrap(this).setStreamEncryption(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamEncryption(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnStream( * stream. */ public open fun streamEncryption(`value`: StreamEncryptionProperty) { - unwrap(this).setStreamEncryption(`value`.let(StreamEncryptionProperty::unwrap)) + unwrap(this).setStreamEncryption(`value`.let(StreamEncryptionProperty.Companion::unwrap)) } /** @@ -170,14 +170,14 @@ public open class CfnStream( * Specifies the capacity mode to which you want to set your data stream. */ public open fun streamModeDetails(`value`: IResolvable) { - unwrap(this).setStreamModeDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamModeDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the capacity mode to which you want to set your data stream. */ public open fun streamModeDetails(`value`: StreamModeDetailsProperty) { - unwrap(this).setStreamModeDetails(`value`.let(StreamModeDetailsProperty::unwrap)) + unwrap(this).setStreamModeDetails(`value`.let(StreamModeDetailsProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnStream( * An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnStream( * AWS KMS key for a specified stream. */ override fun streamEncryption(streamEncryption: IResolvable) { - cdkBuilder.streamEncryption(streamEncryption.let(IResolvable::unwrap)) + cdkBuilder.streamEncryption(streamEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnStream( * AWS KMS key for a specified stream. */ override fun streamEncryption(streamEncryption: StreamEncryptionProperty) { - cdkBuilder.streamEncryption(streamEncryption.let(StreamEncryptionProperty::unwrap)) + cdkBuilder.streamEncryption(streamEncryption.let(StreamEncryptionProperty.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnStream( * stream. */ override fun streamModeDetails(streamModeDetails: IResolvable) { - cdkBuilder.streamModeDetails(streamModeDetails.let(IResolvable::unwrap)) + cdkBuilder.streamModeDetails(streamModeDetails.let(IResolvable.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnStream( * stream. */ override fun streamModeDetails(streamModeDetails: StreamModeDetailsProperty) { - cdkBuilder.streamModeDetails(streamModeDetails.let(StreamModeDetailsProperty::unwrap)) + cdkBuilder.streamModeDetails(streamModeDetails.let(StreamModeDetailsProperty.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class CfnStream( * @param tags An arbitrary set of tags (key–value pairs) to associate with the Kinesis stream. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamConsumer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamConsumer.kt index 6734308146..2c0a57f624 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamConsumer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamConsumer.kt @@ -51,8 +51,8 @@ public open class CfnStreamConsumer( id: String, props: CfnStreamConsumerProps, ) : - this(software.amazon.awscdk.services.kinesis.CfnStreamConsumer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamConsumerProps::unwrap)) + this(software.amazon.awscdk.services.kinesis.CfnStreamConsumer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamConsumerProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnStreamConsumer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamProps.kt index f8a3b815e8..b4f5990a81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/CfnStreamProps.kt @@ -256,7 +256,7 @@ public interface CfnStreamProps { * Removing this property from your stack template and updating your stack disables encryption. */ override fun streamEncryption(streamEncryption: IResolvable) { - cdkBuilder.streamEncryption(streamEncryption.let(IResolvable::unwrap)) + cdkBuilder.streamEncryption(streamEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public interface CfnStreamProps { * Removing this property from your stack template and updating your stack disables encryption. */ override fun streamEncryption(streamEncryption: CfnStream.StreamEncryptionProperty) { - cdkBuilder.streamEncryption(streamEncryption.let(CfnStream.StreamEncryptionProperty::unwrap)) + cdkBuilder.streamEncryption(streamEncryption.let(CfnStream.StreamEncryptionProperty.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface CfnStreamProps { * *provisioned* capacity mode for your data streams. */ override fun streamModeDetails(streamModeDetails: IResolvable) { - cdkBuilder.streamModeDetails(streamModeDetails.let(IResolvable::unwrap)) + cdkBuilder.streamModeDetails(streamModeDetails.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnStreamProps { * *provisioned* capacity mode for your data streams. */ override fun streamModeDetails(streamModeDetails: CfnStream.StreamModeDetailsProperty) { - cdkBuilder.streamModeDetails(streamModeDetails.let(CfnStream.StreamModeDetailsProperty::unwrap)) + cdkBuilder.streamModeDetails(streamModeDetails.let(CfnStream.StreamModeDetailsProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface CfnStreamProps { * in the *Amazon Kinesis Developer Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/IStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/IStream.kt index 9bffaf1706..8717f31716 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/IStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/IStream.kt @@ -922,7 +922,7 @@ public interface IStream : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -949,7 +949,7 @@ public interface IStream : IResource { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -962,7 +962,7 @@ public interface IStream : IResource { * @param grantee */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants read/write permissions for this stream and its contents to an IAM principal @@ -974,7 +974,7 @@ public interface IStream : IResource { * @param grantee */ override fun grantReadWrite(grantee: IGrantable): Grant = - unwrap(this).grantReadWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for this stream and its contents to an IAM principal @@ -986,7 +986,7 @@ public interface IStream : IResource { * @param grantee */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return stream metric based from its metric name. @@ -1004,7 +1004,8 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return stream metric based from its metric name. @@ -1046,7 +1047,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricGetRecords(props: MetricOptions): Metric = - unwrap(this).metricGetRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records retrieved from the shard, measured over the specified time period. @@ -1098,7 +1099,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricGetRecordsBytes(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes retrieved from the Kinesis stream, measured over the specified time @@ -1155,7 +1156,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricGetRecordsIteratorAgeMilliseconds(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsIteratorAgeMilliseconds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsIteratorAgeMilliseconds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The age of the last record in all GetRecords calls made against a Kinesis stream, measured @@ -1198,7 +1199,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricGetRecordsLatency(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time taken per GetRecords operation, measured over the specified time period. @@ -1235,7 +1236,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricGetRecordsSuccess(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful GetRecords operations per stream, measured over the specified time @@ -1281,7 +1282,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricIncomingBytes(props: MetricOptions): Metric = - unwrap(this).metricIncomingBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIncomingBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes successfully put to the Kinesis stream over the specified time period. @@ -1331,7 +1332,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricIncomingRecords(props: MetricOptions): Metric = - unwrap(this).metricIncomingRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIncomingRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records successfully put to the Kinesis stream over the specified time period. @@ -1373,7 +1374,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordBytes(props: MetricOptions): Metric = - unwrap(this).metricPutRecordBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes put to the Kinesis stream using the PutRecord operation over the @@ -1409,7 +1410,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordLatency(props: MetricOptions): Metric = - unwrap(this).metricPutRecordLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time taken per PutRecord operation, measured over the specified time period. @@ -1452,7 +1453,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordSuccess(props: MetricOptions): Metric = - unwrap(this).metricPutRecordSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful PutRecord operations per Kinesis stream, measured over the specified @@ -1493,7 +1494,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsBytes(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes put to the Kinesis stream using the PutRecords operation over the @@ -1535,7 +1536,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsFailedRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsFailedRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsFailedRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records rejected due to internal failures in a PutRecords operation per Kinesis @@ -1573,7 +1574,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsLatency(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time taken per PutRecords operation, measured over the specified time period. @@ -1610,7 +1611,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsSuccess(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of PutRecords operations where at least one record succeeded, per Kinesis stream, @@ -1648,7 +1649,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsSuccessfulRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsSuccessfulRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsSuccessfulRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful records in a PutRecords operation per Kinesis data stream, measured @@ -1686,7 +1687,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsThrottledRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsThrottledRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsThrottledRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records rejected due to throttling in a PutRecords operation per Kinesis data @@ -1724,7 +1725,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricPutRecordsTotalRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsTotalRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsTotalRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of records sent in a PutRecords operation per Kinesis data stream, measured @@ -1782,7 +1783,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricReadProvisionedThroughputExceeded(props: MetricOptions): Metric = - unwrap(this).metricReadProvisionedThroughputExceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricReadProvisionedThroughputExceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of GetRecords calls throttled for the stream over the specified time period. @@ -1852,7 +1853,7 @@ public interface IStream : IResource { * @param props properties of the metric. */ override fun metricWriteProvisionedThroughputExceeded(props: MetricOptions): Metric = - unwrap(this).metricWriteProvisionedThroughputExceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricWriteProvisionedThroughputExceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records rejected due to throttling for the stream over the specified time diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/Stream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/Stream.kt index 883abb85cd..decc6c5945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/Stream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/Stream.kt @@ -3,6 +3,7 @@ package io.cloudshiftdev.awscdk.services.kinesis import io.cloudshiftdev.awscdk.Duration +import io.cloudshiftdev.awscdk.RemovalPolicy import io.cloudshiftdev.awscdk.Resource import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObjectWrappers @@ -37,7 +38,7 @@ public open class Stream( cdkObject: software.amazon.awscdk.services.kinesis.Stream, ) : Resource(cdkObject), IStream { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kinesis.Stream(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kinesis.Stream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +47,8 @@ public open class Stream( id: String, props: StreamProps, ) : - this(software.amazon.awscdk.services.kinesis.Stream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StreamProps::unwrap)) + this(software.amazon.awscdk.services.kinesis.Stream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StreamProps.Companion::unwrap)) ) public constructor( @@ -69,8 +70,8 @@ public open class Stream( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant read permissions for this stream and its contents to an IAM principal (Role/Group/User). @@ -81,7 +82,7 @@ public open class Stream( * @param grantee */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants read/write permissions for this stream and its contents to an IAM principal @@ -93,7 +94,7 @@ public open class Stream( * @param grantee */ public override fun grantReadWrite(grantee: IGrantable): Grant = - unwrap(this).grantReadWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for this stream and its contents to an IAM principal (Role/Group/User). @@ -104,7 +105,7 @@ public open class Stream( * @param grantee */ public override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return stream metric based from its metric name. @@ -122,7 +123,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return stream metric based from its metric name. @@ -166,7 +167,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricGetRecords(props: MetricOptions): Metric = - unwrap(this).metricGetRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records retrieved from the shard, measured over the specified time period. @@ -217,7 +218,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricGetRecordsBytes(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes retrieved from the Kinesis stream, measured over the specified time period. @@ -273,7 +274,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricGetRecordsIteratorAgeMilliseconds(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsIteratorAgeMilliseconds(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsIteratorAgeMilliseconds(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The age of the last record in all GetRecords calls made against a Kinesis stream, measured over @@ -319,7 +320,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricGetRecordsLatency(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful GetRecords operations per stream, measured over the specified time @@ -357,7 +358,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricGetRecordsSuccess(props: MetricOptions): Metric = - unwrap(this).metricGetRecordsSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricGetRecordsSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful GetRecords operations per stream, measured over the specified time @@ -403,7 +404,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricIncomingBytes(props: MetricOptions): Metric = - unwrap(this).metricIncomingBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIncomingBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes successfully put to the Kinesis stream over the specified time period. @@ -453,7 +454,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricIncomingRecords(props: MetricOptions): Metric = - unwrap(this).metricIncomingRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIncomingRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records successfully put to the Kinesis stream over the specified time period. @@ -495,7 +496,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordBytes(props: MetricOptions): Metric = - unwrap(this).metricPutRecordBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes put to the Kinesis stream using the PutRecord operation over the specified @@ -531,7 +532,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordLatency(props: MetricOptions): Metric = - unwrap(this).metricPutRecordLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time taken per PutRecord operation, measured over the specified time period. @@ -574,7 +575,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordSuccess(props: MetricOptions): Metric = - unwrap(this).metricPutRecordSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful PutRecord operations per Kinesis stream, measured over the specified @@ -615,7 +616,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsBytes(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsBytes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsBytes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of bytes put to the Kinesis stream using the PutRecords operation over the specified @@ -657,7 +658,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsFailedRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsFailedRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsFailedRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records rejected due to internal failures in a PutRecords operation per Kinesis @@ -695,7 +696,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsLatency(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The time taken per PutRecords operation, measured over the specified time period. @@ -732,7 +733,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsSuccess(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsSuccess(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsSuccess(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of PutRecords operations where at least one record succeeded, per Kinesis stream, @@ -770,7 +771,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsSuccessfulRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsSuccessfulRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsSuccessfulRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of successful records in a PutRecords operation per Kinesis data stream, measured @@ -808,7 +809,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsThrottledRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsThrottledRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsThrottledRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records rejected due to throttling in a PutRecords operation per Kinesis data @@ -846,7 +847,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricPutRecordsTotalRecords(props: MetricOptions): Metric = - unwrap(this).metricPutRecordsTotalRecords(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPutRecordsTotalRecords(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total number of records sent in a PutRecords operation per Kinesis data stream, measured @@ -904,7 +905,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricReadProvisionedThroughputExceeded(props: MetricOptions): Metric = - unwrap(this).metricReadProvisionedThroughputExceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricReadProvisionedThroughputExceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of GetRecords calls throttled for the stream over the specified time period. @@ -973,7 +974,7 @@ public open class Stream( * @param props properties of the metric. */ public override fun metricWriteProvisionedThroughputExceeded(props: MetricOptions): Metric = - unwrap(this).metricWriteProvisionedThroughputExceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricWriteProvisionedThroughputExceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of records rejected due to throttling for the stream over the specified time period. @@ -1042,6 +1043,15 @@ public open class Stream( */ public fun encryptionKey(encryptionKey: IKey) + /** + * Policy to apply when the stream is removed from the stack. + * + * Default: RemovalPolicy.RETAIN + * + * @param removalPolicy Policy to apply when the stream is removed from the stack. + */ + public fun removalPolicy(removalPolicy: RemovalPolicy) + /** * The number of hours for the data records that are stored in shards to remain accessible. * @@ -1102,7 +1112,7 @@ public open class Stream( * @param encryption The kind of server-side encryption to apply to this stream. */ override fun encryption(encryption: StreamEncryption) { - cdkBuilder.encryption(encryption.let(StreamEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(StreamEncryption.Companion::unwrap)) } /** @@ -1117,7 +1127,18 @@ public open class Stream( * @param encryptionKey External KMS key to use for stream encryption. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) + } + + /** + * Policy to apply when the stream is removed from the stack. + * + * Default: RemovalPolicy.RETAIN + * + * @param removalPolicy Policy to apply when the stream is removed from the stack. + */ + override fun removalPolicy(removalPolicy: RemovalPolicy) { + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1129,7 +1150,7 @@ public open class Stream( * remain accessible. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -1153,7 +1174,7 @@ public open class Stream( * @param streamMode The capacity mode of this stream. */ override fun streamMode(streamMode: StreamMode) { - cdkBuilder.streamMode(streamMode.let(StreamMode::unwrap)) + cdkBuilder.streamMode(streamMode.let(StreamMode.Companion::unwrap)) } /** @@ -1176,7 +1197,7 @@ public open class Stream( id: String, streamArn: String, ): IStream = - software.amazon.awscdk.services.kinesis.Stream.fromStreamArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.kinesis.Stream.fromStreamArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, streamArn).let(IStream::wrap) public fun fromStreamAttributes( @@ -1184,8 +1205,8 @@ public open class Stream( id: String, attrs: StreamAttributes, ): IStream = - software.amazon.awscdk.services.kinesis.Stream.fromStreamAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(StreamAttributes::unwrap)).let(IStream::wrap) + software.amazon.awscdk.services.kinesis.Stream.fromStreamAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(StreamAttributes.Companion::unwrap)).let(IStream::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef7ebd7feb27a37dfb1f0d6a36bd8d7bb4dbab3fa2f42817390c0e4d58ae82cf") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamAttributes.kt index 5718c8ea8f..5f1db374f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamAttributes.kt @@ -66,7 +66,7 @@ public interface StreamAttributes { * enabled. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamProps.kt index b081cff3fa..69b8b12011 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesis/StreamProps.kt @@ -3,6 +3,7 @@ package io.cloudshiftdev.awscdk.services.kinesis import io.cloudshiftdev.awscdk.Duration +import io.cloudshiftdev.awscdk.RemovalPolicy import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers @@ -49,6 +50,14 @@ public interface StreamProps { */ public fun encryptionKey(): IKey? = unwrap(this).getEncryptionKey()?.let(IKey::wrap) + /** + * Policy to apply when the stream is removed from the stack. + * + * Default: RemovalPolicy.RETAIN + */ + public fun removalPolicy(): RemovalPolicy? = + unwrap(this).getRemovalPolicy()?.let(RemovalPolicy::wrap) + /** * The number of hours for the data records that are stored in shards to remain accessible. * @@ -97,6 +106,11 @@ public interface StreamProps { */ public fun encryptionKey(encryptionKey: IKey) + /** + * @param removalPolicy Policy to apply when the stream is removed from the stack. + */ + public fun removalPolicy(removalPolicy: RemovalPolicy) + /** * @param retentionPeriod The number of hours for the data records that are stored in shards to * remain accessible. @@ -130,7 +144,7 @@ public interface StreamProps { * encryption key is not specified, a key will automatically be created. */ override fun encryption(encryption: StreamEncryption) { - cdkBuilder.encryption(encryption.let(StreamEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(StreamEncryption.Companion::unwrap)) } /** @@ -138,7 +152,14 @@ public interface StreamProps { * The 'encryption' property must be set to "Kms". */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) + } + + /** + * @param removalPolicy Policy to apply when the stream is removed from the stack. + */ + override fun removalPolicy(removalPolicy: RemovalPolicy) { + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -146,7 +167,7 @@ public interface StreamProps { * remain accessible. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -161,7 +182,7 @@ public interface StreamProps { * @param streamMode The capacity mode of this stream. */ override fun streamMode(streamMode: StreamMode) { - cdkBuilder.streamMode(streamMode.let(StreamMode::unwrap)) + cdkBuilder.streamMode(streamMode.let(StreamMode.Companion::unwrap)) } /** @@ -201,6 +222,14 @@ public interface StreamProps { */ override fun encryptionKey(): IKey? = unwrap(this).getEncryptionKey()?.let(IKey::wrap) + /** + * Policy to apply when the stream is removed from the stack. + * + * Default: RemovalPolicy.RETAIN + */ + override fun removalPolicy(): RemovalPolicy? = + unwrap(this).getRemovalPolicy()?.let(RemovalPolicy::wrap) + /** * The number of hours for the data records that are stored in shards to remain accessible. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplication.kt index 65347ad5d7..930b5526d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplication.kt @@ -93,8 +93,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -154,7 +154,7 @@ public open class CfnApplication( * Use this parameter to configure the application input. */ public open fun inputs(`value`: IResolvable) { - unwrap(this).setInputs(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnApplication( * @param inputs Use this parameter to configure the application input. */ override fun inputs(inputs: IResolvable) { - cdkBuilder.inputs(inputs.let(IResolvable::unwrap)) + cdkBuilder.inputs(inputs.let(IResolvable.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public open class CfnApplication( * application code. */ override fun inputLambdaProcessor(inputLambdaProcessor: IResolvable) { - cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(IResolvable::unwrap)) + cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(IResolvable.Companion::unwrap)) } /** @@ -887,7 +887,7 @@ public open class CfnApplication( * application code. */ override fun inputLambdaProcessor(inputLambdaProcessor: InputLambdaProcessorProperty) { - cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(InputLambdaProcessorProperty::unwrap)) + cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(InputLambdaProcessorProperty.Companion::unwrap)) } /** @@ -1243,7 +1243,7 @@ public open class CfnApplication( * Input](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html) . */ override fun inputParallelism(inputParallelism: IResolvable) { - cdkBuilder.inputParallelism(inputParallelism.let(IResolvable::unwrap)) + cdkBuilder.inputParallelism(inputParallelism.let(IResolvable.Companion::unwrap)) } /** @@ -1254,7 +1254,7 @@ public open class CfnApplication( * Input](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html) . */ override fun inputParallelism(inputParallelism: InputParallelismProperty) { - cdkBuilder.inputParallelism(inputParallelism.let(InputParallelismProperty::unwrap)) + cdkBuilder.inputParallelism(inputParallelism.let(InputParallelismProperty.Companion::unwrap)) } /** @@ -1279,7 +1279,7 @@ public open class CfnApplication( * . */ override fun inputProcessingConfiguration(inputProcessingConfiguration: IResolvable) { - cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1293,7 +1293,7 @@ public open class CfnApplication( */ override fun inputProcessingConfiguration(inputProcessingConfiguration: InputProcessingConfigurationProperty) { - cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(InputProcessingConfigurationProperty::unwrap)) + cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(InputProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -1319,7 +1319,7 @@ public open class CfnApplication( * Also used to describe the format of the reference data source. */ override fun inputSchema(inputSchema: IResolvable) { - cdkBuilder.inputSchema(inputSchema.let(IResolvable::unwrap)) + cdkBuilder.inputSchema(inputSchema.let(IResolvable.Companion::unwrap)) } /** @@ -1329,7 +1329,7 @@ public open class CfnApplication( * Also used to describe the format of the reference data source. */ override fun inputSchema(inputSchema: InputSchemaProperty) { - cdkBuilder.inputSchema(inputSchema.let(InputSchemaProperty::unwrap)) + cdkBuilder.inputSchema(inputSchema.let(InputSchemaProperty.Companion::unwrap)) } /** @@ -1350,7 +1350,7 @@ public open class CfnApplication( * Note: Either `KinesisStreamsInput` or `KinesisFirehoseInput` is required. */ override fun kinesisFirehoseInput(kinesisFirehoseInput: IResolvable) { - cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(IResolvable.Companion::unwrap)) } /** @@ -1360,7 +1360,7 @@ public open class CfnApplication( * Note: Either `KinesisStreamsInput` or `KinesisFirehoseInput` is required. */ override fun kinesisFirehoseInput(kinesisFirehoseInput: KinesisFirehoseInputProperty) { - cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(KinesisFirehoseInputProperty::unwrap)) + cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(KinesisFirehoseInputProperty.Companion::unwrap)) } /** @@ -1382,7 +1382,7 @@ public open class CfnApplication( * Note: Either `KinesisStreamsInput` or `KinesisFirehoseInput` is required. */ override fun kinesisStreamsInput(kinesisStreamsInput: IResolvable) { - cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(IResolvable.Companion::unwrap)) } /** @@ -1392,7 +1392,7 @@ public open class CfnApplication( * Note: Either `KinesisStreamsInput` or `KinesisFirehoseInput` is required. */ override fun kinesisStreamsInput(kinesisStreamsInput: KinesisStreamsInputProperty) { - cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(KinesisStreamsInputProperty::unwrap)) + cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(KinesisStreamsInputProperty.Companion::unwrap)) } /** @@ -1629,7 +1629,7 @@ public open class CfnApplication( * @param recordColumns A list of `RecordColumn` objects. */ override fun recordColumns(recordColumns: IResolvable) { - cdkBuilder.recordColumns(recordColumns.let(IResolvable::unwrap)) + cdkBuilder.recordColumns(recordColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1657,14 +1657,14 @@ public open class CfnApplication( * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: IResolvable) { - cdkBuilder.recordFormat(recordFormat.let(IResolvable::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(IResolvable.Companion::unwrap)) } /** * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: RecordFormatProperty) { - cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty.Companion::unwrap)) } /** @@ -2153,7 +2153,7 @@ public open class CfnApplication( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: IResolvable) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2161,7 +2161,7 @@ public open class CfnApplication( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: CSVMappingParametersProperty) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty.Companion::unwrap)) } /** @@ -2179,7 +2179,7 @@ public open class CfnApplication( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: IResolvable) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2187,7 +2187,7 @@ public open class CfnApplication( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: JSONMappingParametersProperty) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty.Companion::unwrap)) } /** @@ -2493,7 +2493,7 @@ public open class CfnApplication( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: IResolvable) { - cdkBuilder.mappingParameters(mappingParameters.let(IResolvable::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2502,7 +2502,7 @@ public open class CfnApplication( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: MappingParametersProperty) { - cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2.kt index 27875b744f..628a2d2076 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2.kt @@ -49,8 +49,8 @@ public open class CfnApplicationCloudWatchLoggingOptionV2( id: String, props: CfnApplicationCloudWatchLoggingOptionV2Props, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationCloudWatchLoggingOptionV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationCloudWatchLoggingOptionV2Props::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationCloudWatchLoggingOptionV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationCloudWatchLoggingOptionV2Props.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnApplicationCloudWatchLoggingOptionV2( * Resource Name (ARN). */ public open fun cloudWatchLoggingOption(`value`: IResolvable) { - unwrap(this).setCloudWatchLoggingOption(`value`.let(IResolvable::unwrap)) + unwrap(this).setCloudWatchLoggingOption(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class CfnApplicationCloudWatchLoggingOptionV2( * Resource Name (ARN). */ public open fun cloudWatchLoggingOption(`value`: CloudWatchLoggingOptionProperty) { - unwrap(this).setCloudWatchLoggingOption(`value`.let(CloudWatchLoggingOptionProperty::unwrap)) + unwrap(this).setCloudWatchLoggingOption(`value`.let(CloudWatchLoggingOptionProperty.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnApplicationCloudWatchLoggingOptionV2( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnApplicationCloudWatchLoggingOptionV2( * including the log stream Amazon Resource Name (ARN). */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: IResolvable) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnApplicationCloudWatchLoggingOptionV2( * including the log stream Amazon Resource Name (ARN). */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: CloudWatchLoggingOptionProperty) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CloudWatchLoggingOptionProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CloudWatchLoggingOptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2Props.kt index 70e7f01171..2bcd91679c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationCloudWatchLoggingOptionV2Props.kt @@ -98,7 +98,7 @@ public interface CfnApplicationCloudWatchLoggingOptionV2Props { * including the log stream Amazon Resource Name (ARN). */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: IResolvable) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface CfnApplicationCloudWatchLoggingOptionV2Props { */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CfnApplicationCloudWatchLoggingOptionV2.CloudWatchLoggingOptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutput.kt index f1f9f4530a..e9fe520f70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutput.kt @@ -81,8 +81,8 @@ public open class CfnApplicationOutput( id: String, props: CfnApplicationOutputProps, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutput(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationOutputProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationOutputProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnApplicationOutput( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -127,14 +127,14 @@ public open class CfnApplicationOutput( * An array of objects, each describing one output configuration. */ public open fun output(`value`: IResolvable) { - unwrap(this).setOutput(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutput(`value`.let(IResolvable.Companion::unwrap)) } /** * An array of objects, each describing one output configuration. */ public open fun output(`value`: OutputProperty) { - unwrap(this).setOutput(`value`.let(OutputProperty::unwrap)) + unwrap(this).setOutput(`value`.let(OutputProperty.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnApplicationOutput( * @param output An array of objects, each describing one output configuration. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnApplicationOutput( * @param output An array of objects, each describing one output configuration. */ override fun output(output: OutputProperty) { - cdkBuilder.output(output.let(OutputProperty::unwrap)) + cdkBuilder.output(output.let(OutputProperty.Companion::unwrap)) } /** @@ -952,7 +952,7 @@ public open class CfnApplicationOutput( * Output](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html) . */ override fun destinationSchema(destinationSchema: IResolvable) { - cdkBuilder.destinationSchema(destinationSchema.let(IResolvable::unwrap)) + cdkBuilder.destinationSchema(destinationSchema.let(IResolvable.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public open class CfnApplicationOutput( * Output](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html) . */ override fun destinationSchema(destinationSchema: DestinationSchemaProperty) { - cdkBuilder.destinationSchema(destinationSchema.let(DestinationSchemaProperty::unwrap)) + cdkBuilder.destinationSchema(destinationSchema.let(DestinationSchemaProperty.Companion::unwrap)) } /** @@ -982,7 +982,7 @@ public open class CfnApplicationOutput( * destination. */ override fun kinesisFirehoseOutput(kinesisFirehoseOutput: IResolvable) { - cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(IResolvable.Companion::unwrap)) } /** @@ -990,7 +990,7 @@ public open class CfnApplicationOutput( * destination. */ override fun kinesisFirehoseOutput(kinesisFirehoseOutput: KinesisFirehoseOutputProperty) { - cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(KinesisFirehoseOutputProperty::unwrap)) + cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(KinesisFirehoseOutputProperty.Companion::unwrap)) } /** @@ -1007,14 +1007,14 @@ public open class CfnApplicationOutput( * @param kinesisStreamsOutput Identifies an Amazon Kinesis stream as the destination. */ override fun kinesisStreamsOutput(kinesisStreamsOutput: IResolvable) { - cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(IResolvable.Companion::unwrap)) } /** * @param kinesisStreamsOutput Identifies an Amazon Kinesis stream as the destination. */ override fun kinesisStreamsOutput(kinesisStreamsOutput: KinesisStreamsOutputProperty) { - cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(KinesisStreamsOutputProperty::unwrap)) + cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(KinesisStreamsOutputProperty.Companion::unwrap)) } /** @@ -1030,14 +1030,14 @@ public open class CfnApplicationOutput( * @param lambdaOutput Identifies an AWS Lambda function as the destination. */ override fun lambdaOutput(lambdaOutput: IResolvable) { - cdkBuilder.lambdaOutput(lambdaOutput.let(IResolvable::unwrap)) + cdkBuilder.lambdaOutput(lambdaOutput.let(IResolvable.Companion::unwrap)) } /** * @param lambdaOutput Identifies an AWS Lambda function as the destination. */ override fun lambdaOutput(lambdaOutput: LambdaOutputProperty) { - cdkBuilder.lambdaOutput(lambdaOutput.let(LambdaOutputProperty::unwrap)) + cdkBuilder.lambdaOutput(lambdaOutput.let(LambdaOutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputProps.kt index ce86a92b62..1c3e5d3499 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputProps.kt @@ -123,7 +123,7 @@ public interface CfnApplicationOutputProps { * function), and record the formation to use when writing to the destination. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface CfnApplicationOutputProps { * function), and record the formation to use when writing to the destination. */ override fun output(output: CfnApplicationOutput.OutputProperty) { - cdkBuilder.output(output.let(CfnApplicationOutput.OutputProperty::unwrap)) + cdkBuilder.output(output.let(CfnApplicationOutput.OutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2.kt index 1a7346e4ae..eef822cf38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2.kt @@ -76,8 +76,8 @@ public open class CfnApplicationOutputV2( id: String, props: CfnApplicationOutputV2Props, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutputV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationOutputV2Props::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutputV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationOutputV2Props.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnApplicationOutputV2( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnApplicationOutputV2( * to be written. */ public open fun output(`value`: IResolvable) { - unwrap(this).setOutput(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutput(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnApplicationOutputV2( * to be written. */ public open fun output(`value`: OutputProperty) { - unwrap(this).setOutput(`value`.let(OutputProperty::unwrap)) + unwrap(this).setOutput(`value`.let(OutputProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnApplicationOutputV2( * the in-application stream data to be written. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnApplicationOutputV2( * the in-application stream data to be written. */ override fun output(output: OutputProperty) { - cdkBuilder.output(output.let(OutputProperty::unwrap)) + cdkBuilder.output(output.let(OutputProperty.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnApplicationOutputV2( * destination. */ override fun destinationSchema(destinationSchema: IResolvable) { - cdkBuilder.destinationSchema(destinationSchema.let(IResolvable::unwrap)) + cdkBuilder.destinationSchema(destinationSchema.let(IResolvable.Companion::unwrap)) } /** @@ -842,7 +842,7 @@ public open class CfnApplicationOutputV2( * destination. */ override fun destinationSchema(destinationSchema: DestinationSchemaProperty) { - cdkBuilder.destinationSchema(destinationSchema.let(DestinationSchemaProperty::unwrap)) + cdkBuilder.destinationSchema(destinationSchema.let(DestinationSchemaProperty.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public open class CfnApplicationOutputV2( * destination. */ override fun kinesisFirehoseOutput(kinesisFirehoseOutput: IResolvable) { - cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(IResolvable.Companion::unwrap)) } /** @@ -868,7 +868,7 @@ public open class CfnApplicationOutputV2( * destination. */ override fun kinesisFirehoseOutput(kinesisFirehoseOutput: KinesisFirehoseOutputProperty) { - cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(KinesisFirehoseOutputProperty::unwrap)) + cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(KinesisFirehoseOutputProperty.Companion::unwrap)) } /** @@ -885,14 +885,14 @@ public open class CfnApplicationOutputV2( * @param kinesisStreamsOutput Identifies a Kinesis data stream as the destination. */ override fun kinesisStreamsOutput(kinesisStreamsOutput: IResolvable) { - cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(IResolvable.Companion::unwrap)) } /** * @param kinesisStreamsOutput Identifies a Kinesis data stream as the destination. */ override fun kinesisStreamsOutput(kinesisStreamsOutput: KinesisStreamsOutputProperty) { - cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(KinesisStreamsOutputProperty::unwrap)) + cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(KinesisStreamsOutputProperty.Companion::unwrap)) } /** @@ -908,14 +908,14 @@ public open class CfnApplicationOutputV2( * @param lambdaOutput Identifies an Amazon Lambda function as the destination. */ override fun lambdaOutput(lambdaOutput: IResolvable) { - cdkBuilder.lambdaOutput(lambdaOutput.let(IResolvable::unwrap)) + cdkBuilder.lambdaOutput(lambdaOutput.let(IResolvable.Companion::unwrap)) } /** * @param lambdaOutput Identifies an Amazon Lambda function as the destination. */ override fun lambdaOutput(lambdaOutput: LambdaOutputProperty) { - cdkBuilder.lambdaOutput(lambdaOutput.let(LambdaOutputProperty::unwrap)) + cdkBuilder.lambdaOutput(lambdaOutput.let(LambdaOutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2Props.kt index 263154f351..9e9501e25e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationOutputV2Props.kt @@ -118,7 +118,7 @@ public interface CfnApplicationOutputV2Props { * The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface CfnApplicationOutputV2Props { * The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream. */ override fun output(output: CfnApplicationOutputV2.OutputProperty) { - cdkBuilder.output(output.let(CfnApplicationOutputV2.OutputProperty::unwrap)) + cdkBuilder.output(output.let(CfnApplicationOutputV2.OutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationProps.kt index 33771e7a04..9456a2aa40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationProps.kt @@ -274,7 +274,7 @@ public interface CfnApplicationProps { * elements in the streaming source to record columns in the in-app stream. */ override fun inputs(inputs: IResolvable) { - cdkBuilder.inputs(inputs.let(IResolvable::unwrap)) + cdkBuilder.inputs(inputs.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSource.kt index edb0752467..c066c3a049 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSource.kt @@ -88,8 +88,8 @@ public open class CfnApplicationReferenceDataSource( id: String, props: CfnApplicationReferenceDataSourceProps, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationReferenceDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationReferenceDataSourceProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnApplicationReferenceDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,14 +134,14 @@ public open class CfnApplicationReferenceDataSource( * The reference data source can be an object in your Amazon S3 bucket. */ public open fun referenceDataSource(`value`: IResolvable) { - unwrap(this).setReferenceDataSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setReferenceDataSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The reference data source can be an object in your Amazon S3 bucket. */ public open fun referenceDataSource(`value`: ReferenceDataSourceProperty) { - unwrap(this).setReferenceDataSource(`value`.let(ReferenceDataSourceProperty::unwrap)) + unwrap(this).setReferenceDataSource(`value`.let(ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnApplicationReferenceDataSource( * bucket. */ override fun referenceDataSource(referenceDataSource: IResolvable) { - cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnApplicationReferenceDataSource( * bucket. */ override fun referenceDataSource(referenceDataSource: ReferenceDataSourceProperty) { - cdkBuilder.referenceDataSource(referenceDataSource.let(ReferenceDataSourceProperty::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnApplicationReferenceDataSource( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: IResolvable) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class CfnApplicationReferenceDataSource( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: CSVMappingParametersProperty) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public open class CfnApplicationReferenceDataSource( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: IResolvable) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnApplicationReferenceDataSource( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: JSONMappingParametersProperty) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public open class CfnApplicationReferenceDataSource( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: IResolvable) { - cdkBuilder.mappingParameters(mappingParameters.let(IResolvable::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -970,7 +970,7 @@ public open class CfnApplicationReferenceDataSource( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: MappingParametersProperty) { - cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty.Companion::unwrap)) } /** @@ -1184,7 +1184,7 @@ public open class CfnApplicationReferenceDataSource( * each data element maps to corresponding columns created in the in-application stream. */ override fun referenceSchema(referenceSchema: IResolvable) { - cdkBuilder.referenceSchema(referenceSchema.let(IResolvable::unwrap)) + cdkBuilder.referenceSchema(referenceSchema.let(IResolvable.Companion::unwrap)) } /** @@ -1192,7 +1192,7 @@ public open class CfnApplicationReferenceDataSource( * each data element maps to corresponding columns created in the in-application stream. */ override fun referenceSchema(referenceSchema: ReferenceSchemaProperty) { - cdkBuilder.referenceSchema(referenceSchema.let(ReferenceSchemaProperty::unwrap)) + cdkBuilder.referenceSchema(referenceSchema.let(ReferenceSchemaProperty.Companion::unwrap)) } /** @@ -1213,7 +1213,7 @@ public open class CfnApplicationReferenceDataSource( * your application. */ override fun s3ReferenceDataSource(s3ReferenceDataSource: IResolvable) { - cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -1225,7 +1225,7 @@ public open class CfnApplicationReferenceDataSource( * your application. */ override fun s3ReferenceDataSource(s3ReferenceDataSource: S3ReferenceDataSourceProperty) { - cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(S3ReferenceDataSourceProperty::unwrap)) + cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(S3ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -1418,7 +1418,7 @@ public open class CfnApplicationReferenceDataSource( * @param recordColumns A list of RecordColumn objects. */ override fun recordColumns(recordColumns: IResolvable) { - cdkBuilder.recordColumns(recordColumns.let(IResolvable::unwrap)) + cdkBuilder.recordColumns(recordColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1446,14 +1446,14 @@ public open class CfnApplicationReferenceDataSource( * @param recordFormat Specifies the format of the records on the reference source. */ override fun recordFormat(recordFormat: IResolvable) { - cdkBuilder.recordFormat(recordFormat.let(IResolvable::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(IResolvable.Companion::unwrap)) } /** * @param recordFormat Specifies the format of the records on the reference source. */ override fun recordFormat(recordFormat: RecordFormatProperty) { - cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceProps.kt index 5e4e1af487..c5cee74388 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceProps.kt @@ -147,7 +147,7 @@ public interface CfnApplicationReferenceDataSourceProps { * Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf. */ override fun referenceDataSource(referenceDataSource: IResolvable) { - cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface CfnApplicationReferenceDataSourceProps { */ override fun referenceDataSource(referenceDataSource: CfnApplicationReferenceDataSource.ReferenceDataSourceProperty) { - cdkBuilder.referenceDataSource(referenceDataSource.let(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2.kt index afd079509b..920522d7d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2.kt @@ -79,8 +79,8 @@ public open class CfnApplicationReferenceDataSourceV2( id: String, props: CfnApplicationReferenceDataSourceV2Props, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationReferenceDataSourceV2Props::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationReferenceDataSourceV2Props.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnApplicationReferenceDataSourceV2( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnApplicationReferenceDataSourceV2( * the Amazon S3 object to the in-application table. */ public open fun referenceDataSource(`value`: IResolvable) { - unwrap(this).setReferenceDataSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setReferenceDataSource(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnApplicationReferenceDataSourceV2( * the Amazon S3 object to the in-application table. */ public open fun referenceDataSource(`value`: ReferenceDataSourceProperty) { - unwrap(this).setReferenceDataSource(`value`.let(ReferenceDataSourceProperty::unwrap)) + unwrap(this).setReferenceDataSource(`value`.let(ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnApplicationReferenceDataSourceV2( * the data elements in the Amazon S3 object to the in-application table. */ override fun referenceDataSource(referenceDataSource: IResolvable) { - cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnApplicationReferenceDataSourceV2( * the data elements in the Amazon S3 object to the in-application table. */ override fun referenceDataSource(referenceDataSource: ReferenceDataSourceProperty) { - cdkBuilder.referenceDataSource(referenceDataSource.let(ReferenceDataSourceProperty::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnApplicationReferenceDataSourceV2( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: IResolvable) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnApplicationReferenceDataSourceV2( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: CSVMappingParametersProperty) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnApplicationReferenceDataSourceV2( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: IResolvable) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnApplicationReferenceDataSourceV2( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: JSONMappingParametersProperty) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty.Companion::unwrap)) } /** @@ -955,7 +955,7 @@ public open class CfnApplicationReferenceDataSourceV2( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: IResolvable) { - cdkBuilder.mappingParameters(mappingParameters.let(IResolvable::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -964,7 +964,7 @@ public open class CfnApplicationReferenceDataSourceV2( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: MappingParametersProperty) { - cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class CfnApplicationReferenceDataSourceV2( * each data element maps to corresponding columns created in the in-application stream. */ override fun referenceSchema(referenceSchema: IResolvable) { - cdkBuilder.referenceSchema(referenceSchema.let(IResolvable::unwrap)) + cdkBuilder.referenceSchema(referenceSchema.let(IResolvable.Companion::unwrap)) } /** @@ -1186,7 +1186,7 @@ public open class CfnApplicationReferenceDataSourceV2( * each data element maps to corresponding columns created in the in-application stream. */ override fun referenceSchema(referenceSchema: ReferenceSchemaProperty) { - cdkBuilder.referenceSchema(referenceSchema.let(ReferenceSchemaProperty::unwrap)) + cdkBuilder.referenceSchema(referenceSchema.let(ReferenceSchemaProperty.Companion::unwrap)) } /** @@ -1207,7 +1207,7 @@ public open class CfnApplicationReferenceDataSourceV2( * operation to trigger reloading of data into your application. */ override fun s3ReferenceDataSource(s3ReferenceDataSource: IResolvable) { - cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -1219,7 +1219,7 @@ public open class CfnApplicationReferenceDataSourceV2( * operation to trigger reloading of data into your application. */ override fun s3ReferenceDataSource(s3ReferenceDataSource: S3ReferenceDataSourceProperty) { - cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(S3ReferenceDataSourceProperty::unwrap)) + cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(S3ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class CfnApplicationReferenceDataSourceV2( * @param recordColumns A list of `RecordColumn` objects. */ override fun recordColumns(recordColumns: IResolvable) { - cdkBuilder.recordColumns(recordColumns.let(IResolvable::unwrap)) + cdkBuilder.recordColumns(recordColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1441,14 +1441,14 @@ public open class CfnApplicationReferenceDataSourceV2( * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: IResolvable) { - cdkBuilder.recordFormat(recordFormat.let(IResolvable::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(IResolvable.Companion::unwrap)) } /** * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: RecordFormatProperty) { - cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2Props.kt index 464d437a58..c3f1ffccea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationReferenceDataSourceV2Props.kt @@ -136,7 +136,7 @@ public interface CfnApplicationReferenceDataSourceV2Props { * the data elements in the Amazon S3 object to the in-application table. */ override fun referenceDataSource(referenceDataSource: IResolvable) { - cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface CfnApplicationReferenceDataSourceV2Props { */ override fun referenceDataSource(referenceDataSource: CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty) { - cdkBuilder.referenceDataSource(referenceDataSource.let(CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2.kt index 7b9b717488..2e584a76cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2.kt @@ -198,8 +198,8 @@ public open class CfnApplicationV2( id: String, props: CfnApplicationV2Props, ) : - this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationV2Props::unwrap)) + this(software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationV2Props.Companion::unwrap)) ) public constructor( @@ -218,14 +218,14 @@ public open class CfnApplicationV2( * Use this parameter to configure the application. */ public open fun applicationConfiguration(`value`: IResolvable) { - unwrap(this).setApplicationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Use this parameter to configure the application. */ public open fun applicationConfiguration(`value`: ApplicationConfigurationProperty) { - unwrap(this).setApplicationConfiguration(`value`.let(ApplicationConfigurationProperty::unwrap)) + unwrap(this).setApplicationConfiguration(`value`.let(ApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnApplicationV2( * Describes the maintenance configuration for the application. */ public open fun applicationMaintenanceConfiguration(`value`: IResolvable) { - unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class CfnApplicationV2( */ public open fun applicationMaintenanceConfiguration(`value`: ApplicationMaintenanceConfigurationProperty) { - unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(ApplicationMaintenanceConfigurationProperty::unwrap)) + unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(ApplicationMaintenanceConfigurationProperty.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnApplicationV2( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -322,14 +322,14 @@ public open class CfnApplicationV2( * Describes the starting parameters for an Managed Service for Apache Flink application. */ public open fun runConfiguration(`value`: IResolvable) { - unwrap(this).setRunConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRunConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the starting parameters for an Managed Service for Apache Flink application. */ public open fun runConfiguration(`value`: RunConfigurationProperty) { - unwrap(this).setRunConfiguration(`value`.let(RunConfigurationProperty::unwrap)) + unwrap(this).setRunConfiguration(`value`.let(RunConfigurationProperty.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnApplicationV2( * A list of one or more tags to assign to the application. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class CfnApplicationV2( * @param applicationConfiguration Use this parameter to configure the application. */ override fun applicationConfiguration(applicationConfiguration: IResolvable) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnApplicationV2( */ override fun applicationConfiguration(applicationConfiguration: ApplicationConfigurationProperty) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(ApplicationConfigurationProperty::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(ApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class CfnApplicationV2( */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: IResolvable) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class CfnApplicationV2( */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: ApplicationMaintenanceConfigurationProperty) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(ApplicationMaintenanceConfigurationProperty::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(ApplicationMaintenanceConfigurationProperty.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnApplicationV2( * Flink application. */ override fun runConfiguration(runConfiguration: IResolvable) { - cdkBuilder.runConfiguration(runConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnApplicationV2( * Flink application. */ override fun runConfiguration(runConfiguration: RunConfigurationProperty) { - cdkBuilder.runConfiguration(runConfiguration.let(RunConfigurationProperty::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(RunConfigurationProperty.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class CfnApplicationV2( * @param tags A list of one or more tags to assign to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -850,14 +850,14 @@ public open class CfnApplicationV2( * @param codeContent The location and type of the application code. */ override fun codeContent(codeContent: IResolvable) { - cdkBuilder.codeContent(codeContent.let(IResolvable::unwrap)) + cdkBuilder.codeContent(codeContent.let(IResolvable.Companion::unwrap)) } /** * @param codeContent The location and type of the application code. */ override fun codeContent(codeContent: CodeContentProperty) { - cdkBuilder.codeContent(codeContent.let(CodeContentProperty::unwrap)) + cdkBuilder.codeContent(codeContent.let(CodeContentProperty.Companion::unwrap)) } /** @@ -1276,7 +1276,7 @@ public open class CfnApplicationV2( * Service for Apache Flink application. */ override fun applicationCodeConfiguration(applicationCodeConfiguration: IResolvable) { - cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public open class CfnApplicationV2( */ override fun applicationCodeConfiguration(applicationCodeConfiguration: ApplicationCodeConfigurationProperty) { - cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(ApplicationCodeConfigurationProperty::unwrap)) + cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(ApplicationCodeConfigurationProperty.Companion::unwrap)) } /** @@ -1304,7 +1304,7 @@ public open class CfnApplicationV2( * Managed Service for Apache Flink application. */ override fun applicationSnapshotConfiguration(applicationSnapshotConfiguration: IResolvable) { - cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1313,7 +1313,7 @@ public open class CfnApplicationV2( */ override fun applicationSnapshotConfiguration(applicationSnapshotConfiguration: ApplicationSnapshotConfigurationProperty) { - cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(ApplicationSnapshotConfigurationProperty::unwrap)) + cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(ApplicationSnapshotConfigurationProperty.Companion::unwrap)) } /** @@ -1332,7 +1332,7 @@ public open class CfnApplicationV2( * Apache Flink application. */ override fun environmentProperties(environmentProperties: IResolvable) { - cdkBuilder.environmentProperties(environmentProperties.let(IResolvable::unwrap)) + cdkBuilder.environmentProperties(environmentProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1340,7 +1340,7 @@ public open class CfnApplicationV2( * Apache Flink application. */ override fun environmentProperties(environmentProperties: EnvironmentPropertiesProperty) { - cdkBuilder.environmentProperties(environmentProperties.let(EnvironmentPropertiesProperty::unwrap)) + cdkBuilder.environmentProperties(environmentProperties.let(EnvironmentPropertiesProperty.Companion::unwrap)) } /** @@ -1358,7 +1358,7 @@ public open class CfnApplicationV2( * Service for Apache Flink application. */ override fun flinkApplicationConfiguration(flinkApplicationConfiguration: IResolvable) { - cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1367,7 +1367,7 @@ public open class CfnApplicationV2( */ override fun flinkApplicationConfiguration(flinkApplicationConfiguration: FlinkApplicationConfigurationProperty) { - cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(FlinkApplicationConfigurationProperty::unwrap)) + cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(FlinkApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1386,7 +1386,7 @@ public open class CfnApplicationV2( * Kinesis Data Analytics application. */ override fun sqlApplicationConfiguration(sqlApplicationConfiguration: IResolvable) { - cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1395,7 +1395,7 @@ public open class CfnApplicationV2( */ override fun sqlApplicationConfiguration(sqlApplicationConfiguration: SqlApplicationConfigurationProperty) { - cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(SqlApplicationConfigurationProperty::unwrap)) + cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(SqlApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1414,7 +1414,7 @@ public open class CfnApplicationV2( * application. */ override fun vpcConfigurations(vpcConfigurations: IResolvable) { - cdkBuilder.vpcConfigurations(vpcConfigurations.let(IResolvable::unwrap)) + cdkBuilder.vpcConfigurations(vpcConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1437,7 +1437,7 @@ public open class CfnApplicationV2( * Analytics Studio notebook. */ override fun zeppelinApplicationConfiguration(zeppelinApplicationConfiguration: IResolvable) { - cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1446,7 +1446,7 @@ public open class CfnApplicationV2( */ override fun zeppelinApplicationConfiguration(zeppelinApplicationConfiguration: ZeppelinApplicationConfigurationProperty) { - cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(ZeppelinApplicationConfigurationProperty::unwrap)) + cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(ZeppelinApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1818,7 +1818,7 @@ public open class CfnApplicationV2( * Apache Flink application. */ override fun snapshotsEnabled(snapshotsEnabled: IResolvable) { - cdkBuilder.snapshotsEnabled(snapshotsEnabled.let(IResolvable::unwrap)) + cdkBuilder.snapshotsEnabled(snapshotsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2066,7 +2066,7 @@ public open class CfnApplicationV2( * in a Kinesis Data Analytics Studio notebook. */ override fun glueDataCatalogConfiguration(glueDataCatalogConfiguration: IResolvable) { - cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2077,7 +2077,7 @@ public open class CfnApplicationV2( */ override fun glueDataCatalogConfiguration(glueDataCatalogConfiguration: GlueDataCatalogConfigurationProperty) { - cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(GlueDataCatalogConfigurationProperty::unwrap)) + cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(GlueDataCatalogConfigurationProperty.Companion::unwrap)) } /** @@ -2336,7 +2336,7 @@ public open class CfnApplicationV2( * API or in application code. */ override fun checkpointingEnabled(checkpointingEnabled: IResolvable) { - cdkBuilder.checkpointingEnabled(checkpointingEnabled.let(IResolvable::unwrap)) + cdkBuilder.checkpointingEnabled(checkpointingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2566,7 +2566,7 @@ public open class CfnApplicationV2( * application code. */ override fun s3ContentLocation(s3ContentLocation: IResolvable) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable.Companion::unwrap)) } /** @@ -2574,7 +2574,7 @@ public open class CfnApplicationV2( * application code. */ override fun s3ContentLocation(s3ContentLocation: S3ContentLocationProperty) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty.Companion::unwrap)) } /** @@ -2770,14 +2770,14 @@ public open class CfnApplicationV2( * @param mavenReference The parameters required to fully specify a Maven reference. */ override fun mavenReference(mavenReference: IResolvable) { - cdkBuilder.mavenReference(mavenReference.let(IResolvable::unwrap)) + cdkBuilder.mavenReference(mavenReference.let(IResolvable.Companion::unwrap)) } /** * @param mavenReference The parameters required to fully specify a Maven reference. */ override fun mavenReference(mavenReference: MavenReferenceProperty) { - cdkBuilder.mavenReference(mavenReference.let(MavenReferenceProperty::unwrap)) + cdkBuilder.mavenReference(mavenReference.let(MavenReferenceProperty.Companion::unwrap)) } /** @@ -2792,14 +2792,14 @@ public open class CfnApplicationV2( * @param s3ContentLocation The location of the custom artifacts. */ override fun s3ContentLocation(s3ContentLocation: IResolvable) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable.Companion::unwrap)) } /** * @param s3ContentLocation The location of the custom artifacts. */ override fun s3ContentLocation(s3ContentLocation: S3ContentLocationProperty) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty.Companion::unwrap)) } /** @@ -2941,7 +2941,7 @@ public open class CfnApplicationV2( * object that contains the data. */ override fun s3ContentLocation(s3ContentLocation: IResolvable) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable.Companion::unwrap)) } /** @@ -2951,7 +2951,7 @@ public open class CfnApplicationV2( * object that contains the data. */ override fun s3ContentLocation(s3ContentLocation: S3ContentBaseLocationProperty) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentBaseLocationProperty::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentBaseLocationProperty.Companion::unwrap)) } /** @@ -3063,7 +3063,7 @@ public open class CfnApplicationV2( * @param propertyGroups Describes the execution property groups. */ override fun propertyGroups(propertyGroups: IResolvable) { - cdkBuilder.propertyGroups(propertyGroups.let(IResolvable::unwrap)) + cdkBuilder.propertyGroups(propertyGroups.let(IResolvable.Companion::unwrap)) } /** @@ -3280,7 +3280,7 @@ public open class CfnApplicationV2( * . */ override fun checkpointConfiguration(checkpointConfiguration: IResolvable) { - cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3294,7 +3294,7 @@ public open class CfnApplicationV2( */ override fun checkpointConfiguration(checkpointConfiguration: CheckpointConfigurationProperty) { - cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(CheckpointConfigurationProperty::unwrap)) + cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(CheckpointConfigurationProperty.Companion::unwrap)) } /** @@ -3317,7 +3317,7 @@ public open class CfnApplicationV2( * logging for an application. */ override fun monitoringConfiguration(monitoringConfiguration: IResolvable) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3326,7 +3326,7 @@ public open class CfnApplicationV2( */ override fun monitoringConfiguration(monitoringConfiguration: MonitoringConfigurationProperty) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(MonitoringConfigurationProperty::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(MonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -3344,7 +3344,7 @@ public open class CfnApplicationV2( * multiple tasks simultaneously. */ override fun parallelismConfiguration(parallelismConfiguration: IResolvable) { - cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(IResolvable::unwrap)) + cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3353,7 +3353,7 @@ public open class CfnApplicationV2( */ override fun parallelismConfiguration(parallelismConfiguration: ParallelismConfigurationProperty) { - cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(ParallelismConfigurationProperty::unwrap)) + cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(ParallelismConfigurationProperty.Companion::unwrap)) } /** @@ -3548,7 +3548,7 @@ public open class CfnApplicationV2( * `true` . */ override fun allowNonRestoredState(allowNonRestoredState: IResolvable) { - cdkBuilder.allowNonRestoredState(allowNonRestoredState.let(IResolvable::unwrap)) + cdkBuilder.allowNonRestoredState(allowNonRestoredState.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3958,7 +3958,7 @@ public open class CfnApplicationV2( * application code. */ override fun inputLambdaProcessor(inputLambdaProcessor: IResolvable) { - cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(IResolvable::unwrap)) + cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(IResolvable.Companion::unwrap)) } /** @@ -3968,7 +3968,7 @@ public open class CfnApplicationV2( * application code. */ override fun inputLambdaProcessor(inputLambdaProcessor: InputLambdaProcessorProperty) { - cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(InputLambdaProcessorProperty::unwrap)) + cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(InputLambdaProcessorProperty.Companion::unwrap)) } /** @@ -4280,14 +4280,14 @@ public open class CfnApplicationV2( * @param inputParallelism Describes the number of in-application streams to create. */ override fun inputParallelism(inputParallelism: IResolvable) { - cdkBuilder.inputParallelism(inputParallelism.let(IResolvable::unwrap)) + cdkBuilder.inputParallelism(inputParallelism.let(IResolvable.Companion::unwrap)) } /** * @param inputParallelism Describes the number of in-application streams to create. */ override fun inputParallelism(inputParallelism: InputParallelismProperty) { - cdkBuilder.inputParallelism(inputParallelism.let(InputParallelismProperty::unwrap)) + cdkBuilder.inputParallelism(inputParallelism.let(InputParallelismProperty.Companion::unwrap)) } /** @@ -4308,7 +4308,7 @@ public open class CfnApplicationV2( * . */ override fun inputProcessingConfiguration(inputProcessingConfiguration: IResolvable) { - cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4322,7 +4322,7 @@ public open class CfnApplicationV2( */ override fun inputProcessingConfiguration(inputProcessingConfiguration: InputProcessingConfigurationProperty) { - cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(InputProcessingConfigurationProperty::unwrap)) + cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(InputProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -4348,7 +4348,7 @@ public open class CfnApplicationV2( * Also used to describe the format of the reference data source. */ override fun inputSchema(inputSchema: IResolvable) { - cdkBuilder.inputSchema(inputSchema.let(IResolvable::unwrap)) + cdkBuilder.inputSchema(inputSchema.let(IResolvable.Companion::unwrap)) } /** @@ -4358,7 +4358,7 @@ public open class CfnApplicationV2( * Also used to describe the format of the reference data source. */ override fun inputSchema(inputSchema: InputSchemaProperty) { - cdkBuilder.inputSchema(inputSchema.let(InputSchemaProperty::unwrap)) + cdkBuilder.inputSchema(inputSchema.let(InputSchemaProperty.Companion::unwrap)) } /** @@ -4377,7 +4377,7 @@ public open class CfnApplicationV2( * delivery stream, identifies the delivery stream's ARN. */ override fun kinesisFirehoseInput(kinesisFirehoseInput: IResolvable) { - cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(IResolvable.Companion::unwrap)) } /** @@ -4385,7 +4385,7 @@ public open class CfnApplicationV2( * delivery stream, identifies the delivery stream's ARN. */ override fun kinesisFirehoseInput(kinesisFirehoseInput: KinesisFirehoseInputProperty) { - cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(KinesisFirehoseInputProperty::unwrap)) + cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(KinesisFirehoseInputProperty.Companion::unwrap)) } /** @@ -4403,7 +4403,7 @@ public open class CfnApplicationV2( * identifies the stream's Amazon Resource Name (ARN). */ override fun kinesisStreamsInput(kinesisStreamsInput: IResolvable) { - cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(IResolvable.Companion::unwrap)) } /** @@ -4411,7 +4411,7 @@ public open class CfnApplicationV2( * identifies the stream's Amazon Resource Name (ARN). */ override fun kinesisStreamsInput(kinesisStreamsInput: KinesisStreamsInputProperty) { - cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(KinesisStreamsInputProperty::unwrap)) + cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(KinesisStreamsInputProperty.Companion::unwrap)) } /** @@ -4634,7 +4634,7 @@ public open class CfnApplicationV2( * @param recordColumns A list of `RecordColumn` objects. */ override fun recordColumns(recordColumns: IResolvable) { - cdkBuilder.recordColumns(recordColumns.let(IResolvable::unwrap)) + cdkBuilder.recordColumns(recordColumns.let(IResolvable.Companion::unwrap)) } /** @@ -4662,14 +4662,14 @@ public open class CfnApplicationV2( * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: IResolvable) { - cdkBuilder.recordFormat(recordFormat.let(IResolvable::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(IResolvable.Companion::unwrap)) } /** * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: RecordFormatProperty) { - cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty.Companion::unwrap)) } /** @@ -5085,7 +5085,7 @@ public open class CfnApplicationV2( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: IResolvable) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5093,7 +5093,7 @@ public open class CfnApplicationV2( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: CSVMappingParametersProperty) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty.Companion::unwrap)) } /** @@ -5111,7 +5111,7 @@ public open class CfnApplicationV2( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: IResolvable) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5119,7 +5119,7 @@ public open class CfnApplicationV2( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: JSONMappingParametersProperty) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty.Companion::unwrap)) } /** @@ -5611,7 +5611,7 @@ public open class CfnApplicationV2( * can increase the parallelism of the application in response to increased throughput. */ override fun autoScalingEnabled(autoScalingEnabled: IResolvable) { - cdkBuilder.autoScalingEnabled(autoScalingEnabled.let(IResolvable::unwrap)) + cdkBuilder.autoScalingEnabled(autoScalingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -5788,7 +5788,7 @@ public open class CfnApplicationV2( * @param propertyMap Describes the value of an application execution property key-value pair. */ override fun propertyMap(propertyMap: IResolvable) { - cdkBuilder.propertyMap(propertyMap.let(IResolvable::unwrap)) + cdkBuilder.propertyMap(propertyMap.let(IResolvable.Companion::unwrap)) } /** @@ -6076,7 +6076,7 @@ public open class CfnApplicationV2( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: IResolvable) { - cdkBuilder.mappingParameters(mappingParameters.let(IResolvable::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6085,7 +6085,7 @@ public open class CfnApplicationV2( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: MappingParametersProperty) { - cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty.Companion::unwrap)) } /** @@ -6248,7 +6248,7 @@ public open class CfnApplicationV2( * application. */ override fun applicationRestoreConfiguration(applicationRestoreConfiguration: IResolvable) { - cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6257,7 +6257,7 @@ public open class CfnApplicationV2( */ override fun applicationRestoreConfiguration(applicationRestoreConfiguration: ApplicationRestoreConfigurationProperty) { - cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(ApplicationRestoreConfigurationProperty::unwrap)) + cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(ApplicationRestoreConfigurationProperty.Companion::unwrap)) } /** @@ -6276,7 +6276,7 @@ public open class CfnApplicationV2( * Apache Flink application. */ override fun flinkRunConfiguration(flinkRunConfiguration: IResolvable) { - cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(IResolvable::unwrap)) + cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6284,7 +6284,7 @@ public open class CfnApplicationV2( * Apache Flink application. */ override fun flinkRunConfiguration(flinkRunConfiguration: FlinkRunConfigurationProperty) { - cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(FlinkRunConfigurationProperty::unwrap)) + cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(FlinkRunConfigurationProperty.Companion::unwrap)) } /** @@ -6695,7 +6695,7 @@ public open class CfnApplicationV2( * describing the input streams used by the application. */ override fun inputs(inputs: IResolvable) { - cdkBuilder.inputs(inputs.let(IResolvable::unwrap)) + cdkBuilder.inputs(inputs.let(IResolvable.Companion::unwrap)) } /** @@ -7078,7 +7078,7 @@ public open class CfnApplicationV2( * Kinesis Data Analytics Studio notebook. */ override fun catalogConfiguration(catalogConfiguration: IResolvable) { - cdkBuilder.catalogConfiguration(catalogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.catalogConfiguration(catalogConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7086,7 +7086,7 @@ public open class CfnApplicationV2( * Kinesis Data Analytics Studio notebook. */ override fun catalogConfiguration(catalogConfiguration: CatalogConfigurationProperty) { - cdkBuilder.catalogConfiguration(catalogConfiguration.let(CatalogConfigurationProperty::unwrap)) + cdkBuilder.catalogConfiguration(catalogConfiguration.let(CatalogConfigurationProperty.Companion::unwrap)) } /** @@ -7103,7 +7103,7 @@ public open class CfnApplicationV2( * @param customArtifactsConfiguration A list of `CustomArtifactConfiguration` objects. */ override fun customArtifactsConfiguration(customArtifactsConfiguration: IResolvable) { - cdkBuilder.customArtifactsConfiguration(customArtifactsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customArtifactsConfiguration(customArtifactsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7124,7 +7124,7 @@ public open class CfnApplicationV2( * Analytics Studio notebook as an application with durable state. */ override fun deployAsApplicationConfiguration(deployAsApplicationConfiguration: IResolvable) { - cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7133,7 +7133,7 @@ public open class CfnApplicationV2( */ override fun deployAsApplicationConfiguration(deployAsApplicationConfiguration: DeployAsApplicationConfigurationProperty) { - cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(DeployAsApplicationConfigurationProperty::unwrap)) + cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(DeployAsApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -7152,7 +7152,7 @@ public open class CfnApplicationV2( * Studio notebook. */ override fun monitoringConfiguration(monitoringConfiguration: IResolvable) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7161,7 +7161,7 @@ public open class CfnApplicationV2( */ override fun monitoringConfiguration(monitoringConfiguration: ZeppelinMonitoringConfigurationProperty) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(ZeppelinMonitoringConfigurationProperty::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(ZeppelinMonitoringConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2Props.kt index b4bd9f0402..60fad9962e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalytics/CfnApplicationV2Props.kt @@ -370,7 +370,7 @@ public interface CfnApplicationV2Props { * @param applicationConfiguration Use this parameter to configure the application. */ override fun applicationConfiguration(applicationConfiguration: IResolvable) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnApplicationV2Props { */ override fun applicationConfiguration(applicationConfiguration: CfnApplicationV2.ApplicationConfigurationProperty) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(CfnApplicationV2.ApplicationConfigurationProperty::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(CfnApplicationV2.ApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface CfnApplicationV2Props { */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: IResolvable) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnApplicationV2Props { */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: CfnApplicationV2.ApplicationMaintenanceConfigurationProperty) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(CfnApplicationV2.ApplicationMaintenanceConfigurationProperty::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(CfnApplicationV2.ApplicationMaintenanceConfigurationProperty.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public interface CfnApplicationV2Props { * Flink application. */ override fun runConfiguration(runConfiguration: IResolvable) { - cdkBuilder.runConfiguration(runConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface CfnApplicationV2Props { * Flink application. */ override fun runConfiguration(runConfiguration: CfnApplicationV2.RunConfigurationProperty) { - cdkBuilder.runConfiguration(runConfiguration.let(CfnApplicationV2.RunConfigurationProperty::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(CfnApplicationV2.RunConfigurationProperty.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface CfnApplicationV2Props { * 50. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplication.kt index d73b110309..5a78ac3900 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplication.kt @@ -198,8 +198,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -218,14 +218,14 @@ public open class CfnApplication( * Use this parameter to configure the application. */ public open fun applicationConfiguration(`value`: IResolvable) { - unwrap(this).setApplicationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Use this parameter to configure the application. */ public open fun applicationConfiguration(`value`: ApplicationConfigurationProperty) { - unwrap(this).setApplicationConfiguration(`value`.let(ApplicationConfigurationProperty::unwrap)) + unwrap(this).setApplicationConfiguration(`value`.let(ApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnApplication( * Describes the maintenance configuration for the application. */ public open fun applicationMaintenanceConfiguration(`value`: IResolvable) { - unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class CfnApplication( */ public open fun applicationMaintenanceConfiguration(`value`: ApplicationMaintenanceConfigurationProperty) { - unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(ApplicationMaintenanceConfigurationProperty::unwrap)) + unwrap(this).setApplicationMaintenanceConfiguration(`value`.let(ApplicationMaintenanceConfigurationProperty.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -322,14 +322,14 @@ public open class CfnApplication( * Describes the starting parameters for an Managed Service for Apache Flink application. */ public open fun runConfiguration(`value`: IResolvable) { - unwrap(this).setRunConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRunConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the starting parameters for an Managed Service for Apache Flink application. */ public open fun runConfiguration(`value`: RunConfigurationProperty) { - unwrap(this).setRunConfiguration(`value`.let(RunConfigurationProperty::unwrap)) + unwrap(this).setRunConfiguration(`value`.let(RunConfigurationProperty.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnApplication( * A list of one or more tags to assign to the application. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class CfnApplication( * @param applicationConfiguration Use this parameter to configure the application. */ override fun applicationConfiguration(applicationConfiguration: IResolvable) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnApplication( */ override fun applicationConfiguration(applicationConfiguration: ApplicationConfigurationProperty) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(ApplicationConfigurationProperty::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(ApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -612,7 +612,7 @@ public open class CfnApplication( */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: IResolvable) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class CfnApplication( */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: ApplicationMaintenanceConfigurationProperty) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(ApplicationMaintenanceConfigurationProperty::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(ApplicationMaintenanceConfigurationProperty.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnApplication( * Flink application. */ override fun runConfiguration(runConfiguration: IResolvable) { - cdkBuilder.runConfiguration(runConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnApplication( * Flink application. */ override fun runConfiguration(runConfiguration: RunConfigurationProperty) { - cdkBuilder.runConfiguration(runConfiguration.let(RunConfigurationProperty::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(RunConfigurationProperty.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public open class CfnApplication( * @param tags A list of one or more tags to assign to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -850,14 +850,14 @@ public open class CfnApplication( * @param codeContent The location and type of the application code. */ override fun codeContent(codeContent: IResolvable) { - cdkBuilder.codeContent(codeContent.let(IResolvable::unwrap)) + cdkBuilder.codeContent(codeContent.let(IResolvable.Companion::unwrap)) } /** * @param codeContent The location and type of the application code. */ override fun codeContent(codeContent: CodeContentProperty) { - cdkBuilder.codeContent(codeContent.let(CodeContentProperty::unwrap)) + cdkBuilder.codeContent(codeContent.let(CodeContentProperty.Companion::unwrap)) } /** @@ -1276,7 +1276,7 @@ public open class CfnApplication( * Service for Apache Flink application. */ override fun applicationCodeConfiguration(applicationCodeConfiguration: IResolvable) { - cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public open class CfnApplication( */ override fun applicationCodeConfiguration(applicationCodeConfiguration: ApplicationCodeConfigurationProperty) { - cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(ApplicationCodeConfigurationProperty::unwrap)) + cdkBuilder.applicationCodeConfiguration(applicationCodeConfiguration.let(ApplicationCodeConfigurationProperty.Companion::unwrap)) } /** @@ -1304,7 +1304,7 @@ public open class CfnApplication( * Managed Service for Apache Flink application. */ override fun applicationSnapshotConfiguration(applicationSnapshotConfiguration: IResolvable) { - cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1313,7 +1313,7 @@ public open class CfnApplication( */ override fun applicationSnapshotConfiguration(applicationSnapshotConfiguration: ApplicationSnapshotConfigurationProperty) { - cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(ApplicationSnapshotConfigurationProperty::unwrap)) + cdkBuilder.applicationSnapshotConfiguration(applicationSnapshotConfiguration.let(ApplicationSnapshotConfigurationProperty.Companion::unwrap)) } /** @@ -1332,7 +1332,7 @@ public open class CfnApplication( * Apache Flink application. */ override fun environmentProperties(environmentProperties: IResolvable) { - cdkBuilder.environmentProperties(environmentProperties.let(IResolvable::unwrap)) + cdkBuilder.environmentProperties(environmentProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1340,7 +1340,7 @@ public open class CfnApplication( * Apache Flink application. */ override fun environmentProperties(environmentProperties: EnvironmentPropertiesProperty) { - cdkBuilder.environmentProperties(environmentProperties.let(EnvironmentPropertiesProperty::unwrap)) + cdkBuilder.environmentProperties(environmentProperties.let(EnvironmentPropertiesProperty.Companion::unwrap)) } /** @@ -1358,7 +1358,7 @@ public open class CfnApplication( * Service for Apache Flink application. */ override fun flinkApplicationConfiguration(flinkApplicationConfiguration: IResolvable) { - cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1367,7 +1367,7 @@ public open class CfnApplication( */ override fun flinkApplicationConfiguration(flinkApplicationConfiguration: FlinkApplicationConfigurationProperty) { - cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(FlinkApplicationConfigurationProperty::unwrap)) + cdkBuilder.flinkApplicationConfiguration(flinkApplicationConfiguration.let(FlinkApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1386,7 +1386,7 @@ public open class CfnApplication( * Kinesis Data Analytics application. */ override fun sqlApplicationConfiguration(sqlApplicationConfiguration: IResolvable) { - cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1395,7 +1395,7 @@ public open class CfnApplication( */ override fun sqlApplicationConfiguration(sqlApplicationConfiguration: SqlApplicationConfigurationProperty) { - cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(SqlApplicationConfigurationProperty::unwrap)) + cdkBuilder.sqlApplicationConfiguration(sqlApplicationConfiguration.let(SqlApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1414,7 +1414,7 @@ public open class CfnApplication( * application. */ override fun vpcConfigurations(vpcConfigurations: IResolvable) { - cdkBuilder.vpcConfigurations(vpcConfigurations.let(IResolvable::unwrap)) + cdkBuilder.vpcConfigurations(vpcConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1437,7 +1437,7 @@ public open class CfnApplication( * Analytics Studio notebook. */ override fun zeppelinApplicationConfiguration(zeppelinApplicationConfiguration: IResolvable) { - cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1446,7 +1446,7 @@ public open class CfnApplication( */ override fun zeppelinApplicationConfiguration(zeppelinApplicationConfiguration: ZeppelinApplicationConfigurationProperty) { - cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(ZeppelinApplicationConfigurationProperty::unwrap)) + cdkBuilder.zeppelinApplicationConfiguration(zeppelinApplicationConfiguration.let(ZeppelinApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1818,7 +1818,7 @@ public open class CfnApplication( * Apache Flink application. */ override fun snapshotsEnabled(snapshotsEnabled: IResolvable) { - cdkBuilder.snapshotsEnabled(snapshotsEnabled.let(IResolvable::unwrap)) + cdkBuilder.snapshotsEnabled(snapshotsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2066,7 +2066,7 @@ public open class CfnApplication( * in a Kinesis Data Analytics Studio notebook. */ override fun glueDataCatalogConfiguration(glueDataCatalogConfiguration: IResolvable) { - cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2077,7 +2077,7 @@ public open class CfnApplication( */ override fun glueDataCatalogConfiguration(glueDataCatalogConfiguration: GlueDataCatalogConfigurationProperty) { - cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(GlueDataCatalogConfigurationProperty::unwrap)) + cdkBuilder.glueDataCatalogConfiguration(glueDataCatalogConfiguration.let(GlueDataCatalogConfigurationProperty.Companion::unwrap)) } /** @@ -2336,7 +2336,7 @@ public open class CfnApplication( * API or in application code. */ override fun checkpointingEnabled(checkpointingEnabled: IResolvable) { - cdkBuilder.checkpointingEnabled(checkpointingEnabled.let(IResolvable::unwrap)) + cdkBuilder.checkpointingEnabled(checkpointingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2566,7 +2566,7 @@ public open class CfnApplication( * application code. */ override fun s3ContentLocation(s3ContentLocation: IResolvable) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable.Companion::unwrap)) } /** @@ -2574,7 +2574,7 @@ public open class CfnApplication( * application code. */ override fun s3ContentLocation(s3ContentLocation: S3ContentLocationProperty) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty.Companion::unwrap)) } /** @@ -2770,14 +2770,14 @@ public open class CfnApplication( * @param mavenReference The parameters required to fully specify a Maven reference. */ override fun mavenReference(mavenReference: IResolvable) { - cdkBuilder.mavenReference(mavenReference.let(IResolvable::unwrap)) + cdkBuilder.mavenReference(mavenReference.let(IResolvable.Companion::unwrap)) } /** * @param mavenReference The parameters required to fully specify a Maven reference. */ override fun mavenReference(mavenReference: MavenReferenceProperty) { - cdkBuilder.mavenReference(mavenReference.let(MavenReferenceProperty::unwrap)) + cdkBuilder.mavenReference(mavenReference.let(MavenReferenceProperty.Companion::unwrap)) } /** @@ -2792,14 +2792,14 @@ public open class CfnApplication( * @param s3ContentLocation The location of the custom artifacts. */ override fun s3ContentLocation(s3ContentLocation: IResolvable) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable.Companion::unwrap)) } /** * @param s3ContentLocation The location of the custom artifacts. */ override fun s3ContentLocation(s3ContentLocation: S3ContentLocationProperty) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentLocationProperty.Companion::unwrap)) } /** @@ -2941,7 +2941,7 @@ public open class CfnApplication( * object that contains the data. */ override fun s3ContentLocation(s3ContentLocation: IResolvable) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(IResolvable.Companion::unwrap)) } /** @@ -2951,7 +2951,7 @@ public open class CfnApplication( * object that contains the data. */ override fun s3ContentLocation(s3ContentLocation: S3ContentBaseLocationProperty) { - cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentBaseLocationProperty::unwrap)) + cdkBuilder.s3ContentLocation(s3ContentLocation.let(S3ContentBaseLocationProperty.Companion::unwrap)) } /** @@ -3063,7 +3063,7 @@ public open class CfnApplication( * @param propertyGroups Describes the execution property groups. */ override fun propertyGroups(propertyGroups: IResolvable) { - cdkBuilder.propertyGroups(propertyGroups.let(IResolvable::unwrap)) + cdkBuilder.propertyGroups(propertyGroups.let(IResolvable.Companion::unwrap)) } /** @@ -3280,7 +3280,7 @@ public open class CfnApplication( * . */ override fun checkpointConfiguration(checkpointConfiguration: IResolvable) { - cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3294,7 +3294,7 @@ public open class CfnApplication( */ override fun checkpointConfiguration(checkpointConfiguration: CheckpointConfigurationProperty) { - cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(CheckpointConfigurationProperty::unwrap)) + cdkBuilder.checkpointConfiguration(checkpointConfiguration.let(CheckpointConfigurationProperty.Companion::unwrap)) } /** @@ -3317,7 +3317,7 @@ public open class CfnApplication( * logging for an application. */ override fun monitoringConfiguration(monitoringConfiguration: IResolvable) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3326,7 +3326,7 @@ public open class CfnApplication( */ override fun monitoringConfiguration(monitoringConfiguration: MonitoringConfigurationProperty) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(MonitoringConfigurationProperty::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(MonitoringConfigurationProperty.Companion::unwrap)) } /** @@ -3344,7 +3344,7 @@ public open class CfnApplication( * multiple tasks simultaneously. */ override fun parallelismConfiguration(parallelismConfiguration: IResolvable) { - cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(IResolvable::unwrap)) + cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3353,7 +3353,7 @@ public open class CfnApplication( */ override fun parallelismConfiguration(parallelismConfiguration: ParallelismConfigurationProperty) { - cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(ParallelismConfigurationProperty::unwrap)) + cdkBuilder.parallelismConfiguration(parallelismConfiguration.let(ParallelismConfigurationProperty.Companion::unwrap)) } /** @@ -3548,7 +3548,7 @@ public open class CfnApplication( * `true` . */ override fun allowNonRestoredState(allowNonRestoredState: IResolvable) { - cdkBuilder.allowNonRestoredState(allowNonRestoredState.let(IResolvable::unwrap)) + cdkBuilder.allowNonRestoredState(allowNonRestoredState.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3958,7 +3958,7 @@ public open class CfnApplication( * application code. */ override fun inputLambdaProcessor(inputLambdaProcessor: IResolvable) { - cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(IResolvable::unwrap)) + cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(IResolvable.Companion::unwrap)) } /** @@ -3968,7 +3968,7 @@ public open class CfnApplication( * application code. */ override fun inputLambdaProcessor(inputLambdaProcessor: InputLambdaProcessorProperty) { - cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(InputLambdaProcessorProperty::unwrap)) + cdkBuilder.inputLambdaProcessor(inputLambdaProcessor.let(InputLambdaProcessorProperty.Companion::unwrap)) } /** @@ -4280,14 +4280,14 @@ public open class CfnApplication( * @param inputParallelism Describes the number of in-application streams to create. */ override fun inputParallelism(inputParallelism: IResolvable) { - cdkBuilder.inputParallelism(inputParallelism.let(IResolvable::unwrap)) + cdkBuilder.inputParallelism(inputParallelism.let(IResolvable.Companion::unwrap)) } /** * @param inputParallelism Describes the number of in-application streams to create. */ override fun inputParallelism(inputParallelism: InputParallelismProperty) { - cdkBuilder.inputParallelism(inputParallelism.let(InputParallelismProperty::unwrap)) + cdkBuilder.inputParallelism(inputParallelism.let(InputParallelismProperty.Companion::unwrap)) } /** @@ -4308,7 +4308,7 @@ public open class CfnApplication( * . */ override fun inputProcessingConfiguration(inputProcessingConfiguration: IResolvable) { - cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4322,7 +4322,7 @@ public open class CfnApplication( */ override fun inputProcessingConfiguration(inputProcessingConfiguration: InputProcessingConfigurationProperty) { - cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(InputProcessingConfigurationProperty::unwrap)) + cdkBuilder.inputProcessingConfiguration(inputProcessingConfiguration.let(InputProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -4348,7 +4348,7 @@ public open class CfnApplication( * Also used to describe the format of the reference data source. */ override fun inputSchema(inputSchema: IResolvable) { - cdkBuilder.inputSchema(inputSchema.let(IResolvable::unwrap)) + cdkBuilder.inputSchema(inputSchema.let(IResolvable.Companion::unwrap)) } /** @@ -4358,7 +4358,7 @@ public open class CfnApplication( * Also used to describe the format of the reference data source. */ override fun inputSchema(inputSchema: InputSchemaProperty) { - cdkBuilder.inputSchema(inputSchema.let(InputSchemaProperty::unwrap)) + cdkBuilder.inputSchema(inputSchema.let(InputSchemaProperty.Companion::unwrap)) } /** @@ -4377,7 +4377,7 @@ public open class CfnApplication( * delivery stream, identifies the delivery stream's ARN. */ override fun kinesisFirehoseInput(kinesisFirehoseInput: IResolvable) { - cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(IResolvable.Companion::unwrap)) } /** @@ -4385,7 +4385,7 @@ public open class CfnApplication( * delivery stream, identifies the delivery stream's ARN. */ override fun kinesisFirehoseInput(kinesisFirehoseInput: KinesisFirehoseInputProperty) { - cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(KinesisFirehoseInputProperty::unwrap)) + cdkBuilder.kinesisFirehoseInput(kinesisFirehoseInput.let(KinesisFirehoseInputProperty.Companion::unwrap)) } /** @@ -4403,7 +4403,7 @@ public open class CfnApplication( * identifies the stream's Amazon Resource Name (ARN). */ override fun kinesisStreamsInput(kinesisStreamsInput: IResolvable) { - cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(IResolvable.Companion::unwrap)) } /** @@ -4411,7 +4411,7 @@ public open class CfnApplication( * identifies the stream's Amazon Resource Name (ARN). */ override fun kinesisStreamsInput(kinesisStreamsInput: KinesisStreamsInputProperty) { - cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(KinesisStreamsInputProperty::unwrap)) + cdkBuilder.kinesisStreamsInput(kinesisStreamsInput.let(KinesisStreamsInputProperty.Companion::unwrap)) } /** @@ -4634,7 +4634,7 @@ public open class CfnApplication( * @param recordColumns A list of `RecordColumn` objects. */ override fun recordColumns(recordColumns: IResolvable) { - cdkBuilder.recordColumns(recordColumns.let(IResolvable::unwrap)) + cdkBuilder.recordColumns(recordColumns.let(IResolvable.Companion::unwrap)) } /** @@ -4662,14 +4662,14 @@ public open class CfnApplication( * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: IResolvable) { - cdkBuilder.recordFormat(recordFormat.let(IResolvable::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(IResolvable.Companion::unwrap)) } /** * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: RecordFormatProperty) { - cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty.Companion::unwrap)) } /** @@ -5085,7 +5085,7 @@ public open class CfnApplication( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: IResolvable) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5093,7 +5093,7 @@ public open class CfnApplication( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: CSVMappingParametersProperty) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty.Companion::unwrap)) } /** @@ -5111,7 +5111,7 @@ public open class CfnApplication( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: IResolvable) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5119,7 +5119,7 @@ public open class CfnApplication( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: JSONMappingParametersProperty) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty.Companion::unwrap)) } /** @@ -5611,7 +5611,7 @@ public open class CfnApplication( * can increase the parallelism of the application in response to increased throughput. */ override fun autoScalingEnabled(autoScalingEnabled: IResolvable) { - cdkBuilder.autoScalingEnabled(autoScalingEnabled.let(IResolvable::unwrap)) + cdkBuilder.autoScalingEnabled(autoScalingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -5788,7 +5788,7 @@ public open class CfnApplication( * @param propertyMap Describes the value of an application execution property key-value pair. */ override fun propertyMap(propertyMap: IResolvable) { - cdkBuilder.propertyMap(propertyMap.let(IResolvable::unwrap)) + cdkBuilder.propertyMap(propertyMap.let(IResolvable.Companion::unwrap)) } /** @@ -6076,7 +6076,7 @@ public open class CfnApplication( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: IResolvable) { - cdkBuilder.mappingParameters(mappingParameters.let(IResolvable::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -6085,7 +6085,7 @@ public open class CfnApplication( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: MappingParametersProperty) { - cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty.Companion::unwrap)) } /** @@ -6248,7 +6248,7 @@ public open class CfnApplication( * application. */ override fun applicationRestoreConfiguration(applicationRestoreConfiguration: IResolvable) { - cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6257,7 +6257,7 @@ public open class CfnApplication( */ override fun applicationRestoreConfiguration(applicationRestoreConfiguration: ApplicationRestoreConfigurationProperty) { - cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(ApplicationRestoreConfigurationProperty::unwrap)) + cdkBuilder.applicationRestoreConfiguration(applicationRestoreConfiguration.let(ApplicationRestoreConfigurationProperty.Companion::unwrap)) } /** @@ -6276,7 +6276,7 @@ public open class CfnApplication( * Apache Flink application. */ override fun flinkRunConfiguration(flinkRunConfiguration: IResolvable) { - cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(IResolvable::unwrap)) + cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6284,7 +6284,7 @@ public open class CfnApplication( * Apache Flink application. */ override fun flinkRunConfiguration(flinkRunConfiguration: FlinkRunConfigurationProperty) { - cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(FlinkRunConfigurationProperty::unwrap)) + cdkBuilder.flinkRunConfiguration(flinkRunConfiguration.let(FlinkRunConfigurationProperty.Companion::unwrap)) } /** @@ -6695,7 +6695,7 @@ public open class CfnApplication( * describing the input streams used by the application. */ override fun inputs(inputs: IResolvable) { - cdkBuilder.inputs(inputs.let(IResolvable::unwrap)) + cdkBuilder.inputs(inputs.let(IResolvable.Companion::unwrap)) } /** @@ -7078,7 +7078,7 @@ public open class CfnApplication( * Kinesis Data Analytics Studio notebook. */ override fun catalogConfiguration(catalogConfiguration: IResolvable) { - cdkBuilder.catalogConfiguration(catalogConfiguration.let(IResolvable::unwrap)) + cdkBuilder.catalogConfiguration(catalogConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7086,7 +7086,7 @@ public open class CfnApplication( * Kinesis Data Analytics Studio notebook. */ override fun catalogConfiguration(catalogConfiguration: CatalogConfigurationProperty) { - cdkBuilder.catalogConfiguration(catalogConfiguration.let(CatalogConfigurationProperty::unwrap)) + cdkBuilder.catalogConfiguration(catalogConfiguration.let(CatalogConfigurationProperty.Companion::unwrap)) } /** @@ -7103,7 +7103,7 @@ public open class CfnApplication( * @param customArtifactsConfiguration A list of `CustomArtifactConfiguration` objects. */ override fun customArtifactsConfiguration(customArtifactsConfiguration: IResolvable) { - cdkBuilder.customArtifactsConfiguration(customArtifactsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customArtifactsConfiguration(customArtifactsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7124,7 +7124,7 @@ public open class CfnApplication( * Analytics Studio notebook as an application with durable state. */ override fun deployAsApplicationConfiguration(deployAsApplicationConfiguration: IResolvable) { - cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7133,7 +7133,7 @@ public open class CfnApplication( */ override fun deployAsApplicationConfiguration(deployAsApplicationConfiguration: DeployAsApplicationConfigurationProperty) { - cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(DeployAsApplicationConfigurationProperty::unwrap)) + cdkBuilder.deployAsApplicationConfiguration(deployAsApplicationConfiguration.let(DeployAsApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -7152,7 +7152,7 @@ public open class CfnApplication( * Studio notebook. */ override fun monitoringConfiguration(monitoringConfiguration: IResolvable) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7161,7 +7161,7 @@ public open class CfnApplication( */ override fun monitoringConfiguration(monitoringConfiguration: ZeppelinMonitoringConfigurationProperty) { - cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(ZeppelinMonitoringConfigurationProperty::unwrap)) + cdkBuilder.monitoringConfiguration(monitoringConfiguration.let(ZeppelinMonitoringConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOption.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOption.kt index 1f135f8407..89368effa5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOption.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOption.kt @@ -49,8 +49,8 @@ public open class CfnApplicationCloudWatchLoggingOption( id: String, props: CfnApplicationCloudWatchLoggingOptionProps, ) : - this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationCloudWatchLoggingOption(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationCloudWatchLoggingOptionProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationCloudWatchLoggingOption(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationCloudWatchLoggingOptionProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnApplicationCloudWatchLoggingOption( * Resource Name (ARN). */ public open fun cloudWatchLoggingOption(`value`: IResolvable) { - unwrap(this).setCloudWatchLoggingOption(`value`.let(IResolvable::unwrap)) + unwrap(this).setCloudWatchLoggingOption(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public open class CfnApplicationCloudWatchLoggingOption( * Resource Name (ARN). */ public open fun cloudWatchLoggingOption(`value`: CloudWatchLoggingOptionProperty) { - unwrap(this).setCloudWatchLoggingOption(`value`.let(CloudWatchLoggingOptionProperty::unwrap)) + unwrap(this).setCloudWatchLoggingOption(`value`.let(CloudWatchLoggingOptionProperty.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnApplicationCloudWatchLoggingOption( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnApplicationCloudWatchLoggingOption( * including the log stream Amazon Resource Name (ARN). */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: IResolvable) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnApplicationCloudWatchLoggingOption( * including the log stream Amazon Resource Name (ARN). */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: CloudWatchLoggingOptionProperty) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CloudWatchLoggingOptionProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CloudWatchLoggingOptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOptionProps.kt index 1276c25900..b0f3f8f17c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationCloudWatchLoggingOptionProps.kt @@ -98,7 +98,7 @@ public interface CfnApplicationCloudWatchLoggingOptionProps { * including the log stream Amazon Resource Name (ARN). */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: IResolvable) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(IResolvable.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface CfnApplicationCloudWatchLoggingOptionProps { */ override fun cloudWatchLoggingOption(cloudWatchLoggingOption: CfnApplicationCloudWatchLoggingOption.CloudWatchLoggingOptionProperty) { - cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CfnApplicationCloudWatchLoggingOption.CloudWatchLoggingOptionProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOption(cloudWatchLoggingOption.let(CfnApplicationCloudWatchLoggingOption.CloudWatchLoggingOptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutput.kt index c7b1eae8ad..1cf6a71d99 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutput.kt @@ -76,8 +76,8 @@ public open class CfnApplicationOutput( id: String, props: CfnApplicationOutputProps, ) : - this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationOutput(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationOutputProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationOutput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationOutputProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnApplicationOutput( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnApplicationOutput( * to be written. */ public open fun output(`value`: IResolvable) { - unwrap(this).setOutput(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutput(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnApplicationOutput( * to be written. */ public open fun output(`value`: OutputProperty) { - unwrap(this).setOutput(`value`.let(OutputProperty::unwrap)) + unwrap(this).setOutput(`value`.let(OutputProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnApplicationOutput( * the in-application stream data to be written. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnApplicationOutput( * the in-application stream data to be written. */ override fun output(output: OutputProperty) { - cdkBuilder.output(output.let(OutputProperty::unwrap)) + cdkBuilder.output(output.let(OutputProperty.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnApplicationOutput( * destination. */ override fun destinationSchema(destinationSchema: IResolvable) { - cdkBuilder.destinationSchema(destinationSchema.let(IResolvable::unwrap)) + cdkBuilder.destinationSchema(destinationSchema.let(IResolvable.Companion::unwrap)) } /** @@ -842,7 +842,7 @@ public open class CfnApplicationOutput( * destination. */ override fun destinationSchema(destinationSchema: DestinationSchemaProperty) { - cdkBuilder.destinationSchema(destinationSchema.let(DestinationSchemaProperty::unwrap)) + cdkBuilder.destinationSchema(destinationSchema.let(DestinationSchemaProperty.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public open class CfnApplicationOutput( * destination. */ override fun kinesisFirehoseOutput(kinesisFirehoseOutput: IResolvable) { - cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(IResolvable.Companion::unwrap)) } /** @@ -868,7 +868,7 @@ public open class CfnApplicationOutput( * destination. */ override fun kinesisFirehoseOutput(kinesisFirehoseOutput: KinesisFirehoseOutputProperty) { - cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(KinesisFirehoseOutputProperty::unwrap)) + cdkBuilder.kinesisFirehoseOutput(kinesisFirehoseOutput.let(KinesisFirehoseOutputProperty.Companion::unwrap)) } /** @@ -885,14 +885,14 @@ public open class CfnApplicationOutput( * @param kinesisStreamsOutput Identifies a Kinesis data stream as the destination. */ override fun kinesisStreamsOutput(kinesisStreamsOutput: IResolvable) { - cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(IResolvable.Companion::unwrap)) } /** * @param kinesisStreamsOutput Identifies a Kinesis data stream as the destination. */ override fun kinesisStreamsOutput(kinesisStreamsOutput: KinesisStreamsOutputProperty) { - cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(KinesisStreamsOutputProperty::unwrap)) + cdkBuilder.kinesisStreamsOutput(kinesisStreamsOutput.let(KinesisStreamsOutputProperty.Companion::unwrap)) } /** @@ -908,14 +908,14 @@ public open class CfnApplicationOutput( * @param lambdaOutput Identifies an Amazon Lambda function as the destination. */ override fun lambdaOutput(lambdaOutput: IResolvable) { - cdkBuilder.lambdaOutput(lambdaOutput.let(IResolvable::unwrap)) + cdkBuilder.lambdaOutput(lambdaOutput.let(IResolvable.Companion::unwrap)) } /** * @param lambdaOutput Identifies an Amazon Lambda function as the destination. */ override fun lambdaOutput(lambdaOutput: LambdaOutputProperty) { - cdkBuilder.lambdaOutput(lambdaOutput.let(LambdaOutputProperty::unwrap)) + cdkBuilder.lambdaOutput(lambdaOutput.let(LambdaOutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutputProps.kt index bc71c738c4..759118041f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationOutputProps.kt @@ -118,7 +118,7 @@ public interface CfnApplicationOutputProps { * The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream. */ override fun output(output: IResolvable) { - cdkBuilder.output(output.let(IResolvable::unwrap)) + cdkBuilder.output(output.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface CfnApplicationOutputProps { * The destination can be a Kinesis data stream or a Kinesis Data Firehose delivery stream. */ override fun output(output: CfnApplicationOutput.OutputProperty) { - cdkBuilder.output(output.let(CfnApplicationOutput.OutputProperty::unwrap)) + cdkBuilder.output(output.let(CfnApplicationOutput.OutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationProps.kt index b8e3af4c0c..3c831bfa4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationProps.kt @@ -370,7 +370,7 @@ public interface CfnApplicationProps { * @param applicationConfiguration Use this parameter to configure the application. */ override fun applicationConfiguration(applicationConfiguration: IResolvable) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnApplicationProps { */ override fun applicationConfiguration(applicationConfiguration: CfnApplication.ApplicationConfigurationProperty) { - cdkBuilder.applicationConfiguration(applicationConfiguration.let(CfnApplication.ApplicationConfigurationProperty::unwrap)) + cdkBuilder.applicationConfiguration(applicationConfiguration.let(CfnApplication.ApplicationConfigurationProperty.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface CfnApplicationProps { */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: IResolvable) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnApplicationProps { */ override fun applicationMaintenanceConfiguration(applicationMaintenanceConfiguration: CfnApplication.ApplicationMaintenanceConfigurationProperty) { - cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(CfnApplication.ApplicationMaintenanceConfigurationProperty::unwrap)) + cdkBuilder.applicationMaintenanceConfiguration(applicationMaintenanceConfiguration.let(CfnApplication.ApplicationMaintenanceConfigurationProperty.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public interface CfnApplicationProps { * Flink application. */ override fun runConfiguration(runConfiguration: IResolvable) { - cdkBuilder.runConfiguration(runConfiguration.let(IResolvable::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface CfnApplicationProps { * Flink application. */ override fun runConfiguration(runConfiguration: CfnApplication.RunConfigurationProperty) { - cdkBuilder.runConfiguration(runConfiguration.let(CfnApplication.RunConfigurationProperty::unwrap)) + cdkBuilder.runConfiguration(runConfiguration.let(CfnApplication.RunConfigurationProperty.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface CfnApplicationProps { * 50. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSource.kt index a6c619ba3d..d320221a64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSource.kt @@ -79,8 +79,8 @@ public open class CfnApplicationReferenceDataSource( id: String, props: CfnApplicationReferenceDataSourceProps, ) : - this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationReferenceDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationReferenceDataSourceProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnApplicationReferenceDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnApplicationReferenceDataSource( * the Amazon S3 object to the in-application table. */ public open fun referenceDataSource(`value`: IResolvable) { - unwrap(this).setReferenceDataSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setReferenceDataSource(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnApplicationReferenceDataSource( * the Amazon S3 object to the in-application table. */ public open fun referenceDataSource(`value`: ReferenceDataSourceProperty) { - unwrap(this).setReferenceDataSource(`value`.let(ReferenceDataSourceProperty::unwrap)) + unwrap(this).setReferenceDataSource(`value`.let(ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnApplicationReferenceDataSource( * the data elements in the Amazon S3 object to the in-application table. */ override fun referenceDataSource(referenceDataSource: IResolvable) { - cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnApplicationReferenceDataSource( * the data elements in the Amazon S3 object to the in-application table. */ override fun referenceDataSource(referenceDataSource: ReferenceDataSourceProperty) { - cdkBuilder.referenceDataSource(referenceDataSource.let(ReferenceDataSourceProperty::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnApplicationReferenceDataSource( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: IResolvable) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnApplicationReferenceDataSource( * uses delimiters (for example, CSV). */ override fun csvMappingParameters(csvMappingParameters: CSVMappingParametersProperty) { - cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty::unwrap)) + cdkBuilder.csvMappingParameters(csvMappingParameters.let(CSVMappingParametersProperty.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnApplicationReferenceDataSource( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: IResolvable) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnApplicationReferenceDataSource( * record format on the streaming source. */ override fun jsonMappingParameters(jsonMappingParameters: JSONMappingParametersProperty) { - cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty::unwrap)) + cdkBuilder.jsonMappingParameters(jsonMappingParameters.let(JSONMappingParametersProperty.Companion::unwrap)) } /** @@ -955,7 +955,7 @@ public open class CfnApplicationReferenceDataSource( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: IResolvable) { - cdkBuilder.mappingParameters(mappingParameters.let(IResolvable::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(IResolvable.Companion::unwrap)) } /** @@ -964,7 +964,7 @@ public open class CfnApplicationReferenceDataSource( * (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. */ override fun mappingParameters(mappingParameters: MappingParametersProperty) { - cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty::unwrap)) + cdkBuilder.mappingParameters(mappingParameters.let(MappingParametersProperty.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class CfnApplicationReferenceDataSource( * each data element maps to corresponding columns created in the in-application stream. */ override fun referenceSchema(referenceSchema: IResolvable) { - cdkBuilder.referenceSchema(referenceSchema.let(IResolvable::unwrap)) + cdkBuilder.referenceSchema(referenceSchema.let(IResolvable.Companion::unwrap)) } /** @@ -1186,7 +1186,7 @@ public open class CfnApplicationReferenceDataSource( * each data element maps to corresponding columns created in the in-application stream. */ override fun referenceSchema(referenceSchema: ReferenceSchemaProperty) { - cdkBuilder.referenceSchema(referenceSchema.let(ReferenceSchemaProperty::unwrap)) + cdkBuilder.referenceSchema(referenceSchema.let(ReferenceSchemaProperty.Companion::unwrap)) } /** @@ -1207,7 +1207,7 @@ public open class CfnApplicationReferenceDataSource( * operation to trigger reloading of data into your application. */ override fun s3ReferenceDataSource(s3ReferenceDataSource: IResolvable) { - cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -1219,7 +1219,7 @@ public open class CfnApplicationReferenceDataSource( * operation to trigger reloading of data into your application. */ override fun s3ReferenceDataSource(s3ReferenceDataSource: S3ReferenceDataSourceProperty) { - cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(S3ReferenceDataSourceProperty::unwrap)) + cdkBuilder.s3ReferenceDataSource(s3ReferenceDataSource.let(S3ReferenceDataSourceProperty.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class CfnApplicationReferenceDataSource( * @param recordColumns A list of `RecordColumn` objects. */ override fun recordColumns(recordColumns: IResolvable) { - cdkBuilder.recordColumns(recordColumns.let(IResolvable::unwrap)) + cdkBuilder.recordColumns(recordColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1441,14 +1441,14 @@ public open class CfnApplicationReferenceDataSource( * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: IResolvable) { - cdkBuilder.recordFormat(recordFormat.let(IResolvable::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(IResolvable.Companion::unwrap)) } /** * @param recordFormat Specifies the format of the records on the streaming source. */ override fun recordFormat(recordFormat: RecordFormatProperty) { - cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty::unwrap)) + cdkBuilder.recordFormat(recordFormat.let(RecordFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSourceProps.kt index 4c78b86850..6d8b40a6be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisanalyticsv2/CfnApplicationReferenceDataSourceProps.kt @@ -136,7 +136,7 @@ public interface CfnApplicationReferenceDataSourceProps { * the data elements in the Amazon S3 object to the in-application table. */ override fun referenceDataSource(referenceDataSource: IResolvable) { - cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface CfnApplicationReferenceDataSourceProps { */ override fun referenceDataSource(referenceDataSource: CfnApplicationReferenceDataSource.ReferenceDataSourceProperty) { - cdkBuilder.referenceDataSource(referenceDataSource.let(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty::unwrap)) + cdkBuilder.referenceDataSource(referenceDataSource.let(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStream.kt index 0692570f42..3d075e83ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStream.kt @@ -61,7 +61,7 @@ public open class CfnDeliveryStream( cdkObject: software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class CfnDeliveryStream( id: String, props: CfnDeliveryStreamProps, ) : - this(software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeliveryStreamProps::unwrap)) + this(software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeliveryStreamProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnDeliveryStream( * Service. */ public open fun amazonOpenSearchServerlessDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setAmazonOpenSearchServerlessDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAmazonOpenSearchServerlessDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class CfnDeliveryStream( */ public open fun amazonOpenSearchServerlessDestinationConfiguration(`value`: AmazonOpenSearchServerlessDestinationConfigurationProperty) { - unwrap(this).setAmazonOpenSearchServerlessDestinationConfiguration(`value`.let(AmazonOpenSearchServerlessDestinationConfigurationProperty::unwrap)) + unwrap(this).setAmazonOpenSearchServerlessDestinationConfiguration(`value`.let(AmazonOpenSearchServerlessDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnDeliveryStream( * The destination in Amazon OpenSearch Service. */ public open fun amazonopensearchserviceDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setAmazonopensearchserviceDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAmazonopensearchserviceDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnDeliveryStream( */ public open fun amazonopensearchserviceDestinationConfiguration(`value`: AmazonopensearchserviceDestinationConfigurationProperty) { - unwrap(this).setAmazonopensearchserviceDestinationConfiguration(`value`.let(AmazonopensearchserviceDestinationConfigurationProperty::unwrap)) + unwrap(this).setAmazonopensearchserviceDestinationConfiguration(`value`.let(AmazonopensearchserviceDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnDeliveryStream( * (SSE). */ public open fun deliveryStreamEncryptionConfigurationInput(`value`: IResolvable) { - unwrap(this).setDeliveryStreamEncryptionConfigurationInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeliveryStreamEncryptionConfigurationInput(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnDeliveryStream( */ public open fun deliveryStreamEncryptionConfigurationInput(`value`: DeliveryStreamEncryptionConfigurationInputProperty) { - unwrap(this).setDeliveryStreamEncryptionConfigurationInput(`value`.let(DeliveryStreamEncryptionConfigurationInputProperty::unwrap)) + unwrap(this).setDeliveryStreamEncryptionConfigurationInput(`value`.let(DeliveryStreamEncryptionConfigurationInputProperty.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnDeliveryStream( * An Amazon ES destination for the delivery stream. */ public open fun elasticsearchDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setElasticsearchDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticsearchDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnDeliveryStream( */ public open fun elasticsearchDestinationConfiguration(`value`: ElasticsearchDestinationConfigurationProperty) { - unwrap(this).setElasticsearchDestinationConfiguration(`value`.let(ElasticsearchDestinationConfigurationProperty::unwrap)) + unwrap(this).setElasticsearchDestinationConfiguration(`value`.let(ElasticsearchDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class CfnDeliveryStream( * An Amazon S3 destination for the delivery stream. */ public open fun extendedS3DestinationConfiguration(`value`: IResolvable) { - unwrap(this).setExtendedS3DestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setExtendedS3DestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnDeliveryStream( */ public open fun extendedS3DestinationConfiguration(`value`: ExtendedS3DestinationConfigurationProperty) { - unwrap(this).setExtendedS3DestinationConfiguration(`value`.let(ExtendedS3DestinationConfigurationProperty::unwrap)) + unwrap(this).setExtendedS3DestinationConfiguration(`value`.let(ExtendedS3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class CfnDeliveryStream( * Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. */ public open fun httpEndpointDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setHttpEndpointDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpEndpointDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnDeliveryStream( */ public open fun httpEndpointDestinationConfiguration(`value`: HttpEndpointDestinationConfigurationProperty) { - unwrap(this).setHttpEndpointDestinationConfiguration(`value`.let(HttpEndpointDestinationConfigurationProperty::unwrap)) + unwrap(this).setHttpEndpointDestinationConfiguration(`value`.let(HttpEndpointDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class CfnDeliveryStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CfnDeliveryStream( * containing the Kinesis stream ARN and the role ARN for the source stream. */ public open fun kinesisStreamSourceConfiguration(`value`: IResolvable) { - unwrap(this).setKinesisStreamSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisStreamSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnDeliveryStream( */ public open fun kinesisStreamSourceConfiguration(`value`: KinesisStreamSourceConfigurationProperty) { - unwrap(this).setKinesisStreamSourceConfiguration(`value`.let(KinesisStreamSourceConfigurationProperty::unwrap)) + unwrap(this).setKinesisStreamSourceConfiguration(`value`.let(KinesisStreamSourceConfigurationProperty.Companion::unwrap)) } /** @@ -364,14 +364,14 @@ public open class CfnDeliveryStream( * The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. */ public open fun mskSourceConfiguration(`value`: IResolvable) { - unwrap(this).setMskSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setMskSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. */ public open fun mskSourceConfiguration(`value`: MSKSourceConfigurationProperty) { - unwrap(this).setMskSourceConfiguration(`value`.let(MSKSourceConfigurationProperty::unwrap)) + unwrap(this).setMskSourceConfiguration(`value`.let(MSKSourceConfigurationProperty.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class CfnDeliveryStream( * An Amazon Redshift destination for the delivery stream. */ public open fun redshiftDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setRedshiftDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRedshiftDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnDeliveryStream( */ public open fun redshiftDestinationConfiguration(`value`: RedshiftDestinationConfigurationProperty) { - unwrap(this).setRedshiftDestinationConfiguration(`value`.let(RedshiftDestinationConfigurationProperty::unwrap)) + unwrap(this).setRedshiftDestinationConfiguration(`value`.let(RedshiftDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnDeliveryStream( * data. */ public open fun s3DestinationConfiguration(`value`: IResolvable) { - unwrap(this).setS3DestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3DestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnDeliveryStream( * data. */ public open fun s3DestinationConfiguration(`value`: S3DestinationConfigurationProperty) { - unwrap(this).setS3DestinationConfiguration(`value`.let(S3DestinationConfigurationProperty::unwrap)) + unwrap(this).setS3DestinationConfiguration(`value`.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnDeliveryStream( * Configure Snowflake destination. */ public open fun snowflakeDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setSnowflakeDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnowflakeDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnDeliveryStream( */ public open fun snowflakeDestinationConfiguration(`value`: SnowflakeDestinationConfigurationProperty) { - unwrap(this).setSnowflakeDestinationConfiguration(`value`.let(SnowflakeDestinationConfigurationProperty::unwrap)) + unwrap(this).setSnowflakeDestinationConfiguration(`value`.let(SnowflakeDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -489,14 +489,14 @@ public open class CfnDeliveryStream( * The configuration of a destination in Splunk for the delivery stream. */ public open fun splunkDestinationConfiguration(`value`: IResolvable) { - unwrap(this).setSplunkDestinationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSplunkDestinationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of a destination in Splunk for the delivery stream. */ public open fun splunkDestinationConfiguration(`value`: SplunkDestinationConfigurationProperty) { - unwrap(this).setSplunkDestinationConfiguration(`value`.let(SplunkDestinationConfigurationProperty::unwrap)) + unwrap(this).setSplunkDestinationConfiguration(`value`.let(SplunkDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnDeliveryStream( * A set of tags to assign to the delivery stream. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1132,7 +1132,7 @@ public open class CfnDeliveryStream( */ override fun amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration: IResolvable) { - cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1145,7 +1145,7 @@ public open class CfnDeliveryStream( */ override fun amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration: AmazonOpenSearchServerlessDestinationConfigurationProperty) { - cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(AmazonOpenSearchServerlessDestinationConfigurationProperty::unwrap)) + cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(AmazonOpenSearchServerlessDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1174,7 +1174,7 @@ public open class CfnDeliveryStream( */ override fun amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration: IResolvable) { - cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1188,7 +1188,7 @@ public open class CfnDeliveryStream( */ override fun amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration: AmazonopensearchserviceDestinationConfigurationProperty) { - cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(AmazonopensearchserviceDestinationConfigurationProperty::unwrap)) + cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(AmazonopensearchserviceDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1217,7 +1217,7 @@ public open class CfnDeliveryStream( */ override fun deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput: IResolvable) { - cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(IResolvable::unwrap)) + cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(IResolvable.Companion::unwrap)) } /** @@ -1230,7 +1230,7 @@ public open class CfnDeliveryStream( */ override fun deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput: DeliveryStreamEncryptionConfigurationInputProperty) { - cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(DeliveryStreamEncryptionConfigurationInputProperty::unwrap)) + cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(DeliveryStreamEncryptionConfigurationInputProperty.Companion::unwrap)) } /** @@ -1288,7 +1288,7 @@ public open class CfnDeliveryStream( */ override fun elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration: IResolvable) { - cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1307,7 +1307,7 @@ public open class CfnDeliveryStream( */ override fun elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration: ElasticsearchDestinationConfigurationProperty) { - cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(ElasticsearchDestinationConfigurationProperty::unwrap)) + cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(ElasticsearchDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1346,7 +1346,7 @@ public open class CfnDeliveryStream( */ override fun extendedS3DestinationConfiguration(extendedS3DestinationConfiguration: IResolvable) { - cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1364,7 +1364,7 @@ public open class CfnDeliveryStream( */ override fun extendedS3DestinationConfiguration(extendedS3DestinationConfiguration: ExtendedS3DestinationConfigurationProperty) { - cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(ExtendedS3DestinationConfigurationProperty::unwrap)) + cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(ExtendedS3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1398,7 +1398,7 @@ public open class CfnDeliveryStream( */ override fun httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration: IResolvable) { - cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1412,7 +1412,7 @@ public open class CfnDeliveryStream( */ override fun httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration: HttpEndpointDestinationConfigurationProperty) { - cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(HttpEndpointDestinationConfigurationProperty::unwrap)) + cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(HttpEndpointDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1443,7 +1443,7 @@ public open class CfnDeliveryStream( * containing the Kinesis stream ARN and the role ARN for the source stream. */ override fun kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration: IResolvable) { - cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1459,7 +1459,7 @@ public open class CfnDeliveryStream( */ override fun kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration: KinesisStreamSourceConfigurationProperty) { - cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(KinesisStreamSourceConfigurationProperty::unwrap)) + cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(KinesisStreamSourceConfigurationProperty.Companion::unwrap)) } /** @@ -1488,7 +1488,7 @@ public open class CfnDeliveryStream( * source for a delivery stream. */ override fun mskSourceConfiguration(mskSourceConfiguration: IResolvable) { - cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1499,7 +1499,7 @@ public open class CfnDeliveryStream( * source for a delivery stream. */ override fun mskSourceConfiguration(mskSourceConfiguration: MSKSourceConfigurationProperty) { - cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(MSKSourceConfigurationProperty::unwrap)) + cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(MSKSourceConfigurationProperty.Companion::unwrap)) } /** @@ -1530,7 +1530,7 @@ public open class CfnDeliveryStream( * stream. */ override fun redshiftDestinationConfiguration(redshiftDestinationConfiguration: IResolvable) { - cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1549,7 +1549,7 @@ public open class CfnDeliveryStream( */ override fun redshiftDestinationConfiguration(redshiftDestinationConfiguration: RedshiftDestinationConfigurationProperty) { - cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(RedshiftDestinationConfigurationProperty::unwrap)) + cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(RedshiftDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1591,7 +1591,7 @@ public open class CfnDeliveryStream( * (Kinesis Data Firehose) delivers data. */ override fun s3DestinationConfiguration(s3DestinationConfiguration: IResolvable) { - cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1613,7 +1613,7 @@ public open class CfnDeliveryStream( */ override fun s3DestinationConfiguration(s3DestinationConfiguration: S3DestinationConfigurationProperty) { - cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1647,7 +1647,7 @@ public open class CfnDeliveryStream( * @param snowflakeDestinationConfiguration Configure Snowflake destination. */ override fun snowflakeDestinationConfiguration(snowflakeDestinationConfiguration: IResolvable) { - cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1658,7 +1658,7 @@ public open class CfnDeliveryStream( */ override fun snowflakeDestinationConfiguration(snowflakeDestinationConfiguration: SnowflakeDestinationConfigurationProperty) { - cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(SnowflakeDestinationConfigurationProperty::unwrap)) + cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(SnowflakeDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1682,7 +1682,7 @@ public open class CfnDeliveryStream( * delivery stream. */ override fun splunkDestinationConfiguration(splunkDestinationConfiguration: IResolvable) { - cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1694,7 +1694,7 @@ public open class CfnDeliveryStream( */ override fun splunkDestinationConfiguration(splunkDestinationConfiguration: SplunkDestinationConfigurationProperty) { - cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(SplunkDestinationConfigurationProperty::unwrap)) + cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(SplunkDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1742,7 +1742,7 @@ public open class CfnDeliveryStream( * @param tags A set of tags to assign to the delivery stream. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2267,7 +2267,7 @@ public open class CfnDeliveryStream( * used. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** @@ -2277,7 +2277,7 @@ public open class CfnDeliveryStream( */ override fun bufferingHints(bufferingHints: AmazonOpenSearchServerlessBufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(AmazonOpenSearchServerlessBufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(AmazonOpenSearchServerlessBufferingHintsProperty.Companion::unwrap)) } /** @@ -2295,7 +2295,7 @@ public open class CfnDeliveryStream( * @param cloudWatchLoggingOptions the value to be set. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2303,7 +2303,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -2335,7 +2335,7 @@ public open class CfnDeliveryStream( * @param processingConfiguration the value to be set. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2343,7 +2343,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -2361,7 +2361,7 @@ public open class CfnDeliveryStream( * The default value is 300 (5 minutes). */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2370,7 +2370,7 @@ public open class CfnDeliveryStream( * The default value is 300 (5 minutes). */ override fun retryOptions(retryOptions: AmazonOpenSearchServerlessRetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(AmazonOpenSearchServerlessRetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(AmazonOpenSearchServerlessRetryOptionsProperty.Companion::unwrap)) } /** @@ -2409,14 +2409,14 @@ public open class CfnDeliveryStream( * @param s3Configuration the value to be set. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration the value to be set. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -2432,14 +2432,14 @@ public open class CfnDeliveryStream( * @param vpcConfiguration the value to be set. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfiguration the value to be set. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -3196,7 +3196,7 @@ public open class CfnDeliveryStream( * used. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** @@ -3205,7 +3205,7 @@ public open class CfnDeliveryStream( * used. */ override fun bufferingHints(bufferingHints: AmazonopensearchserviceBufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(AmazonopensearchserviceBufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(AmazonopensearchserviceBufferingHintsProperty.Companion::unwrap)) } /** @@ -3224,7 +3224,7 @@ public open class CfnDeliveryStream( * delivery stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3233,7 +3233,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -3261,7 +3261,7 @@ public open class CfnDeliveryStream( * document ID. */ override fun documentIdOptions(documentIdOptions: IResolvable) { - cdkBuilder.documentIdOptions(documentIdOptions.let(IResolvable::unwrap)) + cdkBuilder.documentIdOptions(documentIdOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3270,7 +3270,7 @@ public open class CfnDeliveryStream( * document ID. */ override fun documentIdOptions(documentIdOptions: DocumentIdOptionsProperty) { - cdkBuilder.documentIdOptions(documentIdOptions.let(DocumentIdOptionsProperty::unwrap)) + cdkBuilder.documentIdOptions(documentIdOptions.let(DocumentIdOptionsProperty.Companion::unwrap)) } /** @@ -3311,7 +3311,7 @@ public open class CfnDeliveryStream( * @param processingConfiguration Describes a data processing configuration. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3319,7 +3319,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -3337,7 +3337,7 @@ public open class CfnDeliveryStream( * The default value is 300 (5 minutes). */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3346,7 +3346,7 @@ public open class CfnDeliveryStream( * The default value is 300 (5 minutes). */ override fun retryOptions(retryOptions: AmazonopensearchserviceRetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(AmazonopensearchserviceRetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(AmazonopensearchserviceRetryOptionsProperty.Companion::unwrap)) } /** @@ -3380,14 +3380,14 @@ public open class CfnDeliveryStream( * @param s3Configuration Describes the configuration of a destination in Amazon S3. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration Describes the configuration of a destination in Amazon S3. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -3411,7 +3411,7 @@ public open class CfnDeliveryStream( * destination. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3419,7 +3419,7 @@ public open class CfnDeliveryStream( * destination. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -4030,7 +4030,7 @@ public open class CfnDeliveryStream( * @param enabled Indicates whether CloudWatch Logs logging is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -4488,7 +4488,7 @@ public open class CfnDeliveryStream( * configuration details. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -4497,7 +4497,7 @@ public open class CfnDeliveryStream( * This parameter is required if `Enabled` is set to true. */ override fun inputFormatConfiguration(inputFormatConfiguration: IResolvable) { - cdkBuilder.inputFormatConfiguration(inputFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.inputFormatConfiguration(inputFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4507,7 +4507,7 @@ public open class CfnDeliveryStream( */ override fun inputFormatConfiguration(inputFormatConfiguration: InputFormatConfigurationProperty) { - cdkBuilder.inputFormatConfiguration(inputFormatConfiguration.let(InputFormatConfigurationProperty::unwrap)) + cdkBuilder.inputFormatConfiguration(inputFormatConfiguration.let(InputFormatConfigurationProperty.Companion::unwrap)) } /** @@ -4528,7 +4528,7 @@ public open class CfnDeliveryStream( * This parameter is required if `Enabled` is set to true. */ override fun outputFormatConfiguration(outputFormatConfiguration: IResolvable) { - cdkBuilder.outputFormatConfiguration(outputFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.outputFormatConfiguration(outputFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4538,7 +4538,7 @@ public open class CfnDeliveryStream( */ override fun outputFormatConfiguration(outputFormatConfiguration: OutputFormatConfigurationProperty) { - cdkBuilder.outputFormatConfiguration(outputFormatConfiguration.let(OutputFormatConfigurationProperty::unwrap)) + cdkBuilder.outputFormatConfiguration(outputFormatConfiguration.let(OutputFormatConfigurationProperty.Companion::unwrap)) } /** @@ -4559,7 +4559,7 @@ public open class CfnDeliveryStream( * This parameter is required if `Enabled` is set to true. */ override fun schemaConfiguration(schemaConfiguration: IResolvable) { - cdkBuilder.schemaConfiguration(schemaConfiguration.let(IResolvable::unwrap)) + cdkBuilder.schemaConfiguration(schemaConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4568,7 +4568,7 @@ public open class CfnDeliveryStream( * This parameter is required if `Enabled` is set to true. */ override fun schemaConfiguration(schemaConfiguration: SchemaConfigurationProperty) { - cdkBuilder.schemaConfiguration(schemaConfiguration.let(SchemaConfigurationProperty::unwrap)) + cdkBuilder.schemaConfiguration(schemaConfiguration.let(SchemaConfigurationProperty.Companion::unwrap)) } /** @@ -4957,7 +4957,7 @@ public open class CfnDeliveryStream( * the OpenX SerDe. */ override fun hiveJsonSerDe(hiveJsonSerDe: IResolvable) { - cdkBuilder.hiveJsonSerDe(hiveJsonSerDe.let(IResolvable::unwrap)) + cdkBuilder.hiveJsonSerDe(hiveJsonSerDe.let(IResolvable.Companion::unwrap)) } /** @@ -4968,7 +4968,7 @@ public open class CfnDeliveryStream( * the OpenX SerDe. */ override fun hiveJsonSerDe(hiveJsonSerDe: HiveJsonSerDeProperty) { - cdkBuilder.hiveJsonSerDe(hiveJsonSerDe.let(HiveJsonSerDeProperty::unwrap)) + cdkBuilder.hiveJsonSerDe(hiveJsonSerDe.let(HiveJsonSerDeProperty.Companion::unwrap)) } /** @@ -4991,7 +4991,7 @@ public open class CfnDeliveryStream( * the native Hive / HCatalog JsonSerDe. */ override fun openXJsonSerDe(openXJsonSerDe: IResolvable) { - cdkBuilder.openXJsonSerDe(openXJsonSerDe.let(IResolvable::unwrap)) + cdkBuilder.openXJsonSerDe(openXJsonSerDe.let(IResolvable.Companion::unwrap)) } /** @@ -5002,7 +5002,7 @@ public open class CfnDeliveryStream( * the native Hive / HCatalog JsonSerDe. */ override fun openXJsonSerDe(openXJsonSerDe: OpenXJsonSerDeProperty) { - cdkBuilder.openXJsonSerDe(openXJsonSerDe.let(OpenXJsonSerDeProperty::unwrap)) + cdkBuilder.openXJsonSerDe(openXJsonSerDe.let(OpenXJsonSerDeProperty.Companion::unwrap)) } /** @@ -5291,7 +5291,7 @@ public open class CfnDeliveryStream( * Firehose delivery stream. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -5299,7 +5299,7 @@ public open class CfnDeliveryStream( * deliver data to an Amazon S3 prefix. */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5307,7 +5307,7 @@ public open class CfnDeliveryStream( * deliver data to an Amazon S3 prefix. */ override fun retryOptions(retryOptions: RetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(RetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(RetryOptionsProperty.Companion::unwrap)) } /** @@ -5943,7 +5943,7 @@ public open class CfnDeliveryStream( * delivering it to the Amazon ES domain. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** @@ -5951,7 +5951,7 @@ public open class CfnDeliveryStream( * delivering it to the Amazon ES domain. */ override fun bufferingHints(bufferingHints: ElasticsearchBufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(ElasticsearchBufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(ElasticsearchBufferingHintsProperty.Companion::unwrap)) } /** @@ -5969,7 +5969,7 @@ public open class CfnDeliveryStream( * stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5978,7 +5978,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -6006,7 +6006,7 @@ public open class CfnDeliveryStream( * document ID. */ override fun documentIdOptions(documentIdOptions: IResolvable) { - cdkBuilder.documentIdOptions(documentIdOptions.let(IResolvable::unwrap)) + cdkBuilder.documentIdOptions(documentIdOptions.let(IResolvable.Companion::unwrap)) } /** @@ -6015,7 +6015,7 @@ public open class CfnDeliveryStream( * document ID. */ override fun documentIdOptions(documentIdOptions: DocumentIdOptionsProperty) { - cdkBuilder.documentIdOptions(documentIdOptions.let(DocumentIdOptionsProperty::unwrap)) + cdkBuilder.documentIdOptions(documentIdOptions.let(DocumentIdOptionsProperty.Companion::unwrap)) } /** @@ -6066,7 +6066,7 @@ public open class CfnDeliveryStream( * Firehose delivery stream. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6075,7 +6075,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -6093,7 +6093,7 @@ public open class CfnDeliveryStream( * to Amazon ES. */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -6101,7 +6101,7 @@ public open class CfnDeliveryStream( * to Amazon ES. */ override fun retryOptions(retryOptions: ElasticsearchRetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(ElasticsearchRetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(ElasticsearchRetryOptionsProperty.Companion::unwrap)) } /** @@ -6140,14 +6140,14 @@ public open class CfnDeliveryStream( * @param s3Configuration The S3 bucket where Kinesis Data Firehose backs up incoming data. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration The S3 bucket where Kinesis Data Firehose backs up incoming data. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -6171,14 +6171,14 @@ public open class CfnDeliveryStream( * @param vpcConfiguration The details of the VPC of the Amazon ES destination. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfiguration The details of the VPC of the Amazon ES destination. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -6540,7 +6540,7 @@ public open class CfnDeliveryStream( * Amazon S3 uses to encrypt your data. */ override fun kmsEncryptionConfig(kmsEncryptionConfig: IResolvable) { - cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(IResolvable::unwrap)) + cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6548,7 +6548,7 @@ public open class CfnDeliveryStream( * Amazon S3 uses to encrypt your data. */ override fun kmsEncryptionConfig(kmsEncryptionConfig: KMSEncryptionConfigProperty) { - cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(KMSEncryptionConfigProperty::unwrap)) + cdkBuilder.kmsEncryptionConfig(kmsEncryptionConfig.let(KMSEncryptionConfigProperty.Companion::unwrap)) } /** @@ -7121,14 +7121,14 @@ public open class CfnDeliveryStream( * @param bufferingHints The buffering option. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** * @param bufferingHints The buffering option. */ override fun bufferingHints(bufferingHints: BufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(BufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(BufferingHintsProperty.Companion::unwrap)) } /** @@ -7144,7 +7144,7 @@ public open class CfnDeliveryStream( * stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7153,7 +7153,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -7190,7 +7190,7 @@ public open class CfnDeliveryStream( */ override fun dataFormatConversionConfiguration(dataFormatConversionConfiguration: IResolvable) { - cdkBuilder.dataFormatConversionConfiguration(dataFormatConversionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataFormatConversionConfiguration(dataFormatConversionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7200,7 +7200,7 @@ public open class CfnDeliveryStream( */ override fun dataFormatConversionConfiguration(dataFormatConversionConfiguration: DataFormatConversionConfigurationProperty) { - cdkBuilder.dataFormatConversionConfiguration(dataFormatConversionConfiguration.let(DataFormatConversionConfigurationProperty::unwrap)) + cdkBuilder.dataFormatConversionConfiguration(dataFormatConversionConfiguration.let(DataFormatConversionConfigurationProperty.Companion::unwrap)) } /** @@ -7221,7 +7221,7 @@ public open class CfnDeliveryStream( * partition keys. */ override fun dynamicPartitioningConfiguration(dynamicPartitioningConfiguration: IResolvable) { - cdkBuilder.dynamicPartitioningConfiguration(dynamicPartitioningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dynamicPartitioningConfiguration(dynamicPartitioningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7231,7 +7231,7 @@ public open class CfnDeliveryStream( */ override fun dynamicPartitioningConfiguration(dynamicPartitioningConfiguration: DynamicPartitioningConfigurationProperty) { - cdkBuilder.dynamicPartitioningConfiguration(dynamicPartitioningConfiguration.let(DynamicPartitioningConfigurationProperty::unwrap)) + cdkBuilder.dynamicPartitioningConfiguration(dynamicPartitioningConfiguration.let(DynamicPartitioningConfigurationProperty.Companion::unwrap)) } /** @@ -7252,7 +7252,7 @@ public open class CfnDeliveryStream( * The default value is `NoEncryption` . */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7262,7 +7262,7 @@ public open class CfnDeliveryStream( */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -7311,7 +7311,7 @@ public open class CfnDeliveryStream( * Firehose delivery stream. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7320,7 +7320,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -7347,7 +7347,7 @@ public open class CfnDeliveryStream( * @param s3BackupConfiguration The configuration for backup in Amazon S3. */ override fun s3BackupConfiguration(s3BackupConfiguration: IResolvable) { - cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7355,7 +7355,7 @@ public open class CfnDeliveryStream( */ override fun s3BackupConfiguration(s3BackupConfiguration: S3DestinationConfigurationProperty) { - cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -8281,7 +8281,7 @@ public open class CfnDeliveryStream( * specify a value for one of them, you must also provide a value for the other. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** @@ -8292,7 +8292,7 @@ public open class CfnDeliveryStream( * specify a value for one of them, you must also provide a value for the other. */ override fun bufferingHints(bufferingHints: BufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(BufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(BufferingHintsProperty.Companion::unwrap)) } /** @@ -8312,7 +8312,7 @@ public open class CfnDeliveryStream( * delivery stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8321,7 +8321,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -8340,7 +8340,7 @@ public open class CfnDeliveryStream( * destination. */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -8348,7 +8348,7 @@ public open class CfnDeliveryStream( * destination. */ override fun endpointConfiguration(endpointConfiguration: HttpEndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(HttpEndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(HttpEndpointConfigurationProperty.Companion::unwrap)) } /** @@ -8365,7 +8365,7 @@ public open class CfnDeliveryStream( * @param processingConfiguration Describes the data processing configuration. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -8373,7 +8373,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -8390,7 +8390,7 @@ public open class CfnDeliveryStream( * specified as the destination. */ override fun requestConfiguration(requestConfiguration: IResolvable) { - cdkBuilder.requestConfiguration(requestConfiguration.let(IResolvable::unwrap)) + cdkBuilder.requestConfiguration(requestConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -8399,7 +8399,7 @@ public open class CfnDeliveryStream( */ override fun requestConfiguration(requestConfiguration: HttpEndpointRequestConfigurationProperty) { - cdkBuilder.requestConfiguration(requestConfiguration.let(HttpEndpointRequestConfigurationProperty::unwrap)) + cdkBuilder.requestConfiguration(requestConfiguration.let(HttpEndpointRequestConfigurationProperty.Companion::unwrap)) } /** @@ -8419,7 +8419,7 @@ public open class CfnDeliveryStream( * acknowledgment of receipt from the specified HTTP endpoint destination. */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8428,7 +8428,7 @@ public open class CfnDeliveryStream( * acknowledgment of receipt from the specified HTTP endpoint destination. */ override fun retryOptions(retryOptions: RetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(RetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(RetryOptionsProperty.Companion::unwrap)) } /** @@ -8463,14 +8463,14 @@ public open class CfnDeliveryStream( * @param s3Configuration Describes the configuration of a destination in Amazon S3. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration Describes the configuration of a destination in Amazon S3. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -8667,7 +8667,7 @@ public open class CfnDeliveryStream( * @param commonAttributes Describes the metadata sent to the HTTP endpoint destination. */ override fun commonAttributes(commonAttributes: IResolvable) { - cdkBuilder.commonAttributes(commonAttributes.let(IResolvable::unwrap)) + cdkBuilder.commonAttributes(commonAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -8820,7 +8820,7 @@ public open class CfnDeliveryStream( * non-null, the server rejects the request. */ override fun deserializer(deserializer: IResolvable) { - cdkBuilder.deserializer(deserializer.let(IResolvable::unwrap)) + cdkBuilder.deserializer(deserializer.let(IResolvable.Companion::unwrap)) } /** @@ -8829,7 +8829,7 @@ public open class CfnDeliveryStream( * non-null, the server rejects the request. */ override fun deserializer(deserializer: DeserializerProperty) { - cdkBuilder.deserializer(deserializer.let(DeserializerProperty::unwrap)) + cdkBuilder.deserializer(deserializer.let(DeserializerProperty.Companion::unwrap)) } /** @@ -9178,7 +9178,7 @@ public open class CfnDeliveryStream( * cluster. */ override fun authenticationConfiguration(authenticationConfiguration: IResolvable) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -9187,7 +9187,7 @@ public open class CfnDeliveryStream( */ override fun authenticationConfiguration(authenticationConfiguration: AuthenticationConfigurationProperty) { - cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(AuthenticationConfigurationProperty::unwrap)) + cdkBuilder.authenticationConfiguration(authenticationConfiguration.let(AuthenticationConfigurationProperty.Companion::unwrap)) } /** @@ -9400,7 +9400,7 @@ public open class CfnDeliveryStream( * keys to lowercase before deserializing them. */ override fun caseInsensitive(caseInsensitive: IResolvable) { - cdkBuilder.caseInsensitive(caseInsensitive.let(IResolvable::unwrap)) + cdkBuilder.caseInsensitive(caseInsensitive.let(IResolvable.Companion::unwrap)) } /** @@ -9411,7 +9411,7 @@ public open class CfnDeliveryStream( * "timestamp"}` to map this key to a column named `ts` . */ override fun columnToJsonKeyMappings(columnToJsonKeyMappings: IResolvable) { - cdkBuilder.columnToJsonKeyMappings(columnToJsonKeyMappings.let(IResolvable::unwrap)) + cdkBuilder.columnToJsonKeyMappings(columnToJsonKeyMappings.let(IResolvable.Companion::unwrap)) } /** @@ -9449,7 +9449,7 @@ public open class CfnDeliveryStream( */ override fun convertDotsInJsonKeysToUnderscores(convertDotsInJsonKeysToUnderscores: IResolvable) { - cdkBuilder.convertDotsInJsonKeysToUnderscores(convertDotsInJsonKeysToUnderscores.let(IResolvable::unwrap)) + cdkBuilder.convertDotsInJsonKeysToUnderscores(convertDotsInJsonKeysToUnderscores.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -9824,7 +9824,7 @@ public open class CfnDeliveryStream( * default is `false` . */ override fun enablePadding(enablePadding: IResolvable) { - cdkBuilder.enablePadding(enablePadding.let(IResolvable::unwrap)) + cdkBuilder.enablePadding(enablePadding.let(IResolvable.Companion::unwrap)) } /** @@ -10095,7 +10095,7 @@ public open class CfnDeliveryStream( * rejects the request. */ override fun serializer(serializer: IResolvable) { - cdkBuilder.serializer(serializer.let(IResolvable::unwrap)) + cdkBuilder.serializer(serializer.let(IResolvable.Companion::unwrap)) } /** @@ -10104,7 +10104,7 @@ public open class CfnDeliveryStream( * rejects the request. */ override fun serializer(serializer: SerializerProperty) { - cdkBuilder.serializer(serializer.let(SerializerProperty::unwrap)) + cdkBuilder.serializer(serializer.let(SerializerProperty.Companion::unwrap)) } /** @@ -10326,7 +10326,7 @@ public open class CfnDeliveryStream( * @param enableDictionaryCompression Indicates whether to enable dictionary compression. */ override fun enableDictionaryCompression(enableDictionaryCompression: IResolvable) { - cdkBuilder.enableDictionaryCompression(enableDictionaryCompression.let(IResolvable::unwrap)) + cdkBuilder.enableDictionaryCompression(enableDictionaryCompression.let(IResolvable.Companion::unwrap)) } /** @@ -10530,14 +10530,14 @@ public open class CfnDeliveryStream( * @param enabled Indicates whether data processing is enabled (true) or disabled (false). */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param processors The data processors. */ override fun processors(processors: IResolvable) { - cdkBuilder.processors(processors.let(IResolvable::unwrap)) + cdkBuilder.processors(processors.let(IResolvable.Companion::unwrap)) } /** @@ -10797,7 +10797,7 @@ public open class CfnDeliveryStream( * @param parameters The processor parameters. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -11235,7 +11235,7 @@ public open class CfnDeliveryStream( * @param cloudWatchLoggingOptions The CloudWatch logging options for your delivery stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -11243,7 +11243,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -11269,7 +11269,7 @@ public open class CfnDeliveryStream( * uses to load data into the cluster from the Amazon S3 bucket. */ override fun copyCommand(copyCommand: IResolvable) { - cdkBuilder.copyCommand(copyCommand.let(IResolvable::unwrap)) + cdkBuilder.copyCommand(copyCommand.let(IResolvable.Companion::unwrap)) } /** @@ -11277,7 +11277,7 @@ public open class CfnDeliveryStream( * uses to load data into the cluster from the Amazon S3 bucket. */ override fun copyCommand(copyCommand: CopyCommandProperty) { - cdkBuilder.copyCommand(copyCommand.let(CopyCommandProperty::unwrap)) + cdkBuilder.copyCommand(copyCommand.let(CopyCommandProperty.Companion::unwrap)) } /** @@ -11302,7 +11302,7 @@ public open class CfnDeliveryStream( * Firehose delivery stream. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11311,7 +11311,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -11330,7 +11330,7 @@ public open class CfnDeliveryStream( * Default value is 3600 (60 minutes). */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -11339,7 +11339,7 @@ public open class CfnDeliveryStream( * Default value is 3600 (60 minutes). */ override fun retryOptions(retryOptions: RedshiftRetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(RedshiftRetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(RedshiftRetryOptionsProperty.Companion::unwrap)) } /** @@ -11368,7 +11368,7 @@ public open class CfnDeliveryStream( * @param s3BackupConfiguration The configuration for backup in Amazon S3. */ override fun s3BackupConfiguration(s3BackupConfiguration: IResolvable) { - cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11376,7 +11376,7 @@ public open class CfnDeliveryStream( */ override fun s3BackupConfiguration(s3BackupConfiguration: S3DestinationConfigurationProperty) { - cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3BackupConfiguration(s3BackupConfiguration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -11404,7 +11404,7 @@ public open class CfnDeliveryStream( * specify `SNAPPY` or `ZIP` because the Amazon Redshift `COPY` command doesn't support them. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** @@ -11414,7 +11414,7 @@ public open class CfnDeliveryStream( * specify `SNAPPY` or `ZIP` because the Amazon Redshift `COPY` command doesn't support them. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -12015,7 +12015,7 @@ public open class CfnDeliveryStream( * delivering it to the Amazon S3 bucket. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** @@ -12023,7 +12023,7 @@ public open class CfnDeliveryStream( * delivering it to the Amazon S3 bucket. */ override fun bufferingHints(bufferingHints: BufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(BufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(BufferingHintsProperty.Companion::unwrap)) } /** @@ -12039,7 +12039,7 @@ public open class CfnDeliveryStream( * @param cloudWatchLoggingOptions The CloudWatch logging options for your delivery stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -12047,7 +12047,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -12078,7 +12078,7 @@ public open class CfnDeliveryStream( * it delivers to your Amazon S3 bucket. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -12089,7 +12089,7 @@ public open class CfnDeliveryStream( */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -12690,7 +12690,7 @@ public open class CfnDeliveryStream( * ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) . */ override fun orcSerDe(orcSerDe: IResolvable) { - cdkBuilder.orcSerDe(orcSerDe.let(IResolvable::unwrap)) + cdkBuilder.orcSerDe(orcSerDe.let(IResolvable.Companion::unwrap)) } /** @@ -12700,7 +12700,7 @@ public open class CfnDeliveryStream( * ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) . */ override fun orcSerDe(orcSerDe: OrcSerDeProperty) { - cdkBuilder.orcSerDe(orcSerDe.let(OrcSerDeProperty::unwrap)) + cdkBuilder.orcSerDe(orcSerDe.let(OrcSerDeProperty.Companion::unwrap)) } /** @@ -12721,7 +12721,7 @@ public open class CfnDeliveryStream( * Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) . */ override fun parquetSerDe(parquetSerDe: IResolvable) { - cdkBuilder.parquetSerDe(parquetSerDe.let(IResolvable::unwrap)) + cdkBuilder.parquetSerDe(parquetSerDe.let(IResolvable.Companion::unwrap)) } /** @@ -12731,7 +12731,7 @@ public open class CfnDeliveryStream( * Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) . */ override fun parquetSerDe(parquetSerDe: ParquetSerDeProperty) { - cdkBuilder.parquetSerDe(parquetSerDe.let(ParquetSerDeProperty::unwrap)) + cdkBuilder.parquetSerDe(parquetSerDe.let(ParquetSerDeProperty.Companion::unwrap)) } /** @@ -13241,7 +13241,7 @@ public open class CfnDeliveryStream( * @param cloudWatchLoggingOptions the value to be set. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -13249,7 +13249,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -13316,7 +13316,7 @@ public open class CfnDeliveryStream( * @param processingConfiguration the value to be set. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -13324,7 +13324,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -13341,7 +13341,7 @@ public open class CfnDeliveryStream( * HTTP endpoint. */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -13349,7 +13349,7 @@ public open class CfnDeliveryStream( * HTTP endpoint. */ override fun retryOptions(retryOptions: SnowflakeRetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(SnowflakeRetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(SnowflakeRetryOptionsProperty.Companion::unwrap)) } /** @@ -13379,14 +13379,14 @@ public open class CfnDeliveryStream( * @param s3Configuration the value to be set. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration the value to be set. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -13411,7 +13411,7 @@ public open class CfnDeliveryStream( * Otherwise the default user role will be used. */ override fun snowflakeRoleConfiguration(snowflakeRoleConfiguration: IResolvable) { - cdkBuilder.snowflakeRoleConfiguration(snowflakeRoleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snowflakeRoleConfiguration(snowflakeRoleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -13420,7 +13420,7 @@ public open class CfnDeliveryStream( */ override fun snowflakeRoleConfiguration(snowflakeRoleConfiguration: SnowflakeRoleConfigurationProperty) { - cdkBuilder.snowflakeRoleConfiguration(snowflakeRoleConfiguration.let(SnowflakeRoleConfigurationProperty::unwrap)) + cdkBuilder.snowflakeRoleConfiguration(snowflakeRoleConfiguration.let(SnowflakeRoleConfigurationProperty.Companion::unwrap)) } /** @@ -13442,7 +13442,7 @@ public open class CfnDeliveryStream( * Snowflake](https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/admin-security-privatelink) */ override fun snowflakeVpcConfiguration(snowflakeVpcConfiguration: IResolvable) { - cdkBuilder.snowflakeVpcConfiguration(snowflakeVpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snowflakeVpcConfiguration(snowflakeVpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -13454,7 +13454,7 @@ public open class CfnDeliveryStream( */ override fun snowflakeVpcConfiguration(snowflakeVpcConfiguration: SnowflakeVpcConfigurationProperty) { - cdkBuilder.snowflakeVpcConfiguration(snowflakeVpcConfiguration.let(SnowflakeVpcConfigurationProperty::unwrap)) + cdkBuilder.snowflakeVpcConfiguration(snowflakeVpcConfiguration.let(SnowflakeVpcConfigurationProperty.Companion::unwrap)) } /** @@ -13826,7 +13826,7 @@ public open class CfnDeliveryStream( * @param enabled Enable Snowflake role. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -14415,7 +14415,7 @@ public open class CfnDeliveryStream( * If no value is specified, the default values for Splunk are used. */ override fun bufferingHints(bufferingHints: IResolvable) { - cdkBuilder.bufferingHints(bufferingHints.let(IResolvable::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(IResolvable.Companion::unwrap)) } /** @@ -14423,7 +14423,7 @@ public open class CfnDeliveryStream( * If no value is specified, the default values for Splunk are used. */ override fun bufferingHints(bufferingHints: SplunkBufferingHintsProperty) { - cdkBuilder.bufferingHints(bufferingHints.let(SplunkBufferingHintsProperty::unwrap)) + cdkBuilder.bufferingHints(bufferingHints.let(SplunkBufferingHintsProperty.Companion::unwrap)) } /** @@ -14440,7 +14440,7 @@ public open class CfnDeliveryStream( * stream. */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: IResolvable) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14449,7 +14449,7 @@ public open class CfnDeliveryStream( */ override fun cloudWatchLoggingOptions(cloudWatchLoggingOptions: CloudWatchLoggingOptionsProperty) { - cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty::unwrap)) + cdkBuilder.cloudWatchLoggingOptions(cloudWatchLoggingOptions.let(CloudWatchLoggingOptionsProperty.Companion::unwrap)) } /** @@ -14500,7 +14500,7 @@ public open class CfnDeliveryStream( * @param processingConfiguration The data processing configuration. */ override fun processingConfiguration(processingConfiguration: IResolvable) { - cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -14508,7 +14508,7 @@ public open class CfnDeliveryStream( */ override fun processingConfiguration(processingConfiguration: ProcessingConfigurationProperty) { - cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty::unwrap)) + cdkBuilder.processingConfiguration(processingConfiguration.let(ProcessingConfigurationProperty.Companion::unwrap)) } /** @@ -14525,7 +14525,7 @@ public open class CfnDeliveryStream( * Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk. */ override fun retryOptions(retryOptions: IResolvable) { - cdkBuilder.retryOptions(retryOptions.let(IResolvable::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14533,7 +14533,7 @@ public open class CfnDeliveryStream( * Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk. */ override fun retryOptions(retryOptions: SplunkRetryOptionsProperty) { - cdkBuilder.retryOptions(retryOptions.let(SplunkRetryOptionsProperty::unwrap)) + cdkBuilder.retryOptions(retryOptions.let(SplunkRetryOptionsProperty.Companion::unwrap)) } /** @@ -14563,14 +14563,14 @@ public open class CfnDeliveryStream( * @param s3Configuration The configuration for the backup Amazon S3 location. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration The configuration for the backup Amazon S3 location. */ override fun s3Configuration(s3Configuration: S3DestinationConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3DestinationConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStreamProps.kt index 2fbeb265c8..b604e4f2ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisfirehose/CfnDeliveryStreamProps.kt @@ -656,7 +656,7 @@ public interface CfnDeliveryStreamProps { */ override fun amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration: IResolvable) { - cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public interface CfnDeliveryStreamProps { */ override fun amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration: CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty) { - cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty::unwrap)) + cdkBuilder.amazonOpenSearchServerlessDestinationConfiguration(amazonOpenSearchServerlessDestinationConfiguration.let(CfnDeliveryStream.AmazonOpenSearchServerlessDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public interface CfnDeliveryStreamProps { */ override fun amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration: IResolvable) { - cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public interface CfnDeliveryStreamProps { */ override fun amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration: CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty) { - cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty::unwrap)) + cdkBuilder.amazonopensearchserviceDestinationConfiguration(amazonopensearchserviceDestinationConfiguration.let(CfnDeliveryStream.AmazonopensearchserviceDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public interface CfnDeliveryStreamProps { */ override fun deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput: IResolvable) { - cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(IResolvable::unwrap)) + cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(IResolvable.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public interface CfnDeliveryStreamProps { */ override fun deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput: CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty) { - cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty::unwrap)) + cdkBuilder.deliveryStreamEncryptionConfigurationInput(deliveryStreamEncryptionConfigurationInput.let(CfnDeliveryStream.DeliveryStreamEncryptionConfigurationInputProperty.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public interface CfnDeliveryStreamProps { */ override fun elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration: IResolvable) { - cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public interface CfnDeliveryStreamProps { */ override fun elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration: CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty) { - cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty::unwrap)) + cdkBuilder.elasticsearchDestinationConfiguration(elasticsearchDestinationConfiguration.let(CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public interface CfnDeliveryStreamProps { */ override fun extendedS3DestinationConfiguration(extendedS3DestinationConfiguration: IResolvable) { - cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public interface CfnDeliveryStreamProps { */ override fun extendedS3DestinationConfiguration(extendedS3DestinationConfiguration: CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty) { - cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty::unwrap)) + cdkBuilder.extendedS3DestinationConfiguration(extendedS3DestinationConfiguration.let(CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public interface CfnDeliveryStreamProps { */ override fun httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration: IResolvable) { - cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public interface CfnDeliveryStreamProps { */ override fun httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration: CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty) { - cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty::unwrap)) + cdkBuilder.httpEndpointDestinationConfiguration(httpEndpointDestinationConfiguration.let(CfnDeliveryStream.HttpEndpointDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public interface CfnDeliveryStreamProps { * containing the Kinesis stream ARN and the role ARN for the source stream. */ override fun kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration: IResolvable) { - cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -897,7 +897,7 @@ public interface CfnDeliveryStreamProps { */ override fun kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration: CfnDeliveryStream.KinesisStreamSourceConfigurationProperty) { - cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(CfnDeliveryStream.KinesisStreamSourceConfigurationProperty::unwrap)) + cdkBuilder.kinesisStreamSourceConfiguration(kinesisStreamSourceConfiguration.let(CfnDeliveryStream.KinesisStreamSourceConfigurationProperty.Companion::unwrap)) } /** @@ -918,7 +918,7 @@ public interface CfnDeliveryStreamProps { * source for a delivery stream. */ override fun mskSourceConfiguration(mskSourceConfiguration: IResolvable) { - cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -927,7 +927,7 @@ public interface CfnDeliveryStreamProps { */ override fun mskSourceConfiguration(mskSourceConfiguration: CfnDeliveryStream.MSKSourceConfigurationProperty) { - cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(CfnDeliveryStream.MSKSourceConfigurationProperty::unwrap)) + cdkBuilder.mskSourceConfiguration(mskSourceConfiguration.let(CfnDeliveryStream.MSKSourceConfigurationProperty.Companion::unwrap)) } /** @@ -952,7 +952,7 @@ public interface CfnDeliveryStreamProps { * . */ override fun redshiftDestinationConfiguration(redshiftDestinationConfiguration: IResolvable) { - cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -967,7 +967,7 @@ public interface CfnDeliveryStreamProps { */ override fun redshiftDestinationConfiguration(redshiftDestinationConfiguration: CfnDeliveryStream.RedshiftDestinationConfigurationProperty) { - cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(CfnDeliveryStream.RedshiftDestinationConfigurationProperty::unwrap)) + cdkBuilder.redshiftDestinationConfiguration(redshiftDestinationConfiguration.let(CfnDeliveryStream.RedshiftDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -999,7 +999,7 @@ public interface CfnDeliveryStreamProps { * . */ override fun s3DestinationConfiguration(s3DestinationConfiguration: IResolvable) { - cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1015,7 +1015,7 @@ public interface CfnDeliveryStreamProps { */ override fun s3DestinationConfiguration(s3DestinationConfiguration: CfnDeliveryStream.S3DestinationConfigurationProperty) { - cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(CfnDeliveryStream.S3DestinationConfigurationProperty::unwrap)) + cdkBuilder.s3DestinationConfiguration(s3DestinationConfiguration.let(CfnDeliveryStream.S3DestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1040,7 +1040,7 @@ public interface CfnDeliveryStreamProps { * @param snowflakeDestinationConfiguration Configure Snowflake destination. */ override fun snowflakeDestinationConfiguration(snowflakeDestinationConfiguration: IResolvable) { - cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public interface CfnDeliveryStreamProps { */ override fun snowflakeDestinationConfiguration(snowflakeDestinationConfiguration: CfnDeliveryStream.SnowflakeDestinationConfigurationProperty) { - cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(CfnDeliveryStream.SnowflakeDestinationConfigurationProperty::unwrap)) + cdkBuilder.snowflakeDestinationConfiguration(snowflakeDestinationConfiguration.let(CfnDeliveryStream.SnowflakeDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1066,7 +1066,7 @@ public interface CfnDeliveryStreamProps { * delivery stream. */ override fun splunkDestinationConfiguration(splunkDestinationConfiguration: IResolvable) { - cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1075,7 +1075,7 @@ public interface CfnDeliveryStreamProps { */ override fun splunkDestinationConfiguration(splunkDestinationConfiguration: CfnDeliveryStream.SplunkDestinationConfigurationProperty) { - cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(CfnDeliveryStream.SplunkDestinationConfigurationProperty::unwrap)) + cdkBuilder.splunkDestinationConfiguration(splunkDestinationConfiguration.let(CfnDeliveryStream.SplunkDestinationConfigurationProperty.Companion::unwrap)) } /** @@ -1116,7 +1116,7 @@ public interface CfnDeliveryStreamProps { * example.](https://docs.aws.amazon.com/firehose/latest/APIReference/API_CreateDeliveryStream.html#API_CreateDeliveryStream_Examples) */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannel.kt index 637f39c0d7..4a5822bf6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannel.kt @@ -45,7 +45,7 @@ public open class CfnSignalingChannel( cdkObject: software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannel, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class CfnSignalingChannel( id: String, props: CfnSignalingChannelProps, ) : - this(software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSignalingChannelProps::unwrap)) + this(software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSignalingChannelProps.Companion::unwrap)) ) public constructor( @@ -76,16 +76,18 @@ public open class CfnSignalingChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** - * The period of time a signaling channel retains undelivered messages before they are discarded. + * The period of time (in seconds) a signaling channel retains undelivered messages before they + * are discarded. */ public open fun messageTtlSeconds(): Number? = unwrap(this).getMessageTtlSeconds() /** - * The period of time a signaling channel retains undelivered messages before they are discarded. + * The period of time (in seconds) a signaling channel retains undelivered messages before they + * are discarded. */ public open fun messageTtlSeconds(`value`: Number) { unwrap(this).setMessageTtlSeconds(`value`) @@ -118,7 +120,7 @@ public open class CfnSignalingChannel( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -144,12 +146,14 @@ public open class CfnSignalingChannel( @CdkDslMarker public interface Builder { /** - * The period of time a signaling channel retains undelivered messages before they are - * discarded. + * The period of time (in seconds) a signaling channel retains undelivered messages before they + * are discarded. + * + * Use `API_UpdateSignalingChannel` to update this value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisvideo-signalingchannel.html#cfn-kinesisvideo-signalingchannel-messagettlseconds) - * @param messageTtlSeconds The period of time a signaling channel retains undelivered messages - * before they are discarded. + * @param messageTtlSeconds The period of time (in seconds) a signaling channel retains + * undelivered messages before they are discarded. */ public fun messageTtlSeconds(messageTtlSeconds: Number) @@ -206,12 +210,14 @@ public open class CfnSignalingChannel( = software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannel.Builder.create(scope, id) /** - * The period of time a signaling channel retains undelivered messages before they are - * discarded. + * The period of time (in seconds) a signaling channel retains undelivered messages before they + * are discarded. + * + * Use `API_UpdateSignalingChannel` to update this value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisvideo-signalingchannel.html#cfn-kinesisvideo-signalingchannel-messagettlseconds) - * @param messageTtlSeconds The period of time a signaling channel retains undelivered messages - * before they are discarded. + * @param messageTtlSeconds The period of time (in seconds) a signaling channel retains + * undelivered messages before they are discarded. */ override fun messageTtlSeconds(messageTtlSeconds: Number) { cdkBuilder.messageTtlSeconds(messageTtlSeconds) @@ -240,7 +246,7 @@ public open class CfnSignalingChannel( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannelProps.kt index ba6f8fe4d7..51eaae8bf4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnSignalingChannelProps.kt @@ -35,7 +35,10 @@ import kotlin.collections.List */ public interface CfnSignalingChannelProps { /** - * The period of time a signaling channel retains undelivered messages before they are discarded. + * The period of time (in seconds) a signaling channel retains undelivered messages before they + * are discarded. + * + * Use `API_UpdateSignalingChannel` to update this value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisvideo-signalingchannel.html#cfn-kinesisvideo-signalingchannel-messagettlseconds) */ @@ -76,8 +79,9 @@ public interface CfnSignalingChannelProps { @CdkDslMarker public interface Builder { /** - * @param messageTtlSeconds The period of time a signaling channel retains undelivered messages - * before they are discarded. + * @param messageTtlSeconds The period of time (in seconds) a signaling channel retains + * undelivered messages before they are discarded. + * Use `API_UpdateSignalingChannel` to update this value. */ public fun messageTtlSeconds(messageTtlSeconds: Number) @@ -116,8 +120,9 @@ public interface CfnSignalingChannelProps { software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannelProps.builder() /** - * @param messageTtlSeconds The period of time a signaling channel retains undelivered messages - * before they are discarded. + * @param messageTtlSeconds The period of time (in seconds) a signaling channel retains + * undelivered messages before they are discarded. + * Use `API_UpdateSignalingChannel` to update this value. */ override fun messageTtlSeconds(messageTtlSeconds: Number) { cdkBuilder.messageTtlSeconds(messageTtlSeconds) @@ -138,7 +143,7 @@ public interface CfnSignalingChannelProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -165,8 +170,10 @@ public interface CfnSignalingChannelProps { cdkObject: software.amazon.awscdk.services.kinesisvideo.CfnSignalingChannelProps, ) : CdkObject(cdkObject), CfnSignalingChannelProps { /** - * The period of time a signaling channel retains undelivered messages before they are - * discarded. + * The period of time (in seconds) a signaling channel retains undelivered messages before they + * are discarded. + * + * Use `API_UpdateSignalingChannel` to update this value. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisvideo-signalingchannel.html#cfn-kinesisvideo-signalingchannel-messagettlseconds) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStream.kt index 9e62d6abd9..48736a6178 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStream.kt @@ -54,7 +54,7 @@ public open class CfnStream( cdkObject: software.amazon.awscdk.services.kinesisvideo.CfnStream, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kinesisvideo.CfnStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kinesisvideo.CfnStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -63,8 +63,8 @@ public open class CfnStream( id: String, props: CfnStreamProps, ) : - this(software.amazon.awscdk.services.kinesisvideo.CfnStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamProps::unwrap)) + this(software.amazon.awscdk.services.kinesisvideo.CfnStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnStream( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnStream( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStreamProps.kt index a26196729f..96f591b527 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kinesisvideo/CfnStreamProps.kt @@ -178,7 +178,7 @@ public interface CfnStreamProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Alias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Alias.kt index b234f318c5..708d2eaccc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Alias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Alias.kt @@ -58,8 +58,8 @@ public open class Alias( id: String, props: AliasProps, ) : - this(software.amazon.awscdk.services.kms.Alias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AliasProps::unwrap)) + this(software.amazon.awscdk.services.kms.Alias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AliasProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class Alias( * @param allowNoOp */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the KMS key resource policy. @@ -104,7 +104,7 @@ public open class Alias( */ public override fun addToResourcePolicy(statement: PolicyStatement, allowNoOp: Boolean): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap), + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap), allowNoOp).let(AddToResourcePolicyResult::wrap) /** @@ -129,8 +129,8 @@ public open class Alias( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant decryption permissions using this key to the given principal. @@ -138,7 +138,7 @@ public open class Alias( * @param grantee */ public override fun grantDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption permissions using this key to the given principal. @@ -146,7 +146,7 @@ public open class Alias( * @param grantee */ public override fun grantEncrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption and decryption permissions using this key to the given principal. @@ -154,7 +154,7 @@ public open class Alias( * @param grantee */ public override fun grantEncryptDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to generating MACs to the given principal. @@ -162,7 +162,7 @@ public open class Alias( * @param grantee */ public override fun grantGenerateMac(grantee: IGrantable): Grant = - unwrap(this).grantGenerateMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantGenerateMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to verifying MACs to the given principal. @@ -170,7 +170,7 @@ public open class Alias( * @param grantee */ public override fun grantVerifyMac(grantee: IGrantable): Grant = - unwrap(this).grantVerifyMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantVerifyMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * (deprecated) The ARN of the alias. @@ -250,7 +250,7 @@ public open class Alias( * @param removalPolicy Policy to apply when the alias is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class Alias( * @param targetKey The ID of the key for which you are creating the alias. */ override fun targetKey(targetKey: IKey) { - cdkBuilder.targetKey(targetKey.let(IKey::unwrap)) + cdkBuilder.targetKey(targetKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.kms.Alias = cdkBuilder.build() @@ -275,8 +275,8 @@ public open class Alias( id: String, attrs: AliasAttributes, ): IAlias = - software.amazon.awscdk.services.kms.Alias.fromAliasAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(AliasAttributes::unwrap)).let(IAlias::wrap) + software.amazon.awscdk.services.kms.Alias.fromAliasAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(AliasAttributes.Companion::unwrap)).let(IAlias::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4f8a4f380057c7db5b4bb4a37859d5e4eb587ce5d28aeceaa398fb06fc738c1f") @@ -291,7 +291,7 @@ public open class Alias( id: String, aliasName: String, ): IAlias = - software.amazon.awscdk.services.kms.Alias.fromAliasName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.kms.Alias.fromAliasName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, aliasName).let(IAlias::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasAttributes.kt index 9edda903ce..93658f2f6f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasAttributes.kt @@ -70,7 +70,7 @@ public interface AliasAttributes { * @param aliasTargetKey The customer master key (CMK) to which the Alias refers. */ override fun aliasTargetKey(aliasTargetKey: IKey) { - cdkBuilder.aliasTargetKey(aliasTargetKey.let(IKey::unwrap)) + cdkBuilder.aliasTargetKey(aliasTargetKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.kms.AliasAttributes = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasProps.kt index c59e55050c..993d8b9454 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/AliasProps.kt @@ -106,7 +106,7 @@ public interface AliasProps { * @param removalPolicy Policy to apply when the alias is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public interface AliasProps { * specify another alias. */ override fun targetKey(targetKey: IKey) { - cdkBuilder.targetKey(targetKey.let(IKey::unwrap)) + cdkBuilder.targetKey(targetKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.kms.AliasProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnAlias.kt index c4c229538f..21122b89ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnAlias.kt @@ -73,8 +73,8 @@ public open class CfnAlias( id: String, props: CfnAliasProps, ) : - this(software.amazon.awscdk.services.kms.CfnAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAliasProps::unwrap)) + this(software.amazon.awscdk.services.kms.CfnAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAliasProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKey.kt index 0d86ef6a57..9f9e6084a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKey.kt @@ -89,7 +89,7 @@ public open class CfnKey( cdkObject: software.amazon.awscdk.services.kms.CfnKey, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kms.CfnKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kms.CfnKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -98,8 +98,8 @@ public open class CfnKey( id: String, props: CfnKeyProps, ) : - this(software.amazon.awscdk.services.kms.CfnKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKeyProps::unwrap)) + this(software.amazon.awscdk.services.kms.CfnKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeyProps.Companion::unwrap)) ) public constructor( @@ -151,7 +151,7 @@ public open class CfnKey( * The default value is false. */ public open fun bypassPolicyLockoutSafetyCheck(`value`: IResolvable) { - unwrap(this).setBypassPolicyLockoutSafetyCheck(`value`.let(IResolvable::unwrap)) + unwrap(this).setBypassPolicyLockoutSafetyCheck(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnKey( * Enables automatic rotation of the key material for the specified KMS key. */ public open fun enableKeyRotation(`value`: IResolvable) { - unwrap(this).setEnableKeyRotation(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableKeyRotation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnKey( * Disabled KMS keys cannot be used in cryptographic operations. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public open class CfnKey( * Creates a multi-Region primary key that you can replicate in other AWS Regions . */ public open fun multiRegion(`value`: IResolvable) { - unwrap(this).setMultiRegion(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiRegion(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -309,12 +309,12 @@ public open class CfnKey( } /** - * The number of days between each automatic rotation. + * Specifies a custom period of time between each rotation date. */ public open fun rotationPeriodInDays(): Number? = unwrap(this).getRotationPeriodInDays() /** - * The number of days between each automatic rotation. + * Specifies a custom period of time between each rotation date. */ public open fun rotationPeriodInDays(`value`: Number) { unwrap(this).setRotationPeriodInDays(`value`) @@ -335,7 +335,7 @@ public open class CfnKey( * Assigns one or more tags to the replica key. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -813,14 +813,27 @@ public open class CfnKey( public fun pendingWindowInDays(pendingWindowInDays: Number) /** - * The number of days between each automatic rotation. + * Specifies a custom period of time between each rotation date. * - * The default value is 365 days. + * If no value is specified, the default value is 365 days. + * + * The rotation period defines the number of days after you enable automatic key rotation that + * AWS KMS will rotate your key material, and the number of days between each automatic rotation + * thereafter. + * + * You can use the + * [`kms:RotationPeriodInDays`](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) + * condition key to further constrain the values that principals can specify in the + * `RotationPeriodInDays` parameter. + * + * For more information about rotating KMS keys and automatic rotation, see [Rotating + * keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *AWS Key + * Management Service Developer Guide* . * * Default: - 365 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-rotationperiodindays) - * @param rotationPeriodInDays The number of days between each automatic rotation. + * @param rotationPeriodInDays Specifies a custom period of time between each rotation date. */ public fun rotationPeriodInDays(rotationPeriodInDays: Number) @@ -923,7 +936,7 @@ public open class CfnKey( * The default value is false. */ override fun bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck: IResolvable) { - cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable::unwrap)) + cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable.Companion::unwrap)) } /** @@ -994,7 +1007,7 @@ public open class CfnKey( * key. */ override fun enableKeyRotation(enableKeyRotation: IResolvable) { - cdkBuilder.enableKeyRotation(enableKeyRotation.let(IResolvable::unwrap)) + cdkBuilder.enableKeyRotation(enableKeyRotation.let(IResolvable.Companion::unwrap)) } /** @@ -1046,7 +1059,7 @@ public open class CfnKey( * cryptographic operations. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1281,7 +1294,7 @@ public open class CfnKey( * Regions . */ override fun multiRegion(multiRegion: IResolvable) { - cdkBuilder.multiRegion(multiRegion.let(IResolvable::unwrap)) + cdkBuilder.multiRegion(multiRegion.let(IResolvable.Companion::unwrap)) } /** @@ -1365,14 +1378,27 @@ public open class CfnKey( } /** - * The number of days between each automatic rotation. + * Specifies a custom period of time between each rotation date. * - * The default value is 365 days. + * If no value is specified, the default value is 365 days. + * + * The rotation period defines the number of days after you enable automatic key rotation that + * AWS KMS will rotate your key material, and the number of days between each automatic rotation + * thereafter. + * + * You can use the + * [`kms:RotationPeriodInDays`](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) + * condition key to further constrain the values that principals can specify in the + * `RotationPeriodInDays` parameter. + * + * For more information about rotating KMS keys and automatic rotation, see [Rotating + * keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *AWS Key + * Management Service Developer Guide* . * * Default: - 365 * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-rotationperiodindays) - * @param rotationPeriodInDays The number of days between each automatic rotation. + * @param rotationPeriodInDays Specifies a custom period of time between each rotation date. */ override fun rotationPeriodInDays(rotationPeriodInDays: Number) { cdkBuilder.rotationPeriodInDays(rotationPeriodInDays) @@ -1397,7 +1423,7 @@ public open class CfnKey( * @param tags Assigns one or more tags to the replica key. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKeyProps.kt index 32a3c0395d..7a55e71969 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnKeyProps.kt @@ -367,9 +367,22 @@ public interface CfnKeyProps { public fun pendingWindowInDays(): Number? = unwrap(this).getPendingWindowInDays() /** - * The number of days between each automatic rotation. + * Specifies a custom period of time between each rotation date. * - * The default value is 365 days. + * If no value is specified, the default value is 365 days. + * + * The rotation period defines the number of days after you enable automatic key rotation that AWS + * KMS will rotate your key material, and the number of days between each automatic rotation + * thereafter. + * + * You can use the + * [`kms:RotationPeriodInDays`](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) + * condition key to further constrain the values that principals can specify in the + * `RotationPeriodInDays` parameter. + * + * For more information about rotating KMS keys and automatic rotation, see [Rotating + * keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *AWS Key + * Management Service Developer Guide* . * * Default: - 365 * @@ -788,8 +801,21 @@ public interface CfnKeyProps { public fun pendingWindowInDays(pendingWindowInDays: Number) /** - * @param rotationPeriodInDays The number of days between each automatic rotation. - * The default value is 365 days. + * @param rotationPeriodInDays Specifies a custom period of time between each rotation date. + * If no value is specified, the default value is 365 days. + * + * The rotation period defines the number of days after you enable automatic key rotation that + * AWS KMS will rotate your key material, and the number of days between each automatic rotation + * thereafter. + * + * You can use the + * [`kms:RotationPeriodInDays`](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) + * condition key to further constrain the values that principals can specify in the + * `RotationPeriodInDays` parameter. + * + * For more information about rotating KMS keys and automatic rotation, see [Rotating + * keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *AWS Key + * Management Service Developer Guide* . */ public fun rotationPeriodInDays(rotationPeriodInDays: Number) @@ -869,7 +895,7 @@ public interface CfnKeyProps { * request on the KMS key. */ override fun bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck: IResolvable) { - cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable::unwrap)) + cdkBuilder.bypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck.let(IResolvable.Companion::unwrap)) } /** @@ -928,7 +954,7 @@ public interface CfnKeyProps { * in the *AWS Key Management Service Developer Guide* . */ override fun enableKeyRotation(enableKeyRotation: IResolvable) { - cdkBuilder.enableKeyRotation(enableKeyRotation.let(IResolvable::unwrap)) + cdkBuilder.enableKeyRotation(enableKeyRotation.let(IResolvable.Companion::unwrap)) } /** @@ -970,7 +996,7 @@ public interface CfnKeyProps { * Management Service Developer Guide* . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1173,7 +1199,7 @@ public interface CfnKeyProps { * key. */ override fun multiRegion(multiRegion: IResolvable) { - cdkBuilder.multiRegion(multiRegion.let(IResolvable::unwrap)) + cdkBuilder.multiRegion(multiRegion.let(IResolvable.Companion::unwrap)) } /** @@ -1245,8 +1271,21 @@ public interface CfnKeyProps { } /** - * @param rotationPeriodInDays The number of days between each automatic rotation. - * The default value is 365 days. + * @param rotationPeriodInDays Specifies a custom period of time between each rotation date. + * If no value is specified, the default value is 365 days. + * + * The rotation period defines the number of days after you enable automatic key rotation that + * AWS KMS will rotate your key material, and the number of days between each automatic rotation + * thereafter. + * + * You can use the + * [`kms:RotationPeriodInDays`](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) + * condition key to further constrain the values that principals can specify in the + * `RotationPeriodInDays` parameter. + * + * For more information about rotating KMS keys and automatic rotation, see [Rotating + * keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *AWS Key + * Management Service Developer Guide* . */ override fun rotationPeriodInDays(rotationPeriodInDays: Number) { cdkBuilder.rotationPeriodInDays(rotationPeriodInDays) @@ -1267,7 +1306,7 @@ public interface CfnKeyProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1618,9 +1657,22 @@ public interface CfnKeyProps { override fun pendingWindowInDays(): Number? = unwrap(this).getPendingWindowInDays() /** - * The number of days between each automatic rotation. + * Specifies a custom period of time between each rotation date. * - * The default value is 365 days. + * If no value is specified, the default value is 365 days. + * + * The rotation period defines the number of days after you enable automatic key rotation that + * AWS KMS will rotate your key material, and the number of days between each automatic rotation + * thereafter. + * + * You can use the + * [`kms:RotationPeriodInDays`](https://docs.aws.amazon.com/kms/latest/developerguide/conditions-kms.html#conditions-kms-rotation-period-in-days) + * condition key to further constrain the values that principals can specify in the + * `RotationPeriodInDays` parameter. + * + * For more information about rotating KMS keys and automatic rotation, see [Rotating + * keys](https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) in the *AWS Key + * Management Service Developer Guide* . * * Default: - 365 * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKey.kt index 9f37115fed..685fe68ec7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKey.kt @@ -91,8 +91,8 @@ public open class CfnReplicaKey( id: String, props: CfnReplicaKeyProps, ) : - this(software.amazon.awscdk.services.kms.CfnReplicaKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicaKeyProps::unwrap)) + this(software.amazon.awscdk.services.kms.CfnReplicaKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicaKeyProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class CfnReplicaKey( * Disabled KMS keys cannot be used in cryptographic operations. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnReplicaKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnReplicaKey( * Assigns one or more tags to the replica key. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnReplicaKey( * in cryptographic operations. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public open class CfnReplicaKey( * @param tags Assigns one or more tags to the replica key. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKeyProps.kt index 55d7e81c00..202aa43044 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/CfnReplicaKeyProps.kt @@ -463,7 +463,7 @@ public interface CfnReplicaKeyProps { * Management Service Developer Guide* . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public interface CfnReplicaKeyProps { * see [Tagging keys](https://docs.aws.amazon.com/kms/latest/developerguide/tagging-keys.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IAlias.kt index d406af6d23..b61e43844d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IAlias.kt @@ -51,7 +51,7 @@ public interface IAlias : IKey { * key), the operation will fail. Otherwise, it will no-op. */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the KMS key resource policy. @@ -74,7 +74,7 @@ public interface IAlias : IKey { */ override fun addToResourcePolicy(statement: PolicyStatement, allowNoOp: Boolean): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap), + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap), allowNoOp).let(AddToResourcePolicyResult::wrap) /** @@ -101,7 +101,7 @@ public interface IAlias : IKey { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public interface IAlias : IKey { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -132,7 +132,7 @@ public interface IAlias : IKey { * @param grantee */ override fun grantDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption permissions using this key to the given principal. @@ -140,7 +140,7 @@ public interface IAlias : IKey { * @param grantee */ override fun grantEncrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption and decryption permissions using this key to the given principal. @@ -148,7 +148,7 @@ public interface IAlias : IKey { * @param grantee */ override fun grantEncryptDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to generating MACs to the given principal. @@ -156,7 +156,7 @@ public interface IAlias : IKey { * @param grantee */ override fun grantGenerateMac(grantee: IGrantable): Grant = - unwrap(this).grantGenerateMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantGenerateMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to verifying MACs to the given principal. @@ -164,7 +164,7 @@ public interface IAlias : IKey { * @param grantee */ override fun grantVerifyMac(grantee: IGrantable): Grant = - unwrap(this).grantVerifyMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantVerifyMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the key. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IKey.kt index 08769bc136..9231ebc15f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/IKey.kt @@ -131,7 +131,7 @@ public interface IKey : IResource { * key), the operation will fail. Otherwise, it will no-op. */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the KMS key resource policy. @@ -154,7 +154,7 @@ public interface IKey : IResource { */ override fun addToResourcePolicy(statement: PolicyStatement, allowNoOp: Boolean): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap), + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap), allowNoOp).let(AddToResourcePolicyResult::wrap) /** @@ -171,7 +171,7 @@ public interface IKey : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface IKey : IResource { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -202,7 +202,7 @@ public interface IKey : IResource { * @param grantee */ override fun grantDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption permissions using this key to the given principal. @@ -210,7 +210,7 @@ public interface IKey : IResource { * @param grantee */ override fun grantEncrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption and decryption permissions using this key to the given principal. @@ -218,7 +218,7 @@ public interface IKey : IResource { * @param grantee */ override fun grantEncryptDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to generating MACs to the given principal. @@ -226,7 +226,7 @@ public interface IKey : IResource { * @param grantee */ override fun grantGenerateMac(grantee: IGrantable): Grant = - unwrap(this).grantGenerateMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantGenerateMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to verifying MACs to the given principal. @@ -234,7 +234,7 @@ public interface IKey : IResource { * @param grantee */ override fun grantVerifyMac(grantee: IGrantable): Grant = - unwrap(this).grantVerifyMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantVerifyMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the key. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Key.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Key.kt index aa9aedda7d..6ad2338a88 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Key.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/Key.kt @@ -44,7 +44,7 @@ public open class Key( cdkObject: software.amazon.awscdk.services.kms.Key, ) : Resource(cdkObject), IKey { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.kms.Key(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.kms.Key(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class Key( id: String, props: KeyProps, ) : - this(software.amazon.awscdk.services.kms.Key(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KeyProps::unwrap)) + this(software.amazon.awscdk.services.kms.Key(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KeyProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class Key( * the operation will fail. Otherwise, it will no-op. */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the KMS key resource policy. @@ -103,7 +103,7 @@ public open class Key( */ public override fun addToResourcePolicy(statement: PolicyStatement, allowNoOp: Boolean): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap), + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap), allowNoOp).let(AddToResourcePolicyResult::wrap) /** @@ -117,8 +117,8 @@ public open class Key( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant admins permissions using this key to the given principal. @@ -130,7 +130,7 @@ public open class Key( * @param grantee */ public open fun grantAdmin(grantee: IGrantable): Grant = - unwrap(this).grantAdmin(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantAdmin(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant decryption permissions using this key to the given principal. @@ -138,7 +138,7 @@ public open class Key( * @param grantee */ public override fun grantDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption permissions using this key to the given principal. @@ -146,7 +146,7 @@ public open class Key( * @param grantee */ public override fun grantEncrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant encryption and decryption permissions using this key to the given principal. @@ -154,7 +154,7 @@ public open class Key( * @param grantee */ public override fun grantEncryptDecrypt(grantee: IGrantable): Grant = - unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantEncryptDecrypt(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to generating MACs to the given principal. @@ -162,7 +162,7 @@ public open class Key( * @param grantee */ public override fun grantGenerateMac(grantee: IGrantable): Grant = - unwrap(this).grantGenerateMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantGenerateMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant permissions to verifying MACs to the given principal. @@ -170,7 +170,7 @@ public open class Key( * @param grantee */ public override fun grantVerifyMac(grantee: IGrantable): Grant = - unwrap(this).grantVerifyMac(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantVerifyMac(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the key. @@ -356,6 +356,15 @@ public open class Key( * the Stack. */ public fun removalPolicy(removalPolicy: RemovalPolicy) + + /** + * The period between each automatic rotation. + * + * Default: - set by CFN to 365 days. + * + * @param rotationPeriod The period between each automatic rotation. + */ + public fun rotationPeriod(rotationPeriod: Duration) } private class BuilderImpl( @@ -380,7 +389,7 @@ public open class Key( * @param admins A list of principals to add as key administrators to the key policy. */ override fun admins(admins: List) { - cdkBuilder.admins(admins.map(IPrincipal::unwrap)) + cdkBuilder.admins(admins.map(IPrincipal.Companion::unwrap)) } /** @@ -461,7 +470,7 @@ public open class Key( * of the key. */ override fun keySpec(keySpec: KeySpec) { - cdkBuilder.keySpec(keySpec.let(KeySpec::unwrap)) + cdkBuilder.keySpec(keySpec.let(KeySpec.Companion::unwrap)) } /** @@ -476,7 +485,7 @@ public open class Key( * @param keyUsage The cryptographic operations for which the key can be used. */ override fun keyUsage(keyUsage: KeyUsage) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsage::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsage.Companion::unwrap)) } /** @@ -501,7 +510,7 @@ public open class Key( * deletes a CMK that has been removed from a CloudFormation stack. */ override fun pendingWindow(pendingWindow: Duration) { - cdkBuilder.pendingWindow(pendingWindow.let(Duration::unwrap)) + cdkBuilder.pendingWindow(pendingWindow.let(Duration.Companion::unwrap)) } /** @@ -519,7 +528,7 @@ public open class Key( * @param policy Custom policy document to attach to the KMS key. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** @@ -553,7 +562,18 @@ public open class Key( * the Stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) + } + + /** + * The period between each automatic rotation. + * + * Default: - set by CFN to 365 days. + * + * @param rotationPeriod The period between each automatic rotation. + */ + override fun rotationPeriod(rotationPeriod: Duration) { + cdkBuilder.rotationPeriod(rotationPeriod.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.kms.Key = cdkBuilder.build() @@ -561,14 +581,14 @@ public open class Key( public companion object { public fun fromCfnKey(cfnKey: CfnKey): IKey = - software.amazon.awscdk.services.kms.Key.fromCfnKey(cfnKey.let(CfnKey::unwrap)).let(IKey::wrap) + software.amazon.awscdk.services.kms.Key.fromCfnKey(cfnKey.let(CfnKey.Companion::unwrap)).let(IKey::wrap) public fun fromKeyArn( scope: CloudshiftdevConstructsConstruct, id: String, keyArn: String, ): IKey = - software.amazon.awscdk.services.kms.Key.fromKeyArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.kms.Key.fromKeyArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, keyArn).let(IKey::wrap) public fun fromLookup( @@ -576,8 +596,8 @@ public open class Key( id: String, options: KeyLookupOptions, ): IKey = - software.amazon.awscdk.services.kms.Key.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, options.let(KeyLookupOptions::unwrap)).let(IKey::wrap) + software.amazon.awscdk.services.kms.Key.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, options.let(KeyLookupOptions.Companion::unwrap)).let(IKey::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a38292968d860b56054807de2f29eed5b258ee0b12b25fe8d96e0d9eadd0a18a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/KeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/KeyProps.kt index ddea463c39..67435100a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/KeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/KeyProps.kt @@ -156,6 +156,13 @@ public interface KeyProps { public fun removalPolicy(): RemovalPolicy? = unwrap(this).getRemovalPolicy()?.let(RemovalPolicy::wrap) + /** + * The period between each automatic rotation. + * + * Default: - set by CFN to 365 days. + */ + public fun rotationPeriod(): Duration? = unwrap(this).getRotationPeriod()?.let(Duration::wrap) + /** * A builder for [KeyProps] */ @@ -268,6 +275,11 @@ public interface KeyProps { * retain access to data that was encrypted with a key that is being retired. */ public fun removalPolicy(removalPolicy: RemovalPolicy) + + /** + * @param rotationPeriod The period between each automatic rotation. + */ + public fun rotationPeriod(rotationPeriod: Duration) } private class BuilderImpl : Builder { @@ -284,7 +296,7 @@ public interface KeyProps { * specified policy (if provided). */ override fun admins(admins: List) { - cdkBuilder.admins(admins.map(IPrincipal::unwrap)) + cdkBuilder.admins(admins.map(IPrincipal.Companion::unwrap)) } /** @@ -337,7 +349,7 @@ public interface KeyProps { * and a new key is created with the specified value. */ override fun keySpec(keySpec: KeySpec) { - cdkBuilder.keySpec(keySpec.let(KeySpec::unwrap)) + cdkBuilder.keySpec(keySpec.let(KeySpec.Companion::unwrap)) } /** @@ -347,7 +359,7 @@ public interface KeyProps { * and a new key is created with the specified value. */ override fun keyUsage(keyUsage: KeyUsage) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsage::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsage.Companion::unwrap)) } /** @@ -365,7 +377,7 @@ public interface KeyProps { * Enter a value between 7 and 30 days. */ override fun pendingWindow(pendingWindow: Duration) { - cdkBuilder.pendingWindow(pendingWindow.let(Duration::unwrap)) + cdkBuilder.pendingWindow(pendingWindow.let(Duration.Companion::unwrap)) } /** @@ -377,7 +389,7 @@ public interface KeyProps { * feature flag is not set, this policy will be appended to the default key policy. */ override fun policy(policy: PolicyDocument) { - cdkBuilder.policy(policy.let(PolicyDocument::unwrap)) + cdkBuilder.policy(policy.let(PolicyDocument.Companion::unwrap)) } /** @@ -400,7 +412,14 @@ public interface KeyProps { * retain access to data that was encrypted with a key that is being retired. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) + } + + /** + * @param rotationPeriod The period between each automatic rotation. + */ + override fun rotationPeriod(rotationPeriod: Duration) { + cdkBuilder.rotationPeriod(rotationPeriod.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.kms.KeyProps = cdkBuilder.build() @@ -524,6 +543,13 @@ public interface KeyProps { */ override fun removalPolicy(): RemovalPolicy? = unwrap(this).getRemovalPolicy()?.let(RemovalPolicy::wrap) + + /** + * The period between each automatic rotation. + * + * Default: - set by CFN to 365 days. + */ + override fun rotationPeriod(): Duration? = unwrap(this).getRotationPeriod()?.let(Duration::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/ViaServicePrincipal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/ViaServicePrincipal.kt index 9bca33cf81..8886cbed44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/ViaServicePrincipal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/kms/ViaServicePrincipal.kt @@ -30,7 +30,7 @@ public open class ViaServicePrincipal( public constructor(serviceName: String, basePrincipal: IPrincipal) : this(software.amazon.awscdk.services.kms.ViaServicePrincipal(serviceName, - basePrincipal.let(IPrincipal::unwrap)) + basePrincipal.let(IPrincipal.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilter.kt index 77093ff5aa..829c7d63e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilter.kt @@ -60,8 +60,8 @@ public open class CfnDataCellsFilter( id: String, props: CfnDataCellsFilterProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnDataCellsFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataCellsFilterProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnDataCellsFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataCellsFilterProps.Companion::unwrap)) ) public constructor( @@ -97,14 +97,14 @@ public open class CfnDataCellsFilter( * A wildcard with exclusions. */ public open fun columnWildcard(`value`: IResolvable) { - unwrap(this).setColumnWildcard(`value`.let(IResolvable::unwrap)) + unwrap(this).setColumnWildcard(`value`.let(IResolvable.Companion::unwrap)) } /** * A wildcard with exclusions. */ public open fun columnWildcard(`value`: ColumnWildcardProperty) { - unwrap(this).setColumnWildcard(`value`.let(ColumnWildcardProperty::unwrap)) + unwrap(this).setColumnWildcard(`value`.let(ColumnWildcardProperty.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnDataCellsFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,14 +165,14 @@ public open class CfnDataCellsFilter( * A PartiQL predicate. */ public open fun rowFilter(`value`: IResolvable) { - unwrap(this).setRowFilter(`value`.let(IResolvable::unwrap)) + unwrap(this).setRowFilter(`value`.let(IResolvable.Companion::unwrap)) } /** * A PartiQL predicate. */ public open fun rowFilter(`value`: RowFilterProperty) { - unwrap(this).setRowFilter(`value`.let(RowFilterProperty::unwrap)) + unwrap(this).setRowFilter(`value`.let(RowFilterProperty.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class CfnDataCellsFilter( * @param columnWildcard A wildcard with exclusions. */ override fun columnWildcard(columnWildcard: IResolvable) { - cdkBuilder.columnWildcard(columnWildcard.let(IResolvable::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class CfnDataCellsFilter( * @param columnWildcard A wildcard with exclusions. */ override fun columnWildcard(columnWildcard: ColumnWildcardProperty) { - cdkBuilder.columnWildcard(columnWildcard.let(ColumnWildcardProperty::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(ColumnWildcardProperty.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public open class CfnDataCellsFilter( * @param rowFilter A PartiQL predicate. */ override fun rowFilter(rowFilter: IResolvable) { - cdkBuilder.rowFilter(rowFilter.let(IResolvable::unwrap)) + cdkBuilder.rowFilter(rowFilter.let(IResolvable.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public open class CfnDataCellsFilter( * @param rowFilter A PartiQL predicate. */ override fun rowFilter(rowFilter: RowFilterProperty) { - cdkBuilder.rowFilter(rowFilter.let(RowFilterProperty::unwrap)) + cdkBuilder.rowFilter(rowFilter.let(RowFilterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilterProps.kt index f1824eb7e5..e5daf1be64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataCellsFilterProps.kt @@ -228,7 +228,7 @@ public interface CfnDataCellsFilterProps { * You must specify either a `ColumnNames` list or the `ColumnWildCard` . */ override fun columnWildcard(columnWildcard: IResolvable) { - cdkBuilder.columnWildcard(columnWildcard.let(IResolvable::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(IResolvable.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public interface CfnDataCellsFilterProps { * You must specify either a `ColumnNames` list or the `ColumnWildCard` . */ override fun columnWildcard(columnWildcard: CfnDataCellsFilter.ColumnWildcardProperty) { - cdkBuilder.columnWildcard(columnWildcard.let(CfnDataCellsFilter.ColumnWildcardProperty::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(CfnDataCellsFilter.ColumnWildcardProperty.Companion::unwrap)) } /** @@ -275,14 +275,14 @@ public interface CfnDataCellsFilterProps { * @param rowFilter A PartiQL predicate. */ override fun rowFilter(rowFilter: IResolvable) { - cdkBuilder.rowFilter(rowFilter.let(IResolvable::unwrap)) + cdkBuilder.rowFilter(rowFilter.let(IResolvable.Companion::unwrap)) } /** * @param rowFilter A PartiQL predicate. */ override fun rowFilter(rowFilter: CfnDataCellsFilter.RowFilterProperty) { - cdkBuilder.rowFilter(rowFilter.let(CfnDataCellsFilter.RowFilterProperty::unwrap)) + cdkBuilder.rowFilter(rowFilter.let(CfnDataCellsFilter.RowFilterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettings.kt index 71a3e59136..6697839a80 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettings.kt @@ -96,7 +96,7 @@ public open class CfnDataLakeSettings( cdkObject: software.amazon.awscdk.services.lakeformation.CfnDataLakeSettings, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.lakeformation.CfnDataLakeSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.lakeformation.CfnDataLakeSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -105,8 +105,8 @@ public open class CfnDataLakeSettings( id: String, props: CfnDataLakeSettingsProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnDataLakeSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataLakeSettingsProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnDataLakeSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataLakeSettingsProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class CfnDataLakeSettings( * A list of AWS Lake Formation principals. */ public open fun admins(`value`: IResolvable) { - unwrap(this).setAdmins(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdmins(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnDataLakeSettings( * by Lake Formation . */ public open fun allowExternalDataFiltering(`value`: IResolvable) { - unwrap(this).setAllowExternalDataFiltering(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowExternalDataFiltering(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnDataLakeSettings( * if the user has full table access. */ public open fun allowFullTableExternalDataAccess(`value`: IResolvable) { - unwrap(this).setAllowFullTableExternalDataAccess(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowFullTableExternalDataAccess(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnDataLakeSettings( * permissions or exclusively by IAM permissions. */ public open fun createDatabaseDefaultPermissions(`value`: IResolvable) { - unwrap(this).setCreateDatabaseDefaultPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreateDatabaseDefaultPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnDataLakeSettings( * permissions or exclusively by IAM permissions. */ public open fun createTableDefaultPermissions(`value`: IResolvable) { - unwrap(this).setCreateTableDefaultPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreateTableDefaultPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnDataLakeSettings( * are allwed to perform data filtering. */ public open fun externalDataFilteringAllowList(`value`: IResolvable) { - unwrap(this).setExternalDataFilteringAllowList(`value`.let(IResolvable::unwrap)) + unwrap(this).setExternalDataFilteringAllowList(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnDataLakeSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public open class CfnDataLakeSettings( * @param admins A list of AWS Lake Formation principals. */ override fun admins(admins: IResolvable) { - cdkBuilder.admins(admins.let(IResolvable::unwrap)) + cdkBuilder.admins(admins.let(IResolvable.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnDataLakeSettings( * query engines to access data managed by Lake Formation . */ override fun allowExternalDataFiltering(allowExternalDataFiltering: IResolvable) { - cdkBuilder.allowExternalDataFiltering(allowExternalDataFiltering.let(IResolvable::unwrap)) + cdkBuilder.allowExternalDataFiltering(allowExternalDataFiltering.let(IResolvable.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public open class CfnDataLakeSettings( * get credentials without IAM session tags if the user has full table access. */ override fun allowFullTableExternalDataAccess(allowFullTableExternalDataAccess: IResolvable) { - cdkBuilder.allowFullTableExternalDataAccess(allowFullTableExternalDataAccess.let(IResolvable::unwrap)) + cdkBuilder.allowFullTableExternalDataAccess(allowFullTableExternalDataAccess.let(IResolvable.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public open class CfnDataLakeSettings( * database is managed by Lake Formation permissions or exclusively by IAM permissions. */ override fun createDatabaseDefaultPermissions(createDatabaseDefaultPermissions: IResolvable) { - cdkBuilder.createDatabaseDefaultPermissions(createDatabaseDefaultPermissions.let(IResolvable::unwrap)) + cdkBuilder.createDatabaseDefaultPermissions(createDatabaseDefaultPermissions.let(IResolvable.Companion::unwrap)) } /** @@ -945,7 +945,7 @@ public open class CfnDataLakeSettings( * table is managed by Lake Formation permissions or exclusively by IAM permissions. */ override fun createTableDefaultPermissions(createTableDefaultPermissions: IResolvable) { - cdkBuilder.createTableDefaultPermissions(createTableDefaultPermissions.let(IResolvable::unwrap)) + cdkBuilder.createTableDefaultPermissions(createTableDefaultPermissions.let(IResolvable.Companion::unwrap)) } /** @@ -1004,7 +1004,7 @@ public open class CfnDataLakeSettings( * EMR clusters or third-party engines that are allwed to perform data filtering. */ override fun externalDataFilteringAllowList(externalDataFilteringAllowList: IResolvable) { - cdkBuilder.externalDataFilteringAllowList(externalDataFilteringAllowList.let(IResolvable::unwrap)) + cdkBuilder.externalDataFilteringAllowList(externalDataFilteringAllowList.let(IResolvable.Companion::unwrap)) } /** @@ -1289,14 +1289,14 @@ public open class CfnDataLakeSettings( * @param principal The principal who is granted permissions. */ override fun principal(principal: IResolvable) { - cdkBuilder.principal(principal.let(IResolvable::unwrap)) + cdkBuilder.principal(principal.let(IResolvable.Companion::unwrap)) } /** * @param principal The principal who is granted permissions. */ override fun principal(principal: DataLakePrincipalProperty) { - cdkBuilder.principal(principal.let(DataLakePrincipalProperty::unwrap)) + cdkBuilder.principal(principal.let(DataLakePrincipalProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettingsProps.kt index e068e0b735..97a867ec09 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnDataLakeSettingsProps.kt @@ -484,7 +484,7 @@ public interface CfnDataLakeSettingsProps { * @param admins A list of AWS Lake Formation principals. */ override fun admins(admins: IResolvable) { - cdkBuilder.admins(admins.let(IResolvable::unwrap)) + cdkBuilder.admins(admins.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public interface CfnDataLakeSettingsProps { * . */ override fun allowExternalDataFiltering(allowExternalDataFiltering: IResolvable) { - cdkBuilder.allowExternalDataFiltering(allowExternalDataFiltering.let(IResolvable::unwrap)) + cdkBuilder.allowExternalDataFiltering(allowExternalDataFiltering.let(IResolvable.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public interface CfnDataLakeSettingsProps { * [](https://docs.aws.amazon.com/lake-formation/latest/dg/using-cred-vending.html) */ override fun allowFullTableExternalDataAccess(allowFullTableExternalDataAccess: IResolvable) { - cdkBuilder.allowFullTableExternalDataAccess(allowFullTableExternalDataAccess.let(IResolvable::unwrap)) + cdkBuilder.allowFullTableExternalDataAccess(allowFullTableExternalDataAccess.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public interface CfnDataLakeSettingsProps { * lake](https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html) . */ override fun createDatabaseDefaultPermissions(createDatabaseDefaultPermissions: IResolvable) { - cdkBuilder.createDatabaseDefaultPermissions(createDatabaseDefaultPermissions.let(IResolvable::unwrap)) + cdkBuilder.createDatabaseDefaultPermissions(createDatabaseDefaultPermissions.let(IResolvable.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public interface CfnDataLakeSettingsProps { * lake](https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html) . */ override fun createTableDefaultPermissions(createTableDefaultPermissions: IResolvable) { - cdkBuilder.createTableDefaultPermissions(createTableDefaultPermissions.let(IResolvable::unwrap)) + cdkBuilder.createTableDefaultPermissions(createTableDefaultPermissions.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public interface CfnDataLakeSettingsProps { * EMR clusters or third-party engines that are allwed to perform data filtering. */ override fun externalDataFilteringAllowList(externalDataFilteringAllowList: IResolvable) { - cdkBuilder.externalDataFilteringAllowList(externalDataFilteringAllowList.let(IResolvable::unwrap)) + cdkBuilder.externalDataFilteringAllowList(externalDataFilteringAllowList.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissions.kt index 2baa1ff1b0..f73145e31a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissions.kt @@ -84,8 +84,8 @@ public open class CfnPermissions( id: String, props: CfnPermissionsProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnPermissions(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPermissionsProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnPermissions(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPermissionsProps.Companion::unwrap)) ) public constructor( @@ -109,14 +109,14 @@ public open class CfnPermissions( * The AWS Lake Formation principal. */ public open fun dataLakePrincipal(`value`: IResolvable) { - unwrap(this).setDataLakePrincipal(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataLakePrincipal(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS Lake Formation principal. */ public open fun dataLakePrincipal(`value`: DataLakePrincipalProperty) { - unwrap(this).setDataLakePrincipal(`value`.let(DataLakePrincipalProperty::unwrap)) + unwrap(this).setDataLakePrincipal(`value`.let(DataLakePrincipalProperty.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnPermissions( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -181,14 +181,14 @@ public open class CfnPermissions( * A structure for the resource. */ public open fun resource(`value`: IResolvable) { - unwrap(this).setResource(`value`.let(IResolvable::unwrap)) + unwrap(this).setResource(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure for the resource. */ public open fun resource(`value`: ResourceProperty) { - unwrap(this).setResource(`value`.let(ResourceProperty::unwrap)) + unwrap(this).setResource(`value`.let(ResourceProperty.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnPermissions( * @param dataLakePrincipal The AWS Lake Formation principal. */ override fun dataLakePrincipal(dataLakePrincipal: IResolvable) { - cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(IResolvable::unwrap)) + cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnPermissions( * @param dataLakePrincipal The AWS Lake Formation principal. */ override fun dataLakePrincipal(dataLakePrincipal: DataLakePrincipalProperty) { - cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(DataLakePrincipalProperty::unwrap)) + cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(DataLakePrincipalProperty.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class CfnPermissions( * @param resource A structure for the resource. */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnPermissions( * @param resource A structure for the resource. */ override fun resource(resource: ResourceProperty) { - cdkBuilder.resource(resource.let(ResourceProperty::unwrap)) + cdkBuilder.resource(resource.let(ResourceProperty.Companion::unwrap)) } /** @@ -1021,7 +1021,7 @@ public open class CfnPermissions( * granted or revoked. */ override fun dataLocationResource(dataLocationResource: IResolvable) { - cdkBuilder.dataLocationResource(dataLocationResource.let(IResolvable::unwrap)) + cdkBuilder.dataLocationResource(dataLocationResource.let(IResolvable.Companion::unwrap)) } /** @@ -1029,7 +1029,7 @@ public open class CfnPermissions( * granted or revoked. */ override fun dataLocationResource(dataLocationResource: DataLocationResourceProperty) { - cdkBuilder.dataLocationResource(dataLocationResource.let(DataLocationResourceProperty::unwrap)) + cdkBuilder.dataLocationResource(dataLocationResource.let(DataLocationResourceProperty.Companion::unwrap)) } /** @@ -1046,14 +1046,14 @@ public open class CfnPermissions( * @param databaseResource A structure for the database object. */ override fun databaseResource(databaseResource: IResolvable) { - cdkBuilder.databaseResource(databaseResource.let(IResolvable::unwrap)) + cdkBuilder.databaseResource(databaseResource.let(IResolvable.Companion::unwrap)) } /** * @param databaseResource A structure for the database object. */ override fun databaseResource(databaseResource: DatabaseResourceProperty) { - cdkBuilder.databaseResource(databaseResource.let(DatabaseResourceProperty::unwrap)) + cdkBuilder.databaseResource(databaseResource.let(DatabaseResourceProperty.Companion::unwrap)) } /** @@ -1070,7 +1070,7 @@ public open class CfnPermissions( * privileges to a principal. */ override fun tableResource(tableResource: IResolvable) { - cdkBuilder.tableResource(tableResource.let(IResolvable::unwrap)) + cdkBuilder.tableResource(tableResource.let(IResolvable.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public open class CfnPermissions( * privileges to a principal. */ override fun tableResource(tableResource: TableResourceProperty) { - cdkBuilder.tableResource(tableResource.let(TableResourceProperty::unwrap)) + cdkBuilder.tableResource(tableResource.let(TableResourceProperty.Companion::unwrap)) } /** @@ -1097,7 +1097,7 @@ public open class CfnPermissions( * This object is only used when granting a SELECT permission. */ override fun tableWithColumnsResource(tableWithColumnsResource: IResolvable) { - cdkBuilder.tableWithColumnsResource(tableWithColumnsResource.let(IResolvable::unwrap)) + cdkBuilder.tableWithColumnsResource(tableWithColumnsResource.let(IResolvable.Companion::unwrap)) } /** @@ -1106,7 +1106,7 @@ public open class CfnPermissions( */ override fun tableWithColumnsResource(tableWithColumnsResource: TableWithColumnsResourceProperty) { - cdkBuilder.tableWithColumnsResource(tableWithColumnsResource.let(TableWithColumnsResourceProperty::unwrap)) + cdkBuilder.tableWithColumnsResource(tableWithColumnsResource.let(TableWithColumnsResourceProperty.Companion::unwrap)) } /** @@ -1322,7 +1322,7 @@ public open class CfnPermissions( * will have permission changes applied. */ override fun tableWildcard(tableWildcard: IResolvable) { - cdkBuilder.tableWildcard(tableWildcard.let(IResolvable::unwrap)) + cdkBuilder.tableWildcard(tableWildcard.let(IResolvable.Companion::unwrap)) } /** @@ -1331,7 +1331,7 @@ public open class CfnPermissions( * will have permission changes applied. */ override fun tableWildcard(tableWildcard: TableWildcardProperty) { - cdkBuilder.tableWildcard(tableWildcard.let(TableWildcardProperty::unwrap)) + cdkBuilder.tableWildcard(tableWildcard.let(TableWildcardProperty.Companion::unwrap)) } /** @@ -1625,7 +1625,7 @@ public open class CfnPermissions( * At least one of `ColumnNames` or `ColumnWildcard` is required. */ override fun columnWildcard(columnWildcard: IResolvable) { - cdkBuilder.columnWildcard(columnWildcard.let(IResolvable::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(IResolvable.Companion::unwrap)) } /** @@ -1633,7 +1633,7 @@ public open class CfnPermissions( * At least one of `ColumnNames` or `ColumnWildcard` is required. */ override fun columnWildcard(columnWildcard: ColumnWildcardProperty) { - cdkBuilder.columnWildcard(columnWildcard.let(ColumnWildcardProperty::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(ColumnWildcardProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissionsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissionsProps.kt index bc5c301b84..d8a619bf6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissionsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPermissionsProps.kt @@ -160,14 +160,14 @@ public interface CfnPermissionsProps { * @param dataLakePrincipal The AWS Lake Formation principal. */ override fun dataLakePrincipal(dataLakePrincipal: IResolvable) { - cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(IResolvable::unwrap)) + cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(IResolvable.Companion::unwrap)) } /** * @param dataLakePrincipal The AWS Lake Formation principal. */ override fun dataLakePrincipal(dataLakePrincipal: CfnPermissions.DataLakePrincipalProperty) { - cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(CfnPermissions.DataLakePrincipalProperty::unwrap)) + cdkBuilder.dataLakePrincipal(dataLakePrincipal.let(CfnPermissions.DataLakePrincipalProperty.Companion::unwrap)) } /** @@ -210,14 +210,14 @@ public interface CfnPermissionsProps { * @param resource A structure for the resource. */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** * @param resource A structure for the resource. */ override fun resource(resource: CfnPermissions.ResourceProperty) { - cdkBuilder.resource(resource.let(CfnPermissions.ResourceProperty::unwrap)) + cdkBuilder.resource(resource.let(CfnPermissions.ResourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissions.kt index 980091e432..6b16aa09db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissions.kt @@ -103,8 +103,8 @@ public open class CfnPrincipalPermissions( id: String, props: CfnPrincipalPermissionsProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPrincipalPermissionsProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPrincipalPermissionsProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnPrincipalPermissions( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -195,14 +195,14 @@ public open class CfnPrincipalPermissions( * The principal to be granted a permission. */ public open fun principal(`value`: IResolvable) { - unwrap(this).setPrincipal(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrincipal(`value`.let(IResolvable.Companion::unwrap)) } /** * The principal to be granted a permission. */ public open fun principal(`value`: DataLakePrincipalProperty) { - unwrap(this).setPrincipal(`value`.let(DataLakePrincipalProperty::unwrap)) + unwrap(this).setPrincipal(`value`.let(DataLakePrincipalProperty.Companion::unwrap)) } /** @@ -222,14 +222,14 @@ public open class CfnPrincipalPermissions( * The resource to be granted or revoked permissions. */ public open fun resource(`value`: IResolvable) { - unwrap(this).setResource(`value`.let(IResolvable::unwrap)) + unwrap(this).setResource(`value`.let(IResolvable.Companion::unwrap)) } /** * The resource to be granted or revoked permissions. */ public open fun resource(`value`: ResourceProperty) { - unwrap(this).setResource(`value`.let(ResourceProperty::unwrap)) + unwrap(this).setResource(`value`.let(ResourceProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnPrincipalPermissions( * @param principal The principal to be granted a permission. */ override fun principal(principal: IResolvable) { - cdkBuilder.principal(principal.let(IResolvable::unwrap)) + cdkBuilder.principal(principal.let(IResolvable.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class CfnPrincipalPermissions( * @param principal The principal to be granted a permission. */ override fun principal(principal: DataLakePrincipalProperty) { - cdkBuilder.principal(principal.let(DataLakePrincipalProperty::unwrap)) + cdkBuilder.principal(principal.let(DataLakePrincipalProperty.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class CfnPrincipalPermissions( * @param resource The resource to be granted or revoked permissions. */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnPrincipalPermissions( * @param resource The resource to be granted or revoked permissions. */ override fun resource(resource: ResourceProperty) { - cdkBuilder.resource(resource.let(ResourceProperty::unwrap)) + cdkBuilder.resource(resource.let(ResourceProperty.Companion::unwrap)) } /** @@ -1336,7 +1336,7 @@ public open class CfnPrincipalPermissions( * @param expression A list of LF-tag conditions that apply to the resource's LF-tag policy. */ override fun expression(expression: IResolvable) { - cdkBuilder.expression(expression.let(IResolvable::unwrap)) + cdkBuilder.expression(expression.let(IResolvable.Companion::unwrap)) } /** @@ -1839,14 +1839,14 @@ public open class CfnPrincipalPermissions( * @param dataCellsFilter A data cell filter. */ override fun dataCellsFilter(dataCellsFilter: IResolvable) { - cdkBuilder.dataCellsFilter(dataCellsFilter.let(IResolvable::unwrap)) + cdkBuilder.dataCellsFilter(dataCellsFilter.let(IResolvable.Companion::unwrap)) } /** * @param dataCellsFilter A data cell filter. */ override fun dataCellsFilter(dataCellsFilter: DataCellsFilterResourceProperty) { - cdkBuilder.dataCellsFilter(dataCellsFilter.let(DataCellsFilterResourceProperty::unwrap)) + cdkBuilder.dataCellsFilter(dataCellsFilter.let(DataCellsFilterResourceProperty.Companion::unwrap)) } /** @@ -1863,7 +1863,7 @@ public open class CfnPrincipalPermissions( * revoked. */ override fun dataLocation(dataLocation: IResolvable) { - cdkBuilder.dataLocation(dataLocation.let(IResolvable::unwrap)) + cdkBuilder.dataLocation(dataLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1871,7 +1871,7 @@ public open class CfnPrincipalPermissions( * revoked. */ override fun dataLocation(dataLocation: DataLocationResourceProperty) { - cdkBuilder.dataLocation(dataLocation.let(DataLocationResourceProperty::unwrap)) + cdkBuilder.dataLocation(dataLocation.let(DataLocationResourceProperty.Companion::unwrap)) } /** @@ -1889,7 +1889,7 @@ public open class CfnPrincipalPermissions( * into a logical group. You can Grant and Revoke database permissions to a principal. */ override fun database(database: IResolvable) { - cdkBuilder.database(database.let(IResolvable::unwrap)) + cdkBuilder.database(database.let(IResolvable.Companion::unwrap)) } /** @@ -1898,7 +1898,7 @@ public open class CfnPrincipalPermissions( * into a logical group. You can Grant and Revoke database permissions to a principal. */ override fun database(database: DatabaseResourceProperty) { - cdkBuilder.database(database.let(DatabaseResourceProperty::unwrap)) + cdkBuilder.database(database.let(DatabaseResourceProperty.Companion::unwrap)) } /** @@ -1915,14 +1915,14 @@ public open class CfnPrincipalPermissions( * @param lfTag The LF-tag key and values attached to a resource. */ override fun lfTag(lfTag: IResolvable) { - cdkBuilder.lfTag(lfTag.let(IResolvable::unwrap)) + cdkBuilder.lfTag(lfTag.let(IResolvable.Companion::unwrap)) } /** * @param lfTag The LF-tag key and values attached to a resource. */ override fun lfTag(lfTag: LFTagKeyResourceProperty) { - cdkBuilder.lfTag(lfTag.let(LFTagKeyResourceProperty::unwrap)) + cdkBuilder.lfTag(lfTag.let(LFTagKeyResourceProperty.Companion::unwrap)) } /** @@ -1937,14 +1937,14 @@ public open class CfnPrincipalPermissions( * @param lfTagPolicy A list of LF-tag conditions that define a resource's LF-tag policy. */ override fun lfTagPolicy(lfTagPolicy: IResolvable) { - cdkBuilder.lfTagPolicy(lfTagPolicy.let(IResolvable::unwrap)) + cdkBuilder.lfTagPolicy(lfTagPolicy.let(IResolvable.Companion::unwrap)) } /** * @param lfTagPolicy A list of LF-tag conditions that define a resource's LF-tag policy. */ override fun lfTagPolicy(lfTagPolicy: LFTagPolicyResourceProperty) { - cdkBuilder.lfTagPolicy(lfTagPolicy.let(LFTagPolicyResourceProperty::unwrap)) + cdkBuilder.lfTagPolicy(lfTagPolicy.let(LFTagPolicyResourceProperty.Companion::unwrap)) } /** @@ -1961,7 +1961,7 @@ public open class CfnPrincipalPermissions( * privileges to a principal. */ override fun table(table: IResolvable) { - cdkBuilder.table(table.let(IResolvable::unwrap)) + cdkBuilder.table(table.let(IResolvable.Companion::unwrap)) } /** @@ -1970,7 +1970,7 @@ public open class CfnPrincipalPermissions( * privileges to a principal. */ override fun table(table: TableResourceProperty) { - cdkBuilder.table(table.let(TableResourceProperty::unwrap)) + cdkBuilder.table(table.let(TableResourceProperty.Companion::unwrap)) } /** @@ -1989,7 +1989,7 @@ public open class CfnPrincipalPermissions( * table in the Data Catalog and the underlying data in Amazon S3. */ override fun tableWithColumns(tableWithColumns: IResolvable) { - cdkBuilder.tableWithColumns(tableWithColumns.let(IResolvable::unwrap)) + cdkBuilder.tableWithColumns(tableWithColumns.let(IResolvable.Companion::unwrap)) } /** @@ -1998,7 +1998,7 @@ public open class CfnPrincipalPermissions( * table in the Data Catalog and the underlying data in Amazon S3. */ override fun tableWithColumns(tableWithColumns: TableWithColumnsResourceProperty) { - cdkBuilder.tableWithColumns(tableWithColumns.let(TableWithColumnsResourceProperty::unwrap)) + cdkBuilder.tableWithColumns(tableWithColumns.let(TableWithColumnsResourceProperty.Companion::unwrap)) } /** @@ -2464,7 +2464,7 @@ public open class CfnPrincipalPermissions( * At least one of `ColumnNames` or `ColumnWildcard` is required. */ override fun columnWildcard(columnWildcard: IResolvable) { - cdkBuilder.columnWildcard(columnWildcard.let(IResolvable::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(IResolvable.Companion::unwrap)) } /** @@ -2472,7 +2472,7 @@ public open class CfnPrincipalPermissions( * At least one of `ColumnNames` or `ColumnWildcard` is required. */ override fun columnWildcard(columnWildcard: ColumnWildcardProperty) { - cdkBuilder.columnWildcard(columnWildcard.let(ColumnWildcardProperty::unwrap)) + cdkBuilder.columnWildcard(columnWildcard.let(ColumnWildcardProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissionsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissionsProps.kt index 42dd25ba4d..da6c711a19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissionsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnPrincipalPermissionsProps.kt @@ -241,14 +241,14 @@ public interface CfnPrincipalPermissionsProps { * @param principal The principal to be granted a permission. */ override fun principal(principal: IResolvable) { - cdkBuilder.principal(principal.let(IResolvable::unwrap)) + cdkBuilder.principal(principal.let(IResolvable.Companion::unwrap)) } /** * @param principal The principal to be granted a permission. */ override fun principal(principal: CfnPrincipalPermissions.DataLakePrincipalProperty) { - cdkBuilder.principal(principal.let(CfnPrincipalPermissions.DataLakePrincipalProperty::unwrap)) + cdkBuilder.principal(principal.let(CfnPrincipalPermissions.DataLakePrincipalProperty.Companion::unwrap)) } /** @@ -264,14 +264,14 @@ public interface CfnPrincipalPermissionsProps { * @param resource The resource to be granted or revoked permissions. */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** * @param resource The resource to be granted or revoked permissions. */ override fun resource(resource: CfnPrincipalPermissions.ResourceProperty) { - cdkBuilder.resource(resource.let(CfnPrincipalPermissions.ResourceProperty::unwrap)) + cdkBuilder.resource(resource.let(CfnPrincipalPermissions.ResourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResource.kt index 0e071de60a..c8468518c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResource.kt @@ -50,8 +50,8 @@ public open class CfnResource( id: String, props: CfnResourceProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnResource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnResource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnResource( * Lake Formation permissions as well as Amazon S3 bucket policies. */ public open fun hybridAccessEnabled(`value`: IResolvable) { - unwrap(this).setHybridAccessEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setHybridAccessEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public open class CfnResource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnResource( * . */ public open fun useServiceLinkedRole(`value`: IResolvable) { - unwrap(this).setUseServiceLinkedRole(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseServiceLinkedRole(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnResource( * Allows Lake Formation to assume a role to access tables in a federated database. */ public open fun withFederation(`value`: IResolvable) { - unwrap(this).setWithFederation(`value`.let(IResolvable::unwrap)) + unwrap(this).setWithFederation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnResource( * */ override fun hybridAccessEnabled(hybridAccessEnabled: IResolvable) { - cdkBuilder.hybridAccessEnabled(hybridAccessEnabled.let(IResolvable::unwrap)) + cdkBuilder.hybridAccessEnabled(hybridAccessEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnResource( * this caller with the Data Catalog . */ override fun useServiceLinkedRole(useServiceLinkedRole: IResolvable) { - cdkBuilder.useServiceLinkedRole(useServiceLinkedRole.let(IResolvable::unwrap)) + cdkBuilder.useServiceLinkedRole(useServiceLinkedRole.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnResource( * database. */ override fun withFederation(withFederation: IResolvable) { - cdkBuilder.withFederation(withFederation.let(IResolvable::unwrap)) + cdkBuilder.withFederation(withFederation.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lakeformation.CfnResource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResourceProps.kt index 7e5212c11f..f34feda767 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnResourceProps.kt @@ -139,7 +139,7 @@ public interface CfnResourceProps { * location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies. */ override fun hybridAccessEnabled(hybridAccessEnabled: IResolvable) { - cdkBuilder.hybridAccessEnabled(hybridAccessEnabled.let(IResolvable::unwrap)) + cdkBuilder.hybridAccessEnabled(hybridAccessEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CfnResourceProps { * this caller with the Data Catalog . */ override fun useServiceLinkedRole(useServiceLinkedRole: IResolvable) { - cdkBuilder.useServiceLinkedRole(useServiceLinkedRole.let(IResolvable::unwrap)) + cdkBuilder.useServiceLinkedRole(useServiceLinkedRole.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface CfnResourceProps { * database. */ override fun withFederation(withFederation: IResolvable) { - cdkBuilder.withFederation(withFederation.let(IResolvable::unwrap)) + cdkBuilder.withFederation(withFederation.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lakeformation.CfnResourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTag.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTag.kt index fca1f98993..3b68f0440a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTag.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTag.kt @@ -97,8 +97,8 @@ public open class CfnTag( id: String, props: CfnTagProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnTag(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTagProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnTag(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTagProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnTag( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociation.kt index 461c443131..bf6053935c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociation.kt @@ -102,8 +102,8 @@ public open class CfnTagAssociation( id: String, props: CfnTagAssociationProps, ) : - this(software.amazon.awscdk.services.lakeformation.CfnTagAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTagAssociationProps::unwrap)) + this(software.amazon.awscdk.services.lakeformation.CfnTagAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTagAssociationProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class CfnTagAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnTagAssociation( * A structure containing an LF-tag key-value pair. */ public open fun lfTags(`value`: IResolvable) { - unwrap(this).setLfTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setLfTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -176,14 +176,14 @@ public open class CfnTagAssociation( * UTF-8 string (valid values: `DATABASE | TABLE` ). */ public open fun resource(`value`: IResolvable) { - unwrap(this).setResource(`value`.let(IResolvable::unwrap)) + unwrap(this).setResource(`value`.let(IResolvable.Companion::unwrap)) } /** * UTF-8 string (valid values: `DATABASE | TABLE` ). */ public open fun resource(`value`: ResourceProperty) { - unwrap(this).setResource(`value`.let(ResourceProperty::unwrap)) + unwrap(this).setResource(`value`.let(ResourceProperty.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnTagAssociation( * @param lfTags A structure containing an LF-tag key-value pair. */ override fun lfTags(lfTags: IResolvable) { - cdkBuilder.lfTags(lfTags.let(IResolvable::unwrap)) + cdkBuilder.lfTags(lfTags.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnTagAssociation( * @param resource UTF-8 string (valid values: `DATABASE | TABLE` ). */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnTagAssociation( * @param resource UTF-8 string (valid values: `DATABASE | TABLE` ). */ override fun resource(resource: ResourceProperty) { - cdkBuilder.resource(resource.let(ResourceProperty::unwrap)) + cdkBuilder.resource(resource.let(ResourceProperty.Companion::unwrap)) } /** @@ -867,7 +867,7 @@ public open class CfnTagAssociation( * into a logical group. You can Grant and Revoke database permissions to a principal. */ override fun database(database: IResolvable) { - cdkBuilder.database(database.let(IResolvable::unwrap)) + cdkBuilder.database(database.let(IResolvable.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnTagAssociation( * into a logical group. You can Grant and Revoke database permissions to a principal. */ override fun database(database: DatabaseResourceProperty) { - cdkBuilder.database(database.let(DatabaseResourceProperty::unwrap)) + cdkBuilder.database(database.let(DatabaseResourceProperty.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public open class CfnTagAssociation( * privileges to a principal. */ override fun table(table: IResolvable) { - cdkBuilder.table(table.let(IResolvable::unwrap)) + cdkBuilder.table(table.let(IResolvable.Companion::unwrap)) } /** @@ -904,7 +904,7 @@ public open class CfnTagAssociation( * privileges to a principal. */ override fun table(table: TableResourceProperty) { - cdkBuilder.table(table.let(TableResourceProperty::unwrap)) + cdkBuilder.table(table.let(TableResourceProperty.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public open class CfnTagAssociation( * table in the Data Catalog and the underlying data in Amazon S3. */ override fun tableWithColumns(tableWithColumns: IResolvable) { - cdkBuilder.tableWithColumns(tableWithColumns.let(IResolvable::unwrap)) + cdkBuilder.tableWithColumns(tableWithColumns.let(IResolvable.Companion::unwrap)) } /** @@ -932,7 +932,7 @@ public open class CfnTagAssociation( * table in the Data Catalog and the underlying data in Amazon S3. */ override fun tableWithColumns(tableWithColumns: TableWithColumnsResourceProperty) { - cdkBuilder.tableWithColumns(tableWithColumns.let(TableWithColumnsResourceProperty::unwrap)) + cdkBuilder.tableWithColumns(tableWithColumns.let(TableWithColumnsResourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociationProps.kt index d99f080fa0..cdd8bcf622 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lakeformation/CfnTagAssociationProps.kt @@ -151,7 +151,7 @@ public interface CfnTagAssociationProps { * @param lfTags A structure containing an LF-tag key-value pair. */ override fun lfTags(lfTags: IResolvable) { - cdkBuilder.lfTags(lfTags.let(IResolvable::unwrap)) + cdkBuilder.lfTags(lfTags.let(IResolvable.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public interface CfnTagAssociationProps { * The resource for which the LF-tag policy applies. */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface CfnTagAssociationProps { * The resource for which the LF-tag policy applies. */ override fun resource(resource: CfnTagAssociation.ResourceProperty) { - cdkBuilder.resource(resource.let(CfnTagAssociation.ResourceProperty::unwrap)) + cdkBuilder.resource(resource.let(CfnTagAssociation.ResourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotInstrumentationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotInstrumentationConfig.kt index 54c65d0fc8..0c62f2250a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotInstrumentationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotInstrumentationConfig.kt @@ -65,14 +65,14 @@ public interface AdotInstrumentationConfig { * for your use case: https://aws-otel.github.io/docs/getting-started/lambda. */ override fun execWrapper(execWrapper: AdotLambdaExecWrapper) { - cdkBuilder.execWrapper(execWrapper.let(AdotLambdaExecWrapper::unwrap)) + cdkBuilder.execWrapper(execWrapper.let(AdotLambdaExecWrapper.Companion::unwrap)) } /** * @param layerVersion The ADOT Lambda layer. */ override fun layerVersion(layerVersion: AdotLayerVersion) { - cdkBuilder.layerVersion(layerVersion.let(AdotLayerVersion::unwrap)) + cdkBuilder.layerVersion(layerVersion.let(AdotLayerVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.AdotInstrumentationConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerGenericVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerGenericVersion.kt index 1ab7a90cbe..8b92bcbdf0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerGenericVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerGenericVersion.kt @@ -29,7 +29,8 @@ public open class AdotLambdaLayerGenericVersion( * @param architecture The architecture of the Lambda layer (either X86_64 or ARM_64). */ public open fun layerArn(scope: IConstruct, architecture: Architecture): String = - unwrap(this).layerArn(scope.let(IConstruct::unwrap), architecture.let(Architecture::unwrap)) + unwrap(this).layerArn(scope.let(IConstruct.Companion::unwrap), + architecture.let(Architecture.Companion::unwrap)) public companion object { public val LATEST: AdotLambdaLayerGenericVersion = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaAutoInstrumentationVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaAutoInstrumentationVersion.kt index b6cf676020..587e5b9719 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaAutoInstrumentationVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaAutoInstrumentationVersion.kt @@ -29,7 +29,8 @@ public open class AdotLambdaLayerJavaAutoInstrumentationVersion( * @param architecture The architecture of the Lambda layer (either X86_64 or ARM_64). */ public open fun layerArn(scope: IConstruct, architecture: Architecture): String = - unwrap(this).layerArn(scope.let(IConstruct::unwrap), architecture.let(Architecture::unwrap)) + unwrap(this).layerArn(scope.let(IConstruct.Companion::unwrap), + architecture.let(Architecture.Companion::unwrap)) public companion object { public val LATEST: AdotLambdaLayerJavaAutoInstrumentationVersion = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaScriptSdkVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaScriptSdkVersion.kt index 12a55890c1..43250201ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaScriptSdkVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaScriptSdkVersion.kt @@ -36,7 +36,8 @@ public open class AdotLambdaLayerJavaScriptSdkVersion( * @param architecture The architecture of the Lambda layer (either X86_64 or ARM_64). */ public open fun layerArn(scope: IConstruct, architecture: Architecture): String = - unwrap(this).layerArn(scope.let(IConstruct::unwrap), architecture.let(Architecture::unwrap)) + unwrap(this).layerArn(scope.let(IConstruct.Companion::unwrap), + architecture.let(Architecture.Companion::unwrap)) public companion object { public val LATEST: AdotLambdaLayerJavaScriptSdkVersion = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaSdkVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaSdkVersion.kt index 0fadf476ed..b33cecef09 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaSdkVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerJavaSdkVersion.kt @@ -27,7 +27,8 @@ public open class AdotLambdaLayerJavaSdkVersion( * @param architecture The architecture of the Lambda layer (either X86_64 or ARM_64). */ public open fun layerArn(scope: IConstruct, architecture: Architecture): String = - unwrap(this).layerArn(scope.let(IConstruct::unwrap), architecture.let(Architecture::unwrap)) + unwrap(this).layerArn(scope.let(IConstruct.Companion::unwrap), + architecture.let(Architecture.Companion::unwrap)) public companion object { public val LATEST: AdotLambdaLayerJavaSdkVersion = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerPythonSdkVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerPythonSdkVersion.kt index 4f67c4724f..e0e500941f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerPythonSdkVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLambdaLayerPythonSdkVersion.kt @@ -29,7 +29,8 @@ public open class AdotLambdaLayerPythonSdkVersion( * @param architecture The architecture of the Lambda layer (either X86_64 or ARM_64). */ public open fun layerArn(scope: IConstruct, architecture: Architecture): String = - unwrap(this).layerArn(scope.let(IConstruct::unwrap), architecture.let(Architecture::unwrap)) + unwrap(this).layerArn(scope.let(IConstruct.Companion::unwrap), + architecture.let(Architecture.Companion::unwrap)) public companion object { public val LATEST: AdotLambdaLayerPythonSdkVersion = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLayerVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLayerVersion.kt index 47a4987813..e3b5fff493 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLayerVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AdotLayerVersion.kt @@ -34,23 +34,23 @@ public abstract class AdotLayerVersion( public companion object { public fun fromGenericLayerVersion(version: AdotLambdaLayerGenericVersion): AdotLayerVersion = - software.amazon.awscdk.services.lambda.AdotLayerVersion.fromGenericLayerVersion(version.let(AdotLambdaLayerGenericVersion::unwrap)).let(AdotLayerVersion::wrap) + software.amazon.awscdk.services.lambda.AdotLayerVersion.fromGenericLayerVersion(version.let(AdotLambdaLayerGenericVersion.Companion::unwrap)).let(AdotLayerVersion::wrap) public fun fromJavaAutoInstrumentationLayerVersion(version: AdotLambdaLayerJavaAutoInstrumentationVersion): AdotLayerVersion = - software.amazon.awscdk.services.lambda.AdotLayerVersion.fromJavaAutoInstrumentationLayerVersion(version.let(AdotLambdaLayerJavaAutoInstrumentationVersion::unwrap)).let(AdotLayerVersion::wrap) + software.amazon.awscdk.services.lambda.AdotLayerVersion.fromJavaAutoInstrumentationLayerVersion(version.let(AdotLambdaLayerJavaAutoInstrumentationVersion.Companion::unwrap)).let(AdotLayerVersion::wrap) public fun fromJavaScriptSdkLayerVersion(version: AdotLambdaLayerJavaScriptSdkVersion): AdotLayerVersion = - software.amazon.awscdk.services.lambda.AdotLayerVersion.fromJavaScriptSdkLayerVersion(version.let(AdotLambdaLayerJavaScriptSdkVersion::unwrap)).let(AdotLayerVersion::wrap) + software.amazon.awscdk.services.lambda.AdotLayerVersion.fromJavaScriptSdkLayerVersion(version.let(AdotLambdaLayerJavaScriptSdkVersion.Companion::unwrap)).let(AdotLayerVersion::wrap) public fun fromJavaSdkLayerVersion(version: AdotLambdaLayerJavaSdkVersion): AdotLayerVersion = - software.amazon.awscdk.services.lambda.AdotLayerVersion.fromJavaSdkLayerVersion(version.let(AdotLambdaLayerJavaSdkVersion::unwrap)).let(AdotLayerVersion::wrap) + software.amazon.awscdk.services.lambda.AdotLayerVersion.fromJavaSdkLayerVersion(version.let(AdotLambdaLayerJavaSdkVersion.Companion::unwrap)).let(AdotLayerVersion::wrap) public fun fromPythonSdkLayerVersion(version: AdotLambdaLayerPythonSdkVersion): AdotLayerVersion = - software.amazon.awscdk.services.lambda.AdotLayerVersion.fromPythonSdkLayerVersion(version.let(AdotLambdaLayerPythonSdkVersion::unwrap)).let(AdotLayerVersion::wrap) + software.amazon.awscdk.services.lambda.AdotLayerVersion.fromPythonSdkLayerVersion(version.let(AdotLambdaLayerPythonSdkVersion.Companion::unwrap)).let(AdotLayerVersion::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.lambda.AdotLayerVersion): AdotLayerVersion = CdkObjectWrappers.wrap(cdkObject) as? AdotLayerVersion ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Alias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Alias.kt index 645d57d94d..c8178cb78f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Alias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Alias.kt @@ -48,8 +48,8 @@ public open class Alias( id: String, props: AliasProps, ) : - this(software.amazon.awscdk.services.lambda.Alias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AliasProps::unwrap)) + this(software.amazon.awscdk.services.lambda.Alias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AliasProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class Alias( * @param options Autoscaling options. */ public open fun addAutoScaling(options: AutoScalingOptions): IScalableFunctionAttribute = - unwrap(this).addAutoScaling(options.let(AutoScalingOptions::unwrap)).let(IScalableFunctionAttribute::wrap) + unwrap(this).addAutoScaling(options.let(AutoScalingOptions.Companion::unwrap)).let(IScalableFunctionAttribute::wrap) /** * Configure provisioned concurrency autoscaling on a function alias. @@ -137,7 +137,7 @@ public open class Alias( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Function. @@ -316,7 +316,7 @@ public open class Alias( * @param additionalVersions Additional versions with individual weights this alias points to. */ override fun additionalVersions(additionalVersions: List) { - cdkBuilder.additionalVersions(additionalVersions.map(VersionWeight::unwrap)) + cdkBuilder.additionalVersions(additionalVersions.map(VersionWeight.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class Alias( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class Alias( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class Alias( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class Alias( * @param version Function version this alias refers to. */ override fun version(version: IVersion) { - cdkBuilder.version(version.let(IVersion::unwrap)) + cdkBuilder.version(version.let(IVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.Alias = cdkBuilder.build() @@ -445,8 +445,8 @@ public open class Alias( id: String, attrs: AliasAttributes, ): IAlias = - software.amazon.awscdk.services.lambda.Alias.fromAliasAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(AliasAttributes::unwrap)).let(IAlias::wrap) + software.amazon.awscdk.services.lambda.Alias.fromAliasAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(AliasAttributes.Companion::unwrap)).let(IAlias::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("33308014d704af36d994cc374bcae095f260400d1c1da242bd71dc6553c34889") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasAttributes.kt index 480b55b185..cb2f11a40f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasAttributes.kt @@ -64,7 +64,7 @@ public interface AliasAttributes { * @param aliasVersion the value to be set. */ override fun aliasVersion(aliasVersion: IVersion) { - cdkBuilder.aliasVersion(aliasVersion.let(IVersion::unwrap)) + cdkBuilder.aliasVersion(aliasVersion.let(IVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.AliasAttributes = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasOptions.kt index 26ea2e9c45..6f83c85681 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasOptions.kt @@ -166,7 +166,7 @@ public interface AliasOptions : EventInvokeConfigOptions { * the remaining 95% of traffic will be routed to function version 1. */ override fun additionalVersions(additionalVersions: List) { - cdkBuilder.additionalVersions(additionalVersions.map(VersionWeight::unwrap)) + cdkBuilder.additionalVersions(additionalVersions.map(VersionWeight.Companion::unwrap)) } /** @@ -200,21 +200,21 @@ public interface AliasOptions : EventInvokeConfigOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasProps.kt index 6e06895516..d62f4f2878 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AliasProps.kt @@ -152,7 +152,7 @@ public interface AliasProps : AliasOptions { * the remaining 95% of traffic will be routed to function version 1. */ override fun additionalVersions(additionalVersions: List) { - cdkBuilder.additionalVersions(additionalVersions.map(VersionWeight::unwrap)) + cdkBuilder.additionalVersions(additionalVersions.map(VersionWeight.Companion::unwrap)) } /** @@ -193,21 +193,21 @@ public interface AliasProps : AliasOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface AliasProps : AliasOptions { * Use lambda.currentVersion to reference a version with your latest changes. */ override fun version(version: IVersion) { - cdkBuilder.version(version.let(IVersion::unwrap)) + cdkBuilder.version(version.let(IVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.AliasProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetCode.kt index 19582ca2da..faff822cf4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetCode.kt @@ -53,7 +53,8 @@ public open class AssetCode( ) public constructor(path: String, options: AssetOptions) : - this(software.amazon.awscdk.services.lambda.AssetCode(path, options.let(AssetOptions::unwrap)) + this(software.amazon.awscdk.services.lambda.AssetCode(path, + options.let(AssetOptions.Companion::unwrap)) ) public constructor(path: String, options: AssetOptions.Builder.() -> Unit) : this(path, @@ -67,7 +68,7 @@ public open class AssetCode( * @param scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * Called after the CFN function resource has been created to allow the code class to bind to it. @@ -79,7 +80,7 @@ public open class AssetCode( * @param options */ public override fun bindToResource(resource: CfnResource) { - unwrap(this).bindToResource(resource.let(CfnResource::unwrap)) + unwrap(this).bindToResource(resource.let(CfnResource.Companion::unwrap)) } /** @@ -92,8 +93,8 @@ public open class AssetCode( * @param options */ public override fun bindToResource(resource: CfnResource, options: ResourceBindOptions) { - unwrap(this).bindToResource(resource.let(CfnResource::unwrap), - options.let(ResourceBindOptions::unwrap)) + unwrap(this).bindToResource(resource.let(CfnResource.Companion::unwrap), + options.let(ResourceBindOptions.Companion::unwrap)) } /** @@ -317,7 +318,7 @@ public open class AssetCode( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -335,7 +336,7 @@ public open class AssetCode( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -412,7 +413,7 @@ public open class AssetCode( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -423,7 +424,7 @@ public open class AssetCode( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -436,7 +437,7 @@ public open class AssetCode( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCode.kt index 50f42fe2e9..569e3bd36b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCode.kt @@ -84,7 +84,7 @@ public open class AssetImageCode( ) : Code(cdkObject) { public constructor(directory: String, props: AssetImageCodeProps) : this(software.amazon.awscdk.services.lambda.AssetImageCode(directory, - props.let(AssetImageCodeProps::unwrap)) + props.let(AssetImageCodeProps.Companion::unwrap)) ) public constructor(directory: String, props: AssetImageCodeProps.Builder.() -> Unit) : @@ -98,7 +98,7 @@ public open class AssetImageCode( * @param scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * Called after the CFN function resource has been created to allow the code class to bind to it. @@ -110,7 +110,7 @@ public open class AssetImageCode( * @param options */ public override fun bindToResource(resource: CfnResource) { - unwrap(this).bindToResource(resource.let(CfnResource::unwrap)) + unwrap(this).bindToResource(resource.let(CfnResource.Companion::unwrap)) } /** @@ -123,8 +123,8 @@ public open class AssetImageCode( * @param options */ public override fun bindToResource(resource: CfnResource, options: ResourceBindOptions) { - unwrap(this).bindToResource(resource.let(CfnResource::unwrap), - options.let(ResourceBindOptions::unwrap)) + unwrap(this).bindToResource(resource.let(CfnResource.Companion::unwrap), + options.let(ResourceBindOptions.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class AssetImageCode( * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class AssetImageCode( * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public open class AssetImageCode( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public open class AssetImageCode( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -725,7 +725,7 @@ public open class AssetImageCode( * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class AssetImageCode( * @param networkMode Networking mode for the RUN commands during build. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public open class AssetImageCode( * @param platform Platform to build for. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCodeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCodeProps.kt index 1458950a73..10490ea819 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCodeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/AssetImageCodeProps.kt @@ -333,7 +333,7 @@ public interface AssetImageCodeProps : DockerImageAssetOptions { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public interface AssetImageCodeProps : DockerImageAssetOptions { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** @@ -424,14 +424,14 @@ public interface AssetImageCodeProps : DockerImageAssetOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface AssetImageCodeProps : DockerImageAssetOptions { * hash. */ override fun invalidation(invalidation: DockerImageAssetInvalidationOptions) { - cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions::unwrap)) + cdkBuilder.invalidation(invalidation.let(DockerImageAssetInvalidationOptions.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface AssetImageCodeProps : DockerImageAssetOptions { * Support docker API 1.25+. */ override fun networkMode(networkMode: NetworkMode) { - cdkBuilder.networkMode(networkMode.let(NetworkMode::unwrap)) + cdkBuilder.networkMode(networkMode.let(NetworkMode.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface AssetImageCodeProps : DockerImageAssetOptions { * *Requires Docker Buildx*. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAlias.kt index 670282c75c..7f4026f09d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAlias.kt @@ -62,8 +62,8 @@ public open class CfnAlias( id: String, props: CfnAliasProps, ) : - this(software.amazon.awscdk.services.lambda.CfnAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAliasProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAliasProps.Companion::unwrap)) ) public constructor( @@ -73,11 +73,6 @@ public open class CfnAlias( ) : this(scope, id, CfnAliasProps(props) ) - /** - * Lambda Alias ARN generated by the service. - */ - public open fun attrAliasArn(): String = unwrap(this).getAttrAliasArn() - /** * */ @@ -125,7 +120,7 @@ public open class CfnAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -154,7 +149,7 @@ public open class CfnAlias( * configuration for a function's alias. */ public open fun provisionedConcurrencyConfig(`value`: IResolvable) { - unwrap(this).setProvisionedConcurrencyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisionedConcurrencyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -164,7 +159,7 @@ public open class CfnAlias( */ public open fun provisionedConcurrencyConfig(`value`: ProvisionedConcurrencyConfigurationProperty) { - unwrap(this).setProvisionedConcurrencyConfig(`value`.let(ProvisionedConcurrencyConfigurationProperty::unwrap)) + unwrap(this).setProvisionedConcurrencyConfig(`value`.let(ProvisionedConcurrencyConfigurationProperty.Companion::unwrap)) } /** @@ -191,7 +186,7 @@ public open class CfnAlias( * of the alias. */ public open fun routingConfig(`value`: IResolvable) { - unwrap(this).setRoutingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoutingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +195,7 @@ public open class CfnAlias( * of the alias. */ public open fun routingConfig(`value`: AliasRoutingConfigurationProperty) { - unwrap(this).setRoutingConfig(`value`.let(AliasRoutingConfigurationProperty::unwrap)) + unwrap(this).setRoutingConfig(`value`.let(AliasRoutingConfigurationProperty.Companion::unwrap)) } /** @@ -403,7 +398,7 @@ public open class CfnAlias( * configuration for a function's alias. */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: IResolvable) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +413,7 @@ public open class CfnAlias( */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: ProvisionedConcurrencyConfigurationProperty) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(ProvisionedConcurrencyConfigurationProperty::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(ProvisionedConcurrencyConfigurationProperty.Companion::unwrap)) } /** @@ -449,7 +444,7 @@ public open class CfnAlias( * of the alias. */ override fun routingConfig(routingConfig: IResolvable) { - cdkBuilder.routingConfig(routingConfig.let(IResolvable::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -463,7 +458,7 @@ public open class CfnAlias( * of the alias. */ override fun routingConfig(routingConfig: AliasRoutingConfigurationProperty) { - cdkBuilder.routingConfig(routingConfig.let(AliasRoutingConfigurationProperty::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(AliasRoutingConfigurationProperty.Companion::unwrap)) } /** @@ -569,7 +564,7 @@ public open class CfnAlias( * routed to it. */ override fun additionalVersionWeights(additionalVersionWeights: IResolvable) { - cdkBuilder.additionalVersionWeights(additionalVersionWeights.let(IResolvable::unwrap)) + cdkBuilder.additionalVersionWeights(additionalVersionWeights.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAliasProps.kt index 9725f3d6c8..78fd88b06b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnAliasProps.kt @@ -222,7 +222,7 @@ public interface CfnAliasProps { * configuration for a function's alias. */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: IResolvable) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface CfnAliasProps { */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: CfnAlias.ProvisionedConcurrencyConfigurationProperty) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(CfnAlias.ProvisionedConcurrencyConfigurationProperty::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(CfnAlias.ProvisionedConcurrencyConfigurationProperty.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnAliasProps { * of the alias. */ override fun routingConfig(routingConfig: IResolvable) { - cdkBuilder.routingConfig(routingConfig.let(IResolvable::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnAliasProps { * of the alias. */ override fun routingConfig(routingConfig: CfnAlias.AliasRoutingConfigurationProperty) { - cdkBuilder.routingConfig(routingConfig.let(CfnAlias.AliasRoutingConfigurationProperty::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(CfnAlias.AliasRoutingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfig.kt index 6123390e7b..714f6454b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfig.kt @@ -50,8 +50,8 @@ public open class CfnCodeSigningConfig( id: String, props: CfnCodeSigningConfigProps, ) : - this(software.amazon.awscdk.services.lambda.CfnCodeSigningConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCodeSigningConfigProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnCodeSigningConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCodeSigningConfigProps.Companion::unwrap)) ) public constructor( @@ -70,14 +70,14 @@ public open class CfnCodeSigningConfig( * List of allowed publishers. */ public open fun allowedPublishers(`value`: IResolvable) { - unwrap(this).setAllowedPublishers(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowedPublishers(`value`.let(IResolvable.Companion::unwrap)) } /** * List of allowed publishers. */ public open fun allowedPublishers(`value`: AllowedPublishersProperty) { - unwrap(this).setAllowedPublishers(`value`.let(AllowedPublishersProperty::unwrap)) + unwrap(this).setAllowedPublishers(`value`.let(AllowedPublishersProperty.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public open class CfnCodeSigningConfig( * expiry. */ public open fun codeSigningPolicies(`value`: IResolvable) { - unwrap(this).setCodeSigningPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setCodeSigningPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnCodeSigningConfig( * expiry. */ public open fun codeSigningPolicies(`value`: CodeSigningPoliciesProperty) { - unwrap(this).setCodeSigningPolicies(`value`.let(CodeSigningPoliciesProperty::unwrap)) + unwrap(this).setCodeSigningPolicies(`value`.let(CodeSigningPoliciesProperty.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnCodeSigningConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnCodeSigningConfig( * @param allowedPublishers List of allowed publishers. */ override fun allowedPublishers(allowedPublishers: IResolvable) { - cdkBuilder.allowedPublishers(allowedPublishers.let(IResolvable::unwrap)) + cdkBuilder.allowedPublishers(allowedPublishers.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnCodeSigningConfig( * @param allowedPublishers List of allowed publishers. */ override fun allowedPublishers(allowedPublishers: AllowedPublishersProperty) { - cdkBuilder.allowedPublishers(allowedPublishers.let(AllowedPublishersProperty::unwrap)) + cdkBuilder.allowedPublishers(allowedPublishers.let(AllowedPublishersProperty.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnCodeSigningConfig( * signature mismatch or expiry. */ override fun codeSigningPolicies(codeSigningPolicies: IResolvable) { - cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(IResolvable::unwrap)) + cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnCodeSigningConfig( * signature mismatch or expiry. */ override fun codeSigningPolicies(codeSigningPolicies: CodeSigningPoliciesProperty) { - cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(CodeSigningPoliciesProperty::unwrap)) + cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(CodeSigningPoliciesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfigProps.kt index 8a528126dd..80ce2b4b80 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnCodeSigningConfigProps.kt @@ -116,7 +116,7 @@ public interface CfnCodeSigningConfigProps { * @param allowedPublishers List of allowed publishers. */ override fun allowedPublishers(allowedPublishers: IResolvable) { - cdkBuilder.allowedPublishers(allowedPublishers.let(IResolvable::unwrap)) + cdkBuilder.allowedPublishers(allowedPublishers.let(IResolvable.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public interface CfnCodeSigningConfigProps { */ override fun allowedPublishers(allowedPublishers: CfnCodeSigningConfig.AllowedPublishersProperty) { - cdkBuilder.allowedPublishers(allowedPublishers.let(CfnCodeSigningConfig.AllowedPublishersProperty::unwrap)) + cdkBuilder.allowedPublishers(allowedPublishers.let(CfnCodeSigningConfig.AllowedPublishersProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface CfnCodeSigningConfigProps { * signature mismatch or expiry. */ override fun codeSigningPolicies(codeSigningPolicies: IResolvable) { - cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(IResolvable::unwrap)) + cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnCodeSigningConfigProps { */ override fun codeSigningPolicies(codeSigningPolicies: CfnCodeSigningConfig.CodeSigningPoliciesProperty) { - cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(CfnCodeSigningConfig.CodeSigningPoliciesProperty::unwrap)) + cdkBuilder.codeSigningPolicies(codeSigningPolicies.let(CfnCodeSigningConfig.CodeSigningPoliciesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfig.kt index 4dc7845546..6a94434a18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfig.kt @@ -60,8 +60,8 @@ public open class CfnEventInvokeConfig( id: String, props: CfnEventInvokeConfigProps, ) : - this(software.amazon.awscdk.services.lambda.CfnEventInvokeConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventInvokeConfigProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnEventInvokeConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventInvokeConfigProps.Companion::unwrap)) ) public constructor( @@ -80,14 +80,14 @@ public open class CfnEventInvokeConfig( * A destination for events after they have been sent to a function for processing. */ public open fun destinationConfig(`value`: IResolvable) { - unwrap(this).setDestinationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A destination for events after they have been sent to a function for processing. */ public open fun destinationConfig(`value`: DestinationConfigProperty) { - unwrap(this).setDestinationConfig(`value`.let(DestinationConfigProperty::unwrap)) + unwrap(this).setDestinationConfig(`value`.let(DestinationConfigProperty.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnEventInvokeConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnEventInvokeConfig( * processing. */ override fun destinationConfig(destinationConfig: IResolvable) { - cdkBuilder.destinationConfig(destinationConfig.let(IResolvable::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnEventInvokeConfig( * processing. */ override fun destinationConfig(destinationConfig: DestinationConfigProperty) { - cdkBuilder.destinationConfig(destinationConfig.let(DestinationConfigProperty::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(DestinationConfigProperty.Companion::unwrap)) } /** @@ -474,14 +474,14 @@ public open class CfnEventInvokeConfig( * @param onFailure The destination configuration for failed invocations. */ override fun onFailure(onFailure: IResolvable) { - cdkBuilder.onFailure(onFailure.let(IResolvable::unwrap)) + cdkBuilder.onFailure(onFailure.let(IResolvable.Companion::unwrap)) } /** * @param onFailure The destination configuration for failed invocations. */ override fun onFailure(onFailure: OnFailureProperty) { - cdkBuilder.onFailure(onFailure.let(OnFailureProperty::unwrap)) + cdkBuilder.onFailure(onFailure.let(OnFailureProperty.Companion::unwrap)) } /** @@ -496,14 +496,14 @@ public open class CfnEventInvokeConfig( * @param onSuccess The destination configuration for successful invocations. */ override fun onSuccess(onSuccess: IResolvable) { - cdkBuilder.onSuccess(onSuccess.let(IResolvable::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IResolvable.Companion::unwrap)) } /** * @param onSuccess The destination configuration for successful invocations. */ override fun onSuccess(onSuccess: OnSuccessProperty) { - cdkBuilder.onSuccess(onSuccess.let(OnSuccessProperty::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(OnSuccessProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfigProps.kt index 7173f861ed..e004175772 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventInvokeConfigProps.kt @@ -178,7 +178,7 @@ public interface CfnEventInvokeConfigProps { * * *Event Bus* - The ARN of an Amazon EventBridge event bus. */ override fun destinationConfig(destinationConfig: IResolvable) { - cdkBuilder.destinationConfig(destinationConfig.let(IResolvable::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface CfnEventInvokeConfigProps { */ override fun destinationConfig(destinationConfig: CfnEventInvokeConfig.DestinationConfigProperty) { - cdkBuilder.destinationConfig(destinationConfig.let(CfnEventInvokeConfig.DestinationConfigProperty::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(CfnEventInvokeConfig.DestinationConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMapping.kt index 1854d6912f..e740cad7df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMapping.kt @@ -113,8 +113,8 @@ public open class CfnEventSourceMapping( id: String, props: CfnEventSourceMappingProps, ) : - this(software.amazon.awscdk.services.lambda.CfnEventSourceMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventSourceMappingProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnEventSourceMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventSourceMappingProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnEventSourceMapping( * event source. */ public open fun amazonManagedKafkaEventSourceConfig(`value`: IResolvable) { - unwrap(this).setAmazonManagedKafkaEventSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAmazonManagedKafkaEventSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnEventSourceMapping( */ public open fun amazonManagedKafkaEventSourceConfig(`value`: AmazonManagedKafkaEventSourceConfigProperty) { - unwrap(this).setAmazonManagedKafkaEventSourceConfig(`value`.let(AmazonManagedKafkaEventSourceConfigProperty::unwrap)) + unwrap(this).setAmazonManagedKafkaEventSourceConfig(`value`.let(AmazonManagedKafkaEventSourceConfigProperty.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnEventSourceMapping( * and retry. */ public open fun bisectBatchOnFunctionError(`value`: IResolvable) { - unwrap(this).setBisectBatchOnFunctionError(`value`.let(IResolvable::unwrap)) + unwrap(this).setBisectBatchOnFunctionError(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnEventSourceMapping( * configuration object that specifies the destination of an event after Lambda processes it. */ public open fun destinationConfig(`value`: IResolvable) { - unwrap(this).setDestinationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnEventSourceMapping( * configuration object that specifies the destination of an event after Lambda processes it. */ public open fun destinationConfig(`value`: DestinationConfigProperty) { - unwrap(this).setDestinationConfig(`value`.let(DestinationConfigProperty::unwrap)) + unwrap(this).setDestinationConfig(`value`.let(DestinationConfigProperty.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public open class CfnEventSourceMapping( * Specific configuration settings for a DocumentDB event source. */ public open fun documentDbEventSourceConfig(`value`: IResolvable) { - unwrap(this).setDocumentDbEventSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDocumentDbEventSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specific configuration settings for a DocumentDB event source. */ public open fun documentDbEventSourceConfig(`value`: DocumentDBEventSourceConfigProperty) { - unwrap(this).setDocumentDbEventSourceConfig(`value`.let(DocumentDBEventSourceConfigProperty::unwrap)) + unwrap(this).setDocumentDbEventSourceConfig(`value`.let(DocumentDBEventSourceConfigProperty.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnEventSourceMapping( * When false, Lambda pauses polling and invocation. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnEventSourceMapping( * event. */ public open fun filterCriteria(`value`: IResolvable) { - unwrap(this).setFilterCriteria(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilterCriteria(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class CfnEventSourceMapping( * event. */ public open fun filterCriteria(`value`: FilterCriteriaProperty) { - unwrap(this).setFilterCriteria(`value`.let(FilterCriteriaProperty::unwrap)) + unwrap(this).setFilterCriteria(`value`.let(FilterCriteriaProperty.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnEventSourceMapping( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -447,14 +447,14 @@ public open class CfnEventSourceMapping( * (Amazon SQS only) The scaling configuration for the event source. */ public open fun scalingConfig(`value`: IResolvable) { - unwrap(this).setScalingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setScalingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * (Amazon SQS only) The scaling configuration for the event source. */ public open fun scalingConfig(`value`: ScalingConfigProperty) { - unwrap(this).setScalingConfig(`value`.let(ScalingConfigProperty::unwrap)) + unwrap(this).setScalingConfig(`value`.let(ScalingConfigProperty.Companion::unwrap)) } /** @@ -474,14 +474,14 @@ public open class CfnEventSourceMapping( * The self-managed Apache Kafka cluster for your event source. */ public open fun selfManagedEventSource(`value`: IResolvable) { - unwrap(this).setSelfManagedEventSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSelfManagedEventSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The self-managed Apache Kafka cluster for your event source. */ public open fun selfManagedEventSource(`value`: SelfManagedEventSourceProperty) { - unwrap(this).setSelfManagedEventSource(`value`.let(SelfManagedEventSourceProperty::unwrap)) + unwrap(this).setSelfManagedEventSource(`value`.let(SelfManagedEventSourceProperty.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class CfnEventSourceMapping( * Specific configuration settings for a self-managed Apache Kafka event source. */ public open fun selfManagedKafkaEventSourceConfig(`value`: IResolvable) { - unwrap(this).setSelfManagedKafkaEventSourceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSelfManagedKafkaEventSourceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public open class CfnEventSourceMapping( */ public open fun selfManagedKafkaEventSourceConfig(`value`: SelfManagedKafkaEventSourceConfigProperty) { - unwrap(this).setSelfManagedKafkaEventSourceConfig(`value`.let(SelfManagedKafkaEventSourceConfigProperty::unwrap)) + unwrap(this).setSelfManagedKafkaEventSourceConfig(`value`.let(SelfManagedKafkaEventSourceConfigProperty.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnEventSourceMapping( * your event source. */ public open fun sourceAccessConfigurations(`value`: IResolvable) { - unwrap(this).setSourceAccessConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceAccessConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1159,7 +1159,7 @@ public open class CfnEventSourceMapping( */ override fun amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig: IResolvable) { - cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1172,7 +1172,7 @@ public open class CfnEventSourceMapping( */ override fun amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfigProperty) { - cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(AmazonManagedKafkaEventSourceConfigProperty::unwrap)) + cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(AmazonManagedKafkaEventSourceConfigProperty.Companion::unwrap)) } /** @@ -1239,7 +1239,7 @@ public open class CfnEventSourceMapping( * an error, split the batch in two and retry. */ override fun bisectBatchOnFunctionError(bisectBatchOnFunctionError: IResolvable) { - cdkBuilder.bisectBatchOnFunctionError(bisectBatchOnFunctionError.let(IResolvable::unwrap)) + cdkBuilder.bisectBatchOnFunctionError(bisectBatchOnFunctionError.let(IResolvable.Companion::unwrap)) } /** @@ -1252,7 +1252,7 @@ public open class CfnEventSourceMapping( * after Lambda processes it. */ override fun destinationConfig(destinationConfig: IResolvable) { - cdkBuilder.destinationConfig(destinationConfig.let(IResolvable::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1265,7 +1265,7 @@ public open class CfnEventSourceMapping( * after Lambda processes it. */ override fun destinationConfig(destinationConfig: DestinationConfigProperty) { - cdkBuilder.destinationConfig(destinationConfig.let(DestinationConfigProperty::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(DestinationConfigProperty.Companion::unwrap)) } /** @@ -1290,7 +1290,7 @@ public open class CfnEventSourceMapping( * source. */ override fun documentDbEventSourceConfig(documentDbEventSourceConfig: IResolvable) { - cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1302,7 +1302,7 @@ public open class CfnEventSourceMapping( */ override fun documentDbEventSourceConfig(documentDbEventSourceConfig: DocumentDBEventSourceConfigProperty) { - cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(DocumentDBEventSourceConfigProperty::unwrap)) + cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(DocumentDBEventSourceConfigProperty.Companion::unwrap)) } /** @@ -1344,7 +1344,7 @@ public open class CfnEventSourceMapping( * polling and invocation. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1378,7 +1378,7 @@ public open class CfnEventSourceMapping( * Lambda should process an event. */ override fun filterCriteria(filterCriteria: IResolvable) { - cdkBuilder.filterCriteria(filterCriteria.let(IResolvable::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class CfnEventSourceMapping( * Lambda should process an event. */ override fun filterCriteria(filterCriteria: FilterCriteriaProperty) { - cdkBuilder.filterCriteria(filterCriteria.let(FilterCriteriaProperty::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(FilterCriteriaProperty.Companion::unwrap)) } /** @@ -1553,7 +1553,7 @@ public open class CfnEventSourceMapping( * @param scalingConfig (Amazon SQS only) The scaling configuration for the event source. */ override fun scalingConfig(scalingConfig: IResolvable) { - cdkBuilder.scalingConfig(scalingConfig.let(IResolvable::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1567,7 +1567,7 @@ public open class CfnEventSourceMapping( * @param scalingConfig (Amazon SQS only) The scaling configuration for the event source. */ override fun scalingConfig(scalingConfig: ScalingConfigProperty) { - cdkBuilder.scalingConfig(scalingConfig.let(ScalingConfigProperty::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(ScalingConfigProperty.Companion::unwrap)) } /** @@ -1592,7 +1592,7 @@ public open class CfnEventSourceMapping( * @param selfManagedEventSource The self-managed Apache Kafka cluster for your event source. */ override fun selfManagedEventSource(selfManagedEventSource: IResolvable) { - cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(IResolvable::unwrap)) + cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(IResolvable.Companion::unwrap)) } /** @@ -1602,7 +1602,7 @@ public open class CfnEventSourceMapping( * @param selfManagedEventSource The self-managed Apache Kafka cluster for your event source. */ override fun selfManagedEventSource(selfManagedEventSource: SelfManagedEventSourceProperty) { - cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(SelfManagedEventSourceProperty::unwrap)) + cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(SelfManagedEventSourceProperty.Companion::unwrap)) } /** @@ -1625,7 +1625,7 @@ public open class CfnEventSourceMapping( * Apache Kafka event source. */ override fun selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig: IResolvable) { - cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1637,7 +1637,7 @@ public open class CfnEventSourceMapping( */ override fun selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfigProperty) { - cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(SelfManagedKafkaEventSourceConfigProperty::unwrap)) + cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(SelfManagedKafkaEventSourceConfigProperty.Companion::unwrap)) } /** @@ -1663,7 +1663,7 @@ public open class CfnEventSourceMapping( * virtual host to secure and define your event source. */ override fun sourceAccessConfigurations(sourceAccessConfigurations: IResolvable) { - cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.let(IResolvable::unwrap)) + cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1941,14 +1941,14 @@ public open class CfnEventSourceMapping( * @param onFailure The destination configuration for failed invocations. */ override fun onFailure(onFailure: IResolvable) { - cdkBuilder.onFailure(onFailure.let(IResolvable::unwrap)) + cdkBuilder.onFailure(onFailure.let(IResolvable.Companion::unwrap)) } /** * @param onFailure The destination configuration for failed invocations. */ override fun onFailure(onFailure: OnFailureProperty) { - cdkBuilder.onFailure(onFailure.let(OnFailureProperty::unwrap)) + cdkBuilder.onFailure(onFailure.let(OnFailureProperty.Companion::unwrap)) } /** @@ -2311,7 +2311,7 @@ public open class CfnEventSourceMapping( * @param filters A list of filters. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -2749,7 +2749,7 @@ public open class CfnEventSourceMapping( * format: `"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]` . */ override fun endpoints(endpoints: IResolvable) { - cdkBuilder.endpoints(endpoints.let(IResolvable::unwrap)) + cdkBuilder.endpoints(endpoints.let(IResolvable.Companion::unwrap)) } /** @@ -2757,7 +2757,7 @@ public open class CfnEventSourceMapping( * format: `"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]` . */ override fun endpoints(endpoints: EndpointsProperty) { - cdkBuilder.endpoints(endpoints.let(EndpointsProperty::unwrap)) + cdkBuilder.endpoints(endpoints.let(EndpointsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMappingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMappingProps.kt index 00a240c126..944c1a5032 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMappingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnEventSourceMappingProps.kt @@ -695,7 +695,7 @@ public interface CfnEventSourceMappingProps { */ override fun amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig: IResolvable) { - cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public interface CfnEventSourceMappingProps { */ override fun amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig: CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty) { - cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty::unwrap)) + cdkBuilder.amazonManagedKafkaEventSourceConfig(amazonManagedKafkaEventSourceConfig.let(CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public interface CfnEventSourceMappingProps { * The default value is false. */ override fun bisectBatchOnFunctionError(bisectBatchOnFunctionError: IResolvable) { - cdkBuilder.bisectBatchOnFunctionError(bisectBatchOnFunctionError.let(IResolvable::unwrap)) + cdkBuilder.bisectBatchOnFunctionError(bisectBatchOnFunctionError.let(IResolvable.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public interface CfnEventSourceMappingProps { * after Lambda processes it. */ override fun destinationConfig(destinationConfig: IResolvable) { - cdkBuilder.destinationConfig(destinationConfig.let(IResolvable::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -771,7 +771,7 @@ public interface CfnEventSourceMappingProps { */ override fun destinationConfig(destinationConfig: CfnEventSourceMapping.DestinationConfigProperty) { - cdkBuilder.destinationConfig(destinationConfig.let(CfnEventSourceMapping.DestinationConfigProperty::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(CfnEventSourceMapping.DestinationConfigProperty.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public interface CfnEventSourceMappingProps { * source. */ override fun documentDbEventSourceConfig(documentDbEventSourceConfig: IResolvable) { - cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public interface CfnEventSourceMappingProps { */ override fun documentDbEventSourceConfig(documentDbEventSourceConfig: CfnEventSourceMapping.DocumentDBEventSourceConfigProperty) { - cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(CfnEventSourceMapping.DocumentDBEventSourceConfigProperty::unwrap)) + cdkBuilder.documentDbEventSourceConfig(documentDbEventSourceConfig.let(CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public interface CfnEventSourceMappingProps { * Default: True */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public interface CfnEventSourceMappingProps { * filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) . */ override fun filterCriteria(filterCriteria: IResolvable) { - cdkBuilder.filterCriteria(filterCriteria.let(IResolvable::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -863,7 +863,7 @@ public interface CfnEventSourceMappingProps { * filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) . */ override fun filterCriteria(filterCriteria: CfnEventSourceMapping.FilterCriteriaProperty) { - cdkBuilder.filterCriteria(filterCriteria.let(CfnEventSourceMapping.FilterCriteriaProperty::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(CfnEventSourceMapping.FilterCriteriaProperty.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public interface CfnEventSourceMappingProps { * . */ override fun scalingConfig(scalingConfig: IResolvable) { - cdkBuilder.scalingConfig(scalingConfig.let(IResolvable::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -988,7 +988,7 @@ public interface CfnEventSourceMappingProps { * . */ override fun scalingConfig(scalingConfig: CfnEventSourceMapping.ScalingConfigProperty) { - cdkBuilder.scalingConfig(scalingConfig.let(CfnEventSourceMapping.ScalingConfigProperty::unwrap)) + cdkBuilder.scalingConfig(scalingConfig.let(CfnEventSourceMapping.ScalingConfigProperty.Companion::unwrap)) } /** @@ -1007,7 +1007,7 @@ public interface CfnEventSourceMappingProps { * @param selfManagedEventSource The self-managed Apache Kafka cluster for your event source. */ override fun selfManagedEventSource(selfManagedEventSource: IResolvable) { - cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(IResolvable::unwrap)) + cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(IResolvable.Companion::unwrap)) } /** @@ -1015,7 +1015,7 @@ public interface CfnEventSourceMappingProps { */ override fun selfManagedEventSource(selfManagedEventSource: CfnEventSourceMapping.SelfManagedEventSourceProperty) { - cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(CfnEventSourceMapping.SelfManagedEventSourceProperty::unwrap)) + cdkBuilder.selfManagedEventSource(selfManagedEventSource.let(CfnEventSourceMapping.SelfManagedEventSourceProperty.Companion::unwrap)) } /** @@ -1033,7 +1033,7 @@ public interface CfnEventSourceMappingProps { * Apache Kafka event source. */ override fun selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig: IResolvable) { - cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1042,7 +1042,7 @@ public interface CfnEventSourceMappingProps { */ override fun selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig: CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty) { - cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty::unwrap)) + cdkBuilder.selfManagedKafkaEventSourceConfig(selfManagedKafkaEventSourceConfig.let(CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Companion::unwrap)) } /** @@ -1061,7 +1061,7 @@ public interface CfnEventSourceMappingProps { * virtual host to secure and define your event source. */ override fun sourceAccessConfigurations(sourceAccessConfigurations: IResolvable) { - cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.let(IResolvable::unwrap)) + cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunction.kt index cb259a9e83..53acb3a8e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunction.kt @@ -147,8 +147,8 @@ public open class CfnFunction( id: String, props: CfnFunctionProps, ) : - this(software.amazon.awscdk.services.lambda.CfnFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFunctionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFunctionProps.Companion::unwrap)) ) public constructor( @@ -211,14 +211,14 @@ public open class CfnFunction( * The code for the function. */ public open fun code(`value`: IResolvable) { - unwrap(this).setCode(`value`.let(IResolvable::unwrap)) + unwrap(this).setCode(`value`.let(IResolvable.Companion::unwrap)) } /** * The code for the function. */ public open fun code(`value`: CodeProperty) { - unwrap(this).setCode(`value`.let(CodeProperty::unwrap)) + unwrap(this).setCode(`value`.let(CodeProperty.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnFunction( * asynchronous events when they fail processing. */ public open fun deadLetterConfig(`value`: IResolvable) { - unwrap(this).setDeadLetterConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeadLetterConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnFunction( * asynchronous events when they fail processing. */ public open fun deadLetterConfig(`value`: DeadLetterConfigProperty) { - unwrap(this).setDeadLetterConfig(`value`.let(DeadLetterConfigProperty::unwrap)) + unwrap(this).setDeadLetterConfig(`value`.let(DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -292,14 +292,14 @@ public open class CfnFunction( * Environment variables that are accessible from function code during execution. */ public open fun environment(`value`: IResolvable) { - unwrap(this).setEnvironment(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnvironment(`value`.let(IResolvable.Companion::unwrap)) } /** * Environment variables that are accessible from function code during execution. */ public open fun environment(`value`: EnvironmentProperty) { - unwrap(this).setEnvironment(`value`.let(EnvironmentProperty::unwrap)) + unwrap(this).setEnvironment(`value`.let(EnvironmentProperty.Companion::unwrap)) } /** @@ -319,14 +319,14 @@ public open class CfnFunction( * The size of the function's `/tmp` directory in MB. */ public open fun ephemeralStorage(`value`: IResolvable) { - unwrap(this).setEphemeralStorage(`value`.let(IResolvable::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(IResolvable.Companion::unwrap)) } /** * The size of the function's `/tmp` directory in MB. */ public open fun ephemeralStorage(`value`: EphemeralStorageProperty) { - unwrap(this).setEphemeralStorage(`value`.let(EphemeralStorageProperty::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class CfnFunction( * Connection settings for an Amazon EFS file system. */ public open fun fileSystemConfigs(`value`: IResolvable) { - unwrap(this).setFileSystemConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileSystemConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -394,14 +394,14 @@ public open class CfnFunction( * Configuration values that override the container image Dockerfile settings. */ public open fun imageConfig(`value`: IResolvable) { - unwrap(this).setImageConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration values that override the container image Dockerfile settings. */ public open fun imageConfig(`value`: ImageConfigProperty) { - unwrap(this).setImageConfig(`value`.let(ImageConfigProperty::unwrap)) + unwrap(this).setImageConfig(`value`.let(ImageConfigProperty.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public open class CfnFunction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -481,14 +481,14 @@ public open class CfnFunction( * The function's Amazon CloudWatch Logs configuration settings. */ public open fun loggingConfig(`value`: IResolvable) { - unwrap(this).setLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The function's Amazon CloudWatch Logs configuration settings. */ public open fun loggingConfig(`value`: LoggingConfigProperty) { - unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty::unwrap)) + unwrap(this).setLoggingConfig(`value`.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -583,14 +583,14 @@ public open class CfnFunction( * Sets the runtime management configuration for a function's version. */ public open fun runtimeManagementConfig(`value`: IResolvable) { - unwrap(this).setRuntimeManagementConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntimeManagementConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Sets the runtime management configuration for a function's version. */ public open fun runtimeManagementConfig(`value`: RuntimeManagementConfigProperty) { - unwrap(this).setRuntimeManagementConfig(`value`.let(RuntimeManagementConfigProperty::unwrap)) + unwrap(this).setRuntimeManagementConfig(`value`.let(RuntimeManagementConfigProperty.Companion::unwrap)) } /** @@ -613,7 +613,7 @@ public open class CfnFunction( * SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. */ public open fun snapStart(`value`: IResolvable) { - unwrap(this).setSnapStart(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnapStart(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnFunction( * SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. */ public open fun snapStart(`value`: SnapStartProperty) { - unwrap(this).setSnapStart(`value`.let(SnapStartProperty::unwrap)) + unwrap(this).setSnapStart(`value`.let(SnapStartProperty.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnFunction( * function. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -682,7 +682,7 @@ public open class CfnFunction( * [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) . */ public open fun tracingConfig(`value`: IResolvable) { - unwrap(this).setTracingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setTracingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public open class CfnFunction( * [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) . */ public open fun tracingConfig(`value`: TracingConfigProperty) { - unwrap(this).setTracingConfig(`value`.let(TracingConfigProperty::unwrap)) + unwrap(this).setTracingConfig(`value`.let(TracingConfigProperty.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public open class CfnFunction( * subnets in the VPC. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class CfnFunction( * subnets in the VPC. */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -1384,7 +1384,7 @@ public open class CfnFunction( * @param code The code for the function. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -1394,7 +1394,7 @@ public open class CfnFunction( * @param code The code for the function. */ override fun code(code: CodeProperty) { - cdkBuilder.code(code.let(CodeProperty::unwrap)) + cdkBuilder.code(code.let(CodeProperty.Companion::unwrap)) } /** @@ -1433,7 +1433,7 @@ public open class CfnFunction( * where Lambda sends asynchronous events when they fail processing. */ override fun deadLetterConfig(deadLetterConfig: IResolvable) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1448,7 +1448,7 @@ public open class CfnFunction( * where Lambda sends asynchronous events when they fail processing. */ override fun deadLetterConfig(deadLetterConfig: DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -1485,7 +1485,7 @@ public open class CfnFunction( * execution. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -1496,7 +1496,7 @@ public open class CfnFunction( * execution. */ override fun environment(environment: EnvironmentProperty) { - cdkBuilder.environment(environment.let(EnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(EnvironmentProperty.Companion::unwrap)) } /** @@ -1520,7 +1520,7 @@ public open class CfnFunction( * @param ephemeralStorage The size of the function's `/tmp` directory in MB. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -1532,7 +1532,7 @@ public open class CfnFunction( * @param ephemeralStorage The size of the function's `/tmp` directory in MB. */ override fun ephemeralStorage(ephemeralStorage: EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -1565,7 +1565,7 @@ public open class CfnFunction( * @param fileSystemConfigs Connection settings for an Amazon EFS file system. */ override fun fileSystemConfigs(fileSystemConfigs: IResolvable) { - cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable::unwrap)) + cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -1650,7 +1650,7 @@ public open class CfnFunction( * settings. */ override fun imageConfig(imageConfig: IResolvable) { - cdkBuilder.imageConfig(imageConfig.let(IResolvable::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1664,7 +1664,7 @@ public open class CfnFunction( * settings. */ override fun imageConfig(imageConfig: ImageConfigProperty) { - cdkBuilder.imageConfig(imageConfig.let(ImageConfigProperty::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(ImageConfigProperty.Companion::unwrap)) } /** @@ -1741,7 +1741,7 @@ public open class CfnFunction( * @param loggingConfig The function's Amazon CloudWatch Logs configuration settings. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1751,7 +1751,7 @@ public open class CfnFunction( * @param loggingConfig The function's Amazon CloudWatch Logs configuration settings. */ override fun loggingConfig(loggingConfig: LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(LoggingConfigProperty.Companion::unwrap)) } /** @@ -1848,7 +1848,7 @@ public open class CfnFunction( * version. */ override fun runtimeManagementConfig(runtimeManagementConfig: IResolvable) { - cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(IResolvable::unwrap)) + cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1862,7 +1862,7 @@ public open class CfnFunction( * version. */ override fun runtimeManagementConfig(runtimeManagementConfig: RuntimeManagementConfigProperty) { - cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(RuntimeManagementConfigProperty::unwrap)) + cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(RuntimeManagementConfigProperty.Companion::unwrap)) } /** @@ -1890,7 +1890,7 @@ public open class CfnFunction( * SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. */ override fun snapStart(snapStart: IResolvable) { - cdkBuilder.snapStart(snapStart.let(IResolvable::unwrap)) + cdkBuilder.snapStart(snapStart.let(IResolvable.Companion::unwrap)) } /** @@ -1902,7 +1902,7 @@ public open class CfnFunction( * SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. */ override fun snapStart(snapStart: SnapStartProperty) { - cdkBuilder.snapStart(snapStart.let(SnapStartProperty::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartProperty.Companion::unwrap)) } /** @@ -1927,7 +1927,7 @@ public open class CfnFunction( * apply to the function. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1964,7 +1964,7 @@ public open class CfnFunction( * with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) . */ override fun tracingConfig(tracingConfig: IResolvable) { - cdkBuilder.tracingConfig(tracingConfig.let(IResolvable::unwrap)) + cdkBuilder.tracingConfig(tracingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1976,7 +1976,7 @@ public open class CfnFunction( * with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) . */ override fun tracingConfig(tracingConfig: TracingConfigProperty) { - cdkBuilder.tracingConfig(tracingConfig.let(TracingConfigProperty::unwrap)) + cdkBuilder.tracingConfig(tracingConfig.let(TracingConfigProperty.Companion::unwrap)) } /** @@ -2005,7 +2005,7 @@ public open class CfnFunction( * security groups and subnets in the VPC. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2021,7 +2021,7 @@ public open class CfnFunction( * security groups and subnets in the VPC. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -2479,7 +2479,7 @@ public open class CfnFunction( * variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html) . */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -3726,7 +3726,7 @@ public open class CfnFunction( * connected to dual-stack subnets. */ override fun ipv6AllowedForDualStack(ipv6AllowedForDualStack: IResolvable) { - cdkBuilder.ipv6AllowedForDualStack(ipv6AllowedForDualStack.let(IResolvable::unwrap)) + cdkBuilder.ipv6AllowedForDualStack(ipv6AllowedForDualStack.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunctionProps.kt index 2420e6ccc4..9695a3ce24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnFunctionProps.kt @@ -777,14 +777,14 @@ public interface CfnFunctionProps { * @param code The code for the function. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** * @param code The code for the function. */ override fun code(code: CfnFunction.CodeProperty) { - cdkBuilder.code(code.let(CfnFunction.CodeProperty::unwrap)) + cdkBuilder.code(code.let(CfnFunction.CodeProperty.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public interface CfnFunctionProps { * queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq) . */ override fun deadLetterConfig(deadLetterConfig: IResolvable) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public interface CfnFunctionProps { * queues](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq) . */ override fun deadLetterConfig(deadLetterConfig: CfnFunction.DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(CfnFunction.DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(CfnFunction.DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public interface CfnFunctionProps { * execution. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -857,7 +857,7 @@ public interface CfnFunctionProps { * execution. */ override fun environment(environment: CfnFunction.EnvironmentProperty) { - cdkBuilder.environment(environment.let(CfnFunction.EnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(CfnFunction.EnvironmentProperty.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public interface CfnFunctionProps { * The default value is 512, but it can be any whole number between 512 and 10,240 MB. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -882,7 +882,7 @@ public interface CfnFunctionProps { * The default value is 512, but it can be any whole number between 512 and 10,240 MB. */ override fun ephemeralStorage(ephemeralStorage: CfnFunction.EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(CfnFunction.EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(CfnFunction.EphemeralStorageProperty.Companion::unwrap)) } /** @@ -908,7 +908,7 @@ public interface CfnFunctionProps { * . */ override fun fileSystemConfigs(fileSystemConfigs: IResolvable) { - cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable::unwrap)) + cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public interface CfnFunctionProps { * settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) . */ override fun imageConfig(imageConfig: IResolvable) { - cdkBuilder.imageConfig(imageConfig.let(IResolvable::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -983,7 +983,7 @@ public interface CfnFunctionProps { * settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) . */ override fun imageConfig(imageConfig: CfnFunction.ImageConfigProperty) { - cdkBuilder.imageConfig(imageConfig.let(CfnFunction.ImageConfigProperty::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(CfnFunction.ImageConfigProperty.Companion::unwrap)) } /** @@ -1032,14 +1032,14 @@ public interface CfnFunctionProps { * @param loggingConfig The function's Amazon CloudWatch Logs configuration settings. */ override fun loggingConfig(loggingConfig: IResolvable) { - cdkBuilder.loggingConfig(loggingConfig.let(IResolvable::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(IResolvable.Companion::unwrap)) } /** * @param loggingConfig The function's Amazon CloudWatch Logs configuration settings. */ override fun loggingConfig(loggingConfig: CfnFunction.LoggingConfigProperty) { - cdkBuilder.loggingConfig(loggingConfig.let(CfnFunction.LoggingConfigProperty::unwrap)) + cdkBuilder.loggingConfig(loggingConfig.let(CfnFunction.LoggingConfigProperty.Companion::unwrap)) } /** @@ -1105,7 +1105,7 @@ public interface CfnFunctionProps { * updates](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html) . */ override fun runtimeManagementConfig(runtimeManagementConfig: IResolvable) { - cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(IResolvable::unwrap)) + cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1116,7 +1116,7 @@ public interface CfnFunctionProps { */ override fun runtimeManagementConfig(runtimeManagementConfig: CfnFunction.RuntimeManagementConfigProperty) { - cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(CfnFunction.RuntimeManagementConfigProperty::unwrap)) + cdkBuilder.runtimeManagementConfig(runtimeManagementConfig.let(CfnFunction.RuntimeManagementConfigProperty.Companion::unwrap)) } /** @@ -1137,7 +1137,7 @@ public interface CfnFunctionProps { * SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. */ override fun snapStart(snapStart: IResolvable) { - cdkBuilder.snapStart(snapStart.let(IResolvable::unwrap)) + cdkBuilder.snapStart(snapStart.let(IResolvable.Companion::unwrap)) } /** @@ -1145,7 +1145,7 @@ public interface CfnFunctionProps { * SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. */ override fun snapStart(snapStart: CfnFunction.SnapStartProperty) { - cdkBuilder.snapStart(snapStart.let(CfnFunction.SnapStartProperty::unwrap)) + cdkBuilder.snapStart(snapStart.let(CfnFunction.SnapStartProperty.Companion::unwrap)) } /** @@ -1162,7 +1162,7 @@ public interface CfnFunctionProps { * apply to the function. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1187,7 +1187,7 @@ public interface CfnFunctionProps { * with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) . */ override fun tracingConfig(tracingConfig: IResolvable) { - cdkBuilder.tracingConfig(tracingConfig.let(IResolvable::unwrap)) + cdkBuilder.tracingConfig(tracingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1195,7 +1195,7 @@ public interface CfnFunctionProps { * with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) . */ override fun tracingConfig(tracingConfig: CfnFunction.TracingConfigProperty) { - cdkBuilder.tracingConfig(tracingConfig.let(CfnFunction.TracingConfigProperty::unwrap)) + cdkBuilder.tracingConfig(tracingConfig.let(CfnFunction.TracingConfigProperty.Companion::unwrap)) } /** @@ -1215,7 +1215,7 @@ public interface CfnFunctionProps { * VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html) . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1226,7 +1226,7 @@ public interface CfnFunctionProps { * VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html) . */ override fun vpcConfig(vpcConfig: CfnFunction.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnFunction.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnFunction.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersion.kt index 533a7deaee..cffe32161f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersion.kt @@ -53,8 +53,8 @@ public open class CfnLayerVersion( id: String, props: CfnLayerVersionProps, ) : - this(software.amazon.awscdk.services.lambda.CfnLayerVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLayerVersionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnLayerVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLayerVersionProps.Companion::unwrap)) ) public constructor( @@ -128,14 +128,14 @@ public open class CfnLayerVersion( * The function layer archive. */ public open fun content(`value`: IResolvable) { - unwrap(this).setContent(`value`.let(IResolvable::unwrap)) + unwrap(this).setContent(`value`.let(IResolvable.Companion::unwrap)) } /** * The function layer archive. */ public open fun content(`value`: ContentProperty) { - unwrap(this).setContent(`value`.let(ContentProperty::unwrap)) + unwrap(this).setContent(`value`.let(ContentProperty.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnLayerVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnLayerVersion( * @param content The function layer archive. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnLayerVersion( * @param content The function layer archive. */ override fun content(content: ContentProperty) { - cdkBuilder.content(content.let(ContentProperty::unwrap)) + cdkBuilder.content(content.let(ContentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionPermission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionPermission.kt index ddf5b4b0db..0d522f908b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionPermission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionPermission.kt @@ -51,8 +51,8 @@ public open class CfnLayerVersionPermission( id: String, props: CfnLayerVersionPermissionProps, ) : - this(software.amazon.awscdk.services.lambda.CfnLayerVersionPermission(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLayerVersionPermissionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnLayerVersionPermission(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLayerVersionPermissionProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnLayerVersionPermission( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionProps.kt index 04f1ea6ff2..5d2504d376 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnLayerVersionProps.kt @@ -211,14 +211,14 @@ public interface CfnLayerVersionProps { * @param content The function layer archive. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The function layer archive. */ override fun content(content: CfnLayerVersion.ContentProperty) { - cdkBuilder.content(content.let(CfnLayerVersion.ContentProperty::unwrap)) + cdkBuilder.content(content.let(CfnLayerVersion.ContentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCode.kt index 7cfbc2e7fe..33bf5c6c77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCode.kt @@ -133,7 +133,7 @@ public open class CfnParametersCode( ) public constructor(props: CfnParametersCodeProps) : - this(software.amazon.awscdk.services.lambda.CfnParametersCode(props.let(CfnParametersCodeProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnParametersCode(props.let(CfnParametersCodeProps.Companion::unwrap)) ) public constructor(props: CfnParametersCodeProps.Builder.() -> Unit) : @@ -155,7 +155,7 @@ public open class CfnParametersCode( * @param location the location of the object in S3 that represents the Lambda code. */ public open fun assign(location: Location): Map = - unwrap(this).assign(location.let(Location::unwrap)) ?: emptyMap() + unwrap(this).assign(location.let(Location.Companion::unwrap)) ?: emptyMap() /** * Create a parameters map from this instance's CloudFormation parameters. @@ -183,7 +183,7 @@ public open class CfnParametersCode( * @param scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * @@ -248,7 +248,7 @@ public open class CfnParametersCode( * where the Lambda code will be located in. */ override fun bucketNameParam(bucketNameParam: CfnParameter) { - cdkBuilder.bucketNameParam(bucketNameParam.let(CfnParameter::unwrap)) + cdkBuilder.bucketNameParam(bucketNameParam.let(CfnParameter.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnParametersCode( * Bucket where the Lambda code will be located at. */ override fun objectKeyParam(objectKeyParam: CfnParameter) { - cdkBuilder.objectKeyParam(objectKeyParam.let(CfnParameter::unwrap)) + cdkBuilder.objectKeyParam(objectKeyParam.let(CfnParameter.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.CfnParametersCode = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCodeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCodeProps.kt index 91097114f0..afcf251b85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCodeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnParametersCodeProps.kt @@ -78,7 +78,7 @@ public interface CfnParametersCodeProps { * Must be of type 'String'. */ override fun bucketNameParam(bucketNameParam: CfnParameter) { - cdkBuilder.bucketNameParam(bucketNameParam.let(CfnParameter::unwrap)) + cdkBuilder.bucketNameParam(bucketNameParam.let(CfnParameter.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public interface CfnParametersCodeProps { * Must be of type 'String'. */ override fun objectKeyParam(objectKeyParam: CfnParameter) { - cdkBuilder.objectKeyParam(objectKeyParam.let(CfnParameter::unwrap)) + cdkBuilder.objectKeyParam(objectKeyParam.let(CfnParameter.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.CfnParametersCodeProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnPermission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnPermission.kt index 134dd23651..c0dd656e47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnPermission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnPermission.kt @@ -66,8 +66,8 @@ public open class CfnPermission( id: String, props: CfnPermissionProps, ) : - this(software.amazon.awscdk.services.lambda.CfnPermission(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPermissionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnPermission(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPermissionProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnPermission( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrl.kt index e6e7e7aa4e..0f8d60c92d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrl.kt @@ -59,8 +59,8 @@ public open class CfnUrl( id: String, props: CfnUrlProps, ) : - this(software.amazon.awscdk.services.lambda.CfnUrl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUrlProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnUrl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUrlProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnUrl( * settings for your function URL. */ public open fun cors(`value`: IResolvable) { - unwrap(this).setCors(`value`.let(IResolvable::unwrap)) + unwrap(this).setCors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class CfnUrl( * settings for your function URL. */ public open fun cors(`value`: CorsProperty) { - unwrap(this).setCors(`value`.let(CorsProperty::unwrap)) + unwrap(this).setCors(`value`.let(CorsProperty.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnUrl( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnUrl( * settings for your function URL. */ override fun cors(cors: IResolvable) { - cdkBuilder.cors(cors.let(IResolvable::unwrap)) + cdkBuilder.cors(cors.let(IResolvable.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class CfnUrl( * settings for your function URL. */ override fun cors(cors: CorsProperty) { - cdkBuilder.cors(cors.let(CorsProperty::unwrap)) + cdkBuilder.cors(cors.let(CorsProperty.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public open class CfnUrl( * The default is `false` . */ override fun allowCredentials(allowCredentials: IResolvable) { - cdkBuilder.allowCredentials(allowCredentials.let(IResolvable::unwrap)) + cdkBuilder.allowCredentials(allowCredentials.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrlProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrlProps.kt index 20ac4aef3d..b3af93012a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrlProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnUrlProps.kt @@ -188,7 +188,7 @@ public interface CfnUrlProps { * settings for your function URL. */ override fun cors(cors: IResolvable) { - cdkBuilder.cors(cors.let(IResolvable::unwrap)) + cdkBuilder.cors(cors.let(IResolvable.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface CfnUrlProps { * settings for your function URL. */ override fun cors(cors: CfnUrl.CorsProperty) { - cdkBuilder.cors(cors.let(CfnUrl.CorsProperty::unwrap)) + cdkBuilder.cors(cors.let(CfnUrl.CorsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersion.kt index 04c31c108b..2da41a12c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersion.kt @@ -55,8 +55,8 @@ public open class CfnVersion( id: String, props: CfnVersionProps, ) : - this(software.amazon.awscdk.services.lambda.CfnVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVersionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CfnVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVersionProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnVersion( * Specifies a provisioned concurrency configuration for a function's version. */ public open fun provisionedConcurrencyConfig(`value`: IResolvable) { - unwrap(this).setProvisionedConcurrencyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisionedConcurrencyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnVersion( */ public open fun provisionedConcurrencyConfig(`value`: ProvisionedConcurrencyConfigurationProperty) { - unwrap(this).setProvisionedConcurrencyConfig(`value`.let(ProvisionedConcurrencyConfigurationProperty::unwrap)) + unwrap(this).setProvisionedConcurrencyConfig(`value`.let(ProvisionedConcurrencyConfigurationProperty.Companion::unwrap)) } /** @@ -160,14 +160,14 @@ public open class CfnVersion( * Runtime Management Config of a function. */ public open fun runtimePolicy(`value`: IResolvable) { - unwrap(this).setRuntimePolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntimePolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * Runtime Management Config of a function. */ public open fun runtimePolicy(`value`: RuntimePolicyProperty) { - unwrap(this).setRuntimePolicy(`value`.let(RuntimePolicyProperty::unwrap)) + unwrap(this).setRuntimePolicy(`value`.let(RuntimePolicyProperty.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnVersion( * function's version. */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: IResolvable) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnVersion( */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: ProvisionedConcurrencyConfigurationProperty) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(ProvisionedConcurrencyConfigurationProperty::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(ProvisionedConcurrencyConfigurationProperty.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnVersion( * @param runtimePolicy Runtime Management Config of a function. */ override fun runtimePolicy(runtimePolicy: IResolvable) { - cdkBuilder.runtimePolicy(runtimePolicy.let(IResolvable::unwrap)) + cdkBuilder.runtimePolicy(runtimePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnVersion( * @param runtimePolicy Runtime Management Config of a function. */ override fun runtimePolicy(runtimePolicy: RuntimePolicyProperty) { - cdkBuilder.runtimePolicy(runtimePolicy.let(RuntimePolicyProperty::unwrap)) + cdkBuilder.runtimePolicy(runtimePolicy.let(RuntimePolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersionProps.kt index 83a7e93428..1ec73b86a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CfnVersionProps.kt @@ -207,7 +207,7 @@ public interface CfnVersionProps { * Updates are not supported for this property. */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: IResolvable) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnVersionProps { */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: CfnVersion.ProvisionedConcurrencyConfigurationProperty) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(CfnVersion.ProvisionedConcurrencyConfigurationProperty::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(CfnVersion.ProvisionedConcurrencyConfigurationProperty.Companion::unwrap)) } /** @@ -236,14 +236,14 @@ public interface CfnVersionProps { * @param runtimePolicy Runtime Management Config of a function. */ override fun runtimePolicy(runtimePolicy: IResolvable) { - cdkBuilder.runtimePolicy(runtimePolicy.let(IResolvable::unwrap)) + cdkBuilder.runtimePolicy(runtimePolicy.let(IResolvable.Companion::unwrap)) } /** * @param runtimePolicy Runtime Management Config of a function. */ override fun runtimePolicy(runtimePolicy: CfnVersion.RuntimePolicyProperty) { - cdkBuilder.runtimePolicy(runtimePolicy.let(CfnVersion.RuntimePolicyProperty::unwrap)) + cdkBuilder.runtimePolicy(runtimePolicy.let(CfnVersion.RuntimePolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Code.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Code.kt index 2629400597..3677fdafc2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Code.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Code.kt @@ -44,7 +44,7 @@ public abstract class Code( * @param scope The binding scope. */ public open fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * Called after the CFN function resource has been created to allow the code class to bind to it. @@ -56,7 +56,7 @@ public abstract class Code( * @param _options */ public open fun bindToResource(resource: CfnResource) { - unwrap(this).bindToResource(resource.let(CfnResource::unwrap)) + unwrap(this).bindToResource(resource.let(CfnResource.Companion::unwrap)) } /** @@ -69,8 +69,8 @@ public abstract class Code( * @param _options */ public open fun bindToResource(resource: CfnResource, options: ResourceBindOptions) { - unwrap(this).bindToResource(resource.let(CfnResource::unwrap), - options.let(ResourceBindOptions::unwrap)) + unwrap(this).bindToResource(resource.let(CfnResource.Companion::unwrap), + options.let(ResourceBindOptions.Companion::unwrap)) } /** @@ -98,7 +98,7 @@ public abstract class Code( public fun fromAsset(path: String, options: AssetOptions): AssetCode = software.amazon.awscdk.services.lambda.Code.fromAsset(path, - options.let(AssetOptions::unwrap)).let(AssetCode::wrap) + options.let(AssetOptions.Companion::unwrap)).let(AssetCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("482ed6c90255a0e03a6d17ca66757ec35db161e58b4e0672875b7a9a0c2f0349") @@ -110,7 +110,7 @@ public abstract class Code( public fun fromAssetImage(directory: String, props: AssetImageCodeProps): AssetImageCode = software.amazon.awscdk.services.lambda.Code.fromAssetImage(directory, - props.let(AssetImageCodeProps::unwrap)).let(AssetImageCode::wrap) + props.let(AssetImageCodeProps.Companion::unwrap)).let(AssetImageCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5d096922f964edb02ce125607a3ac9e055cfdef082088c11f7f28560c0ddce09") @@ -118,21 +118,22 @@ public abstract class Code( AssetImageCode = fromAssetImage(directory, AssetImageCodeProps(props)) public fun fromBucket(bucket: IBucket, key: String): S3Code = - software.amazon.awscdk.services.lambda.Code.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.lambda.Code.fromBucket(bucket.let(IBucket.Companion::unwrap), key).let(S3Code::wrap) public fun fromBucket( bucket: IBucket, key: String, objectVersion: String, - ): S3Code = software.amazon.awscdk.services.lambda.Code.fromBucket(bucket.let(IBucket::unwrap), + ): S3Code = + software.amazon.awscdk.services.lambda.Code.fromBucket(bucket.let(IBucket.Companion::unwrap), key, objectVersion).let(S3Code::wrap) public fun fromCfnParameters(): CfnParametersCode = software.amazon.awscdk.services.lambda.Code.fromCfnParameters().let(CfnParametersCode::wrap) public fun fromCfnParameters(props: CfnParametersCodeProps): CfnParametersCode = - software.amazon.awscdk.services.lambda.Code.fromCfnParameters(props.let(CfnParametersCodeProps::unwrap)).let(CfnParametersCode::wrap) + software.amazon.awscdk.services.lambda.Code.fromCfnParameters(props.let(CfnParametersCodeProps.Companion::unwrap)).let(CfnParametersCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f942d49f88ca2fe998eddb89bc7e5353b2a9928f94e7daa6c5c5852e24b69c2d") @@ -144,7 +145,7 @@ public abstract class Code( public fun fromDockerBuild(path: String, options: DockerBuildAssetOptions): AssetCode = software.amazon.awscdk.services.lambda.Code.fromDockerBuild(path, - options.let(DockerBuildAssetOptions::unwrap)).let(AssetCode::wrap) + options.let(DockerBuildAssetOptions.Companion::unwrap)).let(AssetCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("372495861b22df1668950d0a721b1f978c0a72ddc5b57b8449704ad4b68afca8") @@ -152,11 +153,11 @@ public abstract class Code( AssetCode = fromDockerBuild(path, DockerBuildAssetOptions(options)) public fun fromEcrImage(repository: IRepository): EcrImageCode = - software.amazon.awscdk.services.lambda.Code.fromEcrImage(repository.let(IRepository::unwrap)).let(EcrImageCode::wrap) + software.amazon.awscdk.services.lambda.Code.fromEcrImage(repository.let(IRepository.Companion::unwrap)).let(EcrImageCode::wrap) public fun fromEcrImage(repository: IRepository, props: EcrImageCodeProps): EcrImageCode = - software.amazon.awscdk.services.lambda.Code.fromEcrImage(repository.let(IRepository::unwrap), - props.let(EcrImageCodeProps::unwrap)).let(EcrImageCode::wrap) + software.amazon.awscdk.services.lambda.Code.fromEcrImage(repository.let(IRepository.Companion::unwrap), + props.let(EcrImageCodeProps.Companion::unwrap)).let(EcrImageCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("333f15e8a17ec3ab2ad348015fcd8bc245011de756cdabf596035ba7d1ce157c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeConfig.kt index b8acb154e3..001a83cd4b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeConfig.kt @@ -107,7 +107,7 @@ public interface CodeConfig { * `inlineCode`). */ override fun image(image: CodeImageConfig) { - cdkBuilder.image(image.let(CodeImageConfig::unwrap)) + cdkBuilder.image(image.let(CodeImageConfig.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public interface CodeConfig { * `image`). */ override fun s3Location(s3Location: Location) { - cdkBuilder.s3Location(s3Location.let(Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(Location.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfig.kt index 43d1b01841..928dba89ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfig.kt @@ -40,8 +40,8 @@ public open class CodeSigningConfig( id: String, props: CodeSigningConfigProps, ) : - this(software.amazon.awscdk.services.lambda.CodeSigningConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CodeSigningConfigProps::unwrap)) + this(software.amazon.awscdk.services.lambda.CodeSigningConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CodeSigningConfigProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CodeSigningConfig( * code package. */ override fun signingProfiles(signingProfiles: List) { - cdkBuilder.signingProfiles(signingProfiles.map(ISigningProfile::unwrap)) + cdkBuilder.signingProfiles(signingProfiles.map(ISigningProfile.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CodeSigningConfig( */ override fun untrustedArtifactOnDeployment(untrustedArtifactOnDeployment: UntrustedArtifactOnDeployment) { - cdkBuilder.untrustedArtifactOnDeployment(untrustedArtifactOnDeployment.let(UntrustedArtifactOnDeployment::unwrap)) + cdkBuilder.untrustedArtifactOnDeployment(untrustedArtifactOnDeployment.let(UntrustedArtifactOnDeployment.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.CodeSigningConfig = @@ -173,7 +173,7 @@ public open class CodeSigningConfig( id: String, codeSigningConfigArn: String, ): ICodeSigningConfig = - software.amazon.awscdk.services.lambda.CodeSigningConfig.fromCodeSigningConfigArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.lambda.CodeSigningConfig.fromCodeSigningConfigArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, codeSigningConfigArn).let(ICodeSigningConfig::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfigProps.kt index 8e916884dc..2561169196 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/CodeSigningConfigProps.kt @@ -107,7 +107,7 @@ public interface CodeSigningConfigProps { * code package. */ override fun signingProfiles(signingProfiles: List) { - cdkBuilder.signingProfiles(signingProfiles.map(ISigningProfile::unwrap)) + cdkBuilder.signingProfiles(signingProfiles.map(ISigningProfile.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface CodeSigningConfigProps { */ override fun untrustedArtifactOnDeployment(untrustedArtifactOnDeployment: UntrustedArtifactOnDeployment) { - cdkBuilder.untrustedArtifactOnDeployment(untrustedArtifactOnDeployment.let(UntrustedArtifactOnDeployment::unwrap)) + cdkBuilder.untrustedArtifactOnDeployment(untrustedArtifactOnDeployment.let(UntrustedArtifactOnDeployment.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.CodeSigningConfigProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DestinationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DestinationOptions.kt index dbc546db8d..81a5e36055 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DestinationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DestinationOptions.kt @@ -46,7 +46,7 @@ public interface DestinationOptions { * @param type The destination type. */ override fun type(type: DestinationType) { - cdkBuilder.type(type.let(DestinationType::unwrap)) + cdkBuilder.type(type.let(DestinationType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.DestinationOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerBuildAssetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerBuildAssetOptions.kt index 133ed179dc..ab590dfc2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerBuildAssetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerBuildAssetOptions.kt @@ -153,7 +153,7 @@ public interface DockerBuildAssetOptions : DockerBuildOptions { * @param cacheFrom Cache from options to pass to the `docker build` command. */ override fun cacheFrom(cacheFrom: List) { - cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption::unwrap)) + cdkBuilder.cacheFrom(cacheFrom.map(DockerCacheOption.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface DockerBuildAssetOptions : DockerBuildOptions { * @param cacheTo Cache to options to pass to the `docker build` command. */ override fun cacheTo(cacheTo: DockerCacheOption) { - cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption::unwrap)) + cdkBuilder.cacheTo(cacheTo.let(DockerCacheOption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageCode.kt index 795f92980d..0c194a97e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageCode.kt @@ -29,11 +29,11 @@ public abstract class DockerImageCode( public companion object { public fun fromEcr(repository: IRepository): DockerImageCode = - software.amazon.awscdk.services.lambda.DockerImageCode.fromEcr(repository.let(IRepository::unwrap)).let(DockerImageCode::wrap) + software.amazon.awscdk.services.lambda.DockerImageCode.fromEcr(repository.let(IRepository.Companion::unwrap)).let(DockerImageCode::wrap) public fun fromEcr(repository: IRepository, props: EcrImageCodeProps): DockerImageCode = - software.amazon.awscdk.services.lambda.DockerImageCode.fromEcr(repository.let(IRepository::unwrap), - props.let(EcrImageCodeProps::unwrap)).let(DockerImageCode::wrap) + software.amazon.awscdk.services.lambda.DockerImageCode.fromEcr(repository.let(IRepository.Companion::unwrap), + props.let(EcrImageCodeProps.Companion::unwrap)).let(DockerImageCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a068e59d0ef7e88c3a454c3b30641e7c445a629e3f5358d04033959b44107e55") @@ -45,7 +45,7 @@ public abstract class DockerImageCode( public fun fromImageAsset(directory: String, props: AssetImageCodeProps): DockerImageCode = software.amazon.awscdk.services.lambda.DockerImageCode.fromImageAsset(directory, - props.let(AssetImageCodeProps::unwrap)).let(DockerImageCode::wrap) + props.let(AssetImageCodeProps.Companion::unwrap)).let(DockerImageCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("67c92a6cf6fedc397b1923c153f0cd368aa267b7db106768981b7d93178e52bc") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunction.kt index 90d35edadb..defcf4a6c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunction.kt @@ -45,8 +45,8 @@ public open class DockerImageFunction( id: String, props: DockerImageFunctionProps, ) : - this(software.amazon.awscdk.services.lambda.DockerImageFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DockerImageFunctionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.DockerImageFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DockerImageFunctionProps.Companion::unwrap)) ) public constructor( @@ -746,7 +746,7 @@ public open class DockerImageFunction( * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class DockerImageFunction( * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public open class DockerImageFunction( * @param code The source code of your Lambda function. */ override fun code(code: DockerImageCode) { - cdkBuilder.code(code.let(DockerImageCode::unwrap)) + cdkBuilder.code(code.let(DockerImageCode.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public open class DockerImageFunction( * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -852,7 +852,7 @@ public open class DockerImageFunction( * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public open class DockerImageFunction( * @param deadLetterQueue The SQS queue to use if DLQ is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -908,7 +908,7 @@ public open class DockerImageFunction( * @param deadLetterTopic The SNS topic to use as a DLQ. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -947,7 +947,7 @@ public open class DockerImageFunction( * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** @@ -958,7 +958,7 @@ public open class DockerImageFunction( * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -971,7 +971,7 @@ public open class DockerImageFunction( * @param events Event sources for this function. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -993,7 +993,7 @@ public open class DockerImageFunction( * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1018,7 +1018,7 @@ public open class DockerImageFunction( * @param initialPolicy Initial policy statements to add to the created Lambda Role. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1043,7 +1043,7 @@ public open class DockerImageFunction( * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1073,7 +1073,7 @@ public open class DockerImageFunction( * @param layers A list of layers to add to the function's execution environment. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1120,7 +1120,7 @@ public open class DockerImageFunction( * @param logGroup The log group the function sends logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1150,7 +1150,7 @@ public open class DockerImageFunction( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1169,7 +1169,7 @@ public open class DockerImageFunction( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1207,7 +1207,7 @@ public open class DockerImageFunction( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1218,7 +1218,7 @@ public open class DockerImageFunction( * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1233,7 +1233,7 @@ public open class DockerImageFunction( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1259,7 +1259,7 @@ public open class DockerImageFunction( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -1270,7 +1270,7 @@ public open class DockerImageFunction( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -1282,7 +1282,7 @@ public open class DockerImageFunction( * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1306,7 +1306,7 @@ public open class DockerImageFunction( * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1356,7 +1356,7 @@ public open class DockerImageFunction( * @param role Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1368,7 +1368,7 @@ public open class DockerImageFunction( * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1384,7 +1384,7 @@ public open class DockerImageFunction( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1412,7 +1412,7 @@ public open class DockerImageFunction( * @param snapStart Enable SnapStart for Lambda Function. */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1438,7 +1438,7 @@ public open class DockerImageFunction( * function. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1449,7 +1449,7 @@ public open class DockerImageFunction( * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1463,7 +1463,7 @@ public open class DockerImageFunction( * @param vpc VPC network to place Lambda network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1480,7 +1480,7 @@ public open class DockerImageFunction( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunctionProps.kt index 1f7a4d3b6b..87f43bc688 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/DockerImageFunctionProps.kt @@ -467,7 +467,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -522,14 +522,14 @@ public interface DockerImageFunctionProps : FunctionOptions { * code as inline text. */ override fun code(code: DockerImageCode) { - cdkBuilder.code(code.let(DockerImageCode::unwrap)) + cdkBuilder.code(code.let(DockerImageCode.Companion::unwrap)) } /** * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -599,14 +599,14 @@ public interface DockerImageFunctionProps : FunctionOptions { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -737,7 +737,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -750,7 +750,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -776,14 +776,14 @@ public interface DockerImageFunctionProps : FunctionOptions { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -810,21 +810,21 @@ public interface DockerImageFunctionProps : FunctionOptions { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -888,7 +888,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -904,7 +904,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -921,14 +921,14 @@ public interface DockerImageFunctionProps : FunctionOptions { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -937,7 +937,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -949,7 +949,7 @@ public interface DockerImageFunctionProps : FunctionOptions { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EcrImageCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EcrImageCode.kt index 260877d816..c94bcbb25f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EcrImageCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EcrImageCode.kt @@ -36,13 +36,13 @@ public open class EcrImageCode( cdkObject: software.amazon.awscdk.services.lambda.EcrImageCode, ) : Code(cdkObject) { public constructor(repository: CloudshiftdevAwscdkServicesEcrIRepository) : - this(software.amazon.awscdk.services.lambda.EcrImageCode(repository.let(CloudshiftdevAwscdkServicesEcrIRepository::unwrap)) + this(software.amazon.awscdk.services.lambda.EcrImageCode(repository.let(CloudshiftdevAwscdkServicesEcrIRepository.Companion::unwrap)) ) public constructor(repository: CloudshiftdevAwscdkServicesEcrIRepository, props: EcrImageCodeProps) : - this(software.amazon.awscdk.services.lambda.EcrImageCode(repository.let(CloudshiftdevAwscdkServicesEcrIRepository::unwrap), - props.let(EcrImageCodeProps::unwrap)) + this(software.amazon.awscdk.services.lambda.EcrImageCode(repository.let(CloudshiftdevAwscdkServicesEcrIRepository.Companion::unwrap), + props.let(EcrImageCodeProps.Companion::unwrap)) ) public constructor(repository: CloudshiftdevAwscdkServicesEcrIRepository, @@ -56,7 +56,7 @@ public open class EcrImageCode( * @param _scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * Determines whether this Code is inline code or not. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfig.kt index 7727d402ba..68bfaa2632 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfig.kt @@ -48,8 +48,8 @@ public open class EventInvokeConfig( id: String, props: EventInvokeConfigProps, ) : - this(software.amazon.awscdk.services.lambda.EventInvokeConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EventInvokeConfigProps::unwrap)) + this(software.amazon.awscdk.services.lambda.EventInvokeConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EventInvokeConfigProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class EventInvokeConfig( * @param function The Lambda function. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class EventInvokeConfig( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class EventInvokeConfig( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class EventInvokeConfig( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigOptions.kt index 0183ce2e08..14c03d1b0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigOptions.kt @@ -105,21 +105,21 @@ public interface EventInvokeConfigOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigProps.kt index 279b04c416..fb4777ebb3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventInvokeConfigProps.kt @@ -95,7 +95,7 @@ public interface EventInvokeConfigProps : EventInvokeConfigOptions { * @param function The Lambda function. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } /** @@ -105,21 +105,21 @@ public interface EventInvokeConfigProps : EventInvokeConfigOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMapping.kt index 2edfcb9279..995166e563 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMapping.kt @@ -82,8 +82,8 @@ public open class EventSourceMapping( id: String, props: EventSourceMappingProps, ) : - this(software.amazon.awscdk.services.lambda.EventSourceMapping(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EventSourceMappingProps::unwrap)) + this(software.amazon.awscdk.services.lambda.EventSourceMapping(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EventSourceMappingProps.Companion::unwrap)) ) public constructor( @@ -562,7 +562,7 @@ public open class EventSourceMapping( * function. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -597,7 +597,7 @@ public open class EventSourceMapping( * processing. */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class EventSourceMapping( * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class EventSourceMapping( */ override fun sourceAccessConfigurations(sourceAccessConfigurations: List) { - cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.map(SourceAccessConfiguration::unwrap)) + cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.map(SourceAccessConfiguration.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class EventSourceMapping( * should start reading. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -732,7 +732,7 @@ public open class EventSourceMapping( * @param target The target AWS Lambda function. */ override fun target(target: IFunction) { - cdkBuilder.target(target.let(IFunction::unwrap)) + cdkBuilder.target(target.let(IFunction.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class EventSourceMapping( * Kinesis. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.EventSourceMapping = @@ -761,7 +761,7 @@ public open class EventSourceMapping( id: String, eventSourceMappingId: String, ): IEventSourceMapping = - software.amazon.awscdk.services.lambda.EventSourceMapping.fromEventSourceMappingId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.lambda.EventSourceMapping.fromEventSourceMappingId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, eventSourceMappingId).let(IEventSourceMapping::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingOptions.kt index 968929b323..69c76089e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingOptions.kt @@ -526,7 +526,7 @@ public interface EventSourceMappingOptions { * Maximum of Duration.minutes(5) */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -546,14 +546,14 @@ public interface EventSourceMappingOptions { * * Maximum value of 7 days */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public interface EventSourceMappingOptions { */ override fun sourceAccessConfigurations(sourceAccessConfigurations: List) { - cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.map(SourceAccessConfiguration::unwrap)) + cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.map(SourceAccessConfiguration.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public interface EventSourceMappingOptions { * should start reading. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface EventSourceMappingOptions { * Kinesis. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.EventSourceMappingOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingProps.kt index 03068d0799..6b6484850e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/EventSourceMappingProps.kt @@ -330,7 +330,7 @@ public interface EventSourceMappingProps : EventSourceMappingOptions { * Maximum of Duration.minutes(5) */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -350,14 +350,14 @@ public interface EventSourceMappingProps : EventSourceMappingOptions { * * Maximum value of 7 days */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface EventSourceMappingProps : EventSourceMappingOptions { */ override fun sourceAccessConfigurations(sourceAccessConfigurations: List) { - cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.map(SourceAccessConfiguration::unwrap)) + cdkBuilder.sourceAccessConfigurations(sourceAccessConfigurations.map(SourceAccessConfiguration.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public interface EventSourceMappingProps : EventSourceMappingOptions { * should start reading. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface EventSourceMappingProps : EventSourceMappingOptions { * @param target The target AWS Lambda function. */ override fun target(target: IFunction) { - cdkBuilder.target(target.let(IFunction::unwrap)) + cdkBuilder.target(target.let(IFunction.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface EventSourceMappingProps : EventSourceMappingOptions { * Kinesis. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.EventSourceMappingProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystem.kt index 754868759b..5b547e87ae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystem.kt @@ -55,7 +55,7 @@ public open class FileSystem( public companion object { public fun fromEfsAccessPoint(ap: IAccessPoint, mountPath: String): FileSystem = - software.amazon.awscdk.services.lambda.FileSystem.fromEfsAccessPoint(ap.let(IAccessPoint::unwrap), + software.amazon.awscdk.services.lambda.FileSystem.fromEfsAccessPoint(ap.let(IAccessPoint.Companion::unwrap), mountPath).let(FileSystem::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.lambda.FileSystem): FileSystem = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystemConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystemConfig.kt index 0beff5f637..4494f01b68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystemConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FileSystemConfig.kt @@ -135,7 +135,7 @@ public interface FileSystemConfig { * @param connections connections object used to allow ingress traffic from lambda function. */ override fun connections(connections: Connections) { - cdkBuilder.connections(connections.let(Connections::unwrap)) + cdkBuilder.connections(connections.let(Connections.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface FileSystemConfig { * @param dependency array of IDependable that lambda function depends on. */ override fun dependency(dependency: List) { - cdkBuilder.dependency(dependency.map(IDependable::unwrap)) + cdkBuilder.dependency(dependency.map(IDependable.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface FileSystemConfig { * @param policies additional IAM policies required for the lambda function. */ override fun policies(policies: List) { - cdkBuilder.policies(policies.map(PolicyStatement::unwrap)) + cdkBuilder.policies(policies.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Function.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Function.kt index f27c9db0c3..e608db0028 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Function.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Function.kt @@ -68,8 +68,8 @@ public open class Function( id: String, props: FunctionProps, ) : - this(software.amazon.awscdk.services.lambda.Function(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FunctionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.Function(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FunctionProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class Function( * @param options Alias options. */ public open fun addAlias(aliasName: String, options: AliasOptions): Alias = - unwrap(this).addAlias(aliasName, options.let(AliasOptions::unwrap)).let(Alias::wrap) + unwrap(this).addAlias(aliasName, options.let(AliasOptions.Companion::unwrap)).let(Alias::wrap) /** * Defines an alias for this function. @@ -176,7 +176,7 @@ public open class Function( `value`: String, options: EnvironmentOptions, ): Function = unwrap(this).addEnvironment(key, `value`, - options.let(EnvironmentOptions::unwrap)).let(Function::wrap) + options.let(EnvironmentOptions.Companion::unwrap)).let(Function::wrap) /** * Adds an environment variable to this Lambda function. @@ -1033,7 +1033,7 @@ public open class Function( * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -1102,7 +1102,7 @@ public open class Function( * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -1115,7 +1115,7 @@ public open class Function( * @param code The source code of your Lambda function. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -1126,7 +1126,7 @@ public open class Function( * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -1139,7 +1139,7 @@ public open class Function( * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -1166,7 +1166,7 @@ public open class Function( * @param deadLetterQueue The SQS queue to use if DLQ is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -1195,7 +1195,7 @@ public open class Function( * @param deadLetterTopic The SNS topic to use as a DLQ. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -1234,7 +1234,7 @@ public open class Function( * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** @@ -1245,7 +1245,7 @@ public open class Function( * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -1258,7 +1258,7 @@ public open class Function( * @param events Event sources for this function. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -1280,7 +1280,7 @@ public open class Function( * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1326,7 +1326,7 @@ public open class Function( * @param initialPolicy Initial policy statements to add to the created Lambda Role. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1351,7 +1351,7 @@ public open class Function( * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1381,7 +1381,7 @@ public open class Function( * @param layers A list of layers to add to the function's execution environment. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1428,7 +1428,7 @@ public open class Function( * @param logGroup The log group the function sends logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1458,7 +1458,7 @@ public open class Function( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1477,7 +1477,7 @@ public open class Function( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1515,7 +1515,7 @@ public open class Function( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1526,7 +1526,7 @@ public open class Function( * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1541,7 +1541,7 @@ public open class Function( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1567,7 +1567,7 @@ public open class Function( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -1578,7 +1578,7 @@ public open class Function( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -1590,7 +1590,7 @@ public open class Function( * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1614,7 +1614,7 @@ public open class Function( * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1664,7 +1664,7 @@ public open class Function( * @param role Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1678,7 +1678,7 @@ public open class Function( * @param runtime The runtime environment for the Lambda function that you are uploading. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1690,7 +1690,7 @@ public open class Function( * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1706,7 +1706,7 @@ public open class Function( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1734,7 +1734,7 @@ public open class Function( * @param snapStart Enable SnapStart for Lambda Function. */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1760,7 +1760,7 @@ public open class Function( * function. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1771,7 +1771,7 @@ public open class Function( * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1785,7 +1785,7 @@ public open class Function( * @param vpc VPC network to place Lambda network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1802,7 +1802,7 @@ public open class Function( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1836,7 +1836,7 @@ public open class Function( id: String, functionArn: String, ): IFunction = - software.amazon.awscdk.services.lambda.Function.fromFunctionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.lambda.Function.fromFunctionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, functionArn).let(IFunction::wrap) public fun fromFunctionAttributes( @@ -1844,8 +1844,8 @@ public open class Function( id: String, attrs: FunctionAttributes, ): IFunction = - software.amazon.awscdk.services.lambda.Function.fromFunctionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(FunctionAttributes::unwrap)).let(IFunction::wrap) + software.amazon.awscdk.services.lambda.Function.fromFunctionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(FunctionAttributes.Companion::unwrap)).let(IFunction::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("be73894ee09aa9caa0361125d5fc80897d26f578cd7cc02648549c1d0b1062bb") @@ -1860,7 +1860,7 @@ public open class Function( id: String, functionName: String, ): IFunction = - software.amazon.awscdk.services.lambda.Function.fromFunctionName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.lambda.Function.fromFunctionName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, functionName).let(IFunction::wrap) public fun metricAll(metricName: String): Metric = @@ -1868,7 +1868,7 @@ public open class Function( public fun metricAll(metricName: String, props: MetricOptions): Metric = software.amazon.awscdk.services.lambda.Function.metricAll(metricName, - props.let(MetricOptions::unwrap)).let(Metric::wrap) + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("dc2edb7e8860d33b2c02a5d62b7557e31ca2fd399a100f3532bebaf81fa8a856") @@ -1879,7 +1879,7 @@ public open class Function( software.amazon.awscdk.services.lambda.Function.metricAllConcurrentExecutions().let(Metric::wrap) public fun metricAllConcurrentExecutions(props: MetricOptions): Metric = - software.amazon.awscdk.services.lambda.Function.metricAllConcurrentExecutions(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.lambda.Function.metricAllConcurrentExecutions(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4c4f98f397f9a528f3388c2a99ef50c82f09977adaf6d2cc196e75e535b501e0") @@ -1890,7 +1890,7 @@ public open class Function( software.amazon.awscdk.services.lambda.Function.metricAllDuration().let(Metric::wrap) public fun metricAllDuration(props: MetricOptions): Metric = - software.amazon.awscdk.services.lambda.Function.metricAllDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.lambda.Function.metricAllDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("47fd8d126b0111e98cdf43dde6835e8bceb9ef2c0f487ac419b338f7d817d29f") @@ -1901,7 +1901,7 @@ public open class Function( software.amazon.awscdk.services.lambda.Function.metricAllErrors().let(Metric::wrap) public fun metricAllErrors(props: MetricOptions): Metric = - software.amazon.awscdk.services.lambda.Function.metricAllErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.lambda.Function.metricAllErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("02be5d5e0904f3b9e8a88bd3aba46ee0a0c7ae74c34a034662cd2afa9629a23f") @@ -1912,7 +1912,7 @@ public open class Function( software.amazon.awscdk.services.lambda.Function.metricAllInvocations().let(Metric::wrap) public fun metricAllInvocations(props: MetricOptions): Metric = - software.amazon.awscdk.services.lambda.Function.metricAllInvocations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.lambda.Function.metricAllInvocations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("655b160f930dfc7a9874974090aa0355284c47d29be0a6dcdf7107d153996012") @@ -1923,7 +1923,7 @@ public open class Function( software.amazon.awscdk.services.lambda.Function.metricAllThrottles().let(Metric::wrap) public fun metricAllThrottles(props: MetricOptions): Metric = - software.amazon.awscdk.services.lambda.Function.metricAllThrottles(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.lambda.Function.metricAllThrottles(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("53d24ce3db7105fd145260702132bfd8014bc9d60943ee0d52b1547b7eaf4376") @@ -1934,7 +1934,7 @@ public open class Function( software.amazon.awscdk.services.lambda.Function.metricAllUnreservedConcurrentExecutions().let(Metric::wrap) public fun metricAllUnreservedConcurrentExecutions(props: MetricOptions): Metric = - software.amazon.awscdk.services.lambda.Function.metricAllUnreservedConcurrentExecutions(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.lambda.Function.metricAllUnreservedConcurrentExecutions(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("07312553e32196b14ef74d9016b038298257d2df593e24775dc700b269a65e87") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionAttributes.kt index f59d6b43af..2278aea688 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionAttributes.kt @@ -167,7 +167,7 @@ public interface FunctionAttributes { * and defaults to X86_64). */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface FunctionAttributes { * If the role is not specified, any role-related operations will no-op. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface FunctionAttributes { * to this Lambda. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionBase.kt index 0f0fa6c603..439bcccf0d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionBase.kt @@ -44,7 +44,7 @@ public abstract class FunctionBase( * @param source */ public override fun addEventSource(source: IEventSource) { - unwrap(this).addEventSource(source.let(IEventSource::unwrap)) + unwrap(this).addEventSource(source.let(IEventSource.Companion::unwrap)) } /** @@ -55,7 +55,7 @@ public abstract class FunctionBase( */ public override fun addEventSourceMapping(id: String, options: EventSourceMappingOptions): EventSourceMapping = unwrap(this).addEventSourceMapping(id, - options.let(EventSourceMappingOptions::unwrap)).let(EventSourceMapping::wrap) + options.let(EventSourceMappingOptions.Companion::unwrap)).let(EventSourceMapping::wrap) /** * Adds an event source that maps to this AWS Lambda function. @@ -83,7 +83,7 @@ public abstract class FunctionBase( * @param options */ public override fun addFunctionUrl(options: FunctionUrlOptions): FunctionUrl = - unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions::unwrap)).let(FunctionUrl::wrap) + unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions.Companion::unwrap)).let(FunctionUrl::wrap) /** * Adds a url to this lambda function. @@ -103,7 +103,7 @@ public abstract class FunctionBase( * @param permission The permission to grant to this Lambda function. */ public override fun addPermission(id: String, permission: Permission) { - unwrap(this).addPermission(id, permission.let(Permission::unwrap)) + unwrap(this).addPermission(id, permission.let(Permission.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public abstract class FunctionBase( * @param statement */ public override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public abstract class FunctionBase( * @param options */ public override fun configureAsyncInvoke(options: EventInvokeConfigOptions) { - unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions::unwrap)) + unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions.Companion::unwrap)) } /** @@ -183,7 +183,8 @@ public abstract class FunctionBase( * @param action */ public open fun considerWarningOnInvokeFunctionPermissions(scope: Construct, action: String) { - unwrap(this).considerWarningOnInvokeFunctionPermissions(scope.let(Construct::unwrap), action) + unwrap(this).considerWarningOnInvokeFunctionPermissions(scope.let(Construct.Companion::unwrap), + action) } /** @@ -202,7 +203,7 @@ public abstract class FunctionBase( * @param grantee */ public override fun grantInvoke(grantee: IGrantable): Grant = - unwrap(this).grantInvoke(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant multiple principals the ability to invoke this Lambda via CompositePrincipal. @@ -211,7 +212,7 @@ public abstract class FunctionBase( */ public override fun grantInvokeCompositePrincipal(compositePrincipal: CompositePrincipal): List = - unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal::unwrap)).map(Grant::wrap) + unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal.Companion::unwrap)).map(Grant::wrap) /** * Grant the given identity permissions to invoke this Lambda Function URL. @@ -219,7 +220,7 @@ public abstract class FunctionBase( * @param grantee */ public override fun grantInvokeUrl(grantee: IGrantable): Grant = - unwrap(this).grantInvokeUrl(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The principal this Lambda Function is running as. @@ -263,7 +264,7 @@ public abstract class FunctionBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Function. @@ -293,7 +294,7 @@ public abstract class FunctionBase( * @param props */ public override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How long execution of this Lambda takes. @@ -324,7 +325,7 @@ public abstract class FunctionBase( * @param props */ public override fun metricErrors(props: MetricOptions): Metric = - unwrap(this).metricErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How many invocations of this Lambda fail. @@ -356,7 +357,7 @@ public abstract class FunctionBase( * @param props */ public override fun metricInvocations(props: MetricOptions): Metric = - unwrap(this).metricInvocations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricInvocations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How often this Lambda is invoked. @@ -387,7 +388,7 @@ public abstract class FunctionBase( * @param props */ public override fun metricThrottles(props: MetricOptions): Metric = - unwrap(this).metricThrottles(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottles(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How often this Lambda is throttled. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionOptions.kt index dd9d160ac2..530fb8b865 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionOptions.kt @@ -978,7 +978,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -1023,14 +1023,14 @@ public interface FunctionOptions : EventInvokeConfigOptions { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -1038,7 +1038,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -1055,7 +1055,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -1074,7 +1074,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -1100,14 +1100,14 @@ public interface FunctionOptions : EventInvokeConfigOptions { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -1115,7 +1115,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -1128,7 +1128,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1143,7 +1143,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1158,7 +1158,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1211,7 +1211,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1251,7 +1251,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1277,14 +1277,14 @@ public interface FunctionOptions : EventInvokeConfigOptions { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1294,7 +1294,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1311,21 +1311,21 @@ public interface FunctionOptions : EventInvokeConfigOptions { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1339,7 +1339,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1372,7 +1372,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1380,7 +1380,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1389,7 +1389,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1405,7 +1405,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1422,14 +1422,14 @@ public interface FunctionOptions : EventInvokeConfigOptions { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1438,7 +1438,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1450,7 +1450,7 @@ public interface FunctionOptions : EventInvokeConfigOptions { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionProps.kt index 8d3a097b7f..bfc2d91f7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionProps.kt @@ -530,7 +530,7 @@ public interface FunctionProps : FunctionOptions { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public interface FunctionProps : FunctionOptions { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -585,14 +585,14 @@ public interface FunctionProps : FunctionOptions { * code as inline text. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public interface FunctionProps : FunctionOptions { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public interface FunctionProps : FunctionOptions { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public interface FunctionProps : FunctionOptions { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -662,14 +662,14 @@ public interface FunctionProps : FunctionOptions { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public interface FunctionProps : FunctionOptions { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface FunctionProps : FunctionOptions { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -723,7 +723,7 @@ public interface FunctionProps : FunctionOptions { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public interface FunctionProps : FunctionOptions { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -758,7 +758,7 @@ public interface FunctionProps : FunctionOptions { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public interface FunctionProps : FunctionOptions { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -818,7 +818,7 @@ public interface FunctionProps : FunctionOptions { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -831,7 +831,7 @@ public interface FunctionProps : FunctionOptions { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -857,14 +857,14 @@ public interface FunctionProps : FunctionOptions { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public interface FunctionProps : FunctionOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -891,21 +891,21 @@ public interface FunctionProps : FunctionOptions { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -919,7 +919,7 @@ public interface FunctionProps : FunctionOptions { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -952,7 +952,7 @@ public interface FunctionProps : FunctionOptions { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -963,7 +963,7 @@ public interface FunctionProps : FunctionOptions { * Use `Runtime.FROM_IMAGE` when defining a function from a Docker image. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -971,7 +971,7 @@ public interface FunctionProps : FunctionOptions { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -980,7 +980,7 @@ public interface FunctionProps : FunctionOptions { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -996,7 +996,7 @@ public interface FunctionProps : FunctionOptions { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1013,14 +1013,14 @@ public interface FunctionProps : FunctionOptions { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1029,7 +1029,7 @@ public interface FunctionProps : FunctionOptions { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1041,7 +1041,7 @@ public interface FunctionProps : FunctionOptions { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrl.kt index 437bed2709..2578757a68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrl.kt @@ -36,8 +36,8 @@ public open class FunctionUrl( id: String, props: FunctionUrlProps, ) : - this(software.amazon.awscdk.services.lambda.FunctionUrl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FunctionUrlProps::unwrap)) + this(software.amazon.awscdk.services.lambda.FunctionUrl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FunctionUrlProps.Companion::unwrap)) ) public constructor( @@ -58,7 +58,7 @@ public open class FunctionUrl( * @param grantee */ public override fun grantInvokeUrl(grantee: IGrantable): Grant = - unwrap(this).grantInvokeUrl(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The url of the Lambda function. @@ -133,7 +133,7 @@ public open class FunctionUrl( * @param authType The type of authentication that your function URL uses. */ override fun authType(authType: FunctionUrlAuthType) { - cdkBuilder.authType(authType.let(FunctionUrlAuthType::unwrap)) + cdkBuilder.authType(authType.let(FunctionUrlAuthType.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class FunctionUrl( * @param cors The cross-origin resource sharing (CORS) settings for your function URL. */ override fun cors(cors: FunctionUrlCorsOptions) { - cdkBuilder.cors(cors.let(FunctionUrlCorsOptions::unwrap)) + cdkBuilder.cors(cors.let(FunctionUrlCorsOptions.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class FunctionUrl( * @param function The function to which this url refers. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class FunctionUrl( * @param invokeMode The type of invocation mode that your Lambda function uses. */ override fun invokeMode(invokeMode: InvokeMode) { - cdkBuilder.invokeMode(invokeMode.let(InvokeMode::unwrap)) + cdkBuilder.invokeMode(invokeMode.let(InvokeMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.FunctionUrl = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlCorsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlCorsOptions.kt index 2d200051e8..90c315915f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlCorsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlCorsOptions.kt @@ -169,7 +169,7 @@ public interface FunctionUrlCorsOptions { * @param allowedMethods An HTTP method that you allow the origin to execute. */ override fun allowedMethods(allowedMethods: List) { - cdkBuilder.allowedMethods(allowedMethods.map(HttpMethod::unwrap)) + cdkBuilder.allowedMethods(allowedMethods.map(HttpMethod.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface FunctionUrlCorsOptions { * the specified resource. */ override fun maxAge(maxAge: Duration) { - cdkBuilder.maxAge(maxAge.let(Duration::unwrap)) + cdkBuilder.maxAge(maxAge.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.FunctionUrlCorsOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlOptions.kt index 87837452b6..53faa88c2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlOptions.kt @@ -84,14 +84,14 @@ public interface FunctionUrlOptions { * @param authType The type of authentication that your function URL uses. */ override fun authType(authType: FunctionUrlAuthType) { - cdkBuilder.authType(authType.let(FunctionUrlAuthType::unwrap)) + cdkBuilder.authType(authType.let(FunctionUrlAuthType.Companion::unwrap)) } /** * @param cors The cross-origin resource sharing (CORS) settings for your function URL. */ override fun cors(cors: FunctionUrlCorsOptions) { - cdkBuilder.cors(cors.let(FunctionUrlCorsOptions::unwrap)) + cdkBuilder.cors(cors.let(FunctionUrlCorsOptions.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public interface FunctionUrlOptions { * @param invokeMode The type of invocation mode that your Lambda function uses. */ override fun invokeMode(invokeMode: InvokeMode) { - cdkBuilder.invokeMode(invokeMode.let(InvokeMode::unwrap)) + cdkBuilder.invokeMode(invokeMode.let(InvokeMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.FunctionUrlOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlProps.kt index cc224eaccc..8bbb692a76 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionUrlProps.kt @@ -85,14 +85,14 @@ public interface FunctionUrlProps : FunctionUrlOptions { * @param authType The type of authentication that your function URL uses. */ override fun authType(authType: FunctionUrlAuthType) { - cdkBuilder.authType(authType.let(FunctionUrlAuthType::unwrap)) + cdkBuilder.authType(authType.let(FunctionUrlAuthType.Companion::unwrap)) } /** * @param cors The cross-origin resource sharing (CORS) settings for your function URL. */ override fun cors(cors: FunctionUrlCorsOptions) { - cdkBuilder.cors(cors.let(FunctionUrlCorsOptions::unwrap)) + cdkBuilder.cors(cors.let(FunctionUrlCorsOptions.Companion::unwrap)) } /** @@ -108,14 +108,14 @@ public interface FunctionUrlProps : FunctionUrlOptions { * It can also be an `Alias` but not a `Version`. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } /** * @param invokeMode The type of invocation mode that your Lambda function uses. */ override fun invokeMode(invokeMode: InvokeMode) { - cdkBuilder.invokeMode(invokeMode.let(InvokeMode::unwrap)) + cdkBuilder.invokeMode(invokeMode.let(InvokeMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.FunctionUrlProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionVersionUpgrade.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionVersionUpgrade.kt index 9a9d8f2b31..02f658c5c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionVersionUpgrade.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/FunctionVersionUpgrade.kt @@ -40,7 +40,7 @@ public open class FunctionVersionUpgrade( * @param node */ public override fun visit(node: IConstruct) { - unwrap(this).visit(node.let(IConstruct::unwrap)) + unwrap(this).visit(node.let(IConstruct.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IAlias.kt index 182bc03a57..b8d648872f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IAlias.kt @@ -55,7 +55,7 @@ public interface IAlias : IFunction { * @param source */ override fun addEventSource(source: IEventSource) { - unwrap(this).addEventSource(source.let(IEventSource::unwrap)) + unwrap(this).addEventSource(source.let(IEventSource.Companion::unwrap)) } /** @@ -66,7 +66,7 @@ public interface IAlias : IFunction { */ override fun addEventSourceMapping(id: String, options: EventSourceMappingOptions): EventSourceMapping = unwrap(this).addEventSourceMapping(id, - options.let(EventSourceMappingOptions::unwrap)).let(EventSourceMapping::wrap) + options.let(EventSourceMappingOptions.Companion::unwrap)).let(EventSourceMapping::wrap) /** * Adds an event source that maps to this AWS Lambda function. @@ -94,7 +94,7 @@ public interface IAlias : IFunction { * @param options */ override fun addFunctionUrl(options: FunctionUrlOptions): FunctionUrl = - unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions::unwrap)).let(FunctionUrl::wrap) + unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions.Companion::unwrap)).let(FunctionUrl::wrap) /** * Adds a url to this lambda function. @@ -114,7 +114,7 @@ public interface IAlias : IFunction { * @param permission The permission to grant to this Lambda function. */ override fun addPermission(id: String, permission: Permission) { - unwrap(this).addPermission(id, permission.let(Permission::unwrap)) + unwrap(this).addPermission(id, permission.let(Permission.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public interface IAlias : IFunction { * @param statement */ override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface IAlias : IFunction { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public interface IAlias : IFunction { * @param options */ override fun configureAsyncInvoke(options: EventInvokeConfigOptions) { - unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions::unwrap)) + unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface IAlias : IFunction { * @param identity */ override fun grantInvoke(identity: IGrantable): Grant = - unwrap(this).grantInvoke(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant multiple principals the ability to invoke this Lambda via CompositePrincipal. @@ -237,7 +237,7 @@ public interface IAlias : IFunction { */ override fun grantInvokeCompositePrincipal(compositePrincipal: CompositePrincipal): List = - unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal::unwrap)).map(Grant::wrap) + unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal.Companion::unwrap)).map(Grant::wrap) /** * Grant the given identity permissions to invoke this Lambda Function URL. @@ -245,7 +245,7 @@ public interface IAlias : IFunction { * @param identity */ override fun grantInvokeUrl(identity: IGrantable): Grant = - unwrap(this).grantInvokeUrl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. @@ -290,7 +290,8 @@ public interface IAlias : IFunction { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Lambda Return the given named metric for this @@ -325,7 +326,7 @@ public interface IAlias : IFunction { * @param props */ override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the Duration of this Lambda How long execution of this Lambda takes. @@ -358,7 +359,7 @@ public interface IAlias : IFunction { * @param props */ override fun metricErrors(props: MetricOptions): Metric = - unwrap(this).metricErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How many invocations of this Lambda fail. @@ -393,7 +394,7 @@ public interface IAlias : IFunction { * @param props */ override fun metricInvocations(props: MetricOptions): Metric = - unwrap(this).metricInvocations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricInvocations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of invocations of this Lambda How often this Lambda is invoked. @@ -432,7 +433,7 @@ public interface IAlias : IFunction { * @param props */ override fun metricThrottles(props: MetricOptions): Metric = - unwrap(this).metricThrottles(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottles(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of throttled invocations of this Lambda How often this Lambda is diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ICodeSigningConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ICodeSigningConfig.kt index afd57d54a2..fb5b7609e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ICodeSigningConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ICodeSigningConfig.kt @@ -42,7 +42,7 @@ public interface ICodeSigningConfig : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IDestination.kt index 4e60b3e1c5..93685f4b69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IDestination.kt @@ -60,8 +60,8 @@ public interface IDestination { * @param options */ override fun bind(scope: Construct, fn: IFunction): DestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(IFunction::unwrap)).let(DestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap)).let(DestinationConfig::wrap) /** * Binds this destination to the Lambda function. @@ -74,9 +74,9 @@ public interface IDestination { scope: Construct, fn: IFunction, options: DestinationOptions, - ): DestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(IFunction::unwrap), - options.let(DestinationOptions::unwrap)).let(DestinationConfig::wrap) + ): DestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap), + options.let(DestinationOptions.Companion::unwrap)).let(DestinationConfig::wrap) /** * Binds this destination to the Lambda function. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSource.kt index 9c9b0c5997..e7660d7caf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSource.kt @@ -25,7 +25,7 @@ public interface IEventSource { * @param target That lambda function to bind to. */ override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceDlq.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceDlq.kt index 63e9aa4d06..32282c20b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceDlq.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceDlq.kt @@ -27,8 +27,8 @@ public interface IEventSourceDlq { * @param targetHandler */ override fun bind(target: IEventSourceMapping, targetHandler: IFunction): DlqDestinationConfig = - unwrap(this).bind(target.let(IEventSourceMapping::unwrap), - targetHandler.let(IFunction::unwrap)).let(DlqDestinationConfig::wrap) + unwrap(this).bind(target.let(IEventSourceMapping.Companion::unwrap), + targetHandler.let(IFunction.Companion::unwrap)).let(DlqDestinationConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceMapping.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceMapping.kt index 210def3f70..d695b53b56 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceMapping.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IEventSourceMapping.kt @@ -45,7 +45,7 @@ public interface IEventSourceMapping : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunction.kt index 9b5fd89db5..9a8e744b22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunction.kt @@ -394,7 +394,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param source */ override fun addEventSource(source: IEventSource) { - unwrap(this).addEventSource(source.let(IEventSource::unwrap)) + unwrap(this).addEventSource(source.let(IEventSource.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { */ override fun addEventSourceMapping(id: String, options: EventSourceMappingOptions): EventSourceMapping = unwrap(this).addEventSourceMapping(id, - options.let(EventSourceMappingOptions::unwrap)).let(EventSourceMapping::wrap) + options.let(EventSourceMappingOptions.Companion::unwrap)).let(EventSourceMapping::wrap) /** * Adds an event source that maps to this AWS Lambda function. @@ -433,7 +433,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param options */ override fun addFunctionUrl(options: FunctionUrlOptions): FunctionUrl = - unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions::unwrap)).let(FunctionUrl::wrap) + unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions.Companion::unwrap)).let(FunctionUrl::wrap) /** * Adds a url to this lambda function. @@ -453,7 +453,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param permission The permission to grant to this Lambda function. */ override fun addPermission(id: String, permission: Permission) { - unwrap(this).addPermission(id, permission.let(Permission::unwrap)) + unwrap(this).addPermission(id, permission.let(Permission.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param statement */ override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param options */ override fun configureAsyncInvoke(options: EventInvokeConfigOptions) { - unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions::unwrap)) + unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param identity */ override fun grantInvoke(identity: IGrantable): Grant = - unwrap(this).grantInvoke(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant multiple principals the ability to invoke this Lambda via CompositePrincipal. @@ -571,7 +571,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { */ override fun grantInvokeCompositePrincipal(compositePrincipal: CompositePrincipal): List = - unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal::unwrap)).map(Grant::wrap) + unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal.Companion::unwrap)).map(Grant::wrap) /** * Grant the given identity permissions to invoke this Lambda Function URL. @@ -579,7 +579,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param identity */ override fun grantInvokeUrl(identity: IGrantable): Grant = - unwrap(this).grantInvokeUrl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. @@ -624,7 +624,8 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Lambda Return the given named metric for this @@ -659,7 +660,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param props */ override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the Duration of this Lambda How long execution of this Lambda takes. @@ -692,7 +693,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param props */ override fun metricErrors(props: MetricOptions): Metric = - unwrap(this).metricErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How many invocations of this Lambda fail. @@ -727,7 +728,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param props */ override fun metricInvocations(props: MetricOptions): Metric = - unwrap(this).metricInvocations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricInvocations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of invocations of this Lambda How often this Lambda is invoked. @@ -766,7 +767,7 @@ public interface IFunction : IResource, IConnectable, IGrantable { * @param props */ override fun metricThrottles(props: MetricOptions): Metric = - unwrap(this).metricThrottles(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottles(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of throttled invocations of this Lambda How often this Lambda is diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunctionUrl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunctionUrl.kt index 341a052b75..ef43cf8f89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunctionUrl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IFunctionUrl.kt @@ -51,7 +51,7 @@ public interface IFunctionUrl : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface IFunctionUrl : IResource { * @param identity */ override fun grantInvokeUrl(identity: IGrantable): Grant = - unwrap(this).grantInvokeUrl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ILayerVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ILayerVersion.kt index c6e2463e7d..f0230bb55f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ILayerVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ILayerVersion.kt @@ -80,7 +80,7 @@ public interface ILayerVersion : IResource { * @param permission the identification of the grantee. */ override fun addPermission(id: String, permission: LayerVersionPermission) { - unwrap(this).addPermission(id, permission.let(LayerVersionPermission::unwrap)) + unwrap(this).addPermission(id, permission.let(LayerVersionPermission.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface ILayerVersion : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IScalableFunctionAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IScalableFunctionAttribute.kt index 6022c6ffca..adaded490d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IScalableFunctionAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IScalableFunctionAttribute.kt @@ -69,7 +69,7 @@ public interface IScalableFunctionAttribute : IConstruct { * @param actions */ override fun scaleOnSchedule(id: String, actions: ScalingSchedule) { - unwrap(this).scaleOnSchedule(id, actions.let(ScalingSchedule::unwrap)) + unwrap(this).scaleOnSchedule(id, actions.let(ScalingSchedule.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public interface IScalableFunctionAttribute : IConstruct { * @param options */ override fun scaleOnUtilization(options: UtilizationScalingOptions) { - unwrap(this).scaleOnUtilization(options.let(UtilizationScalingOptions::unwrap)) + unwrap(this).scaleOnUtilization(options.let(UtilizationScalingOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IVersion.kt index eae396a57e..f649c82b30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/IVersion.kt @@ -103,7 +103,8 @@ public interface IVersion : IFunction { */ @Deprecated(message = "deprecated in CDK") override fun addAlias(aliasName: String, options: AliasOptions): Alias = - unwrap(this).addAlias(aliasName, options.let(AliasOptions::unwrap)).let(Alias::wrap) + unwrap(this).addAlias(aliasName, + options.let(AliasOptions.Companion::unwrap)).let(Alias::wrap) /** * (deprecated) Defines an alias for this version. @@ -134,7 +135,7 @@ public interface IVersion : IFunction { * @param source */ override fun addEventSource(source: IEventSource) { - unwrap(this).addEventSource(source.let(IEventSource::unwrap)) + unwrap(this).addEventSource(source.let(IEventSource.Companion::unwrap)) } /** @@ -145,7 +146,7 @@ public interface IVersion : IFunction { */ override fun addEventSourceMapping(id: String, options: EventSourceMappingOptions): EventSourceMapping = unwrap(this).addEventSourceMapping(id, - options.let(EventSourceMappingOptions::unwrap)).let(EventSourceMapping::wrap) + options.let(EventSourceMappingOptions.Companion::unwrap)).let(EventSourceMapping::wrap) /** * Adds an event source that maps to this AWS Lambda function. @@ -173,7 +174,7 @@ public interface IVersion : IFunction { * @param options */ override fun addFunctionUrl(options: FunctionUrlOptions): FunctionUrl = - unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions::unwrap)).let(FunctionUrl::wrap) + unwrap(this).addFunctionUrl(options.let(FunctionUrlOptions.Companion::unwrap)).let(FunctionUrl::wrap) /** * Adds a url to this lambda function. @@ -193,7 +194,7 @@ public interface IVersion : IFunction { * @param permission The permission to grant to this Lambda function. */ override fun addPermission(id: String, permission: Permission) { - unwrap(this).addPermission(id, permission.let(Permission::unwrap)) + unwrap(this).addPermission(id, permission.let(Permission.Companion::unwrap)) } /** @@ -214,7 +215,7 @@ public interface IVersion : IFunction { * @param statement */ override fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -241,7 +242,7 @@ public interface IVersion : IFunction { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -256,7 +257,7 @@ public interface IVersion : IFunction { * @param options */ override fun configureAsyncInvoke(options: EventInvokeConfigOptions) { - unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions::unwrap)) + unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions.Companion::unwrap)) } /** @@ -307,7 +308,7 @@ public interface IVersion : IFunction { * @param identity */ override fun grantInvoke(identity: IGrantable): Grant = - unwrap(this).grantInvoke(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant multiple principals the ability to invoke this Lambda via CompositePrincipal. @@ -316,7 +317,7 @@ public interface IVersion : IFunction { */ override fun grantInvokeCompositePrincipal(compositePrincipal: CompositePrincipal): List = - unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal::unwrap)).map(Grant::wrap) + unwrap(this).grantInvokeCompositePrincipal(compositePrincipal.let(CompositePrincipal.Companion::unwrap)).map(Grant::wrap) /** * Grant the given identity permissions to invoke this Lambda Function URL. @@ -324,7 +325,7 @@ public interface IVersion : IFunction { * @param identity */ override fun grantInvokeUrl(identity: IGrantable): Grant = - unwrap(this).grantInvokeUrl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvokeUrl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The principal to grant permissions to. @@ -374,7 +375,8 @@ public interface IVersion : IFunction { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Lambda Return the given named metric for this @@ -409,7 +411,7 @@ public interface IVersion : IFunction { * @param props */ override fun metricDuration(props: MetricOptions): Metric = - unwrap(this).metricDuration(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the Duration of this Lambda How long execution of this Lambda takes. @@ -442,7 +444,7 @@ public interface IVersion : IFunction { * @param props */ override fun metricErrors(props: MetricOptions): Metric = - unwrap(this).metricErrors(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricErrors(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * How many invocations of this Lambda fail. @@ -477,7 +479,7 @@ public interface IVersion : IFunction { * @param props */ override fun metricInvocations(props: MetricOptions): Metric = - unwrap(this).metricInvocations(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricInvocations(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of invocations of this Lambda How often this Lambda is invoked. @@ -516,7 +518,7 @@ public interface IVersion : IFunction { * @param props */ override fun metricThrottles(props: MetricOptions): Metric = - unwrap(this).metricThrottles(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottles(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of throttled invocations of this Lambda How often this Lambda is diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/InlineCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/InlineCode.kt index 4039ee9354..82c5e37e39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/InlineCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/InlineCode.kt @@ -46,7 +46,7 @@ public open class InlineCode( * @param _scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * Determines whether this Code is inline code or not. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersion.kt index ba6dc87c75..5f1ac4f812 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersion.kt @@ -33,8 +33,8 @@ public open class LayerVersion( id: String, props: LayerVersionProps, ) : - this(software.amazon.awscdk.services.lambda.LayerVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LayerVersionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.LayerVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LayerVersionProps.Companion::unwrap)) ) public constructor( @@ -58,7 +58,7 @@ public open class LayerVersion( * @param permission */ public override fun addPermission(id: String, permission: LayerVersionPermission) { - unwrap(this).addPermission(id, permission.let(LayerVersionPermission::unwrap)) + unwrap(this).addPermission(id, permission.let(LayerVersionPermission.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class LayerVersion( * @param code The content of this Layer. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class LayerVersion( * @param compatibleArchitectures The system architectures compatible with this layer. */ override fun compatibleArchitectures(compatibleArchitectures: List) { - cdkBuilder.compatibleArchitectures(compatibleArchitectures.map(Architecture::unwrap)) + cdkBuilder.compatibleArchitectures(compatibleArchitectures.map(Architecture.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class LayerVersion( * @param compatibleRuntimes The runtimes compatible with this Layer. */ override fun compatibleRuntimes(compatibleRuntimes: List) { - cdkBuilder.compatibleRuntimes(compatibleRuntimes.map(Runtime::unwrap)) + cdkBuilder.compatibleRuntimes(compatibleRuntimes.map(Runtime.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class LayerVersion( * or when the stack is deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.LayerVersion = cdkBuilder.build() @@ -295,7 +295,7 @@ public open class LayerVersion( id: String, layerVersionArn: String, ): ILayerVersion = - software.amazon.awscdk.services.lambda.LayerVersion.fromLayerVersionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.lambda.LayerVersion.fromLayerVersionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, layerVersionArn).let(ILayerVersion::wrap) public fun fromLayerVersionAttributes( @@ -303,8 +303,8 @@ public open class LayerVersion( id: String, attrs: LayerVersionAttributes, ): ILayerVersion = - software.amazon.awscdk.services.lambda.LayerVersion.fromLayerVersionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(LayerVersionAttributes::unwrap)).let(ILayerVersion::wrap) + software.amazon.awscdk.services.lambda.LayerVersion.fromLayerVersionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(LayerVersionAttributes.Companion::unwrap)).let(ILayerVersion::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c33b763f8a234acfda5b5e97176cbc77edba51fa8a321893bd878800bc16f274") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionAttributes.kt index 0e79f56bfc..817e31732f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionAttributes.kt @@ -67,7 +67,7 @@ public interface LayerVersionAttributes { * @param compatibleRuntimes The list of compatible runtimes with this Layer. */ override fun compatibleRuntimes(compatibleRuntimes: List) { - cdkBuilder.compatibleRuntimes(compatibleRuntimes.map(Runtime::unwrap)) + cdkBuilder.compatibleRuntimes(compatibleRuntimes.map(Runtime.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionOptions.kt index 5ff8873dcc..d12d9b605f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionOptions.kt @@ -115,7 +115,7 @@ public interface LayerVersionOptions { * or when the stack is deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.LayerVersionOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionProps.kt index ad87098aad..832d18d1c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LayerVersionProps.kt @@ -107,14 +107,14 @@ public interface LayerVersionProps : LayerVersionOptions { * Using `Code.fromInline` is not supported. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param compatibleArchitectures The system architectures compatible with this layer. */ override fun compatibleArchitectures(compatibleArchitectures: List) { - cdkBuilder.compatibleArchitectures(compatibleArchitectures.map(Architecture::unwrap)) + cdkBuilder.compatibleArchitectures(compatibleArchitectures.map(Architecture.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface LayerVersionProps : LayerVersionOptions { * @param compatibleRuntimes The runtimes compatible with this Layer. */ override fun compatibleRuntimes(compatibleRuntimes: List) { - cdkBuilder.compatibleRuntimes(compatibleRuntimes.map(Runtime::unwrap)) + cdkBuilder.compatibleRuntimes(compatibleRuntimes.map(Runtime.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface LayerVersionProps : LayerVersionOptions { * or when the stack is deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.LayerVersionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LogRetentionRetryOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LogRetentionRetryOptions.kt index de07e8b841..a9e29c712b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LogRetentionRetryOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/LogRetentionRetryOptions.kt @@ -56,7 +56,7 @@ public interface LogRetentionRetryOptions : */ @Deprecated(message = "deprecated in CDK") override fun base(base: Duration) { - cdkBuilder.base(base.let(Duration::unwrap)) + cdkBuilder.base(base.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsLayerVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsLayerVersion.kt index a0dddebf84..6b0d6087d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsLayerVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsLayerVersion.kt @@ -47,12 +47,12 @@ public abstract class ParamsAndSecretsLayerVersion( public companion object { public fun fromVersion(version: ParamsAndSecretsVersions): ParamsAndSecretsLayerVersion = - software.amazon.awscdk.services.lambda.ParamsAndSecretsLayerVersion.fromVersion(version.let(ParamsAndSecretsVersions::unwrap)).let(ParamsAndSecretsLayerVersion::wrap) + software.amazon.awscdk.services.lambda.ParamsAndSecretsLayerVersion.fromVersion(version.let(ParamsAndSecretsVersions.Companion::unwrap)).let(ParamsAndSecretsLayerVersion::wrap) public fun fromVersion(version: ParamsAndSecretsVersions, options: ParamsAndSecretsOptions): ParamsAndSecretsLayerVersion = - software.amazon.awscdk.services.lambda.ParamsAndSecretsLayerVersion.fromVersion(version.let(ParamsAndSecretsVersions::unwrap), - options.let(ParamsAndSecretsOptions::unwrap)).let(ParamsAndSecretsLayerVersion::wrap) + software.amazon.awscdk.services.lambda.ParamsAndSecretsLayerVersion.fromVersion(version.let(ParamsAndSecretsVersions.Companion::unwrap), + options.let(ParamsAndSecretsOptions.Companion::unwrap)).let(ParamsAndSecretsLayerVersion::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f1b82c076f39ba30e00df9abcd79a9e4954d933bd2f8b2c77ba643a3cb00f202") @@ -66,7 +66,7 @@ public abstract class ParamsAndSecretsLayerVersion( public fun fromVersionArn(arn: String, options: ParamsAndSecretsOptions): ParamsAndSecretsLayerVersion = software.amazon.awscdk.services.lambda.ParamsAndSecretsLayerVersion.fromVersionArn(arn, - options.let(ParamsAndSecretsOptions::unwrap)).let(ParamsAndSecretsLayerVersion::wrap) + options.let(ParamsAndSecretsOptions.Companion::unwrap)).let(ParamsAndSecretsLayerVersion::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3292c50e00e6ffb93a6b79c2d477463172c96cf17a9de19268d2294bfd3aadfd") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsOptions.kt index 5e9931cfa8..68d68efdea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/ParamsAndSecretsOptions.kt @@ -256,7 +256,7 @@ public interface ParamsAndSecretsOptions { * Note: Set to debug to see the cache configuration. */ override fun logLevel(logLevel: ParamsAndSecretsLogLevel) { - cdkBuilder.logLevel(logLevel.let(ParamsAndSecretsLogLevel::unwrap)) + cdkBuilder.logLevel(logLevel.let(ParamsAndSecretsLogLevel.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface ParamsAndSecretsOptions { * timeout. */ override fun parameterStoreTimeout(parameterStoreTimeout: Duration) { - cdkBuilder.parameterStoreTimeout(parameterStoreTimeout.let(Duration::unwrap)) + cdkBuilder.parameterStoreTimeout(parameterStoreTimeout.let(Duration.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface ParamsAndSecretsOptions { * Note: This variable is ignored if cacheSize is 0. */ override fun parameterStoreTtl(parameterStoreTtl: Duration) { - cdkBuilder.parameterStoreTtl(parameterStoreTtl.let(Duration::unwrap)) + cdkBuilder.parameterStoreTtl(parameterStoreTtl.let(Duration.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public interface ParamsAndSecretsOptions { * no timeout. */ override fun secretsManagerTimeout(secretsManagerTimeout: Duration) { - cdkBuilder.secretsManagerTimeout(secretsManagerTimeout.let(Duration::unwrap)) + cdkBuilder.secretsManagerTimeout(secretsManagerTimeout.let(Duration.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface ParamsAndSecretsOptions { * Note: This variable is ignored if cacheSize is 0. */ override fun secretsManagerTtl(secretsManagerTtl: Duration) { - cdkBuilder.secretsManagerTtl(secretsManagerTtl.let(Duration::unwrap)) + cdkBuilder.secretsManagerTtl(secretsManagerTtl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.ParamsAndSecretsOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Permission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Permission.kt index af0297ca4b..d1f58df800 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Permission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Permission.kt @@ -235,7 +235,7 @@ public interface Permission { * permissions for. */ override fun functionUrlAuthType(functionUrlAuthType: FunctionUrlAuthType) { - cdkBuilder.functionUrlAuthType(functionUrlAuthType.let(FunctionUrlAuthType::unwrap)) + cdkBuilder.functionUrlAuthType(functionUrlAuthType.let(FunctionUrlAuthType.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface Permission { * or an OrganizationPrincipal. */ override fun principal(principal: IPrincipal) { - cdkBuilder.principal(principal.let(IPrincipal::unwrap)) + cdkBuilder.principal(principal.let(IPrincipal.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface Permission { * to sit closer to the consumer of this permission (i.e., the caller). */ override fun scope(scope: Construct) { - cdkBuilder.scope(scope.let(Construct::unwrap)) + cdkBuilder.scope(scope.let(Construct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/QualifiedFunctionBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/QualifiedFunctionBase.kt index 3261d7c624..5c80da423e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/QualifiedFunctionBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/QualifiedFunctionBase.kt @@ -23,7 +23,7 @@ public abstract class QualifiedFunctionBase( * @param options */ public override fun configureAsyncInvoke(options: EventInvokeConfigOptions) { - unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions::unwrap)) + unwrap(this).configureAsyncInvoke(options.let(EventInvokeConfigOptions.Companion::unwrap)) } /** @@ -49,7 +49,8 @@ public abstract class QualifiedFunctionBase( * @param _action */ public override fun considerWarningOnInvokeFunctionPermissions(scope: Construct, action: String) { - unwrap(this).considerWarningOnInvokeFunctionPermissions(scope.let(Construct::unwrap), action) + unwrap(this).considerWarningOnInvokeFunctionPermissions(scope.let(Construct.Companion::unwrap), + action) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Runtime.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Runtime.kt index f894cf8987..0355caa857 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Runtime.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Runtime.kt @@ -41,15 +41,16 @@ public open class Runtime( ) public constructor(name: String, family: RuntimeFamily) : - this(software.amazon.awscdk.services.lambda.Runtime(name, family.let(RuntimeFamily::unwrap)) + this(software.amazon.awscdk.services.lambda.Runtime(name, + family.let(RuntimeFamily.Companion::unwrap)) ) public constructor( name: String, family: RuntimeFamily, props: LambdaRuntimeProps, - ) : this(software.amazon.awscdk.services.lambda.Runtime(name, family.let(RuntimeFamily::unwrap), - props.let(LambdaRuntimeProps::unwrap)) + ) : this(software.amazon.awscdk.services.lambda.Runtime(name, + family.let(RuntimeFamily.Companion::unwrap), props.let(LambdaRuntimeProps.Companion::unwrap)) ) public constructor( @@ -84,7 +85,7 @@ public open class Runtime( * @param other */ public open fun runtimeEquals(other: Runtime): Boolean = - unwrap(this).runtimeEquals(other.let(Runtime::unwrap)) + unwrap(this).runtimeEquals(other.let(Runtime.Companion::unwrap)) /** * Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/S3Code.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/S3Code.kt index 31a4666ffe..21dd3399f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/S3Code.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/S3Code.kt @@ -25,14 +25,14 @@ public open class S3Code( cdkObject: software.amazon.awscdk.services.lambda.S3Code, ) : Code(cdkObject) { public constructor(bucket: IBucket, key: String) : - this(software.amazon.awscdk.services.lambda.S3Code(bucket.let(IBucket::unwrap), key) + this(software.amazon.awscdk.services.lambda.S3Code(bucket.let(IBucket.Companion::unwrap), key) ) public constructor( bucket: IBucket, key: String, objectVersion: String, - ) : this(software.amazon.awscdk.services.lambda.S3Code(bucket.let(IBucket::unwrap), key, + ) : this(software.amazon.awscdk.services.lambda.S3Code(bucket.let(IBucket.Companion::unwrap), key, objectVersion) ) @@ -43,7 +43,7 @@ public open class S3Code( * @param _scope */ public override fun bind(scope: Construct): CodeConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CodeConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CodeConfig::wrap) /** * Determines whether this Code is inline code or not. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunction.kt index d6cf4021b0..22391e4a46 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunction.kt @@ -61,8 +61,8 @@ public open class SingletonFunction( id: String, props: SingletonFunctionProps, ) : - this(software.amazon.awscdk.services.lambda.SingletonFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SingletonFunctionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.SingletonFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SingletonFunctionProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class SingletonFunction( `value`: String, options: EnvironmentOptions, ): Function = unwrap(this).addEnvironment(key, `value`, - options.let(EnvironmentOptions::unwrap)).let(Function::wrap) + options.let(EnvironmentOptions.Companion::unwrap)).let(Function::wrap) /** * Adds an environment variable to this Lambda function. @@ -145,7 +145,7 @@ public open class SingletonFunction( * @param permission */ public override fun addPermission(name: String, permission: Permission) { - unwrap(this).addPermission(name, permission.let(Permission::unwrap)) + unwrap(this).addPermission(name, permission.let(Permission.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class SingletonFunction( * @param down */ public open fun dependOn(down: IConstruct) { - unwrap(this).dependOn(down.let(IConstruct::unwrap)) + unwrap(this).dependOn(down.let(IConstruct.Companion::unwrap)) } /** @@ -998,7 +998,7 @@ public open class SingletonFunction( * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -1067,7 +1067,7 @@ public open class SingletonFunction( * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -1080,7 +1080,7 @@ public open class SingletonFunction( * @param code The source code of your Lambda function. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -1091,7 +1091,7 @@ public open class SingletonFunction( * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -1104,7 +1104,7 @@ public open class SingletonFunction( * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -1131,7 +1131,7 @@ public open class SingletonFunction( * @param deadLetterQueue The SQS queue to use if DLQ is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public open class SingletonFunction( * @param deadLetterTopic The SNS topic to use as a DLQ. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -1199,7 +1199,7 @@ public open class SingletonFunction( * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class SingletonFunction( * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -1223,7 +1223,7 @@ public open class SingletonFunction( * @param events Event sources for this function. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -1245,7 +1245,7 @@ public open class SingletonFunction( * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1291,7 +1291,7 @@ public open class SingletonFunction( * @param initialPolicy Initial policy statements to add to the created Lambda Role. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1316,7 +1316,7 @@ public open class SingletonFunction( * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1361,7 +1361,7 @@ public open class SingletonFunction( * @param layers A list of layers to add to the function's execution environment. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1408,7 +1408,7 @@ public open class SingletonFunction( * @param logGroup The log group the function sends logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1438,7 +1438,7 @@ public open class SingletonFunction( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1457,7 +1457,7 @@ public open class SingletonFunction( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1495,7 +1495,7 @@ public open class SingletonFunction( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1506,7 +1506,7 @@ public open class SingletonFunction( * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1521,7 +1521,7 @@ public open class SingletonFunction( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1547,7 +1547,7 @@ public open class SingletonFunction( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -1558,7 +1558,7 @@ public open class SingletonFunction( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -1570,7 +1570,7 @@ public open class SingletonFunction( * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1594,7 +1594,7 @@ public open class SingletonFunction( * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1644,7 +1644,7 @@ public open class SingletonFunction( * @param role Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1658,7 +1658,7 @@ public open class SingletonFunction( * @param runtime The runtime environment for the Lambda function that you are uploading. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1670,7 +1670,7 @@ public open class SingletonFunction( * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1686,7 +1686,7 @@ public open class SingletonFunction( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1714,7 +1714,7 @@ public open class SingletonFunction( * @param snapStart Enable SnapStart for Lambda Function. */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1740,7 +1740,7 @@ public open class SingletonFunction( * function. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1751,7 +1751,7 @@ public open class SingletonFunction( * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1777,7 +1777,7 @@ public open class SingletonFunction( * @param vpc VPC network to place Lambda network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1794,7 +1794,7 @@ public open class SingletonFunction( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunctionProps.kt index 8065d11183..110512c331 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SingletonFunctionProps.kt @@ -518,7 +518,7 @@ public interface SingletonFunctionProps : FunctionProps { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public interface SingletonFunctionProps : FunctionProps { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -573,14 +573,14 @@ public interface SingletonFunctionProps : FunctionProps { * code as inline text. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public interface SingletonFunctionProps : FunctionProps { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public interface SingletonFunctionProps : FunctionProps { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public interface SingletonFunctionProps : FunctionProps { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -650,14 +650,14 @@ public interface SingletonFunctionProps : FunctionProps { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public interface SingletonFunctionProps : FunctionProps { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public interface SingletonFunctionProps : FunctionProps { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public interface SingletonFunctionProps : FunctionProps { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public interface SingletonFunctionProps : FunctionProps { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public interface SingletonFunctionProps : FunctionProps { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public interface SingletonFunctionProps : FunctionProps { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public interface SingletonFunctionProps : FunctionProps { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -829,7 +829,7 @@ public interface SingletonFunctionProps : FunctionProps { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -855,14 +855,14 @@ public interface SingletonFunctionProps : FunctionProps { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -872,7 +872,7 @@ public interface SingletonFunctionProps : FunctionProps { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -889,21 +889,21 @@ public interface SingletonFunctionProps : FunctionProps { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public interface SingletonFunctionProps : FunctionProps { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -950,7 +950,7 @@ public interface SingletonFunctionProps : FunctionProps { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public interface SingletonFunctionProps : FunctionProps { * Use `Runtime.FROM_IMAGE` when defining a function from a Docker image. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -969,7 +969,7 @@ public interface SingletonFunctionProps : FunctionProps { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public interface SingletonFunctionProps : FunctionProps { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public interface SingletonFunctionProps : FunctionProps { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1011,14 +1011,14 @@ public interface SingletonFunctionProps : FunctionProps { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1036,7 +1036,7 @@ public interface SingletonFunctionProps : FunctionProps { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public interface SingletonFunctionProps : FunctionProps { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SourceAccessConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SourceAccessConfiguration.kt index b205a5e4ab..c86bb6531d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SourceAccessConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/SourceAccessConfiguration.kt @@ -71,7 +71,7 @@ public interface SourceAccessConfiguration { * For example: "SASL_SCRAM_512_AUTH". */ override fun type(type: SourceAccessConfigurationType) { - cdkBuilder.type(type.let(SourceAccessConfigurationType::unwrap)) + cdkBuilder.type(type.let(SourceAccessConfigurationType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/UtilizationScalingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/UtilizationScalingOptions.kt index cd6df6e101..40ada38c5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/UtilizationScalingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/UtilizationScalingOptions.kt @@ -108,7 +108,7 @@ public interface UtilizationScalingOptions : BaseTargetTrackingProps { * activity can start. */ override fun scaleInCooldown(scaleInCooldown: Duration) { - cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration::unwrap)) + cdkBuilder.scaleInCooldown(scaleInCooldown.let(Duration.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public interface UtilizationScalingOptions : BaseTargetTrackingProps { * activity can start. */ override fun scaleOutCooldown(scaleOutCooldown: Duration) { - cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration::unwrap)) + cdkBuilder.scaleOutCooldown(scaleOutCooldown.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Version.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Version.kt index 11d0abc739..b41b7a486e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Version.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/Version.kt @@ -63,8 +63,8 @@ public open class Version( id: String, props: VersionProps, ) : - this(software.amazon.awscdk.services.lambda.Version(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VersionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.Version(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VersionProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class Version( */ @Deprecated(message = "deprecated in CDK") public override fun addAlias(aliasName: String, options: AliasOptions): Alias = - unwrap(this).addAlias(aliasName, options.let(AliasOptions::unwrap)).let(Alias::wrap) + unwrap(this).addAlias(aliasName, options.let(AliasOptions.Companion::unwrap)).let(Alias::wrap) /** * (deprecated) Defines an alias for this version. @@ -160,7 +160,7 @@ public open class Version( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Function. @@ -319,7 +319,7 @@ public open class Version( * @param lambda Function to get the value of. */ override fun lambda(lambda: IFunction) { - cdkBuilder.lambda(lambda.let(IFunction::unwrap)) + cdkBuilder.lambda(lambda.let(IFunction.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class Version( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class Version( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class Version( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public open class Version( * created. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class Version( id: String, versionArn: String, ): IVersion = - software.amazon.awscdk.services.lambda.Version.fromVersionArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.lambda.Version.fromVersionArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, versionArn).let(IVersion::wrap) public fun fromVersionAttributes( @@ -415,8 +415,8 @@ public open class Version( id: String, attrs: VersionAttributes, ): IVersion = - software.amazon.awscdk.services.lambda.Version.fromVersionAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(VersionAttributes::unwrap)).let(IVersion::wrap) + software.amazon.awscdk.services.lambda.Version.fromVersionAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(VersionAttributes.Companion::unwrap)).let(IVersion::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eb465a0d3cfc3652ccdc9929ccc263eba569adee02088db50e59eb21d89d2830") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionAttributes.kt index 63c69092bf..59d4842f2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionAttributes.kt @@ -57,7 +57,7 @@ public interface VersionAttributes { * @param lambda The lambda function. */ override fun lambda(lambda: IFunction) { - cdkBuilder.lambda(lambda.let(IFunction::unwrap)) + cdkBuilder.lambda(lambda.let(IFunction.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionOptions.kt index d64700c461..684ce39b30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionOptions.kt @@ -142,21 +142,21 @@ public interface VersionOptions : EventInvokeConfigOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public interface VersionOptions : EventInvokeConfigOptions { * created. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionProps.kt index d2bdb6ccce..a20bdbfaeb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionProps.kt @@ -111,7 +111,7 @@ public interface VersionProps : VersionOptions { * @param lambda Function to get the value of. */ override fun lambda(lambda: IFunction) { - cdkBuilder.lambda(lambda.let(IFunction::unwrap)) + cdkBuilder.lambda(lambda.let(IFunction.Companion::unwrap)) } /** @@ -121,21 +121,21 @@ public interface VersionProps : VersionOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public interface VersionProps : VersionOptions { * created. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionWeight.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionWeight.kt index 2fec7fb6b3..ea2c50a39f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionWeight.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/VersionWeight.kt @@ -59,7 +59,7 @@ public interface VersionWeight { * @param version The version to route traffic to. */ override fun version(version: IVersion) { - cdkBuilder.version(version.let(IVersion::unwrap)) + cdkBuilder.version(version.let(IVersion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/EventBridgeDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/EventBridgeDestination.kt index d7b475dd21..7fd4fe8d5f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/EventBridgeDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/EventBridgeDestination.kt @@ -36,7 +36,7 @@ public open class EventBridgeDestination( ) public constructor(eventBus: IEventBus) : - this(software.amazon.awscdk.services.lambda.destinations.EventBridgeDestination(eventBus.let(IEventBus::unwrap)) + this(software.amazon.awscdk.services.lambda.destinations.EventBridgeDestination(eventBus.let(IEventBus.Companion::unwrap)) ) /** @@ -47,8 +47,8 @@ public open class EventBridgeDestination( * @param _options */ public override fun bind(scope: Construct, fn: IFunction): DestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(IFunction::unwrap)).let(DestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. @@ -61,8 +61,9 @@ public open class EventBridgeDestination( scope: Construct, fn: IFunction, options: DestinationOptions, - ): DestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), fn.let(IFunction::unwrap), - options.let(DestinationOptions::unwrap)).let(DestinationConfig::wrap) + ): DestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap), + options.let(DestinationOptions.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/LambdaDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/LambdaDestination.kt index c292972489..fc97ae1bfa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/LambdaDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/LambdaDestination.kt @@ -37,13 +37,13 @@ public open class LambdaDestination( cdkObject: software.amazon.awscdk.services.lambda.destinations.LambdaDestination, ) : CdkObject(cdkObject), IDestination { public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction) : - this(software.amazon.awscdk.services.lambda.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + this(software.amazon.awscdk.services.lambda.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction, options: LambdaDestinationOptions) : - this(software.amazon.awscdk.services.lambda.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - options.let(LambdaDestinationOptions::unwrap)) + this(software.amazon.awscdk.services.lambda.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + options.let(LambdaDestinationOptions.Companion::unwrap)) ) public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction, @@ -59,8 +59,8 @@ public open class LambdaDestination( * @param options */ public override fun bind(scope: Construct, fn: CloudshiftdevAwscdkServicesLambdaIFunction): - DestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)).let(DestinationConfig::wrap) + DestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. @@ -73,9 +73,9 @@ public open class LambdaDestination( scope: Construct, fn: CloudshiftdevAwscdkServicesLambdaIFunction, options: DestinationOptions, - ): DestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - options.let(DestinationOptions::unwrap)).let(DestinationConfig::wrap) + ): DestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + options.let(DestinationOptions.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SnsDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SnsDestination.kt index b47dc1a628..44b096e8bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SnsDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SnsDestination.kt @@ -34,7 +34,7 @@ public open class SnsDestination( cdkObject: software.amazon.awscdk.services.lambda.destinations.SnsDestination, ) : CdkObject(cdkObject), IDestination { public constructor(topic: ITopic) : - this(software.amazon.awscdk.services.lambda.destinations.SnsDestination(topic.let(ITopic::unwrap)) + this(software.amazon.awscdk.services.lambda.destinations.SnsDestination(topic.let(ITopic.Companion::unwrap)) ) /** @@ -45,8 +45,8 @@ public open class SnsDestination( * @param _options */ public override fun bind(scope: Construct, fn: IFunction): DestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(IFunction::unwrap)).let(DestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. @@ -59,8 +59,9 @@ public open class SnsDestination( scope: Construct, fn: IFunction, options: DestinationOptions, - ): DestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), fn.let(IFunction::unwrap), - options.let(DestinationOptions::unwrap)).let(DestinationConfig::wrap) + ): DestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap), + options.let(DestinationOptions.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SqsDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SqsDestination.kt index 484a63bbd4..bef3fca3f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SqsDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/destinations/SqsDestination.kt @@ -34,7 +34,7 @@ public open class SqsDestination( cdkObject: software.amazon.awscdk.services.lambda.destinations.SqsDestination, ) : CdkObject(cdkObject), IDestination { public constructor(queue: IQueue) : - this(software.amazon.awscdk.services.lambda.destinations.SqsDestination(queue.let(IQueue::unwrap)) + this(software.amazon.awscdk.services.lambda.destinations.SqsDestination(queue.let(IQueue.Companion::unwrap)) ) /** @@ -45,8 +45,8 @@ public open class SqsDestination( * @param _options */ public override fun bind(scope: Construct, fn: IFunction): DestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - fn.let(IFunction::unwrap)).let(DestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. @@ -59,8 +59,9 @@ public open class SqsDestination( scope: Construct, fn: IFunction, options: DestinationOptions, - ): DestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), fn.let(IFunction::unwrap), - options.let(DestinationOptions::unwrap)).let(DestinationConfig::wrap) + ): DestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + fn.let(IFunction.Companion::unwrap), + options.let(DestinationOptions.Companion::unwrap)).let(DestinationConfig::wrap) /** * Returns a destination configuration. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ApiEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ApiEventSource.kt index 52815ccac2..d04ace160c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ApiEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ApiEventSource.kt @@ -70,7 +70,7 @@ public open class ApiEventSource( path: String, options: MethodOptions, ) : this(software.amazon.awscdk.services.lambda.eventsources.ApiEventSource(method, path, - options.let(MethodOptions::unwrap)) + options.let(MethodOptions.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class ApiEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class ApiEventSource( * `authorizer` must also be specified. */ override fun authorizationType(authorizationType: AuthorizationType) { - cdkBuilder.authorizationType(authorizationType.let(AuthorizationType::unwrap)) + cdkBuilder.authorizationType(authorizationType.let(AuthorizationType.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class ApiEventSource( * authorizer resource. */ override fun authorizer(authorizer: IAuthorizer) { - cdkBuilder.authorizer(authorizer.let(IAuthorizer::unwrap)) + cdkBuilder.authorizer(authorizer.let(IAuthorizer.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class ApiEventSource( * @param methodResponses The responses that can be sent to the client who calls the method. */ override fun methodResponses(methodResponses: List) { - cdkBuilder.methodResponses(methodResponses.map(MethodResponse::unwrap)) + cdkBuilder.methodResponses(methodResponses.map(MethodResponse.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class ApiEventSource( * @param requestValidator The ID of the associated request validator. */ override fun requestValidator(requestValidator: IRequestValidator) { - cdkBuilder.requestValidator(requestValidator.let(IRequestValidator::unwrap)) + cdkBuilder.requestValidator(requestValidator.let(IRequestValidator.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class ApiEventSource( * `requestValidator` or `requestValidatorOptions` must be specified. */ override fun requestValidatorOptions(requestValidatorOptions: RequestValidatorOptions) { - cdkBuilder.requestValidatorOptions(requestValidatorOptions.let(RequestValidatorOptions::unwrap)) + cdkBuilder.requestValidatorOptions(requestValidatorOptions.let(RequestValidatorOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/BaseStreamEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/BaseStreamEventSourceProps.kt index 8f0bd0c838..cccf7c2e57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/BaseStreamEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/BaseStreamEventSourceProps.kt @@ -152,14 +152,14 @@ public interface BaseStreamEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSource.kt index 3003c6800d..3a5ff731f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSource.kt @@ -44,8 +44,8 @@ public open class DynamoEventSource( ) : StreamEventSource(cdkObject) { public constructor(table: CloudshiftdevAwscdkServicesDynamodbITable, props: DynamoEventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.DynamoEventSource(table.let(CloudshiftdevAwscdkServicesDynamodbITable::unwrap), - props.let(DynamoEventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.DynamoEventSource(table.let(CloudshiftdevAwscdkServicesDynamodbITable.Companion::unwrap), + props.let(DynamoEventSourceProps.Companion::unwrap)) ) public constructor(table: CloudshiftdevAwscdkServicesDynamodbITable, @@ -58,7 +58,7 @@ public open class DynamoEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class DynamoEventSource( * function. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class DynamoEventSource( * processing. */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class DynamoEventSource( * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class DynamoEventSource( * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class DynamoEventSource( * Kinesis Valid Range: 0 - 15 minutes. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.eventsources.DynamoEventSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSourceProps.kt index 4a5510fbbe..160ea98666 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/DynamoEventSourceProps.kt @@ -195,7 +195,7 @@ public interface DynamoEventSourceProps : StreamEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -211,14 +211,14 @@ public interface DynamoEventSourceProps : StreamEventSourceProps { * Record are valid until it expires in the event source. */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface DynamoEventSourceProps : StreamEventSourceProps { * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface DynamoEventSourceProps : StreamEventSourceProps { * Kinesis Valid Range: 0 - 15 minutes. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.eventsources.DynamoEventSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KafkaEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KafkaEventSourceProps.kt index 43e4634793..3aff1a077d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KafkaEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KafkaEventSourceProps.kt @@ -228,7 +228,7 @@ public interface KafkaEventSourceProps : BaseStreamEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public interface KafkaEventSourceProps : BaseStreamEventSourceProps { * SNS/SQS/S3 are supported */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -245,14 +245,14 @@ public interface KafkaEventSourceProps : BaseStreamEventSourceProps { * is required if your Kafka brokers are accessed over the Internet. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSource.kt index 0fb38dba15..c248020062 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSource.kt @@ -38,8 +38,8 @@ public open class KinesisEventSource( ) : StreamEventSource(cdkObject) { public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream, props: KinesisEventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.KinesisEventSource(stream.let(CloudshiftdevAwscdkServicesKinesisIStream::unwrap), - props.let(KinesisEventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.KinesisEventSource(stream.let(CloudshiftdevAwscdkServicesKinesisIStream.Companion::unwrap), + props.let(KinesisEventSourceProps.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream, @@ -53,7 +53,7 @@ public open class KinesisEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class KinesisEventSource( * function. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class KinesisEventSource( * processing. */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class KinesisEventSource( * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class KinesisEventSource( * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class KinesisEventSource( * Kinesis Valid Range: 0 - 15 minutes. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.eventsources.KinesisEventSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSourceProps.kt index 2124f4f427..ba8ae7dfb6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/KinesisEventSourceProps.kt @@ -201,7 +201,7 @@ public interface KinesisEventSourceProps : StreamEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -217,14 +217,14 @@ public interface KinesisEventSourceProps : StreamEventSourceProps { * Record are valid until it expires in the event source. */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface KinesisEventSourceProps : StreamEventSourceProps { * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface KinesisEventSourceProps : StreamEventSourceProps { * Kinesis Valid Range: 0 - 15 minutes. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.eventsources.KinesisEventSourceProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSource.kt index bb74a8f7c5..f474a31677 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSource.kt @@ -48,7 +48,7 @@ public open class ManagedKafkaEventSource( cdkObject: software.amazon.awscdk.services.lambda.eventsources.ManagedKafkaEventSource, ) : StreamEventSource(cdkObject) { public constructor(props: ManagedKafkaEventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.ManagedKafkaEventSource(props.let(ManagedKafkaEventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.ManagedKafkaEventSource(props.let(ManagedKafkaEventSourceProps.Companion::unwrap)) ) public constructor(props: ManagedKafkaEventSourceProps.Builder.() -> Unit) : @@ -61,7 +61,7 @@ public open class ManagedKafkaEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class ManagedKafkaEventSource( * function. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class ManagedKafkaEventSource( * @param onFailure Add an on Failure Destination for this Kafka event. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class ManagedKafkaEventSource( * is required if your Kafka brokers are accessed over the Internet. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class ManagedKafkaEventSource( * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSourceProps.kt index 58e6fd2af0..b869b7bf21 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/ManagedKafkaEventSourceProps.kt @@ -198,7 +198,7 @@ public interface ManagedKafkaEventSourceProps : KafkaEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public interface ManagedKafkaEventSourceProps : KafkaEventSourceProps { * SNS/SQS/S3 are supported */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -215,14 +215,14 @@ public interface ManagedKafkaEventSourceProps : KafkaEventSourceProps { * is required if your Kafka brokers are accessed over the Internet. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSource.kt index 1c6c21e0f6..eadffb4f95 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSource.kt @@ -33,8 +33,8 @@ public open class S3EventSource( cdkObject: software.amazon.awscdk.services.lambda.eventsources.S3EventSource, ) : CdkObject(cdkObject), IEventSource { public constructor(bucket: CloudshiftdevAwscdkServicesS3Bucket, props: S3EventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.S3EventSource(bucket.let(CloudshiftdevAwscdkServicesS3Bucket::unwrap), - props.let(S3EventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.S3EventSource(bucket.let(CloudshiftdevAwscdkServicesS3Bucket.Companion::unwrap), + props.let(S3EventSourceProps.Companion::unwrap)) ) public constructor(bucket: CloudshiftdevAwscdkServicesS3Bucket, @@ -47,7 +47,7 @@ public open class S3EventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class S3EventSource( * @param events The s3 event types that will trigger the notification. */ override fun events(events: List) { - cdkBuilder.events(events.map(EventType::unwrap)) + cdkBuilder.events(events.map(EventType.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class S3EventSource( * @param filters S3 object key filter rules to determine which objects trigger this event. */ override fun filters(filters: List) { - cdkBuilder.filters(filters.map(NotificationKeyFilter::unwrap)) + cdkBuilder.filters(filters.map(NotificationKeyFilter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceProps.kt index dd5eec1e92..e97fc7bd2b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceProps.kt @@ -81,7 +81,7 @@ public interface S3EventSourceProps { * @param events The s3 event types that will trigger the notification. */ override fun events(events: List) { - cdkBuilder.events(events.map(EventType::unwrap)) + cdkBuilder.events(events.map(EventType.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public interface S3EventSourceProps { * about allowed filter rules. */ override fun filters(filters: List) { - cdkBuilder.filters(filters.map(NotificationKeyFilter::unwrap)) + cdkBuilder.filters(filters.map(NotificationKeyFilter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceV2.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceV2.kt index f2baa9b9ee..4879fd8002 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceV2.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3EventSourceV2.kt @@ -33,8 +33,8 @@ public open class S3EventSourceV2( cdkObject: software.amazon.awscdk.services.lambda.eventsources.S3EventSourceV2, ) : CdkObject(cdkObject), IEventSource { public constructor(bucket: CloudshiftdevAwscdkServicesS3IBucket, props: S3EventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceV2(bucket.let(CloudshiftdevAwscdkServicesS3IBucket::unwrap), - props.let(S3EventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceV2(bucket.let(CloudshiftdevAwscdkServicesS3IBucket.Companion::unwrap), + props.let(S3EventSourceProps.Companion::unwrap)) ) public constructor(bucket: CloudshiftdevAwscdkServicesS3IBucket, @@ -47,7 +47,7 @@ public open class S3EventSourceV2( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -105,7 +105,7 @@ public open class S3EventSourceV2( * @param events The s3 event types that will trigger the notification. */ override fun events(events: List) { - cdkBuilder.events(events.map(EventType::unwrap)) + cdkBuilder.events(events.map(EventType.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class S3EventSourceV2( * @param filters S3 object key filter rules to determine which objects trigger this event. */ override fun filters(filters: List) { - cdkBuilder.filters(filters.map(NotificationKeyFilter::unwrap)) + cdkBuilder.filters(filters.map(NotificationKeyFilter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3OnFailureDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3OnFailureDestination.kt index 212aa96511..37fc54aa68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3OnFailureDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/S3OnFailureDestination.kt @@ -38,7 +38,7 @@ public open class S3OnFailureDestination( cdkObject: software.amazon.awscdk.services.lambda.eventsources.S3OnFailureDestination, ) : CdkObject(cdkObject), IEventSourceDlq { public constructor(bucket: IBucket) : - this(software.amazon.awscdk.services.lambda.eventsources.S3OnFailureDestination(bucket.let(IBucket::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.S3OnFailureDestination(bucket.let(IBucket.Companion::unwrap)) ) /** @@ -48,8 +48,8 @@ public open class S3OnFailureDestination( * @param targetHandler */ public override fun bind(target: IEventSourceMapping, targetHandler: IFunction): - DlqDestinationConfig = unwrap(this).bind(target.let(IEventSourceMapping::unwrap), - targetHandler.let(IFunction::unwrap)).let(DlqDestinationConfig::wrap) + DlqDestinationConfig = unwrap(this).bind(target.let(IEventSourceMapping.Companion::unwrap), + targetHandler.let(IFunction.Companion::unwrap)).let(DlqDestinationConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSource.kt index 23a59c2cef..6777a0b45b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSource.kt @@ -52,7 +52,7 @@ public open class SelfManagedKafkaEventSource( cdkObject: software.amazon.awscdk.services.lambda.eventsources.SelfManagedKafkaEventSource, ) : StreamEventSource(cdkObject) { public constructor(props: SelfManagedKafkaEventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.SelfManagedKafkaEventSource(props.let(SelfManagedKafkaEventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SelfManagedKafkaEventSource(props.let(SelfManagedKafkaEventSourceProps.Companion::unwrap)) ) public constructor(props: SelfManagedKafkaEventSourceProps.Builder.() -> Unit) : @@ -65,7 +65,7 @@ public open class SelfManagedKafkaEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class SelfManagedKafkaEventSource( * @param authenticationMethod The authentication method for your Kafka cluster. */ override fun authenticationMethod(authenticationMethod: AuthenticationMethod) { - cdkBuilder.authenticationMethod(authenticationMethod.let(AuthenticationMethod::unwrap)) + cdkBuilder.authenticationMethod(authenticationMethod.let(AuthenticationMethod.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class SelfManagedKafkaEventSource( * function. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class SelfManagedKafkaEventSource( * @param onFailure Add an on Failure Destination for this Kafka event. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class SelfManagedKafkaEventSource( * private CA. */ override fun rootCaCertificate(rootCaCertificate: ISecret) { - cdkBuilder.rootCaCertificate(rootCaCertificate.let(ISecret::unwrap)) + cdkBuilder.rootCaCertificate(rootCaCertificate.let(ISecret.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class SelfManagedKafkaEventSource( * is required if your Kafka brokers are accessed over the Internet. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class SelfManagedKafkaEventSource( * group here. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class SelfManagedKafkaEventSource( * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class SelfManagedKafkaEventSource( * @param vpc If your Kafka brokers are only reachable via VPC provide the VPC here. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class SelfManagedKafkaEventSource( * selection here. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSourceProps.kt index 521c1765e7..9025135f29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SelfManagedKafkaEventSourceProps.kt @@ -238,7 +238,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * @param authenticationMethod The authentication method for your Kafka cluster. */ override fun authenticationMethod(authenticationMethod: AuthenticationMethod) { - cdkBuilder.authenticationMethod(authenticationMethod.let(AuthenticationMethod::unwrap)) + cdkBuilder.authenticationMethod(authenticationMethod.let(AuthenticationMethod.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * SNS/SQS/S3 are supported */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * private CA. */ override fun rootCaCertificate(rootCaCertificate: ISecret) { - cdkBuilder.rootCaCertificate(rootCaCertificate.let(ISecret::unwrap)) + cdkBuilder.rootCaCertificate(rootCaCertificate.let(ISecret.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * is required if your Kafka brokers are accessed over the Internet. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** @@ -348,14 +348,14 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * group here. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * @param vpc If your Kafka brokers are only reachable via VPC provide the VPC here. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public interface SelfManagedKafkaEventSourceProps : KafkaEventSourceProps { * selection here. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsDlq.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsDlq.kt index 21c000a5d7..7a82e40bf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsDlq.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsDlq.kt @@ -27,7 +27,7 @@ public open class SnsDlq( cdkObject: software.amazon.awscdk.services.lambda.eventsources.SnsDlq, ) : CdkObject(cdkObject), IEventSourceDlq { public constructor(topic: ITopic) : - this(software.amazon.awscdk.services.lambda.eventsources.SnsDlq(topic.let(ITopic::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SnsDlq(topic.let(ITopic.Companion::unwrap)) ) /** @@ -37,8 +37,8 @@ public open class SnsDlq( * @param targetHandler */ public override fun bind(target: IEventSourceMapping, targetHandler: IFunction): - DlqDestinationConfig = unwrap(this).bind(target.let(IEventSourceMapping::unwrap), - targetHandler.let(IFunction::unwrap)).let(DlqDestinationConfig::wrap) + DlqDestinationConfig = unwrap(this).bind(target.let(IEventSourceMapping.Companion::unwrap), + targetHandler.let(IFunction.Companion::unwrap)).let(DlqDestinationConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.lambda.eventsources.SnsDlq): SnsDlq diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSource.kt index 0b127199d9..d225ff4f3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSource.kt @@ -36,12 +36,12 @@ public open class SnsEventSource( cdkObject: software.amazon.awscdk.services.lambda.eventsources.SnsEventSource, ) : CdkObject(cdkObject), IEventSource { public constructor(topic: CloudshiftdevAwscdkServicesSnsITopic) : - this(software.amazon.awscdk.services.lambda.eventsources.SnsEventSource(topic.let(CloudshiftdevAwscdkServicesSnsITopic::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SnsEventSource(topic.let(CloudshiftdevAwscdkServicesSnsITopic.Companion::unwrap)) ) public constructor(topic: CloudshiftdevAwscdkServicesSnsITopic, props: SnsEventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.SnsEventSource(topic.let(CloudshiftdevAwscdkServicesSnsITopic::unwrap), - props.let(SnsEventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SnsEventSource(topic.let(CloudshiftdevAwscdkServicesSnsITopic.Companion::unwrap), + props.let(SnsEventSourceProps.Companion::unwrap)) ) public constructor(topic: CloudshiftdevAwscdkServicesSnsITopic, @@ -54,7 +54,7 @@ public open class SnsEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class SnsEventSource( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSourceProps.kt index b1217cc687..4c698e3c9f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SnsEventSourceProps.kt @@ -65,7 +65,7 @@ public interface SnsEventSourceProps : LambdaSubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsDlq.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsDlq.kt index 0a82327f59..784eca1232 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsDlq.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsDlq.kt @@ -34,7 +34,7 @@ public open class SqsDlq( cdkObject: software.amazon.awscdk.services.lambda.eventsources.SqsDlq, ) : CdkObject(cdkObject), IEventSourceDlq { public constructor(queue: IQueue) : - this(software.amazon.awscdk.services.lambda.eventsources.SqsDlq(queue.let(IQueue::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SqsDlq(queue.let(IQueue.Companion::unwrap)) ) /** @@ -44,8 +44,8 @@ public open class SqsDlq( * @param targetHandler */ public override fun bind(target: IEventSourceMapping, targetHandler: IFunction): - DlqDestinationConfig = unwrap(this).bind(target.let(IEventSourceMapping::unwrap), - targetHandler.let(IFunction::unwrap)).let(DlqDestinationConfig::wrap) + DlqDestinationConfig = unwrap(this).bind(target.let(IEventSourceMapping.Companion::unwrap), + targetHandler.let(IFunction.Companion::unwrap)).let(DlqDestinationConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.lambda.eventsources.SqsDlq): SqsDlq diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSource.kt index 3466fb460b..bbedc14f7c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSource.kt @@ -34,12 +34,12 @@ public open class SqsEventSource( cdkObject: software.amazon.awscdk.services.lambda.eventsources.SqsEventSource, ) : CdkObject(cdkObject), IEventSource { public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue) : - this(software.amazon.awscdk.services.lambda.eventsources.SqsEventSource(queue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SqsEventSource(queue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap)) ) public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue, props: SqsEventSourceProps) : - this(software.amazon.awscdk.services.lambda.eventsources.SqsEventSource(queue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap), - props.let(SqsEventSourceProps::unwrap)) + this(software.amazon.awscdk.services.lambda.eventsources.SqsEventSource(queue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap), + props.let(SqsEventSourceProps.Companion::unwrap)) ) public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue, @@ -52,7 +52,7 @@ public open class SqsEventSource( * @param target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class SqsEventSource( * function. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSourceProps.kt index c44dd65554..924eeaa816 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/SqsEventSourceProps.kt @@ -187,7 +187,7 @@ public interface SqsEventSourceProps { * Valid Range: Minimum value of 0 minutes. Maximum value of 5 minutes. */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSource.kt index f6fdd85e4e..4a0b5d47cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSource.kt @@ -19,7 +19,7 @@ public abstract class StreamEventSource( * @param _target */ public override fun bind(target: IFunction) { - unwrap(this).bind(target.let(IFunction::unwrap)) + unwrap(this).bind(target.let(IFunction.Companion::unwrap)) } private class Wrapper( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSourceProps.kt index fe61e3ea63..84a2fd0b60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/eventsources/StreamEventSourceProps.kt @@ -283,7 +283,7 @@ public interface StreamEventSourceProps : BaseStreamEventSourceProps { * Maximum of Duration.minutes(5). */ override fun maxBatchingWindow(maxBatchingWindow: Duration) { - cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration::unwrap)) + cdkBuilder.maxBatchingWindow(maxBatchingWindow.let(Duration.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public interface StreamEventSourceProps : BaseStreamEventSourceProps { * Record are valid until it expires in the event source. */ override fun maxRecordAge(maxRecordAge: Duration) { - cdkBuilder.maxRecordAge(maxRecordAge.let(Duration::unwrap)) + cdkBuilder.maxRecordAge(maxRecordAge.let(Duration.Companion::unwrap)) } /** * @param onFailure An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ override fun onFailure(onFailure: IEventSourceDlq) { - cdkBuilder.onFailure(onFailure.let(IEventSourceDlq::unwrap)) + cdkBuilder.onFailure(onFailure.let(IEventSourceDlq.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface StreamEventSourceProps : BaseStreamEventSourceProps { * @param startingPosition Where to begin consuming the stream. */ override fun startingPosition(startingPosition: StartingPosition) { - cdkBuilder.startingPosition(startingPosition.let(StartingPosition::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(StartingPosition.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface StreamEventSourceProps : BaseStreamEventSourceProps { * Kinesis Valid Range: 0 - 15 minutes. */ override fun tumblingWindow(tumblingWindow: Duration) { - cdkBuilder.tumblingWindow(tumblingWindow.let(Duration::unwrap)) + cdkBuilder.tumblingWindow(tumblingWindow.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lambda.eventsources.StreamEventSourceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/BundlingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/BundlingOptions.kt index 63cd326249..d568de31af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/BundlingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/BundlingOptions.kt @@ -768,7 +768,7 @@ public interface BundlingOptions : DockerRunOptions { * container and output files back. */ override fun bundlingFileAccess(bundlingFileAccess: BundlingFileAccess) { - cdkBuilder.bundlingFileAccess(bundlingFileAccess.let(BundlingFileAccess::unwrap)) + cdkBuilder.bundlingFileAccess(bundlingFileAccess.let(BundlingFileAccess.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public interface BundlingOptions : DockerRunOptions { * the original characters without using escape sequences, use `Charset.UTF8`. */ override fun charset(charset: Charset) { - cdkBuilder.charset(charset.let(Charset::unwrap)) + cdkBuilder.charset(charset.let(Charset.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public interface BundlingOptions : DockerRunOptions { * @param commandHooks Command hooks. */ override fun commandHooks(commandHooks: ICommandHooks) { - cdkBuilder.commandHooks(commandHooks.let(ICommandHooks::unwrap)) + cdkBuilder.commandHooks(commandHooks.let(ICommandHooks.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public interface BundlingOptions : DockerRunOptions { * for the default image provided by aws-cdk-lib/aws-lambda-nodejs. */ override fun dockerImage(dockerImage: DockerImage) { - cdkBuilder.dockerImage(dockerImage.let(DockerImage::unwrap)) + cdkBuilder.dockerImage(dockerImage.let(DockerImage.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public interface BundlingOptions : DockerRunOptions { * @param format Output format for the generated JavaScript files. */ override fun format(format: OutputFormat) { - cdkBuilder.format(format.let(OutputFormat::unwrap)) + cdkBuilder.format(format.let(OutputFormat.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public interface BundlingOptions : DockerRunOptions { * applies to its specific install command. */ override fun logLevel(logLevel: LogLevel) { - cdkBuilder.logLevel(logLevel.let(LogLevel::unwrap)) + cdkBuilder.logLevel(logLevel.let(LogLevel.Companion::unwrap)) } /** @@ -1078,7 +1078,7 @@ public interface BundlingOptions : DockerRunOptions { * @param sourceMapMode Source map mode to be used when bundling. */ override fun sourceMapMode(sourceMapMode: SourceMapMode) { - cdkBuilder.sourceMapMode(sourceMapMode.let(SourceMapMode::unwrap)) + cdkBuilder.sourceMapMode(sourceMapMode.let(SourceMapMode.Companion::unwrap)) } /** @@ -1122,7 +1122,7 @@ public interface BundlingOptions : DockerRunOptions { * @param volumes Docker volumes to mount. */ override fun volumes(volumes: List) { - cdkBuilder.volumes(volumes.map(DockerVolume::unwrap)) + cdkBuilder.volumes(volumes.map(DockerVolume.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunction.kt index ebbd3943ba..f61c91228a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunction.kt @@ -64,7 +64,7 @@ public open class NodejsFunction( cdkObject: software.amazon.awscdk.services.lambda.nodejs.NodejsFunction, ) : Function(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.lambda.nodejs.NodejsFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.lambda.nodejs.NodejsFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -73,8 +73,8 @@ public open class NodejsFunction( id: String, props: NodejsFunctionProps, ) : - this(software.amazon.awscdk.services.lambda.nodejs.NodejsFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NodejsFunctionProps::unwrap)) + this(software.amazon.awscdk.services.lambda.nodejs.NodejsFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NodejsFunctionProps.Companion::unwrap)) ) public constructor( @@ -865,7 +865,7 @@ public open class NodejsFunction( * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -934,7 +934,7 @@ public open class NodejsFunction( * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public open class NodejsFunction( * @param bundling Bundling options. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -986,7 +986,7 @@ public open class NodejsFunction( * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -999,7 +999,7 @@ public open class NodejsFunction( * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public open class NodejsFunction( * @param deadLetterQueue The SQS queue to use if DLQ is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -1055,7 +1055,7 @@ public open class NodejsFunction( * @param deadLetterTopic The SNS topic to use as a DLQ. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -1128,7 +1128,7 @@ public open class NodejsFunction( * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** @@ -1139,7 +1139,7 @@ public open class NodejsFunction( * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -1152,7 +1152,7 @@ public open class NodejsFunction( * @param events Event sources for this function. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -1174,7 +1174,7 @@ public open class NodejsFunction( * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1213,7 +1213,7 @@ public open class NodejsFunction( * @param initialPolicy Initial policy statements to add to the created Lambda Role. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class NodejsFunction( * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1268,7 +1268,7 @@ public open class NodejsFunction( * @param layers A list of layers to add to the function's execution environment. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1315,7 +1315,7 @@ public open class NodejsFunction( * @param logGroup The log group the function sends logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1345,7 +1345,7 @@ public open class NodejsFunction( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1364,7 +1364,7 @@ public open class NodejsFunction( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1402,7 +1402,7 @@ public open class NodejsFunction( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class NodejsFunction( * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1428,7 +1428,7 @@ public open class NodejsFunction( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1454,7 +1454,7 @@ public open class NodejsFunction( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -1465,7 +1465,7 @@ public open class NodejsFunction( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -1477,7 +1477,7 @@ public open class NodejsFunction( * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1501,7 +1501,7 @@ public open class NodejsFunction( * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1564,7 +1564,7 @@ public open class NodejsFunction( * @param role Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1579,7 +1579,7 @@ public open class NodejsFunction( * @param runtime The runtime environment. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1591,7 +1591,7 @@ public open class NodejsFunction( * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1607,7 +1607,7 @@ public open class NodejsFunction( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1635,7 +1635,7 @@ public open class NodejsFunction( * @param snapStart Enable SnapStart for Lambda Function. */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1661,7 +1661,7 @@ public open class NodejsFunction( * function. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1672,7 +1672,7 @@ public open class NodejsFunction( * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1686,7 +1686,7 @@ public open class NodejsFunction( * @param vpc VPC network to place Lambda network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1703,7 +1703,7 @@ public open class NodejsFunction( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunctionProps.kt index 243a3970bb..0fe9d3f4ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lambda/nodejs/NodejsFunctionProps.kt @@ -602,7 +602,7 @@ public interface NodejsFunctionProps : FunctionOptions { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public interface NodejsFunctionProps : FunctionOptions { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public interface NodejsFunctionProps : FunctionOptions { * @param bundling Bundling options. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public interface NodejsFunctionProps : FunctionOptions { * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -687,7 +687,7 @@ public interface NodejsFunctionProps : FunctionOptions { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public interface NodejsFunctionProps : FunctionOptions { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -723,7 +723,7 @@ public interface NodejsFunctionProps : FunctionOptions { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -769,14 +769,14 @@ public interface NodejsFunctionProps : FunctionOptions { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -784,7 +784,7 @@ public interface NodejsFunctionProps : FunctionOptions { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -797,7 +797,7 @@ public interface NodejsFunctionProps : FunctionOptions { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public interface NodejsFunctionProps : FunctionOptions { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -836,7 +836,7 @@ public interface NodejsFunctionProps : FunctionOptions { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -856,7 +856,7 @@ public interface NodejsFunctionProps : FunctionOptions { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public interface NodejsFunctionProps : FunctionOptions { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -916,7 +916,7 @@ public interface NodejsFunctionProps : FunctionOptions { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface NodejsFunctionProps : FunctionOptions { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -955,14 +955,14 @@ public interface NodejsFunctionProps : FunctionOptions { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public interface NodejsFunctionProps : FunctionOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -989,21 +989,21 @@ public interface NodejsFunctionProps : FunctionOptions { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1017,7 +1017,7 @@ public interface NodejsFunctionProps : FunctionOptions { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1058,7 +1058,7 @@ public interface NodejsFunctionProps : FunctionOptions { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1067,7 +1067,7 @@ public interface NodejsFunctionProps : FunctionOptions { * supported. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1075,7 +1075,7 @@ public interface NodejsFunctionProps : FunctionOptions { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1084,7 +1084,7 @@ public interface NodejsFunctionProps : FunctionOptions { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1100,7 +1100,7 @@ public interface NodejsFunctionProps : FunctionOptions { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1117,14 +1117,14 @@ public interface NodejsFunctionProps : FunctionOptions { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1133,7 +1133,7 @@ public interface NodejsFunctionProps : FunctionOptions { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1145,7 +1145,7 @@ public interface NodejsFunctionProps : FunctionOptions { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBot.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBot.kt index 2e03382113..64491772c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBot.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBot.kt @@ -43,8 +43,8 @@ public open class CfnBot( id: String, props: CfnBotProps, ) : - this(software.amazon.awscdk.services.lex.CfnBot(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBotProps::unwrap)) + this(software.amazon.awscdk.services.lex.CfnBot(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBotProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnBot( * change. */ public open fun autoBuildBotLocales(`value`: IResolvable) { - unwrap(this).setAutoBuildBotLocales(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoBuildBotLocales(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -95,14 +95,14 @@ public open class CfnBot( * The Amazon S3 location of files used to import a bot. */ public open fun botFileS3Location(`value`: IResolvable) { - unwrap(this).setBotFileS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setBotFileS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon S3 location of files used to import a bot. */ public open fun botFileS3Location(`value`: S3LocationProperty) { - unwrap(this).setBotFileS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setBotFileS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnBot( * A list of locales for the bot. */ public open fun botLocales(`value`: IResolvable) { - unwrap(this).setBotLocales(`value`.let(IResolvable::unwrap)) + unwrap(this).setBotLocales(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnBot( * A list of tags to add to the bot. */ public open fun botTags(`value`: IResolvable) { - unwrap(this).setBotTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setBotTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnBot( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public open class CfnBot( * Specifies configuration settings for the alias used to test the bot. */ public open fun testBotAliasSettings(`value`: IResolvable) { - unwrap(this).setTestBotAliasSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setTestBotAliasSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies configuration settings for the alias used to test the bot. */ public open fun testBotAliasSettings(`value`: TestBotAliasSettingsProperty) { - unwrap(this).setTestBotAliasSettings(`value`.let(TestBotAliasSettingsProperty::unwrap)) + unwrap(this).setTestBotAliasSettings(`value`.let(TestBotAliasSettingsProperty.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnBot( * A list of tags to add to the test alias for a bot. */ public open fun testBotAliasTags(`value`: IResolvable) { - unwrap(this).setTestBotAliasTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setTestBotAliasTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public open class CfnBot( * locales for the bot after a change. */ override fun autoBuildBotLocales(autoBuildBotLocales: IResolvable) { - cdkBuilder.autoBuildBotLocales(autoBuildBotLocales.let(IResolvable::unwrap)) + cdkBuilder.autoBuildBotLocales(autoBuildBotLocales.let(IResolvable.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public open class CfnBot( * @param botFileS3Location The Amazon S3 location of files used to import a bot. */ override fun botFileS3Location(botFileS3Location: IResolvable) { - cdkBuilder.botFileS3Location(botFileS3Location.let(IResolvable::unwrap)) + cdkBuilder.botFileS3Location(botFileS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class CfnBot( * @param botFileS3Location The Amazon S3 location of files used to import a bot. */ override fun botFileS3Location(botFileS3Location: S3LocationProperty) { - cdkBuilder.botFileS3Location(botFileS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.botFileS3Location(botFileS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnBot( * @param botLocales A list of locales for the bot. */ override fun botLocales(botLocales: IResolvable) { - cdkBuilder.botLocales(botLocales.let(IResolvable::unwrap)) + cdkBuilder.botLocales(botLocales.let(IResolvable.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnBot( * @param botTags A list of tags to add to the bot. */ override fun botTags(botTags: IResolvable) { - cdkBuilder.botTags(botTags.let(IResolvable::unwrap)) + cdkBuilder.botTags(botTags.let(IResolvable.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public open class CfnBot( * bot. */ override fun testBotAliasSettings(testBotAliasSettings: IResolvable) { - cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(IResolvable::unwrap)) + cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(IResolvable.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class CfnBot( * bot. */ override fun testBotAliasSettings(testBotAliasSettings: TestBotAliasSettingsProperty) { - cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(TestBotAliasSettingsProperty::unwrap)) + cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(TestBotAliasSettingsProperty.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public open class CfnBot( * @param testBotAliasTags A list of tags to add to the test alias for a bot. */ override fun testBotAliasTags(testBotAliasTags: IResolvable) { - cdkBuilder.testBotAliasTags(testBotAliasTags.let(IResolvable::unwrap)) + cdkBuilder.testBotAliasTags(testBotAliasTags.let(IResolvable.Companion::unwrap)) } /** @@ -991,7 +991,7 @@ public open class CfnBot( * @param allowAudioInput Indicates whether audio input is allowed. */ override fun allowAudioInput(allowAudioInput: IResolvable) { - cdkBuilder.allowAudioInput(allowAudioInput.let(IResolvable::unwrap)) + cdkBuilder.allowAudioInput(allowAudioInput.let(IResolvable.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public open class CfnBot( * @param allowDtmfInput Indicates whether DTMF input is allowed. */ override fun allowDtmfInput(allowDtmfInput: IResolvable) { - cdkBuilder.allowDtmfInput(allowDtmfInput.let(IResolvable::unwrap)) + cdkBuilder.allowDtmfInput(allowDtmfInput.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.AllowedInputTypesProperty = @@ -1159,14 +1159,14 @@ public open class CfnBot( * @param audioSpecification Specifies the settings on audio input. */ override fun audioSpecification(audioSpecification: IResolvable) { - cdkBuilder.audioSpecification(audioSpecification.let(IResolvable::unwrap)) + cdkBuilder.audioSpecification(audioSpecification.let(IResolvable.Companion::unwrap)) } /** * @param audioSpecification Specifies the settings on audio input. */ override fun audioSpecification(audioSpecification: AudioSpecificationProperty) { - cdkBuilder.audioSpecification(audioSpecification.let(AudioSpecificationProperty::unwrap)) + cdkBuilder.audioSpecification(audioSpecification.let(AudioSpecificationProperty.Companion::unwrap)) } /** @@ -1182,14 +1182,14 @@ public open class CfnBot( * @param dtmfSpecification Specifies the settings on DTMF input. */ override fun dtmfSpecification(dtmfSpecification: IResolvable) { - cdkBuilder.dtmfSpecification(dtmfSpecification.let(IResolvable::unwrap)) + cdkBuilder.dtmfSpecification(dtmfSpecification.let(IResolvable.Companion::unwrap)) } /** * @param dtmfSpecification Specifies the settings on DTMF input. */ override fun dtmfSpecification(dtmfSpecification: DTMFSpecificationProperty) { - cdkBuilder.dtmfSpecification(dtmfSpecification.let(DTMFSpecificationProperty::unwrap)) + cdkBuilder.dtmfSpecification(dtmfSpecification.let(DTMFSpecificationProperty.Companion::unwrap)) } /** @@ -1323,14 +1323,14 @@ public open class CfnBot( * @param s3Bucket Specifies the Amazon S3 bucket where the audio files are stored. */ override fun s3Bucket(s3Bucket: IResolvable) { - cdkBuilder.s3Bucket(s3Bucket.let(IResolvable::unwrap)) + cdkBuilder.s3Bucket(s3Bucket.let(IResolvable.Companion::unwrap)) } /** * @param s3Bucket Specifies the Amazon S3 bucket where the audio files are stored. */ override fun s3Bucket(s3Bucket: S3BucketLogDestinationProperty) { - cdkBuilder.s3Bucket(s3Bucket.let(S3BucketLogDestinationProperty::unwrap)) + cdkBuilder.s3Bucket(s3Bucket.let(S3BucketLogDestinationProperty.Companion::unwrap)) } /** @@ -1462,7 +1462,7 @@ public open class CfnBot( * conversation logging is enabled for a bot. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -1470,7 +1470,7 @@ public open class CfnBot( * conversation logging is enabled for a bot. */ override fun destination(destination: AudioLogDestinationProperty) { - cdkBuilder.destination(destination.let(AudioLogDestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(AudioLogDestinationProperty.Companion::unwrap)) } /** @@ -1493,7 +1493,7 @@ public open class CfnBot( * @param enabled Determines whether audio logging in enabled for the bot. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.AudioLogSettingProperty = @@ -1731,14 +1731,14 @@ public open class CfnBot( * @param botAliasLocaleSetting Specifies locale settings for a locale. */ override fun botAliasLocaleSetting(botAliasLocaleSetting: IResolvable) { - cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(IResolvable::unwrap)) + cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(IResolvable.Companion::unwrap)) } /** * @param botAliasLocaleSetting Specifies locale settings for a locale. */ override fun botAliasLocaleSetting(botAliasLocaleSetting: BotAliasLocaleSettingsProperty) { - cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(BotAliasLocaleSettingsProperty::unwrap)) + cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(BotAliasLocaleSettingsProperty.Companion::unwrap)) } /** @@ -1891,7 +1891,7 @@ public open class CfnBot( * locale. */ override fun codeHookSpecification(codeHookSpecification: IResolvable) { - cdkBuilder.codeHookSpecification(codeHookSpecification.let(IResolvable::unwrap)) + cdkBuilder.codeHookSpecification(codeHookSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1899,7 +1899,7 @@ public open class CfnBot( * locale. */ override fun codeHookSpecification(codeHookSpecification: CodeHookSpecificationProperty) { - cdkBuilder.codeHookSpecification(codeHookSpecification.let(CodeHookSpecificationProperty::unwrap)) + cdkBuilder.codeHookSpecification(codeHookSpecification.let(CodeHookSpecificationProperty.Companion::unwrap)) } /** @@ -1925,7 +1925,7 @@ public open class CfnBot( * If the value is `false` , the locale isn't available for use. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.BotAliasLocaleSettingsProperty @@ -2138,14 +2138,14 @@ public open class CfnBot( * @param customVocabulary Specifies a custom vocabulary to use with a specific locale. */ override fun customVocabulary(customVocabulary: IResolvable) { - cdkBuilder.customVocabulary(customVocabulary.let(IResolvable::unwrap)) + cdkBuilder.customVocabulary(customVocabulary.let(IResolvable.Companion::unwrap)) } /** * @param customVocabulary Specifies a custom vocabulary to use with a specific locale. */ override fun customVocabulary(customVocabulary: CustomVocabularyProperty) { - cdkBuilder.customVocabulary(customVocabulary.let(CustomVocabularyProperty::unwrap)) + cdkBuilder.customVocabulary(customVocabulary.let(CustomVocabularyProperty.Companion::unwrap)) } /** @@ -2168,7 +2168,7 @@ public open class CfnBot( * @param intents One or more intents defined for the locale. */ override fun intents(intents: IResolvable) { - cdkBuilder.intents(intents.let(IResolvable::unwrap)) + cdkBuilder.intents(intents.let(IResolvable.Companion::unwrap)) } /** @@ -2205,7 +2205,7 @@ public open class CfnBot( * @param slotTypes One or more slot types defined for the locale. */ override fun slotTypes(slotTypes: IResolvable) { - cdkBuilder.slotTypes(slotTypes.let(IResolvable::unwrap)) + cdkBuilder.slotTypes(slotTypes.let(IResolvable.Companion::unwrap)) } /** @@ -2225,7 +2225,7 @@ public open class CfnBot( * user. */ override fun voiceSettings(voiceSettings: IResolvable) { - cdkBuilder.voiceSettings(voiceSettings.let(IResolvable::unwrap)) + cdkBuilder.voiceSettings(voiceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2233,7 +2233,7 @@ public open class CfnBot( * user. */ override fun voiceSettings(voiceSettings: VoiceSettingsProperty) { - cdkBuilder.voiceSettings(voiceSettings.let(VoiceSettingsProperty::unwrap)) + cdkBuilder.voiceSettings(voiceSettings.let(VoiceSettingsProperty.Companion::unwrap)) } /** @@ -2623,7 +2623,7 @@ public open class CfnBot( * fulfills the user's request to a bot. */ override fun lambdaCodeHook(lambdaCodeHook: IResolvable) { - cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(IResolvable::unwrap)) + cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(IResolvable.Companion::unwrap)) } /** @@ -2631,7 +2631,7 @@ public open class CfnBot( * fulfills the user's request to a bot. */ override fun lambdaCodeHook(lambdaCodeHook: LambdaCodeHookProperty) { - cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(LambdaCodeHookProperty::unwrap)) + cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(LambdaCodeHookProperty.Companion::unwrap)) } /** @@ -2959,7 +2959,7 @@ public open class CfnBot( * If the condition is true, the branch's actions are taken. */ override fun condition(condition: IResolvable) { - cdkBuilder.condition(condition.let(IResolvable::unwrap)) + cdkBuilder.condition(condition.let(IResolvable.Companion::unwrap)) } /** @@ -2967,7 +2967,7 @@ public open class CfnBot( * If the condition is true, the branch's actions are taken. */ override fun condition(condition: ConditionProperty) { - cdkBuilder.condition(condition.let(ConditionProperty::unwrap)) + cdkBuilder.condition(condition.let(ConditionProperty.Companion::unwrap)) } /** @@ -2990,14 +2990,14 @@ public open class CfnBot( * @param nextStep The next step in the conversation. */ override fun nextStep(nextStep: IResolvable) { - cdkBuilder.nextStep(nextStep.let(IResolvable::unwrap)) + cdkBuilder.nextStep(nextStep.let(IResolvable.Companion::unwrap)) } /** * @param nextStep The next step in the conversation. */ override fun nextStep(nextStep: DialogStateProperty) { - cdkBuilder.nextStep(nextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.nextStep(nextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -3013,7 +3013,7 @@ public open class CfnBot( * input. */ override fun response(response: IResolvable) { - cdkBuilder.response(response.let(IResolvable::unwrap)) + cdkBuilder.response(response.let(IResolvable.Companion::unwrap)) } /** @@ -3021,7 +3021,7 @@ public open class CfnBot( * input. */ override fun response(response: ResponseSpecificationProperty) { - cdkBuilder.response(response.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.response(response.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -3374,7 +3374,7 @@ public open class CfnBot( * and next step are executed when the condition is true. */ override fun conditionalBranches(conditionalBranches: IResolvable) { - cdkBuilder.conditionalBranches(conditionalBranches.let(IResolvable::unwrap)) + cdkBuilder.conditionalBranches(conditionalBranches.let(IResolvable.Companion::unwrap)) } /** @@ -3400,7 +3400,7 @@ public open class CfnBot( * A conditional branch is made up of a condition, a response and a next step. */ override fun defaultBranch(defaultBranch: IResolvable) { - cdkBuilder.defaultBranch(defaultBranch.let(IResolvable::unwrap)) + cdkBuilder.defaultBranch(defaultBranch.let(IResolvable.Companion::unwrap)) } /** @@ -3409,7 +3409,7 @@ public open class CfnBot( * A conditional branch is made up of a condition, a response and a next step. */ override fun defaultBranch(defaultBranch: DefaultConditionalBranchProperty) { - cdkBuilder.defaultBranch(defaultBranch.let(DefaultConditionalBranchProperty::unwrap)) + cdkBuilder.defaultBranch(defaultBranch.let(DefaultConditionalBranchProperty.Companion::unwrap)) } /** @@ -3436,7 +3436,7 @@ public open class CfnBot( * When `IsActive` is false, the conditions are not evaluated. */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3592,7 +3592,7 @@ public open class CfnBot( * @param audioLogSettings The Amazon S3 settings for logging audio to an S3 bucket. */ override fun audioLogSettings(audioLogSettings: IResolvable) { - cdkBuilder.audioLogSettings(audioLogSettings.let(IResolvable::unwrap)) + cdkBuilder.audioLogSettings(audioLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3612,7 +3612,7 @@ public open class CfnBot( * @param textLogSettings The Amazon CloudWatch Logs settings for logging text and metadata. */ override fun textLogSettings(textLogSettings: IResolvable) { - cdkBuilder.textLogSettings(textLogSettings.let(IResolvable::unwrap)) + cdkBuilder.textLogSettings(textLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3959,7 +3959,7 @@ public open class CfnBot( * conversation with your bot. */ override fun customVocabularyItems(customVocabularyItems: IResolvable) { - cdkBuilder.customVocabularyItems(customVocabularyItems.let(IResolvable::unwrap)) + cdkBuilder.customVocabularyItems(customVocabularyItems.let(IResolvable.Companion::unwrap)) } /** @@ -4332,7 +4332,7 @@ public open class CfnBot( * FAQ](https://docs.aws.amazon.com/lex/faqs#data-security) . */ override fun childDirected(childDirected: IResolvable) { - cdkBuilder.childDirected(childDirected.let(IResolvable::unwrap)) + cdkBuilder.childDirected(childDirected.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.DataPrivacyProperty = @@ -4544,14 +4544,14 @@ public open class CfnBot( * @param nextStep The next step in the conversation. */ override fun nextStep(nextStep: IResolvable) { - cdkBuilder.nextStep(nextStep.let(IResolvable::unwrap)) + cdkBuilder.nextStep(nextStep.let(IResolvable.Companion::unwrap)) } /** * @param nextStep The next step in the conversation. */ override fun nextStep(nextStep: DialogStateProperty) { - cdkBuilder.nextStep(nextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.nextStep(nextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -4567,7 +4567,7 @@ public open class CfnBot( * input. */ override fun response(response: IResolvable) { - cdkBuilder.response(response.let(IResolvable::unwrap)) + cdkBuilder.response(response.let(IResolvable.Companion::unwrap)) } /** @@ -4575,7 +4575,7 @@ public open class CfnBot( * input. */ override fun response(response: ResponseSpecificationProperty) { - cdkBuilder.response(response.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.response(response.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -4720,7 +4720,7 @@ public open class CfnBot( * @param suppressNextMessage When true the next message for the intent is not used. */ override fun suppressNextMessage(suppressNextMessage: IResolvable) { - cdkBuilder.suppressNextMessage(suppressNextMessage.let(IResolvable::unwrap)) + cdkBuilder.suppressNextMessage(suppressNextMessage.let(IResolvable.Companion::unwrap)) } /** @@ -4893,7 +4893,7 @@ public open class CfnBot( * the dialog. */ override fun enableCodeHookInvocation(enableCodeHookInvocation: IResolvable) { - cdkBuilder.enableCodeHookInvocation(enableCodeHookInvocation.let(IResolvable::unwrap)) + cdkBuilder.enableCodeHookInvocation(enableCodeHookInvocation.let(IResolvable.Companion::unwrap)) } /** @@ -4917,7 +4917,7 @@ public open class CfnBot( * */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } /** @@ -4925,7 +4925,7 @@ public open class CfnBot( * after the Lambda function is complete. */ override fun postCodeHookSpecification(postCodeHookSpecification: IResolvable) { - cdkBuilder.postCodeHookSpecification(postCodeHookSpecification.let(IResolvable::unwrap)) + cdkBuilder.postCodeHookSpecification(postCodeHookSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -4934,7 +4934,7 @@ public open class CfnBot( */ override fun postCodeHookSpecification(postCodeHookSpecification: PostDialogCodeHookInvocationSpecificationProperty) { - cdkBuilder.postCodeHookSpecification(postCodeHookSpecification.let(PostDialogCodeHookInvocationSpecificationProperty::unwrap)) + cdkBuilder.postCodeHookSpecification(postCodeHookSpecification.let(PostDialogCodeHookInvocationSpecificationProperty.Companion::unwrap)) } /** @@ -5062,7 +5062,7 @@ public open class CfnBot( * @param enabled Enables the dialog code hook so that it processes user requests. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.DialogCodeHookSettingProperty = @@ -5235,7 +5235,7 @@ public open class CfnBot( * conversation reaches this step. */ override fun dialogAction(dialogAction: IResolvable) { - cdkBuilder.dialogAction(dialogAction.let(IResolvable::unwrap)) + cdkBuilder.dialogAction(dialogAction.let(IResolvable.Companion::unwrap)) } /** @@ -5243,7 +5243,7 @@ public open class CfnBot( * conversation reaches this step. */ override fun dialogAction(dialogAction: DialogActionProperty) { - cdkBuilder.dialogAction(dialogAction.let(DialogActionProperty::unwrap)) + cdkBuilder.dialogAction(dialogAction.let(DialogActionProperty.Companion::unwrap)) } /** @@ -5259,14 +5259,14 @@ public open class CfnBot( * @param intent Override settings to configure the intent state. */ override fun intent(intent: IResolvable) { - cdkBuilder.intent(intent.let(IResolvable::unwrap)) + cdkBuilder.intent(intent.let(IResolvable.Companion::unwrap)) } /** * @param intent Override settings to configure the intent state. */ override fun intent(intent: IntentOverrideProperty) { - cdkBuilder.intent(intent.let(IntentOverrideProperty::unwrap)) + cdkBuilder.intent(intent.let(IntentOverrideProperty.Companion::unwrap)) } /** @@ -5283,7 +5283,7 @@ public open class CfnBot( * It contains application information passed between Amazon Lex and a client application. */ override fun sessionAttributes(sessionAttributes: IResolvable) { - cdkBuilder.sessionAttributes(sessionAttributes.let(IResolvable::unwrap)) + cdkBuilder.sessionAttributes(sessionAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -5429,7 +5429,7 @@ public open class CfnBot( * the dialog. */ override fun enableCodeHookInvocation(enableCodeHookInvocation: IResolvable) { - cdkBuilder.enableCodeHookInvocation(enableCodeHookInvocation.let(IResolvable::unwrap)) + cdkBuilder.enableCodeHookInvocation(enableCodeHookInvocation.let(IResolvable.Companion::unwrap)) } /** @@ -5551,7 +5551,7 @@ public open class CfnBot( * provide. */ override fun grammarSlotTypeSetting(grammarSlotTypeSetting: IResolvable) { - cdkBuilder.grammarSlotTypeSetting(grammarSlotTypeSetting.let(IResolvable::unwrap)) + cdkBuilder.grammarSlotTypeSetting(grammarSlotTypeSetting.let(IResolvable.Companion::unwrap)) } /** @@ -5559,7 +5559,7 @@ public open class CfnBot( * provide. */ override fun grammarSlotTypeSetting(grammarSlotTypeSetting: GrammarSlotTypeSettingProperty) { - cdkBuilder.grammarSlotTypeSetting(grammarSlotTypeSetting.let(GrammarSlotTypeSettingProperty::unwrap)) + cdkBuilder.grammarSlotTypeSetting(grammarSlotTypeSetting.let(GrammarSlotTypeSettingProperty.Companion::unwrap)) } /** @@ -5752,7 +5752,7 @@ public open class CfnBot( * intent. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -5761,7 +5761,7 @@ public open class CfnBot( * Fulfillment updates can be used only with streaming conversations. */ override fun fulfillmentUpdatesSpecification(fulfillmentUpdatesSpecification: IResolvable) { - cdkBuilder.fulfillmentUpdatesSpecification(fulfillmentUpdatesSpecification.let(IResolvable::unwrap)) + cdkBuilder.fulfillmentUpdatesSpecification(fulfillmentUpdatesSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -5771,7 +5771,7 @@ public open class CfnBot( */ override fun fulfillmentUpdatesSpecification(fulfillmentUpdatesSpecification: FulfillmentUpdatesSpecificationProperty) { - cdkBuilder.fulfillmentUpdatesSpecification(fulfillmentUpdatesSpecification.let(FulfillmentUpdatesSpecificationProperty::unwrap)) + cdkBuilder.fulfillmentUpdatesSpecification(fulfillmentUpdatesSpecification.let(FulfillmentUpdatesSpecificationProperty.Companion::unwrap)) } /** @@ -5799,7 +5799,7 @@ public open class CfnBot( * When `active` is false, the code hook doesn't run. */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } /** @@ -5809,7 +5809,7 @@ public open class CfnBot( */ override fun postFulfillmentStatusSpecification(postFulfillmentStatusSpecification: IResolvable) { - cdkBuilder.postFulfillmentStatusSpecification(postFulfillmentStatusSpecification.let(IResolvable::unwrap)) + cdkBuilder.postFulfillmentStatusSpecification(postFulfillmentStatusSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -5819,7 +5819,7 @@ public open class CfnBot( */ override fun postFulfillmentStatusSpecification(postFulfillmentStatusSpecification: PostFulfillmentStatusSpecificationProperty) { - cdkBuilder.postFulfillmentStatusSpecification(postFulfillmentStatusSpecification.let(PostFulfillmentStatusSpecificationProperty::unwrap)) + cdkBuilder.postFulfillmentStatusSpecification(postFulfillmentStatusSpecification.let(PostFulfillmentStatusSpecificationProperty.Companion::unwrap)) } /** @@ -6054,7 +6054,7 @@ public open class CfnBot( * is playing. */ override fun allowInterrupt(allowInterrupt: IResolvable) { - cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable::unwrap)) + cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable.Companion::unwrap)) } /** @@ -6071,7 +6071,7 @@ public open class CfnBot( * Amazon Lex chooses one of the messages to play to the user. */ override fun messageGroups(messageGroups: IResolvable) { - cdkBuilder.messageGroups(messageGroups.let(IResolvable::unwrap)) + cdkBuilder.messageGroups(messageGroups.let(IResolvable.Companion::unwrap)) } /** @@ -6299,7 +6299,7 @@ public open class CfnBot( * is playing. */ override fun allowInterrupt(allowInterrupt: IResolvable) { - cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable::unwrap)) + cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable.Companion::unwrap)) } /** @@ -6317,7 +6317,7 @@ public open class CfnBot( * Amazon Lex chooses one of the messages to play to the user. */ override fun messageGroups(messageGroups: IResolvable) { - cdkBuilder.messageGroups(messageGroups.let(IResolvable::unwrap)) + cdkBuilder.messageGroups(messageGroups.let(IResolvable.Companion::unwrap)) } /** @@ -6637,7 +6637,7 @@ public open class CfnBot( * `timeoutInSeconds` fields are required. */ override fun active(active: IResolvable) { - cdkBuilder.active(active.let(IResolvable::unwrap)) + cdkBuilder.active(active.let(IResolvable.Companion::unwrap)) } /** @@ -6645,7 +6645,7 @@ public open class CfnBot( * the fulfillment Lambda functions starts running. */ override fun startResponse(startResponse: IResolvable) { - cdkBuilder.startResponse(startResponse.let(IResolvable::unwrap)) + cdkBuilder.startResponse(startResponse.let(IResolvable.Companion::unwrap)) } /** @@ -6653,7 +6653,7 @@ public open class CfnBot( * the fulfillment Lambda functions starts running. */ override fun startResponse(startResponse: FulfillmentStartResponseSpecificationProperty) { - cdkBuilder.startResponse(startResponse.let(FulfillmentStartResponseSpecificationProperty::unwrap)) + cdkBuilder.startResponse(startResponse.let(FulfillmentStartResponseSpecificationProperty.Companion::unwrap)) } /** @@ -6679,7 +6679,7 @@ public open class CfnBot( * the user while the fulfillment Lambda function is running. */ override fun updateResponse(updateResponse: IResolvable) { - cdkBuilder.updateResponse(updateResponse.let(IResolvable::unwrap)) + cdkBuilder.updateResponse(updateResponse.let(IResolvable.Companion::unwrap)) } /** @@ -6687,7 +6687,7 @@ public open class CfnBot( * the user while the fulfillment Lambda function is running. */ override fun updateResponse(updateResponse: FulfillmentUpdateResponseSpecificationProperty) { - cdkBuilder.updateResponse(updateResponse.let(FulfillmentUpdateResponseSpecificationProperty::unwrap)) + cdkBuilder.updateResponse(updateResponse.let(FulfillmentUpdateResponseSpecificationProperty.Companion::unwrap)) } /** @@ -6824,14 +6824,14 @@ public open class CfnBot( * @param source The source of the grammar used to create the slot type. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The source of the grammar used to create the slot type. */ override fun source(source: GrammarSlotTypeSourceProperty) { - cdkBuilder.source(source.let(GrammarSlotTypeSourceProperty::unwrap)) + cdkBuilder.source(source.let(GrammarSlotTypeSourceProperty.Companion::unwrap)) } /** @@ -7131,7 +7131,7 @@ public open class CfnBot( * The arrangement of the buttons is determined by the platform that displays the button. */ override fun buttons(buttons: IResolvable) { - cdkBuilder.buttons(buttons.let(IResolvable::unwrap)) + cdkBuilder.buttons(buttons.let(IResolvable.Companion::unwrap)) } /** @@ -7383,7 +7383,7 @@ public open class CfnBot( * a step of the conversation. */ override fun codeHook(codeHook: IResolvable) { - cdkBuilder.codeHook(codeHook.let(IResolvable::unwrap)) + cdkBuilder.codeHook(codeHook.let(IResolvable.Companion::unwrap)) } /** @@ -7391,7 +7391,7 @@ public open class CfnBot( * a step of the conversation. */ override fun codeHook(codeHook: DialogCodeHookInvocationSettingProperty) { - cdkBuilder.codeHook(codeHook.let(DialogCodeHookInvocationSettingProperty::unwrap)) + cdkBuilder.codeHook(codeHook.let(DialogCodeHookInvocationSettingProperty.Companion::unwrap)) } /** @@ -7411,7 +7411,7 @@ public open class CfnBot( * branch is executed if no other branch has a matching condition. */ override fun conditional(conditional: IResolvable) { - cdkBuilder.conditional(conditional.let(IResolvable::unwrap)) + cdkBuilder.conditional(conditional.let(IResolvable.Companion::unwrap)) } /** @@ -7422,7 +7422,7 @@ public open class CfnBot( * branch is executed if no other branch has a matching condition. */ override fun conditional(conditional: ConditionalSpecificationProperty) { - cdkBuilder.conditional(conditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.conditional(conditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -7442,7 +7442,7 @@ public open class CfnBot( * the user input. */ override fun initialResponse(initialResponse: IResolvable) { - cdkBuilder.initialResponse(initialResponse.let(IResolvable::unwrap)) + cdkBuilder.initialResponse(initialResponse.let(IResolvable.Companion::unwrap)) } /** @@ -7450,7 +7450,7 @@ public open class CfnBot( * the user input. */ override fun initialResponse(initialResponse: ResponseSpecificationProperty) { - cdkBuilder.initialResponse(initialResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.initialResponse(initialResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -7467,14 +7467,14 @@ public open class CfnBot( * @param nextStep The next step in the conversation. */ override fun nextStep(nextStep: IResolvable) { - cdkBuilder.nextStep(nextStep.let(IResolvable::unwrap)) + cdkBuilder.nextStep(nextStep.let(IResolvable.Companion::unwrap)) } /** * @param nextStep The next step in the conversation. */ override fun nextStep(nextStep: DialogStateProperty) { - cdkBuilder.nextStep(nextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.nextStep(nextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -8009,7 +8009,7 @@ public open class CfnBot( * complete. */ override fun closingResponse(closingResponse: IResolvable) { - cdkBuilder.closingResponse(closingResponse.let(IResolvable::unwrap)) + cdkBuilder.closingResponse(closingResponse.let(IResolvable.Companion::unwrap)) } /** @@ -8017,7 +8017,7 @@ public open class CfnBot( * complete. */ override fun closingResponse(closingResponse: ResponseSpecificationProperty) { - cdkBuilder.closingResponse(closingResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.closingResponse(closingResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -8037,7 +8037,7 @@ public open class CfnBot( * . */ override fun conditional(conditional: IResolvable) { - cdkBuilder.conditional(conditional.let(IResolvable::unwrap)) + cdkBuilder.conditional(conditional.let(IResolvable.Companion::unwrap)) } /** @@ -8047,7 +8047,7 @@ public open class CfnBot( * . */ override fun conditional(conditional: ConditionalSpecificationProperty) { - cdkBuilder.conditional(conditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.conditional(conditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -8076,7 +8076,7 @@ public open class CfnBot( * field isn't specified, the default is true. */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } /** @@ -8084,7 +8084,7 @@ public open class CfnBot( * closing response. */ override fun nextStep(nextStep: IResolvable) { - cdkBuilder.nextStep(nextStep.let(IResolvable::unwrap)) + cdkBuilder.nextStep(nextStep.let(IResolvable.Companion::unwrap)) } /** @@ -8092,7 +8092,7 @@ public open class CfnBot( * closing response. */ override fun nextStep(nextStep: DialogStateProperty) { - cdkBuilder.nextStep(nextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.nextStep(nextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -8598,7 +8598,7 @@ public open class CfnBot( * next step or declination next step or failure next step is `InvokeDialogCodeHook` . */ override fun codeHook(codeHook: IResolvable) { - cdkBuilder.codeHook(codeHook.let(IResolvable::unwrap)) + cdkBuilder.codeHook(codeHook.let(IResolvable.Companion::unwrap)) } /** @@ -8608,7 +8608,7 @@ public open class CfnBot( * next step or declination next step or failure next step is `InvokeDialogCodeHook` . */ override fun codeHook(codeHook: DialogCodeHookInvocationSettingProperty) { - cdkBuilder.codeHook(codeHook.let(DialogCodeHookInvocationSettingProperty::unwrap)) + cdkBuilder.codeHook(codeHook.let(DialogCodeHookInvocationSettingProperty.Companion::unwrap)) } /** @@ -8627,7 +8627,7 @@ public open class CfnBot( * is closed. */ override fun confirmationConditional(confirmationConditional: IResolvable) { - cdkBuilder.confirmationConditional(confirmationConditional.let(IResolvable::unwrap)) + cdkBuilder.confirmationConditional(confirmationConditional.let(IResolvable.Companion::unwrap)) } /** @@ -8636,7 +8636,7 @@ public open class CfnBot( */ override fun confirmationConditional(confirmationConditional: ConditionalSpecificationProperty) { - cdkBuilder.confirmationConditional(confirmationConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.confirmationConditional(confirmationConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -8654,7 +8654,7 @@ public open class CfnBot( * confirms the intent. */ override fun confirmationNextStep(confirmationNextStep: IResolvable) { - cdkBuilder.confirmationNextStep(confirmationNextStep.let(IResolvable::unwrap)) + cdkBuilder.confirmationNextStep(confirmationNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -8662,7 +8662,7 @@ public open class CfnBot( * confirms the intent. */ override fun confirmationNextStep(confirmationNextStep: DialogStateProperty) { - cdkBuilder.confirmationNextStep(confirmationNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.confirmationNextStep(confirmationNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -8680,7 +8680,7 @@ public open class CfnBot( * respond the user input. */ override fun confirmationResponse(confirmationResponse: IResolvable) { - cdkBuilder.confirmationResponse(confirmationResponse.let(IResolvable::unwrap)) + cdkBuilder.confirmationResponse(confirmationResponse.let(IResolvable.Companion::unwrap)) } /** @@ -8688,7 +8688,7 @@ public open class CfnBot( * respond the user input. */ override fun confirmationResponse(confirmationResponse: ResponseSpecificationProperty) { - cdkBuilder.confirmationResponse(confirmationResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.confirmationResponse(confirmationResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -8706,7 +8706,7 @@ public open class CfnBot( * is declined. */ override fun declinationConditional(declinationConditional: IResolvable) { - cdkBuilder.declinationConditional(declinationConditional.let(IResolvable::unwrap)) + cdkBuilder.declinationConditional(declinationConditional.let(IResolvable.Companion::unwrap)) } /** @@ -8715,7 +8715,7 @@ public open class CfnBot( */ override fun declinationConditional(declinationConditional: ConditionalSpecificationProperty) { - cdkBuilder.declinationConditional(declinationConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.declinationConditional(declinationConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -8733,7 +8733,7 @@ public open class CfnBot( * declines the intent. */ override fun declinationNextStep(declinationNextStep: IResolvable) { - cdkBuilder.declinationNextStep(declinationNextStep.let(IResolvable::unwrap)) + cdkBuilder.declinationNextStep(declinationNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -8741,7 +8741,7 @@ public open class CfnBot( * declines the intent. */ override fun declinationNextStep(declinationNextStep: DialogStateProperty) { - cdkBuilder.declinationNextStep(declinationNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.declinationNextStep(declinationNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -8759,7 +8759,7 @@ public open class CfnBot( * was canceled. */ override fun declinationResponse(declinationResponse: IResolvable) { - cdkBuilder.declinationResponse(declinationResponse.let(IResolvable::unwrap)) + cdkBuilder.declinationResponse(declinationResponse.let(IResolvable.Companion::unwrap)) } /** @@ -8768,7 +8768,7 @@ public open class CfnBot( * was canceled. */ override fun declinationResponse(declinationResponse: ResponseSpecificationProperty) { - cdkBuilder.declinationResponse(declinationResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.declinationResponse(declinationResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -8787,7 +8787,7 @@ public open class CfnBot( * invoked during confirmation prompt retries. */ override fun elicitationCodeHook(elicitationCodeHook: IResolvable) { - cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(IResolvable::unwrap)) + cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(IResolvable.Companion::unwrap)) } /** @@ -8796,7 +8796,7 @@ public open class CfnBot( */ override fun elicitationCodeHook(elicitationCodeHook: ElicitationCodeHookInvocationSettingProperty) { - cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(ElicitationCodeHookInvocationSettingProperty::unwrap)) + cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(ElicitationCodeHookInvocationSettingProperty.Companion::unwrap)) } /** @@ -8818,7 +8818,7 @@ public open class CfnBot( * branch is executed if no other branch has a matching condition. */ override fun failureConditional(failureConditional: IResolvable) { - cdkBuilder.failureConditional(failureConditional.let(IResolvable::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(IResolvable.Companion::unwrap)) } /** @@ -8829,7 +8829,7 @@ public open class CfnBot( * branch is executed if no other branch has a matching condition. */ override fun failureConditional(failureConditional: ConditionalSpecificationProperty) { - cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -8850,7 +8850,7 @@ public open class CfnBot( * fails. */ override fun failureNextStep(failureNextStep: IResolvable) { - cdkBuilder.failureNextStep(failureNextStep.let(IResolvable::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -8858,7 +8858,7 @@ public open class CfnBot( * fails. */ override fun failureNextStep(failureNextStep: DialogStateProperty) { - cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -8875,7 +8875,7 @@ public open class CfnBot( * the user input when the intent confirmation fails. */ override fun failureResponse(failureResponse: IResolvable) { - cdkBuilder.failureResponse(failureResponse.let(IResolvable::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(IResolvable.Companion::unwrap)) } /** @@ -8883,7 +8883,7 @@ public open class CfnBot( * the user input when the intent confirmation fails. */ override fun failureResponse(failureResponse: ResponseSpecificationProperty) { - cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -8911,7 +8911,7 @@ public open class CfnBot( * `IsActive` field isn't specified, the default is true. */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } /** @@ -8924,7 +8924,7 @@ public open class CfnBot( * information. */ override fun promptSpecification(promptSpecification: IResolvable) { - cdkBuilder.promptSpecification(promptSpecification.let(IResolvable::unwrap)) + cdkBuilder.promptSpecification(promptSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -8937,7 +8937,7 @@ public open class CfnBot( * information. */ override fun promptSpecification(promptSpecification: PromptSpecificationProperty) { - cdkBuilder.promptSpecification(promptSpecification.let(PromptSpecificationProperty::unwrap)) + cdkBuilder.promptSpecification(promptSpecification.let(PromptSpecificationProperty.Companion::unwrap)) } /** @@ -9193,7 +9193,7 @@ public open class CfnBot( * aren't overridden. */ override fun slots(slots: IResolvable) { - cdkBuilder.slots(slots.let(IResolvable::unwrap)) + cdkBuilder.slots(slots.let(IResolvable.Companion::unwrap)) } /** @@ -9651,7 +9651,7 @@ public open class CfnBot( * You can invoke this Lambda function to personalize user interaction. */ override fun dialogCodeHook(dialogCodeHook: IResolvable) { - cdkBuilder.dialogCodeHook(dialogCodeHook.let(IResolvable::unwrap)) + cdkBuilder.dialogCodeHook(dialogCodeHook.let(IResolvable.Companion::unwrap)) } /** @@ -9660,7 +9660,7 @@ public open class CfnBot( * You can invoke this Lambda function to personalize user interaction. */ override fun dialogCodeHook(dialogCodeHook: DialogCodeHookSettingProperty) { - cdkBuilder.dialogCodeHook(dialogCodeHook.let(DialogCodeHookSettingProperty::unwrap)) + cdkBuilder.dialogCodeHook(dialogCodeHook.let(DialogCodeHookSettingProperty.Companion::unwrap)) } /** @@ -9679,7 +9679,7 @@ public open class CfnBot( * You can invoke this function to complete the bot's transaction with the user. */ override fun fulfillmentCodeHook(fulfillmentCodeHook: IResolvable) { - cdkBuilder.fulfillmentCodeHook(fulfillmentCodeHook.let(IResolvable::unwrap)) + cdkBuilder.fulfillmentCodeHook(fulfillmentCodeHook.let(IResolvable.Companion::unwrap)) } /** @@ -9688,7 +9688,7 @@ public open class CfnBot( * You can invoke this function to complete the bot's transaction with the user. */ override fun fulfillmentCodeHook(fulfillmentCodeHook: FulfillmentCodeHookSettingProperty) { - cdkBuilder.fulfillmentCodeHook(fulfillmentCodeHook.let(FulfillmentCodeHookSettingProperty::unwrap)) + cdkBuilder.fulfillmentCodeHook(fulfillmentCodeHook.let(FulfillmentCodeHookSettingProperty.Companion::unwrap)) } /** @@ -9707,7 +9707,7 @@ public open class CfnBot( * Amazon Lex starts eliciting slots. */ override fun initialResponseSetting(initialResponseSetting: IResolvable) { - cdkBuilder.initialResponseSetting(initialResponseSetting.let(IResolvable::unwrap)) + cdkBuilder.initialResponseSetting(initialResponseSetting.let(IResolvable.Companion::unwrap)) } /** @@ -9715,7 +9715,7 @@ public open class CfnBot( * Amazon Lex starts eliciting slots. */ override fun initialResponseSetting(initialResponseSetting: InitialResponseSettingProperty) { - cdkBuilder.initialResponseSetting(initialResponseSetting.let(InitialResponseSettingProperty::unwrap)) + cdkBuilder.initialResponseSetting(initialResponseSetting.let(InitialResponseSettingProperty.Companion::unwrap)) } /** @@ -9733,7 +9733,7 @@ public open class CfnBot( * considered by Amazon Lex . */ override fun inputContexts(inputContexts: IResolvable) { - cdkBuilder.inputContexts(inputContexts.let(IResolvable::unwrap)) + cdkBuilder.inputContexts(inputContexts.let(IResolvable.Companion::unwrap)) } /** @@ -9756,7 +9756,7 @@ public open class CfnBot( * intent is closed. */ override fun intentClosingSetting(intentClosingSetting: IResolvable) { - cdkBuilder.intentClosingSetting(intentClosingSetting.let(IResolvable::unwrap)) + cdkBuilder.intentClosingSetting(intentClosingSetting.let(IResolvable.Companion::unwrap)) } /** @@ -9764,7 +9764,7 @@ public open class CfnBot( * intent is closed. */ override fun intentClosingSetting(intentClosingSetting: IntentClosingSettingProperty) { - cdkBuilder.intentClosingSetting(intentClosingSetting.let(IntentClosingSettingProperty::unwrap)) + cdkBuilder.intentClosingSetting(intentClosingSetting.let(IntentClosingSettingProperty.Companion::unwrap)) } /** @@ -9784,7 +9784,7 @@ public open class CfnBot( * the intent. */ override fun intentConfirmationSetting(intentConfirmationSetting: IResolvable) { - cdkBuilder.intentConfirmationSetting(intentConfirmationSetting.let(IResolvable::unwrap)) + cdkBuilder.intentConfirmationSetting(intentConfirmationSetting.let(IResolvable.Companion::unwrap)) } /** @@ -9795,7 +9795,7 @@ public open class CfnBot( */ override fun intentConfirmationSetting(intentConfirmationSetting: IntentConfirmationSettingProperty) { - cdkBuilder.intentConfirmationSetting(intentConfirmationSetting.let(IntentConfirmationSettingProperty::unwrap)) + cdkBuilder.intentConfirmationSetting(intentConfirmationSetting.let(IntentConfirmationSettingProperty.Companion::unwrap)) } /** @@ -9818,7 +9818,7 @@ public open class CfnBot( * utterance. */ override fun kendraConfiguration(kendraConfiguration: IResolvable) { - cdkBuilder.kendraConfiguration(kendraConfiguration.let(IResolvable::unwrap)) + cdkBuilder.kendraConfiguration(kendraConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -9828,7 +9828,7 @@ public open class CfnBot( * utterance. */ override fun kendraConfiguration(kendraConfiguration: KendraConfigurationProperty) { - cdkBuilder.kendraConfiguration(kendraConfiguration.let(KendraConfigurationProperty::unwrap)) + cdkBuilder.kendraConfiguration(kendraConfiguration.let(KendraConfigurationProperty.Companion::unwrap)) } /** @@ -9856,7 +9856,7 @@ public open class CfnBot( * @param outputContexts A list of contexts that the intent activates when it is fulfilled. */ override fun outputContexts(outputContexts: IResolvable) { - cdkBuilder.outputContexts(outputContexts.let(IResolvable::unwrap)) + cdkBuilder.outputContexts(outputContexts.let(IResolvable.Companion::unwrap)) } /** @@ -9884,7 +9884,7 @@ public open class CfnBot( * @param sampleUtterances A list of utterances that a user might say to signal the intent. */ override fun sampleUtterances(sampleUtterances: IResolvable) { - cdkBuilder.sampleUtterances(sampleUtterances.let(IResolvable::unwrap)) + cdkBuilder.sampleUtterances(sampleUtterances.let(IResolvable.Companion::unwrap)) } /** @@ -9905,7 +9905,7 @@ public open class CfnBot( * Amazon Lex prompts the user for slot values in priority order. */ override fun slotPriorities(slotPriorities: IResolvable) { - cdkBuilder.slotPriorities(slotPriorities.let(IResolvable::unwrap)) + cdkBuilder.slotPriorities(slotPriorities.let(IResolvable.Companion::unwrap)) } /** @@ -9927,7 +9927,7 @@ public open class CfnBot( * @param slots A list of slots that the intent requires for fulfillment. */ override fun slots(slots: IResolvable) { - cdkBuilder.slots(slots.let(IResolvable::unwrap)) + cdkBuilder.slots(slots.let(IResolvable.Companion::unwrap)) } /** @@ -10201,7 +10201,7 @@ public open class CfnBot( * uses a custom query string to query the Amazon Kendra index. */ override fun queryFilterStringEnabled(queryFilterStringEnabled: IResolvable) { - cdkBuilder.queryFilterStringEnabled(queryFilterStringEnabled.let(IResolvable::unwrap)) + cdkBuilder.queryFilterStringEnabled(queryFilterStringEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.KendraConfigurationProperty = @@ -10497,14 +10497,14 @@ public open class CfnBot( * @param message The primary message that Amazon Lex should send to the user. */ override fun message(message: IResolvable) { - cdkBuilder.message(message.let(IResolvable::unwrap)) + cdkBuilder.message(message.let(IResolvable.Companion::unwrap)) } /** * @param message The primary message that Amazon Lex should send to the user. */ override fun message(message: MessageProperty) { - cdkBuilder.message(message.let(MessageProperty::unwrap)) + cdkBuilder.message(message.let(MessageProperty.Companion::unwrap)) } /** @@ -10521,7 +10521,7 @@ public open class CfnBot( * variations to send to the user. */ override fun variations(variations: IResolvable) { - cdkBuilder.variations(variations.let(IResolvable::unwrap)) + cdkBuilder.variations(variations.let(IResolvable.Companion::unwrap)) } /** @@ -10729,14 +10729,14 @@ public open class CfnBot( * @param customPayload A message in a custom format defined by the client application. */ override fun customPayload(customPayload: IResolvable) { - cdkBuilder.customPayload(customPayload.let(IResolvable::unwrap)) + cdkBuilder.customPayload(customPayload.let(IResolvable.Companion::unwrap)) } /** * @param customPayload A message in a custom format defined by the client application. */ override fun customPayload(customPayload: CustomPayloadProperty) { - cdkBuilder.customPayload(customPayload.let(CustomPayloadProperty::unwrap)) + cdkBuilder.customPayload(customPayload.let(CustomPayloadProperty.Companion::unwrap)) } /** @@ -10752,7 +10752,7 @@ public open class CfnBot( * can show to the user. */ override fun imageResponseCard(imageResponseCard: IResolvable) { - cdkBuilder.imageResponseCard(imageResponseCard.let(IResolvable::unwrap)) + cdkBuilder.imageResponseCard(imageResponseCard.let(IResolvable.Companion::unwrap)) } /** @@ -10760,7 +10760,7 @@ public open class CfnBot( * can show to the user. */ override fun imageResponseCard(imageResponseCard: ImageResponseCardProperty) { - cdkBuilder.imageResponseCard(imageResponseCard.let(ImageResponseCardProperty::unwrap)) + cdkBuilder.imageResponseCard(imageResponseCard.let(ImageResponseCardProperty.Companion::unwrap)) } /** @@ -10777,14 +10777,14 @@ public open class CfnBot( * @param plainTextMessage A message in plain text format. */ override fun plainTextMessage(plainTextMessage: IResolvable) { - cdkBuilder.plainTextMessage(plainTextMessage.let(IResolvable::unwrap)) + cdkBuilder.plainTextMessage(plainTextMessage.let(IResolvable.Companion::unwrap)) } /** * @param plainTextMessage A message in plain text format. */ override fun plainTextMessage(plainTextMessage: PlainTextMessageProperty) { - cdkBuilder.plainTextMessage(plainTextMessage.let(PlainTextMessageProperty::unwrap)) + cdkBuilder.plainTextMessage(plainTextMessage.let(PlainTextMessageProperty.Companion::unwrap)) } /** @@ -10799,14 +10799,14 @@ public open class CfnBot( * @param ssmlMessage A message in Speech Synthesis Markup Language (SSML). */ override fun ssmlMessage(ssmlMessage: IResolvable) { - cdkBuilder.ssmlMessage(ssmlMessage.let(IResolvable::unwrap)) + cdkBuilder.ssmlMessage(ssmlMessage.let(IResolvable.Companion::unwrap)) } /** * @param ssmlMessage A message in Speech Synthesis Markup Language (SSML). */ override fun ssmlMessage(ssmlMessage: SSMLMessageProperty) { - cdkBuilder.ssmlMessage(ssmlMessage.let(SSMLMessageProperty::unwrap)) + cdkBuilder.ssmlMessage(ssmlMessage.let(SSMLMessageProperty.Companion::unwrap)) } /** @@ -10962,7 +10962,7 @@ public open class CfnBot( * If the `allowMutlipleValues` is not set, the default value is `false` . */ override fun allowMultipleValues(allowMultipleValues: IResolvable) { - cdkBuilder.allowMultipleValues(allowMultipleValues.let(IResolvable::unwrap)) + cdkBuilder.allowMultipleValues(allowMultipleValues.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.MultipleValuesSettingProperty = @@ -11606,7 +11606,7 @@ public open class CfnBot( * `Failed` . */ override fun failureConditional(failureConditional: IResolvable) { - cdkBuilder.failureConditional(failureConditional.let(IResolvable::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(IResolvable.Companion::unwrap)) } /** @@ -11615,7 +11615,7 @@ public open class CfnBot( * `Failed` . */ override fun failureConditional(failureConditional: ConditionalSpecificationProperty) { - cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -11634,7 +11634,7 @@ public open class CfnBot( * throws an exception or returns with the `State` field of the `Intent` object set to `Failed` . */ override fun failureNextStep(failureNextStep: IResolvable) { - cdkBuilder.failureNextStep(failureNextStep.let(IResolvable::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -11642,7 +11642,7 @@ public open class CfnBot( * throws an exception or returns with the `State` field of the `Intent` object set to `Failed` . */ override fun failureNextStep(failureNextStep: DialogStateProperty) { - cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -11659,7 +11659,7 @@ public open class CfnBot( * the user input when the code hook fails. */ override fun failureResponse(failureResponse: IResolvable) { - cdkBuilder.failureResponse(failureResponse.let(IResolvable::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(IResolvable.Companion::unwrap)) } /** @@ -11667,7 +11667,7 @@ public open class CfnBot( * the user input when the code hook fails. */ override fun failureResponse(failureResponse: ResponseSpecificationProperty) { - cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -11685,7 +11685,7 @@ public open class CfnBot( * hook finishes successfully. */ override fun successConditional(successConditional: IResolvable) { - cdkBuilder.successConditional(successConditional.let(IResolvable::unwrap)) + cdkBuilder.successConditional(successConditional.let(IResolvable.Companion::unwrap)) } /** @@ -11693,7 +11693,7 @@ public open class CfnBot( * hook finishes successfully. */ override fun successConditional(successConditional: ConditionalSpecificationProperty) { - cdkBuilder.successConditional(successConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.successConditional(successConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -11711,7 +11711,7 @@ public open class CfnBot( * finishes successfully. */ override fun successNextStep(successNextStep: IResolvable) { - cdkBuilder.successNextStep(successNextStep.let(IResolvable::unwrap)) + cdkBuilder.successNextStep(successNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -11719,7 +11719,7 @@ public open class CfnBot( * finishes successfully. */ override fun successNextStep(successNextStep: DialogStateProperty) { - cdkBuilder.successNextStep(successNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.successNextStep(successNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -11736,7 +11736,7 @@ public open class CfnBot( * when the code hook succeeds. */ override fun successResponse(successResponse: IResolvable) { - cdkBuilder.successResponse(successResponse.let(IResolvable::unwrap)) + cdkBuilder.successResponse(successResponse.let(IResolvable.Companion::unwrap)) } /** @@ -11744,7 +11744,7 @@ public open class CfnBot( * when the code hook succeeds. */ override fun successResponse(successResponse: ResponseSpecificationProperty) { - cdkBuilder.successResponse(successResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.successResponse(successResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -11762,7 +11762,7 @@ public open class CfnBot( * out. */ override fun timeoutConditional(timeoutConditional: IResolvable) { - cdkBuilder.timeoutConditional(timeoutConditional.let(IResolvable::unwrap)) + cdkBuilder.timeoutConditional(timeoutConditional.let(IResolvable.Companion::unwrap)) } /** @@ -11770,7 +11770,7 @@ public open class CfnBot( * out. */ override fun timeoutConditional(timeoutConditional: ConditionalSpecificationProperty) { - cdkBuilder.timeoutConditional(timeoutConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.timeoutConditional(timeoutConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -11788,7 +11788,7 @@ public open class CfnBot( * out. */ override fun timeoutNextStep(timeoutNextStep: IResolvable) { - cdkBuilder.timeoutNextStep(timeoutNextStep.let(IResolvable::unwrap)) + cdkBuilder.timeoutNextStep(timeoutNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -11796,7 +11796,7 @@ public open class CfnBot( * out. */ override fun timeoutNextStep(timeoutNextStep: DialogStateProperty) { - cdkBuilder.timeoutNextStep(timeoutNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.timeoutNextStep(timeoutNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -11813,7 +11813,7 @@ public open class CfnBot( * to the user input when the code hook times out. */ override fun timeoutResponse(timeoutResponse: IResolvable) { - cdkBuilder.timeoutResponse(timeoutResponse.let(IResolvable::unwrap)) + cdkBuilder.timeoutResponse(timeoutResponse.let(IResolvable.Companion::unwrap)) } /** @@ -11821,7 +11821,7 @@ public open class CfnBot( * to the user input when the code hook times out. */ override fun timeoutResponse(timeoutResponse: ResponseSpecificationProperty) { - cdkBuilder.timeoutResponse(timeoutResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.timeoutResponse(timeoutResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -12219,7 +12219,7 @@ public open class CfnBot( * `Failed` . */ override fun failureConditional(failureConditional: IResolvable) { - cdkBuilder.failureConditional(failureConditional.let(IResolvable::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(IResolvable.Companion::unwrap)) } /** @@ -12228,7 +12228,7 @@ public open class CfnBot( * `Failed` . */ override fun failureConditional(failureConditional: ConditionalSpecificationProperty) { - cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -12247,7 +12247,7 @@ public open class CfnBot( * throws an exception or returns with the `State` field of the `Intent` object set to `Failed` . */ override fun failureNextStep(failureNextStep: IResolvable) { - cdkBuilder.failureNextStep(failureNextStep.let(IResolvable::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -12255,7 +12255,7 @@ public open class CfnBot( * throws an exception or returns with the `State` field of the `Intent` object set to `Failed` . */ override fun failureNextStep(failureNextStep: DialogStateProperty) { - cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -12272,7 +12272,7 @@ public open class CfnBot( * when fulfillment isn't successful. */ override fun failureResponse(failureResponse: IResolvable) { - cdkBuilder.failureResponse(failureResponse.let(IResolvable::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(IResolvable.Companion::unwrap)) } /** @@ -12280,7 +12280,7 @@ public open class CfnBot( * when fulfillment isn't successful. */ override fun failureResponse(failureResponse: ResponseSpecificationProperty) { - cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -12298,7 +12298,7 @@ public open class CfnBot( * code hook finishes successfully. */ override fun successConditional(successConditional: IResolvable) { - cdkBuilder.successConditional(successConditional.let(IResolvable::unwrap)) + cdkBuilder.successConditional(successConditional.let(IResolvable.Companion::unwrap)) } /** @@ -12306,7 +12306,7 @@ public open class CfnBot( * code hook finishes successfully. */ override fun successConditional(successConditional: ConditionalSpecificationProperty) { - cdkBuilder.successConditional(successConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.successConditional(successConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -12324,7 +12324,7 @@ public open class CfnBot( * when the fulfillment code hook completes successfully. */ override fun successNextStep(successNextStep: IResolvable) { - cdkBuilder.successNextStep(successNextStep.let(IResolvable::unwrap)) + cdkBuilder.successNextStep(successNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -12332,7 +12332,7 @@ public open class CfnBot( * when the fulfillment code hook completes successfully. */ override fun successNextStep(successNextStep: DialogStateProperty) { - cdkBuilder.successNextStep(successNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.successNextStep(successNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -12349,7 +12349,7 @@ public open class CfnBot( * when the fulfillment is successful. */ override fun successResponse(successResponse: IResolvable) { - cdkBuilder.successResponse(successResponse.let(IResolvable::unwrap)) + cdkBuilder.successResponse(successResponse.let(IResolvable.Companion::unwrap)) } /** @@ -12357,7 +12357,7 @@ public open class CfnBot( * when the fulfillment is successful. */ override fun successResponse(successResponse: ResponseSpecificationProperty) { - cdkBuilder.successResponse(successResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.successResponse(successResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -12375,7 +12375,7 @@ public open class CfnBot( * code hook times out. */ override fun timeoutConditional(timeoutConditional: IResolvable) { - cdkBuilder.timeoutConditional(timeoutConditional.let(IResolvable::unwrap)) + cdkBuilder.timeoutConditional(timeoutConditional.let(IResolvable.Companion::unwrap)) } /** @@ -12383,7 +12383,7 @@ public open class CfnBot( * code hook times out. */ override fun timeoutConditional(timeoutConditional: ConditionalSpecificationProperty) { - cdkBuilder.timeoutConditional(timeoutConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.timeoutConditional(timeoutConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -12401,7 +12401,7 @@ public open class CfnBot( * hook times out. */ override fun timeoutNextStep(timeoutNextStep: IResolvable) { - cdkBuilder.timeoutNextStep(timeoutNextStep.let(IResolvable::unwrap)) + cdkBuilder.timeoutNextStep(timeoutNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -12409,7 +12409,7 @@ public open class CfnBot( * hook times out. */ override fun timeoutNextStep(timeoutNextStep: DialogStateProperty) { - cdkBuilder.timeoutNextStep(timeoutNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.timeoutNextStep(timeoutNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -12426,7 +12426,7 @@ public open class CfnBot( * when fulfillment isn't completed within the timeout period. */ override fun timeoutResponse(timeoutResponse: IResolvable) { - cdkBuilder.timeoutResponse(timeoutResponse.let(IResolvable::unwrap)) + cdkBuilder.timeoutResponse(timeoutResponse.let(IResolvable.Companion::unwrap)) } /** @@ -12434,7 +12434,7 @@ public open class CfnBot( * when fulfillment isn't completed within the timeout period. */ override fun timeoutResponse(timeoutResponse: ResponseSpecificationProperty) { - cdkBuilder.timeoutResponse(timeoutResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.timeoutResponse(timeoutResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -12704,21 +12704,21 @@ public open class CfnBot( * the bot. */ override fun allowInterrupt(allowInterrupt: IResolvable) { - cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable::unwrap)) + cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable.Companion::unwrap)) } /** * @param allowedInputTypes Indicates the allowed input types of the prompt attempt. */ override fun allowedInputTypes(allowedInputTypes: IResolvable) { - cdkBuilder.allowedInputTypes(allowedInputTypes.let(IResolvable::unwrap)) + cdkBuilder.allowedInputTypes(allowedInputTypes.let(IResolvable.Companion::unwrap)) } /** * @param allowedInputTypes Indicates the allowed input types of the prompt attempt. */ override fun allowedInputTypes(allowedInputTypes: AllowedInputTypesProperty) { - cdkBuilder.allowedInputTypes(allowedInputTypes.let(AllowedInputTypesProperty::unwrap)) + cdkBuilder.allowedInputTypes(allowedInputTypes.let(AllowedInputTypesProperty.Companion::unwrap)) } /** @@ -12734,7 +12734,7 @@ public open class CfnBot( * @param audioAndDtmfInputSpecification Specifies the settings on audio and DTMF input. */ override fun audioAndDtmfInputSpecification(audioAndDtmfInputSpecification: IResolvable) { - cdkBuilder.audioAndDtmfInputSpecification(audioAndDtmfInputSpecification.let(IResolvable::unwrap)) + cdkBuilder.audioAndDtmfInputSpecification(audioAndDtmfInputSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -12742,7 +12742,7 @@ public open class CfnBot( */ override fun audioAndDtmfInputSpecification(audioAndDtmfInputSpecification: AudioAndDTMFInputSpecificationProperty) { - cdkBuilder.audioAndDtmfInputSpecification(audioAndDtmfInputSpecification.let(AudioAndDTMFInputSpecificationProperty::unwrap)) + cdkBuilder.audioAndDtmfInputSpecification(audioAndDtmfInputSpecification.let(AudioAndDTMFInputSpecificationProperty.Companion::unwrap)) } /** @@ -12759,14 +12759,14 @@ public open class CfnBot( * @param textInputSpecification Specifies the settings on text input. */ override fun textInputSpecification(textInputSpecification: IResolvable) { - cdkBuilder.textInputSpecification(textInputSpecification.let(IResolvable::unwrap)) + cdkBuilder.textInputSpecification(textInputSpecification.let(IResolvable.Companion::unwrap)) } /** * @param textInputSpecification Specifies the settings on text input. */ override fun textInputSpecification(textInputSpecification: TextInputSpecificationProperty) { - cdkBuilder.textInputSpecification(textInputSpecification.let(TextInputSpecificationProperty::unwrap)) + cdkBuilder.textInputSpecification(textInputSpecification.let(TextInputSpecificationProperty.Companion::unwrap)) } /** @@ -13042,7 +13042,7 @@ public open class CfnBot( * bot. */ override fun allowInterrupt(allowInterrupt: IResolvable) { - cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable::unwrap)) + cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable.Companion::unwrap)) } /** @@ -13058,7 +13058,7 @@ public open class CfnBot( * Amazon Lex chooses the actual message to send at runtime. */ override fun messageGroupsList(messageGroupsList: IResolvable) { - cdkBuilder.messageGroupsList(messageGroupsList.let(IResolvable::unwrap)) + cdkBuilder.messageGroupsList(messageGroupsList.let(IResolvable.Companion::unwrap)) } /** @@ -13089,7 +13089,7 @@ public open class CfnBot( * prompt. */ override fun promptAttemptsSpecification(promptAttemptsSpecification: IResolvable) { - cdkBuilder.promptAttemptsSpecification(promptAttemptsSpecification.let(IResolvable::unwrap)) + cdkBuilder.promptAttemptsSpecification(promptAttemptsSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -13299,7 +13299,7 @@ public open class CfnBot( * Amazon Lex. */ override fun allowInterrupt(allowInterrupt: IResolvable) { - cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable::unwrap)) + cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable.Companion::unwrap)) } /** @@ -13307,7 +13307,7 @@ public open class CfnBot( * Amazon Lex chooses the actual response to send at runtime. */ override fun messageGroupsList(messageGroupsList: IResolvable) { - cdkBuilder.messageGroupsList(messageGroupsList.let(IResolvable::unwrap)) + cdkBuilder.messageGroupsList(messageGroupsList.let(IResolvable.Companion::unwrap)) } /** @@ -13938,7 +13938,7 @@ public open class CfnBot( * sentiment of user utterances. */ override fun detectSentiment(detectSentiment: IResolvable) { - cdkBuilder.detectSentiment(detectSentiment.let(IResolvable::unwrap)) + cdkBuilder.detectSentiment(detectSentiment.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -14329,7 +14329,7 @@ public open class CfnBot( * is captured. */ override fun captureConditional(captureConditional: IResolvable) { - cdkBuilder.captureConditional(captureConditional.let(IResolvable::unwrap)) + cdkBuilder.captureConditional(captureConditional.let(IResolvable.Companion::unwrap)) } /** @@ -14337,7 +14337,7 @@ public open class CfnBot( * is captured. */ override fun captureConditional(captureConditional: ConditionalSpecificationProperty) { - cdkBuilder.captureConditional(captureConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.captureConditional(captureConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -14355,7 +14355,7 @@ public open class CfnBot( * captured before the code hook times out. */ override fun captureNextStep(captureNextStep: IResolvable) { - cdkBuilder.captureNextStep(captureNextStep.let(IResolvable::unwrap)) + cdkBuilder.captureNextStep(captureNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -14363,7 +14363,7 @@ public open class CfnBot( * captured before the code hook times out. */ override fun captureNextStep(captureNextStep: DialogStateProperty) { - cdkBuilder.captureNextStep(captureNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.captureNextStep(captureNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -14380,7 +14380,7 @@ public open class CfnBot( * the user input. */ override fun captureResponse(captureResponse: IResolvable) { - cdkBuilder.captureResponse(captureResponse.let(IResolvable::unwrap)) + cdkBuilder.captureResponse(captureResponse.let(IResolvable.Companion::unwrap)) } /** @@ -14388,7 +14388,7 @@ public open class CfnBot( * the user input. */ override fun captureResponse(captureResponse: ResponseSpecificationProperty) { - cdkBuilder.captureResponse(captureResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.captureResponse(captureResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -14405,14 +14405,14 @@ public open class CfnBot( * @param codeHook Code hook called after Amazon Lex successfully captures a slot value. */ override fun codeHook(codeHook: IResolvable) { - cdkBuilder.codeHook(codeHook.let(IResolvable::unwrap)) + cdkBuilder.codeHook(codeHook.let(IResolvable.Companion::unwrap)) } /** * @param codeHook Code hook called after Amazon Lex successfully captures a slot value. */ override fun codeHook(codeHook: DialogCodeHookInvocationSettingProperty) { - cdkBuilder.codeHook(codeHook.let(DialogCodeHookInvocationSettingProperty::unwrap)) + cdkBuilder.codeHook(codeHook.let(DialogCodeHookInvocationSettingProperty.Companion::unwrap)) } /** @@ -14427,7 +14427,7 @@ public open class CfnBot( * @param elicitationCodeHook Code hook called when Amazon Lex doesn't capture a slot value. */ override fun elicitationCodeHook(elicitationCodeHook: IResolvable) { - cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(IResolvable::unwrap)) + cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(IResolvable.Companion::unwrap)) } /** @@ -14435,7 +14435,7 @@ public open class CfnBot( */ override fun elicitationCodeHook(elicitationCodeHook: ElicitationCodeHookInvocationSettingProperty) { - cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(ElicitationCodeHookInvocationSettingProperty::unwrap)) + cdkBuilder.elicitationCodeHook(elicitationCodeHook.let(ElicitationCodeHookInvocationSettingProperty.Companion::unwrap)) } /** @@ -14453,7 +14453,7 @@ public open class CfnBot( * isn't captured. */ override fun failureConditional(failureConditional: IResolvable) { - cdkBuilder.failureConditional(failureConditional.let(IResolvable::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(IResolvable.Companion::unwrap)) } /** @@ -14461,7 +14461,7 @@ public open class CfnBot( * isn't captured. */ override fun failureConditional(failureConditional: ConditionalSpecificationProperty) { - cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty::unwrap)) + cdkBuilder.failureConditional(failureConditional.let(ConditionalSpecificationProperty.Companion::unwrap)) } /** @@ -14479,7 +14479,7 @@ public open class CfnBot( * is not recognized. */ override fun failureNextStep(failureNextStep: IResolvable) { - cdkBuilder.failureNextStep(failureNextStep.let(IResolvable::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(IResolvable.Companion::unwrap)) } /** @@ -14487,7 +14487,7 @@ public open class CfnBot( * is not recognized. */ override fun failureNextStep(failureNextStep: DialogStateProperty) { - cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty::unwrap)) + cdkBuilder.failureNextStep(failureNextStep.let(DialogStateProperty.Companion::unwrap)) } /** @@ -14504,7 +14504,7 @@ public open class CfnBot( * the user input when the slot fails to be captured. */ override fun failureResponse(failureResponse: IResolvable) { - cdkBuilder.failureResponse(failureResponse.let(IResolvable::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(IResolvable.Companion::unwrap)) } /** @@ -14512,7 +14512,7 @@ public open class CfnBot( * the user input when the slot fails to be captured. */ override fun failureResponse(failureResponse: ResponseSpecificationProperty) { - cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.failureResponse(failureResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -14758,7 +14758,7 @@ public open class CfnBot( * list. */ override fun defaultValueList(defaultValueList: IResolvable) { - cdkBuilder.defaultValueList(defaultValueList.let(IResolvable::unwrap)) + cdkBuilder.defaultValueList(defaultValueList.let(IResolvable.Companion::unwrap)) } /** @@ -15118,14 +15118,14 @@ public open class CfnBot( * @param multipleValuesSetting Indicates whether a slot can return multiple values. */ override fun multipleValuesSetting(multipleValuesSetting: IResolvable) { - cdkBuilder.multipleValuesSetting(multipleValuesSetting.let(IResolvable::unwrap)) + cdkBuilder.multipleValuesSetting(multipleValuesSetting.let(IResolvable.Companion::unwrap)) } /** * @param multipleValuesSetting Indicates whether a slot can return multiple values. */ override fun multipleValuesSetting(multipleValuesSetting: MultipleValuesSettingProperty) { - cdkBuilder.multipleValuesSetting(multipleValuesSetting.let(MultipleValuesSettingProperty::unwrap)) + cdkBuilder.multipleValuesSetting(multipleValuesSetting.let(MultipleValuesSettingProperty.Companion::unwrap)) } /** @@ -15151,7 +15151,7 @@ public open class CfnBot( * (PII) in logs. */ override fun obfuscationSetting(obfuscationSetting: IResolvable) { - cdkBuilder.obfuscationSetting(obfuscationSetting.let(IResolvable::unwrap)) + cdkBuilder.obfuscationSetting(obfuscationSetting.let(IResolvable.Companion::unwrap)) } /** @@ -15161,7 +15161,7 @@ public open class CfnBot( * (PII) in logs. */ override fun obfuscationSetting(obfuscationSetting: ObfuscationSettingProperty) { - cdkBuilder.obfuscationSetting(obfuscationSetting.let(ObfuscationSettingProperty::unwrap)) + cdkBuilder.obfuscationSetting(obfuscationSetting.let(ObfuscationSettingProperty.Companion::unwrap)) } /** @@ -15197,7 +15197,7 @@ public open class CfnBot( * If you don't specify the `valueSelectionStrategy` , the default is `ORIGINAL_VALUE` . */ override fun valueElicitationSetting(valueElicitationSetting: IResolvable) { - cdkBuilder.valueElicitationSetting(valueElicitationSetting.let(IResolvable::unwrap)) + cdkBuilder.valueElicitationSetting(valueElicitationSetting.let(IResolvable.Companion::unwrap)) } /** @@ -15214,7 +15214,7 @@ public open class CfnBot( */ override fun valueElicitationSetting(valueElicitationSetting: SlotValueElicitationSettingProperty) { - cdkBuilder.valueElicitationSetting(valueElicitationSetting.let(SlotValueElicitationSettingProperty::unwrap)) + cdkBuilder.valueElicitationSetting(valueElicitationSetting.let(SlotValueElicitationSettingProperty.Companion::unwrap)) } /** @@ -15561,7 +15561,7 @@ public open class CfnBot( * type. */ override fun externalSourceSetting(externalSourceSetting: IResolvable) { - cdkBuilder.externalSourceSetting(externalSourceSetting.let(IResolvable::unwrap)) + cdkBuilder.externalSourceSetting(externalSourceSetting.let(IResolvable.Companion::unwrap)) } /** @@ -15569,7 +15569,7 @@ public open class CfnBot( * type. */ override fun externalSourceSetting(externalSourceSetting: ExternalSourceSettingProperty) { - cdkBuilder.externalSourceSetting(externalSourceSetting.let(ExternalSourceSettingProperty::unwrap)) + cdkBuilder.externalSourceSetting(externalSourceSetting.let(ExternalSourceSettingProperty.Companion::unwrap)) } /** @@ -15608,7 +15608,7 @@ public open class CfnBot( * learning model about the values that it resolves for the slot. */ override fun slotTypeValues(slotTypeValues: IResolvable) { - cdkBuilder.slotTypeValues(slotTypeValues.let(IResolvable::unwrap)) + cdkBuilder.slotTypeValues(slotTypeValues.let(IResolvable.Companion::unwrap)) } /** @@ -15643,7 +15643,7 @@ public open class CfnBot( * If you don't specify the `valueSelectionStrategy` , the default is `ORIGINAL_VALUE` . */ override fun valueSelectionSetting(valueSelectionSetting: IResolvable) { - cdkBuilder.valueSelectionSetting(valueSelectionSetting.let(IResolvable::unwrap)) + cdkBuilder.valueSelectionSetting(valueSelectionSetting.let(IResolvable.Companion::unwrap)) } /** @@ -15659,7 +15659,7 @@ public open class CfnBot( * If you don't specify the `valueSelectionStrategy` , the default is `ORIGINAL_VALUE` . */ override fun valueSelectionSetting(valueSelectionSetting: SlotValueSelectionSettingProperty) { - cdkBuilder.valueSelectionSetting(valueSelectionSetting.let(SlotValueSelectionSettingProperty::unwrap)) + cdkBuilder.valueSelectionSetting(valueSelectionSetting.let(SlotValueSelectionSettingProperty.Companion::unwrap)) } /** @@ -15853,14 +15853,14 @@ public open class CfnBot( * @param sampleValue The value of the slot type entry. */ override fun sampleValue(sampleValue: IResolvable) { - cdkBuilder.sampleValue(sampleValue.let(IResolvable::unwrap)) + cdkBuilder.sampleValue(sampleValue.let(IResolvable.Companion::unwrap)) } /** * @param sampleValue The value of the slot type entry. */ override fun sampleValue(sampleValue: SampleValueProperty) { - cdkBuilder.sampleValue(sampleValue.let(SampleValueProperty::unwrap)) + cdkBuilder.sampleValue(sampleValue.let(SampleValueProperty.Companion::unwrap)) } /** @@ -15875,7 +15875,7 @@ public open class CfnBot( * @param synonyms Additional values related to the slot type entry. */ override fun synonyms(synonyms: IResolvable) { - cdkBuilder.synonyms(synonyms.let(IResolvable::unwrap)) + cdkBuilder.synonyms(synonyms.let(IResolvable.Companion::unwrap)) } /** @@ -16121,7 +16121,7 @@ public open class CfnBot( * specify default values from context variables, session attributes, and defined values. */ override fun defaultValueSpecification(defaultValueSpecification: IResolvable) { - cdkBuilder.defaultValueSpecification(defaultValueSpecification.let(IResolvable::unwrap)) + cdkBuilder.defaultValueSpecification(defaultValueSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -16131,7 +16131,7 @@ public open class CfnBot( */ override fun defaultValueSpecification(defaultValueSpecification: SlotDefaultValueSpecificationProperty) { - cdkBuilder.defaultValueSpecification(defaultValueSpecification.let(SlotDefaultValueSpecificationProperty::unwrap)) + cdkBuilder.defaultValueSpecification(defaultValueSpecification.let(SlotDefaultValueSpecificationProperty.Companion::unwrap)) } /** @@ -16151,7 +16151,7 @@ public open class CfnBot( * the user. */ override fun promptSpecification(promptSpecification: IResolvable) { - cdkBuilder.promptSpecification(promptSpecification.let(IResolvable::unwrap)) + cdkBuilder.promptSpecification(promptSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -16159,7 +16159,7 @@ public open class CfnBot( * the user. */ override fun promptSpecification(promptSpecification: PromptSpecificationProperty) { - cdkBuilder.promptSpecification(promptSpecification.let(PromptSpecificationProperty::unwrap)) + cdkBuilder.promptSpecification(promptSpecification.let(PromptSpecificationProperty.Companion::unwrap)) } /** @@ -16178,7 +16178,7 @@ public open class CfnBot( * This is optional. In most cases, Amazon Lex is capable of understanding user utterances. */ override fun sampleUtterances(sampleUtterances: IResolvable) { - cdkBuilder.sampleUtterances(sampleUtterances.let(IResolvable::unwrap)) + cdkBuilder.sampleUtterances(sampleUtterances.let(IResolvable.Companion::unwrap)) } /** @@ -16203,7 +16203,7 @@ public open class CfnBot( * successfully entered by a user. */ override fun slotCaptureSetting(slotCaptureSetting: IResolvable) { - cdkBuilder.slotCaptureSetting(slotCaptureSetting.let(IResolvable::unwrap)) + cdkBuilder.slotCaptureSetting(slotCaptureSetting.let(IResolvable.Companion::unwrap)) } /** @@ -16211,7 +16211,7 @@ public open class CfnBot( * successfully entered by a user. */ override fun slotCaptureSetting(slotCaptureSetting: SlotCaptureSettingProperty) { - cdkBuilder.slotCaptureSetting(slotCaptureSetting.let(SlotCaptureSettingProperty::unwrap)) + cdkBuilder.slotCaptureSetting(slotCaptureSetting.let(SlotCaptureSettingProperty.Companion::unwrap)) } /** @@ -16236,7 +16236,7 @@ public open class CfnBot( * is waiting for customer input. */ override fun waitAndContinueSpecification(waitAndContinueSpecification: IResolvable) { - cdkBuilder.waitAndContinueSpecification(waitAndContinueSpecification.let(IResolvable::unwrap)) + cdkBuilder.waitAndContinueSpecification(waitAndContinueSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -16245,7 +16245,7 @@ public open class CfnBot( */ override fun waitAndContinueSpecification(waitAndContinueSpecification: WaitAndContinueSpecificationProperty) { - cdkBuilder.waitAndContinueSpecification(waitAndContinueSpecification.let(WaitAndContinueSpecificationProperty::unwrap)) + cdkBuilder.waitAndContinueSpecification(waitAndContinueSpecification.let(WaitAndContinueSpecificationProperty.Companion::unwrap)) } /** @@ -16427,7 +16427,7 @@ public open class CfnBot( * mapped. */ override fun slotValueOverride(slotValueOverride: IResolvable) { - cdkBuilder.slotValueOverride(slotValueOverride.let(IResolvable::unwrap)) + cdkBuilder.slotValueOverride(slotValueOverride.let(IResolvable.Companion::unwrap)) } /** @@ -16435,7 +16435,7 @@ public open class CfnBot( * mapped. */ override fun slotValueOverride(slotValueOverride: SlotValueOverrideProperty) { - cdkBuilder.slotValueOverride(slotValueOverride.let(SlotValueOverrideProperty::unwrap)) + cdkBuilder.slotValueOverride(slotValueOverride.let(SlotValueOverrideProperty.Companion::unwrap)) } /** @@ -16606,14 +16606,14 @@ public open class CfnBot( * @param value The current value of the slot. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The current value of the slot. */ override fun `value`(`value`: SlotValueProperty) { - cdkBuilder.`value`(`value`.let(SlotValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(SlotValueProperty.Companion::unwrap)) } /** @@ -16630,7 +16630,7 @@ public open class CfnBot( * "pineapple." */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -17063,7 +17063,7 @@ public open class CfnBot( * utterances. */ override fun advancedRecognitionSetting(advancedRecognitionSetting: IResolvable) { - cdkBuilder.advancedRecognitionSetting(advancedRecognitionSetting.let(IResolvable::unwrap)) + cdkBuilder.advancedRecognitionSetting(advancedRecognitionSetting.let(IResolvable.Companion::unwrap)) } /** @@ -17074,7 +17074,7 @@ public open class CfnBot( */ override fun advancedRecognitionSetting(advancedRecognitionSetting: AdvancedRecognitionSettingProperty) { - cdkBuilder.advancedRecognitionSetting(advancedRecognitionSetting.let(AdvancedRecognitionSettingProperty::unwrap)) + cdkBuilder.advancedRecognitionSetting(advancedRecognitionSetting.let(AdvancedRecognitionSettingProperty.Companion::unwrap)) } /** @@ -17094,14 +17094,14 @@ public open class CfnBot( * @param regexFilter A regular expression used to validate the value of a slot. */ override fun regexFilter(regexFilter: IResolvable) { - cdkBuilder.regexFilter(regexFilter.let(IResolvable::unwrap)) + cdkBuilder.regexFilter(regexFilter.let(IResolvable.Companion::unwrap)) } /** * @param regexFilter A regular expression used to validate the value of a slot. */ override fun regexFilter(regexFilter: SlotValueRegexFilterProperty) { - cdkBuilder.regexFilter(regexFilter.let(SlotValueRegexFilterProperty::unwrap)) + cdkBuilder.regexFilter(regexFilter.let(SlotValueRegexFilterProperty.Companion::unwrap)) } /** @@ -17356,7 +17356,7 @@ public open class CfnBot( * the message is being played. */ override fun allowInterrupt(allowInterrupt: IResolvable) { - cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable::unwrap)) + cdkBuilder.allowInterrupt(allowInterrupt.let(IResolvable.Companion::unwrap)) } /** @@ -17372,7 +17372,7 @@ public open class CfnBot( * that define the prompts that Amazon Lex sends to the user. */ override fun messageGroupsList(messageGroupsList: IResolvable) { - cdkBuilder.messageGroupsList(messageGroupsList.let(IResolvable::unwrap)) + cdkBuilder.messageGroupsList(messageGroupsList.let(IResolvable.Companion::unwrap)) } /** @@ -17615,7 +17615,7 @@ public open class CfnBot( * For example, you can use a different Lambda function depending on the bot's locale. */ override fun botAliasLocaleSettings(botAliasLocaleSettings: IResolvable) { - cdkBuilder.botAliasLocaleSettings(botAliasLocaleSettings.let(IResolvable::unwrap)) + cdkBuilder.botAliasLocaleSettings(botAliasLocaleSettings.let(IResolvable.Companion::unwrap)) } /** @@ -17638,7 +17638,7 @@ public open class CfnBot( * text, and metadata information for conversations with your users. */ override fun conversationLogSettings(conversationLogSettings: IResolvable) { - cdkBuilder.conversationLogSettings(conversationLogSettings.let(IResolvable::unwrap)) + cdkBuilder.conversationLogSettings(conversationLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -17647,7 +17647,7 @@ public open class CfnBot( */ override fun conversationLogSettings(conversationLogSettings: ConversationLogSettingsProperty) { - cdkBuilder.conversationLogSettings(conversationLogSettings.let(ConversationLogSettingsProperty::unwrap)) + cdkBuilder.conversationLogSettings(conversationLogSettings.let(ConversationLogSettingsProperty.Companion::unwrap)) } /** @@ -17879,7 +17879,7 @@ public open class CfnBot( * are delivered. */ override fun cloudWatch(cloudWatch: IResolvable) { - cdkBuilder.cloudWatch(cloudWatch.let(IResolvable::unwrap)) + cdkBuilder.cloudWatch(cloudWatch.let(IResolvable.Companion::unwrap)) } /** @@ -17887,7 +17887,7 @@ public open class CfnBot( * are delivered. */ override fun cloudWatch(cloudWatch: CloudWatchLogGroupLogDestinationProperty) { - cdkBuilder.cloudWatch(cloudWatch.let(CloudWatchLogGroupLogDestinationProperty::unwrap)) + cdkBuilder.cloudWatch(cloudWatch.let(CloudWatchLogGroupLogDestinationProperty.Companion::unwrap)) } /** @@ -18016,7 +18016,7 @@ public open class CfnBot( * conversation text logs. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -18024,7 +18024,7 @@ public open class CfnBot( * conversation text logs. */ override fun destination(destination: TextLogDestinationProperty) { - cdkBuilder.destination(destination.let(TextLogDestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(TextLogDestinationProperty.Companion::unwrap)) } /** @@ -18047,7 +18047,7 @@ public open class CfnBot( * @param enabled Determines whether conversation logs should be stored for an alias. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBot.TextLogSettingProperty = @@ -18517,7 +18517,7 @@ public open class CfnBot( * ready to continue the conversation. */ override fun continueResponse(continueResponse: IResolvable) { - cdkBuilder.continueResponse(continueResponse.let(IResolvable::unwrap)) + cdkBuilder.continueResponse(continueResponse.let(IResolvable.Companion::unwrap)) } /** @@ -18525,7 +18525,7 @@ public open class CfnBot( * ready to continue the conversation. */ override fun continueResponse(continueResponse: ResponseSpecificationProperty) { - cdkBuilder.continueResponse(continueResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.continueResponse(continueResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** @@ -18553,7 +18553,7 @@ public open class CfnBot( * `IsActive` field isn't specified, the default is true. */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } /** @@ -18561,7 +18561,7 @@ public open class CfnBot( * indicate that the bot is still waiting for input from the user. */ override fun stillWaitingResponse(stillWaitingResponse: IResolvable) { - cdkBuilder.stillWaitingResponse(stillWaitingResponse.let(IResolvable::unwrap)) + cdkBuilder.stillWaitingResponse(stillWaitingResponse.let(IResolvable.Companion::unwrap)) } /** @@ -18570,7 +18570,7 @@ public open class CfnBot( */ override fun stillWaitingResponse(stillWaitingResponse: StillWaitingResponseSpecificationProperty) { - cdkBuilder.stillWaitingResponse(stillWaitingResponse.let(StillWaitingResponseSpecificationProperty::unwrap)) + cdkBuilder.stillWaitingResponse(stillWaitingResponse.let(StillWaitingResponseSpecificationProperty.Companion::unwrap)) } /** @@ -18589,7 +18589,7 @@ public open class CfnBot( * waiting for the conversation to continue. */ override fun waitingResponse(waitingResponse: IResolvable) { - cdkBuilder.waitingResponse(waitingResponse.let(IResolvable::unwrap)) + cdkBuilder.waitingResponse(waitingResponse.let(IResolvable.Companion::unwrap)) } /** @@ -18597,7 +18597,7 @@ public open class CfnBot( * waiting for the conversation to continue. */ override fun waitingResponse(waitingResponse: ResponseSpecificationProperty) { - cdkBuilder.waitingResponse(waitingResponse.let(ResponseSpecificationProperty::unwrap)) + cdkBuilder.waitingResponse(waitingResponse.let(ResponseSpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAlias.kt index 44577820dc..669b3a89e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAlias.kt @@ -93,8 +93,8 @@ public open class CfnBotAlias( id: String, props: CfnBotAliasProps, ) : - this(software.amazon.awscdk.services.lex.CfnBotAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBotAliasProps::unwrap)) + this(software.amazon.awscdk.services.lex.CfnBotAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBotAliasProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class CfnBotAlias( * Specifies settings that are unique to a locale. */ public open fun botAliasLocaleSettings(`value`: IResolvable) { - unwrap(this).setBotAliasLocaleSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setBotAliasLocaleSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnBotAlias( * An array of key-value pairs to apply to this resource. */ public open fun botAliasTags(`value`: IResolvable) { - unwrap(this).setBotAliasTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setBotAliasTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -215,14 +215,14 @@ public open class CfnBotAlias( * Specifies whether Amazon Lex logs text and audio for conversations with the bot. */ public open fun conversationLogSettings(`value`: IResolvable) { - unwrap(this).setConversationLogSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setConversationLogSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies whether Amazon Lex logs text and audio for conversations with the bot. */ public open fun conversationLogSettings(`value`: ConversationLogSettingsProperty) { - unwrap(this).setConversationLogSettings(`value`.let(ConversationLogSettingsProperty::unwrap)) + unwrap(this).setConversationLogSettings(`value`.let(ConversationLogSettingsProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnBotAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class CfnBotAlias( * @param botAliasLocaleSettings Specifies settings that are unique to a locale. */ override fun botAliasLocaleSettings(botAliasLocaleSettings: IResolvable) { - cdkBuilder.botAliasLocaleSettings(botAliasLocaleSettings.let(IResolvable::unwrap)) + cdkBuilder.botAliasLocaleSettings(botAliasLocaleSettings.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnBotAlias( * @param botAliasTags An array of key-value pairs to apply to this resource. */ override fun botAliasTags(botAliasTags: IResolvable) { - cdkBuilder.botAliasTags(botAliasTags.let(IResolvable::unwrap)) + cdkBuilder.botAliasTags(botAliasTags.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnBotAlias( * conversations with the bot. */ override fun conversationLogSettings(conversationLogSettings: IResolvable) { - cdkBuilder.conversationLogSettings(conversationLogSettings.let(IResolvable::unwrap)) + cdkBuilder.conversationLogSettings(conversationLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnBotAlias( * conversations with the bot. */ override fun conversationLogSettings(conversationLogSettings: ConversationLogSettingsProperty) { - cdkBuilder.conversationLogSettings(conversationLogSettings.let(ConversationLogSettingsProperty::unwrap)) + cdkBuilder.conversationLogSettings(conversationLogSettings.let(ConversationLogSettingsProperty.Companion::unwrap)) } /** @@ -696,14 +696,14 @@ public open class CfnBotAlias( * @param s3Bucket The S3 bucket location where audio logs are stored. */ override fun s3Bucket(s3Bucket: IResolvable) { - cdkBuilder.s3Bucket(s3Bucket.let(IResolvable::unwrap)) + cdkBuilder.s3Bucket(s3Bucket.let(IResolvable.Companion::unwrap)) } /** * @param s3Bucket The S3 bucket location where audio logs are stored. */ override fun s3Bucket(s3Bucket: S3BucketLogDestinationProperty) { - cdkBuilder.s3Bucket(s3Bucket.let(S3BucketLogDestinationProperty::unwrap)) + cdkBuilder.s3Bucket(s3Bucket.let(S3BucketLogDestinationProperty.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnBotAlias( * enabled for a bot. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class CfnBotAlias( * enabled for a bot. */ override fun destination(destination: AudioLogDestinationProperty) { - cdkBuilder.destination(destination.let(AudioLogDestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(AudioLogDestinationProperty.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnBotAlias( * @param enabled Determines whether audio logging in enabled for the bot. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBotAlias.AudioLogSettingProperty = @@ -992,14 +992,14 @@ public open class CfnBotAlias( * @param botAliasLocaleSetting Specifies settings that are unique to a locale. */ override fun botAliasLocaleSetting(botAliasLocaleSetting: IResolvable) { - cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(IResolvable::unwrap)) + cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(IResolvable.Companion::unwrap)) } /** * @param botAliasLocaleSetting Specifies settings that are unique to a locale. */ override fun botAliasLocaleSetting(botAliasLocaleSetting: BotAliasLocaleSettingsProperty) { - cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(BotAliasLocaleSettingsProperty::unwrap)) + cdkBuilder.botAliasLocaleSetting(botAliasLocaleSetting.let(BotAliasLocaleSettingsProperty.Companion::unwrap)) } /** @@ -1152,7 +1152,7 @@ public open class CfnBotAlias( * locale. */ override fun codeHookSpecification(codeHookSpecification: IResolvable) { - cdkBuilder.codeHookSpecification(codeHookSpecification.let(IResolvable::unwrap)) + cdkBuilder.codeHookSpecification(codeHookSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public open class CfnBotAlias( * locale. */ override fun codeHookSpecification(codeHookSpecification: CodeHookSpecificationProperty) { - cdkBuilder.codeHookSpecification(codeHookSpecification.let(CodeHookSpecificationProperty::unwrap)) + cdkBuilder.codeHookSpecification(codeHookSpecification.let(CodeHookSpecificationProperty.Companion::unwrap)) } /** @@ -1186,7 +1186,7 @@ public open class CfnBotAlias( * If the value is `false` , the locale isn't available for use. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1414,7 +1414,7 @@ public open class CfnBotAlias( * fulfills the user's request to a bot. */ override fun lambdaCodeHook(lambdaCodeHook: IResolvable) { - cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(IResolvable::unwrap)) + cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(IResolvable.Companion::unwrap)) } /** @@ -1422,7 +1422,7 @@ public open class CfnBotAlias( * fulfills the user's request to a bot. */ override fun lambdaCodeHook(lambdaCodeHook: LambdaCodeHookProperty) { - cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(LambdaCodeHookProperty::unwrap)) + cdkBuilder.lambdaCodeHook(lambdaCodeHook.let(LambdaCodeHookProperty.Companion::unwrap)) } /** @@ -1566,7 +1566,7 @@ public open class CfnBotAlias( * @param audioLogSettings The Amazon S3 settings for logging audio to an S3 bucket. */ override fun audioLogSettings(audioLogSettings: IResolvable) { - cdkBuilder.audioLogSettings(audioLogSettings.let(IResolvable::unwrap)) + cdkBuilder.audioLogSettings(audioLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1586,7 +1586,7 @@ public open class CfnBotAlias( * @param textLogSettings The Amazon CloudWatch Logs settings for logging text and metadata. */ override fun textLogSettings(textLogSettings: IResolvable) { - cdkBuilder.textLogSettings(textLogSettings.let(IResolvable::unwrap)) + cdkBuilder.textLogSettings(textLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1961,7 +1961,7 @@ public open class CfnBotAlias( * sentiment of user utterances. */ override fun detectSentiment(detectSentiment: IResolvable) { - cdkBuilder.detectSentiment(detectSentiment.let(IResolvable::unwrap)) + cdkBuilder.detectSentiment(detectSentiment.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2062,7 +2062,7 @@ public open class CfnBotAlias( * are delivered. */ override fun cloudWatch(cloudWatch: IResolvable) { - cdkBuilder.cloudWatch(cloudWatch.let(IResolvable::unwrap)) + cdkBuilder.cloudWatch(cloudWatch.let(IResolvable.Companion::unwrap)) } /** @@ -2070,7 +2070,7 @@ public open class CfnBotAlias( * are delivered. */ override fun cloudWatch(cloudWatch: CloudWatchLogGroupLogDestinationProperty) { - cdkBuilder.cloudWatch(cloudWatch.let(CloudWatchLogGroupLogDestinationProperty::unwrap)) + cdkBuilder.cloudWatch(cloudWatch.let(CloudWatchLogGroupLogDestinationProperty.Companion::unwrap)) } /** @@ -2199,7 +2199,7 @@ public open class CfnBotAlias( * conversation text logs. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -2207,7 +2207,7 @@ public open class CfnBotAlias( * conversation text logs. */ override fun destination(destination: TextLogDestinationProperty) { - cdkBuilder.destination(destination.let(TextLogDestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(TextLogDestinationProperty.Companion::unwrap)) } /** @@ -2230,7 +2230,7 @@ public open class CfnBotAlias( * @param enabled Determines whether conversation logs should be stored for an alias. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.lex.CfnBotAlias.TextLogSettingProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAliasProps.kt index daac5839b2..a079f5fd4b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotAliasProps.kt @@ -259,7 +259,7 @@ public interface CfnBotAliasProps { * For example, you can use different Lambda function depending on the bot's locale. */ override fun botAliasLocaleSettings(botAliasLocaleSettings: IResolvable) { - cdkBuilder.botAliasLocaleSettings(botAliasLocaleSettings.let(IResolvable::unwrap)) + cdkBuilder.botAliasLocaleSettings(botAliasLocaleSettings.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CfnBotAliasProps { * . */ override fun botAliasTags(botAliasTags: IResolvable) { - cdkBuilder.botAliasTags(botAliasTags.let(IResolvable::unwrap)) + cdkBuilder.botAliasTags(botAliasTags.let(IResolvable.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public interface CfnBotAliasProps { * and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 . */ override fun conversationLogSettings(conversationLogSettings: IResolvable) { - cdkBuilder.conversationLogSettings(conversationLogSettings.let(IResolvable::unwrap)) + cdkBuilder.conversationLogSettings(conversationLogSettings.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public interface CfnBotAliasProps { */ override fun conversationLogSettings(conversationLogSettings: CfnBotAlias.ConversationLogSettingsProperty) { - cdkBuilder.conversationLogSettings(conversationLogSettings.let(CfnBotAlias.ConversationLogSettingsProperty::unwrap)) + cdkBuilder.conversationLogSettings(conversationLogSettings.let(CfnBotAlias.ConversationLogSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotProps.kt index 8eb572dfd2..0acea1f33f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotProps.kt @@ -303,7 +303,7 @@ public interface CfnBotProps { * locales for the bot after a change. */ override fun autoBuildBotLocales(autoBuildBotLocales: IResolvable) { - cdkBuilder.autoBuildBotLocales(autoBuildBotLocales.let(IResolvable::unwrap)) + cdkBuilder.autoBuildBotLocales(autoBuildBotLocales.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface CfnBotProps { * Lex developer guide.* */ override fun botFileS3Location(botFileS3Location: IResolvable) { - cdkBuilder.botFileS3Location(botFileS3Location.let(IResolvable::unwrap)) + cdkBuilder.botFileS3Location(botFileS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface CfnBotProps { * Lex developer guide.* */ override fun botFileS3Location(botFileS3Location: CfnBot.S3LocationProperty) { - cdkBuilder.botFileS3Location(botFileS3Location.let(CfnBot.S3LocationProperty::unwrap)) + cdkBuilder.botFileS3Location(botFileS3Location.let(CfnBot.S3LocationProperty.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface CfnBotProps { * @param botLocales A list of locales for the bot. */ override fun botLocales(botLocales: IResolvable) { - cdkBuilder.botLocales(botLocales.let(IResolvable::unwrap)) + cdkBuilder.botLocales(botLocales.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public interface CfnBotProps { * update tags. To update tags, use the `TagResource` operation. */ override fun botTags(botTags: IResolvable) { - cdkBuilder.botTags(botTags.let(IResolvable::unwrap)) + cdkBuilder.botTags(botTags.let(IResolvable.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public interface CfnBotProps { * default values. */ override fun testBotAliasSettings(testBotAliasSettings: IResolvable) { - cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(IResolvable::unwrap)) + cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnBotProps { * default values. */ override fun testBotAliasSettings(testBotAliasSettings: CfnBot.TestBotAliasSettingsProperty) { - cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(CfnBot.TestBotAliasSettingsProperty::unwrap)) + cdkBuilder.testBotAliasSettings(testBotAliasSettings.let(CfnBot.TestBotAliasSettingsProperty.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public interface CfnBotProps { * update tags. To update tags on the test alias, use the `TagResource` operation. */ override fun testBotAliasTags(testBotAliasTags: IResolvable) { - cdkBuilder.testBotAliasTags(testBotAliasTags.let(IResolvable::unwrap)) + cdkBuilder.testBotAliasTags(testBotAliasTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersion.kt index f616f5a6d3..1c945b0476 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersion.kt @@ -56,8 +56,8 @@ public open class CfnBotVersion( id: String, props: CfnBotVersionProps, ) : - this(software.amazon.awscdk.services.lex.CfnBotVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBotVersionProps::unwrap)) + this(software.amazon.awscdk.services.lex.CfnBotVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBotVersionProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnBotVersion( * Specifies the locales that Amazon Lex adds to this version. */ public open fun botVersionLocaleSpecification(`value`: IResolvable) { - unwrap(this).setBotVersionLocaleSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setBotVersionLocaleSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnBotVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnBotVersion( * version. */ override fun botVersionLocaleSpecification(botVersionLocaleSpecification: IResolvable) { - cdkBuilder.botVersionLocaleSpecification(botVersionLocaleSpecification.let(IResolvable::unwrap)) + cdkBuilder.botVersionLocaleSpecification(botVersionLocaleSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CfnBotVersion( * @param botVersionLocaleDetails The version of a bot used for a bot locale. */ override fun botVersionLocaleDetails(botVersionLocaleDetails: IResolvable) { - cdkBuilder.botVersionLocaleDetails(botVersionLocaleDetails.let(IResolvable::unwrap)) + cdkBuilder.botVersionLocaleDetails(botVersionLocaleDetails.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnBotVersion( */ override fun botVersionLocaleDetails(botVersionLocaleDetails: BotVersionLocaleDetailsProperty) { - cdkBuilder.botVersionLocaleDetails(botVersionLocaleDetails.let(BotVersionLocaleDetailsProperty::unwrap)) + cdkBuilder.botVersionLocaleDetails(botVersionLocaleDetails.let(BotVersionLocaleDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersionProps.kt index b553b13855..6de75817a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnBotVersionProps.kt @@ -123,7 +123,7 @@ public interface CfnBotVersionProps { * version. */ override fun botVersionLocaleSpecification(botVersionLocaleSpecification: IResolvable) { - cdkBuilder.botVersionLocaleSpecification(botVersionLocaleSpecification.let(IResolvable::unwrap)) + cdkBuilder.botVersionLocaleSpecification(botVersionLocaleSpecification.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnResourcePolicy.kt index eeb73a624f..7c72553d4b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lex/CfnResourcePolicy.kt @@ -41,8 +41,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.lex.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.lex.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnGrant.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnGrant.kt index b483bcdd03..b85fd3ac5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnGrant.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnGrant.kt @@ -42,7 +42,7 @@ public open class CfnGrant( cdkObject: software.amazon.awscdk.services.licensemanager.CfnGrant, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.licensemanager.CfnGrant(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.licensemanager.CfnGrant(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class CfnGrant( id: String, props: CfnGrantProps, ) : - this(software.amazon.awscdk.services.licensemanager.CfnGrant(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGrantProps::unwrap)) + this(software.amazon.awscdk.services.licensemanager.CfnGrant(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGrantProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnGrant( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicense.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicense.kt index e1ec2e9433..7ffe028ee3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicense.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicense.kt @@ -87,8 +87,8 @@ public open class CfnLicense( id: String, props: CfnLicenseProps, ) : - this(software.amazon.awscdk.services.licensemanager.CfnLicense(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLicenseProps::unwrap)) + this(software.amazon.awscdk.services.licensemanager.CfnLicense(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLicenseProps.Companion::unwrap)) ) public constructor( @@ -129,14 +129,14 @@ public open class CfnLicense( * Configuration for consumption of the license. */ public open fun consumptionConfiguration(`value`: IResolvable) { - unwrap(this).setConsumptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConsumptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for consumption of the license. */ public open fun consumptionConfiguration(`value`: ConsumptionConfigurationProperty) { - unwrap(this).setConsumptionConfiguration(`value`.let(ConsumptionConfigurationProperty::unwrap)) + unwrap(this).setConsumptionConfiguration(`value`.let(ConsumptionConfigurationProperty.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnLicense( * License entitlements. */ public open fun entitlements(`value`: IResolvable) { - unwrap(this).setEntitlements(`value`.let(IResolvable::unwrap)) + unwrap(this).setEntitlements(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnLicense( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,14 +202,14 @@ public open class CfnLicense( * License issuer. */ public open fun issuer(`value`: IResolvable) { - unwrap(this).setIssuer(`value`.let(IResolvable::unwrap)) + unwrap(this).setIssuer(`value`.let(IResolvable.Companion::unwrap)) } /** * License issuer. */ public open fun issuer(`value`: IssuerDataProperty) { - unwrap(this).setIssuer(`value`.let(IssuerDataProperty::unwrap)) + unwrap(this).setIssuer(`value`.let(IssuerDataProperty.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnLicense( * License metadata. */ public open fun licenseMetadata(`value`: IResolvable) { - unwrap(this).setLicenseMetadata(`value`.let(IResolvable::unwrap)) + unwrap(this).setLicenseMetadata(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -301,14 +301,14 @@ public open class CfnLicense( * Date and time range during which the license is valid, in ISO8601-UTC format. */ public open fun validity(`value`: IResolvable) { - unwrap(this).setValidity(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidity(`value`.let(IResolvable.Companion::unwrap)) } /** * Date and time range during which the license is valid, in ISO8601-UTC format. */ public open fun validity(`value`: ValidityDateFormatProperty) { - unwrap(this).setValidity(`value`.let(ValidityDateFormatProperty::unwrap)) + unwrap(this).setValidity(`value`.let(ValidityDateFormatProperty.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnLicense( * @param consumptionConfiguration Configuration for consumption of the license. */ override fun consumptionConfiguration(consumptionConfiguration: IResolvable) { - cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CfnLicense( */ override fun consumptionConfiguration(consumptionConfiguration: ConsumptionConfigurationProperty) { - cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(ConsumptionConfigurationProperty::unwrap)) + cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(ConsumptionConfigurationProperty.Companion::unwrap)) } /** @@ -560,7 +560,7 @@ public open class CfnLicense( * @param entitlements License entitlements. */ override fun entitlements(entitlements: IResolvable) { - cdkBuilder.entitlements(entitlements.let(IResolvable::unwrap)) + cdkBuilder.entitlements(entitlements.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnLicense( * @param issuer License issuer. */ override fun issuer(issuer: IResolvable) { - cdkBuilder.issuer(issuer.let(IResolvable::unwrap)) + cdkBuilder.issuer(issuer.let(IResolvable.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnLicense( * @param issuer License issuer. */ override fun issuer(issuer: IssuerDataProperty) { - cdkBuilder.issuer(issuer.let(IssuerDataProperty::unwrap)) + cdkBuilder.issuer(issuer.let(IssuerDataProperty.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class CfnLicense( * @param licenseMetadata License metadata. */ override fun licenseMetadata(licenseMetadata: IResolvable) { - cdkBuilder.licenseMetadata(licenseMetadata.let(IResolvable::unwrap)) + cdkBuilder.licenseMetadata(licenseMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnLicense( * */ override fun validity(validity: IResolvable) { - cdkBuilder.validity(validity.let(IResolvable::unwrap)) + cdkBuilder.validity(validity.let(IResolvable.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public open class CfnLicense( * */ override fun validity(validity: ValidityDateFormatProperty) { - cdkBuilder.validity(validity.let(ValidityDateFormatProperty::unwrap)) + cdkBuilder.validity(validity.let(ValidityDateFormatProperty.Companion::unwrap)) } /** @@ -820,7 +820,7 @@ public open class CfnLicense( * @param allowEarlyCheckIn Indicates whether early check-ins are allowed. */ override fun allowEarlyCheckIn(allowEarlyCheckIn: IResolvable) { - cdkBuilder.allowEarlyCheckIn(allowEarlyCheckIn.let(IResolvable::unwrap)) + cdkBuilder.allowEarlyCheckIn(allowEarlyCheckIn.let(IResolvable.Companion::unwrap)) } /** @@ -975,14 +975,14 @@ public open class CfnLicense( * @param borrowConfiguration Details about a borrow configuration. */ override fun borrowConfiguration(borrowConfiguration: IResolvable) { - cdkBuilder.borrowConfiguration(borrowConfiguration.let(IResolvable::unwrap)) + cdkBuilder.borrowConfiguration(borrowConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param borrowConfiguration Details about a borrow configuration. */ override fun borrowConfiguration(borrowConfiguration: BorrowConfigurationProperty) { - cdkBuilder.borrowConfiguration(borrowConfiguration.let(BorrowConfigurationProperty::unwrap)) + cdkBuilder.borrowConfiguration(borrowConfiguration.let(BorrowConfigurationProperty.Companion::unwrap)) } /** @@ -998,7 +998,7 @@ public open class CfnLicense( * @param provisionalConfiguration Details about a provisional configuration. */ override fun provisionalConfiguration(provisionalConfiguration: IResolvable) { - cdkBuilder.provisionalConfiguration(provisionalConfiguration.let(IResolvable::unwrap)) + cdkBuilder.provisionalConfiguration(provisionalConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1006,7 +1006,7 @@ public open class CfnLicense( */ override fun provisionalConfiguration(provisionalConfiguration: ProvisionalConfigurationProperty) { - cdkBuilder.provisionalConfiguration(provisionalConfiguration.let(ProvisionalConfigurationProperty::unwrap)) + cdkBuilder.provisionalConfiguration(provisionalConfiguration.let(ProvisionalConfigurationProperty.Companion::unwrap)) } /** @@ -1207,7 +1207,7 @@ public open class CfnLicense( * @param allowCheckIn Indicates whether check-ins are allowed. */ override fun allowCheckIn(allowCheckIn: IResolvable) { - cdkBuilder.allowCheckIn(allowCheckIn.let(IResolvable::unwrap)) + cdkBuilder.allowCheckIn(allowCheckIn.let(IResolvable.Companion::unwrap)) } /** @@ -1236,7 +1236,7 @@ public open class CfnLicense( * @param overage Indicates whether overages are allowed. */ override fun overage(overage: IResolvable) { - cdkBuilder.overage(overage.let(IResolvable::unwrap)) + cdkBuilder.overage(overage.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicenseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicenseProps.kt index 2ee49298fb..eba175811b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicenseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/licensemanager/CfnLicenseProps.kt @@ -281,7 +281,7 @@ public interface CfnLicenseProps { * @param consumptionConfiguration Configuration for consumption of the license. */ override fun consumptionConfiguration(consumptionConfiguration: IResolvable) { - cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnLicenseProps { */ override fun consumptionConfiguration(consumptionConfiguration: CfnLicense.ConsumptionConfigurationProperty) { - cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(CfnLicense.ConsumptionConfigurationProperty::unwrap)) + cdkBuilder.consumptionConfiguration(consumptionConfiguration.let(CfnLicense.ConsumptionConfigurationProperty.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface CfnLicenseProps { * @param entitlements License entitlements. */ override fun entitlements(entitlements: IResolvable) { - cdkBuilder.entitlements(entitlements.let(IResolvable::unwrap)) + cdkBuilder.entitlements(entitlements.let(IResolvable.Companion::unwrap)) } /** @@ -332,14 +332,14 @@ public interface CfnLicenseProps { * @param issuer License issuer. */ override fun issuer(issuer: IResolvable) { - cdkBuilder.issuer(issuer.let(IResolvable::unwrap)) + cdkBuilder.issuer(issuer.let(IResolvable.Companion::unwrap)) } /** * @param issuer License issuer. */ override fun issuer(issuer: CfnLicense.IssuerDataProperty) { - cdkBuilder.issuer(issuer.let(CfnLicense.IssuerDataProperty::unwrap)) + cdkBuilder.issuer(issuer.let(CfnLicense.IssuerDataProperty.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public interface CfnLicenseProps { * @param licenseMetadata License metadata. */ override fun licenseMetadata(licenseMetadata: IResolvable) { - cdkBuilder.licenseMetadata(licenseMetadata.let(IResolvable::unwrap)) + cdkBuilder.licenseMetadata(licenseMetadata.let(IResolvable.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public interface CfnLicenseProps { * */ override fun validity(validity: IResolvable) { - cdkBuilder.validity(validity.let(IResolvable::unwrap)) + cdkBuilder.validity(validity.let(IResolvable.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface CfnLicenseProps { * */ override fun validity(validity: CfnLicense.ValidityDateFormatProperty) { - cdkBuilder.validity(validity.let(CfnLicense.ValidityDateFormatProperty::unwrap)) + cdkBuilder.validity(validity.let(CfnLicense.ValidityDateFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarm.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarm.kt index de6c3f821e..02e448f8b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarm.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarm.kt @@ -52,8 +52,8 @@ public open class CfnAlarm( id: String, props: CfnAlarmProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnAlarm(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAlarmProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnAlarm(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAlarmProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnAlarm( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnAlarm( * A Boolean value indicating whether the alarm is enabled. */ public open fun notificationEnabled(`value`: IResolvable) { - unwrap(this).setNotificationEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public open class CfnAlarm( * @param notificationEnabled A Boolean value indicating whether the alarm is enabled. */ override fun notificationEnabled(notificationEnabled: IResolvable) { - cdkBuilder.notificationEnabled(notificationEnabled.let(IResolvable::unwrap)) + cdkBuilder.notificationEnabled(notificationEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarmProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarmProps.kt index 741d3fc84b..f3230517b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarmProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnAlarmProps.kt @@ -321,7 +321,7 @@ public interface CfnAlarmProps { * @param notificationEnabled A Boolean value indicating whether the alarm is enabled. */ override fun notificationEnabled(notificationEnabled: IResolvable) { - cdkBuilder.notificationEnabled(notificationEnabled.let(IResolvable::unwrap)) + cdkBuilder.notificationEnabled(notificationEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucket.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucket.kt index e85f477f1c..9bc9e8a3a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucket.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucket.kt @@ -58,8 +58,8 @@ public open class CfnBucket( id: String, props: CfnBucketProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnBucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBucketProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnBucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBucketProps.Companion::unwrap)) ) public constructor( @@ -78,14 +78,14 @@ public open class CfnBucket( * An object that describes the access rules for the bucket. */ public open fun accessRules(`value`: IResolvable) { - unwrap(this).setAccessRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessRules(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that describes the access rules for the bucket. */ public open fun accessRules(`value`: AccessRulesProperty) { - unwrap(this).setAccessRules(`value`.let(AccessRulesProperty::unwrap)) + unwrap(this).setAccessRules(`value`.let(AccessRulesProperty.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnBucket( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnBucket( * Indicates whether object versioning is enabled for the bucket. */ public open fun objectVersioning(`value`: IResolvable) { - unwrap(this).setObjectVersioning(`value`.let(IResolvable::unwrap)) + unwrap(this).setObjectVersioning(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnBucket( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnBucket( * @param accessRules An object that describes the access rules for the bucket. */ override fun accessRules(accessRules: IResolvable) { - cdkBuilder.accessRules(accessRules.let(IResolvable::unwrap)) + cdkBuilder.accessRules(accessRules.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnBucket( * @param accessRules An object that describes the access rules for the bucket. */ override fun accessRules(accessRules: AccessRulesProperty) { - cdkBuilder.accessRules(accessRules.let(AccessRulesProperty::unwrap)) + cdkBuilder.accessRules(accessRules.let(AccessRulesProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnBucket( * @param objectVersioning Indicates whether object versioning is enabled for the bucket. */ override fun objectVersioning(objectVersioning: IResolvable) { - cdkBuilder.objectVersioning(objectVersioning.let(IResolvable::unwrap)) + cdkBuilder.objectVersioning(objectVersioning.let(IResolvable.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnBucket( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class CfnBucket( * `public-read` ACL or the `private` ACL. */ override fun allowPublicOverrides(allowPublicOverrides: IResolvable) { - cdkBuilder.allowPublicOverrides(allowPublicOverrides.let(IResolvable::unwrap)) + cdkBuilder.allowPublicOverrides(allowPublicOverrides.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucketProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucketProps.kt index 873652ea6d..0a5fc9b96d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucketProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnBucketProps.kt @@ -224,14 +224,14 @@ public interface CfnBucketProps { * @param accessRules An object that describes the access rules for the bucket. */ override fun accessRules(accessRules: IResolvable) { - cdkBuilder.accessRules(accessRules.let(IResolvable::unwrap)) + cdkBuilder.accessRules(accessRules.let(IResolvable.Companion::unwrap)) } /** * @param accessRules An object that describes the access rules for the bucket. */ override fun accessRules(accessRules: CfnBucket.AccessRulesProperty) { - cdkBuilder.accessRules(accessRules.let(CfnBucket.AccessRulesProperty::unwrap)) + cdkBuilder.accessRules(accessRules.let(CfnBucket.AccessRulesProperty.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface CfnBucketProps { * * `NeverEnabled` - Object versioning has never been enabled. */ override fun objectVersioning(objectVersioning: IResolvable) { - cdkBuilder.objectVersioning(objectVersioning.let(IResolvable::unwrap)) + cdkBuilder.objectVersioning(objectVersioning.let(IResolvable.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public interface CfnBucketProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificate.kt index 9275e28977..05dc35463c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificate.kt @@ -53,8 +53,8 @@ public open class CfnCertificate( id: String, props: CfnCertificateProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnCertificate( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class CfnCertificate( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificateProps.kt index 9dcb78276b..07a78922a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnCertificateProps.kt @@ -165,7 +165,7 @@ public interface CfnCertificateProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainer.kt index b746b411ad..d3f5009975 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainer.kt @@ -93,8 +93,8 @@ public open class CfnContainer( id: String, props: CfnContainerProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnContainer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContainerProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnContainer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContainerProps.Companion::unwrap)) ) public constructor( @@ -136,14 +136,14 @@ public open class CfnContainer( * An object that describes the current container deployment of the container service. */ public open fun containerServiceDeployment(`value`: IResolvable) { - unwrap(this).setContainerServiceDeployment(`value`.let(IResolvable::unwrap)) + unwrap(this).setContainerServiceDeployment(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that describes the current container deployment of the container service. */ public open fun containerServiceDeployment(`value`: ContainerServiceDeploymentProperty) { - unwrap(this).setContainerServiceDeployment(`value`.let(ContainerServiceDeploymentProperty::unwrap)) + unwrap(this).setContainerServiceDeployment(`value`.let(ContainerServiceDeploymentProperty.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnContainer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnContainer( * A Boolean value indicating whether the container service is disabled. */ public open fun isDisabled(`value`: IResolvable) { - unwrap(this).setIsDisabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsDisabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnContainer( * repositories. */ public open fun privateRegistryAccess(`value`: IResolvable) { - unwrap(this).setPrivateRegistryAccess(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrivateRegistryAccess(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnContainer( * repositories. */ public open fun privateRegistryAccess(`value`: PrivateRegistryAccessProperty) { - unwrap(this).setPrivateRegistryAccess(`value`.let(PrivateRegistryAccessProperty::unwrap)) + unwrap(this).setPrivateRegistryAccess(`value`.let(PrivateRegistryAccessProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnContainer( * The public domain name of the container service, such as `example.com` and `www.example.com` . */ public open fun publicDomainNames(`value`: IResolvable) { - unwrap(this).setPublicDomainNames(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublicDomainNames(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnContainer( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class CfnContainer( * of the container service. */ override fun containerServiceDeployment(containerServiceDeployment: IResolvable) { - cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(IResolvable::unwrap)) + cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnContainer( */ override fun containerServiceDeployment(containerServiceDeployment: ContainerServiceDeploymentProperty) { - cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(ContainerServiceDeploymentProperty::unwrap)) + cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(ContainerServiceDeploymentProperty.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public open class CfnContainer( * @param isDisabled A Boolean value indicating whether the container service is disabled. */ override fun isDisabled(isDisabled: IResolvable) { - cdkBuilder.isDisabled(isDisabled.let(IResolvable::unwrap)) + cdkBuilder.isDisabled(isDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public open class CfnContainer( * Registry ( Amazon ECR ) private repositories. */ override fun privateRegistryAccess(privateRegistryAccess: IResolvable) { - cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(IResolvable::unwrap)) + cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(IResolvable.Companion::unwrap)) } /** @@ -656,7 +656,7 @@ public open class CfnContainer( * Registry ( Amazon ECR ) private repositories. */ override fun privateRegistryAccess(privateRegistryAccess: PrivateRegistryAccessProperty) { - cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(PrivateRegistryAccessProperty::unwrap)) + cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(PrivateRegistryAccessProperty.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnContainer( * `example.com` and `www.example.com` . */ override fun publicDomainNames(publicDomainNames: IResolvable) { - cdkBuilder.publicDomainNames(publicDomainNames.let(IResolvable::unwrap)) + cdkBuilder.publicDomainNames(publicDomainNames.let(IResolvable.Companion::unwrap)) } /** @@ -797,7 +797,7 @@ public open class CfnContainer( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1014,7 +1014,7 @@ public open class CfnContainer( * @param environment The environment variables of the container. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -1052,7 +1052,7 @@ public open class CfnContainer( * container. */ override fun ports(ports: IResolvable) { - cdkBuilder.ports(ports.let(IResolvable::unwrap)) + cdkBuilder.ports(ports.let(IResolvable.Companion::unwrap)) } /** @@ -1255,7 +1255,7 @@ public open class CfnContainer( * deployment. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -1276,14 +1276,14 @@ public open class CfnContainer( * @param publicEndpoint An object that describes the endpoint of the deployment. */ override fun publicEndpoint(publicEndpoint: IResolvable) { - cdkBuilder.publicEndpoint(publicEndpoint.let(IResolvable::unwrap)) + cdkBuilder.publicEndpoint(publicEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param publicEndpoint An object that describes the endpoint of the deployment. */ override fun publicEndpoint(publicEndpoint: PublicEndpointProperty) { - cdkBuilder.publicEndpoint(publicEndpoint.let(PublicEndpointProperty::unwrap)) + cdkBuilder.publicEndpoint(publicEndpoint.let(PublicEndpointProperty.Companion::unwrap)) } /** @@ -1410,7 +1410,7 @@ public open class CfnContainer( * @param isActive A boolean value that indicates whether the `ECRImagePullerRole` is active. */ override fun isActive(isActive: IResolvable) { - cdkBuilder.isActive(isActive.let(IResolvable::unwrap)) + cdkBuilder.isActive(isActive.let(IResolvable.Companion::unwrap)) } /** @@ -2046,7 +2046,7 @@ public open class CfnContainer( * If the role is activated, the Amazon Resource Name (ARN) of the role is also listed. */ override fun ecrImagePullerRole(ecrImagePullerRole: IResolvable) { - cdkBuilder.ecrImagePullerRole(ecrImagePullerRole.let(IResolvable::unwrap)) + cdkBuilder.ecrImagePullerRole(ecrImagePullerRole.let(IResolvable.Companion::unwrap)) } /** @@ -2055,7 +2055,7 @@ public open class CfnContainer( * If the role is activated, the Amazon Resource Name (ARN) of the role is also listed. */ override fun ecrImagePullerRole(ecrImagePullerRole: EcrImagePullerRoleProperty) { - cdkBuilder.ecrImagePullerRole(ecrImagePullerRole.let(EcrImagePullerRoleProperty::unwrap)) + cdkBuilder.ecrImagePullerRole(ecrImagePullerRole.let(EcrImagePullerRoleProperty.Companion::unwrap)) } /** @@ -2340,7 +2340,7 @@ public open class CfnContainer( * container. */ override fun healthCheckConfig(healthCheckConfig: IResolvable) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2348,7 +2348,7 @@ public open class CfnContainer( * container. */ override fun healthCheckConfig(healthCheckConfig: HealthCheckConfigProperty) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(HealthCheckConfigProperty::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(HealthCheckConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainerProps.kt index 3b06943b97..0512f01e8c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnContainerProps.kt @@ -349,7 +349,7 @@ public interface CfnContainerProps { * of the container service. */ override fun containerServiceDeployment(containerServiceDeployment: IResolvable) { - cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(IResolvable::unwrap)) + cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface CfnContainerProps { */ override fun containerServiceDeployment(containerServiceDeployment: CfnContainer.ContainerServiceDeploymentProperty) { - cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(CfnContainer.ContainerServiceDeploymentProperty::unwrap)) + cdkBuilder.containerServiceDeployment(containerServiceDeployment.let(CfnContainer.ContainerServiceDeploymentProperty.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public interface CfnContainerProps { * @param isDisabled A Boolean value indicating whether the container service is disabled. */ override fun isDisabled(isDisabled: IResolvable) { - cdkBuilder.isDisabled(isDisabled.let(IResolvable::unwrap)) + cdkBuilder.isDisabled(isDisabled.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface CfnContainerProps { * in the *Amazon Lightsail Developer Guide* . */ override fun privateRegistryAccess(privateRegistryAccess: IResolvable) { - cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(IResolvable::unwrap)) + cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public interface CfnContainerProps { */ override fun privateRegistryAccess(privateRegistryAccess: CfnContainer.PrivateRegistryAccessProperty) { - cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(CfnContainer.PrivateRegistryAccessProperty::unwrap)) + cdkBuilder.privateRegistryAccess(privateRegistryAccess.let(CfnContainer.PrivateRegistryAccessProperty.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface CfnContainerProps { * container service. */ override fun publicDomainNames(publicDomainNames: IResolvable) { - cdkBuilder.publicDomainNames(publicDomainNames.let(IResolvable::unwrap)) + cdkBuilder.publicDomainNames(publicDomainNames.let(IResolvable.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public interface CfnContainerProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabase.kt index 31d31f9acc..6c06da1f38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabase.kt @@ -71,8 +71,8 @@ public open class CfnDatabase( id: String, props: CfnDatabaseProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatabaseProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatabaseProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnDatabase( * A Boolean value indicating whether automated backup retention is enabled for the database. */ public open fun backupRetention(`value`: IResolvable) { - unwrap(this).setBackupRetention(`value`.let(IResolvable::unwrap)) + unwrap(this).setBackupRetention(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnDatabase( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnDatabase( * A Boolean value indicating whether the database is accessible to anyone on the internet. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnDatabase( * An array of parameters for the database. */ public open fun relationalDatabaseParameters(`value`: IResolvable) { - unwrap(this).setRelationalDatabaseParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setRelationalDatabaseParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnDatabase( * password generated by Lightsail . */ public open fun rotateMasterUserPassword(`value`: IResolvable) { - unwrap(this).setRotateMasterUserPassword(`value`.let(IResolvable::unwrap)) + unwrap(this).setRotateMasterUserPassword(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class CfnDatabase( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public open class CfnDatabase( * enabled for the database. */ override fun backupRetention(backupRetention: IResolvable) { - cdkBuilder.backupRetention(backupRetention.let(IResolvable::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(IResolvable.Companion::unwrap)) } /** @@ -840,7 +840,7 @@ public open class CfnDatabase( * anyone on the internet. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -882,7 +882,7 @@ public open class CfnDatabase( * @param relationalDatabaseParameters An array of parameters for the database. */ override fun relationalDatabaseParameters(relationalDatabaseParameters: IResolvable) { - cdkBuilder.relationalDatabaseParameters(relationalDatabaseParameters.let(IResolvable::unwrap)) + cdkBuilder.relationalDatabaseParameters(relationalDatabaseParameters.let(IResolvable.Companion::unwrap)) } /** @@ -935,7 +935,7 @@ public open class CfnDatabase( * password to a new, strong password generated by Lightsail . */ override fun rotateMasterUserPassword(rotateMasterUserPassword: IResolvable) { - cdkBuilder.rotateMasterUserPassword(rotateMasterUserPassword.let(IResolvable::unwrap)) + cdkBuilder.rotateMasterUserPassword(rotateMasterUserPassword.let(IResolvable.Companion::unwrap)) } /** @@ -953,7 +953,7 @@ public open class CfnDatabase( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public open class CfnDatabase( * @param isModifiable A Boolean value indicating whether the parameter can be modified. */ override fun isModifiable(isModifiable: IResolvable) { - cdkBuilder.isModifiable(isModifiable.let(IResolvable::unwrap)) + cdkBuilder.isModifiable(isModifiable.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabaseProps.kt index 32af7b5de1..ec047608ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDatabaseProps.kt @@ -505,7 +505,7 @@ public interface CfnDatabaseProps { * `BackupRetention` is set to `true` . */ override fun backupRetention(backupRetention: IResolvable) { - cdkBuilder.backupRetention(backupRetention.let(IResolvable::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(IResolvable.Companion::unwrap)) } /** @@ -640,7 +640,7 @@ public interface CfnDatabaseProps { * anyone on the internet. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public interface CfnDatabaseProps { * @param relationalDatabaseParameters An array of parameters for the database. */ override fun relationalDatabaseParameters(relationalDatabaseParameters: IResolvable) { - cdkBuilder.relationalDatabaseParameters(relationalDatabaseParameters.let(IResolvable::unwrap)) + cdkBuilder.relationalDatabaseParameters(relationalDatabaseParameters.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public interface CfnDatabaseProps { * the same template. */ override fun rotateMasterUserPassword(rotateMasterUserPassword: IResolvable) { - cdkBuilder.rotateMasterUserPassword(rotateMasterUserPassword.let(IResolvable::unwrap)) + cdkBuilder.rotateMasterUserPassword(rotateMasterUserPassword.let(IResolvable.Companion::unwrap)) } /** @@ -718,7 +718,7 @@ public interface CfnDatabaseProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDisk.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDisk.kt index 9346c4b3fa..9bfec14b7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDisk.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDisk.kt @@ -65,8 +65,8 @@ public open class CfnDisk( id: String, props: CfnDiskProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnDisk(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDiskProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnDisk(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDiskProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnDisk( * An array of add-ons for the disk. */ public open fun addOns(`value`: IResolvable) { - unwrap(this).setAddOns(`value`.let(IResolvable::unwrap)) + unwrap(this).setAddOns(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnDisk( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnDisk( * The AWS Region and Availability Zone where the disk is located. */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS Region and Availability Zone where the disk is located. */ public open fun location(`value`: LocationProperty) { - unwrap(this).setLocation(`value`.let(LocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(LocationProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnDisk( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnDisk( * @param addOns An array of add-ons for the disk. */ override fun addOns(addOns: IResolvable) { - cdkBuilder.addOns(addOns.let(IResolvable::unwrap)) + cdkBuilder.addOns(addOns.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnDisk( * @param location The AWS Region and Availability Zone where the disk is located. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnDisk( * @param location The AWS Region and Availability Zone where the disk is located. */ override fun location(location: LocationProperty) { - cdkBuilder.location(location.let(LocationProperty::unwrap)) + cdkBuilder.location(location.let(LocationProperty.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnDisk( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public open class CfnDisk( * the daily time when an automatic snapshot will be created. */ override fun autoSnapshotAddOnRequest(autoSnapshotAddOnRequest: IResolvable) { - cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(IResolvable::unwrap)) + cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(IResolvable.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class CfnDisk( * the daily time when an automatic snapshot will be created. */ override fun autoSnapshotAddOnRequest(autoSnapshotAddOnRequest: AutoSnapshotAddOnProperty) { - cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(AutoSnapshotAddOnProperty::unwrap)) + cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(AutoSnapshotAddOnProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDiskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDiskProps.kt index b24c8b479d..de575ca1b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDiskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDiskProps.kt @@ -201,7 +201,7 @@ public interface CfnDiskProps { * automatically disabled before the disk is deleted. */ override fun addOns(addOns: IResolvable) { - cdkBuilder.addOns(addOns.let(IResolvable::unwrap)) + cdkBuilder.addOns(addOns.let(IResolvable.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public interface CfnDiskProps { * @param location The AWS Region and Availability Zone where the disk is located. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** * @param location The AWS Region and Availability Zone where the disk is located. */ override fun location(location: CfnDisk.LocationProperty) { - cdkBuilder.location(location.let(CfnDisk.LocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnDisk.LocationProperty.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface CfnDiskProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistribution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistribution.kt index 2ad6aecceb..66b9e4ca42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistribution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistribution.kt @@ -93,8 +93,8 @@ public open class CfnDistribution( id: String, props: CfnDistributionProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnDistribution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDistributionProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnDistribution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDistributionProps.Companion::unwrap)) ) public constructor( @@ -141,14 +141,14 @@ public open class CfnDistribution( * An object that describes the cache behavior settings of the distribution. */ public open fun cacheBehaviorSettings(`value`: IResolvable) { - unwrap(this).setCacheBehaviorSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setCacheBehaviorSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that describes the cache behavior settings of the distribution. */ public open fun cacheBehaviorSettings(`value`: CacheSettingsProperty) { - unwrap(this).setCacheBehaviorSettings(`value`.let(CacheSettingsProperty::unwrap)) + unwrap(this).setCacheBehaviorSettings(`value`.let(CacheSettingsProperty.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnDistribution( * An array of objects that describe the per-path cache behavior of the distribution. */ public open fun cacheBehaviors(`value`: IResolvable) { - unwrap(this).setCacheBehaviors(`value`.let(IResolvable::unwrap)) + unwrap(this).setCacheBehaviors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnDistribution( * An object that describes the default cache behavior of the distribution. */ public open fun defaultCacheBehavior(`value`: IResolvable) { - unwrap(this).setDefaultCacheBehavior(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultCacheBehavior(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that describes the default cache behavior of the distribution. */ public open fun defaultCacheBehavior(`value`: CacheBehaviorProperty) { - unwrap(this).setDefaultCacheBehavior(`value`.let(CacheBehaviorProperty::unwrap)) + unwrap(this).setDefaultCacheBehavior(`value`.let(CacheBehaviorProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnDistribution( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnDistribution( * A Boolean value indicating whether the distribution is enabled. */ public open fun isEnabled(`value`: IResolvable) { - unwrap(this).setIsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnDistribution( * bucket, or load balancer. */ public open fun origin(`value`: IResolvable) { - unwrap(this).setOrigin(`value`.let(IResolvable::unwrap)) + unwrap(this).setOrigin(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnDistribution( * bucket, or load balancer. */ public open fun origin(`value`: InputOriginProperty) { - unwrap(this).setOrigin(`value`.let(InputOriginProperty::unwrap)) + unwrap(this).setOrigin(`value`.let(InputOriginProperty.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnDistribution( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class CfnDistribution( * distribution. */ override fun cacheBehaviorSettings(cacheBehaviorSettings: IResolvable) { - cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(IResolvable::unwrap)) + cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnDistribution( * distribution. */ override fun cacheBehaviorSettings(cacheBehaviorSettings: CacheSettingsProperty) { - cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(CacheSettingsProperty::unwrap)) + cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(CacheSettingsProperty.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class CfnDistribution( * distribution. */ override fun cacheBehaviors(cacheBehaviors: IResolvable) { - cdkBuilder.cacheBehaviors(cacheBehaviors.let(IResolvable::unwrap)) + cdkBuilder.cacheBehaviors(cacheBehaviors.let(IResolvable.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public open class CfnDistribution( * distribution. */ override fun defaultCacheBehavior(defaultCacheBehavior: IResolvable) { - cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(IResolvable::unwrap)) + cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(IResolvable.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public open class CfnDistribution( * distribution. */ override fun defaultCacheBehavior(defaultCacheBehavior: CacheBehaviorProperty) { - cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(CacheBehaviorProperty::unwrap)) + cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(CacheBehaviorProperty.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class CfnDistribution( * @param isEnabled A Boolean value indicating whether the distribution is enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnDistribution( * Lightsail instance, bucket, or load balancer. */ override fun origin(origin: IResolvable) { - cdkBuilder.origin(origin.let(IResolvable::unwrap)) + cdkBuilder.origin(origin.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnDistribution( * Lightsail instance, bucket, or load balancer. */ override fun origin(origin: InputOriginProperty) { - cdkBuilder.origin(origin.let(InputOriginProperty::unwrap)) + cdkBuilder.origin(origin.let(InputOriginProperty.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class CfnDistribution( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1534,7 +1534,7 @@ public open class CfnDistribution( * Your content is cached based on the cookies that are forwarded. */ override fun forwardedCookies(forwardedCookies: IResolvable) { - cdkBuilder.forwardedCookies(forwardedCookies.let(IResolvable::unwrap)) + cdkBuilder.forwardedCookies(forwardedCookies.let(IResolvable.Companion::unwrap)) } /** @@ -1543,7 +1543,7 @@ public open class CfnDistribution( * Your content is cached based on the cookies that are forwarded. */ override fun forwardedCookies(forwardedCookies: CookieObjectProperty) { - cdkBuilder.forwardedCookies(forwardedCookies.let(CookieObjectProperty::unwrap)) + cdkBuilder.forwardedCookies(forwardedCookies.let(CookieObjectProperty.Companion::unwrap)) } /** @@ -1562,7 +1562,7 @@ public open class CfnDistribution( * Your content is cached based on the headers that are forwarded. */ override fun forwardedHeaders(forwardedHeaders: IResolvable) { - cdkBuilder.forwardedHeaders(forwardedHeaders.let(IResolvable::unwrap)) + cdkBuilder.forwardedHeaders(forwardedHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -1571,7 +1571,7 @@ public open class CfnDistribution( * Your content is cached based on the headers that are forwarded. */ override fun forwardedHeaders(forwardedHeaders: HeaderObjectProperty) { - cdkBuilder.forwardedHeaders(forwardedHeaders.let(HeaderObjectProperty::unwrap)) + cdkBuilder.forwardedHeaders(forwardedHeaders.let(HeaderObjectProperty.Companion::unwrap)) } /** @@ -1590,7 +1590,7 @@ public open class CfnDistribution( * Your content is cached based on the query strings that are forwarded. */ override fun forwardedQueryStrings(forwardedQueryStrings: IResolvable) { - cdkBuilder.forwardedQueryStrings(forwardedQueryStrings.let(IResolvable::unwrap)) + cdkBuilder.forwardedQueryStrings(forwardedQueryStrings.let(IResolvable.Companion::unwrap)) } /** @@ -1599,7 +1599,7 @@ public open class CfnDistribution( * Your content is cached based on the query strings that are forwarded. */ override fun forwardedQueryStrings(forwardedQueryStrings: QueryStringObjectProperty) { - cdkBuilder.forwardedQueryStrings(forwardedQueryStrings.let(QueryStringObjectProperty::unwrap)) + cdkBuilder.forwardedQueryStrings(forwardedQueryStrings.let(QueryStringObjectProperty.Companion::unwrap)) } /** @@ -2323,7 +2323,7 @@ public open class CfnDistribution( * strings. */ override fun option(option: IResolvable) { - cdkBuilder.option(option.let(IResolvable::unwrap)) + cdkBuilder.option(option.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistributionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistributionProps.kt index 340450092f..1e97c72bf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistributionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnDistributionProps.kt @@ -312,7 +312,7 @@ public interface CfnDistributionProps { * distribution. */ override fun cacheBehaviorSettings(cacheBehaviorSettings: IResolvable) { - cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(IResolvable::unwrap)) + cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface CfnDistributionProps { */ override fun cacheBehaviorSettings(cacheBehaviorSettings: CfnDistribution.CacheSettingsProperty) { - cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(CfnDistribution.CacheSettingsProperty::unwrap)) + cdkBuilder.cacheBehaviorSettings(cacheBehaviorSettings.let(CfnDistribution.CacheSettingsProperty.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public interface CfnDistributionProps { * distribution. */ override fun cacheBehaviors(cacheBehaviors: IResolvable) { - cdkBuilder.cacheBehaviors(cacheBehaviors.let(IResolvable::unwrap)) + cdkBuilder.cacheBehaviors(cacheBehaviors.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface CfnDistributionProps { * distribution. */ override fun defaultCacheBehavior(defaultCacheBehavior: IResolvable) { - cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(IResolvable::unwrap)) + cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(IResolvable.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public interface CfnDistributionProps { * distribution. */ override fun defaultCacheBehavior(defaultCacheBehavior: CfnDistribution.CacheBehaviorProperty) { - cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(CfnDistribution.CacheBehaviorProperty::unwrap)) + cdkBuilder.defaultCacheBehavior(defaultCacheBehavior.let(CfnDistribution.CacheBehaviorProperty.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnDistributionProps { * @param isEnabled A Boolean value indicating whether the distribution is enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public interface CfnDistributionProps { * The distribution pulls, caches, and serves content from the origin. */ override fun origin(origin: IResolvable) { - cdkBuilder.origin(origin.let(IResolvable::unwrap)) + cdkBuilder.origin(origin.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public interface CfnDistributionProps { * The distribution pulls, caches, and serves content from the origin. */ override fun origin(origin: CfnDistribution.InputOriginProperty) { - cdkBuilder.origin(origin.let(CfnDistribution.InputOriginProperty::unwrap)) + cdkBuilder.origin(origin.let(CfnDistribution.InputOriginProperty.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface CfnDistributionProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstance.kt index 8787dbef99..ad80fd0630 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstance.kt @@ -104,8 +104,8 @@ public open class CfnInstance( id: String, props: CfnInstanceProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnInstance( * An array of add-ons for the instance. */ public open fun addOns(`value`: IResolvable) { - unwrap(this).setAddOns(`value`.let(IResolvable::unwrap)) + unwrap(this).setAddOns(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnInstance( * RAM. */ public open fun hardware(`value`: IResolvable) { - unwrap(this).setHardware(`value`.let(IResolvable::unwrap)) + unwrap(this).setHardware(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnInstance( * RAM. */ public open fun hardware(`value`: HardwareProperty) { - unwrap(this).setHardware(`value`.let(HardwareProperty::unwrap)) + unwrap(this).setHardware(`value`.let(HardwareProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -330,14 +330,14 @@ public open class CfnInstance( * The location for the instance, such as the AWS Region and Availability Zone. */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The location for the instance, such as the AWS Region and Availability Zone. */ public open fun location(`value`: LocationProperty) { - unwrap(this).setLocation(`value`.let(LocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(LocationProperty.Companion::unwrap)) } /** @@ -357,14 +357,14 @@ public open class CfnInstance( * The public ports and the monthly amount of data transfer allocated for the instance. */ public open fun networking(`value`: IResolvable) { - unwrap(this).setNetworking(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworking(`value`.let(IResolvable.Companion::unwrap)) } /** * The public ports and the monthly amount of data transfer allocated for the instance. */ public open fun networking(`value`: NetworkingProperty) { - unwrap(this).setNetworking(`value`.let(NetworkingProperty::unwrap)) + unwrap(this).setNetworking(`value`.let(NetworkingProperty.Companion::unwrap)) } /** @@ -384,14 +384,14 @@ public open class CfnInstance( * The status code and the state (for example, `running` ) of the instance. */ public open fun state(`value`: IResolvable) { - unwrap(this).setState(`value`.let(IResolvable::unwrap)) + unwrap(this).setState(`value`.let(IResolvable.Companion::unwrap)) } /** * The status code and the state (for example, `running` ) of the instance. */ public open fun state(`value`: StateProperty) { - unwrap(this).setState(`value`.let(StateProperty::unwrap)) + unwrap(this).setState(`value`.let(StateProperty.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class CfnInstance( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -750,7 +750,7 @@ public open class CfnInstance( * @param addOns An array of add-ons for the instance. */ override fun addOns(addOns: IResolvable) { - cdkBuilder.addOns(addOns.let(IResolvable::unwrap)) + cdkBuilder.addOns(addOns.let(IResolvable.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public open class CfnInstance( * disks, and amount of RAM. */ override fun hardware(hardware: IResolvable) { - cdkBuilder.hardware(hardware.let(IResolvable::unwrap)) + cdkBuilder.hardware(hardware.let(IResolvable.Companion::unwrap)) } /** @@ -842,7 +842,7 @@ public open class CfnInstance( * disks, and amount of RAM. */ override fun hardware(hardware: HardwareProperty) { - cdkBuilder.hardware(hardware.let(HardwareProperty::unwrap)) + cdkBuilder.hardware(hardware.let(HardwareProperty.Companion::unwrap)) } /** @@ -897,7 +897,7 @@ public open class CfnInstance( * @param location The location for the instance, such as the AWS Region and Availability Zone. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -912,7 +912,7 @@ public open class CfnInstance( * @param location The location for the instance, such as the AWS Region and Availability Zone. */ override fun location(location: LocationProperty) { - cdkBuilder.location(location.let(LocationProperty::unwrap)) + cdkBuilder.location(location.let(LocationProperty.Companion::unwrap)) } /** @@ -939,7 +939,7 @@ public open class CfnInstance( * instance. */ override fun networking(networking: IResolvable) { - cdkBuilder.networking(networking.let(IResolvable::unwrap)) + cdkBuilder.networking(networking.let(IResolvable.Companion::unwrap)) } /** @@ -950,7 +950,7 @@ public open class CfnInstance( * instance. */ override fun networking(networking: NetworkingProperty) { - cdkBuilder.networking(networking.let(NetworkingProperty::unwrap)) + cdkBuilder.networking(networking.let(NetworkingProperty.Companion::unwrap)) } /** @@ -977,7 +977,7 @@ public open class CfnInstance( * @param state The status code and the state (for example, `running` ) of the instance. */ override fun state(state: IResolvable) { - cdkBuilder.state(state.let(IResolvable::unwrap)) + cdkBuilder.state(state.let(IResolvable.Companion::unwrap)) } /** @@ -992,7 +992,7 @@ public open class CfnInstance( * @param state The status code and the state (for example, `running` ) of the instance. */ override fun state(state: StateProperty) { - cdkBuilder.state(state.let(StateProperty::unwrap)) + cdkBuilder.state(state.let(StateProperty.Companion::unwrap)) } /** @@ -1025,7 +1025,7 @@ public open class CfnInstance( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1197,7 +1197,7 @@ public open class CfnInstance( * the daily time when an automatic snapshot will be created. */ override fun autoSnapshotAddOnRequest(autoSnapshotAddOnRequest: IResolvable) { - cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(IResolvable::unwrap)) + cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(IResolvable.Companion::unwrap)) } /** @@ -1205,7 +1205,7 @@ public open class CfnInstance( * the daily time when an automatic snapshot will be created. */ override fun autoSnapshotAddOnRequest(autoSnapshotAddOnRequest: AutoSnapshotAddOnProperty) { - cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(AutoSnapshotAddOnProperty::unwrap)) + cdkBuilder.autoSnapshotAddOnRequest(autoSnapshotAddOnRequest.let(AutoSnapshotAddOnProperty.Companion::unwrap)) } /** @@ -1572,7 +1572,7 @@ public open class CfnInstance( * operating system loaded on it). */ override fun isSystemDisk(isSystemDisk: IResolvable) { - cdkBuilder.isSystemDisk(isSystemDisk.let(IResolvable::unwrap)) + cdkBuilder.isSystemDisk(isSystemDisk.let(IResolvable.Companion::unwrap)) } /** @@ -1798,7 +1798,7 @@ public open class CfnInstance( * the public IP address of your instance if a static IP isn't attached to it. */ override fun disks(disks: IResolvable) { - cdkBuilder.disks(disks.let(IResolvable::unwrap)) + cdkBuilder.disks(disks.let(IResolvable.Companion::unwrap)) } /** @@ -2181,7 +2181,7 @@ public open class CfnInstance( * instance. */ override fun monthlyTransfer(monthlyTransfer: IResolvable) { - cdkBuilder.monthlyTransfer(monthlyTransfer.let(IResolvable::unwrap)) + cdkBuilder.monthlyTransfer(monthlyTransfer.let(IResolvable.Companion::unwrap)) } /** @@ -2189,7 +2189,7 @@ public open class CfnInstance( * instance. */ override fun monthlyTransfer(monthlyTransfer: MonthlyTransferProperty) { - cdkBuilder.monthlyTransfer(monthlyTransfer.let(MonthlyTransferProperty::unwrap)) + cdkBuilder.monthlyTransfer(monthlyTransfer.let(MonthlyTransferProperty.Companion::unwrap)) } /** @@ -2205,7 +2205,7 @@ public open class CfnInstance( * @param ports An array of ports to open on the instance. */ override fun ports(ports: IResolvable) { - cdkBuilder.ports(ports.let(IResolvable::unwrap)) + cdkBuilder.ports(ports.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstanceProps.kt index 61f712bc6a..40547b6572 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnInstanceProps.kt @@ -414,7 +414,7 @@ public interface CfnInstanceProps { * is automatically disabled before the instance is deleted. */ override fun addOns(addOns: IResolvable) { - cdkBuilder.addOns(addOns.let(IResolvable::unwrap)) + cdkBuilder.addOns(addOns.let(IResolvable.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface CfnInstanceProps { * public IP address of your instance if a static IP isn't attached to it. */ override fun hardware(hardware: IResolvable) { - cdkBuilder.hardware(hardware.let(IResolvable::unwrap)) + cdkBuilder.hardware(hardware.let(IResolvable.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public interface CfnInstanceProps { * public IP address of your instance if a static IP isn't attached to it. */ override fun hardware(hardware: CfnInstance.HardwareProperty) { - cdkBuilder.hardware(hardware.let(CfnInstance.HardwareProperty::unwrap)) + cdkBuilder.hardware(hardware.let(CfnInstance.HardwareProperty.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface CfnInstanceProps { * update instance request. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnInstanceProps { * update instance request. */ override fun location(location: CfnInstance.LocationProperty) { - cdkBuilder.location(location.let(CfnInstance.LocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnInstance.LocationProperty.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public interface CfnInstanceProps { * instance. */ override fun networking(networking: IResolvable) { - cdkBuilder.networking(networking.let(IResolvable::unwrap)) + cdkBuilder.networking(networking.let(IResolvable.Companion::unwrap)) } /** @@ -549,7 +549,7 @@ public interface CfnInstanceProps { * instance. */ override fun networking(networking: CfnInstance.NetworkingProperty) { - cdkBuilder.networking(networking.let(CfnInstance.NetworkingProperty::unwrap)) + cdkBuilder.networking(networking.let(CfnInstance.NetworkingProperty.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface CfnInstanceProps { * instance request. */ override fun state(state: IResolvable) { - cdkBuilder.state(state.let(IResolvable::unwrap)) + cdkBuilder.state(state.let(IResolvable.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public interface CfnInstanceProps { * instance request. */ override fun state(state: CfnInstance.StateProperty) { - cdkBuilder.state(state.let(CfnInstance.StateProperty::unwrap)) + cdkBuilder.state(state.let(CfnInstance.StateProperty.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public interface CfnInstanceProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancer.kt index 4ad86614c9..c5bab5f07a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancer.kt @@ -62,8 +62,8 @@ public open class CfnLoadBalancer( id: String, props: CfnLoadBalancerProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoadBalancerProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnLoadBalancer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoadBalancerProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnLoadBalancer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnLoadBalancer( * A Boolean value indicating whether session stickiness is enabled. */ public open fun sessionStickinessEnabled(`value`: IResolvable) { - unwrap(this).setSessionStickinessEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setSessionStickinessEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnLoadBalancer( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class CfnLoadBalancer( * enabled. */ override fun sessionStickinessEnabled(sessionStickinessEnabled: IResolvable) { - cdkBuilder.sessionStickinessEnabled(sessionStickinessEnabled.let(IResolvable::unwrap)) + cdkBuilder.sessionStickinessEnabled(sessionStickinessEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnLoadBalancer( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerProps.kt index 97c91b7dcb..b6b92defe4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerProps.kt @@ -296,7 +296,7 @@ public interface CfnLoadBalancerProps { * the same instance. */ override fun sessionStickinessEnabled(sessionStickinessEnabled: IResolvable) { - cdkBuilder.sessionStickinessEnabled(sessionStickinessEnabled.let(IResolvable::unwrap)) + cdkBuilder.sessionStickinessEnabled(sessionStickinessEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface CfnLoadBalancerProps { * The `Value` of `Tags` is optional for Lightsail resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificate.kt index b169bc3165..dea92c36b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificate.kt @@ -47,8 +47,8 @@ public open class CfnLoadBalancerTlsCertificate( id: String, props: CfnLoadBalancerTlsCertificateProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnLoadBalancerTlsCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoadBalancerTlsCertificateProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnLoadBalancerTlsCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoadBalancerTlsCertificateProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnLoadBalancerTlsCertificate( * TLS certificate is attached to. */ public open fun httpsRedirectionEnabled(`value`: IResolvable) { - unwrap(this).setHttpsRedirectionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpsRedirectionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnLoadBalancerTlsCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnLoadBalancerTlsCertificate( * balancer. */ public open fun isAttached(`value`: IResolvable) { - unwrap(this).setIsAttached(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsAttached(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnLoadBalancerTlsCertificate( * enabled for the load balancer that the TLS certificate is attached to. */ override fun httpsRedirectionEnabled(httpsRedirectionEnabled: IResolvable) { - cdkBuilder.httpsRedirectionEnabled(httpsRedirectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.httpsRedirectionEnabled(httpsRedirectionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnLoadBalancerTlsCertificate( * Lightsail load balancer. */ override fun isAttached(isAttached: IResolvable) { - cdkBuilder.isAttached(isAttached.let(IResolvable::unwrap)) + cdkBuilder.isAttached(isAttached.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificateProps.kt index 468cc37531..69e968e4a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnLoadBalancerTlsCertificateProps.kt @@ -201,7 +201,7 @@ public interface CfnLoadBalancerTlsCertificateProps { * enabled for the load balancer that the TLS certificate is attached to. */ override fun httpsRedirectionEnabled(httpsRedirectionEnabled: IResolvable) { - cdkBuilder.httpsRedirectionEnabled(httpsRedirectionEnabled.let(IResolvable::unwrap)) + cdkBuilder.httpsRedirectionEnabled(httpsRedirectionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnLoadBalancerTlsCertificateProps { * Lightsail load balancer. */ override fun isAttached(isAttached: IResolvable) { - cdkBuilder.isAttached(isAttached.let(IResolvable::unwrap)) + cdkBuilder.isAttached(isAttached.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnStaticIp.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnStaticIp.kt index 36dd4efd2a..5652ab4724 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnStaticIp.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lightsail/CfnStaticIp.kt @@ -39,8 +39,8 @@ public open class CfnStaticIp( id: String, props: CfnStaticIpProps, ) : - this(software.amazon.awscdk.services.lightsail.CfnStaticIp(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStaticIpProps::unwrap)) + this(software.amazon.awscdk.services.lightsail.CfnStaticIp(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStaticIpProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnStaticIp( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKey.kt index 91f9ad0f69..4d45137bd0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKey.kt @@ -62,8 +62,8 @@ public open class CfnAPIKey( id: String, props: CfnAPIKeyProps, ) : - this(software.amazon.awscdk.services.location.CfnAPIKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAPIKeyProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnAPIKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAPIKeyProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnAPIKey( * ForceDelete bypasses an API key's expiry conditions and deletes the key. */ public open fun forceDelete(`value`: IResolvable) { - unwrap(this).setForceDelete(`value`.let(IResolvable::unwrap)) + unwrap(this).setForceDelete(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnAPIKey( * The boolean flag to be included for updating `ExpireTime` or Restrictions details. */ public open fun forceUpdate(`value`: IResolvable) { - unwrap(this).setForceUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setForceUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnAPIKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnAPIKey( * Whether the API key should expire. */ public open fun noExpiry(`value`: IResolvable) { - unwrap(this).setNoExpiry(`value`.let(IResolvable::unwrap)) + unwrap(this).setNoExpiry(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -218,14 +218,14 @@ public open class CfnAPIKey( * The API key restrictions for the API key resource. */ public open fun restrictions(`value`: IResolvable) { - unwrap(this).setRestrictions(`value`.let(IResolvable::unwrap)) + unwrap(this).setRestrictions(`value`.let(IResolvable.Companion::unwrap)) } /** * The API key restrictions for the API key resource. */ public open fun restrictions(`value`: ApiKeyRestrictionsProperty) { - unwrap(this).setRestrictions(`value`.let(ApiKeyRestrictionsProperty::unwrap)) + unwrap(this).setRestrictions(`value`.let(ApiKeyRestrictionsProperty.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnAPIKey( * Applies one or more tags to the map resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnAPIKey( * @param forceDelete ForceDelete bypasses an API key's expiry conditions and deletes the key. */ override fun forceDelete(forceDelete: IResolvable) { - cdkBuilder.forceDelete(forceDelete.let(IResolvable::unwrap)) + cdkBuilder.forceDelete(forceDelete.let(IResolvable.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnAPIKey( * details. */ override fun forceUpdate(forceUpdate: IResolvable) { - cdkBuilder.forceUpdate(forceUpdate.let(IResolvable::unwrap)) + cdkBuilder.forceUpdate(forceUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnAPIKey( * @param noExpiry Whether the API key should expire. */ override fun noExpiry(noExpiry: IResolvable) { - cdkBuilder.noExpiry(noExpiry.let(IResolvable::unwrap)) + cdkBuilder.noExpiry(noExpiry.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnAPIKey( * @param restrictions The API key restrictions for the API key resource. */ override fun restrictions(restrictions: IResolvable) { - cdkBuilder.restrictions(restrictions.let(IResolvable::unwrap)) + cdkBuilder.restrictions(restrictions.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnAPIKey( * @param restrictions The API key restrictions for the API key resource. */ override fun restrictions(restrictions: ApiKeyRestrictionsProperty) { - cdkBuilder.restrictions(restrictions.let(ApiKeyRestrictionsProperty::unwrap)) + cdkBuilder.restrictions(restrictions.let(ApiKeyRestrictionsProperty.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public open class CfnAPIKey( * @param tags Applies one or more tags to the map resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKeyProps.kt index 99e3b48497..42b4e66735 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnAPIKeyProps.kt @@ -290,7 +290,7 @@ public interface CfnAPIKeyProps { * use. */ override fun forceDelete(forceDelete: IResolvable) { - cdkBuilder.forceDelete(forceDelete.let(IResolvable::unwrap)) + cdkBuilder.forceDelete(forceDelete.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface CfnAPIKeyProps { * `False` if force update is not preferred. */ override fun forceUpdate(forceUpdate: IResolvable) { - cdkBuilder.forceUpdate(forceUpdate.let(IResolvable::unwrap)) + cdkBuilder.forceUpdate(forceUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -339,21 +339,21 @@ public interface CfnAPIKeyProps { * Set to `true` to set the API key to have no expiration time. */ override fun noExpiry(noExpiry: IResolvable) { - cdkBuilder.noExpiry(noExpiry.let(IResolvable::unwrap)) + cdkBuilder.noExpiry(noExpiry.let(IResolvable.Companion::unwrap)) } /** * @param restrictions The API key restrictions for the API key resource. */ override fun restrictions(restrictions: IResolvable) { - cdkBuilder.restrictions(restrictions.let(IResolvable::unwrap)) + cdkBuilder.restrictions(restrictions.let(IResolvable.Companion::unwrap)) } /** * @param restrictions The API key restrictions for the API key resource. */ override fun restrictions(restrictions: CfnAPIKey.ApiKeyRestrictionsProperty) { - cdkBuilder.restrictions(restrictions.let(CfnAPIKey.ApiKeyRestrictionsProperty::unwrap)) + cdkBuilder.restrictions(restrictions.let(CfnAPIKey.ApiKeyRestrictionsProperty.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface CfnAPIKeyProps { * labelling them. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollection.kt index d2f9952462..514e01b7ae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollection.kt @@ -51,8 +51,8 @@ public open class CfnGeofenceCollection( id: String, props: CfnGeofenceCollectionProps, ) : - this(software.amazon.awscdk.services.location.CfnGeofenceCollection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGeofenceCollectionProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnGeofenceCollection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGeofenceCollectionProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnGeofenceCollection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,12 +165,16 @@ public open class CfnGeofenceCollection( } /** + * (deprecated) This shape is deprecated since 2022-02-01: Deprecated. + * * @deprecated this property has been deprecated */ @Deprecated(message = "deprecated in CDK") public open fun pricingPlanDataSource(): String? = unwrap(this).getPricingPlanDataSource() /** + * (deprecated) This shape is deprecated since 2022-02-01: Deprecated. + * * @deprecated this property has been deprecated */ @Deprecated(message = "deprecated in CDK") @@ -187,7 +191,7 @@ public open class CfnGeofenceCollection( * Applies one or more tags to the geofence collection. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -244,9 +248,13 @@ public open class CfnGeofenceCollection( public fun pricingPlan(pricingPlan: String) /** + * (deprecated) This shape is deprecated since 2022-02-01: Deprecated. + * + * No longer allowed. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplandatasource) * @deprecated this property has been deprecated - * @param pricingPlanDataSource + * @param pricingPlanDataSource This shape is deprecated since 2022-02-01: Deprecated. */ @Deprecated(message = "deprecated in CDK") public fun pricingPlanDataSource(pricingPlanDataSource: String) @@ -355,9 +363,13 @@ public open class CfnGeofenceCollection( } /** + * (deprecated) This shape is deprecated since 2022-02-01: Deprecated. + * + * No longer allowed. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplandatasource) * @deprecated this property has been deprecated - * @param pricingPlanDataSource + * @param pricingPlanDataSource This shape is deprecated since 2022-02-01: Deprecated. */ @Deprecated(message = "deprecated in CDK") override fun pricingPlanDataSource(pricingPlanDataSource: String) { @@ -385,7 +397,7 @@ public open class CfnGeofenceCollection( * @param tags Applies one or more tags to the geofence collection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollectionProps.kt index b036b788ba..c6a900c635 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnGeofenceCollectionProps.kt @@ -75,6 +75,10 @@ public interface CfnGeofenceCollectionProps { public fun pricingPlan(): String? = unwrap(this).getPricingPlan() /** + * (deprecated) This shape is deprecated since 2022-02-01: Deprecated. + * + * No longer allowed. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplandatasource) * @deprecated this property has been deprecated */ @@ -137,7 +141,8 @@ public interface CfnGeofenceCollectionProps { public fun pricingPlan(pricingPlan: String) /** - * @param pricingPlanDataSource the value to be set. + * @param pricingPlanDataSource This shape is deprecated since 2022-02-01: Deprecated. + * No longer allowed. * @deprecated this property has been deprecated */ @Deprecated(message = "deprecated in CDK") @@ -224,7 +229,8 @@ public interface CfnGeofenceCollectionProps { } /** - * @param pricingPlanDataSource the value to be set. + * @param pricingPlanDataSource This shape is deprecated since 2022-02-01: Deprecated. + * No longer allowed. * @deprecated this property has been deprecated */ @Deprecated(message = "deprecated in CDK") @@ -249,7 +255,7 @@ public interface CfnGeofenceCollectionProps { * / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -315,6 +321,10 @@ public interface CfnGeofenceCollectionProps { override fun pricingPlan(): String? = unwrap(this).getPricingPlan() /** + * (deprecated) This shape is deprecated since 2022-02-01: Deprecated. + * + * No longer allowed. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplandatasource) * @deprecated this property has been deprecated */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMap.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMap.kt index 4f380def06..6903c296f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMap.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMap.kt @@ -58,8 +58,8 @@ public open class CfnMap( id: String, props: CfnMapProps, ) : - this(software.amazon.awscdk.services.location.CfnMap(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMapProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnMap(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMapProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnMap( * create. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnMap( * create. */ public open fun configuration(`value`: MapConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(MapConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(MapConfigurationProperty.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnMap( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnMap( * Applies one or more tags to the map resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnMap( * resource that you create. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnMap( * resource that you create. */ override fun configuration(configuration: MapConfigurationProperty) { - cdkBuilder.configuration(configuration.let(MapConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(MapConfigurationProperty.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public open class CfnMap( * @param tags Applies one or more tags to the map resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMapProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMapProps.kt index 4273de18bd..92ca68b3b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMapProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnMapProps.kt @@ -201,7 +201,7 @@ public interface CfnMapProps { * The map style defines the look of maps and the data provider for your map resource. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface CfnMapProps { * The map style defines the look of maps and the data provider for your map resource. */ override fun configuration(configuration: CfnMap.MapConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnMap.MapConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnMap.MapConfigurationProperty.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface CfnMapProps { * / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndex.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndex.kt index d3fdcc5ca1..b61ca206f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndex.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndex.kt @@ -66,8 +66,8 @@ public open class CfnPlaceIndex( id: String, props: CfnPlaceIndexProps, ) : - this(software.amazon.awscdk.services.location.CfnPlaceIndex(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlaceIndexProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnPlaceIndex(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlaceIndexProps.Companion::unwrap)) ) public constructor( @@ -136,14 +136,14 @@ public open class CfnPlaceIndex( * Specifies the data storage option requesting Places. */ public open fun dataSourceConfiguration(`value`: IResolvable) { - unwrap(this).setDataSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the data storage option requesting Places. */ public open fun dataSourceConfiguration(`value`: DataSourceConfigurationProperty) { - unwrap(this).setDataSourceConfiguration(`value`.let(DataSourceConfigurationProperty::unwrap)) + unwrap(this).setDataSourceConfiguration(`value`.let(DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnPlaceIndex( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnPlaceIndex( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class CfnPlaceIndex( * @param dataSourceConfiguration Specifies the data storage option requesting Places. */ override fun dataSourceConfiguration(dataSourceConfiguration: IResolvable) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnPlaceIndex( * @param dataSourceConfiguration Specifies the data storage option requesting Places. */ override fun dataSourceConfiguration(dataSourceConfiguration: DataSourceConfigurationProperty) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(DataSourceConfigurationProperty::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnPlaceIndex( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndexProps.kt index b5a27024ab..06f5487f7d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndexProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnPlaceIndexProps.kt @@ -272,7 +272,7 @@ public interface CfnPlaceIndexProps { * @param dataSourceConfiguration Specifies the data storage option requesting Places. */ override fun dataSourceConfiguration(dataSourceConfiguration: IResolvable) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public interface CfnPlaceIndexProps { */ override fun dataSourceConfiguration(dataSourceConfiguration: CfnPlaceIndex.DataSourceConfigurationProperty) { - cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(CfnPlaceIndex.DataSourceConfigurationProperty::unwrap)) + cdkBuilder.dataSourceConfiguration(dataSourceConfiguration.let(CfnPlaceIndex.DataSourceConfigurationProperty.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface CfnPlaceIndexProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculator.kt index d6de52caa4..eb06cd86fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculator.kt @@ -57,8 +57,8 @@ public open class CfnRouteCalculator( id: String, props: CfnRouteCalculatorProps, ) : - this(software.amazon.awscdk.services.location.CfnRouteCalculator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteCalculatorProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnRouteCalculator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteCalculatorProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CfnRouteCalculator( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnRouteCalculator( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnRouteCalculator( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculatorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculatorProps.kt index 8dc357a697..5d8351f8d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculatorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnRouteCalculatorProps.kt @@ -264,7 +264,7 @@ public interface CfnRouteCalculatorProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTracker.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTracker.kt index fd9aa27e85..64b0c58f19 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTracker.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTracker.kt @@ -56,8 +56,8 @@ public open class CfnTracker( id: String, props: CfnTrackerProps, ) : - this(software.amazon.awscdk.services.location.CfnTracker(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrackerProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnTracker(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrackerProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnTracker( * */ public open fun eventBridgeEnabled(`value`: IResolvable) { - unwrap(this).setEventBridgeEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventBridgeEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnTracker( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnTracker( * */ public open fun kmsKeyEnableGeospatialQueries(`value`: IResolvable) { - unwrap(this).setKmsKeyEnableGeospatialQueries(`value`.let(IResolvable::unwrap)) + unwrap(this).setKmsKeyEnableGeospatialQueries(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnTracker( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnTracker( * @param eventBridgeEnabled */ override fun eventBridgeEnabled(eventBridgeEnabled: IResolvable) { - cdkBuilder.eventBridgeEnabled(eventBridgeEnabled.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeEnabled(eventBridgeEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnTracker( * @param kmsKeyEnableGeospatialQueries */ override fun kmsKeyEnableGeospatialQueries(kmsKeyEnableGeospatialQueries: IResolvable) { - cdkBuilder.kmsKeyEnableGeospatialQueries(kmsKeyEnableGeospatialQueries.let(IResolvable::unwrap)) + cdkBuilder.kmsKeyEnableGeospatialQueries(kmsKeyEnableGeospatialQueries.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnTracker( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerConsumer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerConsumer.kt index d300e8e29e..cb1e9492d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerConsumer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerConsumer.kt @@ -46,8 +46,8 @@ public open class CfnTrackerConsumer( id: String, props: CfnTrackerConsumerProps, ) : - this(software.amazon.awscdk.services.location.CfnTrackerConsumer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrackerConsumerProps::unwrap)) + this(software.amazon.awscdk.services.location.CfnTrackerConsumer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrackerConsumerProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnTrackerConsumer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerProps.kt index 37df295710..e3fb3b1563 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/location/CfnTrackerProps.kt @@ -248,7 +248,7 @@ public interface CfnTrackerProps { * @param eventBridgeEnabled the value to be set. */ override fun eventBridgeEnabled(eventBridgeEnabled: IResolvable) { - cdkBuilder.eventBridgeEnabled(eventBridgeEnabled.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeEnabled(eventBridgeEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnTrackerProps { * @param kmsKeyEnableGeospatialQueries the value to be set. */ override fun kmsKeyEnableGeospatialQueries(kmsKeyEnableGeospatialQueries: IResolvable) { - cdkBuilder.kmsKeyEnableGeospatialQueries(kmsKeyEnableGeospatialQueries.let(IResolvable::unwrap)) + cdkBuilder.kmsKeyEnableGeospatialQueries(kmsKeyEnableGeospatialQueries.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface CfnTrackerProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnAccountPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnAccountPolicy.kt index cd25e0f54f..f1661bd77b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnAccountPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnAccountPolicy.kt @@ -103,8 +103,8 @@ public open class CfnAccountPolicy( id: String, props: CfnAccountPolicyProps, ) : - this(software.amazon.awscdk.services.logs.CfnAccountPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccountPolicyProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnAccountPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccountPolicyProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnAccountPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDelivery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDelivery.kt index d8766ef56e..a7f6c1bf1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDelivery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDelivery.kt @@ -54,8 +54,8 @@ public open class CfnDelivery( id: String, props: CfnDeliveryProps, ) : - this(software.amazon.awscdk.services.logs.CfnDelivery(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeliveryProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnDelivery(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeliveryProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnDelivery( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnDelivery( * The tags that have been assigned to this delivery. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnDelivery( * @param tags The tags that have been assigned to this delivery. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestination.kt index 9b32a6e642..98e21b2ff1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestination.kt @@ -74,8 +74,8 @@ public open class CfnDeliveryDestination( id: String, props: CfnDeliveryDestinationProps, ) : - this(software.amazon.awscdk.services.logs.CfnDeliveryDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeliveryDestinationProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnDeliveryDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeliveryDestinationProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnDeliveryDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnDeliveryDestination( * The tags that have been assigned to this delivery destination. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnDeliveryDestination( * @param tags The tags that have been assigned to this delivery destination. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestinationProps.kt index 2ec8421c42..8e1b94ba9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryDestinationProps.kt @@ -135,7 +135,7 @@ public interface CfnDeliveryDestinationProps { * @param tags The tags that have been assigned to this delivery destination. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryProps.kt index 56ebeb1552..5cc7e587ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliveryProps.kt @@ -106,7 +106,7 @@ public interface CfnDeliveryProps { * @param tags The tags that have been assigned to this delivery. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySource.kt index a14993dc1f..0d28efb445 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySource.kt @@ -78,8 +78,8 @@ public open class CfnDeliverySource( id: String, props: CfnDeliverySourceProps, ) : - this(software.amazon.awscdk.services.logs.CfnDeliverySource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeliverySourceProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnDeliverySource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeliverySourceProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnDeliverySource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnDeliverySource( * The tags that have been assigned to this delivery source. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnDeliverySource( * @param tags The tags that have been assigned to this delivery source. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySourceProps.kt index c29f1b1f55..ce87c6db33 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDeliverySourceProps.kt @@ -128,7 +128,7 @@ public interface CfnDeliverySourceProps { * @param tags The tags that have been assigned to this delivery source. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDestination.kt index ba549a33c2..8fa6ffbcea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnDestination.kt @@ -42,8 +42,8 @@ public open class CfnDestination( id: String, props: CfnDestinationProps, ) : - this(software.amazon.awscdk.services.logs.CfnDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDestinationProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDestinationProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogAnomalyDetector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogAnomalyDetector.kt index 0ccee3b2a0..16cc6941a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogAnomalyDetector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogAnomalyDetector.kt @@ -57,7 +57,7 @@ public open class CfnLogAnomalyDetector( cdkObject: software.amazon.awscdk.services.logs.CfnLogAnomalyDetector, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.logs.CfnLogAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.logs.CfnLogAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnLogAnomalyDetector( id: String, props: CfnLogAnomalyDetectorProps, ) : - this(software.amazon.awscdk.services.logs.CfnLogAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLogAnomalyDetectorProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnLogAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLogAnomalyDetectorProps.Companion::unwrap)) ) public constructor( @@ -167,7 +167,7 @@ public open class CfnLogAnomalyDetector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroup.kt index 0aa5a94ad2..96d6b3f897 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroup.kt @@ -57,7 +57,7 @@ public open class CfnLogGroup( cdkObject: software.amazon.awscdk.services.logs.CfnLogGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.logs.CfnLogGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.logs.CfnLogGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnLogGroup( id: String, props: CfnLogGroupProps, ) : - this(software.amazon.awscdk.services.logs.CfnLogGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLogGroupProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnLogGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLogGroupProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnLogGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnLogGroup( * An array of key-value pairs to apply to the log group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnLogGroup( * @param tags An array of key-value pairs to apply to the log group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroupProps.kt index 3ee1d39f6c..2828ef39f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogGroupProps.kt @@ -291,7 +291,7 @@ public interface CfnLogGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogStream.kt index 7b11e6834d..519d357edc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnLogStream.kt @@ -49,8 +49,8 @@ public open class CfnLogStream( id: String, props: CfnLogStreamProps, ) : - this(software.amazon.awscdk.services.logs.CfnLogStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLogStreamProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnLogStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLogStreamProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class CfnLogStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilter.kt index c1b322abe9..db248c5cd2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilter.kt @@ -62,8 +62,8 @@ public open class CfnMetricFilter( id: String, props: CfnMetricFilterProps, ) : - this(software.amazon.awscdk.services.logs.CfnMetricFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMetricFilterProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnMetricFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMetricFilterProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnMetricFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnMetricFilter( * The metric transformations. */ public open fun metricTransformations(`value`: IResolvable) { - unwrap(this).setMetricTransformations(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricTransformations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnMetricFilter( * @param metricTransformations The metric transformations. */ override fun metricTransformations(metricTransformations: IResolvable) { - cdkBuilder.metricTransformations(metricTransformations.let(IResolvable::unwrap)) + cdkBuilder.metricTransformations(metricTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public open class CfnMetricFilter( * . */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilterProps.kt index 39c537fa84..b095d12b38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnMetricFilterProps.kt @@ -145,7 +145,7 @@ public interface CfnMetricFilterProps { * @param metricTransformations The metric transformations. */ override fun metricTransformations(metricTransformations: IResolvable) { - cdkBuilder.metricTransformations(metricTransformations.let(IResolvable::unwrap)) + cdkBuilder.metricTransformations(metricTransformations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnQueryDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnQueryDefinition.kt index 6772c379af..de64cd7192 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnQueryDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnQueryDefinition.kt @@ -43,8 +43,8 @@ public open class CfnQueryDefinition( id: String, props: CfnQueryDefinitionProps, ) : - this(software.amazon.awscdk.services.logs.CfnQueryDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueryDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnQueryDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueryDefinitionProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class CfnQueryDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnResourcePolicy.kt index 8f718df3d2..730b4db035 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnResourcePolicy.kt @@ -40,8 +40,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.logs.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -57,7 +57,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnSubscriptionFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnSubscriptionFilter.kt index 0db444c6bd..3d192c9e4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnSubscriptionFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CfnSubscriptionFilter.kt @@ -56,8 +56,8 @@ public open class CfnSubscriptionFilter( id: String, props: CfnSubscriptionFilterProps, ) : - this(software.amazon.awscdk.services.logs.CfnSubscriptionFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubscriptionFilterProps::unwrap)) + this(software.amazon.awscdk.services.logs.CfnSubscriptionFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubscriptionFilterProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnSubscriptionFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestination.kt index f1b2bf3b97..5b840fe7c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestination.kt @@ -49,8 +49,8 @@ public open class CrossAccountDestination( id: String, props: CrossAccountDestinationProps, ) : - this(software.amazon.awscdk.services.logs.CrossAccountDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CrossAccountDestinationProps::unwrap)) + this(software.amazon.awscdk.services.logs.CrossAccountDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CrossAccountDestinationProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CrossAccountDestination( * @param statement */ public open fun addToPolicy(statement: PolicyStatement) { - unwrap(this).addToPolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToPolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -90,8 +90,8 @@ public open class CrossAccountDestination( */ public override fun bind(scope: CloudshiftdevConstructsConstruct, sourceLogGroup: ILogGroup): LogSubscriptionDestinationConfig = - unwrap(this).bind(scope.let(CloudshiftdevConstructsConstruct::unwrap), - sourceLogGroup.let(ILogGroup::unwrap)).let(LogSubscriptionDestinationConfig::wrap) + unwrap(this).bind(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + sourceLogGroup.let(ILogGroup.Companion::unwrap)).let(LogSubscriptionDestinationConfig::wrap) /** * The ARN of this CrossAccountDestination object. @@ -166,7 +166,7 @@ public open class CrossAccountDestination( * @param role The role to assume that grants permissions to write to 'target'. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestinationProps.kt index 24d695c859..7c1b549a7a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CrossAccountDestinationProps.kt @@ -88,7 +88,7 @@ public interface CrossAccountDestinationProps { * The role must be assumable by 'logs.{REGION}.amazonaws.com'. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CustomDataIdentifier.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CustomDataIdentifier.kt index 14813e6494..a0a504f95d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CustomDataIdentifier.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/CustomDataIdentifier.kt @@ -54,7 +54,7 @@ public open class CustomDataIdentifier( public override fun name(): String = unwrap(this).getName() /** - * * the regular expresssion to detect and mask log events for. + * * the regular expression to detect and mask log events for. */ public open fun regex(): String = unwrap(this).getRegex() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicy.kt index 2a479d35e3..03e32adf38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicy.kt @@ -45,7 +45,7 @@ public open class DataProtectionPolicy( cdkObject: software.amazon.awscdk.services.logs.DataProtectionPolicy, ) : CdkObject(cdkObject) { public constructor(props: DataProtectionPolicyProps) : - this(software.amazon.awscdk.services.logs.DataProtectionPolicy(props.let(DataProtectionPolicyProps::unwrap)) + this(software.amazon.awscdk.services.logs.DataProtectionPolicy(props.let(DataProtectionPolicyProps.Companion::unwrap)) ) public constructor(props: DataProtectionPolicyProps.Builder.() -> Unit) : @@ -174,7 +174,7 @@ public open class DataProtectionPolicy( * @param identifiers List of data protection identifiers. */ override fun identifiers(identifiers: List) { - cdkBuilder.identifiers(identifiers.map(DataIdentifier::unwrap)) + cdkBuilder.identifiers(identifiers.map(DataIdentifier.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class DataProtectionPolicy( * @param logGroupAuditDestination CloudWatch Logs log group to send audit findings to. */ override fun logGroupAuditDestination(logGroupAuditDestination: ILogGroup) { - cdkBuilder.logGroupAuditDestination(logGroupAuditDestination.let(ILogGroup::unwrap)) + cdkBuilder.logGroupAuditDestination(logGroupAuditDestination.let(ILogGroup.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class DataProtectionPolicy( * @param s3BucketAuditDestination S3 bucket to send audit findings to. */ override fun s3BucketAuditDestination(s3BucketAuditDestination: IBucket) { - cdkBuilder.s3BucketAuditDestination(s3BucketAuditDestination.let(IBucket::unwrap)) + cdkBuilder.s3BucketAuditDestination(s3BucketAuditDestination.let(IBucket.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.DataProtectionPolicy = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicyProps.kt index 82e07fe170..dd1d7cb7ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/DataProtectionPolicyProps.kt @@ -178,7 +178,7 @@ public interface DataProtectionPolicyProps { * https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL-custom-data-identifiers.html#custom-data-identifiers-constraints */ override fun identifiers(identifiers: List) { - cdkBuilder.identifiers(identifiers.map(DataIdentifier::unwrap)) + cdkBuilder.identifiers(identifiers.map(DataIdentifier.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface DataProtectionPolicyProps { * The log group must already exist prior to creating the data protection policy. */ override fun logGroupAuditDestination(logGroupAuditDestination: ILogGroup) { - cdkBuilder.logGroupAuditDestination(logGroupAuditDestination.let(ILogGroup::unwrap)) + cdkBuilder.logGroupAuditDestination(logGroupAuditDestination.let(ILogGroup.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public interface DataProtectionPolicyProps { * The bucket must already exist. */ override fun s3BucketAuditDestination(s3BucketAuditDestination: IBucket) { - cdkBuilder.s3BucketAuditDestination(s3BucketAuditDestination.let(IBucket::unwrap)) + cdkBuilder.s3BucketAuditDestination(s3BucketAuditDestination.let(IBucket.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.DataProtectionPolicyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/FilterPattern.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/FilterPattern.kt index 3eb57d876a..d962bb981f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/FilterPattern.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/FilterPattern.kt @@ -30,7 +30,7 @@ public open class FilterPattern( public companion object { public fun all(patterns: JsonPattern): JsonPattern = - software.amazon.awscdk.services.logs.FilterPattern.all(patterns.let(JsonPattern::unwrap)).let(JsonPattern::wrap) + software.amazon.awscdk.services.logs.FilterPattern.all(patterns.let(JsonPattern.Companion::unwrap)).let(JsonPattern::wrap) public fun allEvents(): IFilterPattern = software.amazon.awscdk.services.logs.FilterPattern.allEvents().let(IFilterPattern::wrap) @@ -39,7 +39,7 @@ public open class FilterPattern( software.amazon.awscdk.services.logs.FilterPattern.allTerms(terms).let(IFilterPattern::wrap) public fun any(patterns: JsonPattern): JsonPattern = - software.amazon.awscdk.services.logs.FilterPattern.any(patterns.let(JsonPattern::unwrap)).let(JsonPattern::wrap) + software.amazon.awscdk.services.logs.FilterPattern.any(patterns.let(JsonPattern.Companion::unwrap)).let(JsonPattern::wrap) public fun anyTerm(terms: String): IFilterPattern = software.amazon.awscdk.services.logs.FilterPattern.anyTerm(terms).let(IFilterPattern::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogGroup.kt index 900b53b1e5..bd4d9bbecc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogGroup.kt @@ -154,7 +154,7 @@ public interface ILogGroup : IResourceWithPolicy { */ override fun addMetricFilter(id: String, props: MetricFilterOptions): MetricFilter = unwrap(this).addMetricFilter(id, - props.let(MetricFilterOptions::unwrap)).let(MetricFilter::wrap) + props.let(MetricFilterOptions.Companion::unwrap)).let(MetricFilter::wrap) /** * Create a new Metric Filter on this Log Group. @@ -182,7 +182,7 @@ public interface ILogGroup : IResourceWithPolicy { * @param props Properties for creating the LogStream. */ override fun addStream(id: String, props: StreamOptions): LogStream = unwrap(this).addStream(id, - props.let(StreamOptions::unwrap)).let(LogStream::wrap) + props.let(StreamOptions.Companion::unwrap)).let(LogStream::wrap) /** * Create a new Log Stream for this Log Group. @@ -203,7 +203,7 @@ public interface ILogGroup : IResourceWithPolicy { */ override fun addSubscriptionFilter(id: String, props: SubscriptionFilterOptions): SubscriptionFilter = unwrap(this).addSubscriptionFilter(id, - props.let(SubscriptionFilterOptions::unwrap)).let(SubscriptionFilter::wrap) + props.let(SubscriptionFilterOptions.Companion::unwrap)).let(SubscriptionFilter::wrap) /** * Create a new Subscription Filter on this Log Group. @@ -223,7 +223,7 @@ public interface ILogGroup : IResourceWithPolicy { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Add a statement to the resource's resource policy. @@ -249,7 +249,7 @@ public interface ILogGroup : IResourceWithPolicy { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public interface ILogGroup : IResourceWithPolicy { * @param actions */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -300,7 +300,7 @@ public interface ILogGroup : IResourceWithPolicy { * @param grantee */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Give permissions to write to create and write to streams in this log group. @@ -308,7 +308,7 @@ public interface ILogGroup : IResourceWithPolicy { * @param grantee */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of this log group, with ':*' appended. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogStream.kt index afc1735ed5..3717bf041c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogStream.kt @@ -37,7 +37,7 @@ public interface ILogStream : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogSubscriptionDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogSubscriptionDestination.kt index 15076b0f13..030f85c933 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogSubscriptionDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ILogSubscriptionDestination.kt @@ -42,8 +42,8 @@ public interface ILogSubscriptionDestination { * @param sourceLogGroup */ override fun bind(scope: Construct, sourceLogGroup: ILogGroup): LogSubscriptionDestinationConfig - = unwrap(this).bind(scope.let(Construct::unwrap), - sourceLogGroup.let(ILogGroup::unwrap)).let(LogSubscriptionDestinationConfig::wrap) + = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sourceLogGroup.let(ILogGroup.Companion::unwrap)).let(LogSubscriptionDestinationConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroup.kt index 76ad4f9076..14e0f32012 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroup.kt @@ -48,7 +48,7 @@ public open class LogGroup( cdkObject: software.amazon.awscdk.services.logs.LogGroup, ) : Resource(cdkObject), ILogGroup { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.logs.LogGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.logs.LogGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class LogGroup( id: String, props: LogGroupProps, ) : - this(software.amazon.awscdk.services.logs.LogGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LogGroupProps::unwrap)) + this(software.amazon.awscdk.services.logs.LogGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LogGroupProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class LogGroup( */ public override fun addMetricFilter(id: String, props: MetricFilterOptions): MetricFilter = unwrap(this).addMetricFilter(id, - props.let(MetricFilterOptions::unwrap)).let(MetricFilter::wrap) + props.let(MetricFilterOptions.Companion::unwrap)).let(MetricFilter::wrap) /** * Create a new Metric Filter on this Log Group. @@ -105,7 +105,7 @@ public open class LogGroup( * @param props Properties for creating the LogStream. */ public override fun addStream(id: String, props: StreamOptions): LogStream = - unwrap(this).addStream(id, props.let(StreamOptions::unwrap)).let(LogStream::wrap) + unwrap(this).addStream(id, props.let(StreamOptions.Companion::unwrap)).let(LogStream::wrap) /** * Create a new Log Stream for this Log Group. @@ -126,7 +126,7 @@ public open class LogGroup( */ public override fun addSubscriptionFilter(id: String, props: SubscriptionFilterOptions): SubscriptionFilter = unwrap(this).addSubscriptionFilter(id, - props.let(SubscriptionFilterOptions::unwrap)).let(SubscriptionFilter::wrap) + props.let(SubscriptionFilterOptions.Companion::unwrap)).let(SubscriptionFilter::wrap) /** * Create a new Subscription Filter on this Log Group. @@ -151,7 +151,7 @@ public open class LogGroup( * @param statement The policy statement to add. */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the resource policy associated with this log group. @@ -195,8 +195,8 @@ public open class LogGroup( * @param actions */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Give permissions to read and filter events from this log group. @@ -204,7 +204,7 @@ public open class LogGroup( * @param grantee */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Give permissions to create and write to streams in this log group. @@ -212,7 +212,7 @@ public open class LogGroup( * @param grantee */ public override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of this log group. @@ -259,7 +259,7 @@ public open class LogGroup( /** * The KMS customer managed key to encrypt the log group with. * - * Default: Server-side encrpytion managed by the CloudWatch Logs service + * Default: Server-side encryption managed by the CloudWatch Logs service * * @param encryptionKey The KMS customer managed key to encrypt the log group with. */ @@ -329,7 +329,7 @@ public open class LogGroup( * @param dataProtectionPolicy Data Protection Policy for this log group. */ override fun dataProtectionPolicy(dataProtectionPolicy: DataProtectionPolicy) { - cdkBuilder.dataProtectionPolicy(dataProtectionPolicy.let(DataProtectionPolicy::unwrap)) + cdkBuilder.dataProtectionPolicy(dataProtectionPolicy.let(DataProtectionPolicy.Companion::unwrap)) } /** @@ -348,12 +348,12 @@ public open class LogGroup( /** * The KMS customer managed key to encrypt the log group with. * - * Default: Server-side encrpytion managed by the CloudWatch Logs service + * Default: Server-side encryption managed by the CloudWatch Logs service * * @param encryptionKey The KMS customer managed key to encrypt the log group with. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class LogGroup( * INFREQUENT_ACCESS. */ override fun logGroupClass(logGroupClass: LogGroupClass) { - cdkBuilder.logGroupClass(logGroupClass.let(LogGroupClass::unwrap)) + cdkBuilder.logGroupClass(logGroupClass.let(LogGroupClass.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class LogGroup( * @param removalPolicy Determine the removal policy of this log group. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class LogGroup( * @param retention How long, in days, the log contents will be retained. */ override fun retention(retention: RetentionDays) { - cdkBuilder.retention(retention.let(RetentionDays::unwrap)) + cdkBuilder.retention(retention.let(RetentionDays.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogGroup = cdkBuilder.build() @@ -421,7 +421,7 @@ public open class LogGroup( id: String, logGroupArn: String, ): ILogGroup = - software.amazon.awscdk.services.logs.LogGroup.fromLogGroupArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.logs.LogGroup.fromLogGroupArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, logGroupArn).let(ILogGroup::wrap) public fun fromLogGroupName( @@ -429,7 +429,7 @@ public open class LogGroup( id: String, logGroupName: String, ): ILogGroup = - software.amazon.awscdk.services.logs.LogGroup.fromLogGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.logs.LogGroup.fromLogGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, logGroupName).let(ILogGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroupProps.kt index 7b5e6394ff..c1e405d30c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogGroupProps.kt @@ -55,7 +55,7 @@ public interface LogGroupProps { /** * The KMS customer managed key to encrypt the log group with. * - * Default: Server-side encrpytion managed by the CloudWatch Logs service + * Default: Server-side encryption managed by the CloudWatch Logs service */ public fun encryptionKey(): IKey? = unwrap(this).getEncryptionKey()?.let(IKey::wrap) @@ -160,7 +160,7 @@ public interface LogGroupProps { * @param dataProtectionPolicy Data Protection Policy for this log group. */ override fun dataProtectionPolicy(dataProtectionPolicy: DataProtectionPolicy) { - cdkBuilder.dataProtectionPolicy(dataProtectionPolicy.let(DataProtectionPolicy::unwrap)) + cdkBuilder.dataProtectionPolicy(dataProtectionPolicy.let(DataProtectionPolicy.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface LogGroupProps { * @param encryptionKey The KMS customer managed key to encrypt the log group with. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface LogGroupProps { * be changed once the log group is created. */ override fun logGroupClass(logGroupClass: LogGroupClass) { - cdkBuilder.logGroupClass(logGroupClass.let(LogGroupClass::unwrap)) + cdkBuilder.logGroupClass(logGroupClass.let(LogGroupClass.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface LogGroupProps { * logs. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface LogGroupProps { * To retain all logs, set this value to RetentionDays.INFINITE. */ override fun retention(retention: RetentionDays) { - cdkBuilder.retention(retention.let(RetentionDays::unwrap)) + cdkBuilder.retention(retention.let(RetentionDays.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogGroupProps = cdkBuilder.build() @@ -233,7 +233,7 @@ public interface LogGroupProps { /** * The KMS customer managed key to encrypt the log group with. * - * Default: Server-side encrpytion managed by the CloudWatch Logs service + * Default: Server-side encryption managed by the CloudWatch Logs service */ override fun encryptionKey(): IKey? = unwrap(this).getEncryptionKey()?.let(IKey::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetention.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetention.kt index e12d7532c2..9703603a20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetention.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetention.kt @@ -50,8 +50,8 @@ public open class LogRetention( id: String, props: LogRetentionProps, ) : - this(software.amazon.awscdk.services.logs.LogRetention(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LogRetentionProps::unwrap)) + this(software.amazon.awscdk.services.logs.LogRetention(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LogRetentionProps.Companion::unwrap)) ) public constructor( @@ -169,7 +169,7 @@ public open class LogRetention( * @param logRetentionRetryOptions Retry options for all AWS API calls. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class LogRetention( * @param removalPolicy The removalPolicy for the log group when the stack is deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class LogRetention( * @param retention The number of days log events are kept in CloudWatch Logs. */ override fun retention(retention: RetentionDays) { - cdkBuilder.retention(retention.let(RetentionDays::unwrap)) + cdkBuilder.retention(retention.let(RetentionDays.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class LogRetention( * @param role The IAM role for the Lambda function associated with the custom resource. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogRetention = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionProps.kt index b48ce7690e..77c889def4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionProps.kt @@ -144,7 +144,7 @@ public interface LogRetentionProps { * @param logRetentionRetryOptions Retry options for all AWS API calls. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -160,21 +160,21 @@ public interface LogRetentionProps { * @param removalPolicy The removalPolicy for the log group when the stack is deleted. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param retention The number of days log events are kept in CloudWatch Logs. */ override fun retention(retention: RetentionDays) { - cdkBuilder.retention(retention.let(RetentionDays::unwrap)) + cdkBuilder.retention(retention.let(RetentionDays.Companion::unwrap)) } /** * @param role The IAM role for the Lambda function associated with the custom resource. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogRetentionProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionRetryOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionRetryOptions.kt index 170aa7e4d5..0052aaa2f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionRetryOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogRetentionRetryOptions.kt @@ -72,7 +72,7 @@ public interface LogRetentionRetryOptions { */ @Deprecated(message = "deprecated in CDK") override fun base(base: Duration) { - cdkBuilder.base(base.let(Duration::unwrap)) + cdkBuilder.base(base.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStream.kt index a3973d1281..cb08227a5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStream.kt @@ -37,8 +37,8 @@ public open class LogStream( id: String, props: LogStreamProps, ) : - this(software.amazon.awscdk.services.logs.LogStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LogStreamProps::unwrap)) + this(software.amazon.awscdk.services.logs.LogStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LogStreamProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class LogStream( * @param logGroup The log group to create a log stream for. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class LogStream( * app. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogStream = cdkBuilder.build() @@ -149,7 +149,7 @@ public open class LogStream( id: String, logStreamName: String, ): ILogStream = - software.amazon.awscdk.services.logs.LogStream.fromLogStreamName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.logs.LogStream.fromLogStreamName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, logStreamName).let(ILogStream::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStreamProps.kt index 5104ed3209..716874a8e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogStreamProps.kt @@ -93,7 +93,7 @@ public interface LogStreamProps { * @param logGroup The log group to create a log stream for. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface LogStreamProps { * after a certain time. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogStreamProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogSubscriptionDestinationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogSubscriptionDestinationConfig.kt index 1e69ed846a..c86f2777ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogSubscriptionDestinationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/LogSubscriptionDestinationConfig.kt @@ -73,7 +73,7 @@ public interface LogSubscriptionDestinationConfig { * @param role The role to assume to write log events to the destination. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.LogSubscriptionDestinationConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilter.kt index f54cbace60..14c5b610c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilter.kt @@ -38,8 +38,8 @@ public open class MetricFilter( id: String, props: MetricFilterProps, ) : - this(software.amazon.awscdk.services.logs.MetricFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(MetricFilterProps::unwrap)) + this(software.amazon.awscdk.services.logs.MetricFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(MetricFilterProps.Companion::unwrap)) ) public constructor( @@ -66,7 +66,7 @@ public open class MetricFilter( * @param props */ public open fun metric(props: MetricOptions): Metric = - unwrap(this).metric(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Metric Filter. @@ -222,7 +222,7 @@ public open class MetricFilter( * @param filterPattern Pattern to search for log events. */ override fun filterPattern(filterPattern: IFilterPattern) { - cdkBuilder.filterPattern(filterPattern.let(IFilterPattern::unwrap)) + cdkBuilder.filterPattern(filterPattern.let(IFilterPattern.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class MetricFilter( * @param logGroup The log group to create the filter on. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class MetricFilter( * @param unit The unit to assign to the metric. */ override fun unit(unit: CloudwatchUnit) { - cdkBuilder.unit(unit.let(CloudwatchUnit::unwrap)) + cdkBuilder.unit(unit.let(CloudwatchUnit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.MetricFilter = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterOptions.kt index 750a99ca3b..1e3f5b6a51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterOptions.kt @@ -189,7 +189,7 @@ public interface MetricFilterOptions { * @param filterPattern Pattern to search for log events. */ override fun filterPattern(filterPattern: IFilterPattern) { - cdkBuilder.filterPattern(filterPattern.let(IFilterPattern::unwrap)) + cdkBuilder.filterPattern(filterPattern.let(IFilterPattern.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface MetricFilterOptions { * @param unit The unit to assign to the metric. */ override fun unit(unit: CloudwatchUnit) { - cdkBuilder.unit(unit.let(CloudwatchUnit::unwrap)) + cdkBuilder.unit(unit.let(CloudwatchUnit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.MetricFilterOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterProps.kt index e2e1861c62..a8089599c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/MetricFilterProps.kt @@ -123,14 +123,14 @@ public interface MetricFilterProps : MetricFilterOptions { * @param filterPattern Pattern to search for log events. */ override fun filterPattern(filterPattern: IFilterPattern) { - cdkBuilder.filterPattern(filterPattern.let(IFilterPattern::unwrap)) + cdkBuilder.filterPattern(filterPattern.let(IFilterPattern.Companion::unwrap)) } /** * @param logGroup The log group to create the filter on. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface MetricFilterProps : MetricFilterOptions { * @param unit The unit to assign to the metric. */ override fun unit(unit: CloudwatchUnit) { - cdkBuilder.unit(unit.let(CloudwatchUnit::unwrap)) + cdkBuilder.unit(unit.let(CloudwatchUnit.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.MetricFilterProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinition.kt index 62483fbd85..8a9a5c55aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinition.kt @@ -39,8 +39,8 @@ public open class QueryDefinition( id: String, props: QueryDefinitionProps, ) : - this(software.amazon.awscdk.services.logs.QueryDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(QueryDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.logs.QueryDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(QueryDefinitionProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class QueryDefinition( * @param logGroups Specify certain log groups for the query definition. */ override fun logGroups(logGroups: List) { - cdkBuilder.logGroups(logGroups.map(ILogGroup::unwrap)) + cdkBuilder.logGroups(logGroups.map(ILogGroup.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class QueryDefinition( * @param queryString The query string to use for this query definition. */ override fun queryString(queryString: QueryString) { - cdkBuilder.queryString(queryString.let(QueryString::unwrap)) + cdkBuilder.queryString(queryString.let(QueryString.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinitionProps.kt index 97450e435b..5eebe5f3a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryDefinitionProps.kt @@ -90,7 +90,7 @@ public interface QueryDefinitionProps { * @param logGroups Specify certain log groups for the query definition. */ override fun logGroups(logGroups: List) { - cdkBuilder.logGroups(logGroups.map(ILogGroup::unwrap)) + cdkBuilder.logGroups(logGroups.map(ILogGroup.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface QueryDefinitionProps { * @param queryString The query string to use for this query definition. */ override fun queryString(queryString: QueryString) { - cdkBuilder.queryString(queryString.let(QueryString::unwrap)) + cdkBuilder.queryString(queryString.let(QueryString.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryString.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryString.kt index fb879298d8..c34bcab206 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryString.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/QueryString.kt @@ -37,7 +37,7 @@ public open class QueryString( ) public constructor(props: QueryStringProps) : - this(software.amazon.awscdk.services.logs.QueryString(props.let(QueryStringProps::unwrap)) + this(software.amazon.awscdk.services.logs.QueryString(props.let(QueryStringProps.Companion::unwrap)) ) public constructor(props: QueryStringProps.Builder.() -> Unit) : this(QueryStringProps(props) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicy.kt index ee317ffd2a..0382413dfa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicy.kt @@ -44,7 +44,7 @@ public open class ResourcePolicy( cdkObject: software.amazon.awscdk.services.logs.ResourcePolicy, ) : Resource(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.logs.ResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.logs.ResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -53,8 +53,8 @@ public open class ResourcePolicy( id: String, props: ResourcePolicyProps, ) : - this(software.amazon.awscdk.services.logs.ResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.logs.ResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class ResourcePolicy( * @param policyStatements Initial statements to add to the resource policy. */ override fun policyStatements(policyStatements: List) { - cdkBuilder.policyStatements(policyStatements.map(PolicyStatement::unwrap)) + cdkBuilder.policyStatements(policyStatements.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicyProps.kt index c9e01526d4..683979aa16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/ResourcePolicyProps.kt @@ -72,7 +72,7 @@ public interface ResourcePolicyProps { * @param policyStatements Initial statements to add to the resource policy. */ override fun policyStatements(policyStatements: List) { - cdkBuilder.policyStatements(policyStatements.map(PolicyStatement::unwrap)) + cdkBuilder.policyStatements(policyStatements.map(PolicyStatement.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilter.kt index 9cbe18a07d..48ed46b2a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilter.kt @@ -34,8 +34,8 @@ public open class SubscriptionFilter( id: String, props: SubscriptionFilterProps, ) : - this(software.amazon.awscdk.services.logs.SubscriptionFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SubscriptionFilterProps::unwrap)) + this(software.amazon.awscdk.services.logs.SubscriptionFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SubscriptionFilterProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class SubscriptionFilter( * @param destination The destination to send the filtered events to. */ override fun destination(destination: ILogSubscriptionDestination) { - cdkBuilder.destination(destination.let(ILogSubscriptionDestination::unwrap)) + cdkBuilder.destination(destination.let(ILogSubscriptionDestination.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class SubscriptionFilter( * @param filterPattern Log events matching this pattern will be sent to the destination. */ override fun filterPattern(filterPattern: IFilterPattern) { - cdkBuilder.filterPattern(filterPattern.let(IFilterPattern::unwrap)) + cdkBuilder.filterPattern(filterPattern.let(IFilterPattern.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class SubscriptionFilter( * @param logGroup The log group to create the subscription on. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.SubscriptionFilter = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterOptions.kt index 0c88003618..3d6eae0c2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterOptions.kt @@ -78,7 +78,7 @@ public interface SubscriptionFilterOptions { * For example, a Kinesis stream or a Lambda function. */ override fun destination(destination: ILogSubscriptionDestination) { - cdkBuilder.destination(destination.let(ILogSubscriptionDestination::unwrap)) + cdkBuilder.destination(destination.let(ILogSubscriptionDestination.Companion::unwrap)) } /** @@ -92,7 +92,7 @@ public interface SubscriptionFilterOptions { * @param filterPattern Log events matching this pattern will be sent to the destination. */ override fun filterPattern(filterPattern: IFilterPattern) { - cdkBuilder.filterPattern(filterPattern.let(IFilterPattern::unwrap)) + cdkBuilder.filterPattern(filterPattern.let(IFilterPattern.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.SubscriptionFilterOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterProps.kt index eec59a3066..b043300c71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/SubscriptionFilterProps.kt @@ -67,7 +67,7 @@ public interface SubscriptionFilterProps : SubscriptionFilterOptions { * For example, a Kinesis stream or a Lambda function. */ override fun destination(destination: ILogSubscriptionDestination) { - cdkBuilder.destination(destination.let(ILogSubscriptionDestination::unwrap)) + cdkBuilder.destination(destination.let(ILogSubscriptionDestination.Companion::unwrap)) } /** @@ -81,14 +81,14 @@ public interface SubscriptionFilterProps : SubscriptionFilterOptions { * @param filterPattern Log events matching this pattern will be sent to the destination. */ override fun filterPattern(filterPattern: IFilterPattern) { - cdkBuilder.filterPattern(filterPattern.let(IFilterPattern::unwrap)) + cdkBuilder.filterPattern(filterPattern.let(IFilterPattern.Companion::unwrap)) } /** * @param logGroup The log group to create the subscription on. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.SubscriptionFilterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestination.kt index 24dd151833..af7e2bd945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestination.kt @@ -35,13 +35,13 @@ public open class KinesisDestination( cdkObject: software.amazon.awscdk.services.logs.destinations.KinesisDestination, ) : CdkObject(cdkObject), ILogSubscriptionDestination { public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream) : - this(software.amazon.awscdk.services.logs.destinations.KinesisDestination(stream.let(CloudshiftdevAwscdkServicesKinesisIStream::unwrap)) + this(software.amazon.awscdk.services.logs.destinations.KinesisDestination(stream.let(CloudshiftdevAwscdkServicesKinesisIStream.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream, props: KinesisDestinationProps) : - this(software.amazon.awscdk.services.logs.destinations.KinesisDestination(stream.let(CloudshiftdevAwscdkServicesKinesisIStream::unwrap), - props.let(KinesisDestinationProps::unwrap)) + this(software.amazon.awscdk.services.logs.destinations.KinesisDestination(stream.let(CloudshiftdevAwscdkServicesKinesisIStream.Companion::unwrap), + props.let(KinesisDestinationProps.Companion::unwrap)) ) public constructor(stream: CloudshiftdevAwscdkServicesKinesisIStream, @@ -63,8 +63,8 @@ public open class KinesisDestination( * @param _sourceLogGroup */ public override fun bind(scope: Construct, sourceLogGroup: ILogGroup): - LogSubscriptionDestinationConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sourceLogGroup.let(ILogGroup::unwrap)).let(LogSubscriptionDestinationConfig::wrap) + LogSubscriptionDestinationConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sourceLogGroup.let(ILogGroup.Companion::unwrap)).let(LogSubscriptionDestinationConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.logs.destinations.KinesisDestination]. @@ -96,7 +96,7 @@ public open class KinesisDestination( * @param role The role to assume to write log events to the destination. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.destinations.KinesisDestination = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestinationProps.kt index 7e0a47dea0..528c62ac2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/KinesisDestinationProps.kt @@ -52,7 +52,7 @@ public interface KinesisDestinationProps { * @param role The role to assume to write log events to the destination. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.logs.destinations.KinesisDestinationProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/LambdaDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/LambdaDestination.kt index 03c167c8ed..cc90bbb878 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/LambdaDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/logs/destinations/LambdaDestination.kt @@ -34,13 +34,13 @@ public open class LambdaDestination( cdkObject: software.amazon.awscdk.services.logs.destinations.LambdaDestination, ) : CdkObject(cdkObject), ILogSubscriptionDestination { public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction) : - this(software.amazon.awscdk.services.logs.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + this(software.amazon.awscdk.services.logs.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction, options: LambdaDestinationOptions) : - this(software.amazon.awscdk.services.logs.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - options.let(LambdaDestinationOptions::unwrap)) + this(software.amazon.awscdk.services.logs.destinations.LambdaDestination(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + options.let(LambdaDestinationOptions.Companion::unwrap)) ) public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction, @@ -62,8 +62,8 @@ public open class LambdaDestination( * @param logGroup */ public override fun bind(scope: Construct, logGroup: ILogGroup): LogSubscriptionDestinationConfig - = unwrap(this).bind(scope.let(Construct::unwrap), - logGroup.let(ILogGroup::unwrap)).let(LogSubscriptionDestinationConfig::wrap) + = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + logGroup.let(ILogGroup.Companion::unwrap)).let(LogSubscriptionDestinationConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.logs.destinations.LambdaDestination]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceScheduler.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceScheduler.kt index c2fbb20473..d4ded1ade2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceScheduler.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceScheduler.kt @@ -74,8 +74,8 @@ public open class CfnInferenceScheduler( id: String, props: CfnInferenceSchedulerProps, ) : - this(software.amazon.awscdk.services.lookoutequipment.CfnInferenceScheduler(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInferenceSchedulerProps::unwrap)) + this(software.amazon.awscdk.services.lookoutequipment.CfnInferenceScheduler(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInferenceSchedulerProps.Companion::unwrap)) ) public constructor( @@ -160,7 +160,7 @@ public open class CfnInferenceScheduler( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnInferenceScheduler( * Any tags associated with the inference scheduler. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnInferenceScheduler( * @param tags Any tags associated with the inference scheduler. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnInferenceScheduler( * data for the inference, including timestamp format and delimiter. */ override fun inferenceInputNameConfiguration(inferenceInputNameConfiguration: IResolvable) { - cdkBuilder.inferenceInputNameConfiguration(inferenceInputNameConfiguration.let(IResolvable::unwrap)) + cdkBuilder.inferenceInputNameConfiguration(inferenceInputNameConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class CfnInferenceScheduler( */ override fun inferenceInputNameConfiguration(inferenceInputNameConfiguration: InputNameConfigurationProperty) { - cdkBuilder.inferenceInputNameConfiguration(inferenceInputNameConfiguration.let(InputNameConfigurationProperty::unwrap)) + cdkBuilder.inferenceInputNameConfiguration(inferenceInputNameConfiguration.let(InputNameConfigurationProperty.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public open class CfnInferenceScheduler( * inference, including input data S3 location. */ override fun s3InputConfiguration(s3InputConfiguration: IResolvable) { - cdkBuilder.s3InputConfiguration(s3InputConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3InputConfiguration(s3InputConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public open class CfnInferenceScheduler( * inference, including input data S3 location. */ override fun s3InputConfiguration(s3InputConfiguration: S3InputConfigurationProperty) { - cdkBuilder.s3InputConfiguration(s3InputConfiguration.let(S3InputConfigurationProperty::unwrap)) + cdkBuilder.s3InputConfiguration(s3InputConfiguration.let(S3InputConfigurationProperty.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public open class CfnInferenceScheduler( * from the inference, including output S3 location. */ override fun s3OutputConfiguration(s3OutputConfiguration: IResolvable) { - cdkBuilder.s3OutputConfiguration(s3OutputConfiguration.let(IResolvable::unwrap)) + cdkBuilder.s3OutputConfiguration(s3OutputConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -832,7 +832,7 @@ public open class CfnInferenceScheduler( * from the inference, including output S3 location. */ override fun s3OutputConfiguration(s3OutputConfiguration: S3OutputConfigurationProperty) { - cdkBuilder.s3OutputConfiguration(s3OutputConfiguration.let(S3OutputConfigurationProperty::unwrap)) + cdkBuilder.s3OutputConfiguration(s3OutputConfiguration.let(S3OutputConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceSchedulerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceSchedulerProps.kt index a0f6faf7e7..51418355b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceSchedulerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutequipment/CfnInferenceSchedulerProps.kt @@ -287,7 +287,7 @@ public interface CfnInferenceSchedulerProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlert.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlert.kt index fd7b47ba8f..babc221bdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlert.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlert.kt @@ -55,8 +55,8 @@ public open class CfnAlert( id: String, props: CfnAlertProps, ) : - this(software.amazon.awscdk.services.lookoutmetrics.CfnAlert(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAlertProps::unwrap)) + this(software.amazon.awscdk.services.lookoutmetrics.CfnAlert(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAlertProps.Companion::unwrap)) ) public constructor( @@ -75,14 +75,14 @@ public open class CfnAlert( * Action that will be triggered when there is an alert. */ public open fun action(`value`: IResolvable) { - unwrap(this).setAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setAction(`value`.let(IResolvable.Companion::unwrap)) } /** * Action that will be triggered when there is an alert. */ public open fun action(`value`: ActionProperty) { - unwrap(this).setAction(`value`.let(ActionProperty::unwrap)) + unwrap(this).setAction(`value`.let(ActionProperty.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class CfnAlert( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnAlert( * @param action Action that will be triggered when there is an alert. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnAlert( * @param action Action that will be triggered when there is an alert. */ override fun action(action: ActionProperty) { - cdkBuilder.action(action.let(ActionProperty::unwrap)) + cdkBuilder.action(action.let(ActionProperty.Companion::unwrap)) } /** @@ -412,14 +412,14 @@ public open class CfnAlert( * @param lambdaConfiguration A configuration for an AWS Lambda channel. */ override fun lambdaConfiguration(lambdaConfiguration: IResolvable) { - cdkBuilder.lambdaConfiguration(lambdaConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfiguration(lambdaConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param lambdaConfiguration A configuration for an AWS Lambda channel. */ override fun lambdaConfiguration(lambdaConfiguration: LambdaConfigurationProperty) { - cdkBuilder.lambdaConfiguration(lambdaConfiguration.let(LambdaConfigurationProperty::unwrap)) + cdkBuilder.lambdaConfiguration(lambdaConfiguration.let(LambdaConfigurationProperty.Companion::unwrap)) } /** @@ -435,14 +435,14 @@ public open class CfnAlert( * @param snsConfiguration A configuration for an Amazon SNS channel. */ override fun snsConfiguration(snsConfiguration: IResolvable) { - cdkBuilder.snsConfiguration(snsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snsConfiguration(snsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param snsConfiguration A configuration for an Amazon SNS channel. */ override fun snsConfiguration(snsConfiguration: SNSConfigurationProperty) { - cdkBuilder.snsConfiguration(snsConfiguration.let(SNSConfigurationProperty::unwrap)) + cdkBuilder.snsConfiguration(snsConfiguration.let(SNSConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlertProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlertProps.kt index b8dc92ac10..b13a6fd176 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlertProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAlertProps.kt @@ -130,14 +130,14 @@ public interface CfnAlertProps { * @param action Action that will be triggered when there is an alert. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action Action that will be triggered when there is an alert. */ override fun action(action: CfnAlert.ActionProperty) { - cdkBuilder.action(action.let(CfnAlert.ActionProperty::unwrap)) + cdkBuilder.action(action.let(CfnAlert.ActionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetector.kt index 144021713e..77e3cfc2c2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetector.kt @@ -124,8 +124,8 @@ public open class CfnAnomalyDetector( id: String, props: CfnAnomalyDetectorProps, ) : - this(software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnomalyDetectorProps::unwrap)) + this(software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnomalyDetectorProps.Companion::unwrap)) ) public constructor( @@ -144,14 +144,14 @@ public open class CfnAnomalyDetector( * Contains information about the configuration of the anomaly detector. */ public open fun anomalyDetectorConfig(`value`: IResolvable) { - unwrap(this).setAnomalyDetectorConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnomalyDetectorConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains information about the configuration of the anomaly detector. */ public open fun anomalyDetectorConfig(`value`: AnomalyDetectorConfigProperty) { - unwrap(this).setAnomalyDetectorConfig(`value`.let(AnomalyDetectorConfigProperty::unwrap)) + unwrap(this).setAnomalyDetectorConfig(`value`.let(AnomalyDetectorConfigProperty.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnAnomalyDetector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class CfnAnomalyDetector( * The detector's dataset. */ public open fun metricSetList(`value`: IResolvable) { - unwrap(this).setMetricSetList(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricSetList(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class CfnAnomalyDetector( * detector. */ override fun anomalyDetectorConfig(anomalyDetectorConfig: IResolvable) { - cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(IResolvable::unwrap)) + cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnAnomalyDetector( * detector. */ override fun anomalyDetectorConfig(anomalyDetectorConfig: AnomalyDetectorConfigProperty) { - cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(AnomalyDetectorConfigProperty::unwrap)) + cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(AnomalyDetectorConfigProperty.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CfnAnomalyDetector( * @param metricSetList The detector's dataset. */ override fun metricSetList(metricSetList: IResolvable) { - cdkBuilder.metricSetList(metricSetList.let(IResolvable::unwrap)) + cdkBuilder.metricSetList(metricSetList.let(IResolvable.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnAnomalyDetector( * @param containsHeader Whether or not the source CSV file contains a header. */ override fun containsHeader(containsHeader: IResolvable) { - cdkBuilder.containsHeader(containsHeader.let(IResolvable::unwrap)) + cdkBuilder.containsHeader(containsHeader.let(IResolvable.Companion::unwrap)) } /** @@ -1073,7 +1073,7 @@ public open class CfnAnomalyDetector( * analyzed. */ override fun csvFormatDescriptor(csvFormatDescriptor: IResolvable) { - cdkBuilder.csvFormatDescriptor(csvFormatDescriptor.let(IResolvable::unwrap)) + cdkBuilder.csvFormatDescriptor(csvFormatDescriptor.let(IResolvable.Companion::unwrap)) } /** @@ -1081,7 +1081,7 @@ public open class CfnAnomalyDetector( * analyzed. */ override fun csvFormatDescriptor(csvFormatDescriptor: CsvFormatDescriptorProperty) { - cdkBuilder.csvFormatDescriptor(csvFormatDescriptor.let(CsvFormatDescriptorProperty::unwrap)) + cdkBuilder.csvFormatDescriptor(csvFormatDescriptor.let(CsvFormatDescriptorProperty.Companion::unwrap)) } /** @@ -1099,7 +1099,7 @@ public open class CfnAnomalyDetector( * be analyzed. */ override fun jsonFormatDescriptor(jsonFormatDescriptor: IResolvable) { - cdkBuilder.jsonFormatDescriptor(jsonFormatDescriptor.let(IResolvable::unwrap)) + cdkBuilder.jsonFormatDescriptor(jsonFormatDescriptor.let(IResolvable.Companion::unwrap)) } /** @@ -1107,7 +1107,7 @@ public open class CfnAnomalyDetector( * be analyzed. */ override fun jsonFormatDescriptor(jsonFormatDescriptor: JsonFormatDescriptorProperty) { - cdkBuilder.jsonFormatDescriptor(jsonFormatDescriptor.let(JsonFormatDescriptorProperty::unwrap)) + cdkBuilder.jsonFormatDescriptor(jsonFormatDescriptor.let(JsonFormatDescriptorProperty.Companion::unwrap)) } /** @@ -1679,7 +1679,7 @@ public open class CfnAnomalyDetector( * @param metricList A list of metrics that the dataset will contain. */ override fun metricList(metricList: IResolvable) { - cdkBuilder.metricList(metricList.let(IResolvable::unwrap)) + cdkBuilder.metricList(metricList.let(IResolvable.Companion::unwrap)) } /** @@ -1720,14 +1720,14 @@ public open class CfnAnomalyDetector( * @param metricSource Contains information about how the source data should be interpreted. */ override fun metricSource(metricSource: IResolvable) { - cdkBuilder.metricSource(metricSource.let(IResolvable::unwrap)) + cdkBuilder.metricSource(metricSource.let(IResolvable.Companion::unwrap)) } /** * @param metricSource Contains information about how the source data should be interpreted. */ override fun metricSource(metricSource: MetricSourceProperty) { - cdkBuilder.metricSource(metricSource.let(MetricSourceProperty::unwrap)) + cdkBuilder.metricSource(metricSource.let(MetricSourceProperty.Companion::unwrap)) } /** @@ -1752,7 +1752,7 @@ public open class CfnAnomalyDetector( * source data. */ override fun timestampColumn(timestampColumn: IResolvable) { - cdkBuilder.timestampColumn(timestampColumn.let(IResolvable::unwrap)) + cdkBuilder.timestampColumn(timestampColumn.let(IResolvable.Companion::unwrap)) } /** @@ -1760,7 +1760,7 @@ public open class CfnAnomalyDetector( * source data. */ override fun timestampColumn(timestampColumn: TimestampColumnProperty) { - cdkBuilder.timestampColumn(timestampColumn.let(TimestampColumnProperty::unwrap)) + cdkBuilder.timestampColumn(timestampColumn.let(TimestampColumnProperty.Companion::unwrap)) } /** @@ -2084,14 +2084,14 @@ public open class CfnAnomalyDetector( * @param appFlowConfig Details about an AppFlow datasource. */ override fun appFlowConfig(appFlowConfig: IResolvable) { - cdkBuilder.appFlowConfig(appFlowConfig.let(IResolvable::unwrap)) + cdkBuilder.appFlowConfig(appFlowConfig.let(IResolvable.Companion::unwrap)) } /** * @param appFlowConfig Details about an AppFlow datasource. */ override fun appFlowConfig(appFlowConfig: AppFlowConfigProperty) { - cdkBuilder.appFlowConfig(appFlowConfig.let(AppFlowConfigProperty::unwrap)) + cdkBuilder.appFlowConfig(appFlowConfig.let(AppFlowConfigProperty.Companion::unwrap)) } /** @@ -2106,14 +2106,14 @@ public open class CfnAnomalyDetector( * @param cloudwatchConfig Details about an Amazon CloudWatch monitoring datasource. */ override fun cloudwatchConfig(cloudwatchConfig: IResolvable) { - cdkBuilder.cloudwatchConfig(cloudwatchConfig.let(IResolvable::unwrap)) + cdkBuilder.cloudwatchConfig(cloudwatchConfig.let(IResolvable.Companion::unwrap)) } /** * @param cloudwatchConfig Details about an Amazon CloudWatch monitoring datasource. */ override fun cloudwatchConfig(cloudwatchConfig: CloudwatchConfigProperty) { - cdkBuilder.cloudwatchConfig(cloudwatchConfig.let(CloudwatchConfigProperty::unwrap)) + cdkBuilder.cloudwatchConfig(cloudwatchConfig.let(CloudwatchConfigProperty.Companion::unwrap)) } /** @@ -2129,7 +2129,7 @@ public open class CfnAnomalyDetector( * datasource. */ override fun rdsSourceConfig(rdsSourceConfig: IResolvable) { - cdkBuilder.rdsSourceConfig(rdsSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.rdsSourceConfig(rdsSourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2137,7 +2137,7 @@ public open class CfnAnomalyDetector( * datasource. */ override fun rdsSourceConfig(rdsSourceConfig: RDSSourceConfigProperty) { - cdkBuilder.rdsSourceConfig(rdsSourceConfig.let(RDSSourceConfigProperty::unwrap)) + cdkBuilder.rdsSourceConfig(rdsSourceConfig.let(RDSSourceConfigProperty.Companion::unwrap)) } /** @@ -2153,14 +2153,14 @@ public open class CfnAnomalyDetector( * @param redshiftSourceConfig Details about an Amazon Redshift database datasource. */ override fun redshiftSourceConfig(redshiftSourceConfig: IResolvable) { - cdkBuilder.redshiftSourceConfig(redshiftSourceConfig.let(IResolvable::unwrap)) + cdkBuilder.redshiftSourceConfig(redshiftSourceConfig.let(IResolvable.Companion::unwrap)) } /** * @param redshiftSourceConfig Details about an Amazon Redshift database datasource. */ override fun redshiftSourceConfig(redshiftSourceConfig: RedshiftSourceConfigProperty) { - cdkBuilder.redshiftSourceConfig(redshiftSourceConfig.let(RedshiftSourceConfigProperty::unwrap)) + cdkBuilder.redshiftSourceConfig(redshiftSourceConfig.let(RedshiftSourceConfigProperty.Companion::unwrap)) } /** @@ -2177,7 +2177,7 @@ public open class CfnAnomalyDetector( * contains source files. */ override fun s3SourceConfig(s3SourceConfig: IResolvable) { - cdkBuilder.s3SourceConfig(s3SourceConfig.let(IResolvable::unwrap)) + cdkBuilder.s3SourceConfig(s3SourceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2185,7 +2185,7 @@ public open class CfnAnomalyDetector( * contains source files. */ override fun s3SourceConfig(s3SourceConfig: S3SourceConfigProperty) { - cdkBuilder.s3SourceConfig(s3SourceConfig.let(S3SourceConfigProperty::unwrap)) + cdkBuilder.s3SourceConfig(s3SourceConfig.let(S3SourceConfigProperty.Companion::unwrap)) } /** @@ -2463,7 +2463,7 @@ public open class CfnAnomalyDetector( * Cloud (VPC) configuration. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2471,7 +2471,7 @@ public open class CfnAnomalyDetector( * Cloud (VPC) configuration. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -2774,7 +2774,7 @@ public open class CfnAnomalyDetector( * configuration. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2782,7 +2782,7 @@ public open class CfnAnomalyDetector( * configuration. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -3001,14 +3001,14 @@ public open class CfnAnomalyDetector( * @param fileFormatDescriptor Contains information about a source file's formatting. */ override fun fileFormatDescriptor(fileFormatDescriptor: IResolvable) { - cdkBuilder.fileFormatDescriptor(fileFormatDescriptor.let(IResolvable::unwrap)) + cdkBuilder.fileFormatDescriptor(fileFormatDescriptor.let(IResolvable.Companion::unwrap)) } /** * @param fileFormatDescriptor Contains information about a source file's formatting. */ override fun fileFormatDescriptor(fileFormatDescriptor: FileFormatDescriptorProperty) { - cdkBuilder.fileFormatDescriptor(fileFormatDescriptor.let(FileFormatDescriptorProperty::unwrap)) + cdkBuilder.fileFormatDescriptor(fileFormatDescriptor.let(FileFormatDescriptorProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetectorProps.kt index f88c2276c5..d9dc2755ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutmetrics/CfnAnomalyDetectorProps.kt @@ -212,7 +212,7 @@ public interface CfnAnomalyDetectorProps { * detector. */ override fun anomalyDetectorConfig(anomalyDetectorConfig: IResolvable) { - cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(IResolvable::unwrap)) + cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CfnAnomalyDetectorProps { */ override fun anomalyDetectorConfig(anomalyDetectorConfig: CfnAnomalyDetector.AnomalyDetectorConfigProperty) { - cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(CfnAnomalyDetector.AnomalyDetectorConfigProperty::unwrap)) + cdkBuilder.anomalyDetectorConfig(anomalyDetectorConfig.let(CfnAnomalyDetector.AnomalyDetectorConfigProperty.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface CfnAnomalyDetectorProps { * @param metricSetList The detector's dataset. */ override fun metricSetList(metricSetList: IResolvable) { - cdkBuilder.metricSetList(metricSetList.let(IResolvable::unwrap)) + cdkBuilder.metricSetList(metricSetList.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutvision/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutvision/CfnProject.kt index a04311824c..81fd451b5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutvision/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/lookoutvision/CfnProject.kt @@ -38,8 +38,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.lookoutvision.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.lookoutvision.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -60,7 +60,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplication.kt index ff1029fb75..70a8ff0f29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplication.kt @@ -58,8 +58,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.m2.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.m2.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnApplication( * You can specify either inline JSON or an Amazon S3 bucket location. */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -101,7 +101,7 @@ public open class CfnApplication( * You can specify either inline JSON or an Amazon S3 bucket location. */ public open fun definition(`value`: DefinitionProperty) { - unwrap(this).setDefinition(`value`.let(DefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(DefinitionProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnApplication( * either inline JSON or an Amazon S3 bucket location. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnApplication( * either inline JSON or an Amazon S3 bucket location. */ override fun definition(definition: DefinitionProperty) { - cdkBuilder.definition(definition.let(DefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(DefinitionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplicationProps.kt index a7c9a30cb4..c31cd8ae50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnApplicationProps.kt @@ -173,7 +173,7 @@ public interface CfnApplicationProps { * Guide](https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html) . */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface CfnApplicationProps { * Guide](https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html) . */ override fun definition(definition: CfnApplication.DefinitionProperty) { - cdkBuilder.definition(definition.let(CfnApplication.DefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnApplication.DefinitionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironment.kt index f0e7db1524..26b0a6dc1c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironment.kt @@ -71,8 +71,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.m2.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.m2.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -137,14 +137,14 @@ public open class CfnEnvironment( * Defines the details of a high availability configuration. */ public open fun highAvailabilityConfig(`value`: IResolvable) { - unwrap(this).setHighAvailabilityConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHighAvailabilityConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines the details of a high availability configuration. */ public open fun highAvailabilityConfig(`value`: HighAvailabilityConfigProperty) { - unwrap(this).setHighAvailabilityConfig(`value`.let(HighAvailabilityConfigProperty::unwrap)) + unwrap(this).setHighAvailabilityConfig(`value`.let(HighAvailabilityConfigProperty.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnEnvironment( * Specifies whether the runtime environment is publicly accessible. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnEnvironment( * Defines the storage configuration for a runtime environment. */ public open fun storageConfigurations(`value`: IResolvable) { - unwrap(this).setStorageConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnEnvironment( * @param highAvailabilityConfig Defines the details of a high availability configuration. */ override fun highAvailabilityConfig(highAvailabilityConfig: IResolvable) { - cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(IResolvable::unwrap)) + cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnEnvironment( * @param highAvailabilityConfig Defines the details of a high availability configuration. */ override fun highAvailabilityConfig(highAvailabilityConfig: HighAvailabilityConfigProperty) { - cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(HighAvailabilityConfigProperty::unwrap)) + cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(HighAvailabilityConfigProperty.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnEnvironment( * @param publiclyAccessible Specifies whether the runtime environment is publicly accessible. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class CfnEnvironment( * @param storageConfigurations Defines the storage configuration for a runtime environment. */ override fun storageConfigurations(storageConfigurations: IResolvable) { - cdkBuilder.storageConfigurations(storageConfigurations.let(IResolvable::unwrap)) + cdkBuilder.storageConfigurations(storageConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1130,14 +1130,14 @@ public open class CfnEnvironment( * @param efs Defines the storage configuration for an Amazon EFS file system. */ override fun efs(efs: IResolvable) { - cdkBuilder.efs(efs.let(IResolvable::unwrap)) + cdkBuilder.efs(efs.let(IResolvable.Companion::unwrap)) } /** * @param efs Defines the storage configuration for an Amazon EFS file system. */ override fun efs(efs: EfsStorageConfigurationProperty) { - cdkBuilder.efs(efs.let(EfsStorageConfigurationProperty::unwrap)) + cdkBuilder.efs(efs.let(EfsStorageConfigurationProperty.Companion::unwrap)) } /** @@ -1152,14 +1152,14 @@ public open class CfnEnvironment( * @param fsx Defines the storage configuration for an Amazon FSx file system. */ override fun fsx(fsx: IResolvable) { - cdkBuilder.fsx(fsx.let(IResolvable::unwrap)) + cdkBuilder.fsx(fsx.let(IResolvable.Companion::unwrap)) } /** * @param fsx Defines the storage configuration for an Amazon FSx file system. */ override fun fsx(fsx: FsxStorageConfigurationProperty) { - cdkBuilder.fsx(fsx.let(FsxStorageConfigurationProperty::unwrap)) + cdkBuilder.fsx(fsx.let(FsxStorageConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironmentProps.kt index e06b437210..3a9713ea18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/m2/CfnEnvironmentProps.kt @@ -307,7 +307,7 @@ public interface CfnEnvironmentProps { * @param highAvailabilityConfig Defines the details of a high availability configuration. */ override fun highAvailabilityConfig(highAvailabilityConfig: IResolvable) { - cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(IResolvable::unwrap)) + cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public interface CfnEnvironmentProps { */ override fun highAvailabilityConfig(highAvailabilityConfig: CfnEnvironment.HighAvailabilityConfigProperty) { - cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(CfnEnvironment.HighAvailabilityConfigProperty::unwrap)) + cdkBuilder.highAvailabilityConfig(highAvailabilityConfig.let(CfnEnvironment.HighAvailabilityConfigProperty.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface CfnEnvironmentProps { * @param publiclyAccessible Specifies whether the runtime environment is publicly accessible. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public interface CfnEnvironmentProps { * @param storageConfigurations Defines the storage configuration for a runtime environment. */ override fun storageConfigurations(storageConfigurations: IResolvable) { - cdkBuilder.storageConfigurations(storageConfigurations.let(IResolvable::unwrap)) + cdkBuilder.storageConfigurations(storageConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowList.kt index eaaad4cbd1..23a5c79752 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowList.kt @@ -95,8 +95,8 @@ public open class CfnAllowList( id: String, props: CfnAllowListProps, ) : - this(software.amazon.awscdk.services.macie.CfnAllowList(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAllowListProps::unwrap)) + this(software.amazon.awscdk.services.macie.CfnAllowList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAllowListProps.Companion::unwrap)) ) public constructor( @@ -165,14 +165,14 @@ public open class CfnAllowList( * The criteria that specify the text or text pattern to ignore. */ public open fun criteria(`value`: IResolvable) { - unwrap(this).setCriteria(`value`.let(IResolvable::unwrap)) + unwrap(this).setCriteria(`value`.let(IResolvable.Companion::unwrap)) } /** * The criteria that specify the text or text pattern to ignore. */ public open fun criteria(`value`: CriteriaProperty) { - unwrap(this).setCriteria(`value`.let(CriteriaProperty::unwrap)) + unwrap(this).setCriteria(`value`.let(CriteriaProperty.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnAllowList( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnAllowList( * An array of key-value pairs to apply to the allow list. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnAllowList( * @param criteria The criteria that specify the text or text pattern to ignore. */ override fun criteria(criteria: IResolvable) { - cdkBuilder.criteria(criteria.let(IResolvable::unwrap)) + cdkBuilder.criteria(criteria.let(IResolvable.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnAllowList( * @param criteria The criteria that specify the text or text pattern to ignore. */ override fun criteria(criteria: CriteriaProperty) { - cdkBuilder.criteria(criteria.let(CriteriaProperty::unwrap)) + cdkBuilder.criteria(criteria.let(CriteriaProperty.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class CfnAllowList( * @param tags An array of key-value pairs to apply to the allow list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class CfnAllowList( * ignore. */ override fun s3WordsList(s3WordsList: IResolvable) { - cdkBuilder.s3WordsList(s3WordsList.let(IResolvable::unwrap)) + cdkBuilder.s3WordsList(s3WordsList.let(IResolvable.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public open class CfnAllowList( * ignore. */ override fun s3WordsList(s3WordsList: S3WordsListProperty) { - cdkBuilder.s3WordsList(s3WordsList.let(S3WordsListProperty::unwrap)) + cdkBuilder.s3WordsList(s3WordsList.let(S3WordsListProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowListProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowListProps.kt index 04001f4033..3215ad65a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowListProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnAllowListProps.kt @@ -154,7 +154,7 @@ public interface CfnAllowListProps { * ignore. */ override fun criteria(criteria: IResolvable) { - cdkBuilder.criteria(criteria.let(IResolvable::unwrap)) + cdkBuilder.criteria(criteria.let(IResolvable.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public interface CfnAllowListProps { * ignore. */ override fun criteria(criteria: CfnAllowList.CriteriaProperty) { - cdkBuilder.criteria(criteria.let(CfnAllowList.CriteriaProperty::unwrap)) + cdkBuilder.criteria(criteria.let(CfnAllowList.CriteriaProperty.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface CfnAllowListProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifier.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifier.kt index b94de63d2d..9f16f60c6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifier.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifier.kt @@ -72,8 +72,8 @@ public open class CfnCustomDataIdentifier( id: String, props: CfnCustomDataIdentifierProps, ) : - this(software.amazon.awscdk.services.macie.CfnCustomDataIdentifier(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomDataIdentifierProps::unwrap)) + this(software.amazon.awscdk.services.macie.CfnCustomDataIdentifier(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomDataIdentifierProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnCustomDataIdentifier( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnCustomDataIdentifier( * An array of key-value pairs to apply to the custom data identifier. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnCustomDataIdentifier( * @param tags An array of key-value pairs to apply to the custom data identifier. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifierProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifierProps.kt index 1ef560f831..1c319bd0ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifierProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnCustomDataIdentifierProps.kt @@ -309,7 +309,7 @@ public interface CfnCustomDataIdentifierProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilter.kt index 041e176723..223d2e3880 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilter.kt @@ -81,8 +81,8 @@ public open class CfnFindingsFilter( id: String, props: CfnFindingsFilterProps, ) : - this(software.amazon.awscdk.services.macie.CfnFindingsFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFindingsFilterProps::unwrap)) + this(software.amazon.awscdk.services.macie.CfnFindingsFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFindingsFilterProps.Companion::unwrap)) ) public constructor( @@ -155,14 +155,14 @@ public open class CfnFindingsFilter( * The criteria to use to filter findings. */ public open fun findingCriteria(`value`: IResolvable) { - unwrap(this).setFindingCriteria(`value`.let(IResolvable::unwrap)) + unwrap(this).setFindingCriteria(`value`.let(IResolvable.Companion::unwrap)) } /** * The criteria to use to filter findings. */ public open fun findingCriteria(`value`: FindingCriteriaProperty) { - unwrap(this).setFindingCriteria(`value`.let(FindingCriteriaProperty::unwrap)) + unwrap(this).setFindingCriteria(`value`.let(FindingCriteriaProperty.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnFindingsFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnFindingsFilter( * An array of key-value pairs to apply to the findings filter. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnFindingsFilter( * @param findingCriteria The criteria to use to filter findings. */ override fun findingCriteria(findingCriteria: IResolvable) { - cdkBuilder.findingCriteria(findingCriteria.let(IResolvable::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnFindingsFilter( * @param findingCriteria The criteria to use to filter findings. */ override fun findingCriteria(findingCriteria: FindingCriteriaProperty) { - cdkBuilder.findingCriteria(findingCriteria.let(FindingCriteriaProperty::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(FindingCriteriaProperty.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnFindingsFilter( * @param tags An array of key-value pairs to apply to the findings filter. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -818,7 +818,7 @@ public open class CfnFindingsFilter( * values to use to filter the results. */ override fun criterion(criterion: IResolvable) { - cdkBuilder.criterion(criterion.let(IResolvable::unwrap)) + cdkBuilder.criterion(criterion.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilterProps.kt index cbb49f07de..38e27a1c37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnFindingsFilterProps.kt @@ -209,14 +209,14 @@ public interface CfnFindingsFilterProps { * @param findingCriteria The criteria to use to filter findings. */ override fun findingCriteria(findingCriteria: IResolvable) { - cdkBuilder.findingCriteria(findingCriteria.let(IResolvable::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(IResolvable.Companion::unwrap)) } /** * @param findingCriteria The criteria to use to filter findings. */ override fun findingCriteria(findingCriteria: CfnFindingsFilter.FindingCriteriaProperty) { - cdkBuilder.findingCriteria(findingCriteria.let(CfnFindingsFilter.FindingCriteriaProperty::unwrap)) + cdkBuilder.findingCriteria(findingCriteria.let(CfnFindingsFilter.FindingCriteriaProperty.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public interface CfnFindingsFilterProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnSession.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnSession.kt index 992a2a6edc..f6371a6600 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnSession.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/macie/CfnSession.kt @@ -42,7 +42,7 @@ public open class CfnSession( cdkObject: software.amazon.awscdk.services.macie.CfnSession, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.macie.CfnSession(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.macie.CfnSession(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -51,8 +51,8 @@ public open class CfnSession( id: String, props: CfnSessionProps, ) : - this(software.amazon.awscdk.services.macie.CfnSession(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSessionProps::unwrap)) + this(software.amazon.awscdk.services.macie.CfnSession(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSessionProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnSession( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessor.kt index 35ecee27a0..5efcbd9b34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessor.kt @@ -48,8 +48,8 @@ public open class CfnAccessor( id: String, props: CfnAccessorProps, ) : - this(software.amazon.awscdk.services.managedblockchain.CfnAccessor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessorProps::unwrap)) + this(software.amazon.awscdk.services.managedblockchain.CfnAccessor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessorProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnAccessor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnAccessor( * The tags assigned to the Accessor. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnAccessor( * @param tags The tags assigned to the Accessor. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessorProps.kt index 8ba7ed7a0c..6477760644 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnAccessorProps.kt @@ -164,7 +164,7 @@ public interface CfnAccessorProps { * in the *Amazon Managed Blockchain Hyperledger Fabric Developer Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMember.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMember.kt index 865bc9a596..980ccf72f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMember.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMember.kt @@ -75,8 +75,8 @@ public open class CfnMember( id: String, props: CfnMemberProps, ) : - this(software.amazon.awscdk.services.managedblockchain.CfnMember(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMemberProps::unwrap)) + this(software.amazon.awscdk.services.managedblockchain.CfnMember(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMemberProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnMember( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -128,14 +128,14 @@ public open class CfnMember( * Configuration properties of the member. */ public open fun memberConfiguration(`value`: IResolvable) { - unwrap(this).setMemberConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setMemberConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration properties of the member. */ public open fun memberConfiguration(`value`: MemberConfigurationProperty) { - unwrap(this).setMemberConfiguration(`value`.let(MemberConfigurationProperty::unwrap)) + unwrap(this).setMemberConfiguration(`value`.let(MemberConfigurationProperty.Companion::unwrap)) } /** @@ -155,14 +155,14 @@ public open class CfnMember( * Configuration properties of the network to which the member belongs. */ public open fun networkConfiguration(`value`: IResolvable) { - unwrap(this).setNetworkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration properties of the network to which the member belongs. */ public open fun networkConfiguration(`value`: NetworkConfigurationProperty) { - unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnMember( * @param memberConfiguration Configuration properties of the member. */ override fun memberConfiguration(memberConfiguration: IResolvable) { - cdkBuilder.memberConfiguration(memberConfiguration.let(IResolvable::unwrap)) + cdkBuilder.memberConfiguration(memberConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnMember( * @param memberConfiguration Configuration properties of the member. */ override fun memberConfiguration(memberConfiguration: MemberConfigurationProperty) { - cdkBuilder.memberConfiguration(memberConfiguration.let(MemberConfigurationProperty::unwrap)) + cdkBuilder.memberConfiguration(memberConfiguration.let(MemberConfigurationProperty.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnMember( * belongs. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnMember( * belongs. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class CfnMember( * relevant to the member. */ override fun memberFrameworkConfiguration(memberFrameworkConfiguration: IResolvable) { - cdkBuilder.memberFrameworkConfiguration(memberFrameworkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.memberFrameworkConfiguration(memberFrameworkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class CfnMember( */ override fun memberFrameworkConfiguration(memberFrameworkConfiguration: MemberFrameworkConfigurationProperty) { - cdkBuilder.memberFrameworkConfiguration(memberFrameworkConfiguration.let(MemberFrameworkConfigurationProperty::unwrap)) + cdkBuilder.memberFrameworkConfiguration(memberFrameworkConfiguration.let(MemberFrameworkConfigurationProperty.Companion::unwrap)) } /** @@ -949,7 +949,7 @@ public open class CfnMember( * @param memberFabricConfiguration Configuration properties for Hyperledger Fabric. */ override fun memberFabricConfiguration(memberFabricConfiguration: IResolvable) { - cdkBuilder.memberFabricConfiguration(memberFabricConfiguration.let(IResolvable::unwrap)) + cdkBuilder.memberFabricConfiguration(memberFabricConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnMember( */ override fun memberFabricConfiguration(memberFabricConfiguration: MemberFabricConfigurationProperty) { - cdkBuilder.memberFabricConfiguration(memberFabricConfiguration.let(MemberFabricConfigurationProperty::unwrap)) + cdkBuilder.memberFabricConfiguration(memberFabricConfiguration.let(MemberFabricConfigurationProperty.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public open class CfnMember( * the blockchain framework that the network uses. */ override fun networkFrameworkConfiguration(networkFrameworkConfiguration: IResolvable) { - cdkBuilder.networkFrameworkConfiguration(networkFrameworkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkFrameworkConfiguration(networkFrameworkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1199,7 +1199,7 @@ public open class CfnMember( */ override fun networkFrameworkConfiguration(networkFrameworkConfiguration: NetworkFrameworkConfigurationProperty) { - cdkBuilder.networkFrameworkConfiguration(networkFrameworkConfiguration.let(NetworkFrameworkConfigurationProperty::unwrap)) + cdkBuilder.networkFrameworkConfiguration(networkFrameworkConfiguration.let(NetworkFrameworkConfigurationProperty.Companion::unwrap)) } /** @@ -1218,7 +1218,7 @@ public open class CfnMember( * accepted. */ override fun votingPolicy(votingPolicy: IResolvable) { - cdkBuilder.votingPolicy(votingPolicy.let(IResolvable::unwrap)) + cdkBuilder.votingPolicy(votingPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1226,7 +1226,7 @@ public open class CfnMember( * accepted. */ override fun votingPolicy(votingPolicy: VotingPolicyProperty) { - cdkBuilder.votingPolicy(votingPolicy.let(VotingPolicyProperty::unwrap)) + cdkBuilder.votingPolicy(votingPolicy.let(VotingPolicyProperty.Companion::unwrap)) } /** @@ -1471,7 +1471,7 @@ public open class CfnMember( * member in a Managed Blockchain network that is using the Hyperledger Fabric framework. */ override fun networkFabricConfiguration(networkFabricConfiguration: IResolvable) { - cdkBuilder.networkFabricConfiguration(networkFabricConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkFabricConfiguration(networkFabricConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1480,7 +1480,7 @@ public open class CfnMember( */ override fun networkFabricConfiguration(networkFabricConfiguration: NetworkFabricConfigurationProperty) { - cdkBuilder.networkFabricConfiguration(networkFabricConfiguration.let(NetworkFabricConfigurationProperty::unwrap)) + cdkBuilder.networkFabricConfiguration(networkFabricConfiguration.let(NetworkFabricConfigurationProperty.Companion::unwrap)) } /** @@ -1608,7 +1608,7 @@ public open class CfnMember( * The policy applies to all proposals and is specified when the network is created. */ override fun approvalThresholdPolicy(approvalThresholdPolicy: IResolvable) { - cdkBuilder.approvalThresholdPolicy(approvalThresholdPolicy.let(IResolvable::unwrap)) + cdkBuilder.approvalThresholdPolicy(approvalThresholdPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1619,7 +1619,7 @@ public open class CfnMember( */ override fun approvalThresholdPolicy(approvalThresholdPolicy: ApprovalThresholdPolicyProperty) { - cdkBuilder.approvalThresholdPolicy(approvalThresholdPolicy.let(ApprovalThresholdPolicyProperty::unwrap)) + cdkBuilder.approvalThresholdPolicy(approvalThresholdPolicy.let(ApprovalThresholdPolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMemberProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMemberProps.kt index f0eb9f5d9c..b7680f88d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMemberProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnMemberProps.kt @@ -161,14 +161,14 @@ public interface CfnMemberProps { * @param memberConfiguration Configuration properties of the member. */ override fun memberConfiguration(memberConfiguration: IResolvable) { - cdkBuilder.memberConfiguration(memberConfiguration.let(IResolvable::unwrap)) + cdkBuilder.memberConfiguration(memberConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param memberConfiguration Configuration properties of the member. */ override fun memberConfiguration(memberConfiguration: CfnMember.MemberConfigurationProperty) { - cdkBuilder.memberConfiguration(memberConfiguration.let(CfnMember.MemberConfigurationProperty::unwrap)) + cdkBuilder.memberConfiguration(memberConfiguration.let(CfnMember.MemberConfigurationProperty.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface CfnMemberProps { * belongs. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnMemberProps { */ override fun networkConfiguration(networkConfiguration: CfnMember.NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(CfnMember.NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(CfnMember.NetworkConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNode.kt index c7d8cd2402..7baa44c9f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNode.kt @@ -48,8 +48,8 @@ public open class CfnNode( id: String, props: CfnNodeProps, ) : - this(software.amazon.awscdk.services.managedblockchain.CfnNode(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNodeProps::unwrap)) + this(software.amazon.awscdk.services.managedblockchain.CfnNode(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNodeProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnNode( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,14 +123,14 @@ public open class CfnNode( * Configuration properties of a peer node. */ public open fun nodeConfiguration(`value`: IResolvable) { - unwrap(this).setNodeConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodeConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration properties of a peer node. */ public open fun nodeConfiguration(`value`: NodeConfigurationProperty) { - unwrap(this).setNodeConfiguration(`value`.let(NodeConfigurationProperty::unwrap)) + unwrap(this).setNodeConfiguration(`value`.let(NodeConfigurationProperty.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnNode( * @param nodeConfiguration Configuration properties of a peer node. */ override fun nodeConfiguration(nodeConfiguration: IResolvable) { - cdkBuilder.nodeConfiguration(nodeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nodeConfiguration(nodeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnNode( * @param nodeConfiguration Configuration properties of a peer node. */ override fun nodeConfiguration(nodeConfiguration: NodeConfigurationProperty) { - cdkBuilder.nodeConfiguration(nodeConfiguration.let(NodeConfigurationProperty::unwrap)) + cdkBuilder.nodeConfiguration(nodeConfiguration.let(NodeConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNodeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNodeProps.kt index ab26fcd0d5..cb983ea080 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNodeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/managedblockchain/CfnNodeProps.kt @@ -125,14 +125,14 @@ public interface CfnNodeProps { * @param nodeConfiguration Configuration properties of a peer node. */ override fun nodeConfiguration(nodeConfiguration: IResolvable) { - cdkBuilder.nodeConfiguration(nodeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nodeConfiguration(nodeConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nodeConfiguration Configuration properties of a peer node. */ override fun nodeConfiguration(nodeConfiguration: CfnNode.NodeConfigurationProperty) { - cdkBuilder.nodeConfiguration(nodeConfiguration.let(CfnNode.NodeConfigurationProperty::unwrap)) + cdkBuilder.nodeConfiguration(nodeConfiguration.let(CfnNode.NodeConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridge.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridge.kt index b02e6e6513..d7c127de14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridge.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridge.kt @@ -90,8 +90,8 @@ public open class CfnBridge( id: String, props: CfnBridgeProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnBridge(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBridgeProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnBridge(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBridgeProps.Companion::unwrap)) ) public constructor( @@ -122,14 +122,14 @@ public open class CfnBridge( * Create a bridge with the egress bridge type. */ public open fun egressGatewayBridge(`value`: IResolvable) { - unwrap(this).setEgressGatewayBridge(`value`.let(IResolvable::unwrap)) + unwrap(this).setEgressGatewayBridge(`value`.let(IResolvable.Companion::unwrap)) } /** * Create a bridge with the egress bridge type. */ public open fun egressGatewayBridge(`value`: EgressGatewayBridgeProperty) { - unwrap(this).setEgressGatewayBridge(`value`.let(EgressGatewayBridgeProperty::unwrap)) + unwrap(this).setEgressGatewayBridge(`value`.let(EgressGatewayBridgeProperty.Companion::unwrap)) } /** @@ -149,14 +149,14 @@ public open class CfnBridge( * Create a bridge with the ingress bridge type. */ public open fun ingressGatewayBridge(`value`: IResolvable) { - unwrap(this).setIngressGatewayBridge(`value`.let(IResolvable::unwrap)) + unwrap(this).setIngressGatewayBridge(`value`.let(IResolvable.Companion::unwrap)) } /** * Create a bridge with the ingress bridge type. */ public open fun ingressGatewayBridge(`value`: IngressGatewayBridgeProperty) { - unwrap(this).setIngressGatewayBridge(`value`.let(IngressGatewayBridgeProperty::unwrap)) + unwrap(this).setIngressGatewayBridge(`value`.let(IngressGatewayBridgeProperty.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnBridge( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnBridge( * The outputs that you want to add to this bridge. */ public open fun outputs(`value`: IResolvable) { - unwrap(this).setOutputs(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -233,14 +233,14 @@ public open class CfnBridge( * The settings for source failover. */ public open fun sourceFailoverConfig(`value`: IResolvable) { - unwrap(this).setSourceFailoverConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceFailoverConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for source failover. */ public open fun sourceFailoverConfig(`value`: FailoverConfigProperty) { - unwrap(this).setSourceFailoverConfig(`value`.let(FailoverConfigProperty::unwrap)) + unwrap(this).setSourceFailoverConfig(`value`.let(FailoverConfigProperty.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnBridge( * The sources that you want to add to this bridge. */ public open fun sources(`value`: IResolvable) { - unwrap(this).setSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnBridge( * @param egressGatewayBridge Create a bridge with the egress bridge type. */ override fun egressGatewayBridge(egressGatewayBridge: IResolvable) { - cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(IResolvable::unwrap)) + cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(IResolvable.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnBridge( * @param egressGatewayBridge Create a bridge with the egress bridge type. */ override fun egressGatewayBridge(egressGatewayBridge: EgressGatewayBridgeProperty) { - cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(EgressGatewayBridgeProperty::unwrap)) + cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(EgressGatewayBridgeProperty.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class CfnBridge( * @param ingressGatewayBridge Create a bridge with the ingress bridge type. */ override fun ingressGatewayBridge(ingressGatewayBridge: IResolvable) { - cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(IResolvable::unwrap)) + cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(IResolvable.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnBridge( * @param ingressGatewayBridge Create a bridge with the ingress bridge type. */ override fun ingressGatewayBridge(ingressGatewayBridge: IngressGatewayBridgeProperty) { - cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(IngressGatewayBridgeProperty::unwrap)) + cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(IngressGatewayBridgeProperty.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnBridge( * @param outputs The outputs that you want to add to this bridge. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public open class CfnBridge( * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: IResolvable) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public open class CfnBridge( * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: FailoverConfigProperty) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(FailoverConfigProperty::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(FailoverConfigProperty.Companion::unwrap)) } /** @@ -623,7 +623,7 @@ public open class CfnBridge( * @param sources The sources that you want to add to this bridge. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public open class CfnBridge( * source. */ override fun flowVpcInterfaceAttachment(flowVpcInterfaceAttachment: IResolvable) { - cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(IResolvable::unwrap)) + cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(IResolvable.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public open class CfnBridge( */ override fun flowVpcInterfaceAttachment(flowVpcInterfaceAttachment: VpcInterfaceAttachmentProperty) { - cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty::unwrap)) + cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** @@ -1331,7 +1331,7 @@ public open class CfnBridge( * A network output is delivered to your premises. */ override fun networkOutput(networkOutput: IResolvable) { - cdkBuilder.networkOutput(networkOutput.let(IResolvable::unwrap)) + cdkBuilder.networkOutput(networkOutput.let(IResolvable.Companion::unwrap)) } /** @@ -1339,7 +1339,7 @@ public open class CfnBridge( * A network output is delivered to your premises. */ override fun networkOutput(networkOutput: BridgeNetworkOutputProperty) { - cdkBuilder.networkOutput(networkOutput.let(BridgeNetworkOutputProperty::unwrap)) + cdkBuilder.networkOutput(networkOutput.let(BridgeNetworkOutputProperty.Companion::unwrap)) } /** @@ -1492,7 +1492,7 @@ public open class CfnBridge( * A flow source originates in MediaConnect as an existing cloud flow. */ override fun flowSource(flowSource: IResolvable) { - cdkBuilder.flowSource(flowSource.let(IResolvable::unwrap)) + cdkBuilder.flowSource(flowSource.let(IResolvable.Companion::unwrap)) } /** @@ -1500,7 +1500,7 @@ public open class CfnBridge( * A flow source originates in MediaConnect as an existing cloud flow. */ override fun flowSource(flowSource: BridgeFlowSourceProperty) { - cdkBuilder.flowSource(flowSource.let(BridgeFlowSourceProperty::unwrap)) + cdkBuilder.flowSource(flowSource.let(BridgeFlowSourceProperty.Companion::unwrap)) } /** @@ -1517,7 +1517,7 @@ public open class CfnBridge( * A network source originates at your premises. */ override fun networkSource(networkSource: IResolvable) { - cdkBuilder.networkSource(networkSource.let(IResolvable::unwrap)) + cdkBuilder.networkSource(networkSource.let(IResolvable.Companion::unwrap)) } /** @@ -1525,7 +1525,7 @@ public open class CfnBridge( * A network source originates at your premises. */ override fun networkSource(networkSource: BridgeNetworkSourceProperty) { - cdkBuilder.networkSource(networkSource.let(BridgeNetworkSourceProperty::unwrap)) + cdkBuilder.networkSource(networkSource.let(BridgeNetworkSourceProperty.Companion::unwrap)) } /** @@ -1782,7 +1782,7 @@ public open class CfnBridge( * setting only applies when Failover Mode is set to FAILOVER. */ override fun sourcePriority(sourcePriority: IResolvable) { - cdkBuilder.sourcePriority(sourcePriority.let(IResolvable::unwrap)) + cdkBuilder.sourcePriority(sourcePriority.let(IResolvable.Companion::unwrap)) } /** @@ -1791,7 +1791,7 @@ public open class CfnBridge( * setting only applies when Failover Mode is set to FAILOVER. */ override fun sourcePriority(sourcePriority: SourcePriorityProperty) { - cdkBuilder.sourcePriority(sourcePriority.let(SourcePriorityProperty::unwrap)) + cdkBuilder.sourcePriority(sourcePriority.let(SourcePriorityProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutput.kt index f402a56183..35299a503e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutput.kt @@ -49,8 +49,8 @@ public open class CfnBridgeOutput( id: String, props: CfnBridgeOutputProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnBridgeOutput(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBridgeOutputProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnBridgeOutput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBridgeOutputProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnBridgeOutput( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -102,14 +102,14 @@ public open class CfnBridgeOutput( * Add a network output to an existing bridge. */ public open fun networkOutput(`value`: IResolvable) { - unwrap(this).setNetworkOutput(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkOutput(`value`.let(IResolvable.Companion::unwrap)) } /** * Add a network output to an existing bridge. */ public open fun networkOutput(`value`: BridgeNetworkOutputProperty) { - unwrap(this).setNetworkOutput(`value`.let(BridgeNetworkOutputProperty::unwrap)) + unwrap(this).setNetworkOutput(`value`.let(BridgeNetworkOutputProperty.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnBridgeOutput( * @param networkOutput Add a network output to an existing bridge. */ override fun networkOutput(networkOutput: IResolvable) { - cdkBuilder.networkOutput(networkOutput.let(IResolvable::unwrap)) + cdkBuilder.networkOutput(networkOutput.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnBridgeOutput( * @param networkOutput Add a network output to an existing bridge. */ override fun networkOutput(networkOutput: BridgeNetworkOutputProperty) { - cdkBuilder.networkOutput(networkOutput.let(BridgeNetworkOutputProperty::unwrap)) + cdkBuilder.networkOutput(networkOutput.let(BridgeNetworkOutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutputProps.kt index fec7f357fa..1990e5c15f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeOutputProps.kt @@ -118,14 +118,14 @@ public interface CfnBridgeOutputProps { * @param networkOutput Add a network output to an existing bridge. */ override fun networkOutput(networkOutput: IResolvable) { - cdkBuilder.networkOutput(networkOutput.let(IResolvable::unwrap)) + cdkBuilder.networkOutput(networkOutput.let(IResolvable.Companion::unwrap)) } /** * @param networkOutput Add a network output to an existing bridge. */ override fun networkOutput(networkOutput: CfnBridgeOutput.BridgeNetworkOutputProperty) { - cdkBuilder.networkOutput(networkOutput.let(CfnBridgeOutput.BridgeNetworkOutputProperty::unwrap)) + cdkBuilder.networkOutput(networkOutput.let(CfnBridgeOutput.BridgeNetworkOutputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeProps.kt index 5dd8078ffa..fc45a299b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeProps.kt @@ -253,7 +253,7 @@ public interface CfnBridgeProps { * flow and is delivered to your premises. */ override fun egressGatewayBridge(egressGatewayBridge: IResolvable) { - cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(IResolvable::unwrap)) + cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnBridgeProps { * flow and is delivered to your premises. */ override fun egressGatewayBridge(egressGatewayBridge: CfnBridge.EgressGatewayBridgeProperty) { - cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(CfnBridge.EgressGatewayBridgeProperty::unwrap)) + cdkBuilder.egressGatewayBridge(egressGatewayBridge.let(CfnBridge.EgressGatewayBridgeProperty.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public interface CfnBridgeProps { * delivered to the cloud. */ override fun ingressGatewayBridge(ingressGatewayBridge: IResolvable) { - cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(IResolvable::unwrap)) + cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public interface CfnBridgeProps { */ override fun ingressGatewayBridge(ingressGatewayBridge: CfnBridge.IngressGatewayBridgeProperty) { - cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(CfnBridge.IngressGatewayBridgeProperty::unwrap)) + cdkBuilder.ingressGatewayBridge(ingressGatewayBridge.let(CfnBridge.IngressGatewayBridgeProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface CfnBridgeProps { * @param outputs The outputs that you want to add to this bridge. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -344,14 +344,14 @@ public interface CfnBridgeProps { * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: IResolvable) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable.Companion::unwrap)) } /** * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: CfnBridge.FailoverConfigProperty) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(CfnBridge.FailoverConfigProperty::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(CfnBridge.FailoverConfigProperty.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public interface CfnBridgeProps { * @param sources The sources that you want to add to this bridge. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSource.kt index d0df0544a7..7911e7a08a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSource.kt @@ -56,8 +56,8 @@ public open class CfnBridgeSource( id: String, props: CfnBridgeSourceProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnBridgeSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBridgeSourceProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnBridgeSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBridgeSourceProps.Companion::unwrap)) ) public constructor( @@ -88,14 +88,14 @@ public open class CfnBridgeSource( * Add a flow source to an existing bridge. */ public open fun flowSource(`value`: IResolvable) { - unwrap(this).setFlowSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setFlowSource(`value`.let(IResolvable.Companion::unwrap)) } /** * Add a flow source to an existing bridge. */ public open fun flowSource(`value`: BridgeFlowSourceProperty) { - unwrap(this).setFlowSource(`value`.let(BridgeFlowSourceProperty::unwrap)) + unwrap(this).setFlowSource(`value`.let(BridgeFlowSourceProperty.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnBridgeSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,14 +136,14 @@ public open class CfnBridgeSource( * Add a network source to an existing bridge. */ public open fun networkSource(`value`: IResolvable) { - unwrap(this).setNetworkSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkSource(`value`.let(IResolvable.Companion::unwrap)) } /** * Add a network source to an existing bridge. */ public open fun networkSource(`value`: BridgeNetworkSourceProperty) { - unwrap(this).setNetworkSource(`value`.let(BridgeNetworkSourceProperty::unwrap)) + unwrap(this).setNetworkSource(`value`.let(BridgeNetworkSourceProperty.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnBridgeSource( * @param flowSource Add a flow source to an existing bridge. */ override fun flowSource(flowSource: IResolvable) { - cdkBuilder.flowSource(flowSource.let(IResolvable::unwrap)) + cdkBuilder.flowSource(flowSource.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public open class CfnBridgeSource( * @param flowSource Add a flow source to an existing bridge. */ override fun flowSource(flowSource: BridgeFlowSourceProperty) { - cdkBuilder.flowSource(flowSource.let(BridgeFlowSourceProperty::unwrap)) + cdkBuilder.flowSource(flowSource.let(BridgeFlowSourceProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnBridgeSource( * @param networkSource Add a network source to an existing bridge. */ override fun networkSource(networkSource: IResolvable) { - cdkBuilder.networkSource(networkSource.let(IResolvable::unwrap)) + cdkBuilder.networkSource(networkSource.let(IResolvable.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnBridgeSource( * @param networkSource Add a network source to an existing bridge. */ override fun networkSource(networkSource: BridgeNetworkSourceProperty) { - cdkBuilder.networkSource(networkSource.let(BridgeNetworkSourceProperty::unwrap)) + cdkBuilder.networkSource(networkSource.let(BridgeNetworkSourceProperty.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnBridgeSource( * source. */ override fun flowVpcInterfaceAttachment(flowVpcInterfaceAttachment: IResolvable) { - cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(IResolvable::unwrap)) + cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(IResolvable.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnBridgeSource( */ override fun flowVpcInterfaceAttachment(flowVpcInterfaceAttachment: VpcInterfaceAttachmentProperty) { - cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty::unwrap)) + cdkBuilder.flowVpcInterfaceAttachment(flowVpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSourceProps.kt index 55b00f2de5..b8bc864e41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnBridgeSourceProps.kt @@ -141,14 +141,14 @@ public interface CfnBridgeSourceProps { * @param flowSource Add a flow source to an existing bridge. */ override fun flowSource(flowSource: IResolvable) { - cdkBuilder.flowSource(flowSource.let(IResolvable::unwrap)) + cdkBuilder.flowSource(flowSource.let(IResolvable.Companion::unwrap)) } /** * @param flowSource Add a flow source to an existing bridge. */ override fun flowSource(flowSource: CfnBridgeSource.BridgeFlowSourceProperty) { - cdkBuilder.flowSource(flowSource.let(CfnBridgeSource.BridgeFlowSourceProperty::unwrap)) + cdkBuilder.flowSource(flowSource.let(CfnBridgeSource.BridgeFlowSourceProperty.Companion::unwrap)) } /** @@ -172,14 +172,14 @@ public interface CfnBridgeSourceProps { * @param networkSource Add a network source to an existing bridge. */ override fun networkSource(networkSource: IResolvable) { - cdkBuilder.networkSource(networkSource.let(IResolvable::unwrap)) + cdkBuilder.networkSource(networkSource.let(IResolvable.Companion::unwrap)) } /** * @param networkSource Add a network source to an existing bridge. */ override fun networkSource(networkSource: CfnBridgeSource.BridgeNetworkSourceProperty) { - cdkBuilder.networkSource(networkSource.let(CfnBridgeSource.BridgeNetworkSourceProperty::unwrap)) + cdkBuilder.networkSource(networkSource.let(CfnBridgeSource.BridgeNetworkSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlow.kt index 04c342983a..e4d3fa0d09 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlow.kt @@ -97,8 +97,8 @@ public open class CfnFlow( id: String, props: CfnFlowProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnFlow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnFlow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowProps.Companion::unwrap)) ) public constructor( @@ -156,7 +156,7 @@ public open class CfnFlow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -180,14 +180,14 @@ public open class CfnFlow( * The settings for the source that you want to use for the new flow. */ public open fun source(`value`: IResolvable) { - unwrap(this).setSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for the source that you want to use for the new flow. */ public open fun source(`value`: SourceProperty) { - unwrap(this).setSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnFlow( * The settings for source failover. */ public open fun sourceFailoverConfig(`value`: IResolvable) { - unwrap(this).setSourceFailoverConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceFailoverConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for source failover. */ public open fun sourceFailoverConfig(`value`: FailoverConfigProperty) { - unwrap(this).setSourceFailoverConfig(`value`.let(FailoverConfigProperty::unwrap)) + unwrap(this).setSourceFailoverConfig(`value`.let(FailoverConfigProperty.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnFlow( * @param source The settings for the source that you want to use for the new flow. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnFlow( * @param source The settings for the source that you want to use for the new flow. */ override fun source(source: SourceProperty) { - cdkBuilder.source(source.let(SourceProperty::unwrap)) + cdkBuilder.source(source.let(SourceProperty.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnFlow( * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: IResolvable) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnFlow( * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: FailoverConfigProperty) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(FailoverConfigProperty::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(FailoverConfigProperty.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnFlow( * setting only applies when Failover Mode is set to FAILOVER. */ override fun sourcePriority(sourcePriority: IResolvable) { - cdkBuilder.sourcePriority(sourcePriority.let(IResolvable::unwrap)) + cdkBuilder.sourcePriority(sourcePriority.let(IResolvable.Companion::unwrap)) } /** @@ -950,7 +950,7 @@ public open class CfnFlow( * setting only applies when Failover Mode is set to FAILOVER. */ override fun sourcePriority(sourcePriority: SourcePriorityProperty) { - cdkBuilder.sourcePriority(sourcePriority.let(SourcePriorityProperty::unwrap)) + cdkBuilder.sourcePriority(sourcePriority.let(SourcePriorityProperty.Companion::unwrap)) } /** @@ -1126,7 +1126,7 @@ public open class CfnFlow( * bridge source. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: IResolvable) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable.Companion::unwrap)) } /** @@ -1134,7 +1134,7 @@ public open class CfnFlow( * bridge source. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: VpcInterfaceAttachmentProperty) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** @@ -1667,7 +1667,7 @@ public open class CfnFlow( * source. */ override fun decryption(decryption: IResolvable) { - cdkBuilder.decryption(decryption.let(IResolvable::unwrap)) + cdkBuilder.decryption(decryption.let(IResolvable.Companion::unwrap)) } /** @@ -1675,7 +1675,7 @@ public open class CfnFlow( * source. */ override fun decryption(decryption: EncryptionProperty) { - cdkBuilder.decryption(decryption.let(EncryptionProperty::unwrap)) + cdkBuilder.decryption(decryption.let(EncryptionProperty.Companion::unwrap)) } /** @@ -1710,7 +1710,7 @@ public open class CfnFlow( * a bridge. */ override fun gatewayBridgeSource(gatewayBridgeSource: IResolvable) { - cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(IResolvable::unwrap)) + cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(IResolvable.Companion::unwrap)) } /** @@ -1718,7 +1718,7 @@ public open class CfnFlow( * a bridge. */ override fun gatewayBridgeSource(gatewayBridgeSource: GatewayBridgeSourceProperty) { - cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(GatewayBridgeSourceProperty::unwrap)) + cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(GatewayBridgeSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlement.kt index 07135609b6..c7f2649b85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlement.kt @@ -66,8 +66,8 @@ public open class CfnFlowEntitlement( id: String, props: CfnFlowEntitlementProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowEntitlementProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowEntitlementProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnFlowEntitlement( * entitlement. */ public open fun encryption(`value`: IResolvable) { - unwrap(this).setEncryption(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryption(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnFlowEntitlement( * entitlement. */ public open fun encryption(`value`: EncryptionProperty) { - unwrap(this).setEncryption(`value`.let(EncryptionProperty::unwrap)) + unwrap(this).setEncryption(`value`.let(EncryptionProperty.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnFlowEntitlement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnFlowEntitlement( * associated with the entitlement. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class CfnFlowEntitlement( * associated with the entitlement. */ override fun encryption(encryption: EncryptionProperty) { - cdkBuilder.encryption(encryption.let(EncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(EncryptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlementProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlementProps.kt index dafe4701da..91d13a4292 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlementProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowEntitlementProps.kt @@ -213,7 +213,7 @@ public interface CfnFlowEntitlementProps { * associated with the entitlement. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CfnFlowEntitlementProps { * associated with the entitlement. */ override fun encryption(encryption: CfnFlowEntitlement.EncryptionProperty) { - cdkBuilder.encryption(encryption.let(CfnFlowEntitlement.EncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(CfnFlowEntitlement.EncryptionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutput.kt index 51648db741..fdc95e330c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutput.kt @@ -70,8 +70,8 @@ public open class CfnFlowOutput( id: String, props: CfnFlowOutputProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnFlowOutput(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowOutputProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnFlowOutput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowOutputProps.Companion::unwrap)) ) public constructor( @@ -136,14 +136,14 @@ public open class CfnFlowOutput( * The encryption credentials that you want to use for the output. */ public open fun encryption(`value`: IResolvable) { - unwrap(this).setEncryption(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryption(`value`.let(IResolvable.Companion::unwrap)) } /** * The encryption credentials that you want to use for the output. */ public open fun encryption(`value`: EncryptionProperty) { - unwrap(this).setEncryption(`value`.let(EncryptionProperty::unwrap)) + unwrap(this).setEncryption(`value`.let(EncryptionProperty.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnFlowOutput( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -280,14 +280,14 @@ public open class CfnFlowOutput( * The VPC interface that you want to send your output to. */ public open fun vpcInterfaceAttachment(`value`: IResolvable) { - unwrap(this).setVpcInterfaceAttachment(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcInterfaceAttachment(`value`.let(IResolvable.Companion::unwrap)) } /** * The VPC interface that you want to send your output to. */ public open fun vpcInterfaceAttachment(`value`: VpcInterfaceAttachmentProperty) { - unwrap(this).setVpcInterfaceAttachment(`value`.let(VpcInterfaceAttachmentProperty::unwrap)) + unwrap(this).setVpcInterfaceAttachment(`value`.let(VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public open class CfnFlowOutput( * @param encryption The encryption credentials that you want to use for the output. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnFlowOutput( * @param encryption The encryption credentials that you want to use for the output. */ override fun encryption(encryption: EncryptionProperty) { - cdkBuilder.encryption(encryption.let(EncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(EncryptionProperty.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public open class CfnFlowOutput( * @param vpcInterfaceAttachment The VPC interface that you want to send your output to. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: IResolvable) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class CfnFlowOutput( * @param vpcInterfaceAttachment The VPC interface that you want to send your output to. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: VpcInterfaceAttachmentProperty) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutputProps.kt index af0165514b..9fc4834e9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowOutputProps.kt @@ -335,14 +335,14 @@ public interface CfnFlowOutputProps { * @param encryption The encryption credentials that you want to use for the output. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption The encryption credentials that you want to use for the output. */ override fun encryption(encryption: CfnFlowOutput.EncryptionProperty) { - cdkBuilder.encryption(encryption.let(CfnFlowOutput.EncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(CfnFlowOutput.EncryptionProperty.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public interface CfnFlowOutputProps { * @param vpcInterfaceAttachment The VPC interface that you want to send your output to. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: IResolvable) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface CfnFlowOutputProps { */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: CfnFlowOutput.VpcInterfaceAttachmentProperty) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(CfnFlowOutput.VpcInterfaceAttachmentProperty::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(CfnFlowOutput.VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowProps.kt index 2fc74b5920..a7192c81c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowProps.kt @@ -182,14 +182,14 @@ public interface CfnFlowProps { * @param source The settings for the source that you want to use for the new flow. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The settings for the source that you want to use for the new flow. */ override fun source(source: CfnFlow.SourceProperty) { - cdkBuilder.source(source.let(CfnFlow.SourceProperty::unwrap)) + cdkBuilder.source(source.let(CfnFlow.SourceProperty.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public interface CfnFlowProps { * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: IResolvable) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(IResolvable.Companion::unwrap)) } /** * @param sourceFailoverConfig The settings for source failover. */ override fun sourceFailoverConfig(sourceFailoverConfig: CfnFlow.FailoverConfigProperty) { - cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(CfnFlow.FailoverConfigProperty::unwrap)) + cdkBuilder.sourceFailoverConfig(sourceFailoverConfig.let(CfnFlow.FailoverConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSource.kt index f3f5fa7585..805b4edb36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSource.kt @@ -82,8 +82,8 @@ public open class CfnFlowSource( id: String, props: CfnFlowSourceProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnFlowSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowSourceProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnFlowSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowSourceProps.Companion::unwrap)) ) public constructor( @@ -119,14 +119,14 @@ public open class CfnFlowSource( * The type of encryption that is used on the content ingested from the source. */ public open fun decryption(`value`: IResolvable) { - unwrap(this).setDecryption(`value`.let(IResolvable::unwrap)) + unwrap(this).setDecryption(`value`.let(IResolvable.Companion::unwrap)) } /** * The type of encryption that is used on the content ingested from the source. */ public open fun decryption(`value`: EncryptionProperty) { - unwrap(this).setDecryption(`value`.let(EncryptionProperty::unwrap)) + unwrap(this).setDecryption(`value`.let(EncryptionProperty.Companion::unwrap)) } /** @@ -182,14 +182,14 @@ public open class CfnFlowSource( * The source configuration for cloud flows receiving a stream from a bridge. */ public open fun gatewayBridgeSource(`value`: IResolvable) { - unwrap(this).setGatewayBridgeSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setGatewayBridgeSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The source configuration for cloud flows receiving a stream from a bridge. */ public open fun gatewayBridgeSource(`value`: GatewayBridgeSourceProperty) { - unwrap(this).setGatewayBridgeSource(`value`.let(GatewayBridgeSourceProperty::unwrap)) + unwrap(this).setGatewayBridgeSource(`value`.let(GatewayBridgeSourceProperty.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnFlowSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnFlowSource( * source. */ override fun decryption(decryption: IResolvable) { - cdkBuilder.decryption(decryption.let(IResolvable::unwrap)) + cdkBuilder.decryption(decryption.let(IResolvable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnFlowSource( * source. */ override fun decryption(decryption: EncryptionProperty) { - cdkBuilder.decryption(decryption.let(EncryptionProperty::unwrap)) + cdkBuilder.decryption(decryption.let(EncryptionProperty.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public open class CfnFlowSource( * bridge. */ override fun gatewayBridgeSource(gatewayBridgeSource: IResolvable) { - cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(IResolvable::unwrap)) + cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnFlowSource( * bridge. */ override fun gatewayBridgeSource(gatewayBridgeSource: GatewayBridgeSourceProperty) { - cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(GatewayBridgeSourceProperty::unwrap)) + cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(GatewayBridgeSourceProperty.Companion::unwrap)) } /** @@ -1354,7 +1354,7 @@ public open class CfnFlowSource( * bridge source. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: IResolvable) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(IResolvable.Companion::unwrap)) } /** @@ -1362,7 +1362,7 @@ public open class CfnFlowSource( * bridge source. */ override fun vpcInterfaceAttachment(vpcInterfaceAttachment: VpcInterfaceAttachmentProperty) { - cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty::unwrap)) + cdkBuilder.vpcInterfaceAttachment(vpcInterfaceAttachment.let(VpcInterfaceAttachmentProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSourceProps.kt index 49e8475868..ceba71a84e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowSourceProps.kt @@ -383,7 +383,7 @@ public interface CfnFlowSourceProps { * source. */ override fun decryption(decryption: IResolvable) { - cdkBuilder.decryption(decryption.let(IResolvable::unwrap)) + cdkBuilder.decryption(decryption.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface CfnFlowSourceProps { * source. */ override fun decryption(decryption: CfnFlowSource.EncryptionProperty) { - cdkBuilder.decryption(decryption.let(CfnFlowSource.EncryptionProperty::unwrap)) + cdkBuilder.decryption(decryption.let(CfnFlowSource.EncryptionProperty.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface CfnFlowSourceProps { * bridge. */ override fun gatewayBridgeSource(gatewayBridgeSource: IResolvable) { - cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(IResolvable::unwrap)) + cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(IResolvable.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public interface CfnFlowSourceProps { */ override fun gatewayBridgeSource(gatewayBridgeSource: CfnFlowSource.GatewayBridgeSourceProperty) { - cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(CfnFlowSource.GatewayBridgeSourceProperty::unwrap)) + cdkBuilder.gatewayBridgeSource(gatewayBridgeSource.let(CfnFlowSource.GatewayBridgeSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowVpcInterface.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowVpcInterface.kt index 31c05ce205..e4b3374228 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowVpcInterface.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnFlowVpcInterface.kt @@ -56,8 +56,8 @@ public open class CfnFlowVpcInterface( id: String, props: CfnFlowVpcInterfaceProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnFlowVpcInterface(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFlowVpcInterfaceProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnFlowVpcInterface(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFlowVpcInterfaceProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnFlowVpcInterface( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGateway.kt index a39bc9b4a7..6e18b84d0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGateway.kt @@ -50,8 +50,8 @@ public open class CfnGateway( id: String, props: CfnGatewayProps, ) : - this(software.amazon.awscdk.services.mediaconnect.CfnGateway(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGatewayProps::unwrap)) + this(software.amazon.awscdk.services.mediaconnect.CfnGateway(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGatewayProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnGateway( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public open class CfnGateway( * The list of networks that you want to add. */ public open fun networks(`value`: IResolvable) { - unwrap(this).setNetworks(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworks(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnGateway( * @param networks The list of networks that you want to add. */ override fun networks(networks: IResolvable) { - cdkBuilder.networks(networks.let(IResolvable::unwrap)) + cdkBuilder.networks(networks.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGatewayProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGatewayProps.kt index cef2f6ed07..94d41f8194 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGatewayProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconnect/CfnGatewayProps.kt @@ -138,7 +138,7 @@ public interface CfnGatewayProps { * @param networks The list of networks that you want to add. */ override fun networks(networks: IResolvable) { - cdkBuilder.networks(networks.let(IResolvable::unwrap)) + cdkBuilder.networks(networks.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplate.kt index c87b5af415..9bc43c4d93 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplate.kt @@ -72,8 +72,8 @@ public open class CfnJobTemplate( id: String, props: CfnJobTemplateProps, ) : - this(software.amazon.awscdk.services.mediaconvert.CfnJobTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnJobTemplateProps::unwrap)) + this(software.amazon.awscdk.services.mediaconvert.CfnJobTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnJobTemplateProps.Companion::unwrap)) ) public constructor( @@ -92,14 +92,14 @@ public open class CfnJobTemplate( * Accelerated transcoding can significantly speed up jobs with long, visually complex content. */ public open fun accelerationSettings(`value`: IResolvable) { - unwrap(this).setAccelerationSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccelerationSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Accelerated transcoding can significantly speed up jobs with long, visually complex content. */ public open fun accelerationSettings(`value`: AccelerationSettingsProperty) { - unwrap(this).setAccelerationSettings(`value`.let(AccelerationSettingsProperty::unwrap)) + unwrap(this).setAccelerationSettings(`value`.let(AccelerationSettingsProperty.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnJobTemplate( * Optional. */ public open fun hopDestinations(`value`: IResolvable) { - unwrap(this).setHopDestinations(`value`.let(IResolvable::unwrap)) + unwrap(this).setHopDestinations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnJobTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public open class CfnJobTemplate( * long, visually complex content. */ override fun accelerationSettings(accelerationSettings: IResolvable) { - cdkBuilder.accelerationSettings(accelerationSettings.let(IResolvable::unwrap)) + cdkBuilder.accelerationSettings(accelerationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public open class CfnJobTemplate( * long, visually complex content. */ override fun accelerationSettings(accelerationSettings: AccelerationSettingsProperty) { - cdkBuilder.accelerationSettings(accelerationSettings.let(AccelerationSettingsProperty::unwrap)) + cdkBuilder.accelerationSettings(accelerationSettings.let(AccelerationSettingsProperty.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnJobTemplate( * @param hopDestinations Optional. */ override fun hopDestinations(hopDestinations: IResolvable) { - cdkBuilder.hopDestinations(hopDestinations.let(IResolvable::unwrap)) + cdkBuilder.hopDestinations(hopDestinations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplateProps.kt index 6a2a89bd79..68bb741385 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnJobTemplateProps.kt @@ -370,7 +370,7 @@ public interface CfnJobTemplateProps { * *AWS Elemental MediaConvert User Guide* . */ override fun accelerationSettings(accelerationSettings: IResolvable) { - cdkBuilder.accelerationSettings(accelerationSettings.let(IResolvable::unwrap)) + cdkBuilder.accelerationSettings(accelerationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public interface CfnJobTemplateProps { */ override fun accelerationSettings(accelerationSettings: CfnJobTemplate.AccelerationSettingsProperty) { - cdkBuilder.accelerationSettings(accelerationSettings.let(CfnJobTemplate.AccelerationSettingsProperty::unwrap)) + cdkBuilder.accelerationSettings(accelerationSettings.let(CfnJobTemplate.AccelerationSettingsProperty.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface CfnJobTemplateProps { * in the *AWS Elemental MediaConvert User Guide* . */ override fun hopDestinations(hopDestinations: IResolvable) { - cdkBuilder.hopDestinations(hopDestinations.let(IResolvable::unwrap)) + cdkBuilder.hopDestinations(hopDestinations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnPreset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnPreset.kt index d8cce2163e..bb14f4a8f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnPreset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnPreset.kt @@ -55,8 +55,8 @@ public open class CfnPreset( id: String, props: CfnPresetProps, ) : - this(software.amazon.awscdk.services.mediaconvert.CfnPreset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPresetProps::unwrap)) + this(software.amazon.awscdk.services.mediaconvert.CfnPreset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPresetProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnPreset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnQueue.kt index 3888d1527d..ed55586935 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediaconvert/CfnQueue.kt @@ -43,7 +43,7 @@ public open class CfnQueue( cdkObject: software.amazon.awscdk.services.mediaconvert.CfnQueue, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.mediaconvert.CfnQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.mediaconvert.CfnQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class CfnQueue( id: String, props: CfnQueueProps, ) : - this(software.amazon.awscdk.services.mediaconvert.CfnQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueProps::unwrap)) + this(software.amazon.awscdk.services.mediaconvert.CfnQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnQueue( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannel.kt index 30d17f82d2..9d097e5d3e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannel.kt @@ -37,7 +37,7 @@ public open class CfnChannel( cdkObject: software.amazon.awscdk.services.medialive.CfnChannel, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.medialive.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.medialive.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -46,8 +46,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.medialive.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.medialive.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -87,14 +87,14 @@ public open class CfnChannel( * Specification of CDI inputs for this channel. */ public open fun cdiInputSpecification(`value`: IResolvable) { - unwrap(this).setCdiInputSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setCdiInputSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specification of CDI inputs for this channel. */ public open fun cdiInputSpecification(`value`: CdiInputSpecificationProperty) { - unwrap(this).setCdiInputSpecification(`value`.let(CdiInputSpecificationProperty::unwrap)) + unwrap(this).setCdiInputSpecification(`value`.let(CdiInputSpecificationProperty.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnChannel( * The settings that identify the destination for the outputs in this MediaLive output package. */ public open fun destinations(`value`: IResolvable) { - unwrap(this).setDestinations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -150,14 +150,14 @@ public open class CfnChannel( * The encoding configuration for the output content. */ public open fun encoderSettings(`value`: IResolvable) { - unwrap(this).setEncoderSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncoderSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The encoding configuration for the output content. */ public open fun encoderSettings(`value`: EncoderSettingsProperty) { - unwrap(this).setEncoderSettings(`value`.let(EncoderSettingsProperty::unwrap)) + unwrap(this).setEncoderSettings(`value`.let(EncoderSettingsProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnChannel( * The list of input attachments for the channel. */ public open fun inputAttachments(`value`: IResolvable) { - unwrap(this).setInputAttachments(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputAttachments(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public open class CfnChannel( * The input specification for this channel. */ public open fun inputSpecification(`value`: IResolvable) { - unwrap(this).setInputSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The input specification for this channel. */ public open fun inputSpecification(`value`: InputSpecificationProperty) { - unwrap(this).setInputSpecification(`value`.let(InputSpecificationProperty::unwrap)) + unwrap(this).setInputSpecification(`value`.let(InputSpecificationProperty.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -249,14 +249,14 @@ public open class CfnChannel( * Maintenance settings for this channel. */ public open fun maintenance(`value`: IResolvable) { - unwrap(this).setMaintenance(`value`.let(IResolvable::unwrap)) + unwrap(this).setMaintenance(`value`.let(IResolvable.Companion::unwrap)) } /** * Maintenance settings for this channel. */ public open fun maintenance(`value`: MaintenanceCreateSettingsProperty) { - unwrap(this).setMaintenance(`value`.let(MaintenanceCreateSettingsProperty::unwrap)) + unwrap(this).setMaintenance(`value`.let(MaintenanceCreateSettingsProperty.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnChannel( * VPC. */ public open fun vpc(`value`: IResolvable) { - unwrap(this).setVpc(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpc(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnChannel( * VPC. */ public open fun vpc(`value`: VpcOutputSettingsProperty) { - unwrap(this).setVpc(`value`.let(VpcOutputSettingsProperty::unwrap)) + unwrap(this).setVpc(`value`.let(VpcOutputSettingsProperty.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnChannel( * @param cdiInputSpecification Specification of CDI inputs for this channel. */ override fun cdiInputSpecification(cdiInputSpecification: IResolvable) { - cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(IResolvable::unwrap)) + cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class CfnChannel( * @param cdiInputSpecification Specification of CDI inputs for this channel. */ override fun cdiInputSpecification(cdiInputSpecification: CdiInputSpecificationProperty) { - cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(CdiInputSpecificationProperty::unwrap)) + cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(CdiInputSpecificationProperty.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnChannel( * MediaLive output package. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class CfnChannel( * @param encoderSettings The encoding configuration for the output content. */ override fun encoderSettings(encoderSettings: IResolvable) { - cdkBuilder.encoderSettings(encoderSettings.let(IResolvable::unwrap)) + cdkBuilder.encoderSettings(encoderSettings.let(IResolvable.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class CfnChannel( * @param encoderSettings The encoding configuration for the output content. */ override fun encoderSettings(encoderSettings: EncoderSettingsProperty) { - cdkBuilder.encoderSettings(encoderSettings.let(EncoderSettingsProperty::unwrap)) + cdkBuilder.encoderSettings(encoderSettings.let(EncoderSettingsProperty.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public open class CfnChannel( * @param inputAttachments The list of input attachments for the channel. */ override fun inputAttachments(inputAttachments: IResolvable) { - cdkBuilder.inputAttachments(inputAttachments.let(IResolvable::unwrap)) + cdkBuilder.inputAttachments(inputAttachments.let(IResolvable.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public open class CfnChannel( * @param inputSpecification The input specification for this channel. */ override fun inputSpecification(inputSpecification: IResolvable) { - cdkBuilder.inputSpecification(inputSpecification.let(IResolvable::unwrap)) + cdkBuilder.inputSpecification(inputSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class CfnChannel( * @param inputSpecification The input specification for this channel. */ override fun inputSpecification(inputSpecification: InputSpecificationProperty) { - cdkBuilder.inputSpecification(inputSpecification.let(InputSpecificationProperty::unwrap)) + cdkBuilder.inputSpecification(inputSpecification.let(InputSpecificationProperty.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public open class CfnChannel( * @param maintenance Maintenance settings for this channel. */ override fun maintenance(maintenance: IResolvable) { - cdkBuilder.maintenance(maintenance.let(IResolvable::unwrap)) + cdkBuilder.maintenance(maintenance.let(IResolvable.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class CfnChannel( * @param maintenance Maintenance settings for this channel. */ override fun maintenance(maintenance: MaintenanceCreateSettingsProperty) { - cdkBuilder.maintenance(maintenance.let(MaintenanceCreateSettingsProperty::unwrap)) + cdkBuilder.maintenance(maintenance.let(MaintenanceCreateSettingsProperty.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class CfnChannel( * are in your VPC. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public open class CfnChannel( * are in your VPC. */ override fun vpc(vpc: VpcOutputSettingsProperty) { - cdkBuilder.vpc(vpc.let(VpcOutputSettingsProperty::unwrap)) + cdkBuilder.vpc(vpc.let(VpcOutputSettingsProperty.Companion::unwrap)) } /** @@ -1759,14 +1759,14 @@ public open class CfnChannel( * @param archiveS3Settings Sets up Amazon S3 as the destination for this Archive output. */ override fun archiveS3Settings(archiveS3Settings: IResolvable) { - cdkBuilder.archiveS3Settings(archiveS3Settings.let(IResolvable::unwrap)) + cdkBuilder.archiveS3Settings(archiveS3Settings.let(IResolvable.Companion::unwrap)) } /** * @param archiveS3Settings Sets up Amazon S3 as the destination for this Archive output. */ override fun archiveS3Settings(archiveS3Settings: ArchiveS3SettingsProperty) { - cdkBuilder.archiveS3Settings(archiveS3Settings.let(ArchiveS3SettingsProperty::unwrap)) + cdkBuilder.archiveS3Settings(archiveS3Settings.let(ArchiveS3SettingsProperty.Companion::unwrap)) } /** @@ -1957,14 +1957,14 @@ public open class CfnChannel( * @param m2TsSettings The settings for the M2TS in the archive output. */ override fun m2TsSettings(m2TsSettings: IResolvable) { - cdkBuilder.m2TsSettings(m2TsSettings.let(IResolvable::unwrap)) + cdkBuilder.m2TsSettings(m2TsSettings.let(IResolvable.Companion::unwrap)) } /** * @param m2TsSettings The settings for the M2TS in the archive output. */ override fun m2TsSettings(m2TsSettings: M2tsSettingsProperty) { - cdkBuilder.m2TsSettings(m2TsSettings.let(M2tsSettingsProperty::unwrap)) + cdkBuilder.m2TsSettings(m2TsSettings.let(M2tsSettingsProperty.Companion::unwrap)) } /** @@ -1979,14 +1979,14 @@ public open class CfnChannel( * @param rawSettings The settings for Raw archive output type. */ override fun rawSettings(rawSettings: IResolvable) { - cdkBuilder.rawSettings(rawSettings.let(IResolvable::unwrap)) + cdkBuilder.rawSettings(rawSettings.let(IResolvable.Companion::unwrap)) } /** * @param rawSettings The settings for Raw archive output type. */ override fun rawSettings(rawSettings: RawSettingsProperty) { - cdkBuilder.rawSettings(rawSettings.let(RawSettingsProperty::unwrap)) + cdkBuilder.rawSettings(rawSettings.let(RawSettingsProperty.Companion::unwrap)) } /** @@ -2144,14 +2144,14 @@ public open class CfnChannel( * @param archiveCdnSettings Settings to configure the destination of an Archive output. */ override fun archiveCdnSettings(archiveCdnSettings: IResolvable) { - cdkBuilder.archiveCdnSettings(archiveCdnSettings.let(IResolvable::unwrap)) + cdkBuilder.archiveCdnSettings(archiveCdnSettings.let(IResolvable.Companion::unwrap)) } /** * @param archiveCdnSettings Settings to configure the destination of an Archive output. */ override fun archiveCdnSettings(archiveCdnSettings: ArchiveCdnSettingsProperty) { - cdkBuilder.archiveCdnSettings(archiveCdnSettings.let(ArchiveCdnSettingsProperty::unwrap)) + cdkBuilder.archiveCdnSettings(archiveCdnSettings.let(ArchiveCdnSettingsProperty.Companion::unwrap)) } /** @@ -2167,14 +2167,14 @@ public open class CfnChannel( * @param destination A directory and base file name where archive files should be written. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination A directory and base file name where archive files should be written. */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -2397,14 +2397,14 @@ public open class CfnChannel( * @param containerSettings The settings that are specific to the container type of the file. */ override fun containerSettings(containerSettings: IResolvable) { - cdkBuilder.containerSettings(containerSettings.let(IResolvable::unwrap)) + cdkBuilder.containerSettings(containerSettings.let(IResolvable.Companion::unwrap)) } /** * @param containerSettings The settings that are specific to the container type of the file. */ override fun containerSettings(containerSettings: ArchiveContainerSettingsProperty) { - cdkBuilder.containerSettings(containerSettings.let(ArchiveContainerSettingsProperty::unwrap)) + cdkBuilder.containerSettings(containerSettings.let(ArchiveContainerSettingsProperty.Companion::unwrap)) } /** @@ -2755,7 +2755,7 @@ public open class CfnChannel( * remixed into this output channel. */ override fun inputChannelLevels(inputChannelLevels: IResolvable) { - cdkBuilder.inputChannelLevels(inputChannelLevels.let(IResolvable::unwrap)) + cdkBuilder.inputChannelLevels(inputChannelLevels.let(IResolvable.Companion::unwrap)) } /** @@ -3085,14 +3085,14 @@ public open class CfnChannel( * @param aacSettings The setup of the AAC audio codec in the output. */ override fun aacSettings(aacSettings: IResolvable) { - cdkBuilder.aacSettings(aacSettings.let(IResolvable::unwrap)) + cdkBuilder.aacSettings(aacSettings.let(IResolvable.Companion::unwrap)) } /** * @param aacSettings The setup of the AAC audio codec in the output. */ override fun aacSettings(aacSettings: AacSettingsProperty) { - cdkBuilder.aacSettings(aacSettings.let(AacSettingsProperty::unwrap)) + cdkBuilder.aacSettings(aacSettings.let(AacSettingsProperty.Companion::unwrap)) } /** @@ -3107,14 +3107,14 @@ public open class CfnChannel( * @param ac3Settings The setup of an AC3 audio codec in the output. */ override fun ac3Settings(ac3Settings: IResolvable) { - cdkBuilder.ac3Settings(ac3Settings.let(IResolvable::unwrap)) + cdkBuilder.ac3Settings(ac3Settings.let(IResolvable.Companion::unwrap)) } /** * @param ac3Settings The setup of an AC3 audio codec in the output. */ override fun ac3Settings(ac3Settings: Ac3SettingsProperty) { - cdkBuilder.ac3Settings(ac3Settings.let(Ac3SettingsProperty::unwrap)) + cdkBuilder.ac3Settings(ac3Settings.let(Ac3SettingsProperty.Companion::unwrap)) } /** @@ -3129,14 +3129,14 @@ public open class CfnChannel( * @param eac3AtmosSettings the value to be set. */ override fun eac3AtmosSettings(eac3AtmosSettings: IResolvable) { - cdkBuilder.eac3AtmosSettings(eac3AtmosSettings.let(IResolvable::unwrap)) + cdkBuilder.eac3AtmosSettings(eac3AtmosSettings.let(IResolvable.Companion::unwrap)) } /** * @param eac3AtmosSettings the value to be set. */ override fun eac3AtmosSettings(eac3AtmosSettings: Eac3AtmosSettingsProperty) { - cdkBuilder.eac3AtmosSettings(eac3AtmosSettings.let(Eac3AtmosSettingsProperty::unwrap)) + cdkBuilder.eac3AtmosSettings(eac3AtmosSettings.let(Eac3AtmosSettingsProperty.Companion::unwrap)) } /** @@ -3152,14 +3152,14 @@ public open class CfnChannel( * @param eac3Settings The setup of an EAC3 audio codec in the output. */ override fun eac3Settings(eac3Settings: IResolvable) { - cdkBuilder.eac3Settings(eac3Settings.let(IResolvable::unwrap)) + cdkBuilder.eac3Settings(eac3Settings.let(IResolvable.Companion::unwrap)) } /** * @param eac3Settings The setup of an EAC3 audio codec in the output. */ override fun eac3Settings(eac3Settings: Eac3SettingsProperty) { - cdkBuilder.eac3Settings(eac3Settings.let(Eac3SettingsProperty::unwrap)) + cdkBuilder.eac3Settings(eac3Settings.let(Eac3SettingsProperty.Companion::unwrap)) } /** @@ -3174,14 +3174,14 @@ public open class CfnChannel( * @param mp2Settings The setup of an MP2 audio codec in the output. */ override fun mp2Settings(mp2Settings: IResolvable) { - cdkBuilder.mp2Settings(mp2Settings.let(IResolvable::unwrap)) + cdkBuilder.mp2Settings(mp2Settings.let(IResolvable.Companion::unwrap)) } /** * @param mp2Settings The setup of an MP2 audio codec in the output. */ override fun mp2Settings(mp2Settings: Mp2SettingsProperty) { - cdkBuilder.mp2Settings(mp2Settings.let(Mp2SettingsProperty::unwrap)) + cdkBuilder.mp2Settings(mp2Settings.let(Mp2SettingsProperty.Companion::unwrap)) } /** @@ -3196,14 +3196,14 @@ public open class CfnChannel( * @param passThroughSettings The setup to pass through the Dolby audio codec to the output. */ override fun passThroughSettings(passThroughSettings: IResolvable) { - cdkBuilder.passThroughSettings(passThroughSettings.let(IResolvable::unwrap)) + cdkBuilder.passThroughSettings(passThroughSettings.let(IResolvable.Companion::unwrap)) } /** * @param passThroughSettings The setup to pass through the Dolby audio codec to the output. */ override fun passThroughSettings(passThroughSettings: PassThroughSettingsProperty) { - cdkBuilder.passThroughSettings(passThroughSettings.let(PassThroughSettingsProperty::unwrap)) + cdkBuilder.passThroughSettings(passThroughSettings.let(PassThroughSettingsProperty.Companion::unwrap)) } /** @@ -3219,14 +3219,14 @@ public open class CfnChannel( * @param wavSettings Settings for audio encoded with the WAV codec. */ override fun wavSettings(wavSettings: IResolvable) { - cdkBuilder.wavSettings(wavSettings.let(IResolvable::unwrap)) + cdkBuilder.wavSettings(wavSettings.let(IResolvable.Companion::unwrap)) } /** * @param wavSettings Settings for audio encoded with the WAV codec. */ override fun wavSettings(wavSettings: WavSettingsProperty) { - cdkBuilder.wavSettings(wavSettings.let(WavSettingsProperty::unwrap)) + cdkBuilder.wavSettings(wavSettings.let(WavSettingsProperty.Companion::unwrap)) } /** @@ -3323,6 +3323,7 @@ public open class CfnChannel( * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.medialive.*; * AudioDescriptionProperty audioDescriptionProperty = AudioDescriptionProperty.builder() + * .audioDashRoles(List.of("audioDashRoles")) * .audioNormalizationSettings(AudioNormalizationSettingsProperty.builder() * .algorithm("algorithm") * .algorithmControl("algorithmControl") @@ -3411,6 +3412,7 @@ public open class CfnChannel( * .sampleRate(123) * .build()) * .build()) + * .dvbDashAccessibility("dvbDashAccessibility") * .languageCode("languageCode") * .languageCodeControl("languageCodeControl") * .name("name") @@ -3432,6 +3434,11 @@ public open class CfnChannel( * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html) */ public interface AudioDescriptionProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audiodashroles) + */ + public fun audioDashRoles(): List = unwrap(this).getAudioDashRoles() ?: emptyList() + /** * The advanced audio normalization settings. * @@ -3481,6 +3488,11 @@ public open class CfnChannel( */ public fun codecSettings(): Any? = unwrap(this).getCodecSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-dvbdashaccessibility) + */ + public fun dvbDashAccessibility(): String? = unwrap(this).getDvbDashAccessibility() + /** * Indicates the language of the audio output track. * @@ -3534,6 +3546,16 @@ public open class CfnChannel( */ @CdkDslMarker public interface Builder { + /** + * @param audioDashRoles the value to be set. + */ + public fun audioDashRoles(audioDashRoles: List) + + /** + * @param audioDashRoles the value to be set. + */ + public fun audioDashRoles(vararg audioDashRoles: String) + /** * @param audioNormalizationSettings The advanced audio normalization settings. */ @@ -3613,6 +3635,11 @@ public open class CfnChannel( @JvmName("32c42506e665d5fcf25b8618524c3292f798a8472eb4f40265596a7a76145f57") public fun codecSettings(codecSettings: AudioCodecSettingsProperty.Builder.() -> Unit) + /** + * @param dvbDashAccessibility the value to be set. + */ + public fun dvbDashAccessibility(dvbDashAccessibility: String) + /** * @param languageCode Indicates the language of the audio output track. * Used only if languageControlMode is useConfigured, or there is no ISO 639 language code @@ -3667,11 +3694,24 @@ public open class CfnChannel( software.amazon.awscdk.services.medialive.CfnChannel.AudioDescriptionProperty.Builder = software.amazon.awscdk.services.medialive.CfnChannel.AudioDescriptionProperty.builder() + /** + * @param audioDashRoles the value to be set. + */ + override fun audioDashRoles(audioDashRoles: List) { + cdkBuilder.audioDashRoles(audioDashRoles) + } + + /** + * @param audioDashRoles the value to be set. + */ + override fun audioDashRoles(vararg audioDashRoles: String): Unit = + audioDashRoles(audioDashRoles.toList()) + /** * @param audioNormalizationSettings The advanced audio normalization settings. */ override fun audioNormalizationSettings(audioNormalizationSettings: IResolvable) { - cdkBuilder.audioNormalizationSettings(audioNormalizationSettings.let(IResolvable::unwrap)) + cdkBuilder.audioNormalizationSettings(audioNormalizationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3679,7 +3719,7 @@ public open class CfnChannel( */ override fun audioNormalizationSettings(audioNormalizationSettings: AudioNormalizationSettingsProperty) { - cdkBuilder.audioNormalizationSettings(audioNormalizationSettings.let(AudioNormalizationSettingsProperty::unwrap)) + cdkBuilder.audioNormalizationSettings(audioNormalizationSettings.let(AudioNormalizationSettingsProperty.Companion::unwrap)) } /** @@ -3724,7 +3764,7 @@ public open class CfnChannel( * audio watermarks in the audio encode. */ override fun audioWatermarkingSettings(audioWatermarkingSettings: IResolvable) { - cdkBuilder.audioWatermarkingSettings(audioWatermarkingSettings.let(IResolvable::unwrap)) + cdkBuilder.audioWatermarkingSettings(audioWatermarkingSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3733,7 +3773,7 @@ public open class CfnChannel( */ override fun audioWatermarkingSettings(audioWatermarkingSettings: AudioWatermarkSettingsProperty) { - cdkBuilder.audioWatermarkingSettings(audioWatermarkingSettings.let(AudioWatermarkSettingsProperty::unwrap)) + cdkBuilder.audioWatermarkingSettings(audioWatermarkingSettings.let(AudioWatermarkSettingsProperty.Companion::unwrap)) } /** @@ -3751,14 +3791,14 @@ public open class CfnChannel( * @param codecSettings The audio codec settings. */ override fun codecSettings(codecSettings: IResolvable) { - cdkBuilder.codecSettings(codecSettings.let(IResolvable::unwrap)) + cdkBuilder.codecSettings(codecSettings.let(IResolvable.Companion::unwrap)) } /** * @param codecSettings The audio codec settings. */ override fun codecSettings(codecSettings: AudioCodecSettingsProperty) { - cdkBuilder.codecSettings(codecSettings.let(AudioCodecSettingsProperty::unwrap)) + cdkBuilder.codecSettings(codecSettings.let(AudioCodecSettingsProperty.Companion::unwrap)) } /** @@ -3769,6 +3809,13 @@ public open class CfnChannel( override fun codecSettings(codecSettings: AudioCodecSettingsProperty.Builder.() -> Unit): Unit = codecSettings(AudioCodecSettingsProperty(codecSettings)) + /** + * @param dvbDashAccessibility the value to be set. + */ + override fun dvbDashAccessibility(dvbDashAccessibility: String) { + cdkBuilder.dvbDashAccessibility(dvbDashAccessibility) + } + /** * @param languageCode Indicates the language of the audio output track. * Used only if languageControlMode is useConfigured, or there is no ISO 639 language code @@ -3802,7 +3849,7 @@ public open class CfnChannel( * the output audio channels. */ override fun remixSettings(remixSettings: IResolvable) { - cdkBuilder.remixSettings(remixSettings.let(IResolvable::unwrap)) + cdkBuilder.remixSettings(remixSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3810,7 +3857,7 @@ public open class CfnChannel( * the output audio channels. */ override fun remixSettings(remixSettings: RemixSettingsProperty) { - cdkBuilder.remixSettings(remixSettings.let(RemixSettingsProperty::unwrap)) + cdkBuilder.remixSettings(remixSettings.let(RemixSettingsProperty.Companion::unwrap)) } /** @@ -3838,6 +3885,11 @@ public open class CfnChannel( private class Wrapper( cdkObject: software.amazon.awscdk.services.medialive.CfnChannel.AudioDescriptionProperty, ) : CdkObject(cdkObject), AudioDescriptionProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audiodashroles) + */ + override fun audioDashRoles(): List = unwrap(this).getAudioDashRoles() ?: emptyList() + /** * The advanced audio normalization settings. * @@ -3888,6 +3940,11 @@ public open class CfnChannel( */ override fun codecSettings(): Any? = unwrap(this).getCodecSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-dvbdashaccessibility) + */ + override fun dvbDashAccessibility(): String? = unwrap(this).getDvbDashAccessibility() + /** * Indicates the language of the audio output track. * @@ -4607,7 +4664,7 @@ public open class CfnChannel( * file, so it increases bandwidth by {image file size} * {segment count} * {user count.}. */ override fun audioOnlyImage(audioOnlyImage: IResolvable) { - cdkBuilder.audioOnlyImage(audioOnlyImage.let(IResolvable::unwrap)) + cdkBuilder.audioOnlyImage(audioOnlyImage.let(IResolvable.Companion::unwrap)) } /** @@ -4619,7 +4676,7 @@ public open class CfnChannel( * file, so it increases bandwidth by {image file size} * {segment count} * {user count.}. */ override fun audioOnlyImage(audioOnlyImage: InputLocationProperty) { - cdkBuilder.audioOnlyImage(audioOnlyImage.let(InputLocationProperty::unwrap)) + cdkBuilder.audioOnlyImage(audioOnlyImage.let(InputLocationProperty.Companion::unwrap)) } /** @@ -4910,14 +4967,14 @@ public open class CfnChannel( * @param selectorSettings Information about the specific audio to extract from the input. */ override fun selectorSettings(selectorSettings: IResolvable) { - cdkBuilder.selectorSettings(selectorSettings.let(IResolvable::unwrap)) + cdkBuilder.selectorSettings(selectorSettings.let(IResolvable.Companion::unwrap)) } /** * @param selectorSettings Information about the specific audio to extract from the input. */ override fun selectorSettings(selectorSettings: AudioSelectorSettingsProperty) { - cdkBuilder.selectorSettings(selectorSettings.let(AudioSelectorSettingsProperty::unwrap)) + cdkBuilder.selectorSettings(selectorSettings.let(AudioSelectorSettingsProperty.Companion::unwrap)) } /** @@ -5123,7 +5180,7 @@ public open class CfnChannel( * @param audioHlsRenditionSelection Selector for HLS audio rendition. */ override fun audioHlsRenditionSelection(audioHlsRenditionSelection: IResolvable) { - cdkBuilder.audioHlsRenditionSelection(audioHlsRenditionSelection.let(IResolvable::unwrap)) + cdkBuilder.audioHlsRenditionSelection(audioHlsRenditionSelection.let(IResolvable.Companion::unwrap)) } /** @@ -5131,7 +5188,7 @@ public open class CfnChannel( */ override fun audioHlsRenditionSelection(audioHlsRenditionSelection: AudioHlsRenditionSelectionProperty) { - cdkBuilder.audioHlsRenditionSelection(audioHlsRenditionSelection.let(AudioHlsRenditionSelectionProperty::unwrap)) + cdkBuilder.audioHlsRenditionSelection(audioHlsRenditionSelection.let(AudioHlsRenditionSelectionProperty.Companion::unwrap)) } /** @@ -5148,14 +5205,14 @@ public open class CfnChannel( * @param audioLanguageSelection The language code of the audio to select. */ override fun audioLanguageSelection(audioLanguageSelection: IResolvable) { - cdkBuilder.audioLanguageSelection(audioLanguageSelection.let(IResolvable::unwrap)) + cdkBuilder.audioLanguageSelection(audioLanguageSelection.let(IResolvable.Companion::unwrap)) } /** * @param audioLanguageSelection The language code of the audio to select. */ override fun audioLanguageSelection(audioLanguageSelection: AudioLanguageSelectionProperty) { - cdkBuilder.audioLanguageSelection(audioLanguageSelection.let(AudioLanguageSelectionProperty::unwrap)) + cdkBuilder.audioLanguageSelection(audioLanguageSelection.let(AudioLanguageSelectionProperty.Companion::unwrap)) } /** @@ -5171,14 +5228,14 @@ public open class CfnChannel( * @param audioPidSelection The PID of the audio to select. */ override fun audioPidSelection(audioPidSelection: IResolvable) { - cdkBuilder.audioPidSelection(audioPidSelection.let(IResolvable::unwrap)) + cdkBuilder.audioPidSelection(audioPidSelection.let(IResolvable.Companion::unwrap)) } /** * @param audioPidSelection The PID of the audio to select. */ override fun audioPidSelection(audioPidSelection: AudioPidSelectionProperty) { - cdkBuilder.audioPidSelection(audioPidSelection.let(AudioPidSelectionProperty::unwrap)) + cdkBuilder.audioPidSelection(audioPidSelection.let(AudioPidSelectionProperty.Companion::unwrap)) } /** @@ -5194,14 +5251,14 @@ public open class CfnChannel( * @param audioTrackSelection Information about the audio track to extract. */ override fun audioTrackSelection(audioTrackSelection: IResolvable) { - cdkBuilder.audioTrackSelection(audioTrackSelection.let(IResolvable::unwrap)) + cdkBuilder.audioTrackSelection(audioTrackSelection.let(IResolvable.Companion::unwrap)) } /** * @param audioTrackSelection Information about the audio track to extract. */ override fun audioTrackSelection(audioTrackSelection: AudioTrackSelectionProperty) { - cdkBuilder.audioTrackSelection(audioTrackSelection.let(AudioTrackSelectionProperty::unwrap)) + cdkBuilder.audioTrackSelection(audioTrackSelection.let(AudioTrackSelectionProperty.Companion::unwrap)) } /** @@ -5571,14 +5628,14 @@ public open class CfnChannel( * @param dolbyEDecode the value to be set. */ override fun dolbyEDecode(dolbyEDecode: IResolvable) { - cdkBuilder.dolbyEDecode(dolbyEDecode.let(IResolvable::unwrap)) + cdkBuilder.dolbyEDecode(dolbyEDecode.let(IResolvable.Companion::unwrap)) } /** * @param dolbyEDecode the value to be set. */ override fun dolbyEDecode(dolbyEDecode: AudioDolbyEDecodeProperty) { - cdkBuilder.dolbyEDecode(dolbyEDecode.let(AudioDolbyEDecodeProperty::unwrap)) + cdkBuilder.dolbyEDecode(dolbyEDecode.let(AudioDolbyEDecodeProperty.Companion::unwrap)) } /** @@ -5593,7 +5650,7 @@ public open class CfnChannel( * @param tracks Selects one or more unique audio tracks from within a source. */ override fun tracks(tracks: IResolvable) { - cdkBuilder.tracks(tracks.let(IResolvable::unwrap)) + cdkBuilder.tracks(tracks.let(IResolvable.Companion::unwrap)) } /** @@ -5725,7 +5782,7 @@ public open class CfnChannel( * encode. */ override fun nielsenWatermarksSettings(nielsenWatermarksSettings: IResolvable) { - cdkBuilder.nielsenWatermarksSettings(nielsenWatermarksSettings.let(IResolvable::unwrap)) + cdkBuilder.nielsenWatermarksSettings(nielsenWatermarksSettings.let(IResolvable.Companion::unwrap)) } /** @@ -5734,7 +5791,7 @@ public open class CfnChannel( */ override fun nielsenWatermarksSettings(nielsenWatermarksSettings: NielsenWatermarksSettingsProperty) { - cdkBuilder.nielsenWatermarksSettings(nielsenWatermarksSettings.let(NielsenWatermarksSettingsProperty::unwrap)) + cdkBuilder.nielsenWatermarksSettings(nielsenWatermarksSettings.let(NielsenWatermarksSettingsProperty.Companion::unwrap)) } /** @@ -5925,7 +5982,7 @@ public open class CfnChannel( * If any of these conditions occur, MediaLive will perform a failover to the other input. */ override fun failoverConditions(failoverConditions: IResolvable) { - cdkBuilder.failoverConditions(failoverConditions.let(IResolvable::unwrap)) + cdkBuilder.failoverConditions(failoverConditions.let(IResolvable.Companion::unwrap)) } /** @@ -6107,7 +6164,7 @@ public open class CfnChannel( * Keep empty for solid black. Only .bmp and .png images are supported. */ override fun availBlankingImage(availBlankingImage: IResolvable) { - cdkBuilder.availBlankingImage(availBlankingImage.let(IResolvable::unwrap)) + cdkBuilder.availBlankingImage(availBlankingImage.let(IResolvable.Companion::unwrap)) } /** @@ -6115,7 +6172,7 @@ public open class CfnChannel( * Keep empty for solid black. Only .bmp and .png images are supported. */ override fun availBlankingImage(availBlankingImage: InputLocationProperty) { - cdkBuilder.availBlankingImage(availBlankingImage.let(InputLocationProperty::unwrap)) + cdkBuilder.availBlankingImage(availBlankingImage.let(InputLocationProperty.Companion::unwrap)) } /** @@ -6255,14 +6312,14 @@ public open class CfnChannel( * @param availSettings The setup of ad avail handling in the output. */ override fun availSettings(availSettings: IResolvable) { - cdkBuilder.availSettings(availSettings.let(IResolvable::unwrap)) + cdkBuilder.availSettings(availSettings.let(IResolvable.Companion::unwrap)) } /** * @param availSettings The setup of ad avail handling in the output. */ override fun availSettings(availSettings: AvailSettingsProperty) { - cdkBuilder.availSettings(availSettings.let(AvailSettingsProperty::unwrap)) + cdkBuilder.availSettings(availSettings.let(AvailSettingsProperty.Companion::unwrap)) } /** @@ -6430,14 +6487,14 @@ public open class CfnChannel( * @param esam the value to be set. */ override fun esam(esam: IResolvable) { - cdkBuilder.esam(esam.let(IResolvable::unwrap)) + cdkBuilder.esam(esam.let(IResolvable.Companion::unwrap)) } /** * @param esam the value to be set. */ override fun esam(esam: EsamProperty) { - cdkBuilder.esam(esam.let(EsamProperty::unwrap)) + cdkBuilder.esam(esam.let(EsamProperty.Companion::unwrap)) } /** @@ -6451,14 +6508,14 @@ public open class CfnChannel( * @param scte35SpliceInsert The setup for SCTE-35 splice insert handling. */ override fun scte35SpliceInsert(scte35SpliceInsert: IResolvable) { - cdkBuilder.scte35SpliceInsert(scte35SpliceInsert.let(IResolvable::unwrap)) + cdkBuilder.scte35SpliceInsert(scte35SpliceInsert.let(IResolvable.Companion::unwrap)) } /** * @param scte35SpliceInsert The setup for SCTE-35 splice insert handling. */ override fun scte35SpliceInsert(scte35SpliceInsert: Scte35SpliceInsertProperty) { - cdkBuilder.scte35SpliceInsert(scte35SpliceInsert.let(Scte35SpliceInsertProperty::unwrap)) + cdkBuilder.scte35SpliceInsert(scte35SpliceInsert.let(Scte35SpliceInsertProperty.Companion::unwrap)) } /** @@ -6474,14 +6531,14 @@ public open class CfnChannel( * @param scte35TimeSignalApos The setup for SCTE-35 time signal APOS handling. */ override fun scte35TimeSignalApos(scte35TimeSignalApos: IResolvable) { - cdkBuilder.scte35TimeSignalApos(scte35TimeSignalApos.let(IResolvable::unwrap)) + cdkBuilder.scte35TimeSignalApos(scte35TimeSignalApos.let(IResolvable.Companion::unwrap)) } /** * @param scte35TimeSignalApos The setup for SCTE-35 time signal APOS handling. */ override fun scte35TimeSignalApos(scte35TimeSignalApos: Scte35TimeSignalAposProperty) { - cdkBuilder.scte35TimeSignalApos(scte35TimeSignalApos.let(Scte35TimeSignalAposProperty::unwrap)) + cdkBuilder.scte35TimeSignalApos(scte35TimeSignalApos.let(Scte35TimeSignalAposProperty.Companion::unwrap)) } /** @@ -6698,7 +6755,7 @@ public open class CfnChannel( * Keep empty for solid black. Only .bmp and .png images are supported. */ override fun blackoutSlateImage(blackoutSlateImage: IResolvable) { - cdkBuilder.blackoutSlateImage(blackoutSlateImage.let(IResolvable::unwrap)) + cdkBuilder.blackoutSlateImage(blackoutSlateImage.let(IResolvable.Companion::unwrap)) } /** @@ -6706,7 +6763,7 @@ public open class CfnChannel( * Keep empty for solid black. Only .bmp and .png images are supported. */ override fun blackoutSlateImage(blackoutSlateImage: InputLocationProperty) { - cdkBuilder.blackoutSlateImage(blackoutSlateImage.let(InputLocationProperty::unwrap)) + cdkBuilder.blackoutSlateImage(blackoutSlateImage.let(InputLocationProperty.Companion::unwrap)) } /** @@ -6736,7 +6793,7 @@ public open class CfnChannel( * The image is scaled to fill the entire output raster. */ override fun networkEndBlackoutImage(networkEndBlackoutImage: IResolvable) { - cdkBuilder.networkEndBlackoutImage(networkEndBlackoutImage.let(IResolvable::unwrap)) + cdkBuilder.networkEndBlackoutImage(networkEndBlackoutImage.let(IResolvable.Companion::unwrap)) } /** @@ -6745,7 +6802,7 @@ public open class CfnChannel( * The image is scaled to fill the entire output raster. */ override fun networkEndBlackoutImage(networkEndBlackoutImage: InputLocationProperty) { - cdkBuilder.networkEndBlackoutImage(networkEndBlackoutImage.let(InputLocationProperty::unwrap)) + cdkBuilder.networkEndBlackoutImage(networkEndBlackoutImage.let(InputLocationProperty.Companion::unwrap)) } /** @@ -7265,7 +7322,7 @@ public open class CfnChannel( * proportional fonts. All burn-in and DVB-Sub font settings must match. */ override fun font(font: IResolvable) { - cdkBuilder.font(font.let(IResolvable::unwrap)) + cdkBuilder.font(font.let(IResolvable.Companion::unwrap)) } /** @@ -7276,7 +7333,7 @@ public open class CfnChannel( * proportional fonts. All burn-in and DVB-Sub font settings must match. */ override fun font(font: InputLocationProperty) { - cdkBuilder.font(font.let(InputLocationProperty::unwrap)) + cdkBuilder.font(font.let(InputLocationProperty.Companion::unwrap)) } /** @@ -7633,6 +7690,7 @@ public open class CfnChannel( * import io.cloudshiftdev.awscdk.services.medialive.*; * CaptionDescriptionProperty captionDescriptionProperty = CaptionDescriptionProperty.builder() * .accessibility("accessibility") + * .captionDashRoles(List.of("captionDashRoles")) * .captionSelectorName("captionSelectorName") * .destinationSettings(CaptionDestinationSettingsProperty.builder() * .aribDestinationSettings(AribDestinationSettingsProperty.builder().build()) @@ -7702,6 +7760,7 @@ public open class CfnChannel( * .styleControl("styleControl") * .build()) * .build()) + * .dvbDashAccessibility("dvbDashAccessibility") * .languageCode("languageCode") * .languageDescription("languageDescription") * .name("name") @@ -7716,6 +7775,11 @@ public open class CfnChannel( */ public fun accessibility(): String? = unwrap(this).getAccessibility() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-captiondashroles) + */ + public fun captionDashRoles(): List = unwrap(this).getCaptionDashRoles() ?: emptyList() + /** * Specifies which input captions selector to use as a captions source when generating output * captions. @@ -7733,6 +7797,11 @@ public open class CfnChannel( */ public fun destinationSettings(): Any? = unwrap(this).getDestinationSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-dvbdashaccessibility) + */ + public fun dvbDashAccessibility(): String? = unwrap(this).getDvbDashAccessibility() + /** * An ISO 639-2 three-digit code. * @@ -7770,6 +7839,16 @@ public open class CfnChannel( */ public fun accessibility(accessibility: String) + /** + * @param captionDashRoles the value to be set. + */ + public fun captionDashRoles(captionDashRoles: List) + + /** + * @param captionDashRoles the value to be set. + */ + public fun captionDashRoles(vararg captionDashRoles: String) + /** * @param captionSelectorName Specifies which input captions selector to use as a captions * source when generating output captions. @@ -7798,6 +7877,11 @@ public open class CfnChannel( public fun destinationSettings(destinationSettings: CaptionDestinationSettingsProperty.Builder.() -> Unit) + /** + * @param dvbDashAccessibility the value to be set. + */ + public fun dvbDashAccessibility(dvbDashAccessibility: String) + /** * @param languageCode An ISO 639-2 three-digit code. * For more information, see http://www.loc.gov/standards/iso639-2/. @@ -7830,6 +7914,19 @@ public open class CfnChannel( cdkBuilder.accessibility(accessibility) } + /** + * @param captionDashRoles the value to be set. + */ + override fun captionDashRoles(captionDashRoles: List) { + cdkBuilder.captionDashRoles(captionDashRoles) + } + + /** + * @param captionDashRoles the value to be set. + */ + override fun captionDashRoles(vararg captionDashRoles: String): Unit = + captionDashRoles(captionDashRoles.toList()) + /** * @param captionSelectorName Specifies which input captions selector to use as a captions * source when generating output captions. @@ -7844,7 +7941,7 @@ public open class CfnChannel( * the destination type. */ override fun destinationSettings(destinationSettings: IResolvable) { - cdkBuilder.destinationSettings(destinationSettings.let(IResolvable::unwrap)) + cdkBuilder.destinationSettings(destinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -7852,7 +7949,7 @@ public open class CfnChannel( * the destination type. */ override fun destinationSettings(destinationSettings: CaptionDestinationSettingsProperty) { - cdkBuilder.destinationSettings(destinationSettings.let(CaptionDestinationSettingsProperty::unwrap)) + cdkBuilder.destinationSettings(destinationSettings.let(CaptionDestinationSettingsProperty.Companion::unwrap)) } /** @@ -7865,6 +7962,13 @@ public open class CfnChannel( fun destinationSettings(destinationSettings: CaptionDestinationSettingsProperty.Builder.() -> Unit): Unit = destinationSettings(CaptionDestinationSettingsProperty(destinationSettings)) + /** + * @param dvbDashAccessibility the value to be set. + */ + override fun dvbDashAccessibility(dvbDashAccessibility: String) { + cdkBuilder.dvbDashAccessibility(dvbDashAccessibility) + } + /** * @param languageCode An ISO 639-2 three-digit code. * For more information, see http://www.loc.gov/standards/iso639-2/. @@ -7903,6 +8007,12 @@ public open class CfnChannel( */ override fun accessibility(): String? = unwrap(this).getAccessibility() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-captiondashroles) + */ + override fun captionDashRoles(): List = unwrap(this).getCaptionDashRoles() ?: + emptyList() + /** * Specifies which input captions selector to use as a captions source when generating output * captions. @@ -7920,6 +8030,11 @@ public open class CfnChannel( */ override fun destinationSettings(): Any? = unwrap(this).getDestinationSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-dvbdashaccessibility) + */ + override fun dvbDashAccessibility(): String? = unwrap(this).getDvbDashAccessibility() + /** * An ISO 639-2 three-digit code. * @@ -8438,7 +8553,7 @@ public open class CfnChannel( * @param aribDestinationSettings The configuration of one ARIB captions encode in the output. */ override fun aribDestinationSettings(aribDestinationSettings: IResolvable) { - cdkBuilder.aribDestinationSettings(aribDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.aribDestinationSettings(aribDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8446,7 +8561,7 @@ public open class CfnChannel( */ override fun aribDestinationSettings(aribDestinationSettings: AribDestinationSettingsProperty) { - cdkBuilder.aribDestinationSettings(aribDestinationSettings.let(AribDestinationSettingsProperty::unwrap)) + cdkBuilder.aribDestinationSettings(aribDestinationSettings.let(AribDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8463,7 +8578,7 @@ public open class CfnChannel( * output. */ override fun burnInDestinationSettings(burnInDestinationSettings: IResolvable) { - cdkBuilder.burnInDestinationSettings(burnInDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.burnInDestinationSettings(burnInDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8472,7 +8587,7 @@ public open class CfnChannel( */ override fun burnInDestinationSettings(burnInDestinationSettings: BurnInDestinationSettingsProperty) { - cdkBuilder.burnInDestinationSettings(burnInDestinationSettings.let(BurnInDestinationSettingsProperty::unwrap)) + cdkBuilder.burnInDestinationSettings(burnInDestinationSettings.let(BurnInDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8491,7 +8606,7 @@ public open class CfnChannel( * output. */ override fun dvbSubDestinationSettings(dvbSubDestinationSettings: IResolvable) { - cdkBuilder.dvbSubDestinationSettings(dvbSubDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.dvbSubDestinationSettings(dvbSubDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8500,7 +8615,7 @@ public open class CfnChannel( */ override fun dvbSubDestinationSettings(dvbSubDestinationSettings: DvbSubDestinationSettingsProperty) { - cdkBuilder.dvbSubDestinationSettings(dvbSubDestinationSettings.let(DvbSubDestinationSettingsProperty::unwrap)) + cdkBuilder.dvbSubDestinationSettings(dvbSubDestinationSettings.let(DvbSubDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8518,7 +8633,7 @@ public open class CfnChannel( * @param ebuTtDDestinationSettings Settings for EBU-TT captions in the output. */ override fun ebuTtDDestinationSettings(ebuTtDDestinationSettings: IResolvable) { - cdkBuilder.ebuTtDDestinationSettings(ebuTtDDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.ebuTtDDestinationSettings(ebuTtDDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8526,7 +8641,7 @@ public open class CfnChannel( */ override fun ebuTtDDestinationSettings(ebuTtDDestinationSettings: EbuTtDDestinationSettingsProperty) { - cdkBuilder.ebuTtDDestinationSettings(ebuTtDDestinationSettings.let(EbuTtDDestinationSettingsProperty::unwrap)) + cdkBuilder.ebuTtDDestinationSettings(ebuTtDDestinationSettings.let(EbuTtDDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8544,7 +8659,7 @@ public open class CfnChannel( * output. */ override fun embeddedDestinationSettings(embeddedDestinationSettings: IResolvable) { - cdkBuilder.embeddedDestinationSettings(embeddedDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.embeddedDestinationSettings(embeddedDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8553,7 +8668,7 @@ public open class CfnChannel( */ override fun embeddedDestinationSettings(embeddedDestinationSettings: EmbeddedDestinationSettingsProperty) { - cdkBuilder.embeddedDestinationSettings(embeddedDestinationSettings.let(EmbeddedDestinationSettingsProperty::unwrap)) + cdkBuilder.embeddedDestinationSettings(embeddedDestinationSettings.let(EmbeddedDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8573,7 +8688,7 @@ public open class CfnChannel( */ override fun embeddedPlusScte20DestinationSettings(embeddedPlusScte20DestinationSettings: IResolvable) { - cdkBuilder.embeddedPlusScte20DestinationSettings(embeddedPlusScte20DestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.embeddedPlusScte20DestinationSettings(embeddedPlusScte20DestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8582,7 +8697,7 @@ public open class CfnChannel( */ override fun embeddedPlusScte20DestinationSettings(embeddedPlusScte20DestinationSettings: EmbeddedPlusScte20DestinationSettingsProperty) { - cdkBuilder.embeddedPlusScte20DestinationSettings(embeddedPlusScte20DestinationSettings.let(EmbeddedPlusScte20DestinationSettingsProperty::unwrap)) + cdkBuilder.embeddedPlusScte20DestinationSettings(embeddedPlusScte20DestinationSettings.let(EmbeddedPlusScte20DestinationSettingsProperty.Companion::unwrap)) } /** @@ -8602,7 +8717,7 @@ public open class CfnChannel( */ override fun rtmpCaptionInfoDestinationSettings(rtmpCaptionInfoDestinationSettings: IResolvable) { - cdkBuilder.rtmpCaptionInfoDestinationSettings(rtmpCaptionInfoDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.rtmpCaptionInfoDestinationSettings(rtmpCaptionInfoDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8611,7 +8726,7 @@ public open class CfnChannel( */ override fun rtmpCaptionInfoDestinationSettings(rtmpCaptionInfoDestinationSettings: RtmpCaptionInfoDestinationSettingsProperty) { - cdkBuilder.rtmpCaptionInfoDestinationSettings(rtmpCaptionInfoDestinationSettings.let(RtmpCaptionInfoDestinationSettingsProperty::unwrap)) + cdkBuilder.rtmpCaptionInfoDestinationSettings(rtmpCaptionInfoDestinationSettings.let(RtmpCaptionInfoDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8631,7 +8746,7 @@ public open class CfnChannel( */ override fun scte20PlusEmbeddedDestinationSettings(scte20PlusEmbeddedDestinationSettings: IResolvable) { - cdkBuilder.scte20PlusEmbeddedDestinationSettings(scte20PlusEmbeddedDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.scte20PlusEmbeddedDestinationSettings(scte20PlusEmbeddedDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8640,7 +8755,7 @@ public open class CfnChannel( */ override fun scte20PlusEmbeddedDestinationSettings(scte20PlusEmbeddedDestinationSettings: Scte20PlusEmbeddedDestinationSettingsProperty) { - cdkBuilder.scte20PlusEmbeddedDestinationSettings(scte20PlusEmbeddedDestinationSettings.let(Scte20PlusEmbeddedDestinationSettingsProperty::unwrap)) + cdkBuilder.scte20PlusEmbeddedDestinationSettings(scte20PlusEmbeddedDestinationSettings.let(Scte20PlusEmbeddedDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8659,7 +8774,7 @@ public open class CfnChannel( * output. */ override fun scte27DestinationSettings(scte27DestinationSettings: IResolvable) { - cdkBuilder.scte27DestinationSettings(scte27DestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.scte27DestinationSettings(scte27DestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8668,7 +8783,7 @@ public open class CfnChannel( */ override fun scte27DestinationSettings(scte27DestinationSettings: Scte27DestinationSettingsProperty) { - cdkBuilder.scte27DestinationSettings(scte27DestinationSettings.let(Scte27DestinationSettingsProperty::unwrap)) + cdkBuilder.scte27DestinationSettings(scte27DestinationSettings.let(Scte27DestinationSettingsProperty.Companion::unwrap)) } /** @@ -8687,7 +8802,7 @@ public open class CfnChannel( * output. */ override fun smpteTtDestinationSettings(smpteTtDestinationSettings: IResolvable) { - cdkBuilder.smpteTtDestinationSettings(smpteTtDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.smpteTtDestinationSettings(smpteTtDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8696,7 +8811,7 @@ public open class CfnChannel( */ override fun smpteTtDestinationSettings(smpteTtDestinationSettings: SmpteTtDestinationSettingsProperty) { - cdkBuilder.smpteTtDestinationSettings(smpteTtDestinationSettings.let(SmpteTtDestinationSettingsProperty::unwrap)) + cdkBuilder.smpteTtDestinationSettings(smpteTtDestinationSettings.let(SmpteTtDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8715,7 +8830,7 @@ public open class CfnChannel( * output. */ override fun teletextDestinationSettings(teletextDestinationSettings: IResolvable) { - cdkBuilder.teletextDestinationSettings(teletextDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.teletextDestinationSettings(teletextDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8724,7 +8839,7 @@ public open class CfnChannel( */ override fun teletextDestinationSettings(teletextDestinationSettings: TeletextDestinationSettingsProperty) { - cdkBuilder.teletextDestinationSettings(teletextDestinationSettings.let(TeletextDestinationSettingsProperty::unwrap)) + cdkBuilder.teletextDestinationSettings(teletextDestinationSettings.let(TeletextDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8742,7 +8857,7 @@ public open class CfnChannel( * @param ttmlDestinationSettings The configuration of one TTML captions encode in the output. */ override fun ttmlDestinationSettings(ttmlDestinationSettings: IResolvable) { - cdkBuilder.ttmlDestinationSettings(ttmlDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.ttmlDestinationSettings(ttmlDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8750,7 +8865,7 @@ public open class CfnChannel( */ override fun ttmlDestinationSettings(ttmlDestinationSettings: TtmlDestinationSettingsProperty) { - cdkBuilder.ttmlDestinationSettings(ttmlDestinationSettings.let(TtmlDestinationSettingsProperty::unwrap)) + cdkBuilder.ttmlDestinationSettings(ttmlDestinationSettings.let(TtmlDestinationSettingsProperty.Companion::unwrap)) } /** @@ -8767,7 +8882,7 @@ public open class CfnChannel( * output. */ override fun webvttDestinationSettings(webvttDestinationSettings: IResolvable) { - cdkBuilder.webvttDestinationSettings(webvttDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.webvttDestinationSettings(webvttDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -8776,7 +8891,7 @@ public open class CfnChannel( */ override fun webvttDestinationSettings(webvttDestinationSettings: WebvttDestinationSettingsProperty) { - cdkBuilder.webvttDestinationSettings(webvttDestinationSettings.let(WebvttDestinationSettingsProperty::unwrap)) + cdkBuilder.webvttDestinationSettings(webvttDestinationSettings.let(WebvttDestinationSettingsProperty.Companion::unwrap)) } /** @@ -9480,14 +9595,14 @@ public open class CfnChannel( * @param selectorSettings Information about the specific audio to extract from the input. */ override fun selectorSettings(selectorSettings: IResolvable) { - cdkBuilder.selectorSettings(selectorSettings.let(IResolvable::unwrap)) + cdkBuilder.selectorSettings(selectorSettings.let(IResolvable.Companion::unwrap)) } /** * @param selectorSettings Information about the specific audio to extract from the input. */ override fun selectorSettings(selectorSettings: CaptionSelectorSettingsProperty) { - cdkBuilder.selectorSettings(selectorSettings.let(CaptionSelectorSettingsProperty::unwrap)) + cdkBuilder.selectorSettings(selectorSettings.let(CaptionSelectorSettingsProperty.Companion::unwrap)) } /** @@ -9811,7 +9926,7 @@ public open class CfnChannel( * input. */ override fun ancillarySourceSettings(ancillarySourceSettings: IResolvable) { - cdkBuilder.ancillarySourceSettings(ancillarySourceSettings.let(IResolvable::unwrap)) + cdkBuilder.ancillarySourceSettings(ancillarySourceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -9820,7 +9935,7 @@ public open class CfnChannel( */ override fun ancillarySourceSettings(ancillarySourceSettings: AncillarySourceSettingsProperty) { - cdkBuilder.ancillarySourceSettings(ancillarySourceSettings.let(AncillarySourceSettingsProperty::unwrap)) + cdkBuilder.ancillarySourceSettings(ancillarySourceSettings.let(AncillarySourceSettingsProperty.Companion::unwrap)) } /** @@ -9837,14 +9952,14 @@ public open class CfnChannel( * @param aribSourceSettings Information about the ARIB captions to extract from the input. */ override fun aribSourceSettings(aribSourceSettings: IResolvable) { - cdkBuilder.aribSourceSettings(aribSourceSettings.let(IResolvable::unwrap)) + cdkBuilder.aribSourceSettings(aribSourceSettings.let(IResolvable.Companion::unwrap)) } /** * @param aribSourceSettings Information about the ARIB captions to extract from the input. */ override fun aribSourceSettings(aribSourceSettings: AribSourceSettingsProperty) { - cdkBuilder.aribSourceSettings(aribSourceSettings.let(AribSourceSettingsProperty::unwrap)) + cdkBuilder.aribSourceSettings(aribSourceSettings.let(AribSourceSettingsProperty.Companion::unwrap)) } /** @@ -9861,7 +9976,7 @@ public open class CfnChannel( * input. */ override fun dvbSubSourceSettings(dvbSubSourceSettings: IResolvable) { - cdkBuilder.dvbSubSourceSettings(dvbSubSourceSettings.let(IResolvable::unwrap)) + cdkBuilder.dvbSubSourceSettings(dvbSubSourceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -9869,7 +9984,7 @@ public open class CfnChannel( * input. */ override fun dvbSubSourceSettings(dvbSubSourceSettings: DvbSubSourceSettingsProperty) { - cdkBuilder.dvbSubSourceSettings(dvbSubSourceSettings.let(DvbSubSourceSettingsProperty::unwrap)) + cdkBuilder.dvbSubSourceSettings(dvbSubSourceSettings.let(DvbSubSourceSettingsProperty.Companion::unwrap)) } /** @@ -9887,7 +10002,7 @@ public open class CfnChannel( * input. */ override fun embeddedSourceSettings(embeddedSourceSettings: IResolvable) { - cdkBuilder.embeddedSourceSettings(embeddedSourceSettings.let(IResolvable::unwrap)) + cdkBuilder.embeddedSourceSettings(embeddedSourceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -9895,7 +10010,7 @@ public open class CfnChannel( * input. */ override fun embeddedSourceSettings(embeddedSourceSettings: EmbeddedSourceSettingsProperty) { - cdkBuilder.embeddedSourceSettings(embeddedSourceSettings.let(EmbeddedSourceSettingsProperty::unwrap)) + cdkBuilder.embeddedSourceSettings(embeddedSourceSettings.let(EmbeddedSourceSettingsProperty.Companion::unwrap)) } /** @@ -9913,7 +10028,7 @@ public open class CfnChannel( * input. */ override fun scte20SourceSettings(scte20SourceSettings: IResolvable) { - cdkBuilder.scte20SourceSettings(scte20SourceSettings.let(IResolvable::unwrap)) + cdkBuilder.scte20SourceSettings(scte20SourceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -9921,7 +10036,7 @@ public open class CfnChannel( * input. */ override fun scte20SourceSettings(scte20SourceSettings: Scte20SourceSettingsProperty) { - cdkBuilder.scte20SourceSettings(scte20SourceSettings.let(Scte20SourceSettingsProperty::unwrap)) + cdkBuilder.scte20SourceSettings(scte20SourceSettings.let(Scte20SourceSettingsProperty.Companion::unwrap)) } /** @@ -9939,7 +10054,7 @@ public open class CfnChannel( * input. */ override fun scte27SourceSettings(scte27SourceSettings: IResolvable) { - cdkBuilder.scte27SourceSettings(scte27SourceSettings.let(IResolvable::unwrap)) + cdkBuilder.scte27SourceSettings(scte27SourceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -9947,7 +10062,7 @@ public open class CfnChannel( * input. */ override fun scte27SourceSettings(scte27SourceSettings: Scte27SourceSettingsProperty) { - cdkBuilder.scte27SourceSettings(scte27SourceSettings.let(Scte27SourceSettingsProperty::unwrap)) + cdkBuilder.scte27SourceSettings(scte27SourceSettings.let(Scte27SourceSettingsProperty.Companion::unwrap)) } /** @@ -9965,7 +10080,7 @@ public open class CfnChannel( * input. */ override fun teletextSourceSettings(teletextSourceSettings: IResolvable) { - cdkBuilder.teletextSourceSettings(teletextSourceSettings.let(IResolvable::unwrap)) + cdkBuilder.teletextSourceSettings(teletextSourceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -9973,7 +10088,7 @@ public open class CfnChannel( * input. */ override fun teletextSourceSettings(teletextSourceSettings: TeletextSourceSettingsProperty) { - cdkBuilder.teletextSourceSettings(teletextSourceSettings.let(TeletextSourceSettingsProperty::unwrap)) + cdkBuilder.teletextSourceSettings(teletextSourceSettings.let(TeletextSourceSettingsProperty.Companion::unwrap)) } /** @@ -10150,6 +10265,304 @@ public open class CfnChannel( } } + /** + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.medialive.*; + * CmafIngestGroupSettingsProperty cmafIngestGroupSettingsProperty = + * CmafIngestGroupSettingsProperty.builder() + * .destination(OutputLocationRefProperty.builder() + * .destinationRefId("destinationRefId") + * .build()) + * .nielsenId3Behavior("nielsenId3Behavior") + * .scte35Type("scte35Type") + * .segmentLength(123) + * .segmentLengthUnits("segmentLengthUnits") + * .sendDelayMs(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html) + */ + public interface CmafIngestGroupSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-destination) + */ + public fun destination(): Any? = unwrap(this).getDestination() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-nielsenid3behavior) + */ + public fun nielsenId3Behavior(): String? = unwrap(this).getNielsenId3Behavior() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-scte35type) + */ + public fun scte35Type(): String? = unwrap(this).getScte35Type() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-segmentlength) + */ + public fun segmentLength(): Number? = unwrap(this).getSegmentLength() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-segmentlengthunits) + */ + public fun segmentLengthUnits(): String? = unwrap(this).getSegmentLengthUnits() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-senddelayms) + */ + public fun sendDelayMs(): Number? = unwrap(this).getSendDelayMs() + + /** + * A builder for [CmafIngestGroupSettingsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param destination the value to be set. + */ + public fun destination(destination: IResolvable) + + /** + * @param destination the value to be set. + */ + public fun destination(destination: OutputLocationRefProperty) + + /** + * @param destination the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f0cc3521bd9c322b62fa4f4ac2fcb90ec21589f994980940ddb23e8c1f1e3f24") + public fun destination(destination: OutputLocationRefProperty.Builder.() -> Unit) + + /** + * @param nielsenId3Behavior the value to be set. + */ + public fun nielsenId3Behavior(nielsenId3Behavior: String) + + /** + * @param scte35Type the value to be set. + */ + public fun scte35Type(scte35Type: String) + + /** + * @param segmentLength the value to be set. + */ + public fun segmentLength(segmentLength: Number) + + /** + * @param segmentLengthUnits the value to be set. + */ + public fun segmentLengthUnits(segmentLengthUnits: String) + + /** + * @param sendDelayMs the value to be set. + */ + public fun sendDelayMs(sendDelayMs: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty.Builder + = + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty.builder() + + /** + * @param destination the value to be set. + */ + override fun destination(destination: IResolvable) { + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) + } + + /** + * @param destination the value to be set. + */ + override fun destination(destination: OutputLocationRefProperty) { + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) + } + + /** + * @param destination the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f0cc3521bd9c322b62fa4f4ac2fcb90ec21589f994980940ddb23e8c1f1e3f24") + override fun destination(destination: OutputLocationRefProperty.Builder.() -> Unit): Unit = + destination(OutputLocationRefProperty(destination)) + + /** + * @param nielsenId3Behavior the value to be set. + */ + override fun nielsenId3Behavior(nielsenId3Behavior: String) { + cdkBuilder.nielsenId3Behavior(nielsenId3Behavior) + } + + /** + * @param scte35Type the value to be set. + */ + override fun scte35Type(scte35Type: String) { + cdkBuilder.scte35Type(scte35Type) + } + + /** + * @param segmentLength the value to be set. + */ + override fun segmentLength(segmentLength: Number) { + cdkBuilder.segmentLength(segmentLength) + } + + /** + * @param segmentLengthUnits the value to be set. + */ + override fun segmentLengthUnits(segmentLengthUnits: String) { + cdkBuilder.segmentLengthUnits(segmentLengthUnits) + } + + /** + * @param sendDelayMs the value to be set. + */ + override fun sendDelayMs(sendDelayMs: Number) { + cdkBuilder.sendDelayMs(sendDelayMs) + } + + public fun build(): + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty, + ) : CdkObject(cdkObject), CmafIngestGroupSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-destination) + */ + override fun destination(): Any? = unwrap(this).getDestination() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-nielsenid3behavior) + */ + override fun nielsenId3Behavior(): String? = unwrap(this).getNielsenId3Behavior() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-scte35type) + */ + override fun scte35Type(): String? = unwrap(this).getScte35Type() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-segmentlength) + */ + override fun segmentLength(): Number? = unwrap(this).getSegmentLength() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-segmentlengthunits) + */ + override fun segmentLengthUnits(): String? = unwrap(this).getSegmentLengthUnits() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestgroupsettings.html#cfn-medialive-channel-cmafingestgroupsettings-senddelayms) + */ + override fun sendDelayMs(): Number? = unwrap(this).getSendDelayMs() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CmafIngestGroupSettingsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty): + CmafIngestGroupSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? + CmafIngestGroupSettingsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CmafIngestGroupSettingsProperty): + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestGroupSettingsProperty + } + } + + /** + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.medialive.*; + * CmafIngestOutputSettingsProperty cmafIngestOutputSettingsProperty = + * CmafIngestOutputSettingsProperty.builder() + * .nameModifier("nameModifier") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestoutputsettings.html) + */ + public interface CmafIngestOutputSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestoutputsettings.html#cfn-medialive-channel-cmafingestoutputsettings-namemodifier) + */ + public fun nameModifier(): String? = unwrap(this).getNameModifier() + + /** + * A builder for [CmafIngestOutputSettingsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param nameModifier the value to be set. + */ + public fun nameModifier(nameModifier: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty.Builder + = + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty.builder() + + /** + * @param nameModifier the value to be set. + */ + override fun nameModifier(nameModifier: String) { + cdkBuilder.nameModifier(nameModifier) + } + + public fun build(): + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty, + ) : CdkObject(cdkObject), CmafIngestOutputSettingsProperty { + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cmafingestoutputsettings.html#cfn-medialive-channel-cmafingestoutputsettings-namemodifier) + */ + override fun nameModifier(): String? = unwrap(this).getNameModifier() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CmafIngestOutputSettingsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty): + CmafIngestOutputSettingsProperty = CdkObjectWrappers.wrap(cdkObject) as? + CmafIngestOutputSettingsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CmafIngestOutputSettingsProperty): + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.medialive.CfnChannel.CmafIngestOutputSettingsProperty + } + } + /** * Example: * @@ -10327,7 +10740,7 @@ public open class CfnChannel( * @param globalColorCorrections the value to be set. */ override fun globalColorCorrections(globalColorCorrections: IResolvable) { - cdkBuilder.globalColorCorrections(globalColorCorrections.let(IResolvable::unwrap)) + cdkBuilder.globalColorCorrections(globalColorCorrections.let(IResolvable.Companion::unwrap)) } /** @@ -11267,7 +11680,7 @@ public open class CfnChannel( * proportional fonts. All burn-in and DVB-Sub font settings must match. */ override fun font(font: IResolvable) { - cdkBuilder.font(font.let(IResolvable::unwrap)) + cdkBuilder.font(font.let(IResolvable.Companion::unwrap)) } /** @@ -11278,7 +11691,7 @@ public open class CfnChannel( * proportional fonts. All burn-in and DVB-Sub font settings must match. */ override fun font(font: InputLocationProperty) { - cdkBuilder.font(font.let(InputLocationProperty::unwrap)) + cdkBuilder.font(font.let(InputLocationProperty.Companion::unwrap)) } /** @@ -13700,7 +14113,7 @@ public open class CfnChannel( * @param audioDescriptions The encoding information for output audio. */ override fun audioDescriptions(audioDescriptions: IResolvable) { - cdkBuilder.audioDescriptions(audioDescriptions.let(IResolvable::unwrap)) + cdkBuilder.audioDescriptions(audioDescriptions.let(IResolvable.Companion::unwrap)) } /** @@ -13720,14 +14133,14 @@ public open class CfnChannel( * @param availBlanking The settings for ad avail blanking. */ override fun availBlanking(availBlanking: IResolvable) { - cdkBuilder.availBlanking(availBlanking.let(IResolvable::unwrap)) + cdkBuilder.availBlanking(availBlanking.let(IResolvable.Companion::unwrap)) } /** * @param availBlanking The settings for ad avail blanking. */ override fun availBlanking(availBlanking: AvailBlankingProperty) { - cdkBuilder.availBlanking(availBlanking.let(AvailBlankingProperty::unwrap)) + cdkBuilder.availBlanking(availBlanking.let(AvailBlankingProperty.Companion::unwrap)) } /** @@ -13742,14 +14155,14 @@ public open class CfnChannel( * @param availConfiguration The configuration settings for the ad avail handling. */ override fun availConfiguration(availConfiguration: IResolvable) { - cdkBuilder.availConfiguration(availConfiguration.let(IResolvable::unwrap)) + cdkBuilder.availConfiguration(availConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param availConfiguration The configuration settings for the ad avail handling. */ override fun availConfiguration(availConfiguration: AvailConfigurationProperty) { - cdkBuilder.availConfiguration(availConfiguration.let(AvailConfigurationProperty::unwrap)) + cdkBuilder.availConfiguration(availConfiguration.let(AvailConfigurationProperty.Companion::unwrap)) } /** @@ -13765,14 +14178,14 @@ public open class CfnChannel( * @param blackoutSlate The settings for the blackout slate. */ override fun blackoutSlate(blackoutSlate: IResolvable) { - cdkBuilder.blackoutSlate(blackoutSlate.let(IResolvable::unwrap)) + cdkBuilder.blackoutSlate(blackoutSlate.let(IResolvable.Companion::unwrap)) } /** * @param blackoutSlate The settings for the blackout slate. */ override fun blackoutSlate(blackoutSlate: BlackoutSlateProperty) { - cdkBuilder.blackoutSlate(blackoutSlate.let(BlackoutSlateProperty::unwrap)) + cdkBuilder.blackoutSlate(blackoutSlate.let(BlackoutSlateProperty.Companion::unwrap)) } /** @@ -13787,7 +14200,7 @@ public open class CfnChannel( * @param captionDescriptions The encoding information for output captions. */ override fun captionDescriptions(captionDescriptions: IResolvable) { - cdkBuilder.captionDescriptions(captionDescriptions.let(IResolvable::unwrap)) + cdkBuilder.captionDescriptions(captionDescriptions.let(IResolvable.Companion::unwrap)) } /** @@ -13807,7 +14220,7 @@ public open class CfnChannel( * @param colorCorrectionSettings the value to be set. */ override fun colorCorrectionSettings(colorCorrectionSettings: IResolvable) { - cdkBuilder.colorCorrectionSettings(colorCorrectionSettings.let(IResolvable::unwrap)) + cdkBuilder.colorCorrectionSettings(colorCorrectionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -13815,7 +14228,7 @@ public open class CfnChannel( */ override fun colorCorrectionSettings(colorCorrectionSettings: ColorCorrectionSettingsProperty) { - cdkBuilder.colorCorrectionSettings(colorCorrectionSettings.let(ColorCorrectionSettingsProperty::unwrap)) + cdkBuilder.colorCorrectionSettings(colorCorrectionSettings.let(ColorCorrectionSettingsProperty.Companion::unwrap)) } /** @@ -13831,14 +14244,14 @@ public open class CfnChannel( * @param featureActivations Settings to enable specific features. */ override fun featureActivations(featureActivations: IResolvable) { - cdkBuilder.featureActivations(featureActivations.let(IResolvable::unwrap)) + cdkBuilder.featureActivations(featureActivations.let(IResolvable.Companion::unwrap)) } /** * @param featureActivations Settings to enable specific features. */ override fun featureActivations(featureActivations: FeatureActivationsProperty) { - cdkBuilder.featureActivations(featureActivations.let(FeatureActivationsProperty::unwrap)) + cdkBuilder.featureActivations(featureActivations.let(FeatureActivationsProperty.Companion::unwrap)) } /** @@ -13854,14 +14267,14 @@ public open class CfnChannel( * @param globalConfiguration The configuration settings that apply to the entire channel. */ override fun globalConfiguration(globalConfiguration: IResolvable) { - cdkBuilder.globalConfiguration(globalConfiguration.let(IResolvable::unwrap)) + cdkBuilder.globalConfiguration(globalConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param globalConfiguration The configuration settings that apply to the entire channel. */ override fun globalConfiguration(globalConfiguration: GlobalConfigurationProperty) { - cdkBuilder.globalConfiguration(globalConfiguration.let(GlobalConfigurationProperty::unwrap)) + cdkBuilder.globalConfiguration(globalConfiguration.let(GlobalConfigurationProperty.Companion::unwrap)) } /** @@ -13878,7 +14291,7 @@ public open class CfnChannel( * overlay feature in the channel. */ override fun motionGraphicsConfiguration(motionGraphicsConfiguration: IResolvable) { - cdkBuilder.motionGraphicsConfiguration(motionGraphicsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.motionGraphicsConfiguration(motionGraphicsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -13887,7 +14300,7 @@ public open class CfnChannel( */ override fun motionGraphicsConfiguration(motionGraphicsConfiguration: MotionGraphicsConfigurationProperty) { - cdkBuilder.motionGraphicsConfiguration(motionGraphicsConfiguration.let(MotionGraphicsConfigurationProperty::unwrap)) + cdkBuilder.motionGraphicsConfiguration(motionGraphicsConfiguration.let(MotionGraphicsConfigurationProperty.Companion::unwrap)) } /** @@ -13905,14 +14318,14 @@ public open class CfnChannel( * @param nielsenConfiguration The settings to configure Nielsen watermarks. */ override fun nielsenConfiguration(nielsenConfiguration: IResolvable) { - cdkBuilder.nielsenConfiguration(nielsenConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nielsenConfiguration(nielsenConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param nielsenConfiguration The settings to configure Nielsen watermarks. */ override fun nielsenConfiguration(nielsenConfiguration: NielsenConfigurationProperty) { - cdkBuilder.nielsenConfiguration(nielsenConfiguration.let(NielsenConfigurationProperty::unwrap)) + cdkBuilder.nielsenConfiguration(nielsenConfiguration.let(NielsenConfigurationProperty.Companion::unwrap)) } /** @@ -13928,7 +14341,7 @@ public open class CfnChannel( * @param outputGroups The settings for the output groups in the channel. */ override fun outputGroups(outputGroups: IResolvable) { - cdkBuilder.outputGroups(outputGroups.let(IResolvable::unwrap)) + cdkBuilder.outputGroups(outputGroups.let(IResolvable.Companion::unwrap)) } /** @@ -13948,14 +14361,14 @@ public open class CfnChannel( * @param thumbnailConfiguration the value to be set. */ override fun thumbnailConfiguration(thumbnailConfiguration: IResolvable) { - cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(IResolvable::unwrap)) + cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param thumbnailConfiguration the value to be set. */ override fun thumbnailConfiguration(thumbnailConfiguration: ThumbnailConfigurationProperty) { - cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(ThumbnailConfigurationProperty::unwrap)) + cdkBuilder.thumbnailConfiguration(thumbnailConfiguration.let(ThumbnailConfigurationProperty.Companion::unwrap)) } /** @@ -13972,7 +14385,7 @@ public open class CfnChannel( * from the inputs. */ override fun timecodeConfig(timecodeConfig: IResolvable) { - cdkBuilder.timecodeConfig(timecodeConfig.let(IResolvable::unwrap)) + cdkBuilder.timecodeConfig(timecodeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -13980,7 +14393,7 @@ public open class CfnChannel( * from the inputs. */ override fun timecodeConfig(timecodeConfig: TimecodeConfigProperty) { - cdkBuilder.timecodeConfig(timecodeConfig.let(TimecodeConfigProperty::unwrap)) + cdkBuilder.timecodeConfig(timecodeConfig.let(TimecodeConfigProperty.Companion::unwrap)) } /** @@ -13996,7 +14409,7 @@ public open class CfnChannel( * @param videoDescriptions The encoding information for output videos. */ override fun videoDescriptions(videoDescriptions: IResolvable) { - cdkBuilder.videoDescriptions(videoDescriptions.let(IResolvable::unwrap)) + cdkBuilder.videoDescriptions(videoDescriptions.let(IResolvable.Companion::unwrap)) } /** @@ -14494,7 +14907,7 @@ public open class CfnChannel( * @param failoverConditionSettings Settings for a specific failover condition. */ override fun failoverConditionSettings(failoverConditionSettings: IResolvable) { - cdkBuilder.failoverConditionSettings(failoverConditionSettings.let(IResolvable::unwrap)) + cdkBuilder.failoverConditionSettings(failoverConditionSettings.let(IResolvable.Companion::unwrap)) } /** @@ -14502,7 +14915,7 @@ public open class CfnChannel( */ override fun failoverConditionSettings(failoverConditionSettings: FailoverConditionSettingsProperty) { - cdkBuilder.failoverConditionSettings(failoverConditionSettings.let(FailoverConditionSettingsProperty::unwrap)) + cdkBuilder.failoverConditionSettings(failoverConditionSettings.let(FailoverConditionSettingsProperty.Companion::unwrap)) } /** @@ -14682,7 +15095,7 @@ public open class CfnChannel( * selector is silent for the specified period. */ override fun audioSilenceSettings(audioSilenceSettings: IResolvable) { - cdkBuilder.audioSilenceSettings(audioSilenceSettings.let(IResolvable::unwrap)) + cdkBuilder.audioSilenceSettings(audioSilenceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -14691,7 +15104,7 @@ public open class CfnChannel( */ override fun audioSilenceSettings(audioSilenceSettings: AudioSilenceFailoverSettingsProperty) { - cdkBuilder.audioSilenceSettings(audioSilenceSettings.let(AudioSilenceFailoverSettingsProperty::unwrap)) + cdkBuilder.audioSilenceSettings(audioSilenceSettings.let(AudioSilenceFailoverSettingsProperty.Companion::unwrap)) } /** @@ -14709,7 +15122,7 @@ public open class CfnChannel( * this input for the specified period. */ override fun inputLossSettings(inputLossSettings: IResolvable) { - cdkBuilder.inputLossSettings(inputLossSettings.let(IResolvable::unwrap)) + cdkBuilder.inputLossSettings(inputLossSettings.let(IResolvable.Companion::unwrap)) } /** @@ -14717,7 +15130,7 @@ public open class CfnChannel( * this input for the specified period. */ override fun inputLossSettings(inputLossSettings: InputLossFailoverSettingsProperty) { - cdkBuilder.inputLossSettings(inputLossSettings.let(InputLossFailoverSettingsProperty::unwrap)) + cdkBuilder.inputLossSettings(inputLossSettings.let(InputLossFailoverSettingsProperty.Companion::unwrap)) } /** @@ -14735,7 +15148,7 @@ public open class CfnChannel( * for the specified period. */ override fun videoBlackSettings(videoBlackSettings: IResolvable) { - cdkBuilder.videoBlackSettings(videoBlackSettings.let(IResolvable::unwrap)) + cdkBuilder.videoBlackSettings(videoBlackSettings.let(IResolvable.Companion::unwrap)) } /** @@ -14743,7 +15156,7 @@ public open class CfnChannel( * for the specified period. */ override fun videoBlackSettings(videoBlackSettings: VideoBlackFailoverSettingsProperty) { - cdkBuilder.videoBlackSettings(videoBlackSettings.let(VideoBlackFailoverSettingsProperty::unwrap)) + cdkBuilder.videoBlackSettings(videoBlackSettings.let(VideoBlackFailoverSettingsProperty.Companion::unwrap)) } /** @@ -15321,7 +15734,7 @@ public open class CfnChannel( * output. */ override fun frameCaptureS3Settings(frameCaptureS3Settings: IResolvable) { - cdkBuilder.frameCaptureS3Settings(frameCaptureS3Settings.let(IResolvable::unwrap)) + cdkBuilder.frameCaptureS3Settings(frameCaptureS3Settings.let(IResolvable.Companion::unwrap)) } /** @@ -15329,7 +15742,7 @@ public open class CfnChannel( * output. */ override fun frameCaptureS3Settings(frameCaptureS3Settings: FrameCaptureS3SettingsProperty) { - cdkBuilder.frameCaptureS3Settings(frameCaptureS3Settings.let(FrameCaptureS3SettingsProperty::unwrap)) + cdkBuilder.frameCaptureS3Settings(frameCaptureS3Settings.let(FrameCaptureS3SettingsProperty.Companion::unwrap)) } /** @@ -15502,7 +15915,7 @@ public open class CfnChannel( * starting from 00001) + extension (which is always .jpg). For example, curlingLow.00001.jpg. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -15515,7 +15928,7 @@ public open class CfnChannel( * starting from 00001) + extension (which is always .jpg). For example, curlingLow.00001.jpg. */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -15537,7 +15950,7 @@ public open class CfnChannel( * output. */ override fun frameCaptureCdnSettings(frameCaptureCdnSettings: IResolvable) { - cdkBuilder.frameCaptureCdnSettings(frameCaptureCdnSettings.let(IResolvable::unwrap)) + cdkBuilder.frameCaptureCdnSettings(frameCaptureCdnSettings.let(IResolvable.Companion::unwrap)) } /** @@ -15546,7 +15959,7 @@ public open class CfnChannel( */ override fun frameCaptureCdnSettings(frameCaptureCdnSettings: FrameCaptureCdnSettingsProperty) { - cdkBuilder.frameCaptureCdnSettings(frameCaptureCdnSettings.let(FrameCaptureCdnSettingsProperty::unwrap)) + cdkBuilder.frameCaptureCdnSettings(frameCaptureCdnSettings.let(FrameCaptureCdnSettingsProperty.Companion::unwrap)) } /** @@ -15953,14 +16366,14 @@ public open class CfnChannel( * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: IResolvable) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable.Companion::unwrap)) } /** * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: TimecodeBurninSettingsProperty) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty.Companion::unwrap)) } /** @@ -16229,14 +16642,14 @@ public open class CfnChannel( * @param inputLossBehavior The settings for system actions when the input is lost. */ override fun inputLossBehavior(inputLossBehavior: IResolvable) { - cdkBuilder.inputLossBehavior(inputLossBehavior.let(IResolvable::unwrap)) + cdkBuilder.inputLossBehavior(inputLossBehavior.let(IResolvable.Companion::unwrap)) } /** * @param inputLossBehavior The settings for system actions when the input is lost. */ override fun inputLossBehavior(inputLossBehavior: InputLossBehaviorProperty) { - cdkBuilder.inputLossBehavior(inputLossBehavior.let(InputLossBehaviorProperty::unwrap)) + cdkBuilder.inputLossBehavior(inputLossBehavior.let(InputLossBehaviorProperty.Companion::unwrap)) } /** @@ -16262,14 +16675,14 @@ public open class CfnChannel( * @param outputLockingSettings the value to be set. */ override fun outputLockingSettings(outputLockingSettings: IResolvable) { - cdkBuilder.outputLockingSettings(outputLockingSettings.let(IResolvable::unwrap)) + cdkBuilder.outputLockingSettings(outputLockingSettings.let(IResolvable.Companion::unwrap)) } /** * @param outputLockingSettings the value to be set. */ override fun outputLockingSettings(outputLockingSettings: OutputLockingSettingsProperty) { - cdkBuilder.outputLockingSettings(outputLockingSettings.let(OutputLockingSettingsProperty::unwrap)) + cdkBuilder.outputLockingSettings(outputLockingSettings.let(OutputLockingSettingsProperty.Companion::unwrap)) } /** @@ -16507,7 +16920,7 @@ public open class CfnChannel( * output. */ override fun colorSpacePassthroughSettings(colorSpacePassthroughSettings: IResolvable) { - cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(IResolvable::unwrap)) + cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(IResolvable.Companion::unwrap)) } /** @@ -16516,7 +16929,7 @@ public open class CfnChannel( */ override fun colorSpacePassthroughSettings(colorSpacePassthroughSettings: ColorSpacePassthroughSettingsProperty) { - cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(ColorSpacePassthroughSettingsProperty::unwrap)) + cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(ColorSpacePassthroughSettingsProperty.Companion::unwrap)) } /** @@ -16534,14 +16947,14 @@ public open class CfnChannel( * @param rec601Settings Settings to configure the handling of Rec601 color space. */ override fun rec601Settings(rec601Settings: IResolvable) { - cdkBuilder.rec601Settings(rec601Settings.let(IResolvable::unwrap)) + cdkBuilder.rec601Settings(rec601Settings.let(IResolvable.Companion::unwrap)) } /** * @param rec601Settings Settings to configure the handling of Rec601 color space. */ override fun rec601Settings(rec601Settings: Rec601SettingsProperty) { - cdkBuilder.rec601Settings(rec601Settings.let(Rec601SettingsProperty::unwrap)) + cdkBuilder.rec601Settings(rec601Settings.let(Rec601SettingsProperty.Companion::unwrap)) } /** @@ -16556,14 +16969,14 @@ public open class CfnChannel( * @param rec709Settings Settings to configure the handling of Rec709 color space. */ override fun rec709Settings(rec709Settings: IResolvable) { - cdkBuilder.rec709Settings(rec709Settings.let(IResolvable::unwrap)) + cdkBuilder.rec709Settings(rec709Settings.let(IResolvable.Companion::unwrap)) } /** * @param rec709Settings Settings to configure the handling of Rec709 color space. */ override fun rec709Settings(rec709Settings: Rec709SettingsProperty) { - cdkBuilder.rec709Settings(rec709Settings.let(Rec709SettingsProperty::unwrap)) + cdkBuilder.rec709Settings(rec709Settings.let(Rec709SettingsProperty.Companion::unwrap)) } /** @@ -16685,14 +17098,14 @@ public open class CfnChannel( * @param temporalFilterSettings Settings for applying the temporal filter to the video. */ override fun temporalFilterSettings(temporalFilterSettings: IResolvable) { - cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(IResolvable::unwrap)) + cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(IResolvable.Companion::unwrap)) } /** * @param temporalFilterSettings Settings for applying the temporal filter to the video. */ override fun temporalFilterSettings(temporalFilterSettings: TemporalFilterSettingsProperty) { - cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(TemporalFilterSettingsProperty::unwrap)) + cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(TemporalFilterSettingsProperty.Companion::unwrap)) } /** @@ -17575,14 +17988,14 @@ public open class CfnChannel( * @param colorSpaceSettings Settings to configure the color space handling for the video. */ override fun colorSpaceSettings(colorSpaceSettings: IResolvable) { - cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(IResolvable::unwrap)) + cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(IResolvable.Companion::unwrap)) } /** * @param colorSpaceSettings Settings to configure the color space handling for the video. */ override fun colorSpaceSettings(colorSpaceSettings: H264ColorSpaceSettingsProperty) { - cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(H264ColorSpaceSettingsProperty::unwrap)) + cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(H264ColorSpaceSettingsProperty.Companion::unwrap)) } /** @@ -17606,14 +18019,14 @@ public open class CfnChannel( * @param filterSettings Optional filters that you can apply to an encode. */ override fun filterSettings(filterSettings: IResolvable) { - cdkBuilder.filterSettings(filterSettings.let(IResolvable::unwrap)) + cdkBuilder.filterSettings(filterSettings.let(IResolvable.Companion::unwrap)) } /** * @param filterSettings Optional filters that you can apply to an encode. */ override fun filterSettings(filterSettings: H264FilterSettingsProperty) { - cdkBuilder.filterSettings(filterSettings.let(H264FilterSettingsProperty::unwrap)) + cdkBuilder.filterSettings(filterSettings.let(H264FilterSettingsProperty.Companion::unwrap)) } /** @@ -17904,14 +18317,14 @@ public open class CfnChannel( * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: IResolvable) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable.Companion::unwrap)) } /** * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: TimecodeBurninSettingsProperty) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty.Companion::unwrap)) } /** @@ -18509,7 +18922,7 @@ public open class CfnChannel( * output. */ override fun colorSpacePassthroughSettings(colorSpacePassthroughSettings: IResolvable) { - cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(IResolvable::unwrap)) + cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(IResolvable.Companion::unwrap)) } /** @@ -18518,7 +18931,7 @@ public open class CfnChannel( */ override fun colorSpacePassthroughSettings(colorSpacePassthroughSettings: ColorSpacePassthroughSettingsProperty) { - cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(ColorSpacePassthroughSettingsProperty::unwrap)) + cdkBuilder.colorSpacePassthroughSettings(colorSpacePassthroughSettings.let(ColorSpacePassthroughSettingsProperty.Companion::unwrap)) } /** @@ -18536,14 +18949,14 @@ public open class CfnChannel( * @param dolbyVision81Settings the value to be set. */ override fun dolbyVision81Settings(dolbyVision81Settings: IResolvable) { - cdkBuilder.dolbyVision81Settings(dolbyVision81Settings.let(IResolvable::unwrap)) + cdkBuilder.dolbyVision81Settings(dolbyVision81Settings.let(IResolvable.Companion::unwrap)) } /** * @param dolbyVision81Settings the value to be set. */ override fun dolbyVision81Settings(dolbyVision81Settings: DolbyVision81SettingsProperty) { - cdkBuilder.dolbyVision81Settings(dolbyVision81Settings.let(DolbyVision81SettingsProperty::unwrap)) + cdkBuilder.dolbyVision81Settings(dolbyVision81Settings.let(DolbyVision81SettingsProperty.Companion::unwrap)) } /** @@ -18559,14 +18972,14 @@ public open class CfnChannel( * @param hdr10Settings Settings to configure the handling of HDR10 color space. */ override fun hdr10Settings(hdr10Settings: IResolvable) { - cdkBuilder.hdr10Settings(hdr10Settings.let(IResolvable::unwrap)) + cdkBuilder.hdr10Settings(hdr10Settings.let(IResolvable.Companion::unwrap)) } /** * @param hdr10Settings Settings to configure the handling of HDR10 color space. */ override fun hdr10Settings(hdr10Settings: Hdr10SettingsProperty) { - cdkBuilder.hdr10Settings(hdr10Settings.let(Hdr10SettingsProperty::unwrap)) + cdkBuilder.hdr10Settings(hdr10Settings.let(Hdr10SettingsProperty.Companion::unwrap)) } /** @@ -18581,14 +18994,14 @@ public open class CfnChannel( * @param rec601Settings Settings to configure the handling of Rec601 color space. */ override fun rec601Settings(rec601Settings: IResolvable) { - cdkBuilder.rec601Settings(rec601Settings.let(IResolvable::unwrap)) + cdkBuilder.rec601Settings(rec601Settings.let(IResolvable.Companion::unwrap)) } /** * @param rec601Settings Settings to configure the handling of Rec601 color space. */ override fun rec601Settings(rec601Settings: Rec601SettingsProperty) { - cdkBuilder.rec601Settings(rec601Settings.let(Rec601SettingsProperty::unwrap)) + cdkBuilder.rec601Settings(rec601Settings.let(Rec601SettingsProperty.Companion::unwrap)) } /** @@ -18603,14 +19016,14 @@ public open class CfnChannel( * @param rec709Settings Settings to configure the handling of Rec709 color space. */ override fun rec709Settings(rec709Settings: IResolvable) { - cdkBuilder.rec709Settings(rec709Settings.let(IResolvable::unwrap)) + cdkBuilder.rec709Settings(rec709Settings.let(IResolvable.Companion::unwrap)) } /** * @param rec709Settings Settings to configure the handling of Rec709 color space. */ override fun rec709Settings(rec709Settings: Rec709SettingsProperty) { - cdkBuilder.rec709Settings(rec709Settings.let(Rec709SettingsProperty::unwrap)) + cdkBuilder.rec709Settings(rec709Settings.let(Rec709SettingsProperty.Companion::unwrap)) } /** @@ -18744,14 +19157,14 @@ public open class CfnChannel( * @param temporalFilterSettings Settings for applying the temporal filter to the video. */ override fun temporalFilterSettings(temporalFilterSettings: IResolvable) { - cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(IResolvable::unwrap)) + cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(IResolvable.Companion::unwrap)) } /** * @param temporalFilterSettings Settings for applying the temporal filter to the video. */ override fun temporalFilterSettings(temporalFilterSettings: TemporalFilterSettingsProperty) { - cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(TemporalFilterSettingsProperty::unwrap)) + cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(TemporalFilterSettingsProperty.Companion::unwrap)) } /** @@ -18842,6 +19255,8 @@ public open class CfnChannel( * .lookAheadRateControl("lookAheadRateControl") * .maxBitrate(123) * .minIInterval(123) + * .mvOverPictureBoundaries("mvOverPictureBoundaries") + * .mvTemporalPredictor("mvTemporalPredictor") * .parDenominator(123) * .parNumerator(123) * .profile("profile") @@ -18851,12 +19266,16 @@ public open class CfnChannel( * .sceneChangeDetect("sceneChangeDetect") * .slices(123) * .tier("tier") + * .tileHeight(123) + * .tilePadding("tilePadding") + * .tileWidth(123) * .timecodeBurninSettings(TimecodeBurninSettingsProperty.builder() * .fontSize("fontSize") * .position("position") * .prefix("prefix") * .build()) * .timecodeInsertion("timecodeInsertion") + * .treeblockSize("treeblockSize") * .build(); * ``` * @@ -19030,6 +19449,16 @@ public open class CfnChannel( */ public fun minIInterval(): Number? = unwrap(this).getMinIInterval() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-mvoverpictureboundaries) + */ + public fun mvOverPictureBoundaries(): String? = unwrap(this).getMvOverPictureBoundaries() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-mvtemporalpredictor) + */ + public fun mvTemporalPredictor(): String? = unwrap(this).getMvTemporalPredictor() + /** * Pixel Aspect Ratio denominator. * @@ -19113,6 +19542,21 @@ public open class CfnChannel( */ public fun tier(): String? = unwrap(this).getTier() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tileheight) + */ + public fun tileHeight(): Number? = unwrap(this).getTileHeight() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tilepadding) + */ + public fun tilePadding(): String? = unwrap(this).getTilePadding() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tilewidth) + */ + public fun tileWidth(): Number? = unwrap(this).getTileWidth() + /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-timecodeburninsettings) */ @@ -19129,6 +19573,11 @@ public open class CfnChannel( */ public fun timecodeInsertion(): String? = unwrap(this).getTimecodeInsertion() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-treeblocksize) + */ + public fun treeblockSize(): String? = unwrap(this).getTreeblockSize() + /** * A builder for [H265SettingsProperty] */ @@ -19281,6 +19730,16 @@ public open class CfnChannel( */ public fun minIInterval(minIInterval: Number) + /** + * @param mvOverPictureBoundaries the value to be set. + */ + public fun mvOverPictureBoundaries(mvOverPictureBoundaries: String) + + /** + * @param mvTemporalPredictor the value to be set. + */ + public fun mvTemporalPredictor(mvTemporalPredictor: String) + /** * @param parDenominator Pixel Aspect Ratio denominator. */ @@ -19346,6 +19805,21 @@ public open class CfnChannel( */ public fun tier(tier: String) + /** + * @param tileHeight the value to be set. + */ + public fun tileHeight(tileHeight: Number) + + /** + * @param tilePadding the value to be set. + */ + public fun tilePadding(tilePadding: String) + + /** + * @param tileWidth the value to be set. + */ + public fun tileWidth(tileWidth: Number) + /** * @param timecodeBurninSettings the value to be set. */ @@ -19372,6 +19846,11 @@ public open class CfnChannel( * Timecode Config */ public fun timecodeInsertion(timecodeInsertion: String) + + /** + * @param treeblockSize the value to be set. + */ + public fun treeblockSize(treeblockSize: String) } private class BuilderImpl : Builder { @@ -19433,14 +19912,14 @@ public open class CfnChannel( * @param colorSpaceSettings Color Space settings. */ override fun colorSpaceSettings(colorSpaceSettings: IResolvable) { - cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(IResolvable::unwrap)) + cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(IResolvable.Companion::unwrap)) } /** * @param colorSpaceSettings Color Space settings. */ override fun colorSpaceSettings(colorSpaceSettings: H265ColorSpaceSettingsProperty) { - cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(H265ColorSpaceSettingsProperty::unwrap)) + cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(H265ColorSpaceSettingsProperty.Companion::unwrap)) } /** @@ -19456,14 +19935,14 @@ public open class CfnChannel( * @param filterSettings Optional filters that you can apply to an encode. */ override fun filterSettings(filterSettings: IResolvable) { - cdkBuilder.filterSettings(filterSettings.let(IResolvable::unwrap)) + cdkBuilder.filterSettings(filterSettings.let(IResolvable.Companion::unwrap)) } /** * @param filterSettings Optional filters that you can apply to an encode. */ override fun filterSettings(filterSettings: H265FilterSettingsProperty) { - cdkBuilder.filterSettings(filterSettings.let(H265FilterSettingsProperty::unwrap)) + cdkBuilder.filterSettings(filterSettings.let(H265FilterSettingsProperty.Companion::unwrap)) } /** @@ -19570,6 +20049,20 @@ public open class CfnChannel( cdkBuilder.minIInterval(minIInterval) } + /** + * @param mvOverPictureBoundaries the value to be set. + */ + override fun mvOverPictureBoundaries(mvOverPictureBoundaries: String) { + cdkBuilder.mvOverPictureBoundaries(mvOverPictureBoundaries) + } + + /** + * @param mvTemporalPredictor the value to be set. + */ + override fun mvTemporalPredictor(mvTemporalPredictor: String) { + cdkBuilder.mvTemporalPredictor(mvTemporalPredictor) + } + /** * @param parDenominator Pixel Aspect Ratio denominator. */ @@ -19653,18 +20146,39 @@ public open class CfnChannel( cdkBuilder.tier(tier) } + /** + * @param tileHeight the value to be set. + */ + override fun tileHeight(tileHeight: Number) { + cdkBuilder.tileHeight(tileHeight) + } + + /** + * @param tilePadding the value to be set. + */ + override fun tilePadding(tilePadding: String) { + cdkBuilder.tilePadding(tilePadding) + } + + /** + * @param tileWidth the value to be set. + */ + override fun tileWidth(tileWidth: Number) { + cdkBuilder.tileWidth(tileWidth) + } + /** * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: IResolvable) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable.Companion::unwrap)) } /** * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: TimecodeBurninSettingsProperty) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty.Companion::unwrap)) } /** @@ -19687,6 +20201,13 @@ public open class CfnChannel( cdkBuilder.timecodeInsertion(timecodeInsertion) } + /** + * @param treeblockSize the value to be set. + */ + override fun treeblockSize(treeblockSize: String) { + cdkBuilder.treeblockSize(treeblockSize) + } + public fun build(): software.amazon.awscdk.services.medialive.CfnChannel.H265SettingsProperty = cdkBuilder.build() } @@ -19862,6 +20383,16 @@ public open class CfnChannel( */ override fun minIInterval(): Number? = unwrap(this).getMinIInterval() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-mvoverpictureboundaries) + */ + override fun mvOverPictureBoundaries(): String? = unwrap(this).getMvOverPictureBoundaries() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-mvtemporalpredictor) + */ + override fun mvTemporalPredictor(): String? = unwrap(this).getMvTemporalPredictor() + /** * Pixel Aspect Ratio denominator. * @@ -19947,6 +20478,21 @@ public open class CfnChannel( */ override fun tier(): String? = unwrap(this).getTier() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tileheight) + */ + override fun tileHeight(): Number? = unwrap(this).getTileHeight() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tilepadding) + */ + override fun tilePadding(): String? = unwrap(this).getTilePadding() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tilewidth) + */ + override fun tileWidth(): Number? = unwrap(this).getTileWidth() + /** * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-timecodeburninsettings) */ @@ -19962,6 +20508,11 @@ public open class CfnChannel( * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-timecodeinsertion) */ override fun timecodeInsertion(): String? = unwrap(this).getTimecodeInsertion() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-treeblocksize) + */ + override fun treeblockSize(): String? = unwrap(this).getTreeblockSize() } public companion object { @@ -20746,14 +21297,14 @@ public open class CfnChannel( * @param hlsAkamaiSettings Sets up Akamai as the downstream system for the HLS output group. */ override fun hlsAkamaiSettings(hlsAkamaiSettings: IResolvable) { - cdkBuilder.hlsAkamaiSettings(hlsAkamaiSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsAkamaiSettings(hlsAkamaiSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsAkamaiSettings Sets up Akamai as the downstream system for the HLS output group. */ override fun hlsAkamaiSettings(hlsAkamaiSettings: HlsAkamaiSettingsProperty) { - cdkBuilder.hlsAkamaiSettings(hlsAkamaiSettings.let(HlsAkamaiSettingsProperty::unwrap)) + cdkBuilder.hlsAkamaiSettings(hlsAkamaiSettings.let(HlsAkamaiSettingsProperty.Companion::unwrap)) } /** @@ -20769,14 +21320,14 @@ public open class CfnChannel( * @param hlsBasicPutSettings The settings for Basic Put for the HLS output. */ override fun hlsBasicPutSettings(hlsBasicPutSettings: IResolvable) { - cdkBuilder.hlsBasicPutSettings(hlsBasicPutSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsBasicPutSettings(hlsBasicPutSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsBasicPutSettings The settings for Basic Put for the HLS output. */ override fun hlsBasicPutSettings(hlsBasicPutSettings: HlsBasicPutSettingsProperty) { - cdkBuilder.hlsBasicPutSettings(hlsBasicPutSettings.let(HlsBasicPutSettingsProperty::unwrap)) + cdkBuilder.hlsBasicPutSettings(hlsBasicPutSettings.let(HlsBasicPutSettingsProperty.Companion::unwrap)) } /** @@ -20792,14 +21343,14 @@ public open class CfnChannel( * @param hlsMediaStoreSettings Sets up MediaStore as the destination for the HLS output. */ override fun hlsMediaStoreSettings(hlsMediaStoreSettings: IResolvable) { - cdkBuilder.hlsMediaStoreSettings(hlsMediaStoreSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsMediaStoreSettings(hlsMediaStoreSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsMediaStoreSettings Sets up MediaStore as the destination for the HLS output. */ override fun hlsMediaStoreSettings(hlsMediaStoreSettings: HlsMediaStoreSettingsProperty) { - cdkBuilder.hlsMediaStoreSettings(hlsMediaStoreSettings.let(HlsMediaStoreSettingsProperty::unwrap)) + cdkBuilder.hlsMediaStoreSettings(hlsMediaStoreSettings.let(HlsMediaStoreSettingsProperty.Companion::unwrap)) } /** @@ -20815,14 +21366,14 @@ public open class CfnChannel( * @param hlsS3Settings Sets up Amazon S3 as the destination for this HLS output. */ override fun hlsS3Settings(hlsS3Settings: IResolvable) { - cdkBuilder.hlsS3Settings(hlsS3Settings.let(IResolvable::unwrap)) + cdkBuilder.hlsS3Settings(hlsS3Settings.let(IResolvable.Companion::unwrap)) } /** * @param hlsS3Settings Sets up Amazon S3 as the destination for this HLS output. */ override fun hlsS3Settings(hlsS3Settings: HlsS3SettingsProperty) { - cdkBuilder.hlsS3Settings(hlsS3Settings.let(HlsS3SettingsProperty::unwrap)) + cdkBuilder.hlsS3Settings(hlsS3Settings.let(HlsS3SettingsProperty.Companion::unwrap)) } /** @@ -20838,7 +21389,7 @@ public open class CfnChannel( * The parent of this entity is HlsGroupSettings. */ override fun hlsWebdavSettings(hlsWebdavSettings: IResolvable) { - cdkBuilder.hlsWebdavSettings(hlsWebdavSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsWebdavSettings(hlsWebdavSettings.let(IResolvable.Companion::unwrap)) } /** @@ -20846,7 +21397,7 @@ public open class CfnChannel( * The parent of this entity is HlsGroupSettings. */ override fun hlsWebdavSettings(hlsWebdavSettings: HlsWebdavSettingsProperty) { - cdkBuilder.hlsWebdavSettings(hlsWebdavSettings.let(HlsWebdavSettingsProperty::unwrap)) + cdkBuilder.hlsWebdavSettings(hlsWebdavSettings.let(HlsWebdavSettingsProperty.Companion::unwrap)) } /** @@ -21886,7 +22437,7 @@ public open class CfnChannel( * This is meaningful only if captionLanguageSetting is set to "insert." */ override fun captionLanguageMappings(captionLanguageMappings: IResolvable) { - cdkBuilder.captionLanguageMappings(captionLanguageMappings.let(IResolvable::unwrap)) + cdkBuilder.captionLanguageMappings(captionLanguageMappings.let(IResolvable.Companion::unwrap)) } /** @@ -21951,7 +22502,7 @@ public open class CfnChannel( * and encryption keys (if enabled). */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -21959,7 +22510,7 @@ public open class CfnChannel( * and encryption keys (if enabled). */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -22003,14 +22554,14 @@ public open class CfnChannel( * @param hlsCdnSettings The parameters that control interactions with the CDN. */ override fun hlsCdnSettings(hlsCdnSettings: IResolvable) { - cdkBuilder.hlsCdnSettings(hlsCdnSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsCdnSettings(hlsCdnSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsCdnSettings The parameters that control interactions with the CDN. */ override fun hlsCdnSettings(hlsCdnSettings: HlsCdnSettingsProperty) { - cdkBuilder.hlsCdnSettings(hlsCdnSettings.let(HlsCdnSettingsProperty::unwrap)) + cdkBuilder.hlsCdnSettings(hlsCdnSettings.let(HlsCdnSettingsProperty.Companion::unwrap)) } /** @@ -22121,14 +22672,14 @@ public open class CfnChannel( * @param keyProviderSettings The key provider settings. */ override fun keyProviderSettings(keyProviderSettings: IResolvable) { - cdkBuilder.keyProviderSettings(keyProviderSettings.let(IResolvable::unwrap)) + cdkBuilder.keyProviderSettings(keyProviderSettings.let(IResolvable.Companion::unwrap)) } /** * @param keyProviderSettings The key provider settings. */ override fun keyProviderSettings(keyProviderSettings: KeyProviderSettingsProperty) { - cdkBuilder.keyProviderSettings(keyProviderSettings.let(KeyProviderSettingsProperty::unwrap)) + cdkBuilder.keyProviderSettings(keyProviderSettings.let(KeyProviderSettingsProperty.Companion::unwrap)) } /** @@ -23347,7 +23898,7 @@ public open class CfnChannel( * These settings are different for audio-only outputs. */ override fun hlsSettings(hlsSettings: IResolvable) { - cdkBuilder.hlsSettings(hlsSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsSettings(hlsSettings.let(IResolvable.Companion::unwrap)) } /** @@ -23355,7 +23906,7 @@ public open class CfnChannel( * These settings are different for audio-only outputs. */ override fun hlsSettings(hlsSettings: HlsSettingsProperty) { - cdkBuilder.hlsSettings(hlsSettings.let(HlsSettingsProperty::unwrap)) + cdkBuilder.hlsSettings(hlsSettings.let(HlsSettingsProperty.Companion::unwrap)) } /** @@ -23705,14 +24256,14 @@ public open class CfnChannel( * @param audioOnlyHlsSettings The settings for an audio-only output. */ override fun audioOnlyHlsSettings(audioOnlyHlsSettings: IResolvable) { - cdkBuilder.audioOnlyHlsSettings(audioOnlyHlsSettings.let(IResolvable::unwrap)) + cdkBuilder.audioOnlyHlsSettings(audioOnlyHlsSettings.let(IResolvable.Companion::unwrap)) } /** * @param audioOnlyHlsSettings The settings for an audio-only output. */ override fun audioOnlyHlsSettings(audioOnlyHlsSettings: AudioOnlyHlsSettingsProperty) { - cdkBuilder.audioOnlyHlsSettings(audioOnlyHlsSettings.let(AudioOnlyHlsSettingsProperty::unwrap)) + cdkBuilder.audioOnlyHlsSettings(audioOnlyHlsSettings.let(AudioOnlyHlsSettingsProperty.Companion::unwrap)) } /** @@ -23728,14 +24279,14 @@ public open class CfnChannel( * @param fmp4HlsSettings The settings for an fMP4 container. */ override fun fmp4HlsSettings(fmp4HlsSettings: IResolvable) { - cdkBuilder.fmp4HlsSettings(fmp4HlsSettings.let(IResolvable::unwrap)) + cdkBuilder.fmp4HlsSettings(fmp4HlsSettings.let(IResolvable.Companion::unwrap)) } /** * @param fmp4HlsSettings The settings for an fMP4 container. */ override fun fmp4HlsSettings(fmp4HlsSettings: Fmp4HlsSettingsProperty) { - cdkBuilder.fmp4HlsSettings(fmp4HlsSettings.let(Fmp4HlsSettingsProperty::unwrap)) + cdkBuilder.fmp4HlsSettings(fmp4HlsSettings.let(Fmp4HlsSettingsProperty.Companion::unwrap)) } /** @@ -23750,7 +24301,7 @@ public open class CfnChannel( * @param frameCaptureHlsSettings Settings for a frame capture output in an HLS output group. */ override fun frameCaptureHlsSettings(frameCaptureHlsSettings: IResolvable) { - cdkBuilder.frameCaptureHlsSettings(frameCaptureHlsSettings.let(IResolvable::unwrap)) + cdkBuilder.frameCaptureHlsSettings(frameCaptureHlsSettings.let(IResolvable.Companion::unwrap)) } /** @@ -23758,7 +24309,7 @@ public open class CfnChannel( */ override fun frameCaptureHlsSettings(frameCaptureHlsSettings: FrameCaptureHlsSettingsProperty) { - cdkBuilder.frameCaptureHlsSettings(frameCaptureHlsSettings.let(FrameCaptureHlsSettingsProperty::unwrap)) + cdkBuilder.frameCaptureHlsSettings(frameCaptureHlsSettings.let(FrameCaptureHlsSettingsProperty.Companion::unwrap)) } /** @@ -23775,7 +24326,7 @@ public open class CfnChannel( * audio-only). */ override fun standardHlsSettings(standardHlsSettings: IResolvable) { - cdkBuilder.standardHlsSettings(standardHlsSettings.let(IResolvable::unwrap)) + cdkBuilder.standardHlsSettings(standardHlsSettings.let(IResolvable.Companion::unwrap)) } /** @@ -23783,7 +24334,7 @@ public open class CfnChannel( * audio-only). */ override fun standardHlsSettings(standardHlsSettings: StandardHlsSettingsProperty) { - cdkBuilder.standardHlsSettings(standardHlsSettings.let(StandardHlsSettingsProperty::unwrap)) + cdkBuilder.standardHlsSettings(standardHlsSettings.let(StandardHlsSettingsProperty.Companion::unwrap)) } /** @@ -24348,7 +24899,7 @@ public open class CfnChannel( * this input. */ override fun automaticInputFailoverSettings(automaticInputFailoverSettings: IResolvable) { - cdkBuilder.automaticInputFailoverSettings(automaticInputFailoverSettings.let(IResolvable::unwrap)) + cdkBuilder.automaticInputFailoverSettings(automaticInputFailoverSettings.let(IResolvable.Companion::unwrap)) } /** @@ -24357,7 +24908,7 @@ public open class CfnChannel( */ override fun automaticInputFailoverSettings(automaticInputFailoverSettings: AutomaticInputFailoverSettingsProperty) { - cdkBuilder.automaticInputFailoverSettings(automaticInputFailoverSettings.let(AutomaticInputFailoverSettingsProperty::unwrap)) + cdkBuilder.automaticInputFailoverSettings(automaticInputFailoverSettings.let(AutomaticInputFailoverSettingsProperty.Companion::unwrap)) } /** @@ -24391,7 +24942,7 @@ public open class CfnChannel( * general handling of the content. */ override fun inputSettings(inputSettings: IResolvable) { - cdkBuilder.inputSettings(inputSettings.let(IResolvable::unwrap)) + cdkBuilder.inputSettings(inputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -24399,7 +24950,7 @@ public open class CfnChannel( * general handling of the content. */ override fun inputSettings(inputSettings: InputSettingsProperty) { - cdkBuilder.inputSettings(inputSettings.let(InputSettingsProperty::unwrap)) + cdkBuilder.inputSettings(inputSettings.let(InputSettingsProperty.Companion::unwrap)) } /** @@ -24904,7 +25455,7 @@ public open class CfnChannel( * the parameters for accessing the slate. */ override fun inputLossImageSlate(inputLossImageSlate: IResolvable) { - cdkBuilder.inputLossImageSlate(inputLossImageSlate.let(IResolvable::unwrap)) + cdkBuilder.inputLossImageSlate(inputLossImageSlate.let(IResolvable.Companion::unwrap)) } /** @@ -24912,7 +25463,7 @@ public open class CfnChannel( * the parameters for accessing the slate. */ override fun inputLossImageSlate(inputLossImageSlate: InputLocationProperty) { - cdkBuilder.inputLossImageSlate(inputLossImageSlate.let(InputLocationProperty::unwrap)) + cdkBuilder.inputLossImageSlate(inputLossImageSlate.let(InputLocationProperty.Companion::unwrap)) } /** @@ -25442,7 +25993,7 @@ public open class CfnChannel( * The parent of this entity is InputSettings. */ override fun audioSelectors(audioSelectors: IResolvable) { - cdkBuilder.audioSelectors(audioSelectors.let(IResolvable::unwrap)) + cdkBuilder.audioSelectors(audioSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -25464,7 +26015,7 @@ public open class CfnChannel( * @param captionSelectors Information about the specific captions to extract from the input. */ override fun captionSelectors(captionSelectors: IResolvable) { - cdkBuilder.captionSelectors(captionSelectors.let(IResolvable::unwrap)) + cdkBuilder.captionSelectors(captionSelectors.let(IResolvable.Companion::unwrap)) } /** @@ -25515,14 +26066,14 @@ public open class CfnChannel( * @param networkInputSettings Information about how to connect to the upstream system. */ override fun networkInputSettings(networkInputSettings: IResolvable) { - cdkBuilder.networkInputSettings(networkInputSettings.let(IResolvable::unwrap)) + cdkBuilder.networkInputSettings(networkInputSettings.let(IResolvable.Companion::unwrap)) } /** * @param networkInputSettings Information about how to connect to the upstream system. */ override fun networkInputSettings(networkInputSettings: NetworkInputSettingsProperty) { - cdkBuilder.networkInputSettings(networkInputSettings.let(NetworkInputSettingsProperty::unwrap)) + cdkBuilder.networkInputSettings(networkInputSettings.let(NetworkInputSettingsProperty.Companion::unwrap)) } /** @@ -25565,14 +26116,14 @@ public open class CfnChannel( * @param videoSelector Information about one video to extract from the input. */ override fun videoSelector(videoSelector: IResolvable) { - cdkBuilder.videoSelector(videoSelector.let(IResolvable::unwrap)) + cdkBuilder.videoSelector(videoSelector.let(IResolvable.Companion::unwrap)) } /** * @param videoSelector Information about one video to extract from the input. */ override fun videoSelector(videoSelector: VideoSelectorProperty) { - cdkBuilder.videoSelector(videoSelector.let(VideoSelectorProperty::unwrap)) + cdkBuilder.videoSelector(videoSelector.let(VideoSelectorProperty.Companion::unwrap)) } /** @@ -25902,14 +26453,14 @@ public open class CfnChannel( * @param staticKeySettings The configuration of static key settings. */ override fun staticKeySettings(staticKeySettings: IResolvable) { - cdkBuilder.staticKeySettings(staticKeySettings.let(IResolvable::unwrap)) + cdkBuilder.staticKeySettings(staticKeySettings.let(IResolvable.Companion::unwrap)) } /** * @param staticKeySettings The configuration of static key settings. */ override fun staticKeySettings(staticKeySettings: StaticKeySettingsProperty) { - cdkBuilder.staticKeySettings(staticKeySettings.let(StaticKeySettingsProperty::unwrap)) + cdkBuilder.staticKeySettings(staticKeySettings.let(StaticKeySettingsProperty.Companion::unwrap)) } /** @@ -26959,7 +27510,7 @@ public open class CfnChannel( * repetition interval. */ override fun dvbNitSettings(dvbNitSettings: IResolvable) { - cdkBuilder.dvbNitSettings(dvbNitSettings.let(IResolvable::unwrap)) + cdkBuilder.dvbNitSettings(dvbNitSettings.let(IResolvable.Companion::unwrap)) } /** @@ -26967,7 +27518,7 @@ public open class CfnChannel( * repetition interval. */ override fun dvbNitSettings(dvbNitSettings: DvbNitSettingsProperty) { - cdkBuilder.dvbNitSettings(dvbNitSettings.let(DvbNitSettingsProperty::unwrap)) + cdkBuilder.dvbNitSettings(dvbNitSettings.let(DvbNitSettingsProperty.Companion::unwrap)) } /** @@ -26984,7 +27535,7 @@ public open class CfnChannel( * repetition interval. */ override fun dvbSdtSettings(dvbSdtSettings: IResolvable) { - cdkBuilder.dvbSdtSettings(dvbSdtSettings.let(IResolvable::unwrap)) + cdkBuilder.dvbSdtSettings(dvbSdtSettings.let(IResolvable.Companion::unwrap)) } /** @@ -26992,7 +27543,7 @@ public open class CfnChannel( * repetition interval. */ override fun dvbSdtSettings(dvbSdtSettings: DvbSdtSettingsProperty) { - cdkBuilder.dvbSdtSettings(dvbSdtSettings.let(DvbSdtSettingsProperty::unwrap)) + cdkBuilder.dvbSdtSettings(dvbSdtSettings.let(DvbSdtSettingsProperty.Companion::unwrap)) } /** @@ -27019,7 +27570,7 @@ public open class CfnChannel( * repetition interval. */ override fun dvbTdtSettings(dvbTdtSettings: IResolvable) { - cdkBuilder.dvbTdtSettings(dvbTdtSettings.let(IResolvable::unwrap)) + cdkBuilder.dvbTdtSettings(dvbTdtSettings.let(IResolvable.Companion::unwrap)) } /** @@ -27027,7 +27578,7 @@ public open class CfnChannel( * repetition interval. */ override fun dvbTdtSettings(dvbTdtSettings: DvbTdtSettingsProperty) { - cdkBuilder.dvbTdtSettings(dvbTdtSettings.let(DvbTdtSettingsProperty::unwrap)) + cdkBuilder.dvbTdtSettings(dvbTdtSettings.let(DvbTdtSettingsProperty.Companion::unwrap)) } /** @@ -28764,14 +29315,14 @@ public open class CfnChannel( * @param destination The MediaPackage channel destination. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination The MediaPackage channel destination. */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -29062,7 +29613,7 @@ public open class CfnChannel( * feature in the channel. */ override fun motionGraphicsSettings(motionGraphicsSettings: IResolvable) { - cdkBuilder.motionGraphicsSettings(motionGraphicsSettings.let(IResolvable::unwrap)) + cdkBuilder.motionGraphicsSettings(motionGraphicsSettings.let(IResolvable.Companion::unwrap)) } /** @@ -29070,7 +29621,7 @@ public open class CfnChannel( * feature in the channel. */ override fun motionGraphicsSettings(motionGraphicsSettings: MotionGraphicsSettingsProperty) { - cdkBuilder.motionGraphicsSettings(motionGraphicsSettings.let(MotionGraphicsSettingsProperty::unwrap)) + cdkBuilder.motionGraphicsSettings(motionGraphicsSettings.let(MotionGraphicsSettingsProperty.Companion::unwrap)) } /** @@ -29191,7 +29742,7 @@ public open class CfnChannel( * an HTML asset. */ override fun htmlMotionGraphicsSettings(htmlMotionGraphicsSettings: IResolvable) { - cdkBuilder.htmlMotionGraphicsSettings(htmlMotionGraphicsSettings.let(IResolvable::unwrap)) + cdkBuilder.htmlMotionGraphicsSettings(htmlMotionGraphicsSettings.let(IResolvable.Companion::unwrap)) } /** @@ -29200,7 +29751,7 @@ public open class CfnChannel( */ override fun htmlMotionGraphicsSettings(htmlMotionGraphicsSettings: HtmlMotionGraphicsSettingsProperty) { - cdkBuilder.htmlMotionGraphicsSettings(htmlMotionGraphicsSettings.let(HtmlMotionGraphicsSettingsProperty::unwrap)) + cdkBuilder.htmlMotionGraphicsSettings(htmlMotionGraphicsSettings.let(HtmlMotionGraphicsSettingsProperty.Companion::unwrap)) } /** @@ -29452,14 +30003,14 @@ public open class CfnChannel( * @param temporalFilterSettings Settings for applying the temporal filter to the video. */ override fun temporalFilterSettings(temporalFilterSettings: IResolvable) { - cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(IResolvable::unwrap)) + cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(IResolvable.Companion::unwrap)) } /** * @param temporalFilterSettings Settings for applying the temporal filter to the video. */ override fun temporalFilterSettings(temporalFilterSettings: TemporalFilterSettingsProperty) { - cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(TemporalFilterSettingsProperty::unwrap)) + cdkBuilder.temporalFilterSettings(temporalFilterSettings.let(TemporalFilterSettingsProperty.Companion::unwrap)) } /** @@ -29982,7 +30533,7 @@ public open class CfnChannel( * When the content is reasonably clean, the filter tends to decrease the bitrate. */ override fun filterSettings(filterSettings: IResolvable) { - cdkBuilder.filterSettings(filterSettings.let(IResolvable::unwrap)) + cdkBuilder.filterSettings(filterSettings.let(IResolvable.Companion::unwrap)) } /** @@ -29998,7 +30549,7 @@ public open class CfnChannel( * When the content is reasonably clean, the filter tends to decrease the bitrate. */ override fun filterSettings(filterSettings: Mpeg2FilterSettingsProperty) { - cdkBuilder.filterSettings(filterSettings.let(Mpeg2FilterSettingsProperty::unwrap)) + cdkBuilder.filterSettings(filterSettings.let(Mpeg2FilterSettingsProperty.Companion::unwrap)) } /** @@ -30106,14 +30657,14 @@ public open class CfnChannel( * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: IResolvable) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(IResolvable.Companion::unwrap)) } /** * @param timecodeBurninSettings the value to be set. */ override fun timecodeBurninSettings(timecodeBurninSettings: TimecodeBurninSettingsProperty) { - cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty::unwrap)) + cdkBuilder.timecodeBurninSettings(timecodeBurninSettings.let(TimecodeBurninSettingsProperty.Companion::unwrap)) } /** @@ -30735,7 +31286,7 @@ public open class CfnChannel( * MediaLive acts as a "Push" encoder to IIS. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -30743,7 +31294,7 @@ public open class CfnChannel( * MediaLive acts as a "Push" encoder to IIS. */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -31298,14 +31849,14 @@ public open class CfnChannel( * @param destination Destination is a Multiplex. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination Destination is a Multiplex. */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -31568,14 +32119,14 @@ public open class CfnChannel( * @param hlsInputSettings Information about how to connect to the upstream system. */ override fun hlsInputSettings(hlsInputSettings: IResolvable) { - cdkBuilder.hlsInputSettings(hlsInputSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsInputSettings(hlsInputSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsInputSettings Information about how to connect to the upstream system. */ override fun hlsInputSettings(hlsInputSettings: HlsInputSettingsProperty) { - cdkBuilder.hlsInputSettings(hlsInputSettings.let(HlsInputSettingsProperty::unwrap)) + cdkBuilder.hlsInputSettings(hlsInputSettings.let(HlsInputSettingsProperty.Companion::unwrap)) } /** @@ -32146,7 +32697,7 @@ public open class CfnChannel( * type Nielsen CBET. */ override fun nielsenCbetSettings(nielsenCbetSettings: IResolvable) { - cdkBuilder.nielsenCbetSettings(nielsenCbetSettings.let(IResolvable::unwrap)) + cdkBuilder.nielsenCbetSettings(nielsenCbetSettings.let(IResolvable.Companion::unwrap)) } /** @@ -32154,7 +32705,7 @@ public open class CfnChannel( * type Nielsen CBET. */ override fun nielsenCbetSettings(nielsenCbetSettings: NielsenCBETProperty) { - cdkBuilder.nielsenCbetSettings(nielsenCbetSettings.let(NielsenCBETProperty::unwrap)) + cdkBuilder.nielsenCbetSettings(nielsenCbetSettings.let(NielsenCBETProperty.Companion::unwrap)) } /** @@ -32179,7 +32730,7 @@ public open class CfnChannel( * of type Nielsen NAES II (N2) and Nielsen NAES VI (NW). */ override fun nielsenNaesIiNwSettings(nielsenNaesIiNwSettings: IResolvable) { - cdkBuilder.nielsenNaesIiNwSettings(nielsenNaesIiNwSettings.let(IResolvable::unwrap)) + cdkBuilder.nielsenNaesIiNwSettings(nielsenNaesIiNwSettings.let(IResolvable.Companion::unwrap)) } /** @@ -32187,7 +32738,7 @@ public open class CfnChannel( * of type Nielsen NAES II (N2) and Nielsen NAES VI (NW). */ override fun nielsenNaesIiNwSettings(nielsenNaesIiNwSettings: NielsenNaesIiNwProperty) { - cdkBuilder.nielsenNaesIiNwSettings(nielsenNaesIiNwSettings.let(NielsenNaesIiNwProperty::unwrap)) + cdkBuilder.nielsenNaesIiNwSettings(nielsenNaesIiNwSettings.let(NielsenNaesIiNwProperty.Companion::unwrap)) } /** @@ -32392,7 +32943,7 @@ public open class CfnChannel( * @param mediaPackageSettings The destination settings for a MediaPackage output. */ override fun mediaPackageSettings(mediaPackageSettings: IResolvable) { - cdkBuilder.mediaPackageSettings(mediaPackageSettings.let(IResolvable::unwrap)) + cdkBuilder.mediaPackageSettings(mediaPackageSettings.let(IResolvable.Companion::unwrap)) } /** @@ -32413,7 +32964,7 @@ public open class CfnChannel( * one destination for both encoders. */ override fun multiplexSettings(multiplexSettings: IResolvable) { - cdkBuilder.multiplexSettings(multiplexSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexSettings(multiplexSettings.let(IResolvable.Companion::unwrap)) } /** @@ -32422,7 +32973,7 @@ public open class CfnChannel( */ override fun multiplexSettings(multiplexSettings: MultiplexProgramChannelDestinationSettingsProperty) { - cdkBuilder.multiplexSettings(multiplexSettings.let(MultiplexProgramChannelDestinationSettingsProperty::unwrap)) + cdkBuilder.multiplexSettings(multiplexSettings.let(MultiplexProgramChannelDestinationSettingsProperty.Companion::unwrap)) } /** @@ -32440,7 +32991,7 @@ public open class CfnChannel( * @param settings The destination settings for an output. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -32724,6 +33275,16 @@ public open class CfnChannel( * .build()) * .rolloverInterval(123) * .build()) + * .cmafIngestGroupSettings(CmafIngestGroupSettingsProperty.builder() + * .destination(OutputLocationRefProperty.builder() + * .destinationRefId("destinationRefId") + * .build()) + * .nielsenId3Behavior("nielsenId3Behavior") + * .scte35Type("scte35Type") + * .segmentLength(123) + * .segmentLengthUnits("segmentLengthUnits") + * .sendDelayMs(123) + * .build()) * .frameCaptureGroupSettings(FrameCaptureGroupSettingsProperty.builder() * .destination(OutputLocationRefProperty.builder() * .destinationRefId("destinationRefId") @@ -32945,6 +33506,9 @@ public open class CfnChannel( * .extension("extension") * .nameModifier("nameModifier") * .build()) + * .cmafIngestOutputSettings(CmafIngestOutputSettingsProperty.builder() + * .nameModifier("nameModifier") + * .build()) * .frameCaptureOutputSettings(FrameCaptureOutputSettingsProperty.builder() * .nameModifier("nameModifier") * .build()) @@ -33184,14 +33748,14 @@ public open class CfnChannel( * @param outputGroupSettings The settings associated with the output group. */ override fun outputGroupSettings(outputGroupSettings: IResolvable) { - cdkBuilder.outputGroupSettings(outputGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.outputGroupSettings(outputGroupSettings.let(IResolvable.Companion::unwrap)) } /** * @param outputGroupSettings The settings associated with the output group. */ override fun outputGroupSettings(outputGroupSettings: OutputGroupSettingsProperty) { - cdkBuilder.outputGroupSettings(outputGroupSettings.let(OutputGroupSettingsProperty::unwrap)) + cdkBuilder.outputGroupSettings(outputGroupSettings.let(OutputGroupSettingsProperty.Companion::unwrap)) } /** @@ -33207,7 +33771,7 @@ public open class CfnChannel( * @param outputs The settings for the outputs in the output group. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -33295,6 +33859,16 @@ public open class CfnChannel( * .build()) * .rolloverInterval(123) * .build()) + * .cmafIngestGroupSettings(CmafIngestGroupSettingsProperty.builder() + * .destination(OutputLocationRefProperty.builder() + * .destinationRefId("destinationRefId") + * .build()) + * .nielsenId3Behavior("nielsenId3Behavior") + * .scte35Type("scte35Type") + * .segmentLength(123) + * .segmentLengthUnits("segmentLengthUnits") + * .sendDelayMs(123) + * .build()) * .frameCaptureGroupSettings(FrameCaptureGroupSettingsProperty.builder() * .destination(OutputLocationRefProperty.builder() * .destinationRefId("destinationRefId") @@ -33457,6 +34031,11 @@ public open class CfnChannel( */ public fun archiveGroupSettings(): Any? = unwrap(this).getArchiveGroupSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-cmafingestgroupsettings) + */ + public fun cmafIngestGroupSettings(): Any? = unwrap(this).getCmafIngestGroupSettings() + /** * The configuration of a frame capture output group. * @@ -33532,6 +34111,24 @@ public open class CfnChannel( public fun archiveGroupSettings(archiveGroupSettings: ArchiveGroupSettingsProperty.Builder.() -> Unit) + /** + * @param cmafIngestGroupSettings the value to be set. + */ + public fun cmafIngestGroupSettings(cmafIngestGroupSettings: IResolvable) + + /** + * @param cmafIngestGroupSettings the value to be set. + */ + public fun cmafIngestGroupSettings(cmafIngestGroupSettings: CmafIngestGroupSettingsProperty) + + /** + * @param cmafIngestGroupSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ed1fcca4d5bce59158ca5e9d344572b61dc04d5e1fff0d71c13a4287bc436f65") + public + fun cmafIngestGroupSettings(cmafIngestGroupSettings: CmafIngestGroupSettingsProperty.Builder.() -> Unit) + /** * @param frameCaptureGroupSettings The configuration of a frame capture output group. */ @@ -33668,7 +34265,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun archiveGroupSettings(archiveGroupSettings: IResolvable) { - cdkBuilder.archiveGroupSettings(archiveGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.archiveGroupSettings(archiveGroupSettings.let(IResolvable.Companion::unwrap)) } /** @@ -33676,7 +34273,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun archiveGroupSettings(archiveGroupSettings: ArchiveGroupSettingsProperty) { - cdkBuilder.archiveGroupSettings(archiveGroupSettings.let(ArchiveGroupSettingsProperty::unwrap)) + cdkBuilder.archiveGroupSettings(archiveGroupSettings.let(ArchiveGroupSettingsProperty.Companion::unwrap)) } /** @@ -33689,11 +34286,35 @@ public open class CfnChannel( fun archiveGroupSettings(archiveGroupSettings: ArchiveGroupSettingsProperty.Builder.() -> Unit): Unit = archiveGroupSettings(ArchiveGroupSettingsProperty(archiveGroupSettings)) + /** + * @param cmafIngestGroupSettings the value to be set. + */ + override fun cmafIngestGroupSettings(cmafIngestGroupSettings: IResolvable) { + cdkBuilder.cmafIngestGroupSettings(cmafIngestGroupSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * @param cmafIngestGroupSettings the value to be set. + */ + override + fun cmafIngestGroupSettings(cmafIngestGroupSettings: CmafIngestGroupSettingsProperty) { + cdkBuilder.cmafIngestGroupSettings(cmafIngestGroupSettings.let(CmafIngestGroupSettingsProperty.Companion::unwrap)) + } + + /** + * @param cmafIngestGroupSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ed1fcca4d5bce59158ca5e9d344572b61dc04d5e1fff0d71c13a4287bc436f65") + override + fun cmafIngestGroupSettings(cmafIngestGroupSettings: CmafIngestGroupSettingsProperty.Builder.() -> Unit): + Unit = cmafIngestGroupSettings(CmafIngestGroupSettingsProperty(cmafIngestGroupSettings)) + /** * @param frameCaptureGroupSettings The configuration of a frame capture output group. */ override fun frameCaptureGroupSettings(frameCaptureGroupSettings: IResolvable) { - cdkBuilder.frameCaptureGroupSettings(frameCaptureGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.frameCaptureGroupSettings(frameCaptureGroupSettings.let(IResolvable.Companion::unwrap)) } /** @@ -33701,7 +34322,7 @@ public open class CfnChannel( */ override fun frameCaptureGroupSettings(frameCaptureGroupSettings: FrameCaptureGroupSettingsProperty) { - cdkBuilder.frameCaptureGroupSettings(frameCaptureGroupSettings.let(FrameCaptureGroupSettingsProperty::unwrap)) + cdkBuilder.frameCaptureGroupSettings(frameCaptureGroupSettings.let(FrameCaptureGroupSettingsProperty.Companion::unwrap)) } /** @@ -33718,14 +34339,14 @@ public open class CfnChannel( * @param hlsGroupSettings The configuration of an HLS output group. */ override fun hlsGroupSettings(hlsGroupSettings: IResolvable) { - cdkBuilder.hlsGroupSettings(hlsGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsGroupSettings(hlsGroupSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsGroupSettings The configuration of an HLS output group. */ override fun hlsGroupSettings(hlsGroupSettings: HlsGroupSettingsProperty) { - cdkBuilder.hlsGroupSettings(hlsGroupSettings.let(HlsGroupSettingsProperty::unwrap)) + cdkBuilder.hlsGroupSettings(hlsGroupSettings.let(HlsGroupSettingsProperty.Companion::unwrap)) } /** @@ -33740,7 +34361,7 @@ public open class CfnChannel( * @param mediaPackageGroupSettings The configuration of a MediaPackage output group. */ override fun mediaPackageGroupSettings(mediaPackageGroupSettings: IResolvable) { - cdkBuilder.mediaPackageGroupSettings(mediaPackageGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.mediaPackageGroupSettings(mediaPackageGroupSettings.let(IResolvable.Companion::unwrap)) } /** @@ -33748,7 +34369,7 @@ public open class CfnChannel( */ override fun mediaPackageGroupSettings(mediaPackageGroupSettings: MediaPackageGroupSettingsProperty) { - cdkBuilder.mediaPackageGroupSettings(mediaPackageGroupSettings.let(MediaPackageGroupSettingsProperty::unwrap)) + cdkBuilder.mediaPackageGroupSettings(mediaPackageGroupSettings.let(MediaPackageGroupSettingsProperty.Companion::unwrap)) } /** @@ -33765,14 +34386,14 @@ public open class CfnChannel( * @param msSmoothGroupSettings The configuration of a Microsoft Smooth output group. */ override fun msSmoothGroupSettings(msSmoothGroupSettings: IResolvable) { - cdkBuilder.msSmoothGroupSettings(msSmoothGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.msSmoothGroupSettings(msSmoothGroupSettings.let(IResolvable.Companion::unwrap)) } /** * @param msSmoothGroupSettings The configuration of a Microsoft Smooth output group. */ override fun msSmoothGroupSettings(msSmoothGroupSettings: MsSmoothGroupSettingsProperty) { - cdkBuilder.msSmoothGroupSettings(msSmoothGroupSettings.let(MsSmoothGroupSettingsProperty::unwrap)) + cdkBuilder.msSmoothGroupSettings(msSmoothGroupSettings.let(MsSmoothGroupSettingsProperty.Companion::unwrap)) } /** @@ -33788,14 +34409,14 @@ public open class CfnChannel( * @param multiplexGroupSettings The settings for a Multiplex output group. */ override fun multiplexGroupSettings(multiplexGroupSettings: IResolvable) { - cdkBuilder.multiplexGroupSettings(multiplexGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexGroupSettings(multiplexGroupSettings.let(IResolvable.Companion::unwrap)) } /** * @param multiplexGroupSettings The settings for a Multiplex output group. */ override fun multiplexGroupSettings(multiplexGroupSettings: MultiplexGroupSettingsProperty) { - cdkBuilder.multiplexGroupSettings(multiplexGroupSettings.let(MultiplexGroupSettingsProperty::unwrap)) + cdkBuilder.multiplexGroupSettings(multiplexGroupSettings.let(MultiplexGroupSettingsProperty.Companion::unwrap)) } /** @@ -33811,14 +34432,14 @@ public open class CfnChannel( * @param rtmpGroupSettings The configuration of an RTMP output group. */ override fun rtmpGroupSettings(rtmpGroupSettings: IResolvable) { - cdkBuilder.rtmpGroupSettings(rtmpGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.rtmpGroupSettings(rtmpGroupSettings.let(IResolvable.Companion::unwrap)) } /** * @param rtmpGroupSettings The configuration of an RTMP output group. */ override fun rtmpGroupSettings(rtmpGroupSettings: RtmpGroupSettingsProperty) { - cdkBuilder.rtmpGroupSettings(rtmpGroupSettings.let(RtmpGroupSettingsProperty::unwrap)) + cdkBuilder.rtmpGroupSettings(rtmpGroupSettings.let(RtmpGroupSettingsProperty.Companion::unwrap)) } /** @@ -33834,14 +34455,14 @@ public open class CfnChannel( * @param udpGroupSettings The configuration of a UDP output group. */ override fun udpGroupSettings(udpGroupSettings: IResolvable) { - cdkBuilder.udpGroupSettings(udpGroupSettings.let(IResolvable::unwrap)) + cdkBuilder.udpGroupSettings(udpGroupSettings.let(IResolvable.Companion::unwrap)) } /** * @param udpGroupSettings The configuration of a UDP output group. */ override fun udpGroupSettings(udpGroupSettings: UdpGroupSettingsProperty) { - cdkBuilder.udpGroupSettings(udpGroupSettings.let(UdpGroupSettingsProperty::unwrap)) + cdkBuilder.udpGroupSettings(udpGroupSettings.let(UdpGroupSettingsProperty.Companion::unwrap)) } /** @@ -33869,6 +34490,11 @@ public open class CfnChannel( */ override fun archiveGroupSettings(): Any? = unwrap(this).getArchiveGroupSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-cmafingestgroupsettings) + */ + override fun cmafIngestGroupSettings(): Any? = unwrap(this).getCmafIngestGroupSettings() + /** * The configuration of a frame capture output group. * @@ -34091,14 +34717,14 @@ public open class CfnChannel( * @param epochLockingSettings the value to be set. */ override fun epochLockingSettings(epochLockingSettings: IResolvable) { - cdkBuilder.epochLockingSettings(epochLockingSettings.let(IResolvable::unwrap)) + cdkBuilder.epochLockingSettings(epochLockingSettings.let(IResolvable.Companion::unwrap)) } /** * @param epochLockingSettings the value to be set. */ override fun epochLockingSettings(epochLockingSettings: EpochLockingSettingsProperty) { - cdkBuilder.epochLockingSettings(epochLockingSettings.let(EpochLockingSettingsProperty::unwrap)) + cdkBuilder.epochLockingSettings(epochLockingSettings.let(EpochLockingSettingsProperty.Companion::unwrap)) } /** @@ -34238,6 +34864,9 @@ public open class CfnChannel( * .extension("extension") * .nameModifier("nameModifier") * .build()) + * .cmafIngestOutputSettings(CmafIngestOutputSettingsProperty.builder() + * .nameModifier("nameModifier") + * .build()) * .frameCaptureOutputSettings(FrameCaptureOutputSettingsProperty.builder() * .nameModifier("nameModifier") * .build()) @@ -34529,14 +35158,14 @@ public open class CfnChannel( * @param outputSettings The output type-specific settings. */ override fun outputSettings(outputSettings: IResolvable) { - cdkBuilder.outputSettings(outputSettings.let(IResolvable::unwrap)) + cdkBuilder.outputSettings(outputSettings.let(IResolvable.Companion::unwrap)) } /** * @param outputSettings The output type-specific settings. */ override fun outputSettings(outputSettings: OutputSettingsProperty) { - cdkBuilder.outputSettings(outputSettings.let(OutputSettingsProperty::unwrap)) + cdkBuilder.outputSettings(outputSettings.let(OutputSettingsProperty.Companion::unwrap)) } /** @@ -34698,6 +35327,9 @@ public open class CfnChannel( * .extension("extension") * .nameModifier("nameModifier") * .build()) + * .cmafIngestOutputSettings(CmafIngestOutputSettingsProperty.builder() + * .nameModifier("nameModifier") + * .build()) * .frameCaptureOutputSettings(FrameCaptureOutputSettingsProperty.builder() * .nameModifier("nameModifier") * .build()) @@ -34853,6 +35485,11 @@ public open class CfnChannel( */ public fun archiveOutputSettings(): Any? = unwrap(this).getArchiveOutputSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-cmafingestoutputsettings) + */ + public fun cmafIngestOutputSettings(): Any? = unwrap(this).getCmafIngestOutputSettings() + /** * The settings for a frame capture output. * @@ -34935,6 +35572,25 @@ public open class CfnChannel( public fun archiveOutputSettings(archiveOutputSettings: ArchiveOutputSettingsProperty.Builder.() -> Unit) + /** + * @param cmafIngestOutputSettings the value to be set. + */ + public fun cmafIngestOutputSettings(cmafIngestOutputSettings: IResolvable) + + /** + * @param cmafIngestOutputSettings the value to be set. + */ + public + fun cmafIngestOutputSettings(cmafIngestOutputSettings: CmafIngestOutputSettingsProperty) + + /** + * @param cmafIngestOutputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("adc0d5774e5ba0100a685f267f424733105a44676b86764bce028fe3f11dfdbf") + public + fun cmafIngestOutputSettings(cmafIngestOutputSettings: CmafIngestOutputSettingsProperty.Builder.() -> Unit) + /** * @param frameCaptureOutputSettings The settings for a frame capture output. * The parent of this entity is OutputGroupSettings. @@ -35086,14 +35742,14 @@ public open class CfnChannel( * @param archiveOutputSettings The settings for an archive output. */ override fun archiveOutputSettings(archiveOutputSettings: IResolvable) { - cdkBuilder.archiveOutputSettings(archiveOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.archiveOutputSettings(archiveOutputSettings.let(IResolvable.Companion::unwrap)) } /** * @param archiveOutputSettings The settings for an archive output. */ override fun archiveOutputSettings(archiveOutputSettings: ArchiveOutputSettingsProperty) { - cdkBuilder.archiveOutputSettings(archiveOutputSettings.let(ArchiveOutputSettingsProperty::unwrap)) + cdkBuilder.archiveOutputSettings(archiveOutputSettings.let(ArchiveOutputSettingsProperty.Companion::unwrap)) } /** @@ -35105,12 +35761,37 @@ public open class CfnChannel( fun archiveOutputSettings(archiveOutputSettings: ArchiveOutputSettingsProperty.Builder.() -> Unit): Unit = archiveOutputSettings(ArchiveOutputSettingsProperty(archiveOutputSettings)) + /** + * @param cmafIngestOutputSettings the value to be set. + */ + override fun cmafIngestOutputSettings(cmafIngestOutputSettings: IResolvable) { + cdkBuilder.cmafIngestOutputSettings(cmafIngestOutputSettings.let(IResolvable.Companion::unwrap)) + } + + /** + * @param cmafIngestOutputSettings the value to be set. + */ + override + fun cmafIngestOutputSettings(cmafIngestOutputSettings: CmafIngestOutputSettingsProperty) { + cdkBuilder.cmafIngestOutputSettings(cmafIngestOutputSettings.let(CmafIngestOutputSettingsProperty.Companion::unwrap)) + } + + /** + * @param cmafIngestOutputSettings the value to be set. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("adc0d5774e5ba0100a685f267f424733105a44676b86764bce028fe3f11dfdbf") + override + fun cmafIngestOutputSettings(cmafIngestOutputSettings: CmafIngestOutputSettingsProperty.Builder.() -> Unit): + Unit = + cmafIngestOutputSettings(CmafIngestOutputSettingsProperty(cmafIngestOutputSettings)) + /** * @param frameCaptureOutputSettings The settings for a frame capture output. * The parent of this entity is OutputGroupSettings. */ override fun frameCaptureOutputSettings(frameCaptureOutputSettings: IResolvable) { - cdkBuilder.frameCaptureOutputSettings(frameCaptureOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.frameCaptureOutputSettings(frameCaptureOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -35119,7 +35800,7 @@ public open class CfnChannel( */ override fun frameCaptureOutputSettings(frameCaptureOutputSettings: FrameCaptureOutputSettingsProperty) { - cdkBuilder.frameCaptureOutputSettings(frameCaptureOutputSettings.let(FrameCaptureOutputSettingsProperty::unwrap)) + cdkBuilder.frameCaptureOutputSettings(frameCaptureOutputSettings.let(FrameCaptureOutputSettingsProperty.Companion::unwrap)) } /** @@ -35138,7 +35819,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun hlsOutputSettings(hlsOutputSettings: IResolvable) { - cdkBuilder.hlsOutputSettings(hlsOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsOutputSettings(hlsOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -35146,7 +35827,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun hlsOutputSettings(hlsOutputSettings: HlsOutputSettingsProperty) { - cdkBuilder.hlsOutputSettings(hlsOutputSettings.let(HlsOutputSettingsProperty::unwrap)) + cdkBuilder.hlsOutputSettings(hlsOutputSettings.let(HlsOutputSettingsProperty.Companion::unwrap)) } /** @@ -35164,7 +35845,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun mediaPackageOutputSettings(mediaPackageOutputSettings: IResolvable) { - cdkBuilder.mediaPackageOutputSettings(mediaPackageOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.mediaPackageOutputSettings(mediaPackageOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -35173,7 +35854,7 @@ public open class CfnChannel( */ override fun mediaPackageOutputSettings(mediaPackageOutputSettings: MediaPackageOutputSettingsProperty) { - cdkBuilder.mediaPackageOutputSettings(mediaPackageOutputSettings.let(MediaPackageOutputSettingsProperty::unwrap)) + cdkBuilder.mediaPackageOutputSettings(mediaPackageOutputSettings.let(MediaPackageOutputSettingsProperty.Companion::unwrap)) } /** @@ -35191,14 +35872,14 @@ public open class CfnChannel( * @param msSmoothOutputSettings The settings for a Microsoft Smooth output. */ override fun msSmoothOutputSettings(msSmoothOutputSettings: IResolvable) { - cdkBuilder.msSmoothOutputSettings(msSmoothOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.msSmoothOutputSettings(msSmoothOutputSettings.let(IResolvable.Companion::unwrap)) } /** * @param msSmoothOutputSettings The settings for a Microsoft Smooth output. */ override fun msSmoothOutputSettings(msSmoothOutputSettings: MsSmoothOutputSettingsProperty) { - cdkBuilder.msSmoothOutputSettings(msSmoothOutputSettings.let(MsSmoothOutputSettingsProperty::unwrap)) + cdkBuilder.msSmoothOutputSettings(msSmoothOutputSettings.let(MsSmoothOutputSettingsProperty.Companion::unwrap)) } /** @@ -35214,7 +35895,7 @@ public open class CfnChannel( * @param multiplexOutputSettings Configuration of a Multiplex output. */ override fun multiplexOutputSettings(multiplexOutputSettings: IResolvable) { - cdkBuilder.multiplexOutputSettings(multiplexOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexOutputSettings(multiplexOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -35222,7 +35903,7 @@ public open class CfnChannel( */ override fun multiplexOutputSettings(multiplexOutputSettings: MultiplexOutputSettingsProperty) { - cdkBuilder.multiplexOutputSettings(multiplexOutputSettings.let(MultiplexOutputSettingsProperty::unwrap)) + cdkBuilder.multiplexOutputSettings(multiplexOutputSettings.let(MultiplexOutputSettingsProperty.Companion::unwrap)) } /** @@ -35239,7 +35920,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun rtmpOutputSettings(rtmpOutputSettings: IResolvable) { - cdkBuilder.rtmpOutputSettings(rtmpOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.rtmpOutputSettings(rtmpOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -35247,7 +35928,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun rtmpOutputSettings(rtmpOutputSettings: RtmpOutputSettingsProperty) { - cdkBuilder.rtmpOutputSettings(rtmpOutputSettings.let(RtmpOutputSettingsProperty::unwrap)) + cdkBuilder.rtmpOutputSettings(rtmpOutputSettings.let(RtmpOutputSettingsProperty.Companion::unwrap)) } /** @@ -35265,7 +35946,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun udpOutputSettings(udpOutputSettings: IResolvable) { - cdkBuilder.udpOutputSettings(udpOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.udpOutputSettings(udpOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -35273,7 +35954,7 @@ public open class CfnChannel( * The parent of this entity is OutputGroupSettings. */ override fun udpOutputSettings(udpOutputSettings: UdpOutputSettingsProperty) { - cdkBuilder.udpOutputSettings(udpOutputSettings.let(UdpOutputSettingsProperty::unwrap)) + cdkBuilder.udpOutputSettings(udpOutputSettings.let(UdpOutputSettingsProperty.Companion::unwrap)) } /** @@ -35301,6 +35982,11 @@ public open class CfnChannel( */ override fun archiveOutputSettings(): Any? = unwrap(this).getArchiveOutputSettings() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-cmafingestoutputsettings) + */ + override fun cmafIngestOutputSettings(): Any? = unwrap(this).getCmafIngestOutputSettings() + /** * The settings for a frame capture output. * @@ -35678,7 +36364,7 @@ public open class CfnChannel( * gain adjustments. */ override fun channelMappings(channelMappings: IResolvable) { - cdkBuilder.channelMappings(channelMappings.let(IResolvable::unwrap)) + cdkBuilder.channelMappings(channelMappings.let(IResolvable.Companion::unwrap)) } /** @@ -36293,7 +36979,7 @@ public open class CfnChannel( * rtmp://host/appname). */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -36301,7 +36987,7 @@ public open class CfnChannel( * rtmp://host/appname). */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -37221,14 +37907,14 @@ public open class CfnChannel( * @param m3U8Settings Settings for the M3U8 container. */ override fun m3U8Settings(m3U8Settings: IResolvable) { - cdkBuilder.m3U8Settings(m3U8Settings.let(IResolvable::unwrap)) + cdkBuilder.m3U8Settings(m3U8Settings.let(IResolvable.Companion::unwrap)) } /** * @param m3U8Settings Settings for the M3U8 container. */ override fun m3U8Settings(m3U8Settings: M3u8SettingsProperty) { - cdkBuilder.m3U8Settings(m3U8Settings.let(M3u8SettingsProperty::unwrap)) + cdkBuilder.m3U8Settings(m3U8Settings.let(M3u8SettingsProperty.Companion::unwrap)) } /** @@ -37358,14 +38044,14 @@ public open class CfnChannel( * @param keyProviderServer The URL of the license server that is used for protecting content. */ override fun keyProviderServer(keyProviderServer: IResolvable) { - cdkBuilder.keyProviderServer(keyProviderServer.let(IResolvable::unwrap)) + cdkBuilder.keyProviderServer(keyProviderServer.let(IResolvable.Companion::unwrap)) } /** * @param keyProviderServer The URL of the license server that is used for protecting content. */ override fun keyProviderServer(keyProviderServer: InputLocationProperty) { - cdkBuilder.keyProviderServer(keyProviderServer.let(InputLocationProperty::unwrap)) + cdkBuilder.keyProviderServer(keyProviderServer.let(InputLocationProperty.Companion::unwrap)) } /** @@ -37567,7 +38253,7 @@ public open class CfnChannel( * that will be created using this Teletext source captions. */ override fun outputRectangle(outputRectangle: IResolvable) { - cdkBuilder.outputRectangle(outputRectangle.let(IResolvable::unwrap)) + cdkBuilder.outputRectangle(outputRectangle.let(IResolvable.Companion::unwrap)) } /** @@ -37575,7 +38261,7 @@ public open class CfnChannel( * that will be created using this Teletext source captions. */ override fun outputRectangle(outputRectangle: CaptionRectangleProperty) { - cdkBuilder.outputRectangle(outputRectangle.let(CaptionRectangleProperty::unwrap)) + cdkBuilder.outputRectangle(outputRectangle.let(CaptionRectangleProperty.Companion::unwrap)) } /** @@ -38332,14 +39018,14 @@ public open class CfnChannel( * @param m2TsSettings The M2TS configuration for this UDP output. */ override fun m2TsSettings(m2TsSettings: IResolvable) { - cdkBuilder.m2TsSettings(m2TsSettings.let(IResolvable::unwrap)) + cdkBuilder.m2TsSettings(m2TsSettings.let(IResolvable.Companion::unwrap)) } /** * @param m2TsSettings The M2TS configuration for this UDP output. */ override fun m2TsSettings(m2TsSettings: M2tsSettingsProperty) { - cdkBuilder.m2TsSettings(m2TsSettings.let(M2tsSettingsProperty::unwrap)) + cdkBuilder.m2TsSettings(m2TsSettings.let(M2tsSettingsProperty.Companion::unwrap)) } /** @@ -38766,14 +39452,14 @@ public open class CfnChannel( * @param containerSettings The settings for the UDP output. */ override fun containerSettings(containerSettings: IResolvable) { - cdkBuilder.containerSettings(containerSettings.let(IResolvable::unwrap)) + cdkBuilder.containerSettings(containerSettings.let(IResolvable.Companion::unwrap)) } /** * @param containerSettings The settings for the UDP output. */ override fun containerSettings(containerSettings: UdpContainerSettingsProperty) { - cdkBuilder.containerSettings(containerSettings.let(UdpContainerSettingsProperty::unwrap)) + cdkBuilder.containerSettings(containerSettings.let(UdpContainerSettingsProperty.Companion::unwrap)) } /** @@ -38791,7 +39477,7 @@ public open class CfnChannel( * udp://10.100.100.100:5002). */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -38800,7 +39486,7 @@ public open class CfnChannel( * udp://10.100.100.100:5002). */ override fun destination(destination: OutputLocationRefProperty) { - cdkBuilder.destination(destination.let(OutputLocationRefProperty::unwrap)) + cdkBuilder.destination(destination.let(OutputLocationRefProperty.Companion::unwrap)) } /** @@ -38818,7 +39504,7 @@ public open class CfnChannel( * on UDP outputs. */ override fun fecOutputSettings(fecOutputSettings: IResolvable) { - cdkBuilder.fecOutputSettings(fecOutputSettings.let(IResolvable::unwrap)) + cdkBuilder.fecOutputSettings(fecOutputSettings.let(IResolvable.Companion::unwrap)) } /** @@ -38826,7 +39512,7 @@ public open class CfnChannel( * on UDP outputs. */ override fun fecOutputSettings(fecOutputSettings: FecOutputSettingsProperty) { - cdkBuilder.fecOutputSettings(fecOutputSettings.let(FecOutputSettingsProperty::unwrap)) + cdkBuilder.fecOutputSettings(fecOutputSettings.let(FecOutputSettingsProperty.Companion::unwrap)) } /** @@ -39164,6 +39850,8 @@ public open class CfnChannel( * .lookAheadRateControl("lookAheadRateControl") * .maxBitrate(123) * .minIInterval(123) + * .mvOverPictureBoundaries("mvOverPictureBoundaries") + * .mvTemporalPredictor("mvTemporalPredictor") * .parDenominator(123) * .parNumerator(123) * .profile("profile") @@ -39173,12 +39861,16 @@ public open class CfnChannel( * .sceneChangeDetect("sceneChangeDetect") * .slices(123) * .tier("tier") + * .tileHeight(123) + * .tilePadding("tilePadding") + * .tileWidth(123) * .timecodeBurninSettings(TimecodeBurninSettingsProperty.builder() * .fontSize("fontSize") * .position("position") * .prefix("prefix") * .build()) * .timecodeInsertion("timecodeInsertion") + * .treeblockSize("treeblockSize") * .build()) * .mpeg2Settings(Mpeg2SettingsProperty.builder() * .adaptiveQuantization("adaptiveQuantization") @@ -39326,14 +40018,14 @@ public open class CfnChannel( * @param frameCaptureSettings The settings for the video codec in a frame capture output. */ override fun frameCaptureSettings(frameCaptureSettings: IResolvable) { - cdkBuilder.frameCaptureSettings(frameCaptureSettings.let(IResolvable::unwrap)) + cdkBuilder.frameCaptureSettings(frameCaptureSettings.let(IResolvable.Companion::unwrap)) } /** * @param frameCaptureSettings The settings for the video codec in a frame capture output. */ override fun frameCaptureSettings(frameCaptureSettings: FrameCaptureSettingsProperty) { - cdkBuilder.frameCaptureSettings(frameCaptureSettings.let(FrameCaptureSettingsProperty::unwrap)) + cdkBuilder.frameCaptureSettings(frameCaptureSettings.let(FrameCaptureSettingsProperty.Companion::unwrap)) } /** @@ -39349,14 +40041,14 @@ public open class CfnChannel( * @param h264Settings The settings for the H.264 codec in the output. */ override fun h264Settings(h264Settings: IResolvable) { - cdkBuilder.h264Settings(h264Settings.let(IResolvable::unwrap)) + cdkBuilder.h264Settings(h264Settings.let(IResolvable.Companion::unwrap)) } /** * @param h264Settings The settings for the H.264 codec in the output. */ override fun h264Settings(h264Settings: H264SettingsProperty) { - cdkBuilder.h264Settings(h264Settings.let(H264SettingsProperty::unwrap)) + cdkBuilder.h264Settings(h264Settings.let(H264SettingsProperty.Companion::unwrap)) } /** @@ -39371,14 +40063,14 @@ public open class CfnChannel( * @param h265Settings Settings for video encoded with the H265 codec. */ override fun h265Settings(h265Settings: IResolvable) { - cdkBuilder.h265Settings(h265Settings.let(IResolvable::unwrap)) + cdkBuilder.h265Settings(h265Settings.let(IResolvable.Companion::unwrap)) } /** * @param h265Settings Settings for video encoded with the H265 codec. */ override fun h265Settings(h265Settings: H265SettingsProperty) { - cdkBuilder.h265Settings(h265Settings.let(H265SettingsProperty::unwrap)) + cdkBuilder.h265Settings(h265Settings.let(H265SettingsProperty.Companion::unwrap)) } /** @@ -39393,14 +40085,14 @@ public open class CfnChannel( * @param mpeg2Settings Settings for video encoded with the MPEG-2 codec. */ override fun mpeg2Settings(mpeg2Settings: IResolvable) { - cdkBuilder.mpeg2Settings(mpeg2Settings.let(IResolvable::unwrap)) + cdkBuilder.mpeg2Settings(mpeg2Settings.let(IResolvable.Companion::unwrap)) } /** * @param mpeg2Settings Settings for video encoded with the MPEG-2 codec. */ override fun mpeg2Settings(mpeg2Settings: Mpeg2SettingsProperty) { - cdkBuilder.mpeg2Settings(mpeg2Settings.let(Mpeg2SettingsProperty::unwrap)) + cdkBuilder.mpeg2Settings(mpeg2Settings.let(Mpeg2SettingsProperty.Companion::unwrap)) } /** @@ -39579,6 +40271,8 @@ public open class CfnChannel( * .lookAheadRateControl("lookAheadRateControl") * .maxBitrate(123) * .minIInterval(123) + * .mvOverPictureBoundaries("mvOverPictureBoundaries") + * .mvTemporalPredictor("mvTemporalPredictor") * .parDenominator(123) * .parNumerator(123) * .profile("profile") @@ -39588,12 +40282,16 @@ public open class CfnChannel( * .sceneChangeDetect("sceneChangeDetect") * .slices(123) * .tier("tier") + * .tileHeight(123) + * .tilePadding("tilePadding") + * .tileWidth(123) * .timecodeBurninSettings(TimecodeBurninSettingsProperty.builder() * .fontSize("fontSize") * .position("position") * .prefix("prefix") * .build()) * .timecodeInsertion("timecodeInsertion") + * .treeblockSize("treeblockSize") * .build()) * .mpeg2Settings(Mpeg2SettingsProperty.builder() * .adaptiveQuantization("adaptiveQuantization") @@ -39790,14 +40488,14 @@ public open class CfnChannel( * @param codecSettings The video codec settings. */ override fun codecSettings(codecSettings: IResolvable) { - cdkBuilder.codecSettings(codecSettings.let(IResolvable::unwrap)) + cdkBuilder.codecSettings(codecSettings.let(IResolvable.Companion::unwrap)) } /** * @param codecSettings The video codec settings. */ override fun codecSettings(codecSettings: VideoCodecSettingsProperty) { - cdkBuilder.codecSettings(codecSettings.let(VideoCodecSettingsProperty::unwrap)) + cdkBuilder.codecSettings(codecSettings.let(VideoCodecSettingsProperty.Companion::unwrap)) } /** @@ -40033,14 +40731,14 @@ public open class CfnChannel( * @param hdr10Settings Settings to configure color space settings in the incoming video. */ override fun hdr10Settings(hdr10Settings: IResolvable) { - cdkBuilder.hdr10Settings(hdr10Settings.let(IResolvable::unwrap)) + cdkBuilder.hdr10Settings(hdr10Settings.let(IResolvable.Companion::unwrap)) } /** * @param hdr10Settings Settings to configure color space settings in the incoming video. */ override fun hdr10Settings(hdr10Settings: Hdr10SettingsProperty) { - cdkBuilder.hdr10Settings(hdr10Settings.let(Hdr10SettingsProperty::unwrap)) + cdkBuilder.hdr10Settings(hdr10Settings.let(Hdr10SettingsProperty.Companion::unwrap)) } /** @@ -40415,14 +41113,14 @@ public open class CfnChannel( * @param colorSpaceSettings Settings to configure color space settings in the incoming video. */ override fun colorSpaceSettings(colorSpaceSettings: IResolvable) { - cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(IResolvable::unwrap)) + cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(IResolvable.Companion::unwrap)) } /** * @param colorSpaceSettings Settings to configure color space settings in the incoming video. */ override fun colorSpaceSettings(colorSpaceSettings: VideoSelectorColorSpaceSettingsProperty) { - cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(VideoSelectorColorSpaceSettingsProperty::unwrap)) + cdkBuilder.colorSpaceSettings(colorSpaceSettings.let(VideoSelectorColorSpaceSettingsProperty.Companion::unwrap)) } /** @@ -40451,14 +41149,14 @@ public open class CfnChannel( * @param selectorSettings Information about the video to select from the content. */ override fun selectorSettings(selectorSettings: IResolvable) { - cdkBuilder.selectorSettings(selectorSettings.let(IResolvable::unwrap)) + cdkBuilder.selectorSettings(selectorSettings.let(IResolvable.Companion::unwrap)) } /** * @param selectorSettings Information about the video to select from the content. */ override fun selectorSettings(selectorSettings: VideoSelectorSettingsProperty) { - cdkBuilder.selectorSettings(selectorSettings.let(VideoSelectorSettingsProperty::unwrap)) + cdkBuilder.selectorSettings(selectorSettings.let(VideoSelectorSettingsProperty.Companion::unwrap)) } /** @@ -40624,14 +41322,14 @@ public open class CfnChannel( * @param videoSelectorPid Used to extract video by PID. */ override fun videoSelectorPid(videoSelectorPid: IResolvable) { - cdkBuilder.videoSelectorPid(videoSelectorPid.let(IResolvable::unwrap)) + cdkBuilder.videoSelectorPid(videoSelectorPid.let(IResolvable.Companion::unwrap)) } /** * @param videoSelectorPid Used to extract video by PID. */ override fun videoSelectorPid(videoSelectorPid: VideoSelectorPidProperty) { - cdkBuilder.videoSelectorPid(videoSelectorPid.let(VideoSelectorPidProperty::unwrap)) + cdkBuilder.videoSelectorPid(videoSelectorPid.let(VideoSelectorPidProperty.Companion::unwrap)) } /** @@ -40646,14 +41344,14 @@ public open class CfnChannel( * @param videoSelectorProgramId Used to extract video by program ID. */ override fun videoSelectorProgramId(videoSelectorProgramId: IResolvable) { - cdkBuilder.videoSelectorProgramId(videoSelectorProgramId.let(IResolvable::unwrap)) + cdkBuilder.videoSelectorProgramId(videoSelectorProgramId.let(IResolvable.Companion::unwrap)) } /** * @param videoSelectorProgramId Used to extract video by program ID. */ override fun videoSelectorProgramId(videoSelectorProgramId: VideoSelectorProgramIdProperty) { - cdkBuilder.videoSelectorProgramId(videoSelectorProgramId.let(VideoSelectorProgramIdProperty::unwrap)) + cdkBuilder.videoSelectorProgramId(videoSelectorProgramId.let(VideoSelectorProgramIdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannelProps.kt index 3dbbe57cd8..66627328ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnChannelProps.kt @@ -303,7 +303,7 @@ public interface CfnChannelProps { * @param cdiInputSpecification Specification of CDI inputs for this channel. */ override fun cdiInputSpecification(cdiInputSpecification: IResolvable) { - cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(IResolvable::unwrap)) + cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface CfnChannelProps { */ override fun cdiInputSpecification(cdiInputSpecification: CfnChannel.CdiInputSpecificationProperty) { - cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(CfnChannel.CdiInputSpecificationProperty::unwrap)) + cdkBuilder.cdiInputSpecification(cdiInputSpecification.let(CfnChannel.CdiInputSpecificationProperty.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface CfnChannelProps { * MediaLive output package. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -359,14 +359,14 @@ public interface CfnChannelProps { * @param encoderSettings The encoding configuration for the output content. */ override fun encoderSettings(encoderSettings: IResolvable) { - cdkBuilder.encoderSettings(encoderSettings.let(IResolvable::unwrap)) + cdkBuilder.encoderSettings(encoderSettings.let(IResolvable.Companion::unwrap)) } /** * @param encoderSettings The encoding configuration for the output content. */ override fun encoderSettings(encoderSettings: CfnChannel.EncoderSettingsProperty) { - cdkBuilder.encoderSettings(encoderSettings.let(CfnChannel.EncoderSettingsProperty::unwrap)) + cdkBuilder.encoderSettings(encoderSettings.let(CfnChannel.EncoderSettingsProperty.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public interface CfnChannelProps { * @param inputAttachments The list of input attachments for the channel. */ override fun inputAttachments(inputAttachments: IResolvable) { - cdkBuilder.inputAttachments(inputAttachments.let(IResolvable::unwrap)) + cdkBuilder.inputAttachments(inputAttachments.let(IResolvable.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface CfnChannelProps { * resolution, and the codec. */ override fun inputSpecification(inputSpecification: IResolvable) { - cdkBuilder.inputSpecification(inputSpecification.let(IResolvable::unwrap)) + cdkBuilder.inputSpecification(inputSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnChannelProps { * resolution, and the codec. */ override fun inputSpecification(inputSpecification: CfnChannel.InputSpecificationProperty) { - cdkBuilder.inputSpecification(inputSpecification.let(CfnChannel.InputSpecificationProperty::unwrap)) + cdkBuilder.inputSpecification(inputSpecification.let(CfnChannel.InputSpecificationProperty.Companion::unwrap)) } /** @@ -440,14 +440,14 @@ public interface CfnChannelProps { * @param maintenance Maintenance settings for this channel. */ override fun maintenance(maintenance: IResolvable) { - cdkBuilder.maintenance(maintenance.let(IResolvable::unwrap)) + cdkBuilder.maintenance(maintenance.let(IResolvable.Companion::unwrap)) } /** * @param maintenance Maintenance settings for this channel. */ override fun maintenance(maintenance: CfnChannel.MaintenanceCreateSettingsProperty) { - cdkBuilder.maintenance(maintenance.let(CfnChannel.MaintenanceCreateSettingsProperty::unwrap)) + cdkBuilder.maintenance(maintenance.let(CfnChannel.MaintenanceCreateSettingsProperty.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public interface CfnChannelProps { * are in your VPC. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface CfnChannelProps { * are in your VPC. */ override fun vpc(vpc: CfnChannel.VpcOutputSettingsProperty) { - cdkBuilder.vpc(vpc.let(CfnChannel.VpcOutputSettingsProperty::unwrap)) + cdkBuilder.vpc(vpc.let(CfnChannel.VpcOutputSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInput.kt index 525cd7f280..9d97c22747 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInput.kt @@ -65,7 +65,7 @@ public open class CfnInput( cdkObject: software.amazon.awscdk.services.medialive.CfnInput, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.medialive.CfnInput(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.medialive.CfnInput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -74,8 +74,8 @@ public open class CfnInput( id: String, props: CfnInputProps, ) : - this(software.amazon.awscdk.services.medialive.CfnInput(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInputProps::unwrap)) + this(software.amazon.awscdk.services.medialive.CfnInput(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInputProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnInput( * Settings that apply only if the input is a push type of input. */ public open fun destinations(`value`: IResolvable) { - unwrap(this).setDestinations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnInput( * Settings that apply only if the input is an Elemental Link input. */ public open fun inputDevices(`value`: IResolvable) { - unwrap(this).setInputDevices(`value`.let(IResolvable::unwrap)) + unwrap(this).setInputDevices(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnInput( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnInput( * Settings that apply only if the input is a MediaConnect input. */ public open fun mediaConnectFlows(`value`: IResolvable) { - unwrap(this).setMediaConnectFlows(`value`.let(IResolvable::unwrap)) + unwrap(this).setMediaConnectFlows(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnInput( * Settings that apply only if the input is a pull type of input. */ public open fun sources(`value`: IResolvable) { - unwrap(this).setSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -303,14 +303,14 @@ public open class CfnInput( * Settings that apply only if the input is an push input where the source is on Amazon VPC. */ public open fun vpc(`value`: IResolvable) { - unwrap(this).setVpc(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpc(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings that apply only if the input is an push input where the source is on Amazon VPC. */ public open fun vpc(`value`: InputVpcRequestProperty) { - unwrap(this).setVpc(`value`.let(InputVpcRequestProperty::unwrap)) + unwrap(this).setVpc(`value`.let(InputVpcRequestProperty.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnInput( * @param destinations Settings that apply only if the input is a push type of input. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public open class CfnInput( * @param inputDevices Settings that apply only if the input is an Elemental Link input. */ override fun inputDevices(inputDevices: IResolvable) { - cdkBuilder.inputDevices(inputDevices.let(IResolvable::unwrap)) + cdkBuilder.inputDevices(inputDevices.let(IResolvable.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class CfnInput( * @param mediaConnectFlows Settings that apply only if the input is a MediaConnect input. */ override fun mediaConnectFlows(mediaConnectFlows: IResolvable) { - cdkBuilder.mediaConnectFlows(mediaConnectFlows.let(IResolvable::unwrap)) + cdkBuilder.mediaConnectFlows(mediaConnectFlows.let(IResolvable.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnInput( * @param sources Settings that apply only if the input is a pull type of input. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public open class CfnInput( * Amazon VPC. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public open class CfnInput( * Amazon VPC. */ override fun vpc(vpc: InputVpcRequestProperty) { - cdkBuilder.vpc(vpc.let(InputVpcRequestProperty::unwrap)) + cdkBuilder.vpc(vpc.let(InputVpcRequestProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputProps.kt index 27830ce323..b63209cea4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputProps.kt @@ -257,7 +257,7 @@ public interface CfnInputProps { * @param destinations Settings that apply only if the input is a push type of input. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface CfnInputProps { * @param inputDevices Settings that apply only if the input is an Elemental Link input. */ override fun inputDevices(inputDevices: IResolvable) { - cdkBuilder.inputDevices(inputDevices.let(IResolvable::unwrap)) + cdkBuilder.inputDevices(inputDevices.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface CfnInputProps { * @param mediaConnectFlows Settings that apply only if the input is a MediaConnect input. */ override fun mediaConnectFlows(mediaConnectFlows: IResolvable) { - cdkBuilder.mediaConnectFlows(mediaConnectFlows.let(IResolvable::unwrap)) + cdkBuilder.mediaConnectFlows(mediaConnectFlows.let(IResolvable.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public interface CfnInputProps { * @param sources Settings that apply only if the input is a pull type of input. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnInputProps { * Amazon VPC. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public interface CfnInputProps { * Amazon VPC. */ override fun vpc(vpc: CfnInput.InputVpcRequestProperty) { - cdkBuilder.vpc(vpc.let(CfnInput.InputVpcRequestProperty::unwrap)) + cdkBuilder.vpc(vpc.let(CfnInput.InputVpcRequestProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroup.kt index 276fe8e6cb..6bab32c732 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroup.kt @@ -48,7 +48,7 @@ public open class CfnInputSecurityGroup( cdkObject: software.amazon.awscdk.services.medialive.CfnInputSecurityGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.medialive.CfnInputSecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.medialive.CfnInputSecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnInputSecurityGroup( id: String, props: CfnInputSecurityGroupProps, ) : - this(software.amazon.awscdk.services.medialive.CfnInputSecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInputSecurityGroupProps::unwrap)) + this(software.amazon.awscdk.services.medialive.CfnInputSecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInputSecurityGroupProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnInputSecurityGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnInputSecurityGroup( * The list of IPv4 CIDR addresses to include in the input security group as "allowed" addresses. */ public open fun whitelistRules(`value`: IResolvable) { - unwrap(this).setWhitelistRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setWhitelistRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnInputSecurityGroup( * as "allowed" addresses. */ override fun whitelistRules(whitelistRules: IResolvable) { - cdkBuilder.whitelistRules(whitelistRules.let(IResolvable::unwrap)) + cdkBuilder.whitelistRules(whitelistRules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroupProps.kt index d429adb946..2f2eb2bac6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnInputSecurityGroupProps.kt @@ -95,7 +95,7 @@ public interface CfnInputSecurityGroupProps { * as "allowed" addresses. */ override fun whitelistRules(whitelistRules: IResolvable) { - cdkBuilder.whitelistRules(whitelistRules.let(IResolvable::unwrap)) + cdkBuilder.whitelistRules(whitelistRules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplex.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplex.kt index aa952dd26b..bf73d1e6d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplex.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplex.kt @@ -63,8 +63,8 @@ public open class CfnMultiplex( id: String, props: CfnMultiplexProps, ) : - this(software.amazon.awscdk.services.medialive.CfnMultiplex(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMultiplexProps::unwrap)) + this(software.amazon.awscdk.services.medialive.CfnMultiplex(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMultiplexProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnMultiplex( * A list of the multiplex output destinations. */ public open fun destinations(`value`: IResolvable) { - unwrap(this).setDestinations(`value`.let(IResolvable::unwrap)) + unwrap(this).setDestinations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnMultiplex( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -165,14 +165,14 @@ public open class CfnMultiplex( * Configuration for a multiplex event. */ public open fun multiplexSettings(`value`: IResolvable) { - unwrap(this).setMultiplexSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiplexSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for a multiplex event. */ public open fun multiplexSettings(`value`: MultiplexSettingsProperty) { - unwrap(this).setMultiplexSettings(`value`.let(MultiplexSettingsProperty::unwrap)) + unwrap(this).setMultiplexSettings(`value`.let(MultiplexSettingsProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnMultiplex( * A collection of key-value pairs. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnMultiplex( * @param destinations A list of the multiplex output destinations. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnMultiplex( * @param multiplexSettings Configuration for a multiplex event. */ override fun multiplexSettings(multiplexSettings: IResolvable) { - cdkBuilder.multiplexSettings(multiplexSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexSettings(multiplexSettings.let(IResolvable.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnMultiplex( * @param multiplexSettings Configuration for a multiplex event. */ override fun multiplexSettings(multiplexSettings: MultiplexSettingsProperty) { - cdkBuilder.multiplexSettings(multiplexSettings.let(MultiplexSettingsProperty::unwrap)) + cdkBuilder.multiplexSettings(multiplexSettings.let(MultiplexSettingsProperty.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnMultiplex( * @param tags A collection of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -599,7 +599,7 @@ public open class CfnMultiplex( */ override fun multiplexMediaConnectOutputDestinationSettings(multiplexMediaConnectOutputDestinationSettings: IResolvable) { - cdkBuilder.multiplexMediaConnectOutputDestinationSettings(multiplexMediaConnectOutputDestinationSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexMediaConnectOutputDestinationSettings(multiplexMediaConnectOutputDestinationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnMultiplex( */ override fun multiplexMediaConnectOutputDestinationSettings(multiplexMediaConnectOutputDestinationSettings: MultiplexMediaConnectOutputDestinationSettingsProperty) { - cdkBuilder.multiplexMediaConnectOutputDestinationSettings(multiplexMediaConnectOutputDestinationSettings.let(MultiplexMediaConnectOutputDestinationSettingsProperty::unwrap)) + cdkBuilder.multiplexMediaConnectOutputDestinationSettings(multiplexMediaConnectOutputDestinationSettings.let(MultiplexMediaConnectOutputDestinationSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexProps.kt index df838e68f5..8b456f4765 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexProps.kt @@ -168,7 +168,7 @@ public interface CfnMultiplexProps { * @param destinations A list of the multiplex output destinations. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -187,14 +187,14 @@ public interface CfnMultiplexProps { * @param multiplexSettings Configuration for a multiplex event. */ override fun multiplexSettings(multiplexSettings: IResolvable) { - cdkBuilder.multiplexSettings(multiplexSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexSettings(multiplexSettings.let(IResolvable.Companion::unwrap)) } /** * @param multiplexSettings Configuration for a multiplex event. */ override fun multiplexSettings(multiplexSettings: CfnMultiplex.MultiplexSettingsProperty) { - cdkBuilder.multiplexSettings(multiplexSettings.let(CfnMultiplex.MultiplexSettingsProperty::unwrap)) + cdkBuilder.multiplexSettings(multiplexSettings.let(CfnMultiplex.MultiplexSettingsProperty.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public interface CfnMultiplexProps { * @param tags A collection of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogram.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogram.kt index ec63212b5f..ec2e8b25ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogram.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogram.kt @@ -78,7 +78,7 @@ public open class CfnMultiplexprogram( cdkObject: software.amazon.awscdk.services.medialive.CfnMultiplexprogram, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.medialive.CfnMultiplexprogram(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.medialive.CfnMultiplexprogram(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -87,8 +87,8 @@ public open class CfnMultiplexprogram( id: String, props: CfnMultiplexprogramProps, ) : - this(software.amazon.awscdk.services.medialive.CfnMultiplexprogram(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMultiplexprogramProps::unwrap)) + this(software.amazon.awscdk.services.medialive.CfnMultiplexprogram(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMultiplexprogramProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class CfnMultiplexprogram( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,14 +140,14 @@ public open class CfnMultiplexprogram( * Multiplex Program settings configuration. */ public open fun multiplexProgramSettings(`value`: IResolvable) { - unwrap(this).setMultiplexProgramSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiplexProgramSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Multiplex Program settings configuration. */ public open fun multiplexProgramSettings(`value`: MultiplexProgramSettingsProperty) { - unwrap(this).setMultiplexProgramSettings(`value`.let(MultiplexProgramSettingsProperty::unwrap)) + unwrap(this).setMultiplexProgramSettings(`value`.let(MultiplexProgramSettingsProperty.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnMultiplexprogram( * Packet identifiers map for a given Multiplex program. */ public open fun packetIdentifiersMap(`value`: IResolvable) { - unwrap(this).setPacketIdentifiersMap(`value`.let(IResolvable::unwrap)) + unwrap(this).setPacketIdentifiersMap(`value`.let(IResolvable.Companion::unwrap)) } /** * Packet identifiers map for a given Multiplex program. */ public open fun packetIdentifiersMap(`value`: MultiplexProgramPacketIdentifiersMapProperty) { - unwrap(this).setPacketIdentifiersMap(`value`.let(MultiplexProgramPacketIdentifiersMapProperty::unwrap)) + unwrap(this).setPacketIdentifiersMap(`value`.let(MultiplexProgramPacketIdentifiersMapProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnMultiplexprogram( * multiplex. */ public open fun pipelineDetails(`value`: IResolvable) { - unwrap(this).setPipelineDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setPipelineDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class CfnMultiplexprogram( * @param multiplexProgramSettings Multiplex Program settings configuration. */ override fun multiplexProgramSettings(multiplexProgramSettings: IResolvable) { - cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(IResolvable.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnMultiplexprogram( */ override fun multiplexProgramSettings(multiplexProgramSettings: MultiplexProgramSettingsProperty) { - cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(MultiplexProgramSettingsProperty::unwrap)) + cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(MultiplexProgramSettingsProperty.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public open class CfnMultiplexprogram( * @param packetIdentifiersMap Packet identifiers map for a given Multiplex program. */ override fun packetIdentifiersMap(packetIdentifiersMap: IResolvable) { - cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(IResolvable::unwrap)) + cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnMultiplexprogram( */ override fun packetIdentifiersMap(packetIdentifiersMap: MultiplexProgramPacketIdentifiersMapProperty) { - cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(MultiplexProgramPacketIdentifiersMapProperty::unwrap)) + cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(MultiplexProgramPacketIdentifiersMapProperty.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnMultiplexprogram( * program in the specified multiplex. */ override fun pipelineDetails(pipelineDetails: IResolvable) { - cdkBuilder.pipelineDetails(pipelineDetails.let(IResolvable::unwrap)) + cdkBuilder.pipelineDetails(pipelineDetails.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnMultiplexprogram( * @param audioPids the value to be set. */ override fun audioPids(audioPids: IResolvable) { - cdkBuilder.audioPids(audioPids.let(IResolvable::unwrap)) + cdkBuilder.audioPids(audioPids.let(IResolvable.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public open class CfnMultiplexprogram( * @param dvbSubPids the value to be set. */ override fun dvbSubPids(dvbSubPids: IResolvable) { - cdkBuilder.dvbSubPids(dvbSubPids.let(IResolvable::unwrap)) + cdkBuilder.dvbSubPids(dvbSubPids.let(IResolvable.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public open class CfnMultiplexprogram( * @param klvDataPids the value to be set. */ override fun klvDataPids(klvDataPids: IResolvable) { - cdkBuilder.klvDataPids(klvDataPids.let(IResolvable::unwrap)) + cdkBuilder.klvDataPids(klvDataPids.let(IResolvable.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public open class CfnMultiplexprogram( * @param scte27Pids the value to be set. */ override fun scte27Pids(scte27Pids: IResolvable) { - cdkBuilder.scte27Pids(scte27Pids.let(IResolvable::unwrap)) + cdkBuilder.scte27Pids(scte27Pids.let(IResolvable.Companion::unwrap)) } /** @@ -1385,7 +1385,7 @@ public open class CfnMultiplexprogram( * Multiplex program. */ override fun serviceDescriptor(serviceDescriptor: IResolvable) { - cdkBuilder.serviceDescriptor(serviceDescriptor.let(IResolvable::unwrap)) + cdkBuilder.serviceDescriptor(serviceDescriptor.let(IResolvable.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class CfnMultiplexprogram( * Multiplex program. */ override fun serviceDescriptor(serviceDescriptor: MultiplexProgramServiceDescriptorProperty) { - cdkBuilder.serviceDescriptor(serviceDescriptor.let(MultiplexProgramServiceDescriptorProperty::unwrap)) + cdkBuilder.serviceDescriptor(serviceDescriptor.let(MultiplexProgramServiceDescriptorProperty.Companion::unwrap)) } /** @@ -1410,14 +1410,14 @@ public open class CfnMultiplexprogram( * @param videoSettings Program video settings configuration. */ override fun videoSettings(videoSettings: IResolvable) { - cdkBuilder.videoSettings(videoSettings.let(IResolvable::unwrap)) + cdkBuilder.videoSettings(videoSettings.let(IResolvable.Companion::unwrap)) } /** * @param videoSettings Program video settings configuration. */ override fun videoSettings(videoSettings: MultiplexVideoSettingsProperty) { - cdkBuilder.videoSettings(videoSettings.let(MultiplexVideoSettingsProperty::unwrap)) + cdkBuilder.videoSettings(videoSettings.let(MultiplexVideoSettingsProperty.Companion::unwrap)) } /** @@ -1732,7 +1732,7 @@ public open class CfnMultiplexprogram( * When this field is defined, ConstantBitrate must be undefined. */ override fun statmuxSettings(statmuxSettings: IResolvable) { - cdkBuilder.statmuxSettings(statmuxSettings.let(IResolvable::unwrap)) + cdkBuilder.statmuxSettings(statmuxSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1740,7 +1740,7 @@ public open class CfnMultiplexprogram( * When this field is defined, ConstantBitrate must be undefined. */ override fun statmuxSettings(statmuxSettings: MultiplexStatmuxVideoSettingsProperty) { - cdkBuilder.statmuxSettings(statmuxSettings.let(MultiplexStatmuxVideoSettingsProperty::unwrap)) + cdkBuilder.statmuxSettings(statmuxSettings.let(MultiplexStatmuxVideoSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogramProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogramProps.kt index 96ef33918d..01eef4842a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogramProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/medialive/CfnMultiplexprogramProps.kt @@ -248,7 +248,7 @@ public interface CfnMultiplexprogramProps { * @param multiplexProgramSettings Multiplex Program settings configuration. */ override fun multiplexProgramSettings(multiplexProgramSettings: IResolvable) { - cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(IResolvable::unwrap)) + cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnMultiplexprogramProps { */ override fun multiplexProgramSettings(multiplexProgramSettings: CfnMultiplexprogram.MultiplexProgramSettingsProperty) { - cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(CfnMultiplexprogram.MultiplexProgramSettingsProperty::unwrap)) + cdkBuilder.multiplexProgramSettings(multiplexProgramSettings.let(CfnMultiplexprogram.MultiplexProgramSettingsProperty.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface CfnMultiplexprogramProps { * @param packetIdentifiersMap Packet identifiers map for a given Multiplex program. */ override fun packetIdentifiersMap(packetIdentifiersMap: IResolvable) { - cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(IResolvable::unwrap)) + cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(IResolvable.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface CfnMultiplexprogramProps { */ override fun packetIdentifiersMap(packetIdentifiersMap: CfnMultiplexprogram.MultiplexProgramPacketIdentifiersMapProperty) { - cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(CfnMultiplexprogram.MultiplexProgramPacketIdentifiersMapProperty::unwrap)) + cdkBuilder.packetIdentifiersMap(packetIdentifiersMap.let(CfnMultiplexprogram.MultiplexProgramPacketIdentifiersMapProperty.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnMultiplexprogramProps { * active at one time. */ override fun pipelineDetails(pipelineDetails: IResolvable) { - cdkBuilder.pipelineDetails(pipelineDetails.let(IResolvable::unwrap)) + cdkBuilder.pipelineDetails(pipelineDetails.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAsset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAsset.kt index be6e56cde1..a61bc2e7aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAsset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAsset.kt @@ -60,8 +60,8 @@ public open class CfnAsset( id: String, props: CfnAssetProps, ) : - this(software.amazon.awscdk.services.mediapackage.CfnAsset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssetProps::unwrap)) + this(software.amazon.awscdk.services.mediapackage.CfnAsset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssetProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnAsset( * List of playback endpoints that are available for this asset. */ public open fun egressEndpoints(`value`: IResolvable) { - unwrap(this).setEgressEndpoints(`value`.let(IResolvable::unwrap)) + unwrap(this).setEgressEndpoints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnAsset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnAsset( * The tags to assign to the asset. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnAsset( * @param egressEndpoints List of playback endpoints that are available for this asset. */ override fun egressEndpoints(egressEndpoints: IResolvable) { - cdkBuilder.egressEndpoints(egressEndpoints.let(IResolvable::unwrap)) + cdkBuilder.egressEndpoints(egressEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnAsset( * @param tags The tags to assign to the asset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAssetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAssetProps.kt index bed21e1ff2..f9f059f4a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAssetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnAssetProps.kt @@ -161,7 +161,7 @@ public interface CfnAssetProps { * @param egressEndpoints List of playback endpoints that are available for this asset. */ override fun egressEndpoints(egressEndpoints: IResolvable) { - cdkBuilder.egressEndpoints(egressEndpoints.let(IResolvable::unwrap)) + cdkBuilder.egressEndpoints(egressEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface CfnAssetProps { * @param tags The tags to assign to the asset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannel.kt index e4ba05e750..a96e35491a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannel.kt @@ -68,8 +68,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.mediapackage.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.mediapackage.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -107,14 +107,14 @@ public open class CfnChannel( * Configures egress access logs. */ public open fun egressAccessLogs(`value`: IResolvable) { - unwrap(this).setEgressAccessLogs(`value`.let(IResolvable::unwrap)) + unwrap(this).setEgressAccessLogs(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures egress access logs. */ public open fun egressAccessLogs(`value`: LogConfigurationProperty) { - unwrap(this).setEgressAccessLogs(`value`.let(LogConfigurationProperty::unwrap)) + unwrap(this).setEgressAccessLogs(`value`.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -134,14 +134,14 @@ public open class CfnChannel( * The input URL where the source stream should be sent. */ public open fun hlsIngest(`value`: IResolvable) { - unwrap(this).setHlsIngest(`value`.let(IResolvable::unwrap)) + unwrap(this).setHlsIngest(`value`.let(IResolvable.Companion::unwrap)) } /** * The input URL where the source stream should be sent. */ public open fun hlsIngest(`value`: HlsIngestProperty) { - unwrap(this).setHlsIngest(`value`.let(HlsIngestProperty::unwrap)) + unwrap(this).setHlsIngest(`value`.let(HlsIngestProperty.Companion::unwrap)) } /** @@ -173,14 +173,14 @@ public open class CfnChannel( * Configures ingress access logs. */ public open fun ingressAccessLogs(`value`: IResolvable) { - unwrap(this).setIngressAccessLogs(`value`.let(IResolvable::unwrap)) + unwrap(this).setIngressAccessLogs(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures ingress access logs. */ public open fun ingressAccessLogs(`value`: LogConfigurationProperty) { - unwrap(this).setIngressAccessLogs(`value`.let(LogConfigurationProperty::unwrap)) + unwrap(this).setIngressAccessLogs(`value`.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnChannel( * The tags to assign to the channel. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class CfnChannel( * @param egressAccessLogs Configures egress access logs. */ override fun egressAccessLogs(egressAccessLogs: IResolvable) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnChannel( * @param egressAccessLogs Configures egress access logs. */ override fun egressAccessLogs(egressAccessLogs: LogConfigurationProperty) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(LogConfigurationProperty::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnChannel( * @param hlsIngest The input URL where the source stream should be sent. */ override fun hlsIngest(hlsIngest: IResolvable) { - cdkBuilder.hlsIngest(hlsIngest.let(IResolvable::unwrap)) + cdkBuilder.hlsIngest(hlsIngest.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnChannel( * @param hlsIngest The input URL where the source stream should be sent. */ override fun hlsIngest(hlsIngest: HlsIngestProperty) { - cdkBuilder.hlsIngest(hlsIngest.let(HlsIngestProperty::unwrap)) + cdkBuilder.hlsIngest(hlsIngest.let(HlsIngestProperty.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnChannel( * @param ingressAccessLogs Configures ingress access logs. */ override fun ingressAccessLogs(ingressAccessLogs: IResolvable) { - cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(IResolvable::unwrap)) + cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnChannel( * @param ingressAccessLogs Configures ingress access logs. */ override fun ingressAccessLogs(ingressAccessLogs: LogConfigurationProperty) { - cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(LogConfigurationProperty::unwrap)) + cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class CfnChannel( * @param tags The tags to assign to the channel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class CfnChannel( * @param ingestEndpoints The input URL where the source stream should be sent. */ override fun ingestEndpoints(ingestEndpoints: IResolvable) { - cdkBuilder.ingestEndpoints(ingestEndpoints.let(IResolvable::unwrap)) + cdkBuilder.ingestEndpoints(ingestEndpoints.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannelProps.kt index b5803fa876..0323da67a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnChannelProps.kt @@ -189,14 +189,14 @@ public interface CfnChannelProps { * @param egressAccessLogs Configures egress access logs. */ override fun egressAccessLogs(egressAccessLogs: IResolvable) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable.Companion::unwrap)) } /** * @param egressAccessLogs Configures egress access logs. */ override fun egressAccessLogs(egressAccessLogs: CfnChannel.LogConfigurationProperty) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(CfnChannel.LogConfigurationProperty::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(CfnChannel.LogConfigurationProperty.Companion::unwrap)) } /** @@ -212,14 +212,14 @@ public interface CfnChannelProps { * @param hlsIngest The input URL where the source stream should be sent. */ override fun hlsIngest(hlsIngest: IResolvable) { - cdkBuilder.hlsIngest(hlsIngest.let(IResolvable::unwrap)) + cdkBuilder.hlsIngest(hlsIngest.let(IResolvable.Companion::unwrap)) } /** * @param hlsIngest The input URL where the source stream should be sent. */ override fun hlsIngest(hlsIngest: CfnChannel.HlsIngestProperty) { - cdkBuilder.hlsIngest(hlsIngest.let(CfnChannel.HlsIngestProperty::unwrap)) + cdkBuilder.hlsIngest(hlsIngest.let(CfnChannel.HlsIngestProperty.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public interface CfnChannelProps { * @param ingressAccessLogs Configures ingress access logs. */ override fun ingressAccessLogs(ingressAccessLogs: IResolvable) { - cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(IResolvable::unwrap)) + cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(IResolvable.Companion::unwrap)) } /** * @param ingressAccessLogs Configures ingress access logs. */ override fun ingressAccessLogs(ingressAccessLogs: CfnChannel.LogConfigurationProperty) { - cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(CfnChannel.LogConfigurationProperty::unwrap)) + cdkBuilder.ingressAccessLogs(ingressAccessLogs.let(CfnChannel.LogConfigurationProperty.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface CfnChannelProps { * @param tags The tags to assign to the channel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpoint.kt index f34126074d..31bd64e627 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpoint.kt @@ -206,8 +206,8 @@ public open class CfnOriginEndpoint( id: String, props: CfnOriginEndpointProps, ) : - this(software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOriginEndpointProps::unwrap)) + this(software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOriginEndpointProps.Companion::unwrap)) ) public constructor( @@ -238,14 +238,14 @@ public open class CfnOriginEndpoint( * Parameters for CDN authorization. */ public open fun authorization(`value`: IResolvable) { - unwrap(this).setAuthorization(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthorization(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for CDN authorization. */ public open fun authorization(`value`: AuthorizationProperty) { - unwrap(this).setAuthorization(`value`.let(AuthorizationProperty::unwrap)) + unwrap(this).setAuthorization(`value`.let(AuthorizationProperty.Companion::unwrap)) } /** @@ -277,14 +277,14 @@ public open class CfnOriginEndpoint( * Parameters for Common Media Application Format (CMAF) packaging. */ public open fun cmafPackage(`value`: IResolvable) { - unwrap(this).setCmafPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setCmafPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for Common Media Application Format (CMAF) packaging. */ public open fun cmafPackage(`value`: CmafPackageProperty) { - unwrap(this).setCmafPackage(`value`.let(CmafPackageProperty::unwrap)) + unwrap(this).setCmafPackage(`value`.let(CmafPackageProperty.Companion::unwrap)) } /** @@ -304,14 +304,14 @@ public open class CfnOriginEndpoint( * Parameters for DASH packaging. */ public open fun dashPackage(`value`: IResolvable) { - unwrap(this).setDashPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setDashPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for DASH packaging. */ public open fun dashPackage(`value`: DashPackageProperty) { - unwrap(this).setDashPackage(`value`.let(DashPackageProperty::unwrap)) + unwrap(this).setDashPackage(`value`.let(DashPackageProperty.Companion::unwrap)) } /** @@ -345,14 +345,14 @@ public open class CfnOriginEndpoint( * Parameters for Apple HLS packaging. */ public open fun hlsPackage(`value`: IResolvable) { - unwrap(this).setHlsPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setHlsPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for Apple HLS packaging. */ public open fun hlsPackage(`value`: HlsPackageProperty) { - unwrap(this).setHlsPackage(`value`.let(HlsPackageProperty::unwrap)) + unwrap(this).setHlsPackage(`value`.let(HlsPackageProperty.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnOriginEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -407,14 +407,14 @@ public open class CfnOriginEndpoint( * Parameters for Microsoft Smooth Streaming packaging. */ public open fun mssPackage(`value`: IResolvable) { - unwrap(this).setMssPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setMssPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for Microsoft Smooth Streaming packaging. */ public open fun mssPackage(`value`: MssPackageProperty) { - unwrap(this).setMssPackage(`value`.let(MssPackageProperty::unwrap)) + unwrap(this).setMssPackage(`value`.let(MssPackageProperty.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CfnOriginEndpoint( * The tags to assign to the endpoint. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class CfnOriginEndpoint( * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: IResolvable) { - cdkBuilder.authorization(authorization.let(IResolvable::unwrap)) + cdkBuilder.authorization(authorization.let(IResolvable.Companion::unwrap)) } /** @@ -771,7 +771,7 @@ public open class CfnOriginEndpoint( * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: AuthorizationProperty) { - cdkBuilder.authorization(authorization.let(AuthorizationProperty::unwrap)) + cdkBuilder.authorization(authorization.let(AuthorizationProperty.Companion::unwrap)) } /** @@ -802,7 +802,7 @@ public open class CfnOriginEndpoint( * @param cmafPackage Parameters for Common Media Application Format (CMAF) packaging. */ override fun cmafPackage(cmafPackage: IResolvable) { - cdkBuilder.cmafPackage(cmafPackage.let(IResolvable::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(IResolvable.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnOriginEndpoint( * @param cmafPackage Parameters for Common Media Application Format (CMAF) packaging. */ override fun cmafPackage(cmafPackage: CmafPackageProperty) { - cdkBuilder.cmafPackage(cmafPackage.let(CmafPackageProperty::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(CmafPackageProperty.Companion::unwrap)) } /** @@ -833,7 +833,7 @@ public open class CfnOriginEndpoint( * @param dashPackage Parameters for DASH packaging. */ override fun dashPackage(dashPackage: IResolvable) { - cdkBuilder.dashPackage(dashPackage.let(IResolvable::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(IResolvable.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class CfnOriginEndpoint( * @param dashPackage Parameters for DASH packaging. */ override fun dashPackage(dashPackage: DashPackageProperty) { - cdkBuilder.dashPackage(dashPackage.let(DashPackageProperty::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(DashPackageProperty.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnOriginEndpoint( * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: IResolvable) { - cdkBuilder.hlsPackage(hlsPackage.let(IResolvable::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(IResolvable.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public open class CfnOriginEndpoint( * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: HlsPackageProperty) { - cdkBuilder.hlsPackage(hlsPackage.let(HlsPackageProperty::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(HlsPackageProperty.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public open class CfnOriginEndpoint( * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: IResolvable) { - cdkBuilder.mssPackage(mssPackage.let(IResolvable::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(IResolvable.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnOriginEndpoint( * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: MssPackageProperty) { - cdkBuilder.mssPackage(mssPackage.let(MssPackageProperty::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(MssPackageProperty.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public open class CfnOriginEndpoint( * @param tags The tags to assign to the endpoint. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1327,14 +1327,14 @@ public open class CfnOriginEndpoint( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -1585,14 +1585,14 @@ public open class CfnOriginEndpoint( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: CmafEncryptionProperty) { - cdkBuilder.encryption(encryption.let(CmafEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(CmafEncryptionProperty.Companion::unwrap)) } /** @@ -1608,7 +1608,7 @@ public open class CfnOriginEndpoint( * endpoint. */ override fun hlsManifests(hlsManifests: IResolvable) { - cdkBuilder.hlsManifests(hlsManifests.let(IResolvable::unwrap)) + cdkBuilder.hlsManifests(hlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -1648,7 +1648,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -1656,7 +1656,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -1829,14 +1829,14 @@ public open class CfnOriginEndpoint( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -2381,14 +2381,14 @@ public open class CfnOriginEndpoint( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: DashEncryptionProperty) { - cdkBuilder.encryption(encryption.let(DashEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(DashEncryptionProperty.Companion::unwrap)) } /** @@ -2414,7 +2414,7 @@ public open class CfnOriginEndpoint( * the other tracks. If false, this extra stream is not included. */ override fun includeIframeOnlyStream(includeIframeOnlyStream: IResolvable) { - cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable::unwrap)) + cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable.Companion::unwrap)) } /** @@ -2532,7 +2532,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -2540,7 +2540,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -3213,21 +3213,21 @@ public open class CfnOriginEndpoint( * This might result in an increase in client requests to the DRM server. */ override fun repeatExtXKey(repeatExtXKey: IResolvable) { - cdkBuilder.repeatExtXKey(repeatExtXKey.let(IResolvable::unwrap)) + cdkBuilder.repeatExtXKey(repeatExtXKey.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -3655,7 +3655,7 @@ public open class CfnOriginEndpoint( * tracks. If false, this extra stream is not included. */ override fun includeIframeOnlyStream(includeIframeOnlyStream: IResolvable) { - cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable::unwrap)) + cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable.Companion::unwrap)) } /** @@ -4267,14 +4267,14 @@ public open class CfnOriginEndpoint( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: HlsEncryptionProperty) { - cdkBuilder.encryption(encryption.let(HlsEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(HlsEncryptionProperty.Companion::unwrap)) } /** @@ -4298,7 +4298,7 @@ public open class CfnOriginEndpoint( * broadcasting (DVB) subtitles into the output. */ override fun includeDvbSubtitles(includeDvbSubtitles: IResolvable) { - cdkBuilder.includeDvbSubtitles(includeDvbSubtitles.let(IResolvable::unwrap)) + cdkBuilder.includeDvbSubtitles(includeDvbSubtitles.let(IResolvable.Companion::unwrap)) } /** @@ -4316,7 +4316,7 @@ public open class CfnOriginEndpoint( * tracks. If false, this extra stream is not included. */ override fun includeIframeOnlyStream(includeIframeOnlyStream: IResolvable) { - cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable::unwrap)) + cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable.Companion::unwrap)) } /** @@ -4364,7 +4364,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -4372,7 +4372,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -4399,7 +4399,7 @@ public open class CfnOriginEndpoint( * All other tracks in the stream can be used with any audio rendition from the group. */ override fun useAudioRenditionGroup(useAudioRenditionGroup: IResolvable) { - cdkBuilder.useAudioRenditionGroup(useAudioRenditionGroup.let(IResolvable::unwrap)) + cdkBuilder.useAudioRenditionGroup(useAudioRenditionGroup.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4628,14 +4628,14 @@ public open class CfnOriginEndpoint( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -4811,14 +4811,14 @@ public open class CfnOriginEndpoint( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: MssEncryptionProperty) { - cdkBuilder.encryption(encryption.let(MssEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(MssEncryptionProperty.Companion::unwrap)) } /** @@ -4849,7 +4849,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -4857,7 +4857,7 @@ public open class CfnOriginEndpoint( * bitrate. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -5108,7 +5108,7 @@ public open class CfnOriginEndpoint( * presets to use. */ override fun encryptionContractConfiguration(encryptionContractConfiguration: IResolvable) { - cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5120,7 +5120,7 @@ public open class CfnOriginEndpoint( */ override fun encryptionContractConfiguration(encryptionContractConfiguration: EncryptionContractConfigurationProperty) { - cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(EncryptionContractConfigurationProperty::unwrap)) + cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(EncryptionContractConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpointProps.kt index 28bc3fc7e2..475425108b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnOriginEndpointProps.kt @@ -470,14 +470,14 @@ public interface CfnOriginEndpointProps { * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: IResolvable) { - cdkBuilder.authorization(authorization.let(IResolvable::unwrap)) + cdkBuilder.authorization(authorization.let(IResolvable.Companion::unwrap)) } /** * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: CfnOriginEndpoint.AuthorizationProperty) { - cdkBuilder.authorization(authorization.let(CfnOriginEndpoint.AuthorizationProperty::unwrap)) + cdkBuilder.authorization(authorization.let(CfnOriginEndpoint.AuthorizationProperty.Companion::unwrap)) } /** @@ -500,14 +500,14 @@ public interface CfnOriginEndpointProps { * @param cmafPackage Parameters for Common Media Application Format (CMAF) packaging. */ override fun cmafPackage(cmafPackage: IResolvable) { - cdkBuilder.cmafPackage(cmafPackage.let(IResolvable::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(IResolvable.Companion::unwrap)) } /** * @param cmafPackage Parameters for Common Media Application Format (CMAF) packaging. */ override fun cmafPackage(cmafPackage: CfnOriginEndpoint.CmafPackageProperty) { - cdkBuilder.cmafPackage(cmafPackage.let(CfnOriginEndpoint.CmafPackageProperty::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(CfnOriginEndpoint.CmafPackageProperty.Companion::unwrap)) } /** @@ -522,14 +522,14 @@ public interface CfnOriginEndpointProps { * @param dashPackage Parameters for DASH packaging. */ override fun dashPackage(dashPackage: IResolvable) { - cdkBuilder.dashPackage(dashPackage.let(IResolvable::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(IResolvable.Companion::unwrap)) } /** * @param dashPackage Parameters for DASH packaging. */ override fun dashPackage(dashPackage: CfnOriginEndpoint.DashPackageProperty) { - cdkBuilder.dashPackage(dashPackage.let(CfnOriginEndpoint.DashPackageProperty::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(CfnOriginEndpoint.DashPackageProperty.Companion::unwrap)) } /** @@ -552,14 +552,14 @@ public interface CfnOriginEndpointProps { * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: IResolvable) { - cdkBuilder.hlsPackage(hlsPackage.let(IResolvable::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(IResolvable.Companion::unwrap)) } /** * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: CfnOriginEndpoint.HlsPackageProperty) { - cdkBuilder.hlsPackage(hlsPackage.let(CfnOriginEndpoint.HlsPackageProperty::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(CfnOriginEndpoint.HlsPackageProperty.Companion::unwrap)) } /** @@ -590,14 +590,14 @@ public interface CfnOriginEndpointProps { * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: IResolvable) { - cdkBuilder.mssPackage(mssPackage.let(IResolvable::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(IResolvable.Companion::unwrap)) } /** * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: CfnOriginEndpoint.MssPackageProperty) { - cdkBuilder.mssPackage(mssPackage.let(CfnOriginEndpoint.MssPackageProperty::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(CfnOriginEndpoint.MssPackageProperty.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public interface CfnOriginEndpointProps { * @param tags The tags to assign to the endpoint. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfiguration.kt index 789ff2d481..09050545f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfiguration.kt @@ -175,8 +175,8 @@ public open class CfnPackagingConfiguration( id: String, props: CfnPackagingConfigurationProps, ) : - this(software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPackagingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPackagingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -202,14 +202,14 @@ public open class CfnPackagingConfiguration( * Parameters for CMAF packaging. */ public open fun cmafPackage(`value`: IResolvable) { - unwrap(this).setCmafPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setCmafPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for CMAF packaging. */ public open fun cmafPackage(`value`: CmafPackageProperty) { - unwrap(this).setCmafPackage(`value`.let(CmafPackageProperty::unwrap)) + unwrap(this).setCmafPackage(`value`.let(CmafPackageProperty.Companion::unwrap)) } /** @@ -229,14 +229,14 @@ public open class CfnPackagingConfiguration( * Parameters for DASH-ISO packaging. */ public open fun dashPackage(`value`: IResolvable) { - unwrap(this).setDashPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setDashPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for DASH-ISO packaging. */ public open fun dashPackage(`value`: DashPackageProperty) { - unwrap(this).setDashPackage(`value`.let(DashPackageProperty::unwrap)) + unwrap(this).setDashPackage(`value`.let(DashPackageProperty.Companion::unwrap)) } /** @@ -256,14 +256,14 @@ public open class CfnPackagingConfiguration( * Parameters for Apple HLS packaging. */ public open fun hlsPackage(`value`: IResolvable) { - unwrap(this).setHlsPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setHlsPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for Apple HLS packaging. */ public open fun hlsPackage(`value`: HlsPackageProperty) { - unwrap(this).setHlsPackage(`value`.let(HlsPackageProperty::unwrap)) + unwrap(this).setHlsPackage(`value`.let(HlsPackageProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnPackagingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -304,14 +304,14 @@ public open class CfnPackagingConfiguration( * Parameters for Microsoft Smooth Streaming packaging. */ public open fun mssPackage(`value`: IResolvable) { - unwrap(this).setMssPackage(`value`.let(IResolvable::unwrap)) + unwrap(this).setMssPackage(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for Microsoft Smooth Streaming packaging. */ public open fun mssPackage(`value`: MssPackageProperty) { - unwrap(this).setMssPackage(`value`.let(MssPackageProperty::unwrap)) + unwrap(this).setMssPackage(`value`.let(MssPackageProperty.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnPackagingConfiguration( * The tags to assign to the packaging configuration. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnPackagingConfiguration( * @param cmafPackage Parameters for CMAF packaging. */ override fun cmafPackage(cmafPackage: IResolvable) { - cdkBuilder.cmafPackage(cmafPackage.let(IResolvable::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(IResolvable.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnPackagingConfiguration( * @param cmafPackage Parameters for CMAF packaging. */ override fun cmafPackage(cmafPackage: CmafPackageProperty) { - cdkBuilder.cmafPackage(cmafPackage.let(CmafPackageProperty::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(CmafPackageProperty.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnPackagingConfiguration( * @param dashPackage Parameters for DASH-ISO packaging. */ override fun dashPackage(dashPackage: IResolvable) { - cdkBuilder.dashPackage(dashPackage.let(IResolvable::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnPackagingConfiguration( * @param dashPackage Parameters for DASH-ISO packaging. */ override fun dashPackage(dashPackage: DashPackageProperty) { - cdkBuilder.dashPackage(dashPackage.let(DashPackageProperty::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(DashPackageProperty.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public open class CfnPackagingConfiguration( * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: IResolvable) { - cdkBuilder.hlsPackage(hlsPackage.let(IResolvable::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnPackagingConfiguration( * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: HlsPackageProperty) { - cdkBuilder.hlsPackage(hlsPackage.let(HlsPackageProperty::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(HlsPackageProperty.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class CfnPackagingConfiguration( * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: IResolvable) { - cdkBuilder.mssPackage(mssPackage.let(IResolvable::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(IResolvable.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class CfnPackagingConfiguration( * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: MssPackageProperty) { - cdkBuilder.mssPackage(mssPackage.let(MssPackageProperty::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(MssPackageProperty.Companion::unwrap)) } /** @@ -661,7 +661,7 @@ public open class CfnPackagingConfiguration( * @param tags The tags to assign to the packaging configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -764,14 +764,14 @@ public open class CfnPackagingConfiguration( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -972,14 +972,14 @@ public open class CfnPackagingConfiguration( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: CmafEncryptionProperty) { - cdkBuilder.encryption(encryption.let(CmafEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(CmafEncryptionProperty.Companion::unwrap)) } /** @@ -995,7 +995,7 @@ public open class CfnPackagingConfiguration( * endpoint. */ override fun hlsManifests(hlsManifests: IResolvable) { - cdkBuilder.hlsManifests(hlsManifests.let(IResolvable::unwrap)) + cdkBuilder.hlsManifests(hlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnPackagingConfiguration( */ override fun includeEncoderConfigurationInSegments(includeEncoderConfigurationInSegments: IResolvable) { - cdkBuilder.includeEncoderConfigurationInSegments(includeEncoderConfigurationInSegments.let(IResolvable::unwrap)) + cdkBuilder.includeEncoderConfigurationInSegments(includeEncoderConfigurationInSegments.let(IResolvable.Companion::unwrap)) } /** @@ -1173,14 +1173,14 @@ public open class CfnPackagingConfiguration( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -1434,7 +1434,7 @@ public open class CfnPackagingConfiguration( * bitrate. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -1442,7 +1442,7 @@ public open class CfnPackagingConfiguration( * bitrate. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -1793,7 +1793,7 @@ public open class CfnPackagingConfiguration( * endpoint. */ override fun dashManifests(dashManifests: IResolvable) { - cdkBuilder.dashManifests(dashManifests.let(IResolvable::unwrap)) + cdkBuilder.dashManifests(dashManifests.let(IResolvable.Companion::unwrap)) } /** @@ -1815,14 +1815,14 @@ public open class CfnPackagingConfiguration( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: DashEncryptionProperty) { - cdkBuilder.encryption(encryption.let(DashEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(DashEncryptionProperty.Companion::unwrap)) } /** @@ -1854,7 +1854,7 @@ public open class CfnPackagingConfiguration( */ override fun includeEncoderConfigurationInSegments(includeEncoderConfigurationInSegments: IResolvable) { - cdkBuilder.includeEncoderConfigurationInSegments(includeEncoderConfigurationInSegments.let(IResolvable::unwrap)) + cdkBuilder.includeEncoderConfigurationInSegments(includeEncoderConfigurationInSegments.let(IResolvable.Companion::unwrap)) } /** @@ -1872,7 +1872,7 @@ public open class CfnPackagingConfiguration( * the other tracks. If false, this extra stream is not included. */ override fun includeIframeOnlyStream(includeIframeOnlyStream: IResolvable) { - cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable::unwrap)) + cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable.Companion::unwrap)) } /** @@ -2410,14 +2410,14 @@ public open class CfnPackagingConfiguration( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -2693,7 +2693,7 @@ public open class CfnPackagingConfiguration( * tracks. */ override fun includeIframeOnlyStream(includeIframeOnlyStream: IResolvable) { - cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable::unwrap)) + cdkBuilder.includeIframeOnlyStream(includeIframeOnlyStream.let(IResolvable.Companion::unwrap)) } /** @@ -2733,7 +2733,7 @@ public open class CfnPackagingConfiguration( * This might result in an increase in client requests to the DRM server. */ override fun repeatExtXKey(repeatExtXKey: IResolvable) { - cdkBuilder.repeatExtXKey(repeatExtXKey.let(IResolvable::unwrap)) + cdkBuilder.repeatExtXKey(repeatExtXKey.let(IResolvable.Companion::unwrap)) } /** @@ -2741,7 +2741,7 @@ public open class CfnPackagingConfiguration( * configuration. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -2749,7 +2749,7 @@ public open class CfnPackagingConfiguration( * configuration. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -3025,14 +3025,14 @@ public open class CfnPackagingConfiguration( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: HlsEncryptionProperty) { - cdkBuilder.encryption(encryption.let(HlsEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(HlsEncryptionProperty.Companion::unwrap)) } /** @@ -3048,7 +3048,7 @@ public open class CfnPackagingConfiguration( * endpoint. */ override fun hlsManifests(hlsManifests: IResolvable) { - cdkBuilder.hlsManifests(hlsManifests.let(IResolvable::unwrap)) + cdkBuilder.hlsManifests(hlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -3079,7 +3079,7 @@ public open class CfnPackagingConfiguration( * broadcasting (DVB) subtitles into the output. */ override fun includeDvbSubtitles(includeDvbSubtitles: IResolvable) { - cdkBuilder.includeDvbSubtitles(includeDvbSubtitles.let(IResolvable::unwrap)) + cdkBuilder.includeDvbSubtitles(includeDvbSubtitles.let(IResolvable.Companion::unwrap)) } /** @@ -3105,7 +3105,7 @@ public open class CfnPackagingConfiguration( * All other tracks in the stream can be used with any audio rendition from the group. */ override fun useAudioRenditionGroup(useAudioRenditionGroup: IResolvable) { - cdkBuilder.useAudioRenditionGroup(useAudioRenditionGroup.let(IResolvable::unwrap)) + cdkBuilder.useAudioRenditionGroup(useAudioRenditionGroup.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3241,14 +3241,14 @@ public open class CfnPackagingConfiguration( * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider Parameters for the SPEKE key provider. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -3381,7 +3381,7 @@ public open class CfnPackagingConfiguration( * configuration. */ override fun streamSelection(streamSelection: IResolvable) { - cdkBuilder.streamSelection(streamSelection.let(IResolvable::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(IResolvable.Companion::unwrap)) } /** @@ -3389,7 +3389,7 @@ public open class CfnPackagingConfiguration( * configuration. */ override fun streamSelection(streamSelection: StreamSelectionProperty) { - cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty::unwrap)) + cdkBuilder.streamSelection(streamSelection.let(StreamSelectionProperty.Companion::unwrap)) } /** @@ -3561,14 +3561,14 @@ public open class CfnPackagingConfiguration( * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Parameters for encrypting content. */ override fun encryption(encryption: MssEncryptionProperty) { - cdkBuilder.encryption(encryption.let(MssEncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(MssEncryptionProperty.Companion::unwrap)) } /** @@ -3584,7 +3584,7 @@ public open class CfnPackagingConfiguration( * from this endpoint. */ override fun mssManifests(mssManifests: IResolvable) { - cdkBuilder.mssManifests(mssManifests.let(IResolvable::unwrap)) + cdkBuilder.mssManifests(mssManifests.let(IResolvable.Companion::unwrap)) } /** @@ -3798,7 +3798,7 @@ public open class CfnPackagingConfiguration( * presets to use. */ override fun encryptionContractConfiguration(encryptionContractConfiguration: IResolvable) { - cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3810,7 +3810,7 @@ public open class CfnPackagingConfiguration( */ override fun encryptionContractConfiguration(encryptionContractConfiguration: EncryptionContractConfigurationProperty) { - cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(EncryptionContractConfigurationProperty::unwrap)) + cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(EncryptionContractConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfigurationProps.kt index cce760e627..b652e863fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingConfigurationProps.kt @@ -312,14 +312,14 @@ public interface CfnPackagingConfigurationProps { * @param cmafPackage Parameters for CMAF packaging. */ override fun cmafPackage(cmafPackage: IResolvable) { - cdkBuilder.cmafPackage(cmafPackage.let(IResolvable::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(IResolvable.Companion::unwrap)) } /** * @param cmafPackage Parameters for CMAF packaging. */ override fun cmafPackage(cmafPackage: CfnPackagingConfiguration.CmafPackageProperty) { - cdkBuilder.cmafPackage(cmafPackage.let(CfnPackagingConfiguration.CmafPackageProperty::unwrap)) + cdkBuilder.cmafPackage(cmafPackage.let(CfnPackagingConfiguration.CmafPackageProperty.Companion::unwrap)) } /** @@ -335,14 +335,14 @@ public interface CfnPackagingConfigurationProps { * @param dashPackage Parameters for DASH-ISO packaging. */ override fun dashPackage(dashPackage: IResolvable) { - cdkBuilder.dashPackage(dashPackage.let(IResolvable::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(IResolvable.Companion::unwrap)) } /** * @param dashPackage Parameters for DASH-ISO packaging. */ override fun dashPackage(dashPackage: CfnPackagingConfiguration.DashPackageProperty) { - cdkBuilder.dashPackage(dashPackage.let(CfnPackagingConfiguration.DashPackageProperty::unwrap)) + cdkBuilder.dashPackage(dashPackage.let(CfnPackagingConfiguration.DashPackageProperty.Companion::unwrap)) } /** @@ -358,14 +358,14 @@ public interface CfnPackagingConfigurationProps { * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: IResolvable) { - cdkBuilder.hlsPackage(hlsPackage.let(IResolvable::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(IResolvable.Companion::unwrap)) } /** * @param hlsPackage Parameters for Apple HLS packaging. */ override fun hlsPackage(hlsPackage: CfnPackagingConfiguration.HlsPackageProperty) { - cdkBuilder.hlsPackage(hlsPackage.let(CfnPackagingConfiguration.HlsPackageProperty::unwrap)) + cdkBuilder.hlsPackage(hlsPackage.let(CfnPackagingConfiguration.HlsPackageProperty.Companion::unwrap)) } /** @@ -388,14 +388,14 @@ public interface CfnPackagingConfigurationProps { * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: IResolvable) { - cdkBuilder.mssPackage(mssPackage.let(IResolvable::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(IResolvable.Companion::unwrap)) } /** * @param mssPackage Parameters for Microsoft Smooth Streaming packaging. */ override fun mssPackage(mssPackage: CfnPackagingConfiguration.MssPackageProperty) { - cdkBuilder.mssPackage(mssPackage.let(CfnPackagingConfiguration.MssPackageProperty::unwrap)) + cdkBuilder.mssPackage(mssPackage.let(CfnPackagingConfiguration.MssPackageProperty.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public interface CfnPackagingConfigurationProps { * @param tags The tags to assign to the packaging configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroup.kt index 74faf8b38b..9d081526d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroup.kt @@ -61,8 +61,8 @@ public open class CfnPackagingGroup( id: String, props: CfnPackagingGroupProps, ) : - this(software.amazon.awscdk.services.mediapackage.CfnPackagingGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPackagingGroupProps::unwrap)) + this(software.amazon.awscdk.services.mediapackage.CfnPackagingGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPackagingGroupProps.Companion::unwrap)) ) public constructor( @@ -93,14 +93,14 @@ public open class CfnPackagingGroup( * Parameters for CDN authorization. */ public open fun authorization(`value`: IResolvable) { - unwrap(this).setAuthorization(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuthorization(`value`.let(IResolvable.Companion::unwrap)) } /** * Parameters for CDN authorization. */ public open fun authorization(`value`: AuthorizationProperty) { - unwrap(this).setAuthorization(`value`.let(AuthorizationProperty::unwrap)) + unwrap(this).setAuthorization(`value`.let(AuthorizationProperty.Companion::unwrap)) } /** @@ -120,14 +120,14 @@ public open class CfnPackagingGroup( * The configuration parameters for egress access logging. */ public open fun egressAccessLogs(`value`: IResolvable) { - unwrap(this).setEgressAccessLogs(`value`.let(IResolvable::unwrap)) + unwrap(this).setEgressAccessLogs(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration parameters for egress access logging. */ public open fun egressAccessLogs(`value`: LogConfigurationProperty) { - unwrap(this).setEgressAccessLogs(`value`.let(LogConfigurationProperty::unwrap)) + unwrap(this).setEgressAccessLogs(`value`.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnPackagingGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnPackagingGroup( * The tags to assign to the packaging group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnPackagingGroup( * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: IResolvable) { - cdkBuilder.authorization(authorization.let(IResolvable::unwrap)) + cdkBuilder.authorization(authorization.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnPackagingGroup( * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: AuthorizationProperty) { - cdkBuilder.authorization(authorization.let(AuthorizationProperty::unwrap)) + cdkBuilder.authorization(authorization.let(AuthorizationProperty.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CfnPackagingGroup( * @param egressAccessLogs The configuration parameters for egress access logging. */ override fun egressAccessLogs(egressAccessLogs: IResolvable) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnPackagingGroup( * @param egressAccessLogs The configuration parameters for egress access logging. */ override fun egressAccessLogs(egressAccessLogs: LogConfigurationProperty) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(LogConfigurationProperty::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(LogConfigurationProperty.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnPackagingGroup( * @param tags The tags to assign to the packaging group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroupProps.kt index 63207ea935..23769f1f8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackage/CfnPackagingGroupProps.kt @@ -136,14 +136,14 @@ public interface CfnPackagingGroupProps { * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: IResolvable) { - cdkBuilder.authorization(authorization.let(IResolvable::unwrap)) + cdkBuilder.authorization(authorization.let(IResolvable.Companion::unwrap)) } /** * @param authorization Parameters for CDN authorization. */ override fun authorization(authorization: CfnPackagingGroup.AuthorizationProperty) { - cdkBuilder.authorization(authorization.let(CfnPackagingGroup.AuthorizationProperty::unwrap)) + cdkBuilder.authorization(authorization.let(CfnPackagingGroup.AuthorizationProperty.Companion::unwrap)) } /** @@ -159,14 +159,14 @@ public interface CfnPackagingGroupProps { * @param egressAccessLogs The configuration parameters for egress access logging. */ override fun egressAccessLogs(egressAccessLogs: IResolvable) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(IResolvable.Companion::unwrap)) } /** * @param egressAccessLogs The configuration parameters for egress access logging. */ override fun egressAccessLogs(egressAccessLogs: CfnPackagingGroup.LogConfigurationProperty) { - cdkBuilder.egressAccessLogs(egressAccessLogs.let(CfnPackagingGroup.LogConfigurationProperty::unwrap)) + cdkBuilder.egressAccessLogs(egressAccessLogs.let(CfnPackagingGroup.LogConfigurationProperty.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnPackagingGroupProps { * @param tags The tags to assign to the packaging group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannel.kt index ace1a4d2f9..de02c01d49 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannel.kt @@ -53,8 +53,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.mediapackagev2.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.mediapackagev2.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnChannel( * The tags associated with the channel. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnChannel( * @param tags The tags associated with the channel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroup.kt index 632da05231..37e329dede 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroup.kt @@ -45,8 +45,8 @@ public open class CfnChannelGroup( id: String, props: CfnChannelGroupProps, ) : - this(software.amazon.awscdk.services.mediapackagev2.CfnChannelGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelGroupProps::unwrap)) + this(software.amazon.awscdk.services.mediapackagev2.CfnChannelGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelGroupProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnChannelGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -124,7 +124,7 @@ public open class CfnChannelGroup( * The tags associated with the channel group. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnChannelGroup( * @param tags The tags associated with the channel group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroupProps.kt index 45c2baa0c3..da815615a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelGroupProps.kt @@ -103,7 +103,7 @@ public interface CfnChannelGroupProps { * @param tags The tags associated with the channel group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelPolicy.kt index e169f7a8c7..bbe69dd55f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelPolicy.kt @@ -39,8 +39,8 @@ public open class CfnChannelPolicy( id: String, props: CfnChannelPolicyProps, ) : - this(software.amazon.awscdk.services.mediapackagev2.CfnChannelPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelPolicyProps::unwrap)) + this(software.amazon.awscdk.services.mediapackagev2.CfnChannelPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelPolicyProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnChannelPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelProps.kt index b1de8c5b76..9038f46cfd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnChannelProps.kt @@ -124,7 +124,7 @@ public interface CfnChannelProps { * @param tags The tags associated with the channel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpoint.kt index 5b7b8f3125..62f66bba75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpoint.kt @@ -120,8 +120,8 @@ public open class CfnOriginEndpoint( id: String, props: CfnOriginEndpointProps, ) : - this(software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOriginEndpointProps::unwrap)) + this(software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOriginEndpointProps.Companion::unwrap)) ) public constructor( @@ -209,7 +209,7 @@ public open class CfnOriginEndpoint( * The HLS manfiests associated with the origin endpoint configuration. */ public open fun hlsManifests(`value`: IResolvable) { - unwrap(this).setHlsManifests(`value`.let(IResolvable::unwrap)) + unwrap(this).setHlsManifests(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnOriginEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnOriginEndpoint( * The low-latency HLS (LL-HLS) manifests associated with the origin endpoint. */ public open fun lowLatencyHlsManifests(`value`: IResolvable) { - unwrap(this).setLowLatencyHlsManifests(`value`.let(IResolvable::unwrap)) + unwrap(this).setLowLatencyHlsManifests(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -279,14 +279,14 @@ public open class CfnOriginEndpoint( * The segment associated with the origin endpoint. */ public open fun segment(`value`: IResolvable) { - unwrap(this).setSegment(`value`.let(IResolvable::unwrap)) + unwrap(this).setSegment(`value`.let(IResolvable.Companion::unwrap)) } /** * The segment associated with the origin endpoint. */ public open fun segment(`value`: SegmentProperty) { - unwrap(this).setSegment(`value`.let(SegmentProperty::unwrap)) + unwrap(this).setSegment(`value`.let(SegmentProperty.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnOriginEndpoint( * The tags associated with the origin endpoint. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class CfnOriginEndpoint( * @param hlsManifests The HLS manfiests associated with the origin endpoint configuration. */ override fun hlsManifests(hlsManifests: IResolvable) { - cdkBuilder.hlsManifests(hlsManifests.let(IResolvable::unwrap)) + cdkBuilder.hlsManifests(hlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class CfnOriginEndpoint( * origin endpoint. */ override fun lowLatencyHlsManifests(lowLatencyHlsManifests: IResolvable) { - cdkBuilder.lowLatencyHlsManifests(lowLatencyHlsManifests.let(IResolvable::unwrap)) + cdkBuilder.lowLatencyHlsManifests(lowLatencyHlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class CfnOriginEndpoint( * @param segment The segment associated with the origin endpoint. */ override fun segment(segment: IResolvable) { - cdkBuilder.segment(segment.let(IResolvable::unwrap)) + cdkBuilder.segment(segment.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnOriginEndpoint( * @param segment The segment associated with the origin endpoint. */ override fun segment(segment: SegmentProperty) { - cdkBuilder.segment(segment.let(SegmentProperty::unwrap)) + cdkBuilder.segment(segment.let(SegmentProperty.Companion::unwrap)) } /** @@ -652,7 +652,7 @@ public open class CfnOriginEndpoint( * @param tags The tags associated with the origin endpoint. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1121,14 +1121,14 @@ public open class CfnOriginEndpoint( * @param encryptionMethod The encryption method to use. */ override fun encryptionMethod(encryptionMethod: IResolvable) { - cdkBuilder.encryptionMethod(encryptionMethod.let(IResolvable::unwrap)) + cdkBuilder.encryptionMethod(encryptionMethod.let(IResolvable.Companion::unwrap)) } /** * @param encryptionMethod The encryption method to use. */ override fun encryptionMethod(encryptionMethod: EncryptionMethodProperty) { - cdkBuilder.encryptionMethod(encryptionMethod.let(EncryptionMethodProperty::unwrap)) + cdkBuilder.encryptionMethod(encryptionMethod.let(EncryptionMethodProperty.Companion::unwrap)) } /** @@ -1151,14 +1151,14 @@ public open class CfnOriginEndpoint( * @param spekeKeyProvider The SPEKE key provider to use for encryption. */ override fun spekeKeyProvider(spekeKeyProvider: IResolvable) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(IResolvable.Companion::unwrap)) } /** * @param spekeKeyProvider The SPEKE key provider to use for encryption. */ override fun spekeKeyProvider(spekeKeyProvider: SpekeKeyProviderProperty) { - cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty::unwrap)) + cdkBuilder.spekeKeyProvider(spekeKeyProvider.let(SpekeKeyProviderProperty.Companion::unwrap)) } /** @@ -1633,7 +1633,7 @@ public open class CfnOriginEndpoint( *

*/ override fun filterConfiguration(filterConfiguration: IResolvable) { - cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1643,7 +1643,7 @@ public open class CfnOriginEndpoint( *

*/ override fun filterConfiguration(filterConfiguration: FilterConfigurationProperty) { - cdkBuilder.filterConfiguration(filterConfiguration.let(FilterConfigurationProperty::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(FilterConfigurationProperty.Companion::unwrap)) } /** @@ -1687,7 +1687,7 @@ public open class CfnOriginEndpoint( * configuration. */ override fun scteHls(scteHls: IResolvable) { - cdkBuilder.scteHls(scteHls.let(IResolvable::unwrap)) + cdkBuilder.scteHls(scteHls.let(IResolvable.Companion::unwrap)) } /** @@ -1695,7 +1695,7 @@ public open class CfnOriginEndpoint( * configuration. */ override fun scteHls(scteHls: ScteHlsProperty) { - cdkBuilder.scteHls(scteHls.let(ScteHlsProperty::unwrap)) + cdkBuilder.scteHls(scteHls.let(ScteHlsProperty.Companion::unwrap)) } /** @@ -2011,7 +2011,7 @@ public open class CfnOriginEndpoint( *

*/ override fun filterConfiguration(filterConfiguration: IResolvable) { - cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2021,7 +2021,7 @@ public open class CfnOriginEndpoint( *

*/ override fun filterConfiguration(filterConfiguration: FilterConfigurationProperty) { - cdkBuilder.filterConfiguration(filterConfiguration.let(FilterConfigurationProperty::unwrap)) + cdkBuilder.filterConfiguration(filterConfiguration.let(FilterConfigurationProperty.Companion::unwrap)) } /** @@ -2075,7 +2075,7 @@ public open class CfnOriginEndpoint( * manifest configuration of the origin endpoint. */ override fun scteHls(scteHls: IResolvable) { - cdkBuilder.scteHls(scteHls.let(IResolvable::unwrap)) + cdkBuilder.scteHls(scteHls.let(IResolvable.Companion::unwrap)) } /** @@ -2083,7 +2083,7 @@ public open class CfnOriginEndpoint( * manifest configuration of the origin endpoint. */ override fun scteHls(scteHls: ScteHlsProperty) { - cdkBuilder.scteHls(scteHls.let(ScteHlsProperty::unwrap)) + cdkBuilder.scteHls(scteHls.let(ScteHlsProperty.Companion::unwrap)) } /** @@ -2554,14 +2554,14 @@ public open class CfnOriginEndpoint( * @param encryption Whether to use encryption for the segment. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** * @param encryption Whether to use encryption for the segment. */ override fun encryption(encryption: EncryptionProperty) { - cdkBuilder.encryption(encryption.let(EncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(EncryptionProperty.Companion::unwrap)) } /** @@ -2583,21 +2583,21 @@ public open class CfnOriginEndpoint( * @param includeIframeOnlyStreams Whether the segment includes I-frame-only streams. */ override fun includeIframeOnlyStreams(includeIframeOnlyStreams: IResolvable) { - cdkBuilder.includeIframeOnlyStreams(includeIframeOnlyStreams.let(IResolvable::unwrap)) + cdkBuilder.includeIframeOnlyStreams(includeIframeOnlyStreams.let(IResolvable.Companion::unwrap)) } /** * @param scte The SCTE-35 configuration associated with the segment. */ override fun scte(scte: IResolvable) { - cdkBuilder.scte(scte.let(IResolvable::unwrap)) + cdkBuilder.scte(scte.let(IResolvable.Companion::unwrap)) } /** * @param scte The SCTE-35 configuration associated with the segment. */ override fun scte(scte: ScteProperty) { - cdkBuilder.scte(scte.let(ScteProperty::unwrap)) + cdkBuilder.scte(scte.let(ScteProperty.Companion::unwrap)) } /** @@ -2632,7 +2632,7 @@ public open class CfnOriginEndpoint( * @param tsIncludeDvbSubtitles Whether the segment includes DVB subtitles. */ override fun tsIncludeDvbSubtitles(tsIncludeDvbSubtitles: IResolvable) { - cdkBuilder.tsIncludeDvbSubtitles(tsIncludeDvbSubtitles.let(IResolvable::unwrap)) + cdkBuilder.tsIncludeDvbSubtitles(tsIncludeDvbSubtitles.let(IResolvable.Companion::unwrap)) } /** @@ -2646,7 +2646,7 @@ public open class CfnOriginEndpoint( * @param tsUseAudioRenditionGroup Whether the segment is an audio rendition group. */ override fun tsUseAudioRenditionGroup(tsUseAudioRenditionGroup: IResolvable) { - cdkBuilder.tsUseAudioRenditionGroup(tsUseAudioRenditionGroup.let(IResolvable::unwrap)) + cdkBuilder.tsUseAudioRenditionGroup(tsUseAudioRenditionGroup.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2892,7 +2892,7 @@ public open class CfnOriginEndpoint( * with the SPEKE key provider. */ override fun encryptionContractConfiguration(encryptionContractConfiguration: IResolvable) { - cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2901,7 +2901,7 @@ public open class CfnOriginEndpoint( */ override fun encryptionContractConfiguration(encryptionContractConfiguration: EncryptionContractConfigurationProperty) { - cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(EncryptionContractConfigurationProperty::unwrap)) + cdkBuilder.encryptionContractConfiguration(encryptionContractConfiguration.let(EncryptionContractConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointPolicy.kt index 67d664bab4..3bffa8e832 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointPolicy.kt @@ -42,8 +42,8 @@ public open class CfnOriginEndpointPolicy( id: String, props: CfnOriginEndpointPolicyProps, ) : - this(software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpointPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOriginEndpointPolicyProps::unwrap)) + this(software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpointPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOriginEndpointPolicyProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnOriginEndpointPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointProps.kt index c66762daaf..7ab13d3f4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediapackagev2/CfnOriginEndpointProps.kt @@ -315,7 +315,7 @@ public interface CfnOriginEndpointProps { * @param hlsManifests The HLS manfiests associated with the origin endpoint configuration. */ override fun hlsManifests(hlsManifests: IResolvable) { - cdkBuilder.hlsManifests(hlsManifests.let(IResolvable::unwrap)) + cdkBuilder.hlsManifests(hlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface CfnOriginEndpointProps { * origin endpoint. */ override fun lowLatencyHlsManifests(lowLatencyHlsManifests: IResolvable) { - cdkBuilder.lowLatencyHlsManifests(lowLatencyHlsManifests.let(IResolvable::unwrap)) + cdkBuilder.lowLatencyHlsManifests(lowLatencyHlsManifests.let(IResolvable.Companion::unwrap)) } /** @@ -365,14 +365,14 @@ public interface CfnOriginEndpointProps { * @param segment The segment associated with the origin endpoint. */ override fun segment(segment: IResolvable) { - cdkBuilder.segment(segment.let(IResolvable::unwrap)) + cdkBuilder.segment(segment.let(IResolvable.Companion::unwrap)) } /** * @param segment The segment associated with the origin endpoint. */ override fun segment(segment: CfnOriginEndpoint.SegmentProperty) { - cdkBuilder.segment(segment.let(CfnOriginEndpoint.SegmentProperty::unwrap)) + cdkBuilder.segment(segment.let(CfnOriginEndpoint.SegmentProperty.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface CfnOriginEndpointProps { * @param tags The tags associated with the origin endpoint. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainer.kt index d7de14e884..9761885acd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainer.kt @@ -75,8 +75,8 @@ public open class CfnContainer( id: String, props: CfnContainerProps, ) : - this(software.amazon.awscdk.services.mediastore.CfnContainer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContainerProps::unwrap)) + this(software.amazon.awscdk.services.mediastore.CfnContainer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContainerProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnContainer( * The state of access logging on the container. */ public open fun accessLoggingEnabled(`value`: IResolvable) { - unwrap(this).setAccessLoggingEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessLoggingEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnContainer( * container can service cross-origin requests. */ public open fun corsPolicy(`value`: IResolvable) { - unwrap(this).setCorsPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setCorsPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class CfnContainer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -189,14 +189,14 @@ public open class CfnContainer( * The metric policy that is associated with the container. */ public open fun metricPolicy(`value`: IResolvable) { - unwrap(this).setMetricPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * The metric policy that is associated with the container. */ public open fun metricPolicy(`value`: MetricPolicyProperty) { - unwrap(this).setMetricPolicy(`value`.let(MetricPolicyProperty::unwrap)) + unwrap(this).setMetricPolicy(`value`.let(MetricPolicyProperty.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnContainer( * */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnContainer( * @param accessLoggingEnabled The state of access logging on the container. */ override fun accessLoggingEnabled(accessLoggingEnabled: IResolvable) { - cdkBuilder.accessLoggingEnabled(accessLoggingEnabled.let(IResolvable::unwrap)) + cdkBuilder.accessLoggingEnabled(accessLoggingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CfnContainer( * so that the container can service cross-origin requests. */ override fun corsPolicy(corsPolicy: IResolvable) { - cdkBuilder.corsPolicy(corsPolicy.let(IResolvable::unwrap)) + cdkBuilder.corsPolicy(corsPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class CfnContainer( * @param metricPolicy The metric policy that is associated with the container. */ override fun metricPolicy(metricPolicy: IResolvable) { - cdkBuilder.metricPolicy(metricPolicy.let(IResolvable::unwrap)) + cdkBuilder.metricPolicy(metricPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public open class CfnContainer( * @param metricPolicy The metric policy that is associated with the container. */ override fun metricPolicy(metricPolicy: MetricPolicyProperty) { - cdkBuilder.metricPolicy(metricPolicy.let(MetricPolicyProperty::unwrap)) + cdkBuilder.metricPolicy(metricPolicy.let(MetricPolicyProperty.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public open class CfnContainer( * @param tags */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1142,7 +1142,7 @@ public open class CfnContainer( * to allow up to 300 rules per policy. */ override fun metricPolicyRules(metricPolicyRules: IResolvable) { - cdkBuilder.metricPolicyRules(metricPolicyRules.let(IResolvable::unwrap)) + cdkBuilder.metricPolicyRules(metricPolicyRules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainerProps.kt index 93d7e3ff6c..849e04e5d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediastore/CfnContainerProps.kt @@ -323,7 +323,7 @@ public interface CfnContainerProps { * objects stored in that container to CloudWatch Logs. */ override fun accessLoggingEnabled(accessLoggingEnabled: IResolvable) { - cdkBuilder.accessLoggingEnabled(accessLoggingEnabled.let(IResolvable::unwrap)) + cdkBuilder.accessLoggingEnabled(accessLoggingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface CfnContainerProps { * MediaStore](https://docs.aws.amazon.com/mediastore/latest/ug/cors-policy.html) . */ override fun corsPolicy(corsPolicy: IResolvable) { - cdkBuilder.corsPolicy(corsPolicy.let(IResolvable::unwrap)) + cdkBuilder.corsPolicy(corsPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnContainerProps { * Policies](https://docs.aws.amazon.com/mediastore/latest/ug/policies-metric-examples.html) . */ override fun metricPolicy(metricPolicy: IResolvable) { - cdkBuilder.metricPolicy(metricPolicy.let(IResolvable::unwrap)) + cdkBuilder.metricPolicy(metricPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public interface CfnContainerProps { * Policies](https://docs.aws.amazon.com/mediastore/latest/ug/policies-metric-examples.html) . */ override fun metricPolicy(metricPolicy: CfnContainer.MetricPolicyProperty) { - cdkBuilder.metricPolicy(metricPolicy.let(CfnContainer.MetricPolicyProperty::unwrap)) + cdkBuilder.metricPolicy(metricPolicy.let(CfnContainer.MetricPolicyProperty.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public interface CfnContainerProps { * @param tags the value to be set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannel.kt index e25502e18c..4abed0a8ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannel.kt @@ -82,8 +82,8 @@ public open class CfnChannel( id: String, props: CfnChannelProps, ) : - this(software.amazon.awscdk.services.mediatailor.CfnChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelProps::unwrap)) + this(software.amazon.awscdk.services.mediatailor.CfnChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelProps.Companion::unwrap)) ) public constructor( @@ -142,14 +142,14 @@ public open class CfnChannel( * The slate used to fill gaps between programs in the schedule. */ public open fun fillerSlate(`value`: IResolvable) { - unwrap(this).setFillerSlate(`value`.let(IResolvable::unwrap)) + unwrap(this).setFillerSlate(`value`.let(IResolvable.Companion::unwrap)) } /** * The slate used to fill gaps between programs in the schedule. */ public open fun fillerSlate(`value`: SlateSourceProperty) { - unwrap(this).setFillerSlate(`value`.let(SlateSourceProperty::unwrap)) + unwrap(this).setFillerSlate(`value`.let(SlateSourceProperty.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -178,14 +178,14 @@ public open class CfnChannel( * The log configuration. */ public open fun logConfiguration(`value`: IResolvable) { - unwrap(this).setLogConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The log configuration. */ public open fun logConfiguration(`value`: LogConfigurationForChannelProperty) { - unwrap(this).setLogConfiguration(`value`.let(LogConfigurationForChannelProperty::unwrap)) + unwrap(this).setLogConfiguration(`value`.let(LogConfigurationForChannelProperty.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnChannel( * The channel's output properties. */ public open fun outputs(`value`: IResolvable) { - unwrap(this).setOutputs(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnChannel( * The tags to assign to the channel. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -270,14 +270,14 @@ public open class CfnChannel( * The configuration for time-shifted viewing. */ public open fun timeShiftConfiguration(`value`: IResolvable) { - unwrap(this).setTimeShiftConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTimeShiftConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for time-shifted viewing. */ public open fun timeShiftConfiguration(`value`: TimeShiftConfigurationProperty) { - unwrap(this).setTimeShiftConfiguration(`value`.let(TimeShiftConfigurationProperty::unwrap)) + unwrap(this).setTimeShiftConfiguration(`value`.let(TimeShiftConfigurationProperty.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnChannel( * @param fillerSlate The slate used to fill gaps between programs in the schedule. */ override fun fillerSlate(fillerSlate: IResolvable) { - cdkBuilder.fillerSlate(fillerSlate.let(IResolvable::unwrap)) + cdkBuilder.fillerSlate(fillerSlate.let(IResolvable.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class CfnChannel( * @param fillerSlate The slate used to fill gaps between programs in the schedule. */ override fun fillerSlate(fillerSlate: SlateSourceProperty) { - cdkBuilder.fillerSlate(fillerSlate.let(SlateSourceProperty::unwrap)) + cdkBuilder.fillerSlate(fillerSlate.let(SlateSourceProperty.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnChannel( * @param logConfiguration The log configuration. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class CfnChannel( * @param logConfiguration The log configuration. */ override fun logConfiguration(logConfiguration: LogConfigurationForChannelProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationForChannelProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(LogConfigurationForChannelProperty.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class CfnChannel( * @param outputs The channel's output properties. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public open class CfnChannel( * @param tags The tags to assign to the channel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public open class CfnChannel( * @param timeShiftConfiguration The configuration for time-shifted viewing. */ override fun timeShiftConfiguration(timeShiftConfiguration: IResolvable) { - cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(IResolvable::unwrap)) + cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -688,7 +688,7 @@ public open class CfnChannel( * @param timeShiftConfiguration The configuration for time-shifted viewing. */ override fun timeShiftConfiguration(timeShiftConfiguration: TimeShiftConfigurationProperty) { - cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(TimeShiftConfigurationProperty::unwrap)) + cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(TimeShiftConfigurationProperty.Companion::unwrap)) } /** @@ -1284,14 +1284,14 @@ public open class CfnChannel( * @param dashPlaylistSettings DASH manifest configuration parameters. */ override fun dashPlaylistSettings(dashPlaylistSettings: IResolvable) { - cdkBuilder.dashPlaylistSettings(dashPlaylistSettings.let(IResolvable::unwrap)) + cdkBuilder.dashPlaylistSettings(dashPlaylistSettings.let(IResolvable.Companion::unwrap)) } /** * @param dashPlaylistSettings DASH manifest configuration parameters. */ override fun dashPlaylistSettings(dashPlaylistSettings: DashPlaylistSettingsProperty) { - cdkBuilder.dashPlaylistSettings(dashPlaylistSettings.let(DashPlaylistSettingsProperty::unwrap)) + cdkBuilder.dashPlaylistSettings(dashPlaylistSettings.let(DashPlaylistSettingsProperty.Companion::unwrap)) } /** @@ -1307,14 +1307,14 @@ public open class CfnChannel( * @param hlsPlaylistSettings HLS playlist configuration parameters. */ override fun hlsPlaylistSettings(hlsPlaylistSettings: IResolvable) { - cdkBuilder.hlsPlaylistSettings(hlsPlaylistSettings.let(IResolvable::unwrap)) + cdkBuilder.hlsPlaylistSettings(hlsPlaylistSettings.let(IResolvable.Companion::unwrap)) } /** * @param hlsPlaylistSettings HLS playlist configuration parameters. */ override fun hlsPlaylistSettings(hlsPlaylistSettings: HlsPlaylistSettingsProperty) { - cdkBuilder.hlsPlaylistSettings(hlsPlaylistSettings.let(HlsPlaylistSettingsProperty::unwrap)) + cdkBuilder.hlsPlaylistSettings(hlsPlaylistSettings.let(HlsPlaylistSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelPolicy.kt index 395b4814da..7d0c7d13c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelPolicy.kt @@ -40,8 +40,8 @@ public open class CfnChannelPolicy( id: String, props: CfnChannelPolicyProps, ) : - this(software.amazon.awscdk.services.mediatailor.CfnChannelPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnChannelPolicyProps::unwrap)) + this(software.amazon.awscdk.services.mediatailor.CfnChannelPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnChannelPolicyProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnChannelPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelProps.kt index ef1ae5934c..c28bc01c6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnChannelProps.kt @@ -298,7 +298,7 @@ public interface CfnChannelProps { * MediaTailor doesn't support filler slate for channels using the `LOOP` `PlaybackMode` . */ override fun fillerSlate(fillerSlate: IResolvable) { - cdkBuilder.fillerSlate(fillerSlate.let(IResolvable::unwrap)) + cdkBuilder.fillerSlate(fillerSlate.let(IResolvable.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface CfnChannelProps { * MediaTailor doesn't support filler slate for channels using the `LOOP` `PlaybackMode` . */ override fun fillerSlate(fillerSlate: CfnChannel.SlateSourceProperty) { - cdkBuilder.fillerSlate(fillerSlate.let(CfnChannel.SlateSourceProperty::unwrap)) + cdkBuilder.fillerSlate(fillerSlate.let(CfnChannel.SlateSourceProperty.Companion::unwrap)) } /** @@ -324,14 +324,14 @@ public interface CfnChannelProps { * @param logConfiguration The log configuration. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param logConfiguration The log configuration. */ override fun logConfiguration(logConfiguration: CfnChannel.LogConfigurationForChannelProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(CfnChannel.LogConfigurationForChannelProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(CfnChannel.LogConfigurationForChannelProperty.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public interface CfnChannelProps { * @param outputs The channel's output properties. */ override fun outputs(outputs: IResolvable) { - cdkBuilder.outputs(outputs.let(IResolvable::unwrap)) + cdkBuilder.outputs(outputs.let(IResolvable.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnChannelProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public interface CfnChannelProps { * @param timeShiftConfiguration The configuration for time-shifted viewing. */ override fun timeShiftConfiguration(timeShiftConfiguration: IResolvable) { - cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(IResolvable::unwrap)) + cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnChannelProps { */ override fun timeShiftConfiguration(timeShiftConfiguration: CfnChannel.TimeShiftConfigurationProperty) { - cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(CfnChannel.TimeShiftConfigurationProperty::unwrap)) + cdkBuilder.timeShiftConfiguration(timeShiftConfiguration.let(CfnChannel.TimeShiftConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSource.kt index 95c5408a73..d2019ec1ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSource.kt @@ -54,8 +54,8 @@ public open class CfnLiveSource( id: String, props: CfnLiveSourceProps, ) : - this(software.amazon.awscdk.services.mediatailor.CfnLiveSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLiveSourceProps::unwrap)) + this(software.amazon.awscdk.services.mediatailor.CfnLiveSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLiveSourceProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnLiveSource( * The HTTP package configurations for the live source. */ public open fun httpPackageConfigurations(`value`: IResolvable) { - unwrap(this).setHttpPackageConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpPackageConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public open class CfnLiveSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnLiveSource( * The tags assigned to the live source. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnLiveSource( * @param httpPackageConfigurations The HTTP package configurations for the live source. */ override fun httpPackageConfigurations(httpPackageConfigurations: IResolvable) { - cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable::unwrap)) + cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class CfnLiveSource( * @param tags The tags assigned to the live source. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSourceProps.kt index 9a7a11d604..750182c1e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnLiveSourceProps.kt @@ -129,7 +129,7 @@ public interface CfnLiveSourceProps { * @param httpPackageConfigurations The HTTP package configurations for the live source. */ override fun httpPackageConfigurations(httpPackageConfigurations: IResolvable) { - cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable::unwrap)) + cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface CfnLiveSourceProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfiguration.kt index 6d05b82fcd..186b599e70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfiguration.kt @@ -90,8 +90,8 @@ public open class CfnPlaybackConfiguration( id: String, props: CfnPlaybackConfigurationProps, ) : - this(software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlaybackConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlaybackConfigurationProps.Companion::unwrap)) ) public constructor( @@ -158,14 +158,14 @@ public open class CfnPlaybackConfiguration( * The configuration for avail suppression, also known as ad suppression. */ public open fun availSuppression(`value`: IResolvable) { - unwrap(this).setAvailSuppression(`value`.let(IResolvable::unwrap)) + unwrap(this).setAvailSuppression(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for avail suppression, also known as ad suppression. */ public open fun availSuppression(`value`: AvailSuppressionProperty) { - unwrap(this).setAvailSuppression(`value`.let(AvailSuppressionProperty::unwrap)) + unwrap(this).setAvailSuppression(`value`.let(AvailSuppressionProperty.Companion::unwrap)) } /** @@ -185,14 +185,14 @@ public open class CfnPlaybackConfiguration( * The configuration for bumpers. */ public open fun bumper(`value`: IResolvable) { - unwrap(this).setBumper(`value`.let(IResolvable::unwrap)) + unwrap(this).setBumper(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for bumpers. */ public open fun bumper(`value`: BumperProperty) { - unwrap(this).setBumper(`value`.let(BumperProperty::unwrap)) + unwrap(this).setBumper(`value`.let(BumperProperty.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnPlaybackConfiguration( * content and ad segment management. */ public open fun cdnConfiguration(`value`: IResolvable) { - unwrap(this).setCdnConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCdnConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnPlaybackConfiguration( * content and ad segment management. */ public open fun cdnConfiguration(`value`: CdnConfigurationProperty) { - unwrap(this).setCdnConfiguration(`value`.let(CdnConfigurationProperty::unwrap)) + unwrap(this).setCdnConfiguration(`value`.let(CdnConfigurationProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnPlaybackConfiguration( * The player parameters and aliases used as dynamic variables during session initialization. */ public open fun configurationAliases(`value`: IResolvable) { - unwrap(this).setConfigurationAliases(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurationAliases(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -262,14 +262,14 @@ public open class CfnPlaybackConfiguration( * The configuration for a DASH source. */ public open fun dashConfiguration(`value`: IResolvable) { - unwrap(this).setDashConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDashConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for a DASH source. */ public open fun dashConfiguration(`value`: DashConfigurationProperty) { - unwrap(this).setDashConfiguration(`value`.let(DashConfigurationProperty::unwrap)) + unwrap(this).setDashConfiguration(`value`.let(DashConfigurationProperty.Companion::unwrap)) } /** @@ -289,14 +289,14 @@ public open class CfnPlaybackConfiguration( * The configuration for HLS content. */ public open fun hlsConfiguration(`value`: IResolvable) { - unwrap(this).setHlsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setHlsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for HLS content. */ public open fun hlsConfiguration(`value`: HlsConfigurationProperty) { - unwrap(this).setHlsConfiguration(`value`.let(HlsConfigurationProperty::unwrap)) + unwrap(this).setHlsConfiguration(`value`.let(HlsConfigurationProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnPlaybackConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -325,14 +325,14 @@ public open class CfnPlaybackConfiguration( * The configuration for pre-roll ad insertion. */ public open fun livePreRollConfiguration(`value`: IResolvable) { - unwrap(this).setLivePreRollConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLivePreRollConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for pre-roll ad insertion. */ public open fun livePreRollConfiguration(`value`: LivePreRollConfigurationProperty) { - unwrap(this).setLivePreRollConfiguration(`value`.let(LivePreRollConfigurationProperty::unwrap)) + unwrap(this).setLivePreRollConfiguration(`value`.let(LivePreRollConfigurationProperty.Companion::unwrap)) } /** @@ -353,14 +353,14 @@ public open class CfnPlaybackConfiguration( * The configuration for manifest processing rules. */ public open fun manifestProcessingRules(`value`: IResolvable) { - unwrap(this).setManifestProcessingRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setManifestProcessingRules(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for manifest processing rules. */ public open fun manifestProcessingRules(`value`: ManifestProcessingRulesProperty) { - unwrap(this).setManifestProcessingRules(`value`.let(ManifestProcessingRulesProperty::unwrap)) + unwrap(this).setManifestProcessingRules(`value`.let(ManifestProcessingRulesProperty.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class CfnPlaybackConfiguration( * The tags to assign to the playback configuration. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnPlaybackConfiguration( * suppression. */ override fun availSuppression(availSuppression: IResolvable) { - cdkBuilder.availSuppression(availSuppression.let(IResolvable::unwrap)) + cdkBuilder.availSuppression(availSuppression.let(IResolvable.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class CfnPlaybackConfiguration( * suppression. */ override fun availSuppression(availSuppression: AvailSuppressionProperty) { - cdkBuilder.availSuppression(availSuppression.let(AvailSuppressionProperty::unwrap)) + cdkBuilder.availSuppression(availSuppression.let(AvailSuppressionProperty.Companion::unwrap)) } /** @@ -888,7 +888,7 @@ public open class CfnPlaybackConfiguration( * @param bumper The configuration for bumpers. */ override fun bumper(bumper: IResolvable) { - cdkBuilder.bumper(bumper.let(IResolvable::unwrap)) + cdkBuilder.bumper(bumper.let(IResolvable.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class CfnPlaybackConfiguration( * @param bumper The configuration for bumpers. */ override fun bumper(bumper: BumperProperty) { - cdkBuilder.bumper(bumper.let(BumperProperty::unwrap)) + cdkBuilder.bumper(bumper.let(BumperProperty.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public open class CfnPlaybackConfiguration( * Amazon CloudFront, for content and ad segment management. */ override fun cdnConfiguration(cdnConfiguration: IResolvable) { - cdkBuilder.cdnConfiguration(cdnConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cdnConfiguration(cdnConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnPlaybackConfiguration( * Amazon CloudFront, for content and ad segment management. */ override fun cdnConfiguration(cdnConfiguration: CdnConfigurationProperty) { - cdkBuilder.cdnConfiguration(cdnConfiguration.let(CdnConfigurationProperty::unwrap)) + cdkBuilder.cdnConfiguration(cdnConfiguration.let(CdnConfigurationProperty.Companion::unwrap)) } /** @@ -968,7 +968,7 @@ public open class CfnPlaybackConfiguration( * during session initialization. */ override fun configurationAliases(configurationAliases: IResolvable) { - cdkBuilder.configurationAliases(configurationAliases.let(IResolvable::unwrap)) + cdkBuilder.configurationAliases(configurationAliases.let(IResolvable.Companion::unwrap)) } /** @@ -992,7 +992,7 @@ public open class CfnPlaybackConfiguration( * @param dashConfiguration The configuration for a DASH source. */ override fun dashConfiguration(dashConfiguration: IResolvable) { - cdkBuilder.dashConfiguration(dashConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dashConfiguration(dashConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1002,7 +1002,7 @@ public open class CfnPlaybackConfiguration( * @param dashConfiguration The configuration for a DASH source. */ override fun dashConfiguration(dashConfiguration: DashConfigurationProperty) { - cdkBuilder.dashConfiguration(dashConfiguration.let(DashConfigurationProperty::unwrap)) + cdkBuilder.dashConfiguration(dashConfiguration.let(DashConfigurationProperty.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class CfnPlaybackConfiguration( * @param hlsConfiguration The configuration for HLS content. */ override fun hlsConfiguration(hlsConfiguration: IResolvable) { - cdkBuilder.hlsConfiguration(hlsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.hlsConfiguration(hlsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1033,7 +1033,7 @@ public open class CfnPlaybackConfiguration( * @param hlsConfiguration The configuration for HLS content. */ override fun hlsConfiguration(hlsConfiguration: HlsConfigurationProperty) { - cdkBuilder.hlsConfiguration(hlsConfiguration.let(HlsConfigurationProperty::unwrap)) + cdkBuilder.hlsConfiguration(hlsConfiguration.let(HlsConfigurationProperty.Companion::unwrap)) } /** @@ -1054,7 +1054,7 @@ public open class CfnPlaybackConfiguration( * @param livePreRollConfiguration The configuration for pre-roll ad insertion. */ override fun livePreRollConfiguration(livePreRollConfiguration: IResolvable) { - cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(IResolvable::unwrap)) + cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class CfnPlaybackConfiguration( */ override fun livePreRollConfiguration(livePreRollConfiguration: LivePreRollConfigurationProperty) { - cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(LivePreRollConfigurationProperty::unwrap)) + cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(LivePreRollConfigurationProperty.Companion::unwrap)) } /** @@ -1090,7 +1090,7 @@ public open class CfnPlaybackConfiguration( * @param manifestProcessingRules The configuration for manifest processing rules. */ override fun manifestProcessingRules(manifestProcessingRules: IResolvable) { - cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(IResolvable::unwrap)) + cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(IResolvable.Companion::unwrap)) } /** @@ -1103,7 +1103,7 @@ public open class CfnPlaybackConfiguration( * @param manifestProcessingRules The configuration for manifest processing rules. */ override fun manifestProcessingRules(manifestProcessingRules: ManifestProcessingRulesProperty) { - cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(ManifestProcessingRulesProperty::unwrap)) + cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(ManifestProcessingRulesProperty.Companion::unwrap)) } /** @@ -1177,7 +1177,7 @@ public open class CfnPlaybackConfiguration( * @param tags The tags to assign to the playback configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1309,7 +1309,7 @@ public open class CfnPlaybackConfiguration( * @param enabled Enables ad marker passthrough for your configuration. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2273,7 +2273,7 @@ public open class CfnPlaybackConfiguration( * `60` , but no ads are filled for that ad break, MediaTailor will not set the value to `0` . */ override fun adMarkerPassthrough(adMarkerPassthrough: IResolvable) { - cdkBuilder.adMarkerPassthrough(adMarkerPassthrough.let(IResolvable::unwrap)) + cdkBuilder.adMarkerPassthrough(adMarkerPassthrough.let(IResolvable.Companion::unwrap)) } /** @@ -2284,7 +2284,7 @@ public open class CfnPlaybackConfiguration( * `60` , but no ads are filled for that ad break, MediaTailor will not set the value to `0` . */ override fun adMarkerPassthrough(adMarkerPassthrough: AdMarkerPassthroughProperty) { - cdkBuilder.adMarkerPassthrough(adMarkerPassthrough.let(AdMarkerPassthroughProperty::unwrap)) + cdkBuilder.adMarkerPassthrough(adMarkerPassthrough.let(AdMarkerPassthroughProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfigurationProps.kt index 69ee1b923e..afc4362f7d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnPlaybackConfigurationProps.kt @@ -490,7 +490,7 @@ public interface CfnPlaybackConfigurationProps { * Suppression](https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html) . */ override fun availSuppression(availSuppression: IResolvable) { - cdkBuilder.availSuppression(availSuppression.let(IResolvable::unwrap)) + cdkBuilder.availSuppression(availSuppression.let(IResolvable.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public interface CfnPlaybackConfigurationProps { */ override fun availSuppression(availSuppression: CfnPlaybackConfiguration.AvailSuppressionProperty) { - cdkBuilder.availSuppression(availSuppression.let(CfnPlaybackConfiguration.AvailSuppressionProperty::unwrap)) + cdkBuilder.availSuppression(availSuppression.let(CfnPlaybackConfiguration.AvailSuppressionProperty.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public interface CfnPlaybackConfigurationProps { * [Bumpers](https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html) . */ override fun bumper(bumper: IResolvable) { - cdkBuilder.bumper(bumper.let(IResolvable::unwrap)) + cdkBuilder.bumper(bumper.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public interface CfnPlaybackConfigurationProps { * [Bumpers](https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html) . */ override fun bumper(bumper: CfnPlaybackConfiguration.BumperProperty) { - cdkBuilder.bumper(bumper.let(CfnPlaybackConfiguration.BumperProperty::unwrap)) + cdkBuilder.bumper(bumper.let(CfnPlaybackConfiguration.BumperProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface CfnPlaybackConfigurationProps { * Amazon CloudFront, for content and ad segment management. */ override fun cdnConfiguration(cdnConfiguration: IResolvable) { - cdkBuilder.cdnConfiguration(cdnConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cdnConfiguration(cdnConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface CfnPlaybackConfigurationProps { */ override fun cdnConfiguration(cdnConfiguration: CfnPlaybackConfiguration.CdnConfigurationProperty) { - cdkBuilder.cdnConfiguration(cdnConfiguration.let(CfnPlaybackConfiguration.CdnConfigurationProperty::unwrap)) + cdkBuilder.cdnConfiguration(cdnConfiguration.let(CfnPlaybackConfiguration.CdnConfigurationProperty.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public interface CfnPlaybackConfigurationProps { * Variables](https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html) . */ override fun configurationAliases(configurationAliases: IResolvable) { - cdkBuilder.configurationAliases(configurationAliases.let(IResolvable::unwrap)) + cdkBuilder.configurationAliases(configurationAliases.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public interface CfnPlaybackConfigurationProps { * @param dashConfiguration The configuration for a DASH source. */ override fun dashConfiguration(dashConfiguration: IResolvable) { - cdkBuilder.dashConfiguration(dashConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dashConfiguration(dashConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface CfnPlaybackConfigurationProps { */ override fun dashConfiguration(dashConfiguration: CfnPlaybackConfiguration.DashConfigurationProperty) { - cdkBuilder.dashConfiguration(dashConfiguration.let(CfnPlaybackConfiguration.DashConfigurationProperty::unwrap)) + cdkBuilder.dashConfiguration(dashConfiguration.let(CfnPlaybackConfiguration.DashConfigurationProperty.Companion::unwrap)) } /** @@ -623,7 +623,7 @@ public interface CfnPlaybackConfigurationProps { * @param hlsConfiguration The configuration for HLS content. */ override fun hlsConfiguration(hlsConfiguration: IResolvable) { - cdkBuilder.hlsConfiguration(hlsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.hlsConfiguration(hlsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public interface CfnPlaybackConfigurationProps { */ override fun hlsConfiguration(hlsConfiguration: CfnPlaybackConfiguration.HlsConfigurationProperty) { - cdkBuilder.hlsConfiguration(hlsConfiguration.let(CfnPlaybackConfiguration.HlsConfigurationProperty::unwrap)) + cdkBuilder.hlsConfiguration(hlsConfiguration.let(CfnPlaybackConfiguration.HlsConfigurationProperty.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public interface CfnPlaybackConfigurationProps { * @param livePreRollConfiguration The configuration for pre-roll ad insertion. */ override fun livePreRollConfiguration(livePreRollConfiguration: IResolvable) { - cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(IResolvable::unwrap)) + cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public interface CfnPlaybackConfigurationProps { */ override fun livePreRollConfiguration(livePreRollConfiguration: CfnPlaybackConfiguration.LivePreRollConfigurationProperty) { - cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(CfnPlaybackConfiguration.LivePreRollConfigurationProperty::unwrap)) + cdkBuilder.livePreRollConfiguration(livePreRollConfiguration.let(CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Companion::unwrap)) } /** @@ -674,7 +674,7 @@ public interface CfnPlaybackConfigurationProps { * MediaTailor. */ override fun manifestProcessingRules(manifestProcessingRules: IResolvable) { - cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(IResolvable::unwrap)) + cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(IResolvable.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public interface CfnPlaybackConfigurationProps { */ override fun manifestProcessingRules(manifestProcessingRules: CfnPlaybackConfiguration.ManifestProcessingRulesProperty) { - cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(CfnPlaybackConfiguration.ManifestProcessingRulesProperty::unwrap)) + cdkBuilder.manifestProcessingRules(manifestProcessingRules.let(CfnPlaybackConfiguration.ManifestProcessingRulesProperty.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public interface CfnPlaybackConfigurationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocation.kt index 45921d438c..ae0039a302 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocation.kt @@ -72,8 +72,8 @@ public open class CfnSourceLocation( id: String, props: CfnSourceLocationProps, ) : - this(software.amazon.awscdk.services.mediatailor.CfnSourceLocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSourceLocationProps::unwrap)) + this(software.amazon.awscdk.services.mediatailor.CfnSourceLocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSourceLocationProps.Companion::unwrap)) ) public constructor( @@ -92,14 +92,14 @@ public open class CfnSourceLocation( * The access configuration for the source location. */ public open fun accessConfiguration(`value`: IResolvable) { - unwrap(this).setAccessConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The access configuration for the source location. */ public open fun accessConfiguration(`value`: AccessConfigurationProperty) { - unwrap(this).setAccessConfiguration(`value`.let(AccessConfigurationProperty::unwrap)) + unwrap(this).setAccessConfiguration(`value`.let(AccessConfigurationProperty.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnSourceLocation( * The default segment delivery configuration. */ public open fun defaultSegmentDeliveryConfiguration(`value`: IResolvable) { - unwrap(this).setDefaultSegmentDeliveryConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultSegmentDeliveryConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnSourceLocation( */ public open fun defaultSegmentDeliveryConfiguration(`value`: DefaultSegmentDeliveryConfigurationProperty) { - unwrap(this).setDefaultSegmentDeliveryConfiguration(`value`.let(DefaultSegmentDeliveryConfigurationProperty::unwrap)) + unwrap(this).setDefaultSegmentDeliveryConfiguration(`value`.let(DefaultSegmentDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -161,14 +161,14 @@ public open class CfnSourceLocation( * The HTTP configuration for the source location. */ public open fun httpConfiguration(`value`: IResolvable) { - unwrap(this).setHttpConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The HTTP configuration for the source location. */ public open fun httpConfiguration(`value`: HttpConfigurationProperty) { - unwrap(this).setHttpConfiguration(`value`.let(HttpConfigurationProperty::unwrap)) + unwrap(this).setHttpConfiguration(`value`.let(HttpConfigurationProperty.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnSourceLocation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnSourceLocation( * The segment delivery configurations for the source location. */ public open fun segmentDeliveryConfigurations(`value`: IResolvable) { - unwrap(this).setSegmentDeliveryConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setSegmentDeliveryConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnSourceLocation( * The tags assigned to the source location. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnSourceLocation( * @param accessConfiguration The access configuration for the source location. */ override fun accessConfiguration(accessConfiguration: IResolvable) { - cdkBuilder.accessConfiguration(accessConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accessConfiguration(accessConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class CfnSourceLocation( * @param accessConfiguration The access configuration for the source location. */ override fun accessConfiguration(accessConfiguration: AccessConfigurationProperty) { - cdkBuilder.accessConfiguration(accessConfiguration.let(AccessConfigurationProperty::unwrap)) + cdkBuilder.accessConfiguration(accessConfiguration.let(AccessConfigurationProperty.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CfnSourceLocation( */ override fun defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration: IResolvable) { - cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnSourceLocation( */ override fun defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfigurationProperty) { - cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(DefaultSegmentDeliveryConfigurationProperty::unwrap)) + cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(DefaultSegmentDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnSourceLocation( * @param httpConfiguration The HTTP configuration for the source location. */ override fun httpConfiguration(httpConfiguration: IResolvable) { - cdkBuilder.httpConfiguration(httpConfiguration.let(IResolvable::unwrap)) + cdkBuilder.httpConfiguration(httpConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnSourceLocation( * @param httpConfiguration The HTTP configuration for the source location. */ override fun httpConfiguration(httpConfiguration: HttpConfigurationProperty) { - cdkBuilder.httpConfiguration(httpConfiguration.let(HttpConfigurationProperty::unwrap)) + cdkBuilder.httpConfiguration(httpConfiguration.let(HttpConfigurationProperty.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class CfnSourceLocation( * location. */ override fun segmentDeliveryConfigurations(segmentDeliveryConfigurations: IResolvable) { - cdkBuilder.segmentDeliveryConfigurations(segmentDeliveryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.segmentDeliveryConfigurations(segmentDeliveryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnSourceLocation( * @param tags The tags assigned to the source location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnSourceLocation( */ override fun secretsManagerAccessTokenConfiguration(secretsManagerAccessTokenConfiguration: IResolvable) { - cdkBuilder.secretsManagerAccessTokenConfiguration(secretsManagerAccessTokenConfiguration.let(IResolvable::unwrap)) + cdkBuilder.secretsManagerAccessTokenConfiguration(secretsManagerAccessTokenConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -745,7 +745,7 @@ public open class CfnSourceLocation( */ override fun secretsManagerAccessTokenConfiguration(secretsManagerAccessTokenConfiguration: SecretsManagerAccessTokenConfigurationProperty) { - cdkBuilder.secretsManagerAccessTokenConfiguration(secretsManagerAccessTokenConfiguration.let(SecretsManagerAccessTokenConfigurationProperty::unwrap)) + cdkBuilder.secretsManagerAccessTokenConfiguration(secretsManagerAccessTokenConfiguration.let(SecretsManagerAccessTokenConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocationProps.kt index 7f5044279e..b272c54f61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnSourceLocationProps.kt @@ -212,7 +212,7 @@ public interface CfnSourceLocationProps { * @param accessConfiguration The access configuration for the source location. */ override fun accessConfiguration(accessConfiguration: IResolvable) { - cdkBuilder.accessConfiguration(accessConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accessConfiguration(accessConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public interface CfnSourceLocationProps { */ override fun accessConfiguration(accessConfiguration: CfnSourceLocation.AccessConfigurationProperty) { - cdkBuilder.accessConfiguration(accessConfiguration.let(CfnSourceLocation.AccessConfigurationProperty::unwrap)) + cdkBuilder.accessConfiguration(accessConfiguration.let(CfnSourceLocation.AccessConfigurationProperty.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public interface CfnSourceLocationProps { */ override fun defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration: IResolvable) { - cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public interface CfnSourceLocationProps { */ override fun defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration: CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty) { - cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty::unwrap)) + cdkBuilder.defaultSegmentDeliveryConfiguration(defaultSegmentDeliveryConfiguration.let(CfnSourceLocation.DefaultSegmentDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -263,14 +263,14 @@ public interface CfnSourceLocationProps { * @param httpConfiguration The HTTP configuration for the source location. */ override fun httpConfiguration(httpConfiguration: IResolvable) { - cdkBuilder.httpConfiguration(httpConfiguration.let(IResolvable::unwrap)) + cdkBuilder.httpConfiguration(httpConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param httpConfiguration The HTTP configuration for the source location. */ override fun httpConfiguration(httpConfiguration: CfnSourceLocation.HttpConfigurationProperty) { - cdkBuilder.httpConfiguration(httpConfiguration.let(CfnSourceLocation.HttpConfigurationProperty::unwrap)) + cdkBuilder.httpConfiguration(httpConfiguration.let(CfnSourceLocation.HttpConfigurationProperty.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface CfnSourceLocationProps { * location. */ override fun segmentDeliveryConfigurations(segmentDeliveryConfigurations: IResolvable) { - cdkBuilder.segmentDeliveryConfigurations(segmentDeliveryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.segmentDeliveryConfigurations(segmentDeliveryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface CfnSourceLocationProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSource.kt index a9969b09ac..358ab4ec50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSource.kt @@ -54,8 +54,8 @@ public open class CfnVodSource( id: String, props: CfnVodSourceProps, ) : - this(software.amazon.awscdk.services.mediatailor.CfnVodSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVodSourceProps::unwrap)) + this(software.amazon.awscdk.services.mediatailor.CfnVodSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVodSourceProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnVodSource( * The HTTP package configurations for the VOD source. */ public open fun httpPackageConfigurations(`value`: IResolvable) { - unwrap(this).setHttpPackageConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setHttpPackageConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public open class CfnVodSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnVodSource( * The tags assigned to the VOD source. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnVodSource( * @param httpPackageConfigurations The HTTP package configurations for the VOD source. */ override fun httpPackageConfigurations(httpPackageConfigurations: IResolvable) { - cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable::unwrap)) + cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnVodSource( * @param tags The tags assigned to the VOD source. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSourceProps.kt index 4656aa708d..f38e936230 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mediatailor/CfnVodSourceProps.kt @@ -130,7 +130,7 @@ public interface CfnVodSourceProps { * @param httpPackageConfigurations The HTTP package configurations for the VOD source. */ override fun httpPackageConfigurations(httpPackageConfigurations: IResolvable) { - cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable::unwrap)) + cdkBuilder.httpPackageConfigurations(httpPackageConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface CfnVodSourceProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACL.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACL.kt index 654d1d0f00..cb6181fccd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACL.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACL.kt @@ -48,8 +48,8 @@ public open class CfnACL( id: String, props: CfnACLProps, ) : - this(software.amazon.awscdk.services.memorydb.CfnACL(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnACLProps::unwrap)) + this(software.amazon.awscdk.services.memorydb.CfnACL(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnACLProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnACL( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnACL( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnACL( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACLProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACLProps.kt index bdadf8d8c7..3515e1cc3e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACLProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnACLProps.kt @@ -113,7 +113,7 @@ public interface CfnACLProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnCluster.kt index 4def47e4f7..25b90be4d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnCluster.kt @@ -79,8 +79,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.memorydb.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.memorydb.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CfnCluster( * launch. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -162,14 +162,14 @@ public open class CfnCluster( * The cluster 's configuration endpoint. */ public open fun clusterEndpoint(`value`: IResolvable) { - unwrap(this).setClusterEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setClusterEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * The cluster 's configuration endpoint. */ public open fun clusterEndpoint(`value`: EndpointProperty) { - unwrap(this).setClusterEndpoint(`value`.let(EndpointProperty::unwrap)) + unwrap(this).setClusterEndpoint(`value`.let(EndpointProperty.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnCluster( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnCluster( * A flag to indicate if In-transit encryption is enabled. */ public open fun tlsEnabled(`value`: IResolvable) { - unwrap(this).setTlsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTlsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnCluster( * engine version upgrades after launch. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class CfnCluster( * @param clusterEndpoint The cluster 's configuration endpoint. */ override fun clusterEndpoint(clusterEndpoint: IResolvable) { - cdkBuilder.clusterEndpoint(clusterEndpoint.let(IResolvable::unwrap)) + cdkBuilder.clusterEndpoint(clusterEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -865,7 +865,7 @@ public open class CfnCluster( * @param clusterEndpoint The cluster 's configuration endpoint. */ override fun clusterEndpoint(clusterEndpoint: EndpointProperty) { - cdkBuilder.clusterEndpoint(clusterEndpoint.let(EndpointProperty::unwrap)) + cdkBuilder.clusterEndpoint(clusterEndpoint.let(EndpointProperty.Companion::unwrap)) } /** @@ -1149,7 +1149,7 @@ public open class CfnCluster( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1181,7 +1181,7 @@ public open class CfnCluster( * @param tlsEnabled A flag to indicate if In-transit encryption is enabled. */ override fun tlsEnabled(tlsEnabled: IResolvable) { - cdkBuilder.tlsEnabled(tlsEnabled.let(IResolvable::unwrap)) + cdkBuilder.tlsEnabled(tlsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.memorydb.CfnCluster = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnClusterProps.kt index 4b03c343ba..7a7c5bce9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnClusterProps.kt @@ -501,21 +501,21 @@ public interface CfnClusterProps { * engine version upgrades after launch. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** * @param clusterEndpoint The cluster 's configuration endpoint. */ override fun clusterEndpoint(clusterEndpoint: IResolvable) { - cdkBuilder.clusterEndpoint(clusterEndpoint.let(IResolvable::unwrap)) + cdkBuilder.clusterEndpoint(clusterEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param clusterEndpoint The cluster 's configuration endpoint. */ override fun clusterEndpoint(clusterEndpoint: CfnCluster.EndpointProperty) { - cdkBuilder.clusterEndpoint(clusterEndpoint.let(CfnCluster.EndpointProperty::unwrap)) + cdkBuilder.clusterEndpoint(clusterEndpoint.let(CfnCluster.EndpointProperty.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public interface CfnClusterProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -735,7 +735,7 @@ public interface CfnClusterProps { * @param tlsEnabled A flag to indicate if In-transit encryption is enabled. */ override fun tlsEnabled(tlsEnabled: IResolvable) { - cdkBuilder.tlsEnabled(tlsEnabled.let(IResolvable::unwrap)) + cdkBuilder.tlsEnabled(tlsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.memorydb.CfnClusterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroup.kt index 3bbe06edab..58c26edb7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroup.kt @@ -54,8 +54,8 @@ public open class CfnParameterGroup( id: String, props: CfnParameterGroupProps, ) : - this(software.amazon.awscdk.services.memorydb.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.memorydb.CfnParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnParameterGroup( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnParameterGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroupProps.kt index fae788bc6b..8fde0da21a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnParameterGroupProps.kt @@ -159,7 +159,7 @@ public interface CfnParameterGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroup.kt index 14d4dce81d..3efcce8fc6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroup.kt @@ -52,8 +52,8 @@ public open class CfnSubnetGroup( id: String, props: CfnSubnetGroupProps, ) : - this(software.amazon.awscdk.services.memorydb.CfnSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.memorydb.CfnSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnSubnetGroup( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnSubnetGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroupProps.kt index 7e321acb7e..d8e9a89aae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnSubnetGroupProps.kt @@ -145,7 +145,7 @@ public interface CfnSubnetGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUser.kt index fb05bd6b5b..c76a3b8958 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUser.kt @@ -53,8 +53,8 @@ public open class CfnUser( id: String, props: CfnUserProps, ) : - this(software.amazon.awscdk.services.memorydb.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProps::unwrap)) + this(software.amazon.awscdk.services.memorydb.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnUser( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnUser( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUserProps.kt index fba1e7a25f..20fa3205f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/memorydb/CfnUserProps.kt @@ -146,7 +146,7 @@ public interface CfnUserProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnBatchScramSecret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnBatchScramSecret.kt index 31996f4bfc..5724dda183 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnBatchScramSecret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnBatchScramSecret.kt @@ -39,8 +39,8 @@ public open class CfnBatchScramSecret( id: String, props: CfnBatchScramSecretProps, ) : - this(software.amazon.awscdk.services.msk.CfnBatchScramSecret(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBatchScramSecretProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnBatchScramSecret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBatchScramSecretProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class CfnBatchScramSecret( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnCluster.kt index 11262d5840..d8e35e796f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnCluster.kt @@ -167,8 +167,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.msk.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -192,14 +192,14 @@ public open class CfnCluster( * Information about the broker nodes in the cluster. */ public open fun brokerNodeGroupInfo(`value`: IResolvable) { - unwrap(this).setBrokerNodeGroupInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setBrokerNodeGroupInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the broker nodes in the cluster. */ public open fun brokerNodeGroupInfo(`value`: BrokerNodeGroupInfoProperty) { - unwrap(this).setBrokerNodeGroupInfo(`value`.let(BrokerNodeGroupInfoProperty::unwrap)) + unwrap(this).setBrokerNodeGroupInfo(`value`.let(BrokerNodeGroupInfoProperty.Companion::unwrap)) } /** @@ -219,14 +219,14 @@ public open class CfnCluster( * VPC connection control settings for brokers. */ public open fun clientAuthentication(`value`: IResolvable) { - unwrap(this).setClientAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setClientAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** * VPC connection control settings for brokers. */ public open fun clientAuthentication(`value`: ClientAuthenticationProperty) { - unwrap(this).setClientAuthentication(`value`.let(ClientAuthenticationProperty::unwrap)) + unwrap(this).setClientAuthentication(`value`.let(ClientAuthenticationProperty.Companion::unwrap)) } /** @@ -258,14 +258,14 @@ public open class CfnCluster( * Represents the configuration that you want MSK to use for the cluster. */ public open fun configurationInfo(`value`: IResolvable) { - unwrap(this).setConfigurationInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurationInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Represents the configuration that you want MSK to use for the cluster. */ public open fun configurationInfo(`value`: ConfigurationInfoProperty) { - unwrap(this).setConfigurationInfo(`value`.let(ConfigurationInfoProperty::unwrap)) + unwrap(this).setConfigurationInfo(`value`.let(ConfigurationInfoProperty.Companion::unwrap)) } /** @@ -297,14 +297,14 @@ public open class CfnCluster( * Includes all encryption-related information. */ public open fun encryptionInfo(`value`: IResolvable) { - unwrap(this).setEncryptionInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Includes all encryption-related information. */ public open fun encryptionInfo(`value`: EncryptionInfoProperty) { - unwrap(this).setEncryptionInfo(`value`.let(EncryptionInfoProperty::unwrap)) + unwrap(this).setEncryptionInfo(`value`.let(EncryptionInfoProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -357,14 +357,14 @@ public open class CfnCluster( * Logging Info details. */ public open fun loggingInfo(`value`: IResolvable) { - unwrap(this).setLoggingInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Logging Info details. */ public open fun loggingInfo(`value`: LoggingInfoProperty) { - unwrap(this).setLoggingInfo(`value`.let(LoggingInfoProperty::unwrap)) + unwrap(this).setLoggingInfo(`value`.let(LoggingInfoProperty.Companion::unwrap)) } /** @@ -396,14 +396,14 @@ public open class CfnCluster( * The settings for open monitoring. */ public open fun openMonitoring(`value`: IResolvable) { - unwrap(this).setOpenMonitoring(`value`.let(IResolvable::unwrap)) + unwrap(this).setOpenMonitoring(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings for open monitoring. */ public open fun openMonitoring(`value`: OpenMonitoringProperty) { - unwrap(this).setOpenMonitoring(`value`.let(OpenMonitoringProperty::unwrap)) + unwrap(this).setOpenMonitoring(`value`.let(OpenMonitoringProperty.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnCluster( * @param brokerNodeGroupInfo Information about the broker nodes in the cluster. */ override fun brokerNodeGroupInfo(brokerNodeGroupInfo: IResolvable) { - cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(IResolvable::unwrap)) + cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(IResolvable.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class CfnCluster( * @param brokerNodeGroupInfo Information about the broker nodes in the cluster. */ override fun brokerNodeGroupInfo(brokerNodeGroupInfo: BrokerNodeGroupInfoProperty) { - cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(BrokerNodeGroupInfoProperty::unwrap)) + cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(BrokerNodeGroupInfoProperty.Companion::unwrap)) } /** @@ -716,7 +716,7 @@ public open class CfnCluster( * @param clientAuthentication VPC connection control settings for brokers. */ override fun clientAuthentication(clientAuthentication: IResolvable) { - cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public open class CfnCluster( * @param clientAuthentication VPC connection control settings for brokers. */ override fun clientAuthentication(clientAuthentication: ClientAuthenticationProperty) { - cdkBuilder.clientAuthentication(clientAuthentication.let(ClientAuthenticationProperty::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(ClientAuthenticationProperty.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public open class CfnCluster( * cluster. */ override fun configurationInfo(configurationInfo: IResolvable) { - cdkBuilder.configurationInfo(configurationInfo.let(IResolvable::unwrap)) + cdkBuilder.configurationInfo(configurationInfo.let(IResolvable.Companion::unwrap)) } /** @@ -770,7 +770,7 @@ public open class CfnCluster( * cluster. */ override fun configurationInfo(configurationInfo: ConfigurationInfoProperty) { - cdkBuilder.configurationInfo(configurationInfo.let(ConfigurationInfoProperty::unwrap)) + cdkBuilder.configurationInfo(configurationInfo.let(ConfigurationInfoProperty.Companion::unwrap)) } /** @@ -802,7 +802,7 @@ public open class CfnCluster( * @param encryptionInfo Includes all encryption-related information. */ override fun encryptionInfo(encryptionInfo: IResolvable) { - cdkBuilder.encryptionInfo(encryptionInfo.let(IResolvable::unwrap)) + cdkBuilder.encryptionInfo(encryptionInfo.let(IResolvable.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnCluster( * @param encryptionInfo Includes all encryption-related information. */ override fun encryptionInfo(encryptionInfo: EncryptionInfoProperty) { - cdkBuilder.encryptionInfo(encryptionInfo.let(EncryptionInfoProperty::unwrap)) + cdkBuilder.encryptionInfo(encryptionInfo.let(EncryptionInfoProperty.Companion::unwrap)) } /** @@ -857,7 +857,7 @@ public open class CfnCluster( * @param loggingInfo Logging Info details. */ override fun loggingInfo(loggingInfo: IResolvable) { - cdkBuilder.loggingInfo(loggingInfo.let(IResolvable::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(IResolvable.Companion::unwrap)) } /** @@ -867,7 +867,7 @@ public open class CfnCluster( * @param loggingInfo Logging Info details. */ override fun loggingInfo(loggingInfo: LoggingInfoProperty) { - cdkBuilder.loggingInfo(loggingInfo.let(LoggingInfoProperty::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(LoggingInfoProperty.Companion::unwrap)) } /** @@ -898,7 +898,7 @@ public open class CfnCluster( * @param openMonitoring The settings for open monitoring. */ override fun openMonitoring(openMonitoring: IResolvable) { - cdkBuilder.openMonitoring(openMonitoring.let(IResolvable::unwrap)) + cdkBuilder.openMonitoring(openMonitoring.let(IResolvable.Companion::unwrap)) } /** @@ -908,7 +908,7 @@ public open class CfnCluster( * @param openMonitoring The settings for open monitoring. */ override fun openMonitoring(openMonitoring: OpenMonitoringProperty) { - cdkBuilder.openMonitoring(openMonitoring.let(OpenMonitoringProperty::unwrap)) + cdkBuilder.openMonitoring(openMonitoring.let(OpenMonitoringProperty.Companion::unwrap)) } /** @@ -1087,14 +1087,14 @@ public open class CfnCluster( * @param cloudWatchLogs Details of the CloudWatch Logs destination for broker logs. */ override fun cloudWatchLogs(cloudWatchLogs: IResolvable) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(IResolvable.Companion::unwrap)) } /** * @param cloudWatchLogs Details of the CloudWatch Logs destination for broker logs. */ override fun cloudWatchLogs(cloudWatchLogs: CloudWatchLogsProperty) { - cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsProperty::unwrap)) + cdkBuilder.cloudWatchLogs(cloudWatchLogs.let(CloudWatchLogsProperty.Companion::unwrap)) } /** @@ -1110,7 +1110,7 @@ public open class CfnCluster( * destination for broker logs. */ override fun firehose(firehose: IResolvable) { - cdkBuilder.firehose(firehose.let(IResolvable::unwrap)) + cdkBuilder.firehose(firehose.let(IResolvable.Companion::unwrap)) } /** @@ -1118,7 +1118,7 @@ public open class CfnCluster( * destination for broker logs. */ override fun firehose(firehose: FirehoseProperty) { - cdkBuilder.firehose(firehose.let(FirehoseProperty::unwrap)) + cdkBuilder.firehose(firehose.let(FirehoseProperty.Companion::unwrap)) } /** @@ -1134,14 +1134,14 @@ public open class CfnCluster( * @param s3 Details of the Amazon S3 destination for broker logs. */ override fun s3(s3: IResolvable) { - cdkBuilder.s3(s3.let(IResolvable::unwrap)) + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) } /** * @param s3 Details of the Amazon S3 destination for broker logs. */ override fun s3(s3: S3Property) { - cdkBuilder.s3(s3.let(S3Property::unwrap)) + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) } /** @@ -1464,14 +1464,14 @@ public open class CfnCluster( * @param connectivityInfo Information about the cluster's connectivity setting. */ override fun connectivityInfo(connectivityInfo: IResolvable) { - cdkBuilder.connectivityInfo(connectivityInfo.let(IResolvable::unwrap)) + cdkBuilder.connectivityInfo(connectivityInfo.let(IResolvable.Companion::unwrap)) } /** * @param connectivityInfo Information about the cluster's connectivity setting. */ override fun connectivityInfo(connectivityInfo: ConnectivityInfoProperty) { - cdkBuilder.connectivityInfo(connectivityInfo.let(ConnectivityInfoProperty::unwrap)) + cdkBuilder.connectivityInfo(connectivityInfo.let(ConnectivityInfoProperty.Companion::unwrap)) } /** @@ -1520,7 +1520,7 @@ public open class CfnCluster( * nodes. */ override fun storageInfo(storageInfo: IResolvable) { - cdkBuilder.storageInfo(storageInfo.let(IResolvable::unwrap)) + cdkBuilder.storageInfo(storageInfo.let(IResolvable.Companion::unwrap)) } /** @@ -1528,7 +1528,7 @@ public open class CfnCluster( * nodes. */ override fun storageInfo(storageInfo: StorageInfoProperty) { - cdkBuilder.storageInfo(storageInfo.let(StorageInfoProperty::unwrap)) + cdkBuilder.storageInfo(storageInfo.let(StorageInfoProperty.Companion::unwrap)) } /** @@ -1772,7 +1772,7 @@ public open class CfnCluster( * `TLS_PLAINTEXT` , then you must also set `unauthenticated` to true. */ override fun sasl(sasl: IResolvable) { - cdkBuilder.sasl(sasl.let(IResolvable::unwrap)) + cdkBuilder.sasl(sasl.let(IResolvable.Companion::unwrap)) } /** @@ -1782,7 +1782,7 @@ public open class CfnCluster( * `TLS_PLAINTEXT` , then you must also set `unauthenticated` to true. */ override fun sasl(sasl: SaslProperty) { - cdkBuilder.sasl(sasl.let(SaslProperty::unwrap)) + cdkBuilder.sasl(sasl.let(SaslProperty.Companion::unwrap)) } /** @@ -1801,7 +1801,7 @@ public open class CfnCluster( * `inCluster` to true and `clientBroker` to `TLS` . */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** @@ -1810,7 +1810,7 @@ public open class CfnCluster( * `inCluster` to true and `clientBroker` to `TLS` . */ override fun tls(tls: TlsProperty) { - cdkBuilder.tls(tls.let(TlsProperty::unwrap)) + cdkBuilder.tls(tls.let(TlsProperty.Companion::unwrap)) } /** @@ -1826,14 +1826,14 @@ public open class CfnCluster( * @param unauthenticated Details for ClientAuthentication using no authentication. */ override fun unauthenticated(unauthenticated: IResolvable) { - cdkBuilder.unauthenticated(unauthenticated.let(IResolvable::unwrap)) + cdkBuilder.unauthenticated(unauthenticated.let(IResolvable.Companion::unwrap)) } /** * @param unauthenticated Details for ClientAuthentication using no authentication. */ override fun unauthenticated(unauthenticated: UnauthenticatedProperty) { - cdkBuilder.unauthenticated(unauthenticated.let(UnauthenticatedProperty::unwrap)) + cdkBuilder.unauthenticated(unauthenticated.let(UnauthenticatedProperty.Companion::unwrap)) } /** @@ -1973,7 +1973,7 @@ public open class CfnCluster( * destination. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2227,14 +2227,14 @@ public open class CfnCluster( * @param publicAccess Access control settings for the cluster's brokers. */ override fun publicAccess(publicAccess: IResolvable) { - cdkBuilder.publicAccess(publicAccess.let(IResolvable::unwrap)) + cdkBuilder.publicAccess(publicAccess.let(IResolvable.Companion::unwrap)) } /** * @param publicAccess Access control settings for the cluster's brokers. */ override fun publicAccess(publicAccess: PublicAccessProperty) { - cdkBuilder.publicAccess(publicAccess.let(PublicAccessProperty::unwrap)) + cdkBuilder.publicAccess(publicAccess.let(PublicAccessProperty.Companion::unwrap)) } /** @@ -2249,14 +2249,14 @@ public open class CfnCluster( * @param vpcConnectivity VPC connection control settings for brokers. */ override fun vpcConnectivity(vpcConnectivity: IResolvable) { - cdkBuilder.vpcConnectivity(vpcConnectivity.let(IResolvable::unwrap)) + cdkBuilder.vpcConnectivity(vpcConnectivity.let(IResolvable.Companion::unwrap)) } /** * @param vpcConnectivity VPC connection control settings for brokers. */ override fun vpcConnectivity(vpcConnectivity: VpcConnectivityProperty) { - cdkBuilder.vpcConnectivity(vpcConnectivity.let(VpcConnectivityProperty::unwrap)) + cdkBuilder.vpcConnectivity(vpcConnectivity.let(VpcConnectivityProperty.Companion::unwrap)) } /** @@ -2380,14 +2380,14 @@ public open class CfnCluster( * @param provisionedThroughput EBS volume provisioned throughput information. */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** * @param provisionedThroughput EBS volume provisioned throughput information. */ override fun provisionedThroughput(provisionedThroughput: ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -2666,7 +2666,7 @@ public open class CfnCluster( * The default value is true. */ override fun inCluster(inCluster: IResolvable) { - cdkBuilder.inCluster(inCluster.let(IResolvable::unwrap)) + cdkBuilder.inCluster(inCluster.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.EncryptionInTransitProperty @@ -2813,14 +2813,14 @@ public open class CfnCluster( * @param encryptionAtRest The data-volume encryption details. */ override fun encryptionAtRest(encryptionAtRest: IResolvable) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(IResolvable.Companion::unwrap)) } /** * @param encryptionAtRest The data-volume encryption details. */ override fun encryptionAtRest(encryptionAtRest: EncryptionAtRestProperty) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestProperty::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestProperty.Companion::unwrap)) } /** @@ -2835,14 +2835,14 @@ public open class CfnCluster( * @param encryptionInTransit The details for encryption in transit. */ override fun encryptionInTransit(encryptionInTransit: IResolvable) { - cdkBuilder.encryptionInTransit(encryptionInTransit.let(IResolvable::unwrap)) + cdkBuilder.encryptionInTransit(encryptionInTransit.let(IResolvable.Companion::unwrap)) } /** * @param encryptionInTransit The details for encryption in transit. */ override fun encryptionInTransit(encryptionInTransit: EncryptionInTransitProperty) { - cdkBuilder.encryptionInTransit(encryptionInTransit.let(EncryptionInTransitProperty::unwrap)) + cdkBuilder.encryptionInTransit(encryptionInTransit.let(EncryptionInTransitProperty.Companion::unwrap)) } /** @@ -2978,7 +2978,7 @@ public open class CfnCluster( * Firehose delivery stream. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.FirehoseProperty = @@ -3075,7 +3075,7 @@ public open class CfnCluster( * @param enabled SASL/IAM authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.IamProperty = @@ -3164,7 +3164,7 @@ public open class CfnCluster( * @param enabledInBroker Indicates whether you want to enable or disable the JMX Exporter. */ override fun enabledInBroker(enabledInBroker: IResolvable) { - cdkBuilder.enabledInBroker(enabledInBroker.let(IResolvable::unwrap)) + cdkBuilder.enabledInBroker(enabledInBroker.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.JmxExporterProperty = @@ -3284,7 +3284,7 @@ public open class CfnCluster( * This configuration specifies the details of these destinations. */ override fun brokerLogs(brokerLogs: IResolvable) { - cdkBuilder.brokerLogs(brokerLogs.let(IResolvable::unwrap)) + cdkBuilder.brokerLogs(brokerLogs.let(IResolvable.Companion::unwrap)) } /** @@ -3293,7 +3293,7 @@ public open class CfnCluster( * This configuration specifies the details of these destinations. */ override fun brokerLogs(brokerLogs: BrokerLogsProperty) { - cdkBuilder.brokerLogs(brokerLogs.let(BrokerLogsProperty::unwrap)) + cdkBuilder.brokerLogs(brokerLogs.let(BrokerLogsProperty.Companion::unwrap)) } /** @@ -3396,7 +3396,7 @@ public open class CfnCluster( * @param enabledInBroker Indicates whether you want to enable or disable the Node Exporter. */ override fun enabledInBroker(enabledInBroker: IResolvable) { - cdkBuilder.enabledInBroker(enabledInBroker.let(IResolvable::unwrap)) + cdkBuilder.enabledInBroker(enabledInBroker.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.NodeExporterProperty = @@ -3495,14 +3495,14 @@ public open class CfnCluster( * @param prometheus Prometheus exporter settings. */ override fun prometheus(prometheus: IResolvable) { - cdkBuilder.prometheus(prometheus.let(IResolvable::unwrap)) + cdkBuilder.prometheus(prometheus.let(IResolvable.Companion::unwrap)) } /** * @param prometheus Prometheus exporter settings. */ override fun prometheus(prometheus: PrometheusProperty) { - cdkBuilder.prometheus(prometheus.let(PrometheusProperty::unwrap)) + cdkBuilder.prometheus(prometheus.let(PrometheusProperty.Companion::unwrap)) } /** @@ -3631,14 +3631,14 @@ public open class CfnCluster( * @param jmxExporter Indicates whether you want to enable or disable the JMX Exporter. */ override fun jmxExporter(jmxExporter: IResolvable) { - cdkBuilder.jmxExporter(jmxExporter.let(IResolvable::unwrap)) + cdkBuilder.jmxExporter(jmxExporter.let(IResolvable.Companion::unwrap)) } /** * @param jmxExporter Indicates whether you want to enable or disable the JMX Exporter. */ override fun jmxExporter(jmxExporter: JmxExporterProperty) { - cdkBuilder.jmxExporter(jmxExporter.let(JmxExporterProperty::unwrap)) + cdkBuilder.jmxExporter(jmxExporter.let(JmxExporterProperty.Companion::unwrap)) } /** @@ -3653,14 +3653,14 @@ public open class CfnCluster( * @param nodeExporter Indicates whether you want to enable or disable the Node Exporter. */ override fun nodeExporter(nodeExporter: IResolvable) { - cdkBuilder.nodeExporter(nodeExporter.let(IResolvable::unwrap)) + cdkBuilder.nodeExporter(nodeExporter.let(IResolvable.Companion::unwrap)) } /** * @param nodeExporter Indicates whether you want to enable or disable the Node Exporter. */ override fun nodeExporter(nodeExporter: NodeExporterProperty) { - cdkBuilder.nodeExporter(nodeExporter.let(NodeExporterProperty::unwrap)) + cdkBuilder.nodeExporter(nodeExporter.let(NodeExporterProperty.Companion::unwrap)) } /** @@ -3783,7 +3783,7 @@ public open class CfnCluster( * @param enabled Provisioned throughput is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -4015,7 +4015,7 @@ public open class CfnCluster( * destination. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -4157,14 +4157,14 @@ public open class CfnCluster( * @param iam Details for ClientAuthentication using IAM. */ override fun iam(iam: IResolvable) { - cdkBuilder.iam(iam.let(IResolvable::unwrap)) + cdkBuilder.iam(iam.let(IResolvable.Companion::unwrap)) } /** * @param iam Details for ClientAuthentication using IAM. */ override fun iam(iam: IamProperty) { - cdkBuilder.iam(iam.let(IamProperty::unwrap)) + cdkBuilder.iam(iam.let(IamProperty.Companion::unwrap)) } /** @@ -4178,14 +4178,14 @@ public open class CfnCluster( * @param scram Details for SASL/SCRAM client authentication. */ override fun scram(scram: IResolvable) { - cdkBuilder.scram(scram.let(IResolvable::unwrap)) + cdkBuilder.scram(scram.let(IResolvable.Companion::unwrap)) } /** * @param scram Details for SASL/SCRAM client authentication. */ override fun scram(scram: ScramProperty) { - cdkBuilder.scram(scram.let(ScramProperty::unwrap)) + cdkBuilder.scram(scram.let(ScramProperty.Companion::unwrap)) } /** @@ -4288,7 +4288,7 @@ public open class CfnCluster( * @param enabled SASL/SCRAM authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.ScramProperty = @@ -4383,14 +4383,14 @@ public open class CfnCluster( * @param ebsStorageInfo EBS volume information. */ override fun ebsStorageInfo(ebsStorageInfo: IResolvable) { - cdkBuilder.ebsStorageInfo(ebsStorageInfo.let(IResolvable::unwrap)) + cdkBuilder.ebsStorageInfo(ebsStorageInfo.let(IResolvable.Companion::unwrap)) } /** * @param ebsStorageInfo EBS volume information. */ override fun ebsStorageInfo(ebsStorageInfo: EBSStorageInfoProperty) { - cdkBuilder.ebsStorageInfo(ebsStorageInfo.let(EBSStorageInfoProperty::unwrap)) + cdkBuilder.ebsStorageInfo(ebsStorageInfo.let(EBSStorageInfoProperty.Companion::unwrap)) } /** @@ -4520,7 +4520,7 @@ public open class CfnCluster( * @param enabled TLS authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.TlsProperty = @@ -4617,7 +4617,7 @@ public open class CfnCluster( * @param enabled Unauthenticated is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.UnauthenticatedProperty = @@ -4745,14 +4745,14 @@ public open class CfnCluster( * @param sasl Details for VpcConnectivity ClientAuthentication using SASL. */ override fun sasl(sasl: IResolvable) { - cdkBuilder.sasl(sasl.let(IResolvable::unwrap)) + cdkBuilder.sasl(sasl.let(IResolvable.Companion::unwrap)) } /** * @param sasl Details for VpcConnectivity ClientAuthentication using SASL. */ override fun sasl(sasl: VpcConnectivitySaslProperty) { - cdkBuilder.sasl(sasl.let(VpcConnectivitySaslProperty::unwrap)) + cdkBuilder.sasl(sasl.let(VpcConnectivitySaslProperty.Companion::unwrap)) } /** @@ -4767,14 +4767,14 @@ public open class CfnCluster( * @param tls Details for VpcConnectivity ClientAuthentication using TLS. */ override fun tls(tls: IResolvable) { - cdkBuilder.tls(tls.let(IResolvable::unwrap)) + cdkBuilder.tls(tls.let(IResolvable.Companion::unwrap)) } /** * @param tls Details for VpcConnectivity ClientAuthentication using TLS. */ override fun tls(tls: VpcConnectivityTlsProperty) { - cdkBuilder.tls(tls.let(VpcConnectivityTlsProperty::unwrap)) + cdkBuilder.tls(tls.let(VpcConnectivityTlsProperty.Companion::unwrap)) } /** @@ -4883,7 +4883,7 @@ public open class CfnCluster( * @param enabled SASL/IAM authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.VpcConnectivityIamProperty @@ -4989,7 +4989,7 @@ public open class CfnCluster( * @param clientAuthentication VPC connection control settings for brokers. */ override fun clientAuthentication(clientAuthentication: IResolvable) { - cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -4997,7 +4997,7 @@ public open class CfnCluster( */ override fun clientAuthentication(clientAuthentication: VpcConnectivityClientAuthenticationProperty) { - cdkBuilder.clientAuthentication(clientAuthentication.let(VpcConnectivityClientAuthenticationProperty::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(VpcConnectivityClientAuthenticationProperty.Companion::unwrap)) } /** @@ -5128,14 +5128,14 @@ public open class CfnCluster( * @param iam Details for ClientAuthentication using IAM for VpcConnectivity. */ override fun iam(iam: IResolvable) { - cdkBuilder.iam(iam.let(IResolvable::unwrap)) + cdkBuilder.iam(iam.let(IResolvable.Companion::unwrap)) } /** * @param iam Details for ClientAuthentication using IAM for VpcConnectivity. */ override fun iam(iam: VpcConnectivityIamProperty) { - cdkBuilder.iam(iam.let(VpcConnectivityIamProperty::unwrap)) + cdkBuilder.iam(iam.let(VpcConnectivityIamProperty.Companion::unwrap)) } /** @@ -5150,14 +5150,14 @@ public open class CfnCluster( * @param scram Details for SASL/SCRAM client authentication for VpcConnectivity. */ override fun scram(scram: IResolvable) { - cdkBuilder.scram(scram.let(IResolvable::unwrap)) + cdkBuilder.scram(scram.let(IResolvable.Companion::unwrap)) } /** * @param scram Details for SASL/SCRAM client authentication for VpcConnectivity. */ override fun scram(scram: VpcConnectivityScramProperty) { - cdkBuilder.scram(scram.let(VpcConnectivityScramProperty::unwrap)) + cdkBuilder.scram(scram.let(VpcConnectivityScramProperty.Companion::unwrap)) } /** @@ -5265,7 +5265,7 @@ public open class CfnCluster( * @param enabled SASL/SCRAM authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5358,7 +5358,7 @@ public open class CfnCluster( * @param enabled TLS authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnCluster.VpcConnectivityTlsProperty diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterPolicy.kt index ac72e1ee10..8063fa8628 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterPolicy.kt @@ -38,8 +38,8 @@ public open class CfnClusterPolicy( id: String, props: CfnClusterPolicyProps, ) : - this(software.amazon.awscdk.services.msk.CfnClusterPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterPolicyProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnClusterPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterPolicyProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnClusterPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterProps.kt index b962dddc37..f984593faa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnClusterProps.kt @@ -388,14 +388,14 @@ public interface CfnClusterProps { * @param brokerNodeGroupInfo Information about the broker nodes in the cluster. */ override fun brokerNodeGroupInfo(brokerNodeGroupInfo: IResolvable) { - cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(IResolvable::unwrap)) + cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(IResolvable.Companion::unwrap)) } /** * @param brokerNodeGroupInfo Information about the broker nodes in the cluster. */ override fun brokerNodeGroupInfo(brokerNodeGroupInfo: CfnCluster.BrokerNodeGroupInfoProperty) { - cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(CfnCluster.BrokerNodeGroupInfoProperty::unwrap)) + cdkBuilder.brokerNodeGroupInfo(brokerNodeGroupInfo.let(CfnCluster.BrokerNodeGroupInfoProperty.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface CfnClusterProps { * @param clientAuthentication VPC connection control settings for brokers. */ override fun clientAuthentication(clientAuthentication: IResolvable) { - cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public interface CfnClusterProps { */ override fun clientAuthentication(clientAuthentication: CfnCluster.ClientAuthenticationProperty) { - cdkBuilder.clientAuthentication(clientAuthentication.let(CfnCluster.ClientAuthenticationProperty::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(CfnCluster.ClientAuthenticationProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public interface CfnClusterProps { * cluster. */ override fun configurationInfo(configurationInfo: IResolvable) { - cdkBuilder.configurationInfo(configurationInfo.let(IResolvable::unwrap)) + cdkBuilder.configurationInfo(configurationInfo.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface CfnClusterProps { * cluster. */ override fun configurationInfo(configurationInfo: CfnCluster.ConfigurationInfoProperty) { - cdkBuilder.configurationInfo(configurationInfo.let(CfnCluster.ConfigurationInfoProperty::unwrap)) + cdkBuilder.configurationInfo(configurationInfo.let(CfnCluster.ConfigurationInfoProperty.Companion::unwrap)) } /** @@ -475,14 +475,14 @@ public interface CfnClusterProps { * @param encryptionInfo Includes all encryption-related information. */ override fun encryptionInfo(encryptionInfo: IResolvable) { - cdkBuilder.encryptionInfo(encryptionInfo.let(IResolvable::unwrap)) + cdkBuilder.encryptionInfo(encryptionInfo.let(IResolvable.Companion::unwrap)) } /** * @param encryptionInfo Includes all encryption-related information. */ override fun encryptionInfo(encryptionInfo: CfnCluster.EncryptionInfoProperty) { - cdkBuilder.encryptionInfo(encryptionInfo.let(CfnCluster.EncryptionInfoProperty::unwrap)) + cdkBuilder.encryptionInfo(encryptionInfo.let(CfnCluster.EncryptionInfoProperty.Companion::unwrap)) } /** @@ -514,14 +514,14 @@ public interface CfnClusterProps { * @param loggingInfo Logging Info details. */ override fun loggingInfo(loggingInfo: IResolvable) { - cdkBuilder.loggingInfo(loggingInfo.let(IResolvable::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(IResolvable.Companion::unwrap)) } /** * @param loggingInfo Logging Info details. */ override fun loggingInfo(loggingInfo: CfnCluster.LoggingInfoProperty) { - cdkBuilder.loggingInfo(loggingInfo.let(CfnCluster.LoggingInfoProperty::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(CfnCluster.LoggingInfoProperty.Companion::unwrap)) } /** @@ -543,14 +543,14 @@ public interface CfnClusterProps { * @param openMonitoring The settings for open monitoring. */ override fun openMonitoring(openMonitoring: IResolvable) { - cdkBuilder.openMonitoring(openMonitoring.let(IResolvable::unwrap)) + cdkBuilder.openMonitoring(openMonitoring.let(IResolvable.Companion::unwrap)) } /** * @param openMonitoring The settings for open monitoring. */ override fun openMonitoring(openMonitoring: CfnCluster.OpenMonitoringProperty) { - cdkBuilder.openMonitoring(openMonitoring.let(CfnCluster.OpenMonitoringProperty::unwrap)) + cdkBuilder.openMonitoring(openMonitoring.let(CfnCluster.OpenMonitoringProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfiguration.kt index dedc2dc2b9..64ff926b7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfiguration.kt @@ -69,8 +69,8 @@ public open class CfnConfiguration( id: String, props: CfnConfigurationProps, ) : - this(software.amazon.awscdk.services.msk.CfnConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,14 +152,14 @@ public open class CfnConfiguration( * Latest revision of the configuration. */ public open fun latestRevision(`value`: IResolvable) { - unwrap(this).setLatestRevision(`value`.let(IResolvable::unwrap)) + unwrap(this).setLatestRevision(`value`.let(IResolvable.Companion::unwrap)) } /** * Latest revision of the configuration. */ public open fun latestRevision(`value`: LatestRevisionProperty) { - unwrap(this).setLatestRevision(`value`.let(LatestRevisionProperty::unwrap)) + unwrap(this).setLatestRevision(`value`.let(LatestRevisionProperty.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnConfiguration( * @param latestRevision Latest revision of the configuration. */ override fun latestRevision(latestRevision: IResolvable) { - cdkBuilder.latestRevision(latestRevision.let(IResolvable::unwrap)) + cdkBuilder.latestRevision(latestRevision.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnConfiguration( * @param latestRevision Latest revision of the configuration. */ override fun latestRevision(latestRevision: LatestRevisionProperty) { - cdkBuilder.latestRevision(latestRevision.let(LatestRevisionProperty::unwrap)) + cdkBuilder.latestRevision(latestRevision.let(LatestRevisionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfigurationProps.kt index cee9eea622..23fd733e49 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnConfigurationProps.kt @@ -155,14 +155,14 @@ public interface CfnConfigurationProps { * @param latestRevision Latest revision of the configuration. */ override fun latestRevision(latestRevision: IResolvable) { - cdkBuilder.latestRevision(latestRevision.let(IResolvable::unwrap)) + cdkBuilder.latestRevision(latestRevision.let(IResolvable.Companion::unwrap)) } /** * @param latestRevision Latest revision of the configuration. */ override fun latestRevision(latestRevision: CfnConfiguration.LatestRevisionProperty) { - cdkBuilder.latestRevision(latestRevision.let(CfnConfiguration.LatestRevisionProperty::unwrap)) + cdkBuilder.latestRevision(latestRevision.let(CfnConfiguration.LatestRevisionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicator.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicator.kt index 4a17da7e90..038a9f8fc3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicator.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicator.kt @@ -86,8 +86,8 @@ public open class CfnReplicator( id: String, props: CfnReplicatorProps, ) : - this(software.amazon.awscdk.services.msk.CfnReplicator(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicatorProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnReplicator(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicatorProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnReplicator( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnReplicator( * Specifies a list of Kafka clusters which are targets of the replicator. */ public open fun kafkaClusters(`value`: IResolvable) { - unwrap(this).setKafkaClusters(`value`.let(IResolvable::unwrap)) + unwrap(this).setKafkaClusters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnReplicator( * to target cluster replication flow. */ public open fun replicationInfoList(`value`: IResolvable) { - unwrap(this).setReplicationInfoList(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationInfoList(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnReplicator( * A collection of tags associated with a resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnReplicator( * @param kafkaClusters Specifies a list of Kafka clusters which are targets of the replicator. */ override fun kafkaClusters(kafkaClusters: IResolvable) { - cdkBuilder.kafkaClusters(kafkaClusters.let(IResolvable::unwrap)) + cdkBuilder.kafkaClusters(kafkaClusters.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class CfnReplicator( * targets a given source cluster to target cluster replication flow. */ override fun replicationInfoList(replicationInfoList: IResolvable) { - cdkBuilder.replicationInfoList(replicationInfoList.let(IResolvable::unwrap)) + cdkBuilder.replicationInfoList(replicationInfoList.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnReplicator( * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -739,7 +739,7 @@ public open class CfnReplicator( * groups. */ override fun detectAndCopyNewConsumerGroups(detectAndCopyNewConsumerGroups: IResolvable) { - cdkBuilder.detectAndCopyNewConsumerGroups(detectAndCopyNewConsumerGroups.let(IResolvable::unwrap)) + cdkBuilder.detectAndCopyNewConsumerGroups(detectAndCopyNewConsumerGroups.let(IResolvable.Companion::unwrap)) } /** @@ -755,7 +755,7 @@ public open class CfnReplicator( * to __consumer_offsets topic in target cluster. */ override fun synchroniseConsumerGroupOffsets(synchroniseConsumerGroupOffsets: IResolvable) { - cdkBuilder.synchroniseConsumerGroupOffsets(synchroniseConsumerGroupOffsets.let(IResolvable::unwrap)) + cdkBuilder.synchroniseConsumerGroupOffsets(synchroniseConsumerGroupOffsets.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1071,14 +1071,14 @@ public open class CfnReplicator( * @param amazonMskCluster Details of an Amazon MSK cluster. */ override fun amazonMskCluster(amazonMskCluster: IResolvable) { - cdkBuilder.amazonMskCluster(amazonMskCluster.let(IResolvable::unwrap)) + cdkBuilder.amazonMskCluster(amazonMskCluster.let(IResolvable.Companion::unwrap)) } /** * @param amazonMskCluster Details of an Amazon MSK cluster. */ override fun amazonMskCluster(amazonMskCluster: AmazonMskClusterProperty) { - cdkBuilder.amazonMskCluster(amazonMskCluster.let(AmazonMskClusterProperty::unwrap)) + cdkBuilder.amazonMskCluster(amazonMskCluster.let(AmazonMskClusterProperty.Companion::unwrap)) } /** @@ -1094,7 +1094,7 @@ public open class CfnReplicator( * cluster. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1102,7 +1102,7 @@ public open class CfnReplicator( * cluster. */ override fun vpcConfig(vpcConfig: KafkaClusterClientVpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(KafkaClusterClientVpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(KafkaClusterClientVpcConfigProperty.Companion::unwrap)) } /** @@ -1291,7 +1291,7 @@ public open class CfnReplicator( * @param consumerGroupReplication Configuration relating to consumer group replication. */ override fun consumerGroupReplication(consumerGroupReplication: IResolvable) { - cdkBuilder.consumerGroupReplication(consumerGroupReplication.let(IResolvable::unwrap)) + cdkBuilder.consumerGroupReplication(consumerGroupReplication.let(IResolvable.Companion::unwrap)) } /** @@ -1299,7 +1299,7 @@ public open class CfnReplicator( */ override fun consumerGroupReplication(consumerGroupReplication: ConsumerGroupReplicationProperty) { - cdkBuilder.consumerGroupReplication(consumerGroupReplication.let(ConsumerGroupReplicationProperty::unwrap)) + cdkBuilder.consumerGroupReplication(consumerGroupReplication.let(ConsumerGroupReplicationProperty.Companion::unwrap)) } /** @@ -1338,14 +1338,14 @@ public open class CfnReplicator( * @param topicReplication the value to be set. */ override fun topicReplication(topicReplication: IResolvable) { - cdkBuilder.topicReplication(topicReplication.let(IResolvable::unwrap)) + cdkBuilder.topicReplication(topicReplication.let(IResolvable.Companion::unwrap)) } /** * @param topicReplication the value to be set. */ override fun topicReplication(topicReplication: TopicReplicationProperty) { - cdkBuilder.topicReplication(topicReplication.let(TopicReplicationProperty::unwrap)) + cdkBuilder.topicReplication(topicReplication.let(TopicReplicationProperty.Companion::unwrap)) } /** @@ -1669,7 +1669,7 @@ public open class CfnReplicator( * to match their corresponding upstream topics. */ override fun copyAccessControlListsForTopics(copyAccessControlListsForTopics: IResolvable) { - cdkBuilder.copyAccessControlListsForTopics(copyAccessControlListsForTopics.let(IResolvable::unwrap)) + cdkBuilder.copyAccessControlListsForTopics(copyAccessControlListsForTopics.let(IResolvable.Companion::unwrap)) } /** @@ -1685,7 +1685,7 @@ public open class CfnReplicator( * their corresponding upstream topics. */ override fun copyTopicConfigurations(copyTopicConfigurations: IResolvable) { - cdkBuilder.copyTopicConfigurations(copyTopicConfigurations.let(IResolvable::unwrap)) + cdkBuilder.copyTopicConfigurations(copyTopicConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1699,7 +1699,7 @@ public open class CfnReplicator( * @param detectAndCopyNewTopics Whether to periodically check for new topics and partitions. */ override fun detectAndCopyNewTopics(detectAndCopyNewTopics: IResolvable) { - cdkBuilder.detectAndCopyNewTopics(detectAndCopyNewTopics.let(IResolvable::unwrap)) + cdkBuilder.detectAndCopyNewTopics(detectAndCopyNewTopics.let(IResolvable.Companion::unwrap)) } /** @@ -1707,7 +1707,7 @@ public open class CfnReplicator( * replicating from. */ override fun startingPosition(startingPosition: IResolvable) { - cdkBuilder.startingPosition(startingPosition.let(IResolvable::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(IResolvable.Companion::unwrap)) } /** @@ -1715,7 +1715,7 @@ public open class CfnReplicator( * replicating from. */ override fun startingPosition(startingPosition: ReplicationStartingPositionProperty) { - cdkBuilder.startingPosition(startingPosition.let(ReplicationStartingPositionProperty::unwrap)) + cdkBuilder.startingPosition(startingPosition.let(ReplicationStartingPositionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicatorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicatorProps.kt index 50045792da..76a210f12c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicatorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnReplicatorProps.kt @@ -213,7 +213,7 @@ public interface CfnReplicatorProps { * @param kafkaClusters Specifies a list of Kafka clusters which are targets of the replicator. */ override fun kafkaClusters(kafkaClusters: IResolvable) { - cdkBuilder.kafkaClusters(kafkaClusters.let(IResolvable::unwrap)) + cdkBuilder.kafkaClusters(kafkaClusters.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface CfnReplicatorProps { * targets a given source cluster to target cluster replication flow. */ override fun replicationInfoList(replicationInfoList: IResolvable) { - cdkBuilder.replicationInfoList(replicationInfoList.let(IResolvable::unwrap)) + cdkBuilder.replicationInfoList(replicationInfoList.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnReplicatorProps { * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessCluster.kt index b5b8896bf0..fc1f58ce6f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessCluster.kt @@ -61,8 +61,8 @@ public open class CfnServerlessCluster( id: String, props: CfnServerlessClusterProps, ) : - this(software.amazon.awscdk.services.msk.CfnServerlessCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServerlessClusterProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnServerlessCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServerlessClusterProps.Companion::unwrap)) ) public constructor( @@ -86,14 +86,14 @@ public open class CfnServerlessCluster( * Includes all client authentication information. */ public open fun clientAuthentication(`value`: IResolvable) { - unwrap(this).setClientAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setClientAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** * Includes all client authentication information. */ public open fun clientAuthentication(`value`: ClientAuthenticationProperty) { - unwrap(this).setClientAuthentication(`value`.let(ClientAuthenticationProperty::unwrap)) + unwrap(this).setClientAuthentication(`value`.let(ClientAuthenticationProperty.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnServerlessCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnServerlessCluster( * */ public open fun vpcConfigs(`value`: IResolvable) { - unwrap(this).setVpcConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnServerlessCluster( * @param clientAuthentication Includes all client authentication information. */ override fun clientAuthentication(clientAuthentication: IResolvable) { - cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnServerlessCluster( * @param clientAuthentication Includes all client authentication information. */ override fun clientAuthentication(clientAuthentication: ClientAuthenticationProperty) { - cdkBuilder.clientAuthentication(clientAuthentication.let(ClientAuthenticationProperty::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(ClientAuthenticationProperty.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnServerlessCluster( * @param vpcConfigs */ override fun vpcConfigs(vpcConfigs: IResolvable) { - cdkBuilder.vpcConfigs(vpcConfigs.let(IResolvable::unwrap)) + cdkBuilder.vpcConfigs(vpcConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnServerlessCluster( * `TLS_PLAINTEXT` , then you must also set `unauthenticated` to true. */ override fun sasl(sasl: IResolvable) { - cdkBuilder.sasl(sasl.let(IResolvable::unwrap)) + cdkBuilder.sasl(sasl.let(IResolvable.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class CfnServerlessCluster( * `TLS_PLAINTEXT` , then you must also set `unauthenticated` to true. */ override fun sasl(sasl: SaslProperty) { - cdkBuilder.sasl(sasl.let(SaslProperty::unwrap)) + cdkBuilder.sasl(sasl.let(SaslProperty.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnServerlessCluster( * @param enabled SASL/IAM authentication is enabled or not. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.msk.CfnServerlessCluster.IamProperty = @@ -627,14 +627,14 @@ public open class CfnServerlessCluster( * @param iam Details for ClientAuthentication using IAM. */ override fun iam(iam: IResolvable) { - cdkBuilder.iam(iam.let(IResolvable::unwrap)) + cdkBuilder.iam(iam.let(IResolvable.Companion::unwrap)) } /** * @param iam Details for ClientAuthentication using IAM. */ override fun iam(iam: IamProperty) { - cdkBuilder.iam(iam.let(IamProperty::unwrap)) + cdkBuilder.iam(iam.let(IamProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessClusterProps.kt index 3568436486..7a0d268186 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnServerlessClusterProps.kt @@ -127,7 +127,7 @@ public interface CfnServerlessClusterProps { * @param clientAuthentication Includes all client authentication information. */ override fun clientAuthentication(clientAuthentication: IResolvable) { - cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public interface CfnServerlessClusterProps { */ override fun clientAuthentication(clientAuthentication: CfnServerlessCluster.ClientAuthenticationProperty) { - cdkBuilder.clientAuthentication(clientAuthentication.let(CfnServerlessCluster.ClientAuthenticationProperty::unwrap)) + cdkBuilder.clientAuthentication(clientAuthentication.let(CfnServerlessCluster.ClientAuthenticationProperty.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface CfnServerlessClusterProps { * @param vpcConfigs the value to be set. */ override fun vpcConfigs(vpcConfigs: IResolvable) { - cdkBuilder.vpcConfigs(vpcConfigs.let(IResolvable::unwrap)) + cdkBuilder.vpcConfigs(vpcConfigs.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnVpcConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnVpcConnection.kt index 5778ec86f2..4cdc84de6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnVpcConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/msk/CfnVpcConnection.kt @@ -46,8 +46,8 @@ public open class CfnVpcConnection( id: String, props: CfnVpcConnectionProps, ) : - this(software.amazon.awscdk.services.msk.CfnVpcConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcConnectionProps::unwrap)) + this(software.amazon.awscdk.services.msk.CfnVpcConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcConnectionProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnVpcConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironment.kt index f7ce2f95ce..b497531c12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironment.kt @@ -100,8 +100,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.mwaa.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.mwaa.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -256,7 +256,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnEnvironment( * `TaskLogs` , `WebserverLogs` , `WorkerLogs` . */ public open fun loggingConfiguration(`value`: IResolvable) { - unwrap(this).setLoggingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnEnvironment( * `TaskLogs` , `WebserverLogs` , `WorkerLogs` . */ public open fun loggingConfiguration(`value`: LoggingConfigurationProperty) { - unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnEnvironment( * resources for your environment. */ public open fun networkConfiguration(`value`: IResolvable) { - unwrap(this).setNetworkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnEnvironment( * resources for your environment. */ public open fun networkConfiguration(`value`: NetworkConfigurationProperty) { - unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty::unwrap)) + unwrap(this).setNetworkConfiguration(`value`.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -1022,7 +1022,7 @@ public open class CfnEnvironment( * `DagProcessingLogs` , `SchedulerLogs` , `TaskLogs` , `WebserverLogs` , `WorkerLogs` . */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnEnvironment( * `DagProcessingLogs` , `SchedulerLogs` , `TaskLogs` , `WebserverLogs` , `WorkerLogs` . */ override fun loggingConfiguration(loggingConfiguration: LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1103,7 +1103,7 @@ public open class CfnEnvironment( * traffic between the AWS resources for your environment. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1118,7 +1118,7 @@ public open class CfnEnvironment( * traffic between the AWS resources for your environment. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -1538,7 +1538,7 @@ public open class CfnEnvironment( * logging level to send. */ override fun dagProcessingLogs(dagProcessingLogs: IResolvable) { - cdkBuilder.dagProcessingLogs(dagProcessingLogs.let(IResolvable::unwrap)) + cdkBuilder.dagProcessingLogs(dagProcessingLogs.let(IResolvable.Companion::unwrap)) } /** @@ -1546,7 +1546,7 @@ public open class CfnEnvironment( * logging level to send. */ override fun dagProcessingLogs(dagProcessingLogs: ModuleLoggingConfigurationProperty) { - cdkBuilder.dagProcessingLogs(dagProcessingLogs.let(ModuleLoggingConfigurationProperty::unwrap)) + cdkBuilder.dagProcessingLogs(dagProcessingLogs.let(ModuleLoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1564,7 +1564,7 @@ public open class CfnEnvironment( * level to send. */ override fun schedulerLogs(schedulerLogs: IResolvable) { - cdkBuilder.schedulerLogs(schedulerLogs.let(IResolvable::unwrap)) + cdkBuilder.schedulerLogs(schedulerLogs.let(IResolvable.Companion::unwrap)) } /** @@ -1572,7 +1572,7 @@ public open class CfnEnvironment( * level to send. */ override fun schedulerLogs(schedulerLogs: ModuleLoggingConfigurationProperty) { - cdkBuilder.schedulerLogs(schedulerLogs.let(ModuleLoggingConfigurationProperty::unwrap)) + cdkBuilder.schedulerLogs(schedulerLogs.let(ModuleLoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1590,7 +1590,7 @@ public open class CfnEnvironment( * send. */ override fun taskLogs(taskLogs: IResolvable) { - cdkBuilder.taskLogs(taskLogs.let(IResolvable::unwrap)) + cdkBuilder.taskLogs(taskLogs.let(IResolvable.Companion::unwrap)) } /** @@ -1598,7 +1598,7 @@ public open class CfnEnvironment( * send. */ override fun taskLogs(taskLogs: ModuleLoggingConfigurationProperty) { - cdkBuilder.taskLogs(taskLogs.let(ModuleLoggingConfigurationProperty::unwrap)) + cdkBuilder.taskLogs(taskLogs.let(ModuleLoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1615,7 +1615,7 @@ public open class CfnEnvironment( * level to send. */ override fun webserverLogs(webserverLogs: IResolvable) { - cdkBuilder.webserverLogs(webserverLogs.let(IResolvable::unwrap)) + cdkBuilder.webserverLogs(webserverLogs.let(IResolvable.Companion::unwrap)) } /** @@ -1623,7 +1623,7 @@ public open class CfnEnvironment( * level to send. */ override fun webserverLogs(webserverLogs: ModuleLoggingConfigurationProperty) { - cdkBuilder.webserverLogs(webserverLogs.let(ModuleLoggingConfigurationProperty::unwrap)) + cdkBuilder.webserverLogs(webserverLogs.let(ModuleLoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1641,7 +1641,7 @@ public open class CfnEnvironment( * send. */ override fun workerLogs(workerLogs: IResolvable) { - cdkBuilder.workerLogs(workerLogs.let(IResolvable::unwrap)) + cdkBuilder.workerLogs(workerLogs.let(IResolvable.Companion::unwrap)) } /** @@ -1649,7 +1649,7 @@ public open class CfnEnvironment( * send. */ override fun workerLogs(workerLogs: ModuleLoggingConfigurationProperty) { - cdkBuilder.workerLogs(workerLogs.let(ModuleLoggingConfigurationProperty::unwrap)) + cdkBuilder.workerLogs(workerLogs.let(ModuleLoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1845,7 +1845,7 @@ public open class CfnEnvironment( * `DagProcessingLogs` ) in CloudWatch Logs. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironmentProps.kt index 761ddbee54..df8545a1f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/mwaa/CfnEnvironmentProps.kt @@ -655,7 +655,7 @@ public interface CfnEnvironmentProps { * `DagProcessingLogs` , `SchedulerLogs` , `TaskLogs` , `WebserverLogs` , `WorkerLogs` . */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public interface CfnEnvironmentProps { */ override fun loggingConfiguration(loggingConfiguration: CfnEnvironment.LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnEnvironment.LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnEnvironment.LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public interface CfnEnvironmentProps { * MWAA](https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html) . */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -725,7 +725,7 @@ public interface CfnEnvironmentProps { */ override fun networkConfiguration(networkConfiguration: CfnEnvironment.NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(CfnEnvironment.NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(CfnEnvironment.NetworkConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBCluster.kt index cbc7597828..0b9eb3fff3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBCluster.kt @@ -91,7 +91,7 @@ public open class CfnDBCluster( cdkObject: software.amazon.awscdk.services.neptune.CfnDBCluster, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.neptune.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.neptune.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -100,8 +100,8 @@ public open class CfnDBCluster( id: String, props: CfnDBClusterProps, ) : - this(software.amazon.awscdk.services.neptune.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBClusterProps::unwrap)) + this(software.amazon.awscdk.services.neptune.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBClusterProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnDBCluster( * with the DB cluster. */ public open fun associatedRoles(`value`: IResolvable) { - unwrap(this).setAssociatedRoles(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociatedRoles(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnDBCluster( * *If set to `true` , tags are copied to any snapshot of the DB cluster that is created.*. */ public open fun copyTagsToSnapshot(`value`: IResolvable) { - unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable::unwrap)) + unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnDBCluster( * Indicates whether or not the DB cluster has deletion protection enabled. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CfnDBCluster( * enabled, and otherwise false. */ public open fun iamAuthEnabled(`value`: IResolvable) { - unwrap(this).setIamAuthEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setIamAuthEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class CfnDBCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -436,14 +436,14 @@ public open class CfnDBCluster( * Contains the scaling configuration of an Neptune Serverless DB cluster. */ public open fun serverlessScalingConfiguration(`value`: IResolvable) { - unwrap(this).setServerlessScalingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerlessScalingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains the scaling configuration of an Neptune Serverless DB cluster. */ public open fun serverlessScalingConfiguration(`value`: ServerlessScalingConfigurationProperty) { - unwrap(this).setServerlessScalingConfiguration(`value`.let(ServerlessScalingConfigurationProperty::unwrap)) + unwrap(this).setServerlessScalingConfiguration(`value`.let(ServerlessScalingConfigurationProperty.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnDBCluster( * Indicates whether the DB cluster is encrypted. */ public open fun storageEncrypted(`value`: IResolvable) { - unwrap(this).setStorageEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public open class CfnDBCluster( * The tags assigned to this cluster. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnDBCluster( * Creates a new DB cluster from a DB snapshot or DB cluster snapshot. */ public open fun useLatestRestorableTime(`value`: IResolvable) { - unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1044,7 +1044,7 @@ public open class CfnDBCluster( * roles that are associated with the DB cluster. */ override fun associatedRoles(associatedRoles: IResolvable) { - cdkBuilder.associatedRoles(associatedRoles.let(IResolvable::unwrap)) + cdkBuilder.associatedRoles(associatedRoles.let(IResolvable.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class CfnDBCluster( * cluster that is created.*. */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -1239,7 +1239,7 @@ public open class CfnDBCluster( * enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -1294,7 +1294,7 @@ public open class CfnDBCluster( * to database accounts is enabled, and otherwise false. */ override fun iamAuthEnabled(iamAuthEnabled: IResolvable) { - cdkBuilder.iamAuthEnabled(iamAuthEnabled.let(IResolvable::unwrap)) + cdkBuilder.iamAuthEnabled(iamAuthEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1378,7 +1378,7 @@ public open class CfnDBCluster( * Serverless DB cluster. */ override fun serverlessScalingConfiguration(serverlessScalingConfiguration: IResolvable) { - cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1390,7 +1390,7 @@ public open class CfnDBCluster( */ override fun serverlessScalingConfiguration(serverlessScalingConfiguration: ServerlessScalingConfigurationProperty) { - cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(ServerlessScalingConfigurationProperty::unwrap)) + cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(ServerlessScalingConfigurationProperty.Companion::unwrap)) } /** @@ -1480,7 +1480,7 @@ public open class CfnDBCluster( * @param storageEncrypted Indicates whether the DB cluster is encrypted. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -1490,7 +1490,7 @@ public open class CfnDBCluster( * @param tags The tags assigned to this cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1534,7 +1534,7 @@ public open class CfnDBCluster( * snapshot. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroup.kt index 1c2cae7749..86b4025512 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroup.kt @@ -59,8 +59,8 @@ public open class CfnDBClusterParameterGroup( id: String, props: CfnDBClusterParameterGroupProps, ) : - this(software.amazon.awscdk.services.neptune.CfnDBClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBClusterParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.neptune.CfnDBClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBClusterParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnDBClusterParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnDBClusterParameterGroup( * The tags that you want to attach to this parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnDBClusterParameterGroup( * @param tags The tags that you want to attach to this parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroupProps.kt index f919c1a39a..5eae4b5d34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterParameterGroupProps.kt @@ -167,7 +167,7 @@ public interface CfnDBClusterParameterGroupProps { * @param tags The tags that you want to attach to this parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterProps.kt index 18930cf672..018c705d4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBClusterProps.kt @@ -658,7 +658,7 @@ public interface CfnDBClusterProps { * other Amazon services on your behalf. */ override fun associatedRoles(associatedRoles: IResolvable) { - cdkBuilder.associatedRoles(associatedRoles.let(IResolvable::unwrap)) + cdkBuilder.associatedRoles(associatedRoles.let(IResolvable.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public interface CfnDBClusterProps { * cluster that is created.*. */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface CfnDBClusterProps { * The database can't be deleted when deletion protection is enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -831,7 +831,7 @@ public interface CfnDBClusterProps { * to database accounts is enabled, and otherwise false. */ override fun iamAuthEnabled(iamAuthEnabled: IResolvable) { - cdkBuilder.iamAuthEnabled(iamAuthEnabled.let(IResolvable::unwrap)) + cdkBuilder.iamAuthEnabled(iamAuthEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public interface CfnDBClusterProps { * Serverless DB cluster. */ override fun serverlessScalingConfiguration(serverlessScalingConfiguration: IResolvable) { - cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -899,7 +899,7 @@ public interface CfnDBClusterProps { */ override fun serverlessScalingConfiguration(serverlessScalingConfiguration: CfnDBCluster.ServerlessScalingConfigurationProperty) { - cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(CfnDBCluster.ServerlessScalingConfigurationProperty::unwrap)) + cdkBuilder.serverlessScalingConfiguration(serverlessScalingConfiguration.let(CfnDBCluster.ServerlessScalingConfigurationProperty.Companion::unwrap)) } /** @@ -969,14 +969,14 @@ public interface CfnDBClusterProps { * true. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** * @param tags The tags assigned to this cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1009,7 +1009,7 @@ public interface CfnDBClusterProps { * the new DB cluster is created with the default security group. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstance.kt index 083fc52430..90f4158c87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstance.kt @@ -94,8 +94,8 @@ public open class CfnDBInstance( id: String, props: CfnDBInstanceProps, ) : - this(software.amazon.awscdk.services.neptune.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBInstanceProps::unwrap)) + this(software.amazon.awscdk.services.neptune.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBInstanceProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnDBInstance( * Indicates that major version upgrades are allowed. */ public open fun allowMajorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAllowMajorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowMajorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnDBInstance( * Indicates that minor version patches are applied automatically. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnDBInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnDBInstance( * An arbitrary set of tags (key-value pairs) for this DB instance. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnDBInstance( * @param allowMajorVersionUpgrade Indicates that major version upgrades are allowed. */ override fun allowMajorVersionUpgrade(allowMajorVersionUpgrade: IResolvable) { - cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnDBInstance( * automatically. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnDBInstance( * @param tags An arbitrary set of tags (key-value pairs) for this DB instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstanceProps.kt index 64b6716f5f..42617a79f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBInstanceProps.kt @@ -286,7 +286,7 @@ public interface CfnDBInstanceProps { * existing DB cluster with a new, empty one that uses the engine version you specified. */ override fun allowMajorVersionUpgrade(allowMajorVersionUpgrade: IResolvable) { - cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public interface CfnDBInstanceProps { * When updating this property, some interruptions may occur. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public interface CfnDBInstanceProps { * @param tags An arbitrary set of tags (key-value pairs) for this DB instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroup.kt index 3119e449c1..679ea71bc8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroup.kt @@ -79,8 +79,8 @@ public open class CfnDBParameterGroup( id: String, props: CfnDBParameterGroupProps, ) : - this(software.amazon.awscdk.services.neptune.CfnDBParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.neptune.CfnDBParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnDBParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnDBParameterGroup( * The tags that you want to attach to this parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnDBParameterGroup( * @param tags The tags that you want to attach to this parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroupProps.kt index bc3257c62b..bfe3a5e127 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBParameterGroupProps.kt @@ -166,7 +166,7 @@ public interface CfnDBParameterGroupProps { * @param tags The tags that you want to attach to this parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroup.kt index 14358afb7a..67ea8981b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroup.kt @@ -49,8 +49,8 @@ public open class CfnDBSubnetGroup( id: String, props: CfnDBSubnetGroupProps, ) : - this(software.amazon.awscdk.services.neptune.CfnDBSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.neptune.CfnDBSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnDBSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnDBSubnetGroup( * The tags that you want to attach to the DB subnet group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnDBSubnetGroup( * @param tags The tags that you want to attach to the DB subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroupProps.kt index a7f9b043df..ce64b35e40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptune/CfnDBSubnetGroupProps.kt @@ -132,7 +132,7 @@ public interface CfnDBSubnetGroupProps { * @param tags The tags that you want to attach to the DB subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraph.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraph.kt index bcb6417e59..36df304e36 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraph.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraph.kt @@ -64,8 +64,8 @@ public open class CfnGraph( id: String, props: CfnGraphProps, ) : - this(software.amazon.awscdk.services.neptunegraph.CfnGraph(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGraphProps::unwrap)) + this(software.amazon.awscdk.services.neptunegraph.CfnGraph(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGraphProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnGraph( * A value that indicates whether the graph has deletion protection enabled. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnGraph( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnGraph( * All access to graphs is IAM authenticated. */ public open fun publicConnectivity(`value`: IResolvable) { - unwrap(this).setPublicConnectivity(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublicConnectivity(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnGraph( * Adds metadata tags to the new graph. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnGraph( * Specifies the number of dimensions for vector embeddings that will be loaded into the graph. */ public open fun vectorSearchConfiguration(`value`: IResolvable) { - unwrap(this).setVectorSearchConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVectorSearchConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the number of dimensions for vector embeddings that will be loaded into the graph. */ public open fun vectorSearchConfiguration(`value`: VectorSearchConfigurationProperty) { - unwrap(this).setVectorSearchConfiguration(`value`.let(VectorSearchConfigurationProperty::unwrap)) + unwrap(this).setVectorSearchConfiguration(`value`.let(VectorSearchConfigurationProperty.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class CfnGraph( * enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnGraph( * internet. All access to graphs is IAM authenticated. */ override fun publicConnectivity(publicConnectivity: IResolvable) { - cdkBuilder.publicConnectivity(publicConnectivity.let(IResolvable::unwrap)) + cdkBuilder.publicConnectivity(publicConnectivity.let(IResolvable.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CfnGraph( * @param tags Adds metadata tags to the new graph. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public open class CfnGraph( * that will be loaded into the graph. */ override fun vectorSearchConfiguration(vectorSearchConfiguration: IResolvable) { - cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnGraph( */ override fun vectorSearchConfiguration(vectorSearchConfiguration: VectorSearchConfigurationProperty) { - cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(VectorSearchConfigurationProperty::unwrap)) + cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(VectorSearchConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraphProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraphProps.kt index 5a4719e3df..6427388e16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraphProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnGraphProps.kt @@ -255,7 +255,7 @@ public interface CfnGraphProps { * The graph can't be deleted when deletion protection is enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface CfnGraphProps { * enabled. */ override fun publicConnectivity(publicConnectivity: IResolvable) { - cdkBuilder.publicConnectivity(publicConnectivity.let(IResolvable::unwrap)) + cdkBuilder.publicConnectivity(publicConnectivity.let(IResolvable.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public interface CfnGraphProps { * in an IAM policy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface CfnGraphProps { * The value is specified as `dimension=` value. Max = 65,535 */ override fun vectorSearchConfiguration(vectorSearchConfiguration: IResolvable) { - cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public interface CfnGraphProps { */ override fun vectorSearchConfiguration(vectorSearchConfiguration: CfnGraph.VectorSearchConfigurationProperty) { - cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(CfnGraph.VectorSearchConfigurationProperty::unwrap)) + cdkBuilder.vectorSearchConfiguration(vectorSearchConfiguration.let(CfnGraph.VectorSearchConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnPrivateGraphEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnPrivateGraphEndpoint.kt index 2d2e67ecd5..8b2896d47f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnPrivateGraphEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/neptunegraph/CfnPrivateGraphEndpoint.kt @@ -47,8 +47,8 @@ public open class CfnPrivateGraphEndpoint( id: String, props: CfnPrivateGraphEndpointProps, ) : - this(software.amazon.awscdk.services.neptunegraph.CfnPrivateGraphEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPrivateGraphEndpointProps::unwrap)) + this(software.amazon.awscdk.services.neptunegraph.CfnPrivateGraphEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPrivateGraphEndpointProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnPrivateGraphEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewall.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewall.kt index 3409ef0a69..a1e5b0d3af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewall.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewall.kt @@ -65,8 +65,8 @@ public open class CfnFirewall( id: String, props: CfnFirewallProps, ) : - this(software.amazon.awscdk.services.networkfirewall.CfnFirewall(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFirewallProps::unwrap)) + this(software.amazon.awscdk.services.networkfirewall.CfnFirewall(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFirewallProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnFirewall( * A flag indicating whether it is possible to delete the firewall. */ public open fun deleteProtection(`value`: IResolvable) { - unwrap(this).setDeleteProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnFirewall( * association. */ public open fun firewallPolicyChangeProtection(`value`: IResolvable) { - unwrap(this).setFirewallPolicyChangeProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setFirewallPolicyChangeProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnFirewall( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnFirewall( * associations. */ public open fun subnetChangeProtection(`value`: IResolvable) { - unwrap(this).setSubnetChangeProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubnetChangeProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnFirewall( * The public subnets that Network Firewall is using for the firewall. */ public open fun subnetMappings(`value`: IResolvable) { - unwrap(this).setSubnetMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubnetMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnFirewall( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnFirewall( * @param deleteProtection A flag indicating whether it is possible to delete the firewall. */ override fun deleteProtection(deleteProtection: IResolvable) { - cdkBuilder.deleteProtection(deleteProtection.let(IResolvable::unwrap)) + cdkBuilder.deleteProtection(deleteProtection.let(IResolvable.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CfnFirewall( * against a change to the firewall policy association. */ override fun firewallPolicyChangeProtection(firewallPolicyChangeProtection: IResolvable) { - cdkBuilder.firewallPolicyChangeProtection(firewallPolicyChangeProtection.let(IResolvable::unwrap)) + cdkBuilder.firewallPolicyChangeProtection(firewallPolicyChangeProtection.let(IResolvable.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class CfnFirewall( * changes to the subnet associations. */ override fun subnetChangeProtection(subnetChangeProtection: IResolvable) { - cdkBuilder.subnetChangeProtection(subnetChangeProtection.let(IResolvable::unwrap)) + cdkBuilder.subnetChangeProtection(subnetChangeProtection.let(IResolvable.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class CfnFirewall( * @param subnetMappings The public subnets that Network Firewall is using for the firewall. */ override fun subnetMappings(subnetMappings: IResolvable) { - cdkBuilder.subnetMappings(subnetMappings.let(IResolvable::unwrap)) + cdkBuilder.subnetMappings(subnetMappings.let(IResolvable.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class CfnFirewall( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicy.kt index 04079e210d..c9c07f0c33 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicy.kt @@ -94,8 +94,8 @@ public open class CfnFirewallPolicy( id: String, props: CfnFirewallPolicyProps, ) : - this(software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFirewallPolicyProps::unwrap)) + this(software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFirewallPolicyProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnFirewallPolicy( * stateful rule groups and other settings. */ public open fun firewallPolicy(`value`: IResolvable) { - unwrap(this).setFirewallPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setFirewallPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnFirewallPolicy( * stateful rule groups and other settings. */ public open fun firewallPolicy(`value`: FirewallPolicyProperty) { - unwrap(this).setFirewallPolicy(`value`.let(FirewallPolicyProperty::unwrap)) + unwrap(this).setFirewallPolicy(`value`.let(FirewallPolicyProperty.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnFirewallPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnFirewallPolicy( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CfnFirewallPolicy( * collection of stateless and stateful rule groups and other settings. */ override fun firewallPolicy(firewallPolicy: IResolvable) { - cdkBuilder.firewallPolicy(firewallPolicy.let(IResolvable::unwrap)) + cdkBuilder.firewallPolicy(firewallPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnFirewallPolicy( * collection of stateless and stateful rule groups and other settings. */ override fun firewallPolicy(firewallPolicy: FirewallPolicyProperty) { - cdkBuilder.firewallPolicy(firewallPolicy.let(FirewallPolicyProperty::unwrap)) + cdkBuilder.firewallPolicy(firewallPolicy.let(FirewallPolicyProperty.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnFirewallPolicy( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public open class CfnFirewallPolicy( * publishes metrics for the packet and forwards it. */ override fun publishMetricAction(publishMetricAction: IResolvable) { - cdkBuilder.publishMetricAction(publishMetricAction.let(IResolvable::unwrap)) + cdkBuilder.publishMetricAction(publishMetricAction.let(IResolvable.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnFirewallPolicy( * publishes metrics for the packet and forwards it. */ override fun publishMetricAction(publishMetricAction: PublishMetricActionProperty) { - cdkBuilder.publishMetricAction(publishMetricAction.let(PublishMetricActionProperty::unwrap)) + cdkBuilder.publishMetricAction(publishMetricAction.let(PublishMetricActionProperty.Companion::unwrap)) } /** @@ -668,14 +668,14 @@ public open class CfnFirewallPolicy( * @param actionDefinition The custom action associated with the action name. */ override fun actionDefinition(actionDefinition: IResolvable) { - cdkBuilder.actionDefinition(actionDefinition.let(IResolvable::unwrap)) + cdkBuilder.actionDefinition(actionDefinition.let(IResolvable.Companion::unwrap)) } /** * @param actionDefinition The custom action associated with the action name. */ override fun actionDefinition(actionDefinition: ActionDefinitionProperty) { - cdkBuilder.actionDefinition(actionDefinition.let(ActionDefinitionProperty::unwrap)) + cdkBuilder.actionDefinition(actionDefinition.let(ActionDefinitionProperty.Companion::unwrap)) } /** @@ -1232,7 +1232,7 @@ public open class CfnFirewallPolicy( * settings in your firewall policy. */ override fun policyVariables(policyVariables: IResolvable) { - cdkBuilder.policyVariables(policyVariables.let(IResolvable::unwrap)) + cdkBuilder.policyVariables(policyVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1240,7 +1240,7 @@ public open class CfnFirewallPolicy( * settings in your firewall policy. */ override fun policyVariables(policyVariables: PolicyVariablesProperty) { - cdkBuilder.policyVariables(policyVariables.let(PolicyVariablesProperty::unwrap)) + cdkBuilder.policyVariables(policyVariables.let(PolicyVariablesProperty.Companion::unwrap)) } /** @@ -1300,7 +1300,7 @@ public open class CfnFirewallPolicy( * settings that are compatible with these settings. */ override fun statefulEngineOptions(statefulEngineOptions: IResolvable) { - cdkBuilder.statefulEngineOptions(statefulEngineOptions.let(IResolvable::unwrap)) + cdkBuilder.statefulEngineOptions(statefulEngineOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1310,7 +1310,7 @@ public open class CfnFirewallPolicy( * settings that are compatible with these settings. */ override fun statefulEngineOptions(statefulEngineOptions: StatefulEngineOptionsProperty) { - cdkBuilder.statefulEngineOptions(statefulEngineOptions.let(StatefulEngineOptionsProperty::unwrap)) + cdkBuilder.statefulEngineOptions(statefulEngineOptions.let(StatefulEngineOptionsProperty.Companion::unwrap)) } /** @@ -1331,7 +1331,7 @@ public open class CfnFirewallPolicy( * These define the inspection criteria in stateful rules. */ override fun statefulRuleGroupReferences(statefulRuleGroupReferences: IResolvable) { - cdkBuilder.statefulRuleGroupReferences(statefulRuleGroupReferences.let(IResolvable::unwrap)) + cdkBuilder.statefulRuleGroupReferences(statefulRuleGroupReferences.let(IResolvable.Companion::unwrap)) } /** @@ -1358,7 +1358,7 @@ public open class CfnFirewallPolicy( * default actions specifications. */ override fun statelessCustomActions(statelessCustomActions: IResolvable) { - cdkBuilder.statelessCustomActions(statelessCustomActions.let(IResolvable::unwrap)) + cdkBuilder.statelessCustomActions(statelessCustomActions.let(IResolvable.Companion::unwrap)) } /** @@ -1456,7 +1456,7 @@ public open class CfnFirewallPolicy( * These define the matching criteria in stateless rules. */ override fun statelessRuleGroupReferences(statelessRuleGroupReferences: IResolvable) { - cdkBuilder.statelessRuleGroupReferences(statelessRuleGroupReferences.let(IResolvable::unwrap)) + cdkBuilder.statelessRuleGroupReferences(statelessRuleGroupReferences.let(IResolvable.Companion::unwrap)) } /** @@ -1790,7 +1790,7 @@ public open class CfnFirewallPolicy( * Network Firewall by default uses the CIDR of your inspection VPC. */ override fun ruleVariables(ruleVariables: IResolvable) { - cdkBuilder.ruleVariables(ruleVariables.let(IResolvable::unwrap)) + cdkBuilder.ruleVariables(ruleVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1900,7 +1900,7 @@ public open class CfnFirewallPolicy( * @param dimensions the value to be set. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2357,7 +2357,7 @@ public open class CfnFirewallPolicy( * rule group within a policy. */ override fun `override`(`override`: IResolvable) { - cdkBuilder.`override`(`override`.let(IResolvable::unwrap)) + cdkBuilder.`override`(`override`.let(IResolvable.Companion::unwrap)) } /** @@ -2365,7 +2365,7 @@ public open class CfnFirewallPolicy( * rule group within a policy. */ override fun `override`(`override`: StatefulRuleGroupOverrideProperty) { - cdkBuilder.`override`(`override`.let(StatefulRuleGroupOverrideProperty::unwrap)) + cdkBuilder.`override`(`override`.let(StatefulRuleGroupOverrideProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicyProps.kt index 6deaa572d1..8c13f23a9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallPolicyProps.kt @@ -180,7 +180,7 @@ public interface CfnFirewallPolicyProps { * collection of stateless and stateful rule groups and other settings. */ override fun firewallPolicy(firewallPolicy: IResolvable) { - cdkBuilder.firewallPolicy(firewallPolicy.let(IResolvable::unwrap)) + cdkBuilder.firewallPolicy(firewallPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public interface CfnFirewallPolicyProps { * collection of stateless and stateful rule groups and other settings. */ override fun firewallPolicy(firewallPolicy: CfnFirewallPolicy.FirewallPolicyProperty) { - cdkBuilder.firewallPolicy(firewallPolicy.let(CfnFirewallPolicy.FirewallPolicyProperty::unwrap)) + cdkBuilder.firewallPolicy(firewallPolicy.let(CfnFirewallPolicy.FirewallPolicyProperty.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public interface CfnFirewallPolicyProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallProps.kt index 5da380ca52..c40c774d15 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnFirewallProps.kt @@ -271,7 +271,7 @@ public interface CfnFirewallProps { * firewall, the operation initializes this flag to `TRUE` . */ override fun deleteProtection(deleteProtection: IResolvable) { - cdkBuilder.deleteProtection(deleteProtection.let(IResolvable::unwrap)) + cdkBuilder.deleteProtection(deleteProtection.let(IResolvable.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public interface CfnFirewallProps { * that is in use. When you create a firewall, the operation initializes this setting to `TRUE` . */ override fun firewallPolicyChangeProtection(firewallPolicyChangeProtection: IResolvable) { - cdkBuilder.firewallPolicyChangeProtection(firewallPolicyChangeProtection.let(IResolvable::unwrap)) + cdkBuilder.firewallPolicyChangeProtection(firewallPolicyChangeProtection.let(IResolvable.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public interface CfnFirewallProps { * `TRUE` . */ override fun subnetChangeProtection(subnetChangeProtection: IResolvable) { - cdkBuilder.subnetChangeProtection(subnetChangeProtection.let(IResolvable::unwrap)) + cdkBuilder.subnetChangeProtection(subnetChangeProtection.let(IResolvable.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface CfnFirewallProps { * Each subnet must belong to a different Availability Zone. */ override fun subnetMappings(subnetMappings: IResolvable) { - cdkBuilder.subnetMappings(subnetMappings.let(IResolvable::unwrap)) + cdkBuilder.subnetMappings(subnetMappings.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface CfnFirewallProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfiguration.kt index e0a0d03668..dbb183633e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfiguration.kt @@ -68,8 +68,8 @@ public open class CfnLoggingConfiguration( id: String, props: CfnLoggingConfigurationProps, ) : - this(software.amazon.awscdk.services.networkfirewall.CfnLoggingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoggingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.networkfirewall.CfnLoggingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoggingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnLoggingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,14 +123,14 @@ public open class CfnLoggingConfiguration( * Defines how AWS Network Firewall performs logging for a `Firewall` . */ public open fun loggingConfiguration(`value`: IResolvable) { - unwrap(this).setLoggingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines how AWS Network Firewall performs logging for a `Firewall` . */ public open fun loggingConfiguration(`value`: LoggingConfigurationProperty) { - unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnLoggingConfiguration( * `Firewall` . */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnLoggingConfiguration( * `Firewall` . */ override fun loggingConfiguration(loggingConfiguration: LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnLoggingConfiguration( * `"LogDestination": { "deliveryStream": "alert-delivery-stream" }` */ override fun logDestination(logDestination: IResolvable) { - cdkBuilder.logDestination(logDestination.let(IResolvable::unwrap)) + cdkBuilder.logDestination(logDestination.let(IResolvable.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public open class CfnLoggingConfiguration( * Network Firewall generates logs for stateful rule groups. */ override fun logDestinationConfigs(logDestinationConfigs: IResolvable) { - cdkBuilder.logDestinationConfigs(logDestinationConfigs.let(IResolvable::unwrap)) + cdkBuilder.logDestinationConfigs(logDestinationConfigs.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfigurationProps.kt index 94a8eee6ff..284c5d8a95 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnLoggingConfigurationProps.kt @@ -135,7 +135,7 @@ public interface CfnLoggingConfigurationProps { * `Firewall` . */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public interface CfnLoggingConfigurationProps { */ override fun loggingConfiguration(loggingConfiguration: CfnLoggingConfiguration.LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnLoggingConfiguration.LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnLoggingConfiguration.LoggingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroup.kt index 196970d6cd..e366a10b07 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroup.kt @@ -142,8 +142,8 @@ public open class CfnRuleGroup( id: String, props: CfnRuleGroupProps, ) : - this(software.amazon.awscdk.services.networkfirewall.CfnRuleGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleGroupProps::unwrap)) + this(software.amazon.awscdk.services.networkfirewall.CfnRuleGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleGroupProps.Companion::unwrap)) ) public constructor( @@ -193,7 +193,7 @@ public open class CfnRuleGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -205,14 +205,14 @@ public open class CfnRuleGroup( * An object that defines the rule group rules. */ public open fun ruleGroup(`value`: IResolvable) { - unwrap(this).setRuleGroup(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuleGroup(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that defines the rule group rules. */ public open fun ruleGroup(`value`: RuleGroupProperty) { - unwrap(this).setRuleGroup(`value`.let(RuleGroupProperty::unwrap)) + unwrap(this).setRuleGroup(`value`.let(RuleGroupProperty.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnRuleGroup( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnRuleGroup( * @param ruleGroup An object that defines the rule group rules. */ override fun ruleGroup(ruleGroup: IResolvable) { - cdkBuilder.ruleGroup(ruleGroup.let(IResolvable::unwrap)) + cdkBuilder.ruleGroup(ruleGroup.let(IResolvable.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class CfnRuleGroup( * @param ruleGroup An object that defines the rule group rules. */ override fun ruleGroup(ruleGroup: RuleGroupProperty) { - cdkBuilder.ruleGroup(ruleGroup.let(RuleGroupProperty::unwrap)) + cdkBuilder.ruleGroup(ruleGroup.let(RuleGroupProperty.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnRuleGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public open class CfnRuleGroup( * publishes metrics for the packet and forwards it. */ override fun publishMetricAction(publishMetricAction: IResolvable) { - cdkBuilder.publishMetricAction(publishMetricAction.let(IResolvable::unwrap)) + cdkBuilder.publishMetricAction(publishMetricAction.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnRuleGroup( * publishes metrics for the packet and forwards it. */ override fun publishMetricAction(publishMetricAction: PublishMetricActionProperty) { - cdkBuilder.publishMetricAction(publishMetricAction.let(PublishMetricActionProperty::unwrap)) + cdkBuilder.publishMetricAction(publishMetricAction.let(PublishMetricActionProperty.Companion::unwrap)) } /** @@ -933,14 +933,14 @@ public open class CfnRuleGroup( * @param actionDefinition The custom action associated with the action name. */ override fun actionDefinition(actionDefinition: IResolvable) { - cdkBuilder.actionDefinition(actionDefinition.let(IResolvable::unwrap)) + cdkBuilder.actionDefinition(actionDefinition.let(IResolvable.Companion::unwrap)) } /** * @param actionDefinition The custom action associated with the action name. */ override fun actionDefinition(actionDefinition: ActionDefinitionProperty) { - cdkBuilder.actionDefinition(actionDefinition.let(ActionDefinitionProperty::unwrap)) + cdkBuilder.actionDefinition(actionDefinition.let(ActionDefinitionProperty.Companion::unwrap)) } /** @@ -1974,7 +1974,7 @@ public open class CfnRuleGroup( * example `1990:1994` . */ override fun destinationPorts(destinationPorts: IResolvable) { - cdkBuilder.destinationPorts(destinationPorts.let(IResolvable::unwrap)) + cdkBuilder.destinationPorts(destinationPorts.let(IResolvable.Companion::unwrap)) } /** @@ -2006,7 +2006,7 @@ public open class CfnRuleGroup( * If not specified, this matches with any destination address. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -2032,7 +2032,7 @@ public open class CfnRuleGroup( * If not specified, this matches with any protocol. */ override fun protocols(protocols: IResolvable) { - cdkBuilder.protocols(protocols.let(IResolvable::unwrap)) + cdkBuilder.protocols(protocols.let(IResolvable.Companion::unwrap)) } /** @@ -2060,7 +2060,7 @@ public open class CfnRuleGroup( * example `1990:1994` . */ override fun sourcePorts(sourcePorts: IResolvable) { - cdkBuilder.sourcePorts(sourcePorts.let(IResolvable::unwrap)) + cdkBuilder.sourcePorts(sourcePorts.let(IResolvable.Companion::unwrap)) } /** @@ -2090,7 +2090,7 @@ public open class CfnRuleGroup( * If not specified, this matches with any source address. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -2113,7 +2113,7 @@ public open class CfnRuleGroup( * (TCP). */ override fun tcpFlags(tcpFlags: IResolvable) { - cdkBuilder.tcpFlags(tcpFlags.let(IResolvable::unwrap)) + cdkBuilder.tcpFlags(tcpFlags.let(IResolvable.Companion::unwrap)) } /** @@ -2495,7 +2495,7 @@ public open class CfnRuleGroup( * @param dimensions the value to be set. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -2598,7 +2598,7 @@ public open class CfnRuleGroup( * @param ipSetReferences The IP set references to use in the stateful rule group. */ override fun ipSetReferences(ipSetReferences: IResolvable) { - cdkBuilder.ipSetReferences(ipSetReferences.let(IResolvable::unwrap)) + cdkBuilder.ipSetReferences(ipSetReferences.let(IResolvable.Companion::unwrap)) } /** @@ -2900,7 +2900,7 @@ public open class CfnRuleGroup( * port number, protocol, and TCP flags. */ override fun matchAttributes(matchAttributes: IResolvable) { - cdkBuilder.matchAttributes(matchAttributes.let(IResolvable::unwrap)) + cdkBuilder.matchAttributes(matchAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -2910,7 +2910,7 @@ public open class CfnRuleGroup( * port number, protocol, and TCP flags. */ override fun matchAttributes(matchAttributes: MatchAttributesProperty) { - cdkBuilder.matchAttributes(matchAttributes.let(MatchAttributesProperty::unwrap)) + cdkBuilder.matchAttributes(matchAttributes.let(MatchAttributesProperty.Companion::unwrap)) } /** @@ -3244,14 +3244,14 @@ public open class CfnRuleGroup( * @param referenceSets The reference sets for the stateful rule group. */ override fun referenceSets(referenceSets: IResolvable) { - cdkBuilder.referenceSets(referenceSets.let(IResolvable::unwrap)) + cdkBuilder.referenceSets(referenceSets.let(IResolvable.Companion::unwrap)) } /** * @param referenceSets The reference sets for the stateful rule group. */ override fun referenceSets(referenceSets: ReferenceSetsProperty) { - cdkBuilder.referenceSets(referenceSets.let(ReferenceSetsProperty::unwrap)) + cdkBuilder.referenceSets(referenceSets.let(ReferenceSetsProperty.Companion::unwrap)) } /** @@ -3267,7 +3267,7 @@ public open class CfnRuleGroup( * You can only use these for stateful rule groups. */ override fun ruleVariables(ruleVariables: IResolvable) { - cdkBuilder.ruleVariables(ruleVariables.let(IResolvable::unwrap)) + cdkBuilder.ruleVariables(ruleVariables.let(IResolvable.Companion::unwrap)) } /** @@ -3275,7 +3275,7 @@ public open class CfnRuleGroup( * You can only use these for stateful rule groups. */ override fun ruleVariables(ruleVariables: RuleVariablesProperty) { - cdkBuilder.ruleVariables(ruleVariables.let(RuleVariablesProperty::unwrap)) + cdkBuilder.ruleVariables(ruleVariables.let(RuleVariablesProperty.Companion::unwrap)) } /** @@ -3291,14 +3291,14 @@ public open class CfnRuleGroup( * @param rulesSource The stateful rules or stateless rules for the rule group. */ override fun rulesSource(rulesSource: IResolvable) { - cdkBuilder.rulesSource(rulesSource.let(IResolvable::unwrap)) + cdkBuilder.rulesSource(rulesSource.let(IResolvable.Companion::unwrap)) } /** * @param rulesSource The stateful rules or stateless rules for the rule group. */ override fun rulesSource(rulesSource: RulesSourceProperty) { - cdkBuilder.rulesSource(rulesSource.let(RulesSourceProperty::unwrap)) + cdkBuilder.rulesSource(rulesSource.let(RulesSourceProperty.Companion::unwrap)) } /** @@ -3319,7 +3319,7 @@ public open class CfnRuleGroup( * in the *AWS Network Firewall Developer Guide* . */ override fun statefulRuleOptions(statefulRuleOptions: IResolvable) { - cdkBuilder.statefulRuleOptions(statefulRuleOptions.let(IResolvable::unwrap)) + cdkBuilder.statefulRuleOptions(statefulRuleOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3332,7 +3332,7 @@ public open class CfnRuleGroup( * in the *AWS Network Firewall Developer Guide* . */ override fun statefulRuleOptions(statefulRuleOptions: StatefulRuleOptionsProperty) { - cdkBuilder.statefulRuleOptions(statefulRuleOptions.let(StatefulRuleOptionsProperty::unwrap)) + cdkBuilder.statefulRuleOptions(statefulRuleOptions.let(StatefulRuleOptionsProperty.Companion::unwrap)) } /** @@ -3659,7 +3659,7 @@ public open class CfnRuleGroup( * @param ipSets A list of IP addresses and address ranges, in CIDR notation. */ override fun ipSets(ipSets: IResolvable) { - cdkBuilder.ipSets(ipSets.let(IResolvable::unwrap)) + cdkBuilder.ipSets(ipSets.let(IResolvable.Companion::unwrap)) } /** @@ -3673,7 +3673,7 @@ public open class CfnRuleGroup( * @param portSets A list of port ranges. */ override fun portSets(portSets: IResolvable) { - cdkBuilder.portSets(portSets.let(IResolvable::unwrap)) + cdkBuilder.portSets(portSets.let(IResolvable.Companion::unwrap)) } /** @@ -4168,14 +4168,14 @@ public open class CfnRuleGroup( * @param rulesSourceList Stateful inspection criteria for a domain list rule group. */ override fun rulesSourceList(rulesSourceList: IResolvable) { - cdkBuilder.rulesSourceList(rulesSourceList.let(IResolvable::unwrap)) + cdkBuilder.rulesSourceList(rulesSourceList.let(IResolvable.Companion::unwrap)) } /** * @param rulesSourceList Stateful inspection criteria for a domain list rule group. */ override fun rulesSourceList(rulesSourceList: RulesSourceListProperty) { - cdkBuilder.rulesSourceList(rulesSourceList.let(RulesSourceListProperty::unwrap)) + cdkBuilder.rulesSourceList(rulesSourceList.let(RulesSourceListProperty.Companion::unwrap)) } /** @@ -4212,7 +4212,7 @@ public open class CfnRuleGroup( * . */ override fun statefulRules(statefulRules: IResolvable) { - cdkBuilder.statefulRules(statefulRules.let(IResolvable::unwrap)) + cdkBuilder.statefulRules(statefulRules.let(IResolvable.Companion::unwrap)) } /** @@ -4245,7 +4245,7 @@ public open class CfnRuleGroup( * stateless rule group. */ override fun statelessRulesAndCustomActions(statelessRulesAndCustomActions: IResolvable) { - cdkBuilder.statelessRulesAndCustomActions(statelessRulesAndCustomActions.let(IResolvable::unwrap)) + cdkBuilder.statelessRulesAndCustomActions(statelessRulesAndCustomActions.let(IResolvable.Companion::unwrap)) } /** @@ -4254,7 +4254,7 @@ public open class CfnRuleGroup( */ override fun statelessRulesAndCustomActions(statelessRulesAndCustomActions: StatelessRulesAndCustomActionsProperty) { - cdkBuilder.statelessRulesAndCustomActions(statelessRulesAndCustomActions.let(StatelessRulesAndCustomActionsProperty::unwrap)) + cdkBuilder.statelessRulesAndCustomActions(statelessRulesAndCustomActions.let(StatelessRulesAndCustomActionsProperty.Companion::unwrap)) } /** @@ -4649,7 +4649,7 @@ public open class CfnRuleGroup( * flows. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } /** @@ -4657,7 +4657,7 @@ public open class CfnRuleGroup( * flows. */ override fun `header`(`header`: HeaderProperty) { - cdkBuilder.`header`(`header`.let(HeaderProperty::unwrap)) + cdkBuilder.`header`(`header`.let(HeaderProperty.Companion::unwrap)) } /** @@ -4674,7 +4674,7 @@ public open class CfnRuleGroup( * settings. */ override fun ruleOptions(ruleOptions: IResolvable) { - cdkBuilder.ruleOptions(ruleOptions.let(IResolvable::unwrap)) + cdkBuilder.ruleOptions(ruleOptions.let(IResolvable.Companion::unwrap)) } /** @@ -4910,7 +4910,7 @@ public open class CfnRuleGroup( * action to take on a packet that matches the criteria. */ override fun ruleDefinition(ruleDefinition: IResolvable) { - cdkBuilder.ruleDefinition(ruleDefinition.let(IResolvable::unwrap)) + cdkBuilder.ruleDefinition(ruleDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -4918,7 +4918,7 @@ public open class CfnRuleGroup( * action to take on a packet that matches the criteria. */ override fun ruleDefinition(ruleDefinition: RuleDefinitionProperty) { - cdkBuilder.ruleDefinition(ruleDefinition.let(RuleDefinitionProperty::unwrap)) + cdkBuilder.ruleDefinition(ruleDefinition.let(RuleDefinitionProperty.Companion::unwrap)) } /** @@ -5126,7 +5126,7 @@ public open class CfnRuleGroup( * stateless rule `RuleGroup.RuleDefinition` `Actions` specification. */ override fun customActions(customActions: IResolvable) { - cdkBuilder.customActions(customActions.let(IResolvable::unwrap)) + cdkBuilder.customActions(customActions.let(IResolvable.Companion::unwrap)) } /** @@ -5155,7 +5155,7 @@ public open class CfnRuleGroup( * */ override fun statelessRules(statelessRules: IResolvable) { - cdkBuilder.statelessRules(statelessRules.let(IResolvable::unwrap)) + cdkBuilder.statelessRules(statelessRules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroupProps.kt index bc1d7c9300..7df39c4587 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnRuleGroupProps.kt @@ -270,14 +270,14 @@ public interface CfnRuleGroupProps { * @param ruleGroup An object that defines the rule group rules. */ override fun ruleGroup(ruleGroup: IResolvable) { - cdkBuilder.ruleGroup(ruleGroup.let(IResolvable::unwrap)) + cdkBuilder.ruleGroup(ruleGroup.let(IResolvable.Companion::unwrap)) } /** * @param ruleGroup An object that defines the rule group rules. */ override fun ruleGroup(ruleGroup: CfnRuleGroup.RuleGroupProperty) { - cdkBuilder.ruleGroup(ruleGroup.let(CfnRuleGroup.RuleGroupProperty::unwrap)) + cdkBuilder.ruleGroup(ruleGroup.let(CfnRuleGroup.RuleGroupProperty.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface CfnRuleGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfiguration.kt index 0325492850..0f644a384c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfiguration.kt @@ -93,8 +93,8 @@ public open class CfnTLSInspectionConfiguration( id: String, props: CfnTLSInspectionConfigurationProps, ) : - this(software.amazon.awscdk.services.networkfirewall.CfnTLSInspectionConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTLSInspectionConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.networkfirewall.CfnTLSInspectionConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTLSInspectionConfigurationProps.Companion::unwrap)) ) public constructor( @@ -143,7 +143,7 @@ public open class CfnTLSInspectionConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnTLSInspectionConfiguration( * The key:value pairs to associate with the resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -172,14 +172,14 @@ public open class CfnTLSInspectionConfiguration( * The object that defines a TLS inspection configuration. */ public open fun tlsInspectionConfiguration(`value`: IResolvable) { - unwrap(this).setTlsInspectionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTlsInspectionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The object that defines a TLS inspection configuration. */ public open fun tlsInspectionConfiguration(`value`: TLSInspectionConfigurationProperty) { - unwrap(this).setTlsInspectionConfiguration(`value`.let(TLSInspectionConfigurationProperty::unwrap)) + unwrap(this).setTlsInspectionConfiguration(`value`.let(TLSInspectionConfigurationProperty.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnTLSInspectionConfiguration( * @param tags The key:value pairs to associate with the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnTLSInspectionConfiguration( * @param tlsInspectionConfiguration The object that defines a TLS inspection configuration. */ override fun tlsInspectionConfiguration(tlsInspectionConfiguration: IResolvable) { - cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnTLSInspectionConfiguration( */ override fun tlsInspectionConfiguration(tlsInspectionConfiguration: TLSInspectionConfigurationProperty) { - cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(TLSInspectionConfigurationProperty::unwrap)) + cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(TLSInspectionConfigurationProperty.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public open class CfnTLSInspectionConfiguration( * . */ override fun checkCertificateRevocationStatus(checkCertificateRevocationStatus: IResolvable) { - cdkBuilder.checkCertificateRevocationStatus(checkCertificateRevocationStatus.let(IResolvable::unwrap)) + cdkBuilder.checkCertificateRevocationStatus(checkCertificateRevocationStatus.let(IResolvable.Companion::unwrap)) } /** @@ -1199,7 +1199,7 @@ public open class CfnTLSInspectionConfiguration( */ override fun checkCertificateRevocationStatus(checkCertificateRevocationStatus: CheckCertificateRevocationStatusProperty) { - cdkBuilder.checkCertificateRevocationStatus(checkCertificateRevocationStatus.let(CheckCertificateRevocationStatusProperty::unwrap)) + cdkBuilder.checkCertificateRevocationStatus(checkCertificateRevocationStatus.let(CheckCertificateRevocationStatusProperty.Companion::unwrap)) } /** @@ -1222,7 +1222,7 @@ public open class CfnTLSInspectionConfiguration( * @param scopes A list of scopes. */ override fun scopes(scopes: IResolvable) { - cdkBuilder.scopes(scopes.let(IResolvable::unwrap)) + cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** @@ -1242,7 +1242,7 @@ public open class CfnTLSInspectionConfiguration( * inspection. */ override fun serverCertificates(serverCertificates: IResolvable) { - cdkBuilder.serverCertificates(serverCertificates.let(IResolvable::unwrap)) + cdkBuilder.serverCertificates(serverCertificates.let(IResolvable.Companion::unwrap)) } /** @@ -1676,7 +1676,7 @@ public open class CfnTLSInspectionConfiguration( * such as `1990:1994` . */ override fun destinationPorts(destinationPorts: IResolvable) { - cdkBuilder.destinationPorts(destinationPorts.let(IResolvable::unwrap)) + cdkBuilder.destinationPorts(destinationPorts.let(IResolvable.Companion::unwrap)) } /** @@ -1709,7 +1709,7 @@ public open class CfnTLSInspectionConfiguration( * matches with any destination address. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -1737,7 +1737,7 @@ public open class CfnTLSInspectionConfiguration( * Network Firewall currently supports only TCP. */ override fun protocols(protocols: IResolvable) { - cdkBuilder.protocols(protocols.let(IResolvable::unwrap)) + cdkBuilder.protocols(protocols.let(IResolvable.Companion::unwrap)) } /** @@ -1765,7 +1765,7 @@ public open class CfnTLSInspectionConfiguration( * such as `1990:1994` . */ override fun sourcePorts(sourcePorts: IResolvable) { - cdkBuilder.sourcePorts(sourcePorts.let(IResolvable::unwrap)) + cdkBuilder.sourcePorts(sourcePorts.let(IResolvable.Companion::unwrap)) } /** @@ -1797,7 +1797,7 @@ public open class CfnTLSInspectionConfiguration( * matches with any source address. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -2001,7 +2001,7 @@ public open class CfnTLSInspectionConfiguration( * associated with the TLS configuration. */ override fun serverCertificateConfigurations(serverCertificateConfigurations: IResolvable) { - cdkBuilder.serverCertificateConfigurations(serverCertificateConfigurations.let(IResolvable::unwrap)) + cdkBuilder.serverCertificateConfigurations(serverCertificateConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfigurationProps.kt index 968299877e..876d3bdbb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkfirewall/CfnTLSInspectionConfigurationProps.kt @@ -203,7 +203,7 @@ public interface CfnTLSInspectionConfigurationProps { * @param tags The key:value pairs to associate with the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface CfnTLSInspectionConfigurationProps { * in the *AWS Network Firewall Developer Guide* . */ override fun tlsInspectionConfiguration(tlsInspectionConfiguration: IResolvable) { - cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface CfnTLSInspectionConfigurationProps { */ override fun tlsInspectionConfiguration(tlsInspectionConfiguration: CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty) { - cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty::unwrap)) + cdkBuilder.tlsInspectionConfiguration(tlsInspectionConfiguration.let(CfnTLSInspectionConfiguration.TLSInspectionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachment.kt index 3b7e88afcd..120c3afdd7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachment.kt @@ -68,8 +68,8 @@ public open class CfnConnectAttachment( id: String, props: CfnConnectAttachmentProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnConnectAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnConnectAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectAttachmentProps.Companion::unwrap)) ) public constructor( @@ -165,7 +165,7 @@ public open class CfnConnectAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -177,14 +177,14 @@ public open class CfnConnectAttachment( * Options for connecting an attachment. */ public open fun options(`value`: IResolvable) { - unwrap(this).setOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options for connecting an attachment. */ public open fun options(`value`: ConnectAttachmentOptionsProperty) { - unwrap(this).setOptions(`value`.let(ConnectAttachmentOptionsProperty::unwrap)) + unwrap(this).setOptions(`value`.let(ConnectAttachmentOptionsProperty.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnConnectAttachment( * Describes a proposed segment change. */ public open fun proposedSegmentChange(`value`: IResolvable) { - unwrap(this).setProposedSegmentChange(`value`.let(IResolvable::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes a proposed segment change. */ public open fun proposedSegmentChange(`value`: ProposedSegmentChangeProperty) { - unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnConnectAttachment( * Tags for the attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnConnectAttachment( * @param options Options for connecting an attachment. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnConnectAttachment( * @param options Options for connecting an attachment. */ override fun options(options: ConnectAttachmentOptionsProperty) { - cdkBuilder.options(options.let(ConnectAttachmentOptionsProperty::unwrap)) + cdkBuilder.options(options.let(ConnectAttachmentOptionsProperty.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class CfnConnectAttachment( * @param proposedSegmentChange Describes a proposed segment change. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnConnectAttachment( * @param proposedSegmentChange Describes a proposed segment change. */ override fun proposedSegmentChange(proposedSegmentChange: ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnConnectAttachment( * @param tags Tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class CfnConnectAttachment( * @param tags The list of key-value tags that changed for the segment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachmentProps.kt index dc3c63e2b6..a89a8d7b03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectAttachmentProps.kt @@ -186,14 +186,14 @@ public interface CfnConnectAttachmentProps { * @param options Options for connecting an attachment. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** * @param options Options for connecting an attachment. */ override fun options(options: CfnConnectAttachment.ConnectAttachmentOptionsProperty) { - cdkBuilder.options(options.let(CfnConnectAttachment.ConnectAttachmentOptionsProperty::unwrap)) + cdkBuilder.options(options.let(CfnConnectAttachment.ConnectAttachmentOptionsProperty.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface CfnConnectAttachmentProps { * In some cases, the segment change must first be evaluated and accepted. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface CfnConnectAttachmentProps { */ override fun proposedSegmentChange(proposedSegmentChange: CfnConnectAttachment.ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnConnectAttachment.ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnConnectAttachment.ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface CfnConnectAttachmentProps { * @param tags Tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeer.kt index fb1db71085..22b06fea72 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeer.kt @@ -60,8 +60,8 @@ public open class CfnConnectPeer( id: String, props: CfnConnectPeerProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnConnectPeer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectPeerProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnConnectPeer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectPeerProps.Companion::unwrap)) ) public constructor( @@ -143,14 +143,14 @@ public open class CfnConnectPeer( * Describes the BGP options. */ public open fun bgpOptions(`value`: IResolvable) { - unwrap(this).setBgpOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setBgpOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the BGP options. */ public open fun bgpOptions(`value`: BgpOptionsProperty) { - unwrap(this).setBgpOptions(`value`.let(BgpOptionsProperty::unwrap)) + unwrap(this).setBgpOptions(`value`.let(BgpOptionsProperty.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnConnectPeer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnConnectPeer( * The list of key-value tags associated with the Connect peer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class CfnConnectPeer( * @param bgpOptions Describes the BGP options. */ override fun bgpOptions(bgpOptions: IResolvable) { - cdkBuilder.bgpOptions(bgpOptions.let(IResolvable::unwrap)) + cdkBuilder.bgpOptions(bgpOptions.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public open class CfnConnectPeer( * @param bgpOptions Describes the BGP options. */ override fun bgpOptions(bgpOptions: BgpOptionsProperty) { - cdkBuilder.bgpOptions(bgpOptions.let(BgpOptionsProperty::unwrap)) + cdkBuilder.bgpOptions(bgpOptions.let(BgpOptionsProperty.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnConnectPeer( * @param tags The list of key-value tags associated with the Connect peer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public open class CfnConnectPeer( * @param bgpConfigurations The Connect peer BGP configurations. */ override fun bgpConfigurations(bgpConfigurations: IResolvable) { - cdkBuilder.bgpConfigurations(bgpConfigurations.let(IResolvable::unwrap)) + cdkBuilder.bgpConfigurations(bgpConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeerProps.kt index 4edc2f8023..9de071b07d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnConnectPeerProps.kt @@ -163,14 +163,14 @@ public interface CfnConnectPeerProps { * @param bgpOptions Describes the BGP options. */ override fun bgpOptions(bgpOptions: IResolvable) { - cdkBuilder.bgpOptions(bgpOptions.let(IResolvable::unwrap)) + cdkBuilder.bgpOptions(bgpOptions.let(IResolvable.Companion::unwrap)) } /** * @param bgpOptions Describes the BGP options. */ override fun bgpOptions(bgpOptions: CfnConnectPeer.BgpOptionsProperty) { - cdkBuilder.bgpOptions(bgpOptions.let(CfnConnectPeer.BgpOptionsProperty::unwrap)) + cdkBuilder.bgpOptions(bgpOptions.let(CfnConnectPeer.BgpOptionsProperty.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface CfnConnectPeerProps { * @param tags The list of key-value tags associated with the Connect peer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetwork.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetwork.kt index bb52f798ab..7edc1a4cfb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetwork.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetwork.kt @@ -52,8 +52,8 @@ public open class CfnCoreNetwork( id: String, props: CfnCoreNetworkProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnCoreNetwork(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCoreNetworkProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnCoreNetwork(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCoreNetworkProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnCoreNetwork( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnCoreNetwork( * The list of key-value tags associated with a core network. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnCoreNetwork( * @param tags The list of key-value tags associated with a core network. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetworkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetworkProps.kt index 9f2d4206e6..234f58a564 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetworkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCoreNetworkProps.kt @@ -140,7 +140,7 @@ public interface CfnCoreNetworkProps { * @param tags The list of key-value tags associated with a core network. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCustomerGatewayAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCustomerGatewayAssociation.kt index ccada0f019..984c5c6937 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCustomerGatewayAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnCustomerGatewayAssociation.kt @@ -45,8 +45,8 @@ public open class CfnCustomerGatewayAssociation( id: String, props: CfnCustomerGatewayAssociationProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnCustomerGatewayAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomerGatewayAssociationProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnCustomerGatewayAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomerGatewayAssociationProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnCustomerGatewayAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDevice.kt index aabb24d9de..4385edc3c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDevice.kt @@ -64,8 +64,8 @@ public open class CfnDevice( id: String, props: CfnDeviceProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnDevice(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnDevice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceProps.Companion::unwrap)) ) public constructor( @@ -110,14 +110,14 @@ public open class CfnDevice( * The AWS location of the device. */ public open fun awsLocation(`value`: IResolvable) { - unwrap(this).setAwsLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setAwsLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS location of the device. */ public open fun awsLocation(`value`: AWSLocationProperty) { - unwrap(this).setAwsLocation(`value`.let(AWSLocationProperty::unwrap)) + unwrap(this).setAwsLocation(`value`.let(AWSLocationProperty.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnDevice( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -170,14 +170,14 @@ public open class CfnDevice( * The site location. */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The site location. */ public open fun location(`value`: LocationProperty) { - unwrap(this).setLocation(`value`.let(LocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(LocationProperty.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnDevice( * The tags for the device. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class CfnDevice( * @param awsLocation The AWS location of the device. */ override fun awsLocation(awsLocation: IResolvable) { - cdkBuilder.awsLocation(awsLocation.let(IResolvable::unwrap)) + cdkBuilder.awsLocation(awsLocation.let(IResolvable.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class CfnDevice( * @param awsLocation The AWS location of the device. */ override fun awsLocation(awsLocation: AWSLocationProperty) { - cdkBuilder.awsLocation(awsLocation.let(AWSLocationProperty::unwrap)) + cdkBuilder.awsLocation(awsLocation.let(AWSLocationProperty.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnDevice( * @param location The site location. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnDevice( * @param location The site location. */ override fun location(location: LocationProperty) { - cdkBuilder.location(location.let(LocationProperty::unwrap)) + cdkBuilder.location(location.let(LocationProperty.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnDevice( * @param tags The tags for the device. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDeviceProps.kt index c589edf48f..c95d290c2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnDeviceProps.kt @@ -225,14 +225,14 @@ public interface CfnDeviceProps { * @param awsLocation The AWS location of the device. */ override fun awsLocation(awsLocation: IResolvable) { - cdkBuilder.awsLocation(awsLocation.let(IResolvable::unwrap)) + cdkBuilder.awsLocation(awsLocation.let(IResolvable.Companion::unwrap)) } /** * @param awsLocation The AWS location of the device. */ override fun awsLocation(awsLocation: CfnDevice.AWSLocationProperty) { - cdkBuilder.awsLocation(awsLocation.let(CfnDevice.AWSLocationProperty::unwrap)) + cdkBuilder.awsLocation(awsLocation.let(CfnDevice.AWSLocationProperty.Companion::unwrap)) } /** @@ -262,14 +262,14 @@ public interface CfnDeviceProps { * @param location The site location. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** * @param location The site location. */ override fun location(location: CfnDevice.LocationProperty) { - cdkBuilder.location(location.let(CfnDevice.LocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnDevice.LocationProperty.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface CfnDeviceProps { * @param tags The tags for the device. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetwork.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetwork.kt index f1c1f3f59f..30974647ee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetwork.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetwork.kt @@ -41,7 +41,7 @@ public open class CfnGlobalNetwork( cdkObject: software.amazon.awscdk.services.networkmanager.CfnGlobalNetwork, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.networkmanager.CfnGlobalNetwork(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.networkmanager.CfnGlobalNetwork(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class CfnGlobalNetwork( id: String, props: CfnGlobalNetworkProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnGlobalNetwork(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGlobalNetworkProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnGlobalNetwork(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGlobalNetworkProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnGlobalNetwork( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnGlobalNetwork( * The tags for the global network. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnGlobalNetwork( * @param tags The tags for the global network. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetworkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetworkProps.kt index 67f541ece5..913e9fb742 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetworkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnGlobalNetworkProps.kt @@ -126,7 +126,7 @@ public interface CfnGlobalNetworkProps { * @param tags The tags for the global network. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLink.kt index 90d9d4f013..40ee6ad071 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLink.kt @@ -58,8 +58,8 @@ public open class CfnLink( id: String, props: CfnLinkProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLinkProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLinkProps.Companion::unwrap)) ) public constructor( @@ -104,14 +104,14 @@ public open class CfnLink( * The bandwidth for the link. */ public open fun bandwidth(`value`: IResolvable) { - unwrap(this).setBandwidth(`value`.let(IResolvable::unwrap)) + unwrap(this).setBandwidth(`value`.let(IResolvable.Companion::unwrap)) } /** * The bandwidth for the link. */ public open fun bandwidth(`value`: BandwidthProperty) { - unwrap(this).setBandwidth(`value`.let(BandwidthProperty::unwrap)) + unwrap(this).setBandwidth(`value`.let(BandwidthProperty.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnLink( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnLink( * The tags for the link. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnLink( * @param bandwidth The bandwidth for the link. */ override fun bandwidth(bandwidth: IResolvable) { - cdkBuilder.bandwidth(bandwidth.let(IResolvable::unwrap)) + cdkBuilder.bandwidth(bandwidth.let(IResolvable.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnLink( * @param bandwidth The bandwidth for the link. */ override fun bandwidth(bandwidth: BandwidthProperty) { - cdkBuilder.bandwidth(bandwidth.let(BandwidthProperty::unwrap)) + cdkBuilder.bandwidth(bandwidth.let(BandwidthProperty.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CfnLink( * @param tags The tags for the link. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkAssociation.kt index 9878c46797..004972c2e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkAssociation.kt @@ -38,8 +38,8 @@ public open class CfnLinkAssociation( id: String, props: CfnLinkAssociationProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnLinkAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLinkAssociationProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnLinkAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLinkAssociationProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnLinkAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkProps.kt index 334c4e9f12..4bdba6f473 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnLinkProps.kt @@ -167,14 +167,14 @@ public interface CfnLinkProps { * @param bandwidth The bandwidth for the link. */ override fun bandwidth(bandwidth: IResolvable) { - cdkBuilder.bandwidth(bandwidth.let(IResolvable::unwrap)) + cdkBuilder.bandwidth(bandwidth.let(IResolvable.Companion::unwrap)) } /** * @param bandwidth The bandwidth for the link. */ override fun bandwidth(bandwidth: CfnLink.BandwidthProperty) { - cdkBuilder.bandwidth(bandwidth.let(CfnLink.BandwidthProperty::unwrap)) + cdkBuilder.bandwidth(bandwidth.let(CfnLink.BandwidthProperty.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface CfnLinkProps { * @param tags The tags for the link. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSite.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSite.kt index d04bcfd1c9..d0b46412da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSite.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSite.kt @@ -55,8 +55,8 @@ public open class CfnSite( id: String, props: CfnSiteProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnSite(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSiteProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnSite(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSiteProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnSite( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,14 +134,14 @@ public open class CfnSite( * The site location. */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * The site location. */ public open fun location(`value`: LocationProperty) { - unwrap(this).setLocation(`value`.let(LocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(LocationProperty.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnSite( * The tags for the site. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnSite( * @param location The site location. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnSite( * @param location The site location. */ override fun location(location: LocationProperty) { - cdkBuilder.location(location.let(LocationProperty::unwrap)) + cdkBuilder.location(location.let(LocationProperty.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnSite( * @param tags The tags for the site. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteProps.kt index b6ec20c698..d0367ffd45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteProps.kt @@ -169,7 +169,7 @@ public interface CfnSiteProps { * * `Longitude` : The longitude of the site. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public interface CfnSiteProps { * * `Longitude` : The longitude of the site. */ override fun location(location: CfnSite.LocationProperty) { - cdkBuilder.location(location.let(CfnSite.LocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnSite.LocationProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CfnSiteProps { * @param tags The tags for the site. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachment.kt index 6a083294c5..fe8eb2ae81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachment.kt @@ -60,8 +60,8 @@ public open class CfnSiteToSiteVpnAttachment( id: String, props: CfnSiteToSiteVpnAttachmentProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnSiteToSiteVpnAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSiteToSiteVpnAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnSiteToSiteVpnAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSiteToSiteVpnAttachmentProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CfnSiteToSiteVpnAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,14 +162,14 @@ public open class CfnSiteToSiteVpnAttachment( * Describes a proposed segment change. */ public open fun proposedSegmentChange(`value`: IResolvable) { - unwrap(this).setProposedSegmentChange(`value`.let(IResolvable::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes a proposed segment change. */ public open fun proposedSegmentChange(`value`: ProposedSegmentChangeProperty) { - unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnSiteToSiteVpnAttachment( * Tags for the attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnSiteToSiteVpnAttachment( * @param proposedSegmentChange Describes a proposed segment change. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnSiteToSiteVpnAttachment( * @param proposedSegmentChange Describes a proposed segment change. */ override fun proposedSegmentChange(proposedSegmentChange: ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CfnSiteToSiteVpnAttachment( * @param tags Tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnSiteToSiteVpnAttachment( * @param tags The list of key-value tags that changed for the segment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachmentProps.kt index 0878fc054f..9b4019568f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnSiteToSiteVpnAttachmentProps.kt @@ -142,7 +142,7 @@ public interface CfnSiteToSiteVpnAttachmentProps { * In some cases, the segment change must first be evaluated and accepted. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public interface CfnSiteToSiteVpnAttachmentProps { */ override fun proposedSegmentChange(proposedSegmentChange: CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnSiteToSiteVpnAttachment.ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CfnSiteToSiteVpnAttachmentProps { * @param tags Tags for the attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeering.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeering.kt index 74944ca0b8..4187d25096 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeering.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeering.kt @@ -46,8 +46,8 @@ public open class CfnTransitGatewayPeering( id: String, props: CfnTransitGatewayPeeringProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnTransitGatewayPeering(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayPeeringProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnTransitGatewayPeering(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayPeeringProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class CfnTransitGatewayPeering( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnTransitGatewayPeering( * The list of key-value tags associated with the peering. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnTransitGatewayPeering( * @param tags The list of key-value tags associated with the peering. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeeringProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeeringProps.kt index 5975861cd4..73da19128d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeeringProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayPeeringProps.kt @@ -97,7 +97,7 @@ public interface CfnTransitGatewayPeeringProps { * @param tags The list of key-value tags associated with the peering. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRegistration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRegistration.kt index 4a60f25cfc..89359e5a24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRegistration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRegistration.kt @@ -44,8 +44,8 @@ public open class CfnTransitGatewayRegistration( id: String, props: CfnTransitGatewayRegistrationProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRegistration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayRegistrationProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRegistration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayRegistrationProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnTransitGatewayRegistration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachment.kt index d547dc8f18..d26b00670e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachment.kt @@ -61,8 +61,8 @@ public open class CfnTransitGatewayRouteTableAttachment( id: String, props: CfnTransitGatewayRouteTableAttachmentProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRouteTableAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTransitGatewayRouteTableAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnTransitGatewayRouteTableAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTransitGatewayRouteTableAttachmentProps.Companion::unwrap)) ) public constructor( @@ -144,7 +144,7 @@ public open class CfnTransitGatewayRouteTableAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnTransitGatewayRouteTableAttachment( * This property is read-only. */ public open fun proposedSegmentChange(`value`: IResolvable) { - unwrap(this).setProposedSegmentChange(`value`.let(IResolvable::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(IResolvable.Companion::unwrap)) } /** * This property is read-only. */ public open fun proposedSegmentChange(`value`: ProposedSegmentChangeProperty) { - unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnTransitGatewayRouteTableAttachment( * The list of key-value pairs associated with the transit gateway route table attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public open class CfnTransitGatewayRouteTableAttachment( * @param proposedSegmentChange This property is read-only. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnTransitGatewayRouteTableAttachment( * @param proposedSegmentChange This property is read-only. */ override fun proposedSegmentChange(proposedSegmentChange: ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnTransitGatewayRouteTableAttachment( * attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnTransitGatewayRouteTableAttachment( * @param tags The list of key-value tags that changed for the segment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachmentProps.kt index 0886a55b83..f8a7ded3ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnTransitGatewayRouteTableAttachmentProps.kt @@ -148,7 +148,7 @@ public interface CfnTransitGatewayRouteTableAttachmentProps { * Values can't be assigned to it. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public interface CfnTransitGatewayRouteTableAttachmentProps { */ override fun proposedSegmentChange(proposedSegmentChange: CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface CfnTransitGatewayRouteTableAttachmentProps { * attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachment.kt index 7767d69f7e..61b52a74e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachment.kt @@ -65,8 +65,8 @@ public open class CfnVpcAttachment( id: String, props: CfnVpcAttachmentProps, ) : - this(software.amazon.awscdk.services.networkmanager.CfnVpcAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.networkmanager.CfnVpcAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcAttachmentProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnVpcAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -167,14 +167,14 @@ public open class CfnVpcAttachment( * Options for creating the VPC attachment. */ public open fun options(`value`: IResolvable) { - unwrap(this).setOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options for creating the VPC attachment. */ public open fun options(`value`: VpcOptionsProperty) { - unwrap(this).setOptions(`value`.let(VpcOptionsProperty::unwrap)) + unwrap(this).setOptions(`value`.let(VpcOptionsProperty.Companion::unwrap)) } /** @@ -194,14 +194,14 @@ public open class CfnVpcAttachment( * Describes a proposed segment change. */ public open fun proposedSegmentChange(`value`: IResolvable) { - unwrap(this).setProposedSegmentChange(`value`.let(IResolvable::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes a proposed segment change. */ public open fun proposedSegmentChange(`value`: ProposedSegmentChangeProperty) { - unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty::unwrap)) + unwrap(this).setProposedSegmentChange(`value`.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnVpcAttachment( * The tags associated with the VPC attachment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public open class CfnVpcAttachment( * @param options Options for creating the VPC attachment. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class CfnVpcAttachment( * @param options Options for creating the VPC attachment. */ override fun options(options: VpcOptionsProperty) { - cdkBuilder.options(options.let(VpcOptionsProperty::unwrap)) + cdkBuilder.options(options.let(VpcOptionsProperty.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnVpcAttachment( * @param proposedSegmentChange Describes a proposed segment change. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnVpcAttachment( * @param proposedSegmentChange Describes a proposed segment change. */ override fun proposedSegmentChange(proposedSegmentChange: ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnVpcAttachment( * @param tags The tags associated with the VPC attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class CfnVpcAttachment( * @param tags The list of key-value tags that changed for the segment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public open class CfnVpcAttachment( * for the VPC attachment for the lifetime of that flow. The default value is `false` . */ override fun applianceModeSupport(applianceModeSupport: IResolvable) { - cdkBuilder.applianceModeSupport(applianceModeSupport.let(IResolvable::unwrap)) + cdkBuilder.applianceModeSupport(applianceModeSupport.let(IResolvable.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public open class CfnVpcAttachment( * @param ipv6Support Indicates whether IPv6 is supported. */ override fun ipv6Support(ipv6Support: IResolvable) { - cdkBuilder.ipv6Support(ipv6Support.let(IResolvable::unwrap)) + cdkBuilder.ipv6Support(ipv6Support.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachmentProps.kt index c8e08061a8..34be54030e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/networkmanager/CfnVpcAttachmentProps.kt @@ -184,14 +184,14 @@ public interface CfnVpcAttachmentProps { * @param options Options for creating the VPC attachment. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** * @param options Options for creating the VPC attachment. */ override fun options(options: CfnVpcAttachment.VpcOptionsProperty) { - cdkBuilder.options(options.let(CfnVpcAttachment.VpcOptionsProperty::unwrap)) + cdkBuilder.options(options.let(CfnVpcAttachment.VpcOptionsProperty.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface CfnVpcAttachmentProps { * In some cases, the segment change must first be evaluated and accepted. */ override fun proposedSegmentChange(proposedSegmentChange: IResolvable) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(IResolvable.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public interface CfnVpcAttachmentProps { */ override fun proposedSegmentChange(proposedSegmentChange: CfnVpcAttachment.ProposedSegmentChangeProperty) { - cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnVpcAttachment.ProposedSegmentChangeProperty::unwrap)) + cdkBuilder.proposedSegmentChange(proposedSegmentChange.let(CfnVpcAttachment.ProposedSegmentChangeProperty.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public interface CfnVpcAttachmentProps { * @param tags The tags associated with the VPC attachment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfile.kt index 822c608681..76bf70894c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfile.kt @@ -83,8 +83,8 @@ public open class CfnLaunchProfile( id: String, props: CfnLaunchProfileProps, ) : - this(software.amazon.awscdk.services.nimblestudio.CfnLaunchProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchProfileProps::unwrap)) + this(software.amazon.awscdk.services.nimblestudio.CfnLaunchProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchProfileProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnLaunchProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -177,14 +177,14 @@ public open class CfnLaunchProfile( * A configuration for a streaming session. */ public open fun streamConfiguration(`value`: IResolvable) { - unwrap(this).setStreamConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setStreamConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A configuration for a streaming session. */ public open fun streamConfiguration(`value`: StreamConfigurationProperty) { - unwrap(this).setStreamConfiguration(`value`.let(StreamConfigurationProperty::unwrap)) + unwrap(this).setStreamConfiguration(`value`.let(StreamConfigurationProperty.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnLaunchProfile( * @param streamConfiguration A configuration for a streaming session. */ override fun streamConfiguration(streamConfiguration: IResolvable) { - cdkBuilder.streamConfiguration(streamConfiguration.let(IResolvable::unwrap)) + cdkBuilder.streamConfiguration(streamConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnLaunchProfile( * @param streamConfiguration A configuration for a streaming session. */ override fun streamConfiguration(streamConfiguration: StreamConfigurationProperty) { - cdkBuilder.streamConfiguration(streamConfiguration.let(StreamConfigurationProperty::unwrap)) + cdkBuilder.streamConfiguration(streamConfiguration.let(StreamConfigurationProperty.Companion::unwrap)) } /** @@ -929,14 +929,14 @@ public open class CfnLaunchProfile( * @param sessionBackup Information about the streaming session backup. */ override fun sessionBackup(sessionBackup: IResolvable) { - cdkBuilder.sessionBackup(sessionBackup.let(IResolvable::unwrap)) + cdkBuilder.sessionBackup(sessionBackup.let(IResolvable.Companion::unwrap)) } /** * @param sessionBackup Information about the streaming session backup. */ override fun sessionBackup(sessionBackup: StreamConfigurationSessionBackupProperty) { - cdkBuilder.sessionBackup(sessionBackup.let(StreamConfigurationSessionBackupProperty::unwrap)) + cdkBuilder.sessionBackup(sessionBackup.let(StreamConfigurationSessionBackupProperty.Companion::unwrap)) } /** @@ -961,14 +961,14 @@ public open class CfnLaunchProfile( * @param sessionStorage The upload storage for a streaming session. */ override fun sessionStorage(sessionStorage: IResolvable) { - cdkBuilder.sessionStorage(sessionStorage.let(IResolvable::unwrap)) + cdkBuilder.sessionStorage(sessionStorage.let(IResolvable.Companion::unwrap)) } /** * @param sessionStorage The upload storage for a streaming session. */ override fun sessionStorage(sessionStorage: StreamConfigurationSessionStorageProperty) { - cdkBuilder.sessionStorage(sessionStorage.let(StreamConfigurationSessionStorageProperty::unwrap)) + cdkBuilder.sessionStorage(sessionStorage.let(StreamConfigurationSessionStorageProperty.Companion::unwrap)) } /** @@ -1001,7 +1001,7 @@ public open class CfnLaunchProfile( * This parameter is only allowed when `sessionPersistenceMode` is `ACTIVATED` . */ override fun volumeConfiguration(volumeConfiguration: IResolvable) { - cdkBuilder.volumeConfiguration(volumeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.volumeConfiguration(volumeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1010,7 +1010,7 @@ public open class CfnLaunchProfile( * This parameter is only allowed when `sessionPersistenceMode` is `ACTIVATED` . */ override fun volumeConfiguration(volumeConfiguration: VolumeConfigurationProperty) { - cdkBuilder.volumeConfiguration(volumeConfiguration.let(VolumeConfigurationProperty::unwrap)) + cdkBuilder.volumeConfiguration(volumeConfiguration.let(VolumeConfigurationProperty.Companion::unwrap)) } /** @@ -1395,14 +1395,14 @@ public open class CfnLaunchProfile( * @param root The configuration for the upload storage root of the streaming session. */ override fun root(root: IResolvable) { - cdkBuilder.root(root.let(IResolvable::unwrap)) + cdkBuilder.root(root.let(IResolvable.Companion::unwrap)) } /** * @param root The configuration for the upload storage root of the streaming session. */ override fun root(root: StreamingSessionStorageRootProperty) { - cdkBuilder.root(root.let(StreamingSessionStorageRootProperty::unwrap)) + cdkBuilder.root(root.let(StreamingSessionStorageRootProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfileProps.kt index 691c9fdeab..d4fc8b2d54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnLaunchProfileProps.kt @@ -268,7 +268,7 @@ public interface CfnLaunchProfileProps { * @param streamConfiguration A configuration for a streaming session. */ override fun streamConfiguration(streamConfiguration: IResolvable) { - cdkBuilder.streamConfiguration(streamConfiguration.let(IResolvable::unwrap)) + cdkBuilder.streamConfiguration(streamConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface CfnLaunchProfileProps { */ override fun streamConfiguration(streamConfiguration: CfnLaunchProfile.StreamConfigurationProperty) { - cdkBuilder.streamConfiguration(streamConfiguration.let(CfnLaunchProfile.StreamConfigurationProperty::unwrap)) + cdkBuilder.streamConfiguration(streamConfiguration.let(CfnLaunchProfile.StreamConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStreamingImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStreamingImage.kt index 88b2b503e7..521124a601 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStreamingImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStreamingImage.kt @@ -51,8 +51,8 @@ public open class CfnStreamingImage( id: String, props: CfnStreamingImageProps, ) : - this(software.amazon.awscdk.services.nimblestudio.CfnStreamingImage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamingImageProps::unwrap)) + this(software.amazon.awscdk.services.nimblestudio.CfnStreamingImage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamingImageProps.Companion::unwrap)) ) public constructor( @@ -132,7 +132,7 @@ public open class CfnStreamingImage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudio.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudio.kt index 234a1b58e9..9ba0f7c141 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudio.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudio.kt @@ -72,8 +72,8 @@ public open class CfnStudio( id: String, props: CfnStudioProps, ) : - this(software.amazon.awscdk.services.nimblestudio.CfnStudio(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStudioProps::unwrap)) + this(software.amazon.awscdk.services.nimblestudio.CfnStudio(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStudioProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnStudio( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,14 +149,14 @@ public open class CfnStudio( * Configuration of the encryption method that is used for the studio. */ public open fun studioEncryptionConfiguration(`value`: IResolvable) { - unwrap(this).setStudioEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setStudioEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration of the encryption method that is used for the studio. */ public open fun studioEncryptionConfiguration(`value`: StudioEncryptionConfigurationProperty) { - unwrap(this).setStudioEncryptionConfiguration(`value`.let(StudioEncryptionConfigurationProperty::unwrap)) + unwrap(this).setStudioEncryptionConfiguration(`value`.let(StudioEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnStudio( * the studio. */ override fun studioEncryptionConfiguration(studioEncryptionConfiguration: IResolvable) { - cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnStudio( */ override fun studioEncryptionConfiguration(studioEncryptionConfiguration: StudioEncryptionConfigurationProperty) { - cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(StudioEncryptionConfigurationProperty::unwrap)) + cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(StudioEncryptionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponent.kt index 51fd299a78..50454a1ffc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponent.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponent.kt @@ -101,8 +101,8 @@ public open class CfnStudioComponent( id: String, props: CfnStudioComponentProps, ) : - this(software.amazon.awscdk.services.nimblestudio.CfnStudioComponent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStudioComponentProps::unwrap)) + this(software.amazon.awscdk.services.nimblestudio.CfnStudioComponent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStudioComponentProps.Companion::unwrap)) ) public constructor( @@ -126,14 +126,14 @@ public open class CfnStudioComponent( * The configuration of the studio component, based on component type. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration of the studio component, based on component type. */ public open fun configuration(`value`: StudioComponentConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(StudioComponentConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(StudioComponentConfigurationProperty.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnStudioComponent( * Initialization scripts for studio components. */ public open fun initializationScripts(`value`: IResolvable) { - unwrap(this).setInitializationScripts(`value`.let(IResolvable::unwrap)) + unwrap(this).setInitializationScripts(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnStudioComponent( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnStudioComponent( * Parameters for the studio component scripts. */ public open fun scriptParameters(`value`: IResolvable) { - unwrap(this).setScriptParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setScriptParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public open class CfnStudioComponent( * @param configuration The configuration of the studio component, based on component type. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public open class CfnStudioComponent( * @param configuration The configuration of the studio component, based on component type. */ override fun configuration(configuration: StudioComponentConfigurationProperty) { - cdkBuilder.configuration(configuration.let(StudioComponentConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(StudioComponentConfigurationProperty.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnStudioComponent( * @param initializationScripts Initialization scripts for studio components. */ override fun initializationScripts(initializationScripts: IResolvable) { - cdkBuilder.initializationScripts(initializationScripts.let(IResolvable::unwrap)) + cdkBuilder.initializationScripts(initializationScripts.let(IResolvable.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class CfnStudioComponent( * @param scriptParameters Parameters for the studio component scripts. */ override fun scriptParameters(scriptParameters: IResolvable) { - cdkBuilder.scriptParameters(scriptParameters.let(IResolvable::unwrap)) + cdkBuilder.scriptParameters(scriptParameters.let(IResolvable.Companion::unwrap)) } /** @@ -938,7 +938,7 @@ public open class CfnStudioComponent( * computer. */ override fun computerAttributes(computerAttributes: IResolvable) { - cdkBuilder.computerAttributes(computerAttributes.let(IResolvable::unwrap)) + cdkBuilder.computerAttributes(computerAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -1705,7 +1705,7 @@ public open class CfnStudioComponent( * Microsoft Active Directory studio resource. */ override fun activeDirectoryConfiguration(activeDirectoryConfiguration: IResolvable) { - cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1714,7 +1714,7 @@ public open class CfnStudioComponent( */ override fun activeDirectoryConfiguration(activeDirectoryConfiguration: ActiveDirectoryConfigurationProperty) { - cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(ActiveDirectoryConfigurationProperty::unwrap)) + cdkBuilder.activeDirectoryConfiguration(activeDirectoryConfiguration.let(ActiveDirectoryConfigurationProperty.Companion::unwrap)) } /** @@ -1733,7 +1733,7 @@ public open class CfnStudioComponent( * a studio resource. */ override fun computeFarmConfiguration(computeFarmConfiguration: IResolvable) { - cdkBuilder.computeFarmConfiguration(computeFarmConfiguration.let(IResolvable::unwrap)) + cdkBuilder.computeFarmConfiguration(computeFarmConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1742,7 +1742,7 @@ public open class CfnStudioComponent( */ override fun computeFarmConfiguration(computeFarmConfiguration: ComputeFarmConfigurationProperty) { - cdkBuilder.computeFarmConfiguration(computeFarmConfiguration.let(ComputeFarmConfigurationProperty::unwrap)) + cdkBuilder.computeFarmConfiguration(computeFarmConfiguration.let(ComputeFarmConfigurationProperty.Companion::unwrap)) } /** @@ -1761,7 +1761,7 @@ public open class CfnStudioComponent( * associated with a studio resource. */ override fun licenseServiceConfiguration(licenseServiceConfiguration: IResolvable) { - cdkBuilder.licenseServiceConfiguration(licenseServiceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.licenseServiceConfiguration(licenseServiceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1770,7 +1770,7 @@ public open class CfnStudioComponent( */ override fun licenseServiceConfiguration(licenseServiceConfiguration: LicenseServiceConfigurationProperty) { - cdkBuilder.licenseServiceConfiguration(licenseServiceConfiguration.let(LicenseServiceConfigurationProperty::unwrap)) + cdkBuilder.licenseServiceConfiguration(licenseServiceConfiguration.let(LicenseServiceConfigurationProperty.Companion::unwrap)) } /** @@ -1789,7 +1789,7 @@ public open class CfnStudioComponent( * that is associated with a studio resource. */ override fun sharedFileSystemConfiguration(sharedFileSystemConfiguration: IResolvable) { - cdkBuilder.sharedFileSystemConfiguration(sharedFileSystemConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sharedFileSystemConfiguration(sharedFileSystemConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1798,7 +1798,7 @@ public open class CfnStudioComponent( */ override fun sharedFileSystemConfiguration(sharedFileSystemConfiguration: SharedFileSystemConfigurationProperty) { - cdkBuilder.sharedFileSystemConfiguration(sharedFileSystemConfiguration.let(SharedFileSystemConfigurationProperty::unwrap)) + cdkBuilder.sharedFileSystemConfiguration(sharedFileSystemConfiguration.let(SharedFileSystemConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponentProps.kt index a6e94eba07..71958bfd74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioComponentProps.kt @@ -289,7 +289,7 @@ public interface CfnStudioComponentProps { * @param configuration The configuration of the studio component, based on component type. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CfnStudioComponentProps { */ override fun configuration(configuration: CfnStudioComponent.StudioComponentConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnStudioComponent.StudioComponentConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnStudioComponent.StudioComponentConfigurationProperty.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface CfnStudioComponentProps { * @param initializationScripts Initialization scripts for studio components. */ override fun initializationScripts(initializationScripts: IResolvable) { - cdkBuilder.initializationScripts(initializationScripts.let(IResolvable::unwrap)) + cdkBuilder.initializationScripts(initializationScripts.let(IResolvable.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface CfnStudioComponentProps { * @param scriptParameters Parameters for the studio component scripts. */ override fun scriptParameters(scriptParameters: IResolvable) { - cdkBuilder.scriptParameters(scriptParameters.let(IResolvable::unwrap)) + cdkBuilder.scriptParameters(scriptParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioProps.kt index b47091c66c..50e0708f5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/nimblestudio/CfnStudioProps.kt @@ -169,7 +169,7 @@ public interface CfnStudioProps { * the studio. */ override fun studioEncryptionConfiguration(studioEncryptionConfiguration: IResolvable) { - cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface CfnStudioProps { */ override fun studioEncryptionConfiguration(studioEncryptionConfiguration: CfnStudio.StudioEncryptionConfigurationProperty) { - cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(CfnStudio.StudioEncryptionConfigurationProperty::unwrap)) + cdkBuilder.studioEncryptionConfiguration(studioEncryptionConfiguration.let(CfnStudio.StudioEncryptionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLink.kt index c9fe7a1bad..39c38919fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLink.kt @@ -70,8 +70,8 @@ public open class CfnLink( id: String, props: CfnLinkProps, ) : - this(software.amazon.awscdk.services.oam.CfnLink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLinkProps::unwrap)) + this(software.amazon.awscdk.services.oam.CfnLink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLinkProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnLink( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -120,26 +120,30 @@ public open class CfnLink( } /** - * + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. */ public open fun linkConfiguration(): Any? = unwrap(this).getLinkConfiguration() /** - * + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. */ public open fun linkConfiguration(`value`: IResolvable) { - unwrap(this).setLinkConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLinkConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** - * + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. */ public open fun linkConfiguration(`value`: LinkConfigurationProperty) { - unwrap(this).setLinkConfiguration(`value`.let(LinkConfigurationProperty::unwrap)) + unwrap(this).setLinkConfiguration(`value`.let(LinkConfigurationProperty.Companion::unwrap)) } /** - * + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f1c4f2ae27fd10fbd00313cd2fd1db2afc5874c89c47875133098be129bdfc14") @@ -218,20 +222,35 @@ public open class CfnLink( public fun labelTemplate(labelTemplate: String) /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) - * @param linkConfiguration + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ public fun linkConfiguration(linkConfiguration: IResolvable) /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) - * @param linkConfiguration + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ public fun linkConfiguration(linkConfiguration: LinkConfigurationProperty) /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) - * @param linkConfiguration + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2f023ed46c2f574a2355e148ac03b8c6ca677f94961515df90dddb5daaafd79b") @@ -316,24 +335,39 @@ public open class CfnLink( } /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) - * @param linkConfiguration + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ override fun linkConfiguration(linkConfiguration: IResolvable) { - cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable.Companion::unwrap)) } /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) - * @param linkConfiguration + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ override fun linkConfiguration(linkConfiguration: LinkConfigurationProperty) { - cdkBuilder.linkConfiguration(linkConfiguration.let(LinkConfigurationProperty::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(LinkConfigurationProperty.Companion::unwrap)) } /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) - * @param linkConfiguration + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2f023ed46c2f574a2355e148ac03b8c6ca677f94961515df90dddb5daaafd79b") @@ -422,6 +456,9 @@ public open class CfnLink( } /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * Example: * * ``` @@ -442,11 +479,17 @@ public open class CfnLink( */ public interface LinkConfigurationProperty { /** + * Use this structure to filter which log groups are to share log events from this source + * account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html#cfn-oam-link-linkconfiguration-loggroupconfiguration) */ public fun logGroupConfiguration(): Any? = unwrap(this).getLogGroupConfiguration() /** + * Use this structure to filter which metric namespaces are to be shared from the source account + * to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html#cfn-oam-link-linkconfiguration-metricconfiguration) */ public fun metricConfiguration(): Any? = unwrap(this).getMetricConfiguration() @@ -457,34 +500,40 @@ public open class CfnLink( @CdkDslMarker public interface Builder { /** - * @param logGroupConfiguration the value to be set. + * @param logGroupConfiguration Use this structure to filter which log groups are to share log + * events from this source account to the monitoring account. */ public fun logGroupConfiguration(logGroupConfiguration: IResolvable) /** - * @param logGroupConfiguration the value to be set. + * @param logGroupConfiguration Use this structure to filter which log groups are to share log + * events from this source account to the monitoring account. */ public fun logGroupConfiguration(logGroupConfiguration: LinkFilterProperty) /** - * @param logGroupConfiguration the value to be set. + * @param logGroupConfiguration Use this structure to filter which log groups are to share log + * events from this source account to the monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6071a625c6b3d9a327b833ab989a7caddb31359aa7034471a709a9a56f27c917") public fun logGroupConfiguration(logGroupConfiguration: LinkFilterProperty.Builder.() -> Unit) /** - * @param metricConfiguration the value to be set. + * @param metricConfiguration Use this structure to filter which metric namespaces are to be + * shared from the source account to the monitoring account. */ public fun metricConfiguration(metricConfiguration: IResolvable) /** - * @param metricConfiguration the value to be set. + * @param metricConfiguration Use this structure to filter which metric namespaces are to be + * shared from the source account to the monitoring account. */ public fun metricConfiguration(metricConfiguration: LinkFilterProperty) /** - * @param metricConfiguration the value to be set. + * @param metricConfiguration Use this structure to filter which metric namespaces are to be + * shared from the source account to the monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10f1eac64888de848ebfafff66aa54b2a3f3a4e445e1ef1f0f075ad558f4f46b") @@ -497,21 +546,24 @@ public open class CfnLink( software.amazon.awscdk.services.oam.CfnLink.LinkConfigurationProperty.builder() /** - * @param logGroupConfiguration the value to be set. + * @param logGroupConfiguration Use this structure to filter which log groups are to share log + * events from this source account to the monitoring account. */ override fun logGroupConfiguration(logGroupConfiguration: IResolvable) { - cdkBuilder.logGroupConfiguration(logGroupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logGroupConfiguration(logGroupConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param logGroupConfiguration the value to be set. + * @param logGroupConfiguration Use this structure to filter which log groups are to share log + * events from this source account to the monitoring account. */ override fun logGroupConfiguration(logGroupConfiguration: LinkFilterProperty) { - cdkBuilder.logGroupConfiguration(logGroupConfiguration.let(LinkFilterProperty::unwrap)) + cdkBuilder.logGroupConfiguration(logGroupConfiguration.let(LinkFilterProperty.Companion::unwrap)) } /** - * @param logGroupConfiguration the value to be set. + * @param logGroupConfiguration Use this structure to filter which log groups are to share log + * events from this source account to the monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6071a625c6b3d9a327b833ab989a7caddb31359aa7034471a709a9a56f27c917") @@ -520,21 +572,24 @@ public open class CfnLink( Unit = logGroupConfiguration(LinkFilterProperty(logGroupConfiguration)) /** - * @param metricConfiguration the value to be set. + * @param metricConfiguration Use this structure to filter which metric namespaces are to be + * shared from the source account to the monitoring account. */ override fun metricConfiguration(metricConfiguration: IResolvable) { - cdkBuilder.metricConfiguration(metricConfiguration.let(IResolvable::unwrap)) + cdkBuilder.metricConfiguration(metricConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param metricConfiguration the value to be set. + * @param metricConfiguration Use this structure to filter which metric namespaces are to be + * shared from the source account to the monitoring account. */ override fun metricConfiguration(metricConfiguration: LinkFilterProperty) { - cdkBuilder.metricConfiguration(metricConfiguration.let(LinkFilterProperty::unwrap)) + cdkBuilder.metricConfiguration(metricConfiguration.let(LinkFilterProperty.Companion::unwrap)) } /** - * @param metricConfiguration the value to be set. + * @param metricConfiguration Use this structure to filter which metric namespaces are to be + * shared from the source account to the monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("10f1eac64888de848ebfafff66aa54b2a3f3a4e445e1ef1f0f075ad558f4f46b") @@ -549,11 +604,17 @@ public open class CfnLink( cdkObject: software.amazon.awscdk.services.oam.CfnLink.LinkConfigurationProperty, ) : CdkObject(cdkObject), LinkConfigurationProperty { /** + * Use this structure to filter which log groups are to share log events from this source + * account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html#cfn-oam-link-linkconfiguration-loggroupconfiguration) */ override fun logGroupConfiguration(): Any? = unwrap(this).getLogGroupConfiguration() /** + * Use this structure to filter which metric namespaces are to be shared from the source + * account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html#cfn-oam-link-linkconfiguration-metricconfiguration) */ override fun metricConfiguration(): Any? = unwrap(this).getMetricConfiguration() @@ -578,6 +639,13 @@ public open class CfnLink( } /** + * When used in `MetricConfiguration` this field specifies which metric namespaces are to be + * shared with the monitoring account. + * + * When used in `LogGroupConfiguration` this field specifies which log groups are to share their + * log events with the monitoring account. Use the term `LogGroupName` and one or more of the + * following operands. + * * Example: * * ``` @@ -593,6 +661,45 @@ public open class CfnLink( */ public interface LinkFilterProperty { /** + * When used in `MetricConfiguration` this field specifies which metric namespaces are to be + * shared with the monitoring account. + * + * When used in `LogGroupConfiguration` this field specifies which log groups are to share their + * log events with the monitoring account. Use the term `LogGroupName` and one or more of the + * following operands. + * + * Use single quotation marks (') around log group names and metric namespaces. + * + * The matching of log group names and metric namespaces is case sensitive. Each filter has a + * limit of five conditional operands. Conditional operands are `AND` and `OR` . + * + * * `=` and `!=` + * * `AND` + * * `OR` + * * `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the end + * of the string that you want to search for and include. + * * `IN` and `NOT IN` , using parentheses `( )` + * + * Examples: + * + * * `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such + * as custom namespaces. + * * `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, + * Elastic Load Balancing , and Amazon S3 namespaces. + * * `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and + * your custom namespaces. + * * `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with + * names `This-Log-Group` and `Other-Log-Group` . + * * `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log groups + * except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . + * * `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log groups + * that have names that start with `aws/lambda/` or `AWSLogs` . + * + * + * If you are updating a link that uses filters, you can specify `*` as the only value for the + * `filter` parameter to delete the filter and share all log groups with the monitoring account. + * + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkfilter.html#cfn-oam-link-linkfilter-filter) */ public fun filter(): String @@ -603,7 +710,42 @@ public open class CfnLink( @CdkDslMarker public interface Builder { /** - * @param filter the value to be set. + * @param filter When used in `MetricConfiguration` this field specifies which metric + * namespaces are to be shared with the monitoring account. + * When used in `LogGroupConfiguration` this field specifies which log groups are to share + * their log events with the monitoring account. Use the term `LogGroupName` and one or more of + * the following operands. + * + * Use single quotation marks (') around log group names and metric namespaces. + * + * The matching of log group names and metric namespaces is case sensitive. Each filter has a + * limit of five conditional operands. Conditional operands are `AND` and `OR` . + * + * * `=` and `!=` + * * `AND` + * * `OR` + * * `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the + * end of the string that you want to search for and include. + * * `IN` and `NOT IN` , using parentheses `( )` + * + * Examples: + * + * * `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such + * as custom namespaces. + * * `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, + * Elastic Load Balancing , and Amazon S3 namespaces. + * * `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and + * your custom namespaces. + * * `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with + * names `This-Log-Group` and `Other-Log-Group` . + * * `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log + * groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . + * * `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log + * groups that have names that start with `aws/lambda/` or `AWSLogs` . + * + * + * If you are updating a link that uses filters, you can specify `*` as the only value for the + * `filter` parameter to delete the filter and share all log groups with the monitoring account. */ public fun filter(filter: String) } @@ -613,7 +755,42 @@ public open class CfnLink( = software.amazon.awscdk.services.oam.CfnLink.LinkFilterProperty.builder() /** - * @param filter the value to be set. + * @param filter When used in `MetricConfiguration` this field specifies which metric + * namespaces are to be shared with the monitoring account. + * When used in `LogGroupConfiguration` this field specifies which log groups are to share + * their log events with the monitoring account. Use the term `LogGroupName` and one or more of + * the following operands. + * + * Use single quotation marks (') around log group names and metric namespaces. + * + * The matching of log group names and metric namespaces is case sensitive. Each filter has a + * limit of five conditional operands. Conditional operands are `AND` and `OR` . + * + * * `=` and `!=` + * * `AND` + * * `OR` + * * `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the + * end of the string that you want to search for and include. + * * `IN` and `NOT IN` , using parentheses `( )` + * + * Examples: + * + * * `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such + * as custom namespaces. + * * `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, + * Elastic Load Balancing , and Amazon S3 namespaces. + * * `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and + * your custom namespaces. + * * `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with + * names `This-Log-Group` and `Other-Log-Group` . + * * `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log + * groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . + * * `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log + * groups that have names that start with `aws/lambda/` or `AWSLogs` . + * + * + * If you are updating a link that uses filters, you can specify `*` as the only value for the + * `filter` parameter to delete the filter and share all log groups with the monitoring account. */ override fun filter(filter: String) { cdkBuilder.filter(filter) @@ -627,6 +804,45 @@ public open class CfnLink( cdkObject: software.amazon.awscdk.services.oam.CfnLink.LinkFilterProperty, ) : CdkObject(cdkObject), LinkFilterProperty { /** + * When used in `MetricConfiguration` this field specifies which metric namespaces are to be + * shared with the monitoring account. + * + * When used in `LogGroupConfiguration` this field specifies which log groups are to share + * their log events with the monitoring account. Use the term `LogGroupName` and one or more of + * the following operands. + * + * Use single quotation marks (') around log group names and metric namespaces. + * + * The matching of log group names and metric namespaces is case sensitive. Each filter has a + * limit of five conditional operands. Conditional operands are `AND` and `OR` . + * + * * `=` and `!=` + * * `AND` + * * `OR` + * * `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the + * end of the string that you want to search for and include. + * * `IN` and `NOT IN` , using parentheses `( )` + * + * Examples: + * + * * `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such + * as custom namespaces. + * * `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, + * Elastic Load Balancing , and Amazon S3 namespaces. + * * `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and + * your custom namespaces. + * * `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with + * names `This-Log-Group` and `Other-Log-Group` . + * * `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log + * groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . + * * `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log + * groups that have names that start with `aws/lambda/` or `AWSLogs` . + * + * + * If you are updating a link that uses filters, you can specify `*` as the only value for the + * `filter` parameter to delete the filter and share all log groups with the monitoring account. + * + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkfilter.html#cfn-oam-link-linkfilter-filter) */ override fun filter(): String = unwrap(this).getFilter() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLinkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLinkProps.kt index 708d491418..019e0ddb22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLinkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnLinkProps.kt @@ -59,6 +59,9 @@ public interface CfnLinkProps { public fun labelTemplate(): String? = unwrap(this).getLabelTemplate() /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) */ public fun linkConfiguration(): Any? = unwrap(this).getLinkConfiguration() @@ -113,17 +116,23 @@ public interface CfnLinkProps { public fun labelTemplate(labelTemplate: String) /** - * @param linkConfiguration the value to be set. + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ public fun linkConfiguration(linkConfiguration: IResolvable) /** - * @param linkConfiguration the value to be set. + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ public fun linkConfiguration(linkConfiguration: CfnLink.LinkConfigurationProperty) /** - * @param linkConfiguration the value to be set. + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c16b83fb005aa5f502bdd496d9c5765d2c4a68deb4bc415651ae331455a32cfc") @@ -183,21 +192,27 @@ public interface CfnLinkProps { } /** - * @param linkConfiguration the value to be set. + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ override fun linkConfiguration(linkConfiguration: IResolvable) { - cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param linkConfiguration the value to be set. + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ override fun linkConfiguration(linkConfiguration: CfnLink.LinkConfigurationProperty) { - cdkBuilder.linkConfiguration(linkConfiguration.let(CfnLink.LinkConfigurationProperty::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(CfnLink.LinkConfigurationProperty.Companion::unwrap)) } /** - * @param linkConfiguration the value to be set. + * @param linkConfiguration Use this structure to optionally create filters that specify that + * only some metric namespaces or log groups are to be shared from the source account to the + * monitoring account. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c16b83fb005aa5f502bdd496d9c5765d2c4a68deb4bc415651ae331455a32cfc") @@ -267,6 +282,9 @@ public interface CfnLinkProps { override fun labelTemplate(): String? = unwrap(this).getLabelTemplate() /** + * Use this structure to optionally create filters that specify that only some metric namespaces + * or log groups are to be shared from the source account to the monitoring account. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-linkconfiguration) */ override fun linkConfiguration(): Any? = unwrap(this).getLinkConfiguration() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnSink.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnSink.kt index daf8ad8fe4..2993b9b1d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnSink.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/oam/CfnSink.kt @@ -54,8 +54,8 @@ public open class CfnSink( id: String, props: CfnSinkProps, ) : - this(software.amazon.awscdk.services.oam.CfnSink(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSinkProps::unwrap)) + this(software.amazon.awscdk.services.oam.CfnSink(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSinkProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class CfnSink( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStore.kt index 0dfc7413d7..45355563a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStore.kt @@ -66,8 +66,8 @@ public open class CfnAnnotationStore( id: String, props: CfnAnnotationStoreProps, ) : - this(software.amazon.awscdk.services.omics.CfnAnnotationStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnnotationStoreProps::unwrap)) + this(software.amazon.awscdk.services.omics.CfnAnnotationStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnnotationStoreProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnAnnotationStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -155,14 +155,14 @@ public open class CfnAnnotationStore( * The genome reference for the store's annotations. */ public open fun reference(`value`: IResolvable) { - unwrap(this).setReference(`value`.let(IResolvable::unwrap)) + unwrap(this).setReference(`value`.let(IResolvable.Companion::unwrap)) } /** * The genome reference for the store's annotations. */ public open fun reference(`value`: ReferenceItemProperty) { - unwrap(this).setReference(`value`.let(ReferenceItemProperty::unwrap)) + unwrap(this).setReference(`value`.let(ReferenceItemProperty.Companion::unwrap)) } /** @@ -182,14 +182,14 @@ public open class CfnAnnotationStore( * The store's server-side encryption (SSE) settings. */ public open fun sseConfig(`value`: IResolvable) { - unwrap(this).setSseConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The store's server-side encryption (SSE) settings. */ public open fun sseConfig(`value`: SseConfigProperty) { - unwrap(this).setSseConfig(`value`.let(SseConfigProperty::unwrap)) + unwrap(this).setSseConfig(`value`.let(SseConfigProperty.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnAnnotationStore( * File parsing options for the annotation store. */ public open fun storeOptions(`value`: IResolvable) { - unwrap(this).setStoreOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setStoreOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * File parsing options for the annotation store. */ public open fun storeOptions(`value`: StoreOptionsProperty) { - unwrap(this).setStoreOptions(`value`.let(StoreOptionsProperty::unwrap)) + unwrap(this).setStoreOptions(`value`.let(StoreOptionsProperty.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class CfnAnnotationStore( * @param reference The genome reference for the store's annotations. */ override fun reference(reference: IResolvable) { - cdkBuilder.reference(reference.let(IResolvable::unwrap)) + cdkBuilder.reference(reference.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnAnnotationStore( * @param reference The genome reference for the store's annotations. */ override fun reference(reference: ReferenceItemProperty) { - cdkBuilder.reference(reference.let(ReferenceItemProperty::unwrap)) + cdkBuilder.reference(reference.let(ReferenceItemProperty.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnAnnotationStore( * @param sseConfig The store's server-side encryption (SSE) settings. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CfnAnnotationStore( * @param sseConfig The store's server-side encryption (SSE) settings. */ override fun sseConfig(sseConfig: SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnAnnotationStore( * @param storeOptions File parsing options for the annotation store. */ override fun storeOptions(storeOptions: IResolvable) { - cdkBuilder.storeOptions(storeOptions.let(IResolvable::unwrap)) + cdkBuilder.storeOptions(storeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnAnnotationStore( * @param storeOptions File parsing options for the annotation store. */ override fun storeOptions(storeOptions: StoreOptionsProperty) { - cdkBuilder.storeOptions(storeOptions.let(StoreOptionsProperty::unwrap)) + cdkBuilder.storeOptions(storeOptions.let(StoreOptionsProperty.Companion::unwrap)) } /** @@ -788,14 +788,14 @@ public open class CfnAnnotationStore( * @param tsvStoreOptions Formatting options for a TSV file. */ override fun tsvStoreOptions(tsvStoreOptions: IResolvable) { - cdkBuilder.tsvStoreOptions(tsvStoreOptions.let(IResolvable::unwrap)) + cdkBuilder.tsvStoreOptions(tsvStoreOptions.let(IResolvable.Companion::unwrap)) } /** * @param tsvStoreOptions Formatting options for a TSV file. */ override fun tsvStoreOptions(tsvStoreOptions: TsvStoreOptionsProperty) { - cdkBuilder.tsvStoreOptions(tsvStoreOptions.let(TsvStoreOptionsProperty::unwrap)) + cdkBuilder.tsvStoreOptions(tsvStoreOptions.let(TsvStoreOptionsProperty.Companion::unwrap)) } /** @@ -924,7 +924,7 @@ public open class CfnAnnotationStore( * @param formatToHeader The store's header key to column name mapping. */ override fun formatToHeader(formatToHeader: IResolvable) { - cdkBuilder.formatToHeader(formatToHeader.let(IResolvable::unwrap)) + cdkBuilder.formatToHeader(formatToHeader.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStoreProps.kt index 8772fe42ce..8093b48645 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnAnnotationStoreProps.kt @@ -200,14 +200,14 @@ public interface CfnAnnotationStoreProps { * @param reference The genome reference for the store's annotations. */ override fun reference(reference: IResolvable) { - cdkBuilder.reference(reference.let(IResolvable::unwrap)) + cdkBuilder.reference(reference.let(IResolvable.Companion::unwrap)) } /** * @param reference The genome reference for the store's annotations. */ override fun reference(reference: CfnAnnotationStore.ReferenceItemProperty) { - cdkBuilder.reference(reference.let(CfnAnnotationStore.ReferenceItemProperty::unwrap)) + cdkBuilder.reference(reference.let(CfnAnnotationStore.ReferenceItemProperty.Companion::unwrap)) } /** @@ -222,14 +222,14 @@ public interface CfnAnnotationStoreProps { * @param sseConfig The store's server-side encryption (SSE) settings. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** * @param sseConfig The store's server-side encryption (SSE) settings. */ override fun sseConfig(sseConfig: CfnAnnotationStore.SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(CfnAnnotationStore.SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(CfnAnnotationStore.SseConfigProperty.Companion::unwrap)) } /** @@ -251,14 +251,14 @@ public interface CfnAnnotationStoreProps { * @param storeOptions File parsing options for the annotation store. */ override fun storeOptions(storeOptions: IResolvable) { - cdkBuilder.storeOptions(storeOptions.let(IResolvable::unwrap)) + cdkBuilder.storeOptions(storeOptions.let(IResolvable.Companion::unwrap)) } /** * @param storeOptions File parsing options for the annotation store. */ override fun storeOptions(storeOptions: CfnAnnotationStore.StoreOptionsProperty) { - cdkBuilder.storeOptions(storeOptions.let(CfnAnnotationStore.StoreOptionsProperty::unwrap)) + cdkBuilder.storeOptions(storeOptions.let(CfnAnnotationStore.StoreOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStore.kt index da6149ad1c..462795b301 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStore.kt @@ -53,8 +53,8 @@ public open class CfnReferenceStore( id: String, props: CfnReferenceStoreProps, ) : - this(software.amazon.awscdk.services.omics.CfnReferenceStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReferenceStoreProps::unwrap)) + this(software.amazon.awscdk.services.omics.CfnReferenceStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReferenceStoreProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnReferenceStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,14 +121,14 @@ public open class CfnReferenceStore( * Server-side encryption (SSE) settings for the store. */ public open fun sseConfig(`value`: IResolvable) { - unwrap(this).setSseConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Server-side encryption (SSE) settings for the store. */ public open fun sseConfig(`value`: SseConfigProperty) { - unwrap(this).setSseConfig(`value`.let(SseConfigProperty::unwrap)) + unwrap(this).setSseConfig(`value`.let(SseConfigProperty.Companion::unwrap)) } /** @@ -246,7 +246,7 @@ public open class CfnReferenceStore( * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnReferenceStore( * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStoreProps.kt index 597e0ae629..91c350ae38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnReferenceStoreProps.kt @@ -126,14 +126,14 @@ public interface CfnReferenceStoreProps { * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: CfnReferenceStore.SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(CfnReferenceStore.SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(CfnReferenceStore.SseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnRunGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnRunGroup.kt index 81a9184257..74a4bc9372 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnRunGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnRunGroup.kt @@ -41,7 +41,7 @@ public open class CfnRunGroup( cdkObject: software.amazon.awscdk.services.omics.CfnRunGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.omics.CfnRunGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.omics.CfnRunGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class CfnRunGroup( id: String, props: CfnRunGroupProps, ) : - this(software.amazon.awscdk.services.omics.CfnRunGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRunGroupProps::unwrap)) + this(software.amazon.awscdk.services.omics.CfnRunGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRunGroupProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnRunGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStore.kt index 30b94846a6..b55c4d3845 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStore.kt @@ -53,8 +53,8 @@ public open class CfnSequenceStore( id: String, props: CfnSequenceStoreProps, ) : - this(software.amazon.awscdk.services.omics.CfnSequenceStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSequenceStoreProps::unwrap)) + this(software.amazon.awscdk.services.omics.CfnSequenceStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSequenceStoreProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnSequenceStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -133,14 +133,14 @@ public open class CfnSequenceStore( * Server-side encryption (SSE) settings for the store. */ public open fun sseConfig(`value`: IResolvable) { - unwrap(this).setSseConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Server-side encryption (SSE) settings for the store. */ public open fun sseConfig(`value`: SseConfigProperty) { - unwrap(this).setSseConfig(`value`.let(SseConfigProperty::unwrap)) + unwrap(this).setSseConfig(`value`.let(SseConfigProperty.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class CfnSequenceStore( * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnSequenceStore( * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStoreProps.kt index c43c99996d..80d2f4cba2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnSequenceStoreProps.kt @@ -148,14 +148,14 @@ public interface CfnSequenceStoreProps { * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: CfnSequenceStore.SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(CfnSequenceStore.SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(CfnSequenceStore.SseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStore.kt index 52bf076299..30e002f023 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStore.kt @@ -55,8 +55,8 @@ public open class CfnVariantStore( id: String, props: CfnVariantStoreProps, ) : - this(software.amazon.awscdk.services.omics.CfnVariantStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVariantStoreProps::unwrap)) + this(software.amazon.awscdk.services.omics.CfnVariantStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVariantStoreProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnVariantStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -144,14 +144,14 @@ public open class CfnVariantStore( * The genome reference for the store's variants. */ public open fun reference(`value`: IResolvable) { - unwrap(this).setReference(`value`.let(IResolvable::unwrap)) + unwrap(this).setReference(`value`.let(IResolvable.Companion::unwrap)) } /** * The genome reference for the store's variants. */ public open fun reference(`value`: ReferenceItemProperty) { - unwrap(this).setReference(`value`.let(ReferenceItemProperty::unwrap)) + unwrap(this).setReference(`value`.let(ReferenceItemProperty.Companion::unwrap)) } /** @@ -171,14 +171,14 @@ public open class CfnVariantStore( * Server-side encryption (SSE) settings for the store. */ public open fun sseConfig(`value`: IResolvable) { - unwrap(this).setSseConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Server-side encryption (SSE) settings for the store. */ public open fun sseConfig(`value`: SseConfigProperty) { - unwrap(this).setSseConfig(`value`.let(SseConfigProperty::unwrap)) + unwrap(this).setSseConfig(`value`.let(SseConfigProperty.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnVariantStore( * @param reference The genome reference for the store's variants. */ override fun reference(reference: IResolvable) { - cdkBuilder.reference(reference.let(IResolvable::unwrap)) + cdkBuilder.reference(reference.let(IResolvable.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnVariantStore( * @param reference The genome reference for the store's variants. */ override fun reference(reference: ReferenceItemProperty) { - cdkBuilder.reference(reference.let(ReferenceItemProperty::unwrap)) + cdkBuilder.reference(reference.let(ReferenceItemProperty.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class CfnVariantStore( * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnVariantStore( * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(SseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStoreProps.kt index 3be8565dc3..687076a289 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnVariantStoreProps.kt @@ -153,14 +153,14 @@ public interface CfnVariantStoreProps { * @param reference The genome reference for the store's variants. */ override fun reference(reference: IResolvable) { - cdkBuilder.reference(reference.let(IResolvable::unwrap)) + cdkBuilder.reference(reference.let(IResolvable.Companion::unwrap)) } /** * @param reference The genome reference for the store's variants. */ override fun reference(reference: CfnVariantStore.ReferenceItemProperty) { - cdkBuilder.reference(reference.let(CfnVariantStore.ReferenceItemProperty::unwrap)) + cdkBuilder.reference(reference.let(CfnVariantStore.ReferenceItemProperty.Companion::unwrap)) } /** @@ -175,14 +175,14 @@ public interface CfnVariantStoreProps { * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: IResolvable) { - cdkBuilder.sseConfig(sseConfig.let(IResolvable::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(IResolvable.Companion::unwrap)) } /** * @param sseConfig Server-side encryption (SSE) settings for the store. */ override fun sseConfig(sseConfig: CfnVariantStore.SseConfigProperty) { - cdkBuilder.sseConfig(sseConfig.let(CfnVariantStore.SseConfigProperty::unwrap)) + cdkBuilder.sseConfig(sseConfig.let(CfnVariantStore.SseConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflow.kt index 630165e56d..4ba9c72f64 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflow.kt @@ -53,7 +53,7 @@ public open class CfnWorkflow( cdkObject: software.amazon.awscdk.services.omics.CfnWorkflow, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.omics.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.omics.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -62,8 +62,8 @@ public open class CfnWorkflow( id: String, props: CfnWorkflowProps, ) : - this(software.amazon.awscdk.services.omics.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkflowProps::unwrap)) + this(software.amazon.awscdk.services.omics.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkflowProps.Companion::unwrap)) ) public constructor( @@ -152,7 +152,7 @@ public open class CfnWorkflow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnWorkflow( * The workflow's parameter template. */ public open fun parameterTemplate(`value`: IResolvable) { - unwrap(this).setParameterTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameterTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -199,12 +199,12 @@ public open class CfnWorkflow( } /** - * A storage capacity for the workflow in gibibytes. + * The default storage capacity for the workflow runs, in gibibytes. */ public open fun storageCapacity(): Number? = unwrap(this).getStorageCapacity() /** - * A storage capacity for the workflow in gibibytes. + * The default storage capacity for the workflow runs, in gibibytes. */ public open fun storageCapacity(`value`: Number) { unwrap(this).setStorageCapacity(`value`) @@ -295,10 +295,10 @@ public open class CfnWorkflow( public fun parameterTemplate(parameterTemplate: Map) /** - * A storage capacity for the workflow in gibibytes. + * The default storage capacity for the workflow runs, in gibibytes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-storagecapacity) - * @param storageCapacity A storage capacity for the workflow in gibibytes. + * @param storageCapacity The default storage capacity for the workflow runs, in gibibytes. */ public fun storageCapacity(storageCapacity: Number) @@ -383,7 +383,7 @@ public open class CfnWorkflow( * @param parameterTemplate The workflow's parameter template. */ override fun parameterTemplate(parameterTemplate: IResolvable) { - cdkBuilder.parameterTemplate(parameterTemplate.let(IResolvable::unwrap)) + cdkBuilder.parameterTemplate(parameterTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -397,10 +397,10 @@ public open class CfnWorkflow( } /** - * A storage capacity for the workflow in gibibytes. + * The default storage capacity for the workflow runs, in gibibytes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-storagecapacity) - * @param storageCapacity A storage capacity for the workflow in gibibytes. + * @param storageCapacity The default storage capacity for the workflow runs, in gibibytes. */ override fun storageCapacity(storageCapacity: Number) { cdkBuilder.storageCapacity(storageCapacity) @@ -515,7 +515,7 @@ public open class CfnWorkflow( * @param optional Whether the parameter is optional. */ override fun optional(optional: IResolvable) { - cdkBuilder.optional(optional.let(IResolvable::unwrap)) + cdkBuilder.optional(optional.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflowProps.kt index 59a9c63904..5839ded034 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/omics/CfnWorkflowProps.kt @@ -90,7 +90,7 @@ public interface CfnWorkflowProps { public fun parameterTemplate(): Any? = unwrap(this).getParameterTemplate() /** - * A storage capacity for the workflow in gibibytes. + * The default storage capacity for the workflow runs, in gibibytes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-storagecapacity) */ @@ -149,7 +149,7 @@ public interface CfnWorkflowProps { public fun parameterTemplate(parameterTemplate: Map) /** - * @param storageCapacity A storage capacity for the workflow in gibibytes. + * @param storageCapacity The default storage capacity for the workflow runs, in gibibytes. */ public fun storageCapacity(storageCapacity: Number) @@ -209,7 +209,7 @@ public interface CfnWorkflowProps { * @param parameterTemplate The workflow's parameter template. */ override fun parameterTemplate(parameterTemplate: IResolvable) { - cdkBuilder.parameterTemplate(parameterTemplate.let(IResolvable::unwrap)) + cdkBuilder.parameterTemplate(parameterTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public interface CfnWorkflowProps { } /** - * @param storageCapacity A storage capacity for the workflow in gibibytes. + * @param storageCapacity The default storage capacity for the workflow runs, in gibibytes. */ override fun storageCapacity(storageCapacity: Number) { cdkBuilder.storageCapacity(storageCapacity) @@ -287,7 +287,7 @@ public interface CfnWorkflowProps { override fun parameterTemplate(): Any? = unwrap(this).getParameterTemplate() /** - * A storage capacity for the workflow in gibibytes. + * The default storage capacity for the workflow runs, in gibibytes. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-storagecapacity) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnAccessPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnAccessPolicy.kt index fd22440ba3..4158f15141 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnAccessPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnAccessPolicy.kt @@ -45,8 +45,8 @@ public open class CfnAccessPolicy( id: String, props: CfnAccessPolicyProps, ) : - this(software.amazon.awscdk.services.opensearchserverless.CfnAccessPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPolicyProps::unwrap)) + this(software.amazon.awscdk.services.opensearchserverless.CfnAccessPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPolicyProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnAccessPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollection.kt index 4df062216a..ea3ac621b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollection.kt @@ -63,8 +63,8 @@ public open class CfnCollection( id: String, props: CfnCollectionProps, ) : - this(software.amazon.awscdk.services.opensearchserverless.CfnCollection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCollectionProps::unwrap)) + this(software.amazon.awscdk.services.opensearchserverless.CfnCollection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCollectionProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnCollection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnCollection( * An arbitrary set of tags (key–value pairs) to associate with the collection. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnCollection( * @param tags An arbitrary set of tags (key–value pairs) to associate with the collection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollectionProps.kt index b4859b9e11..0fbbbbfb53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnCollectionProps.kt @@ -184,7 +184,7 @@ public interface CfnCollectionProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnLifecyclePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnLifecyclePolicy.kt index 295b103ef5..da18feffc8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnLifecyclePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnLifecyclePolicy.kt @@ -45,8 +45,8 @@ public open class CfnLifecyclePolicy( id: String, props: CfnLifecyclePolicyProps, ) : - this(software.amazon.awscdk.services.opensearchserverless.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLifecyclePolicyProps::unwrap)) + this(software.amazon.awscdk.services.opensearchserverless.CfnLifecyclePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLifecyclePolicyProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnLifecyclePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfig.kt index e7e838d7cc..3fad3c397d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfig.kt @@ -51,7 +51,7 @@ public open class CfnSecurityConfig( cdkObject: software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnSecurityConfig( id: String, props: CfnSecurityConfigProps, ) : - this(software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityConfigProps::unwrap)) + this(software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityConfigProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnSecurityConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -120,14 +120,14 @@ public open class CfnSecurityConfig( * SAML options for the security configuration in the form of a key-value map. */ public open fun samlOptions(`value`: IResolvable) { - unwrap(this).setSamlOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSamlOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * SAML options for the security configuration in the form of a key-value map. */ public open fun samlOptions(`value`: SamlConfigOptionsProperty) { - unwrap(this).setSamlOptions(`value`.let(SamlConfigOptionsProperty::unwrap)) + unwrap(this).setSamlOptions(`value`.let(SamlConfigOptionsProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnSecurityConfig( * map. */ override fun samlOptions(samlOptions: IResolvable) { - cdkBuilder.samlOptions(samlOptions.let(IResolvable::unwrap)) + cdkBuilder.samlOptions(samlOptions.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnSecurityConfig( * map. */ override fun samlOptions(samlOptions: SamlConfigOptionsProperty) { - cdkBuilder.samlOptions(samlOptions.let(SamlConfigOptionsProperty::unwrap)) + cdkBuilder.samlOptions(samlOptions.let(SamlConfigOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfigProps.kt index aef8ca3cee..f0a724a0c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityConfigProps.kt @@ -134,7 +134,7 @@ public interface CfnSecurityConfigProps { * map. */ override fun samlOptions(samlOptions: IResolvable) { - cdkBuilder.samlOptions(samlOptions.let(IResolvable::unwrap)) + cdkBuilder.samlOptions(samlOptions.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public interface CfnSecurityConfigProps { * map. */ override fun samlOptions(samlOptions: CfnSecurityConfig.SamlConfigOptionsProperty) { - cdkBuilder.samlOptions(samlOptions.let(CfnSecurityConfig.SamlConfigOptionsProperty::unwrap)) + cdkBuilder.samlOptions(samlOptions.let(CfnSecurityConfig.SamlConfigOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityPolicy.kt index e617174a3f..81c78ebc50 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnSecurityPolicy.kt @@ -52,8 +52,8 @@ public open class CfnSecurityPolicy( id: String, props: CfnSecurityPolicyProps, ) : - this(software.amazon.awscdk.services.opensearchserverless.CfnSecurityPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecurityPolicyProps::unwrap)) + this(software.amazon.awscdk.services.opensearchserverless.CfnSecurityPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecurityPolicyProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnSecurityPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnVpcEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnVpcEndpoint.kt index 07d238d54b..648abcb2a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnVpcEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchserverless/CfnVpcEndpoint.kt @@ -44,8 +44,8 @@ public open class CfnVpcEndpoint( id: String, props: CfnVpcEndpointProps, ) : - this(software.amazon.awscdk.services.opensearchserverless.CfnVpcEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVpcEndpointProps::unwrap)) + this(software.amazon.awscdk.services.opensearchserverless.CfnVpcEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVpcEndpointProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class CfnVpcEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/AdvancedSecurityOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/AdvancedSecurityOptions.kt index c650e88ad6..13433c4f6a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/AdvancedSecurityOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/AdvancedSecurityOptions.kt @@ -161,7 +161,7 @@ public interface AdvancedSecurityOptions { * Secrets Manager. */ override fun masterUserPassword(masterUserPassword: SecretValue) { - cdkBuilder.masterUserPassword(masterUserPassword.let(SecretValue::unwrap)) + cdkBuilder.masterUserPassword(masterUserPassword.let(SecretValue.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface AdvancedSecurityOptions { * If set, `samlAuthenticationEnabled` will be enabled. */ override fun samlAuthenticationOptions(samlAuthenticationOptions: SAMLOptionsProperty) { - cdkBuilder.samlAuthenticationOptions(samlAuthenticationOptions.let(SAMLOptionsProperty::unwrap)) + cdkBuilder.samlAuthenticationOptions(samlAuthenticationOptions.let(SAMLOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomain.kt index 96255d40e1..f9db22bf67 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomain.kt @@ -146,7 +146,7 @@ public open class CfnDomain( cdkObject: software.amazon.awscdk.services.opensearchservice.CfnDomain, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.opensearchservice.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.opensearchservice.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -155,8 +155,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.opensearchservice.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.opensearchservice.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -189,7 +189,7 @@ public open class CfnDomain( * Additional options to specify for the OpenSearch Service domain. */ public open fun advancedOptions(`value`: IResolvable) { - unwrap(this).setAdvancedOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdvancedOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -208,14 +208,14 @@ public open class CfnDomain( * Specifies options for fine-grained access control and SAML authentication. */ public open fun advancedSecurityOptions(`value`: IResolvable) { - unwrap(this).setAdvancedSecurityOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdvancedSecurityOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies options for fine-grained access control and SAML authentication. */ public open fun advancedSecurityOptions(`value`: AdvancedSecurityOptionsInputProperty) { - unwrap(this).setAdvancedSecurityOptions(`value`.let(AdvancedSecurityOptionsInputProperty::unwrap)) + unwrap(this).setAdvancedSecurityOptions(`value`.let(AdvancedSecurityOptionsInputProperty.Companion::unwrap)) } /** @@ -332,14 +332,14 @@ public open class CfnDomain( * Container for the cluster configuration of a domain. */ public open fun clusterConfig(`value`: IResolvable) { - unwrap(this).setClusterConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setClusterConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Container for the cluster configuration of a domain. */ public open fun clusterConfig(`value`: ClusterConfigProperty) { - unwrap(this).setClusterConfig(`value`.let(ClusterConfigProperty::unwrap)) + unwrap(this).setClusterConfig(`value`.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -359,14 +359,14 @@ public open class CfnDomain( * Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. */ public open fun cognitoOptions(`value`: IResolvable) { - unwrap(this).setCognitoOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setCognitoOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. */ public open fun cognitoOptions(`value`: CognitoOptionsProperty) { - unwrap(this).setCognitoOptions(`value`.let(CognitoOptionsProperty::unwrap)) + unwrap(this).setCognitoOptions(`value`.let(CognitoOptionsProperty.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class CfnDomain( * traffic or whether to use a custom endpoint rather than the default endpoint. */ public open fun domainEndpointOptions(`value`: IResolvable) { - unwrap(this).setDomainEndpointOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainEndpointOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnDomain( * traffic or whether to use a custom endpoint rather than the default endpoint. */ public open fun domainEndpointOptions(`value`: DomainEndpointOptionsProperty) { - unwrap(this).setDomainEndpointOptions(`value`.let(DomainEndpointOptionsProperty::unwrap)) + unwrap(this).setDomainEndpointOptions(`value`.let(DomainEndpointOptionsProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnDomain( * nodes in the OpenSearch Service domain. */ public open fun ebsOptions(`value`: IResolvable) { - unwrap(this).setEbsOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class CfnDomain( * nodes in the OpenSearch Service domain. */ public open fun ebsOptions(`value`: EBSOptionsProperty) { - unwrap(this).setEbsOptions(`value`.let(EBSOptionsProperty::unwrap)) + unwrap(this).setEbsOptions(`value`.let(EBSOptionsProperty.Companion::unwrap)) } /** @@ -472,14 +472,14 @@ public open class CfnDomain( * Whether the domain should encrypt data at rest, and if so, the AWS KMS key to use. */ public open fun encryptionAtRestOptions(`value`: IResolvable) { - unwrap(this).setEncryptionAtRestOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionAtRestOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Whether the domain should encrypt data at rest, and if so, the AWS KMS key to use. */ public open fun encryptionAtRestOptions(`value`: EncryptionAtRestOptionsProperty) { - unwrap(this).setEncryptionAtRestOptions(`value`.let(EncryptionAtRestOptionsProperty::unwrap)) + unwrap(this).setEncryptionAtRestOptions(`value`.let(EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public open class CfnDomain( * `INDEX_SLOW_LOGS` , `AUDIT_LOGS` , depending on the types of logs you want to publish. */ public open fun logPublishingOptions(`value`: IResolvable) { - unwrap(this).setLogPublishingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogPublishingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -556,14 +556,14 @@ public open class CfnDomain( * Specifies whether node-to-node encryption is enabled. */ public open fun nodeToNodeEncryptionOptions(`value`: IResolvable) { - unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies whether node-to-node encryption is enabled. */ public open fun nodeToNodeEncryptionOptions(`value`: NodeToNodeEncryptionOptionsProperty) { - unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(NodeToNodeEncryptionOptionsProperty::unwrap)) + unwrap(this).setNodeToNodeEncryptionOptions(`value`.let(NodeToNodeEncryptionOptionsProperty.Companion::unwrap)) } /** @@ -586,7 +586,7 @@ public open class CfnDomain( * configuration changes on the domain. */ public open fun offPeakWindowOptions(`value`: IResolvable) { - unwrap(this).setOffPeakWindowOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setOffPeakWindowOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class CfnDomain( * configuration changes on the domain. */ public open fun offPeakWindowOptions(`value`: OffPeakWindowOptionsProperty) { - unwrap(this).setOffPeakWindowOptions(`value`.let(OffPeakWindowOptionsProperty::unwrap)) + unwrap(this).setOffPeakWindowOptions(`value`.let(OffPeakWindowOptionsProperty.Companion::unwrap)) } /** @@ -615,14 +615,14 @@ public open class CfnDomain( * *DEPRECATED* . */ public open fun snapshotOptions(`value`: IResolvable) { - unwrap(this).setSnapshotOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnapshotOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * *DEPRECATED* . */ public open fun snapshotOptions(`value`: SnapshotOptionsProperty) { - unwrap(this).setSnapshotOptions(`value`.let(SnapshotOptionsProperty::unwrap)) + unwrap(this).setSnapshotOptions(`value`.let(SnapshotOptionsProperty.Companion::unwrap)) } /** @@ -642,14 +642,14 @@ public open class CfnDomain( * Service software update options for the domain. */ public open fun softwareUpdateOptions(`value`: IResolvable) { - unwrap(this).setSoftwareUpdateOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSoftwareUpdateOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Service software update options for the domain. */ public open fun softwareUpdateOptions(`value`: SoftwareUpdateOptionsProperty) { - unwrap(this).setSoftwareUpdateOptions(`value`.let(SoftwareUpdateOptionsProperty::unwrap)) + unwrap(this).setSoftwareUpdateOptions(`value`.let(SoftwareUpdateOptionsProperty.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public open class CfnDomain( * An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Service domain. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -692,14 +692,14 @@ public open class CfnDomain( * The virtual private cloud (VPC) configuration for the OpenSearch Service domain. */ public open fun vpcOptions(`value`: IResolvable) { - unwrap(this).setVpcOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual private cloud (VPC) configuration for the OpenSearch Service domain. */ public open fun vpcOptions(`value`: VPCOptionsProperty) { - unwrap(this).setVpcOptions(`value`.let(VPCOptionsProperty::unwrap)) + unwrap(this).setVpcOptions(`value`.let(VPCOptionsProperty.Companion::unwrap)) } /** @@ -1326,7 +1326,7 @@ public open class CfnDomain( * @param advancedOptions Additional options to specify for the OpenSearch Service domain. */ override fun advancedOptions(advancedOptions: IResolvable) { - cdkBuilder.advancedOptions(advancedOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedOptions(advancedOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1359,7 +1359,7 @@ public open class CfnDomain( * authentication. */ override fun advancedSecurityOptions(advancedSecurityOptions: IResolvable) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1379,7 +1379,7 @@ public open class CfnDomain( */ override fun advancedSecurityOptions(advancedSecurityOptions: AdvancedSecurityOptionsInputProperty) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(AdvancedSecurityOptionsInputProperty::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(AdvancedSecurityOptionsInputProperty.Companion::unwrap)) } /** @@ -1411,7 +1411,7 @@ public open class CfnDomain( * @param clusterConfig Container for the cluster configuration of a domain. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1421,7 +1421,7 @@ public open class CfnDomain( * @param clusterConfig Container for the cluster configuration of a domain. */ override fun clusterConfig(clusterConfig: ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -1443,7 +1443,7 @@ public open class CfnDomain( * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: IResolvable) { - cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1454,7 +1454,7 @@ public open class CfnDomain( * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: CognitoOptionsProperty) { - cdkBuilder.cognitoOptions(cognitoOptions.let(CognitoOptionsProperty::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(CognitoOptionsProperty.Companion::unwrap)) } /** @@ -1487,7 +1487,7 @@ public open class CfnDomain( * default endpoint. */ override fun domainEndpointOptions(domainEndpointOptions: IResolvable) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1500,7 +1500,7 @@ public open class CfnDomain( * default endpoint. */ override fun domainEndpointOptions(domainEndpointOptions: DomainEndpointOptionsProperty) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(DomainEndpointOptionsProperty::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(DomainEndpointOptionsProperty.Companion::unwrap)) } /** @@ -1554,7 +1554,7 @@ public open class CfnDomain( * are attached to data nodes in the OpenSearch Service domain. */ override fun ebsOptions(ebsOptions: IResolvable) { - cdkBuilder.ebsOptions(ebsOptions.let(IResolvable::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1570,7 +1570,7 @@ public open class CfnDomain( * are attached to data nodes in the OpenSearch Service domain. */ override fun ebsOptions(ebsOptions: EBSOptionsProperty) { - cdkBuilder.ebsOptions(ebsOptions.let(EBSOptionsProperty::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(EBSOptionsProperty.Companion::unwrap)) } /** @@ -1607,7 +1607,7 @@ public open class CfnDomain( * AWS KMS key to use. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: IResolvable) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1627,7 +1627,7 @@ public open class CfnDomain( * AWS KMS key to use. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: EncryptionAtRestOptionsProperty) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(EncryptionAtRestOptionsProperty::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -1704,7 +1704,7 @@ public open class CfnDomain( * types of logs you want to publish. */ override fun logPublishingOptions(logPublishingOptions: IResolvable) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1734,7 +1734,7 @@ public open class CfnDomain( * @param nodeToNodeEncryptionOptions Specifies whether node-to-node encryption is enabled. */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: IResolvable) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1748,7 +1748,7 @@ public open class CfnDomain( */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: NodeToNodeEncryptionOptionsProperty) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(NodeToNodeEncryptionOptionsProperty::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(NodeToNodeEncryptionOptionsProperty.Companion::unwrap)) } /** @@ -1776,7 +1776,7 @@ public open class CfnDomain( * Service can perform mandatory configuration changes on the domain. */ override fun offPeakWindowOptions(offPeakWindowOptions: IResolvable) { - cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(IResolvable::unwrap)) + cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1788,7 +1788,7 @@ public open class CfnDomain( * Service can perform mandatory configuration changes on the domain. */ override fun offPeakWindowOptions(offPeakWindowOptions: OffPeakWindowOptionsProperty) { - cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(OffPeakWindowOptionsProperty::unwrap)) + cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(OffPeakWindowOptionsProperty.Companion::unwrap)) } /** @@ -1814,7 +1814,7 @@ public open class CfnDomain( * @param snapshotOptions *DEPRECATED* . */ override fun snapshotOptions(snapshotOptions: IResolvable) { - cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1826,7 +1826,7 @@ public open class CfnDomain( * @param snapshotOptions *DEPRECATED* . */ override fun snapshotOptions(snapshotOptions: SnapshotOptionsProperty) { - cdkBuilder.snapshotOptions(snapshotOptions.let(SnapshotOptionsProperty::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(SnapshotOptionsProperty.Companion::unwrap)) } /** @@ -1849,7 +1849,7 @@ public open class CfnDomain( * @param softwareUpdateOptions Service software update options for the domain. */ override fun softwareUpdateOptions(softwareUpdateOptions: IResolvable) { - cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(IResolvable::unwrap)) + cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1859,7 +1859,7 @@ public open class CfnDomain( * @param softwareUpdateOptions Service software update options for the domain. */ override fun softwareUpdateOptions(softwareUpdateOptions: SoftwareUpdateOptionsProperty) { - cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(SoftwareUpdateOptionsProperty::unwrap)) + cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(SoftwareUpdateOptionsProperty.Companion::unwrap)) } /** @@ -1882,7 +1882,7 @@ public open class CfnDomain( * Service domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1910,7 +1910,7 @@ public open class CfnDomain( * domain. */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1929,7 +1929,7 @@ public open class CfnDomain( * domain. */ override fun vpcOptions(vpcOptions: VPCOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(VPCOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(VPCOptionsProperty.Companion::unwrap)) } /** @@ -2208,7 +2208,7 @@ public open class CfnDomain( * . */ override fun anonymousAuthEnabled(anonymousAuthEnabled: IResolvable) { - cdkBuilder.anonymousAuthEnabled(anonymousAuthEnabled.let(IResolvable::unwrap)) + cdkBuilder.anonymousAuthEnabled(anonymousAuthEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2228,7 +2228,7 @@ public open class CfnDomain( * Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html) . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -2242,21 +2242,21 @@ public open class CfnDomain( * @param internalUserDatabaseEnabled True to enable the internal user database. */ override fun internalUserDatabaseEnabled(internalUserDatabaseEnabled: IResolvable) { - cdkBuilder.internalUserDatabaseEnabled(internalUserDatabaseEnabled.let(IResolvable::unwrap)) + cdkBuilder.internalUserDatabaseEnabled(internalUserDatabaseEnabled.let(IResolvable.Companion::unwrap)) } /** * @param masterUserOptions Specifies information about the master user. */ override fun masterUserOptions(masterUserOptions: IResolvable) { - cdkBuilder.masterUserOptions(masterUserOptions.let(IResolvable::unwrap)) + cdkBuilder.masterUserOptions(masterUserOptions.let(IResolvable.Companion::unwrap)) } /** * @param masterUserOptions Specifies information about the master user. */ override fun masterUserOptions(masterUserOptions: MasterUserOptionsProperty) { - cdkBuilder.masterUserOptions(masterUserOptions.let(MasterUserOptionsProperty::unwrap)) + cdkBuilder.masterUserOptions(masterUserOptions.let(MasterUserOptionsProperty.Companion::unwrap)) } /** @@ -2273,7 +2273,7 @@ public open class CfnDomain( * Dashboards. */ override fun samlOptions(samlOptions: IResolvable) { - cdkBuilder.samlOptions(samlOptions.let(IResolvable::unwrap)) + cdkBuilder.samlOptions(samlOptions.let(IResolvable.Companion::unwrap)) } /** @@ -2281,7 +2281,7 @@ public open class CfnDomain( * Dashboards. */ override fun samlOptions(samlOptions: SAMLOptionsProperty) { - cdkBuilder.samlOptions(samlOptions.let(SAMLOptionsProperty::unwrap)) + cdkBuilder.samlOptions(samlOptions.let(SAMLOptionsProperty.Companion::unwrap)) } /** @@ -2713,14 +2713,14 @@ public open class CfnDomain( * @param coldStorageOptions Container for cold storage configuration options. */ override fun coldStorageOptions(coldStorageOptions: IResolvable) { - cdkBuilder.coldStorageOptions(coldStorageOptions.let(IResolvable::unwrap)) + cdkBuilder.coldStorageOptions(coldStorageOptions.let(IResolvable.Companion::unwrap)) } /** * @param coldStorageOptions Container for cold storage configuration options. */ override fun coldStorageOptions(coldStorageOptions: ColdStorageOptionsProperty) { - cdkBuilder.coldStorageOptions(coldStorageOptions.let(ColdStorageOptionsProperty::unwrap)) + cdkBuilder.coldStorageOptions(coldStorageOptions.let(ColdStorageOptionsProperty.Companion::unwrap)) } /** @@ -2766,7 +2766,7 @@ public open class CfnDomain( * . */ override fun dedicatedMasterEnabled(dedicatedMasterEnabled: IResolvable) { - cdkBuilder.dedicatedMasterEnabled(dedicatedMasterEnabled.let(IResolvable::unwrap)) + cdkBuilder.dedicatedMasterEnabled(dedicatedMasterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2818,7 +2818,7 @@ public open class CfnDomain( * . */ override fun multiAzWithStandbyEnabled(multiAzWithStandbyEnabled: IResolvable) { - cdkBuilder.multiAzWithStandbyEnabled(multiAzWithStandbyEnabled.let(IResolvable::unwrap)) + cdkBuilder.multiAzWithStandbyEnabled(multiAzWithStandbyEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2845,7 +2845,7 @@ public open class CfnDomain( * . */ override fun warmEnabled(warmEnabled: IResolvable) { - cdkBuilder.warmEnabled(warmEnabled.let(IResolvable::unwrap)) + cdkBuilder.warmEnabled(warmEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2860,7 +2860,7 @@ public open class CfnDomain( * Only use if `ZoneAwarenessEnabled` is `true` . */ override fun zoneAwarenessConfig(zoneAwarenessConfig: IResolvable) { - cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(IResolvable::unwrap)) + cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -2868,7 +2868,7 @@ public open class CfnDomain( * Only use if `ZoneAwarenessEnabled` is `true` . */ override fun zoneAwarenessConfig(zoneAwarenessConfig: ZoneAwarenessConfigProperty) { - cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(ZoneAwarenessConfigProperty::unwrap)) + cdkBuilder.zoneAwarenessConfig(zoneAwarenessConfig.let(ZoneAwarenessConfigProperty.Companion::unwrap)) } /** @@ -2908,7 +2908,7 @@ public open class CfnDomain( * . */ override fun zoneAwarenessEnabled(zoneAwarenessEnabled: IResolvable) { - cdkBuilder.zoneAwarenessEnabled(zoneAwarenessEnabled.let(IResolvable::unwrap)) + cdkBuilder.zoneAwarenessEnabled(zoneAwarenessEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3189,7 +3189,7 @@ public open class CfnDomain( * . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -3353,7 +3353,7 @@ public open class CfnDomain( * You must enable UltraWarm storage to enable cold storage. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3561,7 +3561,7 @@ public open class CfnDomain( * `CustomEndpointCertificateArn` . */ override fun customEndpointEnabled(customEndpointEnabled: IResolvable) { - cdkBuilder.customEndpointEnabled(customEndpointEnabled.let(IResolvable::unwrap)) + cdkBuilder.customEndpointEnabled(customEndpointEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3581,7 +3581,7 @@ public open class CfnDomain( * . */ override fun enforceHttps(enforceHttps: IResolvable) { - cdkBuilder.enforceHttps(enforceHttps.let(IResolvable::unwrap)) + cdkBuilder.enforceHttps(enforceHttps.let(IResolvable.Companion::unwrap)) } /** @@ -3814,7 +3814,7 @@ public open class CfnDomain( * OpenSearch Service domain. */ override fun ebsEnabled(ebsEnabled: IResolvable) { - cdkBuilder.ebsEnabled(ebsEnabled.let(IResolvable::unwrap)) + cdkBuilder.ebsEnabled(ebsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -4055,7 +4055,7 @@ public open class CfnDomain( * property. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -4335,7 +4335,7 @@ public open class CfnDomain( * Default: `false` . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4674,7 +4674,7 @@ public open class CfnDomain( * . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4804,21 +4804,21 @@ public open class CfnDomain( * @param enabled Specifies whether off-peak window settings are enabled for the domain. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param offPeakWindow Off-peak window settings for the domain. */ override fun offPeakWindow(offPeakWindow: IResolvable) { - cdkBuilder.offPeakWindow(offPeakWindow.let(IResolvable::unwrap)) + cdkBuilder.offPeakWindow(offPeakWindow.let(IResolvable.Companion::unwrap)) } /** * @param offPeakWindow Off-peak window settings for the domain. */ override fun offPeakWindow(offPeakWindow: OffPeakWindowProperty) { - cdkBuilder.offPeakWindow(offPeakWindow.let(OffPeakWindowProperty::unwrap)) + cdkBuilder.offPeakWindow(offPeakWindow.let(OffPeakWindowProperty.Companion::unwrap)) } /** @@ -4935,14 +4935,14 @@ public open class CfnDomain( * @param windowStartTime The desired start time for an off-peak maintenance window. */ override fun windowStartTime(windowStartTime: IResolvable) { - cdkBuilder.windowStartTime(windowStartTime.let(IResolvable::unwrap)) + cdkBuilder.windowStartTime(windowStartTime.let(IResolvable.Companion::unwrap)) } /** * @param windowStartTime The desired start time for an off-peak maintenance window. */ override fun windowStartTime(windowStartTime: WindowStartTimeProperty) { - cdkBuilder.windowStartTime(windowStartTime.let(WindowStartTimeProperty::unwrap)) + cdkBuilder.windowStartTime(windowStartTime.let(WindowStartTimeProperty.Companion::unwrap)) } /** @@ -5147,21 +5147,21 @@ public open class CfnDomain( * @param enabled True to enable SAML authentication for a domain. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param idp The SAML Identity Provider's information. */ override fun idp(idp: IResolvable) { - cdkBuilder.idp(idp.let(IResolvable::unwrap)) + cdkBuilder.idp(idp.let(IResolvable.Companion::unwrap)) } /** * @param idp The SAML Identity Provider's information. */ override fun idp(idp: IdpProperty) { - cdkBuilder.idp(idp.let(IdpProperty::unwrap)) + cdkBuilder.idp(idp.let(IdpProperty.Companion::unwrap)) } /** @@ -5483,7 +5483,7 @@ public open class CfnDomain( * False if you can't cancel your service software update. */ override fun cancellable(cancellable: IResolvable) { - cdkBuilder.cancellable(cancellable.let(IResolvable::unwrap)) + cdkBuilder.cancellable(cancellable.let(IResolvable.Companion::unwrap)) } /** @@ -5520,7 +5520,7 @@ public open class CfnDomain( * False if a service software is automatically updated after the automated update date. */ override fun optionalDeployment(optionalDeployment: IResolvable) { - cdkBuilder.optionalDeployment(optionalDeployment.let(IResolvable::unwrap)) + cdkBuilder.optionalDeployment(optionalDeployment.let(IResolvable.Companion::unwrap)) } /** @@ -5536,7 +5536,7 @@ public open class CfnDomain( * False if you can't update your service software version. */ override fun updateAvailable(updateAvailable: IResolvable) { - cdkBuilder.updateAvailable(updateAvailable.let(IResolvable::unwrap)) + cdkBuilder.updateAvailable(updateAvailable.let(IResolvable.Companion::unwrap)) } /** @@ -5802,7 +5802,7 @@ public open class CfnDomain( * enabled for the domain. */ override fun autoSoftwareUpdateEnabled(autoSoftwareUpdateEnabled: IResolvable) { - cdkBuilder.autoSoftwareUpdateEnabled(autoSoftwareUpdateEnabled.let(IResolvable::unwrap)) + cdkBuilder.autoSoftwareUpdateEnabled(autoSoftwareUpdateEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomainProps.kt index fe64f9fc45..2ff26cccad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CfnDomainProps.kt @@ -784,7 +784,7 @@ public interface CfnDomainProps { * in the OpenSearch Service API reference. */ override fun advancedOptions(advancedOptions: IResolvable) { - cdkBuilder.advancedOptions(advancedOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedOptions(advancedOptions.let(IResolvable.Companion::unwrap)) } /** @@ -809,7 +809,7 @@ public interface CfnDomainProps { * , which requires HTTPS for all traffic to the domain. */ override fun advancedSecurityOptions(advancedSecurityOptions: IResolvable) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(IResolvable.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public interface CfnDomainProps { */ override fun advancedSecurityOptions(advancedSecurityOptions: CfnDomain.AdvancedSecurityOptionsInputProperty) { - cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(CfnDomain.AdvancedSecurityOptionsInputProperty::unwrap)) + cdkBuilder.advancedSecurityOptions(advancedSecurityOptions.let(CfnDomain.AdvancedSecurityOptionsInputProperty.Companion::unwrap)) } /** @@ -850,14 +850,14 @@ public interface CfnDomainProps { * @param clusterConfig Container for the cluster configuration of a domain. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** * @param clusterConfig Container for the cluster configuration of a domain. */ override fun clusterConfig(clusterConfig: CfnDomain.ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(CfnDomain.ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(CfnDomain.ClusterConfigProperty.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public interface CfnDomainProps { * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: IResolvable) { - cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(IResolvable.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public interface CfnDomainProps { * OpenSearch Dashboards. */ override fun cognitoOptions(cognitoOptions: CfnDomain.CognitoOptionsProperty) { - cdkBuilder.cognitoOptions(cognitoOptions.let(CfnDomain.CognitoOptionsProperty::unwrap)) + cdkBuilder.cognitoOptions(cognitoOptions.let(CfnDomain.CognitoOptionsProperty.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public interface CfnDomainProps { * default endpoint. */ override fun domainEndpointOptions(domainEndpointOptions: IResolvable) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(IResolvable.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public interface CfnDomainProps { */ override fun domainEndpointOptions(domainEndpointOptions: CfnDomain.DomainEndpointOptionsProperty) { - cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(CfnDomain.DomainEndpointOptionsProperty::unwrap)) + cdkBuilder.domainEndpointOptions(domainEndpointOptions.let(CfnDomain.DomainEndpointOptionsProperty.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public interface CfnDomainProps { * in the *Amazon OpenSearch Service Developer Guide* . */ override fun ebsOptions(ebsOptions: IResolvable) { - cdkBuilder.ebsOptions(ebsOptions.let(IResolvable::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(IResolvable.Companion::unwrap)) } /** @@ -968,7 +968,7 @@ public interface CfnDomainProps { * in the *Amazon OpenSearch Service Developer Guide* . */ override fun ebsOptions(ebsOptions: CfnDomain.EBSOptionsProperty) { - cdkBuilder.ebsOptions(ebsOptions.let(CfnDomain.EBSOptionsProperty::unwrap)) + cdkBuilder.ebsOptions(ebsOptions.let(CfnDomain.EBSOptionsProperty.Companion::unwrap)) } /** @@ -996,7 +996,7 @@ public interface CfnDomainProps { * property. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: IResolvable) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1013,7 +1013,7 @@ public interface CfnDomainProps { */ override fun encryptionAtRestOptions(encryptionAtRestOptions: CfnDomain.EncryptionAtRestOptionsProperty) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(CfnDomain.EncryptionAtRestOptionsProperty::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(CfnDomain.EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -1074,7 +1074,7 @@ public interface CfnDomainProps { * . */ override fun logPublishingOptions(logPublishingOptions: IResolvable) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1095,7 +1095,7 @@ public interface CfnDomainProps { * Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html) . */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: IResolvable) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1105,7 +1105,7 @@ public interface CfnDomainProps { */ override fun nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions: CfnDomain.NodeToNodeEncryptionOptionsProperty) { - cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(CfnDomain.NodeToNodeEncryptionOptionsProperty::unwrap)) + cdkBuilder.nodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions.let(CfnDomain.NodeToNodeEncryptionOptionsProperty.Companion::unwrap)) } /** @@ -1125,7 +1125,7 @@ public interface CfnDomainProps { * Service can perform mandatory configuration changes on the domain. */ override fun offPeakWindowOptions(offPeakWindowOptions: IResolvable) { - cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(IResolvable::unwrap)) + cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1134,7 +1134,7 @@ public interface CfnDomainProps { */ override fun offPeakWindowOptions(offPeakWindowOptions: CfnDomain.OffPeakWindowOptionsProperty) { - cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(CfnDomain.OffPeakWindowOptionsProperty::unwrap)) + cdkBuilder.offPeakWindowOptions(offPeakWindowOptions.let(CfnDomain.OffPeakWindowOptionsProperty.Companion::unwrap)) } /** @@ -1152,7 +1152,7 @@ public interface CfnDomainProps { * The automated snapshot configuration for the OpenSearch Service domain indexes. */ override fun snapshotOptions(snapshotOptions: IResolvable) { - cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public interface CfnDomainProps { * The automated snapshot configuration for the OpenSearch Service domain indexes. */ override fun snapshotOptions(snapshotOptions: CfnDomain.SnapshotOptionsProperty) { - cdkBuilder.snapshotOptions(snapshotOptions.let(CfnDomain.SnapshotOptionsProperty::unwrap)) + cdkBuilder.snapshotOptions(snapshotOptions.let(CfnDomain.SnapshotOptionsProperty.Companion::unwrap)) } /** @@ -1177,7 +1177,7 @@ public interface CfnDomainProps { * @param softwareUpdateOptions Service software update options for the domain. */ override fun softwareUpdateOptions(softwareUpdateOptions: IResolvable) { - cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(IResolvable::unwrap)) + cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public interface CfnDomainProps { */ override fun softwareUpdateOptions(softwareUpdateOptions: CfnDomain.SoftwareUpdateOptionsProperty) { - cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(CfnDomain.SoftwareUpdateOptionsProperty::unwrap)) + cdkBuilder.softwareUpdateOptions(softwareUpdateOptions.let(CfnDomain.SoftwareUpdateOptionsProperty.Companion::unwrap)) } /** @@ -1202,7 +1202,7 @@ public interface CfnDomainProps { * Service domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1223,7 +1223,7 @@ public interface CfnDomainProps { * from a VPC to a public endpoint. */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public interface CfnDomainProps { * from a VPC to a public endpoint. */ override fun vpcOptions(vpcOptions: CfnDomain.VPCOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(CfnDomain.VPCOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(CfnDomain.VPCOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CognitoOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CognitoOptions.kt index 5f3f69b9ae..d42eadecb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CognitoOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CognitoOptions.kt @@ -93,7 +93,7 @@ public interface CognitoOptions { * It must have the `AmazonESCognitoAccess` policy attached to it. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CustomEndpointOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CustomEndpointOptions.kt index 50cd21123c..eb67e6102c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CustomEndpointOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/CustomEndpointOptions.kt @@ -74,7 +74,7 @@ public interface CustomEndpointOptions { * @param certificate The certificate to use. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -88,7 +88,7 @@ public interface CustomEndpointOptions { * @param hostedZone The hosted zone in Route53 to create the CNAME record in. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.opensearchservice.CustomEndpointOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/Domain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/Domain.kt index d975e8029c..79ba96d9cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/Domain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/Domain.kt @@ -56,8 +56,8 @@ public open class Domain( id: String, props: DomainProps, ) : - this(software.amazon.awscdk.services.opensearchservice.Domain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DomainProps::unwrap)) + this(software.amazon.awscdk.services.opensearchservice.Domain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DomainProps.Companion::unwrap)) ) public constructor( @@ -137,7 +137,8 @@ public open class Domain( * @param identity The principal. */ public override fun grantIndexRead(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexRead(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexRead(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read/write permissions for an index in this domain to an IAM principal (Role/Group/User). @@ -146,7 +147,8 @@ public open class Domain( * @param identity The principal. */ public override fun grantIndexReadWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexReadWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexReadWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for an index in this domain to an IAM principal (Role/Group/User). @@ -155,7 +157,8 @@ public open class Domain( * @param identity The principal. */ public override fun grantIndexWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read permissions for a specific path in this domain to an IAM principal @@ -165,7 +168,7 @@ public open class Domain( * @param identity The principal. */ public override fun grantPathRead(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathRead(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathRead(path, identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read/write permissions for a specific path in this domain to an IAM principal @@ -175,7 +178,8 @@ public open class Domain( * @param identity The principal. */ public override fun grantPathReadWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathReadWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathReadWrite(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for a specific path in this domain to an IAM principal @@ -185,7 +189,7 @@ public open class Domain( * @param identity The principal. */ public override fun grantPathWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathWrite(path, identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read permissions for this domain and its contents to an IAM principal (Role/Group/User). @@ -193,7 +197,7 @@ public open class Domain( * @param identity The principal. */ public override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read/write permissions for this domain and its contents to an IAM principal @@ -202,7 +206,7 @@ public open class Domain( * @param identity The principal. */ public override fun grantReadWrite(identity: IGrantable): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for this domain and its contents to an IAM principal (Role/Group/User). @@ -210,7 +214,7 @@ public open class Domain( * @param identity The principal. */ public override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Master user password if fine grained access control is configured. @@ -234,7 +238,7 @@ public open class Domain( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this domain. @@ -265,7 +269,7 @@ public open class Domain( * @param props */ public override fun metricAutomatedSnapshotFailure(props: MetricOptions): Metric = - unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for automated snapshot failures. @@ -297,7 +301,7 @@ public open class Domain( * @param props */ public override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for CPU utilization. @@ -329,7 +333,7 @@ public open class Domain( * @param props */ public override fun metricClusterIndexWritesBlocked(props: MetricOptions): Metric = - unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the cluster blocking index writes. @@ -361,7 +365,7 @@ public open class Domain( * @param props */ public override fun metricClusterStatusRed(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusRed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusRed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time the cluster status is red. @@ -393,7 +397,7 @@ public open class Domain( * @param props */ public override fun metricClusterStatusYellow(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusYellow(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusYellow(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time the cluster status is yellow. @@ -425,7 +429,7 @@ public open class Domain( * @param props */ public override fun metricFreeStorageSpace(props: MetricOptions): Metric = - unwrap(this).metricFreeStorageSpace(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeStorageSpace(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the storage space of nodes in the cluster. @@ -457,7 +461,7 @@ public open class Domain( * @param props */ public override fun metricIndexingLatency(props: MetricOptions): Metric = - unwrap(this).metricIndexingLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIndexingLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for indexing latency. @@ -489,7 +493,7 @@ public open class Domain( * @param props */ public override fun metricJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for JVM memory pressure. @@ -521,7 +525,7 @@ public open class Domain( * @param props */ public override fun metricKMSKeyError(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for KMS key errors. @@ -553,7 +557,7 @@ public open class Domain( * @param props */ public override fun metricKMSKeyInaccessible(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for KMS key being inaccessible. @@ -585,7 +589,7 @@ public open class Domain( * @param props */ public override fun metricMasterCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for master CPU utilization. @@ -617,7 +621,7 @@ public open class Domain( * @param props */ public override fun metricMasterJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for master JVM memory pressure. @@ -648,7 +652,7 @@ public open class Domain( * @param props */ public override fun metricNodes(props: MetricOptions): Metric = - unwrap(this).metricNodes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNodes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of nodes. @@ -680,7 +684,7 @@ public open class Domain( * @param props */ public override fun metricSearchLatency(props: MetricOptions): Metric = - unwrap(this).metricSearchLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for search latency. @@ -712,7 +716,7 @@ public open class Domain( * @param props */ public override fun metricSearchableDocuments(props: MetricOptions): Metric = - unwrap(this).metricSearchableDocuments(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchableDocuments(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for number of searchable documents. @@ -1251,7 +1255,7 @@ public open class Domain( */ override fun accessPolicies(accessPolicies: List) { - cdkBuilder.accessPolicies(accessPolicies.map(CloudshiftdevAwscdkServicesIamPolicyStatement::unwrap)) + cdkBuilder.accessPolicies(accessPolicies.map(CloudshiftdevAwscdkServicesIamPolicyStatement.Companion::unwrap)) } /** @@ -1302,7 +1306,7 @@ public open class Domain( * @param capacity The cluster capacity configuration for the Amazon OpenSearch Service domain. */ override fun capacity(capacity: CapacityConfig) { - cdkBuilder.capacity(capacity.let(CapacityConfig::unwrap)) + cdkBuilder.capacity(capacity.let(CapacityConfig.Companion::unwrap)) } /** @@ -1327,7 +1331,7 @@ public open class Domain( * authentication for OpenSearch Dashboards. */ override fun cognitoDashboardsAuth(cognitoDashboardsAuth: CognitoOptions) { - cdkBuilder.cognitoDashboardsAuth(cognitoDashboardsAuth.let(CognitoOptions::unwrap)) + cdkBuilder.cognitoDashboardsAuth(cognitoDashboardsAuth.let(CognitoOptions.Companion::unwrap)) } /** @@ -1369,7 +1373,7 @@ public open class Domain( * @param customEndpoint To configure a custom domain configure these options. */ override fun customEndpoint(customEndpoint: CustomEndpointOptions) { - cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions::unwrap)) + cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions.Companion::unwrap)) } /** @@ -1408,7 +1412,7 @@ public open class Domain( * attached to data nodes in the Amazon OpenSearch Service domain. */ override fun ebs(ebs: EbsOptions) { - cdkBuilder.ebs(ebs.let(EbsOptions::unwrap)) + cdkBuilder.ebs(ebs.let(EbsOptions.Companion::unwrap)) } /** @@ -1459,7 +1463,7 @@ public open class Domain( * @param encryptionAtRest Encryption at rest options for the cluster. */ override fun encryptionAtRest(encryptionAtRest: EncryptionAtRestOptions) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions.Companion::unwrap)) } /** @@ -1498,7 +1502,7 @@ public open class Domain( * @param fineGrainedAccessControl Specifies options for fine-grained access control. */ override fun fineGrainedAccessControl(fineGrainedAccessControl: AdvancedSecurityOptions) { - cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions::unwrap)) + cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions.Companion::unwrap)) } /** @@ -1532,7 +1536,7 @@ public open class Domain( * @param ipAddressType Specify either dual stack or IPv4 as your IP address type. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** @@ -1543,7 +1547,7 @@ public open class Domain( * @param logging Configuration log publishing configuration options. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -1605,7 +1609,7 @@ public open class Domain( * (UTC). */ override fun offPeakWindowStart(offPeakWindowStart: WindowStartTime) { - cdkBuilder.offPeakWindowStart(offPeakWindowStart.let(WindowStartTime::unwrap)) + cdkBuilder.offPeakWindowStart(offPeakWindowStart.let(WindowStartTime.Companion::unwrap)) } /** @@ -1633,7 +1637,7 @@ public open class Domain( * @param removalPolicy Policy to apply when the domain is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1648,7 +1652,7 @@ public open class Domain( * for the domain. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1695,7 +1699,7 @@ public open class Domain( * @param tlsSecurityPolicy The minimum TLS version required for traffic to the domain. */ override fun tlsSecurityPolicy(tlsSecurityPolicy: TLSSecurityPolicy) { - cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy::unwrap)) + cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy.Companion::unwrap)) } /** @@ -1725,7 +1729,7 @@ public open class Domain( * @param version The Elasticsearch/OpenSearch version that your domain will leverage. */ override fun version(version: EngineVersion) { - cdkBuilder.version(version.let(EngineVersion::unwrap)) + cdkBuilder.version(version.let(EngineVersion.Companion::unwrap)) } /** @@ -1737,7 +1741,7 @@ public open class Domain( * @param vpc Place the domain inside this VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1756,7 +1760,7 @@ public open class Domain( * @param vpcSubnets The specific vpc subnets the domain will be placed in. */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -1786,7 +1790,7 @@ public open class Domain( * Service domain. */ override fun zoneAwareness(zoneAwareness: ZoneAwarenessConfig) { - cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig::unwrap)) + cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig.Companion::unwrap)) } /** @@ -1812,8 +1816,8 @@ public open class Domain( id: String, attrs: DomainAttributes, ): IDomain = - software.amazon.awscdk.services.opensearchservice.Domain.fromDomainAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DomainAttributes::unwrap)).let(IDomain::wrap) + software.amazon.awscdk.services.opensearchservice.Domain.fromDomainAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DomainAttributes.Companion::unwrap)).let(IDomain::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3d069b497ff5e35048a465bc998136432cf9e92a7a0499ec774570c4479b322c") @@ -1828,7 +1832,7 @@ public open class Domain( id: String, domainEndpoint: String, ): IDomain = - software.amazon.awscdk.services.opensearchservice.Domain.fromDomainEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.opensearchservice.Domain.fromDomainEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, domainEndpoint).let(IDomain::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/DomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/DomainProps.kt index ef645a50e6..92505fb09e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/DomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/DomainProps.kt @@ -638,7 +638,7 @@ public interface DomainProps { * @param accessPolicies Domain access policies. */ override fun accessPolicies(accessPolicies: List) { - cdkBuilder.accessPolicies(accessPolicies.map(PolicyStatement::unwrap)) + cdkBuilder.accessPolicies(accessPolicies.map(PolicyStatement.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public interface DomainProps { * @param capacity The cluster capacity configuration for the Amazon OpenSearch Service domain. */ override fun capacity(capacity: CapacityConfig) { - cdkBuilder.capacity(capacity.let(CapacityConfig::unwrap)) + cdkBuilder.capacity(capacity.let(CapacityConfig.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public interface DomainProps { * authentication for OpenSearch Dashboards. */ override fun cognitoDashboardsAuth(cognitoDashboardsAuth: CognitoOptions) { - cdkBuilder.cognitoDashboardsAuth(cognitoDashboardsAuth.let(CognitoOptions::unwrap)) + cdkBuilder.cognitoDashboardsAuth(cognitoDashboardsAuth.let(CognitoOptions.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public interface DomainProps { * the certificate */ override fun customEndpoint(customEndpoint: CustomEndpointOptions) { - cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions::unwrap)) + cdkBuilder.customEndpoint(customEndpoint.let(CustomEndpointOptions.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public interface DomainProps { * attached to data nodes in the Amazon OpenSearch Service domain. */ override fun ebs(ebs: EbsOptions) { - cdkBuilder.ebs(ebs.let(EbsOptions::unwrap)) + cdkBuilder.ebs(ebs.let(EbsOptions.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public interface DomainProps { * @param encryptionAtRest Encryption at rest options for the cluster. */ override fun encryptionAtRest(encryptionAtRest: EncryptionAtRestOptions) { - cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions::unwrap)) + cdkBuilder.encryptionAtRest(encryptionAtRest.let(EncryptionAtRestOptions.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface DomainProps { * enforced HTTPS. */ override fun fineGrainedAccessControl(fineGrainedAccessControl: AdvancedSecurityOptions) { - cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions::unwrap)) + cdkBuilder.fineGrainedAccessControl(fineGrainedAccessControl.let(AdvancedSecurityOptions.Companion::unwrap)) } /** @@ -817,14 +817,14 @@ public interface DomainProps { * If you set your IP address type to dual stack, you can't change your address type later. */ override fun ipAddressType(ipAddressType: IpAddressType) { - cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType::unwrap)) + cdkBuilder.ipAddressType(ipAddressType.let(IpAddressType.Companion::unwrap)) } /** * @param logging Configuration log publishing configuration options. */ override fun logging(logging: LoggingOptions) { - cdkBuilder.logging(logging.let(LoggingOptions::unwrap)) + cdkBuilder.logging(logging.let(LoggingOptions.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public interface DomainProps { * be set to 9:00 A.M. */ override fun offPeakWindowStart(offPeakWindowStart: WindowStartTime) { - cdkBuilder.offPeakWindowStart(offPeakWindowStart.let(WindowStartTime::unwrap)) + cdkBuilder.offPeakWindowStart(offPeakWindowStart.let(WindowStartTime.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public interface DomainProps { * @param removalPolicy Policy to apply when the domain is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public interface DomainProps { * Only used if `vpc` is specified. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -923,7 +923,7 @@ public interface DomainProps { * @param tlsSecurityPolicy The minimum TLS version required for traffic to the domain. */ override fun tlsSecurityPolicy(tlsSecurityPolicy: TLSSecurityPolicy) { - cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy::unwrap)) + cdkBuilder.tlsSecurityPolicy(tlsSecurityPolicy.let(TLSSecurityPolicy.Companion::unwrap)) } /** @@ -946,14 +946,14 @@ public interface DomainProps { * @param version The Elasticsearch/OpenSearch version that your domain will leverage. */ override fun version(version: EngineVersion) { - cdkBuilder.version(version.let(EngineVersion::unwrap)) + cdkBuilder.version(version.let(EngineVersion.Companion::unwrap)) } /** * @param vpc Place the domain inside this VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -966,7 +966,7 @@ public interface DomainProps { * Only used if `vpc` is specified. */ override fun vpcSubnets(vpcSubnets: List) { - cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.map(SubnetSelection.Companion::unwrap)) } /** @@ -986,7 +986,7 @@ public interface DomainProps { * Service domain. */ override fun zoneAwareness(zoneAwareness: ZoneAwarenessConfig) { - cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig::unwrap)) + cdkBuilder.zoneAwareness(zoneAwareness.let(ZoneAwarenessConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EbsOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EbsOptions.kt index d404206064..56ca79c0c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EbsOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EbsOptions.kt @@ -174,7 +174,7 @@ public interface EbsOptions { * as standard, gp2, io1. */ override fun volumeType(volumeType: EbsDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsDeviceVolumeType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.opensearchservice.EbsOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EncryptionAtRestOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EncryptionAtRestOptions.kt index d52f3bce10..9f2f6bc44f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EncryptionAtRestOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/EncryptionAtRestOptions.kt @@ -85,7 +85,7 @@ public interface EncryptionAtRestOptions { * @param kmsKey Supply if using KMS key for encryption at rest. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.opensearchservice.EncryptionAtRestOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/IDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/IDomain.kt index a12a72fb68..698422e290 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/IDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/IDomain.kt @@ -593,7 +593,7 @@ public interface IDomain : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -635,7 +635,8 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantIndexRead(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexRead(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexRead(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read/write permissions for an index in this domain to an IAM principal @@ -645,7 +646,8 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantIndexReadWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexReadWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexReadWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for an index in this domain to an IAM principal (Role/Group/User). @@ -654,7 +656,8 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantIndexWrite(index: String, identity: IGrantable): Grant = - unwrap(this).grantIndexWrite(index, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantIndexWrite(index, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read permissions for a specific path in this domain to an IAM principal @@ -664,7 +667,8 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantPathRead(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathRead(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathRead(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read/write permissions for a specific path in this domain to an IAM principal @@ -674,7 +678,8 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantPathReadWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathReadWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathReadWrite(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for a specific path in this domain to an IAM principal @@ -684,7 +689,8 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantPathWrite(path: String, identity: IGrantable): Grant = - unwrap(this).grantPathWrite(path, identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPathWrite(path, + identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read permissions for this domain and its contents to an IAM principal @@ -693,7 +699,7 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read/write permissions for this domain and its contents to an IAM principal @@ -702,7 +708,7 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantReadWrite(identity: IGrantable): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions for this domain and its contents to an IAM principal @@ -711,7 +717,7 @@ public interface IDomain : IResource { * @param identity The principal. */ override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this domain. @@ -729,7 +735,8 @@ public interface IDomain : IResource { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this domain. @@ -760,7 +767,7 @@ public interface IDomain : IResource { * @param props */ override fun metricAutomatedSnapshotFailure(props: MetricOptions): Metric = - unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricAutomatedSnapshotFailure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for automated snapshot failures. @@ -792,7 +799,7 @@ public interface IDomain : IResource { * @param props */ override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for CPU utilization. @@ -824,7 +831,7 @@ public interface IDomain : IResource { * @param props */ override fun metricClusterIndexWritesBlocked(props: MetricOptions): Metric = - unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterIndexWritesBlocked(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the cluster blocking index writes. @@ -856,7 +863,7 @@ public interface IDomain : IResource { * @param props */ override fun metricClusterStatusRed(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusRed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusRed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time the cluster status is red. @@ -888,7 +895,7 @@ public interface IDomain : IResource { * @param props */ override fun metricClusterStatusYellow(props: MetricOptions): Metric = - unwrap(this).metricClusterStatusYellow(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricClusterStatusYellow(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the time the cluster status is yellow. @@ -920,7 +927,7 @@ public interface IDomain : IResource { * @param props */ override fun metricFreeStorageSpace(props: MetricOptions): Metric = - unwrap(this).metricFreeStorageSpace(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeStorageSpace(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the storage space of nodes in the cluster. @@ -952,7 +959,7 @@ public interface IDomain : IResource { * @param props */ override fun metricIndexingLatency(props: MetricOptions): Metric = - unwrap(this).metricIndexingLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricIndexingLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for indexing latency. @@ -984,7 +991,7 @@ public interface IDomain : IResource { * @param props */ override fun metricJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for JVM memory pressure. @@ -1015,7 +1022,7 @@ public interface IDomain : IResource { * @param props */ override fun metricKMSKeyError(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyError(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyError(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for KMS key errors. @@ -1047,7 +1054,7 @@ public interface IDomain : IResource { * @param props */ override fun metricKMSKeyInaccessible(props: MetricOptions): Metric = - unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricKMSKeyInaccessible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for KMS key being inaccessible. @@ -1079,7 +1086,7 @@ public interface IDomain : IResource { * @param props */ override fun metricMasterCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for master CPU utilization. @@ -1111,7 +1118,7 @@ public interface IDomain : IResource { * @param props */ override fun metricMasterJVMMemoryPressure(props: MetricOptions): Metric = - unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricMasterJVMMemoryPressure(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for master JVM memory pressure. @@ -1142,7 +1149,7 @@ public interface IDomain : IResource { * @param props */ override fun metricNodes(props: MetricOptions): Metric = - unwrap(this).metricNodes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNodes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of nodes. @@ -1174,7 +1181,7 @@ public interface IDomain : IResource { * @param props */ override fun metricSearchLatency(props: MetricOptions): Metric = - unwrap(this).metricSearchLatency(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchLatency(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for search latency. @@ -1206,7 +1213,7 @@ public interface IDomain : IResource { * @param props */ override fun metricSearchableDocuments(props: MetricOptions): Metric = - unwrap(this).metricSearchableDocuments(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSearchableDocuments(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for number of searchable documents. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/LoggingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/LoggingOptions.kt index a2912be24d..a29d340422 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/LoggingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opensearchservice/LoggingOptions.kt @@ -178,7 +178,7 @@ public interface LoggingOptions { * @param appLogGroup Log Amazon OpenSearch Service application logs to this log group. */ override fun appLogGroup(appLogGroup: ILogGroup) { - cdkBuilder.appLogGroup(appLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.appLogGroup(appLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface LoggingOptions { * @param auditLogGroup Log Amazon OpenSearch Service audit logs to this log group. */ override fun auditLogGroup(auditLogGroup: ILogGroup) { - cdkBuilder.auditLogGroup(auditLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.auditLogGroup(auditLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface LoggingOptions { * @param slowIndexLogGroup Log slow indices to this log group. */ override fun slowIndexLogGroup(slowIndexLogGroup: ILogGroup) { - cdkBuilder.slowIndexLogGroup(slowIndexLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.slowIndexLogGroup(slowIndexLogGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface LoggingOptions { * @param slowSearchLogGroup Log slow searches to this log group. */ override fun slowSearchLogGroup(slowSearchLogGroup: ILogGroup) { - cdkBuilder.slowSearchLogGroup(slowSearchLogGroup.let(ILogGroup::unwrap)) + cdkBuilder.slowSearchLogGroup(slowSearchLogGroup.let(ILogGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.opensearchservice.LoggingOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnApp.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnApp.kt index 6748caa4d3..8b9eb0b58f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnApp.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnApp.kt @@ -76,8 +76,8 @@ public open class CfnApp( id: String, props: CfnAppProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnApp(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnApp(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppProps.Companion::unwrap)) ) public constructor( @@ -96,14 +96,14 @@ public open class CfnApp( * A `Source` object that specifies the app repository. */ public open fun appSource(`value`: IResolvable) { - unwrap(this).setAppSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setAppSource(`value`.let(IResolvable.Companion::unwrap)) } /** * A `Source` object that specifies the app repository. */ public open fun appSource(`value`: SourceProperty) { - unwrap(this).setAppSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setAppSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnApp( * One or more user-defined key/value pairs to be added to the stack attributes. */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnApp( * The app's data source. */ public open fun dataSources(`value`: IResolvable) { - unwrap(this).setDataSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnApp( * Whether to enable SSL for the app. */ public open fun enableSsl(`value`: IResolvable) { - unwrap(this).setEnableSsl(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableSsl(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnApp( * with the app. */ public open fun environment(`value`: IResolvable) { - unwrap(this).setEnvironment(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnvironment(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnApp( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -280,14 +280,14 @@ public open class CfnApp( * An `SslConfiguration` object with the SSL configuration. */ public open fun sslConfiguration(`value`: IResolvable) { - unwrap(this).setSslConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSslConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * An `SslConfiguration` object with the SSL configuration. */ public open fun sslConfiguration(`value`: SslConfigurationProperty) { - unwrap(this).setSslConfiguration(`value`.let(SslConfigurationProperty::unwrap)) + unwrap(this).setSslConfiguration(`value`.let(SslConfigurationProperty.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public open class CfnApp( * @param appSource A `Source` object that specifies the app repository. */ override fun appSource(appSource: IResolvable) { - cdkBuilder.appSource(appSource.let(IResolvable::unwrap)) + cdkBuilder.appSource(appSource.let(IResolvable.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class CfnApp( * @param appSource A `Source` object that specifies the app repository. */ override fun appSource(appSource: SourceProperty) { - cdkBuilder.appSource(appSource.let(SourceProperty::unwrap)) + cdkBuilder.appSource(appSource.let(SourceProperty.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class CfnApp( * attributes. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public open class CfnApp( * @param dataSources The app's data source. */ override fun dataSources(dataSources: IResolvable) { - cdkBuilder.dataSources(dataSources.let(IResolvable::unwrap)) + cdkBuilder.dataSources(dataSources.let(IResolvable.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public open class CfnApp( * @param enableSsl Whether to enable SSL for the app. */ override fun enableSsl(enableSsl: IResolvable) { - cdkBuilder.enableSsl(enableSsl.let(IResolvable::unwrap)) + cdkBuilder.enableSsl(enableSsl.let(IResolvable.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnApp( * variables to be associated with the app. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public open class CfnApp( * @param sslConfiguration An `SslConfiguration` object with the SSL configuration. */ override fun sslConfiguration(sslConfiguration: IResolvable) { - cdkBuilder.sslConfiguration(sslConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sslConfiguration(sslConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnApp( * @param sslConfiguration An `SslConfiguration` object with the SSL configuration. */ override fun sslConfiguration(sslConfiguration: SslConfigurationProperty) { - cdkBuilder.sslConfiguration(sslConfiguration.let(SslConfigurationProperty::unwrap)) + cdkBuilder.sslConfiguration(sslConfiguration.let(SslConfigurationProperty.Companion::unwrap)) } /** @@ -1147,7 +1147,7 @@ public open class CfnApp( * `*****FILTERED*****` instead of the actual value. The default value for `Secure` is `false` . */ override fun secure(secure: IResolvable) { - cdkBuilder.secure(secure.let(IResolvable::unwrap)) + cdkBuilder.secure(secure.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnAppProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnAppProps.kt index cd16354155..9bd6f1d719 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnAppProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnAppProps.kt @@ -355,14 +355,14 @@ public interface CfnAppProps { * @param appSource A `Source` object that specifies the app repository. */ override fun appSource(appSource: IResolvable) { - cdkBuilder.appSource(appSource.let(IResolvable::unwrap)) + cdkBuilder.appSource(appSource.let(IResolvable.Companion::unwrap)) } /** * @param appSource A `Source` object that specifies the app repository. */ override fun appSource(appSource: CfnApp.SourceProperty) { - cdkBuilder.appSource(appSource.let(CfnApp.SourceProperty::unwrap)) + cdkBuilder.appSource(appSource.let(CfnApp.SourceProperty.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnAppProps { * attributes. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface CfnAppProps { * @param dataSources The app's data source. */ override fun dataSources(dataSources: IResolvable) { - cdkBuilder.dataSources(dataSources.let(IResolvable::unwrap)) + cdkBuilder.dataSources(dataSources.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface CfnAppProps { * @param enableSsl Whether to enable SSL for the app. */ override fun enableSsl(enableSsl: IResolvable) { - cdkBuilder.enableSsl(enableSsl.let(IResolvable::unwrap)) + cdkBuilder.enableSsl(enableSsl.let(IResolvable.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public interface CfnAppProps { * version. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -522,14 +522,14 @@ public interface CfnAppProps { * @param sslConfiguration An `SslConfiguration` object with the SSL configuration. */ override fun sslConfiguration(sslConfiguration: IResolvable) { - cdkBuilder.sslConfiguration(sslConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sslConfiguration(sslConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sslConfiguration An `SslConfiguration` object with the SSL configuration. */ override fun sslConfiguration(sslConfiguration: CfnApp.SslConfigurationProperty) { - cdkBuilder.sslConfiguration(sslConfiguration.let(CfnApp.SslConfigurationProperty::unwrap)) + cdkBuilder.sslConfiguration(sslConfiguration.let(CfnApp.SslConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnElasticLoadBalancerAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnElasticLoadBalancerAttachment.kt index e9e7ccb327..0184360823 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnElasticLoadBalancerAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnElasticLoadBalancerAttachment.kt @@ -37,8 +37,8 @@ public open class CfnElasticLoadBalancerAttachment( id: String, props: CfnElasticLoadBalancerAttachmentProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnElasticLoadBalancerAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnElasticLoadBalancerAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnElasticLoadBalancerAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnElasticLoadBalancerAttachmentProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class CfnElasticLoadBalancerAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstance.kt index b9df34eec3..4150b64b0f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstance.kt @@ -91,8 +91,8 @@ public open class CfnInstance( id: String, props: CfnInstanceProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProps.Companion::unwrap)) ) public constructor( @@ -209,7 +209,7 @@ public open class CfnInstance( * An array of `BlockDeviceMapping` objects that specify the instance's block devices. */ public open fun blockDeviceMappings(`value`: IResolvable) { - unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlockDeviceMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnInstance( * Whether to create an Amazon EBS-optimized instance. */ public open fun ebsOptimized(`value`: IResolvable) { - unwrap(this).setEbsOptimized(`value`.let(IResolvable::unwrap)) + unwrap(this).setEbsOptimized(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class CfnInstance( * Whether to install operating system and package updates when the instance boots. */ public open fun installUpdatesOnBoot(`value`: IResolvable) { - unwrap(this).setInstallUpdatesOnBoot(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstallUpdatesOnBoot(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -425,14 +425,14 @@ public open class CfnInstance( * The time-based scaling configuration for the instance. */ public open fun timeBasedAutoScaling(`value`: IResolvable) { - unwrap(this).setTimeBasedAutoScaling(`value`.let(IResolvable::unwrap)) + unwrap(this).setTimeBasedAutoScaling(`value`.let(IResolvable.Companion::unwrap)) } /** * The time-based scaling configuration for the instance. */ public open fun timeBasedAutoScaling(`value`: TimeBasedAutoScalingProperty) { - unwrap(this).setTimeBasedAutoScaling(`value`.let(TimeBasedAutoScalingProperty::unwrap)) + unwrap(this).setTimeBasedAutoScaling(`value`.let(TimeBasedAutoScalingProperty.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public open class CfnInstance( * instance's block devices. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -991,7 +991,7 @@ public open class CfnInstance( * @param ebsOptimized Whether to create an Amazon EBS-optimized instance. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class CfnInstance( * instance boots. */ override fun installUpdatesOnBoot(installUpdatesOnBoot: IResolvable) { - cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable::unwrap)) + cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable.Companion::unwrap)) } /** @@ -1214,7 +1214,7 @@ public open class CfnInstance( * @param timeBasedAutoScaling The time-based scaling configuration for the instance. */ override fun timeBasedAutoScaling(timeBasedAutoScaling: IResolvable) { - cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(IResolvable.Companion::unwrap)) } /** @@ -1224,7 +1224,7 @@ public open class CfnInstance( * @param timeBasedAutoScaling The time-based scaling configuration for the instance. */ override fun timeBasedAutoScaling(timeBasedAutoScaling: TimeBasedAutoScalingProperty) { - cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(TimeBasedAutoScalingProperty::unwrap)) + cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(TimeBasedAutoScalingProperty.Companion::unwrap)) } /** @@ -1429,7 +1429,7 @@ public open class CfnInstance( * You can specify either the `VirtualName` or `Ebs` , but not both. */ override fun ebs(ebs: IResolvable) { - cdkBuilder.ebs(ebs.let(IResolvable::unwrap)) + cdkBuilder.ebs(ebs.let(IResolvable.Companion::unwrap)) } /** @@ -1438,7 +1438,7 @@ public open class CfnInstance( * You can specify either the `VirtualName` or `Ebs` , but not both. */ override fun ebs(ebs: EbsBlockDeviceProperty) { - cdkBuilder.ebs(ebs.let(EbsBlockDeviceProperty::unwrap)) + cdkBuilder.ebs(ebs.let(EbsBlockDeviceProperty.Companion::unwrap)) } /** @@ -1669,7 +1669,7 @@ public open class CfnInstance( * @param deleteOnTermination Whether the volume is deleted on instance termination. */ override fun deleteOnTermination(deleteOnTermination: IResolvable) { - cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable::unwrap)) + cdkBuilder.deleteOnTermination(deleteOnTermination.let(IResolvable.Companion::unwrap)) } /** @@ -1957,7 +1957,7 @@ public open class CfnInstance( * @param friday The schedule for Friday. */ override fun friday(friday: IResolvable) { - cdkBuilder.friday(friday.let(IResolvable::unwrap)) + cdkBuilder.friday(friday.let(IResolvable.Companion::unwrap)) } /** @@ -1971,7 +1971,7 @@ public open class CfnInstance( * @param monday The schedule for Monday. */ override fun monday(monday: IResolvable) { - cdkBuilder.monday(monday.let(IResolvable::unwrap)) + cdkBuilder.monday(monday.let(IResolvable.Companion::unwrap)) } /** @@ -1985,7 +1985,7 @@ public open class CfnInstance( * @param saturday The schedule for Saturday. */ override fun saturday(saturday: IResolvable) { - cdkBuilder.saturday(saturday.let(IResolvable::unwrap)) + cdkBuilder.saturday(saturday.let(IResolvable.Companion::unwrap)) } /** @@ -1999,7 +1999,7 @@ public open class CfnInstance( * @param sunday The schedule for Sunday. */ override fun sunday(sunday: IResolvable) { - cdkBuilder.sunday(sunday.let(IResolvable::unwrap)) + cdkBuilder.sunday(sunday.let(IResolvable.Companion::unwrap)) } /** @@ -2013,7 +2013,7 @@ public open class CfnInstance( * @param thursday The schedule for Thursday. */ override fun thursday(thursday: IResolvable) { - cdkBuilder.thursday(thursday.let(IResolvable::unwrap)) + cdkBuilder.thursday(thursday.let(IResolvable.Companion::unwrap)) } /** @@ -2027,7 +2027,7 @@ public open class CfnInstance( * @param tuesday The schedule for Tuesday. */ override fun tuesday(tuesday: IResolvable) { - cdkBuilder.tuesday(tuesday.let(IResolvable::unwrap)) + cdkBuilder.tuesday(tuesday.let(IResolvable.Companion::unwrap)) } /** @@ -2041,7 +2041,7 @@ public open class CfnInstance( * @param wednesday The schedule for Wednesday. */ override fun wednesday(wednesday: IResolvable) { - cdkBuilder.wednesday(wednesday.let(IResolvable::unwrap)) + cdkBuilder.wednesday(wednesday.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstanceProps.kt index 1b8098ee79..f897bfb1be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnInstanceProps.kt @@ -643,7 +643,7 @@ public interface CfnInstanceProps { * . Note that block device mappings are not supported for custom AMIs. */ override fun blockDeviceMappings(blockDeviceMappings: IResolvable) { - cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable::unwrap)) + cdkBuilder.blockDeviceMappings(blockDeviceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -678,7 +678,7 @@ public interface CfnInstanceProps { * @param ebsOptimized Whether to create an Amazon EBS-optimized instance. */ override fun ebsOptimized(ebsOptimized: IResolvable) { - cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable::unwrap)) + cdkBuilder.ebsOptimized(ebsOptimized.let(IResolvable.Companion::unwrap)) } /** @@ -732,7 +732,7 @@ public interface CfnInstanceProps { * the latest security updates. */ override fun installUpdatesOnBoot(installUpdatesOnBoot: IResolvable) { - cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable::unwrap)) + cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable.Companion::unwrap)) } /** @@ -842,7 +842,7 @@ public interface CfnInstanceProps { * @param timeBasedAutoScaling The time-based scaling configuration for the instance. */ override fun timeBasedAutoScaling(timeBasedAutoScaling: IResolvable) { - cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(IResolvable.Companion::unwrap)) } /** @@ -850,7 +850,7 @@ public interface CfnInstanceProps { */ override fun timeBasedAutoScaling(timeBasedAutoScaling: CfnInstance.TimeBasedAutoScalingProperty) { - cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(CfnInstance.TimeBasedAutoScalingProperty::unwrap)) + cdkBuilder.timeBasedAutoScaling(timeBasedAutoScaling.let(CfnInstance.TimeBasedAutoScalingProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayer.kt index f0f41028e8..9f70401fc2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayer.kt @@ -108,8 +108,8 @@ public open class CfnLayer( id: String, props: CfnLayerProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnLayer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLayerProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnLayer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLayerProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CfnLayer( * One or more user-defined key-value pairs to be added to the stack attributes. */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnLayer( * Layer](https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html) . */ public open fun autoAssignElasticIps(`value`: IResolvable) { - unwrap(this).setAutoAssignElasticIps(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoAssignElasticIps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnLayer( * the layer's instances. */ public open fun autoAssignPublicIps(`value`: IResolvable) { - unwrap(this).setAutoAssignPublicIps(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoAssignPublicIps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -228,14 +228,14 @@ public open class CfnLayer( * A `LayerCustomRecipes` object that specifies the layer custom recipes. */ public open fun customRecipes(`value`: IResolvable) { - unwrap(this).setCustomRecipes(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomRecipes(`value`.let(IResolvable.Companion::unwrap)) } /** * A `LayerCustomRecipes` object that specifies the layer custom recipes. */ public open fun customRecipes(`value`: RecipesProperty) { - unwrap(this).setCustomRecipes(`value`.let(RecipesProperty::unwrap)) + unwrap(this).setCustomRecipes(`value`.let(RecipesProperty.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnLayer( * Whether to disable auto healing for the layer. */ public open fun enableAutoHealing(`value`: IResolvable) { - unwrap(this).setEnableAutoHealing(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableAutoHealing(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class CfnLayer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CfnLayer( * Whether to install operating system and package updates when the instance boots. */ public open fun installUpdatesOnBoot(`value`: IResolvable) { - unwrap(this).setInstallUpdatesOnBoot(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstallUpdatesOnBoot(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnLayer( * specify an execution timeout and enable or disable Elastic Load Balancer connection draining. */ public open fun lifecycleEventConfiguration(`value`: IResolvable) { - unwrap(this).setLifecycleEventConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecycleEventConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnLayer( * specify an execution timeout and enable or disable Elastic Load Balancer connection draining. */ public open fun lifecycleEventConfiguration(`value`: LifecycleEventConfigurationProperty) { - unwrap(this).setLifecycleEventConfiguration(`value`.let(LifecycleEventConfigurationProperty::unwrap)) + unwrap(this).setLifecycleEventConfiguration(`value`.let(LifecycleEventConfigurationProperty.Companion::unwrap)) } /** @@ -354,14 +354,14 @@ public open class CfnLayer( * The load-based scaling configuration for the AWS OpsWorks layer. */ public open fun loadBasedAutoScaling(`value`: IResolvable) { - unwrap(this).setLoadBasedAutoScaling(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoadBasedAutoScaling(`value`.let(IResolvable.Companion::unwrap)) } /** * The load-based scaling configuration for the AWS OpsWorks layer. */ public open fun loadBasedAutoScaling(`value`: LoadBasedAutoScalingProperty) { - unwrap(this).setLoadBasedAutoScaling(`value`.let(LoadBasedAutoScalingProperty::unwrap)) + unwrap(this).setLoadBasedAutoScaling(`value`.let(LoadBasedAutoScalingProperty.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public open class CfnLayer( * Specifies one or more sets of tags (key–value pairs) to associate with this AWS OpsWorks layer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnLayer( * Whether to use Amazon EBS-optimized instances. */ public open fun useEbsOptimizedInstances(`value`: IResolvable) { - unwrap(this).setUseEbsOptimizedInstances(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseEbsOptimizedInstances(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnLayer( * A `VolumeConfigurations` object that describes the layer's Amazon EBS volumes. */ public open fun volumeConfigurations(`value`: IResolvable) { - unwrap(this).setVolumeConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setVolumeConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -920,7 +920,7 @@ public open class CfnLayer( * attributes. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -965,7 +965,7 @@ public open class CfnLayer( * Layer](https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html) . */ override fun autoAssignElasticIps(autoAssignElasticIps: IResolvable) { - cdkBuilder.autoAssignElasticIps(autoAssignElasticIps.let(IResolvable::unwrap)) + cdkBuilder.autoAssignElasticIps(autoAssignElasticIps.let(IResolvable.Companion::unwrap)) } /** @@ -995,7 +995,7 @@ public open class CfnLayer( * assign a public IP address to the layer's instances. */ override fun autoAssignPublicIps(autoAssignPublicIps: IResolvable) { - cdkBuilder.autoAssignPublicIps(autoAssignPublicIps.let(IResolvable::unwrap)) + cdkBuilder.autoAssignPublicIps(autoAssignPublicIps.let(IResolvable.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class CfnLayer( * @param customRecipes A `LayerCustomRecipes` object that specifies the layer custom recipes. */ override fun customRecipes(customRecipes: IResolvable) { - cdkBuilder.customRecipes(customRecipes.let(IResolvable::unwrap)) + cdkBuilder.customRecipes(customRecipes.let(IResolvable.Companion::unwrap)) } /** @@ -1045,7 +1045,7 @@ public open class CfnLayer( * @param customRecipes A `LayerCustomRecipes` object that specifies the layer custom recipes. */ override fun customRecipes(customRecipes: RecipesProperty) { - cdkBuilder.customRecipes(customRecipes.let(RecipesProperty::unwrap)) + cdkBuilder.customRecipes(customRecipes.let(RecipesProperty.Companion::unwrap)) } /** @@ -1095,7 +1095,7 @@ public open class CfnLayer( * @param enableAutoHealing Whether to disable auto healing for the layer. */ override fun enableAutoHealing(enableAutoHealing: IResolvable) { - cdkBuilder.enableAutoHealing(enableAutoHealing.let(IResolvable::unwrap)) + cdkBuilder.enableAutoHealing(enableAutoHealing.let(IResolvable.Companion::unwrap)) } /** @@ -1137,7 +1137,7 @@ public open class CfnLayer( * instance boots. */ override fun installUpdatesOnBoot(installUpdatesOnBoot: IResolvable) { - cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable::unwrap)) + cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable.Companion::unwrap)) } /** @@ -1150,7 +1150,7 @@ public open class CfnLayer( * Balancer connection draining. */ override fun lifecycleEventConfiguration(lifecycleEventConfiguration: IResolvable) { - cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1164,7 +1164,7 @@ public open class CfnLayer( */ override fun lifecycleEventConfiguration(lifecycleEventConfiguration: LifecycleEventConfigurationProperty) { - cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(LifecycleEventConfigurationProperty::unwrap)) + cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(LifecycleEventConfigurationProperty.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public open class CfnLayer( * @param loadBasedAutoScaling The load-based scaling configuration for the AWS OpsWorks layer. */ override fun loadBasedAutoScaling(loadBasedAutoScaling: IResolvable) { - cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(IResolvable.Companion::unwrap)) } /** @@ -1200,7 +1200,7 @@ public open class CfnLayer( * @param loadBasedAutoScaling The load-based scaling configuration for the AWS OpsWorks layer. */ override fun loadBasedAutoScaling(loadBasedAutoScaling: LoadBasedAutoScalingProperty) { - cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(LoadBasedAutoScalingProperty::unwrap)) + cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(LoadBasedAutoScalingProperty.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public open class CfnLayer( * OpsWorks layer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1330,7 +1330,7 @@ public open class CfnLayer( * @param useEbsOptimizedInstances Whether to use Amazon EBS-optimized instances. */ override fun useEbsOptimizedInstances(useEbsOptimizedInstances: IResolvable) { - cdkBuilder.useEbsOptimizedInstances(useEbsOptimizedInstances.let(IResolvable::unwrap)) + cdkBuilder.useEbsOptimizedInstances(useEbsOptimizedInstances.let(IResolvable.Companion::unwrap)) } /** @@ -1341,7 +1341,7 @@ public open class CfnLayer( * EBS volumes. */ override fun volumeConfigurations(volumeConfigurations: IResolvable) { - cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1724,7 +1724,7 @@ public open class CfnLayer( * @param shutdownEventConfiguration The Shutdown event configuration. */ override fun shutdownEventConfiguration(shutdownEventConfiguration: IResolvable) { - cdkBuilder.shutdownEventConfiguration(shutdownEventConfiguration.let(IResolvable::unwrap)) + cdkBuilder.shutdownEventConfiguration(shutdownEventConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1732,7 +1732,7 @@ public open class CfnLayer( */ override fun shutdownEventConfiguration(shutdownEventConfiguration: ShutdownEventConfigurationProperty) { - cdkBuilder.shutdownEventConfiguration(shutdownEventConfiguration.let(ShutdownEventConfigurationProperty::unwrap)) + cdkBuilder.shutdownEventConfiguration(shutdownEventConfiguration.let(ShutdownEventConfigurationProperty.Companion::unwrap)) } /** @@ -1904,7 +1904,7 @@ public open class CfnLayer( * configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances. */ override fun downScaling(downScaling: IResolvable) { - cdkBuilder.downScaling(downScaling.let(IResolvable::unwrap)) + cdkBuilder.downScaling(downScaling.let(IResolvable.Companion::unwrap)) } /** @@ -1912,7 +1912,7 @@ public open class CfnLayer( * configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances. */ override fun downScaling(downScaling: AutoScalingThresholdsProperty) { - cdkBuilder.downScaling(downScaling.let(AutoScalingThresholdsProperty::unwrap)) + cdkBuilder.downScaling(downScaling.let(AutoScalingThresholdsProperty.Companion::unwrap)) } /** @@ -1935,7 +1935,7 @@ public open class CfnLayer( * @param enable Whether load-based auto scaling is enabled for the layer. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** @@ -1944,7 +1944,7 @@ public open class CfnLayer( * instances. */ override fun upScaling(upScaling: IResolvable) { - cdkBuilder.upScaling(upScaling.let(IResolvable::unwrap)) + cdkBuilder.upScaling(upScaling.let(IResolvable.Companion::unwrap)) } /** @@ -1953,7 +1953,7 @@ public open class CfnLayer( * instances. */ override fun upScaling(upScaling: AutoScalingThresholdsProperty) { - cdkBuilder.upScaling(upScaling.let(AutoScalingThresholdsProperty::unwrap)) + cdkBuilder.upScaling(upScaling.let(AutoScalingThresholdsProperty.Companion::unwrap)) } /** @@ -2338,7 +2338,7 @@ public open class CfnLayer( * Draining](https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain) */ override fun delayUntilElbConnectionsDrained(delayUntilElbConnectionsDrained: IResolvable) { - cdkBuilder.delayUntilElbConnectionsDrained(delayUntilElbConnectionsDrained.let(IResolvable::unwrap)) + cdkBuilder.delayUntilElbConnectionsDrained(delayUntilElbConnectionsDrained.let(IResolvable.Companion::unwrap)) } /** @@ -2574,7 +2574,7 @@ public open class CfnLayer( * Encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) . */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayerProps.kt index 0aa8da215d..e5943e848f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnLayerProps.kt @@ -539,7 +539,7 @@ public interface CfnLayerProps { * To create a cluster layer, set the `EcsClusterArn` attribute to the cluster's ARN. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface CfnLayerProps { * Layer](https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html) . */ override fun autoAssignElasticIps(autoAssignElasticIps: IResolvable) { - cdkBuilder.autoAssignElasticIps(autoAssignElasticIps.let(IResolvable::unwrap)) + cdkBuilder.autoAssignElasticIps(autoAssignElasticIps.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public interface CfnLayerProps { * Layer](https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html) . */ override fun autoAssignPublicIps(autoAssignPublicIps: IResolvable) { - cdkBuilder.autoAssignPublicIps(autoAssignPublicIps.let(IResolvable::unwrap)) + cdkBuilder.autoAssignPublicIps(autoAssignPublicIps.let(IResolvable.Companion::unwrap)) } /** @@ -616,14 +616,14 @@ public interface CfnLayerProps { * @param customRecipes A `LayerCustomRecipes` object that specifies the layer custom recipes. */ override fun customRecipes(customRecipes: IResolvable) { - cdkBuilder.customRecipes(customRecipes.let(IResolvable::unwrap)) + cdkBuilder.customRecipes(customRecipes.let(IResolvable.Companion::unwrap)) } /** * @param customRecipes A `LayerCustomRecipes` object that specifies the layer custom recipes. */ override fun customRecipes(customRecipes: CfnLayer.RecipesProperty) { - cdkBuilder.customRecipes(customRecipes.let(CfnLayer.RecipesProperty::unwrap)) + cdkBuilder.customRecipes(customRecipes.let(CfnLayer.RecipesProperty.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface CfnLayerProps { * @param enableAutoHealing Whether to disable auto healing for the layer. */ override fun enableAutoHealing(enableAutoHealing: IResolvable) { - cdkBuilder.enableAutoHealing(enableAutoHealing.let(IResolvable::unwrap)) + cdkBuilder.enableAutoHealing(enableAutoHealing.let(IResolvable.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public interface CfnLayerProps { * the default value of `true` . */ override fun installUpdatesOnBoot(installUpdatesOnBoot: IResolvable) { - cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable::unwrap)) + cdkBuilder.installUpdatesOnBoot(installUpdatesOnBoot.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public interface CfnLayerProps { * Balancer connection draining. */ override fun lifecycleEventConfiguration(lifecycleEventConfiguration: IResolvable) { - cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public interface CfnLayerProps { */ override fun lifecycleEventConfiguration(lifecycleEventConfiguration: CfnLayer.LifecycleEventConfigurationProperty) { - cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(CfnLayer.LifecycleEventConfigurationProperty::unwrap)) + cdkBuilder.lifecycleEventConfiguration(lifecycleEventConfiguration.let(CfnLayer.LifecycleEventConfigurationProperty.Companion::unwrap)) } /** @@ -728,14 +728,14 @@ public interface CfnLayerProps { * @param loadBasedAutoScaling The load-based scaling configuration for the AWS OpsWorks layer. */ override fun loadBasedAutoScaling(loadBasedAutoScaling: IResolvable) { - cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(IResolvable::unwrap)) + cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(IResolvable.Companion::unwrap)) } /** * @param loadBasedAutoScaling The load-based scaling configuration for the AWS OpsWorks layer. */ override fun loadBasedAutoScaling(loadBasedAutoScaling: CfnLayer.LoadBasedAutoScalingProperty) { - cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(CfnLayer.LoadBasedAutoScalingProperty::unwrap)) + cdkBuilder.loadBasedAutoScaling(loadBasedAutoScaling.let(CfnLayer.LoadBasedAutoScalingProperty.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public interface CfnLayerProps { * Use tags to manage your resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public interface CfnLayerProps { * @param useEbsOptimizedInstances Whether to use Amazon EBS-optimized instances. */ override fun useEbsOptimizedInstances(useEbsOptimizedInstances: IResolvable) { - cdkBuilder.useEbsOptimizedInstances(useEbsOptimizedInstances.let(IResolvable::unwrap)) + cdkBuilder.useEbsOptimizedInstances(useEbsOptimizedInstances.let(IResolvable.Companion::unwrap)) } /** @@ -832,7 +832,7 @@ public interface CfnLayerProps { * EBS volumes. */ override fun volumeConfigurations(volumeConfigurations: IResolvable) { - cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable::unwrap)) + cdkBuilder.volumeConfigurations(volumeConfigurations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStack.kt index 54f7b51383..3580f10982 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStack.kt @@ -97,8 +97,8 @@ public open class CfnStack( id: String, props: CfnStackProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnStack( * One or more user-defined key-value pairs to be added to the stack attributes. */ public open fun attributes(`value`: IResolvable) { - unwrap(this).setAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnStack( * Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ public open fun chefConfiguration(`value`: IResolvable) { - unwrap(this).setChefConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setChefConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnStack( * Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ public open fun chefConfiguration(`value`: ChefConfigurationProperty) { - unwrap(this).setChefConfiguration(`value`.let(ChefConfigurationProperty::unwrap)) + unwrap(this).setChefConfiguration(`value`.let(ChefConfigurationProperty.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnStack( * permissions. */ public open fun clonePermissions(`value`: IResolvable) { - unwrap(this).setClonePermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setClonePermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -234,14 +234,14 @@ public open class CfnStack( * The configuration manager. */ public open fun configurationManager(`value`: IResolvable) { - unwrap(this).setConfigurationManager(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurationManager(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration manager. */ public open fun configurationManager(`value`: StackConfigurationManagerProperty) { - unwrap(this).setConfigurationManager(`value`.let(StackConfigurationManagerProperty::unwrap)) + unwrap(this).setConfigurationManager(`value`.let(StackConfigurationManagerProperty.Companion::unwrap)) } /** @@ -262,14 +262,14 @@ public open class CfnStack( * Contains the information required to retrieve an app or cookbook from a repository. */ public open fun customCookbooksSource(`value`: IResolvable) { - unwrap(this).setCustomCookbooksSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomCookbooksSource(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains the information required to retrieve an app or cookbook from a repository. */ public open fun customCookbooksSource(`value`: SourceProperty) { - unwrap(this).setCustomCookbooksSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setCustomCookbooksSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnStack( * A list of Elastic IP addresses to register with the AWS OpsWorks stack. */ public open fun elasticIps(`value`: IResolvable) { - unwrap(this).setElasticIps(`value`.let(IResolvable::unwrap)) + unwrap(this).setElasticIps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class CfnStack( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnStack( * AWS OpsWorks stack. */ public open fun rdsDbInstances(`value`: IResolvable) { - unwrap(this).setRdsDbInstances(`value`.let(IResolvable::unwrap)) + unwrap(this).setRdsDbInstances(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public open class CfnStack( * A map that contains tag keys and tag values that are attached to a stack or layer. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnStack( * Whether the stack uses custom cookbooks. */ public open fun useCustomCookbooks(`value`: IResolvable) { - unwrap(this).setUseCustomCookbooks(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseCustomCookbooks(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnStack( * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. */ public open fun useOpsworksSecurityGroups(`value`: IResolvable) { - unwrap(this).setUseOpsworksSecurityGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseOpsworksSecurityGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1230,7 +1230,7 @@ public open class CfnStack( * attributes. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -1255,7 +1255,7 @@ public open class CfnStack( * New Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ override fun chefConfiguration(chefConfiguration: IResolvable) { - cdkBuilder.chefConfiguration(chefConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chefConfiguration(chefConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1269,7 +1269,7 @@ public open class CfnStack( * New Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ override fun chefConfiguration(chefConfiguration: ChefConfigurationProperty) { - cdkBuilder.chefConfiguration(chefConfiguration.let(ChefConfigurationProperty::unwrap)) + cdkBuilder.chefConfiguration(chefConfiguration.let(ChefConfigurationProperty.Companion::unwrap)) } /** @@ -1330,7 +1330,7 @@ public open class CfnStack( * the source stack's permissions. */ override fun clonePermissions(clonePermissions: IResolvable) { - cdkBuilder.clonePermissions(clonePermissions.let(IResolvable::unwrap)) + cdkBuilder.clonePermissions(clonePermissions.let(IResolvable.Companion::unwrap)) } /** @@ -1344,7 +1344,7 @@ public open class CfnStack( * @param configurationManager The configuration manager. */ override fun configurationManager(configurationManager: IResolvable) { - cdkBuilder.configurationManager(configurationManager.let(IResolvable::unwrap)) + cdkBuilder.configurationManager(configurationManager.let(IResolvable.Companion::unwrap)) } /** @@ -1358,7 +1358,7 @@ public open class CfnStack( * @param configurationManager The configuration manager. */ override fun configurationManager(configurationManager: StackConfigurationManagerProperty) { - cdkBuilder.configurationManager(configurationManager.let(StackConfigurationManagerProperty::unwrap)) + cdkBuilder.configurationManager(configurationManager.let(StackConfigurationManagerProperty.Companion::unwrap)) } /** @@ -1390,7 +1390,7 @@ public open class CfnStack( * from a repository. */ override fun customCookbooksSource(customCookbooksSource: IResolvable) { - cdkBuilder.customCookbooksSource(customCookbooksSource.let(IResolvable::unwrap)) + cdkBuilder.customCookbooksSource(customCookbooksSource.let(IResolvable.Companion::unwrap)) } /** @@ -1406,7 +1406,7 @@ public open class CfnStack( * from a repository. */ override fun customCookbooksSource(customCookbooksSource: SourceProperty) { - cdkBuilder.customCookbooksSource(customCookbooksSource.let(SourceProperty::unwrap)) + cdkBuilder.customCookbooksSource(customCookbooksSource.let(SourceProperty.Companion::unwrap)) } /** @@ -1588,7 +1588,7 @@ public open class CfnStack( * @param elasticIps A list of Elastic IP addresses to register with the AWS OpsWorks stack. */ override fun elasticIps(elasticIps: IResolvable) { - cdkBuilder.elasticIps(elasticIps.let(IResolvable::unwrap)) + cdkBuilder.elasticIps(elasticIps.let(IResolvable.Companion::unwrap)) } /** @@ -1674,7 +1674,7 @@ public open class CfnStack( * to register with the AWS OpsWorks stack. */ override fun rdsDbInstances(rdsDbInstances: IResolvable) { - cdkBuilder.rdsDbInstances(rdsDbInstances.let(IResolvable::unwrap)) + cdkBuilder.rdsDbInstances(rdsDbInstances.let(IResolvable.Companion::unwrap)) } /** @@ -1754,7 +1754,7 @@ public open class CfnStack( * layer. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1791,7 +1791,7 @@ public open class CfnStack( * @param useCustomCookbooks Whether the stack uses custom cookbooks. */ override fun useCustomCookbooks(useCustomCookbooks: IResolvable) { - cdkBuilder.useCustomCookbooks(useCustomCookbooks.let(IResolvable::unwrap)) + cdkBuilder.useCustomCookbooks(useCustomCookbooks.let(IResolvable.Companion::unwrap)) } /** @@ -1845,7 +1845,7 @@ public open class CfnStack( * security groups with the stack's layers. */ override fun useOpsworksSecurityGroups(useOpsworksSecurityGroups: IResolvable) { - cdkBuilder.useOpsworksSecurityGroups(useOpsworksSecurityGroups.let(IResolvable::unwrap)) + cdkBuilder.useOpsworksSecurityGroups(useOpsworksSecurityGroups.let(IResolvable.Companion::unwrap)) } /** @@ -1978,7 +1978,7 @@ public open class CfnStack( * @param manageBerkshelf Whether to enable Berkshelf. */ override fun manageBerkshelf(manageBerkshelf: IResolvable) { - cdkBuilder.manageBerkshelf(manageBerkshelf.let(IResolvable::unwrap)) + cdkBuilder.manageBerkshelf(manageBerkshelf.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStackProps.kt index 4299d88607..75eefa9040 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnStackProps.kt @@ -909,7 +909,7 @@ public interface CfnStackProps { * attributes. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -926,7 +926,7 @@ public interface CfnStackProps { * New Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ override fun chefConfiguration(chefConfiguration: IResolvable) { - cdkBuilder.chefConfiguration(chefConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chefConfiguration(chefConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -935,7 +935,7 @@ public interface CfnStackProps { * New Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ override fun chefConfiguration(chefConfiguration: CfnStack.ChefConfigurationProperty) { - cdkBuilder.chefConfiguration(chefConfiguration.let(CfnStack.ChefConfigurationProperty::unwrap)) + cdkBuilder.chefConfiguration(chefConfiguration.let(CfnStack.ChefConfigurationProperty.Companion::unwrap)) } /** @@ -976,7 +976,7 @@ public interface CfnStackProps { * the source stack's permissions. */ override fun clonePermissions(clonePermissions: IResolvable) { - cdkBuilder.clonePermissions(clonePermissions.let(IResolvable::unwrap)) + cdkBuilder.clonePermissions(clonePermissions.let(IResolvable.Companion::unwrap)) } /** @@ -986,7 +986,7 @@ public interface CfnStackProps { * for Linux stacks is currently 12. */ override fun configurationManager(configurationManager: IResolvable) { - cdkBuilder.configurationManager(configurationManager.let(IResolvable::unwrap)) + cdkBuilder.configurationManager(configurationManager.let(IResolvable.Companion::unwrap)) } /** @@ -997,7 +997,7 @@ public interface CfnStackProps { */ override fun configurationManager(configurationManager: CfnStack.StackConfigurationManagerProperty) { - cdkBuilder.configurationManager(configurationManager.let(CfnStack.StackConfigurationManagerProperty::unwrap)) + cdkBuilder.configurationManager(configurationManager.let(CfnStack.StackConfigurationManagerProperty.Companion::unwrap)) } /** @@ -1022,7 +1022,7 @@ public interface CfnStackProps { * Recipes](https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html) . */ override fun customCookbooksSource(customCookbooksSource: IResolvable) { - cdkBuilder.customCookbooksSource(customCookbooksSource.let(IResolvable::unwrap)) + cdkBuilder.customCookbooksSource(customCookbooksSource.let(IResolvable.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public interface CfnStackProps { * Recipes](https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html) . */ override fun customCookbooksSource(customCookbooksSource: CfnStack.SourceProperty) { - cdkBuilder.customCookbooksSource(customCookbooksSource.let(CfnStack.SourceProperty::unwrap)) + cdkBuilder.customCookbooksSource(customCookbooksSource.let(CfnStack.SourceProperty.Companion::unwrap)) } /** @@ -1172,7 +1172,7 @@ public interface CfnStackProps { * CloudFormation deregisters the existing association before registering the IP address. */ override fun elasticIps(elasticIps: IResolvable) { - cdkBuilder.elasticIps(elasticIps.let(IResolvable::unwrap)) + cdkBuilder.elasticIps(elasticIps.let(IResolvable.Companion::unwrap)) } /** @@ -1234,7 +1234,7 @@ public interface CfnStackProps { * CloudFormation deregisters the existing association before registering the database instance. */ override fun rdsDbInstances(rdsDbInstances: IResolvable) { - cdkBuilder.rdsDbInstances(rdsDbInstances.let(IResolvable::unwrap)) + cdkBuilder.rdsDbInstances(rdsDbInstances.let(IResolvable.Companion::unwrap)) } /** @@ -1289,7 +1289,7 @@ public interface CfnStackProps { * * A maximum of 40 tags is allowed for any resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1316,7 +1316,7 @@ public interface CfnStackProps { * @param useCustomCookbooks Whether the stack uses custom cookbooks. */ override fun useCustomCookbooks(useCustomCookbooks: IResolvable) { - cdkBuilder.useCustomCookbooks(useCustomCookbooks.let(IResolvable::unwrap)) + cdkBuilder.useCustomCookbooks(useCustomCookbooks.let(IResolvable.Companion::unwrap)) } /** @@ -1360,7 +1360,7 @@ public interface CfnStackProps { * Stack](https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html) . */ override fun useOpsworksSecurityGroups(useOpsworksSecurityGroups: IResolvable) { - cdkBuilder.useOpsworksSecurityGroups(useOpsworksSecurityGroups.let(IResolvable::unwrap)) + cdkBuilder.useOpsworksSecurityGroups(useOpsworksSecurityGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfile.kt index 37765be6f1..3045802d61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfile.kt @@ -42,8 +42,8 @@ public open class CfnUserProfile( id: String, props: CfnUserProfileProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnUserProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProfileProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnUserProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProfileProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnUserProfile( * Whether users can specify their own SSH public key through the My Settings page. */ public open fun allowSelfManagement(`value`: IResolvable) { - unwrap(this).setAllowSelfManagement(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowSelfManagement(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnUserProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class CfnUserProfile( * Settings page. */ override fun allowSelfManagement(allowSelfManagement: IResolvable) { - cdkBuilder.allowSelfManagement(allowSelfManagement.let(IResolvable::unwrap)) + cdkBuilder.allowSelfManagement(allowSelfManagement.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfileProps.kt index fea139abd6..d5cc646852 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnUserProfileProps.kt @@ -125,7 +125,7 @@ public interface CfnUserProfileProps { * . */ override fun allowSelfManagement(allowSelfManagement: IResolvable) { - cdkBuilder.allowSelfManagement(allowSelfManagement.let(IResolvable::unwrap)) + cdkBuilder.allowSelfManagement(allowSelfManagement.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnVolume.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnVolume.kt index 4e72ea39aa..7b45cd7792 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnVolume.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworks/CfnVolume.kt @@ -39,8 +39,8 @@ public open class CfnVolume( id: String, props: CfnVolumeProps, ) : - this(software.amazon.awscdk.services.opsworks.CfnVolume(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVolumeProps::unwrap)) + this(software.amazon.awscdk.services.opsworks.CfnVolume(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVolumeProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnVolume( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServer.kt index 81e6799ba7..6e5407461c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServer.kt @@ -81,8 +81,8 @@ public open class CfnServer( id: String, props: CfnServerProps, ) : - this(software.amazon.awscdk.services.opsworkscm.CfnServer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServerProps::unwrap)) + this(software.amazon.awscdk.services.opsworkscm.CfnServer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServerProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class CfnServer( * Associate a public IP address with a server that you are launching. */ public open fun associatePublicIpAddress(`value`: IResolvable) { - unwrap(this).setAssociatePublicIpAddress(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociatePublicIpAddress(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnServer( * Enable or disable scheduled backups. */ public open fun disableAutomatedBackup(`value`: IResolvable) { - unwrap(this).setDisableAutomatedBackup(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableAutomatedBackup(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnServer( * Optional engine attributes on a specified server. */ public open fun engineAttributes(`value`: IResolvable) { - unwrap(this).setEngineAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setEngineAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnServer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnServer( * OpsWorks for Puppet Enterprise server. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public open class CfnServer( * launching. */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -1029,7 +1029,7 @@ public open class CfnServer( * @param disableAutomatedBackup Enable or disable scheduled backups. */ override fun disableAutomatedBackup(disableAutomatedBackup: IResolvable) { - cdkBuilder.disableAutomatedBackup(disableAutomatedBackup.let(IResolvable::unwrap)) + cdkBuilder.disableAutomatedBackup(disableAutomatedBackup.let(IResolvable.Companion::unwrap)) } /** @@ -1074,7 +1074,7 @@ public open class CfnServer( * @param engineAttributes Optional engine attributes on a specified server. */ override fun engineAttributes(engineAttributes: IResolvable) { - cdkBuilder.engineAttributes(engineAttributes.let(IResolvable::unwrap)) + cdkBuilder.engineAttributes(engineAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -1356,7 +1356,7 @@ public open class CfnServer( * Automate or OpsWorks for Puppet Enterprise server. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServerProps.kt index 302d4c373d..6e54046e79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/opsworkscm/CfnServerProps.kt @@ -648,7 +648,7 @@ public interface CfnServerProps { * Valid values are `true` or `false` . The default value is `true` . */ override fun associatePublicIpAddress(associatePublicIpAddress: IResolvable) { - cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable::unwrap)) + cdkBuilder.associatePublicIpAddress(associatePublicIpAddress.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public interface CfnServerProps { * Valid values are `true` or `false` . The default value is `true` . */ override fun disableAutomatedBackup(disableAutomatedBackup: IResolvable) { - cdkBuilder.disableAutomatedBackup(disableAutomatedBackup.let(IResolvable::unwrap)) + cdkBuilder.disableAutomatedBackup(disableAutomatedBackup.let(IResolvable.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public interface CfnServerProps { * PUPPET_R10K_PRIVATE_KEY to specify a PEM-encoded private SSH key. */ override fun engineAttributes(engineAttributes: IResolvable) { - cdkBuilder.engineAttributes(engineAttributes.let(IResolvable::unwrap)) + cdkBuilder.engineAttributes(engineAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public interface CfnServerProps { * or separators, or the following special characters: `+ - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccount.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccount.kt index 6ede16f7d9..1277fac41b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccount.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccount.kt @@ -149,8 +149,8 @@ public open class CfnAccount( id: String, props: CfnAccountProps, ) : - this(software.amazon.awscdk.services.organizations.CfnAccount(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccountProps::unwrap)) + this(software.amazon.awscdk.services.organizations.CfnAccount(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccountProps.Companion::unwrap)) ) public constructor( @@ -225,7 +225,7 @@ public open class CfnAccount( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnAccount( * A list of tags that you want to attach to the newly created account. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public open class CfnAccount( * @param tags A list of tags that you want to attach to the newly created account. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccountProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccountProps.kt index 27a3ad57b1..6ffb2742e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccountProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnAccountProps.kt @@ -328,7 +328,7 @@ public interface CfnAccountProps { * an account, then the entire request fails and the account is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganization.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganization.kt index 46324c76ca..523643a600 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganization.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganization.kt @@ -62,7 +62,7 @@ public open class CfnOrganization( cdkObject: software.amazon.awscdk.services.organizations.CfnOrganization, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.organizations.CfnOrganization(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.organizations.CfnOrganization(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -71,8 +71,8 @@ public open class CfnOrganization( id: String, props: CfnOrganizationProps, ) : - this(software.amazon.awscdk.services.organizations.CfnOrganization(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOrganizationProps::unwrap)) + this(software.amazon.awscdk.services.organizations.CfnOrganization(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOrganizationProps.Companion::unwrap)) ) public constructor( @@ -137,7 +137,7 @@ public open class CfnOrganization( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnit.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnit.kt index d83eafe42d..b189fa68c2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnit.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnit.kt @@ -60,8 +60,8 @@ public open class CfnOrganizationalUnit( id: String, props: CfnOrganizationalUnitProps, ) : - this(software.amazon.awscdk.services.organizations.CfnOrganizationalUnit(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOrganizationalUnitProps::unwrap)) + this(software.amazon.awscdk.services.organizations.CfnOrganizationalUnit(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOrganizationalUnitProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnOrganizationalUnit( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnOrganizationalUnit( * A list of tags that you want to attach to the newly created OU. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class CfnOrganizationalUnit( * @param tags A list of tags that you want to attach to the newly created OU. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnitProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnitProps.kt index 7ef3abcd35..5591d79183 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnitProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnOrganizationalUnitProps.kt @@ -191,7 +191,7 @@ public interface CfnOrganizationalUnitProps { * then the entire request fails and the OU is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicy.kt index 8cb66692d1..18276ed766 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicy.kt @@ -66,8 +66,8 @@ public open class CfnPolicy( id: String, props: CfnPolicyProps, ) : - this(software.amazon.awscdk.services.organizations.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyProps::unwrap)) + this(software.amazon.awscdk.services.organizations.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnPolicy( * A list of tags that you want to attach to the newly created policy. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class CfnPolicy( * @param tags A list of tags that you want to attach to the newly created policy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicyProps.kt index 9c25a4ed1e..93f25a45df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnPolicyProps.kt @@ -311,7 +311,7 @@ public interface CfnPolicyProps { * then the entire request fails and the policy is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicy.kt index 139b736f2d..59d0706267 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicy.kt @@ -55,8 +55,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.organizations.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.organizations.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnResourcePolicy( * A list of tags that you want to attach to the newly created resource policy. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnResourcePolicy( * @param tags A list of tags that you want to attach to the newly created resource policy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicyProps.kt index 0084407755..7149cba634 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/organizations/CfnResourcePolicyProps.kt @@ -142,7 +142,7 @@ public interface CfnResourcePolicyProps { * resource policy, then the entire request fails and the resource policy is not created. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipeline.kt index d47ca38dac..b4270e1095 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipeline.kt @@ -71,8 +71,8 @@ public open class CfnPipeline( id: String, props: CfnPipelineProps, ) : - this(software.amazon.awscdk.services.osis.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPipelineProps::unwrap)) + this(software.amazon.awscdk.services.osis.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPipelineProps.Companion::unwrap)) ) public constructor( @@ -110,14 +110,14 @@ public open class CfnPipeline( * Options that specify the configuration of a persistent buffer. */ public open fun bufferOptions(`value`: IResolvable) { - unwrap(this).setBufferOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setBufferOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options that specify the configuration of a persistent buffer. */ public open fun bufferOptions(`value`: BufferOptionsProperty) { - unwrap(this).setBufferOptions(`value`.let(BufferOptionsProperty::unwrap)) + unwrap(this).setBufferOptions(`value`.let(BufferOptionsProperty.Companion::unwrap)) } /** @@ -137,14 +137,14 @@ public open class CfnPipeline( * Options to control how OpenSearch encrypts buffer data. */ public open fun encryptionAtRestOptions(`value`: IResolvable) { - unwrap(this).setEncryptionAtRestOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionAtRestOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options to control how OpenSearch encrypts buffer data. */ public open fun encryptionAtRestOptions(`value`: EncryptionAtRestOptionsProperty) { - unwrap(this).setEncryptionAtRestOptions(`value`.let(EncryptionAtRestOptionsProperty::unwrap)) + unwrap(this).setEncryptionAtRestOptions(`value`.let(EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnPipeline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,14 +174,14 @@ public open class CfnPipeline( * Key-value pairs that represent log publishing settings. */ public open fun logPublishingOptions(`value`: IResolvable) { - unwrap(this).setLogPublishingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogPublishingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Key-value pairs that represent log publishing settings. */ public open fun logPublishingOptions(`value`: LogPublishingOptionsProperty) { - unwrap(this).setLogPublishingOptions(`value`.let(LogPublishingOptionsProperty::unwrap)) + unwrap(this).setLogPublishingOptions(`value`.let(LogPublishingOptionsProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnPipeline( * List of tags to add to the pipeline upon creation. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -272,14 +272,14 @@ public open class CfnPipeline( * Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint. */ public open fun vpcOptions(`value`: IResolvable) { - unwrap(this).setVpcOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint. */ public open fun vpcOptions(`value`: VpcOptionsProperty) { - unwrap(this).setVpcOptions(`value`.let(VpcOptionsProperty::unwrap)) + unwrap(this).setVpcOptions(`value`.let(VpcOptionsProperty.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnPipeline( * @param bufferOptions Options that specify the configuration of a persistent buffer. */ override fun bufferOptions(bufferOptions: IResolvable) { - cdkBuilder.bufferOptions(bufferOptions.let(IResolvable::unwrap)) + cdkBuilder.bufferOptions(bufferOptions.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class CfnPipeline( * @param bufferOptions Options that specify the configuration of a persistent buffer. */ override fun bufferOptions(bufferOptions: BufferOptionsProperty) { - cdkBuilder.bufferOptions(bufferOptions.let(BufferOptionsProperty::unwrap)) + cdkBuilder.bufferOptions(bufferOptions.let(BufferOptionsProperty.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class CfnPipeline( * @param encryptionAtRestOptions Options to control how OpenSearch encrypts buffer data. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: IResolvable) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnPipeline( * @param encryptionAtRestOptions Options to control how OpenSearch encrypts buffer data. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: EncryptionAtRestOptionsProperty) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(EncryptionAtRestOptionsProperty::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnPipeline( * @param logPublishingOptions Key-value pairs that represent log publishing settings. */ override fun logPublishingOptions(logPublishingOptions: IResolvable) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class CfnPipeline( * @param logPublishingOptions Key-value pairs that represent log publishing settings. */ override fun logPublishingOptions(logPublishingOptions: LogPublishingOptionsProperty) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(LogPublishingOptionsProperty::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(LogPublishingOptionsProperty.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class CfnPipeline( * @param tags List of tags to add to the pipeline upon creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnPipeline( * Ingestion VPC endpoint. */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -667,7 +667,7 @@ public open class CfnPipeline( * Ingestion VPC endpoint. */ override fun vpcOptions(vpcOptions: VpcOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(VpcOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(VpcOptionsProperty.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public open class CfnPipeline( * @param persistentBufferEnabled Whether persistent buffering should be enabled. */ override fun persistentBufferEnabled(persistentBufferEnabled: IResolvable) { - cdkBuilder.persistentBufferEnabled(persistentBufferEnabled.let(IResolvable::unwrap)) + cdkBuilder.persistentBufferEnabled(persistentBufferEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.osis.CfnPipeline.BufferOptionsProperty = @@ -1076,7 +1076,7 @@ public open class CfnPipeline( * This parameter is required if `IsLoggingEnabled` is set to `true` . */ override fun cloudWatchLogDestination(cloudWatchLogDestination: IResolvable) { - cdkBuilder.cloudWatchLogDestination(cloudWatchLogDestination.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogDestination(cloudWatchLogDestination.let(IResolvable.Companion::unwrap)) } /** @@ -1086,7 +1086,7 @@ public open class CfnPipeline( */ override fun cloudWatchLogDestination(cloudWatchLogDestination: CloudWatchLogDestinationProperty) { - cdkBuilder.cloudWatchLogDestination(cloudWatchLogDestination.let(CloudWatchLogDestinationProperty::unwrap)) + cdkBuilder.cloudWatchLogDestination(cloudWatchLogDestination.let(CloudWatchLogDestinationProperty.Companion::unwrap)) } /** @@ -1112,7 +1112,7 @@ public open class CfnPipeline( * @param isLoggingEnabled Whether logs should be published. */ override fun isLoggingEnabled(isLoggingEnabled: IResolvable) { - cdkBuilder.isLoggingEnabled(isLoggingEnabled.let(IResolvable::unwrap)) + cdkBuilder.isLoggingEnabled(isLoggingEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1266,7 +1266,7 @@ public open class CfnPipeline( * groups. */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1274,7 +1274,7 @@ public open class CfnPipeline( * groups. */ override fun vpcOptions(vpcOptions: VpcOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(VpcOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(VpcOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipelineProps.kt index 7ab78158dd..85ca477b3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/osis/CfnPipelineProps.kt @@ -258,7 +258,7 @@ public interface CfnPipelineProps { * . */ override fun bufferOptions(bufferOptions: IResolvable) { - cdkBuilder.bufferOptions(bufferOptions.let(IResolvable::unwrap)) + cdkBuilder.bufferOptions(bufferOptions.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface CfnPipelineProps { * . */ override fun bufferOptions(bufferOptions: CfnPipeline.BufferOptionsProperty) { - cdkBuilder.bufferOptions(bufferOptions.let(CfnPipeline.BufferOptionsProperty::unwrap)) + cdkBuilder.bufferOptions(bufferOptions.let(CfnPipeline.BufferOptionsProperty.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnPipelineProps { * @param encryptionAtRestOptions Options to control how OpenSearch encrypts buffer data. */ override fun encryptionAtRestOptions(encryptionAtRestOptions: IResolvable) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnPipelineProps { */ override fun encryptionAtRestOptions(encryptionAtRestOptions: CfnPipeline.EncryptionAtRestOptionsProperty) { - cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(CfnPipeline.EncryptionAtRestOptionsProperty::unwrap)) + cdkBuilder.encryptionAtRestOptions(encryptionAtRestOptions.let(CfnPipeline.EncryptionAtRestOptionsProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface CfnPipelineProps { * @param logPublishingOptions Key-value pairs that represent log publishing settings. */ override fun logPublishingOptions(logPublishingOptions: IResolvable) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface CfnPipelineProps { */ override fun logPublishingOptions(logPublishingOptions: CfnPipeline.LogPublishingOptionsProperty) { - cdkBuilder.logPublishingOptions(logPublishingOptions.let(CfnPipeline.LogPublishingOptionsProperty::unwrap)) + cdkBuilder.logPublishingOptions(logPublishingOptions.let(CfnPipeline.LogPublishingOptionsProperty.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public interface CfnPipelineProps { * @param tags List of tags to add to the pipeline upon creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnPipelineProps { * Ingestion VPC endpoint. */ override fun vpcOptions(vpcOptions: IResolvable) { - cdkBuilder.vpcOptions(vpcOptions.let(IResolvable::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface CfnPipelineProps { * Ingestion VPC endpoint. */ override fun vpcOptions(vpcOptions: CfnPipeline.VpcOptionsProperty) { - cdkBuilder.vpcOptions(vpcOptions.let(CfnPipeline.VpcOptionsProperty::unwrap)) + cdkBuilder.vpcOptions(vpcOptions.let(CfnPipeline.VpcOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstance.kt index 4b1ee9ac1f..24431f43eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstance.kt @@ -61,8 +61,8 @@ public open class CfnApplicationInstance( id: String, props: CfnApplicationInstanceProps, ) : - this(software.amazon.awscdk.services.panorama.CfnApplicationInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationInstanceProps::unwrap)) + this(software.amazon.awscdk.services.panorama.CfnApplicationInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationInstanceProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class CfnApplicationInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnApplicationInstance( * Setting overrides for the application manifest. */ public open fun manifestOverridesPayload(`value`: IResolvable) { - unwrap(this).setManifestOverridesPayload(`value`.let(IResolvable::unwrap)) + unwrap(this).setManifestOverridesPayload(`value`.let(IResolvable.Companion::unwrap)) } /** * Setting overrides for the application manifest. */ public open fun manifestOverridesPayload(`value`: ManifestOverridesPayloadProperty) { - unwrap(this).setManifestOverridesPayload(`value`.let(ManifestOverridesPayloadProperty::unwrap)) + unwrap(this).setManifestOverridesPayload(`value`.let(ManifestOverridesPayloadProperty.Companion::unwrap)) } /** @@ -197,14 +197,14 @@ public open class CfnApplicationInstance( * The application's manifest document. */ public open fun manifestPayload(`value`: IResolvable) { - unwrap(this).setManifestPayload(`value`.let(IResolvable::unwrap)) + unwrap(this).setManifestPayload(`value`.let(IResolvable.Companion::unwrap)) } /** * The application's manifest document. */ public open fun manifestPayload(`value`: ManifestPayloadProperty) { - unwrap(this).setManifestPayload(`value`.let(ManifestPayloadProperty::unwrap)) + unwrap(this).setManifestPayload(`value`.let(ManifestPayloadProperty.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnApplicationInstance( * Tags for the application instance. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class CfnApplicationInstance( * @param manifestOverridesPayload Setting overrides for the application manifest. */ override fun manifestOverridesPayload(manifestOverridesPayload: IResolvable) { - cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(IResolvable::unwrap)) + cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnApplicationInstance( */ override fun manifestOverridesPayload(manifestOverridesPayload: ManifestOverridesPayloadProperty) { - cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(ManifestOverridesPayloadProperty::unwrap)) + cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(ManifestOverridesPayloadProperty.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnApplicationInstance( * @param manifestPayload The application's manifest document. */ override fun manifestPayload(manifestPayload: IResolvable) { - cdkBuilder.manifestPayload(manifestPayload.let(IResolvable::unwrap)) + cdkBuilder.manifestPayload(manifestPayload.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnApplicationInstance( * @param manifestPayload The application's manifest document. */ override fun manifestPayload(manifestPayload: ManifestPayloadProperty) { - cdkBuilder.manifestPayload(manifestPayload.let(ManifestPayloadProperty::unwrap)) + cdkBuilder.manifestPayload(manifestPayload.let(ManifestPayloadProperty.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class CfnApplicationInstance( * @param tags Tags for the application instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstanceProps.kt index 40d37d2a3c..3baddb0ba3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnApplicationInstanceProps.kt @@ -212,7 +212,7 @@ public interface CfnApplicationInstanceProps { * @param manifestOverridesPayload Setting overrides for the application manifest. */ override fun manifestOverridesPayload(manifestOverridesPayload: IResolvable) { - cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(IResolvable::unwrap)) + cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(IResolvable.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public interface CfnApplicationInstanceProps { */ override fun manifestOverridesPayload(manifestOverridesPayload: CfnApplicationInstance.ManifestOverridesPayloadProperty) { - cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(CfnApplicationInstance.ManifestOverridesPayloadProperty::unwrap)) + cdkBuilder.manifestOverridesPayload(manifestOverridesPayload.let(CfnApplicationInstance.ManifestOverridesPayloadProperty.Companion::unwrap)) } /** @@ -237,14 +237,14 @@ public interface CfnApplicationInstanceProps { * @param manifestPayload The application's manifest document. */ override fun manifestPayload(manifestPayload: IResolvable) { - cdkBuilder.manifestPayload(manifestPayload.let(IResolvable::unwrap)) + cdkBuilder.manifestPayload(manifestPayload.let(IResolvable.Companion::unwrap)) } /** * @param manifestPayload The application's manifest document. */ override fun manifestPayload(manifestPayload: CfnApplicationInstance.ManifestPayloadProperty) { - cdkBuilder.manifestPayload(manifestPayload.let(CfnApplicationInstance.ManifestPayloadProperty::unwrap)) + cdkBuilder.manifestPayload(manifestPayload.let(CfnApplicationInstance.ManifestPayloadProperty.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface CfnApplicationInstanceProps { * @param tags Tags for the application instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackage.kt index cad6c0c6c0..de737bc13d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackage.kt @@ -57,8 +57,8 @@ public open class CfnPackage( id: String, props: CfnPackageProps, ) : - this(software.amazon.awscdk.services.panorama.CfnPackage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPackageProps::unwrap)) + this(software.amazon.awscdk.services.panorama.CfnPackage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPackageProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnPackage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -142,14 +142,14 @@ public open class CfnPackage( * A storage location. */ public open fun storageLocation(`value`: IResolvable) { - unwrap(this).setStorageLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * A storage location. */ public open fun storageLocation(`value`: StorageLocationProperty) { - unwrap(this).setStorageLocation(`value`.let(StorageLocationProperty::unwrap)) + unwrap(this).setStorageLocation(`value`.let(StorageLocationProperty.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnPackage( * Tags for the package. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnPackage( * @param storageLocation A storage location. */ override fun storageLocation(storageLocation: IResolvable) { - cdkBuilder.storageLocation(storageLocation.let(IResolvable::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(IResolvable.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnPackage( * @param storageLocation A storage location. */ override fun storageLocation(storageLocation: StorageLocationProperty) { - cdkBuilder.storageLocation(storageLocation.let(StorageLocationProperty::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(StorageLocationProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnPackage( * @param tags Tags for the package. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageProps.kt index c66d0931b8..0ce9e6724e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageProps.kt @@ -117,14 +117,14 @@ public interface CfnPackageProps { * @param storageLocation A storage location. */ override fun storageLocation(storageLocation: IResolvable) { - cdkBuilder.storageLocation(storageLocation.let(IResolvable::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(IResolvable.Companion::unwrap)) } /** * @param storageLocation A storage location. */ override fun storageLocation(storageLocation: CfnPackage.StorageLocationProperty) { - cdkBuilder.storageLocation(storageLocation.let(CfnPackage.StorageLocationProperty::unwrap)) + cdkBuilder.storageLocation(storageLocation.let(CfnPackage.StorageLocationProperty.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public interface CfnPackageProps { * @param tags Tags for the package. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersion.kt index 90907992c8..9eb4f191ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersion.kt @@ -46,8 +46,8 @@ public open class CfnPackageVersion( id: String, props: CfnPackageVersionProps, ) : - this(software.amazon.awscdk.services.panorama.CfnPackageVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPackageVersionProps::unwrap)) + this(software.amazon.awscdk.services.panorama.CfnPackageVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPackageVersionProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnPackageVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class CfnPackageVersion( * Whether to mark the new version as the latest version. */ public open fun markLatest(`value`: IResolvable) { - unwrap(this).setMarkLatest(`value`.let(IResolvable::unwrap)) + unwrap(this).setMarkLatest(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnPackageVersion( * @param markLatest Whether to mark the new version as the latest version. */ override fun markLatest(markLatest: IResolvable) { - cdkBuilder.markLatest(markLatest.let(IResolvable::unwrap)) + cdkBuilder.markLatest(markLatest.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersionProps.kt index 87faaa470c..a7ec25b1cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/panorama/CfnPackageVersionProps.kt @@ -133,7 +133,7 @@ public interface CfnPackageVersionProps { * @param markLatest Whether to mark the new version as the latest version. */ override fun markLatest(markLatest: IResolvable) { - cdkBuilder.markLatest(markLatest.let(IResolvable::unwrap)) + cdkBuilder.markLatest(markLatest.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnAlias.kt new file mode 100644 index 0000000000..4eb616f296 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnAlias.kt @@ -0,0 +1,206 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.paymentcryptography + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.String +import kotlin.Unit +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates an *alias* , or a friendly name, for an AWS Payment Cryptography key. + * + * You can use an alias to identify a key in the console and when you call cryptographic operations + * such as + * [EncryptData](https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/API_EncryptData.html) + * or + * [DecryptData](https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/API_DecryptData.html) + * . + * + * You can associate the alias with any key in the same AWS Region . Each alias is associated with + * only one key at a time, but a key can have multiple aliases. You can't create an alias without a + * key. The alias must be unique in the account and AWS Region , but you can create another alias with + * the same name in a different AWS Region . + * + * To change the key that's associated with the alias, call + * [UpdateAlias](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UpdateAlias.html) + * . To delete the alias, call + * [DeleteAlias](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteAlias.html) + * . These operations don't affect the underlying key. To get the alias that you created, call + * [ListAliases](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListAliases.html) + * . + * + * *Cross-account use* : This operation can't be used across different AWS accounts. + * + * *Related operations:* + * + * * + * [DeleteAlias](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteAlias.html) + * * + * [GetAlias](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetAlias.html) + * * + * [ListAliases](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListAliases.html) + * * + * [UpdateAlias](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UpdateAlias.html) + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.paymentcryptography.*; + * CfnAlias cfnAlias = CfnAlias.Builder.create(this, "MyCfnAlias") + * .aliasName("aliasName") + * // the properties below are optional + * .keyArn("keyArn") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html) + */ +public open class CfnAlias( + cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnAlias, +) : CfnResource(cdkObject), IInspectable { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnAliasProps, + ) : + this(software.amazon.awscdk.services.paymentcryptography.CfnAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAliasProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnAliasProps.Builder.() -> Unit, + ) : this(scope, id, CfnAliasProps(props) + ) + + /** + * A friendly name that you can use to refer to a key. + * + * The value must begin with `alias/` . + */ + public open fun aliasName(): String = unwrap(this).getAliasName() + + /** + * A friendly name that you can use to refer to a key. + * + * The value must begin with `alias/` . + */ + public open fun aliasName(`value`: String) { + unwrap(this).setAliasName(`value`) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The `KeyARN` of the key associated with the alias. + */ + public open fun keyArn(): String? = unwrap(this).getKeyArn() + + /** + * The `KeyARN` of the key associated with the alias. + */ + public open fun keyArn(`value`: String) { + unwrap(this).setKeyArn(`value`) + } + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.paymentcryptography.CfnAlias]. + */ + @CdkDslMarker + public interface Builder { + /** + * A friendly name that you can use to refer to a key. The value must begin with `alias/` . + * + * + * Do not include confidential or sensitive information in this field. This field may be + * displayed in plaintext in AWS CloudTrail logs and other output. + * + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-aliasname) + * @param aliasName A friendly name that you can use to refer to a key. The value must begin + * with `alias/` . + */ + public fun aliasName(aliasName: String) + + /** + * The `KeyARN` of the key associated with the alias. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-keyarn) + * @param keyArn The `KeyARN` of the key associated with the alias. + */ + public fun keyArn(keyArn: String) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.paymentcryptography.CfnAlias.Builder = + software.amazon.awscdk.services.paymentcryptography.CfnAlias.Builder.create(scope, id) + + /** + * A friendly name that you can use to refer to a key. The value must begin with `alias/` . + * + * + * Do not include confidential or sensitive information in this field. This field may be + * displayed in plaintext in AWS CloudTrail logs and other output. + * + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-aliasname) + * @param aliasName A friendly name that you can use to refer to a key. The value must begin + * with `alias/` . + */ + override fun aliasName(aliasName: String) { + cdkBuilder.aliasName(aliasName) + } + + /** + * The `KeyARN` of the key associated with the alias. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-keyarn) + * @param keyArn The `KeyARN` of the key associated with the alias. + */ + override fun keyArn(keyArn: String) { + cdkBuilder.keyArn(keyArn) + } + + public fun build(): software.amazon.awscdk.services.paymentcryptography.CfnAlias = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.paymentcryptography.CfnAlias.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnAlias { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnAlias(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnAlias): + CfnAlias = CfnAlias(cdkObject) + + internal fun unwrap(wrapped: CfnAlias): + software.amazon.awscdk.services.paymentcryptography.CfnAlias = wrapped.cdkObject as + software.amazon.awscdk.services.paymentcryptography.CfnAlias + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnAliasProps.kt new file mode 100644 index 0000000000..745f98f794 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnAliasProps.kt @@ -0,0 +1,132 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.paymentcryptography + +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit + +/** + * Properties for defining a `CfnAlias`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.paymentcryptography.*; + * CfnAliasProps cfnAliasProps = CfnAliasProps.builder() + * .aliasName("aliasName") + * // the properties below are optional + * .keyArn("keyArn") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html) + */ +public interface CfnAliasProps { + /** + * A friendly name that you can use to refer to a key. The value must begin with `alias/` . + * + * + * Do not include confidential or sensitive information in this field. This field may be displayed + * in plaintext in AWS CloudTrail logs and other output. + * + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-aliasname) + */ + public fun aliasName(): String + + /** + * The `KeyARN` of the key associated with the alias. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-keyarn) + */ + public fun keyArn(): String? = unwrap(this).getKeyArn() + + /** + * A builder for [CfnAliasProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param aliasName A friendly name that you can use to refer to a key. The value must begin + * with `alias/` . + * + * Do not include confidential or sensitive information in this field. This field may be + * displayed in plaintext in AWS CloudTrail logs and other output. + */ + public fun aliasName(aliasName: String) + + /** + * @param keyArn The `KeyARN` of the key associated with the alias. + */ + public fun keyArn(keyArn: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.paymentcryptography.CfnAliasProps.Builder = + software.amazon.awscdk.services.paymentcryptography.CfnAliasProps.builder() + + /** + * @param aliasName A friendly name that you can use to refer to a key. The value must begin + * with `alias/` . + * + * Do not include confidential or sensitive information in this field. This field may be + * displayed in plaintext in AWS CloudTrail logs and other output. + */ + override fun aliasName(aliasName: String) { + cdkBuilder.aliasName(aliasName) + } + + /** + * @param keyArn The `KeyARN` of the key associated with the alias. + */ + override fun keyArn(keyArn: String) { + cdkBuilder.keyArn(keyArn) + } + + public fun build(): software.amazon.awscdk.services.paymentcryptography.CfnAliasProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnAliasProps, + ) : CdkObject(cdkObject), CfnAliasProps { + /** + * A friendly name that you can use to refer to a key. The value must begin with `alias/` . + * + * + * Do not include confidential or sensitive information in this field. This field may be + * displayed in plaintext in AWS CloudTrail logs and other output. + * + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-aliasname) + */ + override fun aliasName(): String = unwrap(this).getAliasName() + + /** + * The `KeyARN` of the key associated with the alias. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-keyarn) + */ + override fun keyArn(): String? = unwrap(this).getKeyArn() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnAliasProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnAliasProps): + CfnAliasProps = CdkObjectWrappers.wrap(cdkObject) as? CfnAliasProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnAliasProps): + software.amazon.awscdk.services.paymentcryptography.CfnAliasProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.paymentcryptography.CfnAliasProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKey.kt new file mode 100644 index 0000000000..2f67f64fe1 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKey.kt @@ -0,0 +1,1203 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.paymentcryptography + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.Boolean +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates an AWS Payment Cryptography key, a logical representation of a cryptographic key, that is + * unique in your account and AWS Region . + * + * You use keys for cryptographic functions such as encryption and decryption. + * + * In addition to the key material used in cryptographic operations, an AWS Payment Cryptography key + * includes metadata such as the key ARN, key usage, key origin, creation date, description, and key + * state. + * + * When you create a key, you specify both immutable and mutable data about the key. The immutable + * data contains key attributes that define the scope and cryptographic operations that you can perform + * using the key, for example key class (example: `SYMMETRIC_KEY` ), key algorithm (example: + * `TDES_2KEY` ), key usage (example: `TR31_P0_PIN_ENCRYPTION_KEY` ) and key modes of use (example: + * `Encrypt` ). For information about valid combinations of key attributes, see [Understanding key + * attributes](https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html) + * in the *AWS Payment Cryptography User Guide* . The mutable data contained within a key includes + * usage timestamp and key deletion timestamp and can be modified after creation. + * + * AWS Payment Cryptography binds key attributes to keys using key blocks when you store or export + * them. AWS Payment Cryptography stores the key contents wrapped and never stores or transmits them in + * the clear. + * + * *Cross-account use* : This operation can't be used across different AWS accounts. + * + * *Related operations:* + * + * * + * [DeleteKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteKey.html) + * * [GetKey](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetKey.html) + * * + * [ListKeys](https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListKeys.html) + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.paymentcryptography.*; + * CfnKey cfnKey = CfnKey.Builder.create(this, "MyCfnKey") + * .exportable(false) + * .keyAttributes(KeyAttributesProperty.builder() + * .keyAlgorithm("keyAlgorithm") + * .keyClass("keyClass") + * .keyModesOfUse(KeyModesOfUseProperty.builder() + * .decrypt(false) + * .deriveKey(false) + * .encrypt(false) + * .generate(false) + * .noRestrictions(false) + * .sign(false) + * .unwrap(false) + * .verify(false) + * .wrap(false) + * .build()) + * .keyUsage("keyUsage") + * .build()) + * // the properties below are optional + * .enabled(false) + * .keyCheckValueAlgorithm("keyCheckValueAlgorithm") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html) + */ +public open class CfnKey( + cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKey, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnKeyProps, + ) : + this(software.amazon.awscdk.services.paymentcryptography.CfnKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeyProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnKeyProps.Builder.() -> Unit, + ) : this(scope, id, CfnKeyProps(props) + ) + + /** + * + */ + public open fun attrKeyIdentifier(): String = unwrap(this).getAttrKeyIdentifier() + + /** + * The source of the key material. + * + * For keys created within AWS Payment Cryptography, the value is `AWS_PAYMENT_CRYPTOGRAPHY` . For + * keys imported into AWS Payment Cryptography, the value is `EXTERNAL` . + */ + public open fun attrKeyOrigin(): String = unwrap(this).getAttrKeyOrigin() + + /** + * The state of key that is being created or deleted. + */ + public open fun attrKeyState(): String = unwrap(this).getAttrKeyState() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Specifies whether the key is enabled. + */ + public open fun enabled(): Any? = unwrap(this).getEnabled() + + /** + * Specifies whether the key is enabled. + */ + public open fun enabled(`value`: Boolean) { + unwrap(this).setEnabled(`value`) + } + + /** + * Specifies whether the key is enabled. + */ + public open fun enabled(`value`: IResolvable) { + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Specifies whether the key is exportable. + */ + public open fun exportable(): Any = unwrap(this).getExportable() + + /** + * Specifies whether the key is exportable. + */ + public open fun exportable(`value`: Boolean) { + unwrap(this).setExportable(`value`) + } + + /** + * Specifies whether the key is exportable. + */ + public open fun exportable(`value`: IResolvable) { + unwrap(this).setExportable(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + */ + public open fun keyAttributes(): Any = unwrap(this).getKeyAttributes() + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + */ + public open fun keyAttributes(`value`: IResolvable) { + unwrap(this).setKeyAttributes(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + */ + public open fun keyAttributes(`value`: KeyAttributesProperty) { + unwrap(this).setKeyAttributes(`value`.let(KeyAttributesProperty.Companion::unwrap)) + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("92c53be8bb2fec5bbae813ef55007c1591af4a8722538629ae756d6c153e5646") + public open fun keyAttributes(`value`: KeyAttributesProperty.Builder.() -> Unit): Unit = + keyAttributes(KeyAttributesProperty(`value`)) + + /** + * The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). + */ + public open fun keyCheckValueAlgorithm(): String? = unwrap(this).getKeyCheckValueAlgorithm() + + /** + * The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). + */ + public open fun keyCheckValueAlgorithm(`value`: String) { + unwrap(this).setKeyCheckValueAlgorithm(`value`) + } + + /** + * + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.paymentcryptography.CfnKey]. + */ + @CdkDslMarker + public interface Builder { + /** + * Specifies whether the key is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled) + * @param enabled Specifies whether the key is enabled. + */ + public fun enabled(enabled: Boolean) + + /** + * Specifies whether the key is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled) + * @param enabled Specifies whether the key is enabled. + */ + public fun enabled(enabled: IResolvable) + + /** + * Specifies whether the key is exportable. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable) + * @param exportable Specifies whether the key is exportable. + */ + public fun exportable(exportable: Boolean) + + /** + * Specifies whether the key is exportable. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable) + * @param exportable Specifies whether the key is exportable. + */ + public fun exportable(exportable: IResolvable) + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + */ + public fun keyAttributes(keyAttributes: IResolvable) + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + */ + public fun keyAttributes(keyAttributes: KeyAttributesProperty) + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b714e115fede5ef3cfc396081ec9e7e8a294e32945c0ebcf6fea9f595646bc32") + public fun keyAttributes(keyAttributes: KeyAttributesProperty.Builder.() -> Unit) + + /** + * The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). + * + * It is used to validate the key integrity. + * + * For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the + * key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, + * the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and + * retaining the 3 highest order bytes of the encrypted result. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keycheckvaluealgorithm) + * @param keyCheckValueAlgorithm The algorithm that AWS Payment Cryptography uses to calculate + * the key check value (KCV). + */ + public fun keyCheckValueAlgorithm(keyCheckValueAlgorithm: String) + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags) + * @param tags + */ + public fun tags(tags: List) + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags) + * @param tags + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.paymentcryptography.CfnKey.Builder = + software.amazon.awscdk.services.paymentcryptography.CfnKey.Builder.create(scope, id) + + /** + * Specifies whether the key is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled) + * @param enabled Specifies whether the key is enabled. + */ + override fun enabled(enabled: Boolean) { + cdkBuilder.enabled(enabled) + } + + /** + * Specifies whether the key is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled) + * @param enabled Specifies whether the key is enabled. + */ + override fun enabled(enabled: IResolvable) { + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) + } + + /** + * Specifies whether the key is exportable. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable) + * @param exportable Specifies whether the key is exportable. + */ + override fun exportable(exportable: Boolean) { + cdkBuilder.exportable(exportable) + } + + /** + * Specifies whether the key is exportable. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable) + * @param exportable Specifies whether the key is exportable. + */ + override fun exportable(exportable: IResolvable) { + cdkBuilder.exportable(exportable.let(IResolvable.Companion::unwrap)) + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + */ + override fun keyAttributes(keyAttributes: IResolvable) { + cdkBuilder.keyAttributes(keyAttributes.let(IResolvable.Companion::unwrap)) + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + */ + override fun keyAttributes(keyAttributes: KeyAttributesProperty) { + cdkBuilder.keyAttributes(keyAttributes.let(KeyAttributesProperty.Companion::unwrap)) + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b714e115fede5ef3cfc396081ec9e7e8a294e32945c0ebcf6fea9f595646bc32") + override fun keyAttributes(keyAttributes: KeyAttributesProperty.Builder.() -> Unit): Unit = + keyAttributes(KeyAttributesProperty(keyAttributes)) + + /** + * The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). + * + * It is used to validate the key integrity. + * + * For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the + * key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, + * the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and + * retaining the 3 highest order bytes of the encrypted result. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keycheckvaluealgorithm) + * @param keyCheckValueAlgorithm The algorithm that AWS Payment Cryptography uses to calculate + * the key check value (KCV). + */ + override fun keyCheckValueAlgorithm(keyCheckValueAlgorithm: String) { + cdkBuilder.keyCheckValueAlgorithm(keyCheckValueAlgorithm) + } + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags) + * @param tags + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags) + * @param tags + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.paymentcryptography.CfnKey = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.paymentcryptography.CfnKey.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnKey { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnKey(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKey): CfnKey + = CfnKey(cdkObject) + + internal fun unwrap(wrapped: CfnKey): software.amazon.awscdk.services.paymentcryptography.CfnKey + = wrapped.cdkObject as software.amazon.awscdk.services.paymentcryptography.CfnKey + } + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.paymentcryptography.*; + * KeyAttributesProperty keyAttributesProperty = KeyAttributesProperty.builder() + * .keyAlgorithm("keyAlgorithm") + * .keyClass("keyClass") + * .keyModesOfUse(KeyModesOfUseProperty.builder() + * .decrypt(false) + * .deriveKey(false) + * .encrypt(false) + * .generate(false) + * .noRestrictions(false) + * .sign(false) + * .unwrap(false) + * .verify(false) + * .wrap(false) + * .build()) + * .keyUsage("keyUsage") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html) + */ + public interface KeyAttributesProperty { + /** + * The key algorithm to be use during creation of an AWS Payment Cryptography key. + * + * For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For + * asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyalgorithm) + */ + public fun keyAlgorithm(): String + + /** + * The type of AWS Payment Cryptography key to create, which determines the classification of the + * cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an + * asymmetric key pair. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyclass) + */ + public fun keyClass(): String + + /** + * The list of cryptographic operations that you can perform using the key. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keymodesofuse) + */ + public fun keyModesOfUse(): Any + + /** + * The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the + * TR-31 spec. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyusage) + */ + public fun keyUsage(): String + + /** + * A builder for [KeyAttributesProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param keyAlgorithm The key algorithm to be use during creation of an AWS Payment + * Cryptography key. + * For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For + * asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms. + */ + public fun keyAlgorithm(keyAlgorithm: String) + + /** + * @param keyClass The type of AWS Payment Cryptography key to create, which determines the + * classification of the cryptographic method and whether AWS Payment Cryptography key contains a + * symmetric key or an asymmetric key pair. + */ + public fun keyClass(keyClass: String) + + /** + * @param keyModesOfUse The list of cryptographic operations that you can perform using the + * key. + */ + public fun keyModesOfUse(keyModesOfUse: IResolvable) + + /** + * @param keyModesOfUse The list of cryptographic operations that you can perform using the + * key. + */ + public fun keyModesOfUse(keyModesOfUse: KeyModesOfUseProperty) + + /** + * @param keyModesOfUse The list of cryptographic operations that you can perform using the + * key. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("25a602ed6f1cd3a1ce5e2f351feb461dfef93b682f0079085cb41723ee28bb1a") + public fun keyModesOfUse(keyModesOfUse: KeyModesOfUseProperty.Builder.() -> Unit) + + /** + * @param keyUsage The cryptographic usage of an AWS Payment Cryptography key as defined in + * section A.5.2 of the TR-31 spec. + */ + public fun keyUsage(keyUsage: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty.Builder = + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty.builder() + + /** + * @param keyAlgorithm The key algorithm to be use during creation of an AWS Payment + * Cryptography key. + * For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For + * asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms. + */ + override fun keyAlgorithm(keyAlgorithm: String) { + cdkBuilder.keyAlgorithm(keyAlgorithm) + } + + /** + * @param keyClass The type of AWS Payment Cryptography key to create, which determines the + * classification of the cryptographic method and whether AWS Payment Cryptography key contains a + * symmetric key or an asymmetric key pair. + */ + override fun keyClass(keyClass: String) { + cdkBuilder.keyClass(keyClass) + } + + /** + * @param keyModesOfUse The list of cryptographic operations that you can perform using the + * key. + */ + override fun keyModesOfUse(keyModesOfUse: IResolvable) { + cdkBuilder.keyModesOfUse(keyModesOfUse.let(IResolvable.Companion::unwrap)) + } + + /** + * @param keyModesOfUse The list of cryptographic operations that you can perform using the + * key. + */ + override fun keyModesOfUse(keyModesOfUse: KeyModesOfUseProperty) { + cdkBuilder.keyModesOfUse(keyModesOfUse.let(KeyModesOfUseProperty.Companion::unwrap)) + } + + /** + * @param keyModesOfUse The list of cryptographic operations that you can perform using the + * key. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("25a602ed6f1cd3a1ce5e2f351feb461dfef93b682f0079085cb41723ee28bb1a") + override fun keyModesOfUse(keyModesOfUse: KeyModesOfUseProperty.Builder.() -> Unit): Unit = + keyModesOfUse(KeyModesOfUseProperty(keyModesOfUse)) + + /** + * @param keyUsage The cryptographic usage of an AWS Payment Cryptography key as defined in + * section A.5.2 of the TR-31 spec. + */ + override fun keyUsage(keyUsage: String) { + cdkBuilder.keyUsage(keyUsage) + } + + public fun build(): + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty, + ) : CdkObject(cdkObject), KeyAttributesProperty { + /** + * The key algorithm to be use during creation of an AWS Payment Cryptography key. + * + * For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For + * asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyalgorithm) + */ + override fun keyAlgorithm(): String = unwrap(this).getKeyAlgorithm() + + /** + * The type of AWS Payment Cryptography key to create, which determines the classification of + * the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or + * an asymmetric key pair. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyclass) + */ + override fun keyClass(): String = unwrap(this).getKeyClass() + + /** + * The list of cryptographic operations that you can perform using the key. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keymodesofuse) + */ + override fun keyModesOfUse(): Any = unwrap(this).getKeyModesOfUse() + + /** + * The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of + * the TR-31 spec. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyusage) + */ + override fun keyUsage(): String = unwrap(this).getKeyUsage() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): KeyAttributesProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty): + KeyAttributesProperty = CdkObjectWrappers.wrap(cdkObject) as? KeyAttributesProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: KeyAttributesProperty): + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyAttributesProperty + } + } + + /** + * The list of cryptographic operations that you can perform using the key. + * + * The modes of use are defined in section A.5.3 of the TR-31 spec. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.paymentcryptography.*; + * KeyModesOfUseProperty keyModesOfUseProperty = KeyModesOfUseProperty.builder() + * .decrypt(false) + * .deriveKey(false) + * .encrypt(false) + * .generate(false) + * .noRestrictions(false) + * .sign(false) + * .unwrap(false) + * .verify(false) + * .wrap(false) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html) + */ + public interface KeyModesOfUseProperty { + /** + * Specifies whether an AWS Payment Cryptography key can be used to decrypt data. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-decrypt) + */ + public fun decrypt(): Any? = unwrap(this).getDecrypt() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to derive new keys. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-derivekey) + */ + public fun deriveKey(): Any? = unwrap(this).getDeriveKey() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to encrypt data. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-encrypt) + */ + public fun encrypt(): Any? = unwrap(this).getEncrypt() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to generate and verify other + * card and PIN verification keys. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-generate) + */ + public fun generate(): Any? = unwrap(this).getGenerate() + + /** + * Specifies whether an AWS Payment Cryptography key has no special restrictions other than the + * restrictions implied by `KeyUsage` . + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-norestrictions) + */ + public fun noRestrictions(): Any? = unwrap(this).getNoRestrictions() + + /** + * Specifies whether an AWS Payment Cryptography key can be used for signing. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-sign) + */ + public fun sign(): Any? = unwrap(this).getSign() + + /** + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-unwrap) + */ + public fun unwrap(): Any? = unwrap(this).getUnwrap() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to verify signatures. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-verify) + */ + public fun verify(): Any? = unwrap(this).getVerify() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to wrap other keys. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-wrap) + */ + public fun wrap(): Any? = unwrap(this).getWrap() + + /** + * A builder for [KeyModesOfUseProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param decrypt Specifies whether an AWS Payment Cryptography key can be used to decrypt + * data. + */ + public fun decrypt(decrypt: Boolean) + + /** + * @param decrypt Specifies whether an AWS Payment Cryptography key can be used to decrypt + * data. + */ + public fun decrypt(decrypt: IResolvable) + + /** + * @param deriveKey Specifies whether an AWS Payment Cryptography key can be used to derive new + * keys. + */ + public fun deriveKey(deriveKey: Boolean) + + /** + * @param deriveKey Specifies whether an AWS Payment Cryptography key can be used to derive new + * keys. + */ + public fun deriveKey(deriveKey: IResolvable) + + /** + * @param encrypt Specifies whether an AWS Payment Cryptography key can be used to encrypt + * data. + */ + public fun encrypt(encrypt: Boolean) + + /** + * @param encrypt Specifies whether an AWS Payment Cryptography key can be used to encrypt + * data. + */ + public fun encrypt(encrypt: IResolvable) + + /** + * @param generate Specifies whether an AWS Payment Cryptography key can be used to generate + * and verify other card and PIN verification keys. + */ + public fun generate(generate: Boolean) + + /** + * @param generate Specifies whether an AWS Payment Cryptography key can be used to generate + * and verify other card and PIN verification keys. + */ + public fun generate(generate: IResolvable) + + /** + * @param noRestrictions Specifies whether an AWS Payment Cryptography key has no special + * restrictions other than the restrictions implied by `KeyUsage` . + */ + public fun noRestrictions(noRestrictions: Boolean) + + /** + * @param noRestrictions Specifies whether an AWS Payment Cryptography key has no special + * restrictions other than the restrictions implied by `KeyUsage` . + */ + public fun noRestrictions(noRestrictions: IResolvable) + + /** + * @param sign Specifies whether an AWS Payment Cryptography key can be used for signing. + */ + public fun sign(sign: Boolean) + + /** + * @param sign Specifies whether an AWS Payment Cryptography key can be used for signing. + */ + public fun sign(sign: IResolvable) + + /** + * @param unwrap the value to be set. + */ + public fun unwrap(unwrap: Boolean) + + /** + * @param unwrap the value to be set. + */ + public fun unwrap(unwrap: IResolvable) + + /** + * @param verify Specifies whether an AWS Payment Cryptography key can be used to verify + * signatures. + */ + public fun verify(verify: Boolean) + + /** + * @param verify Specifies whether an AWS Payment Cryptography key can be used to verify + * signatures. + */ + public fun verify(verify: IResolvable) + + /** + * @param wrap Specifies whether an AWS Payment Cryptography key can be used to wrap other + * keys. + */ + public fun wrap(wrap: Boolean) + + /** + * @param wrap Specifies whether an AWS Payment Cryptography key can be used to wrap other + * keys. + */ + public fun wrap(wrap: IResolvable) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty.Builder = + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty.builder() + + /** + * @param decrypt Specifies whether an AWS Payment Cryptography key can be used to decrypt + * data. + */ + override fun decrypt(decrypt: Boolean) { + cdkBuilder.decrypt(decrypt) + } + + /** + * @param decrypt Specifies whether an AWS Payment Cryptography key can be used to decrypt + * data. + */ + override fun decrypt(decrypt: IResolvable) { + cdkBuilder.decrypt(decrypt.let(IResolvable.Companion::unwrap)) + } + + /** + * @param deriveKey Specifies whether an AWS Payment Cryptography key can be used to derive new + * keys. + */ + override fun deriveKey(deriveKey: Boolean) { + cdkBuilder.deriveKey(deriveKey) + } + + /** + * @param deriveKey Specifies whether an AWS Payment Cryptography key can be used to derive new + * keys. + */ + override fun deriveKey(deriveKey: IResolvable) { + cdkBuilder.deriveKey(deriveKey.let(IResolvable.Companion::unwrap)) + } + + /** + * @param encrypt Specifies whether an AWS Payment Cryptography key can be used to encrypt + * data. + */ + override fun encrypt(encrypt: Boolean) { + cdkBuilder.encrypt(encrypt) + } + + /** + * @param encrypt Specifies whether an AWS Payment Cryptography key can be used to encrypt + * data. + */ + override fun encrypt(encrypt: IResolvable) { + cdkBuilder.encrypt(encrypt.let(IResolvable.Companion::unwrap)) + } + + /** + * @param generate Specifies whether an AWS Payment Cryptography key can be used to generate + * and verify other card and PIN verification keys. + */ + override fun generate(generate: Boolean) { + cdkBuilder.generate(generate) + } + + /** + * @param generate Specifies whether an AWS Payment Cryptography key can be used to generate + * and verify other card and PIN verification keys. + */ + override fun generate(generate: IResolvable) { + cdkBuilder.generate(generate.let(IResolvable.Companion::unwrap)) + } + + /** + * @param noRestrictions Specifies whether an AWS Payment Cryptography key has no special + * restrictions other than the restrictions implied by `KeyUsage` . + */ + override fun noRestrictions(noRestrictions: Boolean) { + cdkBuilder.noRestrictions(noRestrictions) + } + + /** + * @param noRestrictions Specifies whether an AWS Payment Cryptography key has no special + * restrictions other than the restrictions implied by `KeyUsage` . + */ + override fun noRestrictions(noRestrictions: IResolvable) { + cdkBuilder.noRestrictions(noRestrictions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param sign Specifies whether an AWS Payment Cryptography key can be used for signing. + */ + override fun sign(sign: Boolean) { + cdkBuilder.sign(sign) + } + + /** + * @param sign Specifies whether an AWS Payment Cryptography key can be used for signing. + */ + override fun sign(sign: IResolvable) { + cdkBuilder.sign(sign.let(IResolvable.Companion::unwrap)) + } + + /** + * @param unwrap the value to be set. + */ + override fun unwrap(unwrap: Boolean) { + cdkBuilder.unwrap(unwrap) + } + + /** + * @param unwrap the value to be set. + */ + override fun unwrap(unwrap: IResolvable) { + cdkBuilder.unwrap(unwrap.let(IResolvable.Companion::unwrap)) + } + + /** + * @param verify Specifies whether an AWS Payment Cryptography key can be used to verify + * signatures. + */ + override fun verify(verify: Boolean) { + cdkBuilder.verify(verify) + } + + /** + * @param verify Specifies whether an AWS Payment Cryptography key can be used to verify + * signatures. + */ + override fun verify(verify: IResolvable) { + cdkBuilder.verify(verify.let(IResolvable.Companion::unwrap)) + } + + /** + * @param wrap Specifies whether an AWS Payment Cryptography key can be used to wrap other + * keys. + */ + override fun wrap(wrap: Boolean) { + cdkBuilder.wrap(wrap) + } + + /** + * @param wrap Specifies whether an AWS Payment Cryptography key can be used to wrap other + * keys. + */ + override fun wrap(wrap: IResolvable) { + cdkBuilder.wrap(wrap.let(IResolvable.Companion::unwrap)) + } + + public fun build(): + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty, + ) : CdkObject(cdkObject), KeyModesOfUseProperty { + /** + * Specifies whether an AWS Payment Cryptography key can be used to decrypt data. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-decrypt) + */ + override fun decrypt(): Any? = unwrap(this).getDecrypt() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to derive new keys. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-derivekey) + */ + override fun deriveKey(): Any? = unwrap(this).getDeriveKey() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to encrypt data. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-encrypt) + */ + override fun encrypt(): Any? = unwrap(this).getEncrypt() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to generate and verify other + * card and PIN verification keys. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-generate) + */ + override fun generate(): Any? = unwrap(this).getGenerate() + + /** + * Specifies whether an AWS Payment Cryptography key has no special restrictions other than the + * restrictions implied by `KeyUsage` . + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-norestrictions) + */ + override fun noRestrictions(): Any? = unwrap(this).getNoRestrictions() + + /** + * Specifies whether an AWS Payment Cryptography key can be used for signing. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-sign) + */ + override fun sign(): Any? = unwrap(this).getSign() + + /** + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-unwrap) + */ + override fun unwrap(): Any? = unwrap(this).getUnwrap() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to verify signatures. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-verify) + */ + override fun verify(): Any? = unwrap(this).getVerify() + + /** + * Specifies whether an AWS Payment Cryptography key can be used to wrap other keys. + * + * Default: - false + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-wrap) + */ + override fun wrap(): Any? = unwrap(this).getWrap() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): KeyModesOfUseProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty): + KeyModesOfUseProperty = CdkObjectWrappers.wrap(cdkObject) as? KeyModesOfUseProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: KeyModesOfUseProperty): + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.paymentcryptography.CfnKey.KeyModesOfUseProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKeyProps.kt new file mode 100644 index 0000000000..574c3ed04f --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKeyProps.kt @@ -0,0 +1,329 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.paymentcryptography + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.Boolean +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnKey`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.paymentcryptography.*; + * CfnKeyProps cfnKeyProps = CfnKeyProps.builder() + * .exportable(false) + * .keyAttributes(KeyAttributesProperty.builder() + * .keyAlgorithm("keyAlgorithm") + * .keyClass("keyClass") + * .keyModesOfUse(KeyModesOfUseProperty.builder() + * .decrypt(false) + * .deriveKey(false) + * .encrypt(false) + * .generate(false) + * .noRestrictions(false) + * .sign(false) + * .unwrap(false) + * .verify(false) + * .wrap(false) + * .build()) + * .keyUsage("keyUsage") + * .build()) + * // the properties below are optional + * .enabled(false) + * .keyCheckValueAlgorithm("keyCheckValueAlgorithm") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html) + */ +public interface CfnKeyProps { + /** + * Specifies whether the key is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled) + */ + public fun enabled(): Any? = unwrap(this).getEnabled() + + /** + * Specifies whether the key is exportable. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable) + */ + public fun exportable(): Any + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + */ + public fun keyAttributes(): Any + + /** + * The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). + * + * It is used to validate the key integrity. + * + * For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key + * to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the + * KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the + * 3 highest order bytes of the encrypted result. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keycheckvaluealgorithm) + */ + public fun keyCheckValueAlgorithm(): String? = unwrap(this).getKeyCheckValueAlgorithm() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A builder for [CfnKeyProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param enabled Specifies whether the key is enabled. + */ + public fun enabled(enabled: Boolean) + + /** + * @param enabled Specifies whether the key is enabled. + */ + public fun enabled(enabled: IResolvable) + + /** + * @param exportable Specifies whether the key is exportable. + * This data is immutable after the key is created. + */ + public fun exportable(exportable: Boolean) + + /** + * @param exportable Specifies whether the key is exportable. + * This data is immutable after the key is created. + */ + public fun exportable(exportable: IResolvable) + + /** + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + * This data is immutable after the key is created. + */ + public fun keyAttributes(keyAttributes: IResolvable) + + /** + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + * This data is immutable after the key is created. + */ + public fun keyAttributes(keyAttributes: CfnKey.KeyAttributesProperty) + + /** + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + * This data is immutable after the key is created. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a20c708ae3266f76fc2daadbfa4daf16ba06adb86d55e9eae6747ba8b83743bf") + public fun keyAttributes(keyAttributes: CfnKey.KeyAttributesProperty.Builder.() -> Unit) + + /** + * @param keyCheckValueAlgorithm The algorithm that AWS Payment Cryptography uses to calculate + * the key check value (KCV). + * It is used to validate the key integrity. + * + * For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the + * key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, + * the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and + * retaining the 3 highest order bytes of the encrypted result. + */ + public fun keyCheckValueAlgorithm(keyCheckValueAlgorithm: String) + + /** + * @param tags the value to be set. + */ + public fun tags(tags: List) + + /** + * @param tags the value to be set. + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.paymentcryptography.CfnKeyProps.Builder + = software.amazon.awscdk.services.paymentcryptography.CfnKeyProps.builder() + + /** + * @param enabled Specifies whether the key is enabled. + */ + override fun enabled(enabled: Boolean) { + cdkBuilder.enabled(enabled) + } + + /** + * @param enabled Specifies whether the key is enabled. + */ + override fun enabled(enabled: IResolvable) { + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) + } + + /** + * @param exportable Specifies whether the key is exportable. + * This data is immutable after the key is created. + */ + override fun exportable(exportable: Boolean) { + cdkBuilder.exportable(exportable) + } + + /** + * @param exportable Specifies whether the key is exportable. + * This data is immutable after the key is created. + */ + override fun exportable(exportable: IResolvable) { + cdkBuilder.exportable(exportable.let(IResolvable.Companion::unwrap)) + } + + /** + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + * This data is immutable after the key is created. + */ + override fun keyAttributes(keyAttributes: IResolvable) { + cdkBuilder.keyAttributes(keyAttributes.let(IResolvable.Companion::unwrap)) + } + + /** + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + * This data is immutable after the key is created. + */ + override fun keyAttributes(keyAttributes: CfnKey.KeyAttributesProperty) { + cdkBuilder.keyAttributes(keyAttributes.let(CfnKey.KeyAttributesProperty.Companion::unwrap)) + } + + /** + * @param keyAttributes The role of the key, the algorithm it supports, and the cryptographic + * operations allowed with the key. + * This data is immutable after the key is created. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a20c708ae3266f76fc2daadbfa4daf16ba06adb86d55e9eae6747ba8b83743bf") + override fun keyAttributes(keyAttributes: CfnKey.KeyAttributesProperty.Builder.() -> Unit): Unit + = keyAttributes(CfnKey.KeyAttributesProperty(keyAttributes)) + + /** + * @param keyCheckValueAlgorithm The algorithm that AWS Payment Cryptography uses to calculate + * the key check value (KCV). + * It is used to validate the key integrity. + * + * For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the + * key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, + * the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and + * retaining the 3 highest order bytes of the encrypted result. + */ + override fun keyCheckValueAlgorithm(keyCheckValueAlgorithm: String) { + cdkBuilder.keyCheckValueAlgorithm(keyCheckValueAlgorithm) + } + + /** + * @param tags the value to be set. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags the value to be set. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.paymentcryptography.CfnKeyProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKeyProps, + ) : CdkObject(cdkObject), CfnKeyProps { + /** + * Specifies whether the key is enabled. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled) + */ + override fun enabled(): Any? = unwrap(this).getEnabled() + + /** + * Specifies whether the key is exportable. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable) + */ + override fun exportable(): Any = unwrap(this).getExportable() + + /** + * The role of the key, the algorithm it supports, and the cryptographic operations allowed with + * the key. + * + * This data is immutable after the key is created. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes) + */ + override fun keyAttributes(): Any = unwrap(this).getKeyAttributes() + + /** + * The algorithm that AWS Payment Cryptography uses to calculate the key check value (KCV). + * + * It is used to validate the key integrity. + * + * For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the + * key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, + * the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and + * retaining the 3 highest order bytes of the encrypted result. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keycheckvaluealgorithm) + */ + override fun keyCheckValueAlgorithm(): String? = unwrap(this).getKeyCheckValueAlgorithm() + + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnKeyProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.paymentcryptography.CfnKeyProps): + CfnKeyProps = CdkObjectWrappers.wrap(cdkObject) as? CfnKeyProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnKeyProps): + software.amazon.awscdk.services.paymentcryptography.CfnKeyProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.paymentcryptography.CfnKeyProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnector.kt index 1b5ba4d48f..904bd67bdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnector.kt @@ -53,8 +53,8 @@ public open class CfnConnector( id: String, props: CfnConnectorProps, ) : - this(software.amazon.awscdk.services.pcaconnectorad.CfnConnector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorProps::unwrap)) + this(software.amazon.awscdk.services.pcaconnectorad.CfnConnector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnConnector( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,14 +131,14 @@ public open class CfnConnector( * Information of the VPC and security group(s) used with the connector. */ public open fun vpcInformation(`value`: IResolvable) { - unwrap(this).setVpcInformation(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcInformation(`value`.let(IResolvable.Companion::unwrap)) } /** * Information of the VPC and security group(s) used with the connector. */ public open fun vpcInformation(`value`: VpcInformationProperty) { - unwrap(this).setVpcInformation(`value`.let(VpcInformationProperty::unwrap)) + unwrap(this).setVpcInformation(`value`.let(VpcInformationProperty.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnConnector( * @param vpcInformation Information of the VPC and security group(s) used with the connector. */ override fun vpcInformation(vpcInformation: IResolvable) { - cdkBuilder.vpcInformation(vpcInformation.let(IResolvable::unwrap)) + cdkBuilder.vpcInformation(vpcInformation.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnConnector( * @param vpcInformation Information of the VPC and security group(s) used with the connector. */ override fun vpcInformation(vpcInformation: VpcInformationProperty) { - cdkBuilder.vpcInformation(vpcInformation.let(VpcInformationProperty::unwrap)) + cdkBuilder.vpcInformation(vpcInformation.let(VpcInformationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnectorProps.kt index 0accfad598..82d219fa4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnConnectorProps.kt @@ -134,14 +134,14 @@ public interface CfnConnectorProps { * @param vpcInformation Information of the VPC and security group(s) used with the connector. */ override fun vpcInformation(vpcInformation: IResolvable) { - cdkBuilder.vpcInformation(vpcInformation.let(IResolvable::unwrap)) + cdkBuilder.vpcInformation(vpcInformation.let(IResolvable.Companion::unwrap)) } /** * @param vpcInformation Information of the VPC and security group(s) used with the connector. */ override fun vpcInformation(vpcInformation: CfnConnector.VpcInformationProperty) { - cdkBuilder.vpcInformation(vpcInformation.let(CfnConnector.VpcInformationProperty::unwrap)) + cdkBuilder.vpcInformation(vpcInformation.let(CfnConnector.VpcInformationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnDirectoryRegistration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnDirectoryRegistration.kt index 736b22c25b..b020290a4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnDirectoryRegistration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnDirectoryRegistration.kt @@ -43,8 +43,8 @@ public open class CfnDirectoryRegistration( id: String, props: CfnDirectoryRegistrationProps, ) : - this(software.amazon.awscdk.services.pcaconnectorad.CfnDirectoryRegistration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDirectoryRegistrationProps::unwrap)) + this(software.amazon.awscdk.services.pcaconnectorad.CfnDirectoryRegistration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDirectoryRegistrationProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnDirectoryRegistration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnServicePrincipalName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnServicePrincipalName.kt index 89c27edcb8..ca408d8535 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnServicePrincipalName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnServicePrincipalName.kt @@ -35,7 +35,7 @@ public open class CfnServicePrincipalName( cdkObject: software.amazon.awscdk.services.pcaconnectorad.CfnServicePrincipalName, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.pcaconnectorad.CfnServicePrincipalName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.pcaconnectorad.CfnServicePrincipalName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -44,8 +44,8 @@ public open class CfnServicePrincipalName( id: String, props: CfnServicePrincipalNameProps, ) : - this(software.amazon.awscdk.services.pcaconnectorad.CfnServicePrincipalName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServicePrincipalNameProps::unwrap)) + this(software.amazon.awscdk.services.pcaconnectorad.CfnServicePrincipalName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServicePrincipalNameProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnServicePrincipalName( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplate.kt index 477e3279d0..871b2e3db0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplate.kt @@ -293,8 +293,8 @@ public open class CfnTemplate( id: String, props: CfnTemplateProps, ) : - this(software.amazon.awscdk.services.pcaconnectorad.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTemplateProps::unwrap)) + this(software.amazon.awscdk.services.pcaconnectorad.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTemplateProps.Companion::unwrap)) ) public constructor( @@ -342,14 +342,14 @@ public open class CfnTemplate( * Template configuration to define the information included in certificates. */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * Template configuration to define the information included in certificates. */ public open fun definition(`value`: TemplateDefinitionProperty) { - unwrap(this).setDefinition(`value`.let(TemplateDefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(TemplateDefinitionProperty.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public open class CfnTemplate( * This setting allows the major version of a template to be increased automatically. */ public open fun reenrollAllCertificateHolders(`value`: IResolvable) { - unwrap(this).setReenrollAllCertificateHolders(`value`.let(IResolvable::unwrap)) + unwrap(this).setReenrollAllCertificateHolders(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class CfnTemplate( * @param definition Template configuration to define the information included in certificates. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnTemplate( * @param definition Template configuration to define the information included in certificates. */ override fun definition(definition: TemplateDefinitionProperty) { - cdkBuilder.definition(definition.let(TemplateDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(TemplateDefinitionProperty.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public open class CfnTemplate( * be increased automatically. */ override fun reenrollAllCertificateHolders(reenrollAllCertificateHolders: IResolvable) { - cdkBuilder.reenrollAllCertificateHolders(reenrollAllCertificateHolders.let(IResolvable::unwrap)) + cdkBuilder.reenrollAllCertificateHolders(reenrollAllCertificateHolders.let(IResolvable.Companion::unwrap)) } /** @@ -728,14 +728,14 @@ public open class CfnTemplate( * @param critical Marks the application policy extension as critical. */ override fun critical(critical: IResolvable) { - cdkBuilder.critical(critical.let(IResolvable::unwrap)) + cdkBuilder.critical(critical.let(IResolvable.Companion::unwrap)) } /** * @param policies Application policies describe what the certificate can be used for. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -1032,7 +1032,7 @@ public open class CfnTemplate( * when a new certificate will be requested. */ override fun renewalPeriod(renewalPeriod: IResolvable) { - cdkBuilder.renewalPeriod(renewalPeriod.let(IResolvable::unwrap)) + cdkBuilder.renewalPeriod(renewalPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -1040,7 +1040,7 @@ public open class CfnTemplate( * when a new certificate will be requested. */ override fun renewalPeriod(renewalPeriod: ValidityPeriodProperty) { - cdkBuilder.renewalPeriod(renewalPeriod.let(ValidityPeriodProperty::unwrap)) + cdkBuilder.renewalPeriod(renewalPeriod.let(ValidityPeriodProperty.Companion::unwrap)) } /** @@ -1064,7 +1064,7 @@ public open class CfnTemplate( * ValidityNotBefore value. */ override fun validityPeriod(validityPeriod: IResolvable) { - cdkBuilder.validityPeriod(validityPeriod.let(IResolvable::unwrap)) + cdkBuilder.validityPeriod(validityPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public open class CfnTemplate( * ValidityNotBefore value. */ override fun validityPeriod(validityPeriod: ValidityPeriodProperty) { - cdkBuilder.validityPeriod(validityPeriod.let(ValidityPeriodProperty::unwrap)) + cdkBuilder.validityPeriod(validityPeriod.let(ValidityPeriodProperty.Companion::unwrap)) } /** @@ -1299,7 +1299,7 @@ public open class CfnTemplate( */ override fun enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull: IResolvable) { - cdkBuilder.enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull.let(IResolvable::unwrap)) + cdkBuilder.enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull.let(IResolvable.Companion::unwrap)) } /** @@ -1313,7 +1313,7 @@ public open class CfnTemplate( * @param includeSymmetricAlgorithms Include symmetric algorithms allowed by the subject. */ override fun includeSymmetricAlgorithms(includeSymmetricAlgorithms: IResolvable) { - cdkBuilder.includeSymmetricAlgorithms(includeSymmetricAlgorithms.let(IResolvable::unwrap)) + cdkBuilder.includeSymmetricAlgorithms(includeSymmetricAlgorithms.let(IResolvable.Companion::unwrap)) } /** @@ -1333,7 +1333,7 @@ public open class CfnTemplate( * Kerberos elevation-of-privilege vulnerability. */ override fun noSecurityExtension(noSecurityExtension: IResolvable) { - cdkBuilder.noSecurityExtension(noSecurityExtension.let(IResolvable::unwrap)) + cdkBuilder.noSecurityExtension(noSecurityExtension.let(IResolvable.Companion::unwrap)) } /** @@ -1351,7 +1351,7 @@ public open class CfnTemplate( */ override fun removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore: IResolvable) { - cdkBuilder.removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore.let(IResolvable::unwrap)) + cdkBuilder.removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore.let(IResolvable.Companion::unwrap)) } /** @@ -1367,7 +1367,7 @@ public open class CfnTemplate( * the private key associated with the certificate is used. */ override fun userInteractionRequired(userInteractionRequired: IResolvable) { - cdkBuilder.userInteractionRequired(userInteractionRequired.let(IResolvable::unwrap)) + cdkBuilder.userInteractionRequired(userInteractionRequired.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1589,7 +1589,7 @@ public open class CfnTemplate( */ override fun enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull: IResolvable) { - cdkBuilder.enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull.let(IResolvable::unwrap)) + cdkBuilder.enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull.let(IResolvable.Companion::unwrap)) } /** @@ -1603,7 +1603,7 @@ public open class CfnTemplate( * @param includeSymmetricAlgorithms Include symmetric algorithms allowed by the subject. */ override fun includeSymmetricAlgorithms(includeSymmetricAlgorithms: IResolvable) { - cdkBuilder.includeSymmetricAlgorithms(includeSymmetricAlgorithms.let(IResolvable::unwrap)) + cdkBuilder.includeSymmetricAlgorithms(includeSymmetricAlgorithms.let(IResolvable.Companion::unwrap)) } /** @@ -1623,7 +1623,7 @@ public open class CfnTemplate( * Kerberos elevation-of-privilege vulnerability. */ override fun noSecurityExtension(noSecurityExtension: IResolvable) { - cdkBuilder.noSecurityExtension(noSecurityExtension.let(IResolvable::unwrap)) + cdkBuilder.noSecurityExtension(noSecurityExtension.let(IResolvable.Companion::unwrap)) } /** @@ -1641,7 +1641,7 @@ public open class CfnTemplate( */ override fun removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore: IResolvable) { - cdkBuilder.removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore.let(IResolvable::unwrap)) + cdkBuilder.removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore.let(IResolvable.Companion::unwrap)) } /** @@ -1657,7 +1657,7 @@ public open class CfnTemplate( * the private key associated with the certificate is used. */ override fun userInteractionRequired(userInteractionRequired: IResolvable) { - cdkBuilder.userInteractionRequired(userInteractionRequired.let(IResolvable::unwrap)) + cdkBuilder.userInteractionRequired(userInteractionRequired.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1879,7 +1879,7 @@ public open class CfnTemplate( */ override fun enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull: IResolvable) { - cdkBuilder.enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull.let(IResolvable::unwrap)) + cdkBuilder.enableKeyReuseOnNtTokenKeysetStorageFull(enableKeyReuseOnNtTokenKeysetStorageFull.let(IResolvable.Companion::unwrap)) } /** @@ -1893,7 +1893,7 @@ public open class CfnTemplate( * @param includeSymmetricAlgorithms Include symmetric algorithms allowed by the subject. */ override fun includeSymmetricAlgorithms(includeSymmetricAlgorithms: IResolvable) { - cdkBuilder.includeSymmetricAlgorithms(includeSymmetricAlgorithms.let(IResolvable::unwrap)) + cdkBuilder.includeSymmetricAlgorithms(includeSymmetricAlgorithms.let(IResolvable.Companion::unwrap)) } /** @@ -1913,7 +1913,7 @@ public open class CfnTemplate( * Kerberos elevation-of-privilege vulnerability. */ override fun noSecurityExtension(noSecurityExtension: IResolvable) { - cdkBuilder.noSecurityExtension(noSecurityExtension.let(IResolvable::unwrap)) + cdkBuilder.noSecurityExtension(noSecurityExtension.let(IResolvable.Companion::unwrap)) } /** @@ -1931,7 +1931,7 @@ public open class CfnTemplate( */ override fun removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore: IResolvable) { - cdkBuilder.removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore.let(IResolvable::unwrap)) + cdkBuilder.removeInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore.let(IResolvable.Companion::unwrap)) } /** @@ -1947,7 +1947,7 @@ public open class CfnTemplate( * the private key associated with the certificate is used. */ override fun userInteractionRequired(userInteractionRequired: IResolvable) { - cdkBuilder.userInteractionRequired(userInteractionRequired.let(IResolvable::unwrap)) + cdkBuilder.userInteractionRequired(userInteractionRequired.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2126,7 +2126,7 @@ public open class CfnTemplate( * and its purpose. */ override fun applicationPolicies(applicationPolicies: IResolvable) { - cdkBuilder.applicationPolicies(applicationPolicies.let(IResolvable::unwrap)) + cdkBuilder.applicationPolicies(applicationPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -2134,7 +2134,7 @@ public open class CfnTemplate( * and its purpose. */ override fun applicationPolicies(applicationPolicies: ApplicationPoliciesProperty) { - cdkBuilder.applicationPolicies(applicationPolicies.let(ApplicationPoliciesProperty::unwrap)) + cdkBuilder.applicationPolicies(applicationPolicies.let(ApplicationPoliciesProperty.Companion::unwrap)) } /** @@ -2152,7 +2152,7 @@ public open class CfnTemplate( * certificate signing) of the key contained in the certificate. */ override fun keyUsage(keyUsage: IResolvable) { - cdkBuilder.keyUsage(keyUsage.let(IResolvable::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(IResolvable.Companion::unwrap)) } /** @@ -2160,7 +2160,7 @@ public open class CfnTemplate( * certificate signing) of the key contained in the certificate. */ override fun keyUsage(keyUsage: KeyUsageProperty) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty.Companion::unwrap)) } /** @@ -2322,7 +2322,7 @@ public open class CfnTemplate( * and its purpose. */ override fun applicationPolicies(applicationPolicies: IResolvable) { - cdkBuilder.applicationPolicies(applicationPolicies.let(IResolvable::unwrap)) + cdkBuilder.applicationPolicies(applicationPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -2330,7 +2330,7 @@ public open class CfnTemplate( * and its purpose. */ override fun applicationPolicies(applicationPolicies: ApplicationPoliciesProperty) { - cdkBuilder.applicationPolicies(applicationPolicies.let(ApplicationPoliciesProperty::unwrap)) + cdkBuilder.applicationPolicies(applicationPolicies.let(ApplicationPoliciesProperty.Companion::unwrap)) } /** @@ -2348,7 +2348,7 @@ public open class CfnTemplate( * certificate signing) of the key contained in the certificate. */ override fun keyUsage(keyUsage: IResolvable) { - cdkBuilder.keyUsage(keyUsage.let(IResolvable::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(IResolvable.Companion::unwrap)) } /** @@ -2356,7 +2356,7 @@ public open class CfnTemplate( * certificate signing) of the key contained in the certificate. */ override fun keyUsage(keyUsage: KeyUsageProperty) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty.Companion::unwrap)) } /** @@ -2518,7 +2518,7 @@ public open class CfnTemplate( * and its purpose. */ override fun applicationPolicies(applicationPolicies: IResolvable) { - cdkBuilder.applicationPolicies(applicationPolicies.let(IResolvable::unwrap)) + cdkBuilder.applicationPolicies(applicationPolicies.let(IResolvable.Companion::unwrap)) } /** @@ -2526,7 +2526,7 @@ public open class CfnTemplate( * and its purpose. */ override fun applicationPolicies(applicationPolicies: ApplicationPoliciesProperty) { - cdkBuilder.applicationPolicies(applicationPolicies.let(ApplicationPoliciesProperty::unwrap)) + cdkBuilder.applicationPolicies(applicationPolicies.let(ApplicationPoliciesProperty.Companion::unwrap)) } /** @@ -2544,7 +2544,7 @@ public open class CfnTemplate( * of the key contained in the certificate. */ override fun keyUsage(keyUsage: IResolvable) { - cdkBuilder.keyUsage(keyUsage.let(IResolvable::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(IResolvable.Companion::unwrap)) } /** @@ -2552,7 +2552,7 @@ public open class CfnTemplate( * of the key contained in the certificate. */ override fun keyUsage(keyUsage: KeyUsageProperty) { - cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty::unwrap)) + cdkBuilder.keyUsage(keyUsage.let(KeyUsageProperty.Companion::unwrap)) } /** @@ -2692,7 +2692,7 @@ public open class CfnTemplate( * Set to TRUE to allow autoenrollment. */ override fun autoEnrollment(autoEnrollment: IResolvable) { - cdkBuilder.autoEnrollment(autoEnrollment.let(IResolvable::unwrap)) + cdkBuilder.autoEnrollment(autoEnrollment.let(IResolvable.Companion::unwrap)) } /** @@ -2708,7 +2708,7 @@ public open class CfnTemplate( * Set to TRUE if the template is for machines. Set to FALSE if the template is for users. */ override fun machineType(machineType: IResolvable) { - cdkBuilder.machineType(machineType.let(IResolvable::unwrap)) + cdkBuilder.machineType(machineType.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2842,7 +2842,7 @@ public open class CfnTemplate( * Set to TRUE to allow autoenrollment. */ override fun autoEnrollment(autoEnrollment: IResolvable) { - cdkBuilder.autoEnrollment(autoEnrollment.let(IResolvable::unwrap)) + cdkBuilder.autoEnrollment(autoEnrollment.let(IResolvable.Companion::unwrap)) } /** @@ -2858,7 +2858,7 @@ public open class CfnTemplate( * Set to TRUE if the template is for machines. Set to FALSE if the template is for users */ override fun machineType(machineType: IResolvable) { - cdkBuilder.machineType(machineType.let(IResolvable::unwrap)) + cdkBuilder.machineType(machineType.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2992,7 +2992,7 @@ public open class CfnTemplate( * Set to TRUE to allow autoenrollment. */ override fun autoEnrollment(autoEnrollment: IResolvable) { - cdkBuilder.autoEnrollment(autoEnrollment.let(IResolvable::unwrap)) + cdkBuilder.autoEnrollment(autoEnrollment.let(IResolvable.Companion::unwrap)) } /** @@ -3008,7 +3008,7 @@ public open class CfnTemplate( * Set to TRUE if the template is for machines. Set to FALSE if the template is for users */ override fun machineType(machineType: IResolvable) { - cdkBuilder.machineType(machineType.let(IResolvable::unwrap)) + cdkBuilder.machineType(machineType.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3200,7 +3200,7 @@ public open class CfnTemplate( * for directly enciphering raw user data without the use of an intermediate symmetric cipher. */ override fun dataEncipherment(dataEncipherment: IResolvable) { - cdkBuilder.dataEncipherment(dataEncipherment.let(IResolvable::unwrap)) + cdkBuilder.dataEncipherment(dataEncipherment.let(IResolvable.Companion::unwrap)) } /** @@ -3216,7 +3216,7 @@ public open class CfnTemplate( * used for verifying digital signatures. */ override fun digitalSignature(digitalSignature: IResolvable) { - cdkBuilder.digitalSignature(digitalSignature.let(IResolvable::unwrap)) + cdkBuilder.digitalSignature(digitalSignature.let(IResolvable.Companion::unwrap)) } /** @@ -3232,7 +3232,7 @@ public open class CfnTemplate( * agreement. */ override fun keyAgreement(keyAgreement: IResolvable) { - cdkBuilder.keyAgreement(keyAgreement.let(IResolvable::unwrap)) + cdkBuilder.keyAgreement(keyAgreement.let(IResolvable.Companion::unwrap)) } /** @@ -3248,7 +3248,7 @@ public open class CfnTemplate( * enciphering private or secret keys, i.e., for key transport. */ override fun keyEncipherment(keyEncipherment: IResolvable) { - cdkBuilder.keyEncipherment(keyEncipherment.let(IResolvable::unwrap)) + cdkBuilder.keyEncipherment(keyEncipherment.let(IResolvable.Companion::unwrap)) } /** @@ -3264,7 +3264,7 @@ public open class CfnTemplate( * verify digital signatures. */ override fun nonRepudiation(nonRepudiation: IResolvable) { - cdkBuilder.nonRepudiation(nonRepudiation.let(IResolvable::unwrap)) + cdkBuilder.nonRepudiation(nonRepudiation.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3426,7 +3426,7 @@ public open class CfnTemplate( * @param critical Sets the key usage extension to critical. */ override fun critical(critical: IResolvable) { - cdkBuilder.critical(critical.let(IResolvable::unwrap)) + cdkBuilder.critical(critical.let(IResolvable.Companion::unwrap)) } /** @@ -3434,7 +3434,7 @@ public open class CfnTemplate( * of the key contained in the certificate. */ override fun usageFlags(usageFlags: IResolvable) { - cdkBuilder.usageFlags(usageFlags.let(IResolvable::unwrap)) + cdkBuilder.usageFlags(usageFlags.let(IResolvable.Companion::unwrap)) } /** @@ -3442,7 +3442,7 @@ public open class CfnTemplate( * of the key contained in the certificate. */ override fun usageFlags(usageFlags: KeyUsageFlagsProperty) { - cdkBuilder.usageFlags(usageFlags.let(KeyUsageFlagsProperty::unwrap)) + cdkBuilder.usageFlags(usageFlags.let(KeyUsageFlagsProperty.Companion::unwrap)) } /** @@ -3590,7 +3590,7 @@ public open class CfnTemplate( * @param decrypt Allows key for encryption and decryption. */ override fun decrypt(decrypt: IResolvable) { - cdkBuilder.decrypt(decrypt.let(IResolvable::unwrap)) + cdkBuilder.decrypt(decrypt.let(IResolvable.Companion::unwrap)) } /** @@ -3604,7 +3604,7 @@ public open class CfnTemplate( * @param keyAgreement Allows key exchange without encryption. */ override fun keyAgreement(keyAgreement: IResolvable) { - cdkBuilder.keyAgreement(keyAgreement.let(IResolvable::unwrap)) + cdkBuilder.keyAgreement(keyAgreement.let(IResolvable.Companion::unwrap)) } /** @@ -3618,7 +3618,7 @@ public open class CfnTemplate( * @param sign Allow key use for digital signature. */ override fun sign(sign: IResolvable) { - cdkBuilder.sign(sign.let(IResolvable::unwrap)) + cdkBuilder.sign(sign.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3758,7 +3758,7 @@ public open class CfnTemplate( * You can use property flags or property type but not both. */ override fun propertyFlags(propertyFlags: IResolvable) { - cdkBuilder.propertyFlags(propertyFlags.let(IResolvable::unwrap)) + cdkBuilder.propertyFlags(propertyFlags.let(IResolvable.Companion::unwrap)) } /** @@ -3767,7 +3767,7 @@ public open class CfnTemplate( * You can use property flags or property type but not both. */ override fun propertyFlags(propertyFlags: KeyUsagePropertyFlagsProperty) { - cdkBuilder.propertyFlags(propertyFlags.let(KeyUsagePropertyFlagsProperty::unwrap)) + cdkBuilder.propertyFlags(propertyFlags.let(KeyUsagePropertyFlagsProperty.Companion::unwrap)) } /** @@ -4161,7 +4161,7 @@ public open class CfnTemplate( * You can specify specific purposes using property flags or all by using property type ALL. */ override fun keyUsageProperty(keyUsageProperty: IResolvable) { - cdkBuilder.keyUsageProperty(keyUsageProperty.let(IResolvable::unwrap)) + cdkBuilder.keyUsageProperty(keyUsageProperty.let(IResolvable.Companion::unwrap)) } /** @@ -4170,7 +4170,7 @@ public open class CfnTemplate( * You can specify specific purposes using property flags or all by using property type ALL. */ override fun keyUsageProperty(keyUsageProperty: KeyUsagePropertyProperty) { - cdkBuilder.keyUsageProperty(keyUsageProperty.let(KeyUsagePropertyProperty::unwrap)) + cdkBuilder.keyUsageProperty(keyUsageProperty.let(KeyUsagePropertyProperty.Companion::unwrap)) } /** @@ -4425,7 +4425,7 @@ public open class CfnTemplate( * You can specify specific purposes using property flags or all by using property type ALL. */ override fun keyUsageProperty(keyUsageProperty: IResolvable) { - cdkBuilder.keyUsageProperty(keyUsageProperty.let(IResolvable::unwrap)) + cdkBuilder.keyUsageProperty(keyUsageProperty.let(IResolvable.Companion::unwrap)) } /** @@ -4434,7 +4434,7 @@ public open class CfnTemplate( * You can specify specific purposes using property flags or all by using property type ALL. */ override fun keyUsageProperty(keyUsageProperty: KeyUsagePropertyProperty) { - cdkBuilder.keyUsageProperty(keyUsageProperty.let(KeyUsagePropertyProperty::unwrap)) + cdkBuilder.keyUsageProperty(keyUsageProperty.let(KeyUsagePropertyProperty.Companion::unwrap)) } /** @@ -4620,7 +4620,7 @@ public open class CfnTemplate( * @param exportableKey Allows the private key to be exported. */ override fun exportableKey(exportableKey: IResolvable) { - cdkBuilder.exportableKey(exportableKey.let(IResolvable::unwrap)) + cdkBuilder.exportableKey(exportableKey.let(IResolvable.Companion::unwrap)) } /** @@ -4636,7 +4636,7 @@ public open class CfnTemplate( * enrollment. */ override fun strongKeyProtectionRequired(strongKeyProtectionRequired: IResolvable) { - cdkBuilder.strongKeyProtectionRequired(strongKeyProtectionRequired.let(IResolvable::unwrap)) + cdkBuilder.strongKeyProtectionRequired(strongKeyProtectionRequired.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4812,7 +4812,7 @@ public open class CfnTemplate( * @param exportableKey Allows the private key to be exported. */ override fun exportableKey(exportableKey: IResolvable) { - cdkBuilder.exportableKey(exportableKey.let(IResolvable::unwrap)) + cdkBuilder.exportableKey(exportableKey.let(IResolvable.Companion::unwrap)) } /** @@ -4831,7 +4831,7 @@ public open class CfnTemplate( */ override fun requireAlternateSignatureAlgorithm(requireAlternateSignatureAlgorithm: IResolvable) { - cdkBuilder.requireAlternateSignatureAlgorithm(requireAlternateSignatureAlgorithm.let(IResolvable::unwrap)) + cdkBuilder.requireAlternateSignatureAlgorithm(requireAlternateSignatureAlgorithm.let(IResolvable.Companion::unwrap)) } /** @@ -4847,7 +4847,7 @@ public open class CfnTemplate( * enrollment. */ override fun strongKeyProtectionRequired(strongKeyProtectionRequired: IResolvable) { - cdkBuilder.strongKeyProtectionRequired(strongKeyProtectionRequired.let(IResolvable::unwrap)) + cdkBuilder.strongKeyProtectionRequired(strongKeyProtectionRequired.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5077,7 +5077,7 @@ public open class CfnTemplate( * @param exportableKey Allows the private key to be exported. */ override fun exportableKey(exportableKey: IResolvable) { - cdkBuilder.exportableKey(exportableKey.let(IResolvable::unwrap)) + cdkBuilder.exportableKey(exportableKey.let(IResolvable.Companion::unwrap)) } /** @@ -5096,7 +5096,7 @@ public open class CfnTemplate( */ override fun requireAlternateSignatureAlgorithm(requireAlternateSignatureAlgorithm: IResolvable) { - cdkBuilder.requireAlternateSignatureAlgorithm(requireAlternateSignatureAlgorithm.let(IResolvable::unwrap)) + cdkBuilder.requireAlternateSignatureAlgorithm(requireAlternateSignatureAlgorithm.let(IResolvable.Companion::unwrap)) } /** @@ -5110,7 +5110,7 @@ public open class CfnTemplate( * @param requireSameKeyRenewal Renew certificate using the same private key. */ override fun requireSameKeyRenewal(requireSameKeyRenewal: IResolvable) { - cdkBuilder.requireSameKeyRenewal(requireSameKeyRenewal.let(IResolvable::unwrap)) + cdkBuilder.requireSameKeyRenewal(requireSameKeyRenewal.let(IResolvable.Companion::unwrap)) } /** @@ -5126,7 +5126,7 @@ public open class CfnTemplate( * enrollment. */ override fun strongKeyProtectionRequired(strongKeyProtectionRequired: IResolvable) { - cdkBuilder.strongKeyProtectionRequired(strongKeyProtectionRequired.let(IResolvable::unwrap)) + cdkBuilder.strongKeyProtectionRequired(strongKeyProtectionRequired.let(IResolvable.Companion::unwrap)) } /** @@ -5146,7 +5146,7 @@ public open class CfnTemplate( * Providers. */ override fun useLegacyProvider(useLegacyProvider: IResolvable) { - cdkBuilder.useLegacyProvider(useLegacyProvider.let(IResolvable::unwrap)) + cdkBuilder.useLegacyProvider(useLegacyProvider.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5454,7 +5454,7 @@ public open class CfnTemplate( * @param requireCommonName Include the common name in the subject name. */ override fun requireCommonName(requireCommonName: IResolvable) { - cdkBuilder.requireCommonName(requireCommonName.let(IResolvable::unwrap)) + cdkBuilder.requireCommonName(requireCommonName.let(IResolvable.Companion::unwrap)) } /** @@ -5468,7 +5468,7 @@ public open class CfnTemplate( * @param requireDirectoryPath Include the directory path in the subject name. */ override fun requireDirectoryPath(requireDirectoryPath: IResolvable) { - cdkBuilder.requireDirectoryPath(requireDirectoryPath.let(IResolvable::unwrap)) + cdkBuilder.requireDirectoryPath(requireDirectoryPath.let(IResolvable.Companion::unwrap)) } /** @@ -5482,7 +5482,7 @@ public open class CfnTemplate( * @param requireDnsAsCn Include the DNS as common name in the subject name. */ override fun requireDnsAsCn(requireDnsAsCn: IResolvable) { - cdkBuilder.requireDnsAsCn(requireDnsAsCn.let(IResolvable::unwrap)) + cdkBuilder.requireDnsAsCn(requireDnsAsCn.let(IResolvable.Companion::unwrap)) } /** @@ -5496,7 +5496,7 @@ public open class CfnTemplate( * @param requireEmail Include the subject's email in the subject name. */ override fun requireEmail(requireEmail: IResolvable) { - cdkBuilder.requireEmail(requireEmail.let(IResolvable::unwrap)) + cdkBuilder.requireEmail(requireEmail.let(IResolvable.Companion::unwrap)) } /** @@ -5512,7 +5512,7 @@ public open class CfnTemplate( * alternate name. */ override fun sanRequireDirectoryGuid(sanRequireDirectoryGuid: IResolvable) { - cdkBuilder.sanRequireDirectoryGuid(sanRequireDirectoryGuid.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDirectoryGuid(sanRequireDirectoryGuid.let(IResolvable.Companion::unwrap)) } /** @@ -5526,7 +5526,7 @@ public open class CfnTemplate( * @param sanRequireDns Include the DNS in the subject alternate name. */ override fun sanRequireDns(sanRequireDns: IResolvable) { - cdkBuilder.sanRequireDns(sanRequireDns.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDns(sanRequireDns.let(IResolvable.Companion::unwrap)) } /** @@ -5540,7 +5540,7 @@ public open class CfnTemplate( * @param sanRequireDomainDns Include the domain DNS in the subject alternate name. */ override fun sanRequireDomainDns(sanRequireDomainDns: IResolvable) { - cdkBuilder.sanRequireDomainDns(sanRequireDomainDns.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDomainDns(sanRequireDomainDns.let(IResolvable.Companion::unwrap)) } /** @@ -5554,7 +5554,7 @@ public open class CfnTemplate( * @param sanRequireEmail Include the subject's email in the subject alternate name. */ override fun sanRequireEmail(sanRequireEmail: IResolvable) { - cdkBuilder.sanRequireEmail(sanRequireEmail.let(IResolvable::unwrap)) + cdkBuilder.sanRequireEmail(sanRequireEmail.let(IResolvable.Companion::unwrap)) } /** @@ -5570,7 +5570,7 @@ public open class CfnTemplate( * name. */ override fun sanRequireSpn(sanRequireSpn: IResolvable) { - cdkBuilder.sanRequireSpn(sanRequireSpn.let(IResolvable::unwrap)) + cdkBuilder.sanRequireSpn(sanRequireSpn.let(IResolvable.Companion::unwrap)) } /** @@ -5584,7 +5584,7 @@ public open class CfnTemplate( * @param sanRequireUpn Include the user principal name (UPN) in the subject alternate name. */ override fun sanRequireUpn(sanRequireUpn: IResolvable) { - cdkBuilder.sanRequireUpn(sanRequireUpn.let(IResolvable::unwrap)) + cdkBuilder.sanRequireUpn(sanRequireUpn.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5914,7 +5914,7 @@ public open class CfnTemplate( * @param requireCommonName Include the common name in the subject name. */ override fun requireCommonName(requireCommonName: IResolvable) { - cdkBuilder.requireCommonName(requireCommonName.let(IResolvable::unwrap)) + cdkBuilder.requireCommonName(requireCommonName.let(IResolvable.Companion::unwrap)) } /** @@ -5928,7 +5928,7 @@ public open class CfnTemplate( * @param requireDirectoryPath Include the directory path in the subject name. */ override fun requireDirectoryPath(requireDirectoryPath: IResolvable) { - cdkBuilder.requireDirectoryPath(requireDirectoryPath.let(IResolvable::unwrap)) + cdkBuilder.requireDirectoryPath(requireDirectoryPath.let(IResolvable.Companion::unwrap)) } /** @@ -5942,7 +5942,7 @@ public open class CfnTemplate( * @param requireDnsAsCn Include the DNS as common name in the subject name. */ override fun requireDnsAsCn(requireDnsAsCn: IResolvable) { - cdkBuilder.requireDnsAsCn(requireDnsAsCn.let(IResolvable::unwrap)) + cdkBuilder.requireDnsAsCn(requireDnsAsCn.let(IResolvable.Companion::unwrap)) } /** @@ -5956,7 +5956,7 @@ public open class CfnTemplate( * @param requireEmail Include the subject's email in the subject name. */ override fun requireEmail(requireEmail: IResolvable) { - cdkBuilder.requireEmail(requireEmail.let(IResolvable::unwrap)) + cdkBuilder.requireEmail(requireEmail.let(IResolvable.Companion::unwrap)) } /** @@ -5972,7 +5972,7 @@ public open class CfnTemplate( * alternate name. */ override fun sanRequireDirectoryGuid(sanRequireDirectoryGuid: IResolvable) { - cdkBuilder.sanRequireDirectoryGuid(sanRequireDirectoryGuid.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDirectoryGuid(sanRequireDirectoryGuid.let(IResolvable.Companion::unwrap)) } /** @@ -5986,7 +5986,7 @@ public open class CfnTemplate( * @param sanRequireDns Include the DNS in the subject alternate name. */ override fun sanRequireDns(sanRequireDns: IResolvable) { - cdkBuilder.sanRequireDns(sanRequireDns.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDns(sanRequireDns.let(IResolvable.Companion::unwrap)) } /** @@ -6000,7 +6000,7 @@ public open class CfnTemplate( * @param sanRequireDomainDns Include the domain DNS in the subject alternate name. */ override fun sanRequireDomainDns(sanRequireDomainDns: IResolvable) { - cdkBuilder.sanRequireDomainDns(sanRequireDomainDns.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDomainDns(sanRequireDomainDns.let(IResolvable.Companion::unwrap)) } /** @@ -6014,7 +6014,7 @@ public open class CfnTemplate( * @param sanRequireEmail Include the subject's email in the subject alternate name. */ override fun sanRequireEmail(sanRequireEmail: IResolvable) { - cdkBuilder.sanRequireEmail(sanRequireEmail.let(IResolvable::unwrap)) + cdkBuilder.sanRequireEmail(sanRequireEmail.let(IResolvable.Companion::unwrap)) } /** @@ -6030,7 +6030,7 @@ public open class CfnTemplate( * name. */ override fun sanRequireSpn(sanRequireSpn: IResolvable) { - cdkBuilder.sanRequireSpn(sanRequireSpn.let(IResolvable::unwrap)) + cdkBuilder.sanRequireSpn(sanRequireSpn.let(IResolvable.Companion::unwrap)) } /** @@ -6044,7 +6044,7 @@ public open class CfnTemplate( * @param sanRequireUpn Include the user principal name (UPN) in the subject alternate name. */ override fun sanRequireUpn(sanRequireUpn: IResolvable) { - cdkBuilder.sanRequireUpn(sanRequireUpn.let(IResolvable::unwrap)) + cdkBuilder.sanRequireUpn(sanRequireUpn.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6374,7 +6374,7 @@ public open class CfnTemplate( * @param requireCommonName Include the common name in the subject name. */ override fun requireCommonName(requireCommonName: IResolvable) { - cdkBuilder.requireCommonName(requireCommonName.let(IResolvable::unwrap)) + cdkBuilder.requireCommonName(requireCommonName.let(IResolvable.Companion::unwrap)) } /** @@ -6388,7 +6388,7 @@ public open class CfnTemplate( * @param requireDirectoryPath Include the directory path in the subject name. */ override fun requireDirectoryPath(requireDirectoryPath: IResolvable) { - cdkBuilder.requireDirectoryPath(requireDirectoryPath.let(IResolvable::unwrap)) + cdkBuilder.requireDirectoryPath(requireDirectoryPath.let(IResolvable.Companion::unwrap)) } /** @@ -6402,7 +6402,7 @@ public open class CfnTemplate( * @param requireDnsAsCn Include the DNS as common name in the subject name. */ override fun requireDnsAsCn(requireDnsAsCn: IResolvable) { - cdkBuilder.requireDnsAsCn(requireDnsAsCn.let(IResolvable::unwrap)) + cdkBuilder.requireDnsAsCn(requireDnsAsCn.let(IResolvable.Companion::unwrap)) } /** @@ -6416,7 +6416,7 @@ public open class CfnTemplate( * @param requireEmail Include the subject's email in the subject name. */ override fun requireEmail(requireEmail: IResolvable) { - cdkBuilder.requireEmail(requireEmail.let(IResolvable::unwrap)) + cdkBuilder.requireEmail(requireEmail.let(IResolvable.Companion::unwrap)) } /** @@ -6432,7 +6432,7 @@ public open class CfnTemplate( * alternate name. */ override fun sanRequireDirectoryGuid(sanRequireDirectoryGuid: IResolvable) { - cdkBuilder.sanRequireDirectoryGuid(sanRequireDirectoryGuid.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDirectoryGuid(sanRequireDirectoryGuid.let(IResolvable.Companion::unwrap)) } /** @@ -6446,7 +6446,7 @@ public open class CfnTemplate( * @param sanRequireDns Include the DNS in the subject alternate name. */ override fun sanRequireDns(sanRequireDns: IResolvable) { - cdkBuilder.sanRequireDns(sanRequireDns.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDns(sanRequireDns.let(IResolvable.Companion::unwrap)) } /** @@ -6460,7 +6460,7 @@ public open class CfnTemplate( * @param sanRequireDomainDns Include the domain DNS in the subject alternate name. */ override fun sanRequireDomainDns(sanRequireDomainDns: IResolvable) { - cdkBuilder.sanRequireDomainDns(sanRequireDomainDns.let(IResolvable::unwrap)) + cdkBuilder.sanRequireDomainDns(sanRequireDomainDns.let(IResolvable.Companion::unwrap)) } /** @@ -6474,7 +6474,7 @@ public open class CfnTemplate( * @param sanRequireEmail Include the subject's email in the subject alternate name. */ override fun sanRequireEmail(sanRequireEmail: IResolvable) { - cdkBuilder.sanRequireEmail(sanRequireEmail.let(IResolvable::unwrap)) + cdkBuilder.sanRequireEmail(sanRequireEmail.let(IResolvable.Companion::unwrap)) } /** @@ -6490,7 +6490,7 @@ public open class CfnTemplate( * name. */ override fun sanRequireSpn(sanRequireSpn: IResolvable) { - cdkBuilder.sanRequireSpn(sanRequireSpn.let(IResolvable::unwrap)) + cdkBuilder.sanRequireSpn(sanRequireSpn.let(IResolvable.Companion::unwrap)) } /** @@ -6504,7 +6504,7 @@ public open class CfnTemplate( * @param sanRequireUpn Include the user principal name (UPN) in the subject alternate name. */ override fun sanRequireUpn(sanRequireUpn: IResolvable) { - cdkBuilder.sanRequireUpn(sanRequireUpn.let(IResolvable::unwrap)) + cdkBuilder.sanRequireUpn(sanRequireUpn.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6987,7 +6987,7 @@ public open class CfnTemplate( * enrollment options, key usage extensions, application policies, and cryptography settings. */ override fun templateV2(templateV2: IResolvable) { - cdkBuilder.templateV2(templateV2.let(IResolvable::unwrap)) + cdkBuilder.templateV2(templateV2.let(IResolvable.Companion::unwrap)) } /** @@ -6997,7 +6997,7 @@ public open class CfnTemplate( * enrollment options, key usage extensions, application policies, and cryptography settings. */ override fun templateV2(templateV2: TemplateV2Property) { - cdkBuilder.templateV2(templateV2.let(TemplateV2Property::unwrap)) + cdkBuilder.templateV2(templateV2.let(TemplateV2Property.Companion::unwrap)) } /** @@ -7018,7 +7018,7 @@ public open class CfnTemplate( * enrollment options, key usage extensions, application policies, and cryptography settings. */ override fun templateV3(templateV3: IResolvable) { - cdkBuilder.templateV3(templateV3.let(IResolvable::unwrap)) + cdkBuilder.templateV3(templateV3.let(IResolvable.Companion::unwrap)) } /** @@ -7028,7 +7028,7 @@ public open class CfnTemplate( * enrollment options, key usage extensions, application policies, and cryptography settings. */ override fun templateV3(templateV3: TemplateV3Property) { - cdkBuilder.templateV3(templateV3.let(TemplateV3Property::unwrap)) + cdkBuilder.templateV3(templateV3.let(TemplateV3Property.Companion::unwrap)) } /** @@ -7049,7 +7049,7 @@ public open class CfnTemplate( * enrollment options, key usage extensions, application policies, and cryptography settings. */ override fun templateV4(templateV4: IResolvable) { - cdkBuilder.templateV4(templateV4.let(IResolvable::unwrap)) + cdkBuilder.templateV4(templateV4.let(IResolvable.Companion::unwrap)) } /** @@ -7059,7 +7059,7 @@ public open class CfnTemplate( * enrollment options, key usage extensions, application policies, and cryptography settings. */ override fun templateV4(templateV4: TemplateV4Property) { - cdkBuilder.templateV4(templateV4.let(TemplateV4Property::unwrap)) + cdkBuilder.templateV4(templateV4.let(TemplateV4Property.Companion::unwrap)) } /** @@ -7455,7 +7455,7 @@ public open class CfnTemplate( * of a certificate. */ override fun certificateValidity(certificateValidity: IResolvable) { - cdkBuilder.certificateValidity(certificateValidity.let(IResolvable::unwrap)) + cdkBuilder.certificateValidity(certificateValidity.let(IResolvable.Companion::unwrap)) } /** @@ -7463,7 +7463,7 @@ public open class CfnTemplate( * of a certificate. */ override fun certificateValidity(certificateValidity: CertificateValidityProperty) { - cdkBuilder.certificateValidity(certificateValidity.let(CertificateValidityProperty::unwrap)) + cdkBuilder.certificateValidity(certificateValidity.let(CertificateValidityProperty.Companion::unwrap)) } /** @@ -7481,7 +7481,7 @@ public open class CfnTemplate( * such as using the existing private key and deleting expired or revoked certificates. */ override fun enrollmentFlags(enrollmentFlags: IResolvable) { - cdkBuilder.enrollmentFlags(enrollmentFlags.let(IResolvable::unwrap)) + cdkBuilder.enrollmentFlags(enrollmentFlags.let(IResolvable.Companion::unwrap)) } /** @@ -7489,7 +7489,7 @@ public open class CfnTemplate( * such as using the existing private key and deleting expired or revoked certificates. */ override fun enrollmentFlags(enrollmentFlags: EnrollmentFlagsV2Property) { - cdkBuilder.enrollmentFlags(enrollmentFlags.let(EnrollmentFlagsV2Property::unwrap)) + cdkBuilder.enrollmentFlags(enrollmentFlags.let(EnrollmentFlagsV2Property.Companion::unwrap)) } /** @@ -7506,7 +7506,7 @@ public open class CfnTemplate( * a template. */ override fun extensions(extensions: IResolvable) { - cdkBuilder.extensions(extensions.let(IResolvable::unwrap)) + cdkBuilder.extensions(extensions.let(IResolvable.Companion::unwrap)) } /** @@ -7514,7 +7514,7 @@ public open class CfnTemplate( * a template. */ override fun extensions(extensions: ExtensionsV2Property) { - cdkBuilder.extensions(extensions.let(ExtensionsV2Property::unwrap)) + cdkBuilder.extensions(extensions.let(ExtensionsV2Property.Companion::unwrap)) } /** @@ -7531,7 +7531,7 @@ public open class CfnTemplate( * users and if the template can be used with autoenrollment. */ override fun generalFlags(generalFlags: IResolvable) { - cdkBuilder.generalFlags(generalFlags.let(IResolvable::unwrap)) + cdkBuilder.generalFlags(generalFlags.let(IResolvable.Companion::unwrap)) } /** @@ -7539,7 +7539,7 @@ public open class CfnTemplate( * users and if the template can be used with autoenrollment. */ override fun generalFlags(generalFlags: GeneralFlagsV2Property) { - cdkBuilder.generalFlags(generalFlags.let(GeneralFlagsV2Property::unwrap)) + cdkBuilder.generalFlags(generalFlags.let(GeneralFlagsV2Property.Companion::unwrap)) } /** @@ -7558,7 +7558,7 @@ public open class CfnTemplate( * V2 templates allow you to use Legacy Cryptographic Service Providers. */ override fun privateKeyAttributes(privateKeyAttributes: IResolvable) { - cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(IResolvable::unwrap)) + cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -7568,7 +7568,7 @@ public open class CfnTemplate( * V2 templates allow you to use Legacy Cryptographic Service Providers. */ override fun privateKeyAttributes(privateKeyAttributes: PrivateKeyAttributesV2Property) { - cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(PrivateKeyAttributesV2Property::unwrap)) + cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(PrivateKeyAttributesV2Property.Companion::unwrap)) } /** @@ -7588,7 +7588,7 @@ public open class CfnTemplate( * if the private key can be exported, and if user input is required when using a private key. */ override fun privateKeyFlags(privateKeyFlags: IResolvable) { - cdkBuilder.privateKeyFlags(privateKeyFlags.let(IResolvable::unwrap)) + cdkBuilder.privateKeyFlags(privateKeyFlags.let(IResolvable.Companion::unwrap)) } /** @@ -7596,7 +7596,7 @@ public open class CfnTemplate( * if the private key can be exported, and if user input is required when using a private key. */ override fun privateKeyFlags(privateKeyFlags: PrivateKeyFlagsV2Property) { - cdkBuilder.privateKeyFlags(privateKeyFlags.let(PrivateKeyFlagsV2Property::unwrap)) + cdkBuilder.privateKeyFlags(privateKeyFlags.let(PrivateKeyFlagsV2Property.Companion::unwrap)) } /** @@ -7613,7 +7613,7 @@ public open class CfnTemplate( * name that is included in a certificate. */ override fun subjectNameFlags(subjectNameFlags: IResolvable) { - cdkBuilder.subjectNameFlags(subjectNameFlags.let(IResolvable::unwrap)) + cdkBuilder.subjectNameFlags(subjectNameFlags.let(IResolvable.Companion::unwrap)) } /** @@ -7621,7 +7621,7 @@ public open class CfnTemplate( * name that is included in a certificate. */ override fun subjectNameFlags(subjectNameFlags: SubjectNameFlagsV2Property) { - cdkBuilder.subjectNameFlags(subjectNameFlags.let(SubjectNameFlagsV2Property::unwrap)) + cdkBuilder.subjectNameFlags(subjectNameFlags.let(SubjectNameFlagsV2Property.Companion::unwrap)) } /** @@ -8092,7 +8092,7 @@ public open class CfnTemplate( * of a certificate. */ override fun certificateValidity(certificateValidity: IResolvable) { - cdkBuilder.certificateValidity(certificateValidity.let(IResolvable::unwrap)) + cdkBuilder.certificateValidity(certificateValidity.let(IResolvable.Companion::unwrap)) } /** @@ -8100,7 +8100,7 @@ public open class CfnTemplate( * of a certificate. */ override fun certificateValidity(certificateValidity: CertificateValidityProperty) { - cdkBuilder.certificateValidity(certificateValidity.let(CertificateValidityProperty::unwrap)) + cdkBuilder.certificateValidity(certificateValidity.let(CertificateValidityProperty.Companion::unwrap)) } /** @@ -8118,7 +8118,7 @@ public open class CfnTemplate( * such as using the existing private key and deleting expired or revoked certificates. */ override fun enrollmentFlags(enrollmentFlags: IResolvable) { - cdkBuilder.enrollmentFlags(enrollmentFlags.let(IResolvable::unwrap)) + cdkBuilder.enrollmentFlags(enrollmentFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8126,7 +8126,7 @@ public open class CfnTemplate( * such as using the existing private key and deleting expired or revoked certificates. */ override fun enrollmentFlags(enrollmentFlags: EnrollmentFlagsV3Property) { - cdkBuilder.enrollmentFlags(enrollmentFlags.let(EnrollmentFlagsV3Property::unwrap)) + cdkBuilder.enrollmentFlags(enrollmentFlags.let(EnrollmentFlagsV3Property.Companion::unwrap)) } /** @@ -8143,7 +8143,7 @@ public open class CfnTemplate( * a template. */ override fun extensions(extensions: IResolvable) { - cdkBuilder.extensions(extensions.let(IResolvable::unwrap)) + cdkBuilder.extensions(extensions.let(IResolvable.Companion::unwrap)) } /** @@ -8151,7 +8151,7 @@ public open class CfnTemplate( * a template. */ override fun extensions(extensions: ExtensionsV3Property) { - cdkBuilder.extensions(extensions.let(ExtensionsV3Property::unwrap)) + cdkBuilder.extensions(extensions.let(ExtensionsV3Property.Companion::unwrap)) } /** @@ -8168,7 +8168,7 @@ public open class CfnTemplate( * users and if the template can be used with autoenrollment. */ override fun generalFlags(generalFlags: IResolvable) { - cdkBuilder.generalFlags(generalFlags.let(IResolvable::unwrap)) + cdkBuilder.generalFlags(generalFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8176,7 +8176,7 @@ public open class CfnTemplate( * users and if the template can be used with autoenrollment. */ override fun generalFlags(generalFlags: GeneralFlagsV3Property) { - cdkBuilder.generalFlags(generalFlags.let(GeneralFlagsV3Property::unwrap)) + cdkBuilder.generalFlags(generalFlags.let(GeneralFlagsV3Property.Companion::unwrap)) } /** @@ -8202,7 +8202,7 @@ public open class CfnTemplate( * V3 templates allow you to use Key Storage Providers. */ override fun privateKeyAttributes(privateKeyAttributes: IResolvable) { - cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(IResolvable::unwrap)) + cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -8212,7 +8212,7 @@ public open class CfnTemplate( * V3 templates allow you to use Key Storage Providers. */ override fun privateKeyAttributes(privateKeyAttributes: PrivateKeyAttributesV3Property) { - cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(PrivateKeyAttributesV3Property::unwrap)) + cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(PrivateKeyAttributesV3Property.Companion::unwrap)) } /** @@ -8233,7 +8233,7 @@ public open class CfnTemplate( * an alternate signature algorithm should be used. */ override fun privateKeyFlags(privateKeyFlags: IResolvable) { - cdkBuilder.privateKeyFlags(privateKeyFlags.let(IResolvable::unwrap)) + cdkBuilder.privateKeyFlags(privateKeyFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8242,7 +8242,7 @@ public open class CfnTemplate( * an alternate signature algorithm should be used. */ override fun privateKeyFlags(privateKeyFlags: PrivateKeyFlagsV3Property) { - cdkBuilder.privateKeyFlags(privateKeyFlags.let(PrivateKeyFlagsV3Property::unwrap)) + cdkBuilder.privateKeyFlags(privateKeyFlags.let(PrivateKeyFlagsV3Property.Companion::unwrap)) } /** @@ -8260,7 +8260,7 @@ public open class CfnTemplate( * name that is included in a certificate. */ override fun subjectNameFlags(subjectNameFlags: IResolvable) { - cdkBuilder.subjectNameFlags(subjectNameFlags.let(IResolvable::unwrap)) + cdkBuilder.subjectNameFlags(subjectNameFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8268,7 +8268,7 @@ public open class CfnTemplate( * name that is included in a certificate. */ override fun subjectNameFlags(subjectNameFlags: SubjectNameFlagsV3Property) { - cdkBuilder.subjectNameFlags(subjectNameFlags.let(SubjectNameFlagsV3Property::unwrap)) + cdkBuilder.subjectNameFlags(subjectNameFlags.let(SubjectNameFlagsV3Property.Companion::unwrap)) } /** @@ -8759,7 +8759,7 @@ public open class CfnTemplate( * of a certificate. */ override fun certificateValidity(certificateValidity: IResolvable) { - cdkBuilder.certificateValidity(certificateValidity.let(IResolvable::unwrap)) + cdkBuilder.certificateValidity(certificateValidity.let(IResolvable.Companion::unwrap)) } /** @@ -8767,7 +8767,7 @@ public open class CfnTemplate( * of a certificate. */ override fun certificateValidity(certificateValidity: CertificateValidityProperty) { - cdkBuilder.certificateValidity(certificateValidity.let(CertificateValidityProperty::unwrap)) + cdkBuilder.certificateValidity(certificateValidity.let(CertificateValidityProperty.Companion::unwrap)) } /** @@ -8785,7 +8785,7 @@ public open class CfnTemplate( * using the existing private key and deleting expired or revoked certificates. */ override fun enrollmentFlags(enrollmentFlags: IResolvable) { - cdkBuilder.enrollmentFlags(enrollmentFlags.let(IResolvable::unwrap)) + cdkBuilder.enrollmentFlags(enrollmentFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8793,7 +8793,7 @@ public open class CfnTemplate( * using the existing private key and deleting expired or revoked certificates. */ override fun enrollmentFlags(enrollmentFlags: EnrollmentFlagsV4Property) { - cdkBuilder.enrollmentFlags(enrollmentFlags.let(EnrollmentFlagsV4Property::unwrap)) + cdkBuilder.enrollmentFlags(enrollmentFlags.let(EnrollmentFlagsV4Property.Companion::unwrap)) } /** @@ -8810,7 +8810,7 @@ public open class CfnTemplate( * a template. */ override fun extensions(extensions: IResolvable) { - cdkBuilder.extensions(extensions.let(IResolvable::unwrap)) + cdkBuilder.extensions(extensions.let(IResolvable.Companion::unwrap)) } /** @@ -8818,7 +8818,7 @@ public open class CfnTemplate( * a template. */ override fun extensions(extensions: ExtensionsV4Property) { - cdkBuilder.extensions(extensions.let(ExtensionsV4Property::unwrap)) + cdkBuilder.extensions(extensions.let(ExtensionsV4Property.Companion::unwrap)) } /** @@ -8835,7 +8835,7 @@ public open class CfnTemplate( * users and if the template can be used with autoenrollment. */ override fun generalFlags(generalFlags: IResolvable) { - cdkBuilder.generalFlags(generalFlags.let(IResolvable::unwrap)) + cdkBuilder.generalFlags(generalFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8843,7 +8843,7 @@ public open class CfnTemplate( * users and if the template can be used with autoenrollment. */ override fun generalFlags(generalFlags: GeneralFlagsV4Property) { - cdkBuilder.generalFlags(generalFlags.let(GeneralFlagsV4Property::unwrap)) + cdkBuilder.generalFlags(generalFlags.let(GeneralFlagsV4Property.Companion::unwrap)) } /** @@ -8871,7 +8871,7 @@ public open class CfnTemplate( * Providers. You specify the cryptography provider category in private key flags. */ override fun privateKeyAttributes(privateKeyAttributes: IResolvable) { - cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(IResolvable::unwrap)) + cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -8882,7 +8882,7 @@ public open class CfnTemplate( * Providers. You specify the cryptography provider category in private key flags. */ override fun privateKeyAttributes(privateKeyAttributes: PrivateKeyAttributesV4Property) { - cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(PrivateKeyAttributesV4Property::unwrap)) + cdkBuilder.privateKeyAttributes(privateKeyAttributes.let(PrivateKeyAttributesV4Property.Companion::unwrap)) } /** @@ -8905,7 +8905,7 @@ public open class CfnTemplate( * private key. */ override fun privateKeyFlags(privateKeyFlags: IResolvable) { - cdkBuilder.privateKeyFlags(privateKeyFlags.let(IResolvable::unwrap)) + cdkBuilder.privateKeyFlags(privateKeyFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8915,7 +8915,7 @@ public open class CfnTemplate( * private key. */ override fun privateKeyFlags(privateKeyFlags: PrivateKeyFlagsV4Property) { - cdkBuilder.privateKeyFlags(privateKeyFlags.let(PrivateKeyFlagsV4Property::unwrap)) + cdkBuilder.privateKeyFlags(privateKeyFlags.let(PrivateKeyFlagsV4Property.Companion::unwrap)) } /** @@ -8934,7 +8934,7 @@ public open class CfnTemplate( * name that is included in a certificate. */ override fun subjectNameFlags(subjectNameFlags: IResolvable) { - cdkBuilder.subjectNameFlags(subjectNameFlags.let(IResolvable::unwrap)) + cdkBuilder.subjectNameFlags(subjectNameFlags.let(IResolvable.Companion::unwrap)) } /** @@ -8942,7 +8942,7 @@ public open class CfnTemplate( * name that is included in a certificate. */ override fun subjectNameFlags(subjectNameFlags: SubjectNameFlagsV4Property) { - cdkBuilder.subjectNameFlags(subjectNameFlags.let(SubjectNameFlagsV4Property::unwrap)) + cdkBuilder.subjectNameFlags(subjectNameFlags.let(SubjectNameFlagsV4Property.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntry.kt index 5e4b6890b3..9c48c0e2ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntry.kt @@ -51,8 +51,8 @@ public open class CfnTemplateGroupAccessControlEntry( id: String, props: CfnTemplateGroupAccessControlEntryProps, ) : - this(software.amazon.awscdk.services.pcaconnectorad.CfnTemplateGroupAccessControlEntry(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTemplateGroupAccessControlEntryProps::unwrap)) + this(software.amazon.awscdk.services.pcaconnectorad.CfnTemplateGroupAccessControlEntry(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTemplateGroupAccessControlEntryProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnTemplateGroupAccessControlEntry( * issued against a template. */ public open fun accessRights(`value`: IResolvable) { - unwrap(this).setAccessRights(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessRights(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public open class CfnTemplateGroupAccessControlEntry( * issued against a template. */ public open fun accessRights(`value`: AccessRightsProperty) { - unwrap(this).setAccessRights(`value`.let(AccessRightsProperty::unwrap)) + unwrap(this).setAccessRights(`value`.let(AccessRightsProperty.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnTemplateGroupAccessControlEntry( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnTemplateGroupAccessControlEntry( * autoenroll certificates issued against a template. */ override fun accessRights(accessRights: IResolvable) { - cdkBuilder.accessRights(accessRights.let(IResolvable::unwrap)) + cdkBuilder.accessRights(accessRights.let(IResolvable.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnTemplateGroupAccessControlEntry( * autoenroll certificates issued against a template. */ override fun accessRights(accessRights: AccessRightsProperty) { - cdkBuilder.accessRights(accessRights.let(AccessRightsProperty::unwrap)) + cdkBuilder.accessRights(accessRights.let(AccessRightsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntryProps.kt index 34d4eda23a..67661f2beb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateGroupAccessControlEntryProps.kt @@ -129,7 +129,7 @@ public interface CfnTemplateGroupAccessControlEntryProps { * autoenroll certificates issued against a template. */ override fun accessRights(accessRights: IResolvable) { - cdkBuilder.accessRights(accessRights.let(IResolvable::unwrap)) + cdkBuilder.accessRights(accessRights.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public interface CfnTemplateGroupAccessControlEntryProps { */ override fun accessRights(accessRights: CfnTemplateGroupAccessControlEntry.AccessRightsProperty) { - cdkBuilder.accessRights(accessRights.let(CfnTemplateGroupAccessControlEntry.AccessRightsProperty::unwrap)) + cdkBuilder.accessRights(accessRights.let(CfnTemplateGroupAccessControlEntry.AccessRightsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateProps.kt index 233ade30a4..a8980569a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pcaconnectorad/CfnTemplateProps.kt @@ -401,7 +401,7 @@ public interface CfnTemplateProps { * options, key usage extensions, application policies, and cryptography settings. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public interface CfnTemplateProps { * options, key usage extensions, application policies, and cryptography settings. */ override fun definition(definition: CfnTemplate.TemplateDefinitionProperty) { - cdkBuilder.definition(definition.let(CfnTemplate.TemplateDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnTemplate.TemplateDefinitionProperty.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public interface CfnTemplateProps { * receive a new certificate issued using that template. */ override fun reenrollAllCertificateHolders(reenrollAllCertificateHolders: IResolvable) { - cdkBuilder.reenrollAllCertificateHolders(reenrollAllCertificateHolders.let(IResolvable::unwrap)) + cdkBuilder.reenrollAllCertificateHolders(reenrollAllCertificateHolders.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDataset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDataset.kt index 46d7381a93..018983c0a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDataset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDataset.kt @@ -83,8 +83,8 @@ public open class CfnDataset( id: String, props: CfnDatasetProps, ) : - this(software.amazon.awscdk.services.personalize.CfnDataset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatasetProps::unwrap)) + this(software.amazon.awscdk.services.personalize.CfnDataset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatasetProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnDataset( * Personalize dataset. */ public open fun datasetImportJob(`value`: IResolvable) { - unwrap(this).setDatasetImportJob(`value`.let(IResolvable::unwrap)) + unwrap(this).setDatasetImportJob(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnDataset( * Personalize dataset. */ public open fun datasetImportJob(`value`: DatasetImportJobProperty) { - unwrap(this).setDatasetImportJob(`value`.let(DatasetImportJobProperty::unwrap)) + unwrap(this).setDatasetImportJob(`value`.let(DatasetImportJobProperty.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnDataset( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class CfnDataset( * S3 bucket) to an Amazon Personalize dataset. */ override fun datasetImportJob(datasetImportJob: IResolvable) { - cdkBuilder.datasetImportJob(datasetImportJob.let(IResolvable::unwrap)) + cdkBuilder.datasetImportJob(datasetImportJob.let(IResolvable.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnDataset( * S3 bucket) to an Amazon Personalize dataset. */ override fun datasetImportJob(datasetImportJob: DatasetImportJobProperty) { - cdkBuilder.datasetImportJob(datasetImportJob.let(DatasetImportJobProperty::unwrap)) + cdkBuilder.datasetImportJob(datasetImportJob.let(DatasetImportJobProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetGroup.kt index 02440e56ba..37be041904 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetGroup.kt @@ -50,8 +50,8 @@ public open class CfnDatasetGroup( id: String, props: CfnDatasetGroupProps, ) : - this(software.amazon.awscdk.services.personalize.CfnDatasetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatasetGroupProps::unwrap)) + this(software.amazon.awscdk.services.personalize.CfnDatasetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatasetGroupProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnDatasetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetProps.kt index 7ea6b867b3..7b7edbd35a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnDatasetProps.kt @@ -164,7 +164,7 @@ public interface CfnDatasetProps { * required. */ override fun datasetImportJob(datasetImportJob: IResolvable) { - cdkBuilder.datasetImportJob(datasetImportJob.let(IResolvable::unwrap)) + cdkBuilder.datasetImportJob(datasetImportJob.let(IResolvable.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface CfnDatasetProps { * required. */ override fun datasetImportJob(datasetImportJob: CfnDataset.DatasetImportJobProperty) { - cdkBuilder.datasetImportJob(datasetImportJob.let(CfnDataset.DatasetImportJobProperty::unwrap)) + cdkBuilder.datasetImportJob(datasetImportJob.let(CfnDataset.DatasetImportJobProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSchema.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSchema.kt index 21c1db63bb..d69655cc62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSchema.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSchema.kt @@ -54,8 +54,8 @@ public open class CfnSchema( id: String, props: CfnSchemaProps, ) : - this(software.amazon.awscdk.services.personalize.CfnSchema(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSchemaProps::unwrap)) + this(software.amazon.awscdk.services.personalize.CfnSchema(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSchemaProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnSchema( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolution.kt index ba4c72e6f2..1c0a8b3f28 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolution.kt @@ -21,10 +21,21 @@ import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct import software.constructs.Construct as SoftwareConstructsConstruct /** - * An object that provides information about a solution. + * After you create a solution, you can’t change its configuration. * - * A solution includes the custom recipe, customized parameters, and trained models (Solution - * Versions) that Amazon Personalize uses to generate recommendations. + * By default, all new solutions use automatic training. With automatic training, you incur training + * costs while your solution is active. You can't stop automatic training for a solution. To avoid + * unnecessary costs, make sure to delete the solution when you are finished. For information about + * training costs, see [Amazon Personalize + * pricing](https://docs.aws.amazon.com/https://aws.amazon.com/personalize/pricing/) . + * + * An object that provides information about a solution. A solution includes the custom recipe, + * customized parameters, and trained models (Solution Versions) that Amazon Personalize uses to + * generate recommendations. + * + * After you create a solution, you can’t change its configuration. If you need to make changes, you + * can [clone the solution](https://docs.aws.amazon.com/personalize/latest/dg/cloning-solution.html) + * with the Amazon Personalize console or create a new one. * * Example: * @@ -64,8 +75,8 @@ public open class CfnSolution( id: String, props: CfnSolutionProps, ) : - this(software.amazon.awscdk.services.personalize.CfnSolution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSolutionProps::unwrap)) + this(software.amazon.awscdk.services.personalize.CfnSolution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSolutionProps.Companion::unwrap)) ) public constructor( @@ -110,7 +121,7 @@ public open class CfnSolution( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,7 +152,7 @@ public open class CfnSolution( * We don't recommend enabling automated machine learning. */ public open fun performAutoMl(`value`: IResolvable) { - unwrap(this).setPerformAutoMl(`value`.let(IResolvable::unwrap)) + unwrap(this).setPerformAutoMl(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +171,7 @@ public open class CfnSolution( * Whether to perform hyperparameter optimization (HPO) on the chosen recipe. */ public open fun performHpo(`value`: IResolvable) { - unwrap(this).setPerformHpo(`value`.let(IResolvable::unwrap)) + unwrap(this).setPerformHpo(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -184,14 +195,14 @@ public open class CfnSolution( * Describes the configuration properties for the solution. */ public open fun solutionConfig(`value`: IResolvable) { - unwrap(this).setSolutionConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSolutionConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the configuration properties for the solution. */ public open fun solutionConfig(`value`: SolutionConfigProperty) { - unwrap(this).setSolutionConfig(`value`.let(SolutionConfigProperty::unwrap)) + unwrap(this).setSolutionConfig(`value`.let(SolutionConfigProperty.Companion::unwrap)) } /** @@ -400,7 +411,7 @@ public open class CfnSolution( * @param performAutoMl We don't recommend enabling automated machine learning. */ override fun performAutoMl(performAutoMl: IResolvable) { - cdkBuilder.performAutoMl(performAutoMl.let(IResolvable::unwrap)) + cdkBuilder.performAutoMl(performAutoMl.let(IResolvable.Companion::unwrap)) } /** @@ -424,7 +435,7 @@ public open class CfnSolution( * @param performHpo Whether to perform hyperparameter optimization (HPO) on the chosen recipe. */ override fun performHpo(performHpo: IResolvable) { - cdkBuilder.performHpo(performHpo.let(IResolvable::unwrap)) + cdkBuilder.performHpo(performHpo.let(IResolvable.Companion::unwrap)) } /** @@ -446,7 +457,7 @@ public open class CfnSolution( * @param solutionConfig Describes the configuration properties for the solution. */ override fun solutionConfig(solutionConfig: IResolvable) { - cdkBuilder.solutionConfig(solutionConfig.let(IResolvable::unwrap)) + cdkBuilder.solutionConfig(solutionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +467,7 @@ public open class CfnSolution( * @param solutionConfig Describes the configuration properties for the solution. */ override fun solutionConfig(solutionConfig: SolutionConfigProperty) { - cdkBuilder.solutionConfig(solutionConfig.let(SolutionConfigProperty::unwrap)) + cdkBuilder.solutionConfig(solutionConfig.let(SolutionConfigProperty.Companion::unwrap)) } /** @@ -621,7 +632,7 @@ public open class CfnSolution( * hyperparameter. */ override fun categoricalHyperParameterRanges(categoricalHyperParameterRanges: IResolvable) { - cdkBuilder.categoricalHyperParameterRanges(categoricalHyperParameterRanges.let(IResolvable::unwrap)) + cdkBuilder.categoricalHyperParameterRanges(categoricalHyperParameterRanges.let(IResolvable.Companion::unwrap)) } /** @@ -644,7 +655,7 @@ public open class CfnSolution( * hyperparameter. */ override fun continuousHyperParameterRanges(continuousHyperParameterRanges: IResolvable) { - cdkBuilder.continuousHyperParameterRanges(continuousHyperParameterRanges.let(IResolvable::unwrap)) + cdkBuilder.continuousHyperParameterRanges(continuousHyperParameterRanges.let(IResolvable.Companion::unwrap)) } /** @@ -667,7 +678,7 @@ public open class CfnSolution( * hyperparameter. */ override fun integerHyperParameterRanges(integerHyperParameterRanges: IResolvable) { - cdkBuilder.integerHyperParameterRanges(integerHyperParameterRanges.let(IResolvable::unwrap)) + cdkBuilder.integerHyperParameterRanges(integerHyperParameterRanges.let(IResolvable.Companion::unwrap)) } /** @@ -1258,7 +1269,7 @@ public open class CfnSolution( * @param algorithmHyperParameterRanges The hyperparameters and their allowable ranges. */ override fun algorithmHyperParameterRanges(algorithmHyperParameterRanges: IResolvable) { - cdkBuilder.algorithmHyperParameterRanges(algorithmHyperParameterRanges.let(IResolvable::unwrap)) + cdkBuilder.algorithmHyperParameterRanges(algorithmHyperParameterRanges.let(IResolvable.Companion::unwrap)) } /** @@ -1266,7 +1277,7 @@ public open class CfnSolution( */ override fun algorithmHyperParameterRanges(algorithmHyperParameterRanges: AlgorithmHyperParameterRangesProperty) { - cdkBuilder.algorithmHyperParameterRanges(algorithmHyperParameterRanges.let(AlgorithmHyperParameterRangesProperty::unwrap)) + cdkBuilder.algorithmHyperParameterRanges(algorithmHyperParameterRanges.let(AlgorithmHyperParameterRangesProperty.Companion::unwrap)) } /** @@ -1285,7 +1296,7 @@ public open class CfnSolution( * Amazon Personalize doesn't support configuring the `hpoObjective` at this time. */ override fun hpoObjective(hpoObjective: IResolvable) { - cdkBuilder.hpoObjective(hpoObjective.let(IResolvable::unwrap)) + cdkBuilder.hpoObjective(hpoObjective.let(IResolvable.Companion::unwrap)) } /** @@ -1294,7 +1305,7 @@ public open class CfnSolution( * Amazon Personalize doesn't support configuring the `hpoObjective` at this time. */ override fun hpoObjective(hpoObjective: HpoObjectiveProperty) { - cdkBuilder.hpoObjective(hpoObjective.let(HpoObjectiveProperty::unwrap)) + cdkBuilder.hpoObjective(hpoObjective.let(HpoObjectiveProperty.Companion::unwrap)) } /** @@ -1311,14 +1322,14 @@ public open class CfnSolution( * @param hpoResourceConfig Describes the resource configuration for HPO. */ override fun hpoResourceConfig(hpoResourceConfig: IResolvable) { - cdkBuilder.hpoResourceConfig(hpoResourceConfig.let(IResolvable::unwrap)) + cdkBuilder.hpoResourceConfig(hpoResourceConfig.let(IResolvable.Companion::unwrap)) } /** * @param hpoResourceConfig Describes the resource configuration for HPO. */ override fun hpoResourceConfig(hpoResourceConfig: HpoResourceConfigProperty) { - cdkBuilder.hpoResourceConfig(hpoResourceConfig.let(HpoResourceConfigProperty::unwrap)) + cdkBuilder.hpoResourceConfig(hpoResourceConfig.let(HpoResourceConfigProperty.Companion::unwrap)) } /** @@ -1907,7 +1918,7 @@ public open class CfnSolution( * @param algorithmHyperParameters Lists the algorithm hyperparameters and their values. */ override fun algorithmHyperParameters(algorithmHyperParameters: IResolvable) { - cdkBuilder.algorithmHyperParameters(algorithmHyperParameters.let(IResolvable::unwrap)) + cdkBuilder.algorithmHyperParameters(algorithmHyperParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1938,7 +1949,7 @@ public open class CfnSolution( * @param featureTransformationParameters Lists the feature transformation parameters. */ override fun featureTransformationParameters(featureTransformationParameters: IResolvable) { - cdkBuilder.featureTransformationParameters(featureTransformationParameters.let(IResolvable::unwrap)) + cdkBuilder.featureTransformationParameters(featureTransformationParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolutionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolutionProps.kt index 15c7bb8a25..a2bfbaf774 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolutionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/personalize/CfnSolutionProps.kt @@ -248,7 +248,7 @@ public interface CfnSolutionProps { * false (the default), Amazon Personalize uses `recipeArn` for training. */ override fun performAutoMl(performAutoMl: IResolvable) { - cdkBuilder.performAutoMl(performAutoMl.let(IResolvable::unwrap)) + cdkBuilder.performAutoMl(performAutoMl.let(IResolvable.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface CfnSolutionProps { * The default is `false` . */ override fun performHpo(performHpo: IResolvable) { - cdkBuilder.performHpo(performHpo.let(IResolvable::unwrap)) + cdkBuilder.performHpo(performHpo.let(IResolvable.Companion::unwrap)) } /** @@ -279,14 +279,14 @@ public interface CfnSolutionProps { * @param solutionConfig Describes the configuration properties for the solution. */ override fun solutionConfig(solutionConfig: IResolvable) { - cdkBuilder.solutionConfig(solutionConfig.let(IResolvable::unwrap)) + cdkBuilder.solutionConfig(solutionConfig.let(IResolvable.Companion::unwrap)) } /** * @param solutionConfig Describes the configuration properties for the solution. */ override fun solutionConfig(solutionConfig: CfnSolution.SolutionConfigProperty) { - cdkBuilder.solutionConfig(solutionConfig.let(CfnSolution.SolutionConfigProperty::unwrap)) + cdkBuilder.solutionConfig(solutionConfig.let(CfnSolution.SolutionConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannel.kt index eee48264ab..0904644036 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannel.kt @@ -50,8 +50,8 @@ public open class CfnADMChannel( id: String, props: CfnADMChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnADMChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnADMChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnADMChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnADMChannelProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnADMChannel( * Specifies whether to enable the ADM channel for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnADMChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnADMChannel( * @param enabled Specifies whether to enable the ADM channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.pinpoint.CfnADMChannel = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannelProps.kt index 4c6b46f793..316df23776 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnADMChannelProps.kt @@ -131,7 +131,7 @@ public interface CfnADMChannelProps { * @param enabled Specifies whether to enable the ADM channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.pinpoint.CfnADMChannelProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannel.kt index 7db9bb0380..e0e867d0e1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannel.kt @@ -54,8 +54,8 @@ public open class CfnAPNSChannel( id: String, props: CfnAPNSChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnAPNSChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAPNSChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnAPNSChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAPNSChannelProps.Companion::unwrap)) ) public constructor( @@ -139,7 +139,7 @@ public open class CfnAPNSChannel( * Specifies whether to enable the APNs channel for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnAPNSChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnAPNSChannel( * @param enabled Specifies whether to enable the APNs channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannelProps.kt index 3fe73ea202..10f6f75778 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSChannelProps.kt @@ -227,7 +227,7 @@ public interface CfnAPNSChannelProps { * @param enabled Specifies whether to enable the APNs channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannel.kt index a5b440c737..0cc6229570 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannel.kt @@ -56,8 +56,8 @@ public open class CfnAPNSSandboxChannel( id: String, props: CfnAPNSSandboxChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnAPNSSandboxChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAPNSSandboxChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnAPNSSandboxChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAPNSSandboxChannelProps.Companion::unwrap)) ) public constructor( @@ -143,7 +143,7 @@ public open class CfnAPNSSandboxChannel( * Specifies whether to enable the APNs Sandbox channel for the Amazon Pinpoint application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnAPNSSandboxChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnAPNSSandboxChannel( * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannelProps.kt index 40896ddc43..5f66788d6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSSandboxChannelProps.kt @@ -233,7 +233,7 @@ public interface CfnAPNSSandboxChannelProps { * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannel.kt index 402ed45a7f..0d56b08f79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannel.kt @@ -55,8 +55,8 @@ public open class CfnAPNSVoipChannel( id: String, props: CfnAPNSVoipChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnAPNSVoipChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAPNSVoipChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnAPNSVoipChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAPNSVoipChannelProps.Companion::unwrap)) ) public constructor( @@ -142,7 +142,7 @@ public open class CfnAPNSVoipChannel( * Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnAPNSVoipChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class CfnAPNSVoipChannel( * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannelProps.kt index def2f72c69..fce9567a5d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipChannelProps.kt @@ -232,7 +232,7 @@ public interface CfnAPNSVoipChannelProps { * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannel.kt index db4e3b0ea3..95e23a5749 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannel.kt @@ -56,8 +56,8 @@ public open class CfnAPNSVoipSandboxChannel( id: String, props: CfnAPNSVoipSandboxChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnAPNSVoipSandboxChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAPNSVoipSandboxChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnAPNSVoipSandboxChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAPNSVoipSandboxChannelProps.Companion::unwrap)) ) public constructor( @@ -141,7 +141,7 @@ public open class CfnAPNSVoipSandboxChannel( * Specifies whether the APNs VoIP sandbox channel is enabled for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnAPNSVoipSandboxChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnAPNSVoipSandboxChannel( * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannelProps.kt index cbaa46b41e..85c8d341f0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnAPNSVoipSandboxChannelProps.kt @@ -235,7 +235,7 @@ public interface CfnAPNSVoipSandboxChannelProps { * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApp.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApp.kt index 4ba2af587c..3e79b3eefa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApp.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApp.kt @@ -46,8 +46,8 @@ public open class CfnApp( id: String, props: CfnAppProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnApp(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnApp(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnApp( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettings.kt index fb80047e74..a39987a42c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettings.kt @@ -64,8 +64,8 @@ public open class CfnApplicationSettings( id: String, props: CfnApplicationSettingsProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnApplicationSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationSettingsProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnApplicationSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationSettingsProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnApplicationSettings( * application. */ public open fun campaignHook(`value`: IResolvable) { - unwrap(this).setCampaignHook(`value`.let(IResolvable::unwrap)) + unwrap(this).setCampaignHook(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnApplicationSettings( * application. */ public open fun campaignHook(`value`: CampaignHookProperty) { - unwrap(this).setCampaignHook(`value`.let(CampaignHookProperty::unwrap)) + unwrap(this).setCampaignHook(`value`.let(CampaignHookProperty.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnApplicationSettings( * */ public open fun cloudWatchMetricsEnabled(`value`: IResolvable) { - unwrap(this).setCloudWatchMetricsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setCloudWatchMetricsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnApplicationSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,14 +160,14 @@ public open class CfnApplicationSettings( * The default sending limits for campaigns in the application. */ public open fun limits(`value`: IResolvable) { - unwrap(this).setLimits(`value`.let(IResolvable::unwrap)) + unwrap(this).setLimits(`value`.let(IResolvable.Companion::unwrap)) } /** * The default sending limits for campaigns in the application. */ public open fun limits(`value`: LimitsProperty) { - unwrap(this).setLimits(`value`.let(LimitsProperty::unwrap)) + unwrap(this).setLimits(`value`.let(LimitsProperty.Companion::unwrap)) } /** @@ -187,14 +187,14 @@ public open class CfnApplicationSettings( * The default quiet time for campaigns in the application. */ public open fun quietTime(`value`: IResolvable) { - unwrap(this).setQuietTime(`value`.let(IResolvable::unwrap)) + unwrap(this).setQuietTime(`value`.let(IResolvable.Companion::unwrap)) } /** * The default quiet time for campaigns in the application. */ public open fun quietTime(`value`: QuietTimeProperty) { - unwrap(this).setQuietTime(`value`.let(QuietTimeProperty::unwrap)) + unwrap(this).setQuietTime(`value`.let(QuietTimeProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnApplicationSettings( * campaigns in the application. */ override fun campaignHook(campaignHook: IResolvable) { - cdkBuilder.campaignHook(campaignHook.let(IResolvable::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnApplicationSettings( * campaigns in the application. */ override fun campaignHook(campaignHook: CampaignHookProperty) { - cdkBuilder.campaignHook(campaignHook.let(CampaignHookProperty::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(CampaignHookProperty.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnApplicationSettings( * @param cloudWatchMetricsEnabled */ override fun cloudWatchMetricsEnabled(cloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnApplicationSettings( * @param limits The default sending limits for campaigns in the application. */ override fun limits(limits: IResolvable) { - cdkBuilder.limits(limits.let(IResolvable::unwrap)) + cdkBuilder.limits(limits.let(IResolvable.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnApplicationSettings( * @param limits The default sending limits for campaigns in the application. */ override fun limits(limits: LimitsProperty) { - cdkBuilder.limits(limits.let(LimitsProperty::unwrap)) + cdkBuilder.limits(limits.let(LimitsProperty.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnApplicationSettings( * @param quietTime The default quiet time for campaigns in the application. */ override fun quietTime(quietTime: IResolvable) { - cdkBuilder.quietTime(quietTime.let(IResolvable::unwrap)) + cdkBuilder.quietTime(quietTime.let(IResolvable.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public open class CfnApplicationSettings( * @param quietTime The default quiet time for campaigns in the application. */ override fun quietTime(quietTime: QuietTimeProperty) { - cdkBuilder.quietTime(quietTime.let(QuietTimeProperty::unwrap)) + cdkBuilder.quietTime(quietTime.let(QuietTimeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettingsProps.kt index b923cf4e2d..78a993628b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnApplicationSettingsProps.kt @@ -258,7 +258,7 @@ public interface CfnApplicationSettingsProps { * custom Lambda function settings for the campaign. */ override fun campaignHook(campaignHook: IResolvable) { - cdkBuilder.campaignHook(campaignHook.let(IResolvable::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CfnApplicationSettingsProps { * custom Lambda function settings for the campaign. */ override fun campaignHook(campaignHook: CfnApplicationSettings.CampaignHookProperty) { - cdkBuilder.campaignHook(campaignHook.let(CfnApplicationSettings.CampaignHookProperty::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(CfnApplicationSettings.CampaignHookProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnApplicationSettingsProps { * @param cloudWatchMetricsEnabled the value to be set. */ override fun cloudWatchMetricsEnabled(cloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface CfnApplicationSettingsProps { * limits for the campaign. */ override fun limits(limits: IResolvable) { - cdkBuilder.limits(limits.let(IResolvable::unwrap)) + cdkBuilder.limits(limits.let(IResolvable.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface CfnApplicationSettingsProps { * limits for the campaign. */ override fun limits(limits: CfnApplicationSettings.LimitsProperty) { - cdkBuilder.limits(limits.let(CfnApplicationSettings.LimitsProperty::unwrap)) + cdkBuilder.limits(limits.let(CfnApplicationSettings.LimitsProperty.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface CfnApplicationSettingsProps { * resource to define a custom quiet time for the campaign. */ override fun quietTime(quietTime: IResolvable) { - cdkBuilder.quietTime(quietTime.let(IResolvable::unwrap)) + cdkBuilder.quietTime(quietTime.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface CfnApplicationSettingsProps { * resource to define a custom quiet time for the campaign. */ override fun quietTime(quietTime: CfnApplicationSettings.QuietTimeProperty) { - cdkBuilder.quietTime(quietTime.let(CfnApplicationSettings.QuietTimeProperty::unwrap)) + cdkBuilder.quietTime(quietTime.let(CfnApplicationSettings.QuietTimeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannel.kt index d5792958bc..3a822e93f4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannel.kt @@ -49,8 +49,8 @@ public open class CfnBaiduChannel( id: String, props: CfnBaiduChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnBaiduChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBaiduChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnBaiduChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBaiduChannelProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnBaiduChannel( * Specifies whether to enable the Baidu channel for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnBaiduChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnBaiduChannel( * @param enabled Specifies whether to enable the Baidu channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannelProps.kt index dc75012c15..4ea9ac8c35 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnBaiduChannelProps.kt @@ -128,7 +128,7 @@ public interface CfnBaiduChannelProps { * @param enabled Specifies whether to enable the Baidu channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaign.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaign.kt index 8ae82e13ca..3d4e2eb369 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaign.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaign.kt @@ -470,8 +470,8 @@ public open class CfnCampaign( id: String, props: CfnCampaignProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnCampaign(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCampaignProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnCampaign(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCampaignProps.Companion::unwrap)) ) public constructor( @@ -492,7 +492,7 @@ public open class CfnCampaign( * default treatment for the campaign. */ public open fun additionalTreatments(`value`: IResolvable) { - unwrap(this).setAdditionalTreatments(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalTreatments(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -541,14 +541,14 @@ public open class CfnCampaign( * Specifies the Lambda function to use as a code hook for a campaign. */ public open fun campaignHook(`value`: IResolvable) { - unwrap(this).setCampaignHook(`value`.let(IResolvable::unwrap)) + unwrap(this).setCampaignHook(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the Lambda function to use as a code hook for a campaign. */ public open fun campaignHook(`value`: CampaignHookProperty) { - unwrap(this).setCampaignHook(`value`.let(CampaignHookProperty::unwrap)) + unwrap(this).setCampaignHook(`value`.let(CampaignHookProperty.Companion::unwrap)) } /** @@ -569,14 +569,14 @@ public open class CfnCampaign( * The delivery configuration settings for sending the treatment through a custom channel. */ public open fun customDeliveryConfiguration(`value`: IResolvable) { - unwrap(this).setCustomDeliveryConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomDeliveryConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The delivery configuration settings for sending the treatment through a custom channel. */ public open fun customDeliveryConfiguration(`value`: CustomDeliveryConfigurationProperty) { - unwrap(this).setCustomDeliveryConfiguration(`value`.let(CustomDeliveryConfigurationProperty::unwrap)) + unwrap(this).setCustomDeliveryConfiguration(`value`.let(CustomDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public open class CfnCampaign( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnCampaign( * Specifies whether to pause the campaign. */ public open fun isPaused(`value`: IResolvable) { - unwrap(this).setIsPaused(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsPaused(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -651,14 +651,14 @@ public open class CfnCampaign( * The messaging limits for the campaign. */ public open fun limits(`value`: IResolvable) { - unwrap(this).setLimits(`value`.let(IResolvable::unwrap)) + unwrap(this).setLimits(`value`.let(IResolvable.Companion::unwrap)) } /** * The messaging limits for the campaign. */ public open fun limits(`value`: LimitsProperty) { - unwrap(this).setLimits(`value`.let(LimitsProperty::unwrap)) + unwrap(this).setLimits(`value`.let(LimitsProperty.Companion::unwrap)) } /** @@ -678,14 +678,14 @@ public open class CfnCampaign( * The message configuration settings for the treatment. */ public open fun messageConfiguration(`value`: IResolvable) { - unwrap(this).setMessageConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setMessageConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The message configuration settings for the treatment. */ public open fun messageConfiguration(`value`: MessageConfigurationProperty) { - unwrap(this).setMessageConfiguration(`value`.let(MessageConfigurationProperty::unwrap)) + unwrap(this).setMessageConfiguration(`value`.let(MessageConfigurationProperty.Companion::unwrap)) } /** @@ -731,14 +731,14 @@ public open class CfnCampaign( * The schedule settings for the treatment. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * The schedule settings for the treatment. */ public open fun schedule(`value`: ScheduleProperty) { - unwrap(this).setSchedule(`value`.let(ScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(ScheduleProperty.Companion::unwrap)) } /** @@ -799,14 +799,14 @@ public open class CfnCampaign( * The message template to use for the treatment. */ public open fun templateConfiguration(`value`: IResolvable) { - unwrap(this).setTemplateConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTemplateConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The message template to use for the treatment. */ public open fun templateConfiguration(`value`: TemplateConfigurationProperty) { - unwrap(this).setTemplateConfiguration(`value`.let(TemplateConfigurationProperty::unwrap)) + unwrap(this).setTemplateConfiguration(`value`.let(TemplateConfigurationProperty.Companion::unwrap)) } /** @@ -1186,7 +1186,7 @@ public open class CfnCampaign( * campaign, in addition to the default treatment for the campaign. */ override fun additionalTreatments(additionalTreatments: IResolvable) { - cdkBuilder.additionalTreatments(additionalTreatments.let(IResolvable::unwrap)) + cdkBuilder.additionalTreatments(additionalTreatments.let(IResolvable.Companion::unwrap)) } /** @@ -1231,7 +1231,7 @@ public open class CfnCampaign( * @param campaignHook Specifies the Lambda function to use as a code hook for a campaign. */ override fun campaignHook(campaignHook: IResolvable) { - cdkBuilder.campaignHook(campaignHook.let(IResolvable::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(IResolvable.Companion::unwrap)) } /** @@ -1241,7 +1241,7 @@ public open class CfnCampaign( * @param campaignHook Specifies the Lambda function to use as a code hook for a campaign. */ override fun campaignHook(campaignHook: CampaignHookProperty) { - cdkBuilder.campaignHook(campaignHook.let(CampaignHookProperty::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(CampaignHookProperty.Companion::unwrap)) } /** @@ -1266,7 +1266,7 @@ public open class CfnCampaign( * treatment through a custom channel. */ override fun customDeliveryConfiguration(customDeliveryConfiguration: IResolvable) { - cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1281,7 +1281,7 @@ public open class CfnCampaign( */ override fun customDeliveryConfiguration(customDeliveryConfiguration: CustomDeliveryConfigurationProperty) { - cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(CustomDeliveryConfigurationProperty::unwrap)) + cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(CustomDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -1352,7 +1352,7 @@ public open class CfnCampaign( * @param isPaused Specifies whether to pause the campaign. */ override fun isPaused(isPaused: IResolvable) { - cdkBuilder.isPaused(isPaused.let(IResolvable::unwrap)) + cdkBuilder.isPaused(isPaused.let(IResolvable.Companion::unwrap)) } /** @@ -1362,7 +1362,7 @@ public open class CfnCampaign( * @param limits The messaging limits for the campaign. */ override fun limits(limits: IResolvable) { - cdkBuilder.limits(limits.let(IResolvable::unwrap)) + cdkBuilder.limits(limits.let(IResolvable.Companion::unwrap)) } /** @@ -1372,7 +1372,7 @@ public open class CfnCampaign( * @param limits The messaging limits for the campaign. */ override fun limits(limits: LimitsProperty) { - cdkBuilder.limits(limits.let(LimitsProperty::unwrap)) + cdkBuilder.limits(limits.let(LimitsProperty.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class CfnCampaign( * @param messageConfiguration The message configuration settings for the treatment. */ override fun messageConfiguration(messageConfiguration: IResolvable) { - cdkBuilder.messageConfiguration(messageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.messageConfiguration(messageConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1403,7 +1403,7 @@ public open class CfnCampaign( * @param messageConfiguration The message configuration settings for the treatment. */ override fun messageConfiguration(messageConfiguration: MessageConfigurationProperty) { - cdkBuilder.messageConfiguration(messageConfiguration.let(MessageConfigurationProperty::unwrap)) + cdkBuilder.messageConfiguration(messageConfiguration.let(MessageConfigurationProperty.Companion::unwrap)) } /** @@ -1450,7 +1450,7 @@ public open class CfnCampaign( * @param schedule The schedule settings for the treatment. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -1460,7 +1460,7 @@ public open class CfnCampaign( * @param schedule The schedule settings for the treatment. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -1515,7 +1515,7 @@ public open class CfnCampaign( * @param templateConfiguration The message template to use for the treatment. */ override fun templateConfiguration(templateConfiguration: IResolvable) { - cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1525,7 +1525,7 @@ public open class CfnCampaign( * @param templateConfiguration The message template to use for the treatment. */ override fun templateConfiguration(templateConfiguration: TemplateConfigurationProperty) { - cdkBuilder.templateConfiguration(templateConfiguration.let(TemplateConfigurationProperty::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(TemplateConfigurationProperty.Companion::unwrap)) } /** @@ -2044,14 +2044,14 @@ public open class CfnCampaign( * @param dimensions The dimension settings of the event filter for the campaign. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** * @param dimensions The dimension settings of the event filter for the campaign. */ override fun dimensions(dimensions: EventDimensionsProperty) { - cdkBuilder.dimensions(dimensions.let(EventDimensionsProperty::unwrap)) + cdkBuilder.dimensions(dimensions.let(EventDimensionsProperty.Companion::unwrap)) } /** @@ -2446,7 +2446,7 @@ public open class CfnCampaign( * button configurations. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** @@ -3367,7 +3367,7 @@ public open class CfnCampaign( * *Amazon Pinpoint Developer Guide* . */ override fun eventType(eventType: IResolvable) { - cdkBuilder.eventType(eventType.let(IResolvable::unwrap)) + cdkBuilder.eventType(eventType.let(IResolvable.Companion::unwrap)) } /** @@ -3380,7 +3380,7 @@ public open class CfnCampaign( * *Amazon Pinpoint Developer Guide* . */ override fun eventType(eventType: SetDimensionProperty) { - cdkBuilder.eventType(eventType.let(SetDimensionProperty::unwrap)) + cdkBuilder.eventType(eventType.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -3774,7 +3774,7 @@ public open class CfnCampaign( * sent to Android. */ override fun android(android: IResolvable) { - cdkBuilder.android(android.let(IResolvable::unwrap)) + cdkBuilder.android(android.let(IResolvable.Companion::unwrap)) } /** @@ -3782,7 +3782,7 @@ public open class CfnCampaign( * sent to Android. */ override fun android(android: OverrideButtonConfigurationProperty) { - cdkBuilder.android(android.let(OverrideButtonConfigurationProperty::unwrap)) + cdkBuilder.android(android.let(OverrideButtonConfigurationProperty.Companion::unwrap)) } /** @@ -3799,7 +3799,7 @@ public open class CfnCampaign( * message. */ override fun defaultConfig(defaultConfig: IResolvable) { - cdkBuilder.defaultConfig(defaultConfig.let(IResolvable::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3807,7 +3807,7 @@ public open class CfnCampaign( * message. */ override fun defaultConfig(defaultConfig: DefaultButtonConfigurationProperty) { - cdkBuilder.defaultConfig(defaultConfig.let(DefaultButtonConfigurationProperty::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(DefaultButtonConfigurationProperty.Companion::unwrap)) } /** @@ -3825,7 +3825,7 @@ public open class CfnCampaign( * to iOS devices. */ override fun ios(ios: IResolvable) { - cdkBuilder.ios(ios.let(IResolvable::unwrap)) + cdkBuilder.ios(ios.let(IResolvable.Companion::unwrap)) } /** @@ -3833,7 +3833,7 @@ public open class CfnCampaign( * to iOS devices. */ override fun ios(ios: OverrideButtonConfigurationProperty) { - cdkBuilder.ios(ios.let(OverrideButtonConfigurationProperty::unwrap)) + cdkBuilder.ios(ios.let(OverrideButtonConfigurationProperty.Companion::unwrap)) } /** @@ -3850,7 +3850,7 @@ public open class CfnCampaign( * web applications. */ override fun web(web: IResolvable) { - cdkBuilder.web(web.let(IResolvable::unwrap)) + cdkBuilder.web(web.let(IResolvable.Companion::unwrap)) } /** @@ -3858,7 +3858,7 @@ public open class CfnCampaign( * web applications. */ override fun web(web: OverrideButtonConfigurationProperty) { - cdkBuilder.web(web.let(OverrideButtonConfigurationProperty::unwrap)) + cdkBuilder.web(web.let(OverrideButtonConfigurationProperty.Companion::unwrap)) } /** @@ -4160,7 +4160,7 @@ public open class CfnCampaign( * template. */ override fun bodyConfig(bodyConfig: IResolvable) { - cdkBuilder.bodyConfig(bodyConfig.let(IResolvable::unwrap)) + cdkBuilder.bodyConfig(bodyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4168,7 +4168,7 @@ public open class CfnCampaign( * template. */ override fun bodyConfig(bodyConfig: InAppMessageBodyConfigProperty) { - cdkBuilder.bodyConfig(bodyConfig.let(InAppMessageBodyConfigProperty::unwrap)) + cdkBuilder.bodyConfig(bodyConfig.let(InAppMessageBodyConfigProperty.Companion::unwrap)) } /** @@ -4185,7 +4185,7 @@ public open class CfnCampaign( * the in-app message. */ override fun headerConfig(headerConfig: IResolvable) { - cdkBuilder.headerConfig(headerConfig.let(IResolvable::unwrap)) + cdkBuilder.headerConfig(headerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4193,7 +4193,7 @@ public open class CfnCampaign( * the in-app message. */ override fun headerConfig(headerConfig: InAppMessageHeaderConfigProperty) { - cdkBuilder.headerConfig(headerConfig.let(InAppMessageHeaderConfigProperty::unwrap)) + cdkBuilder.headerConfig(headerConfig.let(InAppMessageHeaderConfigProperty.Companion::unwrap)) } /** @@ -4217,7 +4217,7 @@ public open class CfnCampaign( * button in an in-app message. */ override fun primaryBtn(primaryBtn: IResolvable) { - cdkBuilder.primaryBtn(primaryBtn.let(IResolvable::unwrap)) + cdkBuilder.primaryBtn(primaryBtn.let(IResolvable.Companion::unwrap)) } /** @@ -4225,7 +4225,7 @@ public open class CfnCampaign( * button in an in-app message. */ override fun primaryBtn(primaryBtn: InAppMessageButtonProperty) { - cdkBuilder.primaryBtn(primaryBtn.let(InAppMessageButtonProperty::unwrap)) + cdkBuilder.primaryBtn(primaryBtn.let(InAppMessageButtonProperty.Companion::unwrap)) } /** @@ -4242,7 +4242,7 @@ public open class CfnCampaign( * button in an in-app message. */ override fun secondaryBtn(secondaryBtn: IResolvable) { - cdkBuilder.secondaryBtn(secondaryBtn.let(IResolvable::unwrap)) + cdkBuilder.secondaryBtn(secondaryBtn.let(IResolvable.Companion::unwrap)) } /** @@ -4250,7 +4250,7 @@ public open class CfnCampaign( * button in an in-app message. */ override fun secondaryBtn(secondaryBtn: InAppMessageButtonProperty) { - cdkBuilder.secondaryBtn(secondaryBtn.let(InAppMessageButtonProperty::unwrap)) + cdkBuilder.secondaryBtn(secondaryBtn.let(InAppMessageButtonProperty.Companion::unwrap)) } /** @@ -4925,7 +4925,7 @@ public open class CfnCampaign( * overrides the default message. * * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. * * @@ -5086,7 +5086,7 @@ public open class CfnCampaign( * @param emailMessage The message that the campaign sends through the email channel. If * specified, this message overrides the default message. * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. */ public fun emailMessage(emailMessage: IResolvable) @@ -5095,7 +5095,7 @@ public open class CfnCampaign( * @param emailMessage The message that the campaign sends through the email channel. If * specified, this message overrides the default message. * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. */ public fun emailMessage(emailMessage: CampaignEmailMessageProperty) @@ -5104,7 +5104,7 @@ public open class CfnCampaign( * @param emailMessage The message that the campaign sends through the email channel. If * specified, this message overrides the default message. * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -5190,7 +5190,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun admMessage(admMessage: IResolvable) { - cdkBuilder.admMessage(admMessage.let(IResolvable::unwrap)) + cdkBuilder.admMessage(admMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5199,7 +5199,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun admMessage(admMessage: MessageProperty) { - cdkBuilder.admMessage(admMessage.let(MessageProperty::unwrap)) + cdkBuilder.admMessage(admMessage.let(MessageProperty.Companion::unwrap)) } /** @@ -5218,7 +5218,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun apnsMessage(apnsMessage: IResolvable) { - cdkBuilder.apnsMessage(apnsMessage.let(IResolvable::unwrap)) + cdkBuilder.apnsMessage(apnsMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5227,7 +5227,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun apnsMessage(apnsMessage: MessageProperty) { - cdkBuilder.apnsMessage(apnsMessage.let(MessageProperty::unwrap)) + cdkBuilder.apnsMessage(apnsMessage.let(MessageProperty.Companion::unwrap)) } /** @@ -5246,7 +5246,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun baiduMessage(baiduMessage: IResolvable) { - cdkBuilder.baiduMessage(baiduMessage.let(IResolvable::unwrap)) + cdkBuilder.baiduMessage(baiduMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5255,7 +5255,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun baiduMessage(baiduMessage: MessageProperty) { - cdkBuilder.baiduMessage(baiduMessage.let(MessageProperty::unwrap)) + cdkBuilder.baiduMessage(baiduMessage.let(MessageProperty.Companion::unwrap)) } /** @@ -5275,7 +5275,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun customMessage(customMessage: IResolvable) { - cdkBuilder.customMessage(customMessage.let(IResolvable::unwrap)) + cdkBuilder.customMessage(customMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5285,7 +5285,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun customMessage(customMessage: CampaignCustomMessageProperty) { - cdkBuilder.customMessage(customMessage.let(CampaignCustomMessageProperty::unwrap)) + cdkBuilder.customMessage(customMessage.let(CampaignCustomMessageProperty.Companion::unwrap)) } /** @@ -5304,7 +5304,7 @@ public open class CfnCampaign( * that are configured for the campaign. */ override fun defaultMessage(defaultMessage: IResolvable) { - cdkBuilder.defaultMessage(defaultMessage.let(IResolvable::unwrap)) + cdkBuilder.defaultMessage(defaultMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5312,7 +5312,7 @@ public open class CfnCampaign( * that are configured for the campaign. */ override fun defaultMessage(defaultMessage: MessageProperty) { - cdkBuilder.defaultMessage(defaultMessage.let(MessageProperty::unwrap)) + cdkBuilder.defaultMessage(defaultMessage.let(MessageProperty.Companion::unwrap)) } /** @@ -5328,29 +5328,29 @@ public open class CfnCampaign( * @param emailMessage The message that the campaign sends through the email channel. If * specified, this message overrides the default message. * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. */ override fun emailMessage(emailMessage: IResolvable) { - cdkBuilder.emailMessage(emailMessage.let(IResolvable::unwrap)) + cdkBuilder.emailMessage(emailMessage.let(IResolvable.Companion::unwrap)) } /** * @param emailMessage The message that the campaign sends through the email channel. If * specified, this message overrides the default message. * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. */ override fun emailMessage(emailMessage: CampaignEmailMessageProperty) { - cdkBuilder.emailMessage(emailMessage.let(CampaignEmailMessageProperty::unwrap)) + cdkBuilder.emailMessage(emailMessage.let(CampaignEmailMessageProperty.Companion::unwrap)) } /** * @param emailMessage The message that the campaign sends through the email channel. If * specified, this message overrides the default message. * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -5365,7 +5365,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun gcmMessage(gcmMessage: IResolvable) { - cdkBuilder.gcmMessage(gcmMessage.let(IResolvable::unwrap)) + cdkBuilder.gcmMessage(gcmMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5375,7 +5375,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun gcmMessage(gcmMessage: MessageProperty) { - cdkBuilder.gcmMessage(gcmMessage.let(MessageProperty::unwrap)) + cdkBuilder.gcmMessage(gcmMessage.let(MessageProperty.Companion::unwrap)) } /** @@ -5394,7 +5394,7 @@ public open class CfnCampaign( * This message overrides the default message ( `DefaultMessage` ). */ override fun inAppMessage(inAppMessage: IResolvable) { - cdkBuilder.inAppMessage(inAppMessage.let(IResolvable::unwrap)) + cdkBuilder.inAppMessage(inAppMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5402,7 +5402,7 @@ public open class CfnCampaign( * This message overrides the default message ( `DefaultMessage` ). */ override fun inAppMessage(inAppMessage: CampaignInAppMessageProperty) { - cdkBuilder.inAppMessage(inAppMessage.let(CampaignInAppMessageProperty::unwrap)) + cdkBuilder.inAppMessage(inAppMessage.let(CampaignInAppMessageProperty.Companion::unwrap)) } /** @@ -5419,7 +5419,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun smsMessage(smsMessage: IResolvable) { - cdkBuilder.smsMessage(smsMessage.let(IResolvable::unwrap)) + cdkBuilder.smsMessage(smsMessage.let(IResolvable.Companion::unwrap)) } /** @@ -5427,7 +5427,7 @@ public open class CfnCampaign( * If specified, this message overrides the default message. */ override fun smsMessage(smsMessage: CampaignSmsMessageProperty) { - cdkBuilder.smsMessage(smsMessage.let(CampaignSmsMessageProperty::unwrap)) + cdkBuilder.smsMessage(smsMessage.let(CampaignSmsMessageProperty.Companion::unwrap)) } /** @@ -5498,7 +5498,7 @@ public open class CfnCampaign( * overrides the default message. * * - * The maximum email message size is 200KB. You can use email templates to send larger email + * The maximum email message size is 200 KB. You can use email templates to send larger email * messages. * * @@ -5879,7 +5879,7 @@ public open class CfnCampaign( * displaying messages in an in-app message center, or supporting phone home functionality. */ override fun silentPush(silentPush: IResolvable) { - cdkBuilder.silentPush(silentPush.let(IResolvable::unwrap)) + cdkBuilder.silentPush(silentPush.let(IResolvable.Companion::unwrap)) } /** @@ -6665,7 +6665,7 @@ public open class CfnCampaign( * the `Frequency` property is `EVENT` . */ override fun eventFilter(eventFilter: IResolvable) { - cdkBuilder.eventFilter(eventFilter.let(IResolvable::unwrap)) + cdkBuilder.eventFilter(eventFilter.let(IResolvable.Companion::unwrap)) } /** @@ -6673,7 +6673,7 @@ public open class CfnCampaign( * the `Frequency` property is `EVENT` . */ override fun eventFilter(eventFilter: CampaignEventFilterProperty) { - cdkBuilder.eventFilter(eventFilter.let(CampaignEventFilterProperty::unwrap)) + cdkBuilder.eventFilter(eventFilter.let(CampaignEventFilterProperty.Companion::unwrap)) } /** @@ -6708,7 +6708,7 @@ public open class CfnCampaign( * To base the schedule on each recipient's local time, set this value to `true` . */ override fun isLocalTime(isLocalTime: IResolvable) { - cdkBuilder.isLocalTime(isLocalTime.let(IResolvable::unwrap)) + cdkBuilder.isLocalTime(isLocalTime.let(IResolvable.Companion::unwrap)) } /** @@ -6726,7 +6726,7 @@ public open class CfnCampaign( * campaign, even if quiet time is enabled. */ override fun quietTime(quietTime: IResolvable) { - cdkBuilder.quietTime(quietTime.let(IResolvable::unwrap)) + cdkBuilder.quietTime(quietTime.let(IResolvable.Companion::unwrap)) } /** @@ -6744,7 +6744,7 @@ public open class CfnCampaign( * campaign, even if quiet time is enabled. */ override fun quietTime(quietTime: QuietTimeProperty) { - cdkBuilder.quietTime(quietTime.let(QuietTimeProperty::unwrap)) + cdkBuilder.quietTime(quietTime.let(QuietTimeProperty.Companion::unwrap)) } /** @@ -7179,14 +7179,14 @@ public open class CfnCampaign( * @param emailTemplate The email template to use for the message. */ override fun emailTemplate(emailTemplate: IResolvable) { - cdkBuilder.emailTemplate(emailTemplate.let(IResolvable::unwrap)) + cdkBuilder.emailTemplate(emailTemplate.let(IResolvable.Companion::unwrap)) } /** * @param emailTemplate The email template to use for the message. */ override fun emailTemplate(emailTemplate: TemplateProperty) { - cdkBuilder.emailTemplate(emailTemplate.let(TemplateProperty::unwrap)) + cdkBuilder.emailTemplate(emailTemplate.let(TemplateProperty.Companion::unwrap)) } /** @@ -7201,14 +7201,14 @@ public open class CfnCampaign( * @param pushTemplate The push notification template to use for the message. */ override fun pushTemplate(pushTemplate: IResolvable) { - cdkBuilder.pushTemplate(pushTemplate.let(IResolvable::unwrap)) + cdkBuilder.pushTemplate(pushTemplate.let(IResolvable.Companion::unwrap)) } /** * @param pushTemplate The push notification template to use for the message. */ override fun pushTemplate(pushTemplate: TemplateProperty) { - cdkBuilder.pushTemplate(pushTemplate.let(TemplateProperty::unwrap)) + cdkBuilder.pushTemplate(pushTemplate.let(TemplateProperty.Companion::unwrap)) } /** @@ -7223,14 +7223,14 @@ public open class CfnCampaign( * @param smsTemplate The SMS template to use for the message. */ override fun smsTemplate(smsTemplate: IResolvable) { - cdkBuilder.smsTemplate(smsTemplate.let(IResolvable::unwrap)) + cdkBuilder.smsTemplate(smsTemplate.let(IResolvable.Companion::unwrap)) } /** * @param smsTemplate The SMS template to use for the message. */ override fun smsTemplate(smsTemplate: TemplateProperty) { - cdkBuilder.smsTemplate(smsTemplate.let(TemplateProperty::unwrap)) + cdkBuilder.smsTemplate(smsTemplate.let(TemplateProperty.Companion::unwrap)) } /** @@ -7246,7 +7246,7 @@ public open class CfnCampaign( * This object isn't supported for campaigns. */ override fun voiceTemplate(voiceTemplate: IResolvable) { - cdkBuilder.voiceTemplate(voiceTemplate.let(IResolvable::unwrap)) + cdkBuilder.voiceTemplate(voiceTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -7254,7 +7254,7 @@ public open class CfnCampaign( * This object isn't supported for campaigns. */ override fun voiceTemplate(voiceTemplate: TemplateProperty) { - cdkBuilder.voiceTemplate(voiceTemplate.let(TemplateProperty::unwrap)) + cdkBuilder.voiceTemplate(voiceTemplate.let(TemplateProperty.Companion::unwrap)) } /** @@ -7864,7 +7864,7 @@ public open class CfnCampaign( * `CustomMessage` object. */ override fun customDeliveryConfiguration(customDeliveryConfiguration: IResolvable) { - cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7875,7 +7875,7 @@ public open class CfnCampaign( */ override fun customDeliveryConfiguration(customDeliveryConfiguration: CustomDeliveryConfigurationProperty) { - cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(CustomDeliveryConfigurationProperty::unwrap)) + cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(CustomDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -7895,14 +7895,14 @@ public open class CfnCampaign( * @param messageConfiguration The message configuration settings for the treatment. */ override fun messageConfiguration(messageConfiguration: IResolvable) { - cdkBuilder.messageConfiguration(messageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.messageConfiguration(messageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param messageConfiguration The message configuration settings for the treatment. */ override fun messageConfiguration(messageConfiguration: MessageConfigurationProperty) { - cdkBuilder.messageConfiguration(messageConfiguration.let(MessageConfigurationProperty::unwrap)) + cdkBuilder.messageConfiguration(messageConfiguration.let(MessageConfigurationProperty.Companion::unwrap)) } /** @@ -7918,14 +7918,14 @@ public open class CfnCampaign( * @param schedule The schedule settings for the treatment. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule The schedule settings for the treatment. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -7948,14 +7948,14 @@ public open class CfnCampaign( * @param templateConfiguration The message template to use for the treatment. */ override fun templateConfiguration(templateConfiguration: IResolvable) { - cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param templateConfiguration The message template to use for the treatment. */ override fun templateConfiguration(templateConfiguration: TemplateConfigurationProperty) { - cdkBuilder.templateConfiguration(templateConfiguration.let(TemplateConfigurationProperty::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(TemplateConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaignProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaignProps.kt index 449bfff173..b5cfc7e0eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaignProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnCampaignProps.kt @@ -824,7 +824,7 @@ public interface CfnCampaignProps { * campaign, in addition to the default treatment for the campaign. */ override fun additionalTreatments(additionalTreatments: IResolvable) { - cdkBuilder.additionalTreatments(additionalTreatments.let(IResolvable::unwrap)) + cdkBuilder.additionalTreatments(additionalTreatments.let(IResolvable.Companion::unwrap)) } /** @@ -854,14 +854,14 @@ public interface CfnCampaignProps { * @param campaignHook Specifies the Lambda function to use as a code hook for a campaign. */ override fun campaignHook(campaignHook: IResolvable) { - cdkBuilder.campaignHook(campaignHook.let(IResolvable::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(IResolvable.Companion::unwrap)) } /** * @param campaignHook Specifies the Lambda function to use as a code hook for a campaign. */ override fun campaignHook(campaignHook: CfnCampaign.CampaignHookProperty) { - cdkBuilder.campaignHook(campaignHook.let(CfnCampaign.CampaignHookProperty::unwrap)) + cdkBuilder.campaignHook(campaignHook.let(CfnCampaign.CampaignHookProperty.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public interface CfnCampaignProps { * `CustomMessage` object. */ override fun customDeliveryConfiguration(customDeliveryConfiguration: IResolvable) { - cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public interface CfnCampaignProps { */ override fun customDeliveryConfiguration(customDeliveryConfiguration: CfnCampaign.CustomDeliveryConfigurationProperty) { - cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(CfnCampaign.CustomDeliveryConfigurationProperty::unwrap)) + cdkBuilder.customDeliveryConfiguration(customDeliveryConfiguration.let(CfnCampaign.CustomDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -942,21 +942,21 @@ public interface CfnCampaignProps { * paused. */ override fun isPaused(isPaused: IResolvable) { - cdkBuilder.isPaused(isPaused.let(IResolvable::unwrap)) + cdkBuilder.isPaused(isPaused.let(IResolvable.Companion::unwrap)) } /** * @param limits The messaging limits for the campaign. */ override fun limits(limits: IResolvable) { - cdkBuilder.limits(limits.let(IResolvable::unwrap)) + cdkBuilder.limits(limits.let(IResolvable.Companion::unwrap)) } /** * @param limits The messaging limits for the campaign. */ override fun limits(limits: CfnCampaign.LimitsProperty) { - cdkBuilder.limits(limits.let(CfnCampaign.LimitsProperty::unwrap)) + cdkBuilder.limits(limits.let(CfnCampaign.LimitsProperty.Companion::unwrap)) } /** @@ -971,7 +971,7 @@ public interface CfnCampaignProps { * @param messageConfiguration The message configuration settings for the treatment. */ override fun messageConfiguration(messageConfiguration: IResolvable) { - cdkBuilder.messageConfiguration(messageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.messageConfiguration(messageConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public interface CfnCampaignProps { */ override fun messageConfiguration(messageConfiguration: CfnCampaign.MessageConfigurationProperty) { - cdkBuilder.messageConfiguration(messageConfiguration.let(CfnCampaign.MessageConfigurationProperty::unwrap)) + cdkBuilder.messageConfiguration(messageConfiguration.let(CfnCampaign.MessageConfigurationProperty.Companion::unwrap)) } /** @@ -1012,14 +1012,14 @@ public interface CfnCampaignProps { * @param schedule The schedule settings for the treatment. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule The schedule settings for the treatment. */ override fun schedule(schedule: CfnCampaign.ScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnCampaign.ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnCampaign.ScheduleProperty.Companion::unwrap)) } /** @@ -1058,7 +1058,7 @@ public interface CfnCampaignProps { * @param templateConfiguration The message template to use for the treatment. */ override fun templateConfiguration(templateConfiguration: IResolvable) { - cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1066,7 +1066,7 @@ public interface CfnCampaignProps { */ override fun templateConfiguration(templateConfiguration: CfnCampaign.TemplateConfigurationProperty) { - cdkBuilder.templateConfiguration(templateConfiguration.let(CfnCampaign.TemplateConfigurationProperty::unwrap)) + cdkBuilder.templateConfiguration(templateConfiguration.let(CfnCampaign.TemplateConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannel.kt index 893d1ddf65..8c9f8144ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannel.kt @@ -51,8 +51,8 @@ public open class CfnEmailChannel( id: String, props: CfnEmailChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnEmailChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEmailChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnEmailChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEmailChannelProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnEmailChannel( * Specifies whether to enable the email channel for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,17 +152,19 @@ public open class CfnEmailChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** - * + * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys + * through Amazon SES . */ public open fun orchestrationSendingRoleArn(): String? = unwrap(this).getOrchestrationSendingRoleArn() /** - * + * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys + * through Amazon SES . */ public open fun orchestrationSendingRoleArn(`value`: String) { unwrap(this).setOrchestrationSendingRoleArn(`value`) @@ -246,8 +248,12 @@ public open class CfnEmailChannel( public fun identity(identity: String) /** + * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or + * journeys through Amazon SES . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-orchestrationsendingrolearn) - * @param orchestrationSendingRoleArn + * @param orchestrationSendingRoleArn The ARN of an IAM role for Amazon Pinpoint to use to send + * email from your campaigns or journeys through Amazon SES . */ public fun orchestrationSendingRoleArn(orchestrationSendingRoleArn: String) @@ -312,7 +318,7 @@ public open class CfnEmailChannel( * @param enabled Specifies whether to enable the email channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -340,8 +346,12 @@ public open class CfnEmailChannel( } /** + * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or + * journeys through Amazon SES . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-orchestrationsendingrolearn) - * @param orchestrationSendingRoleArn + * @param orchestrationSendingRoleArn The ARN of an IAM role for Amazon Pinpoint to use to send + * email from your campaigns or journeys through Amazon SES . */ override fun orchestrationSendingRoleArn(orchestrationSendingRoleArn: String) { cdkBuilder.orchestrationSendingRoleArn(orchestrationSendingRoleArn) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannelProps.kt index fdd3906eef..2409ea8eea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailChannelProps.kt @@ -76,6 +76,9 @@ public interface CfnEmailChannelProps { public fun identity(): String /** + * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys + * through Amazon SES . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-orchestrationsendingrolearn) */ public fun orchestrationSendingRoleArn(): String? = unwrap(this).getOrchestrationSendingRoleArn() @@ -129,7 +132,8 @@ public interface CfnEmailChannelProps { public fun identity(identity: String) /** - * @param orchestrationSendingRoleArn the value to be set. + * @param orchestrationSendingRoleArn The ARN of an IAM role for Amazon Pinpoint to use to send + * email from your campaigns or journeys through Amazon SES . */ public fun orchestrationSendingRoleArn(orchestrationSendingRoleArn: String) @@ -172,7 +176,7 @@ public interface CfnEmailChannelProps { * @param enabled Specifies whether to enable the email channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +196,8 @@ public interface CfnEmailChannelProps { } /** - * @param orchestrationSendingRoleArn the value to be set. + * @param orchestrationSendingRoleArn The ARN of an IAM role for Amazon Pinpoint to use to send + * email from your campaigns or journeys through Amazon SES . */ override fun orchestrationSendingRoleArn(orchestrationSendingRoleArn: String) { cdkBuilder.orchestrationSendingRoleArn(orchestrationSendingRoleArn) @@ -254,6 +259,9 @@ public interface CfnEmailChannelProps { override fun identity(): String = unwrap(this).getIdentity() /** + * The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or + * journeys through Amazon SES . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-orchestrationsendingrolearn) */ override fun orchestrationSendingRoleArn(): String? = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailTemplate.kt index b8da4a7228..77556c8522 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEmailTemplate.kt @@ -49,8 +49,8 @@ public open class CfnEmailTemplate( id: String, props: CfnEmailTemplateProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnEmailTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEmailTemplateProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnEmailTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEmailTemplateProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnEmailTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEventStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEventStream.kt index 629b28f1d1..7a0c4fa15e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEventStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnEventStream.kt @@ -38,8 +38,8 @@ public open class CfnEventStream( id: String, props: CfnEventStreamProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnEventStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventStreamProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnEventStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventStreamProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnEventStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannel.kt index 911f6692a5..c8cf6ee3bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannel.kt @@ -51,8 +51,8 @@ public open class CfnGCMChannel( id: String, props: CfnGCMChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnGCMChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGCMChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnGCMChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGCMChannelProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnGCMChannel( * Specifies whether to enable the GCM channel for the Amazon Pinpoint application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnGCMChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnGCMChannel( * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannelProps.kt index feb979f2dc..20b2b86d30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnGCMChannelProps.kt @@ -160,7 +160,7 @@ public interface CfnGCMChannelProps { * application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplate.kt index 3da6c7215a..b7e5507522 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplate.kt @@ -113,8 +113,8 @@ public open class CfnInAppTemplate( id: String, props: CfnInAppTemplateProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnInAppTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInAppTemplateProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnInAppTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInAppTemplateProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class CfnInAppTemplate( * and body text, text colors, background colors, images, buttons, and behaviors. */ public open fun content(`value`: IResolvable) { - unwrap(this).setContent(`value`.let(IResolvable::unwrap)) + unwrap(this).setContent(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnInAppTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnInAppTemplate( * behaviors. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public open class CfnInAppTemplate( * This button configuration overrides the default button configuration. */ override fun android(android: IResolvable) { - cdkBuilder.android(android.let(IResolvable::unwrap)) + cdkBuilder.android(android.let(IResolvable.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class CfnInAppTemplate( * This button configuration overrides the default button configuration. */ override fun android(android: OverrideButtonConfigurationProperty) { - cdkBuilder.android(android.let(OverrideButtonConfigurationProperty::unwrap)) + cdkBuilder.android(android.let(OverrideButtonConfigurationProperty.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class CfnInAppTemplate( * web browser users. */ override fun defaultConfig(defaultConfig: IResolvable) { - cdkBuilder.defaultConfig(defaultConfig.let(IResolvable::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(IResolvable.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public open class CfnInAppTemplate( * web browser users. */ override fun defaultConfig(defaultConfig: DefaultButtonConfigurationProperty) { - cdkBuilder.defaultConfig(defaultConfig.let(DefaultButtonConfigurationProperty::unwrap)) + cdkBuilder.defaultConfig(defaultConfig.let(DefaultButtonConfigurationProperty.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnInAppTemplate( * This button configuration overrides the default button configuration. */ override fun ios(ios: IResolvable) { - cdkBuilder.ios(ios.let(IResolvable::unwrap)) + cdkBuilder.ios(ios.let(IResolvable.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public open class CfnInAppTemplate( * This button configuration overrides the default button configuration. */ override fun ios(ios: OverrideButtonConfigurationProperty) { - cdkBuilder.ios(ios.let(OverrideButtonConfigurationProperty::unwrap)) + cdkBuilder.ios(ios.let(OverrideButtonConfigurationProperty.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public open class CfnInAppTemplate( * This button configuration overrides the default button configuration. */ override fun web(web: IResolvable) { - cdkBuilder.web(web.let(IResolvable::unwrap)) + cdkBuilder.web(web.let(IResolvable.Companion::unwrap)) } /** @@ -880,7 +880,7 @@ public open class CfnInAppTemplate( * This button configuration overrides the default button configuration. */ override fun web(web: OverrideButtonConfigurationProperty) { - cdkBuilder.web(web.let(OverrideButtonConfigurationProperty::unwrap)) + cdkBuilder.web(web.let(OverrideButtonConfigurationProperty.Companion::unwrap)) } /** @@ -1589,7 +1589,7 @@ public open class CfnInAppTemplate( * title text of the in-app message. */ override fun bodyConfig(bodyConfig: IResolvable) { - cdkBuilder.bodyConfig(bodyConfig.let(IResolvable::unwrap)) + cdkBuilder.bodyConfig(bodyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1597,7 +1597,7 @@ public open class CfnInAppTemplate( * title text of the in-app message. */ override fun bodyConfig(bodyConfig: BodyConfigProperty) { - cdkBuilder.bodyConfig(bodyConfig.let(BodyConfigProperty::unwrap)) + cdkBuilder.bodyConfig(bodyConfig.let(BodyConfigProperty.Companion::unwrap)) } /** @@ -1614,7 +1614,7 @@ public open class CfnInAppTemplate( * title text of the in-app message. */ override fun headerConfig(headerConfig: IResolvable) { - cdkBuilder.headerConfig(headerConfig.let(IResolvable::unwrap)) + cdkBuilder.headerConfig(headerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1622,7 +1622,7 @@ public open class CfnInAppTemplate( * title text of the in-app message. */ override fun headerConfig(headerConfig: HeaderConfigProperty) { - cdkBuilder.headerConfig(headerConfig.let(HeaderConfigProperty::unwrap)) + cdkBuilder.headerConfig(headerConfig.let(HeaderConfigProperty.Companion::unwrap)) } /** @@ -1646,7 +1646,7 @@ public open class CfnInAppTemplate( * button in an in-app message. */ override fun primaryBtn(primaryBtn: IResolvable) { - cdkBuilder.primaryBtn(primaryBtn.let(IResolvable::unwrap)) + cdkBuilder.primaryBtn(primaryBtn.let(IResolvable.Companion::unwrap)) } /** @@ -1654,7 +1654,7 @@ public open class CfnInAppTemplate( * button in an in-app message. */ override fun primaryBtn(primaryBtn: ButtonConfigProperty) { - cdkBuilder.primaryBtn(primaryBtn.let(ButtonConfigProperty::unwrap)) + cdkBuilder.primaryBtn(primaryBtn.let(ButtonConfigProperty.Companion::unwrap)) } /** @@ -1671,7 +1671,7 @@ public open class CfnInAppTemplate( * button in an in-app message. */ override fun secondaryBtn(secondaryBtn: IResolvable) { - cdkBuilder.secondaryBtn(secondaryBtn.let(IResolvable::unwrap)) + cdkBuilder.secondaryBtn(secondaryBtn.let(IResolvable.Companion::unwrap)) } /** @@ -1679,7 +1679,7 @@ public open class CfnInAppTemplate( * button in an in-app message. */ override fun secondaryBtn(secondaryBtn: ButtonConfigProperty) { - cdkBuilder.secondaryBtn(secondaryBtn.let(ButtonConfigProperty::unwrap)) + cdkBuilder.secondaryBtn(secondaryBtn.let(ButtonConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplateProps.kt index 2ec783b64c..acb2ed5358 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnInAppTemplateProps.kt @@ -221,7 +221,7 @@ public interface CfnInAppTemplateProps { * behaviors. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplate.kt index 2f550dda47..f4ca071825 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplate.kt @@ -96,8 +96,8 @@ public open class CfnPushTemplate( id: String, props: CfnPushTemplateProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnPushTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPushTemplateProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnPushTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPushTemplateProps.Companion::unwrap)) ) public constructor( @@ -116,14 +116,14 @@ public open class CfnPushTemplate( * The message template to use for the ADM (Amazon Device Messaging) channel. */ public open fun adm(`value`: IResolvable) { - unwrap(this).setAdm(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdm(`value`.let(IResolvable.Companion::unwrap)) } /** * The message template to use for the ADM (Amazon Device Messaging) channel. */ public open fun adm(`value`: AndroidPushNotificationTemplateProperty) { - unwrap(this).setAdm(`value`.let(AndroidPushNotificationTemplateProperty::unwrap)) + unwrap(this).setAdm(`value`.let(AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -143,14 +143,14 @@ public open class CfnPushTemplate( * The message template to use for the APNs (Apple Push Notification service) channel. */ public open fun apns(`value`: IResolvable) { - unwrap(this).setApns(`value`.let(IResolvable::unwrap)) + unwrap(this).setApns(`value`.let(IResolvable.Companion::unwrap)) } /** * The message template to use for the APNs (Apple Push Notification service) channel. */ public open fun apns(`value`: APNSPushNotificationTemplateProperty) { - unwrap(this).setApns(`value`.let(APNSPushNotificationTemplateProperty::unwrap)) + unwrap(this).setApns(`value`.let(APNSPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -180,14 +180,14 @@ public open class CfnPushTemplate( * The message template to use for the Baidu (Baidu Cloud Push) channel. */ public open fun baidu(`value`: IResolvable) { - unwrap(this).setBaidu(`value`.let(IResolvable::unwrap)) + unwrap(this).setBaidu(`value`.let(IResolvable.Companion::unwrap)) } /** * The message template to use for the Baidu (Baidu Cloud Push) channel. */ public open fun baidu(`value`: AndroidPushNotificationTemplateProperty) { - unwrap(this).setBaidu(`value`.let(AndroidPushNotificationTemplateProperty::unwrap)) + unwrap(this).setBaidu(`value`.let(AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnPushTemplate( * The default message template to use for push notification channels. */ public open fun defaultValue(`value`: IResolvable) { - unwrap(this).setDefaultValue(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultValue(`value`.let(IResolvable.Companion::unwrap)) } /** * The default message template to use for push notification channels. */ public open fun defaultValue(`value`: DefaultPushNotificationTemplateProperty) { - unwrap(this).setDefaultValue(`value`.let(DefaultPushNotificationTemplateProperty::unwrap)) + unwrap(this).setDefaultValue(`value`.let(DefaultPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnPushTemplate( * the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. */ public open fun gcm(`value`: IResolvable) { - unwrap(this).setGcm(`value`.let(IResolvable::unwrap)) + unwrap(this).setGcm(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnPushTemplate( * the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. */ public open fun gcm(`value`: AndroidPushNotificationTemplateProperty) { - unwrap(this).setGcm(`value`.let(AndroidPushNotificationTemplateProperty::unwrap)) + unwrap(this).setGcm(`value`.let(AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnPushTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnPushTemplate( * @param adm The message template to use for the ADM (Amazon Device Messaging) channel. */ override fun adm(adm: IResolvable) { - cdkBuilder.adm(adm.let(IResolvable::unwrap)) + cdkBuilder.adm(adm.let(IResolvable.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public open class CfnPushTemplate( * @param adm The message template to use for the ADM (Amazon Device Messaging) channel. */ override fun adm(adm: AndroidPushNotificationTemplateProperty) { - cdkBuilder.adm(adm.let(AndroidPushNotificationTemplateProperty::unwrap)) + cdkBuilder.adm(adm.let(AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnPushTemplate( * channel. */ override fun apns(apns: IResolvable) { - cdkBuilder.apns(apns.let(IResolvable::unwrap)) + cdkBuilder.apns(apns.let(IResolvable.Companion::unwrap)) } /** @@ -622,7 +622,7 @@ public open class CfnPushTemplate( * channel. */ override fun apns(apns: APNSPushNotificationTemplateProperty) { - cdkBuilder.apns(apns.let(APNSPushNotificationTemplateProperty::unwrap)) + cdkBuilder.apns(apns.let(APNSPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnPushTemplate( * @param baidu The message template to use for the Baidu (Baidu Cloud Push) channel. */ override fun baidu(baidu: IResolvable) { - cdkBuilder.baidu(baidu.let(IResolvable::unwrap)) + cdkBuilder.baidu(baidu.let(IResolvable.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class CfnPushTemplate( * @param baidu The message template to use for the Baidu (Baidu Cloud Push) channel. */ override fun baidu(baidu: AndroidPushNotificationTemplateProperty) { - cdkBuilder.baidu(baidu.let(AndroidPushNotificationTemplateProperty::unwrap)) + cdkBuilder.baidu(baidu.let(AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnPushTemplate( * @param defaultValue The default message template to use for push notification channels. */ override fun defaultValue(defaultValue: IResolvable) { - cdkBuilder.defaultValue(defaultValue.let(IResolvable::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(IResolvable.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public open class CfnPushTemplate( * @param defaultValue The default message template to use for push notification channels. */ override fun defaultValue(defaultValue: DefaultPushNotificationTemplateProperty) { - cdkBuilder.defaultValue(defaultValue.let(DefaultPushNotificationTemplateProperty::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(DefaultPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnPushTemplate( * service. */ override fun gcm(gcm: IResolvable) { - cdkBuilder.gcm(gcm.let(IResolvable::unwrap)) + cdkBuilder.gcm(gcm.let(IResolvable.Companion::unwrap)) } /** @@ -758,7 +758,7 @@ public open class CfnPushTemplate( * service. */ override fun gcm(gcm: AndroidPushNotificationTemplateProperty) { - cdkBuilder.gcm(gcm.let(AndroidPushNotificationTemplateProperty::unwrap)) + cdkBuilder.gcm(gcm.let(AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplateProps.kt index 578d6bd503..c151710b44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnPushTemplateProps.kt @@ -331,7 +331,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun adm(adm: IResolvable) { - cdkBuilder.adm(adm.let(IResolvable::unwrap)) + cdkBuilder.adm(adm.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun adm(adm: CfnPushTemplate.AndroidPushNotificationTemplateProperty) { - cdkBuilder.adm(adm.let(CfnPushTemplate.AndroidPushNotificationTemplateProperty::unwrap)) + cdkBuilder.adm(adm.let(CfnPushTemplate.AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun apns(apns: IResolvable) { - cdkBuilder.apns(apns.let(IResolvable::unwrap)) + cdkBuilder.apns(apns.let(IResolvable.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun apns(apns: CfnPushTemplate.APNSPushNotificationTemplateProperty) { - cdkBuilder.apns(apns.let(CfnPushTemplate.APNSPushNotificationTemplateProperty::unwrap)) + cdkBuilder.apns(apns.let(CfnPushTemplate.APNSPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun baidu(baidu: IResolvable) { - cdkBuilder.baidu(baidu.let(IResolvable::unwrap)) + cdkBuilder.baidu(baidu.let(IResolvable.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun baidu(baidu: CfnPushTemplate.AndroidPushNotificationTemplateProperty) { - cdkBuilder.baidu(baidu.let(CfnPushTemplate.AndroidPushNotificationTemplateProperty::unwrap)) + cdkBuilder.baidu(baidu.let(CfnPushTemplate.AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public interface CfnPushTemplateProps { * @param defaultValue The default message template to use for push notification channels. */ override fun defaultValue(defaultValue: IResolvable) { - cdkBuilder.defaultValue(defaultValue.let(IResolvable::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(IResolvable.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface CfnPushTemplateProps { */ override fun defaultValue(defaultValue: CfnPushTemplate.DefaultPushNotificationTemplateProperty) { - cdkBuilder.defaultValue(defaultValue.let(CfnPushTemplate.DefaultPushNotificationTemplateProperty::unwrap)) + cdkBuilder.defaultValue(defaultValue.let(CfnPushTemplate.DefaultPushNotificationTemplateProperty.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun gcm(gcm: IResolvable) { - cdkBuilder.gcm(gcm.let(IResolvable::unwrap)) + cdkBuilder.gcm(gcm.let(IResolvable.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public interface CfnPushTemplateProps { * `Default` ). */ override fun gcm(gcm: CfnPushTemplate.AndroidPushNotificationTemplateProperty) { - cdkBuilder.gcm(gcm.let(CfnPushTemplate.AndroidPushNotificationTemplateProperty::unwrap)) + cdkBuilder.gcm(gcm.let(CfnPushTemplate.AndroidPushNotificationTemplateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannel.kt index 527575ad48..21b49552be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannel.kt @@ -49,8 +49,8 @@ public open class CfnSMSChannel( id: String, props: CfnSMSChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnSMSChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSMSChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnSMSChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSMSChannelProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnSMSChannel( * Specifies whether to enable the SMS channel for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class CfnSMSChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class CfnSMSChannel( * @param enabled Specifies whether to enable the SMS channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannelProps.kt index 2798b03306..6110a5e22a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSMSChannelProps.kt @@ -142,7 +142,7 @@ public interface CfnSMSChannelProps { * @param enabled Specifies whether to enable the SMS channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegment.kt index ff2bb6326a..f2b033a693 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegment.kt @@ -163,8 +163,8 @@ public open class CfnSegment( id: String, props: CfnSegmentProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnSegment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSegmentProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnSegment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSegmentProps.Companion::unwrap)) ) public constructor( @@ -205,14 +205,14 @@ public open class CfnSegment( * An array that defines the dimensions for the segment. */ public open fun dimensions(`value`: IResolvable) { - unwrap(this).setDimensions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDimensions(`value`.let(IResolvable.Companion::unwrap)) } /** * An array that defines the dimensions for the segment. */ public open fun dimensions(`value`: SegmentDimensionsProperty) { - unwrap(this).setDimensions(`value`.let(SegmentDimensionsProperty::unwrap)) + unwrap(this).setDimensions(`value`.let(SegmentDimensionsProperty.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnSegment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnSegment( * build the segment. */ public open fun segmentGroups(`value`: IResolvable) { - unwrap(this).setSegmentGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setSegmentGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnSegment( * build the segment. */ public open fun segmentGroups(`value`: SegmentGroupsProperty) { - unwrap(this).setSegmentGroups(`value`.let(SegmentGroupsProperty::unwrap)) + unwrap(this).setSegmentGroups(`value`.let(SegmentGroupsProperty.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class CfnSegment( * @param dimensions An array that defines the dimensions for the segment. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnSegment( * @param dimensions An array that defines the dimensions for the segment. */ override fun dimensions(dimensions: SegmentDimensionsProperty) { - cdkBuilder.dimensions(dimensions.let(SegmentDimensionsProperty::unwrap)) + cdkBuilder.dimensions(dimensions.let(SegmentDimensionsProperty.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnSegment( * segments in order to build the segment. */ override fun segmentGroups(segmentGroups: IResolvable) { - cdkBuilder.segmentGroups(segmentGroups.let(IResolvable::unwrap)) + cdkBuilder.segmentGroups(segmentGroups.let(IResolvable.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnSegment( * segments in order to build the segment. */ override fun segmentGroups(segmentGroups: SegmentGroupsProperty) { - cdkBuilder.segmentGroups(segmentGroups.let(SegmentGroupsProperty::unwrap)) + cdkBuilder.segmentGroups(segmentGroups.let(SegmentGroupsProperty.Companion::unwrap)) } /** @@ -714,14 +714,14 @@ public open class CfnSegment( * @param recency Specifies how recently segment members were active. */ override fun recency(recency: IResolvable) { - cdkBuilder.recency(recency.let(IResolvable::unwrap)) + cdkBuilder.recency(recency.let(IResolvable.Companion::unwrap)) } /** * @param recency Specifies how recently segment members were active. */ override fun recency(recency: RecencyProperty) { - cdkBuilder.recency(recency.let(RecencyProperty::unwrap)) + cdkBuilder.recency(recency.let(RecencyProperty.Companion::unwrap)) } /** @@ -1071,14 +1071,14 @@ public open class CfnSegment( * @param appVersion The app version criteria for the segment. */ override fun appVersion(appVersion: IResolvable) { - cdkBuilder.appVersion(appVersion.let(IResolvable::unwrap)) + cdkBuilder.appVersion(appVersion.let(IResolvable.Companion::unwrap)) } /** * @param appVersion The app version criteria for the segment. */ override fun appVersion(appVersion: SetDimensionProperty) { - cdkBuilder.appVersion(appVersion.let(SetDimensionProperty::unwrap)) + cdkBuilder.appVersion(appVersion.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1093,14 +1093,14 @@ public open class CfnSegment( * @param channel The channel criteria for the segment. */ override fun channel(channel: IResolvable) { - cdkBuilder.channel(channel.let(IResolvable::unwrap)) + cdkBuilder.channel(channel.let(IResolvable.Companion::unwrap)) } /** * @param channel The channel criteria for the segment. */ override fun channel(channel: SetDimensionProperty) { - cdkBuilder.channel(channel.let(SetDimensionProperty::unwrap)) + cdkBuilder.channel(channel.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1115,14 +1115,14 @@ public open class CfnSegment( * @param deviceType The device type criteria for the segment. */ override fun deviceType(deviceType: IResolvable) { - cdkBuilder.deviceType(deviceType.let(IResolvable::unwrap)) + cdkBuilder.deviceType(deviceType.let(IResolvable.Companion::unwrap)) } /** * @param deviceType The device type criteria for the segment. */ override fun deviceType(deviceType: SetDimensionProperty) { - cdkBuilder.deviceType(deviceType.let(SetDimensionProperty::unwrap)) + cdkBuilder.deviceType(deviceType.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1137,14 +1137,14 @@ public open class CfnSegment( * @param make The device make criteria for the segment. */ override fun make(make: IResolvable) { - cdkBuilder.make(make.let(IResolvable::unwrap)) + cdkBuilder.make(make.let(IResolvable.Companion::unwrap)) } /** * @param make The device make criteria for the segment. */ override fun make(make: SetDimensionProperty) { - cdkBuilder.make(make.let(SetDimensionProperty::unwrap)) + cdkBuilder.make(make.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1159,14 +1159,14 @@ public open class CfnSegment( * @param model The device model criteria for the segment. */ override fun model(model: IResolvable) { - cdkBuilder.model(model.let(IResolvable::unwrap)) + cdkBuilder.model(model.let(IResolvable.Companion::unwrap)) } /** * @param model The device model criteria for the segment. */ override fun model(model: SetDimensionProperty) { - cdkBuilder.model(model.let(SetDimensionProperty::unwrap)) + cdkBuilder.model(model.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1181,14 +1181,14 @@ public open class CfnSegment( * @param platform The device platform criteria for the segment. */ override fun platform(platform: IResolvable) { - cdkBuilder.platform(platform.let(IResolvable::unwrap)) + cdkBuilder.platform(platform.let(IResolvable.Companion::unwrap)) } /** * @param platform The device platform criteria for the segment. */ override fun platform(platform: SetDimensionProperty) { - cdkBuilder.platform(platform.let(SetDimensionProperty::unwrap)) + cdkBuilder.platform(platform.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1339,14 +1339,14 @@ public open class CfnSegment( * @param coordinates The GPS coordinates to measure distance from. */ override fun coordinates(coordinates: IResolvable) { - cdkBuilder.coordinates(coordinates.let(IResolvable::unwrap)) + cdkBuilder.coordinates(coordinates.let(IResolvable.Companion::unwrap)) } /** * @param coordinates The GPS coordinates to measure distance from. */ override fun coordinates(coordinates: CoordinatesProperty) { - cdkBuilder.coordinates(coordinates.let(CoordinatesProperty::unwrap)) + cdkBuilder.coordinates(coordinates.let(CoordinatesProperty.Companion::unwrap)) } /** @@ -1607,7 +1607,7 @@ public open class CfnSegment( * segment. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** @@ -1635,7 +1635,7 @@ public open class CfnSegment( * console indicates the size of the imported segment without any filters applied to it. */ override fun sourceSegments(sourceSegments: IResolvable) { - cdkBuilder.sourceSegments(sourceSegments.let(IResolvable::unwrap)) + cdkBuilder.sourceSegments(sourceSegments.let(IResolvable.Companion::unwrap)) } /** @@ -1840,14 +1840,14 @@ public open class CfnSegment( * @param country The country or region code, in ISO 3166-1 alpha-2 format, for the segment. */ override fun country(country: IResolvable) { - cdkBuilder.country(country.let(IResolvable::unwrap)) + cdkBuilder.country(country.let(IResolvable.Companion::unwrap)) } /** * @param country The country or region code, in ISO 3166-1 alpha-2 format, for the segment. */ override fun country(country: SetDimensionProperty) { - cdkBuilder.country(country.let(SetDimensionProperty::unwrap)) + cdkBuilder.country(country.let(SetDimensionProperty.Companion::unwrap)) } /** @@ -1862,14 +1862,14 @@ public open class CfnSegment( * @param gpsPoint The GPS point dimension for the segment. */ override fun gpsPoint(gpsPoint: IResolvable) { - cdkBuilder.gpsPoint(gpsPoint.let(IResolvable::unwrap)) + cdkBuilder.gpsPoint(gpsPoint.let(IResolvable.Companion::unwrap)) } /** * @param gpsPoint The GPS point dimension for the segment. */ override fun gpsPoint(gpsPoint: GPSPointProperty) { - cdkBuilder.gpsPoint(gpsPoint.let(GPSPointProperty::unwrap)) + cdkBuilder.gpsPoint(gpsPoint.let(GPSPointProperty.Companion::unwrap)) } /** @@ -2269,7 +2269,7 @@ public open class CfnSegment( * for the segment. */ override fun behavior(behavior: IResolvable) { - cdkBuilder.behavior(behavior.let(IResolvable::unwrap)) + cdkBuilder.behavior(behavior.let(IResolvable.Companion::unwrap)) } /** @@ -2277,7 +2277,7 @@ public open class CfnSegment( * for the segment. */ override fun behavior(behavior: BehaviorProperty) { - cdkBuilder.behavior(behavior.let(BehaviorProperty::unwrap)) + cdkBuilder.behavior(behavior.let(BehaviorProperty.Companion::unwrap)) } /** @@ -2294,7 +2294,7 @@ public open class CfnSegment( * segment. */ override fun demographic(demographic: IResolvable) { - cdkBuilder.demographic(demographic.let(IResolvable::unwrap)) + cdkBuilder.demographic(demographic.let(IResolvable.Companion::unwrap)) } /** @@ -2302,7 +2302,7 @@ public open class CfnSegment( * segment. */ override fun demographic(demographic: DemographicProperty) { - cdkBuilder.demographic(demographic.let(DemographicProperty::unwrap)) + cdkBuilder.demographic(demographic.let(DemographicProperty.Companion::unwrap)) } /** @@ -2319,7 +2319,7 @@ public open class CfnSegment( * segment. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -2327,7 +2327,7 @@ public open class CfnSegment( * segment. */ override fun location(location: LocationProperty) { - cdkBuilder.location(location.let(LocationProperty::unwrap)) + cdkBuilder.location(location.let(LocationProperty.Companion::unwrap)) } /** @@ -2565,7 +2565,7 @@ public open class CfnSegment( * groups for the segment. */ override fun groups(groups: IResolvable) { - cdkBuilder.groups(groups.let(IResolvable::unwrap)) + cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegmentProps.kt index 339881e113..fe6195c53c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSegmentProps.kt @@ -280,14 +280,14 @@ public interface CfnSegmentProps { * @param dimensions An array that defines the dimensions for the segment. */ override fun dimensions(dimensions: IResolvable) { - cdkBuilder.dimensions(dimensions.let(IResolvable::unwrap)) + cdkBuilder.dimensions(dimensions.let(IResolvable.Companion::unwrap)) } /** * @param dimensions An array that defines the dimensions for the segment. */ override fun dimensions(dimensions: CfnSegment.SegmentDimensionsProperty) { - cdkBuilder.dimensions(dimensions.let(CfnSegment.SegmentDimensionsProperty::unwrap)) + cdkBuilder.dimensions(dimensions.let(CfnSegment.SegmentDimensionsProperty.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface CfnSegmentProps { * segment group. */ override fun segmentGroups(segmentGroups: IResolvable) { - cdkBuilder.segmentGroups(segmentGroups.let(IResolvable::unwrap)) + cdkBuilder.segmentGroups(segmentGroups.let(IResolvable.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public interface CfnSegmentProps { * segment group. */ override fun segmentGroups(segmentGroups: CfnSegment.SegmentGroupsProperty) { - cdkBuilder.segmentGroups(segmentGroups.let(CfnSegment.SegmentGroupsProperty::unwrap)) + cdkBuilder.segmentGroups(segmentGroups.let(CfnSegment.SegmentGroupsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSmsTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSmsTemplate.kt index 36d8eff7d2..45ef82f597 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSmsTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnSmsTemplate.kt @@ -47,8 +47,8 @@ public open class CfnSmsTemplate( id: String, props: CfnSmsTemplateProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnSmsTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSmsTemplateProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnSmsTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSmsTemplateProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnSmsTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannel.kt index 6c762665c7..08676db397 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannel.kt @@ -47,8 +47,8 @@ public open class CfnVoiceChannel( id: String, props: CfnVoiceChannelProps, ) : - this(software.amazon.awscdk.services.pinpoint.CfnVoiceChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVoiceChannelProps::unwrap)) + this(software.amazon.awscdk.services.pinpoint.CfnVoiceChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVoiceChannelProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnVoiceChannel( * Specifies whether to enable the voice channel for the application. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class CfnVoiceChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnVoiceChannel( * @param enabled Specifies whether to enable the voice channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.pinpoint.CfnVoiceChannel = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannelProps.kt index 17b98f13d9..8a2a475ed2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpoint/CfnVoiceChannelProps.kt @@ -89,7 +89,7 @@ public interface CfnVoiceChannelProps { * @param enabled Specifies whether to enable the voice channel for the application. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.pinpoint.CfnVoiceChannelProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSet.kt index 41bde7b399..9b3b7e6972 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSet.kt @@ -68,8 +68,8 @@ public open class CfnConfigurationSet( id: String, props: CfnConfigurationSetProps, ) : - this(software.amazon.awscdk.services.pinpointemail.CfnConfigurationSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationSetProps::unwrap)) + this(software.amazon.awscdk.services.pinpointemail.CfnConfigurationSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationSetProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnConfigurationSet( * the configuration set. */ public open fun deliveryOptions(`value`: IResolvable) { - unwrap(this).setDeliveryOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeliveryOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public open class CfnConfigurationSet( * the configuration set. */ public open fun deliveryOptions(`value`: DeliveryOptionsProperty) { - unwrap(this).setDeliveryOptions(`value`.let(DeliveryOptionsProperty::unwrap)) + unwrap(this).setDeliveryOptions(`value`.let(DeliveryOptionsProperty.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnConfigurationSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnConfigurationSet( * emails that you send that use the configuration set. */ public open fun reputationOptions(`value`: IResolvable) { - unwrap(this).setReputationOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setReputationOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnConfigurationSet( * emails that you send that use the configuration set. */ public open fun reputationOptions(`value`: ReputationOptionsProperty) { - unwrap(this).setReputationOptions(`value`.let(ReputationOptionsProperty::unwrap)) + unwrap(this).setReputationOptions(`value`.let(ReputationOptionsProperty.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun sendingOptions(`value`: IResolvable) { - unwrap(this).setSendingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSendingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun sendingOptions(`value`: SendingOptionsProperty) { - unwrap(this).setSendingOptions(`value`.let(SendingOptionsProperty::unwrap)) + unwrap(this).setSendingOptions(`value`.let(SendingOptionsProperty.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun trackingOptions(`value`: IResolvable) { - unwrap(this).setTrackingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setTrackingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun trackingOptions(`value`: TrackingOptionsProperty) { - unwrap(this).setTrackingOptions(`value`.let(TrackingOptionsProperty::unwrap)) + unwrap(this).setTrackingOptions(`value`.let(TrackingOptionsProperty.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnConfigurationSet( * emails that you send using the configuration set. */ override fun deliveryOptions(deliveryOptions: IResolvable) { - cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnConfigurationSet( * emails that you send using the configuration set. */ override fun deliveryOptions(deliveryOptions: DeliveryOptionsProperty) { - cdkBuilder.deliveryOptions(deliveryOptions.let(DeliveryOptionsProperty::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(DeliveryOptionsProperty.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnConfigurationSet( * reputation metrics for the emails that you send that use the configuration set. */ override fun reputationOptions(reputationOptions: IResolvable) { - cdkBuilder.reputationOptions(reputationOptions.let(IResolvable::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnConfigurationSet( * reputation metrics for the emails that you send that use the configuration set. */ override fun reputationOptions(reputationOptions: ReputationOptionsProperty) { - cdkBuilder.reputationOptions(reputationOptions.let(ReputationOptionsProperty::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(ReputationOptionsProperty.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CfnConfigurationSet( * that you send using the configuration set. */ override fun sendingOptions(sendingOptions: IResolvable) { - cdkBuilder.sendingOptions(sendingOptions.let(IResolvable::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public open class CfnConfigurationSet( * that you send using the configuration set. */ override fun sendingOptions(sendingOptions: SendingOptionsProperty) { - cdkBuilder.sendingOptions(sendingOptions.let(SendingOptionsProperty::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(SendingOptionsProperty.Companion::unwrap)) } /** @@ -555,7 +555,7 @@ public open class CfnConfigurationSet( * the configuration set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnConfigurationSet( * that you send using the configuration set. */ override fun trackingOptions(trackingOptions: IResolvable) { - cdkBuilder.trackingOptions(trackingOptions.let(IResolvable::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnConfigurationSet( * that you send using the configuration set. */ override fun trackingOptions(trackingOptions: TrackingOptionsProperty) { - cdkBuilder.trackingOptions(trackingOptions.let(TrackingOptionsProperty::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(TrackingOptionsProperty.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class CfnConfigurationSet( * If `false` , tracking of reputation metrics is disabled for the configuration set. */ override fun reputationMetricsEnabled(reputationMetricsEnabled: IResolvable) { - cdkBuilder.reputationMetricsEnabled(reputationMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.reputationMetricsEnabled(reputationMetricsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -885,7 +885,7 @@ public open class CfnConfigurationSet( * If `false` , email sending is disabled for the configuration set. */ override fun sendingEnabled(sendingEnabled: IResolvable) { - cdkBuilder.sendingEnabled(sendingEnabled.let(IResolvable::unwrap)) + cdkBuilder.sendingEnabled(sendingEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestination.kt index 628b51fecb..4428cb8d69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestination.kt @@ -75,8 +75,8 @@ public open class CfnConfigurationSetEventDestination( id: String, props: CfnConfigurationSetEventDestinationProps, ) : - this(software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationSetEventDestinationProps::unwrap)) + this(software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationSetEventDestinationProps.Companion::unwrap)) ) public constructor( @@ -112,14 +112,14 @@ public open class CfnConfigurationSetEventDestination( * An object that defines the event destination. */ public open fun eventDestination(`value`: IResolvable) { - unwrap(this).setEventDestination(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventDestination(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that defines the event destination. */ public open fun eventDestination(`value`: EventDestinationProperty) { - unwrap(this).setEventDestination(`value`.let(EventDestinationProperty::unwrap)) + unwrap(this).setEventDestination(`value`.let(EventDestinationProperty.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnConfigurationSetEventDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnConfigurationSetEventDestination( * @param eventDestination An object that defines the event destination. */ override fun eventDestination(eventDestination: IResolvable) { - cdkBuilder.eventDestination(eventDestination.let(IResolvable::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnConfigurationSetEventDestination( * @param eventDestination An object that defines the event destination. */ override fun eventDestination(eventDestination: EventDestinationProperty) { - cdkBuilder.eventDestination(eventDestination.let(EventDestinationProperty::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(EventDestinationProperty.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnConfigurationSetEventDestination( * you send email events to Amazon CloudWatch. */ override fun dimensionConfigurations(dimensionConfigurations: IResolvable) { - cdkBuilder.dimensionConfigurations(dimensionConfigurations.let(IResolvable::unwrap)) + cdkBuilder.dimensionConfigurations(dimensionConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public open class CfnConfigurationSetEventDestination( * You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics. */ override fun cloudWatchDestination(cloudWatchDestination: IResolvable) { - cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(IResolvable.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public open class CfnConfigurationSetEventDestination( * You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics. */ override fun cloudWatchDestination(cloudWatchDestination: CloudWatchDestinationProperty) { - cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(CloudWatchDestinationProperty::unwrap)) + cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(CloudWatchDestinationProperty.Companion::unwrap)) } /** @@ -930,7 +930,7 @@ public open class CfnConfigurationSetEventDestination( * events aren't sent to the specified destinations. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -940,7 +940,7 @@ public open class CfnConfigurationSetEventDestination( * S3 and Amazon Redshift. */ override fun kinesisFirehoseDestination(kinesisFirehoseDestination: IResolvable) { - cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(IResolvable.Companion::unwrap)) } /** @@ -951,7 +951,7 @@ public open class CfnConfigurationSetEventDestination( */ override fun kinesisFirehoseDestination(kinesisFirehoseDestination: KinesisFirehoseDestinationProperty) { - cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(KinesisFirehoseDestinationProperty::unwrap)) + cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(KinesisFirehoseDestinationProperty.Companion::unwrap)) } /** @@ -993,7 +993,7 @@ public open class CfnConfigurationSetEventDestination( * can use these attributes to create segments for your campaigns. */ override fun pinpointDestination(pinpointDestination: IResolvable) { - cdkBuilder.pinpointDestination(pinpointDestination.let(IResolvable::unwrap)) + cdkBuilder.pinpointDestination(pinpointDestination.let(IResolvable.Companion::unwrap)) } /** @@ -1003,7 +1003,7 @@ public open class CfnConfigurationSetEventDestination( * can use these attributes to create segments for your campaigns. */ override fun pinpointDestination(pinpointDestination: PinpointDestinationProperty) { - cdkBuilder.pinpointDestination(pinpointDestination.let(PinpointDestinationProperty::unwrap)) + cdkBuilder.pinpointDestination(pinpointDestination.let(PinpointDestinationProperty.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class CfnConfigurationSetEventDestination( * You can use Amazon SNS to send notification when certain email events occur. */ override fun snsDestination(snsDestination: IResolvable) { - cdkBuilder.snsDestination(snsDestination.let(IResolvable::unwrap)) + cdkBuilder.snsDestination(snsDestination.let(IResolvable.Companion::unwrap)) } /** @@ -1031,7 +1031,7 @@ public open class CfnConfigurationSetEventDestination( * You can use Amazon SNS to send notification when certain email events occur. */ override fun snsDestination(snsDestination: SnsDestinationProperty) { - cdkBuilder.snsDestination(snsDestination.let(SnsDestinationProperty::unwrap)) + cdkBuilder.snsDestination(snsDestination.let(SnsDestinationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestinationProps.kt index f64faccb2c..1e2d3e9647 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetEventDestinationProps.kt @@ -128,7 +128,7 @@ public interface CfnConfigurationSetEventDestinationProps { * @param eventDestination An object that defines the event destination. */ override fun eventDestination(eventDestination: IResolvable) { - cdkBuilder.eventDestination(eventDestination.let(IResolvable::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(IResolvable.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public interface CfnConfigurationSetEventDestinationProps { */ override fun eventDestination(eventDestination: CfnConfigurationSetEventDestination.EventDestinationProperty) { - cdkBuilder.eventDestination(eventDestination.let(CfnConfigurationSetEventDestination.EventDestinationProperty::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(CfnConfigurationSetEventDestination.EventDestinationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetProps.kt index d5f6027daf..8a603b2152 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnConfigurationSetProps.kt @@ -211,7 +211,7 @@ public interface CfnConfigurationSetProps { * emails that you send using the configuration set. */ override fun deliveryOptions(deliveryOptions: IResolvable) { - cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface CfnConfigurationSetProps { * emails that you send using the configuration set. */ override fun deliveryOptions(deliveryOptions: CfnConfigurationSet.DeliveryOptionsProperty) { - cdkBuilder.deliveryOptions(deliveryOptions.let(CfnConfigurationSet.DeliveryOptionsProperty::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(CfnConfigurationSet.DeliveryOptionsProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CfnConfigurationSetProps { * reputation metrics for the emails that you send that use the configuration set. */ override fun reputationOptions(reputationOptions: IResolvable) { - cdkBuilder.reputationOptions(reputationOptions.let(IResolvable::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CfnConfigurationSetProps { */ override fun reputationOptions(reputationOptions: CfnConfigurationSet.ReputationOptionsProperty) { - cdkBuilder.reputationOptions(reputationOptions.let(CfnConfigurationSet.ReputationOptionsProperty::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(CfnConfigurationSet.ReputationOptionsProperty.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnConfigurationSetProps { * that you send using the configuration set. */ override fun sendingOptions(sendingOptions: IResolvable) { - cdkBuilder.sendingOptions(sendingOptions.let(IResolvable::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface CfnConfigurationSetProps { * that you send using the configuration set. */ override fun sendingOptions(sendingOptions: CfnConfigurationSet.SendingOptionsProperty) { - cdkBuilder.sendingOptions(sendingOptions.let(CfnConfigurationSet.SendingOptionsProperty::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(CfnConfigurationSet.SendingOptionsProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CfnConfigurationSetProps { * the configuration set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface CfnConfigurationSetProps { * that you send using the configuration set. */ override fun trackingOptions(trackingOptions: IResolvable) { - cdkBuilder.trackingOptions(trackingOptions.let(IResolvable::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface CfnConfigurationSetProps { * that you send using the configuration set. */ override fun trackingOptions(trackingOptions: CfnConfigurationSet.TrackingOptionsProperty) { - cdkBuilder.trackingOptions(trackingOptions.let(CfnConfigurationSet.TrackingOptionsProperty::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(CfnConfigurationSet.TrackingOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPool.kt index 9b9b39aa55..742d43f137 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPool.kt @@ -40,7 +40,7 @@ public open class CfnDedicatedIpPool( cdkObject: software.amazon.awscdk.services.pinpointemail.CfnDedicatedIpPool, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.pinpointemail.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.pinpointemail.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -49,8 +49,8 @@ public open class CfnDedicatedIpPool( id: String, props: CfnDedicatedIpPoolProps, ) : - this(software.amazon.awscdk.services.pinpointemail.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDedicatedIpPoolProps::unwrap)) + this(software.amazon.awscdk.services.pinpointemail.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDedicatedIpPoolProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnDedicatedIpPool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public open class CfnDedicatedIpPool( * IP pool. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnDedicatedIpPool( * the dedicated IP pool. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPoolProps.kt index 200bf900b6..a4e4b1aa6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnDedicatedIpPoolProps.kt @@ -86,7 +86,7 @@ public interface CfnDedicatedIpPoolProps { * the dedicated IP pool. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentity.kt index 981e3743e9..9d7ba346b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentity.kt @@ -75,8 +75,8 @@ public open class CfnIdentity( id: String, props: CfnIdentityProps, ) : - this(software.amazon.awscdk.services.pinpointemail.CfnIdentity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentityProps::unwrap)) + this(software.amazon.awscdk.services.pinpointemail.CfnIdentity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentityProps.Companion::unwrap)) ) public constructor( @@ -162,7 +162,7 @@ public open class CfnIdentity( * (DKIM) signing for the domain. */ public open fun dkimSigningEnabled(`value`: IResolvable) { - unwrap(this).setDkimSigningEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setDkimSigningEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnIdentity( * Used to enable or disable feedback forwarding for an identity. */ public open fun feedbackForwardingEnabled(`value`: IResolvable) { - unwrap(this).setFeedbackForwardingEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setFeedbackForwardingEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnIdentity( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,14 +202,14 @@ public open class CfnIdentity( * Used to enable or disable the custom Mail-From domain configuration for an email identity. */ public open fun mailFromAttributes(`value`: IResolvable) { - unwrap(this).setMailFromAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setMailFromAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * Used to enable or disable the custom Mail-From domain configuration for an email identity. */ public open fun mailFromAttributes(`value`: MailFromAttributesProperty) { - unwrap(this).setMailFromAttributes(`value`.let(MailFromAttributesProperty::unwrap)) + unwrap(this).setMailFromAttributes(`value`.let(MailFromAttributesProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnIdentity( * identity. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class CfnIdentity( * DomainKeys Identified Mail (DKIM) signing for the domain. */ override fun dkimSigningEnabled(dkimSigningEnabled: IResolvable) { - cdkBuilder.dkimSigningEnabled(dkimSigningEnabled.let(IResolvable::unwrap)) + cdkBuilder.dkimSigningEnabled(dkimSigningEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnIdentity( * identity. */ override fun feedbackForwardingEnabled(feedbackForwardingEnabled: IResolvable) { - cdkBuilder.feedbackForwardingEnabled(feedbackForwardingEnabled.let(IResolvable::unwrap)) + cdkBuilder.feedbackForwardingEnabled(feedbackForwardingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnIdentity( * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: IResolvable) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public open class CfnIdentity( * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: MailFromAttributesProperty) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(MailFromAttributesProperty::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(MailFromAttributesProperty.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnIdentity( * the email identity. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentityProps.kt index 793ccf998a..1c63d9880c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pinpointemail/CfnIdentityProps.kt @@ -223,7 +223,7 @@ public interface CfnIdentityProps { * `amazonses.com` domain. */ override fun dkimSigningEnabled(dkimSigningEnabled: IResolvable) { - cdkBuilder.dkimSigningEnabled(dkimSigningEnabled.let(IResolvable::unwrap)) + cdkBuilder.dkimSigningEnabled(dkimSigningEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface CfnIdentityProps { * (even if this setting is disabled). */ override fun feedbackForwardingEnabled(feedbackForwardingEnabled: IResolvable) { - cdkBuilder.feedbackForwardingEnabled(feedbackForwardingEnabled.let(IResolvable::unwrap)) + cdkBuilder.feedbackForwardingEnabled(feedbackForwardingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnIdentityProps { * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: IResolvable) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface CfnIdentityProps { * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: CfnIdentity.MailFromAttributesProperty) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(CfnIdentity.MailFromAttributesProperty::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(CfnIdentity.MailFromAttributesProperty.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface CfnIdentityProps { * the email identity. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipe.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipe.kt index 076836d621..3f87827372 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipe.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipe.kt @@ -330,8 +330,8 @@ public open class CfnPipe( id: String, props: CfnPipeProps, ) : - this(software.amazon.awscdk.services.pipes.CfnPipe(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPipeProps::unwrap)) + this(software.amazon.awscdk.services.pipes.CfnPipe(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPipeProps.Companion::unwrap)) ) public constructor( @@ -413,14 +413,14 @@ public open class CfnPipe( * The parameters required to set up enrichment on your pipe. */ public open fun enrichmentParameters(`value`: IResolvable) { - unwrap(this).setEnrichmentParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnrichmentParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters required to set up enrichment on your pipe. */ public open fun enrichmentParameters(`value`: PipeEnrichmentParametersProperty) { - unwrap(this).setEnrichmentParameters(`value`.let(PipeEnrichmentParametersProperty::unwrap)) + unwrap(this).setEnrichmentParameters(`value`.let(PipeEnrichmentParametersProperty.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CfnPipe( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -450,14 +450,14 @@ public open class CfnPipe( * The logging configuration settings for the pipe. */ public open fun logConfiguration(`value`: IResolvable) { - unwrap(this).setLogConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The logging configuration settings for the pipe. */ public open fun logConfiguration(`value`: PipeLogConfigurationProperty) { - unwrap(this).setLogConfiguration(`value`.let(PipeLogConfigurationProperty::unwrap)) + unwrap(this).setLogConfiguration(`value`.let(PipeLogConfigurationProperty.Companion::unwrap)) } /** @@ -513,14 +513,14 @@ public open class CfnPipe( * The parameters required to set up a source for your pipe. */ public open fun sourceParameters(`value`: IResolvable) { - unwrap(this).setSourceParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters required to set up a source for your pipe. */ public open fun sourceParameters(`value`: PipeSourceParametersProperty) { - unwrap(this).setSourceParameters(`value`.let(PipeSourceParametersProperty::unwrap)) + unwrap(this).setSourceParameters(`value`.let(PipeSourceParametersProperty.Companion::unwrap)) } /** @@ -569,14 +569,14 @@ public open class CfnPipe( * The parameters required to set up a target for your pipe. */ public open fun targetParameters(`value`: IResolvable) { - unwrap(this).setTargetParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters required to set up a target for your pipe. */ public open fun targetParameters(`value`: PipeTargetParametersProperty) { - unwrap(this).setTargetParameters(`value`.let(PipeTargetParametersProperty::unwrap)) + unwrap(this).setTargetParameters(`value`.let(PipeTargetParametersProperty.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public open class CfnPipe( * @param enrichmentParameters The parameters required to set up enrichment on your pipe. */ override fun enrichmentParameters(enrichmentParameters: IResolvable) { - cdkBuilder.enrichmentParameters(enrichmentParameters.let(IResolvable::unwrap)) + cdkBuilder.enrichmentParameters(enrichmentParameters.let(IResolvable.Companion::unwrap)) } /** @@ -831,7 +831,7 @@ public open class CfnPipe( * @param enrichmentParameters The parameters required to set up enrichment on your pipe. */ override fun enrichmentParameters(enrichmentParameters: PipeEnrichmentParametersProperty) { - cdkBuilder.enrichmentParameters(enrichmentParameters.let(PipeEnrichmentParametersProperty::unwrap)) + cdkBuilder.enrichmentParameters(enrichmentParameters.let(PipeEnrichmentParametersProperty.Companion::unwrap)) } /** @@ -853,7 +853,7 @@ public open class CfnPipe( * @param logConfiguration The logging configuration settings for the pipe. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -863,7 +863,7 @@ public open class CfnPipe( * @param logConfiguration The logging configuration settings for the pipe. */ override fun logConfiguration(logConfiguration: PipeLogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(PipeLogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(PipeLogConfigurationProperty.Companion::unwrap)) } /** @@ -915,7 +915,7 @@ public open class CfnPipe( * @param sourceParameters The parameters required to set up a source for your pipe. */ override fun sourceParameters(sourceParameters: IResolvable) { - cdkBuilder.sourceParameters(sourceParameters.let(IResolvable::unwrap)) + cdkBuilder.sourceParameters(sourceParameters.let(IResolvable.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public open class CfnPipe( * @param sourceParameters The parameters required to set up a source for your pipe. */ override fun sourceParameters(sourceParameters: PipeSourceParametersProperty) { - cdkBuilder.sourceParameters(sourceParameters.let(PipeSourceParametersProperty::unwrap)) + cdkBuilder.sourceParameters(sourceParameters.let(PipeSourceParametersProperty.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public open class CfnPipe( * @param targetParameters The parameters required to set up a target for your pipe. */ override fun targetParameters(targetParameters: IResolvable) { - cdkBuilder.targetParameters(targetParameters.let(IResolvable::unwrap)) + cdkBuilder.targetParameters(targetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -987,7 +987,7 @@ public open class CfnPipe( * @param targetParameters The parameters required to set up a target for your pipe. */ override fun targetParameters(targetParameters: PipeTargetParametersProperty) { - cdkBuilder.targetParameters(targetParameters.let(PipeTargetParametersProperty::unwrap)) + cdkBuilder.targetParameters(targetParameters.let(PipeTargetParametersProperty.Companion::unwrap)) } /** @@ -1493,7 +1493,7 @@ public open class CfnPipe( * for variables that AWS Batch sets. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -1536,7 +1536,7 @@ public open class CfnPipe( * `MEMORY` , and `VCPU` . */ override fun resourceRequirements(resourceRequirements: IResolvable) { - cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable::unwrap)) + cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -3046,7 +3046,7 @@ public open class CfnPipe( * You must also specify a container name. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -3072,7 +3072,7 @@ public open class CfnPipe( * container, instead of the value from the container definition. */ override fun environmentFiles(environmentFiles: IResolvable) { - cdkBuilder.environmentFiles(environmentFiles.let(IResolvable::unwrap)) + cdkBuilder.environmentFiles(environmentFiles.let(IResolvable.Companion::unwrap)) } /** @@ -3123,7 +3123,7 @@ public open class CfnPipe( * The only supported resource is a GPU. */ override fun resourceRequirements(resourceRequirements: IResolvable) { - cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable::unwrap)) + cdkBuilder.resourceRequirements(resourceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -4109,7 +4109,7 @@ public open class CfnPipe( * @param containerOverrides One or more container overrides that are sent to a task. */ override fun containerOverrides(containerOverrides: IResolvable) { - cdkBuilder.containerOverrides(containerOverrides.let(IResolvable::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -4142,7 +4142,7 @@ public open class CfnPipe( * * Windows platform version `1.0.0` or later. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -4155,7 +4155,7 @@ public open class CfnPipe( * * Windows platform version `1.0.0` or later. */ override fun ephemeralStorage(ephemeralStorage: EcsEphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(EcsEphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(EcsEphemeralStorageProperty.Companion::unwrap)) } /** @@ -4189,7 +4189,7 @@ public open class CfnPipe( * task. */ override fun inferenceAcceleratorOverrides(inferenceAcceleratorOverrides: IResolvable) { - cdkBuilder.inferenceAcceleratorOverrides(inferenceAcceleratorOverrides.let(IResolvable::unwrap)) + cdkBuilder.inferenceAcceleratorOverrides(inferenceAcceleratorOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -4381,7 +4381,7 @@ public open class CfnPipe( * @param filters The event patterns. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -4861,7 +4861,7 @@ public open class CfnPipe( * This structure is relevant only for ECS tasks that use the `awsvpc` network mode. */ override fun awsvpcConfiguration(awsvpcConfiguration: IResolvable) { - cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4870,7 +4870,7 @@ public open class CfnPipe( * This structure is relevant only for ECS tasks that use the `awsvpc` network mode. */ override fun awsvpcConfiguration(awsvpcConfiguration: AwsVpcConfigurationProperty) { - cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(AwsVpcConfigurationProperty::unwrap)) + cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(AwsVpcConfigurationProperty.Companion::unwrap)) } /** @@ -5024,7 +5024,7 @@ public open class CfnPipe( * API Gateway REST API or EventBridge ApiDestination. */ override fun headerParameters(headerParameters: IResolvable) { - cdkBuilder.headerParameters(headerParameters.let(IResolvable::unwrap)) + cdkBuilder.headerParameters(headerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5055,7 +5055,7 @@ public open class CfnPipe( * request invoking the API Gateway REST API or EventBridge ApiDestination. */ override fun queryStringParameters(queryStringParameters: IResolvable) { - cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable::unwrap)) + cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5235,7 +5235,7 @@ public open class CfnPipe( * Connection take precedence. */ override fun httpParameters(httpParameters: IResolvable) { - cdkBuilder.httpParameters(httpParameters.let(IResolvable::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5248,7 +5248,7 @@ public open class CfnPipe( * Connection take precedence. */ override fun httpParameters(httpParameters: PipeEnrichmentHttpParametersProperty) { - cdkBuilder.httpParameters(httpParameters.let(PipeEnrichmentHttpParametersProperty::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(PipeEnrichmentHttpParametersProperty.Companion::unwrap)) } /** @@ -5514,7 +5514,7 @@ public open class CfnPipe( * @param cloudwatchLogsLogDestination The logging configuration settings for the pipe. */ override fun cloudwatchLogsLogDestination(cloudwatchLogsLogDestination: IResolvable) { - cdkBuilder.cloudwatchLogsLogDestination(cloudwatchLogsLogDestination.let(IResolvable::unwrap)) + cdkBuilder.cloudwatchLogsLogDestination(cloudwatchLogsLogDestination.let(IResolvable.Companion::unwrap)) } /** @@ -5522,7 +5522,7 @@ public open class CfnPipe( */ override fun cloudwatchLogsLogDestination(cloudwatchLogsLogDestination: CloudwatchLogsLogDestinationProperty) { - cdkBuilder.cloudwatchLogsLogDestination(cloudwatchLogsLogDestination.let(CloudwatchLogsLogDestinationProperty::unwrap)) + cdkBuilder.cloudwatchLogsLogDestination(cloudwatchLogsLogDestination.let(CloudwatchLogsLogDestinationProperty.Companion::unwrap)) } /** @@ -5540,7 +5540,7 @@ public open class CfnPipe( * the pipe. */ override fun firehoseLogDestination(firehoseLogDestination: IResolvable) { - cdkBuilder.firehoseLogDestination(firehoseLogDestination.let(IResolvable::unwrap)) + cdkBuilder.firehoseLogDestination(firehoseLogDestination.let(IResolvable.Companion::unwrap)) } /** @@ -5548,7 +5548,7 @@ public open class CfnPipe( * the pipe. */ override fun firehoseLogDestination(firehoseLogDestination: FirehoseLogDestinationProperty) { - cdkBuilder.firehoseLogDestination(firehoseLogDestination.let(FirehoseLogDestinationProperty::unwrap)) + cdkBuilder.firehoseLogDestination(firehoseLogDestination.let(FirehoseLogDestinationProperty.Companion::unwrap)) } /** @@ -5602,14 +5602,14 @@ public open class CfnPipe( * @param s3LogDestination The Amazon S3 logging configuration settings for the pipe. */ override fun s3LogDestination(s3LogDestination: IResolvable) { - cdkBuilder.s3LogDestination(s3LogDestination.let(IResolvable::unwrap)) + cdkBuilder.s3LogDestination(s3LogDestination.let(IResolvable.Companion::unwrap)) } /** * @param s3LogDestination The Amazon S3 logging configuration settings for the pipe. */ override fun s3LogDestination(s3LogDestination: S3LogDestinationProperty) { - cdkBuilder.s3LogDestination(s3LogDestination.let(S3LogDestinationProperty::unwrap)) + cdkBuilder.s3LogDestination(s3LogDestination.let(S3LogDestinationProperty.Companion::unwrap)) } /** @@ -5802,14 +5802,14 @@ public open class CfnPipe( * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: MQBrokerAccessCredentialsProperty) { - cdkBuilder.credentials(credentials.let(MQBrokerAccessCredentialsProperty::unwrap)) + cdkBuilder.credentials(credentials.let(MQBrokerAccessCredentialsProperty.Companion::unwrap)) } /** @@ -6078,14 +6078,14 @@ public open class CfnPipe( * @param deadLetterConfig Define the target queue to send dead-letter queue events to. */ override fun deadLetterConfig(deadLetterConfig: IResolvable) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable.Companion::unwrap)) } /** * @param deadLetterConfig Define the target queue to send dead-letter queue events to. */ override fun deadLetterConfig(deadLetterConfig: DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -6451,14 +6451,14 @@ public open class CfnPipe( * @param deadLetterConfig Define the target queue to send dead-letter queue events to. */ override fun deadLetterConfig(deadLetterConfig: IResolvable) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable.Companion::unwrap)) } /** * @param deadLetterConfig Define the target queue to send dead-letter queue events to. */ override fun deadLetterConfig(deadLetterConfig: DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -6783,14 +6783,14 @@ public open class CfnPipe( * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: MSKAccessCredentialsProperty) { - cdkBuilder.credentials(credentials.let(MSKAccessCredentialsProperty::unwrap)) + cdkBuilder.credentials(credentials.let(MSKAccessCredentialsProperty.Companion::unwrap)) } /** @@ -7277,7 +7277,7 @@ public open class CfnPipe( * @param activeMqBrokerParameters The parameters for using an Active MQ broker as a source. */ override fun activeMqBrokerParameters(activeMqBrokerParameters: IResolvable) { - cdkBuilder.activeMqBrokerParameters(activeMqBrokerParameters.let(IResolvable::unwrap)) + cdkBuilder.activeMqBrokerParameters(activeMqBrokerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -7285,7 +7285,7 @@ public open class CfnPipe( */ override fun activeMqBrokerParameters(activeMqBrokerParameters: PipeSourceActiveMQBrokerParametersProperty) { - cdkBuilder.activeMqBrokerParameters(activeMqBrokerParameters.let(PipeSourceActiveMQBrokerParametersProperty::unwrap)) + cdkBuilder.activeMqBrokerParameters(activeMqBrokerParameters.let(PipeSourceActiveMQBrokerParametersProperty.Companion::unwrap)) } /** @@ -7302,7 +7302,7 @@ public open class CfnPipe( * @param dynamoDbStreamParameters The parameters for using a DynamoDB stream as a source. */ override fun dynamoDbStreamParameters(dynamoDbStreamParameters: IResolvable) { - cdkBuilder.dynamoDbStreamParameters(dynamoDbStreamParameters.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbStreamParameters(dynamoDbStreamParameters.let(IResolvable.Companion::unwrap)) } /** @@ -7310,7 +7310,7 @@ public open class CfnPipe( */ override fun dynamoDbStreamParameters(dynamoDbStreamParameters: PipeSourceDynamoDBStreamParametersProperty) { - cdkBuilder.dynamoDbStreamParameters(dynamoDbStreamParameters.let(PipeSourceDynamoDBStreamParametersProperty::unwrap)) + cdkBuilder.dynamoDbStreamParameters(dynamoDbStreamParameters.let(PipeSourceDynamoDBStreamParametersProperty.Companion::unwrap)) } /** @@ -7333,7 +7333,7 @@ public open class CfnPipe( * in the *Amazon EventBridge User Guide* . */ override fun filterCriteria(filterCriteria: IResolvable) { - cdkBuilder.filterCriteria(filterCriteria.let(IResolvable::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -7346,7 +7346,7 @@ public open class CfnPipe( * in the *Amazon EventBridge User Guide* . */ override fun filterCriteria(filterCriteria: FilterCriteriaProperty) { - cdkBuilder.filterCriteria(filterCriteria.let(FilterCriteriaProperty::unwrap)) + cdkBuilder.filterCriteria(filterCriteria.let(FilterCriteriaProperty.Companion::unwrap)) } /** @@ -7367,7 +7367,7 @@ public open class CfnPipe( * @param kinesisStreamParameters The parameters for using a Kinesis stream as a source. */ override fun kinesisStreamParameters(kinesisStreamParameters: IResolvable) { - cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(IResolvable.Companion::unwrap)) } /** @@ -7375,7 +7375,7 @@ public open class CfnPipe( */ override fun kinesisStreamParameters(kinesisStreamParameters: PipeSourceKinesisStreamParametersProperty) { - cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(PipeSourceKinesisStreamParametersProperty::unwrap)) + cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(PipeSourceKinesisStreamParametersProperty.Companion::unwrap)) } /** @@ -7392,7 +7392,7 @@ public open class CfnPipe( * @param managedStreamingKafkaParameters The parameters for using an MSK stream as a source. */ override fun managedStreamingKafkaParameters(managedStreamingKafkaParameters: IResolvable) { - cdkBuilder.managedStreamingKafkaParameters(managedStreamingKafkaParameters.let(IResolvable::unwrap)) + cdkBuilder.managedStreamingKafkaParameters(managedStreamingKafkaParameters.let(IResolvable.Companion::unwrap)) } /** @@ -7400,7 +7400,7 @@ public open class CfnPipe( */ override fun managedStreamingKafkaParameters(managedStreamingKafkaParameters: PipeSourceManagedStreamingKafkaParametersProperty) { - cdkBuilder.managedStreamingKafkaParameters(managedStreamingKafkaParameters.let(PipeSourceManagedStreamingKafkaParametersProperty::unwrap)) + cdkBuilder.managedStreamingKafkaParameters(managedStreamingKafkaParameters.let(PipeSourceManagedStreamingKafkaParametersProperty.Companion::unwrap)) } /** @@ -7417,7 +7417,7 @@ public open class CfnPipe( * @param rabbitMqBrokerParameters The parameters for using a Rabbit MQ broker as a source. */ override fun rabbitMqBrokerParameters(rabbitMqBrokerParameters: IResolvable) { - cdkBuilder.rabbitMqBrokerParameters(rabbitMqBrokerParameters.let(IResolvable::unwrap)) + cdkBuilder.rabbitMqBrokerParameters(rabbitMqBrokerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -7425,7 +7425,7 @@ public open class CfnPipe( */ override fun rabbitMqBrokerParameters(rabbitMqBrokerParameters: PipeSourceRabbitMQBrokerParametersProperty) { - cdkBuilder.rabbitMqBrokerParameters(rabbitMqBrokerParameters.let(PipeSourceRabbitMQBrokerParametersProperty::unwrap)) + cdkBuilder.rabbitMqBrokerParameters(rabbitMqBrokerParameters.let(PipeSourceRabbitMQBrokerParametersProperty.Companion::unwrap)) } /** @@ -7450,7 +7450,7 @@ public open class CfnPipe( * *Amazon EventBridge User Guide* . */ override fun selfManagedKafkaParameters(selfManagedKafkaParameters: IResolvable) { - cdkBuilder.selfManagedKafkaParameters(selfManagedKafkaParameters.let(IResolvable::unwrap)) + cdkBuilder.selfManagedKafkaParameters(selfManagedKafkaParameters.let(IResolvable.Companion::unwrap)) } /** @@ -7466,7 +7466,7 @@ public open class CfnPipe( */ override fun selfManagedKafkaParameters(selfManagedKafkaParameters: PipeSourceSelfManagedKafkaParametersProperty) { - cdkBuilder.selfManagedKafkaParameters(selfManagedKafkaParameters.let(PipeSourceSelfManagedKafkaParametersProperty::unwrap)) + cdkBuilder.selfManagedKafkaParameters(selfManagedKafkaParameters.let(PipeSourceSelfManagedKafkaParametersProperty.Companion::unwrap)) } /** @@ -7491,14 +7491,14 @@ public open class CfnPipe( * @param sqsQueueParameters The parameters for using a Amazon SQS stream as a source. */ override fun sqsQueueParameters(sqsQueueParameters: IResolvable) { - cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(IResolvable::unwrap)) + cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(IResolvable.Companion::unwrap)) } /** * @param sqsQueueParameters The parameters for using a Amazon SQS stream as a source. */ override fun sqsQueueParameters(sqsQueueParameters: PipeSourceSqsQueueParametersProperty) { - cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(PipeSourceSqsQueueParametersProperty::unwrap)) + cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(PipeSourceSqsQueueParametersProperty.Companion::unwrap)) } /** @@ -7730,14 +7730,14 @@ public open class CfnPipe( * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: MQBrokerAccessCredentialsProperty) { - cdkBuilder.credentials(credentials.let(MQBrokerAccessCredentialsProperty::unwrap)) + cdkBuilder.credentials(credentials.let(MQBrokerAccessCredentialsProperty.Companion::unwrap)) } /** @@ -8066,7 +8066,7 @@ public open class CfnPipe( * @param credentials The credentials needed to access the resource. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** @@ -8074,7 +8074,7 @@ public open class CfnPipe( */ override fun credentials(credentials: SelfManagedKafkaAccessConfigurationCredentialsProperty) { - cdkBuilder.credentials(credentials.let(SelfManagedKafkaAccessConfigurationCredentialsProperty::unwrap)) + cdkBuilder.credentials(credentials.let(SelfManagedKafkaAccessConfigurationCredentialsProperty.Companion::unwrap)) } /** @@ -8121,7 +8121,7 @@ public open class CfnPipe( * whether a public IP address is to be used. */ override fun vpc(vpc: IResolvable) { - cdkBuilder.vpc(vpc.let(IResolvable::unwrap)) + cdkBuilder.vpc(vpc.let(IResolvable.Companion::unwrap)) } /** @@ -8129,7 +8129,7 @@ public open class CfnPipe( * whether a public IP address is to be used. */ override fun vpc(vpc: SelfManagedKafkaAccessConfigurationVpcProperty) { - cdkBuilder.vpc(vpc.let(SelfManagedKafkaAccessConfigurationVpcProperty::unwrap)) + cdkBuilder.vpc(vpc.let(SelfManagedKafkaAccessConfigurationVpcProperty.Companion::unwrap)) } /** @@ -8610,7 +8610,7 @@ public open class CfnPipe( * becomes an array job. This parameter is used only if the target is an AWS Batch job. */ override fun arrayProperties(arrayProperties: IResolvable) { - cdkBuilder.arrayProperties(arrayProperties.let(IResolvable::unwrap)) + cdkBuilder.arrayProperties(arrayProperties.let(IResolvable.Companion::unwrap)) } /** @@ -8620,7 +8620,7 @@ public open class CfnPipe( * becomes an array job. This parameter is used only if the target is an AWS Batch job. */ override fun arrayProperties(arrayProperties: BatchArrayPropertiesProperty) { - cdkBuilder.arrayProperties(arrayProperties.let(BatchArrayPropertiesProperty::unwrap)) + cdkBuilder.arrayProperties(arrayProperties.let(BatchArrayPropertiesProperty.Companion::unwrap)) } /** @@ -8639,14 +8639,14 @@ public open class CfnPipe( * @param containerOverrides The overrides that are sent to a container. */ override fun containerOverrides(containerOverrides: IResolvable) { - cdkBuilder.containerOverrides(containerOverrides.let(IResolvable::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.let(IResolvable.Companion::unwrap)) } /** * @param containerOverrides The overrides that are sent to a container. */ override fun containerOverrides(containerOverrides: BatchContainerOverridesProperty) { - cdkBuilder.containerOverrides(containerOverrides.let(BatchContainerOverridesProperty::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.let(BatchContainerOverridesProperty.Companion::unwrap)) } /** @@ -8667,7 +8667,7 @@ public open class CfnPipe( * index child of each dependency to complete before it can begin. */ override fun dependsOn(dependsOn: IResolvable) { - cdkBuilder.dependsOn(dependsOn.let(IResolvable::unwrap)) + cdkBuilder.dependsOn(dependsOn.let(IResolvable.Companion::unwrap)) } /** @@ -8718,7 +8718,7 @@ public open class CfnPipe( * any corresponding parameter defaults from the job definition. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -8737,7 +8737,7 @@ public open class CfnPipe( * definition. */ override fun retryStrategy(retryStrategy: IResolvable) { - cdkBuilder.retryStrategy(retryStrategy.let(IResolvable::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -8746,7 +8746,7 @@ public open class CfnPipe( * definition. */ override fun retryStrategy(retryStrategy: BatchRetryStrategyProperty) { - cdkBuilder.retryStrategy(retryStrategy.let(BatchRetryStrategyProperty::unwrap)) + cdkBuilder.retryStrategy(retryStrategy.let(BatchRetryStrategyProperty.Companion::unwrap)) } /** @@ -9459,7 +9459,7 @@ public open class CfnPipe( * `defaultCapacityProviderStrategy` for the cluster is used. */ override fun capacityProviderStrategy(capacityProviderStrategy: IResolvable) { - cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -9500,7 +9500,7 @@ public open class CfnPipe( * the Amazon Elastic Container Service Developer Guide. */ override fun enableEcsManagedTags(enableEcsManagedTags: IResolvable) { - cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable::unwrap)) + cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable.Companion::unwrap)) } /** @@ -9518,7 +9518,7 @@ public open class CfnPipe( * If true, this enables execute command functionality on all containers in the task. */ override fun enableExecuteCommand(enableExecuteCommand: IResolvable) { - cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable::unwrap)) + cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable.Companion::unwrap)) } /** @@ -9552,7 +9552,7 @@ public open class CfnPipe( * network mode, the task fails. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -9566,7 +9566,7 @@ public open class CfnPipe( * network mode, the task fails. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -9589,14 +9589,14 @@ public open class CfnPipe( * @param overrides The overrides that are associated with a task. */ override fun overrides(overrides: IResolvable) { - cdkBuilder.overrides(overrides.let(IResolvable::unwrap)) + cdkBuilder.overrides(overrides.let(IResolvable.Companion::unwrap)) } /** * @param overrides The overrides that are associated with a task. */ override fun overrides(overrides: EcsTaskOverrideProperty) { - cdkBuilder.overrides(overrides.let(EcsTaskOverrideProperty::unwrap)) + cdkBuilder.overrides(overrides.let(EcsTaskOverrideProperty.Companion::unwrap)) } /** @@ -9613,7 +9613,7 @@ public open class CfnPipe( * and those specified at runtime). */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -9638,7 +9638,7 @@ public open class CfnPipe( * You can specify a maximum of five strategy rules per task. */ override fun placementStrategy(placementStrategy: IResolvable) { - cdkBuilder.placementStrategy(placementStrategy.let(IResolvable::unwrap)) + cdkBuilder.placementStrategy(placementStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -9696,7 +9696,7 @@ public open class CfnPipe( * in the Amazon ECS API Reference. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -10255,7 +10255,7 @@ public open class CfnPipe( * API Gateway REST API or EventBridge ApiDestination. */ override fun headerParameters(headerParameters: IResolvable) { - cdkBuilder.headerParameters(headerParameters.let(IResolvable::unwrap)) + cdkBuilder.headerParameters(headerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -10286,7 +10286,7 @@ public open class CfnPipe( * request invoking the API Gateway REST API or EventBridge ApiDestination. */ override fun queryStringParameters(queryStringParameters: IResolvable) { - cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable::unwrap)) + cdkBuilder.queryStringParameters(queryStringParameters.let(IResolvable.Companion::unwrap)) } /** @@ -10962,14 +10962,14 @@ public open class CfnPipe( * @param batchJobParameters The parameters for using an AWS Batch job as a target. */ override fun batchJobParameters(batchJobParameters: IResolvable) { - cdkBuilder.batchJobParameters(batchJobParameters.let(IResolvable::unwrap)) + cdkBuilder.batchJobParameters(batchJobParameters.let(IResolvable.Companion::unwrap)) } /** * @param batchJobParameters The parameters for using an AWS Batch job as a target. */ override fun batchJobParameters(batchJobParameters: PipeTargetBatchJobParametersProperty) { - cdkBuilder.batchJobParameters(batchJobParameters.let(PipeTargetBatchJobParametersProperty::unwrap)) + cdkBuilder.batchJobParameters(batchJobParameters.let(PipeTargetBatchJobParametersProperty.Companion::unwrap)) } /** @@ -10986,7 +10986,7 @@ public open class CfnPipe( * target. */ override fun cloudWatchLogsParameters(cloudWatchLogsParameters: IResolvable) { - cdkBuilder.cloudWatchLogsParameters(cloudWatchLogsParameters.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogsParameters(cloudWatchLogsParameters.let(IResolvable.Companion::unwrap)) } /** @@ -10995,7 +10995,7 @@ public open class CfnPipe( */ override fun cloudWatchLogsParameters(cloudWatchLogsParameters: PipeTargetCloudWatchLogsParametersProperty) { - cdkBuilder.cloudWatchLogsParameters(cloudWatchLogsParameters.let(PipeTargetCloudWatchLogsParametersProperty::unwrap)) + cdkBuilder.cloudWatchLogsParameters(cloudWatchLogsParameters.let(PipeTargetCloudWatchLogsParametersProperty.Companion::unwrap)) } /** @@ -11013,14 +11013,14 @@ public open class CfnPipe( * @param ecsTaskParameters The parameters for using an Amazon ECS task as a target. */ override fun ecsTaskParameters(ecsTaskParameters: IResolvable) { - cdkBuilder.ecsTaskParameters(ecsTaskParameters.let(IResolvable::unwrap)) + cdkBuilder.ecsTaskParameters(ecsTaskParameters.let(IResolvable.Companion::unwrap)) } /** * @param ecsTaskParameters The parameters for using an Amazon ECS task as a target. */ override fun ecsTaskParameters(ecsTaskParameters: PipeTargetEcsTaskParametersProperty) { - cdkBuilder.ecsTaskParameters(ecsTaskParameters.let(PipeTargetEcsTaskParametersProperty::unwrap)) + cdkBuilder.ecsTaskParameters(ecsTaskParameters.let(PipeTargetEcsTaskParametersProperty.Companion::unwrap)) } /** @@ -11037,7 +11037,7 @@ public open class CfnPipe( * target. */ override fun eventBridgeEventBusParameters(eventBridgeEventBusParameters: IResolvable) { - cdkBuilder.eventBridgeEventBusParameters(eventBridgeEventBusParameters.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeEventBusParameters(eventBridgeEventBusParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11046,7 +11046,7 @@ public open class CfnPipe( */ override fun eventBridgeEventBusParameters(eventBridgeEventBusParameters: PipeTargetEventBridgeEventBusParametersProperty) { - cdkBuilder.eventBridgeEventBusParameters(eventBridgeEventBusParameters.let(PipeTargetEventBridgeEventBusParametersProperty::unwrap)) + cdkBuilder.eventBridgeEventBusParameters(eventBridgeEventBusParameters.let(PipeTargetEventBridgeEventBusParametersProperty.Companion::unwrap)) } /** @@ -11065,7 +11065,7 @@ public open class CfnPipe( * Gateway REST APIs or EventBridge ApiDestinations. */ override fun httpParameters(httpParameters: IResolvable) { - cdkBuilder.httpParameters(httpParameters.let(IResolvable::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11073,7 +11073,7 @@ public open class CfnPipe( * Gateway REST APIs or EventBridge ApiDestinations. */ override fun httpParameters(httpParameters: PipeTargetHttpParametersProperty) { - cdkBuilder.httpParameters(httpParameters.let(PipeTargetHttpParametersProperty::unwrap)) + cdkBuilder.httpParameters(httpParameters.let(PipeTargetHttpParametersProperty.Companion::unwrap)) } /** @@ -11102,7 +11102,7 @@ public open class CfnPipe( * @param kinesisStreamParameters The parameters for using a Kinesis stream as a target. */ override fun kinesisStreamParameters(kinesisStreamParameters: IResolvable) { - cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11110,7 +11110,7 @@ public open class CfnPipe( */ override fun kinesisStreamParameters(kinesisStreamParameters: PipeTargetKinesisStreamParametersProperty) { - cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(PipeTargetKinesisStreamParametersProperty::unwrap)) + cdkBuilder.kinesisStreamParameters(kinesisStreamParameters.let(PipeTargetKinesisStreamParametersProperty.Companion::unwrap)) } /** @@ -11127,7 +11127,7 @@ public open class CfnPipe( * @param lambdaFunctionParameters The parameters for using a Lambda function as a target. */ override fun lambdaFunctionParameters(lambdaFunctionParameters: IResolvable) { - cdkBuilder.lambdaFunctionParameters(lambdaFunctionParameters.let(IResolvable::unwrap)) + cdkBuilder.lambdaFunctionParameters(lambdaFunctionParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11135,7 +11135,7 @@ public open class CfnPipe( */ override fun lambdaFunctionParameters(lambdaFunctionParameters: PipeTargetLambdaFunctionParametersProperty) { - cdkBuilder.lambdaFunctionParameters(lambdaFunctionParameters.let(PipeTargetLambdaFunctionParametersProperty::unwrap)) + cdkBuilder.lambdaFunctionParameters(lambdaFunctionParameters.let(PipeTargetLambdaFunctionParametersProperty.Companion::unwrap)) } /** @@ -11153,7 +11153,7 @@ public open class CfnPipe( * Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement. */ override fun redshiftDataParameters(redshiftDataParameters: IResolvable) { - cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(IResolvable::unwrap)) + cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11162,7 +11162,7 @@ public open class CfnPipe( */ override fun redshiftDataParameters(redshiftDataParameters: PipeTargetRedshiftDataParametersProperty) { - cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(PipeTargetRedshiftDataParametersProperty::unwrap)) + cdkBuilder.redshiftDataParameters(redshiftDataParameters.let(PipeTargetRedshiftDataParametersProperty.Companion::unwrap)) } /** @@ -11181,7 +11181,7 @@ public open class CfnPipe( * target. */ override fun sageMakerPipelineParameters(sageMakerPipelineParameters: IResolvable) { - cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(IResolvable::unwrap)) + cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11190,7 +11190,7 @@ public open class CfnPipe( */ override fun sageMakerPipelineParameters(sageMakerPipelineParameters: PipeTargetSageMakerPipelineParametersProperty) { - cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(PipeTargetSageMakerPipelineParametersProperty::unwrap)) + cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(PipeTargetSageMakerPipelineParametersProperty.Companion::unwrap)) } /** @@ -11208,14 +11208,14 @@ public open class CfnPipe( * @param sqsQueueParameters The parameters for using a Amazon SQS stream as a target. */ override fun sqsQueueParameters(sqsQueueParameters: IResolvable) { - cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(IResolvable::unwrap)) + cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(IResolvable.Companion::unwrap)) } /** * @param sqsQueueParameters The parameters for using a Amazon SQS stream as a target. */ override fun sqsQueueParameters(sqsQueueParameters: PipeTargetSqsQueueParametersProperty) { - cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(PipeTargetSqsQueueParametersProperty::unwrap)) + cdkBuilder.sqsQueueParameters(sqsQueueParameters.let(PipeTargetSqsQueueParametersProperty.Companion::unwrap)) } /** @@ -11233,7 +11233,7 @@ public open class CfnPipe( */ override fun stepFunctionStateMachineParameters(stepFunctionStateMachineParameters: IResolvable) { - cdkBuilder.stepFunctionStateMachineParameters(stepFunctionStateMachineParameters.let(IResolvable::unwrap)) + cdkBuilder.stepFunctionStateMachineParameters(stepFunctionStateMachineParameters.let(IResolvable.Companion::unwrap)) } /** @@ -11242,7 +11242,7 @@ public open class CfnPipe( */ override fun stepFunctionStateMachineParameters(stepFunctionStateMachineParameters: PipeTargetStateMachineParametersProperty) { - cdkBuilder.stepFunctionStateMachineParameters(stepFunctionStateMachineParameters.let(PipeTargetStateMachineParametersProperty::unwrap)) + cdkBuilder.stepFunctionStateMachineParameters(stepFunctionStateMachineParameters.let(PipeTargetStateMachineParametersProperty.Companion::unwrap)) } /** @@ -11569,7 +11569,7 @@ public open class CfnPipe( * statement runs. */ override fun withEvent(withEvent: IResolvable) { - cdkBuilder.withEvent(withEvent.let(IResolvable::unwrap)) + cdkBuilder.withEvent(withEvent.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -11715,7 +11715,7 @@ public open class CfnPipe( * Building Pipeline execution. */ override fun pipelineParameterList(pipelineParameterList: IResolvable) { - cdkBuilder.pipelineParameterList(pipelineParameterList.let(IResolvable::unwrap)) + cdkBuilder.pipelineParameterList(pipelineParameterList.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipeProps.kt index 57a932af92..2c61ffac1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/pipes/CfnPipeProps.kt @@ -549,7 +549,7 @@ public interface CfnPipeProps { * @param enrichmentParameters The parameters required to set up enrichment on your pipe. */ override fun enrichmentParameters(enrichmentParameters: IResolvable) { - cdkBuilder.enrichmentParameters(enrichmentParameters.let(IResolvable::unwrap)) + cdkBuilder.enrichmentParameters(enrichmentParameters.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public interface CfnPipeProps { */ override fun enrichmentParameters(enrichmentParameters: CfnPipe.PipeEnrichmentParametersProperty) { - cdkBuilder.enrichmentParameters(enrichmentParameters.let(CfnPipe.PipeEnrichmentParametersProperty::unwrap)) + cdkBuilder.enrichmentParameters(enrichmentParameters.let(CfnPipe.PipeEnrichmentParametersProperty.Companion::unwrap)) } /** @@ -573,14 +573,14 @@ public interface CfnPipeProps { * @param logConfiguration The logging configuration settings for the pipe. */ override fun logConfiguration(logConfiguration: IResolvable) { - cdkBuilder.logConfiguration(logConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param logConfiguration The logging configuration settings for the pipe. */ override fun logConfiguration(logConfiguration: CfnPipe.PipeLogConfigurationProperty) { - cdkBuilder.logConfiguration(logConfiguration.let(CfnPipe.PipeLogConfigurationProperty::unwrap)) + cdkBuilder.logConfiguration(logConfiguration.let(CfnPipe.PipeLogConfigurationProperty.Companion::unwrap)) } /** @@ -617,14 +617,14 @@ public interface CfnPipeProps { * @param sourceParameters The parameters required to set up a source for your pipe. */ override fun sourceParameters(sourceParameters: IResolvable) { - cdkBuilder.sourceParameters(sourceParameters.let(IResolvable::unwrap)) + cdkBuilder.sourceParameters(sourceParameters.let(IResolvable.Companion::unwrap)) } /** * @param sourceParameters The parameters required to set up a source for your pipe. */ override fun sourceParameters(sourceParameters: CfnPipe.PipeSourceParametersProperty) { - cdkBuilder.sourceParameters(sourceParameters.let(CfnPipe.PipeSourceParametersProperty::unwrap)) + cdkBuilder.sourceParameters(sourceParameters.let(CfnPipe.PipeSourceParametersProperty.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface CfnPipeProps { * in the *Amazon EventBridge User Guide* . */ override fun targetParameters(targetParameters: IResolvable) { - cdkBuilder.targetParameters(targetParameters.let(IResolvable::unwrap)) + cdkBuilder.targetParameters(targetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public interface CfnPipeProps { * in the *Amazon EventBridge User Guide* . */ override fun targetParameters(targetParameters: CfnPipe.PipeTargetParametersProperty) { - cdkBuilder.targetParameters(targetParameters.let(CfnPipe.PipeTargetParametersProperty::unwrap)) + cdkBuilder.targetParameters(targetParameters.let(CfnPipe.PipeTargetParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnection.kt index 039044bcd4..ec6788d71b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnection.kt @@ -45,7 +45,7 @@ public open class CfnEnvironmentAccountConnection( cdkObject: software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnection, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class CfnEnvironmentAccountConnection( id: String, props: CfnEnvironmentAccountConnectionProps, ) : - this(software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentAccountConnectionProps::unwrap)) + this(software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentAccountConnectionProps.Companion::unwrap)) ) public constructor( @@ -136,7 +136,7 @@ public open class CfnEnvironmentAccountConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnEnvironmentAccountConnection( * account connection. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnEnvironmentAccountConnection( * environment account connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnectionProps.kt index d0d093cdb7..ab7e966a0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentAccountConnectionProps.kt @@ -253,7 +253,7 @@ public interface CfnEnvironmentAccountConnectionProps { * User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplate.kt index e17ef4f4f2..20b991ba87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplate.kt @@ -60,7 +60,7 @@ public open class CfnEnvironmentTemplate( cdkObject: software.amazon.awscdk.services.proton.CfnEnvironmentTemplate, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.proton.CfnEnvironmentTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.proton.CfnEnvironmentTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class CfnEnvironmentTemplate( id: String, props: CfnEnvironmentTemplateProps, ) : - this(software.amazon.awscdk.services.proton.CfnEnvironmentTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentTemplateProps::unwrap)) + this(software.amazon.awscdk.services.proton.CfnEnvironmentTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentTemplateProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnEnvironmentTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnEnvironmentTemplate( * template. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class CfnEnvironmentTemplate( * environment template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplateProps.kt index cef1987a6a..3e29e06edc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnEnvironmentTemplateProps.kt @@ -192,7 +192,7 @@ public interface CfnEnvironmentTemplateProps { * User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplate.kt index fb6e028ffb..dbdbec8528 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplate.kt @@ -52,7 +52,7 @@ public open class CfnServiceTemplate( cdkObject: software.amazon.awscdk.services.proton.CfnServiceTemplate, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.proton.CfnServiceTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.proton.CfnServiceTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -61,8 +61,8 @@ public open class CfnServiceTemplate( id: String, props: CfnServiceTemplateProps, ) : - this(software.amazon.awscdk.services.proton.CfnServiceTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceTemplateProps::unwrap)) + this(software.amazon.awscdk.services.proton.CfnServiceTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceTemplateProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnServiceTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnServiceTemplate( * service template. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnServiceTemplate( * version of a service template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplateProps.kt index 72b2cfeda9..c1517ced0f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/proton/CfnServiceTemplateProps.kt @@ -173,7 +173,7 @@ public interface CfnServiceTemplateProps { * version of a service template. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnApplication.kt new file mode 100644 index 0000000000..7797678c0f --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnApplication.kt @@ -0,0 +1,746 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates an Amazon Q Business application. + * + * + * There are new tiers for Amazon Q Business. Not all features in Amazon Q Business Pro are also + * available in Amazon Q Business Lite. For information on what's included in Amazon Q Business Lite + * and what's included in Amazon Q Business Pro, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#user-sub-tiers) . You must + * use the Amazon Q Business console to assign subscription tiers to users. + * + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication") + * .displayName("displayName") + * // the properties below are optional + * .attachmentsConfiguration(AttachmentsConfigurationProperty.builder() + * .attachmentsControlMode("attachmentsControlMode") + * .build()) + * .description("description") + * .encryptionConfiguration(EncryptionConfigurationProperty.builder() + * .kmsKeyId("kmsKeyId") + * .build()) + * .identityCenterInstanceArn("identityCenterInstanceArn") + * .roleArn("roleArn") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html) + */ +public open class CfnApplication( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplication, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnApplicationProps, + ) : + this(software.amazon.awscdk.services.qbusiness.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnApplicationProps.Builder.() -> Unit, + ) : this(scope, id, CfnApplicationProps(props) + ) + + /** + * Configuration information for the file upload during chat feature. + */ + public open fun attachmentsConfiguration(): Any? = unwrap(this).getAttachmentsConfiguration() + + /** + * Configuration information for the file upload during chat feature. + */ + public open fun attachmentsConfiguration(`value`: IResolvable) { + unwrap(this).setAttachmentsConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information for the file upload during chat feature. + */ + public open fun attachmentsConfiguration(`value`: AttachmentsConfigurationProperty) { + unwrap(this).setAttachmentsConfiguration(`value`.let(AttachmentsConfigurationProperty.Companion::unwrap)) + } + + /** + * Configuration information for the file upload during chat feature. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("15aa78d44bc3c78832a41e80730f4a2d3b6834b823b7556fcad660a170314190") + public open + fun attachmentsConfiguration(`value`: AttachmentsConfigurationProperty.Builder.() -> Unit): + Unit = attachmentsConfiguration(AttachmentsConfigurationProperty(`value`)) + + /** + * The Amazon Resource Name (ARN) of the Amazon Q Business application. + */ + public open fun attrApplicationArn(): String = unwrap(this).getAttrApplicationArn() + + /** + * The identifier for the Amazon Q Business application. + */ + public open fun attrApplicationId(): String = unwrap(this).getAttrApplicationId() + + /** + * The Unix timestamp when the Amazon Q Business application was created. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon + * Q Business application. + */ + public open fun attrIdentityCenterApplicationArn(): String = + unwrap(this).getAttrIdentityCenterApplicationArn() + + /** + * The status of the Amazon Q Business application. + * + * The application is ready to use when the status is `ACTIVE` . + */ + public open fun attrStatus(): String = unwrap(this).getAttrStatus() + + /** + * The Unix timestamp when the Amazon Q Business application was last updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * A description for the Amazon Q Business application. + */ + public open fun description(): String? = unwrap(this).getDescription() + + /** + * A description for the Amazon Q Business application. + */ + public open fun description(`value`: String) { + unwrap(this).setDescription(`value`) + } + + /** + * The name of the Amazon Q Business application. + */ + public open fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The name of the Amazon Q Business application. + */ + public open fun displayName(`value`: String) { + unwrap(this).setDisplayName(`value`) + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + */ + public open fun encryptionConfiguration(): Any? = unwrap(this).getEncryptionConfiguration() + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + */ + public open fun encryptionConfiguration(`value`: IResolvable) { + unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + */ + public open fun encryptionConfiguration(`value`: EncryptionConfigurationProperty) { + unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty.Companion::unwrap)) + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("243e720f80b1d275992cfe36234150694e42406a3507c37ba3fc0d22a92679d9") + public open + fun encryptionConfiguration(`value`: EncryptionConfigurationProperty.Builder.() -> Unit): Unit + = encryptionConfiguration(EncryptionConfigurationProperty(`value`)) + + /** + * The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating + * for—or connecting to—your Amazon Q Business application. + */ + public open fun identityCenterInstanceArn(): String? = unwrap(this).getIdentityCenterInstanceArn() + + /** + * The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating + * for—or connecting to—your Amazon Q Business application. + */ + public open fun identityCenterInstanceArn(`value`: String) { + unwrap(this).setIdentityCenterInstanceArn(`value`) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch + * logs and metrics. + */ + public open fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch + * logs and metrics. + */ + public open fun roleArn(`value`: String) { + unwrap(this).setRoleArn(`value`) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.qbusiness.CfnApplication]. + */ + @CdkDslMarker + public interface Builder { + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + public fun attachmentsConfiguration(attachmentsConfiguration: IResolvable) + + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + public fun attachmentsConfiguration(attachmentsConfiguration: AttachmentsConfigurationProperty) + + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d76d3e55c3a81ef8356d1e1311fe80b80d2b93a375ea96af0e0918fdafd9c8b0") + public + fun attachmentsConfiguration(attachmentsConfiguration: AttachmentsConfigurationProperty.Builder.() -> Unit) + + /** + * A description for the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-description) + * @param description A description for the Amazon Q Business application. + */ + public fun description(description: String) + + /** + * The name of the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-displayname) + * @param displayName The name of the Amazon Q Business application. + */ + public fun displayName(displayName: String) + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + */ + public fun encryptionConfiguration(encryptionConfiguration: IResolvable) + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + */ + public fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b7532e7479f98c4d9c61e749161a682697696dbbe1cac6f86e91e8b260d51ade") + public + fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty.Builder.() -> Unit) + + /** + * The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating + * for—or connecting to—your Amazon Q Business application. + * + * *Required* : `Yes` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-identitycenterinstancearn) + * @param identityCenterInstanceArn The Amazon Resource Name (ARN) of the IAM Identity Center + * instance you are either creating for—or connecting to—your Amazon Q Business application. + */ + public fun identityCenterInstanceArn(identityCenterInstanceArn: String) + + /** + * The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon + * CloudWatch logs and metrics. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-rolearn) + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permissions to access your + * Amazon CloudWatch logs and metrics. + */ + public fun roleArn(roleArn: String) + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + * + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + */ + public fun tags(tags: List) + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + * + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnApplication.Builder = + software.amazon.awscdk.services.qbusiness.CfnApplication.Builder.create(scope, id) + + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + override fun attachmentsConfiguration(attachmentsConfiguration: IResolvable) { + cdkBuilder.attachmentsConfiguration(attachmentsConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + override + fun attachmentsConfiguration(attachmentsConfiguration: AttachmentsConfigurationProperty) { + cdkBuilder.attachmentsConfiguration(attachmentsConfiguration.let(AttachmentsConfigurationProperty.Companion::unwrap)) + } + + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d76d3e55c3a81ef8356d1e1311fe80b80d2b93a375ea96af0e0918fdafd9c8b0") + override + fun attachmentsConfiguration(attachmentsConfiguration: AttachmentsConfigurationProperty.Builder.() -> Unit): + Unit = attachmentsConfiguration(AttachmentsConfigurationProperty(attachmentsConfiguration)) + + /** + * A description for the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-description) + * @param description A description for the Amazon Q Business application. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * The name of the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-displayname) + * @param displayName The name of the Amazon Q Business application. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + */ + override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + */ + override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b7532e7479f98c4d9c61e749161a682697696dbbe1cac6f86e91e8b260d51ade") + override + fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty.Builder.() -> Unit): + Unit = encryptionConfiguration(EncryptionConfigurationProperty(encryptionConfiguration)) + + /** + * The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating + * for—or connecting to—your Amazon Q Business application. + * + * *Required* : `Yes` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-identitycenterinstancearn) + * @param identityCenterInstanceArn The Amazon Resource Name (ARN) of the IAM Identity Center + * instance you are either creating for—or connecting to—your Amazon Q Business application. + */ + override fun identityCenterInstanceArn(identityCenterInstanceArn: String) { + cdkBuilder.identityCenterInstanceArn(identityCenterInstanceArn) + } + + /** + * The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon + * CloudWatch logs and metrics. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-rolearn) + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permissions to access your + * Amazon CloudWatch logs and metrics. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + * + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + * + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnApplication = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.qbusiness.CfnApplication.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnApplication { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnApplication(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplication): + CfnApplication = CfnApplication(cdkObject) + + internal fun unwrap(wrapped: CfnApplication): + software.amazon.awscdk.services.qbusiness.CfnApplication = wrapped.cdkObject as + software.amazon.awscdk.services.qbusiness.CfnApplication + } + + /** + * Configuration information for the file upload during chat feature. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * AttachmentsConfigurationProperty attachmentsConfigurationProperty = + * AttachmentsConfigurationProperty.builder() + * .attachmentsControlMode("attachmentsControlMode") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-attachmentsconfiguration.html) + */ + public interface AttachmentsConfigurationProperty { + /** + * Status information about whether file upload functionality is activated or deactivated for + * your end user. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-attachmentsconfiguration.html#cfn-qbusiness-application-attachmentsconfiguration-attachmentscontrolmode) + */ + public fun attachmentsControlMode(): String + + /** + * A builder for [AttachmentsConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param attachmentsControlMode Status information about whether file upload functionality is + * activated or deactivated for your end user. + */ + public fun attachmentsControlMode(attachmentsControlMode: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty.builder() + + /** + * @param attachmentsControlMode Status information about whether file upload functionality is + * activated or deactivated for your end user. + */ + override fun attachmentsControlMode(attachmentsControlMode: String) { + cdkBuilder.attachmentsControlMode(attachmentsControlMode) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty, + ) : CdkObject(cdkObject), AttachmentsConfigurationProperty { + /** + * Status information about whether file upload functionality is activated or deactivated for + * your end user. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-attachmentsconfiguration.html#cfn-qbusiness-application-attachmentsconfiguration-attachmentscontrolmode) + */ + override fun attachmentsControlMode(): String = unwrap(this).getAttachmentsControlMode() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): AttachmentsConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty): + AttachmentsConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + AttachmentsConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: AttachmentsConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnApplication.AttachmentsConfigurationProperty + } + } + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * EncryptionConfigurationProperty encryptionConfigurationProperty = + * EncryptionConfigurationProperty.builder() + * .kmsKeyId("kmsKeyId") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-encryptionconfiguration.html) + */ + public interface EncryptionConfigurationProperty { + /** + * The identifier of the AWS KMS key. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-encryptionconfiguration.html#cfn-qbusiness-application-encryptionconfiguration-kmskeyid) + */ + public fun kmsKeyId(): String? = unwrap(this).getKmsKeyId() + + /** + * A builder for [EncryptionConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param kmsKeyId The identifier of the AWS KMS key. + * Amazon Q Business doesn't support asymmetric keys. + */ + public fun kmsKeyId(kmsKeyId: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty.builder() + + /** + * @param kmsKeyId The identifier of the AWS KMS key. + * Amazon Q Business doesn't support asymmetric keys. + */ + override fun kmsKeyId(kmsKeyId: String) { + cdkBuilder.kmsKeyId(kmsKeyId) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty, + ) : CdkObject(cdkObject), EncryptionConfigurationProperty { + /** + * The identifier of the AWS KMS key. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-encryptionconfiguration.html#cfn-qbusiness-application-encryptionconfiguration-kmskeyid) + */ + override fun kmsKeyId(): String? = unwrap(this).getKmsKeyId() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): EncryptionConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty): + EncryptionConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + EncryptionConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: EncryptionConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnApplication.EncryptionConfigurationProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnApplicationProps.kt new file mode 100644 index 0000000000..4c8347bed1 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnApplicationProps.kt @@ -0,0 +1,389 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnApplication`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder() + * .displayName("displayName") + * // the properties below are optional + * .attachmentsConfiguration(AttachmentsConfigurationProperty.builder() + * .attachmentsControlMode("attachmentsControlMode") + * .build()) + * .description("description") + * .encryptionConfiguration(EncryptionConfigurationProperty.builder() + * .kmsKeyId("kmsKeyId") + * .build()) + * .identityCenterInstanceArn("identityCenterInstanceArn") + * .roleArn("roleArn") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html) + */ +public interface CfnApplicationProps { + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + */ + public fun attachmentsConfiguration(): Any? = unwrap(this).getAttachmentsConfiguration() + + /** + * A description for the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-description) + */ + public fun description(): String? = unwrap(this).getDescription() + + /** + * The name of the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-displayname) + */ + public fun displayName(): String + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + */ + public fun encryptionConfiguration(): Any? = unwrap(this).getEncryptionConfiguration() + + /** + * The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating + * for—or connecting to—your Amazon Q Business application. + * + * *Required* : `Yes` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-identitycenterinstancearn) + */ + public fun identityCenterInstanceArn(): String? = unwrap(this).getIdentityCenterInstanceArn() + + /** + * The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch + * logs and metrics. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-rolearn) + */ + public fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + * + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A builder for [CfnApplicationProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + public fun attachmentsConfiguration(attachmentsConfiguration: IResolvable) + + /** + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + public + fun attachmentsConfiguration(attachmentsConfiguration: CfnApplication.AttachmentsConfigurationProperty) + + /** + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("206d28644c637f9d78f7b48a9b94de71e3e2b727a54dd6b2d2d057681e1d4fe0") + public + fun attachmentsConfiguration(attachmentsConfiguration: CfnApplication.AttachmentsConfigurationProperty.Builder.() -> Unit) + + /** + * @param description A description for the Amazon Q Business application. + */ + public fun description(description: String) + + /** + * @param displayName The name of the Amazon Q Business application. + */ + public fun displayName(displayName: String) + + /** + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + * Amazon Q Business doesn't support asymmetric keys. + */ + public fun encryptionConfiguration(encryptionConfiguration: IResolvable) + + /** + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + * Amazon Q Business doesn't support asymmetric keys. + */ + public + fun encryptionConfiguration(encryptionConfiguration: CfnApplication.EncryptionConfigurationProperty) + + /** + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + * Amazon Q Business doesn't support asymmetric keys. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b53ead9a73b157753b7e74f043d3903dc4a8b26637b2a364eb7ef782346cdc53") + public + fun encryptionConfiguration(encryptionConfiguration: CfnApplication.EncryptionConfigurationProperty.Builder.() -> Unit) + + /** + * @param identityCenterInstanceArn The Amazon Resource Name (ARN) of the IAM Identity Center + * instance you are either creating for—or connecting to—your Amazon Q Business application. + * *Required* : `Yes` + */ + public fun identityCenterInstanceArn(identityCenterInstanceArn: String) + + /** + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permissions to access your + * Amazon CloudWatch logs and metrics. + */ + public fun roleArn(roleArn: String) + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(tags: List) + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnApplicationProps.Builder = + software.amazon.awscdk.services.qbusiness.CfnApplicationProps.builder() + + /** + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + override fun attachmentsConfiguration(attachmentsConfiguration: IResolvable) { + cdkBuilder.attachmentsConfiguration(attachmentsConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + override + fun attachmentsConfiguration(attachmentsConfiguration: CfnApplication.AttachmentsConfigurationProperty) { + cdkBuilder.attachmentsConfiguration(attachmentsConfiguration.let(CfnApplication.AttachmentsConfigurationProperty.Companion::unwrap)) + } + + /** + * @param attachmentsConfiguration Configuration information for the file upload during chat + * feature. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("206d28644c637f9d78f7b48a9b94de71e3e2b727a54dd6b2d2d057681e1d4fe0") + override + fun attachmentsConfiguration(attachmentsConfiguration: CfnApplication.AttachmentsConfigurationProperty.Builder.() -> Unit): + Unit = + attachmentsConfiguration(CfnApplication.AttachmentsConfigurationProperty(attachmentsConfiguration)) + + /** + * @param description A description for the Amazon Q Business application. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * @param displayName The name of the Amazon Q Business application. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + * Amazon Q Business doesn't support asymmetric keys. + */ + override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + * Amazon Q Business doesn't support asymmetric keys. + */ + override + fun encryptionConfiguration(encryptionConfiguration: CfnApplication.EncryptionConfigurationProperty) { + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnApplication.EncryptionConfigurationProperty.Companion::unwrap)) + } + + /** + * @param encryptionConfiguration Provides the identifier of the AWS KMS key used to encrypt + * data indexed by Amazon Q Business. + * Amazon Q Business doesn't support asymmetric keys. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b53ead9a73b157753b7e74f043d3903dc4a8b26637b2a364eb7ef782346cdc53") + override + fun encryptionConfiguration(encryptionConfiguration: CfnApplication.EncryptionConfigurationProperty.Builder.() -> Unit): + Unit = + encryptionConfiguration(CfnApplication.EncryptionConfigurationProperty(encryptionConfiguration)) + + /** + * @param identityCenterInstanceArn The Amazon Resource Name (ARN) of the IAM Identity Center + * instance you are either creating for—or connecting to—your Amazon Q Business application. + * *Required* : `Yes` + */ + override fun identityCenterInstanceArn(identityCenterInstanceArn: String) { + cdkBuilder.identityCenterInstanceArn(identityCenterInstanceArn) + } + + /** + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permissions to access your + * Amazon CloudWatch logs and metrics. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business + * application. + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnApplicationProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplicationProps, + ) : CdkObject(cdkObject), CfnApplicationProps { + /** + * Configuration information for the file upload during chat feature. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-attachmentsconfiguration) + */ + override fun attachmentsConfiguration(): Any? = unwrap(this).getAttachmentsConfiguration() + + /** + * A description for the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-description) + */ + override fun description(): String? = unwrap(this).getDescription() + + /** + * The name of the Amazon Q Business application. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-displayname) + */ + override fun displayName(): String = unwrap(this).getDisplayName() + + /** + * Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. + * + * Amazon Q Business doesn't support asymmetric keys. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-encryptionconfiguration) + */ + override fun encryptionConfiguration(): Any? = unwrap(this).getEncryptionConfiguration() + + /** + * The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating + * for—or connecting to—your Amazon Q Business application. + * + * *Required* : `Yes` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-identitycenterinstancearn) + */ + override fun identityCenterInstanceArn(): String? = unwrap(this).getIdentityCenterInstanceArn() + + /** + * The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon + * CloudWatch logs and metrics. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-rolearn) + */ + override fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business application. + * + * You can also use tags to help control access to the application. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnApplicationProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnApplicationProps): + CfnApplicationProps = CdkObjectWrappers.wrap(cdkObject) as? CfnApplicationProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnApplicationProps): + software.amazon.awscdk.services.qbusiness.CfnApplicationProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.qbusiness.CfnApplicationProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnDataSource.kt new file mode 100644 index 0000000000..4713172025 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnDataSource.kt @@ -0,0 +1,2490 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.Number +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates a data source connector for an Amazon Q Business application. + * + * `CreateDataSource` is a synchronous operation. The operation returns 200 if the data source was + * successfully created. Otherwise, an exception is raised. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * Object configuration; + * CfnDataSource cfnDataSource = CfnDataSource.Builder.create(this, "MyCfnDataSource") + * .applicationId("applicationId") + * .configuration(configuration) + * .displayName("displayName") + * .indexId("indexId") + * // the properties below are optional + * .description("description") + * .documentEnrichmentConfiguration(DocumentEnrichmentConfigurationProperty.builder() + * .inlineConfigurations(List.of(InlineDocumentEnrichmentConfigurationProperty.builder() + * .condition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .documentContentOperator("documentContentOperator") + * .target(DocumentAttributeTargetProperty.builder() + * .key("key") + * // the properties below are optional + * .attributeValueOperator("attributeValueOperator") + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .build())) + * .postExtractionHookConfiguration(HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build()) + * .preExtractionHookConfiguration(HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build()) + * .build()) + * .roleArn("roleArn") + * .syncSchedule("syncSchedule") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .vpcConfiguration(DataSourceVpcConfigurationProperty.builder() + * .securityGroupIds(List.of("securityGroupIds")) + * .subnetIds(List.of("subnetIds")) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html) + */ +public open class CfnDataSource( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnDataSourceProps, + ) : + this(software.amazon.awscdk.services.qbusiness.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSourceProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnDataSourceProps.Builder.() -> Unit, + ) : this(scope, id, CfnDataSourceProps(props) + ) + + /** + * The identifier of the Amazon Q Business application the data source will be attached to. + */ + public open fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The identifier of the Amazon Q Business application the data source will be attached to. + */ + public open fun applicationId(`value`: String) { + unwrap(this).setApplicationId(`value`) + } + + /** + * The Unix timestamp when the Amazon Q Business data source was created. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * The Amazon Resource Name (ARN) of a data source in an Amazon Q Business application. + */ + public open fun attrDataSourceArn(): String = unwrap(this).getAttrDataSourceArn() + + /** + * The identifier of the Amazon Q Business data source. + */ + public open fun attrDataSourceId(): String = unwrap(this).getAttrDataSourceId() + + /** + * The status of the Amazon Q Business data source. + */ + public open fun attrStatus(): String = unwrap(this).getAttrStatus() + + /** + * The type of the Amazon Q Business data source. + */ + public open fun attrType(): String = unwrap(this).getAttrType() + + /** + * The Unix timestamp when the Amazon Q Business data source was last updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Configuration information to connect to your data source repository. + */ + public open fun configuration(): Any = unwrap(this).getConfiguration() + + /** + * Configuration information to connect to your data source repository. + */ + public open fun configuration(`value`: Any) { + unwrap(this).setConfiguration(`value`) + } + + /** + * A description for the data source connector. + */ + public open fun description(): String? = unwrap(this).getDescription() + + /** + * A description for the data source connector. + */ + public open fun description(`value`: String) { + unwrap(this).setDescription(`value`) + } + + /** + * The name of the Amazon Q Business data source. + */ + public open fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The name of the Amazon Q Business data source. + */ + public open fun displayName(`value`: String) { + unwrap(this).setDisplayName(`value`) + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + */ + public open fun documentEnrichmentConfiguration(): Any? = + unwrap(this).getDocumentEnrichmentConfiguration() + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + */ + public open fun documentEnrichmentConfiguration(`value`: IResolvable) { + unwrap(this).setDocumentEnrichmentConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + */ + public open + fun documentEnrichmentConfiguration(`value`: DocumentEnrichmentConfigurationProperty) { + unwrap(this).setDocumentEnrichmentConfiguration(`value`.let(DocumentEnrichmentConfigurationProperty.Companion::unwrap)) + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ef9d86bcefeecb14dc7166a20854235ee6135320be1c51e16dec6a3cbccfd26e") + public open + fun documentEnrichmentConfiguration(`value`: DocumentEnrichmentConfigurationProperty.Builder.() -> Unit): + Unit = documentEnrichmentConfiguration(DocumentEnrichmentConfigurationProperty(`value`)) + + /** + * The identifier of the index the data source is attached to. + */ + public open fun indexId(): String = unwrap(this).getIndexId() + + /** + * The identifier of the index the data source is attached to. + */ + public open fun indexId(`value`: String) { + unwrap(this).setIndexId(`value`) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and + * required resources. + */ + public open fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and + * required resources. + */ + public open fun roleArn(`value`: String) { + unwrap(this).setRoleArn(`value`) + } + + /** + * Sets the frequency for Amazon Q Business to check the documents in your data source repository + * and update your index. + */ + public open fun syncSchedule(): String? = unwrap(this).getSyncSchedule() + + /** + * Sets the frequency for Amazon Q Business to check the documents in your data source repository + * and update your index. + */ + public open fun syncSchedule(`value`: String) { + unwrap(this).setSyncSchedule(`value`) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of key-value pairs that identify or categorize the data source connector. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + */ + public open fun vpcConfiguration(): Any? = unwrap(this).getVpcConfiguration() + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + */ + public open fun vpcConfiguration(`value`: IResolvable) { + unwrap(this).setVpcConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + */ + public open fun vpcConfiguration(`value`: DataSourceVpcConfigurationProperty) { + unwrap(this).setVpcConfiguration(`value`.let(DataSourceVpcConfigurationProperty.Companion::unwrap)) + } + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6d72be28332741604810b52b6c958365435a3b8f1dce0dac7f4fd0aaf2bdec5a") + public open fun vpcConfiguration(`value`: DataSourceVpcConfigurationProperty.Builder.() -> Unit): + Unit = vpcConfiguration(DataSourceVpcConfigurationProperty(`value`)) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.qbusiness.CfnDataSource]. + */ + @CdkDslMarker + public interface Builder { + /** + * The identifier of the Amazon Q Business application the data source will be attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-applicationid) + * @param applicationId The identifier of the Amazon Q Business application the data source will + * be attached to. + */ + public fun applicationId(applicationId: String) + + /** + * Configuration information to connect to your data source repository. + * + * For configuration templates for your specific data source, see [Supported + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-configuration) + * @param configuration Configuration information to connect to your data source repository. + */ + public fun configuration(configuration: Any) + + /** + * A description for the data source connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-description) + * @param description A description for the data source connector. + */ + public fun description(description: String) + + /** + * The name of the Amazon Q Business data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-displayname) + * @param displayName The name of the Amazon Q Business data source. + */ + public fun displayName(displayName: String) + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + */ + public fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: IResolvable) + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + */ + public + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: DocumentEnrichmentConfigurationProperty) + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e82403469cd87311f8ffd5ba6d8042aea7ced7bde7c9d4d8c2875d34b320ff25") + public + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: DocumentEnrichmentConfigurationProperty.Builder.() -> Unit) + + /** + * The identifier of the index the data source is attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-indexid) + * @param indexId The identifier of the index the data source is attached to. + */ + public fun indexId(indexId: String) + + /** + * The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and + * required resources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-rolearn) + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permission to access the + * data source and required resources. + */ + public fun roleArn(roleArn: String) + + /** + * Sets the frequency for Amazon Q Business to check the documents in your data source + * repository and update your index. + * + * If you don't set a schedule, Amazon Q Business won't periodically update the index. + * + * Specify a `cron-` format schedule string or an empty string to indicate that the index is + * updated on demand. You can't specify the `Schedule` parameter when the `Type` parameter is set + * to `CUSTOM` . If you do, you receive a `ValidationException` exception. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-syncschedule) + * @param syncSchedule Sets the frequency for Amazon Q Business to check the documents in your + * data source repository and update your index. + */ + public fun syncSchedule(syncSchedule: String) + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + public fun tags(tags: List) + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + public fun tags(vararg tags: CfnTag) + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + */ + public fun vpcConfiguration(vpcConfiguration: IResolvable) + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + */ + public fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty) + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6aeb0d4de6d73f135c89cdbdc2bbbfa88c1dc31c10f7876e48a530c6c580acb6") + public + fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnDataSource.Builder = + software.amazon.awscdk.services.qbusiness.CfnDataSource.Builder.create(scope, id) + + /** + * The identifier of the Amazon Q Business application the data source will be attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-applicationid) + * @param applicationId The identifier of the Amazon Q Business application the data source will + * be attached to. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * Configuration information to connect to your data source repository. + * + * For configuration templates for your specific data source, see [Supported + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-configuration) + * @param configuration Configuration information to connect to your data source repository. + */ + override fun configuration(configuration: Any) { + cdkBuilder.configuration(configuration) + } + + /** + * A description for the data source connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-description) + * @param description A description for the data source connector. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * The name of the Amazon Q Business data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-displayname) + * @param displayName The name of the Amazon Q Business data source. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + */ + override fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: IResolvable) { + cdkBuilder.documentEnrichmentConfiguration(documentEnrichmentConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + */ + override + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: DocumentEnrichmentConfigurationProperty) { + cdkBuilder.documentEnrichmentConfiguration(documentEnrichmentConfiguration.let(DocumentEnrichmentConfigurationProperty.Companion::unwrap)) + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e82403469cd87311f8ffd5ba6d8042aea7ced7bde7c9d4d8c2875d34b320ff25") + override + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: DocumentEnrichmentConfigurationProperty.Builder.() -> Unit): + Unit = + documentEnrichmentConfiguration(DocumentEnrichmentConfigurationProperty(documentEnrichmentConfiguration)) + + /** + * The identifier of the index the data source is attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-indexid) + * @param indexId The identifier of the index the data source is attached to. + */ + override fun indexId(indexId: String) { + cdkBuilder.indexId(indexId) + } + + /** + * The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and + * required resources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-rolearn) + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permission to access the + * data source and required resources. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * Sets the frequency for Amazon Q Business to check the documents in your data source + * repository and update your index. + * + * If you don't set a schedule, Amazon Q Business won't periodically update the index. + * + * Specify a `cron-` format schedule string or an empty string to indicate that the index is + * updated on demand. You can't specify the `Schedule` parameter when the `Type` parameter is set + * to `CUSTOM` . If you do, you receive a `ValidationException` exception. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-syncschedule) + * @param syncSchedule Sets the frequency for Amazon Q Business to check the documents in your + * data source repository and update your index. + */ + override fun syncSchedule(syncSchedule: String) { + cdkBuilder.syncSchedule(syncSchedule) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + */ + override fun vpcConfiguration(vpcConfiguration: IResolvable) { + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + */ + override fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty) { + cdkBuilder.vpcConfiguration(vpcConfiguration.let(DataSourceVpcConfigurationProperty.Companion::unwrap)) + } + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6aeb0d4de6d73f135c89cdbdc2bbbfa88c1dc31c10f7876e48a530c6c580acb6") + override + fun vpcConfiguration(vpcConfiguration: DataSourceVpcConfigurationProperty.Builder.() -> Unit): + Unit = vpcConfiguration(DataSourceVpcConfigurationProperty(vpcConfiguration)) + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnDataSource = cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.qbusiness.CfnDataSource.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnDataSource { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnDataSource(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource): + CfnDataSource = CfnDataSource(cdkObject) + + internal fun unwrap(wrapped: CfnDataSource): + software.amazon.awscdk.services.qbusiness.CfnDataSource = wrapped.cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource + } + + /** + * Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud). + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * DataSourceVpcConfigurationProperty dataSourceVpcConfigurationProperty = + * DataSourceVpcConfigurationProperty.builder() + * .securityGroupIds(List.of("securityGroupIds")) + * .subnetIds(List.of("subnetIds")) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcevpcconfiguration.html) + */ + public interface DataSourceVpcConfigurationProperty { + /** + * A list of identifiers of security groups within your Amazon VPC. + * + * The security groups should enable Amazon Q Business to connect to the data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcevpcconfiguration.html#cfn-qbusiness-datasource-datasourcevpcconfiguration-securitygroupids) + */ + public fun securityGroupIds(): List + + /** + * A list of identifiers for subnets within your Amazon VPC. + * + * The subnets should be able to connect to each other in the VPC, and they should have outgoing + * access to the Internet through a NAT device. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcevpcconfiguration.html#cfn-qbusiness-datasource-datasourcevpcconfiguration-subnetids) + */ + public fun subnetIds(): List + + /** + * A builder for [DataSourceVpcConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param securityGroupIds A list of identifiers of security groups within your Amazon VPC. + * The security groups should enable Amazon Q Business to connect to the data source. + */ + public fun securityGroupIds(securityGroupIds: List) + + /** + * @param securityGroupIds A list of identifiers of security groups within your Amazon VPC. + * The security groups should enable Amazon Q Business to connect to the data source. + */ + public fun securityGroupIds(vararg securityGroupIds: String) + + /** + * @param subnetIds A list of identifiers for subnets within your Amazon VPC. + * The subnets should be able to connect to each other in the VPC, and they should have + * outgoing access to the Internet through a NAT device. + */ + public fun subnetIds(subnetIds: List) + + /** + * @param subnetIds A list of identifiers for subnets within your Amazon VPC. + * The subnets should be able to connect to each other in the VPC, and they should have + * outgoing access to the Internet through a NAT device. + */ + public fun subnetIds(vararg subnetIds: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty.builder() + + /** + * @param securityGroupIds A list of identifiers of security groups within your Amazon VPC. + * The security groups should enable Amazon Q Business to connect to the data source. + */ + override fun securityGroupIds(securityGroupIds: List) { + cdkBuilder.securityGroupIds(securityGroupIds) + } + + /** + * @param securityGroupIds A list of identifiers of security groups within your Amazon VPC. + * The security groups should enable Amazon Q Business to connect to the data source. + */ + override fun securityGroupIds(vararg securityGroupIds: String): Unit = + securityGroupIds(securityGroupIds.toList()) + + /** + * @param subnetIds A list of identifiers for subnets within your Amazon VPC. + * The subnets should be able to connect to each other in the VPC, and they should have + * outgoing access to the Internet through a NAT device. + */ + override fun subnetIds(subnetIds: List) { + cdkBuilder.subnetIds(subnetIds) + } + + /** + * @param subnetIds A list of identifiers for subnets within your Amazon VPC. + * The subnets should be able to connect to each other in the VPC, and they should have + * outgoing access to the Internet through a NAT device. + */ + override fun subnetIds(vararg subnetIds: String): Unit = subnetIds(subnetIds.toList()) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty, + ) : CdkObject(cdkObject), DataSourceVpcConfigurationProperty { + /** + * A list of identifiers of security groups within your Amazon VPC. + * + * The security groups should enable Amazon Q Business to connect to the data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcevpcconfiguration.html#cfn-qbusiness-datasource-datasourcevpcconfiguration-securitygroupids) + */ + override fun securityGroupIds(): List = unwrap(this).getSecurityGroupIds() + + /** + * A list of identifiers for subnets within your Amazon VPC. + * + * The subnets should be able to connect to each other in the VPC, and they should have + * outgoing access to the Internet through a NAT device. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcevpcconfiguration.html#cfn-qbusiness-datasource-datasourcevpcconfiguration-subnetids) + */ + override fun subnetIds(): List = unwrap(this).getSubnetIds() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DataSourceVpcConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty): + DataSourceVpcConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DataSourceVpcConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DataSourceVpcConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.DataSourceVpcConfigurationProperty + } + } + + /** + * The condition used for the target document attribute or metadata field when ingesting documents + * into Amazon Q Business. + * + * You use this with + * [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) + * to apply the condition. + * + * For example, you can create the 'Department' target field and have it prefill department names + * associated with the documents based on information in the 'Source_URI' field. Set the condition + * that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target + * field 'Department' with the target value 'Finance' for the document. + * + * Amazon Q Business can't create a target field if it has not already been created as an index + * field. After you create your index field, you can create a document metadata field using + * `DocumentAttributeTarget` . Amazon Q Business then will map your newly created metadata field to + * your index field. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * DocumentAttributeConditionProperty documentAttributeConditionProperty = + * DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html) + */ + public interface DocumentAttributeConditionProperty { + /** + * The identifier of the document attribute used for the condition. + * + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently doesn't support `_document_body` as an attribute key used for the + * condition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html#cfn-qbusiness-datasource-documentattributecondition-key) + */ + public fun key(): String + + /** + * The identifier of the document attribute used for the condition. + * + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently does not support `_document_body` as an attribute key used for + * the condition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html#cfn-qbusiness-datasource-documentattributecondition-operator) + */ + public fun `operator`(): String + + /** + * The value of a document attribute. + * + * You can only provide one value for a document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html#cfn-qbusiness-datasource-documentattributecondition-value) + */ + public fun `value`(): Any? = unwrap(this).getValue() + + /** + * A builder for [DocumentAttributeConditionProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param key The identifier of the document attribute used for the condition. + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently doesn't support `_document_body` as an attribute key used for + * the condition. + */ + public fun key(key: String) + + /** + * @param operator The identifier of the document attribute used for the condition. + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently does not support `_document_body` as an attribute key used for + * the condition. + */ + public fun `operator`(`operator`: String) + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + public fun `value`(`value`: IResolvable) + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + public fun `value`(`value`: DocumentAttributeValueProperty) + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fd570863727f33c25ccd2e6581b16b5e5f6d443afca8619d53d0114a851b8c86") + public fun `value`(`value`: DocumentAttributeValueProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty.builder() + + /** + * @param key The identifier of the document attribute used for the condition. + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently doesn't support `_document_body` as an attribute key used for + * the condition. + */ + override fun key(key: String) { + cdkBuilder.key(key) + } + + /** + * @param operator The identifier of the document attribute used for the condition. + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently does not support `_document_body` as an attribute key used for + * the condition. + */ + override fun `operator`(`operator`: String) { + cdkBuilder.`operator`(`operator`) + } + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + override fun `value`(`value`: IResolvable) { + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + override fun `value`(`value`: DocumentAttributeValueProperty) { + cdkBuilder.`value`(`value`.let(DocumentAttributeValueProperty.Companion::unwrap)) + } + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fd570863727f33c25ccd2e6581b16b5e5f6d443afca8619d53d0114a851b8c86") + override fun `value`(`value`: DocumentAttributeValueProperty.Builder.() -> Unit): Unit = + `value`(DocumentAttributeValueProperty(`value`)) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty, + ) : CdkObject(cdkObject), DocumentAttributeConditionProperty { + /** + * The identifier of the document attribute used for the condition. + * + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently doesn't support `_document_body` as an attribute key used for + * the condition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html#cfn-qbusiness-datasource-documentattributecondition-key) + */ + override fun key(): String = unwrap(this).getKey() + + /** + * The identifier of the document attribute used for the condition. + * + * For example, 'Source_URI' could be an identifier for the attribute or metadata field that + * contains source URIs associated with the documents. + * + * Amazon Q Business currently does not support `_document_body` as an attribute key used for + * the condition. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html#cfn-qbusiness-datasource-documentattributecondition-operator) + */ + override fun `operator`(): String = unwrap(this).getOperator() + + /** + * The value of a document attribute. + * + * You can only provide one value for a document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html#cfn-qbusiness-datasource-documentattributecondition-value) + */ + override fun `value`(): Any? = unwrap(this).getValue() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DocumentAttributeConditionProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty): + DocumentAttributeConditionProperty = CdkObjectWrappers.wrap(cdkObject) as? + DocumentAttributeConditionProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DocumentAttributeConditionProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeConditionProperty + } + } + + /** + * The target document attribute or metadata field you want to alter when ingesting documents into + * Amazon Q Business. + * + * For example, you can delete all customer identification numbers associated with the documents, + * stored in the document metadata field called 'Customer_ID' by setting the target key as + * 'Customer_ID' and the deletion flag to `TRUE` . This removes all customer ID values in the field + * 'Customer_ID'. This would scrub personally identifiable information from each document's metadata. + * + * Amazon Q Business can't create a target field if it has not already been created as an index + * field. After you create your index field, you can create a document metadata field using + * [`DocumentAttributeTarget`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html) + * . Amazon Q Business will then map your newly created document attribute to your index field. + * + * You can also use this with + * [`DocumentAttributeCondition`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeCondition.html) + * . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * DocumentAttributeTargetProperty documentAttributeTargetProperty = + * DocumentAttributeTargetProperty.builder() + * .key("key") + * // the properties below are optional + * .attributeValueOperator("attributeValueOperator") + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html) + */ + public interface DocumentAttributeTargetProperty { + /** + * `TRUE` to delete the existing target value for your specified target attribute key. + * + * You cannot create a target value and set this to `TRUE` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html#cfn-qbusiness-datasource-documentattributetarget-attributevalueoperator) + */ + public fun attributeValueOperator(): String? = unwrap(this).getAttributeValueOperator() + + /** + * The identifier of the target document attribute or metadata field. + * + * For example, 'Department' could be an identifier for the target attribute or metadata field + * that includes the department names associated with the documents. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html#cfn-qbusiness-datasource-documentattributetarget-key) + */ + public fun key(): String + + /** + * The value of a document attribute. + * + * You can only provide one value for a document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html#cfn-qbusiness-datasource-documentattributetarget-value) + */ + public fun `value`(): Any? = unwrap(this).getValue() + + /** + * A builder for [DocumentAttributeTargetProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param attributeValueOperator `TRUE` to delete the existing target value for your specified + * target attribute key. + * You cannot create a target value and set this to `TRUE` . + */ + public fun attributeValueOperator(attributeValueOperator: String) + + /** + * @param key The identifier of the target document attribute or metadata field. + * For example, 'Department' could be an identifier for the target attribute or metadata field + * that includes the department names associated with the documents. + */ + public fun key(key: String) + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + public fun `value`(`value`: IResolvable) + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + public fun `value`(`value`: DocumentAttributeValueProperty) + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("860ab58d023d28630a55e31c799f50ced774b0c77e3d35c6523871711806f419") + public fun `value`(`value`: DocumentAttributeValueProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty.builder() + + /** + * @param attributeValueOperator `TRUE` to delete the existing target value for your specified + * target attribute key. + * You cannot create a target value and set this to `TRUE` . + */ + override fun attributeValueOperator(attributeValueOperator: String) { + cdkBuilder.attributeValueOperator(attributeValueOperator) + } + + /** + * @param key The identifier of the target document attribute or metadata field. + * For example, 'Department' could be an identifier for the target attribute or metadata field + * that includes the department names associated with the documents. + */ + override fun key(key: String) { + cdkBuilder.key(key) + } + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + override fun `value`(`value`: IResolvable) { + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + override fun `value`(`value`: DocumentAttributeValueProperty) { + cdkBuilder.`value`(`value`.let(DocumentAttributeValueProperty.Companion::unwrap)) + } + + /** + * @param value The value of a document attribute. + * You can only provide one value for a document attribute. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("860ab58d023d28630a55e31c799f50ced774b0c77e3d35c6523871711806f419") + override fun `value`(`value`: DocumentAttributeValueProperty.Builder.() -> Unit): Unit = + `value`(DocumentAttributeValueProperty(`value`)) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty, + ) : CdkObject(cdkObject), DocumentAttributeTargetProperty { + /** + * `TRUE` to delete the existing target value for your specified target attribute key. + * + * You cannot create a target value and set this to `TRUE` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html#cfn-qbusiness-datasource-documentattributetarget-attributevalueoperator) + */ + override fun attributeValueOperator(): String? = unwrap(this).getAttributeValueOperator() + + /** + * The identifier of the target document attribute or metadata field. + * + * For example, 'Department' could be an identifier for the target attribute or metadata field + * that includes the department names associated with the documents. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html#cfn-qbusiness-datasource-documentattributetarget-key) + */ + override fun key(): String = unwrap(this).getKey() + + /** + * The value of a document attribute. + * + * You can only provide one value for a document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html#cfn-qbusiness-datasource-documentattributetarget-value) + */ + override fun `value`(): Any? = unwrap(this).getValue() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): DocumentAttributeTargetProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty): + DocumentAttributeTargetProperty = CdkObjectWrappers.wrap(cdkObject) as? + DocumentAttributeTargetProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DocumentAttributeTargetProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeTargetProperty + } + } + + /** + * The value of a document attribute. + * + * You can only provide one value for a document attribute. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * DocumentAttributeValueProperty documentAttributeValueProperty = + * DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html) + */ + public interface DocumentAttributeValueProperty { + /** + * A date expressed as an ISO 8601 string. + * + * It's important for the time zone to be included in the ISO 8601 date-time format. For + * example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at + * 12:30PM (plus 10 seconds) in Central European Time. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-datevalue) + */ + public fun dateValue(): String? = unwrap(this).getDateValue() + + /** + * A long integer value. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-longvalue) + */ + public fun longValue(): Number? = unwrap(this).getLongValue() + + /** + * A list of strings. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-stringlistvalue) + */ + public fun stringListValue(): List = unwrap(this).getStringListValue() ?: emptyList() + + /** + * A string. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-stringvalue) + */ + public fun stringValue(): String? = unwrap(this).getStringValue() + + /** + * A builder for [DocumentAttributeValueProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param dateValue A date expressed as an ISO 8601 string. + * It's important for the time zone to be included in the ISO 8601 date-time format. For + * example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at + * 12:30PM (plus 10 seconds) in Central European Time. + */ + public fun dateValue(dateValue: String) + + /** + * @param longValue A long integer value. + */ + public fun longValue(longValue: Number) + + /** + * @param stringListValue A list of strings. + */ + public fun stringListValue(stringListValue: List) + + /** + * @param stringListValue A list of strings. + */ + public fun stringListValue(vararg stringListValue: String) + + /** + * @param stringValue A string. + */ + public fun stringValue(stringValue: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty.builder() + + /** + * @param dateValue A date expressed as an ISO 8601 string. + * It's important for the time zone to be included in the ISO 8601 date-time format. For + * example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at + * 12:30PM (plus 10 seconds) in Central European Time. + */ + override fun dateValue(dateValue: String) { + cdkBuilder.dateValue(dateValue) + } + + /** + * @param longValue A long integer value. + */ + override fun longValue(longValue: Number) { + cdkBuilder.longValue(longValue) + } + + /** + * @param stringListValue A list of strings. + */ + override fun stringListValue(stringListValue: List) { + cdkBuilder.stringListValue(stringListValue) + } + + /** + * @param stringListValue A list of strings. + */ + override fun stringListValue(vararg stringListValue: String): Unit = + stringListValue(stringListValue.toList()) + + /** + * @param stringValue A string. + */ + override fun stringValue(stringValue: String) { + cdkBuilder.stringValue(stringValue) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty, + ) : CdkObject(cdkObject), DocumentAttributeValueProperty { + /** + * A date expressed as an ISO 8601 string. + * + * It's important for the time zone to be included in the ISO 8601 date-time format. For + * example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at + * 12:30PM (plus 10 seconds) in Central European Time. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-datevalue) + */ + override fun dateValue(): String? = unwrap(this).getDateValue() + + /** + * A long integer value. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-longvalue) + */ + override fun longValue(): Number? = unwrap(this).getLongValue() + + /** + * A list of strings. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-stringlistvalue) + */ + override fun stringListValue(): List = unwrap(this).getStringListValue() ?: + emptyList() + + /** + * A string. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html#cfn-qbusiness-datasource-documentattributevalue-stringvalue) + */ + override fun stringValue(): String? = unwrap(this).getStringValue() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): DocumentAttributeValueProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty): + DocumentAttributeValueProperty = CdkObjectWrappers.wrap(cdkObject) as? + DocumentAttributeValueProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DocumentAttributeValueProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentAttributeValueProperty + } + } + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * DocumentEnrichmentConfigurationProperty documentEnrichmentConfigurationProperty = + * DocumentEnrichmentConfigurationProperty.builder() + * .inlineConfigurations(List.of(InlineDocumentEnrichmentConfigurationProperty.builder() + * .condition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .documentContentOperator("documentContentOperator") + * .target(DocumentAttributeTargetProperty.builder() + * .key("key") + * // the properties below are optional + * .attributeValueOperator("attributeValueOperator") + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .build())) + * .postExtractionHookConfiguration(HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build()) + * .preExtractionHookConfiguration(HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html) + */ + public interface DocumentEnrichmentConfigurationProperty { + /** + * Configuration information to alter document attributes or metadata fields and content when + * ingesting documents into Amazon Q Business. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-inlineconfigurations) + */ + public fun inlineConfigurations(): Any? = unwrap(this).getInlineConfigurations() + + /** + * Configuration information for invoking a Lambda function in AWS Lambda on the structured + * documents with their metadata and text extracted. + * + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-postextractionhookconfiguration) + */ + public fun postExtractionHookConfiguration(): Any? = + unwrap(this).getPostExtractionHookConfiguration() + + /** + * Configuration information for invoking a Lambda function in AWS Lambda on the original or raw + * documents before extracting their metadata and text. + * + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-preextractionhookconfiguration) + */ + public fun preExtractionHookConfiguration(): Any? = + unwrap(this).getPreExtractionHookConfiguration() + + /** + * A builder for [DocumentEnrichmentConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param inlineConfigurations Configuration information to alter document attributes or + * metadata fields and content when ingesting documents into Amazon Q Business. + */ + public fun inlineConfigurations(inlineConfigurations: IResolvable) + + /** + * @param inlineConfigurations Configuration information to alter document attributes or + * metadata fields and content when ingesting documents into Amazon Q Business. + */ + public fun inlineConfigurations(inlineConfigurations: List) + + /** + * @param inlineConfigurations Configuration information to alter document attributes or + * metadata fields and content when ingesting documents into Amazon Q Business. + */ + public fun inlineConfigurations(vararg inlineConfigurations: Any) + + /** + * @param postExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the structured documents with their metadata and text extracted. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + public fun postExtractionHookConfiguration(postExtractionHookConfiguration: IResolvable) + + /** + * @param postExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the structured documents with their metadata and text extracted. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + public + fun postExtractionHookConfiguration(postExtractionHookConfiguration: HookConfigurationProperty) + + /** + * @param postExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the structured documents with their metadata and text extracted. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7a56177861fe31bded14425bd45ff5cab1c543141834392097fa213ef78385ac") + public + fun postExtractionHookConfiguration(postExtractionHookConfiguration: HookConfigurationProperty.Builder.() -> Unit) + + /** + * @param preExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the original or raw documents before extracting their metadata and + * text. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + public fun preExtractionHookConfiguration(preExtractionHookConfiguration: IResolvable) + + /** + * @param preExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the original or raw documents before extracting their metadata and + * text. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + public + fun preExtractionHookConfiguration(preExtractionHookConfiguration: HookConfigurationProperty) + + /** + * @param preExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the original or raw documents before extracting their metadata and + * text. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("48b90bf5d854f36f6d5f6a8c10ba02850073cc16ad3df1422a94b5da8d267bce") + public + fun preExtractionHookConfiguration(preExtractionHookConfiguration: HookConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty.builder() + + /** + * @param inlineConfigurations Configuration information to alter document attributes or + * metadata fields and content when ingesting documents into Amazon Q Business. + */ + override fun inlineConfigurations(inlineConfigurations: IResolvable) { + cdkBuilder.inlineConfigurations(inlineConfigurations.let(IResolvable.Companion::unwrap)) + } + + /** + * @param inlineConfigurations Configuration information to alter document attributes or + * metadata fields and content when ingesting documents into Amazon Q Business. + */ + override fun inlineConfigurations(inlineConfigurations: List) { + cdkBuilder.inlineConfigurations(inlineConfigurations.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param inlineConfigurations Configuration information to alter document attributes or + * metadata fields and content when ingesting documents into Amazon Q Business. + */ + override fun inlineConfigurations(vararg inlineConfigurations: Any): Unit = + inlineConfigurations(inlineConfigurations.toList()) + + /** + * @param postExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the structured documents with their metadata and text extracted. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + override fun postExtractionHookConfiguration(postExtractionHookConfiguration: IResolvable) { + cdkBuilder.postExtractionHookConfiguration(postExtractionHookConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param postExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the structured documents with their metadata and text extracted. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + override + fun postExtractionHookConfiguration(postExtractionHookConfiguration: HookConfigurationProperty) { + cdkBuilder.postExtractionHookConfiguration(postExtractionHookConfiguration.let(HookConfigurationProperty.Companion::unwrap)) + } + + /** + * @param postExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the structured documents with their metadata and text extracted. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7a56177861fe31bded14425bd45ff5cab1c543141834392097fa213ef78385ac") + override + fun postExtractionHookConfiguration(postExtractionHookConfiguration: HookConfigurationProperty.Builder.() -> Unit): + Unit = + postExtractionHookConfiguration(HookConfigurationProperty(postExtractionHookConfiguration)) + + /** + * @param preExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the original or raw documents before extracting their metadata and + * text. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + override fun preExtractionHookConfiguration(preExtractionHookConfiguration: IResolvable) { + cdkBuilder.preExtractionHookConfiguration(preExtractionHookConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param preExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the original or raw documents before extracting their metadata and + * text. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + override + fun preExtractionHookConfiguration(preExtractionHookConfiguration: HookConfigurationProperty) { + cdkBuilder.preExtractionHookConfiguration(preExtractionHookConfiguration.let(HookConfigurationProperty.Companion::unwrap)) + } + + /** + * @param preExtractionHookConfiguration Configuration information for invoking a Lambda + * function in AWS Lambda on the original or raw documents before extracting their metadata and + * text. + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("48b90bf5d854f36f6d5f6a8c10ba02850073cc16ad3df1422a94b5da8d267bce") + override + fun preExtractionHookConfiguration(preExtractionHookConfiguration: HookConfigurationProperty.Builder.() -> Unit): + Unit = + preExtractionHookConfiguration(HookConfigurationProperty(preExtractionHookConfiguration)) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty, + ) : CdkObject(cdkObject), DocumentEnrichmentConfigurationProperty { + /** + * Configuration information to alter document attributes or metadata fields and content when + * ingesting documents into Amazon Q Business. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-inlineconfigurations) + */ + override fun inlineConfigurations(): Any? = unwrap(this).getInlineConfigurations() + + /** + * Configuration information for invoking a Lambda function in AWS Lambda on the structured + * documents with their metadata and text extracted. + * + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-postextractionhookconfiguration) + */ + override fun postExtractionHookConfiguration(): Any? = + unwrap(this).getPostExtractionHookConfiguration() + + /** + * Configuration information for invoking a Lambda function in AWS Lambda on the original or + * raw documents before extracting their metadata and text. + * + * You can use a Lambda function to apply advanced logic for creating, modifying, or deleting + * document metadata and content. For more information, see [Using Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html#cfn-qbusiness-datasource-documentenrichmentconfiguration-preextractionhookconfiguration) + */ + override fun preExtractionHookConfiguration(): Any? = + unwrap(this).getPreExtractionHookConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DocumentEnrichmentConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty): + DocumentEnrichmentConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DocumentEnrichmentConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DocumentEnrichmentConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.DocumentEnrichmentConfigurationProperty + } + } + + /** + * Provides the configuration information for invoking a Lambda function in AWS Lambda to alter + * document metadata and content when ingesting documents into Amazon Q Business. + * + * You can configure your Lambda function using the `PreExtractionHookConfiguration` parameter if + * you want to apply advanced alterations on the original or raw documents. + * + * If you want to apply advanced alterations on the Amazon Q Business structured documents, you + * must configure your Lambda function using `PostExtractionHookConfiguration` . + * + * You can only invoke one Lambda function. However, this function can invoke other functions it + * requires. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * HookConfigurationProperty hookConfigurationProperty = HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html) + */ + public interface HookConfigurationProperty { + /** + * The condition used for when a Lambda function should be invoked. + * + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-invocationcondition) + */ + public fun invocationCondition(): Any? = unwrap(this).getInvocationCondition() + + /** + * The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during + * ingestion. + * + * For more information, see [IAM roles for Custom Document Enrichment + * (CDE)](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html#cde-iam-role) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-lambdaarn) + */ + public fun lambdaArn(): String? = unwrap(this).getLambdaArn() + + /** + * The Amazon Resource Name (ARN) of a role with permission to run + * `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` for altering document + * metadata and content during the document ingestion process. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-rolearn) + */ + public fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * Stores the original, raw documents or the structured, parsed documents before and after + * altering them. + * + * For more information, see [Data contracts for Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-s3bucketname) + */ + public fun s3BucketName(): String? = unwrap(this).getS3BucketName() + + /** + * A builder for [HookConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param invocationCondition The condition used for when a Lambda function should be invoked. + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + */ + public fun invocationCondition(invocationCondition: IResolvable) + + /** + * @param invocationCondition The condition used for when a Lambda function should be invoked. + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + */ + public fun invocationCondition(invocationCondition: DocumentAttributeConditionProperty) + + /** + * @param invocationCondition The condition used for when a Lambda function should be invoked. + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d76fc7ccd2eb2040e12cdbb3dda61e2181a39254a477add35b56053c21851168") + public + fun invocationCondition(invocationCondition: DocumentAttributeConditionProperty.Builder.() -> Unit) + + /** + * @param lambdaArn The Amazon Resource Name (ARN) of a role with permission to run a Lambda + * function during ingestion. + * For more information, see [IAM roles for Custom Document Enrichment + * (CDE)](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html#cde-iam-role) + * . + */ + public fun lambdaArn(lambdaArn: String) + + /** + * @param roleArn The Amazon Resource Name (ARN) of a role with permission to run + * `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` for altering document + * metadata and content during the document ingestion process. + */ + public fun roleArn(roleArn: String) + + /** + * @param s3BucketName Stores the original, raw documents or the structured, parsed documents + * before and after altering them. + * For more information, see [Data contracts for Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts) + * . + */ + public fun s3BucketName(s3BucketName: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty.builder() + + /** + * @param invocationCondition The condition used for when a Lambda function should be invoked. + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + */ + override fun invocationCondition(invocationCondition: IResolvable) { + cdkBuilder.invocationCondition(invocationCondition.let(IResolvable.Companion::unwrap)) + } + + /** + * @param invocationCondition The condition used for when a Lambda function should be invoked. + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + */ + override fun invocationCondition(invocationCondition: DocumentAttributeConditionProperty) { + cdkBuilder.invocationCondition(invocationCondition.let(DocumentAttributeConditionProperty.Companion::unwrap)) + } + + /** + * @param invocationCondition The condition used for when a Lambda function should be invoked. + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d76fc7ccd2eb2040e12cdbb3dda61e2181a39254a477add35b56053c21851168") + override + fun invocationCondition(invocationCondition: DocumentAttributeConditionProperty.Builder.() -> Unit): + Unit = invocationCondition(DocumentAttributeConditionProperty(invocationCondition)) + + /** + * @param lambdaArn The Amazon Resource Name (ARN) of a role with permission to run a Lambda + * function during ingestion. + * For more information, see [IAM roles for Custom Document Enrichment + * (CDE)](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html#cde-iam-role) + * . + */ + override fun lambdaArn(lambdaArn: String) { + cdkBuilder.lambdaArn(lambdaArn) + } + + /** + * @param roleArn The Amazon Resource Name (ARN) of a role with permission to run + * `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` for altering document + * metadata and content during the document ingestion process. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param s3BucketName Stores the original, raw documents or the structured, parsed documents + * before and after altering them. + * For more information, see [Data contracts for Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts) + * . + */ + override fun s3BucketName(s3BucketName: String) { + cdkBuilder.s3BucketName(s3BucketName) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty, + ) : CdkObject(cdkObject), HookConfigurationProperty { + /** + * The condition used for when a Lambda function should be invoked. + * + * For example, you can specify a condition that if there are empty date-time values, then + * Amazon Q Business should invoke a function that inserts the current date-time. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-invocationcondition) + */ + override fun invocationCondition(): Any? = unwrap(this).getInvocationCondition() + + /** + * The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during + * ingestion. + * + * For more information, see [IAM roles for Custom Document Enrichment + * (CDE)](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html#cde-iam-role) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-lambdaarn) + */ + override fun lambdaArn(): String? = unwrap(this).getLambdaArn() + + /** + * The Amazon Resource Name (ARN) of a role with permission to run + * `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` for altering document + * metadata and content during the document ingestion process. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-rolearn) + */ + override fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * Stores the original, raw documents or the structured, parsed documents before and after + * altering them. + * + * For more information, see [Data contracts for Lambda + * functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html#cfn-qbusiness-datasource-hookconfiguration-s3bucketname) + */ + override fun s3BucketName(): String? = unwrap(this).getS3BucketName() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): HookConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty): + HookConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + HookConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: HookConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.HookConfigurationProperty + } + } + + /** + * Provides the configuration information for applying basic logic to alter document metadata and + * content when ingesting documents into Amazon Q Business. + * + * To apply advanced logic, to go beyond what you can do with basic logic, see + * [`HookConfiguration`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_HookConfiguration.html) + * . + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * InlineDocumentEnrichmentConfigurationProperty inlineDocumentEnrichmentConfigurationProperty = + * InlineDocumentEnrichmentConfigurationProperty.builder() + * .condition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .documentContentOperator("documentContentOperator") + * .target(DocumentAttributeTargetProperty.builder() + * .key("key") + * // the properties below are optional + * .attributeValueOperator("attributeValueOperator") + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html) + */ + public interface InlineDocumentEnrichmentConfigurationProperty { + /** + * Configuration of the condition used for the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html#cfn-qbusiness-datasource-inlinedocumentenrichmentconfiguration-condition) + */ + public fun condition(): Any? = unwrap(this).getCondition() + + /** + * `TRUE` to delete content if the condition used for the target attribute is met. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html#cfn-qbusiness-datasource-inlinedocumentenrichmentconfiguration-documentcontentoperator) + */ + public fun documentContentOperator(): String? = unwrap(this).getDocumentContentOperator() + + /** + * Configuration of the target document attribute or metadata field when ingesting documents + * into Amazon Q Business . + * + * You can also include a value. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html#cfn-qbusiness-datasource-inlinedocumentenrichmentconfiguration-target) + */ + public fun target(): Any? = unwrap(this).getTarget() + + /** + * A builder for [InlineDocumentEnrichmentConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param condition Configuration of the condition used for the target document attribute or + * metadata field when ingesting documents into Amazon Q Business . + */ + public fun condition(condition: IResolvable) + + /** + * @param condition Configuration of the condition used for the target document attribute or + * metadata field when ingesting documents into Amazon Q Business . + */ + public fun condition(condition: DocumentAttributeConditionProperty) + + /** + * @param condition Configuration of the condition used for the target document attribute or + * metadata field when ingesting documents into Amazon Q Business . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fa343d7cbca951d98ebc09f394b82206dd7128d4a32fcb6fc6f18b648c451c92") + public fun condition(condition: DocumentAttributeConditionProperty.Builder.() -> Unit) + + /** + * @param documentContentOperator `TRUE` to delete content if the condition used for the + * target attribute is met. + */ + public fun documentContentOperator(documentContentOperator: String) + + /** + * @param target Configuration of the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * You can also include a value. + */ + public fun target(target: IResolvable) + + /** + * @param target Configuration of the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * You can also include a value. + */ + public fun target(target: DocumentAttributeTargetProperty) + + /** + * @param target Configuration of the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * You can also include a value. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ec6385c66ca952ec4cd1243ee350ad39a00db92cddf41fa77d24371dd43ce4dd") + public fun target(target: DocumentAttributeTargetProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty.builder() + + /** + * @param condition Configuration of the condition used for the target document attribute or + * metadata field when ingesting documents into Amazon Q Business . + */ + override fun condition(condition: IResolvable) { + cdkBuilder.condition(condition.let(IResolvable.Companion::unwrap)) + } + + /** + * @param condition Configuration of the condition used for the target document attribute or + * metadata field when ingesting documents into Amazon Q Business . + */ + override fun condition(condition: DocumentAttributeConditionProperty) { + cdkBuilder.condition(condition.let(DocumentAttributeConditionProperty.Companion::unwrap)) + } + + /** + * @param condition Configuration of the condition used for the target document attribute or + * metadata field when ingesting documents into Amazon Q Business . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fa343d7cbca951d98ebc09f394b82206dd7128d4a32fcb6fc6f18b648c451c92") + override fun condition(condition: DocumentAttributeConditionProperty.Builder.() -> Unit): Unit + = condition(DocumentAttributeConditionProperty(condition)) + + /** + * @param documentContentOperator `TRUE` to delete content if the condition used for the + * target attribute is met. + */ + override fun documentContentOperator(documentContentOperator: String) { + cdkBuilder.documentContentOperator(documentContentOperator) + } + + /** + * @param target Configuration of the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * You can also include a value. + */ + override fun target(target: IResolvable) { + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) + } + + /** + * @param target Configuration of the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * You can also include a value. + */ + override fun target(target: DocumentAttributeTargetProperty) { + cdkBuilder.target(target.let(DocumentAttributeTargetProperty.Companion::unwrap)) + } + + /** + * @param target Configuration of the target document attribute or metadata field when + * ingesting documents into Amazon Q Business . + * You can also include a value. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ec6385c66ca952ec4cd1243ee350ad39a00db92cddf41fa77d24371dd43ce4dd") + override fun target(target: DocumentAttributeTargetProperty.Builder.() -> Unit): Unit = + target(DocumentAttributeTargetProperty(target)) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty, + ) : CdkObject(cdkObject), InlineDocumentEnrichmentConfigurationProperty { + /** + * Configuration of the condition used for the target document attribute or metadata field + * when ingesting documents into Amazon Q Business . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html#cfn-qbusiness-datasource-inlinedocumentenrichmentconfiguration-condition) + */ + override fun condition(): Any? = unwrap(this).getCondition() + + /** + * `TRUE` to delete content if the condition used for the target attribute is met. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html#cfn-qbusiness-datasource-inlinedocumentenrichmentconfiguration-documentcontentoperator) + */ + override fun documentContentOperator(): String? = unwrap(this).getDocumentContentOperator() + + /** + * Configuration of the target document attribute or metadata field when ingesting documents + * into Amazon Q Business . + * + * You can also include a value. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html#cfn-qbusiness-datasource-inlinedocumentenrichmentconfiguration-target) + */ + override fun target(): Any? = unwrap(this).getTarget() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + InlineDocumentEnrichmentConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty): + InlineDocumentEnrichmentConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + InlineDocumentEnrichmentConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: InlineDocumentEnrichmentConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnDataSource.InlineDocumentEnrichmentConfigurationProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnDataSourceProps.kt new file mode 100644 index 0000000000..f6b289e42f --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnDataSourceProps.kt @@ -0,0 +1,596 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnDataSource`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * Object configuration; + * CfnDataSourceProps cfnDataSourceProps = CfnDataSourceProps.builder() + * .applicationId("applicationId") + * .configuration(configuration) + * .displayName("displayName") + * .indexId("indexId") + * // the properties below are optional + * .description("description") + * .documentEnrichmentConfiguration(DocumentEnrichmentConfigurationProperty.builder() + * .inlineConfigurations(List.of(InlineDocumentEnrichmentConfigurationProperty.builder() + * .condition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .documentContentOperator("documentContentOperator") + * .target(DocumentAttributeTargetProperty.builder() + * .key("key") + * // the properties below are optional + * .attributeValueOperator("attributeValueOperator") + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .build())) + * .postExtractionHookConfiguration(HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build()) + * .preExtractionHookConfiguration(HookConfigurationProperty.builder() + * .invocationCondition(DocumentAttributeConditionProperty.builder() + * .key("key") + * .operator("operator") + * // the properties below are optional + * .value(DocumentAttributeValueProperty.builder() + * .dateValue("dateValue") + * .longValue(123) + * .stringListValue(List.of("stringListValue")) + * .stringValue("stringValue") + * .build()) + * .build()) + * .lambdaArn("lambdaArn") + * .roleArn("roleArn") + * .s3BucketName("s3BucketName") + * .build()) + * .build()) + * .roleArn("roleArn") + * .syncSchedule("syncSchedule") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .vpcConfiguration(DataSourceVpcConfigurationProperty.builder() + * .securityGroupIds(List.of("securityGroupIds")) + * .subnetIds(List.of("subnetIds")) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html) + */ +public interface CfnDataSourceProps { + /** + * The identifier of the Amazon Q Business application the data source will be attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-applicationid) + */ + public fun applicationId(): String + + /** + * Configuration information to connect to your data source repository. + * + * For configuration templates for your specific data source, see [Supported + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-configuration) + */ + public fun configuration(): Any + + /** + * A description for the data source connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-description) + */ + public fun description(): String? = unwrap(this).getDescription() + + /** + * The name of the Amazon Q Business data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-displayname) + */ + public fun displayName(): String + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + */ + public fun documentEnrichmentConfiguration(): Any? = + unwrap(this).getDocumentEnrichmentConfiguration() + + /** + * The identifier of the index the data source is attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-indexid) + */ + public fun indexId(): String + + /** + * The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and + * required resources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-rolearn) + */ + public fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * Sets the frequency for Amazon Q Business to check the documents in your data source repository + * and update your index. + * + * If you don't set a schedule, Amazon Q Business won't periodically update the index. + * + * Specify a `cron-` format schedule string or an empty string to indicate that the index is + * updated on demand. You can't specify the `Schedule` parameter when the `Type` parameter is set to + * `CUSTOM` . If you do, you receive a `ValidationException` exception. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-syncschedule) + */ + public fun syncSchedule(): String? = unwrap(this).getSyncSchedule() + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and values + * can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / + * = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + */ + public fun vpcConfiguration(): Any? = unwrap(this).getVpcConfiguration() + + /** + * A builder for [CfnDataSourceProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param applicationId The identifier of the Amazon Q Business application the data source will + * be attached to. + */ + public fun applicationId(applicationId: String) + + /** + * @param configuration Configuration information to connect to your data source repository. + * For configuration templates for your specific data source, see [Supported + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) . + */ + public fun configuration(configuration: Any) + + /** + * @param description A description for the data source connector. + */ + public fun description(description: String) + + /** + * @param displayName The name of the Amazon Q Business data source. + */ + public fun displayName(displayName: String) + + /** + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + */ + public fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: IResolvable) + + /** + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + */ + public + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: CfnDataSource.DocumentEnrichmentConfigurationProperty) + + /** + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("3c5541a14db9a3008c2683e26d3627fb9ffcadd30de9b5b3c5b78824fa815839") + public + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: CfnDataSource.DocumentEnrichmentConfigurationProperty.Builder.() -> Unit) + + /** + * @param indexId The identifier of the index the data source is attached to. + */ + public fun indexId(indexId: String) + + /** + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permission to access the + * data source and required resources. + */ + public fun roleArn(roleArn: String) + + /** + * @param syncSchedule Sets the frequency for Amazon Q Business to check the documents in your + * data source repository and update your index. + * If you don't set a schedule, Amazon Q Business won't periodically update the index. + * + * Specify a `cron-` format schedule string or an empty string to indicate that the index is + * updated on demand. You can't specify the `Schedule` parameter when the `Type` parameter is set + * to `CUSTOM` . If you do, you receive a `ValidationException` exception. + */ + public fun syncSchedule(syncSchedule: String) + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + public fun tags(tags: List) + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + */ + public fun vpcConfiguration(vpcConfiguration: IResolvable) + + /** + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + */ + public fun vpcConfiguration(vpcConfiguration: CfnDataSource.DataSourceVpcConfigurationProperty) + + /** + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f9ba23994f5e2719357cd44b65919097b0f3cd22446351aab04f7e7cdf372750") + public + fun vpcConfiguration(vpcConfiguration: CfnDataSource.DataSourceVpcConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnDataSourceProps.Builder = + software.amazon.awscdk.services.qbusiness.CfnDataSourceProps.builder() + + /** + * @param applicationId The identifier of the Amazon Q Business application the data source will + * be attached to. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * @param configuration Configuration information to connect to your data source repository. + * For configuration templates for your specific data source, see [Supported + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) . + */ + override fun configuration(configuration: Any) { + cdkBuilder.configuration(configuration) + } + + /** + * @param description A description for the data source connector. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * @param displayName The name of the Amazon Q Business data source. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + */ + override fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: IResolvable) { + cdkBuilder.documentEnrichmentConfiguration(documentEnrichmentConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + */ + override + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: CfnDataSource.DocumentEnrichmentConfigurationProperty) { + cdkBuilder.documentEnrichmentConfiguration(documentEnrichmentConfiguration.let(CfnDataSource.DocumentEnrichmentConfigurationProperty.Companion::unwrap)) + } + + /** + * @param documentEnrichmentConfiguration Provides the configuration information for altering + * document metadata and content during the document ingestion process. + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("3c5541a14db9a3008c2683e26d3627fb9ffcadd30de9b5b3c5b78824fa815839") + override + fun documentEnrichmentConfiguration(documentEnrichmentConfiguration: CfnDataSource.DocumentEnrichmentConfigurationProperty.Builder.() -> Unit): + Unit = + documentEnrichmentConfiguration(CfnDataSource.DocumentEnrichmentConfigurationProperty(documentEnrichmentConfiguration)) + + /** + * @param indexId The identifier of the index the data source is attached to. + */ + override fun indexId(indexId: String) { + cdkBuilder.indexId(indexId) + } + + /** + * @param roleArn The Amazon Resource Name (ARN) of an IAM role with permission to access the + * data source and required resources. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param syncSchedule Sets the frequency for Amazon Q Business to check the documents in your + * data source repository and update your index. + * If you don't set a schedule, Amazon Q Business won't periodically update the index. + * + * Specify a `cron-` format schedule string or an empty string to indicate that the index is + * updated on demand. You can't specify the `Schedule` parameter when the `Type` parameter is set + * to `CUSTOM` . If you do, you receive a `ValidationException` exception. + */ + override fun syncSchedule(syncSchedule: String) { + cdkBuilder.syncSchedule(syncSchedule) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + */ + override fun vpcConfiguration(vpcConfiguration: IResolvable) { + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + */ + override + fun vpcConfiguration(vpcConfiguration: CfnDataSource.DataSourceVpcConfigurationProperty) { + cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnDataSource.DataSourceVpcConfigurationProperty.Companion::unwrap)) + } + + /** + * @param vpcConfiguration Configuration information for an Amazon VPC (Virtual Private Cloud) + * to connect to your data source. + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f9ba23994f5e2719357cd44b65919097b0f3cd22446351aab04f7e7cdf372750") + override + fun vpcConfiguration(vpcConfiguration: CfnDataSource.DataSourceVpcConfigurationProperty.Builder.() -> Unit): + Unit = vpcConfiguration(CfnDataSource.DataSourceVpcConfigurationProperty(vpcConfiguration)) + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnDataSourceProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSourceProps, + ) : CdkObject(cdkObject), CfnDataSourceProps { + /** + * The identifier of the Amazon Q Business application the data source will be attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-applicationid) + */ + override fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * Configuration information to connect to your data source repository. + * + * For configuration templates for your specific data source, see [Supported + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-configuration) + */ + override fun configuration(): Any = unwrap(this).getConfiguration() + + /** + * A description for the data source connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-description) + */ + override fun description(): String? = unwrap(this).getDescription() + + /** + * The name of the Amazon Q Business data source. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-displayname) + */ + override fun displayName(): String = unwrap(this).getDisplayName() + + /** + * Provides the configuration information for altering document metadata and content during the + * document ingestion process. + * + * For more information, see [Custom document + * enrichment](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html) + * . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-documentenrichmentconfiguration) + */ + override fun documentEnrichmentConfiguration(): Any? = + unwrap(this).getDocumentEnrichmentConfiguration() + + /** + * The identifier of the index the data source is attached to. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-indexid) + */ + override fun indexId(): String = unwrap(this).getIndexId() + + /** + * The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and + * required resources. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-rolearn) + */ + override fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * Sets the frequency for Amazon Q Business to check the documents in your data source + * repository and update your index. + * + * If you don't set a schedule, Amazon Q Business won't periodically update the index. + * + * Specify a `cron-` format schedule string or an empty string to indicate that the index is + * updated on demand. You can't specify the `Schedule` parameter when the `Type` parameter is set + * to `CUSTOM` . If you do, you receive a `ValidationException` exception. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-syncschedule) + */ + override fun syncSchedule(): String? = unwrap(this).getSyncSchedule() + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data + * source. + * + * For more information, see [Using Amazon VPC with Amazon Q Business + * connectors](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#cfn-qbusiness-datasource-vpcconfiguration) + */ + override fun vpcConfiguration(): Any? = unwrap(this).getVpcConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnDataSourceProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnDataSourceProps): + CfnDataSourceProps = CdkObjectWrappers.wrap(cdkObject) as? CfnDataSourceProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnDataSourceProps): + software.amazon.awscdk.services.qbusiness.CfnDataSourceProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.qbusiness.CfnDataSourceProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnIndex.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnIndex.kt new file mode 100644 index 0000000000..cce3f3e7e7 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnIndex.kt @@ -0,0 +1,1024 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.Number +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates an Amazon Q Business index. + * + * To determine if index creation has completed, check the `Status` field returned from a call to + * `DescribeIndex` . The `Status` field is set to `ACTIVE` when the index is ready to use. + * + * Once the index is active, you can index your documents using the + * [`BatchPutDocument`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_BatchPutDocument.html) + * API or the + * [`CreateDataSource`](https://docs.aws.amazon.com/amazonq/latest/api-reference/API_CreateDataSource.html) + * API. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnIndex cfnIndex = CfnIndex.Builder.create(this, "MyCfnIndex") + * .applicationId("applicationId") + * .displayName("displayName") + * // the properties below are optional + * .capacityConfiguration(IndexCapacityConfigurationProperty.builder() + * .units(123) + * .build()) + * .description("description") + * .documentAttributeConfigurations(List.of(DocumentAttributeConfigurationProperty.builder() + * .name("name") + * .search("search") + * .type("type") + * .build())) + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html) + */ +public open class CfnIndex( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnIndexProps, + ) : + this(software.amazon.awscdk.services.qbusiness.CfnIndex(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIndexProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnIndexProps.Builder.() -> Unit, + ) : this(scope, id, CfnIndexProps(props) + ) + + /** + * The identifier of the Amazon Q Business application using the index. + */ + public open fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The identifier of the Amazon Q Business application using the index. + */ + public open fun applicationId(`value`: String) { + unwrap(this).setApplicationId(`value`) + } + + /** + * The Unix timestamp when the index was created. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * The Amazon Resource Name (ARN) of an Amazon Q Business index. + */ + public open fun attrIndexArn(): String = unwrap(this).getAttrIndexArn() + + /** + * The identifier for the index. + */ + public open fun attrIndexId(): String = unwrap(this).getAttrIndexId() + + /** + * + */ + public open fun attrIndexStatistics(): IResolvable = + unwrap(this).getAttrIndexStatistics().let(IResolvable::wrap) + + /** + * The current status of the index. + * + * When the status is `ACTIVE` , the index is ready. + */ + public open fun attrStatus(): String = unwrap(this).getAttrStatus() + + /** + * The Unix timestamp when the index was last updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * The capacity units you want to provision for your index. + */ + public open fun capacityConfiguration(): Any? = unwrap(this).getCapacityConfiguration() + + /** + * The capacity units you want to provision for your index. + */ + public open fun capacityConfiguration(`value`: IResolvable) { + unwrap(this).setCapacityConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * The capacity units you want to provision for your index. + */ + public open fun capacityConfiguration(`value`: IndexCapacityConfigurationProperty) { + unwrap(this).setCapacityConfiguration(`value`.let(IndexCapacityConfigurationProperty.Companion::unwrap)) + } + + /** + * The capacity units you want to provision for your index. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b27a759c298f46d9ae7743002f29ac64b767f79f34161d9278c19c51fcdf94f1") + public open + fun capacityConfiguration(`value`: IndexCapacityConfigurationProperty.Builder.() -> Unit): + Unit = capacityConfiguration(IndexCapacityConfigurationProperty(`value`)) + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * A description for the Amazon Q Business index. + */ + public open fun description(): String? = unwrap(this).getDescription() + + /** + * A description for the Amazon Q Business index. + */ + public open fun description(`value`: String) { + unwrap(this).setDescription(`value`) + } + + /** + * The name of the index. + */ + public open fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The name of the index. + */ + public open fun displayName(`value`: String) { + unwrap(this).setDisplayName(`value`) + } + + /** + * Configuration information for document attributes. + */ + public open fun documentAttributeConfigurations(): Any? = + unwrap(this).getDocumentAttributeConfigurations() + + /** + * Configuration information for document attributes. + */ + public open fun documentAttributeConfigurations(`value`: IResolvable) { + unwrap(this).setDocumentAttributeConfigurations(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information for document attributes. + */ + public open fun documentAttributeConfigurations(`value`: List) { + unwrap(this).setDocumentAttributeConfigurations(`value`.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * Configuration information for document attributes. + */ + public open fun documentAttributeConfigurations(vararg `value`: Any): Unit = + documentAttributeConfigurations(`value`.toList()) + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the index. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of key-value pairs that identify or categorize the index. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the index. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * The index type that's suitable for your needs. + */ + public open fun type(): String? = unwrap(this).getType() + + /** + * The index type that's suitable for your needs. + */ + public open fun type(`value`: String) { + unwrap(this).setType(`value`) + } + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.qbusiness.CfnIndex]. + */ + @CdkDslMarker + public interface Builder { + /** + * The identifier of the Amazon Q Business application using the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-applicationid) + * @param applicationId The identifier of the Amazon Q Business application using the index. + */ + public fun applicationId(applicationId: String) + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + * @param capacityConfiguration The capacity units you want to provision for your index. + */ + public fun capacityConfiguration(capacityConfiguration: IResolvable) + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + * @param capacityConfiguration The capacity units you want to provision for your index. + */ + public fun capacityConfiguration(capacityConfiguration: IndexCapacityConfigurationProperty) + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + * @param capacityConfiguration The capacity units you want to provision for your index. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ef6b56b84bfa17af96ed62ff2335e1e90376e7f217422b84528b6b122a363a65") + public + fun capacityConfiguration(capacityConfiguration: IndexCapacityConfigurationProperty.Builder.() -> Unit) + + /** + * A description for the Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-description) + * @param description A description for the Amazon Q Business index. + */ + public fun description(description: String) + + /** + * The name of the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-displayname) + * @param displayName The name of the index. + */ + public fun displayName(displayName: String) + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + * @param documentAttributeConfigurations Configuration information for document attributes. + */ + public fun documentAttributeConfigurations(documentAttributeConfigurations: IResolvable) + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + * @param documentAttributeConfigurations Configuration information for document attributes. + */ + public fun documentAttributeConfigurations(documentAttributeConfigurations: List) + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + * @param documentAttributeConfigurations Configuration information for document attributes. + */ + public fun documentAttributeConfigurations(vararg documentAttributeConfigurations: Any) + + /** + * A list of key-value pairs that identify or categorize the index. + * + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-tags) + * @param tags A list of key-value pairs that identify or categorize the index. + */ + public fun tags(tags: List) + + /** + * A list of key-value pairs that identify or categorize the index. + * + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-tags) + * @param tags A list of key-value pairs that identify or categorize the index. + */ + public fun tags(vararg tags: CfnTag) + + /** + * The index type that's suitable for your needs. + * + * For more information on what's included in each type of index, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-type) + * @param type The index type that's suitable for your needs. + */ + public fun type(type: String) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnIndex.Builder = + software.amazon.awscdk.services.qbusiness.CfnIndex.Builder.create(scope, id) + + /** + * The identifier of the Amazon Q Business application using the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-applicationid) + * @param applicationId The identifier of the Amazon Q Business application using the index. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + * @param capacityConfiguration The capacity units you want to provision for your index. + */ + override fun capacityConfiguration(capacityConfiguration: IResolvable) { + cdkBuilder.capacityConfiguration(capacityConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + * @param capacityConfiguration The capacity units you want to provision for your index. + */ + override fun capacityConfiguration(capacityConfiguration: IndexCapacityConfigurationProperty) { + cdkBuilder.capacityConfiguration(capacityConfiguration.let(IndexCapacityConfigurationProperty.Companion::unwrap)) + } + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + * @param capacityConfiguration The capacity units you want to provision for your index. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ef6b56b84bfa17af96ed62ff2335e1e90376e7f217422b84528b6b122a363a65") + override + fun capacityConfiguration(capacityConfiguration: IndexCapacityConfigurationProperty.Builder.() -> Unit): + Unit = capacityConfiguration(IndexCapacityConfigurationProperty(capacityConfiguration)) + + /** + * A description for the Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-description) + * @param description A description for the Amazon Q Business index. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * The name of the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-displayname) + * @param displayName The name of the index. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + * @param documentAttributeConfigurations Configuration information for document attributes. + */ + override fun documentAttributeConfigurations(documentAttributeConfigurations: IResolvable) { + cdkBuilder.documentAttributeConfigurations(documentAttributeConfigurations.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + * @param documentAttributeConfigurations Configuration information for document attributes. + */ + override fun documentAttributeConfigurations(documentAttributeConfigurations: List) { + cdkBuilder.documentAttributeConfigurations(documentAttributeConfigurations.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + * @param documentAttributeConfigurations Configuration information for document attributes. + */ + override fun documentAttributeConfigurations(vararg documentAttributeConfigurations: Any): Unit + = documentAttributeConfigurations(documentAttributeConfigurations.toList()) + + /** + * A list of key-value pairs that identify or categorize the index. + * + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-tags) + * @param tags A list of key-value pairs that identify or categorize the index. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the index. + * + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-tags) + * @param tags A list of key-value pairs that identify or categorize the index. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * The index type that's suitable for your needs. + * + * For more information on what's included in each type of index, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-type) + * @param type The index type that's suitable for your needs. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnIndex = cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.qbusiness.CfnIndex.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnIndex { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnIndex(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex): CfnIndex = + CfnIndex(cdkObject) + + internal fun unwrap(wrapped: CfnIndex): software.amazon.awscdk.services.qbusiness.CfnIndex = + wrapped.cdkObject as software.amazon.awscdk.services.qbusiness.CfnIndex + } + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * DocumentAttributeConfigurationProperty documentAttributeConfigurationProperty = + * DocumentAttributeConfigurationProperty.builder() + * .name("name") + * .search("search") + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html) + */ + public interface DocumentAttributeConfigurationProperty { + /** + * The name of the document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html#cfn-qbusiness-index-documentattributeconfiguration-name) + */ + public fun name(): String? = unwrap(this).getName() + + /** + * Information about whether the document attribute can be used by an end user to search for + * information on their web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html#cfn-qbusiness-index-documentattributeconfiguration-search) + */ + public fun search(): String? = unwrap(this).getSearch() + + /** + * The type of document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html#cfn-qbusiness-index-documentattributeconfiguration-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DocumentAttributeConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param name The name of the document attribute. + */ + public fun name(name: String) + + /** + * @param search Information about whether the document attribute can be used by an end user + * to search for information on their web experience. + */ + public fun search(search: String) + + /** + * @param type The type of document attribute. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty.builder() + + /** + * @param name The name of the document attribute. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param search Information about whether the document attribute can be used by an end user + * to search for information on their web experience. + */ + override fun search(search: String) { + cdkBuilder.search(search) + } + + /** + * @param type The type of document attribute. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty, + ) : CdkObject(cdkObject), DocumentAttributeConfigurationProperty { + /** + * The name of the document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html#cfn-qbusiness-index-documentattributeconfiguration-name) + */ + override fun name(): String? = unwrap(this).getName() + + /** + * Information about whether the document attribute can be used by an end user to search for + * information on their web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html#cfn-qbusiness-index-documentattributeconfiguration-search) + */ + override fun search(): String? = unwrap(this).getSearch() + + /** + * The type of document attribute. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-documentattributeconfiguration.html#cfn-qbusiness-index-documentattributeconfiguration-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DocumentAttributeConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty): + DocumentAttributeConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DocumentAttributeConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DocumentAttributeConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty + } + } + + /** + * Provides information about index capacity configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * IndexCapacityConfigurationProperty indexCapacityConfigurationProperty = + * IndexCapacityConfigurationProperty.builder() + * .units(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-indexcapacityconfiguration.html) + */ + public interface IndexCapacityConfigurationProperty { + /** + * The number of storage units configured for an Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-indexcapacityconfiguration.html#cfn-qbusiness-index-indexcapacityconfiguration-units) + */ + public fun units(): Number? = unwrap(this).getUnits() + + /** + * A builder for [IndexCapacityConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param units The number of storage units configured for an Amazon Q Business index. + */ + public fun units(units: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty.builder() + + /** + * @param units The number of storage units configured for an Amazon Q Business index. + */ + override fun units(units: Number) { + cdkBuilder.units(units) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty, + ) : CdkObject(cdkObject), IndexCapacityConfigurationProperty { + /** + * The number of storage units configured for an Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-indexcapacityconfiguration.html#cfn-qbusiness-index-indexcapacityconfiguration-units) + */ + override fun units(): Number? = unwrap(this).getUnits() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + IndexCapacityConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty): + IndexCapacityConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + IndexCapacityConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: IndexCapacityConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexCapacityConfigurationProperty + } + } + + /** + * Provides information about the number of documents in an index. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * IndexStatisticsProperty indexStatisticsProperty = IndexStatisticsProperty.builder() + * .textDocumentStatistics(TextDocumentStatisticsProperty.builder() + * .indexedTextBytes(123) + * .indexedTextDocumentCount(123) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-indexstatistics.html) + */ + public interface IndexStatisticsProperty { + /** + * The number of documents indexed. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-indexstatistics.html#cfn-qbusiness-index-indexstatistics-textdocumentstatistics) + */ + public fun textDocumentStatistics(): Any? = unwrap(this).getTextDocumentStatistics() + + /** + * A builder for [IndexStatisticsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param textDocumentStatistics The number of documents indexed. + */ + public fun textDocumentStatistics(textDocumentStatistics: IResolvable) + + /** + * @param textDocumentStatistics The number of documents indexed. + */ + public fun textDocumentStatistics(textDocumentStatistics: TextDocumentStatisticsProperty) + + /** + * @param textDocumentStatistics The number of documents indexed. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b7e051ee7131e381f77b4eb9168e0908863398d0db51bbc29f67929b6ac47abe") + public + fun textDocumentStatistics(textDocumentStatistics: TextDocumentStatisticsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty.Builder = + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty.builder() + + /** + * @param textDocumentStatistics The number of documents indexed. + */ + override fun textDocumentStatistics(textDocumentStatistics: IResolvable) { + cdkBuilder.textDocumentStatistics(textDocumentStatistics.let(IResolvable.Companion::unwrap)) + } + + /** + * @param textDocumentStatistics The number of documents indexed. + */ + override fun textDocumentStatistics(textDocumentStatistics: TextDocumentStatisticsProperty) { + cdkBuilder.textDocumentStatistics(textDocumentStatistics.let(TextDocumentStatisticsProperty.Companion::unwrap)) + } + + /** + * @param textDocumentStatistics The number of documents indexed. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b7e051ee7131e381f77b4eb9168e0908863398d0db51bbc29f67929b6ac47abe") + override + fun textDocumentStatistics(textDocumentStatistics: TextDocumentStatisticsProperty.Builder.() -> Unit): + Unit = textDocumentStatistics(TextDocumentStatisticsProperty(textDocumentStatistics)) + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty, + ) : CdkObject(cdkObject), IndexStatisticsProperty { + /** + * The number of documents indexed. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-indexstatistics.html#cfn-qbusiness-index-indexstatistics-textdocumentstatistics) + */ + override fun textDocumentStatistics(): Any? = unwrap(this).getTextDocumentStatistics() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): IndexStatisticsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty): + IndexStatisticsProperty = CdkObjectWrappers.wrap(cdkObject) as? IndexStatisticsProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: IndexStatisticsProperty): + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnIndex.IndexStatisticsProperty + } + } + + /** + * Provides information about text documents in an index. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * TextDocumentStatisticsProperty textDocumentStatisticsProperty = + * TextDocumentStatisticsProperty.builder() + * .indexedTextBytes(123) + * .indexedTextDocumentCount(123) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-textdocumentstatistics.html) + */ + public interface TextDocumentStatisticsProperty { + /** + * The total size, in bytes, of the indexed documents. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-textdocumentstatistics.html#cfn-qbusiness-index-textdocumentstatistics-indexedtextbytes) + */ + public fun indexedTextBytes(): Number? = unwrap(this).getIndexedTextBytes() + + /** + * The number of text documents indexed. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-textdocumentstatistics.html#cfn-qbusiness-index-textdocumentstatistics-indexedtextdocumentcount) + */ + public fun indexedTextDocumentCount(): Number? = unwrap(this).getIndexedTextDocumentCount() + + /** + * A builder for [TextDocumentStatisticsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param indexedTextBytes The total size, in bytes, of the indexed documents. + */ + public fun indexedTextBytes(indexedTextBytes: Number) + + /** + * @param indexedTextDocumentCount The number of text documents indexed. + */ + public fun indexedTextDocumentCount(indexedTextDocumentCount: Number) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty.builder() + + /** + * @param indexedTextBytes The total size, in bytes, of the indexed documents. + */ + override fun indexedTextBytes(indexedTextBytes: Number) { + cdkBuilder.indexedTextBytes(indexedTextBytes) + } + + /** + * @param indexedTextDocumentCount The number of text documents indexed. + */ + override fun indexedTextDocumentCount(indexedTextDocumentCount: Number) { + cdkBuilder.indexedTextDocumentCount(indexedTextDocumentCount) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty, + ) : CdkObject(cdkObject), TextDocumentStatisticsProperty { + /** + * The total size, in bytes, of the indexed documents. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-textdocumentstatistics.html#cfn-qbusiness-index-textdocumentstatistics-indexedtextbytes) + */ + override fun indexedTextBytes(): Number? = unwrap(this).getIndexedTextBytes() + + /** + * The number of text documents indexed. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-index-textdocumentstatistics.html#cfn-qbusiness-index-textdocumentstatistics-indexedtextdocumentcount) + */ + override fun indexedTextDocumentCount(): Number? = unwrap(this).getIndexedTextDocumentCount() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): TextDocumentStatisticsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty): + TextDocumentStatisticsProperty = CdkObjectWrappers.wrap(cdkObject) as? + TextDocumentStatisticsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: TextDocumentStatisticsProperty): + software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnIndex.TextDocumentStatisticsProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnIndexProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnIndexProps.kt new file mode 100644 index 0000000000..c9dda94930 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnIndexProps.kt @@ -0,0 +1,404 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnIndex`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnIndexProps cfnIndexProps = CfnIndexProps.builder() + * .applicationId("applicationId") + * .displayName("displayName") + * // the properties below are optional + * .capacityConfiguration(IndexCapacityConfigurationProperty.builder() + * .units(123) + * .build()) + * .description("description") + * .documentAttributeConfigurations(List.of(DocumentAttributeConfigurationProperty.builder() + * .name("name") + * .search("search") + * .type("type") + * .build())) + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html) + */ +public interface CfnIndexProps { + /** + * The identifier of the Amazon Q Business application using the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-applicationid) + */ + public fun applicationId(): String + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + */ + public fun capacityConfiguration(): Any? = unwrap(this).getCapacityConfiguration() + + /** + * A description for the Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-description) + */ + public fun description(): String? = unwrap(this).getDescription() + + /** + * The name of the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-displayname) + */ + public fun displayName(): String + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + */ + public fun documentAttributeConfigurations(): Any? = + unwrap(this).getDocumentAttributeConfigurations() + + /** + * A list of key-value pairs that identify or categorize the index. + * + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The index type that's suitable for your needs. + * + * For more information on what's included in each type of index, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [CfnIndexProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param applicationId The identifier of the Amazon Q Business application using the index. + */ + public fun applicationId(applicationId: String) + + /** + * @param capacityConfiguration The capacity units you want to provision for your index. + * You can add and remove capacity to fit your usage needs. + */ + public fun capacityConfiguration(capacityConfiguration: IResolvable) + + /** + * @param capacityConfiguration The capacity units you want to provision for your index. + * You can add and remove capacity to fit your usage needs. + */ + public + fun capacityConfiguration(capacityConfiguration: CfnIndex.IndexCapacityConfigurationProperty) + + /** + * @param capacityConfiguration The capacity units you want to provision for your index. + * You can add and remove capacity to fit your usage needs. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c5d63a10f8aa6dd854a390f405b1361fdb3323f83bfe5d6beb233b462b107efe") + public + fun capacityConfiguration(capacityConfiguration: CfnIndex.IndexCapacityConfigurationProperty.Builder.() -> Unit) + + /** + * @param description A description for the Amazon Q Business index. + */ + public fun description(description: String) + + /** + * @param displayName The name of the index. + */ + public fun displayName(displayName: String) + + /** + * @param documentAttributeConfigurations Configuration information for document attributes. + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + */ + public fun documentAttributeConfigurations(documentAttributeConfigurations: IResolvable) + + /** + * @param documentAttributeConfigurations Configuration information for document attributes. + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + */ + public fun documentAttributeConfigurations(documentAttributeConfigurations: List) + + /** + * @param documentAttributeConfigurations Configuration information for document attributes. + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + */ + public fun documentAttributeConfigurations(vararg documentAttributeConfigurations: Any) + + /** + * @param tags A list of key-value pairs that identify or categorize the index. + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(tags: List) + + /** + * @param tags A list of key-value pairs that identify or categorize the index. + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param type The index type that's suitable for your needs. + * For more information on what's included in each type of index, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) . + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnIndexProps.Builder = + software.amazon.awscdk.services.qbusiness.CfnIndexProps.builder() + + /** + * @param applicationId The identifier of the Amazon Q Business application using the index. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * @param capacityConfiguration The capacity units you want to provision for your index. + * You can add and remove capacity to fit your usage needs. + */ + override fun capacityConfiguration(capacityConfiguration: IResolvable) { + cdkBuilder.capacityConfiguration(capacityConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param capacityConfiguration The capacity units you want to provision for your index. + * You can add and remove capacity to fit your usage needs. + */ + override + fun capacityConfiguration(capacityConfiguration: CfnIndex.IndexCapacityConfigurationProperty) { + cdkBuilder.capacityConfiguration(capacityConfiguration.let(CfnIndex.IndexCapacityConfigurationProperty.Companion::unwrap)) + } + + /** + * @param capacityConfiguration The capacity units you want to provision for your index. + * You can add and remove capacity to fit your usage needs. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c5d63a10f8aa6dd854a390f405b1361fdb3323f83bfe5d6beb233b462b107efe") + override + fun capacityConfiguration(capacityConfiguration: CfnIndex.IndexCapacityConfigurationProperty.Builder.() -> Unit): + Unit = + capacityConfiguration(CfnIndex.IndexCapacityConfigurationProperty(capacityConfiguration)) + + /** + * @param description A description for the Amazon Q Business index. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + /** + * @param displayName The name of the index. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * @param documentAttributeConfigurations Configuration information for document attributes. + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + */ + override fun documentAttributeConfigurations(documentAttributeConfigurations: IResolvable) { + cdkBuilder.documentAttributeConfigurations(documentAttributeConfigurations.let(IResolvable.Companion::unwrap)) + } + + /** + * @param documentAttributeConfigurations Configuration information for document attributes. + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + */ + override fun documentAttributeConfigurations(documentAttributeConfigurations: List) { + cdkBuilder.documentAttributeConfigurations(documentAttributeConfigurations.map{CdkObjectWrappers.unwrap(it)}) + } + + /** + * @param documentAttributeConfigurations Configuration information for document attributes. + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + */ + override fun documentAttributeConfigurations(vararg documentAttributeConfigurations: Any): Unit + = documentAttributeConfigurations(documentAttributeConfigurations.toList()) + + /** + * @param tags A list of key-value pairs that identify or categorize the index. + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the index. + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param type The index type that's suitable for your needs. + * For more information on what's included in each type of index, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) . + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnIndexProps = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndexProps, + ) : CdkObject(cdkObject), CfnIndexProps { + /** + * The identifier of the Amazon Q Business application using the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-applicationid) + */ + override fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The capacity units you want to provision for your index. + * + * You can add and remove capacity to fit your usage needs. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-capacityconfiguration) + */ + override fun capacityConfiguration(): Any? = unwrap(this).getCapacityConfiguration() + + /** + * A description for the Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-description) + */ + override fun description(): String? = unwrap(this).getDescription() + + /** + * The name of the index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-displayname) + */ + override fun displayName(): String = unwrap(this).getDisplayName() + + /** + * Configuration information for document attributes. + * + * Document attributes are metadata or fields associated with your documents. For example, the + * company department name associated with each document. + * + * For more information, see [Understanding document + * attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-documentattributeconfigurations) + */ + override fun documentAttributeConfigurations(): Any? = + unwrap(this).getDocumentAttributeConfigurations() + + /** + * A list of key-value pairs that identify or categorize the index. + * + * You can also use tags to help control access to the index. Tag keys and values can consist of + * Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The index type that's suitable for your needs. + * + * For more information on what's included in each type of index, see [Amazon Q Business + * tiers](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/tiers.html#index-tiers) . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-index.html#cfn-qbusiness-index-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnIndexProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnIndexProps): + CfnIndexProps = CdkObjectWrappers.wrap(cdkObject) as? CfnIndexProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnIndexProps): + software.amazon.awscdk.services.qbusiness.CfnIndexProps = (wrapped as CdkObject).cdkObject + as software.amazon.awscdk.services.qbusiness.CfnIndexProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnPlugin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnPlugin.kt new file mode 100644 index 0000000000..b340d18cfd --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnPlugin.kt @@ -0,0 +1,1473 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Information about an Amazon Q Business plugin and its configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * Object noAuthConfiguration; + * CfnPlugin cfnPlugin = CfnPlugin.Builder.create(this, "MyCfnPlugin") + * .applicationId("applicationId") + * .authConfiguration(PluginAuthConfigurationProperty.builder() + * .basicAuthConfiguration(BasicAuthConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build()) + * .noAuthConfiguration(noAuthConfiguration) + * .oAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build()) + * .build()) + * .displayName("displayName") + * .type("type") + * // the properties below are optional + * .customPluginConfiguration(CustomPluginConfigurationProperty.builder() + * .apiSchema(APISchemaProperty.builder() + * .payload("payload") + * .s3(S3Property.builder() + * .bucket("bucket") + * .key("key") + * .build()) + * .build()) + * .apiSchemaType("apiSchemaType") + * .description("description") + * .build()) + * .serverUrl("serverUrl") + * .state("state") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html) + */ +public open class CfnPlugin( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnPluginProps, + ) : + this(software.amazon.awscdk.services.qbusiness.CfnPlugin(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPluginProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnPluginProps.Builder.() -> Unit, + ) : this(scope, id, CfnPluginProps(props) + ) + + /** + * The identifier of the application that will contain the plugin. + */ + public open fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The identifier of the application that will contain the plugin. + */ + public open fun applicationId(`value`: String) { + unwrap(this).setApplicationId(`value`) + } + + /** + * The current status of a plugin. + * + * A plugin is modified asynchronously. + */ + public open fun attrBuildStatus(): String = unwrap(this).getAttrBuildStatus() + + /** + * The timestamp for when the plugin was created. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * The Amazon Resource Name (ARN) of a plugin. + */ + public open fun attrPluginArn(): String = unwrap(this).getAttrPluginArn() + + /** + * The identifier of the plugin. + */ + public open fun attrPluginId(): String = unwrap(this).getAttrPluginId() + + /** + * The timestamp for when the plugin was last updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * Authentication configuration information for an Amazon Q Business plugin. + */ + public open fun authConfiguration(): Any = unwrap(this).getAuthConfiguration() + + /** + * Authentication configuration information for an Amazon Q Business plugin. + */ + public open fun authConfiguration(`value`: IResolvable) { + unwrap(this).setAuthConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Authentication configuration information for an Amazon Q Business plugin. + */ + public open fun authConfiguration(`value`: PluginAuthConfigurationProperty) { + unwrap(this).setAuthConfiguration(`value`.let(PluginAuthConfigurationProperty.Companion::unwrap)) + } + + /** + * Authentication configuration information for an Amazon Q Business plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fb6257db51ac4bfa3d3925debdd4a0956255852b02c5dd0ff8d05c6f2866bc1a") + public open fun authConfiguration(`value`: PluginAuthConfigurationProperty.Builder.() -> Unit): + Unit = authConfiguration(PluginAuthConfigurationProperty(`value`)) + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Configuration information required to create a custom plugin. + */ + public open fun customPluginConfiguration(): Any? = unwrap(this).getCustomPluginConfiguration() + + /** + * Configuration information required to create a custom plugin. + */ + public open fun customPluginConfiguration(`value`: IResolvable) { + unwrap(this).setCustomPluginConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information required to create a custom plugin. + */ + public open fun customPluginConfiguration(`value`: CustomPluginConfigurationProperty) { + unwrap(this).setCustomPluginConfiguration(`value`.let(CustomPluginConfigurationProperty.Companion::unwrap)) + } + + /** + * Configuration information required to create a custom plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("b1600aa54e915464dc73038099a01d160b70ec964f5f479e74336a6550e1ecfe") + public open + fun customPluginConfiguration(`value`: CustomPluginConfigurationProperty.Builder.() -> Unit): + Unit = customPluginConfiguration(CustomPluginConfigurationProperty(`value`)) + + /** + * The name of the plugin. + */ + public open fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The name of the plugin. + */ + public open fun displayName(`value`: String) { + unwrap(this).setDisplayName(`value`) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The plugin server URL used for configuration. + */ + public open fun serverUrl(): String? = unwrap(this).getServerUrl() + + /** + * The plugin server URL used for configuration. + */ + public open fun serverUrl(`value`: String) { + unwrap(this).setServerUrl(`value`) + } + + /** + * The current status of the plugin. + */ + public open fun state(): String? = unwrap(this).getState() + + /** + * The current status of the plugin. + */ + public open fun state(`value`: String) { + unwrap(this).setState(`value`) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of key-value pairs that identify or categorize the data source connector. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * The type of the plugin. + */ + public open fun type(): String = unwrap(this).getType() + + /** + * The type of the plugin. + */ + public open fun type(`value`: String) { + unwrap(this).setType(`value`) + } + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.qbusiness.CfnPlugin]. + */ + @CdkDslMarker + public interface Builder { + /** + * The identifier of the application that will contain the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-applicationid) + * @param applicationId The identifier of the application that will contain the plugin. + */ + public fun applicationId(applicationId: String) + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + public fun authConfiguration(authConfiguration: IResolvable) + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + public fun authConfiguration(authConfiguration: PluginAuthConfigurationProperty) + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f4ef85e5e13f470eb3b7919a33060cb7b1562ba604d768f80b11499ff3b9de45") + public + fun authConfiguration(authConfiguration: PluginAuthConfigurationProperty.Builder.() -> Unit) + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + public fun customPluginConfiguration(customPluginConfiguration: IResolvable) + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + public + fun customPluginConfiguration(customPluginConfiguration: CustomPluginConfigurationProperty) + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("72a31f8a7e22f0de887308587fbc5481902f65d53b9c93234ad64a3325d0a0c1") + public + fun customPluginConfiguration(customPluginConfiguration: CustomPluginConfigurationProperty.Builder.() -> Unit) + + /** + * The name of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-displayname) + * @param displayName The name of the plugin. + */ + public fun displayName(displayName: String) + + /** + * The plugin server URL used for configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-serverurl) + * @param serverUrl The plugin server URL used for configuration. + */ + public fun serverUrl(serverUrl: String) + + /** + * The current status of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-state) + * @param state The current status of the plugin. + */ + public fun state(state: String) + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + public fun tags(tags: List) + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + public fun tags(vararg tags: CfnTag) + + /** + * The type of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-type) + * @param type The type of the plugin. + */ + public fun type(type: String) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnPlugin.Builder = + software.amazon.awscdk.services.qbusiness.CfnPlugin.Builder.create(scope, id) + + /** + * The identifier of the application that will contain the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-applicationid) + * @param applicationId The identifier of the application that will contain the plugin. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + override fun authConfiguration(authConfiguration: IResolvable) { + cdkBuilder.authConfiguration(authConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + override fun authConfiguration(authConfiguration: PluginAuthConfigurationProperty) { + cdkBuilder.authConfiguration(authConfiguration.let(PluginAuthConfigurationProperty.Companion::unwrap)) + } + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f4ef85e5e13f470eb3b7919a33060cb7b1562ba604d768f80b11499ff3b9de45") + override + fun authConfiguration(authConfiguration: PluginAuthConfigurationProperty.Builder.() -> Unit): + Unit = authConfiguration(PluginAuthConfigurationProperty(authConfiguration)) + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + override fun customPluginConfiguration(customPluginConfiguration: IResolvable) { + cdkBuilder.customPluginConfiguration(customPluginConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + override + fun customPluginConfiguration(customPluginConfiguration: CustomPluginConfigurationProperty) { + cdkBuilder.customPluginConfiguration(customPluginConfiguration.let(CustomPluginConfigurationProperty.Companion::unwrap)) + } + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("72a31f8a7e22f0de887308587fbc5481902f65d53b9c93234ad64a3325d0a0c1") + override + fun customPluginConfiguration(customPluginConfiguration: CustomPluginConfigurationProperty.Builder.() -> Unit): + Unit = + customPluginConfiguration(CustomPluginConfigurationProperty(customPluginConfiguration)) + + /** + * The name of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-displayname) + * @param displayName The name of the plugin. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * The plugin server URL used for configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-serverurl) + * @param serverUrl The plugin server URL used for configuration. + */ + override fun serverUrl(serverUrl: String) { + cdkBuilder.serverUrl(serverUrl) + } + + /** + * The current status of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-state) + * @param state The current status of the plugin. + */ + override fun state(state: String) { + cdkBuilder.state(state) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-tags) + * @param tags A list of key-value pairs that identify or categorize the data source connector. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * The type of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-type) + * @param type The type of the plugin. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnPlugin = cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.qbusiness.CfnPlugin.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnPlugin { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnPlugin(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin): CfnPlugin = + CfnPlugin(cdkObject) + + internal fun unwrap(wrapped: CfnPlugin): software.amazon.awscdk.services.qbusiness.CfnPlugin = + wrapped.cdkObject as software.amazon.awscdk.services.qbusiness.CfnPlugin + } + + /** + * Contains details about the OpenAPI schema for a custom plugin. + * + * For more information, see [custom plugin OpenAPI + * schemas](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/custom-plugin.html#plugins-api-schema) + * . You can either include the schema directly in the payload field or you can upload it to an S3 + * bucket and specify the S3 bucket location in the `s3` field. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * APISchemaProperty aPISchemaProperty = APISchemaProperty.builder() + * .payload("payload") + * .s3(S3Property.builder() + * .bucket("bucket") + * .key("key") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-apischema.html) + */ + public interface APISchemaProperty { + /** + * The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-apischema.html#cfn-qbusiness-plugin-apischema-payload) + */ + public fun payload(): String? = unwrap(this).getPayload() + + /** + * Contains details about the S3 object containing the OpenAPI schema for a custom plugin. + * + * The schema could be in either JSON or YAML format. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-apischema.html#cfn-qbusiness-plugin-apischema-s3) + */ + public fun s3(): Any? = unwrap(this).getS3() + + /** + * A builder for [APISchemaProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param payload The JSON or YAML-formatted payload defining the OpenAPI schema for a custom + * plugin. + */ + public fun payload(payload: String) + + /** + * @param s3 Contains details about the S3 object containing the OpenAPI schema for a custom + * plugin. + * The schema could be in either JSON or YAML format. + */ + public fun s3(s3: IResolvable) + + /** + * @param s3 Contains details about the S3 object containing the OpenAPI schema for a custom + * plugin. + * The schema could be in either JSON or YAML format. + */ + public fun s3(s3: S3Property) + + /** + * @param s3 Contains details about the S3 object containing the OpenAPI schema for a custom + * plugin. + * The schema could be in either JSON or YAML format. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("851131d3515aea140ed4021da166c7136257c219bd5d1af5a20a4c265b2d7474") + public fun s3(s3: S3Property.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty.Builder = + software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty.builder() + + /** + * @param payload The JSON or YAML-formatted payload defining the OpenAPI schema for a custom + * plugin. + */ + override fun payload(payload: String) { + cdkBuilder.payload(payload) + } + + /** + * @param s3 Contains details about the S3 object containing the OpenAPI schema for a custom + * plugin. + * The schema could be in either JSON or YAML format. + */ + override fun s3(s3: IResolvable) { + cdkBuilder.s3(s3.let(IResolvable.Companion::unwrap)) + } + + /** + * @param s3 Contains details about the S3 object containing the OpenAPI schema for a custom + * plugin. + * The schema could be in either JSON or YAML format. + */ + override fun s3(s3: S3Property) { + cdkBuilder.s3(s3.let(S3Property.Companion::unwrap)) + } + + /** + * @param s3 Contains details about the S3 object containing the OpenAPI schema for a custom + * plugin. + * The schema could be in either JSON or YAML format. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("851131d3515aea140ed4021da166c7136257c219bd5d1af5a20a4c265b2d7474") + override fun s3(s3: S3Property.Builder.() -> Unit): Unit = s3(S3Property(s3)) + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty, + ) : CdkObject(cdkObject), APISchemaProperty { + /** + * The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-apischema.html#cfn-qbusiness-plugin-apischema-payload) + */ + override fun payload(): String? = unwrap(this).getPayload() + + /** + * Contains details about the S3 object containing the OpenAPI schema for a custom plugin. + * + * The schema could be in either JSON or YAML format. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-apischema.html#cfn-qbusiness-plugin-apischema-s3) + */ + override fun s3(): Any? = unwrap(this).getS3() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): APISchemaProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty): + APISchemaProperty = CdkObjectWrappers.wrap(cdkObject) as? APISchemaProperty ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: APISchemaProperty): + software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnPlugin.APISchemaProperty + } + } + + /** + * Information about the basic authentication credentials used to configure a plugin. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * BasicAuthConfigurationProperty basicAuthConfigurationProperty = + * BasicAuthConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-basicauthconfiguration.html) + */ + public interface BasicAuthConfigurationProperty { + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-basicauthconfiguration.html#cfn-qbusiness-plugin-basicauthconfiguration-rolearn) + */ + public fun roleArn(): String + + /** + * The ARN of the Secrets Manager secret that stores the basic authentication credentials used + * for plugin configuration.. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-basicauthconfiguration.html#cfn-qbusiness-plugin-basicauthconfiguration-secretarn) + */ + public fun secretArn(): String + + /** + * A builder for [BasicAuthConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the basic + * authentication credentials stored in a Secrets Manager secret. + */ + public fun roleArn(roleArn: String) + + /** + * @param secretArn The ARN of the Secrets Manager secret that stores the basic authentication + * credentials used for plugin configuration.. + */ + public fun secretArn(secretArn: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty.builder() + + /** + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the basic + * authentication credentials stored in a Secrets Manager secret. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param secretArn The ARN of the Secrets Manager secret that stores the basic authentication + * credentials used for plugin configuration.. + */ + override fun secretArn(secretArn: String) { + cdkBuilder.secretArn(secretArn) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty, + ) : CdkObject(cdkObject), BasicAuthConfigurationProperty { + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-basicauthconfiguration.html#cfn-qbusiness-plugin-basicauthconfiguration-rolearn) + */ + override fun roleArn(): String = unwrap(this).getRoleArn() + + /** + * The ARN of the Secrets Manager secret that stores the basic authentication credentials used + * for plugin configuration.. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-basicauthconfiguration.html#cfn-qbusiness-plugin-basicauthconfiguration-secretarn) + */ + override fun secretArn(): String = unwrap(this).getSecretArn() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): BasicAuthConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty): + BasicAuthConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + BasicAuthConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: BasicAuthConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnPlugin.BasicAuthConfigurationProperty + } + } + + /** + * Configuration information required to create a custom plugin. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CustomPluginConfigurationProperty customPluginConfigurationProperty = + * CustomPluginConfigurationProperty.builder() + * .apiSchema(APISchemaProperty.builder() + * .payload("payload") + * .s3(S3Property.builder() + * .bucket("bucket") + * .key("key") + * .build()) + * .build()) + * .apiSchemaType("apiSchemaType") + * .description("description") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html) + */ + public interface CustomPluginConfigurationProperty { + /** + * Contains either details about the S3 object containing the OpenAPI schema for the action + * group or the JSON or YAML-formatted payload defining the schema. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html#cfn-qbusiness-plugin-custompluginconfiguration-apischema) + */ + public fun apiSchema(): Any + + /** + * The type of OpenAPI schema to use. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html#cfn-qbusiness-plugin-custompluginconfiguration-apischematype) + */ + public fun apiSchemaType(): String + + /** + * A description for your custom plugin configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html#cfn-qbusiness-plugin-custompluginconfiguration-description) + */ + public fun description(): String + + /** + * A builder for [CustomPluginConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param apiSchema Contains either details about the S3 object containing the OpenAPI schema + * for the action group or the JSON or YAML-formatted payload defining the schema. + */ + public fun apiSchema(apiSchema: IResolvable) + + /** + * @param apiSchema Contains either details about the S3 object containing the OpenAPI schema + * for the action group or the JSON or YAML-formatted payload defining the schema. + */ + public fun apiSchema(apiSchema: APISchemaProperty) + + /** + * @param apiSchema Contains either details about the S3 object containing the OpenAPI schema + * for the action group or the JSON or YAML-formatted payload defining the schema. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("51094b31962c018545f8073bb237d2e654c5c7f6a993122165f1fb283e39002c") + public fun apiSchema(apiSchema: APISchemaProperty.Builder.() -> Unit) + + /** + * @param apiSchemaType The type of OpenAPI schema to use. + */ + public fun apiSchemaType(apiSchemaType: String) + + /** + * @param description A description for your custom plugin configuration. + */ + public fun description(description: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty.builder() + + /** + * @param apiSchema Contains either details about the S3 object containing the OpenAPI schema + * for the action group or the JSON or YAML-formatted payload defining the schema. + */ + override fun apiSchema(apiSchema: IResolvable) { + cdkBuilder.apiSchema(apiSchema.let(IResolvable.Companion::unwrap)) + } + + /** + * @param apiSchema Contains either details about the S3 object containing the OpenAPI schema + * for the action group or the JSON or YAML-formatted payload defining the schema. + */ + override fun apiSchema(apiSchema: APISchemaProperty) { + cdkBuilder.apiSchema(apiSchema.let(APISchemaProperty.Companion::unwrap)) + } + + /** + * @param apiSchema Contains either details about the S3 object containing the OpenAPI schema + * for the action group or the JSON or YAML-formatted payload defining the schema. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("51094b31962c018545f8073bb237d2e654c5c7f6a993122165f1fb283e39002c") + override fun apiSchema(apiSchema: APISchemaProperty.Builder.() -> Unit): Unit = + apiSchema(APISchemaProperty(apiSchema)) + + /** + * @param apiSchemaType The type of OpenAPI schema to use. + */ + override fun apiSchemaType(apiSchemaType: String) { + cdkBuilder.apiSchemaType(apiSchemaType) + } + + /** + * @param description A description for your custom plugin configuration. + */ + override fun description(description: String) { + cdkBuilder.description(description) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty, + ) : CdkObject(cdkObject), CustomPluginConfigurationProperty { + /** + * Contains either details about the S3 object containing the OpenAPI schema for the action + * group or the JSON or YAML-formatted payload defining the schema. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html#cfn-qbusiness-plugin-custompluginconfiguration-apischema) + */ + override fun apiSchema(): Any = unwrap(this).getApiSchema() + + /** + * The type of OpenAPI schema to use. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html#cfn-qbusiness-plugin-custompluginconfiguration-apischematype) + */ + override fun apiSchemaType(): String = unwrap(this).getApiSchemaType() + + /** + * A description for your custom plugin configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-custompluginconfiguration.html#cfn-qbusiness-plugin-custompluginconfiguration-description) + */ + override fun description(): String = unwrap(this).getDescription() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + CustomPluginConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty): + CustomPluginConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + CustomPluginConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CustomPluginConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnPlugin.CustomPluginConfigurationProperty + } + } + + /** + * Information about the OAuth 2.0 authentication credential/token used to configure a plugin. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * OAuth2ClientCredentialConfigurationProperty oAuth2ClientCredentialConfigurationProperty = + * OAuth2ClientCredentialConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-oauth2clientcredentialconfiguration.html) + */ + public interface OAuth2ClientCredentialConfigurationProperty { + /** + * The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-oauth2clientcredentialconfiguration.html#cfn-qbusiness-plugin-oauth2clientcredentialconfiguration-rolearn) + */ + public fun roleArn(): String + + /** + * The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for + * plugin configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-oauth2clientcredentialconfiguration.html#cfn-qbusiness-plugin-oauth2clientcredentialconfiguration-secretarn) + */ + public fun secretArn(): String + + /** + * A builder for [OAuth2ClientCredentialConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 + * authentication credentials stored in a Secrets Manager secret. + */ + public fun roleArn(roleArn: String) + + /** + * @param secretArn The ARN of the Secrets Manager secret that stores the OAuth 2.0 + * credentials/token used for plugin configuration. + */ + public fun secretArn(secretArn: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty.builder() + + /** + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 + * authentication credentials stored in a Secrets Manager secret. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param secretArn The ARN of the Secrets Manager secret that stores the OAuth 2.0 + * credentials/token used for plugin configuration. + */ + override fun secretArn(secretArn: String) { + cdkBuilder.secretArn(secretArn) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty, + ) : CdkObject(cdkObject), OAuth2ClientCredentialConfigurationProperty { + /** + * The ARN of an IAM role used by Amazon Q Business to access the OAuth 2.0 authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-oauth2clientcredentialconfiguration.html#cfn-qbusiness-plugin-oauth2clientcredentialconfiguration-rolearn) + */ + override fun roleArn(): String = unwrap(this).getRoleArn() + + /** + * The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for + * plugin configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-oauth2clientcredentialconfiguration.html#cfn-qbusiness-plugin-oauth2clientcredentialconfiguration-secretarn) + */ + override fun secretArn(): String = unwrap(this).getSecretArn() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + OAuth2ClientCredentialConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty): + OAuth2ClientCredentialConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + OAuth2ClientCredentialConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: OAuth2ClientCredentialConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnPlugin.OAuth2ClientCredentialConfigurationProperty + } + } + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * Object noAuthConfiguration; + * PluginAuthConfigurationProperty pluginAuthConfigurationProperty = + * PluginAuthConfigurationProperty.builder() + * .basicAuthConfiguration(BasicAuthConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build()) + * .noAuthConfiguration(noAuthConfiguration) + * .oAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html) + */ + public interface PluginAuthConfigurationProperty { + /** + * Information about the basic authentication credentials used to configure a plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html#cfn-qbusiness-plugin-pluginauthconfiguration-basicauthconfiguration) + */ + public fun basicAuthConfiguration(): Any? = unwrap(this).getBasicAuthConfiguration() + + /** + * Information about invoking a custom plugin without any authentication. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html#cfn-qbusiness-plugin-pluginauthconfiguration-noauthconfiguration) + */ + public fun noAuthConfiguration(): Any? = unwrap(this).getNoAuthConfiguration() + + /** + * Information about the OAuth 2.0 authentication credential/token used to configure a plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html#cfn-qbusiness-plugin-pluginauthconfiguration-oauth2clientcredentialconfiguration) + */ + public fun oAuth2ClientCredentialConfiguration(): Any? = + unwrap(this).getOAuth2ClientCredentialConfiguration() + + /** + * A builder for [PluginAuthConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param basicAuthConfiguration Information about the basic authentication credentials used + * to configure a plugin. + */ + public fun basicAuthConfiguration(basicAuthConfiguration: IResolvable) + + /** + * @param basicAuthConfiguration Information about the basic authentication credentials used + * to configure a plugin. + */ + public fun basicAuthConfiguration(basicAuthConfiguration: BasicAuthConfigurationProperty) + + /** + * @param basicAuthConfiguration Information about the basic authentication credentials used + * to configure a plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bab903f2758457dde2340c917f56f9c3208f7c21e4f3b5fb057f89c060dc9953") + public + fun basicAuthConfiguration(basicAuthConfiguration: BasicAuthConfigurationProperty.Builder.() -> Unit) + + /** + * @param noAuthConfiguration Information about invoking a custom plugin without any + * authentication. + */ + public fun noAuthConfiguration(noAuthConfiguration: Any) + + /** + * @param oAuth2ClientCredentialConfiguration Information about the OAuth 2.0 authentication + * credential/token used to configure a plugin. + */ + public + fun oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration: IResolvable) + + /** + * @param oAuth2ClientCredentialConfiguration Information about the OAuth 2.0 authentication + * credential/token used to configure a plugin. + */ + public + fun oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfigurationProperty) + + /** + * @param oAuth2ClientCredentialConfiguration Information about the OAuth 2.0 authentication + * credential/token used to configure a plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("64700368bd4e9a2d5d1485ac010188c80559f5d050b108e99e4934b8a7613d33") + public + fun oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty.builder() + + /** + * @param basicAuthConfiguration Information about the basic authentication credentials used + * to configure a plugin. + */ + override fun basicAuthConfiguration(basicAuthConfiguration: IResolvable) { + cdkBuilder.basicAuthConfiguration(basicAuthConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param basicAuthConfiguration Information about the basic authentication credentials used + * to configure a plugin. + */ + override fun basicAuthConfiguration(basicAuthConfiguration: BasicAuthConfigurationProperty) { + cdkBuilder.basicAuthConfiguration(basicAuthConfiguration.let(BasicAuthConfigurationProperty.Companion::unwrap)) + } + + /** + * @param basicAuthConfiguration Information about the basic authentication credentials used + * to configure a plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bab903f2758457dde2340c917f56f9c3208f7c21e4f3b5fb057f89c060dc9953") + override + fun basicAuthConfiguration(basicAuthConfiguration: BasicAuthConfigurationProperty.Builder.() -> Unit): + Unit = basicAuthConfiguration(BasicAuthConfigurationProperty(basicAuthConfiguration)) + + /** + * @param noAuthConfiguration Information about invoking a custom plugin without any + * authentication. + */ + override fun noAuthConfiguration(noAuthConfiguration: Any) { + cdkBuilder.noAuthConfiguration(noAuthConfiguration) + } + + /** + * @param oAuth2ClientCredentialConfiguration Information about the OAuth 2.0 authentication + * credential/token used to configure a plugin. + */ + override + fun oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration: IResolvable) { + cdkBuilder.oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param oAuth2ClientCredentialConfiguration Information about the OAuth 2.0 authentication + * credential/token used to configure a plugin. + */ + override + fun oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfigurationProperty) { + cdkBuilder.oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration.let(OAuth2ClientCredentialConfigurationProperty.Companion::unwrap)) + } + + /** + * @param oAuth2ClientCredentialConfiguration Information about the OAuth 2.0 authentication + * credential/token used to configure a plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("64700368bd4e9a2d5d1485ac010188c80559f5d050b108e99e4934b8a7613d33") + override + fun oAuth2ClientCredentialConfiguration(oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfigurationProperty.Builder.() -> Unit): + Unit = + oAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfigurationProperty(oAuth2ClientCredentialConfiguration)) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty, + ) : CdkObject(cdkObject), PluginAuthConfigurationProperty { + /** + * Information about the basic authentication credentials used to configure a plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html#cfn-qbusiness-plugin-pluginauthconfiguration-basicauthconfiguration) + */ + override fun basicAuthConfiguration(): Any? = unwrap(this).getBasicAuthConfiguration() + + /** + * Information about invoking a custom plugin without any authentication. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html#cfn-qbusiness-plugin-pluginauthconfiguration-noauthconfiguration) + */ + override fun noAuthConfiguration(): Any? = unwrap(this).getNoAuthConfiguration() + + /** + * Information about the OAuth 2.0 authentication credential/token used to configure a plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-pluginauthconfiguration.html#cfn-qbusiness-plugin-pluginauthconfiguration-oauth2clientcredentialconfiguration) + */ + override fun oAuth2ClientCredentialConfiguration(): Any? = + unwrap(this).getOAuth2ClientCredentialConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): PluginAuthConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty): + PluginAuthConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + PluginAuthConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: PluginAuthConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnPlugin.PluginAuthConfigurationProperty + } + } + + /** + * Information required for Amazon Q Business to find a specific file in an Amazon S3 bucket. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * S3Property s3Property = S3Property.builder() + * .bucket("bucket") + * .key("key") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-s3.html) + */ + public interface S3Property { + /** + * The name of the S3 bucket that contains the file. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-s3.html#cfn-qbusiness-plugin-s3-bucket) + */ + public fun bucket(): String + + /** + * The name of the file. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-s3.html#cfn-qbusiness-plugin-s3-key) + */ + public fun key(): String + + /** + * A builder for [S3Property] + */ + @CdkDslMarker + public interface Builder { + /** + * @param bucket The name of the S3 bucket that contains the file. + */ + public fun bucket(bucket: String) + + /** + * @param key The name of the file. + */ + public fun key(key: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property.Builder + = software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property.builder() + + /** + * @param bucket The name of the S3 bucket that contains the file. + */ + override fun bucket(bucket: String) { + cdkBuilder.bucket(bucket) + } + + /** + * @param key The name of the file. + */ + override fun key(key: String) { + cdkBuilder.key(key) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property, + ) : CdkObject(cdkObject), S3Property { + /** + * The name of the S3 bucket that contains the file. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-s3.html#cfn-qbusiness-plugin-s3-bucket) + */ + override fun bucket(): String = unwrap(this).getBucket() + + /** + * The name of the file. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-s3.html#cfn-qbusiness-plugin-s3-key) + */ + override fun key(): String = unwrap(this).getKey() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): S3Property { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property): + S3Property = CdkObjectWrappers.wrap(cdkObject) as? S3Property ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: S3Property): + software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.qbusiness.CfnPlugin.S3Property + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnPluginProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnPluginProps.kt new file mode 100644 index 0000000000..fe717b62c1 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnPluginProps.kt @@ -0,0 +1,407 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnPlugin`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * Object noAuthConfiguration; + * CfnPluginProps cfnPluginProps = CfnPluginProps.builder() + * .applicationId("applicationId") + * .authConfiguration(PluginAuthConfigurationProperty.builder() + * .basicAuthConfiguration(BasicAuthConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build()) + * .noAuthConfiguration(noAuthConfiguration) + * .oAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfigurationProperty.builder() + * .roleArn("roleArn") + * .secretArn("secretArn") + * .build()) + * .build()) + * .displayName("displayName") + * .type("type") + * // the properties below are optional + * .customPluginConfiguration(CustomPluginConfigurationProperty.builder() + * .apiSchema(APISchemaProperty.builder() + * .payload("payload") + * .s3(S3Property.builder() + * .bucket("bucket") + * .key("key") + * .build()) + * .build()) + * .apiSchemaType("apiSchemaType") + * .description("description") + * .build()) + * .serverUrl("serverUrl") + * .state("state") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html) + */ +public interface CfnPluginProps { + /** + * The identifier of the application that will contain the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-applicationid) + */ + public fun applicationId(): String + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + */ + public fun authConfiguration(): Any + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + */ + public fun customPluginConfiguration(): Any? = unwrap(this).getCustomPluginConfiguration() + + /** + * The name of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-displayname) + */ + public fun displayName(): String + + /** + * The plugin server URL used for configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-serverurl) + */ + public fun serverUrl(): String? = unwrap(this).getServerUrl() + + /** + * The current status of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-state) + */ + public fun state(): String? = unwrap(this).getState() + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and values + * can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / + * = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The type of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-type) + */ + public fun type(): String + + /** + * A builder for [CfnPluginProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param applicationId The identifier of the application that will contain the plugin. + */ + public fun applicationId(applicationId: String) + + /** + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + public fun authConfiguration(authConfiguration: IResolvable) + + /** + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + public fun authConfiguration(authConfiguration: CfnPlugin.PluginAuthConfigurationProperty) + + /** + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("77d22e5d186e57fcadef82784e225ea8c98122b5bf9d7c34d4f2c9d112140d38") + public + fun authConfiguration(authConfiguration: CfnPlugin.PluginAuthConfigurationProperty.Builder.() -> Unit) + + /** + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + public fun customPluginConfiguration(customPluginConfiguration: IResolvable) + + /** + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + public + fun customPluginConfiguration(customPluginConfiguration: CfnPlugin.CustomPluginConfigurationProperty) + + /** + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f9712c609fa2f9832d5d3156e61d84a5007544de30c2da51d34936fc918343f2") + public + fun customPluginConfiguration(customPluginConfiguration: CfnPlugin.CustomPluginConfigurationProperty.Builder.() -> Unit) + + /** + * @param displayName The name of the plugin. + */ + public fun displayName(displayName: String) + + /** + * @param serverUrl The plugin server URL used for configuration. + */ + public fun serverUrl(serverUrl: String) + + /** + * @param state The current status of the plugin. + */ + public fun state(state: String) + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + public fun tags(tags: List) + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param type The type of the plugin. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnPluginProps.Builder = + software.amazon.awscdk.services.qbusiness.CfnPluginProps.builder() + + /** + * @param applicationId The identifier of the application that will contain the plugin. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + override fun authConfiguration(authConfiguration: IResolvable) { + cdkBuilder.authConfiguration(authConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + override fun authConfiguration(authConfiguration: CfnPlugin.PluginAuthConfigurationProperty) { + cdkBuilder.authConfiguration(authConfiguration.let(CfnPlugin.PluginAuthConfigurationProperty.Companion::unwrap)) + } + + /** + * @param authConfiguration Authentication configuration information for an Amazon Q Business + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("77d22e5d186e57fcadef82784e225ea8c98122b5bf9d7c34d4f2c9d112140d38") + override + fun authConfiguration(authConfiguration: CfnPlugin.PluginAuthConfigurationProperty.Builder.() -> Unit): + Unit = authConfiguration(CfnPlugin.PluginAuthConfigurationProperty(authConfiguration)) + + /** + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + override fun customPluginConfiguration(customPluginConfiguration: IResolvable) { + cdkBuilder.customPluginConfiguration(customPluginConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + override + fun customPluginConfiguration(customPluginConfiguration: CfnPlugin.CustomPluginConfigurationProperty) { + cdkBuilder.customPluginConfiguration(customPluginConfiguration.let(CfnPlugin.CustomPluginConfigurationProperty.Companion::unwrap)) + } + + /** + * @param customPluginConfiguration Configuration information required to create a custom + * plugin. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f9712c609fa2f9832d5d3156e61d84a5007544de30c2da51d34936fc918343f2") + override + fun customPluginConfiguration(customPluginConfiguration: CfnPlugin.CustomPluginConfigurationProperty.Builder.() -> Unit): + Unit = + customPluginConfiguration(CfnPlugin.CustomPluginConfigurationProperty(customPluginConfiguration)) + + /** + * @param displayName The name of the plugin. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * @param serverUrl The plugin server URL used for configuration. + */ + override fun serverUrl(serverUrl: String) { + cdkBuilder.serverUrl(serverUrl) + } + + /** + * @param state The current status of the plugin. + */ + override fun state(state: String) { + cdkBuilder.state(state) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the data source connector. + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param type The type of the plugin. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnPluginProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnPluginProps, + ) : CdkObject(cdkObject), CfnPluginProps { + /** + * The identifier of the application that will contain the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-applicationid) + */ + override fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * Authentication configuration information for an Amazon Q Business plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-authconfiguration) + */ + override fun authConfiguration(): Any = unwrap(this).getAuthConfiguration() + + /** + * Configuration information required to create a custom plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-custompluginconfiguration) + */ + override fun customPluginConfiguration(): Any? = unwrap(this).getCustomPluginConfiguration() + + /** + * The name of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-displayname) + */ + override fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The plugin server URL used for configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-serverurl) + */ + override fun serverUrl(): String? = unwrap(this).getServerUrl() + + /** + * The current status of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-state) + */ + override fun state(): String? = unwrap(this).getState() + + /** + * A list of key-value pairs that identify or categorize the data source connector. + * + * You can also use tags to help control access to the data source connector. Tag keys and + * values can consist of Unicode letters, digits, white space, and any of the following symbols: _ + * . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The type of the plugin. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-plugin.html#cfn-qbusiness-plugin-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnPluginProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnPluginProps): + CfnPluginProps = CdkObjectWrappers.wrap(cdkObject) as? CfnPluginProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnPluginProps): + software.amazon.awscdk.services.qbusiness.CfnPluginProps = (wrapped as CdkObject).cdkObject + as software.amazon.awscdk.services.qbusiness.CfnPluginProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnRetriever.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnRetriever.kt new file mode 100644 index 0000000000..1dbf187cc9 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnRetriever.kt @@ -0,0 +1,802 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Adds a retriever to your Amazon Q Business application. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnRetriever cfnRetriever = CfnRetriever.Builder.create(this, "MyCfnRetriever") + * .applicationId("applicationId") + * .configuration(RetrieverConfigurationProperty.builder() + * .kendraIndexConfiguration(KendraIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build()) + * .nativeIndexConfiguration(NativeIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build()) + * .build()) + * .displayName("displayName") + * .type("type") + * // the properties below are optional + * .roleArn("roleArn") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html) + */ +public open class CfnRetriever( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnRetrieverProps, + ) : + this(software.amazon.awscdk.services.qbusiness.CfnRetriever(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRetrieverProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnRetrieverProps.Builder.() -> Unit, + ) : this(scope, id, CfnRetrieverProps(props) + ) + + /** + * The identifier of the Amazon Q Business application using the retriever. + */ + public open fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The identifier of the Amazon Q Business application using the retriever. + */ + public open fun applicationId(`value`: String) { + unwrap(this).setApplicationId(`value`) + } + + /** + * The Unix timestamp when the retriever was created. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * The Amazon Resource Name (ARN) of the IAM role associated with the retriever. + */ + public open fun attrRetrieverArn(): String = unwrap(this).getAttrRetrieverArn() + + /** + * The identifier of the retriever used by your Amazon Q Business application. + */ + public open fun attrRetrieverId(): String = unwrap(this).getAttrRetrieverId() + + /** + * The status of your retriever. + */ + public open fun attrStatus(): String = unwrap(this).getAttrStatus() + + /** + * The Unix timestamp when the retriever was last updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + */ + public open fun configuration(): Any = unwrap(this).getConfiguration() + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + */ + public open fun configuration(`value`: IResolvable) { + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + */ + public open fun configuration(`value`: RetrieverConfigurationProperty) { + unwrap(this).setConfiguration(`value`.let(RetrieverConfigurationProperty.Companion::unwrap)) + } + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("1a3bcca7b2ae39291415018f3aa08be5283de3919857551dfd3778a3231ec976") + public open fun configuration(`value`: RetrieverConfigurationProperty.Builder.() -> Unit): Unit = + configuration(RetrieverConfigurationProperty(`value`)) + + /** + * The name of your retriever. + */ + public open fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The name of your retriever. + */ + public open fun displayName(`value`: String) { + unwrap(this).setDisplayName(`value`) + } + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials + * stored in a Secrets Manager secret. + */ + public open fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials + * stored in a Secrets Manager secret. + */ + public open fun roleArn(`value`: String) { + unwrap(this).setRoleArn(`value`) + } + + /** + * A list of key-value pairs that identify or categorize the retriever. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of key-value pairs that identify or categorize the retriever. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the retriever. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * The type of your retriever. + */ + public open fun type(): String = unwrap(this).getType() + + /** + * The type of your retriever. + */ + public open fun type(`value`: String) { + unwrap(this).setType(`value`) + } + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.qbusiness.CfnRetriever]. + */ + @CdkDslMarker + public interface Builder { + /** + * The identifier of the Amazon Q Business application using the retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-applicationid) + * @param applicationId The identifier of the Amazon Q Business application using the retriever. + * + */ + public fun applicationId(applicationId: String) + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + public fun configuration(configuration: IResolvable) + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + public fun configuration(configuration: RetrieverConfigurationProperty) + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8be2d02ae3bbf49dea6f954c43eac0c92d31779a872804d0aafeffbce8fc462f") + public fun configuration(configuration: RetrieverConfigurationProperty.Builder.() -> Unit) + + /** + * The name of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-displayname) + * @param displayName The name of your retriever. + */ + public fun displayName(displayName: String) + + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-rolearn) + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the basic + * authentication credentials stored in a Secrets Manager secret. + */ + public fun roleArn(roleArn: String) + + /** + * A list of key-value pairs that identify or categorize the retriever. + * + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-tags) + * @param tags A list of key-value pairs that identify or categorize the retriever. + */ + public fun tags(tags: List) + + /** + * A list of key-value pairs that identify or categorize the retriever. + * + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-tags) + * @param tags A list of key-value pairs that identify or categorize the retriever. + */ + public fun tags(vararg tags: CfnTag) + + /** + * The type of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-type) + * @param type The type of your retriever. + */ + public fun type(type: String) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnRetriever.Builder = + software.amazon.awscdk.services.qbusiness.CfnRetriever.Builder.create(scope, id) + + /** + * The identifier of the Amazon Q Business application using the retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-applicationid) + * @param applicationId The identifier of the Amazon Q Business application using the retriever. + * + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + override fun configuration(configuration: IResolvable) { + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) + } + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + override fun configuration(configuration: RetrieverConfigurationProperty) { + cdkBuilder.configuration(configuration.let(RetrieverConfigurationProperty.Companion::unwrap)) + } + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8be2d02ae3bbf49dea6f954c43eac0c92d31779a872804d0aafeffbce8fc462f") + override fun configuration(configuration: RetrieverConfigurationProperty.Builder.() -> Unit): + Unit = configuration(RetrieverConfigurationProperty(configuration)) + + /** + * The name of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-displayname) + * @param displayName The name of your retriever. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-rolearn) + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the basic + * authentication credentials stored in a Secrets Manager secret. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * A list of key-value pairs that identify or categorize the retriever. + * + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-tags) + * @param tags A list of key-value pairs that identify or categorize the retriever. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize the retriever. + * + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-tags) + * @param tags A list of key-value pairs that identify or categorize the retriever. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * The type of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-type) + * @param type The type of your retriever. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnRetriever = cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.qbusiness.CfnRetriever.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnRetriever { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnRetriever(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever): + CfnRetriever = CfnRetriever(cdkObject) + + internal fun unwrap(wrapped: CfnRetriever): + software.amazon.awscdk.services.qbusiness.CfnRetriever = wrapped.cdkObject as + software.amazon.awscdk.services.qbusiness.CfnRetriever + } + + /** + * Stores an Amazon Kendra index as a retriever. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * KendraIndexConfigurationProperty kendraIndexConfigurationProperty = + * KendraIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-kendraindexconfiguration.html) + */ + public interface KendraIndexConfigurationProperty { + /** + * The identifier of the Amazon Kendra index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-kendraindexconfiguration.html#cfn-qbusiness-retriever-kendraindexconfiguration-indexid) + */ + public fun indexId(): String + + /** + * A builder for [KendraIndexConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param indexId The identifier of the Amazon Kendra index. + */ + public fun indexId(indexId: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty.builder() + + /** + * @param indexId The identifier of the Amazon Kendra index. + */ + override fun indexId(indexId: String) { + cdkBuilder.indexId(indexId) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty, + ) : CdkObject(cdkObject), KendraIndexConfigurationProperty { + /** + * The identifier of the Amazon Kendra index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-kendraindexconfiguration.html#cfn-qbusiness-retriever-kendraindexconfiguration-indexid) + */ + override fun indexId(): String = unwrap(this).getIndexId() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): KendraIndexConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty): + KendraIndexConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + KendraIndexConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: KendraIndexConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnRetriever.KendraIndexConfigurationProperty + } + } + + /** + * Configuration information for an Amazon Q Business index. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * NativeIndexConfigurationProperty nativeIndexConfigurationProperty = + * NativeIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-nativeindexconfiguration.html) + */ + public interface NativeIndexConfigurationProperty { + /** + * The identifier for the Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-nativeindexconfiguration.html#cfn-qbusiness-retriever-nativeindexconfiguration-indexid) + */ + public fun indexId(): String + + /** + * A builder for [NativeIndexConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param indexId The identifier for the Amazon Q Business index. + */ + public fun indexId(indexId: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty.builder() + + /** + * @param indexId The identifier for the Amazon Q Business index. + */ + override fun indexId(indexId: String) { + cdkBuilder.indexId(indexId) + } + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty, + ) : CdkObject(cdkObject), NativeIndexConfigurationProperty { + /** + * The identifier for the Amazon Q Business index. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-nativeindexconfiguration.html#cfn-qbusiness-retriever-nativeindexconfiguration-indexid) + */ + override fun indexId(): String = unwrap(this).getIndexId() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): NativeIndexConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty): + NativeIndexConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + NativeIndexConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: NativeIndexConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnRetriever.NativeIndexConfigurationProperty + } + } + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * RetrieverConfigurationProperty retrieverConfigurationProperty = + * RetrieverConfigurationProperty.builder() + * .kendraIndexConfiguration(KendraIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build()) + * .nativeIndexConfiguration(NativeIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-retrieverconfiguration.html) + */ + public interface RetrieverConfigurationProperty { + /** + * Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q + * Business application is configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-retrieverconfiguration.html#cfn-qbusiness-retriever-retrieverconfiguration-kendraindexconfiguration) + */ + public fun kendraIndexConfiguration(): Any? = unwrap(this).getKendraIndexConfiguration() + + /** + * Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q + * Business application is configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-retrieverconfiguration.html#cfn-qbusiness-retriever-retrieverconfiguration-nativeindexconfiguration) + */ + public fun nativeIndexConfiguration(): Any? = unwrap(this).getNativeIndexConfiguration() + + /** + * A builder for [RetrieverConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param kendraIndexConfiguration Provides information on how the Amazon Kendra index used as + * a retriever for your Amazon Q Business application is configured. + */ + public fun kendraIndexConfiguration(kendraIndexConfiguration: IResolvable) + + /** + * @param kendraIndexConfiguration Provides information on how the Amazon Kendra index used as + * a retriever for your Amazon Q Business application is configured. + */ + public + fun kendraIndexConfiguration(kendraIndexConfiguration: KendraIndexConfigurationProperty) + + /** + * @param kendraIndexConfiguration Provides information on how the Amazon Kendra index used as + * a retriever for your Amazon Q Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("dcde63325e6dbb891a0529453793391f1987522b65304fd152bf13fcd6f65f6e") + public + fun kendraIndexConfiguration(kendraIndexConfiguration: KendraIndexConfigurationProperty.Builder.() -> Unit) + + /** + * @param nativeIndexConfiguration Provides information on how a Amazon Q Business index used + * as a retriever for your Amazon Q Business application is configured. + */ + public fun nativeIndexConfiguration(nativeIndexConfiguration: IResolvable) + + /** + * @param nativeIndexConfiguration Provides information on how a Amazon Q Business index used + * as a retriever for your Amazon Q Business application is configured. + */ + public + fun nativeIndexConfiguration(nativeIndexConfiguration: NativeIndexConfigurationProperty) + + /** + * @param nativeIndexConfiguration Provides information on how a Amazon Q Business index used + * as a retriever for your Amazon Q Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("06b8565ef2b06ff3208c6b11af281cccbcfc9b0c6545303b891b9c756cbaa888") + public + fun nativeIndexConfiguration(nativeIndexConfiguration: NativeIndexConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty.Builder + = + software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty.builder() + + /** + * @param kendraIndexConfiguration Provides information on how the Amazon Kendra index used as + * a retriever for your Amazon Q Business application is configured. + */ + override fun kendraIndexConfiguration(kendraIndexConfiguration: IResolvable) { + cdkBuilder.kendraIndexConfiguration(kendraIndexConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param kendraIndexConfiguration Provides information on how the Amazon Kendra index used as + * a retriever for your Amazon Q Business application is configured. + */ + override + fun kendraIndexConfiguration(kendraIndexConfiguration: KendraIndexConfigurationProperty) { + cdkBuilder.kendraIndexConfiguration(kendraIndexConfiguration.let(KendraIndexConfigurationProperty.Companion::unwrap)) + } + + /** + * @param kendraIndexConfiguration Provides information on how the Amazon Kendra index used as + * a retriever for your Amazon Q Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("dcde63325e6dbb891a0529453793391f1987522b65304fd152bf13fcd6f65f6e") + override + fun kendraIndexConfiguration(kendraIndexConfiguration: KendraIndexConfigurationProperty.Builder.() -> Unit): + Unit = + kendraIndexConfiguration(KendraIndexConfigurationProperty(kendraIndexConfiguration)) + + /** + * @param nativeIndexConfiguration Provides information on how a Amazon Q Business index used + * as a retriever for your Amazon Q Business application is configured. + */ + override fun nativeIndexConfiguration(nativeIndexConfiguration: IResolvable) { + cdkBuilder.nativeIndexConfiguration(nativeIndexConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param nativeIndexConfiguration Provides information on how a Amazon Q Business index used + * as a retriever for your Amazon Q Business application is configured. + */ + override + fun nativeIndexConfiguration(nativeIndexConfiguration: NativeIndexConfigurationProperty) { + cdkBuilder.nativeIndexConfiguration(nativeIndexConfiguration.let(NativeIndexConfigurationProperty.Companion::unwrap)) + } + + /** + * @param nativeIndexConfiguration Provides information on how a Amazon Q Business index used + * as a retriever for your Amazon Q Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("06b8565ef2b06ff3208c6b11af281cccbcfc9b0c6545303b891b9c756cbaa888") + override + fun nativeIndexConfiguration(nativeIndexConfiguration: NativeIndexConfigurationProperty.Builder.() -> Unit): + Unit = + nativeIndexConfiguration(NativeIndexConfigurationProperty(nativeIndexConfiguration)) + + public fun build(): + software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty, + ) : CdkObject(cdkObject), RetrieverConfigurationProperty { + /** + * Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q + * Business application is configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-retrieverconfiguration.html#cfn-qbusiness-retriever-retrieverconfiguration-kendraindexconfiguration) + */ + override fun kendraIndexConfiguration(): Any? = unwrap(this).getKendraIndexConfiguration() + + /** + * Provides information on how a Amazon Q Business index used as a retriever for your Amazon Q + * Business application is configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-retriever-retrieverconfiguration.html#cfn-qbusiness-retriever-retrieverconfiguration-nativeindexconfiguration) + */ + override fun nativeIndexConfiguration(): Any? = unwrap(this).getNativeIndexConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): RetrieverConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty): + RetrieverConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + RetrieverConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: RetrieverConfigurationProperty): + software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.qbusiness.CfnRetriever.RetrieverConfigurationProperty + } + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnRetrieverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnRetrieverProps.kt new file mode 100644 index 0000000000..66bde1d4f5 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnRetrieverProps.kt @@ -0,0 +1,304 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IResolvable +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Any +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import kotlin.jvm.JvmName + +/** + * Properties for defining a `CfnRetriever`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnRetrieverProps cfnRetrieverProps = CfnRetrieverProps.builder() + * .applicationId("applicationId") + * .configuration(RetrieverConfigurationProperty.builder() + * .kendraIndexConfiguration(KendraIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build()) + * .nativeIndexConfiguration(NativeIndexConfigurationProperty.builder() + * .indexId("indexId") + * .build()) + * .build()) + * .displayName("displayName") + * .type("type") + * // the properties below are optional + * .roleArn("roleArn") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html) + */ +public interface CfnRetrieverProps { + /** + * The identifier of the Amazon Q Business application using the retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-applicationid) + */ + public fun applicationId(): String + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + */ + public fun configuration(): Any + + /** + * The name of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-displayname) + */ + public fun displayName(): String + + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials + * stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-rolearn) + */ + public fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * A list of key-value pairs that identify or categorize the retriever. + * + * You can also use tags to help control access to the retriever. Tag keys and values can consist + * of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The type of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-type) + */ + public fun type(): String + + /** + * A builder for [CfnRetrieverProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param applicationId The identifier of the Amazon Q Business application using the retriever. + * + */ + public fun applicationId(applicationId: String) + + /** + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + public fun configuration(configuration: IResolvable) + + /** + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + public fun configuration(configuration: CfnRetriever.RetrieverConfigurationProperty) + + /** + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f6c2f2cb7583d02d29c42acaecc0b11ee27bc3392e505d0dfb9ef4bd75c56b43") + public + fun configuration(configuration: CfnRetriever.RetrieverConfigurationProperty.Builder.() -> Unit) + + /** + * @param displayName The name of your retriever. + */ + public fun displayName(displayName: String) + + /** + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the basic + * authentication credentials stored in a Secrets Manager secret. + */ + public fun roleArn(roleArn: String) + + /** + * @param tags A list of key-value pairs that identify or categorize the retriever. + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(tags: List) + + /** + * @param tags A list of key-value pairs that identify or categorize the retriever. + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param type The type of your retriever. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnRetrieverProps.Builder = + software.amazon.awscdk.services.qbusiness.CfnRetrieverProps.builder() + + /** + * @param applicationId The identifier of the Amazon Q Business application using the retriever. + * + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + override fun configuration(configuration: IResolvable) { + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + override fun configuration(configuration: CfnRetriever.RetrieverConfigurationProperty) { + cdkBuilder.configuration(configuration.let(CfnRetriever.RetrieverConfigurationProperty.Companion::unwrap)) + } + + /** + * @param configuration Provides information on how the retriever used for your Amazon Q + * Business application is configured. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f6c2f2cb7583d02d29c42acaecc0b11ee27bc3392e505d0dfb9ef4bd75c56b43") + override + fun configuration(configuration: CfnRetriever.RetrieverConfigurationProperty.Builder.() -> Unit): + Unit = configuration(CfnRetriever.RetrieverConfigurationProperty(configuration)) + + /** + * @param displayName The name of your retriever. + */ + override fun displayName(displayName: String) { + cdkBuilder.displayName(displayName) + } + + /** + * @param roleArn The ARN of an IAM role used by Amazon Q Business to access the basic + * authentication credentials stored in a Secrets Manager secret. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the retriever. + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of key-value pairs that identify or categorize the retriever. + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param type The type of your retriever. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnRetrieverProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetrieverProps, + ) : CdkObject(cdkObject), CfnRetrieverProps { + /** + * The identifier of the Amazon Q Business application using the retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-applicationid) + */ + override fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * Provides information on how the retriever used for your Amazon Q Business application is + * configured. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-configuration) + */ + override fun configuration(): Any = unwrap(this).getConfiguration() + + /** + * The name of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-displayname) + */ + override fun displayName(): String = unwrap(this).getDisplayName() + + /** + * The ARN of an IAM role used by Amazon Q Business to access the basic authentication + * credentials stored in a Secrets Manager secret. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-rolearn) + */ + override fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * A list of key-value pairs that identify or categorize the retriever. + * + * You can also use tags to help control access to the retriever. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The type of your retriever. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-retriever.html#cfn-qbusiness-retriever-type) + */ + override fun type(): String = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnRetrieverProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnRetrieverProps): + CfnRetrieverProps = CdkObjectWrappers.wrap(cdkObject) as? CfnRetrieverProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnRetrieverProps): + software.amazon.awscdk.services.qbusiness.CfnRetrieverProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.qbusiness.CfnRetrieverProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnWebExperience.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnWebExperience.kt new file mode 100644 index 0000000000..69c26bb3ad --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnWebExperience.kt @@ -0,0 +1,398 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * Creates an Amazon Q Business web experience. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnWebExperience cfnWebExperience = CfnWebExperience.Builder.create(this, "MyCfnWebExperience") + * .applicationId("applicationId") + * // the properties below are optional + * .roleArn("roleArn") + * .samplePromptsControlMode("samplePromptsControlMode") + * .subtitle("subtitle") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .title("title") + * .welcomeMessage("welcomeMessage") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html) + */ +public open class CfnWebExperience( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnWebExperience, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnWebExperienceProps, + ) : + this(software.amazon.awscdk.services.qbusiness.CfnWebExperience(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebExperienceProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnWebExperienceProps.Builder.() -> Unit, + ) : this(scope, id, CfnWebExperienceProps(props) + ) + + /** + * The identifier of the Amazon Q Business web experience. + */ + public open fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The identifier of the Amazon Q Business web experience. + */ + public open fun applicationId(`value`: String) { + unwrap(this).setApplicationId(`value`) + } + + /** + * The Unix timestamp when the Amazon Q Business application was last updated. + */ + public open fun attrCreatedAt(): String = unwrap(this).getAttrCreatedAt() + + /** + * The endpoint URLs for your Amazon Q Business web experience. + * + * The URLs are unique and fully hosted by AWS . + */ + public open fun attrDefaultEndpoint(): String = unwrap(this).getAttrDefaultEndpoint() + + /** + * The status of your Amazon Q Business web experience. + */ + public open fun attrStatus(): String = unwrap(this).getAttrStatus() + + /** + * The Unix timestamp when your Amazon Q Business web experience was updated. + */ + public open fun attrUpdatedAt(): String = unwrap(this).getAttrUpdatedAt() + + /** + * The Amazon Resource Name (ARN) of an Amazon Q Business web experience. + */ + public open fun attrWebExperienceArn(): String = unwrap(this).getAttrWebExperienceArn() + + /** + * The identifier of your Amazon Q Business web experience. + */ + public open fun attrWebExperienceId(): String = unwrap(this).getAttrWebExperienceId() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The Amazon Resource Name (ARN) of the service role attached to your web experience. + */ + public open fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * The Amazon Resource Name (ARN) of the service role attached to your web experience. + */ + public open fun roleArn(`value`: String) { + unwrap(this).setRoleArn(`value`) + } + + /** + * Determines whether sample prompts are enabled in the web experience for an end user. + */ + public open fun samplePromptsControlMode(): String? = unwrap(this).getSamplePromptsControlMode() + + /** + * Determines whether sample prompts are enabled in the web experience for an end user. + */ + public open fun samplePromptsControlMode(`value`: String) { + unwrap(this).setSamplePromptsControlMode(`value`) + } + + /** + * A subtitle to personalize your Amazon Q Business web experience. + */ + public open fun subtitle(): String? = unwrap(this).getSubtitle() + + /** + * A subtitle to personalize your Amazon Q Business web experience. + */ + public open fun subtitle(`value`: String) { + unwrap(this).setSubtitle(`value`) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * The title for your Amazon Q Business web experience. + */ + public open fun title(): String? = unwrap(this).getTitle() + + /** + * The title for your Amazon Q Business web experience. + */ + public open fun title(`value`: String) { + unwrap(this).setTitle(`value`) + } + + /** + * A message in an Amazon Q Business web experience. + */ + public open fun welcomeMessage(): String? = unwrap(this).getWelcomeMessage() + + /** + * A message in an Amazon Q Business web experience. + */ + public open fun welcomeMessage(`value`: String) { + unwrap(this).setWelcomeMessage(`value`) + } + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.qbusiness.CfnWebExperience]. + */ + @CdkDslMarker + public interface Builder { + /** + * The identifier of the Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-applicationid) + * @param applicationId The identifier of the Amazon Q Business web experience. + */ + public fun applicationId(applicationId: String) + + /** + * The Amazon Resource Name (ARN) of the service role attached to your web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-rolearn) + * @param roleArn The Amazon Resource Name (ARN) of the service role attached to your web + * experience. + */ + public fun roleArn(roleArn: String) + + /** + * Determines whether sample prompts are enabled in the web experience for an end user. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-samplepromptscontrolmode) + * @param samplePromptsControlMode Determines whether sample prompts are enabled in the web + * experience for an end user. + */ + public fun samplePromptsControlMode(samplePromptsControlMode: String) + + /** + * A subtitle to personalize your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-subtitle) + * @param subtitle A subtitle to personalize your Amazon Q Business web experience. + */ + public fun subtitle(subtitle: String) + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + * + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + */ + public fun tags(tags: List) + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + * + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + */ + public fun tags(vararg tags: CfnTag) + + /** + * The title for your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-title) + * @param title The title for your Amazon Q Business web experience. + */ + public fun title(title: String) + + /** + * A message in an Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-welcomemessage) + * @param welcomeMessage A message in an Amazon Q Business web experience. + */ + public fun welcomeMessage(welcomeMessage: String) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnWebExperience.Builder = + software.amazon.awscdk.services.qbusiness.CfnWebExperience.Builder.create(scope, id) + + /** + * The identifier of the Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-applicationid) + * @param applicationId The identifier of the Amazon Q Business web experience. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * The Amazon Resource Name (ARN) of the service role attached to your web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-rolearn) + * @param roleArn The Amazon Resource Name (ARN) of the service role attached to your web + * experience. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * Determines whether sample prompts are enabled in the web experience for an end user. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-samplepromptscontrolmode) + * @param samplePromptsControlMode Determines whether sample prompts are enabled in the web + * experience for an end user. + */ + override fun samplePromptsControlMode(samplePromptsControlMode: String) { + cdkBuilder.samplePromptsControlMode(samplePromptsControlMode) + } + + /** + * A subtitle to personalize your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-subtitle) + * @param subtitle A subtitle to personalize your Amazon Q Business web experience. + */ + override fun subtitle(subtitle: String) { + cdkBuilder.subtitle(subtitle) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + * + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + * + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-tags) + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * The title for your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-title) + * @param title The title for your Amazon Q Business web experience. + */ + override fun title(title: String) { + cdkBuilder.title(title) + } + + /** + * A message in an Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-welcomemessage) + * @param welcomeMessage A message in an Amazon Q Business web experience. + */ + override fun welcomeMessage(welcomeMessage: String) { + cdkBuilder.welcomeMessage(welcomeMessage) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnWebExperience = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.qbusiness.CfnWebExperience.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnWebExperience { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnWebExperience(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnWebExperience): + CfnWebExperience = CfnWebExperience(cdkObject) + + internal fun unwrap(wrapped: CfnWebExperience): + software.amazon.awscdk.services.qbusiness.CfnWebExperience = wrapped.cdkObject as + software.amazon.awscdk.services.qbusiness.CfnWebExperience + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnWebExperienceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnWebExperienceProps.kt new file mode 100644 index 0000000000..7312c5e802 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qbusiness/CfnWebExperienceProps.kt @@ -0,0 +1,286 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.qbusiness + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit +import kotlin.collections.List + +/** + * Properties for defining a `CfnWebExperience`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.qbusiness.*; + * CfnWebExperienceProps cfnWebExperienceProps = CfnWebExperienceProps.builder() + * .applicationId("applicationId") + * // the properties below are optional + * .roleArn("roleArn") + * .samplePromptsControlMode("samplePromptsControlMode") + * .subtitle("subtitle") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .title("title") + * .welcomeMessage("welcomeMessage") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html) + */ +public interface CfnWebExperienceProps { + /** + * The identifier of the Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-applicationid) + */ + public fun applicationId(): String + + /** + * The Amazon Resource Name (ARN) of the service role attached to your web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-rolearn) + */ + public fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * Determines whether sample prompts are enabled in the web experience for an end user. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-samplepromptscontrolmode) + */ + public fun samplePromptsControlMode(): String? = unwrap(this).getSamplePromptsControlMode() + + /** + * A subtitle to personalize your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-subtitle) + */ + public fun subtitle(): String? = unwrap(this).getSubtitle() + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + * + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The title for your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-title) + */ + public fun title(): String? = unwrap(this).getTitle() + + /** + * A message in an Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-welcomemessage) + */ + public fun welcomeMessage(): String? = unwrap(this).getWelcomeMessage() + + /** + * A builder for [CfnWebExperienceProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param applicationId The identifier of the Amazon Q Business web experience. + */ + public fun applicationId(applicationId: String) + + /** + * @param roleArn The Amazon Resource Name (ARN) of the service role attached to your web + * experience. + */ + public fun roleArn(roleArn: String) + + /** + * @param samplePromptsControlMode Determines whether sample prompts are enabled in the web + * experience for an end user. + */ + public fun samplePromptsControlMode(samplePromptsControlMode: String) + + /** + * @param subtitle A subtitle to personalize your Amazon Q Business web experience. + */ + public fun subtitle(subtitle: String) + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(tags: List) + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + public fun tags(vararg tags: CfnTag) + + /** + * @param title The title for your Amazon Q Business web experience. + */ + public fun title(title: String) + + /** + * @param welcomeMessage A message in an Amazon Q Business web experience. + */ + public fun welcomeMessage(welcomeMessage: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps.Builder + = software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps.builder() + + /** + * @param applicationId The identifier of the Amazon Q Business web experience. + */ + override fun applicationId(applicationId: String) { + cdkBuilder.applicationId(applicationId) + } + + /** + * @param roleArn The Amazon Resource Name (ARN) of the service role attached to your web + * experience. + */ + override fun roleArn(roleArn: String) { + cdkBuilder.roleArn(roleArn) + } + + /** + * @param samplePromptsControlMode Determines whether sample prompts are enabled in the web + * experience for an end user. + */ + override fun samplePromptsControlMode(samplePromptsControlMode: String) { + cdkBuilder.samplePromptsControlMode(samplePromptsControlMode) + } + + /** + * @param subtitle A subtitle to personalize your Amazon Q Business web experience. + */ + override fun subtitle(subtitle: String) { + cdkBuilder.subtitle(subtitle) + } + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of key-value pairs that identify or categorize your Amazon Q Business web + * experience. + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + /** + * @param title The title for your Amazon Q Business web experience. + */ + override fun title(title: String) { + cdkBuilder.title(title) + } + + /** + * @param welcomeMessage A message in an Amazon Q Business web experience. + */ + override fun welcomeMessage(welcomeMessage: String) { + cdkBuilder.welcomeMessage(welcomeMessage) + } + + public fun build(): software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps, + ) : CdkObject(cdkObject), CfnWebExperienceProps { + /** + * The identifier of the Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-applicationid) + */ + override fun applicationId(): String = unwrap(this).getApplicationId() + + /** + * The Amazon Resource Name (ARN) of the service role attached to your web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-rolearn) + */ + override fun roleArn(): String? = unwrap(this).getRoleArn() + + /** + * Determines whether sample prompts are enabled in the web experience for an end user. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-samplepromptscontrolmode) + */ + override fun samplePromptsControlMode(): String? = unwrap(this).getSamplePromptsControlMode() + + /** + * A subtitle to personalize your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-subtitle) + */ + override fun subtitle(): String? = unwrap(this).getSubtitle() + + /** + * A list of key-value pairs that identify or categorize your Amazon Q Business web experience. + * + * You can also use tags to help control access to the web experience. Tag keys and values can + * consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * The title for your Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-title) + */ + override fun title(): String? = unwrap(this).getTitle() + + /** + * A message in an Amazon Q Business web experience. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-welcomemessage) + */ + override fun welcomeMessage(): String? = unwrap(this).getWelcomeMessage() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnWebExperienceProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps): + CfnWebExperienceProps = CdkObjectWrappers.wrap(cdkObject) as? CfnWebExperienceProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnWebExperienceProps): + software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.qbusiness.CfnWebExperienceProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedger.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedger.kt index f7cbc67885..cbf05dd6d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedger.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedger.kt @@ -60,8 +60,8 @@ public open class CfnLedger( id: String, props: CfnLedgerProps, ) : - this(software.amazon.awscdk.services.qldb.CfnLedger(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLedgerProps::unwrap)) + this(software.amazon.awscdk.services.qldb.CfnLedger(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLedgerProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnLedger( * Specifies whether the ledger is protected from being deleted by any user. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -101,7 +101,7 @@ public open class CfnLedger( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnLedger( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class CfnLedger( * user. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnLedger( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedgerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedgerProps.kt index de1beb07b9..9cecbf8b1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedgerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnLedgerProps.kt @@ -288,7 +288,7 @@ public interface CfnLedgerProps { * `false` . */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnLedgerProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStream.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStream.kt index 54ad013ab5..0dc83fed9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStream.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStream.kt @@ -66,8 +66,8 @@ public open class CfnStream( id: String, props: CfnStreamProps, ) : - this(software.amazon.awscdk.services.qldb.CfnStream(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamProps::unwrap)) + this(software.amazon.awscdk.services.qldb.CfnStream(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamProps.Companion::unwrap)) ) public constructor( @@ -122,7 +122,7 @@ public open class CfnStream( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,14 +134,14 @@ public open class CfnStream( * The configuration settings of the Kinesis Data Streams destination for your stream request. */ public open fun kinesisConfiguration(`value`: IResolvable) { - unwrap(this).setKinesisConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration settings of the Kinesis Data Streams destination for your stream request. */ public open fun kinesisConfiguration(`value`: KinesisConfigurationProperty) { - unwrap(this).setKinesisConfiguration(`value`.let(KinesisConfigurationProperty::unwrap)) + unwrap(this).setKinesisConfiguration(`value`.let(KinesisConfigurationProperty.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnStream( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnStream( * destination for your stream request. */ override fun kinesisConfiguration(kinesisConfiguration: IResolvable) { - cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(IResolvable::unwrap)) + cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class CfnStream( * destination for your stream request. */ override fun kinesisConfiguration(kinesisConfiguration: KinesisConfigurationProperty) { - cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(KinesisConfigurationProperty::unwrap)) + cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(KinesisConfigurationProperty.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class CfnStream( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnStream( * in the *Amazon Kinesis Data Streams Developer Guide* . */ override fun aggregationEnabled(aggregationEnabled: IResolvable) { - cdkBuilder.aggregationEnabled(aggregationEnabled.let(IResolvable::unwrap)) + cdkBuilder.aggregationEnabled(aggregationEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStreamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStreamProps.kt index b287e9d3f9..06dc69f028 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStreamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/qldb/CfnStreamProps.kt @@ -246,7 +246,7 @@ public interface CfnStreamProps { * destination for your stream request. */ override fun kinesisConfiguration(kinesisConfiguration: IResolvable) { - cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(IResolvable::unwrap)) + cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public interface CfnStreamProps { */ override fun kinesisConfiguration(kinesisConfiguration: CfnStream.KinesisConfigurationProperty) { - cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(CfnStream.KinesisConfigurationProperty::unwrap)) + cdkBuilder.kinesisConfiguration(kinesisConfiguration.let(CfnStream.KinesisConfigurationProperty.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface CfnStreamProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysis.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysis.kt index 86b598e502..c2cf82f195 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysis.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysis.kt @@ -40,8 +40,8 @@ public open class CfnAnalysis( id: String, props: CfnAnalysisProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnAnalysis(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAnalysisProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnAnalysis(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAnalysisProps.Companion::unwrap)) ) public constructor( @@ -114,14 +114,14 @@ public open class CfnAnalysis( * */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definition(`value`: AnalysisDefinitionProperty) { - unwrap(this).setDefinition(`value`.let(AnalysisDefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(AnalysisDefinitionProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnAnalysis( * Errors associated with the analysis. */ public open fun errors(`value`: IResolvable) { - unwrap(this).setErrors(`value`.let(IResolvable::unwrap)) + unwrap(this).setErrors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnAnalysis( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -186,14 +186,14 @@ public open class CfnAnalysis( * The parameter names and override values that you want to use. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameter names and override values that you want to use. */ public open fun parameters(`value`: ParametersProperty) { - unwrap(this).setParameters(`value`.let(ParametersProperty::unwrap)) + unwrap(this).setParameters(`value`.let(ParametersProperty.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnAnalysis( * A structure that describes the principals and the resource-level permissions on an analysis. */ public open fun permissions(`value`: IResolvable) { - unwrap(this).setPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnAnalysis( * A list of the associated sheets with the unique identifier and name of each sheet. */ public open fun sheets(`value`: IResolvable) { - unwrap(this).setSheets(`value`.let(IResolvable::unwrap)) + unwrap(this).setSheets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -261,14 +261,14 @@ public open class CfnAnalysis( * A source entity to use for the analysis that you're creating. */ public open fun sourceEntity(`value`: IResolvable) { - unwrap(this).setSourceEntity(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceEntity(`value`.let(IResolvable.Companion::unwrap)) } /** * A source entity to use for the analysis that you're creating. */ public open fun sourceEntity(`value`: AnalysisSourceEntityProperty) { - unwrap(this).setSourceEntity(`value`.let(AnalysisSourceEntityProperty::unwrap)) + unwrap(this).setSourceEntity(`value`.let(AnalysisSourceEntityProperty.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnAnalysis( * Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnAnalysis( * and templates with definition objects. */ public open fun validationStrategy(`value`: IResolvable) { - unwrap(this).setValidationStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnAnalysis( * and templates with definition objects. */ public open fun validationStrategy(`value`: ValidationStrategyProperty) { - unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty::unwrap)) + unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnAnalysis( * @param definition */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnAnalysis( * @param definition */ override fun definition(definition: AnalysisDefinitionProperty) { - cdkBuilder.definition(definition.let(AnalysisDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(AnalysisDefinitionProperty.Companion::unwrap)) } /** @@ -718,7 +718,7 @@ public open class CfnAnalysis( * @param errors Errors associated with the analysis. */ override fun errors(errors: IResolvable) { - cdkBuilder.errors(errors.let(IResolvable::unwrap)) + cdkBuilder.errors(errors.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnAnalysis( * @param parameters The parameter names and override values that you want to use. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public open class CfnAnalysis( * @param parameters The parameter names and override values that you want to use. */ override fun parameters(parameters: ParametersProperty) { - cdkBuilder.parameters(parameters.let(ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(ParametersProperty.Companion::unwrap)) } /** @@ -802,7 +802,7 @@ public open class CfnAnalysis( * permissions on an analysis. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnAnalysis( * sheet. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public open class CfnAnalysis( * @param sourceEntity A source entity to use for the analysis that you're creating. */ override fun sourceEntity(sourceEntity: IResolvable) { - cdkBuilder.sourceEntity(sourceEntity.let(IResolvable::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** @@ -897,7 +897,7 @@ public open class CfnAnalysis( * @param sourceEntity A source entity to use for the analysis that you're creating. */ override fun sourceEntity(sourceEntity: AnalysisSourceEntityProperty) { - cdkBuilder.sourceEntity(sourceEntity.let(AnalysisSourceEntityProperty::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(AnalysisSourceEntityProperty.Companion::unwrap)) } /** @@ -935,7 +935,7 @@ public open class CfnAnalysis( * the analysis. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -970,7 +970,7 @@ public open class CfnAnalysis( * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: IResolvable) { - cdkBuilder.validationStrategy(validationStrategy.let(IResolvable::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -984,7 +984,7 @@ public open class CfnAnalysis( * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: ValidationStrategyProperty) { - cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty.Companion::unwrap)) } /** @@ -1165,7 +1165,7 @@ public open class CfnAnalysis( * @param attributeAggregationFunction Aggregation for attributes. */ override fun attributeAggregationFunction(attributeAggregationFunction: IResolvable) { - cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -1173,7 +1173,7 @@ public open class CfnAnalysis( */ override fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty) { - cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty::unwrap)) + cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class CfnAnalysis( * @param numericalAggregationFunction Aggregation for numerical values. */ override fun numericalAggregationFunction(numericalAggregationFunction: IResolvable) { - cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -1218,7 +1218,7 @@ public open class CfnAnalysis( */ override fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty) { - cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -1416,14 +1416,14 @@ public open class CfnAnalysis( * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -1439,14 +1439,14 @@ public open class CfnAnalysis( * @param column The column that determines the sort order of aggregated values. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that determines the sort order of aggregated values. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -1612,7 +1612,7 @@ public open class CfnAnalysis( * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: IResolvable) { - cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1620,7 +1620,7 @@ public open class CfnAnalysis( */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty) { - cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty::unwrap)) + cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty.Companion::unwrap)) } /** @@ -1930,14 +1930,14 @@ public open class CfnAnalysis( * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: IResolvable) { - cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty) { - cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty::unwrap)) + cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty.Companion::unwrap)) } /** @@ -1952,7 +1952,7 @@ public open class CfnAnalysis( * @param calculatedFields An array of calculated field definitions for the analysis. */ override fun calculatedFields(calculatedFields: IResolvable) { - cdkBuilder.calculatedFields(calculatedFields.let(IResolvable::unwrap)) + cdkBuilder.calculatedFields(calculatedFields.let(IResolvable.Companion::unwrap)) } /** @@ -1974,7 +1974,7 @@ public open class CfnAnalysis( * throughout an analysis. */ override fun columnConfigurations(columnConfigurations: IResolvable) { - cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable::unwrap)) + cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -2000,7 +2000,7 @@ public open class CfnAnalysis( * analysis sub-structures. */ override fun dataSetIdentifierDeclarations(dataSetIdentifierDeclarations: IResolvable) { - cdkBuilder.dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.let(IResolvable::unwrap)) + cdkBuilder.dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.let(IResolvable.Companion::unwrap)) } /** @@ -2027,7 +2027,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun filterGroups(filterGroups: IResolvable) { - cdkBuilder.filterGroups(filterGroups.let(IResolvable::unwrap)) + cdkBuilder.filterGroups(filterGroups.let(IResolvable.Companion::unwrap)) } /** @@ -2053,14 +2053,14 @@ public open class CfnAnalysis( * @param options An array of option definitions for an analysis. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** * @param options An array of option definitions for an analysis. */ override fun options(options: AssetOptionsProperty) { - cdkBuilder.options(options.let(AssetOptionsProperty::unwrap)) + cdkBuilder.options(options.let(AssetOptionsProperty.Companion::unwrap)) } /** @@ -2080,7 +2080,7 @@ public open class CfnAnalysis( * in the *Amazon QuickSight User Guide* . */ override fun parameterDeclarations(parameterDeclarations: IResolvable) { - cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable::unwrap)) + cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable.Companion::unwrap)) } /** @@ -2111,7 +2111,7 @@ public open class CfnAnalysis( * Each `SheetDefinition` provides detailed information about a sheet within this analysis. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -2324,7 +2324,7 @@ public open class CfnAnalysis( * @param violatedEntities Lists the violated entities that caused the analysis error. */ override fun violatedEntities(violatedEntities: IResolvable) { - cdkBuilder.violatedEntities(violatedEntities.let(IResolvable::unwrap)) + cdkBuilder.violatedEntities(violatedEntities.let(IResolvable.Companion::unwrap)) } /** @@ -2452,14 +2452,14 @@ public open class CfnAnalysis( * @param sourceTemplate The source template for the source entity of the analysis. */ override fun sourceTemplate(sourceTemplate: IResolvable) { - cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable::unwrap)) + cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable.Companion::unwrap)) } /** * @param sourceTemplate The source template for the source entity of the analysis. */ override fun sourceTemplate(sourceTemplate: AnalysisSourceTemplateProperty) { - cdkBuilder.sourceTemplate(sourceTemplate.let(AnalysisSourceTemplateProperty::unwrap)) + cdkBuilder.sourceTemplate(sourceTemplate.let(AnalysisSourceTemplateProperty.Companion::unwrap)) } /** @@ -2584,7 +2584,7 @@ public open class CfnAnalysis( * @param dataSetReferences The dataset references of the source template of an analysis. */ override fun dataSetReferences(dataSetReferences: IResolvable) { - cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable::unwrap)) + cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable.Companion::unwrap)) } /** @@ -2837,14 +2837,14 @@ public open class CfnAnalysis( * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: ArcAxisDisplayRangeProperty) { - cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty::unwrap)) + cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty.Companion::unwrap)) } /** @@ -3546,14 +3546,14 @@ public open class CfnAnalysis( * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: IResolvable) { - cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable::unwrap)) + cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty) { - cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty::unwrap)) + cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty.Companion::unwrap)) } /** @@ -3568,14 +3568,14 @@ public open class CfnAnalysis( * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: IResolvable) { - cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable::unwrap)) + cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty) { - cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty::unwrap)) + cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty.Companion::unwrap)) } /** @@ -3948,14 +3948,14 @@ public open class CfnAnalysis( * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: IResolvable) { - cdkBuilder.dataOptions(dataOptions.let(IResolvable::unwrap)) + cdkBuilder.dataOptions(dataOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: AxisDataOptionsProperty) { - cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty::unwrap)) + cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty.Companion::unwrap)) } /** @@ -3977,14 +3977,14 @@ public open class CfnAnalysis( * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: IResolvable) { - cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable::unwrap)) + cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable.Companion::unwrap)) } /** * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty) { - cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty::unwrap)) + cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty.Companion::unwrap)) } /** @@ -3999,14 +3999,14 @@ public open class CfnAnalysis( * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: IResolvable) { - cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty) { - cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty::unwrap)) + cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty.Companion::unwrap)) } /** @@ -4171,14 +4171,14 @@ public open class CfnAnalysis( * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: IResolvable) { - cdkBuilder.minMax(minMax.let(IResolvable::unwrap)) + cdkBuilder.minMax(minMax.let(IResolvable.Companion::unwrap)) } /** * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: AxisDisplayMinMaxRangeProperty) { - cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty::unwrap)) + cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty.Companion::unwrap)) } /** @@ -4342,14 +4342,14 @@ public open class CfnAnalysis( * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: IResolvable) { - cdkBuilder.applyTo(applyTo.let(IResolvable::unwrap)) + cdkBuilder.applyTo(applyTo.let(IResolvable.Companion::unwrap)) } /** * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: AxisLabelReferenceOptionsProperty) { - cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty::unwrap)) + cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty.Companion::unwrap)) } /** @@ -4371,14 +4371,14 @@ public open class CfnAnalysis( * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -4512,14 +4512,14 @@ public open class CfnAnalysis( * @param column The column that the axis label is targeted to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the axis label is targeted to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -4862,14 +4862,14 @@ public open class CfnAnalysis( * @param linear The linear axis scale setup. */ override fun linear(linear: IResolvable) { - cdkBuilder.linear(linear.let(IResolvable::unwrap)) + cdkBuilder.linear(linear.let(IResolvable.Companion::unwrap)) } /** * @param linear The linear axis scale setup. */ override fun linear(linear: AxisLinearScaleProperty) { - cdkBuilder.linear(linear.let(AxisLinearScaleProperty::unwrap)) + cdkBuilder.linear(linear.let(AxisLinearScaleProperty.Companion::unwrap)) } /** @@ -4884,14 +4884,14 @@ public open class CfnAnalysis( * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: IResolvable) { - cdkBuilder.logarithmic(logarithmic.let(IResolvable::unwrap)) + cdkBuilder.logarithmic(logarithmic.let(IResolvable.Companion::unwrap)) } /** * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: AxisLogarithmicScaleProperty) { - cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty::unwrap)) + cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty.Companion::unwrap)) } /** @@ -5027,14 +5027,14 @@ public open class CfnAnalysis( * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: IResolvable) { - cdkBuilder.labelOptions(labelOptions.let(IResolvable::unwrap)) + cdkBuilder.labelOptions(labelOptions.let(IResolvable.Companion::unwrap)) } /** * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: LabelOptionsProperty) { - cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -5213,7 +5213,7 @@ public open class CfnAnalysis( * @param category The category (y-axis) field well of a bar chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -5232,7 +5232,7 @@ public open class CfnAnalysis( * @param colors The color (group/color) field well of a bar chart. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -5251,7 +5251,7 @@ public open class CfnAnalysis( * @param smallMultiples The small multiples field well of a bar chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -5272,7 +5272,7 @@ public open class CfnAnalysis( * Values are aggregated by category. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -5780,7 +5780,7 @@ public open class CfnAnalysis( * chart category. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** @@ -5788,7 +5788,7 @@ public open class CfnAnalysis( * chart category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -5805,7 +5805,7 @@ public open class CfnAnalysis( * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5813,7 +5813,7 @@ public open class CfnAnalysis( * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -5831,7 +5831,7 @@ public open class CfnAnalysis( * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5839,7 +5839,7 @@ public open class CfnAnalysis( * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -5857,7 +5857,7 @@ public open class CfnAnalysis( * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -5879,14 +5879,14 @@ public open class CfnAnalysis( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -5901,14 +5901,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BarChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty.Companion::unwrap)) } /** @@ -5923,14 +5923,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -5957,7 +5957,7 @@ public open class CfnAnalysis( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -5977,14 +5977,14 @@ public open class CfnAnalysis( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -6000,14 +6000,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -6023,14 +6023,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -6046,7 +6046,7 @@ public open class CfnAnalysis( * chart value. */ override fun valueAxis(valueAxis: IResolvable) { - cdkBuilder.valueAxis(valueAxis.let(IResolvable::unwrap)) + cdkBuilder.valueAxis(valueAxis.let(IResolvable.Companion::unwrap)) } /** @@ -6054,7 +6054,7 @@ public open class CfnAnalysis( * chart value. */ override fun valueAxis(valueAxis: AxisDisplayOptionsProperty) { - cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -6071,7 +6071,7 @@ public open class CfnAnalysis( * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -6079,7 +6079,7 @@ public open class CfnAnalysis( * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -6096,14 +6096,14 @@ public open class CfnAnalysis( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -6321,7 +6321,7 @@ public open class CfnAnalysis( * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: IResolvable) { - cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -6329,7 +6329,7 @@ public open class CfnAnalysis( */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty) { - cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -6652,14 +6652,14 @@ public open class CfnAnalysis( * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -6675,7 +6675,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -6695,14 +6695,14 @@ public open class CfnAnalysis( * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -6718,7 +6718,7 @@ public open class CfnAnalysis( * @param colorSort The sort configuration of color fields in a bar chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -6738,7 +6738,7 @@ public open class CfnAnalysis( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6747,7 +6747,7 @@ public open class CfnAnalysis( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -6765,7 +6765,7 @@ public open class CfnAnalysis( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -7029,7 +7029,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -7048,14 +7048,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty.Companion::unwrap)) } /** @@ -7072,7 +7072,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -7094,14 +7094,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -7116,14 +7116,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -7576,14 +7576,14 @@ public open class CfnAnalysis( * @param content The configuration of content in a body section. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The configuration of content in a body section. */ override fun content(content: BodySectionContentProperty) { - cdkBuilder.content(content.let(BodySectionContentProperty::unwrap)) + cdkBuilder.content(content.let(BodySectionContentProperty.Companion::unwrap)) } /** @@ -7598,7 +7598,7 @@ public open class CfnAnalysis( * @param pageBreakConfiguration The configuration of a page break for a section. */ override fun pageBreakConfiguration(pageBreakConfiguration: IResolvable) { - cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable::unwrap)) + cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -7606,7 +7606,7 @@ public open class CfnAnalysis( */ override fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty) { - cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty::unwrap)) + cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty.Companion::unwrap)) } /** @@ -7630,14 +7630,14 @@ public open class CfnAnalysis( * @param style The style options of a body section. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a body section. */ override fun style(style: SectionStyleProperty) { - cdkBuilder.style(style.let(SectionStyleProperty::unwrap)) + cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** @@ -7794,14 +7794,14 @@ public open class CfnAnalysis( * @param layout The layout configuration of a body section. */ override fun layout(layout: IResolvable) { - cdkBuilder.layout(layout.let(IResolvable::unwrap)) + cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of a body section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { - cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -8418,7 +8418,7 @@ public open class CfnAnalysis( * Values are grouped based on group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -8440,7 +8440,7 @@ public open class CfnAnalysis( * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -8808,14 +8808,14 @@ public open class CfnAnalysis( * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: IResolvable) { - cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable::unwrap)) + cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable.Companion::unwrap)) } /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty) { - cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty::unwrap)) + cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty.Companion::unwrap)) } /** @@ -8831,7 +8831,7 @@ public open class CfnAnalysis( * plot category. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** @@ -8839,7 +8839,7 @@ public open class CfnAnalysis( * plot category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -8856,7 +8856,7 @@ public open class CfnAnalysis( * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8864,7 +8864,7 @@ public open class CfnAnalysis( * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -8881,14 +8881,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BoxPlotFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty.Companion::unwrap)) } /** @@ -8903,14 +8903,14 @@ public open class CfnAnalysis( * @param legend the value to be set. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend the value to be set. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -8926,7 +8926,7 @@ public open class CfnAnalysis( * step) of a box plot category. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8935,7 +8935,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -8953,7 +8953,7 @@ public open class CfnAnalysis( * icon visibility) of a box plot value. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8962,7 +8962,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -8979,7 +8979,7 @@ public open class CfnAnalysis( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -8999,14 +8999,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty.Companion::unwrap)) } /** @@ -9022,14 +9022,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -9044,14 +9044,14 @@ public open class CfnAnalysis( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -9713,7 +9713,7 @@ public open class CfnAnalysis( * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: IResolvable) { - cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -9721,7 +9721,7 @@ public open class CfnAnalysis( */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty) { - cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -9869,14 +9869,14 @@ public open class CfnAnalysis( * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: IResolvable) { - cdkBuilder.styleOptions(styleOptions.let(IResolvable::unwrap)) + cdkBuilder.styleOptions(styleOptions.let(IResolvable.Companion::unwrap)) } /** * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty) { - cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty::unwrap)) + cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty.Companion::unwrap)) } /** @@ -10047,7 +10047,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of a group by fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -10067,7 +10067,7 @@ public open class CfnAnalysis( * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10075,7 +10075,7 @@ public open class CfnAnalysis( */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** @@ -10377,7 +10377,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -10396,14 +10396,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty.Companion::unwrap)) } /** @@ -10420,7 +10420,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -10442,14 +10442,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -10464,14 +10464,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -10875,7 +10875,7 @@ public open class CfnAnalysis( * the current control. */ override fun sourceControls(sourceControls: IResolvable) { - cdkBuilder.sourceControls(sourceControls.let(IResolvable::unwrap)) + cdkBuilder.sourceControls(sourceControls.let(IResolvable.Companion::unwrap)) } /** @@ -11006,7 +11006,7 @@ public open class CfnAnalysis( * source sheet control. */ override fun columnToMatch(columnToMatch: IResolvable) { - cdkBuilder.columnToMatch(columnToMatch.let(IResolvable::unwrap)) + cdkBuilder.columnToMatch(columnToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -11014,7 +11014,7 @@ public open class CfnAnalysis( * source sheet control. */ override fun columnToMatch(columnToMatch: ColumnIdentifierProperty) { - cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11257,14 +11257,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11286,14 +11286,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -11558,14 +11558,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11587,14 +11587,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -11662,7 +11662,7 @@ public open class CfnAnalysis( } /** - * The numeric equality type drill down filter. + * The category drill down filter. * * Example: * @@ -11757,14 +11757,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11968,7 +11968,7 @@ public open class CfnAnalysis( * This filter can be partially matched. */ override fun customFilterConfiguration(customFilterConfiguration: IResolvable) { - cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11977,7 +11977,7 @@ public open class CfnAnalysis( */ override fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty) { - cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty::unwrap)) + cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty.Companion::unwrap)) } /** @@ -11996,7 +11996,7 @@ public open class CfnAnalysis( * In the Amazon QuickSight console, this filter type is called a custom filter list. */ override fun customFilterListConfiguration(customFilterListConfiguration: IResolvable) { - cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -12005,7 +12005,7 @@ public open class CfnAnalysis( */ override fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty) { - cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty::unwrap)) + cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty.Companion::unwrap)) } /** @@ -12024,7 +12024,7 @@ public open class CfnAnalysis( * In the Amazon QuickSight console, this filter type is called a filter list. */ override fun filterListConfiguration(filterListConfiguration: IResolvable) { - cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -12033,7 +12033,7 @@ public open class CfnAnalysis( */ override fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty) { - cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty::unwrap)) + cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty.Companion::unwrap)) } /** @@ -12145,6 +12145,205 @@ public open class CfnAnalysis( * .build()) * .build()) * .filterId("filterId") + * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .build(); * ``` * @@ -12165,6 +12364,16 @@ public open class CfnAnalysis( */ public fun configuration(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-categoryfilter.html#cfn-quicksight-analysis-categoryfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -12212,6 +12421,31 @@ public open class CfnAnalysis( public fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("2c6c825142ac47b04c85b6726bf4a9fd76202f94b6f762938bc86e30e465f3bb") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -12228,14 +12462,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -12250,14 +12484,14 @@ public open class CfnAnalysis( * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: CategoryFilterConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty.Companion::unwrap)) } /** @@ -12269,6 +12503,38 @@ public open class CfnAnalysis( fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit): Unit = configuration(CategoryFilterConfigurationProperty(configuration)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("2c6c825142ac47b04c85b6726bf4a9fd76202f94b6f762938bc86e30e465f3bb") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -12299,6 +12565,16 @@ public open class CfnAnalysis( */ override fun configuration(): Any = unwrap(this).getConfiguration() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-categoryfilter.html#cfn-quicksight-analysis-categoryfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -12434,7 +12710,7 @@ public open class CfnAnalysis( * @param axisLabelOptions The label options for a chart axis. */ override fun axisLabelOptions(axisLabelOptions: IResolvable) { - cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -12581,14 +12857,14 @@ public open class CfnAnalysis( * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: IResolvable) { - cdkBuilder.clusterMarker(clusterMarker.let(IResolvable::unwrap)) + cdkBuilder.clusterMarker(clusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: ClusterMarkerProperty) { - cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty::unwrap)) + cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty.Companion::unwrap)) } /** @@ -12693,14 +12969,14 @@ public open class CfnAnalysis( * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: IResolvable) { - cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable::unwrap)) + cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty) { - cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty::unwrap)) + cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty.Companion::unwrap)) } /** @@ -12852,7 +13128,7 @@ public open class CfnAnalysis( * @param colors Determines the list of colors that are applied to the visual. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -12871,14 +13147,14 @@ public open class CfnAnalysis( * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: IResolvable) { - cdkBuilder.nullValueColor(nullValueColor.let(IResolvable::unwrap)) + cdkBuilder.nullValueColor(nullValueColor.let(IResolvable.Companion::unwrap)) } /** * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: DataColorProperty) { - cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty::unwrap)) + cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty.Companion::unwrap)) } /** @@ -12996,7 +13272,7 @@ public open class CfnAnalysis( * @param customColors A list of up to 50 custom colors. */ override fun customColors(customColors: IResolvable) { - cdkBuilder.customColors(customColors.let(IResolvable::unwrap)) + cdkBuilder.customColors(customColors.let(IResolvable.Companion::unwrap)) } /** @@ -13388,14 +13664,14 @@ public open class CfnAnalysis( * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: IResolvable) { - cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty) { - cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty::unwrap)) + cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty.Companion::unwrap)) } /** @@ -13411,14 +13687,14 @@ public open class CfnAnalysis( * @param column The column. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -13433,14 +13709,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** @@ -13731,14 +14007,14 @@ public open class CfnAnalysis( * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: IResolvable) { - cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable::unwrap)) + cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty) { - cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty::unwrap)) + cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty.Companion::unwrap)) } /** @@ -13756,7 +14032,7 @@ public open class CfnAnalysis( * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: IResolvable) { - cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable::unwrap)) + cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable.Companion::unwrap)) } /** @@ -13765,7 +14041,7 @@ public open class CfnAnalysis( * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty) { - cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty::unwrap)) + cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty.Companion::unwrap)) } /** @@ -13785,7 +14061,7 @@ public open class CfnAnalysis( * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: IResolvable) { - cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable::unwrap)) + cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable.Companion::unwrap)) } /** @@ -13794,7 +14070,7 @@ public open class CfnAnalysis( * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty) { - cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty::unwrap)) + cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty.Companion::unwrap)) } /** @@ -14080,14 +14356,14 @@ public open class CfnAnalysis( * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -14110,14 +14386,14 @@ public open class CfnAnalysis( * @param sortBy the value to be set. */ override fun sortBy(sortBy: IResolvable) { - cdkBuilder.sortBy(sortBy.let(IResolvable::unwrap)) + cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy the value to be set. */ override fun sortBy(sortBy: ColumnIdentifierProperty) { - cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -14297,14 +14573,14 @@ public open class CfnAnalysis( * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: IResolvable) { - cdkBuilder.aggregation(aggregation.let(IResolvable::unwrap)) + cdkBuilder.aggregation(aggregation.let(IResolvable.Companion::unwrap)) } /** * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: AggregationFunctionProperty) { - cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -14319,14 +14595,14 @@ public open class CfnAnalysis( * @param column The target column of the tooltip item. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The target column of the tooltip item. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -14521,7 +14797,7 @@ public open class CfnAnalysis( * @param barValues The aggregated `BarValues` field well of a combo chart. */ override fun barValues(barValues: IResolvable) { - cdkBuilder.barValues(barValues.let(IResolvable::unwrap)) + cdkBuilder.barValues(barValues.let(IResolvable.Companion::unwrap)) } /** @@ -14540,7 +14816,7 @@ public open class CfnAnalysis( * @param category The aggregated category field wells of a combo chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -14559,7 +14835,7 @@ public open class CfnAnalysis( * @param colors The aggregated colors field well of a combo chart. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -14578,7 +14854,7 @@ public open class CfnAnalysis( * @param lineValues The aggregated `LineValues` field well of a combo chart. */ override fun lineValues(lineValues: IResolvable) { - cdkBuilder.lineValues(lineValues.let(IResolvable::unwrap)) + cdkBuilder.lineValues(lineValues.let(IResolvable.Companion::unwrap)) } /** @@ -15101,7 +15377,7 @@ public open class CfnAnalysis( * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: IResolvable) { - cdkBuilder.barDataLabels(barDataLabels.let(IResolvable::unwrap)) + cdkBuilder.barDataLabels(barDataLabels.let(IResolvable.Companion::unwrap)) } /** @@ -15109,7 +15385,7 @@ public open class CfnAnalysis( * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: DataLabelOptionsProperty) { - cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -15137,14 +15413,14 @@ public open class CfnAnalysis( * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -15160,7 +15436,7 @@ public open class CfnAnalysis( * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -15168,7 +15444,7 @@ public open class CfnAnalysis( * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -15186,7 +15462,7 @@ public open class CfnAnalysis( * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -15194,7 +15470,7 @@ public open class CfnAnalysis( * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -15211,14 +15487,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ComboChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty.Companion::unwrap)) } /** @@ -15233,14 +15509,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -15256,7 +15532,7 @@ public open class CfnAnalysis( * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: IResolvable) { - cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable::unwrap)) + cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable.Companion::unwrap)) } /** @@ -15264,7 +15540,7 @@ public open class CfnAnalysis( * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty) { - cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -15281,7 +15557,7 @@ public open class CfnAnalysis( * axis step) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -15290,7 +15566,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -15308,7 +15584,7 @@ public open class CfnAnalysis( * icon visibility) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -15317,7 +15593,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -15334,7 +15610,7 @@ public open class CfnAnalysis( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -15355,7 +15631,7 @@ public open class CfnAnalysis( * axis step) of a combo chart's secondary y-axis (line) field well. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -15364,7 +15640,7 @@ public open class CfnAnalysis( */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -15383,7 +15659,7 @@ public open class CfnAnalysis( * icon visibility) of a combo chart's secondary y-axis(line) field well. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -15392,7 +15668,7 @@ public open class CfnAnalysis( */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -15410,14 +15686,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -15433,14 +15709,14 @@ public open class CfnAnalysis( * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -15455,14 +15731,14 @@ public open class CfnAnalysis( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -15697,7 +15973,7 @@ public open class CfnAnalysis( * category. */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: IResolvable) { - cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -15707,7 +15983,7 @@ public open class CfnAnalysis( */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty) { - cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -15958,7 +16234,7 @@ public open class CfnAnalysis( * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -15966,7 +16242,7 @@ public open class CfnAnalysis( * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -15983,7 +16259,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of the category field well in a combo chart. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -16004,7 +16280,7 @@ public open class CfnAnalysis( * chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -16012,7 +16288,7 @@ public open class CfnAnalysis( * chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -16029,7 +16305,7 @@ public open class CfnAnalysis( * @param colorSort The sort configuration of the color field well in a combo chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -16269,7 +16545,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -16288,14 +16564,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty.Companion::unwrap)) } /** @@ -16312,7 +16588,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -16334,14 +16610,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -16356,14 +16632,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -16576,14 +16852,14 @@ public open class CfnAnalysis( * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: IResolvable) { - cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable::unwrap)) + cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable.Companion::unwrap)) } /** * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty) { - cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty::unwrap)) + cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty.Companion::unwrap)) } /** @@ -16782,7 +17058,7 @@ public open class CfnAnalysis( * @param numberDisplayFormatConfiguration The number display format. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -16790,7 +17066,7 @@ public open class CfnAnalysis( */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -16808,7 +17084,7 @@ public open class CfnAnalysis( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -16816,7 +17092,7 @@ public open class CfnAnalysis( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -17148,14 +17424,14 @@ public open class CfnAnalysis( * @param forecast The forecast computation configuration. */ override fun forecast(forecast: IResolvable) { - cdkBuilder.forecast(forecast.let(IResolvable::unwrap)) + cdkBuilder.forecast(forecast.let(IResolvable.Companion::unwrap)) } /** * @param forecast The forecast computation configuration. */ override fun forecast(forecast: ForecastComputationProperty) { - cdkBuilder.forecast(forecast.let(ForecastComputationProperty::unwrap)) + cdkBuilder.forecast(forecast.let(ForecastComputationProperty.Companion::unwrap)) } /** @@ -17170,14 +17446,14 @@ public open class CfnAnalysis( * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: IResolvable) { - cdkBuilder.growthRate(growthRate.let(IResolvable::unwrap)) + cdkBuilder.growthRate(growthRate.let(IResolvable.Companion::unwrap)) } /** * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: GrowthRateComputationProperty) { - cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty::unwrap)) + cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty.Companion::unwrap)) } /** @@ -17192,14 +17468,14 @@ public open class CfnAnalysis( * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: IResolvable) { - cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable::unwrap)) + cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable.Companion::unwrap)) } /** * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty) { - cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty::unwrap)) + cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty.Companion::unwrap)) } /** @@ -17215,14 +17491,14 @@ public open class CfnAnalysis( * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: IResolvable) { - cdkBuilder.metricComparison(metricComparison.let(IResolvable::unwrap)) + cdkBuilder.metricComparison(metricComparison.let(IResolvable.Companion::unwrap)) } /** * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: MetricComparisonComputationProperty) { - cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty::unwrap)) + cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty.Companion::unwrap)) } /** @@ -17238,14 +17514,14 @@ public open class CfnAnalysis( * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: IResolvable) { - cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable::unwrap)) + cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable.Companion::unwrap)) } /** * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty) { - cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty::unwrap)) + cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty.Companion::unwrap)) } /** @@ -17261,14 +17537,14 @@ public open class CfnAnalysis( * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: IResolvable) { - cdkBuilder.periodToDate(periodToDate.let(IResolvable::unwrap)) + cdkBuilder.periodToDate(periodToDate.let(IResolvable.Companion::unwrap)) } /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: PeriodToDateComputationProperty) { - cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty::unwrap)) + cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty.Companion::unwrap)) } /** @@ -17283,14 +17559,14 @@ public open class CfnAnalysis( * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: IResolvable) { - cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable::unwrap)) + cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable.Companion::unwrap)) } /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty) { - cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty::unwrap)) + cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty.Companion::unwrap)) } /** @@ -17306,14 +17582,14 @@ public open class CfnAnalysis( * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: IResolvable) { - cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable::unwrap)) + cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable.Companion::unwrap)) } /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty) { - cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty::unwrap)) + cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty.Companion::unwrap)) } /** @@ -17329,14 +17605,14 @@ public open class CfnAnalysis( * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: IResolvable) { - cdkBuilder.totalAggregation(totalAggregation.let(IResolvable::unwrap)) + cdkBuilder.totalAggregation(totalAggregation.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: TotalAggregationComputationProperty) { - cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty::unwrap)) + cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty.Companion::unwrap)) } /** @@ -17352,14 +17628,14 @@ public open class CfnAnalysis( * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: IResolvable) { - cdkBuilder.uniqueValues(uniqueValues.let(IResolvable::unwrap)) + cdkBuilder.uniqueValues(uniqueValues.let(IResolvable.Companion::unwrap)) } /** * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: UniqueValuesComputationProperty) { - cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty::unwrap)) + cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty.Companion::unwrap)) } /** @@ -17563,14 +17839,14 @@ public open class CfnAnalysis( * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: IResolvable) { - cdkBuilder.gradient(gradient.let(IResolvable::unwrap)) + cdkBuilder.gradient(gradient.let(IResolvable.Companion::unwrap)) } /** * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: ConditionalFormattingGradientColorProperty) { - cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty::unwrap)) + cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty.Companion::unwrap)) } /** @@ -17586,14 +17862,14 @@ public open class CfnAnalysis( * @param solid Formatting configuration for solid color. */ override fun solid(solid: IResolvable) { - cdkBuilder.solid(solid.let(IResolvable::unwrap)) + cdkBuilder.solid(solid.let(IResolvable.Companion::unwrap)) } /** * @param solid Formatting configuration for solid color. */ override fun solid(solid: ConditionalFormattingSolidColorProperty) { - cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty::unwrap)) + cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty.Companion::unwrap)) } /** @@ -17772,7 +18048,7 @@ public open class CfnAnalysis( * @param displayConfiguration Determines the icon display configuration. */ override fun displayConfiguration(displayConfiguration: IResolvable) { - cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable::unwrap)) + cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -17780,7 +18056,7 @@ public open class CfnAnalysis( */ override fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty) { - cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty::unwrap)) + cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty.Companion::unwrap)) } /** @@ -17804,14 +18080,14 @@ public open class CfnAnalysis( * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: IResolvable) { - cdkBuilder.iconOptions(iconOptions.let(IResolvable::unwrap)) + cdkBuilder.iconOptions(iconOptions.let(IResolvable.Companion::unwrap)) } /** * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty) { - cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty::unwrap)) + cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty.Companion::unwrap)) } /** @@ -18069,14 +18345,14 @@ public open class CfnAnalysis( * @param color Determines the color. */ override fun color(color: IResolvable) { - cdkBuilder.color(color.let(IResolvable::unwrap)) + cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** * @param color Determines the color. */ override fun color(color: GradientColorProperty) { - cdkBuilder.color(color.let(GradientColorProperty::unwrap)) + cdkBuilder.color(color.let(GradientColorProperty.Companion::unwrap)) } /** @@ -18321,7 +18597,7 @@ public open class CfnAnalysis( * @param customCondition Determines the custom condition for an icon set. */ override fun customCondition(customCondition: IResolvable) { - cdkBuilder.customCondition(customCondition.let(IResolvable::unwrap)) + cdkBuilder.customCondition(customCondition.let(IResolvable.Companion::unwrap)) } /** @@ -18329,7 +18605,7 @@ public open class CfnAnalysis( */ override fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty) { - cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty::unwrap)) + cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty.Companion::unwrap)) } /** @@ -18345,14 +18621,14 @@ public open class CfnAnalysis( * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: IResolvable) { - cdkBuilder.iconSet(iconSet.let(IResolvable::unwrap)) + cdkBuilder.iconSet(iconSet.let(IResolvable.Companion::unwrap)) } /** * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: ConditionalFormattingIconSetProperty) { - cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty::unwrap)) + cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty.Companion::unwrap)) } /** @@ -18710,7 +18986,7 @@ public open class CfnAnalysis( * analysis, usually a list of `ColumnIdentifiers` . */ override fun contributorDimensions(contributorDimensions: IResolvable) { - cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable::unwrap)) + cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable.Companion::unwrap)) } /** @@ -18996,7 +19272,7 @@ public open class CfnAnalysis( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19005,7 +19281,7 @@ public open class CfnAnalysis( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -19024,7 +19300,7 @@ public open class CfnAnalysis( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19033,7 +19309,7 @@ public open class CfnAnalysis( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -19052,7 +19328,7 @@ public open class CfnAnalysis( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19061,7 +19337,7 @@ public open class CfnAnalysis( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -19094,7 +19370,7 @@ public open class CfnAnalysis( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19103,7 +19379,7 @@ public open class CfnAnalysis( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -19322,7 +19598,7 @@ public open class CfnAnalysis( * filtered. */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: IResolvable) { - cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19331,7 +19607,7 @@ public open class CfnAnalysis( */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty) { - cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty::unwrap)) + cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty.Companion::unwrap)) } /** @@ -19350,7 +19626,7 @@ public open class CfnAnalysis( * filtered. */ override fun targetVisualsConfiguration(targetVisualsConfiguration: IResolvable) { - cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19359,7 +19635,7 @@ public open class CfnAnalysis( */ override fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty) { - cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty::unwrap)) + cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty.Companion::unwrap)) } /** @@ -19481,7 +19757,7 @@ public open class CfnAnalysis( * @param localNavigationConfiguration The configuration that chooses the navigation target. */ override fun localNavigationConfiguration(localNavigationConfiguration: IResolvable) { - cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -19489,7 +19765,7 @@ public open class CfnAnalysis( */ override fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty) { - cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty::unwrap)) + cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty.Companion::unwrap)) } /** @@ -19615,7 +19891,7 @@ public open class CfnAnalysis( * @param parameterValueConfigurations The parameter that determines the value configuration. */ override fun parameterValueConfigurations(parameterValueConfigurations: IResolvable) { - cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable::unwrap)) + cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -20329,7 +20605,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -20348,14 +20624,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty.Companion::unwrap)) } /** @@ -20379,14 +20655,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -20401,14 +20677,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -21152,7 +21428,7 @@ public open class CfnAnalysis( * @param decimalValues A list of decimal-type parameter values. */ override fun decimalValues(decimalValues: IResolvable) { - cdkBuilder.decimalValues(decimalValues.let(IResolvable::unwrap)) + cdkBuilder.decimalValues(decimalValues.let(IResolvable.Companion::unwrap)) } /** @@ -21172,7 +21448,7 @@ public open class CfnAnalysis( * @param integerValues A list of integer-type parameter values. */ override fun integerValues(integerValues: IResolvable) { - cdkBuilder.integerValues(integerValues.let(IResolvable::unwrap)) + cdkBuilder.integerValues(integerValues.let(IResolvable.Companion::unwrap)) } /** @@ -21337,14 +21613,14 @@ public open class CfnAnalysis( * @param customValues the value to be set. */ override fun customValues(customValues: IResolvable) { - cdkBuilder.customValues(customValues.let(IResolvable::unwrap)) + cdkBuilder.customValues(customValues.let(IResolvable.Companion::unwrap)) } /** * @param customValues the value to be set. */ override fun customValues(customValues: CustomParameterValuesProperty) { - cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty::unwrap)) + cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty.Companion::unwrap)) } /** @@ -21366,7 +21642,7 @@ public open class CfnAnalysis( * @param includeNullValue Includes the null value in custom action parameter values. */ override fun includeNullValue(includeNullValue: IResolvable) { - cdkBuilder.includeNullValue(includeNullValue.let(IResolvable::unwrap)) + cdkBuilder.includeNullValue(includeNullValue.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -21787,7 +22063,7 @@ public open class CfnAnalysis( * the field. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -21795,7 +22071,7 @@ public open class CfnAnalysis( * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { - cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -22082,7 +22358,7 @@ public open class CfnAnalysis( * @param dataLabelTypes The option that determines the data label type. */ override fun dataLabelTypes(dataLabelTypes: IResolvable) { - cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable::unwrap)) + cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable.Companion::unwrap)) } /** @@ -22116,14 +22392,14 @@ public open class CfnAnalysis( * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -22449,14 +22725,14 @@ public open class CfnAnalysis( * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: IResolvable) { - cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable::unwrap)) + cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty) { - cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty::unwrap)) + cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty.Companion::unwrap)) } /** @@ -22472,14 +22748,14 @@ public open class CfnAnalysis( * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: IResolvable) { - cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable::unwrap)) + cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable.Companion::unwrap)) } /** * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty) { - cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty::unwrap)) + cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty.Companion::unwrap)) } /** @@ -22495,7 +22771,7 @@ public open class CfnAnalysis( * visual. */ override fun maximumLabelType(maximumLabelType: IResolvable) { - cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable::unwrap)) + cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -22503,7 +22779,7 @@ public open class CfnAnalysis( * visual. */ override fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty) { - cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty::unwrap)) + cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty.Companion::unwrap)) } /** @@ -22520,7 +22796,7 @@ public open class CfnAnalysis( * visual. */ override fun minimumLabelType(minimumLabelType: IResolvable) { - cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable::unwrap)) + cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -22528,7 +22804,7 @@ public open class CfnAnalysis( * visual. */ override fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty) { - cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty::unwrap)) + cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty.Companion::unwrap)) } /** @@ -22545,7 +22821,7 @@ public open class CfnAnalysis( * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: IResolvable) { - cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable::unwrap)) + cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -22553,7 +22829,7 @@ public open class CfnAnalysis( * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty) { - cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty::unwrap)) + cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty.Companion::unwrap)) } /** @@ -22725,14 +23001,14 @@ public open class CfnAnalysis( * @param element The element that the color needs to be applied to. */ override fun element(element: IResolvable) { - cdkBuilder.element(element.let(IResolvable::unwrap)) + cdkBuilder.element(element.let(IResolvable.Companion::unwrap)) } /** * @param element The element that the color needs to be applied to. */ override fun element(element: DataPathValueProperty) { - cdkBuilder.element(element.let(DataPathValueProperty::unwrap)) + cdkBuilder.element(element.let(DataPathValueProperty.Companion::unwrap)) } /** @@ -23014,7 +23290,7 @@ public open class CfnAnalysis( * @param sortPaths The list of data paths that need to be sorted. */ override fun sortPaths(sortPaths: IResolvable) { - cdkBuilder.sortPaths(sortPaths.let(IResolvable::unwrap)) + cdkBuilder.sortPaths(sortPaths.let(IResolvable.Companion::unwrap)) } /** @@ -23272,14 +23548,14 @@ public open class CfnAnalysis( * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: IResolvable) { - cdkBuilder.dataPathType(dataPathType.let(IResolvable::unwrap)) + cdkBuilder.dataPathType(dataPathType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: DataPathTypeProperty) { - cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty::unwrap)) + cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty.Companion::unwrap)) } /** @@ -23868,14 +24144,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -23914,14 +24190,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -24201,14 +24477,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -24230,14 +24506,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -24434,7 +24710,7 @@ public open class CfnAnalysis( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -24442,7 +24718,7 @@ public open class CfnAnalysis( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -24459,7 +24735,7 @@ public open class CfnAnalysis( * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** @@ -24467,7 +24743,7 @@ public open class CfnAnalysis( * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -24724,7 +25000,7 @@ public open class CfnAnalysis( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -24733,7 +25009,7 @@ public open class CfnAnalysis( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -24752,7 +25028,7 @@ public open class CfnAnalysis( * fields. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -24761,7 +25037,7 @@ public open class CfnAnalysis( */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -24921,7 +25197,7 @@ public open class CfnAnalysis( * `DateTime` hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -25162,7 +25438,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -25171,7 +25447,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: DateTimeDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty.Companion::unwrap)) } /** @@ -25188,7 +25464,7 @@ public open class CfnAnalysis( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -25224,7 +25500,7 @@ public open class CfnAnalysis( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -25232,7 +25508,7 @@ public open class CfnAnalysis( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -25550,7 +25826,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -25558,7 +25834,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -25575,14 +25851,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -25867,7 +26143,7 @@ public open class CfnAnalysis( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -25875,7 +26151,7 @@ public open class CfnAnalysis( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -25891,7 +26167,7 @@ public open class CfnAnalysis( * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -26120,7 +26396,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -26129,7 +26405,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: DecimalDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty.Companion::unwrap)) } /** @@ -26146,7 +26422,7 @@ public open class CfnAnalysis( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -26182,7 +26458,7 @@ public open class CfnAnalysis( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -26190,7 +26466,7 @@ public open class CfnAnalysis( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -26342,7 +26618,7 @@ public open class CfnAnalysis( * @param values The values for the decimal parameter. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -26607,7 +26883,7 @@ public open class CfnAnalysis( } /** - * The options that determine the default settings of a free-form layout configuration. + * The default options that correspond to the filter control type of a `DateTimePicker` . * * Example: * @@ -26615,235 +26891,174 @@ public open class CfnAnalysis( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = - * DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") + * DefaultDateTimePickerControlOptionsProperty defaultDateTimePickerControlOptionsProperty = + * DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") * .build()) * .build()) + * .type("type") * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfreeformlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultdatetimepickercontroloptions.html) */ - public interface DefaultFreeFormLayoutConfigurationProperty { + public interface DefaultDateTimePickerControlOptionsProperty { /** - * Determines the screen canvas size options for a free-form layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfreeformlayoutconfiguration.html#cfn-quicksight-analysis-defaultfreeformlayoutconfiguration-canvassizeoptions) - */ - public fun canvasSizeOptions(): Any - - /** - * A builder for [DefaultFreeFormLayoutConfigurationProperty] + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultdatetimepickercontroloptions.html#cfn-quicksight-analysis-defaultdatetimepickercontroloptions-displayoptions) */ - @CdkDslMarker - public interface Builder { - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("e9ff89a00ecb42ab32bad32fa8ae7fd1b0f4780befdf7bbd879b276bd38d40b9") - public - fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) - } - - private class BuilderImpl : Builder { - private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty.Builder - = - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty.builder() - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) - } - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty::unwrap)) - } - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("e9ff89a00ecb42ab32bad32fa8ae7fd1b0f4780befdf7bbd879b276bd38d40b9") - override - fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) - - public fun build(): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty - = cdkBuilder.build() - } - - private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { - /** - * Determines the screen canvas size options for a free-form layout. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfreeformlayoutconfiguration.html#cfn-quicksight-analysis-defaultfreeformlayoutconfiguration-canvassizeoptions) - */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() - } - - public companion object { - public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultFreeFormLayoutConfigurationProperty { - val builderImpl = BuilderImpl() - return Wrapper(builderImpl.apply(block).build()) - } - - internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty): - DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) - - internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty - = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty - } - } + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() - /** - * The options that determine the default settings for a grid layout configuration. - * - * Example: - * - * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = - * DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") - * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultgridlayoutconfiguration.html) - */ - public interface DefaultGridLayoutConfigurationProperty { /** - * Determines the screen canvas size options for a grid layout. + * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the + * following options:. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultgridlayoutconfiguration.html#cfn-quicksight-analysis-defaultgridlayoutconfiguration-canvassizeoptions) + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultdatetimepickercontroloptions.html#cfn-quicksight-analysis-defaultdatetimepickercontroloptions-type) */ - public fun canvasSizeOptions(): Any + public fun type(): String? = unwrap(this).getType() /** - * A builder for [DefaultGridLayoutConfigurationProperty] + * A builder for [DefaultDateTimePickerControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) + public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("70449428935a7d0bdff5ab1abe73c4e14d02d9a5bf483c3b1e099604d617b981") + @JvmName("6f43cbca66160f3810dd7e5995c76aefa0f321da547ce1e07b394fa01de972f3") public - fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose + * one of the following options:. + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + */ + public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty.builder() /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty::unwrap)) + override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("70449428935a7d0bdff5ab1abe73c4e14d02d9a5bf483c3b1e099604d617b981") + @JvmName("6f43cbca66160f3810dd7e5995c76aefa0f321da547ce1e07b394fa01de972f3") override - fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(DateTimePickerControlDisplayOptionsProperty(displayOptions)) + + /** + * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose + * one of the following options:. + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } public fun build(): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultDateTimePickerControlOptionsProperty { /** - * Determines the screen canvas size options for a grid layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultgridlayoutconfiguration.html#cfn-quicksight-analysis-defaultgridlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultdatetimepickercontroloptions.html#cfn-quicksight-analysis-defaultdatetimepickercontroloptions-displayoptions) */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the + * following options:. + * + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultdatetimepickercontroloptions.html#cfn-quicksight-analysis-defaultdatetimepickercontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultGridLayoutConfigurationProperty { + DefaultDateTimePickerControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty): - DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty): + DefaultDateTimePickerControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultDateTimePickerControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultDateTimePickerControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultDateTimePickerControlOptionsProperty } } /** - * The options that determine the default settings for interactive layout configuration. + * The default configuration for all dependent controls of the filter. * * Example: * @@ -26851,191 +27066,2575 @@ public open class CfnAnalysis( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = - * DefaultInteractiveLayoutConfigurationProperty.builder() - * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") + * DefaultFilterControlConfigurationProperty defaultFilterControlConfigurationProperty = + * DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) - * .grid(DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") - * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) + * .visibility("visibility") * .build()) * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html) - */ - public interface DefaultInteractiveLayoutConfigurationProperty { - /** - * The options that determine the default settings of a free-form layout configuration. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-freeform) - */ - public fun freeForm(): Any? = unwrap(this).getFreeForm() - - /** - * The options that determine the default settings for a grid layout configuration. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-grid) - */ - public fun grid(): Any? = unwrap(this).getGrid() - - /** - * A builder for [DefaultInteractiveLayoutConfigurationProperty] - */ - @CdkDslMarker - public interface Builder { - /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. - */ - public fun freeForm(freeForm: IResolvable) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontrolconfiguration.html) + */ + public interface DefaultFilterControlConfigurationProperty { + /** + * The control option for the `DefaultFilterControlConfiguration` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontrolconfiguration.html#cfn-quicksight-analysis-defaultfiltercontrolconfiguration-controloptions) + */ + public fun controlOptions(): Any + + /** + * The title of the `DefaultFilterControlConfiguration` . + * + * This title is shared by all controls that are tied to this filter. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontrolconfiguration.html#cfn-quicksight-analysis-defaultfiltercontrolconfiguration-title) + */ + public fun title(): String + + /** + * A builder for [DefaultFilterControlConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + public fun controlOptions(controlOptions: IResolvable) + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + public fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("4e1baa111958ad82c5174130d24a09df9f11f8c6b0cb33d00b449607ad1cb9f2") + public + fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit) + + /** + * @param title The title of the `DefaultFilterControlConfiguration` . + * This title is shared by all controls that are tied to this filter. + */ + public fun title(title: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty.builder() + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + override fun controlOptions(controlOptions: IResolvable) { + cdkBuilder.controlOptions(controlOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + override fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) { + cdkBuilder.controlOptions(controlOptions.let(DefaultFilterControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("4e1baa111958ad82c5174130d24a09df9f11f8c6b0cb33d00b449607ad1cb9f2") + override + fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit): + Unit = controlOptions(DefaultFilterControlOptionsProperty(controlOptions)) + + /** + * @param title The title of the `DefaultFilterControlConfiguration` . + * This title is shared by all controls that are tied to this filter. + */ + override fun title(title: String) { + cdkBuilder.title(title) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty, + ) : CdkObject(cdkObject), DefaultFilterControlConfigurationProperty { + /** + * The control option for the `DefaultFilterControlConfiguration` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontrolconfiguration.html#cfn-quicksight-analysis-defaultfiltercontrolconfiguration-controloptions) + */ + override fun controlOptions(): Any = unwrap(this).getControlOptions() + + /** + * The title of the `DefaultFilterControlConfiguration` . + * + * This title is shared by all controls that are tied to this filter. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontrolconfiguration.html#cfn-quicksight-analysis-defaultfiltercontrolconfiguration-title) + */ + override fun title(): String = unwrap(this).getTitle() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterControlConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty): + DefaultFilterControlConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterControlConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterControlConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlConfigurationProperty + } + } + + /** + * The option that corresponds to the control type of the filter. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterControlOptionsProperty defaultFilterControlOptionsProperty = + * DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html) + */ + public interface DefaultFilterControlOptionsProperty { + /** + * The default options that correspond to the filter control type of a `DateTimePicker` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultdatetimepickeroptions) + */ + public fun defaultDateTimePickerOptions(): Any? = unwrap(this).getDefaultDateTimePickerOptions() + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultdropdownoptions) + */ + public fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() + + /** + * The default options that correspond to the `List` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultlistoptions) + */ + public fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultrelativedatetimeoptions) + */ + public fun defaultRelativeDateTimeOptions(): Any? = + unwrap(this).getDefaultRelativeDateTimeOptions() + + /** + * The default options that correspond to the `Slider` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultslideroptions) + */ + public fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() + + /** + * The default options that correspond to the `TextArea` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaulttextareaoptions) + */ + public fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() + + /** + * The default options that correspond to the `TextField` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaulttextfieldoptions) + */ + public fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() + + /** + * A builder for [DefaultFilterControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + public fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + public + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ec527cfcc04f9c1e6740aa466d748333197a125cdec4a97af8e3c056eb1018c7") + public + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + public fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + public + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("01436f1936eccbb2b5356383f4f4e3cb837077b4ea90efeea34e62149258fd71") + public + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + public fun defaultListOptions(defaultListOptions: IResolvable) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + public fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("deae876d9cefb4dc942256160e0262109345c316c583b3afd680c992891751dc") + public + fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + public fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + public + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a65afcc2f37b3e1701523db44ca61a66dbf633ec77cfcbd4cbccb536c0ee8184") + public + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + public fun defaultSliderOptions(defaultSliderOptions: IResolvable) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + public fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6c9056cd770f6a5bac9fb3f36bc960f11f42f0d3329fcf4fb097e09455d9cd89") + public + fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + public fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + public + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("029bc1c83e2ab385a284fc5fff9675b447d18725bb09e0421b4a10c18f7159c0") + public + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + public fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + public + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cd914f4d349a982bb2d5915750c8739d7cfd7d8e2cce73fd763c9c3c3f2771dc") + public + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty.builder() + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + override fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) { + cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + override + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) { + cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(DefaultDateTimePickerControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ec527cfcc04f9c1e6740aa466d748333197a125cdec4a97af8e3c056eb1018c7") + override + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty(defaultDateTimePickerOptions)) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + override fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) { + cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + override + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) { + cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(DefaultFilterDropDownControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("01436f1936eccbb2b5356383f4f4e3cb837077b4ea90efeea34e62149258fd71") + override + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty(defaultDropdownOptions)) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + override fun defaultListOptions(defaultListOptions: IResolvable) { + cdkBuilder.defaultListOptions(defaultListOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + override fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) { + cdkBuilder.defaultListOptions(defaultListOptions.let(DefaultFilterListControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("deae876d9cefb4dc942256160e0262109345c316c583b3afd680c992891751dc") + override + fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit): + Unit = defaultListOptions(DefaultFilterListControlOptionsProperty(defaultListOptions)) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + override fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) { + cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + override + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) { + cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(DefaultRelativeDateTimeControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a65afcc2f37b3e1701523db44ca61a66dbf633ec77cfcbd4cbccb536c0ee8184") + override + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty(defaultRelativeDateTimeOptions)) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + override fun defaultSliderOptions(defaultSliderOptions: IResolvable) { + cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + override fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) { + cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(DefaultSliderControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6c9056cd770f6a5bac9fb3f36bc960f11f42f0d3329fcf4fb097e09455d9cd89") + override + fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit): + Unit = defaultSliderOptions(DefaultSliderControlOptionsProperty(defaultSliderOptions)) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + override fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) { + cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + override + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) { + cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(DefaultTextAreaControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("029bc1c83e2ab385a284fc5fff9675b447d18725bb09e0421b4a10c18f7159c0") + override + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty(defaultTextAreaOptions)) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + override fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) { + cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + override + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) { + cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(DefaultTextFieldControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cd914f4d349a982bb2d5915750c8739d7cfd7d8e2cce73fd763c9c3c3f2771dc") + override + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty(defaultTextFieldOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterControlOptionsProperty { + /** + * The default options that correspond to the filter control type of a `DateTimePicker` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultdatetimepickeroptions) + */ + override fun defaultDateTimePickerOptions(): Any? = + unwrap(this).getDefaultDateTimePickerOptions() + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultdropdownoptions) + */ + override fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() + + /** + * The default options that correspond to the `List` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultlistoptions) + */ + override fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultrelativedatetimeoptions) + */ + override fun defaultRelativeDateTimeOptions(): Any? = + unwrap(this).getDefaultRelativeDateTimeOptions() + + /** + * The default options that correspond to the `Slider` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaultslideroptions) + */ + override fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() + + /** + * The default options that correspond to the `TextArea` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaulttextareaoptions) + */ + override fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() + + /** + * The default options that correspond to the `TextField` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfiltercontroloptions.html#cfn-quicksight-analysis-defaultfiltercontroloptions-defaulttextfieldoptions) + */ + override fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty): + DefaultFilterControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterControlOptionsProperty + } + } + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterDropDownControlOptionsProperty defaultFilterDropDownControlOptionsProperty = + * DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html) + */ + public interface DefaultFilterDropDownControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html#cfn-quicksight-analysis-defaultfilterdropdowncontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html#cfn-quicksight-analysis-defaultfilterdropdowncontroloptions-selectablevalues) + */ + public fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `FilterDropDownControl` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html#cfn-quicksight-analysis-defaultfilterdropdowncontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultFilterDropDownControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("2b13398a7b8840336933168f617ec53248c5c8902aa15d8937f884f7205c234a") + public + fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: IResolvable) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: FilterSelectableValuesProperty) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c139a0ca0d905cdb0e099511574bfdfd13d2a63796d8ea39149534f34f70abfb") + public + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) + + /** + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("2b13398a7b8840336933168f617ec53248c5c8902aa15d8937f884f7205c234a") + override + fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(DropDownControlDisplayOptionsProperty(displayOptions)) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: IResolvable) { + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c139a0ca0d905cdb0e099511574bfdfd13d2a63796d8ea39149534f34f70abfb") + override + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): + Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) + + /** + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterDropDownControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html#cfn-quicksight-analysis-defaultfilterdropdowncontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html#cfn-quicksight-analysis-defaultfilterdropdowncontroloptions-selectablevalues) + */ + override fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `FilterDropDownControl` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterdropdowncontroloptions.html#cfn-quicksight-analysis-defaultfilterdropdowncontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterDropDownControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty): + DefaultFilterDropDownControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterDropDownControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterDropDownControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterDropDownControlOptionsProperty + } + } + + /** + * The default options that correspond to the `List` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterListControlOptionsProperty defaultFilterListControlOptionsProperty = + * DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html) + */ + public interface DefaultFilterListControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html#cfn-quicksight-analysis-defaultfilterlistcontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html#cfn-quicksight-analysis-defaultfilterlistcontroloptions-selectablevalues) + */ + public fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html#cfn-quicksight-analysis-defaultfilterlistcontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultFilterListControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cec972c7f1ee8360dab4207b1075c46b1fd7ce4d64d1feb0dc657be976aa5031") + public + fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: IResolvable) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: FilterSelectableValuesProperty) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6d82994f92e31bd9d221fefe94479169f40f3f74ebc1d986ffc49c955e3bdd58") + public + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) + + /** + * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following + * options:. + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cec972c7f1ee8360dab4207b1075c46b1fd7ce4d64d1feb0dc657be976aa5031") + override + fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(ListControlDisplayOptionsProperty(displayOptions)) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: IResolvable) { + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6d82994f92e31bd9d221fefe94479169f40f3f74ebc1d986ffc49c955e3bdd58") + override + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): + Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) + + /** + * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following + * options:. + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterListControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html#cfn-quicksight-analysis-defaultfilterlistcontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html#cfn-quicksight-analysis-defaultfilterlistcontroloptions-selectablevalues) + */ + override fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfilterlistcontroloptions.html#cfn-quicksight-analysis-defaultfilterlistcontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterListControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty): + DefaultFilterListControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterListControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterListControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFilterListControlOptionsProperty + } + } + + /** + * The options that determine the default settings of a free-form layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = + * DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfreeformlayoutconfiguration.html) + */ + public interface DefaultFreeFormLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a free-form layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfreeformlayoutconfiguration.html#cfn-quicksight-analysis-defaultfreeformlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultFreeFormLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e9ff89a00ecb42ab32bad32fa8ae7fd1b0f4780befdf7bbd879b276bd38d40b9") + public + fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e9ff89a00ecb42ab32bad32fa8ae7fd1b0f4780befdf7bbd879b276bd38d40b9") + override + fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a free-form layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultfreeformlayoutconfiguration.html#cfn-quicksight-analysis-defaultfreeformlayoutconfiguration-canvassizeoptions) + */ + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFreeFormLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty): + DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultFreeFormLayoutConfigurationProperty + } + } + + /** + * The options that determine the default settings for a grid layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = + * DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultgridlayoutconfiguration.html) + */ + public interface DefaultGridLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a grid layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultgridlayoutconfiguration.html#cfn-quicksight-analysis-defaultgridlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultGridLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("70449428935a7d0bdff5ab1abe73c4e14d02d9a5bf483c3b1e099604d617b981") + public + fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("70449428935a7d0bdff5ab1abe73c4e14d02d9a5bf483c3b1e099604d617b981") + override + fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a grid layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultgridlayoutconfiguration.html#cfn-quicksight-analysis-defaultgridlayoutconfiguration-canvassizeoptions) + */ + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultGridLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty): + DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultGridLayoutConfigurationProperty + } + } + + /** + * The options that determine the default settings for interactive layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = + * DefaultInteractiveLayoutConfigurationProperty.builder() + * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .grid(DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html) + */ + public interface DefaultInteractiveLayoutConfigurationProperty { + /** + * The options that determine the default settings of a free-form layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-freeform) + */ + public fun freeForm(): Any? = unwrap(this).getFreeForm() + + /** + * The options that determine the default settings for a grid layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-grid) + */ + public fun grid(): Any? = unwrap(this).getGrid() + + /** + * A builder for [DefaultInteractiveLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + public fun freeForm(freeForm: IResolvable) + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8b6142e31502321316ad7d10dbb0b05a7d1470e30bc210e71c1d927d6f70bb27") + public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + public fun grid(grid: IResolvable) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + public fun grid(grid: DefaultGridLayoutConfigurationProperty) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a317ab08a92ec87e7e62bee324694ab1b7fd7ab4b2a91f6e04daa322f83c9544") + public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty.builder() + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + override fun freeForm(freeForm: IResolvable) { + cdkBuilder.freeForm(freeForm.let(IResolvable.Companion::unwrap)) + } + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { + cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8b6142e31502321316ad7d10dbb0b05a7d1470e30bc210e71c1d927d6f70bb27") + override + fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): + Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + override fun grid(grid: IResolvable) { + cdkBuilder.grid(grid.let(IResolvable.Companion::unwrap)) + } + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + override fun grid(grid: DefaultGridLayoutConfigurationProperty) { + cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a317ab08a92ec87e7e62bee324694ab1b7fd7ab4b2a91f6e04daa322f83c9544") + override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = + grid(DefaultGridLayoutConfigurationProperty(grid)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { + /** + * The options that determine the default settings of a free-form layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-freeform) + */ + override fun freeForm(): Any? = unwrap(this).getFreeForm() + + /** + * The options that determine the default settings for a grid layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-grid) + */ + override fun grid(): Any? = unwrap(this).getGrid() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultInteractiveLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty): + DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty + } + } + + /** + * The configuration for default new sheet settings. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = + * DefaultNewSheetConfigurationProperty.builder() + * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() + * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .grid(DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .build()) + * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() + * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build()) + * .build()) + * .sheetContentType("sheetContentType") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html) + */ + public interface DefaultNewSheetConfigurationProperty { + /** + * The options that determine the default settings for interactive layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-interactivelayoutconfiguration) + */ + public fun interactiveLayoutConfiguration(): Any? = + unwrap(this).getInteractiveLayoutConfiguration() + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + */ + public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() + + /** + * The option that determines the sheet content type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-sheetcontenttype) + */ + public fun sheetContentType(): String? = unwrap(this).getSheetContentType() + /** + * A builder for [DefaultNewSheetConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) + public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. + */ + public + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) + + /** + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("8b6142e31502321316ad7d10dbb0b05a7d1470e30bc210e71c1d927d6f70bb27") - public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) + @JvmName("ab88a70fd4a9db376bd83ec7d1a5fc0b7de35d9b38d28981dd2bb6b87ca17660") + public + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - public fun grid(grid: IResolvable) + public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - public fun grid(grid: DefaultGridLayoutConfigurationProperty) + public + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("a317ab08a92ec87e7e62bee324694ab1b7fd7ab4b2a91f6e04daa322f83c9544") - public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) + @JvmName("3b66c6468fa6e1741a37f5da87305845bb70747275bf76a2673a4e542186eb9d") + public + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) + + /** + * @param sheetContentType The option that determines the sheet content type. + */ + public fun sheetContentType(sheetContentType: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty.builder() /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - override fun freeForm(freeForm: IResolvable) { - cdkBuilder.freeForm(freeForm.let(IResolvable::unwrap)) + override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { + cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { - cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty::unwrap)) + override + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { + cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty.Companion::unwrap)) } /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("8b6142e31502321316ad7d10dbb0b05a7d1470e30bc210e71c1d927d6f70bb27") + @JvmName("ab88a70fd4a9db376bd83ec7d1a5fc0b7de35d9b38d28981dd2bb6b87ca17660") override - fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): - Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): + Unit = + interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - override fun grid(grid: IResolvable) { - cdkBuilder.grid(grid.let(IResolvable::unwrap)) + override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { + cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - override fun grid(grid: DefaultGridLayoutConfigurationProperty) { - cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty::unwrap)) + override + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { + cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty.Companion::unwrap)) } /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("a317ab08a92ec87e7e62bee324694ab1b7fd7ab4b2a91f6e04daa322f83c9544") - override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = - grid(DefaultGridLayoutConfigurationProperty(grid)) + @JvmName("3b66c6468fa6e1741a37f5da87305845bb70747275bf76a2673a4e542186eb9d") + override + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): + Unit = + paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) + + /** + * @param sheetContentType The option that determines the sheet content type. + */ + override fun sheetContentType(sheetContentType: String) { + cdkBuilder.sheetContentType(sheetContentType) + } public fun build(): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty, + ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { /** - * The options that determine the default settings of a free-form layout configuration. + * The options that determine the default settings for interactive layout configuration. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-freeform) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-interactivelayoutconfiguration) */ - override fun freeForm(): Any? = unwrap(this).getFreeForm() + override fun interactiveLayoutConfiguration(): Any? = + unwrap(this).getInteractiveLayoutConfiguration() + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + */ + override fun paginatedLayoutConfiguration(): Any? = + unwrap(this).getPaginatedLayoutConfiguration() + + /** + * The option that determines the sheet content type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-sheetcontenttype) + */ + override fun sheetContentType(): String? = unwrap(this).getSheetContentType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultNewSheetConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty): + DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty + } + } + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = + * DefaultPaginatedLayoutConfigurationProperty.builder() + * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultpaginatedlayoutconfiguration.html) + */ + public interface DefaultPaginatedLayoutConfigurationProperty { + /** + * The options that determine the default settings for a section-based layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-analysis-defaultpaginatedlayoutconfiguration-sectionbased) + */ + public fun sectionBased(): Any? = unwrap(this).getSectionBased() + + /** + * A builder for [DefaultPaginatedLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + public fun sectionBased(sectionBased: IResolvable) + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8684309fb10389272de1c3978361259f33265ea1cff5c3b1c310f119e8be386b") + public + fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty.builder() + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + override fun sectionBased(sectionBased: IResolvable) { + cdkBuilder.sectionBased(sectionBased.let(IResolvable.Companion::unwrap)) + } + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { + cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8684309fb10389272de1c3978361259f33265ea1cff5c3b1c310f119e8be386b") + override + fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): + Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { + /** + * The options that determine the default settings for a section-based layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-analysis-defaultpaginatedlayoutconfiguration-sectionbased) + */ + override fun sectionBased(): Any? = unwrap(this).getSectionBased() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultPaginatedLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty): + DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty + } + } + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultRelativeDateTimeControlOptionsProperty defaultRelativeDateTimeControlOptionsProperty = + * DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultrelativedatetimecontroloptions.html) + */ + public interface DefaultRelativeDateTimeControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultrelativedatetimecontroloptions.html#cfn-quicksight-analysis-defaultrelativedatetimecontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A builder for [DefaultRelativeDateTimeControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("53bdc5c08be79866123016740bedde58772dc2eea8c7d5fb23c266ce5e8c351c") + public + fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("53bdc5c08be79866123016740bedde58772dc2eea8c7d5fb23c266ce5e8c351c") + override + fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(RelativeDateTimeControlDisplayOptionsProperty(displayOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultRelativeDateTimeControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultrelativedatetimecontroloptions.html#cfn-quicksight-analysis-defaultrelativedatetimecontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultRelativeDateTimeControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty): + DefaultRelativeDateTimeControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultRelativeDateTimeControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultRelativeDateTimeControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultRelativeDateTimeControlOptionsProperty + } + } + + /** + * The options that determine the default settings for a section-based layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = + * DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultsectionbasedlayoutconfiguration.html) + */ + public interface DefaultSectionBasedLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a section-based layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-analysis-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultSectionBasedLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("af19ea8079705e5100e19785cc3a2b3a214496c8cf8b22deb718deee68bdc08a") + public + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + override + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("af19ea8079705e5100e19785cc3a2b3a214496c8cf8b22deb718deee68bdc08a") + override + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { /** - * The options that determine the default settings for a grid layout configuration. + * Determines the screen canvas size options for a section-based layout. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultinteractivelayoutconfiguration.html#cfn-quicksight-analysis-defaultinteractivelayoutconfiguration-grid) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-analysis-defaultsectionbasedlayoutconfiguration-canvassizeoptions) */ - override fun grid(): Any? = unwrap(this).getGrid() + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultInteractiveLayoutConfigurationProperty { + DefaultSectionBasedLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty): - DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty): + DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultInteractiveLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty } } /** - * The configuration for default new sheet settings. + * The default options that correspond to the `Slider` filter control type. * * Example: * @@ -27043,248 +29642,265 @@ public open class CfnAnalysis( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = - * DefaultNewSheetConfigurationProperty.builder() - * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() - * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build()) - * .grid(DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") + * DefaultSliderControlOptionsProperty defaultSliderControlOptionsProperty = + * DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build()) + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) - * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() - * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) * .build()) + * .visibility("visibility") * .build()) * .build()) - * .sheetContentType("sheetContentType") + * .type("type") * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html) */ - public interface DefaultNewSheetConfigurationProperty { + public interface DefaultSliderControlOptionsProperty { /** - * The options that determine the default settings for interactive layout configuration. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-interactivelayoutconfiguration) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-displayoptions) */ - public fun interactiveLayoutConfiguration(): Any? = - unwrap(this).getInteractiveLayoutConfiguration() + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The options that determine the default settings for a paginated layout configuration. + * The larger value that is displayed at the right of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-maximumvalue) */ - public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() + public fun maximumValue(): Number /** - * The option that determines the sheet content type. + * The smaller value that is displayed at the left of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-sheetcontenttype) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-minimumvalue) */ - public fun sheetContentType(): String? = unwrap(this).getSheetContentType() + public fun minimumValue(): Number /** - * A builder for [DefaultNewSheetConfigurationProperty] + * The number of increments that the slider bar is divided into. + * + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-stepsize) + */ + public fun stepSize(): Number + + /** + * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. + * + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultSliderControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - public - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) + public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("ab88a70fd4a9db376bd83ec7d1a5fc0b7de35d9b38d28981dd2bb6b87ca17660") + @JvmName("1c065c566cfe5fd77489bf202786abbc839151bcd7389ba38bd88b7b0efb49d0") public - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param maximumValue The larger value that is displayed at the right of the slider. */ - public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) + public fun maximumValue(maximumValue: Number) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ - public - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) + public fun minimumValue(minimumValue: Number) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param stepSize The number of increments that the slider bar is divided into. */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("3b66c6468fa6e1741a37f5da87305845bb70747275bf76a2673a4e542186eb9d") - public - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) + public fun stepSize(stepSize: Number) /** - * @param sheetContentType The option that determines the sheet content type. + * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following + * options:. + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. */ - public fun sheetContentType(sheetContentType: String) + public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty.builder() /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { - cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - override - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { - cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty::unwrap)) + override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("ab88a70fd4a9db376bd83ec7d1a5fc0b7de35d9b38d28981dd2bb6b87ca17660") + @JvmName("1c065c566cfe5fd77489bf202786abbc839151bcd7389ba38bd88b7b0efb49d0") override - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): - Unit = - interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) + fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param maximumValue The larger value that is displayed at the right of the slider. */ - override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { - cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable::unwrap)) + override fun maximumValue(maximumValue: Number) { + cdkBuilder.maximumValue(maximumValue) } /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ - override - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { - cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty::unwrap)) + override fun minimumValue(minimumValue: Number) { + cdkBuilder.minimumValue(minimumValue) } /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param stepSize The number of increments that the slider bar is divided into. */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("3b66c6468fa6e1741a37f5da87305845bb70747275bf76a2673a4e542186eb9d") - override - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): - Unit = - paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) + override fun stepSize(stepSize: Number) { + cdkBuilder.stepSize(stepSize) + } /** - * @param sheetContentType The option that determines the sheet content type. + * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following + * options:. + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. */ - override fun sheetContentType(sheetContentType: String) { - cdkBuilder.sheetContentType(sheetContentType) + override fun type(type: String) { + cdkBuilder.type(type) } public fun build(): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty, - ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultSliderControlOptionsProperty { /** - * The options that determine the default settings for interactive layout configuration. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-interactivelayoutconfiguration) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-displayoptions) */ - override fun interactiveLayoutConfiguration(): Any? = - unwrap(this).getInteractiveLayoutConfiguration() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The options that determine the default settings for a paginated layout configuration. + * The larger value that is displayed at the right of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-maximumvalue) */ - override fun paginatedLayoutConfiguration(): Any? = - unwrap(this).getPaginatedLayoutConfiguration() + override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The option that determines the sheet content type. + * The smaller value that is displayed at the left of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultnewsheetconfiguration.html#cfn-quicksight-analysis-defaultnewsheetconfiguration-sheetcontenttype) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-minimumvalue) */ - override fun sheetContentType(): String? = unwrap(this).getSheetContentType() + override fun minimumValue(): Number = unwrap(this).getMinimumValue() + + /** + * The number of increments that the slider bar is divided into. + * + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-stepsize) + */ + override fun stepSize(): Number = unwrap(this).getStepSize() + + /** + * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. + * + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultslidercontroloptions.html#cfn-quicksight-analysis-defaultslidercontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultNewSheetConfigurationProperty { + DefaultSliderControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty): - DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty): + DefaultSliderControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultSliderControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty + internal fun unwrap(wrapped: DefaultSliderControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultNewSheetConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSliderControlOptionsProperty } } /** - * The options that determine the default settings for a paginated layout configuration. + * The default options that correspond to the `TextArea` filter control type. * * Example: * @@ -27292,131 +29908,162 @@ public open class CfnAnalysis( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = - * DefaultPaginatedLayoutConfigurationProperty.builder() - * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * DefaultTextAreaControlOptionsProperty defaultTextAreaControlOptionsProperty = + * DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") * .build()) + * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultpaginatedlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextareacontroloptions.html) */ - public interface DefaultPaginatedLayoutConfigurationProperty { + public interface DefaultTextAreaControlOptionsProperty { /** - * The options that determine the default settings for a section-based layout configuration. + * The delimiter that is used to separate the lines in text. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-analysis-defaultpaginatedlayoutconfiguration-sectionbased) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextareacontroloptions.html#cfn-quicksight-analysis-defaulttextareacontroloptions-delimiter) */ - public fun sectionBased(): Any? = unwrap(this).getSectionBased() + public fun delimiter(): String? = unwrap(this).getDelimiter() /** - * A builder for [DefaultPaginatedLayoutConfigurationProperty] + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextareacontroloptions.html#cfn-quicksight-analysis-defaulttextareacontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A builder for [DefaultTextAreaControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param delimiter The delimiter that is used to separate the lines in text. */ - public fun sectionBased(sectionBased: IResolvable) + public fun delimiter(delimiter: String) /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. */ - public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) + public fun displayOptions(displayOptions: IResolvable) /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("8684309fb10389272de1c3978361259f33265ea1cff5c3b1c310f119e8be386b") + @JvmName("dff757c98551f22d74bd3bd73bd9a23bc6449c39cd8206b4e9721c83f4ec92e6") public - fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty.builder() /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param delimiter The delimiter that is used to separate the lines in text. */ - override fun sectionBased(sectionBased: IResolvable) { - cdkBuilder.sectionBased(sectionBased.let(IResolvable::unwrap)) + override fun delimiter(delimiter: String) { + cdkBuilder.delimiter(delimiter) } /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. */ - override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { - cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("8684309fb10389272de1c3978361259f33265ea1cff5c3b1c310f119e8be386b") + @JvmName("dff757c98551f22d74bd3bd73bd9a23bc6449c39cd8206b4e9721c83f4ec92e6") override - fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): - Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) + fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(TextAreaControlDisplayOptionsProperty(displayOptions)) public fun build(): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultTextAreaControlOptionsProperty { /** - * The options that determine the default settings for a section-based layout configuration. + * The delimiter that is used to separate the lines in text. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-analysis-defaultpaginatedlayoutconfiguration-sectionbased) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextareacontroloptions.html#cfn-quicksight-analysis-defaulttextareacontroloptions-delimiter) */ - override fun sectionBased(): Any? = unwrap(this).getSectionBased() + override fun delimiter(): String? = unwrap(this).getDelimiter() + + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextareacontroloptions.html#cfn-quicksight-analysis-defaulttextareacontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultPaginatedLayoutConfigurationProperty { + DefaultTextAreaControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty): - DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty): + DefaultTextAreaControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultTextAreaControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultTextAreaControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultPaginatedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextAreaControlOptionsProperty } } /** - * The options that determine the default settings for a section-based layout configuration. + * The default options that correspond to the `TextField` filter control type. * * Example: * @@ -27424,125 +30071,130 @@ public open class CfnAnalysis( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = - * DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * DefaultTextFieldControlOptionsProperty defaultTextFieldControlOptionsProperty = + * DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultsectionbasedlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextfieldcontroloptions.html) */ - public interface DefaultSectionBasedLayoutConfigurationProperty { + public interface DefaultTextFieldControlOptionsProperty { /** - * Determines the screen canvas size options for a section-based layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-analysis-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextfieldcontroloptions.html#cfn-quicksight-analysis-defaulttextfieldcontroloptions-displayoptions) */ - public fun canvasSizeOptions(): Any + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * A builder for [DefaultSectionBasedLayoutConfigurationProperty] + * A builder for [DefaultTextFieldControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) + public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("af19ea8079705e5100e19785cc3a2b3a214496c8cf8b22deb718deee68bdc08a") + @JvmName("d9412bd179a604c1e3e44e4153d7eb11deca78b186eb682aa57f2ed04e8ce6bd") public - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty.builder() /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - override - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty::unwrap)) + override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("af19ea8079705e5100e19785cc3a2b3a214496c8cf8b22deb718deee68bdc08a") + @JvmName("d9412bd179a604c1e3e44e4153d7eb11deca78b186eb682aa57f2ed04e8ce6bd") override - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(TextFieldControlDisplayOptionsProperty(displayOptions)) public fun build(): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultTextFieldControlOptionsProperty { /** - * Determines the screen canvas size options for a section-based layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-analysis-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-defaulttextfieldcontroloptions.html#cfn-quicksight-analysis-defaulttextfieldcontroloptions-displayoptions) */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultSectionBasedLayoutConfigurationProperty { + DefaultTextFieldControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty): - DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty): + DefaultTextFieldControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultTextFieldControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultTextFieldControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnAnalysis.DefaultTextFieldControlOptionsProperty } } @@ -27688,7 +30340,7 @@ public open class CfnAnalysis( * parameter in `DestinationParameterValueConfiguration` . */ override fun customValuesConfiguration(customValuesConfiguration: IResolvable) { - cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -27697,7 +30349,7 @@ public open class CfnAnalysis( */ override fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty) { - cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty::unwrap)) + cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty.Companion::unwrap)) } /** @@ -27722,14 +30374,14 @@ public open class CfnAnalysis( * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: IResolvable) { - cdkBuilder.sourceColumn(sourceColumn.let(IResolvable::unwrap)) + cdkBuilder.sourceColumn(sourceColumn.let(IResolvable.Companion::unwrap)) } /** * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: ColumnIdentifierProperty) { - cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -28159,7 +30811,7 @@ public open class CfnAnalysis( * @param categoricalDimensionField The dimension type field with categorical type columns. */ override fun categoricalDimensionField(categoricalDimensionField: IResolvable) { - cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable::unwrap)) + cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable.Companion::unwrap)) } /** @@ -28167,7 +30819,7 @@ public open class CfnAnalysis( */ override fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty) { - cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty::unwrap)) + cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty.Companion::unwrap)) } /** @@ -28184,14 +30836,14 @@ public open class CfnAnalysis( * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: IResolvable) { - cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable::unwrap)) + cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable.Companion::unwrap)) } /** * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty) { - cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty::unwrap)) + cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty.Companion::unwrap)) } /** @@ -28207,7 +30859,7 @@ public open class CfnAnalysis( * @param numericalDimensionField The dimension type field with numerical type columns. */ override fun numericalDimensionField(numericalDimensionField: IResolvable) { - cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable::unwrap)) + cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable.Companion::unwrap)) } /** @@ -28215,7 +30867,7 @@ public open class CfnAnalysis( */ override fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty) { - cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty::unwrap)) + cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty.Companion::unwrap)) } /** @@ -28484,7 +31136,7 @@ public open class CfnAnalysis( * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: IResolvable) { - cdkBuilder.arcOptions(arcOptions.let(IResolvable::unwrap)) + cdkBuilder.arcOptions(arcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -28496,7 +31148,7 @@ public open class CfnAnalysis( * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: ArcOptionsProperty) { - cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty::unwrap)) + cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty.Companion::unwrap)) } /** @@ -28518,7 +31170,7 @@ public open class CfnAnalysis( * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: IResolvable) { - cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable::unwrap)) + cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable.Companion::unwrap)) } /** @@ -28527,7 +31179,7 @@ public open class CfnAnalysis( * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty) { - cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty::unwrap)) + cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty.Companion::unwrap)) } /** @@ -28737,7 +31389,7 @@ public open class CfnAnalysis( * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** @@ -28745,7 +31397,7 @@ public open class CfnAnalysis( * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty.Companion::unwrap)) } /** @@ -28763,7 +31415,7 @@ public open class CfnAnalysis( * This filter is used for number type columns. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -28772,7 +31424,7 @@ public open class CfnAnalysis( */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty.Companion::unwrap)) } /** @@ -28791,7 +31443,7 @@ public open class CfnAnalysis( * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -28799,7 +31451,7 @@ public open class CfnAnalysis( * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty.Companion::unwrap)) } /** @@ -28999,7 +31651,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -29007,7 +31659,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -29025,7 +31677,7 @@ public open class CfnAnalysis( * control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { - cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** @@ -29033,7 +31685,7 @@ public open class CfnAnalysis( * control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { - cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** @@ -29050,14 +31702,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -29238,7 +31890,7 @@ public open class CfnAnalysis( * */ override fun defaultValueColumn(defaultValueColumn: IResolvable) { - cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable::unwrap)) + cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable.Companion::unwrap)) } /** @@ -29246,7 +31898,7 @@ public open class CfnAnalysis( * */ override fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty) { - cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -29263,14 +31915,14 @@ public open class CfnAnalysis( * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: IResolvable) { - cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable::unwrap)) + cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty) { - cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -29285,14 +31937,14 @@ public open class CfnAnalysis( * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: IResolvable) { - cdkBuilder.userNameColumn(userNameColumn.let(IResolvable::unwrap)) + cdkBuilder.userNameColumn(userNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: ColumnIdentifierProperty) { - cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -29501,7 +32153,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -29942,7 +32594,7 @@ public open class CfnAnalysis( * @param columns The list of columns that define the explicit hierarchy. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -29962,7 +32614,7 @@ public open class CfnAnalysis( * hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -30158,7 +32810,7 @@ public open class CfnAnalysis( * @param tooltipFields The fields configuration in the tooltip. */ override fun tooltipFields(tooltipFields: IResolvable) { - cdkBuilder.tooltipFields(tooltipFields.let(IResolvable::unwrap)) + cdkBuilder.tooltipFields(tooltipFields.let(IResolvable.Companion::unwrap)) } /** @@ -30457,7 +33109,7 @@ public open class CfnAnalysis( * the field. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -30465,7 +33117,7 @@ public open class CfnAnalysis( * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { - cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -30630,14 +33282,14 @@ public open class CfnAnalysis( * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: IResolvable) { - cdkBuilder.columnSort(columnSort.let(IResolvable::unwrap)) + cdkBuilder.columnSort(columnSort.let(IResolvable.Companion::unwrap)) } /** * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: ColumnSortProperty) { - cdkBuilder.columnSort(columnSort.let(ColumnSortProperty::unwrap)) + cdkBuilder.columnSort(columnSort.let(ColumnSortProperty.Companion::unwrap)) } /** @@ -30652,14 +33304,14 @@ public open class CfnAnalysis( * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: IResolvable) { - cdkBuilder.fieldSort(fieldSort.let(IResolvable::unwrap)) + cdkBuilder.fieldSort(fieldSort.let(IResolvable.Companion::unwrap)) } /** * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: FieldSortProperty) { - cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty::unwrap)) + cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty.Companion::unwrap)) } /** @@ -31536,7 +34188,7 @@ public open class CfnAnalysis( * Values are grouped by location fields. */ override fun geospatial(geospatial: IResolvable) { - cdkBuilder.geospatial(geospatial.let(IResolvable::unwrap)) + cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** @@ -31558,7 +34210,7 @@ public open class CfnAnalysis( * Values are aggregated based on location fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -31702,14 +34354,14 @@ public open class CfnAnalysis( * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: IResolvable) { - cdkBuilder.shape(shape.let(IResolvable::unwrap)) + cdkBuilder.shape(shape.let(IResolvable.Companion::unwrap)) } /** * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: FilledMapShapeConditionalFormattingProperty) { - cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty::unwrap)) + cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty.Companion::unwrap)) } /** @@ -31840,7 +34492,7 @@ public open class CfnAnalysis( * */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -32067,14 +34719,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: FilledMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty.Companion::unwrap)) } /** @@ -32089,14 +34741,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -32111,14 +34763,14 @@ public open class CfnAnalysis( * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** @@ -32134,14 +34786,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -32157,14 +34809,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -32179,14 +34831,14 @@ public open class CfnAnalysis( * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: IResolvable) { - cdkBuilder.windowOptions(windowOptions.let(IResolvable::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { - cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** @@ -32814,7 +35466,7 @@ public open class CfnAnalysis( * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: IResolvable) { - cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -32822,7 +35474,7 @@ public open class CfnAnalysis( */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty) { - cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -32972,7 +35624,7 @@ public open class CfnAnalysis( * map's shape. */ override fun format(format: IResolvable) { - cdkBuilder.format(format.let(IResolvable::unwrap)) + cdkBuilder.format(format.let(IResolvable.Companion::unwrap)) } /** @@ -32980,7 +35632,7 @@ public open class CfnAnalysis( * map's shape. */ override fun format(format: ShapeConditionalFormatProperty) { - cdkBuilder.format(format.let(ShapeConditionalFormatProperty::unwrap)) + cdkBuilder.format(format.let(ShapeConditionalFormatProperty.Companion::unwrap)) } /** @@ -33117,7 +35769,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of the location fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -33361,7 +36013,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -33380,14 +36032,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty.Companion::unwrap)) } /** @@ -33404,7 +36056,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -33426,7 +36078,7 @@ public open class CfnAnalysis( * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -33434,7 +36086,7 @@ public open class CfnAnalysis( */ override fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty.Companion::unwrap)) } /** @@ -33451,14 +36103,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -33473,14 +36125,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -33592,6 +36244,20 @@ public open class CfnAnalysis( * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterControlProperty filterControlProperty = FilterControlProperty.builder() + * .crossSheet(FilterCrossSheetControlProperty.builder() + * .filterControlId("filterControlId") + * .sourceFilterId("sourceFilterId") + * // the properties below are optional + * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() + * .sourceControls(List.of(CascadingControlSourceProperty.builder() + * .columnToMatch(ColumnIdentifierProperty.builder() + * .columnName("columnName") + * .dataSetIdentifier("dataSetIdentifier") + * .build()) + * .sourceSheetControlId("sourceSheetControlId") + * .build())) + * .build()) + * .build()) * .dateTimePicker(FilterDateTimePickerControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") @@ -33836,6 +36502,15 @@ public open class CfnAnalysis( * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercontrol.html) */ public interface FilterControlProperty { + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercontrol.html#cfn-quicksight-analysis-filtercontrol-crosssheet) + */ + public fun crossSheet(): Any? = unwrap(this).getCrossSheet() + /** * A control from a date filter that is used to specify date and time. * @@ -33894,6 +36569,26 @@ public open class CfnAnalysis( */ @CdkDslMarker public interface Builder { + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + public fun crossSheet(crossSheet: IResolvable) + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + public fun crossSheet(crossSheet: FilterCrossSheetControlProperty) + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c7b5cca2698c0beb78e52499213b93a3347e36a0b8b8789e6678f12c4139a006") + public fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit) + /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ @@ -34033,18 +36728,43 @@ public open class CfnAnalysis( software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterControlProperty.builder() + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + override fun crossSheet(crossSheet: IResolvable) { + cdkBuilder.crossSheet(crossSheet.let(IResolvable.Companion::unwrap)) + } + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + override fun crossSheet(crossSheet: FilterCrossSheetControlProperty) { + cdkBuilder.crossSheet(crossSheet.let(FilterCrossSheetControlProperty.Companion::unwrap)) + } + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c7b5cca2698c0beb78e52499213b93a3347e36a0b8b8789e6678f12c4139a006") + override fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit): Unit + = crossSheet(FilterCrossSheetControlProperty(crossSheet)) + /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { - cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty) { - cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty.Companion::unwrap)) } /** @@ -34061,7 +36781,7 @@ public open class CfnAnalysis( * single value. */ override fun dropdown(dropdown: IResolvable) { - cdkBuilder.dropdown(dropdown.let(IResolvable::unwrap)) + cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** @@ -34069,7 +36789,7 @@ public open class CfnAnalysis( * single value. */ override fun dropdown(dropdown: FilterDropDownControlProperty) { - cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty::unwrap)) + cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty.Companion::unwrap)) } /** @@ -34086,7 +36806,7 @@ public open class CfnAnalysis( * This is used to select either a single value or multiple values. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** @@ -34094,7 +36814,7 @@ public open class CfnAnalysis( * This is used to select either a single value or multiple values. */ override fun list(list: FilterListControlProperty) { - cdkBuilder.list(list.let(FilterListControlProperty::unwrap)) + cdkBuilder.list(list.let(FilterListControlProperty.Companion::unwrap)) } /** @@ -34111,7 +36831,7 @@ public open class CfnAnalysis( * date. */ override fun relativeDateTime(relativeDateTime: IResolvable) { - cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable::unwrap)) + cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable.Companion::unwrap)) } /** @@ -34119,7 +36839,7 @@ public open class CfnAnalysis( * date. */ override fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty) { - cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty::unwrap)) + cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty.Companion::unwrap)) } /** @@ -34137,7 +36857,7 @@ public open class CfnAnalysis( * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { - cdkBuilder.slider(slider.let(IResolvable::unwrap)) + cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** @@ -34145,7 +36865,7 @@ public open class CfnAnalysis( * This is used to change a value by sliding the toggle. */ override fun slider(slider: FilterSliderControlProperty) { - cdkBuilder.slider(slider.let(FilterSliderControlProperty::unwrap)) + cdkBuilder.slider(slider.let(FilterSliderControlProperty.Companion::unwrap)) } /** @@ -34161,14 +36881,14 @@ public open class CfnAnalysis( * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { - cdkBuilder.textArea(textArea.let(IResolvable::unwrap)) + cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: FilterTextAreaControlProperty) { - cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty::unwrap)) + cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty.Companion::unwrap)) } /** @@ -34183,14 +36903,14 @@ public open class CfnAnalysis( * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { - cdkBuilder.textField(textField.let(IResolvable::unwrap)) + cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: FilterTextFieldControlProperty) { - cdkBuilder.textField(textField.let(FilterTextFieldControlProperty::unwrap)) + cdkBuilder.textField(textField.let(FilterTextFieldControlProperty.Companion::unwrap)) } /** @@ -34209,6 +36929,15 @@ public open class CfnAnalysis( private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterControlProperty, ) : CdkObject(cdkObject), FilterControlProperty { + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercontrol.html#cfn-quicksight-analysis-filtercontrol-crosssheet) + */ + override fun crossSheet(): Any? = unwrap(this).getCrossSheet() + /** * A control from a date filter that is used to specify date and time. * @@ -34281,6 +37010,196 @@ public open class CfnAnalysis( } } + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * FilterCrossSheetControlProperty filterCrossSheetControlProperty = + * FilterCrossSheetControlProperty.builder() + * .filterControlId("filterControlId") + * .sourceFilterId("sourceFilterId") + * // the properties below are optional + * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() + * .sourceControls(List.of(CascadingControlSourceProperty.builder() + * .columnToMatch(ColumnIdentifierProperty.builder() + * .columnName("columnName") + * .dataSetIdentifier("dataSetIdentifier") + * .build()) + * .sourceSheetControlId("sourceSheetControlId") + * .build())) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html) + */ + public interface FilterCrossSheetControlProperty { + /** + * The values that are displayed in a control can be configured to only show values that are + * valid based on what's selected in other controls. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html#cfn-quicksight-analysis-filtercrosssheetcontrol-cascadingcontrolconfiguration) + */ + public fun cascadingControlConfiguration(): Any? = + unwrap(this).getCascadingControlConfiguration() + + /** + * The ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html#cfn-quicksight-analysis-filtercrosssheetcontrol-filtercontrolid) + */ + public fun filterControlId(): String + + /** + * The source filter ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html#cfn-quicksight-analysis-filtercrosssheetcontrol-sourcefilterid) + */ + public fun sourceFilterId(): String + + /** + * A builder for [FilterCrossSheetControlProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + public + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a6d57703636a42cea0aeced020869e7551f02bb38b1c1e64608317904b493fe0") + public + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) + + /** + * @param filterControlId The ID of the `FilterCrossSheetControl` . + */ + public fun filterControlId(filterControlId: String) + + /** + * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . + */ + public fun sourceFilterId(sourceFilterId: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty.builder() + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + override + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a6d57703636a42cea0aeced020869e7551f02bb38b1c1e64608317904b493fe0") + override + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): + Unit = + cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) + + /** + * @param filterControlId The ID of the `FilterCrossSheetControl` . + */ + override fun filterControlId(filterControlId: String) { + cdkBuilder.filterControlId(filterControlId) + } + + /** + * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . + */ + override fun sourceFilterId(sourceFilterId: String) { + cdkBuilder.sourceFilterId(sourceFilterId) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty, + ) : CdkObject(cdkObject), FilterCrossSheetControlProperty { + /** + * The values that are displayed in a control can be configured to only show values that are + * valid based on what's selected in other controls. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html#cfn-quicksight-analysis-filtercrosssheetcontrol-cascadingcontrolconfiguration) + */ + override fun cascadingControlConfiguration(): Any? = + unwrap(this).getCascadingControlConfiguration() + + /** + * The ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html#cfn-quicksight-analysis-filtercrosssheetcontrol-filtercontrolid) + */ + override fun filterControlId(): String = unwrap(this).getFilterControlId() + + /** + * The source filter ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtercrosssheetcontrol.html#cfn-quicksight-analysis-filtercrosssheetcontrol-sourcefilterid) + */ + override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): FilterCrossSheetControlProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty): + FilterCrossSheetControlProperty = CdkObjectWrappers.wrap(cdkObject) as? + FilterCrossSheetControlProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: FilterCrossSheetControlProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterCrossSheetControlProperty + } + } + /** * A control from a date filter that is used to specify date and time. * @@ -34354,11 +37273,10 @@ public open class CfnAnalysis( public fun title(): String /** - * The date time picker type of a `FilterDateTimePickerControl` . Choose one of the following - * options:. + * The type of the `FilterDropDownControl` . Choose one of the following options:. * - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filterdatetimepickercontrol.html#cfn-quicksight-analysis-filterdatetimepickercontrol-type) */ @@ -34403,10 +37321,9 @@ public open class CfnAnalysis( public fun title(title: String) /** - * @param type The date time picker type of a `FilterDateTimePickerControl` . Choose one of - * the following options:. - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ public fun type(type: String) } @@ -34421,14 +37338,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -34462,10 +37379,9 @@ public open class CfnAnalysis( } /** - * @param type The date time picker type of a `FilterDateTimePickerControl` . Choose one of - * the following options:. - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ override fun type(type: String) { cdkBuilder.type(type) @@ -34508,11 +37424,10 @@ public open class CfnAnalysis( override fun title(): String = unwrap(this).getTitle() /** - * The date time picker type of a `FilterDateTimePickerControl` . Choose one of the following - * options:. + * The type of the `FilterDropDownControl` . Choose one of the following options:. * - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filterdatetimepickercontrol.html#cfn-quicksight-analysis-filterdatetimepickercontrol-type) */ @@ -34747,7 +37662,7 @@ public open class CfnAnalysis( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -34756,7 +37671,7 @@ public open class CfnAnalysis( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -34774,14 +37689,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -34804,14 +37719,14 @@ public open class CfnAnalysis( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** @@ -34937,230 +37852,6 @@ public open class CfnAnalysis( * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * Object allSheets; - * FilterGroupProperty filterGroupProperty = FilterGroupProperty.builder() - * .crossDataset("crossDataset") - * .filterGroupId("filterGroupId") - * .filters(List.of(FilterProperty.builder() - * .categoryFilter(CategoryFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .configuration(CategoryFilterConfigurationProperty.builder() - * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValue("categoryValue") - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .build()) - * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .selectAllOptions("selectAllOptions") - * .build()) - * .filterListConfiguration(FilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .nullOption("nullOption") - * .selectAllOptions("selectAllOptions") - * .build()) - * .build()) - * .filterId("filterId") - * .build()) - * .numericEqualityFilter(NumericEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .value(123) - * .build()) - * .numericRangeFilter(NumericRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .rangeMinimum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .selectAllOptions("selectAllOptions") - * .build()) - * .relativeDatesFilter(RelativeDatesFilterProperty.builder() - * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() - * .anchorOption("anchorOption") - * .parameterName("parameterName") - * .build()) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * .relativeDateType("relativeDateType") - * .timeGranularity("timeGranularity") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .minimumGranularity("minimumGranularity") - * .parameterName("parameterName") - * .relativeDateValue(123) - * .build()) - * .timeEqualityFilter(TimeEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .parameterName("parameterName") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .timeGranularity("timeGranularity") - * .value("value") - * .build()) - * .timeRangeFilter(TimeRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .timeGranularity("timeGranularity") - * .build()) - * .topBottomFilter(TopBottomFilterProperty.builder() - * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .sortDirection("sortDirection") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .build())) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .limit(123) - * .parameterName("parameterName") - * .timeGranularity("timeGranularity") - * .build()) - * .build())) - * .scopeConfiguration(FilterScopeConfigurationProperty.builder() - * .allSheets(allSheets) - * .selectedSheets(SelectedSheetsFilterScopeConfigurationProperty.builder() - * .sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder() - * .scope("scope") - * .sheetId("sheetId") - * // the properties below are optional - * .visualIds(List.of("visualIds")) - * .build())) - * .build()) - * .build()) - * // the properties below are optional - * .status("status") - * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filtergroup.html) @@ -35302,7 +37993,7 @@ public open class CfnAnalysis( * @param filters The list of filters that are present in a `FilterGroup` . */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -35324,7 +38015,7 @@ public open class CfnAnalysis( * can be defined. */ override fun scopeConfiguration(scopeConfiguration: IResolvable) { - cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -35334,7 +38025,7 @@ public open class CfnAnalysis( * can be defined. */ override fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty) { - cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty::unwrap)) + cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty.Companion::unwrap)) } /** @@ -35734,7 +38425,7 @@ public open class CfnAnalysis( public fun title(): String /** - * The type of `FilterListControl` . Choose one of the following options:. + * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. @@ -35822,7 +38513,7 @@ public open class CfnAnalysis( public fun title(title: String) /** - * @param type The type of `FilterListControl` . Choose one of the following options:. + * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ @@ -35839,7 +38530,7 @@ public open class CfnAnalysis( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -35848,7 +38539,7 @@ public open class CfnAnalysis( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -35866,14 +38557,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -35896,14 +38587,14 @@ public open class CfnAnalysis( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** @@ -35930,7 +38621,7 @@ public open class CfnAnalysis( } /** - * @param type The type of `FilterListControl` . Choose one of the following options:. + * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ @@ -35991,7 +38682,7 @@ public open class CfnAnalysis( override fun title(): String = unwrap(this).getTitle() /** - * The type of `FilterListControl` . Choose one of the following options:. + * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. @@ -36124,7 +38815,7 @@ public open class CfnAnalysis( * @param selectedColumns The selected columns of a dataset. */ override fun selectedColumns(selectedColumns: IResolvable) { - cdkBuilder.selectedColumns(selectedColumns.let(IResolvable::unwrap)) + cdkBuilder.selectedColumns(selectedColumns.let(IResolvable.Companion::unwrap)) } /** @@ -36293,7 +38984,7 @@ public open class CfnAnalysis( */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: IResolvable) { - cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -36302,7 +38993,7 @@ public open class CfnAnalysis( */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty) { - cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty::unwrap)) + cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty.Companion::unwrap)) } /** @@ -36361,212 +39052,6 @@ public open class CfnAnalysis( * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * FilterProperty filterProperty = FilterProperty.builder() - * .categoryFilter(CategoryFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .configuration(CategoryFilterConfigurationProperty.builder() - * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValue("categoryValue") - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .build()) - * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .selectAllOptions("selectAllOptions") - * .build()) - * .filterListConfiguration(FilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .nullOption("nullOption") - * .selectAllOptions("selectAllOptions") - * .build()) - * .build()) - * .filterId("filterId") - * .build()) - * .numericEqualityFilter(NumericEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .value(123) - * .build()) - * .numericRangeFilter(NumericRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .rangeMinimum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .selectAllOptions("selectAllOptions") - * .build()) - * .relativeDatesFilter(RelativeDatesFilterProperty.builder() - * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() - * .anchorOption("anchorOption") - * .parameterName("parameterName") - * .build()) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * .relativeDateType("relativeDateType") - * .timeGranularity("timeGranularity") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .minimumGranularity("minimumGranularity") - * .parameterName("parameterName") - * .relativeDateValue(123) - * .build()) - * .timeEqualityFilter(TimeEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .parameterName("parameterName") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .timeGranularity("timeGranularity") - * .value("value") - * .build()) - * .timeRangeFilter(TimeRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .timeGranularity("timeGranularity") - * .build()) - * .topBottomFilter(TopBottomFilterProperty.builder() - * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .sortDirection("sortDirection") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .build())) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .limit(123) - * .parameterName("parameterName") - * .timeGranularity("timeGranularity") - * .build()) - * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-filter.html) @@ -36797,7 +39282,7 @@ public open class CfnAnalysis( * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36807,7 +39292,7 @@ public open class CfnAnalysis( * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: CategoryFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty.Companion::unwrap)) } /** @@ -36826,7 +39311,7 @@ public open class CfnAnalysis( * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36834,7 +39319,7 @@ public open class CfnAnalysis( * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty.Companion::unwrap)) } /** @@ -36852,7 +39337,7 @@ public open class CfnAnalysis( * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: IResolvable) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36860,7 +39345,7 @@ public open class CfnAnalysis( * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty.Companion::unwrap)) } /** @@ -36878,7 +39363,7 @@ public open class CfnAnalysis( * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: IResolvable) { - cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable::unwrap)) + cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36886,7 +39371,7 @@ public open class CfnAnalysis( * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty) { - cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty::unwrap)) + cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty.Companion::unwrap)) } /** @@ -36904,7 +39389,7 @@ public open class CfnAnalysis( * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: IResolvable) { - cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36912,7 +39397,7 @@ public open class CfnAnalysis( * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty) { - cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty::unwrap)) + cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty.Companion::unwrap)) } /** @@ -36930,7 +39415,7 @@ public open class CfnAnalysis( * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36938,7 +39423,7 @@ public open class CfnAnalysis( * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty.Companion::unwrap)) } /** @@ -36955,7 +39440,7 @@ public open class CfnAnalysis( * given column. */ override fun topBottomFilter(topBottomFilter: IResolvable) { - cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable::unwrap)) + cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36963,7 +39448,7 @@ public open class CfnAnalysis( * given column. */ override fun topBottomFilter(topBottomFilter: TopBottomFilterProperty) { - cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty::unwrap)) + cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty.Companion::unwrap)) } /** @@ -37178,14 +39663,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -37374,14 +39859,14 @@ public open class CfnAnalysis( * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: IResolvable) { - cdkBuilder.selectedSheets(selectedSheets.let(IResolvable::unwrap)) + cdkBuilder.selectedSheets(selectedSheets.let(IResolvable.Companion::unwrap)) } /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty) { - cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty::unwrap)) + cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty.Companion::unwrap)) } /** @@ -37593,7 +40078,7 @@ public open class CfnAnalysis( public fun filterControlId(): String /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -37602,7 +40087,7 @@ public open class CfnAnalysis( public fun maximumValue(): Number /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -37634,7 +40119,7 @@ public open class CfnAnalysis( public fun title(): String /** - * The type of `FilterSliderControl` . Choose one of the following options:. + * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. @@ -37672,12 +40157,12 @@ public open class CfnAnalysis( public fun filterControlId(filterControlId: String) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) @@ -37697,7 +40182,7 @@ public open class CfnAnalysis( public fun title(title: String) /** - * @param type The type of `FilterSliderControl` . Choose one of the following options:. + * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ @@ -37714,14 +40199,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -37741,14 +40226,14 @@ public open class CfnAnalysis( } /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) @@ -37776,7 +40261,7 @@ public open class CfnAnalysis( } /** - * @param type The type of `FilterSliderControl` . Choose one of the following options:. + * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ @@ -37807,7 +40292,7 @@ public open class CfnAnalysis( override fun filterControlId(): String = unwrap(this).getFilterControlId() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -37816,7 +40301,7 @@ public open class CfnAnalysis( override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -37848,7 +40333,7 @@ public open class CfnAnalysis( override fun title(): String = unwrap(this).getTitle() /** - * The type of `FilterSliderControl` . Choose one of the following options:. + * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. @@ -38018,14 +40503,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -38242,14 +40727,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -38476,14 +40961,14 @@ public open class CfnAnalysis( * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: IResolvable) { - cdkBuilder.fontSize(fontSize.let(IResolvable::unwrap)) + cdkBuilder.fontSize(fontSize.let(IResolvable.Companion::unwrap)) } /** * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: FontSizeProperty) { - cdkBuilder.fontSize(fontSize.let(FontSizeProperty::unwrap)) + cdkBuilder.fontSize(fontSize.let(FontSizeProperty.Companion::unwrap)) } /** @@ -38506,14 +40991,14 @@ public open class CfnAnalysis( * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: IResolvable) { - cdkBuilder.fontWeight(fontWeight.let(IResolvable::unwrap)) + cdkBuilder.fontWeight(fontWeight.let(IResolvable.Companion::unwrap)) } /** * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: FontWeightProperty) { - cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty::unwrap)) + cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty.Companion::unwrap)) } /** @@ -38996,14 +41481,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -39025,14 +41510,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -39251,14 +41736,14 @@ public open class CfnAnalysis( * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: IResolvable) { - cdkBuilder.forecastProperties(forecastProperties.let(IResolvable::unwrap)) + cdkBuilder.forecastProperties(forecastProperties.let(IResolvable.Companion::unwrap)) } /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty) { - cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty::unwrap)) + cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty.Companion::unwrap)) } /** @@ -39274,14 +41759,14 @@ public open class CfnAnalysis( * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: IResolvable) { - cdkBuilder.scenario(scenario.let(IResolvable::unwrap)) + cdkBuilder.scenario(scenario.let(IResolvable.Companion::unwrap)) } /** * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: ForecastScenarioProperty) { - cdkBuilder.scenario(scenario.let(ForecastScenarioProperty::unwrap)) + cdkBuilder.scenario(scenario.let(ForecastScenarioProperty.Companion::unwrap)) } /** @@ -39423,14 +41908,14 @@ public open class CfnAnalysis( * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: IResolvable) { - cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable::unwrap)) + cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty) { - cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty::unwrap)) + cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty.Companion::unwrap)) } /** @@ -39446,14 +41931,14 @@ public open class CfnAnalysis( * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: IResolvable) { - cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable::unwrap)) + cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty) { - cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty::unwrap)) + cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty.Companion::unwrap)) } /** @@ -39824,7 +42309,7 @@ public open class CfnAnalysis( * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: IResolvable) { - cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -39832,7 +42317,7 @@ public open class CfnAnalysis( */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -39849,7 +42334,7 @@ public open class CfnAnalysis( * @param numberFormatConfiguration Formatting configuration for number fields. */ override fun numberFormatConfiguration(numberFormatConfiguration: IResolvable) { - cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -39857,7 +42342,7 @@ public open class CfnAnalysis( */ override fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -39874,7 +42359,7 @@ public open class CfnAnalysis( * @param stringFormatConfiguration Formatting configuration for string fields. */ override fun stringFormatConfiguration(stringFormatConfiguration: IResolvable) { - cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -39882,7 +42367,7 @@ public open class CfnAnalysis( */ override fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -40010,7 +42495,7 @@ public open class CfnAnalysis( * a free-form layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -40019,7 +42504,7 @@ public open class CfnAnalysis( */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -40183,14 +42668,14 @@ public open class CfnAnalysis( * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -40206,7 +42691,7 @@ public open class CfnAnalysis( * @param elements The elements that are included in a free-form layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -40759,14 +43244,14 @@ public open class CfnAnalysis( * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: IResolvable) { - cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable::unwrap)) + cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable.Companion::unwrap)) } /** * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty) { - cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty::unwrap)) + cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty.Companion::unwrap)) } /** @@ -40782,14 +43267,14 @@ public open class CfnAnalysis( * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: IResolvable) { - cdkBuilder.borderStyle(borderStyle.let(IResolvable::unwrap)) + cdkBuilder.borderStyle(borderStyle.let(IResolvable.Companion::unwrap)) } /** * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty) { - cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty::unwrap)) + cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** @@ -40826,14 +43311,14 @@ public open class CfnAnalysis( * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: IResolvable) { - cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable::unwrap)) + cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable.Companion::unwrap)) } /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: LoadingAnimationProperty) { - cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty::unwrap)) + cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty.Companion::unwrap)) } /** @@ -40849,7 +43334,7 @@ public open class CfnAnalysis( * displayed within a free-form layout. */ override fun renderingRules(renderingRules: IResolvable) { - cdkBuilder.renderingRules(renderingRules.let(IResolvable::unwrap)) + cdkBuilder.renderingRules(renderingRules.let(IResolvable.Companion::unwrap)) } /** @@ -40872,7 +43357,7 @@ public open class CfnAnalysis( * This border style is used when the element is selected. */ override fun selectedBorderStyle(selectedBorderStyle: IResolvable) { - cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable::unwrap)) + cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable.Companion::unwrap)) } /** @@ -40881,7 +43366,7 @@ public open class CfnAnalysis( */ override fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty) { - cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty::unwrap)) + cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** @@ -41208,7 +43693,7 @@ public open class CfnAnalysis( * @param elements The elements that are included in the free-form layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -41830,7 +44315,7 @@ public open class CfnAnalysis( * Values are grouped by category fields. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -41852,7 +44337,7 @@ public open class CfnAnalysis( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -42121,7 +44606,7 @@ public open class CfnAnalysis( * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -42129,7 +44614,7 @@ public open class CfnAnalysis( * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -42146,14 +44631,14 @@ public open class CfnAnalysis( * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: IResolvable) { - cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty) { - cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty.Companion::unwrap)) } /** @@ -42169,14 +44654,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: FunnelChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty.Companion::unwrap)) } /** @@ -42191,14 +44676,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -42214,14 +44699,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -42237,7 +44722,7 @@ public open class CfnAnalysis( * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -42245,7 +44730,7 @@ public open class CfnAnalysis( * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -42262,14 +44747,14 @@ public open class CfnAnalysis( * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -42526,7 +45011,7 @@ public open class CfnAnalysis( * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -42534,7 +45019,7 @@ public open class CfnAnalysis( * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -43208,7 +45693,7 @@ public open class CfnAnalysis( * `FunnelChartVisual` . */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: IResolvable) { - cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -43217,7 +45702,7 @@ public open class CfnAnalysis( */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty) { - cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -43378,14 +45863,14 @@ public open class CfnAnalysis( * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -43401,7 +45886,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -43626,7 +46111,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -43645,14 +46130,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty.Companion::unwrap)) } /** @@ -43669,7 +46154,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -43691,14 +46176,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -43713,14 +46198,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -43888,14 +46373,14 @@ public open class CfnAnalysis( * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { - cdkBuilder.foregroundColor(foregroundColor.let(IResolvable::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -44086,14 +46571,14 @@ public open class CfnAnalysis( * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { - cdkBuilder.arc(arc.let(IResolvable::unwrap)) + cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: GaugeChartArcConditionalFormattingProperty) { - cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty::unwrap)) + cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty.Companion::unwrap)) } /** @@ -44109,7 +46594,7 @@ public open class CfnAnalysis( * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: IResolvable) { - cdkBuilder.primaryValue(primaryValue.let(IResolvable::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** @@ -44117,7 +46602,7 @@ public open class CfnAnalysis( * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty) { - cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -44292,7 +46777,7 @@ public open class CfnAnalysis( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -44496,14 +46981,14 @@ public open class CfnAnalysis( * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -44518,14 +47003,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: GaugeChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty.Companion::unwrap)) } /** @@ -44541,7 +47026,7 @@ public open class CfnAnalysis( * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: IResolvable) { - cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable::unwrap)) + cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable.Companion::unwrap)) } /** @@ -44549,7 +47034,7 @@ public open class CfnAnalysis( * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty) { - cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty::unwrap)) + cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty.Companion::unwrap)) } /** @@ -44566,14 +47051,14 @@ public open class CfnAnalysis( * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: IResolvable) { - cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable::unwrap)) + cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable.Companion::unwrap)) } /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: TooltipOptionsProperty) { - cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -44588,14 +47073,14 @@ public open class CfnAnalysis( * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -44739,7 +47224,7 @@ public open class CfnAnalysis( * @param targetValues The target value field wells of a `GaugeChartVisual` . */ override fun targetValues(targetValues: IResolvable) { - cdkBuilder.targetValues(targetValues.let(IResolvable::unwrap)) + cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** @@ -44759,7 +47244,7 @@ public open class CfnAnalysis( * @param values The value field wells of a `GaugeChartVisual` . */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -45029,14 +47514,14 @@ public open class CfnAnalysis( * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { - cdkBuilder.arc(arc.let(IResolvable::unwrap)) + cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: ArcConfigurationProperty) { - cdkBuilder.arc(arc.let(ArcConfigurationProperty::unwrap)) + cdkBuilder.arc(arc.let(ArcConfigurationProperty.Companion::unwrap)) } /** @@ -45051,14 +47536,14 @@ public open class CfnAnalysis( * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: IResolvable) { - cdkBuilder.arcAxis(arcAxis.let(IResolvable::unwrap)) + cdkBuilder.arcAxis(arcAxis.let(IResolvable.Companion::unwrap)) } /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: ArcAxisConfigurationProperty) { - cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty::unwrap)) + cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty.Companion::unwrap)) } /** @@ -45073,14 +47558,14 @@ public open class CfnAnalysis( * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: IResolvable) { - cdkBuilder.comparison(comparison.let(IResolvable::unwrap)) + cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: ComparisonConfigurationProperty) { - cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty::unwrap)) + cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** @@ -45103,7 +47588,7 @@ public open class CfnAnalysis( * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -45112,7 +47597,7 @@ public open class CfnAnalysis( */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -45308,14 +47793,14 @@ public open class CfnAnalysis( * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -45330,14 +47815,14 @@ public open class CfnAnalysis( * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -45558,7 +48043,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -45577,14 +48062,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty.Companion::unwrap)) } /** @@ -45600,7 +48085,7 @@ public open class CfnAnalysis( * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -45608,7 +48093,7 @@ public open class CfnAnalysis( */ override fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty.Companion::unwrap)) } /** @@ -45625,14 +48110,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -45647,14 +48132,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -45969,7 +48454,7 @@ public open class CfnAnalysis( * @param colors The list of colors to be used in heatmap point style. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -46081,14 +48566,14 @@ public open class CfnAnalysis( * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: IResolvable) { - cdkBuilder.heatmapColor(heatmapColor.let(IResolvable::unwrap)) + cdkBuilder.heatmapColor(heatmapColor.let(IResolvable.Companion::unwrap)) } /** * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty) { - cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty::unwrap)) + cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty.Companion::unwrap)) } /** @@ -46322,7 +48807,7 @@ public open class CfnAnalysis( * @param colors The color field wells of a geospatial map. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -46342,7 +48827,7 @@ public open class CfnAnalysis( * Values are grouped by geospatial fields. */ override fun geospatial(geospatial: IResolvable) { - cdkBuilder.geospatial(geospatial.let(IResolvable::unwrap)) + cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** @@ -46364,7 +48849,7 @@ public open class CfnAnalysis( * Values are aggregated based on geospatial fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -46629,14 +49114,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty.Companion::unwrap)) } /** @@ -46651,14 +49136,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -46673,14 +49158,14 @@ public open class CfnAnalysis( * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** @@ -46696,14 +49181,14 @@ public open class CfnAnalysis( * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: IResolvable) { - cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty) { - cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty::unwrap)) + cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty.Companion::unwrap)) } /** @@ -46719,14 +49204,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -46741,14 +49226,14 @@ public open class CfnAnalysis( * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -46763,14 +49248,14 @@ public open class CfnAnalysis( * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: IResolvable) { - cdkBuilder.windowOptions(windowOptions.let(IResolvable::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { - cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** @@ -46914,7 +49399,7 @@ public open class CfnAnalysis( */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: IResolvable) { - cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -46922,7 +49407,7 @@ public open class CfnAnalysis( */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty) { - cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -47222,7 +49707,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -47241,14 +49726,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty.Companion::unwrap)) } /** @@ -47265,7 +49750,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -47287,14 +49772,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -47309,14 +49794,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -47523,7 +50008,7 @@ public open class CfnAnalysis( * style. */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: IResolvable) { - cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -47532,7 +50017,7 @@ public open class CfnAnalysis( */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty) { - cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty::unwrap)) + cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty.Companion::unwrap)) } /** @@ -47550,7 +50035,7 @@ public open class CfnAnalysis( * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ override fun heatmapConfiguration(heatmapConfiguration: IResolvable) { - cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -47558,7 +50043,7 @@ public open class CfnAnalysis( */ override fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty) { - cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty::unwrap)) + cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty.Companion::unwrap)) } /** @@ -47706,7 +50191,7 @@ public open class CfnAnalysis( * options. */ override fun bounds(bounds: IResolvable) { - cdkBuilder.bounds(bounds.let(IResolvable::unwrap)) + cdkBuilder.bounds(bounds.let(IResolvable.Companion::unwrap)) } /** @@ -47714,7 +50199,7 @@ public open class CfnAnalysis( * options. */ override fun bounds(bounds: GeospatialCoordinateBoundsProperty) { - cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty::unwrap)) + cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty.Companion::unwrap)) } /** @@ -47893,14 +50378,14 @@ public open class CfnAnalysis( * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: IResolvable) { - cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable::unwrap)) + cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable.Companion::unwrap)) } /** * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty) { - cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty::unwrap)) + cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty.Companion::unwrap)) } /** @@ -47916,14 +50401,14 @@ public open class CfnAnalysis( * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: IResolvable) { - cdkBuilder.uniformBorder(uniformBorder.let(IResolvable::unwrap)) + cdkBuilder.uniformBorder(uniformBorder.let(IResolvable.Companion::unwrap)) } /** * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: TableBorderOptionsProperty) { - cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -48034,7 +50519,7 @@ public open class CfnAnalysis( * @param stops The list of gradient color stops. */ override fun stops(stops: IResolvable) { - cdkBuilder.stops(stops.let(IResolvable::unwrap)) + cdkBuilder.stops(stops.let(IResolvable.Companion::unwrap)) } /** @@ -48291,7 +50776,7 @@ public open class CfnAnalysis( * a grid layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -48300,7 +50785,7 @@ public open class CfnAnalysis( */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -48447,14 +50932,14 @@ public open class CfnAnalysis( * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -48470,7 +50955,7 @@ public open class CfnAnalysis( * @param elements The elements that are included in a grid layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -49503,14 +51988,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -49525,14 +52010,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -49746,14 +52231,14 @@ public open class CfnAnalysis( * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: IResolvable) { - cdkBuilder.layout(layout.let(IResolvable::unwrap)) + cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { - cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -49775,14 +52260,14 @@ public open class CfnAnalysis( * @param style The style options of a header or footer section. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a header or footer section. */ override fun style(style: SectionStyleProperty) { - cdkBuilder.style(style.let(SectionStyleProperty::unwrap)) + cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** @@ -49935,7 +52420,7 @@ public open class CfnAnalysis( * @param columns The columns field well of a heat map. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -49954,7 +52439,7 @@ public open class CfnAnalysis( * @param rows The rows field well of a heat map. */ override fun rows(rows: IResolvable) { - cdkBuilder.rows(rows.let(IResolvable::unwrap)) + cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** @@ -49973,7 +52458,7 @@ public open class CfnAnalysis( * @param values The values field well of a heat map. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -50258,14 +52743,14 @@ public open class CfnAnalysis( * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: IResolvable) { - cdkBuilder.colorScale(colorScale.let(IResolvable::unwrap)) + cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: ColorScaleProperty) { - cdkBuilder.colorScale(colorScale.let(ColorScaleProperty::unwrap)) + cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** @@ -50280,14 +52765,14 @@ public open class CfnAnalysis( * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: IResolvable) { - cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -50303,14 +52788,14 @@ public open class CfnAnalysis( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -50325,14 +52810,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: HeatMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty.Companion::unwrap)) } /** @@ -50347,14 +52832,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -50369,14 +52854,14 @@ public open class CfnAnalysis( * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: IResolvable) { - cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -50392,14 +52877,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -50415,14 +52900,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -50571,7 +53056,7 @@ public open class CfnAnalysis( * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: IResolvable) { - cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -50579,7 +53064,7 @@ public open class CfnAnalysis( */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty) { - cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -50834,7 +53319,7 @@ public open class CfnAnalysis( */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: IResolvable) { - cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -50843,7 +53328,7 @@ public open class CfnAnalysis( */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -50862,7 +53347,7 @@ public open class CfnAnalysis( * a part of a field well. */ override fun heatMapColumnSort(heatMapColumnSort: IResolvable) { - cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable::unwrap)) + cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable.Companion::unwrap)) } /** @@ -50886,7 +53371,7 @@ public open class CfnAnalysis( */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: IResolvable) { - cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -50895,7 +53380,7 @@ public open class CfnAnalysis( */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -50913,7 +53398,7 @@ public open class CfnAnalysis( * @param heatMapRowSort The field sort configuration of the rows fields. */ override fun heatMapRowSort(heatMapRowSort: IResolvable) { - cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable::unwrap)) + cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable.Companion::unwrap)) } /** @@ -51153,7 +53638,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -51172,14 +53657,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty.Companion::unwrap)) } /** @@ -51196,7 +53681,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -51218,14 +53703,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -51240,14 +53725,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -51646,7 +54131,7 @@ public open class CfnAnalysis( * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -51813,14 +54298,14 @@ public open class CfnAnalysis( * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: IResolvable) { - cdkBuilder.binCount(binCount.let(IResolvable::unwrap)) + cdkBuilder.binCount(binCount.let(IResolvable.Companion::unwrap)) } /** * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: BinCountOptionsProperty) { - cdkBuilder.binCount(binCount.let(BinCountOptionsProperty::unwrap)) + cdkBuilder.binCount(binCount.let(BinCountOptionsProperty.Companion::unwrap)) } /** @@ -51835,14 +54320,14 @@ public open class CfnAnalysis( * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: IResolvable) { - cdkBuilder.binWidth(binWidth.let(IResolvable::unwrap)) + cdkBuilder.binWidth(binWidth.let(IResolvable.Companion::unwrap)) } /** * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: BinWidthOptionsProperty) { - cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty::unwrap)) + cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty.Companion::unwrap)) } /** @@ -52144,14 +54629,14 @@ public open class CfnAnalysis( * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: IResolvable) { - cdkBuilder.binOptions(binOptions.let(IResolvable::unwrap)) + cdkBuilder.binOptions(binOptions.let(IResolvable.Companion::unwrap)) } /** * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: HistogramBinOptionsProperty) { - cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty::unwrap)) + cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty.Companion::unwrap)) } /** @@ -52166,14 +54651,14 @@ public open class CfnAnalysis( * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -52188,14 +54673,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: HistogramFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty.Companion::unwrap)) } /** @@ -52210,14 +54695,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -52232,14 +54717,14 @@ public open class CfnAnalysis( * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -52254,14 +54739,14 @@ public open class CfnAnalysis( * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -52277,14 +54762,14 @@ public open class CfnAnalysis( * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -52300,14 +54785,14 @@ public open class CfnAnalysis( * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -52709,7 +55194,7 @@ public open class CfnAnalysis( * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: IResolvable) { - cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -52717,7 +55202,7 @@ public open class CfnAnalysis( */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty) { - cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -52907,7 +55392,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -52926,14 +55411,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty.Companion::unwrap)) } /** @@ -52949,14 +55434,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -52971,14 +55456,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -53136,7 +55621,7 @@ public open class CfnAnalysis( * @param computations The computations configurations of the insight visual. */ override fun computations(computations: IResolvable) { - cdkBuilder.computations(computations.let(IResolvable::unwrap)) + cdkBuilder.computations(computations.let(IResolvable.Companion::unwrap)) } /** @@ -53156,14 +55641,14 @@ public open class CfnAnalysis( * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: IResolvable) { - cdkBuilder.customNarrative(customNarrative.let(IResolvable::unwrap)) + cdkBuilder.customNarrative(customNarrative.let(IResolvable.Companion::unwrap)) } /** * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: CustomNarrativeOptionsProperty) { - cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty::unwrap)) + cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty.Companion::unwrap)) } /** @@ -53370,7 +55855,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -53396,14 +55881,14 @@ public open class CfnAnalysis( * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: IResolvable) { - cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable::unwrap)) + cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: InsightConfigurationProperty) { - cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty::unwrap)) + cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty.Companion::unwrap)) } /** @@ -53419,14 +55904,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -53441,14 +55926,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -53641,7 +56126,7 @@ public open class CfnAnalysis( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -53649,7 +56134,7 @@ public open class CfnAnalysis( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -53665,7 +56150,7 @@ public open class CfnAnalysis( * @param staticValues The static values of the `IntegerDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -53890,7 +56375,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -53899,7 +56384,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: IntegerDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty.Companion::unwrap)) } /** @@ -53916,7 +56401,7 @@ public open class CfnAnalysis( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -53951,14 +56436,14 @@ public open class CfnAnalysis( * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -54108,7 +56593,7 @@ public open class CfnAnalysis( * @param values The values for the integer parameter. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -54536,14 +57021,14 @@ public open class CfnAnalysis( * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -54558,14 +57043,14 @@ public open class CfnAnalysis( * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -54736,14 +57221,14 @@ public open class CfnAnalysis( * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -54758,14 +57243,14 @@ public open class CfnAnalysis( * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -55088,14 +57573,14 @@ public open class CfnAnalysis( * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: IResolvable) { - cdkBuilder.actualValue(actualValue.let(IResolvable::unwrap)) + cdkBuilder.actualValue(actualValue.let(IResolvable.Companion::unwrap)) } /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty) { - cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty::unwrap)) + cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -55111,7 +57596,7 @@ public open class CfnAnalysis( * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ override fun comparisonValue(comparisonValue: IResolvable) { - cdkBuilder.comparisonValue(comparisonValue.let(IResolvable::unwrap)) + cdkBuilder.comparisonValue(comparisonValue.let(IResolvable.Companion::unwrap)) } /** @@ -55119,7 +57604,7 @@ public open class CfnAnalysis( */ override fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty) { - cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty::unwrap)) + cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -55135,14 +57620,14 @@ public open class CfnAnalysis( * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: IResolvable) { - cdkBuilder.primaryValue(primaryValue.let(IResolvable::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty) { - cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -55158,14 +57643,14 @@ public open class CfnAnalysis( * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: IResolvable) { - cdkBuilder.progressBar(progressBar.let(IResolvable::unwrap)) + cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty) { - cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty::unwrap)) + cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty.Companion::unwrap)) } /** @@ -55427,7 +57912,7 @@ public open class CfnAnalysis( * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -55577,14 +58062,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: KPIFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty.Companion::unwrap)) } /** @@ -55599,14 +58084,14 @@ public open class CfnAnalysis( * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: IResolvable) { - cdkBuilder.kpiOptions(kpiOptions.let(IResolvable::unwrap)) + cdkBuilder.kpiOptions(kpiOptions.let(IResolvable.Companion::unwrap)) } /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: KPIOptionsProperty) { - cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty::unwrap)) + cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty.Companion::unwrap)) } /** @@ -55621,14 +58106,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty.Companion::unwrap)) } /** @@ -55780,7 +58265,7 @@ public open class CfnAnalysis( * @param targetValues The target value field wells of a KPI visual. */ override fun targetValues(targetValues: IResolvable) { - cdkBuilder.targetValues(targetValues.let(IResolvable::unwrap)) + cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** @@ -55800,7 +58285,7 @@ public open class CfnAnalysis( * @param trendGroups The trend group field wells of a KPI visual. */ override fun trendGroups(trendGroups: IResolvable) { - cdkBuilder.trendGroups(trendGroups.let(IResolvable::unwrap)) + cdkBuilder.trendGroups(trendGroups.let(IResolvable.Companion::unwrap)) } /** @@ -55819,7 +58304,7 @@ public open class CfnAnalysis( * @param values The value field wells of a KPI visual. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -56233,14 +58718,14 @@ public open class CfnAnalysis( * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: IResolvable) { - cdkBuilder.comparison(comparison.let(IResolvable::unwrap)) + cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: ComparisonConfigurationProperty) { - cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty::unwrap)) + cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** @@ -56263,7 +58748,7 @@ public open class CfnAnalysis( * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -56272,7 +58757,7 @@ public open class CfnAnalysis( */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -56291,7 +58776,7 @@ public open class CfnAnalysis( * visual. */ override fun progressBar(progressBar: IResolvable) { - cdkBuilder.progressBar(progressBar.let(IResolvable::unwrap)) + cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** @@ -56299,7 +58784,7 @@ public open class CfnAnalysis( * visual. */ override fun progressBar(progressBar: ProgressBarOptionsProperty) { - cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty::unwrap)) + cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty.Companion::unwrap)) } /** @@ -56316,7 +58801,7 @@ public open class CfnAnalysis( * a KPI visual. */ override fun secondaryValue(secondaryValue: IResolvable) { - cdkBuilder.secondaryValue(secondaryValue.let(IResolvable::unwrap)) + cdkBuilder.secondaryValue(secondaryValue.let(IResolvable.Companion::unwrap)) } /** @@ -56324,7 +58809,7 @@ public open class CfnAnalysis( * a KPI visual. */ override fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty) { - cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty::unwrap)) + cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty.Companion::unwrap)) } /** @@ -56341,7 +58826,7 @@ public open class CfnAnalysis( * configuration. */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: IResolvable) { - cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -56350,7 +58835,7 @@ public open class CfnAnalysis( */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -56369,7 +58854,7 @@ public open class CfnAnalysis( * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: IResolvable) { - cdkBuilder.sparkline(sparkline.let(IResolvable::unwrap)) + cdkBuilder.sparkline(sparkline.let(IResolvable.Companion::unwrap)) } /** @@ -56377,7 +58862,7 @@ public open class CfnAnalysis( * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: KPISparklineOptionsProperty) { - cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty::unwrap)) + cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty.Companion::unwrap)) } /** @@ -56394,7 +58879,7 @@ public open class CfnAnalysis( * visual. */ override fun trendArrows(trendArrows: IResolvable) { - cdkBuilder.trendArrows(trendArrows.let(IResolvable::unwrap)) + cdkBuilder.trendArrows(trendArrows.let(IResolvable.Companion::unwrap)) } /** @@ -56402,7 +58887,7 @@ public open class CfnAnalysis( * visual. */ override fun trendArrows(trendArrows: TrendArrowOptionsProperty) { - cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty::unwrap)) + cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty.Companion::unwrap)) } /** @@ -56418,14 +58903,14 @@ public open class CfnAnalysis( * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: IResolvable) { - cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable::unwrap)) + cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable.Companion::unwrap)) } /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty) { - cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty::unwrap)) + cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty.Companion::unwrap)) } /** @@ -56647,14 +59132,14 @@ public open class CfnAnalysis( * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -56669,14 +59154,14 @@ public open class CfnAnalysis( * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -56805,14 +59290,14 @@ public open class CfnAnalysis( * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { - cdkBuilder.foregroundColor(foregroundColor.let(IResolvable::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -56942,7 +59427,7 @@ public open class CfnAnalysis( * @param trendGroupSort The sort configuration of the trend group fields. */ override fun trendGroupSort(trendGroupSort: IResolvable) { - cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable::unwrap)) + cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable.Companion::unwrap)) } /** @@ -57217,14 +59702,14 @@ public open class CfnAnalysis( * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: IResolvable) { - cdkBuilder.standardLayout(standardLayout.let(IResolvable::unwrap)) + cdkBuilder.standardLayout(standardLayout.let(IResolvable.Companion::unwrap)) } /** * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty) { - cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty::unwrap)) + cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty.Companion::unwrap)) } /** @@ -57461,7 +59946,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -57480,14 +59965,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: KPIConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty.Companion::unwrap)) } /** @@ -57504,7 +59989,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -57526,14 +60011,14 @@ public open class CfnAnalysis( * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty.Companion::unwrap)) } /** @@ -57549,14 +60034,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -57571,14 +60056,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -57858,14 +60343,14 @@ public open class CfnAnalysis( * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -58290,7 +60775,7 @@ public open class CfnAnalysis( * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: IResolvable) { - cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** @@ -58298,7 +60783,7 @@ public open class CfnAnalysis( * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty) { - cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -58319,7 +60804,7 @@ public open class CfnAnalysis( * `RESPONSIVE` . */ override fun gridLayout(gridLayout: IResolvable) { - cdkBuilder.gridLayout(gridLayout.let(IResolvable::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** @@ -58330,7 +60815,7 @@ public open class CfnAnalysis( * `RESPONSIVE` . */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { - cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -58350,7 +60835,7 @@ public open class CfnAnalysis( * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: IResolvable) { - cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable::unwrap)) + cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable.Companion::unwrap)) } /** @@ -58358,7 +60843,7 @@ public open class CfnAnalysis( * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty) { - cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty::unwrap)) + cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -58717,7 +61202,7 @@ public open class CfnAnalysis( * */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -58725,7 +61210,7 @@ public open class CfnAnalysis( * */ override fun configuration(configuration: LayoutConfigurationProperty) { - cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty.Companion::unwrap)) } /** @@ -58926,14 +61411,14 @@ public open class CfnAnalysis( * @param title The custom title for the legend. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The custom title for the legend. */ override fun title(title: LabelOptionsProperty) { - cdkBuilder.title(title.let(LabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -59161,7 +61646,7 @@ public open class CfnAnalysis( * Values are grouped by category fields. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -59183,7 +61668,7 @@ public open class CfnAnalysis( * Values are grouped by category fields. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -59204,7 +61689,7 @@ public open class CfnAnalysis( * @param smallMultiples The small multiples field well of a line chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -59225,7 +61710,7 @@ public open class CfnAnalysis( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -59793,7 +62278,7 @@ public open class CfnAnalysis( * contribution analysis. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -59815,14 +62300,14 @@ public open class CfnAnalysis( * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -59838,7 +62323,7 @@ public open class CfnAnalysis( * line series in `LineChartVisual` . */ override fun defaultSeriesSettings(defaultSeriesSettings: IResolvable) { - cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable.Companion::unwrap)) } /** @@ -59847,7 +62332,7 @@ public open class CfnAnalysis( */ override fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty) { - cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty::unwrap)) + cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty.Companion::unwrap)) } /** @@ -59865,14 +62350,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: LineChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty.Companion::unwrap)) } /** @@ -59887,7 +62372,7 @@ public open class CfnAnalysis( * @param forecastConfigurations The forecast configuration of a line chart. */ override fun forecastConfigurations(forecastConfigurations: IResolvable) { - cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable::unwrap)) + cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -59907,14 +62392,14 @@ public open class CfnAnalysis( * @param legend The legend configuration of a line chart. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a line chart. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -59929,7 +62414,7 @@ public open class CfnAnalysis( * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -59937,7 +62422,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -59955,7 +62440,7 @@ public open class CfnAnalysis( * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -59964,7 +62449,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -59981,7 +62466,7 @@ public open class CfnAnalysis( * @param referenceLines The reference lines configuration of a line chart. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -60001,7 +62486,7 @@ public open class CfnAnalysis( * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -60009,7 +62494,7 @@ public open class CfnAnalysis( */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -60027,7 +62512,7 @@ public open class CfnAnalysis( * secondary y-axis label. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -60036,7 +62521,7 @@ public open class CfnAnalysis( */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -60054,7 +62539,7 @@ public open class CfnAnalysis( * @param series The series item configuration of a line chart. */ override fun series(series: IResolvable) { - cdkBuilder.series(series.let(IResolvable::unwrap)) + cdkBuilder.series(series.let(IResolvable.Companion::unwrap)) } /** @@ -60073,14 +62558,14 @@ public open class CfnAnalysis( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -60096,14 +62581,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -60119,14 +62604,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -60148,14 +62633,14 @@ public open class CfnAnalysis( * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -60170,14 +62655,14 @@ public open class CfnAnalysis( * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -60193,14 +62678,14 @@ public open class CfnAnalysis( * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -60490,14 +62975,14 @@ public open class CfnAnalysis( * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** @@ -60513,14 +62998,14 @@ public open class CfnAnalysis( * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** @@ -60635,7 +63120,7 @@ public open class CfnAnalysis( * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: IResolvable) { - cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -60643,7 +63128,7 @@ public open class CfnAnalysis( */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty) { - cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -61170,14 +63655,14 @@ public open class CfnAnalysis( * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** @@ -61193,14 +63678,14 @@ public open class CfnAnalysis( * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** @@ -61488,7 +63973,7 @@ public open class CfnAnalysis( * displayed in a line chart. */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: IResolvable) { - cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -61497,7 +63982,7 @@ public open class CfnAnalysis( */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -61515,7 +64000,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -61536,7 +64021,7 @@ public open class CfnAnalysis( * a line chart. */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: IResolvable) { - cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -61545,7 +64030,7 @@ public open class CfnAnalysis( */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -61564,7 +64049,7 @@ public open class CfnAnalysis( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -61573,7 +64058,7 @@ public open class CfnAnalysis( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -61591,7 +64076,7 @@ public open class CfnAnalysis( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -61840,7 +64325,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -61859,14 +64344,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty.Companion::unwrap)) } /** @@ -61883,7 +64368,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -61905,14 +64390,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -61927,14 +64412,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -62168,14 +64653,14 @@ public open class CfnAnalysis( * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: IResolvable) { - cdkBuilder.axisOptions(axisOptions.let(IResolvable::unwrap)) + cdkBuilder.axisOptions(axisOptions.let(IResolvable.Companion::unwrap)) } /** * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: AxisDisplayOptionsProperty) { - cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -62191,7 +64676,7 @@ public open class CfnAnalysis( * is treated during the rendering of a line chart. */ override fun missingDataConfigurations(missingDataConfigurations: IResolvable) { - cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable::unwrap)) + cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -62409,7 +64894,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -62417,7 +64902,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -62434,14 +64919,14 @@ public open class CfnAnalysis( * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: IResolvable) { - cdkBuilder.searchOptions(searchOptions.let(IResolvable::unwrap)) + cdkBuilder.searchOptions(searchOptions.let(IResolvable.Companion::unwrap)) } /** * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: ListControlSearchOptionsProperty) { - cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty::unwrap)) + cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty.Companion::unwrap)) } /** @@ -62457,14 +64942,14 @@ public open class CfnAnalysis( * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { - cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { - cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** @@ -62480,14 +64965,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -63822,14 +66307,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -63853,14 +66338,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -64311,14 +66796,14 @@ public open class CfnAnalysis( * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: IResolvable) { - cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable::unwrap)) + cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty) { - cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty::unwrap)) + cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty.Companion::unwrap)) } /** @@ -64334,7 +66819,7 @@ public open class CfnAnalysis( * @param categoricalMeasureField The measure type field with categorical type columns. */ override fun categoricalMeasureField(categoricalMeasureField: IResolvable) { - cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable::unwrap)) + cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable.Companion::unwrap)) } /** @@ -64342,7 +66827,7 @@ public open class CfnAnalysis( */ override fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty) { - cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty::unwrap)) + cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty.Companion::unwrap)) } /** @@ -64358,14 +66843,14 @@ public open class CfnAnalysis( * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: IResolvable) { - cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable::unwrap)) + cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty) { - cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty::unwrap)) + cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty.Companion::unwrap)) } /** @@ -64380,14 +66865,14 @@ public open class CfnAnalysis( * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: IResolvable) { - cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable::unwrap)) + cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty) { - cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty::unwrap)) + cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty.Companion::unwrap)) } /** @@ -64584,14 +67069,14 @@ public open class CfnAnalysis( * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: IResolvable) { - cdkBuilder.fromValue(fromValue.let(IResolvable::unwrap)) + cdkBuilder.fromValue(fromValue.let(IResolvable.Companion::unwrap)) } /** * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: MeasureFieldProperty) { - cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty::unwrap)) + cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -64613,14 +67098,14 @@ public open class CfnAnalysis( * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: IResolvable) { - cdkBuilder.targetValue(targetValue.let(IResolvable::unwrap)) + cdkBuilder.targetValue(targetValue.let(IResolvable.Companion::unwrap)) } /** * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: MeasureFieldProperty) { - cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty::unwrap)) + cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -64635,14 +67120,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -65272,7 +67757,7 @@ public open class CfnAnalysis( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65281,7 +67766,7 @@ public open class CfnAnalysis( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -65300,7 +67785,7 @@ public open class CfnAnalysis( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65309,7 +67794,7 @@ public open class CfnAnalysis( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -65328,7 +67813,7 @@ public open class CfnAnalysis( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65337,7 +67822,7 @@ public open class CfnAnalysis( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -65370,7 +67855,7 @@ public open class CfnAnalysis( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65379,7 +67864,7 @@ public open class CfnAnalysis( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -65601,14 +68086,14 @@ public open class CfnAnalysis( * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -65752,14 +68237,14 @@ public open class CfnAnalysis( * @param range The range setup of a numeric axis. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The range setup of a numeric axis. */ override fun range(range: AxisDisplayRangeProperty) { - cdkBuilder.range(range.let(AxisDisplayRangeProperty::unwrap)) + cdkBuilder.range(range.let(AxisDisplayRangeProperty.Companion::unwrap)) } /** @@ -65774,14 +68259,14 @@ public open class CfnAnalysis( * @param scale The scale setup of a numeric axis. */ override fun scale(scale: IResolvable) { - cdkBuilder.scale(scale.let(IResolvable::unwrap)) + cdkBuilder.scale(scale.let(IResolvable.Companion::unwrap)) } /** * @param scale The scale setup of a numeric axis. */ override fun scale(scale: AxisScaleProperty) { - cdkBuilder.scale(scale.let(AxisScaleProperty::unwrap)) + cdkBuilder.scale(scale.let(AxisScaleProperty.Companion::unwrap)) } /** @@ -65834,7 +68319,7 @@ public open class CfnAnalysis( } /** - * The category drill down filter. + * The numeric equality type drill down filter. * * Example: * @@ -65909,14 +68394,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -66011,6 +68496,204 @@ public open class CfnAnalysis( * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .value(123) @@ -66034,6 +68717,16 @@ public open class CfnAnalysis( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-numericequalityfilter.html#cfn-quicksight-analysis-numericequalityfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -66122,6 +68815,31 @@ public open class CfnAnalysis( @JvmName("4977146a136ed27b2d1bd6c248966f5d07f503263e1543955a463cd74afe5448") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ce0659b8c54cb2834f0a19a5f4b0a3c331f151feb6fe818edbb91aec2e250592") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -66171,14 +68889,14 @@ public open class CfnAnalysis( * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -66194,14 +68912,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -66212,6 +68930,38 @@ public open class CfnAnalysis( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ce0659b8c54cb2834f0a19a5f4b0a3c331f151feb6fe818edbb91aec2e250592") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -66284,6 +69034,16 @@ public open class CfnAnalysis( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-numericequalityfilter.html#cfn-quicksight-analysis-numericequalityfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -66543,7 +69303,7 @@ public open class CfnAnalysis( */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: IResolvable) { - cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -66552,7 +69312,7 @@ public open class CfnAnalysis( */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty) { - cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -66571,7 +69331,7 @@ public open class CfnAnalysis( * format configuration. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -66580,7 +69340,7 @@ public open class CfnAnalysis( */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -66600,7 +69360,7 @@ public open class CfnAnalysis( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -66609,7 +69369,7 @@ public open class CfnAnalysis( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -66706,6 +69466,204 @@ public open class CfnAnalysis( * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .includeMaximum(false) * .includeMinimum(false) * .rangeMaximum(NumericRangeFilterValueProperty.builder() @@ -66737,6 +69695,16 @@ public open class CfnAnalysis( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-numericrangefilter.html#cfn-quicksight-analysis-numericrangefilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -66834,6 +69802,31 @@ public open class CfnAnalysis( @JvmName("0ab7e00200aaeb535d9e2c64fb1a356c94545af58c40ffcfdd3eb8c629dd1ff4") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ee3c9fb04f7864d01c38bc877b2bf24a473c607b9698415754e8e75379c7c986") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -66925,14 +69918,14 @@ public open class CfnAnalysis( * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -66948,14 +69941,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -66966,6 +69959,38 @@ public open class CfnAnalysis( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ee3c9fb04f7864d01c38bc877b2bf24a473c607b9698415754e8e75379c7c986") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -66987,7 +70012,7 @@ public open class CfnAnalysis( * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { - cdkBuilder.includeMaximum(includeMaximum.let(IResolvable::unwrap)) + cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** @@ -67003,7 +70028,7 @@ public open class CfnAnalysis( * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { - cdkBuilder.includeMinimum(includeMinimum.let(IResolvable::unwrap)) + cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** @@ -67021,14 +70046,14 @@ public open class CfnAnalysis( * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: IResolvable) { - cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable::unwrap)) + cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty) { - cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** @@ -67043,14 +70068,14 @@ public open class CfnAnalysis( * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: IResolvable) { - cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable::unwrap)) + cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty) { - cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** @@ -67092,6 +70117,16 @@ public open class CfnAnalysis( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-numericrangefilter.html#cfn-quicksight-analysis-numericrangefilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -67360,14 +70395,14 @@ public open class CfnAnalysis( * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: IResolvable) { - cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable::unwrap)) + cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable.Companion::unwrap)) } /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty) { - cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty::unwrap)) + cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty.Companion::unwrap)) } /** @@ -67522,7 +70557,7 @@ public open class CfnAnalysis( * dimension or measure. */ override fun percentileAggregation(percentileAggregation: IResolvable) { - cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable::unwrap)) + cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable.Companion::unwrap)) } /** @@ -67530,7 +70565,7 @@ public open class CfnAnalysis( * dimension or measure. */ override fun percentileAggregation(percentileAggregation: PercentileAggregationProperty) { - cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty::unwrap)) + cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty.Companion::unwrap)) } /** @@ -67796,14 +70831,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -67825,14 +70860,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -68104,14 +71139,14 @@ public open class CfnAnalysis( * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -68127,14 +71162,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -68156,14 +71191,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -68577,14 +71612,14 @@ public open class CfnAnalysis( * @param title Configures the title display within each small multiples panel. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title Configures the title display within each small multiples panel. */ override fun title(title: PanelTitleOptionsProperty) { - cdkBuilder.title(title.let(PanelTitleOptionsProperty::unwrap)) + cdkBuilder.title(title.let(PanelTitleOptionsProperty.Companion::unwrap)) } /** @@ -68776,14 +71811,14 @@ public open class CfnAnalysis( * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -69263,14 +72298,14 @@ public open class CfnAnalysis( * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { - cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty) { - cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty.Companion::unwrap)) } /** @@ -69287,7 +72322,7 @@ public open class CfnAnalysis( * single value. */ override fun dropdown(dropdown: IResolvable) { - cdkBuilder.dropdown(dropdown.let(IResolvable::unwrap)) + cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** @@ -69295,7 +72330,7 @@ public open class CfnAnalysis( * single value. */ override fun dropdown(dropdown: ParameterDropDownControlProperty) { - cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty::unwrap)) + cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty.Companion::unwrap)) } /** @@ -69312,7 +72347,7 @@ public open class CfnAnalysis( * either a single value or multiple values. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** @@ -69320,7 +72355,7 @@ public open class CfnAnalysis( * either a single value or multiple values. */ override fun list(list: ParameterListControlProperty) { - cdkBuilder.list(list.let(ParameterListControlProperty::unwrap)) + cdkBuilder.list(list.let(ParameterListControlProperty.Companion::unwrap)) } /** @@ -69337,7 +72372,7 @@ public open class CfnAnalysis( * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { - cdkBuilder.slider(slider.let(IResolvable::unwrap)) + cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** @@ -69345,7 +72380,7 @@ public open class CfnAnalysis( * This is used to change a value by sliding the toggle. */ override fun slider(slider: ParameterSliderControlProperty) { - cdkBuilder.slider(slider.let(ParameterSliderControlProperty::unwrap)) + cdkBuilder.slider(slider.let(ParameterSliderControlProperty.Companion::unwrap)) } /** @@ -69361,14 +72396,14 @@ public open class CfnAnalysis( * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { - cdkBuilder.textArea(textArea.let(IResolvable::unwrap)) + cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: ParameterTextAreaControlProperty) { - cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty::unwrap)) + cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty.Companion::unwrap)) } /** @@ -69383,14 +72418,14 @@ public open class CfnAnalysis( * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { - cdkBuilder.textField(textField.let(IResolvable::unwrap)) + cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: ParameterTextFieldControlProperty) { - cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty::unwrap)) + cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty.Companion::unwrap)) } /** @@ -69593,14 +72628,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -69962,7 +72997,7 @@ public open class CfnAnalysis( * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: IResolvable) { - cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -69970,7 +73005,7 @@ public open class CfnAnalysis( */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty) { - cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty::unwrap)) + cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty.Companion::unwrap)) } /** @@ -69987,7 +73022,7 @@ public open class CfnAnalysis( * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ override fun decimalParameterDeclaration(decimalParameterDeclaration: IResolvable) { - cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -69995,7 +73030,7 @@ public open class CfnAnalysis( */ override fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty) { - cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty::unwrap)) + cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty.Companion::unwrap)) } /** @@ -70012,7 +73047,7 @@ public open class CfnAnalysis( * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ override fun integerParameterDeclaration(integerParameterDeclaration: IResolvable) { - cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -70020,7 +73055,7 @@ public open class CfnAnalysis( */ override fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty) { - cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty::unwrap)) + cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty.Companion::unwrap)) } /** @@ -70037,7 +73072,7 @@ public open class CfnAnalysis( * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ override fun stringParameterDeclaration(stringParameterDeclaration: IResolvable) { - cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -70045,7 +73080,7 @@ public open class CfnAnalysis( */ override fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty) { - cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty::unwrap)) + cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty.Companion::unwrap)) } /** @@ -70324,7 +73359,7 @@ public open class CfnAnalysis( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -70333,7 +73368,7 @@ public open class CfnAnalysis( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -70351,14 +73386,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -70381,14 +73416,14 @@ public open class CfnAnalysis( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** @@ -70711,7 +73746,7 @@ public open class CfnAnalysis( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -70720,7 +73755,7 @@ public open class CfnAnalysis( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -70738,14 +73773,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -70768,14 +73803,14 @@ public open class CfnAnalysis( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** @@ -70966,14 +74001,14 @@ public open class CfnAnalysis( * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: IResolvable) { - cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable::unwrap)) + cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable.Companion::unwrap)) } /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty) { - cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -71094,7 +74129,7 @@ public open class CfnAnalysis( public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -71103,7 +74138,7 @@ public open class CfnAnalysis( public fun maximumValue(): Number /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -71165,12 +74200,12 @@ public open class CfnAnalysis( fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) @@ -71205,14 +74240,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -71225,14 +74260,14 @@ public open class CfnAnalysis( Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) @@ -71282,7 +74317,7 @@ public open class CfnAnalysis( override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -71291,7 +74326,7 @@ public open class CfnAnalysis( override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -71490,14 +74525,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -71714,14 +74749,14 @@ public open class CfnAnalysis( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -71945,7 +74980,7 @@ public open class CfnAnalysis( * @param dateTimeParameters The parameters that have a data type of date-time. */ override fun dateTimeParameters(dateTimeParameters: IResolvable) { - cdkBuilder.dateTimeParameters(dateTimeParameters.let(IResolvable::unwrap)) + cdkBuilder.dateTimeParameters(dateTimeParameters.let(IResolvable.Companion::unwrap)) } /** @@ -71965,7 +75000,7 @@ public open class CfnAnalysis( * @param decimalParameters The parameters that have a data type of decimal. */ override fun decimalParameters(decimalParameters: IResolvable) { - cdkBuilder.decimalParameters(decimalParameters.let(IResolvable::unwrap)) + cdkBuilder.decimalParameters(decimalParameters.let(IResolvable.Companion::unwrap)) } /** @@ -71985,7 +75020,7 @@ public open class CfnAnalysis( * @param integerParameters The parameters that have a data type of integer. */ override fun integerParameters(integerParameters: IResolvable) { - cdkBuilder.integerParameters(integerParameters.let(IResolvable::unwrap)) + cdkBuilder.integerParameters(integerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -72005,7 +75040,7 @@ public open class CfnAnalysis( * @param stringParameters The parameters that have a data type of string. */ override fun stringParameters(stringParameters: IResolvable) { - cdkBuilder.stringParameters(stringParameters.let(IResolvable::unwrap)) + cdkBuilder.stringParameters(stringParameters.let(IResolvable.Companion::unwrap)) } /** @@ -72376,7 +75411,7 @@ public open class CfnAnalysis( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -72385,7 +75420,7 @@ public open class CfnAnalysis( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -72404,7 +75439,7 @@ public open class CfnAnalysis( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -72413,7 +75448,7 @@ public open class CfnAnalysis( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -72432,7 +75467,7 @@ public open class CfnAnalysis( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -72441,7 +75476,7 @@ public open class CfnAnalysis( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -72467,7 +75502,7 @@ public open class CfnAnalysis( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -72476,7 +75511,7 @@ public open class CfnAnalysis( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -73267,14 +76302,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -73289,14 +76324,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -73998,14 +77033,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -74020,14 +77055,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -74202,7 +77237,7 @@ public open class CfnAnalysis( * @param category The category (group/color) field wells of a pie chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -74221,7 +77256,7 @@ public open class CfnAnalysis( * @param smallMultiples The small multiples field well of a pie chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -74242,7 +77277,7 @@ public open class CfnAnalysis( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -74615,7 +77650,7 @@ public open class CfnAnalysis( * chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -74623,7 +77658,7 @@ public open class CfnAnalysis( * chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -74641,7 +77676,7 @@ public open class CfnAnalysis( * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -74663,14 +77698,14 @@ public open class CfnAnalysis( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -74686,7 +77721,7 @@ public open class CfnAnalysis( * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: IResolvable) { - cdkBuilder.donutOptions(donutOptions.let(IResolvable::unwrap)) + cdkBuilder.donutOptions(donutOptions.let(IResolvable.Companion::unwrap)) } /** @@ -74694,7 +77729,7 @@ public open class CfnAnalysis( * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: DonutOptionsProperty) { - cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty::unwrap)) + cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty.Companion::unwrap)) } /** @@ -74710,14 +77745,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PieChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty.Companion::unwrap)) } /** @@ -74732,14 +77767,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -74754,14 +77789,14 @@ public open class CfnAnalysis( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -74777,14 +77812,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -74800,14 +77835,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -74822,14 +77857,14 @@ public open class CfnAnalysis( * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -74845,14 +77880,14 @@ public open class CfnAnalysis( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -75026,7 +78061,7 @@ public open class CfnAnalysis( * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: IResolvable) { - cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -75034,7 +78069,7 @@ public open class CfnAnalysis( */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty) { - cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -75282,7 +78317,7 @@ public open class CfnAnalysis( * chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -75290,7 +78325,7 @@ public open class CfnAnalysis( * chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -75307,7 +78342,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -75328,7 +78363,7 @@ public open class CfnAnalysis( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -75337,7 +78372,7 @@ public open class CfnAnalysis( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -75355,7 +78390,7 @@ public open class CfnAnalysis( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -75606,7 +78641,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -75625,14 +78660,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty.Companion::unwrap)) } /** @@ -75649,7 +78684,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -75671,14 +78706,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -75693,14 +78728,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -75907,14 +78942,14 @@ public open class CfnAnalysis( * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: IResolvable) { - cdkBuilder.sortBy(sortBy.let(IResolvable::unwrap)) + cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: PivotTableSortByProperty) { - cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty::unwrap)) + cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty.Companion::unwrap)) } /** @@ -76075,7 +79110,7 @@ public open class CfnAnalysis( * Values are grouped by columns fields. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -76097,7 +79132,7 @@ public open class CfnAnalysis( * Values are grouped by rows fields. */ override fun rows(rows: IResolvable) { - cdkBuilder.rows(rows.let(IResolvable::unwrap)) + cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** @@ -76119,7 +79154,7 @@ public open class CfnAnalysis( * Values are aggregated based on rows and columns fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -76378,14 +79413,14 @@ public open class CfnAnalysis( * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: PivotTableConditionalFormattingScopeProperty) { - cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty.Companion::unwrap)) } /** @@ -76400,7 +79435,7 @@ public open class CfnAnalysis( * @param scopes A list of cell scopes for conditional formatting. */ override fun scopes(scopes: IResolvable) { - cdkBuilder.scopes(scopes.let(IResolvable::unwrap)) + cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** @@ -76419,14 +79454,14 @@ public open class CfnAnalysis( * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { - cdkBuilder.textFormat(textFormat.let(IResolvable::unwrap)) + cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { - cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty::unwrap)) + cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** @@ -76617,14 +79652,14 @@ public open class CfnAnalysis( * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: IResolvable) { - cdkBuilder.cell(cell.let(IResolvable::unwrap)) + cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: PivotTableCellConditionalFormattingProperty) { - cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty::unwrap)) + cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty.Companion::unwrap)) } /** @@ -76798,7 +79833,7 @@ public open class CfnAnalysis( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -77112,14 +80147,14 @@ public open class CfnAnalysis( * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { - cdkBuilder.fieldOptions(fieldOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty) { - cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty.Companion::unwrap)) } /** @@ -77134,14 +80169,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PivotTableFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty.Companion::unwrap)) } /** @@ -77156,7 +80191,7 @@ public open class CfnAnalysis( * @param paginatedReportOptions The paginated report options for a pivot table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** @@ -77164,7 +80199,7 @@ public open class CfnAnalysis( */ override fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty.Companion::unwrap)) } /** @@ -77181,14 +80216,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty.Companion::unwrap)) } /** @@ -77204,14 +80239,14 @@ public open class CfnAnalysis( * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: IResolvable) { - cdkBuilder.tableOptions(tableOptions.let(IResolvable::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: PivotTableOptionsProperty) { - cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty.Companion::unwrap)) } /** @@ -77226,14 +80261,14 @@ public open class CfnAnalysis( * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: IResolvable) { - cdkBuilder.totalOptions(totalOptions.let(IResolvable::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: PivotTableTotalOptionsProperty) { - cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty.Companion::unwrap)) } /** @@ -77389,7 +80424,7 @@ public open class CfnAnalysis( * @param dataPathList The list of data path values for the data path options. */ override fun dataPathList(dataPathList: IResolvable) { - cdkBuilder.dataPathList(dataPathList.let(IResolvable::unwrap)) + cdkBuilder.dataPathList(dataPathList.let(IResolvable.Companion::unwrap)) } /** @@ -77550,14 +80585,14 @@ public open class CfnAnalysis( * @param target A tagged-union object that sets the collapse state. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** * @param target A tagged-union object that sets the collapse state. */ override fun target(target: PivotTableFieldCollapseStateTargetProperty) { - cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty::unwrap)) + cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty.Companion::unwrap)) } /** @@ -77694,7 +80729,7 @@ public open class CfnAnalysis( * Used to set the collapse state. */ override fun fieldDataPathValues(fieldDataPathValues: IResolvable) { - cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable::unwrap)) + cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable.Companion::unwrap)) } /** @@ -78031,7 +81066,7 @@ public open class CfnAnalysis( * @param collapseStateOptions The collapse state options for the pivot table field options. */ override fun collapseStateOptions(collapseStateOptions: IResolvable) { - cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable::unwrap)) + cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable.Companion::unwrap)) } /** @@ -78051,7 +81086,7 @@ public open class CfnAnalysis( * @param dataPathOptions The data path options for the pivot table field options. */ override fun dataPathOptions(dataPathOptions: IResolvable) { - cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable::unwrap)) + cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable.Companion::unwrap)) } /** @@ -78071,7 +81106,7 @@ public open class CfnAnalysis( * @param selectedFieldOptions The selected field options for the pivot table field options. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { - cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** @@ -78276,7 +81311,7 @@ public open class CfnAnalysis( * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: IResolvable) { - cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -78284,7 +81319,7 @@ public open class CfnAnalysis( */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty) { - cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -78866,14 +81901,14 @@ public open class CfnAnalysis( * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: IResolvable) { - cdkBuilder.cellStyle(cellStyle.let(IResolvable::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { - cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -78898,14 +81933,14 @@ public open class CfnAnalysis( * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: IResolvable) { - cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable::unwrap)) + cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty) { - cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -78942,7 +81977,7 @@ public open class CfnAnalysis( * alternate colors). */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** @@ -78951,7 +81986,7 @@ public open class CfnAnalysis( */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** @@ -78969,14 +82004,14 @@ public open class CfnAnalysis( * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: IResolvable) { - cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable::unwrap)) + cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty) { - cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -78992,14 +82027,14 @@ public open class CfnAnalysis( * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: IResolvable) { - cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable::unwrap)) + cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty) { - cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -79015,7 +82050,7 @@ public open class CfnAnalysis( * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: IResolvable) { - cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -79023,7 +82058,7 @@ public open class CfnAnalysis( * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty) { - cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty::unwrap)) + cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty.Companion::unwrap)) } /** @@ -79563,14 +82598,14 @@ public open class CfnAnalysis( * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: ColumnSortProperty) { - cdkBuilder.column(column.let(ColumnSortProperty::unwrap)) + cdkBuilder.column(column.let(ColumnSortProperty.Companion::unwrap)) } /** @@ -79586,7 +82621,7 @@ public open class CfnAnalysis( * options. */ override fun dataPath(dataPath: IResolvable) { - cdkBuilder.dataPath(dataPath.let(IResolvable::unwrap)) + cdkBuilder.dataPath(dataPath.let(IResolvable.Companion::unwrap)) } /** @@ -79594,7 +82629,7 @@ public open class CfnAnalysis( * options. */ override fun dataPath(dataPath: DataPathSortProperty) { - cdkBuilder.dataPath(dataPath.let(DataPathSortProperty::unwrap)) + cdkBuilder.dataPath(dataPath.let(DataPathSortProperty.Companion::unwrap)) } /** @@ -79610,14 +82645,14 @@ public open class CfnAnalysis( * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: IResolvable) { - cdkBuilder.`field`(`field`.let(IResolvable::unwrap)) + cdkBuilder.`field`(`field`.let(IResolvable.Companion::unwrap)) } /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: FieldSortProperty) { - cdkBuilder.`field`(`field`.let(FieldSortProperty::unwrap)) + cdkBuilder.`field`(`field`.let(FieldSortProperty.Companion::unwrap)) } /** @@ -79772,7 +82807,7 @@ public open class CfnAnalysis( * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ override fun fieldSortOptions(fieldSortOptions: IResolvable) { - cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable.Companion::unwrap)) } /** @@ -79948,14 +82983,14 @@ public open class CfnAnalysis( * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: IResolvable) { - cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable::unwrap)) + cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty) { - cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty::unwrap)) + cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** @@ -79971,14 +83006,14 @@ public open class CfnAnalysis( * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: IResolvable) { - cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable::unwrap)) + cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty) { - cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty::unwrap)) + cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** @@ -79994,14 +83029,14 @@ public open class CfnAnalysis( * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: IResolvable) { - cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable::unwrap)) + cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty) { - cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty::unwrap)) + cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** @@ -80017,14 +83052,14 @@ public open class CfnAnalysis( * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: IResolvable) { - cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable::unwrap)) + cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty) { - cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty::unwrap)) + cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** @@ -80258,7 +83293,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -80277,14 +83312,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty.Companion::unwrap)) } /** @@ -80300,7 +83335,7 @@ public open class CfnAnalysis( * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -80308,7 +83343,7 @@ public open class CfnAnalysis( */ override fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty.Companion::unwrap)) } /** @@ -80325,14 +83360,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -80347,14 +83382,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -80811,14 +83846,14 @@ public open class CfnAnalysis( * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -80848,7 +83883,7 @@ public open class CfnAnalysis( * @param totalAggregationOptions The total aggregation options for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { - cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -80868,14 +83903,14 @@ public open class CfnAnalysis( * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -80897,14 +83932,14 @@ public open class CfnAnalysis( * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { - cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { - cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -81123,7 +84158,7 @@ public open class CfnAnalysis( * @param columns The list of columns that define the predefined hierarchy. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -81143,7 +84178,7 @@ public open class CfnAnalysis( * predefined hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -81391,7 +84426,7 @@ public open class CfnAnalysis( * @param category The aggregated field well categories of a radar chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -81410,7 +84445,7 @@ public open class CfnAnalysis( * @param color The color that are assigned to the aggregated field wells of a radar chart. */ override fun color(color: IResolvable) { - cdkBuilder.color(color.let(IResolvable::unwrap)) + cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** @@ -81429,7 +84464,7 @@ public open class CfnAnalysis( * @param values The values that are assigned to the aggregated field wells of a radar chart. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -81931,14 +84966,14 @@ public open class CfnAnalysis( * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: IResolvable) { - cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable::unwrap)) + cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable.Companion::unwrap)) } /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty) { - cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty::unwrap)) + cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -81954,14 +84989,14 @@ public open class CfnAnalysis( * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -81976,14 +85011,14 @@ public open class CfnAnalysis( * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -81999,14 +85034,14 @@ public open class CfnAnalysis( * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: IResolvable) { - cdkBuilder.colorAxis(colorAxis.let(IResolvable::unwrap)) + cdkBuilder.colorAxis(colorAxis.let(IResolvable.Companion::unwrap)) } /** * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: AxisDisplayOptionsProperty) { - cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -82021,14 +85056,14 @@ public open class CfnAnalysis( * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -82044,14 +85079,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: RadarChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty.Companion::unwrap)) } /** @@ -82066,14 +85101,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -82095,14 +85130,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -82125,14 +85160,14 @@ public open class CfnAnalysis( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -82330,7 +85365,7 @@ public open class CfnAnalysis( * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: IResolvable) { - cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -82338,7 +85373,7 @@ public open class CfnAnalysis( */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty) { - cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -82447,14 +85482,14 @@ public open class CfnAnalysis( * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: IResolvable) { - cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty) { - cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty::unwrap)) + cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty.Companion::unwrap)) } /** @@ -82691,14 +85726,14 @@ public open class CfnAnalysis( * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -82714,7 +85749,7 @@ public open class CfnAnalysis( * @param categorySort The category sort options of a radar chart. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -82734,14 +85769,14 @@ public open class CfnAnalysis( * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -82757,7 +85792,7 @@ public open class CfnAnalysis( * @param colorSort The color sort configuration of a radar chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -82991,7 +86026,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -83010,14 +86045,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty.Companion::unwrap)) } /** @@ -83034,7 +86069,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -83056,14 +86091,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -83078,14 +86113,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -83514,7 +86549,7 @@ public open class CfnAnalysis( * configuration. */ override fun dynamicConfiguration(dynamicConfiguration: IResolvable) { - cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -83523,7 +86558,7 @@ public open class CfnAnalysis( */ override fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty) { - cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty::unwrap)) + cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty.Companion::unwrap)) } /** @@ -83552,7 +86587,7 @@ public open class CfnAnalysis( * configuration. */ override fun staticConfiguration(staticConfiguration: IResolvable) { - cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable::unwrap)) + cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -83561,7 +86596,7 @@ public open class CfnAnalysis( */ override fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty) { - cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty::unwrap)) + cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty.Companion::unwrap)) } /** @@ -83772,14 +86807,14 @@ public open class CfnAnalysis( * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: IResolvable) { - cdkBuilder.calculation(calculation.let(IResolvable::unwrap)) + cdkBuilder.calculation(calculation.let(IResolvable.Companion::unwrap)) } /** * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: NumericalAggregationFunctionProperty) { - cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -83795,14 +86830,14 @@ public open class CfnAnalysis( * @param column The column that the dynamic data targets. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the dynamic data targets. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -83818,7 +86853,7 @@ public open class CfnAnalysis( * data. */ override fun measureAggregationFunction(measureAggregationFunction: IResolvable) { - cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -83827,7 +86862,7 @@ public open class CfnAnalysis( */ override fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty) { - cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -84142,7 +87177,7 @@ public open class CfnAnalysis( * line. */ override fun customLabelConfiguration(customLabelConfiguration: IResolvable) { - cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -84151,7 +87186,7 @@ public open class CfnAnalysis( */ override fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty) { - cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty::unwrap)) + cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty.Companion::unwrap)) } /** @@ -84176,14 +87211,14 @@ public open class CfnAnalysis( * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -84211,7 +87246,7 @@ public open class CfnAnalysis( * line. */ override fun valueLabelConfiguration(valueLabelConfiguration: IResolvable) { - cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -84220,7 +87255,7 @@ public open class CfnAnalysis( */ override fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty) { - cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty::unwrap)) + cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty.Companion::unwrap)) } /** @@ -84573,14 +87608,14 @@ public open class CfnAnalysis( * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: IResolvable) { - cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty) { - cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty::unwrap)) + cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty.Companion::unwrap)) } /** @@ -84596,14 +87631,14 @@ public open class CfnAnalysis( * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: IResolvable) { - cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty) { - cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty::unwrap)) + cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty.Companion::unwrap)) } /** @@ -84628,14 +87663,14 @@ public open class CfnAnalysis( * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: IResolvable) { - cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty) { - cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty::unwrap)) + cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty.Companion::unwrap)) } /** @@ -85060,14 +88095,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -85256,7 +88291,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -85264,7 +88299,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -85281,14 +88316,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -85371,6 +88406,204 @@ public open class CfnAnalysis( * .relativeDateType("relativeDateType") * .timeGranularity("timeGranularity") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") @@ -85400,6 +88633,16 @@ public open class CfnAnalysis( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-relativedatesfilter.html#cfn-quicksight-analysis-relativedatesfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The configuration for the exclude period of the filter. * @@ -85506,6 +88749,31 @@ public open class CfnAnalysis( @JvmName("87f894b54692f647b92748b55e99e28b47c8e20e6a611a77db3057772cdef0ef") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("3aabee94143398663585f7d3b7726b846b22a48878b7ccbde16ed88fe58b43ca") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ @@ -85584,7 +88852,7 @@ public open class CfnAnalysis( * @param anchorDateConfiguration The date configuration of the filter. */ override fun anchorDateConfiguration(anchorDateConfiguration: IResolvable) { - cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -85592,7 +88860,7 @@ public open class CfnAnalysis( */ override fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty) { - cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty::unwrap)) + cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty.Companion::unwrap)) } /** @@ -85608,14 +88876,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -85626,11 +88894,43 @@ public open class CfnAnalysis( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("3aabee94143398663585f7d3b7726b846b22a48878b7ccbde16ed88fe58b43ca") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -85638,7 +88938,7 @@ public open class CfnAnalysis( */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** @@ -85735,6 +89035,16 @@ public open class CfnAnalysis( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-relativedatesfilter.html#cfn-quicksight-analysis-relativedatesfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The configuration for the exclude period of the filter. * @@ -86492,7 +89802,7 @@ public open class CfnAnalysis( * @param destination The destination field wells of a sankey diagram. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -86511,7 +89821,7 @@ public open class CfnAnalysis( * @param source The source field wells of a sankey diagram. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -86530,7 +89840,7 @@ public open class CfnAnalysis( * @param weight The weight field wells of a sankey diagram. */ override fun weight(weight: IResolvable) { - cdkBuilder.weight(weight.let(IResolvable::unwrap)) + cdkBuilder.weight(weight.let(IResolvable.Companion::unwrap)) } /** @@ -86694,14 +90004,14 @@ public open class CfnAnalysis( * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -86716,14 +90026,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty.Companion::unwrap)) } /** @@ -86738,14 +90048,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty.Companion::unwrap)) } /** @@ -86861,7 +90171,7 @@ public open class CfnAnalysis( */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: IResolvable) { - cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -86869,7 +90179,7 @@ public open class CfnAnalysis( */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty) { - cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -87065,7 +90375,7 @@ public open class CfnAnalysis( * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: IResolvable) { - cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -87073,7 +90383,7 @@ public open class CfnAnalysis( * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -87091,7 +90401,7 @@ public open class CfnAnalysis( * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: IResolvable) { - cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -87099,7 +90409,7 @@ public open class CfnAnalysis( * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -87116,7 +90426,7 @@ public open class CfnAnalysis( * @param weightSort The sort configuration of the weight fields. */ override fun weightSort(weightSort: IResolvable) { - cdkBuilder.weightSort(weightSort.let(IResolvable::unwrap)) + cdkBuilder.weightSort(weightSort.let(IResolvable.Companion::unwrap)) } /** @@ -87323,7 +90633,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -87342,14 +90652,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty.Companion::unwrap)) } /** @@ -87365,14 +90675,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -87387,14 +90697,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -87626,7 +90936,7 @@ public open class CfnAnalysis( * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -87645,7 +90955,7 @@ public open class CfnAnalysis( * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { - cdkBuilder.label(label.let(IResolvable::unwrap)) + cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** @@ -87664,7 +90974,7 @@ public open class CfnAnalysis( * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -87684,7 +90994,7 @@ public open class CfnAnalysis( * The x-axis is aggregated by category. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** @@ -87706,7 +91016,7 @@ public open class CfnAnalysis( * The y-axis is aggregated by category. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** @@ -88053,14 +91363,14 @@ public open class CfnAnalysis( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -88075,14 +91385,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty.Companion::unwrap)) } /** @@ -88097,14 +91407,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -88119,14 +91429,14 @@ public open class CfnAnalysis( * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -88141,14 +91451,14 @@ public open class CfnAnalysis( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -88164,7 +91474,7 @@ public open class CfnAnalysis( * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -88172,7 +91482,7 @@ public open class CfnAnalysis( * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -88190,7 +91500,7 @@ public open class CfnAnalysis( * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -88198,7 +91508,7 @@ public open class CfnAnalysis( * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -88216,7 +91526,7 @@ public open class CfnAnalysis( * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -88224,7 +91534,7 @@ public open class CfnAnalysis( * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -88242,7 +91552,7 @@ public open class CfnAnalysis( * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: IResolvable) { - cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -88250,7 +91560,7 @@ public open class CfnAnalysis( * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -88463,7 +91773,7 @@ public open class CfnAnalysis( */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: IResolvable) { - cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -88474,7 +91784,7 @@ public open class CfnAnalysis( */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty) { - cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -88496,7 +91806,7 @@ public open class CfnAnalysis( */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: IResolvable) { - cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -88505,7 +91815,7 @@ public open class CfnAnalysis( */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty) { - cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty::unwrap)) + cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -88714,7 +92024,7 @@ public open class CfnAnalysis( * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -88733,7 +92043,7 @@ public open class CfnAnalysis( * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { - cdkBuilder.label(label.let(IResolvable::unwrap)) + cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** @@ -88752,7 +92062,7 @@ public open class CfnAnalysis( * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -88772,7 +92082,7 @@ public open class CfnAnalysis( * The x-axis is a dimension field and cannot be aggregated. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** @@ -88794,7 +92104,7 @@ public open class CfnAnalysis( * The y-axis is a dimension field and cannot be aggregated. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** @@ -89045,7 +92355,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -89064,14 +92374,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty.Companion::unwrap)) } /** @@ -89088,7 +92398,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -89110,14 +92420,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -89132,14 +92442,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -89312,14 +92622,14 @@ public open class CfnAnalysis( * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: IResolvable) { - cdkBuilder.visibleRange(visibleRange.let(IResolvable::unwrap)) + cdkBuilder.visibleRange(visibleRange.let(IResolvable.Companion::unwrap)) } /** * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: VisibleRangeOptionsProperty) { - cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty::unwrap)) + cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty.Companion::unwrap)) } /** @@ -89606,7 +92916,7 @@ public open class CfnAnalysis( * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: IResolvable) { - cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -89614,7 +92924,7 @@ public open class CfnAnalysis( */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty) { - cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -89949,7 +93259,7 @@ public open class CfnAnalysis( * @param bodySections A list of body section configurations. */ override fun bodySections(bodySections: IResolvable) { - cdkBuilder.bodySections(bodySections.let(IResolvable::unwrap)) + cdkBuilder.bodySections(bodySections.let(IResolvable.Companion::unwrap)) } /** @@ -89969,7 +93279,7 @@ public open class CfnAnalysis( * @param canvasSizeOptions The options for the canvas of a section-based layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -89977,7 +93287,7 @@ public open class CfnAnalysis( */ override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -89993,7 +93303,7 @@ public open class CfnAnalysis( * @param footerSections A list of footer section configurations. */ override fun footerSections(footerSections: IResolvable) { - cdkBuilder.footerSections(footerSections.let(IResolvable::unwrap)) + cdkBuilder.footerSections(footerSections.let(IResolvable.Companion::unwrap)) } /** @@ -90013,7 +93323,7 @@ public open class CfnAnalysis( * @param headerSections A list of header section configurations. */ override fun headerSections(headerSections: IResolvable) { - cdkBuilder.headerSections(headerSections.let(IResolvable::unwrap)) + cdkBuilder.headerSections(headerSections.let(IResolvable.Companion::unwrap)) } /** @@ -90186,7 +93496,7 @@ public open class CfnAnalysis( * left, and right edges. */ override fun paperMargin(paperMargin: IResolvable) { - cdkBuilder.paperMargin(paperMargin.let(IResolvable::unwrap)) + cdkBuilder.paperMargin(paperMargin.let(IResolvable.Companion::unwrap)) } /** @@ -90194,7 +93504,7 @@ public open class CfnAnalysis( * left, and right edges. */ override fun paperMargin(paperMargin: SpacingProperty) { - cdkBuilder.paperMargin(paperMargin.let(SpacingProperty::unwrap)) + cdkBuilder.paperMargin(paperMargin.let(SpacingProperty.Companion::unwrap)) } /** @@ -90367,14 +93677,14 @@ public open class CfnAnalysis( * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: IResolvable) { - cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty) { - cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -90481,14 +93791,14 @@ public open class CfnAnalysis( * @param after The configuration of a page break after a section. */ override fun after(after: IResolvable) { - cdkBuilder.after(after.let(IResolvable::unwrap)) + cdkBuilder.after(after.let(IResolvable.Companion::unwrap)) } /** * @param after The configuration of a page break after a section. */ override fun after(after: SectionAfterPageBreakProperty) { - cdkBuilder.after(after.let(SectionAfterPageBreakProperty::unwrap)) + cdkBuilder.after(after.let(SectionAfterPageBreakProperty.Companion::unwrap)) } /** @@ -90632,7 +93942,7 @@ public open class CfnAnalysis( * There is no padding by default. */ override fun padding(padding: IResolvable) { - cdkBuilder.padding(padding.let(IResolvable::unwrap)) + cdkBuilder.padding(padding.let(IResolvable.Companion::unwrap)) } /** @@ -90641,7 +93951,7 @@ public open class CfnAnalysis( * There is no padding by default. */ override fun padding(padding: SpacingProperty) { - cdkBuilder.padding(padding.let(SpacingProperty::unwrap)) + cdkBuilder.padding(padding.let(SpacingProperty.Companion::unwrap)) } /** @@ -90772,7 +94082,7 @@ public open class CfnAnalysis( * visuals that the filter is applied to. */ override fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: IResolvable) { - cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -90948,14 +94258,14 @@ public open class CfnAnalysis( * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: IResolvable) { - cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable::unwrap)) + cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty) { - cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty::unwrap)) + cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty.Companion::unwrap)) } /** @@ -90971,14 +94281,14 @@ public open class CfnAnalysis( * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: IResolvable) { - cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable::unwrap)) + cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty) { - cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty::unwrap)) + cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty.Companion::unwrap)) } /** @@ -91125,14 +94435,14 @@ public open class CfnAnalysis( * @param value the value to be set. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value the value to be set. */ override fun `value`(`value`: DestinationParameterValueConfigurationProperty) { - cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty::unwrap)) + cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty.Companion::unwrap)) } /** @@ -91264,7 +94574,7 @@ public open class CfnAnalysis( * filled map visual. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** @@ -91272,7 +94582,7 @@ public open class CfnAnalysis( * filled map visual. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -91510,7 +94820,7 @@ public open class CfnAnalysis( * sheet control. */ override fun gridLayout(gridLayout: IResolvable) { - cdkBuilder.gridLayout(gridLayout.let(IResolvable::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** @@ -91518,7 +94828,7 @@ public open class CfnAnalysis( * sheet control. */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { - cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -91647,7 +94957,7 @@ public open class CfnAnalysis( * of sheet control. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -91655,7 +94965,7 @@ public open class CfnAnalysis( * of sheet control. */ override fun configuration(configuration: SheetControlLayoutConfigurationProperty) { - cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -91996,7 +95306,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun filterControls(filterControls: IResolvable) { - cdkBuilder.filterControls(filterControls.let(IResolvable::unwrap)) + cdkBuilder.filterControls(filterControls.let(IResolvable.Companion::unwrap)) } /** @@ -92025,7 +95335,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun layouts(layouts: IResolvable) { - cdkBuilder.layouts(layouts.let(IResolvable::unwrap)) + cdkBuilder.layouts(layouts.let(IResolvable.Companion::unwrap)) } /** @@ -92061,7 +95371,7 @@ public open class CfnAnalysis( * the *Amazon QuickSight User Guide* . */ override fun parameterControls(parameterControls: IResolvable) { - cdkBuilder.parameterControls(parameterControls.let(IResolvable::unwrap)) + cdkBuilder.parameterControls(parameterControls.let(IResolvable.Companion::unwrap)) } /** @@ -92087,7 +95397,7 @@ public open class CfnAnalysis( * @param sheetControlLayouts The control layouts of the sheet. */ override fun sheetControlLayouts(sheetControlLayouts: IResolvable) { - cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable::unwrap)) + cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable.Companion::unwrap)) } /** @@ -92114,7 +95424,7 @@ public open class CfnAnalysis( * @param textBoxes The text boxes that are on a sheet. */ override fun textBoxes(textBoxes: IResolvable) { - cdkBuilder.textBoxes(textBoxes.let(IResolvable::unwrap)) + cdkBuilder.textBoxes(textBoxes.let(IResolvable.Companion::unwrap)) } /** @@ -92141,7 +95451,7 @@ public open class CfnAnalysis( * Visual placement is determined by the layout of the sheet. */ override fun visuals(visuals: IResolvable) { - cdkBuilder.visuals(visuals.let(IResolvable::unwrap)) + cdkBuilder.visuals(visuals.let(IResolvable.Companion::unwrap)) } /** @@ -92456,7 +95766,7 @@ public open class CfnAnalysis( * */ override fun configurationOverrides(configurationOverrides: IResolvable) { - cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable::unwrap)) + cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -92465,7 +95775,7 @@ public open class CfnAnalysis( */ override fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty) { - cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty::unwrap)) + cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty.Companion::unwrap)) } /** @@ -93224,7 +96534,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -93232,7 +96542,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -93249,14 +96559,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -93633,14 +96943,14 @@ public open class CfnAnalysis( * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: IResolvable) { - cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: PanelConfigurationProperty) { - cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty::unwrap)) + cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty.Companion::unwrap)) } /** @@ -93656,14 +96966,14 @@ public open class CfnAnalysis( * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty) { - cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty::unwrap)) + cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** @@ -93678,14 +96988,14 @@ public open class CfnAnalysis( * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty) { - cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty::unwrap)) + cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** @@ -94021,7 +97331,7 @@ public open class CfnAnalysis( * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -94029,7 +97339,7 @@ public open class CfnAnalysis( * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -94254,7 +97564,7 @@ public open class CfnAnalysis( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -94263,7 +97573,7 @@ public open class CfnAnalysis( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -94281,7 +97591,7 @@ public open class CfnAnalysis( * @param numericFormatConfiguration The formatting configuration for numeric strings. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -94289,7 +97599,7 @@ public open class CfnAnalysis( */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -94515,7 +97825,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -94524,7 +97834,7 @@ public open class CfnAnalysis( * provided. */ override fun defaultValues(defaultValues: StringDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty.Companion::unwrap)) } /** @@ -94541,7 +97851,7 @@ public open class CfnAnalysis( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -94577,7 +97887,7 @@ public open class CfnAnalysis( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -94585,7 +97895,7 @@ public open class CfnAnalysis( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -95286,7 +98596,7 @@ public open class CfnAnalysis( * @param fieldLevelOptions The optional configuration of subtotal cells. */ override fun fieldLevelOptions(fieldLevelOptions: IResolvable) { - cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -95306,14 +98616,14 @@ public open class CfnAnalysis( * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -95329,7 +98639,7 @@ public open class CfnAnalysis( * @param styleTargets The style targets options for subtotals. */ override fun styleTargets(styleTargets: IResolvable) { - cdkBuilder.styleTargets(styleTargets.let(IResolvable::unwrap)) + cdkBuilder.styleTargets(styleTargets.let(IResolvable.Companion::unwrap)) } /** @@ -95349,14 +98659,14 @@ public open class CfnAnalysis( * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -95378,14 +98688,14 @@ public open class CfnAnalysis( * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { - cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { - cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -96051,7 +99361,7 @@ public open class CfnAnalysis( * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -96073,7 +99383,7 @@ public open class CfnAnalysis( * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -96407,14 +99717,14 @@ public open class CfnAnalysis( * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { - cdkBuilder.textFormat(textFormat.let(IResolvable::unwrap)) + cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { - cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty::unwrap)) + cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** @@ -96771,14 +100081,14 @@ public open class CfnAnalysis( * @param border The borders for the table cells. */ override fun border(border: IResolvable) { - cdkBuilder.border(border.let(IResolvable::unwrap)) + cdkBuilder.border(border.let(IResolvable.Companion::unwrap)) } /** * @param border The borders for the table cells. */ override fun border(border: GlobalTableBorderOptionsProperty) { - cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty::unwrap)) + cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty.Companion::unwrap)) } /** @@ -96793,14 +100103,14 @@ public open class CfnAnalysis( * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -97112,14 +100422,14 @@ public open class CfnAnalysis( * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: IResolvable) { - cdkBuilder.cell(cell.let(IResolvable::unwrap)) + cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: TableCellConditionalFormattingProperty) { - cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty::unwrap)) + cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty.Companion::unwrap)) } /** @@ -97134,14 +100444,14 @@ public open class CfnAnalysis( * @param row The row conditional formatting option for a table. */ override fun row(row: IResolvable) { - cdkBuilder.row(row.let(IResolvable::unwrap)) + cdkBuilder.row(row.let(IResolvable.Companion::unwrap)) } /** * @param row The row conditional formatting option for a table. */ override fun row(row: TableRowConditionalFormattingProperty) { - cdkBuilder.row(row.let(TableRowConditionalFormattingProperty::unwrap)) + cdkBuilder.row(row.let(TableRowConditionalFormattingProperty.Companion::unwrap)) } /** @@ -97354,7 +100664,7 @@ public open class CfnAnalysis( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -97606,14 +100916,14 @@ public open class CfnAnalysis( * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { - cdkBuilder.fieldOptions(fieldOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: TableFieldOptionsProperty) { - cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty.Companion::unwrap)) } /** @@ -97628,14 +100938,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TableFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty.Companion::unwrap)) } /** @@ -97650,7 +100960,7 @@ public open class CfnAnalysis( * @param paginatedReportOptions The paginated report options for a table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** @@ -97658,7 +100968,7 @@ public open class CfnAnalysis( */ override fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty.Companion::unwrap)) } /** @@ -97674,14 +100984,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty.Companion::unwrap)) } /** @@ -97698,7 +101008,7 @@ public open class CfnAnalysis( * chart. */ override fun tableInlineVisualizations(tableInlineVisualizations: IResolvable) { - cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable::unwrap)) + cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable.Companion::unwrap)) } /** @@ -97720,14 +101030,14 @@ public open class CfnAnalysis( * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: IResolvable) { - cdkBuilder.tableOptions(tableOptions.let(IResolvable::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: TableOptionsProperty) { - cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty.Companion::unwrap)) } /** @@ -97742,14 +101052,14 @@ public open class CfnAnalysis( * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: IResolvable) { - cdkBuilder.totalOptions(totalOptions.let(IResolvable::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: TotalOptionsProperty) { - cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty.Companion::unwrap)) } /** @@ -98006,7 +101316,7 @@ public open class CfnAnalysis( * URL link content. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -98014,7 +101324,7 @@ public open class CfnAnalysis( * URL link content. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -98137,14 +101447,14 @@ public open class CfnAnalysis( * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: IResolvable) { - cdkBuilder.sizingOptions(sizingOptions.let(IResolvable::unwrap)) + cdkBuilder.sizingOptions(sizingOptions.let(IResolvable.Companion::unwrap)) } /** * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty) { - cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty::unwrap)) + cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty.Companion::unwrap)) } /** @@ -98282,14 +101592,14 @@ public open class CfnAnalysis( * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: TableFieldLinkContentConfigurationProperty) { - cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty::unwrap)) + cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty.Companion::unwrap)) } /** @@ -98454,14 +101764,14 @@ public open class CfnAnalysis( * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: IResolvable) { - cdkBuilder.customIconContent(customIconContent.let(IResolvable::unwrap)) + cdkBuilder.customIconContent(customIconContent.let(IResolvable.Companion::unwrap)) } /** * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: TableFieldCustomIconContentProperty) { - cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty::unwrap)) + cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty.Companion::unwrap)) } /** @@ -98478,7 +101788,7 @@ public open class CfnAnalysis( * link content configuration. */ override fun customTextContent(customTextContent: IResolvable) { - cdkBuilder.customTextContent(customTextContent.let(IResolvable::unwrap)) + cdkBuilder.customTextContent(customTextContent.let(IResolvable.Companion::unwrap)) } /** @@ -98486,7 +101796,7 @@ public open class CfnAnalysis( * link content configuration. */ override fun customTextContent(customTextContent: TableFieldCustomTextContentProperty) { - cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty::unwrap)) + cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty.Companion::unwrap)) } /** @@ -98694,14 +102004,14 @@ public open class CfnAnalysis( * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: IResolvable) { - cdkBuilder.urlStyling(urlStyling.let(IResolvable::unwrap)) + cdkBuilder.urlStyling(urlStyling.let(IResolvable.Companion::unwrap)) } /** * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: TableFieldURLConfigurationProperty) { - cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty::unwrap)) + cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty.Companion::unwrap)) } /** @@ -98940,14 +102250,14 @@ public open class CfnAnalysis( * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: IResolvable) { - cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty) { - cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty::unwrap)) + cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty.Companion::unwrap)) } /** @@ -98963,7 +102273,7 @@ public open class CfnAnalysis( * @param selectedFieldOptions The field options to be configured to a table. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { - cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** @@ -99138,14 +102448,14 @@ public open class CfnAnalysis( * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty.Companion::unwrap)) } /** @@ -99161,14 +102471,14 @@ public open class CfnAnalysis( * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: IResolvable) { - cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty) { - cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty.Companion::unwrap)) } /** @@ -99303,7 +102613,7 @@ public open class CfnAnalysis( * @param tableAggregatedFieldWells The aggregated field well for the table. */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: IResolvable) { - cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -99311,7 +102621,7 @@ public open class CfnAnalysis( */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty) { - cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -99328,7 +102638,7 @@ public open class CfnAnalysis( * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: IResolvable) { - cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -99336,7 +102646,7 @@ public open class CfnAnalysis( */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty) { - cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty::unwrap)) + cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -99458,7 +102768,7 @@ public open class CfnAnalysis( * chart. */ override fun dataBars(dataBars: IResolvable) { - cdkBuilder.dataBars(dataBars.let(IResolvable::unwrap)) + cdkBuilder.dataBars(dataBars.let(IResolvable.Companion::unwrap)) } /** @@ -99466,7 +102776,7 @@ public open class CfnAnalysis( * chart. */ override fun dataBars(dataBars: DataBarsOptionsProperty) { - cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty::unwrap)) + cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty.Companion::unwrap)) } /** @@ -99754,14 +103064,14 @@ public open class CfnAnalysis( * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: IResolvable) { - cdkBuilder.cellStyle(cellStyle.let(IResolvable::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { - cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -99776,14 +103086,14 @@ public open class CfnAnalysis( * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: IResolvable) { - cdkBuilder.headerStyle(headerStyle.let(IResolvable::unwrap)) + cdkBuilder.headerStyle(headerStyle.let(IResolvable.Companion::unwrap)) } /** * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: TableCellStyleProperty) { - cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -99806,7 +103116,7 @@ public open class CfnAnalysis( * alternate colors) for a table. */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** @@ -99815,7 +103125,7 @@ public open class CfnAnalysis( */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** @@ -100218,7 +103528,7 @@ public open class CfnAnalysis( * for a table row. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** @@ -100226,7 +103536,7 @@ public open class CfnAnalysis( * for a table row. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -100244,7 +103554,7 @@ public open class CfnAnalysis( * row. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** @@ -100252,7 +103562,7 @@ public open class CfnAnalysis( * row. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -100513,14 +103823,14 @@ public open class CfnAnalysis( * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: IResolvable) { - cdkBuilder.bottom(bottom.let(IResolvable::unwrap)) + cdkBuilder.bottom(bottom.let(IResolvable.Companion::unwrap)) } /** * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: TableBorderOptionsProperty) { - cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -100535,14 +103845,14 @@ public open class CfnAnalysis( * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: IResolvable) { - cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable::unwrap)) + cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable.Companion::unwrap)) } /** * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty) { - cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -100557,14 +103867,14 @@ public open class CfnAnalysis( * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: IResolvable) { - cdkBuilder.innerVertical(innerVertical.let(IResolvable::unwrap)) + cdkBuilder.innerVertical(innerVertical.let(IResolvable.Companion::unwrap)) } /** * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: TableBorderOptionsProperty) { - cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -100579,14 +103889,14 @@ public open class CfnAnalysis( * @param left The table border options of the left border. */ override fun left(left: IResolvable) { - cdkBuilder.left(left.let(IResolvable::unwrap)) + cdkBuilder.left(left.let(IResolvable.Companion::unwrap)) } /** * @param left The table border options of the left border. */ override fun left(left: TableBorderOptionsProperty) { - cdkBuilder.left(left.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.left(left.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -100601,14 +103911,14 @@ public open class CfnAnalysis( * @param right The table border options of the right border. */ override fun right(right: IResolvable) { - cdkBuilder.right(right.let(IResolvable::unwrap)) + cdkBuilder.right(right.let(IResolvable.Companion::unwrap)) } /** * @param right The table border options of the right border. */ override fun right(right: TableBorderOptionsProperty) { - cdkBuilder.right(right.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.right(right.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -100623,14 +103933,14 @@ public open class CfnAnalysis( * @param top The table border options of the top border. */ override fun top(top: IResolvable) { - cdkBuilder.top(top.let(IResolvable::unwrap)) + cdkBuilder.top(top.let(IResolvable.Companion::unwrap)) } /** * @param top The table border options of the top border. */ override fun top(top: TableBorderOptionsProperty) { - cdkBuilder.top(top.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.top(top.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -100826,7 +104136,7 @@ public open class CfnAnalysis( * the table. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -100835,7 +104145,7 @@ public open class CfnAnalysis( */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** @@ -100852,7 +104162,7 @@ public open class CfnAnalysis( * @param rowSort The field sort options for rows in the table. */ override fun rowSort(rowSort: IResolvable) { - cdkBuilder.rowSort(rowSort.let(IResolvable::unwrap)) + cdkBuilder.rowSort(rowSort.let(IResolvable.Companion::unwrap)) } /** @@ -101268,7 +104578,7 @@ public open class CfnAnalysis( * Values are unaggregated for an unaggregated table. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -101489,7 +104799,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -101508,14 +104818,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TableConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty.Companion::unwrap)) } /** @@ -101531,7 +104841,7 @@ public open class CfnAnalysis( * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -101539,7 +104849,7 @@ public open class CfnAnalysis( */ override fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty.Companion::unwrap)) } /** @@ -101555,14 +104865,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -101577,14 +104887,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -101808,7 +105118,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -101816,7 +105126,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -101834,7 +105144,7 @@ public open class CfnAnalysis( * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { - cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** @@ -101842,7 +105152,7 @@ public open class CfnAnalysis( * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { - cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** @@ -101859,14 +105169,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -102087,14 +105397,14 @@ public open class CfnAnalysis( * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -102110,14 +105420,14 @@ public open class CfnAnalysis( * @param icon The conditional formatting for the icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting for the icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -102132,14 +105442,14 @@ public open class CfnAnalysis( * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -102417,7 +105727,7 @@ public open class CfnAnalysis( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -102425,7 +105735,7 @@ public open class CfnAnalysis( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -102443,7 +105753,7 @@ public open class CfnAnalysis( * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { - cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** @@ -102451,7 +105761,7 @@ public open class CfnAnalysis( * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { - cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** @@ -102468,14 +105778,14 @@ public open class CfnAnalysis( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -102892,6 +106202,204 @@ public open class CfnAnalysis( * .build()) * .filterId("filterId") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .parameterName("parameterName") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") @@ -102913,6 +106421,16 @@ public open class CfnAnalysis( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-timeequalityfilter.html#cfn-quicksight-analysis-timeequalityfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -102976,6 +106494,31 @@ public open class CfnAnalysis( @JvmName("791f181f39de5e057e773bea5540ba5394cc7c6380e2fc68ecbd5d3bb7e9bd82") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("220c4f796aa15ba1d75ee8eb2c2d88b0ed86bb0bfb9de4f741fa4d3446005235") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -103031,14 +106574,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -103049,6 +106592,38 @@ public open class CfnAnalysis( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("220c4f796aa15ba1d75ee8eb2c2d88b0ed86bb0bfb9de4f741fa4d3446005235") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -103070,7 +106645,7 @@ public open class CfnAnalysis( * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** @@ -103078,7 +106653,7 @@ public open class CfnAnalysis( * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -103121,6 +106696,16 @@ public open class CfnAnalysis( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-timeequalityfilter.html#cfn-quicksight-analysis-timeequalityfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -103282,14 +106867,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -103394,6 +106979,204 @@ public open class CfnAnalysis( * .filterId("filterId") * .nullOption("nullOption") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") @@ -103434,6 +107217,16 @@ public open class CfnAnalysis( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-timerangefilter.html#cfn-quicksight-analysis-timerangefilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The exclude period of the time range filter. * @@ -103518,6 +107311,31 @@ public open class CfnAnalysis( @JvmName("2a8be70d044025154d48544b2fb6e528dfdd1d5ea32106d5fc1fb078ff39da9e") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("60cd143088ec02d53408a4094ee45978b9736908fc96c36582812035e6fbd891") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ @@ -103628,14 +107446,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -103646,11 +107464,43 @@ public open class CfnAnalysis( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("60cd143088ec02d53408a4094ee45978b9736908fc96c36582812035e6fbd891") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -103658,7 +107508,7 @@ public open class CfnAnalysis( */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** @@ -103692,7 +107542,7 @@ public open class CfnAnalysis( * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { - cdkBuilder.includeMaximum(includeMaximum.let(IResolvable::unwrap)) + cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** @@ -103708,7 +107558,7 @@ public open class CfnAnalysis( * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { - cdkBuilder.includeMinimum(includeMinimum.let(IResolvable::unwrap)) + cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** @@ -103726,14 +107576,14 @@ public open class CfnAnalysis( * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: IResolvable) { - cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable::unwrap)) + cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty) { - cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** @@ -103749,14 +107599,14 @@ public open class CfnAnalysis( * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: IResolvable) { - cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable::unwrap)) + cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty) { - cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** @@ -103791,6 +107641,16 @@ public open class CfnAnalysis( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-timerangefilter.html#cfn-quicksight-analysis-timerangefilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The exclude period of the time range filter. * @@ -103970,14 +107830,14 @@ public open class CfnAnalysis( * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -104158,7 +108018,7 @@ public open class CfnAnalysis( * well. */ override fun columnTooltipItem(columnTooltipItem: IResolvable) { - cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable::unwrap)) + cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable.Companion::unwrap)) } /** @@ -104166,7 +108026,7 @@ public open class CfnAnalysis( * well. */ override fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty) { - cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty::unwrap)) + cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty.Companion::unwrap)) } /** @@ -104183,14 +108043,14 @@ public open class CfnAnalysis( * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: IResolvable) { - cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable::unwrap)) + cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty) { - cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty::unwrap)) + cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty.Companion::unwrap)) } /** @@ -104369,7 +108229,7 @@ public open class CfnAnalysis( * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: IResolvable) { - cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable::unwrap)) + cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable.Companion::unwrap)) } /** @@ -104377,7 +108237,7 @@ public open class CfnAnalysis( * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty) { - cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty::unwrap)) + cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty.Companion::unwrap)) } /** @@ -104498,6 +108358,204 @@ public open class CfnAnalysis( * .build()) * .filterId("filterId") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .limit(123) * .parameterName("parameterName") * .timeGranularity("timeGranularity") @@ -104521,6 +108579,16 @@ public open class CfnAnalysis( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-topbottomfilter.html#cfn-quicksight-analysis-topbottomfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -104589,6 +108657,31 @@ public open class CfnAnalysis( @JvmName("d355c246a38b342bc7f5866b5ab73a41b24077d3788f52524d79559d1cf316be") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ba1c2938e151b3189ecdd1f7c245a0d71e8a04d0a1e5c3aeb9cb6582dfba216e") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -104622,7 +108715,7 @@ public open class CfnAnalysis( * bottom filter. */ override fun aggregationSortConfigurations(aggregationSortConfigurations: IResolvable) { - cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable::unwrap)) + cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -104644,14 +108737,14 @@ public open class CfnAnalysis( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -104662,6 +108755,38 @@ public open class CfnAnalysis( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ba1c2938e151b3189ecdd1f7c245a0d71e8a04d0a1e5c3aeb9cb6582dfba216e") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -104715,6 +108840,16 @@ public open class CfnAnalysis( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-topbottomfilter.html#cfn-quicksight-analysis-topbottomfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -104928,14 +109063,14 @@ public open class CfnAnalysis( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -104978,14 +109113,14 @@ public open class CfnAnalysis( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -105009,14 +109144,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -105246,14 +109381,14 @@ public open class CfnAnalysis( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -105298,14 +109433,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -105735,14 +109870,14 @@ public open class CfnAnalysis( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -105973,7 +110108,7 @@ public open class CfnAnalysis( * specified field id. */ override fun totalAggregationFunction(totalAggregationFunction: IResolvable) { - cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -105982,7 +110117,7 @@ public open class CfnAnalysis( */ override fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty) { - cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty::unwrap)) + cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -106251,7 +110386,7 @@ public open class CfnAnalysis( * @param totalAggregationOptions The total aggregation settings for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { - cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -106271,14 +110406,14 @@ public open class CfnAnalysis( * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -106474,7 +110609,7 @@ public open class CfnAnalysis( * Values are grouped by aggregations based on group by fields. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -106496,7 +110631,7 @@ public open class CfnAnalysis( * Values are grouped based on group by fields. */ override fun groups(groups: IResolvable) { - cdkBuilder.groups(groups.let(IResolvable::unwrap)) + cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** @@ -106518,7 +110653,7 @@ public open class CfnAnalysis( * Values are aggregated based on group by fields. */ override fun sizes(sizes: IResolvable) { - cdkBuilder.sizes(sizes.let(IResolvable::unwrap)) + cdkBuilder.sizes(sizes.let(IResolvable.Companion::unwrap)) } /** @@ -106849,7 +110984,7 @@ public open class CfnAnalysis( * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -106857,7 +110992,7 @@ public open class CfnAnalysis( * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -106874,14 +111009,14 @@ public open class CfnAnalysis( * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: IResolvable) { - cdkBuilder.colorScale(colorScale.let(IResolvable::unwrap)) + cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: ColorScaleProperty) { - cdkBuilder.colorScale(colorScale.let(ColorScaleProperty::unwrap)) + cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** @@ -106896,14 +111031,14 @@ public open class CfnAnalysis( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -106918,14 +111053,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TreeMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty.Companion::unwrap)) } /** @@ -106941,7 +111076,7 @@ public open class CfnAnalysis( * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: IResolvable) { - cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -106949,7 +111084,7 @@ public open class CfnAnalysis( * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -106966,14 +111101,14 @@ public open class CfnAnalysis( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -106989,7 +111124,7 @@ public open class CfnAnalysis( * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: IResolvable) { - cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -106997,7 +111132,7 @@ public open class CfnAnalysis( * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -107014,14 +111149,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -107037,14 +111172,14 @@ public open class CfnAnalysis( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -107202,7 +111337,7 @@ public open class CfnAnalysis( * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: IResolvable) { - cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -107210,7 +111345,7 @@ public open class CfnAnalysis( */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty) { - cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -107378,7 +111513,7 @@ public open class CfnAnalysis( */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: IResolvable) { - cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -107387,7 +111522,7 @@ public open class CfnAnalysis( */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -107405,7 +111540,7 @@ public open class CfnAnalysis( * @param treeMapSort The sort configuration of group by fields. */ override fun treeMapSort(treeMapSort: IResolvable) { - cdkBuilder.treeMapSort(treeMapSort.let(IResolvable::unwrap)) + cdkBuilder.treeMapSort(treeMapSort.let(IResolvable.Companion::unwrap)) } /** @@ -107629,7 +111764,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -107648,14 +111783,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty.Companion::unwrap)) } /** @@ -107672,7 +111807,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -107694,14 +111829,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -107716,14 +111851,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -108204,14 +112339,14 @@ public open class CfnAnalysis( * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -108233,14 +112368,14 @@ public open class CfnAnalysis( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** @@ -108622,14 +112757,14 @@ public open class CfnAnalysis( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -108857,14 +112992,14 @@ public open class CfnAnalysis( * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: IResolvable) { - cdkBuilder.percentRange(percentRange.let(IResolvable::unwrap)) + cdkBuilder.percentRange(percentRange.let(IResolvable.Companion::unwrap)) } /** * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: PercentVisibleRangeProperty) { - cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty::unwrap)) + cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty.Companion::unwrap)) } /** @@ -109104,7 +113239,7 @@ public open class CfnAnalysis( * entire sheet. */ override fun filterOperation(filterOperation: IResolvable) { - cdkBuilder.filterOperation(filterOperation.let(IResolvable::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(IResolvable.Companion::unwrap)) } /** @@ -109112,7 +113247,7 @@ public open class CfnAnalysis( * entire sheet. */ override fun filterOperation(filterOperation: CustomActionFilterOperationProperty) { - cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty.Companion::unwrap)) } /** @@ -109130,7 +113265,7 @@ public open class CfnAnalysis( * in the same analysis. */ override fun navigationOperation(navigationOperation: IResolvable) { - cdkBuilder.navigationOperation(navigationOperation.let(IResolvable::unwrap)) + cdkBuilder.navigationOperation(navigationOperation.let(IResolvable.Companion::unwrap)) } /** @@ -109139,7 +113274,7 @@ public open class CfnAnalysis( */ override fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty) { - cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty::unwrap)) + cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty.Companion::unwrap)) } /** @@ -109157,7 +113292,7 @@ public open class CfnAnalysis( * action. */ override fun parametersOperation(setParametersOperation: IResolvable) { - cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable::unwrap)) + cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable.Companion::unwrap)) } /** @@ -109166,7 +113301,7 @@ public open class CfnAnalysis( */ override fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty) { - cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty::unwrap)) + cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty.Companion::unwrap)) } /** @@ -109184,14 +113319,14 @@ public open class CfnAnalysis( * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: IResolvable) { - cdkBuilder.urlOperation(urlOperation.let(IResolvable::unwrap)) + cdkBuilder.urlOperation(urlOperation.let(IResolvable.Companion::unwrap)) } /** * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: CustomActionURLOperationProperty) { - cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty::unwrap)) + cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty.Companion::unwrap)) } /** @@ -109436,7 +113571,7 @@ public open class CfnAnalysis( * can be defined. */ override fun actionOperations(actionOperations: IResolvable) { - cdkBuilder.actionOperations(actionOperations.let(IResolvable::unwrap)) + cdkBuilder.actionOperations(actionOperations.let(IResolvable.Companion::unwrap)) } /** @@ -109643,7 +113778,7 @@ public open class CfnAnalysis( * @param colorMap The color map options for the visual palette. */ override fun colorMap(colorMap: IResolvable) { - cdkBuilder.colorMap(colorMap.let(IResolvable::unwrap)) + cdkBuilder.colorMap(colorMap.let(IResolvable.Companion::unwrap)) } /** @@ -110572,7 +114707,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: IResolvable) { - cdkBuilder.barChartVisual(barChartVisual.let(IResolvable::unwrap)) + cdkBuilder.barChartVisual(barChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110582,7 +114717,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: BarChartVisualProperty) { - cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty::unwrap)) + cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty.Companion::unwrap)) } /** @@ -110603,7 +114738,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: IResolvable) { - cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable::unwrap)) + cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110613,7 +114748,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty) { - cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty::unwrap)) + cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty.Companion::unwrap)) } /** @@ -110634,7 +114769,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: IResolvable) { - cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable::unwrap)) + cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110644,7 +114779,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: ComboChartVisualProperty) { - cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty::unwrap)) + cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty.Companion::unwrap)) } /** @@ -110665,7 +114800,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: IResolvable) { - cdkBuilder.customContentVisual(customContentVisual.let(IResolvable::unwrap)) + cdkBuilder.customContentVisual(customContentVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110675,7 +114810,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: CustomContentVisualProperty) { - cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty::unwrap)) + cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty.Companion::unwrap)) } /** @@ -110694,14 +114829,14 @@ public open class CfnAnalysis( * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: IResolvable) { - cdkBuilder.emptyVisual(emptyVisual.let(IResolvable::unwrap)) + cdkBuilder.emptyVisual(emptyVisual.let(IResolvable.Companion::unwrap)) } /** * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: EmptyVisualProperty) { - cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty::unwrap)) + cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty.Companion::unwrap)) } /** @@ -110719,7 +114854,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: IResolvable) { - cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable::unwrap)) + cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110729,7 +114864,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: FilledMapVisualProperty) { - cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty::unwrap)) + cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty.Companion::unwrap)) } /** @@ -110750,7 +114885,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: IResolvable) { - cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable::unwrap)) + cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110760,7 +114895,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty) { - cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty::unwrap)) + cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty.Companion::unwrap)) } /** @@ -110782,7 +114917,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: IResolvable) { - cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable::unwrap)) + cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110792,7 +114927,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty) { - cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty::unwrap)) + cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty.Companion::unwrap)) } /** @@ -110813,7 +114948,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: IResolvable) { - cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable::unwrap)) + cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110823,7 +114958,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty) { - cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty::unwrap)) + cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty.Companion::unwrap)) } /** @@ -110845,7 +114980,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: IResolvable) { - cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable::unwrap)) + cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110855,7 +114990,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: HeatMapVisualProperty) { - cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty::unwrap)) + cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty.Companion::unwrap)) } /** @@ -110876,7 +115011,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: IResolvable) { - cdkBuilder.histogramVisual(histogramVisual.let(IResolvable::unwrap)) + cdkBuilder.histogramVisual(histogramVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110886,7 +115021,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: HistogramVisualProperty) { - cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty::unwrap)) + cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty.Companion::unwrap)) } /** @@ -110907,7 +115042,7 @@ public open class CfnAnalysis( * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: IResolvable) { - cdkBuilder.insightVisual(insightVisual.let(IResolvable::unwrap)) + cdkBuilder.insightVisual(insightVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110917,7 +115052,7 @@ public open class CfnAnalysis( * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: InsightVisualProperty) { - cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty::unwrap)) + cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty.Companion::unwrap)) } /** @@ -110938,7 +115073,7 @@ public open class CfnAnalysis( * User Guide* . */ override fun kpiVisual(kpiVisual: IResolvable) { - cdkBuilder.kpiVisual(kpiVisual.let(IResolvable::unwrap)) + cdkBuilder.kpiVisual(kpiVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110948,7 +115083,7 @@ public open class CfnAnalysis( * User Guide* . */ override fun kpiVisual(kpiVisual: KPIVisualProperty) { - cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty::unwrap)) + cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty.Companion::unwrap)) } /** @@ -110969,7 +115104,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: IResolvable) { - cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable::unwrap)) + cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110979,7 +115114,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: LineChartVisualProperty) { - cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty::unwrap)) + cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty.Companion::unwrap)) } /** @@ -111000,7 +115135,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: IResolvable) { - cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable::unwrap)) + cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111010,7 +115145,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: PieChartVisualProperty) { - cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty::unwrap)) + cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty.Companion::unwrap)) } /** @@ -111031,7 +115166,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: IResolvable) { - cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable::unwrap)) + cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111041,7 +115176,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty) { - cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty::unwrap)) + cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty.Companion::unwrap)) } /** @@ -111062,7 +115197,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: IResolvable) { - cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable::unwrap)) + cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111072,7 +115207,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: RadarChartVisualProperty) { - cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty::unwrap)) + cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty.Companion::unwrap)) } /** @@ -111093,7 +115228,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: IResolvable) { - cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable::unwrap)) + cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111103,7 +115238,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty) { - cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty::unwrap)) + cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty.Companion::unwrap)) } /** @@ -111125,7 +115260,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: IResolvable) { - cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111135,7 +115270,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty) { - cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty::unwrap)) + cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty.Companion::unwrap)) } /** @@ -111157,7 +115292,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun tableVisual(tableVisual: IResolvable) { - cdkBuilder.tableVisual(tableVisual.let(IResolvable::unwrap)) + cdkBuilder.tableVisual(tableVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111167,7 +115302,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun tableVisual(tableVisual: TableVisualProperty) { - cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty::unwrap)) + cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty.Companion::unwrap)) } /** @@ -111188,7 +115323,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: IResolvable) { - cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable::unwrap)) + cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111198,7 +115333,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: TreeMapVisualProperty) { - cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty::unwrap)) + cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty.Companion::unwrap)) } /** @@ -111219,7 +115354,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: IResolvable) { - cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable::unwrap)) + cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111229,7 +115364,7 @@ public open class CfnAnalysis( * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: WaterfallVisualProperty) { - cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty::unwrap)) + cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty.Companion::unwrap)) } /** @@ -111250,7 +115385,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: IResolvable) { - cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable::unwrap)) + cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111260,7 +115395,7 @@ public open class CfnAnalysis( * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty) { - cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty::unwrap)) + cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty.Companion::unwrap)) } /** @@ -111627,7 +115762,7 @@ public open class CfnAnalysis( * text. */ override fun formatText(formatText: IResolvable) { - cdkBuilder.formatText(formatText.let(IResolvable::unwrap)) + cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** @@ -111635,7 +115770,7 @@ public open class CfnAnalysis( * text. */ override fun formatText(formatText: LongFormatTextProperty) { - cdkBuilder.formatText(formatText.let(LongFormatTextProperty::unwrap)) + cdkBuilder.formatText(formatText.let(LongFormatTextProperty.Companion::unwrap)) } /** @@ -111774,7 +115909,7 @@ public open class CfnAnalysis( * text. */ override fun formatText(formatText: IResolvable) { - cdkBuilder.formatText(formatText.let(IResolvable::unwrap)) + cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** @@ -111782,7 +115917,7 @@ public open class CfnAnalysis( * text. */ override fun formatText(formatText: ShortFormatTextProperty) { - cdkBuilder.formatText(formatText.let(ShortFormatTextProperty::unwrap)) + cdkBuilder.formatText(formatText.let(ShortFormatTextProperty.Companion::unwrap)) } /** @@ -111935,7 +116070,7 @@ public open class CfnAnalysis( * @param breakdowns The breakdown field wells of a waterfall visual. */ override fun breakdowns(breakdowns: IResolvable) { - cdkBuilder.breakdowns(breakdowns.let(IResolvable::unwrap)) + cdkBuilder.breakdowns(breakdowns.let(IResolvable.Companion::unwrap)) } /** @@ -111954,7 +116089,7 @@ public open class CfnAnalysis( * @param categories The category field wells of a waterfall visual. */ override fun categories(categories: IResolvable) { - cdkBuilder.categories(categories.let(IResolvable::unwrap)) + cdkBuilder.categories(categories.let(IResolvable.Companion::unwrap)) } /** @@ -111973,7 +116108,7 @@ public open class CfnAnalysis( * @param values The value field wells of a waterfall visual. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -112037,6 +116172,132 @@ public open class CfnAnalysis( } } + /** + * The color configuration of a waterfall visual. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * WaterfallChartColorConfigurationProperty waterfallChartColorConfigurationProperty = + * WaterfallChartColorConfigurationProperty.builder() + * .groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty.builder() + * .negativeBarColor("negativeBarColor") + * .positiveBarColor("positiveBarColor") + * .totalBarColor("totalBarColor") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartcolorconfiguration.html) + */ + public interface WaterfallChartColorConfigurationProperty { + /** + * The color configuration for individual groups within a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartcolorconfiguration-groupcolorconfiguration) + */ + public fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() + + /** + * A builder for [WaterfallChartColorConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + public fun groupColorConfiguration(groupColorConfiguration: IResolvable) + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + public + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("96eb8f214b8d8f6bdf45760c52ed5a0c4c719c0c9b2aece33b15c74d9bcf8da3") + public + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty.builder() + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + override fun groupColorConfiguration(groupColorConfiguration: IResolvable) { + cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + override + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) { + cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(WaterfallChartGroupColorConfigurationProperty.Companion::unwrap)) + } + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("96eb8f214b8d8f6bdf45760c52ed5a0c4c719c0c9b2aece33b15c74d9bcf8da3") + override + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit): + Unit = + groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty(groupColorConfiguration)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty, + ) : CdkObject(cdkObject), WaterfallChartColorConfigurationProperty { + /** + * The color configuration for individual groups within a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartcolorconfiguration-groupcolorconfiguration) + */ + override fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WaterfallChartColorConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty): + WaterfallChartColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + WaterfallChartColorConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WaterfallChartColorConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartColorConfigurationProperty + } + } + /** * The configuration for a waterfall visual. * @@ -112062,6 +116323,13 @@ public open class CfnAnalysis( */ public fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() + /** + * The color configuration of a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartconfiguration.html#cfn-quicksight-analysis-waterfallchartconfiguration-colorconfiguration) + */ + public fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() + /** * The data label configuration of a waterfall visual. * @@ -112165,6 +116433,24 @@ public open class CfnAnalysis( public fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + public fun colorConfiguration(colorConfiguration: IResolvable) + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + public fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cf174a4f4588566c2ae364f9da732793faddbc904add5310f3d2c7f1cafa6089") + public + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit) + /** * @param dataLabels The data label configuration of a waterfall visual. */ @@ -112326,7 +116612,7 @@ public open class CfnAnalysis( * category axis. */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: IResolvable) { - cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112335,7 +116621,7 @@ public open class CfnAnalysis( */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -112353,7 +116639,7 @@ public open class CfnAnalysis( * axis label. */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: IResolvable) { - cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112362,7 +116648,7 @@ public open class CfnAnalysis( */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -112375,18 +116661,42 @@ public open class CfnAnalysis( fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryAxisLabelOptions(ChartAxisLabelOptionsProperty(categoryAxisLabelOptions)) + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + override fun colorConfiguration(colorConfiguration: IResolvable) { + cdkBuilder.colorConfiguration(colorConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + override + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) { + cdkBuilder.colorConfiguration(colorConfiguration.let(WaterfallChartColorConfigurationProperty.Companion::unwrap)) + } + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cf174a4f4588566c2ae364f9da732793faddbc904add5310f3d2c7f1cafa6089") + override + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit): + Unit = colorConfiguration(WaterfallChartColorConfigurationProperty(colorConfiguration)) + /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -112401,14 +116711,14 @@ public open class CfnAnalysis( * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty.Companion::unwrap)) } /** @@ -112423,14 +116733,14 @@ public open class CfnAnalysis( * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -112446,7 +116756,7 @@ public open class CfnAnalysis( * y-axis. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112455,7 +116765,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -112473,7 +116783,7 @@ public open class CfnAnalysis( * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112482,7 +116792,7 @@ public open class CfnAnalysis( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -112499,14 +116809,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -112522,14 +116832,14 @@ public open class CfnAnalysis( * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -112545,7 +116855,7 @@ public open class CfnAnalysis( * visual. */ override fun waterfallChartOptions(waterfallChartOptions: IResolvable) { - cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable::unwrap)) + cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112553,7 +116863,7 @@ public open class CfnAnalysis( * visual. */ override fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty) { - cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty::unwrap)) + cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty.Companion::unwrap)) } /** @@ -112588,6 +116898,13 @@ public open class CfnAnalysis( */ override fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() + /** + * The color configuration of a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartconfiguration.html#cfn-quicksight-analysis-waterfallchartconfiguration-colorconfiguration) + */ + override fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() + /** * The data label configuration of a waterfall visual. * @@ -112723,7 +117040,7 @@ public open class CfnAnalysis( */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: IResolvable) { - cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -112732,7 +117049,7 @@ public open class CfnAnalysis( */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty) { - cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -112781,6 +117098,144 @@ public open class CfnAnalysis( } } + /** + * The color configuration for individual groups within a waterfall visual. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * WaterfallChartGroupColorConfigurationProperty waterfallChartGroupColorConfigurationProperty = + * WaterfallChartGroupColorConfigurationProperty.builder() + * .negativeBarColor("negativeBarColor") + * .positiveBarColor("positiveBarColor") + * .totalBarColor("totalBarColor") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html) + */ + public interface WaterfallChartGroupColorConfigurationProperty { + /** + * Defines the color for the negative bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartgroupcolorconfiguration-negativebarcolor) + */ + public fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() + + /** + * Defines the color for the positive bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartgroupcolorconfiguration-positivebarcolor) + */ + public fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() + + /** + * Defines the color for the total bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartgroupcolorconfiguration-totalbarcolor) + */ + public fun totalBarColor(): String? = unwrap(this).getTotalBarColor() + + /** + * A builder for [WaterfallChartGroupColorConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. + */ + public fun negativeBarColor(negativeBarColor: String) + + /** + * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. + */ + public fun positiveBarColor(positiveBarColor: String) + + /** + * @param totalBarColor Defines the color for the total bars of a waterfall chart. + */ + public fun totalBarColor(totalBarColor: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty.builder() + + /** + * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. + */ + override fun negativeBarColor(negativeBarColor: String) { + cdkBuilder.negativeBarColor(negativeBarColor) + } + + /** + * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. + */ + override fun positiveBarColor(positiveBarColor: String) { + cdkBuilder.positiveBarColor(positiveBarColor) + } + + /** + * @param totalBarColor Defines the color for the total bars of a waterfall chart. + */ + override fun totalBarColor(totalBarColor: String) { + cdkBuilder.totalBarColor(totalBarColor) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty, + ) : CdkObject(cdkObject), WaterfallChartGroupColorConfigurationProperty { + /** + * Defines the color for the negative bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartgroupcolorconfiguration-negativebarcolor) + */ + override fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() + + /** + * Defines the color for the positive bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartgroupcolorconfiguration-positivebarcolor) + */ + override fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() + + /** + * Defines the color for the total bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-analysis-waterfallchartgroupcolorconfiguration-totalbarcolor) + */ + override fun totalBarColor(): String? = unwrap(this).getTotalBarColor() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WaterfallChartGroupColorConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty): + WaterfallChartGroupColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + WaterfallChartGroupColorConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WaterfallChartGroupColorConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnAnalysis.WaterfallChartGroupColorConfigurationProperty + } + } + /** * The options that determine the presentation of a waterfall visual. * @@ -112976,14 +117431,14 @@ public open class CfnAnalysis( * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: IResolvable) { - cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -112999,7 +117454,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -113224,7 +117679,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -113243,14 +117698,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty.Companion::unwrap)) } /** @@ -113267,7 +117722,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -113289,14 +117744,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -113311,14 +117766,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -114235,7 +118690,7 @@ public open class CfnAnalysis( * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -114257,7 +118712,7 @@ public open class CfnAnalysis( * Values are aggregated based on group by fields. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -114450,7 +118905,7 @@ public open class CfnAnalysis( * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -114458,7 +118913,7 @@ public open class CfnAnalysis( * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -114475,14 +118930,14 @@ public open class CfnAnalysis( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: WordCloudFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty.Companion::unwrap)) } /** @@ -114497,14 +118952,14 @@ public open class CfnAnalysis( * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty.Companion::unwrap)) } /** @@ -114520,14 +118975,14 @@ public open class CfnAnalysis( * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: IResolvable) { - cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable::unwrap)) + cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable.Companion::unwrap)) } /** * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty) { - cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty::unwrap)) + cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty.Companion::unwrap)) } /** @@ -115143,7 +119598,7 @@ public open class CfnAnalysis( * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: IResolvable) { - cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -115151,7 +119606,7 @@ public open class CfnAnalysis( */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty) { - cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -115541,7 +119996,7 @@ public open class CfnAnalysis( * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -115549,7 +120004,7 @@ public open class CfnAnalysis( * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -115566,7 +120021,7 @@ public open class CfnAnalysis( * @param categorySort The sort configuration of group by fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -115791,7 +120246,7 @@ public open class CfnAnalysis( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -115810,14 +120265,14 @@ public open class CfnAnalysis( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty.Companion::unwrap)) } /** @@ -115834,7 +120289,7 @@ public open class CfnAnalysis( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -115856,14 +120311,14 @@ public open class CfnAnalysis( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -115878,14 +120333,14 @@ public open class CfnAnalysis( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysisProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysisProps.kt index 2b10cfa48a..6bf4b2c3d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysisProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnAnalysisProps.kt @@ -365,14 +365,14 @@ public interface CfnAnalysisProps { * @param definition the value to be set. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** * @param definition the value to be set. */ override fun definition(definition: CfnAnalysis.AnalysisDefinitionProperty) { - cdkBuilder.definition(definition.let(CfnAnalysis.AnalysisDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnAnalysis.AnalysisDefinitionProperty.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public interface CfnAnalysisProps { * @param errors Errors associated with the analysis. */ override fun errors(errors: IResolvable) { - cdkBuilder.errors(errors.let(IResolvable::unwrap)) + cdkBuilder.errors(errors.let(IResolvable.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public interface CfnAnalysisProps { * An analysis can have any parameter type, and some parameters might accept multiple values. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface CfnAnalysisProps { * An analysis can have any parameter type, and some parameters might accept multiple values. */ override fun parameters(parameters: CfnAnalysis.ParametersProperty) { - cdkBuilder.parameters(parameters.let(CfnAnalysis.ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(CfnAnalysis.ParametersProperty.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface CfnAnalysisProps { * To specify no permissions, omit `Permissions` . */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public interface CfnAnalysisProps { * sheet. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public interface CfnAnalysisProps { * valid. */ override fun sourceEntity(sourceEntity: IResolvable) { - cdkBuilder.sourceEntity(sourceEntity.let(IResolvable::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public interface CfnAnalysisProps { * valid. */ override fun sourceEntity(sourceEntity: CfnAnalysis.AnalysisSourceEntityProperty) { - cdkBuilder.sourceEntity(sourceEntity.let(CfnAnalysis.AnalysisSourceEntityProperty::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(CfnAnalysis.AnalysisSourceEntityProperty.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public interface CfnAnalysisProps { * the analysis. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public interface CfnAnalysisProps { * When you set this value to `LENIENT` , validation is skipped for specific errors. */ override fun validationStrategy(validationStrategy: IResolvable) { - cdkBuilder.validationStrategy(validationStrategy.let(IResolvable::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public interface CfnAnalysisProps { * When you set this value to `LENIENT` , validation is skipped for specific errors. */ override fun validationStrategy(validationStrategy: CfnAnalysis.ValidationStrategyProperty) { - cdkBuilder.validationStrategy(validationStrategy.let(CfnAnalysis.ValidationStrategyProperty::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(CfnAnalysis.ValidationStrategyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboard.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboard.kt index dbe0116ea2..3b88cd6cab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboard.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboard.kt @@ -46,8 +46,8 @@ public open class CfnDashboard( id: String, props: CfnDashboardProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDashboardProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnDashboard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDashboardProps.Companion::unwrap)) ) public constructor( @@ -169,14 +169,14 @@ public open class CfnDashboard( * Options for publishing the dashboard when you create it:. */ public open fun dashboardPublishOptions(`value`: IResolvable) { - unwrap(this).setDashboardPublishOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDashboardPublishOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * Options for publishing the dashboard when you create it:. */ public open fun dashboardPublishOptions(`value`: DashboardPublishOptionsProperty) { - unwrap(this).setDashboardPublishOptions(`value`.let(DashboardPublishOptionsProperty::unwrap)) + unwrap(this).setDashboardPublishOptions(`value`.let(DashboardPublishOptionsProperty.Companion::unwrap)) } /** @@ -197,14 +197,14 @@ public open class CfnDashboard( * */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definition(`value`: DashboardVersionDefinitionProperty) { - unwrap(this).setDefinition(`value`.let(DashboardVersionDefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(DashboardVersionDefinitionProperty.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnDashboard( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -250,14 +250,14 @@ public open class CfnDashboard( * A structure that contains the link sharing configurations that you want to apply overrides to. */ public open fun linkSharingConfiguration(`value`: IResolvable) { - unwrap(this).setLinkSharingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLinkSharingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the link sharing configurations that you want to apply overrides to. */ public open fun linkSharingConfiguration(`value`: LinkSharingConfigurationProperty) { - unwrap(this).setLinkSharingConfiguration(`value`.let(LinkSharingConfigurationProperty::unwrap)) + unwrap(this).setLinkSharingConfiguration(`value`.let(LinkSharingConfigurationProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnDashboard( * settings. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnDashboard( * settings. */ public open fun parameters(`value`: ParametersProperty) { - unwrap(this).setParameters(`value`.let(ParametersProperty::unwrap)) + unwrap(this).setParameters(`value`.let(ParametersProperty.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnDashboard( * A structure that contains the permissions of the dashboard. */ public open fun permissions(`value`: IResolvable) { - unwrap(this).setPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -345,14 +345,14 @@ public open class CfnDashboard( * The entity that you are using as a source when you create the dashboard. */ public open fun sourceEntity(`value`: IResolvable) { - unwrap(this).setSourceEntity(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceEntity(`value`.let(IResolvable.Companion::unwrap)) } /** * The entity that you are using as a source when you create the dashboard. */ public open fun sourceEntity(`value`: DashboardSourceEntityProperty) { - unwrap(this).setSourceEntity(`value`.let(DashboardSourceEntityProperty::unwrap)) + unwrap(this).setSourceEntity(`value`.let(DashboardSourceEntityProperty.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnDashboard( * Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnDashboard( * and templates with definition objects. */ public open fun validationStrategy(`value`: IResolvable) { - unwrap(this).setValidationStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class CfnDashboard( * and templates with definition objects. */ public open fun validationStrategy(`value`: ValidationStrategyProperty) { - unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty::unwrap)) + unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class CfnDashboard( * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ override fun dashboardPublishOptions(dashboardPublishOptions: IResolvable) { - cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(IResolvable::unwrap)) + cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(IResolvable.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public open class CfnDashboard( * @param dashboardPublishOptions Options for publishing the dashboard when you create it:. */ override fun dashboardPublishOptions(dashboardPublishOptions: DashboardPublishOptionsProperty) { - cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(DashboardPublishOptionsProperty::unwrap)) + cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(DashboardPublishOptionsProperty.Companion::unwrap)) } /** @@ -909,7 +909,7 @@ public open class CfnDashboard( * @param definition */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public open class CfnDashboard( * @param definition */ override fun definition(definition: DashboardVersionDefinitionProperty) { - cdkBuilder.definition(definition.let(DashboardVersionDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(DashboardVersionDefinitionProperty.Companion::unwrap)) } /** @@ -959,7 +959,7 @@ public open class CfnDashboard( * that you want to apply overrides to. */ override fun linkSharingConfiguration(linkSharingConfiguration: IResolvable) { - cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public open class CfnDashboard( */ override fun linkSharingConfiguration(linkSharingConfiguration: LinkSharingConfigurationProperty) { - cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(LinkSharingConfigurationProperty::unwrap)) + cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(LinkSharingConfigurationProperty.Companion::unwrap)) } /** @@ -1011,7 +1011,7 @@ public open class CfnDashboard( * override the default settings. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public open class CfnDashboard( * override the default settings. */ override fun parameters(parameters: ParametersProperty) { - cdkBuilder.parameters(parameters.let(ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(ParametersProperty.Companion::unwrap)) } /** @@ -1057,7 +1057,7 @@ public open class CfnDashboard( * @param permissions A structure that contains the permissions of the dashboard. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -1106,7 +1106,7 @@ public open class CfnDashboard( * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ override fun sourceEntity(sourceEntity: IResolvable) { - cdkBuilder.sourceEntity(sourceEntity.let(IResolvable::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** @@ -1127,7 +1127,7 @@ public open class CfnDashboard( * @param sourceEntity The entity that you are using as a source when you create the dashboard. */ override fun sourceEntity(sourceEntity: DashboardSourceEntityProperty) { - cdkBuilder.sourceEntity(sourceEntity.let(DashboardSourceEntityProperty::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(DashboardSourceEntityProperty.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public open class CfnDashboard( * the dashboard. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1197,7 +1197,7 @@ public open class CfnDashboard( * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: IResolvable) { - cdkBuilder.validationStrategy(validationStrategy.let(IResolvable::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -1211,7 +1211,7 @@ public open class CfnDashboard( * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: ValidationStrategyProperty) { - cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty.Companion::unwrap)) } /** @@ -1486,7 +1486,7 @@ public open class CfnDashboard( * @param attributeAggregationFunction Aggregation for attributes. */ override fun attributeAggregationFunction(attributeAggregationFunction: IResolvable) { - cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -1494,7 +1494,7 @@ public open class CfnDashboard( */ override fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty) { - cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty::unwrap)) + cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty.Companion::unwrap)) } /** @@ -1531,7 +1531,7 @@ public open class CfnDashboard( * @param numericalAggregationFunction Aggregation for numerical values. */ override fun numericalAggregationFunction(numericalAggregationFunction: IResolvable) { - cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -1539,7 +1539,7 @@ public open class CfnDashboard( */ override fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty) { - cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -1737,14 +1737,14 @@ public open class CfnDashboard( * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -1760,14 +1760,14 @@ public open class CfnDashboard( * @param column The column that determines the sort order of aggregated values. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that determines the sort order of aggregated values. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -1933,7 +1933,7 @@ public open class CfnDashboard( * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: IResolvable) { - cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1941,7 +1941,7 @@ public open class CfnDashboard( */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty) { - cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty::unwrap)) + cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty.Companion::unwrap)) } /** @@ -2185,14 +2185,14 @@ public open class CfnDashboard( * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: ArcAxisDisplayRangeProperty) { - cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty::unwrap)) + cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty.Companion::unwrap)) } /** @@ -2894,14 +2894,14 @@ public open class CfnDashboard( * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: IResolvable) { - cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable::unwrap)) + cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty) { - cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty::unwrap)) + cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty.Companion::unwrap)) } /** @@ -2916,14 +2916,14 @@ public open class CfnDashboard( * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: IResolvable) { - cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable::unwrap)) + cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty) { - cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty::unwrap)) + cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty.Companion::unwrap)) } /** @@ -3296,14 +3296,14 @@ public open class CfnDashboard( * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: IResolvable) { - cdkBuilder.dataOptions(dataOptions.let(IResolvable::unwrap)) + cdkBuilder.dataOptions(dataOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: AxisDataOptionsProperty) { - cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty::unwrap)) + cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty.Companion::unwrap)) } /** @@ -3325,14 +3325,14 @@ public open class CfnDashboard( * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: IResolvable) { - cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable::unwrap)) + cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable.Companion::unwrap)) } /** * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty) { - cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty::unwrap)) + cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty.Companion::unwrap)) } /** @@ -3347,14 +3347,14 @@ public open class CfnDashboard( * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: IResolvable) { - cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty) { - cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty::unwrap)) + cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty.Companion::unwrap)) } /** @@ -3519,14 +3519,14 @@ public open class CfnDashboard( * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: IResolvable) { - cdkBuilder.minMax(minMax.let(IResolvable::unwrap)) + cdkBuilder.minMax(minMax.let(IResolvable.Companion::unwrap)) } /** * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: AxisDisplayMinMaxRangeProperty) { - cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty::unwrap)) + cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty.Companion::unwrap)) } /** @@ -3690,14 +3690,14 @@ public open class CfnDashboard( * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: IResolvable) { - cdkBuilder.applyTo(applyTo.let(IResolvable::unwrap)) + cdkBuilder.applyTo(applyTo.let(IResolvable.Companion::unwrap)) } /** * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: AxisLabelReferenceOptionsProperty) { - cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty::unwrap)) + cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty.Companion::unwrap)) } /** @@ -3719,14 +3719,14 @@ public open class CfnDashboard( * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -3860,14 +3860,14 @@ public open class CfnDashboard( * @param column The column that the axis label is targeted to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the axis label is targeted to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -4210,14 +4210,14 @@ public open class CfnDashboard( * @param linear The linear axis scale setup. */ override fun linear(linear: IResolvable) { - cdkBuilder.linear(linear.let(IResolvable::unwrap)) + cdkBuilder.linear(linear.let(IResolvable.Companion::unwrap)) } /** * @param linear The linear axis scale setup. */ override fun linear(linear: AxisLinearScaleProperty) { - cdkBuilder.linear(linear.let(AxisLinearScaleProperty::unwrap)) + cdkBuilder.linear(linear.let(AxisLinearScaleProperty.Companion::unwrap)) } /** @@ -4232,14 +4232,14 @@ public open class CfnDashboard( * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: IResolvable) { - cdkBuilder.logarithmic(logarithmic.let(IResolvable::unwrap)) + cdkBuilder.logarithmic(logarithmic.let(IResolvable.Companion::unwrap)) } /** * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: AxisLogarithmicScaleProperty) { - cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty::unwrap)) + cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty.Companion::unwrap)) } /** @@ -4375,14 +4375,14 @@ public open class CfnDashboard( * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: IResolvable) { - cdkBuilder.labelOptions(labelOptions.let(IResolvable::unwrap)) + cdkBuilder.labelOptions(labelOptions.let(IResolvable.Companion::unwrap)) } /** * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: LabelOptionsProperty) { - cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -4561,7 +4561,7 @@ public open class CfnDashboard( * @param category The category (y-axis) field well of a bar chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -4580,7 +4580,7 @@ public open class CfnDashboard( * @param colors The color (group/color) field well of a bar chart. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -4599,7 +4599,7 @@ public open class CfnDashboard( * @param smallMultiples The small multiples field well of a bar chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -4620,7 +4620,7 @@ public open class CfnDashboard( * Values are aggregated by category. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -5128,7 +5128,7 @@ public open class CfnDashboard( * chart category. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** @@ -5136,7 +5136,7 @@ public open class CfnDashboard( * chart category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -5153,7 +5153,7 @@ public open class CfnDashboard( * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5161,7 +5161,7 @@ public open class CfnDashboard( * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -5179,7 +5179,7 @@ public open class CfnDashboard( * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5187,7 +5187,7 @@ public open class CfnDashboard( * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -5205,7 +5205,7 @@ public open class CfnDashboard( * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -5227,14 +5227,14 @@ public open class CfnDashboard( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -5249,14 +5249,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BarChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty.Companion::unwrap)) } /** @@ -5271,14 +5271,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -5305,7 +5305,7 @@ public open class CfnDashboard( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -5325,14 +5325,14 @@ public open class CfnDashboard( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -5348,14 +5348,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -5371,14 +5371,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -5394,7 +5394,7 @@ public open class CfnDashboard( * chart value. */ override fun valueAxis(valueAxis: IResolvable) { - cdkBuilder.valueAxis(valueAxis.let(IResolvable::unwrap)) + cdkBuilder.valueAxis(valueAxis.let(IResolvable.Companion::unwrap)) } /** @@ -5402,7 +5402,7 @@ public open class CfnDashboard( * chart value. */ override fun valueAxis(valueAxis: AxisDisplayOptionsProperty) { - cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -5419,7 +5419,7 @@ public open class CfnDashboard( * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -5427,7 +5427,7 @@ public open class CfnDashboard( * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -5444,14 +5444,14 @@ public open class CfnDashboard( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -5669,7 +5669,7 @@ public open class CfnDashboard( * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: IResolvable) { - cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -5677,7 +5677,7 @@ public open class CfnDashboard( */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty) { - cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -6000,14 +6000,14 @@ public open class CfnDashboard( * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -6023,7 +6023,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -6043,14 +6043,14 @@ public open class CfnDashboard( * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -6066,7 +6066,7 @@ public open class CfnDashboard( * @param colorSort The sort configuration of color fields in a bar chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -6086,7 +6086,7 @@ public open class CfnDashboard( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6095,7 +6095,7 @@ public open class CfnDashboard( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -6113,7 +6113,7 @@ public open class CfnDashboard( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -6377,7 +6377,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -6396,14 +6396,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty.Companion::unwrap)) } /** @@ -6420,7 +6420,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -6442,14 +6442,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -6464,14 +6464,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -6924,14 +6924,14 @@ public open class CfnDashboard( * @param content The configuration of content in a body section. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The configuration of content in a body section. */ override fun content(content: BodySectionContentProperty) { - cdkBuilder.content(content.let(BodySectionContentProperty::unwrap)) + cdkBuilder.content(content.let(BodySectionContentProperty.Companion::unwrap)) } /** @@ -6946,7 +6946,7 @@ public open class CfnDashboard( * @param pageBreakConfiguration The configuration of a page break for a section. */ override fun pageBreakConfiguration(pageBreakConfiguration: IResolvable) { - cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable::unwrap)) + cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6954,7 +6954,7 @@ public open class CfnDashboard( */ override fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty) { - cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty::unwrap)) + cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty.Companion::unwrap)) } /** @@ -6978,14 +6978,14 @@ public open class CfnDashboard( * @param style The style options of a body section. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a body section. */ override fun style(style: SectionStyleProperty) { - cdkBuilder.style(style.let(SectionStyleProperty::unwrap)) + cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** @@ -7142,14 +7142,14 @@ public open class CfnDashboard( * @param layout The layout configuration of a body section. */ override fun layout(layout: IResolvable) { - cdkBuilder.layout(layout.let(IResolvable::unwrap)) + cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of a body section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { - cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -7766,7 +7766,7 @@ public open class CfnDashboard( * Values are grouped based on group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -7788,7 +7788,7 @@ public open class CfnDashboard( * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -8156,14 +8156,14 @@ public open class CfnDashboard( * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: IResolvable) { - cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable::unwrap)) + cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable.Companion::unwrap)) } /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty) { - cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty::unwrap)) + cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty.Companion::unwrap)) } /** @@ -8179,7 +8179,7 @@ public open class CfnDashboard( * plot category. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** @@ -8187,7 +8187,7 @@ public open class CfnDashboard( * plot category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -8204,7 +8204,7 @@ public open class CfnDashboard( * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8212,7 +8212,7 @@ public open class CfnDashboard( * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -8229,14 +8229,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BoxPlotFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty.Companion::unwrap)) } /** @@ -8251,14 +8251,14 @@ public open class CfnDashboard( * @param legend the value to be set. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend the value to be set. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -8274,7 +8274,7 @@ public open class CfnDashboard( * step) of a box plot category. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8283,7 +8283,7 @@ public open class CfnDashboard( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -8301,7 +8301,7 @@ public open class CfnDashboard( * icon visibility) of a box plot value. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -8310,7 +8310,7 @@ public open class CfnDashboard( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -8327,7 +8327,7 @@ public open class CfnDashboard( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -8347,14 +8347,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty.Companion::unwrap)) } /** @@ -8370,14 +8370,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -8392,14 +8392,14 @@ public open class CfnDashboard( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -9062,7 +9062,7 @@ public open class CfnDashboard( * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: IResolvable) { - cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -9070,7 +9070,7 @@ public open class CfnDashboard( */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty) { - cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -9218,14 +9218,14 @@ public open class CfnDashboard( * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: IResolvable) { - cdkBuilder.styleOptions(styleOptions.let(IResolvable::unwrap)) + cdkBuilder.styleOptions(styleOptions.let(IResolvable.Companion::unwrap)) } /** * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty) { - cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty::unwrap)) + cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty.Companion::unwrap)) } /** @@ -9396,7 +9396,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of a group by fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -9416,7 +9416,7 @@ public open class CfnDashboard( * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -9424,7 +9424,7 @@ public open class CfnDashboard( */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** @@ -9726,7 +9726,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -9745,14 +9745,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty.Companion::unwrap)) } /** @@ -9769,7 +9769,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -9791,14 +9791,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -9813,14 +9813,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -10224,7 +10224,7 @@ public open class CfnDashboard( * the current control. */ override fun sourceControls(sourceControls: IResolvable) { - cdkBuilder.sourceControls(sourceControls.let(IResolvable::unwrap)) + cdkBuilder.sourceControls(sourceControls.let(IResolvable.Companion::unwrap)) } /** @@ -10355,7 +10355,7 @@ public open class CfnDashboard( * source sheet control. */ override fun columnToMatch(columnToMatch: IResolvable) { - cdkBuilder.columnToMatch(columnToMatch.let(IResolvable::unwrap)) + cdkBuilder.columnToMatch(columnToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -10363,7 +10363,7 @@ public open class CfnDashboard( * source sheet control. */ override fun columnToMatch(columnToMatch: ColumnIdentifierProperty) { - cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10606,14 +10606,14 @@ public open class CfnDashboard( * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10635,14 +10635,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -10907,14 +10907,14 @@ public open class CfnDashboard( * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10936,14 +10936,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -11011,7 +11011,7 @@ public open class CfnDashboard( } /** - * The numeric equality type drill down filter. + * The category drill down filter. * * Example: * @@ -11106,14 +11106,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11317,7 +11317,7 @@ public open class CfnDashboard( * This filter can be partially matched. */ override fun customFilterConfiguration(customFilterConfiguration: IResolvable) { - cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11326,7 +11326,7 @@ public open class CfnDashboard( */ override fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty) { - cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty::unwrap)) + cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty.Companion::unwrap)) } /** @@ -11345,7 +11345,7 @@ public open class CfnDashboard( * In the Amazon QuickSight console, this filter type is called a custom filter list. */ override fun customFilterListConfiguration(customFilterListConfiguration: IResolvable) { - cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11354,7 +11354,7 @@ public open class CfnDashboard( */ override fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty) { - cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty::unwrap)) + cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty.Companion::unwrap)) } /** @@ -11373,7 +11373,7 @@ public open class CfnDashboard( * In the Amazon QuickSight console, this filter type is called a filter list. */ override fun filterListConfiguration(filterListConfiguration: IResolvable) { - cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -11382,7 +11382,7 @@ public open class CfnDashboard( */ override fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty) { - cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty::unwrap)) + cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty.Companion::unwrap)) } /** @@ -11494,6 +11494,205 @@ public open class CfnDashboard( * .build()) * .build()) * .filterId("filterId") + * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .build(); * ``` * @@ -11514,6 +11713,16 @@ public open class CfnDashboard( */ public fun configuration(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -11561,6 +11770,31 @@ public open class CfnDashboard( public fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("1667488e1b4137619718fc427e50d117da012c37b2336c010df8cdb80b161a82") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -11577,14 +11811,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11599,14 +11833,14 @@ public open class CfnDashboard( * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: CategoryFilterConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty.Companion::unwrap)) } /** @@ -11618,6 +11852,38 @@ public open class CfnDashboard( fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit): Unit = configuration(CategoryFilterConfigurationProperty(configuration)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("1667488e1b4137619718fc427e50d117da012c37b2336c010df8cdb80b161a82") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -11648,6 +11914,16 @@ public open class CfnDashboard( */ override fun configuration(): Any = unwrap(this).getConfiguration() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-categoryfilter.html#cfn-quicksight-dashboard-categoryfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -11783,7 +12059,7 @@ public open class CfnDashboard( * @param axisLabelOptions The label options for a chart axis. */ override fun axisLabelOptions(axisLabelOptions: IResolvable) { - cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -11930,14 +12206,14 @@ public open class CfnDashboard( * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: IResolvable) { - cdkBuilder.clusterMarker(clusterMarker.let(IResolvable::unwrap)) + cdkBuilder.clusterMarker(clusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: ClusterMarkerProperty) { - cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty::unwrap)) + cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty.Companion::unwrap)) } /** @@ -12042,14 +12318,14 @@ public open class CfnDashboard( * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: IResolvable) { - cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable::unwrap)) + cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty) { - cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty::unwrap)) + cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty.Companion::unwrap)) } /** @@ -12201,7 +12477,7 @@ public open class CfnDashboard( * @param colors Determines the list of colors that are applied to the visual. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -12220,14 +12496,14 @@ public open class CfnDashboard( * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: IResolvable) { - cdkBuilder.nullValueColor(nullValueColor.let(IResolvable::unwrap)) + cdkBuilder.nullValueColor(nullValueColor.let(IResolvable.Companion::unwrap)) } /** * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: DataColorProperty) { - cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty::unwrap)) + cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty.Companion::unwrap)) } /** @@ -12345,7 +12621,7 @@ public open class CfnDashboard( * @param customColors A list of up to 50 custom colors. */ override fun customColors(customColors: IResolvable) { - cdkBuilder.customColors(customColors.let(IResolvable::unwrap)) + cdkBuilder.customColors(customColors.let(IResolvable.Companion::unwrap)) } /** @@ -12737,14 +13013,14 @@ public open class CfnDashboard( * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: IResolvable) { - cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty) { - cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty::unwrap)) + cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty.Companion::unwrap)) } /** @@ -12760,14 +13036,14 @@ public open class CfnDashboard( * @param column The column. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -12782,14 +13058,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** @@ -13080,14 +13356,14 @@ public open class CfnDashboard( * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: IResolvable) { - cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable::unwrap)) + cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty) { - cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty::unwrap)) + cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty.Companion::unwrap)) } /** @@ -13105,7 +13381,7 @@ public open class CfnDashboard( * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: IResolvable) { - cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable::unwrap)) + cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable.Companion::unwrap)) } /** @@ -13114,7 +13390,7 @@ public open class CfnDashboard( * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty) { - cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty::unwrap)) + cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty.Companion::unwrap)) } /** @@ -13134,7 +13410,7 @@ public open class CfnDashboard( * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: IResolvable) { - cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable::unwrap)) + cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable.Companion::unwrap)) } /** @@ -13143,7 +13419,7 @@ public open class CfnDashboard( * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty) { - cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty::unwrap)) + cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty.Companion::unwrap)) } /** @@ -13429,14 +13705,14 @@ public open class CfnDashboard( * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -13459,14 +13735,14 @@ public open class CfnDashboard( * @param sortBy the value to be set. */ override fun sortBy(sortBy: IResolvable) { - cdkBuilder.sortBy(sortBy.let(IResolvable::unwrap)) + cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy the value to be set. */ override fun sortBy(sortBy: ColumnIdentifierProperty) { - cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -13647,14 +13923,14 @@ public open class CfnDashboard( * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: IResolvable) { - cdkBuilder.aggregation(aggregation.let(IResolvable::unwrap)) + cdkBuilder.aggregation(aggregation.let(IResolvable.Companion::unwrap)) } /** * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: AggregationFunctionProperty) { - cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -13669,14 +13945,14 @@ public open class CfnDashboard( * @param column The target column of the tooltip item. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The target column of the tooltip item. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -13871,7 +14147,7 @@ public open class CfnDashboard( * @param barValues The aggregated `BarValues` field well of a combo chart. */ override fun barValues(barValues: IResolvable) { - cdkBuilder.barValues(barValues.let(IResolvable::unwrap)) + cdkBuilder.barValues(barValues.let(IResolvable.Companion::unwrap)) } /** @@ -13890,7 +14166,7 @@ public open class CfnDashboard( * @param category The aggregated category field wells of a combo chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -13909,7 +14185,7 @@ public open class CfnDashboard( * @param colors The aggregated colors field well of a combo chart. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -13928,7 +14204,7 @@ public open class CfnDashboard( * @param lineValues The aggregated `LineValues` field well of a combo chart. */ override fun lineValues(lineValues: IResolvable) { - cdkBuilder.lineValues(lineValues.let(IResolvable::unwrap)) + cdkBuilder.lineValues(lineValues.let(IResolvable.Companion::unwrap)) } /** @@ -14451,7 +14727,7 @@ public open class CfnDashboard( * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: IResolvable) { - cdkBuilder.barDataLabels(barDataLabels.let(IResolvable::unwrap)) + cdkBuilder.barDataLabels(barDataLabels.let(IResolvable.Companion::unwrap)) } /** @@ -14459,7 +14735,7 @@ public open class CfnDashboard( * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: DataLabelOptionsProperty) { - cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -14487,14 +14763,14 @@ public open class CfnDashboard( * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -14510,7 +14786,7 @@ public open class CfnDashboard( * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14518,7 +14794,7 @@ public open class CfnDashboard( * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14536,7 +14812,7 @@ public open class CfnDashboard( * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14544,7 +14820,7 @@ public open class CfnDashboard( * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14561,14 +14837,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ComboChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty.Companion::unwrap)) } /** @@ -14583,14 +14859,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -14606,7 +14882,7 @@ public open class CfnDashboard( * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: IResolvable) { - cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable::unwrap)) + cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable.Companion::unwrap)) } /** @@ -14614,7 +14890,7 @@ public open class CfnDashboard( * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty) { - cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -14631,7 +14907,7 @@ public open class CfnDashboard( * axis step) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14640,7 +14916,7 @@ public open class CfnDashboard( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -14658,7 +14934,7 @@ public open class CfnDashboard( * icon visibility) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14667,7 +14943,7 @@ public open class CfnDashboard( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14684,7 +14960,7 @@ public open class CfnDashboard( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -14705,7 +14981,7 @@ public open class CfnDashboard( * axis step) of a combo chart's secondary y-axis (line) field well. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14714,7 +14990,7 @@ public open class CfnDashboard( */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -14733,7 +15009,7 @@ public open class CfnDashboard( * icon visibility) of a combo chart's secondary y-axis(line) field well. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14742,7 +15018,7 @@ public open class CfnDashboard( */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14760,14 +15036,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -14783,14 +15059,14 @@ public open class CfnDashboard( * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -14805,14 +15081,14 @@ public open class CfnDashboard( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -15047,7 +15323,7 @@ public open class CfnDashboard( * category. */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: IResolvable) { - cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -15057,7 +15333,7 @@ public open class CfnDashboard( */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty) { - cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -15308,7 +15584,7 @@ public open class CfnDashboard( * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -15316,7 +15592,7 @@ public open class CfnDashboard( * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -15333,7 +15609,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of the category field well in a combo chart. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -15354,7 +15630,7 @@ public open class CfnDashboard( * chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -15362,7 +15638,7 @@ public open class CfnDashboard( * chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -15379,7 +15655,7 @@ public open class CfnDashboard( * @param colorSort The sort configuration of the color field well in a combo chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -15619,7 +15895,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -15638,14 +15914,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty.Companion::unwrap)) } /** @@ -15662,7 +15938,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -15684,14 +15960,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -15706,14 +15982,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -15926,14 +16202,14 @@ public open class CfnDashboard( * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: IResolvable) { - cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable::unwrap)) + cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable.Companion::unwrap)) } /** * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty) { - cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty::unwrap)) + cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty.Companion::unwrap)) } /** @@ -16132,7 +16408,7 @@ public open class CfnDashboard( * @param numberDisplayFormatConfiguration The number display format. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -16140,7 +16416,7 @@ public open class CfnDashboard( */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -16158,7 +16434,7 @@ public open class CfnDashboard( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -16166,7 +16442,7 @@ public open class CfnDashboard( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -16498,14 +16774,14 @@ public open class CfnDashboard( * @param forecast The forecast computation configuration. */ override fun forecast(forecast: IResolvable) { - cdkBuilder.forecast(forecast.let(IResolvable::unwrap)) + cdkBuilder.forecast(forecast.let(IResolvable.Companion::unwrap)) } /** * @param forecast The forecast computation configuration. */ override fun forecast(forecast: ForecastComputationProperty) { - cdkBuilder.forecast(forecast.let(ForecastComputationProperty::unwrap)) + cdkBuilder.forecast(forecast.let(ForecastComputationProperty.Companion::unwrap)) } /** @@ -16520,14 +16796,14 @@ public open class CfnDashboard( * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: IResolvable) { - cdkBuilder.growthRate(growthRate.let(IResolvable::unwrap)) + cdkBuilder.growthRate(growthRate.let(IResolvable.Companion::unwrap)) } /** * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: GrowthRateComputationProperty) { - cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty::unwrap)) + cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty.Companion::unwrap)) } /** @@ -16542,14 +16818,14 @@ public open class CfnDashboard( * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: IResolvable) { - cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable::unwrap)) + cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable.Companion::unwrap)) } /** * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty) { - cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty::unwrap)) + cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty.Companion::unwrap)) } /** @@ -16565,14 +16841,14 @@ public open class CfnDashboard( * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: IResolvable) { - cdkBuilder.metricComparison(metricComparison.let(IResolvable::unwrap)) + cdkBuilder.metricComparison(metricComparison.let(IResolvable.Companion::unwrap)) } /** * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: MetricComparisonComputationProperty) { - cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty::unwrap)) + cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty.Companion::unwrap)) } /** @@ -16588,14 +16864,14 @@ public open class CfnDashboard( * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: IResolvable) { - cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable::unwrap)) + cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable.Companion::unwrap)) } /** * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty) { - cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty::unwrap)) + cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty.Companion::unwrap)) } /** @@ -16611,14 +16887,14 @@ public open class CfnDashboard( * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: IResolvable) { - cdkBuilder.periodToDate(periodToDate.let(IResolvable::unwrap)) + cdkBuilder.periodToDate(periodToDate.let(IResolvable.Companion::unwrap)) } /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: PeriodToDateComputationProperty) { - cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty::unwrap)) + cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty.Companion::unwrap)) } /** @@ -16633,14 +16909,14 @@ public open class CfnDashboard( * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: IResolvable) { - cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable::unwrap)) + cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable.Companion::unwrap)) } /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty) { - cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty::unwrap)) + cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty.Companion::unwrap)) } /** @@ -16656,14 +16932,14 @@ public open class CfnDashboard( * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: IResolvable) { - cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable::unwrap)) + cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable.Companion::unwrap)) } /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty) { - cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty::unwrap)) + cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty.Companion::unwrap)) } /** @@ -16679,14 +16955,14 @@ public open class CfnDashboard( * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: IResolvable) { - cdkBuilder.totalAggregation(totalAggregation.let(IResolvable::unwrap)) + cdkBuilder.totalAggregation(totalAggregation.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: TotalAggregationComputationProperty) { - cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty::unwrap)) + cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty.Companion::unwrap)) } /** @@ -16702,14 +16978,14 @@ public open class CfnDashboard( * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: IResolvable) { - cdkBuilder.uniqueValues(uniqueValues.let(IResolvable::unwrap)) + cdkBuilder.uniqueValues(uniqueValues.let(IResolvable.Companion::unwrap)) } /** * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: UniqueValuesComputationProperty) { - cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty::unwrap)) + cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty.Companion::unwrap)) } /** @@ -16914,14 +17190,14 @@ public open class CfnDashboard( * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: IResolvable) { - cdkBuilder.gradient(gradient.let(IResolvable::unwrap)) + cdkBuilder.gradient(gradient.let(IResolvable.Companion::unwrap)) } /** * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: ConditionalFormattingGradientColorProperty) { - cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty::unwrap)) + cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty.Companion::unwrap)) } /** @@ -16937,14 +17213,14 @@ public open class CfnDashboard( * @param solid Formatting configuration for solid color. */ override fun solid(solid: IResolvable) { - cdkBuilder.solid(solid.let(IResolvable::unwrap)) + cdkBuilder.solid(solid.let(IResolvable.Companion::unwrap)) } /** * @param solid Formatting configuration for solid color. */ override fun solid(solid: ConditionalFormattingSolidColorProperty) { - cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty::unwrap)) + cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty.Companion::unwrap)) } /** @@ -17123,7 +17399,7 @@ public open class CfnDashboard( * @param displayConfiguration Determines the icon display configuration. */ override fun displayConfiguration(displayConfiguration: IResolvable) { - cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable::unwrap)) + cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -17131,7 +17407,7 @@ public open class CfnDashboard( */ override fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty) { - cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty::unwrap)) + cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty.Companion::unwrap)) } /** @@ -17155,14 +17431,14 @@ public open class CfnDashboard( * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: IResolvable) { - cdkBuilder.iconOptions(iconOptions.let(IResolvable::unwrap)) + cdkBuilder.iconOptions(iconOptions.let(IResolvable.Companion::unwrap)) } /** * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty) { - cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty::unwrap)) + cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty.Companion::unwrap)) } /** @@ -17420,14 +17696,14 @@ public open class CfnDashboard( * @param color Determines the color. */ override fun color(color: IResolvable) { - cdkBuilder.color(color.let(IResolvable::unwrap)) + cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** * @param color Determines the color. */ override fun color(color: GradientColorProperty) { - cdkBuilder.color(color.let(GradientColorProperty::unwrap)) + cdkBuilder.color(color.let(GradientColorProperty.Companion::unwrap)) } /** @@ -17672,7 +17948,7 @@ public open class CfnDashboard( * @param customCondition Determines the custom condition for an icon set. */ override fun customCondition(customCondition: IResolvable) { - cdkBuilder.customCondition(customCondition.let(IResolvable::unwrap)) + cdkBuilder.customCondition(customCondition.let(IResolvable.Companion::unwrap)) } /** @@ -17680,7 +17956,7 @@ public open class CfnDashboard( */ override fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty) { - cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty::unwrap)) + cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty.Companion::unwrap)) } /** @@ -17696,14 +17972,14 @@ public open class CfnDashboard( * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: IResolvable) { - cdkBuilder.iconSet(iconSet.let(IResolvable::unwrap)) + cdkBuilder.iconSet(iconSet.let(IResolvable.Companion::unwrap)) } /** * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: ConditionalFormattingIconSetProperty) { - cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty::unwrap)) + cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty.Companion::unwrap)) } /** @@ -18061,7 +18337,7 @@ public open class CfnDashboard( * analysis, usually a list of `ColumnIdentifiers` . */ override fun contributorDimensions(contributorDimensions: IResolvable) { - cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable::unwrap)) + cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable.Companion::unwrap)) } /** @@ -18347,7 +18623,7 @@ public open class CfnDashboard( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18356,7 +18632,7 @@ public open class CfnDashboard( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -18375,7 +18651,7 @@ public open class CfnDashboard( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18384,7 +18660,7 @@ public open class CfnDashboard( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -18403,7 +18679,7 @@ public open class CfnDashboard( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18412,7 +18688,7 @@ public open class CfnDashboard( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -18445,7 +18721,7 @@ public open class CfnDashboard( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18454,7 +18730,7 @@ public open class CfnDashboard( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -18673,7 +18949,7 @@ public open class CfnDashboard( * filtered. */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: IResolvable) { - cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18682,7 +18958,7 @@ public open class CfnDashboard( */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty) { - cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty::unwrap)) + cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty.Companion::unwrap)) } /** @@ -18701,7 +18977,7 @@ public open class CfnDashboard( * filtered. */ override fun targetVisualsConfiguration(targetVisualsConfiguration: IResolvable) { - cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18710,7 +18986,7 @@ public open class CfnDashboard( */ override fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty) { - cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty::unwrap)) + cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty.Companion::unwrap)) } /** @@ -18832,7 +19108,7 @@ public open class CfnDashboard( * @param localNavigationConfiguration The configuration that chooses the navigation target. */ override fun localNavigationConfiguration(localNavigationConfiguration: IResolvable) { - cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18840,7 +19116,7 @@ public open class CfnDashboard( */ override fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty) { - cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty::unwrap)) + cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty.Companion::unwrap)) } /** @@ -18966,7 +19242,7 @@ public open class CfnDashboard( * @param parameterValueConfigurations The parameter that determines the value configuration. */ override fun parameterValueConfigurations(parameterValueConfigurations: IResolvable) { - cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable::unwrap)) + cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -19681,7 +19957,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -19700,14 +19976,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty.Companion::unwrap)) } /** @@ -19731,14 +20007,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -19753,14 +20029,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -20504,7 +20780,7 @@ public open class CfnDashboard( * @param decimalValues A list of decimal-type parameter values. */ override fun decimalValues(decimalValues: IResolvable) { - cdkBuilder.decimalValues(decimalValues.let(IResolvable::unwrap)) + cdkBuilder.decimalValues(decimalValues.let(IResolvable.Companion::unwrap)) } /** @@ -20524,7 +20800,7 @@ public open class CfnDashboard( * @param integerValues A list of integer-type parameter values. */ override fun integerValues(integerValues: IResolvable) { - cdkBuilder.integerValues(integerValues.let(IResolvable::unwrap)) + cdkBuilder.integerValues(integerValues.let(IResolvable.Companion::unwrap)) } /** @@ -20689,14 +20965,14 @@ public open class CfnDashboard( * @param customValues the value to be set. */ override fun customValues(customValues: IResolvable) { - cdkBuilder.customValues(customValues.let(IResolvable::unwrap)) + cdkBuilder.customValues(customValues.let(IResolvable.Companion::unwrap)) } /** * @param customValues the value to be set. */ override fun customValues(customValues: CustomParameterValuesProperty) { - cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty::unwrap)) + cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty.Companion::unwrap)) } /** @@ -20718,7 +20994,7 @@ public open class CfnDashboard( * @param includeNullValue Includes the null value in custom action parameter values. */ override fun includeNullValue(includeNullValue: IResolvable) { - cdkBuilder.includeNullValue(includeNullValue.let(IResolvable::unwrap)) + cdkBuilder.includeNullValue(includeNullValue.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -20857,7 +21133,7 @@ public open class CfnDashboard( * @param violatedEntities Lists the violated entities that caused the dashboard error. */ override fun violatedEntities(violatedEntities: IResolvable) { - cdkBuilder.violatedEntities(violatedEntities.let(IResolvable::unwrap)) + cdkBuilder.violatedEntities(violatedEntities.let(IResolvable.Companion::unwrap)) } /** @@ -21274,14 +21550,14 @@ public open class CfnDashboard( * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ override fun adHocFilteringOption(adHocFilteringOption: IResolvable) { - cdkBuilder.adHocFilteringOption(adHocFilteringOption.let(IResolvable::unwrap)) + cdkBuilder.adHocFilteringOption(adHocFilteringOption.let(IResolvable.Companion::unwrap)) } /** * @param adHocFilteringOption Ad hoc (one-time) filtering option. */ override fun adHocFilteringOption(adHocFilteringOption: AdHocFilteringOptionProperty) { - cdkBuilder.adHocFilteringOption(adHocFilteringOption.let(AdHocFilteringOptionProperty::unwrap)) + cdkBuilder.adHocFilteringOption(adHocFilteringOption.let(AdHocFilteringOptionProperty.Companion::unwrap)) } /** @@ -21297,7 +21573,7 @@ public open class CfnDashboard( * @param dataPointDrillUpDownOption The drill-down options of data points in a dashboard. */ override fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: IResolvable) { - cdkBuilder.dataPointDrillUpDownOption(dataPointDrillUpDownOption.let(IResolvable::unwrap)) + cdkBuilder.dataPointDrillUpDownOption(dataPointDrillUpDownOption.let(IResolvable.Companion::unwrap)) } /** @@ -21305,7 +21581,7 @@ public open class CfnDashboard( */ override fun dataPointDrillUpDownOption(dataPointDrillUpDownOption: DataPointDrillUpDownOptionProperty) { - cdkBuilder.dataPointDrillUpDownOption(dataPointDrillUpDownOption.let(DataPointDrillUpDownOptionProperty::unwrap)) + cdkBuilder.dataPointDrillUpDownOption(dataPointDrillUpDownOption.let(DataPointDrillUpDownOptionProperty.Companion::unwrap)) } /** @@ -21322,7 +21598,7 @@ public open class CfnDashboard( * @param dataPointMenuLabelOption The data point menu label options of a dashboard. */ override fun dataPointMenuLabelOption(dataPointMenuLabelOption: IResolvable) { - cdkBuilder.dataPointMenuLabelOption(dataPointMenuLabelOption.let(IResolvable::unwrap)) + cdkBuilder.dataPointMenuLabelOption(dataPointMenuLabelOption.let(IResolvable.Companion::unwrap)) } /** @@ -21330,7 +21606,7 @@ public open class CfnDashboard( */ override fun dataPointMenuLabelOption(dataPointMenuLabelOption: DataPointMenuLabelOptionProperty) { - cdkBuilder.dataPointMenuLabelOption(dataPointMenuLabelOption.let(DataPointMenuLabelOptionProperty::unwrap)) + cdkBuilder.dataPointMenuLabelOption(dataPointMenuLabelOption.let(DataPointMenuLabelOptionProperty.Companion::unwrap)) } /** @@ -21347,14 +21623,14 @@ public open class CfnDashboard( * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ override fun dataPointTooltipOption(dataPointTooltipOption: IResolvable) { - cdkBuilder.dataPointTooltipOption(dataPointTooltipOption.let(IResolvable::unwrap)) + cdkBuilder.dataPointTooltipOption(dataPointTooltipOption.let(IResolvable.Companion::unwrap)) } /** * @param dataPointTooltipOption The data point tool tip options of a dashboard. */ override fun dataPointTooltipOption(dataPointTooltipOption: DataPointTooltipOptionProperty) { - cdkBuilder.dataPointTooltipOption(dataPointTooltipOption.let(DataPointTooltipOptionProperty::unwrap)) + cdkBuilder.dataPointTooltipOption(dataPointTooltipOption.let(DataPointTooltipOptionProperty.Companion::unwrap)) } /** @@ -21370,14 +21646,14 @@ public open class CfnDashboard( * @param exportToCsvOption Export to .csv option. */ override fun exportToCsvOption(exportToCsvOption: IResolvable) { - cdkBuilder.exportToCsvOption(exportToCsvOption.let(IResolvable::unwrap)) + cdkBuilder.exportToCsvOption(exportToCsvOption.let(IResolvable.Companion::unwrap)) } /** * @param exportToCsvOption Export to .csv option. */ override fun exportToCsvOption(exportToCsvOption: ExportToCSVOptionProperty) { - cdkBuilder.exportToCsvOption(exportToCsvOption.let(ExportToCSVOptionProperty::unwrap)) + cdkBuilder.exportToCsvOption(exportToCsvOption.let(ExportToCSVOptionProperty.Companion::unwrap)) } /** @@ -21394,7 +21670,7 @@ public open class CfnDashboard( * dashboard. */ override fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: IResolvable) { - cdkBuilder.exportWithHiddenFieldsOption(exportWithHiddenFieldsOption.let(IResolvable::unwrap)) + cdkBuilder.exportWithHiddenFieldsOption(exportWithHiddenFieldsOption.let(IResolvable.Companion::unwrap)) } /** @@ -21403,7 +21679,7 @@ public open class CfnDashboard( */ override fun exportWithHiddenFieldsOption(exportWithHiddenFieldsOption: ExportWithHiddenFieldsOptionProperty) { - cdkBuilder.exportWithHiddenFieldsOption(exportWithHiddenFieldsOption.let(ExportWithHiddenFieldsOptionProperty::unwrap)) + cdkBuilder.exportWithHiddenFieldsOption(exportWithHiddenFieldsOption.let(ExportWithHiddenFieldsOptionProperty.Companion::unwrap)) } /** @@ -21421,14 +21697,14 @@ public open class CfnDashboard( * @param sheetControlsOption Sheet controls option. */ override fun sheetControlsOption(sheetControlsOption: IResolvable) { - cdkBuilder.sheetControlsOption(sheetControlsOption.let(IResolvable::unwrap)) + cdkBuilder.sheetControlsOption(sheetControlsOption.let(IResolvable.Companion::unwrap)) } /** * @param sheetControlsOption Sheet controls option. */ override fun sheetControlsOption(sheetControlsOption: SheetControlsOptionProperty) { - cdkBuilder.sheetControlsOption(sheetControlsOption.let(SheetControlsOptionProperty::unwrap)) + cdkBuilder.sheetControlsOption(sheetControlsOption.let(SheetControlsOptionProperty.Companion::unwrap)) } /** @@ -21446,7 +21722,7 @@ public open class CfnDashboard( */ override fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: IResolvable) { - cdkBuilder.sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption.let(IResolvable::unwrap)) + cdkBuilder.sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption.let(IResolvable.Companion::unwrap)) } /** @@ -21455,7 +21731,7 @@ public open class CfnDashboard( */ override fun sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption: SheetLayoutElementMaximizationOptionProperty) { - cdkBuilder.sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption.let(SheetLayoutElementMaximizationOptionProperty::unwrap)) + cdkBuilder.sheetLayoutElementMaximizationOption(sheetLayoutElementMaximizationOption.let(SheetLayoutElementMaximizationOptionProperty.Companion::unwrap)) } /** @@ -21473,14 +21749,14 @@ public open class CfnDashboard( * @param visualAxisSortOption The axis sort options of a dashboard. */ override fun visualAxisSortOption(visualAxisSortOption: IResolvable) { - cdkBuilder.visualAxisSortOption(visualAxisSortOption.let(IResolvable::unwrap)) + cdkBuilder.visualAxisSortOption(visualAxisSortOption.let(IResolvable.Companion::unwrap)) } /** * @param visualAxisSortOption The axis sort options of a dashboard. */ override fun visualAxisSortOption(visualAxisSortOption: VisualAxisSortOptionProperty) { - cdkBuilder.visualAxisSortOption(visualAxisSortOption.let(VisualAxisSortOptionProperty::unwrap)) + cdkBuilder.visualAxisSortOption(visualAxisSortOption.let(VisualAxisSortOptionProperty.Companion::unwrap)) } /** @@ -21496,14 +21772,14 @@ public open class CfnDashboard( * @param visualMenuOption The menu options of a visual in a dashboard. */ override fun visualMenuOption(visualMenuOption: IResolvable) { - cdkBuilder.visualMenuOption(visualMenuOption.let(IResolvable::unwrap)) + cdkBuilder.visualMenuOption(visualMenuOption.let(IResolvable.Companion::unwrap)) } /** * @param visualMenuOption The menu options of a visual in a dashboard. */ override fun visualMenuOption(visualMenuOption: VisualMenuOptionProperty) { - cdkBuilder.visualMenuOption(visualMenuOption.let(VisualMenuOptionProperty::unwrap)) + cdkBuilder.visualMenuOption(visualMenuOption.let(VisualMenuOptionProperty.Companion::unwrap)) } /** @@ -21518,7 +21794,7 @@ public open class CfnDashboard( * @param visualPublishOptions The visual publish options of a visual in a dashboard. */ override fun visualPublishOptions(visualPublishOptions: IResolvable) { - cdkBuilder.visualPublishOptions(visualPublishOptions.let(IResolvable::unwrap)) + cdkBuilder.visualPublishOptions(visualPublishOptions.let(IResolvable.Companion::unwrap)) } /** @@ -21526,7 +21802,7 @@ public open class CfnDashboard( */ override fun visualPublishOptions(visualPublishOptions: DashboardVisualPublishOptionsProperty) { - cdkBuilder.visualPublishOptions(visualPublishOptions.let(DashboardVisualPublishOptionsProperty::unwrap)) + cdkBuilder.visualPublishOptions(visualPublishOptions.let(DashboardVisualPublishOptionsProperty.Companion::unwrap)) } /** @@ -21708,14 +21984,14 @@ public open class CfnDashboard( * @param sourceTemplate Source template. */ override fun sourceTemplate(sourceTemplate: IResolvable) { - cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable::unwrap)) + cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable.Companion::unwrap)) } /** * @param sourceTemplate Source template. */ override fun sourceTemplate(sourceTemplate: DashboardSourceTemplateProperty) { - cdkBuilder.sourceTemplate(sourceTemplate.let(DashboardSourceTemplateProperty::unwrap)) + cdkBuilder.sourceTemplate(sourceTemplate.let(DashboardSourceTemplateProperty.Companion::unwrap)) } /** @@ -21840,7 +22116,7 @@ public open class CfnDashboard( * @param dataSetReferences Dataset references. */ override fun dataSetReferences(dataSetReferences: IResolvable) { - cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable::unwrap)) + cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable.Companion::unwrap)) } /** @@ -22154,14 +22430,14 @@ public open class CfnDashboard( * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: IResolvable) { - cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty) { - cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty::unwrap)) + cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty.Companion::unwrap)) } /** @@ -22176,7 +22452,7 @@ public open class CfnDashboard( * @param calculatedFields An array of calculated field definitions for the dashboard. */ override fun calculatedFields(calculatedFields: IResolvable) { - cdkBuilder.calculatedFields(calculatedFields.let(IResolvable::unwrap)) + cdkBuilder.calculatedFields(calculatedFields.let(IResolvable.Companion::unwrap)) } /** @@ -22198,7 +22474,7 @@ public open class CfnDashboard( * throughout a dashboard. */ override fun columnConfigurations(columnConfigurations: IResolvable) { - cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable::unwrap)) + cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -22224,7 +22500,7 @@ public open class CfnDashboard( * (ARNs) throughout the dashboard's sub-structures. */ override fun dataSetIdentifierDeclarations(dataSetIdentifierDeclarations: IResolvable) { - cdkBuilder.dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.let(IResolvable::unwrap)) + cdkBuilder.dataSetIdentifierDeclarations(dataSetIdentifierDeclarations.let(IResolvable.Companion::unwrap)) } /** @@ -22251,7 +22527,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun filterGroups(filterGroups: IResolvable) { - cdkBuilder.filterGroups(filterGroups.let(IResolvable::unwrap)) + cdkBuilder.filterGroups(filterGroups.let(IResolvable.Companion::unwrap)) } /** @@ -22277,14 +22553,14 @@ public open class CfnDashboard( * @param options An array of option definitions for a dashboard. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** * @param options An array of option definitions for a dashboard. */ override fun options(options: AssetOptionsProperty) { - cdkBuilder.options(options.let(AssetOptionsProperty::unwrap)) + cdkBuilder.options(options.let(AssetOptionsProperty.Companion::unwrap)) } /** @@ -22304,7 +22580,7 @@ public open class CfnDashboard( * in the *Amazon QuickSight User Guide* . */ override fun parameterDeclarations(parameterDeclarations: IResolvable) { - cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable::unwrap)) + cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable.Companion::unwrap)) } /** @@ -22334,7 +22610,7 @@ public open class CfnDashboard( * @param sheets An array of sheet definitions for a dashboard. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -22684,7 +22960,7 @@ public open class CfnDashboard( * @param errors Errors associated with this dashboard version. */ override fun errors(errors: IResolvable) { - cdkBuilder.errors(errors.let(IResolvable::unwrap)) + cdkBuilder.errors(errors.let(IResolvable.Companion::unwrap)) } /** @@ -22704,7 +22980,7 @@ public open class CfnDashboard( * sheet. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -22913,7 +23189,7 @@ public open class CfnDashboard( * dashboard. */ override fun exportHiddenFieldsOption(exportHiddenFieldsOption: IResolvable) { - cdkBuilder.exportHiddenFieldsOption(exportHiddenFieldsOption.let(IResolvable::unwrap)) + cdkBuilder.exportHiddenFieldsOption(exportHiddenFieldsOption.let(IResolvable.Companion::unwrap)) } /** @@ -22922,7 +23198,7 @@ public open class CfnDashboard( */ override fun exportHiddenFieldsOption(exportHiddenFieldsOption: ExportHiddenFieldsOptionProperty) { - cdkBuilder.exportHiddenFieldsOption(exportHiddenFieldsOption.let(ExportHiddenFieldsOptionProperty::unwrap)) + cdkBuilder.exportHiddenFieldsOption(exportHiddenFieldsOption.let(ExportHiddenFieldsOptionProperty.Companion::unwrap)) } /** @@ -23349,7 +23625,7 @@ public open class CfnDashboard( * the field. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -23357,7 +23633,7 @@ public open class CfnDashboard( * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { - cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -23644,7 +23920,7 @@ public open class CfnDashboard( * @param dataLabelTypes The option that determines the data label type. */ override fun dataLabelTypes(dataLabelTypes: IResolvable) { - cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable::unwrap)) + cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable.Companion::unwrap)) } /** @@ -23678,14 +23954,14 @@ public open class CfnDashboard( * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -24011,14 +24287,14 @@ public open class CfnDashboard( * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: IResolvable) { - cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable::unwrap)) + cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty) { - cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty::unwrap)) + cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty.Companion::unwrap)) } /** @@ -24034,14 +24310,14 @@ public open class CfnDashboard( * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: IResolvable) { - cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable::unwrap)) + cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable.Companion::unwrap)) } /** * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty) { - cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty::unwrap)) + cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty.Companion::unwrap)) } /** @@ -24057,7 +24333,7 @@ public open class CfnDashboard( * visual. */ override fun maximumLabelType(maximumLabelType: IResolvable) { - cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable::unwrap)) + cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -24065,7 +24341,7 @@ public open class CfnDashboard( * visual. */ override fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty) { - cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty::unwrap)) + cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty.Companion::unwrap)) } /** @@ -24082,7 +24358,7 @@ public open class CfnDashboard( * visual. */ override fun minimumLabelType(minimumLabelType: IResolvable) { - cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable::unwrap)) + cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -24090,7 +24366,7 @@ public open class CfnDashboard( * visual. */ override fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty) { - cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty::unwrap)) + cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty.Companion::unwrap)) } /** @@ -24107,7 +24383,7 @@ public open class CfnDashboard( * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: IResolvable) { - cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable::unwrap)) + cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -24115,7 +24391,7 @@ public open class CfnDashboard( * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty) { - cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty::unwrap)) + cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty.Companion::unwrap)) } /** @@ -24287,14 +24563,14 @@ public open class CfnDashboard( * @param element The element that the color needs to be applied to. */ override fun element(element: IResolvable) { - cdkBuilder.element(element.let(IResolvable::unwrap)) + cdkBuilder.element(element.let(IResolvable.Companion::unwrap)) } /** * @param element The element that the color needs to be applied to. */ override fun element(element: DataPathValueProperty) { - cdkBuilder.element(element.let(DataPathValueProperty::unwrap)) + cdkBuilder.element(element.let(DataPathValueProperty.Companion::unwrap)) } /** @@ -24577,7 +24853,7 @@ public open class CfnDashboard( * @param sortPaths The list of data paths that need to be sorted. */ override fun sortPaths(sortPaths: IResolvable) { - cdkBuilder.sortPaths(sortPaths.let(IResolvable::unwrap)) + cdkBuilder.sortPaths(sortPaths.let(IResolvable.Companion::unwrap)) } /** @@ -24835,14 +25111,14 @@ public open class CfnDashboard( * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: IResolvable) { - cdkBuilder.dataPathType(dataPathType.let(IResolvable::unwrap)) + cdkBuilder.dataPathType(dataPathType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: DataPathTypeProperty) { - cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty::unwrap)) + cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty.Companion::unwrap)) } /** @@ -25681,14 +25957,14 @@ public open class CfnDashboard( * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -25727,14 +26003,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -26014,14 +26290,14 @@ public open class CfnDashboard( * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -26043,14 +26319,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -26247,7 +26523,7 @@ public open class CfnDashboard( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -26255,7 +26531,7 @@ public open class CfnDashboard( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -26272,7 +26548,7 @@ public open class CfnDashboard( * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** @@ -26280,7 +26556,7 @@ public open class CfnDashboard( * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -26537,7 +26813,7 @@ public open class CfnDashboard( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -26546,7 +26822,7 @@ public open class CfnDashboard( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -26565,7 +26841,7 @@ public open class CfnDashboard( * fields. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -26574,7 +26850,7 @@ public open class CfnDashboard( */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -26735,7 +27011,7 @@ public open class CfnDashboard( * `DateTime` hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -26976,7 +27252,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -26985,7 +27261,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: DateTimeDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty.Companion::unwrap)) } /** @@ -27002,7 +27278,7 @@ public open class CfnDashboard( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -27038,7 +27314,7 @@ public open class CfnDashboard( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -27046,7 +27322,7 @@ public open class CfnDashboard( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -27365,7 +27641,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -27373,7 +27649,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -27390,14 +27666,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -27682,7 +27958,7 @@ public open class CfnDashboard( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -27690,7 +27966,7 @@ public open class CfnDashboard( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -27706,7 +27982,7 @@ public open class CfnDashboard( * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -27935,7 +28211,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -27944,7 +28220,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: DecimalDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty.Companion::unwrap)) } /** @@ -27961,7 +28237,7 @@ public open class CfnDashboard( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -27997,7 +28273,7 @@ public open class CfnDashboard( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -28005,7 +28281,7 @@ public open class CfnDashboard( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -28157,7 +28433,7 @@ public open class CfnDashboard( * @param values The values for the decimal parameter. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -28422,7 +28698,7 @@ public open class CfnDashboard( } /** - * The options that determine the default settings of a free-form layout configuration. + * The default options that correspond to the filter control type of a `DateTimePicker` . * * Example: * @@ -28430,235 +28706,174 @@ public open class CfnDashboard( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = - * DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") + * DefaultDateTimePickerControlOptionsProperty defaultDateTimePickerControlOptionsProperty = + * DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") * .build()) * .build()) + * .type("type") * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html) */ - public interface DefaultFreeFormLayoutConfigurationProperty { + public interface DefaultDateTimePickerControlOptionsProperty { /** - * Determines the screen canvas size options for a free-form layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html#cfn-quicksight-dashboard-defaultfreeformlayoutconfiguration-canvassizeoptions) - */ - public fun canvasSizeOptions(): Any - - /** - * A builder for [DefaultFreeFormLayoutConfigurationProperty] + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-displayoptions) */ - @CdkDslMarker - public interface Builder { - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("f77699a165e267e298c974e784a32950723ad59c8ecf090057223042a6ab79eb") - public - fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) - } - - private class BuilderImpl : Builder { - private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty.Builder - = - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty.builder() - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) - } - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty::unwrap)) - } - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("f77699a165e267e298c974e784a32950723ad59c8ecf090057223042a6ab79eb") - override - fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) - - public fun build(): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty - = cdkBuilder.build() - } - - private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { - /** - * Determines the screen canvas size options for a free-form layout. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html#cfn-quicksight-dashboard-defaultfreeformlayoutconfiguration-canvassizeoptions) - */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() - } - - public companion object { - public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultFreeFormLayoutConfigurationProperty { - val builderImpl = BuilderImpl() - return Wrapper(builderImpl.apply(block).build()) - } - - internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty): - DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) - - internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty - = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty - } - } + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() - /** - * The options that determine the default settings for a grid layout configuration. - * - * Example: - * - * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = - * DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") - * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html) - */ - public interface DefaultGridLayoutConfigurationProperty { /** - * Determines the screen canvas size options for a grid layout. + * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the + * following options:. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html#cfn-quicksight-dashboard-defaultgridlayoutconfiguration-canvassizeoptions) + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-type) */ - public fun canvasSizeOptions(): Any + public fun type(): String? = unwrap(this).getType() /** - * A builder for [DefaultGridLayoutConfigurationProperty] + * A builder for [DefaultDateTimePickerControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) + public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("a48b91ec194cb5bbc26cd47bb6d6bcfb5d2f8ad47a20e9f8e46afc238ba69ab7") + @JvmName("9da82fc531dc518740fe03c9302ae0518f4dd5441aa5bc0cdc6bf44f2dbfb604") public - fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose + * one of the following options:. + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + */ + public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty.builder() /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty::unwrap)) + override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("a48b91ec194cb5bbc26cd47bb6d6bcfb5d2f8ad47a20e9f8e46afc238ba69ab7") + @JvmName("9da82fc531dc518740fe03c9302ae0518f4dd5441aa5bc0cdc6bf44f2dbfb604") override - fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(DateTimePickerControlDisplayOptionsProperty(displayOptions)) + + /** + * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose + * one of the following options:. + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } public fun build(): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultDateTimePickerControlOptionsProperty { /** - * Determines the screen canvas size options for a grid layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html#cfn-quicksight-dashboard-defaultgridlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-displayoptions) */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the + * following options:. + * + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultdatetimepickercontroloptions.html#cfn-quicksight-dashboard-defaultdatetimepickercontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultGridLayoutConfigurationProperty { + DefaultDateTimePickerControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty): - DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty): + DefaultDateTimePickerControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultDateTimePickerControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultDateTimePickerControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultDateTimePickerControlOptionsProperty } } /** - * The options that determine the default settings for interactive layout configuration. + * The default configuration for all dependent controls of the filter. * * Example: * @@ -28666,191 +28881,2575 @@ public open class CfnDashboard( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = - * DefaultInteractiveLayoutConfigurationProperty.builder() - * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") + * DefaultFilterControlConfigurationProperty defaultFilterControlConfigurationProperty = + * DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) - * .grid(DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") - * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) + * .visibility("visibility") * .build()) * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html) - */ - public interface DefaultInteractiveLayoutConfigurationProperty { - /** - * The options that determine the default settings of a free-form layout configuration. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-freeform) - */ - public fun freeForm(): Any? = unwrap(this).getFreeForm() - - /** - * The options that determine the default settings for a grid layout configuration. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-grid) - */ - public fun grid(): Any? = unwrap(this).getGrid() - - /** - * A builder for [DefaultInteractiveLayoutConfigurationProperty] - */ - @CdkDslMarker - public interface Builder { - /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. - */ - public fun freeForm(freeForm: IResolvable) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html) + */ + public interface DefaultFilterControlConfigurationProperty { + /** + * The control option for the `DefaultFilterControlConfiguration` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-controloptions) + */ + public fun controlOptions(): Any + + /** + * The title of the `DefaultFilterControlConfiguration` . + * + * This title is shared by all controls that are tied to this filter. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-title) + */ + public fun title(): String + + /** + * A builder for [DefaultFilterControlConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + public fun controlOptions(controlOptions: IResolvable) + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + public fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("23174dfe5d3905a52c02c7a6900a515881ef4d5cc4f3250d8c20dc1d498aa0cc") + public + fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit) + + /** + * @param title The title of the `DefaultFilterControlConfiguration` . + * This title is shared by all controls that are tied to this filter. + */ + public fun title(title: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty.builder() + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + override fun controlOptions(controlOptions: IResolvable) { + cdkBuilder.controlOptions(controlOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + override fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) { + cdkBuilder.controlOptions(controlOptions.let(DefaultFilterControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("23174dfe5d3905a52c02c7a6900a515881ef4d5cc4f3250d8c20dc1d498aa0cc") + override + fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit): + Unit = controlOptions(DefaultFilterControlOptionsProperty(controlOptions)) + + /** + * @param title The title of the `DefaultFilterControlConfiguration` . + * This title is shared by all controls that are tied to this filter. + */ + override fun title(title: String) { + cdkBuilder.title(title) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty, + ) : CdkObject(cdkObject), DefaultFilterControlConfigurationProperty { + /** + * The control option for the `DefaultFilterControlConfiguration` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-controloptions) + */ + override fun controlOptions(): Any = unwrap(this).getControlOptions() + + /** + * The title of the `DefaultFilterControlConfiguration` . + * + * This title is shared by all controls that are tied to this filter. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontrolconfiguration.html#cfn-quicksight-dashboard-defaultfiltercontrolconfiguration-title) + */ + override fun title(): String = unwrap(this).getTitle() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterControlConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty): + DefaultFilterControlConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterControlConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterControlConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlConfigurationProperty + } + } + + /** + * The option that corresponds to the control type of the filter. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterControlOptionsProperty defaultFilterControlOptionsProperty = + * DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html) + */ + public interface DefaultFilterControlOptionsProperty { + /** + * The default options that correspond to the filter control type of a `DateTimePicker` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdatetimepickeroptions) + */ + public fun defaultDateTimePickerOptions(): Any? = unwrap(this).getDefaultDateTimePickerOptions() + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdropdownoptions) + */ + public fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() + + /** + * The default options that correspond to the `List` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultlistoptions) + */ + public fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultrelativedatetimeoptions) + */ + public fun defaultRelativeDateTimeOptions(): Any? = + unwrap(this).getDefaultRelativeDateTimeOptions() + + /** + * The default options that correspond to the `Slider` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultslideroptions) + */ + public fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() + + /** + * The default options that correspond to the `TextArea` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextareaoptions) + */ + public fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() + + /** + * The default options that correspond to the `TextField` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextfieldoptions) + */ + public fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() + + /** + * A builder for [DefaultFilterControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + public fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + public + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("0ce943ba3753757e5eb5c1a9332a13bb25cae8824a7b7c36c308bfdba541faf7") + public + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + public fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + public + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7ba4c0e567556eb2015ca340ede59e118d839166dd41c82ea1dff95f81cde6a4") + public + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + public fun defaultListOptions(defaultListOptions: IResolvable) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + public fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("35f7df23ed2d3fa5c7849e0a020c57404b091e9ff107a81519e46279b0730dac") + public + fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + public fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + public + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ab01c10610e1f433cec64d819e6c80f6ccd508221f78f0543998dba45be55f1f") + public + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + public fun defaultSliderOptions(defaultSliderOptions: IResolvable) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + public fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("5a231952626bd43140e8ff28934184446ee390dda0428405c7410d646b13bbe3") + public + fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + public fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + public + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("823867e9e820e745dfc4910b616e53c79ddd8feb9ee3ccb5e38a5b59f0dcbe1c") + public + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + public fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + public + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("420803f2bd3d8f7207d6963ba3474f16e79f0ac4399f35e2ddd9ef236cf5a931") + public + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty.builder() + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + override fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) { + cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + override + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) { + cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(DefaultDateTimePickerControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("0ce943ba3753757e5eb5c1a9332a13bb25cae8824a7b7c36c308bfdba541faf7") + override + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty(defaultDateTimePickerOptions)) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + override fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) { + cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + override + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) { + cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(DefaultFilterDropDownControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7ba4c0e567556eb2015ca340ede59e118d839166dd41c82ea1dff95f81cde6a4") + override + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty(defaultDropdownOptions)) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + override fun defaultListOptions(defaultListOptions: IResolvable) { + cdkBuilder.defaultListOptions(defaultListOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + override fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) { + cdkBuilder.defaultListOptions(defaultListOptions.let(DefaultFilterListControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("35f7df23ed2d3fa5c7849e0a020c57404b091e9ff107a81519e46279b0730dac") + override + fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit): + Unit = defaultListOptions(DefaultFilterListControlOptionsProperty(defaultListOptions)) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + override fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) { + cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + override + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) { + cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(DefaultRelativeDateTimeControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ab01c10610e1f433cec64d819e6c80f6ccd508221f78f0543998dba45be55f1f") + override + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty(defaultRelativeDateTimeOptions)) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + override fun defaultSliderOptions(defaultSliderOptions: IResolvable) { + cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + override fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) { + cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(DefaultSliderControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("5a231952626bd43140e8ff28934184446ee390dda0428405c7410d646b13bbe3") + override + fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit): + Unit = defaultSliderOptions(DefaultSliderControlOptionsProperty(defaultSliderOptions)) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + override fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) { + cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + override + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) { + cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(DefaultTextAreaControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("823867e9e820e745dfc4910b616e53c79ddd8feb9ee3ccb5e38a5b59f0dcbe1c") + override + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty(defaultTextAreaOptions)) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + override fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) { + cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + override + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) { + cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(DefaultTextFieldControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("420803f2bd3d8f7207d6963ba3474f16e79f0ac4399f35e2ddd9ef236cf5a931") + override + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty(defaultTextFieldOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterControlOptionsProperty { + /** + * The default options that correspond to the filter control type of a `DateTimePicker` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdatetimepickeroptions) + */ + override fun defaultDateTimePickerOptions(): Any? = + unwrap(this).getDefaultDateTimePickerOptions() + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultdropdownoptions) + */ + override fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() + + /** + * The default options that correspond to the `List` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultlistoptions) + */ + override fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultrelativedatetimeoptions) + */ + override fun defaultRelativeDateTimeOptions(): Any? = + unwrap(this).getDefaultRelativeDateTimeOptions() + + /** + * The default options that correspond to the `Slider` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaultslideroptions) + */ + override fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() + + /** + * The default options that correspond to the `TextArea` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextareaoptions) + */ + override fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() + + /** + * The default options that correspond to the `TextField` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfiltercontroloptions.html#cfn-quicksight-dashboard-defaultfiltercontroloptions-defaulttextfieldoptions) + */ + override fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty): + DefaultFilterControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterControlOptionsProperty + } + } + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterDropDownControlOptionsProperty defaultFilterDropDownControlOptionsProperty = + * DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html) + */ + public interface DefaultFilterDropDownControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-selectablevalues) + */ + public fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `FilterDropDownControl` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultFilterDropDownControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("35be417db3a9d272d2de2e4c33c3a870402272312c1a269f9fa7f0168d5f2279") + public + fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: IResolvable) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: FilterSelectableValuesProperty) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7ba50628490342d0a388020c11798570f6898a4bc3dd97e5114fc37972e2b856") + public + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) + + /** + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("35be417db3a9d272d2de2e4c33c3a870402272312c1a269f9fa7f0168d5f2279") + override + fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(DropDownControlDisplayOptionsProperty(displayOptions)) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: IResolvable) { + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7ba50628490342d0a388020c11798570f6898a4bc3dd97e5114fc37972e2b856") + override + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): + Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) + + /** + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterDropDownControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-selectablevalues) + */ + override fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `FilterDropDownControl` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterdropdowncontroloptions.html#cfn-quicksight-dashboard-defaultfilterdropdowncontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterDropDownControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty): + DefaultFilterDropDownControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterDropDownControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterDropDownControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterDropDownControlOptionsProperty + } + } + + /** + * The default options that correspond to the `List` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterListControlOptionsProperty defaultFilterListControlOptionsProperty = + * DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html) + */ + public interface DefaultFilterListControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-selectablevalues) + */ + public fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultFilterListControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d0c4fa77cb3425d0850d994f5a509ff4cbf27629dae596cd556a46d48d4dd29c") + public + fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: IResolvable) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: FilterSelectableValuesProperty) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f999520371d665f8968800d020517ae45fd3dcf27c6b5e76f15adc5eb818349e") + public + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) + + /** + * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following + * options:. + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d0c4fa77cb3425d0850d994f5a509ff4cbf27629dae596cd556a46d48d4dd29c") + override + fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(ListControlDisplayOptionsProperty(displayOptions)) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: IResolvable) { + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f999520371d665f8968800d020517ae45fd3dcf27c6b5e76f15adc5eb818349e") + override + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): + Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) + + /** + * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following + * options:. + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterListControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-selectablevalues) + */ + override fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfilterlistcontroloptions.html#cfn-quicksight-dashboard-defaultfilterlistcontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterListControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty): + DefaultFilterListControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterListControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterListControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFilterListControlOptionsProperty + } + } + + /** + * The options that determine the default settings of a free-form layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = + * DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html) + */ + public interface DefaultFreeFormLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a free-form layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html#cfn-quicksight-dashboard-defaultfreeformlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultFreeFormLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f77699a165e267e298c974e784a32950723ad59c8ecf090057223042a6ab79eb") + public + fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f77699a165e267e298c974e784a32950723ad59c8ecf090057223042a6ab79eb") + override + fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a free-form layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultfreeformlayoutconfiguration.html#cfn-quicksight-dashboard-defaultfreeformlayoutconfiguration-canvassizeoptions) + */ + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFreeFormLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty): + DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultFreeFormLayoutConfigurationProperty + } + } + + /** + * The options that determine the default settings for a grid layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = + * DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html) + */ + public interface DefaultGridLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a grid layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html#cfn-quicksight-dashboard-defaultgridlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultGridLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a48b91ec194cb5bbc26cd47bb6d6bcfb5d2f8ad47a20e9f8e46afc238ba69ab7") + public + fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a48b91ec194cb5bbc26cd47bb6d6bcfb5d2f8ad47a20e9f8e46afc238ba69ab7") + override + fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a grid layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultgridlayoutconfiguration.html#cfn-quicksight-dashboard-defaultgridlayoutconfiguration-canvassizeoptions) + */ + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultGridLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty): + DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultGridLayoutConfigurationProperty + } + } + + /** + * The options that determine the default settings for interactive layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = + * DefaultInteractiveLayoutConfigurationProperty.builder() + * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .grid(DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html) + */ + public interface DefaultInteractiveLayoutConfigurationProperty { + /** + * The options that determine the default settings of a free-form layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-freeform) + */ + public fun freeForm(): Any? = unwrap(this).getFreeForm() + + /** + * The options that determine the default settings for a grid layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-grid) + */ + public fun grid(): Any? = unwrap(this).getGrid() + + /** + * A builder for [DefaultInteractiveLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + public fun freeForm(freeForm: IResolvable) + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fdb50f7ffaeb720f79c0390bb383e69b62faabfdc2dd622752e2bc3c2a6520f8") + public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + public fun grid(grid: IResolvable) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + public fun grid(grid: DefaultGridLayoutConfigurationProperty) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("07ae5c92f3efbf4fc2b48fa09b2c1bb95ebdb916d2a2aada69e8cb641186ea82") + public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty.builder() + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + override fun freeForm(freeForm: IResolvable) { + cdkBuilder.freeForm(freeForm.let(IResolvable.Companion::unwrap)) + } + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { + cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fdb50f7ffaeb720f79c0390bb383e69b62faabfdc2dd622752e2bc3c2a6520f8") + override + fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): + Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + override fun grid(grid: IResolvable) { + cdkBuilder.grid(grid.let(IResolvable.Companion::unwrap)) + } + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + override fun grid(grid: DefaultGridLayoutConfigurationProperty) { + cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("07ae5c92f3efbf4fc2b48fa09b2c1bb95ebdb916d2a2aada69e8cb641186ea82") + override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = + grid(DefaultGridLayoutConfigurationProperty(grid)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { + /** + * The options that determine the default settings of a free-form layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-freeform) + */ + override fun freeForm(): Any? = unwrap(this).getFreeForm() + + /** + * The options that determine the default settings for a grid layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-grid) + */ + override fun grid(): Any? = unwrap(this).getGrid() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultInteractiveLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty): + DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty + } + } + + /** + * The configuration for default new sheet settings. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = + * DefaultNewSheetConfigurationProperty.builder() + * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() + * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .grid(DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .build()) + * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() + * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build()) + * .build()) + * .sheetContentType("sheetContentType") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html) + */ + public interface DefaultNewSheetConfigurationProperty { + /** + * The options that determine the default settings for interactive layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-interactivelayoutconfiguration) + */ + public fun interactiveLayoutConfiguration(): Any? = + unwrap(this).getInteractiveLayoutConfiguration() + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + */ + public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() + + /** + * The option that determines the sheet content type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-sheetcontenttype) + */ + public fun sheetContentType(): String? = unwrap(this).getSheetContentType() + /** + * A builder for [DefaultNewSheetConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) + public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. + */ + public + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) + + /** + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("fdb50f7ffaeb720f79c0390bb383e69b62faabfdc2dd622752e2bc3c2a6520f8") - public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) + @JvmName("e805f73957eecaa5c274b810207297ce04a9888fe11795e047b881520dca2233") + public + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - public fun grid(grid: IResolvable) + public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - public fun grid(grid: DefaultGridLayoutConfigurationProperty) + public + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("07ae5c92f3efbf4fc2b48fa09b2c1bb95ebdb916d2a2aada69e8cb641186ea82") - public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) + @JvmName("c6bf7cf226e41c52d8d4f3053d794c838f4bcb4a2b8dd663b1d663356b8fb320") + public + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) + + /** + * @param sheetContentType The option that determines the sheet content type. + */ + public fun sheetContentType(sheetContentType: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty.builder() /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - override fun freeForm(freeForm: IResolvable) { - cdkBuilder.freeForm(freeForm.let(IResolvable::unwrap)) + override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { + cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { - cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty::unwrap)) + override + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { + cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty.Companion::unwrap)) } /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("fdb50f7ffaeb720f79c0390bb383e69b62faabfdc2dd622752e2bc3c2a6520f8") + @JvmName("e805f73957eecaa5c274b810207297ce04a9888fe11795e047b881520dca2233") override - fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): - Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): + Unit = + interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - override fun grid(grid: IResolvable) { - cdkBuilder.grid(grid.let(IResolvable::unwrap)) + override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { + cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - override fun grid(grid: DefaultGridLayoutConfigurationProperty) { - cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty::unwrap)) + override + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { + cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty.Companion::unwrap)) } /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("07ae5c92f3efbf4fc2b48fa09b2c1bb95ebdb916d2a2aada69e8cb641186ea82") - override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = - grid(DefaultGridLayoutConfigurationProperty(grid)) + @JvmName("c6bf7cf226e41c52d8d4f3053d794c838f4bcb4a2b8dd663b1d663356b8fb320") + override + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): + Unit = + paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) + + /** + * @param sheetContentType The option that determines the sheet content type. + */ + override fun sheetContentType(sheetContentType: String) { + cdkBuilder.sheetContentType(sheetContentType) + } public fun build(): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty, + ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { /** - * The options that determine the default settings of a free-form layout configuration. + * The options that determine the default settings for interactive layout configuration. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-freeform) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-interactivelayoutconfiguration) */ - override fun freeForm(): Any? = unwrap(this).getFreeForm() + override fun interactiveLayoutConfiguration(): Any? = + unwrap(this).getInteractiveLayoutConfiguration() + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + */ + override fun paginatedLayoutConfiguration(): Any? = + unwrap(this).getPaginatedLayoutConfiguration() + + /** + * The option that determines the sheet content type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-sheetcontenttype) + */ + override fun sheetContentType(): String? = unwrap(this).getSheetContentType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultNewSheetConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty): + DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty + } + } + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = + * DefaultPaginatedLayoutConfigurationProperty.builder() + * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html) + */ + public interface DefaultPaginatedLayoutConfigurationProperty { + /** + * The options that determine the default settings for a section-based layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultpaginatedlayoutconfiguration-sectionbased) + */ + public fun sectionBased(): Any? = unwrap(this).getSectionBased() + + /** + * A builder for [DefaultPaginatedLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + public fun sectionBased(sectionBased: IResolvable) + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("687f6227cd2cd97c9dd8bb3b64a45791feefa7d24d96a568d4bb15b94c70751b") + public + fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty.builder() + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + override fun sectionBased(sectionBased: IResolvable) { + cdkBuilder.sectionBased(sectionBased.let(IResolvable.Companion::unwrap)) + } + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { + cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("687f6227cd2cd97c9dd8bb3b64a45791feefa7d24d96a568d4bb15b94c70751b") + override + fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): + Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { + /** + * The options that determine the default settings for a section-based layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultpaginatedlayoutconfiguration-sectionbased) + */ + override fun sectionBased(): Any? = unwrap(this).getSectionBased() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultPaginatedLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty): + DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty + } + } + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultRelativeDateTimeControlOptionsProperty defaultRelativeDateTimeControlOptionsProperty = + * DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultrelativedatetimecontroloptions.html) + */ + public interface DefaultRelativeDateTimeControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultrelativedatetimecontroloptions.html#cfn-quicksight-dashboard-defaultrelativedatetimecontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A builder for [DefaultRelativeDateTimeControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f16b34632b1412ebbbb5dbe7948eed08f264a64ba4e5e5030ed8a140fda5bf02") + public + fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("f16b34632b1412ebbbb5dbe7948eed08f264a64ba4e5e5030ed8a140fda5bf02") + override + fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(RelativeDateTimeControlDisplayOptionsProperty(displayOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultRelativeDateTimeControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultrelativedatetimecontroloptions.html#cfn-quicksight-dashboard-defaultrelativedatetimecontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultRelativeDateTimeControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty): + DefaultRelativeDateTimeControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultRelativeDateTimeControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultRelativeDateTimeControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultRelativeDateTimeControlOptionsProperty + } + } + + /** + * The options that determine the default settings for a section-based layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = + * DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html) + */ + public interface DefaultSectionBasedLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a section-based layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultSectionBasedLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a005f44344455f806ffdfe21cf01d99775f2f9cba9922d8c235a1b6f24fe9f6f") + public + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + override + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("a005f44344455f806ffdfe21cf01d99775f2f9cba9922d8c235a1b6f24fe9f6f") + override + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { /** - * The options that determine the default settings for a grid layout configuration. + * Determines the screen canvas size options for a section-based layout. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultinteractivelayoutconfiguration.html#cfn-quicksight-dashboard-defaultinteractivelayoutconfiguration-grid) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultsectionbasedlayoutconfiguration-canvassizeoptions) */ - override fun grid(): Any? = unwrap(this).getGrid() + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultInteractiveLayoutConfigurationProperty { + DefaultSectionBasedLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty): - DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty): + DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultInteractiveLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty } } /** - * The configuration for default new sheet settings. + * The default options that correspond to the `Slider` filter control type. * * Example: * @@ -28858,248 +31457,265 @@ public open class CfnDashboard( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = - * DefaultNewSheetConfigurationProperty.builder() - * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() - * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build()) - * .grid(DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") + * DefaultSliderControlOptionsProperty defaultSliderControlOptionsProperty = + * DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build()) + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) - * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() - * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) * .build()) + * .visibility("visibility") * .build()) * .build()) - * .sheetContentType("sheetContentType") + * .type("type") * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html) */ - public interface DefaultNewSheetConfigurationProperty { + public interface DefaultSliderControlOptionsProperty { /** - * The options that determine the default settings for interactive layout configuration. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-interactivelayoutconfiguration) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-displayoptions) */ - public fun interactiveLayoutConfiguration(): Any? = - unwrap(this).getInteractiveLayoutConfiguration() + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The options that determine the default settings for a paginated layout configuration. + * The larger value that is displayed at the right of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-maximumvalue) */ - public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() + public fun maximumValue(): Number /** - * The option that determines the sheet content type. + * The smaller value that is displayed at the left of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-sheetcontenttype) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-minimumvalue) */ - public fun sheetContentType(): String? = unwrap(this).getSheetContentType() + public fun minimumValue(): Number /** - * A builder for [DefaultNewSheetConfigurationProperty] + * The number of increments that the slider bar is divided into. + * + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-stepsize) + */ + public fun stepSize(): Number + + /** + * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. + * + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultSliderControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - public - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) + public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("e805f73957eecaa5c274b810207297ce04a9888fe11795e047b881520dca2233") + @JvmName("a25612f2c1ff3319b144329bafe95859bec030507ee40f40ee0a505c4378b8f1") public - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param maximumValue The larger value that is displayed at the right of the slider. */ - public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) + public fun maximumValue(maximumValue: Number) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ - public - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) + public fun minimumValue(minimumValue: Number) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param stepSize The number of increments that the slider bar is divided into. */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("c6bf7cf226e41c52d8d4f3053d794c838f4bcb4a2b8dd663b1d663356b8fb320") - public - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) + public fun stepSize(stepSize: Number) /** - * @param sheetContentType The option that determines the sheet content type. + * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following + * options:. + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. */ - public fun sheetContentType(sheetContentType: String) + public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty.builder() /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { - cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - override - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { - cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty::unwrap)) + override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("e805f73957eecaa5c274b810207297ce04a9888fe11795e047b881520dca2233") + @JvmName("a25612f2c1ff3319b144329bafe95859bec030507ee40f40ee0a505c4378b8f1") override - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): - Unit = - interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) + fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param maximumValue The larger value that is displayed at the right of the slider. */ - override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { - cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable::unwrap)) + override fun maximumValue(maximumValue: Number) { + cdkBuilder.maximumValue(maximumValue) } /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ - override - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { - cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty::unwrap)) + override fun minimumValue(minimumValue: Number) { + cdkBuilder.minimumValue(minimumValue) } /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param stepSize The number of increments that the slider bar is divided into. */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("c6bf7cf226e41c52d8d4f3053d794c838f4bcb4a2b8dd663b1d663356b8fb320") - override - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): - Unit = - paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) + override fun stepSize(stepSize: Number) { + cdkBuilder.stepSize(stepSize) + } /** - * @param sheetContentType The option that determines the sheet content type. + * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following + * options:. + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. */ - override fun sheetContentType(sheetContentType: String) { - cdkBuilder.sheetContentType(sheetContentType) + override fun type(type: String) { + cdkBuilder.type(type) } public fun build(): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty, - ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultSliderControlOptionsProperty { /** - * The options that determine the default settings for interactive layout configuration. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-interactivelayoutconfiguration) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-displayoptions) */ - override fun interactiveLayoutConfiguration(): Any? = - unwrap(this).getInteractiveLayoutConfiguration() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The options that determine the default settings for a paginated layout configuration. + * The larger value that is displayed at the right of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-maximumvalue) */ - override fun paginatedLayoutConfiguration(): Any? = - unwrap(this).getPaginatedLayoutConfiguration() + override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The option that determines the sheet content type. + * The smaller value that is displayed at the left of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultnewsheetconfiguration.html#cfn-quicksight-dashboard-defaultnewsheetconfiguration-sheetcontenttype) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-minimumvalue) */ - override fun sheetContentType(): String? = unwrap(this).getSheetContentType() + override fun minimumValue(): Number = unwrap(this).getMinimumValue() + + /** + * The number of increments that the slider bar is divided into. + * + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-stepsize) + */ + override fun stepSize(): Number = unwrap(this).getStepSize() + + /** + * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. + * + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultslidercontroloptions.html#cfn-quicksight-dashboard-defaultslidercontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultNewSheetConfigurationProperty { + DefaultSliderControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty): - DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty): + DefaultSliderControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultSliderControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty + internal fun unwrap(wrapped: DefaultSliderControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultNewSheetConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty } } /** - * The options that determine the default settings for a paginated layout configuration. + * The default options that correspond to the `TextArea` filter control type. * * Example: * @@ -29107,131 +31723,162 @@ public open class CfnDashboard( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = - * DefaultPaginatedLayoutConfigurationProperty.builder() - * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * DefaultTextAreaControlOptionsProperty defaultTextAreaControlOptionsProperty = + * DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") * .build()) + * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html) */ - public interface DefaultPaginatedLayoutConfigurationProperty { + public interface DefaultTextAreaControlOptionsProperty { /** - * The options that determine the default settings for a section-based layout configuration. + * The delimiter that is used to separate the lines in text. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultpaginatedlayoutconfiguration-sectionbased) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-delimiter) */ - public fun sectionBased(): Any? = unwrap(this).getSectionBased() + public fun delimiter(): String? = unwrap(this).getDelimiter() /** - * A builder for [DefaultPaginatedLayoutConfigurationProperty] + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A builder for [DefaultTextAreaControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param delimiter The delimiter that is used to separate the lines in text. */ - public fun sectionBased(sectionBased: IResolvable) + public fun delimiter(delimiter: String) /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. */ - public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) + public fun displayOptions(displayOptions: IResolvable) /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("687f6227cd2cd97c9dd8bb3b64a45791feefa7d24d96a568d4bb15b94c70751b") + @JvmName("633530adfb4a35a03bf2f1792557e101a980f26d05c34e242dd52a41e5c5f8d2") public - fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty.builder() /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param delimiter The delimiter that is used to separate the lines in text. */ - override fun sectionBased(sectionBased: IResolvable) { - cdkBuilder.sectionBased(sectionBased.let(IResolvable::unwrap)) + override fun delimiter(delimiter: String) { + cdkBuilder.delimiter(delimiter) } /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. */ - override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { - cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("687f6227cd2cd97c9dd8bb3b64a45791feefa7d24d96a568d4bb15b94c70751b") + @JvmName("633530adfb4a35a03bf2f1792557e101a980f26d05c34e242dd52a41e5c5f8d2") override - fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): - Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) + fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(TextAreaControlDisplayOptionsProperty(displayOptions)) public fun build(): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultTextAreaControlOptionsProperty { /** - * The options that determine the default settings for a section-based layout configuration. + * The delimiter that is used to separate the lines in text. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultpaginatedlayoutconfiguration-sectionbased) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-delimiter) */ - override fun sectionBased(): Any? = unwrap(this).getSectionBased() + override fun delimiter(): String? = unwrap(this).getDelimiter() + + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextareacontroloptions.html#cfn-quicksight-dashboard-defaulttextareacontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultPaginatedLayoutConfigurationProperty { + DefaultTextAreaControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty): - DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty): + DefaultTextAreaControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultTextAreaControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultTextAreaControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultPaginatedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextAreaControlOptionsProperty } } /** - * The options that determine the default settings for a section-based layout configuration. + * The default options that correspond to the `TextField` filter control type. * * Example: * @@ -29239,125 +31886,130 @@ public open class CfnDashboard( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = - * DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * DefaultTextFieldControlOptionsProperty defaultTextFieldControlOptionsProperty = + * DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextfieldcontroloptions.html) */ - public interface DefaultSectionBasedLayoutConfigurationProperty { + public interface DefaultTextFieldControlOptionsProperty { /** - * Determines the screen canvas size options for a section-based layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextfieldcontroloptions.html#cfn-quicksight-dashboard-defaulttextfieldcontroloptions-displayoptions) */ - public fun canvasSizeOptions(): Any + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * A builder for [DefaultSectionBasedLayoutConfigurationProperty] + * A builder for [DefaultTextFieldControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) + public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("a005f44344455f806ffdfe21cf01d99775f2f9cba9922d8c235a1b6f24fe9f6f") + @JvmName("00cf929d07b2b3f120fbef4527dcff476764eef9dde775548911e4ccd2eda4b1") public - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty.builder() /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - override - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty::unwrap)) + override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("a005f44344455f806ffdfe21cf01d99775f2f9cba9922d8c235a1b6f24fe9f6f") + @JvmName("00cf929d07b2b3f120fbef4527dcff476764eef9dde775548911e4ccd2eda4b1") override - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(TextFieldControlDisplayOptionsProperty(displayOptions)) public fun build(): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultTextFieldControlOptionsProperty { /** - * Determines the screen canvas size options for a section-based layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-dashboard-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-defaulttextfieldcontroloptions.html#cfn-quicksight-dashboard-defaulttextfieldcontroloptions-displayoptions) */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultSectionBasedLayoutConfigurationProperty { + DefaultTextFieldControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty): - DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty): + DefaultTextFieldControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultTextFieldControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultTextFieldControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSectionBasedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultTextFieldControlOptionsProperty } } @@ -29503,7 +32155,7 @@ public open class CfnDashboard( * parameter in `DestinationParameterValueConfiguration` . */ override fun customValuesConfiguration(customValuesConfiguration: IResolvable) { - cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -29512,7 +32164,7 @@ public open class CfnDashboard( */ override fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty) { - cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty::unwrap)) + cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty.Companion::unwrap)) } /** @@ -29537,14 +32189,14 @@ public open class CfnDashboard( * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: IResolvable) { - cdkBuilder.sourceColumn(sourceColumn.let(IResolvable::unwrap)) + cdkBuilder.sourceColumn(sourceColumn.let(IResolvable.Companion::unwrap)) } /** * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: ColumnIdentifierProperty) { - cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -29974,7 +32626,7 @@ public open class CfnDashboard( * @param categoricalDimensionField The dimension type field with categorical type columns. */ override fun categoricalDimensionField(categoricalDimensionField: IResolvable) { - cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable::unwrap)) + cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable.Companion::unwrap)) } /** @@ -29982,7 +32634,7 @@ public open class CfnDashboard( */ override fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty) { - cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty::unwrap)) + cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty.Companion::unwrap)) } /** @@ -29999,14 +32651,14 @@ public open class CfnDashboard( * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: IResolvable) { - cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable::unwrap)) + cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable.Companion::unwrap)) } /** * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty) { - cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty::unwrap)) + cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty.Companion::unwrap)) } /** @@ -30022,7 +32674,7 @@ public open class CfnDashboard( * @param numericalDimensionField The dimension type field with numerical type columns. */ override fun numericalDimensionField(numericalDimensionField: IResolvable) { - cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable::unwrap)) + cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable.Companion::unwrap)) } /** @@ -30030,7 +32682,7 @@ public open class CfnDashboard( */ override fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty) { - cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty::unwrap)) + cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty.Companion::unwrap)) } /** @@ -30299,7 +32951,7 @@ public open class CfnDashboard( * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: IResolvable) { - cdkBuilder.arcOptions(arcOptions.let(IResolvable::unwrap)) + cdkBuilder.arcOptions(arcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -30311,7 +32963,7 @@ public open class CfnDashboard( * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: ArcOptionsProperty) { - cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty::unwrap)) + cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty.Companion::unwrap)) } /** @@ -30333,7 +32985,7 @@ public open class CfnDashboard( * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: IResolvable) { - cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable::unwrap)) + cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable.Companion::unwrap)) } /** @@ -30342,7 +32994,7 @@ public open class CfnDashboard( * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty) { - cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty::unwrap)) + cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty.Companion::unwrap)) } /** @@ -30552,7 +33204,7 @@ public open class CfnDashboard( * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** @@ -30560,7 +33212,7 @@ public open class CfnDashboard( * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty.Companion::unwrap)) } /** @@ -30578,7 +33230,7 @@ public open class CfnDashboard( * This filter is used for number type columns. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -30587,7 +33239,7 @@ public open class CfnDashboard( */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty.Companion::unwrap)) } /** @@ -30606,7 +33258,7 @@ public open class CfnDashboard( * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -30614,7 +33266,7 @@ public open class CfnDashboard( * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty.Companion::unwrap)) } /** @@ -30814,7 +33466,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -30822,7 +33474,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -30840,7 +33492,7 @@ public open class CfnDashboard( * control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { - cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** @@ -30848,7 +33500,7 @@ public open class CfnDashboard( * control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { - cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** @@ -30865,14 +33517,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -31053,7 +33705,7 @@ public open class CfnDashboard( * */ override fun defaultValueColumn(defaultValueColumn: IResolvable) { - cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable::unwrap)) + cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable.Companion::unwrap)) } /** @@ -31061,7 +33713,7 @@ public open class CfnDashboard( * */ override fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty) { - cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -31078,14 +33730,14 @@ public open class CfnDashboard( * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: IResolvable) { - cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable::unwrap)) + cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty) { - cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -31100,14 +33752,14 @@ public open class CfnDashboard( * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: IResolvable) { - cdkBuilder.userNameColumn(userNameColumn.let(IResolvable::unwrap)) + cdkBuilder.userNameColumn(userNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: ColumnIdentifierProperty) { - cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -31316,7 +33968,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -31759,7 +34411,7 @@ public open class CfnDashboard( * @param columns The list of columns that define the explicit hierarchy. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -31779,7 +34431,7 @@ public open class CfnDashboard( * hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -32225,7 +34877,7 @@ public open class CfnDashboard( * @param tooltipFields The fields configuration in the tooltip. */ override fun tooltipFields(tooltipFields: IResolvable) { - cdkBuilder.tooltipFields(tooltipFields.let(IResolvable::unwrap)) + cdkBuilder.tooltipFields(tooltipFields.let(IResolvable.Companion::unwrap)) } /** @@ -32524,7 +35176,7 @@ public open class CfnDashboard( * the field. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -32532,7 +35184,7 @@ public open class CfnDashboard( * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { - cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -32697,14 +35349,14 @@ public open class CfnDashboard( * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: IResolvable) { - cdkBuilder.columnSort(columnSort.let(IResolvable::unwrap)) + cdkBuilder.columnSort(columnSort.let(IResolvable.Companion::unwrap)) } /** * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: ColumnSortProperty) { - cdkBuilder.columnSort(columnSort.let(ColumnSortProperty::unwrap)) + cdkBuilder.columnSort(columnSort.let(ColumnSortProperty.Companion::unwrap)) } /** @@ -32719,14 +35371,14 @@ public open class CfnDashboard( * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: IResolvable) { - cdkBuilder.fieldSort(fieldSort.let(IResolvable::unwrap)) + cdkBuilder.fieldSort(fieldSort.let(IResolvable.Companion::unwrap)) } /** * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: FieldSortProperty) { - cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty::unwrap)) + cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty.Companion::unwrap)) } /** @@ -33603,7 +36255,7 @@ public open class CfnDashboard( * Values are grouped by location fields. */ override fun geospatial(geospatial: IResolvable) { - cdkBuilder.geospatial(geospatial.let(IResolvable::unwrap)) + cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** @@ -33625,7 +36277,7 @@ public open class CfnDashboard( * Values are aggregated based on location fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -33769,14 +36421,14 @@ public open class CfnDashboard( * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: IResolvable) { - cdkBuilder.shape(shape.let(IResolvable::unwrap)) + cdkBuilder.shape(shape.let(IResolvable.Companion::unwrap)) } /** * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: FilledMapShapeConditionalFormattingProperty) { - cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty::unwrap)) + cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty.Companion::unwrap)) } /** @@ -33907,7 +36559,7 @@ public open class CfnDashboard( * */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -34134,14 +36786,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: FilledMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty.Companion::unwrap)) } /** @@ -34156,14 +36808,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -34178,14 +36830,14 @@ public open class CfnDashboard( * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** @@ -34201,14 +36853,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -34224,14 +36876,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -34246,14 +36898,14 @@ public open class CfnDashboard( * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: IResolvable) { - cdkBuilder.windowOptions(windowOptions.let(IResolvable::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { - cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** @@ -34881,7 +37533,7 @@ public open class CfnDashboard( * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: IResolvable) { - cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -34889,7 +37541,7 @@ public open class CfnDashboard( */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty) { - cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -35039,7 +37691,7 @@ public open class CfnDashboard( * map's shape. */ override fun format(format: IResolvable) { - cdkBuilder.format(format.let(IResolvable::unwrap)) + cdkBuilder.format(format.let(IResolvable.Companion::unwrap)) } /** @@ -35047,7 +37699,7 @@ public open class CfnDashboard( * map's shape. */ override fun format(format: ShapeConditionalFormatProperty) { - cdkBuilder.format(format.let(ShapeConditionalFormatProperty::unwrap)) + cdkBuilder.format(format.let(ShapeConditionalFormatProperty.Companion::unwrap)) } /** @@ -35184,7 +37836,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of the location fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -35428,7 +38080,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -35447,14 +38099,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty.Companion::unwrap)) } /** @@ -35471,7 +38123,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -35493,7 +38145,7 @@ public open class CfnDashboard( * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -35501,7 +38153,7 @@ public open class CfnDashboard( */ override fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty.Companion::unwrap)) } /** @@ -35518,14 +38170,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -35540,14 +38192,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -35659,6 +38311,20 @@ public open class CfnDashboard( * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterControlProperty filterControlProperty = FilterControlProperty.builder() + * .crossSheet(FilterCrossSheetControlProperty.builder() + * .filterControlId("filterControlId") + * .sourceFilterId("sourceFilterId") + * // the properties below are optional + * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() + * .sourceControls(List.of(CascadingControlSourceProperty.builder() + * .columnToMatch(ColumnIdentifierProperty.builder() + * .columnName("columnName") + * .dataSetIdentifier("dataSetIdentifier") + * .build()) + * .sourceSheetControlId("sourceSheetControlId") + * .build())) + * .build()) + * .build()) * .dateTimePicker(FilterDateTimePickerControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") @@ -35903,6 +38569,15 @@ public open class CfnDashboard( * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html) */ public interface FilterControlProperty { + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-crosssheet) + */ + public fun crossSheet(): Any? = unwrap(this).getCrossSheet() + /** * A control from a date filter that is used to specify date and time. * @@ -35961,6 +38636,26 @@ public open class CfnDashboard( */ @CdkDslMarker public interface Builder { + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + public fun crossSheet(crossSheet: IResolvable) + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + public fun crossSheet(crossSheet: FilterCrossSheetControlProperty) + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("822216a96316cf69b6cc764e94f0d361cecfd66e45629b11fb7dd9f213c47ef3") + public fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit) + /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ @@ -36100,18 +38795,43 @@ public open class CfnDashboard( software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty.builder() + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + override fun crossSheet(crossSheet: IResolvable) { + cdkBuilder.crossSheet(crossSheet.let(IResolvable.Companion::unwrap)) + } + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + override fun crossSheet(crossSheet: FilterCrossSheetControlProperty) { + cdkBuilder.crossSheet(crossSheet.let(FilterCrossSheetControlProperty.Companion::unwrap)) + } + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("822216a96316cf69b6cc764e94f0d361cecfd66e45629b11fb7dd9f213c47ef3") + override fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit): Unit + = crossSheet(FilterCrossSheetControlProperty(crossSheet)) + /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { - cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty) { - cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty.Companion::unwrap)) } /** @@ -36128,7 +38848,7 @@ public open class CfnDashboard( * single value. */ override fun dropdown(dropdown: IResolvable) { - cdkBuilder.dropdown(dropdown.let(IResolvable::unwrap)) + cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** @@ -36136,7 +38856,7 @@ public open class CfnDashboard( * single value. */ override fun dropdown(dropdown: FilterDropDownControlProperty) { - cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty::unwrap)) + cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty.Companion::unwrap)) } /** @@ -36153,7 +38873,7 @@ public open class CfnDashboard( * This is used to select either a single value or multiple values. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** @@ -36161,7 +38881,7 @@ public open class CfnDashboard( * This is used to select either a single value or multiple values. */ override fun list(list: FilterListControlProperty) { - cdkBuilder.list(list.let(FilterListControlProperty::unwrap)) + cdkBuilder.list(list.let(FilterListControlProperty.Companion::unwrap)) } /** @@ -36178,7 +38898,7 @@ public open class CfnDashboard( * date. */ override fun relativeDateTime(relativeDateTime: IResolvable) { - cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable::unwrap)) + cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable.Companion::unwrap)) } /** @@ -36186,7 +38906,7 @@ public open class CfnDashboard( * date. */ override fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty) { - cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty::unwrap)) + cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty.Companion::unwrap)) } /** @@ -36204,7 +38924,7 @@ public open class CfnDashboard( * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { - cdkBuilder.slider(slider.let(IResolvable::unwrap)) + cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** @@ -36212,7 +38932,7 @@ public open class CfnDashboard( * This is used to change a value by sliding the toggle. */ override fun slider(slider: FilterSliderControlProperty) { - cdkBuilder.slider(slider.let(FilterSliderControlProperty::unwrap)) + cdkBuilder.slider(slider.let(FilterSliderControlProperty.Companion::unwrap)) } /** @@ -36228,14 +38948,14 @@ public open class CfnDashboard( * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { - cdkBuilder.textArea(textArea.let(IResolvable::unwrap)) + cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: FilterTextAreaControlProperty) { - cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty::unwrap)) + cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty.Companion::unwrap)) } /** @@ -36250,14 +38970,14 @@ public open class CfnDashboard( * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { - cdkBuilder.textField(textField.let(IResolvable::unwrap)) + cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: FilterTextFieldControlProperty) { - cdkBuilder.textField(textField.let(FilterTextFieldControlProperty::unwrap)) + cdkBuilder.textField(textField.let(FilterTextFieldControlProperty.Companion::unwrap)) } /** @@ -36276,6 +38996,15 @@ public open class CfnDashboard( private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterControlProperty, ) : CdkObject(cdkObject), FilterControlProperty { + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercontrol.html#cfn-quicksight-dashboard-filtercontrol-crosssheet) + */ + override fun crossSheet(): Any? = unwrap(this).getCrossSheet() + /** * A control from a date filter that is used to specify date and time. * @@ -36348,6 +39077,196 @@ public open class CfnDashboard( } } + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * FilterCrossSheetControlProperty filterCrossSheetControlProperty = + * FilterCrossSheetControlProperty.builder() + * .filterControlId("filterControlId") + * .sourceFilterId("sourceFilterId") + * // the properties below are optional + * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() + * .sourceControls(List.of(CascadingControlSourceProperty.builder() + * .columnToMatch(ColumnIdentifierProperty.builder() + * .columnName("columnName") + * .dataSetIdentifier("dataSetIdentifier") + * .build()) + * .sourceSheetControlId("sourceSheetControlId") + * .build())) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html) + */ + public interface FilterCrossSheetControlProperty { + /** + * The values that are displayed in a control can be configured to only show values that are + * valid based on what's selected in other controls. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-cascadingcontrolconfiguration) + */ + public fun cascadingControlConfiguration(): Any? = + unwrap(this).getCascadingControlConfiguration() + + /** + * The ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-filtercontrolid) + */ + public fun filterControlId(): String + + /** + * The source filter ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-sourcefilterid) + */ + public fun sourceFilterId(): String + + /** + * A builder for [FilterCrossSheetControlProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + public + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6ec20400e48fede1cdca3acf06a8655c5b41dacb7ed6547252588c6ed067835d") + public + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) + + /** + * @param filterControlId The ID of the `FilterCrossSheetControl` . + */ + public fun filterControlId(filterControlId: String) + + /** + * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . + */ + public fun sourceFilterId(sourceFilterId: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty.builder() + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + override + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6ec20400e48fede1cdca3acf06a8655c5b41dacb7ed6547252588c6ed067835d") + override + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): + Unit = + cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) + + /** + * @param filterControlId The ID of the `FilterCrossSheetControl` . + */ + override fun filterControlId(filterControlId: String) { + cdkBuilder.filterControlId(filterControlId) + } + + /** + * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . + */ + override fun sourceFilterId(sourceFilterId: String) { + cdkBuilder.sourceFilterId(sourceFilterId) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty, + ) : CdkObject(cdkObject), FilterCrossSheetControlProperty { + /** + * The values that are displayed in a control can be configured to only show values that are + * valid based on what's selected in other controls. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-cascadingcontrolconfiguration) + */ + override fun cascadingControlConfiguration(): Any? = + unwrap(this).getCascadingControlConfiguration() + + /** + * The ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-filtercontrolid) + */ + override fun filterControlId(): String = unwrap(this).getFilterControlId() + + /** + * The source filter ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtercrosssheetcontrol.html#cfn-quicksight-dashboard-filtercrosssheetcontrol-sourcefilterid) + */ + override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): FilterCrossSheetControlProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty): + FilterCrossSheetControlProperty = CdkObjectWrappers.wrap(cdkObject) as? + FilterCrossSheetControlProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: FilterCrossSheetControlProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.FilterCrossSheetControlProperty + } + } + /** * A control from a date filter that is used to specify date and time. * @@ -36421,11 +39340,10 @@ public open class CfnDashboard( public fun title(): String /** - * The date time picker type of a `FilterDateTimePickerControl` . Choose one of the following - * options:. + * The type of the `FilterDropDownControl` . Choose one of the following options:. * - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-type) */ @@ -36470,10 +39388,9 @@ public open class CfnDashboard( public fun title(title: String) /** - * @param type The date time picker type of a `FilterDateTimePickerControl` . Choose one of - * the following options:. - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ public fun type(type: String) } @@ -36488,14 +39405,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -36529,10 +39446,9 @@ public open class CfnDashboard( } /** - * @param type The date time picker type of a `FilterDateTimePickerControl` . Choose one of - * the following options:. - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ override fun type(type: String) { cdkBuilder.type(type) @@ -36575,11 +39491,10 @@ public open class CfnDashboard( override fun title(): String = unwrap(this).getTitle() /** - * The date time picker type of a `FilterDateTimePickerControl` . Choose one of the following - * options:. + * The type of the `FilterDropDownControl` . Choose one of the following options:. * - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filterdatetimepickercontrol.html#cfn-quicksight-dashboard-filterdatetimepickercontrol-type) */ @@ -36814,7 +39729,7 @@ public open class CfnDashboard( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -36823,7 +39738,7 @@ public open class CfnDashboard( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -36841,14 +39756,14 @@ public open class CfnDashboard( * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -36871,14 +39786,14 @@ public open class CfnDashboard( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** @@ -37004,230 +39919,6 @@ public open class CfnDashboard( * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * Object allSheets; - * FilterGroupProperty filterGroupProperty = FilterGroupProperty.builder() - * .crossDataset("crossDataset") - * .filterGroupId("filterGroupId") - * .filters(List.of(FilterProperty.builder() - * .categoryFilter(CategoryFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .configuration(CategoryFilterConfigurationProperty.builder() - * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValue("categoryValue") - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .build()) - * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .selectAllOptions("selectAllOptions") - * .build()) - * .filterListConfiguration(FilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .nullOption("nullOption") - * .selectAllOptions("selectAllOptions") - * .build()) - * .build()) - * .filterId("filterId") - * .build()) - * .numericEqualityFilter(NumericEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .value(123) - * .build()) - * .numericRangeFilter(NumericRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .rangeMinimum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .selectAllOptions("selectAllOptions") - * .build()) - * .relativeDatesFilter(RelativeDatesFilterProperty.builder() - * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() - * .anchorOption("anchorOption") - * .parameterName("parameterName") - * .build()) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * .relativeDateType("relativeDateType") - * .timeGranularity("timeGranularity") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .minimumGranularity("minimumGranularity") - * .parameterName("parameterName") - * .relativeDateValue(123) - * .build()) - * .timeEqualityFilter(TimeEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .parameterName("parameterName") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .timeGranularity("timeGranularity") - * .value("value") - * .build()) - * .timeRangeFilter(TimeRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .timeGranularity("timeGranularity") - * .build()) - * .topBottomFilter(TopBottomFilterProperty.builder() - * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .sortDirection("sortDirection") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .build())) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .limit(123) - * .parameterName("parameterName") - * .timeGranularity("timeGranularity") - * .build()) - * .build())) - * .scopeConfiguration(FilterScopeConfigurationProperty.builder() - * .allSheets(allSheets) - * .selectedSheets(SelectedSheetsFilterScopeConfigurationProperty.builder() - * .sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder() - * .scope("scope") - * .sheetId("sheetId") - * // the properties below are optional - * .visualIds(List.of("visualIds")) - * .build())) - * .build()) - * .build()) - * // the properties below are optional - * .status("status") - * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filtergroup.html) @@ -37369,7 +40060,7 @@ public open class CfnDashboard( * @param filters The list of filters that are present in a `FilterGroup` . */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -37391,7 +40082,7 @@ public open class CfnDashboard( * can be defined. */ override fun scopeConfiguration(scopeConfiguration: IResolvable) { - cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -37401,7 +40092,7 @@ public open class CfnDashboard( * can be defined. */ override fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty) { - cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty::unwrap)) + cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty.Companion::unwrap)) } /** @@ -37802,7 +40493,7 @@ public open class CfnDashboard( public fun title(): String /** - * The type of `FilterListControl` . Choose one of the following options:. + * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. @@ -37890,7 +40581,7 @@ public open class CfnDashboard( public fun title(title: String) /** - * @param type The type of `FilterListControl` . Choose one of the following options:. + * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ @@ -37908,7 +40599,7 @@ public open class CfnDashboard( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -37917,7 +40608,7 @@ public open class CfnDashboard( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -37935,14 +40626,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -37965,14 +40656,14 @@ public open class CfnDashboard( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** @@ -37999,7 +40690,7 @@ public open class CfnDashboard( } /** - * @param type The type of `FilterListControl` . Choose one of the following options:. + * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ @@ -38060,7 +40751,7 @@ public open class CfnDashboard( override fun title(): String = unwrap(this).getTitle() /** - * The type of `FilterListControl` . Choose one of the following options:. + * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. @@ -38193,7 +40884,7 @@ public open class CfnDashboard( * @param selectedColumns The selected columns of a dataset. */ override fun selectedColumns(selectedColumns: IResolvable) { - cdkBuilder.selectedColumns(selectedColumns.let(IResolvable::unwrap)) + cdkBuilder.selectedColumns(selectedColumns.let(IResolvable.Companion::unwrap)) } /** @@ -38362,7 +41053,7 @@ public open class CfnDashboard( */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: IResolvable) { - cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -38371,7 +41062,7 @@ public open class CfnDashboard( */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty) { - cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty::unwrap)) + cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty.Companion::unwrap)) } /** @@ -38430,212 +41121,6 @@ public open class CfnDashboard( * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * FilterProperty filterProperty = FilterProperty.builder() - * .categoryFilter(CategoryFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .configuration(CategoryFilterConfigurationProperty.builder() - * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValue("categoryValue") - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .build()) - * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .selectAllOptions("selectAllOptions") - * .build()) - * .filterListConfiguration(FilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .nullOption("nullOption") - * .selectAllOptions("selectAllOptions") - * .build()) - * .build()) - * .filterId("filterId") - * .build()) - * .numericEqualityFilter(NumericEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .value(123) - * .build()) - * .numericRangeFilter(NumericRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .rangeMinimum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .selectAllOptions("selectAllOptions") - * .build()) - * .relativeDatesFilter(RelativeDatesFilterProperty.builder() - * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() - * .anchorOption("anchorOption") - * .parameterName("parameterName") - * .build()) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * .relativeDateType("relativeDateType") - * .timeGranularity("timeGranularity") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .minimumGranularity("minimumGranularity") - * .parameterName("parameterName") - * .relativeDateValue(123) - * .build()) - * .timeEqualityFilter(TimeEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .parameterName("parameterName") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .timeGranularity("timeGranularity") - * .value("value") - * .build()) - * .timeRangeFilter(TimeRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .timeGranularity("timeGranularity") - * .build()) - * .topBottomFilter(TopBottomFilterProperty.builder() - * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .sortDirection("sortDirection") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .build())) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .limit(123) - * .parameterName("parameterName") - * .timeGranularity("timeGranularity") - * .build()) - * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-filter.html) @@ -38866,7 +41351,7 @@ public open class CfnDashboard( * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** @@ -38876,7 +41361,7 @@ public open class CfnDashboard( * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: CategoryFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty.Companion::unwrap)) } /** @@ -38895,7 +41380,7 @@ public open class CfnDashboard( * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -38903,7 +41388,7 @@ public open class CfnDashboard( * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty.Companion::unwrap)) } /** @@ -38921,7 +41406,7 @@ public open class CfnDashboard( * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: IResolvable) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -38929,7 +41414,7 @@ public open class CfnDashboard( * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty.Companion::unwrap)) } /** @@ -38947,7 +41432,7 @@ public open class CfnDashboard( * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: IResolvable) { - cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable::unwrap)) + cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable.Companion::unwrap)) } /** @@ -38955,7 +41440,7 @@ public open class CfnDashboard( * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty) { - cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty::unwrap)) + cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty.Companion::unwrap)) } /** @@ -38973,7 +41458,7 @@ public open class CfnDashboard( * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: IResolvable) { - cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -38981,7 +41466,7 @@ public open class CfnDashboard( * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty) { - cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty::unwrap)) + cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty.Companion::unwrap)) } /** @@ -38999,7 +41484,7 @@ public open class CfnDashboard( * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -39007,7 +41492,7 @@ public open class CfnDashboard( * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty.Companion::unwrap)) } /** @@ -39024,7 +41509,7 @@ public open class CfnDashboard( * given column. */ override fun topBottomFilter(topBottomFilter: IResolvable) { - cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable::unwrap)) + cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable.Companion::unwrap)) } /** @@ -39032,7 +41517,7 @@ public open class CfnDashboard( * given column. */ override fun topBottomFilter(topBottomFilter: TopBottomFilterProperty) { - cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty::unwrap)) + cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty.Companion::unwrap)) } /** @@ -39247,14 +41732,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -39443,14 +41928,14 @@ public open class CfnDashboard( * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: IResolvable) { - cdkBuilder.selectedSheets(selectedSheets.let(IResolvable::unwrap)) + cdkBuilder.selectedSheets(selectedSheets.let(IResolvable.Companion::unwrap)) } /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty) { - cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty::unwrap)) + cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty.Companion::unwrap)) } /** @@ -39662,7 +42147,7 @@ public open class CfnDashboard( public fun filterControlId(): String /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -39671,7 +42156,7 @@ public open class CfnDashboard( public fun maximumValue(): Number /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -39703,7 +42188,7 @@ public open class CfnDashboard( public fun title(): String /** - * The type of `FilterSliderControl` . Choose one of the following options:. + * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. @@ -39741,12 +42226,12 @@ public open class CfnDashboard( public fun filterControlId(filterControlId: String) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) @@ -39766,7 +42251,7 @@ public open class CfnDashboard( public fun title(title: String) /** - * @param type The type of `FilterSliderControl` . Choose one of the following options:. + * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ @@ -39783,14 +42268,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -39810,14 +42295,14 @@ public open class CfnDashboard( } /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) @@ -39845,7 +42330,7 @@ public open class CfnDashboard( } /** - * @param type The type of `FilterSliderControl` . Choose one of the following options:. + * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ @@ -39876,7 +42361,7 @@ public open class CfnDashboard( override fun filterControlId(): String = unwrap(this).getFilterControlId() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -39885,7 +42370,7 @@ public open class CfnDashboard( override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -39917,7 +42402,7 @@ public open class CfnDashboard( override fun title(): String = unwrap(this).getTitle() /** - * The type of `FilterSliderControl` . Choose one of the following options:. + * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. @@ -40087,14 +42572,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -40311,14 +42796,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -40546,14 +43031,14 @@ public open class CfnDashboard( * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: IResolvable) { - cdkBuilder.fontSize(fontSize.let(IResolvable::unwrap)) + cdkBuilder.fontSize(fontSize.let(IResolvable.Companion::unwrap)) } /** * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: FontSizeProperty) { - cdkBuilder.fontSize(fontSize.let(FontSizeProperty::unwrap)) + cdkBuilder.fontSize(fontSize.let(FontSizeProperty.Companion::unwrap)) } /** @@ -40576,14 +43061,14 @@ public open class CfnDashboard( * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: IResolvable) { - cdkBuilder.fontWeight(fontWeight.let(IResolvable::unwrap)) + cdkBuilder.fontWeight(fontWeight.let(IResolvable.Companion::unwrap)) } /** * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: FontWeightProperty) { - cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty::unwrap)) + cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty.Companion::unwrap)) } /** @@ -41066,14 +43551,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -41095,14 +43580,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -41321,14 +43806,14 @@ public open class CfnDashboard( * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: IResolvable) { - cdkBuilder.forecastProperties(forecastProperties.let(IResolvable::unwrap)) + cdkBuilder.forecastProperties(forecastProperties.let(IResolvable.Companion::unwrap)) } /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty) { - cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty::unwrap)) + cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty.Companion::unwrap)) } /** @@ -41344,14 +43829,14 @@ public open class CfnDashboard( * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: IResolvable) { - cdkBuilder.scenario(scenario.let(IResolvable::unwrap)) + cdkBuilder.scenario(scenario.let(IResolvable.Companion::unwrap)) } /** * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: ForecastScenarioProperty) { - cdkBuilder.scenario(scenario.let(ForecastScenarioProperty::unwrap)) + cdkBuilder.scenario(scenario.let(ForecastScenarioProperty.Companion::unwrap)) } /** @@ -41493,14 +43978,14 @@ public open class CfnDashboard( * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: IResolvable) { - cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable::unwrap)) + cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty) { - cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty::unwrap)) + cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty.Companion::unwrap)) } /** @@ -41516,14 +44001,14 @@ public open class CfnDashboard( * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: IResolvable) { - cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable::unwrap)) + cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty) { - cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty::unwrap)) + cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty.Companion::unwrap)) } /** @@ -41894,7 +44379,7 @@ public open class CfnDashboard( * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: IResolvable) { - cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -41902,7 +44387,7 @@ public open class CfnDashboard( */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -41919,7 +44404,7 @@ public open class CfnDashboard( * @param numberFormatConfiguration Formatting configuration for number fields. */ override fun numberFormatConfiguration(numberFormatConfiguration: IResolvable) { - cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -41927,7 +44412,7 @@ public open class CfnDashboard( */ override fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -41944,7 +44429,7 @@ public open class CfnDashboard( * @param stringFormatConfiguration Formatting configuration for string fields. */ override fun stringFormatConfiguration(stringFormatConfiguration: IResolvable) { - cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -41952,7 +44437,7 @@ public open class CfnDashboard( */ override fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -42080,7 +44565,7 @@ public open class CfnDashboard( * a free-form layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -42089,7 +44574,7 @@ public open class CfnDashboard( */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -42253,14 +44738,14 @@ public open class CfnDashboard( * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -42276,7 +44761,7 @@ public open class CfnDashboard( * @param elements The elements that are included in a free-form layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -42829,14 +45314,14 @@ public open class CfnDashboard( * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: IResolvable) { - cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable::unwrap)) + cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable.Companion::unwrap)) } /** * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty) { - cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty::unwrap)) + cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty.Companion::unwrap)) } /** @@ -42852,14 +45337,14 @@ public open class CfnDashboard( * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: IResolvable) { - cdkBuilder.borderStyle(borderStyle.let(IResolvable::unwrap)) + cdkBuilder.borderStyle(borderStyle.let(IResolvable.Companion::unwrap)) } /** * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty) { - cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty::unwrap)) + cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** @@ -42896,14 +45381,14 @@ public open class CfnDashboard( * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: IResolvable) { - cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable::unwrap)) + cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable.Companion::unwrap)) } /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: LoadingAnimationProperty) { - cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty::unwrap)) + cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty.Companion::unwrap)) } /** @@ -42919,7 +45404,7 @@ public open class CfnDashboard( * displayed within a free-form layout. */ override fun renderingRules(renderingRules: IResolvable) { - cdkBuilder.renderingRules(renderingRules.let(IResolvable::unwrap)) + cdkBuilder.renderingRules(renderingRules.let(IResolvable.Companion::unwrap)) } /** @@ -42942,7 +45427,7 @@ public open class CfnDashboard( * This border style is used when the element is selected. */ override fun selectedBorderStyle(selectedBorderStyle: IResolvable) { - cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable::unwrap)) + cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable.Companion::unwrap)) } /** @@ -42951,7 +45436,7 @@ public open class CfnDashboard( */ override fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty) { - cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty::unwrap)) + cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** @@ -43278,7 +45763,7 @@ public open class CfnDashboard( * @param elements The elements that are included in the free-form layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -43900,7 +46385,7 @@ public open class CfnDashboard( * Values are grouped by category fields. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -43922,7 +46407,7 @@ public open class CfnDashboard( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -44191,7 +46676,7 @@ public open class CfnDashboard( * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -44199,7 +46684,7 @@ public open class CfnDashboard( * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -44216,14 +46701,14 @@ public open class CfnDashboard( * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: IResolvable) { - cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty) { - cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty.Companion::unwrap)) } /** @@ -44239,14 +46724,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: FunnelChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty.Companion::unwrap)) } /** @@ -44261,14 +46746,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -44284,14 +46769,14 @@ public open class CfnDashboard( * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -44307,7 +46792,7 @@ public open class CfnDashboard( * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -44315,7 +46800,7 @@ public open class CfnDashboard( * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -44332,14 +46817,14 @@ public open class CfnDashboard( * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -44596,7 +47081,7 @@ public open class CfnDashboard( * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -44604,7 +47089,7 @@ public open class CfnDashboard( * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -45278,7 +47763,7 @@ public open class CfnDashboard( * `FunnelChartVisual` . */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: IResolvable) { - cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -45287,7 +47772,7 @@ public open class CfnDashboard( */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty) { - cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -45448,14 +47933,14 @@ public open class CfnDashboard( * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -45471,7 +47956,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -45697,7 +48182,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -45716,14 +48201,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty.Companion::unwrap)) } /** @@ -45740,7 +48225,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -45762,14 +48247,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -45784,14 +48269,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -45959,14 +48444,14 @@ public open class CfnDashboard( * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { - cdkBuilder.foregroundColor(foregroundColor.let(IResolvable::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -46157,14 +48642,14 @@ public open class CfnDashboard( * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { - cdkBuilder.arc(arc.let(IResolvable::unwrap)) + cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: GaugeChartArcConditionalFormattingProperty) { - cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty::unwrap)) + cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty.Companion::unwrap)) } /** @@ -46180,7 +48665,7 @@ public open class CfnDashboard( * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: IResolvable) { - cdkBuilder.primaryValue(primaryValue.let(IResolvable::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** @@ -46188,7 +48673,7 @@ public open class CfnDashboard( * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty) { - cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -46363,7 +48848,7 @@ public open class CfnDashboard( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -46567,14 +49052,14 @@ public open class CfnDashboard( * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -46589,14 +49074,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: GaugeChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty.Companion::unwrap)) } /** @@ -46612,7 +49097,7 @@ public open class CfnDashboard( * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: IResolvable) { - cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable::unwrap)) + cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable.Companion::unwrap)) } /** @@ -46620,7 +49105,7 @@ public open class CfnDashboard( * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty) { - cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty::unwrap)) + cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty.Companion::unwrap)) } /** @@ -46637,14 +49122,14 @@ public open class CfnDashboard( * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: IResolvable) { - cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable::unwrap)) + cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable.Companion::unwrap)) } /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: TooltipOptionsProperty) { - cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -46659,14 +49144,14 @@ public open class CfnDashboard( * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -46810,7 +49295,7 @@ public open class CfnDashboard( * @param targetValues The target value field wells of a `GaugeChartVisual` . */ override fun targetValues(targetValues: IResolvable) { - cdkBuilder.targetValues(targetValues.let(IResolvable::unwrap)) + cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** @@ -46830,7 +49315,7 @@ public open class CfnDashboard( * @param values The value field wells of a `GaugeChartVisual` . */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -47101,14 +49586,14 @@ public open class CfnDashboard( * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { - cdkBuilder.arc(arc.let(IResolvable::unwrap)) + cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: ArcConfigurationProperty) { - cdkBuilder.arc(arc.let(ArcConfigurationProperty::unwrap)) + cdkBuilder.arc(arc.let(ArcConfigurationProperty.Companion::unwrap)) } /** @@ -47123,14 +49608,14 @@ public open class CfnDashboard( * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: IResolvable) { - cdkBuilder.arcAxis(arcAxis.let(IResolvable::unwrap)) + cdkBuilder.arcAxis(arcAxis.let(IResolvable.Companion::unwrap)) } /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: ArcAxisConfigurationProperty) { - cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty::unwrap)) + cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty.Companion::unwrap)) } /** @@ -47145,14 +49630,14 @@ public open class CfnDashboard( * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: IResolvable) { - cdkBuilder.comparison(comparison.let(IResolvable::unwrap)) + cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: ComparisonConfigurationProperty) { - cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty::unwrap)) + cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** @@ -47175,7 +49660,7 @@ public open class CfnDashboard( * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -47184,7 +49669,7 @@ public open class CfnDashboard( */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -47380,14 +49865,14 @@ public open class CfnDashboard( * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -47402,14 +49887,14 @@ public open class CfnDashboard( * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -47630,7 +50115,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -47649,14 +50134,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty.Companion::unwrap)) } /** @@ -47672,7 +50157,7 @@ public open class CfnDashboard( * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -47680,7 +50165,7 @@ public open class CfnDashboard( */ override fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty.Companion::unwrap)) } /** @@ -47697,14 +50182,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -47719,14 +50204,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -48041,7 +50526,7 @@ public open class CfnDashboard( * @param colors The list of colors to be used in heatmap point style. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -48153,14 +50638,14 @@ public open class CfnDashboard( * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: IResolvable) { - cdkBuilder.heatmapColor(heatmapColor.let(IResolvable::unwrap)) + cdkBuilder.heatmapColor(heatmapColor.let(IResolvable.Companion::unwrap)) } /** * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty) { - cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty::unwrap)) + cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty.Companion::unwrap)) } /** @@ -48394,7 +50879,7 @@ public open class CfnDashboard( * @param colors The color field wells of a geospatial map. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -48414,7 +50899,7 @@ public open class CfnDashboard( * Values are grouped by geospatial fields. */ override fun geospatial(geospatial: IResolvable) { - cdkBuilder.geospatial(geospatial.let(IResolvable::unwrap)) + cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** @@ -48436,7 +50921,7 @@ public open class CfnDashboard( * Values are aggregated based on geospatial fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -48701,14 +51186,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty.Companion::unwrap)) } /** @@ -48723,14 +51208,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -48745,14 +51230,14 @@ public open class CfnDashboard( * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** @@ -48768,14 +51253,14 @@ public open class CfnDashboard( * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: IResolvable) { - cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty) { - cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty::unwrap)) + cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty.Companion::unwrap)) } /** @@ -48791,14 +51276,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -48813,14 +51298,14 @@ public open class CfnDashboard( * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -48835,14 +51320,14 @@ public open class CfnDashboard( * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: IResolvable) { - cdkBuilder.windowOptions(windowOptions.let(IResolvable::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { - cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** @@ -48986,7 +51471,7 @@ public open class CfnDashboard( */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: IResolvable) { - cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -48994,7 +51479,7 @@ public open class CfnDashboard( */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty) { - cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -49294,7 +51779,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -49313,14 +51798,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty.Companion::unwrap)) } /** @@ -49337,7 +51822,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -49359,14 +51844,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -49381,14 +51866,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -49595,7 +52080,7 @@ public open class CfnDashboard( * style. */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: IResolvable) { - cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -49604,7 +52089,7 @@ public open class CfnDashboard( */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty) { - cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty::unwrap)) + cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty.Companion::unwrap)) } /** @@ -49622,7 +52107,7 @@ public open class CfnDashboard( * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ override fun heatmapConfiguration(heatmapConfiguration: IResolvable) { - cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -49630,7 +52115,7 @@ public open class CfnDashboard( */ override fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty) { - cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty::unwrap)) + cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty.Companion::unwrap)) } /** @@ -49778,7 +52263,7 @@ public open class CfnDashboard( * options. */ override fun bounds(bounds: IResolvable) { - cdkBuilder.bounds(bounds.let(IResolvable::unwrap)) + cdkBuilder.bounds(bounds.let(IResolvable.Companion::unwrap)) } /** @@ -49786,7 +52271,7 @@ public open class CfnDashboard( * options. */ override fun bounds(bounds: GeospatialCoordinateBoundsProperty) { - cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty::unwrap)) + cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty.Companion::unwrap)) } /** @@ -49965,14 +52450,14 @@ public open class CfnDashboard( * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: IResolvable) { - cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable::unwrap)) + cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable.Companion::unwrap)) } /** * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty) { - cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty::unwrap)) + cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty.Companion::unwrap)) } /** @@ -49988,14 +52473,14 @@ public open class CfnDashboard( * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: IResolvable) { - cdkBuilder.uniformBorder(uniformBorder.let(IResolvable::unwrap)) + cdkBuilder.uniformBorder(uniformBorder.let(IResolvable.Companion::unwrap)) } /** * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: TableBorderOptionsProperty) { - cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -50106,7 +52591,7 @@ public open class CfnDashboard( * @param stops The list of gradient color stops. */ override fun stops(stops: IResolvable) { - cdkBuilder.stops(stops.let(IResolvable::unwrap)) + cdkBuilder.stops(stops.let(IResolvable.Companion::unwrap)) } /** @@ -50363,7 +52848,7 @@ public open class CfnDashboard( * a grid layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -50372,7 +52857,7 @@ public open class CfnDashboard( */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -50519,14 +53004,14 @@ public open class CfnDashboard( * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -50542,7 +53027,7 @@ public open class CfnDashboard( * @param elements The elements that are included in a grid layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -51576,14 +54061,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -51598,14 +54083,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -51819,14 +54304,14 @@ public open class CfnDashboard( * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: IResolvable) { - cdkBuilder.layout(layout.let(IResolvable::unwrap)) + cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { - cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -51848,14 +54333,14 @@ public open class CfnDashboard( * @param style The style options of a header or footer section. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a header or footer section. */ override fun style(style: SectionStyleProperty) { - cdkBuilder.style(style.let(SectionStyleProperty::unwrap)) + cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** @@ -52008,7 +54493,7 @@ public open class CfnDashboard( * @param columns The columns field well of a heat map. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -52027,7 +54512,7 @@ public open class CfnDashboard( * @param rows The rows field well of a heat map. */ override fun rows(rows: IResolvable) { - cdkBuilder.rows(rows.let(IResolvable::unwrap)) + cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** @@ -52046,7 +54531,7 @@ public open class CfnDashboard( * @param values The values field well of a heat map. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -52331,14 +54816,14 @@ public open class CfnDashboard( * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: IResolvable) { - cdkBuilder.colorScale(colorScale.let(IResolvable::unwrap)) + cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: ColorScaleProperty) { - cdkBuilder.colorScale(colorScale.let(ColorScaleProperty::unwrap)) + cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** @@ -52353,14 +54838,14 @@ public open class CfnDashboard( * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: IResolvable) { - cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -52376,14 +54861,14 @@ public open class CfnDashboard( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -52398,14 +54883,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: HeatMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty.Companion::unwrap)) } /** @@ -52420,14 +54905,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -52442,14 +54927,14 @@ public open class CfnDashboard( * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: IResolvable) { - cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -52465,14 +54950,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -52488,14 +54973,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -52645,7 +55130,7 @@ public open class CfnDashboard( * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: IResolvable) { - cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -52653,7 +55138,7 @@ public open class CfnDashboard( */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty) { - cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -52908,7 +55393,7 @@ public open class CfnDashboard( */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: IResolvable) { - cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -52917,7 +55402,7 @@ public open class CfnDashboard( */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -52936,7 +55421,7 @@ public open class CfnDashboard( * a part of a field well. */ override fun heatMapColumnSort(heatMapColumnSort: IResolvable) { - cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable::unwrap)) + cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable.Companion::unwrap)) } /** @@ -52960,7 +55445,7 @@ public open class CfnDashboard( */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: IResolvable) { - cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -52969,7 +55454,7 @@ public open class CfnDashboard( */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -52987,7 +55472,7 @@ public open class CfnDashboard( * @param heatMapRowSort The field sort configuration of the rows fields. */ override fun heatMapRowSort(heatMapRowSort: IResolvable) { - cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable::unwrap)) + cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable.Companion::unwrap)) } /** @@ -53227,7 +55712,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -53246,14 +55731,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty.Companion::unwrap)) } /** @@ -53270,7 +55755,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -53292,14 +55777,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -53314,14 +55799,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -53720,7 +56205,7 @@ public open class CfnDashboard( * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -53887,14 +56372,14 @@ public open class CfnDashboard( * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: IResolvable) { - cdkBuilder.binCount(binCount.let(IResolvable::unwrap)) + cdkBuilder.binCount(binCount.let(IResolvable.Companion::unwrap)) } /** * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: BinCountOptionsProperty) { - cdkBuilder.binCount(binCount.let(BinCountOptionsProperty::unwrap)) + cdkBuilder.binCount(binCount.let(BinCountOptionsProperty.Companion::unwrap)) } /** @@ -53909,14 +56394,14 @@ public open class CfnDashboard( * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: IResolvable) { - cdkBuilder.binWidth(binWidth.let(IResolvable::unwrap)) + cdkBuilder.binWidth(binWidth.let(IResolvable.Companion::unwrap)) } /** * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: BinWidthOptionsProperty) { - cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty::unwrap)) + cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty.Companion::unwrap)) } /** @@ -54218,14 +56703,14 @@ public open class CfnDashboard( * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: IResolvable) { - cdkBuilder.binOptions(binOptions.let(IResolvable::unwrap)) + cdkBuilder.binOptions(binOptions.let(IResolvable.Companion::unwrap)) } /** * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: HistogramBinOptionsProperty) { - cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty::unwrap)) + cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty.Companion::unwrap)) } /** @@ -54240,14 +56725,14 @@ public open class CfnDashboard( * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -54262,14 +56747,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: HistogramFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty.Companion::unwrap)) } /** @@ -54284,14 +56769,14 @@ public open class CfnDashboard( * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -54306,14 +56791,14 @@ public open class CfnDashboard( * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -54328,14 +56813,14 @@ public open class CfnDashboard( * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -54351,14 +56836,14 @@ public open class CfnDashboard( * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -54374,14 +56859,14 @@ public open class CfnDashboard( * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -54783,7 +57268,7 @@ public open class CfnDashboard( * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: IResolvable) { - cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -54791,7 +57276,7 @@ public open class CfnDashboard( */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty) { - cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -54981,7 +57466,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -55000,14 +57485,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty.Companion::unwrap)) } /** @@ -55023,14 +57508,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -55045,14 +57530,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -55210,7 +57695,7 @@ public open class CfnDashboard( * @param computations The computations configurations of the insight visual. */ override fun computations(computations: IResolvable) { - cdkBuilder.computations(computations.let(IResolvable::unwrap)) + cdkBuilder.computations(computations.let(IResolvable.Companion::unwrap)) } /** @@ -55230,14 +57715,14 @@ public open class CfnDashboard( * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: IResolvable) { - cdkBuilder.customNarrative(customNarrative.let(IResolvable::unwrap)) + cdkBuilder.customNarrative(customNarrative.let(IResolvable.Companion::unwrap)) } /** * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: CustomNarrativeOptionsProperty) { - cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty::unwrap)) + cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty.Companion::unwrap)) } /** @@ -55444,7 +57929,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -55470,14 +57955,14 @@ public open class CfnDashboard( * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: IResolvable) { - cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable::unwrap)) + cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: InsightConfigurationProperty) { - cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty::unwrap)) + cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty.Companion::unwrap)) } /** @@ -55493,14 +57978,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -55515,14 +58000,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -55715,7 +58200,7 @@ public open class CfnDashboard( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -55723,7 +58208,7 @@ public open class CfnDashboard( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -55739,7 +58224,7 @@ public open class CfnDashboard( * @param staticValues The static values of the `IntegerDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -55964,7 +58449,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -55973,7 +58458,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: IntegerDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty.Companion::unwrap)) } /** @@ -55990,7 +58475,7 @@ public open class CfnDashboard( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -56025,14 +58510,14 @@ public open class CfnDashboard( * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -56182,7 +58667,7 @@ public open class CfnDashboard( * @param values The values for the integer parameter. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -56610,14 +59095,14 @@ public open class CfnDashboard( * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -56632,14 +59117,14 @@ public open class CfnDashboard( * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -56810,14 +59295,14 @@ public open class CfnDashboard( * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -56832,14 +59317,14 @@ public open class CfnDashboard( * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -57162,14 +59647,14 @@ public open class CfnDashboard( * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: IResolvable) { - cdkBuilder.actualValue(actualValue.let(IResolvable::unwrap)) + cdkBuilder.actualValue(actualValue.let(IResolvable.Companion::unwrap)) } /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty) { - cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty::unwrap)) + cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -57185,7 +59670,7 @@ public open class CfnDashboard( * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ override fun comparisonValue(comparisonValue: IResolvable) { - cdkBuilder.comparisonValue(comparisonValue.let(IResolvable::unwrap)) + cdkBuilder.comparisonValue(comparisonValue.let(IResolvable.Companion::unwrap)) } /** @@ -57193,7 +59678,7 @@ public open class CfnDashboard( */ override fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty) { - cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty::unwrap)) + cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -57209,14 +59694,14 @@ public open class CfnDashboard( * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: IResolvable) { - cdkBuilder.primaryValue(primaryValue.let(IResolvable::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty) { - cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -57232,14 +59717,14 @@ public open class CfnDashboard( * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: IResolvable) { - cdkBuilder.progressBar(progressBar.let(IResolvable::unwrap)) + cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty) { - cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty::unwrap)) + cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty.Companion::unwrap)) } /** @@ -57501,7 +59986,7 @@ public open class CfnDashboard( * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -57651,14 +60136,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: KPIFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty.Companion::unwrap)) } /** @@ -57673,14 +60158,14 @@ public open class CfnDashboard( * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: IResolvable) { - cdkBuilder.kpiOptions(kpiOptions.let(IResolvable::unwrap)) + cdkBuilder.kpiOptions(kpiOptions.let(IResolvable.Companion::unwrap)) } /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: KPIOptionsProperty) { - cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty::unwrap)) + cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty.Companion::unwrap)) } /** @@ -57695,14 +60180,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty.Companion::unwrap)) } /** @@ -57854,7 +60339,7 @@ public open class CfnDashboard( * @param targetValues The target value field wells of a KPI visual. */ override fun targetValues(targetValues: IResolvable) { - cdkBuilder.targetValues(targetValues.let(IResolvable::unwrap)) + cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** @@ -57874,7 +60359,7 @@ public open class CfnDashboard( * @param trendGroups The trend group field wells of a KPI visual. */ override fun trendGroups(trendGroups: IResolvable) { - cdkBuilder.trendGroups(trendGroups.let(IResolvable::unwrap)) + cdkBuilder.trendGroups(trendGroups.let(IResolvable.Companion::unwrap)) } /** @@ -57893,7 +60378,7 @@ public open class CfnDashboard( * @param values The value field wells of a KPI visual. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -58307,14 +60792,14 @@ public open class CfnDashboard( * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: IResolvable) { - cdkBuilder.comparison(comparison.let(IResolvable::unwrap)) + cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: ComparisonConfigurationProperty) { - cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty::unwrap)) + cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** @@ -58337,7 +60822,7 @@ public open class CfnDashboard( * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -58346,7 +60831,7 @@ public open class CfnDashboard( */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -58365,7 +60850,7 @@ public open class CfnDashboard( * visual. */ override fun progressBar(progressBar: IResolvable) { - cdkBuilder.progressBar(progressBar.let(IResolvable::unwrap)) + cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** @@ -58373,7 +60858,7 @@ public open class CfnDashboard( * visual. */ override fun progressBar(progressBar: ProgressBarOptionsProperty) { - cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty::unwrap)) + cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty.Companion::unwrap)) } /** @@ -58390,7 +60875,7 @@ public open class CfnDashboard( * a KPI visual. */ override fun secondaryValue(secondaryValue: IResolvable) { - cdkBuilder.secondaryValue(secondaryValue.let(IResolvable::unwrap)) + cdkBuilder.secondaryValue(secondaryValue.let(IResolvable.Companion::unwrap)) } /** @@ -58398,7 +60883,7 @@ public open class CfnDashboard( * a KPI visual. */ override fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty) { - cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty::unwrap)) + cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty.Companion::unwrap)) } /** @@ -58415,7 +60900,7 @@ public open class CfnDashboard( * configuration. */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: IResolvable) { - cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -58424,7 +60909,7 @@ public open class CfnDashboard( */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -58443,7 +60928,7 @@ public open class CfnDashboard( * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: IResolvable) { - cdkBuilder.sparkline(sparkline.let(IResolvable::unwrap)) + cdkBuilder.sparkline(sparkline.let(IResolvable.Companion::unwrap)) } /** @@ -58451,7 +60936,7 @@ public open class CfnDashboard( * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: KPISparklineOptionsProperty) { - cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty::unwrap)) + cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty.Companion::unwrap)) } /** @@ -58468,7 +60953,7 @@ public open class CfnDashboard( * visual. */ override fun trendArrows(trendArrows: IResolvable) { - cdkBuilder.trendArrows(trendArrows.let(IResolvable::unwrap)) + cdkBuilder.trendArrows(trendArrows.let(IResolvable.Companion::unwrap)) } /** @@ -58476,7 +60961,7 @@ public open class CfnDashboard( * visual. */ override fun trendArrows(trendArrows: TrendArrowOptionsProperty) { - cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty::unwrap)) + cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty.Companion::unwrap)) } /** @@ -58492,14 +60977,14 @@ public open class CfnDashboard( * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: IResolvable) { - cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable::unwrap)) + cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable.Companion::unwrap)) } /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty) { - cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty::unwrap)) + cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty.Companion::unwrap)) } /** @@ -58721,14 +61206,14 @@ public open class CfnDashboard( * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -58743,14 +61228,14 @@ public open class CfnDashboard( * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -58879,14 +61364,14 @@ public open class CfnDashboard( * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { - cdkBuilder.foregroundColor(foregroundColor.let(IResolvable::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -59016,7 +61501,7 @@ public open class CfnDashboard( * @param trendGroupSort The sort configuration of the trend group fields. */ override fun trendGroupSort(trendGroupSort: IResolvable) { - cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable::unwrap)) + cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable.Companion::unwrap)) } /** @@ -59291,14 +61776,14 @@ public open class CfnDashboard( * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: IResolvable) { - cdkBuilder.standardLayout(standardLayout.let(IResolvable::unwrap)) + cdkBuilder.standardLayout(standardLayout.let(IResolvable.Companion::unwrap)) } /** * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty) { - cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty::unwrap)) + cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty.Companion::unwrap)) } /** @@ -59535,7 +62020,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -59554,14 +62039,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: KPIConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty.Companion::unwrap)) } /** @@ -59578,7 +62063,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -59600,14 +62085,14 @@ public open class CfnDashboard( * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty.Companion::unwrap)) } /** @@ -59623,14 +62108,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -59645,14 +62130,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -59932,14 +62417,14 @@ public open class CfnDashboard( * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -60364,7 +62849,7 @@ public open class CfnDashboard( * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: IResolvable) { - cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** @@ -60372,7 +62857,7 @@ public open class CfnDashboard( * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty) { - cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -60393,7 +62878,7 @@ public open class CfnDashboard( * `RESPONSIVE` . */ override fun gridLayout(gridLayout: IResolvable) { - cdkBuilder.gridLayout(gridLayout.let(IResolvable::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** @@ -60404,7 +62889,7 @@ public open class CfnDashboard( * `RESPONSIVE` . */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { - cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -60424,7 +62909,7 @@ public open class CfnDashboard( * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: IResolvable) { - cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable::unwrap)) + cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable.Companion::unwrap)) } /** @@ -60432,7 +62917,7 @@ public open class CfnDashboard( * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty) { - cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty::unwrap)) + cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -60791,7 +63276,7 @@ public open class CfnDashboard( * */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -60799,7 +63284,7 @@ public open class CfnDashboard( * */ override fun configuration(configuration: LayoutConfigurationProperty) { - cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty.Companion::unwrap)) } /** @@ -61000,14 +63485,14 @@ public open class CfnDashboard( * @param title The custom title for the legend. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The custom title for the legend. */ override fun title(title: LabelOptionsProperty) { - cdkBuilder.title(title.let(LabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -61235,7 +63720,7 @@ public open class CfnDashboard( * Values are grouped by category fields. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -61257,7 +63742,7 @@ public open class CfnDashboard( * Values are grouped by category fields. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -61278,7 +63763,7 @@ public open class CfnDashboard( * @param smallMultiples The small multiples field well of a line chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -61299,7 +63784,7 @@ public open class CfnDashboard( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -61867,7 +64352,7 @@ public open class CfnDashboard( * contribution analysis. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -61889,14 +64374,14 @@ public open class CfnDashboard( * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -61912,7 +64397,7 @@ public open class CfnDashboard( * line series in `LineChartVisual` . */ override fun defaultSeriesSettings(defaultSeriesSettings: IResolvable) { - cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable.Companion::unwrap)) } /** @@ -61921,7 +64406,7 @@ public open class CfnDashboard( */ override fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty) { - cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty::unwrap)) + cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty.Companion::unwrap)) } /** @@ -61939,14 +64424,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: LineChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty.Companion::unwrap)) } /** @@ -61961,7 +64446,7 @@ public open class CfnDashboard( * @param forecastConfigurations The forecast configuration of a line chart. */ override fun forecastConfigurations(forecastConfigurations: IResolvable) { - cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable::unwrap)) + cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -61981,14 +64466,14 @@ public open class CfnDashboard( * @param legend The legend configuration of a line chart. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a line chart. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -62003,7 +64488,7 @@ public open class CfnDashboard( * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -62011,7 +64496,7 @@ public open class CfnDashboard( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -62029,7 +64514,7 @@ public open class CfnDashboard( * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -62038,7 +64523,7 @@ public open class CfnDashboard( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -62055,7 +64540,7 @@ public open class CfnDashboard( * @param referenceLines The reference lines configuration of a line chart. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -62075,7 +64560,7 @@ public open class CfnDashboard( * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -62083,7 +64568,7 @@ public open class CfnDashboard( */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -62101,7 +64586,7 @@ public open class CfnDashboard( * secondary y-axis label. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -62110,7 +64595,7 @@ public open class CfnDashboard( */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -62128,7 +64613,7 @@ public open class CfnDashboard( * @param series The series item configuration of a line chart. */ override fun series(series: IResolvable) { - cdkBuilder.series(series.let(IResolvable::unwrap)) + cdkBuilder.series(series.let(IResolvable.Companion::unwrap)) } /** @@ -62147,14 +64632,14 @@ public open class CfnDashboard( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -62170,14 +64655,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -62193,14 +64678,14 @@ public open class CfnDashboard( * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -62222,14 +64707,14 @@ public open class CfnDashboard( * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -62244,14 +64729,14 @@ public open class CfnDashboard( * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -62267,14 +64752,14 @@ public open class CfnDashboard( * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -62564,14 +65049,14 @@ public open class CfnDashboard( * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** @@ -62587,14 +65072,14 @@ public open class CfnDashboard( * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** @@ -62709,7 +65194,7 @@ public open class CfnDashboard( * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: IResolvable) { - cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -62717,7 +65202,7 @@ public open class CfnDashboard( */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty) { - cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -63244,14 +65729,14 @@ public open class CfnDashboard( * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** @@ -63267,14 +65752,14 @@ public open class CfnDashboard( * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** @@ -63562,7 +66047,7 @@ public open class CfnDashboard( * displayed in a line chart. */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: IResolvable) { - cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -63571,7 +66056,7 @@ public open class CfnDashboard( */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -63589,7 +66074,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -63610,7 +66095,7 @@ public open class CfnDashboard( * a line chart. */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: IResolvable) { - cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -63619,7 +66104,7 @@ public open class CfnDashboard( */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -63638,7 +66123,7 @@ public open class CfnDashboard( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -63647,7 +66132,7 @@ public open class CfnDashboard( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -63665,7 +66150,7 @@ public open class CfnDashboard( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -63914,7 +66399,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -63933,14 +66418,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty.Companion::unwrap)) } /** @@ -63957,7 +66442,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -63979,14 +66464,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -64001,14 +66486,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -64242,14 +66727,14 @@ public open class CfnDashboard( * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: IResolvable) { - cdkBuilder.axisOptions(axisOptions.let(IResolvable::unwrap)) + cdkBuilder.axisOptions(axisOptions.let(IResolvable.Companion::unwrap)) } /** * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: AxisDisplayOptionsProperty) { - cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -64265,7 +66750,7 @@ public open class CfnDashboard( * is treated during the rendering of a line chart. */ override fun missingDataConfigurations(missingDataConfigurations: IResolvable) { - cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable::unwrap)) + cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -64387,7 +66872,7 @@ public open class CfnDashboard( * @param permissions A structure that contains the permissions of a shareable link. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -64593,7 +67078,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -64601,7 +67086,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -64618,14 +67103,14 @@ public open class CfnDashboard( * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: IResolvable) { - cdkBuilder.searchOptions(searchOptions.let(IResolvable::unwrap)) + cdkBuilder.searchOptions(searchOptions.let(IResolvable.Companion::unwrap)) } /** * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: ListControlSearchOptionsProperty) { - cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty::unwrap)) + cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty.Companion::unwrap)) } /** @@ -64641,14 +67126,14 @@ public open class CfnDashboard( * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { - cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { - cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** @@ -64664,14 +67149,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -66006,14 +68491,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -66037,14 +68522,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -66495,14 +68980,14 @@ public open class CfnDashboard( * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: IResolvable) { - cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable::unwrap)) + cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty) { - cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty::unwrap)) + cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty.Companion::unwrap)) } /** @@ -66518,7 +69003,7 @@ public open class CfnDashboard( * @param categoricalMeasureField The measure type field with categorical type columns. */ override fun categoricalMeasureField(categoricalMeasureField: IResolvable) { - cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable::unwrap)) + cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable.Companion::unwrap)) } /** @@ -66526,7 +69011,7 @@ public open class CfnDashboard( */ override fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty) { - cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty::unwrap)) + cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty.Companion::unwrap)) } /** @@ -66542,14 +69027,14 @@ public open class CfnDashboard( * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: IResolvable) { - cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable::unwrap)) + cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty) { - cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty::unwrap)) + cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty.Companion::unwrap)) } /** @@ -66564,14 +69049,14 @@ public open class CfnDashboard( * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: IResolvable) { - cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable::unwrap)) + cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty) { - cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty::unwrap)) + cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty.Companion::unwrap)) } /** @@ -66768,14 +69253,14 @@ public open class CfnDashboard( * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: IResolvable) { - cdkBuilder.fromValue(fromValue.let(IResolvable::unwrap)) + cdkBuilder.fromValue(fromValue.let(IResolvable.Companion::unwrap)) } /** * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: MeasureFieldProperty) { - cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty::unwrap)) + cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -66797,14 +69282,14 @@ public open class CfnDashboard( * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: IResolvable) { - cdkBuilder.targetValue(targetValue.let(IResolvable::unwrap)) + cdkBuilder.targetValue(targetValue.let(IResolvable.Companion::unwrap)) } /** * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: MeasureFieldProperty) { - cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty::unwrap)) + cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -66819,14 +69304,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -67456,7 +69941,7 @@ public open class CfnDashboard( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -67465,7 +69950,7 @@ public open class CfnDashboard( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -67484,7 +69969,7 @@ public open class CfnDashboard( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -67493,7 +69978,7 @@ public open class CfnDashboard( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -67512,7 +69997,7 @@ public open class CfnDashboard( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -67521,7 +70006,7 @@ public open class CfnDashboard( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -67554,7 +70039,7 @@ public open class CfnDashboard( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -67563,7 +70048,7 @@ public open class CfnDashboard( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -67785,14 +70270,14 @@ public open class CfnDashboard( * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -67936,14 +70421,14 @@ public open class CfnDashboard( * @param range The range setup of a numeric axis. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The range setup of a numeric axis. */ override fun range(range: AxisDisplayRangeProperty) { - cdkBuilder.range(range.let(AxisDisplayRangeProperty::unwrap)) + cdkBuilder.range(range.let(AxisDisplayRangeProperty.Companion::unwrap)) } /** @@ -67958,14 +70443,14 @@ public open class CfnDashboard( * @param scale The scale setup of a numeric axis. */ override fun scale(scale: IResolvable) { - cdkBuilder.scale(scale.let(IResolvable::unwrap)) + cdkBuilder.scale(scale.let(IResolvable.Companion::unwrap)) } /** * @param scale The scale setup of a numeric axis. */ override fun scale(scale: AxisScaleProperty) { - cdkBuilder.scale(scale.let(AxisScaleProperty::unwrap)) + cdkBuilder.scale(scale.let(AxisScaleProperty.Companion::unwrap)) } /** @@ -68018,7 +70503,7 @@ public open class CfnDashboard( } /** - * The category drill down filter. + * The numeric equality type drill down filter. * * Example: * @@ -68093,14 +70578,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -68195,6 +70680,204 @@ public open class CfnDashboard( * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .value(123) @@ -68218,6 +70901,16 @@ public open class CfnDashboard( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -68306,6 +70999,31 @@ public open class CfnDashboard( @JvmName("101d7a677a6b818000bafea8d0fed60aa9041b5f8e413d4cc53724eefd275e00") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cc6b4dd811921c5c8b1bb1207c862cfb856dcbc35c467fe5ff6ebe174b0d0d15") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -68355,14 +71073,14 @@ public open class CfnDashboard( * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -68378,14 +71096,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -68396,6 +71114,38 @@ public open class CfnDashboard( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("cc6b4dd811921c5c8b1bb1207c862cfb856dcbc35c467fe5ff6ebe174b0d0d15") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -68468,6 +71218,16 @@ public open class CfnDashboard( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericequalityfilter.html#cfn-quicksight-dashboard-numericequalityfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -68727,7 +71487,7 @@ public open class CfnDashboard( */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: IResolvable) { - cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -68736,7 +71496,7 @@ public open class CfnDashboard( */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty) { - cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -68755,7 +71515,7 @@ public open class CfnDashboard( * format configuration. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -68764,7 +71524,7 @@ public open class CfnDashboard( */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -68784,7 +71544,7 @@ public open class CfnDashboard( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -68793,7 +71553,7 @@ public open class CfnDashboard( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -68890,6 +71650,204 @@ public open class CfnDashboard( * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .includeMaximum(false) * .includeMinimum(false) * .rangeMaximum(NumericRangeFilterValueProperty.builder() @@ -68921,6 +71879,16 @@ public open class CfnDashboard( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -69018,6 +71986,31 @@ public open class CfnDashboard( @JvmName("f4599398e81418585d5f5f7ed90a9c466f065330161787d9fdf10b38a7023a3c") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("dc1bf9efe4eacab9b14501b39d945d30e42ea248498bf998ae6f4269cc26bbb1") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -69109,14 +72102,14 @@ public open class CfnDashboard( * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -69132,14 +72125,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -69150,6 +72143,38 @@ public open class CfnDashboard( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("dc1bf9efe4eacab9b14501b39d945d30e42ea248498bf998ae6f4269cc26bbb1") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -69171,7 +72196,7 @@ public open class CfnDashboard( * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { - cdkBuilder.includeMaximum(includeMaximum.let(IResolvable::unwrap)) + cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** @@ -69187,7 +72212,7 @@ public open class CfnDashboard( * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { - cdkBuilder.includeMinimum(includeMinimum.let(IResolvable::unwrap)) + cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** @@ -69205,14 +72230,14 @@ public open class CfnDashboard( * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: IResolvable) { - cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable::unwrap)) + cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty) { - cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** @@ -69227,14 +72252,14 @@ public open class CfnDashboard( * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: IResolvable) { - cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable::unwrap)) + cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty) { - cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** @@ -69276,6 +72301,16 @@ public open class CfnDashboard( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-numericrangefilter.html#cfn-quicksight-dashboard-numericrangefilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -69544,14 +72579,14 @@ public open class CfnDashboard( * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: IResolvable) { - cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable::unwrap)) + cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable.Companion::unwrap)) } /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty) { - cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty::unwrap)) + cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty.Companion::unwrap)) } /** @@ -69706,7 +72741,7 @@ public open class CfnDashboard( * dimension or measure. */ override fun percentileAggregation(percentileAggregation: IResolvable) { - cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable::unwrap)) + cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable.Companion::unwrap)) } /** @@ -69714,7 +72749,7 @@ public open class CfnDashboard( * dimension or measure. */ override fun percentileAggregation(percentileAggregation: PercentileAggregationProperty) { - cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty::unwrap)) + cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty.Companion::unwrap)) } /** @@ -69980,14 +73015,14 @@ public open class CfnDashboard( * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -70009,14 +73044,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -70288,14 +73323,14 @@ public open class CfnDashboard( * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -70311,14 +73346,14 @@ public open class CfnDashboard( * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -70340,14 +73375,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -70761,14 +73796,14 @@ public open class CfnDashboard( * @param title Configures the title display within each small multiples panel. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title Configures the title display within each small multiples panel. */ override fun title(title: PanelTitleOptionsProperty) { - cdkBuilder.title(title.let(PanelTitleOptionsProperty::unwrap)) + cdkBuilder.title(title.let(PanelTitleOptionsProperty.Companion::unwrap)) } /** @@ -70961,14 +73996,14 @@ public open class CfnDashboard( * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -71448,14 +74483,14 @@ public open class CfnDashboard( * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { - cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty) { - cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty.Companion::unwrap)) } /** @@ -71472,7 +74507,7 @@ public open class CfnDashboard( * single value. */ override fun dropdown(dropdown: IResolvable) { - cdkBuilder.dropdown(dropdown.let(IResolvable::unwrap)) + cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** @@ -71480,7 +74515,7 @@ public open class CfnDashboard( * single value. */ override fun dropdown(dropdown: ParameterDropDownControlProperty) { - cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty::unwrap)) + cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty.Companion::unwrap)) } /** @@ -71497,7 +74532,7 @@ public open class CfnDashboard( * either a single value or multiple values. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** @@ -71505,7 +74540,7 @@ public open class CfnDashboard( * either a single value or multiple values. */ override fun list(list: ParameterListControlProperty) { - cdkBuilder.list(list.let(ParameterListControlProperty::unwrap)) + cdkBuilder.list(list.let(ParameterListControlProperty.Companion::unwrap)) } /** @@ -71522,7 +74557,7 @@ public open class CfnDashboard( * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { - cdkBuilder.slider(slider.let(IResolvable::unwrap)) + cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** @@ -71530,7 +74565,7 @@ public open class CfnDashboard( * This is used to change a value by sliding the toggle. */ override fun slider(slider: ParameterSliderControlProperty) { - cdkBuilder.slider(slider.let(ParameterSliderControlProperty::unwrap)) + cdkBuilder.slider(slider.let(ParameterSliderControlProperty.Companion::unwrap)) } /** @@ -71546,14 +74581,14 @@ public open class CfnDashboard( * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { - cdkBuilder.textArea(textArea.let(IResolvable::unwrap)) + cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: ParameterTextAreaControlProperty) { - cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty::unwrap)) + cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty.Companion::unwrap)) } /** @@ -71568,14 +74603,14 @@ public open class CfnDashboard( * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { - cdkBuilder.textField(textField.let(IResolvable::unwrap)) + cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: ParameterTextFieldControlProperty) { - cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty::unwrap)) + cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty.Companion::unwrap)) } /** @@ -71778,14 +74813,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -72147,7 +75182,7 @@ public open class CfnDashboard( * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: IResolvable) { - cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -72155,7 +75190,7 @@ public open class CfnDashboard( */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty) { - cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty::unwrap)) + cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty.Companion::unwrap)) } /** @@ -72172,7 +75207,7 @@ public open class CfnDashboard( * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ override fun decimalParameterDeclaration(decimalParameterDeclaration: IResolvable) { - cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -72180,7 +75215,7 @@ public open class CfnDashboard( */ override fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty) { - cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty::unwrap)) + cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty.Companion::unwrap)) } /** @@ -72197,7 +75232,7 @@ public open class CfnDashboard( * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ override fun integerParameterDeclaration(integerParameterDeclaration: IResolvable) { - cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -72205,7 +75240,7 @@ public open class CfnDashboard( */ override fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty) { - cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty::unwrap)) + cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty.Companion::unwrap)) } /** @@ -72222,7 +75257,7 @@ public open class CfnDashboard( * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ override fun stringParameterDeclaration(stringParameterDeclaration: IResolvable) { - cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -72230,7 +75265,7 @@ public open class CfnDashboard( */ override fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty) { - cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty::unwrap)) + cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty.Companion::unwrap)) } /** @@ -72509,7 +75544,7 @@ public open class CfnDashboard( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -72518,7 +75553,7 @@ public open class CfnDashboard( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -72536,14 +75571,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -72566,14 +75601,14 @@ public open class CfnDashboard( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** @@ -72896,7 +75931,7 @@ public open class CfnDashboard( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -72905,7 +75940,7 @@ public open class CfnDashboard( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -72923,14 +75958,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -72953,14 +75988,14 @@ public open class CfnDashboard( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** @@ -73151,14 +76186,14 @@ public open class CfnDashboard( * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: IResolvable) { - cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable::unwrap)) + cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable.Companion::unwrap)) } /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty) { - cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -73279,7 +76314,7 @@ public open class CfnDashboard( public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -73288,7 +76323,7 @@ public open class CfnDashboard( public fun maximumValue(): Number /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -73350,12 +76385,12 @@ public open class CfnDashboard( fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) @@ -73390,14 +76425,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -73410,14 +76445,14 @@ public open class CfnDashboard( Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) @@ -73467,7 +76502,7 @@ public open class CfnDashboard( override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -73476,7 +76511,7 @@ public open class CfnDashboard( override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -73675,14 +76710,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -73899,14 +76934,14 @@ public open class CfnDashboard( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -74130,7 +77165,7 @@ public open class CfnDashboard( * @param dateTimeParameters The parameters that have a data type of date-time. */ override fun dateTimeParameters(dateTimeParameters: IResolvable) { - cdkBuilder.dateTimeParameters(dateTimeParameters.let(IResolvable::unwrap)) + cdkBuilder.dateTimeParameters(dateTimeParameters.let(IResolvable.Companion::unwrap)) } /** @@ -74150,7 +77185,7 @@ public open class CfnDashboard( * @param decimalParameters The parameters that have a data type of decimal. */ override fun decimalParameters(decimalParameters: IResolvable) { - cdkBuilder.decimalParameters(decimalParameters.let(IResolvable::unwrap)) + cdkBuilder.decimalParameters(decimalParameters.let(IResolvable.Companion::unwrap)) } /** @@ -74170,7 +77205,7 @@ public open class CfnDashboard( * @param integerParameters The parameters that have a data type of integer. */ override fun integerParameters(integerParameters: IResolvable) { - cdkBuilder.integerParameters(integerParameters.let(IResolvable::unwrap)) + cdkBuilder.integerParameters(integerParameters.let(IResolvable.Companion::unwrap)) } /** @@ -74190,7 +77225,7 @@ public open class CfnDashboard( * @param stringParameters The parameters that have a data type of string. */ override fun stringParameters(stringParameters: IResolvable) { - cdkBuilder.stringParameters(stringParameters.let(IResolvable::unwrap)) + cdkBuilder.stringParameters(stringParameters.let(IResolvable.Companion::unwrap)) } /** @@ -74561,7 +77596,7 @@ public open class CfnDashboard( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -74570,7 +77605,7 @@ public open class CfnDashboard( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -74589,7 +77624,7 @@ public open class CfnDashboard( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -74598,7 +77633,7 @@ public open class CfnDashboard( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -74617,7 +77652,7 @@ public open class CfnDashboard( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -74626,7 +77661,7 @@ public open class CfnDashboard( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -74652,7 +77687,7 @@ public open class CfnDashboard( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -74661,7 +77696,7 @@ public open class CfnDashboard( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -75452,14 +78487,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -75474,14 +78509,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -76183,14 +79218,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -76205,14 +79240,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -76387,7 +79422,7 @@ public open class CfnDashboard( * @param category The category (group/color) field wells of a pie chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -76406,7 +79441,7 @@ public open class CfnDashboard( * @param smallMultiples The small multiples field well of a pie chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -76427,7 +79462,7 @@ public open class CfnDashboard( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -76800,7 +79835,7 @@ public open class CfnDashboard( * chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -76808,7 +79843,7 @@ public open class CfnDashboard( * chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -76826,7 +79861,7 @@ public open class CfnDashboard( * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -76848,14 +79883,14 @@ public open class CfnDashboard( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -76871,7 +79906,7 @@ public open class CfnDashboard( * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: IResolvable) { - cdkBuilder.donutOptions(donutOptions.let(IResolvable::unwrap)) + cdkBuilder.donutOptions(donutOptions.let(IResolvable.Companion::unwrap)) } /** @@ -76879,7 +79914,7 @@ public open class CfnDashboard( * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: DonutOptionsProperty) { - cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty::unwrap)) + cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty.Companion::unwrap)) } /** @@ -76895,14 +79930,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PieChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty.Companion::unwrap)) } /** @@ -76917,14 +79952,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -76939,14 +79974,14 @@ public open class CfnDashboard( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -76962,14 +79997,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -76985,14 +80020,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -77007,14 +80042,14 @@ public open class CfnDashboard( * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -77030,14 +80065,14 @@ public open class CfnDashboard( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -77211,7 +80246,7 @@ public open class CfnDashboard( * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: IResolvable) { - cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -77219,7 +80254,7 @@ public open class CfnDashboard( */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty) { - cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -77467,7 +80502,7 @@ public open class CfnDashboard( * chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -77475,7 +80510,7 @@ public open class CfnDashboard( * chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -77492,7 +80527,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -77513,7 +80548,7 @@ public open class CfnDashboard( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -77522,7 +80557,7 @@ public open class CfnDashboard( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -77540,7 +80575,7 @@ public open class CfnDashboard( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -77791,7 +80826,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -77810,14 +80845,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty.Companion::unwrap)) } /** @@ -77834,7 +80869,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -77856,14 +80891,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -77878,14 +80913,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -78092,14 +81127,14 @@ public open class CfnDashboard( * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: IResolvable) { - cdkBuilder.sortBy(sortBy.let(IResolvable::unwrap)) + cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: PivotTableSortByProperty) { - cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty::unwrap)) + cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty.Companion::unwrap)) } /** @@ -78260,7 +81295,7 @@ public open class CfnDashboard( * Values are grouped by columns fields. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -78282,7 +81317,7 @@ public open class CfnDashboard( * Values are grouped by rows fields. */ override fun rows(rows: IResolvable) { - cdkBuilder.rows(rows.let(IResolvable::unwrap)) + cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** @@ -78304,7 +81339,7 @@ public open class CfnDashboard( * Values are aggregated based on rows and columns fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -78563,14 +81598,14 @@ public open class CfnDashboard( * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: PivotTableConditionalFormattingScopeProperty) { - cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty.Companion::unwrap)) } /** @@ -78585,7 +81620,7 @@ public open class CfnDashboard( * @param scopes A list of cell scopes for conditional formatting. */ override fun scopes(scopes: IResolvable) { - cdkBuilder.scopes(scopes.let(IResolvable::unwrap)) + cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** @@ -78604,14 +81639,14 @@ public open class CfnDashboard( * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { - cdkBuilder.textFormat(textFormat.let(IResolvable::unwrap)) + cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { - cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty::unwrap)) + cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** @@ -78802,14 +81837,14 @@ public open class CfnDashboard( * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: IResolvable) { - cdkBuilder.cell(cell.let(IResolvable::unwrap)) + cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: PivotTableCellConditionalFormattingProperty) { - cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty::unwrap)) + cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty.Companion::unwrap)) } /** @@ -78983,7 +82018,7 @@ public open class CfnDashboard( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -79297,14 +82332,14 @@ public open class CfnDashboard( * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { - cdkBuilder.fieldOptions(fieldOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty) { - cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty.Companion::unwrap)) } /** @@ -79319,14 +82354,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PivotTableFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty.Companion::unwrap)) } /** @@ -79341,7 +82376,7 @@ public open class CfnDashboard( * @param paginatedReportOptions The paginated report options for a pivot table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** @@ -79349,7 +82384,7 @@ public open class CfnDashboard( */ override fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty.Companion::unwrap)) } /** @@ -79366,14 +82401,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty.Companion::unwrap)) } /** @@ -79389,14 +82424,14 @@ public open class CfnDashboard( * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: IResolvable) { - cdkBuilder.tableOptions(tableOptions.let(IResolvable::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: PivotTableOptionsProperty) { - cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty.Companion::unwrap)) } /** @@ -79411,14 +82446,14 @@ public open class CfnDashboard( * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: IResolvable) { - cdkBuilder.totalOptions(totalOptions.let(IResolvable::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: PivotTableTotalOptionsProperty) { - cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty.Companion::unwrap)) } /** @@ -79574,7 +82609,7 @@ public open class CfnDashboard( * @param dataPathList The list of data path values for the data path options. */ override fun dataPathList(dataPathList: IResolvable) { - cdkBuilder.dataPathList(dataPathList.let(IResolvable::unwrap)) + cdkBuilder.dataPathList(dataPathList.let(IResolvable.Companion::unwrap)) } /** @@ -79735,14 +82770,14 @@ public open class CfnDashboard( * @param target A tagged-union object that sets the collapse state. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** * @param target A tagged-union object that sets the collapse state. */ override fun target(target: PivotTableFieldCollapseStateTargetProperty) { - cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty::unwrap)) + cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty.Companion::unwrap)) } /** @@ -79879,7 +82914,7 @@ public open class CfnDashboard( * Used to set the collapse state. */ override fun fieldDataPathValues(fieldDataPathValues: IResolvable) { - cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable::unwrap)) + cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable.Companion::unwrap)) } /** @@ -80216,7 +83251,7 @@ public open class CfnDashboard( * @param collapseStateOptions The collapse state options for the pivot table field options. */ override fun collapseStateOptions(collapseStateOptions: IResolvable) { - cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable::unwrap)) + cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable.Companion::unwrap)) } /** @@ -80236,7 +83271,7 @@ public open class CfnDashboard( * @param dataPathOptions The data path options for the pivot table field options. */ override fun dataPathOptions(dataPathOptions: IResolvable) { - cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable::unwrap)) + cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable.Companion::unwrap)) } /** @@ -80256,7 +83291,7 @@ public open class CfnDashboard( * @param selectedFieldOptions The selected field options for the pivot table field options. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { - cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** @@ -80461,7 +83496,7 @@ public open class CfnDashboard( * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: IResolvable) { - cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -80469,7 +83504,7 @@ public open class CfnDashboard( */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty) { - cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -81052,14 +84087,14 @@ public open class CfnDashboard( * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: IResolvable) { - cdkBuilder.cellStyle(cellStyle.let(IResolvable::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { - cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -81084,14 +84119,14 @@ public open class CfnDashboard( * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: IResolvable) { - cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable::unwrap)) + cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty) { - cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -81128,7 +84163,7 @@ public open class CfnDashboard( * alternate colors). */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** @@ -81137,7 +84172,7 @@ public open class CfnDashboard( */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** @@ -81155,14 +84190,14 @@ public open class CfnDashboard( * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: IResolvable) { - cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable::unwrap)) + cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty) { - cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -81178,14 +84213,14 @@ public open class CfnDashboard( * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: IResolvable) { - cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable::unwrap)) + cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty) { - cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -81201,7 +84236,7 @@ public open class CfnDashboard( * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: IResolvable) { - cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -81209,7 +84244,7 @@ public open class CfnDashboard( * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty) { - cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty::unwrap)) + cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty.Companion::unwrap)) } /** @@ -81749,14 +84784,14 @@ public open class CfnDashboard( * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: ColumnSortProperty) { - cdkBuilder.column(column.let(ColumnSortProperty::unwrap)) + cdkBuilder.column(column.let(ColumnSortProperty.Companion::unwrap)) } /** @@ -81772,7 +84807,7 @@ public open class CfnDashboard( * options. */ override fun dataPath(dataPath: IResolvable) { - cdkBuilder.dataPath(dataPath.let(IResolvable::unwrap)) + cdkBuilder.dataPath(dataPath.let(IResolvable.Companion::unwrap)) } /** @@ -81780,7 +84815,7 @@ public open class CfnDashboard( * options. */ override fun dataPath(dataPath: DataPathSortProperty) { - cdkBuilder.dataPath(dataPath.let(DataPathSortProperty::unwrap)) + cdkBuilder.dataPath(dataPath.let(DataPathSortProperty.Companion::unwrap)) } /** @@ -81796,14 +84831,14 @@ public open class CfnDashboard( * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: IResolvable) { - cdkBuilder.`field`(`field`.let(IResolvable::unwrap)) + cdkBuilder.`field`(`field`.let(IResolvable.Companion::unwrap)) } /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: FieldSortProperty) { - cdkBuilder.`field`(`field`.let(FieldSortProperty::unwrap)) + cdkBuilder.`field`(`field`.let(FieldSortProperty.Companion::unwrap)) } /** @@ -81958,7 +84993,7 @@ public open class CfnDashboard( * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ override fun fieldSortOptions(fieldSortOptions: IResolvable) { - cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable.Companion::unwrap)) } /** @@ -82134,14 +85169,14 @@ public open class CfnDashboard( * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: IResolvable) { - cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable::unwrap)) + cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty) { - cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty::unwrap)) + cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** @@ -82157,14 +85192,14 @@ public open class CfnDashboard( * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: IResolvable) { - cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable::unwrap)) + cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty) { - cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty::unwrap)) + cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** @@ -82180,14 +85215,14 @@ public open class CfnDashboard( * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: IResolvable) { - cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable::unwrap)) + cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty) { - cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty::unwrap)) + cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** @@ -82203,14 +85238,14 @@ public open class CfnDashboard( * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: IResolvable) { - cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable::unwrap)) + cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty) { - cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty::unwrap)) + cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** @@ -82444,7 +85479,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -82463,14 +85498,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty.Companion::unwrap)) } /** @@ -82486,7 +85521,7 @@ public open class CfnDashboard( * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -82494,7 +85529,7 @@ public open class CfnDashboard( */ override fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty.Companion::unwrap)) } /** @@ -82511,14 +85546,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -82533,14 +85568,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -82998,14 +86033,14 @@ public open class CfnDashboard( * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -83035,7 +86070,7 @@ public open class CfnDashboard( * @param totalAggregationOptions The total aggregation options for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { - cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -83055,14 +86090,14 @@ public open class CfnDashboard( * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -83084,14 +86119,14 @@ public open class CfnDashboard( * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { - cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { - cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -83310,7 +86345,7 @@ public open class CfnDashboard( * @param columns The list of columns that define the predefined hierarchy. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -83330,7 +86365,7 @@ public open class CfnDashboard( * predefined hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -83578,7 +86613,7 @@ public open class CfnDashboard( * @param category The aggregated field well categories of a radar chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -83597,7 +86632,7 @@ public open class CfnDashboard( * @param color The color that are assigned to the aggregated field wells of a radar chart. */ override fun color(color: IResolvable) { - cdkBuilder.color(color.let(IResolvable::unwrap)) + cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** @@ -83616,7 +86651,7 @@ public open class CfnDashboard( * @param values The values that are assigned to the aggregated field wells of a radar chart. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -84118,14 +87153,14 @@ public open class CfnDashboard( * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: IResolvable) { - cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable::unwrap)) + cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable.Companion::unwrap)) } /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty) { - cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty::unwrap)) + cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -84141,14 +87176,14 @@ public open class CfnDashboard( * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -84163,14 +87198,14 @@ public open class CfnDashboard( * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -84186,14 +87221,14 @@ public open class CfnDashboard( * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: IResolvable) { - cdkBuilder.colorAxis(colorAxis.let(IResolvable::unwrap)) + cdkBuilder.colorAxis(colorAxis.let(IResolvable.Companion::unwrap)) } /** * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: AxisDisplayOptionsProperty) { - cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -84208,14 +87243,14 @@ public open class CfnDashboard( * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -84231,14 +87266,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: RadarChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty.Companion::unwrap)) } /** @@ -84253,14 +87288,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -84282,14 +87317,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -84312,14 +87347,14 @@ public open class CfnDashboard( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -84517,7 +87552,7 @@ public open class CfnDashboard( * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: IResolvable) { - cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -84525,7 +87560,7 @@ public open class CfnDashboard( */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty) { - cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -84634,14 +87669,14 @@ public open class CfnDashboard( * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: IResolvable) { - cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty) { - cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty::unwrap)) + cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty.Companion::unwrap)) } /** @@ -84878,14 +87913,14 @@ public open class CfnDashboard( * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -84901,7 +87936,7 @@ public open class CfnDashboard( * @param categorySort The category sort options of a radar chart. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -84921,14 +87956,14 @@ public open class CfnDashboard( * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -84944,7 +87979,7 @@ public open class CfnDashboard( * @param colorSort The color sort configuration of a radar chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -85178,7 +88213,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -85197,14 +88232,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty.Companion::unwrap)) } /** @@ -85221,7 +88256,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -85243,14 +88278,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -85265,14 +88300,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -85701,7 +88736,7 @@ public open class CfnDashboard( * configuration. */ override fun dynamicConfiguration(dynamicConfiguration: IResolvable) { - cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -85710,7 +88745,7 @@ public open class CfnDashboard( */ override fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty) { - cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty::unwrap)) + cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty.Companion::unwrap)) } /** @@ -85739,7 +88774,7 @@ public open class CfnDashboard( * configuration. */ override fun staticConfiguration(staticConfiguration: IResolvable) { - cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable::unwrap)) + cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -85748,7 +88783,7 @@ public open class CfnDashboard( */ override fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty) { - cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty::unwrap)) + cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty.Companion::unwrap)) } /** @@ -85959,14 +88994,14 @@ public open class CfnDashboard( * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: IResolvable) { - cdkBuilder.calculation(calculation.let(IResolvable::unwrap)) + cdkBuilder.calculation(calculation.let(IResolvable.Companion::unwrap)) } /** * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: NumericalAggregationFunctionProperty) { - cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -85982,14 +89017,14 @@ public open class CfnDashboard( * @param column The column that the dynamic data targets. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the dynamic data targets. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -86005,7 +89040,7 @@ public open class CfnDashboard( * data. */ override fun measureAggregationFunction(measureAggregationFunction: IResolvable) { - cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -86014,7 +89049,7 @@ public open class CfnDashboard( */ override fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty) { - cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -86329,7 +89364,7 @@ public open class CfnDashboard( * line. */ override fun customLabelConfiguration(customLabelConfiguration: IResolvable) { - cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -86338,7 +89373,7 @@ public open class CfnDashboard( */ override fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty) { - cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty::unwrap)) + cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty.Companion::unwrap)) } /** @@ -86363,14 +89398,14 @@ public open class CfnDashboard( * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -86398,7 +89433,7 @@ public open class CfnDashboard( * line. */ override fun valueLabelConfiguration(valueLabelConfiguration: IResolvable) { - cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -86407,7 +89442,7 @@ public open class CfnDashboard( */ override fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty) { - cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty::unwrap)) + cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty.Companion::unwrap)) } /** @@ -86760,14 +89795,14 @@ public open class CfnDashboard( * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: IResolvable) { - cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty) { - cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty::unwrap)) + cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty.Companion::unwrap)) } /** @@ -86783,14 +89818,14 @@ public open class CfnDashboard( * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: IResolvable) { - cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty) { - cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty::unwrap)) + cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty.Companion::unwrap)) } /** @@ -86815,14 +89850,14 @@ public open class CfnDashboard( * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: IResolvable) { - cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty) { - cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty::unwrap)) + cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty.Companion::unwrap)) } /** @@ -87247,14 +90282,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -87443,7 +90478,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -87451,7 +90486,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -87468,14 +90503,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -87558,6 +90593,204 @@ public open class CfnDashboard( * .relativeDateType("relativeDateType") * .timeGranularity("timeGranularity") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") @@ -87587,6 +90820,16 @@ public open class CfnDashboard( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The configuration for the exclude period of the filter. * @@ -87693,6 +90936,31 @@ public open class CfnDashboard( @JvmName("252bc704d554adc4295c753c0d4b4bd4d6d23c425061f70d57ac53271fc5b748") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e326007cf79b07e875e69c653e6dcff678644e741b686010c77e9047f4abc97b") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ @@ -87771,7 +91039,7 @@ public open class CfnDashboard( * @param anchorDateConfiguration The date configuration of the filter. */ override fun anchorDateConfiguration(anchorDateConfiguration: IResolvable) { - cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -87779,7 +91047,7 @@ public open class CfnDashboard( */ override fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty) { - cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty::unwrap)) + cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty.Companion::unwrap)) } /** @@ -87795,14 +91063,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -87813,11 +91081,43 @@ public open class CfnDashboard( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e326007cf79b07e875e69c653e6dcff678644e741b686010c77e9047f4abc97b") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -87825,7 +91125,7 @@ public open class CfnDashboard( */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** @@ -87922,6 +91222,16 @@ public open class CfnDashboard( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-relativedatesfilter.html#cfn-quicksight-dashboard-relativedatesfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The configuration for the exclude period of the filter. * @@ -88679,7 +91989,7 @@ public open class CfnDashboard( * @param destination The destination field wells of a sankey diagram. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -88698,7 +92008,7 @@ public open class CfnDashboard( * @param source The source field wells of a sankey diagram. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -88717,7 +92027,7 @@ public open class CfnDashboard( * @param weight The weight field wells of a sankey diagram. */ override fun weight(weight: IResolvable) { - cdkBuilder.weight(weight.let(IResolvable::unwrap)) + cdkBuilder.weight(weight.let(IResolvable.Companion::unwrap)) } /** @@ -88881,14 +92191,14 @@ public open class CfnDashboard( * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -88903,14 +92213,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty.Companion::unwrap)) } /** @@ -88925,14 +92235,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty.Companion::unwrap)) } /** @@ -89048,7 +92358,7 @@ public open class CfnDashboard( */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: IResolvable) { - cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -89056,7 +92366,7 @@ public open class CfnDashboard( */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty) { - cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -89252,7 +92562,7 @@ public open class CfnDashboard( * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: IResolvable) { - cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -89260,7 +92570,7 @@ public open class CfnDashboard( * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -89278,7 +92588,7 @@ public open class CfnDashboard( * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: IResolvable) { - cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -89286,7 +92596,7 @@ public open class CfnDashboard( * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -89303,7 +92613,7 @@ public open class CfnDashboard( * @param weightSort The sort configuration of the weight fields. */ override fun weightSort(weightSort: IResolvable) { - cdkBuilder.weightSort(weightSort.let(IResolvable::unwrap)) + cdkBuilder.weightSort(weightSort.let(IResolvable.Companion::unwrap)) } /** @@ -89510,7 +92820,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -89529,14 +92839,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty.Companion::unwrap)) } /** @@ -89552,14 +92862,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -89574,14 +92884,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -89813,7 +93123,7 @@ public open class CfnDashboard( * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -89832,7 +93142,7 @@ public open class CfnDashboard( * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { - cdkBuilder.label(label.let(IResolvable::unwrap)) + cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** @@ -89851,7 +93161,7 @@ public open class CfnDashboard( * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -89871,7 +93181,7 @@ public open class CfnDashboard( * The x-axis is aggregated by category. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** @@ -89893,7 +93203,7 @@ public open class CfnDashboard( * The y-axis is aggregated by category. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** @@ -90240,14 +93550,14 @@ public open class CfnDashboard( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -90262,14 +93572,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty.Companion::unwrap)) } /** @@ -90284,14 +93594,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -90306,14 +93616,14 @@ public open class CfnDashboard( * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -90328,14 +93638,14 @@ public open class CfnDashboard( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -90351,7 +93661,7 @@ public open class CfnDashboard( * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -90359,7 +93669,7 @@ public open class CfnDashboard( * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -90377,7 +93687,7 @@ public open class CfnDashboard( * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -90385,7 +93695,7 @@ public open class CfnDashboard( * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -90403,7 +93713,7 @@ public open class CfnDashboard( * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -90411,7 +93721,7 @@ public open class CfnDashboard( * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -90429,7 +93739,7 @@ public open class CfnDashboard( * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: IResolvable) { - cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -90437,7 +93747,7 @@ public open class CfnDashboard( * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -90650,7 +93960,7 @@ public open class CfnDashboard( */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: IResolvable) { - cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -90661,7 +93971,7 @@ public open class CfnDashboard( */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty) { - cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -90683,7 +93993,7 @@ public open class CfnDashboard( */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: IResolvable) { - cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -90692,7 +94002,7 @@ public open class CfnDashboard( */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty) { - cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty::unwrap)) + cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -90901,7 +94211,7 @@ public open class CfnDashboard( * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -90920,7 +94230,7 @@ public open class CfnDashboard( * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { - cdkBuilder.label(label.let(IResolvable::unwrap)) + cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** @@ -90939,7 +94249,7 @@ public open class CfnDashboard( * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -90959,7 +94269,7 @@ public open class CfnDashboard( * The x-axis is a dimension field and cannot be aggregated. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** @@ -90981,7 +94291,7 @@ public open class CfnDashboard( * The y-axis is a dimension field and cannot be aggregated. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** @@ -91233,7 +94543,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -91252,14 +94562,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty.Companion::unwrap)) } /** @@ -91276,7 +94586,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -91298,14 +94608,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -91320,14 +94630,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -91500,14 +94810,14 @@ public open class CfnDashboard( * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: IResolvable) { - cdkBuilder.visibleRange(visibleRange.let(IResolvable::unwrap)) + cdkBuilder.visibleRange(visibleRange.let(IResolvable.Companion::unwrap)) } /** * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: VisibleRangeOptionsProperty) { - cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty::unwrap)) + cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty.Companion::unwrap)) } /** @@ -91794,7 +95104,7 @@ public open class CfnDashboard( * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: IResolvable) { - cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -91802,7 +95112,7 @@ public open class CfnDashboard( */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty) { - cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -92137,7 +95447,7 @@ public open class CfnDashboard( * @param bodySections A list of body section configurations. */ override fun bodySections(bodySections: IResolvable) { - cdkBuilder.bodySections(bodySections.let(IResolvable::unwrap)) + cdkBuilder.bodySections(bodySections.let(IResolvable.Companion::unwrap)) } /** @@ -92157,7 +95467,7 @@ public open class CfnDashboard( * @param canvasSizeOptions The options for the canvas of a section-based layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -92165,7 +95475,7 @@ public open class CfnDashboard( */ override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -92181,7 +95491,7 @@ public open class CfnDashboard( * @param footerSections A list of footer section configurations. */ override fun footerSections(footerSections: IResolvable) { - cdkBuilder.footerSections(footerSections.let(IResolvable::unwrap)) + cdkBuilder.footerSections(footerSections.let(IResolvable.Companion::unwrap)) } /** @@ -92201,7 +95511,7 @@ public open class CfnDashboard( * @param headerSections A list of header section configurations. */ override fun headerSections(headerSections: IResolvable) { - cdkBuilder.headerSections(headerSections.let(IResolvable::unwrap)) + cdkBuilder.headerSections(headerSections.let(IResolvable.Companion::unwrap)) } /** @@ -92374,7 +95684,7 @@ public open class CfnDashboard( * left, and right edges. */ override fun paperMargin(paperMargin: IResolvable) { - cdkBuilder.paperMargin(paperMargin.let(IResolvable::unwrap)) + cdkBuilder.paperMargin(paperMargin.let(IResolvable.Companion::unwrap)) } /** @@ -92382,7 +95692,7 @@ public open class CfnDashboard( * left, and right edges. */ override fun paperMargin(paperMargin: SpacingProperty) { - cdkBuilder.paperMargin(paperMargin.let(SpacingProperty::unwrap)) + cdkBuilder.paperMargin(paperMargin.let(SpacingProperty.Companion::unwrap)) } /** @@ -92555,14 +95865,14 @@ public open class CfnDashboard( * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: IResolvable) { - cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty) { - cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -92669,14 +95979,14 @@ public open class CfnDashboard( * @param after The configuration of a page break after a section. */ override fun after(after: IResolvable) { - cdkBuilder.after(after.let(IResolvable::unwrap)) + cdkBuilder.after(after.let(IResolvable.Companion::unwrap)) } /** * @param after The configuration of a page break after a section. */ override fun after(after: SectionAfterPageBreakProperty) { - cdkBuilder.after(after.let(SectionAfterPageBreakProperty::unwrap)) + cdkBuilder.after(after.let(SectionAfterPageBreakProperty.Companion::unwrap)) } /** @@ -92820,7 +96130,7 @@ public open class CfnDashboard( * There is no padding by default. */ override fun padding(padding: IResolvable) { - cdkBuilder.padding(padding.let(IResolvable::unwrap)) + cdkBuilder.padding(padding.let(IResolvable.Companion::unwrap)) } /** @@ -92829,7 +96139,7 @@ public open class CfnDashboard( * There is no padding by default. */ override fun padding(padding: SpacingProperty) { - cdkBuilder.padding(padding.let(SpacingProperty::unwrap)) + cdkBuilder.padding(padding.let(SpacingProperty.Companion::unwrap)) } /** @@ -92960,7 +96270,7 @@ public open class CfnDashboard( * visuals that the filter is applied to. */ override fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: IResolvable) { - cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -93136,14 +96446,14 @@ public open class CfnDashboard( * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: IResolvable) { - cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable::unwrap)) + cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty) { - cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty::unwrap)) + cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty.Companion::unwrap)) } /** @@ -93159,14 +96469,14 @@ public open class CfnDashboard( * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: IResolvable) { - cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable::unwrap)) + cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty) { - cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty::unwrap)) + cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty.Companion::unwrap)) } /** @@ -93313,14 +96623,14 @@ public open class CfnDashboard( * @param value the value to be set. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value the value to be set. */ override fun `value`(`value`: DestinationParameterValueConfigurationProperty) { - cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty::unwrap)) + cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty.Companion::unwrap)) } /** @@ -93452,7 +96762,7 @@ public open class CfnDashboard( * filled map visual. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** @@ -93460,7 +96770,7 @@ public open class CfnDashboard( * filled map visual. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -93698,7 +97008,7 @@ public open class CfnDashboard( * sheet control. */ override fun gridLayout(gridLayout: IResolvable) { - cdkBuilder.gridLayout(gridLayout.let(IResolvable::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** @@ -93706,7 +97016,7 @@ public open class CfnDashboard( * sheet control. */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { - cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -93835,7 +97145,7 @@ public open class CfnDashboard( * of sheet control. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -93843,7 +97153,7 @@ public open class CfnDashboard( * of sheet control. */ override fun configuration(configuration: SheetControlLayoutConfigurationProperty) { - cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -94266,7 +97576,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun filterControls(filterControls: IResolvable) { - cdkBuilder.filterControls(filterControls.let(IResolvable::unwrap)) + cdkBuilder.filterControls(filterControls.let(IResolvable.Companion::unwrap)) } /** @@ -94295,7 +97605,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun layouts(layouts: IResolvable) { - cdkBuilder.layouts(layouts.let(IResolvable::unwrap)) + cdkBuilder.layouts(layouts.let(IResolvable.Companion::unwrap)) } /** @@ -94331,7 +97641,7 @@ public open class CfnDashboard( * the *Amazon QuickSight User Guide* . */ override fun parameterControls(parameterControls: IResolvable) { - cdkBuilder.parameterControls(parameterControls.let(IResolvable::unwrap)) + cdkBuilder.parameterControls(parameterControls.let(IResolvable.Companion::unwrap)) } /** @@ -94357,7 +97667,7 @@ public open class CfnDashboard( * @param sheetControlLayouts The control layouts of the sheet. */ override fun sheetControlLayouts(sheetControlLayouts: IResolvable) { - cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable::unwrap)) + cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable.Companion::unwrap)) } /** @@ -94384,7 +97694,7 @@ public open class CfnDashboard( * @param textBoxes The text boxes that are on a sheet. */ override fun textBoxes(textBoxes: IResolvable) { - cdkBuilder.textBoxes(textBoxes.let(IResolvable::unwrap)) + cdkBuilder.textBoxes(textBoxes.let(IResolvable.Companion::unwrap)) } /** @@ -94411,7 +97721,7 @@ public open class CfnDashboard( * Visual placement is determined by the layout of the sheet. */ override fun visuals(visuals: IResolvable) { - cdkBuilder.visuals(visuals.let(IResolvable::unwrap)) + cdkBuilder.visuals(visuals.let(IResolvable.Companion::unwrap)) } /** @@ -94726,7 +98036,7 @@ public open class CfnDashboard( * */ override fun configurationOverrides(configurationOverrides: IResolvable) { - cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable::unwrap)) + cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -94735,7 +98045,7 @@ public open class CfnDashboard( */ override fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty) { - cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty::unwrap)) + cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty.Companion::unwrap)) } /** @@ -95580,7 +98890,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -95588,7 +98898,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -95605,14 +98915,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -95989,14 +99299,14 @@ public open class CfnDashboard( * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: IResolvable) { - cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: PanelConfigurationProperty) { - cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty::unwrap)) + cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty.Companion::unwrap)) } /** @@ -96012,14 +99322,14 @@ public open class CfnDashboard( * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty) { - cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty::unwrap)) + cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** @@ -96034,14 +99344,14 @@ public open class CfnDashboard( * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty) { - cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty::unwrap)) + cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** @@ -96377,7 +99687,7 @@ public open class CfnDashboard( * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -96385,7 +99695,7 @@ public open class CfnDashboard( * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -96610,7 +99920,7 @@ public open class CfnDashboard( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -96619,7 +99929,7 @@ public open class CfnDashboard( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -96637,7 +99947,7 @@ public open class CfnDashboard( * @param numericFormatConfiguration The formatting configuration for numeric strings. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -96645,7 +99955,7 @@ public open class CfnDashboard( */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -96871,7 +100181,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -96880,7 +100190,7 @@ public open class CfnDashboard( * provided. */ override fun defaultValues(defaultValues: StringDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty.Companion::unwrap)) } /** @@ -96897,7 +100207,7 @@ public open class CfnDashboard( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -96933,7 +100243,7 @@ public open class CfnDashboard( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -96941,7 +100251,7 @@ public open class CfnDashboard( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -97642,7 +100952,7 @@ public open class CfnDashboard( * @param fieldLevelOptions The optional configuration of subtotal cells. */ override fun fieldLevelOptions(fieldLevelOptions: IResolvable) { - cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -97662,14 +100972,14 @@ public open class CfnDashboard( * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -97685,7 +100995,7 @@ public open class CfnDashboard( * @param styleTargets The style targets options for subtotals. */ override fun styleTargets(styleTargets: IResolvable) { - cdkBuilder.styleTargets(styleTargets.let(IResolvable::unwrap)) + cdkBuilder.styleTargets(styleTargets.let(IResolvable.Companion::unwrap)) } /** @@ -97705,14 +101015,14 @@ public open class CfnDashboard( * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -97734,14 +101044,14 @@ public open class CfnDashboard( * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { - cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { - cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -98407,7 +101717,7 @@ public open class CfnDashboard( * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -98429,7 +101739,7 @@ public open class CfnDashboard( * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -98763,14 +102073,14 @@ public open class CfnDashboard( * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { - cdkBuilder.textFormat(textFormat.let(IResolvable::unwrap)) + cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { - cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty::unwrap)) + cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** @@ -99127,14 +102437,14 @@ public open class CfnDashboard( * @param border The borders for the table cells. */ override fun border(border: IResolvable) { - cdkBuilder.border(border.let(IResolvable::unwrap)) + cdkBuilder.border(border.let(IResolvable.Companion::unwrap)) } /** * @param border The borders for the table cells. */ override fun border(border: GlobalTableBorderOptionsProperty) { - cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty::unwrap)) + cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99149,14 +102459,14 @@ public open class CfnDashboard( * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -99468,14 +102778,14 @@ public open class CfnDashboard( * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: IResolvable) { - cdkBuilder.cell(cell.let(IResolvable::unwrap)) + cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: TableCellConditionalFormattingProperty) { - cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty::unwrap)) + cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty.Companion::unwrap)) } /** @@ -99490,14 +102800,14 @@ public open class CfnDashboard( * @param row The row conditional formatting option for a table. */ override fun row(row: IResolvable) { - cdkBuilder.row(row.let(IResolvable::unwrap)) + cdkBuilder.row(row.let(IResolvable.Companion::unwrap)) } /** * @param row The row conditional formatting option for a table. */ override fun row(row: TableRowConditionalFormattingProperty) { - cdkBuilder.row(row.let(TableRowConditionalFormattingProperty::unwrap)) + cdkBuilder.row(row.let(TableRowConditionalFormattingProperty.Companion::unwrap)) } /** @@ -99710,7 +103020,7 @@ public open class CfnDashboard( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -99962,14 +103272,14 @@ public open class CfnDashboard( * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { - cdkBuilder.fieldOptions(fieldOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: TableFieldOptionsProperty) { - cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty.Companion::unwrap)) } /** @@ -99984,14 +103294,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TableFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty.Companion::unwrap)) } /** @@ -100006,7 +103316,7 @@ public open class CfnDashboard( * @param paginatedReportOptions The paginated report options for a table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** @@ -100014,7 +103324,7 @@ public open class CfnDashboard( */ override fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty.Companion::unwrap)) } /** @@ -100030,14 +103340,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty.Companion::unwrap)) } /** @@ -100054,7 +103364,7 @@ public open class CfnDashboard( * chart. */ override fun tableInlineVisualizations(tableInlineVisualizations: IResolvable) { - cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable::unwrap)) + cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable.Companion::unwrap)) } /** @@ -100076,14 +103386,14 @@ public open class CfnDashboard( * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: IResolvable) { - cdkBuilder.tableOptions(tableOptions.let(IResolvable::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: TableOptionsProperty) { - cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty.Companion::unwrap)) } /** @@ -100098,14 +103408,14 @@ public open class CfnDashboard( * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: IResolvable) { - cdkBuilder.totalOptions(totalOptions.let(IResolvable::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: TotalOptionsProperty) { - cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty.Companion::unwrap)) } /** @@ -100362,7 +103672,7 @@ public open class CfnDashboard( * URL link content. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -100370,7 +103680,7 @@ public open class CfnDashboard( * URL link content. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -100493,14 +103803,14 @@ public open class CfnDashboard( * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: IResolvable) { - cdkBuilder.sizingOptions(sizingOptions.let(IResolvable::unwrap)) + cdkBuilder.sizingOptions(sizingOptions.let(IResolvable.Companion::unwrap)) } /** * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty) { - cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty::unwrap)) + cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty.Companion::unwrap)) } /** @@ -100638,14 +103948,14 @@ public open class CfnDashboard( * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: TableFieldLinkContentConfigurationProperty) { - cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty::unwrap)) + cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty.Companion::unwrap)) } /** @@ -100810,14 +104120,14 @@ public open class CfnDashboard( * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: IResolvable) { - cdkBuilder.customIconContent(customIconContent.let(IResolvable::unwrap)) + cdkBuilder.customIconContent(customIconContent.let(IResolvable.Companion::unwrap)) } /** * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: TableFieldCustomIconContentProperty) { - cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty::unwrap)) + cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty.Companion::unwrap)) } /** @@ -100834,7 +104144,7 @@ public open class CfnDashboard( * link content configuration. */ override fun customTextContent(customTextContent: IResolvable) { - cdkBuilder.customTextContent(customTextContent.let(IResolvable::unwrap)) + cdkBuilder.customTextContent(customTextContent.let(IResolvable.Companion::unwrap)) } /** @@ -100842,7 +104152,7 @@ public open class CfnDashboard( * link content configuration. */ override fun customTextContent(customTextContent: TableFieldCustomTextContentProperty) { - cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty::unwrap)) + cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty.Companion::unwrap)) } /** @@ -101050,14 +104360,14 @@ public open class CfnDashboard( * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: IResolvable) { - cdkBuilder.urlStyling(urlStyling.let(IResolvable::unwrap)) + cdkBuilder.urlStyling(urlStyling.let(IResolvable.Companion::unwrap)) } /** * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: TableFieldURLConfigurationProperty) { - cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty::unwrap)) + cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty.Companion::unwrap)) } /** @@ -101297,14 +104607,14 @@ public open class CfnDashboard( * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: IResolvable) { - cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty) { - cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty::unwrap)) + cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty.Companion::unwrap)) } /** @@ -101320,7 +104630,7 @@ public open class CfnDashboard( * @param selectedFieldOptions The field options to be configured to a table. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { - cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** @@ -101495,14 +104805,14 @@ public open class CfnDashboard( * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty.Companion::unwrap)) } /** @@ -101518,14 +104828,14 @@ public open class CfnDashboard( * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: IResolvable) { - cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty) { - cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty.Companion::unwrap)) } /** @@ -101660,7 +104970,7 @@ public open class CfnDashboard( * @param tableAggregatedFieldWells The aggregated field well for the table. */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: IResolvable) { - cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -101668,7 +104978,7 @@ public open class CfnDashboard( */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty) { - cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -101685,7 +104995,7 @@ public open class CfnDashboard( * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: IResolvable) { - cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -101693,7 +105003,7 @@ public open class CfnDashboard( */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty) { - cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty::unwrap)) + cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -101815,7 +105125,7 @@ public open class CfnDashboard( * chart. */ override fun dataBars(dataBars: IResolvable) { - cdkBuilder.dataBars(dataBars.let(IResolvable::unwrap)) + cdkBuilder.dataBars(dataBars.let(IResolvable.Companion::unwrap)) } /** @@ -101823,7 +105133,7 @@ public open class CfnDashboard( * chart. */ override fun dataBars(dataBars: DataBarsOptionsProperty) { - cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty::unwrap)) + cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty.Companion::unwrap)) } /** @@ -102111,14 +105421,14 @@ public open class CfnDashboard( * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: IResolvable) { - cdkBuilder.cellStyle(cellStyle.let(IResolvable::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { - cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -102133,14 +105443,14 @@ public open class CfnDashboard( * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: IResolvable) { - cdkBuilder.headerStyle(headerStyle.let(IResolvable::unwrap)) + cdkBuilder.headerStyle(headerStyle.let(IResolvable.Companion::unwrap)) } /** * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: TableCellStyleProperty) { - cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -102163,7 +105473,7 @@ public open class CfnDashboard( * alternate colors) for a table. */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** @@ -102172,7 +105482,7 @@ public open class CfnDashboard( */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** @@ -102575,7 +105885,7 @@ public open class CfnDashboard( * for a table row. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** @@ -102583,7 +105893,7 @@ public open class CfnDashboard( * for a table row. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -102601,7 +105911,7 @@ public open class CfnDashboard( * row. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** @@ -102609,7 +105919,7 @@ public open class CfnDashboard( * row. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -102870,14 +106180,14 @@ public open class CfnDashboard( * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: IResolvable) { - cdkBuilder.bottom(bottom.let(IResolvable::unwrap)) + cdkBuilder.bottom(bottom.let(IResolvable.Companion::unwrap)) } /** * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: TableBorderOptionsProperty) { - cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -102892,14 +106202,14 @@ public open class CfnDashboard( * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: IResolvable) { - cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable::unwrap)) + cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable.Companion::unwrap)) } /** * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty) { - cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -102914,14 +106224,14 @@ public open class CfnDashboard( * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: IResolvable) { - cdkBuilder.innerVertical(innerVertical.let(IResolvable::unwrap)) + cdkBuilder.innerVertical(innerVertical.let(IResolvable.Companion::unwrap)) } /** * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: TableBorderOptionsProperty) { - cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -102936,14 +106246,14 @@ public open class CfnDashboard( * @param left The table border options of the left border. */ override fun left(left: IResolvable) { - cdkBuilder.left(left.let(IResolvable::unwrap)) + cdkBuilder.left(left.let(IResolvable.Companion::unwrap)) } /** * @param left The table border options of the left border. */ override fun left(left: TableBorderOptionsProperty) { - cdkBuilder.left(left.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.left(left.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -102958,14 +106268,14 @@ public open class CfnDashboard( * @param right The table border options of the right border. */ override fun right(right: IResolvable) { - cdkBuilder.right(right.let(IResolvable::unwrap)) + cdkBuilder.right(right.let(IResolvable.Companion::unwrap)) } /** * @param right The table border options of the right border. */ override fun right(right: TableBorderOptionsProperty) { - cdkBuilder.right(right.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.right(right.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -102980,14 +106290,14 @@ public open class CfnDashboard( * @param top The table border options of the top border. */ override fun top(top: IResolvable) { - cdkBuilder.top(top.let(IResolvable::unwrap)) + cdkBuilder.top(top.let(IResolvable.Companion::unwrap)) } /** * @param top The table border options of the top border. */ override fun top(top: TableBorderOptionsProperty) { - cdkBuilder.top(top.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.top(top.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -103183,7 +106493,7 @@ public open class CfnDashboard( * the table. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -103192,7 +106502,7 @@ public open class CfnDashboard( */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** @@ -103209,7 +106519,7 @@ public open class CfnDashboard( * @param rowSort The field sort options for rows in the table. */ override fun rowSort(rowSort: IResolvable) { - cdkBuilder.rowSort(rowSort.let(IResolvable::unwrap)) + cdkBuilder.rowSort(rowSort.let(IResolvable.Companion::unwrap)) } /** @@ -103625,7 +106935,7 @@ public open class CfnDashboard( * Values are unaggregated for an unaggregated table. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -103846,7 +107156,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -103865,14 +107175,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TableConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty.Companion::unwrap)) } /** @@ -103888,7 +107198,7 @@ public open class CfnDashboard( * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -103896,7 +107206,7 @@ public open class CfnDashboard( */ override fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty.Companion::unwrap)) } /** @@ -103912,14 +107222,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -103934,14 +107244,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -104166,7 +107476,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -104174,7 +107484,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -104192,7 +107502,7 @@ public open class CfnDashboard( * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { - cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** @@ -104200,7 +107510,7 @@ public open class CfnDashboard( * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { - cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** @@ -104217,14 +107527,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -104445,14 +107755,14 @@ public open class CfnDashboard( * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -104468,14 +107778,14 @@ public open class CfnDashboard( * @param icon The conditional formatting for the icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting for the icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -104490,14 +107800,14 @@ public open class CfnDashboard( * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -104775,7 +108085,7 @@ public open class CfnDashboard( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -104783,7 +108093,7 @@ public open class CfnDashboard( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -104801,7 +108111,7 @@ public open class CfnDashboard( * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { - cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** @@ -104809,7 +108119,7 @@ public open class CfnDashboard( * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { - cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** @@ -104826,14 +108136,14 @@ public open class CfnDashboard( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -105250,6 +108560,204 @@ public open class CfnDashboard( * .build()) * .filterId("filterId") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .parameterName("parameterName") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") @@ -105271,6 +108779,16 @@ public open class CfnDashboard( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -105334,6 +108852,31 @@ public open class CfnDashboard( @JvmName("2a244a24b6419650cc0dc6e91eb3f80a8d237778199e98018a364dc8569275c1") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("37f5761842158d9fa0b9f75d752d76c7f409b2c8eebb5eb0f911e25b64976730") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -105389,14 +108932,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -105407,6 +108950,38 @@ public open class CfnDashboard( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("37f5761842158d9fa0b9f75d752d76c7f409b2c8eebb5eb0f911e25b64976730") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -105428,7 +109003,7 @@ public open class CfnDashboard( * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** @@ -105436,7 +109011,7 @@ public open class CfnDashboard( * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -105479,6 +109054,16 @@ public open class CfnDashboard( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timeequalityfilter.html#cfn-quicksight-dashboard-timeequalityfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -105640,14 +109225,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -105752,6 +109337,204 @@ public open class CfnDashboard( * .filterId("filterId") * .nullOption("nullOption") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") @@ -105792,6 +109575,16 @@ public open class CfnDashboard( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The exclude period of the time range filter. * @@ -105876,6 +109669,31 @@ public open class CfnDashboard( @JvmName("cf20408749f43e28ac34a02a88541c7092730a90b3dc391e6d1b9bff8afec725") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("553451a9d178eb8859a71737c1d18705390673bf2c83b8ccf62ae572d22ccddd") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ @@ -105986,14 +109804,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -106004,11 +109822,43 @@ public open class CfnDashboard( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("553451a9d178eb8859a71737c1d18705390673bf2c83b8ccf62ae572d22ccddd") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -106016,7 +109866,7 @@ public open class CfnDashboard( */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** @@ -106050,7 +109900,7 @@ public open class CfnDashboard( * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { - cdkBuilder.includeMaximum(includeMaximum.let(IResolvable::unwrap)) + cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** @@ -106066,7 +109916,7 @@ public open class CfnDashboard( * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { - cdkBuilder.includeMinimum(includeMinimum.let(IResolvable::unwrap)) + cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** @@ -106084,14 +109934,14 @@ public open class CfnDashboard( * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: IResolvable) { - cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable::unwrap)) + cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty) { - cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** @@ -106107,14 +109957,14 @@ public open class CfnDashboard( * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: IResolvable) { - cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable::unwrap)) + cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty) { - cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** @@ -106149,6 +109999,16 @@ public open class CfnDashboard( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-timerangefilter.html#cfn-quicksight-dashboard-timerangefilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The exclude period of the time range filter. * @@ -106328,14 +110188,14 @@ public open class CfnDashboard( * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -106516,7 +110376,7 @@ public open class CfnDashboard( * well. */ override fun columnTooltipItem(columnTooltipItem: IResolvable) { - cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable::unwrap)) + cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable.Companion::unwrap)) } /** @@ -106524,7 +110384,7 @@ public open class CfnDashboard( * well. */ override fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty) { - cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty::unwrap)) + cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty.Companion::unwrap)) } /** @@ -106541,14 +110401,14 @@ public open class CfnDashboard( * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: IResolvable) { - cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable::unwrap)) + cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty) { - cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty::unwrap)) + cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty.Companion::unwrap)) } /** @@ -106728,7 +110588,7 @@ public open class CfnDashboard( * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: IResolvable) { - cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable::unwrap)) + cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable.Companion::unwrap)) } /** @@ -106736,7 +110596,7 @@ public open class CfnDashboard( * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty) { - cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty::unwrap)) + cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty.Companion::unwrap)) } /** @@ -106857,6 +110717,204 @@ public open class CfnDashboard( * .build()) * .filterId("filterId") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .limit(123) * .parameterName("parameterName") * .timeGranularity("timeGranularity") @@ -106880,6 +110938,16 @@ public open class CfnDashboard( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -106948,6 +111016,31 @@ public open class CfnDashboard( @JvmName("9ea6146320283d646142ea490bc8803af3a1f80d9679f72cebbee008fe93e2ef") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("65a6adb910b2c42d9b90cfb09d6c8445ae6953bd6e14bf09c68e7bab13ea3c5c") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -106981,7 +111074,7 @@ public open class CfnDashboard( * bottom filter. */ override fun aggregationSortConfigurations(aggregationSortConfigurations: IResolvable) { - cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable::unwrap)) + cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -107003,14 +111096,14 @@ public open class CfnDashboard( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -107021,6 +111114,38 @@ public open class CfnDashboard( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("65a6adb910b2c42d9b90cfb09d6c8445ae6953bd6e14bf09c68e7bab13ea3c5c") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -107074,6 +111199,16 @@ public open class CfnDashboard( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomfilter.html#cfn-quicksight-dashboard-topbottomfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -107287,14 +111422,14 @@ public open class CfnDashboard( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -107337,14 +111472,14 @@ public open class CfnDashboard( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -107368,14 +111503,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -107605,14 +111740,14 @@ public open class CfnDashboard( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -107657,14 +111792,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -108094,14 +112229,14 @@ public open class CfnDashboard( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -108332,7 +112467,7 @@ public open class CfnDashboard( * specified field id. */ override fun totalAggregationFunction(totalAggregationFunction: IResolvable) { - cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -108341,7 +112476,7 @@ public open class CfnDashboard( */ override fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty) { - cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty::unwrap)) + cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -108610,7 +112745,7 @@ public open class CfnDashboard( * @param totalAggregationOptions The total aggregation settings for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { - cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -108630,14 +112765,14 @@ public open class CfnDashboard( * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -108833,7 +112968,7 @@ public open class CfnDashboard( * Values are grouped by aggregations based on group by fields. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -108855,7 +112990,7 @@ public open class CfnDashboard( * Values are grouped based on group by fields. */ override fun groups(groups: IResolvable) { - cdkBuilder.groups(groups.let(IResolvable::unwrap)) + cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** @@ -108877,7 +113012,7 @@ public open class CfnDashboard( * Values are aggregated based on group by fields. */ override fun sizes(sizes: IResolvable) { - cdkBuilder.sizes(sizes.let(IResolvable::unwrap)) + cdkBuilder.sizes(sizes.let(IResolvable.Companion::unwrap)) } /** @@ -109208,7 +113343,7 @@ public open class CfnDashboard( * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -109216,7 +113351,7 @@ public open class CfnDashboard( * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -109233,14 +113368,14 @@ public open class CfnDashboard( * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: IResolvable) { - cdkBuilder.colorScale(colorScale.let(IResolvable::unwrap)) + cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: ColorScaleProperty) { - cdkBuilder.colorScale(colorScale.let(ColorScaleProperty::unwrap)) + cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** @@ -109255,14 +113390,14 @@ public open class CfnDashboard( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -109277,14 +113412,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TreeMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty.Companion::unwrap)) } /** @@ -109300,7 +113435,7 @@ public open class CfnDashboard( * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: IResolvable) { - cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -109308,7 +113443,7 @@ public open class CfnDashboard( * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -109325,14 +113460,14 @@ public open class CfnDashboard( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -109348,7 +113483,7 @@ public open class CfnDashboard( * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: IResolvable) { - cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -109356,7 +113491,7 @@ public open class CfnDashboard( * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -109373,14 +113508,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -109396,14 +113531,14 @@ public open class CfnDashboard( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -109562,7 +113697,7 @@ public open class CfnDashboard( * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: IResolvable) { - cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -109570,7 +113705,7 @@ public open class CfnDashboard( */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty) { - cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -109738,7 +113873,7 @@ public open class CfnDashboard( */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: IResolvable) { - cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -109747,7 +113882,7 @@ public open class CfnDashboard( */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -109765,7 +113900,7 @@ public open class CfnDashboard( * @param treeMapSort The sort configuration of group by fields. */ override fun treeMapSort(treeMapSort: IResolvable) { - cdkBuilder.treeMapSort(treeMapSort.let(IResolvable::unwrap)) + cdkBuilder.treeMapSort(treeMapSort.let(IResolvable.Companion::unwrap)) } /** @@ -109989,7 +114124,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -110008,14 +114143,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty.Companion::unwrap)) } /** @@ -110032,7 +114167,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -110054,14 +114189,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -110076,14 +114211,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -110566,14 +114701,14 @@ public open class CfnDashboard( * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -110595,14 +114730,14 @@ public open class CfnDashboard( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** @@ -110984,14 +115119,14 @@ public open class CfnDashboard( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -111219,14 +115354,14 @@ public open class CfnDashboard( * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: IResolvable) { - cdkBuilder.percentRange(percentRange.let(IResolvable::unwrap)) + cdkBuilder.percentRange(percentRange.let(IResolvable.Companion::unwrap)) } /** * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: PercentVisibleRangeProperty) { - cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty::unwrap)) + cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty.Companion::unwrap)) } /** @@ -111549,7 +115684,7 @@ public open class CfnDashboard( * entire sheet. */ override fun filterOperation(filterOperation: IResolvable) { - cdkBuilder.filterOperation(filterOperation.let(IResolvable::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(IResolvable.Companion::unwrap)) } /** @@ -111557,7 +115692,7 @@ public open class CfnDashboard( * entire sheet. */ override fun filterOperation(filterOperation: CustomActionFilterOperationProperty) { - cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty.Companion::unwrap)) } /** @@ -111575,7 +115710,7 @@ public open class CfnDashboard( * in the same analysis. */ override fun navigationOperation(navigationOperation: IResolvable) { - cdkBuilder.navigationOperation(navigationOperation.let(IResolvable::unwrap)) + cdkBuilder.navigationOperation(navigationOperation.let(IResolvable.Companion::unwrap)) } /** @@ -111584,7 +115719,7 @@ public open class CfnDashboard( */ override fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty) { - cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty::unwrap)) + cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty.Companion::unwrap)) } /** @@ -111602,7 +115737,7 @@ public open class CfnDashboard( * action. */ override fun parametersOperation(setParametersOperation: IResolvable) { - cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable::unwrap)) + cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable.Companion::unwrap)) } /** @@ -111611,7 +115746,7 @@ public open class CfnDashboard( */ override fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty) { - cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty::unwrap)) + cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty.Companion::unwrap)) } /** @@ -111629,14 +115764,14 @@ public open class CfnDashboard( * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: IResolvable) { - cdkBuilder.urlOperation(urlOperation.let(IResolvable::unwrap)) + cdkBuilder.urlOperation(urlOperation.let(IResolvable.Companion::unwrap)) } /** * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: CustomActionURLOperationProperty) { - cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty::unwrap)) + cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty.Companion::unwrap)) } /** @@ -111881,7 +116016,7 @@ public open class CfnDashboard( * can be defined. */ override fun actionOperations(actionOperations: IResolvable) { - cdkBuilder.actionOperations(actionOperations.let(IResolvable::unwrap)) + cdkBuilder.actionOperations(actionOperations.let(IResolvable.Companion::unwrap)) } /** @@ -112169,7 +116304,7 @@ public open class CfnDashboard( * @param colorMap The color map options for the visual palette. */ override fun colorMap(colorMap: IResolvable) { - cdkBuilder.colorMap(colorMap.let(IResolvable::unwrap)) + cdkBuilder.colorMap(colorMap.let(IResolvable.Companion::unwrap)) } /** @@ -113098,7 +117233,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: IResolvable) { - cdkBuilder.barChartVisual(barChartVisual.let(IResolvable::unwrap)) + cdkBuilder.barChartVisual(barChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113108,7 +117243,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: BarChartVisualProperty) { - cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty::unwrap)) + cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty.Companion::unwrap)) } /** @@ -113129,7 +117264,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: IResolvable) { - cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable::unwrap)) + cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113139,7 +117274,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty) { - cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty::unwrap)) + cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty.Companion::unwrap)) } /** @@ -113160,7 +117295,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: IResolvable) { - cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable::unwrap)) + cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113170,7 +117305,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: ComboChartVisualProperty) { - cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty::unwrap)) + cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty.Companion::unwrap)) } /** @@ -113191,7 +117326,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: IResolvable) { - cdkBuilder.customContentVisual(customContentVisual.let(IResolvable::unwrap)) + cdkBuilder.customContentVisual(customContentVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113201,7 +117336,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: CustomContentVisualProperty) { - cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty::unwrap)) + cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty.Companion::unwrap)) } /** @@ -113220,14 +117355,14 @@ public open class CfnDashboard( * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: IResolvable) { - cdkBuilder.emptyVisual(emptyVisual.let(IResolvable::unwrap)) + cdkBuilder.emptyVisual(emptyVisual.let(IResolvable.Companion::unwrap)) } /** * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: EmptyVisualProperty) { - cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty::unwrap)) + cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty.Companion::unwrap)) } /** @@ -113245,7 +117380,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: IResolvable) { - cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable::unwrap)) + cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113255,7 +117390,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: FilledMapVisualProperty) { - cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty::unwrap)) + cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty.Companion::unwrap)) } /** @@ -113276,7 +117411,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: IResolvable) { - cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable::unwrap)) + cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113286,7 +117421,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty) { - cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty::unwrap)) + cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty.Companion::unwrap)) } /** @@ -113308,7 +117443,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: IResolvable) { - cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable::unwrap)) + cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113318,7 +117453,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty) { - cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty::unwrap)) + cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty.Companion::unwrap)) } /** @@ -113339,7 +117474,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: IResolvable) { - cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable::unwrap)) + cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113349,7 +117484,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty) { - cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty::unwrap)) + cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty.Companion::unwrap)) } /** @@ -113371,7 +117506,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: IResolvable) { - cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable::unwrap)) + cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113381,7 +117516,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: HeatMapVisualProperty) { - cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty::unwrap)) + cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty.Companion::unwrap)) } /** @@ -113402,7 +117537,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: IResolvable) { - cdkBuilder.histogramVisual(histogramVisual.let(IResolvable::unwrap)) + cdkBuilder.histogramVisual(histogramVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113412,7 +117547,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: HistogramVisualProperty) { - cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty::unwrap)) + cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty.Companion::unwrap)) } /** @@ -113433,7 +117568,7 @@ public open class CfnDashboard( * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: IResolvable) { - cdkBuilder.insightVisual(insightVisual.let(IResolvable::unwrap)) + cdkBuilder.insightVisual(insightVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113443,7 +117578,7 @@ public open class CfnDashboard( * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: InsightVisualProperty) { - cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty::unwrap)) + cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty.Companion::unwrap)) } /** @@ -113464,7 +117599,7 @@ public open class CfnDashboard( * User Guide* . */ override fun kpiVisual(kpiVisual: IResolvable) { - cdkBuilder.kpiVisual(kpiVisual.let(IResolvable::unwrap)) + cdkBuilder.kpiVisual(kpiVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113474,7 +117609,7 @@ public open class CfnDashboard( * User Guide* . */ override fun kpiVisual(kpiVisual: KPIVisualProperty) { - cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty::unwrap)) + cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty.Companion::unwrap)) } /** @@ -113495,7 +117630,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: IResolvable) { - cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable::unwrap)) + cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113505,7 +117640,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: LineChartVisualProperty) { - cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty::unwrap)) + cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty.Companion::unwrap)) } /** @@ -113526,7 +117661,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: IResolvable) { - cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable::unwrap)) + cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113536,7 +117671,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: PieChartVisualProperty) { - cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty::unwrap)) + cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty.Companion::unwrap)) } /** @@ -113557,7 +117692,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: IResolvable) { - cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable::unwrap)) + cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113567,7 +117702,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty) { - cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty::unwrap)) + cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty.Companion::unwrap)) } /** @@ -113588,7 +117723,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: IResolvable) { - cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable::unwrap)) + cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113598,7 +117733,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: RadarChartVisualProperty) { - cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty::unwrap)) + cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty.Companion::unwrap)) } /** @@ -113619,7 +117754,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: IResolvable) { - cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable::unwrap)) + cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113629,7 +117764,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty) { - cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty::unwrap)) + cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty.Companion::unwrap)) } /** @@ -113651,7 +117786,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: IResolvable) { - cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113661,7 +117796,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty) { - cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty::unwrap)) + cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty.Companion::unwrap)) } /** @@ -113683,7 +117818,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun tableVisual(tableVisual: IResolvable) { - cdkBuilder.tableVisual(tableVisual.let(IResolvable::unwrap)) + cdkBuilder.tableVisual(tableVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113693,7 +117828,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun tableVisual(tableVisual: TableVisualProperty) { - cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty::unwrap)) + cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty.Companion::unwrap)) } /** @@ -113714,7 +117849,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: IResolvable) { - cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable::unwrap)) + cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113724,7 +117859,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: TreeMapVisualProperty) { - cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty::unwrap)) + cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty.Companion::unwrap)) } /** @@ -113745,7 +117880,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: IResolvable) { - cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable::unwrap)) + cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113755,7 +117890,7 @@ public open class CfnDashboard( * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: WaterfallVisualProperty) { - cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty::unwrap)) + cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty.Companion::unwrap)) } /** @@ -113776,7 +117911,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: IResolvable) { - cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable::unwrap)) + cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable.Companion::unwrap)) } /** @@ -113786,7 +117921,7 @@ public open class CfnDashboard( * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty) { - cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty::unwrap)) + cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty.Companion::unwrap)) } /** @@ -114153,7 +118288,7 @@ public open class CfnDashboard( * text. */ override fun formatText(formatText: IResolvable) { - cdkBuilder.formatText(formatText.let(IResolvable::unwrap)) + cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** @@ -114161,7 +118296,7 @@ public open class CfnDashboard( * text. */ override fun formatText(formatText: LongFormatTextProperty) { - cdkBuilder.formatText(formatText.let(LongFormatTextProperty::unwrap)) + cdkBuilder.formatText(formatText.let(LongFormatTextProperty.Companion::unwrap)) } /** @@ -114300,7 +118435,7 @@ public open class CfnDashboard( * text. */ override fun formatText(formatText: IResolvable) { - cdkBuilder.formatText(formatText.let(IResolvable::unwrap)) + cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** @@ -114308,7 +118443,7 @@ public open class CfnDashboard( * text. */ override fun formatText(formatText: ShortFormatTextProperty) { - cdkBuilder.formatText(formatText.let(ShortFormatTextProperty::unwrap)) + cdkBuilder.formatText(formatText.let(ShortFormatTextProperty.Companion::unwrap)) } /** @@ -114461,7 +118596,7 @@ public open class CfnDashboard( * @param breakdowns The breakdown field wells of a waterfall visual. */ override fun breakdowns(breakdowns: IResolvable) { - cdkBuilder.breakdowns(breakdowns.let(IResolvable::unwrap)) + cdkBuilder.breakdowns(breakdowns.let(IResolvable.Companion::unwrap)) } /** @@ -114480,7 +118615,7 @@ public open class CfnDashboard( * @param categories The category field wells of a waterfall visual. */ override fun categories(categories: IResolvable) { - cdkBuilder.categories(categories.let(IResolvable::unwrap)) + cdkBuilder.categories(categories.let(IResolvable.Companion::unwrap)) } /** @@ -114499,7 +118634,7 @@ public open class CfnDashboard( * @param values The value field wells of a waterfall visual. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -114563,6 +118698,132 @@ public open class CfnDashboard( } } + /** + * The color configuration of a waterfall visual. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * WaterfallChartColorConfigurationProperty waterfallChartColorConfigurationProperty = + * WaterfallChartColorConfigurationProperty.builder() + * .groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty.builder() + * .negativeBarColor("negativeBarColor") + * .positiveBarColor("positiveBarColor") + * .totalBarColor("totalBarColor") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartcolorconfiguration.html) + */ + public interface WaterfallChartColorConfigurationProperty { + /** + * The color configuration for individual groups within a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartcolorconfiguration-groupcolorconfiguration) + */ + public fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() + + /** + * A builder for [WaterfallChartColorConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + public fun groupColorConfiguration(groupColorConfiguration: IResolvable) + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + public + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("04f6895dca2550a553ab887b1a052df90d2fa6a0a7e1480346408382f3764272") + public + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty.builder() + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + override fun groupColorConfiguration(groupColorConfiguration: IResolvable) { + cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + override + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) { + cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(WaterfallChartGroupColorConfigurationProperty.Companion::unwrap)) + } + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("04f6895dca2550a553ab887b1a052df90d2fa6a0a7e1480346408382f3764272") + override + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit): + Unit = + groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty(groupColorConfiguration)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty, + ) : CdkObject(cdkObject), WaterfallChartColorConfigurationProperty { + /** + * The color configuration for individual groups within a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartcolorconfiguration-groupcolorconfiguration) + */ + override fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WaterfallChartColorConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty): + WaterfallChartColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + WaterfallChartColorConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WaterfallChartColorConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartColorConfigurationProperty + } + } + /** * The configuration for a waterfall visual. * @@ -114588,6 +118849,13 @@ public open class CfnDashboard( */ public fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() + /** + * The color configuration of a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-colorconfiguration) + */ + public fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() + /** * The data label configuration of a waterfall visual. * @@ -114691,6 +118959,24 @@ public open class CfnDashboard( public fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + public fun colorConfiguration(colorConfiguration: IResolvable) + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + public fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e01965f5a82367b768a4f128e4dc26e15c3254a8a460f4e8407e3d1665e18cd4") + public + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit) + /** * @param dataLabels The data label configuration of a waterfall visual. */ @@ -114852,7 +119138,7 @@ public open class CfnDashboard( * category axis. */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: IResolvable) { - cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -114861,7 +119147,7 @@ public open class CfnDashboard( */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -114879,7 +119165,7 @@ public open class CfnDashboard( * axis label. */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: IResolvable) { - cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -114888,7 +119174,7 @@ public open class CfnDashboard( */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -114901,18 +119187,42 @@ public open class CfnDashboard( fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryAxisLabelOptions(ChartAxisLabelOptionsProperty(categoryAxisLabelOptions)) + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + override fun colorConfiguration(colorConfiguration: IResolvable) { + cdkBuilder.colorConfiguration(colorConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + override + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) { + cdkBuilder.colorConfiguration(colorConfiguration.let(WaterfallChartColorConfigurationProperty.Companion::unwrap)) + } + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e01965f5a82367b768a4f128e4dc26e15c3254a8a460f4e8407e3d1665e18cd4") + override + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit): + Unit = colorConfiguration(WaterfallChartColorConfigurationProperty(colorConfiguration)) + /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -114927,14 +119237,14 @@ public open class CfnDashboard( * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty.Companion::unwrap)) } /** @@ -114949,14 +119259,14 @@ public open class CfnDashboard( * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -114972,7 +119282,7 @@ public open class CfnDashboard( * y-axis. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -114981,7 +119291,7 @@ public open class CfnDashboard( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -114999,7 +119309,7 @@ public open class CfnDashboard( * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -115008,7 +119318,7 @@ public open class CfnDashboard( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -115025,14 +119335,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -115048,14 +119358,14 @@ public open class CfnDashboard( * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -115071,7 +119381,7 @@ public open class CfnDashboard( * visual. */ override fun waterfallChartOptions(waterfallChartOptions: IResolvable) { - cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable::unwrap)) + cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable.Companion::unwrap)) } /** @@ -115079,7 +119389,7 @@ public open class CfnDashboard( * visual. */ override fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty) { - cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty::unwrap)) + cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty.Companion::unwrap)) } /** @@ -115114,6 +119424,13 @@ public open class CfnDashboard( */ override fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() + /** + * The color configuration of a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartconfiguration.html#cfn-quicksight-dashboard-waterfallchartconfiguration-colorconfiguration) + */ + override fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() + /** * The data label configuration of a waterfall visual. * @@ -115249,7 +119566,7 @@ public open class CfnDashboard( */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: IResolvable) { - cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -115258,7 +119575,7 @@ public open class CfnDashboard( */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty) { - cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -115307,6 +119624,144 @@ public open class CfnDashboard( } } + /** + * The color configuration for individual groups within a waterfall visual. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * WaterfallChartGroupColorConfigurationProperty waterfallChartGroupColorConfigurationProperty = + * WaterfallChartGroupColorConfigurationProperty.builder() + * .negativeBarColor("negativeBarColor") + * .positiveBarColor("positiveBarColor") + * .totalBarColor("totalBarColor") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html) + */ + public interface WaterfallChartGroupColorConfigurationProperty { + /** + * Defines the color for the negative bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-negativebarcolor) + */ + public fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() + + /** + * Defines the color for the positive bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-positivebarcolor) + */ + public fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() + + /** + * Defines the color for the total bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-totalbarcolor) + */ + public fun totalBarColor(): String? = unwrap(this).getTotalBarColor() + + /** + * A builder for [WaterfallChartGroupColorConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. + */ + public fun negativeBarColor(negativeBarColor: String) + + /** + * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. + */ + public fun positiveBarColor(positiveBarColor: String) + + /** + * @param totalBarColor Defines the color for the total bars of a waterfall chart. + */ + public fun totalBarColor(totalBarColor: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty.builder() + + /** + * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. + */ + override fun negativeBarColor(negativeBarColor: String) { + cdkBuilder.negativeBarColor(negativeBarColor) + } + + /** + * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. + */ + override fun positiveBarColor(positiveBarColor: String) { + cdkBuilder.positiveBarColor(positiveBarColor) + } + + /** + * @param totalBarColor Defines the color for the total bars of a waterfall chart. + */ + override fun totalBarColor(totalBarColor: String) { + cdkBuilder.totalBarColor(totalBarColor) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty, + ) : CdkObject(cdkObject), WaterfallChartGroupColorConfigurationProperty { + /** + * Defines the color for the negative bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-negativebarcolor) + */ + override fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() + + /** + * Defines the color for the positive bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-positivebarcolor) + */ + override fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() + + /** + * Defines the color for the total bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-dashboard-waterfallchartgroupcolorconfiguration-totalbarcolor) + */ + override fun totalBarColor(): String? = unwrap(this).getTotalBarColor() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WaterfallChartGroupColorConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty): + WaterfallChartGroupColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + WaterfallChartGroupColorConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WaterfallChartGroupColorConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnDashboard.WaterfallChartGroupColorConfigurationProperty + } + } + /** * The options that determine the presentation of a waterfall visual. * @@ -115502,14 +119957,14 @@ public open class CfnDashboard( * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: IResolvable) { - cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -115525,7 +119980,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -115750,7 +120205,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -115769,14 +120224,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty.Companion::unwrap)) } /** @@ -115793,7 +120248,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -115815,14 +120270,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -115837,14 +120292,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -116761,7 +121216,7 @@ public open class CfnDashboard( * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -116783,7 +121238,7 @@ public open class CfnDashboard( * Values are aggregated based on group by fields. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -116976,7 +121431,7 @@ public open class CfnDashboard( * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -116984,7 +121439,7 @@ public open class CfnDashboard( * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -117001,14 +121456,14 @@ public open class CfnDashboard( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: WordCloudFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty.Companion::unwrap)) } /** @@ -117023,14 +121478,14 @@ public open class CfnDashboard( * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty.Companion::unwrap)) } /** @@ -117046,14 +121501,14 @@ public open class CfnDashboard( * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: IResolvable) { - cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable::unwrap)) + cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable.Companion::unwrap)) } /** * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty) { - cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty::unwrap)) + cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty.Companion::unwrap)) } /** @@ -117669,7 +122124,7 @@ public open class CfnDashboard( * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: IResolvable) { - cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -117677,7 +122132,7 @@ public open class CfnDashboard( */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty) { - cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -118067,7 +122522,7 @@ public open class CfnDashboard( * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -118075,7 +122530,7 @@ public open class CfnDashboard( * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -118092,7 +122547,7 @@ public open class CfnDashboard( * @param categorySort The sort configuration of group by fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -118317,7 +122772,7 @@ public open class CfnDashboard( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -118336,14 +122791,14 @@ public open class CfnDashboard( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty.Companion::unwrap)) } /** @@ -118360,7 +122815,7 @@ public open class CfnDashboard( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -118382,14 +122837,14 @@ public open class CfnDashboard( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -118404,14 +122859,14 @@ public open class CfnDashboard( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboardProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboardProps.kt index e223c8ba5d..b32ee0e8c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboardProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDashboardProps.kt @@ -453,7 +453,7 @@ public interface CfnDashboardProps { * `COLLAPSED` or `EXPANDED` . This option is `COLLAPSED` by default. */ override fun dashboardPublishOptions(dashboardPublishOptions: IResolvable) { - cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(IResolvable::unwrap)) + cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(IResolvable.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public interface CfnDashboardProps { */ override fun dashboardPublishOptions(dashboardPublishOptions: CfnDashboard.DashboardPublishOptionsProperty) { - cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(CfnDashboard.DashboardPublishOptionsProperty::unwrap)) + cdkBuilder.dashboardPublishOptions(dashboardPublishOptions.let(CfnDashboard.DashboardPublishOptionsProperty.Companion::unwrap)) } /** @@ -496,14 +496,14 @@ public interface CfnDashboardProps { * @param definition the value to be set. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** * @param definition the value to be set. */ override fun definition(definition: CfnDashboard.DashboardVersionDefinitionProperty) { - cdkBuilder.definition(definition.let(CfnDashboard.DashboardVersionDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnDashboard.DashboardVersionDefinitionProperty.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public interface CfnDashboardProps { * that you want to apply overrides to. */ override fun linkSharingConfiguration(linkSharingConfiguration: IResolvable) { - cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public interface CfnDashboardProps { */ override fun linkSharingConfiguration(linkSharingConfiguration: CfnDashboard.LinkSharingConfigurationProperty) { - cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(CfnDashboard.LinkSharingConfigurationProperty::unwrap)) + cdkBuilder.linkSharingConfiguration(linkSharingConfiguration.let(CfnDashboard.LinkSharingConfigurationProperty.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public interface CfnDashboardProps { * values. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public interface CfnDashboardProps { * values. */ override fun parameters(parameters: CfnDashboard.ParametersProperty) { - cdkBuilder.parameters(parameters.let(CfnDashboard.ParametersProperty::unwrap)) + cdkBuilder.parameters(parameters.let(CfnDashboard.ParametersProperty.Companion::unwrap)) } /** @@ -604,7 +604,7 @@ public interface CfnDashboardProps { * To specify no permissions, omit the permissions list. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -641,7 +641,7 @@ public interface CfnDashboardProps { * placeholder. */ override fun sourceEntity(sourceEntity: IResolvable) { - cdkBuilder.sourceEntity(sourceEntity.let(IResolvable::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface CfnDashboardProps { * placeholder. */ override fun sourceEntity(sourceEntity: CfnDashboard.DashboardSourceEntityProperty) { - cdkBuilder.sourceEntity(sourceEntity.let(CfnDashboard.DashboardSourceEntityProperty::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(CfnDashboard.DashboardSourceEntityProperty.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public interface CfnDashboardProps { * the dashboard. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public interface CfnDashboardProps { * When you set this value to `LENIENT` , validation is skipped for specific errors. */ override fun validationStrategy(validationStrategy: IResolvable) { - cdkBuilder.validationStrategy(validationStrategy.let(IResolvable::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public interface CfnDashboardProps { * When you set this value to `LENIENT` , validation is skipped for specific errors. */ override fun validationStrategy(validationStrategy: CfnDashboard.ValidationStrategyProperty) { - cdkBuilder.validationStrategy(validationStrategy.let(CfnDashboard.ValidationStrategyProperty::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(CfnDashboard.ValidationStrategyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSet.kt index 52e089dced..3743a021e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSet.kt @@ -264,7 +264,7 @@ public open class CfnDataSet( cdkObject: software.amazon.awscdk.services.quicksight.CfnDataSet, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.quicksight.CfnDataSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.quicksight.CfnDataSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -273,8 +273,8 @@ public open class CfnDataSet( id: String, props: CfnDataSetProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnDataSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataSetProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnDataSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSetProps.Companion::unwrap)) ) public constructor( @@ -338,7 +338,7 @@ public open class CfnDataSet( * Groupings of columns that work together in certain Amazon QuickSight features. */ public open fun columnGroups(`value`: IResolvable) { - unwrap(this).setColumnGroups(`value`.let(IResolvable::unwrap)) + unwrap(this).setColumnGroups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnDataSet( * A set of one or more definitions of a `ColumnLevelPermissionRule` . */ public open fun columnLevelPermissionRules(`value`: IResolvable) { - unwrap(this).setColumnLevelPermissionRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setColumnLevelPermissionRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -399,14 +399,14 @@ public open class CfnDataSet( * The refresh properties of a dataset. */ public open fun dataSetRefreshProperties(`value`: IResolvable) { - unwrap(this).setDataSetRefreshProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSetRefreshProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * The refresh properties of a dataset. */ public open fun dataSetRefreshProperties(`value`: DataSetRefreshPropertiesProperty) { - unwrap(this).setDataSetRefreshProperties(`value`.let(DataSetRefreshPropertiesProperty::unwrap)) + unwrap(this).setDataSetRefreshProperties(`value`.let(DataSetRefreshPropertiesProperty.Companion::unwrap)) } /** @@ -427,14 +427,14 @@ public open class CfnDataSet( * The usage configuration to apply to child datasets that reference this dataset as a source. */ public open fun dataSetUsageConfiguration(`value`: IResolvable) { - unwrap(this).setDataSetUsageConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSetUsageConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The usage configuration to apply to child datasets that reference this dataset as a source. */ public open fun dataSetUsageConfiguration(`value`: DataSetUsageConfigurationProperty) { - unwrap(this).setDataSetUsageConfiguration(`value`.let(DataSetUsageConfigurationProperty::unwrap)) + unwrap(this).setDataSetUsageConfiguration(`value`.let(DataSetUsageConfigurationProperty.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnDataSet( * The parameters that are declared in a dataset. */ public open fun datasetParameters(`value`: IResolvable) { - unwrap(this).setDatasetParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setDatasetParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public open class CfnDataSet( * The folder that contains fields and nested subfolders for your dataset. */ public open fun fieldFolders(`value`: IResolvable) { - unwrap(this).setFieldFolders(`value`.let(IResolvable::unwrap)) + unwrap(this).setFieldFolders(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -510,14 +510,14 @@ public open class CfnDataSet( * The wait policy to use when creating or updating a Dataset. */ public open fun ingestionWaitPolicy(`value`: IResolvable) { - unwrap(this).setIngestionWaitPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setIngestionWaitPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** * The wait policy to use when creating or updating a Dataset. */ public open fun ingestionWaitPolicy(`value`: IngestionWaitPolicyProperty) { - unwrap(this).setIngestionWaitPolicy(`value`.let(IngestionWaitPolicyProperty::unwrap)) + unwrap(this).setIngestionWaitPolicy(`value`.let(IngestionWaitPolicyProperty.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnDataSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class CfnDataSet( * Configures the combination and transformation of the data from the physical tables. */ public open fun logicalTableMap(`value`: IResolvable) { - unwrap(this).setLogicalTableMap(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogicalTableMap(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnDataSet( * A list of resource permissions on the dataset. */ public open fun permissions(`value`: IResolvable) { - unwrap(this).setPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public open class CfnDataSet( * Declares the physical tables that are available in the underlying data sources. */ public open fun physicalTableMap(`value`: IResolvable) { - unwrap(this).setPhysicalTableMap(`value`.let(IResolvable::unwrap)) + unwrap(this).setPhysicalTableMap(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -620,14 +620,14 @@ public open class CfnDataSet( * The row-level security configuration for the data that you want to create. */ public open fun rowLevelPermissionDataSet(`value`: IResolvable) { - unwrap(this).setRowLevelPermissionDataSet(`value`.let(IResolvable::unwrap)) + unwrap(this).setRowLevelPermissionDataSet(`value`.let(IResolvable.Companion::unwrap)) } /** * The row-level security configuration for the data that you want to create. */ public open fun rowLevelPermissionDataSet(`value`: RowLevelPermissionDataSetProperty) { - unwrap(this).setRowLevelPermissionDataSet(`value`.let(RowLevelPermissionDataSetProperty::unwrap)) + unwrap(this).setRowLevelPermissionDataSet(`value`.let(RowLevelPermissionDataSetProperty.Companion::unwrap)) } /** @@ -649,7 +649,7 @@ public open class CfnDataSet( * The element you can use to define tags for row-level security. */ public open fun rowLevelPermissionTagConfiguration(`value`: IResolvable) { - unwrap(this).setRowLevelPermissionTagConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRowLevelPermissionTagConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class CfnDataSet( */ public open fun rowLevelPermissionTagConfiguration(`value`: RowLevelPermissionTagConfigurationProperty) { - unwrap(this).setRowLevelPermissionTagConfiguration(`value`.let(RowLevelPermissionTagConfigurationProperty::unwrap)) + unwrap(this).setRowLevelPermissionTagConfiguration(`value`.let(RowLevelPermissionTagConfigurationProperty.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnDataSet( * Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1090,7 +1090,7 @@ public open class CfnDataSet( * features. */ override fun columnGroups(columnGroups: IResolvable) { - cdkBuilder.columnGroups(columnGroups.let(IResolvable::unwrap)) + cdkBuilder.columnGroups(columnGroups.let(IResolvable.Companion::unwrap)) } /** @@ -1125,7 +1125,7 @@ public open class CfnDataSet( * `ColumnLevelPermissionRule` . */ override fun columnLevelPermissionRules(columnLevelPermissionRules: IResolvable) { - cdkBuilder.columnLevelPermissionRules(columnLevelPermissionRules.let(IResolvable::unwrap)) + cdkBuilder.columnLevelPermissionRules(columnLevelPermissionRules.let(IResolvable.Companion::unwrap)) } /** @@ -1168,7 +1168,7 @@ public open class CfnDataSet( * @param dataSetRefreshProperties The refresh properties of a dataset. */ override fun dataSetRefreshProperties(dataSetRefreshProperties: IResolvable) { - cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(IResolvable::unwrap)) + cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1179,7 +1179,7 @@ public open class CfnDataSet( */ override fun dataSetRefreshProperties(dataSetRefreshProperties: DataSetRefreshPropertiesProperty) { - cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(DataSetRefreshPropertiesProperty::unwrap)) + cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(DataSetRefreshPropertiesProperty.Companion::unwrap)) } /** @@ -1202,7 +1202,7 @@ public open class CfnDataSet( * reference this dataset as a source. */ override fun dataSetUsageConfiguration(dataSetUsageConfiguration: IResolvable) { - cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1214,7 +1214,7 @@ public open class CfnDataSet( */ override fun dataSetUsageConfiguration(dataSetUsageConfiguration: DataSetUsageConfigurationProperty) { - cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(DataSetUsageConfigurationProperty::unwrap)) + cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(DataSetUsageConfigurationProperty.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class CfnDataSet( * @param datasetParameters The parameters that are declared in a dataset. */ override fun datasetParameters(datasetParameters: IResolvable) { - cdkBuilder.datasetParameters(datasetParameters.let(IResolvable::unwrap)) + cdkBuilder.datasetParameters(datasetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1267,7 +1267,7 @@ public open class CfnDataSet( * @param fieldFolders The folder that contains fields and nested subfolders for your dataset. */ override fun fieldFolders(fieldFolders: IResolvable) { - cdkBuilder.fieldFolders(fieldFolders.let(IResolvable::unwrap)) + cdkBuilder.fieldFolders(fieldFolders.let(IResolvable.Companion::unwrap)) } /** @@ -1299,7 +1299,7 @@ public open class CfnDataSet( * @param ingestionWaitPolicy The wait policy to use when creating or updating a Dataset. */ override fun ingestionWaitPolicy(ingestionWaitPolicy: IResolvable) { - cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(IResolvable::unwrap)) + cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1311,7 +1311,7 @@ public open class CfnDataSet( * @param ingestionWaitPolicy The wait policy to use when creating or updating a Dataset. */ override fun ingestionWaitPolicy(ingestionWaitPolicy: IngestionWaitPolicyProperty) { - cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(IngestionWaitPolicyProperty::unwrap)) + cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(IngestionWaitPolicyProperty.Companion::unwrap)) } /** @@ -1336,7 +1336,7 @@ public open class CfnDataSet( * physical tables. */ override fun logicalTableMap(logicalTableMap: IResolvable) { - cdkBuilder.logicalTableMap(logicalTableMap.let(IResolvable::unwrap)) + cdkBuilder.logicalTableMap(logicalTableMap.let(IResolvable.Companion::unwrap)) } /** @@ -1367,7 +1367,7 @@ public open class CfnDataSet( * @param permissions A list of resource permissions on the dataset. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -1396,7 +1396,7 @@ public open class CfnDataSet( * data sources. */ override fun physicalTableMap(physicalTableMap: IResolvable) { - cdkBuilder.physicalTableMap(physicalTableMap.let(IResolvable::unwrap)) + cdkBuilder.physicalTableMap(physicalTableMap.let(IResolvable.Companion::unwrap)) } /** @@ -1418,7 +1418,7 @@ public open class CfnDataSet( * want to create. */ override fun rowLevelPermissionDataSet(rowLevelPermissionDataSet: IResolvable) { - cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(IResolvable::unwrap)) + cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(IResolvable.Companion::unwrap)) } /** @@ -1430,7 +1430,7 @@ public open class CfnDataSet( */ override fun rowLevelPermissionDataSet(rowLevelPermissionDataSet: RowLevelPermissionDataSetProperty) { - cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(RowLevelPermissionDataSetProperty::unwrap)) + cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(RowLevelPermissionDataSetProperty.Companion::unwrap)) } /** @@ -1456,7 +1456,7 @@ public open class CfnDataSet( */ override fun rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration: IResolvable) { - cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(IResolvable::unwrap)) + cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1468,7 +1468,7 @@ public open class CfnDataSet( */ override fun rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration: RowLevelPermissionTagConfigurationProperty) { - cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(RowLevelPermissionTagConfigurationProperty::unwrap)) + cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(RowLevelPermissionTagConfigurationProperty.Companion::unwrap)) } /** @@ -1493,7 +1493,7 @@ public open class CfnDataSet( * the dataset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1994,14 +1994,14 @@ public open class CfnDataSet( * @param geoSpatialColumnGroup Geospatial column group that denotes a hierarchy. */ override fun geoSpatialColumnGroup(geoSpatialColumnGroup: IResolvable) { - cdkBuilder.geoSpatialColumnGroup(geoSpatialColumnGroup.let(IResolvable::unwrap)) + cdkBuilder.geoSpatialColumnGroup(geoSpatialColumnGroup.let(IResolvable.Companion::unwrap)) } /** * @param geoSpatialColumnGroup Geospatial column group that denotes a hierarchy. */ override fun geoSpatialColumnGroup(geoSpatialColumnGroup: GeoSpatialColumnGroupProperty) { - cdkBuilder.geoSpatialColumnGroup(geoSpatialColumnGroup.let(GeoSpatialColumnGroupProperty::unwrap)) + cdkBuilder.geoSpatialColumnGroup(geoSpatialColumnGroup.let(GeoSpatialColumnGroupProperty.Companion::unwrap)) } /** @@ -2259,14 +2259,14 @@ public open class CfnDataSet( * @param columnDescription A description for a column. */ override fun columnDescription(columnDescription: IResolvable) { - cdkBuilder.columnDescription(columnDescription.let(IResolvable::unwrap)) + cdkBuilder.columnDescription(columnDescription.let(IResolvable.Companion::unwrap)) } /** * @param columnDescription A description for a column. */ override fun columnDescription(columnDescription: ColumnDescriptionProperty) { - cdkBuilder.columnDescription(columnDescription.let(ColumnDescriptionProperty::unwrap)) + cdkBuilder.columnDescription(columnDescription.let(ColumnDescriptionProperty.Companion::unwrap)) } /** @@ -2387,7 +2387,7 @@ public open class CfnDataSet( * @param columns Calculated columns to create. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -2534,7 +2534,7 @@ public open class CfnDataSet( * @param columns The column schema from the SQL query result set. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -2691,14 +2691,14 @@ public open class CfnDataSet( * @param refreshConfiguration The refresh configuration for a dataset. */ override fun refreshConfiguration(refreshConfiguration: IResolvable) { - cdkBuilder.refreshConfiguration(refreshConfiguration.let(IResolvable::unwrap)) + cdkBuilder.refreshConfiguration(refreshConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param refreshConfiguration The refresh configuration for a dataset. */ override fun refreshConfiguration(refreshConfiguration: RefreshConfigurationProperty) { - cdkBuilder.refreshConfiguration(refreshConfiguration.let(RefreshConfigurationProperty::unwrap)) + cdkBuilder.refreshConfiguration(refreshConfiguration.let(RefreshConfigurationProperty.Companion::unwrap)) } /** @@ -2829,7 +2829,7 @@ public open class CfnDataSet( * direct query can use this dataset as a source. */ override fun disableUseAsDirectQuerySource(disableUseAsDirectQuerySource: IResolvable) { - cdkBuilder.disableUseAsDirectQuerySource(disableUseAsDirectQuerySource.let(IResolvable::unwrap)) + cdkBuilder.disableUseAsDirectQuerySource(disableUseAsDirectQuerySource.let(IResolvable.Companion::unwrap)) } /** @@ -2845,7 +2845,7 @@ public open class CfnDataSet( * stored in QuickSight can use this dataset as a source. */ override fun disableUseAsImportedSource(disableUseAsImportedSource: IResolvable) { - cdkBuilder.disableUseAsImportedSource(disableUseAsImportedSource.let(IResolvable::unwrap)) + cdkBuilder.disableUseAsImportedSource(disableUseAsImportedSource.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3062,7 +3062,7 @@ public open class CfnDataSet( * @param dateTimeDatasetParameter A date time parameter that is created in the dataset. */ override fun dateTimeDatasetParameter(dateTimeDatasetParameter: IResolvable) { - cdkBuilder.dateTimeDatasetParameter(dateTimeDatasetParameter.let(IResolvable::unwrap)) + cdkBuilder.dateTimeDatasetParameter(dateTimeDatasetParameter.let(IResolvable.Companion::unwrap)) } /** @@ -3070,7 +3070,7 @@ public open class CfnDataSet( */ override fun dateTimeDatasetParameter(dateTimeDatasetParameter: DateTimeDatasetParameterProperty) { - cdkBuilder.dateTimeDatasetParameter(dateTimeDatasetParameter.let(DateTimeDatasetParameterProperty::unwrap)) + cdkBuilder.dateTimeDatasetParameter(dateTimeDatasetParameter.let(DateTimeDatasetParameterProperty.Companion::unwrap)) } /** @@ -3087,7 +3087,7 @@ public open class CfnDataSet( * @param decimalDatasetParameter A decimal parameter that is created in the dataset. */ override fun decimalDatasetParameter(decimalDatasetParameter: IResolvable) { - cdkBuilder.decimalDatasetParameter(decimalDatasetParameter.let(IResolvable::unwrap)) + cdkBuilder.decimalDatasetParameter(decimalDatasetParameter.let(IResolvable.Companion::unwrap)) } /** @@ -3095,7 +3095,7 @@ public open class CfnDataSet( */ override fun decimalDatasetParameter(decimalDatasetParameter: DecimalDatasetParameterProperty) { - cdkBuilder.decimalDatasetParameter(decimalDatasetParameter.let(DecimalDatasetParameterProperty::unwrap)) + cdkBuilder.decimalDatasetParameter(decimalDatasetParameter.let(DecimalDatasetParameterProperty.Companion::unwrap)) } /** @@ -3111,7 +3111,7 @@ public open class CfnDataSet( * @param integerDatasetParameter An integer parameter that is created in the dataset. */ override fun integerDatasetParameter(integerDatasetParameter: IResolvable) { - cdkBuilder.integerDatasetParameter(integerDatasetParameter.let(IResolvable::unwrap)) + cdkBuilder.integerDatasetParameter(integerDatasetParameter.let(IResolvable.Companion::unwrap)) } /** @@ -3119,7 +3119,7 @@ public open class CfnDataSet( */ override fun integerDatasetParameter(integerDatasetParameter: IntegerDatasetParameterProperty) { - cdkBuilder.integerDatasetParameter(integerDatasetParameter.let(IntegerDatasetParameterProperty::unwrap)) + cdkBuilder.integerDatasetParameter(integerDatasetParameter.let(IntegerDatasetParameterProperty.Companion::unwrap)) } /** @@ -3135,14 +3135,14 @@ public open class CfnDataSet( * @param stringDatasetParameter A string parameter that is created in the dataset. */ override fun stringDatasetParameter(stringDatasetParameter: IResolvable) { - cdkBuilder.stringDatasetParameter(stringDatasetParameter.let(IResolvable::unwrap)) + cdkBuilder.stringDatasetParameter(stringDatasetParameter.let(IResolvable.Companion::unwrap)) } /** * @param stringDatasetParameter A string parameter that is created in the dataset. */ override fun stringDatasetParameter(stringDatasetParameter: StringDatasetParameterProperty) { - cdkBuilder.stringDatasetParameter(stringDatasetParameter.let(StringDatasetParameterProperty::unwrap)) + cdkBuilder.stringDatasetParameter(stringDatasetParameter.let(StringDatasetParameterProperty.Companion::unwrap)) } /** @@ -3437,7 +3437,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -3445,7 +3445,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: DateTimeDatasetParameterDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DateTimeDatasetParameterDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DateTimeDatasetParameterDefaultValuesProperty.Companion::unwrap)) } /** @@ -3611,7 +3611,7 @@ public open class CfnDataSet( * @param staticValues A list of static default values for a given decimal parameter. */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -3772,7 +3772,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -3780,7 +3780,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: DecimalDatasetParameterDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DecimalDatasetParameterDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DecimalDatasetParameterDefaultValuesProperty.Companion::unwrap)) } /** @@ -4294,14 +4294,14 @@ public open class CfnDataSet( * @param lookbackWindow The lookback window setup for an incremental refresh configuration. */ override fun lookbackWindow(lookbackWindow: IResolvable) { - cdkBuilder.lookbackWindow(lookbackWindow.let(IResolvable::unwrap)) + cdkBuilder.lookbackWindow(lookbackWindow.let(IResolvable.Companion::unwrap)) } /** * @param lookbackWindow The lookback window setup for an incremental refresh configuration. */ override fun lookbackWindow(lookbackWindow: LookbackWindowProperty) { - cdkBuilder.lookbackWindow(lookbackWindow.let(LookbackWindowProperty::unwrap)) + cdkBuilder.lookbackWindow(lookbackWindow.let(LookbackWindowProperty.Companion::unwrap)) } /** @@ -4448,7 +4448,7 @@ public open class CfnDataSet( * Default (true). Applicable only when `DataSetImportMode` mode is set to SPICE. */ override fun waitForSpiceIngestion(waitForSpiceIngestion: IResolvable) { - cdkBuilder.waitForSpiceIngestion(waitForSpiceIngestion.let(IResolvable::unwrap)) + cdkBuilder.waitForSpiceIngestion(waitForSpiceIngestion.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4700,7 +4700,7 @@ public open class CfnDataSet( * @param staticValues A list of static default values for a given integer parameter. */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -4861,7 +4861,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -4869,7 +4869,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: IntegerDatasetParameterDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(IntegerDatasetParameterDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IntegerDatasetParameterDefaultValuesProperty.Companion::unwrap)) } /** @@ -5103,14 +5103,14 @@ public open class CfnDataSet( * @param leftJoinKeyProperties Join key properties of the left operand. */ override fun leftJoinKeyProperties(leftJoinKeyProperties: IResolvable) { - cdkBuilder.leftJoinKeyProperties(leftJoinKeyProperties.let(IResolvable::unwrap)) + cdkBuilder.leftJoinKeyProperties(leftJoinKeyProperties.let(IResolvable.Companion::unwrap)) } /** * @param leftJoinKeyProperties Join key properties of the left operand. */ override fun leftJoinKeyProperties(leftJoinKeyProperties: JoinKeyPropertiesProperty) { - cdkBuilder.leftJoinKeyProperties(leftJoinKeyProperties.let(JoinKeyPropertiesProperty::unwrap)) + cdkBuilder.leftJoinKeyProperties(leftJoinKeyProperties.let(JoinKeyPropertiesProperty.Companion::unwrap)) } /** @@ -5140,14 +5140,14 @@ public open class CfnDataSet( * @param rightJoinKeyProperties Join key properties of the right operand. */ override fun rightJoinKeyProperties(rightJoinKeyProperties: IResolvable) { - cdkBuilder.rightJoinKeyProperties(rightJoinKeyProperties.let(IResolvable::unwrap)) + cdkBuilder.rightJoinKeyProperties(rightJoinKeyProperties.let(IResolvable.Companion::unwrap)) } /** * @param rightJoinKeyProperties Join key properties of the right operand. */ override fun rightJoinKeyProperties(rightJoinKeyProperties: JoinKeyPropertiesProperty) { - cdkBuilder.rightJoinKeyProperties(rightJoinKeyProperties.let(JoinKeyPropertiesProperty::unwrap)) + cdkBuilder.rightJoinKeyProperties(rightJoinKeyProperties.let(JoinKeyPropertiesProperty.Companion::unwrap)) } /** @@ -5309,7 +5309,7 @@ public open class CfnDataSet( * This is used by Amazon QuickSight to optimize query performance. */ override fun uniqueKey(uniqueKey: IResolvable) { - cdkBuilder.uniqueKey(uniqueKey.let(IResolvable::unwrap)) + cdkBuilder.uniqueKey(uniqueKey.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5520,7 +5520,7 @@ public open class CfnDataSet( * For this structure to be valid, only one of the attributes can be non-null. */ override fun dataTransforms(dataTransforms: IResolvable) { - cdkBuilder.dataTransforms(dataTransforms.let(IResolvable::unwrap)) + cdkBuilder.dataTransforms(dataTransforms.let(IResolvable.Companion::unwrap)) } /** @@ -5542,14 +5542,14 @@ public open class CfnDataSet( * @param source Source of this logical table. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source Source of this logical table. */ override fun source(source: LogicalTableSourceProperty) { - cdkBuilder.source(source.let(LogicalTableSourceProperty::unwrap)) + cdkBuilder.source(source.let(LogicalTableSourceProperty.Companion::unwrap)) } /** @@ -5713,14 +5713,14 @@ public open class CfnDataSet( * @param joinInstruction Specifies the result of a join of two logical tables. */ override fun joinInstruction(joinInstruction: IResolvable) { - cdkBuilder.joinInstruction(joinInstruction.let(IResolvable::unwrap)) + cdkBuilder.joinInstruction(joinInstruction.let(IResolvable.Companion::unwrap)) } /** * @param joinInstruction Specifies the result of a join of two logical tables. */ override fun joinInstruction(joinInstruction: JoinInstructionProperty) { - cdkBuilder.joinInstruction(joinInstruction.let(JoinInstructionProperty::unwrap)) + cdkBuilder.joinInstruction(joinInstruction.let(JoinInstructionProperty.Companion::unwrap)) } /** @@ -6065,7 +6065,7 @@ public open class CfnDataSet( * @param decimalStaticValues A list of static default values for a given decimal parameter. */ override fun decimalStaticValues(decimalStaticValues: IResolvable) { - cdkBuilder.decimalStaticValues(decimalStaticValues.let(IResolvable::unwrap)) + cdkBuilder.decimalStaticValues(decimalStaticValues.let(IResolvable.Companion::unwrap)) } /** @@ -6085,7 +6085,7 @@ public open class CfnDataSet( * @param integerStaticValues A list of static default values for a given integer parameter. */ override fun integerStaticValues(integerStaticValues: IResolvable) { - cdkBuilder.integerStaticValues(integerStaticValues.let(IResolvable::unwrap)) + cdkBuilder.integerStaticValues(integerStaticValues.let(IResolvable.Companion::unwrap)) } /** @@ -6425,14 +6425,14 @@ public open class CfnDataSet( * @param newDefaultValues The new default values for the parameter. */ override fun newDefaultValues(newDefaultValues: IResolvable) { - cdkBuilder.newDefaultValues(newDefaultValues.let(IResolvable::unwrap)) + cdkBuilder.newDefaultValues(newDefaultValues.let(IResolvable.Companion::unwrap)) } /** * @param newDefaultValues The new default values for the parameter. */ override fun newDefaultValues(newDefaultValues: NewDefaultValuesProperty) { - cdkBuilder.newDefaultValues(newDefaultValues.let(NewDefaultValuesProperty::unwrap)) + cdkBuilder.newDefaultValues(newDefaultValues.let(NewDefaultValuesProperty.Companion::unwrap)) } /** @@ -6654,14 +6654,14 @@ public open class CfnDataSet( * @param customSql A physical table type built from the results of the custom SQL query. */ override fun customSql(customSql: IResolvable) { - cdkBuilder.customSql(customSql.let(IResolvable::unwrap)) + cdkBuilder.customSql(customSql.let(IResolvable.Companion::unwrap)) } /** * @param customSql A physical table type built from the results of the custom SQL query. */ override fun customSql(customSql: CustomSqlProperty) { - cdkBuilder.customSql(customSql.let(CustomSqlProperty::unwrap)) + cdkBuilder.customSql(customSql.let(CustomSqlProperty.Companion::unwrap)) } /** @@ -6676,14 +6676,14 @@ public open class CfnDataSet( * @param relationalTable A physical table type for relational data sources. */ override fun relationalTable(relationalTable: IResolvable) { - cdkBuilder.relationalTable(relationalTable.let(IResolvable::unwrap)) + cdkBuilder.relationalTable(relationalTable.let(IResolvable.Companion::unwrap)) } /** * @param relationalTable A physical table type for relational data sources. */ override fun relationalTable(relationalTable: RelationalTableProperty) { - cdkBuilder.relationalTable(relationalTable.let(RelationalTableProperty::unwrap)) + cdkBuilder.relationalTable(relationalTable.let(RelationalTableProperty.Companion::unwrap)) } /** @@ -6698,14 +6698,14 @@ public open class CfnDataSet( * @param s3Source A physical table type for as S3 data source. */ override fun s3Source(s3Source: IResolvable) { - cdkBuilder.s3Source(s3Source.let(IResolvable::unwrap)) + cdkBuilder.s3Source(s3Source.let(IResolvable.Companion::unwrap)) } /** * @param s3Source A physical table type for as S3 data source. */ override fun s3Source(s3Source: S3SourceProperty) { - cdkBuilder.s3Source(s3Source.let(S3SourceProperty::unwrap)) + cdkBuilder.s3Source(s3Source.let(S3SourceProperty.Companion::unwrap)) } /** @@ -6923,14 +6923,14 @@ public open class CfnDataSet( * @param incrementalRefresh The incremental refresh for the dataset. */ override fun incrementalRefresh(incrementalRefresh: IResolvable) { - cdkBuilder.incrementalRefresh(incrementalRefresh.let(IResolvable::unwrap)) + cdkBuilder.incrementalRefresh(incrementalRefresh.let(IResolvable.Companion::unwrap)) } /** * @param incrementalRefresh The incremental refresh for the dataset. */ override fun incrementalRefresh(incrementalRefresh: IncrementalRefreshProperty) { - cdkBuilder.incrementalRefresh(incrementalRefresh.let(IncrementalRefreshProperty::unwrap)) + cdkBuilder.incrementalRefresh(incrementalRefresh.let(IncrementalRefreshProperty.Companion::unwrap)) } /** @@ -7105,7 +7105,7 @@ public open class CfnDataSet( * @param inputColumns The column schema of the table. */ override fun inputColumns(inputColumns: IResolvable) { - cdkBuilder.inputColumns(inputColumns.let(IResolvable::unwrap)) + cdkBuilder.inputColumns(inputColumns.let(IResolvable.Companion::unwrap)) } /** @@ -7809,7 +7809,7 @@ public open class CfnDataSet( * and columns that they are assigned to. */ override fun tagRules(tagRules: IResolvable) { - cdkBuilder.tagRules(tagRules.let(IResolvable::unwrap)) + cdkBuilder.tagRules(tagRules.let(IResolvable.Companion::unwrap)) } /** @@ -8185,7 +8185,7 @@ public open class CfnDataSet( * For files that aren't JSON, only `STRING` data types are supported in input columns. */ override fun inputColumns(inputColumns: IResolvable) { - cdkBuilder.inputColumns(inputColumns.let(IResolvable::unwrap)) + cdkBuilder.inputColumns(inputColumns.let(IResolvable.Companion::unwrap)) } /** @@ -8209,14 +8209,14 @@ public open class CfnDataSet( * @param uploadSettings Information about the format for the S3 source file or files. */ override fun uploadSettings(uploadSettings: IResolvable) { - cdkBuilder.uploadSettings(uploadSettings.let(IResolvable::unwrap)) + cdkBuilder.uploadSettings(uploadSettings.let(IResolvable.Companion::unwrap)) } /** * @param uploadSettings Information about the format for the S3 source file or files. */ override fun uploadSettings(uploadSettings: UploadSettingsProperty) { - cdkBuilder.uploadSettings(uploadSettings.let(UploadSettingsProperty::unwrap)) + cdkBuilder.uploadSettings(uploadSettings.let(UploadSettingsProperty.Companion::unwrap)) } /** @@ -8485,7 +8485,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -8493,7 +8493,7 @@ public open class CfnDataSet( * This structure only accepts static values. */ override fun defaultValues(defaultValues: StringDatasetParameterDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(StringDatasetParameterDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(StringDatasetParameterDefaultValuesProperty.Companion::unwrap)) } /** @@ -8671,7 +8671,7 @@ public open class CfnDataSet( * This is not tags for the AWS tagging feature. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(ColumnTagProperty::unwrap)) + cdkBuilder.tags(tags.map(ColumnTagProperty.Companion::unwrap)) } /** @@ -8998,7 +8998,7 @@ public open class CfnDataSet( * type. */ override fun castColumnTypeOperation(castColumnTypeOperation: IResolvable) { - cdkBuilder.castColumnTypeOperation(castColumnTypeOperation.let(IResolvable::unwrap)) + cdkBuilder.castColumnTypeOperation(castColumnTypeOperation.let(IResolvable.Companion::unwrap)) } /** @@ -9007,7 +9007,7 @@ public open class CfnDataSet( */ override fun castColumnTypeOperation(castColumnTypeOperation: CastColumnTypeOperationProperty) { - cdkBuilder.castColumnTypeOperation(castColumnTypeOperation.let(CastColumnTypeOperationProperty::unwrap)) + cdkBuilder.castColumnTypeOperation(castColumnTypeOperation.let(CastColumnTypeOperationProperty.Companion::unwrap)) } /** @@ -9025,7 +9025,7 @@ public open class CfnDataSet( * Columns created in one such operation form a lexical closure. */ override fun createColumnsOperation(createColumnsOperation: IResolvable) { - cdkBuilder.createColumnsOperation(createColumnsOperation.let(IResolvable::unwrap)) + cdkBuilder.createColumnsOperation(createColumnsOperation.let(IResolvable.Companion::unwrap)) } /** @@ -9033,7 +9033,7 @@ public open class CfnDataSet( * Columns created in one such operation form a lexical closure. */ override fun createColumnsOperation(createColumnsOperation: CreateColumnsOperationProperty) { - cdkBuilder.createColumnsOperation(createColumnsOperation.let(CreateColumnsOperationProperty::unwrap)) + cdkBuilder.createColumnsOperation(createColumnsOperation.let(CreateColumnsOperationProperty.Companion::unwrap)) } /** @@ -9050,14 +9050,14 @@ public open class CfnDataSet( * @param filterOperation An operation that filters rows based on some condition. */ override fun filterOperation(filterOperation: IResolvable) { - cdkBuilder.filterOperation(filterOperation.let(IResolvable::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(IResolvable.Companion::unwrap)) } /** * @param filterOperation An operation that filters rows based on some condition. */ override fun filterOperation(filterOperation: FilterOperationProperty) { - cdkBuilder.filterOperation(filterOperation.let(FilterOperationProperty::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(FilterOperationProperty.Companion::unwrap)) } /** @@ -9074,7 +9074,7 @@ public open class CfnDataSet( */ override fun overrideDatasetParameterOperation(overrideDatasetParameterOperation: IResolvable) { - cdkBuilder.overrideDatasetParameterOperation(overrideDatasetParameterOperation.let(IResolvable::unwrap)) + cdkBuilder.overrideDatasetParameterOperation(overrideDatasetParameterOperation.let(IResolvable.Companion::unwrap)) } /** @@ -9083,7 +9083,7 @@ public open class CfnDataSet( */ override fun overrideDatasetParameterOperation(overrideDatasetParameterOperation: OverrideDatasetParameterOperationProperty) { - cdkBuilder.overrideDatasetParameterOperation(overrideDatasetParameterOperation.let(OverrideDatasetParameterOperationProperty::unwrap)) + cdkBuilder.overrideDatasetParameterOperation(overrideDatasetParameterOperation.let(OverrideDatasetParameterOperationProperty.Companion::unwrap)) } /** @@ -9102,7 +9102,7 @@ public open class CfnDataSet( * Operations that come after a projection can only refer to projected columns. */ override fun projectOperation(projectOperation: IResolvable) { - cdkBuilder.projectOperation(projectOperation.let(IResolvable::unwrap)) + cdkBuilder.projectOperation(projectOperation.let(IResolvable.Companion::unwrap)) } /** @@ -9110,7 +9110,7 @@ public open class CfnDataSet( * Operations that come after a projection can only refer to projected columns. */ override fun projectOperation(projectOperation: ProjectOperationProperty) { - cdkBuilder.projectOperation(projectOperation.let(ProjectOperationProperty::unwrap)) + cdkBuilder.projectOperation(projectOperation.let(ProjectOperationProperty.Companion::unwrap)) } /** @@ -9126,14 +9126,14 @@ public open class CfnDataSet( * @param renameColumnOperation An operation that renames a column. */ override fun renameColumnOperation(renameColumnOperation: IResolvable) { - cdkBuilder.renameColumnOperation(renameColumnOperation.let(IResolvable::unwrap)) + cdkBuilder.renameColumnOperation(renameColumnOperation.let(IResolvable.Companion::unwrap)) } /** * @param renameColumnOperation An operation that renames a column. */ override fun renameColumnOperation(renameColumnOperation: RenameColumnOperationProperty) { - cdkBuilder.renameColumnOperation(renameColumnOperation.let(RenameColumnOperationProperty::unwrap)) + cdkBuilder.renameColumnOperation(renameColumnOperation.let(RenameColumnOperationProperty.Companion::unwrap)) } /** @@ -9149,14 +9149,14 @@ public open class CfnDataSet( * @param tagColumnOperation An operation that tags a column with additional information. */ override fun tagColumnOperation(tagColumnOperation: IResolvable) { - cdkBuilder.tagColumnOperation(tagColumnOperation.let(IResolvable::unwrap)) + cdkBuilder.tagColumnOperation(tagColumnOperation.let(IResolvable.Companion::unwrap)) } /** * @param tagColumnOperation An operation that tags a column with additional information. */ override fun tagColumnOperation(tagColumnOperation: TagColumnOperationProperty) { - cdkBuilder.tagColumnOperation(tagColumnOperation.let(TagColumnOperationProperty::unwrap)) + cdkBuilder.tagColumnOperation(tagColumnOperation.let(TagColumnOperationProperty.Companion::unwrap)) } /** @@ -9362,7 +9362,7 @@ public open class CfnDataSet( * row. */ override fun containsHeader(containsHeader: IResolvable) { - cdkBuilder.containsHeader(containsHeader.let(IResolvable::unwrap)) + cdkBuilder.containsHeader(containsHeader.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSetProps.kt index 022f3a9bf1..d7641bac63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSetProps.kt @@ -641,7 +641,7 @@ public interface CfnDataSetProps { * Currently, only geospatial hierarchy is supported. */ override fun columnGroups(columnGroups: IResolvable) { - cdkBuilder.columnGroups(columnGroups.let(IResolvable::unwrap)) + cdkBuilder.columnGroups(columnGroups.let(IResolvable.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public interface CfnDataSetProps { * `ColumnLevelPermissionRule` . */ override fun columnLevelPermissionRules(columnLevelPermissionRules: IResolvable) { - cdkBuilder.columnLevelPermissionRules(columnLevelPermissionRules.let(IResolvable::unwrap)) + cdkBuilder.columnLevelPermissionRules(columnLevelPermissionRules.let(IResolvable.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public interface CfnDataSetProps { * @param dataSetRefreshProperties The refresh properties of a dataset. */ override fun dataSetRefreshProperties(dataSetRefreshProperties: IResolvable) { - cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(IResolvable::unwrap)) + cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(IResolvable.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public interface CfnDataSetProps { */ override fun dataSetRefreshProperties(dataSetRefreshProperties: CfnDataSet.DataSetRefreshPropertiesProperty) { - cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(CfnDataSet.DataSetRefreshPropertiesProperty::unwrap)) + cdkBuilder.dataSetRefreshProperties(dataSetRefreshProperties.let(CfnDataSet.DataSetRefreshPropertiesProperty.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public interface CfnDataSetProps { * reference this dataset as a source. */ override fun dataSetUsageConfiguration(dataSetUsageConfiguration: IResolvable) { - cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public interface CfnDataSetProps { */ override fun dataSetUsageConfiguration(dataSetUsageConfiguration: CfnDataSet.DataSetUsageConfigurationProperty) { - cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(CfnDataSet.DataSetUsageConfigurationProperty::unwrap)) + cdkBuilder.dataSetUsageConfiguration(dataSetUsageConfiguration.let(CfnDataSet.DataSetUsageConfigurationProperty.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public interface CfnDataSetProps { * @param datasetParameters The parameters that are declared in a dataset. */ override fun datasetParameters(datasetParameters: IResolvable) { - cdkBuilder.datasetParameters(datasetParameters.let(IResolvable::unwrap)) + cdkBuilder.datasetParameters(datasetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public interface CfnDataSetProps { * @param fieldFolders The folder that contains fields and nested subfolders for your dataset. */ override fun fieldFolders(fieldFolders: IResolvable) { - cdkBuilder.fieldFolders(fieldFolders.let(IResolvable::unwrap)) + cdkBuilder.fieldFolders(fieldFolders.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public interface CfnDataSetProps { * The default is to wait for SPICE ingestion to finish with timeout of 36 hours. */ override fun ingestionWaitPolicy(ingestionWaitPolicy: IResolvable) { - cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(IResolvable::unwrap)) + cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public interface CfnDataSetProps { * The default is to wait for SPICE ingestion to finish with timeout of 36 hours. */ override fun ingestionWaitPolicy(ingestionWaitPolicy: CfnDataSet.IngestionWaitPolicyProperty) { - cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(CfnDataSet.IngestionWaitPolicyProperty::unwrap)) + cdkBuilder.ingestionWaitPolicy(ingestionWaitPolicy.let(CfnDataSet.IngestionWaitPolicyProperty.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public interface CfnDataSetProps { * physical tables. */ override fun logicalTableMap(logicalTableMap: IResolvable) { - cdkBuilder.logicalTableMap(logicalTableMap.let(IResolvable::unwrap)) + cdkBuilder.logicalTableMap(logicalTableMap.let(IResolvable.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public interface CfnDataSetProps { * @param permissions A list of resource permissions on the dataset. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -858,7 +858,7 @@ public interface CfnDataSetProps { * data sources. */ override fun physicalTableMap(physicalTableMap: IResolvable) { - cdkBuilder.physicalTableMap(physicalTableMap.let(IResolvable::unwrap)) + cdkBuilder.physicalTableMap(physicalTableMap.let(IResolvable.Companion::unwrap)) } /** @@ -874,7 +874,7 @@ public interface CfnDataSetProps { * want to create. */ override fun rowLevelPermissionDataSet(rowLevelPermissionDataSet: IResolvable) { - cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(IResolvable::unwrap)) + cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(IResolvable.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public interface CfnDataSetProps { */ override fun rowLevelPermissionDataSet(rowLevelPermissionDataSet: CfnDataSet.RowLevelPermissionDataSetProperty) { - cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(CfnDataSet.RowLevelPermissionDataSetProperty::unwrap)) + cdkBuilder.rowLevelPermissionDataSet(rowLevelPermissionDataSet.let(CfnDataSet.RowLevelPermissionDataSetProperty.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public interface CfnDataSetProps { */ override fun rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration: IResolvable) { - cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(IResolvable::unwrap)) + cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -912,7 +912,7 @@ public interface CfnDataSetProps { */ override fun rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration: CfnDataSet.RowLevelPermissionTagConfigurationProperty) { - cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(CfnDataSet.RowLevelPermissionTagConfigurationProperty::unwrap)) + cdkBuilder.rowLevelPermissionTagConfiguration(rowLevelPermissionTagConfiguration.let(CfnDataSet.RowLevelPermissionTagConfigurationProperty.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public interface CfnDataSetProps { * the dataset. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSource.kt index a9cbeed0ef..4173ea023f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSource.kt @@ -378,7 +378,7 @@ public open class CfnDataSource( cdkObject: software.amazon.awscdk.services.quicksight.CfnDataSource, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.quicksight.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.quicksight.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -387,8 +387,8 @@ public open class CfnDataSource( id: String, props: CfnDataSourceProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataSourceProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnDataSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataSourceProps.Companion::unwrap)) ) public constructor( @@ -410,7 +410,7 @@ public open class CfnDataSource( * with this data source. */ public open fun alternateDataSourceParameters(`value`: IResolvable) { - unwrap(this).setAlternateDataSourceParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlternateDataSourceParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -469,14 +469,14 @@ public open class CfnDataSource( * The credentials Amazon QuickSight that uses to connect to your underlying source. */ public open fun credentials(`value`: IResolvable) { - unwrap(this).setCredentials(`value`.let(IResolvable::unwrap)) + unwrap(this).setCredentials(`value`.let(IResolvable.Companion::unwrap)) } /** * The credentials Amazon QuickSight that uses to connect to your underlying source. */ public open fun credentials(`value`: DataSourceCredentialsProperty) { - unwrap(this).setCredentials(`value`.let(DataSourceCredentialsProperty::unwrap)) + unwrap(this).setCredentials(`value`.let(DataSourceCredentialsProperty.Companion::unwrap)) } /** @@ -508,14 +508,14 @@ public open class CfnDataSource( * The parameters that Amazon QuickSight uses to connect to your underlying source. */ public open fun dataSourceParameters(`value`: IResolvable) { - unwrap(this).setDataSourceParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSourceParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters that Amazon QuickSight uses to connect to your underlying source. */ public open fun dataSourceParameters(`value`: DataSourceParametersProperty) { - unwrap(this).setDataSourceParameters(`value`.let(DataSourceParametersProperty::unwrap)) + unwrap(this).setDataSourceParameters(`value`.let(DataSourceParametersProperty.Companion::unwrap)) } /** @@ -535,14 +535,14 @@ public open class CfnDataSource( * Error information from the last update or the creation of the data source. */ public open fun errorInfo(`value`: IResolvable) { - unwrap(this).setErrorInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setErrorInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Error information from the last update or the creation of the data source. */ public open fun errorInfo(`value`: DataSourceErrorInfoProperty) { - unwrap(this).setErrorInfo(`value`.let(DataSourceErrorInfoProperty::unwrap)) + unwrap(this).setErrorInfo(`value`.let(DataSourceErrorInfoProperty.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class CfnDataSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class CfnDataSource( * A list of resource permissions on the data source. */ public open fun permissions(`value`: IResolvable) { - unwrap(this).setPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnDataSource( * underlying source. */ public open fun sslProperties(`value`: IResolvable) { - unwrap(this).setSslProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setSslProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnDataSource( * underlying source. */ public open fun sslProperties(`value`: SslPropertiesProperty) { - unwrap(this).setSslProperties(`value`.let(SslPropertiesProperty::unwrap)) + unwrap(this).setSslProperties(`value`.let(SslPropertiesProperty.Companion::unwrap)) } /** @@ -644,7 +644,7 @@ public open class CfnDataSource( * Contains a map of the key-value pairs for the resource tag or tags assigned to the data source. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public open class CfnDataSource( * to your underlying source. */ public open fun vpcConnectionProperties(`value`: IResolvable) { - unwrap(this).setVpcConnectionProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConnectionProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -687,7 +687,7 @@ public open class CfnDataSource( * to your underlying source. */ public open fun vpcConnectionProperties(`value`: VpcConnectionPropertiesProperty) { - unwrap(this).setVpcConnectionProperties(`value`.let(VpcConnectionPropertiesProperty::unwrap)) + unwrap(this).setVpcConnectionProperties(`value`.let(VpcConnectionPropertiesProperty.Companion::unwrap)) } /** @@ -1021,7 +1021,7 @@ public open class CfnDataSource( * to share for the credentials stored with this data source. */ override fun alternateDataSourceParameters(alternateDataSourceParameters: IResolvable) { - cdkBuilder.alternateDataSourceParameters(alternateDataSourceParameters.let(IResolvable::unwrap)) + cdkBuilder.alternateDataSourceParameters(alternateDataSourceParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1083,7 +1083,7 @@ public open class CfnDataSource( * source. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** @@ -1096,7 +1096,7 @@ public open class CfnDataSource( * source. */ override fun credentials(credentials: DataSourceCredentialsProperty) { - cdkBuilder.credentials(credentials.let(DataSourceCredentialsProperty::unwrap)) + cdkBuilder.credentials(credentials.let(DataSourceCredentialsProperty.Companion::unwrap)) } /** @@ -1133,7 +1133,7 @@ public open class CfnDataSource( * underlying source. */ override fun dataSourceParameters(dataSourceParameters: IResolvable) { - cdkBuilder.dataSourceParameters(dataSourceParameters.let(IResolvable::unwrap)) + cdkBuilder.dataSourceParameters(dataSourceParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1144,7 +1144,7 @@ public open class CfnDataSource( * underlying source. */ override fun dataSourceParameters(dataSourceParameters: DataSourceParametersProperty) { - cdkBuilder.dataSourceParameters(dataSourceParameters.let(DataSourceParametersProperty::unwrap)) + cdkBuilder.dataSourceParameters(dataSourceParameters.let(DataSourceParametersProperty.Companion::unwrap)) } /** @@ -1167,7 +1167,7 @@ public open class CfnDataSource( * @param errorInfo Error information from the last update or the creation of the data source. */ override fun errorInfo(errorInfo: IResolvable) { - cdkBuilder.errorInfo(errorInfo.let(IResolvable::unwrap)) + cdkBuilder.errorInfo(errorInfo.let(IResolvable.Companion::unwrap)) } /** @@ -1177,7 +1177,7 @@ public open class CfnDataSource( * @param errorInfo Error information from the last update or the creation of the data source. */ override fun errorInfo(errorInfo: DataSourceErrorInfoProperty) { - cdkBuilder.errorInfo(errorInfo.let(DataSourceErrorInfoProperty::unwrap)) + cdkBuilder.errorInfo(errorInfo.let(DataSourceErrorInfoProperty.Companion::unwrap)) } /** @@ -1208,7 +1208,7 @@ public open class CfnDataSource( * @param permissions A list of resource permissions on the data source. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public open class CfnDataSource( * connects to your underlying source. */ override fun sslProperties(sslProperties: IResolvable) { - cdkBuilder.sslProperties(sslProperties.let(IResolvable::unwrap)) + cdkBuilder.sslProperties(sslProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1250,7 +1250,7 @@ public open class CfnDataSource( * connects to your underlying source. */ override fun sslProperties(sslProperties: SslPropertiesProperty) { - cdkBuilder.sslProperties(sslProperties.let(SslPropertiesProperty::unwrap)) + cdkBuilder.sslProperties(sslProperties.let(SslPropertiesProperty.Companion::unwrap)) } /** @@ -1275,7 +1275,7 @@ public open class CfnDataSource( * the data source. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1310,7 +1310,7 @@ public open class CfnDataSource( * a VPC connection when connecting to your underlying source. */ override fun vpcConnectionProperties(vpcConnectionProperties: IResolvable) { - cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(IResolvable::unwrap)) + cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1322,7 +1322,7 @@ public open class CfnDataSource( * a VPC connection when connecting to your underlying source. */ override fun vpcConnectionProperties(vpcConnectionProperties: VpcConnectionPropertiesProperty) { - cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(VpcConnectionPropertiesProperty::unwrap)) + cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(VpcConnectionPropertiesProperty.Companion::unwrap)) } /** @@ -2160,7 +2160,7 @@ public open class CfnDataSource( * these `Credentials` is automatically allowed. */ override fun alternateDataSourceParameters(alternateDataSourceParameters: IResolvable) { - cdkBuilder.alternateDataSourceParameters(alternateDataSourceParameters.let(IResolvable::unwrap)) + cdkBuilder.alternateDataSourceParameters(alternateDataSourceParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2491,7 +2491,7 @@ public open class CfnDataSource( * . */ override fun credentialPair(credentialPair: IResolvable) { - cdkBuilder.credentialPair(credentialPair.let(IResolvable::unwrap)) + cdkBuilder.credentialPair(credentialPair.let(IResolvable.Companion::unwrap)) } /** @@ -2501,7 +2501,7 @@ public open class CfnDataSource( * . */ override fun credentialPair(credentialPair: CredentialPairProperty) { - cdkBuilder.credentialPair(credentialPair.let(CredentialPairProperty::unwrap)) + cdkBuilder.credentialPair(credentialPair.let(CredentialPairProperty.Companion::unwrap)) } /** @@ -3325,7 +3325,7 @@ public open class CfnDataSource( * @param amazonElasticsearchParameters The parameters for OpenSearch. */ override fun amazonElasticsearchParameters(amazonElasticsearchParameters: IResolvable) { - cdkBuilder.amazonElasticsearchParameters(amazonElasticsearchParameters.let(IResolvable::unwrap)) + cdkBuilder.amazonElasticsearchParameters(amazonElasticsearchParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3333,7 +3333,7 @@ public open class CfnDataSource( */ override fun amazonElasticsearchParameters(amazonElasticsearchParameters: AmazonElasticsearchParametersProperty) { - cdkBuilder.amazonElasticsearchParameters(amazonElasticsearchParameters.let(AmazonElasticsearchParametersProperty::unwrap)) + cdkBuilder.amazonElasticsearchParameters(amazonElasticsearchParameters.let(AmazonElasticsearchParametersProperty.Companion::unwrap)) } /** @@ -3350,7 +3350,7 @@ public open class CfnDataSource( * @param amazonOpenSearchParameters The parameters for OpenSearch. */ override fun amazonOpenSearchParameters(amazonOpenSearchParameters: IResolvable) { - cdkBuilder.amazonOpenSearchParameters(amazonOpenSearchParameters.let(IResolvable::unwrap)) + cdkBuilder.amazonOpenSearchParameters(amazonOpenSearchParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3358,7 +3358,7 @@ public open class CfnDataSource( */ override fun amazonOpenSearchParameters(amazonOpenSearchParameters: AmazonOpenSearchParametersProperty) { - cdkBuilder.amazonOpenSearchParameters(amazonOpenSearchParameters.let(AmazonOpenSearchParametersProperty::unwrap)) + cdkBuilder.amazonOpenSearchParameters(amazonOpenSearchParameters.let(AmazonOpenSearchParametersProperty.Companion::unwrap)) } /** @@ -3375,14 +3375,14 @@ public open class CfnDataSource( * @param athenaParameters The parameters for Amazon Athena. */ override fun athenaParameters(athenaParameters: IResolvable) { - cdkBuilder.athenaParameters(athenaParameters.let(IResolvable::unwrap)) + cdkBuilder.athenaParameters(athenaParameters.let(IResolvable.Companion::unwrap)) } /** * @param athenaParameters The parameters for Amazon Athena. */ override fun athenaParameters(athenaParameters: AthenaParametersProperty) { - cdkBuilder.athenaParameters(athenaParameters.let(AthenaParametersProperty::unwrap)) + cdkBuilder.athenaParameters(athenaParameters.let(AthenaParametersProperty.Companion::unwrap)) } /** @@ -3397,14 +3397,14 @@ public open class CfnDataSource( * @param auroraParameters The parameters for Amazon Aurora MySQL. */ override fun auroraParameters(auroraParameters: IResolvable) { - cdkBuilder.auroraParameters(auroraParameters.let(IResolvable::unwrap)) + cdkBuilder.auroraParameters(auroraParameters.let(IResolvable.Companion::unwrap)) } /** * @param auroraParameters The parameters for Amazon Aurora MySQL. */ override fun auroraParameters(auroraParameters: AuroraParametersProperty) { - cdkBuilder.auroraParameters(auroraParameters.let(AuroraParametersProperty::unwrap)) + cdkBuilder.auroraParameters(auroraParameters.let(AuroraParametersProperty.Companion::unwrap)) } /** @@ -3419,7 +3419,7 @@ public open class CfnDataSource( * @param auroraPostgreSqlParameters The parameters for Amazon Aurora. */ override fun auroraPostgreSqlParameters(auroraPostgreSqlParameters: IResolvable) { - cdkBuilder.auroraPostgreSqlParameters(auroraPostgreSqlParameters.let(IResolvable::unwrap)) + cdkBuilder.auroraPostgreSqlParameters(auroraPostgreSqlParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3427,7 +3427,7 @@ public open class CfnDataSource( */ override fun auroraPostgreSqlParameters(auroraPostgreSqlParameters: AuroraPostgreSqlParametersProperty) { - cdkBuilder.auroraPostgreSqlParameters(auroraPostgreSqlParameters.let(AuroraPostgreSqlParametersProperty::unwrap)) + cdkBuilder.auroraPostgreSqlParameters(auroraPostgreSqlParameters.let(AuroraPostgreSqlParametersProperty.Companion::unwrap)) } /** @@ -3445,7 +3445,7 @@ public open class CfnDataSource( * Databricks data source. */ override fun databricksParameters(databricksParameters: IResolvable) { - cdkBuilder.databricksParameters(databricksParameters.let(IResolvable::unwrap)) + cdkBuilder.databricksParameters(databricksParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3453,7 +3453,7 @@ public open class CfnDataSource( * Databricks data source. */ override fun databricksParameters(databricksParameters: DatabricksParametersProperty) { - cdkBuilder.databricksParameters(databricksParameters.let(DatabricksParametersProperty::unwrap)) + cdkBuilder.databricksParameters(databricksParameters.let(DatabricksParametersProperty.Companion::unwrap)) } /** @@ -3470,14 +3470,14 @@ public open class CfnDataSource( * @param mariaDbParameters The parameters for MariaDB. */ override fun mariaDbParameters(mariaDbParameters: IResolvable) { - cdkBuilder.mariaDbParameters(mariaDbParameters.let(IResolvable::unwrap)) + cdkBuilder.mariaDbParameters(mariaDbParameters.let(IResolvable.Companion::unwrap)) } /** * @param mariaDbParameters The parameters for MariaDB. */ override fun mariaDbParameters(mariaDbParameters: MariaDbParametersProperty) { - cdkBuilder.mariaDbParameters(mariaDbParameters.let(MariaDbParametersProperty::unwrap)) + cdkBuilder.mariaDbParameters(mariaDbParameters.let(MariaDbParametersProperty.Companion::unwrap)) } /** @@ -3493,14 +3493,14 @@ public open class CfnDataSource( * @param mySqlParameters The parameters for MySQL. */ override fun mySqlParameters(mySqlParameters: IResolvable) { - cdkBuilder.mySqlParameters(mySqlParameters.let(IResolvable::unwrap)) + cdkBuilder.mySqlParameters(mySqlParameters.let(IResolvable.Companion::unwrap)) } /** * @param mySqlParameters The parameters for MySQL. */ override fun mySqlParameters(mySqlParameters: MySqlParametersProperty) { - cdkBuilder.mySqlParameters(mySqlParameters.let(MySqlParametersProperty::unwrap)) + cdkBuilder.mySqlParameters(mySqlParameters.let(MySqlParametersProperty.Companion::unwrap)) } /** @@ -3515,14 +3515,14 @@ public open class CfnDataSource( * @param oracleParameters Oracle parameters. */ override fun oracleParameters(oracleParameters: IResolvable) { - cdkBuilder.oracleParameters(oracleParameters.let(IResolvable::unwrap)) + cdkBuilder.oracleParameters(oracleParameters.let(IResolvable.Companion::unwrap)) } /** * @param oracleParameters Oracle parameters. */ override fun oracleParameters(oracleParameters: OracleParametersProperty) { - cdkBuilder.oracleParameters(oracleParameters.let(OracleParametersProperty::unwrap)) + cdkBuilder.oracleParameters(oracleParameters.let(OracleParametersProperty.Companion::unwrap)) } /** @@ -3537,14 +3537,14 @@ public open class CfnDataSource( * @param postgreSqlParameters The parameters for PostgreSQL. */ override fun postgreSqlParameters(postgreSqlParameters: IResolvable) { - cdkBuilder.postgreSqlParameters(postgreSqlParameters.let(IResolvable::unwrap)) + cdkBuilder.postgreSqlParameters(postgreSqlParameters.let(IResolvable.Companion::unwrap)) } /** * @param postgreSqlParameters The parameters for PostgreSQL. */ override fun postgreSqlParameters(postgreSqlParameters: PostgreSqlParametersProperty) { - cdkBuilder.postgreSqlParameters(postgreSqlParameters.let(PostgreSqlParametersProperty::unwrap)) + cdkBuilder.postgreSqlParameters(postgreSqlParameters.let(PostgreSqlParametersProperty.Companion::unwrap)) } /** @@ -3560,14 +3560,14 @@ public open class CfnDataSource( * @param prestoParameters The parameters for Presto. */ override fun prestoParameters(prestoParameters: IResolvable) { - cdkBuilder.prestoParameters(prestoParameters.let(IResolvable::unwrap)) + cdkBuilder.prestoParameters(prestoParameters.let(IResolvable.Companion::unwrap)) } /** * @param prestoParameters The parameters for Presto. */ override fun prestoParameters(prestoParameters: PrestoParametersProperty) { - cdkBuilder.prestoParameters(prestoParameters.let(PrestoParametersProperty::unwrap)) + cdkBuilder.prestoParameters(prestoParameters.let(PrestoParametersProperty.Companion::unwrap)) } /** @@ -3582,14 +3582,14 @@ public open class CfnDataSource( * @param rdsParameters The parameters for Amazon RDS. */ override fun rdsParameters(rdsParameters: IResolvable) { - cdkBuilder.rdsParameters(rdsParameters.let(IResolvable::unwrap)) + cdkBuilder.rdsParameters(rdsParameters.let(IResolvable.Companion::unwrap)) } /** * @param rdsParameters The parameters for Amazon RDS. */ override fun rdsParameters(rdsParameters: RdsParametersProperty) { - cdkBuilder.rdsParameters(rdsParameters.let(RdsParametersProperty::unwrap)) + cdkBuilder.rdsParameters(rdsParameters.let(RdsParametersProperty.Companion::unwrap)) } /** @@ -3604,14 +3604,14 @@ public open class CfnDataSource( * @param redshiftParameters The parameters for Amazon Redshift. */ override fun redshiftParameters(redshiftParameters: IResolvable) { - cdkBuilder.redshiftParameters(redshiftParameters.let(IResolvable::unwrap)) + cdkBuilder.redshiftParameters(redshiftParameters.let(IResolvable.Companion::unwrap)) } /** * @param redshiftParameters The parameters for Amazon Redshift. */ override fun redshiftParameters(redshiftParameters: RedshiftParametersProperty) { - cdkBuilder.redshiftParameters(redshiftParameters.let(RedshiftParametersProperty::unwrap)) + cdkBuilder.redshiftParameters(redshiftParameters.let(RedshiftParametersProperty.Companion::unwrap)) } /** @@ -3627,14 +3627,14 @@ public open class CfnDataSource( * @param s3Parameters The parameters for S3. */ override fun s3Parameters(s3Parameters: IResolvable) { - cdkBuilder.s3Parameters(s3Parameters.let(IResolvable::unwrap)) + cdkBuilder.s3Parameters(s3Parameters.let(IResolvable.Companion::unwrap)) } /** * @param s3Parameters The parameters for S3. */ override fun s3Parameters(s3Parameters: S3ParametersProperty) { - cdkBuilder.s3Parameters(s3Parameters.let(S3ParametersProperty::unwrap)) + cdkBuilder.s3Parameters(s3Parameters.let(S3ParametersProperty.Companion::unwrap)) } /** @@ -3649,14 +3649,14 @@ public open class CfnDataSource( * @param snowflakeParameters The parameters for Snowflake. */ override fun snowflakeParameters(snowflakeParameters: IResolvable) { - cdkBuilder.snowflakeParameters(snowflakeParameters.let(IResolvable::unwrap)) + cdkBuilder.snowflakeParameters(snowflakeParameters.let(IResolvable.Companion::unwrap)) } /** * @param snowflakeParameters The parameters for Snowflake. */ override fun snowflakeParameters(snowflakeParameters: SnowflakeParametersProperty) { - cdkBuilder.snowflakeParameters(snowflakeParameters.let(SnowflakeParametersProperty::unwrap)) + cdkBuilder.snowflakeParameters(snowflakeParameters.let(SnowflakeParametersProperty.Companion::unwrap)) } /** @@ -3672,14 +3672,14 @@ public open class CfnDataSource( * @param sparkParameters The parameters for Spark. */ override fun sparkParameters(sparkParameters: IResolvable) { - cdkBuilder.sparkParameters(sparkParameters.let(IResolvable::unwrap)) + cdkBuilder.sparkParameters(sparkParameters.let(IResolvable.Companion::unwrap)) } /** * @param sparkParameters The parameters for Spark. */ override fun sparkParameters(sparkParameters: SparkParametersProperty) { - cdkBuilder.sparkParameters(sparkParameters.let(SparkParametersProperty::unwrap)) + cdkBuilder.sparkParameters(sparkParameters.let(SparkParametersProperty.Companion::unwrap)) } /** @@ -3694,14 +3694,14 @@ public open class CfnDataSource( * @param sqlServerParameters The parameters for SQL Server. */ override fun sqlServerParameters(sqlServerParameters: IResolvable) { - cdkBuilder.sqlServerParameters(sqlServerParameters.let(IResolvable::unwrap)) + cdkBuilder.sqlServerParameters(sqlServerParameters.let(IResolvable.Companion::unwrap)) } /** * @param sqlServerParameters The parameters for SQL Server. */ override fun sqlServerParameters(sqlServerParameters: SqlServerParametersProperty) { - cdkBuilder.sqlServerParameters(sqlServerParameters.let(SqlServerParametersProperty::unwrap)) + cdkBuilder.sqlServerParameters(sqlServerParameters.let(SqlServerParametersProperty.Companion::unwrap)) } /** @@ -3718,7 +3718,7 @@ public open class CfnDataSource( * source. */ override fun starburstParameters(starburstParameters: IResolvable) { - cdkBuilder.starburstParameters(starburstParameters.let(IResolvable::unwrap)) + cdkBuilder.starburstParameters(starburstParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3726,7 +3726,7 @@ public open class CfnDataSource( * source. */ override fun starburstParameters(starburstParameters: StarburstParametersProperty) { - cdkBuilder.starburstParameters(starburstParameters.let(StarburstParametersProperty::unwrap)) + cdkBuilder.starburstParameters(starburstParameters.let(StarburstParametersProperty.Companion::unwrap)) } /** @@ -3743,14 +3743,14 @@ public open class CfnDataSource( * @param teradataParameters The parameters for Teradata. */ override fun teradataParameters(teradataParameters: IResolvable) { - cdkBuilder.teradataParameters(teradataParameters.let(IResolvable::unwrap)) + cdkBuilder.teradataParameters(teradataParameters.let(IResolvable.Companion::unwrap)) } /** * @param teradataParameters The parameters for Teradata. */ override fun teradataParameters(teradataParameters: TeradataParametersProperty) { - cdkBuilder.teradataParameters(teradataParameters.let(TeradataParametersProperty::unwrap)) + cdkBuilder.teradataParameters(teradataParameters.let(TeradataParametersProperty.Companion::unwrap)) } /** @@ -3766,14 +3766,14 @@ public open class CfnDataSource( * @param trinoParameters The parameters that are required to connect to a Trino data source. */ override fun trinoParameters(trinoParameters: IResolvable) { - cdkBuilder.trinoParameters(trinoParameters.let(IResolvable::unwrap)) + cdkBuilder.trinoParameters(trinoParameters.let(IResolvable.Companion::unwrap)) } /** * @param trinoParameters The parameters that are required to connect to a Trino data source. */ override fun trinoParameters(trinoParameters: TrinoParametersProperty) { - cdkBuilder.trinoParameters(trinoParameters.let(TrinoParametersProperty::unwrap)) + cdkBuilder.trinoParameters(trinoParameters.let(TrinoParametersProperty.Companion::unwrap)) } /** @@ -5412,7 +5412,7 @@ public open class CfnDataSource( * This is NULL if the manifest file was uploaded into Amazon QuickSight. */ override fun manifestFileLocation(manifestFileLocation: IResolvable) { - cdkBuilder.manifestFileLocation(manifestFileLocation.let(IResolvable::unwrap)) + cdkBuilder.manifestFileLocation(manifestFileLocation.let(IResolvable.Companion::unwrap)) } /** @@ -5420,7 +5420,7 @@ public open class CfnDataSource( * This is NULL if the manifest file was uploaded into Amazon QuickSight. */ override fun manifestFileLocation(manifestFileLocation: ManifestFileLocationProperty) { - cdkBuilder.manifestFileLocation(manifestFileLocation.let(ManifestFileLocationProperty::unwrap)) + cdkBuilder.manifestFileLocation(manifestFileLocation.let(ManifestFileLocationProperty.Companion::unwrap)) } /** @@ -5930,7 +5930,7 @@ public open class CfnDataSource( * @param disableSsl A Boolean option to control whether SSL should be disabled. */ override fun disableSsl(disableSsl: IResolvable) { - cdkBuilder.disableSsl(disableSsl.let(IResolvable::unwrap)) + cdkBuilder.disableSsl(disableSsl.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSourceProps.kt index ec1aaa67f7..2fb1cda3c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnDataSourceProps.kt @@ -682,7 +682,7 @@ public interface CfnDataSourceProps { * `DataSourceParameters` are automatically allowed. */ override fun alternateDataSourceParameters(alternateDataSourceParameters: IResolvable) { - cdkBuilder.alternateDataSourceParameters(alternateDataSourceParameters.let(IResolvable::unwrap)) + cdkBuilder.alternateDataSourceParameters(alternateDataSourceParameters.let(IResolvable.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public interface CfnDataSourceProps { * Currently, only credentials based on user name and password are supported. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public interface CfnDataSourceProps { * Currently, only credentials based on user name and password are supported. */ override fun credentials(credentials: CfnDataSource.DataSourceCredentialsProperty) { - cdkBuilder.credentials(credentials.let(CfnDataSource.DataSourceCredentialsProperty::unwrap)) + cdkBuilder.credentials(credentials.let(CfnDataSource.DataSourceCredentialsProperty.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public interface CfnDataSourceProps { * underlying source. */ override fun dataSourceParameters(dataSourceParameters: IResolvable) { - cdkBuilder.dataSourceParameters(dataSourceParameters.let(IResolvable::unwrap)) + cdkBuilder.dataSourceParameters(dataSourceParameters.let(IResolvable.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public interface CfnDataSourceProps { */ override fun dataSourceParameters(dataSourceParameters: CfnDataSource.DataSourceParametersProperty) { - cdkBuilder.dataSourceParameters(dataSourceParameters.let(CfnDataSource.DataSourceParametersProperty::unwrap)) + cdkBuilder.dataSourceParameters(dataSourceParameters.let(CfnDataSource.DataSourceParametersProperty.Companion::unwrap)) } /** @@ -790,14 +790,14 @@ public interface CfnDataSourceProps { * @param errorInfo Error information from the last update or the creation of the data source. */ override fun errorInfo(errorInfo: IResolvable) { - cdkBuilder.errorInfo(errorInfo.let(IResolvable::unwrap)) + cdkBuilder.errorInfo(errorInfo.let(IResolvable.Companion::unwrap)) } /** * @param errorInfo Error information from the last update or the creation of the data source. */ override fun errorInfo(errorInfo: CfnDataSource.DataSourceErrorInfoProperty) { - cdkBuilder.errorInfo(errorInfo.let(CfnDataSource.DataSourceErrorInfoProperty::unwrap)) + cdkBuilder.errorInfo(errorInfo.let(CfnDataSource.DataSourceErrorInfoProperty.Companion::unwrap)) } /** @@ -819,7 +819,7 @@ public interface CfnDataSourceProps { * @param permissions A list of resource permissions on the data source. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public interface CfnDataSourceProps { * connects to your underlying source. */ override fun sslProperties(sslProperties: IResolvable) { - cdkBuilder.sslProperties(sslProperties.let(IResolvable::unwrap)) + cdkBuilder.sslProperties(sslProperties.let(IResolvable.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public interface CfnDataSourceProps { * connects to your underlying source. */ override fun sslProperties(sslProperties: CfnDataSource.SslPropertiesProperty) { - cdkBuilder.sslProperties(sslProperties.let(CfnDataSource.SslPropertiesProperty::unwrap)) + cdkBuilder.sslProperties(sslProperties.let(CfnDataSource.SslPropertiesProperty.Companion::unwrap)) } /** @@ -865,7 +865,7 @@ public interface CfnDataSourceProps { * the data source. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -888,7 +888,7 @@ public interface CfnDataSourceProps { * a VPC connection when connecting to your underlying source. */ override fun vpcConnectionProperties(vpcConnectionProperties: IResolvable) { - cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(IResolvable::unwrap)) + cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(IResolvable.Companion::unwrap)) } /** @@ -897,7 +897,7 @@ public interface CfnDataSourceProps { */ override fun vpcConnectionProperties(vpcConnectionProperties: CfnDataSource.VpcConnectionPropertiesProperty) { - cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(CfnDataSource.VpcConnectionPropertiesProperty::unwrap)) + cdkBuilder.vpcConnectionProperties(vpcConnectionProperties.let(CfnDataSource.VpcConnectionPropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshSchedule.kt index 4db530194e..36fe3826d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshSchedule.kt @@ -52,7 +52,7 @@ public open class CfnRefreshSchedule( cdkObject: software.amazon.awscdk.services.quicksight.CfnRefreshSchedule, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.quicksight.CfnRefreshSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.quicksight.CfnRefreshSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -61,8 +61,8 @@ public open class CfnRefreshSchedule( id: String, props: CfnRefreshScheduleProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnRefreshSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRefreshScheduleProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnRefreshSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRefreshScheduleProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnRefreshSchedule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -119,14 +119,14 @@ public open class CfnRefreshSchedule( * The refresh schedule of a dataset. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * The refresh schedule of a dataset. */ public open fun schedule(`value`: RefreshScheduleMapProperty) { - unwrap(this).setSchedule(`value`.let(RefreshScheduleMapProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(RefreshScheduleMapProperty.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnRefreshSchedule( * @param schedule The refresh schedule of a dataset. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnRefreshSchedule( * @param schedule The refresh schedule of a dataset. */ override fun schedule(schedule: RefreshScheduleMapProperty) { - cdkBuilder.schedule(schedule.let(RefreshScheduleMapProperty::unwrap)) + cdkBuilder.schedule(schedule.let(RefreshScheduleMapProperty.Companion::unwrap)) } /** @@ -526,14 +526,14 @@ public open class CfnRefreshSchedule( * @param scheduleFrequency The frequency for the refresh schedule. */ override fun scheduleFrequency(scheduleFrequency: IResolvable) { - cdkBuilder.scheduleFrequency(scheduleFrequency.let(IResolvable::unwrap)) + cdkBuilder.scheduleFrequency(scheduleFrequency.let(IResolvable.Companion::unwrap)) } /** * @param scheduleFrequency The frequency for the refresh schedule. */ override fun scheduleFrequency(scheduleFrequency: ScheduleFrequencyProperty) { - cdkBuilder.scheduleFrequency(scheduleFrequency.let(ScheduleFrequencyProperty::unwrap)) + cdkBuilder.scheduleFrequency(scheduleFrequency.let(ScheduleFrequencyProperty.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public open class CfnRefreshSchedule( * This value is required for weekly and monthly refresh intervals. */ override fun refreshOnDay(refreshOnDay: IResolvable) { - cdkBuilder.refreshOnDay(refreshOnDay.let(IResolvable::unwrap)) + cdkBuilder.refreshOnDay(refreshOnDay.let(IResolvable.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class CfnRefreshSchedule( * This value is required for weekly and monthly refresh intervals. */ override fun refreshOnDay(refreshOnDay: RefreshOnDayProperty) { - cdkBuilder.refreshOnDay(refreshOnDay.let(RefreshOnDayProperty::unwrap)) + cdkBuilder.refreshOnDay(refreshOnDay.let(RefreshOnDayProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshScheduleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshScheduleProps.kt index 44efe1afed..d9e768348e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshScheduleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnRefreshScheduleProps.kt @@ -120,14 +120,14 @@ public interface CfnRefreshScheduleProps { * @param schedule The refresh schedule of a dataset. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** * @param schedule The refresh schedule of a dataset. */ override fun schedule(schedule: CfnRefreshSchedule.RefreshScheduleMapProperty) { - cdkBuilder.schedule(schedule.let(CfnRefreshSchedule.RefreshScheduleMapProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnRefreshSchedule.RefreshScheduleMapProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplate.kt index 868d3fd531..264e8e5c04 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplate.kt @@ -48,8 +48,8 @@ public open class CfnTemplate( id: String, props: CfnTemplateProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTemplateProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTemplateProps.Companion::unwrap)) ) public constructor( @@ -150,14 +150,14 @@ public open class CfnTemplate( * */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definition(`value`: TemplateVersionDefinitionProperty) { - unwrap(this).setDefinition(`value`.let(TemplateVersionDefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(TemplateVersionDefinitionProperty.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnTemplate( * A list of resource permissions to be set on the template. */ public open fun permissions(`value`: IResolvable) { - unwrap(this).setPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -222,14 +222,14 @@ public open class CfnTemplate( * The entity that you are using as a source when you create the template. */ public open fun sourceEntity(`value`: IResolvable) { - unwrap(this).setSourceEntity(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceEntity(`value`.let(IResolvable.Companion::unwrap)) } /** * The entity that you are using as a source when you create the template. */ public open fun sourceEntity(`value`: TemplateSourceEntityProperty) { - unwrap(this).setSourceEntity(`value`.let(TemplateSourceEntityProperty::unwrap)) + unwrap(this).setSourceEntity(`value`.let(TemplateSourceEntityProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnTemplate( * Contains a map of the key-value pairs for the resource tag or tags assigned to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnTemplate( * and templates with definition objects. */ public open fun validationStrategy(`value`: IResolvable) { - unwrap(this).setValidationStrategy(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationStrategy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnTemplate( * and templates with definition objects. */ public open fun validationStrategy(`value`: ValidationStrategyProperty) { - unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty::unwrap)) + unwrap(this).setValidationStrategy(`value`.let(ValidationStrategyProperty.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnTemplate( * @param definition */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnTemplate( * @param definition */ override fun definition(definition: TemplateVersionDefinitionProperty) { - cdkBuilder.definition(definition.let(TemplateVersionDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(TemplateVersionDefinitionProperty.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CfnTemplate( * @param permissions A list of resource permissions to be set on the template. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnTemplate( * @param sourceEntity The entity that you are using as a source when you create the template. */ override fun sourceEntity(sourceEntity: IResolvable) { - cdkBuilder.sourceEntity(sourceEntity.let(IResolvable::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnTemplate( * @param sourceEntity The entity that you are using as a source when you create the template. */ override fun sourceEntity(sourceEntity: TemplateSourceEntityProperty) { - cdkBuilder.sourceEntity(sourceEntity.let(TemplateSourceEntityProperty::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(TemplateSourceEntityProperty.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public open class CfnTemplate( * the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public open class CfnTemplate( * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: IResolvable) { - cdkBuilder.validationStrategy(validationStrategy.let(IResolvable::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public open class CfnTemplate( * update analyses, dashboards, and templates with definition objects. */ override fun validationStrategy(validationStrategy: ValidationStrategyProperty) { - cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(ValidationStrategyProperty.Companion::unwrap)) } /** @@ -933,7 +933,7 @@ public open class CfnTemplate( * @param attributeAggregationFunction Aggregation for attributes. */ override fun attributeAggregationFunction(attributeAggregationFunction: IResolvable) { - cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnTemplate( */ override fun attributeAggregationFunction(attributeAggregationFunction: AttributeAggregationFunctionProperty) { - cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty::unwrap)) + cdkBuilder.attributeAggregationFunction(attributeAggregationFunction.let(AttributeAggregationFunctionProperty.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public open class CfnTemplate( * @param numericalAggregationFunction Aggregation for numerical values. */ override fun numericalAggregationFunction(numericalAggregationFunction: IResolvable) { - cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -986,7 +986,7 @@ public open class CfnTemplate( */ override fun numericalAggregationFunction(numericalAggregationFunction: NumericalAggregationFunctionProperty) { - cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.numericalAggregationFunction(numericalAggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -1184,14 +1184,14 @@ public open class CfnTemplate( * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The function that aggregates the values in `Column` . */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -1207,14 +1207,14 @@ public open class CfnTemplate( * @param column The column that determines the sort order of aggregated values. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that determines the sort order of aggregated values. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -1380,7 +1380,7 @@ public open class CfnTemplate( * @param defaultNewSheetConfiguration The configuration for default new sheet settings. */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: IResolvable) { - cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1388,7 +1388,7 @@ public open class CfnTemplate( */ override fun defaultNewSheetConfiguration(defaultNewSheetConfiguration: DefaultNewSheetConfigurationProperty) { - cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty::unwrap)) + cdkBuilder.defaultNewSheetConfiguration(defaultNewSheetConfiguration.let(DefaultNewSheetConfigurationProperty.Companion::unwrap)) } /** @@ -1632,14 +1632,14 @@ public open class CfnTemplate( * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The arc axis range of a `GaugeChartVisual` . */ override fun range(range: ArcAxisDisplayRangeProperty) { - cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty::unwrap)) + cdkBuilder.range(range.let(ArcAxisDisplayRangeProperty.Companion::unwrap)) } /** @@ -2341,14 +2341,14 @@ public open class CfnTemplate( * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: IResolvable) { - cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable::unwrap)) + cdkBuilder.dateAxisOptions(dateAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param dateAxisOptions The options for an axis with a date field. */ override fun dateAxisOptions(dateAxisOptions: DateAxisOptionsProperty) { - cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty::unwrap)) + cdkBuilder.dateAxisOptions(dateAxisOptions.let(DateAxisOptionsProperty.Companion::unwrap)) } /** @@ -2363,14 +2363,14 @@ public open class CfnTemplate( * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: IResolvable) { - cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable::unwrap)) + cdkBuilder.numericAxisOptions(numericAxisOptions.let(IResolvable.Companion::unwrap)) } /** * @param numericAxisOptions The options for an axis with a numeric field. */ override fun numericAxisOptions(numericAxisOptions: NumericAxisOptionsProperty) { - cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty::unwrap)) + cdkBuilder.numericAxisOptions(numericAxisOptions.let(NumericAxisOptionsProperty.Companion::unwrap)) } /** @@ -2743,14 +2743,14 @@ public open class CfnTemplate( * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: IResolvable) { - cdkBuilder.dataOptions(dataOptions.let(IResolvable::unwrap)) + cdkBuilder.dataOptions(dataOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataOptions The data options for an axis. */ override fun dataOptions(dataOptions: AxisDataOptionsProperty) { - cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty::unwrap)) + cdkBuilder.dataOptions(dataOptions.let(AxisDataOptionsProperty.Companion::unwrap)) } /** @@ -2772,14 +2772,14 @@ public open class CfnTemplate( * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: IResolvable) { - cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable::unwrap)) + cdkBuilder.scrollbarOptions(scrollbarOptions.let(IResolvable.Companion::unwrap)) } /** * @param scrollbarOptions The scroll bar options for an axis. */ override fun scrollbarOptions(scrollbarOptions: ScrollBarOptionsProperty) { - cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty::unwrap)) + cdkBuilder.scrollbarOptions(scrollbarOptions.let(ScrollBarOptionsProperty.Companion::unwrap)) } /** @@ -2794,14 +2794,14 @@ public open class CfnTemplate( * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: IResolvable) { - cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.tickLabelOptions(tickLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param tickLabelOptions The tick label options of an axis. */ override fun tickLabelOptions(tickLabelOptions: AxisTickLabelOptionsProperty) { - cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty::unwrap)) + cdkBuilder.tickLabelOptions(tickLabelOptions.let(AxisTickLabelOptionsProperty.Companion::unwrap)) } /** @@ -2966,14 +2966,14 @@ public open class CfnTemplate( * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: IResolvable) { - cdkBuilder.minMax(minMax.let(IResolvable::unwrap)) + cdkBuilder.minMax(minMax.let(IResolvable.Companion::unwrap)) } /** * @param minMax The minimum and maximum setup of an axis display range. */ override fun minMax(minMax: AxisDisplayMinMaxRangeProperty) { - cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty::unwrap)) + cdkBuilder.minMax(minMax.let(AxisDisplayMinMaxRangeProperty.Companion::unwrap)) } /** @@ -3137,14 +3137,14 @@ public open class CfnTemplate( * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: IResolvable) { - cdkBuilder.applyTo(applyTo.let(IResolvable::unwrap)) + cdkBuilder.applyTo(applyTo.let(IResolvable.Companion::unwrap)) } /** * @param applyTo The options that indicate which field the label belongs to. */ override fun applyTo(applyTo: AxisLabelReferenceOptionsProperty) { - cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty::unwrap)) + cdkBuilder.applyTo(applyTo.let(AxisLabelReferenceOptionsProperty.Companion::unwrap)) } /** @@ -3166,14 +3166,14 @@ public open class CfnTemplate( * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the axis label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -3307,14 +3307,14 @@ public open class CfnTemplate( * @param column The column that the axis label is targeted to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the axis label is targeted to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -3657,14 +3657,14 @@ public open class CfnTemplate( * @param linear The linear axis scale setup. */ override fun linear(linear: IResolvable) { - cdkBuilder.linear(linear.let(IResolvable::unwrap)) + cdkBuilder.linear(linear.let(IResolvable.Companion::unwrap)) } /** * @param linear The linear axis scale setup. */ override fun linear(linear: AxisLinearScaleProperty) { - cdkBuilder.linear(linear.let(AxisLinearScaleProperty::unwrap)) + cdkBuilder.linear(linear.let(AxisLinearScaleProperty.Companion::unwrap)) } /** @@ -3679,14 +3679,14 @@ public open class CfnTemplate( * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: IResolvable) { - cdkBuilder.logarithmic(logarithmic.let(IResolvable::unwrap)) + cdkBuilder.logarithmic(logarithmic.let(IResolvable.Companion::unwrap)) } /** * @param logarithmic The logarithmic axis scale setup. */ override fun logarithmic(logarithmic: AxisLogarithmicScaleProperty) { - cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty::unwrap)) + cdkBuilder.logarithmic(logarithmic.let(AxisLogarithmicScaleProperty.Companion::unwrap)) } /** @@ -3822,14 +3822,14 @@ public open class CfnTemplate( * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: IResolvable) { - cdkBuilder.labelOptions(labelOptions.let(IResolvable::unwrap)) + cdkBuilder.labelOptions(labelOptions.let(IResolvable.Companion::unwrap)) } /** * @param labelOptions Determines whether or not the axis ticks are visible. */ override fun labelOptions(labelOptions: LabelOptionsProperty) { - cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.labelOptions(labelOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -4008,7 +4008,7 @@ public open class CfnTemplate( * @param category The category (y-axis) field well of a bar chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -4027,7 +4027,7 @@ public open class CfnTemplate( * @param colors The color (group/color) field well of a bar chart. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -4046,7 +4046,7 @@ public open class CfnTemplate( * @param smallMultiples The small multiples field well of a bar chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -4067,7 +4067,7 @@ public open class CfnTemplate( * Values are aggregated by category. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -4575,7 +4575,7 @@ public open class CfnTemplate( * chart category. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** @@ -4583,7 +4583,7 @@ public open class CfnTemplate( * chart category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -4600,7 +4600,7 @@ public open class CfnTemplate( * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -4608,7 +4608,7 @@ public open class CfnTemplate( * visibility) for a bar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -4626,7 +4626,7 @@ public open class CfnTemplate( * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -4634,7 +4634,7 @@ public open class CfnTemplate( * visibility) for a color that is used in a bar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -4652,7 +4652,7 @@ public open class CfnTemplate( * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -4674,14 +4674,14 @@ public open class CfnTemplate( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -4696,14 +4696,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BarChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(BarChartFieldWellsProperty.Companion::unwrap)) } /** @@ -4718,14 +4718,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -4752,7 +4752,7 @@ public open class CfnTemplate( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -4772,14 +4772,14 @@ public open class CfnTemplate( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -4795,14 +4795,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BarChartVisual` . */ override fun sortConfiguration(sortConfiguration: BarChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(BarChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -4818,14 +4818,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -4841,7 +4841,7 @@ public open class CfnTemplate( * chart value. */ override fun valueAxis(valueAxis: IResolvable) { - cdkBuilder.valueAxis(valueAxis.let(IResolvable::unwrap)) + cdkBuilder.valueAxis(valueAxis.let(IResolvable.Companion::unwrap)) } /** @@ -4849,7 +4849,7 @@ public open class CfnTemplate( * chart value. */ override fun valueAxis(valueAxis: AxisDisplayOptionsProperty) { - cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.valueAxis(valueAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -4866,7 +4866,7 @@ public open class CfnTemplate( * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -4874,7 +4874,7 @@ public open class CfnTemplate( * visibility) for a bar chart value. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -4891,14 +4891,14 @@ public open class CfnTemplate( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -5116,7 +5116,7 @@ public open class CfnTemplate( * @param barChartAggregatedFieldWells The aggregated field wells of a bar chart. */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: IResolvable) { - cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -5124,7 +5124,7 @@ public open class CfnTemplate( */ override fun barChartAggregatedFieldWells(barChartAggregatedFieldWells: BarChartAggregatedFieldWellsProperty) { - cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.barChartAggregatedFieldWells(barChartAggregatedFieldWells.let(BarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -5447,14 +5447,14 @@ public open class CfnTemplate( * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed in a bar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -5470,7 +5470,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -5490,14 +5490,14 @@ public open class CfnTemplate( * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The limit on the number of values displayed in a bar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -5513,7 +5513,7 @@ public open class CfnTemplate( * @param colorSort The sort configuration of color fields in a bar chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -5533,7 +5533,7 @@ public open class CfnTemplate( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -5542,7 +5542,7 @@ public open class CfnTemplate( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -5560,7 +5560,7 @@ public open class CfnTemplate( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -5824,7 +5824,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -5843,14 +5843,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BarChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(BarChartConfigurationProperty.Companion::unwrap)) } /** @@ -5867,7 +5867,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -5889,14 +5889,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -5911,14 +5911,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -6371,14 +6371,14 @@ public open class CfnTemplate( * @param content The configuration of content in a body section. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The configuration of content in a body section. */ override fun content(content: BodySectionContentProperty) { - cdkBuilder.content(content.let(BodySectionContentProperty::unwrap)) + cdkBuilder.content(content.let(BodySectionContentProperty.Companion::unwrap)) } /** @@ -6393,7 +6393,7 @@ public open class CfnTemplate( * @param pageBreakConfiguration The configuration of a page break for a section. */ override fun pageBreakConfiguration(pageBreakConfiguration: IResolvable) { - cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable::unwrap)) + cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6401,7 +6401,7 @@ public open class CfnTemplate( */ override fun pageBreakConfiguration(pageBreakConfiguration: SectionPageBreakConfigurationProperty) { - cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty::unwrap)) + cdkBuilder.pageBreakConfiguration(pageBreakConfiguration.let(SectionPageBreakConfigurationProperty.Companion::unwrap)) } /** @@ -6425,14 +6425,14 @@ public open class CfnTemplate( * @param style The style options of a body section. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a body section. */ override fun style(style: SectionStyleProperty) { - cdkBuilder.style(style.let(SectionStyleProperty::unwrap)) + cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** @@ -6589,14 +6589,14 @@ public open class CfnTemplate( * @param layout The layout configuration of a body section. */ override fun layout(layout: IResolvable) { - cdkBuilder.layout(layout.let(IResolvable::unwrap)) + cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of a body section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { - cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -7213,7 +7213,7 @@ public open class CfnTemplate( * Values are grouped based on group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -7235,7 +7235,7 @@ public open class CfnTemplate( * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -7603,14 +7603,14 @@ public open class CfnTemplate( * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: IResolvable) { - cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable::unwrap)) + cdkBuilder.boxPlotOptions(boxPlotOptions.let(IResolvable.Companion::unwrap)) } /** * @param boxPlotOptions The box plot chart options for a box plot visual. */ override fun boxPlotOptions(boxPlotOptions: BoxPlotOptionsProperty) { - cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty::unwrap)) + cdkBuilder.boxPlotOptions(boxPlotOptions.let(BoxPlotOptionsProperty.Companion::unwrap)) } /** @@ -7626,7 +7626,7 @@ public open class CfnTemplate( * plot category. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** @@ -7634,7 +7634,7 @@ public open class CfnTemplate( * plot category. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -7651,7 +7651,7 @@ public open class CfnTemplate( * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7659,7 +7659,7 @@ public open class CfnTemplate( * visibility) of a box plot category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -7676,14 +7676,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: BoxPlotFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(BoxPlotFieldWellsProperty.Companion::unwrap)) } /** @@ -7698,14 +7698,14 @@ public open class CfnTemplate( * @param legend the value to be set. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend the value to be set. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -7721,7 +7721,7 @@ public open class CfnTemplate( * step) of a box plot category. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7730,7 +7730,7 @@ public open class CfnTemplate( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -7748,7 +7748,7 @@ public open class CfnTemplate( * icon visibility) of a box plot value. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -7757,7 +7757,7 @@ public open class CfnTemplate( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -7774,7 +7774,7 @@ public open class CfnTemplate( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -7794,14 +7794,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `BoxPlotVisual` . */ override fun sortConfiguration(sortConfiguration: BoxPlotSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(BoxPlotSortConfigurationProperty.Companion::unwrap)) } /** @@ -7817,14 +7817,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -7839,14 +7839,14 @@ public open class CfnTemplate( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -8508,7 +8508,7 @@ public open class CfnTemplate( * @param boxPlotAggregatedFieldWells The aggregated field wells of a box plot. */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: IResolvable) { - cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -8516,7 +8516,7 @@ public open class CfnTemplate( */ override fun boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells: BoxPlotAggregatedFieldWellsProperty) { - cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.boxPlotAggregatedFieldWells(boxPlotAggregatedFieldWells.let(BoxPlotAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -8664,14 +8664,14 @@ public open class CfnTemplate( * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: IResolvable) { - cdkBuilder.styleOptions(styleOptions.let(IResolvable::unwrap)) + cdkBuilder.styleOptions(styleOptions.let(IResolvable.Companion::unwrap)) } /** * @param styleOptions The style options of the box plot. */ override fun styleOptions(styleOptions: BoxPlotStyleOptionsProperty) { - cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty::unwrap)) + cdkBuilder.styleOptions(styleOptions.let(BoxPlotStyleOptionsProperty.Companion::unwrap)) } /** @@ -8842,7 +8842,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of a group by fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -8862,7 +8862,7 @@ public open class CfnTemplate( * @param paginationConfiguration The pagination configuration of a table visual or box plot. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -8870,7 +8870,7 @@ public open class CfnTemplate( */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** @@ -9172,7 +9172,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -9191,14 +9191,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: BoxPlotChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(BoxPlotChartConfigurationProperty.Companion::unwrap)) } /** @@ -9215,7 +9215,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -9237,14 +9237,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -9259,14 +9259,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -9670,7 +9670,7 @@ public open class CfnTemplate( * the current control. */ override fun sourceControls(sourceControls: IResolvable) { - cdkBuilder.sourceControls(sourceControls.let(IResolvable::unwrap)) + cdkBuilder.sourceControls(sourceControls.let(IResolvable.Companion::unwrap)) } /** @@ -9801,7 +9801,7 @@ public open class CfnTemplate( * source sheet control. */ override fun columnToMatch(columnToMatch: IResolvable) { - cdkBuilder.columnToMatch(columnToMatch.let(IResolvable::unwrap)) + cdkBuilder.columnToMatch(columnToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -9809,7 +9809,7 @@ public open class CfnTemplate( * source sheet control. */ override fun columnToMatch(columnToMatch: ColumnIdentifierProperty) { - cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.columnToMatch(columnToMatch.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10052,14 +10052,14 @@ public open class CfnTemplate( * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10081,14 +10081,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -10353,14 +10353,14 @@ public open class CfnTemplate( * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `CategoricalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10382,14 +10382,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -10457,7 +10457,7 @@ public open class CfnTemplate( } /** - * The numeric equality type drill down filter. + * The category drill down filter. * * Example: * @@ -10552,14 +10552,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -10763,7 +10763,7 @@ public open class CfnTemplate( * This filter can be partially matched. */ override fun customFilterConfiguration(customFilterConfiguration: IResolvable) { - cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10772,7 +10772,7 @@ public open class CfnTemplate( */ override fun customFilterConfiguration(customFilterConfiguration: CustomFilterConfigurationProperty) { - cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty::unwrap)) + cdkBuilder.customFilterConfiguration(customFilterConfiguration.let(CustomFilterConfigurationProperty.Companion::unwrap)) } /** @@ -10791,7 +10791,7 @@ public open class CfnTemplate( * In the Amazon QuickSight console, this filter type is called a custom filter list. */ override fun customFilterListConfiguration(customFilterListConfiguration: IResolvable) { - cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10800,7 +10800,7 @@ public open class CfnTemplate( */ override fun customFilterListConfiguration(customFilterListConfiguration: CustomFilterListConfigurationProperty) { - cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty::unwrap)) + cdkBuilder.customFilterListConfiguration(customFilterListConfiguration.let(CustomFilterListConfigurationProperty.Companion::unwrap)) } /** @@ -10819,7 +10819,7 @@ public open class CfnTemplate( * In the Amazon QuickSight console, this filter type is called a filter list. */ override fun filterListConfiguration(filterListConfiguration: IResolvable) { - cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable::unwrap)) + cdkBuilder.filterListConfiguration(filterListConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -10828,7 +10828,7 @@ public open class CfnTemplate( */ override fun filterListConfiguration(filterListConfiguration: FilterListConfigurationProperty) { - cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty::unwrap)) + cdkBuilder.filterListConfiguration(filterListConfiguration.let(FilterListConfigurationProperty.Companion::unwrap)) } /** @@ -10940,6 +10940,205 @@ public open class CfnTemplate( * .build()) * .build()) * .filterId("filterId") + * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .build(); * ``` * @@ -10960,6 +11159,16 @@ public open class CfnTemplate( */ public fun configuration(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-categoryfilter.html#cfn-quicksight-template-categoryfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -11007,6 +11216,31 @@ public open class CfnTemplate( public fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ff82c4637f7500ddd7a0411e7e416d302f3246fc049d2cee226771c95f913844") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -11023,14 +11257,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -11045,14 +11279,14 @@ public open class CfnTemplate( * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The configuration for a `CategoryFilter` . */ override fun configuration(configuration: CategoryFilterConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CategoryFilterConfigurationProperty.Companion::unwrap)) } /** @@ -11064,6 +11298,38 @@ public open class CfnTemplate( fun configuration(configuration: CategoryFilterConfigurationProperty.Builder.() -> Unit): Unit = configuration(CategoryFilterConfigurationProperty(configuration)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ff82c4637f7500ddd7a0411e7e416d302f3246fc049d2cee226771c95f913844") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -11094,6 +11360,16 @@ public open class CfnTemplate( */ override fun configuration(): Any = unwrap(this).getConfiguration() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-categoryfilter.html#cfn-quicksight-template-categoryfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -11229,7 +11505,7 @@ public open class CfnTemplate( * @param axisLabelOptions The label options for a chart axis. */ override fun axisLabelOptions(axisLabelOptions: IResolvable) { - cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.axisLabelOptions(axisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -11376,14 +11652,14 @@ public open class CfnTemplate( * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: IResolvable) { - cdkBuilder.clusterMarker(clusterMarker.let(IResolvable::unwrap)) + cdkBuilder.clusterMarker(clusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param clusterMarker The cluster marker that is a part of the cluster marker configuration. */ override fun clusterMarker(clusterMarker: ClusterMarkerProperty) { - cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty::unwrap)) + cdkBuilder.clusterMarker(clusterMarker.let(ClusterMarkerProperty.Companion::unwrap)) } /** @@ -11488,14 +11764,14 @@ public open class CfnTemplate( * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: IResolvable) { - cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable::unwrap)) + cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(IResolvable.Companion::unwrap)) } /** * @param simpleClusterMarker The simple cluster marker of the cluster marker. */ override fun simpleClusterMarker(simpleClusterMarker: SimpleClusterMarkerProperty) { - cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty::unwrap)) + cdkBuilder.simpleClusterMarker(simpleClusterMarker.let(SimpleClusterMarkerProperty.Companion::unwrap)) } /** @@ -11647,7 +11923,7 @@ public open class CfnTemplate( * @param colors Determines the list of colors that are applied to the visual. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -11666,14 +11942,14 @@ public open class CfnTemplate( * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: IResolvable) { - cdkBuilder.nullValueColor(nullValueColor.let(IResolvable::unwrap)) + cdkBuilder.nullValueColor(nullValueColor.let(IResolvable.Companion::unwrap)) } /** * @param nullValueColor Determines the color that is applied to null values. */ override fun nullValueColor(nullValueColor: DataColorProperty) { - cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty::unwrap)) + cdkBuilder.nullValueColor(nullValueColor.let(DataColorProperty.Companion::unwrap)) } /** @@ -11791,7 +12067,7 @@ public open class CfnTemplate( * @param customColors A list of up to 50 custom colors. */ override fun customColors(customColors: IResolvable) { - cdkBuilder.customColors(customColors.let(IResolvable::unwrap)) + cdkBuilder.customColors(customColors.let(IResolvable.Companion::unwrap)) } /** @@ -12183,14 +12459,14 @@ public open class CfnTemplate( * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: IResolvable) { - cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.colorsConfiguration(colorsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param colorsConfiguration The color configurations of the column. */ override fun colorsConfiguration(colorsConfiguration: ColorsConfigurationProperty) { - cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty::unwrap)) + cdkBuilder.colorsConfiguration(colorsConfiguration.let(ColorsConfigurationProperty.Companion::unwrap)) } /** @@ -12206,14 +12482,14 @@ public open class CfnTemplate( * @param column The column. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -12228,14 +12504,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of a column. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** @@ -12465,7 +12741,7 @@ public open class CfnTemplate( * group columns. */ override fun columnGroupColumnSchemaList(columnGroupColumnSchemaList: IResolvable) { - cdkBuilder.columnGroupColumnSchemaList(columnGroupColumnSchemaList.let(IResolvable::unwrap)) + cdkBuilder.columnGroupColumnSchemaList(columnGroupColumnSchemaList.let(IResolvable.Companion::unwrap)) } /** @@ -12749,14 +13025,14 @@ public open class CfnTemplate( * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: IResolvable) { - cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable::unwrap)) + cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(IResolvable.Companion::unwrap)) } /** * @param dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields. */ override fun dateTimeHierarchy(dateTimeHierarchy: DateTimeHierarchyProperty) { - cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty::unwrap)) + cdkBuilder.dateTimeHierarchy(dateTimeHierarchy.let(DateTimeHierarchyProperty.Companion::unwrap)) } /** @@ -12774,7 +13050,7 @@ public open class CfnTemplate( * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: IResolvable) { - cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable::unwrap)) + cdkBuilder.explicitHierarchy(explicitHierarchy.let(IResolvable.Companion::unwrap)) } /** @@ -12783,7 +13059,7 @@ public open class CfnTemplate( * These fields can't be duplicated to other visuals. */ override fun explicitHierarchy(explicitHierarchy: ExplicitHierarchyProperty) { - cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty::unwrap)) + cdkBuilder.explicitHierarchy(explicitHierarchy.let(ExplicitHierarchyProperty.Companion::unwrap)) } /** @@ -12803,7 +13079,7 @@ public open class CfnTemplate( * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: IResolvable) { - cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable::unwrap)) + cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(IResolvable.Companion::unwrap)) } /** @@ -12812,7 +13088,7 @@ public open class CfnTemplate( * These fields are available to use in any analysis that uses the data source. */ override fun predefinedHierarchy(predefinedHierarchy: PredefinedHierarchyProperty) { - cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty::unwrap)) + cdkBuilder.predefinedHierarchy(predefinedHierarchy.let(PredefinedHierarchyProperty.Companion::unwrap)) } /** @@ -13233,14 +13509,14 @@ public open class CfnTemplate( * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function that is defined in the column sort. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -13263,14 +13539,14 @@ public open class CfnTemplate( * @param sortBy the value to be set. */ override fun sortBy(sortBy: IResolvable) { - cdkBuilder.sortBy(sortBy.let(IResolvable::unwrap)) + cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy the value to be set. */ override fun sortBy(sortBy: ColumnIdentifierProperty) { - cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.sortBy(sortBy.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -13450,14 +13726,14 @@ public open class CfnTemplate( * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: IResolvable) { - cdkBuilder.aggregation(aggregation.let(IResolvable::unwrap)) + cdkBuilder.aggregation(aggregation.let(IResolvable.Companion::unwrap)) } /** * @param aggregation The aggregation function of the column tooltip item. */ override fun aggregation(aggregation: AggregationFunctionProperty) { - cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregation(aggregation.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -13472,14 +13748,14 @@ public open class CfnTemplate( * @param column The target column of the tooltip item. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The target column of the tooltip item. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -13674,7 +13950,7 @@ public open class CfnTemplate( * @param barValues The aggregated `BarValues` field well of a combo chart. */ override fun barValues(barValues: IResolvable) { - cdkBuilder.barValues(barValues.let(IResolvable::unwrap)) + cdkBuilder.barValues(barValues.let(IResolvable.Companion::unwrap)) } /** @@ -13693,7 +13969,7 @@ public open class CfnTemplate( * @param category The aggregated category field wells of a combo chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -13712,7 +13988,7 @@ public open class CfnTemplate( * @param colors The aggregated colors field well of a combo chart. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -13731,7 +14007,7 @@ public open class CfnTemplate( * @param lineValues The aggregated `LineValues` field well of a combo chart. */ override fun lineValues(lineValues: IResolvable) { - cdkBuilder.lineValues(lineValues.let(IResolvable::unwrap)) + cdkBuilder.lineValues(lineValues.let(IResolvable.Companion::unwrap)) } /** @@ -14254,7 +14530,7 @@ public open class CfnTemplate( * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: IResolvable) { - cdkBuilder.barDataLabels(barDataLabels.let(IResolvable::unwrap)) + cdkBuilder.barDataLabels(barDataLabels.let(IResolvable.Companion::unwrap)) } /** @@ -14262,7 +14538,7 @@ public open class CfnTemplate( * The data label options for a bar in a combo chart. */ override fun barDataLabels(barDataLabels: DataLabelOptionsProperty) { - cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.barDataLabels(barDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -14290,14 +14566,14 @@ public open class CfnTemplate( * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a combo chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -14313,7 +14589,7 @@ public open class CfnTemplate( * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14321,7 +14597,7 @@ public open class CfnTemplate( * visibility) of a combo chart category (group/color) field well. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14339,7 +14615,7 @@ public open class CfnTemplate( * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14347,7 +14623,7 @@ public open class CfnTemplate( * visibility) of a combo chart's color field well. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14364,14 +14640,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ComboChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(ComboChartFieldWellsProperty.Companion::unwrap)) } /** @@ -14386,14 +14662,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -14409,7 +14685,7 @@ public open class CfnTemplate( * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: IResolvable) { - cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable::unwrap)) + cdkBuilder.lineDataLabels(lineDataLabels.let(IResolvable.Companion::unwrap)) } /** @@ -14417,7 +14693,7 @@ public open class CfnTemplate( * The data label options for a line in a combo chart. */ override fun lineDataLabels(lineDataLabels: DataLabelOptionsProperty) { - cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.lineDataLabels(lineDataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -14434,7 +14710,7 @@ public open class CfnTemplate( * axis step) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14443,7 +14719,7 @@ public open class CfnTemplate( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -14461,7 +14737,7 @@ public open class CfnTemplate( * icon visibility) of a combo chart's primary y-axis (bar) field well. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14470,7 +14746,7 @@ public open class CfnTemplate( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14487,7 +14763,7 @@ public open class CfnTemplate( * @param referenceLines The reference line setup of the visual. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -14508,7 +14784,7 @@ public open class CfnTemplate( * axis step) of a combo chart's secondary y-axis (line) field well. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14517,7 +14793,7 @@ public open class CfnTemplate( */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -14536,7 +14812,7 @@ public open class CfnTemplate( * icon visibility) of a combo chart's secondary y-axis(line) field well. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -14545,7 +14821,7 @@ public open class CfnTemplate( */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -14563,14 +14839,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `ComboChartVisual` . */ override fun sortConfiguration(sortConfiguration: ComboChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(ComboChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -14586,14 +14862,14 @@ public open class CfnTemplate( * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -14608,14 +14884,14 @@ public open class CfnTemplate( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -14850,7 +15126,7 @@ public open class CfnTemplate( * category. */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: IResolvable) { - cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -14860,7 +15136,7 @@ public open class CfnTemplate( */ override fun comboChartAggregatedFieldWells(comboChartAggregatedFieldWells: ComboChartAggregatedFieldWellsProperty) { - cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.comboChartAggregatedFieldWells(comboChartAggregatedFieldWells.let(ComboChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -15111,7 +15387,7 @@ public open class CfnTemplate( * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -15119,7 +15395,7 @@ public open class CfnTemplate( * combo chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -15136,7 +15412,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of the category field well in a combo chart. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -15157,7 +15433,7 @@ public open class CfnTemplate( * chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -15165,7 +15441,7 @@ public open class CfnTemplate( * chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -15182,7 +15458,7 @@ public open class CfnTemplate( * @param colorSort The sort configuration of the color field well in a combo chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -15422,7 +15698,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -15441,14 +15717,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ComboChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(ComboChartConfigurationProperty.Companion::unwrap)) } /** @@ -15465,7 +15741,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -15487,14 +15763,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -15509,14 +15785,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -15729,14 +16005,14 @@ public open class CfnTemplate( * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: IResolvable) { - cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable::unwrap)) + cdkBuilder.comparisonFormat(comparisonFormat.let(IResolvable.Companion::unwrap)) } /** * @param comparisonFormat The format of the comparison. */ override fun comparisonFormat(comparisonFormat: ComparisonFormatConfigurationProperty) { - cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty::unwrap)) + cdkBuilder.comparisonFormat(comparisonFormat.let(ComparisonFormatConfigurationProperty.Companion::unwrap)) } /** @@ -15935,7 +16211,7 @@ public open class CfnTemplate( * @param numberDisplayFormatConfiguration The number display format. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -15943,7 +16219,7 @@ public open class CfnTemplate( */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -15961,7 +16237,7 @@ public open class CfnTemplate( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -15969,7 +16245,7 @@ public open class CfnTemplate( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -16301,14 +16577,14 @@ public open class CfnTemplate( * @param forecast The forecast computation configuration. */ override fun forecast(forecast: IResolvable) { - cdkBuilder.forecast(forecast.let(IResolvable::unwrap)) + cdkBuilder.forecast(forecast.let(IResolvable.Companion::unwrap)) } /** * @param forecast The forecast computation configuration. */ override fun forecast(forecast: ForecastComputationProperty) { - cdkBuilder.forecast(forecast.let(ForecastComputationProperty::unwrap)) + cdkBuilder.forecast(forecast.let(ForecastComputationProperty.Companion::unwrap)) } /** @@ -16323,14 +16599,14 @@ public open class CfnTemplate( * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: IResolvable) { - cdkBuilder.growthRate(growthRate.let(IResolvable::unwrap)) + cdkBuilder.growthRate(growthRate.let(IResolvable.Companion::unwrap)) } /** * @param growthRate The growth rate computation configuration. */ override fun growthRate(growthRate: GrowthRateComputationProperty) { - cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty::unwrap)) + cdkBuilder.growthRate(growthRate.let(GrowthRateComputationProperty.Companion::unwrap)) } /** @@ -16345,14 +16621,14 @@ public open class CfnTemplate( * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: IResolvable) { - cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable::unwrap)) + cdkBuilder.maximumMinimum(maximumMinimum.let(IResolvable.Companion::unwrap)) } /** * @param maximumMinimum The maximum and minimum computation configuration. */ override fun maximumMinimum(maximumMinimum: MaximumMinimumComputationProperty) { - cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty::unwrap)) + cdkBuilder.maximumMinimum(maximumMinimum.let(MaximumMinimumComputationProperty.Companion::unwrap)) } /** @@ -16368,14 +16644,14 @@ public open class CfnTemplate( * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: IResolvable) { - cdkBuilder.metricComparison(metricComparison.let(IResolvable::unwrap)) + cdkBuilder.metricComparison(metricComparison.let(IResolvable.Companion::unwrap)) } /** * @param metricComparison The metric comparison computation configuration. */ override fun metricComparison(metricComparison: MetricComparisonComputationProperty) { - cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty::unwrap)) + cdkBuilder.metricComparison(metricComparison.let(MetricComparisonComputationProperty.Companion::unwrap)) } /** @@ -16391,14 +16667,14 @@ public open class CfnTemplate( * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: IResolvable) { - cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable::unwrap)) + cdkBuilder.periodOverPeriod(periodOverPeriod.let(IResolvable.Companion::unwrap)) } /** * @param periodOverPeriod The period over period computation configuration. */ override fun periodOverPeriod(periodOverPeriod: PeriodOverPeriodComputationProperty) { - cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty::unwrap)) + cdkBuilder.periodOverPeriod(periodOverPeriod.let(PeriodOverPeriodComputationProperty.Companion::unwrap)) } /** @@ -16414,14 +16690,14 @@ public open class CfnTemplate( * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: IResolvable) { - cdkBuilder.periodToDate(periodToDate.let(IResolvable::unwrap)) + cdkBuilder.periodToDate(periodToDate.let(IResolvable.Companion::unwrap)) } /** * @param periodToDate The period to `DataSetIdentifier` computation configuration. */ override fun periodToDate(periodToDate: PeriodToDateComputationProperty) { - cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty::unwrap)) + cdkBuilder.periodToDate(periodToDate.let(PeriodToDateComputationProperty.Companion::unwrap)) } /** @@ -16436,14 +16712,14 @@ public open class CfnTemplate( * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: IResolvable) { - cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable::unwrap)) + cdkBuilder.topBottomMovers(topBottomMovers.let(IResolvable.Companion::unwrap)) } /** * @param topBottomMovers The top movers and bottom movers computation configuration. */ override fun topBottomMovers(topBottomMovers: TopBottomMoversComputationProperty) { - cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty::unwrap)) + cdkBuilder.topBottomMovers(topBottomMovers.let(TopBottomMoversComputationProperty.Companion::unwrap)) } /** @@ -16459,14 +16735,14 @@ public open class CfnTemplate( * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: IResolvable) { - cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable::unwrap)) + cdkBuilder.topBottomRanked(topBottomRanked.let(IResolvable.Companion::unwrap)) } /** * @param topBottomRanked The top ranked and bottom ranked computation configuration. */ override fun topBottomRanked(topBottomRanked: TopBottomRankedComputationProperty) { - cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty::unwrap)) + cdkBuilder.topBottomRanked(topBottomRanked.let(TopBottomRankedComputationProperty.Companion::unwrap)) } /** @@ -16482,14 +16758,14 @@ public open class CfnTemplate( * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: IResolvable) { - cdkBuilder.totalAggregation(totalAggregation.let(IResolvable::unwrap)) + cdkBuilder.totalAggregation(totalAggregation.let(IResolvable.Companion::unwrap)) } /** * @param totalAggregation The total aggregation computation configuration. */ override fun totalAggregation(totalAggregation: TotalAggregationComputationProperty) { - cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty::unwrap)) + cdkBuilder.totalAggregation(totalAggregation.let(TotalAggregationComputationProperty.Companion::unwrap)) } /** @@ -16505,14 +16781,14 @@ public open class CfnTemplate( * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: IResolvable) { - cdkBuilder.uniqueValues(uniqueValues.let(IResolvable::unwrap)) + cdkBuilder.uniqueValues(uniqueValues.let(IResolvable.Companion::unwrap)) } /** * @param uniqueValues The unique values computation configuration. */ override fun uniqueValues(uniqueValues: UniqueValuesComputationProperty) { - cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty::unwrap)) + cdkBuilder.uniqueValues(uniqueValues.let(UniqueValuesComputationProperty.Companion::unwrap)) } /** @@ -16716,14 +16992,14 @@ public open class CfnTemplate( * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: IResolvable) { - cdkBuilder.gradient(gradient.let(IResolvable::unwrap)) + cdkBuilder.gradient(gradient.let(IResolvable.Companion::unwrap)) } /** * @param gradient Formatting configuration for gradient color. */ override fun gradient(gradient: ConditionalFormattingGradientColorProperty) { - cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty::unwrap)) + cdkBuilder.gradient(gradient.let(ConditionalFormattingGradientColorProperty.Companion::unwrap)) } /** @@ -16739,14 +17015,14 @@ public open class CfnTemplate( * @param solid Formatting configuration for solid color. */ override fun solid(solid: IResolvable) { - cdkBuilder.solid(solid.let(IResolvable::unwrap)) + cdkBuilder.solid(solid.let(IResolvable.Companion::unwrap)) } /** * @param solid Formatting configuration for solid color. */ override fun solid(solid: ConditionalFormattingSolidColorProperty) { - cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty::unwrap)) + cdkBuilder.solid(solid.let(ConditionalFormattingSolidColorProperty.Companion::unwrap)) } /** @@ -16925,7 +17201,7 @@ public open class CfnTemplate( * @param displayConfiguration Determines the icon display configuration. */ override fun displayConfiguration(displayConfiguration: IResolvable) { - cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable::unwrap)) + cdkBuilder.displayConfiguration(displayConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -16933,7 +17209,7 @@ public open class CfnTemplate( */ override fun displayConfiguration(displayConfiguration: ConditionalFormattingIconDisplayConfigurationProperty) { - cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty::unwrap)) + cdkBuilder.displayConfiguration(displayConfiguration.let(ConditionalFormattingIconDisplayConfigurationProperty.Companion::unwrap)) } /** @@ -16957,14 +17233,14 @@ public open class CfnTemplate( * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: IResolvable) { - cdkBuilder.iconOptions(iconOptions.let(IResolvable::unwrap)) + cdkBuilder.iconOptions(iconOptions.let(IResolvable.Companion::unwrap)) } /** * @param iconOptions Custom icon options for an icon set. */ override fun iconOptions(iconOptions: ConditionalFormattingCustomIconOptionsProperty) { - cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty::unwrap)) + cdkBuilder.iconOptions(iconOptions.let(ConditionalFormattingCustomIconOptionsProperty.Companion::unwrap)) } /** @@ -17222,14 +17498,14 @@ public open class CfnTemplate( * @param color Determines the color. */ override fun color(color: IResolvable) { - cdkBuilder.color(color.let(IResolvable::unwrap)) + cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** * @param color Determines the color. */ override fun color(color: GradientColorProperty) { - cdkBuilder.color(color.let(GradientColorProperty::unwrap)) + cdkBuilder.color(color.let(GradientColorProperty.Companion::unwrap)) } /** @@ -17474,7 +17750,7 @@ public open class CfnTemplate( * @param customCondition Determines the custom condition for an icon set. */ override fun customCondition(customCondition: IResolvable) { - cdkBuilder.customCondition(customCondition.let(IResolvable::unwrap)) + cdkBuilder.customCondition(customCondition.let(IResolvable.Companion::unwrap)) } /** @@ -17482,7 +17758,7 @@ public open class CfnTemplate( */ override fun customCondition(customCondition: ConditionalFormattingCustomIconConditionProperty) { - cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty::unwrap)) + cdkBuilder.customCondition(customCondition.let(ConditionalFormattingCustomIconConditionProperty.Companion::unwrap)) } /** @@ -17498,14 +17774,14 @@ public open class CfnTemplate( * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: IResolvable) { - cdkBuilder.iconSet(iconSet.let(IResolvable::unwrap)) + cdkBuilder.iconSet(iconSet.let(IResolvable.Companion::unwrap)) } /** * @param iconSet Formatting configuration for icon set. */ override fun iconSet(iconSet: ConditionalFormattingIconSetProperty) { - cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty::unwrap)) + cdkBuilder.iconSet(iconSet.let(ConditionalFormattingIconSetProperty.Companion::unwrap)) } /** @@ -17863,7 +18139,7 @@ public open class CfnTemplate( * analysis, usually a list of `ColumnIdentifiers` . */ override fun contributorDimensions(contributorDimensions: IResolvable) { - cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable::unwrap)) + cdkBuilder.contributorDimensions(contributorDimensions.let(IResolvable.Companion::unwrap)) } /** @@ -18149,7 +18425,7 @@ public open class CfnTemplate( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18158,7 +18434,7 @@ public open class CfnTemplate( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -18177,7 +18453,7 @@ public open class CfnTemplate( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18186,7 +18462,7 @@ public open class CfnTemplate( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -18205,7 +18481,7 @@ public open class CfnTemplate( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18214,7 +18490,7 @@ public open class CfnTemplate( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -18247,7 +18523,7 @@ public open class CfnTemplate( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18256,7 +18532,7 @@ public open class CfnTemplate( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -18475,7 +18751,7 @@ public open class CfnTemplate( * filtered. */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: IResolvable) { - cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18484,7 +18760,7 @@ public open class CfnTemplate( */ override fun selectedFieldsConfiguration(selectedFieldsConfiguration: FilterOperationSelectedFieldsConfigurationProperty) { - cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty::unwrap)) + cdkBuilder.selectedFieldsConfiguration(selectedFieldsConfiguration.let(FilterOperationSelectedFieldsConfigurationProperty.Companion::unwrap)) } /** @@ -18503,7 +18779,7 @@ public open class CfnTemplate( * filtered. */ override fun targetVisualsConfiguration(targetVisualsConfiguration: IResolvable) { - cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18512,7 +18788,7 @@ public open class CfnTemplate( */ override fun targetVisualsConfiguration(targetVisualsConfiguration: FilterOperationTargetVisualsConfigurationProperty) { - cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty::unwrap)) + cdkBuilder.targetVisualsConfiguration(targetVisualsConfiguration.let(FilterOperationTargetVisualsConfigurationProperty.Companion::unwrap)) } /** @@ -18634,7 +18910,7 @@ public open class CfnTemplate( * @param localNavigationConfiguration The configuration that chooses the navigation target. */ override fun localNavigationConfiguration(localNavigationConfiguration: IResolvable) { - cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -18642,7 +18918,7 @@ public open class CfnTemplate( */ override fun localNavigationConfiguration(localNavigationConfiguration: LocalNavigationConfigurationProperty) { - cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty::unwrap)) + cdkBuilder.localNavigationConfiguration(localNavigationConfiguration.let(LocalNavigationConfigurationProperty.Companion::unwrap)) } /** @@ -18768,7 +19044,7 @@ public open class CfnTemplate( * @param parameterValueConfigurations The parameter that determines the value configuration. */ override fun parameterValueConfigurations(parameterValueConfigurations: IResolvable) { - cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable::unwrap)) + cdkBuilder.parameterValueConfigurations(parameterValueConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -19482,7 +19758,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -19501,14 +19777,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `CustomContentVisual` . */ override fun chartConfiguration(chartConfiguration: CustomContentConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(CustomContentConfigurationProperty.Companion::unwrap)) } /** @@ -19532,14 +19808,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -19554,14 +19830,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -20305,7 +20581,7 @@ public open class CfnTemplate( * @param decimalValues A list of decimal-type parameter values. */ override fun decimalValues(decimalValues: IResolvable) { - cdkBuilder.decimalValues(decimalValues.let(IResolvable::unwrap)) + cdkBuilder.decimalValues(decimalValues.let(IResolvable.Companion::unwrap)) } /** @@ -20325,7 +20601,7 @@ public open class CfnTemplate( * @param integerValues A list of integer-type parameter values. */ override fun integerValues(integerValues: IResolvable) { - cdkBuilder.integerValues(integerValues.let(IResolvable::unwrap)) + cdkBuilder.integerValues(integerValues.let(IResolvable.Companion::unwrap)) } /** @@ -20490,14 +20766,14 @@ public open class CfnTemplate( * @param customValues the value to be set. */ override fun customValues(customValues: IResolvable) { - cdkBuilder.customValues(customValues.let(IResolvable::unwrap)) + cdkBuilder.customValues(customValues.let(IResolvable.Companion::unwrap)) } /** * @param customValues the value to be set. */ override fun customValues(customValues: CustomParameterValuesProperty) { - cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty::unwrap)) + cdkBuilder.customValues(customValues.let(CustomParameterValuesProperty.Companion::unwrap)) } /** @@ -20519,7 +20795,7 @@ public open class CfnTemplate( * @param includeNullValue Includes the null value in custom action parameter values. */ override fun includeNullValue(includeNullValue: IResolvable) { - cdkBuilder.includeNullValue(includeNullValue.let(IResolvable::unwrap)) + cdkBuilder.includeNullValue(includeNullValue.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -20940,7 +21216,7 @@ public open class CfnTemplate( * the field. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -20948,7 +21224,7 @@ public open class CfnTemplate( * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { - cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -21235,7 +21511,7 @@ public open class CfnTemplate( * @param dataLabelTypes The option that determines the data label type. */ override fun dataLabelTypes(dataLabelTypes: IResolvable) { - cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable::unwrap)) + cdkBuilder.dataLabelTypes(dataLabelTypes.let(IResolvable.Companion::unwrap)) } /** @@ -21269,14 +21545,14 @@ public open class CfnTemplate( * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelFontConfiguration Determines the font configuration of the data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -21602,14 +21878,14 @@ public open class CfnTemplate( * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: IResolvable) { - cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable::unwrap)) + cdkBuilder.dataPathLabelType(dataPathLabelType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathLabelType The option that specifies individual data values for labels. */ override fun dataPathLabelType(dataPathLabelType: DataPathLabelTypeProperty) { - cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty::unwrap)) + cdkBuilder.dataPathLabelType(dataPathLabelType.let(DataPathLabelTypeProperty.Companion::unwrap)) } /** @@ -21625,14 +21901,14 @@ public open class CfnTemplate( * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: IResolvable) { - cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable::unwrap)) + cdkBuilder.fieldLabelType(fieldLabelType.let(IResolvable.Companion::unwrap)) } /** * @param fieldLabelType Determines the label configuration for the entire field. */ override fun fieldLabelType(fieldLabelType: FieldLabelTypeProperty) { - cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty::unwrap)) + cdkBuilder.fieldLabelType(fieldLabelType.let(FieldLabelTypeProperty.Companion::unwrap)) } /** @@ -21648,7 +21924,7 @@ public open class CfnTemplate( * visual. */ override fun maximumLabelType(maximumLabelType: IResolvable) { - cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable::unwrap)) + cdkBuilder.maximumLabelType(maximumLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -21656,7 +21932,7 @@ public open class CfnTemplate( * visual. */ override fun maximumLabelType(maximumLabelType: MaximumLabelTypeProperty) { - cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty::unwrap)) + cdkBuilder.maximumLabelType(maximumLabelType.let(MaximumLabelTypeProperty.Companion::unwrap)) } /** @@ -21673,7 +21949,7 @@ public open class CfnTemplate( * visual. */ override fun minimumLabelType(minimumLabelType: IResolvable) { - cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable::unwrap)) + cdkBuilder.minimumLabelType(minimumLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -21681,7 +21957,7 @@ public open class CfnTemplate( * visual. */ override fun minimumLabelType(minimumLabelType: MinimumLabelTypeProperty) { - cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty::unwrap)) + cdkBuilder.minimumLabelType(minimumLabelType.let(MinimumLabelTypeProperty.Companion::unwrap)) } /** @@ -21698,7 +21974,7 @@ public open class CfnTemplate( * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: IResolvable) { - cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable::unwrap)) + cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(IResolvable.Companion::unwrap)) } /** @@ -21706,7 +21982,7 @@ public open class CfnTemplate( * visual. */ override fun rangeEndsLabelType(rangeEndsLabelType: RangeEndsLabelTypeProperty) { - cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty::unwrap)) + cdkBuilder.rangeEndsLabelType(rangeEndsLabelType.let(RangeEndsLabelTypeProperty.Companion::unwrap)) } /** @@ -21878,14 +22154,14 @@ public open class CfnTemplate( * @param element The element that the color needs to be applied to. */ override fun element(element: IResolvable) { - cdkBuilder.element(element.let(IResolvable::unwrap)) + cdkBuilder.element(element.let(IResolvable.Companion::unwrap)) } /** * @param element The element that the color needs to be applied to. */ override fun element(element: DataPathValueProperty) { - cdkBuilder.element(element.let(DataPathValueProperty::unwrap)) + cdkBuilder.element(element.let(DataPathValueProperty.Companion::unwrap)) } /** @@ -22167,7 +22443,7 @@ public open class CfnTemplate( * @param sortPaths The list of data paths that need to be sorted. */ override fun sortPaths(sortPaths: IResolvable) { - cdkBuilder.sortPaths(sortPaths.let(IResolvable::unwrap)) + cdkBuilder.sortPaths(sortPaths.let(IResolvable.Companion::unwrap)) } /** @@ -22425,14 +22701,14 @@ public open class CfnTemplate( * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: IResolvable) { - cdkBuilder.dataPathType(dataPathType.let(IResolvable::unwrap)) + cdkBuilder.dataPathType(dataPathType.let(IResolvable.Companion::unwrap)) } /** * @param dataPathType The type configuration of the field. */ override fun dataPathType(dataPathType: DataPathTypeProperty) { - cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty::unwrap)) + cdkBuilder.dataPathType(dataPathType.let(DataPathTypeProperty.Companion::unwrap)) } /** @@ -22610,7 +22886,7 @@ public open class CfnTemplate( * @param columnGroupSchemaList A structure containing the list of column group schemas. */ override fun columnGroupSchemaList(columnGroupSchemaList: IResolvable) { - cdkBuilder.columnGroupSchemaList(columnGroupSchemaList.let(IResolvable::unwrap)) + cdkBuilder.columnGroupSchemaList(columnGroupSchemaList.let(IResolvable.Companion::unwrap)) } /** @@ -22630,14 +22906,14 @@ public open class CfnTemplate( * @param dataSetSchema Dataset schema. */ override fun dataSetSchema(dataSetSchema: IResolvable) { - cdkBuilder.dataSetSchema(dataSetSchema.let(IResolvable::unwrap)) + cdkBuilder.dataSetSchema(dataSetSchema.let(IResolvable.Companion::unwrap)) } /** * @param dataSetSchema Dataset schema. */ override fun dataSetSchema(dataSetSchema: DataSetSchemaProperty) { - cdkBuilder.dataSetSchema(dataSetSchema.let(DataSetSchemaProperty::unwrap)) + cdkBuilder.dataSetSchema(dataSetSchema.let(DataSetSchemaProperty.Companion::unwrap)) } /** @@ -22869,7 +23145,7 @@ public open class CfnTemplate( * @param columnSchemaList A structure containing the list of column schemas. */ override fun columnSchemaList(columnSchemaList: IResolvable) { - cdkBuilder.columnSchemaList(columnSchemaList.let(IResolvable::unwrap)) + cdkBuilder.columnSchemaList(columnSchemaList.let(IResolvable.Companion::unwrap)) } /** @@ -23216,14 +23492,14 @@ public open class CfnTemplate( * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -23262,14 +23538,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -23549,14 +23825,14 @@ public open class CfnTemplate( * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `DateMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -23578,14 +23854,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -23782,7 +24058,7 @@ public open class CfnTemplate( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -23790,7 +24066,7 @@ public open class CfnTemplate( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -23807,7 +24083,7 @@ public open class CfnTemplate( * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** @@ -23815,7 +24091,7 @@ public open class CfnTemplate( * The date is determined from the dataset based on input expression. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -24072,7 +24348,7 @@ public open class CfnTemplate( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -24081,7 +24357,7 @@ public open class CfnTemplate( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -24100,7 +24376,7 @@ public open class CfnTemplate( * fields. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -24109,7 +24385,7 @@ public open class CfnTemplate( */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -24269,7 +24545,7 @@ public open class CfnTemplate( * `DateTime` hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -24510,7 +24786,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -24519,7 +24795,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: DateTimeDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DateTimeDefaultValuesProperty.Companion::unwrap)) } /** @@ -24536,7 +24812,7 @@ public open class CfnTemplate( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -24572,7 +24848,7 @@ public open class CfnTemplate( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -24580,7 +24856,7 @@ public open class CfnTemplate( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DateTimeValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(DateTimeValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -24780,7 +25056,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -24788,7 +25064,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -24805,14 +25081,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -25097,7 +25373,7 @@ public open class CfnTemplate( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -25105,7 +25381,7 @@ public open class CfnTemplate( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -25121,7 +25397,7 @@ public open class CfnTemplate( * @param staticValues The static values of the `DecimalDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -25350,7 +25626,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -25359,7 +25635,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: DecimalDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(DecimalDefaultValuesProperty.Companion::unwrap)) } /** @@ -25376,7 +25652,7 @@ public open class CfnTemplate( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -25412,7 +25688,7 @@ public open class CfnTemplate( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -25420,7 +25696,7 @@ public open class CfnTemplate( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: DecimalValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(DecimalValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -25707,7 +25983,7 @@ public open class CfnTemplate( } /** - * The options that determine the default settings of a free-form layout configuration. + * The default options that correspond to the filter control type of a `DateTimePicker` . * * Example: * @@ -25715,235 +25991,174 @@ public open class CfnTemplate( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = - * DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") + * DefaultDateTimePickerControlOptionsProperty defaultDateTimePickerControlOptionsProperty = + * DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") * .build()) * .build()) + * .type("type") * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfreeformlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultdatetimepickercontroloptions.html) */ - public interface DefaultFreeFormLayoutConfigurationProperty { + public interface DefaultDateTimePickerControlOptionsProperty { /** - * Determines the screen canvas size options for a free-form layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfreeformlayoutconfiguration.html#cfn-quicksight-template-defaultfreeformlayoutconfiguration-canvassizeoptions) - */ - public fun canvasSizeOptions(): Any - - /** - * A builder for [DefaultFreeFormLayoutConfigurationProperty] + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultdatetimepickercontroloptions.html#cfn-quicksight-template-defaultdatetimepickercontroloptions-displayoptions) */ - @CdkDslMarker - public interface Builder { - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("55c9d06fbac9304ee151a11d67f7e2364923ea98491edadca6a466f3b672be59") - public - fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) - } - - private class BuilderImpl : Builder { - private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty.Builder - = - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty.builder() - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) - } - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty::unwrap)) - } - - /** - * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. - */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("55c9d06fbac9304ee151a11d67f7e2364923ea98491edadca6a466f3b672be59") - override - fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) - - public fun build(): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty - = cdkBuilder.build() - } - - private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { - /** - * Determines the screen canvas size options for a free-form layout. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfreeformlayoutconfiguration.html#cfn-quicksight-template-defaultfreeformlayoutconfiguration-canvassizeoptions) - */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() - } - - public companion object { - public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultFreeFormLayoutConfigurationProperty { - val builderImpl = BuilderImpl() - return Wrapper(builderImpl.apply(block).build()) - } - - internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty): - DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) - - internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty - = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty - } - } + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() - /** - * The options that determine the default settings for a grid layout configuration. - * - * Example: - * - * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = - * DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") - * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultgridlayoutconfiguration.html) - */ - public interface DefaultGridLayoutConfigurationProperty { /** - * Determines the screen canvas size options for a grid layout. + * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the + * following options:. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultgridlayoutconfiguration.html#cfn-quicksight-template-defaultgridlayoutconfiguration-canvassizeoptions) + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultdatetimepickercontroloptions.html#cfn-quicksight-template-defaultdatetimepickercontroloptions-type) */ - public fun canvasSizeOptions(): Any + public fun type(): String? = unwrap(this).getType() /** - * A builder for [DefaultGridLayoutConfigurationProperty] + * A builder for [DefaultDateTimePickerControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) + public fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("bf1a6e2cf18e4e6ae62b2c2b72326f0e444b861e42b90ed870696e5d0de8a99a") + @JvmName("425ab76844c8c47a28d43285369d905fd92d639928ebc7a08115317fd449452f") public - fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose + * one of the following options:. + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + */ + public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty.builder() /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty::unwrap)) + override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("bf1a6e2cf18e4e6ae62b2c2b72326f0e444b861e42b90ed870696e5d0de8a99a") + @JvmName("425ab76844c8c47a28d43285369d905fd92d639928ebc7a08115317fd449452f") override - fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(DateTimePickerControlDisplayOptionsProperty(displayOptions)) + + /** + * @param type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose + * one of the following options:. + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } public fun build(): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultDateTimePickerControlOptionsProperty { /** - * Determines the screen canvas size options for a grid layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultgridlayoutconfiguration.html#cfn-quicksight-template-defaultgridlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultdatetimepickercontroloptions.html#cfn-quicksight-template-defaultdatetimepickercontroloptions-displayoptions) */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the + * following options:. + * + * * `SINGLE_VALUED` : The filter condition is a fixed date. + * * `DATE_RANGE` : The filter condition is a date time range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultdatetimepickercontroloptions.html#cfn-quicksight-template-defaultdatetimepickercontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultGridLayoutConfigurationProperty { + DefaultDateTimePickerControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty): - DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty): + DefaultDateTimePickerControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultDateTimePickerControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultDateTimePickerControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultDateTimePickerControlOptionsProperty } } /** - * The options that determine the default settings for interactive layout configuration. + * The default configuration for all dependent controls of the filter. * * Example: * @@ -25951,191 +26166,2575 @@ public open class CfnTemplate( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = - * DefaultInteractiveLayoutConfigurationProperty.builder() - * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") + * DefaultFilterControlConfigurationProperty defaultFilterControlConfigurationProperty = + * DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) - * .grid(DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") - * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") * .build()) + * .visibility("visibility") * .build()) * .build()) - * .build(); - * ``` - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html) - */ - public interface DefaultInteractiveLayoutConfigurationProperty { - /** - * The options that determine the default settings of a free-form layout configuration. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-freeform) - */ - public fun freeForm(): Any? = unwrap(this).getFreeForm() - - /** - * The options that determine the default settings for a grid layout configuration. - * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-grid) - */ - public fun grid(): Any? = unwrap(this).getGrid() - - /** - * A builder for [DefaultInteractiveLayoutConfigurationProperty] - */ - @CdkDslMarker - public interface Builder { - /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. - */ - public fun freeForm(freeForm: IResolvable) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontrolconfiguration.html) + */ + public interface DefaultFilterControlConfigurationProperty { + /** + * The control option for the `DefaultFilterControlConfiguration` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontrolconfiguration.html#cfn-quicksight-template-defaultfiltercontrolconfiguration-controloptions) + */ + public fun controlOptions(): Any + + /** + * The title of the `DefaultFilterControlConfiguration` . + * + * This title is shared by all controls that are tied to this filter. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontrolconfiguration.html#cfn-quicksight-template-defaultfiltercontrolconfiguration-title) + */ + public fun title(): String + + /** + * A builder for [DefaultFilterControlConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + public fun controlOptions(controlOptions: IResolvable) + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + public fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c890d5c53b846383f070bd20143913376fb57286d3282940fbe3243ec3e15c80") + public + fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit) + + /** + * @param title The title of the `DefaultFilterControlConfiguration` . + * This title is shared by all controls that are tied to this filter. + */ + public fun title(title: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty.builder() + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + override fun controlOptions(controlOptions: IResolvable) { + cdkBuilder.controlOptions(controlOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + override fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty) { + cdkBuilder.controlOptions(controlOptions.let(DefaultFilterControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param controlOptions The control option for the `DefaultFilterControlConfiguration` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c890d5c53b846383f070bd20143913376fb57286d3282940fbe3243ec3e15c80") + override + fun controlOptions(controlOptions: DefaultFilterControlOptionsProperty.Builder.() -> Unit): + Unit = controlOptions(DefaultFilterControlOptionsProperty(controlOptions)) + + /** + * @param title The title of the `DefaultFilterControlConfiguration` . + * This title is shared by all controls that are tied to this filter. + */ + override fun title(title: String) { + cdkBuilder.title(title) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty, + ) : CdkObject(cdkObject), DefaultFilterControlConfigurationProperty { + /** + * The control option for the `DefaultFilterControlConfiguration` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontrolconfiguration.html#cfn-quicksight-template-defaultfiltercontrolconfiguration-controloptions) + */ + override fun controlOptions(): Any = unwrap(this).getControlOptions() + + /** + * The title of the `DefaultFilterControlConfiguration` . + * + * This title is shared by all controls that are tied to this filter. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontrolconfiguration.html#cfn-quicksight-template-defaultfiltercontrolconfiguration-title) + */ + override fun title(): String = unwrap(this).getTitle() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterControlConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty): + DefaultFilterControlConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterControlConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterControlConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlConfigurationProperty + } + } + + /** + * The option that corresponds to the control type of the filter. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterControlOptionsProperty defaultFilterControlOptionsProperty = + * DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html) + */ + public interface DefaultFilterControlOptionsProperty { + /** + * The default options that correspond to the filter control type of a `DateTimePicker` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultdatetimepickeroptions) + */ + public fun defaultDateTimePickerOptions(): Any? = unwrap(this).getDefaultDateTimePickerOptions() + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultdropdownoptions) + */ + public fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() + + /** + * The default options that correspond to the `List` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultlistoptions) + */ + public fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultrelativedatetimeoptions) + */ + public fun defaultRelativeDateTimeOptions(): Any? = + unwrap(this).getDefaultRelativeDateTimeOptions() + + /** + * The default options that correspond to the `Slider` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultslideroptions) + */ + public fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() + + /** + * The default options that correspond to the `TextArea` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaulttextareaoptions) + */ + public fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() + + /** + * The default options that correspond to the `TextField` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaulttextfieldoptions) + */ + public fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() + + /** + * A builder for [DefaultFilterControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + public fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + public + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("788a5cabf7f02287629e56f1481e929af0d2aeb655a77ed68785b78a5054e112") + public + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + public fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + public + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e9bb4ec6c297395eac76a1ed3411068de1c25900c2b33e35a6bde77b87602051") + public + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + public fun defaultListOptions(defaultListOptions: IResolvable) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + public fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("95d1cd7485997230c4af3545f321b0668d2c6e9d8df42ee36c0fdcb2b5aeae67") + public + fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + public fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + public + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("47b7b2951dbdf2b2cff305bff6c234184997f4a909adfe4ef20b6279250a569d") + public + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + public fun defaultSliderOptions(defaultSliderOptions: IResolvable) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + public fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("42e2a6d8306c0f6eb4496d2778447eb3ef9a9f17158ed395ee69c0ad3bacaef4") + public + fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + public fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + public + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7046bf1f8bc2edd9498e5c8dd4502337d1988c30610475286661e5165b308f3c") + public + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + public fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + public + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("360dce65b5cafce5f49d4a7773d447172c23cdb71e3dc71e3a59f6ff9e8e2356") + public + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty.builder() + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + override fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: IResolvable) { + cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + override + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty) { + cdkBuilder.defaultDateTimePickerOptions(defaultDateTimePickerOptions.let(DefaultDateTimePickerControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultDateTimePickerOptions The default options that correspond to the filter + * control type of a `DateTimePicker` . + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("788a5cabf7f02287629e56f1481e929af0d2aeb655a77ed68785b78a5054e112") + override + fun defaultDateTimePickerOptions(defaultDateTimePickerOptions: DefaultDateTimePickerControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty(defaultDateTimePickerOptions)) + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + override fun defaultDropdownOptions(defaultDropdownOptions: IResolvable) { + cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + override + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty) { + cdkBuilder.defaultDropdownOptions(defaultDropdownOptions.let(DefaultFilterDropDownControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultDropdownOptions The default options that correspond to the `Dropdown` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e9bb4ec6c297395eac76a1ed3411068de1c25900c2b33e35a6bde77b87602051") + override + fun defaultDropdownOptions(defaultDropdownOptions: DefaultFilterDropDownControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty(defaultDropdownOptions)) + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + override fun defaultListOptions(defaultListOptions: IResolvable) { + cdkBuilder.defaultListOptions(defaultListOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + override fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty) { + cdkBuilder.defaultListOptions(defaultListOptions.let(DefaultFilterListControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultListOptions The default options that correspond to the `List` filter control + * type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("95d1cd7485997230c4af3545f321b0668d2c6e9d8df42ee36c0fdcb2b5aeae67") + override + fun defaultListOptions(defaultListOptions: DefaultFilterListControlOptionsProperty.Builder.() -> Unit): + Unit = defaultListOptions(DefaultFilterListControlOptionsProperty(defaultListOptions)) + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + override fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: IResolvable) { + cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + override + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty) { + cdkBuilder.defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions.let(DefaultRelativeDateTimeControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultRelativeDateTimeOptions The default options that correspond to the + * `RelativeDateTime` filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("47b7b2951dbdf2b2cff305bff6c234184997f4a909adfe4ef20b6279250a569d") + override + fun defaultRelativeDateTimeOptions(defaultRelativeDateTimeOptions: DefaultRelativeDateTimeControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty(defaultRelativeDateTimeOptions)) + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + override fun defaultSliderOptions(defaultSliderOptions: IResolvable) { + cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + override fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty) { + cdkBuilder.defaultSliderOptions(defaultSliderOptions.let(DefaultSliderControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultSliderOptions The default options that correspond to the `Slider` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("42e2a6d8306c0f6eb4496d2778447eb3ef9a9f17158ed395ee69c0ad3bacaef4") + override + fun defaultSliderOptions(defaultSliderOptions: DefaultSliderControlOptionsProperty.Builder.() -> Unit): + Unit = defaultSliderOptions(DefaultSliderControlOptionsProperty(defaultSliderOptions)) + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + override fun defaultTextAreaOptions(defaultTextAreaOptions: IResolvable) { + cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + override + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty) { + cdkBuilder.defaultTextAreaOptions(defaultTextAreaOptions.let(DefaultTextAreaControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultTextAreaOptions The default options that correspond to the `TextArea` filter + * control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("7046bf1f8bc2edd9498e5c8dd4502337d1988c30610475286661e5165b308f3c") + override + fun defaultTextAreaOptions(defaultTextAreaOptions: DefaultTextAreaControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty(defaultTextAreaOptions)) + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + override fun defaultTextFieldOptions(defaultTextFieldOptions: IResolvable) { + cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + override + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty) { + cdkBuilder.defaultTextFieldOptions(defaultTextFieldOptions.let(DefaultTextFieldControlOptionsProperty.Companion::unwrap)) + } + + /** + * @param defaultTextFieldOptions The default options that correspond to the `TextField` + * filter control type. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("360dce65b5cafce5f49d4a7773d447172c23cdb71e3dc71e3a59f6ff9e8e2356") + override + fun defaultTextFieldOptions(defaultTextFieldOptions: DefaultTextFieldControlOptionsProperty.Builder.() -> Unit): + Unit = + defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty(defaultTextFieldOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterControlOptionsProperty { + /** + * The default options that correspond to the filter control type of a `DateTimePicker` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultdatetimepickeroptions) + */ + override fun defaultDateTimePickerOptions(): Any? = + unwrap(this).getDefaultDateTimePickerOptions() + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultdropdownoptions) + */ + override fun defaultDropdownOptions(): Any? = unwrap(this).getDefaultDropdownOptions() + + /** + * The default options that correspond to the `List` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultlistoptions) + */ + override fun defaultListOptions(): Any? = unwrap(this).getDefaultListOptions() + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultrelativedatetimeoptions) + */ + override fun defaultRelativeDateTimeOptions(): Any? = + unwrap(this).getDefaultRelativeDateTimeOptions() + + /** + * The default options that correspond to the `Slider` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaultslideroptions) + */ + override fun defaultSliderOptions(): Any? = unwrap(this).getDefaultSliderOptions() + + /** + * The default options that correspond to the `TextArea` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaulttextareaoptions) + */ + override fun defaultTextAreaOptions(): Any? = unwrap(this).getDefaultTextAreaOptions() + + /** + * The default options that correspond to the `TextField` filter control type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfiltercontroloptions.html#cfn-quicksight-template-defaultfiltercontroloptions-defaulttextfieldoptions) + */ + override fun defaultTextFieldOptions(): Any? = unwrap(this).getDefaultTextFieldOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty): + DefaultFilterControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterControlOptionsProperty + } + } + + /** + * The default options that correspond to the `Dropdown` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterDropDownControlOptionsProperty defaultFilterDropDownControlOptionsProperty = + * DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html) + */ + public interface DefaultFilterDropDownControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html#cfn-quicksight-template-defaultfilterdropdowncontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html#cfn-quicksight-template-defaultfilterdropdowncontroloptions-selectablevalues) + */ + public fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `FilterDropDownControl` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html#cfn-quicksight-template-defaultfilterdropdowncontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultFilterDropDownControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("9ba9162213e52adb1b1065461f966d6bc4a4dec71b80fad451db1cb976c73228") + public + fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: IResolvable) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: FilterSelectableValuesProperty) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("db88a15c98768466d2848c5d2e31774973f68519e9d1c37d7a898c47bbada6f6") + public + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) + + /** + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("9ba9162213e52adb1b1065461f966d6bc4a4dec71b80fad451db1cb976c73228") + override + fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(DropDownControlDisplayOptionsProperty(displayOptions)) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: IResolvable) { + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("db88a15c98768466d2848c5d2e31774973f68519e9d1c37d7a898c47bbada6f6") + override + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): + Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) + + /** + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterDropDownControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html#cfn-quicksight-template-defaultfilterdropdowncontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html#cfn-quicksight-template-defaultfilterdropdowncontroloptions-selectablevalues) + */ + override fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `FilterDropDownControl` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterdropdowncontroloptions.html#cfn-quicksight-template-defaultfilterdropdowncontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterDropDownControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty): + DefaultFilterDropDownControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterDropDownControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterDropDownControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterDropDownControlOptionsProperty + } + } + + /** + * The default options that correspond to the `List` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFilterListControlOptionsProperty defaultFilterListControlOptionsProperty = + * DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html) + */ + public interface DefaultFilterListControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html#cfn-quicksight-template-defaultfilterlistcontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html#cfn-quicksight-template-defaultfilterlistcontroloptions-selectablevalues) + */ + public fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html#cfn-quicksight-template-defaultfilterlistcontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultFilterListControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e4788573789374addeb9459a50d934bbca483cab11c7ec2c29f0731f0b4bc6ee") + public + fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: IResolvable) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + public fun selectableValues(selectableValues: FilterSelectableValuesProperty) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("0f30f8082fc235f0a56ab15199f22f893da9df7bee6dcd38549fcbd3aa947397") + public + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit) + + /** + * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following + * options:. + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + */ + public fun type(type: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("e4788573789374addeb9459a50d934bbca483cab11c7ec2c29f0731f0b4bc6ee") + override + fun displayOptions(displayOptions: ListControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(ListControlDisplayOptionsProperty(displayOptions)) + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: IResolvable) { + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) + } + + /** + * @param selectableValues A list of selectable values that are used in a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("0f30f8082fc235f0a56ab15199f22f893da9df7bee6dcd38549fcbd3aa947397") + override + fun selectableValues(selectableValues: FilterSelectableValuesProperty.Builder.() -> Unit): + Unit = selectableValues(FilterSelectableValuesProperty(selectableValues)) + + /** + * @param type The type of the `DefaultFilterListControlOptions` . Choose one of the following + * options:. + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + */ + override fun type(type: String) { + cdkBuilder.type(type) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultFilterListControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html#cfn-quicksight-template-defaultfilterlistcontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A list of selectable values that are used in a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html#cfn-quicksight-template-defaultfilterlistcontroloptions-selectablevalues) + */ + override fun selectableValues(): Any? = unwrap(this).getSelectableValues() + + /** + * The type of the `DefaultFilterListControlOptions` . Choose one of the following options:. + * + * * `MULTI_SELECT` : The user can select multiple entries from the list. + * * `SINGLE_SELECT` : The user can select a single entry from the list. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfilterlistcontroloptions.html#cfn-quicksight-template-defaultfilterlistcontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFilterListControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty): + DefaultFilterListControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFilterListControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFilterListControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFilterListControlOptionsProperty + } + } + + /** + * The options that determine the default settings of a free-form layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultFreeFormLayoutConfigurationProperty defaultFreeFormLayoutConfigurationProperty = + * DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfreeformlayoutconfiguration.html) + */ + public interface DefaultFreeFormLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a free-form layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfreeformlayoutconfiguration.html#cfn-quicksight-template-defaultfreeformlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultFreeFormLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("55c9d06fbac9304ee151a11d67f7e2364923ea98491edadca6a466f3b672be59") + public + fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a free-form layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("55c9d06fbac9304ee151a11d67f7e2364923ea98491edadca6a466f3b672be59") + override + fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultFreeFormLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a free-form layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultfreeformlayoutconfiguration.html#cfn-quicksight-template-defaultfreeformlayoutconfiguration-canvassizeoptions) + */ + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultFreeFormLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty): + DefaultFreeFormLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultFreeFormLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultFreeFormLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultFreeFormLayoutConfigurationProperty + } + } + + /** + * The options that determine the default settings for a grid layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultGridLayoutConfigurationProperty defaultGridLayoutConfigurationProperty = + * DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultgridlayoutconfiguration.html) + */ + public interface DefaultGridLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a grid layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultgridlayoutconfiguration.html#cfn-quicksight-template-defaultgridlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultGridLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bf1a6e2cf18e4e6ae62b2c2b72326f0e444b861e42b90ed870696e5d0de8a99a") + public + fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a grid layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bf1a6e2cf18e4e6ae62b2c2b72326f0e444b861e42b90ed870696e5d0de8a99a") + override + fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultGridLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a grid layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultgridlayoutconfiguration.html#cfn-quicksight-template-defaultgridlayoutconfiguration-canvassizeoptions) + */ + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultGridLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty): + DefaultGridLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultGridLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultGridLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultGridLayoutConfigurationProperty + } + } + + /** + * The options that determine the default settings for interactive layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultInteractiveLayoutConfigurationProperty defaultInteractiveLayoutConfigurationProperty = + * DefaultInteractiveLayoutConfigurationProperty.builder() + * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .grid(DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html) + */ + public interface DefaultInteractiveLayoutConfigurationProperty { + /** + * The options that determine the default settings of a free-form layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-freeform) + */ + public fun freeForm(): Any? = unwrap(this).getFreeForm() + + /** + * The options that determine the default settings for a grid layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-grid) + */ + public fun grid(): Any? = unwrap(this).getGrid() + + /** + * A builder for [DefaultInteractiveLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + public fun freeForm(freeForm: IResolvable) + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("938b814987374421ab14771d8b8072b39da84880ee300924e96b3b00c622a45d") + public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + public fun grid(grid: IResolvable) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + public fun grid(grid: DefaultGridLayoutConfigurationProperty) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c458742b483f2169bec94e77c70f1cc6c96626d3ae83866fe1153e828c7b2c64") + public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty.builder() + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + override fun freeForm(freeForm: IResolvable) { + cdkBuilder.freeForm(freeForm.let(IResolvable.Companion::unwrap)) + } + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { + cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param freeForm The options that determine the default settings of a free-form layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("938b814987374421ab14771d8b8072b39da84880ee300924e96b3b00c622a45d") + override + fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): + Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + override fun grid(grid: IResolvable) { + cdkBuilder.grid(grid.let(IResolvable.Companion::unwrap)) + } + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + override fun grid(grid: DefaultGridLayoutConfigurationProperty) { + cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param grid The options that determine the default settings for a grid layout + * configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c458742b483f2169bec94e77c70f1cc6c96626d3ae83866fe1153e828c7b2c64") + override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = + grid(DefaultGridLayoutConfigurationProperty(grid)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { + /** + * The options that determine the default settings of a free-form layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-freeform) + */ + override fun freeForm(): Any? = unwrap(this).getFreeForm() + + /** + * The options that determine the default settings for a grid layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-grid) + */ + override fun grid(): Any? = unwrap(this).getGrid() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultInteractiveLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty): + DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty + } + } + + /** + * The configuration for default new sheet settings. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = + * DefaultNewSheetConfigurationProperty.builder() + * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() + * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() + * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .grid(DefaultGridLayoutConfigurationProperty.builder() + * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() + * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() + * .resizeOption("resizeOption") + * // the properties below are optional + * .optimizedViewPortWidth("optimizedViewPortWidth") + * .build()) + * .build()) + * .build()) + * .build()) + * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() + * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build()) + * .build()) + * .sheetContentType("sheetContentType") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html) + */ + public interface DefaultNewSheetConfigurationProperty { + /** + * The options that determine the default settings for interactive layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-interactivelayoutconfiguration) + */ + public fun interactiveLayoutConfiguration(): Any? = + unwrap(this).getInteractiveLayoutConfiguration() + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + */ + public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() + + /** + * The option that determines the sheet content type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-sheetcontenttype) + */ + public fun sheetContentType(): String? = unwrap(this).getSheetContentType() + /** + * A builder for [DefaultNewSheetConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) + public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. + */ + public + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) + + /** + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("938b814987374421ab14771d8b8072b39da84880ee300924e96b3b00c622a45d") - public fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit) + @JvmName("91519db5f47fbd273dbf552640d1cc732b9d6b2b16c46f236e930278bcb5c123") + public + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - public fun grid(grid: IResolvable) + public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - public fun grid(grid: DefaultGridLayoutConfigurationProperty) + public + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("c458742b483f2169bec94e77c70f1cc6c96626d3ae83866fe1153e828c7b2c64") - public fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit) + @JvmName("731ec70d4b51273adea2135aef4dfca415ee92fef3b7fe783a890b83602b9976") + public + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) + + /** + * @param sheetContentType The option that determines the sheet content type. + */ + public fun sheetContentType(sheetContentType: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty.builder() /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - override fun freeForm(freeForm: IResolvable) { - cdkBuilder.freeForm(freeForm.let(IResolvable::unwrap)) + override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { + cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ - override fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty) { - cdkBuilder.freeForm(freeForm.let(DefaultFreeFormLayoutConfigurationProperty::unwrap)) + override + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { + cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty.Companion::unwrap)) } /** - * @param freeForm The options that determine the default settings of a free-form layout - * configuration. + * @param interactiveLayoutConfiguration The options that determine the default settings for + * interactive layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("938b814987374421ab14771d8b8072b39da84880ee300924e96b3b00c622a45d") + @JvmName("91519db5f47fbd273dbf552640d1cc732b9d6b2b16c46f236e930278bcb5c123") override - fun freeForm(freeForm: DefaultFreeFormLayoutConfigurationProperty.Builder.() -> Unit): - Unit = freeForm(DefaultFreeFormLayoutConfigurationProperty(freeForm)) + fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): + Unit = + interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - override fun grid(grid: IResolvable) { - cdkBuilder.grid(grid.let(IResolvable::unwrap)) + override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { + cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable.Companion::unwrap)) } /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ - override fun grid(grid: DefaultGridLayoutConfigurationProperty) { - cdkBuilder.grid(grid.let(DefaultGridLayoutConfigurationProperty::unwrap)) + override + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { + cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty.Companion::unwrap)) } /** - * @param grid The options that determine the default settings for a grid layout - * configuration. + * @param paginatedLayoutConfiguration The options that determine the default settings for a + * paginated layout configuration. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("c458742b483f2169bec94e77c70f1cc6c96626d3ae83866fe1153e828c7b2c64") - override fun grid(grid: DefaultGridLayoutConfigurationProperty.Builder.() -> Unit): Unit = - grid(DefaultGridLayoutConfigurationProperty(grid)) + @JvmName("731ec70d4b51273adea2135aef4dfca415ee92fef3b7fe783a890b83602b9976") + override + fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): + Unit = + paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) + + /** + * @param sheetContentType The option that determines the sheet content type. + */ + override fun sheetContentType(sheetContentType: String) { + cdkBuilder.sheetContentType(sheetContentType) + } public fun build(): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultInteractiveLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty, + ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { /** - * The options that determine the default settings of a free-form layout configuration. + * The options that determine the default settings for interactive layout configuration. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-freeform) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-interactivelayoutconfiguration) */ - override fun freeForm(): Any? = unwrap(this).getFreeForm() + override fun interactiveLayoutConfiguration(): Any? = + unwrap(this).getInteractiveLayoutConfiguration() + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + */ + override fun paginatedLayoutConfiguration(): Any? = + unwrap(this).getPaginatedLayoutConfiguration() + + /** + * The option that determines the sheet content type. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-sheetcontenttype) + */ + override fun sheetContentType(): String? = unwrap(this).getSheetContentType() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultNewSheetConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty): + DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty + } + } + + /** + * The options that determine the default settings for a paginated layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = + * DefaultPaginatedLayoutConfigurationProperty.builder() + * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultpaginatedlayoutconfiguration.html) + */ + public interface DefaultPaginatedLayoutConfigurationProperty { + /** + * The options that determine the default settings for a section-based layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-template-defaultpaginatedlayoutconfiguration-sectionbased) + */ + public fun sectionBased(): Any? = unwrap(this).getSectionBased() + + /** + * A builder for [DefaultPaginatedLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + public fun sectionBased(sectionBased: IResolvable) + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8c9a6a413c57a6870cd1efbe004e6382b65cbcf11d8e81421f21c51b437ac638") + public + fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty.builder() + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + override fun sectionBased(sectionBased: IResolvable) { + cdkBuilder.sectionBased(sectionBased.let(IResolvable.Companion::unwrap)) + } + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { + cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty.Companion::unwrap)) + } + + /** + * @param sectionBased The options that determine the default settings for a section-based + * layout configuration. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("8c9a6a413c57a6870cd1efbe004e6382b65cbcf11d8e81421f21c51b437ac638") + override + fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): + Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { + /** + * The options that determine the default settings for a section-based layout configuration. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-template-defaultpaginatedlayoutconfiguration-sectionbased) + */ + override fun sectionBased(): Any? = unwrap(this).getSectionBased() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultPaginatedLayoutConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty): + DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty + } + } + + /** + * The default options that correspond to the `RelativeDateTime` filter control type. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultRelativeDateTimeControlOptionsProperty defaultRelativeDateTimeControlOptionsProperty = + * DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultrelativedatetimecontroloptions.html) + */ + public interface DefaultRelativeDateTimeControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultrelativedatetimecontroloptions.html#cfn-quicksight-template-defaultrelativedatetimecontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A builder for [DefaultRelativeDateTimeControlOptionsProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: IResolvable) + + /** + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fc83ed740e0c6b6483a5156f32f3226f04d7c9daf9aeb5879f3057bd378485d4") + public + fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty.builder() + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("fc83ed740e0c6b6483a5156f32f3226f04d7c9daf9aeb5879f3057bd378485d4") + override + fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(RelativeDateTimeControlDisplayOptionsProperty(displayOptions)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultRelativeDateTimeControlOptionsProperty { + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultrelativedatetimecontroloptions.html#cfn-quicksight-template-defaultrelativedatetimecontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + DefaultRelativeDateTimeControlOptionsProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty): + DefaultRelativeDateTimeControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultRelativeDateTimeControlOptionsProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: DefaultRelativeDateTimeControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultRelativeDateTimeControlOptionsProperty + } + } + + /** + * The options that determine the default settings for a section-based layout configuration. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = + * DefaultSectionBasedLayoutConfigurationProperty.builder() + * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() + * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() + * .paperMargin(SpacingProperty.builder() + * .bottom("bottom") + * .left("left") + * .right("right") + * .top("top") + * .build()) + * .paperOrientation("paperOrientation") + * .paperSize("paperSize") + * .build()) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultsectionbasedlayoutconfiguration.html) + */ + public interface DefaultSectionBasedLayoutConfigurationProperty { + /** + * Determines the screen canvas size options for a section-based layout. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-template-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + */ + public fun canvasSizeOptions(): Any + + /** + * A builder for [DefaultSectionBasedLayoutConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("361726cf1d4ddb690c7600fd3c7800fec28ed7cab319d0410d4279d23eb627b1") + public + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty.builder() + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + override + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) + } + + /** + * @param canvasSizeOptions Determines the screen canvas size options for a section-based + * layout. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("361726cf1d4ddb690c7600fd3c7800fec28ed7cab319d0410d4279d23eb627b1") + override + fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): + Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty, + ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { /** - * The options that determine the default settings for a grid layout configuration. + * Determines the screen canvas size options for a section-based layout. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultinteractivelayoutconfiguration.html#cfn-quicksight-template-defaultinteractivelayoutconfiguration-grid) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-template-defaultsectionbasedlayoutconfiguration-canvassizeoptions) */ - override fun grid(): Any? = unwrap(this).getGrid() + override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultInteractiveLayoutConfigurationProperty { + DefaultSectionBasedLayoutConfigurationProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty): - DefaultInteractiveLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultInteractiveLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty): + DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultInteractiveLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultInteractiveLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty } } /** - * The configuration for default new sheet settings. + * The default options that correspond to the `Slider` filter control type. * * Example: * @@ -26143,248 +28742,265 @@ public open class CfnTemplate( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultNewSheetConfigurationProperty defaultNewSheetConfigurationProperty = - * DefaultNewSheetConfigurationProperty.builder() - * .interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty.builder() - * .freeForm(DefaultFreeFormLayoutConfigurationProperty.builder() - * .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder() - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build()) - * .grid(DefaultGridLayoutConfigurationProperty.builder() - * .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder() - * .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder() - * .resizeOption("resizeOption") + * DefaultSliderControlOptionsProperty defaultSliderControlOptionsProperty = + * DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) * // the properties below are optional - * .optimizedViewPortWidth("optimizedViewPortWidth") - * .build()) - * .build()) - * .build()) + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) - * .paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty.builder() - * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) * .build()) + * .visibility("visibility") * .build()) * .build()) - * .sheetContentType("sheetContentType") + * .type("type") * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html) */ - public interface DefaultNewSheetConfigurationProperty { + public interface DefaultSliderControlOptionsProperty { /** - * The options that determine the default settings for interactive layout configuration. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-interactivelayoutconfiguration) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-displayoptions) */ - public fun interactiveLayoutConfiguration(): Any? = - unwrap(this).getInteractiveLayoutConfiguration() + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The options that determine the default settings for a paginated layout configuration. + * The larger value that is displayed at the right of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-maximumvalue) */ - public fun paginatedLayoutConfiguration(): Any? = unwrap(this).getPaginatedLayoutConfiguration() + public fun maximumValue(): Number /** - * The option that determines the sheet content type. + * The smaller value that is displayed at the left of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-sheetcontenttype) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-minimumvalue) */ - public fun sheetContentType(): String? = unwrap(this).getSheetContentType() + public fun minimumValue(): Number /** - * A builder for [DefaultNewSheetConfigurationProperty] + * The number of increments that the slider bar is divided into. + * + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-stepsize) + */ + public fun stepSize(): Number + + /** + * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. + * + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-type) + */ + public fun type(): String? = unwrap(this).getType() + + /** + * A builder for [DefaultSliderControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - public fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - public - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) + public fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("91519db5f47fbd273dbf552640d1cc732b9d6b2b16c46f236e930278bcb5c123") + @JvmName("26a1bb6c409977edd2e57ebecf934b2abcb87dad41b7e7d021ff2f8de32d310d") public - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param maximumValue The larger value that is displayed at the right of the slider. */ - public fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) + public fun maximumValue(maximumValue: Number) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ - public - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) + public fun minimumValue(minimumValue: Number) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param stepSize The number of increments that the slider bar is divided into. */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("731ec70d4b51273adea2135aef4dfca415ee92fef3b7fe783a890b83602b9976") - public - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit) + public fun stepSize(stepSize: Number) /** - * @param sheetContentType The option that determines the sheet content type. + * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following + * options:. + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. */ - public fun sheetContentType(sheetContentType: String) + public fun type(type: String) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty.builder() /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - override fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: IResolvable) { - cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ - override - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty) { - cdkBuilder.interactiveLayoutConfiguration(interactiveLayoutConfiguration.let(DefaultInteractiveLayoutConfigurationProperty::unwrap)) + override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param interactiveLayoutConfiguration The options that determine the default settings for - * interactive layout configuration. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("91519db5f47fbd273dbf552640d1cc732b9d6b2b16c46f236e930278bcb5c123") + @JvmName("26a1bb6c409977edd2e57ebecf934b2abcb87dad41b7e7d021ff2f8de32d310d") override - fun interactiveLayoutConfiguration(interactiveLayoutConfiguration: DefaultInteractiveLayoutConfigurationProperty.Builder.() -> Unit): - Unit = - interactiveLayoutConfiguration(DefaultInteractiveLayoutConfigurationProperty(interactiveLayoutConfiguration)) + fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param maximumValue The larger value that is displayed at the right of the slider. */ - override fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: IResolvable) { - cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(IResolvable::unwrap)) + override fun maximumValue(maximumValue: Number) { + cdkBuilder.maximumValue(maximumValue) } /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ - override - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty) { - cdkBuilder.paginatedLayoutConfiguration(paginatedLayoutConfiguration.let(DefaultPaginatedLayoutConfigurationProperty::unwrap)) + override fun minimumValue(minimumValue: Number) { + cdkBuilder.minimumValue(minimumValue) } /** - * @param paginatedLayoutConfiguration The options that determine the default settings for a - * paginated layout configuration. + * @param stepSize The number of increments that the slider bar is divided into. */ - @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("731ec70d4b51273adea2135aef4dfca415ee92fef3b7fe783a890b83602b9976") - override - fun paginatedLayoutConfiguration(paginatedLayoutConfiguration: DefaultPaginatedLayoutConfigurationProperty.Builder.() -> Unit): - Unit = - paginatedLayoutConfiguration(DefaultPaginatedLayoutConfigurationProperty(paginatedLayoutConfiguration)) + override fun stepSize(stepSize: Number) { + cdkBuilder.stepSize(stepSize) + } /** - * @param sheetContentType The option that determines the sheet content type. + * @param type The type of the `DefaultSliderControlOptions` . Choose one of the following + * options:. + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. */ - override fun sheetContentType(sheetContentType: String) { - cdkBuilder.sheetContentType(sheetContentType) + override fun type(type: String) { + cdkBuilder.type(type) } public fun build(): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty, - ) : CdkObject(cdkObject), DefaultNewSheetConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultSliderControlOptionsProperty { /** - * The options that determine the default settings for interactive layout configuration. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-interactivelayoutconfiguration) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-displayoptions) */ - override fun interactiveLayoutConfiguration(): Any? = - unwrap(this).getInteractiveLayoutConfiguration() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The options that determine the default settings for a paginated layout configuration. + * The larger value that is displayed at the right of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-paginatedlayoutconfiguration) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-maximumvalue) */ - override fun paginatedLayoutConfiguration(): Any? = - unwrap(this).getPaginatedLayoutConfiguration() + override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The option that determines the sheet content type. + * The smaller value that is displayed at the left of the slider. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultnewsheetconfiguration.html#cfn-quicksight-template-defaultnewsheetconfiguration-sheetcontenttype) + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-minimumvalue) */ - override fun sheetContentType(): String? = unwrap(this).getSheetContentType() + override fun minimumValue(): Number = unwrap(this).getMinimumValue() + + /** + * The number of increments that the slider bar is divided into. + * + * Default: - 0 + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-stepsize) + */ + override fun stepSize(): Number = unwrap(this).getStepSize() + + /** + * The type of the `DefaultSliderControlOptions` . Choose one of the following options:. + * + * * `SINGLE_POINT` : Filter against(equals) a single data point. + * * `RANGE` : Filter data that is in a specified range. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultslidercontroloptions.html#cfn-quicksight-template-defaultslidercontroloptions-type) + */ + override fun type(): String? = unwrap(this).getType() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultNewSheetConfigurationProperty { + DefaultSliderControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty): - DefaultNewSheetConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultNewSheetConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty): + DefaultSliderControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultSliderControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultNewSheetConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty + internal fun unwrap(wrapped: DefaultSliderControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultNewSheetConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty } } /** - * The options that determine the default settings for a paginated layout configuration. + * The default options that correspond to the `TextArea` filter control type. * * Example: * @@ -26392,131 +29008,162 @@ public open class CfnTemplate( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultPaginatedLayoutConfigurationProperty defaultPaginatedLayoutConfigurationProperty = - * DefaultPaginatedLayoutConfigurationProperty.builder() - * .sectionBased(DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * DefaultTextAreaControlOptionsProperty defaultTextAreaControlOptionsProperty = + * DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") * .build()) + * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultpaginatedlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextareacontroloptions.html) */ - public interface DefaultPaginatedLayoutConfigurationProperty { + public interface DefaultTextAreaControlOptionsProperty { /** - * The options that determine the default settings for a section-based layout configuration. + * The delimiter that is used to separate the lines in text. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-template-defaultpaginatedlayoutconfiguration-sectionbased) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextareacontroloptions.html#cfn-quicksight-template-defaulttextareacontroloptions-delimiter) */ - public fun sectionBased(): Any? = unwrap(this).getSectionBased() + public fun delimiter(): String? = unwrap(this).getDelimiter() /** - * A builder for [DefaultPaginatedLayoutConfigurationProperty] + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextareacontroloptions.html#cfn-quicksight-template-defaulttextareacontroloptions-displayoptions) + */ + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() + + /** + * A builder for [DefaultTextAreaControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param delimiter The delimiter that is used to separate the lines in text. */ - public fun sectionBased(sectionBased: IResolvable) + public fun delimiter(delimiter: String) /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. */ - public fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) + public fun displayOptions(displayOptions: IResolvable) /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. + */ + public fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) + + /** + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("8c9a6a413c57a6870cd1efbe004e6382b65cbcf11d8e81421f21c51b437ac638") + @JvmName("3ce00eface1280daaf60a9bec950f3e4cd492ef679b6b081b3a6b1f4608b7bef") public - fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty.builder() /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param delimiter The delimiter that is used to separate the lines in text. */ - override fun sectionBased(sectionBased: IResolvable) { - cdkBuilder.sectionBased(sectionBased.let(IResolvable::unwrap)) + override fun delimiter(delimiter: String) { + cdkBuilder.delimiter(delimiter) } /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. */ - override fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty) { - cdkBuilder.sectionBased(sectionBased.let(DefaultSectionBasedLayoutConfigurationProperty::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param sectionBased The options that determine the default settings for a section-based - * layout configuration. + * @param displayOptions The display options of a control. + */ + override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) + } + + /** + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("8c9a6a413c57a6870cd1efbe004e6382b65cbcf11d8e81421f21c51b437ac638") + @JvmName("3ce00eface1280daaf60a9bec950f3e4cd492ef679b6b081b3a6b1f4608b7bef") override - fun sectionBased(sectionBased: DefaultSectionBasedLayoutConfigurationProperty.Builder.() -> Unit): - Unit = sectionBased(DefaultSectionBasedLayoutConfigurationProperty(sectionBased)) + fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(TextAreaControlDisplayOptionsProperty(displayOptions)) public fun build(): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultPaginatedLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultTextAreaControlOptionsProperty { /** - * The options that determine the default settings for a section-based layout configuration. + * The delimiter that is used to separate the lines in text. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultpaginatedlayoutconfiguration.html#cfn-quicksight-template-defaultpaginatedlayoutconfiguration-sectionbased) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextareacontroloptions.html#cfn-quicksight-template-defaulttextareacontroloptions-delimiter) */ - override fun sectionBased(): Any? = unwrap(this).getSectionBased() + override fun delimiter(): String? = unwrap(this).getDelimiter() + + /** + * The display options of a control. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextareacontroloptions.html#cfn-quicksight-template-defaulttextareacontroloptions-displayoptions) + */ + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultPaginatedLayoutConfigurationProperty { + DefaultTextAreaControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty): - DefaultPaginatedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultPaginatedLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty): + DefaultTextAreaControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultTextAreaControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultPaginatedLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultTextAreaControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultPaginatedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextAreaControlOptionsProperty } } /** - * The options that determine the default settings for a section-based layout configuration. + * The default options that correspond to the `TextField` filter control type. * * Example: * @@ -26524,125 +29171,130 @@ public open class CfnTemplate( * // The code below shows an example of how to instantiate this type. * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; - * DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = - * DefaultSectionBasedLayoutConfigurationProperty.builder() - * .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() - * .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() - * .paperMargin(SpacingProperty.builder() - * .bottom("bottom") - * .left("left") - * .right("right") - * .top("top") + * DefaultTextFieldControlOptionsProperty defaultTextFieldControlOptionsProperty = + * DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") * .build()) - * .paperOrientation("paperOrientation") - * .paperSize("paperSize") + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") * .build()) * .build()) * .build(); * ``` * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultsectionbasedlayoutconfiguration.html) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextfieldcontroloptions.html) */ - public interface DefaultSectionBasedLayoutConfigurationProperty { + public interface DefaultTextFieldControlOptionsProperty { /** - * Determines the screen canvas size options for a section-based layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-template-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextfieldcontroloptions.html#cfn-quicksight-template-defaulttextfieldcontroloptions-displayoptions) */ - public fun canvasSizeOptions(): Any + public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * A builder for [DefaultSectionBasedLayoutConfigurationProperty] + * A builder for [DefaultTextFieldControlOptionsProperty] */ @CdkDslMarker public interface Builder { /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: IResolvable) + public fun displayOptions(displayOptions: IResolvable) /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - public fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) + public fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("361726cf1d4ddb690c7600fd3c7800fec28ed7cab319d0410d4279d23eb627b1") + @JvmName("0ccdcc24232824c934771de442792de81e2f2f80fdd1eaa91933a5c014e9b5c3") public - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit) + fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit) } private class BuilderImpl : Builder { private val cdkBuilder: - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty.Builder + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty.Builder = - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty.builder() + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty.builder() /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + override fun displayOptions(displayOptions: IResolvable) { + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ - override - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty::unwrap)) + override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** - * @param canvasSizeOptions Determines the screen canvas size options for a section-based - * layout. + * @param displayOptions The display options of a control. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") - @JvmName("361726cf1d4ddb690c7600fd3c7800fec28ed7cab319d0410d4279d23eb627b1") + @JvmName("0ccdcc24232824c934771de442792de81e2f2f80fdd1eaa91933a5c014e9b5c3") override - fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty.Builder.() -> Unit): - Unit = canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty(canvasSizeOptions)) + fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty.Builder.() -> Unit): + Unit = displayOptions(TextFieldControlDisplayOptionsProperty(displayOptions)) public fun build(): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty = cdkBuilder.build() } private class Wrapper( - cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty, - ) : CdkObject(cdkObject), DefaultSectionBasedLayoutConfigurationProperty { + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty, + ) : CdkObject(cdkObject), DefaultTextFieldControlOptionsProperty { /** - * Determines the screen canvas size options for a section-based layout. + * The display options of a control. * - * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaultsectionbasedlayoutconfiguration.html#cfn-quicksight-template-defaultsectionbasedlayoutconfiguration-canvassizeoptions) + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-defaulttextfieldcontroloptions.html#cfn-quicksight-template-defaulttextfieldcontroloptions-displayoptions) */ - override fun canvasSizeOptions(): Any = unwrap(this).getCanvasSizeOptions() + override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() } public companion object { public operator fun invoke(block: Builder.() -> Unit = {}): - DefaultSectionBasedLayoutConfigurationProperty { + DefaultTextFieldControlOptionsProperty { val builderImpl = BuilderImpl() return Wrapper(builderImpl.apply(block).build()) } internal - fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty): - DefaultSectionBasedLayoutConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? - DefaultSectionBasedLayoutConfigurationProperty ?: Wrapper(cdkObject) + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty): + DefaultTextFieldControlOptionsProperty = CdkObjectWrappers.wrap(cdkObject) as? + DefaultTextFieldControlOptionsProperty ?: Wrapper(cdkObject) - internal fun unwrap(wrapped: DefaultSectionBasedLayoutConfigurationProperty): - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty + internal fun unwrap(wrapped: DefaultTextFieldControlOptionsProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty = (wrapped as CdkObject).cdkObject as - software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSectionBasedLayoutConfigurationProperty + software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultTextFieldControlOptionsProperty } } @@ -26788,7 +29440,7 @@ public open class CfnTemplate( * parameter in `DestinationParameterValueConfiguration` . */ override fun customValuesConfiguration(customValuesConfiguration: IResolvable) { - cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -26797,7 +29449,7 @@ public open class CfnTemplate( */ override fun customValuesConfiguration(customValuesConfiguration: CustomValuesConfigurationProperty) { - cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty::unwrap)) + cdkBuilder.customValuesConfiguration(customValuesConfiguration.let(CustomValuesConfigurationProperty.Companion::unwrap)) } /** @@ -26822,14 +29474,14 @@ public open class CfnTemplate( * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: IResolvable) { - cdkBuilder.sourceColumn(sourceColumn.let(IResolvable::unwrap)) + cdkBuilder.sourceColumn(sourceColumn.let(IResolvable.Companion::unwrap)) } /** * @param sourceColumn the value to be set. */ override fun sourceColumn(sourceColumn: ColumnIdentifierProperty) { - cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.sourceColumn(sourceColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -27259,7 +29911,7 @@ public open class CfnTemplate( * @param categoricalDimensionField The dimension type field with categorical type columns. */ override fun categoricalDimensionField(categoricalDimensionField: IResolvable) { - cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable::unwrap)) + cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(IResolvable.Companion::unwrap)) } /** @@ -27267,7 +29919,7 @@ public open class CfnTemplate( */ override fun categoricalDimensionField(categoricalDimensionField: CategoricalDimensionFieldProperty) { - cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty::unwrap)) + cdkBuilder.categoricalDimensionField(categoricalDimensionField.let(CategoricalDimensionFieldProperty.Companion::unwrap)) } /** @@ -27284,14 +29936,14 @@ public open class CfnTemplate( * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: IResolvable) { - cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable::unwrap)) + cdkBuilder.dateDimensionField(dateDimensionField.let(IResolvable.Companion::unwrap)) } /** * @param dateDimensionField The dimension type field with date type columns. */ override fun dateDimensionField(dateDimensionField: DateDimensionFieldProperty) { - cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty::unwrap)) + cdkBuilder.dateDimensionField(dateDimensionField.let(DateDimensionFieldProperty.Companion::unwrap)) } /** @@ -27307,7 +29959,7 @@ public open class CfnTemplate( * @param numericalDimensionField The dimension type field with numerical type columns. */ override fun numericalDimensionField(numericalDimensionField: IResolvable) { - cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable::unwrap)) + cdkBuilder.numericalDimensionField(numericalDimensionField.let(IResolvable.Companion::unwrap)) } /** @@ -27315,7 +29967,7 @@ public open class CfnTemplate( */ override fun numericalDimensionField(numericalDimensionField: NumericalDimensionFieldProperty) { - cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty::unwrap)) + cdkBuilder.numericalDimensionField(numericalDimensionField.let(NumericalDimensionFieldProperty.Companion::unwrap)) } /** @@ -27584,7 +30236,7 @@ public open class CfnTemplate( * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: IResolvable) { - cdkBuilder.arcOptions(arcOptions.let(IResolvable::unwrap)) + cdkBuilder.arcOptions(arcOptions.let(IResolvable.Companion::unwrap)) } /** @@ -27596,7 +30248,7 @@ public open class CfnTemplate( * * `LARGE` - A large-sized donut chart */ override fun arcOptions(arcOptions: ArcOptionsProperty) { - cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty::unwrap)) + cdkBuilder.arcOptions(arcOptions.let(ArcOptionsProperty.Companion::unwrap)) } /** @@ -27618,7 +30270,7 @@ public open class CfnTemplate( * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: IResolvable) { - cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable::unwrap)) + cdkBuilder.donutCenterOptions(donutCenterOptions.let(IResolvable.Companion::unwrap)) } /** @@ -27627,7 +30279,7 @@ public open class CfnTemplate( * This option isn't available for pie charts. */ override fun donutCenterOptions(donutCenterOptions: DonutCenterOptionsProperty) { - cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty::unwrap)) + cdkBuilder.donutCenterOptions(donutCenterOptions.let(DonutCenterOptionsProperty.Companion::unwrap)) } /** @@ -27837,7 +30489,7 @@ public open class CfnTemplate( * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** @@ -27845,7 +30497,7 @@ public open class CfnTemplate( * This filter is used for string type columns. */ override fun categoryFilter(categoryFilter: CategoryDrillDownFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(CategoryDrillDownFilterProperty.Companion::unwrap)) } /** @@ -27863,7 +30515,7 @@ public open class CfnTemplate( * This filter is used for number type columns. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -27872,7 +30524,7 @@ public open class CfnTemplate( */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityDrillDownFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityDrillDownFilterProperty.Companion::unwrap)) } /** @@ -27891,7 +30543,7 @@ public open class CfnTemplate( * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -27899,7 +30551,7 @@ public open class CfnTemplate( * This filter is used for date time columns. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeDrillDownFilterProperty) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeDrillDownFilterProperty.Companion::unwrap)) } /** @@ -28099,7 +30751,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -28107,7 +30759,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -28125,7 +30777,7 @@ public open class CfnTemplate( * control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { - cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** @@ -28133,7 +30785,7 @@ public open class CfnTemplate( * control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { - cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** @@ -28150,14 +30802,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -28338,7 +30990,7 @@ public open class CfnTemplate( * */ override fun defaultValueColumn(defaultValueColumn: IResolvable) { - cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable::unwrap)) + cdkBuilder.defaultValueColumn(defaultValueColumn.let(IResolvable.Companion::unwrap)) } /** @@ -28346,7 +30998,7 @@ public open class CfnTemplate( * */ override fun defaultValueColumn(defaultValueColumn: ColumnIdentifierProperty) { - cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.defaultValueColumn(defaultValueColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -28363,14 +31015,14 @@ public open class CfnTemplate( * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: IResolvable) { - cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable::unwrap)) + cdkBuilder.groupNameColumn(groupNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param groupNameColumn The column that contains the group name. */ override fun groupNameColumn(groupNameColumn: ColumnIdentifierProperty) { - cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.groupNameColumn(groupNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -28385,14 +31037,14 @@ public open class CfnTemplate( * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: IResolvable) { - cdkBuilder.userNameColumn(userNameColumn.let(IResolvable::unwrap)) + cdkBuilder.userNameColumn(userNameColumn.let(IResolvable.Companion::unwrap)) } /** * @param userNameColumn The column that contains the username. */ override fun userNameColumn(userNameColumn: ColumnIdentifierProperty) { - cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.userNameColumn(userNameColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -28601,7 +31253,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -29042,7 +31694,7 @@ public open class CfnTemplate( * @param columns The list of columns that define the explicit hierarchy. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -29062,7 +31714,7 @@ public open class CfnTemplate( * hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -29258,7 +31910,7 @@ public open class CfnTemplate( * @param tooltipFields The fields configuration in the tooltip. */ override fun tooltipFields(tooltipFields: IResolvable) { - cdkBuilder.tooltipFields(tooltipFields.let(IResolvable::unwrap)) + cdkBuilder.tooltipFields(tooltipFields.let(IResolvable.Companion::unwrap)) } /** @@ -29557,7 +32209,7 @@ public open class CfnTemplate( * the field. */ override fun settings(settings: IResolvable) { - cdkBuilder.settings(settings.let(IResolvable::unwrap)) + cdkBuilder.settings(settings.let(IResolvable.Companion::unwrap)) } /** @@ -29565,7 +32217,7 @@ public open class CfnTemplate( * the field. */ override fun settings(settings: LineChartSeriesSettingsProperty) { - cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty::unwrap)) + cdkBuilder.settings(settings.let(LineChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -29730,14 +32382,14 @@ public open class CfnTemplate( * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: IResolvable) { - cdkBuilder.columnSort(columnSort.let(IResolvable::unwrap)) + cdkBuilder.columnSort(columnSort.let(IResolvable.Companion::unwrap)) } /** * @param columnSort The sort configuration for a column that is not used in a field well. */ override fun columnSort(columnSort: ColumnSortProperty) { - cdkBuilder.columnSort(columnSort.let(ColumnSortProperty::unwrap)) + cdkBuilder.columnSort(columnSort.let(ColumnSortProperty.Companion::unwrap)) } /** @@ -29752,14 +32404,14 @@ public open class CfnTemplate( * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: IResolvable) { - cdkBuilder.fieldSort(fieldSort.let(IResolvable::unwrap)) + cdkBuilder.fieldSort(fieldSort.let(IResolvable.Companion::unwrap)) } /** * @param fieldSort The sort configuration for a field in a field well. */ override fun fieldSort(fieldSort: FieldSortProperty) { - cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty::unwrap)) + cdkBuilder.fieldSort(fieldSort.let(FieldSortProperty.Companion::unwrap)) } /** @@ -30636,7 +33288,7 @@ public open class CfnTemplate( * Values are grouped by location fields. */ override fun geospatial(geospatial: IResolvable) { - cdkBuilder.geospatial(geospatial.let(IResolvable::unwrap)) + cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** @@ -30658,7 +33310,7 @@ public open class CfnTemplate( * Values are aggregated based on location fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -30802,14 +33454,14 @@ public open class CfnTemplate( * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: IResolvable) { - cdkBuilder.shape(shape.let(IResolvable::unwrap)) + cdkBuilder.shape(shape.let(IResolvable.Companion::unwrap)) } /** * @param shape The conditional formatting that determines the shape of the filled map. */ override fun shape(shape: FilledMapShapeConditionalFormattingProperty) { - cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty::unwrap)) + cdkBuilder.shape(shape.let(FilledMapShapeConditionalFormattingProperty.Companion::unwrap)) } /** @@ -30940,7 +33592,7 @@ public open class CfnTemplate( * */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -31167,14 +33819,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: FilledMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(FilledMapFieldWellsProperty.Companion::unwrap)) } /** @@ -31189,14 +33841,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -31211,14 +33863,14 @@ public open class CfnTemplate( * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the filled map visual. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** @@ -31234,14 +33886,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FilledMapVisual` . */ override fun sortConfiguration(sortConfiguration: FilledMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(FilledMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -31257,14 +33909,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -31279,14 +33931,14 @@ public open class CfnTemplate( * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: IResolvable) { - cdkBuilder.windowOptions(windowOptions.let(IResolvable::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the filled map visual. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { - cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** @@ -31914,7 +34566,7 @@ public open class CfnTemplate( * @param filledMapAggregatedFieldWells The aggregated field well of the filled map. */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: IResolvable) { - cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -31922,7 +34574,7 @@ public open class CfnTemplate( */ override fun filledMapAggregatedFieldWells(filledMapAggregatedFieldWells: FilledMapAggregatedFieldWellsProperty) { - cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.filledMapAggregatedFieldWells(filledMapAggregatedFieldWells.let(FilledMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -32072,7 +34724,7 @@ public open class CfnTemplate( * map's shape. */ override fun format(format: IResolvable) { - cdkBuilder.format(format.let(IResolvable::unwrap)) + cdkBuilder.format(format.let(IResolvable.Companion::unwrap)) } /** @@ -32080,7 +34732,7 @@ public open class CfnTemplate( * map's shape. */ override fun format(format: ShapeConditionalFormatProperty) { - cdkBuilder.format(format.let(ShapeConditionalFormatProperty::unwrap)) + cdkBuilder.format(format.let(ShapeConditionalFormatProperty.Companion::unwrap)) } /** @@ -32217,7 +34869,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of the location fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -32461,7 +35113,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -32480,14 +35132,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: FilledMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(FilledMapConfigurationProperty.Companion::unwrap)) } /** @@ -32504,7 +35156,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -32526,7 +35178,7 @@ public open class CfnTemplate( * @param conditionalFormatting The conditional formatting of a `FilledMapVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -32534,7 +35186,7 @@ public open class CfnTemplate( */ override fun conditionalFormatting(conditionalFormatting: FilledMapConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(FilledMapConditionalFormattingProperty.Companion::unwrap)) } /** @@ -32551,14 +35203,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -32573,14 +35225,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -32692,6 +35344,20 @@ public open class CfnTemplate( * // The values are placeholders you should change. * import io.cloudshiftdev.awscdk.services.quicksight.*; * FilterControlProperty filterControlProperty = FilterControlProperty.builder() + * .crossSheet(FilterCrossSheetControlProperty.builder() + * .filterControlId("filterControlId") + * .sourceFilterId("sourceFilterId") + * // the properties below are optional + * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() + * .sourceControls(List.of(CascadingControlSourceProperty.builder() + * .columnToMatch(ColumnIdentifierProperty.builder() + * .columnName("columnName") + * .dataSetIdentifier("dataSetIdentifier") + * .build()) + * .sourceSheetControlId("sourceSheetControlId") + * .build())) + * .build()) + * .build()) * .dateTimePicker(FilterDateTimePickerControlProperty.builder() * .filterControlId("filterControlId") * .sourceFilterId("sourceFilterId") @@ -32936,6 +35602,15 @@ public open class CfnTemplate( * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercontrol.html) */ public interface FilterControlProperty { + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercontrol.html#cfn-quicksight-template-filtercontrol-crosssheet) + */ + public fun crossSheet(): Any? = unwrap(this).getCrossSheet() + /** * A control from a date filter that is used to specify date and time. * @@ -32994,6 +35669,26 @@ public open class CfnTemplate( */ @CdkDslMarker public interface Builder { + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + public fun crossSheet(crossSheet: IResolvable) + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + public fun crossSheet(crossSheet: FilterCrossSheetControlProperty) + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ccfae738408d4466a7830d4e27fdf8b607fe35143e427952f858e13369468f90") + public fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit) + /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ @@ -33133,18 +35828,43 @@ public open class CfnTemplate( software.amazon.awscdk.services.quicksight.CfnTemplate.FilterControlProperty.Builder = software.amazon.awscdk.services.quicksight.CfnTemplate.FilterControlProperty.builder() + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + override fun crossSheet(crossSheet: IResolvable) { + cdkBuilder.crossSheet(crossSheet.let(IResolvable.Companion::unwrap)) + } + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + override fun crossSheet(crossSheet: FilterCrossSheetControlProperty) { + cdkBuilder.crossSheet(crossSheet.let(FilterCrossSheetControlProperty.Companion::unwrap)) + } + + /** + * @param crossSheet A control from a filter that is scoped across more than one sheet. + * This represents your filter control on a sheet + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("ccfae738408d4466a7830d4e27fdf8b607fe35143e427952f858e13369468f90") + override fun crossSheet(crossSheet: FilterCrossSheetControlProperty.Builder.() -> Unit): Unit + = crossSheet(FilterCrossSheetControlProperty(crossSheet)) + /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { - cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date filter that is used to specify date and time. */ override fun dateTimePicker(dateTimePicker: FilterDateTimePickerControlProperty) { - cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(FilterDateTimePickerControlProperty.Companion::unwrap)) } /** @@ -33161,7 +35881,7 @@ public open class CfnTemplate( * single value. */ override fun dropdown(dropdown: IResolvable) { - cdkBuilder.dropdown(dropdown.let(IResolvable::unwrap)) + cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** @@ -33169,7 +35889,7 @@ public open class CfnTemplate( * single value. */ override fun dropdown(dropdown: FilterDropDownControlProperty) { - cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty::unwrap)) + cdkBuilder.dropdown(dropdown.let(FilterDropDownControlProperty.Companion::unwrap)) } /** @@ -33186,7 +35906,7 @@ public open class CfnTemplate( * This is used to select either a single value or multiple values. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** @@ -33194,7 +35914,7 @@ public open class CfnTemplate( * This is used to select either a single value or multiple values. */ override fun list(list: FilterListControlProperty) { - cdkBuilder.list(list.let(FilterListControlProperty::unwrap)) + cdkBuilder.list(list.let(FilterListControlProperty.Companion::unwrap)) } /** @@ -33211,7 +35931,7 @@ public open class CfnTemplate( * date. */ override fun relativeDateTime(relativeDateTime: IResolvable) { - cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable::unwrap)) + cdkBuilder.relativeDateTime(relativeDateTime.let(IResolvable.Companion::unwrap)) } /** @@ -33219,7 +35939,7 @@ public open class CfnTemplate( * date. */ override fun relativeDateTime(relativeDateTime: FilterRelativeDateTimeControlProperty) { - cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty::unwrap)) + cdkBuilder.relativeDateTime(relativeDateTime.let(FilterRelativeDateTimeControlProperty.Companion::unwrap)) } /** @@ -33237,7 +35957,7 @@ public open class CfnTemplate( * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { - cdkBuilder.slider(slider.let(IResolvable::unwrap)) + cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** @@ -33245,7 +35965,7 @@ public open class CfnTemplate( * This is used to change a value by sliding the toggle. */ override fun slider(slider: FilterSliderControlProperty) { - cdkBuilder.slider(slider.let(FilterSliderControlProperty::unwrap)) + cdkBuilder.slider(slider.let(FilterSliderControlProperty.Companion::unwrap)) } /** @@ -33261,14 +35981,14 @@ public open class CfnTemplate( * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { - cdkBuilder.textArea(textArea.let(IResolvable::unwrap)) + cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: FilterTextAreaControlProperty) { - cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty::unwrap)) + cdkBuilder.textArea(textArea.let(FilterTextAreaControlProperty.Companion::unwrap)) } /** @@ -33283,14 +36003,14 @@ public open class CfnTemplate( * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { - cdkBuilder.textField(textField.let(IResolvable::unwrap)) + cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: FilterTextFieldControlProperty) { - cdkBuilder.textField(textField.let(FilterTextFieldControlProperty::unwrap)) + cdkBuilder.textField(textField.let(FilterTextFieldControlProperty.Companion::unwrap)) } /** @@ -33309,6 +36029,15 @@ public open class CfnTemplate( private class Wrapper( cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.FilterControlProperty, ) : CdkObject(cdkObject), FilterControlProperty { + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercontrol.html#cfn-quicksight-template-filtercontrol-crosssheet) + */ + override fun crossSheet(): Any? = unwrap(this).getCrossSheet() + /** * A control from a date filter that is used to specify date and time. * @@ -33381,6 +36110,196 @@ public open class CfnTemplate( } } + /** + * A control from a filter that is scoped across more than one sheet. + * + * This represents your filter control on a sheet + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * FilterCrossSheetControlProperty filterCrossSheetControlProperty = + * FilterCrossSheetControlProperty.builder() + * .filterControlId("filterControlId") + * .sourceFilterId("sourceFilterId") + * // the properties below are optional + * .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder() + * .sourceControls(List.of(CascadingControlSourceProperty.builder() + * .columnToMatch(ColumnIdentifierProperty.builder() + * .columnName("columnName") + * .dataSetIdentifier("dataSetIdentifier") + * .build()) + * .sourceSheetControlId("sourceSheetControlId") + * .build())) + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html) + */ + public interface FilterCrossSheetControlProperty { + /** + * The values that are displayed in a control can be configured to only show values that are + * valid based on what's selected in other controls. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html#cfn-quicksight-template-filtercrosssheetcontrol-cascadingcontrolconfiguration) + */ + public fun cascadingControlConfiguration(): Any? = + unwrap(this).getCascadingControlConfiguration() + + /** + * The ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html#cfn-quicksight-template-filtercrosssheetcontrol-filtercontrolid) + */ + public fun filterControlId(): String + + /** + * The source filter ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html#cfn-quicksight-template-filtercrosssheetcontrol-sourcefilterid) + */ + public fun sourceFilterId(): String + + /** + * A builder for [FilterCrossSheetControlProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + public fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + public + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6a3f9b149050aa8f4858ab4451194077c9ae8383629dfb9d6ba5035d90c82a89") + public + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit) + + /** + * @param filterControlId The ID of the `FilterCrossSheetControl` . + */ + public fun filterControlId(filterControlId: String) + + /** + * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . + */ + public fun sourceFilterId(sourceFilterId: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty.builder() + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + override + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param cascadingControlConfiguration The values that are displayed in a control can be + * configured to only show values that are valid based on what's selected in other controls. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("6a3f9b149050aa8f4858ab4451194077c9ae8383629dfb9d6ba5035d90c82a89") + override + fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty.Builder.() -> Unit): + Unit = + cascadingControlConfiguration(CascadingControlConfigurationProperty(cascadingControlConfiguration)) + + /** + * @param filterControlId The ID of the `FilterCrossSheetControl` . + */ + override fun filterControlId(filterControlId: String) { + cdkBuilder.filterControlId(filterControlId) + } + + /** + * @param sourceFilterId The source filter ID of the `FilterCrossSheetControl` . + */ + override fun sourceFilterId(sourceFilterId: String) { + cdkBuilder.sourceFilterId(sourceFilterId) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty, + ) : CdkObject(cdkObject), FilterCrossSheetControlProperty { + /** + * The values that are displayed in a control can be configured to only show values that are + * valid based on what's selected in other controls. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html#cfn-quicksight-template-filtercrosssheetcontrol-cascadingcontrolconfiguration) + */ + override fun cascadingControlConfiguration(): Any? = + unwrap(this).getCascadingControlConfiguration() + + /** + * The ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html#cfn-quicksight-template-filtercrosssheetcontrol-filtercontrolid) + */ + override fun filterControlId(): String = unwrap(this).getFilterControlId() + + /** + * The source filter ID of the `FilterCrossSheetControl` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtercrosssheetcontrol.html#cfn-quicksight-template-filtercrosssheetcontrol-sourcefilterid) + */ + override fun sourceFilterId(): String = unwrap(this).getSourceFilterId() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): FilterCrossSheetControlProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty): + FilterCrossSheetControlProperty = CdkObjectWrappers.wrap(cdkObject) as? + FilterCrossSheetControlProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: FilterCrossSheetControlProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.FilterCrossSheetControlProperty + } + } + /** * A control from a date filter that is used to specify date and time. * @@ -33454,11 +36373,10 @@ public open class CfnTemplate( public fun title(): String /** - * The date time picker type of a `FilterDateTimePickerControl` . Choose one of the following - * options:. + * The type of the `FilterDropDownControl` . Choose one of the following options:. * - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterdatetimepickercontrol.html#cfn-quicksight-template-filterdatetimepickercontrol-type) */ @@ -33503,10 +36421,9 @@ public open class CfnTemplate( public fun title(title: String) /** - * @param type The date time picker type of a `FilterDateTimePickerControl` . Choose one of - * the following options:. - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ public fun type(type: String) } @@ -33521,14 +36438,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -33562,10 +36479,9 @@ public open class CfnTemplate( } /** - * @param type The date time picker type of a `FilterDateTimePickerControl` . Choose one of - * the following options:. - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * @param type The type of the `FilterDropDownControl` . Choose one of the following options:. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. */ override fun type(type: String) { cdkBuilder.type(type) @@ -33608,11 +36524,10 @@ public open class CfnTemplate( override fun title(): String = unwrap(this).getTitle() /** - * The date time picker type of a `FilterDateTimePickerControl` . Choose one of the following - * options:. + * The type of the `FilterDropDownControl` . Choose one of the following options:. * - * * `SINGLE_VALUED` : The filter condition is a fixed date. - * * `DATE_RANGE` : The filter condition is a date time range. + * * `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + * * `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filterdatetimepickercontrol.html#cfn-quicksight-template-filterdatetimepickercontrol-type) */ @@ -33847,7 +36762,7 @@ public open class CfnTemplate( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -33856,7 +36771,7 @@ public open class CfnTemplate( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -33874,14 +36789,14 @@ public open class CfnTemplate( * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of the `FilterDropDownControl` . */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -33904,14 +36819,14 @@ public open class CfnTemplate( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** @@ -34037,230 +36952,6 @@ public open class CfnTemplate( * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * Object allSheets; - * FilterGroupProperty filterGroupProperty = FilterGroupProperty.builder() - * .crossDataset("crossDataset") - * .filterGroupId("filterGroupId") - * .filters(List.of(FilterProperty.builder() - * .categoryFilter(CategoryFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .configuration(CategoryFilterConfigurationProperty.builder() - * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValue("categoryValue") - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .build()) - * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .selectAllOptions("selectAllOptions") - * .build()) - * .filterListConfiguration(FilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .nullOption("nullOption") - * .selectAllOptions("selectAllOptions") - * .build()) - * .build()) - * .filterId("filterId") - * .build()) - * .numericEqualityFilter(NumericEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .value(123) - * .build()) - * .numericRangeFilter(NumericRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .rangeMinimum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .selectAllOptions("selectAllOptions") - * .build()) - * .relativeDatesFilter(RelativeDatesFilterProperty.builder() - * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() - * .anchorOption("anchorOption") - * .parameterName("parameterName") - * .build()) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * .relativeDateType("relativeDateType") - * .timeGranularity("timeGranularity") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .minimumGranularity("minimumGranularity") - * .parameterName("parameterName") - * .relativeDateValue(123) - * .build()) - * .timeEqualityFilter(TimeEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .parameterName("parameterName") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .timeGranularity("timeGranularity") - * .value("value") - * .build()) - * .timeRangeFilter(TimeRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .timeGranularity("timeGranularity") - * .build()) - * .topBottomFilter(TopBottomFilterProperty.builder() - * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .sortDirection("sortDirection") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .build())) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .limit(123) - * .parameterName("parameterName") - * .timeGranularity("timeGranularity") - * .build()) - * .build())) - * .scopeConfiguration(FilterScopeConfigurationProperty.builder() - * .allSheets(allSheets) - * .selectedSheets(SelectedSheetsFilterScopeConfigurationProperty.builder() - * .sheetVisualScopingConfigurations(List.of(SheetVisualScopingConfigurationProperty.builder() - * .scope("scope") - * .sheetId("sheetId") - * // the properties below are optional - * .visualIds(List.of("visualIds")) - * .build())) - * .build()) - * .build()) - * // the properties below are optional - * .status("status") - * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filtergroup.html) @@ -34402,7 +37093,7 @@ public open class CfnTemplate( * @param filters The list of filters that are present in a `FilterGroup` . */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -34424,7 +37115,7 @@ public open class CfnTemplate( * can be defined. */ override fun scopeConfiguration(scopeConfiguration: IResolvable) { - cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scopeConfiguration(scopeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -34434,7 +37125,7 @@ public open class CfnTemplate( * can be defined. */ override fun scopeConfiguration(scopeConfiguration: FilterScopeConfigurationProperty) { - cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty::unwrap)) + cdkBuilder.scopeConfiguration(scopeConfiguration.let(FilterScopeConfigurationProperty.Companion::unwrap)) } /** @@ -34834,7 +37525,7 @@ public open class CfnTemplate( public fun title(): String /** - * The type of `FilterListControl` . Choose one of the following options:. + * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. @@ -34922,7 +37613,7 @@ public open class CfnTemplate( public fun title(title: String) /** - * @param type The type of `FilterListControl` . Choose one of the following options:. + * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ @@ -34939,7 +37630,7 @@ public open class CfnTemplate( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -34948,7 +37639,7 @@ public open class CfnTemplate( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -34966,14 +37657,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -34996,14 +37687,14 @@ public open class CfnTemplate( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: FilterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(FilterSelectableValuesProperty.Companion::unwrap)) } /** @@ -35030,7 +37721,7 @@ public open class CfnTemplate( } /** - * @param type The type of `FilterListControl` . Choose one of the following options:. + * @param type The type of the `FilterListControl` . Choose one of the following options:. * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. */ @@ -35091,7 +37782,7 @@ public open class CfnTemplate( override fun title(): String = unwrap(this).getTitle() /** - * The type of `FilterListControl` . Choose one of the following options:. + * The type of the `FilterListControl` . Choose one of the following options:. * * * `MULTI_SELECT` : The user can select multiple entries from the list. * * `SINGLE_SELECT` : The user can select a single entry from the list. @@ -35224,7 +37915,7 @@ public open class CfnTemplate( * @param selectedColumns The selected columns of a dataset. */ override fun selectedColumns(selectedColumns: IResolvable) { - cdkBuilder.selectedColumns(selectedColumns.let(IResolvable::unwrap)) + cdkBuilder.selectedColumns(selectedColumns.let(IResolvable.Companion::unwrap)) } /** @@ -35393,7 +38084,7 @@ public open class CfnTemplate( */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: IResolvable) { - cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -35402,7 +38093,7 @@ public open class CfnTemplate( */ override fun sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration: SameSheetTargetVisualConfigurationProperty) { - cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty::unwrap)) + cdkBuilder.sameSheetTargetVisualConfiguration(sameSheetTargetVisualConfiguration.let(SameSheetTargetVisualConfigurationProperty.Companion::unwrap)) } /** @@ -35461,212 +38152,6 @@ public open class CfnTemplate( * Example: * * ``` - * // The code below shows an example of how to instantiate this type. - * // The values are placeholders you should change. - * import io.cloudshiftdev.awscdk.services.quicksight.*; - * FilterProperty filterProperty = FilterProperty.builder() - * .categoryFilter(CategoryFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .configuration(CategoryFilterConfigurationProperty.builder() - * .customFilterConfiguration(CustomFilterConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValue("categoryValue") - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .build()) - * .customFilterListConfiguration(CustomFilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .selectAllOptions("selectAllOptions") - * .build()) - * .filterListConfiguration(FilterListConfigurationProperty.builder() - * .matchOperator("matchOperator") - * // the properties below are optional - * .categoryValues(List.of("categoryValues")) - * .nullOption("nullOption") - * .selectAllOptions("selectAllOptions") - * .build()) - * .build()) - * .filterId("filterId") - * .build()) - * .numericEqualityFilter(NumericEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .matchOperator("matchOperator") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .parameterName("parameterName") - * .selectAllOptions("selectAllOptions") - * .value(123) - * .build()) - * .numericRangeFilter(NumericRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .rangeMinimum(NumericRangeFilterValueProperty.builder() - * .parameter("parameter") - * .staticValue(123) - * .build()) - * .selectAllOptions("selectAllOptions") - * .build()) - * .relativeDatesFilter(RelativeDatesFilterProperty.builder() - * .anchorDateConfiguration(AnchorDateConfigurationProperty.builder() - * .anchorOption("anchorOption") - * .parameterName("parameterName") - * .build()) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * .relativeDateType("relativeDateType") - * .timeGranularity("timeGranularity") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .minimumGranularity("minimumGranularity") - * .parameterName("parameterName") - * .relativeDateValue(123) - * .build()) - * .timeEqualityFilter(TimeEqualityFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .parameterName("parameterName") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .timeGranularity("timeGranularity") - * .value("value") - * .build()) - * .timeRangeFilter(TimeRangeFilterProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * .nullOption("nullOption") - * // the properties below are optional - * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() - * .amount(123) - * .granularity("granularity") - * // the properties below are optional - * .status("status") - * .build()) - * .includeMaximum(false) - * .includeMinimum(false) - * .rangeMaximumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .rangeMinimumValue(TimeRangeFilterValueProperty.builder() - * .parameter("parameter") - * .rollingDate(RollingDateConfigurationProperty.builder() - * .expression("expression") - * // the properties below are optional - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .staticValue("staticValue") - * .build()) - * .timeGranularity("timeGranularity") - * .build()) - * .topBottomFilter(TopBottomFilterProperty.builder() - * .aggregationSortConfigurations(List.of(AggregationSortConfigurationProperty.builder() - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .sortDirection("sortDirection") - * // the properties below are optional - * .aggregationFunction(AggregationFunctionProperty.builder() - * .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() - * .simpleAttributeAggregation("simpleAttributeAggregation") - * .valueForMultipleValues("valueForMultipleValues") - * .build()) - * .categoricalAggregationFunction("categoricalAggregationFunction") - * .dateAggregationFunction("dateAggregationFunction") - * .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() - * .percentileAggregation(PercentileAggregationProperty.builder() - * .percentileValue(123) - * .build()) - * .simpleNumericalAggregation("simpleNumericalAggregation") - * .build()) - * .build()) - * .build())) - * .column(ColumnIdentifierProperty.builder() - * .columnName("columnName") - * .dataSetIdentifier("dataSetIdentifier") - * .build()) - * .filterId("filterId") - * // the properties below are optional - * .limit(123) - * .parameterName("parameterName") - * .timeGranularity("timeGranularity") - * .build()) - * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-filter.html) @@ -35897,7 +38382,7 @@ public open class CfnTemplate( * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** @@ -35907,7 +38392,7 @@ public open class CfnTemplate( * in the *Amazon QuickSight User Guide* . */ override fun categoryFilter(categoryFilter: CategoryFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(CategoryFilterProperty.Companion::unwrap)) } /** @@ -35926,7 +38411,7 @@ public open class CfnTemplate( * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -35934,7 +38419,7 @@ public open class CfnTemplate( * do not equal a given numeric value. */ override fun numericEqualityFilter(numericEqualityFilter: NumericEqualityFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(NumericEqualityFilterProperty.Companion::unwrap)) } /** @@ -35952,7 +38437,7 @@ public open class CfnTemplate( * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: IResolvable) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -35960,7 +38445,7 @@ public open class CfnTemplate( * inside or outside a given numeric range. */ override fun numericRangeFilter(numericRangeFilter: NumericRangeFilterProperty) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(NumericRangeFilterProperty.Companion::unwrap)) } /** @@ -35978,7 +38463,7 @@ public open class CfnTemplate( * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: IResolvable) { - cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable::unwrap)) + cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(IResolvable.Companion::unwrap)) } /** @@ -35986,7 +38471,7 @@ public open class CfnTemplate( * a given date. */ override fun relativeDatesFilter(relativeDatesFilter: RelativeDatesFilterProperty) { - cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty::unwrap)) + cdkBuilder.relativeDatesFilter(relativeDatesFilter.let(RelativeDatesFilterProperty.Companion::unwrap)) } /** @@ -36004,7 +38489,7 @@ public open class CfnTemplate( * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: IResolvable) { - cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36012,7 +38497,7 @@ public open class CfnTemplate( * not equal a given date/time value. */ override fun timeEqualityFilter(timeEqualityFilter: TimeEqualityFilterProperty) { - cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty::unwrap)) + cdkBuilder.timeEqualityFilter(timeEqualityFilter.let(TimeEqualityFilterProperty.Companion::unwrap)) } /** @@ -36030,7 +38515,7 @@ public open class CfnTemplate( * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: IResolvable) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36038,7 +38523,7 @@ public open class CfnTemplate( * or outside a given date/time range. */ override fun timeRangeFilter(timeRangeFilter: TimeRangeFilterProperty) { - cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty::unwrap)) + cdkBuilder.timeRangeFilter(timeRangeFilter.let(TimeRangeFilterProperty.Companion::unwrap)) } /** @@ -36055,7 +38540,7 @@ public open class CfnTemplate( * given column. */ override fun topBottomFilter(topBottomFilter: IResolvable) { - cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable::unwrap)) + cdkBuilder.topBottomFilter(topBottomFilter.let(IResolvable.Companion::unwrap)) } /** @@ -36063,7 +38548,7 @@ public open class CfnTemplate( * given column. */ override fun topBottomFilter(topBottomFilter: TopBottomFilterProperty) { - cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty::unwrap)) + cdkBuilder.topBottomFilter(topBottomFilter.let(TopBottomFilterProperty.Companion::unwrap)) } /** @@ -36278,14 +38763,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: RelativeDateTimeControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(RelativeDateTimeControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -36474,14 +38959,14 @@ public open class CfnTemplate( * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: IResolvable) { - cdkBuilder.selectedSheets(selectedSheets.let(IResolvable::unwrap)) + cdkBuilder.selectedSheets(selectedSheets.let(IResolvable.Companion::unwrap)) } /** * @param selectedSheets The configuration for applying a filter to specific sheets. */ override fun selectedSheets(selectedSheets: SelectedSheetsFilterScopeConfigurationProperty) { - cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty::unwrap)) + cdkBuilder.selectedSheets(selectedSheets.let(SelectedSheetsFilterScopeConfigurationProperty.Companion::unwrap)) } /** @@ -36693,7 +39178,7 @@ public open class CfnTemplate( public fun filterControlId(): String /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -36702,7 +39187,7 @@ public open class CfnTemplate( public fun maximumValue(): Number /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -36734,7 +39219,7 @@ public open class CfnTemplate( public fun title(): String /** - * The type of `FilterSliderControl` . Choose one of the following options:. + * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. @@ -36772,12 +39257,12 @@ public open class CfnTemplate( public fun filterControlId(filterControlId: String) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) @@ -36797,7 +39282,7 @@ public open class CfnTemplate( public fun title(title: String) /** - * @param type The type of `FilterSliderControl` . Choose one of the following options:. + * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ @@ -36814,14 +39299,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -36841,14 +39326,14 @@ public open class CfnTemplate( } /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) @@ -36876,7 +39361,7 @@ public open class CfnTemplate( } /** - * @param type The type of `FilterSliderControl` . Choose one of the following options:. + * @param type The type of the `FilterSliderControl` . Choose one of the following options:. * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. */ @@ -36907,7 +39392,7 @@ public open class CfnTemplate( override fun filterControlId(): String = unwrap(this).getFilterControlId() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -36916,7 +39401,7 @@ public open class CfnTemplate( override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -36948,7 +39433,7 @@ public open class CfnTemplate( override fun title(): String = unwrap(this).getTitle() /** - * The type of `FilterSliderControl` . Choose one of the following options:. + * The type of the `FilterSliderControl` . Choose one of the following options:. * * * `SINGLE_POINT` : Filter against(equals) a single data point. * * `RANGE` : Filter data that is in a specified range. @@ -37118,14 +39603,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -37342,14 +39827,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -37576,14 +40061,14 @@ public open class CfnTemplate( * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: IResolvable) { - cdkBuilder.fontSize(fontSize.let(IResolvable::unwrap)) + cdkBuilder.fontSize(fontSize.let(IResolvable.Companion::unwrap)) } /** * @param fontSize The option that determines the text display size. */ override fun fontSize(fontSize: FontSizeProperty) { - cdkBuilder.fontSize(fontSize.let(FontSizeProperty::unwrap)) + cdkBuilder.fontSize(fontSize.let(FontSizeProperty.Companion::unwrap)) } /** @@ -37606,14 +40091,14 @@ public open class CfnTemplate( * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: IResolvable) { - cdkBuilder.fontWeight(fontWeight.let(IResolvable::unwrap)) + cdkBuilder.fontWeight(fontWeight.let(IResolvable.Companion::unwrap)) } /** * @param fontWeight The option that determines the text display weight, or boldness. */ override fun fontWeight(fontWeight: FontWeightProperty) { - cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty::unwrap)) + cdkBuilder.fontWeight(fontWeight.let(FontWeightProperty.Companion::unwrap)) } /** @@ -38096,14 +40581,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -38125,14 +40610,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -38351,14 +40836,14 @@ public open class CfnTemplate( * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: IResolvable) { - cdkBuilder.forecastProperties(forecastProperties.let(IResolvable::unwrap)) + cdkBuilder.forecastProperties(forecastProperties.let(IResolvable.Companion::unwrap)) } /** * @param forecastProperties The forecast properties setup of a forecast in the line chart. */ override fun forecastProperties(forecastProperties: TimeBasedForecastPropertiesProperty) { - cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty::unwrap)) + cdkBuilder.forecastProperties(forecastProperties.let(TimeBasedForecastPropertiesProperty.Companion::unwrap)) } /** @@ -38374,14 +40859,14 @@ public open class CfnTemplate( * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: IResolvable) { - cdkBuilder.scenario(scenario.let(IResolvable::unwrap)) + cdkBuilder.scenario(scenario.let(IResolvable.Companion::unwrap)) } /** * @param scenario The forecast scenario of a forecast in the line chart. */ override fun scenario(scenario: ForecastScenarioProperty) { - cdkBuilder.scenario(scenario.let(ForecastScenarioProperty::unwrap)) + cdkBuilder.scenario(scenario.let(ForecastScenarioProperty.Companion::unwrap)) } /** @@ -38523,14 +41008,14 @@ public open class CfnTemplate( * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: IResolvable) { - cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable::unwrap)) + cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfPointScenario The what-if analysis forecast setup with the target date. */ override fun whatIfPointScenario(whatIfPointScenario: WhatIfPointScenarioProperty) { - cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty::unwrap)) + cdkBuilder.whatIfPointScenario(whatIfPointScenario.let(WhatIfPointScenarioProperty.Companion::unwrap)) } /** @@ -38546,14 +41031,14 @@ public open class CfnTemplate( * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: IResolvable) { - cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable::unwrap)) + cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(IResolvable.Companion::unwrap)) } /** * @param whatIfRangeScenario The what-if analysis forecast setup with the date range. */ override fun whatIfRangeScenario(whatIfRangeScenario: WhatIfRangeScenarioProperty) { - cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty::unwrap)) + cdkBuilder.whatIfRangeScenario(whatIfRangeScenario.let(WhatIfRangeScenarioProperty.Companion::unwrap)) } /** @@ -38924,7 +41409,7 @@ public open class CfnTemplate( * @param dateTimeFormatConfiguration Formatting configuration for `DateTime` fields. */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: IResolvable) { - cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -38932,7 +41417,7 @@ public open class CfnTemplate( */ override fun dateTimeFormatConfiguration(dateTimeFormatConfiguration: DateTimeFormatConfigurationProperty) { - cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty::unwrap)) + cdkBuilder.dateTimeFormatConfiguration(dateTimeFormatConfiguration.let(DateTimeFormatConfigurationProperty.Companion::unwrap)) } /** @@ -38949,7 +41434,7 @@ public open class CfnTemplate( * @param numberFormatConfiguration Formatting configuration for number fields. */ override fun numberFormatConfiguration(numberFormatConfiguration: IResolvable) { - cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -38957,7 +41442,7 @@ public open class CfnTemplate( */ override fun numberFormatConfiguration(numberFormatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.numberFormatConfiguration(numberFormatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -38974,7 +41459,7 @@ public open class CfnTemplate( * @param stringFormatConfiguration Formatting configuration for string fields. */ override fun stringFormatConfiguration(stringFormatConfiguration: IResolvable) { - cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -38982,7 +41467,7 @@ public open class CfnTemplate( */ override fun stringFormatConfiguration(stringFormatConfiguration: StringFormatConfigurationProperty) { - cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty::unwrap)) + cdkBuilder.stringFormatConfiguration(stringFormatConfiguration.let(StringFormatConfigurationProperty.Companion::unwrap)) } /** @@ -39110,7 +41595,7 @@ public open class CfnTemplate( * a free-form layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -39119,7 +41604,7 @@ public open class CfnTemplate( */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: FreeFormLayoutScreenCanvasSizeOptionsProperty) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(FreeFormLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -39283,14 +41768,14 @@ public open class CfnTemplate( * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: FreeFormLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(FreeFormLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -39306,7 +41791,7 @@ public open class CfnTemplate( * @param elements The elements that are included in a free-form layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -39859,14 +42344,14 @@ public open class CfnTemplate( * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: IResolvable) { - cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable::unwrap)) + cdkBuilder.backgroundStyle(backgroundStyle.let(IResolvable.Companion::unwrap)) } /** * @param backgroundStyle The background style configuration of a free-form layout element. */ override fun backgroundStyle(backgroundStyle: FreeFormLayoutElementBackgroundStyleProperty) { - cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty::unwrap)) + cdkBuilder.backgroundStyle(backgroundStyle.let(FreeFormLayoutElementBackgroundStyleProperty.Companion::unwrap)) } /** @@ -39882,14 +42367,14 @@ public open class CfnTemplate( * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: IResolvable) { - cdkBuilder.borderStyle(borderStyle.let(IResolvable::unwrap)) + cdkBuilder.borderStyle(borderStyle.let(IResolvable.Companion::unwrap)) } /** * @param borderStyle The border style configuration of a free-form layout element. */ override fun borderStyle(borderStyle: FreeFormLayoutElementBorderStyleProperty) { - cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty::unwrap)) + cdkBuilder.borderStyle(borderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** @@ -39926,14 +42411,14 @@ public open class CfnTemplate( * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: IResolvable) { - cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable::unwrap)) + cdkBuilder.loadingAnimation(loadingAnimation.let(IResolvable.Companion::unwrap)) } /** * @param loadingAnimation The loading animation configuration of a free-form layout element. */ override fun loadingAnimation(loadingAnimation: LoadingAnimationProperty) { - cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty::unwrap)) + cdkBuilder.loadingAnimation(loadingAnimation.let(LoadingAnimationProperty.Companion::unwrap)) } /** @@ -39949,7 +42434,7 @@ public open class CfnTemplate( * displayed within a free-form layout. */ override fun renderingRules(renderingRules: IResolvable) { - cdkBuilder.renderingRules(renderingRules.let(IResolvable::unwrap)) + cdkBuilder.renderingRules(renderingRules.let(IResolvable.Companion::unwrap)) } /** @@ -39972,7 +42457,7 @@ public open class CfnTemplate( * This border style is used when the element is selected. */ override fun selectedBorderStyle(selectedBorderStyle: IResolvable) { - cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable::unwrap)) + cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(IResolvable.Companion::unwrap)) } /** @@ -39981,7 +42466,7 @@ public open class CfnTemplate( */ override fun selectedBorderStyle(selectedBorderStyle: FreeFormLayoutElementBorderStyleProperty) { - cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty::unwrap)) + cdkBuilder.selectedBorderStyle(selectedBorderStyle.let(FreeFormLayoutElementBorderStyleProperty.Companion::unwrap)) } /** @@ -40308,7 +42793,7 @@ public open class CfnTemplate( * @param elements The elements that are included in the free-form layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -40930,7 +43415,7 @@ public open class CfnTemplate( * Values are grouped by category fields. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -40952,7 +43437,7 @@ public open class CfnTemplate( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -41221,7 +43706,7 @@ public open class CfnTemplate( * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -41229,7 +43714,7 @@ public open class CfnTemplate( * `FunnelChartVisual` . */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -41246,14 +43731,14 @@ public open class CfnTemplate( * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: IResolvable) { - cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.dataLabelOptions(dataLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param dataLabelOptions The options that determine the presentation of the data labels. */ override fun dataLabelOptions(dataLabelOptions: FunnelChartDataLabelOptionsProperty) { - cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabelOptions(dataLabelOptions.let(FunnelChartDataLabelOptionsProperty.Companion::unwrap)) } /** @@ -41269,14 +43754,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `FunnelChartVisual` . */ override fun fieldWells(fieldWells: FunnelChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(FunnelChartFieldWellsProperty.Companion::unwrap)) } /** @@ -41291,14 +43776,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `FunnelChartVisual` . */ override fun sortConfiguration(sortConfiguration: FunnelChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(FunnelChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -41314,14 +43799,14 @@ public open class CfnTemplate( * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a `FunnelChartVisual` . */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -41337,7 +43822,7 @@ public open class CfnTemplate( * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -41345,7 +43830,7 @@ public open class CfnTemplate( * `FunnelChartVisual` . */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -41362,14 +43847,14 @@ public open class CfnTemplate( * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `FunnelChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -41626,7 +44111,7 @@ public open class CfnTemplate( * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: IResolvable) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -41634,7 +44119,7 @@ public open class CfnTemplate( * Only the `FontSize` attribute of the font configuration is used for data labels. */ override fun labelFontConfiguration(labelFontConfiguration: FontConfigurationProperty) { - cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.labelFontConfiguration(labelFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -42308,7 +44793,7 @@ public open class CfnTemplate( * `FunnelChartVisual` . */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: IResolvable) { - cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -42317,7 +44802,7 @@ public open class CfnTemplate( */ override fun funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells: FunnelChartAggregatedFieldWellsProperty) { - cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.funnelChartAggregatedFieldWells(funnelChartAggregatedFieldWells.let(FunnelChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -42478,14 +44963,14 @@ public open class CfnTemplate( * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The limit on the number of categories displayed. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -42501,7 +44986,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -42726,7 +45211,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -42745,14 +45230,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `FunnelChartVisual` . */ override fun chartConfiguration(chartConfiguration: FunnelChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(FunnelChartConfigurationProperty.Companion::unwrap)) } /** @@ -42769,7 +45254,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -42791,14 +45276,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -42813,14 +45298,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -42988,14 +45473,14 @@ public open class CfnTemplate( * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { - cdkBuilder.foregroundColor(foregroundColor.let(IResolvable::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the arc foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -43186,14 +45671,14 @@ public open class CfnTemplate( * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { - cdkBuilder.arc(arc.let(IResolvable::unwrap)) + cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The options that determine the presentation of the arc of a `GaugeChartVisual` . */ override fun arc(arc: GaugeChartArcConditionalFormattingProperty) { - cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty::unwrap)) + cdkBuilder.arc(arc.let(GaugeChartArcConditionalFormattingProperty.Companion::unwrap)) } /** @@ -43209,7 +45694,7 @@ public open class CfnTemplate( * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: IResolvable) { - cdkBuilder.primaryValue(primaryValue.let(IResolvable::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** @@ -43217,7 +45702,7 @@ public open class CfnTemplate( * `GaugeChartVisual` . */ override fun primaryValue(primaryValue: GaugeChartPrimaryValueConditionalFormattingProperty) { - cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(GaugeChartPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -43392,7 +45877,7 @@ public open class CfnTemplate( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -43596,14 +46081,14 @@ public open class CfnTemplate( * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a `GaugeChartVisual` . */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -43618,14 +46103,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `GaugeChartVisual` . */ override fun fieldWells(fieldWells: GaugeChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(GaugeChartFieldWellsProperty.Companion::unwrap)) } /** @@ -43641,7 +46126,7 @@ public open class CfnTemplate( * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: IResolvable) { - cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable::unwrap)) + cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(IResolvable.Companion::unwrap)) } /** @@ -43649,7 +46134,7 @@ public open class CfnTemplate( * `GaugeChartVisual` . */ override fun gaugeChartOptions(gaugeChartOptions: GaugeChartOptionsProperty) { - cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty::unwrap)) + cdkBuilder.gaugeChartOptions(gaugeChartOptions.let(GaugeChartOptionsProperty.Companion::unwrap)) } /** @@ -43666,14 +46151,14 @@ public open class CfnTemplate( * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: IResolvable) { - cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable::unwrap)) + cdkBuilder.tooltipOptions(tooltipOptions.let(IResolvable.Companion::unwrap)) } /** * @param tooltipOptions The tooltip configuration of a `GaugeChartVisual` . */ override fun tooltipOptions(tooltipOptions: TooltipOptionsProperty) { - cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltipOptions(tooltipOptions.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -43688,14 +46173,14 @@ public open class CfnTemplate( * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a `GaugeChartVisual` . */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -43839,7 +46324,7 @@ public open class CfnTemplate( * @param targetValues The target value field wells of a `GaugeChartVisual` . */ override fun targetValues(targetValues: IResolvable) { - cdkBuilder.targetValues(targetValues.let(IResolvable::unwrap)) + cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** @@ -43859,7 +46344,7 @@ public open class CfnTemplate( * @param values The value field wells of a `GaugeChartVisual` . */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -44129,14 +46614,14 @@ public open class CfnTemplate( * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: IResolvable) { - cdkBuilder.arc(arc.let(IResolvable::unwrap)) + cdkBuilder.arc(arc.let(IResolvable.Companion::unwrap)) } /** * @param arc The arc configuration of a `GaugeChartVisual` . */ override fun arc(arc: ArcConfigurationProperty) { - cdkBuilder.arc(arc.let(ArcConfigurationProperty::unwrap)) + cdkBuilder.arc(arc.let(ArcConfigurationProperty.Companion::unwrap)) } /** @@ -44151,14 +46636,14 @@ public open class CfnTemplate( * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: IResolvable) { - cdkBuilder.arcAxis(arcAxis.let(IResolvable::unwrap)) + cdkBuilder.arcAxis(arcAxis.let(IResolvable.Companion::unwrap)) } /** * @param arcAxis The arc axis configuration of a `GaugeChartVisual` . */ override fun arcAxis(arcAxis: ArcAxisConfigurationProperty) { - cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty::unwrap)) + cdkBuilder.arcAxis(arcAxis.let(ArcAxisConfigurationProperty.Companion::unwrap)) } /** @@ -44173,14 +46658,14 @@ public open class CfnTemplate( * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: IResolvable) { - cdkBuilder.comparison(comparison.let(IResolvable::unwrap)) + cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a `GaugeChartVisual` . */ override fun comparison(comparison: ComparisonConfigurationProperty) { - cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty::unwrap)) + cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** @@ -44203,7 +46688,7 @@ public open class CfnTemplate( * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -44212,7 +46697,7 @@ public open class CfnTemplate( */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -44408,14 +46893,14 @@ public open class CfnTemplate( * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -44430,14 +46915,14 @@ public open class CfnTemplate( * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -44658,7 +47143,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -44677,14 +47162,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a `GaugeChartVisual` . */ override fun chartConfiguration(chartConfiguration: GaugeChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(GaugeChartConfigurationProperty.Companion::unwrap)) } /** @@ -44700,7 +47185,7 @@ public open class CfnTemplate( * @param conditionalFormatting The conditional formatting of a `GaugeChartVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -44708,7 +47193,7 @@ public open class CfnTemplate( */ override fun conditionalFormatting(conditionalFormatting: GaugeChartConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(GaugeChartConditionalFormattingProperty.Companion::unwrap)) } /** @@ -44725,14 +47210,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -44747,14 +47232,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -45069,7 +47554,7 @@ public open class CfnTemplate( * @param colors The list of colors to be used in heatmap point style. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -45181,14 +47666,14 @@ public open class CfnTemplate( * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: IResolvable) { - cdkBuilder.heatmapColor(heatmapColor.let(IResolvable::unwrap)) + cdkBuilder.heatmapColor(heatmapColor.let(IResolvable.Companion::unwrap)) } /** * @param heatmapColor The color scale specification for the heatmap point style. */ override fun heatmapColor(heatmapColor: GeospatialHeatmapColorScaleProperty) { - cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty::unwrap)) + cdkBuilder.heatmapColor(heatmapColor.let(GeospatialHeatmapColorScaleProperty.Companion::unwrap)) } /** @@ -45422,7 +47907,7 @@ public open class CfnTemplate( * @param colors The color field wells of a geospatial map. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -45442,7 +47927,7 @@ public open class CfnTemplate( * Values are grouped by geospatial fields. */ override fun geospatial(geospatial: IResolvable) { - cdkBuilder.geospatial(geospatial.let(IResolvable::unwrap)) + cdkBuilder.geospatial(geospatial.let(IResolvable.Companion::unwrap)) } /** @@ -45464,7 +47949,7 @@ public open class CfnTemplate( * Values are aggregated based on geospatial fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -45729,14 +48214,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: GeospatialMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(GeospatialMapFieldWellsProperty.Companion::unwrap)) } /** @@ -45751,14 +48236,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -45773,14 +48258,14 @@ public open class CfnTemplate( * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: IResolvable) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param mapStyleOptions The map style options of the geospatial map. */ override fun mapStyleOptions(mapStyleOptions: GeospatialMapStyleOptionsProperty) { - cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty::unwrap)) + cdkBuilder.mapStyleOptions(mapStyleOptions.let(GeospatialMapStyleOptionsProperty.Companion::unwrap)) } /** @@ -45796,14 +48281,14 @@ public open class CfnTemplate( * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: IResolvable) { - cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable::unwrap)) + cdkBuilder.pointStyleOptions(pointStyleOptions.let(IResolvable.Companion::unwrap)) } /** * @param pointStyleOptions The point style options of the geospatial map. */ override fun pointStyleOptions(pointStyleOptions: GeospatialPointStyleOptionsProperty) { - cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty::unwrap)) + cdkBuilder.pointStyleOptions(pointStyleOptions.let(GeospatialPointStyleOptionsProperty.Companion::unwrap)) } /** @@ -45819,14 +48304,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -45841,14 +48326,14 @@ public open class CfnTemplate( * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette the value to be set. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -45863,14 +48348,14 @@ public open class CfnTemplate( * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: IResolvable) { - cdkBuilder.windowOptions(windowOptions.let(IResolvable::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(IResolvable.Companion::unwrap)) } /** * @param windowOptions The window options of the geospatial map. */ override fun windowOptions(windowOptions: GeospatialWindowOptionsProperty) { - cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty::unwrap)) + cdkBuilder.windowOptions(windowOptions.let(GeospatialWindowOptionsProperty.Companion::unwrap)) } /** @@ -46014,7 +48499,7 @@ public open class CfnTemplate( */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: IResolvable) { - cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -46022,7 +48507,7 @@ public open class CfnTemplate( */ override fun geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells: GeospatialMapAggregatedFieldWellsProperty) { - cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.geospatialMapAggregatedFieldWells(geospatialMapAggregatedFieldWells.let(GeospatialMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -46322,7 +48807,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -46341,14 +48826,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: GeospatialMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(GeospatialMapConfigurationProperty.Companion::unwrap)) } /** @@ -46365,7 +48850,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -46387,14 +48872,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -46409,14 +48894,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -46623,7 +49108,7 @@ public open class CfnTemplate( * style. */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: IResolvable) { - cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable::unwrap)) + cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -46632,7 +49117,7 @@ public open class CfnTemplate( */ override fun clusterMarkerConfiguration(clusterMarkerConfiguration: ClusterMarkerConfigurationProperty) { - cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty::unwrap)) + cdkBuilder.clusterMarkerConfiguration(clusterMarkerConfiguration.let(ClusterMarkerConfigurationProperty.Companion::unwrap)) } /** @@ -46650,7 +49135,7 @@ public open class CfnTemplate( * @param heatmapConfiguration The heatmap configuration of the geospatial point style. */ override fun heatmapConfiguration(heatmapConfiguration: IResolvable) { - cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -46658,7 +49143,7 @@ public open class CfnTemplate( */ override fun heatmapConfiguration(heatmapConfiguration: GeospatialHeatmapConfigurationProperty) { - cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty::unwrap)) + cdkBuilder.heatmapConfiguration(heatmapConfiguration.let(GeospatialHeatmapConfigurationProperty.Companion::unwrap)) } /** @@ -46806,7 +49291,7 @@ public open class CfnTemplate( * options. */ override fun bounds(bounds: IResolvable) { - cdkBuilder.bounds(bounds.let(IResolvable::unwrap)) + cdkBuilder.bounds(bounds.let(IResolvable.Companion::unwrap)) } /** @@ -46814,7 +49299,7 @@ public open class CfnTemplate( * options. */ override fun bounds(bounds: GeospatialCoordinateBoundsProperty) { - cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty::unwrap)) + cdkBuilder.bounds(bounds.let(GeospatialCoordinateBoundsProperty.Companion::unwrap)) } /** @@ -46993,14 +49478,14 @@ public open class CfnTemplate( * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: IResolvable) { - cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable::unwrap)) + cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(IResolvable.Companion::unwrap)) } /** * @param sideSpecificBorder Determines the options for side specific border. */ override fun sideSpecificBorder(sideSpecificBorder: TableSideBorderOptionsProperty) { - cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty::unwrap)) + cdkBuilder.sideSpecificBorder(sideSpecificBorder.let(TableSideBorderOptionsProperty.Companion::unwrap)) } /** @@ -47016,14 +49501,14 @@ public open class CfnTemplate( * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: IResolvable) { - cdkBuilder.uniformBorder(uniformBorder.let(IResolvable::unwrap)) + cdkBuilder.uniformBorder(uniformBorder.let(IResolvable.Companion::unwrap)) } /** * @param uniformBorder Determines the options for uniform border. */ override fun uniformBorder(uniformBorder: TableBorderOptionsProperty) { - cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.uniformBorder(uniformBorder.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -47134,7 +49619,7 @@ public open class CfnTemplate( * @param stops The list of gradient color stops. */ override fun stops(stops: IResolvable) { - cdkBuilder.stops(stops.let(IResolvable::unwrap)) + cdkBuilder.stops(stops.let(IResolvable.Companion::unwrap)) } /** @@ -47391,7 +49876,7 @@ public open class CfnTemplate( * a grid layout. */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: IResolvable) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -47400,7 +49885,7 @@ public open class CfnTemplate( */ override fun screenCanvasSizeOptions(screenCanvasSizeOptions: GridLayoutScreenCanvasSizeOptionsProperty) { - cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.screenCanvasSizeOptions(screenCanvasSizeOptions.let(GridLayoutScreenCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -47547,14 +50032,14 @@ public open class CfnTemplate( * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** * @param canvasSizeOptions the value to be set. */ override fun canvasSizeOptions(canvasSizeOptions: GridLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(GridLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -47570,7 +50055,7 @@ public open class CfnTemplate( * @param elements The elements that are included in a grid layout. */ override fun elements(elements: IResolvable) { - cdkBuilder.elements(elements.let(IResolvable::unwrap)) + cdkBuilder.elements(elements.let(IResolvable.Companion::unwrap)) } /** @@ -48603,14 +51088,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -48625,14 +51110,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -48846,14 +51331,14 @@ public open class CfnTemplate( * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: IResolvable) { - cdkBuilder.layout(layout.let(IResolvable::unwrap)) + cdkBuilder.layout(layout.let(IResolvable.Companion::unwrap)) } /** * @param layout The layout configuration of the header or footer section. */ override fun layout(layout: SectionLayoutConfigurationProperty) { - cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.layout(layout.let(SectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -48875,14 +51360,14 @@ public open class CfnTemplate( * @param style The style options of a header or footer section. */ override fun style(style: IResolvable) { - cdkBuilder.style(style.let(IResolvable::unwrap)) + cdkBuilder.style(style.let(IResolvable.Companion::unwrap)) } /** * @param style The style options of a header or footer section. */ override fun style(style: SectionStyleProperty) { - cdkBuilder.style(style.let(SectionStyleProperty::unwrap)) + cdkBuilder.style(style.let(SectionStyleProperty.Companion::unwrap)) } /** @@ -49035,7 +51520,7 @@ public open class CfnTemplate( * @param columns The columns field well of a heat map. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -49054,7 +51539,7 @@ public open class CfnTemplate( * @param rows The rows field well of a heat map. */ override fun rows(rows: IResolvable) { - cdkBuilder.rows(rows.let(IResolvable::unwrap)) + cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** @@ -49073,7 +51558,7 @@ public open class CfnTemplate( * @param values The values field well of a heat map. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -49358,14 +51843,14 @@ public open class CfnTemplate( * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: IResolvable) { - cdkBuilder.colorScale(colorScale.let(IResolvable::unwrap)) + cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) in a heat map. */ override fun colorScale(colorScale: ColorScaleProperty) { - cdkBuilder.colorScale(colorScale.let(ColorScaleProperty::unwrap)) + cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** @@ -49380,14 +51865,14 @@ public open class CfnTemplate( * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: IResolvable) { - cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.columnLabelOptions(columnLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnLabelOptions The label options of the column that is displayed in a heat map. */ override fun columnLabelOptions(columnLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.columnLabelOptions(columnLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -49403,14 +51888,14 @@ public open class CfnTemplate( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -49425,14 +51910,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: HeatMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(HeatMapFieldWellsProperty.Companion::unwrap)) } /** @@ -49447,14 +51932,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -49469,14 +51954,14 @@ public open class CfnTemplate( * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: IResolvable) { - cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.rowLabelOptions(rowLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowLabelOptions The label options of the row that is displayed in a `heat map` . */ override fun rowLabelOptions(rowLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.rowLabelOptions(rowLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -49492,14 +51977,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a heat map. */ override fun sortConfiguration(sortConfiguration: HeatMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(HeatMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -49515,14 +52000,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -49671,7 +52156,7 @@ public open class CfnTemplate( * @param heatMapAggregatedFieldWells The aggregated field wells of a heat map. */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: IResolvable) { - cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -49679,7 +52164,7 @@ public open class CfnTemplate( */ override fun heatMapAggregatedFieldWells(heatMapAggregatedFieldWells: HeatMapAggregatedFieldWellsProperty) { - cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.heatMapAggregatedFieldWells(heatMapAggregatedFieldWells.let(HeatMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -49934,7 +52419,7 @@ public open class CfnTemplate( */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: IResolvable) { - cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -49943,7 +52428,7 @@ public open class CfnTemplate( */ override fun heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.heatMapColumnItemsLimitConfiguration(heatMapColumnItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -49962,7 +52447,7 @@ public open class CfnTemplate( * a part of a field well. */ override fun heatMapColumnSort(heatMapColumnSort: IResolvable) { - cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable::unwrap)) + cdkBuilder.heatMapColumnSort(heatMapColumnSort.let(IResolvable.Companion::unwrap)) } /** @@ -49986,7 +52471,7 @@ public open class CfnTemplate( */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: IResolvable) { - cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -49995,7 +52480,7 @@ public open class CfnTemplate( */ override fun heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.heatMapRowItemsLimitConfiguration(heatMapRowItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -50013,7 +52498,7 @@ public open class CfnTemplate( * @param heatMapRowSort The field sort configuration of the rows fields. */ override fun heatMapRowSort(heatMapRowSort: IResolvable) { - cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable::unwrap)) + cdkBuilder.heatMapRowSort(heatMapRowSort.let(IResolvable.Companion::unwrap)) } /** @@ -50253,7 +52738,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -50272,14 +52757,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a heat map. */ override fun chartConfiguration(chartConfiguration: HeatMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(HeatMapConfigurationProperty.Companion::unwrap)) } /** @@ -50296,7 +52781,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -50318,14 +52803,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -50340,14 +52825,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -50746,7 +53231,7 @@ public open class CfnTemplate( * Values are aggregated by `COUNT` or `DISTINCT_COUNT` . */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -50913,14 +53398,14 @@ public open class CfnTemplate( * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: IResolvable) { - cdkBuilder.binCount(binCount.let(IResolvable::unwrap)) + cdkBuilder.binCount(binCount.let(IResolvable.Companion::unwrap)) } /** * @param binCount The options that determine the bin count of a histogram. */ override fun binCount(binCount: BinCountOptionsProperty) { - cdkBuilder.binCount(binCount.let(BinCountOptionsProperty::unwrap)) + cdkBuilder.binCount(binCount.let(BinCountOptionsProperty.Companion::unwrap)) } /** @@ -50935,14 +53420,14 @@ public open class CfnTemplate( * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: IResolvable) { - cdkBuilder.binWidth(binWidth.let(IResolvable::unwrap)) + cdkBuilder.binWidth(binWidth.let(IResolvable.Companion::unwrap)) } /** * @param binWidth The options that determine the bin width of a histogram. */ override fun binWidth(binWidth: BinWidthOptionsProperty) { - cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty::unwrap)) + cdkBuilder.binWidth(binWidth.let(BinWidthOptionsProperty.Companion::unwrap)) } /** @@ -51244,14 +53729,14 @@ public open class CfnTemplate( * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: IResolvable) { - cdkBuilder.binOptions(binOptions.let(IResolvable::unwrap)) + cdkBuilder.binOptions(binOptions.let(IResolvable.Companion::unwrap)) } /** * @param binOptions The options that determine the presentation of histogram bins. */ override fun binOptions(binOptions: HistogramBinOptionsProperty) { - cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty::unwrap)) + cdkBuilder.binOptions(binOptions.let(HistogramBinOptionsProperty.Companion::unwrap)) } /** @@ -51266,14 +53751,14 @@ public open class CfnTemplate( * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a histogram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -51288,14 +53773,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a histogram. */ override fun fieldWells(fieldWells: HistogramFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(HistogramFieldWellsProperty.Companion::unwrap)) } /** @@ -51310,14 +53795,14 @@ public open class CfnTemplate( * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a histogram. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -51332,14 +53817,14 @@ public open class CfnTemplate( * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a histogram. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -51354,14 +53839,14 @@ public open class CfnTemplate( * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -51377,14 +53862,14 @@ public open class CfnTemplate( * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -51400,14 +53885,14 @@ public open class CfnTemplate( * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param yAxisDisplayOptions The options that determine the presentation of the y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -51809,7 +54294,7 @@ public open class CfnTemplate( * @param histogramAggregatedFieldWells The field well configuration of a histogram. */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: IResolvable) { - cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -51817,7 +54302,7 @@ public open class CfnTemplate( */ override fun histogramAggregatedFieldWells(histogramAggregatedFieldWells: HistogramAggregatedFieldWellsProperty) { - cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.histogramAggregatedFieldWells(histogramAggregatedFieldWells.let(HistogramAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -52007,7 +54492,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -52026,14 +54511,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a `HistogramVisual` . */ override fun chartConfiguration(chartConfiguration: HistogramConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(HistogramConfigurationProperty.Companion::unwrap)) } /** @@ -52049,14 +54534,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -52071,14 +54556,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -52236,7 +54721,7 @@ public open class CfnTemplate( * @param computations The computations configurations of the insight visual. */ override fun computations(computations: IResolvable) { - cdkBuilder.computations(computations.let(IResolvable::unwrap)) + cdkBuilder.computations(computations.let(IResolvable.Companion::unwrap)) } /** @@ -52256,14 +54741,14 @@ public open class CfnTemplate( * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: IResolvable) { - cdkBuilder.customNarrative(customNarrative.let(IResolvable::unwrap)) + cdkBuilder.customNarrative(customNarrative.let(IResolvable.Companion::unwrap)) } /** * @param customNarrative The custom narrative of the insight visual. */ override fun customNarrative(customNarrative: CustomNarrativeOptionsProperty) { - cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty::unwrap)) + cdkBuilder.customNarrative(customNarrative.let(CustomNarrativeOptionsProperty.Companion::unwrap)) } /** @@ -52470,7 +54955,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -52496,14 +54981,14 @@ public open class CfnTemplate( * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: IResolvable) { - cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable::unwrap)) + cdkBuilder.insightConfiguration(insightConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param insightConfiguration The configuration of an insight visual. */ override fun insightConfiguration(insightConfiguration: InsightConfigurationProperty) { - cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty::unwrap)) + cdkBuilder.insightConfiguration(insightConfiguration.let(InsightConfigurationProperty.Companion::unwrap)) } /** @@ -52519,14 +55004,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -52541,14 +55026,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -52741,7 +55226,7 @@ public open class CfnTemplate( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -52749,7 +55234,7 @@ public open class CfnTemplate( * Different defaults are displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -52765,7 +55250,7 @@ public open class CfnTemplate( * @param staticValues The static values of the `IntegerDefaultValues` . */ override fun staticValues(staticValues: IResolvable) { - cdkBuilder.staticValues(staticValues.let(IResolvable::unwrap)) + cdkBuilder.staticValues(staticValues.let(IResolvable.Companion::unwrap)) } /** @@ -52990,7 +55475,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -52999,7 +55484,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: IntegerDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IntegerDefaultValuesProperty.Companion::unwrap)) } /** @@ -53016,7 +55501,7 @@ public open class CfnTemplate( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -53051,14 +55536,14 @@ public open class CfnTemplate( * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** * @param valueWhenUnset A parameter declaration for the `Integer` data type. */ override fun valueWhenUnset(valueWhenUnset: IntegerValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IntegerValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -53506,14 +55991,14 @@ public open class CfnTemplate( * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the actual value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -53528,14 +56013,14 @@ public open class CfnTemplate( * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the actual value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -53706,14 +56191,14 @@ public open class CfnTemplate( * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the comparison value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -53728,14 +56213,14 @@ public open class CfnTemplate( * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the comparison value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -54058,14 +56543,14 @@ public open class CfnTemplate( * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: IResolvable) { - cdkBuilder.actualValue(actualValue.let(IResolvable::unwrap)) + cdkBuilder.actualValue(actualValue.let(IResolvable.Companion::unwrap)) } /** * @param actualValue The conditional formatting for the actual value of a KPI visual. */ override fun actualValue(actualValue: KPIActualValueConditionalFormattingProperty) { - cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty::unwrap)) + cdkBuilder.actualValue(actualValue.let(KPIActualValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -54081,7 +56566,7 @@ public open class CfnTemplate( * @param comparisonValue The conditional formatting for the comparison value of a KPI visual. */ override fun comparisonValue(comparisonValue: IResolvable) { - cdkBuilder.comparisonValue(comparisonValue.let(IResolvable::unwrap)) + cdkBuilder.comparisonValue(comparisonValue.let(IResolvable.Companion::unwrap)) } /** @@ -54089,7 +56574,7 @@ public open class CfnTemplate( */ override fun comparisonValue(comparisonValue: KPIComparisonValueConditionalFormattingProperty) { - cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty::unwrap)) + cdkBuilder.comparisonValue(comparisonValue.let(KPIComparisonValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -54105,14 +56590,14 @@ public open class CfnTemplate( * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: IResolvable) { - cdkBuilder.primaryValue(primaryValue.let(IResolvable::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(IResolvable.Companion::unwrap)) } /** * @param primaryValue The conditional formatting for the primary value of a KPI visual. */ override fun primaryValue(primaryValue: KPIPrimaryValueConditionalFormattingProperty) { - cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty::unwrap)) + cdkBuilder.primaryValue(primaryValue.let(KPIPrimaryValueConditionalFormattingProperty.Companion::unwrap)) } /** @@ -54128,14 +56613,14 @@ public open class CfnTemplate( * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: IResolvable) { - cdkBuilder.progressBar(progressBar.let(IResolvable::unwrap)) + cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** * @param progressBar The conditional formatting for the progress bar of a KPI visual. */ override fun progressBar(progressBar: KPIProgressBarConditionalFormattingProperty) { - cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty::unwrap)) + cdkBuilder.progressBar(progressBar.let(KPIProgressBarConditionalFormattingProperty.Companion::unwrap)) } /** @@ -54397,7 +56882,7 @@ public open class CfnTemplate( * @param conditionalFormattingOptions The conditional formatting options of a KPI visual. */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -54547,14 +57032,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a KPI visual. */ override fun fieldWells(fieldWells: KPIFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(KPIFieldWellsProperty.Companion::unwrap)) } /** @@ -54569,14 +57054,14 @@ public open class CfnTemplate( * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: IResolvable) { - cdkBuilder.kpiOptions(kpiOptions.let(IResolvable::unwrap)) + cdkBuilder.kpiOptions(kpiOptions.let(IResolvable.Companion::unwrap)) } /** * @param kpiOptions The options that determine the presentation of a KPI visual. */ override fun kpiOptions(kpiOptions: KPIOptionsProperty) { - cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty::unwrap)) + cdkBuilder.kpiOptions(kpiOptions.let(KPIOptionsProperty.Companion::unwrap)) } /** @@ -54591,14 +57076,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a KPI visual. */ override fun sortConfiguration(sortConfiguration: KPISortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(KPISortConfigurationProperty.Companion::unwrap)) } /** @@ -54750,7 +57235,7 @@ public open class CfnTemplate( * @param targetValues The target value field wells of a KPI visual. */ override fun targetValues(targetValues: IResolvable) { - cdkBuilder.targetValues(targetValues.let(IResolvable::unwrap)) + cdkBuilder.targetValues(targetValues.let(IResolvable.Companion::unwrap)) } /** @@ -54770,7 +57255,7 @@ public open class CfnTemplate( * @param trendGroups The trend group field wells of a KPI visual. */ override fun trendGroups(trendGroups: IResolvable) { - cdkBuilder.trendGroups(trendGroups.let(IResolvable::unwrap)) + cdkBuilder.trendGroups(trendGroups.let(IResolvable.Companion::unwrap)) } /** @@ -54789,7 +57274,7 @@ public open class CfnTemplate( * @param values The value field wells of a KPI visual. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -55203,14 +57688,14 @@ public open class CfnTemplate( * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: IResolvable) { - cdkBuilder.comparison(comparison.let(IResolvable::unwrap)) + cdkBuilder.comparison(comparison.let(IResolvable.Companion::unwrap)) } /** * @param comparison The comparison configuration of a KPI visual. */ override fun comparison(comparison: ComparisonConfigurationProperty) { - cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty::unwrap)) + cdkBuilder.comparison(comparison.let(ComparisonConfigurationProperty.Companion::unwrap)) } /** @@ -55233,7 +57718,7 @@ public open class CfnTemplate( * configuration. */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: IResolvable) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -55242,7 +57727,7 @@ public open class CfnTemplate( */ override fun primaryValueFontConfiguration(primaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.primaryValueFontConfiguration(primaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -55261,7 +57746,7 @@ public open class CfnTemplate( * visual. */ override fun progressBar(progressBar: IResolvable) { - cdkBuilder.progressBar(progressBar.let(IResolvable::unwrap)) + cdkBuilder.progressBar(progressBar.let(IResolvable.Companion::unwrap)) } /** @@ -55269,7 +57754,7 @@ public open class CfnTemplate( * visual. */ override fun progressBar(progressBar: ProgressBarOptionsProperty) { - cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty::unwrap)) + cdkBuilder.progressBar(progressBar.let(ProgressBarOptionsProperty.Companion::unwrap)) } /** @@ -55286,7 +57771,7 @@ public open class CfnTemplate( * a KPI visual. */ override fun secondaryValue(secondaryValue: IResolvable) { - cdkBuilder.secondaryValue(secondaryValue.let(IResolvable::unwrap)) + cdkBuilder.secondaryValue(secondaryValue.let(IResolvable.Companion::unwrap)) } /** @@ -55294,7 +57779,7 @@ public open class CfnTemplate( * a KPI visual. */ override fun secondaryValue(secondaryValue: SecondaryValueOptionsProperty) { - cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty::unwrap)) + cdkBuilder.secondaryValue(secondaryValue.let(SecondaryValueOptionsProperty.Companion::unwrap)) } /** @@ -55311,7 +57796,7 @@ public open class CfnTemplate( * configuration. */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: IResolvable) { - cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -55320,7 +57805,7 @@ public open class CfnTemplate( */ override fun secondaryValueFontConfiguration(secondaryValueFontConfiguration: FontConfigurationProperty) { - cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.secondaryValueFontConfiguration(secondaryValueFontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -55339,7 +57824,7 @@ public open class CfnTemplate( * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: IResolvable) { - cdkBuilder.sparkline(sparkline.let(IResolvable::unwrap)) + cdkBuilder.sparkline(sparkline.let(IResolvable.Companion::unwrap)) } /** @@ -55347,7 +57832,7 @@ public open class CfnTemplate( * visibility of the sparkline of a KPI visual. */ override fun sparkline(sparkline: KPISparklineOptionsProperty) { - cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty::unwrap)) + cdkBuilder.sparkline(sparkline.let(KPISparklineOptionsProperty.Companion::unwrap)) } /** @@ -55364,7 +57849,7 @@ public open class CfnTemplate( * visual. */ override fun trendArrows(trendArrows: IResolvable) { - cdkBuilder.trendArrows(trendArrows.let(IResolvable::unwrap)) + cdkBuilder.trendArrows(trendArrows.let(IResolvable.Companion::unwrap)) } /** @@ -55372,7 +57857,7 @@ public open class CfnTemplate( * visual. */ override fun trendArrows(trendArrows: TrendArrowOptionsProperty) { - cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty::unwrap)) + cdkBuilder.trendArrows(trendArrows.let(TrendArrowOptionsProperty.Companion::unwrap)) } /** @@ -55388,14 +57873,14 @@ public open class CfnTemplate( * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: IResolvable) { - cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable::unwrap)) + cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(IResolvable.Companion::unwrap)) } /** * @param visualLayoutOptions The options that determine the layout a KPI visual. */ override fun visualLayoutOptions(visualLayoutOptions: KPIVisualLayoutOptionsProperty) { - cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty::unwrap)) + cdkBuilder.visualLayoutOptions(visualLayoutOptions.let(KPIVisualLayoutOptionsProperty.Companion::unwrap)) } /** @@ -55617,14 +58102,14 @@ public open class CfnTemplate( * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting of the primary value's icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -55639,14 +58124,14 @@ public open class CfnTemplate( * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting of the primary value's text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -55775,14 +58260,14 @@ public open class CfnTemplate( * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: IResolvable) { - cdkBuilder.foregroundColor(foregroundColor.let(IResolvable::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(IResolvable.Companion::unwrap)) } /** * @param foregroundColor The conditional formatting of the progress bar's foreground color. */ override fun foregroundColor(foregroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.foregroundColor(foregroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -55912,7 +58397,7 @@ public open class CfnTemplate( * @param trendGroupSort The sort configuration of the trend group fields. */ override fun trendGroupSort(trendGroupSort: IResolvable) { - cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable::unwrap)) + cdkBuilder.trendGroupSort(trendGroupSort.let(IResolvable.Companion::unwrap)) } /** @@ -56187,14 +58672,14 @@ public open class CfnTemplate( * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: IResolvable) { - cdkBuilder.standardLayout(standardLayout.let(IResolvable::unwrap)) + cdkBuilder.standardLayout(standardLayout.let(IResolvable.Companion::unwrap)) } /** * @param standardLayout The standard layout of the KPI visual. */ override fun standardLayout(standardLayout: KPIVisualStandardLayoutProperty) { - cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty::unwrap)) + cdkBuilder.standardLayout(standardLayout.let(KPIVisualStandardLayoutProperty.Companion::unwrap)) } /** @@ -56431,7 +58916,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -56450,14 +58935,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a KPI visual. */ override fun chartConfiguration(chartConfiguration: KPIConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(KPIConfigurationProperty.Companion::unwrap)) } /** @@ -56474,7 +58959,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -56496,14 +58981,14 @@ public open class CfnTemplate( * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** * @param conditionalFormatting The conditional formatting of a KPI visual. */ override fun conditionalFormatting(conditionalFormatting: KPIConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(KPIConditionalFormattingProperty.Companion::unwrap)) } /** @@ -56519,14 +59004,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -56541,14 +59026,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -56828,14 +59313,14 @@ public open class CfnTemplate( * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -57260,7 +59745,7 @@ public open class CfnTemplate( * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: IResolvable) { - cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** @@ -57268,7 +59753,7 @@ public open class CfnTemplate( * the exact placement of layout elements. */ override fun freeFormLayout(freeFormLayout: FreeFormLayoutConfigurationProperty) { - cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -57289,7 +59774,7 @@ public open class CfnTemplate( * `RESPONSIVE` . */ override fun gridLayout(gridLayout: IResolvable) { - cdkBuilder.gridLayout(gridLayout.let(IResolvable::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** @@ -57300,7 +59785,7 @@ public open class CfnTemplate( * `RESPONSIVE` . */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { - cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -57320,7 +59805,7 @@ public open class CfnTemplate( * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: IResolvable) { - cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable::unwrap)) + cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(IResolvable.Companion::unwrap)) } /** @@ -57328,7 +59813,7 @@ public open class CfnTemplate( * and has customized header, footer and page break. */ override fun sectionBasedLayout(sectionBasedLayout: SectionBasedLayoutConfigurationProperty) { - cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty::unwrap)) + cdkBuilder.sectionBasedLayout(sectionBasedLayout.let(SectionBasedLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -57687,7 +60172,7 @@ public open class CfnTemplate( * */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -57695,7 +60180,7 @@ public open class CfnTemplate( * */ override fun configuration(configuration: LayoutConfigurationProperty) { - cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(LayoutConfigurationProperty.Companion::unwrap)) } /** @@ -57896,14 +60381,14 @@ public open class CfnTemplate( * @param title The custom title for the legend. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The custom title for the legend. */ override fun title(title: LabelOptionsProperty) { - cdkBuilder.title(title.let(LabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -58131,7 +60616,7 @@ public open class CfnTemplate( * Values are grouped by category fields. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -58153,7 +60638,7 @@ public open class CfnTemplate( * Values are grouped by category fields. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -58174,7 +60659,7 @@ public open class CfnTemplate( * @param smallMultiples The small multiples field well of a line chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -58195,7 +60680,7 @@ public open class CfnTemplate( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -58763,7 +61248,7 @@ public open class CfnTemplate( * contribution analysis. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -58785,14 +61270,14 @@ public open class CfnTemplate( * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a line chart. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -58808,7 +61293,7 @@ public open class CfnTemplate( * line series in `LineChartVisual` . */ override fun defaultSeriesSettings(defaultSeriesSettings: IResolvable) { - cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(IResolvable.Companion::unwrap)) } /** @@ -58817,7 +61302,7 @@ public open class CfnTemplate( */ override fun defaultSeriesSettings(defaultSeriesSettings: LineChartDefaultSeriesSettingsProperty) { - cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty::unwrap)) + cdkBuilder.defaultSeriesSettings(defaultSeriesSettings.let(LineChartDefaultSeriesSettingsProperty.Companion::unwrap)) } /** @@ -58835,14 +61320,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a line chart. */ override fun fieldWells(fieldWells: LineChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(LineChartFieldWellsProperty.Companion::unwrap)) } /** @@ -58857,7 +61342,7 @@ public open class CfnTemplate( * @param forecastConfigurations The forecast configuration of a line chart. */ override fun forecastConfigurations(forecastConfigurations: IResolvable) { - cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable::unwrap)) + cdkBuilder.forecastConfigurations(forecastConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -58877,14 +61362,14 @@ public open class CfnTemplate( * @param legend The legend configuration of a line chart. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a line chart. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -58899,7 +61384,7 @@ public open class CfnTemplate( * @param primaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -58907,7 +61392,7 @@ public open class CfnTemplate( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -58925,7 +61410,7 @@ public open class CfnTemplate( * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -58934,7 +61419,7 @@ public open class CfnTemplate( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -58951,7 +61436,7 @@ public open class CfnTemplate( * @param referenceLines The reference lines configuration of a line chart. */ override fun referenceLines(referenceLines: IResolvable) { - cdkBuilder.referenceLines(referenceLines.let(IResolvable::unwrap)) + cdkBuilder.referenceLines(referenceLines.let(IResolvable.Companion::unwrap)) } /** @@ -58971,7 +61456,7 @@ public open class CfnTemplate( * @param secondaryYAxisDisplayOptions The series axis configuration of a line chart. */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -58979,7 +61464,7 @@ public open class CfnTemplate( */ override fun secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions: LineSeriesAxisDisplayOptionsProperty) { - cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisDisplayOptions(secondaryYAxisDisplayOptions.let(LineSeriesAxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -58997,7 +61482,7 @@ public open class CfnTemplate( * secondary y-axis label. */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: IResolvable) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -59006,7 +61491,7 @@ public open class CfnTemplate( */ override fun secondaryYAxisLabelOptions(secondaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.secondaryYAxisLabelOptions(secondaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -59024,7 +61509,7 @@ public open class CfnTemplate( * @param series The series item configuration of a line chart. */ override fun series(series: IResolvable) { - cdkBuilder.series(series.let(IResolvable::unwrap)) + cdkBuilder.series(series.let(IResolvable.Companion::unwrap)) } /** @@ -59043,14 +61528,14 @@ public open class CfnTemplate( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -59066,14 +61551,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a line chart. */ override fun sortConfiguration(sortConfiguration: LineChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(LineChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -59089,14 +61574,14 @@ public open class CfnTemplate( * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip configuration of a line chart. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -59118,14 +61603,14 @@ public open class CfnTemplate( * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a line chart. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -59140,14 +61625,14 @@ public open class CfnTemplate( * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisDisplayOptions The options that determine the presentation of the x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -59163,14 +61648,14 @@ public open class CfnTemplate( * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param xAxisLabelOptions The options that determine the presentation of the x-axis label. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -59460,14 +61945,14 @@ public open class CfnTemplate( * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for all line series in the visual. */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** @@ -59483,14 +61968,14 @@ public open class CfnTemplate( * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for all line series in the visual. */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** @@ -59605,7 +62090,7 @@ public open class CfnTemplate( * @param lineChartAggregatedFieldWells The field well configuration of a line chart. */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: IResolvable) { - cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -59613,7 +62098,7 @@ public open class CfnTemplate( */ override fun lineChartAggregatedFieldWells(lineChartAggregatedFieldWells: LineChartAggregatedFieldWellsProperty) { - cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.lineChartAggregatedFieldWells(lineChartAggregatedFieldWells.let(LineChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -60140,14 +62625,14 @@ public open class CfnTemplate( * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: IResolvable) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param lineStyleSettings Line styles options for a line series in `LineChartVisual` . */ override fun lineStyleSettings(lineStyleSettings: LineChartLineStyleSettingsProperty) { - cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty::unwrap)) + cdkBuilder.lineStyleSettings(lineStyleSettings.let(LineChartLineStyleSettingsProperty.Companion::unwrap)) } /** @@ -60163,14 +62648,14 @@ public open class CfnTemplate( * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: IResolvable) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param markerStyleSettings Marker styles options for a line series in `LineChartVisual` . */ override fun markerStyleSettings(markerStyleSettings: LineChartMarkerStyleSettingsProperty) { - cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty::unwrap)) + cdkBuilder.markerStyleSettings(markerStyleSettings.let(LineChartMarkerStyleSettingsProperty.Companion::unwrap)) } /** @@ -60458,7 +62943,7 @@ public open class CfnTemplate( * displayed in a line chart. */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: IResolvable) { - cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -60467,7 +62952,7 @@ public open class CfnTemplate( */ override fun categoryItemsLimitConfiguration(categoryItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimitConfiguration(categoryItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -60485,7 +62970,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -60506,7 +62991,7 @@ public open class CfnTemplate( * a line chart. */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: IResolvable) { - cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -60515,7 +63000,7 @@ public open class CfnTemplate( */ override fun colorItemsLimitConfiguration(colorItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimitConfiguration(colorItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -60534,7 +63019,7 @@ public open class CfnTemplate( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -60543,7 +63028,7 @@ public open class CfnTemplate( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -60561,7 +63046,7 @@ public open class CfnTemplate( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -60810,7 +63295,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -60829,14 +63314,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a line chart. */ override fun chartConfiguration(chartConfiguration: LineChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(LineChartConfigurationProperty.Companion::unwrap)) } /** @@ -60853,7 +63338,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -60875,14 +63360,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -60897,14 +63382,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -61138,14 +63623,14 @@ public open class CfnTemplate( * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: IResolvable) { - cdkBuilder.axisOptions(axisOptions.let(IResolvable::unwrap)) + cdkBuilder.axisOptions(axisOptions.let(IResolvable.Companion::unwrap)) } /** * @param axisOptions The options that determine the presentation of the line series axis. */ override fun axisOptions(axisOptions: AxisDisplayOptionsProperty) { - cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.axisOptions(axisOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -61161,7 +63646,7 @@ public open class CfnTemplate( * is treated during the rendering of a line chart. */ override fun missingDataConfigurations(missingDataConfigurations: IResolvable) { - cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable::unwrap)) + cdkBuilder.missingDataConfigurations(missingDataConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -61379,7 +63864,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -61387,7 +63872,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -61404,14 +63889,14 @@ public open class CfnTemplate( * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: IResolvable) { - cdkBuilder.searchOptions(searchOptions.let(IResolvable::unwrap)) + cdkBuilder.searchOptions(searchOptions.let(IResolvable.Companion::unwrap)) } /** * @param searchOptions The configuration of the search options in a list control. */ override fun searchOptions(searchOptions: ListControlSearchOptionsProperty) { - cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty::unwrap)) + cdkBuilder.searchOptions(searchOptions.let(ListControlSearchOptionsProperty.Companion::unwrap)) } /** @@ -61427,14 +63912,14 @@ public open class CfnTemplate( * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: IResolvable) { - cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(IResolvable.Companion::unwrap)) } /** * @param selectAllOptions The configuration of the `Select all` options in a list control. */ override fun selectAllOptions(selectAllOptions: ListControlSelectAllOptionsProperty) { - cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty::unwrap)) + cdkBuilder.selectAllOptions(selectAllOptions.let(ListControlSelectAllOptionsProperty.Companion::unwrap)) } /** @@ -61450,14 +63935,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -62792,14 +65277,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -62823,14 +65308,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -63281,14 +65766,14 @@ public open class CfnTemplate( * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: IResolvable) { - cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable::unwrap)) + cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param calculatedMeasureField The calculated measure field only used in pivot tables. */ override fun calculatedMeasureField(calculatedMeasureField: CalculatedMeasureFieldProperty) { - cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty::unwrap)) + cdkBuilder.calculatedMeasureField(calculatedMeasureField.let(CalculatedMeasureFieldProperty.Companion::unwrap)) } /** @@ -63304,7 +65789,7 @@ public open class CfnTemplate( * @param categoricalMeasureField The measure type field with categorical type columns. */ override fun categoricalMeasureField(categoricalMeasureField: IResolvable) { - cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable::unwrap)) + cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(IResolvable.Companion::unwrap)) } /** @@ -63312,7 +65797,7 @@ public open class CfnTemplate( */ override fun categoricalMeasureField(categoricalMeasureField: CategoricalMeasureFieldProperty) { - cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty::unwrap)) + cdkBuilder.categoricalMeasureField(categoricalMeasureField.let(CategoricalMeasureFieldProperty.Companion::unwrap)) } /** @@ -63328,14 +65813,14 @@ public open class CfnTemplate( * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: IResolvable) { - cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable::unwrap)) + cdkBuilder.dateMeasureField(dateMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param dateMeasureField The measure type field with date type columns. */ override fun dateMeasureField(dateMeasureField: DateMeasureFieldProperty) { - cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty::unwrap)) + cdkBuilder.dateMeasureField(dateMeasureField.let(DateMeasureFieldProperty.Companion::unwrap)) } /** @@ -63350,14 +65835,14 @@ public open class CfnTemplate( * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: IResolvable) { - cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable::unwrap)) + cdkBuilder.numericalMeasureField(numericalMeasureField.let(IResolvable.Companion::unwrap)) } /** * @param numericalMeasureField The measure type field with numerical type columns. */ override fun numericalMeasureField(numericalMeasureField: NumericalMeasureFieldProperty) { - cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty::unwrap)) + cdkBuilder.numericalMeasureField(numericalMeasureField.let(NumericalMeasureFieldProperty.Companion::unwrap)) } /** @@ -63554,14 +66039,14 @@ public open class CfnTemplate( * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: IResolvable) { - cdkBuilder.fromValue(fromValue.let(IResolvable::unwrap)) + cdkBuilder.fromValue(fromValue.let(IResolvable.Companion::unwrap)) } /** * @param fromValue The field that is used in a metric comparison from value setup. */ override fun fromValue(fromValue: MeasureFieldProperty) { - cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty::unwrap)) + cdkBuilder.fromValue(fromValue.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -63583,14 +66068,14 @@ public open class CfnTemplate( * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: IResolvable) { - cdkBuilder.targetValue(targetValue.let(IResolvable::unwrap)) + cdkBuilder.targetValue(targetValue.let(IResolvable.Companion::unwrap)) } /** * @param targetValue The field that is used in a metric comparison to value setup. */ override fun targetValue(targetValue: MeasureFieldProperty) { - cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty::unwrap)) + cdkBuilder.targetValue(targetValue.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -63605,14 +66090,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -64242,7 +66727,7 @@ public open class CfnTemplate( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -64251,7 +66736,7 @@ public open class CfnTemplate( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -64270,7 +66755,7 @@ public open class CfnTemplate( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -64279,7 +66764,7 @@ public open class CfnTemplate( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -64298,7 +66783,7 @@ public open class CfnTemplate( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -64307,7 +66792,7 @@ public open class CfnTemplate( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -64340,7 +66825,7 @@ public open class CfnTemplate( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -64349,7 +66834,7 @@ public open class CfnTemplate( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -64571,14 +67056,14 @@ public open class CfnTemplate( * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The options that determine the numeric format configuration. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -64722,14 +67207,14 @@ public open class CfnTemplate( * @param range The range setup of a numeric axis. */ override fun range(range: IResolvable) { - cdkBuilder.range(range.let(IResolvable::unwrap)) + cdkBuilder.range(range.let(IResolvable.Companion::unwrap)) } /** * @param range The range setup of a numeric axis. */ override fun range(range: AxisDisplayRangeProperty) { - cdkBuilder.range(range.let(AxisDisplayRangeProperty::unwrap)) + cdkBuilder.range(range.let(AxisDisplayRangeProperty.Companion::unwrap)) } /** @@ -64744,14 +67229,14 @@ public open class CfnTemplate( * @param scale The scale setup of a numeric axis. */ override fun scale(scale: IResolvable) { - cdkBuilder.scale(scale.let(IResolvable::unwrap)) + cdkBuilder.scale(scale.let(IResolvable.Companion::unwrap)) } /** * @param scale The scale setup of a numeric axis. */ override fun scale(scale: AxisScaleProperty) { - cdkBuilder.scale(scale.let(AxisScaleProperty::unwrap)) + cdkBuilder.scale(scale.let(AxisScaleProperty.Companion::unwrap)) } /** @@ -64804,7 +67289,7 @@ public open class CfnTemplate( } /** - * The category drill down filter. + * The numeric equality type drill down filter. * * Example: * @@ -64879,14 +67364,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -64981,6 +67466,204 @@ public open class CfnTemplate( * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .parameterName("parameterName") * .selectAllOptions("selectAllOptions") * .value(123) @@ -65004,6 +67687,16 @@ public open class CfnTemplate( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-numericequalityfilter.html#cfn-quicksight-template-numericequalityfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -65092,6 +67785,31 @@ public open class CfnTemplate( @JvmName("8c4ce0e6be2215ff9d96e9a93eb1e08a064a6df678490080d6658f261e61df0d") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("3692c3ecacafc759c2e46f9686ea8318f5d840b86b6265a980c4f0139498c6e5") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -65141,14 +67859,14 @@ public open class CfnTemplate( * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -65164,14 +67882,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -65182,6 +67900,38 @@ public open class CfnTemplate( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("3692c3ecacafc759c2e46f9686ea8318f5d840b86b6265a980c4f0139498c6e5") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -65254,6 +68004,16 @@ public open class CfnTemplate( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-numericequalityfilter.html#cfn-quicksight-template-numericequalityfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -65513,7 +68273,7 @@ public open class CfnTemplate( */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: IResolvable) { - cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65522,7 +68282,7 @@ public open class CfnTemplate( */ override fun currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration: CurrencyDisplayFormatConfigurationProperty) { - cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.currencyDisplayFormatConfiguration(currencyDisplayFormatConfiguration.let(CurrencyDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -65541,7 +68301,7 @@ public open class CfnTemplate( * format configuration. */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: IResolvable) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65550,7 +68310,7 @@ public open class CfnTemplate( */ override fun numberDisplayFormatConfiguration(numberDisplayFormatConfiguration: NumberDisplayFormatConfigurationProperty) { - cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.numberDisplayFormatConfiguration(numberDisplayFormatConfiguration.let(NumberDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -65570,7 +68330,7 @@ public open class CfnTemplate( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: IResolvable) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -65579,7 +68339,7 @@ public open class CfnTemplate( */ override fun percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration: PercentageDisplayFormatConfigurationProperty) { - cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty::unwrap)) + cdkBuilder.percentageDisplayFormatConfiguration(percentageDisplayFormatConfiguration.let(PercentageDisplayFormatConfigurationProperty.Companion::unwrap)) } /** @@ -65676,6 +68436,204 @@ public open class CfnTemplate( * .simpleNumericalAggregation("simpleNumericalAggregation") * .build()) * .build()) + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .includeMaximum(false) * .includeMinimum(false) * .rangeMaximum(NumericRangeFilterValueProperty.builder() @@ -65707,6 +68665,16 @@ public open class CfnTemplate( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-numericrangefilter.html#cfn-quicksight-template-numericrangefilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -65804,6 +68772,31 @@ public open class CfnTemplate( @JvmName("bc8cb9b3026af9c5d8ac21995ad4d7c06c2d215fd5c08a63ea64aa08d5dab831") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("40df8c4b9a12af97bb093c80df59b8fbea73c9c83769ee1b4264323164b22171") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -65895,14 +68888,14 @@ public open class CfnTemplate( * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the filter. */ override fun aggregationFunction(aggregationFunction: AggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -65918,14 +68911,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -65936,6 +68929,38 @@ public open class CfnTemplate( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("40df8c4b9a12af97bb093c80df59b8fbea73c9c83769ee1b4264323164b22171") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -65957,7 +68982,7 @@ public open class CfnTemplate( * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { - cdkBuilder.includeMaximum(includeMaximum.let(IResolvable::unwrap)) + cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** @@ -65973,7 +68998,7 @@ public open class CfnTemplate( * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { - cdkBuilder.includeMinimum(includeMinimum.let(IResolvable::unwrap)) + cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** @@ -65991,14 +69016,14 @@ public open class CfnTemplate( * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: IResolvable) { - cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable::unwrap)) + cdkBuilder.rangeMaximum(rangeMaximum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximum The maximum value for the filter value range. */ override fun rangeMaximum(rangeMaximum: NumericRangeFilterValueProperty) { - cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMaximum(rangeMaximum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** @@ -66013,14 +69038,14 @@ public open class CfnTemplate( * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: IResolvable) { - cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable::unwrap)) + cdkBuilder.rangeMinimum(rangeMinimum.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimum The minimum value for the filter value range. */ override fun rangeMinimum(rangeMinimum: NumericRangeFilterValueProperty) { - cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMinimum(rangeMinimum.let(NumericRangeFilterValueProperty.Companion::unwrap)) } /** @@ -66062,6 +69087,16 @@ public open class CfnTemplate( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-numericrangefilter.html#cfn-quicksight-template-numericrangefilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -66330,14 +69365,14 @@ public open class CfnTemplate( * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: IResolvable) { - cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable::unwrap)) + cdkBuilder.thousandsSeparator(thousandsSeparator.let(IResolvable.Companion::unwrap)) } /** * @param thousandsSeparator The options that determine the thousands separator configuration. */ override fun thousandsSeparator(thousandsSeparator: ThousandSeparatorOptionsProperty) { - cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty::unwrap)) + cdkBuilder.thousandsSeparator(thousandsSeparator.let(ThousandSeparatorOptionsProperty.Companion::unwrap)) } /** @@ -66492,7 +69527,7 @@ public open class CfnTemplate( * dimension or measure. */ override fun percentileAggregation(percentileAggregation: IResolvable) { - cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable::unwrap)) + cdkBuilder.percentileAggregation(percentileAggregation.let(IResolvable.Companion::unwrap)) } /** @@ -66500,7 +69535,7 @@ public open class CfnTemplate( * dimension or measure. */ override fun percentileAggregation(percentileAggregation: PercentileAggregationProperty) { - cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty::unwrap)) + cdkBuilder.percentileAggregation(percentileAggregation.let(PercentileAggregationProperty.Companion::unwrap)) } /** @@ -66766,14 +69801,14 @@ public open class CfnTemplate( * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalDimensionField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -66795,14 +69830,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -67074,14 +70109,14 @@ public open class CfnTemplate( * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: IResolvable) { - cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(IResolvable.Companion::unwrap)) } /** * @param aggregationFunction The aggregation function of the measure field. */ override fun aggregationFunction(aggregationFunction: NumericalAggregationFunctionProperty) { - cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.aggregationFunction(aggregationFunction.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -67097,14 +70132,14 @@ public open class CfnTemplate( * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `NumericalMeasureField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -67126,14 +70161,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: NumberFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumberFormatConfigurationProperty.Companion::unwrap)) } /** @@ -67547,14 +70582,14 @@ public open class CfnTemplate( * @param title Configures the title display within each small multiples panel. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title Configures the title display within each small multiples panel. */ override fun title(title: PanelTitleOptionsProperty) { - cdkBuilder.title(title.let(PanelTitleOptionsProperty::unwrap)) + cdkBuilder.title(title.let(PanelTitleOptionsProperty.Companion::unwrap)) } /** @@ -67746,14 +70781,14 @@ public open class CfnTemplate( * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration the value to be set. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -68233,14 +71268,14 @@ public open class CfnTemplate( * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: IResolvable) { - cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(IResolvable.Companion::unwrap)) } /** * @param dateTimePicker A control from a date parameter that specifies date and time. */ override fun dateTimePicker(dateTimePicker: ParameterDateTimePickerControlProperty) { - cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty::unwrap)) + cdkBuilder.dateTimePicker(dateTimePicker.let(ParameterDateTimePickerControlProperty.Companion::unwrap)) } /** @@ -68257,7 +71292,7 @@ public open class CfnTemplate( * single value. */ override fun dropdown(dropdown: IResolvable) { - cdkBuilder.dropdown(dropdown.let(IResolvable::unwrap)) + cdkBuilder.dropdown(dropdown.let(IResolvable.Companion::unwrap)) } /** @@ -68265,7 +71300,7 @@ public open class CfnTemplate( * single value. */ override fun dropdown(dropdown: ParameterDropDownControlProperty) { - cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty::unwrap)) + cdkBuilder.dropdown(dropdown.let(ParameterDropDownControlProperty.Companion::unwrap)) } /** @@ -68282,7 +71317,7 @@ public open class CfnTemplate( * either a single value or multiple values. */ override fun list(list: IResolvable) { - cdkBuilder.list(list.let(IResolvable::unwrap)) + cdkBuilder.list(list.let(IResolvable.Companion::unwrap)) } /** @@ -68290,7 +71325,7 @@ public open class CfnTemplate( * either a single value or multiple values. */ override fun list(list: ParameterListControlProperty) { - cdkBuilder.list(list.let(ParameterListControlProperty::unwrap)) + cdkBuilder.list(list.let(ParameterListControlProperty.Companion::unwrap)) } /** @@ -68307,7 +71342,7 @@ public open class CfnTemplate( * This is used to change a value by sliding the toggle. */ override fun slider(slider: IResolvable) { - cdkBuilder.slider(slider.let(IResolvable::unwrap)) + cdkBuilder.slider(slider.let(IResolvable.Companion::unwrap)) } /** @@ -68315,7 +71350,7 @@ public open class CfnTemplate( * This is used to change a value by sliding the toggle. */ override fun slider(slider: ParameterSliderControlProperty) { - cdkBuilder.slider(slider.let(ParameterSliderControlProperty::unwrap)) + cdkBuilder.slider(slider.let(ParameterSliderControlProperty.Companion::unwrap)) } /** @@ -68331,14 +71366,14 @@ public open class CfnTemplate( * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: IResolvable) { - cdkBuilder.textArea(textArea.let(IResolvable::unwrap)) + cdkBuilder.textArea(textArea.let(IResolvable.Companion::unwrap)) } /** * @param textArea A control to display a text box that is used to enter multiple entries. */ override fun textArea(textArea: ParameterTextAreaControlProperty) { - cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty::unwrap)) + cdkBuilder.textArea(textArea.let(ParameterTextAreaControlProperty.Companion::unwrap)) } /** @@ -68353,14 +71388,14 @@ public open class CfnTemplate( * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: IResolvable) { - cdkBuilder.textField(textField.let(IResolvable::unwrap)) + cdkBuilder.textField(textField.let(IResolvable.Companion::unwrap)) } /** * @param textField A control to display a text box that is used to enter a single entry. */ override fun textField(textField: ParameterTextFieldControlProperty) { - cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty::unwrap)) + cdkBuilder.textField(textField.let(ParameterTextFieldControlProperty.Companion::unwrap)) } /** @@ -68563,14 +71598,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DateTimePickerControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DateTimePickerControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -68932,7 +71967,7 @@ public open class CfnTemplate( * @param dateTimeParameterDeclaration A parameter declaration for the `DateTime` data type. */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: IResolvable) { - cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -68940,7 +71975,7 @@ public open class CfnTemplate( */ override fun dateTimeParameterDeclaration(dateTimeParameterDeclaration: DateTimeParameterDeclarationProperty) { - cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty::unwrap)) + cdkBuilder.dateTimeParameterDeclaration(dateTimeParameterDeclaration.let(DateTimeParameterDeclarationProperty.Companion::unwrap)) } /** @@ -68957,7 +71992,7 @@ public open class CfnTemplate( * @param decimalParameterDeclaration A parameter declaration for the `Decimal` data type. */ override fun decimalParameterDeclaration(decimalParameterDeclaration: IResolvable) { - cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -68965,7 +72000,7 @@ public open class CfnTemplate( */ override fun decimalParameterDeclaration(decimalParameterDeclaration: DecimalParameterDeclarationProperty) { - cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty::unwrap)) + cdkBuilder.decimalParameterDeclaration(decimalParameterDeclaration.let(DecimalParameterDeclarationProperty.Companion::unwrap)) } /** @@ -68982,7 +72017,7 @@ public open class CfnTemplate( * @param integerParameterDeclaration A parameter declaration for the `Integer` data type. */ override fun integerParameterDeclaration(integerParameterDeclaration: IResolvable) { - cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -68990,7 +72025,7 @@ public open class CfnTemplate( */ override fun integerParameterDeclaration(integerParameterDeclaration: IntegerParameterDeclarationProperty) { - cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty::unwrap)) + cdkBuilder.integerParameterDeclaration(integerParameterDeclaration.let(IntegerParameterDeclarationProperty.Companion::unwrap)) } /** @@ -69007,7 +72042,7 @@ public open class CfnTemplate( * @param stringParameterDeclaration A parameter declaration for the `String` data type. */ override fun stringParameterDeclaration(stringParameterDeclaration: IResolvable) { - cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable::unwrap)) + cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(IResolvable.Companion::unwrap)) } /** @@ -69015,7 +72050,7 @@ public open class CfnTemplate( */ override fun stringParameterDeclaration(stringParameterDeclaration: StringParameterDeclarationProperty) { - cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty::unwrap)) + cdkBuilder.stringParameterDeclaration(stringParameterDeclaration.let(StringParameterDeclarationProperty.Companion::unwrap)) } /** @@ -69294,7 +72329,7 @@ public open class CfnTemplate( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -69303,7 +72338,7 @@ public open class CfnTemplate( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -69321,14 +72356,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: DropDownControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(DropDownControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -69351,14 +72386,14 @@ public open class CfnTemplate( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** @@ -69681,7 +72716,7 @@ public open class CfnTemplate( * configured to only show values that are valid based on what's selected in other controls. */ override fun cascadingControlConfiguration(cascadingControlConfiguration: IResolvable) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -69690,7 +72725,7 @@ public open class CfnTemplate( */ override fun cascadingControlConfiguration(cascadingControlConfiguration: CascadingControlConfigurationProperty) { - cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty::unwrap)) + cdkBuilder.cascadingControlConfiguration(cascadingControlConfiguration.let(CascadingControlConfigurationProperty.Companion::unwrap)) } /** @@ -69708,14 +72743,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: ListControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(ListControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -69738,14 +72773,14 @@ public open class CfnTemplate( * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: IResolvable) { - cdkBuilder.selectableValues(selectableValues.let(IResolvable::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(IResolvable.Companion::unwrap)) } /** * @param selectableValues A list of selectable values that are used in a control. */ override fun selectableValues(selectableValues: ParameterSelectableValuesProperty) { - cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty::unwrap)) + cdkBuilder.selectableValues(selectableValues.let(ParameterSelectableValuesProperty.Companion::unwrap)) } /** @@ -69936,14 +72971,14 @@ public open class CfnTemplate( * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: IResolvable) { - cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable::unwrap)) + cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(IResolvable.Companion::unwrap)) } /** * @param linkToDataSetColumn The column identifier that fetches values from the data set. */ override fun linkToDataSetColumn(linkToDataSetColumn: ColumnIdentifierProperty) { - cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.linkToDataSetColumn(linkToDataSetColumn.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -70064,7 +73099,7 @@ public open class CfnTemplate( public fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -70073,7 +73108,7 @@ public open class CfnTemplate( public fun maximumValue(): Number /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -70135,12 +73170,12 @@ public open class CfnTemplate( fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty.Builder.() -> Unit) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ public fun maximumValue(maximumValue: Number) /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ public fun minimumValue(minimumValue: Number) @@ -70175,14 +73210,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: SliderControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(SliderControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -70195,14 +73230,14 @@ public open class CfnTemplate( Unit = displayOptions(SliderControlDisplayOptionsProperty(displayOptions)) /** - * @param maximumValue The smaller value that is displayed at the left of the slider. + * @param maximumValue The larger value that is displayed at the right of the slider. */ override fun maximumValue(maximumValue: Number) { cdkBuilder.maximumValue(maximumValue) } /** - * @param minimumValue The larger value that is displayed at the right of the slider. + * @param minimumValue The smaller value that is displayed at the left of the slider. */ override fun minimumValue(minimumValue: Number) { cdkBuilder.minimumValue(minimumValue) @@ -70252,7 +73287,7 @@ public open class CfnTemplate( override fun displayOptions(): Any? = unwrap(this).getDisplayOptions() /** - * The smaller value that is displayed at the left of the slider. + * The larger value that is displayed at the right of the slider. * * Default: - 0 * @@ -70261,7 +73296,7 @@ public open class CfnTemplate( override fun maximumValue(): Number = unwrap(this).getMaximumValue() /** - * The larger value that is displayed at the right of the slider. + * The smaller value that is displayed at the left of the slider. * * Default: - 0 * @@ -70460,14 +73495,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextAreaControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextAreaControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -70684,14 +73719,14 @@ public open class CfnTemplate( * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: IResolvable) { - cdkBuilder.displayOptions(displayOptions.let(IResolvable::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayOptions The display options of a control. */ override fun displayOptions(displayOptions: TextFieldControlDisplayOptionsProperty) { - cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty::unwrap)) + cdkBuilder.displayOptions(displayOptions.let(TextFieldControlDisplayOptionsProperty.Companion::unwrap)) } /** @@ -71081,7 +74116,7 @@ public open class CfnTemplate( * configuration. */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: IResolvable) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -71090,7 +74125,7 @@ public open class CfnTemplate( */ override fun decimalPlacesConfiguration(decimalPlacesConfiguration: DecimalPlacesConfigurationProperty) { - cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty::unwrap)) + cdkBuilder.decimalPlacesConfiguration(decimalPlacesConfiguration.let(DecimalPlacesConfigurationProperty.Companion::unwrap)) } /** @@ -71109,7 +74144,7 @@ public open class CfnTemplate( * configuration. */ override fun negativeValueConfiguration(negativeValueConfiguration: IResolvable) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -71118,7 +74153,7 @@ public open class CfnTemplate( */ override fun negativeValueConfiguration(negativeValueConfiguration: NegativeValueConfigurationProperty) { - cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty::unwrap)) + cdkBuilder.negativeValueConfiguration(negativeValueConfiguration.let(NegativeValueConfigurationProperty.Companion::unwrap)) } /** @@ -71137,7 +74172,7 @@ public open class CfnTemplate( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -71146,7 +74181,7 @@ public open class CfnTemplate( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -71172,7 +74207,7 @@ public open class CfnTemplate( * configuration. */ override fun separatorConfiguration(separatorConfiguration: IResolvable) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -71181,7 +74216,7 @@ public open class CfnTemplate( */ override fun separatorConfiguration(separatorConfiguration: NumericSeparatorConfigurationProperty) { - cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty::unwrap)) + cdkBuilder.separatorConfiguration(separatorConfiguration.let(NumericSeparatorConfigurationProperty.Companion::unwrap)) } /** @@ -71972,14 +75007,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -71994,14 +75029,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -72703,14 +75738,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -72725,14 +75760,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -72907,7 +75942,7 @@ public open class CfnTemplate( * @param category The category (group/color) field wells of a pie chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -72926,7 +75961,7 @@ public open class CfnTemplate( * @param smallMultiples The small multiples field well of a pie chart. */ override fun smallMultiples(smallMultiples: IResolvable) { - cdkBuilder.smallMultiples(smallMultiples.let(IResolvable::unwrap)) + cdkBuilder.smallMultiples(smallMultiples.let(IResolvable.Companion::unwrap)) } /** @@ -72947,7 +75982,7 @@ public open class CfnTemplate( * Values are aggregated based on categories. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -73320,7 +76355,7 @@ public open class CfnTemplate( * chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -73328,7 +76363,7 @@ public open class CfnTemplate( * chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -73346,7 +76381,7 @@ public open class CfnTemplate( * of the visual. */ override fun contributionAnalysisDefaults(contributionAnalysisDefaults: IResolvable) { - cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.contributionAnalysisDefaults(contributionAnalysisDefaults.let(IResolvable.Companion::unwrap)) } /** @@ -73368,14 +76403,14 @@ public open class CfnTemplate( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -73391,7 +76426,7 @@ public open class CfnTemplate( * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: IResolvable) { - cdkBuilder.donutOptions(donutOptions.let(IResolvable::unwrap)) + cdkBuilder.donutOptions(donutOptions.let(IResolvable.Companion::unwrap)) } /** @@ -73399,7 +76434,7 @@ public open class CfnTemplate( * This option determines whether the chart is a pie chart or a donut chart. */ override fun donutOptions(donutOptions: DonutOptionsProperty) { - cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty::unwrap)) + cdkBuilder.donutOptions(donutOptions.let(DonutOptionsProperty.Companion::unwrap)) } /** @@ -73415,14 +76450,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PieChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(PieChartFieldWellsProperty.Companion::unwrap)) } /** @@ -73437,14 +76472,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -73459,14 +76494,14 @@ public open class CfnTemplate( * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: IResolvable) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(IResolvable.Companion::unwrap)) } /** * @param smallMultiplesOptions The small multiples setup for the visual. */ override fun smallMultiplesOptions(smallMultiplesOptions: SmallMultiplesOptionsProperty) { - cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty::unwrap)) + cdkBuilder.smallMultiplesOptions(smallMultiplesOptions.let(SmallMultiplesOptionsProperty.Companion::unwrap)) } /** @@ -73482,14 +76517,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a pie chart. */ override fun sortConfiguration(sortConfiguration: PieChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(PieChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -73505,14 +76540,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -73527,14 +76562,14 @@ public open class CfnTemplate( * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: IResolvable) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param valueLabelOptions The label options for the value that is displayed in a pie chart. */ override fun valueLabelOptions(valueLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.valueLabelOptions(valueLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -73550,14 +76585,14 @@ public open class CfnTemplate( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -73731,7 +76766,7 @@ public open class CfnTemplate( * @param pieChartAggregatedFieldWells The field well configuration of a pie chart. */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: IResolvable) { - cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -73739,7 +76774,7 @@ public open class CfnTemplate( */ override fun pieChartAggregatedFieldWells(pieChartAggregatedFieldWells: PieChartAggregatedFieldWellsProperty) { - cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.pieChartAggregatedFieldWells(pieChartAggregatedFieldWells.let(PieChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -73987,7 +77022,7 @@ public open class CfnTemplate( * chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -73995,7 +77030,7 @@ public open class CfnTemplate( * chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -74012,7 +77047,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -74033,7 +77068,7 @@ public open class CfnTemplate( * that are displayed. */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: IResolvable) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -74042,7 +77077,7 @@ public open class CfnTemplate( */ override fun smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.smallMultiplesLimitConfiguration(smallMultiplesLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -74060,7 +77095,7 @@ public open class CfnTemplate( * @param smallMultiplesSort The sort configuration of the small multiples field. */ override fun smallMultiplesSort(smallMultiplesSort: IResolvable) { - cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable::unwrap)) + cdkBuilder.smallMultiplesSort(smallMultiplesSort.let(IResolvable.Companion::unwrap)) } /** @@ -74311,7 +77346,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -74330,14 +77365,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a pie chart. */ override fun chartConfiguration(chartConfiguration: PieChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(PieChartConfigurationProperty.Companion::unwrap)) } /** @@ -74354,7 +77389,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -74376,14 +77411,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -74398,14 +77433,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -74612,14 +77647,14 @@ public open class CfnTemplate( * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: IResolvable) { - cdkBuilder.sortBy(sortBy.let(IResolvable::unwrap)) + cdkBuilder.sortBy(sortBy.let(IResolvable.Companion::unwrap)) } /** * @param sortBy The sort by field for the field sort options. */ override fun sortBy(sortBy: PivotTableSortByProperty) { - cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty::unwrap)) + cdkBuilder.sortBy(sortBy.let(PivotTableSortByProperty.Companion::unwrap)) } /** @@ -74780,7 +77815,7 @@ public open class CfnTemplate( * Values are grouped by columns fields. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -74802,7 +77837,7 @@ public open class CfnTemplate( * Values are grouped by rows fields. */ override fun rows(rows: IResolvable) { - cdkBuilder.rows(rows.let(IResolvable::unwrap)) + cdkBuilder.rows(rows.let(IResolvable.Companion::unwrap)) } /** @@ -74824,7 +77859,7 @@ public open class CfnTemplate( * Values are aggregated based on rows and columns fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -75083,14 +78118,14 @@ public open class CfnTemplate( * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: IResolvable) { - cdkBuilder.scope(scope.let(IResolvable::unwrap)) + cdkBuilder.scope(scope.let(IResolvable.Companion::unwrap)) } /** * @param scope The scope of the cell for conditional formatting. */ override fun scope(scope: PivotTableConditionalFormattingScopeProperty) { - cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty::unwrap)) + cdkBuilder.scope(scope.let(PivotTableConditionalFormattingScopeProperty.Companion::unwrap)) } /** @@ -75105,7 +78140,7 @@ public open class CfnTemplate( * @param scopes A list of cell scopes for conditional formatting. */ override fun scopes(scopes: IResolvable) { - cdkBuilder.scopes(scopes.let(IResolvable::unwrap)) + cdkBuilder.scopes(scopes.let(IResolvable.Companion::unwrap)) } /** @@ -75124,14 +78159,14 @@ public open class CfnTemplate( * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { - cdkBuilder.textFormat(textFormat.let(IResolvable::unwrap)) + cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { - cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty::unwrap)) + cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** @@ -75322,14 +78357,14 @@ public open class CfnTemplate( * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: IResolvable) { - cdkBuilder.cell(cell.let(IResolvable::unwrap)) + cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a pivot table. */ override fun cell(cell: PivotTableCellConditionalFormattingProperty) { - cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty::unwrap)) + cdkBuilder.cell(cell.let(PivotTableCellConditionalFormattingProperty.Companion::unwrap)) } /** @@ -75503,7 +78538,7 @@ public open class CfnTemplate( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -75817,14 +78852,14 @@ public open class CfnTemplate( * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { - cdkBuilder.fieldOptions(fieldOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a pivot table visual. */ override fun fieldOptions(fieldOptions: PivotTableFieldOptionsProperty) { - cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(PivotTableFieldOptionsProperty.Companion::unwrap)) } /** @@ -75839,14 +78874,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: PivotTableFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(PivotTableFieldWellsProperty.Companion::unwrap)) } /** @@ -75861,7 +78896,7 @@ public open class CfnTemplate( * @param paginatedReportOptions The paginated report options for a pivot table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** @@ -75869,7 +78904,7 @@ public open class CfnTemplate( */ override fun paginatedReportOptions(paginatedReportOptions: PivotTablePaginatedReportOptionsProperty) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(PivotTablePaginatedReportOptionsProperty.Companion::unwrap)) } /** @@ -75886,14 +78921,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `PivotTableVisual` . */ override fun sortConfiguration(sortConfiguration: PivotTableSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(PivotTableSortConfigurationProperty.Companion::unwrap)) } /** @@ -75909,14 +78944,14 @@ public open class CfnTemplate( * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: IResolvable) { - cdkBuilder.tableOptions(tableOptions.let(IResolvable::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a pivot table visual. */ override fun tableOptions(tableOptions: PivotTableOptionsProperty) { - cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(PivotTableOptionsProperty.Companion::unwrap)) } /** @@ -75931,14 +78966,14 @@ public open class CfnTemplate( * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: IResolvable) { - cdkBuilder.totalOptions(totalOptions.let(IResolvable::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a pivot table visual. */ override fun totalOptions(totalOptions: PivotTableTotalOptionsProperty) { - cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(PivotTableTotalOptionsProperty.Companion::unwrap)) } /** @@ -76094,7 +79129,7 @@ public open class CfnTemplate( * @param dataPathList The list of data path values for the data path options. */ override fun dataPathList(dataPathList: IResolvable) { - cdkBuilder.dataPathList(dataPathList.let(IResolvable::unwrap)) + cdkBuilder.dataPathList(dataPathList.let(IResolvable.Companion::unwrap)) } /** @@ -76255,14 +79290,14 @@ public open class CfnTemplate( * @param target A tagged-union object that sets the collapse state. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** * @param target A tagged-union object that sets the collapse state. */ override fun target(target: PivotTableFieldCollapseStateTargetProperty) { - cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty::unwrap)) + cdkBuilder.target(target.let(PivotTableFieldCollapseStateTargetProperty.Companion::unwrap)) } /** @@ -76399,7 +79434,7 @@ public open class CfnTemplate( * Used to set the collapse state. */ override fun fieldDataPathValues(fieldDataPathValues: IResolvable) { - cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable::unwrap)) + cdkBuilder.fieldDataPathValues(fieldDataPathValues.let(IResolvable.Companion::unwrap)) } /** @@ -76736,7 +79771,7 @@ public open class CfnTemplate( * @param collapseStateOptions The collapse state options for the pivot table field options. */ override fun collapseStateOptions(collapseStateOptions: IResolvable) { - cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable::unwrap)) + cdkBuilder.collapseStateOptions(collapseStateOptions.let(IResolvable.Companion::unwrap)) } /** @@ -76756,7 +79791,7 @@ public open class CfnTemplate( * @param dataPathOptions The data path options for the pivot table field options. */ override fun dataPathOptions(dataPathOptions: IResolvable) { - cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable::unwrap)) + cdkBuilder.dataPathOptions(dataPathOptions.let(IResolvable.Companion::unwrap)) } /** @@ -76776,7 +79811,7 @@ public open class CfnTemplate( * @param selectedFieldOptions The selected field options for the pivot table field options. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { - cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** @@ -76981,7 +80016,7 @@ public open class CfnTemplate( * @param pivotTableAggregatedFieldWells The aggregated field well for the pivot table. */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: IResolvable) { - cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -76989,7 +80024,7 @@ public open class CfnTemplate( */ override fun pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells: PivotTableAggregatedFieldWellsProperty) { - cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.pivotTableAggregatedFieldWells(pivotTableAggregatedFieldWells.let(PivotTableAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -77571,14 +80606,14 @@ public open class CfnTemplate( * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: IResolvable) { - cdkBuilder.cellStyle(cellStyle.let(IResolvable::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { - cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -77603,14 +80638,14 @@ public open class CfnTemplate( * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: IResolvable) { - cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable::unwrap)) + cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param columnHeaderStyle The table cell style of the column header. */ override fun columnHeaderStyle(columnHeaderStyle: TableCellStyleProperty) { - cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.columnHeaderStyle(columnHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -77647,7 +80682,7 @@ public open class CfnTemplate( * alternate colors). */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** @@ -77656,7 +80691,7 @@ public open class CfnTemplate( */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** @@ -77674,14 +80709,14 @@ public open class CfnTemplate( * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: IResolvable) { - cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable::unwrap)) + cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowFieldNamesStyle The table cell style of row field names. */ override fun rowFieldNamesStyle(rowFieldNamesStyle: TableCellStyleProperty) { - cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.rowFieldNamesStyle(rowFieldNamesStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -77697,14 +80732,14 @@ public open class CfnTemplate( * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: IResolvable) { - cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable::unwrap)) + cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(IResolvable.Companion::unwrap)) } /** * @param rowHeaderStyle The table cell style of the row headers. */ override fun rowHeaderStyle(rowHeaderStyle: TableCellStyleProperty) { - cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.rowHeaderStyle(rowHeaderStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -77720,7 +80755,7 @@ public open class CfnTemplate( * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: IResolvable) { - cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -77728,7 +80763,7 @@ public open class CfnTemplate( * This option is only applicable when `RowsLayout` is set to `HIERARCHY` . */ override fun rowsLabelOptions(rowsLabelOptions: PivotTableRowsLabelOptionsProperty) { - cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty::unwrap)) + cdkBuilder.rowsLabelOptions(rowsLabelOptions.let(PivotTableRowsLabelOptionsProperty.Companion::unwrap)) } /** @@ -78268,14 +81303,14 @@ public open class CfnTemplate( * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column sort (field id, direction) for the pivot table sort by options. */ override fun column(column: ColumnSortProperty) { - cdkBuilder.column(column.let(ColumnSortProperty::unwrap)) + cdkBuilder.column(column.let(ColumnSortProperty.Companion::unwrap)) } /** @@ -78291,7 +81326,7 @@ public open class CfnTemplate( * options. */ override fun dataPath(dataPath: IResolvable) { - cdkBuilder.dataPath(dataPath.let(IResolvable::unwrap)) + cdkBuilder.dataPath(dataPath.let(IResolvable.Companion::unwrap)) } /** @@ -78299,7 +81334,7 @@ public open class CfnTemplate( * options. */ override fun dataPath(dataPath: DataPathSortProperty) { - cdkBuilder.dataPath(dataPath.let(DataPathSortProperty::unwrap)) + cdkBuilder.dataPath(dataPath.let(DataPathSortProperty.Companion::unwrap)) } /** @@ -78315,14 +81350,14 @@ public open class CfnTemplate( * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: IResolvable) { - cdkBuilder.`field`(`field`.let(IResolvable::unwrap)) + cdkBuilder.`field`(`field`.let(IResolvable.Companion::unwrap)) } /** * @param field The field sort (field id, direction) for the pivot table sort by options. */ override fun `field`(`field`: FieldSortProperty) { - cdkBuilder.`field`(`field`.let(FieldSortProperty::unwrap)) + cdkBuilder.`field`(`field`.let(FieldSortProperty.Companion::unwrap)) } /** @@ -78477,7 +81512,7 @@ public open class CfnTemplate( * @param fieldSortOptions The field sort options for a pivot table sort configuration. */ override fun fieldSortOptions(fieldSortOptions: IResolvable) { - cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldSortOptions(fieldSortOptions.let(IResolvable.Companion::unwrap)) } /** @@ -78653,14 +81688,14 @@ public open class CfnTemplate( * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: IResolvable) { - cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable::unwrap)) + cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnSubtotalOptions The column subtotal options. */ override fun columnSubtotalOptions(columnSubtotalOptions: SubtotalOptionsProperty) { - cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty::unwrap)) + cdkBuilder.columnSubtotalOptions(columnSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** @@ -78676,14 +81711,14 @@ public open class CfnTemplate( * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: IResolvable) { - cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable::unwrap)) + cdkBuilder.columnTotalOptions(columnTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param columnTotalOptions The column total options. */ override fun columnTotalOptions(columnTotalOptions: PivotTotalOptionsProperty) { - cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty::unwrap)) + cdkBuilder.columnTotalOptions(columnTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** @@ -78699,14 +81734,14 @@ public open class CfnTemplate( * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: IResolvable) { - cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable::unwrap)) + cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowSubtotalOptions The row subtotal options. */ override fun rowSubtotalOptions(rowSubtotalOptions: SubtotalOptionsProperty) { - cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty::unwrap)) + cdkBuilder.rowSubtotalOptions(rowSubtotalOptions.let(SubtotalOptionsProperty.Companion::unwrap)) } /** @@ -78722,14 +81757,14 @@ public open class CfnTemplate( * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: IResolvable) { - cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable::unwrap)) + cdkBuilder.rowTotalOptions(rowTotalOptions.let(IResolvable.Companion::unwrap)) } /** * @param rowTotalOptions The row total options. */ override fun rowTotalOptions(rowTotalOptions: PivotTotalOptionsProperty) { - cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty::unwrap)) + cdkBuilder.rowTotalOptions(rowTotalOptions.let(PivotTotalOptionsProperty.Companion::unwrap)) } /** @@ -78963,7 +81998,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -78982,14 +82017,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: PivotTableConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(PivotTableConfigurationProperty.Companion::unwrap)) } /** @@ -79005,7 +82040,7 @@ public open class CfnTemplate( * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -79013,7 +82048,7 @@ public open class CfnTemplate( */ override fun conditionalFormatting(conditionalFormatting: PivotTableConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(PivotTableConditionalFormattingProperty.Companion::unwrap)) } /** @@ -79030,14 +82065,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -79052,14 +82087,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -79516,14 +82551,14 @@ public open class CfnTemplate( * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the total of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -79553,7 +82588,7 @@ public open class CfnTemplate( * @param totalAggregationOptions The total aggregation options for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { - cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -79573,14 +82608,14 @@ public open class CfnTemplate( * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -79602,14 +82637,14 @@ public open class CfnTemplate( * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { - cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the totals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { - cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -79828,7 +82863,7 @@ public open class CfnTemplate( * @param columns The list of columns that define the predefined hierarchy. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -79848,7 +82883,7 @@ public open class CfnTemplate( * predefined hierarchy. */ override fun drillDownFilters(drillDownFilters: IResolvable) { - cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable::unwrap)) + cdkBuilder.drillDownFilters(drillDownFilters.let(IResolvable.Companion::unwrap)) } /** @@ -80096,7 +83131,7 @@ public open class CfnTemplate( * @param category The aggregated field well categories of a radar chart. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -80115,7 +83150,7 @@ public open class CfnTemplate( * @param color The color that are assigned to the aggregated field wells of a radar chart. */ override fun color(color: IResolvable) { - cdkBuilder.color(color.let(IResolvable::unwrap)) + cdkBuilder.color(color.let(IResolvable.Companion::unwrap)) } /** @@ -80134,7 +83169,7 @@ public open class CfnTemplate( * @param values The values that are assigned to the aggregated field wells of a radar chart. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -80636,14 +83671,14 @@ public open class CfnTemplate( * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: IResolvable) { - cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable::unwrap)) + cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(IResolvable.Companion::unwrap)) } /** * @param baseSeriesSettings The base sreies settings of a radar chart. */ override fun baseSeriesSettings(baseSeriesSettings: RadarChartSeriesSettingsProperty) { - cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty::unwrap)) + cdkBuilder.baseSeriesSettings(baseSeriesSettings.let(RadarChartSeriesSettingsProperty.Companion::unwrap)) } /** @@ -80659,14 +83694,14 @@ public open class CfnTemplate( * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: IResolvable) { - cdkBuilder.categoryAxis(categoryAxis.let(IResolvable::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(IResolvable.Companion::unwrap)) } /** * @param categoryAxis The category axis of a radar chart. */ override fun categoryAxis(categoryAxis: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxis(categoryAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -80681,14 +83716,14 @@ public open class CfnTemplate( * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param categoryLabelOptions The category label options of a radar chart. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -80704,14 +83739,14 @@ public open class CfnTemplate( * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: IResolvable) { - cdkBuilder.colorAxis(colorAxis.let(IResolvable::unwrap)) + cdkBuilder.colorAxis(colorAxis.let(IResolvable.Companion::unwrap)) } /** * @param colorAxis The color axis of a radar chart. */ override fun colorAxis(colorAxis: AxisDisplayOptionsProperty) { - cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.colorAxis(colorAxis.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -80726,14 +83761,14 @@ public open class CfnTemplate( * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** * @param colorLabelOptions The color label options of a radar chart. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -80749,14 +83784,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a `RadarChartVisual` . */ override fun fieldWells(fieldWells: RadarChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(RadarChartFieldWellsProperty.Companion::unwrap)) } /** @@ -80771,14 +83806,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -80800,14 +83835,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a `RadarChartVisual` . */ override fun sortConfiguration(sortConfiguration: RadarChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(RadarChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -80830,14 +83865,14 @@ public open class CfnTemplate( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -81035,7 +84070,7 @@ public open class CfnTemplate( * @param radarChartAggregatedFieldWells The aggregated field wells of a radar chart visual. */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: IResolvable) { - cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -81043,7 +84078,7 @@ public open class CfnTemplate( */ override fun radarChartAggregatedFieldWells(radarChartAggregatedFieldWells: RadarChartAggregatedFieldWellsProperty) { - cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.radarChartAggregatedFieldWells(radarChartAggregatedFieldWells.let(RadarChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -81152,14 +84187,14 @@ public open class CfnTemplate( * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: IResolvable) { - cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable::unwrap)) + cdkBuilder.areaStyleSettings(areaStyleSettings.let(IResolvable.Companion::unwrap)) } /** * @param areaStyleSettings The area style settings of a radar chart. */ override fun areaStyleSettings(areaStyleSettings: RadarChartAreaStyleSettingsProperty) { - cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty::unwrap)) + cdkBuilder.areaStyleSettings(areaStyleSettings.let(RadarChartAreaStyleSettingsProperty.Companion::unwrap)) } /** @@ -81396,14 +84431,14 @@ public open class CfnTemplate( * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param categoryItemsLimit The category items limit for a radar chart. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -81419,7 +84454,7 @@ public open class CfnTemplate( * @param categorySort The category sort options of a radar chart. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -81439,14 +84474,14 @@ public open class CfnTemplate( * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: IResolvable) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param colorItemsLimit The color items limit of a radar chart. */ override fun colorItemsLimit(colorItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.colorItemsLimit(colorItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -81462,7 +84497,7 @@ public open class CfnTemplate( * @param colorSort The color sort configuration of a radar chart. */ override fun colorSort(colorSort: IResolvable) { - cdkBuilder.colorSort(colorSort.let(IResolvable::unwrap)) + cdkBuilder.colorSort(colorSort.let(IResolvable.Companion::unwrap)) } /** @@ -81696,7 +84731,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -81715,14 +84750,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: RadarChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(RadarChartConfigurationProperty.Companion::unwrap)) } /** @@ -81739,7 +84774,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -81761,14 +84796,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -81783,14 +84818,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -82219,7 +85254,7 @@ public open class CfnTemplate( * configuration. */ override fun dynamicConfiguration(dynamicConfiguration: IResolvable) { - cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -82228,7 +85263,7 @@ public open class CfnTemplate( */ override fun dynamicConfiguration(dynamicConfiguration: ReferenceLineDynamicDataConfigurationProperty) { - cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty::unwrap)) + cdkBuilder.dynamicConfiguration(dynamicConfiguration.let(ReferenceLineDynamicDataConfigurationProperty.Companion::unwrap)) } /** @@ -82257,7 +85292,7 @@ public open class CfnTemplate( * configuration. */ override fun staticConfiguration(staticConfiguration: IResolvable) { - cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable::unwrap)) + cdkBuilder.staticConfiguration(staticConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -82266,7 +85301,7 @@ public open class CfnTemplate( */ override fun staticConfiguration(staticConfiguration: ReferenceLineStaticDataConfigurationProperty) { - cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty::unwrap)) + cdkBuilder.staticConfiguration(staticConfiguration.let(ReferenceLineStaticDataConfigurationProperty.Companion::unwrap)) } /** @@ -82477,14 +85512,14 @@ public open class CfnTemplate( * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: IResolvable) { - cdkBuilder.calculation(calculation.let(IResolvable::unwrap)) + cdkBuilder.calculation(calculation.let(IResolvable.Companion::unwrap)) } /** * @param calculation The calculation that is used in the dynamic data. */ override fun calculation(calculation: NumericalAggregationFunctionProperty) { - cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty::unwrap)) + cdkBuilder.calculation(calculation.let(NumericalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -82500,14 +85535,14 @@ public open class CfnTemplate( * @param column The column that the dynamic data targets. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the dynamic data targets. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -82523,7 +85558,7 @@ public open class CfnTemplate( * data. */ override fun measureAggregationFunction(measureAggregationFunction: IResolvable) { - cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -82532,7 +85567,7 @@ public open class CfnTemplate( */ override fun measureAggregationFunction(measureAggregationFunction: AggregationFunctionProperty) { - cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty::unwrap)) + cdkBuilder.measureAggregationFunction(measureAggregationFunction.let(AggregationFunctionProperty.Companion::unwrap)) } /** @@ -82847,7 +85882,7 @@ public open class CfnTemplate( * line. */ override fun customLabelConfiguration(customLabelConfiguration: IResolvable) { - cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -82856,7 +85891,7 @@ public open class CfnTemplate( */ override fun customLabelConfiguration(customLabelConfiguration: ReferenceLineCustomLabelConfigurationProperty) { - cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty::unwrap)) + cdkBuilder.customLabelConfiguration(customLabelConfiguration.let(ReferenceLineCustomLabelConfigurationProperty.Companion::unwrap)) } /** @@ -82881,14 +85916,14 @@ public open class CfnTemplate( * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the label in a reference line. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -82916,7 +85951,7 @@ public open class CfnTemplate( * line. */ override fun valueLabelConfiguration(valueLabelConfiguration: IResolvable) { - cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -82925,7 +85960,7 @@ public open class CfnTemplate( */ override fun valueLabelConfiguration(valueLabelConfiguration: ReferenceLineValueLabelConfigurationProperty) { - cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty::unwrap)) + cdkBuilder.valueLabelConfiguration(valueLabelConfiguration.let(ReferenceLineValueLabelConfigurationProperty.Companion::unwrap)) } /** @@ -83278,14 +86313,14 @@ public open class CfnTemplate( * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: IResolvable) { - cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable::unwrap)) + cdkBuilder.dataConfiguration(dataConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param dataConfiguration The data configuration of the reference line. */ override fun dataConfiguration(dataConfiguration: ReferenceLineDataConfigurationProperty) { - cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty::unwrap)) + cdkBuilder.dataConfiguration(dataConfiguration.let(ReferenceLineDataConfigurationProperty.Companion::unwrap)) } /** @@ -83301,14 +86336,14 @@ public open class CfnTemplate( * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: IResolvable) { - cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.labelConfiguration(labelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param labelConfiguration The label configuration of the reference line. */ override fun labelConfiguration(labelConfiguration: ReferenceLineLabelConfigurationProperty) { - cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty::unwrap)) + cdkBuilder.labelConfiguration(labelConfiguration.let(ReferenceLineLabelConfigurationProperty.Companion::unwrap)) } /** @@ -83333,14 +86368,14 @@ public open class CfnTemplate( * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: IResolvable) { - cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.styleConfiguration(styleConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param styleConfiguration The style configuration of the reference line. */ override fun styleConfiguration(styleConfiguration: ReferenceLineStyleConfigurationProperty) { - cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty::unwrap)) + cdkBuilder.styleConfiguration(styleConfiguration.let(ReferenceLineStyleConfigurationProperty.Companion::unwrap)) } /** @@ -83765,14 +86800,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the value label. */ override fun formatConfiguration(formatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -83961,7 +86996,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -83969,7 +87004,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -83986,14 +87021,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -84076,6 +87111,204 @@ public open class CfnTemplate( * .relativeDateType("relativeDateType") * .timeGranularity("timeGranularity") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") @@ -84105,6 +87338,16 @@ public open class CfnTemplate( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-relativedatesfilter.html#cfn-quicksight-template-relativedatesfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The configuration for the exclude period of the filter. * @@ -84211,6 +87454,31 @@ public open class CfnTemplate( @JvmName("5bbb81633a2411cab300b9ce2d3188cc8fa99c1a07007dfca86438a487de50e2") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c2d4da4a29bf8de9c3308bccedbe0bedce3e3040c49b63680fd1ba641c9aa3ef") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ @@ -84289,7 +87557,7 @@ public open class CfnTemplate( * @param anchorDateConfiguration The date configuration of the filter. */ override fun anchorDateConfiguration(anchorDateConfiguration: IResolvable) { - cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -84297,7 +87565,7 @@ public open class CfnTemplate( */ override fun anchorDateConfiguration(anchorDateConfiguration: AnchorDateConfigurationProperty) { - cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty::unwrap)) + cdkBuilder.anchorDateConfiguration(anchorDateConfiguration.let(AnchorDateConfigurationProperty.Companion::unwrap)) } /** @@ -84313,14 +87581,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -84331,11 +87599,43 @@ public open class CfnTemplate( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("c2d4da4a29bf8de9c3308bccedbe0bedce3e3040c49b63680fd1ba641c9aa3ef") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param excludePeriodConfiguration The configuration for the exclude period of the filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -84343,7 +87643,7 @@ public open class CfnTemplate( */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** @@ -84440,6 +87740,16 @@ public open class CfnTemplate( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-relativedatesfilter.html#cfn-quicksight-template-relativedatesfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The configuration for the exclude period of the filter. * @@ -85197,7 +88507,7 @@ public open class CfnTemplate( * @param destination The destination field wells of a sankey diagram. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -85216,7 +88526,7 @@ public open class CfnTemplate( * @param source The source field wells of a sankey diagram. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -85235,7 +88545,7 @@ public open class CfnTemplate( * @param weight The weight field wells of a sankey diagram. */ override fun weight(weight: IResolvable) { - cdkBuilder.weight(weight.let(IResolvable::unwrap)) + cdkBuilder.weight(weight.let(IResolvable.Companion::unwrap)) } /** @@ -85399,14 +88709,14 @@ public open class CfnTemplate( * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a sankey diagram. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -85421,14 +88731,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a sankey diagram. */ override fun fieldWells(fieldWells: SankeyDiagramFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(SankeyDiagramFieldWellsProperty.Companion::unwrap)) } /** @@ -85443,14 +88753,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a sankey diagram. */ override fun sortConfiguration(sortConfiguration: SankeyDiagramSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(SankeyDiagramSortConfigurationProperty.Companion::unwrap)) } /** @@ -85566,7 +88876,7 @@ public open class CfnTemplate( */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: IResolvable) { - cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -85574,7 +88884,7 @@ public open class CfnTemplate( */ override fun sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells: SankeyDiagramAggregatedFieldWellsProperty) { - cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.sankeyDiagramAggregatedFieldWells(sankeyDiagramAggregatedFieldWells.let(SankeyDiagramAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -85770,7 +89080,7 @@ public open class CfnTemplate( * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: IResolvable) { - cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -85778,7 +89088,7 @@ public open class CfnTemplate( * displayed in a sankey diagram. */ override fun destinationItemsLimit(destinationItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.destinationItemsLimit(destinationItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -85796,7 +89106,7 @@ public open class CfnTemplate( * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: IResolvable) { - cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -85804,7 +89114,7 @@ public open class CfnTemplate( * sankey diagram. */ override fun sourceItemsLimit(sourceItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.sourceItemsLimit(sourceItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -85821,7 +89131,7 @@ public open class CfnTemplate( * @param weightSort The sort configuration of the weight fields. */ override fun weightSort(weightSort: IResolvable) { - cdkBuilder.weightSort(weightSort.let(IResolvable::unwrap)) + cdkBuilder.weightSort(weightSort.let(IResolvable.Companion::unwrap)) } /** @@ -86028,7 +89338,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -86047,14 +89357,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration of a sankey diagram. */ override fun chartConfiguration(chartConfiguration: SankeyDiagramChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(SankeyDiagramChartConfigurationProperty.Companion::unwrap)) } /** @@ -86070,14 +89380,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -86092,14 +89402,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -86331,7 +89641,7 @@ public open class CfnTemplate( * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -86350,7 +89660,7 @@ public open class CfnTemplate( * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { - cdkBuilder.label(label.let(IResolvable::unwrap)) + cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** @@ -86369,7 +89679,7 @@ public open class CfnTemplate( * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -86389,7 +89699,7 @@ public open class CfnTemplate( * The x-axis is aggregated by category. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** @@ -86411,7 +89721,7 @@ public open class CfnTemplate( * The y-axis is aggregated by category. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** @@ -86758,14 +90068,14 @@ public open class CfnTemplate( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -86780,14 +90090,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: ScatterPlotFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(ScatterPlotFieldWellsProperty.Companion::unwrap)) } /** @@ -86802,14 +90112,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -86824,14 +90134,14 @@ public open class CfnTemplate( * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The legend display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -86846,14 +90156,14 @@ public open class CfnTemplate( * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The palette (chart color) display setup of the visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -86869,7 +90179,7 @@ public open class CfnTemplate( * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: IResolvable) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -86877,7 +90187,7 @@ public open class CfnTemplate( * step) of the scatter plot's x-axis. */ override fun xAxisDisplayOptions(xAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.xAxisDisplayOptions(xAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -86895,7 +90205,7 @@ public open class CfnTemplate( * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: IResolvable) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -86903,7 +90213,7 @@ public open class CfnTemplate( * visibility) of the scatter plot's x-axis. */ override fun xAxisLabelOptions(xAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.xAxisLabelOptions(xAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -86921,7 +90231,7 @@ public open class CfnTemplate( * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: IResolvable) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -86929,7 +90239,7 @@ public open class CfnTemplate( * step) of the scatter plot's y-axis. */ override fun yAxisDisplayOptions(yAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.yAxisDisplayOptions(yAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -86947,7 +90257,7 @@ public open class CfnTemplate( * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: IResolvable) { - cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -86955,7 +90265,7 @@ public open class CfnTemplate( * visibility) of the scatter plot's y-axis. */ override fun yAxisLabelOptions(yAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.yAxisLabelOptions(yAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -87168,7 +90478,7 @@ public open class CfnTemplate( */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: IResolvable) { - cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -87179,7 +90489,7 @@ public open class CfnTemplate( */ override fun scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells: ScatterPlotCategoricallyAggregatedFieldWellsProperty) { - cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.scatterPlotCategoricallyAggregatedFieldWells(scatterPlotCategoricallyAggregatedFieldWells.let(ScatterPlotCategoricallyAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -87201,7 +90511,7 @@ public open class CfnTemplate( */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: IResolvable) { - cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -87210,7 +90520,7 @@ public open class CfnTemplate( */ override fun scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells: ScatterPlotUnaggregatedFieldWellsProperty) { - cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty::unwrap)) + cdkBuilder.scatterPlotUnaggregatedFieldWells(scatterPlotUnaggregatedFieldWells.let(ScatterPlotUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -87419,7 +90729,7 @@ public open class CfnTemplate( * @param category The category field well of a scatter plot. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** @@ -87438,7 +90748,7 @@ public open class CfnTemplate( * @param label The label field well of a scatter plot. */ override fun label(label: IResolvable) { - cdkBuilder.label(label.let(IResolvable::unwrap)) + cdkBuilder.label(label.let(IResolvable.Companion::unwrap)) } /** @@ -87457,7 +90767,7 @@ public open class CfnTemplate( * @param size The size field well of a scatter plot. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -87477,7 +90787,7 @@ public open class CfnTemplate( * The x-axis is a dimension field and cannot be aggregated. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** @@ -87499,7 +90809,7 @@ public open class CfnTemplate( * The y-axis is a dimension field and cannot be aggregated. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** @@ -87750,7 +91060,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -87769,14 +91079,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: ScatterPlotConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(ScatterPlotConfigurationProperty.Companion::unwrap)) } /** @@ -87793,7 +91103,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -87815,14 +91125,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -87837,14 +91147,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -88017,14 +91327,14 @@ public open class CfnTemplate( * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: IResolvable) { - cdkBuilder.visibleRange(visibleRange.let(IResolvable::unwrap)) + cdkBuilder.visibleRange(visibleRange.let(IResolvable.Companion::unwrap)) } /** * @param visibleRange The visibility range for the data zoom scroll bar. */ override fun visibleRange(visibleRange: VisibleRangeOptionsProperty) { - cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty::unwrap)) + cdkBuilder.visibleRange(visibleRange.let(VisibleRangeOptionsProperty.Companion::unwrap)) } /** @@ -88311,7 +91621,7 @@ public open class CfnTemplate( * @param paperCanvasSizeOptions The options for a paper canvas of a section-based layout. */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: IResolvable) { - cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -88319,7 +91629,7 @@ public open class CfnTemplate( */ override fun paperCanvasSizeOptions(paperCanvasSizeOptions: SectionBasedLayoutPaperCanvasSizeOptionsProperty) { - cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.paperCanvasSizeOptions(paperCanvasSizeOptions.let(SectionBasedLayoutPaperCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -88654,7 +91964,7 @@ public open class CfnTemplate( * @param bodySections A list of body section configurations. */ override fun bodySections(bodySections: IResolvable) { - cdkBuilder.bodySections(bodySections.let(IResolvable::unwrap)) + cdkBuilder.bodySections(bodySections.let(IResolvable.Companion::unwrap)) } /** @@ -88674,7 +91984,7 @@ public open class CfnTemplate( * @param canvasSizeOptions The options for the canvas of a section-based layout. */ override fun canvasSizeOptions(canvasSizeOptions: IResolvable) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(IResolvable.Companion::unwrap)) } /** @@ -88682,7 +91992,7 @@ public open class CfnTemplate( */ override fun canvasSizeOptions(canvasSizeOptions: SectionBasedLayoutCanvasSizeOptionsProperty) { - cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty::unwrap)) + cdkBuilder.canvasSizeOptions(canvasSizeOptions.let(SectionBasedLayoutCanvasSizeOptionsProperty.Companion::unwrap)) } /** @@ -88698,7 +92008,7 @@ public open class CfnTemplate( * @param footerSections A list of footer section configurations. */ override fun footerSections(footerSections: IResolvable) { - cdkBuilder.footerSections(footerSections.let(IResolvable::unwrap)) + cdkBuilder.footerSections(footerSections.let(IResolvable.Companion::unwrap)) } /** @@ -88718,7 +92028,7 @@ public open class CfnTemplate( * @param headerSections A list of header section configurations. */ override fun headerSections(headerSections: IResolvable) { - cdkBuilder.headerSections(headerSections.let(IResolvable::unwrap)) + cdkBuilder.headerSections(headerSections.let(IResolvable.Companion::unwrap)) } /** @@ -88891,7 +92201,7 @@ public open class CfnTemplate( * left, and right edges. */ override fun paperMargin(paperMargin: IResolvable) { - cdkBuilder.paperMargin(paperMargin.let(IResolvable::unwrap)) + cdkBuilder.paperMargin(paperMargin.let(IResolvable.Companion::unwrap)) } /** @@ -88899,7 +92209,7 @@ public open class CfnTemplate( * left, and right edges. */ override fun paperMargin(paperMargin: SpacingProperty) { - cdkBuilder.paperMargin(paperMargin.let(SpacingProperty::unwrap)) + cdkBuilder.paperMargin(paperMargin.let(SpacingProperty.Companion::unwrap)) } /** @@ -89072,14 +92382,14 @@ public open class CfnTemplate( * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: IResolvable) { - cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(IResolvable.Companion::unwrap)) } /** * @param freeFormLayout The free-form layout configuration of a section. */ override fun freeFormLayout(freeFormLayout: FreeFormSectionLayoutConfigurationProperty) { - cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty::unwrap)) + cdkBuilder.freeFormLayout(freeFormLayout.let(FreeFormSectionLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -89186,14 +92496,14 @@ public open class CfnTemplate( * @param after The configuration of a page break after a section. */ override fun after(after: IResolvable) { - cdkBuilder.after(after.let(IResolvable::unwrap)) + cdkBuilder.after(after.let(IResolvable.Companion::unwrap)) } /** * @param after The configuration of a page break after a section. */ override fun after(after: SectionAfterPageBreakProperty) { - cdkBuilder.after(after.let(SectionAfterPageBreakProperty::unwrap)) + cdkBuilder.after(after.let(SectionAfterPageBreakProperty.Companion::unwrap)) } /** @@ -89337,7 +92647,7 @@ public open class CfnTemplate( * There is no padding by default. */ override fun padding(padding: IResolvable) { - cdkBuilder.padding(padding.let(IResolvable::unwrap)) + cdkBuilder.padding(padding.let(IResolvable.Companion::unwrap)) } /** @@ -89346,7 +92656,7 @@ public open class CfnTemplate( * There is no padding by default. */ override fun padding(padding: SpacingProperty) { - cdkBuilder.padding(padding.let(SpacingProperty::unwrap)) + cdkBuilder.padding(padding.let(SpacingProperty.Companion::unwrap)) } /** @@ -89477,7 +92787,7 @@ public open class CfnTemplate( * visuals that the filter is applied to. */ override fun sheetVisualScopingConfigurations(sheetVisualScopingConfigurations: IResolvable) { - cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable::unwrap)) + cdkBuilder.sheetVisualScopingConfigurations(sheetVisualScopingConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -89653,14 +92963,14 @@ public open class CfnTemplate( * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: IResolvable) { - cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable::unwrap)) + cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param dataFieldSeriesItem The data field series item configuration of a line chart. */ override fun dataFieldSeriesItem(dataFieldSeriesItem: DataFieldSeriesItemProperty) { - cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty::unwrap)) + cdkBuilder.dataFieldSeriesItem(dataFieldSeriesItem.let(DataFieldSeriesItemProperty.Companion::unwrap)) } /** @@ -89676,14 +92986,14 @@ public open class CfnTemplate( * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: IResolvable) { - cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable::unwrap)) + cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldSeriesItem The field series item configuration of a line chart. */ override fun fieldSeriesItem(fieldSeriesItem: FieldSeriesItemProperty) { - cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty::unwrap)) + cdkBuilder.fieldSeriesItem(fieldSeriesItem.let(FieldSeriesItemProperty.Companion::unwrap)) } /** @@ -89830,14 +93140,14 @@ public open class CfnTemplate( * @param value the value to be set. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value the value to be set. */ override fun `value`(`value`: DestinationParameterValueConfigurationProperty) { - cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty::unwrap)) + cdkBuilder.`value`(`value`.let(DestinationParameterValueConfigurationProperty.Companion::unwrap)) } /** @@ -89969,7 +93279,7 @@ public open class CfnTemplate( * filled map visual. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** @@ -89977,7 +93287,7 @@ public open class CfnTemplate( * filled map visual. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -90215,7 +93525,7 @@ public open class CfnTemplate( * sheet control. */ override fun gridLayout(gridLayout: IResolvable) { - cdkBuilder.gridLayout(gridLayout.let(IResolvable::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(IResolvable.Companion::unwrap)) } /** @@ -90223,7 +93533,7 @@ public open class CfnTemplate( * sheet control. */ override fun gridLayout(gridLayout: GridLayoutConfigurationProperty) { - cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty::unwrap)) + cdkBuilder.gridLayout(gridLayout.let(GridLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -90352,7 +93662,7 @@ public open class CfnTemplate( * of sheet control. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -90360,7 +93670,7 @@ public open class CfnTemplate( * of sheet control. */ override fun configuration(configuration: SheetControlLayoutConfigurationProperty) { - cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(SheetControlLayoutConfigurationProperty.Companion::unwrap)) } /** @@ -90701,7 +94011,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun filterControls(filterControls: IResolvable) { - cdkBuilder.filterControls(filterControls.let(IResolvable::unwrap)) + cdkBuilder.filterControls(filterControls.let(IResolvable.Companion::unwrap)) } /** @@ -90730,7 +94040,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun layouts(layouts: IResolvable) { - cdkBuilder.layouts(layouts.let(IResolvable::unwrap)) + cdkBuilder.layouts(layouts.let(IResolvable.Companion::unwrap)) } /** @@ -90766,7 +94076,7 @@ public open class CfnTemplate( * the *Amazon QuickSight User Guide* . */ override fun parameterControls(parameterControls: IResolvable) { - cdkBuilder.parameterControls(parameterControls.let(IResolvable::unwrap)) + cdkBuilder.parameterControls(parameterControls.let(IResolvable.Companion::unwrap)) } /** @@ -90792,7 +94102,7 @@ public open class CfnTemplate( * @param sheetControlLayouts The control layouts of the sheet. */ override fun sheetControlLayouts(sheetControlLayouts: IResolvable) { - cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable::unwrap)) + cdkBuilder.sheetControlLayouts(sheetControlLayouts.let(IResolvable.Companion::unwrap)) } /** @@ -90819,7 +94129,7 @@ public open class CfnTemplate( * @param textBoxes The text boxes that are on a sheet. */ override fun textBoxes(textBoxes: IResolvable) { - cdkBuilder.textBoxes(textBoxes.let(IResolvable::unwrap)) + cdkBuilder.textBoxes(textBoxes.let(IResolvable.Companion::unwrap)) } /** @@ -90846,7 +94156,7 @@ public open class CfnTemplate( * Visual placement is determined by the layout of the sheet. */ override fun visuals(visuals: IResolvable) { - cdkBuilder.visuals(visuals.let(IResolvable::unwrap)) + cdkBuilder.visuals(visuals.let(IResolvable.Companion::unwrap)) } /** @@ -91161,7 +94471,7 @@ public open class CfnTemplate( * */ override fun configurationOverrides(configurationOverrides: IResolvable) { - cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable::unwrap)) + cdkBuilder.configurationOverrides(configurationOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -91170,7 +94480,7 @@ public open class CfnTemplate( */ override fun configurationOverrides(configurationOverrides: SheetElementConfigurationOverridesProperty) { - cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty::unwrap)) + cdkBuilder.configurationOverrides(configurationOverrides.let(SheetElementConfigurationOverridesProperty.Companion::unwrap)) } /** @@ -91929,7 +95239,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -91937,7 +95247,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -91954,14 +95264,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -92338,14 +95648,14 @@ public open class CfnTemplate( * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: IResolvable) { - cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable::unwrap)) + cdkBuilder.panelConfiguration(panelConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param panelConfiguration Configures the display options for each small multiples panel. */ override fun panelConfiguration(panelConfiguration: PanelConfigurationProperty) { - cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty::unwrap)) + cdkBuilder.panelConfiguration(panelConfiguration.let(PanelConfigurationProperty.Companion::unwrap)) } /** @@ -92361,14 +95671,14 @@ public open class CfnTemplate( * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: IResolvable) { - cdkBuilder.xAxis(xAxis.let(IResolvable::unwrap)) + cdkBuilder.xAxis(xAxis.let(IResolvable.Companion::unwrap)) } /** * @param xAxis The properties of a small multiples X axis. */ override fun xAxis(xAxis: SmallMultiplesAxisPropertiesProperty) { - cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty::unwrap)) + cdkBuilder.xAxis(xAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** @@ -92383,14 +95693,14 @@ public open class CfnTemplate( * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: IResolvable) { - cdkBuilder.yAxis(yAxis.let(IResolvable::unwrap)) + cdkBuilder.yAxis(yAxis.let(IResolvable.Companion::unwrap)) } /** * @param yAxis The properties of a small multiples Y axis. */ override fun yAxis(yAxis: SmallMultiplesAxisPropertiesProperty) { - cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty::unwrap)) + cdkBuilder.yAxis(yAxis.let(SmallMultiplesAxisPropertiesProperty.Companion::unwrap)) } /** @@ -92726,7 +96036,7 @@ public open class CfnTemplate( * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: IResolvable) { - cdkBuilder.dynamicValue(dynamicValue.let(IResolvable::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(IResolvable.Companion::unwrap)) } /** @@ -92734,7 +96044,7 @@ public open class CfnTemplate( * Different defaults displayed according to users, groups, and values mapping. */ override fun dynamicValue(dynamicValue: DynamicDefaultValueProperty) { - cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty::unwrap)) + cdkBuilder.dynamicValue(dynamicValue.let(DynamicDefaultValueProperty.Companion::unwrap)) } /** @@ -92959,7 +96269,7 @@ public open class CfnTemplate( * configuration. */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: IResolvable) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -92968,7 +96278,7 @@ public open class CfnTemplate( */ override fun nullValueFormatConfiguration(nullValueFormatConfiguration: NullValueFormatConfigurationProperty) { - cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty::unwrap)) + cdkBuilder.nullValueFormatConfiguration(nullValueFormatConfiguration.let(NullValueFormatConfigurationProperty.Companion::unwrap)) } /** @@ -92986,7 +96296,7 @@ public open class CfnTemplate( * @param numericFormatConfiguration The formatting configuration for numeric strings. */ override fun numericFormatConfiguration(numericFormatConfiguration: IResolvable) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -92994,7 +96304,7 @@ public open class CfnTemplate( */ override fun numericFormatConfiguration(numericFormatConfiguration: NumericFormatConfigurationProperty) { - cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty::unwrap)) + cdkBuilder.numericFormatConfiguration(numericFormatConfiguration.let(NumericFormatConfigurationProperty.Companion::unwrap)) } /** @@ -93220,7 +96530,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: IResolvable) { - cdkBuilder.defaultValues(defaultValues.let(IResolvable::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(IResolvable.Companion::unwrap)) } /** @@ -93229,7 +96539,7 @@ public open class CfnTemplate( * provided. */ override fun defaultValues(defaultValues: StringDefaultValuesProperty) { - cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty::unwrap)) + cdkBuilder.defaultValues(defaultValues.let(StringDefaultValuesProperty.Companion::unwrap)) } /** @@ -93246,7 +96556,7 @@ public open class CfnTemplate( * @param mappedDataSetParameters the value to be set. */ override fun mappedDataSetParameters(mappedDataSetParameters: IResolvable) { - cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable::unwrap)) + cdkBuilder.mappedDataSetParameters(mappedDataSetParameters.let(IResolvable.Companion::unwrap)) } /** @@ -93282,7 +96592,7 @@ public open class CfnTemplate( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: IResolvable) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(IResolvable.Companion::unwrap)) } /** @@ -93290,7 +96600,7 @@ public open class CfnTemplate( * parameter when a value has not been set. */ override fun valueWhenUnset(valueWhenUnset: StringValueWhenUnsetConfigurationProperty) { - cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty::unwrap)) + cdkBuilder.valueWhenUnset(valueWhenUnset.let(StringValueWhenUnsetConfigurationProperty.Companion::unwrap)) } /** @@ -93873,7 +97183,7 @@ public open class CfnTemplate( * @param fieldLevelOptions The optional configuration of subtotal cells. */ override fun fieldLevelOptions(fieldLevelOptions: IResolvable) { - cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldLevelOptions(fieldLevelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -93893,14 +97203,14 @@ public open class CfnTemplate( * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: IResolvable) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param metricHeaderCellStyle The cell styling options for the subtotals of header cells. */ override fun metricHeaderCellStyle(metricHeaderCellStyle: TableCellStyleProperty) { - cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.metricHeaderCellStyle(metricHeaderCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -93916,7 +97226,7 @@ public open class CfnTemplate( * @param styleTargets The style targets options for subtotals. */ override fun styleTargets(styleTargets: IResolvable) { - cdkBuilder.styleTargets(styleTargets.let(IResolvable::unwrap)) + cdkBuilder.styleTargets(styleTargets.let(IResolvable.Companion::unwrap)) } /** @@ -93936,14 +97246,14 @@ public open class CfnTemplate( * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle The cell styling options for the subtotal cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -93965,14 +97275,14 @@ public open class CfnTemplate( * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: IResolvable) { - cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param valueCellStyle The cell styling options for the subtotals of value cells. */ override fun valueCellStyle(valueCellStyle: TableCellStyleProperty) { - cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.valueCellStyle(valueCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -94638,7 +97948,7 @@ public open class CfnTemplate( * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -94660,7 +97970,7 @@ public open class CfnTemplate( * Values are aggregated based on group by fields. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -94994,14 +98304,14 @@ public open class CfnTemplate( * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: IResolvable) { - cdkBuilder.textFormat(textFormat.let(IResolvable::unwrap)) + cdkBuilder.textFormat(textFormat.let(IResolvable.Companion::unwrap)) } /** * @param textFormat The text format of the cell for conditional formatting. */ override fun textFormat(textFormat: TextConditionalFormatProperty) { - cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty::unwrap)) + cdkBuilder.textFormat(textFormat.let(TextConditionalFormatProperty.Companion::unwrap)) } /** @@ -95358,14 +98668,14 @@ public open class CfnTemplate( * @param border The borders for the table cells. */ override fun border(border: IResolvable) { - cdkBuilder.border(border.let(IResolvable::unwrap)) + cdkBuilder.border(border.let(IResolvable.Companion::unwrap)) } /** * @param border The borders for the table cells. */ override fun border(border: GlobalTableBorderOptionsProperty) { - cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty::unwrap)) + cdkBuilder.border(border.let(GlobalTableBorderOptionsProperty.Companion::unwrap)) } /** @@ -95380,14 +98690,14 @@ public open class CfnTemplate( * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param fontConfiguration The font configuration of the table cells. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -95699,14 +99009,14 @@ public open class CfnTemplate( * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: IResolvable) { - cdkBuilder.cell(cell.let(IResolvable::unwrap)) + cdkBuilder.cell(cell.let(IResolvable.Companion::unwrap)) } /** * @param cell The cell conditional formatting option for a table. */ override fun cell(cell: TableCellConditionalFormattingProperty) { - cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty::unwrap)) + cdkBuilder.cell(cell.let(TableCellConditionalFormattingProperty.Companion::unwrap)) } /** @@ -95721,14 +99031,14 @@ public open class CfnTemplate( * @param row The row conditional formatting option for a table. */ override fun row(row: IResolvable) { - cdkBuilder.row(row.let(IResolvable::unwrap)) + cdkBuilder.row(row.let(IResolvable.Companion::unwrap)) } /** * @param row The row conditional formatting option for a table. */ override fun row(row: TableRowConditionalFormattingProperty) { - cdkBuilder.row(row.let(TableRowConditionalFormattingProperty::unwrap)) + cdkBuilder.row(row.let(TableRowConditionalFormattingProperty.Companion::unwrap)) } /** @@ -95941,7 +99251,7 @@ public open class CfnTemplate( * . */ override fun conditionalFormattingOptions(conditionalFormattingOptions: IResolvable) { - cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormattingOptions(conditionalFormattingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -96193,14 +99503,14 @@ public open class CfnTemplate( * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: IResolvable) { - cdkBuilder.fieldOptions(fieldOptions.let(IResolvable::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param fieldOptions The field options for a table visual. */ override fun fieldOptions(fieldOptions: TableFieldOptionsProperty) { - cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty::unwrap)) + cdkBuilder.fieldOptions(fieldOptions.let(TableFieldOptionsProperty.Companion::unwrap)) } /** @@ -96215,14 +99525,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TableFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(TableFieldWellsProperty.Companion::unwrap)) } /** @@ -96237,7 +99547,7 @@ public open class CfnTemplate( * @param paginatedReportOptions The paginated report options for a table visual. */ override fun paginatedReportOptions(paginatedReportOptions: IResolvable) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(IResolvable.Companion::unwrap)) } /** @@ -96245,7 +99555,7 @@ public open class CfnTemplate( */ override fun paginatedReportOptions(paginatedReportOptions: TablePaginatedReportOptionsProperty) { - cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty::unwrap)) + cdkBuilder.paginatedReportOptions(paginatedReportOptions.let(TablePaginatedReportOptionsProperty.Companion::unwrap)) } /** @@ -96261,14 +99571,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration for a `TableVisual` . */ override fun sortConfiguration(sortConfiguration: TableSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(TableSortConfigurationProperty.Companion::unwrap)) } /** @@ -96285,7 +99595,7 @@ public open class CfnTemplate( * chart. */ override fun tableInlineVisualizations(tableInlineVisualizations: IResolvable) { - cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable::unwrap)) + cdkBuilder.tableInlineVisualizations(tableInlineVisualizations.let(IResolvable.Companion::unwrap)) } /** @@ -96307,14 +99617,14 @@ public open class CfnTemplate( * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: IResolvable) { - cdkBuilder.tableOptions(tableOptions.let(IResolvable::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(IResolvable.Companion::unwrap)) } /** * @param tableOptions The table options for a table visual. */ override fun tableOptions(tableOptions: TableOptionsProperty) { - cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty::unwrap)) + cdkBuilder.tableOptions(tableOptions.let(TableOptionsProperty.Companion::unwrap)) } /** @@ -96329,14 +99639,14 @@ public open class CfnTemplate( * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: IResolvable) { - cdkBuilder.totalOptions(totalOptions.let(IResolvable::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(IResolvable.Companion::unwrap)) } /** * @param totalOptions The total options for a table visual. */ override fun totalOptions(totalOptions: TotalOptionsProperty) { - cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty::unwrap)) + cdkBuilder.totalOptions(totalOptions.let(TotalOptionsProperty.Companion::unwrap)) } /** @@ -96593,7 +99903,7 @@ public open class CfnTemplate( * URL link content. */ override fun fontConfiguration(fontConfiguration: IResolvable) { - cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -96601,7 +99911,7 @@ public open class CfnTemplate( * URL link content. */ override fun fontConfiguration(fontConfiguration: FontConfigurationProperty) { - cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty::unwrap)) + cdkBuilder.fontConfiguration(fontConfiguration.let(FontConfigurationProperty.Companion::unwrap)) } /** @@ -96724,14 +100034,14 @@ public open class CfnTemplate( * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: IResolvable) { - cdkBuilder.sizingOptions(sizingOptions.let(IResolvable::unwrap)) + cdkBuilder.sizingOptions(sizingOptions.let(IResolvable.Companion::unwrap)) } /** * @param sizingOptions The sizing options for the table image configuration. */ override fun sizingOptions(sizingOptions: TableCellImageSizingConfigurationProperty) { - cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty::unwrap)) + cdkBuilder.sizingOptions(sizingOptions.let(TableCellImageSizingConfigurationProperty.Companion::unwrap)) } /** @@ -96869,14 +100179,14 @@ public open class CfnTemplate( * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** * @param content The URL content (text, icon) for the table link configuration. */ override fun content(content: TableFieldLinkContentConfigurationProperty) { - cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty::unwrap)) + cdkBuilder.content(content.let(TableFieldLinkContentConfigurationProperty.Companion::unwrap)) } /** @@ -97041,14 +100351,14 @@ public open class CfnTemplate( * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: IResolvable) { - cdkBuilder.customIconContent(customIconContent.let(IResolvable::unwrap)) + cdkBuilder.customIconContent(customIconContent.let(IResolvable.Companion::unwrap)) } /** * @param customIconContent The custom icon content for the table link content configuration. */ override fun customIconContent(customIconContent: TableFieldCustomIconContentProperty) { - cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty::unwrap)) + cdkBuilder.customIconContent(customIconContent.let(TableFieldCustomIconContentProperty.Companion::unwrap)) } /** @@ -97065,7 +100375,7 @@ public open class CfnTemplate( * link content configuration. */ override fun customTextContent(customTextContent: IResolvable) { - cdkBuilder.customTextContent(customTextContent.let(IResolvable::unwrap)) + cdkBuilder.customTextContent(customTextContent.let(IResolvable.Companion::unwrap)) } /** @@ -97073,7 +100383,7 @@ public open class CfnTemplate( * link content configuration. */ override fun customTextContent(customTextContent: TableFieldCustomTextContentProperty) { - cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty::unwrap)) + cdkBuilder.customTextContent(customTextContent.let(TableFieldCustomTextContentProperty.Companion::unwrap)) } /** @@ -97281,14 +100591,14 @@ public open class CfnTemplate( * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: IResolvable) { - cdkBuilder.urlStyling(urlStyling.let(IResolvable::unwrap)) + cdkBuilder.urlStyling(urlStyling.let(IResolvable.Companion::unwrap)) } /** * @param urlStyling The URL configuration for a table field. */ override fun urlStyling(urlStyling: TableFieldURLConfigurationProperty) { - cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty::unwrap)) + cdkBuilder.urlStyling(urlStyling.let(TableFieldURLConfigurationProperty.Companion::unwrap)) } /** @@ -97527,14 +100837,14 @@ public open class CfnTemplate( * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: IResolvable) { - cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(IResolvable.Companion::unwrap)) } /** * @param pinnedFieldOptions The settings for the pinned columns of a table visual. */ override fun pinnedFieldOptions(pinnedFieldOptions: TablePinnedFieldOptionsProperty) { - cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty::unwrap)) + cdkBuilder.pinnedFieldOptions(pinnedFieldOptions.let(TablePinnedFieldOptionsProperty.Companion::unwrap)) } /** @@ -97550,7 +100860,7 @@ public open class CfnTemplate( * @param selectedFieldOptions The field options to be configured to a table. */ override fun selectedFieldOptions(selectedFieldOptions: IResolvable) { - cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable::unwrap)) + cdkBuilder.selectedFieldOptions(selectedFieldOptions.let(IResolvable.Companion::unwrap)) } /** @@ -97725,14 +101035,14 @@ public open class CfnTemplate( * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: IResolvable) { - cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param imageConfiguration The image configuration of a table field URL. */ override fun imageConfiguration(imageConfiguration: TableFieldImageConfigurationProperty) { - cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty::unwrap)) + cdkBuilder.imageConfiguration(imageConfiguration.let(TableFieldImageConfigurationProperty.Companion::unwrap)) } /** @@ -97748,14 +101058,14 @@ public open class CfnTemplate( * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: IResolvable) { - cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param linkConfiguration The link configuration of a table field URL. */ override fun linkConfiguration(linkConfiguration: TableFieldLinkConfigurationProperty) { - cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty::unwrap)) + cdkBuilder.linkConfiguration(linkConfiguration.let(TableFieldLinkConfigurationProperty.Companion::unwrap)) } /** @@ -97890,7 +101200,7 @@ public open class CfnTemplate( * @param tableAggregatedFieldWells The aggregated field well for the table. */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: IResolvable) { - cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -97898,7 +101208,7 @@ public open class CfnTemplate( */ override fun tableAggregatedFieldWells(tableAggregatedFieldWells: TableAggregatedFieldWellsProperty) { - cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.tableAggregatedFieldWells(tableAggregatedFieldWells.let(TableAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -97915,7 +101225,7 @@ public open class CfnTemplate( * @param tableUnaggregatedFieldWells The unaggregated field well for the table. */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: IResolvable) { - cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -97923,7 +101233,7 @@ public open class CfnTemplate( */ override fun tableUnaggregatedFieldWells(tableUnaggregatedFieldWells: TableUnaggregatedFieldWellsProperty) { - cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty::unwrap)) + cdkBuilder.tableUnaggregatedFieldWells(tableUnaggregatedFieldWells.let(TableUnaggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -98045,7 +101355,7 @@ public open class CfnTemplate( * chart. */ override fun dataBars(dataBars: IResolvable) { - cdkBuilder.dataBars(dataBars.let(IResolvable::unwrap)) + cdkBuilder.dataBars(dataBars.let(IResolvable.Companion::unwrap)) } /** @@ -98053,7 +101363,7 @@ public open class CfnTemplate( * chart. */ override fun dataBars(dataBars: DataBarsOptionsProperty) { - cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty::unwrap)) + cdkBuilder.dataBars(dataBars.let(DataBarsOptionsProperty.Companion::unwrap)) } /** @@ -98341,14 +101651,14 @@ public open class CfnTemplate( * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: IResolvable) { - cdkBuilder.cellStyle(cellStyle.let(IResolvable::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(IResolvable.Companion::unwrap)) } /** * @param cellStyle The table cell style of table cells. */ override fun cellStyle(cellStyle: TableCellStyleProperty) { - cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.cellStyle(cellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -98363,14 +101673,14 @@ public open class CfnTemplate( * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: IResolvable) { - cdkBuilder.headerStyle(headerStyle.let(IResolvable::unwrap)) + cdkBuilder.headerStyle(headerStyle.let(IResolvable.Companion::unwrap)) } /** * @param headerStyle The table cell style of a table header. */ override fun headerStyle(headerStyle: TableCellStyleProperty) { - cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.headerStyle(headerStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -98393,7 +101703,7 @@ public open class CfnTemplate( * alternate colors) for a table. */ override fun rowAlternateColorOptions(rowAlternateColorOptions: IResolvable) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(IResolvable.Companion::unwrap)) } /** @@ -98402,7 +101712,7 @@ public open class CfnTemplate( */ override fun rowAlternateColorOptions(rowAlternateColorOptions: RowAlternateColorOptionsProperty) { - cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty::unwrap)) + cdkBuilder.rowAlternateColorOptions(rowAlternateColorOptions.let(RowAlternateColorOptionsProperty.Companion::unwrap)) } /** @@ -98805,7 +102115,7 @@ public open class CfnTemplate( * for a table row. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** @@ -98813,7 +102123,7 @@ public open class CfnTemplate( * for a table row. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -98831,7 +102141,7 @@ public open class CfnTemplate( * row. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** @@ -98839,7 +102149,7 @@ public open class CfnTemplate( * row. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -99100,14 +102410,14 @@ public open class CfnTemplate( * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: IResolvable) { - cdkBuilder.bottom(bottom.let(IResolvable::unwrap)) + cdkBuilder.bottom(bottom.let(IResolvable.Companion::unwrap)) } /** * @param bottom The table border options of the bottom border. */ override fun bottom(bottom: TableBorderOptionsProperty) { - cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.bottom(bottom.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99122,14 +102432,14 @@ public open class CfnTemplate( * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: IResolvable) { - cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable::unwrap)) + cdkBuilder.innerHorizontal(innerHorizontal.let(IResolvable.Companion::unwrap)) } /** * @param innerHorizontal The table border options of the inner horizontal border. */ override fun innerHorizontal(innerHorizontal: TableBorderOptionsProperty) { - cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.innerHorizontal(innerHorizontal.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99144,14 +102454,14 @@ public open class CfnTemplate( * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: IResolvable) { - cdkBuilder.innerVertical(innerVertical.let(IResolvable::unwrap)) + cdkBuilder.innerVertical(innerVertical.let(IResolvable.Companion::unwrap)) } /** * @param innerVertical The table border options of the inner vertical border. */ override fun innerVertical(innerVertical: TableBorderOptionsProperty) { - cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.innerVertical(innerVertical.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99166,14 +102476,14 @@ public open class CfnTemplate( * @param left The table border options of the left border. */ override fun left(left: IResolvable) { - cdkBuilder.left(left.let(IResolvable::unwrap)) + cdkBuilder.left(left.let(IResolvable.Companion::unwrap)) } /** * @param left The table border options of the left border. */ override fun left(left: TableBorderOptionsProperty) { - cdkBuilder.left(left.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.left(left.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99188,14 +102498,14 @@ public open class CfnTemplate( * @param right The table border options of the right border. */ override fun right(right: IResolvable) { - cdkBuilder.right(right.let(IResolvable::unwrap)) + cdkBuilder.right(right.let(IResolvable.Companion::unwrap)) } /** * @param right The table border options of the right border. */ override fun right(right: TableBorderOptionsProperty) { - cdkBuilder.right(right.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.right(right.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99210,14 +102520,14 @@ public open class CfnTemplate( * @param top The table border options of the top border. */ override fun top(top: IResolvable) { - cdkBuilder.top(top.let(IResolvable::unwrap)) + cdkBuilder.top(top.let(IResolvable.Companion::unwrap)) } /** * @param top The table border options of the top border. */ override fun top(top: TableBorderOptionsProperty) { - cdkBuilder.top(top.let(TableBorderOptionsProperty::unwrap)) + cdkBuilder.top(top.let(TableBorderOptionsProperty.Companion::unwrap)) } /** @@ -99413,7 +102723,7 @@ public open class CfnTemplate( * the table. */ override fun paginationConfiguration(paginationConfiguration: IResolvable) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -99422,7 +102732,7 @@ public open class CfnTemplate( */ override fun paginationConfiguration(paginationConfiguration: PaginationConfigurationProperty) { - cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty::unwrap)) + cdkBuilder.paginationConfiguration(paginationConfiguration.let(PaginationConfigurationProperty.Companion::unwrap)) } /** @@ -99439,7 +102749,7 @@ public open class CfnTemplate( * @param rowSort The field sort options for rows in the table. */ override fun rowSort(rowSort: IResolvable) { - cdkBuilder.rowSort(rowSort.let(IResolvable::unwrap)) + cdkBuilder.rowSort(rowSort.let(IResolvable.Companion::unwrap)) } /** @@ -99855,7 +103165,7 @@ public open class CfnTemplate( * Values are unaggregated for an unaggregated table. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -100076,7 +103386,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -100095,14 +103405,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TableConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(TableConfigurationProperty.Companion::unwrap)) } /** @@ -100118,7 +103428,7 @@ public open class CfnTemplate( * @param conditionalFormatting The conditional formatting for a `PivotTableVisual` . */ override fun conditionalFormatting(conditionalFormatting: IResolvable) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(IResolvable.Companion::unwrap)) } /** @@ -100126,7 +103436,7 @@ public open class CfnTemplate( */ override fun conditionalFormatting(conditionalFormatting: TableConditionalFormattingProperty) { - cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty::unwrap)) + cdkBuilder.conditionalFormatting(conditionalFormatting.let(TableConditionalFormattingProperty.Companion::unwrap)) } /** @@ -100142,14 +103452,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -100164,14 +103474,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -100358,7 +103668,7 @@ public open class CfnTemplate( * @param violatedEntities An error path that shows which entities caused the template error. */ override fun violatedEntities(violatedEntities: IResolvable) { - cdkBuilder.violatedEntities(violatedEntities.let(IResolvable::unwrap)) + cdkBuilder.violatedEntities(violatedEntities.let(IResolvable.Companion::unwrap)) } /** @@ -100506,7 +103816,7 @@ public open class CfnTemplate( * used as placeholders in the template. */ override fun dataSetReferences(dataSetReferences: IResolvable) { - cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable::unwrap)) + cdkBuilder.dataSetReferences(dataSetReferences.let(IResolvable.Companion::unwrap)) } /** @@ -100657,14 +103967,14 @@ public open class CfnTemplate( * @param sourceAnalysis The source analysis, if it is based on an analysis. */ override fun sourceAnalysis(sourceAnalysis: IResolvable) { - cdkBuilder.sourceAnalysis(sourceAnalysis.let(IResolvable::unwrap)) + cdkBuilder.sourceAnalysis(sourceAnalysis.let(IResolvable.Companion::unwrap)) } /** * @param sourceAnalysis The source analysis, if it is based on an analysis. */ override fun sourceAnalysis(sourceAnalysis: TemplateSourceAnalysisProperty) { - cdkBuilder.sourceAnalysis(sourceAnalysis.let(TemplateSourceAnalysisProperty::unwrap)) + cdkBuilder.sourceAnalysis(sourceAnalysis.let(TemplateSourceAnalysisProperty.Companion::unwrap)) } /** @@ -100680,14 +103990,14 @@ public open class CfnTemplate( * @param sourceTemplate The source template, if it is based on an template. */ override fun sourceTemplate(sourceTemplate: IResolvable) { - cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable::unwrap)) + cdkBuilder.sourceTemplate(sourceTemplate.let(IResolvable.Companion::unwrap)) } /** * @param sourceTemplate The source template, if it is based on an template. */ override fun sourceTemplate(sourceTemplate: TemplateSourceTemplateProperty) { - cdkBuilder.sourceTemplate(sourceTemplate.let(TemplateSourceTemplateProperty::unwrap)) + cdkBuilder.sourceTemplate(sourceTemplate.let(TemplateSourceTemplateProperty.Companion::unwrap)) } /** @@ -101079,14 +104389,14 @@ public open class CfnTemplate( * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: IResolvable) { - cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable::unwrap)) + cdkBuilder.analysisDefaults(analysisDefaults.let(IResolvable.Companion::unwrap)) } /** * @param analysisDefaults the value to be set. */ override fun analysisDefaults(analysisDefaults: AnalysisDefaultsProperty) { - cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty::unwrap)) + cdkBuilder.analysisDefaults(analysisDefaults.let(AnalysisDefaultsProperty.Companion::unwrap)) } /** @@ -101101,7 +104411,7 @@ public open class CfnTemplate( * @param calculatedFields An array of calculated field definitions for the template. */ override fun calculatedFields(calculatedFields: IResolvable) { - cdkBuilder.calculatedFields(calculatedFields.let(IResolvable::unwrap)) + cdkBuilder.calculatedFields(calculatedFields.let(IResolvable.Companion::unwrap)) } /** @@ -101123,7 +104433,7 @@ public open class CfnTemplate( * throughout a template. */ override fun columnConfigurations(columnConfigurations: IResolvable) { - cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable::unwrap)) + cdkBuilder.columnConfigurations(columnConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -101148,7 +104458,7 @@ public open class CfnTemplate( * These configurations define the required columns for each dataset used within a template. */ override fun dataSetConfigurations(dataSetConfigurations: IResolvable) { - cdkBuilder.dataSetConfigurations(dataSetConfigurations.let(IResolvable::unwrap)) + cdkBuilder.dataSetConfigurations(dataSetConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -101173,7 +104483,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun filterGroups(filterGroups: IResolvable) { - cdkBuilder.filterGroups(filterGroups.let(IResolvable::unwrap)) + cdkBuilder.filterGroups(filterGroups.let(IResolvable.Companion::unwrap)) } /** @@ -101199,14 +104509,14 @@ public open class CfnTemplate( * @param options An array of option definitions for a template. */ override fun options(options: IResolvable) { - cdkBuilder.options(options.let(IResolvable::unwrap)) + cdkBuilder.options(options.let(IResolvable.Companion::unwrap)) } /** * @param options An array of option definitions for a template. */ override fun options(options: AssetOptionsProperty) { - cdkBuilder.options(options.let(AssetOptionsProperty::unwrap)) + cdkBuilder.options(options.let(AssetOptionsProperty.Companion::unwrap)) } /** @@ -101227,7 +104537,7 @@ public open class CfnTemplate( * in the *Amazon QuickSight User Guide* . */ override fun parameterDeclarations(parameterDeclarations: IResolvable) { - cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable::unwrap)) + cdkBuilder.parameterDeclarations(parameterDeclarations.let(IResolvable.Companion::unwrap)) } /** @@ -101259,7 +104569,7 @@ public open class CfnTemplate( * @param sheets An array of sheet definitions for a template. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -101612,7 +104922,7 @@ public open class CfnTemplate( * schema described through this API operation. */ override fun dataSetConfigurations(dataSetConfigurations: IResolvable) { - cdkBuilder.dataSetConfigurations(dataSetConfigurations.let(IResolvable::unwrap)) + cdkBuilder.dataSetConfigurations(dataSetConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -101643,7 +104953,7 @@ public open class CfnTemplate( * @param errors Errors associated with this template version. */ override fun errors(errors: IResolvable) { - cdkBuilder.errors(errors.let(IResolvable::unwrap)) + cdkBuilder.errors(errors.let(IResolvable.Companion::unwrap)) } /** @@ -101663,7 +104973,7 @@ public open class CfnTemplate( * sheet. */ override fun sheets(sheets: IResolvable) { - cdkBuilder.sheets(sheets.let(IResolvable::unwrap)) + cdkBuilder.sheets(sheets.let(IResolvable.Companion::unwrap)) } /** @@ -101951,7 +105261,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -101959,7 +105269,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -101977,7 +105287,7 @@ public open class CfnTemplate( * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { - cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** @@ -101985,7 +105295,7 @@ public open class CfnTemplate( * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { - cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** @@ -102002,14 +105312,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -102230,14 +105540,14 @@ public open class CfnTemplate( * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: IResolvable) { - cdkBuilder.backgroundColor(backgroundColor.let(IResolvable::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(IResolvable.Companion::unwrap)) } /** * @param backgroundColor The conditional formatting for the text background color. */ override fun backgroundColor(backgroundColor: ConditionalFormattingColorProperty) { - cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.backgroundColor(backgroundColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -102253,14 +105563,14 @@ public open class CfnTemplate( * @param icon The conditional formatting for the icon. */ override fun icon(icon: IResolvable) { - cdkBuilder.icon(icon.let(IResolvable::unwrap)) + cdkBuilder.icon(icon.let(IResolvable.Companion::unwrap)) } /** * @param icon The conditional formatting for the icon. */ override fun icon(icon: ConditionalFormattingIconProperty) { - cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty::unwrap)) + cdkBuilder.icon(icon.let(ConditionalFormattingIconProperty.Companion::unwrap)) } /** @@ -102275,14 +105585,14 @@ public open class CfnTemplate( * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: IResolvable) { - cdkBuilder.textColor(textColor.let(IResolvable::unwrap)) + cdkBuilder.textColor(textColor.let(IResolvable.Companion::unwrap)) } /** * @param textColor The conditional formatting for the text color. */ override fun textColor(textColor: ConditionalFormattingColorProperty) { - cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty::unwrap)) + cdkBuilder.textColor(textColor.let(ConditionalFormattingColorProperty.Companion::unwrap)) } /** @@ -102560,7 +105870,7 @@ public open class CfnTemplate( * @param infoIconLabelOptions The configuration of info icon label options. */ override fun infoIconLabelOptions(infoIconLabelOptions: IResolvable) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -102568,7 +105878,7 @@ public open class CfnTemplate( */ override fun infoIconLabelOptions(infoIconLabelOptions: SheetControlInfoIconLabelOptionsProperty) { - cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty::unwrap)) + cdkBuilder.infoIconLabelOptions(infoIconLabelOptions.let(SheetControlInfoIconLabelOptionsProperty.Companion::unwrap)) } /** @@ -102586,7 +105896,7 @@ public open class CfnTemplate( * control. */ override fun placeholderOptions(placeholderOptions: IResolvable) { - cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(IResolvable.Companion::unwrap)) } /** @@ -102594,7 +105904,7 @@ public open class CfnTemplate( * control. */ override fun placeholderOptions(placeholderOptions: TextControlPlaceholderOptionsProperty) { - cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty::unwrap)) + cdkBuilder.placeholderOptions(placeholderOptions.let(TextControlPlaceholderOptionsProperty.Companion::unwrap)) } /** @@ -102611,14 +105921,14 @@ public open class CfnTemplate( * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: IResolvable) { - cdkBuilder.titleOptions(titleOptions.let(IResolvable::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(IResolvable.Companion::unwrap)) } /** * @param titleOptions The options to configure the title visibility, name, and font size. */ override fun titleOptions(titleOptions: LabelOptionsProperty) { - cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty::unwrap)) + cdkBuilder.titleOptions(titleOptions.let(LabelOptionsProperty.Companion::unwrap)) } /** @@ -103035,6 +106345,204 @@ public open class CfnTemplate( * .build()) * .filterId("filterId") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .parameterName("parameterName") * .rollingDate(RollingDateConfigurationProperty.builder() * .expression("expression") @@ -103056,6 +106564,16 @@ public open class CfnTemplate( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-timeequalityfilter.html#cfn-quicksight-template-timeequalityfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -103119,6 +106637,31 @@ public open class CfnTemplate( @JvmName("7a51b903f2f31dad16d62f1f09216fdc1bf1b93e1fa3b71a257d84d9d159a32c") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d0dad283c8ea12613446857dbba158431c1bccbc9d01ef1483c0ec3f6f2cd2ff") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -103174,14 +106717,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -103192,6 +106735,38 @@ public open class CfnTemplate( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("d0dad283c8ea12613446857dbba158431c1bccbc9d01ef1483c0ec3f6f2cd2ff") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -103213,7 +106788,7 @@ public open class CfnTemplate( * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** @@ -103221,7 +106796,7 @@ public open class CfnTemplate( * This field is mutually exclusive to `Value` and `ParameterName` . */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -103264,6 +106839,16 @@ public open class CfnTemplate( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-timeequalityfilter.html#cfn-quicksight-template-timeequalityfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -103425,14 +107010,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -103537,6 +107122,204 @@ public open class CfnTemplate( * .filterId("filterId") * .nullOption("nullOption") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .excludePeriodConfiguration(ExcludePeriodConfigurationProperty.builder() * .amount(123) * .granularity("granularity") @@ -103577,6 +107360,16 @@ public open class CfnTemplate( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-timerangefilter.html#cfn-quicksight-template-timerangefilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The exclude period of the time range filter. * @@ -103661,6 +107454,31 @@ public open class CfnTemplate( @JvmName("f6bcacc559943ad2dc4984c54690a40415082f2e038a1071cdb8fcfacdb7355c") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bd7d7a4d86c50cc2d2f0c0a9521ca431d761acb6df778b96bbfa583b34994890") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ @@ -103771,14 +107589,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -103789,11 +107607,43 @@ public open class CfnTemplate( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("bd7d7a4d86c50cc2d2f0c0a9521ca431d761acb6df778b96bbfa583b34994890") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param excludePeriodConfiguration The exclude period of the time range filter. */ override fun excludePeriodConfiguration(excludePeriodConfiguration: IResolvable) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -103801,7 +107651,7 @@ public open class CfnTemplate( */ override fun excludePeriodConfiguration(excludePeriodConfiguration: ExcludePeriodConfigurationProperty) { - cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty::unwrap)) + cdkBuilder.excludePeriodConfiguration(excludePeriodConfiguration.let(ExcludePeriodConfigurationProperty.Companion::unwrap)) } /** @@ -103835,7 +107685,7 @@ public open class CfnTemplate( * be included in the filtered results. */ override fun includeMaximum(includeMaximum: IResolvable) { - cdkBuilder.includeMaximum(includeMaximum.let(IResolvable::unwrap)) + cdkBuilder.includeMaximum(includeMaximum.let(IResolvable.Companion::unwrap)) } /** @@ -103851,7 +107701,7 @@ public open class CfnTemplate( * be included in the filtered results. */ override fun includeMinimum(includeMinimum: IResolvable) { - cdkBuilder.includeMinimum(includeMinimum.let(IResolvable::unwrap)) + cdkBuilder.includeMinimum(includeMinimum.let(IResolvable.Companion::unwrap)) } /** @@ -103869,14 +107719,14 @@ public open class CfnTemplate( * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: IResolvable) { - cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable::unwrap)) + cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMaximumValue The maximum value for the filter value range. */ override fun rangeMaximumValue(rangeMaximumValue: TimeRangeFilterValueProperty) { - cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMaximumValue(rangeMaximumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** @@ -103892,14 +107742,14 @@ public open class CfnTemplate( * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: IResolvable) { - cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable::unwrap)) + cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(IResolvable.Companion::unwrap)) } /** * @param rangeMinimumValue The minimum value for the filter value range. */ override fun rangeMinimumValue(rangeMinimumValue: TimeRangeFilterValueProperty) { - cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty::unwrap)) + cdkBuilder.rangeMinimumValue(rangeMinimumValue.let(TimeRangeFilterValueProperty.Companion::unwrap)) } /** @@ -103934,6 +107784,16 @@ public open class CfnTemplate( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-timerangefilter.html#cfn-quicksight-template-timerangefilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * The exclude period of the time range filter. * @@ -104113,14 +107973,14 @@ public open class CfnTemplate( * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: IResolvable) { - cdkBuilder.rollingDate(rollingDate.let(IResolvable::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(IResolvable.Companion::unwrap)) } /** * @param rollingDate The rolling date input value. */ override fun rollingDate(rollingDate: RollingDateConfigurationProperty) { - cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty::unwrap)) + cdkBuilder.rollingDate(rollingDate.let(RollingDateConfigurationProperty.Companion::unwrap)) } /** @@ -104301,7 +108161,7 @@ public open class CfnTemplate( * well. */ override fun columnTooltipItem(columnTooltipItem: IResolvable) { - cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable::unwrap)) + cdkBuilder.columnTooltipItem(columnTooltipItem.let(IResolvable.Companion::unwrap)) } /** @@ -104309,7 +108169,7 @@ public open class CfnTemplate( * well. */ override fun columnTooltipItem(columnTooltipItem: ColumnTooltipItemProperty) { - cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty::unwrap)) + cdkBuilder.columnTooltipItem(columnTooltipItem.let(ColumnTooltipItemProperty.Companion::unwrap)) } /** @@ -104326,14 +108186,14 @@ public open class CfnTemplate( * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: IResolvable) { - cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable::unwrap)) + cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(IResolvable.Companion::unwrap)) } /** * @param fieldTooltipItem The tooltip item for the fields. */ override fun fieldTooltipItem(fieldTooltipItem: FieldTooltipItemProperty) { - cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty::unwrap)) + cdkBuilder.fieldTooltipItem(fieldTooltipItem.let(FieldTooltipItemProperty.Companion::unwrap)) } /** @@ -104512,7 +108372,7 @@ public open class CfnTemplate( * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: IResolvable) { - cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable::unwrap)) + cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(IResolvable.Companion::unwrap)) } /** @@ -104520,7 +108380,7 @@ public open class CfnTemplate( * The tooltip setup is always saved. The display type is decided based on the tooltip type. */ override fun fieldBasedTooltip(fieldBasedTooltip: FieldBasedTooltipProperty) { - cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty::unwrap)) + cdkBuilder.fieldBasedTooltip(fieldBasedTooltip.let(FieldBasedTooltipProperty.Companion::unwrap)) } /** @@ -104641,6 +108501,204 @@ public open class CfnTemplate( * .build()) * .filterId("filterId") * // the properties below are optional + * .defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty.builder() + * .controlOptions(DefaultFilterControlOptionsProperty.builder() + * .defaultDateTimePickerOptions(DefaultDateTimePickerControlOptionsProperty.builder() + * .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultDropdownOptions(DefaultFilterDropDownControlOptionsProperty.builder() + * .displayOptions(DropDownControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultListOptions(DefaultFilterListControlOptionsProperty.builder() + * .displayOptions(ListControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .searchOptions(ListControlSearchOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .selectAllOptions(ListControlSelectAllOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .selectableValues(FilterSelectableValuesProperty.builder() + * .values(List.of("values")) + * .build()) + * .type("type") + * .build()) + * .defaultRelativeDateTimeOptions(DefaultRelativeDateTimeControlOptionsProperty.builder() + * .displayOptions(RelativeDateTimeControlDisplayOptionsProperty.builder() + * .dateTimeFormat("dateTimeFormat") + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultSliderOptions(DefaultSliderControlOptionsProperty.builder() + * .maximumValue(123) + * .minimumValue(123) + * .stepSize(123) + * // the properties below are optional + * .displayOptions(SliderControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .type("type") + * .build()) + * .defaultTextAreaOptions(DefaultTextAreaControlOptionsProperty.builder() + * .delimiter("delimiter") + * .displayOptions(TextAreaControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .defaultTextFieldOptions(DefaultTextFieldControlOptionsProperty.builder() + * .displayOptions(TextFieldControlDisplayOptionsProperty.builder() + * .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder() + * .infoIconText("infoIconText") + * .visibility("visibility") + * .build()) + * .placeholderOptions(TextControlPlaceholderOptionsProperty.builder() + * .visibility("visibility") + * .build()) + * .titleOptions(LabelOptionsProperty.builder() + * .customLabel("customLabel") + * .fontConfiguration(FontConfigurationProperty.builder() + * .fontColor("fontColor") + * .fontDecoration("fontDecoration") + * .fontSize(FontSizeProperty.builder() + * .relative("relative") + * .build()) + * .fontStyle("fontStyle") + * .fontWeight(FontWeightProperty.builder() + * .name("name") + * .build()) + * .build()) + * .visibility("visibility") + * .build()) + * .build()) + * .build()) + * .build()) + * .title("title") + * .build()) * .limit(123) * .parameterName("parameterName") * .timeGranularity("timeGranularity") @@ -104664,6 +108722,16 @@ public open class CfnTemplate( */ public fun column(): Any + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-topbottomfilter.html#cfn-quicksight-template-topbottomfilter-defaultfiltercontrolconfiguration) + */ + public fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -104732,6 +108800,31 @@ public open class CfnTemplate( @JvmName("de165dc2b3021765b89f4c4472cb1032b185b985fb743deb32cd6664232841b4") public fun column(column: ColumnIdentifierProperty.Builder.() -> Unit) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("072a6a57cf1c0b0577541d11cab5f899c6b3f1f08d674587aeb34f13489a8d39") + public + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -104765,7 +108858,7 @@ public open class CfnTemplate( * bottom filter. */ override fun aggregationSortConfigurations(aggregationSortConfigurations: IResolvable) { - cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable::unwrap)) + cdkBuilder.aggregationSortConfigurations(aggregationSortConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -104787,14 +108880,14 @@ public open class CfnTemplate( * @param column The column that the filter is applied to. */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that the filter is applied to. */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -104805,6 +108898,38 @@ public open class CfnTemplate( override fun column(column: ColumnIdentifierProperty.Builder.() -> Unit): Unit = column(ColumnIdentifierProperty(column)) + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: IResolvable) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty) { + cdkBuilder.defaultFilterControlConfiguration(defaultFilterControlConfiguration.let(DefaultFilterControlConfigurationProperty.Companion::unwrap)) + } + + /** + * @param defaultFilterControlConfiguration The default configurations for the associated + * controls. + * This applies only for filters that are scoped to multiple sheets. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("072a6a57cf1c0b0577541d11cab5f899c6b3f1f08d674587aeb34f13489a8d39") + override + fun defaultFilterControlConfiguration(defaultFilterControlConfiguration: DefaultFilterControlConfigurationProperty.Builder.() -> Unit): + Unit = + defaultFilterControlConfiguration(DefaultFilterControlConfigurationProperty(defaultFilterControlConfiguration)) + /** * @param filterId An identifier that uniquely identifies a filter within a dashboard, * analysis, or template. @@ -104858,6 +108983,16 @@ public open class CfnTemplate( */ override fun column(): Any = unwrap(this).getColumn() + /** + * The default configurations for the associated controls. + * + * This applies only for filters that are scoped to multiple sheets. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-topbottomfilter.html#cfn-quicksight-template-topbottomfilter-defaultfiltercontrolconfiguration) + */ + override fun defaultFilterControlConfiguration(): Any? = + unwrap(this).getDefaultFilterControlConfiguration() + /** * An identifier that uniquely identifies a filter within a dashboard, analysis, or template. * @@ -105071,14 +109206,14 @@ public open class CfnTemplate( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -105121,14 +109256,14 @@ public open class CfnTemplate( * @param time The time field that is used in a computation. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** * @param time The time field that is used in a computation. */ override fun time(time: DimensionFieldProperty) { - cdkBuilder.time(time.let(DimensionFieldProperty::unwrap)) + cdkBuilder.time(time.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -105152,14 +109287,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -105389,14 +109524,14 @@ public open class CfnTemplate( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -105441,14 +109576,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -105878,14 +110013,14 @@ public open class CfnTemplate( * @param value The value field that is used in a computation. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value field that is used in a computation. */ override fun `value`(`value`: MeasureFieldProperty) { - cdkBuilder.`value`(`value`.let(MeasureFieldProperty::unwrap)) + cdkBuilder.`value`(`value`.let(MeasureFieldProperty.Companion::unwrap)) } /** @@ -106116,7 +110251,7 @@ public open class CfnTemplate( * specified field id. */ override fun totalAggregationFunction(totalAggregationFunction: IResolvable) { - cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(IResolvable.Companion::unwrap)) } /** @@ -106125,7 +110260,7 @@ public open class CfnTemplate( */ override fun totalAggregationFunction(totalAggregationFunction: TotalAggregationFunctionProperty) { - cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty::unwrap)) + cdkBuilder.totalAggregationFunction(totalAggregationFunction.let(TotalAggregationFunctionProperty.Companion::unwrap)) } /** @@ -106394,7 +110529,7 @@ public open class CfnTemplate( * @param totalAggregationOptions The total aggregation settings for each value field. */ override fun totalAggregationOptions(totalAggregationOptions: IResolvable) { - cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable::unwrap)) + cdkBuilder.totalAggregationOptions(totalAggregationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -106414,14 +110549,14 @@ public open class CfnTemplate( * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: IResolvable) { - cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(IResolvable.Companion::unwrap)) } /** * @param totalCellStyle Cell styling options for the total cells. */ override fun totalCellStyle(totalCellStyle: TableCellStyleProperty) { - cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty::unwrap)) + cdkBuilder.totalCellStyle(totalCellStyle.let(TableCellStyleProperty.Companion::unwrap)) } /** @@ -106617,7 +110752,7 @@ public open class CfnTemplate( * Values are grouped by aggregations based on group by fields. */ override fun colors(colors: IResolvable) { - cdkBuilder.colors(colors.let(IResolvable::unwrap)) + cdkBuilder.colors(colors.let(IResolvable.Companion::unwrap)) } /** @@ -106639,7 +110774,7 @@ public open class CfnTemplate( * Values are grouped based on group by fields. */ override fun groups(groups: IResolvable) { - cdkBuilder.groups(groups.let(IResolvable::unwrap)) + cdkBuilder.groups(groups.let(IResolvable.Companion::unwrap)) } /** @@ -106661,7 +110796,7 @@ public open class CfnTemplate( * Values are aggregated based on group by fields. */ override fun sizes(sizes: IResolvable) { - cdkBuilder.sizes(sizes.let(IResolvable::unwrap)) + cdkBuilder.sizes(sizes.let(IResolvable.Companion::unwrap)) } /** @@ -106992,7 +111127,7 @@ public open class CfnTemplate( * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: IResolvable) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -107000,7 +111135,7 @@ public open class CfnTemplate( * displayed in a tree map. */ override fun colorLabelOptions(colorLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.colorLabelOptions(colorLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -107017,14 +111152,14 @@ public open class CfnTemplate( * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: IResolvable) { - cdkBuilder.colorScale(colorScale.let(IResolvable::unwrap)) + cdkBuilder.colorScale(colorScale.let(IResolvable.Companion::unwrap)) } /** * @param colorScale The color options (gradient color, point of divergence) of a tree map. */ override fun colorScale(colorScale: ColorScaleProperty) { - cdkBuilder.colorScale(colorScale.let(ColorScaleProperty::unwrap)) + cdkBuilder.colorScale(colorScale.let(ColorScaleProperty.Companion::unwrap)) } /** @@ -107039,14 +111174,14 @@ public open class CfnTemplate( * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The options that determine if visual data labels are displayed. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -107061,14 +111196,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: TreeMapFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(TreeMapFieldWellsProperty.Companion::unwrap)) } /** @@ -107084,7 +111219,7 @@ public open class CfnTemplate( * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: IResolvable) { - cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.groupLabelOptions(groupLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -107092,7 +111227,7 @@ public open class CfnTemplate( * that are displayed in a tree map. */ override fun groupLabelOptions(groupLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.groupLabelOptions(groupLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -107109,14 +111244,14 @@ public open class CfnTemplate( * @param legend The legend display setup of the visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend display setup of the visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -107132,7 +111267,7 @@ public open class CfnTemplate( * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: IResolvable) { - cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -107140,7 +111275,7 @@ public open class CfnTemplate( * are displayed in a tree map. */ override fun sizeLabelOptions(sizeLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.sizeLabelOptions(sizeLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -107157,14 +111292,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a tree map. */ override fun sortConfiguration(sortConfiguration: TreeMapSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(TreeMapSortConfigurationProperty.Companion::unwrap)) } /** @@ -107180,14 +111315,14 @@ public open class CfnTemplate( * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: IResolvable) { - cdkBuilder.tooltip(tooltip.let(IResolvable::unwrap)) + cdkBuilder.tooltip(tooltip.let(IResolvable.Companion::unwrap)) } /** * @param tooltip The tooltip display setup of the visual. */ override fun tooltip(tooltip: TooltipOptionsProperty) { - cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty::unwrap)) + cdkBuilder.tooltip(tooltip.let(TooltipOptionsProperty.Companion::unwrap)) } /** @@ -107345,7 +111480,7 @@ public open class CfnTemplate( * @param treeMapAggregatedFieldWells The aggregated field wells of a tree map. */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: IResolvable) { - cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -107353,7 +111488,7 @@ public open class CfnTemplate( */ override fun treeMapAggregatedFieldWells(treeMapAggregatedFieldWells: TreeMapAggregatedFieldWellsProperty) { - cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.treeMapAggregatedFieldWells(treeMapAggregatedFieldWells.let(TreeMapAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -107521,7 +111656,7 @@ public open class CfnTemplate( */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: IResolvable) { - cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable::unwrap)) + cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -107530,7 +111665,7 @@ public open class CfnTemplate( */ override fun treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration: ItemsLimitConfigurationProperty) { - cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.treeMapGroupItemsLimitConfiguration(treeMapGroupItemsLimitConfiguration.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -107548,7 +111683,7 @@ public open class CfnTemplate( * @param treeMapSort The sort configuration of group by fields. */ override fun treeMapSort(treeMapSort: IResolvable) { - cdkBuilder.treeMapSort(treeMapSort.let(IResolvable::unwrap)) + cdkBuilder.treeMapSort(treeMapSort.let(IResolvable.Companion::unwrap)) } /** @@ -107772,7 +111907,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -107791,14 +111926,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: TreeMapConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(TreeMapConfigurationProperty.Companion::unwrap)) } /** @@ -107815,7 +111950,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -107837,14 +111972,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -107859,14 +111994,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -108347,14 +112482,14 @@ public open class CfnTemplate( * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: IResolvable) { - cdkBuilder.column(column.let(IResolvable::unwrap)) + cdkBuilder.column(column.let(IResolvable.Companion::unwrap)) } /** * @param column The column that is used in the `UnaggregatedField` . */ override fun column(column: ColumnIdentifierProperty) { - cdkBuilder.column(column.let(ColumnIdentifierProperty::unwrap)) + cdkBuilder.column(column.let(ColumnIdentifierProperty.Companion::unwrap)) } /** @@ -108376,14 +112511,14 @@ public open class CfnTemplate( * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: IResolvable) { - cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param formatConfiguration The format configuration of the field. */ override fun formatConfiguration(formatConfiguration: FormatConfigurationProperty) { - cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty::unwrap)) + cdkBuilder.formatConfiguration(formatConfiguration.let(FormatConfigurationProperty.Companion::unwrap)) } /** @@ -108765,14 +112900,14 @@ public open class CfnTemplate( * @param category The category field that is used in a computation. */ override fun category(category: IResolvable) { - cdkBuilder.category(category.let(IResolvable::unwrap)) + cdkBuilder.category(category.let(IResolvable.Companion::unwrap)) } /** * @param category The category field that is used in a computation. */ override fun category(category: DimensionFieldProperty) { - cdkBuilder.category(category.let(DimensionFieldProperty::unwrap)) + cdkBuilder.category(category.let(DimensionFieldProperty.Companion::unwrap)) } /** @@ -109000,14 +113135,14 @@ public open class CfnTemplate( * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: IResolvable) { - cdkBuilder.percentRange(percentRange.let(IResolvable::unwrap)) + cdkBuilder.percentRange(percentRange.let(IResolvable.Companion::unwrap)) } /** * @param percentRange The percent range in the visible range. */ override fun percentRange(percentRange: PercentVisibleRangeProperty) { - cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty::unwrap)) + cdkBuilder.percentRange(percentRange.let(PercentVisibleRangeProperty.Companion::unwrap)) } /** @@ -109247,7 +113382,7 @@ public open class CfnTemplate( * entire sheet. */ override fun filterOperation(filterOperation: IResolvable) { - cdkBuilder.filterOperation(filterOperation.let(IResolvable::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(IResolvable.Companion::unwrap)) } /** @@ -109255,7 +113390,7 @@ public open class CfnTemplate( * entire sheet. */ override fun filterOperation(filterOperation: CustomActionFilterOperationProperty) { - cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty::unwrap)) + cdkBuilder.filterOperation(filterOperation.let(CustomActionFilterOperationProperty.Companion::unwrap)) } /** @@ -109273,7 +113408,7 @@ public open class CfnTemplate( * in the same analysis. */ override fun navigationOperation(navigationOperation: IResolvable) { - cdkBuilder.navigationOperation(navigationOperation.let(IResolvable::unwrap)) + cdkBuilder.navigationOperation(navigationOperation.let(IResolvable.Companion::unwrap)) } /** @@ -109282,7 +113417,7 @@ public open class CfnTemplate( */ override fun navigationOperation(navigationOperation: CustomActionNavigationOperationProperty) { - cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty::unwrap)) + cdkBuilder.navigationOperation(navigationOperation.let(CustomActionNavigationOperationProperty.Companion::unwrap)) } /** @@ -109300,7 +113435,7 @@ public open class CfnTemplate( * action. */ override fun parametersOperation(setParametersOperation: IResolvable) { - cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable::unwrap)) + cdkBuilder.setParametersOperation(setParametersOperation.let(IResolvable.Companion::unwrap)) } /** @@ -109309,7 +113444,7 @@ public open class CfnTemplate( */ override fun parametersOperation(setParametersOperation: CustomActionSetParametersOperationProperty) { - cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty::unwrap)) + cdkBuilder.setParametersOperation(setParametersOperation.let(CustomActionSetParametersOperationProperty.Companion::unwrap)) } /** @@ -109327,14 +113462,14 @@ public open class CfnTemplate( * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: IResolvable) { - cdkBuilder.urlOperation(urlOperation.let(IResolvable::unwrap)) + cdkBuilder.urlOperation(urlOperation.let(IResolvable.Companion::unwrap)) } /** * @param urlOperation The URL operation that opens a link to another webpage. */ override fun urlOperation(urlOperation: CustomActionURLOperationProperty) { - cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty::unwrap)) + cdkBuilder.urlOperation(urlOperation.let(CustomActionURLOperationProperty.Companion::unwrap)) } /** @@ -109579,7 +113714,7 @@ public open class CfnTemplate( * can be defined. */ override fun actionOperations(actionOperations: IResolvable) { - cdkBuilder.actionOperations(actionOperations.let(IResolvable::unwrap)) + cdkBuilder.actionOperations(actionOperations.let(IResolvable.Companion::unwrap)) } /** @@ -109786,7 +113921,7 @@ public open class CfnTemplate( * @param colorMap The color map options for the visual palette. */ override fun colorMap(colorMap: IResolvable) { - cdkBuilder.colorMap(colorMap.let(IResolvable::unwrap)) + cdkBuilder.colorMap(colorMap.let(IResolvable.Companion::unwrap)) } /** @@ -110715,7 +114850,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: IResolvable) { - cdkBuilder.barChartVisual(barChartVisual.let(IResolvable::unwrap)) + cdkBuilder.barChartVisual(barChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110725,7 +114860,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun barChartVisual(barChartVisual: BarChartVisualProperty) { - cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty::unwrap)) + cdkBuilder.barChartVisual(barChartVisual.let(BarChartVisualProperty.Companion::unwrap)) } /** @@ -110746,7 +114881,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: IResolvable) { - cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable::unwrap)) + cdkBuilder.boxPlotVisual(boxPlotVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110756,7 +114891,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun boxPlotVisual(boxPlotVisual: BoxPlotVisualProperty) { - cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty::unwrap)) + cdkBuilder.boxPlotVisual(boxPlotVisual.let(BoxPlotVisualProperty.Companion::unwrap)) } /** @@ -110777,7 +114912,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: IResolvable) { - cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable::unwrap)) + cdkBuilder.comboChartVisual(comboChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110787,7 +114922,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun comboChartVisual(comboChartVisual: ComboChartVisualProperty) { - cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty::unwrap)) + cdkBuilder.comboChartVisual(comboChartVisual.let(ComboChartVisualProperty.Companion::unwrap)) } /** @@ -110808,7 +114943,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: IResolvable) { - cdkBuilder.customContentVisual(customContentVisual.let(IResolvable::unwrap)) + cdkBuilder.customContentVisual(customContentVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110818,7 +114953,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun customContentVisual(customContentVisual: CustomContentVisualProperty) { - cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty::unwrap)) + cdkBuilder.customContentVisual(customContentVisual.let(CustomContentVisualProperty.Companion::unwrap)) } /** @@ -110837,14 +114972,14 @@ public open class CfnTemplate( * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: IResolvable) { - cdkBuilder.emptyVisual(emptyVisual.let(IResolvable::unwrap)) + cdkBuilder.emptyVisual(emptyVisual.let(IResolvable.Companion::unwrap)) } /** * @param emptyVisual An empty visual. */ override fun emptyVisual(emptyVisual: EmptyVisualProperty) { - cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty::unwrap)) + cdkBuilder.emptyVisual(emptyVisual.let(EmptyVisualProperty.Companion::unwrap)) } /** @@ -110862,7 +114997,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: IResolvable) { - cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable::unwrap)) + cdkBuilder.filledMapVisual(filledMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110872,7 +115007,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun filledMapVisual(filledMapVisual: FilledMapVisualProperty) { - cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty::unwrap)) + cdkBuilder.filledMapVisual(filledMapVisual.let(FilledMapVisualProperty.Companion::unwrap)) } /** @@ -110893,7 +115028,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: IResolvable) { - cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable::unwrap)) + cdkBuilder.funnelChartVisual(funnelChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110903,7 +115038,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun funnelChartVisual(funnelChartVisual: FunnelChartVisualProperty) { - cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty::unwrap)) + cdkBuilder.funnelChartVisual(funnelChartVisual.let(FunnelChartVisualProperty.Companion::unwrap)) } /** @@ -110925,7 +115060,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: IResolvable) { - cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable::unwrap)) + cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110935,7 +115070,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun gaugeChartVisual(gaugeChartVisual: GaugeChartVisualProperty) { - cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty::unwrap)) + cdkBuilder.gaugeChartVisual(gaugeChartVisual.let(GaugeChartVisualProperty.Companion::unwrap)) } /** @@ -110956,7 +115091,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: IResolvable) { - cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable::unwrap)) + cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110966,7 +115101,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun geospatialMapVisual(geospatialMapVisual: GeospatialMapVisualProperty) { - cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty::unwrap)) + cdkBuilder.geospatialMapVisual(geospatialMapVisual.let(GeospatialMapVisualProperty.Companion::unwrap)) } /** @@ -110988,7 +115123,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: IResolvable) { - cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable::unwrap)) + cdkBuilder.heatMapVisual(heatMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -110998,7 +115133,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun heatMapVisual(heatMapVisual: HeatMapVisualProperty) { - cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty::unwrap)) + cdkBuilder.heatMapVisual(heatMapVisual.let(HeatMapVisualProperty.Companion::unwrap)) } /** @@ -111019,7 +115154,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: IResolvable) { - cdkBuilder.histogramVisual(histogramVisual.let(IResolvable::unwrap)) + cdkBuilder.histogramVisual(histogramVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111029,7 +115164,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun histogramVisual(histogramVisual: HistogramVisualProperty) { - cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty::unwrap)) + cdkBuilder.histogramVisual(histogramVisual.let(HistogramVisualProperty.Companion::unwrap)) } /** @@ -111050,7 +115185,7 @@ public open class CfnTemplate( * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: IResolvable) { - cdkBuilder.insightVisual(insightVisual.let(IResolvable::unwrap)) + cdkBuilder.insightVisual(insightVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111060,7 +115195,7 @@ public open class CfnTemplate( * the *Amazon QuickSight User Guide* . */ override fun insightVisual(insightVisual: InsightVisualProperty) { - cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty::unwrap)) + cdkBuilder.insightVisual(insightVisual.let(InsightVisualProperty.Companion::unwrap)) } /** @@ -111081,7 +115216,7 @@ public open class CfnTemplate( * User Guide* . */ override fun kpiVisual(kpiVisual: IResolvable) { - cdkBuilder.kpiVisual(kpiVisual.let(IResolvable::unwrap)) + cdkBuilder.kpiVisual(kpiVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111091,7 +115226,7 @@ public open class CfnTemplate( * User Guide* . */ override fun kpiVisual(kpiVisual: KPIVisualProperty) { - cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty::unwrap)) + cdkBuilder.kpiVisual(kpiVisual.let(KPIVisualProperty.Companion::unwrap)) } /** @@ -111112,7 +115247,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: IResolvable) { - cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable::unwrap)) + cdkBuilder.lineChartVisual(lineChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111122,7 +115257,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun lineChartVisual(lineChartVisual: LineChartVisualProperty) { - cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty::unwrap)) + cdkBuilder.lineChartVisual(lineChartVisual.let(LineChartVisualProperty.Companion::unwrap)) } /** @@ -111143,7 +115278,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: IResolvable) { - cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable::unwrap)) + cdkBuilder.pieChartVisual(pieChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111153,7 +115288,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun pieChartVisual(pieChartVisual: PieChartVisualProperty) { - cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty::unwrap)) + cdkBuilder.pieChartVisual(pieChartVisual.let(PieChartVisualProperty.Companion::unwrap)) } /** @@ -111174,7 +115309,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: IResolvable) { - cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable::unwrap)) + cdkBuilder.pivotTableVisual(pivotTableVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111184,7 +115319,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun pivotTableVisual(pivotTableVisual: PivotTableVisualProperty) { - cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty::unwrap)) + cdkBuilder.pivotTableVisual(pivotTableVisual.let(PivotTableVisualProperty.Companion::unwrap)) } /** @@ -111205,7 +115340,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: IResolvable) { - cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable::unwrap)) + cdkBuilder.radarChartVisual(radarChartVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111215,7 +115350,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun radarChartVisual(radarChartVisual: RadarChartVisualProperty) { - cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty::unwrap)) + cdkBuilder.radarChartVisual(radarChartVisual.let(RadarChartVisualProperty.Companion::unwrap)) } /** @@ -111236,7 +115371,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: IResolvable) { - cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable::unwrap)) + cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111246,7 +115381,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun sankeyDiagramVisual(sankeyDiagramVisual: SankeyDiagramVisualProperty) { - cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty::unwrap)) + cdkBuilder.sankeyDiagramVisual(sankeyDiagramVisual.let(SankeyDiagramVisualProperty.Companion::unwrap)) } /** @@ -111268,7 +115403,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: IResolvable) { - cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable::unwrap)) + cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111278,7 +115413,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun scatterPlotVisual(scatterPlotVisual: ScatterPlotVisualProperty) { - cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty::unwrap)) + cdkBuilder.scatterPlotVisual(scatterPlotVisual.let(ScatterPlotVisualProperty.Companion::unwrap)) } /** @@ -111300,7 +115435,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun tableVisual(tableVisual: IResolvable) { - cdkBuilder.tableVisual(tableVisual.let(IResolvable::unwrap)) + cdkBuilder.tableVisual(tableVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111310,7 +115445,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun tableVisual(tableVisual: TableVisualProperty) { - cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty::unwrap)) + cdkBuilder.tableVisual(tableVisual.let(TableVisualProperty.Companion::unwrap)) } /** @@ -111331,7 +115466,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: IResolvable) { - cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable::unwrap)) + cdkBuilder.treeMapVisual(treeMapVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111341,7 +115476,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun treeMapVisual(treeMapVisual: TreeMapVisualProperty) { - cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty::unwrap)) + cdkBuilder.treeMapVisual(treeMapVisual.let(TreeMapVisualProperty.Companion::unwrap)) } /** @@ -111362,7 +115497,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: IResolvable) { - cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable::unwrap)) + cdkBuilder.waterfallVisual(waterfallVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111372,7 +115507,7 @@ public open class CfnTemplate( * *Amazon QuickSight User Guide* . */ override fun waterfallVisual(waterfallVisual: WaterfallVisualProperty) { - cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty::unwrap)) + cdkBuilder.waterfallVisual(waterfallVisual.let(WaterfallVisualProperty.Companion::unwrap)) } /** @@ -111393,7 +115528,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: IResolvable) { - cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable::unwrap)) + cdkBuilder.wordCloudVisual(wordCloudVisual.let(IResolvable.Companion::unwrap)) } /** @@ -111403,7 +115538,7 @@ public open class CfnTemplate( * QuickSight User Guide* . */ override fun wordCloudVisual(wordCloudVisual: WordCloudVisualProperty) { - cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty::unwrap)) + cdkBuilder.wordCloudVisual(wordCloudVisual.let(WordCloudVisualProperty.Companion::unwrap)) } /** @@ -111770,7 +115905,7 @@ public open class CfnTemplate( * text. */ override fun formatText(formatText: IResolvable) { - cdkBuilder.formatText(formatText.let(IResolvable::unwrap)) + cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** @@ -111778,7 +115913,7 @@ public open class CfnTemplate( * text. */ override fun formatText(formatText: LongFormatTextProperty) { - cdkBuilder.formatText(formatText.let(LongFormatTextProperty::unwrap)) + cdkBuilder.formatText(formatText.let(LongFormatTextProperty.Companion::unwrap)) } /** @@ -111917,7 +116052,7 @@ public open class CfnTemplate( * text. */ override fun formatText(formatText: IResolvable) { - cdkBuilder.formatText(formatText.let(IResolvable::unwrap)) + cdkBuilder.formatText(formatText.let(IResolvable.Companion::unwrap)) } /** @@ -111925,7 +116060,7 @@ public open class CfnTemplate( * text. */ override fun formatText(formatText: ShortFormatTextProperty) { - cdkBuilder.formatText(formatText.let(ShortFormatTextProperty::unwrap)) + cdkBuilder.formatText(formatText.let(ShortFormatTextProperty.Companion::unwrap)) } /** @@ -112078,7 +116213,7 @@ public open class CfnTemplate( * @param breakdowns The breakdown field wells of a waterfall visual. */ override fun breakdowns(breakdowns: IResolvable) { - cdkBuilder.breakdowns(breakdowns.let(IResolvable::unwrap)) + cdkBuilder.breakdowns(breakdowns.let(IResolvable.Companion::unwrap)) } /** @@ -112097,7 +116232,7 @@ public open class CfnTemplate( * @param categories The category field wells of a waterfall visual. */ override fun categories(categories: IResolvable) { - cdkBuilder.categories(categories.let(IResolvable::unwrap)) + cdkBuilder.categories(categories.let(IResolvable.Companion::unwrap)) } /** @@ -112116,7 +116251,7 @@ public open class CfnTemplate( * @param values The value field wells of a waterfall visual. */ override fun values(values: IResolvable) { - cdkBuilder.values(values.let(IResolvable::unwrap)) + cdkBuilder.values(values.let(IResolvable.Companion::unwrap)) } /** @@ -112180,6 +116315,132 @@ public open class CfnTemplate( } } + /** + * The color configuration of a waterfall visual. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * WaterfallChartColorConfigurationProperty waterfallChartColorConfigurationProperty = + * WaterfallChartColorConfigurationProperty.builder() + * .groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty.builder() + * .negativeBarColor("negativeBarColor") + * .positiveBarColor("positiveBarColor") + * .totalBarColor("totalBarColor") + * .build()) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartcolorconfiguration.html) + */ + public interface WaterfallChartColorConfigurationProperty { + /** + * The color configuration for individual groups within a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartcolorconfiguration.html#cfn-quicksight-template-waterfallchartcolorconfiguration-groupcolorconfiguration) + */ + public fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() + + /** + * A builder for [WaterfallChartColorConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + public fun groupColorConfiguration(groupColorConfiguration: IResolvable) + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + public + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("9a33ec2c663453be3f7a680457f068733176e5c24f81fd90954ca6698bb9f26c") + public + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty.builder() + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + override fun groupColorConfiguration(groupColorConfiguration: IResolvable) { + cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + override + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty) { + cdkBuilder.groupColorConfiguration(groupColorConfiguration.let(WaterfallChartGroupColorConfigurationProperty.Companion::unwrap)) + } + + /** + * @param groupColorConfiguration The color configuration for individual groups within a + * waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("9a33ec2c663453be3f7a680457f068733176e5c24f81fd90954ca6698bb9f26c") + override + fun groupColorConfiguration(groupColorConfiguration: WaterfallChartGroupColorConfigurationProperty.Builder.() -> Unit): + Unit = + groupColorConfiguration(WaterfallChartGroupColorConfigurationProperty(groupColorConfiguration)) + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty, + ) : CdkObject(cdkObject), WaterfallChartColorConfigurationProperty { + /** + * The color configuration for individual groups within a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartcolorconfiguration.html#cfn-quicksight-template-waterfallchartcolorconfiguration-groupcolorconfiguration) + */ + override fun groupColorConfiguration(): Any? = unwrap(this).getGroupColorConfiguration() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WaterfallChartColorConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty): + WaterfallChartColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + WaterfallChartColorConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WaterfallChartColorConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartColorConfigurationProperty + } + } + /** * The configuration for a waterfall visual. * @@ -112205,6 +116466,13 @@ public open class CfnTemplate( */ public fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() + /** + * The color configuration of a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartconfiguration.html#cfn-quicksight-template-waterfallchartconfiguration-colorconfiguration) + */ + public fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() + /** * The data label configuration of a waterfall visual. * @@ -112308,6 +116576,24 @@ public open class CfnTemplate( public fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit) + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + public fun colorConfiguration(colorConfiguration: IResolvable) + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + public fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("0b93122e11e0821868efef40d4c3593b7d548cda273bf22dabe1e9912ed834e5") + public + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit) + /** * @param dataLabels The data label configuration of a waterfall visual. */ @@ -112469,7 +116755,7 @@ public open class CfnTemplate( * category axis. */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: IResolvable) { - cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112478,7 +116764,7 @@ public open class CfnTemplate( */ override fun categoryAxisDisplayOptions(categoryAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.categoryAxisDisplayOptions(categoryAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -112496,7 +116782,7 @@ public open class CfnTemplate( * axis label. */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: IResolvable) { - cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112505,7 +116791,7 @@ public open class CfnTemplate( */ override fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryAxisLabelOptions(categoryAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -112518,18 +116804,42 @@ public open class CfnTemplate( fun categoryAxisLabelOptions(categoryAxisLabelOptions: ChartAxisLabelOptionsProperty.Builder.() -> Unit): Unit = categoryAxisLabelOptions(ChartAxisLabelOptionsProperty(categoryAxisLabelOptions)) + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + override fun colorConfiguration(colorConfiguration: IResolvable) { + cdkBuilder.colorConfiguration(colorConfiguration.let(IResolvable.Companion::unwrap)) + } + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + override + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty) { + cdkBuilder.colorConfiguration(colorConfiguration.let(WaterfallChartColorConfigurationProperty.Companion::unwrap)) + } + + /** + * @param colorConfiguration The color configuration of a waterfall visual. + */ + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("0b93122e11e0821868efef40d4c3593b7d548cda273bf22dabe1e9912ed834e5") + override + fun colorConfiguration(colorConfiguration: WaterfallChartColorConfigurationProperty.Builder.() -> Unit): + Unit = colorConfiguration(WaterfallChartColorConfigurationProperty(colorConfiguration)) + /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: IResolvable) { - cdkBuilder.dataLabels(dataLabels.let(IResolvable::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(IResolvable.Companion::unwrap)) } /** * @param dataLabels The data label configuration of a waterfall visual. */ override fun dataLabels(dataLabels: DataLabelOptionsProperty) { - cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty::unwrap)) + cdkBuilder.dataLabels(dataLabels.let(DataLabelOptionsProperty.Companion::unwrap)) } /** @@ -112544,14 +116854,14 @@ public open class CfnTemplate( * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field well configuration of a waterfall visual. */ override fun fieldWells(fieldWells: WaterfallChartFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(WaterfallChartFieldWellsProperty.Companion::unwrap)) } /** @@ -112566,14 +116876,14 @@ public open class CfnTemplate( * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: IResolvable) { - cdkBuilder.legend(legend.let(IResolvable::unwrap)) + cdkBuilder.legend(legend.let(IResolvable.Companion::unwrap)) } /** * @param legend The legend configuration of a waterfall visual. */ override fun legend(legend: LegendOptionsProperty) { - cdkBuilder.legend(legend.let(LegendOptionsProperty::unwrap)) + cdkBuilder.legend(legend.let(LegendOptionsProperty.Companion::unwrap)) } /** @@ -112589,7 +116899,7 @@ public open class CfnTemplate( * y-axis. */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: IResolvable) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112598,7 +116908,7 @@ public open class CfnTemplate( */ override fun primaryYAxisDisplayOptions(primaryYAxisDisplayOptions: AxisDisplayOptionsProperty) { - cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisDisplayOptions(primaryYAxisDisplayOptions.let(AxisDisplayOptionsProperty.Companion::unwrap)) } /** @@ -112616,7 +116926,7 @@ public open class CfnTemplate( * label. */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: IResolvable) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112625,7 +116935,7 @@ public open class CfnTemplate( */ override fun primaryYAxisLabelOptions(primaryYAxisLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.primaryYAxisLabelOptions(primaryYAxisLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -112642,14 +116952,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a waterfall visual. */ override fun sortConfiguration(sortConfiguration: WaterfallChartSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(WaterfallChartSortConfigurationProperty.Companion::unwrap)) } /** @@ -112665,14 +116975,14 @@ public open class CfnTemplate( * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: IResolvable) { - cdkBuilder.visualPalette(visualPalette.let(IResolvable::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(IResolvable.Companion::unwrap)) } /** * @param visualPalette The visual palette configuration of a waterfall visual. */ override fun visualPalette(visualPalette: VisualPaletteProperty) { - cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty::unwrap)) + cdkBuilder.visualPalette(visualPalette.let(VisualPaletteProperty.Companion::unwrap)) } /** @@ -112688,7 +116998,7 @@ public open class CfnTemplate( * visual. */ override fun waterfallChartOptions(waterfallChartOptions: IResolvable) { - cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable::unwrap)) + cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(IResolvable.Companion::unwrap)) } /** @@ -112696,7 +117006,7 @@ public open class CfnTemplate( * visual. */ override fun waterfallChartOptions(waterfallChartOptions: WaterfallChartOptionsProperty) { - cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty::unwrap)) + cdkBuilder.waterfallChartOptions(waterfallChartOptions.let(WaterfallChartOptionsProperty.Companion::unwrap)) } /** @@ -112731,6 +117041,13 @@ public open class CfnTemplate( */ override fun categoryAxisLabelOptions(): Any? = unwrap(this).getCategoryAxisLabelOptions() + /** + * The color configuration of a waterfall visual. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartconfiguration.html#cfn-quicksight-template-waterfallchartconfiguration-colorconfiguration) + */ + override fun colorConfiguration(): Any? = unwrap(this).getColorConfiguration() + /** * The data label configuration of a waterfall visual. * @@ -112866,7 +117183,7 @@ public open class CfnTemplate( */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: IResolvable) { - cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -112875,7 +117192,7 @@ public open class CfnTemplate( */ override fun waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells: WaterfallChartAggregatedFieldWellsProperty) { - cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.waterfallChartAggregatedFieldWells(waterfallChartAggregatedFieldWells.let(WaterfallChartAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -112924,6 +117241,144 @@ public open class CfnTemplate( } } + /** + * The color configuration for individual groups within a waterfall visual. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.quicksight.*; + * WaterfallChartGroupColorConfigurationProperty waterfallChartGroupColorConfigurationProperty = + * WaterfallChartGroupColorConfigurationProperty.builder() + * .negativeBarColor("negativeBarColor") + * .positiveBarColor("positiveBarColor") + * .totalBarColor("totalBarColor") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html) + */ + public interface WaterfallChartGroupColorConfigurationProperty { + /** + * Defines the color for the negative bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-template-waterfallchartgroupcolorconfiguration-negativebarcolor) + */ + public fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() + + /** + * Defines the color for the positive bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-template-waterfallchartgroupcolorconfiguration-positivebarcolor) + */ + public fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() + + /** + * Defines the color for the total bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-template-waterfallchartgroupcolorconfiguration-totalbarcolor) + */ + public fun totalBarColor(): String? = unwrap(this).getTotalBarColor() + + /** + * A builder for [WaterfallChartGroupColorConfigurationProperty] + */ + @CdkDslMarker + public interface Builder { + /** + * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. + */ + public fun negativeBarColor(negativeBarColor: String) + + /** + * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. + */ + public fun positiveBarColor(positiveBarColor: String) + + /** + * @param totalBarColor Defines the color for the total bars of a waterfall chart. + */ + public fun totalBarColor(totalBarColor: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty.Builder + = + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty.builder() + + /** + * @param negativeBarColor Defines the color for the negative bars of a waterfall chart. + */ + override fun negativeBarColor(negativeBarColor: String) { + cdkBuilder.negativeBarColor(negativeBarColor) + } + + /** + * @param positiveBarColor Defines the color for the positive bars of a waterfall chart. + */ + override fun positiveBarColor(positiveBarColor: String) { + cdkBuilder.positiveBarColor(positiveBarColor) + } + + /** + * @param totalBarColor Defines the color for the total bars of a waterfall chart. + */ + override fun totalBarColor(totalBarColor: String) { + cdkBuilder.totalBarColor(totalBarColor) + } + + public fun build(): + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty + = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty, + ) : CdkObject(cdkObject), WaterfallChartGroupColorConfigurationProperty { + /** + * Defines the color for the negative bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-template-waterfallchartgroupcolorconfiguration-negativebarcolor) + */ + override fun negativeBarColor(): String? = unwrap(this).getNegativeBarColor() + + /** + * Defines the color for the positive bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-template-waterfallchartgroupcolorconfiguration-positivebarcolor) + */ + override fun positiveBarColor(): String? = unwrap(this).getPositiveBarColor() + + /** + * Defines the color for the total bars of a waterfall chart. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-waterfallchartgroupcolorconfiguration.html#cfn-quicksight-template-waterfallchartgroupcolorconfiguration-totalbarcolor) + */ + override fun totalBarColor(): String? = unwrap(this).getTotalBarColor() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): + WaterfallChartGroupColorConfigurationProperty { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty): + WaterfallChartGroupColorConfigurationProperty = CdkObjectWrappers.wrap(cdkObject) as? + WaterfallChartGroupColorConfigurationProperty ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: WaterfallChartGroupColorConfigurationProperty): + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty + = (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallChartGroupColorConfigurationProperty + } + } + /** * The options that determine the presentation of a waterfall visual. * @@ -113119,14 +117574,14 @@ public open class CfnTemplate( * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: IResolvable) { - cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(IResolvable.Companion::unwrap)) } /** * @param breakdownItemsLimit The limit on the number of bar groups that are displayed. */ override fun breakdownItemsLimit(breakdownItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.breakdownItemsLimit(breakdownItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -113142,7 +117597,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of the category fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -113367,7 +117822,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -113386,14 +117841,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration for a waterfall visual. */ override fun chartConfiguration(chartConfiguration: WaterfallChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(WaterfallChartConfigurationProperty.Companion::unwrap)) } /** @@ -113410,7 +117865,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -113432,14 +117887,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -113454,14 +117909,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -114378,7 +118833,7 @@ public open class CfnTemplate( * Values are grouped by group by fields. */ override fun groupBy(groupBy: IResolvable) { - cdkBuilder.groupBy(groupBy.let(IResolvable::unwrap)) + cdkBuilder.groupBy(groupBy.let(IResolvable.Companion::unwrap)) } /** @@ -114400,7 +118855,7 @@ public open class CfnTemplate( * Values are aggregated based on group by fields. */ override fun size(size: IResolvable) { - cdkBuilder.size(size.let(IResolvable::unwrap)) + cdkBuilder.size(size.let(IResolvable.Companion::unwrap)) } /** @@ -114593,7 +119048,7 @@ public open class CfnTemplate( * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: IResolvable) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(IResolvable.Companion::unwrap)) } /** @@ -114601,7 +119056,7 @@ public open class CfnTemplate( * visibility) for the word cloud category. */ override fun categoryLabelOptions(categoryLabelOptions: ChartAxisLabelOptionsProperty) { - cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty::unwrap)) + cdkBuilder.categoryLabelOptions(categoryLabelOptions.let(ChartAxisLabelOptionsProperty.Companion::unwrap)) } /** @@ -114618,14 +119073,14 @@ public open class CfnTemplate( * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: IResolvable) { - cdkBuilder.fieldWells(fieldWells.let(IResolvable::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(IResolvable.Companion::unwrap)) } /** * @param fieldWells The field wells of the visual. */ override fun fieldWells(fieldWells: WordCloudFieldWellsProperty) { - cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty::unwrap)) + cdkBuilder.fieldWells(fieldWells.let(WordCloudFieldWellsProperty.Companion::unwrap)) } /** @@ -114640,14 +119095,14 @@ public open class CfnTemplate( * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: IResolvable) { - cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param sortConfiguration The sort configuration of a word cloud visual. */ override fun sortConfiguration(sortConfiguration: WordCloudSortConfigurationProperty) { - cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty::unwrap)) + cdkBuilder.sortConfiguration(sortConfiguration.let(WordCloudSortConfigurationProperty.Companion::unwrap)) } /** @@ -114663,14 +119118,14 @@ public open class CfnTemplate( * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: IResolvable) { - cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable::unwrap)) + cdkBuilder.wordCloudOptions(wordCloudOptions.let(IResolvable.Companion::unwrap)) } /** * @param wordCloudOptions The options for a word cloud visual. */ override fun wordCloudOptions(wordCloudOptions: WordCloudOptionsProperty) { - cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty::unwrap)) + cdkBuilder.wordCloudOptions(wordCloudOptions.let(WordCloudOptionsProperty.Companion::unwrap)) } /** @@ -115286,7 +119741,7 @@ public open class CfnTemplate( * @param wordCloudAggregatedFieldWells The aggregated field wells of a word cloud. */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: IResolvable) { - cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable::unwrap)) + cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(IResolvable.Companion::unwrap)) } /** @@ -115294,7 +119749,7 @@ public open class CfnTemplate( */ override fun wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells: WordCloudAggregatedFieldWellsProperty) { - cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty::unwrap)) + cdkBuilder.wordCloudAggregatedFieldWells(wordCloudAggregatedFieldWells.let(WordCloudAggregatedFieldWellsProperty.Companion::unwrap)) } /** @@ -115684,7 +120139,7 @@ public open class CfnTemplate( * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: IResolvable) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(IResolvable.Companion::unwrap)) } /** @@ -115692,7 +120147,7 @@ public open class CfnTemplate( * cloud. */ override fun categoryItemsLimit(categoryItemsLimit: ItemsLimitConfigurationProperty) { - cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty::unwrap)) + cdkBuilder.categoryItemsLimit(categoryItemsLimit.let(ItemsLimitConfigurationProperty.Companion::unwrap)) } /** @@ -115709,7 +120164,7 @@ public open class CfnTemplate( * @param categorySort The sort configuration of group by fields. */ override fun categorySort(categorySort: IResolvable) { - cdkBuilder.categorySort(categorySort.let(IResolvable::unwrap)) + cdkBuilder.categorySort(categorySort.let(IResolvable.Companion::unwrap)) } /** @@ -115934,7 +120389,7 @@ public open class CfnTemplate( * @param actions The list of custom actions that are configured for a visual. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -115953,14 +120408,14 @@ public open class CfnTemplate( * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: IResolvable) { - cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param chartConfiguration The configuration settings of the visual. */ override fun chartConfiguration(chartConfiguration: WordCloudChartConfigurationProperty) { - cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty::unwrap)) + cdkBuilder.chartConfiguration(chartConfiguration.let(WordCloudChartConfigurationProperty.Companion::unwrap)) } /** @@ -115977,7 +120432,7 @@ public open class CfnTemplate( * drill-ups. */ override fun columnHierarchies(columnHierarchies: IResolvable) { - cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable::unwrap)) + cdkBuilder.columnHierarchies(columnHierarchies.let(IResolvable.Companion::unwrap)) } /** @@ -115999,14 +120454,14 @@ public open class CfnTemplate( * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: IResolvable) { - cdkBuilder.subtitle(subtitle.let(IResolvable::unwrap)) + cdkBuilder.subtitle(subtitle.let(IResolvable.Companion::unwrap)) } /** * @param subtitle The subtitle that is displayed on the visual. */ override fun subtitle(subtitle: VisualSubtitleLabelOptionsProperty) { - cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty::unwrap)) + cdkBuilder.subtitle(subtitle.let(VisualSubtitleLabelOptionsProperty.Companion::unwrap)) } /** @@ -116021,14 +120476,14 @@ public open class CfnTemplate( * @param title The title that is displayed on the visual. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** * @param title The title that is displayed on the visual. */ override fun title(title: VisualTitleLabelOptionsProperty) { - cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty::unwrap)) + cdkBuilder.title(title.let(VisualTitleLabelOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplateProps.kt index fd19df4b49..d16995110b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTemplateProps.kt @@ -279,14 +279,14 @@ public interface CfnTemplateProps { * @param definition the value to be set. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** * @param definition the value to be set. */ override fun definition(definition: CfnTemplate.TemplateVersionDefinitionProperty) { - cdkBuilder.definition(definition.let(CfnTemplate.TemplateVersionDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnTemplate.TemplateVersionDefinitionProperty.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface CfnTemplateProps { * @param permissions A list of resource permissions to be set on the template. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface CfnTemplateProps { * valid. */ override fun sourceEntity(sourceEntity: IResolvable) { - cdkBuilder.sourceEntity(sourceEntity.let(IResolvable::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(IResolvable.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public interface CfnTemplateProps { * valid. */ override fun sourceEntity(sourceEntity: CfnTemplate.TemplateSourceEntityProperty) { - cdkBuilder.sourceEntity(sourceEntity.let(CfnTemplate.TemplateSourceEntityProperty::unwrap)) + cdkBuilder.sourceEntity(sourceEntity.let(CfnTemplate.TemplateSourceEntityProperty.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public interface CfnTemplateProps { * the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface CfnTemplateProps { * When you set this value to `LENIENT` , validation is skipped for specific errors. */ override fun validationStrategy(validationStrategy: IResolvable) { - cdkBuilder.validationStrategy(validationStrategy.let(IResolvable::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface CfnTemplateProps { * When you set this value to `LENIENT` , validation is skipped for specific errors. */ override fun validationStrategy(validationStrategy: CfnTemplate.ValidationStrategyProperty) { - cdkBuilder.validationStrategy(validationStrategy.let(CfnTemplate.ValidationStrategyProperty::unwrap)) + cdkBuilder.validationStrategy(validationStrategy.let(CfnTemplate.ValidationStrategyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTheme.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTheme.kt index a53e7cae64..aa1278c22e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTheme.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTheme.kt @@ -111,8 +111,8 @@ public open class CfnTheme( id: String, props: CfnThemeProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnTheme(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnThemeProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnTheme(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnThemeProps.Companion::unwrap)) ) public constructor( @@ -143,7 +143,7 @@ public open class CfnTheme( public open fun attrType(): String = unwrap(this).getAttrType() /** - * + * A version of a theme.

. */ public open fun attrVersion(): IResolvable = unwrap(this).getAttrVersion().let(IResolvable::wrap) @@ -247,14 +247,14 @@ public open class CfnTheme( * The theme configuration, which contains the theme display properties. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The theme configuration, which contains the theme display properties. */ public open fun configuration(`value`: ThemeConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(ThemeConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(ThemeConfigurationProperty.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnTheme( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnTheme( * A valid grouping of resource permissions to apply to the new theme. */ public open fun permissions(`value`: IResolvable) { - unwrap(this).setPermissions(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnTheme( * A map of the key-value pairs for the resource tag or tags that you want to add to the resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public open class CfnTheme( * @param configuration The theme configuration, which contains the theme display properties. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public open class CfnTheme( * @param configuration The theme configuration, which contains the theme display properties. */ override fun configuration(configuration: ThemeConfigurationProperty) { - cdkBuilder.configuration(configuration.let(ThemeConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(ThemeConfigurationProperty.Companion::unwrap)) } /** @@ -560,7 +560,7 @@ public open class CfnTheme( * @param permissions A valid grouping of resource permissions to apply to the new theme. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CfnTheme( * the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class CfnTheme( * @param show The option to enable display of borders for visuals. */ override fun show(show: IResolvable) { - cdkBuilder.show(show.let(IResolvable::unwrap)) + cdkBuilder.show(show.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.quicksight.CfnTheme.BorderStyleProperty = @@ -1047,7 +1047,7 @@ public open class CfnTheme( * tiles. */ override fun show(show: IResolvable) { - cdkBuilder.show(show.let(IResolvable::unwrap)) + cdkBuilder.show(show.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.quicksight.CfnTheme.GutterStyleProperty = @@ -1139,7 +1139,7 @@ public open class CfnTheme( * @param show This Boolean value controls whether to display sheet margins. */ override fun show(show: IResolvable) { - cdkBuilder.show(show.let(IResolvable::unwrap)) + cdkBuilder.show(show.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.quicksight.CfnTheme.MarginStyleProperty = @@ -1440,14 +1440,14 @@ public open class CfnTheme( * @param tile The display options for tiles. */ override fun tile(tile: IResolvable) { - cdkBuilder.tile(tile.let(IResolvable::unwrap)) + cdkBuilder.tile(tile.let(IResolvable.Companion::unwrap)) } /** * @param tile The display options for tiles. */ override fun tile(tile: TileStyleProperty) { - cdkBuilder.tile(tile.let(TileStyleProperty::unwrap)) + cdkBuilder.tile(tile.let(TileStyleProperty.Companion::unwrap)) } /** @@ -1462,14 +1462,14 @@ public open class CfnTheme( * @param tileLayout The layout options for tiles. */ override fun tileLayout(tileLayout: IResolvable) { - cdkBuilder.tileLayout(tileLayout.let(IResolvable::unwrap)) + cdkBuilder.tileLayout(tileLayout.let(IResolvable.Companion::unwrap)) } /** * @param tileLayout The layout options for tiles. */ override fun tileLayout(tileLayout: TileLayoutStyleProperty) { - cdkBuilder.tileLayout(tileLayout.let(TileLayoutStyleProperty::unwrap)) + cdkBuilder.tileLayout(tileLayout.let(TileLayoutStyleProperty.Companion::unwrap)) } /** @@ -1693,14 +1693,14 @@ public open class CfnTheme( * @param dataColorPalette Color properties that apply to chart data colors. */ override fun dataColorPalette(dataColorPalette: IResolvable) { - cdkBuilder.dataColorPalette(dataColorPalette.let(IResolvable::unwrap)) + cdkBuilder.dataColorPalette(dataColorPalette.let(IResolvable.Companion::unwrap)) } /** * @param dataColorPalette Color properties that apply to chart data colors. */ override fun dataColorPalette(dataColorPalette: DataColorPaletteProperty) { - cdkBuilder.dataColorPalette(dataColorPalette.let(DataColorPaletteProperty::unwrap)) + cdkBuilder.dataColorPalette(dataColorPalette.let(DataColorPaletteProperty.Companion::unwrap)) } /** @@ -1715,14 +1715,14 @@ public open class CfnTheme( * @param sheet Display options related to sheets. */ override fun sheet(sheet: IResolvable) { - cdkBuilder.sheet(sheet.let(IResolvable::unwrap)) + cdkBuilder.sheet(sheet.let(IResolvable.Companion::unwrap)) } /** * @param sheet Display options related to sheets. */ override fun sheet(sheet: SheetStyleProperty) { - cdkBuilder.sheet(sheet.let(SheetStyleProperty::unwrap)) + cdkBuilder.sheet(sheet.let(SheetStyleProperty.Companion::unwrap)) } /** @@ -1737,14 +1737,14 @@ public open class CfnTheme( * @param typography the value to be set. */ override fun typography(typography: IResolvable) { - cdkBuilder.typography(typography.let(IResolvable::unwrap)) + cdkBuilder.typography(typography.let(IResolvable.Companion::unwrap)) } /** * @param typography the value to be set. */ override fun typography(typography: TypographyProperty) { - cdkBuilder.typography(typography.let(TypographyProperty::unwrap)) + cdkBuilder.typography(typography.let(TypographyProperty.Companion::unwrap)) } /** @@ -1760,7 +1760,7 @@ public open class CfnTheme( * colors that apply to data. */ override fun uiColorPalette(uiColorPalette: IResolvable) { - cdkBuilder.uiColorPalette(uiColorPalette.let(IResolvable::unwrap)) + cdkBuilder.uiColorPalette(uiColorPalette.let(IResolvable.Companion::unwrap)) } /** @@ -1768,7 +1768,7 @@ public open class CfnTheme( * colors that apply to data. */ override fun uiColorPalette(uiColorPalette: UIColorPaletteProperty) { - cdkBuilder.uiColorPalette(uiColorPalette.let(UIColorPaletteProperty::unwrap)) + cdkBuilder.uiColorPalette(uiColorPalette.let(UIColorPaletteProperty.Companion::unwrap)) } /** @@ -2169,7 +2169,7 @@ public open class CfnTheme( * properties. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -2177,7 +2177,7 @@ public open class CfnTheme( * properties. */ override fun configuration(configuration: ThemeConfigurationProperty) { - cdkBuilder.configuration(configuration.let(ThemeConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(ThemeConfigurationProperty.Companion::unwrap)) } /** @@ -2207,7 +2207,7 @@ public open class CfnTheme( * @param errors Errors associated with the theme. */ override fun errors(errors: IResolvable) { - cdkBuilder.errors(errors.let(IResolvable::unwrap)) + cdkBuilder.errors(errors.let(IResolvable.Companion::unwrap)) } /** @@ -2405,14 +2405,14 @@ public open class CfnTheme( * @param gutter The gutter settings that apply between tiles. */ override fun gutter(gutter: IResolvable) { - cdkBuilder.gutter(gutter.let(IResolvable::unwrap)) + cdkBuilder.gutter(gutter.let(IResolvable.Companion::unwrap)) } /** * @param gutter The gutter settings that apply between tiles. */ override fun gutter(gutter: GutterStyleProperty) { - cdkBuilder.gutter(gutter.let(GutterStyleProperty::unwrap)) + cdkBuilder.gutter(gutter.let(GutterStyleProperty.Companion::unwrap)) } /** @@ -2427,14 +2427,14 @@ public open class CfnTheme( * @param margin The margin settings that apply around the outside edge of sheets. */ override fun margin(margin: IResolvable) { - cdkBuilder.margin(margin.let(IResolvable::unwrap)) + cdkBuilder.margin(margin.let(IResolvable.Companion::unwrap)) } /** * @param margin The margin settings that apply around the outside edge of sheets. */ override fun margin(margin: MarginStyleProperty) { - cdkBuilder.margin(margin.let(MarginStyleProperty::unwrap)) + cdkBuilder.margin(margin.let(MarginStyleProperty.Companion::unwrap)) } /** @@ -2544,14 +2544,14 @@ public open class CfnTheme( * @param border The border around a tile. */ override fun border(border: IResolvable) { - cdkBuilder.border(border.let(IResolvable::unwrap)) + cdkBuilder.border(border.let(IResolvable.Companion::unwrap)) } /** * @param border The border around a tile. */ override fun border(border: BorderStyleProperty) { - cdkBuilder.border(border.let(BorderStyleProperty::unwrap)) + cdkBuilder.border(border.let(BorderStyleProperty.Companion::unwrap)) } /** @@ -2651,7 +2651,7 @@ public open class CfnTheme( * @param fontFamilies Determines the list of font families. */ override fun fontFamilies(fontFamilies: IResolvable) { - cdkBuilder.fontFamilies(fontFamilies.let(IResolvable::unwrap)) + cdkBuilder.fontFamilies(fontFamilies.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnThemeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnThemeProps.kt index b8a07fb5c4..f6a402dad8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnThemeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnThemeProps.kt @@ -259,14 +259,14 @@ public interface CfnThemeProps { * @param configuration The theme configuration, which contains the theme display properties. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** * @param configuration The theme configuration, which contains the theme display properties. */ override fun configuration(configuration: CfnTheme.ThemeConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnTheme.ThemeConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnTheme.ThemeConfigurationProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnThemeProps { * @param permissions A valid grouping of resource permissions to apply to the new theme. */ override fun permissions(permissions: IResolvable) { - cdkBuilder.permissions(permissions.let(IResolvable::unwrap)) + cdkBuilder.permissions(permissions.let(IResolvable.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface CfnThemeProps { * the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopic.kt index 8e45bf79b9..71692a84f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopic.kt @@ -72,6 +72,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -126,6 +127,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -242,7 +244,7 @@ public open class CfnTopic( cdkObject: software.amazon.awscdk.services.quicksight.CfnTopic, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.quicksight.CfnTopic(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.quicksight.CfnTopic(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -251,8 +253,8 @@ public open class CfnTopic( id: String, props: CfnTopicProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnTopic(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTopicProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnTopic(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTopicProps.Companion::unwrap)) ) public constructor( @@ -288,7 +290,7 @@ public open class CfnTopic( * The data sets that the topic is associated with. */ public open fun dataSets(`value`: IResolvable) { - unwrap(this).setDataSets(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -321,7 +323,7 @@ public open class CfnTopic( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -349,12 +351,12 @@ public open class CfnTopic( } /** - * The user experience version of a topic. + * The user experience version of the topic. */ public open fun userExperienceVersion(): String? = unwrap(this).getUserExperienceVersion() /** - * The user experience version of a topic. + * The user experience version of the topic. */ public open fun userExperienceVersion(`value`: String) { unwrap(this).setUserExperienceVersion(`value`) @@ -424,10 +426,10 @@ public open class CfnTopic( public fun topicId(topicId: String) /** - * The user experience version of a topic. + * The user experience version of the topic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-topic.html#cfn-quicksight-topic-userexperienceversion) - * @param userExperienceVersion The user experience version of a topic. + * @param userExperienceVersion The user experience version of the topic. */ public fun userExperienceVersion(userExperienceVersion: String) } @@ -456,7 +458,7 @@ public open class CfnTopic( * @param dataSets The data sets that the topic is associated with. */ override fun dataSets(dataSets: IResolvable) { - cdkBuilder.dataSets(dataSets.let(IResolvable::unwrap)) + cdkBuilder.dataSets(dataSets.let(IResolvable.Companion::unwrap)) } /** @@ -510,10 +512,10 @@ public open class CfnTopic( } /** - * The user experience version of a topic. + * The user experience version of the topic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-topic.html#cfn-quicksight-topic-userexperienceversion) - * @param userExperienceVersion The user experience version of a topic. + * @param userExperienceVersion The user experience version of the topic. */ override fun userExperienceVersion(userExperienceVersion: String) { cdkBuilder.userExperienceVersion(userExperienceVersion) @@ -1076,6 +1078,7 @@ public open class CfnTopic( * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -1130,6 +1133,7 @@ public open class CfnTopic( * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -1401,7 +1405,7 @@ public open class CfnTopic( * @param calculatedFields The list of calculated field definitions. */ override fun calculatedFields(calculatedFields: IResolvable) { - cdkBuilder.calculatedFields(calculatedFields.let(IResolvable::unwrap)) + cdkBuilder.calculatedFields(calculatedFields.let(IResolvable.Companion::unwrap)) } /** @@ -1421,7 +1425,7 @@ public open class CfnTopic( * @param columns The list of column definitions. */ override fun columns(columns: IResolvable) { - cdkBuilder.columns(columns.let(IResolvable::unwrap)) + cdkBuilder.columns(columns.let(IResolvable.Companion::unwrap)) } /** @@ -1440,14 +1444,14 @@ public open class CfnTopic( * @param dataAggregation The definition of a data aggregation. */ override fun dataAggregation(dataAggregation: IResolvable) { - cdkBuilder.dataAggregation(dataAggregation.let(IResolvable::unwrap)) + cdkBuilder.dataAggregation(dataAggregation.let(IResolvable.Companion::unwrap)) } /** * @param dataAggregation The definition of a data aggregation. */ override fun dataAggregation(dataAggregation: DataAggregationProperty) { - cdkBuilder.dataAggregation(dataAggregation.let(DataAggregationProperty::unwrap)) + cdkBuilder.dataAggregation(dataAggregation.let(DataAggregationProperty.Companion::unwrap)) } /** @@ -1483,7 +1487,7 @@ public open class CfnTopic( * @param filters The list of filter definitions. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -1502,7 +1506,7 @@ public open class CfnTopic( * @param namedEntities The list of named entities definitions. */ override fun namedEntities(namedEntities: IResolvable) { - cdkBuilder.namedEntities(namedEntities.let(IResolvable::unwrap)) + cdkBuilder.namedEntities(namedEntities.let(IResolvable.Companion::unwrap)) } /** @@ -1701,14 +1705,14 @@ public open class CfnTopic( * @param displayFormatOptions The additional options for display formatting. */ override fun displayFormatOptions(displayFormatOptions: IResolvable) { - cdkBuilder.displayFormatOptions(displayFormatOptions.let(IResolvable::unwrap)) + cdkBuilder.displayFormatOptions(displayFormatOptions.let(IResolvable.Companion::unwrap)) } /** * @param displayFormatOptions The additional options for display formatting. */ override fun displayFormatOptions(displayFormatOptions: DisplayFormatOptionsProperty) { - cdkBuilder.displayFormatOptions(displayFormatOptions.let(DisplayFormatOptionsProperty::unwrap)) + cdkBuilder.displayFormatOptions(displayFormatOptions.let(DisplayFormatOptionsProperty.Companion::unwrap)) } /** @@ -2030,14 +2034,14 @@ public open class CfnTopic( * @param negativeFormat The negative format. */ override fun negativeFormat(negativeFormat: IResolvable) { - cdkBuilder.negativeFormat(negativeFormat.let(IResolvable::unwrap)) + cdkBuilder.negativeFormat(negativeFormat.let(IResolvable.Companion::unwrap)) } /** * @param negativeFormat The negative format. */ override fun negativeFormat(negativeFormat: NegativeFormatProperty) { - cdkBuilder.negativeFormat(negativeFormat.let(NegativeFormatProperty::unwrap)) + cdkBuilder.negativeFormat(negativeFormat.let(NegativeFormatProperty.Companion::unwrap)) } /** @@ -2082,7 +2086,7 @@ public open class CfnTopic( * @param useBlankCellFormat A Boolean value that indicates whether to use blank cell format. */ override fun useBlankCellFormat(useBlankCellFormat: IResolvable) { - cdkBuilder.useBlankCellFormat(useBlankCellFormat.let(IResolvable::unwrap)) + cdkBuilder.useBlankCellFormat(useBlankCellFormat.let(IResolvable.Companion::unwrap)) } /** @@ -2096,7 +2100,7 @@ public open class CfnTopic( * @param useGrouping A Boolean value that indicates whether to use grouping. */ override fun useGrouping(useGrouping: IResolvable) { - cdkBuilder.useGrouping(useGrouping.let(IResolvable::unwrap)) + cdkBuilder.useGrouping(useGrouping.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2302,7 +2306,7 @@ public open class CfnTopic( * @param aggregationFunctionParameters The additional parameters for an aggregation function. */ override fun aggregationFunctionParameters(aggregationFunctionParameters: IResolvable) { - cdkBuilder.aggregationFunctionParameters(aggregationFunctionParameters.let(IResolvable::unwrap)) + cdkBuilder.aggregationFunctionParameters(aggregationFunctionParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2487,14 +2491,14 @@ public open class CfnTopic( * @param metric The definition of a metric. */ override fun metric(metric: IResolvable) { - cdkBuilder.metric(metric.let(IResolvable::unwrap)) + cdkBuilder.metric(metric.let(IResolvable.Companion::unwrap)) } /** * @param metric The definition of a metric. */ override fun metric(metric: NamedEntityDefinitionMetricProperty) { - cdkBuilder.metric(metric.let(NamedEntityDefinitionMetricProperty::unwrap)) + cdkBuilder.metric(metric.let(NamedEntityDefinitionMetricProperty.Companion::unwrap)) } /** @@ -2898,7 +2902,7 @@ public open class CfnTopic( * @param typeParameters The semantic entity type parameters. */ override fun typeParameters(typeParameters: IResolvable) { - cdkBuilder.typeParameters(typeParameters.let(IResolvable::unwrap)) + cdkBuilder.typeParameters(typeParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3150,7 +3154,7 @@ public open class CfnTopic( * @param typeParameters The semantic type parameters. */ override fun typeParameters(typeParameters: IResolvable) { - cdkBuilder.typeParameters(typeParameters.let(IResolvable::unwrap)) + cdkBuilder.typeParameters(typeParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3285,6 +3289,7 @@ public open class CfnTopic( * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -3380,6 +3385,11 @@ public open class CfnTopic( */ public fun defaultFormatting(): Any? = unwrap(this).getDefaultFormatting() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-topiccalculatedfield.html#cfn-quicksight-topic-topiccalculatedfield-disableindexing) + */ + public fun disableIndexing(): Any? = unwrap(this).getDisableIndexing() + /** * The calculated field expression. * @@ -3545,6 +3555,16 @@ public open class CfnTopic( @JvmName("02c51762a3b14223e555dd61f5427568c1ce1d75f597e379476840dd4503d4db") public fun defaultFormatting(defaultFormatting: DefaultFormattingProperty.Builder.() -> Unit) + /** + * @param disableIndexing the value to be set. + */ + public fun disableIndexing(disableIndexing: Boolean) + + /** + * @param disableIndexing the value to be set. + */ + public fun disableIndexing(disableIndexing: IResolvable) + /** * @param expression The calculated field expression. */ @@ -3688,7 +3708,7 @@ public open class CfnTopic( * @param cellValueSynonyms The other names or aliases for the calculated field cell value. */ override fun cellValueSynonyms(cellValueSynonyms: IResolvable) { - cdkBuilder.cellValueSynonyms(cellValueSynonyms.let(IResolvable::unwrap)) + cdkBuilder.cellValueSynonyms(cellValueSynonyms.let(IResolvable.Companion::unwrap)) } /** @@ -3717,7 +3737,7 @@ public open class CfnTopic( * it's used in a comparative context. */ override fun comparativeOrder(comparativeOrder: IResolvable) { - cdkBuilder.comparativeOrder(comparativeOrder.let(IResolvable::unwrap)) + cdkBuilder.comparativeOrder(comparativeOrder.let(IResolvable.Companion::unwrap)) } /** @@ -3725,7 +3745,7 @@ public open class CfnTopic( * it's used in a comparative context. */ override fun comparativeOrder(comparativeOrder: ComparativeOrderProperty) { - cdkBuilder.comparativeOrder(comparativeOrder.let(ComparativeOrderProperty::unwrap)) + cdkBuilder.comparativeOrder(comparativeOrder.let(ComparativeOrderProperty.Companion::unwrap)) } /** @@ -3741,14 +3761,14 @@ public open class CfnTopic( * @param defaultFormatting The default formatting definition. */ override fun defaultFormatting(defaultFormatting: IResolvable) { - cdkBuilder.defaultFormatting(defaultFormatting.let(IResolvable::unwrap)) + cdkBuilder.defaultFormatting(defaultFormatting.let(IResolvable.Companion::unwrap)) } /** * @param defaultFormatting The default formatting definition. */ override fun defaultFormatting(defaultFormatting: DefaultFormattingProperty) { - cdkBuilder.defaultFormatting(defaultFormatting.let(DefaultFormattingProperty::unwrap)) + cdkBuilder.defaultFormatting(defaultFormatting.let(DefaultFormattingProperty.Companion::unwrap)) } /** @@ -3760,6 +3780,20 @@ public open class CfnTopic( fun defaultFormatting(defaultFormatting: DefaultFormattingProperty.Builder.() -> Unit): Unit = defaultFormatting(DefaultFormattingProperty(defaultFormatting)) + /** + * @param disableIndexing the value to be set. + */ + override fun disableIndexing(disableIndexing: Boolean) { + cdkBuilder.disableIndexing(disableIndexing) + } + + /** + * @param disableIndexing the value to be set. + */ + override fun disableIndexing(disableIndexing: IResolvable) { + cdkBuilder.disableIndexing(disableIndexing.let(IResolvable.Companion::unwrap)) + } + /** * @param expression The calculated field expression. */ @@ -3780,7 +3814,7 @@ public open class CfnTopic( * in the topic. */ override fun isIncludedInTopic(isIncludedInTopic: IResolvable) { - cdkBuilder.isIncludedInTopic(isIncludedInTopic.let(IResolvable::unwrap)) + cdkBuilder.isIncludedInTopic(isIncludedInTopic.let(IResolvable.Companion::unwrap)) } /** @@ -3796,7 +3830,7 @@ public open class CfnTopic( * calculated field in filters. */ override fun neverAggregateInFilter(neverAggregateInFilter: IResolvable) { - cdkBuilder.neverAggregateInFilter(neverAggregateInFilter.let(IResolvable::unwrap)) + cdkBuilder.neverAggregateInFilter(neverAggregateInFilter.let(IResolvable.Companion::unwrap)) } /** @@ -3810,7 +3844,7 @@ public open class CfnTopic( * @param nonAdditive The non additive for the table style target. */ override fun nonAdditive(nonAdditive: IResolvable) { - cdkBuilder.nonAdditive(nonAdditive.let(IResolvable::unwrap)) + cdkBuilder.nonAdditive(nonAdditive.let(IResolvable.Companion::unwrap)) } /** @@ -3836,14 +3870,14 @@ public open class CfnTopic( * @param semanticType The semantic type. */ override fun semanticType(semanticType: IResolvable) { - cdkBuilder.semanticType(semanticType.let(IResolvable::unwrap)) + cdkBuilder.semanticType(semanticType.let(IResolvable.Companion::unwrap)) } /** * @param semanticType The semantic type. */ override fun semanticType(semanticType: SemanticTypeProperty) { - cdkBuilder.semanticType(semanticType.let(SemanticTypeProperty::unwrap)) + cdkBuilder.semanticType(semanticType.let(SemanticTypeProperty.Companion::unwrap)) } /** @@ -3945,6 +3979,11 @@ public open class CfnTopic( */ override fun defaultFormatting(): Any? = unwrap(this).getDefaultFormatting() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-topiccalculatedfield.html#cfn-quicksight-topic-topiccalculatedfield-disableindexing) + */ + override fun disableIndexing(): Any? = unwrap(this).getDisableIndexing() + /** * The calculated field expression. * @@ -4124,7 +4163,7 @@ public open class CfnTopic( * This element is used to specify a list of values for the constant. */ override fun collectiveConstant(collectiveConstant: IResolvable) { - cdkBuilder.collectiveConstant(collectiveConstant.let(IResolvable::unwrap)) + cdkBuilder.collectiveConstant(collectiveConstant.let(IResolvable.Companion::unwrap)) } /** @@ -4132,7 +4171,7 @@ public open class CfnTopic( * This element is used to specify a list of values for the constant. */ override fun collectiveConstant(collectiveConstant: CollectiveConstantProperty) { - cdkBuilder.collectiveConstant(collectiveConstant.let(CollectiveConstantProperty::unwrap)) + cdkBuilder.collectiveConstant(collectiveConstant.let(CollectiveConstantProperty.Companion::unwrap)) } /** @@ -4351,14 +4390,14 @@ public open class CfnTopic( * @param constant The constant used in a category filter. */ override fun constant(constant: IResolvable) { - cdkBuilder.constant(constant.let(IResolvable::unwrap)) + cdkBuilder.constant(constant.let(IResolvable.Companion::unwrap)) } /** * @param constant The constant used in a category filter. */ override fun constant(constant: TopicCategoryFilterConstantProperty) { - cdkBuilder.constant(constant.let(TopicCategoryFilterConstantProperty::unwrap)) + cdkBuilder.constant(constant.let(TopicCategoryFilterConstantProperty.Companion::unwrap)) } /** @@ -4380,7 +4419,7 @@ public open class CfnTopic( * @param inverse A Boolean value that indicates if the filter is inverse. */ override fun inverse(inverse: IResolvable) { - cdkBuilder.inverse(inverse.let(IResolvable::unwrap)) + cdkBuilder.inverse(inverse.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4492,6 +4531,7 @@ public open class CfnTopic( * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -4589,6 +4629,11 @@ public open class CfnTopic( */ public fun defaultFormatting(): Any? = unwrap(this).getDefaultFormatting() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-topiccolumn.html#cfn-quicksight-topic-topiccolumn-disableindexing) + */ + public fun disableIndexing(): Any? = unwrap(this).getDisableIndexing() + /** * A Boolean value that indicates whether the column is included in the query results. * @@ -4750,6 +4795,16 @@ public open class CfnTopic( @JvmName("fbf22ca6915fc59cae32f1331daaa003dcc5dc1cc3113e283fb23558c1b14366") public fun defaultFormatting(defaultFormatting: DefaultFormattingProperty.Builder.() -> Unit) + /** + * @param disableIndexing the value to be set. + */ + public fun disableIndexing(disableIndexing: Boolean) + + /** + * @param disableIndexing the value to be set. + */ + public fun disableIndexing(disableIndexing: IResolvable) + /** * @param isIncludedInTopic A Boolean value that indicates whether the column is included in * the query results. @@ -4858,7 +4913,7 @@ public open class CfnTopic( * @param cellValueSynonyms The other names or aliases for the column cell value. */ override fun cellValueSynonyms(cellValueSynonyms: IResolvable) { - cdkBuilder.cellValueSynonyms(cellValueSynonyms.let(IResolvable::unwrap)) + cdkBuilder.cellValueSynonyms(cellValueSynonyms.let(IResolvable.Companion::unwrap)) } /** @@ -4921,7 +4976,7 @@ public open class CfnTopic( * in a comparative context. */ override fun comparativeOrder(comparativeOrder: IResolvable) { - cdkBuilder.comparativeOrder(comparativeOrder.let(IResolvable::unwrap)) + cdkBuilder.comparativeOrder(comparativeOrder.let(IResolvable.Companion::unwrap)) } /** @@ -4929,7 +4984,7 @@ public open class CfnTopic( * in a comparative context. */ override fun comparativeOrder(comparativeOrder: ComparativeOrderProperty) { - cdkBuilder.comparativeOrder(comparativeOrder.let(ComparativeOrderProperty::unwrap)) + cdkBuilder.comparativeOrder(comparativeOrder.let(ComparativeOrderProperty.Companion::unwrap)) } /** @@ -4945,14 +5000,14 @@ public open class CfnTopic( * @param defaultFormatting The default formatting used for values in the column. */ override fun defaultFormatting(defaultFormatting: IResolvable) { - cdkBuilder.defaultFormatting(defaultFormatting.let(IResolvable::unwrap)) + cdkBuilder.defaultFormatting(defaultFormatting.let(IResolvable.Companion::unwrap)) } /** * @param defaultFormatting The default formatting used for values in the column. */ override fun defaultFormatting(defaultFormatting: DefaultFormattingProperty) { - cdkBuilder.defaultFormatting(defaultFormatting.let(DefaultFormattingProperty::unwrap)) + cdkBuilder.defaultFormatting(defaultFormatting.let(DefaultFormattingProperty.Companion::unwrap)) } /** @@ -4964,6 +5019,20 @@ public open class CfnTopic( fun defaultFormatting(defaultFormatting: DefaultFormattingProperty.Builder.() -> Unit): Unit = defaultFormatting(DefaultFormattingProperty(defaultFormatting)) + /** + * @param disableIndexing the value to be set. + */ + override fun disableIndexing(disableIndexing: Boolean) { + cdkBuilder.disableIndexing(disableIndexing) + } + + /** + * @param disableIndexing the value to be set. + */ + override fun disableIndexing(disableIndexing: IResolvable) { + cdkBuilder.disableIndexing(disableIndexing.let(IResolvable.Companion::unwrap)) + } + /** * @param isIncludedInTopic A Boolean value that indicates whether the column is included in * the query results. @@ -4977,7 +5046,7 @@ public open class CfnTopic( * the query results. */ override fun isIncludedInTopic(isIncludedInTopic: IResolvable) { - cdkBuilder.isIncludedInTopic(isIncludedInTopic.let(IResolvable::unwrap)) + cdkBuilder.isIncludedInTopic(isIncludedInTopic.let(IResolvable.Companion::unwrap)) } /** @@ -4993,7 +5062,7 @@ public open class CfnTopic( * column data when it's used in a filter context. */ override fun neverAggregateInFilter(neverAggregateInFilter: IResolvable) { - cdkBuilder.neverAggregateInFilter(neverAggregateInFilter.let(IResolvable::unwrap)) + cdkBuilder.neverAggregateInFilter(neverAggregateInFilter.let(IResolvable.Companion::unwrap)) } /** @@ -5007,7 +5076,7 @@ public open class CfnTopic( * @param nonAdditive The non additive value for the column. */ override fun nonAdditive(nonAdditive: IResolvable) { - cdkBuilder.nonAdditive(nonAdditive.let(IResolvable::unwrap)) + cdkBuilder.nonAdditive(nonAdditive.let(IResolvable.Companion::unwrap)) } /** @@ -5033,14 +5102,14 @@ public open class CfnTopic( * @param semanticType The semantic type of data contained in the column. */ override fun semanticType(semanticType: IResolvable) { - cdkBuilder.semanticType(semanticType.let(IResolvable::unwrap)) + cdkBuilder.semanticType(semanticType.let(IResolvable.Companion::unwrap)) } /** * @param semanticType The semantic type of data contained in the column. */ override fun semanticType(semanticType: SemanticTypeProperty) { - cdkBuilder.semanticType(semanticType.let(SemanticTypeProperty::unwrap)) + cdkBuilder.semanticType(semanticType.let(SemanticTypeProperty.Companion::unwrap)) } /** @@ -5143,6 +5212,11 @@ public open class CfnTopic( */ override fun defaultFormatting(): Any? = unwrap(this).getDefaultFormatting() + /** + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-topiccolumn.html#cfn-quicksight-topic-topiccolumn-disableindexing) + */ + override fun disableIndexing(): Any? = unwrap(this).getDisableIndexing() + /** * A Boolean value that indicates whether the column is included in the query results. * @@ -5308,14 +5382,14 @@ public open class CfnTopic( * @param constant The constant used in a date range filter. */ override fun constant(constant: IResolvable) { - cdkBuilder.constant(constant.let(IResolvable::unwrap)) + cdkBuilder.constant(constant.let(IResolvable.Companion::unwrap)) } /** * @param constant The constant used in a date range filter. */ override fun constant(constant: TopicRangeFilterConstantProperty) { - cdkBuilder.constant(constant.let(TopicRangeFilterConstantProperty::unwrap)) + cdkBuilder.constant(constant.let(TopicRangeFilterConstantProperty.Companion::unwrap)) } /** @@ -5343,7 +5417,7 @@ public open class CfnTopic( * excludes them. */ override fun inclusive(inclusive: IResolvable) { - cdkBuilder.inclusive(inclusive.let(IResolvable::unwrap)) + cdkBuilder.inclusive(inclusive.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -5689,14 +5763,14 @@ public open class CfnTopic( * @param categoryFilter The category filter that is associated with this filter. */ override fun categoryFilter(categoryFilter: IResolvable) { - cdkBuilder.categoryFilter(categoryFilter.let(IResolvable::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(IResolvable.Companion::unwrap)) } /** * @param categoryFilter The category filter that is associated with this filter. */ override fun categoryFilter(categoryFilter: TopicCategoryFilterProperty) { - cdkBuilder.categoryFilter(categoryFilter.let(TopicCategoryFilterProperty::unwrap)) + cdkBuilder.categoryFilter(categoryFilter.let(TopicCategoryFilterProperty.Companion::unwrap)) } /** @@ -5711,14 +5785,14 @@ public open class CfnTopic( * @param dateRangeFilter The date range filter. */ override fun dateRangeFilter(dateRangeFilter: IResolvable) { - cdkBuilder.dateRangeFilter(dateRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.dateRangeFilter(dateRangeFilter.let(IResolvable.Companion::unwrap)) } /** * @param dateRangeFilter The date range filter. */ override fun dateRangeFilter(dateRangeFilter: TopicDateRangeFilterProperty) { - cdkBuilder.dateRangeFilter(dateRangeFilter.let(TopicDateRangeFilterProperty::unwrap)) + cdkBuilder.dateRangeFilter(dateRangeFilter.let(TopicDateRangeFilterProperty.Companion::unwrap)) } /** @@ -5779,7 +5853,7 @@ public open class CfnTopic( * @param numericEqualityFilter The numeric equality filter. */ override fun numericEqualityFilter(numericEqualityFilter: IResolvable) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(IResolvable.Companion::unwrap)) } /** @@ -5787,7 +5861,7 @@ public open class CfnTopic( */ override fun numericEqualityFilter(numericEqualityFilter: TopicNumericEqualityFilterProperty) { - cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(TopicNumericEqualityFilterProperty::unwrap)) + cdkBuilder.numericEqualityFilter(numericEqualityFilter.let(TopicNumericEqualityFilterProperty.Companion::unwrap)) } /** @@ -5803,14 +5877,14 @@ public open class CfnTopic( * @param numericRangeFilter The numeric range filter. */ override fun numericRangeFilter(numericRangeFilter: IResolvable) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(IResolvable.Companion::unwrap)) } /** * @param numericRangeFilter The numeric range filter. */ override fun numericRangeFilter(numericRangeFilter: TopicNumericRangeFilterProperty) { - cdkBuilder.numericRangeFilter(numericRangeFilter.let(TopicNumericRangeFilterProperty::unwrap)) + cdkBuilder.numericRangeFilter(numericRangeFilter.let(TopicNumericRangeFilterProperty.Companion::unwrap)) } /** @@ -5833,14 +5907,14 @@ public open class CfnTopic( * @param relativeDateFilter The relative date filter. */ override fun relativeDateFilter(relativeDateFilter: IResolvable) { - cdkBuilder.relativeDateFilter(relativeDateFilter.let(IResolvable::unwrap)) + cdkBuilder.relativeDateFilter(relativeDateFilter.let(IResolvable.Companion::unwrap)) } /** * @param relativeDateFilter The relative date filter. */ override fun relativeDateFilter(relativeDateFilter: TopicRelativeDateFilterProperty) { - cdkBuilder.relativeDateFilter(relativeDateFilter.let(TopicRelativeDateFilterProperty::unwrap)) + cdkBuilder.relativeDateFilter(relativeDateFilter.let(TopicRelativeDateFilterProperty.Companion::unwrap)) } /** @@ -6101,7 +6175,7 @@ public open class CfnTopic( * @param definition The definition of a named entity. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -6147,14 +6221,14 @@ public open class CfnTopic( * @param semanticEntityType The type of named entity that a topic represents. */ override fun semanticEntityType(semanticEntityType: IResolvable) { - cdkBuilder.semanticEntityType(semanticEntityType.let(IResolvable::unwrap)) + cdkBuilder.semanticEntityType(semanticEntityType.let(IResolvable.Companion::unwrap)) } /** * @param semanticEntityType The type of named entity that a topic represents. */ override fun semanticEntityType(semanticEntityType: SemanticEntityTypeProperty) { - cdkBuilder.semanticEntityType(semanticEntityType.let(SemanticEntityTypeProperty::unwrap)) + cdkBuilder.semanticEntityType(semanticEntityType.let(SemanticEntityTypeProperty.Companion::unwrap)) } /** @@ -6321,14 +6395,14 @@ public open class CfnTopic( * @param constant The constant used in a numeric equality filter. */ override fun constant(constant: IResolvable) { - cdkBuilder.constant(constant.let(IResolvable::unwrap)) + cdkBuilder.constant(constant.let(IResolvable.Companion::unwrap)) } /** * @param constant The constant used in a numeric equality filter. */ override fun constant(constant: TopicSingularFilterConstantProperty) { - cdkBuilder.constant(constant.let(TopicSingularFilterConstantProperty::unwrap)) + cdkBuilder.constant(constant.let(TopicSingularFilterConstantProperty.Companion::unwrap)) } /** @@ -6512,14 +6586,14 @@ public open class CfnTopic( * @param constant The constant used in a numeric range filter. */ override fun constant(constant: IResolvable) { - cdkBuilder.constant(constant.let(IResolvable::unwrap)) + cdkBuilder.constant(constant.let(IResolvable.Companion::unwrap)) } /** * @param constant The constant used in a numeric range filter. */ override fun constant(constant: TopicRangeFilterConstantProperty) { - cdkBuilder.constant(constant.let(TopicRangeFilterConstantProperty::unwrap)) + cdkBuilder.constant(constant.let(TopicRangeFilterConstantProperty.Companion::unwrap)) } /** @@ -6549,7 +6623,7 @@ public open class CfnTopic( * endpoint values will be excluded from the filter. */ override fun inclusive(inclusive: IResolvable) { - cdkBuilder.inclusive(inclusive.let(IResolvable::unwrap)) + cdkBuilder.inclusive(inclusive.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -6698,7 +6772,7 @@ public open class CfnTopic( * range filter. */ override fun rangeConstant(rangeConstant: IResolvable) { - cdkBuilder.rangeConstant(rangeConstant.let(IResolvable::unwrap)) + cdkBuilder.rangeConstant(rangeConstant.let(IResolvable.Companion::unwrap)) } /** @@ -6706,7 +6780,7 @@ public open class CfnTopic( * range filter. */ override fun rangeConstant(rangeConstant: RangeConstantProperty) { - cdkBuilder.rangeConstant(rangeConstant.let(RangeConstantProperty::unwrap)) + cdkBuilder.rangeConstant(rangeConstant.let(RangeConstantProperty.Companion::unwrap)) } /** @@ -6854,14 +6928,14 @@ public open class CfnTopic( * @param constant The constant used in a relative date filter. */ override fun constant(constant: IResolvable) { - cdkBuilder.constant(constant.let(IResolvable::unwrap)) + cdkBuilder.constant(constant.let(IResolvable.Companion::unwrap)) } /** * @param constant The constant used in a relative date filter. */ override fun constant(constant: TopicSingularFilterConstantProperty) { - cdkBuilder.constant(constant.let(TopicSingularFilterConstantProperty::unwrap)) + cdkBuilder.constant(constant.let(TopicSingularFilterConstantProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopicProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopicProps.kt index afe1991d1c..086eb2ceb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopicProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnTopicProps.kt @@ -63,6 +63,7 @@ import kotlin.collections.List * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -117,6 +118,7 @@ import kotlin.collections.List * .useGrouping(false) * .build()) * .build()) + * .disableIndexing(false) * .isIncludedInTopic(false) * .neverAggregateInFilter(false) * .nonAdditive(false) @@ -268,7 +270,7 @@ public interface CfnTopicProps { public fun topicId(): String? = unwrap(this).getTopicId() /** - * The user experience version of a topic. + * The user experience version of the topic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-topic.html#cfn-quicksight-topic-userexperienceversion) */ @@ -316,7 +318,7 @@ public interface CfnTopicProps { public fun topicId(topicId: String) /** - * @param userExperienceVersion The user experience version of a topic. + * @param userExperienceVersion The user experience version of the topic. */ public fun userExperienceVersion(userExperienceVersion: String) } @@ -336,7 +338,7 @@ public interface CfnTopicProps { * @param dataSets The data sets that the topic is associated with. */ override fun dataSets(dataSets: IResolvable) { - cdkBuilder.dataSets(dataSets.let(IResolvable::unwrap)) + cdkBuilder.dataSets(dataSets.let(IResolvable.Companion::unwrap)) } /** @@ -374,7 +376,7 @@ public interface CfnTopicProps { } /** - * @param userExperienceVersion The user experience version of a topic. + * @param userExperienceVersion The user experience version of the topic. */ override fun userExperienceVersion(userExperienceVersion: String) { cdkBuilder.userExperienceVersion(userExperienceVersion) @@ -425,7 +427,7 @@ public interface CfnTopicProps { override fun topicId(): String? = unwrap(this).getTopicId() /** - * The user experience version of a topic. + * The user experience version of the topic. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-topic.html#cfn-quicksight-topic-userexperienceversion) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnection.kt index 9efbcdbe40..cbca37eda8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnection.kt @@ -49,7 +49,7 @@ public open class CfnVPCConnection( cdkObject: software.amazon.awscdk.services.quicksight.CfnVPCConnection, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.quicksight.CfnVPCConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.quicksight.CfnVPCConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -58,8 +58,8 @@ public open class CfnVPCConnection( id: String, props: CfnVPCConnectionProps, ) : - this(software.amazon.awscdk.services.quicksight.CfnVPCConnection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVPCConnectionProps::unwrap)) + this(software.amazon.awscdk.services.quicksight.CfnVPCConnection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVPCConnectionProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnVPCConnection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnVPCConnection( * A map of the key-value pairs for the resource tag or tags assigned to the VPC connection. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CfnVPCConnection( * connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnectionProps.kt index dec83ca6d4..46eea4b545 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/quicksight/CfnVPCConnectionProps.kt @@ -254,7 +254,7 @@ public interface CfnVPCConnectionProps { * connection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermission.kt index 11ff5e504a..b4022a93d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermission.kt @@ -52,8 +52,8 @@ public open class CfnPermission( id: String, props: CfnPermissionProps, ) : - this(software.amazon.awscdk.services.ram.CfnPermission(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPermissionProps::unwrap)) + this(software.amazon.awscdk.services.ram.CfnPermission(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPermissionProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnPermission( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnPermission( * Specifies a list of one or more tag key and value pairs to attach to the permission. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnPermission( * permission. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermissionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermissionProps.kt index 0e6ff77fed..fd7041e580 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermissionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnPermissionProps.kt @@ -201,7 +201,7 @@ public interface CfnPermissionProps { * permission. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShare.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShare.kt index c914552f42..48cd031d38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShare.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShare.kt @@ -62,8 +62,8 @@ public open class CfnResourceShare( id: String, props: CfnResourceShareProps, ) : - this(software.amazon.awscdk.services.ram.CfnResourceShare(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceShareProps::unwrap)) + this(software.amazon.awscdk.services.ram.CfnResourceShare(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceShareProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnResourceShare( * with a resource share. */ public open fun allowExternalPrincipals(`value`: IResolvable) { - unwrap(this).setAllowExternalPrincipals(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowExternalPrincipals(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnResourceShare( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnResourceShare( * Specifies one or more tags to attach to the resource share itself. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnResourceShare( * Organizations can be associated with a resource share. */ override fun allowExternalPrincipals(allowExternalPrincipals: IResolvable) { - cdkBuilder.allowExternalPrincipals(allowExternalPrincipals.let(IResolvable::unwrap)) + cdkBuilder.allowExternalPrincipals(allowExternalPrincipals.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public open class CfnResourceShare( * @param tags Specifies one or more tags to attach to the resource share itself. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShareProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShareProps.kt index 9a124c1858..60892cbcd0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShareProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ram/CfnResourceShareProps.kt @@ -252,7 +252,7 @@ public interface CfnResourceShareProps { * Organization. The default value is `true` . */ override fun allowExternalPrincipals(allowExternalPrincipals: IResolvable) { - cdkBuilder.allowExternalPrincipals(allowExternalPrincipals.let(IResolvable::unwrap)) + cdkBuilder.allowExternalPrincipals(allowExternalPrincipals.let(IResolvable.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface CfnResourceShareProps { * It doesn't attach the tags to the resources associated with the resource share. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraClusterEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraClusterEngineProps.kt index 820529cb9d..ceb35fe191 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraClusterEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraClusterEngineProps.kt @@ -49,7 +49,7 @@ public interface AuroraClusterEngineProps { * @param version The version of the Aurora cluster engine. */ override fun version(version: AuroraEngineVersion) { - cdkBuilder.version(version.let(AuroraEngineVersion::unwrap)) + cdkBuilder.version(version.let(AuroraEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.AuroraClusterEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraMysqlClusterEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraMysqlClusterEngineProps.kt index c0daa477ed..716341e5bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraMysqlClusterEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraMysqlClusterEngineProps.kt @@ -56,7 +56,7 @@ public interface AuroraMysqlClusterEngineProps { * @param version The version of the Aurora MySQL cluster engine. */ override fun version(version: AuroraMysqlEngineVersion) { - cdkBuilder.version(version.let(AuroraMysqlEngineVersion::unwrap)) + cdkBuilder.version(version.let(AuroraMysqlEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.AuroraMysqlClusterEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresClusterEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresClusterEngineProps.kt index eff257dd64..c1ce069ea1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresClusterEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresClusterEngineProps.kt @@ -84,7 +84,7 @@ public interface AuroraPostgresClusterEngineProps { * @param version The version of the Aurora PostgreSQL cluster engine. */ override fun version(version: AuroraPostgresEngineVersion) { - cdkBuilder.version(version.let(AuroraPostgresEngineVersion::unwrap)) + cdkBuilder.version(version.let(AuroraPostgresEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.AuroraPostgresClusterEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresEngineVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresEngineVersion.kt index 1bdc2fcdf3..af199fcd43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresEngineVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/AuroraPostgresEngineVersion.kt @@ -278,6 +278,9 @@ public open class AuroraPostgresEngineVersion( public val VER_16_1: AuroraPostgresEngineVersion = AuroraPostgresEngineVersion.wrap(software.amazon.awscdk.services.rds.AuroraPostgresEngineVersion.VER_16_1) + public val VER_16_2: AuroraPostgresEngineVersion = + AuroraPostgresEngineVersion.wrap(software.amazon.awscdk.services.rds.AuroraPostgresEngineVersion.VER_16_2) + public val VER_9_6_11: AuroraPostgresEngineVersion = AuroraPostgresEngineVersion.wrap(software.amazon.awscdk.services.rds.AuroraPostgresEngineVersion.VER_9_6_11) @@ -317,7 +320,7 @@ public open class AuroraPostgresEngineVersion( ): AuroraPostgresEngineVersion = software.amazon.awscdk.services.rds.AuroraPostgresEngineVersion.of(auroraPostgresFullVersion, auroraPostgresMajorVersion, - auroraPostgresFeatures.let(AuroraPostgresEngineFeatures::unwrap)).let(AuroraPostgresEngineVersion::wrap) + auroraPostgresFeatures.let(AuroraPostgresEngineFeatures.Companion::unwrap)).let(AuroraPostgresEngineVersion::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef8f32dd92680ee16644cf106bac65a4efdbe548075bf1504d89001bc8aa9096") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/BackupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/BackupProps.kt index 656999ce38..53876c4bf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/BackupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/BackupProps.kt @@ -90,7 +90,7 @@ public interface BackupProps { * @param retention How many days to retain the backup. */ override fun retention(retention: Duration) { - cdkBuilder.retention(retention.let(Duration::unwrap)) + cdkBuilder.retention(retention.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.BackupProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CaCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CaCertificate.kt index 32f4026b08..9d484ee33a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CaCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CaCertificate.kt @@ -12,10 +12,16 @@ import kotlin.String * * ``` * Vpc vpc; - * DatabaseInstance.Builder.create(this, "Instance") - * .engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder().version(MysqlEngineVersion.VER_8_0_30).build())) + * DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database") + * .masterUser(Login.builder() + * .username("myuser") + * .build()) + * .instanceType(InstanceType.of(InstanceClass.MEMORY5, InstanceSize.LARGE)) + * .vpcSubnets(SubnetSelection.builder() + * .subnetType(SubnetType.PUBLIC) + * .build()) * .vpc(vpc) - * .caCertificate(CaCertificate.of("future-rds-ca")) + * .caCertificate(CaCertificate.RDS_CA_RSA4096_G1) * .build(); * ``` * @@ -37,6 +43,12 @@ public open class CaCertificate( public val RDS_CA_RDS4096_G1: CaCertificate = CaCertificate.wrap(software.amazon.awscdk.services.rds.CaCertificate.RDS_CA_RDS4096_G1) + public val RDS_CA_RSA2048_G1: CaCertificate = + CaCertificate.wrap(software.amazon.awscdk.services.rds.CaCertificate.RDS_CA_RSA2048_G1) + + public val RDS_CA_RSA4096_G1: CaCertificate = + CaCertificate.wrap(software.amazon.awscdk.services.rds.CaCertificate.RDS_CA_RSA4096_G1) + public fun of(identifier: String): CaCertificate = software.amazon.awscdk.services.rds.CaCertificate.of(identifier).let(CaCertificate::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersion.kt index 43b17d864d..3bc51d1e86 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersion.kt @@ -58,8 +58,8 @@ public open class CfnCustomDBEngineVersion( id: String, props: CfnCustomDBEngineVersionProps, ) : - this(software.amazon.awscdk.services.rds.CfnCustomDBEngineVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCustomDBEngineVersionProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnCustomDBEngineVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCustomDBEngineVersionProps.Companion::unwrap)) ) public constructor( @@ -160,7 +160,7 @@ public open class CfnCustomDBEngineVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnCustomDBEngineVersion( * A list of tags. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public open class CfnCustomDBEngineVersion( * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. */ public open fun useAwsProvidedLatestImage(`value`: IResolvable) { - unwrap(this).setUseAwsProvidedLatestImage(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseAwsProvidedLatestImage(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class CfnCustomDBEngineVersion( * @param tags A list of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -654,7 +654,7 @@ public open class CfnCustomDBEngineVersion( * Machine Image (AMI) for the CEV. */ override fun useAwsProvidedLatestImage(useAwsProvidedLatestImage: IResolvable) { - cdkBuilder.useAwsProvidedLatestImage(useAwsProvidedLatestImage.let(IResolvable::unwrap)) + cdkBuilder.useAwsProvidedLatestImage(useAwsProvidedLatestImage.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.CfnCustomDBEngineVersion = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersionProps.kt index a1974138f6..661a09ca33 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnCustomDBEngineVersionProps.kt @@ -450,7 +450,7 @@ public interface CfnCustomDBEngineVersionProps { * *Amazon RDS User Guide.* */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnCustomDBEngineVersionProps { * If you specify `UseAwsProvidedLatestImage` , you can't also specify `ImageId` . */ override fun useAwsProvidedLatestImage(useAwsProvidedLatestImage: IResolvable) { - cdkBuilder.useAwsProvidedLatestImage(useAwsProvidedLatestImage.let(IResolvable::unwrap)) + cdkBuilder.useAwsProvidedLatestImage(useAwsProvidedLatestImage.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.CfnCustomDBEngineVersionProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBCluster.kt index e11b9206d0..b238128e3e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBCluster.kt @@ -179,7 +179,7 @@ public open class CfnDBCluster( cdkObject: software.amazon.awscdk.services.rds.CfnDBCluster, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.rds.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.rds.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -188,8 +188,8 @@ public open class CfnDBCluster( id: String, props: CfnDBClusterProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBClusterProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBClusterProps.Companion::unwrap)) ) public constructor( @@ -224,7 +224,7 @@ public open class CfnDBCluster( * the DB cluster. */ public open fun associatedRoles(`value`: IResolvable) { - unwrap(this).setAssociatedRoles(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociatedRoles(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnDBCluster( * maintenance window. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnDBCluster( * cluster. */ public open fun copyTagsToSnapshot(`value`: IResolvable) { - unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable::unwrap)) + unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class CfnDBCluster( * A value that indicates whether the DB cluster has deletion protection enabled. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class CfnDBCluster( * of a global cluster (Aurora global database). */ public open fun enableGlobalWriteForwarding(`value`: IResolvable) { - unwrap(this).setEnableGlobalWriteForwarding(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableGlobalWriteForwarding(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class CfnDBCluster( * By default, the HTTP endpoint isn't enabled. */ public open fun enableHttpEndpoint(`value`: IResolvable) { - unwrap(this).setEnableHttpEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableHttpEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class CfnDBCluster( * accounts to database accounts. */ public open fun enableIamDatabaseAuthentication(`value`: IResolvable) { - unwrap(this).setEnableIamDatabaseAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableIamDatabaseAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public open class CfnDBCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class CfnDBCluster( * Specifies whether to manage the master user password with AWS Secrets Manager. */ public open fun manageMasterUserPassword(`value`: IResolvable) { - unwrap(this).setManageMasterUserPassword(`value`.let(IResolvable::unwrap)) + unwrap(this).setManageMasterUserPassword(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -752,14 +752,14 @@ public open class CfnDBCluster( * The secret managed by RDS in AWS Secrets Manager for the master user password. */ public open fun masterUserSecret(`value`: IResolvable) { - unwrap(this).setMasterUserSecret(`value`.let(IResolvable::unwrap)) + unwrap(this).setMasterUserSecret(`value`.let(IResolvable.Companion::unwrap)) } /** * The secret managed by RDS in AWS Secrets Manager for the master user password. */ public open fun masterUserSecret(`value`: MasterUserSecretProperty) { - unwrap(this).setMasterUserSecret(`value`.let(MasterUserSecretProperty::unwrap)) + unwrap(this).setMasterUserSecret(`value`.let(MasterUserSecretProperty.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public open class CfnDBCluster( * Specifies whether to turn on Performance Insights for the DB cluster. */ public open fun performanceInsightsEnabled(`value`: IResolvable) { - unwrap(this).setPerformanceInsightsEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setPerformanceInsightsEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -922,7 +922,7 @@ public open class CfnDBCluster( * Specifies whether the DB cluster is publicly accessible. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -977,14 +977,14 @@ public open class CfnDBCluster( * The scaling configuration of an Aurora Serverless v1 DB cluster. */ public open fun scalingConfiguration(`value`: IResolvable) { - unwrap(this).setScalingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setScalingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The scaling configuration of an Aurora Serverless v1 DB cluster. */ public open fun scalingConfiguration(`value`: ScalingConfigurationProperty) { - unwrap(this).setScalingConfiguration(`value`.let(ScalingConfigurationProperty::unwrap)) + unwrap(this).setScalingConfiguration(`value`.let(ScalingConfigurationProperty.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public open class CfnDBCluster( * The scaling configuration of an Aurora Serverless V2 DB cluster. */ public open fun serverlessV2ScalingConfiguration(`value`: IResolvable) { - unwrap(this).setServerlessV2ScalingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerlessV2ScalingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1013,7 +1013,7 @@ public open class CfnDBCluster( */ public open fun serverlessV2ScalingConfiguration(`value`: ServerlessV2ScalingConfigurationProperty) { - unwrap(this).setServerlessV2ScalingConfiguration(`value`.let(ServerlessV2ScalingConfigurationProperty::unwrap)) + unwrap(this).setServerlessV2ScalingConfiguration(`value`.let(ServerlessV2ScalingConfigurationProperty.Companion::unwrap)) } /** @@ -1083,7 +1083,7 @@ public open class CfnDBCluster( * Indicates whether the DB cluster is encrypted. */ public open fun storageEncrypted(`value`: IResolvable) { - unwrap(this).setStorageEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1113,7 +1113,7 @@ public open class CfnDBCluster( * An optional array of key-value pairs to apply to this DB cluster. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1137,7 +1137,7 @@ public open class CfnDBCluster( * A value that indicates whether to restore the DB cluster to the latest restorable backup time. */ public open fun useLatestRestorableTime(`value`: IResolvable) { - unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -2520,6 +2520,12 @@ public open class CfnDBCluster( * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted) @@ -2545,6 +2551,12 @@ public open class CfnDBCluster( * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted) @@ -2702,7 +2714,7 @@ public open class CfnDBCluster( * that are associated with the DB cluster. */ override fun associatedRoles(associatedRoles: IResolvable) { - cdkBuilder.associatedRoles(associatedRoles.let(IResolvable::unwrap)) + cdkBuilder.associatedRoles(associatedRoles.let(IResolvable.Companion::unwrap)) } /** @@ -2767,7 +2779,7 @@ public open class CfnDBCluster( * automatically to the DB cluster during the maintenance window. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -2879,7 +2891,7 @@ public open class CfnDBCluster( * to snapshots of the DB cluster. */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -3052,7 +3064,7 @@ public open class CfnDBCluster( * protection enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -3181,7 +3193,7 @@ public open class CfnDBCluster( * write operations to the primary cluster of a global cluster (Aurora global database). */ override fun enableGlobalWriteForwarding(enableGlobalWriteForwarding: IResolvable) { - cdkBuilder.enableGlobalWriteForwarding(enableGlobalWriteForwarding.let(IResolvable::unwrap)) + cdkBuilder.enableGlobalWriteForwarding(enableGlobalWriteForwarding.let(IResolvable.Companion::unwrap)) } /** @@ -3235,7 +3247,7 @@ public open class CfnDBCluster( * By default, the HTTP endpoint isn't enabled. */ override fun enableHttpEndpoint(enableHttpEndpoint: IResolvable) { - cdkBuilder.enableHttpEndpoint(enableHttpEndpoint.let(IResolvable::unwrap)) + cdkBuilder.enableHttpEndpoint(enableHttpEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -3275,7 +3287,7 @@ public open class CfnDBCluster( * AWS Identity and Access Management (IAM) accounts to database accounts. */ override fun enableIamDatabaseAuthentication(enableIamDatabaseAuthentication: IResolvable) { - cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable::unwrap)) + cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -3511,7 +3523,7 @@ public open class CfnDBCluster( * Secrets Manager. */ override fun manageMasterUserPassword(manageMasterUserPassword: IResolvable) { - cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable::unwrap)) + cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable.Companion::unwrap)) } /** @@ -3547,7 +3559,7 @@ public open class CfnDBCluster( * password. */ override fun masterUserSecret(masterUserSecret: IResolvable) { - cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable.Companion::unwrap)) } /** @@ -3564,7 +3576,7 @@ public open class CfnDBCluster( * password. */ override fun masterUserSecret(masterUserSecret: MasterUserSecretProperty) { - cdkBuilder.masterUserSecret(masterUserSecret.let(MasterUserSecretProperty::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(MasterUserSecretProperty.Companion::unwrap)) } /** @@ -3706,7 +3718,7 @@ public open class CfnDBCluster( * DB cluster. */ override fun performanceInsightsEnabled(performanceInsightsEnabled: IResolvable) { - cdkBuilder.performanceInsightsEnabled(performanceInsightsEnabled.let(IResolvable::unwrap)) + cdkBuilder.performanceInsightsEnabled(performanceInsightsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3904,7 +3916,7 @@ public open class CfnDBCluster( * @param publiclyAccessible Specifies whether the DB cluster is publicly accessible. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -3980,7 +3992,7 @@ public open class CfnDBCluster( * @param scalingConfiguration The scaling configuration of an Aurora Serverless v1 DB cluster. */ override fun scalingConfiguration(scalingConfiguration: IResolvable) { - cdkBuilder.scalingConfiguration(scalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scalingConfiguration(scalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3995,7 +4007,7 @@ public open class CfnDBCluster( * @param scalingConfiguration The scaling configuration of an Aurora Serverless v1 DB cluster. */ override fun scalingConfiguration(scalingConfiguration: ScalingConfigurationProperty) { - cdkBuilder.scalingConfiguration(scalingConfiguration.let(ScalingConfigurationProperty::unwrap)) + cdkBuilder.scalingConfiguration(scalingConfiguration.let(ScalingConfigurationProperty.Companion::unwrap)) } /** @@ -4028,7 +4040,7 @@ public open class CfnDBCluster( * DB cluster. */ override fun serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration: IResolvable) { - cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -4045,7 +4057,7 @@ public open class CfnDBCluster( */ override fun serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration: ServerlessV2ScalingConfigurationProperty) { - cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(ServerlessV2ScalingConfigurationProperty::unwrap)) + cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(ServerlessV2ScalingConfigurationProperty.Companion::unwrap)) } /** @@ -4159,6 +4171,12 @@ public open class CfnDBCluster( * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted) @@ -4186,13 +4204,19 @@ public open class CfnDBCluster( * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted) * @param storageEncrypted Indicates whether the DB cluster is encrypted. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -4244,7 +4268,7 @@ public open class CfnDBCluster( * @param tags An optional array of key-value pairs to apply to this DB cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -4286,7 +4310,7 @@ public open class CfnDBCluster( * the latest restorable backup time. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** @@ -5031,7 +5055,7 @@ public open class CfnDBCluster( * a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. */ override fun autoPause(autoPause: IResolvable) { - cdkBuilder.autoPause(autoPause.let(IResolvable::unwrap)) + cdkBuilder.autoPause(autoPause.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroup.kt index ef0cb525ed..a16c32d08b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroup.kt @@ -64,8 +64,8 @@ public open class CfnDBClusterParameterGroup( id: String, props: CfnDBClusterParameterGroupProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBClusterParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBClusterParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnDBClusterParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnDBClusterParameterGroup( * An optional array of key-value pairs to apply to this DB cluster parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnDBClusterParameterGroup( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroupProps.kt index 57ede543f7..be9ad074e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterParameterGroupProps.kt @@ -230,7 +230,7 @@ public interface CfnDBClusterParameterGroupProps { * @param tags An optional array of key-value pairs to apply to this DB cluster parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterProps.kt index 4310d0e3aa..1775e05253 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBClusterProps.kt @@ -1029,6 +1029,12 @@ public interface CfnDBClusterProps { * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption settings + * from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted) @@ -2155,6 +2161,12 @@ public interface CfnDBClusterProps { * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ public fun storageEncrypted(storageEncrypted: Boolean) @@ -2176,6 +2188,12 @@ public interface CfnDBClusterProps { * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ public fun storageEncrypted(storageEncrypted: IResolvable) @@ -2286,7 +2304,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun associatedRoles(associatedRoles: IResolvable) { - cdkBuilder.associatedRoles(associatedRoles.let(IResolvable::unwrap)) + cdkBuilder.associatedRoles(associatedRoles.let(IResolvable.Companion::unwrap)) } /** @@ -2331,7 +2349,7 @@ public interface CfnDBClusterProps { * Valid for Cluster Type: Multi-AZ DB clusters only */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -2413,7 +2431,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -2547,7 +2565,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -2650,7 +2668,7 @@ public interface CfnDBClusterProps { * Valid for Cluster Type: Aurora DB clusters only */ override fun enableGlobalWriteForwarding(enableGlobalWriteForwarding: IResolvable) { - cdkBuilder.enableGlobalWriteForwarding(enableGlobalWriteForwarding.let(IResolvable::unwrap)) + cdkBuilder.enableGlobalWriteForwarding(enableGlobalWriteForwarding.let(IResolvable.Companion::unwrap)) } /** @@ -2694,7 +2712,7 @@ public interface CfnDBClusterProps { * Valid for Cluster Type: Aurora DB clusters only */ override fun enableHttpEndpoint(enableHttpEndpoint: IResolvable) { - cdkBuilder.enableHttpEndpoint(enableHttpEndpoint.let(IResolvable::unwrap)) + cdkBuilder.enableHttpEndpoint(enableHttpEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -2724,7 +2742,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora DB clusters only */ override fun enableIamDatabaseAuthentication(enableIamDatabaseAuthentication: IResolvable) { - cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable::unwrap)) + cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -2923,7 +2941,7 @@ public interface CfnDBClusterProps { * specified. */ override fun manageMasterUserPassword(manageMasterUserPassword: IResolvable) { - cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable::unwrap)) + cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable.Companion::unwrap)) } /** @@ -2951,7 +2969,7 @@ public interface CfnDBClusterProps { * in the *Amazon Aurora User Guide.* */ override fun masterUserSecret(masterUserSecret: IResolvable) { - cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable.Companion::unwrap)) } /** @@ -2964,7 +2982,7 @@ public interface CfnDBClusterProps { * in the *Amazon Aurora User Guide.* */ override fun masterUserSecret(masterUserSecret: CfnDBCluster.MasterUserSecretProperty) { - cdkBuilder.masterUserSecret(masterUserSecret.let(CfnDBCluster.MasterUserSecretProperty::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(CfnDBCluster.MasterUserSecretProperty.Companion::unwrap)) } /** @@ -3075,7 +3093,7 @@ public interface CfnDBClusterProps { * Valid for Cluster Type: Multi-AZ DB clusters only */ override fun performanceInsightsEnabled(performanceInsightsEnabled: IResolvable) { - cdkBuilder.performanceInsightsEnabled(performanceInsightsEnabled.let(IResolvable::unwrap)) + cdkBuilder.performanceInsightsEnabled(performanceInsightsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3243,7 +3261,7 @@ public interface CfnDBClusterProps { * cluster is public. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -3300,7 +3318,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora Serverless v1 DB clusters only */ override fun scalingConfiguration(scalingConfiguration: IResolvable) { - cdkBuilder.scalingConfiguration(scalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scalingConfiguration(scalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3312,7 +3330,7 @@ public interface CfnDBClusterProps { */ override fun scalingConfiguration(scalingConfiguration: CfnDBCluster.ScalingConfigurationProperty) { - cdkBuilder.scalingConfiguration(scalingConfiguration.let(CfnDBCluster.ScalingConfigurationProperty::unwrap)) + cdkBuilder.scalingConfiguration(scalingConfiguration.let(CfnDBCluster.ScalingConfigurationProperty.Companion::unwrap)) } /** @@ -3337,7 +3355,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora Serverless v2 DB clusters only */ override fun serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration: IResolvable) { - cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -3350,7 +3368,7 @@ public interface CfnDBClusterProps { */ override fun serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration: CfnDBCluster.ServerlessV2ScalingConfigurationProperty) { - cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(CfnDBCluster.ServerlessV2ScalingConfigurationProperty::unwrap)) + cdkBuilder.serverlessV2ScalingConfiguration(serverlessV2ScalingConfiguration.let(CfnDBCluster.ServerlessV2ScalingConfigurationProperty.Companion::unwrap)) } /** @@ -3445,6 +3463,12 @@ public interface CfnDBClusterProps { * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun storageEncrypted(storageEncrypted: Boolean) { @@ -3468,10 +3492,16 @@ public interface CfnDBClusterProps { * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -3514,7 +3544,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -3542,7 +3572,7 @@ public interface CfnDBClusterProps { * Valid for: Aurora DB clusters and Multi-AZ DB clusters */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** @@ -4508,6 +4538,12 @@ public interface CfnDBClusterProps { * property for the KMS key to use for encryption. If you don't want the restored DB cluster to be * encrypted, then don't set this property or set it to `false` . * + * + * If you specify both the `StorageEncrypted` and `SnapshotIdentifier` properties without + * specifying the `KmsKeyId` property, then the restored DB cluster inherits the encryption + * settings from the DB snapshot that provide. + * + * * Valid for: Aurora DB clusters and Multi-AZ DB clusters * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstance.kt index 531681c9fc..3efc884f15 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstance.kt @@ -119,6 +119,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .featureName("featureName") * .roleArn("roleArn") * .build())) + * .automaticBackupReplicationKmsKeyId("automaticBackupReplicationKmsKeyId") * .automaticBackupReplicationRegion("automaticBackupReplicationRegion") * .autoMinorVersionUpgrade(false) * .availabilityZone("availabilityZone") @@ -217,7 +218,7 @@ public open class CfnDBInstance( cdkObject: software.amazon.awscdk.services.rds.CfnDBInstance, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.rds.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.rds.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -226,8 +227,8 @@ public open class CfnDBInstance( id: String, props: CfnDBInstanceProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBInstanceProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBInstanceProps.Companion::unwrap)) ) public constructor( @@ -265,7 +266,7 @@ public open class CfnDBInstance( * A value that indicates whether major version upgrades are allowed. */ public open fun allowMajorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAllowMajorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowMajorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -277,7 +278,7 @@ public open class CfnDBInstance( * The AWS Identity and Access Management (IAM) roles associated with the DB instance. */ public open fun associatedRoles(`value`: IResolvable) { - unwrap(this).setAssociatedRoles(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociatedRoles(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -371,7 +372,20 @@ public open class CfnDBInstance( * instance during the maintenance window. */ public open fun autoMinorVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoMinorVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) + } + + /** + * The AWS KMS key identifier for encryption of the replicated automated backups. + */ + public open fun automaticBackupReplicationKmsKeyId(): String? = + unwrap(this).getAutomaticBackupReplicationKmsKeyId() + + /** + * The AWS KMS key identifier for encryption of the replicated automated backups. + */ + public open fun automaticBackupReplicationKmsKeyId(`value`: String) { + unwrap(this).setAutomaticBackupReplicationKmsKeyId(`value`) } /** @@ -432,14 +446,14 @@ public open class CfnDBInstance( * The details of the DB instance's server certificate. */ public open fun certificateDetails(`value`: IResolvable) { - unwrap(this).setCertificateDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificateDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The details of the DB instance's server certificate. */ public open fun certificateDetails(`value`: CertificateDetailsProperty) { - unwrap(this).setCertificateDetails(`value`.let(CertificateDetailsProperty::unwrap)) + unwrap(this).setCertificateDetails(`value`.let(CertificateDetailsProperty.Companion::unwrap)) } /** @@ -466,7 +480,7 @@ public open class CfnDBInstance( * Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. */ public open fun certificateRotationRestart(`value`: IResolvable) { - unwrap(this).setCertificateRotationRestart(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertificateRotationRestart(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -499,7 +513,7 @@ public open class CfnDBInstance( * Specifies whether to copy tags from the DB instance to snapshots of the DB instance. */ public open fun copyTagsToSnapshot(`value`: IResolvable) { - unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable::unwrap)) + unwrap(this).setCopyTagsToSnapshot(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -666,7 +680,7 @@ public open class CfnDBInstance( * Indicates whether the DB instance has a dedicated log volume (DLV) enabled. */ public open fun dedicatedLogVolume(`value`: IResolvable) { - unwrap(this).setDedicatedLogVolume(`value`.let(IResolvable::unwrap)) + unwrap(this).setDedicatedLogVolume(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -688,7 +702,7 @@ public open class CfnDBInstance( * deleted. */ public open fun deleteAutomatedBackups(`value`: IResolvable) { - unwrap(this).setDeleteAutomatedBackups(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteAutomatedBackups(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -707,7 +721,7 @@ public open class CfnDBInstance( * A value that indicates whether the DB instance has deletion protection enabled. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -826,7 +840,7 @@ public open class CfnDBInstance( * accounts to database accounts. */ public open fun enableIamDatabaseAuthentication(`value`: IResolvable) { - unwrap(this).setEnableIamDatabaseAuthentication(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableIamDatabaseAuthentication(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +859,7 @@ public open class CfnDBInstance( * Specifies whether to enable Performance Insights for the DB instance. */ public open fun enablePerformanceInsights(`value`: IResolvable) { - unwrap(this).setEnablePerformanceInsights(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnablePerformanceInsights(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -857,14 +871,14 @@ public open class CfnDBInstance( * The connection endpoint for the DB instance. */ public open fun endpoint(`value`: IResolvable) { - unwrap(this).setEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * The connection endpoint for the DB instance. */ public open fun endpoint(`value`: EndpointProperty) { - unwrap(this).setEndpoint(`value`.let(EndpointProperty::unwrap)) + unwrap(this).setEndpoint(`value`.let(EndpointProperty.Companion::unwrap)) } /** @@ -905,7 +919,7 @@ public open class CfnDBInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -962,7 +976,7 @@ public open class CfnDBInstance( * Specifies whether to manage the master user password with AWS Secrets Manager. */ public open fun manageMasterUserPassword(`value`: IResolvable) { - unwrap(this).setManageMasterUserPassword(`value`.let(IResolvable::unwrap)) + unwrap(this).setManageMasterUserPassword(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -990,14 +1004,14 @@ public open class CfnDBInstance( * The secret managed by RDS in AWS Secrets Manager for the master user password. */ public open fun masterUserSecret(`value`: IResolvable) { - unwrap(this).setMasterUserSecret(`value`.let(IResolvable::unwrap)) + unwrap(this).setMasterUserSecret(`value`.let(IResolvable.Companion::unwrap)) } /** * The secret managed by RDS in AWS Secrets Manager for the master user password. */ public open fun masterUserSecret(`value`: MasterUserSecretProperty) { - unwrap(this).setMasterUserSecret(`value`.let(MasterUserSecretProperty::unwrap)) + unwrap(this).setMasterUserSecret(`value`.let(MasterUserSecretProperty.Companion::unwrap)) } /** @@ -1078,7 +1092,7 @@ public open class CfnDBInstance( * Specifies whether the database instance is a Multi-AZ DB instance deployment. */ public open fun multiAz(`value`: IResolvable) { - unwrap(this).setMultiAz(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiAz(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1195,7 +1209,7 @@ public open class CfnDBInstance( * instance. */ public open fun processorFeatures(`value`: IResolvable) { - unwrap(this).setProcessorFeatures(`value`.let(IResolvable::unwrap)) + unwrap(this).setProcessorFeatures(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1242,7 +1256,7 @@ public open class CfnDBInstance( * Indicates whether the DB instance is an internet-facing instance. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1355,7 +1369,7 @@ public open class CfnDBInstance( * By default, it isn't encrypted. */ public open fun storageEncrypted(`value`: IResolvable) { - unwrap(this).setStorageEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1401,7 +1415,7 @@ public open class CfnDBInstance( * An optional array of key-value pairs to apply to this DB instance. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1466,7 +1480,7 @@ public open class CfnDBInstance( * Specifies whether the DB instance class of the DB instance uses its default processor features. */ public open fun useDefaultProcessorFeatures(`value`: IResolvable) { - unwrap(this).setUseDefaultProcessorFeatures(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseDefaultProcessorFeatures(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1485,7 +1499,7 @@ public open class CfnDBInstance( * Specifies whether the DB instance is restored from the latest backup time. */ public open fun useLatestRestorableTime(`value`: IResolvable) { - unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable::unwrap)) + unwrap(this).setUseLatestRestorableTime(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1682,6 +1696,19 @@ public open class CfnDBInstance( */ public fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) + /** + * The AWS KMS key identifier for encryption of the replicated automated backups. + * + * The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the + * destination AWS Region , for example, + * `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationkmskeyid) + * @param automaticBackupReplicationKmsKeyId The AWS KMS key identifier for encryption of the + * replicated automated backups. + */ + public fun automaticBackupReplicationKmsKeyId(automaticBackupReplicationKmsKeyId: String) + /** * The destination region for the backup replication of the DB instance. * @@ -3610,7 +3637,8 @@ public open class CfnDBInstance( /** * The time zone of the DB instance. * - * The time zone parameter is currently supported only by [Microsoft SQL + * The time zone parameter is currently supported only by [RDS for + * Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL * Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) * . * @@ -3875,7 +3903,7 @@ public open class CfnDBInstance( * allowed. */ override fun allowMajorVersionUpgrade(allowMajorVersionUpgrade: IResolvable) { - cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -3890,7 +3918,7 @@ public open class CfnDBInstance( * DB instance. */ override fun associatedRoles(associatedRoles: IResolvable) { - cdkBuilder.associatedRoles(associatedRoles.let(IResolvable::unwrap)) + cdkBuilder.associatedRoles(associatedRoles.let(IResolvable.Companion::unwrap)) } /** @@ -3947,7 +3975,22 @@ public open class CfnDBInstance( * applied automatically to the DB instance during the maintenance window. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) + } + + /** + * The AWS KMS key identifier for encryption of the replicated automated backups. + * + * The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the + * destination AWS Region , for example, + * `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationkmskeyid) + * @param automaticBackupReplicationKmsKeyId The AWS KMS key identifier for encryption of the + * replicated automated backups. + */ + override fun automaticBackupReplicationKmsKeyId(automaticBackupReplicationKmsKeyId: String) { + cdkBuilder.automaticBackupReplicationKmsKeyId(automaticBackupReplicationKmsKeyId) } /** @@ -4042,7 +4085,7 @@ public open class CfnDBInstance( * @param certificateDetails The details of the DB instance's server certificate. */ override fun certificateDetails(certificateDetails: IResolvable) { - cdkBuilder.certificateDetails(certificateDetails.let(IResolvable::unwrap)) + cdkBuilder.certificateDetails(certificateDetails.let(IResolvable.Companion::unwrap)) } /** @@ -4052,7 +4095,7 @@ public open class CfnDBInstance( * @param certificateDetails The details of the DB instance's server certificate. */ override fun certificateDetails(certificateDetails: CertificateDetailsProperty) { - cdkBuilder.certificateDetails(certificateDetails.let(CertificateDetailsProperty::unwrap)) + cdkBuilder.certificateDetails(certificateDetails.let(CertificateDetailsProperty.Companion::unwrap)) } /** @@ -4128,7 +4171,7 @@ public open class CfnDBInstance( * rotate your SSL/TLS certificate. */ override fun certificateRotationRestart(certificateRotationRestart: IResolvable) { - cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable::unwrap)) + cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable.Companion::unwrap)) } /** @@ -4180,7 +4223,7 @@ public open class CfnDBInstance( * the DB instance. */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -4600,7 +4643,7 @@ public open class CfnDBInstance( * enabled. */ override fun dedicatedLogVolume(dedicatedLogVolume: IResolvable) { - cdkBuilder.dedicatedLogVolume(dedicatedLogVolume.let(IResolvable::unwrap)) + cdkBuilder.dedicatedLogVolume(dedicatedLogVolume.let(IResolvable.Companion::unwrap)) } /** @@ -4640,7 +4683,7 @@ public open class CfnDBInstance( * immediately after the DB instance is deleted. */ override fun deleteAutomatedBackups(deleteAutomatedBackups: IResolvable) { - cdkBuilder.deleteAutomatedBackups(deleteAutomatedBackups.let(IResolvable::unwrap)) + cdkBuilder.deleteAutomatedBackups(deleteAutomatedBackups.let(IResolvable.Companion::unwrap)) } /** @@ -4682,7 +4725,7 @@ public open class CfnDBInstance( * protection enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -4930,7 +4973,7 @@ public open class CfnDBInstance( * AWS Identity and Access Management (IAM) accounts to database accounts. */ override fun enableIamDatabaseAuthentication(enableIamDatabaseAuthentication: IResolvable) { - cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable::unwrap)) + cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -4964,7 +5007,7 @@ public open class CfnDBInstance( * instance. */ override fun enablePerformanceInsights(enablePerformanceInsights: IResolvable) { - cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable.Companion::unwrap)) } /** @@ -4978,7 +5021,7 @@ public open class CfnDBInstance( * @param endpoint The connection endpoint for the DB instance. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** @@ -4992,7 +5035,7 @@ public open class CfnDBInstance( * @param endpoint The connection endpoint for the DB instance. */ override fun endpoint(endpoint: EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(EndpointProperty.Companion::unwrap)) } /** @@ -5246,7 +5289,7 @@ public open class CfnDBInstance( * Secrets Manager. */ override fun manageMasterUserPassword(manageMasterUserPassword: IResolvable) { - cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable::unwrap)) + cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable.Companion::unwrap)) } /** @@ -5301,7 +5344,7 @@ public open class CfnDBInstance( * password. */ override fun masterUserSecret(masterUserSecret: IResolvable) { - cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable.Companion::unwrap)) } /** @@ -5316,7 +5359,7 @@ public open class CfnDBInstance( * password. */ override fun masterUserSecret(masterUserSecret: MasterUserSecretProperty) { - cdkBuilder.masterUserSecret(masterUserSecret.let(MasterUserSecretProperty::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(MasterUserSecretProperty.Companion::unwrap)) } /** @@ -5510,7 +5553,7 @@ public open class CfnDBInstance( * @param multiAz Specifies whether the database instance is a Multi-AZ DB instance deployment. */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** @@ -5692,7 +5735,7 @@ public open class CfnDBInstance( * DB instance class of the DB instance. */ override fun processorFeatures(processorFeatures: IResolvable) { - cdkBuilder.processorFeatures(processorFeatures.let(IResolvable::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(IResolvable.Companion::unwrap)) } /** @@ -5781,7 +5824,7 @@ public open class CfnDBInstance( * @param publiclyAccessible Indicates whether the DB instance is an internet-facing instance. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -5974,7 +6017,7 @@ public open class CfnDBInstance( * default, it isn't encrypted. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -6018,7 +6061,7 @@ public open class CfnDBInstance( * @param tags An optional array of key-value pairs to apply to this DB instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -6052,7 +6095,8 @@ public open class CfnDBInstance( /** * The time zone of the DB instance. * - * The time zone parameter is currently supported only by [Microsoft SQL + * The time zone parameter is currently supported only by [RDS for + * Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL * Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) * . * @@ -6088,7 +6132,7 @@ public open class CfnDBInstance( * uses its default processor features. */ override fun useDefaultProcessorFeatures(useDefaultProcessorFeatures: IResolvable) { - cdkBuilder.useDefaultProcessorFeatures(useDefaultProcessorFeatures.let(IResolvable::unwrap)) + cdkBuilder.useDefaultProcessorFeatures(useDefaultProcessorFeatures.let(IResolvable.Companion::unwrap)) } /** @@ -6122,7 +6166,7 @@ public open class CfnDBInstance( * backup time. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstanceProps.kt index 9f1767ec62..a1f61594df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBInstanceProps.kt @@ -32,6 +32,7 @@ import kotlin.jvm.JvmName * .featureName("featureName") * .roleArn("roleArn") * .build())) + * .automaticBackupReplicationKmsKeyId("automaticBackupReplicationKmsKeyId") * .automaticBackupReplicationRegion("automaticBackupReplicationRegion") * .autoMinorVersionUpgrade(false) * .availabilityZone("availabilityZone") @@ -234,6 +235,17 @@ public interface CfnDBInstanceProps { */ public fun autoMinorVersionUpgrade(): Any? = unwrap(this).getAutoMinorVersionUpgrade() + /** + * The AWS KMS key identifier for encryption of the replicated automated backups. + * + * The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination + * AWS Region , for example, `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationkmskeyid) + */ + public fun automaticBackupReplicationKmsKeyId(): String? = + unwrap(this).getAutomaticBackupReplicationKmsKeyId() + /** * The destination region for the backup replication of the DB instance. * @@ -1632,7 +1644,8 @@ public interface CfnDBInstanceProps { /** * The time zone of the DB instance. * - * The time zone parameter is currently supported only by [Microsoft SQL + * The time zone parameter is currently supported only by [RDS for + * Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL * Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) * . * @@ -1844,6 +1857,15 @@ public interface CfnDBInstanceProps { */ public fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) + /** + * @param automaticBackupReplicationKmsKeyId The AWS KMS key identifier for encryption of the + * replicated automated backups. + * The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the + * destination AWS Region , for example, + * `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE` . + */ + public fun automaticBackupReplicationKmsKeyId(automaticBackupReplicationKmsKeyId: String) + /** * @param automaticBackupReplicationRegion The destination region for the backup replication of * the DB instance. @@ -3382,7 +3404,8 @@ public interface CfnDBInstanceProps { /** * @param timezone The time zone of the DB instance. - * The time zone parameter is currently supported only by [Microsoft SQL + * The time zone parameter is currently supported only by [RDS for + * Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL * Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) * . */ @@ -3603,7 +3626,7 @@ public interface CfnDBInstanceProps { * version. */ override fun allowMajorVersionUpgrade(allowMajorVersionUpgrade: IResolvable) { - cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowMajorVersionUpgrade(allowMajorVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -3614,7 +3637,7 @@ public interface CfnDBInstanceProps { * Not applicable. The associated roles are managed by the DB cluster. */ override fun associatedRoles(associatedRoles: IResolvable) { - cdkBuilder.associatedRoles(associatedRoles.let(IResolvable::unwrap)) + cdkBuilder.associatedRoles(associatedRoles.let(IResolvable.Companion::unwrap)) } /** @@ -3653,7 +3676,18 @@ public interface CfnDBInstanceProps { * By default, minor engine upgrades are applied automatically. */ override fun autoMinorVersionUpgrade(autoMinorVersionUpgrade: IResolvable) { - cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.autoMinorVersionUpgrade(autoMinorVersionUpgrade.let(IResolvable.Companion::unwrap)) + } + + /** + * @param automaticBackupReplicationKmsKeyId The AWS KMS key identifier for encryption of the + * replicated automated backups. + * The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the + * destination AWS Region , for example, + * `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE` . + */ + override fun automaticBackupReplicationKmsKeyId(automaticBackupReplicationKmsKeyId: String) { + cdkBuilder.automaticBackupReplicationKmsKeyId(automaticBackupReplicationKmsKeyId) } /** @@ -3727,14 +3761,14 @@ public interface CfnDBInstanceProps { * @param certificateDetails The details of the DB instance's server certificate. */ override fun certificateDetails(certificateDetails: IResolvable) { - cdkBuilder.certificateDetails(certificateDetails.let(IResolvable::unwrap)) + cdkBuilder.certificateDetails(certificateDetails.let(IResolvable.Companion::unwrap)) } /** * @param certificateDetails The details of the DB instance's server certificate. */ override fun certificateDetails(certificateDetails: CfnDBInstance.CertificateDetailsProperty) { - cdkBuilder.certificateDetails(certificateDetails.let(CfnDBInstance.CertificateDetailsProperty::unwrap)) + cdkBuilder.certificateDetails(certificateDetails.let(CfnDBInstance.CertificateDetailsProperty.Companion::unwrap)) } /** @@ -3799,7 +3833,7 @@ public interface CfnDBInstanceProps { * This setting doesn't apply to RDS Custom DB instances. */ override fun certificateRotationRestart(certificateRotationRestart: IResolvable) { - cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable::unwrap)) + cdkBuilder.certificateRotationRestart(certificateRotationRestart.let(IResolvable.Companion::unwrap)) } /** @@ -3838,7 +3872,7 @@ public interface CfnDBInstanceProps { * cluster setting. */ override fun copyTagsToSnapshot(copyTagsToSnapshot: IResolvable) { - cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable::unwrap)) + cdkBuilder.copyTagsToSnapshot(copyTagsToSnapshot.let(IResolvable.Companion::unwrap)) } /** @@ -4195,7 +4229,7 @@ public interface CfnDBInstanceProps { * enabled. */ override fun dedicatedLogVolume(dedicatedLogVolume: IResolvable) { - cdkBuilder.dedicatedLogVolume(dedicatedLogVolume.let(IResolvable::unwrap)) + cdkBuilder.dedicatedLogVolume(dedicatedLogVolume.let(IResolvable.Companion::unwrap)) } /** @@ -4225,7 +4259,7 @@ public interface CfnDBInstanceProps { * deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted. */ override fun deleteAutomatedBackups(deleteAutomatedBackups: IResolvable) { - cdkBuilder.deleteAutomatedBackups(deleteAutomatedBackups.let(IResolvable::unwrap)) + cdkBuilder.deleteAutomatedBackups(deleteAutomatedBackups.let(IResolvable.Companion::unwrap)) } /** @@ -4259,7 +4293,7 @@ public interface CfnDBInstanceProps { * deletion protection is enabled for the DB cluster. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -4461,7 +4495,7 @@ public interface CfnDBInstanceProps { * Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster. */ override fun enableIamDatabaseAuthentication(enableIamDatabaseAuthentication: IResolvable) { - cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable::unwrap)) + cdkBuilder.enableIamDatabaseAuthentication(enableIamDatabaseAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -4487,7 +4521,7 @@ public interface CfnDBInstanceProps { * This setting doesn't apply to RDS Custom DB instances. */ override fun enablePerformanceInsights(enablePerformanceInsights: IResolvable) { - cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable::unwrap)) + cdkBuilder.enablePerformanceInsights(enablePerformanceInsights.let(IResolvable.Companion::unwrap)) } /** @@ -4496,7 +4530,7 @@ public interface CfnDBInstanceProps { * The endpoint might not be shown for instances with the status of `creating` . */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** @@ -4505,7 +4539,7 @@ public interface CfnDBInstanceProps { * The endpoint might not be shown for instances with the status of `creating` . */ override fun endpoint(endpoint: CfnDBInstance.EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(CfnDBInstance.EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(CfnDBInstance.EndpointProperty.Companion::unwrap)) } /** @@ -4724,7 +4758,7 @@ public interface CfnDBInstanceProps { * specified. */ override fun manageMasterUserPassword(manageMasterUserPassword: IResolvable) { - cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable::unwrap)) + cdkBuilder.manageMasterUserPassword(manageMasterUserPassword.let(IResolvable.Companion::unwrap)) } /** @@ -4770,7 +4804,7 @@ public interface CfnDBInstanceProps { * *Amazon RDS User Guide.* */ override fun masterUserSecret(masterUserSecret: IResolvable) { - cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(IResolvable.Companion::unwrap)) } /** @@ -4781,7 +4815,7 @@ public interface CfnDBInstanceProps { * *Amazon RDS User Guide.* */ override fun masterUserSecret(masterUserSecret: CfnDBInstance.MasterUserSecretProperty) { - cdkBuilder.masterUserSecret(masterUserSecret.let(CfnDBInstance.MasterUserSecretProperty::unwrap)) + cdkBuilder.masterUserSecret(masterUserSecret.let(CfnDBInstance.MasterUserSecretProperty.Companion::unwrap)) } /** @@ -4943,7 +4977,7 @@ public interface CfnDBInstanceProps { * doesn't require the `MultiAZ` option to be set. */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** @@ -5086,7 +5120,7 @@ public interface CfnDBInstanceProps { * This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. */ override fun processorFeatures(processorFeatures: IResolvable) { - cdkBuilder.processorFeatures(processorFeatures.let(IResolvable::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(IResolvable.Companion::unwrap)) } /** @@ -5150,7 +5184,7 @@ public interface CfnDBInstanceProps { * in the *Amazon RDS API Reference* . */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -5307,7 +5341,7 @@ public interface CfnDBInstanceProps { * Not applicable. The encryption for DB instances is managed by the DB cluster. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } /** @@ -5339,7 +5373,7 @@ public interface CfnDBInstanceProps { * @param tags An optional array of key-value pairs to apply to this DB instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -5367,7 +5401,8 @@ public interface CfnDBInstanceProps { /** * @param timezone The time zone of the DB instance. - * The time zone parameter is currently supported only by [Microsoft SQL + * The time zone parameter is currently supported only by [RDS for + * Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL * Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) * . */ @@ -5390,7 +5425,7 @@ public interface CfnDBInstanceProps { * This setting doesn't apply to RDS Custom DB instances. */ override fun useDefaultProcessorFeatures(useDefaultProcessorFeatures: IResolvable) { - cdkBuilder.useDefaultProcessorFeatures(useDefaultProcessorFeatures.let(IResolvable::unwrap)) + cdkBuilder.useDefaultProcessorFeatures(useDefaultProcessorFeatures.let(IResolvable.Companion::unwrap)) } /** @@ -5416,7 +5451,7 @@ public interface CfnDBInstanceProps { * * Can't be specified if the `RestoreTime` parameter is provided. */ override fun useLatestRestorableTime(useLatestRestorableTime: IResolvable) { - cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable::unwrap)) + cdkBuilder.useLatestRestorableTime(useLatestRestorableTime.let(IResolvable.Companion::unwrap)) } /** @@ -5612,6 +5647,18 @@ public interface CfnDBInstanceProps { */ override fun autoMinorVersionUpgrade(): Any? = unwrap(this).getAutoMinorVersionUpgrade() + /** + * The AWS KMS key identifier for encryption of the replicated automated backups. + * + * The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the + * destination AWS Region , for example, + * `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE` . + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationkmskeyid) + */ + override fun automaticBackupReplicationKmsKeyId(): String? = + unwrap(this).getAutomaticBackupReplicationKmsKeyId() + /** * The destination region for the backup replication of the DB instance. * @@ -7022,7 +7069,8 @@ public interface CfnDBInstanceProps { /** * The time zone of the DB instance. * - * The time zone parameter is currently supported only by [Microsoft SQL + * The time zone parameter is currently supported only by [RDS for + * Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone) and [RDS for SQL * Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) * . * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroup.kt index 4703e6f7c1..8f08b4df73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroup.kt @@ -71,8 +71,8 @@ public open class CfnDBParameterGroup( id: String, props: CfnDBParameterGroupProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnDBParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnDBParameterGroup( * An optional array of key-value pairs to apply to this DB parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnDBParameterGroup( * @param tags An optional array of key-value pairs to apply to this DB parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroupProps.kt index 906875caf8..f9c4769963 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBParameterGroupProps.kt @@ -297,7 +297,7 @@ public interface CfnDBParameterGroupProps { * Currently, this is the only property that supports drift detection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxy.kt index d7d481877d..88a71961bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxy.kt @@ -85,8 +85,8 @@ public open class CfnDBProxy( id: String, props: CfnDBProxyProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBProxy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBProxyProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBProxy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBProxyProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnDBProxy( * The authorization mechanism that the proxy uses. */ public open fun auth(`value`: IResolvable) { - unwrap(this).setAuth(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuth(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnDBProxy( * Specifies whether the proxy includes detailed information about SQL statements in its logs. */ public open fun debugLogging(`value`: IResolvable) { - unwrap(this).setDebugLogging(`value`.let(IResolvable::unwrap)) + unwrap(this).setDebugLogging(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnDBProxy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnDBProxy( * proxy. */ public open fun requireTls(`value`: IResolvable) { - unwrap(this).setRequireTls(`value`.let(IResolvable::unwrap)) + unwrap(this).setRequireTls(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnDBProxy( * An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(TagFormatProperty::unwrap)) + unwrap(this).setTags(`value`.map(TagFormatProperty.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class CfnDBProxy( * @param auth The authorization mechanism that the proxy uses. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public open class CfnDBProxy( * statements in its logs. */ override fun debugLogging(debugLogging: IResolvable) { - cdkBuilder.debugLogging(debugLogging.let(IResolvable::unwrap)) + cdkBuilder.debugLogging(debugLogging.let(IResolvable.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class CfnDBProxy( * connections to the proxy. */ override fun requireTls(requireTls: IResolvable) { - cdkBuilder.requireTls(requireTls.let(IResolvable::unwrap)) + cdkBuilder.requireTls(requireTls.let(IResolvable.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public open class CfnDBProxy( * with the proxy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagFormatProperty::unwrap)) + cdkBuilder.tags(tags.map(TagFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpoint.kt index a8addc8615..2bd455fc82 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpoint.kt @@ -58,8 +58,8 @@ public open class CfnDBProxyEndpoint( id: String, props: CfnDBProxyEndpointProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBProxyEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBProxyEndpointProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBProxyEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBProxyEndpointProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class CfnDBProxyEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnDBProxyEndpoint( * An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(TagFormatProperty::unwrap)) + unwrap(this).setTags(`value`.map(TagFormatProperty.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnDBProxyEndpoint( * with the proxy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagFormatProperty::unwrap)) + cdkBuilder.tags(tags.map(TagFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpointProps.kt index 76d4a8349b..c105841f85 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyEndpointProps.kt @@ -175,7 +175,7 @@ public interface CfnDBProxyEndpointProps { * with the proxy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnDBProxyEndpoint.TagFormatProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnDBProxyEndpoint.TagFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyProps.kt index 150d5b8a84..15589e54bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyProps.kt @@ -282,7 +282,7 @@ public interface CfnDBProxyProps { * @param auth The authorization mechanism that the proxy uses. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public interface CfnDBProxyProps { * appears in the logs. */ override fun debugLogging(debugLogging: IResolvable) { - cdkBuilder.debugLogging(debugLogging.let(IResolvable::unwrap)) + cdkBuilder.debugLogging(debugLogging.let(IResolvable.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface CfnDBProxyProps { * By enabling this setting, you can enforce encrypted TLS connections to the proxy. */ override fun requireTls(requireTls: IResolvable) { - cdkBuilder.requireTls(requireTls.let(IResolvable::unwrap)) + cdkBuilder.requireTls(requireTls.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public interface CfnDBProxyProps { * with the proxy. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnDBProxy.TagFormatProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnDBProxy.TagFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroup.kt index 58fa962039..60d4b7e437 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroup.kt @@ -85,8 +85,8 @@ public open class CfnDBProxyTargetGroup( id: String, props: CfnDBProxyTargetGroupProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBProxyTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBProxyTargetGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBProxyTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBProxyTargetGroupProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnDBProxyTargetGroup( * `DBProxyTargetGroup` . */ public open fun connectionPoolConfigurationInfo(`value`: IResolvable) { - unwrap(this).setConnectionPoolConfigurationInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectionPoolConfigurationInfo(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnDBProxyTargetGroup( */ public open fun connectionPoolConfigurationInfo(`value`: ConnectionPoolConfigurationInfoFormatProperty) { - unwrap(this).setConnectionPoolConfigurationInfo(`value`.let(ConnectionPoolConfigurationInfoFormatProperty::unwrap)) + unwrap(this).setConnectionPoolConfigurationInfo(`value`.let(ConnectionPoolConfigurationInfoFormatProperty.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnDBProxyTargetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnDBProxyTargetGroup( * connection pool associated with a `DBProxyTargetGroup` . */ override fun connectionPoolConfigurationInfo(connectionPoolConfigurationInfo: IResolvable) { - cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(IResolvable::unwrap)) + cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(IResolvable.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public open class CfnDBProxyTargetGroup( */ override fun connectionPoolConfigurationInfo(connectionPoolConfigurationInfo: ConnectionPoolConfigurationInfoFormatProperty) { - cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(ConnectionPoolConfigurationInfoFormatProperty::unwrap)) + cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(ConnectionPoolConfigurationInfoFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroupProps.kt index d23a33ce63..93679e6530 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBProxyTargetGroupProps.kt @@ -153,7 +153,7 @@ public interface CfnDBProxyTargetGroupProps { * connection pool associated with a `DBProxyTargetGroup` . */ override fun connectionPoolConfigurationInfo(connectionPoolConfigurationInfo: IResolvable) { - cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(IResolvable::unwrap)) + cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(IResolvable.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public interface CfnDBProxyTargetGroupProps { */ override fun connectionPoolConfigurationInfo(connectionPoolConfigurationInfo: CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty) { - cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty::unwrap)) + cdkBuilder.connectionPoolConfigurationInfo(connectionPoolConfigurationInfo.let(CfnDBProxyTargetGroup.ConnectionPoolConfigurationInfoFormatProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroup.kt index e868907139..14f16b4875 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroup.kt @@ -67,8 +67,8 @@ public open class CfnDBSecurityGroup( id: String, props: CfnDBSecurityGroupProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBSecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBSecurityGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBSecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBSecurityGroupProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnDBSecurityGroup( * Ingress rules to be applied to the DB security group. */ public open fun dbSecurityGroupIngress(`value`: IResolvable) { - unwrap(this).setDbSecurityGroupIngress(`value`.let(IResolvable::unwrap)) + unwrap(this).setDbSecurityGroupIngress(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnDBSecurityGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnDBSecurityGroup( * An optional array of key-value pairs to apply to this DB security group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnDBSecurityGroup( * @param dbSecurityGroupIngress Ingress rules to be applied to the DB security group. */ override fun dbSecurityGroupIngress(dbSecurityGroupIngress: IResolvable) { - cdkBuilder.dbSecurityGroupIngress(dbSecurityGroupIngress.let(IResolvable::unwrap)) + cdkBuilder.dbSecurityGroupIngress(dbSecurityGroupIngress.let(IResolvable.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnDBSecurityGroup( * @param tags An optional array of key-value pairs to apply to this DB security group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupIngress.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupIngress.kt index 07dbe8c357..57a4d34685 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupIngress.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupIngress.kt @@ -66,8 +66,8 @@ public open class CfnDBSecurityGroupIngress( id: String, props: CfnDBSecurityGroupIngressProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBSecurityGroupIngressProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBSecurityGroupIngressProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CfnDBSecurityGroupIngress( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupProps.kt index e6ab30b54c..f7b15c7f16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSecurityGroupProps.kt @@ -128,7 +128,7 @@ public interface CfnDBSecurityGroupProps { * @param dbSecurityGroupIngress Ingress rules to be applied to the DB security group. */ override fun dbSecurityGroupIngress(dbSecurityGroupIngress: IResolvable) { - cdkBuilder.dbSecurityGroupIngress(dbSecurityGroupIngress.let(IResolvable::unwrap)) + cdkBuilder.dbSecurityGroupIngress(dbSecurityGroupIngress.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface CfnDBSecurityGroupProps { * @param tags An optional array of key-value pairs to apply to this DB security group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroup.kt index f16aa596c5..a1dcd7cba3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroup.kt @@ -53,8 +53,8 @@ public open class CfnDBSubnetGroup( id: String, props: CfnDBSubnetGroupProps, ) : - this(software.amazon.awscdk.services.rds.CfnDBSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDBSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnDBSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDBSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnDBSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnDBSubnetGroup( * An optional array of key-value pairs to apply to this DB subnet group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnDBSubnetGroup( * @param tags An optional array of key-value pairs to apply to this DB subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroupProps.kt index d3df7ba7ba..1229d22842 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnDBSubnetGroupProps.kt @@ -147,7 +147,7 @@ public interface CfnDBSubnetGroupProps { * @param tags An optional array of key-value pairs to apply to this DB subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscription.kt index 07377d4ceb..c244e22dae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscription.kt @@ -58,8 +58,8 @@ public open class CfnEventSubscription( id: String, props: CfnEventSubscriptionProps, ) : - this(software.amazon.awscdk.services.rds.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnEventSubscription( * Specifies whether to activate the subscription. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class CfnEventSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnEventSubscription( * An optional array of key-value pairs to apply to this subscription. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnEventSubscription( * @param enabled Specifies whether to activate the subscription. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnEventSubscription( * @param tags An optional array of key-value pairs to apply to this subscription. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscriptionProps.kt index 8604fd3a88..465ecf97ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnEventSubscriptionProps.kt @@ -276,7 +276,7 @@ public interface CfnEventSubscriptionProps { * active. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public interface CfnEventSubscriptionProps { * @param tags An optional array of key-value pairs to apply to this subscription. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalCluster.kt index a3a8e9fbd6..d0744c6dea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalCluster.kt @@ -51,7 +51,7 @@ public open class CfnGlobalCluster( cdkObject: software.amazon.awscdk.services.rds.CfnGlobalCluster, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.rds.CfnGlobalCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.rds.CfnGlobalCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnGlobalCluster( id: String, props: CfnGlobalClusterProps, ) : - this(software.amazon.awscdk.services.rds.CfnGlobalCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGlobalClusterProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnGlobalCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGlobalClusterProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnGlobalCluster( * Specifies whether to enable deletion protection for the new global database cluster. */ public open fun deletionProtection(`value`: IResolvable) { - unwrap(this).setDeletionProtection(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtection(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnGlobalCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnGlobalCluster( * Specifies whether to enable storage encryption for the new global database cluster. */ public open fun storageEncrypted(`value`: IResolvable) { - unwrap(this).setStorageEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class CfnGlobalCluster( * database cluster. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public open class CfnGlobalCluster( * database cluster. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.CfnGlobalCluster = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalClusterProps.kt index 119bf4517a..3434f80e90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnGlobalClusterProps.kt @@ -202,7 +202,7 @@ public interface CfnGlobalClusterProps { * The global database can't be deleted when deletion protection is enabled. */ override fun deletionProtection(deletionProtection: IResolvable) { - cdkBuilder.deletionProtection(deletionProtection.let(IResolvable::unwrap)) + cdkBuilder.deletionProtection(deletionProtection.let(IResolvable.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface CfnGlobalClusterProps { * uses the setting from the source DB cluster. */ override fun storageEncrypted(storageEncrypted: IResolvable) { - cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable::unwrap)) + cdkBuilder.storageEncrypted(storageEncrypted.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.CfnGlobalClusterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegration.kt index 39ceee7791..b33526a91d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegration.kt @@ -54,8 +54,8 @@ public open class CfnIntegration( id: String, props: CfnIntegrationProps, ) : - this(software.amazon.awscdk.services.rds.CfnIntegration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIntegrationProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnIntegration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIntegrationProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,7 @@ public open class CfnIntegration( * about the data. */ public open fun additionalEncryptionContext(`value`: IResolvable) { - unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnIntegration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnIntegration( * A list of tags. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnIntegration( * contains additional contextual information about the data. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnIntegration( * @param tags A list of tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegrationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegrationProps.kt index c7d010c928..886cf9b2ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegrationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnIntegrationProps.kt @@ -209,7 +209,7 @@ public interface CfnIntegrationProps { * You can only include this parameter if you specify the `KMSKeyId` parameter. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface CfnIntegrationProps { * *Amazon RDS User Guide.* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroup.kt index 13058bb00e..20b47f2cf8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroup.kt @@ -65,8 +65,8 @@ public open class CfnOptionGroup( id: String, props: CfnOptionGroupProps, ) : - this(software.amazon.awscdk.services.rds.CfnOptionGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOptionGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.CfnOptionGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOptionGroupProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnOptionGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnOptionGroup( * A list of options and the settings for each option. */ public open fun optionConfigurations(`value`: IResolvable) { - unwrap(this).setOptionConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setOptionConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnOptionGroup( * An optional array of key-value pairs to apply to this option group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnOptionGroup( * @param optionConfigurations A list of options and the settings for each option. */ override fun optionConfigurations(optionConfigurations: IResolvable) { - cdkBuilder.optionConfigurations(optionConfigurations.let(IResolvable::unwrap)) + cdkBuilder.optionConfigurations(optionConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CfnOptionGroup( * @param tags An optional array of key-value pairs to apply to this option group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class CfnOptionGroup( * @param optionSettings The option settings to include in an option group. */ override fun optionSettings(optionSettings: IResolvable) { - cdkBuilder.optionSettings(optionSettings.let(IResolvable::unwrap)) + cdkBuilder.optionSettings(optionSettings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroupProps.kt index 50d71b2e05..20ed3d8ecb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CfnOptionGroupProps.kt @@ -236,7 +236,7 @@ public interface CfnOptionGroupProps { * @param optionConfigurations A list of options and the settings for each option. */ override fun optionConfigurations(optionConfigurations: IResolvable) { - cdkBuilder.optionConfigurations(optionConfigurations.let(IResolvable::unwrap)) + cdkBuilder.optionConfigurations(optionConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface CfnOptionGroupProps { * @param tags An optional array of key-value pairs to apply to this option group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineBindOptions.kt index f9f839b92a..0a83a7462b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineBindOptions.kt @@ -79,21 +79,21 @@ public interface ClusterEngineBindOptions { * @param parameterGroup The customer-provided ParameterGroup. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** * @param s3ExportRole The role used for S3 exporting. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** * @param s3ImportRole The role used for S3 importing. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.ClusterEngineBindOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineConfig.kt index cb6fafa6ea..96b2485aca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterEngineConfig.kt @@ -92,7 +92,7 @@ public interface ClusterEngineConfig { * @param features Features supported by the database engine. */ override fun features(features: ClusterEngineFeatures) { - cdkBuilder.features(features.let(ClusterEngineFeatures::unwrap)) + cdkBuilder.features(features.let(ClusterEngineFeatures.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface ClusterEngineConfig { * @param parameterGroup The ParameterGroup to use for the cluster. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstance.kt index 1d433db286..785e5c1d81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstance.kt @@ -46,9 +46,9 @@ public open class ClusterInstance( scope: Construct, cluster: IDatabaseCluster, props: ClusterInstanceBindOptions, - ): IAuroraClusterInstance = unwrap(this).bind(scope.let(Construct::unwrap), - cluster.let(IDatabaseCluster::unwrap), - props.let(ClusterInstanceBindOptions::unwrap)).let(IAuroraClusterInstance::wrap) + ): IAuroraClusterInstance = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + cluster.let(IDatabaseCluster.Companion::unwrap), + props.let(ClusterInstanceBindOptions.Companion::unwrap)).let(IAuroraClusterInstance::wrap) /** * Add the ClusterInstance to the cluster. @@ -71,7 +71,7 @@ public open class ClusterInstance( public fun provisioned(id: String, props: ProvisionedClusterInstanceProps): IClusterInstance = software.amazon.awscdk.services.rds.ClusterInstance.provisioned(id, - props.let(ProvisionedClusterInstanceProps::unwrap)).let(IClusterInstance::wrap) + props.let(ProvisionedClusterInstanceProps.Companion::unwrap)).let(IClusterInstance::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d781f29fad51f76e0bd5fa96d5869cf89788dae13f9423dd8350045fd31dd643") @@ -83,7 +83,7 @@ public open class ClusterInstance( public fun serverlessV2(id: String, props: ServerlessV2ClusterInstanceProps): IClusterInstance = software.amazon.awscdk.services.rds.ClusterInstance.serverlessV2(id, - props.let(ServerlessV2ClusterInstanceProps::unwrap)).let(IClusterInstance::wrap) + props.let(ServerlessV2ClusterInstanceProps.Companion::unwrap)).let(IClusterInstance::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("73be7bc5cb344f273c10e948ec127924955eca80caa2aa170c4b72f334319798") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceBindOptions.kt index 8e189f482b..ccc3008626 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceBindOptions.kt @@ -127,14 +127,14 @@ public interface ClusterInstanceBindOptions { * enhanced monitoring metrics for the DB instances. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instances monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public interface ClusterInstanceBindOptions { * @param removalPolicy The removal policy on the cluster. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public interface ClusterInstanceBindOptions { * This is only needed when using the isFromLegacyInstanceProps */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.ClusterInstanceBindOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceOptions.kt index ae2b5f3d9a..3a08b67f69 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceOptions.kt @@ -304,7 +304,7 @@ public interface ClusterInstanceOptions { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public interface ClusterInstanceOptions { * provide this and just use the cluster parameter group */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface ClusterInstanceOptions { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public interface ClusterInstanceOptions { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceProps.kt index fc2151ccde..9b0ac20de9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceProps.kt @@ -196,7 +196,7 @@ public interface ClusterInstanceProps : ClusterInstanceOptions { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface ClusterInstanceProps : ClusterInstanceOptions { * provisioned or serverless v2 */ override fun instanceType(instanceType: ClusterInstanceType) { - cdkBuilder.instanceType(instanceType.let(ClusterInstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(ClusterInstanceType.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface ClusterInstanceProps : ClusterInstanceOptions { * provide this and just use the cluster parameter group */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public interface ClusterInstanceProps : ClusterInstanceOptions { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface ClusterInstanceProps : ClusterInstanceOptions { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceType.kt index bda413017e..53eb30eea7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ClusterInstanceType.kt @@ -26,7 +26,7 @@ public open class ClusterInstanceType( ) : CdkObject(cdkObject) { public constructor(instanceType: String, type: InstanceType) : this(software.amazon.awscdk.services.rds.ClusterInstanceType(instanceType, - type.let(InstanceType::unwrap)) + type.let(InstanceType.Companion::unwrap)) ) /** @@ -40,7 +40,7 @@ public open class ClusterInstanceType( public fun provisioned(instanceType: io.cloudshiftdev.awscdk.services.ec2.InstanceType): ClusterInstanceType = - software.amazon.awscdk.services.rds.ClusterInstanceType.provisioned(instanceType.let(io.cloudshiftdev.awscdk.services.ec2.InstanceType::unwrap)).let(ClusterInstanceType::wrap) + software.amazon.awscdk.services.rds.ClusterInstanceType.provisioned(instanceType.let(io.cloudshiftdev.awscdk.services.ec2.InstanceType.Companion::unwrap)).let(ClusterInstanceType::wrap) public fun serverlessV2(): ClusterInstanceType = software.amazon.awscdk.services.rds.ClusterInstanceType.serverlessV2().let(ClusterInstanceType::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CommonRotationUserOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CommonRotationUserOptions.kt index b88e6b6ca9..b93c278bae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CommonRotationUserOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CommonRotationUserOptions.kt @@ -158,7 +158,7 @@ public interface CommonRotationUserOptions { * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CommonRotationUserOptions { * resolves to your VPC endpoint. */ override fun endpoint(endpoint: IInterfaceVpcEndpoint) { - cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint::unwrap)) + cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint.Companion::unwrap)) } /** @@ -191,14 +191,14 @@ public interface CommonRotationUserOptions { * @param securityGroup The security group for the Lambda rotation function. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param vpcSubnets Where to place the rotation Lambda function. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/Credentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/Credentials.kt index d9c0dab5f7..0090e6ca03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/Credentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/Credentials.kt @@ -137,7 +137,7 @@ public abstract class Credentials( public fun fromGeneratedSecret(username: String, options: CredentialsBaseOptions): Credentials = software.amazon.awscdk.services.rds.Credentials.fromGeneratedSecret(username, - options.let(CredentialsBaseOptions::unwrap)).let(Credentials::wrap) + options.let(CredentialsBaseOptions.Companion::unwrap)).let(Credentials::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b03868995120525e6c312c2b4db8734101eb6d27be52a57f09996a4835396e0b") @@ -147,13 +147,13 @@ public abstract class Credentials( public fun fromPassword(username: String, password: SecretValue): Credentials = software.amazon.awscdk.services.rds.Credentials.fromPassword(username, - password.let(SecretValue::unwrap)).let(Credentials::wrap) + password.let(SecretValue.Companion::unwrap)).let(Credentials::wrap) public fun fromSecret(secret: ISecret): Credentials = - software.amazon.awscdk.services.rds.Credentials.fromSecret(secret.let(ISecret::unwrap)).let(Credentials::wrap) + software.amazon.awscdk.services.rds.Credentials.fromSecret(secret.let(ISecret.Companion::unwrap)).let(Credentials::wrap) public fun fromSecret(secret: ISecret, username: String): Credentials = - software.amazon.awscdk.services.rds.Credentials.fromSecret(secret.let(ISecret::unwrap), + software.amazon.awscdk.services.rds.Credentials.fromSecret(secret.let(ISecret.Companion::unwrap), username).let(Credentials::wrap) public fun fromUsername(username: String): Credentials = @@ -161,7 +161,7 @@ public abstract class Credentials( public fun fromUsername(username: String, options: CredentialsFromUsernameOptions): Credentials = software.amazon.awscdk.services.rds.Credentials.fromUsername(username, - options.let(CredentialsFromUsernameOptions::unwrap)).let(Credentials::wrap) + options.let(CredentialsFromUsernameOptions.Companion::unwrap)).let(Credentials::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0119aa6b8af2cf428e8ddcf75af4780c80416d50332ca96c1ad629359abae392") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsBaseOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsBaseOptions.kt index 75d3590b8e..f7ff86344b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsBaseOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsBaseOptions.kt @@ -106,7 +106,7 @@ public interface CredentialsBaseOptions { * @param encryptionKey KMS encryption key to encrypt the generated secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public interface CredentialsBaseOptions { * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsFromUsernameOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsFromUsernameOptions.kt index 1a8c892b03..6ec75115d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsFromUsernameOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/CredentialsFromUsernameOptions.kt @@ -92,7 +92,7 @@ public interface CredentialsFromUsernameOptions : CredentialsBaseOptions { * @param encryptionKey KMS encryption key to encrypt the generated secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -108,14 +108,14 @@ public interface CredentialsFromUsernameOptions : CredentialsBaseOptions { * Do not put passwords in your CDK code directly. */ override fun password(password: SecretValue) { - cdkBuilder.password(password.let(SecretValue::unwrap)) + cdkBuilder.password(password.let(SecretValue.Companion::unwrap)) } /** * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseCluster.kt index 5d87f97f83..28e0d0eb26 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseCluster.kt @@ -59,8 +59,8 @@ public open class DatabaseCluster( id: String, props: DatabaseClusterProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseClusterProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseClusterProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class DatabaseCluster( */ public open fun addRotationMultiUser(id: String, options: RotationMultiUserOptions): SecretRotation = unwrap(this).addRotationMultiUser(id, - options.let(RotationMultiUserOptions::unwrap)).let(SecretRotation::wrap) + options.let(RotationMultiUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the multi user rotation to this cluster. @@ -118,7 +118,7 @@ public open class DatabaseCluster( * @param options */ public open fun addRotationSingleUser(options: RotationSingleUserOptions): SecretRotation = - unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions::unwrap)).let(SecretRotation::wrap) + unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the single user rotation of the master password to this cluster. @@ -217,7 +217,7 @@ public open class DatabaseCluster( * @param props */ public open fun metricACUUtilization(props: MetricOptions): Metric = - unwrap(this).metricACUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricACUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This value is represented as a percentage. @@ -251,7 +251,7 @@ public open class DatabaseCluster( * @param props */ public open fun metricServerlessDatabaseCapacity(props: MetricOptions): Metric = - unwrap(this).metricServerlessDatabaseCapacity(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerlessDatabaseCapacity(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * As a cluster-level metric, it represents the average of the ServerlessDatabaseCapacity values @@ -886,7 +886,7 @@ public open class DatabaseCluster( * @param backtrackWindow The number of seconds to set a cluster's target backtrack window to. */ override fun backtrackWindow(backtrackWindow: Duration) { - cdkBuilder.backtrackWindow(backtrackWindow.let(Duration::unwrap)) + cdkBuilder.backtrackWindow(backtrackWindow.let(Duration.Companion::unwrap)) } /** @@ -900,7 +900,7 @@ public open class DatabaseCluster( * @param backup Backup settings. */ override fun backup(backup: BackupProps) { - cdkBuilder.backup(backup.let(BackupProps::unwrap)) + cdkBuilder.backup(backup.let(BackupProps.Companion::unwrap)) } /** @@ -952,7 +952,7 @@ public open class DatabaseCluster( * @param cloudwatchLogsRetention The number of days log events are kept in CloudWatch Logs. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -965,7 +965,7 @@ public open class DatabaseCluster( * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -999,7 +999,7 @@ public open class DatabaseCluster( * @param credentials Credentials for the administrative user. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -1058,7 +1058,7 @@ public open class DatabaseCluster( * @param domainRole The IAM role to be used when making API calls to the Directory Service. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -1078,7 +1078,7 @@ public open class DatabaseCluster( * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -1116,7 +1116,7 @@ public open class DatabaseCluster( */ @Deprecated(message = "deprecated in CDK") override fun instanceProps(instanceProps: InstanceProps) { - cdkBuilder.instanceProps(instanceProps.let(InstanceProps::unwrap)) + cdkBuilder.instanceProps(instanceProps.let(InstanceProps.Companion::unwrap)) } /** @@ -1139,7 +1139,7 @@ public open class DatabaseCluster( * @param instanceUpdateBehaviour The ordering of updates for instances. */ override fun instanceUpdateBehaviour(instanceUpdateBehaviour: InstanceUpdateBehaviour) { - cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour::unwrap)) + cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour.Companion::unwrap)) } /** @@ -1167,7 +1167,7 @@ public open class DatabaseCluster( * enhanced monitoring metrics for the DB instances. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class DatabaseCluster( * @param monitoringRole Role that will be used to manage DB instances monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -1189,7 +1189,7 @@ public open class DatabaseCluster( * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** @@ -1200,7 +1200,7 @@ public open class DatabaseCluster( * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1253,7 +1253,7 @@ public open class DatabaseCluster( * @param readers A list of instances to create as cluster reader instances. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IClusterInstance::unwrap)) + cdkBuilder.readers(readers.map(IClusterInstance.Companion::unwrap)) } /** @@ -1276,7 +1276,7 @@ public open class DatabaseCluster( * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1294,7 +1294,7 @@ public open class DatabaseCluster( * supported by the Aurora database engine. */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1329,7 +1329,7 @@ public open class DatabaseCluster( * @param s3ExportRole Role that will be associated with this DB cluster to enable S3 export. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1347,7 +1347,7 @@ public open class DatabaseCluster( * supported by the Aurora database engine. */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1382,7 +1382,7 @@ public open class DatabaseCluster( * @param s3ImportRole Role that will be associated with this DB cluster to enable S3 import. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class DatabaseCluster( * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1463,7 +1463,7 @@ public open class DatabaseCluster( * @param storageEncryptionKey The KMS key for storage encryption. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1474,7 +1474,7 @@ public open class DatabaseCluster( * @param storageType The storage type to be associated with the DB cluster. */ override fun storageType(storageType: DBClusterStorageType) { - cdkBuilder.storageType(storageType.let(DBClusterStorageType::unwrap)) + cdkBuilder.storageType(storageType.let(DBClusterStorageType.Companion::unwrap)) } /** @@ -1485,7 +1485,7 @@ public open class DatabaseCluster( * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1496,7 +1496,7 @@ public open class DatabaseCluster( * @param vpc What subnets to run the RDS instances in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1507,7 +1507,7 @@ public open class DatabaseCluster( * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1530,7 +1530,7 @@ public open class DatabaseCluster( * @param writer The instance to use for the cluster writer. */ override fun writer(writer: IClusterInstance) { - cdkBuilder.writer(writer.let(IClusterInstance::unwrap)) + cdkBuilder.writer(writer.let(IClusterInstance.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.DatabaseCluster = cdkBuilder.build() @@ -1542,8 +1542,8 @@ public open class DatabaseCluster( id: String, attrs: DatabaseClusterAttributes, ): IDatabaseCluster = - software.amazon.awscdk.services.rds.DatabaseCluster.fromDatabaseClusterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DatabaseClusterAttributes::unwrap)).let(IDatabaseCluster::wrap) + software.amazon.awscdk.services.rds.DatabaseCluster.fromDatabaseClusterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DatabaseClusterAttributes.Companion::unwrap)).let(IDatabaseCluster::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c2468a7dfbcae4e10b5b8acc2d69102604d71bdbc433551e1bb4c7e17788a73f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterAttributes.kt index 00cce6fb6e..9209118839 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterAttributes.kt @@ -219,7 +219,7 @@ public interface DatabaseClusterAttributes { * @param engine The engine of the existing Cluster. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -266,14 +266,14 @@ public interface DatabaseClusterAttributes { * @param secret The secret attached to the database cluster. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param securityGroups The security groups of the database cluster. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterBase.kt index 5a12052f38..345385763b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterBase.kt @@ -30,7 +30,8 @@ public abstract class DatabaseClusterBase( * @param options */ public override fun addProxy(id: String, options: DatabaseProxyOptions): DatabaseProxy = - unwrap(this).addProxy(id, options.let(DatabaseProxyOptions::unwrap)).let(DatabaseProxy::wrap) + unwrap(this).addProxy(id, + options.let(DatabaseProxyOptions.Companion::unwrap)).let(DatabaseProxy::wrap) /** * Add a new db proxy to this cluster. @@ -100,7 +101,7 @@ public abstract class DatabaseClusterBase( * @param dbUser */ public override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), dbUser).let(Grant::wrap) /** * Grant the given identity to access the Data API. @@ -108,7 +109,7 @@ public abstract class DatabaseClusterBase( * @param grantee */ public override fun grantDataApiAccess(grantee: IGrantable): Grant = - unwrap(this).grantDataApiAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDataApiAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Endpoints which address each individual replica. @@ -137,7 +138,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this DBCluster. @@ -168,7 +169,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The percentage of CPU utilization. @@ -200,7 +201,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricDatabaseConnections(props: MetricOptions): Metric = - unwrap(this).metricDatabaseConnections(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDatabaseConnections(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of database connections in use. @@ -231,7 +232,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricDeadlocks(props: MetricOptions): Metric = - unwrap(this).metricDeadlocks(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDeadlocks(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of deadlocks in the database per second. @@ -263,7 +264,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricEngineUptime(props: MetricOptions): Metric = - unwrap(this).metricEngineUptime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricEngineUptime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of time that the instance has been running, in seconds. @@ -295,7 +296,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricFreeLocalStorage(props: MetricOptions): Metric = - unwrap(this).metricFreeLocalStorage(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeLocalStorage(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of local storage available, in bytes. @@ -327,7 +328,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricFreeableMemory(props: MetricOptions): Metric = - unwrap(this).metricFreeableMemory(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeableMemory(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of available random access memory, in bytes. @@ -359,7 +360,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricNetworkReceiveThroughput(props: MetricOptions): Metric = - unwrap(this).metricNetworkReceiveThroughput(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNetworkReceiveThroughput(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of network throughput received from clients by each instance, in bytes per second. @@ -393,7 +394,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricNetworkThroughput(props: MetricOptions): Metric = - unwrap(this).metricNetworkThroughput(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNetworkThroughput(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of network throughput both received from and transmitted to clients by each @@ -426,7 +427,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricNetworkTransmitThroughput(props: MetricOptions): Metric = - unwrap(this).metricNetworkTransmitThroughput(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNetworkTransmitThroughput(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of network throughput sent to clients by each instance, in bytes per second. @@ -460,7 +461,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricSnapshotStorageUsed(props: MetricOptions): Metric = - unwrap(this).metricSnapshotStorageUsed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSnapshotStorageUsed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup @@ -493,7 +494,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricTotalBackupStorageBilled(props: MetricOptions): Metric = - unwrap(this).metricTotalBackupStorageBilled(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTotalBackupStorageBilled(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total amount of backup storage in bytes for which you are billed. @@ -525,7 +526,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricVolumeBytesUsed(props: MetricOptions): Metric = - unwrap(this).metricVolumeBytesUsed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricVolumeBytesUsed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of storage used by your Aurora DB instance, in bytes. @@ -557,7 +558,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricVolumeReadIOPs(props: MetricOptions): Metric = - unwrap(this).metricVolumeReadIOPs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricVolumeReadIOPs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals. @@ -589,7 +590,7 @@ public abstract class DatabaseClusterBase( * @param props */ public override fun metricVolumeWriteIOPs(props: MetricOptions): Metric = - unwrap(this).metricVolumeWriteIOPs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricVolumeWriteIOPs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterEngine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterEngine.kt index a0fa533b73..2af6454713 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterEngine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterEngine.kt @@ -50,7 +50,7 @@ public open class DatabaseClusterEngine( IClusterEngine.wrap(software.amazon.awscdk.services.rds.DatabaseClusterEngine.AURORA_POSTGRESQL) public fun aurora(props: AuroraClusterEngineProps): IClusterEngine = - software.amazon.awscdk.services.rds.DatabaseClusterEngine.aurora(props.let(AuroraClusterEngineProps::unwrap)).let(IClusterEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseClusterEngine.aurora(props.let(AuroraClusterEngineProps.Companion::unwrap)).let(IClusterEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a1f02e1d4bd833b2ddacfd2f40a683d8395cb34c6d2e7af327a81b567a376132") @@ -58,7 +58,7 @@ public open class DatabaseClusterEngine( aurora(AuroraClusterEngineProps(props)) public fun auroraMysql(props: AuroraMysqlClusterEngineProps): IClusterEngine = - software.amazon.awscdk.services.rds.DatabaseClusterEngine.auroraMysql(props.let(AuroraMysqlClusterEngineProps::unwrap)).let(IClusterEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseClusterEngine.auroraMysql(props.let(AuroraMysqlClusterEngineProps.Companion::unwrap)).let(IClusterEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a3d3cf57fa9c68e6a049cdc66547ec418a839675b4b45a864daca9a94e527d1d") @@ -66,7 +66,7 @@ public open class DatabaseClusterEngine( = auroraMysql(AuroraMysqlClusterEngineProps(props)) public fun auroraPostgres(props: AuroraPostgresClusterEngineProps): IClusterEngine = - software.amazon.awscdk.services.rds.DatabaseClusterEngine.auroraPostgres(props.let(AuroraPostgresClusterEngineProps::unwrap)).let(IClusterEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseClusterEngine.auroraPostgres(props.let(AuroraPostgresClusterEngineProps.Companion::unwrap)).let(IClusterEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("355efede4396c045c525bfc34e2572473047b19d816455428266fd105ba8d14e") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshot.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshot.kt index 0ac7e830bb..eb201bd394 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshot.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshot.kt @@ -53,8 +53,8 @@ public open class DatabaseClusterFromSnapshot( id: String, props: DatabaseClusterFromSnapshotProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseClusterFromSnapshot(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseClusterFromSnapshotProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseClusterFromSnapshot(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseClusterFromSnapshotProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class DatabaseClusterFromSnapshot( */ public open fun addRotationMultiUser(id: String, options: RotationMultiUserOptions): SecretRotation = unwrap(this).addRotationMultiUser(id, - options.let(RotationMultiUserOptions::unwrap)).let(SecretRotation::wrap) + options.let(RotationMultiUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the multi user rotation to this cluster. @@ -112,7 +112,7 @@ public open class DatabaseClusterFromSnapshot( * @param options */ public open fun addRotationSingleUser(options: RotationSingleUserOptions): SecretRotation = - unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions::unwrap)).let(SecretRotation::wrap) + unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the single user rotation of the master password to this cluster. @@ -211,7 +211,7 @@ public open class DatabaseClusterFromSnapshot( * @param props */ public open fun metricACUUtilization(props: MetricOptions): Metric = - unwrap(this).metricACUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricACUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * This value is represented as a percentage. @@ -245,7 +245,7 @@ public open class DatabaseClusterFromSnapshot( * @param props */ public open fun metricServerlessDatabaseCapacity(props: MetricOptions): Metric = - unwrap(this).metricServerlessDatabaseCapacity(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricServerlessDatabaseCapacity(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * As a cluster-level metric, it represents the average of the ServerlessDatabaseCapacity values @@ -913,7 +913,7 @@ public open class DatabaseClusterFromSnapshot( * @param backtrackWindow The number of seconds to set a cluster's target backtrack window to. */ override fun backtrackWindow(backtrackWindow: Duration) { - cdkBuilder.backtrackWindow(backtrackWindow.let(Duration::unwrap)) + cdkBuilder.backtrackWindow(backtrackWindow.let(Duration.Companion::unwrap)) } /** @@ -927,7 +927,7 @@ public open class DatabaseClusterFromSnapshot( * @param backup Backup settings. */ override fun backup(backup: BackupProps) { - cdkBuilder.backup(backup.let(BackupProps::unwrap)) + cdkBuilder.backup(backup.let(BackupProps.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class DatabaseClusterFromSnapshot( * @param cloudwatchLogsRetention The number of days log events are kept in CloudWatch Logs. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -992,7 +992,7 @@ public open class DatabaseClusterFromSnapshot( * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class DatabaseClusterFromSnapshot( */ @Deprecated(message = "deprecated in CDK") override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -1094,7 +1094,7 @@ public open class DatabaseClusterFromSnapshot( * @param domainRole The IAM role to be used when making API calls to the Directory Service. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -1114,7 +1114,7 @@ public open class DatabaseClusterFromSnapshot( * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -1152,7 +1152,7 @@ public open class DatabaseClusterFromSnapshot( */ @Deprecated(message = "deprecated in CDK") override fun instanceProps(instanceProps: InstanceProps) { - cdkBuilder.instanceProps(instanceProps.let(InstanceProps::unwrap)) + cdkBuilder.instanceProps(instanceProps.let(InstanceProps.Companion::unwrap)) } /** @@ -1175,7 +1175,7 @@ public open class DatabaseClusterFromSnapshot( * @param instanceUpdateBehaviour The ordering of updates for instances. */ override fun instanceUpdateBehaviour(instanceUpdateBehaviour: InstanceUpdateBehaviour) { - cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour::unwrap)) + cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour.Companion::unwrap)) } /** @@ -1203,7 +1203,7 @@ public open class DatabaseClusterFromSnapshot( * enhanced monitoring metrics for the DB instances. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** @@ -1214,7 +1214,7 @@ public open class DatabaseClusterFromSnapshot( * @param monitoringRole Role that will be used to manage DB instances monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -1225,7 +1225,7 @@ public open class DatabaseClusterFromSnapshot( * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** @@ -1236,7 +1236,7 @@ public open class DatabaseClusterFromSnapshot( * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1289,7 +1289,7 @@ public open class DatabaseClusterFromSnapshot( * @param readers A list of instances to create as cluster reader instances. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IClusterInstance::unwrap)) + cdkBuilder.readers(readers.map(IClusterInstance.Companion::unwrap)) } /** @@ -1312,7 +1312,7 @@ public open class DatabaseClusterFromSnapshot( * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1330,7 +1330,7 @@ public open class DatabaseClusterFromSnapshot( * supported by the Aurora database engine. */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1365,7 +1365,7 @@ public open class DatabaseClusterFromSnapshot( * @param s3ExportRole Role that will be associated with this DB cluster to enable S3 export. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1383,7 +1383,7 @@ public open class DatabaseClusterFromSnapshot( * supported by the Aurora database engine. */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1418,7 +1418,7 @@ public open class DatabaseClusterFromSnapshot( * @param s3ImportRole Role that will be associated with this DB cluster to enable S3 import. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** @@ -1429,7 +1429,7 @@ public open class DatabaseClusterFromSnapshot( * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1489,7 +1489,7 @@ public open class DatabaseClusterFromSnapshot( * @param snapshotCredentials Master user credentials. */ override fun snapshotCredentials(snapshotCredentials: SnapshotCredentials) { - cdkBuilder.snapshotCredentials(snapshotCredentials.let(SnapshotCredentials::unwrap)) + cdkBuilder.snapshotCredentials(snapshotCredentials.let(SnapshotCredentials.Companion::unwrap)) } /** @@ -1527,7 +1527,7 @@ public open class DatabaseClusterFromSnapshot( * @param storageEncryptionKey The KMS key for storage encryption. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1538,7 +1538,7 @@ public open class DatabaseClusterFromSnapshot( * @param storageType The storage type to be associated with the DB cluster. */ override fun storageType(storageType: DBClusterStorageType) { - cdkBuilder.storageType(storageType.let(DBClusterStorageType::unwrap)) + cdkBuilder.storageType(storageType.let(DBClusterStorageType.Companion::unwrap)) } /** @@ -1549,7 +1549,7 @@ public open class DatabaseClusterFromSnapshot( * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1560,7 +1560,7 @@ public open class DatabaseClusterFromSnapshot( * @param vpc What subnets to run the RDS instances in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1571,7 +1571,7 @@ public open class DatabaseClusterFromSnapshot( * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1594,7 +1594,7 @@ public open class DatabaseClusterFromSnapshot( * @param writer The instance to use for the cluster writer. */ override fun writer(writer: IClusterInstance) { - cdkBuilder.writer(writer.let(IClusterInstance::unwrap)) + cdkBuilder.writer(writer.let(IClusterInstance.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.DatabaseClusterFromSnapshot = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshotProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshotProps.kt index 07565f3daf..4211910979 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshotProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterFromSnapshotProps.kt @@ -832,14 +832,14 @@ public interface DatabaseClusterFromSnapshotProps { * cannot be enabled on existing clusters. */ override fun backtrackWindow(backtrackWindow: Duration) { - cdkBuilder.backtrackWindow(backtrackWindow.let(Duration::unwrap)) + cdkBuilder.backtrackWindow(backtrackWindow.let(Duration.Companion::unwrap)) } /** * @param backup Backup settings. */ override fun backup(backup: BackupProps) { - cdkBuilder.backup(backup.let(BackupProps::unwrap)) + cdkBuilder.backup(backup.let(BackupProps.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public interface DatabaseClusterFromSnapshotProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public interface DatabaseClusterFromSnapshotProps { * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -906,7 +906,7 @@ public interface DatabaseClusterFromSnapshotProps { */ @Deprecated(message = "deprecated in CDK") override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public interface DatabaseClusterFromSnapshotProps { * `AmazonRDSDirectoryServiceAccess` or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -956,7 +956,7 @@ public interface DatabaseClusterFromSnapshotProps { * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -981,7 +981,7 @@ public interface DatabaseClusterFromSnapshotProps { */ @Deprecated(message = "deprecated in CDK") override fun instanceProps(instanceProps: InstanceProps) { - cdkBuilder.instanceProps(instanceProps.let(InstanceProps::unwrap)) + cdkBuilder.instanceProps(instanceProps.let(InstanceProps.Companion::unwrap)) } /** @@ -998,7 +998,7 @@ public interface DatabaseClusterFromSnapshotProps { * @param instanceUpdateBehaviour The ordering of updates for instances. */ override fun instanceUpdateBehaviour(instanceUpdateBehaviour: InstanceUpdateBehaviour) { - cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour::unwrap)) + cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour.Companion::unwrap)) } /** @@ -1016,28 +1016,28 @@ public interface DatabaseClusterFromSnapshotProps { * enhanced monitoring metrics for the DB instances. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instances monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1069,7 +1069,7 @@ public interface DatabaseClusterFromSnapshotProps { * @param readers A list of instances to create as cluster reader instances. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IClusterInstance::unwrap)) + cdkBuilder.readers(readers.map(IClusterInstance.Companion::unwrap)) } /** @@ -1082,7 +1082,7 @@ public interface DatabaseClusterFromSnapshotProps { * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1093,7 +1093,7 @@ public interface DatabaseClusterFromSnapshotProps { * For MySQL: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1115,7 +1115,7 @@ public interface DatabaseClusterFromSnapshotProps { * For MySQL: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1126,7 +1126,7 @@ public interface DatabaseClusterFromSnapshotProps { * For MySQL: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1148,14 +1148,14 @@ public interface DatabaseClusterFromSnapshotProps { * For MySQL: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1192,7 +1192,7 @@ public interface DatabaseClusterFromSnapshotProps { * however, it is possible to provide (or generate) a new password. */ override fun snapshotCredentials(snapshotCredentials: SnapshotCredentials) { - cdkBuilder.snapshotCredentials(snapshotCredentials.let(SnapshotCredentials::unwrap)) + cdkBuilder.snapshotCredentials(snapshotCredentials.let(SnapshotCredentials.Companion::unwrap)) } /** @@ -1218,21 +1218,21 @@ public interface DatabaseClusterFromSnapshotProps { * If specified, `storageEncrypted` will be set to `true`. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param storageType The storage type to be associated with the DB cluster. */ override fun storageType(storageType: DBClusterStorageType) { - cdkBuilder.storageType(storageType.let(DBClusterStorageType::unwrap)) + cdkBuilder.storageType(storageType.let(DBClusterStorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1240,14 +1240,14 @@ public interface DatabaseClusterFromSnapshotProps { * Must be at least 2 subnets in two different AZs. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1262,7 +1262,7 @@ public interface DatabaseClusterFromSnapshotProps { * @param writer The instance to use for the cluster writer. */ override fun writer(writer: IClusterInstance) { - cdkBuilder.writer(writer.let(IClusterInstance::unwrap)) + cdkBuilder.writer(writer.let(IClusterInstance.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.DatabaseClusterFromSnapshotProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterProps.kt index 53d3ba3a43..73795442bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseClusterProps.kt @@ -786,14 +786,14 @@ public interface DatabaseClusterProps { * cannot be enabled on existing clusters. */ override fun backtrackWindow(backtrackWindow: Duration) { - cdkBuilder.backtrackWindow(backtrackWindow.let(Duration::unwrap)) + cdkBuilder.backtrackWindow(backtrackWindow.let(Duration.Companion::unwrap)) } /** * @param backup Backup settings. */ override fun backup(backup: BackupProps) { - cdkBuilder.backup(backup.let(BackupProps::unwrap)) + cdkBuilder.backup(backup.let(BackupProps.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public interface DatabaseClusterProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -833,7 +833,7 @@ public interface DatabaseClusterProps { * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public interface DatabaseClusterProps { * @param credentials Credentials for the administrative user. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public interface DatabaseClusterProps { * `AmazonRDSDirectoryServiceAccess` or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -904,7 +904,7 @@ public interface DatabaseClusterProps { * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface DatabaseClusterProps { */ @Deprecated(message = "deprecated in CDK") override fun instanceProps(instanceProps: InstanceProps) { - cdkBuilder.instanceProps(instanceProps.let(InstanceProps::unwrap)) + cdkBuilder.instanceProps(instanceProps.let(InstanceProps.Companion::unwrap)) } /** @@ -946,7 +946,7 @@ public interface DatabaseClusterProps { * @param instanceUpdateBehaviour The ordering of updates for instances. */ override fun instanceUpdateBehaviour(instanceUpdateBehaviour: InstanceUpdateBehaviour) { - cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour::unwrap)) + cdkBuilder.instanceUpdateBehaviour(instanceUpdateBehaviour.let(InstanceUpdateBehaviour.Companion::unwrap)) } /** @@ -964,28 +964,28 @@ public interface DatabaseClusterProps { * enhanced monitoring metrics for the DB instances. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instances monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1017,7 +1017,7 @@ public interface DatabaseClusterProps { * @param readers A list of instances to create as cluster reader instances. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IClusterInstance::unwrap)) + cdkBuilder.readers(readers.map(IClusterInstance.Companion::unwrap)) } /** @@ -1030,7 +1030,7 @@ public interface DatabaseClusterProps { * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1041,7 +1041,7 @@ public interface DatabaseClusterProps { * For MySQL: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1063,7 +1063,7 @@ public interface DatabaseClusterProps { * For MySQL: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1074,7 +1074,7 @@ public interface DatabaseClusterProps { * For MySQL: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1096,14 +1096,14 @@ public interface DatabaseClusterProps { * For MySQL: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1146,21 +1146,21 @@ public interface DatabaseClusterProps { * If specified, `storageEncrypted` will be set to `true`. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param storageType The storage type to be associated with the DB cluster. */ override fun storageType(storageType: DBClusterStorageType) { - cdkBuilder.storageType(storageType.let(DBClusterStorageType::unwrap)) + cdkBuilder.storageType(storageType.let(DBClusterStorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1168,14 +1168,14 @@ public interface DatabaseClusterProps { * Must be at least 2 subnets in two different AZs. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public interface DatabaseClusterProps { * @param writer The instance to use for the cluster writer. */ override fun writer(writer: IClusterInstance) { - cdkBuilder.writer(writer.let(IClusterInstance::unwrap)) + cdkBuilder.writer(writer.let(IClusterInstance.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.DatabaseClusterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstance.kt index 03b08b61f6..6f2949d358 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstance.kt @@ -68,8 +68,8 @@ public open class DatabaseInstance( id: String, props: DatabaseInstanceProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseInstanceProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseInstanceProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class DatabaseInstance( */ public open fun addRotationMultiUser(id: String, options: RotationMultiUserOptions): SecretRotation = unwrap(this).addRotationMultiUser(id, - options.let(RotationMultiUserOptions::unwrap)).let(SecretRotation::wrap) + options.let(RotationMultiUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the multi user rotation to this instance. @@ -115,7 +115,7 @@ public open class DatabaseInstance( * @param options the options for the rotation, if you want to override the defaults. */ public open fun addRotationSingleUser(options: RotationSingleUserOptions): SecretRotation = - unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions::unwrap)).let(SecretRotation::wrap) + unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the single user rotation of the master password to this instance. @@ -169,7 +169,7 @@ public open class DatabaseInstance( * default database user, obtained from the Secret, if not specified. */ public override fun grantConnect(grantee: IGrantable): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity connection access to the database. @@ -179,7 +179,7 @@ public open class DatabaseInstance( * default database user, obtained from the Secret, if not specified. */ public override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), dbUser).let(Grant::wrap) /** * The instance endpoint. @@ -944,7 +944,7 @@ public open class DatabaseInstance( * @param backupRetention The number of days during which automatic DB snapshots are retained. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -960,7 +960,7 @@ public open class DatabaseInstance( * @param caCertificate The identifier of the CA certificate for this DB instance. */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -1010,7 +1010,7 @@ public open class DatabaseInstance( * @param cloudwatchLogsRetention The number of days log events are kept in CloudWatch Logs. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class DatabaseInstance( * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public open class DatabaseInstance( * @param credentials Credentials for the administrative user. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -1109,7 +1109,7 @@ public open class DatabaseInstance( * @param domainRole The IAM role to be used when making API calls to the Directory Service. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -1130,7 +1130,7 @@ public open class DatabaseInstance( * @param engine The database engine. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } /** @@ -1168,7 +1168,7 @@ public open class DatabaseInstance( * @param instanceType The name of the compute and memory capacity for the instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -1198,7 +1198,7 @@ public open class DatabaseInstance( * @param licenseModel The license model. */ override fun licenseModel(licenseModel: LicenseModel) { - cdkBuilder.licenseModel(licenseModel.let(LicenseModel::unwrap)) + cdkBuilder.licenseModel(licenseModel.let(LicenseModel.Companion::unwrap)) } /** @@ -1223,7 +1223,7 @@ public open class DatabaseInstance( * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** @@ -1234,7 +1234,7 @@ public open class DatabaseInstance( * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -1257,7 +1257,7 @@ public open class DatabaseInstance( * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** @@ -1268,7 +1268,7 @@ public open class DatabaseInstance( * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** @@ -1279,7 +1279,7 @@ public open class DatabaseInstance( * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1305,7 +1305,7 @@ public open class DatabaseInstance( * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1318,7 +1318,7 @@ public open class DatabaseInstance( */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -1382,7 +1382,7 @@ public open class DatabaseInstance( * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -1426,7 +1426,7 @@ public open class DatabaseInstance( * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1442,7 +1442,7 @@ public open class DatabaseInstance( * @param s3ExportBuckets S3 buckets that you want to load data into. */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1473,7 +1473,7 @@ public open class DatabaseInstance( * @param s3ExportRole Role that will be associated with this DB instance to enable S3 export. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1491,7 +1491,7 @@ public open class DatabaseInstance( * @param s3ImportBuckets S3 buckets that you want to load data from. */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1526,7 +1526,7 @@ public open class DatabaseInstance( * @param s3ImportRole Role that will be associated with this DB instance to enable S3 import. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** @@ -1537,7 +1537,7 @@ public open class DatabaseInstance( * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1569,7 +1569,7 @@ public open class DatabaseInstance( * @param storageEncryptionKey The KMS key that's used to encrypt the DB instance. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1601,7 +1601,7 @@ public open class DatabaseInstance( * @param storageType The storage type. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** @@ -1612,7 +1612,7 @@ public open class DatabaseInstance( * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1634,7 +1634,7 @@ public open class DatabaseInstance( * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1645,7 +1645,7 @@ public open class DatabaseInstance( * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceAttributes.kt index 0d3ac1095a..4917e7c1dd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceAttributes.kt @@ -123,7 +123,7 @@ public interface DatabaseInstanceAttributes { * @param engine The engine of the existing database Instance. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface DatabaseInstanceAttributes { * @param securityGroups The security groups of the instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceBase.kt index bdb3219ca1..7ea687f297 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceBase.kt @@ -53,7 +53,8 @@ public abstract class DatabaseInstanceBase( * @param options */ public override fun addProxy(id: String, options: DatabaseProxyOptions): DatabaseProxy = - unwrap(this).addProxy(id, options.let(DatabaseProxyOptions::unwrap)).let(DatabaseProxy::wrap) + unwrap(this).addProxy(id, + options.let(DatabaseProxyOptions.Companion::unwrap)).let(DatabaseProxy::wrap) /** * Add a new db proxy to this instance. @@ -105,7 +106,7 @@ public abstract class DatabaseInstanceBase( * @param dbUser */ public override fun grantConnect(grantee: IGrantable): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity connection access to the database. @@ -114,7 +115,7 @@ public abstract class DatabaseInstanceBase( * @param dbUser */ public override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), dbUser).let(Grant::wrap) /** * The instance arn. @@ -156,7 +157,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this DBInstance. @@ -187,7 +188,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The percentage of CPU utilization. @@ -219,7 +220,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metricDatabaseConnections(props: MetricOptions): Metric = - unwrap(this).metricDatabaseConnections(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDatabaseConnections(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of database connections in use. @@ -251,7 +252,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metricFreeStorageSpace(props: MetricOptions): Metric = - unwrap(this).metricFreeStorageSpace(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeStorageSpace(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of available storage space. @@ -283,7 +284,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metricFreeableMemory(props: MetricOptions): Metric = - unwrap(this).metricFreeableMemory(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeableMemory(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of available random access memory. @@ -314,7 +315,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metricReadIOPS(props: MetricOptions): Metric = - unwrap(this).metricReadIOPS(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricReadIOPS(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of disk write I/O operations per second. @@ -345,7 +346,7 @@ public abstract class DatabaseInstanceBase( * @param props */ public override fun metricWriteIOPS(props: MetricOptions): Metric = - unwrap(this).metricWriteIOPS(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricWriteIOPS(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of disk read I/O operations per second. @@ -380,7 +381,7 @@ public abstract class DatabaseInstanceBase( * @param options */ public override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers for instance events. @@ -406,8 +407,8 @@ public abstract class DatabaseInstanceBase( id: String, attrs: DatabaseInstanceAttributes, ): IDatabaseInstance = - software.amazon.awscdk.services.rds.DatabaseInstanceBase.fromDatabaseInstanceAttributes(scope.let(Construct::unwrap), - id, attrs.let(DatabaseInstanceAttributes::unwrap)).let(IDatabaseInstance::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceBase.fromDatabaseInstanceAttributes(scope.let(Construct.Companion::unwrap), + id, attrs.let(DatabaseInstanceAttributes.Companion::unwrap)).let(IDatabaseInstance::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52b4f9d96e036ac67cd887860424c987385d8311ffaddd1b73e3d6d487335e3b") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceEngine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceEngine.kt index f0fe882a2d..7863ec5109 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceEngine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceEngine.kt @@ -72,7 +72,7 @@ public open class DatabaseInstanceEngine( IInstanceEngine.wrap(software.amazon.awscdk.services.rds.DatabaseInstanceEngine.SQL_SERVER_WEB) public fun mariaDb(props: MariaDbInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.mariaDb(props.let(MariaDbInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.mariaDb(props.let(MariaDbInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9575d4157463557a462f39a3569bdd03468f3ceb7edb2306c8cb1d3a455bbb57") @@ -80,7 +80,7 @@ public open class DatabaseInstanceEngine( mariaDb(MariaDbInstanceEngineProps(props)) public fun mysql(props: MySqlInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.mysql(props.let(MySqlInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.mysql(props.let(MySqlInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("6337f42418745d4136b8be1c456c93f905937067fd0b5d7890f4978b689a7a93") @@ -88,7 +88,7 @@ public open class DatabaseInstanceEngine( mysql(MySqlInstanceEngineProps(props)) public fun oracleEe(props: OracleEeInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleEe(props.let(OracleEeInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleEe(props.let(OracleEeInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d25575be2373812bb0124de35a433db1ad97175edd4e11ed565965cdf1e3f6cf") @@ -96,7 +96,7 @@ public open class DatabaseInstanceEngine( oracleEe(OracleEeInstanceEngineProps(props)) public fun oracleEeCdb(props: OracleEeCdbInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleEeCdb(props.let(OracleEeCdbInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleEeCdb(props.let(OracleEeCdbInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2831566e5206506601708f7f7d9347d3df9526961227d65813f91ece19a18424") @@ -104,7 +104,7 @@ public open class DatabaseInstanceEngine( IInstanceEngine = oracleEeCdb(OracleEeCdbInstanceEngineProps(props)) public fun oracleSe2(props: OracleSe2InstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleSe2(props.let(OracleSe2InstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleSe2(props.let(OracleSe2InstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("36c6c34b0f512075022a680b824f0c33cb455f353c003e2364a142bfc074d50f") @@ -112,7 +112,7 @@ public open class DatabaseInstanceEngine( oracleSe2(OracleSe2InstanceEngineProps(props)) public fun oracleSe2Cdb(props: OracleSe2CdbInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleSe2Cdb(props.let(OracleSe2CdbInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.oracleSe2Cdb(props.let(OracleSe2CdbInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("afdd1bf6a0513b364b70f4471e6bd79b759ff88432defaebdac19f7babaf84be") @@ -120,7 +120,7 @@ public open class DatabaseInstanceEngine( IInstanceEngine = oracleSe2Cdb(OracleSe2CdbInstanceEngineProps(props)) public fun postgres(props: PostgresInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.postgres(props.let(PostgresInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.postgres(props.let(PostgresInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("546283da5baec0be9191260d38e074801b3d94e82e89302fa03ad7dcb185d0a4") @@ -128,7 +128,7 @@ public open class DatabaseInstanceEngine( postgres(PostgresInstanceEngineProps(props)) public fun sqlServerEe(props: SqlServerEeInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerEe(props.let(SqlServerEeInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerEe(props.let(SqlServerEeInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("16085e4bdfb996bed65bd94facd8f6a7274cba4bf3fe9f72304b9d627ceacb81") @@ -136,7 +136,7 @@ public open class DatabaseInstanceEngine( IInstanceEngine = sqlServerEe(SqlServerEeInstanceEngineProps(props)) public fun sqlServerEx(props: SqlServerExInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerEx(props.let(SqlServerExInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerEx(props.let(SqlServerExInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08868346059a4c267f8109692438c91afac2be5eb341cdfc05f8b8022e10a513") @@ -144,7 +144,7 @@ public open class DatabaseInstanceEngine( IInstanceEngine = sqlServerEx(SqlServerExInstanceEngineProps(props)) public fun sqlServerSe(props: SqlServerSeInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerSe(props.let(SqlServerSeInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerSe(props.let(SqlServerSeInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("035d2ef6f9cdf57e7bdd77bf5d84b091d893532ac9629ed35b24c192225ee24c") @@ -152,7 +152,7 @@ public open class DatabaseInstanceEngine( IInstanceEngine = sqlServerSe(SqlServerSeInstanceEngineProps(props)) public fun sqlServerWeb(props: SqlServerWebInstanceEngineProps): IInstanceEngine = - software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerWeb(props.let(SqlServerWebInstanceEngineProps::unwrap)).let(IInstanceEngine::wrap) + software.amazon.awscdk.services.rds.DatabaseInstanceEngine.sqlServerWeb(props.let(SqlServerWebInstanceEngineProps.Companion::unwrap)).let(IInstanceEngine::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e882c5bd610ee1428681e37a490ef3089fbfb899387d40e2a45e7ff0db35cb9c") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshot.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshot.kt index a4a418cc45..ecba8a44c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshot.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshot.kt @@ -59,8 +59,8 @@ public open class DatabaseInstanceFromSnapshot( id: String, props: DatabaseInstanceFromSnapshotProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseInstanceFromSnapshot(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseInstanceFromSnapshotProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseInstanceFromSnapshot(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseInstanceFromSnapshotProps.Companion::unwrap)) ) public constructor( @@ -78,7 +78,7 @@ public open class DatabaseInstanceFromSnapshot( */ public open fun addRotationMultiUser(id: String, options: RotationMultiUserOptions): SecretRotation = unwrap(this).addRotationMultiUser(id, - options.let(RotationMultiUserOptions::unwrap)).let(SecretRotation::wrap) + options.let(RotationMultiUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the multi user rotation to this instance. @@ -106,7 +106,7 @@ public open class DatabaseInstanceFromSnapshot( * @param options the options for the rotation, if you want to override the defaults. */ public open fun addRotationSingleUser(options: RotationSingleUserOptions): SecretRotation = - unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions::unwrap)).let(SecretRotation::wrap) + unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the single user rotation of the master password to this instance. @@ -160,7 +160,7 @@ public open class DatabaseInstanceFromSnapshot( * default database user, obtained from the Secret, if not specified. */ public override fun grantConnect(grantee: IGrantable): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity connection access to the database. @@ -170,7 +170,7 @@ public open class DatabaseInstanceFromSnapshot( * default database user, obtained from the Secret, if not specified. */ public override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), dbUser).let(Grant::wrap) /** * The instance endpoint. @@ -921,7 +921,7 @@ public open class DatabaseInstanceFromSnapshot( * @param backupRetention The number of days during which automatic DB snapshots are retained. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -937,7 +937,7 @@ public open class DatabaseInstanceFromSnapshot( * @param caCertificate The identifier of the CA certificate for this DB instance. */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -975,7 +975,7 @@ public open class DatabaseInstanceFromSnapshot( * @param cloudwatchLogsRetention The number of days log events are kept in CloudWatch Logs. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -988,7 +988,7 @@ public open class DatabaseInstanceFromSnapshot( * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1015,7 +1015,7 @@ public open class DatabaseInstanceFromSnapshot( * @param credentials Master user credentials. */ override fun credentials(credentials: SnapshotCredentials) { - cdkBuilder.credentials(credentials.let(SnapshotCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(SnapshotCredentials.Companion::unwrap)) } /** @@ -1076,7 +1076,7 @@ public open class DatabaseInstanceFromSnapshot( * @param domainRole The IAM role to be used when making API calls to the Directory Service. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -1097,7 +1097,7 @@ public open class DatabaseInstanceFromSnapshot( * @param engine The database engine. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } /** @@ -1135,7 +1135,7 @@ public open class DatabaseInstanceFromSnapshot( * @param instanceType The name of the compute and memory capacity for the instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -1165,7 +1165,7 @@ public open class DatabaseInstanceFromSnapshot( * @param licenseModel The license model. */ override fun licenseModel(licenseModel: LicenseModel) { - cdkBuilder.licenseModel(licenseModel.let(LicenseModel::unwrap)) + cdkBuilder.licenseModel(licenseModel.let(LicenseModel.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public open class DatabaseInstanceFromSnapshot( * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** @@ -1201,7 +1201,7 @@ public open class DatabaseInstanceFromSnapshot( * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -1224,7 +1224,7 @@ public open class DatabaseInstanceFromSnapshot( * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** @@ -1235,7 +1235,7 @@ public open class DatabaseInstanceFromSnapshot( * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** @@ -1246,7 +1246,7 @@ public open class DatabaseInstanceFromSnapshot( * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1272,7 +1272,7 @@ public open class DatabaseInstanceFromSnapshot( * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public open class DatabaseInstanceFromSnapshot( */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -1349,7 +1349,7 @@ public open class DatabaseInstanceFromSnapshot( * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class DatabaseInstanceFromSnapshot( * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1409,7 +1409,7 @@ public open class DatabaseInstanceFromSnapshot( * @param s3ExportBuckets S3 buckets that you want to load data into. */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1440,7 +1440,7 @@ public open class DatabaseInstanceFromSnapshot( * @param s3ExportRole Role that will be associated with this DB instance to enable S3 export. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1458,7 +1458,7 @@ public open class DatabaseInstanceFromSnapshot( * @param s3ImportBuckets S3 buckets that you want to load data from. */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1493,7 +1493,7 @@ public open class DatabaseInstanceFromSnapshot( * @param s3ImportRole Role that will be associated with this DB instance to enable S3 import. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** @@ -1504,7 +1504,7 @@ public open class DatabaseInstanceFromSnapshot( * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1560,7 +1560,7 @@ public open class DatabaseInstanceFromSnapshot( * @param storageType The storage type. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** @@ -1571,7 +1571,7 @@ public open class DatabaseInstanceFromSnapshot( * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1593,7 +1593,7 @@ public open class DatabaseInstanceFromSnapshot( * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1604,7 +1604,7 @@ public open class DatabaseInstanceFromSnapshot( * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshotProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshotProps.kt index 399a9108b9..41265ebccf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshotProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceFromSnapshotProps.kt @@ -477,7 +477,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * database instance by setting the backup retention to a value other than zero. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * however, it is possible to provide (or generate) a new password. */ override fun credentials(credentials: SnapshotCredentials) { - cdkBuilder.credentials(credentials.let(SnapshotCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(SnapshotCredentials.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * AmazonRDSDirectoryServiceAccess or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * @param engine The database engine. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * @param instanceType The name of the compute and memory capacity for the instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * @param licenseModel The license model. */ override fun licenseModel(licenseModel: LicenseModel) { - cdkBuilder.licenseModel(licenseModel.let(LicenseModel::unwrap)) + cdkBuilder.licenseModel(licenseModel.let(LicenseModel.Companion::unwrap)) } /** @@ -644,14 +644,14 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -665,21 +665,21 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -743,7 +743,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * For Microsoft SQL Server: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * For Microsoft SQL Server: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -810,7 +810,7 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * For Microsoft SQL Server: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -833,14 +833,14 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * For Microsoft SQL Server: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -872,14 +872,14 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * Storage types supported are gp2, io1, standard. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -894,14 +894,14 @@ public interface DatabaseInstanceFromSnapshotProps : DatabaseInstanceSourceProps * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceNewProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceNewProps.kt index 91c999f69a..c06f8f4bff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceNewProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceNewProps.kt @@ -842,7 +842,7 @@ public interface DatabaseInstanceNewProps { * database instance by setting the backup retention to a value other than zero. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -852,7 +852,7 @@ public interface DatabaseInstanceNewProps { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -877,7 +877,7 @@ public interface DatabaseInstanceNewProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -885,7 +885,7 @@ public interface DatabaseInstanceNewProps { * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public interface DatabaseInstanceNewProps { * AmazonRDSDirectoryServiceAccess or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -972,14 +972,14 @@ public interface DatabaseInstanceNewProps { * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -993,21 +993,21 @@ public interface DatabaseInstanceNewProps { * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1015,7 +1015,7 @@ public interface DatabaseInstanceNewProps { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1024,7 +1024,7 @@ public interface DatabaseInstanceNewProps { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -1062,7 +1062,7 @@ public interface DatabaseInstanceNewProps { * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -1088,7 +1088,7 @@ public interface DatabaseInstanceNewProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1098,7 +1098,7 @@ public interface DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1117,7 +1117,7 @@ public interface DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1129,7 +1129,7 @@ public interface DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1152,14 +1152,14 @@ public interface DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1181,28 +1181,28 @@ public interface DatabaseInstanceNewProps { * Storage types supported are gp2, io1, standard. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceProps.kt index 36f8a2503a..089a275bd7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceProps.kt @@ -500,7 +500,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * database instance by setting the backup retention to a value other than zero. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param credentials Credentials for the administrative user. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * AmazonRDSDirectoryServiceAccess or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param engine The database engine. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param instanceType The name of the compute and memory capacity for the instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param licenseModel The license model. */ override fun licenseModel(licenseModel: LicenseModel) { - cdkBuilder.licenseModel(licenseModel.let(LicenseModel::unwrap)) + cdkBuilder.licenseModel(licenseModel.let(LicenseModel.Companion::unwrap)) } /** @@ -673,14 +673,14 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -694,21 +694,21 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -725,7 +725,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -798,7 +798,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -808,7 +808,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * For Microsoft SQL Server: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -827,7 +827,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * For Microsoft SQL Server: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * For Microsoft SQL Server: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -862,14 +862,14 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * For Microsoft SQL Server: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param storageEncryptionKey The KMS key that's used to encrypt the DB instance. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -905,14 +905,14 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * Storage types supported are gp2, io1, standard. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -927,14 +927,14 @@ public interface DatabaseInstanceProps : DatabaseInstanceSourceProps { * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplica.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplica.kt index 524df66df9..c8336c9204 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplica.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplica.kt @@ -55,8 +55,8 @@ public open class DatabaseInstanceReadReplica( id: String, props: DatabaseInstanceReadReplicaProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseInstanceReadReplica(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseInstanceReadReplicaProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseInstanceReadReplica(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseInstanceReadReplicaProps.Companion::unwrap)) ) public constructor( @@ -779,7 +779,7 @@ public open class DatabaseInstanceReadReplica( * @param backupRetention The number of days during which automatic DB snapshots are retained. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class DatabaseInstanceReadReplica( * @param caCertificate The identifier of the CA certificate for this DB instance. */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -833,7 +833,7 @@ public open class DatabaseInstanceReadReplica( * @param cloudwatchLogsRetention The number of days log events are kept in CloudWatch Logs. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -846,7 +846,7 @@ public open class DatabaseInstanceReadReplica( * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -909,7 +909,7 @@ public open class DatabaseInstanceReadReplica( * @param domainRole The IAM role to be used when making API calls to the Directory Service. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class DatabaseInstanceReadReplica( * @param instanceType The name of the compute and memory capacity classes. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -1001,7 +1001,7 @@ public open class DatabaseInstanceReadReplica( * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** @@ -1012,7 +1012,7 @@ public open class DatabaseInstanceReadReplica( * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class DatabaseInstanceReadReplica( * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** @@ -1046,7 +1046,7 @@ public open class DatabaseInstanceReadReplica( * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** @@ -1057,7 +1057,7 @@ public open class DatabaseInstanceReadReplica( * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -1069,7 +1069,7 @@ public open class DatabaseInstanceReadReplica( * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1082,7 +1082,7 @@ public open class DatabaseInstanceReadReplica( */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -1146,7 +1146,7 @@ public open class DatabaseInstanceReadReplica( * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public open class DatabaseInstanceReadReplica( * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1206,7 +1206,7 @@ public open class DatabaseInstanceReadReplica( * @param s3ExportBuckets S3 buckets that you want to load data into. */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1237,7 +1237,7 @@ public open class DatabaseInstanceReadReplica( * @param s3ExportRole Role that will be associated with this DB instance to enable S3 export. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -1255,7 +1255,7 @@ public open class DatabaseInstanceReadReplica( * @param s3ImportBuckets S3 buckets that you want to load data from. */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -1290,7 +1290,7 @@ public open class DatabaseInstanceReadReplica( * @param s3ImportRole Role that will be associated with this DB instance to enable S3 import. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** @@ -1301,7 +1301,7 @@ public open class DatabaseInstanceReadReplica( * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1324,7 +1324,7 @@ public open class DatabaseInstanceReadReplica( * @param sourceDatabaseInstance The source database instance. */ override fun sourceDatabaseInstance(sourceDatabaseInstance: IDatabaseInstance) { - cdkBuilder.sourceDatabaseInstance(sourceDatabaseInstance.let(IDatabaseInstance::unwrap)) + cdkBuilder.sourceDatabaseInstance(sourceDatabaseInstance.let(IDatabaseInstance.Companion::unwrap)) } /** @@ -1346,7 +1346,7 @@ public open class DatabaseInstanceReadReplica( * @param storageEncryptionKey The KMS key that's used to encrypt the DB instance. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -1378,7 +1378,7 @@ public open class DatabaseInstanceReadReplica( * @param storageType The storage type. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** @@ -1389,7 +1389,7 @@ public open class DatabaseInstanceReadReplica( * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -1398,7 +1398,7 @@ public open class DatabaseInstanceReadReplica( * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1409,7 +1409,7 @@ public open class DatabaseInstanceReadReplica( * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplicaProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplicaProps.kt index 6fb8fcec8e..e207e5901e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplicaProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceReadReplicaProps.kt @@ -454,7 +454,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * database instance by setting the backup retention to a value other than zero. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * AmazonRDSDirectoryServiceAccess or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * @param instanceType The name of the compute and memory capacity classes. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -591,14 +591,14 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -612,21 +612,21 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -643,7 +643,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -748,7 +748,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -771,14 +771,14 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/USER_ReadRepl.html. */ override fun sourceDatabaseInstance(sourceDatabaseInstance: IDatabaseInstance) { - cdkBuilder.sourceDatabaseInstance(sourceDatabaseInstance.let(IDatabaseInstance::unwrap)) + cdkBuilder.sourceDatabaseInstance(sourceDatabaseInstance.let(IDatabaseInstance.Companion::unwrap)) } /** @@ -808,7 +808,7 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * @param storageEncryptionKey The KMS key that's used to encrypt the DB instance. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -824,28 +824,28 @@ public interface DatabaseInstanceReadReplicaProps : DatabaseInstanceNewProps { * Storage types supported are gp2, io1, standard. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceSourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceSourceProps.kt index 59d138f99d..021a3e5c0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceSourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseInstanceSourceProps.kt @@ -571,7 +571,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * database instance by setting the backup retention to a value other than zero. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * remove the retention policy, set the value to `Infinity`. */ override fun cloudwatchLogsRetention(cloudwatchLogsRetention: RetentionDays) { - cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays::unwrap)) + cdkBuilder.cloudwatchLogsRetention(cloudwatchLogsRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * custom resource that sets the retention policy. */ override fun cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole: IRole) { - cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole::unwrap)) + cdkBuilder.cloudwatchLogsRetentionRole(cloudwatchLogsRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -661,7 +661,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * AmazonRDSDirectoryServiceAccess or equivalent. */ override fun domainRole(domainRole: IRole) { - cdkBuilder.domainRole(domainRole.let(IRole::unwrap)) + cdkBuilder.domainRole(domainRole.let(IRole.Companion::unwrap)) } /** @@ -675,7 +675,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * @param engine The database engine. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * @param instanceType The name of the compute and memory capacity for the instance. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * @param licenseModel The license model. */ override fun licenseModel(licenseModel: LicenseModel) { - cdkBuilder.licenseModel(licenseModel.let(LicenseModel::unwrap)) + cdkBuilder.licenseModel(licenseModel.let(LicenseModel.Companion::unwrap)) } /** @@ -729,14 +729,14 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * enhanced monitoring metrics for the DB instance. */ override fun monitoringInterval(monitoringInterval: Duration) { - cdkBuilder.monitoringInterval(monitoringInterval.let(Duration::unwrap)) + cdkBuilder.monitoringInterval(monitoringInterval.let(Duration.Companion::unwrap)) } /** * @param monitoringRole Role that will be used to manage DB instance monitoring. */ override fun monitoringRole(monitoringRole: IRole) { - cdkBuilder.monitoringRole(monitoringRole.let(IRole::unwrap)) + cdkBuilder.monitoringRole(monitoringRole.let(IRole.Companion::unwrap)) } /** @@ -750,21 +750,21 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * @param networkType The network type of the DB instance. */ override fun networkType(networkType: NetworkType) { - cdkBuilder.networkType(networkType.let(NetworkType::unwrap)) + cdkBuilder.networkType(networkType.let(NetworkType.Companion::unwrap)) } /** * @param optionGroup The option group to associate with the instance. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -781,7 +781,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * @param processorFeatures The number of CPU cores and the number of threads per core. */ override fun processorFeatures(processorFeatures: ProcessorFeatures) { - cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures::unwrap)) + cdkBuilder.processorFeatures(processorFeatures.let(ProcessorFeatures.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ExportBuckets(s3ExportBuckets: List) { - cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ExportBuckets(s3ExportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ImportBuckets(s3ImportBuckets: List) { - cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket::unwrap)) + cdkBuilder.s3ImportBuckets(s3ImportBuckets.map(IBucket.Companion::unwrap)) } /** @@ -918,14 +918,14 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * For Microsoft SQL Server: */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** * @param securityGroups The security groups to assign to the DB instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -947,14 +947,14 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * Storage types supported are gp2, io1, standard. */ override fun storageType(storageType: StorageType) { - cdkBuilder.storageType(storageType.let(StorageType::unwrap)) + cdkBuilder.storageType(storageType.let(StorageType.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the instance. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -969,14 +969,14 @@ public interface DatabaseInstanceSourceProps : DatabaseInstanceNewProps { * @param vpc The VPC network where the DB subnet group should be created. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets to add to the created DB subnet group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxy.kt index 00cc5a06f9..7687f6f94e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxy.kt @@ -55,8 +55,8 @@ public open class DatabaseProxy( id: String, props: DatabaseProxyProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseProxy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseProxyProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseProxy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseProxyProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class DatabaseProxy( * @param dbUser */ public override fun grantConnect(grantee: IGrantable): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity connection access to the proxy. @@ -109,7 +109,7 @@ public open class DatabaseProxy( * @param dbUser */ public override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), dbUser).let(Grant::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.rds.DatabaseProxy]. @@ -401,7 +401,7 @@ public open class DatabaseProxy( * the connection pool. */ override fun borrowTimeout(borrowTimeout: Duration) { - cdkBuilder.borrowTimeout(borrowTimeout.let(Duration::unwrap)) + cdkBuilder.borrowTimeout(borrowTimeout.let(Duration.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class DatabaseProxy( * in as a specific database user. */ override fun clientPasswordAuthType(clientPasswordAuthType: ClientPasswordAuthType) { - cdkBuilder.clientPasswordAuthType(clientPasswordAuthType.let(ClientPasswordAuthType::unwrap)) + cdkBuilder.clientPasswordAuthType(clientPasswordAuthType.let(ClientPasswordAuthType.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public open class DatabaseProxy( * before the proxy disconnects it. */ override fun idleClientTimeout(idleClientTimeout: Duration) { - cdkBuilder.idleClientTimeout(idleClientTimeout.let(Duration::unwrap)) + cdkBuilder.idleClientTimeout(idleClientTimeout.let(Duration.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public open class DatabaseProxy( * @param proxyTarget DB proxy target: Instance or Cluster. */ override fun proxyTarget(proxyTarget: ProxyTarget) { - cdkBuilder.proxyTarget(proxyTarget.let(ProxyTarget::unwrap)) + cdkBuilder.proxyTarget(proxyTarget.let(ProxyTarget.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class DatabaseProxy( * @param role IAM role that the proxy uses to access secrets in AWS Secrets Manager. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class DatabaseProxy( * Aurora DB cluster. */ override fun secrets(secrets: List) { - cdkBuilder.secrets(secrets.map(ISecret::unwrap)) + cdkBuilder.secrets(secrets.map(ISecret.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class DatabaseProxy( * @param securityGroups One or more VPC security groups to associate with the new proxy. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class DatabaseProxy( * underlying database connection. */ override fun sessionPinningFilters(sessionPinningFilters: List) { - cdkBuilder.sessionPinningFilters(sessionPinningFilters.map(SessionPinningFilter::unwrap)) + cdkBuilder.sessionPinningFilters(sessionPinningFilters.map(SessionPinningFilter.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class DatabaseProxy( * @param vpc The VPC to associate with the new proxy. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -670,7 +670,7 @@ public open class DatabaseProxy( * @param vpcSubnets The subnets used by the proxy. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -694,8 +694,8 @@ public open class DatabaseProxy( id: String, attrs: DatabaseProxyAttributes, ): IDatabaseProxy = - software.amazon.awscdk.services.rds.DatabaseProxy.fromDatabaseProxyAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(DatabaseProxyAttributes::unwrap)).let(IDatabaseProxy::wrap) + software.amazon.awscdk.services.rds.DatabaseProxy.fromDatabaseProxyAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(DatabaseProxyAttributes.Companion::unwrap)).let(IDatabaseProxy::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("50bb2976434c4f162188800dac01b8399c67e7a4e265d1b82be88c202cf9c451") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyAttributes.kt index 2494c29878..9fbf09a67a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyAttributes.kt @@ -110,7 +110,7 @@ public interface DatabaseProxyAttributes { * @param securityGroups The security groups of the instance. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyOptions.kt index 89befe2df8..201633f79d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyOptions.kt @@ -389,7 +389,7 @@ public interface DatabaseProxyOptions { * Value must be between 1 second and 1 hour, or `Duration.seconds(0)` to represent unlimited. */ override fun borrowTimeout(borrowTimeout: Duration) { - cdkBuilder.borrowTimeout(borrowTimeout.let(Duration::unwrap)) + cdkBuilder.borrowTimeout(borrowTimeout.let(Duration.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public interface DatabaseProxyOptions { * in as a specific database user. */ override fun clientPasswordAuthType(clientPasswordAuthType: ClientPasswordAuthType) { - cdkBuilder.clientPasswordAuthType(clientPasswordAuthType.let(ClientPasswordAuthType::unwrap)) + cdkBuilder.clientPasswordAuthType(clientPasswordAuthType.let(ClientPasswordAuthType.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface DatabaseProxyOptions { * database. */ override fun idleClientTimeout(idleClientTimeout: Duration) { - cdkBuilder.idleClientTimeout(idleClientTimeout.let(Duration::unwrap)) + cdkBuilder.idleClientTimeout(idleClientTimeout.let(Duration.Companion::unwrap)) } /** @@ -502,7 +502,7 @@ public interface DatabaseProxyOptions { * @param role IAM role that the proxy uses to access secrets in AWS Secrets Manager. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface DatabaseProxyOptions { * One or more secrets are required. */ override fun secrets(secrets: List) { - cdkBuilder.secrets(secrets.map(ISecret::unwrap)) + cdkBuilder.secrets(secrets.map(ISecret.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public interface DatabaseProxyOptions { * @param securityGroups One or more VPC security groups to associate with the new proxy. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public interface DatabaseProxyOptions { * Including an item in the list exempts that class of SQL operations from the pinning behavior. */ override fun sessionPinningFilters(sessionPinningFilters: List) { - cdkBuilder.sessionPinningFilters(sessionPinningFilters.map(SessionPinningFilter::unwrap)) + cdkBuilder.sessionPinningFilters(sessionPinningFilters.map(SessionPinningFilter.Companion::unwrap)) } /** @@ -559,14 +559,14 @@ public interface DatabaseProxyOptions { * @param vpc The VPC to associate with the new proxy. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The subnets used by the proxy. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyProps.kt index ffea26f7d5..150d16db03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseProxyProps.kt @@ -236,7 +236,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * Value must be between 1 second and 1 hour, or `Duration.seconds(0)` to represent unlimited. */ override fun borrowTimeout(borrowTimeout: Duration) { - cdkBuilder.borrowTimeout(borrowTimeout.let(Duration::unwrap)) + cdkBuilder.borrowTimeout(borrowTimeout.let(Duration.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * in as a specific database user. */ override fun clientPasswordAuthType(clientPasswordAuthType: ClientPasswordAuthType) { - cdkBuilder.clientPasswordAuthType(clientPasswordAuthType.let(ClientPasswordAuthType::unwrap)) + cdkBuilder.clientPasswordAuthType(clientPasswordAuthType.let(ClientPasswordAuthType.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * database. */ override fun idleClientTimeout(idleClientTimeout: Duration) { - cdkBuilder.idleClientTimeout(idleClientTimeout.let(Duration::unwrap)) + cdkBuilder.idleClientTimeout(idleClientTimeout.let(Duration.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * @param proxyTarget DB proxy target: Instance or Cluster. */ override fun proxyTarget(proxyTarget: ProxyTarget) { - cdkBuilder.proxyTarget(proxyTarget.let(ProxyTarget::unwrap)) + cdkBuilder.proxyTarget(proxyTarget.let(ProxyTarget.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * @param role IAM role that the proxy uses to access secrets in AWS Secrets Manager. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * One or more secrets are required. */ override fun secrets(secrets: List) { - cdkBuilder.secrets(secrets.map(ISecret::unwrap)) + cdkBuilder.secrets(secrets.map(ISecret.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * @param securityGroups One or more VPC security groups to associate with the new proxy. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * Including an item in the list exempts that class of SQL operations from the pinning behavior. */ override fun sessionPinningFilters(sessionPinningFilters: List) { - cdkBuilder.sessionPinningFilters(sessionPinningFilters.map(SessionPinningFilter::unwrap)) + cdkBuilder.sessionPinningFilters(sessionPinningFilters.map(SessionPinningFilter.Companion::unwrap)) } /** @@ -413,14 +413,14 @@ public interface DatabaseProxyProps : DatabaseProxyOptions { * @param vpc The VPC to associate with the new proxy. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The subnets used by the proxy. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecret.kt index ae42e22cf6..17ff07bdc4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecret.kt @@ -67,8 +67,8 @@ public open class DatabaseSecret( id: String, props: DatabaseSecretProps, ) : - this(software.amazon.awscdk.services.rds.DatabaseSecret(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DatabaseSecretProps::unwrap)) + this(software.amazon.awscdk.services.rds.DatabaseSecret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DatabaseSecretProps.Companion::unwrap)) ) public constructor( @@ -195,7 +195,7 @@ public open class DatabaseSecret( * @param encryptionKey The KMS key to use to encrypt the secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class DatabaseSecret( * @param masterSecret The master secret which will be used to rotate this secret. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class DatabaseSecret( * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecretProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecretProps.kt index 77b4e525d5..3343b590f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecretProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/DatabaseSecretProps.kt @@ -191,7 +191,7 @@ public interface DatabaseSecretProps { * @param encryptionKey The KMS key to use to encrypt the secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface DatabaseSecretProps { * @param masterSecret The master secret which will be used to rotate this secret. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface DatabaseSecretProps { * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IAuroraClusterInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IAuroraClusterInstance.kt index 2d798ed36a..c68e9a5138 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IAuroraClusterInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IAuroraClusterInstance.kt @@ -68,7 +68,7 @@ public interface IAuroraClusterInstance : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterEngine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterEngine.kt index 03e37c6850..17ec89e634 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterEngine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterEngine.kt @@ -68,8 +68,8 @@ public interface IClusterEngine : IEngine { * @param options */ override fun bindToCluster(scope: Construct, options: ClusterEngineBindOptions): - ClusterEngineConfig = unwrap(this).bindToCluster(scope.let(Construct::unwrap), - options.let(ClusterEngineBindOptions::unwrap)).let(ClusterEngineConfig::wrap) + ClusterEngineConfig = unwrap(this).bindToCluster(scope.let(Construct.Companion::unwrap), + options.let(ClusterEngineBindOptions.Companion::unwrap)).let(ClusterEngineConfig::wrap) /** * Method called when the engine is used to create a new cluster. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterInstance.kt index d296b558f7..97264493b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IClusterInstance.kt @@ -55,9 +55,9 @@ public interface IClusterInstance { scope: Construct, cluster: IDatabaseCluster, options: ClusterInstanceBindOptions, - ): IAuroraClusterInstance = unwrap(this).bind(scope.let(Construct::unwrap), - cluster.let(IDatabaseCluster::unwrap), - options.let(ClusterInstanceBindOptions::unwrap)).let(IAuroraClusterInstance::wrap) + ): IAuroraClusterInstance = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + cluster.let(IDatabaseCluster.Companion::unwrap), + options.let(ClusterInstanceBindOptions.Companion::unwrap)).let(IAuroraClusterInstance::wrap) /** * Create the database instance within the provided cluster. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseCluster.kt index faffa27fe0..f55bbf57f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseCluster.kt @@ -552,7 +552,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa */ override fun addProxy(id: String, options: DatabaseProxyOptions): DatabaseProxy = unwrap(this).addProxy(id, - options.let(DatabaseProxyOptions::unwrap)).let(DatabaseProxy::wrap) + options.let(DatabaseProxyOptions.Companion::unwrap)).let(DatabaseProxy::wrap) /** * Add a new db proxy to this cluster. @@ -579,7 +579,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -647,7 +647,8 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param dbUser the name of the database user to allow connecting. */ override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), + dbUser).let(Grant::wrap) /** * Grant the given identity to access to the Data API. @@ -655,7 +656,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param grantee The principal to grant access to. */ override fun grantDataApiAccess(grantee: IGrantable): Grant = - unwrap(this).grantDataApiAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDataApiAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Endpoints which address each individual replica. @@ -684,7 +685,8 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this DBCluster. @@ -715,7 +717,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The percentage of CPU utilization. @@ -747,7 +749,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricDatabaseConnections(props: MetricOptions): Metric = - unwrap(this).metricDatabaseConnections(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDatabaseConnections(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of database connections in use. @@ -778,7 +780,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricDeadlocks(props: MetricOptions): Metric = - unwrap(this).metricDeadlocks(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDeadlocks(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of deadlocks in the database per second. @@ -809,7 +811,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricEngineUptime(props: MetricOptions): Metric = - unwrap(this).metricEngineUptime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricEngineUptime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of time that the instance has been running, in seconds. @@ -841,7 +843,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricFreeLocalStorage(props: MetricOptions): Metric = - unwrap(this).metricFreeLocalStorage(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeLocalStorage(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of local storage available, in bytes. @@ -873,7 +875,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricFreeableMemory(props: MetricOptions): Metric = - unwrap(this).metricFreeableMemory(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeableMemory(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of available random access memory, in bytes. @@ -905,7 +907,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricNetworkReceiveThroughput(props: MetricOptions): Metric = - unwrap(this).metricNetworkReceiveThroughput(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNetworkReceiveThroughput(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of network throughput received from clients by each instance, in bytes per second. @@ -939,7 +941,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricNetworkThroughput(props: MetricOptions): Metric = - unwrap(this).metricNetworkThroughput(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNetworkThroughput(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of network throughput both received from and transmitted to clients by each @@ -972,7 +974,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricNetworkTransmitThroughput(props: MetricOptions): Metric = - unwrap(this).metricNetworkTransmitThroughput(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNetworkTransmitThroughput(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of network throughput sent to clients by each instance, in bytes per second. @@ -1006,7 +1008,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricSnapshotStorageUsed(props: MetricOptions): Metric = - unwrap(this).metricSnapshotStorageUsed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSnapshotStorageUsed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total amount of backup storage in bytes consumed by all Aurora snapshots outside its @@ -1039,7 +1041,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricTotalBackupStorageBilled(props: MetricOptions): Metric = - unwrap(this).metricTotalBackupStorageBilled(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTotalBackupStorageBilled(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The total amount of backup storage in bytes for which you are billed. @@ -1071,7 +1073,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricVolumeBytesUsed(props: MetricOptions): Metric = - unwrap(this).metricVolumeBytesUsed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricVolumeBytesUsed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of storage used by your Aurora DB instance, in bytes. @@ -1105,7 +1107,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricVolumeReadIOPs(props: MetricOptions): Metric = - unwrap(this).metricVolumeReadIOPs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricVolumeReadIOPs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of billed read I/O operations from a cluster volume, reported at 5-minute @@ -1140,7 +1142,7 @@ public interface IDatabaseCluster : IResource, IConnectable, ISecretAttachmentTa * @param props */ override fun metricVolumeWriteIOPs(props: MetricOptions): Metric = - unwrap(this).metricVolumeWriteIOPs(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricVolumeWriteIOPs(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of write disk I/O operations to the cluster volume, reported at 5-minute diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseInstance.kt index aa9062b786..ed5de5d965 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseInstance.kt @@ -350,7 +350,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT */ override fun addProxy(id: String, options: DatabaseProxyOptions): DatabaseProxy = unwrap(this).addProxy(id, - options.let(DatabaseProxyOptions::unwrap)).let(DatabaseProxy::wrap) + options.let(DatabaseProxyOptions.Companion::unwrap)).let(DatabaseProxy::wrap) /** * Add a new db proxy to this instance. @@ -377,7 +377,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param dbUser the name of the database user to allow connecting as to the db instance. */ override fun grantConnect(grantee: IGrantable): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity connection access to the database. @@ -437,7 +437,8 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param dbUser the name of the database user to allow connecting as to the db instance. */ override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), + dbUser).let(Grant::wrap) /** * The instance arn. @@ -481,7 +482,8 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this DBInstance. @@ -512,7 +514,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metricCPUUtilization(props: MetricOptions): Metric = - unwrap(this).metricCPUUtilization(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricCPUUtilization(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The percentage of CPU utilization. @@ -544,7 +546,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metricDatabaseConnections(props: MetricOptions): Metric = - unwrap(this).metricDatabaseConnections(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDatabaseConnections(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of database connections in use. @@ -576,7 +578,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metricFreeStorageSpace(props: MetricOptions): Metric = - unwrap(this).metricFreeStorageSpace(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeStorageSpace(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of available storage space. @@ -608,7 +610,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metricFreeableMemory(props: MetricOptions): Metric = - unwrap(this).metricFreeableMemory(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFreeableMemory(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The amount of available random access memory. @@ -639,7 +641,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metricReadIOPS(props: MetricOptions): Metric = - unwrap(this).metricReadIOPS(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricReadIOPS(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of disk write I/O operations per second. @@ -670,7 +672,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param props */ override fun metricWriteIOPS(props: MetricOptions): Metric = - unwrap(this).metricWriteIOPS(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricWriteIOPS(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The average number of disk read I/O operations per second. @@ -707,7 +709,7 @@ public interface IDatabaseInstance : IResource, IConnectable, ISecretAttachmentT * @param options */ override fun onEvent(id: String, options: OnEventOptions): Rule = unwrap(this).onEvent(id, - options.let(OnEventOptions::unwrap)).let(Rule::wrap) + options.let(OnEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event rule which triggers for instance events. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseProxy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseProxy.kt index 39e159bb31..08ca2c4a16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseProxy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IDatabaseProxy.kt @@ -71,7 +71,7 @@ public interface IDatabaseProxy : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public interface IDatabaseProxy : IResource { * @param dbUser the name of the database user to allow connecting as to the proxy. */ override fun grantConnect(grantee: IGrantable): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity connection access to the proxy. @@ -123,7 +123,8 @@ public interface IDatabaseProxy : IResource { * @param dbUser the name of the database user to allow connecting as to the proxy. */ override fun grantConnect(grantee: IGrantable, dbUser: String): Grant = - unwrap(this).grantConnect(grantee.let(IGrantable::unwrap), dbUser).let(Grant::wrap) + unwrap(this).grantConnect(grantee.let(IGrantable.Companion::unwrap), + dbUser).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IInstanceEngine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IInstanceEngine.kt index 51fc1d47d3..e32da68bcb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IInstanceEngine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IInstanceEngine.kt @@ -62,8 +62,8 @@ public interface IInstanceEngine : IEngine { * @param options */ override fun bindToInstance(scope: Construct, options: InstanceEngineBindOptions): - InstanceEngineConfig = unwrap(this).bindToInstance(scope.let(Construct::unwrap), - options.let(InstanceEngineBindOptions::unwrap)).let(InstanceEngineConfig::wrap) + InstanceEngineConfig = unwrap(this).bindToInstance(scope.let(Construct.Companion::unwrap), + options.let(InstanceEngineBindOptions.Companion::unwrap)).let(InstanceEngineConfig::wrap) /** * Method called when the engine is used to create a new instance. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IOptionGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IOptionGroup.kt index 0103af003e..5ee7b345e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IOptionGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IOptionGroup.kt @@ -57,7 +57,7 @@ public interface IOptionGroup : IResource { * @param configuration */ override fun addConfiguration(configuration: OptionConfiguration): Boolean = - unwrap(this).addConfiguration(configuration.let(OptionConfiguration::unwrap)) + unwrap(this).addConfiguration(configuration.let(OptionConfiguration.Companion::unwrap)) /** * Adds a configuration to this OptionGroup. @@ -86,7 +86,7 @@ public interface IOptionGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IParameterGroup.kt index 66d8039d4e..faaf93a8ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IParameterGroup.kt @@ -102,7 +102,7 @@ public interface IParameterGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public interface IParameterGroup : IResource { */ override fun bindToCluster(options: ParameterGroupClusterBindOptions): ParameterGroupClusterConfig = - unwrap(this).bindToCluster(options.let(ParameterGroupClusterBindOptions::unwrap)).let(ParameterGroupClusterConfig::wrap) + unwrap(this).bindToCluster(options.let(ParameterGroupClusterBindOptions.Companion::unwrap)).let(ParameterGroupClusterConfig::wrap) /** * Method called when this Parameter Group is used when defining a database cluster. @@ -131,7 +131,7 @@ public interface IParameterGroup : IResource { */ override fun bindToInstance(options: ParameterGroupInstanceBindOptions): ParameterGroupInstanceConfig = - unwrap(this).bindToInstance(options.let(ParameterGroupInstanceBindOptions::unwrap)).let(ParameterGroupInstanceConfig::wrap) + unwrap(this).bindToInstance(options.let(ParameterGroupInstanceBindOptions.Companion::unwrap)).let(ParameterGroupInstanceConfig::wrap) /** * Method called when this Parameter Group is used when defining a database instance. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IServerlessCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IServerlessCluster.kt index 9a83b5fad2..17a138a96a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IServerlessCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/IServerlessCluster.kt @@ -65,7 +65,7 @@ public interface IServerlessCluster : IResource, IConnectable, ISecretAttachment * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface IServerlessCluster : IResource, IConnectable, ISecretAttachment * @param grantee The principal to grant access to. */ override fun grantDataApiAccess(grantee: IGrantable): Grant = - unwrap(this).grantDataApiAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDataApiAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ISubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ISubnetGroup.kt index 2903c89528..478954cfa7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ISubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ISubnetGroup.kt @@ -37,7 +37,7 @@ public interface ISubnetGroup : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineBindOptions.kt index 99a5c9232c..e0841e7dcc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineBindOptions.kt @@ -112,21 +112,21 @@ public interface InstanceEngineBindOptions { * @param optionGroup The option group of the database. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } /** * @param s3ExportRole The role used for S3 exporting. */ override fun s3ExportRole(s3ExportRole: IRole) { - cdkBuilder.s3ExportRole(s3ExportRole.let(IRole::unwrap)) + cdkBuilder.s3ExportRole(s3ExportRole.let(IRole.Companion::unwrap)) } /** * @param s3ImportRole The role used for S3 importing. */ override fun s3ImportRole(s3ImportRole: IRole) { - cdkBuilder.s3ImportRole(s3ImportRole.let(IRole::unwrap)) + cdkBuilder.s3ImportRole(s3ImportRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineConfig.kt index e754a797e4..17d93caa77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceEngineConfig.kt @@ -76,7 +76,7 @@ public interface InstanceEngineConfig { * @param features Features supported by the database engine. */ override fun features(features: InstanceEngineFeatures) { - cdkBuilder.features(features.let(InstanceEngineFeatures::unwrap)) + cdkBuilder.features(features.let(InstanceEngineFeatures.Companion::unwrap)) } /** @@ -91,7 +91,7 @@ public interface InstanceEngineConfig { * @param optionGroup Option group of the database. */ override fun optionGroup(optionGroup: IOptionGroup) { - cdkBuilder.optionGroup(optionGroup.let(IOptionGroup::unwrap)) + cdkBuilder.optionGroup(optionGroup.let(IOptionGroup.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.InstanceEngineConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceProps.kt index 47dd6e423b..7a07d43134 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/InstanceProps.kt @@ -300,14 +300,14 @@ public interface InstanceProps { * @param instanceType What type of instance to start for the replicas. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** * @param parameterGroup The DB parameter group to associate with the instance. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public interface InstanceProps { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface InstanceProps { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface InstanceProps { * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -370,14 +370,14 @@ public interface InstanceProps { * Must be at least 2 subnets in two different AZs. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MariaDbInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MariaDbInstanceEngineProps.kt index 0803373f8c..18e32cb09d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MariaDbInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MariaDbInstanceEngineProps.kt @@ -49,7 +49,7 @@ public interface MariaDbInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: MariaDbEngineVersion) { - cdkBuilder.version(version.let(MariaDbEngineVersion::unwrap)) + cdkBuilder.version(version.let(MariaDbEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.MariaDbInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MySqlInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MySqlInstanceEngineProps.kt index d3eb0d6f0a..d001697c01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MySqlInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/MySqlInstanceEngineProps.kt @@ -56,7 +56,7 @@ public interface MySqlInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: MysqlEngineVersion) { - cdkBuilder.version(version.let(MysqlEngineVersion::unwrap)) + cdkBuilder.version(version.let(MysqlEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.MySqlInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionConfiguration.kt index 5c4de0d6b4..0a4a2c9258 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionConfiguration.kt @@ -162,7 +162,7 @@ public interface OptionConfiguration { * If no groups are provided, a default one will be created. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface OptionConfiguration { * is specified then `port` must also be specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OptionConfiguration = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroup.kt index 2adbd76735..fc382bfd5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroup.kt @@ -92,8 +92,8 @@ public open class OptionGroup( id: String, props: OptionGroupProps, ) : - this(software.amazon.awscdk.services.rds.OptionGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(OptionGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.OptionGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(OptionGroupProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class OptionGroup( * @param configuration */ public override fun addConfiguration(configuration: OptionConfiguration): Boolean = - unwrap(this).addConfiguration(configuration.let(OptionConfiguration::unwrap)) + unwrap(this).addConfiguration(configuration.let(OptionConfiguration.Companion::unwrap)) /** * Adds a configuration to this OptionGroup. @@ -185,7 +185,7 @@ public open class OptionGroup( * @param configurations The configurations for this option group. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(OptionConfiguration::unwrap)) + cdkBuilder.configurations(configurations.map(OptionConfiguration.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class OptionGroup( * @param engine The database engine that this option group is associated with. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OptionGroup = cdkBuilder.build() @@ -225,7 +225,7 @@ public open class OptionGroup( id: String, optionGroupName: String, ): IOptionGroup = - software.amazon.awscdk.services.rds.OptionGroup.fromOptionGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.rds.OptionGroup.fromOptionGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, optionGroupName).let(IOptionGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroupProps.kt index cc16d988ad..47b2eae107 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OptionGroupProps.kt @@ -131,7 +131,7 @@ public interface OptionGroupProps { * @param configurations The configurations for this option group. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(OptionConfiguration::unwrap)) + cdkBuilder.configurations(configurations.map(OptionConfiguration.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public interface OptionGroupProps { * @param engine The database engine that this option group is associated with. */ override fun engine(engine: IInstanceEngine) { - cdkBuilder.engine(engine.let(IInstanceEngine::unwrap)) + cdkBuilder.engine(engine.let(IInstanceEngine.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OptionGroupProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeCdbInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeCdbInstanceEngineProps.kt index 15ebb77fd1..818e3f1862 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeCdbInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeCdbInstanceEngineProps.kt @@ -51,7 +51,7 @@ public interface OracleEeCdbInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: OracleEngineVersion) { - cdkBuilder.version(version.let(OracleEngineVersion::unwrap)) + cdkBuilder.version(version.let(OracleEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OracleEeCdbInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeInstanceEngineProps.kt index ec155cc2a8..8a8ee22d31 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleEeInstanceEngineProps.kt @@ -49,7 +49,7 @@ public interface OracleEeInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: OracleEngineVersion) { - cdkBuilder.version(version.let(OracleEngineVersion::unwrap)) + cdkBuilder.version(version.let(OracleEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OracleEeInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2CdbInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2CdbInstanceEngineProps.kt index c374ecd0d7..5fc8276a13 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2CdbInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2CdbInstanceEngineProps.kt @@ -51,7 +51,7 @@ public interface OracleSe2CdbInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: OracleEngineVersion) { - cdkBuilder.version(version.let(OracleEngineVersion::unwrap)) + cdkBuilder.version(version.let(OracleEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OracleSe2CdbInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2InstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2InstanceEngineProps.kt index 8b19c3450a..712031cd52 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2InstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/OracleSe2InstanceEngineProps.kt @@ -54,7 +54,7 @@ public interface OracleSe2InstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: OracleEngineVersion) { - cdkBuilder.version(version.let(OracleEngineVersion::unwrap)) + cdkBuilder.version(version.let(OracleEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.OracleSe2InstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroup.kt index 09ea9b5ffe..1d7594d767 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroup.kt @@ -61,8 +61,8 @@ public open class ParameterGroup( id: String, props: ParameterGroupProps, ) : - this(software.amazon.awscdk.services.rds.ParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.ParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class ParameterGroup( */ public override fun bindToCluster(options: ParameterGroupClusterBindOptions): ParameterGroupClusterConfig = - unwrap(this).bindToCluster(options.let(ParameterGroupClusterBindOptions::unwrap)).let(ParameterGroupClusterConfig::wrap) + unwrap(this).bindToCluster(options.let(ParameterGroupClusterBindOptions.Companion::unwrap)).let(ParameterGroupClusterConfig::wrap) /** * Method called when this Parameter Group is used when defining a database cluster. @@ -107,7 +107,7 @@ public open class ParameterGroup( */ public override fun bindToInstance(options: ParameterGroupInstanceBindOptions): ParameterGroupInstanceConfig = - unwrap(this).bindToInstance(options.let(ParameterGroupInstanceBindOptions::unwrap)).let(ParameterGroupInstanceConfig::wrap) + unwrap(this).bindToInstance(options.let(ParameterGroupInstanceBindOptions.Companion::unwrap)).let(ParameterGroupInstanceConfig::wrap) /** * Method called when this Parameter Group is used when defining a database instance. @@ -140,6 +140,15 @@ public open class ParameterGroup( */ public fun engine(engine: IEngine) + /** + * The name of this parameter group. + * + * Default: - CloudFormation-generated name + * + * @param name The name of this parameter group. + */ + public fun name(name: String) + /** * The parameters in this parameter group. * @@ -185,7 +194,18 @@ public open class ParameterGroup( * @param engine The database engine for this parameter group. */ override fun engine(engine: IEngine) { - cdkBuilder.engine(engine.let(IEngine::unwrap)) + cdkBuilder.engine(engine.let(IEngine.Companion::unwrap)) + } + + /** + * The name of this parameter group. + * + * Default: - CloudFormation-generated name + * + * @param name The name of this parameter group. + */ + override fun name(name: String) { + cdkBuilder.name(name) } /** @@ -209,7 +229,7 @@ public open class ParameterGroup( * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.ParameterGroup = cdkBuilder.build() @@ -221,7 +241,7 @@ public open class ParameterGroup( id: String, parameterGroupName: String, ): IParameterGroup = - software.amazon.awscdk.services.rds.ParameterGroup.fromParameterGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.rds.ParameterGroup.fromParameterGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, parameterGroupName).let(IParameterGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroupProps.kt index 8782afb6c2..971081cfe8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ParameterGroupProps.kt @@ -93,6 +93,13 @@ public interface ParameterGroupProps { */ public fun engine(): IEngine + /** + * The name of this parameter group. + * + * Default: - CloudFormation-generated name + */ + public fun name(): String? = unwrap(this).getName() + /** * The parameters in this parameter group. * @@ -124,6 +131,11 @@ public interface ParameterGroupProps { */ public fun engine(engine: IEngine) + /** + * @param name The name of this parameter group. + */ + public fun name(name: String) + /** * @param parameters The parameters in this parameter group. */ @@ -151,7 +163,14 @@ public interface ParameterGroupProps { * @param engine The database engine for this parameter group. */ override fun engine(engine: IEngine) { - cdkBuilder.engine(engine.let(IEngine::unwrap)) + cdkBuilder.engine(engine.let(IEngine.Companion::unwrap)) + } + + /** + * @param name The name of this parameter group. + */ + override fun name(name: String) { + cdkBuilder.name(name) } /** @@ -166,7 +185,7 @@ public interface ParameterGroupProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.ParameterGroupProps = cdkBuilder.build() @@ -187,6 +206,13 @@ public interface ParameterGroupProps { */ override fun engine(): IEngine = unwrap(this).getEngine().let(IEngine::wrap) + /** + * The name of this parameter group. + * + * Default: - CloudFormation-generated name + */ + override fun name(): String? = unwrap(this).getName() + /** * The parameters in this parameter group. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresEngineVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresEngineVersion.kt index e5bd566834..c95a93d8ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresEngineVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresEngineVersion.kt @@ -353,7 +353,7 @@ public open class PostgresEngineVersion( ): PostgresEngineVersion = software.amazon.awscdk.services.rds.PostgresEngineVersion.of(postgresFullVersion, postgresMajorVersion, - postgresFeatures.let(PostgresEngineFeatures::unwrap)).let(PostgresEngineVersion::wrap) + postgresFeatures.let(PostgresEngineFeatures.Companion::unwrap)).let(PostgresEngineVersion::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ee8c7d83cbe96c20fac33281ba2719b124d62487aa6178e50b7f21f67e3984a8") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresInstanceEngineProps.kt index 2419fbf156..668f2d46f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/PostgresInstanceEngineProps.kt @@ -57,7 +57,7 @@ public interface PostgresInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: PostgresEngineVersion) { - cdkBuilder.version(version.let(PostgresEngineVersion::unwrap)) + cdkBuilder.version(version.let(PostgresEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.PostgresInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProvisionedClusterInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProvisionedClusterInstanceProps.kt index cf9c147b98..c11f757055 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProvisionedClusterInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProvisionedClusterInstanceProps.kt @@ -180,7 +180,7 @@ public interface ProvisionedClusterInstanceProps : ClusterInstanceOptions { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface ProvisionedClusterInstanceProps : ClusterInstanceOptions { * @param instanceType The cluster instance type. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface ProvisionedClusterInstanceProps : ClusterInstanceOptions { * provide this and just use the cluster parameter group */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public interface ProvisionedClusterInstanceProps : ClusterInstanceOptions { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface ProvisionedClusterInstanceProps : ClusterInstanceOptions { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTarget.kt index 3599fe341b..aac4a70b47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTarget.kt @@ -40,14 +40,14 @@ public open class ProxyTarget( * @param proxy */ public open fun bind(proxy: DatabaseProxy): ProxyTargetConfig = - unwrap(this).bind(proxy.let(DatabaseProxy::unwrap)).let(ProxyTargetConfig::wrap) + unwrap(this).bind(proxy.let(DatabaseProxy.Companion::unwrap)).let(ProxyTargetConfig::wrap) public companion object { public fun fromCluster(cluster: IDatabaseCluster): ProxyTarget = - software.amazon.awscdk.services.rds.ProxyTarget.fromCluster(cluster.let(IDatabaseCluster::unwrap)).let(ProxyTarget::wrap) + software.amazon.awscdk.services.rds.ProxyTarget.fromCluster(cluster.let(IDatabaseCluster.Companion::unwrap)).let(ProxyTarget::wrap) public fun fromInstance(instance: IDatabaseInstance): ProxyTarget = - software.amazon.awscdk.services.rds.ProxyTarget.fromInstance(instance.let(IDatabaseInstance::unwrap)).let(ProxyTarget::wrap) + software.amazon.awscdk.services.rds.ProxyTarget.fromInstance(instance.let(IDatabaseInstance.Companion::unwrap)).let(ProxyTarget::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.rds.ProxyTarget): ProxyTarget = ProxyTarget(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTargetConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTargetConfig.kt index 5ee227231e..c5085f53e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTargetConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ProxyTargetConfig.kt @@ -99,7 +99,7 @@ public interface ProxyTargetConfig { * Either this or `dbInstances` will be set and the other `undefined`. */ override fun dbClusters(dbClusters: List) { - cdkBuilder.dbClusters(dbClusters.map(IDatabaseCluster::unwrap)) + cdkBuilder.dbClusters(dbClusters.map(IDatabaseCluster.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface ProxyTargetConfig { * Either this or `dbClusters` will be set and the other `undefined`. */ override fun dbInstances(dbInstances: List) { - cdkBuilder.dbInstances(dbInstances.map(IDatabaseInstance::unwrap)) + cdkBuilder.dbInstances(dbInstances.map(IDatabaseInstance.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationMultiUserOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationMultiUserOptions.kt index aae0dcefd0..837c95f244 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationMultiUserOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationMultiUserOptions.kt @@ -126,7 +126,7 @@ public interface RotationMultiUserOptions : CommonRotationUserOptions { * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface RotationMultiUserOptions : CommonRotationUserOptions { * resolves to your VPC endpoint. */ override fun endpoint(endpoint: IInterfaceVpcEndpoint) { - cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint::unwrap)) + cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint.Companion::unwrap)) } /** @@ -173,21 +173,21 @@ public interface RotationMultiUserOptions : CommonRotationUserOptions { * ``` */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param securityGroup The security group for the Lambda rotation function. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param vpcSubnets Where to place the rotation Lambda function. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationSingleUserOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationSingleUserOptions.kt index 791b94b2f9..746b56a700 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationSingleUserOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/RotationSingleUserOptions.kt @@ -90,7 +90,7 @@ public interface RotationSingleUserOptions : CommonRotationUserOptions { * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -101,7 +101,7 @@ public interface RotationSingleUserOptions : CommonRotationUserOptions { * resolves to your VPC endpoint. */ override fun endpoint(endpoint: IInterfaceVpcEndpoint) { - cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint::unwrap)) + cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint.Companion::unwrap)) } /** @@ -123,14 +123,14 @@ public interface RotationSingleUserOptions : CommonRotationUserOptions { * @param securityGroup The security group for the Lambda rotation function. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param vpcSubnets Where to place the rotation Lambda function. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessCluster.kt index 00c8d4c977..9f90030e59 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessCluster.kt @@ -77,8 +77,8 @@ public open class ServerlessCluster( id: String, props: ServerlessClusterProps, ) : - this(software.amazon.awscdk.services.rds.ServerlessCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServerlessClusterProps::unwrap)) + this(software.amazon.awscdk.services.rds.ServerlessCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServerlessClusterProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class ServerlessCluster( */ public open fun addRotationMultiUser(id: String, options: RotationMultiUserOptions): SecretRotation = unwrap(this).addRotationMultiUser(id, - options.let(RotationMultiUserOptions::unwrap)).let(SecretRotation::wrap) + options.let(RotationMultiUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the multi user rotation to this cluster. @@ -124,7 +124,7 @@ public open class ServerlessCluster( * @param options */ public open fun addRotationSingleUser(options: RotationSingleUserOptions): SecretRotation = - unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions::unwrap)).let(SecretRotation::wrap) + unwrap(this).addRotationSingleUser(options.let(RotationSingleUserOptions.Companion::unwrap)).let(SecretRotation::wrap) /** * Adds the single user rotation of the master password to this cluster. @@ -177,7 +177,7 @@ public open class ServerlessCluster( * @param grantee The principal to grant access to. */ public override fun grantDataApiAccess(grantee: IGrantable): Grant = - unwrap(this).grantDataApiAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDataApiAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The secret attached to this cluster. @@ -404,7 +404,7 @@ public open class ServerlessCluster( * @param backupRetention The number of days during which automatic DB snapshots are retained. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class ServerlessCluster( * @param credentials Credentials for the administrative user. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class ServerlessCluster( * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class ServerlessCluster( * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class ServerlessCluster( * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class ServerlessCluster( * @param scaling Scaling configuration of an Aurora Serverless database cluster. */ override fun scaling(scaling: ServerlessScalingOptions) { - cdkBuilder.scaling(scaling.let(ServerlessScalingOptions::unwrap)) + cdkBuilder.scaling(scaling.let(ServerlessScalingOptions.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class ServerlessCluster( * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public open class ServerlessCluster( * @param storageEncryptionKey The KMS key for storage encryption. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class ServerlessCluster( * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class ServerlessCluster( * @param vpc The VPC that this Aurora Serverless cluster has been created in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class ServerlessCluster( * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -633,8 +633,8 @@ public open class ServerlessCluster( id: String, attrs: ServerlessClusterAttributes, ): IServerlessCluster = - software.amazon.awscdk.services.rds.ServerlessCluster.fromServerlessClusterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ServerlessClusterAttributes::unwrap)).let(IServerlessCluster::wrap) + software.amazon.awscdk.services.rds.ServerlessCluster.fromServerlessClusterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ServerlessClusterAttributes.Companion::unwrap)).let(IServerlessCluster::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5ad4c7ad78796d5cee14bd7dd4458c72f8f8535fcd3845598fc5ea0c2c77997f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterAttributes.kt index 675ac65a90..15e496c360 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterAttributes.kt @@ -155,14 +155,14 @@ public interface ServerlessClusterAttributes { * @param secret The secret attached to the database cluster. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param securityGroups The security groups of the database cluster. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshot.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshot.kt index 4aa0166e6f..7fe4b1fa48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshot.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshot.kt @@ -44,8 +44,8 @@ public open class ServerlessClusterFromSnapshot( id: String, props: ServerlessClusterFromSnapshotProps, ) : - this(software.amazon.awscdk.services.rds.ServerlessClusterFromSnapshot(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServerlessClusterFromSnapshotProps::unwrap)) + this(software.amazon.awscdk.services.rds.ServerlessClusterFromSnapshot(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServerlessClusterFromSnapshotProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class ServerlessClusterFromSnapshot( * @param grantee The principal to grant access to. */ public override fun grantDataApiAccess(grantee: IGrantable): Grant = - unwrap(this).grantDataApiAccess(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDataApiAccess(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The secret attached to this cluster. @@ -330,7 +330,7 @@ public open class ServerlessClusterFromSnapshot( * @param backupRetention The number of days during which automatic DB snapshots are retained. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class ServerlessClusterFromSnapshot( * @param credentials Master user credentials. */ override fun credentials(credentials: SnapshotCredentials) { - cdkBuilder.credentials(credentials.let(SnapshotCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(SnapshotCredentials.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class ServerlessClusterFromSnapshot( * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class ServerlessClusterFromSnapshot( * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class ServerlessClusterFromSnapshot( * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class ServerlessClusterFromSnapshot( * @param scaling Scaling configuration of an Aurora Serverless database cluster. */ override fun scaling(scaling: ServerlessScalingOptions) { - cdkBuilder.scaling(scaling.let(ServerlessScalingOptions::unwrap)) + cdkBuilder.scaling(scaling.let(ServerlessScalingOptions.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class ServerlessClusterFromSnapshot( * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class ServerlessClusterFromSnapshot( * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class ServerlessClusterFromSnapshot( * @param vpc The VPC that this Aurora Serverless cluster has been created in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class ServerlessClusterFromSnapshot( * @param vpcSubnets Where to place the instances within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshotProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshotProps.kt index be66fb3d9f..375b013c9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshotProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterFromSnapshotProps.kt @@ -294,7 +294,7 @@ public interface ServerlessClusterFromSnapshotProps { * Must be a value from 1 day to 35 days. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface ServerlessClusterFromSnapshotProps { * however, it is possible to provide (or generate) a new password. */ override fun credentials(credentials: SnapshotCredentials) { - cdkBuilder.credentials(credentials.let(SnapshotCredentials::unwrap)) + cdkBuilder.credentials(credentials.let(SnapshotCredentials.Companion::unwrap)) } /** @@ -347,14 +347,14 @@ public interface ServerlessClusterFromSnapshotProps { * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -362,14 +362,14 @@ public interface ServerlessClusterFromSnapshotProps { * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param scaling Scaling configuration of an Aurora Serverless database cluster. */ override fun scaling(scaling: ServerlessScalingOptions) { - cdkBuilder.scaling(scaling.let(ServerlessScalingOptions::unwrap)) + cdkBuilder.scaling(scaling.let(ServerlessScalingOptions.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public interface ServerlessClusterFromSnapshotProps { * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -408,14 +408,14 @@ public interface ServerlessClusterFromSnapshotProps { * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** * @param vpc The VPC that this Aurora Serverless cluster has been created in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface ServerlessClusterFromSnapshotProps { * If provided, the `vpc` property must also be specified. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterProps.kt index 1927fd3d95..d20128d65e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessClusterProps.kt @@ -314,7 +314,7 @@ public interface ServerlessClusterProps { * Must be a value from 1 day to 35 days. */ override fun backupRetention(backupRetention: Duration) { - cdkBuilder.backupRetention(backupRetention.let(Duration::unwrap)) + cdkBuilder.backupRetention(backupRetention.let(Duration.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface ServerlessClusterProps { * @param credentials Credentials for the administrative user. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -365,14 +365,14 @@ public interface ServerlessClusterProps { * @param engine What kind of database to start. */ override fun engine(engine: IClusterEngine) { - cdkBuilder.engine(engine.let(IClusterEngine::unwrap)) + cdkBuilder.engine(engine.let(IClusterEngine.Companion::unwrap)) } /** * @param parameterGroup Additional parameters to pass to the database engine. */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -380,14 +380,14 @@ public interface ServerlessClusterProps { * removed from the stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param scaling Scaling configuration of an Aurora Serverless database cluster. */ override fun scaling(scaling: ServerlessScalingOptions) { - cdkBuilder.scaling(scaling.let(ServerlessScalingOptions::unwrap)) + cdkBuilder.scaling(scaling.let(ServerlessScalingOptions.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public interface ServerlessClusterProps { * @param securityGroups Security group. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -415,21 +415,21 @@ public interface ServerlessClusterProps { * @param storageEncryptionKey The KMS key for storage encryption. */ override fun storageEncryptionKey(storageEncryptionKey: IKey) { - cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey::unwrap)) + cdkBuilder.storageEncryptionKey(storageEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param subnetGroup Existing subnet group for the cluster. */ override fun subnetGroup(subnetGroup: ISubnetGroup) { - cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup::unwrap)) + cdkBuilder.subnetGroup(subnetGroup.let(ISubnetGroup.Companion::unwrap)) } /** * @param vpc The VPC that this Aurora Serverless cluster has been created in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface ServerlessClusterProps { * If provided, the `vpc` property must also be specified. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessScalingOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessScalingOptions.kt index 1ed8312dbd..ac67bd745d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessScalingOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessScalingOptions.kt @@ -146,21 +146,21 @@ public interface ServerlessScalingOptions { * Set to 0 to disable */ override fun autoPause(autoPause: Duration) { - cdkBuilder.autoPause(autoPause.let(Duration::unwrap)) + cdkBuilder.autoPause(autoPause.let(Duration.Companion::unwrap)) } /** * @param maxCapacity The maximum capacity for an Aurora Serverless database cluster. */ override fun maxCapacity(maxCapacity: AuroraCapacityUnit) { - cdkBuilder.maxCapacity(maxCapacity.let(AuroraCapacityUnit::unwrap)) + cdkBuilder.maxCapacity(maxCapacity.let(AuroraCapacityUnit.Companion::unwrap)) } /** * @param minCapacity The minimum capacity for an Aurora Serverless database cluster. */ override fun minCapacity(minCapacity: AuroraCapacityUnit) { - cdkBuilder.minCapacity(minCapacity.let(AuroraCapacityUnit::unwrap)) + cdkBuilder.minCapacity(minCapacity.let(AuroraCapacityUnit.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface ServerlessScalingOptions { * perform seamless scaling before enforcing the timeout action. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface ServerlessScalingOptions { * found. This is the default behavior. */ override fun timeoutAction(timeoutAction: TimeoutAction) { - cdkBuilder.timeoutAction(timeoutAction.let(TimeoutAction::unwrap)) + cdkBuilder.timeoutAction(timeoutAction.let(TimeoutAction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.ServerlessScalingOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessV2ClusterInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessV2ClusterInstanceProps.kt index 5477d2c668..6c2dc18380 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessV2ClusterInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/ServerlessV2ClusterInstanceProps.kt @@ -21,7 +21,7 @@ import kotlin.collections.Map * DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database") * .engine(DatabaseClusterEngine.auroraMysql(AuroraMysqlClusterEngineProps.builder().version(AuroraMysqlEngineVersion.VER_3_01_0).build())) * .writer(ClusterInstance.provisioned("writer", ProvisionedClusterInstanceProps.builder() - * .caCertificate(CaCertificate.RDS_CA_RDS2048_G1) + * .caCertificate(CaCertificate.RDS_CA_RSA2048_G1) * .build())) * .readers(List.of(ClusterInstance.serverlessV2("reader", * ServerlessV2ClusterInstanceProps.builder() @@ -173,7 +173,7 @@ public interface ServerlessV2ClusterInstanceProps : ClusterInstanceOptions { * For RDS DB engines: */ override fun caCertificate(caCertificate: CaCertificate) { - cdkBuilder.caCertificate(caCertificate.let(CaCertificate::unwrap)) + cdkBuilder.caCertificate(caCertificate.let(CaCertificate.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface ServerlessV2ClusterInstanceProps : ClusterInstanceOptions { * provide this and just use the cluster parameter group */ override fun parameterGroup(parameterGroup: IParameterGroup) { - cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup::unwrap)) + cdkBuilder.parameterGroup(parameterGroup.let(IParameterGroup.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface ServerlessV2ClusterInstanceProps : ClusterInstanceOptions { * data. */ override fun performanceInsightEncryptionKey(performanceInsightEncryptionKey: IKey) { - cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey::unwrap)) + cdkBuilder.performanceInsightEncryptionKey(performanceInsightEncryptionKey.let(IKey.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface ServerlessV2ClusterInstanceProps : ClusterInstanceOptions { */ override fun performanceInsightRetention(performanceInsightRetention: PerformanceInsightRetention) { - cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention::unwrap)) + cdkBuilder.performanceInsightRetention(performanceInsightRetention.let(PerformanceInsightRetention.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentials.kt index 7849bd81a6..f085bb5a42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentials.kt @@ -115,7 +115,7 @@ public abstract class SnapshotCredentials( public fun fromGeneratedPassword(username: String, options: SnapshotCredentialsFromGeneratedPasswordOptions): SnapshotCredentials = software.amazon.awscdk.services.rds.SnapshotCredentials.fromGeneratedPassword(username, - options.let(SnapshotCredentialsFromGeneratedPasswordOptions::unwrap)).let(SnapshotCredentials::wrap) + options.let(SnapshotCredentialsFromGeneratedPasswordOptions.Companion::unwrap)).let(SnapshotCredentials::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3b437dfc7de68bde863f8913a8f7257fa4f3365c7319431248f9f54c1c2072b1") @@ -130,7 +130,7 @@ public abstract class SnapshotCredentials( public fun fromGeneratedSecret(username: String, options: SnapshotCredentialsFromGeneratedPasswordOptions): SnapshotCredentials = software.amazon.awscdk.services.rds.SnapshotCredentials.fromGeneratedSecret(username, - options.let(SnapshotCredentialsFromGeneratedPasswordOptions::unwrap)).let(SnapshotCredentials::wrap) + options.let(SnapshotCredentialsFromGeneratedPasswordOptions.Companion::unwrap)).let(SnapshotCredentials::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("705fa082196cb4dd2b1b4538f0bf65522295840612d62d4ebfd5fe38af402ef1") @@ -140,10 +140,10 @@ public abstract class SnapshotCredentials( SnapshotCredentialsFromGeneratedPasswordOptions(options)) public fun fromPassword(password: SecretValue): SnapshotCredentials = - software.amazon.awscdk.services.rds.SnapshotCredentials.fromPassword(password.let(SecretValue::unwrap)).let(SnapshotCredentials::wrap) + software.amazon.awscdk.services.rds.SnapshotCredentials.fromPassword(password.let(SecretValue.Companion::unwrap)).let(SnapshotCredentials::wrap) public fun fromSecret(secret: ISecret): SnapshotCredentials = - software.amazon.awscdk.services.rds.SnapshotCredentials.fromSecret(secret.let(ISecret::unwrap)).let(SnapshotCredentials::wrap) + software.amazon.awscdk.services.rds.SnapshotCredentials.fromSecret(secret.let(ISecret.Companion::unwrap)).let(SnapshotCredentials::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.rds.SnapshotCredentials): SnapshotCredentials = CdkObjectWrappers.wrap(cdkObject) as? SnapshotCredentials ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentialsFromGeneratedPasswordOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentialsFromGeneratedPasswordOptions.kt index b009a9ad13..f5e04754a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentialsFromGeneratedPasswordOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SnapshotCredentialsFromGeneratedPasswordOptions.kt @@ -94,7 +94,7 @@ public interface SnapshotCredentialsFromGeneratedPasswordOptions { * @param encryptionKey KMS encryption key to encrypt the generated secret. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public interface SnapshotCredentialsFromGeneratedPasswordOptions { * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEeInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEeInstanceEngineProps.kt index 555abc96ac..73787d1d0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEeInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEeInstanceEngineProps.kt @@ -20,6 +20,7 @@ import kotlin.Unit * .engine(DatabaseInstanceEngine.sqlServerEe(SqlServerEeInstanceEngineProps.builder() * .version(SqlServerEngineVersion.VER_11) * .build())) + * .name("my-parameter-group") * .parameters(Map.of( * "locks", "100")) * .build(); @@ -56,7 +57,7 @@ public interface SqlServerEeInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: SqlServerEngineVersion) { - cdkBuilder.version(version.let(SqlServerEngineVersion::unwrap)) + cdkBuilder.version(version.let(SqlServerEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.SqlServerEeInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEngineVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEngineVersion.kt index 0db3b0aeba..7518beb0e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEngineVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerEngineVersion.kt @@ -18,6 +18,7 @@ import kotlin.String * .engine(DatabaseInstanceEngine.sqlServerEe(SqlServerEeInstanceEngineProps.builder() * .version(SqlServerEngineVersion.VER_11) * .build())) + * .name("my-parameter-group") * .parameters(Map.of( * "locks", "100")) * .build(); diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerExInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerExInstanceEngineProps.kt index 6400d94071..8ca0d845af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerExInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerExInstanceEngineProps.kt @@ -51,7 +51,7 @@ public interface SqlServerExInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: SqlServerEngineVersion) { - cdkBuilder.version(version.let(SqlServerEngineVersion::unwrap)) + cdkBuilder.version(version.let(SqlServerEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.SqlServerExInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerSeInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerSeInstanceEngineProps.kt index c075ca61f5..2fb63bb791 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerSeInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerSeInstanceEngineProps.kt @@ -51,7 +51,7 @@ public interface SqlServerSeInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: SqlServerEngineVersion) { - cdkBuilder.version(version.let(SqlServerEngineVersion::unwrap)) + cdkBuilder.version(version.let(SqlServerEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.SqlServerSeInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerWebInstanceEngineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerWebInstanceEngineProps.kt index f0210ce22f..d7eaa52e1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerWebInstanceEngineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SqlServerWebInstanceEngineProps.kt @@ -51,7 +51,7 @@ public interface SqlServerWebInstanceEngineProps { * @param version The exact version of the engine to use. */ override fun version(version: SqlServerEngineVersion) { - cdkBuilder.version(version.let(SqlServerEngineVersion::unwrap)) + cdkBuilder.version(version.let(SqlServerEngineVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.rds.SqlServerWebInstanceEngineProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroup.kt index a920508dd3..6a33fd8ca9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroup.kt @@ -52,8 +52,8 @@ public open class SubnetGroup( id: String, props: SubnetGroupProps, ) : - this(software.amazon.awscdk.services.rds.SubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.rds.SubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -154,7 +154,7 @@ public open class SubnetGroup( * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class SubnetGroup( * @param vpc The VPC to place the subnet group in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class SubnetGroup( * @param vpcSubnets Which subnets within the VPC to associate with this group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class SubnetGroup( id: String, subnetGroupName: String, ): ISubnetGroup = - software.amazon.awscdk.services.rds.SubnetGroup.fromSubnetGroupName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.rds.SubnetGroup.fromSubnetGroupName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, subnetGroupName).let(ISubnetGroup::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroupProps.kt index 12a2bf3e2c..151166a17b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rds/SubnetGroupProps.kt @@ -133,7 +133,7 @@ public interface SubnetGroupProps { * stack or replaced during an update. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public interface SubnetGroupProps { * @param vpc The VPC to place the subnet group in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets Which subnets within the VPC to associate with this group. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnCluster.kt index 399e9ca9d6..9d3da0641b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnCluster.kt @@ -115,8 +115,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.redshift.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -145,7 +145,7 @@ public open class CfnCluster( * Redshift engine that is running on the cluster. */ public open fun allowVersionUpgrade(`value`: IResolvable) { - unwrap(this).setAllowVersionUpgrade(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowVersionUpgrade(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnCluster( * the cluster is created. */ public open fun availabilityZoneRelocation(`value`: IResolvable) { - unwrap(this).setAvailabilityZoneRelocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setAvailabilityZoneRelocation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public open class CfnCluster( * A boolean value indicating whether the resize operation is using the classic resize process. */ public open fun classic(`value`: IResolvable) { - unwrap(this).setClassic(`value`.let(IResolvable::unwrap)) + unwrap(this).setClassic(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class CfnCluster( * A Boolean indicating whether to enable the deferred maintenance window. */ public open fun deferMaintenance(`value`: IResolvable) { - unwrap(this).setDeferMaintenance(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeferMaintenance(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnCluster( * If `true` , the data in the cluster is encrypted at rest. */ public open fun encrypted(`value`: IResolvable) { - unwrap(this).setEncrypted(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncrypted(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -479,14 +479,14 @@ public open class CfnCluster( * The connection endpoint. */ public open fun endpoint(`value`: IResolvable) { - unwrap(this).setEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * The connection endpoint. */ public open fun endpoint(`value`: EndpointProperty) { - unwrap(this).setEndpoint(`value`.let(EndpointProperty::unwrap)) + unwrap(this).setEndpoint(`value`.let(EndpointProperty.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnCluster( * An option that specifies whether to create the cluster with enhanced VPC routing enabled. */ public open fun enhancedVpcRouting(`value`: IResolvable) { - unwrap(this).setEnhancedVpcRouting(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnhancedVpcRouting(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class CfnCluster( * Amazon Redshift cluster. */ public open fun loggingProperties(`value`: IResolvable) { - unwrap(this).setLoggingProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnCluster( * Amazon Redshift cluster. */ public open fun loggingProperties(`value`: LoggingPropertiesProperty) { - unwrap(this).setLoggingProperties(`value`.let(LoggingPropertiesProperty::unwrap)) + unwrap(this).setLoggingProperties(`value`.let(LoggingPropertiesProperty.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class CfnCluster( * credentials. */ public open fun manageMasterPassword(`value`: IResolvable) { - unwrap(this).setManageMasterPassword(`value`.let(IResolvable::unwrap)) + unwrap(this).setManageMasterPassword(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -725,7 +725,7 @@ public open class CfnCluster( * Zones. */ public open fun multiAz(`value`: IResolvable) { - unwrap(this).setMultiAz(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiAz(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -817,7 +817,7 @@ public open class CfnCluster( * If `true` , the cluster can be accessed from a public network. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -860,7 +860,7 @@ public open class CfnCluster( * Rotates the encryption keys for a cluster. */ public open fun rotateEncryptionKey(`value`: IResolvable) { - unwrap(this).setRotateEncryptionKey(`value`.let(IResolvable::unwrap)) + unwrap(this).setRotateEncryptionKey(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -906,7 +906,7 @@ public open class CfnCluster( * instead of automated snapshots. */ public open fun snapshotCopyManual(`value`: IResolvable) { - unwrap(this).setSnapshotCopyManual(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnapshotCopyManual(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -951,7 +951,7 @@ public open class CfnCluster( * A list of tag instances. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -1925,7 +1925,7 @@ public open class CfnCluster( * maintenance window to the Amazon Redshift engine that is running on the cluster. */ override fun allowVersionUpgrade(allowVersionUpgrade: IResolvable) { - cdkBuilder.allowVersionUpgrade(allowVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowVersionUpgrade(allowVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -2005,7 +2005,7 @@ public open class CfnCluster( * cluster between Availability Zones after the cluster is created. */ override fun availabilityZoneRelocation(availabilityZoneRelocation: IResolvable) { - cdkBuilder.availabilityZoneRelocation(availabilityZoneRelocation.let(IResolvable::unwrap)) + cdkBuilder.availabilityZoneRelocation(availabilityZoneRelocation.let(IResolvable.Companion::unwrap)) } /** @@ -2042,7 +2042,7 @@ public open class CfnCluster( * resize process. */ override fun classic(classic: IResolvable) { - cdkBuilder.classic(classic.let(IResolvable::unwrap)) + cdkBuilder.classic(classic.let(IResolvable.Companion::unwrap)) } /** @@ -2204,7 +2204,7 @@ public open class CfnCluster( * window. */ override fun deferMaintenance(deferMaintenance: IResolvable) { - cdkBuilder.deferMaintenance(deferMaintenance.let(IResolvable::unwrap)) + cdkBuilder.deferMaintenance(deferMaintenance.let(IResolvable.Companion::unwrap)) } /** @@ -2293,7 +2293,7 @@ public open class CfnCluster( * @param encrypted If `true` , the data in the cluster is encrypted at rest. */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** @@ -2303,7 +2303,7 @@ public open class CfnCluster( * @param endpoint The connection endpoint. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** @@ -2313,7 +2313,7 @@ public open class CfnCluster( * @param endpoint The connection endpoint. */ override fun endpoint(endpoint: EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(EndpointProperty.Companion::unwrap)) } /** @@ -2364,7 +2364,7 @@ public open class CfnCluster( * enhanced VPC routing enabled. */ override fun enhancedVpcRouting(enhancedVpcRouting: IResolvable) { - cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable::unwrap)) + cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable.Companion::unwrap)) } /** @@ -2448,7 +2448,7 @@ public open class CfnCluster( * attempts, for the specified Amazon Redshift cluster. */ override fun loggingProperties(loggingProperties: IResolvable) { - cdkBuilder.loggingProperties(loggingProperties.let(IResolvable::unwrap)) + cdkBuilder.loggingProperties(loggingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -2460,7 +2460,7 @@ public open class CfnCluster( * attempts, for the specified Amazon Redshift cluster. */ override fun loggingProperties(loggingProperties: LoggingPropertiesProperty) { - cdkBuilder.loggingProperties(loggingProperties.let(LoggingPropertiesProperty::unwrap)) + cdkBuilder.loggingProperties(loggingProperties.let(LoggingPropertiesProperty.Companion::unwrap)) } /** @@ -2519,7 +2519,7 @@ public open class CfnCluster( * this cluster's admin credentials. */ override fun manageMasterPassword(manageMasterPassword: IResolvable) { - cdkBuilder.manageMasterPassword(manageMasterPassword.let(IResolvable::unwrap)) + cdkBuilder.manageMasterPassword(manageMasterPassword.let(IResolvable.Companion::unwrap)) } /** @@ -2620,7 +2620,7 @@ public open class CfnCluster( * Availability Zones. */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** @@ -2747,7 +2747,7 @@ public open class CfnCluster( * @param publiclyAccessible If `true` , the cluster can be accessed from a public network. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -2790,7 +2790,7 @@ public open class CfnCluster( * @param rotateEncryptionKey Rotates the encryption keys for a cluster. */ override fun rotateEncryptionKey(rotateEncryptionKey: IResolvable) { - cdkBuilder.rotateEncryptionKey(rotateEncryptionKey.let(IResolvable::unwrap)) + cdkBuilder.rotateEncryptionKey(rotateEncryptionKey.let(IResolvable.Companion::unwrap)) } /** @@ -2838,7 +2838,7 @@ public open class CfnCluster( * copied manual snapshots instead of automated snapshots. */ override fun snapshotCopyManual(snapshotCopyManual: IResolvable) { - cdkBuilder.snapshotCopyManual(snapshotCopyManual.let(IResolvable::unwrap)) + cdkBuilder.snapshotCopyManual(snapshotCopyManual.let(IResolvable.Companion::unwrap)) } /** @@ -2891,7 +2891,7 @@ public open class CfnCluster( * @param tags A list of tag instances. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroup.kt index 73c2abf439..5d61db13d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroup.kt @@ -55,8 +55,8 @@ public open class CfnClusterParameterGroup( id: String, props: CfnClusterParameterGroupProps, ) : - this(software.amazon.awscdk.services.redshift.CfnClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterParameterGroupProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnClusterParameterGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterParameterGroupProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnClusterParameterGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnClusterParameterGroup( * A maximum of 20 parameters can be modified in a single request. */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnClusterParameterGroup( * The list of tags for the cluster parameter group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnClusterParameterGroup( * modified in a single request. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public open class CfnClusterParameterGroup( * @param tags The list of tags for the cluster parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroupProps.kt index 77159b0e37..0b035656d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterParameterGroupProps.kt @@ -196,7 +196,7 @@ public interface CfnClusterParameterGroupProps { * the wlm_json_configuration parameter. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface CfnClusterParameterGroupProps { * @param tags The list of tags for the cluster parameter group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterProps.kt index 07233504b9..a082aec9c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterProps.kt @@ -1361,7 +1361,7 @@ public interface CfnClusterProps { * Default: `true` */ override fun allowVersionUpgrade(allowVersionUpgrade: IResolvable) { - cdkBuilder.allowVersionUpgrade(allowVersionUpgrade.let(IResolvable::unwrap)) + cdkBuilder.allowVersionUpgrade(allowVersionUpgrade.let(IResolvable.Companion::unwrap)) } /** @@ -1421,7 +1421,7 @@ public interface CfnClusterProps { * cluster between Availability Zones after the cluster is created. */ override fun availabilityZoneRelocation(availabilityZoneRelocation: IResolvable) { - cdkBuilder.availabilityZoneRelocation(availabilityZoneRelocation.let(IResolvable::unwrap)) + cdkBuilder.availabilityZoneRelocation(availabilityZoneRelocation.let(IResolvable.Companion::unwrap)) } /** @@ -1447,7 +1447,7 @@ public interface CfnClusterProps { * If you don't provide this parameter or set the value to `false` , the resize type is elastic. */ override fun classic(classic: IResolvable) { - cdkBuilder.classic(classic.let(IResolvable::unwrap)) + cdkBuilder.classic(classic.let(IResolvable.Companion::unwrap)) } /** @@ -1571,7 +1571,7 @@ public interface CfnClusterProps { * window. */ override fun deferMaintenance(deferMaintenance: IResolvable) { - cdkBuilder.deferMaintenance(deferMaintenance.let(IResolvable::unwrap)) + cdkBuilder.deferMaintenance(deferMaintenance.let(IResolvable.Companion::unwrap)) } /** @@ -1634,21 +1634,21 @@ public interface CfnClusterProps { * Default: false */ override fun encrypted(encrypted: IResolvable) { - cdkBuilder.encrypted(encrypted.let(IResolvable::unwrap)) + cdkBuilder.encrypted(encrypted.let(IResolvable.Companion::unwrap)) } /** * @param endpoint The connection endpoint. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** * @param endpoint The connection endpoint. */ override fun endpoint(endpoint: CfnCluster.EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(CfnCluster.EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(CfnCluster.EndpointProperty.Companion::unwrap)) } /** @@ -1688,7 +1688,7 @@ public interface CfnClusterProps { * Default: false */ override fun enhancedVpcRouting(enhancedVpcRouting: IResolvable) { - cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable::unwrap)) + cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable.Companion::unwrap)) } /** @@ -1746,7 +1746,7 @@ public interface CfnClusterProps { * attempts, for the specified Amazon Redshift cluster. */ override fun loggingProperties(loggingProperties: IResolvable) { - cdkBuilder.loggingProperties(loggingProperties.let(IResolvable::unwrap)) + cdkBuilder.loggingProperties(loggingProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1754,7 +1754,7 @@ public interface CfnClusterProps { * attempts, for the specified Amazon Redshift cluster. */ override fun loggingProperties(loggingProperties: CfnCluster.LoggingPropertiesProperty) { - cdkBuilder.loggingProperties(loggingProperties.let(CfnCluster.LoggingPropertiesProperty::unwrap)) + cdkBuilder.loggingProperties(loggingProperties.let(CfnCluster.LoggingPropertiesProperty.Companion::unwrap)) } /** @@ -1796,7 +1796,7 @@ public interface CfnClusterProps { * admin user account's password. */ override fun manageMasterPassword(manageMasterPassword: IResolvable) { - cdkBuilder.manageMasterPassword(manageMasterPassword.let(IResolvable::unwrap)) + cdkBuilder.manageMasterPassword(manageMasterPassword.let(IResolvable.Companion::unwrap)) } /** @@ -1870,7 +1870,7 @@ public interface CfnClusterProps { * The default is false. */ override fun multiAz(multiAz: IResolvable) { - cdkBuilder.multiAz(multiAz.let(IResolvable::unwrap)) + cdkBuilder.multiAz(multiAz.let(IResolvable.Companion::unwrap)) } /** @@ -1968,7 +1968,7 @@ public interface CfnClusterProps { * @param publiclyAccessible If `true` , the cluster can be accessed from a public network. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -1998,7 +1998,7 @@ public interface CfnClusterProps { * @param rotateEncryptionKey Rotates the encryption keys for a cluster. */ override fun rotateEncryptionKey(rotateEncryptionKey: IResolvable) { - cdkBuilder.rotateEncryptionKey(rotateEncryptionKey.let(IResolvable::unwrap)) + cdkBuilder.rotateEncryptionKey(rotateEncryptionKey.let(IResolvable.Companion::unwrap)) } /** @@ -2031,7 +2031,7 @@ public interface CfnClusterProps { * copied manual snapshots instead of automated snapshots. */ override fun snapshotCopyManual(snapshotCopyManual: IResolvable) { - cdkBuilder.snapshotCopyManual(snapshotCopyManual.let(IResolvable::unwrap)) + cdkBuilder.snapshotCopyManual(snapshotCopyManual.let(IResolvable.Companion::unwrap)) } /** @@ -2072,7 +2072,7 @@ public interface CfnClusterProps { * @param tags A list of tag instances. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroup.kt index ebe95bc7fd..cb93b9ecf3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroup.kt @@ -50,8 +50,8 @@ public open class CfnClusterSecurityGroup( id: String, props: CfnClusterSecurityGroupProps, ) : - this(software.amazon.awscdk.services.redshift.CfnClusterSecurityGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterSecurityGroupProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnClusterSecurityGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterSecurityGroupProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnClusterSecurityGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class CfnClusterSecurityGroup( * Specifies an arbitrary set of tags (key–value pairs) to associate with this security group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnClusterSecurityGroup( * security group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupIngress.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupIngress.kt index f4d0ee0cb7..05f81d71a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupIngress.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupIngress.kt @@ -59,8 +59,8 @@ public open class CfnClusterSecurityGroupIngress( id: String, props: CfnClusterSecurityGroupIngressProps, ) : - this(software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterSecurityGroupIngressProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterSecurityGroupIngressProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnClusterSecurityGroupIngress( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupProps.kt index 53e5ff6e71..a950b092b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSecurityGroupProps.kt @@ -92,7 +92,7 @@ public interface CfnClusterSecurityGroupProps { * Use tags to manage your resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroup.kt index bf9d869c02..54494f57b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroup.kt @@ -53,8 +53,8 @@ public open class CfnClusterSubnetGroup( id: String, props: CfnClusterSubnetGroupProps, ) : - this(software.amazon.awscdk.services.redshift.CfnClusterSubnetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterSubnetGroupProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnClusterSubnetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterSubnetGroupProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnClusterSubnetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnClusterSubnetGroup( * Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -236,7 +236,7 @@ public open class CfnClusterSubnetGroup( * subnet group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroupProps.kt index ca18b2bd92..ea297c5d8a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnClusterSubnetGroupProps.kt @@ -127,7 +127,7 @@ public interface CfnClusterSubnetGroupProps { * Use tags to manage your resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAccess.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAccess.kt index eec691fc0d..7256a805eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAccess.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAccess.kt @@ -47,8 +47,8 @@ public open class CfnEndpointAccess( id: String, props: CfnEndpointAccessProps, ) : - this(software.amazon.awscdk.services.redshift.CfnEndpointAccess(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointAccessProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnEndpointAccess(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointAccessProps.Companion::unwrap)) ) public constructor( @@ -137,7 +137,7 @@ public open class CfnEndpointAccess( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -595,7 +595,7 @@ public open class CfnEndpointAccess( * Also known as an interface endpoint. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorization.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorization.kt index aaa2e6bc16..dad457cbea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorization.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorization.kt @@ -46,8 +46,8 @@ public open class CfnEndpointAuthorization( id: String, props: CfnEndpointAuthorizationProps, ) : - this(software.amazon.awscdk.services.redshift.CfnEndpointAuthorization(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointAuthorizationProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnEndpointAuthorization(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointAuthorizationProps.Companion::unwrap)) ) public constructor( @@ -138,7 +138,7 @@ public open class CfnEndpointAuthorization( * Indicates whether to force the revoke action. */ public open fun force(`value`: IResolvable) { - unwrap(this).setForce(`value`.let(IResolvable::unwrap)) + unwrap(this).setForce(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnEndpointAuthorization( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnEndpointAuthorization( * @param force Indicates whether to force the revoke action. */ override fun force(force: IResolvable) { - cdkBuilder.force(force.let(IResolvable::unwrap)) + cdkBuilder.force(force.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorizationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorizationProps.kt index a15179f7dd..01235e91db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorizationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEndpointAuthorizationProps.kt @@ -143,7 +143,7 @@ public interface CfnEndpointAuthorizationProps { * also deleted. */ override fun force(force: IResolvable) { - cdkBuilder.force(force.let(IResolvable::unwrap)) + cdkBuilder.force(force.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscription.kt index eafbfdf15b..3bd17eccb8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscription.kt @@ -54,8 +54,8 @@ public open class CfnEventSubscription( id: String, props: CfnEventSubscriptionProps, ) : - this(software.amazon.awscdk.services.redshift.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEventSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnEventSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEventSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -123,7 +123,7 @@ public open class CfnEventSubscription( * A boolean value; */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnEventSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public open class CfnEventSubscription( * A list of tag instances. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnEventSubscription( * @param enabled A boolean value;. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnEventSubscription( * @param tags A list of tag instances. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscriptionProps.kt index cfd8b401e9..65cf565f48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnEventSubscriptionProps.kt @@ -256,7 +256,7 @@ public interface CfnEventSubscriptionProps { * not activate it. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface CfnEventSubscriptionProps { * @param tags A list of tag instances. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledAction.kt index b412c01e4b..b8ea09f7f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledAction.kt @@ -70,8 +70,8 @@ public open class CfnScheduledAction( id: String, props: CfnScheduledActionProps, ) : - this(software.amazon.awscdk.services.redshift.CfnScheduledAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduledActionProps::unwrap)) + this(software.amazon.awscdk.services.redshift.CfnScheduledAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduledActionProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnScheduledAction( * If true, the schedule is enabled. */ public open fun enable(`value`: IResolvable) { - unwrap(this).setEnable(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnable(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnScheduledAction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -203,14 +203,14 @@ public open class CfnScheduledAction( * A JSON format string of the Amazon Redshift API operation with input parameters. */ public open fun targetAction(`value`: IResolvable) { - unwrap(this).setTargetAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetAction(`value`.let(IResolvable.Companion::unwrap)) } /** * A JSON format string of the Amazon Redshift API operation with input parameters. */ public open fun targetAction(`value`: ScheduledActionTypeProperty) { - unwrap(this).setTargetAction(`value`.let(ScheduledActionTypeProperty::unwrap)) + unwrap(this).setTargetAction(`value`.let(ScheduledActionTypeProperty.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnScheduledAction( * @param enable If true, the schedule is enabled. */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnScheduledAction( * parameters. */ override fun targetAction(targetAction: IResolvable) { - cdkBuilder.targetAction(targetAction.let(IResolvable::unwrap)) + cdkBuilder.targetAction(targetAction.let(IResolvable.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class CfnScheduledAction( * parameters. */ override fun targetAction(targetAction: ScheduledActionTypeProperty) { - cdkBuilder.targetAction(targetAction.let(ScheduledActionTypeProperty::unwrap)) + cdkBuilder.targetAction(targetAction.let(ScheduledActionTypeProperty.Companion::unwrap)) } /** @@ -765,7 +765,7 @@ public open class CfnScheduledAction( * elastic. */ override fun classic(classic: IResolvable) { - cdkBuilder.classic(classic.let(IResolvable::unwrap)) + cdkBuilder.classic(classic.let(IResolvable.Companion::unwrap)) } /** @@ -1072,14 +1072,14 @@ public open class CfnScheduledAction( * @param pauseCluster An action that runs a `PauseCluster` API operation. */ override fun pauseCluster(pauseCluster: IResolvable) { - cdkBuilder.pauseCluster(pauseCluster.let(IResolvable::unwrap)) + cdkBuilder.pauseCluster(pauseCluster.let(IResolvable.Companion::unwrap)) } /** * @param pauseCluster An action that runs a `PauseCluster` API operation. */ override fun pauseCluster(pauseCluster: PauseClusterMessageProperty) { - cdkBuilder.pauseCluster(pauseCluster.let(PauseClusterMessageProperty::unwrap)) + cdkBuilder.pauseCluster(pauseCluster.let(PauseClusterMessageProperty.Companion::unwrap)) } /** @@ -1094,14 +1094,14 @@ public open class CfnScheduledAction( * @param resizeCluster An action that runs a `ResizeCluster` API operation. */ override fun resizeCluster(resizeCluster: IResolvable) { - cdkBuilder.resizeCluster(resizeCluster.let(IResolvable::unwrap)) + cdkBuilder.resizeCluster(resizeCluster.let(IResolvable.Companion::unwrap)) } /** * @param resizeCluster An action that runs a `ResizeCluster` API operation. */ override fun resizeCluster(resizeCluster: ResizeClusterMessageProperty) { - cdkBuilder.resizeCluster(resizeCluster.let(ResizeClusterMessageProperty::unwrap)) + cdkBuilder.resizeCluster(resizeCluster.let(ResizeClusterMessageProperty.Companion::unwrap)) } /** @@ -1116,14 +1116,14 @@ public open class CfnScheduledAction( * @param resumeCluster An action that runs a `ResumeCluster` API operation. */ override fun resumeCluster(resumeCluster: IResolvable) { - cdkBuilder.resumeCluster(resumeCluster.let(IResolvable::unwrap)) + cdkBuilder.resumeCluster(resumeCluster.let(IResolvable.Companion::unwrap)) } /** * @param resumeCluster An action that runs a `ResumeCluster` API operation. */ override fun resumeCluster(resumeCluster: ResumeClusterMessageProperty) { - cdkBuilder.resumeCluster(resumeCluster.let(ResumeClusterMessageProperty::unwrap)) + cdkBuilder.resumeCluster(resumeCluster.let(ResumeClusterMessageProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledActionProps.kt index 3a49a2572e..9b9db35771 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshift/CfnScheduledActionProps.kt @@ -255,7 +255,7 @@ public interface CfnScheduledActionProps { * scheduled action, see `ScheduledAction` . */ override fun enable(enable: IResolvable) { - cdkBuilder.enable(enable.let(IResolvable::unwrap)) + cdkBuilder.enable(enable.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface CfnScheduledActionProps { * ". */ override fun targetAction(targetAction: IResolvable) { - cdkBuilder.targetAction(targetAction.let(IResolvable::unwrap)) + cdkBuilder.targetAction(targetAction.let(IResolvable.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface CfnScheduledActionProps { * ". */ override fun targetAction(targetAction: CfnScheduledAction.ScheduledActionTypeProperty) { - cdkBuilder.targetAction(targetAction.let(CfnScheduledAction.ScheduledActionTypeProperty::unwrap)) + cdkBuilder.targetAction(targetAction.let(CfnScheduledAction.ScheduledActionTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespace.kt index 4296f237a8..da3c5292b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespace.kt @@ -70,8 +70,8 @@ public open class CfnNamespace( id: String, props: CfnNamespaceProps, ) : - this(software.amazon.awscdk.services.redshiftserverless.CfnNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.redshiftserverless.CfnNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNamespaceProps.Companion::unwrap)) ) public constructor( @@ -264,7 +264,7 @@ public open class CfnNamespace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnNamespace( * If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials. */ public open fun manageAdminPassword(`value`: IResolvable) { - unwrap(this).setManageAdminPassword(`value`.let(IResolvable::unwrap)) + unwrap(this).setManageAdminPassword(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnNamespace( * The snapshot copy configurations for the namespace. */ public open fun snapshotCopyConfigurations(`value`: IResolvable) { - unwrap(this).setSnapshotCopyConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnapshotCopyConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CfnNamespace( * The map of the key-value pairs used to tag the namespace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -775,7 +775,7 @@ public open class CfnNamespace( * namespace's admin credentials. */ override fun manageAdminPassword(manageAdminPassword: IResolvable) { - cdkBuilder.manageAdminPassword(manageAdminPassword.let(IResolvable::unwrap)) + cdkBuilder.manageAdminPassword(manageAdminPassword.let(IResolvable.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public open class CfnNamespace( * @param snapshotCopyConfigurations The snapshot copy configurations for the namespace. */ override fun snapshotCopyConfigurations(snapshotCopyConfigurations: IResolvable) { - cdkBuilder.snapshotCopyConfigurations(snapshotCopyConfigurations.let(IResolvable::unwrap)) + cdkBuilder.snapshotCopyConfigurations(snapshotCopyConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -850,7 +850,7 @@ public open class CfnNamespace( * @param tags The map of the key-value pairs used to tag the namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1351,6 +1351,9 @@ public open class CfnNamespace( } /** + * The object that you configure to copy snapshots from one namespace to a namespace in another + * AWS Region . + * * Example: * * ``` @@ -1370,16 +1373,22 @@ public open class CfnNamespace( */ public interface SnapshotCopyConfigurationProperty { /** + * The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-destinationkmskeyid) */ public fun destinationKmsKeyId(): String? = unwrap(this).getDestinationKmsKeyId() /** + * The destination AWS Region to copy snapshots to. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-destinationregion) */ public fun destinationRegion(): String /** + * The retention period of snapshots that are copied to the destination AWS Region . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-snapshotretentionperiod) */ public fun snapshotRetentionPeriod(): Number? = unwrap(this).getSnapshotRetentionPeriod() @@ -1390,17 +1399,19 @@ public open class CfnNamespace( @CdkDslMarker public interface Builder { /** - * @param destinationKmsKeyId the value to be set. + * @param destinationKmsKeyId The ID of the KMS key to use to encrypt your snapshots in the + * destination AWS Region . */ public fun destinationKmsKeyId(destinationKmsKeyId: String) /** - * @param destinationRegion the value to be set. + * @param destinationRegion The destination AWS Region to copy snapshots to. */ public fun destinationRegion(destinationRegion: String) /** - * @param snapshotRetentionPeriod the value to be set. + * @param snapshotRetentionPeriod The retention period of snapshots that are copied to the + * destination AWS Region . */ public fun snapshotRetentionPeriod(snapshotRetentionPeriod: Number) } @@ -1412,21 +1423,23 @@ public open class CfnNamespace( software.amazon.awscdk.services.redshiftserverless.CfnNamespace.SnapshotCopyConfigurationProperty.builder() /** - * @param destinationKmsKeyId the value to be set. + * @param destinationKmsKeyId The ID of the KMS key to use to encrypt your snapshots in the + * destination AWS Region . */ override fun destinationKmsKeyId(destinationKmsKeyId: String) { cdkBuilder.destinationKmsKeyId(destinationKmsKeyId) } /** - * @param destinationRegion the value to be set. + * @param destinationRegion The destination AWS Region to copy snapshots to. */ override fun destinationRegion(destinationRegion: String) { cdkBuilder.destinationRegion(destinationRegion) } /** - * @param snapshotRetentionPeriod the value to be set. + * @param snapshotRetentionPeriod The retention period of snapshots that are copied to the + * destination AWS Region . */ override fun snapshotRetentionPeriod(snapshotRetentionPeriod: Number) { cdkBuilder.snapshotRetentionPeriod(snapshotRetentionPeriod) @@ -1441,16 +1454,22 @@ public open class CfnNamespace( cdkObject: software.amazon.awscdk.services.redshiftserverless.CfnNamespace.SnapshotCopyConfigurationProperty, ) : CdkObject(cdkObject), SnapshotCopyConfigurationProperty { /** + * The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-destinationkmskeyid) */ override fun destinationKmsKeyId(): String? = unwrap(this).getDestinationKmsKeyId() /** + * The destination AWS Region to copy snapshots to. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-destinationregion) */ override fun destinationRegion(): String = unwrap(this).getDestinationRegion() /** + * The retention period of snapshots that are copied to the destination AWS Region . + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-snapshotcopyconfiguration.html#cfn-redshiftserverless-namespace-snapshotcopyconfiguration-snapshotretentionperiod) */ override fun snapshotRetentionPeriod(): Number? = unwrap(this).getSnapshotRetentionPeriod() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespaceProps.kt index b73772b155..16c5284c5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnNamespaceProps.kt @@ -432,7 +432,7 @@ public interface CfnNamespaceProps { * password. */ override fun manageAdminPassword(manageAdminPassword: IResolvable) { - cdkBuilder.manageAdminPassword(manageAdminPassword.let(IResolvable::unwrap)) + cdkBuilder.manageAdminPassword(manageAdminPassword.let(IResolvable.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public interface CfnNamespaceProps { * @param snapshotCopyConfigurations The snapshot copy configurations for the namespace. */ override fun snapshotCopyConfigurations(snapshotCopyConfigurations: IResolvable) { - cdkBuilder.snapshotCopyConfigurations(snapshotCopyConfigurations.let(IResolvable::unwrap)) + cdkBuilder.snapshotCopyConfigurations(snapshotCopyConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnNamespaceProps { * @param tags The map of the key-value pairs used to tag the namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroup.kt index 76e4174e21..34c58b26e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroup.kt @@ -63,8 +63,8 @@ public open class CfnWorkgroup( id: String, props: CfnWorkgroupProps, ) : - this(software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkgroupProps::unwrap)) + this(software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkgroupProps.Companion::unwrap)) ) public constructor( @@ -200,7 +200,7 @@ public open class CfnWorkgroup( * A list of parameters to set for finer control over a database. */ public open fun configParameters(`value`: IResolvable) { - unwrap(this).setConfigParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnWorkgroup( * forces Amazon Redshift Serverless to route traffic through your VPC. */ public open fun enhancedVpcRouting(`value`: IResolvable) { - unwrap(this).setEnhancedVpcRouting(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnhancedVpcRouting(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnWorkgroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnWorkgroup( * A value that specifies whether the workgroup can be accessible from a public network. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnWorkgroup( * The map of the key-value pairs used to tag the workgroup. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class CfnWorkgroup( * @param configParameters A list of parameters to set for finer control over a database. */ override fun configParameters(configParameters: IResolvable) { - cdkBuilder.configParameters(configParameters.let(IResolvable::unwrap)) + cdkBuilder.configParameters(configParameters.let(IResolvable.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class CfnWorkgroup( * cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. */ override fun enhancedVpcRouting(enhancedVpcRouting: IResolvable) { - cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable::unwrap)) + cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class CfnWorkgroup( * a public network. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public open class CfnWorkgroup( * @param tags The map of the key-value pairs used to tag the workgroup. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1008,7 +1008,7 @@ public open class CfnWorkgroup( * @param vpcEndpoints An array of `VpcEndpoint` objects. */ override fun vpcEndpoints(vpcEndpoints: IResolvable) { - cdkBuilder.vpcEndpoints(vpcEndpoints.let(IResolvable::unwrap)) + cdkBuilder.vpcEndpoints(vpcEndpoints.let(IResolvable.Companion::unwrap)) } /** @@ -1329,7 +1329,7 @@ public open class CfnWorkgroup( * Also known as an interface endpoint. */ override fun networkInterfaces(networkInterfaces: IResolvable) { - cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable::unwrap)) + cdkBuilder.networkInterfaces(networkInterfaces.let(IResolvable.Companion::unwrap)) } /** @@ -1469,9 +1469,10 @@ public open class CfnWorkgroup( * An array of parameters to set for advanced control over a database. * * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about query - * monitoring rules and available metrics, see [Query monitoring metrics for Amazon Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , `use_fips_ssl` + * , and query monitoring metrics that let you define performance boundaries. For more information + * about query monitoring rules and available metrics, see [Query monitoring metrics for Amazon + * Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . * @@ -1580,10 +1581,10 @@ public open class CfnWorkgroup( /** * @param configParameters An array of parameters to set for advanced control over a database. * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . */ @@ -1592,10 +1593,10 @@ public open class CfnWorkgroup( /** * @param configParameters An array of parameters to set for advanced control over a database. * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . */ @@ -1604,10 +1605,10 @@ public open class CfnWorkgroup( /** * @param configParameters An array of parameters to set for advanced control over a database. * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . */ @@ -1731,24 +1732,24 @@ public open class CfnWorkgroup( /** * @param configParameters An array of parameters to set for advanced control over a database. * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . */ override fun configParameters(configParameters: IResolvable) { - cdkBuilder.configParameters(configParameters.let(IResolvable::unwrap)) + cdkBuilder.configParameters(configParameters.let(IResolvable.Companion::unwrap)) } /** * @param configParameters An array of parameters to set for advanced control over a database. * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . */ @@ -1759,10 +1760,10 @@ public open class CfnWorkgroup( /** * @param configParameters An array of parameters to set for advanced control over a database. * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . */ @@ -1780,14 +1781,14 @@ public open class CfnWorkgroup( * @param endpoint The endpoint that is created from the workgroup. */ override fun endpoint(endpoint: IResolvable) { - cdkBuilder.endpoint(endpoint.let(IResolvable::unwrap)) + cdkBuilder.endpoint(endpoint.let(IResolvable.Companion::unwrap)) } /** * @param endpoint The endpoint that is created from the workgroup. */ override fun endpoint(endpoint: EndpointProperty) { - cdkBuilder.endpoint(endpoint.let(EndpointProperty::unwrap)) + cdkBuilder.endpoint(endpoint.let(EndpointProperty.Companion::unwrap)) } /** @@ -1813,7 +1814,7 @@ public open class CfnWorkgroup( * your VPC. */ override fun enhancedVpcRouting(enhancedVpcRouting: IResolvable) { - cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable::unwrap)) + cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable.Companion::unwrap)) } /** @@ -1845,7 +1846,7 @@ public open class CfnWorkgroup( * from a public network. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -1920,10 +1921,10 @@ public open class CfnWorkgroup( * An array of parameters to set for advanced control over a database. * * The options are `auto_mv` , `datestyle` , `enable_case_sensitive_identifier` , - * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , and query - * monitoring metrics that let you define performance boundaries. For more information about - * query monitoring rules and available metrics, see [Query monitoring metrics for Amazon - * Redshift + * `enable_user_activity_logging` , `query_group` , `search_path` , `require_ssl` , + * `use_fips_ssl` , and query monitoring metrics that let you define performance boundaries. For + * more information about query monitoring rules and available metrics, see [Query monitoring + * metrics for Amazon Redshift * Serverless](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) * . * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroupProps.kt index 8ec074ddad..7d32a6482b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/redshiftserverless/CfnWorkgroupProps.kt @@ -266,7 +266,7 @@ public interface CfnWorkgroupProps { * `search_path` , `max_query_execution_time` , and `require_ssl` . */ override fun configParameters(configParameters: IResolvable) { - cdkBuilder.configParameters(configParameters.let(IResolvable::unwrap)) + cdkBuilder.configParameters(configParameters.let(IResolvable.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface CfnWorkgroupProps { * cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. */ override fun enhancedVpcRouting(enhancedVpcRouting: IResolvable) { - cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable::unwrap)) + cdkBuilder.enhancedVpcRouting(enhancedVpcRouting.let(IResolvable.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public interface CfnWorkgroupProps { * a public network. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface CfnWorkgroupProps { * @param tags The map of the key-value pairs used to tag the workgroup. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplication.kt index a6129e903b..5393c233c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplication.kt @@ -70,8 +70,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.refactorspaces.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.refactorspaces.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -90,14 +90,14 @@ public open class CfnApplication( * The endpoint URL of the Amazon API Gateway proxy. */ public open fun apiGatewayProxy(`value`: IResolvable) { - unwrap(this).setApiGatewayProxy(`value`.let(IResolvable::unwrap)) + unwrap(this).setApiGatewayProxy(`value`.let(IResolvable.Companion::unwrap)) } /** * The endpoint URL of the Amazon API Gateway proxy. */ public open fun apiGatewayProxy(`value`: ApiGatewayProxyInputProperty) { - unwrap(this).setApiGatewayProxy(`value`.let(ApiGatewayProxyInputProperty::unwrap)) + unwrap(this).setApiGatewayProxy(`value`.let(ApiGatewayProxyInputProperty.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnApplication( * The tags assigned to the application. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class CfnApplication( * @param apiGatewayProxy The endpoint URL of the Amazon API Gateway proxy. */ override fun apiGatewayProxy(apiGatewayProxy: IResolvable) { - cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(IResolvable::unwrap)) + cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(IResolvable.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnApplication( * @param apiGatewayProxy The endpoint URL of the Amazon API Gateway proxy. */ override fun apiGatewayProxy(apiGatewayProxy: ApiGatewayProxyInputProperty) { - cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(ApiGatewayProxyInputProperty::unwrap)) + cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(ApiGatewayProxyInputProperty.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class CfnApplication( * @param tags The tags assigned to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplicationProps.kt index 267e3ca42b..86b64922cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnApplicationProps.kt @@ -147,14 +147,14 @@ public interface CfnApplicationProps { * @param apiGatewayProxy The endpoint URL of the Amazon API Gateway proxy. */ override fun apiGatewayProxy(apiGatewayProxy: IResolvable) { - cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(IResolvable::unwrap)) + cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(IResolvable.Companion::unwrap)) } /** * @param apiGatewayProxy The endpoint URL of the Amazon API Gateway proxy. */ override fun apiGatewayProxy(apiGatewayProxy: CfnApplication.ApiGatewayProxyInputProperty) { - cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(CfnApplication.ApiGatewayProxyInputProperty::unwrap)) + cdkBuilder.apiGatewayProxy(apiGatewayProxy.let(CfnApplication.ApiGatewayProxyInputProperty.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface CfnApplicationProps { * @param tags The tags assigned to the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironment.kt index ed048e57b8..926c19deeb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironment.kt @@ -59,8 +59,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.refactorspaces.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.refactorspaces.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnEnvironment( * The tags assigned to the environment. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnEnvironment( * @param tags The tags assigned to the environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironmentProps.kt index a081c66970..8da7c6b473 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnEnvironmentProps.kt @@ -123,7 +123,7 @@ public interface CfnEnvironmentProps { * @param tags The tags assigned to the environment. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRoute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRoute.kt index f525f5a97f..f41ba2bc4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRoute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRoute.kt @@ -142,8 +142,8 @@ public open class CfnRoute( id: String, props: CfnRouteProps, ) : - this(software.amazon.awscdk.services.refactorspaces.CfnRoute(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRouteProps::unwrap)) + this(software.amazon.awscdk.services.refactorspaces.CfnRoute(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRouteProps.Companion::unwrap)) ) public constructor( @@ -189,14 +189,14 @@ public open class CfnRoute( * Configuration for the default route type. */ public open fun defaultRoute(`value`: IResolvable) { - unwrap(this).setDefaultRoute(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultRoute(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for the default route type. */ public open fun defaultRoute(`value`: DefaultRouteInputProperty) { - unwrap(this).setDefaultRoute(`value`.let(DefaultRouteInputProperty::unwrap)) + unwrap(this).setDefaultRoute(`value`.let(DefaultRouteInputProperty.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnRoute( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class CfnRoute( * The tags assigned to the route. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -284,14 +284,14 @@ public open class CfnRoute( * The configuration for the URI path route type. */ public open fun uriPathRoute(`value`: IResolvable) { - unwrap(this).setUriPathRoute(`value`.let(IResolvable::unwrap)) + unwrap(this).setUriPathRoute(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for the URI path route type. */ public open fun uriPathRoute(`value`: UriPathRouteInputProperty) { - unwrap(this).setUriPathRoute(`value`.let(UriPathRouteInputProperty::unwrap)) + unwrap(this).setUriPathRoute(`value`.let(UriPathRouteInputProperty.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnRoute( * @param defaultRoute Configuration for the default route type. */ override fun defaultRoute(defaultRoute: IResolvable) { - cdkBuilder.defaultRoute(defaultRoute.let(IResolvable::unwrap)) + cdkBuilder.defaultRoute(defaultRoute.let(IResolvable.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public open class CfnRoute( * @param defaultRoute Configuration for the default route type. */ override fun defaultRoute(defaultRoute: DefaultRouteInputProperty) { - cdkBuilder.defaultRoute(defaultRoute.let(DefaultRouteInputProperty::unwrap)) + cdkBuilder.defaultRoute(defaultRoute.let(DefaultRouteInputProperty.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnRoute( * @param tags The tags assigned to the route. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public open class CfnRoute( * @param uriPathRoute The configuration for the URI path route type. */ override fun uriPathRoute(uriPathRoute: IResolvable) { - cdkBuilder.uriPathRoute(uriPathRoute.let(IResolvable::unwrap)) + cdkBuilder.uriPathRoute(uriPathRoute.let(IResolvable.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class CfnRoute( * @param uriPathRoute The configuration for the URI path route type. */ override fun uriPathRoute(uriPathRoute: UriPathRouteInputProperty) { - cdkBuilder.uriPathRoute(uriPathRoute.let(UriPathRouteInputProperty::unwrap)) + cdkBuilder.uriPathRoute(uriPathRoute.let(UriPathRouteInputProperty.Companion::unwrap)) } /** @@ -797,7 +797,7 @@ public open class CfnRoute( * service URL endpoint. */ override fun appendSourcePath(appendSourcePath: IResolvable) { - cdkBuilder.appendSourcePath(appendSourcePath.let(IResolvable::unwrap)) + cdkBuilder.appendSourcePath(appendSourcePath.let(IResolvable.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class CfnRoute( * forwarded to this route's service. */ override fun includeChildPaths(includeChildPaths: IResolvable) { - cdkBuilder.includeChildPaths(includeChildPaths.let(IResolvable::unwrap)) + cdkBuilder.includeChildPaths(includeChildPaths.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRouteProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRouteProps.kt index bace262e3e..c8e400276e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRouteProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnRouteProps.kt @@ -183,14 +183,14 @@ public interface CfnRouteProps { * @param defaultRoute Configuration for the default route type. */ override fun defaultRoute(defaultRoute: IResolvable) { - cdkBuilder.defaultRoute(defaultRoute.let(IResolvable::unwrap)) + cdkBuilder.defaultRoute(defaultRoute.let(IResolvable.Companion::unwrap)) } /** * @param defaultRoute Configuration for the default route type. */ override fun defaultRoute(defaultRoute: CfnRoute.DefaultRouteInputProperty) { - cdkBuilder.defaultRoute(defaultRoute.let(CfnRoute.DefaultRouteInputProperty::unwrap)) + cdkBuilder.defaultRoute(defaultRoute.let(CfnRoute.DefaultRouteInputProperty.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface CfnRouteProps { * @param tags The tags assigned to the route. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -238,14 +238,14 @@ public interface CfnRouteProps { * @param uriPathRoute The configuration for the URI path route type. */ override fun uriPathRoute(uriPathRoute: IResolvable) { - cdkBuilder.uriPathRoute(uriPathRoute.let(IResolvable::unwrap)) + cdkBuilder.uriPathRoute(uriPathRoute.let(IResolvable.Companion::unwrap)) } /** * @param uriPathRoute The configuration for the URI path route type. */ override fun uriPathRoute(uriPathRoute: CfnRoute.UriPathRouteInputProperty) { - cdkBuilder.uriPathRoute(uriPathRoute.let(CfnRoute.UriPathRouteInputProperty::unwrap)) + cdkBuilder.uriPathRoute(uriPathRoute.let(CfnRoute.UriPathRouteInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnService.kt index 42b7488bf8..5b1b30fa74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnService.kt @@ -72,8 +72,8 @@ public open class CfnService( id: String, props: CfnServiceProps, ) : - this(software.amazon.awscdk.services.refactorspaces.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceProps::unwrap)) + this(software.amazon.awscdk.services.refactorspaces.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,14 +159,14 @@ public open class CfnService( * A summary of the configuration for the AWS Lambda endpoint type. */ public open fun lambdaEndpoint(`value`: IResolvable) { - unwrap(this).setLambdaEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setLambdaEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * A summary of the configuration for the AWS Lambda endpoint type. */ public open fun lambdaEndpoint(`value`: LambdaEndpointInputProperty) { - unwrap(this).setLambdaEndpoint(`value`.let(LambdaEndpointInputProperty::unwrap)) + unwrap(this).setLambdaEndpoint(`value`.let(LambdaEndpointInputProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnService( * The tags assigned to the service. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -221,14 +221,14 @@ public open class CfnService( * The summary of the configuration for the URL endpoint type. */ public open fun urlEndpoint(`value`: IResolvable) { - unwrap(this).setUrlEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setUrlEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** * The summary of the configuration for the URL endpoint type. */ public open fun urlEndpoint(`value`: UrlEndpointInputProperty) { - unwrap(this).setUrlEndpoint(`value`.let(UrlEndpointInputProperty::unwrap)) + unwrap(this).setUrlEndpoint(`value`.let(UrlEndpointInputProperty.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CfnService( * @param lambdaEndpoint A summary of the configuration for the AWS Lambda endpoint type. */ override fun lambdaEndpoint(lambdaEndpoint: IResolvable) { - cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(IResolvable::unwrap)) + cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnService( * @param lambdaEndpoint A summary of the configuration for the AWS Lambda endpoint type. */ override fun lambdaEndpoint(lambdaEndpoint: LambdaEndpointInputProperty) { - cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(LambdaEndpointInputProperty::unwrap)) + cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(LambdaEndpointInputProperty.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class CfnService( * @param tags The tags assigned to the service. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnService( * @param urlEndpoint The summary of the configuration for the URL endpoint type. */ override fun urlEndpoint(urlEndpoint: IResolvable) { - cdkBuilder.urlEndpoint(urlEndpoint.let(IResolvable::unwrap)) + cdkBuilder.urlEndpoint(urlEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class CfnService( * @param urlEndpoint The summary of the configuration for the URL endpoint type. */ override fun urlEndpoint(urlEndpoint: UrlEndpointInputProperty) { - cdkBuilder.urlEndpoint(urlEndpoint.let(UrlEndpointInputProperty::unwrap)) + cdkBuilder.urlEndpoint(urlEndpoint.let(UrlEndpointInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnServiceProps.kt index d19cf2aca9..1f94914736 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/refactorspaces/CfnServiceProps.kt @@ -228,14 +228,14 @@ public interface CfnServiceProps { * @param lambdaEndpoint A summary of the configuration for the AWS Lambda endpoint type. */ override fun lambdaEndpoint(lambdaEndpoint: IResolvable) { - cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(IResolvable::unwrap)) + cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param lambdaEndpoint A summary of the configuration for the AWS Lambda endpoint type. */ override fun lambdaEndpoint(lambdaEndpoint: CfnService.LambdaEndpointInputProperty) { - cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(CfnService.LambdaEndpointInputProperty::unwrap)) + cdkBuilder.lambdaEndpoint(lambdaEndpoint.let(CfnService.LambdaEndpointInputProperty.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface CfnServiceProps { * @param tags The tags assigned to the service. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -270,14 +270,14 @@ public interface CfnServiceProps { * @param urlEndpoint The summary of the configuration for the URL endpoint type. */ override fun urlEndpoint(urlEndpoint: IResolvable) { - cdkBuilder.urlEndpoint(urlEndpoint.let(IResolvable::unwrap)) + cdkBuilder.urlEndpoint(urlEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param urlEndpoint The summary of the configuration for the URL endpoint type. */ override fun urlEndpoint(urlEndpoint: CfnService.UrlEndpointInputProperty) { - cdkBuilder.urlEndpoint(urlEndpoint.let(CfnService.UrlEndpointInputProperty::unwrap)) + cdkBuilder.urlEndpoint(urlEndpoint.let(CfnService.UrlEndpointInputProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollection.kt index 3dda311aee..a934d32134 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollection.kt @@ -47,8 +47,8 @@ public open class CfnCollection( id: String, props: CfnCollectionProps, ) : - this(software.amazon.awscdk.services.rekognition.CfnCollection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCollectionProps::unwrap)) + this(software.amazon.awscdk.services.rekognition.CfnCollection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCollectionProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnCollection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -99,7 +99,7 @@ public open class CfnCollection( * A set of tags (key-value pairs) that you want to attach to the collection. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnCollection( * @param tags A set of tags (key-value pairs) that you want to attach to the collection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollectionProps.kt index b99a32f18a..e711f1e64c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnCollectionProps.kt @@ -82,7 +82,7 @@ public interface CfnCollectionProps { * @param tags A set of tags (key-value pairs) that you want to attach to the collection. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnProject.kt index 4c60c91ecf..114d135a60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnProject.kt @@ -38,8 +38,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.rekognition.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.rekognition.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -60,7 +60,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessor.kt index 117e825ede..1a52dcebe7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessor.kt @@ -113,8 +113,8 @@ public open class CfnStreamProcessor( id: String, props: CfnStreamProcessorProps, ) : - this(software.amazon.awscdk.services.rekognition.CfnStreamProcessor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStreamProcessorProps::unwrap)) + this(software.amazon.awscdk.services.rekognition.CfnStreamProcessor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStreamProcessorProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CfnStreamProcessor( * List of BoundingBox objects, each of which denotes a region of interest on screen. */ public open fun boundingBoxRegionsOfInterest(`value`: IResolvable) { - unwrap(this).setBoundingBoxRegionsOfInterest(`value`.let(IResolvable::unwrap)) + unwrap(this).setBoundingBoxRegionsOfInterest(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -174,14 +174,14 @@ public open class CfnStreamProcessor( * Connected home settings to use on a streaming video. */ public open fun connectedHomeSettings(`value`: IResolvable) { - unwrap(this).setConnectedHomeSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setConnectedHomeSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Connected home settings to use on a streaming video. */ public open fun connectedHomeSettings(`value`: ConnectedHomeSettingsProperty) { - unwrap(this).setConnectedHomeSettings(`value`.let(ConnectedHomeSettingsProperty::unwrap)) + unwrap(this).setConnectedHomeSettings(`value`.let(ConnectedHomeSettingsProperty.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public open class CfnStreamProcessor( * Allows you to opt in or opt out to share data with Rekognition to improve model performance. */ public open fun dataSharingPreference(`value`: IResolvable) { - unwrap(this).setDataSharingPreference(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataSharingPreference(`value`.let(IResolvable.Companion::unwrap)) } /** * Allows you to opt in or opt out to share data with Rekognition to improve model performance. */ public open fun dataSharingPreference(`value`: DataSharingPreferenceProperty) { - unwrap(this).setDataSharingPreference(`value`.let(DataSharingPreferenceProperty::unwrap)) + unwrap(this).setDataSharingPreference(`value`.let(DataSharingPreferenceProperty.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnStreamProcessor( * Rekognition stream processor. */ public open fun faceSearchSettings(`value`: IResolvable) { - unwrap(this).setFaceSearchSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setFaceSearchSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnStreamProcessor( * Rekognition stream processor. */ public open fun faceSearchSettings(`value`: FaceSearchSettingsProperty) { - unwrap(this).setFaceSearchSettings(`value`.let(FaceSearchSettingsProperty::unwrap)) + unwrap(this).setFaceSearchSettings(`value`.let(FaceSearchSettingsProperty.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnStreamProcessor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -268,14 +268,14 @@ public open class CfnStreamProcessor( * Amazon Rekognition's Video Stream Processor takes a Kinesis video stream as input. */ public open fun kinesisDataStream(`value`: IResolvable) { - unwrap(this).setKinesisDataStream(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisDataStream(`value`.let(IResolvable.Companion::unwrap)) } /** * Amazon Rekognition's Video Stream Processor takes a Kinesis video stream as input. */ public open fun kinesisDataStream(`value`: KinesisDataStreamProperty) { - unwrap(this).setKinesisDataStream(`value`.let(KinesisDataStreamProperty::unwrap)) + unwrap(this).setKinesisDataStream(`value`.let(KinesisDataStreamProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnStreamProcessor( * Rekognition Video stream processor. */ public open fun kinesisVideoStream(`value`: IResolvable) { - unwrap(this).setKinesisVideoStream(`value`.let(IResolvable::unwrap)) + unwrap(this).setKinesisVideoStream(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnStreamProcessor( * Rekognition Video stream processor. */ public open fun kinesisVideoStream(`value`: KinesisVideoStreamProperty) { - unwrap(this).setKinesisVideoStream(`value`.let(KinesisVideoStreamProperty::unwrap)) + unwrap(this).setKinesisVideoStream(`value`.let(KinesisVideoStreamProperty.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnStreamProcessor( * detection results and completion status of a video analysis operation. */ public open fun notificationChannel(`value`: IResolvable) { - unwrap(this).setNotificationChannel(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationChannel(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnStreamProcessor( * detection results and completion status of a video analysis operation. */ public open fun notificationChannel(`value`: NotificationChannelProperty) { - unwrap(this).setNotificationChannel(`value`.let(NotificationChannelProperty::unwrap)) + unwrap(this).setNotificationChannel(`value`.let(NotificationChannelProperty.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CfnStreamProcessor( * results of a video analysis operation. */ public open fun s3Destination(`value`: IResolvable) { - unwrap(this).setS3Destination(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3Destination(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnStreamProcessor( * results of a video analysis operation. */ public open fun s3Destination(`value`: S3DestinationProperty) { - unwrap(this).setS3Destination(`value`.let(S3DestinationProperty::unwrap)) + unwrap(this).setS3Destination(`value`.let(S3DestinationProperty.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnStreamProcessor( * A set of tags (key-value pairs) that you want to attach to the stream processor. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -953,7 +953,7 @@ public open class CfnStreamProcessor( * region of interest on screen. */ override fun boundingBoxRegionsOfInterest(boundingBoxRegionsOfInterest: IResolvable) { - cdkBuilder.boundingBoxRegionsOfInterest(boundingBoxRegionsOfInterest.let(IResolvable::unwrap)) + cdkBuilder.boundingBoxRegionsOfInterest(boundingBoxRegionsOfInterest.let(IResolvable.Companion::unwrap)) } /** @@ -999,7 +999,7 @@ public open class CfnStreamProcessor( * @param connectedHomeSettings Connected home settings to use on a streaming video. */ override fun connectedHomeSettings(connectedHomeSettings: IResolvable) { - cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(IResolvable::unwrap)) + cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1016,7 +1016,7 @@ public open class CfnStreamProcessor( * @param connectedHomeSettings Connected home settings to use on a streaming video. */ override fun connectedHomeSettings(connectedHomeSettings: ConnectedHomeSettingsProperty) { - cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(ConnectedHomeSettingsProperty::unwrap)) + cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(ConnectedHomeSettingsProperty.Companion::unwrap)) } /** @@ -1052,7 +1052,7 @@ public open class CfnStreamProcessor( * to improve model performance. */ override fun dataSharingPreference(dataSharingPreference: IResolvable) { - cdkBuilder.dataSharingPreference(dataSharingPreference.let(IResolvable::unwrap)) + cdkBuilder.dataSharingPreference(dataSharingPreference.let(IResolvable.Companion::unwrap)) } /** @@ -1069,7 +1069,7 @@ public open class CfnStreamProcessor( * to improve model performance. */ override fun dataSharingPreference(dataSharingPreference: DataSharingPreferenceProperty) { - cdkBuilder.dataSharingPreference(dataSharingPreference.let(DataSharingPreferenceProperty::unwrap)) + cdkBuilder.dataSharingPreference(dataSharingPreference.let(DataSharingPreferenceProperty.Companion::unwrap)) } /** @@ -1104,7 +1104,7 @@ public open class CfnStreamProcessor( * analyzed by an Amazon Rekognition stream processor. */ override fun faceSearchSettings(faceSearchSettings: IResolvable) { - cdkBuilder.faceSearchSettings(faceSearchSettings.let(IResolvable::unwrap)) + cdkBuilder.faceSearchSettings(faceSearchSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1120,7 +1120,7 @@ public open class CfnStreamProcessor( * analyzed by an Amazon Rekognition stream processor. */ override fun faceSearchSettings(faceSearchSettings: FaceSearchSettingsProperty) { - cdkBuilder.faceSearchSettings(faceSearchSettings.let(FaceSearchSettingsProperty::unwrap)) + cdkBuilder.faceSearchSettings(faceSearchSettings.let(FaceSearchSettingsProperty.Companion::unwrap)) } /** @@ -1154,7 +1154,7 @@ public open class CfnStreamProcessor( * stream as input. */ override fun kinesisDataStream(kinesisDataStream: IResolvable) { - cdkBuilder.kinesisDataStream(kinesisDataStream.let(IResolvable::unwrap)) + cdkBuilder.kinesisDataStream(kinesisDataStream.let(IResolvable.Companion::unwrap)) } /** @@ -1170,7 +1170,7 @@ public open class CfnStreamProcessor( * stream as input. */ override fun kinesisDataStream(kinesisDataStream: KinesisDataStreamProperty) { - cdkBuilder.kinesisDataStream(kinesisDataStream.let(KinesisDataStreamProperty::unwrap)) + cdkBuilder.kinesisDataStream(kinesisDataStream.let(KinesisDataStreamProperty.Companion::unwrap)) } /** @@ -1203,7 +1203,7 @@ public open class CfnStreamProcessor( * video for an Amazon Rekognition Video stream processor. */ override fun kinesisVideoStream(kinesisVideoStream: IResolvable) { - cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(IResolvable::unwrap)) + cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(IResolvable.Companion::unwrap)) } /** @@ -1219,7 +1219,7 @@ public open class CfnStreamProcessor( * video for an Amazon Rekognition Video stream processor. */ override fun kinesisVideoStream(kinesisVideoStream: KinesisVideoStreamProperty) { - cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(KinesisVideoStreamProperty::unwrap)) + cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(KinesisVideoStreamProperty.Companion::unwrap)) } /** @@ -1290,7 +1290,7 @@ public open class CfnStreamProcessor( * operation. */ override fun notificationChannel(notificationChannel: IResolvable) { - cdkBuilder.notificationChannel(notificationChannel.let(IResolvable::unwrap)) + cdkBuilder.notificationChannel(notificationChannel.let(IResolvable.Companion::unwrap)) } /** @@ -1310,7 +1310,7 @@ public open class CfnStreamProcessor( * operation. */ override fun notificationChannel(notificationChannel: NotificationChannelProperty) { - cdkBuilder.notificationChannel(notificationChannel.let(NotificationChannelProperty::unwrap)) + cdkBuilder.notificationChannel(notificationChannel.let(NotificationChannelProperty.Companion::unwrap)) } /** @@ -1389,7 +1389,7 @@ public open class CfnStreamProcessor( * detailed inference results of a video analysis operation. */ override fun s3Destination(s3Destination: IResolvable) { - cdkBuilder.s3Destination(s3Destination.let(IResolvable::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(IResolvable.Companion::unwrap)) } /** @@ -1405,7 +1405,7 @@ public open class CfnStreamProcessor( * detailed inference results of a video analysis operation. */ override fun s3Destination(s3Destination: S3DestinationProperty) { - cdkBuilder.s3Destination(s3Destination.let(S3DestinationProperty::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(S3DestinationProperty.Companion::unwrap)) } /** @@ -1436,7 +1436,7 @@ public open class CfnStreamProcessor( * @param tags A set of tags (key-value pairs) that you want to attach to the stream processor. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1877,7 +1877,7 @@ public open class CfnStreamProcessor( * policy. */ override fun optIn(optIn: IResolvable) { - cdkBuilder.optIn(optIn.let(IResolvable::unwrap)) + cdkBuilder.optIn(optIn.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessorProps.kt index 8b5efd626d..d9ed93e2ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rekognition/CfnStreamProcessorProps.kt @@ -575,7 +575,7 @@ public interface CfnStreamProcessorProps { * . */ override fun boundingBoxRegionsOfInterest(boundingBoxRegionsOfInterest: IResolvable) { - cdkBuilder.boundingBoxRegionsOfInterest(boundingBoxRegionsOfInterest.let(IResolvable::unwrap)) + cdkBuilder.boundingBoxRegionsOfInterest(boundingBoxRegionsOfInterest.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public interface CfnStreamProcessorProps { * . */ override fun connectedHomeSettings(connectedHomeSettings: IResolvable) { - cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(IResolvable::unwrap)) + cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(IResolvable.Companion::unwrap)) } /** @@ -623,7 +623,7 @@ public interface CfnStreamProcessorProps { */ override fun connectedHomeSettings(connectedHomeSettings: CfnStreamProcessor.ConnectedHomeSettingsProperty) { - cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(CfnStreamProcessor.ConnectedHomeSettingsProperty::unwrap)) + cdkBuilder.connectedHomeSettings(connectedHomeSettings.let(CfnStreamProcessor.ConnectedHomeSettingsProperty.Companion::unwrap)) } /** @@ -652,7 +652,7 @@ public interface CfnStreamProcessorProps { * . */ override fun dataSharingPreference(dataSharingPreference: IResolvable) { - cdkBuilder.dataSharingPreference(dataSharingPreference.let(IResolvable::unwrap)) + cdkBuilder.dataSharingPreference(dataSharingPreference.let(IResolvable.Companion::unwrap)) } /** @@ -666,7 +666,7 @@ public interface CfnStreamProcessorProps { */ override fun dataSharingPreference(dataSharingPreference: CfnStreamProcessor.DataSharingPreferenceProperty) { - cdkBuilder.dataSharingPreference(dataSharingPreference.let(CfnStreamProcessor.DataSharingPreferenceProperty::unwrap)) + cdkBuilder.dataSharingPreference(dataSharingPreference.let(CfnStreamProcessor.DataSharingPreferenceProperty.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public interface CfnStreamProcessorProps { * . */ override fun faceSearchSettings(faceSearchSettings: IResolvable) { - cdkBuilder.faceSearchSettings(faceSearchSettings.let(IResolvable::unwrap)) + cdkBuilder.faceSearchSettings(faceSearchSettings.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public interface CfnStreamProcessorProps { */ override fun faceSearchSettings(faceSearchSettings: CfnStreamProcessor.FaceSearchSettingsProperty) { - cdkBuilder.faceSearchSettings(faceSearchSettings.let(CfnStreamProcessor.FaceSearchSettingsProperty::unwrap)) + cdkBuilder.faceSearchSettings(faceSearchSettings.let(CfnStreamProcessor.FaceSearchSettingsProperty.Companion::unwrap)) } /** @@ -730,7 +730,7 @@ public interface CfnStreamProcessorProps { * . */ override fun kinesisDataStream(kinesisDataStream: IResolvable) { - cdkBuilder.kinesisDataStream(kinesisDataStream.let(IResolvable::unwrap)) + cdkBuilder.kinesisDataStream(kinesisDataStream.let(IResolvable.Companion::unwrap)) } /** @@ -743,7 +743,7 @@ public interface CfnStreamProcessorProps { */ override fun kinesisDataStream(kinesisDataStream: CfnStreamProcessor.KinesisDataStreamProperty) { - cdkBuilder.kinesisDataStream(kinesisDataStream.let(CfnStreamProcessor.KinesisDataStreamProperty::unwrap)) + cdkBuilder.kinesisDataStream(kinesisDataStream.let(CfnStreamProcessor.KinesisDataStreamProperty.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public interface CfnStreamProcessorProps { * . */ override fun kinesisVideoStream(kinesisVideoStream: IResolvable) { - cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(IResolvable::unwrap)) + cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(IResolvable.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public interface CfnStreamProcessorProps { */ override fun kinesisVideoStream(kinesisVideoStream: CfnStreamProcessor.KinesisVideoStreamProperty) { - cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(CfnStreamProcessor.KinesisVideoStreamProperty::unwrap)) + cdkBuilder.kinesisVideoStream(kinesisVideoStream.let(CfnStreamProcessor.KinesisVideoStreamProperty.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public interface CfnStreamProcessorProps { * . */ override fun notificationChannel(notificationChannel: IResolvable) { - cdkBuilder.notificationChannel(notificationChannel.let(IResolvable::unwrap)) + cdkBuilder.notificationChannel(notificationChannel.let(IResolvable.Companion::unwrap)) } /** @@ -846,7 +846,7 @@ public interface CfnStreamProcessorProps { */ override fun notificationChannel(notificationChannel: CfnStreamProcessor.NotificationChannelProperty) { - cdkBuilder.notificationChannel(notificationChannel.let(CfnStreamProcessor.NotificationChannelProperty::unwrap)) + cdkBuilder.notificationChannel(notificationChannel.let(CfnStreamProcessor.NotificationChannelProperty.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public interface CfnStreamProcessorProps { * . */ override fun s3Destination(s3Destination: IResolvable) { - cdkBuilder.s3Destination(s3Destination.let(IResolvable::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(IResolvable.Companion::unwrap)) } /** @@ -913,7 +913,7 @@ public interface CfnStreamProcessorProps { * . */ override fun s3Destination(s3Destination: CfnStreamProcessor.S3DestinationProperty) { - cdkBuilder.s3Destination(s3Destination.let(CfnStreamProcessor.S3DestinationProperty::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(CfnStreamProcessor.S3DestinationProperty.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public interface CfnStreamProcessorProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnApp.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnApp.kt index 131896669d..8895962a53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnApp.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnApp.kt @@ -92,8 +92,8 @@ public open class CfnApp( id: String, props: CfnAppProps, ) : - this(software.amazon.awscdk.services.resiliencehub.CfnApp(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppProps::unwrap)) + this(software.amazon.awscdk.services.resiliencehub.CfnApp(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppProps.Companion::unwrap)) ) public constructor( @@ -159,7 +159,7 @@ public open class CfnApp( * The list of events you would like to subscribe and get notification for. */ public open fun eventSubscriptions(`value`: IResolvable) { - unwrap(this).setEventSubscriptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventSubscriptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnApp( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnApp( * application, importing its resources, and running an assessment. */ public open fun permissionModel(`value`: IResolvable) { - unwrap(this).setPermissionModel(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissionModel(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -215,7 +215,7 @@ public open class CfnApp( * application, importing its resources, and running an assessment. */ public open fun permissionModel(`value`: PermissionModelProperty) { - unwrap(this).setPermissionModel(`value`.let(PermissionModelProperty::unwrap)) + unwrap(this).setPermissionModel(`value`.let(PermissionModelProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnApp( * An array of `ResourceMapping` objects. */ public open fun resourceMappings(`value`: IResolvable) { - unwrap(this).setResourceMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -924,7 +924,7 @@ public open class CfnApp( * for. */ override fun eventSubscriptions(eventSubscriptions: IResolvable) { - cdkBuilder.eventSubscriptions(eventSubscriptions.let(IResolvable::unwrap)) + cdkBuilder.eventSubscriptions(eventSubscriptions.let(IResolvable.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnApp( * while creating the application, importing its resources, and running an assessment. */ override fun permissionModel(permissionModel: IResolvable) { - cdkBuilder.permissionModel(permissionModel.let(IResolvable::unwrap)) + cdkBuilder.permissionModel(permissionModel.let(IResolvable.Companion::unwrap)) } /** @@ -985,7 +985,7 @@ public open class CfnApp( * while creating the application, importing its resources, and running an assessment. */ override fun permissionModel(permissionModel: PermissionModelProperty) { - cdkBuilder.permissionModel(permissionModel.let(PermissionModelProperty::unwrap)) + cdkBuilder.permissionModel(permissionModel.let(PermissionModelProperty.Companion::unwrap)) } /** @@ -1018,7 +1018,7 @@ public open class CfnApp( * @param resourceMappings An array of `ResourceMapping` objects. */ override fun resourceMappings(resourceMappings: IResolvable) { - cdkBuilder.resourceMappings(resourceMappings.let(IResolvable::unwrap)) + cdkBuilder.resourceMappings(resourceMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1938,14 +1938,14 @@ public open class CfnApp( * @param physicalResourceId Identifier of the physical resource. */ override fun physicalResourceId(physicalResourceId: IResolvable) { - cdkBuilder.physicalResourceId(physicalResourceId.let(IResolvable::unwrap)) + cdkBuilder.physicalResourceId(physicalResourceId.let(IResolvable.Companion::unwrap)) } /** * @param physicalResourceId Identifier of the physical resource. */ override fun physicalResourceId(physicalResourceId: PhysicalResourceIdProperty) { - cdkBuilder.physicalResourceId(physicalResourceId.let(PhysicalResourceIdProperty::unwrap)) + cdkBuilder.physicalResourceId(physicalResourceId.let(PhysicalResourceIdProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnAppProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnAppProps.kt index da20bf1820..64514b496b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnAppProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnAppProps.kt @@ -921,7 +921,7 @@ public interface CfnAppProps { * assessment failure* events. */ override fun eventSubscriptions(eventSubscriptions: IResolvable) { - cdkBuilder.eventSubscriptions(eventSubscriptions.let(IResolvable::unwrap)) + cdkBuilder.eventSubscriptions(eventSubscriptions.let(IResolvable.Companion::unwrap)) } /** @@ -955,7 +955,7 @@ public interface CfnAppProps { * while creating the application, importing its resources, and running an assessment. */ override fun permissionModel(permissionModel: IResolvable) { - cdkBuilder.permissionModel(permissionModel.let(IResolvable::unwrap)) + cdkBuilder.permissionModel(permissionModel.let(IResolvable.Companion::unwrap)) } /** @@ -963,7 +963,7 @@ public interface CfnAppProps { * while creating the application, importing its resources, and running an assessment. */ override fun permissionModel(permissionModel: CfnApp.PermissionModelProperty) { - cdkBuilder.permissionModel(permissionModel.let(CfnApp.PermissionModelProperty::unwrap)) + cdkBuilder.permissionModel(permissionModel.let(CfnApp.PermissionModelProperty.Companion::unwrap)) } /** @@ -987,7 +987,7 @@ public interface CfnAppProps { * @param resourceMappings An array of `ResourceMapping` objects. */ override fun resourceMappings(resourceMappings: IResolvable) { - cdkBuilder.resourceMappings(resourceMappings.let(IResolvable::unwrap)) + cdkBuilder.resourceMappings(resourceMappings.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicy.kt index f959d86f68..e7650fca0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicy.kt @@ -63,8 +63,8 @@ public open class CfnResiliencyPolicy( id: String, props: CfnResiliencyPolicyProps, ) : - this(software.amazon.awscdk.services.resiliencehub.CfnResiliencyPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResiliencyPolicyProps::unwrap)) + this(software.amazon.awscdk.services.resiliencehub.CfnResiliencyPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResiliencyPolicyProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnResiliencyPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnResiliencyPolicy( * The resiliency policy. */ public open fun policy(`value`: IResolvable) { - unwrap(this).setPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnResiliencyPolicy( * @param policy The resiliency policy. */ override fun policy(policy: IResolvable) { - cdkBuilder.policy(policy.let(IResolvable::unwrap)) + cdkBuilder.policy(policy.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicyProps.kt index cfe19b9b12..26b0bfba90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resiliencehub/CfnResiliencyPolicyProps.kt @@ -146,7 +146,7 @@ public interface CfnResiliencyPolicyProps { * @param policy The resiliency policy. */ override fun policy(policy: IResolvable) { - cdkBuilder.policy(policy.let(IResolvable::unwrap)) + cdkBuilder.policy(policy.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnDefaultViewAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnDefaultViewAssociation.kt index bf5bd77c16..f53f868d14 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnDefaultViewAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnDefaultViewAssociation.kt @@ -39,8 +39,8 @@ public open class CfnDefaultViewAssociation( id: String, props: CfnDefaultViewAssociationProps, ) : - this(software.amazon.awscdk.services.resourceexplorer2.CfnDefaultViewAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDefaultViewAssociationProps::unwrap)) + this(software.amazon.awscdk.services.resourceexplorer2.CfnDefaultViewAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDefaultViewAssociationProps.Companion::unwrap)) ) public constructor( @@ -67,7 +67,7 @@ public open class CfnDefaultViewAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnIndex.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnIndex.kt index b358939753..87b539c1d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnIndex.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnIndex.kt @@ -60,8 +60,8 @@ public open class CfnIndex( id: String, props: CfnIndexProps, ) : - this(software.amazon.awscdk.services.resourceexplorer2.CfnIndex(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIndexProps::unwrap)) + this(software.amazon.awscdk.services.resourceexplorer2.CfnIndex(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIndexProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnIndex( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnView.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnView.kt index dd9319f513..1203e0803e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnView.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnView.kt @@ -57,8 +57,8 @@ public open class CfnView( id: String, props: CfnViewProps, ) : - this(software.amazon.awscdk.services.resourceexplorer2.CfnView(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnViewProps::unwrap)) + this(software.amazon.awscdk.services.resourceexplorer2.CfnView(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnViewProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnView( * results that are returned for queries made using this view. */ public open fun filters(`value`: IResolvable) { - unwrap(this).setFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public open class CfnView( * results that are returned for queries made using this view. */ public open fun filters(`value`: FiltersProperty) { - unwrap(this).setFilters(`value`.let(FiltersProperty::unwrap)) + unwrap(this).setFilters(`value`.let(FiltersProperty.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnView( * A list of fields that provide additional information about the view. */ public open fun includedProperties(`value`: IResolvable) { - unwrap(this).setIncludedProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncludedProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnView( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public open class CfnView( * filter the results that are returned for queries made using this view. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnView( * filter the results that are returned for queries made using this view. */ override fun filters(filters: FiltersProperty) { - cdkBuilder.filters(filters.let(FiltersProperty::unwrap)) + cdkBuilder.filters(filters.let(FiltersProperty.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnView( * view. */ override fun includedProperties(includedProperties: IResolvable) { - cdkBuilder.includedProperties(includedProperties.let(IResolvable::unwrap)) + cdkBuilder.includedProperties(includedProperties.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnViewProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnViewProps.kt index 0a2491687e..75894a494b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnViewProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourceexplorer2/CfnViewProps.kt @@ -235,7 +235,7 @@ public interface CfnViewProps { * the letters `us` and are *not* tagged with a key `Stage` that has the value `prod` . */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface CfnViewProps { * the letters `us` and are *not* tagged with a key `Stage` that has the value `prod` . */ override fun filters(filters: CfnView.FiltersProperty) { - cdkBuilder.filters(filters.let(CfnView.FiltersProperty::unwrap)) + cdkBuilder.filters(filters.let(CfnView.FiltersProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnViewProps { * view. */ override fun includedProperties(includedProperties: IResolvable) { - cdkBuilder.includedProperties(includedProperties.let(IResolvable::unwrap)) + cdkBuilder.includedProperties(includedProperties.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroup.kt index 6f4d5df834..f619a91a4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroup.kt @@ -82,8 +82,8 @@ public open class CfnGroup( id: String, props: CfnGroupProps, ) : - this(software.amazon.awscdk.services.resourcegroups.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupProps::unwrap)) + this(software.amazon.awscdk.services.resourcegroups.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnGroup( * members of the resource group. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnGroup( * members of the associated resource group. */ public open fun resourceQuery(`value`: IResolvable) { - unwrap(this).setResourceQuery(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceQuery(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnGroup( * members of the associated resource group. */ public open fun resourceQuery(`value`: ResourceQueryProperty) { - unwrap(this).setResourceQuery(`value`.let(ResourceQueryProperty::unwrap)) + unwrap(this).setResourceQuery(`value`.let(ResourceQueryProperty.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public open class CfnGroup( * The tag key and value pairs that are attached to the resource group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class CfnGroup( * and in effect for the members of the resource group. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public open class CfnGroup( * AWS resources are members of the associated resource group. */ override fun resourceQuery(resourceQuery: IResolvable) { - cdkBuilder.resourceQuery(resourceQuery.let(IResolvable::unwrap)) + cdkBuilder.resourceQuery(resourceQuery.let(IResolvable.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class CfnGroup( * AWS resources are members of the associated resource group. */ override fun resourceQuery(resourceQuery: ResourceQueryProperty) { - cdkBuilder.resourceQuery(resourceQuery.let(ResourceQueryProperty::unwrap)) + cdkBuilder.resourceQuery(resourceQuery.let(ResourceQueryProperty.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnGroup( * @param tags The tag key and value pairs that are attached to the resource group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public open class CfnGroup( * in the *AWS Resource Groups User Guide* . */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** @@ -1204,7 +1204,7 @@ public open class CfnGroup( * list. */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -1450,7 +1450,7 @@ public open class CfnGroup( * CloudFormation stack that you're currently constructing. */ override fun query(query: IResolvable) { - cdkBuilder.query(query.let(IResolvable::unwrap)) + cdkBuilder.query(query.let(IResolvable.Companion::unwrap)) } /** @@ -1469,7 +1469,7 @@ public open class CfnGroup( * CloudFormation stack that you're currently constructing. */ override fun query(query: QueryProperty) { - cdkBuilder.query(query.let(QueryProperty::unwrap)) + cdkBuilder.query(query.let(QueryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroupProps.kt index a5ce2a34b9..fc9df339ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/resourcegroups/CfnGroupProps.kt @@ -284,7 +284,7 @@ public interface CfnGroupProps { * You can include either a `Configuration` or a `ResourceQuery` , but not both. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface CfnGroupProps { * of `Resources` , but not both. */ override fun resourceQuery(resourceQuery: IResolvable) { - cdkBuilder.resourceQuery(resourceQuery.let(IResolvable::unwrap)) + cdkBuilder.resourceQuery(resourceQuery.let(IResolvable.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface CfnGroupProps { * of `Resources` , but not both. */ override fun resourceQuery(resourceQuery: CfnGroup.ResourceQueryProperty) { - cdkBuilder.resourceQuery(resourceQuery.let(CfnGroup.ResourceQueryProperty::unwrap)) + cdkBuilder.resourceQuery(resourceQuery.let(CfnGroup.ResourceQueryProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnGroupProps { * @param tags The tag key and value pairs that are attached to the resource group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnFleet.kt index 95979be5fd..f54b0603ae 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnFleet.kt @@ -49,7 +49,7 @@ public open class CfnFleet( cdkObject: software.amazon.awscdk.services.robomaker.CfnFleet, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.robomaker.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.robomaker.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -58,8 +58,8 @@ public open class CfnFleet( id: String, props: CfnFleetProps, ) : - this(software.amazon.awscdk.services.robomaker.CfnFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFleetProps::unwrap)) + this(software.amazon.awscdk.services.robomaker.CfnFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFleetProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobot.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobot.kt index 2a1be0f6ce..904db71f1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobot.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobot.kt @@ -56,8 +56,8 @@ public open class CfnRobot( id: String, props: CfnRobotProps, ) : - this(software.amazon.awscdk.services.robomaker.CfnRobot(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRobotProps::unwrap)) + this(software.amazon.awscdk.services.robomaker.CfnRobot(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRobotProps.Companion::unwrap)) ) public constructor( @@ -114,7 +114,7 @@ public open class CfnRobot( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplication.kt index 232762b2f3..bfb2d1e66e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplication.kt @@ -60,8 +60,8 @@ public open class CfnRobotApplication( id: String, props: CfnRobotApplicationProps, ) : - this(software.amazon.awscdk.services.robomaker.CfnRobotApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRobotApplicationProps::unwrap)) + this(software.amazon.awscdk.services.robomaker.CfnRobotApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRobotApplicationProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnRobotApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -135,14 +135,14 @@ public open class CfnRobotApplication( * The robot software suite used by the robot application. */ public open fun robotSoftwareSuite(`value`: IResolvable) { - unwrap(this).setRobotSoftwareSuite(`value`.let(IResolvable::unwrap)) + unwrap(this).setRobotSoftwareSuite(`value`.let(IResolvable.Companion::unwrap)) } /** * The robot software suite used by the robot application. */ public open fun robotSoftwareSuite(`value`: RobotSoftwareSuiteProperty) { - unwrap(this).setRobotSoftwareSuite(`value`.let(RobotSoftwareSuiteProperty::unwrap)) + unwrap(this).setRobotSoftwareSuite(`value`.let(RobotSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnRobotApplication( * The sources of the robot application. */ public open fun sources(`value`: IResolvable) { - unwrap(this).setSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class CfnRobotApplication( * @param robotSoftwareSuite The robot software suite used by the robot application. */ override fun robotSoftwareSuite(robotSoftwareSuite: IResolvable) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnRobotApplication( * @param robotSoftwareSuite The robot software suite used by the robot application. */ override fun robotSoftwareSuite(robotSoftwareSuite: RobotSoftwareSuiteProperty) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(RobotSoftwareSuiteProperty::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(RobotSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnRobotApplication( * @param sources The sources of the robot application. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationProps.kt index e031b7fb0c..6d6869eff6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationProps.kt @@ -178,7 +178,7 @@ public interface CfnRobotApplicationProps { * @param robotSoftwareSuite The robot software suite used by the robot application. */ override fun robotSoftwareSuite(robotSoftwareSuite: IResolvable) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public interface CfnRobotApplicationProps { */ override fun robotSoftwareSuite(robotSoftwareSuite: CfnRobotApplication.RobotSoftwareSuiteProperty) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(CfnRobotApplication.RobotSoftwareSuiteProperty::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(CfnRobotApplication.RobotSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CfnRobotApplicationProps { * @param sources The sources of the robot application. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationVersion.kt index b633f8045a..0a1536d7a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnRobotApplicationVersion.kt @@ -38,8 +38,8 @@ public open class CfnRobotApplicationVersion( id: String, props: CfnRobotApplicationVersionProps, ) : - this(software.amazon.awscdk.services.robomaker.CfnRobotApplicationVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRobotApplicationVersionProps::unwrap)) + this(software.amazon.awscdk.services.robomaker.CfnRobotApplicationVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRobotApplicationVersionProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnRobotApplicationVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplication.kt index 1b7bdd652f..a087976266 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplication.kt @@ -70,8 +70,8 @@ public open class CfnSimulationApplication( id: String, props: CfnSimulationApplicationProps, ) : - this(software.amazon.awscdk.services.robomaker.CfnSimulationApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSimulationApplicationProps::unwrap)) + this(software.amazon.awscdk.services.robomaker.CfnSimulationApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSimulationApplicationProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnSimulationApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,14 +145,14 @@ public open class CfnSimulationApplication( * The rendering engine for the simulation application. */ public open fun renderingEngine(`value`: IResolvable) { - unwrap(this).setRenderingEngine(`value`.let(IResolvable::unwrap)) + unwrap(this).setRenderingEngine(`value`.let(IResolvable.Companion::unwrap)) } /** * The rendering engine for the simulation application. */ public open fun renderingEngine(`value`: RenderingEngineProperty) { - unwrap(this).setRenderingEngine(`value`.let(RenderingEngineProperty::unwrap)) + unwrap(this).setRenderingEngine(`value`.let(RenderingEngineProperty.Companion::unwrap)) } /** @@ -172,14 +172,14 @@ public open class CfnSimulationApplication( * The robot software suite used by the simulation application. */ public open fun robotSoftwareSuite(`value`: IResolvable) { - unwrap(this).setRobotSoftwareSuite(`value`.let(IResolvable::unwrap)) + unwrap(this).setRobotSoftwareSuite(`value`.let(IResolvable.Companion::unwrap)) } /** * The robot software suite used by the simulation application. */ public open fun robotSoftwareSuite(`value`: RobotSoftwareSuiteProperty) { - unwrap(this).setRobotSoftwareSuite(`value`.let(RobotSoftwareSuiteProperty::unwrap)) + unwrap(this).setRobotSoftwareSuite(`value`.let(RobotSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -199,14 +199,14 @@ public open class CfnSimulationApplication( * The simulation software suite used by the simulation application. */ public open fun simulationSoftwareSuite(`value`: IResolvable) { - unwrap(this).setSimulationSoftwareSuite(`value`.let(IResolvable::unwrap)) + unwrap(this).setSimulationSoftwareSuite(`value`.let(IResolvable.Companion::unwrap)) } /** * The simulation software suite used by the simulation application. */ public open fun simulationSoftwareSuite(`value`: SimulationSoftwareSuiteProperty) { - unwrap(this).setSimulationSoftwareSuite(`value`.let(SimulationSoftwareSuiteProperty::unwrap)) + unwrap(this).setSimulationSoftwareSuite(`value`.let(SimulationSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnSimulationApplication( * The sources of the simulation application. */ public open fun sources(`value`: IResolvable) { - unwrap(this).setSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnSimulationApplication( * @param renderingEngine The rendering engine for the simulation application. */ override fun renderingEngine(renderingEngine: IResolvable) { - cdkBuilder.renderingEngine(renderingEngine.let(IResolvable::unwrap)) + cdkBuilder.renderingEngine(renderingEngine.let(IResolvable.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnSimulationApplication( * @param renderingEngine The rendering engine for the simulation application. */ override fun renderingEngine(renderingEngine: RenderingEngineProperty) { - cdkBuilder.renderingEngine(renderingEngine.let(RenderingEngineProperty::unwrap)) + cdkBuilder.renderingEngine(renderingEngine.let(RenderingEngineProperty.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class CfnSimulationApplication( * @param robotSoftwareSuite The robot software suite used by the simulation application. */ override fun robotSoftwareSuite(robotSoftwareSuite: IResolvable) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnSimulationApplication( * @param robotSoftwareSuite The robot software suite used by the simulation application. */ override fun robotSoftwareSuite(robotSoftwareSuite: RobotSoftwareSuiteProperty) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(RobotSoftwareSuiteProperty::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(RobotSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnSimulationApplication( * application. */ override fun simulationSoftwareSuite(simulationSoftwareSuite: IResolvable) { - cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(IResolvable::unwrap)) + cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(IResolvable.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public open class CfnSimulationApplication( * application. */ override fun simulationSoftwareSuite(simulationSoftwareSuite: SimulationSoftwareSuiteProperty) { - cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(SimulationSoftwareSuiteProperty::unwrap)) + cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(SimulationSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnSimulationApplication( * @param sources The sources of the simulation application. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationProps.kt index 2331c1542c..d888b28150 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationProps.kt @@ -242,7 +242,7 @@ public interface CfnSimulationApplicationProps { * @param renderingEngine The rendering engine for the simulation application. */ override fun renderingEngine(renderingEngine: IResolvable) { - cdkBuilder.renderingEngine(renderingEngine.let(IResolvable::unwrap)) + cdkBuilder.renderingEngine(renderingEngine.let(IResolvable.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface CfnSimulationApplicationProps { */ override fun renderingEngine(renderingEngine: CfnSimulationApplication.RenderingEngineProperty) { - cdkBuilder.renderingEngine(renderingEngine.let(CfnSimulationApplication.RenderingEngineProperty::unwrap)) + cdkBuilder.renderingEngine(renderingEngine.let(CfnSimulationApplication.RenderingEngineProperty.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public interface CfnSimulationApplicationProps { * @param robotSoftwareSuite The robot software suite used by the simulation application. */ override fun robotSoftwareSuite(robotSoftwareSuite: IResolvable) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(IResolvable.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface CfnSimulationApplicationProps { */ override fun robotSoftwareSuite(robotSoftwareSuite: CfnSimulationApplication.RobotSoftwareSuiteProperty) { - cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(CfnSimulationApplication.RobotSoftwareSuiteProperty::unwrap)) + cdkBuilder.robotSoftwareSuite(robotSoftwareSuite.let(CfnSimulationApplication.RobotSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public interface CfnSimulationApplicationProps { * application. */ override fun simulationSoftwareSuite(simulationSoftwareSuite: IResolvable) { - cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(IResolvable::unwrap)) + cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface CfnSimulationApplicationProps { */ override fun simulationSoftwareSuite(simulationSoftwareSuite: CfnSimulationApplication.SimulationSoftwareSuiteProperty) { - cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(CfnSimulationApplication.SimulationSoftwareSuiteProperty::unwrap)) + cdkBuilder.simulationSoftwareSuite(simulationSoftwareSuite.let(CfnSimulationApplication.SimulationSoftwareSuiteProperty.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface CfnSimulationApplicationProps { * @param sources The sources of the simulation application. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationVersion.kt index 3c33003fab..2f2f61202e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/robomaker/CfnSimulationApplicationVersion.kt @@ -39,8 +39,8 @@ public open class CfnSimulationApplicationVersion( id: String, props: CfnSimulationApplicationVersionProps, ) : - this(software.amazon.awscdk.services.robomaker.CfnSimulationApplicationVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSimulationApplicationVersionProps::unwrap)) + this(software.amazon.awscdk.services.robomaker.CfnSimulationApplicationVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSimulationApplicationVersionProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnSimulationApplicationVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRL.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRL.kt index 7cfc3fb2cd..97442e67fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRL.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRL.kt @@ -50,8 +50,8 @@ public open class CfnCRL( id: String, props: CfnCRLProps, ) : - this(software.amazon.awscdk.services.rolesanywhere.CfnCRL(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCRLProps::unwrap)) + this(software.amazon.awscdk.services.rolesanywhere.CfnCRL(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCRLProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnCRL( * */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public open class CfnCRL( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnCRL( * */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnCRL( * @param enabled */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnCRL( * @param tags */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRLProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRLProps.kt index 0b448601b2..fe259ea48e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRLProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnCRLProps.kt @@ -129,7 +129,7 @@ public interface CfnCRLProps { * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public interface CfnCRLProps { * @param tags the value to be set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfile.kt index 3645faa988..69aa0555cb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfile.kt @@ -54,8 +54,8 @@ public open class CfnProfile( id: String, props: CfnProfileProps, ) : - this(software.amazon.awscdk.services.rolesanywhere.CfnProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProfileProps::unwrap)) + this(software.amazon.awscdk.services.rolesanywhere.CfnProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfileProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnProfile( * The enabled status of the resource. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnProfile( * Specifies whether instance properties are required in CreateSession requests with this profile. */ public open fun requireInstanceProperties(`value`: IResolvable) { - unwrap(this).setRequireInstanceProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setRequireInstanceProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnProfile( * A list of Tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnProfile( * @param enabled The enabled status of the resource. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnProfile( * CreateSession requests with this profile. */ override fun requireInstanceProperties(requireInstanceProperties: IResolvable) { - cdkBuilder.requireInstanceProperties(requireInstanceProperties.let(IResolvable::unwrap)) + cdkBuilder.requireInstanceProperties(requireInstanceProperties.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnProfile( * @param tags A list of Tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfileProps.kt index f45b79c422..2f1243182b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnProfileProps.kt @@ -201,7 +201,7 @@ public interface CfnProfileProps { * @param enabled The enabled status of the resource. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -239,7 +239,7 @@ public interface CfnProfileProps { * CreateSession requests with this profile. */ override fun requireInstanceProperties(requireInstanceProperties: IResolvable) { - cdkBuilder.requireInstanceProperties(requireInstanceProperties.let(IResolvable::unwrap)) + cdkBuilder.requireInstanceProperties(requireInstanceProperties.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CfnProfileProps { * @param tags A list of Tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchor.kt index 6f55f31561..f9e5fcad1e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchor.kt @@ -66,8 +66,8 @@ public open class CfnTrustAnchor( id: String, props: CfnTrustAnchorProps, ) : - this(software.amazon.awscdk.services.rolesanywhere.CfnTrustAnchor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrustAnchorProps::unwrap)) + this(software.amazon.awscdk.services.rolesanywhere.CfnTrustAnchor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrustAnchorProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnTrustAnchor( * Indicates whether the trust anchor is enabled. */ public open fun enabled(`value`: IResolvable) { - unwrap(this).setEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnTrustAnchor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnTrustAnchor( * A list of notification settings to be associated to the trust anchor. */ public open fun notificationSettings(`value`: IResolvable) { - unwrap(this).setNotificationSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -161,14 +161,14 @@ public open class CfnTrustAnchor( * The trust anchor type and its related certificate data. */ public open fun source(`value`: IResolvable) { - unwrap(this).setSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSource(`value`.let(IResolvable.Companion::unwrap)) } /** * The trust anchor type and its related certificate data. */ public open fun source(`value`: SourceProperty) { - unwrap(this).setSource(`value`.let(SourceProperty::unwrap)) + unwrap(this).setSource(`value`.let(SourceProperty.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnTrustAnchor( * The tags to attach to the trust anchor. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnTrustAnchor( * @param enabled Indicates whether the trust anchor is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public open class CfnTrustAnchor( * anchor. */ override fun notificationSettings(notificationSettings: IResolvable) { - cdkBuilder.notificationSettings(notificationSettings.let(IResolvable::unwrap)) + cdkBuilder.notificationSettings(notificationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnTrustAnchor( * @param source The trust anchor type and its related certificate data. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnTrustAnchor( * @param source The trust anchor type and its related certificate data. */ override fun source(source: SourceProperty) { - cdkBuilder.source(source.let(SourceProperty::unwrap)) + cdkBuilder.source(source.let(SourceProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnTrustAnchor( * @param tags The tags to attach to the trust anchor. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnTrustAnchor( * @param enabled Indicates whether the notification setting is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -871,7 +871,7 @@ public open class CfnTrustAnchor( * on its type. */ override fun sourceData(sourceData: IResolvable) { - cdkBuilder.sourceData(sourceData.let(IResolvable::unwrap)) + cdkBuilder.sourceData(sourceData.let(IResolvable.Companion::unwrap)) } /** @@ -879,7 +879,7 @@ public open class CfnTrustAnchor( * on its type. */ override fun sourceData(sourceData: SourceDataProperty) { - cdkBuilder.sourceData(sourceData.let(SourceDataProperty::unwrap)) + cdkBuilder.sourceData(sourceData.let(SourceDataProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchorProps.kt index 30e395d2fc..3271f008ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rolesanywhere/CfnTrustAnchorProps.kt @@ -168,7 +168,7 @@ public interface CfnTrustAnchorProps { * @param enabled Indicates whether the trust anchor is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface CfnTrustAnchorProps { * anchor. */ override fun notificationSettings(notificationSettings: IResolvable) { - cdkBuilder.notificationSettings(notificationSettings.let(IResolvable::unwrap)) + cdkBuilder.notificationSettings(notificationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -205,14 +205,14 @@ public interface CfnTrustAnchorProps { * @param source The trust anchor type and its related certificate data. */ override fun source(source: IResolvable) { - cdkBuilder.source(source.let(IResolvable::unwrap)) + cdkBuilder.source(source.let(IResolvable.Companion::unwrap)) } /** * @param source The trust anchor type and its related certificate data. */ override fun source(source: CfnTrustAnchor.SourceProperty) { - cdkBuilder.source(source.let(CfnTrustAnchor.SourceProperty::unwrap)) + cdkBuilder.source(source.let(CfnTrustAnchor.SourceProperty.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface CfnTrustAnchorProps { * @param tags The tags to attach to the trust anchor. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecord.kt index a40c2dea6c..636b1a1d18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecord.kt @@ -8,6 +8,7 @@ import kotlin.Boolean import kotlin.Number import kotlin.String import kotlin.Unit +import kotlin.jvm.JvmName import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct import software.constructs.Construct as SoftwareConstructsConstruct @@ -34,8 +35,8 @@ public open class ARecord( id: String, props: ARecordProps, ) : - this(software.amazon.awscdk.services.route53.ARecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ARecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.ARecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ARecordProps.Companion::unwrap)) ) public constructor( @@ -242,7 +243,7 @@ public open class ARecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -321,7 +322,7 @@ public open class ARecord( * @param target The target. */ override fun target(target: RecordTarget) { - cdkBuilder.target(target.let(RecordTarget::unwrap)) + cdkBuilder.target(target.let(RecordTarget.Companion::unwrap)) } /** @@ -332,7 +333,7 @@ public open class ARecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -363,13 +364,29 @@ public open class ARecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.ARecord = cdkBuilder.build() } public companion object { + public fun fromARecordAttributes( + scope: CloudshiftdevConstructsConstruct, + id: String, + attrs: ARecordAttrs, + ): ARecord = + software.amazon.awscdk.services.route53.ARecord.fromARecordAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ARecordAttrs.Companion::unwrap)).let(ARecord::wrap) + + @kotlin.Suppress("INAPPLICABLE_JVM_NAME") + @JvmName("dfb74397583ea19fd99b28a04f32e76433a9ff9f1c6ae13b61258264ce797208") + public fun fromARecordAttributes( + scope: CloudshiftdevConstructsConstruct, + id: String, + attrs: ARecordAttrs.Builder.() -> Unit, + ): ARecord = fromARecordAttributes(scope, id, ARecordAttrs(attrs)) + public operator fun invoke( scope: CloudshiftdevConstructsConstruct, id: String, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordAttrs.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordAttrs.kt new file mode 100644 index 0000000000..6dfc58a688 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordAttrs.kt @@ -0,0 +1,387 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53 + +import io.cloudshiftdev.awscdk.Duration +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.Boolean +import kotlin.Number +import kotlin.String +import kotlin.Unit + +/** + * Construction properties to import existing ARecord as target. + * + * Example: + * + * ``` + * HostedZone myZone; + * String targetRecord = "existing.record.cdk.local"; + * ARecord record = ARecord.fromARecordAttributes(this, "A", ARecordAttrs.builder() + * .zone(myZone) + * .recordName("test") + * .targetDNS(targetRecord) + * .build()); + * ``` + */ +public interface ARecordAttrs : RecordSetOptions { + /** + * Existing A record DNS name to set RecordTarget. + */ + public fun targetDNS(): String + + /** + * A builder for [ARecordAttrs] + */ + @CdkDslMarker + public interface Builder { + /** + * @param comment A comment to add on the record. + */ + public fun comment(comment: String) + + /** + * @param deleteExisting Whether to delete the same record set in the hosted zone if it already + * exists (dangerous!). + * This allows to deploy a new record set while minimizing the downtime because the + * new record set will be created immediately after the existing one is deleted. It + * also avoids "manual" actions to delete existing record sets. + * + * + * **N.B.:** this feature is dangerous, use with caution! It can only be used safely when + * `deleteExisting` is set to `true` as soon as the resource is added to the stack. Changing + * an existing Record Set's `deleteExisting` property from `false -> true` after deployment + * will delete the record! + */ + public fun deleteExisting(deleteExisting: Boolean) + + /** + * @param geoLocation The geographical origin for this record to return DNS records based on the + * user's location. + */ + public fun geoLocation(geoLocation: GeoLocation) + + /** + * @param setIdentifier A string used to distinguish between different records with the same + * combination of DNS name and type. + * It can only be set when either weight or geoLocation is defined. + * + * This parameter must be between 1 and 128 characters in length. + */ + public fun identifier(setIdentifier: String) + + /** + * @param multiValueAnswer Whether to return multiple values, such as IP addresses for your web + * servers, in response to DNS queries. + */ + public fun multiValueAnswer(multiValueAnswer: Boolean) + + /** + * @param recordName The subdomain name for this record. This should be relative to the zone + * root name. + * For example, if you want to create a record for acme.example.com, specify + * "acme". + * + * You can also specify the fully qualified domain name which terminates with a + * ".". For example, "acme.example.com.". + */ + public fun recordName(recordName: String) + + /** + * @param region The Amazon EC2 Region where you created the resource that this resource record + * set refers to. + * The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, + * and is referred to by an IP address or a DNS domain name, depending on the record type. + * + * When Amazon Route 53 receives a DNS query for a domain name and type for which you have + * created latency resource record sets, + * Route 53 selects the latency resource record set that has the lowest latency between the end + * user and the associated Amazon EC2 Region. + * Route 53 then returns the value that is associated with the selected resource record set. + */ + public fun region(region: String) + + /** + * @param targetDns Existing A record DNS name to set RecordTarget. + */ + public fun targetDns(targetDns: String) + + /** + * @param ttl The resource record cache time to live (TTL). + */ + public fun ttl(ttl: Duration) + + /** + * @param weight Among resource record sets that have the same combination of DNS name and type, + * a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the + * current resource record set. + * Route 53 calculates the sum of the weights for the resource record sets that have the same + * combination of DNS name and type. + * Route 53 then responds to queries based on the ratio of a resource's weight to the total. + * + * This value can be a number between 0 and 255. + */ + public fun weight(weight: Number) + + /** + * @param zone The hosted zone in which to define the new record. + */ + public fun zone(zone: IHostedZone) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.route53.ARecordAttrs.Builder = + software.amazon.awscdk.services.route53.ARecordAttrs.builder() + + /** + * @param comment A comment to add on the record. + */ + override fun comment(comment: String) { + cdkBuilder.comment(comment) + } + + /** + * @param deleteExisting Whether to delete the same record set in the hosted zone if it already + * exists (dangerous!). + * This allows to deploy a new record set while minimizing the downtime because the + * new record set will be created immediately after the existing one is deleted. It + * also avoids "manual" actions to delete existing record sets. + * + * + * **N.B.:** this feature is dangerous, use with caution! It can only be used safely when + * `deleteExisting` is set to `true` as soon as the resource is added to the stack. Changing + * an existing Record Set's `deleteExisting` property from `false -> true` after deployment + * will delete the record! + */ + override fun deleteExisting(deleteExisting: Boolean) { + cdkBuilder.deleteExisting(deleteExisting) + } + + /** + * @param geoLocation The geographical origin for this record to return DNS records based on the + * user's location. + */ + override fun geoLocation(geoLocation: GeoLocation) { + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) + } + + /** + * @param setIdentifier A string used to distinguish between different records with the same + * combination of DNS name and type. + * It can only be set when either weight or geoLocation is defined. + * + * This parameter must be between 1 and 128 characters in length. + */ + override fun identifier(setIdentifier: String) { + cdkBuilder.setIdentifier(setIdentifier) + } + + /** + * @param multiValueAnswer Whether to return multiple values, such as IP addresses for your web + * servers, in response to DNS queries. + */ + override fun multiValueAnswer(multiValueAnswer: Boolean) { + cdkBuilder.multiValueAnswer(multiValueAnswer) + } + + /** + * @param recordName The subdomain name for this record. This should be relative to the zone + * root name. + * For example, if you want to create a record for acme.example.com, specify + * "acme". + * + * You can also specify the fully qualified domain name which terminates with a + * ".". For example, "acme.example.com.". + */ + override fun recordName(recordName: String) { + cdkBuilder.recordName(recordName) + } + + /** + * @param region The Amazon EC2 Region where you created the resource that this resource record + * set refers to. + * The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, + * and is referred to by an IP address or a DNS domain name, depending on the record type. + * + * When Amazon Route 53 receives a DNS query for a domain name and type for which you have + * created latency resource record sets, + * Route 53 selects the latency resource record set that has the lowest latency between the end + * user and the associated Amazon EC2 Region. + * Route 53 then returns the value that is associated with the selected resource record set. + */ + override fun region(region: String) { + cdkBuilder.region(region) + } + + /** + * @param targetDns Existing A record DNS name to set RecordTarget. + */ + override fun targetDns(targetDns: String) { + cdkBuilder.targetDns(targetDns) + } + + /** + * @param ttl The resource record cache time to live (TTL). + */ + override fun ttl(ttl: Duration) { + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) + } + + /** + * @param weight Among resource record sets that have the same combination of DNS name and type, + * a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the + * current resource record set. + * Route 53 calculates the sum of the weights for the resource record sets that have the same + * combination of DNS name and type. + * Route 53 then responds to queries based on the ratio of a resource's weight to the total. + * + * This value can be a number between 0 and 255. + */ + override fun weight(weight: Number) { + cdkBuilder.weight(weight) + } + + /** + * @param zone The hosted zone in which to define the new record. + */ + override fun zone(zone: IHostedZone) { + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) + } + + public fun build(): software.amazon.awscdk.services.route53.ARecordAttrs = cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.route53.ARecordAttrs, + ) : CdkObject(cdkObject), ARecordAttrs { + /** + * A comment to add on the record. + * + * Default: no comment + */ + override fun comment(): String? = unwrap(this).getComment() + + /** + * Whether to delete the same record set in the hosted zone if it already exists (dangerous!). + * + * This allows to deploy a new record set while minimizing the downtime because the + * new record set will be created immediately after the existing one is deleted. It + * also avoids "manual" actions to delete existing record sets. + * + * + * **N.B.:** this feature is dangerous, use with caution! It can only be used safely when + * `deleteExisting` is set to `true` as soon as the resource is added to the stack. Changing + * an existing Record Set's `deleteExisting` property from `false -> true` after deployment + * will delete the record! + * + * + * Default: false + */ + override fun deleteExisting(): Boolean? = unwrap(this).getDeleteExisting() + + /** + * The geographical origin for this record to return DNS records based on the user's location. + */ + override fun geoLocation(): GeoLocation? = unwrap(this).getGeoLocation()?.let(GeoLocation::wrap) + + /** + * Whether to return multiple values, such as IP addresses for your web servers, in response to + * DNS queries. + * + * Default: false + */ + override fun multiValueAnswer(): Boolean? = unwrap(this).getMultiValueAnswer() + + /** + * The subdomain name for this record. This should be relative to the zone root name. + * + * For example, if you want to create a record for acme.example.com, specify + * "acme". + * + * You can also specify the fully qualified domain name which terminates with a + * ".". For example, "acme.example.com.". + * + * Default: zone root + */ + override fun recordName(): String? = unwrap(this).getRecordName() + + /** + * The Amazon EC2 Region where you created the resource that this resource record set refers to. + * + * The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, + * and is referred to by an IP address or a DNS domain name, depending on the record type. + * + * When Amazon Route 53 receives a DNS query for a domain name and type for which you have + * created latency resource record sets, + * Route 53 selects the latency resource record set that has the lowest latency between the end + * user and the associated Amazon EC2 Region. + * Route 53 then returns the value that is associated with the selected resource record set. + * + * Default: - Do not set latency based routing + * + * [Documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-region) + */ + override fun region(): String? = unwrap(this).getRegion() + + /** + * A string used to distinguish between different records with the same combination of DNS name + * and type. + * + * It can only be set when either weight or geoLocation is defined. + * + * This parameter must be between 1 and 128 characters in length. + * + * Default: - Auto generated string + */ + override fun setIdentifier(): String? = unwrap(this).getSetIdentifier() + + /** + * Existing A record DNS name to set RecordTarget. + */ + override fun targetDNS(): String = unwrap(this).getTargetDNS() + + /** + * The resource record cache time to live (TTL). + * + * Default: Duration.minutes(30) + */ + override fun ttl(): Duration? = unwrap(this).getTtl()?.let(Duration::wrap) + + /** + * Among resource record sets that have the same combination of DNS name and type, a value that + * determines the proportion of DNS queries that Amazon Route 53 responds to using the current + * resource record set. + * + * Route 53 calculates the sum of the weights for the resource record sets that have the same + * combination of DNS name and type. + * Route 53 then responds to queries based on the ratio of a resource's weight to the total. + * + * This value can be a number between 0 and 255. + * + * Default: - Do not set weighted routing + * + * [Documentation](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-weighted.html) + */ + override fun weight(): Number? = unwrap(this).getWeight() + + /** + * The hosted zone in which to define the new record. + */ + override fun zone(): IHostedZone = unwrap(this).getZone().let(IHostedZone::wrap) + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): ARecordAttrs { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.route53.ARecordAttrs): ARecordAttrs + = CdkObjectWrappers.wrap(cdkObject) as? ARecordAttrs ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: ARecordAttrs): software.amazon.awscdk.services.route53.ARecordAttrs + = (wrapped as CdkObject).cdkObject as software.amazon.awscdk.services.route53.ARecordAttrs + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordProps.kt index 6d61fb87e4..e37de1c3ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ARecordProps.kt @@ -164,7 +164,7 @@ public interface ARecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -219,14 +219,14 @@ public interface ARecordProps : RecordSetOptions { * @param target The target. */ override fun target(target: RecordTarget) { - cdkBuilder.target(target.let(RecordTarget::unwrap)) + cdkBuilder.target(target.let(RecordTarget.Companion::unwrap)) } /** * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface ARecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.ARecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecord.kt index 9054777645..0200386fd6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecord.kt @@ -34,8 +34,8 @@ public open class AaaaRecord( id: String, props: AaaaRecordProps, ) : - this(software.amazon.awscdk.services.route53.AaaaRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AaaaRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.AaaaRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AaaaRecordProps.Companion::unwrap)) ) public constructor( @@ -242,7 +242,7 @@ public open class AaaaRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class AaaaRecord( * @param target The target. */ override fun target(target: RecordTarget) { - cdkBuilder.target(target.let(RecordTarget::unwrap)) + cdkBuilder.target(target.let(RecordTarget.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class AaaaRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class AaaaRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.AaaaRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecordProps.kt index 4fc284f88c..ec2189b524 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/AaaaRecordProps.kt @@ -164,7 +164,7 @@ public interface AaaaRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -219,14 +219,14 @@ public interface AaaaRecordProps : RecordSetOptions { * @param target The target. */ override fun target(target: RecordTarget) { - cdkBuilder.target(target.let(RecordTarget::unwrap)) + cdkBuilder.target(target.let(RecordTarget.Companion::unwrap)) } /** * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface AaaaRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.AaaaRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecord.kt index 3a7cb1b488..58335ea30c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecord.kt @@ -49,8 +49,8 @@ public open class CaaAmazonRecord( id: String, props: CaaAmazonRecordProps, ) : - this(software.amazon.awscdk.services.route53.CaaAmazonRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CaaAmazonRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.CaaAmazonRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CaaAmazonRecordProps.Companion::unwrap)) ) public constructor( @@ -250,7 +250,7 @@ public open class CaaAmazonRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class CaaAmazonRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CaaAmazonRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CaaAmazonRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecordProps.kt index ce833308df..158ab8183e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaAmazonRecordProps.kt @@ -166,7 +166,7 @@ public interface CaaAmazonRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CaaAmazonRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface CaaAmazonRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CaaAmazonRecordProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecord.kt index cea748c572..8a997c2fe1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecord.kt @@ -52,8 +52,8 @@ public open class CaaRecord( id: String, props: CaaRecordProps, ) : - this(software.amazon.awscdk.services.route53.CaaRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CaaRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.CaaRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CaaRecordProps.Companion::unwrap)) ) public constructor( @@ -267,7 +267,7 @@ public open class CaaRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CaaRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CaaRecord( * @param values The values. */ override fun values(values: List) { - cdkBuilder.values(values.map(CaaRecordValue::unwrap)) + cdkBuilder.values(values.map(CaaRecordValue.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class CaaRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CaaRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordProps.kt index f704f3084e..e25ee63cdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordProps.kt @@ -187,7 +187,7 @@ public interface CaaRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -242,14 +242,14 @@ public interface CaaRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** * @param values The values. */ override fun values(values: List) { - cdkBuilder.values(values.map(CaaRecordValue::unwrap)) + cdkBuilder.values(values.map(CaaRecordValue.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CaaRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CaaRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordValue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordValue.kt index 7bbbd1ef79..2acca49a45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordValue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CaaRecordValue.kt @@ -77,7 +77,7 @@ public interface CaaRecordValue { * @param tag The tag. */ override fun tag(tag: CaaTag) { - cdkBuilder.tag(tag.let(CaaTag::unwrap)) + cdkBuilder.tag(tag.let(CaaTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollection.kt index e00fd8ec60..fa73d02842 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollection.kt @@ -46,8 +46,8 @@ public open class CfnCidrCollection( id: String, props: CfnCidrCollectionProps, ) : - this(software.amazon.awscdk.services.route53.CfnCidrCollection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCidrCollectionProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnCidrCollection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCidrCollectionProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class CfnCidrCollection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public open class CfnCidrCollection( * A complex type that contains information about the list of CIDR locations. */ public open fun locations(`value`: IResolvable) { - unwrap(this).setLocations(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnCidrCollection( * @param locations A complex type that contains information about the list of CIDR locations. */ override fun locations(locations: IResolvable) { - cdkBuilder.locations(locations.let(IResolvable::unwrap)) + cdkBuilder.locations(locations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollectionProps.kt index 238ad6e215..fcaa56392c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnCidrCollectionProps.kt @@ -81,7 +81,7 @@ public interface CfnCidrCollectionProps { * @param locations A complex type that contains information about the list of CIDR locations. */ override fun locations(locations: IResolvable) { - cdkBuilder.locations(locations.let(IResolvable::unwrap)) + cdkBuilder.locations(locations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnDNSSEC.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnDNSSEC.kt index 28ba29e3b0..c35e623d54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnDNSSEC.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnDNSSEC.kt @@ -35,8 +35,8 @@ public open class CfnDNSSEC( id: String, props: CfnDNSSECProps, ) : - this(software.amazon.awscdk.services.route53.CfnDNSSEC(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDNSSECProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnDNSSEC(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDNSSECProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class CfnDNSSEC( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheck.kt index 04b654f15a..6cc0c1de3a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheck.kt @@ -105,8 +105,8 @@ public open class CfnHealthCheck( id: String, props: CfnHealthCheckProps, ) : - this(software.amazon.awscdk.services.route53.CfnHealthCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHealthCheckProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnHealthCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHealthCheckProps.Companion::unwrap)) ) public constructor( @@ -133,14 +133,14 @@ public open class CfnHealthCheck( * A complex type that contains detailed information about one health check. */ public open fun healthCheckConfig(`value`: IResolvable) { - unwrap(this).setHealthCheckConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheckConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A complex type that contains detailed information about one health check. */ public open fun healthCheckConfig(`value`: HealthCheckConfigProperty) { - unwrap(this).setHealthCheckConfig(`value`.let(HealthCheckConfigProperty::unwrap)) + unwrap(this).setHealthCheckConfig(`value`.let(HealthCheckConfigProperty.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnHealthCheck( * `AWS::Route53::HealthCheck` resource. */ public open fun healthCheckTags(`value`: IResolvable) { - unwrap(this).setHealthCheckTags(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheckTags(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnHealthCheck( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnHealthCheck( * check. */ override fun healthCheckConfig(healthCheckConfig: IResolvable) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnHealthCheck( * check. */ override fun healthCheckConfig(healthCheckConfig: HealthCheckConfigProperty) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(HealthCheckConfigProperty::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(HealthCheckConfigProperty.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class CfnHealthCheck( * associated with an `AWS::Route53::HealthCheck` resource. */ override fun healthCheckTags(healthCheckTags: IResolvable) { - cdkBuilder.healthCheckTags(healthCheckTags.let(IResolvable::unwrap)) + cdkBuilder.healthCheckTags(healthCheckTags.let(IResolvable.Companion::unwrap)) } /** @@ -1329,7 +1329,7 @@ public open class CfnHealthCheck( * healthy. */ override fun alarmIdentifier(alarmIdentifier: IResolvable) { - cdkBuilder.alarmIdentifier(alarmIdentifier.let(IResolvable::unwrap)) + cdkBuilder.alarmIdentifier(alarmIdentifier.let(IResolvable.Companion::unwrap)) } /** @@ -1338,7 +1338,7 @@ public open class CfnHealthCheck( * healthy. */ override fun alarmIdentifier(alarmIdentifier: AlarmIdentifierProperty) { - cdkBuilder.alarmIdentifier(alarmIdentifier.let(AlarmIdentifierProperty::unwrap)) + cdkBuilder.alarmIdentifier(alarmIdentifier.let(AlarmIdentifierProperty.Companion::unwrap)) } /** @@ -1415,7 +1415,7 @@ public open class CfnHealthCheck( * from the `client_hello` message. */ override fun enableSni(enableSni: IResolvable) { - cdkBuilder.enableSni(enableSni.let(IResolvable::unwrap)) + cdkBuilder.enableSni(enableSni.let(IResolvable.Companion::unwrap)) } /** @@ -1537,7 +1537,7 @@ public open class CfnHealthCheck( * healthy. */ override fun inverted(inverted: IResolvable) { - cdkBuilder.inverted(inverted.let(IResolvable::unwrap)) + cdkBuilder.inverted(inverted.let(IResolvable.Companion::unwrap)) } /** @@ -1600,7 +1600,7 @@ public open class CfnHealthCheck( * You can't change the value of `MeasureLatency` after you create a health check. */ override fun measureLatency(measureLatency: IResolvable) { - cdkBuilder.measureLatency(measureLatency.let(IResolvable::unwrap)) + cdkBuilder.measureLatency(measureLatency.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheckProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheckProps.kt index 660b93aacb..0288a7bcd1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheckProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHealthCheckProps.kt @@ -135,7 +135,7 @@ public interface CfnHealthCheckProps { * [HealthCheckConfig](https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html) */ override fun healthCheckConfig(healthCheckConfig: IResolvable) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public interface CfnHealthCheckProps { * [HealthCheckConfig](https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html) */ override fun healthCheckConfig(healthCheckConfig: CfnHealthCheck.HealthCheckConfigProperty) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(CfnHealthCheck.HealthCheckConfigProperty::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(CfnHealthCheck.HealthCheckConfigProperty.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public interface CfnHealthCheckProps { * associated with an `AWS::Route53::HealthCheck` resource. */ override fun healthCheckTags(healthCheckTags: IResolvable) { - cdkBuilder.healthCheckTags(healthCheckTags.let(IResolvable::unwrap)) + cdkBuilder.healthCheckTags(healthCheckTags.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZone.kt index 77f0b7fb25..ef7ef94a9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZone.kt @@ -98,7 +98,7 @@ public open class CfnHostedZone( cdkObject: software.amazon.awscdk.services.route53.CfnHostedZone, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53.CfnHostedZone(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53.CfnHostedZone(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -107,8 +107,8 @@ public open class CfnHostedZone( id: String, props: CfnHostedZoneProps, ) : - this(software.amazon.awscdk.services.route53.CfnHostedZone(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHostedZoneProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnHostedZone(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHostedZoneProps.Companion::unwrap)) ) public constructor( @@ -139,14 +139,14 @@ public open class CfnHostedZone( * A complex type that contains an optional comment. */ public open fun hostedZoneConfig(`value`: IResolvable) { - unwrap(this).setHostedZoneConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHostedZoneConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A complex type that contains an optional comment. */ public open fun hostedZoneConfig(`value`: HostedZoneConfigProperty) { - unwrap(this).setHostedZoneConfig(`value`.let(HostedZoneConfigProperty::unwrap)) + unwrap(this).setHostedZoneConfig(`value`.let(HostedZoneConfigProperty.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnHostedZone( * Adds, edits, or deletes tags for a health check or a hosted zone. */ public open fun hostedZoneTagsRaw(`value`: List) { - unwrap(this).setHostedZoneTagsRaw(`value`.map(HostedZoneTagProperty::unwrap)) + unwrap(this).setHostedZoneTagsRaw(`value`.map(HostedZoneTagProperty.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnHostedZone( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,14 +206,14 @@ public open class CfnHostedZone( * Creates a configuration for DNS query logging. */ public open fun queryLoggingConfig(`value`: IResolvable) { - unwrap(this).setQueryLoggingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setQueryLoggingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Creates a configuration for DNS query logging. */ public open fun queryLoggingConfig(`value`: QueryLoggingConfigProperty) { - unwrap(this).setQueryLoggingConfig(`value`.let(QueryLoggingConfigProperty::unwrap)) + unwrap(this).setQueryLoggingConfig(`value`.let(QueryLoggingConfigProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnHostedZone( * associated with the specified hosted zone. */ public open fun vpcs(`value`: IResolvable) { - unwrap(this).setVpcs(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -724,7 +724,7 @@ public open class CfnHostedZone( * @param hostedZoneConfig A complex type that contains an optional comment. */ override fun hostedZoneConfig(hostedZoneConfig: IResolvable) { - cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(IResolvable::unwrap)) + cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnHostedZone( * @param hostedZoneConfig A complex type that contains an optional comment. */ override fun hostedZoneConfig(hostedZoneConfig: HostedZoneConfigProperty) { - cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(HostedZoneConfigProperty::unwrap)) + cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(HostedZoneConfigProperty.Companion::unwrap)) } /** @@ -763,7 +763,7 @@ public open class CfnHostedZone( * @param hostedZoneTags Adds, edits, or deletes tags for a health check or a hosted zone. */ override fun hostedZoneTags(hostedZoneTags: List) { - cdkBuilder.hostedZoneTags(hostedZoneTags.map(HostedZoneTagProperty::unwrap)) + cdkBuilder.hostedZoneTags(hostedZoneTags.map(HostedZoneTagProperty.Companion::unwrap)) } /** @@ -907,7 +907,7 @@ public open class CfnHostedZone( * @param queryLoggingConfig Creates a configuration for DNS query logging. */ override fun queryLoggingConfig(queryLoggingConfig: IResolvable) { - cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(IResolvable::unwrap)) + cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1018,7 +1018,7 @@ public open class CfnHostedZone( * @param queryLoggingConfig Creates a configuration for DNS query logging. */ override fun queryLoggingConfig(queryLoggingConfig: QueryLoggingConfigProperty) { - cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(QueryLoggingConfigProperty::unwrap)) + cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(QueryLoggingConfigProperty.Companion::unwrap)) } /** @@ -1147,7 +1147,7 @@ public open class CfnHostedZone( * that are associated with the specified hosted zone. */ override fun vpcs(vpcs: IResolvable) { - cdkBuilder.vpcs(vpcs.let(IResolvable::unwrap)) + cdkBuilder.vpcs(vpcs.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZoneProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZoneProps.kt index 194889cc16..cfebee76bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZoneProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnHostedZoneProps.kt @@ -608,7 +608,7 @@ public interface CfnHostedZoneProps { * If you don't want to specify a comment, omit the `HostedZoneConfig` and `Comment` elements. */ override fun hostedZoneConfig(hostedZoneConfig: IResolvable) { - cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(IResolvable::unwrap)) + cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public interface CfnHostedZoneProps { * If you don't want to specify a comment, omit the `HostedZoneConfig` and `Comment` elements. */ override fun hostedZoneConfig(hostedZoneConfig: CfnHostedZone.HostedZoneConfigProperty) { - cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(CfnHostedZone.HostedZoneConfigProperty::unwrap)) + cdkBuilder.hostedZoneConfig(hostedZoneConfig.let(CfnHostedZone.HostedZoneConfigProperty.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public interface CfnHostedZoneProps { * *AWS Billing and Cost Management User Guide* . */ override fun hostedZoneTags(hostedZoneTags: List) { - cdkBuilder.hostedZoneTags(hostedZoneTags.map(CfnHostedZone.HostedZoneTagProperty::unwrap)) + cdkBuilder.hostedZoneTags(hostedZoneTags.map(CfnHostedZone.HostedZoneTagProperty.Companion::unwrap)) } /** @@ -768,7 +768,7 @@ public interface CfnHostedZoneProps { * . */ override fun queryLoggingConfig(queryLoggingConfig: IResolvable) { - cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(IResolvable::unwrap)) + cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public interface CfnHostedZoneProps { * . */ override fun queryLoggingConfig(queryLoggingConfig: CfnHostedZone.QueryLoggingConfigProperty) { - cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(CfnHostedZone.QueryLoggingConfigProperty::unwrap)) + cdkBuilder.queryLoggingConfig(queryLoggingConfig.let(CfnHostedZone.QueryLoggingConfigProperty.Companion::unwrap)) } /** @@ -994,7 +994,7 @@ public interface CfnHostedZoneProps { * For public hosted zones, omit `VPCs` , `VPCId` , and `VPCRegion` . */ override fun vpcs(vpcs: IResolvable) { - cdkBuilder.vpcs(vpcs.let(IResolvable::unwrap)) + cdkBuilder.vpcs(vpcs.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnKeySigningKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnKeySigningKey.kt index f905c837f5..7bc2b837e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnKeySigningKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnKeySigningKey.kt @@ -41,8 +41,8 @@ public open class CfnKeySigningKey( id: String, props: CfnKeySigningKeyProps, ) : - this(software.amazon.awscdk.services.route53.CfnKeySigningKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKeySigningKeyProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnKeySigningKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKeySigningKeyProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class CfnKeySigningKey( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSet.kt index f4e8d68eec..c51e395980 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSet.kt @@ -88,8 +88,8 @@ public open class CfnRecordSet( id: String, props: CfnRecordSetProps, ) : - this(software.amazon.awscdk.services.route53.CfnRecordSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRecordSetProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnRecordSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRecordSetProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnRecordSet( * distribution or an Amazon S3 bucket, that you want to route traffic to. */ public open fun aliasTarget(`value`: IResolvable) { - unwrap(this).setAliasTarget(`value`.let(IResolvable::unwrap)) + unwrap(this).setAliasTarget(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnRecordSet( * distribution or an Amazon S3 bucket, that you want to route traffic to. */ public open fun aliasTarget(`value`: AliasTargetProperty) { - unwrap(this).setAliasTarget(`value`.let(AliasTargetProperty::unwrap)) + unwrap(this).setAliasTarget(`value`.let(AliasTargetProperty.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnRecordSet( * record set to a CIDR location. */ public open fun cidrRoutingConfig(`value`: IResolvable) { - unwrap(this).setCidrRoutingConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCidrRoutingConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public open class CfnRecordSet( * record set to a CIDR location. */ public open fun cidrRoutingConfig(`value`: CidrRoutingConfigProperty) { - unwrap(this).setCidrRoutingConfig(`value`.let(CidrRoutingConfigProperty::unwrap)) + unwrap(this).setCidrRoutingConfig(`value`.let(CidrRoutingConfigProperty.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnRecordSet( * 53 responds to DNS queries based on the geographic origin of the query. */ public open fun geoLocation(`value`: IResolvable) { - unwrap(this).setGeoLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setGeoLocation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnRecordSet( * 53 responds to DNS queries based on the geographic origin of the query. */ public open fun geoLocation(`value`: GeoLocationProperty) { - unwrap(this).setGeoLocation(`value`.let(GeoLocationProperty::unwrap)) + unwrap(this).setGeoLocation(`value`.let(GeoLocationProperty.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnRecordSet( * Route 53 responds to DNS queries based on the geographic origin of the query and your resources. */ public open fun geoProximityLocation(`value`: IResolvable) { - unwrap(this).setGeoProximityLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setGeoProximityLocation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnRecordSet( * Route 53 responds to DNS queries based on the geographic origin of the query and your resources. */ public open fun geoProximityLocation(`value`: GeoProximityLocationProperty) { - unwrap(this).setGeoProximityLocation(`value`.let(GeoProximityLocationProperty::unwrap)) + unwrap(this).setGeoProximityLocation(`value`.let(GeoProximityLocationProperty.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnRecordSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class CfnRecordSet( * specify `true` for `MultiValueAnswer` . */ public open fun multiValueAnswer(`value`: IResolvable) { - unwrap(this).setMultiValueAnswer(`value`.let(IResolvable::unwrap)) + unwrap(this).setMultiValueAnswer(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -1222,7 +1222,7 @@ public open class CfnRecordSet( * such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to. */ override fun aliasTarget(aliasTarget: IResolvable) { - cdkBuilder.aliasTarget(aliasTarget.let(IResolvable::unwrap)) + cdkBuilder.aliasTarget(aliasTarget.let(IResolvable.Companion::unwrap)) } /** @@ -1243,7 +1243,7 @@ public open class CfnRecordSet( * such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to. */ override fun aliasTarget(aliasTarget: AliasTargetProperty) { - cdkBuilder.aliasTarget(aliasTarget.let(AliasTargetProperty::unwrap)) + cdkBuilder.aliasTarget(aliasTarget.let(AliasTargetProperty.Companion::unwrap)) } /** @@ -1280,7 +1280,7 @@ public open class CfnRecordSet( * are linking a resource record set to a CIDR location. */ override fun cidrRoutingConfig(cidrRoutingConfig: IResolvable) { - cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(IResolvable::unwrap)) + cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1295,7 +1295,7 @@ public open class CfnRecordSet( * are linking a resource record set to a CIDR location. */ override fun cidrRoutingConfig(cidrRoutingConfig: CidrRoutingConfigProperty) { - cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(CidrRoutingConfigProperty::unwrap)) + cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(CidrRoutingConfigProperty.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class CfnRecordSet( * */ override fun geoLocation(geoLocation: IResolvable) { - cdkBuilder.geoLocation(geoLocation.let(IResolvable::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1457,7 +1457,7 @@ public open class CfnRecordSet( * */ override fun geoLocation(geoLocation: GeoLocationProperty) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocationProperty::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocationProperty.Companion::unwrap)) } /** @@ -1515,7 +1515,7 @@ public open class CfnRecordSet( * query and your resources. */ override fun geoProximityLocation(geoProximityLocation: IResolvable) { - cdkBuilder.geoProximityLocation(geoProximityLocation.let(IResolvable::unwrap)) + cdkBuilder.geoProximityLocation(geoProximityLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1528,7 +1528,7 @@ public open class CfnRecordSet( * query and your resources. */ override fun geoProximityLocation(geoProximityLocation: GeoProximityLocationProperty) { - cdkBuilder.geoProximityLocation(geoProximityLocation.let(GeoProximityLocationProperty::unwrap)) + cdkBuilder.geoProximityLocation(geoProximityLocation.let(GeoProximityLocationProperty.Companion::unwrap)) } /** @@ -1771,7 +1771,7 @@ public open class CfnRecordSet( * record for each resource and specify `true` for `MultiValueAnswer` . */ override fun multiValueAnswer(multiValueAnswer: IResolvable) { - cdkBuilder.multiValueAnswer(multiValueAnswer.let(IResolvable::unwrap)) + cdkBuilder.multiValueAnswer(multiValueAnswer.let(IResolvable.Companion::unwrap)) } /** @@ -2905,7 +2905,7 @@ public open class CfnRecordSet( * *Amazon Route 53 Developer Guide* . */ override fun evaluateTargetHealth(evaluateTargetHealth: IResolvable) { - cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable::unwrap)) + cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable.Companion::unwrap)) } /** @@ -3892,14 +3892,14 @@ public open class CfnRecordSet( * @param coordinates Contains the longitude and latitude for a geographic region. */ override fun coordinates(coordinates: IResolvable) { - cdkBuilder.coordinates(coordinates.let(IResolvable::unwrap)) + cdkBuilder.coordinates(coordinates.let(IResolvable.Companion::unwrap)) } /** * @param coordinates Contains the longitude and latitude for a geographic region. */ override fun coordinates(coordinates: CoordinatesProperty) { - cdkBuilder.coordinates(coordinates.let(CoordinatesProperty::unwrap)) + cdkBuilder.coordinates(coordinates.let(CoordinatesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroup.kt index e6d39812ba..acf6b25d4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroup.kt @@ -82,7 +82,7 @@ public open class CfnRecordSetGroup( cdkObject: software.amazon.awscdk.services.route53.CfnRecordSetGroup, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53.CfnRecordSetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53.CfnRecordSetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -91,8 +91,8 @@ public open class CfnRecordSetGroup( id: String, props: CfnRecordSetGroupProps, ) : - this(software.amazon.awscdk.services.route53.CfnRecordSetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRecordSetGroupProps::unwrap)) + this(software.amazon.awscdk.services.route53.CfnRecordSetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRecordSetGroupProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CfnRecordSetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnRecordSetGroup( * A complex type that contains one `RecordSet` element for each record that you want to create. */ public open fun recordSets(`value`: IResolvable) { - unwrap(this).setRecordSets(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecordSets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class CfnRecordSetGroup( * you want to create. */ override fun recordSets(recordSets: IResolvable) { - cdkBuilder.recordSets(recordSets.let(IResolvable::unwrap)) + cdkBuilder.recordSets(recordSets.let(IResolvable.Companion::unwrap)) } /** @@ -1228,7 +1228,7 @@ public open class CfnRecordSetGroup( * *Amazon Route 53 Developer Guide* . */ override fun evaluateTargetHealth(evaluateTargetHealth: IResolvable) { - cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable::unwrap)) + cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable.Companion::unwrap)) } /** @@ -2218,14 +2218,14 @@ public open class CfnRecordSetGroup( * @param coordinates Contains the longitude and latitude for a geographic region. */ override fun coordinates(coordinates: IResolvable) { - cdkBuilder.coordinates(coordinates.let(IResolvable::unwrap)) + cdkBuilder.coordinates(coordinates.let(IResolvable.Companion::unwrap)) } /** * @param coordinates Contains the longitude and latitude for a geographic region. */ override fun coordinates(coordinates: CoordinatesProperty) { - cdkBuilder.coordinates(coordinates.let(CoordinatesProperty::unwrap)) + cdkBuilder.coordinates(coordinates.let(CoordinatesProperty.Companion::unwrap)) } /** @@ -3475,7 +3475,7 @@ public open class CfnRecordSetGroup( * in the *Amazon Route 53 Developer Guide* . */ override fun aliasTarget(aliasTarget: IResolvable) { - cdkBuilder.aliasTarget(aliasTarget.let(IResolvable::unwrap)) + cdkBuilder.aliasTarget(aliasTarget.let(IResolvable.Companion::unwrap)) } /** @@ -3491,7 +3491,7 @@ public open class CfnRecordSetGroup( * in the *Amazon Route 53 Developer Guide* . */ override fun aliasTarget(aliasTarget: AliasTargetProperty) { - cdkBuilder.aliasTarget(aliasTarget.let(AliasTargetProperty::unwrap)) + cdkBuilder.aliasTarget(aliasTarget.let(AliasTargetProperty.Companion::unwrap)) } /** @@ -3515,14 +3515,14 @@ public open class CfnRecordSetGroup( * @param cidrRoutingConfig the value to be set. */ override fun cidrRoutingConfig(cidrRoutingConfig: IResolvable) { - cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(IResolvable::unwrap)) + cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(IResolvable.Companion::unwrap)) } /** * @param cidrRoutingConfig the value to be set. */ override fun cidrRoutingConfig(cidrRoutingConfig: CidrRoutingConfigProperty) { - cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(CidrRoutingConfigProperty::unwrap)) + cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(CidrRoutingConfigProperty.Companion::unwrap)) } /** @@ -3614,7 +3614,7 @@ public open class CfnRecordSetGroup( * `Name` and `Type` elements as geolocation resource record sets. */ override fun geoLocation(geoLocation: IResolvable) { - cdkBuilder.geoLocation(geoLocation.let(IResolvable::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(IResolvable.Companion::unwrap)) } /** @@ -3654,7 +3654,7 @@ public open class CfnRecordSetGroup( * `Name` and `Type` elements as geolocation resource record sets. */ override fun geoLocation(geoLocation: GeoLocationProperty) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocationProperty::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocationProperty.Companion::unwrap)) } /** @@ -3703,7 +3703,7 @@ public open class CfnRecordSetGroup( * location. */ override fun geoProximityLocation(geoProximityLocation: IResolvable) { - cdkBuilder.geoProximityLocation(geoProximityLocation.let(IResolvable::unwrap)) + cdkBuilder.geoProximityLocation(geoProximityLocation.let(IResolvable.Companion::unwrap)) } /** @@ -3711,7 +3711,7 @@ public open class CfnRecordSetGroup( * location. */ override fun geoProximityLocation(geoProximityLocation: GeoProximityLocationProperty) { - cdkBuilder.geoProximityLocation(geoProximityLocation.let(GeoProximityLocationProperty::unwrap)) + cdkBuilder.geoProximityLocation(geoProximityLocation.let(GeoProximityLocationProperty.Companion::unwrap)) } /** @@ -3923,7 +3923,7 @@ public open class CfnRecordSetGroup( * You can't create multivalue answer alias records. */ override fun multiValueAnswer(multiValueAnswer: IResolvable) { - cdkBuilder.multiValueAnswer(multiValueAnswer.let(IResolvable::unwrap)) + cdkBuilder.multiValueAnswer(multiValueAnswer.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroupProps.kt index 38c5b0d518..ac6a11add0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetGroupProps.kt @@ -206,7 +206,7 @@ public interface CfnRecordSetGroupProps { * you want to create. */ override fun recordSets(recordSets: IResolvable) { - cdkBuilder.recordSets(recordSets.let(IResolvable::unwrap)) + cdkBuilder.recordSets(recordSets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetProps.kt index 44426bf686..0b07dfc1e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CfnRecordSetProps.kt @@ -1190,7 +1190,7 @@ public interface CfnRecordSetProps { * in the *Amazon Route 53 Developer Guide* . */ override fun aliasTarget(aliasTarget: IResolvable) { - cdkBuilder.aliasTarget(aliasTarget.let(IResolvable::unwrap)) + cdkBuilder.aliasTarget(aliasTarget.let(IResolvable.Companion::unwrap)) } /** @@ -1206,7 +1206,7 @@ public interface CfnRecordSetProps { * in the *Amazon Route 53 Developer Guide* . */ override fun aliasTarget(aliasTarget: CfnRecordSet.AliasTargetProperty) { - cdkBuilder.aliasTarget(aliasTarget.let(CfnRecordSet.AliasTargetProperty::unwrap)) + cdkBuilder.aliasTarget(aliasTarget.let(CfnRecordSet.AliasTargetProperty.Companion::unwrap)) } /** @@ -1233,7 +1233,7 @@ public interface CfnRecordSetProps { * `CollectionId` is still required for default record. */ override fun cidrRoutingConfig(cidrRoutingConfig: IResolvable) { - cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(IResolvable::unwrap)) + cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1243,7 +1243,7 @@ public interface CfnRecordSetProps { * `CollectionId` is still required for default record. */ override fun cidrRoutingConfig(cidrRoutingConfig: CfnRecordSet.CidrRoutingConfigProperty) { - cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(CfnRecordSet.CidrRoutingConfigProperty::unwrap)) + cdkBuilder.cidrRoutingConfig(cidrRoutingConfig.let(CfnRecordSet.CidrRoutingConfigProperty.Companion::unwrap)) } /** @@ -1343,7 +1343,7 @@ public interface CfnRecordSetProps { * `Name` and `Type` elements as geolocation resource record sets. */ override fun geoLocation(geoLocation: IResolvable) { - cdkBuilder.geoLocation(geoLocation.let(IResolvable::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1381,7 +1381,7 @@ public interface CfnRecordSetProps { * `Name` and `Type` elements as geolocation resource record sets. */ override fun geoLocation(geoLocation: CfnRecordSet.GeoLocationProperty) { - cdkBuilder.geoLocation(geoLocation.let(CfnRecordSet.GeoLocationProperty::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(CfnRecordSet.GeoLocationProperty.Companion::unwrap)) } /** @@ -1429,7 +1429,7 @@ public interface CfnRecordSetProps { * query and your resources. */ override fun geoProximityLocation(geoProximityLocation: IResolvable) { - cdkBuilder.geoProximityLocation(geoProximityLocation.let(IResolvable::unwrap)) + cdkBuilder.geoProximityLocation(geoProximityLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1439,7 +1439,7 @@ public interface CfnRecordSetProps { */ override fun geoProximityLocation(geoProximityLocation: CfnRecordSet.GeoProximityLocationProperty) { - cdkBuilder.geoProximityLocation(geoProximityLocation.let(CfnRecordSet.GeoProximityLocationProperty::unwrap)) + cdkBuilder.geoProximityLocation(geoProximityLocation.let(CfnRecordSet.GeoProximityLocationProperty.Companion::unwrap)) } /** @@ -1643,7 +1643,7 @@ public interface CfnRecordSetProps { * You can't create multivalue answer alias records. */ override fun multiValueAnswer(multiValueAnswer: IResolvable) { - cdkBuilder.multiValueAnswer(multiValueAnswer.let(IResolvable::unwrap)) + cdkBuilder.multiValueAnswer(multiValueAnswer.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecord.kt index 4177000d08..7ca833547b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecord.kt @@ -57,8 +57,8 @@ public open class CnameRecord( id: String, props: CnameRecordProps, ) : - this(software.amazon.awscdk.services.route53.CnameRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CnameRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.CnameRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CnameRecordProps.Companion::unwrap)) ) public constructor( @@ -274,7 +274,7 @@ public open class CnameRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class CnameRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class CnameRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CnameRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecordProps.kt index 5034d0c692..4badea84de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CnameRecordProps.kt @@ -194,7 +194,7 @@ public interface CnameRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface CnameRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CnameRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CnameRecordProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecord.kt index 907d3ab87c..d089189dc0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecord.kt @@ -46,8 +46,8 @@ public open class CrossAccountZoneDelegationRecord( id: String, props: CrossAccountZoneDelegationRecordProps, ) : - this(software.amazon.awscdk.services.route53.CrossAccountZoneDelegationRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CrossAccountZoneDelegationRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.CrossAccountZoneDelegationRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CrossAccountZoneDelegationRecordProps.Companion::unwrap)) ) public constructor( @@ -149,7 +149,7 @@ public open class CrossAccountZoneDelegationRecord( * @param delegatedZone The zone to be delegated. */ override fun delegatedZone(delegatedZone: IHostedZone) { - cdkBuilder.delegatedZone(delegatedZone.let(IHostedZone::unwrap)) + cdkBuilder.delegatedZone(delegatedZone.let(IHostedZone.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CrossAccountZoneDelegationRecord( * @param delegationRole The delegation role in the parent account. */ override fun delegationRole(delegationRole: IRole) { - cdkBuilder.delegationRole(delegationRole.let(IRole::unwrap)) + cdkBuilder.delegationRole(delegationRole.let(IRole.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CrossAccountZoneDelegationRecord( * @param removalPolicy The removal policy to apply to the record set. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CrossAccountZoneDelegationRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.CrossAccountZoneDelegationRecord = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecordProps.kt index 74719e36b3..a9ed1453d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/CrossAccountZoneDelegationRecordProps.kt @@ -142,14 +142,14 @@ public interface CrossAccountZoneDelegationRecordProps { * @param delegatedZone The zone to be delegated. */ override fun delegatedZone(delegatedZone: IHostedZone) { - cdkBuilder.delegatedZone(delegatedZone.let(IHostedZone::unwrap)) + cdkBuilder.delegatedZone(delegatedZone.let(IHostedZone.Companion::unwrap)) } /** * @param delegationRole The delegation role in the parent account. */ override fun delegationRole(delegationRole: IRole) { - cdkBuilder.delegationRole(delegationRole.let(IRole::unwrap)) + cdkBuilder.delegationRole(delegationRole.let(IRole.Companion::unwrap)) } /** @@ -170,14 +170,14 @@ public interface CrossAccountZoneDelegationRecordProps { * @param removalPolicy The removal policy to apply to the record set. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecord.kt index b23c62745f..36d4473401 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecord.kt @@ -35,8 +35,8 @@ public open class DsRecord( id: String, props: DsRecordProps, ) : - this(software.amazon.awscdk.services.route53.DsRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DsRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.DsRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DsRecordProps.Companion::unwrap)) ) public constructor( @@ -250,7 +250,7 @@ public open class DsRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class DsRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class DsRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.DsRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecordProps.kt index 7b36868c87..de9dc5b577 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/DsRecordProps.kt @@ -170,7 +170,7 @@ public interface DsRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface DsRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface DsRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.DsRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/GeoLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/GeoLocation.kt index 183bce1389..7deb87aa9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/GeoLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/GeoLocation.kt @@ -63,7 +63,7 @@ public open class GeoLocation( public companion object { public fun continent(continentCode: Continent): GeoLocation = - software.amazon.awscdk.services.route53.GeoLocation.continent(continentCode.let(Continent::unwrap)).let(GeoLocation::wrap) + software.amazon.awscdk.services.route53.GeoLocation.continent(continentCode.let(Continent.Companion::unwrap)).let(GeoLocation::wrap) public fun country(countryCode: String): GeoLocation = software.amazon.awscdk.services.route53.GeoLocation.country(countryCode).let(GeoLocation::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZone.kt index 72174a95f6..4488d022a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZone.kt @@ -41,8 +41,8 @@ public open class HostedZone( id: String, props: HostedZoneProps, ) : - this(software.amazon.awscdk.services.route53.HostedZone(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HostedZoneProps::unwrap)) + this(software.amazon.awscdk.services.route53.HostedZone(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HostedZoneProps.Companion::unwrap)) ) public constructor( @@ -58,7 +58,7 @@ public open class HostedZone( * @param vpc the other VPC to add. */ public open fun addVpc(vpc: IVpc) { - unwrap(this).addVpc(vpc.let(IVpc::unwrap)) + unwrap(this).addVpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -70,7 +70,7 @@ public open class HostedZone( * @param options */ public open fun enableDnssec(options: ZoneSigningOptions): IKeySigningKey = - unwrap(this).enableDnssec(options.let(ZoneSigningOptions::unwrap)).let(IKeySigningKey::wrap) + unwrap(this).enableDnssec(options.let(ZoneSigningOptions.Companion::unwrap)).let(IKeySigningKey::wrap) /** * Enable DNSSEC for this hosted zone. @@ -91,7 +91,7 @@ public open class HostedZone( * @param grantee */ public override fun grantDelegation(grantee: IGrantable): Grant = - unwrap(this).grantDelegation(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDelegation(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}. @@ -245,7 +245,7 @@ public open class HostedZone( * @param vpcs A VPC that you want to associate with this hosted zone. */ override fun vpcs(vpcs: List) { - cdkBuilder.vpcs(vpcs.map(IVpc::unwrap)) + cdkBuilder.vpcs(vpcs.map(IVpc.Companion::unwrap)) } /** @@ -283,8 +283,8 @@ public open class HostedZone( id: String, attrs: HostedZoneAttributes, ): IHostedZone = - software.amazon.awscdk.services.route53.HostedZone.fromHostedZoneAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(HostedZoneAttributes::unwrap)).let(IHostedZone::wrap) + software.amazon.awscdk.services.route53.HostedZone.fromHostedZoneAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(HostedZoneAttributes.Companion::unwrap)).let(IHostedZone::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ec7a6041c2e75e630a70fa110a2369053e8a0554dd6c63d11cfc004e3770592a") @@ -299,7 +299,7 @@ public open class HostedZone( id: String, hostedZoneId: String, ): IHostedZone = - software.amazon.awscdk.services.route53.HostedZone.fromHostedZoneId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.route53.HostedZone.fromHostedZoneId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, hostedZoneId).let(IHostedZone::wrap) public fun fromLookup( @@ -307,8 +307,8 @@ public open class HostedZone( id: String, query: HostedZoneProviderProps, ): IHostedZone = - software.amazon.awscdk.services.route53.HostedZone.fromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, query.let(HostedZoneProviderProps::unwrap)).let(IHostedZone::wrap) + software.amazon.awscdk.services.route53.HostedZone.fromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, query.let(HostedZoneProviderProps.Companion::unwrap)).let(IHostedZone::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1f3c8afe809bef1b11863ef5f2169db51c709530a321c9ba303e6b29bcd9690a") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZoneProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZoneProps.kt index 7d37d6d2e6..58b75b3a71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZoneProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/HostedZoneProps.kt @@ -121,7 +121,7 @@ public interface HostedZoneProps : CommonHostedZoneProps { * You can associate additional VPCs to this private zone using `addVpc(vpc)`. */ override fun vpcs(vpcs: List) { - cdkBuilder.vpcs(vpcs.map(IVpc::unwrap)) + cdkBuilder.vpcs(vpcs.map(IVpc.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IAliasRecordTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IAliasRecordTarget.kt index 7e9251821f..5f23627428 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IAliasRecordTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IAliasRecordTarget.kt @@ -36,7 +36,7 @@ public interface IAliasRecordTarget { * @param zone */ override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -45,8 +45,8 @@ public interface IAliasRecordTarget { * @param zone */ override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IHostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IHostedZone.kt index e315bdf95e..00cd7faffa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IHostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IHostedZone.kt @@ -66,7 +66,7 @@ public interface IHostedZone : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -87,7 +87,7 @@ public interface IHostedZone : IResource { * @param grantee */ override fun grantDelegation(grantee: IGrantable): Grant = - unwrap(this).grantDelegation(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDelegation(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IKeySigningKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IKeySigningKey.kt index a4cb4334d0..e430487507 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IKeySigningKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IKeySigningKey.kt @@ -47,7 +47,7 @@ public interface IKeySigningKey : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPrivateHostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPrivateHostedZone.kt index c3018969bb..c1213ec945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPrivateHostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPrivateHostedZone.kt @@ -34,7 +34,7 @@ public interface IPrivateHostedZone : IHostedZone { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -55,7 +55,7 @@ public interface IPrivateHostedZone : IHostedZone { * @param grantee */ override fun grantDelegation(grantee: IGrantable): Grant = - unwrap(this).grantDelegation(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDelegation(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPublicHostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPublicHostedZone.kt index acc3a91da7..7fcc5fee06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPublicHostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IPublicHostedZone.kt @@ -34,7 +34,7 @@ public interface IPublicHostedZone : IHostedZone { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -55,7 +55,7 @@ public interface IPublicHostedZone : IHostedZone { * @param grantee */ override fun grantDelegation(grantee: IGrantable): Grant = - unwrap(this).grantDelegation(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDelegation(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * ARN of this hosted zone, such as arn:${Partition}:route53:::hostedzone/${Id}. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IRecordSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IRecordSet.kt index 10d9dfd9c3..ee06af397d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IRecordSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/IRecordSet.kt @@ -37,7 +37,7 @@ public interface IRecordSet : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKey.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKey.kt index adf24e6ac6..4466188f7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKey.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKey.kt @@ -35,8 +35,8 @@ public open class KeySigningKey( id: String, props: KeySigningKeyProps, ) : - this(software.amazon.awscdk.services.route53.KeySigningKey(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(KeySigningKeyProps::unwrap)) + this(software.amazon.awscdk.services.route53.KeySigningKey(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(KeySigningKeyProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class KeySigningKey( * @param hostedZone The hosted zone that this key will be used to sign. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class KeySigningKey( * @param kmsKey The customer-managed KMS key that that will be used to sign the records. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class KeySigningKey( * @param status The status of the key signing key. */ override fun status(status: KeySigningKeyStatus) { - cdkBuilder.status(status.let(KeySigningKeyStatus::unwrap)) + cdkBuilder.status(status.let(KeySigningKeyStatus.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.KeySigningKey = cdkBuilder.build() @@ -168,8 +168,8 @@ public open class KeySigningKey( id: String, attrs: KeySigningKeyAttributes, ): IKeySigningKey = - software.amazon.awscdk.services.route53.KeySigningKey.fromKeySigningKeyAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(KeySigningKeyAttributes::unwrap)).let(IKeySigningKey::wrap) + software.amazon.awscdk.services.route53.KeySigningKey.fromKeySigningKeyAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(KeySigningKeyAttributes.Companion::unwrap)).let(IKeySigningKey::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("75826e30a29d75b033f852519279dba732ef46c4cc824e4b69e8db313453e4f9") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyAttributes.kt index 459e4c9888..55e830a79f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyAttributes.kt @@ -59,7 +59,7 @@ public interface KeySigningKeyAttributes { * @param hostedZone The hosted zone that the key signing key signs. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyProps.kt index 98ad40ba82..ddb47cd65f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/KeySigningKeyProps.kt @@ -95,7 +95,7 @@ public interface KeySigningKeyProps { * @param hostedZone The hosted zone that this key will be used to sign. */ override fun hostedZone(hostedZone: IHostedZone) { - cdkBuilder.hostedZone(hostedZone.let(IHostedZone::unwrap)) + cdkBuilder.hostedZone(hostedZone.let(IHostedZone.Companion::unwrap)) } /** @@ -112,14 +112,14 @@ public interface KeySigningKeyProps { * KMS key must be an asymetric customer-managed key using the ECC_NIST_P256 algorithm. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** * @param status The status of the key signing key. */ override fun status(status: KeySigningKeyStatus) { - cdkBuilder.status(status.let(KeySigningKeyStatus::unwrap)) + cdkBuilder.status(status.let(KeySigningKeyStatus.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.KeySigningKeyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecord.kt index 2ea0526b23..309709fdbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecord.kt @@ -51,8 +51,8 @@ public open class MxRecord( id: String, props: MxRecordProps, ) : - this(software.amazon.awscdk.services.route53.MxRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(MxRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.MxRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(MxRecordProps.Companion::unwrap)) ) public constructor( @@ -266,7 +266,7 @@ public open class MxRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class MxRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class MxRecord( * @param values The values. */ override fun values(values: List) { - cdkBuilder.values(values.map(MxRecordValue::unwrap)) + cdkBuilder.values(values.map(MxRecordValue.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class MxRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.MxRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecordProps.kt index ae407f10f9..4673b84dfc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/MxRecordProps.kt @@ -186,7 +186,7 @@ public interface MxRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public interface MxRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** * @param values The values. */ override fun values(values: List) { - cdkBuilder.values(values.map(MxRecordValue::unwrap)) + cdkBuilder.values(values.map(MxRecordValue.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public interface MxRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.MxRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecord.kt index 0c7079be76..375f93fda8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecord.kt @@ -35,8 +35,8 @@ public open class NsRecord( id: String, props: NsRecordProps, ) : - this(software.amazon.awscdk.services.route53.NsRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NsRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.NsRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NsRecordProps.Companion::unwrap)) ) public constructor( @@ -250,7 +250,7 @@ public open class NsRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public open class NsRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class NsRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.NsRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecordProps.kt index 66df3c54da..5a658b3b4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/NsRecordProps.kt @@ -170,7 +170,7 @@ public interface NsRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface NsRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface NsRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.NsRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZone.kt index fcbc196687..592ed593d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZone.kt @@ -34,8 +34,8 @@ public open class PrivateHostedZone( id: String, props: PrivateHostedZoneProps, ) : - this(software.amazon.awscdk.services.route53.PrivateHostedZone(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PrivateHostedZoneProps::unwrap)) + this(software.amazon.awscdk.services.route53.PrivateHostedZone(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PrivateHostedZoneProps.Companion::unwrap)) ) public constructor( @@ -151,7 +151,7 @@ public open class PrivateHostedZone( * @param vpc A VPC that you want to associate with this hosted zone. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class PrivateHostedZone( id: String, privateHostedZoneId: String, ): IPrivateHostedZone = - software.amazon.awscdk.services.route53.PrivateHostedZone.fromPrivateHostedZoneId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.route53.PrivateHostedZone.fromPrivateHostedZoneId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, privateHostedZoneId).let(IPrivateHostedZone::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZoneProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZoneProps.kt index b34fb5bdf5..957a8378d2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZoneProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PrivateHostedZoneProps.kt @@ -100,7 +100,7 @@ public interface PrivateHostedZoneProps : CommonHostedZoneProps { * associated additional VPCs using `addVpc(vpc)`. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZone.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZone.kt index 6b01aa4af5..ea9a8120a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZone.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZone.kt @@ -54,8 +54,8 @@ public open class PublicHostedZone( id: String, props: PublicHostedZoneProps, ) : - this(software.amazon.awscdk.services.route53.PublicHostedZone(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PublicHostedZoneProps::unwrap)) + this(software.amazon.awscdk.services.route53.PublicHostedZone(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PublicHostedZoneProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class PublicHostedZone( * @param opts options for creating the DNS record, if any. */ public open fun addDelegation(`delegate`: IPublicHostedZone) { - unwrap(this).addDelegation(`delegate`.let(IPublicHostedZone::unwrap)) + unwrap(this).addDelegation(`delegate`.let(IPublicHostedZone.Companion::unwrap)) } /** @@ -82,8 +82,8 @@ public open class PublicHostedZone( * @param opts options for creating the DNS record, if any. */ public open fun addDelegation(`delegate`: IPublicHostedZone, opts: ZoneDelegationOptions) { - unwrap(this).addDelegation(`delegate`.let(IPublicHostedZone::unwrap), - opts.let(ZoneDelegationOptions::unwrap)) + unwrap(this).addDelegation(`delegate`.let(IPublicHostedZone.Companion::unwrap), + opts.let(ZoneDelegationOptions.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class PublicHostedZone( * @param _vpc */ public override fun addVpc(vpc: IVpc) { - unwrap(this).addVpc(vpc.let(IVpc::unwrap)) + unwrap(this).addVpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class PublicHostedZone( @Deprecated(message = "deprecated in CDK") override fun crossAccountZoneDelegationPrincipal(crossAccountZoneDelegationPrincipal: IPrincipal) { - cdkBuilder.crossAccountZoneDelegationPrincipal(crossAccountZoneDelegationPrincipal.let(IPrincipal::unwrap)) + cdkBuilder.crossAccountZoneDelegationPrincipal(crossAccountZoneDelegationPrincipal.let(IPrincipal.Companion::unwrap)) } /** @@ -323,8 +323,8 @@ public open class PublicHostedZone( id: String, attrs: PublicHostedZoneAttributes, ): IPublicHostedZone = - software.amazon.awscdk.services.route53.PublicHostedZone.fromPublicHostedZoneAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(PublicHostedZoneAttributes::unwrap)).let(IPublicHostedZone::wrap) + software.amazon.awscdk.services.route53.PublicHostedZone.fromPublicHostedZoneAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(PublicHostedZoneAttributes.Companion::unwrap)).let(IPublicHostedZone::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("06cb4baac981ad1dbf446227d98c9cfd34ba1dbb37d9b99936ef13730db60f6b") @@ -340,7 +340,7 @@ public open class PublicHostedZone( id: String, publicHostedZoneId: String, ): IPublicHostedZone = - software.amazon.awscdk.services.route53.PublicHostedZone.fromPublicHostedZoneId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.route53.PublicHostedZone.fromPublicHostedZoneId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, publicHostedZoneId).let(IPublicHostedZone::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZoneProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZoneProps.kt index 5e7990e9f5..ca9be83b79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZoneProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/PublicHostedZoneProps.kt @@ -203,7 +203,7 @@ public interface PublicHostedZoneProps : CommonHostedZoneProps { @Deprecated(message = "deprecated in CDK") override fun crossAccountZoneDelegationPrincipal(crossAccountZoneDelegationPrincipal: IPrincipal) { - cdkBuilder.crossAccountZoneDelegationPrincipal(crossAccountZoneDelegationPrincipal.let(IPrincipal::unwrap)) + cdkBuilder.crossAccountZoneDelegationPrincipal(crossAccountZoneDelegationPrincipal.let(IPrincipal.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSet.kt index 5725a8957c..a911852dd6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSet.kt @@ -50,8 +50,8 @@ public open class RecordSet( id: String, props: RecordSetProps, ) : - this(software.amazon.awscdk.services.route53.RecordSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RecordSetProps::unwrap)) + this(software.amazon.awscdk.services.route53.RecordSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RecordSetProps.Companion::unwrap)) ) public constructor( @@ -271,7 +271,7 @@ public open class RecordSet( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public open class RecordSet( * @param recordType The record type. */ override fun recordType(recordType: RecordType) { - cdkBuilder.recordType(recordType.let(RecordType::unwrap)) + cdkBuilder.recordType(recordType.let(RecordType.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class RecordSet( * `RecordTarget.fromAlias()`. */ override fun target(target: RecordTarget) { - cdkBuilder.target(target.let(RecordTarget::unwrap)) + cdkBuilder.target(target.let(RecordTarget.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public open class RecordSet( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public open class RecordSet( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.RecordSet = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetOptions.kt index b2cda6e527..55b05b6a96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetOptions.kt @@ -276,7 +276,7 @@ public interface RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.RecordSetOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetProps.kt index 65e8a47136..aa5ace8779 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordSetProps.kt @@ -190,7 +190,7 @@ public interface RecordSetProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface RecordSetProps : RecordSetOptions { * @param recordType The record type. */ override fun recordType(recordType: RecordType) { - cdkBuilder.recordType(recordType.let(RecordType::unwrap)) + cdkBuilder.recordType(recordType.let(RecordType.Companion::unwrap)) } /** @@ -253,14 +253,14 @@ public interface RecordSetProps : RecordSetOptions { * `RecordTarget.fromAlias()`. */ override fun target(target: RecordTarget) { - cdkBuilder.target(target.let(RecordTarget::unwrap)) + cdkBuilder.target(target.let(RecordTarget.Companion::unwrap)) } /** * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface RecordSetProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.RecordSetProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordTarget.kt index 404a6f41ef..5454c11e05 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/RecordTarget.kt @@ -37,7 +37,7 @@ public open class RecordTarget( public companion object { public fun fromAlias(aliasTarget: IAliasRecordTarget): RecordTarget = - software.amazon.awscdk.services.route53.RecordTarget.fromAlias(aliasTarget.let(IAliasRecordTarget::unwrap)).let(RecordTarget::wrap) + software.amazon.awscdk.services.route53.RecordTarget.fromAlias(aliasTarget.let(IAliasRecordTarget.Companion::unwrap)).let(RecordTarget::wrap) public fun fromIpAddresses(ipAddresses: String): RecordTarget = software.amazon.awscdk.services.route53.RecordTarget.fromIpAddresses(ipAddresses).let(RecordTarget::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecord.kt index 8a62d257d3..9b31872911 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecord.kt @@ -53,8 +53,8 @@ public open class SrvRecord( id: String, props: SrvRecordProps, ) : - this(software.amazon.awscdk.services.route53.SrvRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SrvRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.SrvRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SrvRecordProps.Companion::unwrap)) ) public constructor( @@ -268,7 +268,7 @@ public open class SrvRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class SrvRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class SrvRecord( * @param values The values. */ override fun values(values: List) { - cdkBuilder.values(values.map(SrvRecordValue::unwrap)) + cdkBuilder.values(values.map(SrvRecordValue.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class SrvRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.SrvRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecordProps.kt index ab2573d247..c476f929b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/SrvRecordProps.kt @@ -188,7 +188,7 @@ public interface SrvRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -243,14 +243,14 @@ public interface SrvRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** * @param values The values. */ override fun values(values: List) { - cdkBuilder.values(values.map(SrvRecordValue::unwrap)) + cdkBuilder.values(values.map(SrvRecordValue.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface SrvRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.SrvRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecord.kt index bbc0fd90c4..9193fdf345 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecord.kt @@ -38,8 +38,8 @@ public open class TxtRecord( id: String, props: TxtRecordProps, ) : - this(software.amazon.awscdk.services.route53.TxtRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TxtRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.TxtRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TxtRecordProps.Companion::unwrap)) ) public constructor( @@ -253,7 +253,7 @@ public open class TxtRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class TxtRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class TxtRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.TxtRecord = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecordProps.kt index 822904727a..745c4c8012 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/TxtRecordProps.kt @@ -173,7 +173,7 @@ public interface TxtRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface TxtRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface TxtRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.TxtRecordProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainName.kt index ada980a420..24330a1a5f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainName.kt @@ -34,8 +34,8 @@ public open class VpcEndpointServiceDomainName( id: String, props: VpcEndpointServiceDomainNameProps, ) : - this(software.amazon.awscdk.services.route53.VpcEndpointServiceDomainName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VpcEndpointServiceDomainNameProps::unwrap)) + this(software.amazon.awscdk.services.route53.VpcEndpointServiceDomainName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VpcEndpointServiceDomainNameProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class VpcEndpointServiceDomainName( * @param endpointService The VPC Endpoint Service to configure Private DNS for. */ override fun endpointService(endpointService: IVpcEndpointService) { - cdkBuilder.endpointService(endpointService.let(IVpcEndpointService::unwrap)) + cdkBuilder.endpointService(endpointService.let(IVpcEndpointService.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class VpcEndpointServiceDomainName( * @param publicHostedZone The public hosted zone to use for the domain. */ override fun publicHostedZone(publicHostedZone: IPublicHostedZone) { - cdkBuilder.publicHostedZone(publicHostedZone.let(IPublicHostedZone::unwrap)) + cdkBuilder.publicHostedZone(publicHostedZone.let(IPublicHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.VpcEndpointServiceDomainName = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainNameProps.kt index 5e6a5f6a65..585dbb248e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/VpcEndpointServiceDomainNameProps.kt @@ -91,14 +91,14 @@ public interface VpcEndpointServiceDomainNameProps { * @param endpointService The VPC Endpoint Service to configure Private DNS for. */ override fun endpointService(endpointService: IVpcEndpointService) { - cdkBuilder.endpointService(endpointService.let(IVpcEndpointService::unwrap)) + cdkBuilder.endpointService(endpointService.let(IVpcEndpointService.Companion::unwrap)) } /** * @param publicHostedZone The public hosted zone to use for the domain. */ override fun publicHostedZone(publicHostedZone: IPublicHostedZone) { - cdkBuilder.publicHostedZone(publicHostedZone.let(IPublicHostedZone::unwrap)) + cdkBuilder.publicHostedZone(publicHostedZone.let(IPublicHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.VpcEndpointServiceDomainNameProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationOptions.kt index 51d4521de1..79dece57d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationOptions.kt @@ -71,7 +71,7 @@ public interface ZoneDelegationOptions { * @param ttl The TTL (Time To Live) of the DNS delegation record in DNS caches. */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.ZoneDelegationOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecord.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecord.kt index 9f7b833c78..8b926695d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecord.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecord.kt @@ -49,8 +49,8 @@ public open class ZoneDelegationRecord( id: String, props: ZoneDelegationRecordProps, ) : - this(software.amazon.awscdk.services.route53.ZoneDelegationRecord(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ZoneDelegationRecordProps::unwrap)) + this(software.amazon.awscdk.services.route53.ZoneDelegationRecord(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ZoneDelegationRecordProps.Companion::unwrap)) ) public constructor( @@ -264,7 +264,7 @@ public open class ZoneDelegationRecord( * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class ZoneDelegationRecord( * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public open class ZoneDelegationRecord( * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.ZoneDelegationRecord = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecordProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecordProps.kt index 38b6954d59..99f177d5e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecordProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneDelegationRecordProps.kt @@ -184,7 +184,7 @@ public interface ZoneDelegationRecordProps : RecordSetOptions { * user's location. */ override fun geoLocation(geoLocation: GeoLocation) { - cdkBuilder.geoLocation(geoLocation.let(GeoLocation::unwrap)) + cdkBuilder.geoLocation(geoLocation.let(GeoLocation.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface ZoneDelegationRecordProps : RecordSetOptions { * @param ttl The resource record cache time to live (TTL). */ override fun ttl(ttl: Duration) { - cdkBuilder.ttl(ttl.let(Duration::unwrap)) + cdkBuilder.ttl(ttl.let(Duration.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface ZoneDelegationRecordProps : RecordSetOptions { * @param zone The hosted zone in which to define the new record. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.ZoneDelegationRecordProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneSigningOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneSigningOptions.kt index 34bdeda06a..59448c9f06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneSigningOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/ZoneSigningOptions.kt @@ -83,7 +83,7 @@ public interface ZoneSigningOptions { * KMS key must be an asymetric customer-managed key using the ECC_NIST_P256 algorithm. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.ZoneSigningOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirect.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirect.kt index 91ce899953..57eeafeba6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirect.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirect.kt @@ -37,8 +37,8 @@ public open class HttpsRedirect( id: String, props: HttpsRedirectProps, ) : - this(software.amazon.awscdk.services.route53.patterns.HttpsRedirect(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpsRedirectProps::unwrap)) + this(software.amazon.awscdk.services.route53.patterns.HttpsRedirect(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpsRedirectProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class HttpsRedirect( * the CloudFront distribution that will be created. */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class HttpsRedirect( * domain names in the hosted zone to the target domain. */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.patterns.HttpsRedirect = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirectProps.kt index 706aeb84ff..7d479a53de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/patterns/HttpsRedirectProps.kt @@ -124,7 +124,7 @@ public interface HttpsRedirectProps { * stored in us-east-1 (N. Virginia) */ override fun certificate(certificate: ICertificate) { - cdkBuilder.certificate(certificate.let(ICertificate::unwrap)) + cdkBuilder.certificate(certificate.let(ICertificate.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface HttpsRedirectProps { * and its subdomains (acme.example.com, zenith.example.com). */ override fun zone(zone: IHostedZone) { - cdkBuilder.zone(zone.let(IHostedZone::unwrap)) + cdkBuilder.zone(zone.let(IHostedZone.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.route53.patterns.HttpsRedirectProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGateway.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGateway.kt index ab7a993248..e7dcf3801f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGateway.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGateway.kt @@ -28,7 +28,7 @@ public open class ApiGateway( cdkObject: software.amazon.awscdk.services.route53.targets.ApiGateway, ) : ApiGatewayDomain(cdkObject) { public constructor(api: RestApiBase) : - this(software.amazon.awscdk.services.route53.targets.ApiGateway(api.let(RestApiBase::unwrap)) + this(software.amazon.awscdk.services.route53.targets.ApiGateway(api.let(RestApiBase.Companion::unwrap)) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayDomain.kt index d987bc6a71..acf187dbad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayDomain.kt @@ -32,7 +32,7 @@ public open class ApiGatewayDomain( cdkObject: software.amazon.awscdk.services.route53.targets.ApiGatewayDomain, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(domainName: IDomainName) : - this(software.amazon.awscdk.services.route53.targets.ApiGatewayDomain(domainName.let(IDomainName::unwrap)) + this(software.amazon.awscdk.services.route53.targets.ApiGatewayDomain(domainName.let(IDomainName.Companion::unwrap)) ) /** @@ -42,7 +42,7 @@ public open class ApiGatewayDomain( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -51,8 +51,8 @@ public open class ApiGatewayDomain( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.route53.targets.ApiGatewayDomain): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayv2DomainProperties.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayv2DomainProperties.kt index f1a831781b..b9e6c0688c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayv2DomainProperties.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ApiGatewayv2DomainProperties.kt @@ -41,7 +41,7 @@ public open class ApiGatewayv2DomainProperties( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -50,8 +50,8 @@ public open class ApiGatewayv2DomainProperties( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/BucketWebsiteTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/BucketWebsiteTarget.kt index 375306ae71..42e10a2f23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/BucketWebsiteTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/BucketWebsiteTarget.kt @@ -37,7 +37,7 @@ public open class BucketWebsiteTarget( cdkObject: software.amazon.awscdk.services.route53.targets.BucketWebsiteTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(bucket: IBucket) : - this(software.amazon.awscdk.services.route53.targets.BucketWebsiteTarget(bucket.let(IBucket::unwrap)) + this(software.amazon.awscdk.services.route53.targets.BucketWebsiteTarget(bucket.let(IBucket.Companion::unwrap)) ) /** @@ -47,7 +47,7 @@ public open class BucketWebsiteTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -56,8 +56,8 @@ public open class BucketWebsiteTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ClassicLoadBalancerTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ClassicLoadBalancerTarget.kt index 12137732cd..5c5b48eda2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ClassicLoadBalancerTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ClassicLoadBalancerTarget.kt @@ -28,7 +28,7 @@ public open class ClassicLoadBalancerTarget( cdkObject: software.amazon.awscdk.services.route53.targets.ClassicLoadBalancerTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(loadBalancer: LoadBalancer) : - this(software.amazon.awscdk.services.route53.targets.ClassicLoadBalancerTarget(loadBalancer.let(LoadBalancer::unwrap)) + this(software.amazon.awscdk.services.route53.targets.ClassicLoadBalancerTarget(loadBalancer.let(LoadBalancer.Companion::unwrap)) ) /** @@ -38,7 +38,7 @@ public open class ClassicLoadBalancerTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -47,8 +47,8 @@ public open class ClassicLoadBalancerTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/CloudFrontTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/CloudFrontTarget.kt index 73f4bf1203..e2af5464be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/CloudFrontTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/CloudFrontTarget.kt @@ -30,7 +30,7 @@ public open class CloudFrontTarget( cdkObject: software.amazon.awscdk.services.route53.targets.CloudFrontTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(distribution: IDistribution) : - this(software.amazon.awscdk.services.route53.targets.CloudFrontTarget(distribution.let(IDistribution::unwrap)) + this(software.amazon.awscdk.services.route53.targets.CloudFrontTarget(distribution.let(IDistribution.Companion::unwrap)) ) /** @@ -40,7 +40,7 @@ public open class CloudFrontTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -49,15 +49,15 @@ public open class CloudFrontTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { public val CLOUDFRONT_ZONE_ID: String = software.amazon.awscdk.services.route53.targets.CloudFrontTarget.CLOUDFRONT_ZONE_ID public fun hostedZoneId(scope: IConstruct): String = - software.amazon.awscdk.services.route53.targets.CloudFrontTarget.getHostedZoneId(scope.let(IConstruct::unwrap)) + software.amazon.awscdk.services.route53.targets.CloudFrontTarget.getHostedZoneId(scope.let(IConstruct.Companion::unwrap)) internal fun wrap(cdkObject: software.amazon.awscdk.services.route53.targets.CloudFrontTarget): CloudFrontTarget = CloudFrontTarget(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ElasticBeanstalkEnvironmentEndpointTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ElasticBeanstalkEnvironmentEndpointTarget.kt index e6e48e51d3..c9d19ea692 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ElasticBeanstalkEnvironmentEndpointTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/ElasticBeanstalkEnvironmentEndpointTarget.kt @@ -41,7 +41,7 @@ public open class ElasticBeanstalkEnvironmentEndpointTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -50,8 +50,8 @@ public open class ElasticBeanstalkEnvironmentEndpointTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorDomainTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorDomainTarget.kt index bd08a4ada2..2a2a9973bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorDomainTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorDomainTarget.kt @@ -36,7 +36,7 @@ public open class GlobalAcceleratorDomainTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -45,8 +45,8 @@ public open class GlobalAcceleratorDomainTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { public val GLOBAL_ACCELERATOR_ZONE_ID: String = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorTarget.kt index e5450a9b8b..695a396561 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/GlobalAcceleratorTarget.kt @@ -23,7 +23,7 @@ public open class GlobalAcceleratorTarget( cdkObject: software.amazon.awscdk.services.route53.targets.GlobalAcceleratorTarget, ) : GlobalAcceleratorDomainTarget(cdkObject) { public constructor(accelerator: IAccelerator) : - this(software.amazon.awscdk.services.route53.targets.GlobalAcceleratorTarget(accelerator.let(IAccelerator::unwrap)) + this(software.amazon.awscdk.services.route53.targets.GlobalAcceleratorTarget(accelerator.let(IAccelerator.Companion::unwrap)) ) public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/InterfaceVpcEndpointTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/InterfaceVpcEndpointTarget.kt index 1701e22b53..a6f2cc7172 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/InterfaceVpcEndpointTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/InterfaceVpcEndpointTarget.kt @@ -28,7 +28,7 @@ public open class InterfaceVpcEndpointTarget( cdkObject: software.amazon.awscdk.services.route53.targets.InterfaceVpcEndpointTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(vpcEndpoint: InterfaceVpcEndpoint) : - this(software.amazon.awscdk.services.route53.targets.InterfaceVpcEndpointTarget(vpcEndpoint.let(InterfaceVpcEndpoint::unwrap)) + this(software.amazon.awscdk.services.route53.targets.InterfaceVpcEndpointTarget(vpcEndpoint.let(InterfaceVpcEndpoint.Companion::unwrap)) ) /** @@ -38,7 +38,7 @@ public open class InterfaceVpcEndpointTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -47,8 +47,8 @@ public open class InterfaceVpcEndpointTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/LoadBalancerTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/LoadBalancerTarget.kt index 454f3358ab..84201a3b87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/LoadBalancerTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/LoadBalancerTarget.kt @@ -28,7 +28,7 @@ public open class LoadBalancerTarget( cdkObject: software.amazon.awscdk.services.route53.targets.LoadBalancerTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(loadBalancer: ILoadBalancerV2) : - this(software.amazon.awscdk.services.route53.targets.LoadBalancerTarget(loadBalancer.let(ILoadBalancerV2::unwrap)) + this(software.amazon.awscdk.services.route53.targets.LoadBalancerTarget(loadBalancer.let(ILoadBalancerV2.Companion::unwrap)) ) /** @@ -38,7 +38,7 @@ public open class LoadBalancerTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -47,8 +47,8 @@ public open class LoadBalancerTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/Route53RecordTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/Route53RecordTarget.kt index 4823d41405..f849a2573d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/Route53RecordTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/Route53RecordTarget.kt @@ -26,7 +26,7 @@ public open class Route53RecordTarget( cdkObject: software.amazon.awscdk.services.route53.targets.Route53RecordTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(record: IRecordSet) : - this(software.amazon.awscdk.services.route53.targets.Route53RecordTarget(record.let(IRecordSet::unwrap)) + this(software.amazon.awscdk.services.route53.targets.Route53RecordTarget(record.let(IRecordSet.Companion::unwrap)) ) /** @@ -36,7 +36,7 @@ public open class Route53RecordTarget( * @param zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -45,8 +45,8 @@ public open class Route53RecordTarget( * @param zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/UserPoolDomainTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/UserPoolDomainTarget.kt index 0fbcf511d7..83043d34f4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/UserPoolDomainTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53/targets/UserPoolDomainTarget.kt @@ -28,7 +28,7 @@ public open class UserPoolDomainTarget( cdkObject: software.amazon.awscdk.services.route53.targets.UserPoolDomainTarget, ) : CdkObject(cdkObject), IAliasRecordTarget { public constructor(domain: UserPoolDomain) : - this(software.amazon.awscdk.services.route53.targets.UserPoolDomainTarget(domain.let(UserPoolDomain::unwrap)) + this(software.amazon.awscdk.services.route53.targets.UserPoolDomainTarget(domain.let(UserPoolDomain.Companion::unwrap)) ) /** @@ -38,7 +38,7 @@ public open class UserPoolDomainTarget( * @param _zone */ public override fun bind(record: IRecordSet): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. @@ -47,8 +47,8 @@ public open class UserPoolDomainTarget( * @param _zone */ public override fun bind(record: IRecordSet, zone: IHostedZone): AliasRecordTargetConfig = - unwrap(this).bind(record.let(IRecordSet::unwrap), - zone.let(IHostedZone::unwrap)).let(AliasRecordTargetConfig::wrap) + unwrap(this).bind(record.let(IRecordSet.Companion::unwrap), + zone.let(IHostedZone.Companion::unwrap)).let(AliasRecordTargetConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfile.kt new file mode 100644 index 0000000000..b3ad3fb37d --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfile.kt @@ -0,0 +1,206 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53profiles + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * A complex type that includes settings for a Route 53 Profile. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.route53profiles.*; + * CfnProfile cfnProfile = CfnProfile.Builder.create(this, "MyCfnProfile") + * .name("name") + * // the properties below are optional + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html) + */ +public open class CfnProfile( + cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfile, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnProfileProps, + ) : + this(software.amazon.awscdk.services.route53profiles.CfnProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfileProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnProfileProps.Builder.() -> Unit, + ) : this(scope, id, CfnProfileProps(props) + ) + + /** + * The Amazon Resource Name (ARN) of the Profile. + */ + public open fun attrArn(): String = unwrap(this).getAttrArn() + + /** + * The `ClientToken` value that was assigned when the Profile was created. + */ + public open fun attrClientToken(): String = unwrap(this).getAttrClientToken() + + /** + * ID of the Profile. + */ + public open fun attrId(): String = unwrap(this).getAttrId() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * Name of the Profile. + */ + public open fun name(): String = unwrap(this).getName() + + /** + * Name of the Profile. + */ + public open fun name(`value`: String) { + unwrap(this).setName(`value`) + } + + /** + * A list of the tag keys and values that you want to associate with the profile. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A list of the tag keys and values that you want to associate with the profile. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of the tag keys and values that you want to associate with the profile. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.route53profiles.CfnProfile]. + */ + @CdkDslMarker + public interface Builder { + /** + * Name of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-name) + * @param name Name of the Profile. + */ + public fun name(name: String) + + /** + * A list of the tag keys and values that you want to associate with the profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags) + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + public fun tags(tags: List) + + /** + * A list of the tag keys and values that you want to associate with the profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags) + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: software.amazon.awscdk.services.route53profiles.CfnProfile.Builder = + software.amazon.awscdk.services.route53profiles.CfnProfile.Builder.create(scope, id) + + /** + * Name of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-name) + * @param name Name of the Profile. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * A list of the tag keys and values that you want to associate with the profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags) + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * A list of the tag keys and values that you want to associate with the profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags) + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.route53profiles.CfnProfile = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.route53profiles.CfnProfile.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnProfile { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnProfile(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfile): + CfnProfile = CfnProfile(cdkObject) + + internal fun unwrap(wrapped: CfnProfile): + software.amazon.awscdk.services.route53profiles.CfnProfile = wrapped.cdkObject as + software.amazon.awscdk.services.route53profiles.CfnProfile + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileAssociation.kt new file mode 100644 index 0000000000..f57ba5736b --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileAssociation.kt @@ -0,0 +1,293 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53profiles + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.ITaggableV2 +import io.cloudshiftdev.awscdk.TagManager +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.String +import kotlin.Unit +import kotlin.collections.List +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * An association between a Route 53 Profile and a VPC. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.route53profiles.*; + * CfnProfileAssociation cfnProfileAssociation = CfnProfileAssociation.Builder.create(this, + * "MyCfnProfileAssociation") + * .name("name") + * .profileId("profileId") + * .resourceId("resourceId") + * // the properties below are optional + * .arn("arn") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html) + */ +public open class CfnProfileAssociation( + cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileAssociation, +) : CfnResource(cdkObject), IInspectable, ITaggableV2 { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnProfileAssociationProps, + ) : + this(software.amazon.awscdk.services.route53profiles.CfnProfileAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfileAssociationProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnProfileAssociationProps.Builder.() -> Unit, + ) : this(scope, id, CfnProfileAssociationProps(props) + ) + + /** + * The Amazon Resource Name (ARN) of the profile association to a VPC. + */ + public open fun arn(): String? = unwrap(this).getArn() + + /** + * The Amazon Resource Name (ARN) of the profile association to a VPC. + */ + public open fun arn(`value`: String) { + unwrap(this).setArn(`value`) + } + + /** + * ID of the Profile association. + */ + public open fun attrId(): String = unwrap(this).getAttrId() + + /** + * Tag Manager which manages the tags for this resource. + */ + public override fun cdkTagManager(): TagManager = + unwrap(this).getCdkTagManager().let(TagManager::wrap) + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * Name of the Profile association. + */ + public open fun name(): String = unwrap(this).getName() + + /** + * Name of the Profile association. + */ + public open fun name(`value`: String) { + unwrap(this).setName(`value`) + } + + /** + * ID of the Profile. + */ + public open fun profileId(): String = unwrap(this).getProfileId() + + /** + * ID of the Profile. + */ + public open fun profileId(`value`: String) { + unwrap(this).setProfileId(`value`) + } + + /** + * The Amazon Resource Name (ARN) of the VPC. + */ + public open fun resourceId(): String = unwrap(this).getResourceId() + + /** + * The Amazon Resource Name (ARN) of the VPC. + */ + public open fun resourceId(`value`: String) { + unwrap(this).setResourceId(`value`) + } + + /** + * An array of key-value pairs to apply to this resource. + */ + public open fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * An array of key-value pairs to apply to this resource. + */ + public open fun tags(`value`: List) { + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) + } + + /** + * An array of key-value pairs to apply to this resource. + */ + public open fun tags(vararg `value`: CfnTag): Unit = tags(`value`.toList()) + + /** + * A fluent builder for [io.cloudshiftdev.awscdk.services.route53profiles.CfnProfileAssociation]. + */ + @CdkDslMarker + public interface Builder { + /** + * The Amazon Resource Name (ARN) of the profile association to a VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-arn) + * @param arn The Amazon Resource Name (ARN) of the profile association to a VPC. + */ + public fun arn(arn: String) + + /** + * Name of the Profile association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-name) + * @param name Name of the Profile association. + */ + public fun name(name: String) + + /** + * ID of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-profileid) + * @param profileId ID of the Profile. + */ + public fun profileId(profileId: String) + + /** + * The Amazon Resource Name (ARN) of the VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-resourceid) + * @param resourceId The Amazon Resource Name (ARN) of the VPC. + */ + public fun resourceId(resourceId: String) + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(tags: List) + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.route53profiles.CfnProfileAssociation.Builder = + software.amazon.awscdk.services.route53profiles.CfnProfileAssociation.Builder.create(scope, + id) + + /** + * The Amazon Resource Name (ARN) of the profile association to a VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-arn) + * @param arn The Amazon Resource Name (ARN) of the profile association to a VPC. + */ + override fun arn(arn: String) { + cdkBuilder.arn(arn) + } + + /** + * Name of the Profile association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-name) + * @param name Name of the Profile association. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * ID of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-profileid) + * @param profileId ID of the Profile. + */ + override fun profileId(profileId: String) { + cdkBuilder.profileId(profileId) + } + + /** + * The Amazon Resource Name (ARN) of the VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-resourceid) + * @param resourceId The Amazon Resource Name (ARN) of the VPC. + */ + override fun resourceId(resourceId: String) { + cdkBuilder.resourceId(resourceId) + } + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags) + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.route53profiles.CfnProfileAssociation = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.route53profiles.CfnProfileAssociation.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnProfileAssociation { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnProfileAssociation(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileAssociation): + CfnProfileAssociation = CfnProfileAssociation(cdkObject) + + internal fun unwrap(wrapped: CfnProfileAssociation): + software.amazon.awscdk.services.route53profiles.CfnProfileAssociation = wrapped.cdkObject as + software.amazon.awscdk.services.route53profiles.CfnProfileAssociation + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileAssociationProps.kt new file mode 100644 index 0000000000..cda137db50 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileAssociationProps.kt @@ -0,0 +1,213 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53profiles + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit +import kotlin.collections.List + +/** + * Properties for defining a `CfnProfileAssociation`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.route53profiles.*; + * CfnProfileAssociationProps cfnProfileAssociationProps = CfnProfileAssociationProps.builder() + * .name("name") + * .profileId("profileId") + * .resourceId("resourceId") + * // the properties below are optional + * .arn("arn") + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html) + */ +public interface CfnProfileAssociationProps { + /** + * The Amazon Resource Name (ARN) of the profile association to a VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-arn) + */ + public fun arn(): String? = unwrap(this).getArn() + + /** + * Name of the Profile association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-name) + */ + public fun name(): String + + /** + * ID of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-profileid) + */ + public fun profileId(): String + + /** + * The Amazon Resource Name (ARN) of the VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-resourceid) + */ + public fun resourceId(): String + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A builder for [CfnProfileAssociationProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param arn The Amazon Resource Name (ARN) of the profile association to a VPC. + */ + public fun arn(arn: String) + + /** + * @param name Name of the Profile association. + */ + public fun name(name: String) + + /** + * @param profileId ID of the Profile. + */ + public fun profileId(profileId: String) + + /** + * @param resourceId The Amazon Resource Name (ARN) of the VPC. + */ + public fun resourceId(resourceId: String) + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(tags: List) + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps.Builder = + software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps.builder() + + /** + * @param arn The Amazon Resource Name (ARN) of the profile association to a VPC. + */ + override fun arn(arn: String) { + cdkBuilder.arn(arn) + } + + /** + * @param name Name of the Profile association. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param profileId ID of the Profile. + */ + override fun profileId(profileId: String) { + cdkBuilder.profileId(profileId) + } + + /** + * @param resourceId The Amazon Resource Name (ARN) of the VPC. + */ + override fun resourceId(resourceId: String) { + cdkBuilder.resourceId(resourceId) + } + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags An array of key-value pairs to apply to this resource. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps, + ) : CdkObject(cdkObject), CfnProfileAssociationProps { + /** + * The Amazon Resource Name (ARN) of the profile association to a VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-arn) + */ + override fun arn(): String? = unwrap(this).getArn() + + /** + * Name of the Profile association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * ID of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-profileid) + */ + override fun profileId(): String = unwrap(this).getProfileId() + + /** + * The Amazon Resource Name (ARN) of the VPC. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-resourceid) + */ + override fun resourceId(): String = unwrap(this).getResourceId() + + /** + * An array of key-value pairs to apply to this resource. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnProfileAssociationProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps): + CfnProfileAssociationProps = CdkObjectWrappers.wrap(cdkObject) as? + CfnProfileAssociationProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnProfileAssociationProps): + software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps = (wrapped as + CdkObject).cdkObject as + software.amazon.awscdk.services.route53profiles.CfnProfileAssociationProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileProps.kt new file mode 100644 index 0000000000..d0ee9fa6e5 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileProps.kt @@ -0,0 +1,129 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53profiles + +import io.cloudshiftdev.awscdk.CfnTag +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit +import kotlin.collections.List + +/** + * Properties for defining a `CfnProfile`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.route53profiles.*; + * CfnProfileProps cfnProfileProps = CfnProfileProps.builder() + * .name("name") + * // the properties below are optional + * .tags(List.of(CfnTag.builder() + * .key("key") + * .value("value") + * .build())) + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html) + */ +public interface CfnProfileProps { + /** + * Name of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-name) + */ + public fun name(): String + + /** + * A list of the tag keys and values that you want to associate with the profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags) + */ + public fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + + /** + * A builder for [CfnProfileProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param name Name of the Profile. + */ + public fun name(name: String) + + /** + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + public fun tags(tags: List) + + /** + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + public fun tags(vararg tags: CfnTag) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: software.amazon.awscdk.services.route53profiles.CfnProfileProps.Builder + = software.amazon.awscdk.services.route53profiles.CfnProfileProps.builder() + + /** + * @param name Name of the Profile. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + override fun tags(tags: List) { + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) + } + + /** + * @param tags A list of the tag keys and values that you want to associate with the profile. + */ + override fun tags(vararg tags: CfnTag): Unit = tags(tags.toList()) + + public fun build(): software.amazon.awscdk.services.route53profiles.CfnProfileProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileProps, + ) : CdkObject(cdkObject), CfnProfileProps { + /** + * Name of the Profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * A list of the tag keys and values that you want to associate with the profile. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags) + */ + override fun tags(): List = unwrap(this).getTags()?.map(CfnTag::wrap) ?: emptyList() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnProfileProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal fun wrap(cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileProps): + CfnProfileProps = CdkObjectWrappers.wrap(cdkObject) as? CfnProfileProps ?: + Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnProfileProps): + software.amazon.awscdk.services.route53profiles.CfnProfileProps = (wrapped as + CdkObject).cdkObject as software.amazon.awscdk.services.route53profiles.CfnProfileProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileResourceAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileResourceAssociation.kt new file mode 100644 index 0000000000..af7f987833 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileResourceAssociation.kt @@ -0,0 +1,238 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53profiles + +import io.cloudshiftdev.awscdk.CfnResource +import io.cloudshiftdev.awscdk.IInspectable +import io.cloudshiftdev.awscdk.TreeInspector +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import kotlin.String +import kotlin.Unit +import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct +import software.constructs.Construct as SoftwareConstructsConstruct + +/** + * The association between a Route 53 Profile and resources. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.route53profiles.*; + * CfnProfileResourceAssociation cfnProfileResourceAssociation = + * CfnProfileResourceAssociation.Builder.create(this, "MyCfnProfileResourceAssociation") + * .name("name") + * .profileId("profileId") + * .resourceArn("resourceArn") + * // the properties below are optional + * .resourceProperties("resourceProperties") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html) + */ +public open class CfnProfileResourceAssociation( + cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation, +) : CfnResource(cdkObject), IInspectable { + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnProfileResourceAssociationProps, + ) : + this(software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfileResourceAssociationProps.Companion::unwrap)) + ) + + public constructor( + scope: CloudshiftdevConstructsConstruct, + id: String, + props: CfnProfileResourceAssociationProps.Builder.() -> Unit, + ) : this(scope, id, CfnProfileResourceAssociationProps(props) + ) + + /** + * ID of the Profile resource association. + */ + public open fun attrId(): String = unwrap(this).getAttrId() + + /** + * Resource type, such as a private hosted zone, or DNS Firewall rule group. + */ + public open fun attrResourceType(): String = unwrap(this).getAttrResourceType() + + /** + * Examines the CloudFormation resource and discloses attributes. + * + * @param inspector tree inspector to collect and process attributes. + */ + public override fun inspect(inspector: TreeInspector) { + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * Name of the Profile resource association. + */ + public open fun name(): String = unwrap(this).getName() + + /** + * Name of the Profile resource association. + */ + public open fun name(`value`: String) { + unwrap(this).setName(`value`) + } + + /** + * Profile ID of the Profile that the resources are associated with. + */ + public open fun profileId(): String = unwrap(this).getProfileId() + + /** + * Profile ID of the Profile that the resources are associated with. + */ + public open fun profileId(`value`: String) { + unwrap(this).setProfileId(`value`) + } + + /** + * The Amazon Resource Name (ARN) of the resource association. + */ + public open fun resourceArn(): String = unwrap(this).getResourceArn() + + /** + * The Amazon Resource Name (ARN) of the resource association. + */ + public open fun resourceArn(`value`: String) { + unwrap(this).setResourceArn(`value`) + } + + /** + * If the DNS resource is a DNS Firewall rule group, this indicates the priority. + */ + public open fun resourceProperties(): String? = unwrap(this).getResourceProperties() + + /** + * If the DNS resource is a DNS Firewall rule group, this indicates the priority. + */ + public open fun resourceProperties(`value`: String) { + unwrap(this).setResourceProperties(`value`) + } + + /** + * A fluent builder for + * [io.cloudshiftdev.awscdk.services.route53profiles.CfnProfileResourceAssociation]. + */ + @CdkDslMarker + public interface Builder { + /** + * Name of the Profile resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-name) + * @param name Name of the Profile resource association. + */ + public fun name(name: String) + + /** + * Profile ID of the Profile that the resources are associated with. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-profileid) + * @param profileId Profile ID of the Profile that the resources are associated with. + */ + public fun profileId(profileId: String) + + /** + * The Amazon Resource Name (ARN) of the resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourcearn) + * @param resourceArn The Amazon Resource Name (ARN) of the resource association. + */ + public fun resourceArn(resourceArn: String) + + /** + * If the DNS resource is a DNS Firewall rule group, this indicates the priority. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourceproperties) + * @param resourceProperties If the DNS resource is a DNS Firewall rule group, this indicates + * the priority. + */ + public fun resourceProperties(resourceProperties: String) + } + + private class BuilderImpl( + scope: SoftwareConstructsConstruct, + id: String, + ) : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation.Builder = + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation.Builder.create(scope, + id) + + /** + * Name of the Profile resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-name) + * @param name Name of the Profile resource association. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * Profile ID of the Profile that the resources are associated with. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-profileid) + * @param profileId Profile ID of the Profile that the resources are associated with. + */ + override fun profileId(profileId: String) { + cdkBuilder.profileId(profileId) + } + + /** + * The Amazon Resource Name (ARN) of the resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourcearn) + * @param resourceArn The Amazon Resource Name (ARN) of the resource association. + */ + override fun resourceArn(resourceArn: String) { + cdkBuilder.resourceArn(resourceArn) + } + + /** + * If the DNS resource is a DNS Firewall rule group, this indicates the priority. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourceproperties) + * @param resourceProperties If the DNS resource is a DNS Firewall rule group, this indicates + * the priority. + */ + override fun resourceProperties(resourceProperties: String) { + cdkBuilder.resourceProperties(resourceProperties) + } + + public fun build(): + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation = + cdkBuilder.build() + } + + public companion object { + public val CFN_RESOURCE_TYPE_NAME: String = + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation.CFN_RESOURCE_TYPE_NAME + + public operator fun invoke( + scope: CloudshiftdevConstructsConstruct, + id: String, + block: Builder.() -> Unit = {}, + ): CfnProfileResourceAssociation { + val builderImpl = BuilderImpl(CloudshiftdevConstructsConstruct.unwrap(scope), id) + return CfnProfileResourceAssociation(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation): + CfnProfileResourceAssociation = CfnProfileResourceAssociation(cdkObject) + + internal fun unwrap(wrapped: CfnProfileResourceAssociation): + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation = + wrapped.cdkObject as + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociation + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileResourceAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileResourceAssociationProps.kt new file mode 100644 index 0000000000..d727007e34 --- /dev/null +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53profiles/CfnProfileResourceAssociationProps.kt @@ -0,0 +1,175 @@ +@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") + +package io.cloudshiftdev.awscdk.services.route53profiles + +import io.cloudshiftdev.awscdk.common.CdkDslMarker +import io.cloudshiftdev.awscdk.common.CdkObject +import io.cloudshiftdev.awscdk.common.CdkObjectWrappers +import kotlin.String +import kotlin.Unit + +/** + * Properties for defining a `CfnProfileResourceAssociation`. + * + * Example: + * + * ``` + * // The code below shows an example of how to instantiate this type. + * // The values are placeholders you should change. + * import io.cloudshiftdev.awscdk.services.route53profiles.*; + * CfnProfileResourceAssociationProps cfnProfileResourceAssociationProps = + * CfnProfileResourceAssociationProps.builder() + * .name("name") + * .profileId("profileId") + * .resourceArn("resourceArn") + * // the properties below are optional + * .resourceProperties("resourceProperties") + * .build(); + * ``` + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html) + */ +public interface CfnProfileResourceAssociationProps { + /** + * Name of the Profile resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-name) + */ + public fun name(): String + + /** + * Profile ID of the Profile that the resources are associated with. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-profileid) + */ + public fun profileId(): String + + /** + * The Amazon Resource Name (ARN) of the resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourcearn) + */ + public fun resourceArn(): String + + /** + * If the DNS resource is a DNS Firewall rule group, this indicates the priority. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourceproperties) + */ + public fun resourceProperties(): String? = unwrap(this).getResourceProperties() + + /** + * A builder for [CfnProfileResourceAssociationProps] + */ + @CdkDslMarker + public interface Builder { + /** + * @param name Name of the Profile resource association. + */ + public fun name(name: String) + + /** + * @param profileId Profile ID of the Profile that the resources are associated with. + */ + public fun profileId(profileId: String) + + /** + * @param resourceArn The Amazon Resource Name (ARN) of the resource association. + */ + public fun resourceArn(resourceArn: String) + + /** + * @param resourceProperties If the DNS resource is a DNS Firewall rule group, this indicates + * the priority. + */ + public fun resourceProperties(resourceProperties: String) + } + + private class BuilderImpl : Builder { + private val cdkBuilder: + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps.Builder = + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps.builder() + + /** + * @param name Name of the Profile resource association. + */ + override fun name(name: String) { + cdkBuilder.name(name) + } + + /** + * @param profileId Profile ID of the Profile that the resources are associated with. + */ + override fun profileId(profileId: String) { + cdkBuilder.profileId(profileId) + } + + /** + * @param resourceArn The Amazon Resource Name (ARN) of the resource association. + */ + override fun resourceArn(resourceArn: String) { + cdkBuilder.resourceArn(resourceArn) + } + + /** + * @param resourceProperties If the DNS resource is a DNS Firewall rule group, this indicates + * the priority. + */ + override fun resourceProperties(resourceProperties: String) { + cdkBuilder.resourceProperties(resourceProperties) + } + + public fun build(): + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps = + cdkBuilder.build() + } + + private class Wrapper( + cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps, + ) : CdkObject(cdkObject), CfnProfileResourceAssociationProps { + /** + * Name of the Profile resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-name) + */ + override fun name(): String = unwrap(this).getName() + + /** + * Profile ID of the Profile that the resources are associated with. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-profileid) + */ + override fun profileId(): String = unwrap(this).getProfileId() + + /** + * The Amazon Resource Name (ARN) of the resource association. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourcearn) + */ + override fun resourceArn(): String = unwrap(this).getResourceArn() + + /** + * If the DNS resource is a DNS Firewall rule group, this indicates the priority. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourceproperties) + */ + override fun resourceProperties(): String? = unwrap(this).getResourceProperties() + } + + public companion object { + public operator fun invoke(block: Builder.() -> Unit = {}): CfnProfileResourceAssociationProps { + val builderImpl = BuilderImpl() + return Wrapper(builderImpl.apply(block).build()) + } + + internal + fun wrap(cdkObject: software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps): + CfnProfileResourceAssociationProps = CdkObjectWrappers.wrap(cdkObject) as? + CfnProfileResourceAssociationProps ?: Wrapper(cdkObject) + + internal fun unwrap(wrapped: CfnProfileResourceAssociationProps): + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps = + (wrapped as CdkObject).cdkObject as + software.amazon.awscdk.services.route53profiles.CfnProfileResourceAssociationProps + } +} diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnCluster.kt index feb975c007..a770c57ac2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnCluster.kt @@ -50,8 +50,8 @@ public open class CfnCluster( id: String, props: CfnClusterProps, ) : - this(software.amazon.awscdk.services.route53recoverycontrol.CfnCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnClusterProps::unwrap)) + this(software.amazon.awscdk.services.route53recoverycontrol.CfnCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnClusterProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnCluster( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnCluster( * The tags associated with the cluster. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnCluster( * @param tags The tags associated with the cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnClusterProps.kt index 31eb0c8ede..0caab791bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnClusterProps.kt @@ -90,7 +90,7 @@ public interface CfnClusterProps { * @param tags The tags associated with the cluster. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanel.kt index e645a73c80..4dc0279e77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanel.kt @@ -52,8 +52,8 @@ public open class CfnControlPanel( id: String, props: CfnControlPanelProps, ) : - this(software.amazon.awscdk.services.route53recoverycontrol.CfnControlPanel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnControlPanelProps::unwrap)) + this(software.amazon.awscdk.services.route53recoverycontrol.CfnControlPanel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnControlPanelProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnControlPanel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnControlPanel( * The tags associated with the control panel. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public open class CfnControlPanel( * @param tags The tags associated with the control panel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanelProps.kt index 2ba4d34122..11363210be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnControlPanelProps.kt @@ -107,7 +107,7 @@ public interface CfnControlPanelProps { * @param tags The tags associated with the control panel. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnRoutingControl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnRoutingControl.kt index bc053a4403..3e8467c546 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnRoutingControl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnRoutingControl.kt @@ -46,8 +46,8 @@ public open class CfnRoutingControl( id: String, props: CfnRoutingControlProps, ) : - this(software.amazon.awscdk.services.route53recoverycontrol.CfnRoutingControl(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRoutingControlProps::unwrap)) + this(software.amazon.awscdk.services.route53recoverycontrol.CfnRoutingControl(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRoutingControlProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnRoutingControl( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRule.kt index cc1ad86720..1208045902 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRule.kt @@ -85,8 +85,8 @@ public open class CfnSafetyRule( id: String, props: CfnSafetyRuleProps, ) : - this(software.amazon.awscdk.services.route53recoverycontrol.CfnSafetyRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSafetyRuleProps::unwrap)) + this(software.amazon.awscdk.services.route53recoverycontrol.CfnSafetyRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSafetyRuleProps.Companion::unwrap)) ) public constructor( @@ -107,7 +107,7 @@ public open class CfnSafetyRule( * that you set in the rule configuration is met. */ public open fun assertionRule(`value`: IResolvable) { - unwrap(this).setAssertionRule(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssertionRule(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnSafetyRule( * that you set in the rule configuration is met. */ public open fun assertionRule(`value`: AssertionRuleProperty) { - unwrap(this).setAssertionRule(`value`.let(AssertionRuleProperty::unwrap)) + unwrap(this).setAssertionRule(`value`.let(AssertionRuleProperty.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnSafetyRule( * control state changes to complete. */ public open fun gatingRule(`value`: IResolvable) { - unwrap(this).setGatingRule(`value`.let(IResolvable::unwrap)) + unwrap(this).setGatingRule(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnSafetyRule( * control state changes to complete. */ public open fun gatingRule(`value`: GatingRuleProperty) { - unwrap(this).setGatingRule(`value`.let(GatingRuleProperty::unwrap)) + unwrap(this).setGatingRule(`value`.let(GatingRuleProperty.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnSafetyRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnSafetyRule( * many control states must be `ON` as the result of a transaction. */ public open fun ruleConfig(`value`: IResolvable) { - unwrap(this).setRuleConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuleConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public open class CfnSafetyRule( * many control states must be `ON` as the result of a transaction. */ public open fun ruleConfig(`value`: RuleConfigProperty) { - unwrap(this).setRuleConfig(`value`.let(RuleConfigProperty::unwrap)) + unwrap(this).setRuleConfig(`value`.let(RuleConfigProperty.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnSafetyRule( * The tags associated with the safety rule. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnSafetyRule( * state, that the criteria that you set in the rule configuration is met. */ override fun assertionRule(assertionRule: IResolvable) { - cdkBuilder.assertionRule(assertionRule.let(IResolvable::unwrap)) + cdkBuilder.assertionRule(assertionRule.let(IResolvable.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnSafetyRule( * state, that the criteria that you set in the rule configuration is met. */ override fun assertionRule(assertionRule: AssertionRuleProperty) { - cdkBuilder.assertionRule(assertionRule.let(AssertionRuleProperty::unwrap)) + cdkBuilder.assertionRule(assertionRule.let(AssertionRuleProperty.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnSafetyRule( * allows a set of routing control state changes to complete. */ override fun gatingRule(gatingRule: IResolvable) { - cdkBuilder.gatingRule(gatingRule.let(IResolvable::unwrap)) + cdkBuilder.gatingRule(gatingRule.let(IResolvable.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class CfnSafetyRule( * allows a set of routing control state changes to complete. */ override fun gatingRule(gatingRule: GatingRuleProperty) { - cdkBuilder.gatingRule(gatingRule.let(GatingRuleProperty::unwrap)) + cdkBuilder.gatingRule(gatingRule.let(GatingRuleProperty.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class CfnSafetyRule( * controls) that designate how many control states must be `ON` as the result of a transaction. */ override fun ruleConfig(ruleConfig: IResolvable) { - cdkBuilder.ruleConfig(ruleConfig.let(IResolvable::unwrap)) + cdkBuilder.ruleConfig(ruleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -623,7 +623,7 @@ public open class CfnSafetyRule( * controls) that designate how many control states must be `ON` as the result of a transaction. */ override fun ruleConfig(ruleConfig: RuleConfigProperty) { - cdkBuilder.ruleConfig(ruleConfig.let(RuleConfigProperty::unwrap)) + cdkBuilder.ruleConfig(ruleConfig.let(RuleConfigProperty.Companion::unwrap)) } /** @@ -650,7 +650,7 @@ public open class CfnSafetyRule( * @param tags The tags associated with the safety rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1170,7 +1170,7 @@ public open class CfnSafetyRule( * If the rule would usually evaluate true, it's evaluated as false, and vice versa. */ override fun inverted(inverted: IResolvable) { - cdkBuilder.inverted(inverted.let(IResolvable::unwrap)) + cdkBuilder.inverted(inverted.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRuleProps.kt index 9f8b2c9c98..4fb7234473 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoverycontrol/CfnSafetyRuleProps.kt @@ -255,7 +255,7 @@ public interface CfnSafetyRuleProps { * fail-open scenario. */ override fun assertionRule(assertionRule: IResolvable) { - cdkBuilder.assertionRule(assertionRule.let(IResolvable::unwrap)) + cdkBuilder.assertionRule(assertionRule.let(IResolvable.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface CfnSafetyRuleProps { * fail-open scenario. */ override fun assertionRule(assertionRule: CfnSafetyRule.AssertionRuleProperty) { - cdkBuilder.assertionRule(assertionRule.let(CfnSafetyRule.AssertionRuleProperty::unwrap)) + cdkBuilder.assertionRule(assertionRule.let(CfnSafetyRule.AssertionRuleProperty.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface CfnSafetyRuleProps { * in the gating rule. */ override fun gatingRule(gatingRule: IResolvable) { - cdkBuilder.gatingRule(gatingRule.let(IResolvable::unwrap)) + cdkBuilder.gatingRule(gatingRule.let(IResolvable.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface CfnSafetyRuleProps { * in the gating rule. */ override fun gatingRule(gatingRule: CfnSafetyRule.GatingRuleProperty) { - cdkBuilder.gatingRule(gatingRule.let(CfnSafetyRule.GatingRuleProperty::unwrap)) + cdkBuilder.gatingRule(gatingRule.let(CfnSafetyRule.GatingRuleProperty.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface CfnSafetyRuleProps { * least two AWS Regions have traffic flowing to them. */ override fun ruleConfig(ruleConfig: IResolvable) { - cdkBuilder.ruleConfig(ruleConfig.let(IResolvable::unwrap)) + cdkBuilder.ruleConfig(ruleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public interface CfnSafetyRuleProps { * least two AWS Regions have traffic flowing to them. */ override fun ruleConfig(ruleConfig: CfnSafetyRule.RuleConfigProperty) { - cdkBuilder.ruleConfig(ruleConfig.let(CfnSafetyRule.RuleConfigProperty::unwrap)) + cdkBuilder.ruleConfig(ruleConfig.let(CfnSafetyRule.RuleConfigProperty.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public interface CfnSafetyRuleProps { * @param tags The tags associated with the safety rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCell.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCell.kt index 33dc7c7d5c..5d532b598d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCell.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCell.kt @@ -56,7 +56,7 @@ public open class CfnCell( cdkObject: software.amazon.awscdk.services.route53recoveryreadiness.CfnCell, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnCell(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnCell(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -65,8 +65,8 @@ public open class CfnCell( id: String, props: CfnCellProps, ) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnCell(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCellProps::unwrap)) + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnCell(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCellProps.Companion::unwrap)) ) public constructor( @@ -128,7 +128,7 @@ public open class CfnCell( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnCell( * A collection of tags associated with a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnCell( * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCellProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCellProps.kt index 0d97ba5ff2..a5146a5945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCellProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnCellProps.kt @@ -123,7 +123,7 @@ public interface CfnCellProps { * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheck.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheck.kt index 3a00345d25..114095e726 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheck.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheck.kt @@ -52,7 +52,7 @@ public open class CfnReadinessCheck( cdkObject: software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -61,8 +61,8 @@ public open class CfnReadinessCheck( id: String, props: CfnReadinessCheckProps, ) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReadinessCheckProps::unwrap)) + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReadinessCheckProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnReadinessCheck( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnReadinessCheck( * A collection of tags associated with a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnReadinessCheck( * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheckProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheckProps.kt index 6c5f93669f..5d80d2cef6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheckProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnReadinessCheckProps.kt @@ -102,7 +102,7 @@ public interface CfnReadinessCheckProps { * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroup.kt index 9c2f1aa521..0c0ea3be2f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroup.kt @@ -51,7 +51,7 @@ public open class CfnRecoveryGroup( cdkObject: software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnRecoveryGroup( id: String, props: CfnRecoveryGroupProps, ) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRecoveryGroupProps::unwrap)) + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnRecoveryGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRecoveryGroupProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnRecoveryGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnRecoveryGroup( * A collection of tags associated with a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public open class CfnRecoveryGroup( * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroupProps.kt index 0541eb0320..49fc26358a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnRecoveryGroupProps.kt @@ -112,7 +112,7 @@ public interface CfnRecoveryGroupProps { * @param tags A collection of tags associated with a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSet.kt index d607ba50ab..6d9ce3422f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSet.kt @@ -83,8 +83,8 @@ public open class CfnResourceSet( id: String, props: CfnResourceSetProps, ) : - this(software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceSetProps::unwrap)) + this(software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceSetProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnResourceSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnResourceSet( * A list of resource objects in the resource set. */ public open fun resources(`value`: IResolvable) { - unwrap(this).setResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setResources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnResourceSet( * A tag to associate with the parameters for a resource set. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnResourceSet( * @param resources A list of resource objects in the resource set. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnResourceSet( * @param tags A tag to associate with the parameters for a resource set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -524,14 +524,14 @@ public open class CfnResourceSet( * @param targetResource The target resource that the Route 53 record points to. */ override fun targetResource(targetResource: IResolvable) { - cdkBuilder.targetResource(targetResource.let(IResolvable::unwrap)) + cdkBuilder.targetResource(targetResource.let(IResolvable.Companion::unwrap)) } /** * @param targetResource The target resource that the Route 53 record points to. */ override fun targetResource(targetResource: TargetResourceProperty) { - cdkBuilder.targetResource(targetResource.let(TargetResourceProperty::unwrap)) + cdkBuilder.targetResource(targetResource.let(TargetResourceProperty.Companion::unwrap)) } /** @@ -947,7 +947,7 @@ public open class CfnResourceSet( * `ResourceSetType` setting. */ override fun dnsTargetResource(dnsTargetResource: IResolvable) { - cdkBuilder.dnsTargetResource(dnsTargetResource.let(IResolvable::unwrap)) + cdkBuilder.dnsTargetResource(dnsTargetResource.let(IResolvable.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnResourceSet( * `ResourceSetType` setting. */ override fun dnsTargetResource(dnsTargetResource: DNSTargetResourceProperty) { - cdkBuilder.dnsTargetResource(dnsTargetResource.let(DNSTargetResourceProperty::unwrap)) + cdkBuilder.dnsTargetResource(dnsTargetResource.let(DNSTargetResourceProperty.Companion::unwrap)) } /** @@ -1149,14 +1149,14 @@ public open class CfnResourceSet( * @param nlbResource The Network Load Balancer resource that a DNS target resource points to. */ override fun nlbResource(nlbResource: IResolvable) { - cdkBuilder.nlbResource(nlbResource.let(IResolvable::unwrap)) + cdkBuilder.nlbResource(nlbResource.let(IResolvable.Companion::unwrap)) } /** * @param nlbResource The Network Load Balancer resource that a DNS target resource points to. */ override fun nlbResource(nlbResource: NLBResourceProperty) { - cdkBuilder.nlbResource(nlbResource.let(NLBResourceProperty::unwrap)) + cdkBuilder.nlbResource(nlbResource.let(NLBResourceProperty.Companion::unwrap)) } /** @@ -1171,14 +1171,14 @@ public open class CfnResourceSet( * @param r53Resource The Route 53 resource that a DNS target resource record points to. */ override fun r53Resource(r53Resource: IResolvable) { - cdkBuilder.r53Resource(r53Resource.let(IResolvable::unwrap)) + cdkBuilder.r53Resource(r53Resource.let(IResolvable.Companion::unwrap)) } /** * @param r53Resource The Route 53 resource that a DNS target resource record points to. */ override fun r53Resource(r53Resource: R53ResourceRecordProperty) { - cdkBuilder.r53Resource(r53Resource.let(R53ResourceRecordProperty::unwrap)) + cdkBuilder.r53Resource(r53Resource.let(R53ResourceRecordProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSetProps.kt index c1ed081105..f8f1bb7ca6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53recoveryreadiness/CfnResourceSetProps.kt @@ -178,7 +178,7 @@ public interface CfnResourceSetProps { * @param resources A list of resource objects in the resource set. */ override fun resources(resources: IResolvable) { - cdkBuilder.resources(resources.let(IResolvable::unwrap)) + cdkBuilder.resources(resources.let(IResolvable.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface CfnResourceSetProps { * @param tags A tag to associate with the parameters for a resource set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainList.kt index a1ac263f21..65ed809e8f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainList.kt @@ -51,7 +51,7 @@ public open class CfnFirewallDomainList( cdkObject: software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnFirewallDomainList( id: String, props: CfnFirewallDomainListProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFirewallDomainListProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFirewallDomainListProps.Companion::unwrap)) ) public constructor( @@ -161,7 +161,7 @@ public open class CfnFirewallDomainList( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnFirewallDomainList( * A list of the tag keys and values that you want to associate with the domain list. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnFirewallDomainList( * list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainListProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainListProps.kt index 4132649e5d..69dd0a724b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainListProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallDomainListProps.kt @@ -145,7 +145,7 @@ public interface CfnFirewallDomainListProps { * list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroup.kt index a42b1f1577..15979d67b1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroup.kt @@ -61,7 +61,7 @@ public open class CfnFirewallRuleGroup( cdkObject: software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -70,8 +70,8 @@ public open class CfnFirewallRuleGroup( id: String, props: CfnFirewallRuleGroupProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFirewallRuleGroupProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFirewallRuleGroupProps.Companion::unwrap)) ) public constructor( @@ -151,7 +151,7 @@ public open class CfnFirewallRuleGroup( * A list of the rules that you have defined. */ public open fun firewallRules(`value`: IResolvable) { - unwrap(this).setFirewallRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setFirewallRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnFirewallRuleGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnFirewallRuleGroup( * A list of the tag keys and values that you want to associate with the rule group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -282,7 +282,7 @@ public open class CfnFirewallRuleGroup( * @param firewallRules A list of the rules that you have defined. */ override fun firewallRules(firewallRules: IResolvable) { - cdkBuilder.firewallRules(firewallRules.let(IResolvable::unwrap)) + cdkBuilder.firewallRules(firewallRules.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnFirewallRuleGroup( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociation.kt index c294602e99..12cbe86a93 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociation.kt @@ -50,8 +50,8 @@ public open class CfnFirewallRuleGroupAssociation( id: String, props: CfnFirewallRuleGroupAssociationProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroupAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFirewallRuleGroupAssociationProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnFirewallRuleGroupAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFirewallRuleGroupAssociationProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnFirewallRuleGroupAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnFirewallRuleGroupAssociation( * A list of the tag keys and values that you want to associate with the rule group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class CfnFirewallRuleGroupAssociation( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociationProps.kt index 571e59fd63..c637697202 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupAssociationProps.kt @@ -193,7 +193,7 @@ public interface CfnFirewallRuleGroupAssociationProps { * @param tags A list of the tag keys and values that you want to associate with the rule group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupProps.kt index 188b6e5fab..cfd3227c71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnFirewallRuleGroupProps.kt @@ -110,7 +110,7 @@ public interface CfnFirewallRuleGroupProps { * @param firewallRules A list of the rules that you have defined. */ override fun firewallRules(firewallRules: IResolvable) { - cdkBuilder.firewallRules(firewallRules.let(IResolvable::unwrap)) + cdkBuilder.firewallRules(firewallRules.let(IResolvable.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public interface CfnFirewallRuleGroupProps { * @param tags A list of the tag keys and values that you want to associate with the rule group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolver.kt index 29093fd28d..118de98961 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolver.kt @@ -49,8 +49,8 @@ public open class CfnOutpostResolver( id: String, props: CfnOutpostResolverProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnOutpostResolver(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnOutpostResolverProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnOutpostResolver(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnOutpostResolverProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnOutpostResolver( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class CfnOutpostResolver( * A key value pair that helps you identify a Route 53 Resolver . */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnOutpostResolver( * @param tags A key value pair that helps you identify a Route 53 Resolver . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolverProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolverProps.kt index f1dd5584bd..0e71de403f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolverProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnOutpostResolverProps.kt @@ -148,7 +148,7 @@ public interface CfnOutpostResolverProps { * @param tags A key value pair that helps you identify a Route 53 Resolver . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverConfig.kt index bc08c2c9e1..ca9efa9a35 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverConfig.kt @@ -37,8 +37,8 @@ public open class CfnResolverConfig( id: String, props: CfnResolverConfigProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverConfigProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverConfigProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnResolverConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverDNSSECConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverDNSSECConfig.kt index 1ab9c16aec..1e52a1a899 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverDNSSECConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverDNSSECConfig.kt @@ -33,7 +33,7 @@ public open class CfnResolverDNSSECConfig( cdkObject: software.amazon.awscdk.services.route53resolver.CfnResolverDNSSECConfig, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverDNSSECConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53resolver.CfnResolverDNSSECConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -42,8 +42,8 @@ public open class CfnResolverDNSSECConfig( id: String, props: CfnResolverDNSSECConfigProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverDNSSECConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverDNSSECConfigProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverDNSSECConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverDNSSECConfigProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnResolverDNSSECConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpoint.kt index 15cc03918c..588772de53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpoint.kt @@ -72,8 +72,8 @@ public open class CfnResolverEndpoint( id: String, props: CfnResolverEndpointProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverEndpointProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverEndpointProps.Companion::unwrap)) ) public constructor( @@ -147,7 +147,7 @@ public open class CfnResolverEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnResolverEndpoint( * endpoints) or that you forward DNS queries to (for inbound endpoints). */ public open fun ipAddresses(`value`: IResolvable) { - unwrap(this).setIpAddresses(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpAddresses(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnResolverEndpoint( * Route 53 Resolver doesn't support updating tags through CloudFormation. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public open class CfnResolverEndpoint( * (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). */ override fun ipAddresses(ipAddresses: IResolvable) { - cdkBuilder.ipAddresses(ipAddresses.let(IResolvable::unwrap)) + cdkBuilder.ipAddresses(ipAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class CfnResolverEndpoint( * @param tags Route 53 Resolver doesn't support updating tags through CloudFormation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpointProps.kt index b9b2877f19..26829a4407 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverEndpointProps.kt @@ -302,7 +302,7 @@ public interface CfnResolverEndpointProps { * Even though the minimum is 1, Route 53 requires that you create at least two. */ override fun ipAddresses(ipAddresses: IResolvable) { - cdkBuilder.ipAddresses(ipAddresses.let(IResolvable::unwrap)) + cdkBuilder.ipAddresses(ipAddresses.let(IResolvable.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface CfnResolverEndpointProps { * @param tags Route 53 Resolver doesn't support updating tags through CloudFormation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfig.kt index 62caa91acd..6421acac32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfig.kt @@ -35,7 +35,7 @@ public open class CfnResolverQueryLoggingConfig( cdkObject: software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -44,8 +44,8 @@ public open class CfnResolverQueryLoggingConfig( id: String, props: CfnResolverQueryLoggingConfigProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverQueryLoggingConfigProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverQueryLoggingConfigProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class CfnResolverQueryLoggingConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfigAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfigAssociation.kt index 8dfdee53d4..926a294df6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfigAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverQueryLoggingConfigAssociation.kt @@ -38,7 +38,7 @@ public open class CfnResolverQueryLoggingConfigAssociation( cdkObject: software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigAssociation, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class CfnResolverQueryLoggingConfigAssociation( id: String, props: CfnResolverQueryLoggingConfigAssociationProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverQueryLoggingConfigAssociationProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfigAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverQueryLoggingConfigAssociationProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnResolverQueryLoggingConfigAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRule.kt index eee59715b9..c429a0c05b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRule.kt @@ -59,8 +59,8 @@ public open class CfnResolverRule( id: String, props: CfnResolverRuleProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverRuleProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverRuleProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnResolverRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnResolverRule( * Tags help organize and categorize your Resolver rules. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnResolverRule( * queries to. */ public open fun targetIps(`value`: IResolvable) { - unwrap(this).setTargetIps(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetIps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnResolverRule( * @param tags Tags help organize and categorize your Resolver rules. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CfnResolverRule( * forwards DNS queries to. */ override fun targetIps(targetIps: IResolvable) { - cdkBuilder.targetIps(targetIps.let(IResolvable::unwrap)) + cdkBuilder.targetIps(targetIps.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleAssociation.kt index 0fa93eb803..4e5f8f804a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleAssociation.kt @@ -46,8 +46,8 @@ public open class CfnResolverRuleAssociation( id: String, props: CfnResolverRuleAssociationProps, ) : - this(software.amazon.awscdk.services.route53resolver.CfnResolverRuleAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResolverRuleAssociationProps::unwrap)) + this(software.amazon.awscdk.services.route53resolver.CfnResolverRuleAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResolverRuleAssociationProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnResolverRuleAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleProps.kt index 09534ecc6f..35f6c93880 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/route53resolver/CfnResolverRuleProps.kt @@ -227,7 +227,7 @@ public interface CfnResolverRuleProps { * Each tag consists of a key and an optional value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface CfnResolverRuleProps { * Typically, these are the IP addresses of DNS resolvers on your network. */ override fun targetIps(targetIps: IResolvable) { - cdkBuilder.targetIps(targetIps.let(IResolvable::unwrap)) + cdkBuilder.targetIps(targetIps.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitor.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitor.kt index 1ca65702d7..e5bd590958 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitor.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitor.kt @@ -93,8 +93,8 @@ public open class CfnAppMonitor( id: String, props: CfnAppMonitorProps, ) : - this(software.amazon.awscdk.services.rum.CfnAppMonitor(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppMonitorProps::unwrap)) + this(software.amazon.awscdk.services.rum.CfnAppMonitor(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppMonitorProps.Companion::unwrap)) ) public constructor( @@ -113,14 +113,14 @@ public open class CfnAppMonitor( * A structure that contains much of the configuration data for the app monitor. */ public open fun appMonitorConfiguration(`value`: IResolvable) { - unwrap(this).setAppMonitorConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAppMonitorConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains much of the configuration data for the app monitor. */ public open fun appMonitorConfiguration(`value`: AppMonitorConfigurationProperty) { - unwrap(this).setAppMonitorConfiguration(`value`.let(AppMonitorConfigurationProperty::unwrap)) + unwrap(this).setAppMonitorConfiguration(`value`.let(AppMonitorConfigurationProperty.Companion::unwrap)) } /** @@ -146,14 +146,14 @@ public open class CfnAppMonitor( * Specifies whether this app monitor allows the web client to define and send custom events. */ public open fun customEvents(`value`: IResolvable) { - unwrap(this).setCustomEvents(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomEvents(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies whether this app monitor allows the web client to define and send custom events. */ public open fun customEvents(`value`: CustomEventsProperty) { - unwrap(this).setCustomEvents(`value`.let(CustomEventsProperty::unwrap)) + unwrap(this).setCustomEvents(`value`.let(CustomEventsProperty.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnAppMonitor( * Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted. */ public open fun cwLogEnabled(`value`: IResolvable) { - unwrap(this).setCwLogEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setCwLogEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnAppMonitor( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnAppMonitor( * Assigns one or more tags (key-value pairs) to the app monitor. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnAppMonitor( * the app monitor. */ override fun appMonitorConfiguration(appMonitorConfiguration: IResolvable) { - cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnAppMonitor( * the app monitor. */ override fun appMonitorConfiguration(appMonitorConfiguration: AppMonitorConfigurationProperty) { - cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(AppMonitorConfigurationProperty::unwrap)) + cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(AppMonitorConfigurationProperty.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnAppMonitor( * send custom events. */ override fun customEvents(customEvents: IResolvable) { - cdkBuilder.customEvents(customEvents.let(IResolvable::unwrap)) + cdkBuilder.customEvents(customEvents.let(IResolvable.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class CfnAppMonitor( * send custom events. */ override fun customEvents(customEvents: CustomEventsProperty) { - cdkBuilder.customEvents(customEvents.let(CustomEventsProperty::unwrap)) + cdkBuilder.customEvents(customEvents.let(CustomEventsProperty.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnAppMonitor( * deleted. */ override fun cwLogEnabled(cwLogEnabled: IResolvable) { - cdkBuilder.cwLogEnabled(cwLogEnabled.let(IResolvable::unwrap)) + cdkBuilder.cwLogEnabled(cwLogEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class CfnAppMonitor( * @param tags Assigns one or more tags (key-value pairs) to the app monitor. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -983,7 +983,7 @@ public open class CfnAppMonitor( * Cookies are stored in the top-level domain of the current page. */ override fun allowCookies(allowCookies: IResolvable) { - cdkBuilder.allowCookies(allowCookies.let(IResolvable::unwrap)) + cdkBuilder.allowCookies(allowCookies.let(IResolvable.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public open class CfnAppMonitor( * ?](https://docs.aws.amazon.com/xray/latest/devguide/aws-xray.html) */ override fun enableXRay(enableXRay: IResolvable) { - cdkBuilder.enableXRay(enableXRay.let(IResolvable::unwrap)) + cdkBuilder.enableXRay(enableXRay.let(IResolvable.Companion::unwrap)) } /** @@ -1078,7 +1078,7 @@ public open class CfnAppMonitor( * app monitor will send extended metrics to. */ override fun metricDestinations(metricDestinations: IResolvable) { - cdkBuilder.metricDestinations(metricDestinations.let(IResolvable::unwrap)) + cdkBuilder.metricDestinations(metricDestinations.let(IResolvable.Companion::unwrap)) } /** @@ -1546,7 +1546,7 @@ public open class CfnAppMonitor( * `Evidently` , the value of `DimensionKeys` is ignored. */ override fun dimensionKeys(dimensionKeys: IResolvable) { - cdkBuilder.dimensionKeys(dimensionKeys.let(IResolvable::unwrap)) + cdkBuilder.dimensionKeys(dimensionKeys.let(IResolvable.Companion::unwrap)) } /** @@ -1854,7 +1854,7 @@ public open class CfnAppMonitor( * send. */ override fun metricDefinitions(metricDefinitions: IResolvable) { - cdkBuilder.metricDefinitions(metricDefinitions.let(IResolvable::unwrap)) + cdkBuilder.metricDefinitions(metricDefinitions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitorProps.kt index f13d63c26a..864c0e0c3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/rum/CfnAppMonitorProps.kt @@ -305,7 +305,7 @@ public interface CfnAppMonitorProps { * sessions. */ override fun appMonitorConfiguration(appMonitorConfiguration: IResolvable) { - cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(IResolvable::unwrap)) + cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface CfnAppMonitorProps { */ override fun appMonitorConfiguration(appMonitorConfiguration: CfnAppMonitor.AppMonitorConfigurationProperty) { - cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(CfnAppMonitor.AppMonitorConfigurationProperty::unwrap)) + cdkBuilder.appMonitorConfiguration(appMonitorConfiguration.let(CfnAppMonitor.AppMonitorConfigurationProperty.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface CfnAppMonitorProps { * If you omit this parameter, custom events are `DISABLED` . */ override fun customEvents(customEvents: IResolvable) { - cdkBuilder.customEvents(customEvents.let(IResolvable::unwrap)) + cdkBuilder.customEvents(customEvents.let(IResolvable.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public interface CfnAppMonitorProps { * If you omit this parameter, custom events are `DISABLED` . */ override fun customEvents(customEvents: CfnAppMonitor.CustomEventsProperty) { - cdkBuilder.customEvents(customEvents.let(CfnAppMonitor.CustomEventsProperty::unwrap)) + cdkBuilder.customEvents(customEvents.let(CfnAppMonitor.CustomEventsProperty.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public interface CfnAppMonitorProps { * If you omit this parameter, the default is `false` . */ override fun cwLogEnabled(cwLogEnabled: IResolvable) { - cdkBuilder.cwLogEnabled(cwLogEnabled.let(IResolvable::unwrap)) + cdkBuilder.cwLogEnabled(cwLogEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public interface CfnAppMonitorProps { * resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BlockPublicAccess.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BlockPublicAccess.kt index a2b1d6ee1e..8fc1b22e6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BlockPublicAccess.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BlockPublicAccess.kt @@ -20,7 +20,7 @@ public open class BlockPublicAccess( cdkObject: software.amazon.awscdk.services.s3.BlockPublicAccess, ) : CdkObject(cdkObject) { public constructor(options: BlockPublicAccessOptions) : - this(software.amazon.awscdk.services.s3.BlockPublicAccess(options.let(BlockPublicAccessOptions::unwrap)) + this(software.amazon.awscdk.services.s3.BlockPublicAccess(options.let(BlockPublicAccessOptions.Companion::unwrap)) ) public constructor(options: BlockPublicAccessOptions.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Bucket.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Bucket.kt index 773a029f74..07bdd5ab8c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Bucket.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Bucket.kt @@ -38,7 +38,7 @@ public open class Bucket( cdkObject: software.amazon.awscdk.services.s3.Bucket, ) : BucketBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.s3.Bucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.s3.Bucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class Bucket( id: String, props: BucketProps, ) : - this(software.amazon.awscdk.services.s3.Bucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BucketProps::unwrap)) + this(software.amazon.awscdk.services.s3.Bucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BucketProps.Companion::unwrap)) ) public constructor( @@ -64,7 +64,7 @@ public open class Bucket( * @param rule The CORS configuration rule to add. */ public open fun addCorsRule(rule: CorsRule) { - unwrap(this).addCorsRule(rule.let(CorsRule::unwrap)) + unwrap(this).addCorsRule(rule.let(CorsRule.Companion::unwrap)) } /** @@ -82,7 +82,7 @@ public open class Bucket( * @param inventory configuration to add. */ public open fun addInventory(inventory: Inventory) { - unwrap(this).addInventory(inventory.let(Inventory::unwrap)) + unwrap(this).addInventory(inventory.let(Inventory.Companion::unwrap)) } /** @@ -101,7 +101,7 @@ public open class Bucket( * @param rule The rule to add. */ public open fun addLifecycleRule(rule: LifecycleRule) { - unwrap(this).addLifecycleRule(rule.let(LifecycleRule::unwrap)) + unwrap(this).addLifecycleRule(rule.let(LifecycleRule.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class Bucket( * @param metric The metric configuration to add. */ public open fun addMetric(metric: BucketMetrics) { - unwrap(this).addMetric(metric.let(BucketMetrics::unwrap)) + unwrap(this).addMetric(metric.let(BucketMetrics.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class Bucket( * first call to addToResourcePolicy(s). */ public override fun policy(`value`: BucketPolicy) { - unwrap(this).setPolicy(`value`.let(BucketPolicy::unwrap)) + unwrap(this).setPolicy(`value`.let(BucketPolicy.Companion::unwrap)) } /** @@ -224,6 +224,11 @@ public open class Bucket( * all objects in the bucket being deleted. Be sure to update your bucket resources * by deploying with CDK version `1.126.0` or later **before** switching this value to `false`. * + * Setting `autoDeleteObjects` to true on a bucket will add `s3:PutBucketPolicy` to the + * bucket policy. This is because during bucket deletion, the custom resource provider + * needs to update the bucket policy by adding a deny policy for `s3:PutObject` to + * prevent race conditions with external bucket writers. + * * Default: false * * @param autoDeleteObjects Whether all objects should be automatically deleted when the bucket @@ -647,7 +652,7 @@ public open class Bucket( * */ override fun accessControl(accessControl: BucketAccessControl) { - cdkBuilder.accessControl(accessControl.let(BucketAccessControl::unwrap)) + cdkBuilder.accessControl(accessControl.let(BucketAccessControl.Companion::unwrap)) } /** @@ -661,6 +666,11 @@ public open class Bucket( * all objects in the bucket being deleted. Be sure to update your bucket resources * by deploying with CDK version `1.126.0` or later **before** switching this value to `false`. * + * Setting `autoDeleteObjects` to true on a bucket will add `s3:PutBucketPolicy` to the + * bucket policy. This is because during bucket deletion, the custom resource provider + * needs to update the bucket policy by adding a deny policy for `s3:PutObject` to + * prevent race conditions with external bucket writers. + * * Default: false * * @param autoDeleteObjects Whether all objects should be automatically deleted when the bucket @@ -680,7 +690,7 @@ public open class Bucket( * @param blockPublicAccess The block public access configuration of this bucket. */ override fun blockPublicAccess(blockPublicAccess: BlockPublicAccess) { - cdkBuilder.blockPublicAccess(blockPublicAccess.let(BlockPublicAccess::unwrap)) + cdkBuilder.blockPublicAccess(blockPublicAccess.let(BlockPublicAccess.Companion::unwrap)) } /** @@ -738,7 +748,7 @@ public open class Bucket( * @param cors The CORS configuration of this bucket. */ override fun cors(cors: List) { - cdkBuilder.cors(cors.map(CorsRule::unwrap)) + cdkBuilder.cors(cors.map(CorsRule.Companion::unwrap)) } /** @@ -764,7 +774,7 @@ public open class Bucket( * @param encryption The kind of server-side encryption to apply to this bucket. */ override fun encryption(encryption: BucketEncryption) { - cdkBuilder.encryption(encryption.let(BucketEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(BucketEncryption.Companion::unwrap)) } /** @@ -779,7 +789,7 @@ public open class Bucket( * @param encryptionKey External KMS key to use for bucket encryption. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -818,7 +828,7 @@ public open class Bucket( */ override fun intelligentTieringConfigurations(intelligentTieringConfigurations: List) { - cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.map(IntelligentTieringConfiguration::unwrap)) + cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.map(IntelligentTieringConfiguration.Companion::unwrap)) } /** @@ -842,7 +852,7 @@ public open class Bucket( * @param inventories The inventory configuration of the bucket. */ override fun inventories(inventories: List) { - cdkBuilder.inventories(inventories.map(Inventory::unwrap)) + cdkBuilder.inventories(inventories.map(Inventory.Companion::unwrap)) } /** @@ -864,7 +874,7 @@ public open class Bucket( * @param lifecycleRules Rules that define how Amazon S3 manages objects during their lifetime. */ override fun lifecycleRules(lifecycleRules: List) { - cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule::unwrap)) + cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule.Companion::unwrap)) } /** @@ -886,7 +896,7 @@ public open class Bucket( * @param metrics The metrics configuration of this bucket. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(BucketMetrics::unwrap)) + cdkBuilder.metrics(metrics.map(BucketMetrics.Companion::unwrap)) } /** @@ -921,7 +931,7 @@ public open class Bucket( * @param notificationsHandlerRole The role to be used by the notifications handler. */ override fun notificationsHandlerRole(notificationsHandlerRole: IRole) { - cdkBuilder.notificationsHandlerRole(notificationsHandlerRole.let(IRole::unwrap)) + cdkBuilder.notificationsHandlerRole(notificationsHandlerRole.let(IRole.Companion::unwrap)) } /** @@ -936,7 +946,7 @@ public open class Bucket( * @param objectLockDefaultRetention The default retention mode and rules for S3 Object Lock. */ override fun objectLockDefaultRetention(objectLockDefaultRetention: ObjectLockRetention) { - cdkBuilder.objectLockDefaultRetention(objectLockDefaultRetention.let(ObjectLockRetention::unwrap)) + cdkBuilder.objectLockDefaultRetention(objectLockDefaultRetention.let(ObjectLockRetention.Companion::unwrap)) } /** @@ -963,7 +973,7 @@ public open class Bucket( * @param objectOwnership The objectOwnership of the bucket. */ override fun objectOwnership(objectOwnership: ObjectOwnership) { - cdkBuilder.objectOwnership(objectOwnership.let(ObjectOwnership::unwrap)) + cdkBuilder.objectOwnership(objectOwnership.let(ObjectOwnership.Companion::unwrap)) } /** @@ -987,7 +997,7 @@ public open class Bucket( * @param removalPolicy Policy to apply when the bucket is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -999,7 +1009,7 @@ public open class Bucket( * @param serverAccessLogsBucket Destination bucket for the server access logs. */ override fun serverAccessLogsBucket(serverAccessLogsBucket: IBucket) { - cdkBuilder.serverAccessLogsBucket(serverAccessLogsBucket.let(IBucket::unwrap)) + cdkBuilder.serverAccessLogsBucket(serverAccessLogsBucket.let(IBucket.Companion::unwrap)) } /** @@ -1025,7 +1035,7 @@ public open class Bucket( * @param targetObjectKeyFormat Optional key format for log objects. */ override fun targetObjectKeyFormat(targetObjectKeyFormat: TargetObjectKeyFormat) { - cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(TargetObjectKeyFormat::unwrap)) + cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(TargetObjectKeyFormat.Companion::unwrap)) } /** @@ -1089,7 +1099,7 @@ public open class Bucket( * of a bucket. */ override fun websiteRedirect(websiteRedirect: RedirectTarget) { - cdkBuilder.websiteRedirect(websiteRedirect.let(RedirectTarget::unwrap)) + cdkBuilder.websiteRedirect(websiteRedirect.let(RedirectTarget.Companion::unwrap)) } /** @@ -1117,7 +1127,7 @@ public open class Bucket( * behavior. */ override fun websiteRoutingRules(websiteRoutingRules: List) { - cdkBuilder.websiteRoutingRules(websiteRoutingRules.map(RoutingRule::unwrap)) + cdkBuilder.websiteRoutingRules(websiteRoutingRules.map(RoutingRule.Companion::unwrap)) } /** @@ -1140,7 +1150,7 @@ public open class Bucket( id: String, bucketArn: String, ): IBucket = - software.amazon.awscdk.services.s3.Bucket.fromBucketArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.s3.Bucket.fromBucketArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, bucketArn).let(IBucket::wrap) public fun fromBucketAttributes( @@ -1148,8 +1158,8 @@ public open class Bucket( id: String, attrs: BucketAttributes, ): IBucket = - software.amazon.awscdk.services.s3.Bucket.fromBucketAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(BucketAttributes::unwrap)).let(IBucket::wrap) + software.amazon.awscdk.services.s3.Bucket.fromBucketAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(BucketAttributes.Companion::unwrap)).let(IBucket::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("96286ce29bc8d60c796534f12d61ae60bbe0c84544eedd51a7ea87dce6b107b8") @@ -1164,11 +1174,11 @@ public open class Bucket( id: String, bucketName: String, ): IBucket = - software.amazon.awscdk.services.s3.Bucket.fromBucketName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.s3.Bucket.fromBucketName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, bucketName).let(IBucket::wrap) public fun fromCfnBucket(cfnBucket: CfnBucket): IBucket = - software.amazon.awscdk.services.s3.Bucket.fromCfnBucket(cfnBucket.let(CfnBucket::unwrap)).let(IBucket::wrap) + software.amazon.awscdk.services.s3.Bucket.fromCfnBucket(cfnBucket.let(CfnBucket.Companion::unwrap)).let(IBucket::wrap) public fun validateBucketName(physicalName: String) { software.amazon.awscdk.services.s3.Bucket.validateBucketName(physicalName) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketAttributes.kt index f4cbb30047..df0bd5fd2b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketAttributes.kt @@ -286,7 +286,7 @@ public interface BucketAttributes { * @param encryptionKey KMS encryption key associated with this bucket. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface BucketAttributes { * @param notificationsHandlerRole The role to be used by the notifications handler. */ override fun notificationsHandlerRole(notificationsHandlerRole: IRole) { - cdkBuilder.notificationsHandlerRole(notificationsHandlerRole.let(IRole::unwrap)) + cdkBuilder.notificationsHandlerRole(notificationsHandlerRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketBase.kt index 95cde42fe9..763ab2f116 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketBase.kt @@ -59,9 +59,10 @@ public abstract class BucketBase( dest: IBucketNotificationDestination, vararg filters: NotificationKeyFilter, ) { - unwrap(this).addEventNotification(event.let(EventType::unwrap), - dest.let(IBucketNotificationDestination::unwrap), *filters.map{CdkObjectWrappers.unwrap(it) - as software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) + unwrap(this).addEventNotification(event.let(EventType.Companion::unwrap), + dest.let(IBucketNotificationDestination.Companion::unwrap), + *filters.map{CdkObjectWrappers.unwrap(it) as + software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) } /** @@ -100,7 +101,7 @@ public abstract class BucketBase( */ public override fun addObjectCreatedNotification(dest: IBucketNotificationDestination, vararg filters: NotificationKeyFilter) { - unwrap(this).addObjectCreatedNotification(dest.let(IBucketNotificationDestination::unwrap), + unwrap(this).addObjectCreatedNotification(dest.let(IBucketNotificationDestination.Companion::unwrap), *filters.map{CdkObjectWrappers.unwrap(it) as software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) } @@ -131,7 +132,7 @@ public abstract class BucketBase( */ public override fun addObjectRemovedNotification(dest: IBucketNotificationDestination, vararg filters: NotificationKeyFilter) { - unwrap(this).addObjectRemovedNotification(dest.let(IBucketNotificationDestination::unwrap), + unwrap(this).addObjectRemovedNotification(dest.let(IBucketNotificationDestination.Companion::unwrap), *filters.map{CdkObjectWrappers.unwrap(it) as software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) } @@ -170,7 +171,7 @@ public abstract class BucketBase( * @param permission the policy statement to be added to the bucket's policy. */ public override fun addToResourcePolicy(permission: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(permission.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(permission.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the resource policy for a principal (i.e. account/role/service) to perform @@ -278,7 +279,7 @@ public abstract class BucketBase( * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ public override fun grantDelete(identity: IGrantable): Grant = - unwrap(this).grantDelete(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDelete(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants s3:DeleteObject* permission to an IAM principal for objects in this bucket. @@ -287,7 +288,8 @@ public abstract class BucketBase( * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ public override fun grantDelete(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantDelete(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantDelete(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Allows unrestricted access to objects from this bucket. @@ -330,7 +332,7 @@ public abstract class BucketBase( * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ public override fun grantPut(identity: IGrantable): Grant = - unwrap(this).grantPut(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPut(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants s3:PutObject* and s3:Abort* permissions for this bucket to an IAM principal. @@ -342,7 +344,8 @@ public abstract class BucketBase( * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ public override fun grantPut(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantPut(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantPut(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Grant the given IAM identity permissions to modify the ACLs of objects in the given Bucket. @@ -356,7 +359,7 @@ public abstract class BucketBase( * @param objectsKeyPattern */ public override fun grantPutAcl(identity: IGrantable): Grant = - unwrap(this).grantPutAcl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPutAcl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given IAM identity permissions to modify the ACLs of objects in the given Bucket. @@ -370,7 +373,8 @@ public abstract class BucketBase( * @param objectsKeyPattern */ public override fun grantPutAcl(identity: IGrantable, objectsKeyPattern: String): Grant = - unwrap(this).grantPutAcl(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantPutAcl(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Grant read permissions for this bucket and it's contents to an IAM principal (Role/Group/User). @@ -382,7 +386,7 @@ public abstract class BucketBase( * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ public override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read permissions for this bucket and it's contents to an IAM principal (Role/Group/User). @@ -394,7 +398,8 @@ public abstract class BucketBase( * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ public override fun grantRead(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Grants read/write permissions for this bucket and it's contents to an IAM principal @@ -416,7 +421,7 @@ public abstract class BucketBase( * @param objectsKeyPattern */ public override fun grantReadWrite(identity: IGrantable): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants read/write permissions for this bucket and it's contents to an IAM principal @@ -438,7 +443,7 @@ public abstract class BucketBase( * @param objectsKeyPattern */ public override fun grantReadWrite(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap), + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap), objectsKeyPattern).let(Grant::wrap) /** @@ -461,7 +466,7 @@ public abstract class BucketBase( * @param allowedActionPatterns */ public override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions to this bucket to an IAM principal. @@ -483,7 +488,8 @@ public abstract class BucketBase( * @param allowedActionPatterns */ public override fun grantWrite(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Grant write permissions to this bucket to an IAM principal. @@ -508,7 +514,7 @@ public abstract class BucketBase( identity: IGrantable, objectsKeyPattern: Any, allowedActionPatterns: List, - ): Grant = unwrap(this).grantWrite(identity.let(IGrantable::unwrap), objectsKeyPattern, + ): Grant = unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap), objectsKeyPattern, allowedActionPatterns).let(Grant::wrap) /** @@ -539,7 +545,7 @@ public abstract class BucketBase( */ public override fun onCloudTrailEvent(id: String, options: OnCloudTrailBucketEventOptions): Rule = unwrap(this).onCloudTrailEvent(id, - options.let(OnCloudTrailBucketEventOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailBucketEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Define a CloudWatch event that triggers when something happens to this repository. @@ -589,7 +595,7 @@ public abstract class BucketBase( */ public override fun onCloudTrailPutObject(id: String, options: OnCloudTrailBucketEventOptions): Rule = unwrap(this).onCloudTrailPutObject(id, - options.let(OnCloudTrailBucketEventOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailBucketEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event that triggers when an object is uploaded to the specified paths @@ -650,7 +656,7 @@ public abstract class BucketBase( */ public override fun onCloudTrailWriteObject(id: String, options: OnCloudTrailBucketEventOptions): Rule = unwrap(this).onCloudTrailWriteObject(id, - options.let(OnCloudTrailBucketEventOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailBucketEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event that triggers when an object at the specified paths (keys) in @@ -690,7 +696,7 @@ public abstract class BucketBase( * first call to addToResourcePolicy(s). */ public override fun policy(`value`: BucketPolicy) { - unwrap(this).setPolicy(`value`.let(BucketPolicy::unwrap)) + unwrap(this).setPolicy(`value`.let(BucketPolicy.Companion::unwrap)) } /** @@ -763,7 +769,7 @@ public abstract class BucketBase( public override fun transferAccelerationUrlForObject(key: String, options: TransferAccelerationUrlOptions): String = unwrap(this).transferAccelerationUrlForObject(key, - options.let(TransferAccelerationUrlOptions::unwrap)) + options.let(TransferAccelerationUrlOptions.Companion::unwrap)) /** * The https Transfer Acceleration URL of an S3 object. @@ -856,7 +862,7 @@ public abstract class BucketBase( */ public override fun virtualHostedUrlForObject(key: String, options: VirtualHostedStyleUrlOptions): String = unwrap(this).virtualHostedUrlForObject(key, - options.let(VirtualHostedStyleUrlOptions::unwrap)) + options.let(VirtualHostedStyleUrlOptions.Companion::unwrap)) /** * The virtual hosted-style URL of an S3 object. Specify `regional: false` at the options for diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketNotificationDestinationConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketNotificationDestinationConfig.kt index dcc4a8fce8..919590bc54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketNotificationDestinationConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketNotificationDestinationConfig.kt @@ -93,7 +93,7 @@ public interface BucketNotificationDestinationConfig { * notification can be configured (for example, the SNS Topic Policy resource). */ override fun dependencies(dependencies: List) { - cdkBuilder.dependencies(dependencies.map(IDependable::unwrap)) + cdkBuilder.dependencies(dependencies.map(IDependable.Companion::unwrap)) } /** @@ -107,7 +107,7 @@ public interface BucketNotificationDestinationConfig { * @param type The notification type. */ override fun type(type: BucketNotificationDestinationType) { - cdkBuilder.type(type.let(BucketNotificationDestinationType::unwrap)) + cdkBuilder.type(type.let(BucketNotificationDestinationType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.BucketNotificationDestinationConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicy.kt index 66398c1f47..78fdde5547 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicy.kt @@ -48,8 +48,8 @@ public open class BucketPolicy( id: String, props: BucketPolicyProps, ) : - this(software.amazon.awscdk.services.s3.BucketPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BucketPolicyProps::unwrap)) + this(software.amazon.awscdk.services.s3.BucketPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BucketPolicyProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class BucketPolicy( * @param removalPolicy the RemovalPolicy to set. */ public override fun applyRemovalPolicy(removalPolicy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class BucketPolicy( * @param bucket The Amazon S3 bucket that the policy applies to. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class BucketPolicy( * @param removalPolicy Policy to apply when the policy is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.BucketPolicy = cdkBuilder.build() @@ -135,7 +135,7 @@ public open class BucketPolicy( public companion object { public fun fromCfnBucketPolicy(cfnBucketPolicy: CfnBucketPolicy): BucketPolicy = - software.amazon.awscdk.services.s3.BucketPolicy.fromCfnBucketPolicy(cfnBucketPolicy.let(CfnBucketPolicy::unwrap)).let(BucketPolicy::wrap) + software.amazon.awscdk.services.s3.BucketPolicy.fromCfnBucketPolicy(cfnBucketPolicy.let(CfnBucketPolicy.Companion::unwrap)).let(BucketPolicy::wrap) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicyProps.kt index b8a574513b..f6f2ccac78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketPolicyProps.kt @@ -62,14 +62,14 @@ public interface BucketPolicyProps { * @param bucket The Amazon S3 bucket that the policy applies to. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** * @param removalPolicy Policy to apply when the policy is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.BucketPolicyProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketProps.kt index f345189c68..61de44932e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/BucketProps.kt @@ -56,6 +56,11 @@ public interface BucketProps { * all objects in the bucket being deleted. Be sure to update your bucket resources * by deploying with CDK version `1.126.0` or later **before** switching this value to `false`. * + * Setting `autoDeleteObjects` to true on a bucket will add `s3:PutBucketPolicy` to the + * bucket policy. This is because during bucket deletion, the custom resource provider + * needs to update the bucket policy by adding a deny policy for `s3:PutObject` to + * prevent race conditions with external bucket writers. + * * Default: false */ public fun autoDeleteObjects(): Boolean? = unwrap(this).getAutoDeleteObjects() @@ -350,6 +355,11 @@ public interface BucketProps { * switching this to `false` in a CDK version *before* `1.126.0` will lead to * all objects in the bucket being deleted. Be sure to update your bucket resources * by deploying with CDK version `1.126.0` or later **before** switching this value to `false`. + * + * Setting `autoDeleteObjects` to true on a bucket will add `s3:PutBucketPolicy` to the + * bucket policy. This is because during bucket deletion, the custom resource provider + * needs to update the bucket policy by adding a deny policy for `s3:PutObject` to + * prevent race conditions with external bucket writers. */ public fun autoDeleteObjects(autoDeleteObjects: Boolean) @@ -582,7 +592,7 @@ public interface BucketProps { * @param accessControl Specifies a canned ACL that grants predefined permissions to the bucket. */ override fun accessControl(accessControl: BucketAccessControl) { - cdkBuilder.accessControl(accessControl.let(BucketAccessControl::unwrap)) + cdkBuilder.accessControl(accessControl.let(BucketAccessControl.Companion::unwrap)) } /** @@ -594,6 +604,11 @@ public interface BucketProps { * switching this to `false` in a CDK version *before* `1.126.0` will lead to * all objects in the bucket being deleted. Be sure to update your bucket resources * by deploying with CDK version `1.126.0` or later **before** switching this value to `false`. + * + * Setting `autoDeleteObjects` to true on a bucket will add `s3:PutBucketPolicy` to the + * bucket policy. This is because during bucket deletion, the custom resource provider + * needs to update the bucket policy by adding a deny policy for `s3:PutObject` to + * prevent race conditions with external bucket writers. */ override fun autoDeleteObjects(autoDeleteObjects: Boolean) { cdkBuilder.autoDeleteObjects(autoDeleteObjects) @@ -603,7 +618,7 @@ public interface BucketProps { * @param blockPublicAccess The block public access configuration of this bucket. */ override fun blockPublicAccess(blockPublicAccess: BlockPublicAccess) { - cdkBuilder.blockPublicAccess(blockPublicAccess.let(BlockPublicAccess::unwrap)) + cdkBuilder.blockPublicAccess(blockPublicAccess.let(BlockPublicAccess.Companion::unwrap)) } /** @@ -641,7 +656,7 @@ public interface BucketProps { * @param cors The CORS configuration of this bucket. */ override fun cors(cors: List) { - cdkBuilder.cors(cors.map(CorsRule::unwrap)) + cdkBuilder.cors(cors.map(CorsRule.Companion::unwrap)) } /** @@ -655,7 +670,7 @@ public interface BucketProps { * encryption key is not specified, a key will automatically be created. */ override fun encryption(encryption: BucketEncryption) { - cdkBuilder.encryption(encryption.let(BucketEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(BucketEncryption.Companion::unwrap)) } /** @@ -664,7 +679,7 @@ public interface BucketProps { * An error will be emitted if `encryption` is set to `UNENCRYPTED` or `S3_MANAGED`. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -688,7 +703,7 @@ public interface BucketProps { */ override fun intelligentTieringConfigurations(intelligentTieringConfigurations: List) { - cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.map(IntelligentTieringConfiguration::unwrap)) + cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.map(IntelligentTieringConfiguration.Companion::unwrap)) } /** @@ -702,7 +717,7 @@ public interface BucketProps { * @param inventories The inventory configuration of the bucket. */ override fun inventories(inventories: List) { - cdkBuilder.inventories(inventories.map(Inventory::unwrap)) + cdkBuilder.inventories(inventories.map(Inventory.Companion::unwrap)) } /** @@ -715,7 +730,7 @@ public interface BucketProps { * @param lifecycleRules Rules that define how Amazon S3 manages objects during their lifetime. */ override fun lifecycleRules(lifecycleRules: List) { - cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule::unwrap)) + cdkBuilder.lifecycleRules(lifecycleRules.map(LifecycleRule.Companion::unwrap)) } /** @@ -728,7 +743,7 @@ public interface BucketProps { * @param metrics The metrics configuration of this bucket. */ override fun metrics(metrics: List) { - cdkBuilder.metrics(metrics.map(BucketMetrics::unwrap)) + cdkBuilder.metrics(metrics.map(BucketMetrics.Companion::unwrap)) } /** @@ -748,7 +763,7 @@ public interface BucketProps { * @param notificationsHandlerRole The role to be used by the notifications handler. */ override fun notificationsHandlerRole(notificationsHandlerRole: IRole) { - cdkBuilder.notificationsHandlerRole(notificationsHandlerRole.let(IRole::unwrap)) + cdkBuilder.notificationsHandlerRole(notificationsHandlerRole.let(IRole.Companion::unwrap)) } /** @@ -757,7 +772,7 @@ public interface BucketProps { * has object lock enabled. Enabling object lock for existing buckets is not supported. */ override fun objectLockDefaultRetention(objectLockDefaultRetention: ObjectLockRetention) { - cdkBuilder.objectLockDefaultRetention(objectLockDefaultRetention.let(ObjectLockRetention::unwrap)) + cdkBuilder.objectLockDefaultRetention(objectLockDefaultRetention.let(ObjectLockRetention.Companion::unwrap)) } /** @@ -773,7 +788,7 @@ public interface BucketProps { * @param objectOwnership The objectOwnership of the bucket. */ override fun objectOwnership(objectOwnership: ObjectOwnership) { - cdkBuilder.objectOwnership(objectOwnership.let(ObjectOwnership::unwrap)) + cdkBuilder.objectOwnership(objectOwnership.let(ObjectOwnership.Companion::unwrap)) } /** @@ -788,14 +803,14 @@ public interface BucketProps { * @param removalPolicy Policy to apply when the bucket is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param serverAccessLogsBucket Destination bucket for the server access logs. */ override fun serverAccessLogsBucket(serverAccessLogsBucket: IBucket) { - cdkBuilder.serverAccessLogsBucket(serverAccessLogsBucket.let(IBucket::unwrap)) + cdkBuilder.serverAccessLogsBucket(serverAccessLogsBucket.let(IBucket.Companion::unwrap)) } /** @@ -811,7 +826,7 @@ public interface BucketProps { * @param targetObjectKeyFormat Optional key format for log objects. */ override fun targetObjectKeyFormat(targetObjectKeyFormat: TargetObjectKeyFormat) { - cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(TargetObjectKeyFormat::unwrap)) + cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(TargetObjectKeyFormat.Companion::unwrap)) } /** @@ -852,7 +867,7 @@ public interface BucketProps { * "websiteErrorDocument" nor , "websiteRoutingRules". */ override fun websiteRedirect(websiteRedirect: RedirectTarget) { - cdkBuilder.websiteRedirect(websiteRedirect.let(RedirectTarget::unwrap)) + cdkBuilder.websiteRedirect(websiteRedirect.let(RedirectTarget.Companion::unwrap)) } /** @@ -871,7 +886,7 @@ public interface BucketProps { * behavior. */ override fun websiteRoutingRules(websiteRoutingRules: List) { - cdkBuilder.websiteRoutingRules(websiteRoutingRules.map(RoutingRule::unwrap)) + cdkBuilder.websiteRoutingRules(websiteRoutingRules.map(RoutingRule.Companion::unwrap)) } /** @@ -906,6 +921,11 @@ public interface BucketProps { * all objects in the bucket being deleted. Be sure to update your bucket resources * by deploying with CDK version `1.126.0` or later **before** switching this value to `false`. * + * Setting `autoDeleteObjects` to true on a bucket will add `s3:PutBucketPolicy` to the + * bucket policy. This is because during bucket deletion, the custom resource provider + * needs to update the bucket policy by adding a deny policy for `s3:PutObject` to + * prevent race conditions with external bucket writers. + * * Default: false */ override fun autoDeleteObjects(): Boolean? = unwrap(this).getAutoDeleteObjects() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrant.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrant.kt index ea5d5bb7dc..f4d79ec986 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrant.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrant.kt @@ -77,8 +77,8 @@ public open class CfnAccessGrant( id: String, props: CfnAccessGrantProps, ) : - this(software.amazon.awscdk.services.s3.CfnAccessGrant(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessGrantProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnAccessGrant(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessGrantProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnAccessGrant( * The configuration options of the grant location. */ public open fun accessGrantsLocationConfiguration(`value`: IResolvable) { - unwrap(this).setAccessGrantsLocationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessGrantsLocationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class CfnAccessGrant( */ public open fun accessGrantsLocationConfiguration(`value`: AccessGrantsLocationConfigurationProperty) { - unwrap(this).setAccessGrantsLocationConfiguration(`value`.let(AccessGrantsLocationConfigurationProperty::unwrap)) + unwrap(this).setAccessGrantsLocationConfiguration(`value`.let(AccessGrantsLocationConfigurationProperty.Companion::unwrap)) } /** @@ -178,14 +178,14 @@ public open class CfnAccessGrant( * The user, group, or role to which you are granting access. */ public open fun grantee(`value`: IResolvable) { - unwrap(this).setGrantee(`value`.let(IResolvable::unwrap)) + unwrap(this).setGrantee(`value`.let(IResolvable.Companion::unwrap)) } /** * The user, group, or role to which you are granting access. */ public open fun grantee(`value`: GranteeProperty) { - unwrap(this).setGrantee(`value`.let(GranteeProperty::unwrap)) + unwrap(this).setGrantee(`value`.let(GranteeProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnAccessGrant( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnAccessGrant( * The AWS resource tags that you are adding to the access grant. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class CfnAccessGrant( * @param accessGrantsLocationConfiguration The configuration options of the grant location. */ override fun accessGrantsLocationConfiguration(accessGrantsLocationConfiguration: IResolvable) { - cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnAccessGrant( */ override fun accessGrantsLocationConfiguration(accessGrantsLocationConfiguration: AccessGrantsLocationConfigurationProperty) { - cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(AccessGrantsLocationConfigurationProperty::unwrap)) + cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(AccessGrantsLocationConfigurationProperty.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public open class CfnAccessGrant( * @param grantee The user, group, or role to which you are granting access. */ override fun grantee(grantee: IResolvable) { - cdkBuilder.grantee(grantee.let(IResolvable::unwrap)) + cdkBuilder.grantee(grantee.let(IResolvable.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CfnAccessGrant( * @param grantee The user, group, or role to which you are granting access. */ override fun grantee(grantee: GranteeProperty) { - cdkBuilder.grantee(grantee.let(GranteeProperty::unwrap)) + cdkBuilder.grantee(grantee.let(GranteeProperty.Companion::unwrap)) } /** @@ -568,7 +568,7 @@ public open class CfnAccessGrant( * @param tags The AWS resource tags that you are adding to the access grant. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantProps.kt index ef1d2320a2..1ab4499c3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantProps.kt @@ -238,7 +238,7 @@ public interface CfnAccessGrantProps { * location scope of the registered location. */ override fun accessGrantsLocationConfiguration(accessGrantsLocationConfiguration: IResolvable) { - cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface CfnAccessGrantProps { */ override fun accessGrantsLocationConfiguration(accessGrantsLocationConfiguration: CfnAccessGrant.AccessGrantsLocationConfigurationProperty) { - cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(CfnAccessGrant.AccessGrantsLocationConfigurationProperty::unwrap)) + cdkBuilder.accessGrantsLocationConfiguration(accessGrantsLocationConfiguration.let(CfnAccessGrant.AccessGrantsLocationConfigurationProperty.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface CfnAccessGrantProps { * instance, the grantee can also be a corporate directory user or group. */ override fun grantee(grantee: IResolvable) { - cdkBuilder.grantee(grantee.let(IResolvable::unwrap)) + cdkBuilder.grantee(grantee.let(IResolvable.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface CfnAccessGrantProps { * instance, the grantee can also be a corporate directory user or group. */ override fun grantee(grantee: CfnAccessGrant.GranteeProperty) { - cdkBuilder.grantee(grantee.let(CfnAccessGrant.GranteeProperty::unwrap)) + cdkBuilder.grantee(grantee.let(CfnAccessGrant.GranteeProperty.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface CfnAccessGrantProps { * identify, organize, search for, and filter resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstance.kt index 5db9a085bf..a913a8b78c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstance.kt @@ -49,7 +49,7 @@ public open class CfnAccessGrantsInstance( cdkObject: software.amazon.awscdk.services.s3.CfnAccessGrantsInstance, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.s3.CfnAccessGrantsInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.s3.CfnAccessGrantsInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -58,8 +58,8 @@ public open class CfnAccessGrantsInstance( id: String, props: CfnAccessGrantsInstanceProps, ) : - this(software.amazon.awscdk.services.s3.CfnAccessGrantsInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessGrantsInstanceProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnAccessGrantsInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessGrantsInstanceProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnAccessGrantsInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnAccessGrantsInstance( * The AWS resource tags that you are adding to the S3 Access Grants instance. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnAccessGrantsInstance( * @param tags The AWS resource tags that you are adding to the S3 Access Grants instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstanceProps.kt index fd0ec69f48..2e0bd0715e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsInstanceProps.kt @@ -106,7 +106,7 @@ public interface CfnAccessGrantsInstanceProps { * identify, organize, search for, and filter resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocation.kt index a65ebed772..8211e487ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocation.kt @@ -60,7 +60,7 @@ public open class CfnAccessGrantsLocation( cdkObject: software.amazon.awscdk.services.s3.CfnAccessGrantsLocation, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.s3.CfnAccessGrantsLocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.s3.CfnAccessGrantsLocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +69,8 @@ public open class CfnAccessGrantsLocation( id: String, props: CfnAccessGrantsLocationProps, ) : - this(software.amazon.awscdk.services.s3.CfnAccessGrantsLocation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessGrantsLocationProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnAccessGrantsLocation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessGrantsLocationProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnAccessGrantsLocation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnAccessGrantsLocation( * The AWS resource tags that you are adding to the S3 Access Grants location. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public open class CfnAccessGrantsLocation( * @param tags The AWS resource tags that you are adding to the S3 Access Grants location. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocationProps.kt index 47257e5376..c2dc28beed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessGrantsLocationProps.kt @@ -131,7 +131,7 @@ public interface CfnAccessGrantsLocationProps { * identify, organize, search for, and filter resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPoint.kt index 0a69f27ecf..7d67d65811 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPoint.kt @@ -56,8 +56,8 @@ public open class CfnAccessPoint( id: String, props: CfnAccessPointProps, ) : - this(software.amazon.awscdk.services.s3.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPointProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPointProps.Companion::unwrap)) ) public constructor( @@ -124,7 +124,7 @@ public open class CfnAccessPoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -161,14 +161,14 @@ public open class CfnAccessPoint( * The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. */ public open fun publicAccessBlockConfiguration(`value`: IResolvable) { - unwrap(this).setPublicAccessBlockConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublicAccessBlockConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. */ public open fun publicAccessBlockConfiguration(`value`: PublicAccessBlockConfigurationProperty) { - unwrap(this).setPublicAccessBlockConfiguration(`value`.let(PublicAccessBlockConfigurationProperty::unwrap)) + unwrap(this).setPublicAccessBlockConfiguration(`value`.let(PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -189,14 +189,14 @@ public open class CfnAccessPoint( * The Virtual Private Cloud (VPC) configuration for this access point, if one exists. */ public open fun vpcConfiguration(`value`: IResolvable) { - unwrap(this).setVpcConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The Virtual Private Cloud (VPC) configuration for this access point, if one exists. */ public open fun vpcConfiguration(`value`: VpcConfigurationProperty) { - unwrap(this).setVpcConfiguration(`value`.let(VpcConfigurationProperty::unwrap)) + unwrap(this).setVpcConfiguration(`value`.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnAccessPoint( * apply to this Amazon S3 bucket. */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: IResolvable) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnAccessPoint( */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: PublicAccessBlockConfigurationProperty) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(PublicAccessBlockConfigurationProperty::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnAccessPoint( * if one exists. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class CfnAccessPoint( * if one exists. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public open class CfnAccessPoint( * Enabling this setting doesn't affect existing policies or ACLs. */ override fun blockPublicAcls(blockPublicAcls: IResolvable) { - cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable::unwrap)) + cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class CfnAccessPoint( * Enabling this setting doesn't affect existing bucket policies. */ override fun blockPublicPolicy(blockPublicPolicy: IResolvable) { - cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable::unwrap)) + cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class CfnAccessPoint( * prevent new public ACLs from being set. */ override fun ignorePublicAcls(ignorePublicAcls: IResolvable) { - cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable::unwrap)) + cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -775,7 +775,7 @@ public open class CfnAccessPoint( * specific accounts, is blocked. */ override fun restrictPublicBuckets(restrictPublicBuckets: IResolvable) { - cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable::unwrap)) + cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPointProps.kt index 8c46500e20..afcaba742b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnAccessPointProps.kt @@ -221,7 +221,7 @@ public interface CfnAccessPointProps { * in the *Amazon S3 User Guide* . */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: IResolvable) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface CfnAccessPointProps { */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: CfnAccessPoint.PublicAccessBlockConfigurationProperty) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(CfnAccessPoint.PublicAccessBlockConfigurationProperty::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(CfnAccessPoint.PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface CfnAccessPointProps { * if one exists. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public interface CfnAccessPointProps { * if one exists. */ override fun vpcConfiguration(vpcConfiguration: CfnAccessPoint.VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnAccessPoint.VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnAccessPoint.VpcConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucket.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucket.kt index 943fe95f75..1194977a22 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucket.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucket.kt @@ -57,7 +57,7 @@ public open class CfnBucket( cdkObject: software.amazon.awscdk.services.s3.CfnBucket, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.s3.CfnBucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.s3.CfnBucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -66,8 +66,8 @@ public open class CfnBucket( id: String, props: CfnBucketProps, ) : - this(software.amazon.awscdk.services.s3.CfnBucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBucketProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnBucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBucketProps.Companion::unwrap)) ) public constructor( @@ -86,14 +86,14 @@ public open class CfnBucket( * Configures the transfer acceleration state for an Amazon S3 bucket. */ public open fun accelerateConfiguration(`value`: IResolvable) { - unwrap(this).setAccelerateConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccelerateConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures the transfer acceleration state for an Amazon S3 bucket. */ public open fun accelerateConfiguration(`value`: AccelerateConfigurationProperty) { - unwrap(this).setAccelerateConfiguration(`value`.let(AccelerateConfigurationProperty::unwrap)) + unwrap(this).setAccelerateConfiguration(`value`.let(AccelerateConfigurationProperty.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnBucket( * Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket. */ public open fun analyticsConfigurations(`value`: IResolvable) { - unwrap(this).setAnalyticsConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setAnalyticsConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -195,7 +195,7 @@ public open class CfnBucket( * KMS-managed keys (DSSE-KMS). */ public open fun bucketEncryption(`value`: IResolvable) { - unwrap(this).setBucketEncryption(`value`.let(IResolvable::unwrap)) + unwrap(this).setBucketEncryption(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnBucket( * KMS-managed keys (DSSE-KMS). */ public open fun bucketEncryption(`value`: BucketEncryptionProperty) { - unwrap(this).setBucketEncryption(`value`.let(BucketEncryptionProperty::unwrap)) + unwrap(this).setBucketEncryption(`value`.let(BucketEncryptionProperty.Companion::unwrap)) } /** @@ -238,14 +238,14 @@ public open class CfnBucket( * Describes the cross-origin access configuration for objects in an Amazon S3 bucket. */ public open fun corsConfiguration(`value`: IResolvable) { - unwrap(this).setCorsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCorsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the cross-origin access configuration for objects in an Amazon S3 bucket. */ public open fun corsConfiguration(`value`: CorsConfigurationProperty) { - unwrap(this).setCorsConfiguration(`value`.let(CorsConfigurationProperty::unwrap)) + unwrap(this).setCorsConfiguration(`value`.let(CorsConfigurationProperty.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnBucket( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnBucket( * Defines how Amazon S3 handles Intelligent-Tiering storage. */ public open fun intelligentTieringConfigurations(`value`: IResolvable) { - unwrap(this).setIntelligentTieringConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setIntelligentTieringConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public open class CfnBucket( * Specifies the inventory configuration for an Amazon S3 bucket. */ public open fun inventoryConfigurations(`value`: IResolvable) { - unwrap(this).setInventoryConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setInventoryConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -325,14 +325,14 @@ public open class CfnBucket( * Specifies the lifecycle configuration for objects in an Amazon S3 bucket. */ public open fun lifecycleConfiguration(`value`: IResolvable) { - unwrap(this).setLifecycleConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecycleConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the lifecycle configuration for objects in an Amazon S3 bucket. */ public open fun lifecycleConfiguration(`value`: LifecycleConfigurationProperty) { - unwrap(this).setLifecycleConfiguration(`value`.let(LifecycleConfigurationProperty::unwrap)) + unwrap(this).setLifecycleConfiguration(`value`.let(LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -353,14 +353,14 @@ public open class CfnBucket( * Settings that define where logs are stored. */ public open fun loggingConfiguration(`value`: IResolvable) { - unwrap(this).setLoggingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Settings that define where logs are stored. */ public open fun loggingConfiguration(`value`: LoggingConfigurationProperty) { - unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CfnBucket( * configuration ID) from an Amazon S3 bucket. */ public open fun metricsConfigurations(`value`: IResolvable) { - unwrap(this).setMetricsConfigurations(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetricsConfigurations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -409,14 +409,14 @@ public open class CfnBucket( * Configuration that defines how Amazon S3 handles bucket notifications. */ public open fun notificationConfiguration(`value`: IResolvable) { - unwrap(this).setNotificationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration that defines how Amazon S3 handles bucket notifications. */ public open fun notificationConfiguration(`value`: NotificationConfigurationProperty) { - unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -437,14 +437,14 @@ public open class CfnBucket( * This operation is not supported by directory buckets. */ public open fun objectLockConfiguration(`value`: IResolvable) { - unwrap(this).setObjectLockConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setObjectLockConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * This operation is not supported by directory buckets. */ public open fun objectLockConfiguration(`value`: ObjectLockConfigurationProperty) { - unwrap(this).setObjectLockConfiguration(`value`.let(ObjectLockConfigurationProperty::unwrap)) + unwrap(this).setObjectLockConfiguration(`value`.let(ObjectLockConfigurationProperty.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnBucket( * Indicates whether this bucket has an Object Lock configuration enabled. */ public open fun objectLockEnabled(`value`: IResolvable) { - unwrap(this).setObjectLockEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setObjectLockEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -484,14 +484,14 @@ public open class CfnBucket( * Configuration that defines how Amazon S3 handles Object Ownership rules. */ public open fun ownershipControls(`value`: IResolvable) { - unwrap(this).setOwnershipControls(`value`.let(IResolvable::unwrap)) + unwrap(this).setOwnershipControls(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration that defines how Amazon S3 handles Object Ownership rules. */ public open fun ownershipControls(`value`: OwnershipControlsProperty) { - unwrap(this).setOwnershipControls(`value`.let(OwnershipControlsProperty::unwrap)) + unwrap(this).setOwnershipControls(`value`.let(OwnershipControlsProperty.Companion::unwrap)) } /** @@ -512,14 +512,14 @@ public open class CfnBucket( * Configuration that defines how Amazon S3 handles public access. */ public open fun publicAccessBlockConfiguration(`value`: IResolvable) { - unwrap(this).setPublicAccessBlockConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublicAccessBlockConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration that defines how Amazon S3 handles public access. */ public open fun publicAccessBlockConfiguration(`value`: PublicAccessBlockConfigurationProperty) { - unwrap(this).setPublicAccessBlockConfiguration(`value`.let(PublicAccessBlockConfigurationProperty::unwrap)) + unwrap(this).setPublicAccessBlockConfiguration(`value`.let(PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -540,14 +540,14 @@ public open class CfnBucket( * Configuration for replicating objects in an S3 bucket. */ public open fun replicationConfiguration(`value`: IResolvable) { - unwrap(this).setReplicationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for replicating objects in an S3 bucket. */ public open fun replicationConfiguration(`value`: ReplicationConfigurationProperty) { - unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnBucket( * An arbitrary set of tags (key-value pairs) for this S3 bucket. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -591,14 +591,14 @@ public open class CfnBucket( * Enables multiple versions of all objects in this bucket. */ public open fun versioningConfiguration(`value`: IResolvable) { - unwrap(this).setVersioningConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVersioningConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Enables multiple versions of all objects in this bucket. */ public open fun versioningConfiguration(`value`: VersioningConfigurationProperty) { - unwrap(this).setVersioningConfiguration(`value`.let(VersioningConfigurationProperty::unwrap)) + unwrap(this).setVersioningConfiguration(`value`.let(VersioningConfigurationProperty.Companion::unwrap)) } /** @@ -619,14 +619,14 @@ public open class CfnBucket( * Information used to configure the bucket as a static website. */ public open fun websiteConfiguration(`value`: IResolvable) { - unwrap(this).setWebsiteConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setWebsiteConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Information used to configure the bucket as a static website. */ public open fun websiteConfiguration(`value`: WebsiteConfigurationProperty) { - unwrap(this).setWebsiteConfiguration(`value`.let(WebsiteConfigurationProperty::unwrap)) + unwrap(this).setWebsiteConfiguration(`value`.let(WebsiteConfigurationProperty.Companion::unwrap)) } /** @@ -1378,7 +1378,7 @@ public open class CfnBucket( * bucket. */ override fun accelerateConfiguration(accelerateConfiguration: IResolvable) { - cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1393,7 +1393,7 @@ public open class CfnBucket( * bucket. */ override fun accelerateConfiguration(accelerateConfiguration: AccelerateConfigurationProperty) { - cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(AccelerateConfigurationProperty::unwrap)) + cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(AccelerateConfigurationProperty.Companion::unwrap)) } /** @@ -1456,7 +1456,7 @@ public open class CfnBucket( * filter of an Amazon S3 bucket. */ override fun analyticsConfigurations(analyticsConfigurations: IResolvable) { - cdkBuilder.analyticsConfigurations(analyticsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.analyticsConfigurations(analyticsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1496,7 +1496,7 @@ public open class CfnBucket( * server-side encryption with KMS-managed keys (DSSE-KMS). */ override fun bucketEncryption(bucketEncryption: IResolvable) { - cdkBuilder.bucketEncryption(bucketEncryption.let(IResolvable::unwrap)) + cdkBuilder.bucketEncryption(bucketEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -1515,7 +1515,7 @@ public open class CfnBucket( * server-side encryption with KMS-managed keys (DSSE-KMS). */ override fun bucketEncryption(bucketEncryption: BucketEncryptionProperty) { - cdkBuilder.bucketEncryption(bucketEncryption.let(BucketEncryptionProperty::unwrap)) + cdkBuilder.bucketEncryption(bucketEncryption.let(BucketEncryptionProperty.Companion::unwrap)) } /** @@ -1574,7 +1574,7 @@ public open class CfnBucket( * Amazon S3 bucket. */ override fun corsConfiguration(corsConfiguration: IResolvable) { - cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1589,7 +1589,7 @@ public open class CfnBucket( * Amazon S3 bucket. */ override fun corsConfiguration(corsConfiguration: CorsConfigurationProperty) { - cdkBuilder.corsConfiguration(corsConfiguration.let(CorsConfigurationProperty::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(CorsConfigurationProperty.Companion::unwrap)) } /** @@ -1616,7 +1616,7 @@ public open class CfnBucket( * storage. */ override fun intelligentTieringConfigurations(intelligentTieringConfigurations: IResolvable) { - cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.let(IResolvable::unwrap)) + cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1652,7 +1652,7 @@ public open class CfnBucket( * */ override fun inventoryConfigurations(inventoryConfigurations: IResolvable) { - cdkBuilder.inventoryConfigurations(inventoryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.inventoryConfigurations(inventoryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1696,7 +1696,7 @@ public open class CfnBucket( * S3 bucket. */ override fun lifecycleConfiguration(lifecycleConfiguration: IResolvable) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1711,7 +1711,7 @@ public open class CfnBucket( * S3 bucket. */ override fun lifecycleConfiguration(lifecycleConfiguration: LifecycleConfigurationProperty) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(LifecycleConfigurationProperty::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -1738,7 +1738,7 @@ public open class CfnBucket( * @param loggingConfiguration Settings that define where logs are stored. */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1748,7 +1748,7 @@ public open class CfnBucket( * @param loggingConfiguration Settings that define where logs are stored. */ override fun loggingConfiguration(loggingConfiguration: LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1778,7 +1778,7 @@ public open class CfnBucket( * metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. */ override fun metricsConfigurations(metricsConfigurations: IResolvable) { - cdkBuilder.metricsConfigurations(metricsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.metricsConfigurations(metricsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1824,7 +1824,7 @@ public open class CfnBucket( * notifications. */ override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1836,7 +1836,7 @@ public open class CfnBucket( */ override fun notificationConfiguration(notificationConfiguration: NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -1874,7 +1874,7 @@ public open class CfnBucket( * @param objectLockConfiguration This operation is not supported by directory buckets. */ override fun objectLockConfiguration(objectLockConfiguration: IResolvable) { - cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1898,7 +1898,7 @@ public open class CfnBucket( * @param objectLockConfiguration This operation is not supported by directory buckets. */ override fun objectLockConfiguration(objectLockConfiguration: ObjectLockConfigurationProperty) { - cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(ObjectLockConfigurationProperty::unwrap)) + cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(ObjectLockConfigurationProperty.Companion::unwrap)) } /** @@ -1950,7 +1950,7 @@ public open class CfnBucket( * enabled. */ override fun objectLockEnabled(objectLockEnabled: IResolvable) { - cdkBuilder.objectLockEnabled(objectLockEnabled.let(IResolvable::unwrap)) + cdkBuilder.objectLockEnabled(objectLockEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1961,7 +1961,7 @@ public open class CfnBucket( * rules. */ override fun ownershipControls(ownershipControls: IResolvable) { - cdkBuilder.ownershipControls(ownershipControls.let(IResolvable::unwrap)) + cdkBuilder.ownershipControls(ownershipControls.let(IResolvable.Companion::unwrap)) } /** @@ -1972,7 +1972,7 @@ public open class CfnBucket( * rules. */ override fun ownershipControls(ownershipControls: OwnershipControlsProperty) { - cdkBuilder.ownershipControls(ownershipControls.let(OwnershipControlsProperty::unwrap)) + cdkBuilder.ownershipControls(ownershipControls.let(OwnershipControlsProperty.Companion::unwrap)) } /** @@ -1995,7 +1995,7 @@ public open class CfnBucket( * access. */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: IResolvable) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2007,7 +2007,7 @@ public open class CfnBucket( */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: PublicAccessBlockConfigurationProperty) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(PublicAccessBlockConfigurationProperty::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -2037,7 +2037,7 @@ public open class CfnBucket( * @param replicationConfiguration Configuration for replicating objects in an S3 bucket. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2054,7 +2054,7 @@ public open class CfnBucket( */ override fun replicationConfiguration(replicationConfiguration: ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -2082,7 +2082,7 @@ public open class CfnBucket( * @param tags An arbitrary set of tags (key-value pairs) for this S3 bucket. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -2103,7 +2103,7 @@ public open class CfnBucket( * @param versioningConfiguration Enables multiple versions of all objects in this bucket. */ override fun versioningConfiguration(versioningConfiguration: IResolvable) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2116,7 +2116,7 @@ public open class CfnBucket( * @param versioningConfiguration Enables multiple versions of all objects in this bucket. */ override fun versioningConfiguration(versioningConfiguration: VersioningConfigurationProperty) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(VersioningConfigurationProperty::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(VersioningConfigurationProperty.Companion::unwrap)) } /** @@ -2144,7 +2144,7 @@ public open class CfnBucket( * @param websiteConfiguration Information used to configure the bucket as a static website. */ override fun websiteConfiguration(websiteConfiguration: IResolvable) { - cdkBuilder.websiteConfiguration(websiteConfiguration.let(IResolvable::unwrap)) + cdkBuilder.websiteConfiguration(websiteConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2157,7 +2157,7 @@ public open class CfnBucket( * @param websiteConfiguration Information used to configure the bucket as a static website. */ override fun websiteConfiguration(websiteConfiguration: WebsiteConfigurationProperty) { - cdkBuilder.websiteConfiguration(websiteConfiguration.let(WebsiteConfigurationProperty::unwrap)) + cdkBuilder.websiteConfiguration(websiteConfiguration.let(WebsiteConfigurationProperty.Companion::unwrap)) } /** @@ -2626,7 +2626,7 @@ public open class CfnBucket( * made available to analyze the tradeoffs between different storage classes. */ override fun storageClassAnalysis(storageClassAnalysis: IResolvable) { - cdkBuilder.storageClassAnalysis(storageClassAnalysis.let(IResolvable::unwrap)) + cdkBuilder.storageClassAnalysis(storageClassAnalysis.let(IResolvable.Companion::unwrap)) } /** @@ -2634,7 +2634,7 @@ public open class CfnBucket( * made available to analyze the tradeoffs between different storage classes. */ override fun storageClassAnalysis(storageClassAnalysis: StorageClassAnalysisProperty) { - cdkBuilder.storageClassAnalysis(storageClassAnalysis.let(StorageClassAnalysisProperty::unwrap)) + cdkBuilder.storageClassAnalysis(storageClassAnalysis.let(StorageClassAnalysisProperty.Companion::unwrap)) } /** @@ -2653,7 +2653,7 @@ public open class CfnBucket( * specified, all of the contents of the bucket are included in the analysis. */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -2803,7 +2803,7 @@ public open class CfnBucket( */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2931,7 +2931,7 @@ public open class CfnBucket( * You can add up to 100 rules to the configuration. */ override fun corsRules(corsRules: IResolvable) { - cdkBuilder.corsRules(corsRules.let(IResolvable::unwrap)) + cdkBuilder.corsRules(corsRules.let(IResolvable.Companion::unwrap)) } /** @@ -3371,14 +3371,14 @@ public open class CfnBucket( * @param destination The place to store the data for an analysis. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination The place to store the data for an analysis. */ override fun destination(destination: DestinationProperty) { - cdkBuilder.destination(destination.let(DestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(DestinationProperty.Companion::unwrap)) } /** @@ -4073,7 +4073,7 @@ public open class CfnBucket( * @param eventBridgeEnabled Enables delivery of events to Amazon EventBridge. */ override fun eventBridgeEnabled(eventBridgeEnabled: IResolvable) { - cdkBuilder.eventBridgeEnabled(eventBridgeEnabled.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeEnabled(eventBridgeEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -4431,7 +4431,7 @@ public open class CfnBucket( * @param tagFilters A container for a key-value pair. */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -4458,7 +4458,7 @@ public open class CfnBucket( * or Deep Archive Access tiers. */ override fun tierings(tierings: IResolvable) { - cdkBuilder.tierings(tierings.let(IResolvable::unwrap)) + cdkBuilder.tierings(tierings.let(IResolvable.Companion::unwrap)) } /** @@ -4733,14 +4733,14 @@ public open class CfnBucket( * @param destination Contains information about where to publish the inventory results. */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** * @param destination Contains information about where to publish the inventory results. */ override fun destination(destination: DestinationProperty) { - cdkBuilder.destination(destination.let(DestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(DestinationProperty.Companion::unwrap)) } /** @@ -4766,7 +4766,7 @@ public open class CfnBucket( * generated. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -5022,7 +5022,7 @@ public open class CfnBucket( * invoke the function when they are added to the Amazon S3 bucket. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -5032,7 +5032,7 @@ public open class CfnBucket( * invoke the function when they are added to the Amazon S3 bucket. */ override fun filter(filter: NotificationFilterProperty) { - cdkBuilder.filter(filter.let(NotificationFilterProperty::unwrap)) + cdkBuilder.filter(filter.let(NotificationFilterProperty.Companion::unwrap)) } /** @@ -5215,7 +5215,7 @@ public open class CfnBucket( * @param rules A lifecycle rule for individual objects in an Amazon S3 bucket. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -5400,7 +5400,7 @@ public open class CfnBucket( * Only one format, either PartitionedPrefix or SimplePrefix, is allowed. */ override fun targetObjectKeyFormat(targetObjectKeyFormat: IResolvable) { - cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(IResolvable::unwrap)) + cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(IResolvable.Companion::unwrap)) } /** @@ -5408,7 +5408,7 @@ public open class CfnBucket( * Only one format, either PartitionedPrefix or SimplePrefix, is allowed. */ override fun targetObjectKeyFormat(targetObjectKeyFormat: TargetObjectKeyFormatProperty) { - cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(TargetObjectKeyFormatProperty::unwrap)) + cdkBuilder.targetObjectKeyFormat(targetObjectKeyFormat.let(TargetObjectKeyFormatProperty.Companion::unwrap)) } /** @@ -5620,7 +5620,7 @@ public open class CfnBucket( * The metrics configuration includes only objects that meet the filter's criteria. */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -5774,7 +5774,7 @@ public open class CfnBucket( * `s3:Replication:OperationMissedThreshold` event. */ override fun eventThreshold(eventThreshold: IResolvable) { - cdkBuilder.eventThreshold(eventThreshold.let(IResolvable::unwrap)) + cdkBuilder.eventThreshold(eventThreshold.let(IResolvable.Companion::unwrap)) } /** @@ -5782,7 +5782,7 @@ public open class CfnBucket( * `s3:Replication:OperationMissedThreshold` event. */ override fun eventThreshold(eventThreshold: ReplicationTimeValueProperty) { - cdkBuilder.eventThreshold(eventThreshold.let(ReplicationTimeValueProperty::unwrap)) + cdkBuilder.eventThreshold(eventThreshold.let(ReplicationTimeValueProperty.Companion::unwrap)) } /** @@ -6385,7 +6385,7 @@ public open class CfnBucket( * @param eventBridgeConfiguration Enables delivery of events to Amazon EventBridge. */ override fun eventBridgeConfiguration(eventBridgeConfiguration: IResolvable) { - cdkBuilder.eventBridgeConfiguration(eventBridgeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeConfiguration(eventBridgeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -6393,7 +6393,7 @@ public open class CfnBucket( */ override fun eventBridgeConfiguration(eventBridgeConfiguration: EventBridgeConfigurationProperty) { - cdkBuilder.eventBridgeConfiguration(eventBridgeConfiguration.let(EventBridgeConfigurationProperty::unwrap)) + cdkBuilder.eventBridgeConfiguration(eventBridgeConfiguration.let(EventBridgeConfigurationProperty.Companion::unwrap)) } /** @@ -6411,7 +6411,7 @@ public open class CfnBucket( * which to invoke them. */ override fun lambdaConfigurations(lambdaConfigurations: IResolvable) { - cdkBuilder.lambdaConfigurations(lambdaConfigurations.let(IResolvable::unwrap)) + cdkBuilder.lambdaConfigurations(lambdaConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -6434,7 +6434,7 @@ public open class CfnBucket( * and the events for which to publish messages. */ override fun queueConfigurations(queueConfigurations: IResolvable) { - cdkBuilder.queueConfigurations(queueConfigurations.let(IResolvable::unwrap)) + cdkBuilder.queueConfigurations(queueConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -6457,7 +6457,7 @@ public open class CfnBucket( * which notifications are generated. */ override fun topicConfigurations(topicConfigurations: IResolvable) { - cdkBuilder.topicConfigurations(topicConfigurations.let(IResolvable::unwrap)) + cdkBuilder.topicConfigurations(topicConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -6599,14 +6599,14 @@ public open class CfnBucket( * @param s3Key A container for object key name prefix and suffix filtering rules. */ override fun s3Key(s3Key: IResolvable) { - cdkBuilder.s3Key(s3Key.let(IResolvable::unwrap)) + cdkBuilder.s3Key(s3Key.let(IResolvable.Companion::unwrap)) } /** * @param s3Key A container for object key name prefix and suffix filtering rules. */ override fun s3Key(s3Key: S3KeyFilterProperty) { - cdkBuilder.s3Key(s3Key.let(S3KeyFilterProperty::unwrap)) + cdkBuilder.s3Key(s3Key.let(S3KeyFilterProperty.Companion::unwrap)) } /** @@ -6779,7 +6779,7 @@ public open class CfnBucket( * . */ override fun rule(rule: IResolvable) { - cdkBuilder.rule(rule.let(IResolvable::unwrap)) + cdkBuilder.rule(rule.let(IResolvable.Companion::unwrap)) } /** @@ -6793,7 +6793,7 @@ public open class CfnBucket( * . */ override fun rule(rule: ObjectLockRuleProperty) { - cdkBuilder.rule(rule.let(ObjectLockRuleProperty::unwrap)) + cdkBuilder.rule(rule.let(ObjectLockRuleProperty.Companion::unwrap)) } /** @@ -6955,7 +6955,7 @@ public open class CfnBucket( * . */ override fun defaultRetention(defaultRetention: IResolvable) { - cdkBuilder.defaultRetention(defaultRetention.let(IResolvable::unwrap)) + cdkBuilder.defaultRetention(defaultRetention.let(IResolvable.Companion::unwrap)) } /** @@ -6968,7 +6968,7 @@ public open class CfnBucket( * . */ override fun defaultRetention(defaultRetention: DefaultRetentionProperty) { - cdkBuilder.defaultRetention(defaultRetention.let(DefaultRetentionProperty::unwrap)) + cdkBuilder.defaultRetention(defaultRetention.let(DefaultRetentionProperty.Companion::unwrap)) } /** @@ -7088,7 +7088,7 @@ public open class CfnBucket( * @param rules Specifies the container element for Object Ownership rules. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -7527,7 +7527,7 @@ public open class CfnBucket( * Enabling this setting doesn't affect existing policies or ACLs. */ override fun blockPublicAcls(blockPublicAcls: IResolvable) { - cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable::unwrap)) + cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -7551,7 +7551,7 @@ public open class CfnBucket( * Enabling this setting doesn't affect existing bucket policies. */ override fun blockPublicPolicy(blockPublicPolicy: IResolvable) { - cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable::unwrap)) + cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -7577,7 +7577,7 @@ public open class CfnBucket( * prevent new public ACLs from being set. */ override fun ignorePublicAcls(ignorePublicAcls: IResolvable) { - cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable::unwrap)) + cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -7605,7 +7605,7 @@ public open class CfnBucket( * specific accounts, is blocked. */ override fun restrictPublicBuckets(restrictPublicBuckets: IResolvable) { - cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable::unwrap)) + cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -7834,7 +7834,7 @@ public open class CfnBucket( * in the *Amazon S3 User Guide* . */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -7846,7 +7846,7 @@ public open class CfnBucket( * in the *Amazon S3 User Guide* . */ override fun filter(filter: NotificationFilterProperty) { - cdkBuilder.filter(filter.let(NotificationFilterProperty::unwrap)) + cdkBuilder.filter(filter.let(NotificationFilterProperty.Companion::unwrap)) } /** @@ -8577,7 +8577,7 @@ public open class CfnBucket( * rules. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -8905,7 +8905,7 @@ public open class CfnBucket( * AWS account that owns the source object. */ override fun accessControlTranslation(accessControlTranslation: IResolvable) { - cdkBuilder.accessControlTranslation(accessControlTranslation.let(IResolvable::unwrap)) + cdkBuilder.accessControlTranslation(accessControlTranslation.let(IResolvable.Companion::unwrap)) } /** @@ -8917,7 +8917,7 @@ public open class CfnBucket( */ override fun accessControlTranslation(accessControlTranslation: AccessControlTranslationProperty) { - cdkBuilder.accessControlTranslation(accessControlTranslation.let(AccessControlTranslationProperty::unwrap)) + cdkBuilder.accessControlTranslation(accessControlTranslation.let(AccessControlTranslationProperty.Companion::unwrap)) } /** @@ -8961,7 +8961,7 @@ public open class CfnBucket( * @param encryptionConfiguration Specifies encryption-related information. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -8969,7 +8969,7 @@ public open class CfnBucket( */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -8986,7 +8986,7 @@ public open class CfnBucket( * replication metrics and events. */ override fun metrics(metrics: IResolvable) { - cdkBuilder.metrics(metrics.let(IResolvable::unwrap)) + cdkBuilder.metrics(metrics.let(IResolvable.Companion::unwrap)) } /** @@ -8994,7 +8994,7 @@ public open class CfnBucket( * replication metrics and events. */ override fun metrics(metrics: MetricsProperty) { - cdkBuilder.metrics(metrics.let(MetricsProperty::unwrap)) + cdkBuilder.metrics(metrics.let(MetricsProperty.Companion::unwrap)) } /** @@ -9013,7 +9013,7 @@ public open class CfnBucket( * Must be specified together with a `Metrics` block. */ override fun replicationTime(replicationTime: IResolvable) { - cdkBuilder.replicationTime(replicationTime.let(IResolvable::unwrap)) + cdkBuilder.replicationTime(replicationTime.let(IResolvable.Companion::unwrap)) } /** @@ -9023,7 +9023,7 @@ public open class CfnBucket( * Must be specified together with a `Metrics` block. */ override fun replicationTime(replicationTime: ReplicationTimeProperty) { - cdkBuilder.replicationTime(replicationTime.let(ReplicationTimeProperty::unwrap)) + cdkBuilder.replicationTime(replicationTime.let(ReplicationTimeProperty.Companion::unwrap)) } /** @@ -9241,7 +9241,7 @@ public open class CfnBucket( * @param tagFilters An array of tags containing key and value pairs. */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -9453,7 +9453,7 @@ public open class CfnBucket( * tag. */ override fun and(and: IResolvable) { - cdkBuilder.and(and.let(IResolvable::unwrap)) + cdkBuilder.and(and.let(IResolvable.Companion::unwrap)) } /** @@ -9466,7 +9466,7 @@ public open class CfnBucket( * tag. */ override fun and(and: ReplicationRuleAndOperatorProperty) { - cdkBuilder.and(and.let(ReplicationRuleAndOperatorProperty::unwrap)) + cdkBuilder.and(and.let(ReplicationRuleAndOperatorProperty.Companion::unwrap)) } /** @@ -9501,7 +9501,7 @@ public open class CfnBucket( * The rule applies only to objects that have the tag in their tag set. */ override fun tagFilter(tagFilter: IResolvable) { - cdkBuilder.tagFilter(tagFilter.let(IResolvable::unwrap)) + cdkBuilder.tagFilter(tagFilter.let(IResolvable.Companion::unwrap)) } /** @@ -9509,7 +9509,7 @@ public open class CfnBucket( * The rule applies only to objects that have the tag in their tag set. */ override fun tagFilter(tagFilter: TagFilterProperty) { - cdkBuilder.tagFilter(tagFilter.let(TagFilterProperty::unwrap)) + cdkBuilder.tagFilter(tagFilter.let(TagFilterProperty.Companion::unwrap)) } /** @@ -9989,7 +9989,7 @@ public open class CfnBucket( * . */ override fun deleteMarkerReplication(deleteMarkerReplication: IResolvable) { - cdkBuilder.deleteMarkerReplication(deleteMarkerReplication.let(IResolvable::unwrap)) + cdkBuilder.deleteMarkerReplication(deleteMarkerReplication.let(IResolvable.Companion::unwrap)) } /** @@ -10013,7 +10013,7 @@ public open class CfnBucket( */ override fun deleteMarkerReplication(deleteMarkerReplication: DeleteMarkerReplicationProperty) { - cdkBuilder.deleteMarkerReplication(deleteMarkerReplication.let(DeleteMarkerReplicationProperty::unwrap)) + cdkBuilder.deleteMarkerReplication(deleteMarkerReplication.let(DeleteMarkerReplicationProperty.Companion::unwrap)) } /** @@ -10046,7 +10046,7 @@ public open class CfnBucket( * configurations including enabling the S3 Replication Time Control (S3 RTC). */ override fun destination(destination: IResolvable) { - cdkBuilder.destination(destination.let(IResolvable::unwrap)) + cdkBuilder.destination(destination.let(IResolvable.Companion::unwrap)) } /** @@ -10054,7 +10054,7 @@ public open class CfnBucket( * configurations including enabling the S3 Replication Time Control (S3 RTC). */ override fun destination(destination: ReplicationDestinationProperty) { - cdkBuilder.destination(destination.let(ReplicationDestinationProperty::unwrap)) + cdkBuilder.destination(destination.let(ReplicationDestinationProperty.Companion::unwrap)) } /** @@ -10078,7 +10078,7 @@ public open class CfnBucket( * replication configuration, add the `Prefix` directly as a child element of the `Rule` element. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -10093,7 +10093,7 @@ public open class CfnBucket( * replication configuration, add the `Prefix` directly as a child element of the `Rule` element. */ override fun filter(filter: ReplicationRuleFilterProperty) { - cdkBuilder.filter(filter.let(ReplicationRuleFilterProperty::unwrap)) + cdkBuilder.filter(filter.let(ReplicationRuleFilterProperty.Companion::unwrap)) } /** @@ -10161,7 +10161,7 @@ public open class CfnBucket( * You can choose to enable or disable the replication of these objects. */ override fun sourceSelectionCriteria(sourceSelectionCriteria: IResolvable) { - cdkBuilder.sourceSelectionCriteria(sourceSelectionCriteria.let(IResolvable::unwrap)) + cdkBuilder.sourceSelectionCriteria(sourceSelectionCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -10171,7 +10171,7 @@ public open class CfnBucket( */ override fun sourceSelectionCriteria(sourceSelectionCriteria: SourceSelectionCriteriaProperty) { - cdkBuilder.sourceSelectionCriteria(sourceSelectionCriteria.let(SourceSelectionCriteriaProperty::unwrap)) + cdkBuilder.sourceSelectionCriteria(sourceSelectionCriteria.let(SourceSelectionCriteriaProperty.Companion::unwrap)) } /** @@ -10417,7 +10417,7 @@ public open class CfnBucket( * objects and operations on objects. */ override fun time(time: IResolvable) { - cdkBuilder.time(time.let(IResolvable::unwrap)) + cdkBuilder.time(time.let(IResolvable.Companion::unwrap)) } /** @@ -10425,7 +10425,7 @@ public open class CfnBucket( * objects and operations on objects. */ override fun time(time: ReplicationTimeValueProperty) { - cdkBuilder.time(time.let(ReplicationTimeValueProperty::unwrap)) + cdkBuilder.time(time.let(ReplicationTimeValueProperty.Companion::unwrap)) } /** @@ -10855,7 +10855,7 @@ public open class CfnBucket( * the event of an error, you can specify a different error code to return. */ override fun redirectRule(redirectRule: IResolvable) { - cdkBuilder.redirectRule(redirectRule.let(IResolvable::unwrap)) + cdkBuilder.redirectRule(redirectRule.let(IResolvable.Companion::unwrap)) } /** @@ -10864,7 +10864,7 @@ public open class CfnBucket( * the event of an error, you can specify a different error code to return. */ override fun redirectRule(redirectRule: RedirectRuleProperty) { - cdkBuilder.redirectRule(redirectRule.let(RedirectRuleProperty::unwrap)) + cdkBuilder.redirectRule(redirectRule.let(RedirectRuleProperty.Companion::unwrap)) } /** @@ -10885,7 +10885,7 @@ public open class CfnBucket( * might process the error. */ override fun routingRuleCondition(routingRuleCondition: IResolvable) { - cdkBuilder.routingRuleCondition(routingRuleCondition.let(IResolvable::unwrap)) + cdkBuilder.routingRuleCondition(routingRuleCondition.let(IResolvable.Companion::unwrap)) } /** @@ -10896,7 +10896,7 @@ public open class CfnBucket( * might process the error. */ override fun routingRuleCondition(routingRuleCondition: RoutingRuleConditionProperty) { - cdkBuilder.routingRuleCondition(routingRuleCondition.let(RoutingRuleConditionProperty::unwrap)) + cdkBuilder.routingRuleCondition(routingRuleCondition.let(RoutingRuleConditionProperty.Companion::unwrap)) } /** @@ -11495,7 +11495,7 @@ public open class CfnBucket( * multipart uploads to an Amazon S3 bucket. */ override fun abortIncompleteMultipartUpload(abortIncompleteMultipartUpload: IResolvable) { - cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(IResolvable::unwrap)) + cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(IResolvable.Companion::unwrap)) } /** @@ -11504,7 +11504,7 @@ public open class CfnBucket( */ override fun abortIncompleteMultipartUpload(abortIncompleteMultipartUpload: AbortIncompleteMultipartUploadProperty) { - cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(AbortIncompleteMultipartUploadProperty::unwrap)) + cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(AbortIncompleteMultipartUploadProperty.Companion::unwrap)) } /** @@ -11526,7 +11526,7 @@ public open class CfnBucket( * in days or by date). The expiration time must also be later than the transition time. */ override fun expirationDate(expirationDate: IResolvable) { - cdkBuilder.expirationDate(expirationDate.let(IResolvable::unwrap)) + cdkBuilder.expirationDate(expirationDate.let(IResolvable.Companion::unwrap)) } /** @@ -11568,7 +11568,7 @@ public open class CfnBucket( * cannot be specified with `ExpirationInDays` , `ExpirationDate` , or `TagFilters` . */ override fun expiredObjectDeleteMarker(expiredObjectDeleteMarker: IResolvable) { - cdkBuilder.expiredObjectDeleteMarker(expiredObjectDeleteMarker.let(IResolvable::unwrap)) + cdkBuilder.expiredObjectDeleteMarker(expiredObjectDeleteMarker.let(IResolvable.Companion::unwrap)) } /** @@ -11587,7 +11587,7 @@ public open class CfnBucket( * lifetime. */ override fun noncurrentVersionExpiration(noncurrentVersionExpiration: IResolvable) { - cdkBuilder.noncurrentVersionExpiration(noncurrentVersionExpiration.let(IResolvable::unwrap)) + cdkBuilder.noncurrentVersionExpiration(noncurrentVersionExpiration.let(IResolvable.Companion::unwrap)) } /** @@ -11599,7 +11599,7 @@ public open class CfnBucket( */ override fun noncurrentVersionExpiration(noncurrentVersionExpiration: NoncurrentVersionExpirationProperty) { - cdkBuilder.noncurrentVersionExpiration(noncurrentVersionExpiration.let(NoncurrentVersionExpirationProperty::unwrap)) + cdkBuilder.noncurrentVersionExpiration(noncurrentVersionExpiration.let(NoncurrentVersionExpirationProperty.Companion::unwrap)) } /** @@ -11635,7 +11635,7 @@ public open class CfnBucket( * `NoncurrentVersionTransitions` property. */ override fun noncurrentVersionTransition(noncurrentVersionTransition: IResolvable) { - cdkBuilder.noncurrentVersionTransition(noncurrentVersionTransition.let(IResolvable::unwrap)) + cdkBuilder.noncurrentVersionTransition(noncurrentVersionTransition.let(IResolvable.Companion::unwrap)) } /** @@ -11647,7 +11647,7 @@ public open class CfnBucket( */ override fun noncurrentVersionTransition(noncurrentVersionTransition: NoncurrentVersionTransitionProperty) { - cdkBuilder.noncurrentVersionTransition(noncurrentVersionTransition.let(NoncurrentVersionTransitionProperty::unwrap)) + cdkBuilder.noncurrentVersionTransition(noncurrentVersionTransition.let(NoncurrentVersionTransitionProperty.Companion::unwrap)) } /** @@ -11673,7 +11673,7 @@ public open class CfnBucket( * property. */ override fun noncurrentVersionTransitions(noncurrentVersionTransitions: IResolvable) { - cdkBuilder.noncurrentVersionTransitions(noncurrentVersionTransitions.let(IResolvable::unwrap)) + cdkBuilder.noncurrentVersionTransitions(noncurrentVersionTransitions.let(IResolvable.Companion::unwrap)) } /** @@ -11749,7 +11749,7 @@ public open class CfnBucket( * applies. */ override fun tagFilters(tagFilters: IResolvable) { - cdkBuilder.tagFilters(tagFilters.let(IResolvable::unwrap)) + cdkBuilder.tagFilters(tagFilters.let(IResolvable.Companion::unwrap)) } /** @@ -11773,7 +11773,7 @@ public open class CfnBucket( * transition time. If you specify this property, don't specify the `Transitions` property. */ override fun transition(transition: IResolvable) { - cdkBuilder.transition(transition.let(IResolvable::unwrap)) + cdkBuilder.transition(transition.let(IResolvable.Companion::unwrap)) } /** @@ -11783,7 +11783,7 @@ public open class CfnBucket( * transition time. If you specify this property, don't specify the `Transitions` property. */ override fun transition(transition: TransitionProperty) { - cdkBuilder.transition(transition.let(TransitionProperty::unwrap)) + cdkBuilder.transition(transition.let(TransitionProperty.Companion::unwrap)) } /** @@ -11805,7 +11805,7 @@ public open class CfnBucket( * transition time. If you specify this property, don't specify the `Transition` property. */ override fun transitions(transitions: IResolvable) { - cdkBuilder.transitions(transitions.let(IResolvable::unwrap)) + cdkBuilder.transitions(transitions.let(IResolvable.Companion::unwrap)) } /** @@ -12097,7 +12097,7 @@ public open class CfnBucket( * filter rule. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -12497,7 +12497,7 @@ public open class CfnBucket( * Guide* . */ override fun bucketKeyEnabled(bucketKeyEnabled: IResolvable) { - cdkBuilder.bucketKeyEnabled(bucketKeyEnabled.let(IResolvable::unwrap)) + cdkBuilder.bucketKeyEnabled(bucketKeyEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -12507,7 +12507,7 @@ public open class CfnBucket( * will be applied. */ override fun serverSideEncryptionByDefault(serverSideEncryptionByDefault: IResolvable) { - cdkBuilder.serverSideEncryptionByDefault(serverSideEncryptionByDefault.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionByDefault(serverSideEncryptionByDefault.let(IResolvable.Companion::unwrap)) } /** @@ -12518,7 +12518,7 @@ public open class CfnBucket( */ override fun serverSideEncryptionByDefault(serverSideEncryptionByDefault: ServerSideEncryptionByDefaultProperty) { - cdkBuilder.serverSideEncryptionByDefault(serverSideEncryptionByDefault.let(ServerSideEncryptionByDefaultProperty::unwrap)) + cdkBuilder.serverSideEncryptionByDefault(serverSideEncryptionByDefault.let(ServerSideEncryptionByDefaultProperty.Companion::unwrap)) } /** @@ -12686,7 +12686,7 @@ public open class CfnBucket( * on replicas. */ override fun replicaModifications(replicaModifications: IResolvable) { - cdkBuilder.replicaModifications(replicaModifications.let(IResolvable::unwrap)) + cdkBuilder.replicaModifications(replicaModifications.let(IResolvable.Companion::unwrap)) } /** @@ -12694,7 +12694,7 @@ public open class CfnBucket( * on replicas. */ override fun replicaModifications(replicaModifications: ReplicaModificationsProperty) { - cdkBuilder.replicaModifications(replicaModifications.let(ReplicaModificationsProperty::unwrap)) + cdkBuilder.replicaModifications(replicaModifications.let(ReplicaModificationsProperty.Companion::unwrap)) } /** @@ -12712,7 +12712,7 @@ public open class CfnBucket( * Amazon S3 objects encrypted with AWS KMS. */ override fun sseKmsEncryptedObjects(sseKmsEncryptedObjects: IResolvable) { - cdkBuilder.sseKmsEncryptedObjects(sseKmsEncryptedObjects.let(IResolvable::unwrap)) + cdkBuilder.sseKmsEncryptedObjects(sseKmsEncryptedObjects.let(IResolvable.Companion::unwrap)) } /** @@ -12720,7 +12720,7 @@ public open class CfnBucket( * Amazon S3 objects encrypted with AWS KMS. */ override fun sseKmsEncryptedObjects(sseKmsEncryptedObjects: SseKmsEncryptedObjectsProperty) { - cdkBuilder.sseKmsEncryptedObjects(sseKmsEncryptedObjects.let(SseKmsEncryptedObjectsProperty::unwrap)) + cdkBuilder.sseKmsEncryptedObjects(sseKmsEncryptedObjects.let(SseKmsEncryptedObjectsProperty.Companion::unwrap)) } /** @@ -12933,7 +12933,7 @@ public open class CfnBucket( * bucket should be exported. */ override fun dataExport(dataExport: IResolvable) { - cdkBuilder.dataExport(dataExport.let(IResolvable::unwrap)) + cdkBuilder.dataExport(dataExport.let(IResolvable.Companion::unwrap)) } /** @@ -12941,7 +12941,7 @@ public open class CfnBucket( * bucket should be exported. */ override fun dataExport(dataExport: DataExportProperty) { - cdkBuilder.dataExport(dataExport.let(DataExportProperty::unwrap)) + cdkBuilder.dataExport(dataExport.let(DataExportProperty.Companion::unwrap)) } /** @@ -13169,14 +13169,14 @@ public open class CfnBucket( * @param partitionedPrefix Partitioned S3 key for log objects. */ override fun partitionedPrefix(partitionedPrefix: IResolvable) { - cdkBuilder.partitionedPrefix(partitionedPrefix.let(IResolvable::unwrap)) + cdkBuilder.partitionedPrefix(partitionedPrefix.let(IResolvable.Companion::unwrap)) } /** * @param partitionedPrefix Partitioned S3 key for log objects. */ override fun partitionedPrefix(partitionedPrefix: PartitionedPrefixProperty) { - cdkBuilder.partitionedPrefix(partitionedPrefix.let(PartitionedPrefixProperty::unwrap)) + cdkBuilder.partitionedPrefix(partitionedPrefix.let(PartitionedPrefixProperty.Companion::unwrap)) } /** @@ -13496,7 +13496,7 @@ public open class CfnBucket( * files with a `.jpg` extension are added to the bucket. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -13505,7 +13505,7 @@ public open class CfnBucket( * files with a `.jpg` extension are added to the bucket. */ override fun filter(filter: NotificationFilterProperty) { - cdkBuilder.filter(filter.let(NotificationFilterProperty::unwrap)) + cdkBuilder.filter(filter.let(NotificationFilterProperty.Companion::unwrap)) } /** @@ -13682,7 +13682,7 @@ public open class CfnBucket( * The date value must be in ISO 8601 format. The time is always midnight UTC. */ override fun transitionDate(transitionDate: IResolvable) { - cdkBuilder.transitionDate(transitionDate.let(IResolvable::unwrap)) + cdkBuilder.transitionDate(transitionDate.let(IResolvable.Companion::unwrap)) } /** @@ -13997,7 +13997,7 @@ public open class CfnBucket( * If you specify this property, you can't specify any other property. */ override fun redirectAllRequestsTo(redirectAllRequestsTo: IResolvable) { - cdkBuilder.redirectAllRequestsTo(redirectAllRequestsTo.let(IResolvable::unwrap)) + cdkBuilder.redirectAllRequestsTo(redirectAllRequestsTo.let(IResolvable.Companion::unwrap)) } /** @@ -14007,7 +14007,7 @@ public open class CfnBucket( * If you specify this property, you can't specify any other property. */ override fun redirectAllRequestsTo(redirectAllRequestsTo: RedirectAllRequestsToProperty) { - cdkBuilder.redirectAllRequestsTo(redirectAllRequestsTo.let(RedirectAllRequestsToProperty::unwrap)) + cdkBuilder.redirectAllRequestsTo(redirectAllRequestsTo.let(RedirectAllRequestsToProperty.Companion::unwrap)) } /** @@ -14026,7 +14026,7 @@ public open class CfnBucket( * @param routingRules Rules that define when a redirect is applied and the redirect behavior. */ override fun routingRules(routingRules: IResolvable) { - cdkBuilder.routingRules(routingRules.let(IResolvable::unwrap)) + cdkBuilder.routingRules(routingRules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketPolicy.kt index 2dff8cb242..949f0ddc1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketPolicy.kt @@ -59,8 +59,8 @@ public open class CfnBucketPolicy( id: String, props: CfnBucketPolicyProps, ) : - this(software.amazon.awscdk.services.s3.CfnBucketPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBucketPolicyProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnBucketPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBucketPolicyProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnBucketPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketProps.kt index 2f06de9395..69c1001168 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnBucketProps.kt @@ -798,7 +798,7 @@ public interface CfnBucketProps { * *Amazon S3 User Guide* . */ override fun accelerateConfiguration(accelerateConfiguration: IResolvable) { - cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(IResolvable::unwrap)) + cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -810,7 +810,7 @@ public interface CfnBucketProps { */ override fun accelerateConfiguration(accelerateConfiguration: CfnBucket.AccelerateConfigurationProperty) { - cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(CfnBucket.AccelerateConfigurationProperty::unwrap)) + cdkBuilder.accelerateConfiguration(accelerateConfiguration.let(CfnBucket.AccelerateConfigurationProperty.Companion::unwrap)) } /** @@ -862,7 +862,7 @@ public interface CfnBucketProps { * filter of an Amazon S3 bucket. */ override fun analyticsConfigurations(analyticsConfigurations: IResolvable) { - cdkBuilder.analyticsConfigurations(analyticsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.analyticsConfigurations(analyticsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public interface CfnBucketProps { * S3 User Guide* . */ override fun bucketEncryption(bucketEncryption: IResolvable) { - cdkBuilder.bucketEncryption(bucketEncryption.let(IResolvable::unwrap)) + cdkBuilder.bucketEncryption(bucketEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public interface CfnBucketProps { * S3 User Guide* . */ override fun bucketEncryption(bucketEncryption: CfnBucket.BucketEncryptionProperty) { - cdkBuilder.bucketEncryption(bucketEncryption.let(CfnBucket.BucketEncryptionProperty::unwrap)) + cdkBuilder.bucketEncryption(bucketEncryption.let(CfnBucket.BucketEncryptionProperty.Companion::unwrap)) } /** @@ -948,7 +948,7 @@ public interface CfnBucketProps { * Guide* . */ override fun corsConfiguration(corsConfiguration: IResolvable) { - cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -959,7 +959,7 @@ public interface CfnBucketProps { * Guide* . */ override fun corsConfiguration(corsConfiguration: CfnBucket.CorsConfigurationProperty) { - cdkBuilder.corsConfiguration(corsConfiguration.let(CfnBucket.CorsConfigurationProperty::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(CfnBucket.CorsConfigurationProperty.Companion::unwrap)) } /** @@ -980,7 +980,7 @@ public interface CfnBucketProps { * storage. */ override fun intelligentTieringConfigurations(intelligentTieringConfigurations: IResolvable) { - cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.let(IResolvable::unwrap)) + cdkBuilder.intelligentTieringConfigurations(intelligentTieringConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public interface CfnBucketProps { * the *Amazon S3 API Reference* . */ override fun inventoryConfigurations(inventoryConfigurations: IResolvable) { - cdkBuilder.inventoryConfigurations(inventoryConfigurations.let(IResolvable::unwrap)) + cdkBuilder.inventoryConfigurations(inventoryConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public interface CfnBucketProps { * *Amazon S3 User Guide* . */ override fun lifecycleConfiguration(lifecycleConfiguration: IResolvable) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1047,7 +1047,7 @@ public interface CfnBucketProps { */ override fun lifecycleConfiguration(lifecycleConfiguration: CfnBucket.LifecycleConfigurationProperty) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(CfnBucket.LifecycleConfigurationProperty::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(CfnBucket.LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -1068,7 +1068,7 @@ public interface CfnBucketProps { * @param loggingConfiguration Settings that define where logs are stored. */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1076,7 +1076,7 @@ public interface CfnBucketProps { */ override fun loggingConfiguration(loggingConfiguration: CfnBucket.LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnBucket.LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnBucket.LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -1098,7 +1098,7 @@ public interface CfnBucketProps { * . */ override fun metricsConfigurations(metricsConfigurations: IResolvable) { - cdkBuilder.metricsConfigurations(metricsConfigurations.let(IResolvable::unwrap)) + cdkBuilder.metricsConfigurations(metricsConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -1131,7 +1131,7 @@ public interface CfnBucketProps { * notifications. */ override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1140,7 +1140,7 @@ public interface CfnBucketProps { */ override fun notificationConfiguration(notificationConfiguration: CfnBucket.NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnBucket.NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnBucket.NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -1170,7 +1170,7 @@ public interface CfnBucketProps { * Lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html) . */ override fun objectLockConfiguration(objectLockConfiguration: IResolvable) { - cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1190,7 +1190,7 @@ public interface CfnBucketProps { */ override fun objectLockConfiguration(objectLockConfiguration: CfnBucket.ObjectLockConfigurationProperty) { - cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(CfnBucket.ObjectLockConfigurationProperty::unwrap)) + cdkBuilder.objectLockConfiguration(objectLockConfiguration.let(CfnBucket.ObjectLockConfigurationProperty.Companion::unwrap)) } /** @@ -1230,7 +1230,7 @@ public interface CfnBucketProps { * Enable `ObjectLockEnabled` when you apply `ObjectLockConfiguration` to a bucket. */ override fun objectLockEnabled(objectLockEnabled: IResolvable) { - cdkBuilder.objectLockEnabled(objectLockEnabled.let(IResolvable::unwrap)) + cdkBuilder.objectLockEnabled(objectLockEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1238,7 +1238,7 @@ public interface CfnBucketProps { * rules. */ override fun ownershipControls(ownershipControls: IResolvable) { - cdkBuilder.ownershipControls(ownershipControls.let(IResolvable::unwrap)) + cdkBuilder.ownershipControls(ownershipControls.let(IResolvable.Companion::unwrap)) } /** @@ -1246,7 +1246,7 @@ public interface CfnBucketProps { * rules. */ override fun ownershipControls(ownershipControls: CfnBucket.OwnershipControlsProperty) { - cdkBuilder.ownershipControls(ownershipControls.let(CfnBucket.OwnershipControlsProperty::unwrap)) + cdkBuilder.ownershipControls(ownershipControls.let(CfnBucket.OwnershipControlsProperty.Companion::unwrap)) } /** @@ -1264,7 +1264,7 @@ public interface CfnBucketProps { * access. */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: IResolvable) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1273,7 +1273,7 @@ public interface CfnBucketProps { */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: CfnBucket.PublicAccessBlockConfigurationProperty) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(CfnBucket.PublicAccessBlockConfigurationProperty::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(CfnBucket.PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public interface CfnBucketProps { * buckets. The destination bucket or buckets must already exist. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1309,7 +1309,7 @@ public interface CfnBucketProps { */ override fun replicationConfiguration(replicationConfiguration: CfnBucket.ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnBucket.ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnBucket.ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -1331,7 +1331,7 @@ public interface CfnBucketProps { * @param tags An arbitrary set of tags (key-value pairs) for this S3 bucket. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1345,7 +1345,7 @@ public interface CfnBucketProps { * or to archive objects so that you can retrieve previous versions of them. */ override fun versioningConfiguration(versioningConfiguration: IResolvable) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1355,7 +1355,7 @@ public interface CfnBucketProps { */ override fun versioningConfiguration(versioningConfiguration: CfnBucket.VersioningConfigurationProperty) { - cdkBuilder.versioningConfiguration(versioningConfiguration.let(CfnBucket.VersioningConfigurationProperty::unwrap)) + cdkBuilder.versioningConfiguration(versioningConfiguration.let(CfnBucket.VersioningConfigurationProperty.Companion::unwrap)) } /** @@ -1376,7 +1376,7 @@ public interface CfnBucketProps { * S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) . */ override fun websiteConfiguration(websiteConfiguration: IResolvable) { - cdkBuilder.websiteConfiguration(websiteConfiguration.let(IResolvable::unwrap)) + cdkBuilder.websiteConfiguration(websiteConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1386,7 +1386,7 @@ public interface CfnBucketProps { */ override fun websiteConfiguration(websiteConfiguration: CfnBucket.WebsiteConfigurationProperty) { - cdkBuilder.websiteConfiguration(websiteConfiguration.let(CfnBucket.WebsiteConfigurationProperty::unwrap)) + cdkBuilder.websiteConfiguration(websiteConfiguration.let(CfnBucket.WebsiteConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPoint.kt index 69d8489686..d2e197f5ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPoint.kt @@ -59,8 +59,8 @@ public open class CfnMultiRegionAccessPoint( id: String, props: CfnMultiRegionAccessPointProps, ) : - this(software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMultiRegionAccessPointProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMultiRegionAccessPointProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnMultiRegionAccessPoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -116,14 +116,14 @@ public open class CfnMultiRegionAccessPoint( * The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point. */ public open fun publicAccessBlockConfiguration(`value`: IResolvable) { - unwrap(this).setPublicAccessBlockConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setPublicAccessBlockConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point. */ public open fun publicAccessBlockConfiguration(`value`: PublicAccessBlockConfigurationProperty) { - unwrap(this).setPublicAccessBlockConfiguration(`value`.let(PublicAccessBlockConfigurationProperty::unwrap)) + unwrap(this).setPublicAccessBlockConfiguration(`value`.let(PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class CfnMultiRegionAccessPoint( * A collection of the Regions and buckets associated with the Multi-Region Access Point. */ public open fun regions(`value`: IResolvable) { - unwrap(this).setRegions(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnMultiRegionAccessPoint( * apply to this Multi-Region Access Point. */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: IResolvable) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnMultiRegionAccessPoint( */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: PublicAccessBlockConfigurationProperty) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(PublicAccessBlockConfigurationProperty::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public open class CfnMultiRegionAccessPoint( * Access Point. */ override fun regions(regions: IResolvable) { - cdkBuilder.regions(regions.let(IResolvable::unwrap)) + cdkBuilder.regions(regions.let(IResolvable.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public open class CfnMultiRegionAccessPoint( * Enabling this setting doesn't affect existing policies or ACLs. */ override fun blockPublicAcls(blockPublicAcls: IResolvable) { - cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable::unwrap)) + cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnMultiRegionAccessPoint( * Enabling this setting doesn't affect existing bucket policies. */ override fun blockPublicPolicy(blockPublicPolicy: IResolvable) { - cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable::unwrap)) + cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -635,7 +635,7 @@ public open class CfnMultiRegionAccessPoint( * prevent new public ACLs from being set. */ override fun ignorePublicAcls(ignorePublicAcls: IResolvable) { - cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable::unwrap)) + cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class CfnMultiRegionAccessPoint( * specific accounts, is blocked. */ override fun restrictPublicBuckets(restrictPublicBuckets: IResolvable) { - cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable::unwrap)) + cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointPolicy.kt index 221d923954..a3d309c22d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointPolicy.kt @@ -47,8 +47,8 @@ public open class CfnMultiRegionAccessPointPolicy( id: String, props: CfnMultiRegionAccessPointPolicyProps, ) : - this(software.amazon.awscdk.services.s3.CfnMultiRegionAccessPointPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMultiRegionAccessPointPolicyProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnMultiRegionAccessPointPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMultiRegionAccessPointPolicyProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnMultiRegionAccessPointPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointProps.kt index 2b68a2bcba..2b570ae04d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnMultiRegionAccessPointProps.kt @@ -153,7 +153,7 @@ public interface CfnMultiRegionAccessPointProps { * in the *Amazon S3 User Guide* . */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: IResolvable) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface CfnMultiRegionAccessPointProps { */ override fun publicAccessBlockConfiguration(publicAccessBlockConfiguration: CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty) { - cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty::unwrap)) + cdkBuilder.publicAccessBlockConfiguration(publicAccessBlockConfiguration.let(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnMultiRegionAccessPointProps { * Access Point. */ override fun regions(regions: IResolvable) { - cdkBuilder.regions(regions.let(IResolvable::unwrap)) + cdkBuilder.regions(regions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLens.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLens.kt index 23f45da9f1..d75f908aa1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLens.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLens.kt @@ -132,8 +132,8 @@ public open class CfnStorageLens( id: String, props: CfnStorageLensProps, ) : - this(software.amazon.awscdk.services.s3.CfnStorageLens(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStorageLensProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnStorageLens(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStorageLensProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class CfnStorageLens( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnStorageLens( * This resource contains the details Amazon S3 Storage Lens configuration. */ public open fun storageLensConfiguration(`value`: IResolvable) { - unwrap(this).setStorageLensConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setStorageLensConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * This resource contains the details Amazon S3 Storage Lens configuration. */ public open fun storageLensConfiguration(`value`: StorageLensConfigurationProperty) { - unwrap(this).setStorageLensConfiguration(`value`.let(StorageLensConfigurationProperty::unwrap)) + unwrap(this).setStorageLensConfiguration(`value`.let(StorageLensConfigurationProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnStorageLens( * A set of tags (key–value pairs) to associate with the Storage Lens configuration. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnStorageLens( * configuration. */ override fun storageLensConfiguration(storageLensConfiguration: IResolvable) { - cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(IResolvable::unwrap)) + cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnStorageLens( */ override fun storageLensConfiguration(storageLensConfiguration: StorageLensConfigurationProperty) { - cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(StorageLensConfigurationProperty::unwrap)) + cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(StorageLensConfigurationProperty.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class CfnStorageLens( * */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class CfnStorageLens( * for S3 Storage Lens. */ override fun activityMetrics(activityMetrics: IResolvable) { - cdkBuilder.activityMetrics(activityMetrics.let(IResolvable::unwrap)) + cdkBuilder.activityMetrics(activityMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnStorageLens( * for S3 Storage Lens. */ override fun activityMetrics(activityMetrics: ActivityMetricsProperty) { - cdkBuilder.activityMetrics(activityMetrics.let(ActivityMetricsProperty::unwrap)) + cdkBuilder.activityMetrics(activityMetrics.let(ActivityMetricsProperty.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public open class CfnStorageLens( * advanced cost optimization metrics for S3 Storage Lens. */ override fun advancedCostOptimizationMetrics(advancedCostOptimizationMetrics: IResolvable) { - cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(IResolvable::unwrap)) + cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnStorageLens( */ override fun advancedCostOptimizationMetrics(advancedCostOptimizationMetrics: AdvancedCostOptimizationMetricsProperty) { - cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(AdvancedCostOptimizationMetricsProperty::unwrap)) + cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(AdvancedCostOptimizationMetricsProperty.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class CfnStorageLens( * advanced data protection metrics for S3 Storage Lens. */ override fun advancedDataProtectionMetrics(advancedDataProtectionMetrics: IResolvable) { - cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(IResolvable::unwrap)) + cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public open class CfnStorageLens( */ override fun advancedDataProtectionMetrics(advancedDataProtectionMetrics: AdvancedDataProtectionMetricsProperty) { - cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(AdvancedDataProtectionMetricsProperty::unwrap)) + cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(AdvancedDataProtectionMetricsProperty.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnStorageLens( * configurations for Amazon S3 Storage Lens. */ override fun bucketLevel(bucketLevel: IResolvable) { - cdkBuilder.bucketLevel(bucketLevel.let(IResolvable::unwrap)) + cdkBuilder.bucketLevel(bucketLevel.let(IResolvable.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnStorageLens( * configurations for Amazon S3 Storage Lens. */ override fun bucketLevel(bucketLevel: BucketLevelProperty) { - cdkBuilder.bucketLevel(bucketLevel.let(BucketLevelProperty::unwrap)) + cdkBuilder.bucketLevel(bucketLevel.let(BucketLevelProperty.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class CfnStorageLens( * detailed status code metrics for S3 Storage Lens. */ override fun detailedStatusCodesMetrics(detailedStatusCodesMetrics: IResolvable) { - cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(IResolvable::unwrap)) + cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class CfnStorageLens( */ override fun detailedStatusCodesMetrics(detailedStatusCodesMetrics: DetailedStatusCodesMetricsProperty) { - cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(DetailedStatusCodesMetricsProperty::unwrap)) + cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(DetailedStatusCodesMetricsProperty.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnStorageLens( * that is displayed in the Storage Lens dashboard. */ override fun storageLensGroupLevel(storageLensGroupLevel: IResolvable) { - cdkBuilder.storageLensGroupLevel(storageLensGroupLevel.let(IResolvable::unwrap)) + cdkBuilder.storageLensGroupLevel(storageLensGroupLevel.let(IResolvable.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnStorageLens( * that is displayed in the Storage Lens dashboard. */ override fun storageLensGroupLevel(storageLensGroupLevel: StorageLensGroupLevelProperty) { - cdkBuilder.storageLensGroupLevel(storageLensGroupLevel.let(StorageLensGroupLevelProperty::unwrap)) + cdkBuilder.storageLensGroupLevel(storageLensGroupLevel.let(StorageLensGroupLevelProperty.Companion::unwrap)) } /** @@ -897,7 +897,7 @@ public open class CfnStorageLens( * @param isEnabled A property that indicates whether the activity metrics is enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.CfnStorageLens.ActivityMetricsProperty @@ -1001,7 +1001,7 @@ public open class CfnStorageLens( * @param isEnabled Indicates whether advanced cost optimization metrics are enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1106,7 +1106,7 @@ public open class CfnStorageLens( * @param isEnabled Indicates whether advanced data protection metrics are enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1416,14 +1416,14 @@ public open class CfnStorageLens( * @param activityMetrics A property for bucket-level activity metrics for S3 Storage Lens. */ override fun activityMetrics(activityMetrics: IResolvable) { - cdkBuilder.activityMetrics(activityMetrics.let(IResolvable::unwrap)) + cdkBuilder.activityMetrics(activityMetrics.let(IResolvable.Companion::unwrap)) } /** * @param activityMetrics A property for bucket-level activity metrics for S3 Storage Lens. */ override fun activityMetrics(activityMetrics: ActivityMetricsProperty) { - cdkBuilder.activityMetrics(activityMetrics.let(ActivityMetricsProperty::unwrap)) + cdkBuilder.activityMetrics(activityMetrics.let(ActivityMetricsProperty.Companion::unwrap)) } /** @@ -1439,7 +1439,7 @@ public open class CfnStorageLens( * optimization metrics for S3 Storage Lens. */ override fun advancedCostOptimizationMetrics(advancedCostOptimizationMetrics: IResolvable) { - cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(IResolvable::unwrap)) + cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -1448,7 +1448,7 @@ public open class CfnStorageLens( */ override fun advancedCostOptimizationMetrics(advancedCostOptimizationMetrics: AdvancedCostOptimizationMetricsProperty) { - cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(AdvancedCostOptimizationMetricsProperty::unwrap)) + cdkBuilder.advancedCostOptimizationMetrics(advancedCostOptimizationMetrics.let(AdvancedCostOptimizationMetricsProperty.Companion::unwrap)) } /** @@ -1467,7 +1467,7 @@ public open class CfnStorageLens( * metrics for S3 Storage Lens. */ override fun advancedDataProtectionMetrics(advancedDataProtectionMetrics: IResolvable) { - cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(IResolvable::unwrap)) + cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -1476,7 +1476,7 @@ public open class CfnStorageLens( */ override fun advancedDataProtectionMetrics(advancedDataProtectionMetrics: AdvancedDataProtectionMetricsProperty) { - cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(AdvancedDataProtectionMetricsProperty::unwrap)) + cdkBuilder.advancedDataProtectionMetrics(advancedDataProtectionMetrics.let(AdvancedDataProtectionMetricsProperty.Companion::unwrap)) } /** @@ -1495,7 +1495,7 @@ public open class CfnStorageLens( * for S3 Storage Lens. */ override fun detailedStatusCodesMetrics(detailedStatusCodesMetrics: IResolvable) { - cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(IResolvable::unwrap)) + cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -1504,7 +1504,7 @@ public open class CfnStorageLens( */ override fun detailedStatusCodesMetrics(detailedStatusCodesMetrics: DetailedStatusCodesMetricsProperty) { - cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(DetailedStatusCodesMetricsProperty::unwrap)) + cdkBuilder.detailedStatusCodesMetrics(detailedStatusCodesMetrics.let(DetailedStatusCodesMetricsProperty.Companion::unwrap)) } /** @@ -1523,7 +1523,7 @@ public open class CfnStorageLens( * Lens. */ override fun prefixLevel(prefixLevel: IResolvable) { - cdkBuilder.prefixLevel(prefixLevel.let(IResolvable::unwrap)) + cdkBuilder.prefixLevel(prefixLevel.let(IResolvable.Companion::unwrap)) } /** @@ -1531,7 +1531,7 @@ public open class CfnStorageLens( * Lens. */ override fun prefixLevel(prefixLevel: PrefixLevelProperty) { - cdkBuilder.prefixLevel(prefixLevel.let(PrefixLevelProperty::unwrap)) + cdkBuilder.prefixLevel(prefixLevel.let(PrefixLevelProperty.Companion::unwrap)) } /** @@ -1837,7 +1837,7 @@ public open class CfnStorageLens( * Storage Lens is enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1981,7 +1981,7 @@ public open class CfnStorageLens( * S3 Storage Lens metrics. */ override fun cloudWatchMetrics(cloudWatchMetrics: IResolvable) { - cdkBuilder.cloudWatchMetrics(cloudWatchMetrics.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchMetrics(cloudWatchMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -1989,7 +1989,7 @@ public open class CfnStorageLens( * S3 Storage Lens metrics. */ override fun cloudWatchMetrics(cloudWatchMetrics: CloudWatchMetricsProperty) { - cdkBuilder.cloudWatchMetrics(cloudWatchMetrics.let(CloudWatchMetricsProperty::unwrap)) + cdkBuilder.cloudWatchMetrics(cloudWatchMetrics.let(CloudWatchMetricsProperty.Companion::unwrap)) } /** @@ -2007,7 +2007,7 @@ public open class CfnStorageLens( * Storage Lens metrics export will be placed. */ override fun s3BucketDestination(s3BucketDestination: IResolvable) { - cdkBuilder.s3BucketDestination(s3BucketDestination.let(IResolvable::unwrap)) + cdkBuilder.s3BucketDestination(s3BucketDestination.let(IResolvable.Companion::unwrap)) } /** @@ -2015,7 +2015,7 @@ public open class CfnStorageLens( * Storage Lens metrics export will be placed. */ override fun s3BucketDestination(s3BucketDestination: S3BucketDestinationProperty) { - cdkBuilder.s3BucketDestination(s3BucketDestination.let(S3BucketDestinationProperty::unwrap)) + cdkBuilder.s3BucketDestination(s3BucketDestination.let(S3BucketDestinationProperty.Companion::unwrap)) } /** @@ -2136,7 +2136,7 @@ public open class CfnStorageLens( * @param isEnabled Indicates whether detailed status code metrics are enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2258,7 +2258,7 @@ public open class CfnStorageLens( * S3 Storage Lens metrics export file. */ override fun ssekms(ssekms: IResolvable) { - cdkBuilder.ssekms(ssekms.let(IResolvable::unwrap)) + cdkBuilder.ssekms(ssekms.let(IResolvable.Companion::unwrap)) } /** @@ -2266,7 +2266,7 @@ public open class CfnStorageLens( * S3 Storage Lens metrics export file. */ override fun ssekms(ssekms: SSEKMSProperty) { - cdkBuilder.ssekms(ssekms.let(SSEKMSProperty::unwrap)) + cdkBuilder.ssekms(ssekms.let(SSEKMSProperty.Companion::unwrap)) } /** @@ -2396,7 +2396,7 @@ public open class CfnStorageLens( * Lens. */ override fun storageMetrics(storageMetrics: IResolvable) { - cdkBuilder.storageMetrics(storageMetrics.let(IResolvable::unwrap)) + cdkBuilder.storageMetrics(storageMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -2404,7 +2404,7 @@ public open class CfnStorageLens( * Lens. */ override fun storageMetrics(storageMetrics: PrefixLevelStorageMetricsProperty) { - cdkBuilder.storageMetrics(storageMetrics.let(PrefixLevelStorageMetricsProperty::unwrap)) + cdkBuilder.storageMetrics(storageMetrics.let(PrefixLevelStorageMetricsProperty.Companion::unwrap)) } /** @@ -2547,7 +2547,7 @@ public open class CfnStorageLens( * metrics for S3 Storage Lens are enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2555,7 +2555,7 @@ public open class CfnStorageLens( * storage metrics for S3 Storage Lens are enabled. */ override fun selectionCriteria(selectionCriteria: IResolvable) { - cdkBuilder.selectionCriteria(selectionCriteria.let(IResolvable::unwrap)) + cdkBuilder.selectionCriteria(selectionCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -2563,7 +2563,7 @@ public open class CfnStorageLens( * storage metrics for S3 Storage Lens are enabled. */ override fun selectionCriteria(selectionCriteria: SelectionCriteriaProperty) { - cdkBuilder.selectionCriteria(selectionCriteria.let(SelectionCriteriaProperty::unwrap)) + cdkBuilder.selectionCriteria(selectionCriteria.let(SelectionCriteriaProperty.Companion::unwrap)) } /** @@ -2780,7 +2780,7 @@ public open class CfnStorageLens( * destination of the Amazon S3 Storage Lens metrics export. */ override fun encryption(encryption: IResolvable) { - cdkBuilder.encryption(encryption.let(IResolvable::unwrap)) + cdkBuilder.encryption(encryption.let(IResolvable.Companion::unwrap)) } /** @@ -2788,7 +2788,7 @@ public open class CfnStorageLens( * destination of the Amazon S3 Storage Lens metrics export. */ override fun encryption(encryption: EncryptionProperty) { - cdkBuilder.encryption(encryption.let(EncryptionProperty::unwrap)) + cdkBuilder.encryption(encryption.let(EncryptionProperty.Companion::unwrap)) } /** @@ -3445,7 +3445,7 @@ public open class CfnStorageLens( * Amazon S3 Storage Lens configuration. */ override fun accountLevel(accountLevel: IResolvable) { - cdkBuilder.accountLevel(accountLevel.let(IResolvable::unwrap)) + cdkBuilder.accountLevel(accountLevel.let(IResolvable.Companion::unwrap)) } /** @@ -3453,7 +3453,7 @@ public open class CfnStorageLens( * Amazon S3 Storage Lens configuration. */ override fun accountLevel(accountLevel: AccountLevelProperty) { - cdkBuilder.accountLevel(accountLevel.let(AccountLevelProperty::unwrap)) + cdkBuilder.accountLevel(accountLevel.let(AccountLevelProperty.Companion::unwrap)) } /** @@ -3470,7 +3470,7 @@ public open class CfnStorageLens( * Lens configuration. */ override fun awsOrg(awsOrg: IResolvable) { - cdkBuilder.awsOrg(awsOrg.let(IResolvable::unwrap)) + cdkBuilder.awsOrg(awsOrg.let(IResolvable.Companion::unwrap)) } /** @@ -3478,7 +3478,7 @@ public open class CfnStorageLens( * Lens configuration. */ override fun awsOrg(awsOrg: AwsOrgProperty) { - cdkBuilder.awsOrg(awsOrg.let(AwsOrgProperty::unwrap)) + cdkBuilder.awsOrg(awsOrg.let(AwsOrgProperty.Companion::unwrap)) } /** @@ -3495,7 +3495,7 @@ public open class CfnStorageLens( * configuration's metrics export. */ override fun dataExport(dataExport: IResolvable) { - cdkBuilder.dataExport(dataExport.let(IResolvable::unwrap)) + cdkBuilder.dataExport(dataExport.let(IResolvable.Companion::unwrap)) } /** @@ -3503,7 +3503,7 @@ public open class CfnStorageLens( * configuration's metrics export. */ override fun dataExport(dataExport: DataExportProperty) { - cdkBuilder.dataExport(dataExport.let(DataExportProperty::unwrap)) + cdkBuilder.dataExport(dataExport.let(DataExportProperty.Companion::unwrap)) } /** @@ -3520,7 +3520,7 @@ public open class CfnStorageLens( * Amazon S3 Storage Lens configuration. */ override fun exclude(exclude: IResolvable) { - cdkBuilder.exclude(exclude.let(IResolvable::unwrap)) + cdkBuilder.exclude(exclude.let(IResolvable.Companion::unwrap)) } /** @@ -3528,7 +3528,7 @@ public open class CfnStorageLens( * Amazon S3 Storage Lens configuration. */ override fun exclude(exclude: BucketsAndRegionsProperty) { - cdkBuilder.exclude(exclude.let(BucketsAndRegionsProperty::unwrap)) + cdkBuilder.exclude(exclude.let(BucketsAndRegionsProperty.Companion::unwrap)) } /** @@ -3553,7 +3553,7 @@ public open class CfnStorageLens( * Amazon S3 Storage Lens configuration. */ override fun include(include: IResolvable) { - cdkBuilder.include(include.let(IResolvable::unwrap)) + cdkBuilder.include(include.let(IResolvable.Companion::unwrap)) } /** @@ -3561,7 +3561,7 @@ public open class CfnStorageLens( * Amazon S3 Storage Lens configuration. */ override fun include(include: BucketsAndRegionsProperty) { - cdkBuilder.include(include.let(BucketsAndRegionsProperty::unwrap)) + cdkBuilder.include(include.let(BucketsAndRegionsProperty.Companion::unwrap)) } /** @@ -3586,7 +3586,7 @@ public open class CfnStorageLens( * configuration is enabled. */ override fun isEnabled(isEnabled: IResolvable) { - cdkBuilder.isEnabled(isEnabled.let(IResolvable::unwrap)) + cdkBuilder.isEnabled(isEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -3764,7 +3764,7 @@ public open class CfnStorageLens( */ override fun storageLensGroupSelectionCriteria(storageLensGroupSelectionCriteria: IResolvable) { - cdkBuilder.storageLensGroupSelectionCriteria(storageLensGroupSelectionCriteria.let(IResolvable::unwrap)) + cdkBuilder.storageLensGroupSelectionCriteria(storageLensGroupSelectionCriteria.let(IResolvable.Companion::unwrap)) } /** @@ -3774,7 +3774,7 @@ public open class CfnStorageLens( */ override fun storageLensGroupSelectionCriteria(storageLensGroupSelectionCriteria: StorageLensGroupSelectionCriteriaProperty) { - cdkBuilder.storageLensGroupSelectionCriteria(storageLensGroupSelectionCriteria.let(StorageLensGroupSelectionCriteriaProperty::unwrap)) + cdkBuilder.storageLensGroupSelectionCriteria(storageLensGroupSelectionCriteria.let(StorageLensGroupSelectionCriteriaProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroup.kt index d356e1e7f6..2c2f6165c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroup.kt @@ -106,8 +106,8 @@ public open class CfnStorageLensGroup( id: String, props: CfnStorageLensGroupProps, ) : - this(software.amazon.awscdk.services.s3.CfnStorageLensGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStorageLensGroupProps::unwrap)) + this(software.amazon.awscdk.services.s3.CfnStorageLensGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStorageLensGroupProps.Companion::unwrap)) ) public constructor( @@ -137,14 +137,14 @@ public open class CfnStorageLensGroup( * This property contains the criteria for the Storage Lens group data that is displayed. */ public open fun filter(`value`: IResolvable) { - unwrap(this).setFilter(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilter(`value`.let(IResolvable.Companion::unwrap)) } /** * This property contains the criteria for the Storage Lens group data that is displayed. */ public open fun filter(`value`: FilterProperty) { - unwrap(this).setFilter(`value`.let(FilterProperty::unwrap)) + unwrap(this).setFilter(`value`.let(FilterProperty.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class CfnStorageLensGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnStorageLensGroup( * This property contains the AWS resource tags that you're adding to your Storage Lens group. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnStorageLensGroup( * displayed. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnStorageLensGroup( * displayed. */ override fun filter(filter: FilterProperty) { - cdkBuilder.filter(filter.let(FilterProperty::unwrap)) + cdkBuilder.filter(filter.let(FilterProperty.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnStorageLensGroup( * Lens group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -562,7 +562,7 @@ public open class CfnStorageLensGroup( * At least one object tag must be specified. Up to 10 object tags are allowed. */ override fun matchAnyTag(matchAnyTag: IResolvable) { - cdkBuilder.matchAnyTag(matchAnyTag.let(IResolvable::unwrap)) + cdkBuilder.matchAnyTag(matchAnyTag.let(IResolvable.Companion::unwrap)) } /** @@ -584,7 +584,7 @@ public open class CfnStorageLensGroup( * properties to define the object age range (minimum and maximum number of days). */ override fun matchObjectAge(matchObjectAge: IResolvable) { - cdkBuilder.matchObjectAge(matchObjectAge.let(IResolvable::unwrap)) + cdkBuilder.matchObjectAge(matchObjectAge.let(IResolvable.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public open class CfnStorageLensGroup( * properties to define the object age range (minimum and maximum number of days). */ override fun matchObjectAge(matchObjectAge: MatchObjectAgeProperty) { - cdkBuilder.matchObjectAge(matchObjectAge.let(MatchObjectAgeProperty::unwrap)) + cdkBuilder.matchObjectAge(matchObjectAge.let(MatchObjectAgeProperty.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnStorageLensGroup( * define the object size range (minimum and maximum number of Bytes). */ override fun matchObjectSize(matchObjectSize: IResolvable) { - cdkBuilder.matchObjectSize(matchObjectSize.let(IResolvable::unwrap)) + cdkBuilder.matchObjectSize(matchObjectSize.let(IResolvable.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class CfnStorageLensGroup( * define the object size range (minimum and maximum number of Bytes). */ override fun matchObjectSize(matchObjectSize: MatchObjectSizeProperty) { - cdkBuilder.matchObjectSize(matchObjectSize.let(MatchObjectSizeProperty::unwrap)) + cdkBuilder.matchObjectSize(matchObjectSize.let(MatchObjectSizeProperty.Companion::unwrap)) } /** @@ -977,7 +977,7 @@ public open class CfnStorageLensGroup( * operator. Only one of each filter condition is allowed. */ override fun and(and: IResolvable) { - cdkBuilder.and(and.let(IResolvable::unwrap)) + cdkBuilder.and(and.let(IResolvable.Companion::unwrap)) } /** @@ -987,7 +987,7 @@ public open class CfnStorageLensGroup( * operator. Only one of each filter condition is allowed. */ override fun and(and: AndProperty) { - cdkBuilder.and(and.let(AndProperty::unwrap)) + cdkBuilder.and(and.let(AndProperty.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class CfnStorageLensGroup( * At least one object tag must be specified. Up to 10 object tags are allowed. */ override fun matchAnyTag(matchAnyTag: IResolvable) { - cdkBuilder.matchAnyTag(matchAnyTag.let(IResolvable::unwrap)) + cdkBuilder.matchAnyTag(matchAnyTag.let(IResolvable.Companion::unwrap)) } /** @@ -1057,7 +1057,7 @@ public open class CfnStorageLensGroup( * the object age range (minimum and maximum number of days). */ override fun matchObjectAge(matchObjectAge: IResolvable) { - cdkBuilder.matchObjectAge(matchObjectAge.let(IResolvable::unwrap)) + cdkBuilder.matchObjectAge(matchObjectAge.let(IResolvable.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class CfnStorageLensGroup( * the object age range (minimum and maximum number of days). */ override fun matchObjectAge(matchObjectAge: MatchObjectAgeProperty) { - cdkBuilder.matchObjectAge(matchObjectAge.let(MatchObjectAgeProperty::unwrap)) + cdkBuilder.matchObjectAge(matchObjectAge.let(MatchObjectAgeProperty.Companion::unwrap)) } /** @@ -1082,7 +1082,7 @@ public open class CfnStorageLensGroup( * define the object size range (minimum and maximum number of Bytes). */ override fun matchObjectSize(matchObjectSize: IResolvable) { - cdkBuilder.matchObjectSize(matchObjectSize.let(IResolvable::unwrap)) + cdkBuilder.matchObjectSize(matchObjectSize.let(IResolvable.Companion::unwrap)) } /** @@ -1090,7 +1090,7 @@ public open class CfnStorageLensGroup( * define the object size range (minimum and maximum number of Bytes). */ override fun matchObjectSize(matchObjectSize: MatchObjectSizeProperty) { - cdkBuilder.matchObjectSize(matchObjectSize.let(MatchObjectSizeProperty::unwrap)) + cdkBuilder.matchObjectSize(matchObjectSize.let(MatchObjectSizeProperty.Companion::unwrap)) } /** @@ -1109,7 +1109,7 @@ public open class CfnStorageLensGroup( * operator. Only one of each filter condition is allowed. */ override fun or(or: IResolvable) { - cdkBuilder.or(or.let(IResolvable::unwrap)) + cdkBuilder.or(or.let(IResolvable.Companion::unwrap)) } /** @@ -1119,7 +1119,7 @@ public open class CfnStorageLensGroup( * operator. Only one of each filter condition is allowed. */ override fun or(or: OrProperty) { - cdkBuilder.or(or.let(OrProperty::unwrap)) + cdkBuilder.or(or.let(OrProperty.Companion::unwrap)) } /** @@ -1659,7 +1659,7 @@ public open class CfnStorageLensGroup( * At least one object tag must be specified. Up to 10 object tags are allowed. */ override fun matchAnyTag(matchAnyTag: IResolvable) { - cdkBuilder.matchAnyTag(matchAnyTag.let(IResolvable::unwrap)) + cdkBuilder.matchAnyTag(matchAnyTag.let(IResolvable.Companion::unwrap)) } /** @@ -1681,7 +1681,7 @@ public open class CfnStorageLensGroup( * range. */ override fun matchObjectAge(matchObjectAge: IResolvable) { - cdkBuilder.matchObjectAge(matchObjectAge.let(IResolvable::unwrap)) + cdkBuilder.matchObjectAge(matchObjectAge.let(IResolvable.Companion::unwrap)) } /** @@ -1689,7 +1689,7 @@ public open class CfnStorageLensGroup( * range. */ override fun matchObjectAge(matchObjectAge: MatchObjectAgeProperty) { - cdkBuilder.matchObjectAge(matchObjectAge.let(MatchObjectAgeProperty::unwrap)) + cdkBuilder.matchObjectAge(matchObjectAge.let(MatchObjectAgeProperty.Companion::unwrap)) } /** @@ -1706,7 +1706,7 @@ public open class CfnStorageLensGroup( * values to define the object size range (minimum and maximum number of Bytes). */ override fun matchObjectSize(matchObjectSize: IResolvable) { - cdkBuilder.matchObjectSize(matchObjectSize.let(IResolvable::unwrap)) + cdkBuilder.matchObjectSize(matchObjectSize.let(IResolvable.Companion::unwrap)) } /** @@ -1714,7 +1714,7 @@ public open class CfnStorageLensGroup( * values to define the object size range (minimum and maximum number of Bytes). */ override fun matchObjectSize(matchObjectSize: MatchObjectSizeProperty) { - cdkBuilder.matchObjectSize(matchObjectSize.let(MatchObjectSizeProperty::unwrap)) + cdkBuilder.matchObjectSize(matchObjectSize.let(MatchObjectSizeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroupProps.kt index 502c5423da..88b6311e23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensGroupProps.kt @@ -160,7 +160,7 @@ public interface CfnStorageLensGroupProps { * displayed. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface CfnStorageLensGroupProps { * displayed. */ override fun filter(filter: CfnStorageLensGroup.FilterProperty) { - cdkBuilder.filter(filter.let(CfnStorageLensGroup.FilterProperty::unwrap)) + cdkBuilder.filter(filter.let(CfnStorageLensGroup.FilterProperty.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface CfnStorageLensGroupProps { * This parameter is optional. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensProps.kt index fca5a713e3..068a6216eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CfnStorageLensProps.kt @@ -176,7 +176,7 @@ public interface CfnStorageLensProps { * configuration. */ override fun storageLensConfiguration(storageLensConfiguration: IResolvable) { - cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(IResolvable::unwrap)) + cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface CfnStorageLensProps { */ override fun storageLensConfiguration(storageLensConfiguration: CfnStorageLens.StorageLensConfigurationProperty) { - cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(CfnStorageLens.StorageLensConfigurationProperty::unwrap)) + cdkBuilder.storageLensConfiguration(storageLensConfiguration.let(CfnStorageLens.StorageLensConfigurationProperty.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CfnStorageLensProps { * @param tags A set of tags (key–value pairs) to associate with the Storage Lens configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CorsRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CorsRule.kt index d35732f5cc..470323c44c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CorsRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/CorsRule.kt @@ -157,7 +157,7 @@ public interface CorsRule { * @param allowedMethods An HTTP method that you allow the origin to execute. */ override fun allowedMethods(allowedMethods: List) { - cdkBuilder.allowedMethods(allowedMethods.map(HttpMethods::unwrap)) + cdkBuilder.allowedMethods(allowedMethods.map(HttpMethods.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucket.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucket.kt index 6a7a6ce40f..b9080bb177 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucket.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucket.kt @@ -623,7 +623,7 @@ public interface IBucket : IResource { * first call to addToResourcePolicy(s). */ public fun policy(`value`: BucketPolicy) { - unwrap(this).setPolicy(`value`.let(BucketPolicy::unwrap)) + unwrap(this).setPolicy(`value`.let(BucketPolicy.Companion::unwrap)) } /** @@ -828,8 +828,8 @@ public interface IBucket : IResource { dest: IBucketNotificationDestination, vararg filters: NotificationKeyFilter, ) { - unwrap(this).addEventNotification(event.let(EventType::unwrap), - dest.let(IBucketNotificationDestination::unwrap), + unwrap(this).addEventNotification(event.let(EventType.Companion::unwrap), + dest.let(IBucketNotificationDestination.Companion::unwrap), *filters.map{CdkObjectWrappers.unwrap(it) as software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) } @@ -870,7 +870,7 @@ public interface IBucket : IResource { */ override fun addObjectCreatedNotification(dest: IBucketNotificationDestination, vararg filters: NotificationKeyFilter) { - unwrap(this).addObjectCreatedNotification(dest.let(IBucketNotificationDestination::unwrap), + unwrap(this).addObjectCreatedNotification(dest.let(IBucketNotificationDestination.Companion::unwrap), *filters.map{CdkObjectWrappers.unwrap(it) as software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) } @@ -901,7 +901,7 @@ public interface IBucket : IResource { */ override fun addObjectRemovedNotification(dest: IBucketNotificationDestination, vararg filters: NotificationKeyFilter) { - unwrap(this).addObjectRemovedNotification(dest.let(IBucketNotificationDestination::unwrap), + unwrap(this).addObjectRemovedNotification(dest.let(IBucketNotificationDestination.Companion::unwrap), *filters.map{CdkObjectWrappers.unwrap(it) as software.amazon.awscdk.services.s3.NotificationKeyFilter}.toTypedArray()) } @@ -940,7 +940,7 @@ public interface IBucket : IResource { * @param permission the policy statement to be added to the bucket's policy. */ override fun addToResourcePolicy(permission: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(permission.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(permission.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the resource policy for a principal (i.e. account/role/service) to @@ -979,7 +979,7 @@ public interface IBucket : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -1069,7 +1069,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantDelete(identity: IGrantable): Grant = - unwrap(this).grantDelete(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantDelete(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants s3:DeleteObject* permission to an IAM principal for objects in this bucket. @@ -1078,7 +1078,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantDelete(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantDelete(identity.let(IGrantable::unwrap), + unwrap(this).grantDelete(identity.let(IGrantable.Companion::unwrap), objectsKeyPattern).let(Grant::wrap) /** @@ -1119,7 +1119,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantPut(identity: IGrantable): Grant = - unwrap(this).grantPut(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPut(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants s3:PutObject* and s3:Abort* permissions for this bucket to an IAM principal. @@ -1131,7 +1131,8 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantPut(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantPut(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantPut(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Grant the given IAM identity permissions to modify the ACLs of objects in the given Bucket. @@ -1145,7 +1146,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantPutAcl(identity: IGrantable): Grant = - unwrap(this).grantPutAcl(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPutAcl(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given IAM identity permissions to modify the ACLs of objects in the given Bucket. @@ -1159,7 +1160,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantPutAcl(identity: IGrantable, objectsKeyPattern: String): Grant = - unwrap(this).grantPutAcl(identity.let(IGrantable::unwrap), + unwrap(this).grantPutAcl(identity.let(IGrantable.Companion::unwrap), objectsKeyPattern).let(Grant::wrap) /** @@ -1173,7 +1174,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant read permissions for this bucket and it's contents to an IAM principal @@ -1186,7 +1187,8 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantRead(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap), objectsKeyPattern).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern).let(Grant::wrap) /** * Grants read/write permissions for this bucket and it's contents to an IAM principal @@ -1209,7 +1211,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantReadWrite(identity: IGrantable): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants read/write permissions for this bucket and it's contents to an IAM principal @@ -1232,7 +1234,7 @@ public interface IBucket : IResource { * @param objectsKeyPattern Restrict the permission to a certain key pattern (default '*'). */ override fun grantReadWrite(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantReadWrite(identity.let(IGrantable::unwrap), + unwrap(this).grantReadWrite(identity.let(IGrantable.Companion::unwrap), objectsKeyPattern).let(Grant::wrap) /** @@ -1256,7 +1258,7 @@ public interface IBucket : IResource { * @param allowedActionPatterns Restrict the permissions to certain list of action patterns. */ override fun grantWrite(identity: IGrantable): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant write permissions to this bucket to an IAM principal. @@ -1279,7 +1281,7 @@ public interface IBucket : IResource { * @param allowedActionPatterns Restrict the permissions to certain list of action patterns. */ override fun grantWrite(identity: IGrantable, objectsKeyPattern: Any): Grant = - unwrap(this).grantWrite(identity.let(IGrantable::unwrap), + unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap), objectsKeyPattern).let(Grant::wrap) /** @@ -1306,8 +1308,8 @@ public interface IBucket : IResource { identity: IGrantable, objectsKeyPattern: Any, allowedActionPatterns: List, - ): Grant = unwrap(this).grantWrite(identity.let(IGrantable::unwrap), objectsKeyPattern, - allowedActionPatterns).let(Grant::wrap) + ): Grant = unwrap(this).grantWrite(identity.let(IGrantable.Companion::unwrap), + objectsKeyPattern, allowedActionPatterns).let(Grant::wrap) /** * If this bucket has been configured for static website hosting. @@ -1339,7 +1341,7 @@ public interface IBucket : IResource { */ override fun onCloudTrailEvent(id: String, options: OnCloudTrailBucketEventOptions): Rule = unwrap(this).onCloudTrailEvent(id, - options.let(OnCloudTrailBucketEventOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailBucketEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines a CloudWatch event that triggers when something happens to this bucket. @@ -1389,7 +1391,7 @@ public interface IBucket : IResource { */ override fun onCloudTrailPutObject(id: String, options: OnCloudTrailBucketEventOptions): Rule = unwrap(this).onCloudTrailPutObject(id, - options.let(OnCloudTrailBucketEventOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailBucketEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event that triggers when an object is uploaded to the specified @@ -1450,7 +1452,7 @@ public interface IBucket : IResource { */ override fun onCloudTrailWriteObject(id: String, options: OnCloudTrailBucketEventOptions): Rule = unwrap(this).onCloudTrailWriteObject(id, - options.let(OnCloudTrailBucketEventOptions::unwrap)).let(Rule::wrap) + options.let(OnCloudTrailBucketEventOptions.Companion::unwrap)).let(Rule::wrap) /** * Defines an AWS CloudWatch event that triggers when an object at the specified paths (keys) in @@ -1490,7 +1492,7 @@ public interface IBucket : IResource { * first call to addToResourcePolicy(s). */ override fun policy(`value`: BucketPolicy) { - unwrap(this).setPolicy(`value`.let(BucketPolicy::unwrap)) + unwrap(this).setPolicy(`value`.let(BucketPolicy.Companion::unwrap)) } /** @@ -1572,7 +1574,7 @@ public interface IBucket : IResource { override fun transferAccelerationUrlForObject(key: String, options: TransferAccelerationUrlOptions): String = unwrap(this).transferAccelerationUrlForObject(key, - options.let(TransferAccelerationUrlOptions::unwrap)) + options.let(TransferAccelerationUrlOptions.Companion::unwrap)) /** * The https Transfer Acceleration URL of an S3 object. @@ -1663,7 +1665,7 @@ public interface IBucket : IResource { */ override fun virtualHostedUrlForObject(key: String, options: VirtualHostedStyleUrlOptions): String = unwrap(this).virtualHostedUrlForObject(key, - options.let(VirtualHostedStyleUrlOptions::unwrap)) + options.let(VirtualHostedStyleUrlOptions.Companion::unwrap)) /** * The virtual hosted-style URL of an S3 object. Specify `regional: false` at the options for diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucketNotificationDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucketNotificationDestination.kt index 2a933c52a6..eb51b04842 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucketNotificationDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IBucketNotificationDestination.kt @@ -36,8 +36,8 @@ public interface IBucketNotificationDestination { * @param bucket The bucket object to bind to. */ override fun bind(scope: Construct, bucket: IBucket): BucketNotificationDestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - bucket.let(IBucket::unwrap)).let(BucketNotificationDestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + bucket.let(IBucket.Companion::unwrap)).let(BucketNotificationDestinationConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IntelligentTieringConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IntelligentTieringConfiguration.kt index dd71981a25..d94b942271 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IntelligentTieringConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/IntelligentTieringConfiguration.kt @@ -120,7 +120,7 @@ public interface IntelligentTieringConfiguration { * objects that haven’t been accessed for a minimum of 90 days to the Archive Access tier. */ override fun archiveAccessTierTime(archiveAccessTierTime: Duration) { - cdkBuilder.archiveAccessTierTime(archiveAccessTierTime.let(Duration::unwrap)) + cdkBuilder.archiveAccessTierTime(archiveAccessTierTime.let(Duration.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface IntelligentTieringConfiguration { * objects that haven’t been accessed for a minimum of 180 days to the Deep Archive Access tier. */ override fun deepArchiveAccessTierTime(deepArchiveAccessTierTime: Duration) { - cdkBuilder.deepArchiveAccessTierTime(deepArchiveAccessTierTime.let(Duration::unwrap)) + cdkBuilder.deepArchiveAccessTierTime(deepArchiveAccessTierTime.let(Duration.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public interface IntelligentTieringConfiguration { * @param tags You can limit the scope of this rule to the key value pairs added below. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(Tag::unwrap)) + cdkBuilder.tags(tags.map(Tag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Inventory.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Inventory.kt index 35e51f796e..adaa2d83ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Inventory.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Inventory.kt @@ -171,7 +171,7 @@ public interface Inventory { * @param destination The destination of the inventory. */ override fun destination(destination: InventoryDestination) { - cdkBuilder.destination(destination.let(InventoryDestination::unwrap)) + cdkBuilder.destination(destination.let(InventoryDestination.Companion::unwrap)) } /** @@ -193,14 +193,14 @@ public interface Inventory { * @param format The format of the inventory. */ override fun format(format: InventoryFormat) { - cdkBuilder.format(format.let(InventoryFormat::unwrap)) + cdkBuilder.format(format.let(InventoryFormat.Companion::unwrap)) } /** * @param frequency Frequency at which the inventory should be generated. */ override fun frequency(frequency: InventoryFrequency) { - cdkBuilder.frequency(frequency.let(InventoryFrequency::unwrap)) + cdkBuilder.frequency(frequency.let(InventoryFrequency.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface Inventory { * the current one. */ override fun includeObjectVersions(includeObjectVersions: InventoryObjectVersion) { - cdkBuilder.includeObjectVersions(includeObjectVersions.let(InventoryObjectVersion::unwrap)) + cdkBuilder.includeObjectVersions(includeObjectVersions.let(InventoryObjectVersion.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/InventoryDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/InventoryDestination.kt index 6fd5621e0f..e3cc05fcfe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/InventoryDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/InventoryDestination.kt @@ -89,7 +89,7 @@ public interface InventoryDestination { * @param bucket Bucket where all inventories will be saved in. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/LifecycleRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/LifecycleRule.kt index 31f601fd56..b0872f98d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/LifecycleRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/LifecycleRule.kt @@ -377,7 +377,7 @@ public interface LifecycleRule { */ override fun abortIncompleteMultipartUploadAfter(abortIncompleteMultipartUploadAfter: Duration) { - cdkBuilder.abortIncompleteMultipartUploadAfter(abortIncompleteMultipartUploadAfter.let(Duration::unwrap)) + cdkBuilder.abortIncompleteMultipartUploadAfter(abortIncompleteMultipartUploadAfter.let(Duration.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public interface LifecycleRule { * does not represent a whole number of days will result in a runtime or deployment error. */ override fun expiration(expiration: Duration) { - cdkBuilder.expiration(expiration.let(Duration::unwrap)) + cdkBuilder.expiration(expiration.let(Duration.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface LifecycleRule { * does not represent a whole number of days will result in a runtime or deployment error. */ override fun noncurrentVersionExpiration(noncurrentVersionExpiration: Duration) { - cdkBuilder.noncurrentVersionExpiration(noncurrentVersionExpiration.let(Duration::unwrap)) + cdkBuilder.noncurrentVersionExpiration(noncurrentVersionExpiration.let(Duration.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public interface LifecycleRule { */ override fun noncurrentVersionTransitions(noncurrentVersionTransitions: List) { - cdkBuilder.noncurrentVersionTransitions(noncurrentVersionTransitions.map(NoncurrentVersionTransition::unwrap)) + cdkBuilder.noncurrentVersionTransitions(noncurrentVersionTransitions.map(NoncurrentVersionTransition.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public interface LifecycleRule { * expiration time must also be later than the transition time. */ override fun transitions(transitions: List) { - cdkBuilder.transitions(transitions.map(Transition::unwrap)) + cdkBuilder.transitions(transitions.map(Transition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/NoncurrentVersionTransition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/NoncurrentVersionTransition.kt index aaf4e7e998..b629a07af7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/NoncurrentVersionTransition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/NoncurrentVersionTransition.kt @@ -92,7 +92,7 @@ public interface NoncurrentVersionTransition { * @param storageClass The storage class to which you want the object to transition. */ override fun storageClass(storageClass: StorageClass) { - cdkBuilder.storageClass(storageClass.let(StorageClass::unwrap)) + cdkBuilder.storageClass(storageClass.let(StorageClass.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public interface NoncurrentVersionTransition { * transitioned to the specified storage class. */ override fun transitionAfter(transitionAfter: Duration) { - cdkBuilder.transitionAfter(transitionAfter.let(Duration::unwrap)) + cdkBuilder.transitionAfter(transitionAfter.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.NoncurrentVersionTransition = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/ObjectLockRetention.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/ObjectLockRetention.kt index c28b5882d1..2f52bd7180 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/ObjectLockRetention.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/ObjectLockRetention.kt @@ -42,10 +42,10 @@ public open class ObjectLockRetention( public companion object { public fun compliance(duration: Duration): ObjectLockRetention = - software.amazon.awscdk.services.s3.ObjectLockRetention.compliance(duration.let(Duration::unwrap)).let(ObjectLockRetention::wrap) + software.amazon.awscdk.services.s3.ObjectLockRetention.compliance(duration.let(Duration.Companion::unwrap)).let(ObjectLockRetention::wrap) public fun governance(duration: Duration): ObjectLockRetention = - software.amazon.awscdk.services.s3.ObjectLockRetention.governance(duration.let(Duration::unwrap)).let(ObjectLockRetention::wrap) + software.amazon.awscdk.services.s3.ObjectLockRetention.governance(duration.let(Duration.Companion::unwrap)).let(ObjectLockRetention::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.s3.ObjectLockRetention): ObjectLockRetention = ObjectLockRetention(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/OnCloudTrailBucketEventOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/OnCloudTrailBucketEventOptions.kt index 899abd27b2..13db1b64a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/OnCloudTrailBucketEventOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/OnCloudTrailBucketEventOptions.kt @@ -125,7 +125,7 @@ public interface OnCloudTrailBucketEventOptions : OnEventOptions { * This helps dealing with cycles that often arise in these situations. */ override fun crossStackScope(crossStackScope: Construct) { - cdkBuilder.crossStackScope(crossStackScope.let(Construct::unwrap)) + cdkBuilder.crossStackScope(crossStackScope.let(Construct.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public interface OnCloudTrailBucketEventOptions : OnEventOptions { * on top of that filtering. */ override fun eventPattern(eventPattern: EventPattern) { - cdkBuilder.eventPattern(eventPattern.let(EventPattern::unwrap)) + cdkBuilder.eventPattern(eventPattern.let(EventPattern.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface OnCloudTrailBucketEventOptions : OnEventOptions { * @param target The target to register for the event. */ override fun target(target: IRuleTarget) { - cdkBuilder.target(target.let(IRuleTarget::unwrap)) + cdkBuilder.target(target.let(IRuleTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.OnCloudTrailBucketEventOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RedirectTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RedirectTarget.kt index 49fb3c31ef..939c43bb70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RedirectTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RedirectTarget.kt @@ -63,7 +63,7 @@ public interface RedirectTarget { * @param protocol Protocol to use when redirecting requests. */ override fun protocol(protocol: RedirectProtocol) { - cdkBuilder.protocol(protocol.let(RedirectProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(RedirectProtocol.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.RedirectTarget = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RoutingRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RoutingRule.kt index 8e16b14651..063ddd7ecc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RoutingRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/RoutingRule.kt @@ -116,7 +116,7 @@ public interface RoutingRule { * @param condition Specifies a condition that must be met for the specified redirect to apply. */ override fun condition(condition: RoutingRuleCondition) { - cdkBuilder.condition(condition.let(RoutingRuleCondition::unwrap)) + cdkBuilder.condition(condition.let(RoutingRuleCondition.Companion::unwrap)) } /** @@ -145,14 +145,14 @@ public interface RoutingRule { * @param protocol Protocol to use when redirecting requests. */ override fun protocol(protocol: RedirectProtocol) { - cdkBuilder.protocol(protocol.let(RedirectProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(RedirectProtocol.Companion::unwrap)) } /** * @param replaceKey Specifies the object key prefix to use in the redirect request. */ override fun replaceKey(replaceKey: ReplaceKey) { - cdkBuilder.replaceKey(replaceKey.let(ReplaceKey::unwrap)) + cdkBuilder.replaceKey(replaceKey.let(ReplaceKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.RoutingRule = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/TargetObjectKeyFormat.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/TargetObjectKeyFormat.kt index c113095b62..5ae98ebffd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/TargetObjectKeyFormat.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/TargetObjectKeyFormat.kt @@ -33,7 +33,7 @@ public abstract class TargetObjectKeyFormat( software.amazon.awscdk.services.s3.TargetObjectKeyFormat.partitionedPrefix().let(TargetObjectKeyFormat::wrap) public fun partitionedPrefix(dateSource: PartitionDateSource): TargetObjectKeyFormat = - software.amazon.awscdk.services.s3.TargetObjectKeyFormat.partitionedPrefix(dateSource.let(PartitionDateSource::unwrap)).let(TargetObjectKeyFormat::wrap) + software.amazon.awscdk.services.s3.TargetObjectKeyFormat.partitionedPrefix(dateSource.let(PartitionDateSource.Companion::unwrap)).let(TargetObjectKeyFormat::wrap) public fun simplePrefix(): TargetObjectKeyFormat = software.amazon.awscdk.services.s3.TargetObjectKeyFormat.simplePrefix().let(TargetObjectKeyFormat::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Transition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Transition.kt index a5100b631b..0d1983618f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Transition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/Transition.kt @@ -82,7 +82,7 @@ public interface Transition { * @param storageClass The storage class to which you want the object to transition. */ override fun storageClass(storageClass: StorageClass) { - cdkBuilder.storageClass(storageClass.let(StorageClass::unwrap)) + cdkBuilder.storageClass(storageClass.let(StorageClass.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public interface Transition { * transitioned to the specified storage class. */ override fun transitionAfter(transitionAfter: Duration) { - cdkBuilder.transitionAfter(transitionAfter.let(Duration::unwrap)) + cdkBuilder.transitionAfter(transitionAfter.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/Asset.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/Asset.kt index b48805d25b..966eaf7af4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/Asset.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/Asset.kt @@ -45,8 +45,8 @@ public open class Asset( id: String, props: AssetProps, ) : - this(software.amazon.awscdk.services.s3.assets.Asset(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AssetProps::unwrap)) + this(software.amazon.awscdk.services.s3.assets.Asset(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AssetProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class Asset( * AWS::Lambda::Function). */ public open fun addResourceMetadata(resource: CfnResource, resourceProperty: String) { - unwrap(this).addResourceMetadata(resource.let(CfnResource::unwrap), resourceProperty) + unwrap(this).addResourceMetadata(resource.let(CfnResource.Companion::unwrap), resourceProperty) } /** @@ -105,7 +105,7 @@ public open class Asset( * @param grantee */ public open fun grantRead(grantee: IGrantable) { - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class Asset( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class Asset( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class Asset( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class Asset( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class Asset( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetOptions.kt index 0e90899a9f..cb1e11b59e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetOptions.kt @@ -189,7 +189,7 @@ public interface AssetOptions : io.cloudshiftdev.awscdk.AssetOptions, FileCopyOp * `AssetHashType.CUSTOM`. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface AssetOptions : io.cloudshiftdev.awscdk.AssetOptions, FileCopyOp * final asset. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -253,14 +253,14 @@ public interface AssetOptions : io.cloudshiftdev.awscdk.AssetOptions, FileCopyOp * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface AssetOptions : io.cloudshiftdev.awscdk.AssetOptions, FileCopyOp * You can use `asset.grantRead(principal)` to grant read permissions later. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetProps.kt index 72c368cd94..8e7a9d1c27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/assets/AssetProps.kt @@ -178,7 +178,7 @@ public interface AssetProps : AssetOptions { * `AssetHashType.CUSTOM`. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface AssetProps : AssetOptions { * final asset. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -242,14 +242,14 @@ public interface AssetProps : AssetOptions { * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface AssetProps : AssetOptions { * You can use `asset.grantRead(principal)` to grant read permissions later. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeployment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeployment.kt index 1af3f85260..79f096594d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeployment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeployment.kt @@ -48,8 +48,8 @@ public open class BucketDeployment( id: String, props: BucketDeploymentProps, ) : - this(software.amazon.awscdk.services.s3.deployment.BucketDeployment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BucketDeploymentProps::unwrap)) + this(software.amazon.awscdk.services.s3.deployment.BucketDeployment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BucketDeploymentProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class BucketDeployment( * @param source */ public open fun addSource(source: ISource) { - unwrap(this).addSource(source.let(ISource::unwrap)) + unwrap(this).addSource(source.let(ISource.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class BucketDeployment( * deployment. */ override fun accessControl(accessControl: BucketAccessControl) { - cdkBuilder.accessControl(accessControl.let(BucketAccessControl::unwrap)) + cdkBuilder.accessControl(accessControl.let(BucketAccessControl.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public open class BucketDeployment( * deployment. */ override fun cacheControl(cacheControl: List) { - cdkBuilder.cacheControl(cacheControl.map(CacheControl::unwrap)) + cdkBuilder.cacheControl(cacheControl.map(CacheControl.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public open class BucketDeployment( * @param destinationBucket The S3 bucket to sync the contents of the zip file to. */ override fun destinationBucket(destinationBucket: IBucket) { - cdkBuilder.destinationBucket(destinationBucket.let(IBucket::unwrap)) + cdkBuilder.destinationBucket(destinationBucket.let(IBucket.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class BucketDeployment( * @param distribution The CloudFront distribution using the destination bucket as an origin. */ override fun distribution(distribution: IDistribution) { - cdkBuilder.distribution(distribution.let(IDistribution::unwrap)) + cdkBuilder.distribution(distribution.let(IDistribution.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public open class BucketDeployment( * @param ephemeralStorageSize The size of the AWS Lambda function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -778,7 +778,7 @@ public open class BucketDeployment( * @param expires System-defined expires metadata to be set on all objects in the deployment. */ override fun expires(expires: Expiration) { - cdkBuilder.expires(expires.let(Expiration::unwrap)) + cdkBuilder.expires(expires.let(Expiration.Companion::unwrap)) } /** @@ -839,7 +839,7 @@ public open class BucketDeployment( * lambda function. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class BucketDeployment( * CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -926,7 +926,7 @@ public open class BucketDeployment( * @param role Execution role associated with this function. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -940,7 +940,7 @@ public open class BucketDeployment( * all objects in the deployment. */ override fun serverSideEncryption(serverSideEncryption: ServerSideEncryption) { - cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption::unwrap)) + cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption.Companion::unwrap)) } /** @@ -996,7 +996,7 @@ public open class BucketDeployment( * @param sources The sources from which to deploy the contents of this bucket. */ override fun sources(sources: List) { - cdkBuilder.sources(sources.map(ISource::unwrap)) + cdkBuilder.sources(sources.map(ISource.Companion::unwrap)) } /** @@ -1016,7 +1016,7 @@ public open class BucketDeployment( * the deployment. */ override fun storageClass(storageClass: StorageClass) { - cdkBuilder.storageClass(storageClass.let(StorageClass::unwrap)) + cdkBuilder.storageClass(storageClass.let(StorageClass.Companion::unwrap)) } /** @@ -1043,7 +1043,7 @@ public open class BucketDeployment( * @param vpc The VPC network to place the deployment lambda handler in. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1056,7 +1056,7 @@ public open class BucketDeployment( * @param vpcSubnets Where in the VPC to place the deployment lambda handler. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeploymentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeploymentProps.kt index 15294e8019..3fbbcc6b6f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeploymentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/BucketDeploymentProps.kt @@ -617,7 +617,7 @@ public interface BucketDeploymentProps { * deployment. */ override fun accessControl(accessControl: BucketAccessControl) { - cdkBuilder.accessControl(accessControl.let(BucketAccessControl::unwrap)) + cdkBuilder.accessControl(accessControl.let(BucketAccessControl.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public interface BucketDeploymentProps { * deployment. */ override fun cacheControl(cacheControl: List) { - cdkBuilder.cacheControl(cacheControl.map(CacheControl::unwrap)) + cdkBuilder.cacheControl(cacheControl.map(CacheControl.Companion::unwrap)) } /** @@ -671,7 +671,7 @@ public interface BucketDeploymentProps { * @param destinationBucket The S3 bucket to sync the contents of the zip file to. */ override fun destinationBucket(destinationBucket: IBucket) { - cdkBuilder.destinationBucket(destinationBucket.let(IBucket::unwrap)) + cdkBuilder.destinationBucket(destinationBucket.let(IBucket.Companion::unwrap)) } /** @@ -688,7 +688,7 @@ public interface BucketDeploymentProps { * files are uploaded to the destination bucket. */ override fun distribution(distribution: IDistribution) { - cdkBuilder.distribution(distribution.let(IDistribution::unwrap)) + cdkBuilder.distribution(distribution.let(IDistribution.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public interface BucketDeploymentProps { * @param ephemeralStorageSize The size of the AWS Lambda function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -739,7 +739,7 @@ public interface BucketDeploymentProps { * @param expires System-defined expires metadata to be set on all objects in the deployment. */ override fun expires(expires: Expiration) { - cdkBuilder.expires(expires.let(Expiration::unwrap)) + cdkBuilder.expires(expires.let(Expiration.Companion::unwrap)) } /** @@ -776,7 +776,7 @@ public interface BucketDeploymentProps { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public interface BucketDeploymentProps { * function to send logs to it. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public interface BucketDeploymentProps { * @param role Execution role associated with this function. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public interface BucketDeploymentProps { * all objects in the deployment. */ override fun serverSideEncryption(serverSideEncryption: ServerSideEncryption) { - cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption::unwrap)) + cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public interface BucketDeploymentProps { * @param sources The sources from which to deploy the contents of this bucket. */ override fun sources(sources: List) { - cdkBuilder.sources(sources.map(ISource::unwrap)) + cdkBuilder.sources(sources.map(ISource.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public interface BucketDeploymentProps { * the deployment. */ override fun storageClass(storageClass: StorageClass) { - cdkBuilder.storageClass(storageClass.let(StorageClass::unwrap)) + cdkBuilder.storageClass(storageClass.let(StorageClass.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public interface BucketDeploymentProps { * This is required if `useEfs` is set. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -911,7 +911,7 @@ public interface BucketDeploymentProps { * Only used if 'vpc' is supplied. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/CacheControl.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/CacheControl.kt index 6654fc199e..bda281cd9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/CacheControl.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/CacheControl.kt @@ -48,7 +48,7 @@ public open class CacheControl( software.amazon.awscdk.services.s3.deployment.CacheControl.immutable().let(CacheControl::wrap) public fun maxAge(t: Duration): CacheControl = - software.amazon.awscdk.services.s3.deployment.CacheControl.maxAge(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.s3.deployment.CacheControl.maxAge(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) public fun mustRevalidate(): CacheControl = software.amazon.awscdk.services.s3.deployment.CacheControl.mustRevalidate().let(CacheControl::wrap) @@ -75,13 +75,13 @@ public open class CacheControl( software.amazon.awscdk.services.s3.deployment.CacheControl.setPublic().let(CacheControl::wrap) public fun sMaxAge(t: Duration): CacheControl = - software.amazon.awscdk.services.s3.deployment.CacheControl.sMaxAge(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.s3.deployment.CacheControl.sMaxAge(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) public fun staleIfError(t: Duration): CacheControl = - software.amazon.awscdk.services.s3.deployment.CacheControl.staleIfError(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.s3.deployment.CacheControl.staleIfError(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) public fun staleWhileRevalidate(t: Duration): CacheControl = - software.amazon.awscdk.services.s3.deployment.CacheControl.staleWhileRevalidate(t.let(Duration::unwrap)).let(CacheControl::wrap) + software.amazon.awscdk.services.s3.deployment.CacheControl.staleWhileRevalidate(t.let(Duration.Companion::unwrap)).let(CacheControl::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.s3.deployment.CacheControl): CacheControl = CacheControl(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFile.kt index 85f537df94..54a6660ad0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFile.kt @@ -43,8 +43,8 @@ public open class DeployTimeSubstitutedFile( id: String, props: DeployTimeSubstitutedFileProps, ) : - this(software.amazon.awscdk.services.s3.deployment.DeployTimeSubstitutedFile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DeployTimeSubstitutedFileProps::unwrap)) + this(software.amazon.awscdk.services.s3.deployment.DeployTimeSubstitutedFile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DeployTimeSubstitutedFileProps.Companion::unwrap)) ) public constructor( @@ -131,7 +131,7 @@ public open class DeployTimeSubstitutedFile( * @param destinationBucket The S3 bucket to sync the contents of the zip file to. */ override fun destinationBucket(destinationBucket: IBucket) { - cdkBuilder.destinationBucket(destinationBucket.let(IBucket::unwrap)) + cdkBuilder.destinationBucket(destinationBucket.let(IBucket.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class DeployTimeSubstitutedFile( * @param role Execution role associated with this function. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFileProps.kt index fa97a76ec5..86eff2ce02 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeployTimeSubstitutedFileProps.kt @@ -112,7 +112,7 @@ public interface DeployTimeSubstitutedFileProps { * @param destinationBucket The S3 bucket to sync the contents of the zip file to. */ override fun destinationBucket(destinationBucket: IBucket) { - cdkBuilder.destinationBucket(destinationBucket.let(IBucket::unwrap)) + cdkBuilder.destinationBucket(destinationBucket.let(IBucket.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface DeployTimeSubstitutedFileProps { * @param role Execution role associated with this function. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeploymentSourceContext.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeploymentSourceContext.kt index 45185cca38..6090eff994 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeploymentSourceContext.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/DeploymentSourceContext.kt @@ -50,7 +50,7 @@ public interface DeploymentSourceContext { * @param handlerRole The role for the handler. */ override fun handlerRole(handlerRole: IRole) { - cdkBuilder.handlerRole(handlerRole.let(IRole::unwrap)) + cdkBuilder.handlerRole(handlerRole.let(IRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.s3.deployment.DeploymentSourceContext = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/ISource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/ISource.kt index b0143f0b3c..8673a42a6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/ISource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/ISource.kt @@ -49,7 +49,7 @@ public interface ISource { * @param context */ override fun bind(scope: Construct): SourceConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(SourceConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(SourceConfig::wrap) /** * Binds the source to a bucket deployment. @@ -58,8 +58,8 @@ public interface ISource { * @param context */ override fun bind(scope: Construct, context: DeploymentSourceContext): SourceConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - context.let(DeploymentSourceContext::unwrap)).let(SourceConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + context.let(DeploymentSourceContext.Companion::unwrap)).let(SourceConfig::wrap) /** * Binds the source to a bucket deployment. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/Source.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/Source.kt index 5b578211c3..1293d8abdf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/Source.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/Source.kt @@ -46,7 +46,7 @@ public open class Source( public fun asset(path: String, options: AssetOptions): ISource = software.amazon.awscdk.services.s3.deployment.Source.asset(path, - options.let(AssetOptions::unwrap)).let(ISource::wrap) + options.let(AssetOptions.Companion::unwrap)).let(ISource::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("0b77eb868095f325ddfb755b455f0094b4fee540fdd33a0edf9ca830bf8cdb1d") @@ -54,7 +54,7 @@ public open class Source( AssetOptions(options)) public fun bucket(bucket: IBucket, zipObjectKey: String): ISource = - software.amazon.awscdk.services.s3.deployment.Source.bucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.s3.deployment.Source.bucket(bucket.let(IBucket.Companion::unwrap), zipObjectKey).let(ISource::wrap) public fun `data`(objectKey: String, `data`: String): ISource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/SourceConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/SourceConfig.kt index dd15928fdb..28f4463c34 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/SourceConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/deployment/SourceConfig.kt @@ -79,7 +79,7 @@ public interface SourceConfig { * @param bucket The source bucket to deploy from. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/LambdaDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/LambdaDestination.kt index 09510cec9d..6fb11d06c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/LambdaDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/LambdaDestination.kt @@ -30,7 +30,7 @@ public open class LambdaDestination( cdkObject: software.amazon.awscdk.services.s3.notifications.LambdaDestination, ) : CdkObject(cdkObject), IBucketNotificationDestination { public constructor(fn: IFunction) : - this(software.amazon.awscdk.services.s3.notifications.LambdaDestination(fn.let(IFunction::unwrap)) + this(software.amazon.awscdk.services.s3.notifications.LambdaDestination(fn.let(IFunction.Companion::unwrap)) ) /** @@ -44,8 +44,8 @@ public open class LambdaDestination( * @param bucket */ public override fun bind(scope: Construct, bucket: IBucket): BucketNotificationDestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - bucket.let(IBucket::unwrap)).let(BucketNotificationDestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + bucket.let(IBucket.Companion::unwrap)).let(BucketNotificationDestinationConfig::wrap) public companion object { internal diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SnsDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SnsDestination.kt index 84c04cb7ee..b3a7ea94a8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SnsDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SnsDestination.kt @@ -24,7 +24,7 @@ public open class SnsDestination( cdkObject: software.amazon.awscdk.services.s3.notifications.SnsDestination, ) : CdkObject(cdkObject), IBucketNotificationDestination { public constructor(topic: ITopic) : - this(software.amazon.awscdk.services.s3.notifications.SnsDestination(topic.let(ITopic::unwrap)) + this(software.amazon.awscdk.services.s3.notifications.SnsDestination(topic.let(ITopic.Companion::unwrap)) ) /** @@ -38,8 +38,8 @@ public open class SnsDestination( * @param bucket */ public override fun bind(scope: Construct, bucket: IBucket): BucketNotificationDestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - bucket.let(IBucket::unwrap)).let(BucketNotificationDestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + bucket.let(IBucket.Companion::unwrap)).let(BucketNotificationDestinationConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.s3.notifications.SnsDestination): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SqsDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SqsDestination.kt index 1809a2d591..ac25e78b06 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SqsDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SqsDestination.kt @@ -28,7 +28,7 @@ public open class SqsDestination( cdkObject: software.amazon.awscdk.services.s3.notifications.SqsDestination, ) : CdkObject(cdkObject), IBucketNotificationDestination { public constructor(queue: IQueue) : - this(software.amazon.awscdk.services.s3.notifications.SqsDestination(queue.let(IQueue::unwrap)) + this(software.amazon.awscdk.services.s3.notifications.SqsDestination(queue.let(IQueue.Companion::unwrap)) ) /** @@ -40,8 +40,8 @@ public open class SqsDestination( * @param bucket */ public override fun bind(scope: Construct, bucket: IBucket): BucketNotificationDestinationConfig = - unwrap(this).bind(scope.let(Construct::unwrap), - bucket.let(IBucket::unwrap)).let(BucketNotificationDestinationConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap), + bucket.let(IBucket.Companion::unwrap)).let(BucketNotificationDestinationConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.s3.notifications.SqsDestination): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnBucketPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnBucketPolicy.kt index 2831d751f6..53dcc58527 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnBucketPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnBucketPolicy.kt @@ -86,8 +86,8 @@ public open class CfnBucketPolicy( id: String, props: CfnBucketPolicyProps, ) : - this(software.amazon.awscdk.services.s3express.CfnBucketPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBucketPolicyProps::unwrap)) + this(software.amazon.awscdk.services.s3express.CfnBucketPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBucketPolicyProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnBucketPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnDirectoryBucket.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnDirectoryBucket.kt index 91bc9bb74f..4e7064c108 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnDirectoryBucket.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3express/CfnDirectoryBucket.kt @@ -70,8 +70,8 @@ public open class CfnDirectoryBucket( id: String, props: CfnDirectoryBucketProps, ) : - this(software.amazon.awscdk.services.s3express.CfnDirectoryBucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDirectoryBucketProps::unwrap)) + this(software.amazon.awscdk.services.s3express.CfnDirectoryBucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDirectoryBucketProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class CfnDirectoryBucket( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPoint.kt index 4368dcbf0a..aafa6a9ee2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPoint.kt @@ -55,8 +55,8 @@ public open class CfnAccessPoint( id: String, props: CfnAccessPointProps, ) : - this(software.amazon.awscdk.services.s3objectlambda.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPointProps::unwrap)) + this(software.amazon.awscdk.services.s3objectlambda.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPointProps.Companion::unwrap)) ) public constructor( @@ -150,7 +150,7 @@ public open class CfnAccessPoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,14 +174,14 @@ public open class CfnAccessPoint( * A configuration used when creating an Object Lambda Access Point. */ public open fun objectLambdaConfiguration(`value`: IResolvable) { - unwrap(this).setObjectLambdaConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setObjectLambdaConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * A configuration used when creating an Object Lambda Access Point. */ public open fun objectLambdaConfiguration(`value`: ObjectLambdaConfigurationProperty) { - unwrap(this).setObjectLambdaConfiguration(`value`.let(ObjectLambdaConfigurationProperty::unwrap)) + unwrap(this).setObjectLambdaConfiguration(`value`.let(ObjectLambdaConfigurationProperty.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class CfnAccessPoint( * Point. */ override fun objectLambdaConfiguration(objectLambdaConfiguration: IResolvable) { - cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(IResolvable::unwrap)) + cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnAccessPoint( */ override fun objectLambdaConfiguration(objectLambdaConfiguration: ObjectLambdaConfigurationProperty) { - cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(ObjectLambdaConfigurationProperty::unwrap)) + cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(ObjectLambdaConfigurationProperty.Companion::unwrap)) } /** @@ -601,14 +601,14 @@ public open class CfnAccessPoint( * @param awsLambda the value to be set. */ override fun awsLambda(awsLambda: IResolvable) { - cdkBuilder.awsLambda(awsLambda.let(IResolvable::unwrap)) + cdkBuilder.awsLambda(awsLambda.let(IResolvable.Companion::unwrap)) } /** * @param awsLambda the value to be set. */ override fun awsLambda(awsLambda: AwsLambdaProperty) { - cdkBuilder.awsLambda(awsLambda.let(AwsLambdaProperty::unwrap)) + cdkBuilder.awsLambda(awsLambda.let(AwsLambdaProperty.Companion::unwrap)) } /** @@ -800,7 +800,7 @@ public open class CfnAccessPoint( * configuration is enabled. */ override fun cloudWatchMetricsEnabled(cloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -816,7 +816,7 @@ public open class CfnAccessPoint( * Object Lambda Access Point. */ override fun transformationConfigurations(transformationConfigurations: IResolvable) { - cdkBuilder.transformationConfigurations(transformationConfigurations.let(IResolvable::unwrap)) + cdkBuilder.transformationConfigurations(transformationConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -956,7 +956,7 @@ public open class CfnAccessPoint( * Object lambda Access Points are private by default. */ override fun isPublic(isPublic: IResolvable) { - cdkBuilder.isPublic(isPublic.let(IResolvable::unwrap)) + cdkBuilder.isPublic(isPublic.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1238,7 +1238,7 @@ public open class CfnAccessPoint( * This property is not supported for Amazon S3 on Outposts. */ override fun blockPublicAcls(blockPublicAcls: IResolvable) { - cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable::unwrap)) + cdkBuilder.blockPublicAcls(blockPublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -1266,7 +1266,7 @@ public open class CfnAccessPoint( * This property is not supported for Amazon S3 on Outposts. */ override fun blockPublicPolicy(blockPublicPolicy: IResolvable) { - cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable::unwrap)) + cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public open class CfnAccessPoint( * This property is not supported for Amazon S3 on Outposts. */ override fun ignorePublicAcls(ignorePublicAcls: IResolvable) { - cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable::unwrap)) + cdkBuilder.ignorePublicAcls(ignorePublicAcls.let(IResolvable.Companion::unwrap)) } /** @@ -1328,7 +1328,7 @@ public open class CfnAccessPoint( * This property is not supported for Amazon S3 on Outposts. */ override fun restrictPublicBuckets(restrictPublicBuckets: IResolvable) { - cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable::unwrap)) + cdkBuilder.restrictPublicBuckets(restrictPublicBuckets.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointPolicy.kt index 1b841ef9d8..fac5392f13 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointPolicy.kt @@ -40,8 +40,8 @@ public open class CfnAccessPointPolicy( id: String, props: CfnAccessPointPolicyProps, ) : - this(software.amazon.awscdk.services.s3objectlambda.CfnAccessPointPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPointPolicyProps::unwrap)) + this(software.amazon.awscdk.services.s3objectlambda.CfnAccessPointPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPointPolicyProps.Companion::unwrap)) ) public constructor( @@ -57,7 +57,7 @@ public open class CfnAccessPointPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointProps.kt index cbef77cf22..eab2d74e1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3objectlambda/CfnAccessPointProps.kt @@ -104,7 +104,7 @@ public interface CfnAccessPointProps { * Point. */ override fun objectLambdaConfiguration(objectLambdaConfiguration: IResolvable) { - cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(IResolvable::unwrap)) + cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface CfnAccessPointProps { */ override fun objectLambdaConfiguration(objectLambdaConfiguration: CfnAccessPoint.ObjectLambdaConfigurationProperty) { - cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(CfnAccessPoint.ObjectLambdaConfigurationProperty::unwrap)) + cdkBuilder.objectLambdaConfiguration(objectLambdaConfiguration.let(CfnAccessPoint.ObjectLambdaConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPoint.kt index 3bf262608a..5f1751e044 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPoint.kt @@ -55,8 +55,8 @@ public open class CfnAccessPoint( id: String, props: CfnAccessPointProps, ) : - this(software.amazon.awscdk.services.s3outposts.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessPointProps::unwrap)) + this(software.amazon.awscdk.services.s3outposts.CfnAccessPoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessPointProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnAccessPoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,14 +129,14 @@ public open class CfnAccessPoint( * The virtual private cloud (VPC) configuration for this access point, if one exists. */ public open fun vpcConfiguration(`value`: IResolvable) { - unwrap(this).setVpcConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual private cloud (VPC) configuration for this access point, if one exists. */ public open fun vpcConfiguration(`value`: VpcConfigurationProperty) { - unwrap(this).setVpcConfiguration(`value`.let(VpcConfigurationProperty::unwrap)) + unwrap(this).setVpcConfiguration(`value`.let(VpcConfigurationProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnAccessPoint( * if one exists. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnAccessPoint( * if one exists. */ override fun vpcConfiguration(vpcConfiguration: VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(VpcConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPointProps.kt index 6cf1fb7057..b83a8919c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnAccessPointProps.kt @@ -138,7 +138,7 @@ public interface CfnAccessPointProps { * if one exists. */ override fun vpcConfiguration(vpcConfiguration: IResolvable) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface CfnAccessPointProps { * if one exists. */ override fun vpcConfiguration(vpcConfiguration: CfnAccessPoint.VpcConfigurationProperty) { - cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnAccessPoint.VpcConfigurationProperty::unwrap)) + cdkBuilder.vpcConfiguration(vpcConfiguration.let(CfnAccessPoint.VpcConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucket.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucket.kt index f42db9ae00..cfca5bc9a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucket.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucket.kt @@ -79,8 +79,8 @@ public open class CfnBucket( id: String, props: CfnBucketProps, ) : - this(software.amazon.awscdk.services.s3outposts.CfnBucket(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBucketProps::unwrap)) + this(software.amazon.awscdk.services.s3outposts.CfnBucket(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBucketProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnBucket( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnBucket( * lifecycle configuration. */ public open fun lifecycleConfiguration(`value`: IResolvable) { - unwrap(this).setLifecycleConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecycleConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnBucket( * lifecycle configuration. */ public open fun lifecycleConfiguration(`value`: LifecycleConfigurationProperty) { - unwrap(this).setLifecycleConfiguration(`value`.let(LifecycleConfigurationProperty::unwrap)) + unwrap(this).setLifecycleConfiguration(`value`.let(LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnBucket( * Outposts](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) . */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -381,7 +381,7 @@ public open class CfnBucket( * bucket or replaces an existing lifecycle configuration. */ override fun lifecycleConfiguration(lifecycleConfiguration: IResolvable) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class CfnBucket( * bucket or replaces an existing lifecycle configuration. */ override fun lifecycleConfiguration(lifecycleConfiguration: LifecycleConfigurationProperty) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(LifecycleConfigurationProperty::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class CfnBucket( * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public open class CfnBucket( * @param tags the value to be set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(FilterTagProperty::unwrap)) + cdkBuilder.tags(tags.map(FilterTagProperty.Companion::unwrap)) } /** @@ -819,14 +819,14 @@ public open class CfnBucket( * @param andOperator the value to be set. */ override fun andOperator(andOperator: IResolvable) { - cdkBuilder.andOperator(andOperator.let(IResolvable::unwrap)) + cdkBuilder.andOperator(andOperator.let(IResolvable.Companion::unwrap)) } /** * @param andOperator the value to be set. */ override fun andOperator(andOperator: FilterAndOperatorProperty) { - cdkBuilder.andOperator(andOperator.let(FilterAndOperatorProperty::unwrap)) + cdkBuilder.andOperator(andOperator.let(FilterAndOperatorProperty.Companion::unwrap)) } /** @@ -848,14 +848,14 @@ public open class CfnBucket( * @param tag the value to be set. */ override fun tag(tag: IResolvable) { - cdkBuilder.tag(tag.let(IResolvable::unwrap)) + cdkBuilder.tag(tag.let(IResolvable.Companion::unwrap)) } /** * @param tag the value to be set. */ override fun tag(tag: FilterTagProperty) { - cdkBuilder.tag(tag.let(FilterTagProperty::unwrap)) + cdkBuilder.tag(tag.let(FilterTagProperty.Companion::unwrap)) } /** @@ -1077,7 +1077,7 @@ public open class CfnBucket( * the S3 on Outposts bucket. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -1265,7 +1265,7 @@ public open class CfnBucket( * upload rule. */ override fun abortIncompleteMultipartUpload(abortIncompleteMultipartUpload: IResolvable) { - cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(IResolvable::unwrap)) + cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(IResolvable.Companion::unwrap)) } /** @@ -1274,7 +1274,7 @@ public open class CfnBucket( */ override fun abortIncompleteMultipartUpload(abortIncompleteMultipartUpload: AbortIncompleteMultipartUploadProperty) { - cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(AbortIncompleteMultipartUploadProperty::unwrap)) + cdkBuilder.abortIncompleteMultipartUpload(abortIncompleteMultipartUpload.let(AbortIncompleteMultipartUploadProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketPolicy.kt index 58fb68c3cb..ce1ee57a9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketPolicy.kt @@ -56,8 +56,8 @@ public open class CfnBucketPolicy( id: String, props: CfnBucketPolicyProps, ) : - this(software.amazon.awscdk.services.s3outposts.CfnBucketPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBucketPolicyProps::unwrap)) + this(software.amazon.awscdk.services.s3outposts.CfnBucketPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBucketPolicyProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnBucketPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketProps.kt index 0204789a95..b6434a661f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnBucketProps.kt @@ -260,7 +260,7 @@ public interface CfnBucketProps { * certain period of time and abort incomplete multipart uploads. */ override fun lifecycleConfiguration(lifecycleConfiguration: IResolvable) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface CfnBucketProps { */ override fun lifecycleConfiguration(lifecycleConfiguration: CfnBucket.LifecycleConfigurationProperty) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(CfnBucket.LifecycleConfigurationProperty::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(CfnBucket.LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public interface CfnBucketProps { * resources](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html) . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpoint.kt index 305ca3e00d..ee0381ee12 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpoint.kt @@ -60,8 +60,8 @@ public open class CfnEndpoint( id: String, props: CfnEndpointProps, ) : - this(software.amazon.awscdk.services.s3outposts.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointProps::unwrap)) + this(software.amazon.awscdk.services.s3outposts.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointProps.Companion::unwrap)) ) public constructor( @@ -135,14 +135,14 @@ public open class CfnEndpoint( * The failure reason, if any, for a create or delete endpoint operation. */ public open fun failedReason(`value`: IResolvable) { - unwrap(this).setFailedReason(`value`.let(IResolvable::unwrap)) + unwrap(this).setFailedReason(`value`.let(IResolvable.Companion::unwrap)) } /** * The failure reason, if any, for a create or delete endpoint operation. */ public open fun failedReason(`value`: FailedReasonProperty) { - unwrap(this).setFailedReason(`value`.let(FailedReasonProperty::unwrap)) + unwrap(this).setFailedReason(`value`.let(FailedReasonProperty.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnEndpoint( * @param failedReason The failure reason, if any, for a create or delete endpoint operation. */ override fun failedReason(failedReason: IResolvable) { - cdkBuilder.failedReason(failedReason.let(IResolvable::unwrap)) + cdkBuilder.failedReason(failedReason.let(IResolvable.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class CfnEndpoint( * @param failedReason The failure reason, if any, for a create or delete endpoint operation. */ override fun failedReason(failedReason: FailedReasonProperty) { - cdkBuilder.failedReason(failedReason.let(FailedReasonProperty::unwrap)) + cdkBuilder.failedReason(failedReason.let(FailedReasonProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpointProps.kt index ede67990c8..ab04dfbd1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3outposts/CfnEndpointProps.kt @@ -179,14 +179,14 @@ public interface CfnEndpointProps { * @param failedReason The failure reason, if any, for a create or delete endpoint operation. */ override fun failedReason(failedReason: IResolvable) { - cdkBuilder.failedReason(failedReason.let(IResolvable::unwrap)) + cdkBuilder.failedReason(failedReason.let(IResolvable.Companion::unwrap)) } /** * @param failedReason The failure reason, if any, for a create or delete endpoint operation. */ override fun failedReason(failedReason: CfnEndpoint.FailedReasonProperty) { - cdkBuilder.failedReason(failedReason.let(CfnEndpoint.FailedReasonProperty::unwrap)) + cdkBuilder.failedReason(failedReason.let(CfnEndpoint.FailedReasonProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnApp.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnApp.kt index a804cfcddc..984a2d2ae3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnApp.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnApp.kt @@ -61,8 +61,8 @@ public open class CfnApp( id: String, props: CfnAppProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnApp(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnApp(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppProps.Companion::unwrap)) ) public constructor( @@ -120,7 +120,7 @@ public open class CfnApp( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnApp( * the version runs on. */ public open fun resourceSpec(`value`: IResolvable) { - unwrap(this).setResourceSpec(`value`.let(IResolvable::unwrap)) + unwrap(this).setResourceSpec(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnApp( * the version runs on. */ public open fun resourceSpec(`value`: ResourceSpecProperty) { - unwrap(this).setResourceSpec(`value`.let(ResourceSpecProperty::unwrap)) + unwrap(this).setResourceSpec(`value`.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnApp( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnApp( * the instance type that the version runs on. */ override fun resourceSpec(resourceSpec: IResolvable) { - cdkBuilder.resourceSpec(resourceSpec.let(IResolvable::unwrap)) + cdkBuilder.resourceSpec(resourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class CfnApp( * the instance type that the version runs on. */ override fun resourceSpec(resourceSpec: ResourceSpecProperty) { - cdkBuilder.resourceSpec(resourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.resourceSpec(resourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnApp( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfig.kt index fdd49229b5..c358439bc0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfig.kt @@ -87,8 +87,8 @@ public open class CfnAppImageConfig( id: String, props: CfnAppImageConfigProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnAppImageConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAppImageConfigProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnAppImageConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAppImageConfigProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnAppImageConfig( * entry point. */ public open fun codeEditorAppImageConfig(`value`: IResolvable) { - unwrap(this).setCodeEditorAppImageConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCodeEditorAppImageConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnAppImageConfig( * entry point. */ public open fun codeEditorAppImageConfig(`value`: CodeEditorAppImageConfigProperty) { - unwrap(this).setCodeEditorAppImageConfig(`value`.let(CodeEditorAppImageConfigProperty::unwrap)) + unwrap(this).setCodeEditorAppImageConfig(`value`.let(CodeEditorAppImageConfigProperty.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class CfnAppImageConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnAppImageConfig( * entry point. */ public open fun jupyterLabAppImageConfig(`value`: IResolvable) { - unwrap(this).setJupyterLabAppImageConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setJupyterLabAppImageConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnAppImageConfig( * entry point. */ public open fun jupyterLabAppImageConfig(`value`: JupyterLabAppImageConfigProperty) { - unwrap(this).setJupyterLabAppImageConfig(`value`.let(JupyterLabAppImageConfigProperty::unwrap)) + unwrap(this).setJupyterLabAppImageConfig(`value`.let(JupyterLabAppImageConfigProperty.Companion::unwrap)) } /** @@ -198,14 +198,14 @@ public open class CfnAppImageConfig( * The configuration for the file system and kernels in the SageMaker image. */ public open fun kernelGatewayImageConfig(`value`: IResolvable) { - unwrap(this).setKernelGatewayImageConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setKernelGatewayImageConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration for the file system and kernels in the SageMaker image. */ public open fun kernelGatewayImageConfig(`value`: KernelGatewayImageConfigProperty) { - unwrap(this).setKernelGatewayImageConfig(`value`.let(KernelGatewayImageConfigProperty::unwrap)) + unwrap(this).setKernelGatewayImageConfig(`value`.let(KernelGatewayImageConfigProperty.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnAppImageConfig( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CfnAppImageConfig( * as the environment variables and entry point. */ override fun codeEditorAppImageConfig(codeEditorAppImageConfig: IResolvable) { - cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(IResolvable::unwrap)) + cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class CfnAppImageConfig( */ override fun codeEditorAppImageConfig(codeEditorAppImageConfig: CodeEditorAppImageConfigProperty) { - cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(CodeEditorAppImageConfigProperty::unwrap)) + cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(CodeEditorAppImageConfigProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnAppImageConfig( * as the environment variables and entry point. */ override fun jupyterLabAppImageConfig(jupyterLabAppImageConfig: IResolvable) { - cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(IResolvable::unwrap)) + cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnAppImageConfig( */ override fun jupyterLabAppImageConfig(jupyterLabAppImageConfig: JupyterLabAppImageConfigProperty) { - cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(JupyterLabAppImageConfigProperty::unwrap)) + cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(JupyterLabAppImageConfigProperty.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnAppImageConfig( * SageMaker image. */ override fun kernelGatewayImageConfig(kernelGatewayImageConfig: IResolvable) { - cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(IResolvable::unwrap)) + cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class CfnAppImageConfig( */ override fun kernelGatewayImageConfig(kernelGatewayImageConfig: KernelGatewayImageConfigProperty) { - cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(KernelGatewayImageConfigProperty::unwrap)) + cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(KernelGatewayImageConfigProperty.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class CfnAppImageConfig( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -628,14 +628,14 @@ public open class CfnAppImageConfig( * @param containerConfig The container configuration for a SageMaker image. */ override fun containerConfig(containerConfig: IResolvable) { - cdkBuilder.containerConfig(containerConfig.let(IResolvable::unwrap)) + cdkBuilder.containerConfig(containerConfig.let(IResolvable.Companion::unwrap)) } /** * @param containerConfig The container configuration for a SageMaker image. */ override fun containerConfig(containerConfig: ContainerConfigProperty) { - cdkBuilder.containerConfig(containerConfig.let(ContainerConfigProperty::unwrap)) + cdkBuilder.containerConfig(containerConfig.let(ContainerConfigProperty.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnAppImageConfig( * @param containerEnvironmentVariables The environment variables to set in the container. */ override fun containerEnvironmentVariables(containerEnvironmentVariables: IResolvable) { - cdkBuilder.containerEnvironmentVariables(containerEnvironmentVariables.let(IResolvable::unwrap)) + cdkBuilder.containerEnvironmentVariables(containerEnvironmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1207,14 +1207,14 @@ public open class CfnAppImageConfig( * @param containerConfig The configuration used to run the application image container. */ override fun containerConfig(containerConfig: IResolvable) { - cdkBuilder.containerConfig(containerConfig.let(IResolvable::unwrap)) + cdkBuilder.containerConfig(containerConfig.let(IResolvable.Companion::unwrap)) } /** * @param containerConfig The configuration used to run the application image container. */ override fun containerConfig(containerConfig: ContainerConfigProperty) { - cdkBuilder.containerConfig(containerConfig.let(ContainerConfigProperty::unwrap)) + cdkBuilder.containerConfig(containerConfig.let(ContainerConfigProperty.Companion::unwrap)) } /** @@ -1354,7 +1354,7 @@ public open class CfnAppImageConfig( * SageMaker image. */ override fun fileSystemConfig(fileSystemConfig: IResolvable) { - cdkBuilder.fileSystemConfig(fileSystemConfig.let(IResolvable::unwrap)) + cdkBuilder.fileSystemConfig(fileSystemConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1362,7 +1362,7 @@ public open class CfnAppImageConfig( * SageMaker image. */ override fun fileSystemConfig(fileSystemConfig: FileSystemConfigProperty) { - cdkBuilder.fileSystemConfig(fileSystemConfig.let(FileSystemConfigProperty::unwrap)) + cdkBuilder.fileSystemConfig(fileSystemConfig.let(FileSystemConfigProperty.Companion::unwrap)) } /** @@ -1378,7 +1378,7 @@ public open class CfnAppImageConfig( * @param kernelSpecs The specification of the Jupyter kernels in the image. */ override fun kernelSpecs(kernelSpecs: IResolvable) { - cdkBuilder.kernelSpecs(kernelSpecs.let(IResolvable::unwrap)) + cdkBuilder.kernelSpecs(kernelSpecs.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfigProps.kt index ca75378e7c..ef5e23438e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppImageConfigProps.kt @@ -222,7 +222,7 @@ public interface CfnAppImageConfigProps { * as the environment variables and entry point. */ override fun codeEditorAppImageConfig(codeEditorAppImageConfig: IResolvable) { - cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(IResolvable::unwrap)) + cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface CfnAppImageConfigProps { */ override fun codeEditorAppImageConfig(codeEditorAppImageConfig: CfnAppImageConfig.CodeEditorAppImageConfigProperty) { - cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(CfnAppImageConfig.CodeEditorAppImageConfigProperty::unwrap)) + cdkBuilder.codeEditorAppImageConfig(codeEditorAppImageConfig.let(CfnAppImageConfig.CodeEditorAppImageConfigProperty.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface CfnAppImageConfigProps { * as the environment variables and entry point. */ override fun jupyterLabAppImageConfig(jupyterLabAppImageConfig: IResolvable) { - cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(IResolvable::unwrap)) + cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface CfnAppImageConfigProps { */ override fun jupyterLabAppImageConfig(jupyterLabAppImageConfig: CfnAppImageConfig.JupyterLabAppImageConfigProperty) { - cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(CfnAppImageConfig.JupyterLabAppImageConfigProperty::unwrap)) + cdkBuilder.jupyterLabAppImageConfig(jupyterLabAppImageConfig.let(CfnAppImageConfig.JupyterLabAppImageConfigProperty.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnAppImageConfigProps { * SageMaker image. */ override fun kernelGatewayImageConfig(kernelGatewayImageConfig: IResolvable) { - cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(IResolvable::unwrap)) + cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface CfnAppImageConfigProps { */ override fun kernelGatewayImageConfig(kernelGatewayImageConfig: CfnAppImageConfig.KernelGatewayImageConfigProperty) { - cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(CfnAppImageConfig.KernelGatewayImageConfigProperty::unwrap)) + cdkBuilder.kernelGatewayImageConfig(kernelGatewayImageConfig.let(CfnAppImageConfig.KernelGatewayImageConfigProperty.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface CfnAppImageConfigProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppProps.kt index 9723911d57..ea307a6007 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnAppProps.kt @@ -182,7 +182,7 @@ public interface CfnAppProps { * the instance type that the version runs on. */ override fun resourceSpec(resourceSpec: IResolvable) { - cdkBuilder.resourceSpec(resourceSpec.let(IResolvable::unwrap)) + cdkBuilder.resourceSpec(resourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public interface CfnAppProps { * the instance type that the version runs on. */ override fun resourceSpec(resourceSpec: CfnApp.ResourceSpecProperty) { - cdkBuilder.resourceSpec(resourceSpec.let(CfnApp.ResourceSpecProperty::unwrap)) + cdkBuilder.resourceSpec(resourceSpec.let(CfnApp.ResourceSpecProperty.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public interface CfnAppProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepository.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepository.kt index 2c90caafdf..8d0a44339f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepository.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepository.kt @@ -65,8 +65,8 @@ public open class CfnCodeRepository( id: String, props: CfnCodeRepositoryProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnCodeRepository(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCodeRepositoryProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnCodeRepository(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCodeRepositoryProps.Companion::unwrap)) ) public constructor( @@ -109,7 +109,7 @@ public open class CfnCodeRepository( * of the AWS Secrets Manager secret that contains the credentials used to access the repository. */ public open fun gitConfig(`value`: IResolvable) { - unwrap(this).setGitConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setGitConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnCodeRepository( * of the AWS Secrets Manager secret that contains the credentials used to access the repository. */ public open fun gitConfig(`value`: GitConfigProperty) { - unwrap(this).setGitConfig(`value`.let(GitConfigProperty::unwrap)) + unwrap(this).setGitConfig(`value`.let(GitConfigProperty.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class CfnCodeRepository( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnCodeRepository( * List of tags for Code Repository. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public open class CfnCodeRepository( * access the repository. */ override fun gitConfig(gitConfig: IResolvable) { - cdkBuilder.gitConfig(gitConfig.let(IResolvable::unwrap)) + cdkBuilder.gitConfig(gitConfig.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public open class CfnCodeRepository( * access the repository. */ override fun gitConfig(gitConfig: GitConfigProperty) { - cdkBuilder.gitConfig(gitConfig.let(GitConfigProperty::unwrap)) + cdkBuilder.gitConfig(gitConfig.let(GitConfigProperty.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class CfnCodeRepository( * @param tags List of tags for Code Repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepositoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepositoryProps.kt index ae459c16df..b3663d9659 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepositoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnCodeRepositoryProps.kt @@ -124,7 +124,7 @@ public interface CfnCodeRepositoryProps { * access the repository. */ override fun gitConfig(gitConfig: IResolvable) { - cdkBuilder.gitConfig(gitConfig.let(IResolvable::unwrap)) + cdkBuilder.gitConfig(gitConfig.let(IResolvable.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public interface CfnCodeRepositoryProps { * access the repository. */ override fun gitConfig(gitConfig: CfnCodeRepository.GitConfigProperty) { - cdkBuilder.gitConfig(gitConfig.let(CfnCodeRepository.GitConfigProperty::unwrap)) + cdkBuilder.gitConfig(gitConfig.let(CfnCodeRepository.GitConfigProperty.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnCodeRepositoryProps { * @param tags List of tags for Code Repository. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinition.kt index 415c09dc2f..3041542c2b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinition.kt @@ -136,8 +136,8 @@ public open class CfnDataQualityJobDefinition( id: String, props: CfnDataQualityJobDefinitionProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataQualityJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnDataQualityJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataQualityJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -166,14 +166,14 @@ public open class CfnDataQualityJobDefinition( * Specifies the container that runs the monitoring job. */ public open fun dataQualityAppSpecification(`value`: IResolvable) { - unwrap(this).setDataQualityAppSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataQualityAppSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the container that runs the monitoring job. */ public open fun dataQualityAppSpecification(`value`: DataQualityAppSpecificationProperty) { - unwrap(this).setDataQualityAppSpecification(`value`.let(DataQualityAppSpecificationProperty::unwrap)) + unwrap(this).setDataQualityAppSpecification(`value`.let(DataQualityAppSpecificationProperty.Companion::unwrap)) } /** @@ -194,14 +194,14 @@ public open class CfnDataQualityJobDefinition( * Configures the constraints and baselines for the monitoring job. */ public open fun dataQualityBaselineConfig(`value`: IResolvable) { - unwrap(this).setDataQualityBaselineConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataQualityBaselineConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures the constraints and baselines for the monitoring job. */ public open fun dataQualityBaselineConfig(`value`: DataQualityBaselineConfigProperty) { - unwrap(this).setDataQualityBaselineConfig(`value`.let(DataQualityBaselineConfigProperty::unwrap)) + unwrap(this).setDataQualityBaselineConfig(`value`.let(DataQualityBaselineConfigProperty.Companion::unwrap)) } /** @@ -222,14 +222,14 @@ public open class CfnDataQualityJobDefinition( * A list of inputs for the monitoring job. */ public open fun dataQualityJobInput(`value`: IResolvable) { - unwrap(this).setDataQualityJobInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataQualityJobInput(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of inputs for the monitoring job. */ public open fun dataQualityJobInput(`value`: DataQualityJobInputProperty) { - unwrap(this).setDataQualityJobInput(`value`.let(DataQualityJobInputProperty::unwrap)) + unwrap(this).setDataQualityJobInput(`value`.let(DataQualityJobInputProperty.Companion::unwrap)) } /** @@ -249,14 +249,14 @@ public open class CfnDataQualityJobDefinition( * The output configuration for monitoring jobs. */ public open fun dataQualityJobOutputConfig(`value`: IResolvable) { - unwrap(this).setDataQualityJobOutputConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataQualityJobOutputConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The output configuration for monitoring jobs. */ public open fun dataQualityJobOutputConfig(`value`: MonitoringOutputConfigProperty) { - unwrap(this).setDataQualityJobOutputConfig(`value`.let(MonitoringOutputConfigProperty::unwrap)) + unwrap(this).setDataQualityJobOutputConfig(`value`.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnDataQualityJobDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -310,14 +310,14 @@ public open class CfnDataQualityJobDefinition( * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: IResolvable) { - unwrap(this).setJobResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobResources(`value`.let(IResolvable.Companion::unwrap)) } /** * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: MonitoringResourcesProperty) { - unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty::unwrap)) + unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -337,14 +337,14 @@ public open class CfnDataQualityJobDefinition( * Specifies networking configuration for the monitoring job. */ public open fun networkConfig(`value`: IResolvable) { - unwrap(this).setNetworkConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies networking configuration for the monitoring job. */ public open fun networkConfig(`value`: NetworkConfigProperty) { - unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -378,14 +378,14 @@ public open class CfnDataQualityJobDefinition( * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: IResolvable) { - unwrap(this).setStoppingCondition(`value`.let(IResolvable::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(IResolvable.Companion::unwrap)) } /** * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: StoppingConditionProperty) { - unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public open class CfnDataQualityJobDefinition( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnDataQualityJobDefinition( * @param dataQualityAppSpecification Specifies the container that runs the monitoring job. */ override fun dataQualityAppSpecification(dataQualityAppSpecification: IResolvable) { - cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public open class CfnDataQualityJobDefinition( */ override fun dataQualityAppSpecification(dataQualityAppSpecification: DataQualityAppSpecificationProperty) { - cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(DataQualityAppSpecificationProperty::unwrap)) + cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(DataQualityAppSpecificationProperty.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public open class CfnDataQualityJobDefinition( * job. */ override fun dataQualityBaselineConfig(dataQualityBaselineConfig: IResolvable) { - cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -739,7 +739,7 @@ public open class CfnDataQualityJobDefinition( */ override fun dataQualityBaselineConfig(dataQualityBaselineConfig: DataQualityBaselineConfigProperty) { - cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(DataQualityBaselineConfigProperty::unwrap)) + cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(DataQualityBaselineConfigProperty.Companion::unwrap)) } /** @@ -765,7 +765,7 @@ public open class CfnDataQualityJobDefinition( * @param dataQualityJobInput A list of inputs for the monitoring job. */ override fun dataQualityJobInput(dataQualityJobInput: IResolvable) { - cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(IResolvable::unwrap)) + cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public open class CfnDataQualityJobDefinition( * @param dataQualityJobInput A list of inputs for the monitoring job. */ override fun dataQualityJobInput(dataQualityJobInput: DataQualityJobInputProperty) { - cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(DataQualityJobInputProperty::unwrap)) + cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(DataQualityJobInputProperty.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public open class CfnDataQualityJobDefinition( * @param dataQualityJobOutputConfig The output configuration for monitoring jobs. */ override fun dataQualityJobOutputConfig(dataQualityJobOutputConfig: IResolvable) { - cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnDataQualityJobDefinition( */ override fun dataQualityJobOutputConfig(dataQualityJobOutputConfig: MonitoringOutputConfigProperty) { - cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -855,7 +855,7 @@ public open class CfnDataQualityJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -865,7 +865,7 @@ public open class CfnDataQualityJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public open class CfnDataQualityJobDefinition( * @param networkConfig Specifies networking configuration for the monitoring job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -896,7 +896,7 @@ public open class CfnDataQualityJobDefinition( * @param networkConfig Specifies networking configuration for the monitoring job. */ override fun networkConfig(networkConfig: NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -930,7 +930,7 @@ public open class CfnDataQualityJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -941,7 +941,7 @@ public open class CfnDataQualityJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -967,7 +967,7 @@ public open class CfnDataQualityJobDefinition( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1159,14 +1159,14 @@ public open class CfnDataQualityJobDefinition( * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: IResolvable) { - cdkBuilder.datasetFormat(datasetFormat.let(IResolvable::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(IResolvable.Companion::unwrap)) } /** * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: DatasetFormatProperty) { - cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty.Companion::unwrap)) } /** @@ -1613,7 +1613,7 @@ public open class CfnDataQualityJobDefinition( * @param header A boolean flag indicating if given CSV has header. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1825,7 +1825,7 @@ public open class CfnDataQualityJobDefinition( * runs. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -2069,14 +2069,14 @@ public open class CfnDataQualityJobDefinition( * @param constraintsResource The constraints resource for a monitoring job. */ override fun constraintsResource(constraintsResource: IResolvable) { - cdkBuilder.constraintsResource(constraintsResource.let(IResolvable::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(IResolvable.Companion::unwrap)) } /** * @param constraintsResource The constraints resource for a monitoring job. */ override fun constraintsResource(constraintsResource: ConstraintsResourceProperty) { - cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty.Companion::unwrap)) } /** @@ -2095,7 +2095,7 @@ public open class CfnDataQualityJobDefinition( * series of jobs scheduled to collect data periodically. */ override fun statisticsResource(statisticsResource: IResolvable) { - cdkBuilder.statisticsResource(statisticsResource.let(IResolvable::unwrap)) + cdkBuilder.statisticsResource(statisticsResource.let(IResolvable.Companion::unwrap)) } /** @@ -2105,7 +2105,7 @@ public open class CfnDataQualityJobDefinition( * series of jobs scheduled to collect data periodically. */ override fun statisticsResource(statisticsResource: StatisticsResourceProperty) { - cdkBuilder.statisticsResource(statisticsResource.let(StatisticsResourceProperty::unwrap)) + cdkBuilder.statisticsResource(statisticsResource.let(StatisticsResourceProperty.Companion::unwrap)) } /** @@ -2280,14 +2280,14 @@ public open class CfnDataQualityJobDefinition( * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: IResolvable) { - cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable.Companion::unwrap)) } /** * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: BatchTransformInputProperty) { - cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty.Companion::unwrap)) } /** @@ -2303,14 +2303,14 @@ public open class CfnDataQualityJobDefinition( * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: IResolvable) { - cdkBuilder.endpointInput(endpointInput.let(IResolvable::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(IResolvable.Companion::unwrap)) } /** * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: EndpointInputProperty) { - cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty.Companion::unwrap)) } /** @@ -2466,14 +2466,14 @@ public open class CfnDataQualityJobDefinition( * @param csv The CSV format. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** * @param csv The CSV format. */ override fun csv(csv: CsvProperty) { - cdkBuilder.csv(csv.let(CsvProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvProperty.Companion::unwrap)) } /** @@ -2487,14 +2487,14 @@ public open class CfnDataQualityJobDefinition( * @param json The Json format. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** * @param json The Json format. */ override fun json(json: JsonProperty) { - cdkBuilder.json(json.let(JsonProperty::unwrap)) + cdkBuilder.json(json.let(JsonProperty.Companion::unwrap)) } /** @@ -2515,7 +2515,7 @@ public open class CfnDataQualityJobDefinition( * @param parquet A flag indicate if the dataset format is Parquet. */ override fun parquet(parquet: IResolvable) { - cdkBuilder.parquet(parquet.let(IResolvable::unwrap)) + cdkBuilder.parquet(parquet.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2844,7 +2844,7 @@ public open class CfnDataQualityJobDefinition( * @param line A boolean flag indicating if it is JSON line format. */ override fun line(line: IResolvable) { - cdkBuilder.line(line.let(IResolvable::unwrap)) + cdkBuilder.line(line.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2973,7 +2973,7 @@ public open class CfnDataQualityJobDefinition( * This is where the output of the periodic monitoring jobs is uploaded. */ override fun monitoringOutputs(monitoringOutputs: IResolvable) { - cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable::unwrap)) + cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -3101,7 +3101,7 @@ public open class CfnDataQualityJobDefinition( * saved. */ override fun s3Output(s3Output: IResolvable) { - cdkBuilder.s3Output(s3Output.let(IResolvable::unwrap)) + cdkBuilder.s3Output(s3Output.let(IResolvable.Companion::unwrap)) } /** @@ -3109,7 +3109,7 @@ public open class CfnDataQualityJobDefinition( * saved. */ override fun s3Output(s3Output: S3OutputProperty) { - cdkBuilder.s3Output(s3Output.let(S3OutputProperty::unwrap)) + cdkBuilder.s3Output(s3Output.let(S3OutputProperty.Companion::unwrap)) } /** @@ -3222,7 +3222,7 @@ public open class CfnDataQualityJobDefinition( * job. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3230,7 +3230,7 @@ public open class CfnDataQualityJobDefinition( * job. */ override fun clusterConfig(clusterConfig: ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -3409,7 +3409,7 @@ public open class CfnDataQualityJobDefinition( */ override fun enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption: IResolvable) { - cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable::unwrap)) + cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -3425,7 +3425,7 @@ public open class CfnDataQualityJobDefinition( * from the containers used for the processing job. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -3433,7 +3433,7 @@ public open class CfnDataQualityJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3441,7 +3441,7 @@ public open class CfnDataQualityJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinitionProps.kt index 9a874b4e63..8082b46e30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDataQualityJobDefinitionProps.kt @@ -387,7 +387,7 @@ public interface CfnDataQualityJobDefinitionProps { * @param dataQualityAppSpecification Specifies the container that runs the monitoring job. */ override fun dataQualityAppSpecification(dataQualityAppSpecification: IResolvable) { - cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public interface CfnDataQualityJobDefinitionProps { */ override fun dataQualityAppSpecification(dataQualityAppSpecification: CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty) { - cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty::unwrap)) + cdkBuilder.dataQualityAppSpecification(dataQualityAppSpecification.let(CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public interface CfnDataQualityJobDefinitionProps { * job. */ override fun dataQualityBaselineConfig(dataQualityBaselineConfig: IResolvable) { - cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface CfnDataQualityJobDefinitionProps { */ override fun dataQualityBaselineConfig(dataQualityBaselineConfig: CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty) { - cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty::unwrap)) + cdkBuilder.dataQualityBaselineConfig(dataQualityBaselineConfig.let(CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnDataQualityJobDefinitionProps { * Currently endpoints are supported as monitoring inputs. */ override fun dataQualityJobInput(dataQualityJobInput: IResolvable) { - cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(IResolvable::unwrap)) + cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface CfnDataQualityJobDefinitionProps { */ override fun dataQualityJobInput(dataQualityJobInput: CfnDataQualityJobDefinition.DataQualityJobInputProperty) { - cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(CfnDataQualityJobDefinition.DataQualityJobInputProperty::unwrap)) + cdkBuilder.dataQualityJobInput(dataQualityJobInput.let(CfnDataQualityJobDefinition.DataQualityJobInputProperty.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public interface CfnDataQualityJobDefinitionProps { * @param dataQualityJobOutputConfig The output configuration for monitoring jobs. */ override fun dataQualityJobOutputConfig(dataQualityJobOutputConfig: IResolvable) { - cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnDataQualityJobDefinitionProps { */ override fun dataQualityJobOutputConfig(dataQualityJobOutputConfig: CfnDataQualityJobDefinition.MonitoringOutputConfigProperty) { - cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(CfnDataQualityJobDefinition.MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.dataQualityJobOutputConfig(dataQualityJobOutputConfig.let(CfnDataQualityJobDefinition.MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public interface CfnDataQualityJobDefinitionProps { * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public interface CfnDataQualityJobDefinitionProps { */ override fun jobResources(jobResources: CfnDataQualityJobDefinition.MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(CfnDataQualityJobDefinition.MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(CfnDataQualityJobDefinition.MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -531,14 +531,14 @@ public interface CfnDataQualityJobDefinitionProps { * @param networkConfig Specifies networking configuration for the monitoring job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** * @param networkConfig Specifies networking configuration for the monitoring job. */ override fun networkConfig(networkConfig: CfnDataQualityJobDefinition.NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(CfnDataQualityJobDefinition.NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(CfnDataQualityJobDefinition.NetworkConfigProperty.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public interface CfnDataQualityJobDefinitionProps { * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public interface CfnDataQualityJobDefinitionProps { */ override fun stoppingCondition(stoppingCondition: CfnDataQualityJobDefinition.StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(CfnDataQualityJobDefinition.StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(CfnDataQualityJobDefinition.StoppingConditionProperty.Companion::unwrap)) } /** @@ -593,7 +593,7 @@ public interface CfnDataQualityJobDefinitionProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDevice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDevice.kt index 93d8f62100..281151f9cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDevice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDevice.kt @@ -58,8 +58,8 @@ public open class CfnDevice( id: String, props: CfnDeviceProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnDevice(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnDevice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceProps.Companion::unwrap)) ) public constructor( @@ -78,14 +78,14 @@ public open class CfnDevice( * Edge device you want to create. */ public open fun device(`value`: IResolvable) { - unwrap(this).setDevice(`value`.let(IResolvable::unwrap)) + unwrap(this).setDevice(`value`.let(IResolvable.Companion::unwrap)) } /** * Edge device you want to create. */ public open fun device(`value`: DeviceProperty) { - unwrap(this).setDevice(`value`.let(DeviceProperty::unwrap)) + unwrap(this).setDevice(`value`.let(DeviceProperty.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class CfnDevice( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnDevice( * devices. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnDevice( * @param device Edge device you want to create. */ override fun device(device: IResolvable) { - cdkBuilder.device(device.let(IResolvable::unwrap)) + cdkBuilder.device(device.let(IResolvable.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnDevice( * @param device Edge device you want to create. */ override fun device(device: DeviceProperty) { - cdkBuilder.device(device.let(DeviceProperty::unwrap)) + cdkBuilder.device(device.let(DeviceProperty.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnDevice( * organize your devices. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleet.kt index 2bc7e8ab49..344a5ce7b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleet.kt @@ -59,8 +59,8 @@ public open class CfnDeviceFleet( id: String, props: CfnDeviceFleetProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnDeviceFleet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDeviceFleetProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnDeviceFleet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDeviceFleetProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnDeviceFleet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -112,14 +112,14 @@ public open class CfnDeviceFleet( * The output configuration for storing sample data collected by the fleet. */ public open fun outputConfig(`value`: IResolvable) { - unwrap(this).setOutputConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The output configuration for storing sample data collected by the fleet. */ public open fun outputConfig(`value`: EdgeOutputConfigProperty) { - unwrap(this).setOutputConfig(`value`.let(EdgeOutputConfigProperty::unwrap)) + unwrap(this).setOutputConfig(`value`.let(EdgeOutputConfigProperty.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnDeviceFleet( * device fleets. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnDeviceFleet( * @param outputConfig The output configuration for storing sample data collected by the fleet. */ override fun outputConfig(outputConfig: IResolvable) { - cdkBuilder.outputConfig(outputConfig.let(IResolvable::unwrap)) + cdkBuilder.outputConfig(outputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnDeviceFleet( * @param outputConfig The output configuration for storing sample data collected by the fleet. */ override fun outputConfig(outputConfig: EdgeOutputConfigProperty) { - cdkBuilder.outputConfig(outputConfig.let(EdgeOutputConfigProperty::unwrap)) + cdkBuilder.outputConfig(outputConfig.let(EdgeOutputConfigProperty.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class CfnDeviceFleet( * organize your device fleets. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleetProps.kt index baaf242e7b..5ebdea262d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceFleetProps.kt @@ -156,14 +156,14 @@ public interface CfnDeviceFleetProps { * @param outputConfig The output configuration for storing sample data collected by the fleet. */ override fun outputConfig(outputConfig: IResolvable) { - cdkBuilder.outputConfig(outputConfig.let(IResolvable::unwrap)) + cdkBuilder.outputConfig(outputConfig.let(IResolvable.Companion::unwrap)) } /** * @param outputConfig The output configuration for storing sample data collected by the fleet. */ override fun outputConfig(outputConfig: CfnDeviceFleet.EdgeOutputConfigProperty) { - cdkBuilder.outputConfig(outputConfig.let(CfnDeviceFleet.EdgeOutputConfigProperty::unwrap)) + cdkBuilder.outputConfig(outputConfig.let(CfnDeviceFleet.EdgeOutputConfigProperty.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface CfnDeviceFleetProps { * Each tag consists of a key and a value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceProps.kt index dc135e9731..8fb60cd868 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDeviceProps.kt @@ -115,14 +115,14 @@ public interface CfnDeviceProps { * @param device Edge device you want to create. */ override fun device(device: IResolvable) { - cdkBuilder.device(device.let(IResolvable::unwrap)) + cdkBuilder.device(device.let(IResolvable.Companion::unwrap)) } /** * @param device Edge device you want to create. */ override fun device(device: CfnDevice.DeviceProperty) { - cdkBuilder.device(device.let(CfnDevice.DeviceProperty::unwrap)) + cdkBuilder.device(device.let(CfnDevice.DeviceProperty.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public interface CfnDeviceProps { * Each tag consists of a key and a value, both of which you define. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomain.kt index 184beca71e..cecf1c4d43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomain.kt @@ -243,8 +243,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -348,14 +348,14 @@ public open class CfnDomain( * A collection of settings that apply to spaces created in the domain. */ public open fun defaultSpaceSettings(`value`: IResolvable) { - unwrap(this).setDefaultSpaceSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultSpaceSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * A collection of settings that apply to spaces created in the domain. */ public open fun defaultSpaceSettings(`value`: DefaultSpaceSettingsProperty) { - unwrap(this).setDefaultSpaceSettings(`value`.let(DefaultSpaceSettingsProperty::unwrap)) + unwrap(this).setDefaultSpaceSettings(`value`.let(DefaultSpaceSettingsProperty.Companion::unwrap)) } /** @@ -375,14 +375,14 @@ public open class CfnDomain( * The default user settings. */ public open fun defaultUserSettings(`value`: IResolvable) { - unwrap(this).setDefaultUserSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultUserSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The default user settings. */ public open fun defaultUserSettings(`value`: UserSettingsProperty) { - unwrap(this).setDefaultUserSettings(`value`.let(UserSettingsProperty::unwrap)) + unwrap(this).setDefaultUserSettings(`value`.let(UserSettingsProperty.Companion::unwrap)) } /** @@ -414,14 +414,14 @@ public open class CfnDomain( * A collection of settings that apply to the `SageMaker Domain` . */ public open fun domainSettings(`value`: IResolvable) { - unwrap(this).setDomainSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomainSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * A collection of settings that apply to the `SageMaker Domain` . */ public open fun domainSettings(`value`: DomainSettingsProperty) { - unwrap(this).setDomainSettings(`value`.let(DomainSettingsProperty::unwrap)) + unwrap(this).setDomainSettings(`value`.let(DomainSettingsProperty.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnDomain( * Tags to associated with the Domain. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public open class CfnDomain( * domain. */ override fun defaultSpaceSettings(defaultSpaceSettings: IResolvable) { - cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnDomain( * domain. */ override fun defaultSpaceSettings(defaultSpaceSettings: DefaultSpaceSettingsProperty) { - cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(DefaultSpaceSettingsProperty::unwrap)) + cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(DefaultSpaceSettingsProperty.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnDomain( * @param defaultUserSettings The default user settings. */ override fun defaultUserSettings(defaultUserSettings: IResolvable) { - cdkBuilder.defaultUserSettings(defaultUserSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultUserSettings(defaultUserSettings.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnDomain( * @param defaultUserSettings The default user settings. */ override fun defaultUserSettings(defaultUserSettings: UserSettingsProperty) { - cdkBuilder.defaultUserSettings(defaultUserSettings.let(UserSettingsProperty::unwrap)) + cdkBuilder.defaultUserSettings(defaultUserSettings.let(UserSettingsProperty.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public open class CfnDomain( * @param domainSettings A collection of settings that apply to the `SageMaker Domain` . */ override fun domainSettings(domainSettings: IResolvable) { - cdkBuilder.domainSettings(domainSettings.let(IResolvable::unwrap)) + cdkBuilder.domainSettings(domainSettings.let(IResolvable.Companion::unwrap)) } /** @@ -890,7 +890,7 @@ public open class CfnDomain( * @param domainSettings A collection of settings that apply to the `SageMaker Domain` . */ override fun domainSettings(domainSettings: DomainSettingsProperty) { - cdkBuilder.domainSettings(domainSettings.let(DomainSettingsProperty::unwrap)) + cdkBuilder.domainSettings(domainSettings.let(DomainSettingsProperty.Companion::unwrap)) } /** @@ -969,7 +969,7 @@ public open class CfnDomain( * @param tags Tags to associated with the Domain. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1149,7 +1149,7 @@ public open class CfnDomain( * Editor app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -1172,7 +1172,7 @@ public open class CfnDomain( * the default SageMaker image used by the Code Editor app. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1180,7 +1180,7 @@ public open class CfnDomain( * the default SageMaker image used by the Code Editor app. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -1405,14 +1405,14 @@ public open class CfnDomain( * @param efsFileSystemConfig The settings for a custom Amazon EFS file system. */ override fun efsFileSystemConfig(efsFileSystemConfig: IResolvable) { - cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(IResolvable::unwrap)) + cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(IResolvable.Companion::unwrap)) } /** * @param efsFileSystemConfig The settings for a custom Amazon EFS file system. */ override fun efsFileSystemConfig(efsFileSystemConfig: EFSFileSystemConfigProperty) { - cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(EFSFileSystemConfigProperty::unwrap)) + cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(EFSFileSystemConfigProperty.Companion::unwrap)) } /** @@ -1713,8 +1713,8 @@ public open class CfnDomain( } /** - * A collection of default EBS storage settings that applies to private spaces created within a - * domain or user profile. + * A collection of default EBS storage settings that apply to spaces created within a domain or + * user profile. * * Example: * @@ -1733,14 +1733,14 @@ public open class CfnDomain( */ public interface DefaultEbsStorageSettingsProperty { /** - * The default size of the EBS storage volume for a private space. + * The default size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultebsstoragesettings.html#cfn-sagemaker-domain-defaultebsstoragesettings-defaultebsvolumesizeingb) */ public fun defaultEbsVolumeSizeInGb(): Number /** - * The maximum size of the EBS storage volume for a private space. + * The maximum size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultebsstoragesettings.html#cfn-sagemaker-domain-defaultebsstoragesettings-maximumebsvolumesizeingb) */ @@ -1752,14 +1752,12 @@ public open class CfnDomain( @CdkDslMarker public interface Builder { /** - * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a private - * space. + * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a space. */ public fun defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb: Number) /** - * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a private - * space. + * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a space. */ public fun maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb: Number) } @@ -1771,16 +1769,14 @@ public open class CfnDomain( software.amazon.awscdk.services.sagemaker.CfnDomain.DefaultEbsStorageSettingsProperty.builder() /** - * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a private - * space. + * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a space. */ override fun defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb: Number) { cdkBuilder.defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb) } /** - * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a private - * space. + * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a space. */ override fun maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb: Number) { cdkBuilder.maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb) @@ -1795,14 +1791,14 @@ public open class CfnDomain( cdkObject: software.amazon.awscdk.services.sagemaker.CfnDomain.DefaultEbsStorageSettingsProperty, ) : CdkObject(cdkObject), DefaultEbsStorageSettingsProperty { /** - * The default size of the EBS storage volume for a private space. + * The default size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultebsstoragesettings.html#cfn-sagemaker-domain-defaultebsstoragesettings-defaultebsvolumesizeingb) */ override fun defaultEbsVolumeSizeInGb(): Number = unwrap(this).getDefaultEbsVolumeSizeInGb() /** - * The maximum size of the EBS storage volume for a private space. + * The maximum size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultebsstoragesettings.html#cfn-sagemaker-domain-defaultebsstoragesettings-maximumebsvolumesizeingb) */ @@ -1975,7 +1971,7 @@ public open class CfnDomain( * @param jupyterServerAppSettings The JupyterServer app settings. */ override fun jupyterServerAppSettings(jupyterServerAppSettings: IResolvable) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1983,7 +1979,7 @@ public open class CfnDomain( */ override fun jupyterServerAppSettings(jupyterServerAppSettings: JupyterServerAppSettingsProperty) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty.Companion::unwrap)) } /** @@ -2000,7 +1996,7 @@ public open class CfnDomain( * @param kernelGatewayAppSettings The KernelGateway app settings. */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: IResolvable) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2008,7 +2004,7 @@ public open class CfnDomain( */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: KernelGatewayAppSettingsProperty) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty.Companion::unwrap)) } /** @@ -2092,7 +2088,7 @@ public open class CfnDomain( } /** - * The default storage settings for a private space. + * The default storage settings for a space. * * Example: * @@ -2113,7 +2109,7 @@ public open class CfnDomain( */ public interface DefaultSpaceStorageSettingsProperty { /** - * The default EBS storage settings for a private space. + * The default EBS storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacestoragesettings.html#cfn-sagemaker-domain-defaultspacestoragesettings-defaultebsstoragesettings) */ @@ -2125,18 +2121,18 @@ public open class CfnDomain( @CdkDslMarker public interface Builder { /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ public fun defaultEbsStorageSettings(defaultEbsStorageSettings: IResolvable) /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ public fun defaultEbsStorageSettings(defaultEbsStorageSettings: DefaultEbsStorageSettingsProperty) /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("88b9375c272d3f8eacbde4ab8643a541071d5490c41fe7713e8c92223e3ea688") @@ -2151,22 +2147,22 @@ public open class CfnDomain( software.amazon.awscdk.services.sagemaker.CfnDomain.DefaultSpaceStorageSettingsProperty.builder() /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ override fun defaultEbsStorageSettings(defaultEbsStorageSettings: IResolvable) { - cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(IResolvable.Companion::unwrap)) } /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ override fun defaultEbsStorageSettings(defaultEbsStorageSettings: DefaultEbsStorageSettingsProperty) { - cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(DefaultEbsStorageSettingsProperty::unwrap)) + cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(DefaultEbsStorageSettingsProperty.Companion::unwrap)) } /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("88b9375c272d3f8eacbde4ab8643a541071d5490c41fe7713e8c92223e3ea688") @@ -2184,7 +2180,7 @@ public open class CfnDomain( cdkObject: software.amazon.awscdk.services.sagemaker.CfnDomain.DefaultSpaceStorageSettingsProperty, ) : CdkObject(cdkObject), DefaultSpaceStorageSettingsProperty { /** - * The default EBS storage settings for a private space. + * The default EBS storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacestoragesettings.html#cfn-sagemaker-domain-defaultspacestoragesettings-defaultebsstoragesettings) */ @@ -2462,7 +2458,7 @@ public open class CfnDomain( * interaction. */ override fun dockerSettings(dockerSettings: IResolvable) { - cdkBuilder.dockerSettings(dockerSettings.let(IResolvable::unwrap)) + cdkBuilder.dockerSettings(dockerSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2470,7 +2466,7 @@ public open class CfnDomain( * interaction. */ override fun dockerSettings(dockerSettings: DockerSettingsProperty) { - cdkBuilder.dockerSettings(dockerSettings.let(DockerSettingsProperty::unwrap)) + cdkBuilder.dockerSettings(dockerSettings.let(DockerSettingsProperty.Companion::unwrap)) } /** @@ -2487,7 +2483,7 @@ public open class CfnDomain( * `RStudioServerPro` Domain-level app. */ override fun rStudioServerProDomainSettings(rStudioServerProDomainSettings: IResolvable) { - cdkBuilder.rStudioServerProDomainSettings(rStudioServerProDomainSettings.let(IResolvable::unwrap)) + cdkBuilder.rStudioServerProDomainSettings(rStudioServerProDomainSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2496,7 +2492,7 @@ public open class CfnDomain( */ override fun rStudioServerProDomainSettings(rStudioServerProDomainSettings: RStudioServerProDomainSettingsProperty) { - cdkBuilder.rStudioServerProDomainSettings(rStudioServerProDomainSettings.let(RStudioServerProDomainSettingsProperty::unwrap)) + cdkBuilder.rStudioServerProDomainSettings(rStudioServerProDomainSettings.let(RStudioServerProDomainSettingsProperty.Companion::unwrap)) } /** @@ -2847,7 +2843,7 @@ public open class CfnDomain( * users for cloning in the JupyterLab application. */ override fun codeRepositories(codeRepositories: IResolvable) { - cdkBuilder.codeRepositories(codeRepositories.let(IResolvable::unwrap)) + cdkBuilder.codeRepositories(codeRepositories.let(IResolvable.Companion::unwrap)) } /** @@ -2870,7 +2866,7 @@ public open class CfnDomain( * JupyterLab app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -2893,7 +2889,7 @@ public open class CfnDomain( * the default SageMaker image used by the JupyterLab app. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -2901,7 +2897,7 @@ public open class CfnDomain( * the default SageMaker image used by the JupyterLab app. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -3060,7 +3056,7 @@ public open class CfnDomain( * the default SageMaker image used by the JupyterServer app. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -3068,7 +3064,7 @@ public open class CfnDomain( * the default SageMaker image used by the JupyterServer app. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -3233,7 +3229,7 @@ public open class CfnDomain( * KernelGateway app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -3260,7 +3256,7 @@ public open class CfnDomain( * CloudFormation and the instance type parameter value is not passed. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -3272,7 +3268,7 @@ public open class CfnDomain( * CloudFormation and the instance type parameter value is not passed. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -3434,7 +3430,7 @@ public open class CfnDomain( * RSession app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -3457,7 +3453,7 @@ public open class CfnDomain( * version, and the instance type that the version runs on. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -3465,7 +3461,7 @@ public open class CfnDomain( * version, and the instance type that the version runs on. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -3754,7 +3750,7 @@ public open class CfnDomain( * `SageMakerImageArn` , and `SageMakerImageVersionArn` for the Domain. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -3762,7 +3758,7 @@ public open class CfnDomain( * `SageMakerImageArn` , and `SageMakerImageVersionArn` for the Domain. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -4428,7 +4424,7 @@ public open class CfnDomain( public fun sharingSettings(): Any? = unwrap(this).getSharingSettings() /** - * The storage settings for a private space. + * The storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-spacestoragesettings) */ @@ -4670,17 +4666,17 @@ public open class CfnDomain( public fun sharingSettings(sharingSettings: SharingSettingsProperty.Builder.() -> Unit) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ public fun spaceStorageSettings(spaceStorageSettings: IResolvable) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ public fun spaceStorageSettings(spaceStorageSettings: DefaultSpaceStorageSettingsProperty) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a3aae4112a7de18e3c56555dbe10493634a6f69dfe8f103aab3796ca359b6f1") @@ -4704,14 +4700,14 @@ public open class CfnDomain( * @param codeEditorAppSettings The Code Editor application settings. */ override fun codeEditorAppSettings(codeEditorAppSettings: IResolvable) { - cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(IResolvable::unwrap)) + cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(IResolvable.Companion::unwrap)) } /** * @param codeEditorAppSettings The Code Editor application settings. */ override fun codeEditorAppSettings(codeEditorAppSettings: CodeEditorAppSettingsProperty) { - cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(CodeEditorAppSettingsProperty::unwrap)) + cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(CodeEditorAppSettingsProperty.Companion::unwrap)) } /** @@ -4729,7 +4725,7 @@ public open class CfnDomain( * Permitted users can access this file system in Amazon SageMaker Studio. */ override fun customFileSystemConfigs(customFileSystemConfigs: IResolvable) { - cdkBuilder.customFileSystemConfigs(customFileSystemConfigs.let(IResolvable::unwrap)) + cdkBuilder.customFileSystemConfigs(customFileSystemConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -4754,7 +4750,7 @@ public open class CfnDomain( * operations. */ override fun customPosixUserConfig(customPosixUserConfig: IResolvable) { - cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(IResolvable::unwrap)) + cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4762,7 +4758,7 @@ public open class CfnDomain( * operations. */ override fun customPosixUserConfig(customPosixUserConfig: CustomPosixUserConfigProperty) { - cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(CustomPosixUserConfigProperty::unwrap)) + cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(CustomPosixUserConfigProperty.Companion::unwrap)) } /** @@ -4797,14 +4793,14 @@ public open class CfnDomain( * @param jupyterLabAppSettings The settings for the JupyterLab application. */ override fun jupyterLabAppSettings(jupyterLabAppSettings: IResolvable) { - cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(IResolvable.Companion::unwrap)) } /** * @param jupyterLabAppSettings The settings for the JupyterLab application. */ override fun jupyterLabAppSettings(jupyterLabAppSettings: JupyterLabAppSettingsProperty) { - cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(JupyterLabAppSettingsProperty::unwrap)) + cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(JupyterLabAppSettingsProperty.Companion::unwrap)) } /** @@ -4820,7 +4816,7 @@ public open class CfnDomain( * @param jupyterServerAppSettings The Jupyter server's app settings. */ override fun jupyterServerAppSettings(jupyterServerAppSettings: IResolvable) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -4828,7 +4824,7 @@ public open class CfnDomain( */ override fun jupyterServerAppSettings(jupyterServerAppSettings: JupyterServerAppSettingsProperty) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty.Companion::unwrap)) } /** @@ -4845,7 +4841,7 @@ public open class CfnDomain( * @param kernelGatewayAppSettings The kernel gateway app settings. */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: IResolvable) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -4853,7 +4849,7 @@ public open class CfnDomain( */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: KernelGatewayAppSettingsProperty) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty.Companion::unwrap)) } /** @@ -4871,7 +4867,7 @@ public open class CfnDomain( * app. */ override fun rSessionAppSettings(rSessionAppSettings: IResolvable) { - cdkBuilder.rSessionAppSettings(rSessionAppSettings.let(IResolvable::unwrap)) + cdkBuilder.rSessionAppSettings(rSessionAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -4879,7 +4875,7 @@ public open class CfnDomain( * app. */ override fun rSessionAppSettings(rSessionAppSettings: RSessionAppSettingsProperty) { - cdkBuilder.rSessionAppSettings(rSessionAppSettings.let(RSessionAppSettingsProperty::unwrap)) + cdkBuilder.rSessionAppSettings(rSessionAppSettings.let(RSessionAppSettingsProperty.Companion::unwrap)) } /** @@ -4897,7 +4893,7 @@ public open class CfnDomain( * with the `RStudioServerPro` app. */ override fun rStudioServerProAppSettings(rStudioServerProAppSettings: IResolvable) { - cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(IResolvable::unwrap)) + cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -4906,7 +4902,7 @@ public open class CfnDomain( */ override fun rStudioServerProAppSettings(rStudioServerProAppSettings: RStudioServerProAppSettingsProperty) { - cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(RStudioServerProAppSettingsProperty::unwrap)) + cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(RStudioServerProAppSettingsProperty.Companion::unwrap)) } /** @@ -4957,14 +4953,14 @@ public open class CfnDomain( * @param sharingSettings Specifies options for sharing Amazon SageMaker Studio notebooks. */ override fun sharingSettings(sharingSettings: IResolvable) { - cdkBuilder.sharingSettings(sharingSettings.let(IResolvable::unwrap)) + cdkBuilder.sharingSettings(sharingSettings.let(IResolvable.Companion::unwrap)) } /** * @param sharingSettings Specifies options for sharing Amazon SageMaker Studio notebooks. */ override fun sharingSettings(sharingSettings: SharingSettingsProperty) { - cdkBuilder.sharingSettings(sharingSettings.let(SharingSettingsProperty::unwrap)) + cdkBuilder.sharingSettings(sharingSettings.let(SharingSettingsProperty.Companion::unwrap)) } /** @@ -4976,21 +4972,21 @@ public open class CfnDomain( Unit = sharingSettings(SharingSettingsProperty(sharingSettings)) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ override fun spaceStorageSettings(spaceStorageSettings: IResolvable) { - cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(IResolvable.Companion::unwrap)) } /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ override fun spaceStorageSettings(spaceStorageSettings: DefaultSpaceStorageSettingsProperty) { - cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(DefaultSpaceStorageSettingsProperty::unwrap)) + cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(DefaultSpaceStorageSettingsProperty.Companion::unwrap)) } /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("2a3aae4112a7de18e3c56555dbe10493634a6f69dfe8f103aab3796ca359b6f1") @@ -5118,7 +5114,7 @@ public open class CfnDomain( override fun sharingSettings(): Any? = unwrap(this).getSharingSettings() /** - * The storage settings for a private space. + * The storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-spacestoragesettings) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomainProps.kt index 8107e5cf02..daa6429e76 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnDomainProps.kt @@ -513,7 +513,7 @@ public interface CfnDomainProps { * domain. */ override fun defaultSpaceSettings(defaultSpaceSettings: IResolvable) { - cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnDomainProps { */ override fun defaultSpaceSettings(defaultSpaceSettings: CfnDomain.DefaultSpaceSettingsProperty) { - cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(CfnDomain.DefaultSpaceSettingsProperty::unwrap)) + cdkBuilder.defaultSpaceSettings(defaultSpaceSettings.let(CfnDomain.DefaultSpaceSettingsProperty.Companion::unwrap)) } /** @@ -539,14 +539,14 @@ public interface CfnDomainProps { * @param defaultUserSettings The default user settings. */ override fun defaultUserSettings(defaultUserSettings: IResolvable) { - cdkBuilder.defaultUserSettings(defaultUserSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultUserSettings(defaultUserSettings.let(IResolvable.Companion::unwrap)) } /** * @param defaultUserSettings The default user settings. */ override fun defaultUserSettings(defaultUserSettings: CfnDomain.UserSettingsProperty) { - cdkBuilder.defaultUserSettings(defaultUserSettings.let(CfnDomain.UserSettingsProperty::unwrap)) + cdkBuilder.defaultUserSettings(defaultUserSettings.let(CfnDomain.UserSettingsProperty.Companion::unwrap)) } /** @@ -570,7 +570,7 @@ public interface CfnDomainProps { * These settings are specified through the `CreateDomain` API call. */ override fun domainSettings(domainSettings: IResolvable) { - cdkBuilder.domainSettings(domainSettings.let(IResolvable::unwrap)) + cdkBuilder.domainSettings(domainSettings.let(IResolvable.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public interface CfnDomainProps { * These settings are specified through the `CreateDomain` API call. */ override fun domainSettings(domainSettings: CfnDomain.DomainSettingsProperty) { - cdkBuilder.domainSettings(domainSettings.let(CfnDomain.DomainSettingsProperty::unwrap)) + cdkBuilder.domainSettings(domainSettings.let(CfnDomain.DomainSettingsProperty.Companion::unwrap)) } /** @@ -637,7 +637,7 @@ public interface CfnDomainProps { * *Array members* : Minimum number of 0 items. Maximum number of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpoint.kt index 7e75c8507d..abbf1b7ed9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpoint.kt @@ -103,8 +103,8 @@ public open class CfnEndpoint( id: String, props: CfnEndpointProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnEndpoint( * and rollback configurations. */ public open fun deploymentConfig(`value`: IResolvable) { - unwrap(this).setDeploymentConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -143,7 +143,7 @@ public open class CfnEndpoint( * and rollback configurations. */ public open fun deploymentConfig(`value`: DeploymentConfigProperty) { - unwrap(this).setDeploymentConfig(`value`.let(DeploymentConfigProperty::unwrap)) + unwrap(this).setDeploymentConfig(`value`.let(DeploymentConfigProperty.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnEndpoint( * creating new endpoint resources or when `RetainAllVariantProperties` is set to `false` . */ public open fun excludeRetainedVariantProperties(`value`: IResolvable) { - unwrap(this).setExcludeRetainedVariantProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setExcludeRetainedVariantProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnEndpoint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnEndpoint( * as the instance count or the variant weight. */ public open fun retainAllVariantProperties(`value`: IResolvable) { - unwrap(this).setRetainAllVariantProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setRetainAllVariantProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnEndpoint( * Specifies whether to reuse the last deployment configuration. */ public open fun retainDeploymentConfig(`value`: IResolvable) { - unwrap(this).setRetainDeploymentConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRetainDeploymentConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class CfnEndpoint( * A list of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -538,7 +538,7 @@ public open class CfnEndpoint( * desired deployment strategy and rollback configurations. */ override fun deploymentConfig(deploymentConfig: IResolvable) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IResolvable::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IResolvable.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnEndpoint( * desired deployment strategy and rollback configurations. */ override fun deploymentConfig(deploymentConfig: DeploymentConfigProperty) { - cdkBuilder.deploymentConfig(deploymentConfig.let(DeploymentConfigProperty::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(DeploymentConfigProperty.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class CfnEndpoint( * when creating new endpoint resources or when `RetainAllVariantProperties` is set to `false` . */ override fun excludeRetainedVariantProperties(excludeRetainedVariantProperties: IResolvable) { - cdkBuilder.excludeRetainedVariantProperties(excludeRetainedVariantProperties.let(IResolvable::unwrap)) + cdkBuilder.excludeRetainedVariantProperties(excludeRetainedVariantProperties.let(IResolvable.Companion::unwrap)) } /** @@ -698,7 +698,7 @@ public open class CfnEndpoint( * retention of variant properties, such as the instance count or the variant weight. */ override fun retainAllVariantProperties(retainAllVariantProperties: IResolvable) { - cdkBuilder.retainAllVariantProperties(retainAllVariantProperties.let(IResolvable::unwrap)) + cdkBuilder.retainAllVariantProperties(retainAllVariantProperties.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnEndpoint( * @param retainDeploymentConfig Specifies whether to reuse the last deployment configuration. */ override fun retainDeploymentConfig(retainDeploymentConfig: IResolvable) { - cdkBuilder.retainDeploymentConfig(retainDeploymentConfig.let(IResolvable::unwrap)) + cdkBuilder.retainDeploymentConfig(retainDeploymentConfig.let(IResolvable.Companion::unwrap)) } /** @@ -738,7 +738,7 @@ public open class CfnEndpoint( * @param tags A list of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -924,7 +924,7 @@ public open class CfnEndpoint( * If any alarms are tripped during a deployment, SageMaker rolls back the deployment. */ override fun alarms(alarms: IResolvable) { - cdkBuilder.alarms(alarms.let(IResolvable::unwrap)) + cdkBuilder.alarms(alarms.let(IResolvable.Companion::unwrap)) } /** @@ -1119,7 +1119,7 @@ public open class CfnEndpoint( * from the old fleet to the new fleet during an endpoint deployment. */ override fun trafficRoutingConfiguration(trafficRoutingConfiguration: IResolvable) { - cdkBuilder.trafficRoutingConfiguration(trafficRoutingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.trafficRoutingConfiguration(trafficRoutingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1128,7 +1128,7 @@ public open class CfnEndpoint( */ override fun trafficRoutingConfiguration(trafficRoutingConfiguration: TrafficRoutingConfigProperty) { - cdkBuilder.trafficRoutingConfiguration(trafficRoutingConfiguration.let(TrafficRoutingConfigProperty::unwrap)) + cdkBuilder.trafficRoutingConfiguration(trafficRoutingConfiguration.let(TrafficRoutingConfigProperty.Companion::unwrap)) } /** @@ -1499,7 +1499,7 @@ public open class CfnEndpoint( * deployment failures and recovery. */ override fun autoRollbackConfiguration(autoRollbackConfiguration: IResolvable) { - cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(IResolvable::unwrap)) + cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1508,7 +1508,7 @@ public open class CfnEndpoint( */ override fun autoRollbackConfiguration(autoRollbackConfiguration: AutoRollbackConfigProperty) { - cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(AutoRollbackConfigProperty::unwrap)) + cdkBuilder.autoRollbackConfiguration(autoRollbackConfiguration.let(AutoRollbackConfigProperty.Companion::unwrap)) } /** @@ -1530,7 +1530,7 @@ public open class CfnEndpoint( * deployment strategy with all at once traffic shifting by default. */ override fun blueGreenUpdatePolicy(blueGreenUpdatePolicy: IResolvable) { - cdkBuilder.blueGreenUpdatePolicy(blueGreenUpdatePolicy.let(IResolvable::unwrap)) + cdkBuilder.blueGreenUpdatePolicy(blueGreenUpdatePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1542,7 +1542,7 @@ public open class CfnEndpoint( * deployment strategy with all at once traffic shifting by default. */ override fun blueGreenUpdatePolicy(blueGreenUpdatePolicy: BlueGreenUpdatePolicyProperty) { - cdkBuilder.blueGreenUpdatePolicy(blueGreenUpdatePolicy.let(BlueGreenUpdatePolicyProperty::unwrap)) + cdkBuilder.blueGreenUpdatePolicy(blueGreenUpdatePolicy.let(BlueGreenUpdatePolicyProperty.Companion::unwrap)) } /** @@ -1564,7 +1564,7 @@ public open class CfnEndpoint( * endpoint. */ override fun rollingUpdatePolicy(rollingUpdatePolicy: IResolvable) { - cdkBuilder.rollingUpdatePolicy(rollingUpdatePolicy.let(IResolvable::unwrap)) + cdkBuilder.rollingUpdatePolicy(rollingUpdatePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -1572,7 +1572,7 @@ public open class CfnEndpoint( * endpoint. */ override fun rollingUpdatePolicy(rollingUpdatePolicy: RollingUpdatePolicyProperty) { - cdkBuilder.rollingUpdatePolicy(rollingUpdatePolicy.let(RollingUpdatePolicyProperty::unwrap)) + cdkBuilder.rollingUpdatePolicy(rollingUpdatePolicy.let(RollingUpdatePolicyProperty.Companion::unwrap)) } /** @@ -1789,7 +1789,7 @@ public open class CfnEndpoint( * Value must be between 5% to 50% of the variant's total instance count. */ override fun maximumBatchSize(maximumBatchSize: IResolvable) { - cdkBuilder.maximumBatchSize(maximumBatchSize.let(IResolvable::unwrap)) + cdkBuilder.maximumBatchSize(maximumBatchSize.let(IResolvable.Companion::unwrap)) } /** @@ -1798,7 +1798,7 @@ public open class CfnEndpoint( * Value must be between 5% to 50% of the variant's total instance count. */ override fun maximumBatchSize(maximumBatchSize: CapacitySizeProperty) { - cdkBuilder.maximumBatchSize(maximumBatchSize.let(CapacitySizeProperty::unwrap)) + cdkBuilder.maximumBatchSize(maximumBatchSize.let(CapacitySizeProperty.Companion::unwrap)) } /** @@ -1827,7 +1827,7 @@ public open class CfnEndpoint( * at once during rollback. */ override fun rollbackMaximumBatchSize(rollbackMaximumBatchSize: IResolvable) { - cdkBuilder.rollbackMaximumBatchSize(rollbackMaximumBatchSize.let(IResolvable::unwrap)) + cdkBuilder.rollbackMaximumBatchSize(rollbackMaximumBatchSize.let(IResolvable.Companion::unwrap)) } /** @@ -1838,7 +1838,7 @@ public open class CfnEndpoint( * at once during rollback. */ override fun rollbackMaximumBatchSize(rollbackMaximumBatchSize: CapacitySizeProperty) { - cdkBuilder.rollbackMaximumBatchSize(rollbackMaximumBatchSize.let(CapacitySizeProperty::unwrap)) + cdkBuilder.rollbackMaximumBatchSize(rollbackMaximumBatchSize.let(CapacitySizeProperty.Companion::unwrap)) } /** @@ -2077,7 +2077,7 @@ public open class CfnEndpoint( * `Value` must be less than or equal to 50% of the variant's total instance count. */ override fun canarySize(canarySize: IResolvable) { - cdkBuilder.canarySize(canarySize.let(IResolvable::unwrap)) + cdkBuilder.canarySize(canarySize.let(IResolvable.Companion::unwrap)) } /** @@ -2086,7 +2086,7 @@ public open class CfnEndpoint( * `Value` must be less than or equal to 50% of the variant's total instance count. */ override fun canarySize(canarySize: CapacitySizeProperty) { - cdkBuilder.canarySize(canarySize.let(CapacitySizeProperty::unwrap)) + cdkBuilder.canarySize(canarySize.let(CapacitySizeProperty.Companion::unwrap)) } /** @@ -2105,7 +2105,7 @@ public open class CfnEndpoint( * `Value` must be 10-50% of the variant's total instance count. */ override fun linearStepSize(linearStepSize: IResolvable) { - cdkBuilder.linearStepSize(linearStepSize.let(IResolvable::unwrap)) + cdkBuilder.linearStepSize(linearStepSize.let(IResolvable.Companion::unwrap)) } /** @@ -2114,7 +2114,7 @@ public open class CfnEndpoint( * `Value` must be 10-50% of the variant's total instance count. */ override fun linearStepSize(linearStepSize: CapacitySizeProperty) { - cdkBuilder.linearStepSize(linearStepSize.let(CapacitySizeProperty::unwrap)) + cdkBuilder.linearStepSize(linearStepSize.let(CapacitySizeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfig.kt index 3f9dc1b6e2..e558c6de27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfig.kt @@ -182,8 +182,8 @@ public open class CfnEndpointConfig( id: String, props: CfnEndpointConfigProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnEndpointConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEndpointConfigProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnEndpointConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEndpointConfigProps.Companion::unwrap)) ) public constructor( @@ -202,14 +202,14 @@ public open class CfnEndpointConfig( * Specifies configuration for how an endpoint performs asynchronous inference. */ public open fun asyncInferenceConfig(`value`: IResolvable) { - unwrap(this).setAsyncInferenceConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAsyncInferenceConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies configuration for how an endpoint performs asynchronous inference. */ public open fun asyncInferenceConfig(`value`: AsyncInferenceConfigProperty) { - unwrap(this).setAsyncInferenceConfig(`value`.let(AsyncInferenceConfigProperty::unwrap)) + unwrap(this).setAsyncInferenceConfig(`value`.let(AsyncInferenceConfigProperty.Companion::unwrap)) } /** @@ -239,14 +239,14 @@ public open class CfnEndpointConfig( * Specifies how to capture endpoint data for model monitor. */ public open fun dataCaptureConfig(`value`: IResolvable) { - unwrap(this).setDataCaptureConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataCaptureConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies how to capture endpoint data for model monitor. */ public open fun dataCaptureConfig(`value`: DataCaptureConfigProperty) { - unwrap(this).setDataCaptureConfig(`value`.let(DataCaptureConfigProperty::unwrap)) + unwrap(this).setDataCaptureConfig(`value`.let(DataCaptureConfigProperty.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnEndpointConfig( * */ public open fun enableNetworkIsolation(`value`: IResolvable) { - unwrap(this).setEnableNetworkIsolation(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableNetworkIsolation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -309,14 +309,14 @@ public open class CfnEndpointConfig( * A parameter to activate explainers. */ public open fun explainerConfig(`value`: IResolvable) { - unwrap(this).setExplainerConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setExplainerConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A parameter to activate explainers. */ public open fun explainerConfig(`value`: ExplainerConfigProperty) { - unwrap(this).setExplainerConfig(`value`.let(ExplainerConfigProperty::unwrap)) + unwrap(this).setExplainerConfig(`value`.let(ExplainerConfigProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnEndpointConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class CfnEndpointConfig( * endpoint. */ public open fun productionVariants(`value`: IResolvable) { - unwrap(this).setProductionVariants(`value`.let(IResolvable::unwrap)) + unwrap(this).setProductionVariants(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnEndpointConfig( * Array of `ProductionVariant` objects. */ public open fun shadowProductionVariants(`value`: IResolvable) { - unwrap(this).setShadowProductionVariants(`value`.let(IResolvable::unwrap)) + unwrap(this).setShadowProductionVariants(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class CfnEndpointConfig( * A list of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -436,14 +436,14 @@ public open class CfnEndpointConfig( * */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnEndpointConfig( * inference. */ override fun asyncInferenceConfig(asyncInferenceConfig: IResolvable) { - cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(IResolvable::unwrap)) + cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -755,7 +755,7 @@ public open class CfnEndpointConfig( * inference. */ override fun asyncInferenceConfig(asyncInferenceConfig: AsyncInferenceConfigProperty) { - cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(AsyncInferenceConfigProperty::unwrap)) + cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(AsyncInferenceConfigProperty.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class CfnEndpointConfig( * @param dataCaptureConfig Specifies how to capture endpoint data for model monitor. */ override fun dataCaptureConfig(dataCaptureConfig: IResolvable) { - cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(IResolvable::unwrap)) + cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(IResolvable.Companion::unwrap)) } /** @@ -792,7 +792,7 @@ public open class CfnEndpointConfig( * @param dataCaptureConfig Specifies how to capture endpoint data for model monitor. */ override fun dataCaptureConfig(dataCaptureConfig: DataCaptureConfigProperty) { - cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(DataCaptureConfigProperty::unwrap)) + cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(DataCaptureConfigProperty.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public open class CfnEndpointConfig( * @param enableNetworkIsolation */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -849,7 +849,7 @@ public open class CfnEndpointConfig( * @param explainerConfig A parameter to activate explainers. */ override fun explainerConfig(explainerConfig: IResolvable) { - cdkBuilder.explainerConfig(explainerConfig.let(IResolvable::unwrap)) + cdkBuilder.explainerConfig(explainerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -859,7 +859,7 @@ public open class CfnEndpointConfig( * @param explainerConfig A parameter to activate explainers. */ override fun explainerConfig(explainerConfig: ExplainerConfigProperty) { - cdkBuilder.explainerConfig(explainerConfig.let(ExplainerConfigProperty::unwrap)) + cdkBuilder.explainerConfig(explainerConfig.let(ExplainerConfigProperty.Companion::unwrap)) } /** @@ -922,7 +922,7 @@ public open class CfnEndpointConfig( * want to host at this endpoint. */ override fun productionVariants(productionVariants: IResolvable) { - cdkBuilder.productionVariants(productionVariants.let(IResolvable::unwrap)) + cdkBuilder.productionVariants(productionVariants.let(IResolvable.Companion::unwrap)) } /** @@ -960,7 +960,7 @@ public open class CfnEndpointConfig( * @param shadowProductionVariants Array of `ProductionVariant` objects. */ override fun shadowProductionVariants(shadowProductionVariants: IResolvable) { - cdkBuilder.shadowProductionVariants(shadowProductionVariants.let(IResolvable::unwrap)) + cdkBuilder.shadowProductionVariants(shadowProductionVariants.let(IResolvable.Companion::unwrap)) } /** @@ -1005,7 +1005,7 @@ public open class CfnEndpointConfig( * @param tags A list of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1027,7 +1027,7 @@ public open class CfnEndpointConfig( * @param vpcConfig */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1035,7 +1035,7 @@ public open class CfnEndpointConfig( * @param vpcConfig */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -1273,7 +1273,7 @@ public open class CfnEndpointConfig( * with the model container during asynchronous inference. */ override fun clientConfig(clientConfig: IResolvable) { - cdkBuilder.clientConfig(clientConfig.let(IResolvable::unwrap)) + cdkBuilder.clientConfig(clientConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1281,7 +1281,7 @@ public open class CfnEndpointConfig( * with the model container during asynchronous inference. */ override fun clientConfig(clientConfig: AsyncInferenceClientConfigProperty) { - cdkBuilder.clientConfig(clientConfig.let(AsyncInferenceClientConfigProperty::unwrap)) + cdkBuilder.clientConfig(clientConfig.let(AsyncInferenceClientConfigProperty.Companion::unwrap)) } /** @@ -1299,7 +1299,7 @@ public open class CfnEndpointConfig( * outputs. */ override fun outputConfig(outputConfig: IResolvable) { - cdkBuilder.outputConfig(outputConfig.let(IResolvable::unwrap)) + cdkBuilder.outputConfig(outputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1307,7 +1307,7 @@ public open class CfnEndpointConfig( * outputs. */ override fun outputConfig(outputConfig: AsyncInferenceOutputConfigProperty) { - cdkBuilder.outputConfig(outputConfig.let(AsyncInferenceOutputConfigProperty::unwrap)) + cdkBuilder.outputConfig(outputConfig.let(AsyncInferenceOutputConfigProperty.Companion::unwrap)) } /** @@ -1669,7 +1669,7 @@ public open class CfnEndpointConfig( * results for asynchronous inference. */ override fun notificationConfig(notificationConfig: IResolvable) { - cdkBuilder.notificationConfig(notificationConfig.let(IResolvable::unwrap)) + cdkBuilder.notificationConfig(notificationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1678,7 +1678,7 @@ public open class CfnEndpointConfig( */ override fun notificationConfig(notificationConfig: AsyncInferenceNotificationConfigProperty) { - cdkBuilder.notificationConfig(notificationConfig.let(AsyncInferenceNotificationConfigProperty::unwrap)) + cdkBuilder.notificationConfig(notificationConfig.let(AsyncInferenceNotificationConfigProperty.Companion::unwrap)) } /** @@ -2157,14 +2157,14 @@ public open class CfnEndpointConfig( * @param inferenceConfig The inference configuration parameter for the model container. */ override fun inferenceConfig(inferenceConfig: IResolvable) { - cdkBuilder.inferenceConfig(inferenceConfig.let(IResolvable::unwrap)) + cdkBuilder.inferenceConfig(inferenceConfig.let(IResolvable.Companion::unwrap)) } /** * @param inferenceConfig The inference configuration parameter for the model container. */ override fun inferenceConfig(inferenceConfig: ClarifyInferenceConfigProperty) { - cdkBuilder.inferenceConfig(inferenceConfig.let(ClarifyInferenceConfigProperty::unwrap)) + cdkBuilder.inferenceConfig(inferenceConfig.let(ClarifyInferenceConfigProperty.Companion::unwrap)) } /** @@ -2180,14 +2180,14 @@ public open class CfnEndpointConfig( * @param shapConfig The configuration for SHAP analysis. */ override fun shapConfig(shapConfig: IResolvable) { - cdkBuilder.shapConfig(shapConfig.let(IResolvable::unwrap)) + cdkBuilder.shapConfig(shapConfig.let(IResolvable.Companion::unwrap)) } /** * @param shapConfig The configuration for SHAP analysis. */ override fun shapConfig(shapConfig: ClarifyShapConfigProperty) { - cdkBuilder.shapConfig(shapConfig.let(ClarifyShapConfigProperty::unwrap)) + cdkBuilder.shapConfig(shapConfig.let(ClarifyShapConfigProperty.Companion::unwrap)) } /** @@ -3331,7 +3331,7 @@ public open class CfnEndpointConfig( * algorithm. */ override fun shapBaselineConfig(shapBaselineConfig: IResolvable) { - cdkBuilder.shapBaselineConfig(shapBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.shapBaselineConfig(shapBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3339,7 +3339,7 @@ public open class CfnEndpointConfig( * algorithm. */ override fun shapBaselineConfig(shapBaselineConfig: ClarifyShapBaselineConfigProperty) { - cdkBuilder.shapBaselineConfig(shapBaselineConfig.let(ClarifyShapBaselineConfigProperty::unwrap)) + cdkBuilder.shapBaselineConfig(shapBaselineConfig.let(ClarifyShapBaselineConfigProperty.Companion::unwrap)) } /** @@ -3358,7 +3358,7 @@ public open class CfnEndpointConfig( * Required for natural language processing (NLP) explainability only. */ override fun textConfig(textConfig: IResolvable) { - cdkBuilder.textConfig(textConfig.let(IResolvable::unwrap)) + cdkBuilder.textConfig(textConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3367,7 +3367,7 @@ public open class CfnEndpointConfig( * Required for natural language processing (NLP) explainability only. */ override fun textConfig(textConfig: ClarifyTextConfigProperty) { - cdkBuilder.textConfig(textConfig.let(ClarifyTextConfigProperty::unwrap)) + cdkBuilder.textConfig(textConfig.let(ClarifyTextConfigProperty.Companion::unwrap)) } /** @@ -3395,7 +3395,7 @@ public open class CfnEndpointConfig( * Defaults to false. */ override fun useLogit(useLogit: IResolvable) { - cdkBuilder.useLogit(useLogit.let(IResolvable::unwrap)) + cdkBuilder.useLogit(useLogit.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -3804,7 +3804,7 @@ public open class CfnEndpointConfig( * captures. */ override fun captureContentTypeHeader(captureContentTypeHeader: IResolvable) { - cdkBuilder.captureContentTypeHeader(captureContentTypeHeader.let(IResolvable::unwrap)) + cdkBuilder.captureContentTypeHeader(captureContentTypeHeader.let(IResolvable.Companion::unwrap)) } /** @@ -3813,7 +3813,7 @@ public open class CfnEndpointConfig( */ override fun captureContentTypeHeader(captureContentTypeHeader: CaptureContentTypeHeaderProperty) { - cdkBuilder.captureContentTypeHeader(captureContentTypeHeader.let(CaptureContentTypeHeaderProperty::unwrap)) + cdkBuilder.captureContentTypeHeader(captureContentTypeHeader.let(CaptureContentTypeHeaderProperty.Companion::unwrap)) } /** @@ -3832,7 +3832,7 @@ public open class CfnEndpointConfig( * output data from your model, or both. */ override fun captureOptions(captureOptions: IResolvable) { - cdkBuilder.captureOptions(captureOptions.let(IResolvable::unwrap)) + cdkBuilder.captureOptions(captureOptions.let(IResolvable.Companion::unwrap)) } /** @@ -3868,7 +3868,7 @@ public open class CfnEndpointConfig( * @param enableCapture Set to `True` to enable data capture. */ override fun enableCapture(enableCapture: IResolvable) { - cdkBuilder.enableCapture(enableCapture.let(IResolvable::unwrap)) + cdkBuilder.enableCapture(enableCapture.let(IResolvable.Companion::unwrap)) } /** @@ -4078,7 +4078,7 @@ public open class CfnEndpointConfig( * parameters for the SageMaker Clarify explainer. */ override fun clarifyExplainerConfig(clarifyExplainerConfig: IResolvable) { - cdkBuilder.clarifyExplainerConfig(clarifyExplainerConfig.let(IResolvable::unwrap)) + cdkBuilder.clarifyExplainerConfig(clarifyExplainerConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4086,7 +4086,7 @@ public open class CfnEndpointConfig( * parameters for the SageMaker Clarify explainer. */ override fun clarifyExplainerConfig(clarifyExplainerConfig: ClarifyExplainerConfigProperty) { - cdkBuilder.clarifyExplainerConfig(clarifyExplainerConfig.let(ClarifyExplainerConfigProperty::unwrap)) + cdkBuilder.clarifyExplainerConfig(clarifyExplainerConfig.let(ClarifyExplainerConfigProperty.Companion::unwrap)) } /** @@ -4619,7 +4619,7 @@ public open class CfnEndpointConfig( * creating a new endpoint configuration and calling `UpdateEndpoint` . */ override fun enableSsmAccess(enableSsmAccess: IResolvable) { - cdkBuilder.enableSsmAccess(enableSsmAccess.let(IResolvable::unwrap)) + cdkBuilder.enableSsmAccess(enableSsmAccess.let(IResolvable.Companion::unwrap)) } /** @@ -4651,14 +4651,14 @@ public open class CfnEndpointConfig( * @param managedInstanceScaling the value to be set. */ override fun managedInstanceScaling(managedInstanceScaling: IResolvable) { - cdkBuilder.managedInstanceScaling(managedInstanceScaling.let(IResolvable::unwrap)) + cdkBuilder.managedInstanceScaling(managedInstanceScaling.let(IResolvable.Companion::unwrap)) } /** * @param managedInstanceScaling the value to be set. */ override fun managedInstanceScaling(managedInstanceScaling: ManagedInstanceScalingProperty) { - cdkBuilder.managedInstanceScaling(managedInstanceScaling.let(ManagedInstanceScalingProperty::unwrap)) + cdkBuilder.managedInstanceScaling(managedInstanceScaling.let(ManagedInstanceScalingProperty.Companion::unwrap)) } /** @@ -4691,14 +4691,14 @@ public open class CfnEndpointConfig( * @param routingConfig the value to be set. */ override fun routingConfig(routingConfig: IResolvable) { - cdkBuilder.routingConfig(routingConfig.let(IResolvable::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(IResolvable.Companion::unwrap)) } /** * @param routingConfig the value to be set. */ override fun routingConfig(routingConfig: RoutingConfigProperty) { - cdkBuilder.routingConfig(routingConfig.let(RoutingConfigProperty::unwrap)) + cdkBuilder.routingConfig(routingConfig.let(RoutingConfigProperty.Companion::unwrap)) } /** @@ -4715,7 +4715,7 @@ public open class CfnEndpointConfig( * configuration. */ override fun serverlessConfig(serverlessConfig: IResolvable) { - cdkBuilder.serverlessConfig(serverlessConfig.let(IResolvable::unwrap)) + cdkBuilder.serverlessConfig(serverlessConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4724,7 +4724,7 @@ public open class CfnEndpointConfig( * configuration. */ override fun serverlessConfig(serverlessConfig: ServerlessConfigProperty) { - cdkBuilder.serverlessConfig(serverlessConfig.let(ServerlessConfigProperty::unwrap)) + cdkBuilder.serverlessConfig(serverlessConfig.let(ServerlessConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfigProps.kt index 51591451f3..95c48f83d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointConfigProps.kt @@ -482,7 +482,7 @@ public interface CfnEndpointConfigProps { * inference. */ override fun asyncInferenceConfig(asyncInferenceConfig: IResolvable) { - cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(IResolvable::unwrap)) + cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface CfnEndpointConfigProps { */ override fun asyncInferenceConfig(asyncInferenceConfig: CfnEndpointConfig.AsyncInferenceConfigProperty) { - cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(CfnEndpointConfig.AsyncInferenceConfigProperty::unwrap)) + cdkBuilder.asyncInferenceConfig(asyncInferenceConfig.let(CfnEndpointConfig.AsyncInferenceConfigProperty.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public interface CfnEndpointConfigProps { * The data capture configuration applies to all production variants hosted at the endpoint. */ override fun dataCaptureConfig(dataCaptureConfig: IResolvable) { - cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(IResolvable::unwrap)) + cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(IResolvable.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public interface CfnEndpointConfigProps { * The data capture configuration applies to all production variants hosted at the endpoint. */ override fun dataCaptureConfig(dataCaptureConfig: CfnEndpointConfig.DataCaptureConfigProperty) { - cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(CfnEndpointConfig.DataCaptureConfigProperty::unwrap)) + cdkBuilder.dataCaptureConfig(dataCaptureConfig.let(CfnEndpointConfig.DataCaptureConfigProperty.Companion::unwrap)) } /** @@ -542,7 +542,7 @@ public interface CfnEndpointConfigProps { * @param enableNetworkIsolation the value to be set. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -563,14 +563,14 @@ public interface CfnEndpointConfigProps { * @param explainerConfig A parameter to activate explainers. */ override fun explainerConfig(explainerConfig: IResolvable) { - cdkBuilder.explainerConfig(explainerConfig.let(IResolvable::unwrap)) + cdkBuilder.explainerConfig(explainerConfig.let(IResolvable.Companion::unwrap)) } /** * @param explainerConfig A parameter to activate explainers. */ override fun explainerConfig(explainerConfig: CfnEndpointConfig.ExplainerConfigProperty) { - cdkBuilder.explainerConfig(explainerConfig.let(CfnEndpointConfig.ExplainerConfigProperty::unwrap)) + cdkBuilder.explainerConfig(explainerConfig.let(CfnEndpointConfig.ExplainerConfigProperty.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface CfnEndpointConfigProps { * want to host at this endpoint. */ override fun productionVariants(productionVariants: IResolvable) { - cdkBuilder.productionVariants(productionVariants.let(IResolvable::unwrap)) + cdkBuilder.productionVariants(productionVariants.let(IResolvable.Companion::unwrap)) } /** @@ -646,7 +646,7 @@ public interface CfnEndpointConfigProps { * `ShadowProductionVariants` . */ override fun shadowProductionVariants(shadowProductionVariants: IResolvable) { - cdkBuilder.shadowProductionVariants(shadowProductionVariants.let(IResolvable::unwrap)) + cdkBuilder.shadowProductionVariants(shadowProductionVariants.let(IResolvable.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public interface CfnEndpointConfigProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -696,14 +696,14 @@ public interface CfnEndpointConfigProps { * @param vpcConfig the value to be set. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfig the value to be set. */ override fun vpcConfig(vpcConfig: CfnEndpointConfig.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnEndpointConfig.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnEndpointConfig.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointProps.kt index 32346e7b63..51f57010b9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnEndpointProps.kt @@ -297,7 +297,7 @@ public interface CfnEndpointProps { * desired deployment strategy and rollback configurations. */ override fun deploymentConfig(deploymentConfig: IResolvable) { - cdkBuilder.deploymentConfig(deploymentConfig.let(IResolvable::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(IResolvable.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface CfnEndpointProps { * desired deployment strategy and rollback configurations. */ override fun deploymentConfig(deploymentConfig: CfnEndpoint.DeploymentConfigProperty) { - cdkBuilder.deploymentConfig(deploymentConfig.let(CfnEndpoint.DeploymentConfigProperty::unwrap)) + cdkBuilder.deploymentConfig(deploymentConfig.let(CfnEndpoint.DeploymentConfigProperty.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface CfnEndpointProps { * when creating new endpoint resources or when `RetainAllVariantProperties` is set to `false` . */ override fun excludeRetainedVariantProperties(excludeRetainedVariantProperties: IResolvable) { - cdkBuilder.excludeRetainedVariantProperties(excludeRetainedVariantProperties.let(IResolvable::unwrap)) + cdkBuilder.excludeRetainedVariantProperties(excludeRetainedVariantProperties.let(IResolvable.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public interface CfnEndpointProps { * resources. */ override fun retainAllVariantProperties(retainAllVariantProperties: IResolvable) { - cdkBuilder.retainAllVariantProperties(retainAllVariantProperties.let(IResolvable::unwrap)) + cdkBuilder.retainAllVariantProperties(retainAllVariantProperties.let(IResolvable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface CfnEndpointProps { * The default value is false (the configuration is not reused). */ override fun retainDeploymentConfig(retainDeploymentConfig: IResolvable) { - cdkBuilder.retainDeploymentConfig(retainDeploymentConfig.let(IResolvable::unwrap)) + cdkBuilder.retainDeploymentConfig(retainDeploymentConfig.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface CfnEndpointProps { * in the *AWS Billing and Cost Management User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroup.kt index c14621fe86..1fd1b90751 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroup.kt @@ -82,8 +82,8 @@ public open class CfnFeatureGroup( id: String, props: CfnFeatureGroupProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnFeatureGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFeatureGroupProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnFeatureGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFeatureGroupProps.Companion::unwrap)) ) public constructor( @@ -140,7 +140,7 @@ public open class CfnFeatureGroup( * Each `Feature` must include a `FeatureName` and a `FeatureType` . */ public open fun featureDefinitions(`value`: IResolvable) { - unwrap(this).setFeatureDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setFeatureDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public open class CfnFeatureGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public open class CfnFeatureGroup( * Tags used to define a `FeatureGroup` . */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -264,14 +264,14 @@ public open class CfnFeatureGroup( * Used to set feature group throughput configuration. */ public open fun throughputConfig(`value`: IResolvable) { - unwrap(this).setThroughputConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setThroughputConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Used to set feature group throughput configuration. */ public open fun throughputConfig(`value`: ThroughputConfigProperty) { - unwrap(this).setThroughputConfig(`value`.let(ThroughputConfigProperty::unwrap)) + unwrap(this).setThroughputConfig(`value`.let(ThroughputConfigProperty.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public open class CfnFeatureGroup( * and a `FeatureType` . */ override fun featureDefinitions(featureDefinitions: IResolvable) { - cdkBuilder.featureDefinitions(featureDefinitions.let(IResolvable::unwrap)) + cdkBuilder.featureDefinitions(featureDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnFeatureGroup( * @param tags Tags used to define a `FeatureGroup` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class CfnFeatureGroup( * @param throughputConfig Used to set feature group throughput configuration. */ override fun throughputConfig(throughputConfig: IResolvable) { - cdkBuilder.throughputConfig(throughputConfig.let(IResolvable::unwrap)) + cdkBuilder.throughputConfig(throughputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CfnFeatureGroup( * @param throughputConfig Used to set feature group throughput configuration. */ override fun throughputConfig(throughputConfig: ThroughputConfigProperty) { - cdkBuilder.throughputConfig(throughputConfig.let(ThroughputConfigProperty::unwrap)) + cdkBuilder.throughputConfig(throughputConfig.let(ThroughputConfigProperty.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class CfnFeatureGroup( * `OfflineStore` is created. */ override fun dataCatalogConfig(dataCatalogConfig: IResolvable) { - cdkBuilder.dataCatalogConfig(dataCatalogConfig.let(IResolvable::unwrap)) + cdkBuilder.dataCatalogConfig(dataCatalogConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1186,7 +1186,7 @@ public open class CfnFeatureGroup( * `OfflineStore` is created. */ override fun dataCatalogConfig(dataCatalogConfig: DataCatalogConfigProperty) { - cdkBuilder.dataCatalogConfig(dataCatalogConfig.let(DataCatalogConfigProperty::unwrap)) + cdkBuilder.dataCatalogConfig(dataCatalogConfig.let(DataCatalogConfigProperty.Companion::unwrap)) } /** @@ -1224,21 +1224,21 @@ public open class CfnFeatureGroup( * The default value is `False` . */ override fun disableGlueTableCreation(disableGlueTableCreation: IResolvable) { - cdkBuilder.disableGlueTableCreation(disableGlueTableCreation.let(IResolvable::unwrap)) + cdkBuilder.disableGlueTableCreation(disableGlueTableCreation.let(IResolvable.Companion::unwrap)) } /** * @param s3StorageConfig The Amazon Simple Storage (Amazon S3) location of `OfflineStore` . */ override fun s3StorageConfig(s3StorageConfig: IResolvable) { - cdkBuilder.s3StorageConfig(s3StorageConfig.let(IResolvable::unwrap)) + cdkBuilder.s3StorageConfig(s3StorageConfig.let(IResolvable.Companion::unwrap)) } /** * @param s3StorageConfig The Amazon Simple Storage (Amazon S3) location of `OfflineStore` . */ override fun s3StorageConfig(s3StorageConfig: S3StorageConfigProperty) { - cdkBuilder.s3StorageConfig(s3StorageConfig.let(S3StorageConfigProperty::unwrap)) + cdkBuilder.s3StorageConfig(s3StorageConfig.let(S3StorageConfigProperty.Companion::unwrap)) } /** @@ -1503,7 +1503,7 @@ public open class CfnFeatureGroup( * The default value is `False` . */ override fun enableOnlineStore(enableOnlineStore: IResolvable) { - cdkBuilder.enableOnlineStore(enableOnlineStore.let(IResolvable::unwrap)) + cdkBuilder.enableOnlineStore(enableOnlineStore.let(IResolvable.Companion::unwrap)) } /** @@ -1511,7 +1511,7 @@ public open class CfnFeatureGroup( * your `OnlineStore` . */ override fun securityConfig(securityConfig: IResolvable) { - cdkBuilder.securityConfig(securityConfig.let(IResolvable::unwrap)) + cdkBuilder.securityConfig(securityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1519,7 +1519,7 @@ public open class CfnFeatureGroup( * your `OnlineStore` . */ override fun securityConfig(securityConfig: OnlineStoreSecurityConfigProperty) { - cdkBuilder.securityConfig(securityConfig.let(OnlineStoreSecurityConfigProperty::unwrap)) + cdkBuilder.securityConfig(securityConfig.let(OnlineStoreSecurityConfigProperty.Companion::unwrap)) } /** @@ -1551,7 +1551,7 @@ public open class CfnFeatureGroup( * API in the Amazon SageMaker API Reference guide. */ override fun ttlDuration(ttlDuration: IResolvable) { - cdkBuilder.ttlDuration(ttlDuration.let(IResolvable::unwrap)) + cdkBuilder.ttlDuration(ttlDuration.let(IResolvable.Companion::unwrap)) } /** @@ -1562,7 +1562,7 @@ public open class CfnFeatureGroup( * API in the Amazon SageMaker API Reference guide. */ override fun ttlDuration(ttlDuration: TtlDurationProperty) { - cdkBuilder.ttlDuration(ttlDuration.let(TtlDurationProperty::unwrap)) + cdkBuilder.ttlDuration(ttlDuration.let(TtlDurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroupProps.kt index 6094995cc9..c1a11ca447 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnFeatureGroupProps.kt @@ -328,7 +328,7 @@ public interface CfnFeatureGroupProps { * You can create up to 2,500 `FeatureDefinition` s per `FeatureGroup` . */ override fun featureDefinitions(featureDefinitions: IResolvable) { - cdkBuilder.featureDefinitions(featureDefinitions.let(IResolvable::unwrap)) + cdkBuilder.featureDefinitions(featureDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface CfnFeatureGroupProps { * @param tags Tags used to define a `FeatureGroup` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface CfnFeatureGroupProps { * tier online store. */ override fun throughputConfig(throughputConfig: IResolvable) { - cdkBuilder.throughputConfig(throughputConfig.let(IResolvable::unwrap)) + cdkBuilder.throughputConfig(throughputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public interface CfnFeatureGroupProps { * tier online store. */ override fun throughputConfig(throughputConfig: CfnFeatureGroup.ThroughputConfigProperty) { - cdkBuilder.throughputConfig(throughputConfig.let(CfnFeatureGroup.ThroughputConfigProperty::unwrap)) + cdkBuilder.throughputConfig(throughputConfig.let(CfnFeatureGroup.ThroughputConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImage.kt index 6b00fcb014..ae1a520616 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImage.kt @@ -51,8 +51,8 @@ public open class CfnImage( id: String, props: CfnImageProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnImage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnImageProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnImage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnImageProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CfnImage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnImage( * A list of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnImage( * @param tags A list of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageProps.kt index ba3ce5cead..ed705e3e7c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageProps.kt @@ -180,7 +180,7 @@ public interface CfnImageProps { * *Array Members* : Minimum number of 0 items. Maximum number of 50 items. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersion.kt index 6e15aacf2a..810187bff0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersion.kt @@ -69,8 +69,8 @@ public open class CfnImageVersion( id: String, props: CfnImageVersionProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnImageVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnImageVersionProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnImageVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnImageVersionProps.Companion::unwrap)) ) public constructor( @@ -164,7 +164,7 @@ public open class CfnImageVersion( * Indicates Horovod compatibility. */ public open fun horovod(`value`: IResolvable) { - unwrap(this).setHorovod(`value`.let(IResolvable::unwrap)) + unwrap(this).setHorovod(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnImageVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class CfnImageVersion( * @param horovod Indicates Horovod compatibility. */ override fun horovod(horovod: IResolvable) { - cdkBuilder.horovod(horovod.let(IResolvable::unwrap)) + cdkBuilder.horovod(horovod.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersionProps.kt index deab5dfa70..d553439d0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnImageVersionProps.kt @@ -236,7 +236,7 @@ public interface CfnImageVersionProps { * @param horovod Indicates Horovod compatibility. */ override fun horovod(horovod: IResolvable) { - cdkBuilder.horovod(horovod.let(IResolvable::unwrap)) + cdkBuilder.horovod(horovod.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponent.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponent.kt index 8200d3b4be..e658053fab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponent.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponent.kt @@ -93,8 +93,8 @@ public open class CfnInferenceComponent( id: String, props: CfnInferenceComponentProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnInferenceComponent(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInferenceComponentProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnInferenceComponent(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInferenceComponentProps.Companion::unwrap)) ) public constructor( @@ -197,7 +197,7 @@ public open class CfnInferenceComponent( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public open class CfnInferenceComponent( * The runtime config for the inference component. */ public open fun runtimeConfig(`value`: IResolvable) { - unwrap(this).setRuntimeConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRuntimeConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The runtime config for the inference component. */ public open fun runtimeConfig(`value`: InferenceComponentRuntimeConfigProperty) { - unwrap(this).setRuntimeConfig(`value`.let(InferenceComponentRuntimeConfigProperty::unwrap)) + unwrap(this).setRuntimeConfig(`value`.let(InferenceComponentRuntimeConfigProperty.Companion::unwrap)) } /** @@ -237,14 +237,14 @@ public open class CfnInferenceComponent( * The specification for the inference component. */ public open fun specification(`value`: IResolvable) { - unwrap(this).setSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * The specification for the inference component. */ public open fun specification(`value`: InferenceComponentSpecificationProperty) { - unwrap(this).setSpecification(`value`.let(InferenceComponentSpecificationProperty::unwrap)) + unwrap(this).setSpecification(`value`.let(InferenceComponentSpecificationProperty.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnInferenceComponent( * An array of tags to apply to the resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class CfnInferenceComponent( * @param runtimeConfig The runtime config for the inference component. */ override fun runtimeConfig(runtimeConfig: IResolvable) { - cdkBuilder.runtimeConfig(runtimeConfig.let(IResolvable::unwrap)) + cdkBuilder.runtimeConfig(runtimeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class CfnInferenceComponent( * @param runtimeConfig The runtime config for the inference component. */ override fun runtimeConfig(runtimeConfig: InferenceComponentRuntimeConfigProperty) { - cdkBuilder.runtimeConfig(runtimeConfig.let(InferenceComponentRuntimeConfigProperty::unwrap)) + cdkBuilder.runtimeConfig(runtimeConfig.let(InferenceComponentRuntimeConfigProperty.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class CfnInferenceComponent( * @param specification The specification for the inference component. */ override fun specification(specification: IResolvable) { - cdkBuilder.specification(specification.let(IResolvable::unwrap)) + cdkBuilder.specification(specification.let(IResolvable.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class CfnInferenceComponent( * @param specification The specification for the inference component. */ override fun specification(specification: InferenceComponentSpecificationProperty) { - cdkBuilder.specification(specification.let(InferenceComponentSpecificationProperty::unwrap)) + cdkBuilder.specification(specification.let(InferenceComponentSpecificationProperty.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class CfnInferenceComponent( * @param tags An array of tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1020,14 +1020,14 @@ public open class CfnInferenceComponent( * @param deployedImage the value to be set. */ override fun deployedImage(deployedImage: IResolvable) { - cdkBuilder.deployedImage(deployedImage.let(IResolvable::unwrap)) + cdkBuilder.deployedImage(deployedImage.let(IResolvable.Companion::unwrap)) } /** * @param deployedImage the value to be set. */ override fun deployedImage(deployedImage: DeployedImageProperty) { - cdkBuilder.deployedImage(deployedImage.let(DeployedImageProperty::unwrap)) + cdkBuilder.deployedImage(deployedImage.let(DeployedImageProperty.Companion::unwrap)) } /** @@ -1044,7 +1044,7 @@ public open class CfnInferenceComponent( * We support up to 16 entries in the map. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -1431,7 +1431,7 @@ public open class CfnInferenceComponent( * assigned to the inference component. */ override fun computeResourceRequirements(computeResourceRequirements: IResolvable) { - cdkBuilder.computeResourceRequirements(computeResourceRequirements.let(IResolvable::unwrap)) + cdkBuilder.computeResourceRequirements(computeResourceRequirements.let(IResolvable.Companion::unwrap)) } /** @@ -1440,7 +1440,7 @@ public open class CfnInferenceComponent( */ override fun computeResourceRequirements(computeResourceRequirements: InferenceComponentComputeResourceRequirementsProperty) { - cdkBuilder.computeResourceRequirements(computeResourceRequirements.let(InferenceComponentComputeResourceRequirementsProperty::unwrap)) + cdkBuilder.computeResourceRequirements(computeResourceRequirements.let(InferenceComponentComputeResourceRequirementsProperty.Companion::unwrap)) } /** @@ -1459,7 +1459,7 @@ public open class CfnInferenceComponent( * you deploy with an inference component. */ override fun container(container: IResolvable) { - cdkBuilder.container(container.let(IResolvable::unwrap)) + cdkBuilder.container(container.let(IResolvable.Companion::unwrap)) } /** @@ -1467,7 +1467,7 @@ public open class CfnInferenceComponent( * you deploy with an inference component. */ override fun container(container: InferenceComponentContainerSpecificationProperty) { - cdkBuilder.container(container.let(InferenceComponentContainerSpecificationProperty::unwrap)) + cdkBuilder.container(container.let(InferenceComponentContainerSpecificationProperty.Companion::unwrap)) } /** @@ -1492,7 +1492,7 @@ public open class CfnInferenceComponent( * @param startupParameters Settings that take effect while the model container starts up. */ override fun startupParameters(startupParameters: IResolvable) { - cdkBuilder.startupParameters(startupParameters.let(IResolvable::unwrap)) + cdkBuilder.startupParameters(startupParameters.let(IResolvable.Companion::unwrap)) } /** @@ -1500,7 +1500,7 @@ public open class CfnInferenceComponent( */ override fun startupParameters(startupParameters: InferenceComponentStartupParametersProperty) { - cdkBuilder.startupParameters(startupParameters.let(InferenceComponentStartupParametersProperty::unwrap)) + cdkBuilder.startupParameters(startupParameters.let(InferenceComponentStartupParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponentProps.kt index 04323dfdc9..ad06d36f71 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceComponentProps.kt @@ -223,7 +223,7 @@ public interface CfnInferenceComponentProps { * @param runtimeConfig The runtime config for the inference component. */ override fun runtimeConfig(runtimeConfig: IResolvable) { - cdkBuilder.runtimeConfig(runtimeConfig.let(IResolvable::unwrap)) + cdkBuilder.runtimeConfig(runtimeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface CfnInferenceComponentProps { */ override fun runtimeConfig(runtimeConfig: CfnInferenceComponent.InferenceComponentRuntimeConfigProperty) { - cdkBuilder.runtimeConfig(runtimeConfig.let(CfnInferenceComponent.InferenceComponentRuntimeConfigProperty::unwrap)) + cdkBuilder.runtimeConfig(runtimeConfig.let(CfnInferenceComponent.InferenceComponentRuntimeConfigProperty.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface CfnInferenceComponentProps { * @param specification The specification for the inference component. */ override fun specification(specification: IResolvable) { - cdkBuilder.specification(specification.let(IResolvable::unwrap)) + cdkBuilder.specification(specification.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnInferenceComponentProps { */ override fun specification(specification: CfnInferenceComponent.InferenceComponentSpecificationProperty) { - cdkBuilder.specification(specification.let(CfnInferenceComponent.InferenceComponentSpecificationProperty::unwrap)) + cdkBuilder.specification(specification.let(CfnInferenceComponent.InferenceComponentSpecificationProperty.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public interface CfnInferenceComponentProps { * @param tags An array of tags to apply to the resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperiment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperiment.kt index 29352a2b9a..c845916441 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperiment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperiment.kt @@ -100,8 +100,8 @@ public open class CfnInferenceExperiment( id: String, props: CfnInferenceExperimentProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInferenceExperimentProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInferenceExperimentProps.Companion::unwrap)) ) public constructor( @@ -177,14 +177,14 @@ public open class CfnInferenceExperiment( * The Amazon S3 location and configuration for storing inference request and response data. */ public open fun dataStorageConfig(`value`: IResolvable) { - unwrap(this).setDataStorageConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDataStorageConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The Amazon S3 location and configuration for storing inference request and response data. */ public open fun dataStorageConfig(`value`: DataStorageConfigProperty) { - unwrap(this).setDataStorageConfig(`value`.let(DataStorageConfigProperty::unwrap)) + unwrap(this).setDataStorageConfig(`value`.let(DataStorageConfigProperty.Companion::unwrap)) } /** @@ -241,7 +241,7 @@ public open class CfnInferenceExperiment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class CfnInferenceExperiment( * An array of `ModelVariantConfigSummary` objects. */ public open fun modelVariants(`value`: IResolvable) { - unwrap(this).setModelVariants(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelVariants(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -317,14 +317,14 @@ public open class CfnInferenceExperiment( * The duration for which the inference experiment ran or will run. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** * The duration for which the inference experiment ran or will run. */ public open fun schedule(`value`: InferenceExperimentScheduleProperty) { - unwrap(this).setSchedule(`value`.let(InferenceExperimentScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(InferenceExperimentScheduleProperty.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnInferenceExperiment( * a percentage of the inference requests. */ public open fun shadowModeConfig(`value`: IResolvable) { - unwrap(this).setShadowModeConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setShadowModeConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public open class CfnInferenceExperiment( * a percentage of the inference requests. */ public open fun shadowModeConfig(`value`: ShadowModeConfigProperty) { - unwrap(this).setShadowModeConfig(`value`.let(ShadowModeConfigProperty::unwrap)) + unwrap(this).setShadowModeConfig(`value`.let(ShadowModeConfigProperty.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CfnInferenceExperiment( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public open class CfnInferenceExperiment( * request and response data. */ override fun dataStorageConfig(dataStorageConfig: IResolvable) { - cdkBuilder.dataStorageConfig(dataStorageConfig.let(IResolvable::unwrap)) + cdkBuilder.dataStorageConfig(dataStorageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -690,7 +690,7 @@ public open class CfnInferenceExperiment( * request and response data. */ override fun dataStorageConfig(dataStorageConfig: DataStorageConfigProperty) { - cdkBuilder.dataStorageConfig(dataStorageConfig.let(DataStorageConfigProperty::unwrap)) + cdkBuilder.dataStorageConfig(dataStorageConfig.let(DataStorageConfigProperty.Companion::unwrap)) } /** @@ -762,7 +762,7 @@ public open class CfnInferenceExperiment( * @param modelVariants An array of `ModelVariantConfigSummary` objects. */ override fun modelVariants(modelVariants: IResolvable) { - cdkBuilder.modelVariants(modelVariants.let(IResolvable::unwrap)) + cdkBuilder.modelVariants(modelVariants.let(IResolvable.Companion::unwrap)) } /** @@ -824,7 +824,7 @@ public open class CfnInferenceExperiment( * @param schedule The duration for which the inference experiment ran or will run. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -836,7 +836,7 @@ public open class CfnInferenceExperiment( * @param schedule The duration for which the inference experiment ran or will run. */ override fun schedule(schedule: InferenceExperimentScheduleProperty) { - cdkBuilder.schedule(schedule.let(InferenceExperimentScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(InferenceExperimentScheduleProperty.Companion::unwrap)) } /** @@ -866,7 +866,7 @@ public open class CfnInferenceExperiment( * which Amazon SageMaker replicates a percentage of the inference requests. */ override fun shadowModeConfig(shadowModeConfig: IResolvable) { - cdkBuilder.shadowModeConfig(shadowModeConfig.let(IResolvable::unwrap)) + cdkBuilder.shadowModeConfig(shadowModeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -883,7 +883,7 @@ public open class CfnInferenceExperiment( * which Amazon SageMaker replicates a percentage of the inference requests. */ override fun shadowModeConfig(shadowModeConfig: ShadowModeConfigProperty) { - cdkBuilder.shadowModeConfig(shadowModeConfig.let(ShadowModeConfigProperty::unwrap)) + cdkBuilder.shadowModeConfig(shadowModeConfig.let(ShadowModeConfigProperty.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public open class CfnInferenceExperiment( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1227,7 +1227,7 @@ public open class CfnInferenceExperiment( * data. */ override fun contentType(contentType: IResolvable) { - cdkBuilder.contentType(contentType.let(IResolvable::unwrap)) + cdkBuilder.contentType(contentType.let(IResolvable.Companion::unwrap)) } /** @@ -1236,7 +1236,7 @@ public open class CfnInferenceExperiment( * data. */ override fun contentType(contentType: CaptureContentTypeHeaderProperty) { - cdkBuilder.contentType(contentType.let(CaptureContentTypeHeaderProperty::unwrap)) + cdkBuilder.contentType(contentType.let(CaptureContentTypeHeaderProperty.Companion::unwrap)) } /** @@ -1673,7 +1673,7 @@ public open class CfnInferenceExperiment( * real-time inference. */ override fun realTimeInferenceConfig(realTimeInferenceConfig: IResolvable) { - cdkBuilder.realTimeInferenceConfig(realTimeInferenceConfig.let(IResolvable::unwrap)) + cdkBuilder.realTimeInferenceConfig(realTimeInferenceConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1682,7 +1682,7 @@ public open class CfnInferenceExperiment( */ override fun realTimeInferenceConfig(realTimeInferenceConfig: RealTimeInferenceConfigProperty) { - cdkBuilder.realTimeInferenceConfig(realTimeInferenceConfig.let(RealTimeInferenceConfigProperty::unwrap)) + cdkBuilder.realTimeInferenceConfig(realTimeInferenceConfig.let(RealTimeInferenceConfigProperty.Companion::unwrap)) } /** @@ -1833,7 +1833,7 @@ public open class CfnInferenceExperiment( * deployed to. */ override fun infrastructureConfig(infrastructureConfig: IResolvable) { - cdkBuilder.infrastructureConfig(infrastructureConfig.let(IResolvable::unwrap)) + cdkBuilder.infrastructureConfig(infrastructureConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1841,7 +1841,7 @@ public open class CfnInferenceExperiment( * deployed to. */ override fun infrastructureConfig(infrastructureConfig: ModelInfrastructureConfigProperty) { - cdkBuilder.infrastructureConfig(infrastructureConfig.let(ModelInfrastructureConfigProperty::unwrap)) + cdkBuilder.infrastructureConfig(infrastructureConfig.let(ModelInfrastructureConfigProperty.Companion::unwrap)) } /** @@ -2103,7 +2103,7 @@ public open class CfnInferenceExperiment( * @param shadowModelVariants List of shadow variant configurations. */ override fun shadowModelVariants(shadowModelVariants: IResolvable) { - cdkBuilder.shadowModelVariants(shadowModelVariants.let(IResolvable::unwrap)) + cdkBuilder.shadowModelVariants(shadowModelVariants.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperimentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperimentProps.kt index b7d4c071ce..d5dfe67750 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperimentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnInferenceExperimentProps.kt @@ -359,7 +359,7 @@ public interface CfnInferenceExperimentProps { * request and response data. */ override fun dataStorageConfig(dataStorageConfig: IResolvable) { - cdkBuilder.dataStorageConfig(dataStorageConfig.let(IResolvable::unwrap)) + cdkBuilder.dataStorageConfig(dataStorageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public interface CfnInferenceExperimentProps { */ override fun dataStorageConfig(dataStorageConfig: CfnInferenceExperiment.DataStorageConfigProperty) { - cdkBuilder.dataStorageConfig(dataStorageConfig.let(CfnInferenceExperiment.DataStorageConfigProperty::unwrap)) + cdkBuilder.dataStorageConfig(dataStorageConfig.let(CfnInferenceExperiment.DataStorageConfigProperty.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public interface CfnInferenceExperimentProps { * variant. */ override fun modelVariants(modelVariants: IResolvable) { - cdkBuilder.modelVariants(modelVariants.let(IResolvable::unwrap)) + cdkBuilder.modelVariants(modelVariants.let(IResolvable.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface CfnInferenceExperimentProps { * The maximum duration that you can set for an inference experiment is 30 days. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public interface CfnInferenceExperimentProps { * The maximum duration that you can set for an inference experiment is 30 days. */ override fun schedule(schedule: CfnInferenceExperiment.InferenceExperimentScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnInferenceExperiment.InferenceExperimentScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnInferenceExperiment.InferenceExperimentScheduleProperty.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public interface CfnInferenceExperimentProps { * replicates. */ override fun shadowModeConfig(shadowModeConfig: IResolvable) { - cdkBuilder.shadowModeConfig(shadowModeConfig.let(IResolvable::unwrap)) + cdkBuilder.shadowModeConfig(shadowModeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public interface CfnInferenceExperimentProps { */ override fun shadowModeConfig(shadowModeConfig: CfnInferenceExperiment.ShadowModeConfigProperty) { - cdkBuilder.shadowModeConfig(shadowModeConfig.let(CfnInferenceExperiment.ShadowModeConfigProperty::unwrap)) + cdkBuilder.shadowModeConfig(shadowModeConfig.let(CfnInferenceExperiment.ShadowModeConfigProperty.Companion::unwrap)) } /** @@ -535,7 +535,7 @@ public interface CfnInferenceExperimentProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModel.kt index 36f2de1a3a..c03dee5fa4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModel.kt @@ -119,7 +119,7 @@ public open class CfnModel( cdkObject: software.amazon.awscdk.services.sagemaker.CfnModel, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sagemaker.CfnModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sagemaker.CfnModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -128,8 +128,8 @@ public open class CfnModel( id: String, props: CfnModelProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelProps.Companion::unwrap)) ) public constructor( @@ -158,7 +158,7 @@ public open class CfnModel( * Specifies the containers in the inference pipeline. */ public open fun containers(`value`: IResolvable) { - unwrap(this).setContainers(`value`.let(IResolvable::unwrap)) + unwrap(this).setContainers(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class CfnModel( * Isolates the model container. */ public open fun enableNetworkIsolation(`value`: IResolvable) { - unwrap(this).setEnableNetworkIsolation(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableNetworkIsolation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -215,14 +215,14 @@ public open class CfnModel( * Specifies details of how containers in a multi-container endpoint are called. */ public open fun inferenceExecutionConfig(`value`: IResolvable) { - unwrap(this).setInferenceExecutionConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setInferenceExecutionConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies details of how containers in a multi-container endpoint are called. */ public open fun inferenceExecutionConfig(`value`: InferenceExecutionConfigProperty) { - unwrap(this).setInferenceExecutionConfig(`value`.let(InferenceExecutionConfigProperty::unwrap)) + unwrap(this).setInferenceExecutionConfig(`value`.let(InferenceExecutionConfigProperty.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnModel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnModel( * custom environment map that the inference code uses when the model is deployed for predictions. */ public open fun primaryContainer(`value`: IResolvable) { - unwrap(this).setPrimaryContainer(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrimaryContainer(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class CfnModel( * custom environment map that the inference code uses when the model is deployed for predictions. */ public open fun primaryContainer(`value`: ContainerDefinitionProperty) { - unwrap(this).setPrimaryContainer(`value`.let(ContainerDefinitionProperty::unwrap)) + unwrap(this).setPrimaryContainer(`value`.let(ContainerDefinitionProperty.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnModel( * A list of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CfnModel( * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html) . */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class CfnModel( * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html) . */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnModel( * @param containers Specifies the containers in the inference pipeline. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class CfnModel( * @param enableNetworkIsolation Isolates the model container. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnModel( * endpoint are called. */ override fun inferenceExecutionConfig(inferenceExecutionConfig: IResolvable) { - cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(IResolvable::unwrap)) + cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class CfnModel( */ override fun inferenceExecutionConfig(inferenceExecutionConfig: InferenceExecutionConfigProperty) { - cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(InferenceExecutionConfigProperty::unwrap)) + cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(InferenceExecutionConfigProperty.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class CfnModel( * deployed for predictions. */ override fun primaryContainer(primaryContainer: IResolvable) { - cdkBuilder.primaryContainer(primaryContainer.let(IResolvable::unwrap)) + cdkBuilder.primaryContainer(primaryContainer.let(IResolvable.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnModel( * deployed for predictions. */ override fun primaryContainer(primaryContainer: ContainerDefinitionProperty) { - cdkBuilder.primaryContainer(primaryContainer.let(ContainerDefinitionProperty::unwrap)) + cdkBuilder.primaryContainer(primaryContainer.let(ContainerDefinitionProperty.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class CfnModel( * @param tags A list of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -811,7 +811,7 @@ public open class CfnModel( * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html) . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnModel( * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html) . */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -1315,7 +1315,7 @@ public open class CfnModel( * creating. */ override fun imageConfig(imageConfig: IResolvable) { - cdkBuilder.imageConfig(imageConfig.let(IResolvable::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1332,7 +1332,7 @@ public open class CfnModel( * creating. */ override fun imageConfig(imageConfig: ImageConfigProperty) { - cdkBuilder.imageConfig(imageConfig.let(ImageConfigProperty::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(ImageConfigProperty.Companion::unwrap)) } /** @@ -1375,7 +1375,7 @@ public open class CfnModel( * SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker Marketplace. */ override fun modelDataSource(modelDataSource: IResolvable) { - cdkBuilder.modelDataSource(modelDataSource.let(IResolvable::unwrap)) + cdkBuilder.modelDataSource(modelDataSource.let(IResolvable.Companion::unwrap)) } /** @@ -1385,7 +1385,7 @@ public open class CfnModel( * SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker Marketplace. */ override fun modelDataSource(modelDataSource: ModelDataSourceProperty) { - cdkBuilder.modelDataSource(modelDataSource.let(ModelDataSourceProperty::unwrap)) + cdkBuilder.modelDataSource(modelDataSource.let(ModelDataSourceProperty.Companion::unwrap)) } /** @@ -1441,14 +1441,14 @@ public open class CfnModel( * @param multiModelConfig Specifies additional configuration for multi-model endpoints. */ override fun multiModelConfig(multiModelConfig: IResolvable) { - cdkBuilder.multiModelConfig(multiModelConfig.let(IResolvable::unwrap)) + cdkBuilder.multiModelConfig(multiModelConfig.let(IResolvable.Companion::unwrap)) } /** * @param multiModelConfig Specifies additional configuration for multi-model endpoints. */ override fun multiModelConfig(multiModelConfig: MultiModelConfigProperty) { - cdkBuilder.multiModelConfig(multiModelConfig.let(MultiModelConfigProperty::unwrap)) + cdkBuilder.multiModelConfig(multiModelConfig.let(MultiModelConfigProperty.Companion::unwrap)) } /** @@ -1736,7 +1736,7 @@ public open class CfnModel( * requires authentication. */ override fun repositoryAuthConfig(repositoryAuthConfig: IResolvable) { - cdkBuilder.repositoryAuthConfig(repositoryAuthConfig.let(IResolvable::unwrap)) + cdkBuilder.repositoryAuthConfig(repositoryAuthConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1747,7 +1747,7 @@ public open class CfnModel( * requires authentication. */ override fun repositoryAuthConfig(repositoryAuthConfig: RepositoryAuthConfigProperty) { - cdkBuilder.repositoryAuthConfig(repositoryAuthConfig.let(RepositoryAuthConfigProperty::unwrap)) + cdkBuilder.repositoryAuthConfig(repositoryAuthConfig.let(RepositoryAuthConfigProperty.Companion::unwrap)) } /** @@ -1992,7 +1992,7 @@ public open class CfnModel( * using a model. */ override fun acceptEula(acceptEula: IResolvable) { - cdkBuilder.acceptEula(acceptEula.let(IResolvable::unwrap)) + cdkBuilder.acceptEula(acceptEula.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2100,14 +2100,14 @@ public open class CfnModel( * @param s3DataSource Specifies the S3 location of ML model data to deploy. */ override fun s3DataSource(s3DataSource: IResolvable) { - cdkBuilder.s3DataSource(s3DataSource.let(IResolvable::unwrap)) + cdkBuilder.s3DataSource(s3DataSource.let(IResolvable.Companion::unwrap)) } /** * @param s3DataSource Specifies the S3 location of ML model data to deploy. */ override fun s3DataSource(s3DataSource: S3DataSourceProperty) { - cdkBuilder.s3DataSource(s3DataSource.let(S3DataSourceProperty::unwrap)) + cdkBuilder.s3DataSource(s3DataSource.let(S3DataSourceProperty.Companion::unwrap)) } /** @@ -2570,14 +2570,14 @@ public open class CfnModel( * @param modelAccessConfig the value to be set. */ override fun modelAccessConfig(modelAccessConfig: IResolvable) { - cdkBuilder.modelAccessConfig(modelAccessConfig.let(IResolvable::unwrap)) + cdkBuilder.modelAccessConfig(modelAccessConfig.let(IResolvable.Companion::unwrap)) } /** * @param modelAccessConfig the value to be set. */ override fun modelAccessConfig(modelAccessConfig: ModelAccessConfigProperty) { - cdkBuilder.modelAccessConfig(modelAccessConfig.let(ModelAccessConfigProperty::unwrap)) + cdkBuilder.modelAccessConfig(modelAccessConfig.let(ModelAccessConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinition.kt index 88bf5d0969..061d97d268 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinition.kt @@ -141,8 +141,8 @@ public open class CfnModelBiasJobDefinition( id: String, props: CfnModelBiasJobDefinitionProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelBiasJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelBiasJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -180,7 +180,7 @@ public open class CfnModelBiasJobDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -204,14 +204,14 @@ public open class CfnModelBiasJobDefinition( * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: IResolvable) { - unwrap(this).setJobResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobResources(`value`.let(IResolvable.Companion::unwrap)) } /** * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: MonitoringResourcesProperty) { - unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty::unwrap)) + unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -231,14 +231,14 @@ public open class CfnModelBiasJobDefinition( * Configures the model bias job to run a specified Docker container image. */ public open fun modelBiasAppSpecification(`value`: IResolvable) { - unwrap(this).setModelBiasAppSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelBiasAppSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures the model bias job to run a specified Docker container image. */ public open fun modelBiasAppSpecification(`value`: ModelBiasAppSpecificationProperty) { - unwrap(this).setModelBiasAppSpecification(`value`.let(ModelBiasAppSpecificationProperty::unwrap)) + unwrap(this).setModelBiasAppSpecification(`value`.let(ModelBiasAppSpecificationProperty.Companion::unwrap)) } /** @@ -259,14 +259,14 @@ public open class CfnModelBiasJobDefinition( * The baseline configuration for a model bias job. */ public open fun modelBiasBaselineConfig(`value`: IResolvable) { - unwrap(this).setModelBiasBaselineConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelBiasBaselineConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The baseline configuration for a model bias job. */ public open fun modelBiasBaselineConfig(`value`: ModelBiasBaselineConfigProperty) { - unwrap(this).setModelBiasBaselineConfig(`value`.let(ModelBiasBaselineConfigProperty::unwrap)) + unwrap(this).setModelBiasBaselineConfig(`value`.let(ModelBiasBaselineConfigProperty.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public open class CfnModelBiasJobDefinition( * Inputs for the model bias job. */ public open fun modelBiasJobInput(`value`: IResolvable) { - unwrap(this).setModelBiasJobInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelBiasJobInput(`value`.let(IResolvable.Companion::unwrap)) } /** * Inputs for the model bias job. */ public open fun modelBiasJobInput(`value`: ModelBiasJobInputProperty) { - unwrap(this).setModelBiasJobInput(`value`.let(ModelBiasJobInputProperty::unwrap)) + unwrap(this).setModelBiasJobInput(`value`.let(ModelBiasJobInputProperty.Companion::unwrap)) } /** @@ -314,14 +314,14 @@ public open class CfnModelBiasJobDefinition( * The output configuration for monitoring jobs. */ public open fun modelBiasJobOutputConfig(`value`: IResolvable) { - unwrap(this).setModelBiasJobOutputConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelBiasJobOutputConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The output configuration for monitoring jobs. */ public open fun modelBiasJobOutputConfig(`value`: MonitoringOutputConfigProperty) { - unwrap(this).setModelBiasJobOutputConfig(`value`.let(MonitoringOutputConfigProperty::unwrap)) + unwrap(this).setModelBiasJobOutputConfig(`value`.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -342,14 +342,14 @@ public open class CfnModelBiasJobDefinition( * Networking options for a model bias job. */ public open fun networkConfig(`value`: IResolvable) { - unwrap(this).setNetworkConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Networking options for a model bias job. */ public open fun networkConfig(`value`: NetworkConfigProperty) { - unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -383,14 +383,14 @@ public open class CfnModelBiasJobDefinition( * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: IResolvable) { - unwrap(this).setStoppingCondition(`value`.let(IResolvable::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(IResolvable.Companion::unwrap)) } /** * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: StoppingConditionProperty) { - unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CfnModelBiasJobDefinition( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnModelBiasJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class CfnModelBiasJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -744,7 +744,7 @@ public open class CfnModelBiasJobDefinition( * container image. */ override fun modelBiasAppSpecification(modelBiasAppSpecification: IResolvable) { - cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -756,7 +756,7 @@ public open class CfnModelBiasJobDefinition( */ override fun modelBiasAppSpecification(modelBiasAppSpecification: ModelBiasAppSpecificationProperty) { - cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(ModelBiasAppSpecificationProperty::unwrap)) + cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(ModelBiasAppSpecificationProperty.Companion::unwrap)) } /** @@ -780,7 +780,7 @@ public open class CfnModelBiasJobDefinition( * @param modelBiasBaselineConfig The baseline configuration for a model bias job. */ override fun modelBiasBaselineConfig(modelBiasBaselineConfig: IResolvable) { - cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -790,7 +790,7 @@ public open class CfnModelBiasJobDefinition( * @param modelBiasBaselineConfig The baseline configuration for a model bias job. */ override fun modelBiasBaselineConfig(modelBiasBaselineConfig: ModelBiasBaselineConfigProperty) { - cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(ModelBiasBaselineConfigProperty::unwrap)) + cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(ModelBiasBaselineConfigProperty.Companion::unwrap)) } /** @@ -812,7 +812,7 @@ public open class CfnModelBiasJobDefinition( * @param modelBiasJobInput Inputs for the model bias job. */ override fun modelBiasJobInput(modelBiasJobInput: IResolvable) { - cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(IResolvable::unwrap)) + cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -822,7 +822,7 @@ public open class CfnModelBiasJobDefinition( * @param modelBiasJobInput Inputs for the model bias job. */ override fun modelBiasJobInput(modelBiasJobInput: ModelBiasJobInputProperty) { - cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(ModelBiasJobInputProperty::unwrap)) + cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(ModelBiasJobInputProperty.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class CfnModelBiasJobDefinition( * @param modelBiasJobOutputConfig The output configuration for monitoring jobs. */ override fun modelBiasJobOutputConfig(modelBiasJobOutputConfig: IResolvable) { - cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public open class CfnModelBiasJobDefinition( */ override fun modelBiasJobOutputConfig(modelBiasJobOutputConfig: MonitoringOutputConfigProperty) { - cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnModelBiasJobDefinition( * @param networkConfig Networking options for a model bias job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public open class CfnModelBiasJobDefinition( * @param networkConfig Networking options for a model bias job. */ override fun networkConfig(networkConfig: NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -920,7 +920,7 @@ public open class CfnModelBiasJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -931,7 +931,7 @@ public open class CfnModelBiasJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnModelBiasJobDefinition( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1236,14 +1236,14 @@ public open class CfnModelBiasJobDefinition( * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: IResolvable) { - cdkBuilder.datasetFormat(datasetFormat.let(IResolvable::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(IResolvable.Companion::unwrap)) } /** * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: DatasetFormatProperty) { - cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty.Companion::unwrap)) } /** @@ -1781,7 +1781,7 @@ public open class CfnModelBiasJobDefinition( * @param header A boolean flag indicating if given CSV has header. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1921,14 +1921,14 @@ public open class CfnModelBiasJobDefinition( * @param csv The CSV format. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** * @param csv The CSV format. */ override fun csv(csv: CsvProperty) { - cdkBuilder.csv(csv.let(CsvProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvProperty.Companion::unwrap)) } /** @@ -1942,14 +1942,14 @@ public open class CfnModelBiasJobDefinition( * @param json The Json format. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** * @param json The Json format. */ override fun json(json: JsonProperty) { - cdkBuilder.json(json.let(JsonProperty::unwrap)) + cdkBuilder.json(json.let(JsonProperty.Companion::unwrap)) } /** @@ -1970,7 +1970,7 @@ public open class CfnModelBiasJobDefinition( * @param parquet A flag indicate if the dataset format is Parquet. */ override fun parquet(parquet: IResolvable) { - cdkBuilder.parquet(parquet.let(IResolvable::unwrap)) + cdkBuilder.parquet(parquet.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2477,7 +2477,7 @@ public open class CfnModelBiasJobDefinition( * @param line A boolean flag indicating if it is JSON line format. */ override fun line(line: IResolvable) { - cdkBuilder.line(line.let(IResolvable::unwrap)) + cdkBuilder.line(line.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2609,7 +2609,7 @@ public open class CfnModelBiasJobDefinition( * @param environment Sets the environment variables in the Docker container. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -2760,14 +2760,14 @@ public open class CfnModelBiasJobDefinition( * @param constraintsResource The constraints resource for a monitoring job. */ override fun constraintsResource(constraintsResource: IResolvable) { - cdkBuilder.constraintsResource(constraintsResource.let(IResolvable::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(IResolvable.Companion::unwrap)) } /** * @param constraintsResource The constraints resource for a monitoring job. */ override fun constraintsResource(constraintsResource: ConstraintsResourceProperty) { - cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty.Companion::unwrap)) } /** @@ -2965,14 +2965,14 @@ public open class CfnModelBiasJobDefinition( * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: IResolvable) { - cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable.Companion::unwrap)) } /** * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: BatchTransformInputProperty) { - cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty.Companion::unwrap)) } /** @@ -2988,14 +2988,14 @@ public open class CfnModelBiasJobDefinition( * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: IResolvable) { - cdkBuilder.endpointInput(endpointInput.let(IResolvable::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(IResolvable.Companion::unwrap)) } /** * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: EndpointInputProperty) { - cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty.Companion::unwrap)) } /** @@ -3010,14 +3010,14 @@ public open class CfnModelBiasJobDefinition( * @param groundTruthS3Input Location of ground truth labels to use in model bias job. */ override fun groundTruthS3Input(groundTruthS3Input: IResolvable) { - cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(IResolvable::unwrap)) + cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(IResolvable.Companion::unwrap)) } /** * @param groundTruthS3Input Location of ground truth labels to use in model bias job. */ override fun groundTruthS3Input(groundTruthS3Input: MonitoringGroundTruthS3InputProperty) { - cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(MonitoringGroundTruthS3InputProperty::unwrap)) + cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(MonitoringGroundTruthS3InputProperty.Companion::unwrap)) } /** @@ -3254,7 +3254,7 @@ public open class CfnModelBiasJobDefinition( * This is where the output of the periodic monitoring jobs is uploaded. */ override fun monitoringOutputs(monitoringOutputs: IResolvable) { - cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable::unwrap)) + cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -3382,7 +3382,7 @@ public open class CfnModelBiasJobDefinition( * saved. */ override fun s3Output(s3Output: IResolvable) { - cdkBuilder.s3Output(s3Output.let(IResolvable::unwrap)) + cdkBuilder.s3Output(s3Output.let(IResolvable.Companion::unwrap)) } /** @@ -3390,7 +3390,7 @@ public open class CfnModelBiasJobDefinition( * saved. */ override fun s3Output(s3Output: S3OutputProperty) { - cdkBuilder.s3Output(s3Output.let(S3OutputProperty::unwrap)) + cdkBuilder.s3Output(s3Output.let(S3OutputProperty.Companion::unwrap)) } /** @@ -3503,7 +3503,7 @@ public open class CfnModelBiasJobDefinition( * job. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3511,7 +3511,7 @@ public open class CfnModelBiasJobDefinition( * job. */ override fun clusterConfig(clusterConfig: ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -3690,7 +3690,7 @@ public open class CfnModelBiasJobDefinition( */ override fun enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption: IResolvable) { - cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable::unwrap)) + cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -3706,7 +3706,7 @@ public open class CfnModelBiasJobDefinition( * from the containers used for the processing job. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -3714,7 +3714,7 @@ public open class CfnModelBiasJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3722,7 +3722,7 @@ public open class CfnModelBiasJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinitionProps.kt index 283b23ff02..bbb9cb1339 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelBiasJobDefinitionProps.kt @@ -408,14 +408,14 @@ public interface CfnModelBiasJobDefinitionProps { * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: CfnModelBiasJobDefinition.MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(CfnModelBiasJobDefinition.MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(CfnModelBiasJobDefinition.MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface CfnModelBiasJobDefinitionProps { * container image. */ override fun modelBiasAppSpecification(modelBiasAppSpecification: IResolvable) { - cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface CfnModelBiasJobDefinitionProps { */ override fun modelBiasAppSpecification(modelBiasAppSpecification: CfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty) { - cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(CfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty::unwrap)) + cdkBuilder.modelBiasAppSpecification(modelBiasAppSpecification.let(CfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface CfnModelBiasJobDefinitionProps { * @param modelBiasBaselineConfig The baseline configuration for a model bias job. */ override fun modelBiasBaselineConfig(modelBiasBaselineConfig: IResolvable) { - cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public interface CfnModelBiasJobDefinitionProps { */ override fun modelBiasBaselineConfig(modelBiasBaselineConfig: CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty) { - cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty::unwrap)) + cdkBuilder.modelBiasBaselineConfig(modelBiasBaselineConfig.let(CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public interface CfnModelBiasJobDefinitionProps { * @param modelBiasJobInput Inputs for the model bias job. */ override fun modelBiasJobInput(modelBiasJobInput: IResolvable) { - cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(IResolvable::unwrap)) + cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -492,7 +492,7 @@ public interface CfnModelBiasJobDefinitionProps { */ override fun modelBiasJobInput(modelBiasJobInput: CfnModelBiasJobDefinition.ModelBiasJobInputProperty) { - cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(CfnModelBiasJobDefinition.ModelBiasJobInputProperty::unwrap)) + cdkBuilder.modelBiasJobInput(modelBiasJobInput.let(CfnModelBiasJobDefinition.ModelBiasJobInputProperty.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public interface CfnModelBiasJobDefinitionProps { * @param modelBiasJobOutputConfig The output configuration for monitoring jobs. */ override fun modelBiasJobOutputConfig(modelBiasJobOutputConfig: IResolvable) { - cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface CfnModelBiasJobDefinitionProps { */ override fun modelBiasJobOutputConfig(modelBiasJobOutputConfig: CfnModelBiasJobDefinition.MonitoringOutputConfigProperty) { - cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(CfnModelBiasJobDefinition.MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.modelBiasJobOutputConfig(modelBiasJobOutputConfig.let(CfnModelBiasJobDefinition.MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -534,14 +534,14 @@ public interface CfnModelBiasJobDefinitionProps { * @param networkConfig Networking options for a model bias job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** * @param networkConfig Networking options for a model bias job. */ override fun networkConfig(networkConfig: CfnModelBiasJobDefinition.NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(CfnModelBiasJobDefinition.NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(CfnModelBiasJobDefinition.NetworkConfigProperty.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public interface CfnModelBiasJobDefinitionProps { * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public interface CfnModelBiasJobDefinitionProps { */ override fun stoppingCondition(stoppingCondition: CfnModelBiasJobDefinition.StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(CfnModelBiasJobDefinition.StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(CfnModelBiasJobDefinition.StoppingConditionProperty.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public interface CfnModelBiasJobDefinitionProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCard.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCard.kt index b301dba8a4..63c3ea2887 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCard.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCard.kt @@ -190,8 +190,8 @@ public open class CfnModelCard( id: String, props: CfnModelCardProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModelCard(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelCardProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModelCard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelCardProps.Companion::unwrap)) ) public constructor( @@ -275,14 +275,14 @@ public open class CfnModelCard( * The content of the model card. */ public open fun content(`value`: IResolvable) { - unwrap(this).setContent(`value`.let(IResolvable::unwrap)) + unwrap(this).setContent(`value`.let(IResolvable.Companion::unwrap)) } /** * The content of the model card. */ public open fun content(`value`: ContentProperty) { - unwrap(this).setContent(`value`.let(ContentProperty::unwrap)) + unwrap(this).setContent(`value`.let(ContentProperty.Companion::unwrap)) } /** @@ -302,14 +302,14 @@ public open class CfnModelCard( * Information about the user who created or modified one or more of the following:. */ public open fun createdBy(`value`: IResolvable) { - unwrap(this).setCreatedBy(`value`.let(IResolvable::unwrap)) + unwrap(this).setCreatedBy(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the user who created or modified one or more of the following:. */ public open fun createdBy(`value`: UserContextProperty) { - unwrap(this).setCreatedBy(`value`.let(UserContextProperty::unwrap)) + unwrap(this).setCreatedBy(`value`.let(UserContextProperty.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class CfnModelCard( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnModelCard( * lineage group, project, or model card. */ public open fun lastModifiedBy(`value`: IResolvable) { - unwrap(this).setLastModifiedBy(`value`.let(IResolvable::unwrap)) + unwrap(this).setLastModifiedBy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnModelCard( * lineage group, project, or model card. */ public open fun lastModifiedBy(`value`: UserContextProperty) { - unwrap(this).setLastModifiedBy(`value`.let(UserContextProperty::unwrap)) + unwrap(this).setLastModifiedBy(`value`.let(UserContextProperty.Companion::unwrap)) } /** @@ -393,14 +393,14 @@ public open class CfnModelCard( * The security configuration used to protect model card data. */ public open fun securityConfig(`value`: IResolvable) { - unwrap(this).setSecurityConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSecurityConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The security configuration used to protect model card data. */ public open fun securityConfig(`value`: SecurityConfigProperty) { - unwrap(this).setSecurityConfig(`value`.let(SecurityConfigProperty::unwrap)) + unwrap(this).setSecurityConfig(`value`.let(SecurityConfigProperty.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnModelCard( * Key-value pairs used to manage metadata for the model card. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -644,7 +644,7 @@ public open class CfnModelCard( * @param content The content of the model card. */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** @@ -658,7 +658,7 @@ public open class CfnModelCard( * @param content The content of the model card. */ override fun content(content: ContentProperty) { - cdkBuilder.content(content.let(ContentProperty::unwrap)) + cdkBuilder.content(content.let(ContentProperty.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnModelCard( * following:. */ override fun createdBy(createdBy: IResolvable) { - cdkBuilder.createdBy(createdBy.let(IResolvable::unwrap)) + cdkBuilder.createdBy(createdBy.let(IResolvable.Companion::unwrap)) } /** @@ -709,7 +709,7 @@ public open class CfnModelCard( * following:. */ override fun createdBy(createdBy: UserContextProperty) { - cdkBuilder.createdBy(createdBy.let(UserContextProperty::unwrap)) + cdkBuilder.createdBy(createdBy.let(UserContextProperty.Companion::unwrap)) } /** @@ -740,7 +740,7 @@ public open class CfnModelCard( * trial, trial component, lineage group, project, or model card. */ override fun lastModifiedBy(lastModifiedBy: IResolvable) { - cdkBuilder.lastModifiedBy(lastModifiedBy.let(IResolvable::unwrap)) + cdkBuilder.lastModifiedBy(lastModifiedBy.let(IResolvable.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class CfnModelCard( * trial, trial component, lineage group, project, or model card. */ override fun lastModifiedBy(lastModifiedBy: UserContextProperty) { - cdkBuilder.lastModifiedBy(lastModifiedBy.let(UserContextProperty::unwrap)) + cdkBuilder.lastModifiedBy(lastModifiedBy.let(UserContextProperty.Companion::unwrap)) } /** @@ -803,7 +803,7 @@ public open class CfnModelCard( * @param securityConfig The security configuration used to protect model card data. */ override fun securityConfig(securityConfig: IResolvable) { - cdkBuilder.securityConfig(securityConfig.let(IResolvable::unwrap)) + cdkBuilder.securityConfig(securityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -813,7 +813,7 @@ public open class CfnModelCard( * @param securityConfig The security configuration used to protect model card data. */ override fun securityConfig(securityConfig: SecurityConfigProperty) { - cdkBuilder.securityConfig(securityConfig.let(SecurityConfigProperty::unwrap)) + cdkBuilder.securityConfig(securityConfig.let(SecurityConfigProperty.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnModelCard( * @param tags Key-value pairs used to manage metadata for the model card. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -957,7 +957,7 @@ public open class CfnModelCard( * @param customDetails Any additional information to document about the model. */ override fun customDetails(customDetails: IResolvable) { - cdkBuilder.customDetails(customDetails.let(IResolvable::unwrap)) + cdkBuilder.customDetails(customDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1627,14 +1627,14 @@ public open class CfnModelCard( * @param additionalInformation Additional information about the model. */ override fun additionalInformation(additionalInformation: IResolvable) { - cdkBuilder.additionalInformation(additionalInformation.let(IResolvable::unwrap)) + cdkBuilder.additionalInformation(additionalInformation.let(IResolvable.Companion::unwrap)) } /** * @param additionalInformation Additional information about the model. */ override fun additionalInformation(additionalInformation: AdditionalInformationProperty) { - cdkBuilder.additionalInformation(additionalInformation.let(AdditionalInformationProperty::unwrap)) + cdkBuilder.additionalInformation(additionalInformation.let(AdditionalInformationProperty.Companion::unwrap)) } /** @@ -1650,14 +1650,14 @@ public open class CfnModelCard( * @param businessDetails Information about how the model supports business goals. */ override fun businessDetails(businessDetails: IResolvable) { - cdkBuilder.businessDetails(businessDetails.let(IResolvable::unwrap)) + cdkBuilder.businessDetails(businessDetails.let(IResolvable.Companion::unwrap)) } /** * @param businessDetails Information about how the model supports business goals. */ override fun businessDetails(businessDetails: BusinessDetailsProperty) { - cdkBuilder.businessDetails(businessDetails.let(BusinessDetailsProperty::unwrap)) + cdkBuilder.businessDetails(businessDetails.let(BusinessDetailsProperty.Companion::unwrap)) } /** @@ -1672,7 +1672,7 @@ public open class CfnModelCard( * @param evaluationDetails An overview about the model's evaluation. */ override fun evaluationDetails(evaluationDetails: IResolvable) { - cdkBuilder.evaluationDetails(evaluationDetails.let(IResolvable::unwrap)) + cdkBuilder.evaluationDetails(evaluationDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1692,14 +1692,14 @@ public open class CfnModelCard( * @param intendedUses The intended usage of the model. */ override fun intendedUses(intendedUses: IResolvable) { - cdkBuilder.intendedUses(intendedUses.let(IResolvable::unwrap)) + cdkBuilder.intendedUses(intendedUses.let(IResolvable.Companion::unwrap)) } /** * @param intendedUses The intended usage of the model. */ override fun intendedUses(intendedUses: IntendedUsesProperty) { - cdkBuilder.intendedUses(intendedUses.let(IntendedUsesProperty::unwrap)) + cdkBuilder.intendedUses(intendedUses.let(IntendedUsesProperty.Companion::unwrap)) } /** @@ -1714,14 +1714,14 @@ public open class CfnModelCard( * @param modelOverview An overview about the model. */ override fun modelOverview(modelOverview: IResolvable) { - cdkBuilder.modelOverview(modelOverview.let(IResolvable::unwrap)) + cdkBuilder.modelOverview(modelOverview.let(IResolvable.Companion::unwrap)) } /** * @param modelOverview An overview about the model. */ override fun modelOverview(modelOverview: ModelOverviewProperty) { - cdkBuilder.modelOverview(modelOverview.let(ModelOverviewProperty::unwrap)) + cdkBuilder.modelOverview(modelOverview.let(ModelOverviewProperty.Companion::unwrap)) } /** @@ -1736,14 +1736,14 @@ public open class CfnModelCard( * @param modelPackageDetails Metadata information related to model package version. */ override fun modelPackageDetails(modelPackageDetails: IResolvable) { - cdkBuilder.modelPackageDetails(modelPackageDetails.let(IResolvable::unwrap)) + cdkBuilder.modelPackageDetails(modelPackageDetails.let(IResolvable.Companion::unwrap)) } /** * @param modelPackageDetails Metadata information related to model package version. */ override fun modelPackageDetails(modelPackageDetails: ModelPackageDetailsProperty) { - cdkBuilder.modelPackageDetails(modelPackageDetails.let(ModelPackageDetailsProperty::unwrap)) + cdkBuilder.modelPackageDetails(modelPackageDetails.let(ModelPackageDetailsProperty.Companion::unwrap)) } /** @@ -1759,14 +1759,14 @@ public open class CfnModelCard( * @param trainingDetails An overview about model training. */ override fun trainingDetails(trainingDetails: IResolvable) { - cdkBuilder.trainingDetails(trainingDetails.let(IResolvable::unwrap)) + cdkBuilder.trainingDetails(trainingDetails.let(IResolvable.Companion::unwrap)) } /** * @param trainingDetails An overview about model training. */ override fun trainingDetails(trainingDetails: TrainingDetailsProperty) { - cdkBuilder.trainingDetails(trainingDetails.let(TrainingDetailsProperty::unwrap)) + cdkBuilder.trainingDetails(trainingDetails.let(TrainingDetailsProperty.Companion::unwrap)) } /** @@ -2021,7 +2021,7 @@ public open class CfnModelCard( * @param metadata Additional attributes associated with the evaluation results. */ override fun metadata(metadata: IResolvable) { - cdkBuilder.metadata(metadata.let(IResolvable::unwrap)) + cdkBuilder.metadata(metadata.let(IResolvable.Companion::unwrap)) } /** @@ -2035,7 +2035,7 @@ public open class CfnModelCard( * @param metricGroups An evaluation Metric Group object. */ override fun metricGroups(metricGroups: IResolvable) { - cdkBuilder.metricGroups(metricGroups.let(IResolvable::unwrap)) + cdkBuilder.metricGroups(metricGroups.let(IResolvable.Companion::unwrap)) } /** @@ -2470,7 +2470,7 @@ public open class CfnModelCard( * inference code. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -3082,7 +3082,7 @@ public open class CfnModelCard( * . */ override fun metricData(metricData: IResolvable) { - cdkBuilder.metricData(metricData.let(IResolvable::unwrap)) + cdkBuilder.metricData(metricData.let(IResolvable.Companion::unwrap)) } /** @@ -3362,14 +3362,14 @@ public open class CfnModelCard( * @param inferenceEnvironment An overview about model inference. */ override fun inferenceEnvironment(inferenceEnvironment: IResolvable) { - cdkBuilder.inferenceEnvironment(inferenceEnvironment.let(IResolvable::unwrap)) + cdkBuilder.inferenceEnvironment(inferenceEnvironment.let(IResolvable.Companion::unwrap)) } /** * @param inferenceEnvironment An overview about model inference. */ override fun inferenceEnvironment(inferenceEnvironment: InferenceEnvironmentProperty) { - cdkBuilder.inferenceEnvironment(inferenceEnvironment.let(InferenceEnvironmentProperty::unwrap)) + cdkBuilder.inferenceEnvironment(inferenceEnvironment.let(InferenceEnvironmentProperty.Companion::unwrap)) } /** @@ -3878,14 +3878,14 @@ public open class CfnModelCard( * @param createdBy the value to be set. */ override fun createdBy(createdBy: IResolvable) { - cdkBuilder.createdBy(createdBy.let(IResolvable::unwrap)) + cdkBuilder.createdBy(createdBy.let(IResolvable.Companion::unwrap)) } /** * @param createdBy the value to be set. */ override fun createdBy(createdBy: ModelPackageCreatorProperty) { - cdkBuilder.createdBy(createdBy.let(ModelPackageCreatorProperty::unwrap)) + cdkBuilder.createdBy(createdBy.let(ModelPackageCreatorProperty.Companion::unwrap)) } /** @@ -3908,14 +3908,14 @@ public open class CfnModelCard( * @param inferenceSpecification the value to be set. */ override fun inferenceSpecification(inferenceSpecification: IResolvable) { - cdkBuilder.inferenceSpecification(inferenceSpecification.let(IResolvable::unwrap)) + cdkBuilder.inferenceSpecification(inferenceSpecification.let(IResolvable.Companion::unwrap)) } /** * @param inferenceSpecification the value to be set. */ override fun inferenceSpecification(inferenceSpecification: InferenceSpecificationProperty) { - cdkBuilder.inferenceSpecification(inferenceSpecification.let(InferenceSpecificationProperty::unwrap)) + cdkBuilder.inferenceSpecification(inferenceSpecification.let(InferenceSpecificationProperty.Companion::unwrap)) } /** @@ -3981,7 +3981,7 @@ public open class CfnModelCard( * @param sourceAlgorithms the value to be set. */ override fun sourceAlgorithms(sourceAlgorithms: IResolvable) { - cdkBuilder.sourceAlgorithms(sourceAlgorithms.let(IResolvable::unwrap)) + cdkBuilder.sourceAlgorithms(sourceAlgorithms.let(IResolvable.Companion::unwrap)) } /** @@ -4201,7 +4201,7 @@ public open class CfnModelCard( * additional descriptions. */ override fun function(function: IResolvable) { - cdkBuilder.function(function.let(IResolvable::unwrap)) + cdkBuilder.function(function.let(IResolvable.Companion::unwrap)) } /** @@ -4209,7 +4209,7 @@ public open class CfnModelCard( * additional descriptions. */ override fun function(function: FunctionProperty) { - cdkBuilder.function(function.let(FunctionProperty::unwrap)) + cdkBuilder.function(function.let(FunctionProperty.Companion::unwrap)) } /** @@ -4635,14 +4635,14 @@ public open class CfnModelCard( * @param objectiveFunction The function that is optimized during model training. */ override fun objectiveFunction(objectiveFunction: IResolvable) { - cdkBuilder.objectiveFunction(objectiveFunction.let(IResolvable::unwrap)) + cdkBuilder.objectiveFunction(objectiveFunction.let(IResolvable.Companion::unwrap)) } /** * @param objectiveFunction The function that is optimized during model training. */ override fun objectiveFunction(objectiveFunction: ObjectiveFunctionProperty) { - cdkBuilder.objectiveFunction(objectiveFunction.let(ObjectiveFunctionProperty::unwrap)) + cdkBuilder.objectiveFunction(objectiveFunction.let(ObjectiveFunctionProperty.Companion::unwrap)) } /** @@ -4658,14 +4658,14 @@ public open class CfnModelCard( * @param trainingJobDetails Details about any associated training jobs. */ override fun trainingJobDetails(trainingJobDetails: IResolvable) { - cdkBuilder.trainingJobDetails(trainingJobDetails.let(IResolvable::unwrap)) + cdkBuilder.trainingJobDetails(trainingJobDetails.let(IResolvable.Companion::unwrap)) } /** * @param trainingJobDetails Details about any associated training jobs. */ override fun trainingJobDetails(trainingJobDetails: TrainingJobDetailsProperty) { - cdkBuilder.trainingJobDetails(trainingJobDetails.let(TrainingJobDetailsProperty::unwrap)) + cdkBuilder.trainingJobDetails(trainingJobDetails.let(TrainingJobDetailsProperty.Companion::unwrap)) } /** @@ -5137,7 +5137,7 @@ public open class CfnModelCard( * @param hyperParameters The hyper parameters used in the training job. */ override fun hyperParameters(hyperParameters: IResolvable) { - cdkBuilder.hyperParameters(hyperParameters.let(IResolvable::unwrap)) + cdkBuilder.hyperParameters(hyperParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5177,14 +5177,14 @@ public open class CfnModelCard( * @param trainingEnvironment The SageMaker training job image URI. */ override fun trainingEnvironment(trainingEnvironment: IResolvable) { - cdkBuilder.trainingEnvironment(trainingEnvironment.let(IResolvable::unwrap)) + cdkBuilder.trainingEnvironment(trainingEnvironment.let(IResolvable.Companion::unwrap)) } /** * @param trainingEnvironment The SageMaker training job image URI. */ override fun trainingEnvironment(trainingEnvironment: TrainingEnvironmentProperty) { - cdkBuilder.trainingEnvironment(trainingEnvironment.let(TrainingEnvironmentProperty::unwrap)) + cdkBuilder.trainingEnvironment(trainingEnvironment.let(TrainingEnvironmentProperty.Companion::unwrap)) } /** @@ -5200,7 +5200,7 @@ public open class CfnModelCard( * @param trainingMetrics The SageMaker training job results. */ override fun trainingMetrics(trainingMetrics: IResolvable) { - cdkBuilder.trainingMetrics(trainingMetrics.let(IResolvable::unwrap)) + cdkBuilder.trainingMetrics(trainingMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -5221,7 +5221,7 @@ public open class CfnModelCard( * training the model. */ override fun userProvidedHyperParameters(userProvidedHyperParameters: IResolvable) { - cdkBuilder.userProvidedHyperParameters(userProvidedHyperParameters.let(IResolvable::unwrap)) + cdkBuilder.userProvidedHyperParameters(userProvidedHyperParameters.let(IResolvable.Companion::unwrap)) } /** @@ -5243,7 +5243,7 @@ public open class CfnModelCard( * @param userProvidedTrainingMetrics Custom training job results. */ override fun userProvidedTrainingMetrics(userProvidedTrainingMetrics: IResolvable) { - cdkBuilder.userProvidedTrainingMetrics(userProvidedTrainingMetrics.let(IResolvable::unwrap)) + cdkBuilder.userProvidedTrainingMetrics(userProvidedTrainingMetrics.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCardProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCardProps.kt index e81d01977f..0c384c0bcf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCardProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelCardProps.kt @@ -386,7 +386,7 @@ public interface CfnModelCardProps { * . */ override fun content(content: IResolvable) { - cdkBuilder.content(content.let(IResolvable::unwrap)) + cdkBuilder.content(content.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface CfnModelCardProps { * . */ override fun content(content: CfnModelCard.ContentProperty) { - cdkBuilder.content(content.let(CfnModelCard.ContentProperty::unwrap)) + cdkBuilder.content(content.let(CfnModelCard.ContentProperty.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public interface CfnModelCardProps { * * Model Card */ override fun createdBy(createdBy: IResolvable) { - cdkBuilder.createdBy(createdBy.let(IResolvable::unwrap)) + cdkBuilder.createdBy(createdBy.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface CfnModelCardProps { * * Model Card */ override fun createdBy(createdBy: CfnModelCard.UserContextProperty) { - cdkBuilder.createdBy(createdBy.let(CfnModelCard.UserContextProperty::unwrap)) + cdkBuilder.createdBy(createdBy.let(CfnModelCard.UserContextProperty.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface CfnModelCardProps { * trial, trial component, lineage group, project, or model card. */ override fun lastModifiedBy(lastModifiedBy: IResolvable) { - cdkBuilder.lastModifiedBy(lastModifiedBy.let(IResolvable::unwrap)) + cdkBuilder.lastModifiedBy(lastModifiedBy.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public interface CfnModelCardProps { * trial, trial component, lineage group, project, or model card. */ override fun lastModifiedBy(lastModifiedBy: CfnModelCard.UserContextProperty) { - cdkBuilder.lastModifiedBy(lastModifiedBy.let(CfnModelCard.UserContextProperty::unwrap)) + cdkBuilder.lastModifiedBy(lastModifiedBy.let(CfnModelCard.UserContextProperty.Companion::unwrap)) } /** @@ -504,14 +504,14 @@ public interface CfnModelCardProps { * @param securityConfig The security configuration used to protect model card data. */ override fun securityConfig(securityConfig: IResolvable) { - cdkBuilder.securityConfig(securityConfig.let(IResolvable::unwrap)) + cdkBuilder.securityConfig(securityConfig.let(IResolvable.Companion::unwrap)) } /** * @param securityConfig The security configuration used to protect model card data. */ override fun securityConfig(securityConfig: CfnModelCard.SecurityConfigProperty) { - cdkBuilder.securityConfig(securityConfig.let(CfnModelCard.SecurityConfigProperty::unwrap)) + cdkBuilder.securityConfig(securityConfig.let(CfnModelCard.SecurityConfigProperty.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public interface CfnModelCardProps { * @param tags Key-value pairs used to manage metadata for the model card. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinition.kt index 1b7d0f3890..e5f34da438 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinition.kt @@ -131,8 +131,8 @@ public open class CfnModelExplainabilityJobDefinition( id: String, props: CfnModelExplainabilityJobDefinitionProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModelExplainabilityJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelExplainabilityJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModelExplainabilityJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelExplainabilityJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -170,7 +170,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -194,14 +194,14 @@ public open class CfnModelExplainabilityJobDefinition( * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: IResolvable) { - unwrap(this).setJobResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobResources(`value`.let(IResolvable.Companion::unwrap)) } /** * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: MonitoringResourcesProperty) { - unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty::unwrap)) + unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnModelExplainabilityJobDefinition( * Configures the model explainability job to run a specified Docker container image. */ public open fun modelExplainabilityAppSpecification(`value`: IResolvable) { - unwrap(this).setModelExplainabilityAppSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelExplainabilityAppSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnModelExplainabilityJobDefinition( */ public open fun modelExplainabilityAppSpecification(`value`: ModelExplainabilityAppSpecificationProperty) { - unwrap(this).setModelExplainabilityAppSpecification(`value`.let(ModelExplainabilityAppSpecificationProperty::unwrap)) + unwrap(this).setModelExplainabilityAppSpecification(`value`.let(ModelExplainabilityAppSpecificationProperty.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnModelExplainabilityJobDefinition( * The baseline configuration for a model explainability job. */ public open fun modelExplainabilityBaselineConfig(`value`: IResolvable) { - unwrap(this).setModelExplainabilityBaselineConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelExplainabilityBaselineConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnModelExplainabilityJobDefinition( */ public open fun modelExplainabilityBaselineConfig(`value`: ModelExplainabilityBaselineConfigProperty) { - unwrap(this).setModelExplainabilityBaselineConfig(`value`.let(ModelExplainabilityBaselineConfigProperty::unwrap)) + unwrap(this).setModelExplainabilityBaselineConfig(`value`.let(ModelExplainabilityBaselineConfigProperty.Companion::unwrap)) } /** @@ -282,14 +282,14 @@ public open class CfnModelExplainabilityJobDefinition( * Inputs for the model explainability job. */ public open fun modelExplainabilityJobInput(`value`: IResolvable) { - unwrap(this).setModelExplainabilityJobInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelExplainabilityJobInput(`value`.let(IResolvable.Companion::unwrap)) } /** * Inputs for the model explainability job. */ public open fun modelExplainabilityJobInput(`value`: ModelExplainabilityJobInputProperty) { - unwrap(this).setModelExplainabilityJobInput(`value`.let(ModelExplainabilityJobInputProperty::unwrap)) + unwrap(this).setModelExplainabilityJobInput(`value`.let(ModelExplainabilityJobInputProperty.Companion::unwrap)) } /** @@ -311,14 +311,14 @@ public open class CfnModelExplainabilityJobDefinition( * The output configuration for monitoring jobs. */ public open fun modelExplainabilityJobOutputConfig(`value`: IResolvable) { - unwrap(this).setModelExplainabilityJobOutputConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelExplainabilityJobOutputConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The output configuration for monitoring jobs. */ public open fun modelExplainabilityJobOutputConfig(`value`: MonitoringOutputConfigProperty) { - unwrap(this).setModelExplainabilityJobOutputConfig(`value`.let(MonitoringOutputConfigProperty::unwrap)) + unwrap(this).setModelExplainabilityJobOutputConfig(`value`.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -339,14 +339,14 @@ public open class CfnModelExplainabilityJobDefinition( * Networking options for a model explainability job. */ public open fun networkConfig(`value`: IResolvable) { - unwrap(this).setNetworkConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Networking options for a model explainability job. */ public open fun networkConfig(`value`: NetworkConfigProperty) { - unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -380,14 +380,14 @@ public open class CfnModelExplainabilityJobDefinition( * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: IResolvable) { - unwrap(this).setStoppingCondition(`value`.let(IResolvable::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(IResolvable.Companion::unwrap)) } /** * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: StoppingConditionProperty) { - unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnModelExplainabilityJobDefinition( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -717,7 +717,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -727,7 +727,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -750,7 +750,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun modelExplainabilityAppSpecification(modelExplainabilityAppSpecification: IResolvable) { - cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -762,7 +762,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun modelExplainabilityAppSpecification(modelExplainabilityAppSpecification: ModelExplainabilityAppSpecificationProperty) { - cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(ModelExplainabilityAppSpecificationProperty::unwrap)) + cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(ModelExplainabilityAppSpecificationProperty.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public open class CfnModelExplainabilityJobDefinition( * explainability job. */ override fun modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig: IResolvable) { - cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig: ModelExplainabilityBaselineConfigProperty) { - cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(ModelExplainabilityBaselineConfigProperty::unwrap)) + cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(ModelExplainabilityBaselineConfigProperty.Companion::unwrap)) } /** @@ -823,7 +823,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param modelExplainabilityJobInput Inputs for the model explainability job. */ override fun modelExplainabilityJobInput(modelExplainabilityJobInput: IResolvable) { - cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun modelExplainabilityJobInput(modelExplainabilityJobInput: ModelExplainabilityJobInputProperty) { - cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(ModelExplainabilityJobInputProperty::unwrap)) + cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(ModelExplainabilityJobInputProperty.Companion::unwrap)) } /** @@ -858,7 +858,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig: IResolvable) { - cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig: MonitoringOutputConfigProperty) { - cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param networkConfig Networking options for a model explainability job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -902,7 +902,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param networkConfig Networking options for a model explainability job. */ override fun networkConfig(networkConfig: NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public open class CfnModelExplainabilityJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -947,7 +947,7 @@ public open class CfnModelExplainabilityJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -973,7 +973,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1194,14 +1194,14 @@ public open class CfnModelExplainabilityJobDefinition( * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: IResolvable) { - cdkBuilder.datasetFormat(datasetFormat.let(IResolvable::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(IResolvable.Companion::unwrap)) } /** * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: DatasetFormatProperty) { - cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty.Companion::unwrap)) } /** @@ -1677,7 +1677,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param header A boolean flag indicating if given CSV has header. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1817,14 +1817,14 @@ public open class CfnModelExplainabilityJobDefinition( * @param csv The CSV format. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** * @param csv The CSV format. */ override fun csv(csv: CsvProperty) { - cdkBuilder.csv(csv.let(CsvProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvProperty.Companion::unwrap)) } /** @@ -1838,14 +1838,14 @@ public open class CfnModelExplainabilityJobDefinition( * @param json The Json format. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** * @param json The Json format. */ override fun json(json: JsonProperty) { - cdkBuilder.json(json.let(JsonProperty::unwrap)) + cdkBuilder.json(json.let(JsonProperty.Companion::unwrap)) } /** @@ -1866,7 +1866,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param parquet A flag indicating if the dataset format is Parquet. */ override fun parquet(parquet: IResolvable) { - cdkBuilder.parquet(parquet.let(IResolvable::unwrap)) + cdkBuilder.parquet(parquet.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2251,7 +2251,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param line A boolean flag indicating if it is JSON line format. */ override fun line(line: IResolvable) { - cdkBuilder.line(line.let(IResolvable::unwrap)) + cdkBuilder.line(line.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2383,7 +2383,7 @@ public open class CfnModelExplainabilityJobDefinition( * @param environment Sets the environment variables in the Docker container. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -2534,14 +2534,14 @@ public open class CfnModelExplainabilityJobDefinition( * @param constraintsResource The constraints resource for a model explainability job. */ override fun constraintsResource(constraintsResource: IResolvable) { - cdkBuilder.constraintsResource(constraintsResource.let(IResolvable::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(IResolvable.Companion::unwrap)) } /** * @param constraintsResource The constraints resource for a model explainability job. */ override fun constraintsResource(constraintsResource: ConstraintsResourceProperty) { - cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty.Companion::unwrap)) } /** @@ -2706,14 +2706,14 @@ public open class CfnModelExplainabilityJobDefinition( * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: IResolvable) { - cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable.Companion::unwrap)) } /** * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: BatchTransformInputProperty) { - cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty.Companion::unwrap)) } /** @@ -2729,14 +2729,14 @@ public open class CfnModelExplainabilityJobDefinition( * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: IResolvable) { - cdkBuilder.endpointInput(endpointInput.let(IResolvable::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(IResolvable.Companion::unwrap)) } /** * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: EndpointInputProperty) { - cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty.Companion::unwrap)) } /** @@ -2882,7 +2882,7 @@ public open class CfnModelExplainabilityJobDefinition( * This is where the output of the periodic monitoring jobs is uploaded. */ override fun monitoringOutputs(monitoringOutputs: IResolvable) { - cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable::unwrap)) + cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -3010,7 +3010,7 @@ public open class CfnModelExplainabilityJobDefinition( * saved. */ override fun s3Output(s3Output: IResolvable) { - cdkBuilder.s3Output(s3Output.let(IResolvable::unwrap)) + cdkBuilder.s3Output(s3Output.let(IResolvable.Companion::unwrap)) } /** @@ -3018,7 +3018,7 @@ public open class CfnModelExplainabilityJobDefinition( * saved. */ override fun s3Output(s3Output: S3OutputProperty) { - cdkBuilder.s3Output(s3Output.let(S3OutputProperty::unwrap)) + cdkBuilder.s3Output(s3Output.let(S3OutputProperty.Companion::unwrap)) } /** @@ -3131,7 +3131,7 @@ public open class CfnModelExplainabilityJobDefinition( * job. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3139,7 +3139,7 @@ public open class CfnModelExplainabilityJobDefinition( * job. */ override fun clusterConfig(clusterConfig: ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -3318,7 +3318,7 @@ public open class CfnModelExplainabilityJobDefinition( */ override fun enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption: IResolvable) { - cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable::unwrap)) + cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -3334,7 +3334,7 @@ public open class CfnModelExplainabilityJobDefinition( * from the containers used for the processing job. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -3342,7 +3342,7 @@ public open class CfnModelExplainabilityJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3350,7 +3350,7 @@ public open class CfnModelExplainabilityJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinitionProps.kt index 118b0fcad0..2de80cc28b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelExplainabilityJobDefinitionProps.kt @@ -404,7 +404,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun jobResources(jobResources: CfnModelExplainabilityJobDefinition.MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(CfnModelExplainabilityJobDefinition.MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(CfnModelExplainabilityJobDefinition.MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun modelExplainabilityAppSpecification(modelExplainabilityAppSpecification: IResolvable) { - cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun modelExplainabilityAppSpecification(modelExplainabilityAppSpecification: CfnModelExplainabilityJobDefinition.ModelExplainabilityAppSpecificationProperty) { - cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(CfnModelExplainabilityJobDefinition.ModelExplainabilityAppSpecificationProperty::unwrap)) + cdkBuilder.modelExplainabilityAppSpecification(modelExplainabilityAppSpecification.let(CfnModelExplainabilityJobDefinition.ModelExplainabilityAppSpecificationProperty.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { * explainability job. */ override fun modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig: IResolvable) { - cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig: CfnModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfigProperty) { - cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(CfnModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfigProperty::unwrap)) + cdkBuilder.modelExplainabilityBaselineConfig(modelExplainabilityBaselineConfig.let(CfnModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfigProperty.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { * @param modelExplainabilityJobInput Inputs for the model explainability job. */ override fun modelExplainabilityJobInput(modelExplainabilityJobInput: IResolvable) { - cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun modelExplainabilityJobInput(modelExplainabilityJobInput: CfnModelExplainabilityJobDefinition.ModelExplainabilityJobInputProperty) { - cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(CfnModelExplainabilityJobDefinition.ModelExplainabilityJobInputProperty::unwrap)) + cdkBuilder.modelExplainabilityJobInput(modelExplainabilityJobInput.let(CfnModelExplainabilityJobDefinition.ModelExplainabilityJobInputProperty.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig: IResolvable) { - cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig: CfnModelExplainabilityJobDefinition.MonitoringOutputConfigProperty) { - cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(CfnModelExplainabilityJobDefinition.MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.modelExplainabilityJobOutputConfig(modelExplainabilityJobOutputConfig.let(CfnModelExplainabilityJobDefinition.MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { * @param networkConfig Networking options for a model explainability job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun networkConfig(networkConfig: CfnModelExplainabilityJobDefinition.NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(CfnModelExplainabilityJobDefinition.NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(CfnModelExplainabilityJobDefinition.NetworkConfigProperty.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { */ override fun stoppingCondition(stoppingCondition: CfnModelExplainabilityJobDefinition.StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(CfnModelExplainabilityJobDefinition.StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(CfnModelExplainabilityJobDefinition.StoppingConditionProperty.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public interface CfnModelExplainabilityJobDefinitionProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackage.kt index 393db2565d..05abc5988e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackage.kt @@ -308,7 +308,7 @@ public open class CfnModelPackage( cdkObject: software.amazon.awscdk.services.sagemaker.CfnModelPackage, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sagemaker.CfnModelPackage(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sagemaker.CfnModelPackage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -317,8 +317,8 @@ public open class CfnModelPackage( id: String, props: CfnModelPackageProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModelPackage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelPackageProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModelPackage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelPackageProps.Companion::unwrap)) ) public constructor( @@ -338,7 +338,7 @@ public open class CfnModelPackage( * An array of additional Inference Specification objects. */ public open fun additionalInferenceSpecifications(`value`: IResolvable) { - unwrap(this).setAdditionalInferenceSpecifications(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalInferenceSpecifications(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class CfnModelPackage( * An array of additional Inference Specification objects to be added to the existing array. */ public open fun additionalInferenceSpecificationsToAdd(`value`: IResolvable) { - unwrap(this).setAdditionalInferenceSpecificationsToAdd(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalInferenceSpecificationsToAdd(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CfnModelPackage( * Whether the model package is to be certified to be listed on AWS Marketplace. */ public open fun certifyForMarketplace(`value`: IResolvable) { - unwrap(this).setCertifyForMarketplace(`value`.let(IResolvable::unwrap)) + unwrap(this).setCertifyForMarketplace(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnModelPackage( * The metadata properties for the model package. */ public open fun customerMetadataProperties(`value`: IResolvable) { - unwrap(this).setCustomerMetadataProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomerMetadataProperties(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -486,7 +486,7 @@ public open class CfnModelPackage( * model package. */ public open fun driftCheckBaselines(`value`: IResolvable) { - unwrap(this).setDriftCheckBaselines(`value`.let(IResolvable::unwrap)) + unwrap(this).setDriftCheckBaselines(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnModelPackage( * model package. */ public open fun driftCheckBaselines(`value`: DriftCheckBaselinesProperty) { - unwrap(this).setDriftCheckBaselines(`value`.let(DriftCheckBaselinesProperty::unwrap)) + unwrap(this).setDriftCheckBaselines(`value`.let(DriftCheckBaselinesProperty.Companion::unwrap)) } /** @@ -515,14 +515,14 @@ public open class CfnModelPackage( * Defines how to perform inference generation after a training job is run. */ public open fun inferenceSpecification(`value`: IResolvable) { - unwrap(this).setInferenceSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setInferenceSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines how to perform inference generation after a training job is run. */ public open fun inferenceSpecification(`value`: InferenceSpecificationProperty) { - unwrap(this).setInferenceSpecification(`value`.let(InferenceSpecificationProperty::unwrap)) + unwrap(this).setInferenceSpecification(`value`.let(InferenceSpecificationProperty.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public open class CfnModelPackage( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -564,14 +564,14 @@ public open class CfnModelPackage( * Metadata properties of the tracking entity, trial, or trial component. */ public open fun metadataProperties(`value`: IResolvable) { - unwrap(this).setMetadataProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setMetadataProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * Metadata properties of the tracking entity, trial, or trial component. */ public open fun metadataProperties(`value`: MetadataPropertiesProperty) { - unwrap(this).setMetadataProperties(`value`.let(MetadataPropertiesProperty::unwrap)) + unwrap(this).setMetadataProperties(`value`.let(MetadataPropertiesProperty.Companion::unwrap)) } /** @@ -607,14 +607,14 @@ public open class CfnModelPackage( * Metrics for the model. */ public open fun modelMetrics(`value`: IResolvable) { - unwrap(this).setModelMetrics(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelMetrics(`value`.let(IResolvable.Companion::unwrap)) } /** * Metrics for the model. */ public open fun modelMetrics(`value`: ModelMetricsProperty) { - unwrap(this).setModelMetrics(`value`.let(ModelMetricsProperty::unwrap)) + unwrap(this).setModelMetrics(`value`.let(ModelMetricsProperty.Companion::unwrap)) } /** @@ -670,14 +670,14 @@ public open class CfnModelPackage( * Specifies the validation and image scan statuses of the model package. */ public open fun modelPackageStatusDetails(`value`: IResolvable) { - unwrap(this).setModelPackageStatusDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelPackageStatusDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the validation and image scan statuses of the model package. */ public open fun modelPackageStatusDetails(`value`: ModelPackageStatusDetailsProperty) { - unwrap(this).setModelPackageStatusDetails(`value`.let(ModelPackageStatusDetailsProperty::unwrap)) + unwrap(this).setModelPackageStatusDetails(`value`.let(ModelPackageStatusDetailsProperty.Companion::unwrap)) } /** @@ -735,14 +735,14 @@ public open class CfnModelPackage( * A list of algorithms that were used to create a model package. */ public open fun sourceAlgorithmSpecification(`value`: IResolvable) { - unwrap(this).setSourceAlgorithmSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceAlgorithmSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of algorithms that were used to create a model package. */ public open fun sourceAlgorithmSpecification(`value`: SourceAlgorithmSpecificationProperty) { - unwrap(this).setSourceAlgorithmSpecification(`value`.let(SourceAlgorithmSpecificationProperty::unwrap)) + unwrap(this).setSourceAlgorithmSpecification(`value`.let(SourceAlgorithmSpecificationProperty.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class CfnModelPackage( * A list of the tags associated with the model package. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -798,14 +798,14 @@ public open class CfnModelPackage( * Specifies batch transform jobs that SageMaker runs to validate your model package. */ public open fun validationSpecification(`value`: IResolvable) { - unwrap(this).setValidationSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies batch transform jobs that SageMaker runs to validate your model package. */ public open fun validationSpecification(`value`: ValidationSpecificationProperty) { - unwrap(this).setValidationSpecification(`value`.let(ValidationSpecificationProperty::unwrap)) + unwrap(this).setValidationSpecification(`value`.let(ValidationSpecificationProperty.Companion::unwrap)) } /** @@ -1294,7 +1294,7 @@ public open class CfnModelPackage( * objects. */ override fun additionalInferenceSpecifications(additionalInferenceSpecifications: IResolvable) { - cdkBuilder.additionalInferenceSpecifications(additionalInferenceSpecifications.let(IResolvable::unwrap)) + cdkBuilder.additionalInferenceSpecifications(additionalInferenceSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -1332,7 +1332,7 @@ public open class CfnModelPackage( */ override fun additionalInferenceSpecificationsToAdd(additionalInferenceSpecificationsToAdd: IResolvable) { - cdkBuilder.additionalInferenceSpecificationsToAdd(additionalInferenceSpecificationsToAdd.let(IResolvable::unwrap)) + cdkBuilder.additionalInferenceSpecificationsToAdd(additionalInferenceSpecificationsToAdd.let(IResolvable.Companion::unwrap)) } /** @@ -1405,7 +1405,7 @@ public open class CfnModelPackage( * Marketplace. */ override fun certifyForMarketplace(certifyForMarketplace: IResolvable) { - cdkBuilder.certifyForMarketplace(certifyForMarketplace.let(IResolvable::unwrap)) + cdkBuilder.certifyForMarketplace(certifyForMarketplace.let(IResolvable.Companion::unwrap)) } /** @@ -1425,7 +1425,7 @@ public open class CfnModelPackage( * @param customerMetadataProperties The metadata properties for the model package. */ override fun customerMetadataProperties(customerMetadataProperties: IResolvable) { - cdkBuilder.customerMetadataProperties(customerMetadataProperties.let(IResolvable::unwrap)) + cdkBuilder.customerMetadataProperties(customerMetadataProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1459,7 +1459,7 @@ public open class CfnModelPackage( * model monitor is set using the model package. */ override fun driftCheckBaselines(driftCheckBaselines: IResolvable) { - cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(IResolvable::unwrap)) + cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(IResolvable.Companion::unwrap)) } /** @@ -1471,7 +1471,7 @@ public open class CfnModelPackage( * model monitor is set using the model package. */ override fun driftCheckBaselines(driftCheckBaselines: DriftCheckBaselinesProperty) { - cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(DriftCheckBaselinesProperty::unwrap)) + cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(DriftCheckBaselinesProperty.Companion::unwrap)) } /** @@ -1496,7 +1496,7 @@ public open class CfnModelPackage( * job is run. */ override fun inferenceSpecification(inferenceSpecification: IResolvable) { - cdkBuilder.inferenceSpecification(inferenceSpecification.let(IResolvable::unwrap)) + cdkBuilder.inferenceSpecification(inferenceSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1507,7 +1507,7 @@ public open class CfnModelPackage( * job is run. */ override fun inferenceSpecification(inferenceSpecification: InferenceSpecificationProperty) { - cdkBuilder.inferenceSpecification(inferenceSpecification.let(InferenceSpecificationProperty::unwrap)) + cdkBuilder.inferenceSpecification(inferenceSpecification.let(InferenceSpecificationProperty.Companion::unwrap)) } /** @@ -1541,7 +1541,7 @@ public open class CfnModelPackage( * component. */ override fun metadataProperties(metadataProperties: IResolvable) { - cdkBuilder.metadataProperties(metadataProperties.let(IResolvable::unwrap)) + cdkBuilder.metadataProperties(metadataProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1552,7 +1552,7 @@ public open class CfnModelPackage( * component. */ override fun metadataProperties(metadataProperties: MetadataPropertiesProperty) { - cdkBuilder.metadataProperties(metadataProperties.let(MetadataPropertiesProperty::unwrap)) + cdkBuilder.metadataProperties(metadataProperties.let(MetadataPropertiesProperty.Companion::unwrap)) } /** @@ -1590,7 +1590,7 @@ public open class CfnModelPackage( * @param modelMetrics Metrics for the model. */ override fun modelMetrics(modelMetrics: IResolvable) { - cdkBuilder.modelMetrics(modelMetrics.let(IResolvable::unwrap)) + cdkBuilder.modelMetrics(modelMetrics.let(IResolvable.Companion::unwrap)) } /** @@ -1600,7 +1600,7 @@ public open class CfnModelPackage( * @param modelMetrics Metrics for the model. */ override fun modelMetrics(modelMetrics: ModelMetricsProperty) { - cdkBuilder.modelMetrics(modelMetrics.let(ModelMetricsProperty::unwrap)) + cdkBuilder.modelMetrics(modelMetrics.let(ModelMetricsProperty.Companion::unwrap)) } /** @@ -1652,7 +1652,7 @@ public open class CfnModelPackage( * model package. */ override fun modelPackageStatusDetails(modelPackageStatusDetails: IResolvable) { - cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(IResolvable::unwrap)) + cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1664,7 +1664,7 @@ public open class CfnModelPackage( */ override fun modelPackageStatusDetails(modelPackageStatusDetails: ModelPackageStatusDetailsProperty) { - cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(ModelPackageStatusDetailsProperty::unwrap)) + cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(ModelPackageStatusDetailsProperty.Companion::unwrap)) } /** @@ -1722,7 +1722,7 @@ public open class CfnModelPackage( * package. */ override fun sourceAlgorithmSpecification(sourceAlgorithmSpecification: IResolvable) { - cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(IResolvable::unwrap)) + cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1734,7 +1734,7 @@ public open class CfnModelPackage( */ override fun sourceAlgorithmSpecification(sourceAlgorithmSpecification: SourceAlgorithmSpecificationProperty) { - cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(SourceAlgorithmSpecificationProperty::unwrap)) + cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(SourceAlgorithmSpecificationProperty.Companion::unwrap)) } /** @@ -1762,7 +1762,7 @@ public open class CfnModelPackage( * @param tags A list of the tags associated with the model package. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1797,7 +1797,7 @@ public open class CfnModelPackage( * your model package. */ override fun validationSpecification(validationSpecification: IResolvable) { - cdkBuilder.validationSpecification(validationSpecification.let(IResolvable::unwrap)) + cdkBuilder.validationSpecification(validationSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1808,7 +1808,7 @@ public open class CfnModelPackage( * your model package. */ override fun validationSpecification(validationSpecification: ValidationSpecificationProperty) { - cdkBuilder.validationSpecification(validationSpecification.let(ValidationSpecificationProperty::unwrap)) + cdkBuilder.validationSpecification(validationSpecification.let(ValidationSpecificationProperty.Companion::unwrap)) } /** @@ -2041,7 +2041,7 @@ public open class CfnModelPackage( * inference code. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -2338,14 +2338,14 @@ public open class CfnModelPackage( * @param postTrainingReport The post-training bias report for a model. */ override fun postTrainingReport(postTrainingReport: IResolvable) { - cdkBuilder.postTrainingReport(postTrainingReport.let(IResolvable::unwrap)) + cdkBuilder.postTrainingReport(postTrainingReport.let(IResolvable.Companion::unwrap)) } /** * @param postTrainingReport The post-training bias report for a model. */ override fun postTrainingReport(postTrainingReport: MetricsSourceProperty) { - cdkBuilder.postTrainingReport(postTrainingReport.let(MetricsSourceProperty::unwrap)) + cdkBuilder.postTrainingReport(postTrainingReport.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -2360,14 +2360,14 @@ public open class CfnModelPackage( * @param preTrainingReport The pre-training bias report for a model. */ override fun preTrainingReport(preTrainingReport: IResolvable) { - cdkBuilder.preTrainingReport(preTrainingReport.let(IResolvable::unwrap)) + cdkBuilder.preTrainingReport(preTrainingReport.let(IResolvable.Companion::unwrap)) } /** * @param preTrainingReport The pre-training bias report for a model. */ override fun preTrainingReport(preTrainingReport: MetricsSourceProperty) { - cdkBuilder.preTrainingReport(preTrainingReport.let(MetricsSourceProperty::unwrap)) + cdkBuilder.preTrainingReport(preTrainingReport.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -2382,14 +2382,14 @@ public open class CfnModelPackage( * @param report The bias report for a model. */ override fun report(report: IResolvable) { - cdkBuilder.report(report.let(IResolvable::unwrap)) + cdkBuilder.report(report.let(IResolvable.Companion::unwrap)) } /** * @param report The bias report for a model. */ override fun report(report: MetricsSourceProperty) { - cdkBuilder.report(report.let(MetricsSourceProperty::unwrap)) + cdkBuilder.report(report.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -2505,14 +2505,14 @@ public open class CfnModelPackage( * @param s3DataSource The S3 location of the data source that is associated with a channel. */ override fun s3DataSource(s3DataSource: IResolvable) { - cdkBuilder.s3DataSource(s3DataSource.let(IResolvable::unwrap)) + cdkBuilder.s3DataSource(s3DataSource.let(IResolvable.Companion::unwrap)) } /** * @param s3DataSource The S3 location of the data source that is associated with a channel. */ override fun s3DataSource(s3DataSource: S3DataSourceProperty) { - cdkBuilder.s3DataSource(s3DataSource.let(S3DataSourceProperty::unwrap)) + cdkBuilder.s3DataSource(s3DataSource.let(S3DataSourceProperty.Companion::unwrap)) } /** @@ -2766,7 +2766,7 @@ public open class CfnModelPackage( * monitor is set using the model package. */ override fun bias(bias: IResolvable) { - cdkBuilder.bias(bias.let(IResolvable::unwrap)) + cdkBuilder.bias(bias.let(IResolvable.Companion::unwrap)) } /** @@ -2774,7 +2774,7 @@ public open class CfnModelPackage( * monitor is set using the model package. */ override fun bias(bias: DriftCheckBiasProperty) { - cdkBuilder.bias(bias.let(DriftCheckBiasProperty::unwrap)) + cdkBuilder.bias(bias.let(DriftCheckBiasProperty.Companion::unwrap)) } /** @@ -2791,7 +2791,7 @@ public open class CfnModelPackage( * when the model monitor is set using the model package. */ override fun explainability(explainability: IResolvable) { - cdkBuilder.explainability(explainability.let(IResolvable::unwrap)) + cdkBuilder.explainability(explainability.let(IResolvable.Companion::unwrap)) } /** @@ -2799,7 +2799,7 @@ public open class CfnModelPackage( * when the model monitor is set using the model package. */ override fun explainability(explainability: DriftCheckExplainabilityProperty) { - cdkBuilder.explainability(explainability.let(DriftCheckExplainabilityProperty::unwrap)) + cdkBuilder.explainability(explainability.let(DriftCheckExplainabilityProperty.Companion::unwrap)) } /** @@ -2817,7 +2817,7 @@ public open class CfnModelPackage( * used when the model monitor is set using the model package. */ override fun modelDataQuality(modelDataQuality: IResolvable) { - cdkBuilder.modelDataQuality(modelDataQuality.let(IResolvable::unwrap)) + cdkBuilder.modelDataQuality(modelDataQuality.let(IResolvable.Companion::unwrap)) } /** @@ -2825,7 +2825,7 @@ public open class CfnModelPackage( * used when the model monitor is set using the model package. */ override fun modelDataQuality(modelDataQuality: DriftCheckModelDataQualityProperty) { - cdkBuilder.modelDataQuality(modelDataQuality.let(DriftCheckModelDataQualityProperty::unwrap)) + cdkBuilder.modelDataQuality(modelDataQuality.let(DriftCheckModelDataQualityProperty.Companion::unwrap)) } /** @@ -2843,7 +2843,7 @@ public open class CfnModelPackage( * when the model monitor is set using the model package. */ override fun modelQuality(modelQuality: IResolvable) { - cdkBuilder.modelQuality(modelQuality.let(IResolvable::unwrap)) + cdkBuilder.modelQuality(modelQuality.let(IResolvable.Companion::unwrap)) } /** @@ -2851,7 +2851,7 @@ public open class CfnModelPackage( * when the model monitor is set using the model package. */ override fun modelQuality(modelQuality: DriftCheckModelQualityProperty) { - cdkBuilder.modelQuality(modelQuality.let(DriftCheckModelQualityProperty::unwrap)) + cdkBuilder.modelQuality(modelQuality.let(DriftCheckModelQualityProperty.Companion::unwrap)) } /** @@ -3046,14 +3046,14 @@ public open class CfnModelPackage( * @param configFile The bias config file for a model. */ override fun configFile(configFile: IResolvable) { - cdkBuilder.configFile(configFile.let(IResolvable::unwrap)) + cdkBuilder.configFile(configFile.let(IResolvable.Companion::unwrap)) } /** * @param configFile The bias config file for a model. */ override fun configFile(configFile: FileSourceProperty) { - cdkBuilder.configFile(configFile.let(FileSourceProperty::unwrap)) + cdkBuilder.configFile(configFile.let(FileSourceProperty.Companion::unwrap)) } /** @@ -3068,14 +3068,14 @@ public open class CfnModelPackage( * @param postTrainingConstraints The post-training constraints. */ override fun postTrainingConstraints(postTrainingConstraints: IResolvable) { - cdkBuilder.postTrainingConstraints(postTrainingConstraints.let(IResolvable::unwrap)) + cdkBuilder.postTrainingConstraints(postTrainingConstraints.let(IResolvable.Companion::unwrap)) } /** * @param postTrainingConstraints The post-training constraints. */ override fun postTrainingConstraints(postTrainingConstraints: MetricsSourceProperty) { - cdkBuilder.postTrainingConstraints(postTrainingConstraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.postTrainingConstraints(postTrainingConstraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3091,14 +3091,14 @@ public open class CfnModelPackage( * @param preTrainingConstraints The pre-training constraints. */ override fun preTrainingConstraints(preTrainingConstraints: IResolvable) { - cdkBuilder.preTrainingConstraints(preTrainingConstraints.let(IResolvable::unwrap)) + cdkBuilder.preTrainingConstraints(preTrainingConstraints.let(IResolvable.Companion::unwrap)) } /** * @param preTrainingConstraints The pre-training constraints. */ override fun preTrainingConstraints(preTrainingConstraints: MetricsSourceProperty) { - cdkBuilder.preTrainingConstraints(preTrainingConstraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.preTrainingConstraints(preTrainingConstraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3252,14 +3252,14 @@ public open class CfnModelPackage( * @param configFile The explainability config file for the model. */ override fun configFile(configFile: IResolvable) { - cdkBuilder.configFile(configFile.let(IResolvable::unwrap)) + cdkBuilder.configFile(configFile.let(IResolvable.Companion::unwrap)) } /** * @param configFile The explainability config file for the model. */ override fun configFile(configFile: FileSourceProperty) { - cdkBuilder.configFile(configFile.let(FileSourceProperty::unwrap)) + cdkBuilder.configFile(configFile.let(FileSourceProperty.Companion::unwrap)) } /** @@ -3274,14 +3274,14 @@ public open class CfnModelPackage( * @param constraints The drift check explainability constraints. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** * @param constraints The drift check explainability constraints. */ override fun constraints(constraints: MetricsSourceProperty) { - cdkBuilder.constraints(constraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.constraints(constraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3427,14 +3427,14 @@ public open class CfnModelPackage( * @param constraints The drift check model data quality constraints. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** * @param constraints The drift check model data quality constraints. */ override fun constraints(constraints: MetricsSourceProperty) { - cdkBuilder.constraints(constraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.constraints(constraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3449,14 +3449,14 @@ public open class CfnModelPackage( * @param statistics The drift check model data quality statistics. */ override fun statistics(statistics: IResolvable) { - cdkBuilder.statistics(statistics.let(IResolvable::unwrap)) + cdkBuilder.statistics(statistics.let(IResolvable.Companion::unwrap)) } /** * @param statistics The drift check model data quality statistics. */ override fun statistics(statistics: MetricsSourceProperty) { - cdkBuilder.statistics(statistics.let(MetricsSourceProperty::unwrap)) + cdkBuilder.statistics(statistics.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3603,14 +3603,14 @@ public open class CfnModelPackage( * @param constraints The drift check model quality constraints. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** * @param constraints The drift check model quality constraints. */ override fun constraints(constraints: MetricsSourceProperty) { - cdkBuilder.constraints(constraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.constraints(constraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3625,14 +3625,14 @@ public open class CfnModelPackage( * @param statistics The drift check model quality statistics. */ override fun statistics(statistics: IResolvable) { - cdkBuilder.statistics(statistics.let(IResolvable::unwrap)) + cdkBuilder.statistics(statistics.let(IResolvable.Companion::unwrap)) } /** * @param statistics The drift check model quality statistics. */ override fun statistics(statistics: MetricsSourceProperty) { - cdkBuilder.statistics(statistics.let(MetricsSourceProperty::unwrap)) + cdkBuilder.statistics(statistics.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -3745,14 +3745,14 @@ public open class CfnModelPackage( * @param report The explainability report for a model. */ override fun report(report: IResolvable) { - cdkBuilder.report(report.let(IResolvable::unwrap)) + cdkBuilder.report(report.let(IResolvable.Companion::unwrap)) } /** * @param report The explainability report for a model. */ override fun report(report: MetricsSourceProperty) { - cdkBuilder.report(report.let(MetricsSourceProperty::unwrap)) + cdkBuilder.report(report.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -4096,7 +4096,7 @@ public open class CfnModelPackage( * inference code. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -4636,14 +4636,14 @@ public open class CfnModelPackage( * @param constraints Data quality constraints for a model. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** * @param constraints Data quality constraints for a model. */ override fun constraints(constraints: MetricsSourceProperty) { - cdkBuilder.constraints(constraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.constraints(constraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -4658,14 +4658,14 @@ public open class CfnModelPackage( * @param statistics Data quality statistics for a model. */ override fun statistics(statistics: IResolvable) { - cdkBuilder.statistics(statistics.let(IResolvable::unwrap)) + cdkBuilder.statistics(statistics.let(IResolvable.Companion::unwrap)) } /** * @param statistics Data quality statistics for a model. */ override fun statistics(statistics: MetricsSourceProperty) { - cdkBuilder.statistics(statistics.let(MetricsSourceProperty::unwrap)) + cdkBuilder.statistics(statistics.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -4981,14 +4981,14 @@ public open class CfnModelPackage( * @param bias Metrics that measure bias in a model. */ override fun bias(bias: IResolvable) { - cdkBuilder.bias(bias.let(IResolvable::unwrap)) + cdkBuilder.bias(bias.let(IResolvable.Companion::unwrap)) } /** * @param bias Metrics that measure bias in a model. */ override fun bias(bias: BiasProperty) { - cdkBuilder.bias(bias.let(BiasProperty::unwrap)) + cdkBuilder.bias(bias.let(BiasProperty.Companion::unwrap)) } /** @@ -5002,14 +5002,14 @@ public open class CfnModelPackage( * @param explainability Metrics that help explain a model. */ override fun explainability(explainability: IResolvable) { - cdkBuilder.explainability(explainability.let(IResolvable::unwrap)) + cdkBuilder.explainability(explainability.let(IResolvable.Companion::unwrap)) } /** * @param explainability Metrics that help explain a model. */ override fun explainability(explainability: ExplainabilityProperty) { - cdkBuilder.explainability(explainability.let(ExplainabilityProperty::unwrap)) + cdkBuilder.explainability(explainability.let(ExplainabilityProperty.Companion::unwrap)) } /** @@ -5024,14 +5024,14 @@ public open class CfnModelPackage( * @param modelDataQuality Metrics that measure the quality of the input data for a model. */ override fun modelDataQuality(modelDataQuality: IResolvable) { - cdkBuilder.modelDataQuality(modelDataQuality.let(IResolvable::unwrap)) + cdkBuilder.modelDataQuality(modelDataQuality.let(IResolvable.Companion::unwrap)) } /** * @param modelDataQuality Metrics that measure the quality of the input data for a model. */ override fun modelDataQuality(modelDataQuality: ModelDataQualityProperty) { - cdkBuilder.modelDataQuality(modelDataQuality.let(ModelDataQualityProperty::unwrap)) + cdkBuilder.modelDataQuality(modelDataQuality.let(ModelDataQualityProperty.Companion::unwrap)) } /** @@ -5046,14 +5046,14 @@ public open class CfnModelPackage( * @param modelQuality Metrics that measure the quality of a model. */ override fun modelQuality(modelQuality: IResolvable) { - cdkBuilder.modelQuality(modelQuality.let(IResolvable::unwrap)) + cdkBuilder.modelQuality(modelQuality.let(IResolvable.Companion::unwrap)) } /** * @param modelQuality Metrics that measure the quality of a model. */ override fun modelQuality(modelQuality: ModelQualityProperty) { - cdkBuilder.modelQuality(modelQuality.let(ModelQualityProperty::unwrap)) + cdkBuilder.modelQuality(modelQuality.let(ModelQualityProperty.Companion::unwrap)) } /** @@ -5323,7 +5323,7 @@ public open class CfnModelPackage( * We support up to 16 entries in the map. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -5570,7 +5570,7 @@ public open class CfnModelPackage( * @param validationStatuses The validation status of the model package. */ override fun validationStatuses(validationStatuses: IResolvable) { - cdkBuilder.validationStatuses(validationStatuses.let(IResolvable::unwrap)) + cdkBuilder.validationStatuses(validationStatuses.let(IResolvable.Companion::unwrap)) } /** @@ -5850,14 +5850,14 @@ public open class CfnModelPackage( * @param constraints Model quality constraints. */ override fun constraints(constraints: IResolvable) { - cdkBuilder.constraints(constraints.let(IResolvable::unwrap)) + cdkBuilder.constraints(constraints.let(IResolvable.Companion::unwrap)) } /** * @param constraints Model quality constraints. */ override fun constraints(constraints: MetricsSourceProperty) { - cdkBuilder.constraints(constraints.let(MetricsSourceProperty::unwrap)) + cdkBuilder.constraints(constraints.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -5872,14 +5872,14 @@ public open class CfnModelPackage( * @param statistics Model quality statistics. */ override fun statistics(statistics: IResolvable) { - cdkBuilder.statistics(statistics.let(IResolvable::unwrap)) + cdkBuilder.statistics(statistics.let(IResolvable.Companion::unwrap)) } /** * @param statistics Model quality statistics. */ override fun statistics(statistics: MetricsSourceProperty) { - cdkBuilder.statistics(statistics.let(MetricsSourceProperty::unwrap)) + cdkBuilder.statistics(statistics.let(MetricsSourceProperty.Companion::unwrap)) } /** @@ -6449,7 +6449,7 @@ public open class CfnModelPackage( * @param sourceAlgorithms A list of the algorithms that were used to create a model package. */ override fun sourceAlgorithms(sourceAlgorithms: IResolvable) { - cdkBuilder.sourceAlgorithms(sourceAlgorithms.let(IResolvable::unwrap)) + cdkBuilder.sourceAlgorithms(sourceAlgorithms.let(IResolvable.Companion::unwrap)) } /** @@ -6693,7 +6693,7 @@ public open class CfnModelPackage( * the input data that the model can consume. */ override fun dataSource(dataSource: IResolvable) { - cdkBuilder.dataSource(dataSource.let(IResolvable::unwrap)) + cdkBuilder.dataSource(dataSource.let(IResolvable.Companion::unwrap)) } /** @@ -6701,7 +6701,7 @@ public open class CfnModelPackage( * the input data that the model can consume. */ override fun dataSource(dataSource: DataSourceProperty) { - cdkBuilder.dataSource(dataSource.let(DataSourceProperty::unwrap)) + cdkBuilder.dataSource(dataSource.let(DataSourceProperty.Companion::unwrap)) } /** @@ -7067,7 +7067,7 @@ public open class CfnModelPackage( * We support up to 16 key and values entries in the map. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -7100,7 +7100,7 @@ public open class CfnModelPackage( * consumes it. */ override fun transformInput(transformInput: IResolvable) { - cdkBuilder.transformInput(transformInput.let(IResolvable::unwrap)) + cdkBuilder.transformInput(transformInput.let(IResolvable.Companion::unwrap)) } /** @@ -7108,7 +7108,7 @@ public open class CfnModelPackage( * consumes it. */ override fun transformInput(transformInput: TransformInputProperty) { - cdkBuilder.transformInput(transformInput.let(TransformInputProperty::unwrap)) + cdkBuilder.transformInput(transformInput.let(TransformInputProperty.Companion::unwrap)) } /** @@ -7125,7 +7125,7 @@ public open class CfnModelPackage( * save the results from the transform job. */ override fun transformOutput(transformOutput: IResolvable) { - cdkBuilder.transformOutput(transformOutput.let(IResolvable::unwrap)) + cdkBuilder.transformOutput(transformOutput.let(IResolvable.Companion::unwrap)) } /** @@ -7133,7 +7133,7 @@ public open class CfnModelPackage( * save the results from the transform job. */ override fun transformOutput(transformOutput: TransformOutputProperty) { - cdkBuilder.transformOutput(transformOutput.let(TransformOutputProperty::unwrap)) + cdkBuilder.transformOutput(transformOutput.let(TransformOutputProperty.Companion::unwrap)) } /** @@ -7149,14 +7149,14 @@ public open class CfnModelPackage( * @param transformResources Identifies the ML compute instances for the transform job. */ override fun transformResources(transformResources: IResolvable) { - cdkBuilder.transformResources(transformResources.let(IResolvable::unwrap)) + cdkBuilder.transformResources(transformResources.let(IResolvable.Companion::unwrap)) } /** * @param transformResources Identifies the ML compute instances for the transform job. */ override fun transformResources(transformResources: TransformResourcesProperty) { - cdkBuilder.transformResources(transformResources.let(TransformResourcesProperty::unwrap)) + cdkBuilder.transformResources(transformResources.let(TransformResourcesProperty.Companion::unwrap)) } /** @@ -7938,7 +7938,7 @@ public open class CfnModelPackage( * transform job used for the validation of the model package. */ override fun transformJobDefinition(transformJobDefinition: IResolvable) { - cdkBuilder.transformJobDefinition(transformJobDefinition.let(IResolvable::unwrap)) + cdkBuilder.transformJobDefinition(transformJobDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -7946,7 +7946,7 @@ public open class CfnModelPackage( * transform job used for the validation of the model package. */ override fun transformJobDefinition(transformJobDefinition: TransformJobDefinitionProperty) { - cdkBuilder.transformJobDefinition(transformJobDefinition.let(TransformJobDefinitionProperty::unwrap)) + cdkBuilder.transformJobDefinition(transformJobDefinition.let(TransformJobDefinitionProperty.Companion::unwrap)) } /** @@ -8110,7 +8110,7 @@ public open class CfnModelPackage( * which specifies a batch transform job that SageMaker runs to validate your model package. */ override fun validationProfiles(validationProfiles: IResolvable) { - cdkBuilder.validationProfiles(validationProfiles.let(IResolvable::unwrap)) + cdkBuilder.validationProfiles(validationProfiles.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroup.kt index 11c9e37d6c..d1a5390e7f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroup.kt @@ -49,8 +49,8 @@ public open class CfnModelPackageGroup( id: String, props: CfnModelPackageGroupProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModelPackageGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelPackageGroupProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModelPackageGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelPackageGroupProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnModelPackageGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnModelPackageGroup( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnModelPackageGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroupProps.kt index 3d6c9f5255..1229876c48 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageGroupProps.kt @@ -149,7 +149,7 @@ public interface CfnModelPackageGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageProps.kt index 33b014e238..cae1069640 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelPackageProps.kt @@ -816,7 +816,7 @@ public interface CfnModelPackageProps { * objects. */ override fun additionalInferenceSpecifications(additionalInferenceSpecifications: IResolvable) { - cdkBuilder.additionalInferenceSpecifications(additionalInferenceSpecifications.let(IResolvable::unwrap)) + cdkBuilder.additionalInferenceSpecifications(additionalInferenceSpecifications.let(IResolvable.Companion::unwrap)) } /** @@ -844,7 +844,7 @@ public interface CfnModelPackageProps { */ override fun additionalInferenceSpecificationsToAdd(additionalInferenceSpecificationsToAdd: IResolvable) { - cdkBuilder.additionalInferenceSpecificationsToAdd(additionalInferenceSpecificationsToAdd.let(IResolvable::unwrap)) + cdkBuilder.additionalInferenceSpecificationsToAdd(additionalInferenceSpecificationsToAdd.let(IResolvable.Companion::unwrap)) } /** @@ -898,7 +898,7 @@ public interface CfnModelPackageProps { * Marketplace](https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-list.html) . */ override fun certifyForMarketplace(certifyForMarketplace: IResolvable) { - cdkBuilder.certifyForMarketplace(certifyForMarketplace.let(IResolvable::unwrap)) + cdkBuilder.certifyForMarketplace(certifyForMarketplace.let(IResolvable.Companion::unwrap)) } /** @@ -912,7 +912,7 @@ public interface CfnModelPackageProps { * @param customerMetadataProperties The metadata properties for the model package. */ override fun customerMetadataProperties(customerMetadataProperties: IResolvable) { - cdkBuilder.customerMetadataProperties(customerMetadataProperties.let(IResolvable::unwrap)) + cdkBuilder.customerMetadataProperties(customerMetadataProperties.let(IResolvable.Companion::unwrap)) } /** @@ -935,7 +935,7 @@ public interface CfnModelPackageProps { * model monitor is set using the model package. */ override fun driftCheckBaselines(driftCheckBaselines: IResolvable) { - cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(IResolvable::unwrap)) + cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(IResolvable.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public interface CfnModelPackageProps { */ override fun driftCheckBaselines(driftCheckBaselines: CfnModelPackage.DriftCheckBaselinesProperty) { - cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(CfnModelPackage.DriftCheckBaselinesProperty::unwrap)) + cdkBuilder.driftCheckBaselines(driftCheckBaselines.let(CfnModelPackage.DriftCheckBaselinesProperty.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public interface CfnModelPackageProps { * job is run. */ override fun inferenceSpecification(inferenceSpecification: IResolvable) { - cdkBuilder.inferenceSpecification(inferenceSpecification.let(IResolvable::unwrap)) + cdkBuilder.inferenceSpecification(inferenceSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -971,7 +971,7 @@ public interface CfnModelPackageProps { */ override fun inferenceSpecification(inferenceSpecification: CfnModelPackage.InferenceSpecificationProperty) { - cdkBuilder.inferenceSpecification(inferenceSpecification.let(CfnModelPackage.InferenceSpecificationProperty::unwrap)) + cdkBuilder.inferenceSpecification(inferenceSpecification.let(CfnModelPackage.InferenceSpecificationProperty.Companion::unwrap)) } /** @@ -997,7 +997,7 @@ public interface CfnModelPackageProps { * component. */ override fun metadataProperties(metadataProperties: IResolvable) { - cdkBuilder.metadataProperties(metadataProperties.let(IResolvable::unwrap)) + cdkBuilder.metadataProperties(metadataProperties.let(IResolvable.Companion::unwrap)) } /** @@ -1006,7 +1006,7 @@ public interface CfnModelPackageProps { */ override fun metadataProperties(metadataProperties: CfnModelPackage.MetadataPropertiesProperty) { - cdkBuilder.metadataProperties(metadataProperties.let(CfnModelPackage.MetadataPropertiesProperty::unwrap)) + cdkBuilder.metadataProperties(metadataProperties.let(CfnModelPackage.MetadataPropertiesProperty.Companion::unwrap)) } /** @@ -1034,14 +1034,14 @@ public interface CfnModelPackageProps { * @param modelMetrics Metrics for the model. */ override fun modelMetrics(modelMetrics: IResolvable) { - cdkBuilder.modelMetrics(modelMetrics.let(IResolvable::unwrap)) + cdkBuilder.modelMetrics(modelMetrics.let(IResolvable.Companion::unwrap)) } /** * @param modelMetrics Metrics for the model. */ override fun modelMetrics(modelMetrics: CfnModelPackage.ModelMetricsProperty) { - cdkBuilder.modelMetrics(modelMetrics.let(CfnModelPackage.ModelMetricsProperty::unwrap)) + cdkBuilder.modelMetrics(modelMetrics.let(CfnModelPackage.ModelMetricsProperty.Companion::unwrap)) } /** @@ -1079,7 +1079,7 @@ public interface CfnModelPackageProps { * model package. */ override fun modelPackageStatusDetails(modelPackageStatusDetails: IResolvable) { - cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(IResolvable::unwrap)) + cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1088,7 +1088,7 @@ public interface CfnModelPackageProps { */ override fun modelPackageStatusDetails(modelPackageStatusDetails: CfnModelPackage.ModelPackageStatusDetailsProperty) { - cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(CfnModelPackage.ModelPackageStatusDetailsProperty::unwrap)) + cdkBuilder.modelPackageStatusDetails(modelPackageStatusDetails.let(CfnModelPackage.ModelPackageStatusDetailsProperty.Companion::unwrap)) } /** @@ -1130,7 +1130,7 @@ public interface CfnModelPackageProps { * package. */ override fun sourceAlgorithmSpecification(sourceAlgorithmSpecification: IResolvable) { - cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(IResolvable::unwrap)) + cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1139,7 +1139,7 @@ public interface CfnModelPackageProps { */ override fun sourceAlgorithmSpecification(sourceAlgorithmSpecification: CfnModelPackage.SourceAlgorithmSpecificationProperty) { - cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(CfnModelPackage.SourceAlgorithmSpecificationProperty::unwrap)) + cdkBuilder.sourceAlgorithmSpecification(sourceAlgorithmSpecification.let(CfnModelPackage.SourceAlgorithmSpecificationProperty.Companion::unwrap)) } /** @@ -1160,7 +1160,7 @@ public interface CfnModelPackageProps { * Reference Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1184,7 +1184,7 @@ public interface CfnModelPackageProps { * your model package. */ override fun validationSpecification(validationSpecification: IResolvable) { - cdkBuilder.validationSpecification(validationSpecification.let(IResolvable::unwrap)) + cdkBuilder.validationSpecification(validationSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -1193,7 +1193,7 @@ public interface CfnModelPackageProps { */ override fun validationSpecification(validationSpecification: CfnModelPackage.ValidationSpecificationProperty) { - cdkBuilder.validationSpecification(validationSpecification.let(CfnModelPackage.ValidationSpecificationProperty::unwrap)) + cdkBuilder.validationSpecification(validationSpecification.let(CfnModelPackage.ValidationSpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelProps.kt index 18d7579fdd..63efb53014 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelProps.kt @@ -348,7 +348,7 @@ public interface CfnModelProps { * @param containers Specifies the containers in the inference pipeline. */ override fun containers(containers: IResolvable) { - cdkBuilder.containers(containers.let(IResolvable::unwrap)) + cdkBuilder.containers(containers.let(IResolvable.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public interface CfnModelProps { * No inbound or outbound network calls can be made to or from the model container. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface CfnModelProps { * endpoint are called. */ override fun inferenceExecutionConfig(inferenceExecutionConfig: IResolvable) { - cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(IResolvable::unwrap)) + cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(IResolvable.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnModelProps { */ override fun inferenceExecutionConfig(inferenceExecutionConfig: CfnModel.InferenceExecutionConfigProperty) { - cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(CfnModel.InferenceExecutionConfigProperty::unwrap)) + cdkBuilder.inferenceExecutionConfig(inferenceExecutionConfig.let(CfnModel.InferenceExecutionConfigProperty.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface CfnModelProps { * deployed for predictions. */ override fun primaryContainer(primaryContainer: IResolvable) { - cdkBuilder.primaryContainer(primaryContainer.let(IResolvable::unwrap)) + cdkBuilder.primaryContainer(primaryContainer.let(IResolvable.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface CfnModelProps { * deployed for predictions. */ override fun primaryContainer(primaryContainer: CfnModel.ContainerDefinitionProperty) { - cdkBuilder.primaryContainer(primaryContainer.let(CfnModel.ContainerDefinitionProperty::unwrap)) + cdkBuilder.primaryContainer(primaryContainer.let(CfnModel.ContainerDefinitionProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public interface CfnModelProps { * in the *AWS Billing and Cost Management User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface CfnModelProps { * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html) . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public interface CfnModelProps { * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html) . */ override fun vpcConfig(vpcConfig: CfnModel.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnModel.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnModel.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinition.kt index 42eed21c17..2cdfae895a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinition.kt @@ -146,8 +146,8 @@ public open class CfnModelQualityJobDefinition( id: String, props: CfnModelQualityJobDefinitionProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnModelQualityJobDefinitionProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnModelQualityJobDefinitionProps.Companion::unwrap)) ) public constructor( @@ -185,7 +185,7 @@ public open class CfnModelQualityJobDefinition( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -209,14 +209,14 @@ public open class CfnModelQualityJobDefinition( * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: IResolvable) { - unwrap(this).setJobResources(`value`.let(IResolvable::unwrap)) + unwrap(this).setJobResources(`value`.let(IResolvable.Companion::unwrap)) } /** * Identifies the resources to deploy for a monitoring job. */ public open fun jobResources(`value`: MonitoringResourcesProperty) { - unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty::unwrap)) + unwrap(this).setJobResources(`value`.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -237,14 +237,14 @@ public open class CfnModelQualityJobDefinition( * Container image configuration object for the monitoring job. */ public open fun modelQualityAppSpecification(`value`: IResolvable) { - unwrap(this).setModelQualityAppSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelQualityAppSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * Container image configuration object for the monitoring job. */ public open fun modelQualityAppSpecification(`value`: ModelQualityAppSpecificationProperty) { - unwrap(this).setModelQualityAppSpecification(`value`.let(ModelQualityAppSpecificationProperty::unwrap)) + unwrap(this).setModelQualityAppSpecification(`value`.let(ModelQualityAppSpecificationProperty.Companion::unwrap)) } /** @@ -265,14 +265,14 @@ public open class CfnModelQualityJobDefinition( * Specifies the constraints and baselines for the monitoring job. */ public open fun modelQualityBaselineConfig(`value`: IResolvable) { - unwrap(this).setModelQualityBaselineConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelQualityBaselineConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the constraints and baselines for the monitoring job. */ public open fun modelQualityBaselineConfig(`value`: ModelQualityBaselineConfigProperty) { - unwrap(this).setModelQualityBaselineConfig(`value`.let(ModelQualityBaselineConfigProperty::unwrap)) + unwrap(this).setModelQualityBaselineConfig(`value`.let(ModelQualityBaselineConfigProperty.Companion::unwrap)) } /** @@ -293,14 +293,14 @@ public open class CfnModelQualityJobDefinition( * A list of the inputs that are monitored. */ public open fun modelQualityJobInput(`value`: IResolvable) { - unwrap(this).setModelQualityJobInput(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelQualityJobInput(`value`.let(IResolvable.Companion::unwrap)) } /** * A list of the inputs that are monitored. */ public open fun modelQualityJobInput(`value`: ModelQualityJobInputProperty) { - unwrap(this).setModelQualityJobInput(`value`.let(ModelQualityJobInputProperty::unwrap)) + unwrap(this).setModelQualityJobInput(`value`.let(ModelQualityJobInputProperty.Companion::unwrap)) } /** @@ -320,14 +320,14 @@ public open class CfnModelQualityJobDefinition( * The output configuration for monitoring jobs. */ public open fun modelQualityJobOutputConfig(`value`: IResolvable) { - unwrap(this).setModelQualityJobOutputConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setModelQualityJobOutputConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The output configuration for monitoring jobs. */ public open fun modelQualityJobOutputConfig(`value`: MonitoringOutputConfigProperty) { - unwrap(this).setModelQualityJobOutputConfig(`value`.let(MonitoringOutputConfigProperty::unwrap)) + unwrap(this).setModelQualityJobOutputConfig(`value`.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -348,14 +348,14 @@ public open class CfnModelQualityJobDefinition( * Specifies the network configuration for the monitoring job. */ public open fun networkConfig(`value`: IResolvable) { - unwrap(this).setNetworkConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the network configuration for the monitoring job. */ public open fun networkConfig(`value`: NetworkConfigProperty) { - unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty::unwrap)) + unwrap(this).setNetworkConfig(`value`.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -389,14 +389,14 @@ public open class CfnModelQualityJobDefinition( * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: IResolvable) { - unwrap(this).setStoppingCondition(`value`.let(IResolvable::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(IResolvable.Companion::unwrap)) } /** * A time limit for how long the monitoring job is allowed to run before stopping. */ public open fun stoppingCondition(`value`: StoppingConditionProperty) { - unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty::unwrap)) + unwrap(this).setStoppingCondition(`value`.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public open class CfnModelQualityJobDefinition( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public open class CfnModelQualityJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -736,7 +736,7 @@ public open class CfnModelQualityJobDefinition( * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -758,7 +758,7 @@ public open class CfnModelQualityJobDefinition( * job. */ override fun modelQualityAppSpecification(modelQualityAppSpecification: IResolvable) { - cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -770,7 +770,7 @@ public open class CfnModelQualityJobDefinition( */ override fun modelQualityAppSpecification(modelQualityAppSpecification: ModelQualityAppSpecificationProperty) { - cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(ModelQualityAppSpecificationProperty::unwrap)) + cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(ModelQualityAppSpecificationProperty.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class CfnModelQualityJobDefinition( * job. */ override fun modelQualityBaselineConfig(modelQualityBaselineConfig: IResolvable) { - cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnModelQualityJobDefinition( */ override fun modelQualityBaselineConfig(modelQualityBaselineConfig: ModelQualityBaselineConfigProperty) { - cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(ModelQualityBaselineConfigProperty::unwrap)) + cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(ModelQualityBaselineConfigProperty.Companion::unwrap)) } /** @@ -833,7 +833,7 @@ public open class CfnModelQualityJobDefinition( * @param modelQualityJobInput A list of the inputs that are monitored. */ override fun modelQualityJobInput(modelQualityJobInput: IResolvable) { - cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(IResolvable::unwrap)) + cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnModelQualityJobDefinition( * @param modelQualityJobInput A list of the inputs that are monitored. */ override fun modelQualityJobInput(modelQualityJobInput: ModelQualityJobInputProperty) { - cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(ModelQualityJobInputProperty::unwrap)) + cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(ModelQualityJobInputProperty.Companion::unwrap)) } /** @@ -869,7 +869,7 @@ public open class CfnModelQualityJobDefinition( * @param modelQualityJobOutputConfig The output configuration for monitoring jobs. */ override fun modelQualityJobOutputConfig(modelQualityJobOutputConfig: IResolvable) { - cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -880,7 +880,7 @@ public open class CfnModelQualityJobDefinition( */ override fun modelQualityJobOutputConfig(modelQualityJobOutputConfig: MonitoringOutputConfigProperty) { - cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -903,7 +903,7 @@ public open class CfnModelQualityJobDefinition( * @param networkConfig Specifies the network configuration for the monitoring job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** @@ -913,7 +913,7 @@ public open class CfnModelQualityJobDefinition( * @param networkConfig Specifies the network configuration for the monitoring job. */ override fun networkConfig(networkConfig: NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -947,7 +947,7 @@ public open class CfnModelQualityJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -958,7 +958,7 @@ public open class CfnModelQualityJobDefinition( * before stopping. */ override fun stoppingCondition(stoppingCondition: StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -984,7 +984,7 @@ public open class CfnModelQualityJobDefinition( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1250,14 +1250,14 @@ public open class CfnModelQualityJobDefinition( * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: IResolvable) { - cdkBuilder.datasetFormat(datasetFormat.let(IResolvable::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(IResolvable.Companion::unwrap)) } /** * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: DatasetFormatProperty) { - cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty.Companion::unwrap)) } /** @@ -1782,7 +1782,7 @@ public open class CfnModelQualityJobDefinition( * @param header A boolean flag indicating if given CSV has header. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1922,14 +1922,14 @@ public open class CfnModelQualityJobDefinition( * @param csv The CSV format. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** * @param csv The CSV format. */ override fun csv(csv: CsvProperty) { - cdkBuilder.csv(csv.let(CsvProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvProperty.Companion::unwrap)) } /** @@ -1943,14 +1943,14 @@ public open class CfnModelQualityJobDefinition( * @param json The Json format. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** * @param json The Json format. */ override fun json(json: JsonProperty) { - cdkBuilder.json(json.let(JsonProperty::unwrap)) + cdkBuilder.json(json.let(JsonProperty.Companion::unwrap)) } /** @@ -1971,7 +1971,7 @@ public open class CfnModelQualityJobDefinition( * @param parquet A flag indicating if the dataset format is Parquet. */ override fun parquet(parquet: IResolvable) { - cdkBuilder.parquet(parquet.let(IResolvable::unwrap)) + cdkBuilder.parquet(parquet.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2452,7 +2452,7 @@ public open class CfnModelQualityJobDefinition( * @param line A boolean flag indicating if it is JSON line format. */ override fun line(line: IResolvable) { - cdkBuilder.line(line.let(IResolvable::unwrap)) + cdkBuilder.line(line.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2682,7 +2682,7 @@ public open class CfnModelQualityJobDefinition( * runs. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -2901,14 +2901,14 @@ public open class CfnModelQualityJobDefinition( * @param constraintsResource The constraints resource for a monitoring job. */ override fun constraintsResource(constraintsResource: IResolvable) { - cdkBuilder.constraintsResource(constraintsResource.let(IResolvable::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(IResolvable.Companion::unwrap)) } /** * @param constraintsResource The constraints resource for a monitoring job. */ override fun constraintsResource(constraintsResource: ConstraintsResourceProperty) { - cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty.Companion::unwrap)) } /** @@ -3108,14 +3108,14 @@ public open class CfnModelQualityJobDefinition( * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: IResolvable) { - cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable.Companion::unwrap)) } /** * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: BatchTransformInputProperty) { - cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty.Companion::unwrap)) } /** @@ -3131,14 +3131,14 @@ public open class CfnModelQualityJobDefinition( * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: IResolvable) { - cdkBuilder.endpointInput(endpointInput.let(IResolvable::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(IResolvable.Companion::unwrap)) } /** * @param endpointInput Input object for the endpoint. */ override fun endpointInput(endpointInput: EndpointInputProperty) { - cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty.Companion::unwrap)) } /** @@ -3153,14 +3153,14 @@ public open class CfnModelQualityJobDefinition( * @param groundTruthS3Input The ground truth label provided for the model. */ override fun groundTruthS3Input(groundTruthS3Input: IResolvable) { - cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(IResolvable::unwrap)) + cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(IResolvable.Companion::unwrap)) } /** * @param groundTruthS3Input The ground truth label provided for the model. */ override fun groundTruthS3Input(groundTruthS3Input: MonitoringGroundTruthS3InputProperty) { - cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(MonitoringGroundTruthS3InputProperty::unwrap)) + cdkBuilder.groundTruthS3Input(groundTruthS3Input.let(MonitoringGroundTruthS3InputProperty.Companion::unwrap)) } /** @@ -3397,7 +3397,7 @@ public open class CfnModelQualityJobDefinition( * This is where the output of the periodic monitoring jobs is uploaded. */ override fun monitoringOutputs(monitoringOutputs: IResolvable) { - cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable::unwrap)) + cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -3525,7 +3525,7 @@ public open class CfnModelQualityJobDefinition( * saved. */ override fun s3Output(s3Output: IResolvable) { - cdkBuilder.s3Output(s3Output.let(IResolvable::unwrap)) + cdkBuilder.s3Output(s3Output.let(IResolvable.Companion::unwrap)) } /** @@ -3533,7 +3533,7 @@ public open class CfnModelQualityJobDefinition( * saved. */ override fun s3Output(s3Output: S3OutputProperty) { - cdkBuilder.s3Output(s3Output.let(S3OutputProperty::unwrap)) + cdkBuilder.s3Output(s3Output.let(S3OutputProperty.Companion::unwrap)) } /** @@ -3646,7 +3646,7 @@ public open class CfnModelQualityJobDefinition( * job. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3654,7 +3654,7 @@ public open class CfnModelQualityJobDefinition( * job. */ override fun clusterConfig(clusterConfig: ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -3833,7 +3833,7 @@ public open class CfnModelQualityJobDefinition( */ override fun enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption: IResolvable) { - cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable::unwrap)) + cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -3849,7 +3849,7 @@ public open class CfnModelQualityJobDefinition( * from the containers used for the processing job. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -3857,7 +3857,7 @@ public open class CfnModelQualityJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3865,7 +3865,7 @@ public open class CfnModelQualityJobDefinition( * Control access to and from your training and model containers by configuring the VPC. */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinitionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinitionProps.kt index a53586a201..fb4100b1d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinitionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnModelQualityJobDefinitionProps.kt @@ -414,7 +414,7 @@ public interface CfnModelQualityJobDefinitionProps { * @param jobResources Identifies the resources to deploy for a monitoring job. */ override fun jobResources(jobResources: IResolvable) { - cdkBuilder.jobResources(jobResources.let(IResolvable::unwrap)) + cdkBuilder.jobResources(jobResources.let(IResolvable.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface CfnModelQualityJobDefinitionProps { */ override fun jobResources(jobResources: CfnModelQualityJobDefinition.MonitoringResourcesProperty) { - cdkBuilder.jobResources(jobResources.let(CfnModelQualityJobDefinition.MonitoringResourcesProperty::unwrap)) + cdkBuilder.jobResources(jobResources.let(CfnModelQualityJobDefinition.MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface CfnModelQualityJobDefinitionProps { * job. */ override fun modelQualityAppSpecification(modelQualityAppSpecification: IResolvable) { - cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -448,7 +448,7 @@ public interface CfnModelQualityJobDefinitionProps { */ override fun modelQualityAppSpecification(modelQualityAppSpecification: CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty) { - cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty::unwrap)) + cdkBuilder.modelQualityAppSpecification(modelQualityAppSpecification.let(CfnModelQualityJobDefinition.ModelQualityAppSpecificationProperty.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public interface CfnModelQualityJobDefinitionProps { * job. */ override fun modelQualityBaselineConfig(modelQualityBaselineConfig: IResolvable) { - cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(IResolvable::unwrap)) + cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public interface CfnModelQualityJobDefinitionProps { */ override fun modelQualityBaselineConfig(modelQualityBaselineConfig: CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty) { - cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty::unwrap)) + cdkBuilder.modelQualityBaselineConfig(modelQualityBaselineConfig.let(CfnModelQualityJobDefinition.ModelQualityBaselineConfigProperty.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public interface CfnModelQualityJobDefinitionProps { * Currently endpoints are supported. */ override fun modelQualityJobInput(modelQualityJobInput: IResolvable) { - cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(IResolvable::unwrap)) + cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(IResolvable.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public interface CfnModelQualityJobDefinitionProps { */ override fun modelQualityJobInput(modelQualityJobInput: CfnModelQualityJobDefinition.ModelQualityJobInputProperty) { - cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(CfnModelQualityJobDefinition.ModelQualityJobInputProperty::unwrap)) + cdkBuilder.modelQualityJobInput(modelQualityJobInput.let(CfnModelQualityJobDefinition.ModelQualityJobInputProperty.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public interface CfnModelQualityJobDefinitionProps { * @param modelQualityJobOutputConfig The output configuration for monitoring jobs. */ override fun modelQualityJobOutputConfig(modelQualityJobOutputConfig: IResolvable) { - cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public interface CfnModelQualityJobDefinitionProps { */ override fun modelQualityJobOutputConfig(modelQualityJobOutputConfig: CfnModelQualityJobDefinition.MonitoringOutputConfigProperty) { - cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(CfnModelQualityJobDefinition.MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.modelQualityJobOutputConfig(modelQualityJobOutputConfig.let(CfnModelQualityJobDefinition.MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -547,14 +547,14 @@ public interface CfnModelQualityJobDefinitionProps { * @param networkConfig Specifies the network configuration for the monitoring job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** * @param networkConfig Specifies the network configuration for the monitoring job. */ override fun networkConfig(networkConfig: CfnModelQualityJobDefinition.NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(CfnModelQualityJobDefinition.NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(CfnModelQualityJobDefinition.NetworkConfigProperty.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public interface CfnModelQualityJobDefinitionProps { * before stopping. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -588,7 +588,7 @@ public interface CfnModelQualityJobDefinitionProps { */ override fun stoppingCondition(stoppingCondition: CfnModelQualityJobDefinition.StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(CfnModelQualityJobDefinition.StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(CfnModelQualityJobDefinition.StoppingConditionProperty.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public interface CfnModelQualityJobDefinitionProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringSchedule.kt index cfad76157c..c453e40866 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringSchedule.kt @@ -159,8 +159,8 @@ public open class CfnMonitoringSchedule( id: String, props: CfnMonitoringScheduleProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMonitoringScheduleProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMonitoringScheduleProps.Companion::unwrap)) ) public constructor( @@ -215,7 +215,7 @@ public open class CfnMonitoringSchedule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -228,14 +228,14 @@ public open class CfnMonitoringSchedule( * Describes metadata on the last execution to run, if there was one. */ public open fun lastMonitoringExecutionSummary(`value`: IResolvable) { - unwrap(this).setLastMonitoringExecutionSummary(`value`.let(IResolvable::unwrap)) + unwrap(this).setLastMonitoringExecutionSummary(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes metadata on the last execution to run, if there was one. */ public open fun lastMonitoringExecutionSummary(`value`: MonitoringExecutionSummaryProperty) { - unwrap(this).setLastMonitoringExecutionSummary(`value`.let(MonitoringExecutionSummaryProperty::unwrap)) + unwrap(this).setLastMonitoringExecutionSummary(`value`.let(MonitoringExecutionSummaryProperty.Companion::unwrap)) } /** @@ -256,14 +256,14 @@ public open class CfnMonitoringSchedule( * The configuration object that specifies the monitoring schedule and defines the monitoring job. */ public open fun monitoringScheduleConfig(`value`: IResolvable) { - unwrap(this).setMonitoringScheduleConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setMonitoringScheduleConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The configuration object that specifies the monitoring schedule and defines the monitoring job. */ public open fun monitoringScheduleConfig(`value`: MonitoringScheduleConfigProperty) { - unwrap(this).setMonitoringScheduleConfig(`value`.let(MonitoringScheduleConfigProperty::unwrap)) + unwrap(this).setMonitoringScheduleConfig(`value`.let(MonitoringScheduleConfigProperty.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class CfnMonitoringSchedule( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnMonitoringSchedule( * there was one. */ override fun lastMonitoringExecutionSummary(lastMonitoringExecutionSummary: IResolvable) { - cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(IResolvable::unwrap)) + cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(IResolvable.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public open class CfnMonitoringSchedule( */ override fun lastMonitoringExecutionSummary(lastMonitoringExecutionSummary: MonitoringExecutionSummaryProperty) { - cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(MonitoringExecutionSummaryProperty::unwrap)) + cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(MonitoringExecutionSummaryProperty.Companion::unwrap)) } /** @@ -521,7 +521,7 @@ public open class CfnMonitoringSchedule( * schedule and defines the monitoring job. */ override fun monitoringScheduleConfig(monitoringScheduleConfig: IResolvable) { - cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(IResolvable::unwrap)) + cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class CfnMonitoringSchedule( */ override fun monitoringScheduleConfig(monitoringScheduleConfig: MonitoringScheduleConfigProperty) { - cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(MonitoringScheduleConfigProperty::unwrap)) + cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(MonitoringScheduleConfigProperty.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class CfnMonitoringSchedule( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -715,14 +715,14 @@ public open class CfnMonitoringSchedule( * @param constraintsResource The Amazon S3 URI for the constraints resource. */ override fun constraintsResource(constraintsResource: IResolvable) { - cdkBuilder.constraintsResource(constraintsResource.let(IResolvable::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(IResolvable.Companion::unwrap)) } /** * @param constraintsResource The Amazon S3 URI for the constraints resource. */ override fun constraintsResource(constraintsResource: ConstraintsResourceProperty) { - cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty::unwrap)) + cdkBuilder.constraintsResource(constraintsResource.let(ConstraintsResourceProperty.Companion::unwrap)) } /** @@ -739,7 +739,7 @@ public open class CfnMonitoringSchedule( * monitoring job should be validated against. */ override fun statisticsResource(statisticsResource: IResolvable) { - cdkBuilder.statisticsResource(statisticsResource.let(IResolvable::unwrap)) + cdkBuilder.statisticsResource(statisticsResource.let(IResolvable.Companion::unwrap)) } /** @@ -747,7 +747,7 @@ public open class CfnMonitoringSchedule( * monitoring job should be validated against. */ override fun statisticsResource(statisticsResource: StatisticsResourceProperty) { - cdkBuilder.statisticsResource(statisticsResource.let(StatisticsResourceProperty::unwrap)) + cdkBuilder.statisticsResource(statisticsResource.let(StatisticsResourceProperty.Companion::unwrap)) } /** @@ -953,14 +953,14 @@ public open class CfnMonitoringSchedule( * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: IResolvable) { - cdkBuilder.datasetFormat(datasetFormat.let(IResolvable::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(IResolvable.Companion::unwrap)) } /** * @param datasetFormat The dataset format for your batch transform job. */ override fun datasetFormat(datasetFormat: DatasetFormatProperty) { - cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty::unwrap)) + cdkBuilder.datasetFormat(datasetFormat.let(DatasetFormatProperty.Companion::unwrap)) } /** @@ -1406,7 +1406,7 @@ public open class CfnMonitoringSchedule( * @param header A boolean flag indicating if given CSV has header. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1546,14 +1546,14 @@ public open class CfnMonitoringSchedule( * @param csv The CSV format. */ override fun csv(csv: IResolvable) { - cdkBuilder.csv(csv.let(IResolvable::unwrap)) + cdkBuilder.csv(csv.let(IResolvable.Companion::unwrap)) } /** * @param csv The CSV format. */ override fun csv(csv: CsvProperty) { - cdkBuilder.csv(csv.let(CsvProperty::unwrap)) + cdkBuilder.csv(csv.let(CsvProperty.Companion::unwrap)) } /** @@ -1567,14 +1567,14 @@ public open class CfnMonitoringSchedule( * @param json The Json format. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** * @param json The Json format. */ override fun json(json: JsonProperty) { - cdkBuilder.json(json.let(JsonProperty::unwrap)) + cdkBuilder.json(json.let(JsonProperty.Companion::unwrap)) } /** @@ -1595,7 +1595,7 @@ public open class CfnMonitoringSchedule( * @param parquet A flag indicating if the dataset format is Parquet. */ override fun parquet(parquet: IResolvable) { - cdkBuilder.parquet(parquet.let(IResolvable::unwrap)) + cdkBuilder.parquet(parquet.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1923,7 +1923,7 @@ public open class CfnMonitoringSchedule( * @param line A boolean flag indicating if it is JSON line format. */ override fun line(line: IResolvable) { - cdkBuilder.line(line.let(IResolvable::unwrap)) + cdkBuilder.line(line.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2595,14 +2595,14 @@ public open class CfnMonitoringSchedule( * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: IResolvable) { - cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(IResolvable.Companion::unwrap)) } /** * @param batchTransformInput Input object for the batch transform job. */ override fun batchTransformInput(batchTransformInput: BatchTransformInputProperty) { - cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty::unwrap)) + cdkBuilder.batchTransformInput(batchTransformInput.let(BatchTransformInputProperty.Companion::unwrap)) } /** @@ -2618,14 +2618,14 @@ public open class CfnMonitoringSchedule( * @param endpointInput The endpoint for a monitoring job. */ override fun endpointInput(endpointInput: IResolvable) { - cdkBuilder.endpointInput(endpointInput.let(IResolvable::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(IResolvable.Companion::unwrap)) } /** * @param endpointInput The endpoint for a monitoring job. */ override fun endpointInput(endpointInput: EndpointInputProperty) { - cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty::unwrap)) + cdkBuilder.endpointInput(endpointInput.let(EndpointInputProperty.Companion::unwrap)) } /** @@ -3018,7 +3018,7 @@ public open class CfnMonitoringSchedule( * specified constraints and statistics. */ override fun baselineConfig(baselineConfig: IResolvable) { - cdkBuilder.baselineConfig(baselineConfig.let(IResolvable::unwrap)) + cdkBuilder.baselineConfig(baselineConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3026,7 +3026,7 @@ public open class CfnMonitoringSchedule( * specified constraints and statistics. */ override fun baselineConfig(baselineConfig: BaselineConfigProperty) { - cdkBuilder.baselineConfig(baselineConfig.let(BaselineConfigProperty::unwrap)) + cdkBuilder.baselineConfig(baselineConfig.let(BaselineConfigProperty.Companion::unwrap)) } /** @@ -3042,7 +3042,7 @@ public open class CfnMonitoringSchedule( * @param environment Sets the environment variables in the Docker container. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -3057,7 +3057,7 @@ public open class CfnMonitoringSchedule( * container image. */ override fun monitoringAppSpecification(monitoringAppSpecification: IResolvable) { - cdkBuilder.monitoringAppSpecification(monitoringAppSpecification.let(IResolvable::unwrap)) + cdkBuilder.monitoringAppSpecification(monitoringAppSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -3066,7 +3066,7 @@ public open class CfnMonitoringSchedule( */ override fun monitoringAppSpecification(monitoringAppSpecification: MonitoringAppSpecificationProperty) { - cdkBuilder.monitoringAppSpecification(monitoringAppSpecification.let(MonitoringAppSpecificationProperty::unwrap)) + cdkBuilder.monitoringAppSpecification(monitoringAppSpecification.let(MonitoringAppSpecificationProperty.Companion::unwrap)) } /** @@ -3085,7 +3085,7 @@ public open class CfnMonitoringSchedule( * Currently we support monitoring an Amazon SageMaker Endpoint. */ override fun monitoringInputs(monitoringInputs: IResolvable) { - cdkBuilder.monitoringInputs(monitoringInputs.let(IResolvable::unwrap)) + cdkBuilder.monitoringInputs(monitoringInputs.let(IResolvable.Companion::unwrap)) } /** @@ -3108,7 +3108,7 @@ public open class CfnMonitoringSchedule( * to Amazon S3. */ override fun monitoringOutputConfig(monitoringOutputConfig: IResolvable) { - cdkBuilder.monitoringOutputConfig(monitoringOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.monitoringOutputConfig(monitoringOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3116,7 +3116,7 @@ public open class CfnMonitoringSchedule( * to Amazon S3. */ override fun monitoringOutputConfig(monitoringOutputConfig: MonitoringOutputConfigProperty) { - cdkBuilder.monitoringOutputConfig(monitoringOutputConfig.let(MonitoringOutputConfigProperty::unwrap)) + cdkBuilder.monitoringOutputConfig(monitoringOutputConfig.let(MonitoringOutputConfigProperty.Companion::unwrap)) } /** @@ -3135,7 +3135,7 @@ public open class CfnMonitoringSchedule( * In distributed processing, you specify more than one instance. */ override fun monitoringResources(monitoringResources: IResolvable) { - cdkBuilder.monitoringResources(monitoringResources.let(IResolvable::unwrap)) + cdkBuilder.monitoringResources(monitoringResources.let(IResolvable.Companion::unwrap)) } /** @@ -3144,7 +3144,7 @@ public open class CfnMonitoringSchedule( * In distributed processing, you specify more than one instance. */ override fun monitoringResources(monitoringResources: MonitoringResourcesProperty) { - cdkBuilder.monitoringResources(monitoringResources.let(MonitoringResourcesProperty::unwrap)) + cdkBuilder.monitoringResources(monitoringResources.let(MonitoringResourcesProperty.Companion::unwrap)) } /** @@ -3162,14 +3162,14 @@ public open class CfnMonitoringSchedule( * @param networkConfig Specifies networking options for an monitoring job. */ override fun networkConfig(networkConfig: IResolvable) { - cdkBuilder.networkConfig(networkConfig.let(IResolvable::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(IResolvable.Companion::unwrap)) } /** * @param networkConfig Specifies networking options for an monitoring job. */ override fun networkConfig(networkConfig: NetworkConfigProperty) { - cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty::unwrap)) + cdkBuilder.networkConfig(networkConfig.let(NetworkConfigProperty.Companion::unwrap)) } /** @@ -3193,7 +3193,7 @@ public open class CfnMonitoringSchedule( * to run. */ override fun stoppingCondition(stoppingCondition: IResolvable) { - cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(IResolvable.Companion::unwrap)) } /** @@ -3201,7 +3201,7 @@ public open class CfnMonitoringSchedule( * to run. */ override fun stoppingCondition(stoppingCondition: StoppingConditionProperty) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingConditionProperty.Companion::unwrap)) } /** @@ -3404,7 +3404,7 @@ public open class CfnMonitoringSchedule( * This is where the output of the periodic monitoring jobs is uploaded. */ override fun monitoringOutputs(monitoringOutputs: IResolvable) { - cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable::unwrap)) + cdkBuilder.monitoringOutputs(monitoringOutputs.let(IResolvable.Companion::unwrap)) } /** @@ -3532,7 +3532,7 @@ public open class CfnMonitoringSchedule( * saved. */ override fun s3Output(s3Output: IResolvable) { - cdkBuilder.s3Output(s3Output.let(IResolvable::unwrap)) + cdkBuilder.s3Output(s3Output.let(IResolvable.Companion::unwrap)) } /** @@ -3540,7 +3540,7 @@ public open class CfnMonitoringSchedule( * saved. */ override fun s3Output(s3Output: S3OutputProperty) { - cdkBuilder.s3Output(s3Output.let(S3OutputProperty::unwrap)) + cdkBuilder.s3Output(s3Output.let(S3OutputProperty.Companion::unwrap)) } /** @@ -3653,7 +3653,7 @@ public open class CfnMonitoringSchedule( * job. */ override fun clusterConfig(clusterConfig: IResolvable) { - cdkBuilder.clusterConfig(clusterConfig.let(IResolvable::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3661,7 +3661,7 @@ public open class CfnMonitoringSchedule( * job. */ override fun clusterConfig(clusterConfig: ClusterConfigProperty) { - cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty::unwrap)) + cdkBuilder.clusterConfig(clusterConfig.let(ClusterConfigProperty.Companion::unwrap)) } /** @@ -3903,7 +3903,7 @@ public open class CfnMonitoringSchedule( * @param monitoringJobDefinition Defines the monitoring job. */ override fun monitoringJobDefinition(monitoringJobDefinition: IResolvable) { - cdkBuilder.monitoringJobDefinition(monitoringJobDefinition.let(IResolvable::unwrap)) + cdkBuilder.monitoringJobDefinition(monitoringJobDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -3911,7 +3911,7 @@ public open class CfnMonitoringSchedule( */ override fun monitoringJobDefinition(monitoringJobDefinition: MonitoringJobDefinitionProperty) { - cdkBuilder.monitoringJobDefinition(monitoringJobDefinition.let(MonitoringJobDefinitionProperty::unwrap)) + cdkBuilder.monitoringJobDefinition(monitoringJobDefinition.let(MonitoringJobDefinitionProperty.Companion::unwrap)) } /** @@ -3941,14 +3941,14 @@ public open class CfnMonitoringSchedule( * @param scheduleConfig Configures the monitoring schedule. */ override fun scheduleConfig(scheduleConfig: IResolvable) { - cdkBuilder.scheduleConfig(scheduleConfig.let(IResolvable::unwrap)) + cdkBuilder.scheduleConfig(scheduleConfig.let(IResolvable.Companion::unwrap)) } /** * @param scheduleConfig Configures the monitoring schedule. */ override fun scheduleConfig(scheduleConfig: ScheduleConfigProperty) { - cdkBuilder.scheduleConfig(scheduleConfig.let(ScheduleConfigProperty::unwrap)) + cdkBuilder.scheduleConfig(scheduleConfig.let(ScheduleConfigProperty.Companion::unwrap)) } /** @@ -4164,7 +4164,7 @@ public open class CfnMonitoringSchedule( */ override fun enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption: IResolvable) { - cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable::unwrap)) + cdkBuilder.enableInterContainerTrafficEncryption(enableInterContainerTrafficEncryption.let(IResolvable.Companion::unwrap)) } /** @@ -4180,7 +4180,7 @@ public open class CfnMonitoringSchedule( * from the containers used for the processing job. */ override fun enableNetworkIsolation(enableNetworkIsolation: IResolvable) { - cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable::unwrap)) + cdkBuilder.enableNetworkIsolation(enableNetworkIsolation.let(IResolvable.Companion::unwrap)) } /** @@ -4192,7 +4192,7 @@ public open class CfnMonitoringSchedule( * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html) . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -4204,7 +4204,7 @@ public open class CfnMonitoringSchedule( * Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html) . */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringScheduleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringScheduleProps.kt index 87537f6e84..c53c30f749 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringScheduleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnMonitoringScheduleProps.kt @@ -304,7 +304,7 @@ public interface CfnMonitoringScheduleProps { * there was one. */ override fun lastMonitoringExecutionSummary(lastMonitoringExecutionSummary: IResolvable) { - cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(IResolvable::unwrap)) + cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(IResolvable.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public interface CfnMonitoringScheduleProps { */ override fun lastMonitoringExecutionSummary(lastMonitoringExecutionSummary: CfnMonitoringSchedule.MonitoringExecutionSummaryProperty) { - cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty::unwrap)) + cdkBuilder.lastMonitoringExecutionSummary(lastMonitoringExecutionSummary.let(CfnMonitoringSchedule.MonitoringExecutionSummaryProperty.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public interface CfnMonitoringScheduleProps { * schedule and defines the monitoring job. */ override fun monitoringScheduleConfig(monitoringScheduleConfig: IResolvable) { - cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(IResolvable::unwrap)) + cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(IResolvable.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface CfnMonitoringScheduleProps { */ override fun monitoringScheduleConfig(monitoringScheduleConfig: CfnMonitoringSchedule.MonitoringScheduleConfigProperty) { - cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(CfnMonitoringSchedule.MonitoringScheduleConfigProperty::unwrap)) + cdkBuilder.monitoringScheduleConfig(monitoringScheduleConfig.let(CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public interface CfnMonitoringScheduleProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstance.kt index 90e3ae1344..2a3cb69d73 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstance.kt @@ -71,8 +71,8 @@ public open class CfnNotebookInstance( id: String, props: CfnNotebookInstanceProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnNotebookInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNotebookInstanceProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnNotebookInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNotebookInstanceProps.Companion::unwrap)) ) public constructor( @@ -160,7 +160,7 @@ public open class CfnNotebookInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnNotebookInstance( * Information on the IMDS configuration of the notebook instance. */ public open fun instanceMetadataServiceConfiguration(`value`: IResolvable) { - unwrap(this).setInstanceMetadataServiceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceMetadataServiceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnNotebookInstance( */ public open fun instanceMetadataServiceConfiguration(`value`: InstanceMetadataServiceConfigurationProperty) { - unwrap(this).setInstanceMetadataServiceConfiguration(`value`.let(InstanceMetadataServiceConfigurationProperty::unwrap)) + unwrap(this).setInstanceMetadataServiceConfiguration(`value`.let(InstanceMetadataServiceConfigurationProperty.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnNotebookInstance( * A list of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public open class CfnNotebookInstance( */ override fun instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration: IResolvable) { - cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -805,7 +805,7 @@ public open class CfnNotebookInstance( */ override fun instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration: InstanceMetadataServiceConfigurationProperty) { - cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(InstanceMetadataServiceConfigurationProperty::unwrap)) + cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(InstanceMetadataServiceConfigurationProperty.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class CfnNotebookInstance( * @param tags A list of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfig.kt index 1092ed8f3c..abd8e6048d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfig.kt @@ -48,7 +48,7 @@ public open class CfnNotebookInstanceLifecycleConfig( cdkObject: software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfig, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnNotebookInstanceLifecycleConfig( id: String, props: CfnNotebookInstanceLifecycleConfigProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNotebookInstanceLifecycleConfigProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNotebookInstanceLifecycleConfigProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnNotebookInstanceLifecycleConfig( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -110,7 +110,7 @@ public open class CfnNotebookInstanceLifecycleConfig( * A shell script that runs only once, when you create a notebook instance. */ public open fun onCreate(`value`: IResolvable) { - unwrap(this).setOnCreate(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnCreate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnNotebookInstanceLifecycleConfig( * the notebook instance. */ public open fun onStart(`value`: IResolvable) { - unwrap(this).setOnStart(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnStart(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnNotebookInstanceLifecycleConfig( * @param onCreate A shell script that runs only once, when you create a notebook instance. */ override fun onCreate(onCreate: IResolvable) { - cdkBuilder.onCreate(onCreate.let(IResolvable::unwrap)) + cdkBuilder.onCreate(onCreate.let(IResolvable.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnNotebookInstanceLifecycleConfig( * when you create the notebook instance. */ override fun onStart(onStart: IResolvable) { - cdkBuilder.onStart(onStart.let(IResolvable::unwrap)) + cdkBuilder.onStart(onStart.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfigProps.kt index 1c97eb3d5c..eef7125a16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceLifecycleConfigProps.kt @@ -129,7 +129,7 @@ public interface CfnNotebookInstanceLifecycleConfigProps { * The shell script must be a base64-encoded string. */ override fun onCreate(onCreate: IResolvable) { - cdkBuilder.onCreate(onCreate.let(IResolvable::unwrap)) + cdkBuilder.onCreate(onCreate.let(IResolvable.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public interface CfnNotebookInstanceLifecycleConfigProps { * The shell script must be a base64-encoded string. */ override fun onStart(onStart: IResolvable) { - cdkBuilder.onStart(onStart.let(IResolvable::unwrap)) + cdkBuilder.onStart(onStart.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceProps.kt index 6a3780d8de..426902005d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnNotebookInstanceProps.kt @@ -562,7 +562,7 @@ public interface CfnNotebookInstanceProps { */ override fun instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration: IResolvable) { - cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public interface CfnNotebookInstanceProps { */ override fun instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration: CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty) { - cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty::unwrap)) + cdkBuilder.instanceMetadataServiceConfiguration(instanceMetadataServiceConfiguration.let(CfnNotebookInstance.InstanceMetadataServiceConfigurationProperty.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public interface CfnNotebookInstanceProps { * You can add tags later by using the `CreateTags` API. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipeline.kt index 823426d918..cfbc26cc83 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipeline.kt @@ -62,8 +62,8 @@ public open class CfnPipeline( id: String, props: CfnPipelineProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPipelineProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnPipeline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPipelineProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnPipeline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnPipeline( * The tags of the pipeline. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class CfnPipeline( * @param tags The tags of the pipeline. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnPipeline( * If specified, SageMaker retrieves the pipeline definition from this location. */ override fun pipelineDefinitionS3Location(pipelineDefinitionS3Location: IResolvable) { - cdkBuilder.pipelineDefinitionS3Location(pipelineDefinitionS3Location.let(IResolvable::unwrap)) + cdkBuilder.pipelineDefinitionS3Location(pipelineDefinitionS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -556,7 +556,7 @@ public open class CfnPipeline( * If specified, SageMaker retrieves the pipeline definition from this location. */ override fun pipelineDefinitionS3Location(pipelineDefinitionS3Location: S3LocationProperty) { - cdkBuilder.pipelineDefinitionS3Location(pipelineDefinitionS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.pipelineDefinitionS3Location(pipelineDefinitionS3Location.let(S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipelineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipelineProps.kt index e979ce0622..d445bc55f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipelineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnPipelineProps.kt @@ -189,7 +189,7 @@ public interface CfnPipelineProps { * @param tags The tags of the pipeline. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProject.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProject.kt index 3c8b5a6bab..38e752818a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProject.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProject.kt @@ -57,8 +57,8 @@ public open class CfnProject( id: String, props: CfnProjectProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnProject(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProjectProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnProject(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProjectProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnProject( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnProject( * Details of a provisioned service catalog product. */ public open fun serviceCatalogProvisionedProductDetails(`value`: IResolvable) { - unwrap(this).setServiceCatalogProvisionedProductDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setServiceCatalogProvisionedProductDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnProject( */ public open fun serviceCatalogProvisionedProductDetails(`value`: ServiceCatalogProvisionedProductDetailsProperty) { - unwrap(this).setServiceCatalogProvisionedProductDetails(`value`.let(ServiceCatalogProvisionedProductDetailsProperty::unwrap)) + unwrap(this).setServiceCatalogProvisionedProductDetails(`value`.let(ServiceCatalogProvisionedProductDetailsProperty.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnProject( * A list of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnProject( */ override fun serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails: IResolvable) { - cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(IResolvable::unwrap)) + cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(IResolvable.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnProject( */ override fun serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails: ServiceCatalogProvisionedProductDetailsProperty) { - cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(ServiceCatalogProvisionedProductDetailsProperty::unwrap)) + cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(ServiceCatalogProvisionedProductDetailsProperty.Companion::unwrap)) } /** @@ -394,7 +394,7 @@ public open class CfnProject( * @param tags A list of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public open class CfnProject( * a product. */ override fun provisioningParameters(provisioningParameters: IResolvable) { - cdkBuilder.provisioningParameters(provisioningParameters.let(IResolvable::unwrap)) + cdkBuilder.provisioningParameters(provisioningParameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProjectProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProjectProps.kt index dd407ac56d..f1b5f6b31b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProjectProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnProjectProps.kt @@ -189,7 +189,7 @@ public interface CfnProjectProps { */ override fun serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails: IResolvable) { - cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(IResolvable::unwrap)) + cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public interface CfnProjectProps { */ override fun serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails: CfnProject.ServiceCatalogProvisionedProductDetailsProperty) { - cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(CfnProject.ServiceCatalogProvisionedProductDetailsProperty::unwrap)) + cdkBuilder.serviceCatalogProvisionedProductDetails(serviceCatalogProvisionedProductDetails.let(CfnProject.ServiceCatalogProvisionedProductDetailsProperty.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface CfnProjectProps { * in the *AWS Billing and Cost Management User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpace.kt index e33678845c..54a6c81066 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpace.kt @@ -108,8 +108,8 @@ public open class CfnSpace( id: String, props: CfnSpaceProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnSpace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSpaceProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnSpace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSpaceProps.Companion::unwrap)) ) public constructor( @@ -157,7 +157,7 @@ public open class CfnSpace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnSpace( * The collection of ownership settings for a space. */ public open fun ownershipSettings(`value`: IResolvable) { - unwrap(this).setOwnershipSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setOwnershipSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * The collection of ownership settings for a space. */ public open fun ownershipSettings(`value`: OwnershipSettingsProperty) { - unwrap(this).setOwnershipSettings(`value`.let(OwnershipSettingsProperty::unwrap)) + unwrap(this).setOwnershipSettings(`value`.let(OwnershipSettingsProperty.Companion::unwrap)) } /** @@ -220,14 +220,14 @@ public open class CfnSpace( * A collection of space settings. */ public open fun spaceSettings(`value`: IResolvable) { - unwrap(this).setSpaceSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpaceSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * A collection of space settings. */ public open fun spaceSettings(`value`: SpaceSettingsProperty) { - unwrap(this).setSpaceSettings(`value`.let(SpaceSettingsProperty::unwrap)) + unwrap(this).setSpaceSettings(`value`.let(SpaceSettingsProperty.Companion::unwrap)) } /** @@ -247,14 +247,14 @@ public open class CfnSpace( * A collection of space sharing settings. */ public open fun spaceSharingSettings(`value`: IResolvable) { - unwrap(this).setSpaceSharingSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setSpaceSharingSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * A collection of space sharing settings. */ public open fun spaceSharingSettings(`value`: SpaceSharingSettingsProperty) { - unwrap(this).setSpaceSharingSettings(`value`.let(SpaceSharingSettingsProperty::unwrap)) + unwrap(this).setSpaceSharingSettings(`value`.let(SpaceSharingSettingsProperty.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnSpace( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnSpace( * @param ownershipSettings The collection of ownership settings for a space. */ override fun ownershipSettings(ownershipSettings: IResolvable) { - cdkBuilder.ownershipSettings(ownershipSettings.let(IResolvable::unwrap)) + cdkBuilder.ownershipSettings(ownershipSettings.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnSpace( * @param ownershipSettings The collection of ownership settings for a space. */ override fun ownershipSettings(ownershipSettings: OwnershipSettingsProperty) { - cdkBuilder.ownershipSettings(ownershipSettings.let(OwnershipSettingsProperty::unwrap)) + cdkBuilder.ownershipSettings(ownershipSettings.let(OwnershipSettingsProperty.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class CfnSpace( * @param spaceSettings A collection of space settings. */ override fun spaceSettings(spaceSettings: IResolvable) { - cdkBuilder.spaceSettings(spaceSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceSettings(spaceSettings.let(IResolvable.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public open class CfnSpace( * @param spaceSettings A collection of space settings. */ override fun spaceSettings(spaceSettings: SpaceSettingsProperty) { - cdkBuilder.spaceSettings(spaceSettings.let(SpaceSettingsProperty::unwrap)) + cdkBuilder.spaceSettings(spaceSettings.let(SpaceSettingsProperty.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class CfnSpace( * @param spaceSharingSettings A collection of space sharing settings. */ override fun spaceSharingSettings(spaceSharingSettings: IResolvable) { - cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(IResolvable.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnSpace( * @param spaceSharingSettings A collection of space sharing settings. */ override fun spaceSharingSettings(spaceSharingSettings: SpaceSharingSettingsProperty) { - cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(SpaceSharingSettingsProperty::unwrap)) + cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(SpaceSharingSettingsProperty.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnSpace( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -743,14 +743,14 @@ public open class CfnSpace( * @param efsFileSystem A custom file system in Amazon EFS. */ override fun efsFileSystem(efsFileSystem: IResolvable) { - cdkBuilder.efsFileSystem(efsFileSystem.let(IResolvable::unwrap)) + cdkBuilder.efsFileSystem(efsFileSystem.let(IResolvable.Companion::unwrap)) } /** * @param efsFileSystem A custom file system in Amazon EFS. */ override fun efsFileSystem(efsFileSystem: EFSFileSystemProperty) { - cdkBuilder.efsFileSystem(efsFileSystem.let(EFSFileSystemProperty::unwrap)) + cdkBuilder.efsFileSystem(efsFileSystem.let(EFSFileSystemProperty.Companion::unwrap)) } /** @@ -1023,7 +1023,7 @@ public open class CfnSpace( } /** - * A collection of EBS storage settings that applies to private spaces. + * A collection of EBS storage settings that apply to both private and shared spaces. * * Example: * @@ -1040,7 +1040,7 @@ public open class CfnSpace( */ public interface EbsStorageSettingsProperty { /** - * The size of an EBS storage volume for a private space. + * The size of an EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ebsstoragesettings.html#cfn-sagemaker-space-ebsstoragesettings-ebsvolumesizeingb) */ @@ -1052,7 +1052,7 @@ public open class CfnSpace( @CdkDslMarker public interface Builder { /** - * @param ebsVolumeSizeInGb The size of an EBS storage volume for a private space. + * @param ebsVolumeSizeInGb The size of an EBS storage volume for a space. */ public fun ebsVolumeSizeInGb(ebsVolumeSizeInGb: Number) } @@ -1063,7 +1063,7 @@ public open class CfnSpace( software.amazon.awscdk.services.sagemaker.CfnSpace.EbsStorageSettingsProperty.builder() /** - * @param ebsVolumeSizeInGb The size of an EBS storage volume for a private space. + * @param ebsVolumeSizeInGb The size of an EBS storage volume for a space. */ override fun ebsVolumeSizeInGb(ebsVolumeSizeInGb: Number) { cdkBuilder.ebsVolumeSizeInGb(ebsVolumeSizeInGb) @@ -1078,7 +1078,7 @@ public open class CfnSpace( cdkObject: software.amazon.awscdk.services.sagemaker.CfnSpace.EbsStorageSettingsProperty, ) : CdkObject(cdkObject), EbsStorageSettingsProperty { /** - * The size of an EBS storage volume for a private space. + * The size of an EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ebsstoragesettings.html#cfn-sagemaker-space-ebsstoragesettings-ebsvolumesizeingb) */ @@ -1176,7 +1176,7 @@ public open class CfnSpace( * If you use the `LifecycleConfigArns` parameter, then this parameter is also required. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1185,7 +1185,7 @@ public open class CfnSpace( * If you use the `LifecycleConfigArns` parameter, then this parameter is also required. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -1352,7 +1352,7 @@ public open class CfnSpace( * KernelGateway app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -1379,7 +1379,7 @@ public open class CfnSpace( * CloudFormation and the instance type parameter value is not passed. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1391,7 +1391,7 @@ public open class CfnSpace( * CloudFormation and the instance type parameter value is not passed. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -1474,7 +1474,7 @@ public open class CfnSpace( */ public interface OwnershipSettingsProperty { /** - * The user profile who is the owner of the private space. + * The user profile who is the owner of the space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ownershipsettings.html#cfn-sagemaker-space-ownershipsettings-owneruserprofilename) */ @@ -1486,7 +1486,7 @@ public open class CfnSpace( @CdkDslMarker public interface Builder { /** - * @param ownerUserProfileName The user profile who is the owner of the private space. + * @param ownerUserProfileName The user profile who is the owner of the space. */ public fun ownerUserProfileName(ownerUserProfileName: String) } @@ -1497,7 +1497,7 @@ public open class CfnSpace( software.amazon.awscdk.services.sagemaker.CfnSpace.OwnershipSettingsProperty.builder() /** - * @param ownerUserProfileName The user profile who is the owner of the private space. + * @param ownerUserProfileName The user profile who is the owner of the space. */ override fun ownerUserProfileName(ownerUserProfileName: String) { cdkBuilder.ownerUserProfileName(ownerUserProfileName) @@ -1512,7 +1512,7 @@ public open class CfnSpace( cdkObject: software.amazon.awscdk.services.sagemaker.CfnSpace.OwnershipSettingsProperty, ) : CdkObject(cdkObject), OwnershipSettingsProperty { /** - * The user profile who is the owner of the private space. + * The user profile who is the owner of the space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ownershipsettings.html#cfn-sagemaker-space-ownershipsettings-owneruserprofilename) */ @@ -1763,7 +1763,7 @@ public open class CfnSpace( * version, and the instance type that the version runs on. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1771,7 +1771,7 @@ public open class CfnSpace( * version, and the instance type that the version runs on. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -1916,7 +1916,7 @@ public open class CfnSpace( * users for cloning in the JupyterLab application. */ override fun codeRepositories(codeRepositories: IResolvable) { - cdkBuilder.codeRepositories(codeRepositories.let(IResolvable::unwrap)) + cdkBuilder.codeRepositories(codeRepositories.let(IResolvable.Companion::unwrap)) } /** @@ -1939,7 +1939,7 @@ public open class CfnSpace( * version, and the instance type that the version runs on. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1947,7 +1947,7 @@ public open class CfnSpace( * version, and the instance type that the version runs on. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -2113,7 +2113,7 @@ public open class CfnSpace( public fun kernelGatewayAppSettings(): Any? = unwrap(this).getKernelGatewayAppSettings() /** - * The storage settings for a private space. + * The storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-spacestoragesettings) */ @@ -2225,17 +2225,17 @@ public open class CfnSpace( fun kernelGatewayAppSettings(kernelGatewayAppSettings: KernelGatewayAppSettingsProperty.Builder.() -> Unit) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ public fun spaceStorageSettings(spaceStorageSettings: IResolvable) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ public fun spaceStorageSettings(spaceStorageSettings: SpaceStorageSettingsProperty) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e918c17a2faf9653cd99fc52b83a57eea99102a611f1a0f4f0580518aa18211e") @@ -2259,7 +2259,7 @@ public open class CfnSpace( * @param codeEditorAppSettings The Code Editor application settings. */ override fun codeEditorAppSettings(codeEditorAppSettings: IResolvable) { - cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(IResolvable::unwrap)) + cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2267,7 +2267,7 @@ public open class CfnSpace( */ override fun codeEditorAppSettings(codeEditorAppSettings: SpaceCodeEditorAppSettingsProperty) { - cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(SpaceCodeEditorAppSettingsProperty::unwrap)) + cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(SpaceCodeEditorAppSettingsProperty.Companion::unwrap)) } /** @@ -2285,7 +2285,7 @@ public open class CfnSpace( * Permitted users can access this file system in Amazon SageMaker Studio. */ override fun customFileSystems(customFileSystems: IResolvable) { - cdkBuilder.customFileSystems(customFileSystems.let(IResolvable::unwrap)) + cdkBuilder.customFileSystems(customFileSystems.let(IResolvable.Companion::unwrap)) } /** @@ -2309,7 +2309,7 @@ public open class CfnSpace( * @param jupyterLabAppSettings The settings for the JupyterLab application. */ override fun jupyterLabAppSettings(jupyterLabAppSettings: IResolvable) { - cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2317,7 +2317,7 @@ public open class CfnSpace( */ override fun jupyterLabAppSettings(jupyterLabAppSettings: SpaceJupyterLabAppSettingsProperty) { - cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(SpaceJupyterLabAppSettingsProperty::unwrap)) + cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(SpaceJupyterLabAppSettingsProperty.Companion::unwrap)) } /** @@ -2333,7 +2333,7 @@ public open class CfnSpace( * @param jupyterServerAppSettings The JupyterServer app settings. */ override fun jupyterServerAppSettings(jupyterServerAppSettings: IResolvable) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2341,7 +2341,7 @@ public open class CfnSpace( */ override fun jupyterServerAppSettings(jupyterServerAppSettings: JupyterServerAppSettingsProperty) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty.Companion::unwrap)) } /** @@ -2358,7 +2358,7 @@ public open class CfnSpace( * @param kernelGatewayAppSettings The KernelGateway app settings. */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: IResolvable) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -2366,7 +2366,7 @@ public open class CfnSpace( */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: KernelGatewayAppSettingsProperty) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty.Companion::unwrap)) } /** @@ -2380,21 +2380,21 @@ public open class CfnSpace( kernelGatewayAppSettings(KernelGatewayAppSettingsProperty(kernelGatewayAppSettings)) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ override fun spaceStorageSettings(spaceStorageSettings: IResolvable) { - cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(IResolvable.Companion::unwrap)) } /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ override fun spaceStorageSettings(spaceStorageSettings: SpaceStorageSettingsProperty) { - cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(SpaceStorageSettingsProperty::unwrap)) + cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(SpaceStorageSettingsProperty.Companion::unwrap)) } /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("e918c17a2faf9653cd99fc52b83a57eea99102a611f1a0f4f0580518aa18211e") @@ -2454,7 +2454,7 @@ public open class CfnSpace( override fun kernelGatewayAppSettings(): Any? = unwrap(this).getKernelGatewayAppSettings() /** - * The storage settings for a private space. + * The storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-spacestoragesettings) */ @@ -2562,7 +2562,7 @@ public open class CfnSpace( } /** - * The storage settings for a private space. + * The storage settings for a space. * * Example: * @@ -2582,7 +2582,7 @@ public open class CfnSpace( */ public interface SpaceStorageSettingsProperty { /** - * A collection of EBS storage settings for a private space. + * A collection of EBS storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacestoragesettings.html#cfn-sagemaker-space-spacestoragesettings-ebsstoragesettings) */ @@ -2594,17 +2594,17 @@ public open class CfnSpace( @CdkDslMarker public interface Builder { /** - * @param ebsStorageSettings A collection of EBS storage settings for a private space. + * @param ebsStorageSettings A collection of EBS storage settings for a space. */ public fun ebsStorageSettings(ebsStorageSettings: IResolvable) /** - * @param ebsStorageSettings A collection of EBS storage settings for a private space. + * @param ebsStorageSettings A collection of EBS storage settings for a space. */ public fun ebsStorageSettings(ebsStorageSettings: EbsStorageSettingsProperty) /** - * @param ebsStorageSettings A collection of EBS storage settings for a private space. + * @param ebsStorageSettings A collection of EBS storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("685af989ba2409bea91c1c7183d1e017811b8406dc2cb03fc45796cc3adf4da3") @@ -2618,21 +2618,21 @@ public open class CfnSpace( software.amazon.awscdk.services.sagemaker.CfnSpace.SpaceStorageSettingsProperty.builder() /** - * @param ebsStorageSettings A collection of EBS storage settings for a private space. + * @param ebsStorageSettings A collection of EBS storage settings for a space. */ override fun ebsStorageSettings(ebsStorageSettings: IResolvable) { - cdkBuilder.ebsStorageSettings(ebsStorageSettings.let(IResolvable::unwrap)) + cdkBuilder.ebsStorageSettings(ebsStorageSettings.let(IResolvable.Companion::unwrap)) } /** - * @param ebsStorageSettings A collection of EBS storage settings for a private space. + * @param ebsStorageSettings A collection of EBS storage settings for a space. */ override fun ebsStorageSettings(ebsStorageSettings: EbsStorageSettingsProperty) { - cdkBuilder.ebsStorageSettings(ebsStorageSettings.let(EbsStorageSettingsProperty::unwrap)) + cdkBuilder.ebsStorageSettings(ebsStorageSettings.let(EbsStorageSettingsProperty.Companion::unwrap)) } /** - * @param ebsStorageSettings A collection of EBS storage settings for a private space. + * @param ebsStorageSettings A collection of EBS storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("685af989ba2409bea91c1c7183d1e017811b8406dc2cb03fc45796cc3adf4da3") @@ -2649,7 +2649,7 @@ public open class CfnSpace( cdkObject: software.amazon.awscdk.services.sagemaker.CfnSpace.SpaceStorageSettingsProperty, ) : CdkObject(cdkObject), SpaceStorageSettingsProperty { /** - * A collection of EBS storage settings for a private space. + * A collection of EBS storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacestoragesettings.html#cfn-sagemaker-space-spacestoragesettings-ebsstoragesettings) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpaceProps.kt index 6181a9fe8f..7735c227ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnSpaceProps.kt @@ -251,14 +251,14 @@ public interface CfnSpaceProps { * @param ownershipSettings The collection of ownership settings for a space. */ override fun ownershipSettings(ownershipSettings: IResolvable) { - cdkBuilder.ownershipSettings(ownershipSettings.let(IResolvable::unwrap)) + cdkBuilder.ownershipSettings(ownershipSettings.let(IResolvable.Companion::unwrap)) } /** * @param ownershipSettings The collection of ownership settings for a space. */ override fun ownershipSettings(ownershipSettings: CfnSpace.OwnershipSettingsProperty) { - cdkBuilder.ownershipSettings(ownershipSettings.let(CfnSpace.OwnershipSettingsProperty::unwrap)) + cdkBuilder.ownershipSettings(ownershipSettings.let(CfnSpace.OwnershipSettingsProperty.Companion::unwrap)) } /** @@ -288,14 +288,14 @@ public interface CfnSpaceProps { * @param spaceSettings A collection of space settings. */ override fun spaceSettings(spaceSettings: IResolvable) { - cdkBuilder.spaceSettings(spaceSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceSettings(spaceSettings.let(IResolvable.Companion::unwrap)) } /** * @param spaceSettings A collection of space settings. */ override fun spaceSettings(spaceSettings: CfnSpace.SpaceSettingsProperty) { - cdkBuilder.spaceSettings(spaceSettings.let(CfnSpace.SpaceSettingsProperty::unwrap)) + cdkBuilder.spaceSettings(spaceSettings.let(CfnSpace.SpaceSettingsProperty.Companion::unwrap)) } /** @@ -310,14 +310,14 @@ public interface CfnSpaceProps { * @param spaceSharingSettings A collection of space sharing settings. */ override fun spaceSharingSettings(spaceSharingSettings: IResolvable) { - cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(IResolvable.Companion::unwrap)) } /** * @param spaceSharingSettings A collection of space sharing settings. */ override fun spaceSharingSettings(spaceSharingSettings: CfnSpace.SpaceSharingSettingsProperty) { - cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(CfnSpace.SpaceSharingSettingsProperty::unwrap)) + cdkBuilder.spaceSharingSettings(spaceSharingSettings.let(CfnSpace.SpaceSharingSettingsProperty.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public interface CfnSpaceProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfile.kt index 821683c0dd..5688602fbc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfile.kt @@ -153,8 +153,8 @@ public open class CfnUserProfile( id: String, props: CfnUserProfileProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnUserProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProfileProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnUserProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProfileProps.Companion::unwrap)) ) public constructor( @@ -188,7 +188,7 @@ public open class CfnUserProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnUserProfile( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -260,14 +260,14 @@ public open class CfnUserProfile( * A collection of settings that apply to users of Amazon SageMaker Studio. */ public open fun userSettings(`value`: IResolvable) { - unwrap(this).setUserSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * A collection of settings that apply to users of Amazon SageMaker Studio. */ public open fun userSettings(`value`: UserSettingsProperty) { - unwrap(this).setUserSettings(`value`.let(UserSettingsProperty::unwrap)) + unwrap(this).setUserSettings(`value`.let(UserSettingsProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnUserProfile( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class CfnUserProfile( * @param userSettings A collection of settings that apply to users of Amazon SageMaker Studio. */ override fun userSettings(userSettings: IResolvable) { - cdkBuilder.userSettings(userSettings.let(IResolvable::unwrap)) + cdkBuilder.userSettings(userSettings.let(IResolvable.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class CfnUserProfile( * @param userSettings A collection of settings that apply to users of Amazon SageMaker Studio. */ override fun userSettings(userSettings: UserSettingsProperty) { - cdkBuilder.userSettings(userSettings.let(UserSettingsProperty::unwrap)) + cdkBuilder.userSettings(userSettings.let(UserSettingsProperty.Companion::unwrap)) } /** @@ -649,7 +649,7 @@ public open class CfnUserProfile( * Editor app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnUserProfile( * the default SageMaker image used by the Code Editor app. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CfnUserProfile( * the default SageMaker image used by the Code Editor app. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -906,14 +906,14 @@ public open class CfnUserProfile( * @param efsFileSystemConfig The settings for a custom Amazon EFS file system. */ override fun efsFileSystemConfig(efsFileSystemConfig: IResolvable) { - cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(IResolvable::unwrap)) + cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(IResolvable.Companion::unwrap)) } /** * @param efsFileSystemConfig The settings for a custom Amazon EFS file system. */ override fun efsFileSystemConfig(efsFileSystemConfig: EFSFileSystemConfigProperty) { - cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(EFSFileSystemConfigProperty::unwrap)) + cdkBuilder.efsFileSystemConfig(efsFileSystemConfig.let(EFSFileSystemConfigProperty.Companion::unwrap)) } /** @@ -1215,8 +1215,8 @@ public open class CfnUserProfile( } /** - * A collection of default EBS storage settings that applies to private spaces created within a - * domain or user profile. + * A collection of default EBS storage settings that apply to spaces created within a domain or + * user profile. * * Example: * @@ -1235,14 +1235,14 @@ public open class CfnUserProfile( */ public interface DefaultEbsStorageSettingsProperty { /** - * The default size of the EBS storage volume for a private space. + * The default size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html#cfn-sagemaker-userprofile-defaultebsstoragesettings-defaultebsvolumesizeingb) */ public fun defaultEbsVolumeSizeInGb(): Number /** - * The maximum size of the EBS storage volume for a private space. + * The maximum size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html#cfn-sagemaker-userprofile-defaultebsstoragesettings-maximumebsvolumesizeingb) */ @@ -1254,14 +1254,12 @@ public open class CfnUserProfile( @CdkDslMarker public interface Builder { /** - * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a private - * space. + * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a space. */ public fun defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb: Number) /** - * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a private - * space. + * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a space. */ public fun maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb: Number) } @@ -1273,16 +1271,14 @@ public open class CfnUserProfile( software.amazon.awscdk.services.sagemaker.CfnUserProfile.DefaultEbsStorageSettingsProperty.builder() /** - * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a private - * space. + * @param defaultEbsVolumeSizeInGb The default size of the EBS storage volume for a space. */ override fun defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb: Number) { cdkBuilder.defaultEbsVolumeSizeInGb(defaultEbsVolumeSizeInGb) } /** - * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a private - * space. + * @param maximumEbsVolumeSizeInGb The maximum size of the EBS storage volume for a space. */ override fun maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb: Number) { cdkBuilder.maximumEbsVolumeSizeInGb(maximumEbsVolumeSizeInGb) @@ -1297,14 +1293,14 @@ public open class CfnUserProfile( cdkObject: software.amazon.awscdk.services.sagemaker.CfnUserProfile.DefaultEbsStorageSettingsProperty, ) : CdkObject(cdkObject), DefaultEbsStorageSettingsProperty { /** - * The default size of the EBS storage volume for a private space. + * The default size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html#cfn-sagemaker-userprofile-defaultebsstoragesettings-defaultebsvolumesizeingb) */ override fun defaultEbsVolumeSizeInGb(): Number = unwrap(this).getDefaultEbsVolumeSizeInGb() /** - * The maximum size of the EBS storage volume for a private space. + * The maximum size of the EBS storage volume for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html#cfn-sagemaker-userprofile-defaultebsstoragesettings-maximumebsvolumesizeingb) */ @@ -1331,7 +1327,7 @@ public open class CfnUserProfile( } /** - * The default storage settings for a private space. + * The default storage settings for a space. * * Example: * @@ -1352,7 +1348,7 @@ public open class CfnUserProfile( */ public interface DefaultSpaceStorageSettingsProperty { /** - * The default EBS storage settings for a private space. + * The default EBS storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultspacestoragesettings.html#cfn-sagemaker-userprofile-defaultspacestoragesettings-defaultebsstoragesettings) */ @@ -1364,18 +1360,18 @@ public open class CfnUserProfile( @CdkDslMarker public interface Builder { /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ public fun defaultEbsStorageSettings(defaultEbsStorageSettings: IResolvable) /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ public fun defaultEbsStorageSettings(defaultEbsStorageSettings: DefaultEbsStorageSettingsProperty) /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f67e23f19df36440b0e4a62615f0e09ef5d1f0dcbf47dd16dbb51a8adef7c11") @@ -1390,22 +1386,22 @@ public open class CfnUserProfile( software.amazon.awscdk.services.sagemaker.CfnUserProfile.DefaultSpaceStorageSettingsProperty.builder() /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ override fun defaultEbsStorageSettings(defaultEbsStorageSettings: IResolvable) { - cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(IResolvable.Companion::unwrap)) } /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ override fun defaultEbsStorageSettings(defaultEbsStorageSettings: DefaultEbsStorageSettingsProperty) { - cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(DefaultEbsStorageSettingsProperty::unwrap)) + cdkBuilder.defaultEbsStorageSettings(defaultEbsStorageSettings.let(DefaultEbsStorageSettingsProperty.Companion::unwrap)) } /** - * @param defaultEbsStorageSettings The default EBS storage settings for a private space. + * @param defaultEbsStorageSettings The default EBS storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("7f67e23f19df36440b0e4a62615f0e09ef5d1f0dcbf47dd16dbb51a8adef7c11") @@ -1423,7 +1419,7 @@ public open class CfnUserProfile( cdkObject: software.amazon.awscdk.services.sagemaker.CfnUserProfile.DefaultSpaceStorageSettingsProperty, ) : CdkObject(cdkObject), DefaultSpaceStorageSettingsProperty { /** - * The default EBS storage settings for a private space. + * The default EBS storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultspacestoragesettings.html#cfn-sagemaker-userprofile-defaultspacestoragesettings-defaultebsstoragesettings) */ @@ -1721,7 +1717,7 @@ public open class CfnUserProfile( * users for cloning in the JupyterLab application. */ override fun codeRepositories(codeRepositories: IResolvable) { - cdkBuilder.codeRepositories(codeRepositories.let(IResolvable::unwrap)) + cdkBuilder.codeRepositories(codeRepositories.let(IResolvable.Companion::unwrap)) } /** @@ -1744,7 +1740,7 @@ public open class CfnUserProfile( * JupyterLab app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -1767,7 +1763,7 @@ public open class CfnUserProfile( * the default SageMaker image used by the JupyterLab app. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1775,7 +1771,7 @@ public open class CfnUserProfile( * the default SageMaker image used by the JupyterLab app. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -1933,7 +1929,7 @@ public open class CfnUserProfile( * the default SageMaker image used by the JupyterServer app. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -1941,7 +1937,7 @@ public open class CfnUserProfile( * the default SageMaker image used by the JupyterServer app. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -2105,7 +2101,7 @@ public open class CfnUserProfile( * KernelGateway app. */ override fun customImages(customImages: IResolvable) { - cdkBuilder.customImages(customImages.let(IResolvable::unwrap)) + cdkBuilder.customImages(customImages.let(IResolvable.Companion::unwrap)) } /** @@ -2132,7 +2128,7 @@ public open class CfnUserProfile( * CloudFormation and the instance type parameter value is not passed. */ override fun defaultResourceSpec(defaultResourceSpec: IResolvable) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(IResolvable.Companion::unwrap)) } /** @@ -2144,7 +2140,7 @@ public open class CfnUserProfile( * CloudFormation and the instance type parameter value is not passed. */ override fun defaultResourceSpec(defaultResourceSpec: ResourceSpecProperty) { - cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty::unwrap)) + cdkBuilder.defaultResourceSpec(defaultResourceSpec.let(ResourceSpecProperty.Companion::unwrap)) } /** @@ -2854,7 +2850,7 @@ public open class CfnUserProfile( public fun sharingSettings(): Any? = unwrap(this).getSharingSettings() /** - * The storage settings for a private space. + * The storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-spacestoragesettings) */ @@ -3075,17 +3071,17 @@ public open class CfnUserProfile( public fun sharingSettings(sharingSettings: SharingSettingsProperty.Builder.() -> Unit) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ public fun spaceStorageSettings(spaceStorageSettings: IResolvable) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ public fun spaceStorageSettings(spaceStorageSettings: DefaultSpaceStorageSettingsProperty) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52e04b39a0bbef7c03ae0431e80cfabcc922dc10d762b41ce484dc0006a1d40b") @@ -3109,14 +3105,14 @@ public open class CfnUserProfile( * @param codeEditorAppSettings The Code Editor application settings. */ override fun codeEditorAppSettings(codeEditorAppSettings: IResolvable) { - cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(IResolvable::unwrap)) + cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(IResolvable.Companion::unwrap)) } /** * @param codeEditorAppSettings The Code Editor application settings. */ override fun codeEditorAppSettings(codeEditorAppSettings: CodeEditorAppSettingsProperty) { - cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(CodeEditorAppSettingsProperty::unwrap)) + cdkBuilder.codeEditorAppSettings(codeEditorAppSettings.let(CodeEditorAppSettingsProperty.Companion::unwrap)) } /** @@ -3134,7 +3130,7 @@ public open class CfnUserProfile( * Permitted users can access this file system in Amazon SageMaker Studio. */ override fun customFileSystemConfigs(customFileSystemConfigs: IResolvable) { - cdkBuilder.customFileSystemConfigs(customFileSystemConfigs.let(IResolvable::unwrap)) + cdkBuilder.customFileSystemConfigs(customFileSystemConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -3159,7 +3155,7 @@ public open class CfnUserProfile( * operations. */ override fun customPosixUserConfig(customPosixUserConfig: IResolvable) { - cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(IResolvable::unwrap)) + cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3167,7 +3163,7 @@ public open class CfnUserProfile( * operations. */ override fun customPosixUserConfig(customPosixUserConfig: CustomPosixUserConfigProperty) { - cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(CustomPosixUserConfigProperty::unwrap)) + cdkBuilder.customPosixUserConfig(customPosixUserConfig.let(CustomPosixUserConfigProperty.Companion::unwrap)) } /** @@ -3202,14 +3198,14 @@ public open class CfnUserProfile( * @param jupyterLabAppSettings The settings for the JupyterLab application. */ override fun jupyterLabAppSettings(jupyterLabAppSettings: IResolvable) { - cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(IResolvable.Companion::unwrap)) } /** * @param jupyterLabAppSettings The settings for the JupyterLab application. */ override fun jupyterLabAppSettings(jupyterLabAppSettings: JupyterLabAppSettingsProperty) { - cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(JupyterLabAppSettingsProperty::unwrap)) + cdkBuilder.jupyterLabAppSettings(jupyterLabAppSettings.let(JupyterLabAppSettingsProperty.Companion::unwrap)) } /** @@ -3225,7 +3221,7 @@ public open class CfnUserProfile( * @param jupyterServerAppSettings The Jupyter server's app settings. */ override fun jupyterServerAppSettings(jupyterServerAppSettings: IResolvable) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3233,7 +3229,7 @@ public open class CfnUserProfile( */ override fun jupyterServerAppSettings(jupyterServerAppSettings: JupyterServerAppSettingsProperty) { - cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty::unwrap)) + cdkBuilder.jupyterServerAppSettings(jupyterServerAppSettings.let(JupyterServerAppSettingsProperty.Companion::unwrap)) } /** @@ -3250,7 +3246,7 @@ public open class CfnUserProfile( * @param kernelGatewayAppSettings The kernel gateway app settings. */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: IResolvable) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3258,7 +3254,7 @@ public open class CfnUserProfile( */ override fun kernelGatewayAppSettings(kernelGatewayAppSettings: KernelGatewayAppSettingsProperty) { - cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty::unwrap)) + cdkBuilder.kernelGatewayAppSettings(kernelGatewayAppSettings.let(KernelGatewayAppSettingsProperty.Companion::unwrap)) } /** @@ -3276,7 +3272,7 @@ public open class CfnUserProfile( * with the `RStudioServerPro` app. */ override fun rStudioServerProAppSettings(rStudioServerProAppSettings: IResolvable) { - cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(IResolvable::unwrap)) + cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(IResolvable.Companion::unwrap)) } /** @@ -3285,7 +3281,7 @@ public open class CfnUserProfile( */ override fun rStudioServerProAppSettings(rStudioServerProAppSettings: RStudioServerProAppSettingsProperty) { - cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(RStudioServerProAppSettingsProperty::unwrap)) + cdkBuilder.rStudioServerProAppSettings(rStudioServerProAppSettings.let(RStudioServerProAppSettingsProperty.Companion::unwrap)) } /** @@ -3336,14 +3332,14 @@ public open class CfnUserProfile( * @param sharingSettings Specifies options for sharing Amazon SageMaker Studio notebooks. */ override fun sharingSettings(sharingSettings: IResolvable) { - cdkBuilder.sharingSettings(sharingSettings.let(IResolvable::unwrap)) + cdkBuilder.sharingSettings(sharingSettings.let(IResolvable.Companion::unwrap)) } /** * @param sharingSettings Specifies options for sharing Amazon SageMaker Studio notebooks. */ override fun sharingSettings(sharingSettings: SharingSettingsProperty) { - cdkBuilder.sharingSettings(sharingSettings.let(SharingSettingsProperty::unwrap)) + cdkBuilder.sharingSettings(sharingSettings.let(SharingSettingsProperty.Companion::unwrap)) } /** @@ -3355,21 +3351,21 @@ public open class CfnUserProfile( Unit = sharingSettings(SharingSettingsProperty(sharingSettings)) /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ override fun spaceStorageSettings(spaceStorageSettings: IResolvable) { - cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(IResolvable::unwrap)) + cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(IResolvable.Companion::unwrap)) } /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ override fun spaceStorageSettings(spaceStorageSettings: DefaultSpaceStorageSettingsProperty) { - cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(DefaultSpaceStorageSettingsProperty::unwrap)) + cdkBuilder.spaceStorageSettings(spaceStorageSettings.let(DefaultSpaceStorageSettingsProperty.Companion::unwrap)) } /** - * @param spaceStorageSettings The storage settings for a private space. + * @param spaceStorageSettings The storage settings for a space. */ @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("52e04b39a0bbef7c03ae0431e80cfabcc922dc10d762b41ce484dc0006a1d40b") @@ -3491,7 +3487,7 @@ public open class CfnUserProfile( override fun sharingSettings(): Any? = unwrap(this).getSharingSettings() /** - * The storage settings for a private space. + * The storage settings for a space. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-spacestoragesettings) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfileProps.kt index 7967e320a7..83573799ba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnUserProfileProps.kt @@ -294,7 +294,7 @@ public interface CfnUserProfileProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -319,14 +319,14 @@ public interface CfnUserProfileProps { * @param userSettings A collection of settings that apply to users of Amazon SageMaker Studio. */ override fun userSettings(userSettings: IResolvable) { - cdkBuilder.userSettings(userSettings.let(IResolvable::unwrap)) + cdkBuilder.userSettings(userSettings.let(IResolvable.Companion::unwrap)) } /** * @param userSettings A collection of settings that apply to users of Amazon SageMaker Studio. */ override fun userSettings(userSettings: CfnUserProfile.UserSettingsProperty) { - cdkBuilder.userSettings(userSettings.let(CfnUserProfile.UserSettingsProperty::unwrap)) + cdkBuilder.userSettings(userSettings.let(CfnUserProfile.UserSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteam.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteam.kt index e53f35c98e..10fcadc662 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteam.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteam.kt @@ -64,7 +64,7 @@ public open class CfnWorkteam( cdkObject: software.amazon.awscdk.services.sagemaker.CfnWorkteam, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sagemaker.CfnWorkteam(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sagemaker.CfnWorkteam(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -73,8 +73,8 @@ public open class CfnWorkteam( id: String, props: CfnWorkteamProps, ) : - this(software.amazon.awscdk.services.sagemaker.CfnWorkteam(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkteamProps::unwrap)) + this(software.amazon.awscdk.services.sagemaker.CfnWorkteam(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkteamProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnWorkteam( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnWorkteam( * up the work team. */ public open fun memberDefinitions(`value`: IResolvable) { - unwrap(this).setMemberDefinitions(`value`.let(IResolvable::unwrap)) + unwrap(this).setMemberDefinitions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -152,14 +152,14 @@ public open class CfnWorkteam( * Configures SNS notifications of available or expiring work items for work teams. */ public open fun notificationConfiguration(`value`: IResolvable) { - unwrap(this).setNotificationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configures SNS notifications of available or expiring work items for work teams. */ public open fun notificationConfiguration(`value`: NotificationConfigurationProperty) { - unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnWorkteam( * An array of key-value pairs. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class CfnWorkteam( * identify the workers that make up the work team. */ override fun memberDefinitions(memberDefinitions: IResolvable) { - cdkBuilder.memberDefinitions(memberDefinitions.let(IResolvable::unwrap)) + cdkBuilder.memberDefinitions(memberDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnWorkteam( * items for work teams. */ override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnWorkteam( */ override fun notificationConfiguration(notificationConfiguration: NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class CfnWorkteam( * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public open class CfnWorkteam( * @param cognitoMemberDefinition The Amazon Cognito user group that is part of the work team. */ override fun cognitoMemberDefinition(cognitoMemberDefinition: IResolvable) { - cdkBuilder.cognitoMemberDefinition(cognitoMemberDefinition.let(IResolvable::unwrap)) + cdkBuilder.cognitoMemberDefinition(cognitoMemberDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public open class CfnWorkteam( */ override fun cognitoMemberDefinition(cognitoMemberDefinition: CognitoMemberDefinitionProperty) { - cdkBuilder.cognitoMemberDefinition(cognitoMemberDefinition.let(CognitoMemberDefinitionProperty::unwrap)) + cdkBuilder.cognitoMemberDefinition(cognitoMemberDefinition.let(CognitoMemberDefinitionProperty.Companion::unwrap)) } /** @@ -788,7 +788,7 @@ public open class CfnWorkteam( * the work team. */ override fun oidcMemberDefinition(oidcMemberDefinition: IResolvable) { - cdkBuilder.oidcMemberDefinition(oidcMemberDefinition.let(IResolvable::unwrap)) + cdkBuilder.oidcMemberDefinition(oidcMemberDefinition.let(IResolvable.Companion::unwrap)) } /** @@ -800,7 +800,7 @@ public open class CfnWorkteam( * the work team. */ override fun oidcMemberDefinition(oidcMemberDefinition: OidcMemberDefinitionProperty) { - cdkBuilder.oidcMemberDefinition(oidcMemberDefinition.let(OidcMemberDefinitionProperty::unwrap)) + cdkBuilder.oidcMemberDefinition(oidcMemberDefinition.let(OidcMemberDefinitionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteamProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteamProps.kt index 9286207fc2..c64c8d94db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteamProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/CfnWorkteamProps.kt @@ -195,7 +195,7 @@ public interface CfnWorkteamProps { * created using your own OIDC identity provider (IdP) use `OidcMemberDefinition` . */ override fun memberDefinitions(memberDefinitions: IResolvable) { - cdkBuilder.memberDefinitions(memberDefinitions.let(IResolvable::unwrap)) + cdkBuilder.memberDefinitions(memberDefinitions.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface CfnWorkteamProps { * items for work teams. */ override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public interface CfnWorkteamProps { */ override fun notificationConfiguration(notificationConfiguration: CfnWorkteam.NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnWorkteam.NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnWorkteam.NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface CfnWorkteamProps { * @param tags An array of key-value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IEndpoint.kt index 7b68d96d4a..7f6f1237bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IEndpoint.kt @@ -51,7 +51,7 @@ public interface IEndpoint : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -82,7 +82,7 @@ public interface IEndpoint : IResource { * @param grantee The principal to grant access to. */ override fun grantInvoke(grantee: IGrantable): Grant = - unwrap(this).grantInvoke(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantInvoke(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IPipeline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IPipeline.kt index 9de140e11d..6caf7e21c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IPipeline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sagemaker/IPipeline.kt @@ -51,7 +51,7 @@ public interface IPipeline : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public interface IPipeline : IResource { * @param grantee The principal to grant access to. */ override fun grantStartPipelineExecution(grantee: IGrantable): Grant = - unwrap(this).grantStartPipelineExecution(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStartPipelineExecution(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApi.kt index 030bcf98b7..5a4304bef9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApi.kt @@ -109,8 +109,8 @@ public open class CfnApi( id: String, props: CfnApiProps, ) : - this(software.amazon.awscdk.services.sam.CfnApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApiProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApiProps.Companion::unwrap)) ) public constructor( @@ -129,14 +129,14 @@ public open class CfnApi( * */ public open fun accessLogSetting(`value`: IResolvable) { - unwrap(this).setAccessLogSetting(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessLogSetting(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun accessLogSetting(`value`: AccessLogSettingProperty) { - unwrap(this).setAccessLogSetting(`value`.let(AccessLogSettingProperty::unwrap)) + unwrap(this).setAccessLogSetting(`value`.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnApi( * */ public open fun alwaysDeploy(`value`: IResolvable) { - unwrap(this).setAlwaysDeploy(`value`.let(IResolvable::unwrap)) + unwrap(this).setAlwaysDeploy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -175,14 +175,14 @@ public open class CfnApi( * */ public open fun auth(`value`: IResolvable) { - unwrap(this).setAuth(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuth(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun auth(`value`: AuthProperty) { - unwrap(this).setAuth(`value`.let(AuthProperty::unwrap)) + unwrap(this).setAuth(`value`.let(AuthProperty.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnApi( * */ public open fun cacheClusterEnabled(`value`: IResolvable) { - unwrap(this).setCacheClusterEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setCacheClusterEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -251,14 +251,14 @@ public open class CfnApi( * */ public open fun canarySetting(`value`: IResolvable) { - unwrap(this).setCanarySetting(`value`.let(IResolvable::unwrap)) + unwrap(this).setCanarySetting(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun canarySetting(`value`: CanarySettingProperty) { - unwrap(this).setCanarySetting(`value`.let(CanarySettingProperty::unwrap)) + unwrap(this).setCanarySetting(`value`.let(CanarySettingProperty.Companion::unwrap)) } /** @@ -285,14 +285,14 @@ public open class CfnApi( * */ public open fun cors(`value`: IResolvable) { - unwrap(this).setCors(`value`.let(IResolvable::unwrap)) + unwrap(this).setCors(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun cors(`value`: CorsConfigurationProperty) { - unwrap(this).setCors(`value`.let(CorsConfigurationProperty::unwrap)) + unwrap(this).setCors(`value`.let(CorsConfigurationProperty.Companion::unwrap)) } /** @@ -331,14 +331,14 @@ public open class CfnApi( * */ public open fun definitionUri(`value`: IResolvable) { - unwrap(this).setDefinitionUri(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinitionUri(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definitionUri(`value`: S3LocationProperty) { - unwrap(this).setDefinitionUri(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setDefinitionUri(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public open class CfnApi( * */ public open fun disableExecuteApiEndpoint(`value`: IResolvable) { - unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -389,14 +389,14 @@ public open class CfnApi( * */ public open fun domain(`value`: IResolvable) { - unwrap(this).setDomain(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomain(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun domain(`value`: DomainConfigurationProperty) { - unwrap(this).setDomain(`value`.let(DomainConfigurationProperty::unwrap)) + unwrap(this).setDomain(`value`.let(DomainConfigurationProperty.Companion::unwrap)) } /** @@ -423,14 +423,14 @@ public open class CfnApi( * */ public open fun endpointConfiguration(`value`: IResolvable) { - unwrap(this).setEndpointConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpointConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun endpointConfiguration(`value`: EndpointConfigurationProperty) { - unwrap(this).setEndpointConfiguration(`value`.let(EndpointConfigurationProperty::unwrap)) + unwrap(this).setEndpointConfiguration(`value`.let(EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class CfnApi( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class CfnApi( * */ public open fun methodSettings(`value`: IResolvable) { - unwrap(this).setMethodSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setMethodSettings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class CfnApi( * */ public open fun tracingEnabled(`value`: IResolvable) { - unwrap(this).setTracingEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setTracingEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public open class CfnApi( * */ public open fun variables(`value`: IResolvable) { - unwrap(this).setVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -928,7 +928,7 @@ public open class CfnApi( * @param accessLogSetting */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public open class CfnApi( * @param accessLogSetting */ override fun accessLogSetting(accessLogSetting: AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public open class CfnApi( * @param alwaysDeploy */ override fun alwaysDeploy(alwaysDeploy: IResolvable) { - cdkBuilder.alwaysDeploy(alwaysDeploy.let(IResolvable::unwrap)) + cdkBuilder.alwaysDeploy(alwaysDeploy.let(IResolvable.Companion::unwrap)) } /** @@ -969,7 +969,7 @@ public open class CfnApi( * @param auth */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** @@ -977,7 +977,7 @@ public open class CfnApi( * @param auth */ override fun auth(auth: AuthProperty) { - cdkBuilder.auth(auth.let(AuthProperty::unwrap)) + cdkBuilder.auth(auth.let(AuthProperty.Companion::unwrap)) } /** @@ -1016,7 +1016,7 @@ public open class CfnApi( * @param cacheClusterEnabled */ override fun cacheClusterEnabled(cacheClusterEnabled: IResolvable) { - cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable::unwrap)) + cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1032,7 +1032,7 @@ public open class CfnApi( * @param canarySetting */ override fun canarySetting(canarySetting: IResolvable) { - cdkBuilder.canarySetting(canarySetting.let(IResolvable::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(IResolvable.Companion::unwrap)) } /** @@ -1040,7 +1040,7 @@ public open class CfnApi( * @param canarySetting */ override fun canarySetting(canarySetting: CanarySettingProperty) { - cdkBuilder.canarySetting(canarySetting.let(CanarySettingProperty::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(CanarySettingProperty.Companion::unwrap)) } /** @@ -1065,7 +1065,7 @@ public open class CfnApi( * @param cors */ override fun cors(cors: IResolvable) { - cdkBuilder.cors(cors.let(IResolvable::unwrap)) + cdkBuilder.cors(cors.let(IResolvable.Companion::unwrap)) } /** @@ -1073,7 +1073,7 @@ public open class CfnApi( * @param cors */ override fun cors(cors: CorsConfigurationProperty) { - cdkBuilder.cors(cors.let(CorsConfigurationProperty::unwrap)) + cdkBuilder.cors(cors.let(CorsConfigurationProperty.Companion::unwrap)) } /** @@ -1106,7 +1106,7 @@ public open class CfnApi( * @param definitionUri */ override fun definitionUri(definitionUri: IResolvable) { - cdkBuilder.definitionUri(definitionUri.let(IResolvable::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(IResolvable.Companion::unwrap)) } /** @@ -1114,7 +1114,7 @@ public open class CfnApi( * @param definitionUri */ override fun definitionUri(definitionUri: S3LocationProperty) { - cdkBuilder.definitionUri(definitionUri.let(S3LocationProperty::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(S3LocationProperty.Companion::unwrap)) } /** @@ -1147,7 +1147,7 @@ public open class CfnApi( * @param disableExecuteApiEndpoint */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -1155,7 +1155,7 @@ public open class CfnApi( * @param domain */ override fun domain(domain: IResolvable) { - cdkBuilder.domain(domain.let(IResolvable::unwrap)) + cdkBuilder.domain(domain.let(IResolvable.Companion::unwrap)) } /** @@ -1163,7 +1163,7 @@ public open class CfnApi( * @param domain */ override fun domain(domain: DomainConfigurationProperty) { - cdkBuilder.domain(domain.let(DomainConfigurationProperty::unwrap)) + cdkBuilder.domain(domain.let(DomainConfigurationProperty.Companion::unwrap)) } /** @@ -1188,7 +1188,7 @@ public open class CfnApi( * @param endpointConfiguration */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1196,7 +1196,7 @@ public open class CfnApi( * @param endpointConfiguration */ override fun endpointConfiguration(endpointConfiguration: EndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -1237,7 +1237,7 @@ public open class CfnApi( * @param methodSettings */ override fun methodSettings(methodSettings: IResolvable) { - cdkBuilder.methodSettings(methodSettings.let(IResolvable::unwrap)) + cdkBuilder.methodSettings(methodSettings.let(IResolvable.Companion::unwrap)) } /** @@ -1301,7 +1301,7 @@ public open class CfnApi( * @param tracingEnabled */ override fun tracingEnabled(tracingEnabled: IResolvable) { - cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable::unwrap)) + cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1309,7 +1309,7 @@ public open class CfnApi( * @param variables */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -1521,7 +1521,7 @@ public open class CfnApi( */ override fun addDefaultAuthorizerToCorsPreflight(addDefaultAuthorizerToCorsPreflight: IResolvable) { - cdkBuilder.addDefaultAuthorizerToCorsPreflight(addDefaultAuthorizerToCorsPreflight.let(IResolvable::unwrap)) + cdkBuilder.addDefaultAuthorizerToCorsPreflight(addDefaultAuthorizerToCorsPreflight.let(IResolvable.Companion::unwrap)) } /** @@ -1675,7 +1675,7 @@ public open class CfnApi( * @param stageVariableOverrides the value to be set. */ override fun stageVariableOverrides(stageVariableOverrides: IResolvable) { - cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable::unwrap)) + cdkBuilder.stageVariableOverrides(stageVariableOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -1696,7 +1696,7 @@ public open class CfnApi( * @param useStageCache the value to be set. */ override fun useStageCache(useStageCache: IResolvable) { - cdkBuilder.useStageCache(useStageCache.let(IResolvable::unwrap)) + cdkBuilder.useStageCache(useStageCache.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sam.CfnApi.CanarySettingProperty = @@ -1841,7 +1841,7 @@ public open class CfnApi( * @param allowCredentials the value to be set. */ override fun allowCredentials(allowCredentials: IResolvable) { - cdkBuilder.allowCredentials(allowCredentials.let(IResolvable::unwrap)) + cdkBuilder.allowCredentials(allowCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -2114,7 +2114,7 @@ public open class CfnApi( * @param mutualTlsAuthentication the value to be set. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: IResolvable) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -2122,7 +2122,7 @@ public open class CfnApi( */ override fun mutualTlsAuthentication(mutualTlsAuthentication: MutualTlsAuthenticationProperty) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty.Companion::unwrap)) } /** @@ -2146,14 +2146,14 @@ public open class CfnApi( * @param route53 the value to be set. */ override fun route53(route53: IResolvable) { - cdkBuilder.route53(route53.let(IResolvable::unwrap)) + cdkBuilder.route53(route53.let(IResolvable.Companion::unwrap)) } /** * @param route53 the value to be set. */ override fun route53(route53: Route53ConfigurationProperty) { - cdkBuilder.route53(route53.let(Route53ConfigurationProperty::unwrap)) + cdkBuilder.route53(route53.let(Route53ConfigurationProperty.Companion::unwrap)) } /** @@ -2554,7 +2554,7 @@ public open class CfnApi( * @param evaluateTargetHealth the value to be set. */ override fun evaluateTargetHealth(evaluateTargetHealth: IResolvable) { - cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable::unwrap)) + cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable.Companion::unwrap)) } /** @@ -2582,7 +2582,7 @@ public open class CfnApi( * @param ipV6 the value to be set. */ override fun ipV6(ipV6: IResolvable) { - cdkBuilder.ipV6(ipV6.let(IResolvable::unwrap)) + cdkBuilder.ipV6(ipV6.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sam.CfnApi.Route53ConfigurationProperty = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApiProps.kt index bbad78735e..1cdc35c4d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApiProps.kt @@ -490,14 +490,14 @@ public interface CfnApiProps { * @param accessLogSetting the value to be set. */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** * @param accessLogSetting the value to be set. */ override fun accessLogSetting(accessLogSetting: CfnApi.AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(CfnApi.AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(CfnApi.AccessLogSettingProperty.Companion::unwrap)) } /** @@ -520,21 +520,21 @@ public interface CfnApiProps { * @param alwaysDeploy the value to be set. */ override fun alwaysDeploy(alwaysDeploy: IResolvable) { - cdkBuilder.alwaysDeploy(alwaysDeploy.let(IResolvable::unwrap)) + cdkBuilder.alwaysDeploy(alwaysDeploy.let(IResolvable.Companion::unwrap)) } /** * @param auth the value to be set. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** * @param auth the value to be set. */ override fun auth(auth: CfnApi.AuthProperty) { - cdkBuilder.auth(auth.let(CfnApi.AuthProperty::unwrap)) + cdkBuilder.auth(auth.let(CfnApi.AuthProperty.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public interface CfnApiProps { * @param cacheClusterEnabled the value to be set. */ override fun cacheClusterEnabled(cacheClusterEnabled: IResolvable) { - cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable::unwrap)) + cdkBuilder.cacheClusterEnabled(cacheClusterEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -583,14 +583,14 @@ public interface CfnApiProps { * @param canarySetting the value to be set. */ override fun canarySetting(canarySetting: IResolvable) { - cdkBuilder.canarySetting(canarySetting.let(IResolvable::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(IResolvable.Companion::unwrap)) } /** * @param canarySetting the value to be set. */ override fun canarySetting(canarySetting: CfnApi.CanarySettingProperty) { - cdkBuilder.canarySetting(canarySetting.let(CfnApi.CanarySettingProperty::unwrap)) + cdkBuilder.canarySetting(canarySetting.let(CfnApi.CanarySettingProperty.Companion::unwrap)) } /** @@ -612,14 +612,14 @@ public interface CfnApiProps { * @param cors the value to be set. */ override fun cors(cors: IResolvable) { - cdkBuilder.cors(cors.let(IResolvable::unwrap)) + cdkBuilder.cors(cors.let(IResolvable.Companion::unwrap)) } /** * @param cors the value to be set. */ override fun cors(cors: CfnApi.CorsConfigurationProperty) { - cdkBuilder.cors(cors.let(CfnApi.CorsConfigurationProperty::unwrap)) + cdkBuilder.cors(cors.let(CfnApi.CorsConfigurationProperty.Companion::unwrap)) } /** @@ -648,14 +648,14 @@ public interface CfnApiProps { * @param definitionUri the value to be set. */ override fun definitionUri(definitionUri: IResolvable) { - cdkBuilder.definitionUri(definitionUri.let(IResolvable::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(IResolvable.Companion::unwrap)) } /** * @param definitionUri the value to be set. */ override fun definitionUri(definitionUri: CfnApi.S3LocationProperty) { - cdkBuilder.definitionUri(definitionUri.let(CfnApi.S3LocationProperty::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(CfnApi.S3LocationProperty.Companion::unwrap)) } /** @@ -684,21 +684,21 @@ public interface CfnApiProps { * @param disableExecuteApiEndpoint the value to be set. */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param domain the value to be set. */ override fun domain(domain: IResolvable) { - cdkBuilder.domain(domain.let(IResolvable::unwrap)) + cdkBuilder.domain(domain.let(IResolvable.Companion::unwrap)) } /** * @param domain the value to be set. */ override fun domain(domain: CfnApi.DomainConfigurationProperty) { - cdkBuilder.domain(domain.let(CfnApi.DomainConfigurationProperty::unwrap)) + cdkBuilder.domain(domain.let(CfnApi.DomainConfigurationProperty.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public interface CfnApiProps { * @param endpointConfiguration the value to be set. */ override fun endpointConfiguration(endpointConfiguration: IResolvable) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -728,7 +728,7 @@ public interface CfnApiProps { */ override fun endpointConfiguration(endpointConfiguration: CfnApi.EndpointConfigurationProperty) { - cdkBuilder.endpointConfiguration(endpointConfiguration.let(CfnApi.EndpointConfigurationProperty::unwrap)) + cdkBuilder.endpointConfiguration(endpointConfiguration.let(CfnApi.EndpointConfigurationProperty.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public interface CfnApiProps { * @param methodSettings the value to be set. */ override fun methodSettings(methodSettings: IResolvable) { - cdkBuilder.methodSettings(methodSettings.let(IResolvable::unwrap)) + cdkBuilder.methodSettings(methodSettings.let(IResolvable.Companion::unwrap)) } /** @@ -820,14 +820,14 @@ public interface CfnApiProps { * @param tracingEnabled the value to be set. */ override fun tracingEnabled(tracingEnabled: IResolvable) { - cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable::unwrap)) + cdkBuilder.tracingEnabled(tracingEnabled.let(IResolvable.Companion::unwrap)) } /** * @param variables the value to be set. */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplication.kt index b4e3dc9604..c075a7e522 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplication.kt @@ -52,8 +52,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.sam.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -88,14 +88,14 @@ public open class CfnApplication( * */ public open fun location(`value`: IResolvable) { - unwrap(this).setLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setLocation(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun location(`value`: ApplicationLocationProperty) { - unwrap(this).setLocation(`value`.let(ApplicationLocationProperty::unwrap)) + unwrap(this).setLocation(`value`.let(ApplicationLocationProperty.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnApplication( * */ public open fun parameters(`value`: IResolvable) { - unwrap(this).setParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public open class CfnApplication( * @param location */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public open class CfnApplication( * @param location */ override fun location(location: ApplicationLocationProperty) { - cdkBuilder.location(location.let(ApplicationLocationProperty::unwrap)) + cdkBuilder.location(location.let(ApplicationLocationProperty.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnApplication( * @param parameters */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplicationProps.kt index 8d68c11f40..5d811336b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnApplicationProps.kt @@ -136,14 +136,14 @@ public interface CfnApplicationProps { * @param location the value to be set. */ override fun location(location: IResolvable) { - cdkBuilder.location(location.let(IResolvable::unwrap)) + cdkBuilder.location(location.let(IResolvable.Companion::unwrap)) } /** * @param location the value to be set. */ override fun location(location: CfnApplication.ApplicationLocationProperty) { - cdkBuilder.location(location.let(CfnApplication.ApplicationLocationProperty::unwrap)) + cdkBuilder.location(location.let(CfnApplication.ApplicationLocationProperty.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public interface CfnApplicationProps { * @param parameters the value to be set. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunction.kt index cb637f4d8f..c8f1477887 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunction.kt @@ -133,7 +133,7 @@ public open class CfnFunction( cdkObject: software.amazon.awscdk.services.sam.CfnFunction, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sam.CfnFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sam.CfnFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -142,8 +142,8 @@ public open class CfnFunction( id: String, props: CfnFunctionProps, ) : - this(software.amazon.awscdk.services.sam.CfnFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnFunctionProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnFunctionProps.Companion::unwrap)) ) public constructor( @@ -234,14 +234,14 @@ public open class CfnFunction( * */ public open fun codeUri(`value`: IResolvable) { - unwrap(this).setCodeUri(`value`.let(IResolvable::unwrap)) + unwrap(this).setCodeUri(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun codeUri(`value`: S3LocationProperty) { - unwrap(this).setCodeUri(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setCodeUri(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -261,14 +261,14 @@ public open class CfnFunction( * */ public open fun deadLetterQueue(`value`: IResolvable) { - unwrap(this).setDeadLetterQueue(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeadLetterQueue(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun deadLetterQueue(`value`: DeadLetterQueueProperty) { - unwrap(this).setDeadLetterQueue(`value`.let(DeadLetterQueueProperty::unwrap)) + unwrap(this).setDeadLetterQueue(`value`.let(DeadLetterQueueProperty.Companion::unwrap)) } /** @@ -288,14 +288,14 @@ public open class CfnFunction( * */ public open fun deploymentPreference(`value`: IResolvable) { - unwrap(this).setDeploymentPreference(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentPreference(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun deploymentPreference(`value`: DeploymentPreferenceProperty) { - unwrap(this).setDeploymentPreference(`value`.let(DeploymentPreferenceProperty::unwrap)) + unwrap(this).setDeploymentPreference(`value`.let(DeploymentPreferenceProperty.Companion::unwrap)) } /** @@ -327,14 +327,14 @@ public open class CfnFunction( * */ public open fun environment(`value`: IResolvable) { - unwrap(this).setEnvironment(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnvironment(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun environment(`value`: FunctionEnvironmentProperty) { - unwrap(this).setEnvironment(`value`.let(FunctionEnvironmentProperty::unwrap)) + unwrap(this).setEnvironment(`value`.let(FunctionEnvironmentProperty.Companion::unwrap)) } /** @@ -354,14 +354,14 @@ public open class CfnFunction( * */ public open fun ephemeralStorage(`value`: IResolvable) { - unwrap(this).setEphemeralStorage(`value`.let(IResolvable::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun ephemeralStorage(`value`: EphemeralStorageProperty) { - unwrap(this).setEphemeralStorage(`value`.let(EphemeralStorageProperty::unwrap)) + unwrap(this).setEphemeralStorage(`value`.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -381,14 +381,14 @@ public open class CfnFunction( * */ public open fun eventInvokeConfig(`value`: IResolvable) { - unwrap(this).setEventInvokeConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventInvokeConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun eventInvokeConfig(`value`: EventInvokeConfigProperty) { - unwrap(this).setEventInvokeConfig(`value`.let(EventInvokeConfigProperty::unwrap)) + unwrap(this).setEventInvokeConfig(`value`.let(EventInvokeConfigProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class CfnFunction( * */ public open fun events(`value`: IResolvable) { - unwrap(this).setEvents(`value`.let(IResolvable::unwrap)) + unwrap(this).setEvents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CfnFunction( * */ public open fun fileSystemConfigs(`value`: IResolvable) { - unwrap(this).setFileSystemConfigs(`value`.let(IResolvable::unwrap)) + unwrap(this).setFileSystemConfigs(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -463,14 +463,14 @@ public open class CfnFunction( * */ public open fun functionUrlConfig(`value`: IResolvable) { - unwrap(this).setFunctionUrlConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setFunctionUrlConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun functionUrlConfig(`value`: FunctionUrlConfigProperty) { - unwrap(this).setFunctionUrlConfig(`value`.let(FunctionUrlConfigProperty::unwrap)) + unwrap(this).setFunctionUrlConfig(`value`.let(FunctionUrlConfigProperty.Companion::unwrap)) } /** @@ -502,14 +502,14 @@ public open class CfnFunction( * */ public open fun imageConfig(`value`: IResolvable) { - unwrap(this).setImageConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setImageConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun imageConfig(`value`: ImageConfigProperty) { - unwrap(this).setImageConfig(`value`.let(ImageConfigProperty::unwrap)) + unwrap(this).setImageConfig(`value`.let(ImageConfigProperty.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnFunction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -634,14 +634,14 @@ public open class CfnFunction( * */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun policies(`value`: IAMPolicyDocumentProperty) { - unwrap(this).setPolicies(`value`.let(IAMPolicyDocumentProperty::unwrap)) + unwrap(this).setPolicies(`value`.let(IAMPolicyDocumentProperty.Companion::unwrap)) } /** @@ -674,14 +674,14 @@ public open class CfnFunction( * */ public open fun provisionedConcurrencyConfig(`value`: IResolvable) { - unwrap(this).setProvisionedConcurrencyConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisionedConcurrencyConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun provisionedConcurrencyConfig(`value`: ProvisionedConcurrencyConfigProperty) { - unwrap(this).setProvisionedConcurrencyConfig(`value`.let(ProvisionedConcurrencyConfigProperty::unwrap)) + unwrap(this).setProvisionedConcurrencyConfig(`value`.let(ProvisionedConcurrencyConfigProperty.Companion::unwrap)) } /** @@ -792,14 +792,14 @@ public open class CfnFunction( * */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun vpcConfig(`value`: VpcConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -1304,7 +1304,7 @@ public open class CfnFunction( * @param codeUri */ override fun codeUri(codeUri: IResolvable) { - cdkBuilder.codeUri(codeUri.let(IResolvable::unwrap)) + cdkBuilder.codeUri(codeUri.let(IResolvable.Companion::unwrap)) } /** @@ -1312,7 +1312,7 @@ public open class CfnFunction( * @param codeUri */ override fun codeUri(codeUri: S3LocationProperty) { - cdkBuilder.codeUri(codeUri.let(S3LocationProperty::unwrap)) + cdkBuilder.codeUri(codeUri.let(S3LocationProperty.Companion::unwrap)) } /** @@ -1329,7 +1329,7 @@ public open class CfnFunction( * @param deadLetterQueue */ override fun deadLetterQueue(deadLetterQueue: IResolvable) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IResolvable::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IResolvable.Companion::unwrap)) } /** @@ -1337,7 +1337,7 @@ public open class CfnFunction( * @param deadLetterQueue */ override fun deadLetterQueue(deadLetterQueue: DeadLetterQueueProperty) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(DeadLetterQueueProperty::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(DeadLetterQueueProperty.Companion::unwrap)) } /** @@ -1354,7 +1354,7 @@ public open class CfnFunction( * @param deploymentPreference */ override fun deploymentPreference(deploymentPreference: IResolvable) { - cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable.Companion::unwrap)) } /** @@ -1362,7 +1362,7 @@ public open class CfnFunction( * @param deploymentPreference */ override fun deploymentPreference(deploymentPreference: DeploymentPreferenceProperty) { - cdkBuilder.deploymentPreference(deploymentPreference.let(DeploymentPreferenceProperty::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(DeploymentPreferenceProperty.Companion::unwrap)) } /** @@ -1388,7 +1388,7 @@ public open class CfnFunction( * @param environment */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** @@ -1396,7 +1396,7 @@ public open class CfnFunction( * @param environment */ override fun environment(environment: FunctionEnvironmentProperty) { - cdkBuilder.environment(environment.let(FunctionEnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(FunctionEnvironmentProperty.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class CfnFunction( * @param ephemeralStorage */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** @@ -1421,7 +1421,7 @@ public open class CfnFunction( * @param ephemeralStorage */ override fun ephemeralStorage(ephemeralStorage: EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(EphemeralStorageProperty.Companion::unwrap)) } /** @@ -1438,7 +1438,7 @@ public open class CfnFunction( * @param eventInvokeConfig */ override fun eventInvokeConfig(eventInvokeConfig: IResolvable) { - cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(IResolvable::unwrap)) + cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1446,7 +1446,7 @@ public open class CfnFunction( * @param eventInvokeConfig */ override fun eventInvokeConfig(eventInvokeConfig: EventInvokeConfigProperty) { - cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(EventInvokeConfigProperty::unwrap)) + cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(EventInvokeConfigProperty.Companion::unwrap)) } /** @@ -1463,7 +1463,7 @@ public open class CfnFunction( * @param events */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -1479,7 +1479,7 @@ public open class CfnFunction( * @param fileSystemConfigs */ override fun fileSystemConfigs(fileSystemConfigs: IResolvable) { - cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable::unwrap)) + cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -1510,7 +1510,7 @@ public open class CfnFunction( * @param functionUrlConfig */ override fun functionUrlConfig(functionUrlConfig: IResolvable) { - cdkBuilder.functionUrlConfig(functionUrlConfig.let(IResolvable::unwrap)) + cdkBuilder.functionUrlConfig(functionUrlConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1518,7 +1518,7 @@ public open class CfnFunction( * @param functionUrlConfig */ override fun functionUrlConfig(functionUrlConfig: FunctionUrlConfigProperty) { - cdkBuilder.functionUrlConfig(functionUrlConfig.let(FunctionUrlConfigProperty::unwrap)) + cdkBuilder.functionUrlConfig(functionUrlConfig.let(FunctionUrlConfigProperty.Companion::unwrap)) } /** @@ -1543,7 +1543,7 @@ public open class CfnFunction( * @param imageConfig */ override fun imageConfig(imageConfig: IResolvable) { - cdkBuilder.imageConfig(imageConfig.let(IResolvable::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1551,7 +1551,7 @@ public open class CfnFunction( * @param imageConfig */ override fun imageConfig(imageConfig: ImageConfigProperty) { - cdkBuilder.imageConfig(imageConfig.let(ImageConfigProperty::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(ImageConfigProperty.Companion::unwrap)) } /** @@ -1638,7 +1638,7 @@ public open class CfnFunction( * @param policies */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -1646,7 +1646,7 @@ public open class CfnFunction( * @param policies */ override fun policies(policies: IAMPolicyDocumentProperty) { - cdkBuilder.policies(policies.let(IAMPolicyDocumentProperty::unwrap)) + cdkBuilder.policies(policies.let(IAMPolicyDocumentProperty.Companion::unwrap)) } /** @@ -1677,7 +1677,7 @@ public open class CfnFunction( * @param provisionedConcurrencyConfig */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: IResolvable) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1686,7 +1686,7 @@ public open class CfnFunction( */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: ProvisionedConcurrencyConfigProperty) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(ProvisionedConcurrencyConfigProperty::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(ProvisionedConcurrencyConfigProperty.Companion::unwrap)) } /** @@ -1761,7 +1761,7 @@ public open class CfnFunction( * @param vpcConfig */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1769,7 +1769,7 @@ public open class CfnFunction( * @param vpcConfig */ override fun vpcConfig(vpcConfig: VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfigProperty.Companion::unwrap)) } /** @@ -2035,14 +2035,14 @@ public open class CfnFunction( * @param auth the value to be set. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** * @param auth the value to be set. */ override fun auth(auth: AuthProperty) { - cdkBuilder.auth(auth.let(AuthProperty::unwrap)) + cdkBuilder.auth(auth.let(AuthProperty.Companion::unwrap)) } /** @@ -2070,14 +2070,14 @@ public open class CfnFunction( * @param requestModel the value to be set. */ override fun requestModel(requestModel: IResolvable) { - cdkBuilder.requestModel(requestModel.let(IResolvable::unwrap)) + cdkBuilder.requestModel(requestModel.let(IResolvable.Companion::unwrap)) } /** * @param requestModel the value to be set. */ override fun requestModel(requestModel: RequestModelProperty) { - cdkBuilder.requestModel(requestModel.let(RequestModelProperty::unwrap)) + cdkBuilder.requestModel(requestModel.let(RequestModelProperty.Companion::unwrap)) } /** @@ -2092,7 +2092,7 @@ public open class CfnFunction( * @param requestParameters the value to be set. */ override fun requestParameters(requestParameters: IResolvable) { - cdkBuilder.requestParameters(requestParameters.let(IResolvable::unwrap)) + cdkBuilder.requestParameters(requestParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2285,7 +2285,7 @@ public open class CfnFunction( * @param apiKeyRequired the value to be set. */ override fun apiKeyRequired(apiKeyRequired: IResolvable) { - cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable::unwrap)) + cdkBuilder.apiKeyRequired(apiKeyRequired.let(IResolvable.Companion::unwrap)) } /** @@ -2312,14 +2312,14 @@ public open class CfnFunction( * @param resourcePolicy the value to be set. */ override fun resourcePolicy(resourcePolicy: IResolvable) { - cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(IResolvable.Companion::unwrap)) } /** * @param resourcePolicy the value to be set. */ override fun resourcePolicy(resourcePolicy: AuthResourcePolicyProperty) { - cdkBuilder.resourcePolicy(resourcePolicy.let(AuthResourcePolicyProperty::unwrap)) + cdkBuilder.resourcePolicy(resourcePolicy.let(AuthResourcePolicyProperty.Companion::unwrap)) } /** @@ -2632,7 +2632,7 @@ public open class CfnFunction( * @param customStatements the value to be set. */ override fun customStatements(customStatements: IResolvable) { - cdkBuilder.customStatements(customStatements.let(IResolvable::unwrap)) + cdkBuilder.customStatements(customStatements.let(IResolvable.Companion::unwrap)) } /** @@ -3394,7 +3394,7 @@ public open class CfnFunction( * @param allowCredentials the value to be set. */ override fun allowCredentials(allowCredentials: IResolvable) { - cdkBuilder.allowCredentials(allowCredentials.let(IResolvable::unwrap)) + cdkBuilder.allowCredentials(allowCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -3702,21 +3702,21 @@ public open class CfnFunction( * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** * @param hooks the value to be set. */ override fun hooks(hooks: IResolvable) { - cdkBuilder.hooks(hooks.let(IResolvable::unwrap)) + cdkBuilder.hooks(hooks.let(IResolvable.Companion::unwrap)) } /** * @param hooks the value to be set. */ override fun hooks(hooks: HooksProperty) { - cdkBuilder.hooks(hooks.let(HooksProperty::unwrap)) + cdkBuilder.hooks(hooks.let(HooksProperty.Companion::unwrap)) } /** @@ -3849,14 +3849,14 @@ public open class CfnFunction( * @param onFailure the value to be set. */ override fun onFailure(onFailure: IResolvable) { - cdkBuilder.onFailure(onFailure.let(IResolvable::unwrap)) + cdkBuilder.onFailure(onFailure.let(IResolvable.Companion::unwrap)) } /** * @param onFailure the value to be set. */ override fun onFailure(onFailure: DestinationProperty) { - cdkBuilder.onFailure(onFailure.let(DestinationProperty::unwrap)) + cdkBuilder.onFailure(onFailure.let(DestinationProperty.Companion::unwrap)) } /** @@ -4253,21 +4253,21 @@ public open class CfnFunction( * @param bisectBatchOnFunctionError the value to be set. */ override fun bisectBatchOnFunctionError(bisectBatchOnFunctionError: IResolvable) { - cdkBuilder.bisectBatchOnFunctionError(bisectBatchOnFunctionError.let(IResolvable::unwrap)) + cdkBuilder.bisectBatchOnFunctionError(bisectBatchOnFunctionError.let(IResolvable.Companion::unwrap)) } /** * @param destinationConfig the value to be set. */ override fun destinationConfig(destinationConfig: IResolvable) { - cdkBuilder.destinationConfig(destinationConfig.let(IResolvable::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(IResolvable.Companion::unwrap)) } /** * @param destinationConfig the value to be set. */ override fun destinationConfig(destinationConfig: DestinationConfigProperty) { - cdkBuilder.destinationConfig(destinationConfig.let(DestinationConfigProperty::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(DestinationConfigProperty.Companion::unwrap)) } /** @@ -4290,7 +4290,7 @@ public open class CfnFunction( * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -4769,14 +4769,14 @@ public open class CfnFunction( * @param destinationConfig the value to be set. */ override fun destinationConfig(destinationConfig: IResolvable) { - cdkBuilder.destinationConfig(destinationConfig.let(IResolvable::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(IResolvable.Companion::unwrap)) } /** * @param destinationConfig the value to be set. */ override fun destinationConfig(destinationConfig: EventInvokeDestinationConfigProperty) { - cdkBuilder.destinationConfig(destinationConfig.let(EventInvokeDestinationConfigProperty::unwrap)) + cdkBuilder.destinationConfig(destinationConfig.let(EventInvokeDestinationConfigProperty.Companion::unwrap)) } /** @@ -4928,14 +4928,14 @@ public open class CfnFunction( * @param onFailure the value to be set. */ override fun onFailure(onFailure: IResolvable) { - cdkBuilder.onFailure(onFailure.let(IResolvable::unwrap)) + cdkBuilder.onFailure(onFailure.let(IResolvable.Companion::unwrap)) } /** * @param onFailure the value to be set. */ override fun onFailure(onFailure: DestinationProperty) { - cdkBuilder.onFailure(onFailure.let(DestinationProperty::unwrap)) + cdkBuilder.onFailure(onFailure.let(DestinationProperty.Companion::unwrap)) } /** @@ -4950,14 +4950,14 @@ public open class CfnFunction( * @param onSuccess the value to be set. */ override fun onSuccess(onSuccess: IResolvable) { - cdkBuilder.onSuccess(onSuccess.let(IResolvable::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IResolvable.Companion::unwrap)) } /** * @param onSuccess the value to be set. */ override fun onSuccess(onSuccess: DestinationProperty) { - cdkBuilder.onSuccess(onSuccess.let(DestinationProperty::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(DestinationProperty.Companion::unwrap)) } /** @@ -5227,14 +5227,14 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** * @param properties the value to be set. */ override fun properties(properties: AlexaSkillEventProperty) { - cdkBuilder.properties(properties.let(AlexaSkillEventProperty::unwrap)) + cdkBuilder.properties(properties.let(AlexaSkillEventProperty.Companion::unwrap)) } /** @@ -5249,7 +5249,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: ApiEventProperty) { - cdkBuilder.properties(properties.let(ApiEventProperty::unwrap)) + cdkBuilder.properties(properties.let(ApiEventProperty.Companion::unwrap)) } /** @@ -5264,7 +5264,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: CloudWatchEventEventProperty) { - cdkBuilder.properties(properties.let(CloudWatchEventEventProperty::unwrap)) + cdkBuilder.properties(properties.let(CloudWatchEventEventProperty.Companion::unwrap)) } /** @@ -5279,7 +5279,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: CloudWatchLogsEventProperty) { - cdkBuilder.properties(properties.let(CloudWatchLogsEventProperty::unwrap)) + cdkBuilder.properties(properties.let(CloudWatchLogsEventProperty.Companion::unwrap)) } /** @@ -5294,7 +5294,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: CognitoEventProperty) { - cdkBuilder.properties(properties.let(CognitoEventProperty::unwrap)) + cdkBuilder.properties(properties.let(CognitoEventProperty.Companion::unwrap)) } /** @@ -5309,7 +5309,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: DynamoDBEventProperty) { - cdkBuilder.properties(properties.let(DynamoDBEventProperty::unwrap)) + cdkBuilder.properties(properties.let(DynamoDBEventProperty.Companion::unwrap)) } /** @@ -5324,7 +5324,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: EventBridgeRuleEventProperty) { - cdkBuilder.properties(properties.let(EventBridgeRuleEventProperty::unwrap)) + cdkBuilder.properties(properties.let(EventBridgeRuleEventProperty.Companion::unwrap)) } /** @@ -5339,7 +5339,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: HttpApiEventProperty) { - cdkBuilder.properties(properties.let(HttpApiEventProperty::unwrap)) + cdkBuilder.properties(properties.let(HttpApiEventProperty.Companion::unwrap)) } /** @@ -5354,7 +5354,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: IoTRuleEventProperty) { - cdkBuilder.properties(properties.let(IoTRuleEventProperty::unwrap)) + cdkBuilder.properties(properties.let(IoTRuleEventProperty.Companion::unwrap)) } /** @@ -5369,7 +5369,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: KinesisEventProperty) { - cdkBuilder.properties(properties.let(KinesisEventProperty::unwrap)) + cdkBuilder.properties(properties.let(KinesisEventProperty.Companion::unwrap)) } /** @@ -5384,7 +5384,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: S3EventProperty) { - cdkBuilder.properties(properties.let(S3EventProperty::unwrap)) + cdkBuilder.properties(properties.let(S3EventProperty.Companion::unwrap)) } /** @@ -5399,7 +5399,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: ScheduleEventProperty) { - cdkBuilder.properties(properties.let(ScheduleEventProperty::unwrap)) + cdkBuilder.properties(properties.let(ScheduleEventProperty.Companion::unwrap)) } /** @@ -5414,7 +5414,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: SNSEventProperty) { - cdkBuilder.properties(properties.let(SNSEventProperty::unwrap)) + cdkBuilder.properties(properties.let(SNSEventProperty.Companion::unwrap)) } /** @@ -5429,7 +5429,7 @@ public open class CfnFunction( * @param properties the value to be set. */ override fun properties(properties: SQSEventProperty) { - cdkBuilder.properties(properties.let(SQSEventProperty::unwrap)) + cdkBuilder.properties(properties.let(SQSEventProperty.Companion::unwrap)) } /** @@ -5626,7 +5626,7 @@ public open class CfnFunction( * @param variables the value to be set. */ override fun variables(variables: IResolvable) { - cdkBuilder.variables(variables.let(IResolvable::unwrap)) + cdkBuilder.variables(variables.let(IResolvable.Companion::unwrap)) } /** @@ -5836,14 +5836,14 @@ public open class CfnFunction( * @param cors the value to be set. */ override fun cors(cors: IResolvable) { - cdkBuilder.cors(cors.let(IResolvable::unwrap)) + cdkBuilder.cors(cors.let(IResolvable.Companion::unwrap)) } /** * @param cors the value to be set. */ override fun cors(cors: CorsConfigurationProperty) { - cdkBuilder.cors(cors.let(CorsConfigurationProperty::unwrap)) + cdkBuilder.cors(cors.let(CorsConfigurationProperty.Companion::unwrap)) } /** @@ -6141,14 +6141,14 @@ public open class CfnFunction( * @param auth the value to be set. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** * @param auth the value to be set. */ override fun auth(auth: HttpApiFunctionAuthProperty) { - cdkBuilder.auth(auth.let(HttpApiFunctionAuthProperty::unwrap)) + cdkBuilder.auth(auth.let(HttpApiFunctionAuthProperty.Companion::unwrap)) } /** @@ -6184,14 +6184,14 @@ public open class CfnFunction( * @param routeSettings the value to be set. */ override fun routeSettings(routeSettings: IResolvable) { - cdkBuilder.routeSettings(routeSettings.let(IResolvable::unwrap)) + cdkBuilder.routeSettings(routeSettings.let(IResolvable.Companion::unwrap)) } /** * @param routeSettings the value to be set. */ override fun routeSettings(routeSettings: RouteSettingsProperty) { - cdkBuilder.routeSettings(routeSettings.let(RouteSettingsProperty::unwrap)) + cdkBuilder.routeSettings(routeSettings.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -6974,7 +6974,7 @@ public open class CfnFunction( * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -7459,7 +7459,7 @@ public open class CfnFunction( * @param required the value to be set. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } /** @@ -7473,7 +7473,7 @@ public open class CfnFunction( * @param validateBody the value to be set. */ override fun validateBody(validateBody: IResolvable) { - cdkBuilder.validateBody(validateBody.let(IResolvable::unwrap)) + cdkBuilder.validateBody(validateBody.let(IResolvable.Companion::unwrap)) } /** @@ -7487,7 +7487,7 @@ public open class CfnFunction( * @param validateParameters the value to be set. */ override fun validateParameters(validateParameters: IResolvable) { - cdkBuilder.validateParameters(validateParameters.let(IResolvable::unwrap)) + cdkBuilder.validateParameters(validateParameters.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sam.CfnFunction.RequestModelProperty = @@ -7604,7 +7604,7 @@ public open class CfnFunction( * @param caching the value to be set. */ override fun caching(caching: IResolvable) { - cdkBuilder.caching(caching.let(IResolvable::unwrap)) + cdkBuilder.caching(caching.let(IResolvable.Companion::unwrap)) } /** @@ -7618,7 +7618,7 @@ public open class CfnFunction( * @param required the value to be set. */ override fun required(required: IResolvable) { - cdkBuilder.required(required.let(IResolvable::unwrap)) + cdkBuilder.required(required.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sam.CfnFunction.RequestParameterProperty = @@ -7758,7 +7758,7 @@ public open class CfnFunction( * @param dataTraceEnabled the value to be set. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -7772,7 +7772,7 @@ public open class CfnFunction( * @param detailedMetricsEnabled the value to be set. */ override fun detailedMetricsEnabled(detailedMetricsEnabled: IResolvable) { - cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -7943,14 +7943,14 @@ public open class CfnFunction( * @param filter the value to be set. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** * @param filter the value to be set. */ override fun filter(filter: S3NotificationFilterProperty) { - cdkBuilder.filter(filter.let(S3NotificationFilterProperty::unwrap)) + cdkBuilder.filter(filter.let(S3NotificationFilterProperty.Companion::unwrap)) } /** @@ -8053,7 +8053,7 @@ public open class CfnFunction( * @param rules the value to be set. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -8374,14 +8374,14 @@ public open class CfnFunction( * @param s3Key the value to be set. */ override fun s3Key(s3Key: IResolvable) { - cdkBuilder.s3Key(s3Key.let(IResolvable::unwrap)) + cdkBuilder.s3Key(s3Key.let(IResolvable.Companion::unwrap)) } /** * @param s3Key the value to be set. */ override fun s3Key(s3Key: S3KeyFilterProperty) { - cdkBuilder.s3Key(s3Key.let(S3KeyFilterProperty::unwrap)) + cdkBuilder.s3Key(s3Key.let(S3KeyFilterProperty.Companion::unwrap)) } /** @@ -9315,14 +9315,14 @@ public open class CfnFunction( * @param amiDescribePolicy the value to be set. */ override fun amiDescribePolicy(amiDescribePolicy: IResolvable) { - cdkBuilder.amiDescribePolicy(amiDescribePolicy.let(IResolvable::unwrap)) + cdkBuilder.amiDescribePolicy(amiDescribePolicy.let(IResolvable.Companion::unwrap)) } /** * @param amiDescribePolicy the value to be set. */ override fun amiDescribePolicy(amiDescribePolicy: EmptySAMPTProperty) { - cdkBuilder.amiDescribePolicy(amiDescribePolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.amiDescribePolicy(amiDescribePolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9338,7 +9338,7 @@ public open class CfnFunction( */ override fun awsSecretsManagerGetSecretValuePolicy(awsSecretsManagerGetSecretValuePolicy: IResolvable) { - cdkBuilder.awsSecretsManagerGetSecretValuePolicy(awsSecretsManagerGetSecretValuePolicy.let(IResolvable::unwrap)) + cdkBuilder.awsSecretsManagerGetSecretValuePolicy(awsSecretsManagerGetSecretValuePolicy.let(IResolvable.Companion::unwrap)) } /** @@ -9346,7 +9346,7 @@ public open class CfnFunction( */ override fun awsSecretsManagerGetSecretValuePolicy(awsSecretsManagerGetSecretValuePolicy: SecretArnSAMPTProperty) { - cdkBuilder.awsSecretsManagerGetSecretValuePolicy(awsSecretsManagerGetSecretValuePolicy.let(SecretArnSAMPTProperty::unwrap)) + cdkBuilder.awsSecretsManagerGetSecretValuePolicy(awsSecretsManagerGetSecretValuePolicy.let(SecretArnSAMPTProperty.Companion::unwrap)) } /** @@ -9364,7 +9364,7 @@ public open class CfnFunction( */ override fun cloudFormationDescribeStacksPolicy(cloudFormationDescribeStacksPolicy: IResolvable) { - cdkBuilder.cloudFormationDescribeStacksPolicy(cloudFormationDescribeStacksPolicy.let(IResolvable::unwrap)) + cdkBuilder.cloudFormationDescribeStacksPolicy(cloudFormationDescribeStacksPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -9372,7 +9372,7 @@ public open class CfnFunction( */ override fun cloudFormationDescribeStacksPolicy(cloudFormationDescribeStacksPolicy: EmptySAMPTProperty) { - cdkBuilder.cloudFormationDescribeStacksPolicy(cloudFormationDescribeStacksPolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.cloudFormationDescribeStacksPolicy(cloudFormationDescribeStacksPolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9389,14 +9389,14 @@ public open class CfnFunction( * @param cloudWatchPutMetricPolicy the value to be set. */ override fun cloudWatchPutMetricPolicy(cloudWatchPutMetricPolicy: IResolvable) { - cdkBuilder.cloudWatchPutMetricPolicy(cloudWatchPutMetricPolicy.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchPutMetricPolicy(cloudWatchPutMetricPolicy.let(IResolvable.Companion::unwrap)) } /** * @param cloudWatchPutMetricPolicy the value to be set. */ override fun cloudWatchPutMetricPolicy(cloudWatchPutMetricPolicy: EmptySAMPTProperty) { - cdkBuilder.cloudWatchPutMetricPolicy(cloudWatchPutMetricPolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.cloudWatchPutMetricPolicy(cloudWatchPutMetricPolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9412,14 +9412,14 @@ public open class CfnFunction( * @param dynamoDbCrudPolicy the value to be set. */ override fun dynamoDbCrudPolicy(dynamoDbCrudPolicy: IResolvable) { - cdkBuilder.dynamoDbCrudPolicy(dynamoDbCrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbCrudPolicy(dynamoDbCrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDbCrudPolicy the value to be set. */ override fun dynamoDbCrudPolicy(dynamoDbCrudPolicy: TableSAMPTProperty) { - cdkBuilder.dynamoDbCrudPolicy(dynamoDbCrudPolicy.let(TableSAMPTProperty::unwrap)) + cdkBuilder.dynamoDbCrudPolicy(dynamoDbCrudPolicy.let(TableSAMPTProperty.Companion::unwrap)) } /** @@ -9434,14 +9434,14 @@ public open class CfnFunction( * @param dynamoDbReadPolicy the value to be set. */ override fun dynamoDbReadPolicy(dynamoDbReadPolicy: IResolvable) { - cdkBuilder.dynamoDbReadPolicy(dynamoDbReadPolicy.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbReadPolicy(dynamoDbReadPolicy.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDbReadPolicy the value to be set. */ override fun dynamoDbReadPolicy(dynamoDbReadPolicy: TableSAMPTProperty) { - cdkBuilder.dynamoDbReadPolicy(dynamoDbReadPolicy.let(TableSAMPTProperty::unwrap)) + cdkBuilder.dynamoDbReadPolicy(dynamoDbReadPolicy.let(TableSAMPTProperty.Companion::unwrap)) } /** @@ -9456,14 +9456,14 @@ public open class CfnFunction( * @param dynamoDbStreamReadPolicy the value to be set. */ override fun dynamoDbStreamReadPolicy(dynamoDbStreamReadPolicy: IResolvable) { - cdkBuilder.dynamoDbStreamReadPolicy(dynamoDbStreamReadPolicy.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbStreamReadPolicy(dynamoDbStreamReadPolicy.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDbStreamReadPolicy the value to be set. */ override fun dynamoDbStreamReadPolicy(dynamoDbStreamReadPolicy: TableStreamSAMPTProperty) { - cdkBuilder.dynamoDbStreamReadPolicy(dynamoDbStreamReadPolicy.let(TableStreamSAMPTProperty::unwrap)) + cdkBuilder.dynamoDbStreamReadPolicy(dynamoDbStreamReadPolicy.let(TableStreamSAMPTProperty.Companion::unwrap)) } /** @@ -9479,14 +9479,14 @@ public open class CfnFunction( * @param dynamoDbWritePolicy the value to be set. */ override fun dynamoDbWritePolicy(dynamoDbWritePolicy: IResolvable) { - cdkBuilder.dynamoDbWritePolicy(dynamoDbWritePolicy.let(IResolvable::unwrap)) + cdkBuilder.dynamoDbWritePolicy(dynamoDbWritePolicy.let(IResolvable.Companion::unwrap)) } /** * @param dynamoDbWritePolicy the value to be set. */ override fun dynamoDbWritePolicy(dynamoDbWritePolicy: TableSAMPTProperty) { - cdkBuilder.dynamoDbWritePolicy(dynamoDbWritePolicy.let(TableSAMPTProperty::unwrap)) + cdkBuilder.dynamoDbWritePolicy(dynamoDbWritePolicy.let(TableSAMPTProperty.Companion::unwrap)) } /** @@ -9501,14 +9501,14 @@ public open class CfnFunction( * @param ec2DescribePolicy the value to be set. */ override fun ec2DescribePolicy(ec2DescribePolicy: IResolvable) { - cdkBuilder.ec2DescribePolicy(ec2DescribePolicy.let(IResolvable::unwrap)) + cdkBuilder.ec2DescribePolicy(ec2DescribePolicy.let(IResolvable.Companion::unwrap)) } /** * @param ec2DescribePolicy the value to be set. */ override fun ec2DescribePolicy(ec2DescribePolicy: EmptySAMPTProperty) { - cdkBuilder.ec2DescribePolicy(ec2DescribePolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.ec2DescribePolicy(ec2DescribePolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9523,14 +9523,14 @@ public open class CfnFunction( * @param elasticsearchHttpPostPolicy the value to be set. */ override fun elasticsearchHttpPostPolicy(elasticsearchHttpPostPolicy: IResolvable) { - cdkBuilder.elasticsearchHttpPostPolicy(elasticsearchHttpPostPolicy.let(IResolvable::unwrap)) + cdkBuilder.elasticsearchHttpPostPolicy(elasticsearchHttpPostPolicy.let(IResolvable.Companion::unwrap)) } /** * @param elasticsearchHttpPostPolicy the value to be set. */ override fun elasticsearchHttpPostPolicy(elasticsearchHttpPostPolicy: DomainSAMPTProperty) { - cdkBuilder.elasticsearchHttpPostPolicy(elasticsearchHttpPostPolicy.let(DomainSAMPTProperty::unwrap)) + cdkBuilder.elasticsearchHttpPostPolicy(elasticsearchHttpPostPolicy.let(DomainSAMPTProperty.Companion::unwrap)) } /** @@ -9546,14 +9546,14 @@ public open class CfnFunction( * @param filterLogEventsPolicy the value to be set. */ override fun filterLogEventsPolicy(filterLogEventsPolicy: IResolvable) { - cdkBuilder.filterLogEventsPolicy(filterLogEventsPolicy.let(IResolvable::unwrap)) + cdkBuilder.filterLogEventsPolicy(filterLogEventsPolicy.let(IResolvable.Companion::unwrap)) } /** * @param filterLogEventsPolicy the value to be set. */ override fun filterLogEventsPolicy(filterLogEventsPolicy: LogGroupSAMPTProperty) { - cdkBuilder.filterLogEventsPolicy(filterLogEventsPolicy.let(LogGroupSAMPTProperty::unwrap)) + cdkBuilder.filterLogEventsPolicy(filterLogEventsPolicy.let(LogGroupSAMPTProperty.Companion::unwrap)) } /** @@ -9569,14 +9569,14 @@ public open class CfnFunction( * @param kinesisCrudPolicy the value to be set. */ override fun kinesisCrudPolicy(kinesisCrudPolicy: IResolvable) { - cdkBuilder.kinesisCrudPolicy(kinesisCrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.kinesisCrudPolicy(kinesisCrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param kinesisCrudPolicy the value to be set. */ override fun kinesisCrudPolicy(kinesisCrudPolicy: StreamSAMPTProperty) { - cdkBuilder.kinesisCrudPolicy(kinesisCrudPolicy.let(StreamSAMPTProperty::unwrap)) + cdkBuilder.kinesisCrudPolicy(kinesisCrudPolicy.let(StreamSAMPTProperty.Companion::unwrap)) } /** @@ -9591,14 +9591,14 @@ public open class CfnFunction( * @param kinesisStreamReadPolicy the value to be set. */ override fun kinesisStreamReadPolicy(kinesisStreamReadPolicy: IResolvable) { - cdkBuilder.kinesisStreamReadPolicy(kinesisStreamReadPolicy.let(IResolvable::unwrap)) + cdkBuilder.kinesisStreamReadPolicy(kinesisStreamReadPolicy.let(IResolvable.Companion::unwrap)) } /** * @param kinesisStreamReadPolicy the value to be set. */ override fun kinesisStreamReadPolicy(kinesisStreamReadPolicy: StreamSAMPTProperty) { - cdkBuilder.kinesisStreamReadPolicy(kinesisStreamReadPolicy.let(StreamSAMPTProperty::unwrap)) + cdkBuilder.kinesisStreamReadPolicy(kinesisStreamReadPolicy.let(StreamSAMPTProperty.Companion::unwrap)) } /** @@ -9614,14 +9614,14 @@ public open class CfnFunction( * @param kmsDecryptPolicy the value to be set. */ override fun kmsDecryptPolicy(kmsDecryptPolicy: IResolvable) { - cdkBuilder.kmsDecryptPolicy(kmsDecryptPolicy.let(IResolvable::unwrap)) + cdkBuilder.kmsDecryptPolicy(kmsDecryptPolicy.let(IResolvable.Companion::unwrap)) } /** * @param kmsDecryptPolicy the value to be set. */ override fun kmsDecryptPolicy(kmsDecryptPolicy: KeySAMPTProperty) { - cdkBuilder.kmsDecryptPolicy(kmsDecryptPolicy.let(KeySAMPTProperty::unwrap)) + cdkBuilder.kmsDecryptPolicy(kmsDecryptPolicy.let(KeySAMPTProperty.Companion::unwrap)) } /** @@ -9636,14 +9636,14 @@ public open class CfnFunction( * @param lambdaInvokePolicy the value to be set. */ override fun lambdaInvokePolicy(lambdaInvokePolicy: IResolvable) { - cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(IResolvable::unwrap)) + cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(IResolvable.Companion::unwrap)) } /** * @param lambdaInvokePolicy the value to be set. */ override fun lambdaInvokePolicy(lambdaInvokePolicy: FunctionSAMPTProperty) { - cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(FunctionSAMPTProperty::unwrap)) + cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(FunctionSAMPTProperty.Companion::unwrap)) } /** @@ -9658,14 +9658,14 @@ public open class CfnFunction( * @param rekognitionDetectOnlyPolicy the value to be set. */ override fun rekognitionDetectOnlyPolicy(rekognitionDetectOnlyPolicy: IResolvable) { - cdkBuilder.rekognitionDetectOnlyPolicy(rekognitionDetectOnlyPolicy.let(IResolvable::unwrap)) + cdkBuilder.rekognitionDetectOnlyPolicy(rekognitionDetectOnlyPolicy.let(IResolvable.Companion::unwrap)) } /** * @param rekognitionDetectOnlyPolicy the value to be set. */ override fun rekognitionDetectOnlyPolicy(rekognitionDetectOnlyPolicy: EmptySAMPTProperty) { - cdkBuilder.rekognitionDetectOnlyPolicy(rekognitionDetectOnlyPolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.rekognitionDetectOnlyPolicy(rekognitionDetectOnlyPolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9681,14 +9681,14 @@ public open class CfnFunction( * @param rekognitionLabelsPolicy the value to be set. */ override fun rekognitionLabelsPolicy(rekognitionLabelsPolicy: IResolvable) { - cdkBuilder.rekognitionLabelsPolicy(rekognitionLabelsPolicy.let(IResolvable::unwrap)) + cdkBuilder.rekognitionLabelsPolicy(rekognitionLabelsPolicy.let(IResolvable.Companion::unwrap)) } /** * @param rekognitionLabelsPolicy the value to be set. */ override fun rekognitionLabelsPolicy(rekognitionLabelsPolicy: EmptySAMPTProperty) { - cdkBuilder.rekognitionLabelsPolicy(rekognitionLabelsPolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.rekognitionLabelsPolicy(rekognitionLabelsPolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9704,7 +9704,7 @@ public open class CfnFunction( * @param rekognitionNoDataAccessPolicy the value to be set. */ override fun rekognitionNoDataAccessPolicy(rekognitionNoDataAccessPolicy: IResolvable) { - cdkBuilder.rekognitionNoDataAccessPolicy(rekognitionNoDataAccessPolicy.let(IResolvable::unwrap)) + cdkBuilder.rekognitionNoDataAccessPolicy(rekognitionNoDataAccessPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -9712,7 +9712,7 @@ public open class CfnFunction( */ override fun rekognitionNoDataAccessPolicy(rekognitionNoDataAccessPolicy: CollectionSAMPTProperty) { - cdkBuilder.rekognitionNoDataAccessPolicy(rekognitionNoDataAccessPolicy.let(CollectionSAMPTProperty::unwrap)) + cdkBuilder.rekognitionNoDataAccessPolicy(rekognitionNoDataAccessPolicy.let(CollectionSAMPTProperty.Companion::unwrap)) } /** @@ -9729,14 +9729,14 @@ public open class CfnFunction( * @param rekognitionReadPolicy the value to be set. */ override fun rekognitionReadPolicy(rekognitionReadPolicy: IResolvable) { - cdkBuilder.rekognitionReadPolicy(rekognitionReadPolicy.let(IResolvable::unwrap)) + cdkBuilder.rekognitionReadPolicy(rekognitionReadPolicy.let(IResolvable.Companion::unwrap)) } /** * @param rekognitionReadPolicy the value to be set. */ override fun rekognitionReadPolicy(rekognitionReadPolicy: CollectionSAMPTProperty) { - cdkBuilder.rekognitionReadPolicy(rekognitionReadPolicy.let(CollectionSAMPTProperty::unwrap)) + cdkBuilder.rekognitionReadPolicy(rekognitionReadPolicy.let(CollectionSAMPTProperty.Companion::unwrap)) } /** @@ -9752,7 +9752,7 @@ public open class CfnFunction( * @param rekognitionWriteOnlyAccessPolicy the value to be set. */ override fun rekognitionWriteOnlyAccessPolicy(rekognitionWriteOnlyAccessPolicy: IResolvable) { - cdkBuilder.rekognitionWriteOnlyAccessPolicy(rekognitionWriteOnlyAccessPolicy.let(IResolvable::unwrap)) + cdkBuilder.rekognitionWriteOnlyAccessPolicy(rekognitionWriteOnlyAccessPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -9760,7 +9760,7 @@ public open class CfnFunction( */ override fun rekognitionWriteOnlyAccessPolicy(rekognitionWriteOnlyAccessPolicy: CollectionSAMPTProperty) { - cdkBuilder.rekognitionWriteOnlyAccessPolicy(rekognitionWriteOnlyAccessPolicy.let(CollectionSAMPTProperty::unwrap)) + cdkBuilder.rekognitionWriteOnlyAccessPolicy(rekognitionWriteOnlyAccessPolicy.let(CollectionSAMPTProperty.Companion::unwrap)) } /** @@ -9777,14 +9777,14 @@ public open class CfnFunction( * @param s3CrudPolicy the value to be set. */ override fun s3CrudPolicy(s3CrudPolicy: IResolvable) { - cdkBuilder.s3CrudPolicy(s3CrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.s3CrudPolicy(s3CrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param s3CrudPolicy the value to be set. */ override fun s3CrudPolicy(s3CrudPolicy: BucketSAMPTProperty) { - cdkBuilder.s3CrudPolicy(s3CrudPolicy.let(BucketSAMPTProperty::unwrap)) + cdkBuilder.s3CrudPolicy(s3CrudPolicy.let(BucketSAMPTProperty.Companion::unwrap)) } /** @@ -9799,14 +9799,14 @@ public open class CfnFunction( * @param s3ReadPolicy the value to be set. */ override fun s3ReadPolicy(s3ReadPolicy: IResolvable) { - cdkBuilder.s3ReadPolicy(s3ReadPolicy.let(IResolvable::unwrap)) + cdkBuilder.s3ReadPolicy(s3ReadPolicy.let(IResolvable.Companion::unwrap)) } /** * @param s3ReadPolicy the value to be set. */ override fun s3ReadPolicy(s3ReadPolicy: BucketSAMPTProperty) { - cdkBuilder.s3ReadPolicy(s3ReadPolicy.let(BucketSAMPTProperty::unwrap)) + cdkBuilder.s3ReadPolicy(s3ReadPolicy.let(BucketSAMPTProperty.Companion::unwrap)) } /** @@ -9821,14 +9821,14 @@ public open class CfnFunction( * @param s3WritePolicy the value to be set. */ override fun s3WritePolicy(s3WritePolicy: IResolvable) { - cdkBuilder.s3WritePolicy(s3WritePolicy.let(IResolvable::unwrap)) + cdkBuilder.s3WritePolicy(s3WritePolicy.let(IResolvable.Companion::unwrap)) } /** * @param s3WritePolicy the value to be set. */ override fun s3WritePolicy(s3WritePolicy: BucketSAMPTProperty) { - cdkBuilder.s3WritePolicy(s3WritePolicy.let(BucketSAMPTProperty::unwrap)) + cdkBuilder.s3WritePolicy(s3WritePolicy.let(BucketSAMPTProperty.Companion::unwrap)) } /** @@ -9843,14 +9843,14 @@ public open class CfnFunction( * @param sesBulkTemplatedCrudPolicy the value to be set. */ override fun sesBulkTemplatedCrudPolicy(sesBulkTemplatedCrudPolicy: IResolvable) { - cdkBuilder.sesBulkTemplatedCrudPolicy(sesBulkTemplatedCrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.sesBulkTemplatedCrudPolicy(sesBulkTemplatedCrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param sesBulkTemplatedCrudPolicy the value to be set. */ override fun sesBulkTemplatedCrudPolicy(sesBulkTemplatedCrudPolicy: IdentitySAMPTProperty) { - cdkBuilder.sesBulkTemplatedCrudPolicy(sesBulkTemplatedCrudPolicy.let(IdentitySAMPTProperty::unwrap)) + cdkBuilder.sesBulkTemplatedCrudPolicy(sesBulkTemplatedCrudPolicy.let(IdentitySAMPTProperty.Companion::unwrap)) } /** @@ -9866,14 +9866,14 @@ public open class CfnFunction( * @param sesCrudPolicy the value to be set. */ override fun sesCrudPolicy(sesCrudPolicy: IResolvable) { - cdkBuilder.sesCrudPolicy(sesCrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.sesCrudPolicy(sesCrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param sesCrudPolicy the value to be set. */ override fun sesCrudPolicy(sesCrudPolicy: IdentitySAMPTProperty) { - cdkBuilder.sesCrudPolicy(sesCrudPolicy.let(IdentitySAMPTProperty::unwrap)) + cdkBuilder.sesCrudPolicy(sesCrudPolicy.let(IdentitySAMPTProperty.Companion::unwrap)) } /** @@ -9888,14 +9888,14 @@ public open class CfnFunction( * @param sesEmailTemplateCrudPolicy the value to be set. */ override fun sesEmailTemplateCrudPolicy(sesEmailTemplateCrudPolicy: IResolvable) { - cdkBuilder.sesEmailTemplateCrudPolicy(sesEmailTemplateCrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.sesEmailTemplateCrudPolicy(sesEmailTemplateCrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param sesEmailTemplateCrudPolicy the value to be set. */ override fun sesEmailTemplateCrudPolicy(sesEmailTemplateCrudPolicy: EmptySAMPTProperty) { - cdkBuilder.sesEmailTemplateCrudPolicy(sesEmailTemplateCrudPolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.sesEmailTemplateCrudPolicy(sesEmailTemplateCrudPolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -9911,14 +9911,14 @@ public open class CfnFunction( * @param sesSendBouncePolicy the value to be set. */ override fun sesSendBouncePolicy(sesSendBouncePolicy: IResolvable) { - cdkBuilder.sesSendBouncePolicy(sesSendBouncePolicy.let(IResolvable::unwrap)) + cdkBuilder.sesSendBouncePolicy(sesSendBouncePolicy.let(IResolvable.Companion::unwrap)) } /** * @param sesSendBouncePolicy the value to be set. */ override fun sesSendBouncePolicy(sesSendBouncePolicy: IdentitySAMPTProperty) { - cdkBuilder.sesSendBouncePolicy(sesSendBouncePolicy.let(IdentitySAMPTProperty::unwrap)) + cdkBuilder.sesSendBouncePolicy(sesSendBouncePolicy.let(IdentitySAMPTProperty.Companion::unwrap)) } /** @@ -9934,14 +9934,14 @@ public open class CfnFunction( * @param snsCrudPolicy the value to be set. */ override fun snsCrudPolicy(snsCrudPolicy: IResolvable) { - cdkBuilder.snsCrudPolicy(snsCrudPolicy.let(IResolvable::unwrap)) + cdkBuilder.snsCrudPolicy(snsCrudPolicy.let(IResolvable.Companion::unwrap)) } /** * @param snsCrudPolicy the value to be set. */ override fun snsCrudPolicy(snsCrudPolicy: TopicSAMPTProperty) { - cdkBuilder.snsCrudPolicy(snsCrudPolicy.let(TopicSAMPTProperty::unwrap)) + cdkBuilder.snsCrudPolicy(snsCrudPolicy.let(TopicSAMPTProperty.Companion::unwrap)) } /** @@ -9956,14 +9956,14 @@ public open class CfnFunction( * @param snsPublishMessagePolicy the value to be set. */ override fun snsPublishMessagePolicy(snsPublishMessagePolicy: IResolvable) { - cdkBuilder.snsPublishMessagePolicy(snsPublishMessagePolicy.let(IResolvable::unwrap)) + cdkBuilder.snsPublishMessagePolicy(snsPublishMessagePolicy.let(IResolvable.Companion::unwrap)) } /** * @param snsPublishMessagePolicy the value to be set. */ override fun snsPublishMessagePolicy(snsPublishMessagePolicy: TopicSAMPTProperty) { - cdkBuilder.snsPublishMessagePolicy(snsPublishMessagePolicy.let(TopicSAMPTProperty::unwrap)) + cdkBuilder.snsPublishMessagePolicy(snsPublishMessagePolicy.let(TopicSAMPTProperty.Companion::unwrap)) } /** @@ -9979,14 +9979,14 @@ public open class CfnFunction( * @param sqsPollerPolicy the value to be set. */ override fun sqsPollerPolicy(sqsPollerPolicy: IResolvable) { - cdkBuilder.sqsPollerPolicy(sqsPollerPolicy.let(IResolvable::unwrap)) + cdkBuilder.sqsPollerPolicy(sqsPollerPolicy.let(IResolvable.Companion::unwrap)) } /** * @param sqsPollerPolicy the value to be set. */ override fun sqsPollerPolicy(sqsPollerPolicy: QueueSAMPTProperty) { - cdkBuilder.sqsPollerPolicy(sqsPollerPolicy.let(QueueSAMPTProperty::unwrap)) + cdkBuilder.sqsPollerPolicy(sqsPollerPolicy.let(QueueSAMPTProperty.Companion::unwrap)) } /** @@ -10001,14 +10001,14 @@ public open class CfnFunction( * @param sqsSendMessagePolicy the value to be set. */ override fun sqsSendMessagePolicy(sqsSendMessagePolicy: IResolvable) { - cdkBuilder.sqsSendMessagePolicy(sqsSendMessagePolicy.let(IResolvable::unwrap)) + cdkBuilder.sqsSendMessagePolicy(sqsSendMessagePolicy.let(IResolvable.Companion::unwrap)) } /** * @param sqsSendMessagePolicy the value to be set. */ override fun sqsSendMessagePolicy(sqsSendMessagePolicy: QueueSAMPTProperty) { - cdkBuilder.sqsSendMessagePolicy(sqsSendMessagePolicy.let(QueueSAMPTProperty::unwrap)) + cdkBuilder.sqsSendMessagePolicy(sqsSendMessagePolicy.let(QueueSAMPTProperty.Companion::unwrap)) } /** @@ -10024,14 +10024,14 @@ public open class CfnFunction( * @param ssmParameterReadPolicy the value to be set. */ override fun ssmParameterReadPolicy(ssmParameterReadPolicy: IResolvable) { - cdkBuilder.ssmParameterReadPolicy(ssmParameterReadPolicy.let(IResolvable::unwrap)) + cdkBuilder.ssmParameterReadPolicy(ssmParameterReadPolicy.let(IResolvable.Companion::unwrap)) } /** * @param ssmParameterReadPolicy the value to be set. */ override fun ssmParameterReadPolicy(ssmParameterReadPolicy: ParameterNameSAMPTProperty) { - cdkBuilder.ssmParameterReadPolicy(ssmParameterReadPolicy.let(ParameterNameSAMPTProperty::unwrap)) + cdkBuilder.ssmParameterReadPolicy(ssmParameterReadPolicy.let(ParameterNameSAMPTProperty.Companion::unwrap)) } /** @@ -10047,7 +10047,7 @@ public open class CfnFunction( * @param stepFunctionsExecutionPolicy the value to be set. */ override fun stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy: IResolvable) { - cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(IResolvable::unwrap)) + cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -10055,7 +10055,7 @@ public open class CfnFunction( */ override fun stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy: StateMachineSAMPTProperty) { - cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(StateMachineSAMPTProperty::unwrap)) + cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(StateMachineSAMPTProperty.Companion::unwrap)) } /** @@ -10072,14 +10072,14 @@ public open class CfnFunction( * @param vpcAccessPolicy the value to be set. */ override fun vpcAccessPolicy(vpcAccessPolicy: IResolvable) { - cdkBuilder.vpcAccessPolicy(vpcAccessPolicy.let(IResolvable::unwrap)) + cdkBuilder.vpcAccessPolicy(vpcAccessPolicy.let(IResolvable.Companion::unwrap)) } /** * @param vpcAccessPolicy the value to be set. */ override fun vpcAccessPolicy(vpcAccessPolicy: EmptySAMPTProperty) { - cdkBuilder.vpcAccessPolicy(vpcAccessPolicy.let(EmptySAMPTProperty::unwrap)) + cdkBuilder.vpcAccessPolicy(vpcAccessPolicy.let(EmptySAMPTProperty.Companion::unwrap)) } /** @@ -10448,7 +10448,7 @@ public open class CfnFunction( * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -10602,7 +10602,7 @@ public open class CfnFunction( * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunctionProps.kt index f1d9997d65..c7fd726e98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnFunctionProps.kt @@ -719,14 +719,14 @@ public interface CfnFunctionProps { * @param codeUri the value to be set. */ override fun codeUri(codeUri: IResolvable) { - cdkBuilder.codeUri(codeUri.let(IResolvable::unwrap)) + cdkBuilder.codeUri(codeUri.let(IResolvable.Companion::unwrap)) } /** * @param codeUri the value to be set. */ override fun codeUri(codeUri: CfnFunction.S3LocationProperty) { - cdkBuilder.codeUri(codeUri.let(CfnFunction.S3LocationProperty::unwrap)) + cdkBuilder.codeUri(codeUri.let(CfnFunction.S3LocationProperty.Companion::unwrap)) } /** @@ -741,14 +741,14 @@ public interface CfnFunctionProps { * @param deadLetterQueue the value to be set. */ override fun deadLetterQueue(deadLetterQueue: IResolvable) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IResolvable::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IResolvable.Companion::unwrap)) } /** * @param deadLetterQueue the value to be set. */ override fun deadLetterQueue(deadLetterQueue: CfnFunction.DeadLetterQueueProperty) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(CfnFunction.DeadLetterQueueProperty::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(CfnFunction.DeadLetterQueueProperty.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public interface CfnFunctionProps { * @param deploymentPreference the value to be set. */ override fun deploymentPreference(deploymentPreference: IResolvable) { - cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable.Companion::unwrap)) } /** @@ -772,7 +772,7 @@ public interface CfnFunctionProps { */ override fun deploymentPreference(deploymentPreference: CfnFunction.DeploymentPreferenceProperty) { - cdkBuilder.deploymentPreference(deploymentPreference.let(CfnFunction.DeploymentPreferenceProperty::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(CfnFunction.DeploymentPreferenceProperty.Companion::unwrap)) } /** @@ -795,14 +795,14 @@ public interface CfnFunctionProps { * @param environment the value to be set. */ override fun environment(environment: IResolvable) { - cdkBuilder.environment(environment.let(IResolvable::unwrap)) + cdkBuilder.environment(environment.let(IResolvable.Companion::unwrap)) } /** * @param environment the value to be set. */ override fun environment(environment: CfnFunction.FunctionEnvironmentProperty) { - cdkBuilder.environment(environment.let(CfnFunction.FunctionEnvironmentProperty::unwrap)) + cdkBuilder.environment(environment.let(CfnFunction.FunctionEnvironmentProperty.Companion::unwrap)) } /** @@ -818,14 +818,14 @@ public interface CfnFunctionProps { * @param ephemeralStorage the value to be set. */ override fun ephemeralStorage(ephemeralStorage: IResolvable) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(IResolvable.Companion::unwrap)) } /** * @param ephemeralStorage the value to be set. */ override fun ephemeralStorage(ephemeralStorage: CfnFunction.EphemeralStorageProperty) { - cdkBuilder.ephemeralStorage(ephemeralStorage.let(CfnFunction.EphemeralStorageProperty::unwrap)) + cdkBuilder.ephemeralStorage(ephemeralStorage.let(CfnFunction.EphemeralStorageProperty.Companion::unwrap)) } /** @@ -841,14 +841,14 @@ public interface CfnFunctionProps { * @param eventInvokeConfig the value to be set. */ override fun eventInvokeConfig(eventInvokeConfig: IResolvable) { - cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(IResolvable::unwrap)) + cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(IResolvable.Companion::unwrap)) } /** * @param eventInvokeConfig the value to be set. */ override fun eventInvokeConfig(eventInvokeConfig: CfnFunction.EventInvokeConfigProperty) { - cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(CfnFunction.EventInvokeConfigProperty::unwrap)) + cdkBuilder.eventInvokeConfig(eventInvokeConfig.let(CfnFunction.EventInvokeConfigProperty.Companion::unwrap)) } /** @@ -864,7 +864,7 @@ public interface CfnFunctionProps { * @param events the value to be set. */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -878,7 +878,7 @@ public interface CfnFunctionProps { * @param fileSystemConfigs the value to be set. */ override fun fileSystemConfigs(fileSystemConfigs: IResolvable) { - cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable::unwrap)) + cdkBuilder.fileSystemConfigs(fileSystemConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -905,14 +905,14 @@ public interface CfnFunctionProps { * @param functionUrlConfig the value to be set. */ override fun functionUrlConfig(functionUrlConfig: IResolvable) { - cdkBuilder.functionUrlConfig(functionUrlConfig.let(IResolvable::unwrap)) + cdkBuilder.functionUrlConfig(functionUrlConfig.let(IResolvable.Companion::unwrap)) } /** * @param functionUrlConfig the value to be set. */ override fun functionUrlConfig(functionUrlConfig: CfnFunction.FunctionUrlConfigProperty) { - cdkBuilder.functionUrlConfig(functionUrlConfig.let(CfnFunction.FunctionUrlConfigProperty::unwrap)) + cdkBuilder.functionUrlConfig(functionUrlConfig.let(CfnFunction.FunctionUrlConfigProperty.Companion::unwrap)) } /** @@ -935,14 +935,14 @@ public interface CfnFunctionProps { * @param imageConfig the value to be set. */ override fun imageConfig(imageConfig: IResolvable) { - cdkBuilder.imageConfig(imageConfig.let(IResolvable::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(IResolvable.Companion::unwrap)) } /** * @param imageConfig the value to be set. */ override fun imageConfig(imageConfig: CfnFunction.ImageConfigProperty) { - cdkBuilder.imageConfig(imageConfig.let(CfnFunction.ImageConfigProperty::unwrap)) + cdkBuilder.imageConfig(imageConfig.let(CfnFunction.ImageConfigProperty.Companion::unwrap)) } /** @@ -1018,14 +1018,14 @@ public interface CfnFunctionProps { * @param policies the value to be set. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** * @param policies the value to be set. */ override fun policies(policies: CfnFunction.IAMPolicyDocumentProperty) { - cdkBuilder.policies(policies.let(CfnFunction.IAMPolicyDocumentProperty::unwrap)) + cdkBuilder.policies(policies.let(CfnFunction.IAMPolicyDocumentProperty.Companion::unwrap)) } /** @@ -1052,7 +1052,7 @@ public interface CfnFunctionProps { * @param provisionedConcurrencyConfig the value to be set. */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: IResolvable) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1060,7 +1060,7 @@ public interface CfnFunctionProps { */ override fun provisionedConcurrencyConfig(provisionedConcurrencyConfig: CfnFunction.ProvisionedConcurrencyConfigProperty) { - cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(CfnFunction.ProvisionedConcurrencyConfigProperty::unwrap)) + cdkBuilder.provisionedConcurrencyConfig(provisionedConcurrencyConfig.let(CfnFunction.ProvisionedConcurrencyConfigProperty.Companion::unwrap)) } /** @@ -1126,14 +1126,14 @@ public interface CfnFunctionProps { * @param vpcConfig the value to be set. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** * @param vpcConfig the value to be set. */ override fun vpcConfig(vpcConfig: CfnFunction.VpcConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnFunction.VpcConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnFunction.VpcConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApi.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApi.kt index 124711cd1f..3707ac9c74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApi.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApi.kt @@ -95,7 +95,7 @@ public open class CfnHttpApi( cdkObject: software.amazon.awscdk.services.sam.CfnHttpApi, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sam.CfnHttpApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sam.CfnHttpApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -104,8 +104,8 @@ public open class CfnHttpApi( id: String, props: CfnHttpApiProps, ) : - this(software.amazon.awscdk.services.sam.CfnHttpApi(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHttpApiProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnHttpApi(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHttpApiProps.Companion::unwrap)) ) public constructor( @@ -124,14 +124,14 @@ public open class CfnHttpApi( * */ public open fun accessLogSetting(`value`: IResolvable) { - unwrap(this).setAccessLogSetting(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessLogSetting(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun accessLogSetting(`value`: AccessLogSettingProperty) { - unwrap(this).setAccessLogSetting(`value`.let(AccessLogSettingProperty::unwrap)) + unwrap(this).setAccessLogSetting(`value`.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -151,14 +151,14 @@ public open class CfnHttpApi( * */ public open fun auth(`value`: IResolvable) { - unwrap(this).setAuth(`value`.let(IResolvable::unwrap)) + unwrap(this).setAuth(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun auth(`value`: HttpApiAuthProperty) { - unwrap(this).setAuth(`value`.let(HttpApiAuthProperty::unwrap)) + unwrap(this).setAuth(`value`.let(HttpApiAuthProperty.Companion::unwrap)) } /** @@ -185,14 +185,14 @@ public open class CfnHttpApi( * */ public open fun corsConfiguration(`value`: IResolvable) { - unwrap(this).setCorsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCorsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun corsConfiguration(`value`: CorsConfigurationObjectProperty) { - unwrap(this).setCorsConfiguration(`value`.let(CorsConfigurationObjectProperty::unwrap)) + unwrap(this).setCorsConfiguration(`value`.let(CorsConfigurationObjectProperty.Companion::unwrap)) } /** @@ -212,14 +212,14 @@ public open class CfnHttpApi( * */ public open fun defaultRouteSettings(`value`: IResolvable) { - unwrap(this).setDefaultRouteSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultRouteSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun defaultRouteSettings(`value`: RouteSettingsProperty) { - unwrap(this).setDefaultRouteSettings(`value`.let(RouteSettingsProperty::unwrap)) + unwrap(this).setDefaultRouteSettings(`value`.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -258,14 +258,14 @@ public open class CfnHttpApi( * */ public open fun definitionUri(`value`: IResolvable) { - unwrap(this).setDefinitionUri(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinitionUri(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definitionUri(`value`: S3LocationProperty) { - unwrap(this).setDefinitionUri(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setDefinitionUri(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public open class CfnHttpApi( * */ public open fun disableExecuteApiEndpoint(`value`: IResolvable) { - unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisableExecuteApiEndpoint(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -316,14 +316,14 @@ public open class CfnHttpApi( * */ public open fun domain(`value`: IResolvable) { - unwrap(this).setDomain(`value`.let(IResolvable::unwrap)) + unwrap(this).setDomain(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun domain(`value`: HttpApiDomainConfigurationProperty) { - unwrap(this).setDomain(`value`.let(HttpApiDomainConfigurationProperty::unwrap)) + unwrap(this).setDomain(`value`.let(HttpApiDomainConfigurationProperty.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnHttpApi( * */ public open fun failOnWarnings(`value`: IResolvable) { - unwrap(this).setFailOnWarnings(`value`.let(IResolvable::unwrap)) + unwrap(this).setFailOnWarnings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -359,7 +359,7 @@ public open class CfnHttpApi( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -371,14 +371,14 @@ public open class CfnHttpApi( * */ public open fun routeSettings(`value`: IResolvable) { - unwrap(this).setRouteSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setRouteSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun routeSettings(`value`: RouteSettingsProperty) { - unwrap(this).setRouteSettings(`value`.let(RouteSettingsProperty::unwrap)) + unwrap(this).setRouteSettings(`value`.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnHttpApi( * */ public open fun stageVariables(`value`: IResolvable) { - unwrap(this).setStageVariables(`value`.let(IResolvable::unwrap)) + unwrap(this).setStageVariables(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public open class CfnHttpApi( * @param accessLogSetting */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class CfnHttpApi( * @param accessLogSetting */ override fun accessLogSetting(accessLogSetting: AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(AccessLogSettingProperty.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class CfnHttpApi( * @param auth */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class CfnHttpApi( * @param auth */ override fun auth(auth: HttpApiAuthProperty) { - cdkBuilder.auth(auth.let(HttpApiAuthProperty::unwrap)) + cdkBuilder.auth(auth.let(HttpApiAuthProperty.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public open class CfnHttpApi( * @param corsConfiguration */ override fun corsConfiguration(corsConfiguration: IResolvable) { - cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -734,7 +734,7 @@ public open class CfnHttpApi( * @param corsConfiguration */ override fun corsConfiguration(corsConfiguration: CorsConfigurationObjectProperty) { - cdkBuilder.corsConfiguration(corsConfiguration.let(CorsConfigurationObjectProperty::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(CorsConfigurationObjectProperty.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class CfnHttpApi( * @param defaultRouteSettings */ override fun defaultRouteSettings(defaultRouteSettings: IResolvable) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public open class CfnHttpApi( * @param defaultRouteSettings */ override fun defaultRouteSettings(defaultRouteSettings: RouteSettingsProperty) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(RouteSettingsProperty::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -794,7 +794,7 @@ public open class CfnHttpApi( * @param definitionUri */ override fun definitionUri(definitionUri: IResolvable) { - cdkBuilder.definitionUri(definitionUri.let(IResolvable::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(IResolvable.Companion::unwrap)) } /** @@ -802,7 +802,7 @@ public open class CfnHttpApi( * @param definitionUri */ override fun definitionUri(definitionUri: S3LocationProperty) { - cdkBuilder.definitionUri(definitionUri.let(S3LocationProperty::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(S3LocationProperty.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnHttpApi( * @param disableExecuteApiEndpoint */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** @@ -843,7 +843,7 @@ public open class CfnHttpApi( * @param domain */ override fun domain(domain: IResolvable) { - cdkBuilder.domain(domain.let(IResolvable::unwrap)) + cdkBuilder.domain(domain.let(IResolvable.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public open class CfnHttpApi( * @param domain */ override fun domain(domain: HttpApiDomainConfigurationProperty) { - cdkBuilder.domain(domain.let(HttpApiDomainConfigurationProperty::unwrap)) + cdkBuilder.domain(domain.let(HttpApiDomainConfigurationProperty.Companion::unwrap)) } /** @@ -876,7 +876,7 @@ public open class CfnHttpApi( * @param failOnWarnings */ override fun failOnWarnings(failOnWarnings: IResolvable) { - cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable::unwrap)) + cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable.Companion::unwrap)) } /** @@ -884,7 +884,7 @@ public open class CfnHttpApi( * @param routeSettings */ override fun routeSettings(routeSettings: IResolvable) { - cdkBuilder.routeSettings(routeSettings.let(IResolvable::unwrap)) + cdkBuilder.routeSettings(routeSettings.let(IResolvable.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class CfnHttpApi( * @param routeSettings */ override fun routeSettings(routeSettings: RouteSettingsProperty) { - cdkBuilder.routeSettings(routeSettings.let(RouteSettingsProperty::unwrap)) + cdkBuilder.routeSettings(routeSettings.let(RouteSettingsProperty.Companion::unwrap)) } /** @@ -917,7 +917,7 @@ public open class CfnHttpApi( * @param stageVariables */ override fun stageVariables(stageVariables: IResolvable) { - cdkBuilder.stageVariables(stageVariables.let(IResolvable::unwrap)) + cdkBuilder.stageVariables(stageVariables.let(IResolvable.Companion::unwrap)) } /** @@ -1187,7 +1187,7 @@ public open class CfnHttpApi( * @param allowCredentials the value to be set. */ override fun allowCredentials(allowCredentials: IResolvable) { - cdkBuilder.allowCredentials(allowCredentials.let(IResolvable::unwrap)) + cdkBuilder.allowCredentials(allowCredentials.let(IResolvable.Companion::unwrap)) } /** @@ -1574,7 +1574,7 @@ public open class CfnHttpApi( * @param mutualTlsAuthentication the value to be set. */ override fun mutualTlsAuthentication(mutualTlsAuthentication: IResolvable) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(IResolvable.Companion::unwrap)) } /** @@ -1582,7 +1582,7 @@ public open class CfnHttpApi( */ override fun mutualTlsAuthentication(mutualTlsAuthentication: MutualTlsAuthenticationProperty) { - cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty::unwrap)) + cdkBuilder.mutualTlsAuthentication(mutualTlsAuthentication.let(MutualTlsAuthenticationProperty.Companion::unwrap)) } /** @@ -1598,14 +1598,14 @@ public open class CfnHttpApi( * @param route53 the value to be set. */ override fun route53(route53: IResolvable) { - cdkBuilder.route53(route53.let(IResolvable::unwrap)) + cdkBuilder.route53(route53.let(IResolvable.Companion::unwrap)) } /** * @param route53 the value to be set. */ override fun route53(route53: Route53ConfigurationProperty) { - cdkBuilder.route53(route53.let(Route53ConfigurationProperty::unwrap)) + cdkBuilder.route53(route53.let(Route53ConfigurationProperty.Companion::unwrap)) } /** @@ -1757,7 +1757,7 @@ public open class CfnHttpApi( * @param truststoreVersion the value to be set. */ override fun truststoreVersion(truststoreVersion: IResolvable) { - cdkBuilder.truststoreVersion(truststoreVersion.let(IResolvable::unwrap)) + cdkBuilder.truststoreVersion(truststoreVersion.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1906,7 +1906,7 @@ public open class CfnHttpApi( * @param evaluateTargetHealth the value to be set. */ override fun evaluateTargetHealth(evaluateTargetHealth: IResolvable) { - cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable::unwrap)) + cdkBuilder.evaluateTargetHealth(evaluateTargetHealth.let(IResolvable.Companion::unwrap)) } /** @@ -1934,7 +1934,7 @@ public open class CfnHttpApi( * @param ipV6 the value to be set. */ override fun ipV6(ipV6: IResolvable) { - cdkBuilder.ipV6(ipV6.let(IResolvable::unwrap)) + cdkBuilder.ipV6(ipV6.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -2090,7 +2090,7 @@ public open class CfnHttpApi( * @param dataTraceEnabled the value to be set. */ override fun dataTraceEnabled(dataTraceEnabled: IResolvable) { - cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable::unwrap)) + cdkBuilder.dataTraceEnabled(dataTraceEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -2104,7 +2104,7 @@ public open class CfnHttpApi( * @param detailedMetricsEnabled the value to be set. */ override fun detailedMetricsEnabled(detailedMetricsEnabled: IResolvable) { - cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.detailedMetricsEnabled(detailedMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApiProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApiProps.kt index f6380b0bcb..7e35a5ff9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApiProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnHttpApiProps.kt @@ -349,14 +349,14 @@ public interface CfnHttpApiProps { * @param accessLogSetting the value to be set. */ override fun accessLogSetting(accessLogSetting: IResolvable) { - cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(IResolvable.Companion::unwrap)) } /** * @param accessLogSetting the value to be set. */ override fun accessLogSetting(accessLogSetting: CfnHttpApi.AccessLogSettingProperty) { - cdkBuilder.accessLogSetting(accessLogSetting.let(CfnHttpApi.AccessLogSettingProperty::unwrap)) + cdkBuilder.accessLogSetting(accessLogSetting.let(CfnHttpApi.AccessLogSettingProperty.Companion::unwrap)) } /** @@ -372,14 +372,14 @@ public interface CfnHttpApiProps { * @param auth the value to be set. */ override fun auth(auth: IResolvable) { - cdkBuilder.auth(auth.let(IResolvable::unwrap)) + cdkBuilder.auth(auth.let(IResolvable.Companion::unwrap)) } /** * @param auth the value to be set. */ override fun auth(auth: CfnHttpApi.HttpApiAuthProperty) { - cdkBuilder.auth(auth.let(CfnHttpApi.HttpApiAuthProperty::unwrap)) + cdkBuilder.auth(auth.let(CfnHttpApi.HttpApiAuthProperty.Companion::unwrap)) } /** @@ -401,14 +401,14 @@ public interface CfnHttpApiProps { * @param corsConfiguration the value to be set. */ override fun corsConfiguration(corsConfiguration: IResolvable) { - cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param corsConfiguration the value to be set. */ override fun corsConfiguration(corsConfiguration: CfnHttpApi.CorsConfigurationObjectProperty) { - cdkBuilder.corsConfiguration(corsConfiguration.let(CfnHttpApi.CorsConfigurationObjectProperty::unwrap)) + cdkBuilder.corsConfiguration(corsConfiguration.let(CfnHttpApi.CorsConfigurationObjectProperty.Companion::unwrap)) } /** @@ -424,14 +424,14 @@ public interface CfnHttpApiProps { * @param defaultRouteSettings the value to be set. */ override fun defaultRouteSettings(defaultRouteSettings: IResolvable) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(IResolvable.Companion::unwrap)) } /** * @param defaultRouteSettings the value to be set. */ override fun defaultRouteSettings(defaultRouteSettings: CfnHttpApi.RouteSettingsProperty) { - cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(CfnHttpApi.RouteSettingsProperty::unwrap)) + cdkBuilder.defaultRouteSettings(defaultRouteSettings.let(CfnHttpApi.RouteSettingsProperty.Companion::unwrap)) } /** @@ -461,14 +461,14 @@ public interface CfnHttpApiProps { * @param definitionUri the value to be set. */ override fun definitionUri(definitionUri: IResolvable) { - cdkBuilder.definitionUri(definitionUri.let(IResolvable::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(IResolvable.Companion::unwrap)) } /** * @param definitionUri the value to be set. */ override fun definitionUri(definitionUri: CfnHttpApi.S3LocationProperty) { - cdkBuilder.definitionUri(definitionUri.let(CfnHttpApi.S3LocationProperty::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(CfnHttpApi.S3LocationProperty.Companion::unwrap)) } /** @@ -497,21 +497,21 @@ public interface CfnHttpApiProps { * @param disableExecuteApiEndpoint the value to be set. */ override fun disableExecuteApiEndpoint(disableExecuteApiEndpoint: IResolvable) { - cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable::unwrap)) + cdkBuilder.disableExecuteApiEndpoint(disableExecuteApiEndpoint.let(IResolvable.Companion::unwrap)) } /** * @param domain the value to be set. */ override fun domain(domain: IResolvable) { - cdkBuilder.domain(domain.let(IResolvable::unwrap)) + cdkBuilder.domain(domain.let(IResolvable.Companion::unwrap)) } /** * @param domain the value to be set. */ override fun domain(domain: CfnHttpApi.HttpApiDomainConfigurationProperty) { - cdkBuilder.domain(domain.let(CfnHttpApi.HttpApiDomainConfigurationProperty::unwrap)) + cdkBuilder.domain(domain.let(CfnHttpApi.HttpApiDomainConfigurationProperty.Companion::unwrap)) } /** @@ -533,21 +533,21 @@ public interface CfnHttpApiProps { * @param failOnWarnings the value to be set. */ override fun failOnWarnings(failOnWarnings: IResolvable) { - cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable::unwrap)) + cdkBuilder.failOnWarnings(failOnWarnings.let(IResolvable.Companion::unwrap)) } /** * @param routeSettings the value to be set. */ override fun routeSettings(routeSettings: IResolvable) { - cdkBuilder.routeSettings(routeSettings.let(IResolvable::unwrap)) + cdkBuilder.routeSettings(routeSettings.let(IResolvable.Companion::unwrap)) } /** * @param routeSettings the value to be set. */ override fun routeSettings(routeSettings: CfnHttpApi.RouteSettingsProperty) { - cdkBuilder.routeSettings(routeSettings.let(CfnHttpApi.RouteSettingsProperty::unwrap)) + cdkBuilder.routeSettings(routeSettings.let(CfnHttpApi.RouteSettingsProperty.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public interface CfnHttpApiProps { * @param stageVariables the value to be set. */ override fun stageVariables(stageVariables: IResolvable) { - cdkBuilder.stageVariables(stageVariables.let(IResolvable::unwrap)) + cdkBuilder.stageVariables(stageVariables.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersion.kt index 22f57103c7..7f2f182426 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersion.kt @@ -43,7 +43,7 @@ public open class CfnLayerVersion( cdkObject: software.amazon.awscdk.services.sam.CfnLayerVersion, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sam.CfnLayerVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sam.CfnLayerVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class CfnLayerVersion( id: String, props: CfnLayerVersionProps, ) : - this(software.amazon.awscdk.services.sam.CfnLayerVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLayerVersionProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnLayerVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLayerVersionProps.Companion::unwrap)) ) public constructor( @@ -98,14 +98,14 @@ public open class CfnLayerVersion( * */ public open fun contentUri(`value`: IResolvable) { - unwrap(this).setContentUri(`value`.let(IResolvable::unwrap)) + unwrap(this).setContentUri(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun contentUri(`value`: S3LocationProperty) { - unwrap(this).setContentUri(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setContentUri(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnLayerVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnLayerVersion( * @param contentUri */ override fun contentUri(contentUri: IResolvable) { - cdkBuilder.contentUri(contentUri.let(IResolvable::unwrap)) + cdkBuilder.contentUri(contentUri.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnLayerVersion( * @param contentUri */ override fun contentUri(contentUri: S3LocationProperty) { - cdkBuilder.contentUri(contentUri.let(S3LocationProperty::unwrap)) + cdkBuilder.contentUri(contentUri.let(S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersionProps.kt index dc14600d51..be20795f4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnLayerVersionProps.kt @@ -151,14 +151,14 @@ public interface CfnLayerVersionProps { * @param contentUri the value to be set. */ override fun contentUri(contentUri: IResolvable) { - cdkBuilder.contentUri(contentUri.let(IResolvable::unwrap)) + cdkBuilder.contentUri(contentUri.let(IResolvable.Companion::unwrap)) } /** * @param contentUri the value to be set. */ override fun contentUri(contentUri: CfnLayerVersion.S3LocationProperty) { - cdkBuilder.contentUri(contentUri.let(CfnLayerVersion.S3LocationProperty::unwrap)) + cdkBuilder.contentUri(contentUri.let(CfnLayerVersion.S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTable.kt index 09c4887a18..6e16e16482 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTable.kt @@ -56,7 +56,7 @@ public open class CfnSimpleTable( cdkObject: software.amazon.awscdk.services.sam.CfnSimpleTable, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sam.CfnSimpleTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sam.CfnSimpleTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -65,8 +65,8 @@ public open class CfnSimpleTable( id: String, props: CfnSimpleTableProps, ) : - this(software.amazon.awscdk.services.sam.CfnSimpleTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSimpleTableProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnSimpleTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSimpleTableProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class CfnSimpleTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -94,14 +94,14 @@ public open class CfnSimpleTable( * */ public open fun primaryKey(`value`: IResolvable) { - unwrap(this).setPrimaryKey(`value`.let(IResolvable::unwrap)) + unwrap(this).setPrimaryKey(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun primaryKey(`value`: PrimaryKeyProperty) { - unwrap(this).setPrimaryKey(`value`.let(PrimaryKeyProperty::unwrap)) + unwrap(this).setPrimaryKey(`value`.let(PrimaryKeyProperty.Companion::unwrap)) } /** @@ -121,14 +121,14 @@ public open class CfnSimpleTable( * */ public open fun provisionedThroughput(`value`: IResolvable) { - unwrap(this).setProvisionedThroughput(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisionedThroughput(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun provisionedThroughput(`value`: ProvisionedThroughputProperty) { - unwrap(this).setProvisionedThroughput(`value`.let(ProvisionedThroughputProperty::unwrap)) + unwrap(this).setProvisionedThroughput(`value`.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -148,14 +148,14 @@ public open class CfnSimpleTable( * */ public open fun sseSpecification(`value`: IResolvable) { - unwrap(this).setSseSpecification(`value`.let(IResolvable::unwrap)) + unwrap(this).setSseSpecification(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun sseSpecification(`value`: SSESpecificationProperty) { - unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty::unwrap)) + unwrap(this).setSseSpecification(`value`.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnSimpleTable( * @param primaryKey */ override fun primaryKey(primaryKey: IResolvable) { - cdkBuilder.primaryKey(primaryKey.let(IResolvable::unwrap)) + cdkBuilder.primaryKey(primaryKey.let(IResolvable.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public open class CfnSimpleTable( * @param primaryKey */ override fun primaryKey(primaryKey: PrimaryKeyProperty) { - cdkBuilder.primaryKey(primaryKey.let(PrimaryKeyProperty::unwrap)) + cdkBuilder.primaryKey(primaryKey.let(PrimaryKeyProperty.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class CfnSimpleTable( * @param provisionedThroughput */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class CfnSimpleTable( * @param provisionedThroughput */ override fun provisionedThroughput(provisionedThroughput: ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnSimpleTable( * @param sseSpecification */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnSimpleTable( * @param sseSpecification */ override fun sseSpecification(sseSpecification: SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(SSESpecificationProperty.Companion::unwrap)) } /** @@ -649,7 +649,7 @@ public open class CfnSimpleTable( * @param sseEnabled the value to be set. */ override fun sseEnabled(sseEnabled: IResolvable) { - cdkBuilder.sseEnabled(sseEnabled.let(IResolvable::unwrap)) + cdkBuilder.sseEnabled(sseEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTableProps.kt index 3367b87676..25e3c11e41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnSimpleTableProps.kt @@ -147,14 +147,14 @@ public interface CfnSimpleTableProps { * @param primaryKey the value to be set. */ override fun primaryKey(primaryKey: IResolvable) { - cdkBuilder.primaryKey(primaryKey.let(IResolvable::unwrap)) + cdkBuilder.primaryKey(primaryKey.let(IResolvable.Companion::unwrap)) } /** * @param primaryKey the value to be set. */ override fun primaryKey(primaryKey: CfnSimpleTable.PrimaryKeyProperty) { - cdkBuilder.primaryKey(primaryKey.let(CfnSimpleTable.PrimaryKeyProperty::unwrap)) + cdkBuilder.primaryKey(primaryKey.let(CfnSimpleTable.PrimaryKeyProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CfnSimpleTableProps { * @param provisionedThroughput the value to be set. */ override fun provisionedThroughput(provisionedThroughput: IResolvable) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(IResolvable.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface CfnSimpleTableProps { */ override fun provisionedThroughput(provisionedThroughput: CfnSimpleTable.ProvisionedThroughputProperty) { - cdkBuilder.provisionedThroughput(provisionedThroughput.let(CfnSimpleTable.ProvisionedThroughputProperty::unwrap)) + cdkBuilder.provisionedThroughput(provisionedThroughput.let(CfnSimpleTable.ProvisionedThroughputProperty.Companion::unwrap)) } /** @@ -194,14 +194,14 @@ public interface CfnSimpleTableProps { * @param sseSpecification the value to be set. */ override fun sseSpecification(sseSpecification: IResolvable) { - cdkBuilder.sseSpecification(sseSpecification.let(IResolvable::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(IResolvable.Companion::unwrap)) } /** * @param sseSpecification the value to be set. */ override fun sseSpecification(sseSpecification: CfnSimpleTable.SSESpecificationProperty) { - cdkBuilder.sseSpecification(sseSpecification.let(CfnSimpleTable.SSESpecificationProperty::unwrap)) + cdkBuilder.sseSpecification(sseSpecification.let(CfnSimpleTable.SSESpecificationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachine.kt index b289ab1d28..4629602e0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachine.kt @@ -75,7 +75,7 @@ public open class CfnStateMachine( cdkObject: software.amazon.awscdk.services.sam.CfnStateMachine, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sam.CfnStateMachine(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sam.CfnStateMachine(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -84,8 +84,8 @@ public open class CfnStateMachine( id: String, props: CfnStateMachineProps, ) : - this(software.amazon.awscdk.services.sam.CfnStateMachine(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStateMachineProps::unwrap)) + this(software.amazon.awscdk.services.sam.CfnStateMachine(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStateMachineProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class CfnStateMachine( * */ public open fun definitionSubstitutions(`value`: IResolvable) { - unwrap(this).setDefinitionSubstitutions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinitionSubstitutions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,14 +142,14 @@ public open class CfnStateMachine( * */ public open fun definitionUri(`value`: IResolvable) { - unwrap(this).setDefinitionUri(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinitionUri(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun definitionUri(`value`: S3LocationProperty) { - unwrap(this).setDefinitionUri(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setDefinitionUri(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnStateMachine( * */ public open fun events(`value`: IResolvable) { - unwrap(this).setEvents(`value`.let(IResolvable::unwrap)) + unwrap(this).setEvents(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnStateMachine( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -197,14 +197,14 @@ public open class CfnStateMachine( * */ public open fun logging(`value`: IResolvable) { - unwrap(this).setLogging(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogging(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun logging(`value`: LoggingConfigurationProperty) { - unwrap(this).setLogging(`value`.let(LoggingConfigurationProperty::unwrap)) + unwrap(this).setLogging(`value`.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -255,14 +255,14 @@ public open class CfnStateMachine( * */ public open fun policies(`value`: IResolvable) { - unwrap(this).setPolicies(`value`.let(IResolvable::unwrap)) + unwrap(this).setPolicies(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun policies(`value`: IAMPolicyDocumentProperty) { - unwrap(this).setPolicies(`value`.let(IAMPolicyDocumentProperty::unwrap)) + unwrap(this).setPolicies(`value`.let(IAMPolicyDocumentProperty.Companion::unwrap)) } /** @@ -323,14 +323,14 @@ public open class CfnStateMachine( * */ public open fun tracing(`value`: IResolvable) { - unwrap(this).setTracing(`value`.let(IResolvable::unwrap)) + unwrap(this).setTracing(`value`.let(IResolvable.Companion::unwrap)) } /** * */ public open fun tracing(`value`: TracingConfigurationProperty) { - unwrap(this).setTracing(`value`.let(TracingConfigurationProperty::unwrap)) + unwrap(this).setTracing(`value`.let(TracingConfigurationProperty.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public open class CfnStateMachine( * @param definitionSubstitutions */ override fun definitionSubstitutions(definitionSubstitutions: IResolvable) { - cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable::unwrap)) + cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnStateMachine( * @param definitionUri */ override fun definitionUri(definitionUri: IResolvable) { - cdkBuilder.definitionUri(definitionUri.let(IResolvable::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(IResolvable.Companion::unwrap)) } /** @@ -575,7 +575,7 @@ public open class CfnStateMachine( * @param definitionUri */ override fun definitionUri(definitionUri: S3LocationProperty) { - cdkBuilder.definitionUri(definitionUri.let(S3LocationProperty::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(S3LocationProperty.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public open class CfnStateMachine( * @param events */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public open class CfnStateMachine( * @param logging */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class CfnStateMachine( * @param logging */ override fun logging(logging: LoggingConfigurationProperty) { - cdkBuilder.logging(logging.let(LoggingConfigurationProperty::unwrap)) + cdkBuilder.logging(logging.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class CfnStateMachine( * @param policies */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** @@ -665,7 +665,7 @@ public open class CfnStateMachine( * @param policies */ override fun policies(policies: IAMPolicyDocumentProperty) { - cdkBuilder.policies(policies.let(IAMPolicyDocumentProperty::unwrap)) + cdkBuilder.policies(policies.let(IAMPolicyDocumentProperty.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class CfnStateMachine( * @param tracing */ override fun tracing(tracing: IResolvable) { - cdkBuilder.tracing(tracing.let(IResolvable::unwrap)) + cdkBuilder.tracing(tracing.let(IResolvable.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnStateMachine( * @param tracing */ override fun tracing(tracing: TracingConfigurationProperty) { - cdkBuilder.tracing(tracing.let(TracingConfigurationProperty::unwrap)) + cdkBuilder.tracing(tracing.let(TracingConfigurationProperty.Companion::unwrap)) } /** @@ -1363,14 +1363,14 @@ public open class CfnStateMachine( * @param properties the value to be set. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** * @param properties the value to be set. */ override fun properties(properties: ApiEventProperty) { - cdkBuilder.properties(properties.let(ApiEventProperty::unwrap)) + cdkBuilder.properties(properties.let(ApiEventProperty.Companion::unwrap)) } /** @@ -1385,7 +1385,7 @@ public open class CfnStateMachine( * @param properties the value to be set. */ override fun properties(properties: CloudWatchEventEventProperty) { - cdkBuilder.properties(properties.let(CloudWatchEventEventProperty::unwrap)) + cdkBuilder.properties(properties.let(CloudWatchEventEventProperty.Companion::unwrap)) } /** @@ -1400,7 +1400,7 @@ public open class CfnStateMachine( * @param properties the value to be set. */ override fun properties(properties: EventBridgeRuleEventProperty) { - cdkBuilder.properties(properties.let(EventBridgeRuleEventProperty::unwrap)) + cdkBuilder.properties(properties.let(EventBridgeRuleEventProperty.Companion::unwrap)) } /** @@ -1415,7 +1415,7 @@ public open class CfnStateMachine( * @param properties the value to be set. */ override fun properties(properties: ScheduleEventProperty) { - cdkBuilder.properties(properties.let(ScheduleEventProperty::unwrap)) + cdkBuilder.properties(properties.let(ScheduleEventProperty.Companion::unwrap)) } /** @@ -1696,14 +1696,14 @@ public open class CfnStateMachine( * @param cloudWatchLogsLogGroup the value to be set. */ override fun cloudWatchLogsLogGroup(cloudWatchLogsLogGroup: IResolvable) { - cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(IResolvable.Companion::unwrap)) } /** * @param cloudWatchLogsLogGroup the value to be set. */ override fun cloudWatchLogsLogGroup(cloudWatchLogsLogGroup: CloudWatchLogsLogGroupProperty) { - cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(CloudWatchLogsLogGroupProperty::unwrap)) + cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(CloudWatchLogsLogGroupProperty.Companion::unwrap)) } /** @@ -1828,7 +1828,7 @@ public open class CfnStateMachine( * @param destinations the value to be set. */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -1855,7 +1855,7 @@ public open class CfnStateMachine( * @param includeExecutionData the value to be set. */ override fun includeExecutionData(includeExecutionData: IResolvable) { - cdkBuilder.includeExecutionData(includeExecutionData.let(IResolvable::unwrap)) + cdkBuilder.includeExecutionData(includeExecutionData.let(IResolvable.Companion::unwrap)) } /** @@ -2109,14 +2109,14 @@ public open class CfnStateMachine( * @param lambdaInvokePolicy the value to be set. */ override fun lambdaInvokePolicy(lambdaInvokePolicy: IResolvable) { - cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(IResolvable::unwrap)) + cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(IResolvable.Companion::unwrap)) } /** * @param lambdaInvokePolicy the value to be set. */ override fun lambdaInvokePolicy(lambdaInvokePolicy: FunctionSAMPTProperty) { - cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(FunctionSAMPTProperty::unwrap)) + cdkBuilder.lambdaInvokePolicy(lambdaInvokePolicy.let(FunctionSAMPTProperty.Companion::unwrap)) } /** @@ -2131,7 +2131,7 @@ public open class CfnStateMachine( * @param stepFunctionsExecutionPolicy the value to be set. */ override fun stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy: IResolvable) { - cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(IResolvable::unwrap)) + cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -2139,7 +2139,7 @@ public open class CfnStateMachine( */ override fun stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy: StateMachineSAMPTProperty) { - cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(StateMachineSAMPTProperty::unwrap)) + cdkBuilder.stepFunctionsExecutionPolicy(stepFunctionsExecutionPolicy.let(StateMachineSAMPTProperty.Companion::unwrap)) } /** @@ -2416,7 +2416,7 @@ public open class CfnStateMachine( * @param enabled the value to be set. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachineProps.kt index 5d64555067..e78d54e85f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sam/CfnStateMachineProps.kt @@ -282,7 +282,7 @@ public interface CfnStateMachineProps { * @param definitionSubstitutions the value to be set. */ override fun definitionSubstitutions(definitionSubstitutions: IResolvable) { - cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable::unwrap)) + cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable.Companion::unwrap)) } /** @@ -303,14 +303,14 @@ public interface CfnStateMachineProps { * @param definitionUri the value to be set. */ override fun definitionUri(definitionUri: IResolvable) { - cdkBuilder.definitionUri(definitionUri.let(IResolvable::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(IResolvable.Companion::unwrap)) } /** * @param definitionUri the value to be set. */ override fun definitionUri(definitionUri: CfnStateMachine.S3LocationProperty) { - cdkBuilder.definitionUri(definitionUri.let(CfnStateMachine.S3LocationProperty::unwrap)) + cdkBuilder.definitionUri(definitionUri.let(CfnStateMachine.S3LocationProperty.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface CfnStateMachineProps { * @param events the value to be set. */ override fun events(events: IResolvable) { - cdkBuilder.events(events.let(IResolvable::unwrap)) + cdkBuilder.events(events.let(IResolvable.Companion::unwrap)) } /** @@ -340,14 +340,14 @@ public interface CfnStateMachineProps { * @param logging the value to be set. */ override fun logging(logging: IResolvable) { - cdkBuilder.logging(logging.let(IResolvable::unwrap)) + cdkBuilder.logging(logging.let(IResolvable.Companion::unwrap)) } /** * @param logging the value to be set. */ override fun logging(logging: CfnStateMachine.LoggingConfigurationProperty) { - cdkBuilder.logging(logging.let(CfnStateMachine.LoggingConfigurationProperty::unwrap)) + cdkBuilder.logging(logging.let(CfnStateMachine.LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -383,14 +383,14 @@ public interface CfnStateMachineProps { * @param policies the value to be set. */ override fun policies(policies: IResolvable) { - cdkBuilder.policies(policies.let(IResolvable::unwrap)) + cdkBuilder.policies(policies.let(IResolvable.Companion::unwrap)) } /** * @param policies the value to be set. */ override fun policies(policies: CfnStateMachine.IAMPolicyDocumentProperty) { - cdkBuilder.policies(policies.let(CfnStateMachine.IAMPolicyDocumentProperty::unwrap)) + cdkBuilder.policies(policies.let(CfnStateMachine.IAMPolicyDocumentProperty.Companion::unwrap)) } /** @@ -431,14 +431,14 @@ public interface CfnStateMachineProps { * @param tracing the value to be set. */ override fun tracing(tracing: IResolvable) { - cdkBuilder.tracing(tracing.let(IResolvable::unwrap)) + cdkBuilder.tracing(tracing.let(IResolvable.Companion::unwrap)) } /** * @param tracing the value to be set. */ override fun tracing(tracing: CfnStateMachine.TracingConfigurationProperty) { - cdkBuilder.tracing(tracing.let(CfnStateMachine.TracingConfigurationProperty::unwrap)) + cdkBuilder.tracing(tracing.let(CfnStateMachine.TracingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnSchedule.kt index 8cbf83d377..86219df4bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnSchedule.kt @@ -142,8 +142,8 @@ public open class CfnSchedule( id: String, props: CfnScheduleProps, ) : - this(software.amazon.awscdk.services.scheduler.CfnSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduleProps::unwrap)) + this(software.amazon.awscdk.services.scheduler.CfnSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduleProps.Companion::unwrap)) ) public constructor( @@ -191,14 +191,14 @@ public open class CfnSchedule( * Allows you to configure a time window during which EventBridge Scheduler invokes the schedule. */ public open fun flexibleTimeWindow(`value`: IResolvable) { - unwrap(this).setFlexibleTimeWindow(`value`.let(IResolvable::unwrap)) + unwrap(this).setFlexibleTimeWindow(`value`.let(IResolvable.Companion::unwrap)) } /** * Allows you to configure a time window during which EventBridge Scheduler invokes the schedule. */ public open fun flexibleTimeWindow(`value`: FlexibleTimeWindowProperty) { - unwrap(this).setFlexibleTimeWindow(`value`.let(FlexibleTimeWindowProperty::unwrap)) + unwrap(this).setFlexibleTimeWindow(`value`.let(FlexibleTimeWindowProperty.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnSchedule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -318,14 +318,14 @@ public open class CfnSchedule( * The schedule's target details. */ public open fun target(`value`: IResolvable) { - unwrap(this).setTarget(`value`.let(IResolvable::unwrap)) + unwrap(this).setTarget(`value`.let(IResolvable.Companion::unwrap)) } /** * The schedule's target details. */ public open fun target(`value`: TargetProperty) { - unwrap(this).setTarget(`value`.let(TargetProperty::unwrap)) + unwrap(this).setTarget(`value`.let(TargetProperty.Companion::unwrap)) } /** @@ -547,7 +547,7 @@ public open class CfnSchedule( * Scheduler invokes the schedule. */ override fun flexibleTimeWindow(flexibleTimeWindow: IResolvable) { - cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(IResolvable::unwrap)) + cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(IResolvable.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class CfnSchedule( * Scheduler invokes the schedule. */ override fun flexibleTimeWindow(flexibleTimeWindow: FlexibleTimeWindowProperty) { - cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(FlexibleTimeWindowProperty::unwrap)) + cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(FlexibleTimeWindowProperty.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnSchedule( * @param target The schedule's target details. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class CfnSchedule( * @param target The schedule's target details. */ override fun target(target: TargetProperty) { - cdkBuilder.target(target.let(TargetProperty::unwrap)) + cdkBuilder.target(target.let(TargetProperty.Companion::unwrap)) } /** @@ -1550,7 +1550,7 @@ public open class CfnSchedule( * @param capacityProviderStrategy The capacity provider strategy to use for the task. */ override fun capacityProviderStrategy(capacityProviderStrategy: IResolvable) { - cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable::unwrap)) + cdkBuilder.capacityProviderStrategy(capacityProviderStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -1585,7 +1585,7 @@ public open class CfnSchedule( * the *Amazon ECS Developer Guide* . */ override fun enableEcsManagedTags(enableEcsManagedTags: IResolvable) { - cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable::unwrap)) + cdkBuilder.enableEcsManagedTags(enableEcsManagedTags.let(IResolvable.Companion::unwrap)) } /** @@ -1603,7 +1603,7 @@ public open class CfnSchedule( * If true, this enables execute command functionality on all containers in the task. */ override fun enableExecuteCommand(enableExecuteCommand: IResolvable) { - cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable::unwrap)) + cdkBuilder.enableExecuteCommand(enableExecuteCommand.let(IResolvable.Companion::unwrap)) } /** @@ -1631,7 +1631,7 @@ public open class CfnSchedule( * task. */ override fun networkConfiguration(networkConfiguration: IResolvable) { - cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1639,7 +1639,7 @@ public open class CfnSchedule( * task. */ override fun networkConfiguration(networkConfiguration: NetworkConfigurationProperty) { - cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty::unwrap)) + cdkBuilder.networkConfiguration(networkConfiguration.let(NetworkConfigurationProperty.Companion::unwrap)) } /** @@ -1658,7 +1658,7 @@ public open class CfnSchedule( * and those specified at runtime). */ override fun placementConstraints(placementConstraints: IResolvable) { - cdkBuilder.placementConstraints(placementConstraints.let(IResolvable::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -1682,7 +1682,7 @@ public open class CfnSchedule( * @param placementStrategy The task placement strategy for a task or service. */ override fun placementStrategy(placementStrategy: IResolvable) { - cdkBuilder.placementStrategy(placementStrategy.let(IResolvable::unwrap)) + cdkBuilder.placementStrategy(placementStrategy.let(IResolvable.Companion::unwrap)) } /** @@ -2337,7 +2337,7 @@ public open class CfnSchedule( * This structure is relevant only for ECS tasks that use the awsvpc network mode. */ override fun awsvpcConfiguration(awsvpcConfiguration: IResolvable) { - cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(IResolvable::unwrap)) + cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2346,7 +2346,7 @@ public open class CfnSchedule( * This structure is relevant only for ECS tasks that use the awsvpc network mode. */ override fun awsvpcConfiguration(awsvpcConfiguration: AwsVpcConfigurationProperty) { - cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(AwsVpcConfigurationProperty::unwrap)) + cdkBuilder.awsvpcConfiguration(awsvpcConfiguration.let(AwsVpcConfigurationProperty.Companion::unwrap)) } /** @@ -2994,7 +2994,7 @@ public open class CfnSchedule( * SageMaker Model Building Pipeline. */ override fun pipelineParameterList(pipelineParameterList: IResolvable) { - cdkBuilder.pipelineParameterList(pipelineParameterList.let(IResolvable::unwrap)) + cdkBuilder.pipelineParameterList(pipelineParameterList.let(IResolvable.Companion::unwrap)) } /** @@ -3538,7 +3538,7 @@ public open class CfnSchedule( * delivered to a target to the queue. */ override fun deadLetterConfig(deadLetterConfig: IResolvable) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(IResolvable.Companion::unwrap)) } /** @@ -3548,7 +3548,7 @@ public open class CfnSchedule( * delivered to a target to the queue. */ override fun deadLetterConfig(deadLetterConfig: DeadLetterConfigProperty) { - cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty::unwrap)) + cdkBuilder.deadLetterConfig(deadLetterConfig.let(DeadLetterConfigProperty.Companion::unwrap)) } /** @@ -3568,7 +3568,7 @@ public open class CfnSchedule( * operation. */ override fun ecsParameters(ecsParameters: IResolvable) { - cdkBuilder.ecsParameters(ecsParameters.let(IResolvable::unwrap)) + cdkBuilder.ecsParameters(ecsParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3577,7 +3577,7 @@ public open class CfnSchedule( * operation. */ override fun ecsParameters(ecsParameters: EcsParametersProperty) { - cdkBuilder.ecsParameters(ecsParameters.let(EcsParametersProperty::unwrap)) + cdkBuilder.ecsParameters(ecsParameters.let(EcsParametersProperty.Companion::unwrap)) } /** @@ -3596,7 +3596,7 @@ public open class CfnSchedule( * API operation. */ override fun eventBridgeParameters(eventBridgeParameters: IResolvable) { - cdkBuilder.eventBridgeParameters(eventBridgeParameters.let(IResolvable::unwrap)) + cdkBuilder.eventBridgeParameters(eventBridgeParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3605,7 +3605,7 @@ public open class CfnSchedule( * API operation. */ override fun eventBridgeParameters(eventBridgeParameters: EventBridgeParametersProperty) { - cdkBuilder.eventBridgeParameters(eventBridgeParameters.let(EventBridgeParametersProperty::unwrap)) + cdkBuilder.eventBridgeParameters(eventBridgeParameters.let(EventBridgeParametersProperty.Companion::unwrap)) } /** @@ -3636,7 +3636,7 @@ public open class CfnSchedule( * operation. */ override fun kinesisParameters(kinesisParameters: IResolvable) { - cdkBuilder.kinesisParameters(kinesisParameters.let(IResolvable::unwrap)) + cdkBuilder.kinesisParameters(kinesisParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3645,7 +3645,7 @@ public open class CfnSchedule( * operation. */ override fun kinesisParameters(kinesisParameters: KinesisParametersProperty) { - cdkBuilder.kinesisParameters(kinesisParameters.let(KinesisParametersProperty::unwrap)) + cdkBuilder.kinesisParameters(kinesisParameters.let(KinesisParametersProperty.Companion::unwrap)) } /** @@ -3665,7 +3665,7 @@ public open class CfnSchedule( * Scheduler will try to deliver the event to a target. */ override fun retryPolicy(retryPolicy: IResolvable) { - cdkBuilder.retryPolicy(retryPolicy.let(IResolvable::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(IResolvable.Companion::unwrap)) } /** @@ -3674,7 +3674,7 @@ public open class CfnSchedule( * Scheduler will try to deliver the event to a target. */ override fun retryPolicy(retryPolicy: RetryPolicyProperty) { - cdkBuilder.retryPolicy(retryPolicy.let(RetryPolicyProperty::unwrap)) + cdkBuilder.retryPolicy(retryPolicy.let(RetryPolicyProperty.Companion::unwrap)) } /** @@ -3701,7 +3701,7 @@ public open class CfnSchedule( * API operation. */ override fun sageMakerPipelineParameters(sageMakerPipelineParameters: IResolvable) { - cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(IResolvable::unwrap)) + cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3711,7 +3711,7 @@ public open class CfnSchedule( */ override fun sageMakerPipelineParameters(sageMakerPipelineParameters: SageMakerPipelineParametersProperty) { - cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(SageMakerPipelineParametersProperty::unwrap)) + cdkBuilder.sageMakerPipelineParameters(sageMakerPipelineParameters.let(SageMakerPipelineParametersProperty.Companion::unwrap)) } /** @@ -3736,7 +3736,7 @@ public open class CfnSchedule( * in the *Amazon SQS Developer Guide* . */ override fun sqsParameters(sqsParameters: IResolvable) { - cdkBuilder.sqsParameters(sqsParameters.let(IResolvable::unwrap)) + cdkBuilder.sqsParameters(sqsParameters.let(IResolvable.Companion::unwrap)) } /** @@ -3749,7 +3749,7 @@ public open class CfnSchedule( * in the *Amazon SQS Developer Guide* . */ override fun sqsParameters(sqsParameters: SqsParametersProperty) { - cdkBuilder.sqsParameters(sqsParameters.let(SqsParametersProperty::unwrap)) + cdkBuilder.sqsParameters(sqsParameters.let(SqsParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroup.kt index 49439a0067..3dd632c1c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroup.kt @@ -51,7 +51,7 @@ public open class CfnScheduleGroup( cdkObject: software.amazon.awscdk.services.scheduler.CfnScheduleGroup, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.scheduler.CfnScheduleGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.scheduler.CfnScheduleGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnScheduleGroup( id: String, props: CfnScheduleGroupProps, ) : - this(software.amazon.awscdk.services.scheduler.CfnScheduleGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduleGroupProps::unwrap)) + this(software.amazon.awscdk.services.scheduler.CfnScheduleGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduleGroupProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnScheduleGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnScheduleGroup( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnScheduleGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroupProps.kt index 2853a3cced..390ab28f86 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleGroupProps.kt @@ -94,7 +94,7 @@ public interface CfnScheduleGroupProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleProps.kt index b9c0aea719..3e1adc03b4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/scheduler/CfnScheduleProps.kt @@ -361,7 +361,7 @@ public interface CfnScheduleProps { * Scheduler invokes the schedule. */ override fun flexibleTimeWindow(flexibleTimeWindow: IResolvable) { - cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(IResolvable::unwrap)) + cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(IResolvable.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface CfnScheduleProps { * Scheduler invokes the schedule. */ override fun flexibleTimeWindow(flexibleTimeWindow: CfnSchedule.FlexibleTimeWindowProperty) { - cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(CfnSchedule.FlexibleTimeWindowProperty::unwrap)) + cdkBuilder.flexibleTimeWindow(flexibleTimeWindow.let(CfnSchedule.FlexibleTimeWindowProperty.Companion::unwrap)) } /** @@ -462,14 +462,14 @@ public interface CfnScheduleProps { * @param target The schedule's target details. */ override fun target(target: IResolvable) { - cdkBuilder.target(target.let(IResolvable::unwrap)) + cdkBuilder.target(target.let(IResolvable.Companion::unwrap)) } /** * @param target The schedule's target details. */ override fun target(target: CfnSchedule.TargetProperty) { - cdkBuilder.target(target.let(CfnSchedule.TargetProperty::unwrap)) + cdkBuilder.target(target.let(CfnSchedule.TargetProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sdb/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sdb/CfnDomain.kt index 8a0b0cf82a..f1871ec538 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sdb/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sdb/CfnDomain.kt @@ -38,7 +38,7 @@ public open class CfnDomain( cdkObject: software.amazon.awscdk.services.sdb.CfnDomain, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sdb.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sdb.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.sdb.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.sdb.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/AttachedSecretOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/AttachedSecretOptions.kt index 9f49fbac2b..4df25e05d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/AttachedSecretOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/AttachedSecretOptions.kt @@ -48,7 +48,7 @@ public interface AttachedSecretOptions { * @param target The target to attach the secret to. */ override fun target(target: ISecretAttachmentTarget) { - cdkBuilder.target(target.let(ISecretAttachmentTarget::unwrap)) + cdkBuilder.target(target.let(ISecretAttachmentTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.AttachedSecretOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicy.kt index 60263f5488..036cb5f706 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicy.kt @@ -59,8 +59,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.secretsmanager.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnResourcePolicy( * Specifies whether to block resource-based policies that allow broad access to the secret. */ public open fun blockPublicPolicy(`value`: IResolvable) { - unwrap(this).setBlockPublicPolicy(`value`.let(IResolvable::unwrap)) + unwrap(this).setBlockPublicPolicy(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnResourcePolicy( * access to the secret. */ override fun blockPublicPolicy(blockPublicPolicy: IResolvable) { - cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable::unwrap)) + cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicyProps.kt index 0c7dea6330..aa66decd3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnResourcePolicyProps.kt @@ -120,7 +120,7 @@ public interface CfnResourcePolicyProps { * use a wildcard for the principal. */ override fun blockPublicPolicy(blockPublicPolicy: IResolvable) { - cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable::unwrap)) + cdkBuilder.blockPublicPolicy(blockPublicPolicy.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationSchedule.kt index e56aa4a15d..0d2f988cd0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationSchedule.kt @@ -84,8 +84,8 @@ public open class CfnRotationSchedule( id: String, props: CfnRotationScheduleProps, ) : - this(software.amazon.awscdk.services.secretsmanager.CfnRotationSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRotationScheduleProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.CfnRotationSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRotationScheduleProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnRotationSchedule( * . To use a rotation function that already exists, specify `RotationLambdaARN` instead. */ public open fun hostedRotationLambda(`value`: IResolvable) { - unwrap(this).setHostedRotationLambda(`value`.let(IResolvable::unwrap)) + unwrap(this).setHostedRotationLambda(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnRotationSchedule( * . To use a rotation function that already exists, specify `RotationLambdaARN` instead. */ public open fun hostedRotationLambda(`value`: HostedRotationLambdaProperty) { - unwrap(this).setHostedRotationLambda(`value`.let(HostedRotationLambdaProperty::unwrap)) + unwrap(this).setHostedRotationLambda(`value`.let(HostedRotationLambdaProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnRotationSchedule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public open class CfnRotationSchedule( * window. */ public open fun rotateImmediatelyOnUpdate(`value`: IResolvable) { - unwrap(this).setRotateImmediatelyOnUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setRotateImmediatelyOnUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -187,14 +187,14 @@ public open class CfnRotationSchedule( * A structure that defines the rotation configuration for this secret. */ public open fun rotationRules(`value`: IResolvable) { - unwrap(this).setRotationRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRotationRules(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that defines the rotation configuration for this secret. */ public open fun rotationRules(`value`: RotationRulesProperty) { - unwrap(this).setRotationRules(`value`.let(RotationRulesProperty::unwrap)) + unwrap(this).setRotationRules(`value`.let(RotationRulesProperty.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CfnRotationSchedule( * . To use a rotation function that already exists, specify `RotationLambdaARN` instead. */ override fun hostedRotationLambda(hostedRotationLambda: IResolvable) { - cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(IResolvable::unwrap)) + cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(IResolvable.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public open class CfnRotationSchedule( * . To use a rotation function that already exists, specify `RotationLambdaARN` instead. */ override fun hostedRotationLambda(hostedRotationLambda: HostedRotationLambdaProperty) { - cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(HostedRotationLambdaProperty::unwrap)) + cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(HostedRotationLambdaProperty.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnRotationSchedule( * until the next scheduled rotation window. */ override fun rotateImmediatelyOnUpdate(rotateImmediatelyOnUpdate: IResolvable) { - cdkBuilder.rotateImmediatelyOnUpdate(rotateImmediatelyOnUpdate.let(IResolvable::unwrap)) + cdkBuilder.rotateImmediatelyOnUpdate(rotateImmediatelyOnUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class CfnRotationSchedule( * @param rotationRules A structure that defines the rotation configuration for this secret. */ override fun rotationRules(rotationRules: IResolvable) { - cdkBuilder.rotationRules(rotationRules.let(IResolvable::unwrap)) + cdkBuilder.rotationRules(rotationRules.let(IResolvable.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class CfnRotationSchedule( * @param rotationRules A structure that defines the rotation configuration for this secret. */ override fun rotationRules(rotationRules: RotationRulesProperty) { - cdkBuilder.rotationRules(rotationRules.let(RotationRulesProperty::unwrap)) + cdkBuilder.rotationRules(rotationRules.let(RotationRulesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationScheduleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationScheduleProps.kt index 63c8e574ce..8494d41ac7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationScheduleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnRotationScheduleProps.kt @@ -261,7 +261,7 @@ public interface CfnRotationScheduleProps { * . */ override fun hostedRotationLambda(hostedRotationLambda: IResolvable) { - cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(IResolvable::unwrap)) + cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public interface CfnRotationScheduleProps { */ override fun hostedRotationLambda(hostedRotationLambda: CfnRotationSchedule.HostedRotationLambdaProperty) { - cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(CfnRotationSchedule.HostedRotationLambdaProperty::unwrap)) + cdkBuilder.hostedRotationLambda(hostedRotationLambda.let(CfnRotationSchedule.HostedRotationLambdaProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public interface CfnRotationScheduleProps { * works](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html) . */ override fun rotateImmediatelyOnUpdate(rotateImmediatelyOnUpdate: IResolvable) { - cdkBuilder.rotateImmediatelyOnUpdate(rotateImmediatelyOnUpdate.let(IResolvable::unwrap)) + cdkBuilder.rotateImmediatelyOnUpdate(rotateImmediatelyOnUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -358,14 +358,14 @@ public interface CfnRotationScheduleProps { * @param rotationRules A structure that defines the rotation configuration for this secret. */ override fun rotationRules(rotationRules: IResolvable) { - cdkBuilder.rotationRules(rotationRules.let(IResolvable::unwrap)) + cdkBuilder.rotationRules(rotationRules.let(IResolvable.Companion::unwrap)) } /** * @param rotationRules A structure that defines the rotation configuration for this secret. */ override fun rotationRules(rotationRules: CfnRotationSchedule.RotationRulesProperty) { - cdkBuilder.rotationRules(rotationRules.let(CfnRotationSchedule.RotationRulesProperty::unwrap)) + cdkBuilder.rotationRules(rotationRules.let(CfnRotationSchedule.RotationRulesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecret.kt index 55e5a127bf..4cc57a32f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecret.kt @@ -92,7 +92,7 @@ public open class CfnSecret( cdkObject: software.amazon.awscdk.services.secretsmanager.CfnSecret, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.secretsmanager.CfnSecret(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.secretsmanager.CfnSecret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -101,8 +101,8 @@ public open class CfnSecret( id: String, props: CfnSecretProps, ) : - this(software.amazon.awscdk.services.secretsmanager.CfnSecret(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecretProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.CfnSecret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecretProps.Companion::unwrap)) ) public constructor( @@ -138,14 +138,14 @@ public open class CfnSecret( * A structure that specifies how to generate a password to encrypt and store in the secret. */ public open fun generateSecretString(`value`: IResolvable) { - unwrap(this).setGenerateSecretString(`value`.let(IResolvable::unwrap)) + unwrap(this).setGenerateSecretString(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that specifies how to generate a password to encrypt and store in the secret. */ public open fun generateSecretString(`value`: GenerateSecretStringProperty) { - unwrap(this).setGenerateSecretString(`value`.let(GenerateSecretStringProperty::unwrap)) + unwrap(this).setGenerateSecretString(`value`.let(GenerateSecretStringProperty.Companion::unwrap)) } /** @@ -162,7 +162,7 @@ public open class CfnSecret( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnSecret( * A custom type that specifies a `Region` and the `KmsKeyId` for a replica secret. */ public open fun replicaRegions(`value`: IResolvable) { - unwrap(this).setReplicaRegions(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicaRegions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnSecret( * A list of tags to attach to the secret. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CfnSecret( * and store in the secret. */ override fun generateSecretString(generateSecretString: IResolvable) { - cdkBuilder.generateSecretString(generateSecretString.let(IResolvable::unwrap)) + cdkBuilder.generateSecretString(generateSecretString.let(IResolvable.Companion::unwrap)) } /** @@ -536,7 +536,7 @@ public open class CfnSecret( * and store in the secret. */ override fun generateSecretString(generateSecretString: GenerateSecretStringProperty) { - cdkBuilder.generateSecretString(generateSecretString.let(GenerateSecretStringProperty::unwrap)) + cdkBuilder.generateSecretString(generateSecretString.let(GenerateSecretStringProperty.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnSecret( * replica secret. */ override fun replicaRegions(replicaRegions: IResolvable) { - cdkBuilder.replicaRegions(replicaRegions.let(IResolvable::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.let(IResolvable.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class CfnSecret( * @param tags A list of tags to attach to the secret. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1032,7 +1032,7 @@ public open class CfnSecret( * If you don't include this switch, the password can contain lowercase letters. */ override fun excludeLowercase(excludeLowercase: IResolvable) { - cdkBuilder.excludeLowercase(excludeLowercase.let(IResolvable::unwrap)) + cdkBuilder.excludeLowercase(excludeLowercase.let(IResolvable.Companion::unwrap)) } /** @@ -1048,7 +1048,7 @@ public open class CfnSecret( * If you don't include this switch, the password can contain numbers. */ override fun excludeNumbers(excludeNumbers: IResolvable) { - cdkBuilder.excludeNumbers(excludeNumbers.let(IResolvable::unwrap)) + cdkBuilder.excludeNumbers(excludeNumbers.let(IResolvable.Companion::unwrap)) } /** @@ -1068,7 +1068,7 @@ public open class CfnSecret( * include this switch, the password can contain punctuation. */ override fun excludePunctuation(excludePunctuation: IResolvable) { - cdkBuilder.excludePunctuation(excludePunctuation.let(IResolvable::unwrap)) + cdkBuilder.excludePunctuation(excludePunctuation.let(IResolvable.Companion::unwrap)) } /** @@ -1084,7 +1084,7 @@ public open class CfnSecret( * If you don't include this switch, the password can contain uppercase letters. */ override fun excludeUppercase(excludeUppercase: IResolvable) { - cdkBuilder.excludeUppercase(excludeUppercase.let(IResolvable::unwrap)) + cdkBuilder.excludeUppercase(excludeUppercase.let(IResolvable.Companion::unwrap)) } /** @@ -1110,7 +1110,7 @@ public open class CfnSecret( * If you include this switch, the password can contain space characters. */ override fun includeSpace(includeSpace: IResolvable) { - cdkBuilder.includeSpace(includeSpace.let(IResolvable::unwrap)) + cdkBuilder.includeSpace(includeSpace.let(IResolvable.Companion::unwrap)) } /** @@ -1138,7 +1138,7 @@ public open class CfnSecret( * type. */ override fun requireEachIncludedType(requireEachIncludedType: IResolvable) { - cdkBuilder.requireEachIncludedType(requireEachIncludedType.let(IResolvable::unwrap)) + cdkBuilder.requireEachIncludedType(requireEachIncludedType.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretProps.kt index b6991a4212..a72904c64b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretProps.kt @@ -386,7 +386,7 @@ public interface CfnSecretProps { * system you are generating a password for can support. */ override fun generateSecretString(generateSecretString: IResolvable) { - cdkBuilder.generateSecretString(generateSecretString.let(IResolvable::unwrap)) + cdkBuilder.generateSecretString(generateSecretString.let(IResolvable.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public interface CfnSecretProps { */ override fun generateSecretString(generateSecretString: CfnSecret.GenerateSecretStringProperty) { - cdkBuilder.generateSecretString(generateSecretString.let(CfnSecret.GenerateSecretStringProperty::unwrap)) + cdkBuilder.generateSecretString(generateSecretString.let(CfnSecret.GenerateSecretStringProperty.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface CfnSecretProps { * replica secret. */ override fun replicaRegions(replicaRegions: IResolvable) { - cdkBuilder.replicaRegions(replicaRegions.let(IResolvable::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.let(IResolvable.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public interface CfnSecretProps { * numbers representable in UTF-8, plus the following special characters: + - = . _ : / */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretTargetAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretTargetAttachment.kt index 8260bd2fd8..e5967369a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretTargetAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/CfnSecretTargetAttachment.kt @@ -50,8 +50,8 @@ public open class CfnSecretTargetAttachment( id: String, props: CfnSecretTargetAttachmentProps, ) : - this(software.amazon.awscdk.services.secretsmanager.CfnSecretTargetAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSecretTargetAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.CfnSecretTargetAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSecretTargetAttachmentProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnSecretTargetAttachment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/HostedRotation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/HostedRotation.kt index 1fd1b8d724..b682db0c4c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/HostedRotation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/HostedRotation.kt @@ -32,8 +32,8 @@ public open class HostedRotation( */ public open fun bind(secret: ISecret, scope: Construct): CfnRotationSchedule.HostedRotationLambdaProperty = - unwrap(this).bind(secret.let(ISecret::unwrap), - scope.let(Construct::unwrap)).let(CfnRotationSchedule.HostedRotationLambdaProperty::wrap) + unwrap(this).bind(secret.let(ISecret.Companion::unwrap), + scope.let(Construct.Companion::unwrap)).let(CfnRotationSchedule.HostedRotationLambdaProperty::wrap) /** * Security group connections for this hosted rotation. @@ -43,7 +43,7 @@ public open class HostedRotation( public companion object { public fun mariaDbMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.mariaDbMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.mariaDbMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3002ba3c057d780f5f230ee155f1bd8394c3946a82338315e17b4dbb3cab4339") @@ -54,7 +54,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.mariaDbSingleUser().let(HostedRotation::wrap) public fun mariaDbSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.mariaDbSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.mariaDbSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("04d8a183dce2a8c3dd0f2be8b9b90f1159712f25114bcf9d9612ffb60a12b59c") @@ -62,7 +62,7 @@ public open class HostedRotation( HostedRotation = mariaDbSingleUser(SingleUserHostedRotationOptions(options)) public fun mongoDbMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.mongoDbMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.mongoDbMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b9a49a7392bd9a389688f6cfdeaf323315412811e36d0561105cb52fb671b4af") @@ -73,7 +73,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.mongoDbSingleUser().let(HostedRotation::wrap) public fun mongoDbSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.mongoDbSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.mongoDbSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bb1dfab563e0d465e312bfbc98e135642c1dbcece3c4d7f606be5905024dd367") @@ -81,7 +81,7 @@ public open class HostedRotation( HostedRotation = mongoDbSingleUser(SingleUserHostedRotationOptions(options)) public fun mysqlMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.mysqlMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.mysqlMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ef08a292dd656ba5750fc7fe44ff294326a00ff79e8df540422c49f4af80bc0f") @@ -92,7 +92,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.mysqlSingleUser().let(HostedRotation::wrap) public fun mysqlSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.mysqlSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.mysqlSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a15eb47fd23534fbec4975df14df2e611b29b1a3503db18fd0a79f0e2360d24e") @@ -100,7 +100,7 @@ public open class HostedRotation( HostedRotation = mysqlSingleUser(SingleUserHostedRotationOptions(options)) public fun oracleMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.oracleMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.oracleMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("4704947991b9982baa6d992986ed5ac5f74307e8c9ce30486f9bbd86895d83a8") @@ -111,7 +111,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.oracleSingleUser().let(HostedRotation::wrap) public fun oracleSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.oracleSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.oracleSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("75eb56965428d474dd2d5f927b2632521452a1464ea2fcb7eb5b677082fc2028") @@ -119,7 +119,7 @@ public open class HostedRotation( HostedRotation = oracleSingleUser(SingleUserHostedRotationOptions(options)) public fun postgreSqlMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.postgreSqlMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.postgreSqlMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f517065d619120d5df3e2988fd2ff92b3cb464f8be0b14717884d0a6909fcb79") @@ -130,7 +130,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.postgreSqlSingleUser().let(HostedRotation::wrap) public fun postgreSqlSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.postgreSqlSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.postgreSqlSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3e08095bef618433265b1c58c798eb039c787c8829df4e6b40dfa143c9669ed7") @@ -138,7 +138,7 @@ public open class HostedRotation( HostedRotation = postgreSqlSingleUser(SingleUserHostedRotationOptions(options)) public fun redshiftMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.redshiftMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.redshiftMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("cbdaebd7eaaab8b1f40a51568da0b44cffe71c6ab3d887f06aa5ed08f10df911") @@ -149,7 +149,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.redshiftSingleUser().let(HostedRotation::wrap) public fun redshiftSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.redshiftSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.redshiftSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("d7b1bcc789190fb568b3b0d5cfff715861922d6104f8d9410634d1f09717f74c") @@ -157,7 +157,7 @@ public open class HostedRotation( HostedRotation = redshiftSingleUser(SingleUserHostedRotationOptions(options)) public fun sqlServerMultiUser(options: MultiUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.sqlServerMultiUser(options.let(MultiUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.sqlServerMultiUser(options.let(MultiUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("261b210863d3408985ea32018b394984055e33da2fa57965344770d233c64506") @@ -168,7 +168,7 @@ public open class HostedRotation( software.amazon.awscdk.services.secretsmanager.HostedRotation.sqlServerSingleUser().let(HostedRotation::wrap) public fun sqlServerSingleUser(options: SingleUserHostedRotationOptions): HostedRotation = - software.amazon.awscdk.services.secretsmanager.HostedRotation.sqlServerSingleUser(options.let(SingleUserHostedRotationOptions::unwrap)).let(HostedRotation::wrap) + software.amazon.awscdk.services.secretsmanager.HostedRotation.sqlServerSingleUser(options.let(SingleUserHostedRotationOptions.Companion::unwrap)).let(HostedRotation::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("81a8e5e6c16790b210ce96b6ffc7ac0dbd56e4d89e6226c0fa0169659d462b7f") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecret.kt index a4662711e5..9032818dcb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecret.kt @@ -160,7 +160,7 @@ public interface ISecret : IResource { */ override fun addRotationSchedule(id: String, options: RotationScheduleOptions): RotationSchedule = unwrap(this).addRotationSchedule(id, - options.let(RotationScheduleOptions::unwrap)).let(RotationSchedule::wrap) + options.let(RotationScheduleOptions.Companion::unwrap)).let(RotationSchedule::wrap) /** * Adds a rotation schedule to the secret. @@ -184,7 +184,7 @@ public interface ISecret : IResource { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this secret. @@ -214,7 +214,7 @@ public interface ISecret : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface ISecret : IResource { * @param target The target to attach. */ override fun attach(target: ISecretAttachmentTarget): ISecret = - unwrap(this).attach(target.let(ISecretAttachmentTarget::unwrap)).let(ISecret::wrap) + unwrap(this).attach(target.let(ISecretAttachmentTarget.Companion::unwrap)).let(ISecret::wrap) /** * Denies the `DeleteSecret` action to all principals within the current account. @@ -260,7 +260,7 @@ public interface ISecret : IResource { * @param versionStages the version stages the grant is limited to. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants reading the secret value to some role. @@ -269,7 +269,8 @@ public interface ISecret : IResource { * @param versionStages the version stages the grant is limited to. */ override fun grantRead(grantee: IGrantable, versionStages: List): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap), versionStages).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap), + versionStages).let(Grant::wrap) /** * Grants writing and updating the secret value to some role. @@ -277,7 +278,7 @@ public interface ISecret : IResource { * @param grantee the principal being granted permission. */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecretTargetAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecretTargetAttachment.kt index fdf8a2300b..9114f7bbf6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecretTargetAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ISecretTargetAttachment.kt @@ -39,7 +39,7 @@ public interface ISecretTargetAttachment : ISecret { */ override fun addRotationSchedule(id: String, options: RotationScheduleOptions): RotationSchedule = unwrap(this).addRotationSchedule(id, - options.let(RotationScheduleOptions::unwrap)).let(RotationSchedule::wrap) + options.let(RotationScheduleOptions.Companion::unwrap)).let(RotationSchedule::wrap) /** * Adds a rotation schedule to the secret. @@ -63,7 +63,7 @@ public interface ISecretTargetAttachment : ISecret { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this secret. @@ -93,7 +93,7 @@ public interface ISecretTargetAttachment : ISecret { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -103,7 +103,7 @@ public interface ISecretTargetAttachment : ISecret { * @param target The target to attach. */ override fun attach(target: ISecretAttachmentTarget): ISecret = - unwrap(this).attach(target.let(ISecretAttachmentTarget::unwrap)).let(ISecret::wrap) + unwrap(this).attach(target.let(ISecretAttachmentTarget.Companion::unwrap)).let(ISecret::wrap) /** * Denies the `DeleteSecret` action to all principals within the current account. @@ -139,7 +139,7 @@ public interface ISecretTargetAttachment : ISecret { * @param versionStages the version stages the grant is limited to. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants reading the secret value to some role. @@ -148,7 +148,8 @@ public interface ISecretTargetAttachment : ISecret { * @param versionStages the version stages the grant is limited to. */ override fun grantRead(grantee: IGrantable, versionStages: List): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap), versionStages).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap), + versionStages).let(Grant::wrap) /** * Grants writing and updating the secret value to some role. @@ -156,7 +157,7 @@ public interface ISecretTargetAttachment : ISecret { * @param grantee the principal being granted permission. */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/MultiUserHostedRotationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/MultiUserHostedRotationOptions.kt index cc95477ac3..375419b916 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/MultiUserHostedRotationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/MultiUserHostedRotationOptions.kt @@ -124,14 +124,14 @@ public interface MultiUserHostedRotationOptions : SingleUserHostedRotationOption * @param masterSecret The master secret for a multi user rotation scheme. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** * @param securityGroups A list of security groups for the Lambda created to rotate the secret. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -144,14 +144,14 @@ public interface MultiUserHostedRotationOptions : SingleUserHostedRotationOption * @param vpc The VPC where the Lambda rotation function will run. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets in the VPC where the Lambda rotation function will run. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ReplicaRegion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ReplicaRegion.kt index d4bef8a961..5309a85ff5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ReplicaRegion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ReplicaRegion.kt @@ -66,7 +66,7 @@ public interface ReplicaRegion { * value. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicy.kt index fbab63aaab..b9e0a3057d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicy.kt @@ -44,8 +44,8 @@ public open class ResourcePolicy( id: String, props: ResourcePolicyProps, ) : - this(software.amazon.awscdk.services.secretsmanager.ResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.ResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class ResourcePolicy( * @param secret The secret to attach a resource-based permissions policy. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.ResourcePolicy = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicyProps.kt index 1e977eee12..57470d3c0a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/ResourcePolicyProps.kt @@ -48,7 +48,7 @@ public interface ResourcePolicyProps { * @param secret The secret to attach a resource-based permissions policy. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.ResourcePolicyProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationSchedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationSchedule.kt index 744a424fc8..65b43e2370 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationSchedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationSchedule.kt @@ -44,8 +44,8 @@ public open class RotationSchedule( id: String, props: RotationScheduleProps, ) : - this(software.amazon.awscdk.services.secretsmanager.RotationSchedule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(RotationScheduleProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.RotationSchedule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(RotationScheduleProps.Companion::unwrap)) ) public constructor( @@ -154,7 +154,7 @@ public open class RotationSchedule( * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -165,7 +165,7 @@ public open class RotationSchedule( * @param hostedRotation Hosted rotation. */ override fun hostedRotation(hostedRotation: HostedRotation) { - cdkBuilder.hostedRotation(hostedRotation.let(HostedRotation::unwrap)) + cdkBuilder.hostedRotation(hostedRotation.let(HostedRotation.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public open class RotationSchedule( * @param rotationLambda A Lambda function that can rotate the secret. */ override fun rotationLambda(rotationLambda: IFunction) { - cdkBuilder.rotationLambda(rotationLambda.let(IFunction::unwrap)) + cdkBuilder.rotationLambda(rotationLambda.let(IFunction.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class RotationSchedule( * @param secret The secret to rotate. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.RotationSchedule = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleOptions.kt index 6fe42d6d2c..21e048a5f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleOptions.kt @@ -110,14 +110,14 @@ public interface RotationScheduleOptions { * A value of zero (`Duration.days(0)`) will not create RotationRules. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** * @param hostedRotation Hosted rotation. */ override fun hostedRotation(hostedRotation: HostedRotation) { - cdkBuilder.hostedRotation(hostedRotation.let(HostedRotation::unwrap)) + cdkBuilder.hostedRotation(hostedRotation.let(HostedRotation.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface RotationScheduleOptions { * @param rotationLambda A Lambda function that can rotate the secret. */ override fun rotationLambda(rotationLambda: IFunction) { - cdkBuilder.rotationLambda(rotationLambda.let(IFunction::unwrap)) + cdkBuilder.rotationLambda(rotationLambda.let(IFunction.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.RotationScheduleOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleProps.kt index bd225356a8..4953a444c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/RotationScheduleProps.kt @@ -128,14 +128,14 @@ public interface RotationScheduleProps : RotationScheduleOptions { * A value of zero (`Duration.days(0)`) will not create RotationRules. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** * @param hostedRotation Hosted rotation. */ override fun hostedRotation(hostedRotation: HostedRotation) { - cdkBuilder.hostedRotation(hostedRotation.let(HostedRotation::unwrap)) + cdkBuilder.hostedRotation(hostedRotation.let(HostedRotation.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface RotationScheduleProps : RotationScheduleOptions { * @param rotationLambda A Lambda function that can rotate the secret. */ override fun rotationLambda(rotationLambda: IFunction) { - cdkBuilder.rotationLambda(rotationLambda.let(IFunction::unwrap)) + cdkBuilder.rotationLambda(rotationLambda.let(IFunction.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public interface RotationScheduleProps : RotationScheduleOptions { * or an `ISecret` returned by the `attach()` method of `Secret`. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.RotationScheduleProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/Secret.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/Secret.kt index 4350d35fb9..9b878adb2e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/Secret.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/Secret.kt @@ -43,7 +43,7 @@ public open class Secret( cdkObject: software.amazon.awscdk.services.secretsmanager.Secret, ) : Resource(cdkObject), ISecret { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.secretsmanager.Secret(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.secretsmanager.Secret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class Secret( id: String, props: SecretProps, ) : - this(software.amazon.awscdk.services.secretsmanager.Secret(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SecretProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.Secret(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SecretProps.Companion::unwrap)) ) public constructor( @@ -82,7 +82,7 @@ public open class Secret( * value. */ public open fun addReplicaRegion(region: String, encryptionKey: IKey) { - unwrap(this).addReplicaRegion(region, encryptionKey.let(IKey::unwrap)) + unwrap(this).addReplicaRegion(region, encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public open class Secret( */ public override fun addRotationSchedule(id: String, options: RotationScheduleOptions): RotationSchedule = unwrap(this).addRotationSchedule(id, - options.let(RotationScheduleOptions::unwrap)).let(RotationSchedule::wrap) + options.let(RotationScheduleOptions.Companion::unwrap)).let(RotationSchedule::wrap) /** * Adds a rotation schedule to the secret. @@ -117,7 +117,7 @@ public open class Secret( * @param statement */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this secret. @@ -140,7 +140,7 @@ public open class Secret( * @param target The target to attach. */ public override fun attach(target: ISecretAttachmentTarget): ISecret = - unwrap(this).attach(target.let(ISecretAttachmentTarget::unwrap)).let(ISecret::wrap) + unwrap(this).attach(target.let(ISecretAttachmentTarget.Companion::unwrap)).let(ISecret::wrap) /** * Denies the `DeleteSecret` action to all principals within the current account. @@ -169,7 +169,7 @@ public open class Secret( * @param versionStages */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants reading the secret value to some role. @@ -178,7 +178,8 @@ public open class Secret( * @param versionStages */ public override fun grantRead(grantee: IGrantable, versionStages: List): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap), versionStages).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap), + versionStages).let(Grant::wrap) /** * Grants writing and updating the secret value to some role. @@ -186,7 +187,7 @@ public open class Secret( * @param grantee */ public override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the secret in AWS Secrets Manager. @@ -440,7 +441,7 @@ public open class Secret( * value. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -455,7 +456,7 @@ public open class Secret( * @param generateSecretString Configuration for how to generate a secret value. */ override fun generateSecretString(generateSecretString: SecretStringGenerator) { - cdkBuilder.generateSecretString(generateSecretString.let(SecretStringGenerator::unwrap)) + cdkBuilder.generateSecretString(generateSecretString.let(SecretStringGenerator.Companion::unwrap)) } /** @@ -483,7 +484,7 @@ public open class Secret( * @param removalPolicy Policy to apply when the secret is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -494,7 +495,7 @@ public open class Secret( * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** @@ -590,7 +591,7 @@ public open class Secret( */ @Deprecated(message = "deprecated in CDK") override fun secretStringBeta1(secretStringBeta1: SecretStringValueBeta1) { - cdkBuilder.secretStringBeta1(secretStringBeta1.let(SecretStringValueBeta1::unwrap)) + cdkBuilder.secretStringBeta1(secretStringBeta1.let(SecretStringValueBeta1.Companion::unwrap)) } /** @@ -618,7 +619,7 @@ public open class Secret( * @param secretStringValue Initial value for the secret. */ override fun secretStringValue(secretStringValue: SecretValue) { - cdkBuilder.secretStringValue(secretStringValue.let(SecretValue::unwrap)) + cdkBuilder.secretStringValue(secretStringValue.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.Secret = cdkBuilder.build() @@ -630,8 +631,8 @@ public open class Secret( id: String, attrs: SecretAttributes, ): ISecret = - software.amazon.awscdk.services.secretsmanager.Secret.fromSecretAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(SecretAttributes::unwrap)).let(ISecret::wrap) + software.amazon.awscdk.services.secretsmanager.Secret.fromSecretAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(SecretAttributes.Companion::unwrap)).let(ISecret::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("bcc9143f7f368629afa8c68f5cc797692785ded40710919292c6e0847b43e61e") @@ -646,7 +647,7 @@ public open class Secret( id: String, secretCompleteArn: String, ): ISecret = - software.amazon.awscdk.services.secretsmanager.Secret.fromSecretCompleteArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.secretsmanager.Secret.fromSecretCompleteArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, secretCompleteArn).let(ISecret::wrap) public fun fromSecretNameV2( @@ -654,7 +655,7 @@ public open class Secret( id: String, secretName: String, ): ISecret = - software.amazon.awscdk.services.secretsmanager.Secret.fromSecretNameV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.secretsmanager.Secret.fromSecretNameV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, secretName).let(ISecret::wrap) public fun fromSecretPartialArn( @@ -662,7 +663,7 @@ public open class Secret( id: String, secretPartialArn: String, ): ISecret = - software.amazon.awscdk.services.secretsmanager.Secret.fromSecretPartialArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.secretsmanager.Secret.fromSecretPartialArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, secretPartialArn).let(ISecret::wrap) public fun isSecret(x: Any): Boolean = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttachmentTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttachmentTargetProps.kt index 288059c54d..b85f310488 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttachmentTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttachmentTargetProps.kt @@ -66,7 +66,7 @@ public interface SecretAttachmentTargetProps { * @param targetType The type of the target to attach the secret to. */ override fun targetType(targetType: AttachmentTargetType) { - cdkBuilder.targetType(targetType.let(AttachmentTargetType::unwrap)) + cdkBuilder.targetType(targetType.let(AttachmentTargetType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.SecretAttachmentTargetProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttributes.kt index 40dc8b7a10..844ac18c3b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretAttributes.kt @@ -88,7 +88,7 @@ public interface SecretAttributes { * default SecretsManager key is used. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretProps.kt index 14a2a9a8ae..365c87a3de 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretProps.kt @@ -310,7 +310,7 @@ public interface SecretProps { * value. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface SecretProps { * Only one of `secretString` and `generateSecretString` can be provided. */ override fun generateSecretString(generateSecretString: SecretStringGenerator) { - cdkBuilder.generateSecretString(generateSecretString.let(SecretStringGenerator::unwrap)) + cdkBuilder.generateSecretString(generateSecretString.let(SecretStringGenerator.Companion::unwrap)) } /** @@ -335,14 +335,14 @@ public interface SecretProps { * @param removalPolicy Policy to apply when the secret is removed from this stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param replicaRegions A list of regions where to replicate this secret. */ override fun replicaRegions(replicaRegions: List) { - cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion::unwrap)) + cdkBuilder.replicaRegions(replicaRegions.map(ReplicaRegion.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface SecretProps { */ @Deprecated(message = "deprecated in CDK") override fun secretStringBeta1(secretStringBeta1: SecretStringValueBeta1) { - cdkBuilder.secretStringBeta1(secretStringBeta1.let(SecretStringValueBeta1::unwrap)) + cdkBuilder.secretStringBeta1(secretStringBeta1.let(SecretStringValueBeta1.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface SecretProps { * `generateSecretString` can be provided. */ override fun secretStringValue(secretStringValue: SecretValue) { - cdkBuilder.secretStringValue(secretStringValue.let(SecretValue::unwrap)) + cdkBuilder.secretStringValue(secretStringValue.let(SecretValue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.SecretProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotation.kt index c6c140413f..ff61615f2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotation.kt @@ -43,8 +43,8 @@ public open class SecretRotation( id: String, props: SecretRotationProps, ) : - this(software.amazon.awscdk.services.secretsmanager.SecretRotation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SecretRotationProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.SecretRotation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SecretRotationProps.Companion::unwrap)) ) public constructor( @@ -204,7 +204,7 @@ public open class SecretRotation( * @param application The serverless application for the rotation. */ override fun application(application: SecretRotationApplication) { - cdkBuilder.application(application.let(SecretRotationApplication::unwrap)) + cdkBuilder.application(application.let(SecretRotationApplication.Companion::unwrap)) } /** @@ -217,7 +217,7 @@ public open class SecretRotation( * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public open class SecretRotation( * @param endpoint The VPC interface endpoint to use for the Secrets Manager API. */ override fun endpoint(endpoint: IInterfaceVpcEndpoint) { - cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint::unwrap)) + cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class SecretRotation( * @param masterSecret The master secret for a multi user rotation scheme. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class SecretRotation( * @param secret The secret to rotate. It must be a JSON string with the following format:. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class SecretRotation( * @param securityGroup The security group for the Lambda rotation function. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class SecretRotation( * @param target The target service or database. */ override fun target(target: IConnectable) { - cdkBuilder.target(target.let(IConnectable::unwrap)) + cdkBuilder.target(target.let(IConnectable.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public open class SecretRotation( * @param vpc The VPC where the Lambda rotation function will run. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class SecretRotation( * */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationApplication.kt index 7a35c86a45..21f0a05414 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationApplication.kt @@ -40,7 +40,7 @@ public open class SecretRotationApplication( semanticVersion: String, options: SecretRotationApplicationOptions, ) : this(software.amazon.awscdk.services.secretsmanager.SecretRotationApplication(applicationId, - semanticVersion, options.let(SecretRotationApplicationOptions::unwrap)) + semanticVersion, options.let(SecretRotationApplicationOptions.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationProps.kt index e08dce0662..7960b2febc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretRotationProps.kt @@ -234,7 +234,7 @@ public interface SecretRotationProps { * @param application The serverless application for the rotation. */ override fun application(application: SecretRotationApplication) { - cdkBuilder.application(application.let(SecretRotationApplication::unwrap)) + cdkBuilder.application(application.let(SecretRotationApplication.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface SecretRotationProps { * Secrets Manager triggers the next automatic rotation. */ override fun automaticallyAfter(automaticallyAfter: Duration) { - cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration::unwrap)) + cdkBuilder.automaticallyAfter(automaticallyAfter.let(Duration.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface SecretRotationProps { * resolves to your VPC endpoint. */ override fun endpoint(endpoint: IInterfaceVpcEndpoint) { - cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint::unwrap)) + cdkBuilder.endpoint(endpoint.let(IInterfaceVpcEndpoint.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface SecretRotationProps { * @param masterSecret The master secret for a multi user rotation scheme. */ override fun masterSecret(masterSecret: ISecret) { - cdkBuilder.masterSecret(masterSecret.let(ISecret::unwrap)) + cdkBuilder.masterSecret(masterSecret.let(ISecret.Companion::unwrap)) } /** @@ -298,35 +298,35 @@ public interface SecretRotationProps { * or an `ISecret` returned by the `attach()` method of `Secret`. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param securityGroup The security group for the Lambda rotation function. */ override fun securityGroup(securityGroup: ISecurityGroup) { - cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup::unwrap)) + cdkBuilder.securityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** * @param target The target service or database. */ override fun target(target: IConnectable) { - cdkBuilder.target(target.let(IConnectable::unwrap)) + cdkBuilder.target(target.let(IConnectable.Companion::unwrap)) } /** * @param vpc The VPC where the Lambda rotation function will run. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets in the VPC where the Lambda rotation function will run. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachment.kt index d72ae74da2..44bb4a9be8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachment.kt @@ -43,8 +43,8 @@ public open class SecretTargetAttachment( id: String, props: SecretTargetAttachmentProps, ) : - this(software.amazon.awscdk.services.secretsmanager.SecretTargetAttachment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SecretTargetAttachmentProps::unwrap)) + this(software.amazon.awscdk.services.secretsmanager.SecretTargetAttachment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SecretTargetAttachmentProps.Companion::unwrap)) ) public constructor( @@ -62,7 +62,7 @@ public open class SecretTargetAttachment( */ public override fun addRotationSchedule(id: String, options: RotationScheduleOptions): RotationSchedule = unwrap(this).addRotationSchedule(id, - options.let(RotationScheduleOptions::unwrap)).let(RotationSchedule::wrap) + options.let(RotationScheduleOptions.Companion::unwrap)).let(RotationSchedule::wrap) /** * Adds a rotation schedule to the secret. @@ -87,7 +87,7 @@ public open class SecretTargetAttachment( * @param statement */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Forward any additions to the resource policy to the original secret. @@ -111,7 +111,7 @@ public open class SecretTargetAttachment( * @param target The target to attach. */ public override fun attach(target: ISecretAttachmentTarget): ISecret = - unwrap(this).attach(target.let(ISecretAttachmentTarget::unwrap)).let(ISecret::wrap) + unwrap(this).attach(target.let(ISecretAttachmentTarget.Companion::unwrap)).let(ISecret::wrap) /** * Denies the `DeleteSecret` action to all principals within the current account. @@ -135,7 +135,7 @@ public open class SecretTargetAttachment( * @param versionStages */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants reading the secret value to some role. @@ -144,7 +144,8 @@ public open class SecretTargetAttachment( * @param versionStages */ public override fun grantRead(grantee: IGrantable, versionStages: List): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap), versionStages).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap), + versionStages).let(Grant::wrap) /** * Grants writing and updating the secret value to some role. @@ -152,7 +153,7 @@ public open class SecretTargetAttachment( * @param grantee */ public override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the secret in AWS Secrets Manager. @@ -234,7 +235,7 @@ public open class SecretTargetAttachment( * @param secret The secret to attach to the target. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** @@ -243,7 +244,7 @@ public open class SecretTargetAttachment( * @param target The target to attach the secret to. */ override fun target(target: ISecretAttachmentTarget) { - cdkBuilder.target(target.let(ISecretAttachmentTarget::unwrap)) + cdkBuilder.target(target.let(ISecretAttachmentTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.SecretTargetAttachment = @@ -256,7 +257,7 @@ public open class SecretTargetAttachment( id: String, secretTargetAttachmentSecretArn: String, ): ISecretTargetAttachment = - software.amazon.awscdk.services.secretsmanager.SecretTargetAttachment.fromSecretTargetAttachmentSecretArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.secretsmanager.SecretTargetAttachment.fromSecretTargetAttachmentSecretArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, secretTargetAttachmentSecretArn).let(ISecretTargetAttachment::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachmentProps.kt index cd545f6244..eea738e8a7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SecretTargetAttachmentProps.kt @@ -55,14 +55,14 @@ public interface SecretTargetAttachmentProps : AttachedSecretOptions { * @param secret The secret to attach to the target. */ override fun secret(secret: ISecret) { - cdkBuilder.secret(secret.let(ISecret::unwrap)) + cdkBuilder.secret(secret.let(ISecret.Companion::unwrap)) } /** * @param target The target to attach the secret to. */ override fun target(target: ISecretAttachmentTarget) { - cdkBuilder.target(target.let(ISecretAttachmentTarget::unwrap)) + cdkBuilder.target(target.let(ISecretAttachmentTarget.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.secretsmanager.SecretTargetAttachmentProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SingleUserHostedRotationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SingleUserHostedRotationOptions.kt index f5e9877439..efd3860985 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SingleUserHostedRotationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/secretsmanager/SingleUserHostedRotationOptions.kt @@ -134,7 +134,7 @@ public interface SingleUserHostedRotationOptions { * @param securityGroups A list of security groups for the Lambda created to rotate the secret. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public interface SingleUserHostedRotationOptions { * @param vpc The VPC where the Lambda rotation function will run. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** * @param vpcSubnets The type of subnets in the VPC where the Lambda rotation function will run. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRule.kt index 65a66987ac..7a99b626b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRule.kt @@ -250,7 +250,7 @@ public open class CfnAutomationRule( cdkObject: software.amazon.awscdk.services.securityhub.CfnAutomationRule, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.securityhub.CfnAutomationRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.securityhub.CfnAutomationRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -259,8 +259,8 @@ public open class CfnAutomationRule( id: String, props: CfnAutomationRuleProps, ) : - this(software.amazon.awscdk.services.securityhub.CfnAutomationRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAutomationRuleProps::unwrap)) + this(software.amazon.awscdk.services.securityhub.CfnAutomationRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAutomationRuleProps.Companion::unwrap)) ) public constructor( @@ -281,7 +281,7 @@ public open class CfnAutomationRule( * `Criteria` . */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class CfnAutomationRule( * Security Hub applies the rule action to the finding. */ public open fun criteria(`value`: IResolvable) { - unwrap(this).setCriteria(`value`.let(IResolvable::unwrap)) + unwrap(this).setCriteria(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public open class CfnAutomationRule( * Security Hub applies the rule action to the finding. */ public open fun criteria(`value`: AutomationRulesFindingFiltersProperty) { - unwrap(this).setCriteria(`value`.let(AutomationRulesFindingFiltersProperty::unwrap)) + unwrap(this).setCriteria(`value`.let(AutomationRulesFindingFiltersProperty.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnAutomationRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnAutomationRule( * rule criteria. */ public open fun isTerminal(`value`: IResolvable) { - unwrap(this).setIsTerminal(`value`.let(IResolvable::unwrap)) + unwrap(this).setIsTerminal(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public open class CfnAutomationRule( * conditions specified in `Criteria` . */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class CfnAutomationRule( * Security Hub applies the rule action to the finding. */ override fun criteria(criteria: IResolvable) { - cdkBuilder.criteria(criteria.let(IResolvable::unwrap)) + cdkBuilder.criteria(criteria.let(IResolvable.Companion::unwrap)) } /** @@ -711,7 +711,7 @@ public open class CfnAutomationRule( * Security Hub applies the rule action to the finding. */ override fun criteria(criteria: AutomationRulesFindingFiltersProperty) { - cdkBuilder.criteria(criteria.let(AutomationRulesFindingFiltersProperty::unwrap)) + cdkBuilder.criteria(criteria.let(AutomationRulesFindingFiltersProperty.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class CfnAutomationRule( * finding that matches the rule criteria. */ override fun isTerminal(isTerminal: IResolvable) { - cdkBuilder.isTerminal(isTerminal.let(IResolvable::unwrap)) + cdkBuilder.isTerminal(isTerminal.let(IResolvable.Companion::unwrap)) } /** @@ -961,7 +961,7 @@ public open class CfnAutomationRule( * finding field. */ override fun findingFieldsUpdate(findingFieldsUpdate: IResolvable) { - cdkBuilder.findingFieldsUpdate(findingFieldsUpdate.let(IResolvable::unwrap)) + cdkBuilder.findingFieldsUpdate(findingFieldsUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -970,7 +970,7 @@ public open class CfnAutomationRule( */ override fun findingFieldsUpdate(findingFieldsUpdate: AutomationRulesFindingFieldsUpdateProperty) { - cdkBuilder.findingFieldsUpdate(findingFieldsUpdate.let(AutomationRulesFindingFieldsUpdateProperty::unwrap)) + cdkBuilder.findingFieldsUpdate(findingFieldsUpdate.let(AutomationRulesFindingFieldsUpdateProperty.Companion::unwrap)) } /** @@ -1283,14 +1283,14 @@ public open class CfnAutomationRule( * @param note The rule action will update the `Note` field of a finding. */ override fun note(note: IResolvable) { - cdkBuilder.note(note.let(IResolvable::unwrap)) + cdkBuilder.note(note.let(IResolvable.Companion::unwrap)) } /** * @param note The rule action will update the `Note` field of a finding. */ override fun note(note: NoteUpdateProperty) { - cdkBuilder.note(note.let(NoteUpdateProperty::unwrap)) + cdkBuilder.note(note.let(NoteUpdateProperty.Companion::unwrap)) } /** @@ -1306,7 +1306,7 @@ public open class CfnAutomationRule( * finding. */ override fun relatedFindings(relatedFindings: IResolvable) { - cdkBuilder.relatedFindings(relatedFindings.let(IResolvable::unwrap)) + cdkBuilder.relatedFindings(relatedFindings.let(IResolvable.Companion::unwrap)) } /** @@ -1328,14 +1328,14 @@ public open class CfnAutomationRule( * @param severity The rule action will update the `Severity` field of a finding. */ override fun severity(severity: IResolvable) { - cdkBuilder.severity(severity.let(IResolvable::unwrap)) + cdkBuilder.severity(severity.let(IResolvable.Companion::unwrap)) } /** * @param severity The rule action will update the `Severity` field of a finding. */ override fun severity(severity: SeverityUpdateProperty) { - cdkBuilder.severity(severity.let(SeverityUpdateProperty::unwrap)) + cdkBuilder.severity(severity.let(SeverityUpdateProperty.Companion::unwrap)) } /** @@ -1363,7 +1363,7 @@ public open class CfnAutomationRule( * finding. */ override fun userDefinedFields(userDefinedFields: IResolvable) { - cdkBuilder.userDefinedFields(userDefinedFields.let(IResolvable::unwrap)) + cdkBuilder.userDefinedFields(userDefinedFields.let(IResolvable.Companion::unwrap)) } /** @@ -1386,14 +1386,14 @@ public open class CfnAutomationRule( * @param workflow The rule action will update the `Workflow` field of a finding. */ override fun workflow(workflow: IResolvable) { - cdkBuilder.workflow(workflow.let(IResolvable::unwrap)) + cdkBuilder.workflow(workflow.let(IResolvable.Companion::unwrap)) } /** * @param workflow The rule action will update the `Workflow` field of a finding. */ override fun workflow(workflow: WorkflowUpdateProperty) { - cdkBuilder.workflow(workflow.let(WorkflowUpdateProperty::unwrap)) + cdkBuilder.workflow(workflow.let(WorkflowUpdateProperty.Companion::unwrap)) } /** @@ -3043,7 +3043,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 100 items. */ override fun awsAccountId(awsAccountId: IResolvable) { - cdkBuilder.awsAccountId(awsAccountId.let(IResolvable::unwrap)) + cdkBuilder.awsAccountId(awsAccountId.let(IResolvable.Companion::unwrap)) } /** @@ -3068,7 +3068,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun companyName(companyName: IResolvable) { - cdkBuilder.companyName(companyName.let(IResolvable::unwrap)) + cdkBuilder.companyName(companyName.let(IResolvable.Companion::unwrap)) } /** @@ -3100,7 +3100,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun complianceAssociatedStandardsId(complianceAssociatedStandardsId: IResolvable) { - cdkBuilder.complianceAssociatedStandardsId(complianceAssociatedStandardsId.let(IResolvable::unwrap)) + cdkBuilder.complianceAssociatedStandardsId(complianceAssociatedStandardsId.let(IResolvable.Companion::unwrap)) } /** @@ -3136,7 +3136,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun complianceSecurityControlId(complianceSecurityControlId: IResolvable) { - cdkBuilder.complianceSecurityControlId(complianceSecurityControlId.let(IResolvable::unwrap)) + cdkBuilder.complianceSecurityControlId(complianceSecurityControlId.let(IResolvable.Companion::unwrap)) } /** @@ -3162,7 +3162,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun complianceStatus(complianceStatus: IResolvable) { - cdkBuilder.complianceStatus(complianceStatus.let(IResolvable::unwrap)) + cdkBuilder.complianceStatus(complianceStatus.let(IResolvable.Companion::unwrap)) } /** @@ -3195,7 +3195,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun confidence(confidence: IResolvable) { - cdkBuilder.confidence(confidence.let(IResolvable::unwrap)) + cdkBuilder.confidence(confidence.let(IResolvable.Companion::unwrap)) } /** @@ -3244,7 +3244,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun createdAt(createdAt: IResolvable) { - cdkBuilder.createdAt(createdAt.let(IResolvable::unwrap)) + cdkBuilder.createdAt(createdAt.let(IResolvable.Companion::unwrap)) } /** @@ -3295,7 +3295,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun criticality(criticality: IResolvable) { - cdkBuilder.criticality(criticality.let(IResolvable::unwrap)) + cdkBuilder.criticality(criticality.let(IResolvable.Companion::unwrap)) } /** @@ -3331,7 +3331,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun description(description: IResolvable) { - cdkBuilder.description(description.let(IResolvable::unwrap)) + cdkBuilder.description(description.let(IResolvable.Companion::unwrap)) } /** @@ -3365,7 +3365,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun firstObservedAt(firstObservedAt: IResolvable) { - cdkBuilder.firstObservedAt(firstObservedAt.let(IResolvable::unwrap)) + cdkBuilder.firstObservedAt(firstObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -3413,7 +3413,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 100 items. */ override fun generatorId(generatorId: IResolvable) { - cdkBuilder.generatorId(generatorId.let(IResolvable::unwrap)) + cdkBuilder.generatorId(generatorId.let(IResolvable.Companion::unwrap)) } /** @@ -3437,7 +3437,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** @@ -3471,7 +3471,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun lastObservedAt(lastObservedAt: IResolvable) { - cdkBuilder.lastObservedAt(lastObservedAt.let(IResolvable::unwrap)) + cdkBuilder.lastObservedAt(lastObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -3518,7 +3518,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun noteText(noteText: IResolvable) { - cdkBuilder.noteText(noteText.let(IResolvable::unwrap)) + cdkBuilder.noteText(noteText.let(IResolvable.Companion::unwrap)) } /** @@ -3551,7 +3551,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun noteUpdatedAt(noteUpdatedAt: IResolvable) { - cdkBuilder.noteUpdatedAt(noteUpdatedAt.let(IResolvable::unwrap)) + cdkBuilder.noteUpdatedAt(noteUpdatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -3596,7 +3596,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun noteUpdatedBy(noteUpdatedBy: IResolvable) { - cdkBuilder.noteUpdatedBy(noteUpdatedBy.let(IResolvable::unwrap)) + cdkBuilder.noteUpdatedBy(noteUpdatedBy.let(IResolvable.Companion::unwrap)) } /** @@ -3620,7 +3620,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun productArn(productArn: IResolvable) { - cdkBuilder.productArn(productArn.let(IResolvable::unwrap)) + cdkBuilder.productArn(productArn.let(IResolvable.Companion::unwrap)) } /** @@ -3645,7 +3645,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun productName(productName: IResolvable) { - cdkBuilder.productName(productName.let(IResolvable::unwrap)) + cdkBuilder.productName(productName.let(IResolvable.Companion::unwrap)) } /** @@ -3669,7 +3669,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun recordState(recordState: IResolvable) { - cdkBuilder.recordState(recordState.let(IResolvable::unwrap)) + cdkBuilder.recordState(recordState.let(IResolvable.Companion::unwrap)) } /** @@ -3691,7 +3691,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun relatedFindingsId(relatedFindingsId: IResolvable) { - cdkBuilder.relatedFindingsId(relatedFindingsId.let(IResolvable::unwrap)) + cdkBuilder.relatedFindingsId(relatedFindingsId.let(IResolvable.Companion::unwrap)) } /** @@ -3714,7 +3714,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun relatedFindingsProductArn(relatedFindingsProductArn: IResolvable) { - cdkBuilder.relatedFindingsProductArn(relatedFindingsProductArn.let(IResolvable::unwrap)) + cdkBuilder.relatedFindingsProductArn(relatedFindingsProductArn.let(IResolvable.Companion::unwrap)) } /** @@ -3738,7 +3738,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun resourceDetailsOther(resourceDetailsOther: IResolvable) { - cdkBuilder.resourceDetailsOther(resourceDetailsOther.let(IResolvable::unwrap)) + cdkBuilder.resourceDetailsOther(resourceDetailsOther.let(IResolvable.Companion::unwrap)) } /** @@ -3768,7 +3768,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 100 items. */ override fun resourceId(resourceId: IResolvable) { - cdkBuilder.resourceId(resourceId.let(IResolvable::unwrap)) + cdkBuilder.resourceId(resourceId.let(IResolvable.Companion::unwrap)) } /** @@ -3803,7 +3803,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun resourcePartition(resourcePartition: IResolvable) { - cdkBuilder.resourcePartition(resourcePartition.let(IResolvable::unwrap)) + cdkBuilder.resourcePartition(resourcePartition.let(IResolvable.Companion::unwrap)) } /** @@ -3833,7 +3833,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun resourceRegion(resourceRegion: IResolvable) { - cdkBuilder.resourceRegion(resourceRegion.let(IResolvable::unwrap)) + cdkBuilder.resourceRegion(resourceRegion.let(IResolvable.Companion::unwrap)) } /** @@ -3859,7 +3859,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -3884,7 +3884,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 100 items. */ override fun resourceType(resourceType: IResolvable) { - cdkBuilder.resourceType(resourceType.let(IResolvable::unwrap)) + cdkBuilder.resourceType(resourceType.let(IResolvable.Companion::unwrap)) } /** @@ -3907,7 +3907,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun severityLabel(severityLabel: IResolvable) { - cdkBuilder.severityLabel(severityLabel.let(IResolvable::unwrap)) + cdkBuilder.severityLabel(severityLabel.let(IResolvable.Companion::unwrap)) } /** @@ -3931,7 +3931,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun sourceUrl(sourceUrl: IResolvable) { - cdkBuilder.sourceUrl(sourceUrl.let(IResolvable::unwrap)) + cdkBuilder.sourceUrl(sourceUrl.let(IResolvable.Companion::unwrap)) } /** @@ -3955,7 +3955,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 100 items. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** @@ -3982,7 +3982,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun type(type: IResolvable) { - cdkBuilder.type(type.let(IResolvable::unwrap)) + cdkBuilder.type(type.let(IResolvable.Companion::unwrap)) } /** @@ -4026,7 +4026,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun updatedAt(updatedAt: IResolvable) { - cdkBuilder.updatedAt(updatedAt.let(IResolvable::unwrap)) + cdkBuilder.updatedAt(updatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -4073,7 +4073,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun userDefinedFields(userDefinedFields: IResolvable) { - cdkBuilder.userDefinedFields(userDefinedFields.let(IResolvable::unwrap)) + cdkBuilder.userDefinedFields(userDefinedFields.let(IResolvable.Companion::unwrap)) } /** @@ -4098,7 +4098,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun verificationState(verificationState: IResolvable) { - cdkBuilder.verificationState(verificationState.let(IResolvable::unwrap)) + cdkBuilder.verificationState(verificationState.let(IResolvable.Companion::unwrap)) } /** @@ -4122,7 +4122,7 @@ public open class CfnAutomationRule( * Array Members: Minimum number of 1 item. Maximum number of 20 items. */ override fun workflowStatus(workflowStatus: IResolvable) { - cdkBuilder.workflowStatus(workflowStatus.let(IResolvable::unwrap)) + cdkBuilder.workflowStatus(workflowStatus.let(IResolvable.Companion::unwrap)) } /** @@ -4707,14 +4707,14 @@ public open class CfnAutomationRule( * @param dateRange A date range for the date filter. */ override fun dateRange(dateRange: IResolvable) { - cdkBuilder.dateRange(dateRange.let(IResolvable::unwrap)) + cdkBuilder.dateRange(dateRange.let(IResolvable.Companion::unwrap)) } /** * @param dateRange A date range for the date filter. */ override fun dateRange(dateRange: DateRangeProperty) { - cdkBuilder.dateRange(dateRange.let(DateRangeProperty::unwrap)) + cdkBuilder.dateRange(dateRange.let(DateRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRuleProps.kt index e69eaa995b..f6fa3d76cf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnAutomationRuleProps.kt @@ -420,7 +420,7 @@ public interface CfnAutomationRuleProps { * conditions specified in `Criteria` . */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public interface CfnAutomationRuleProps { * Security Hub applies the rule action to the finding. */ override fun criteria(criteria: IResolvable) { - cdkBuilder.criteria(criteria.let(IResolvable::unwrap)) + cdkBuilder.criteria(criteria.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface CfnAutomationRuleProps { * Security Hub applies the rule action to the finding. */ override fun criteria(criteria: CfnAutomationRule.AutomationRulesFindingFiltersProperty) { - cdkBuilder.criteria(criteria.let(CfnAutomationRule.AutomationRulesFindingFiltersProperty::unwrap)) + cdkBuilder.criteria(criteria.let(CfnAutomationRule.AutomationRulesFindingFiltersProperty.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public interface CfnAutomationRuleProps { * isn't terminal. */ override fun isTerminal(isTerminal: IResolvable) { - cdkBuilder.isTerminal(isTerminal.let(IResolvable::unwrap)) + cdkBuilder.isTerminal(isTerminal.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnDelegatedAdmin.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnDelegatedAdmin.kt index 5246624968..351e692fc1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnDelegatedAdmin.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnDelegatedAdmin.kt @@ -54,8 +54,8 @@ public open class CfnDelegatedAdmin( id: String, props: CfnDelegatedAdminProps, ) : - this(software.amazon.awscdk.services.securityhub.CfnDelegatedAdmin(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDelegatedAdminProps::unwrap)) + this(software.amazon.awscdk.services.securityhub.CfnDelegatedAdmin(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDelegatedAdminProps.Companion::unwrap)) ) public constructor( @@ -97,7 +97,7 @@ public open class CfnDelegatedAdmin( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHub.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHub.kt index 4a7166ea47..8130f1e331 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHub.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHub.kt @@ -59,7 +59,7 @@ public open class CfnHub( cdkObject: software.amazon.awscdk.services.securityhub.CfnHub, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.securityhub.CfnHub(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.securityhub.CfnHub(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -68,8 +68,8 @@ public open class CfnHub( id: String, props: CfnHubProps, ) : - this(software.amazon.awscdk.services.securityhub.CfnHub(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHubProps::unwrap)) + this(software.amazon.awscdk.services.securityhub.CfnHub(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHubProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnHub( * Whether to automatically enable new controls when they are added to standards that are enabled. */ public open fun autoEnableControls(`value`: IResolvable) { - unwrap(this).setAutoEnableControls(`value`.let(IResolvable::unwrap)) + unwrap(this).setAutoEnableControls(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnHub( * enabled. */ public open fun enableDefaultStandards(`value`: IResolvable) { - unwrap(this).setEnableDefaultStandards(`value`.let(IResolvable::unwrap)) + unwrap(this).setEnableDefaultStandards(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnHub( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnHub( * standards that are enabled. */ override fun autoEnableControls(autoEnableControls: IResolvable) { - cdkBuilder.autoEnableControls(autoEnableControls.let(IResolvable::unwrap)) + cdkBuilder.autoEnableControls(autoEnableControls.let(IResolvable.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnHub( * designated as automatically enabled. */ override fun enableDefaultStandards(enableDefaultStandards: IResolvable) { - cdkBuilder.enableDefaultStandards(enableDefaultStandards.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultStandards(enableDefaultStandards.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHubProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHubProps.kt index e9d47d4a08..0c2e7403c0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHubProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnHubProps.kt @@ -177,7 +177,7 @@ public interface CfnHubProps { * automatically enable new controls, set this to `false` . */ override fun autoEnableControls(autoEnableControls: IResolvable) { - cdkBuilder.autoEnableControls(autoEnableControls.let(IResolvable::unwrap)) + cdkBuilder.autoEnableControls(autoEnableControls.let(IResolvable.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface CfnHubProps { * Foundations Benchmark v1.2.0 and AWS Foundational Security Best Practices (FSBP). */ override fun enableDefaultStandards(enableDefaultStandards: IResolvable) { - cdkBuilder.enableDefaultStandards(enableDefaultStandards.let(IResolvable::unwrap)) + cdkBuilder.enableDefaultStandards(enableDefaultStandards.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsight.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsight.kt index 729fbf6eea..9ba78918d9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsight.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsight.kt @@ -519,8 +519,8 @@ public open class CfnInsight( id: String, props: CfnInsightProps, ) : - this(software.amazon.awscdk.services.securityhub.CfnInsight(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInsightProps::unwrap)) + this(software.amazon.awscdk.services.securityhub.CfnInsight(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInsightProps.Companion::unwrap)) ) public constructor( @@ -544,14 +544,14 @@ public open class CfnInsight( * One or more attributes used to filter the findings included in the insight. */ public open fun filters(`value`: IResolvable) { - unwrap(this).setFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilters(`value`.let(IResolvable.Companion::unwrap)) } /** * One or more attributes used to filter the findings included in the insight. */ public open fun filters(`value`: AwsSecurityFindingFiltersProperty) { - unwrap(this).setFilters(`value`.let(AwsSecurityFindingFiltersProperty::unwrap)) + unwrap(this).setFilters(`value`.let(AwsSecurityFindingFiltersProperty.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public open class CfnInsight( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public open class CfnInsight( * @param filters One or more attributes used to filter the findings included in the insight. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -691,7 +691,7 @@ public open class CfnInsight( * @param filters One or more attributes used to filter the findings included in the insight. */ override fun filters(filters: AwsSecurityFindingFiltersProperty) { - cdkBuilder.filters(filters.let(AwsSecurityFindingFiltersProperty::unwrap)) + cdkBuilder.filters(filters.let(AwsSecurityFindingFiltersProperty.Companion::unwrap)) } /** @@ -4367,7 +4367,7 @@ public open class CfnInsight( * @param awsAccountId The AWS account ID in which a finding is generated. */ override fun awsAccountId(awsAccountId: IResolvable) { - cdkBuilder.awsAccountId(awsAccountId.let(IResolvable::unwrap)) + cdkBuilder.awsAccountId(awsAccountId.let(IResolvable.Companion::unwrap)) } /** @@ -4387,7 +4387,7 @@ public open class CfnInsight( * @param awsAccountName The name of the AWS account in which a finding is generated. */ override fun awsAccountName(awsAccountName: IResolvable) { - cdkBuilder.awsAccountName(awsAccountName.let(IResolvable::unwrap)) + cdkBuilder.awsAccountName(awsAccountName.let(IResolvable.Companion::unwrap)) } /** @@ -4408,7 +4408,7 @@ public open class CfnInsight( * (product) that generates findings. */ override fun companyName(companyName: IResolvable) { - cdkBuilder.companyName(companyName.let(IResolvable::unwrap)) + cdkBuilder.companyName(companyName.let(IResolvable.Companion::unwrap)) } /** @@ -4434,7 +4434,7 @@ public open class CfnInsight( * API response. */ override fun complianceAssociatedStandardsId(complianceAssociatedStandardsId: IResolvable) { - cdkBuilder.complianceAssociatedStandardsId(complianceAssociatedStandardsId.let(IResolvable::unwrap)) + cdkBuilder.complianceAssociatedStandardsId(complianceAssociatedStandardsId.let(IResolvable.Companion::unwrap)) } /** @@ -4466,7 +4466,7 @@ public open class CfnInsight( * APIGateway.5. */ override fun complianceSecurityControlId(complianceSecurityControlId: IResolvable) { - cdkBuilder.complianceSecurityControlId(complianceSecurityControlId.let(IResolvable::unwrap)) + cdkBuilder.complianceSecurityControlId(complianceSecurityControlId.let(IResolvable.Companion::unwrap)) } /** @@ -4491,7 +4491,7 @@ public open class CfnInsight( */ override fun complianceSecurityControlParametersName(complianceSecurityControlParametersName: IResolvable) { - cdkBuilder.complianceSecurityControlParametersName(complianceSecurityControlParametersName.let(IResolvable::unwrap)) + cdkBuilder.complianceSecurityControlParametersName(complianceSecurityControlParametersName.let(IResolvable.Companion::unwrap)) } /** @@ -4515,7 +4515,7 @@ public open class CfnInsight( */ override fun complianceSecurityControlParametersValue(complianceSecurityControlParametersValue: IResolvable) { - cdkBuilder.complianceSecurityControlParametersValue(complianceSecurityControlParametersValue.let(IResolvable::unwrap)) + cdkBuilder.complianceSecurityControlParametersValue(complianceSecurityControlParametersValue.let(IResolvable.Companion::unwrap)) } /** @@ -4541,7 +4541,7 @@ public open class CfnInsight( * Contains security standard-related finding details. */ override fun complianceStatus(complianceStatus: IResolvable) { - cdkBuilder.complianceStatus(complianceStatus.let(IResolvable::unwrap)) + cdkBuilder.complianceStatus(complianceStatus.let(IResolvable.Companion::unwrap)) } /** @@ -4570,7 +4570,7 @@ public open class CfnInsight( * confidence and 100 means 100 percent confidence. */ override fun confidence(confidence: IResolvable) { - cdkBuilder.confidence(confidence.let(IResolvable::unwrap)) + cdkBuilder.confidence(confidence.let(IResolvable.Companion::unwrap)) } /** @@ -4610,7 +4610,7 @@ public open class CfnInsight( * ) */ override fun createdAt(createdAt: IResolvable) { - cdkBuilder.createdAt(createdAt.let(IResolvable::unwrap)) + cdkBuilder.createdAt(createdAt.let(IResolvable.Companion::unwrap)) } /** @@ -4654,7 +4654,7 @@ public open class CfnInsight( * reserved for the most critical resources. */ override fun criticality(criticality: IResolvable) { - cdkBuilder.criticality(criticality.let(IResolvable::unwrap)) + cdkBuilder.criticality(criticality.let(IResolvable.Companion::unwrap)) } /** @@ -4679,7 +4679,7 @@ public open class CfnInsight( * @param description A finding's description. */ override fun description(description: IResolvable) { - cdkBuilder.description(description.let(IResolvable::unwrap)) + cdkBuilder.description(description.let(IResolvable.Companion::unwrap)) } /** @@ -4704,7 +4704,7 @@ public open class CfnInsight( * confidence and 100 means 100 percent confidence. */ override fun findingProviderFieldsConfidence(findingProviderFieldsConfidence: IResolvable) { - cdkBuilder.findingProviderFieldsConfidence(findingProviderFieldsConfidence.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsConfidence(findingProviderFieldsConfidence.let(IResolvable.Companion::unwrap)) } /** @@ -4739,7 +4739,7 @@ public open class CfnInsight( * reserved for the most critical resources. */ override fun findingProviderFieldsCriticality(findingProviderFieldsCriticality: IResolvable) { - cdkBuilder.findingProviderFieldsCriticality(findingProviderFieldsCriticality.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsCriticality(findingProviderFieldsCriticality.let(IResolvable.Companion::unwrap)) } /** @@ -4767,7 +4767,7 @@ public open class CfnInsight( */ override fun findingProviderFieldsRelatedFindingsId(findingProviderFieldsRelatedFindingsId: IResolvable) { - cdkBuilder.findingProviderFieldsRelatedFindingsId(findingProviderFieldsRelatedFindingsId.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsRelatedFindingsId(findingProviderFieldsRelatedFindingsId.let(IResolvable.Companion::unwrap)) } /** @@ -4793,7 +4793,7 @@ public open class CfnInsight( */ override fun findingProviderFieldsRelatedFindingsProductArn(findingProviderFieldsRelatedFindingsProductArn: IResolvable) { - cdkBuilder.findingProviderFieldsRelatedFindingsProductArn(findingProviderFieldsRelatedFindingsProductArn.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsRelatedFindingsProductArn(findingProviderFieldsRelatedFindingsProductArn.let(IResolvable.Companion::unwrap)) } /** @@ -4819,7 +4819,7 @@ public open class CfnInsight( */ override fun findingProviderFieldsSeverityLabel(findingProviderFieldsSeverityLabel: IResolvable) { - cdkBuilder.findingProviderFieldsSeverityLabel(findingProviderFieldsSeverityLabel.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsSeverityLabel(findingProviderFieldsSeverityLabel.let(IResolvable.Companion::unwrap)) } /** @@ -4845,7 +4845,7 @@ public open class CfnInsight( */ override fun findingProviderFieldsSeverityOriginal(findingProviderFieldsSeverityOriginal: IResolvable) { - cdkBuilder.findingProviderFieldsSeverityOriginal(findingProviderFieldsSeverityOriginal.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsSeverityOriginal(findingProviderFieldsSeverityOriginal.let(IResolvable.Companion::unwrap)) } /** @@ -4874,7 +4874,7 @@ public open class CfnInsight( * Behaviors | Sensitive Data Identifications */ override fun findingProviderFieldsTypes(findingProviderFieldsTypes: IResolvable) { - cdkBuilder.findingProviderFieldsTypes(findingProviderFieldsTypes.let(IResolvable::unwrap)) + cdkBuilder.findingProviderFieldsTypes(findingProviderFieldsTypes.let(IResolvable.Companion::unwrap)) } /** @@ -4915,7 +4915,7 @@ public open class CfnInsight( * ) */ override fun firstObservedAt(firstObservedAt: IResolvable) { - cdkBuilder.firstObservedAt(firstObservedAt.let(IResolvable::unwrap)) + cdkBuilder.firstObservedAt(firstObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -4960,7 +4960,7 @@ public open class CfnInsight( * check, a detector, a plugin, etc. */ override fun generatorId(generatorId: IResolvable) { - cdkBuilder.generatorId(generatorId.let(IResolvable::unwrap)) + cdkBuilder.generatorId(generatorId.let(IResolvable.Companion::unwrap)) } /** @@ -4985,7 +4985,7 @@ public open class CfnInsight( * @param id The security findings provider-specific identifier for a finding. */ override fun id(id: IResolvable) { - cdkBuilder.id(id.let(IResolvable::unwrap)) + cdkBuilder.id(id.let(IResolvable.Companion::unwrap)) } /** @@ -5005,7 +5005,7 @@ public open class CfnInsight( * A keyword for a finding. */ override fun keyword(keyword: IResolvable) { - cdkBuilder.keyword(keyword.let(IResolvable::unwrap)) + cdkBuilder.keyword(keyword.let(IResolvable.Companion::unwrap)) } /** @@ -5037,7 +5037,7 @@ public open class CfnInsight( * ) */ override fun lastObservedAt(lastObservedAt: IResolvable) { - cdkBuilder.lastObservedAt(lastObservedAt.let(IResolvable::unwrap)) + cdkBuilder.lastObservedAt(lastObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -5079,7 +5079,7 @@ public open class CfnInsight( * @param malwareName The name of the malware that was observed. */ override fun malwareName(malwareName: IResolvable) { - cdkBuilder.malwareName(malwareName.let(IResolvable::unwrap)) + cdkBuilder.malwareName(malwareName.let(IResolvable.Companion::unwrap)) } /** @@ -5098,7 +5098,7 @@ public open class CfnInsight( * @param malwarePath The filesystem path of the malware that was observed. */ override fun malwarePath(malwarePath: IResolvable) { - cdkBuilder.malwarePath(malwarePath.let(IResolvable::unwrap)) + cdkBuilder.malwarePath(malwarePath.let(IResolvable.Companion::unwrap)) } /** @@ -5117,7 +5117,7 @@ public open class CfnInsight( * @param malwareState The state of the malware that was observed. */ override fun malwareState(malwareState: IResolvable) { - cdkBuilder.malwareState(malwareState.let(IResolvable::unwrap)) + cdkBuilder.malwareState(malwareState.let(IResolvable.Companion::unwrap)) } /** @@ -5137,7 +5137,7 @@ public open class CfnInsight( * @param malwareType The type of the malware that was observed. */ override fun malwareType(malwareType: IResolvable) { - cdkBuilder.malwareType(malwareType.let(IResolvable::unwrap)) + cdkBuilder.malwareType(malwareType.let(IResolvable.Companion::unwrap)) } /** @@ -5157,7 +5157,7 @@ public open class CfnInsight( * a finding. */ override fun networkDestinationDomain(networkDestinationDomain: IResolvable) { - cdkBuilder.networkDestinationDomain(networkDestinationDomain.let(IResolvable::unwrap)) + cdkBuilder.networkDestinationDomain(networkDestinationDomain.let(IResolvable.Companion::unwrap)) } /** @@ -5180,7 +5180,7 @@ public open class CfnInsight( * about a finding. */ override fun networkDestinationIpV4(networkDestinationIpV4: IResolvable) { - cdkBuilder.networkDestinationIpV4(networkDestinationIpV4.let(IResolvable::unwrap)) + cdkBuilder.networkDestinationIpV4(networkDestinationIpV4.let(IResolvable.Companion::unwrap)) } /** @@ -5203,7 +5203,7 @@ public open class CfnInsight( * about a finding. */ override fun networkDestinationIpV6(networkDestinationIpV6: IResolvable) { - cdkBuilder.networkDestinationIpV6(networkDestinationIpV6.let(IResolvable::unwrap)) + cdkBuilder.networkDestinationIpV6(networkDestinationIpV6.let(IResolvable.Companion::unwrap)) } /** @@ -5226,7 +5226,7 @@ public open class CfnInsight( * finding. */ override fun networkDestinationPort(networkDestinationPort: IResolvable) { - cdkBuilder.networkDestinationPort(networkDestinationPort.let(IResolvable::unwrap)) + cdkBuilder.networkDestinationPort(networkDestinationPort.let(IResolvable.Companion::unwrap)) } /** @@ -5249,7 +5249,7 @@ public open class CfnInsight( * finding. */ override fun networkDirection(networkDirection: IResolvable) { - cdkBuilder.networkDirection(networkDirection.let(IResolvable::unwrap)) + cdkBuilder.networkDirection(networkDirection.let(IResolvable.Companion::unwrap)) } /** @@ -5271,7 +5271,7 @@ public open class CfnInsight( * @param networkProtocol The protocol of network-related information about a finding. */ override fun networkProtocol(networkProtocol: IResolvable) { - cdkBuilder.networkProtocol(networkProtocol.let(IResolvable::unwrap)) + cdkBuilder.networkProtocol(networkProtocol.let(IResolvable.Companion::unwrap)) } /** @@ -5292,7 +5292,7 @@ public open class CfnInsight( * finding. */ override fun networkSourceDomain(networkSourceDomain: IResolvable) { - cdkBuilder.networkSourceDomain(networkSourceDomain.let(IResolvable::unwrap)) + cdkBuilder.networkSourceDomain(networkSourceDomain.let(IResolvable.Companion::unwrap)) } /** @@ -5315,7 +5315,7 @@ public open class CfnInsight( * finding. */ override fun networkSourceIpV4(networkSourceIpV4: IResolvable) { - cdkBuilder.networkSourceIpV4(networkSourceIpV4.let(IResolvable::unwrap)) + cdkBuilder.networkSourceIpV4(networkSourceIpV4.let(IResolvable.Companion::unwrap)) } /** @@ -5338,7 +5338,7 @@ public open class CfnInsight( * finding. */ override fun networkSourceIpV6(networkSourceIpV6: IResolvable) { - cdkBuilder.networkSourceIpV6(networkSourceIpV6.let(IResolvable::unwrap)) + cdkBuilder.networkSourceIpV6(networkSourceIpV6.let(IResolvable.Companion::unwrap)) } /** @@ -5361,7 +5361,7 @@ public open class CfnInsight( * information about a finding. */ override fun networkSourceMac(networkSourceMac: IResolvable) { - cdkBuilder.networkSourceMac(networkSourceMac.let(IResolvable::unwrap)) + cdkBuilder.networkSourceMac(networkSourceMac.let(IResolvable.Companion::unwrap)) } /** @@ -5383,7 +5383,7 @@ public open class CfnInsight( * @param networkSourcePort The source port of network-related information about a finding. */ override fun networkSourcePort(networkSourcePort: IResolvable) { - cdkBuilder.networkSourcePort(networkSourcePort.let(IResolvable::unwrap)) + cdkBuilder.networkSourcePort(networkSourcePort.let(IResolvable.Companion::unwrap)) } /** @@ -5403,7 +5403,7 @@ public open class CfnInsight( * @param noteText The text of a note. */ override fun noteText(noteText: IResolvable) { - cdkBuilder.noteText(noteText.let(IResolvable::unwrap)) + cdkBuilder.noteText(noteText.let(IResolvable.Companion::unwrap)) } /** @@ -5422,7 +5422,7 @@ public open class CfnInsight( * @param noteUpdatedAt The timestamp of when the note was updated. */ override fun noteUpdatedAt(noteUpdatedAt: IResolvable) { - cdkBuilder.noteUpdatedAt(noteUpdatedAt.let(IResolvable::unwrap)) + cdkBuilder.noteUpdatedAt(noteUpdatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -5442,7 +5442,7 @@ public open class CfnInsight( * @param noteUpdatedBy The principal that created a note. */ override fun noteUpdatedBy(noteUpdatedBy: IResolvable) { - cdkBuilder.noteUpdatedBy(noteUpdatedBy.let(IResolvable::unwrap)) + cdkBuilder.noteUpdatedBy(noteUpdatedBy.let(IResolvable.Companion::unwrap)) } /** @@ -5472,7 +5472,7 @@ public open class CfnInsight( * ) */ override fun processLaunchedAt(processLaunchedAt: IResolvable) { - cdkBuilder.processLaunchedAt(processLaunchedAt.let(IResolvable::unwrap)) + cdkBuilder.processLaunchedAt(processLaunchedAt.let(IResolvable.Companion::unwrap)) } /** @@ -5512,7 +5512,7 @@ public open class CfnInsight( * @param processName The name of the process. */ override fun processName(processName: IResolvable) { - cdkBuilder.processName(processName.let(IResolvable::unwrap)) + cdkBuilder.processName(processName.let(IResolvable.Companion::unwrap)) } /** @@ -5532,7 +5532,7 @@ public open class CfnInsight( * This field accepts positive integers between `O` and `2147483647` . */ override fun processParentPid(processParentPid: IResolvable) { - cdkBuilder.processParentPid(processParentPid.let(IResolvable::unwrap)) + cdkBuilder.processParentPid(processParentPid.let(IResolvable.Companion::unwrap)) } /** @@ -5554,7 +5554,7 @@ public open class CfnInsight( * @param processPath The path to the process executable. */ override fun processPath(processPath: IResolvable) { - cdkBuilder.processPath(processPath.let(IResolvable::unwrap)) + cdkBuilder.processPath(processPath.let(IResolvable.Companion::unwrap)) } /** @@ -5573,7 +5573,7 @@ public open class CfnInsight( * @param processPid The process ID. */ override fun processPid(processPid: IResolvable) { - cdkBuilder.processPid(processPid.let(IResolvable::unwrap)) + cdkBuilder.processPid(processPid.let(IResolvable.Companion::unwrap)) } /** @@ -5602,7 +5602,7 @@ public open class CfnInsight( * ) */ override fun processTerminatedAt(processTerminatedAt: IResolvable) { - cdkBuilder.processTerminatedAt(processTerminatedAt.let(IResolvable::unwrap)) + cdkBuilder.processTerminatedAt(processTerminatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -5644,7 +5644,7 @@ public open class CfnInsight( * findings) is registered with Security Hub. */ override fun productArn(productArn: IResolvable) { - cdkBuilder.productArn(productArn.let(IResolvable::unwrap)) + cdkBuilder.productArn(productArn.let(IResolvable.Companion::unwrap)) } /** @@ -5668,7 +5668,7 @@ public open class CfnInsight( * solution-specific details that aren't part of the defined `AwsSecurityFinding` format. */ override fun productFields(productFields: IResolvable) { - cdkBuilder.productFields(productFields.let(IResolvable::unwrap)) + cdkBuilder.productFields(productFields.let(IResolvable.Companion::unwrap)) } /** @@ -5690,7 +5690,7 @@ public open class CfnInsight( * @param productName The name of the solution (product) that generates findings. */ override fun productName(productName: IResolvable) { - cdkBuilder.productName(productName.let(IResolvable::unwrap)) + cdkBuilder.productName(productName.let(IResolvable.Companion::unwrap)) } /** @@ -5710,7 +5710,7 @@ public open class CfnInsight( * finding. */ override fun recommendationText(recommendationText: IResolvable) { - cdkBuilder.recommendationText(recommendationText.let(IResolvable::unwrap)) + cdkBuilder.recommendationText(recommendationText.let(IResolvable.Companion::unwrap)) } /** @@ -5732,7 +5732,7 @@ public open class CfnInsight( * @param recordState The updated record state for the finding. */ override fun recordState(recordState: IResolvable) { - cdkBuilder.recordState(recordState.let(IResolvable::unwrap)) + cdkBuilder.recordState(recordState.let(IResolvable.Companion::unwrap)) } /** @@ -5751,7 +5751,7 @@ public open class CfnInsight( * @param region The Region from which the finding was generated. */ override fun region(region: IResolvable) { - cdkBuilder.region(region.let(IResolvable::unwrap)) + cdkBuilder.region(region.let(IResolvable.Companion::unwrap)) } /** @@ -5770,7 +5770,7 @@ public open class CfnInsight( * @param relatedFindingsId The solution-generated identifier for a related finding. */ override fun relatedFindingsId(relatedFindingsId: IResolvable) { - cdkBuilder.relatedFindingsId(relatedFindingsId.let(IResolvable::unwrap)) + cdkBuilder.relatedFindingsId(relatedFindingsId.let(IResolvable.Companion::unwrap)) } /** @@ -5790,7 +5790,7 @@ public open class CfnInsight( * @param relatedFindingsProductArn The ARN of the solution that generated a related finding. */ override fun relatedFindingsProductArn(relatedFindingsProductArn: IResolvable) { - cdkBuilder.relatedFindingsProductArn(relatedFindingsProductArn.let(IResolvable::unwrap)) + cdkBuilder.relatedFindingsProductArn(relatedFindingsProductArn.let(IResolvable.Companion::unwrap)) } /** @@ -5810,7 +5810,7 @@ public open class CfnInsight( * @param resourceApplicationArn The ARN of the application that is related to a finding. */ override fun resourceApplicationArn(resourceApplicationArn: IResolvable) { - cdkBuilder.resourceApplicationArn(resourceApplicationArn.let(IResolvable::unwrap)) + cdkBuilder.resourceApplicationArn(resourceApplicationArn.let(IResolvable.Companion::unwrap)) } /** @@ -5830,7 +5830,7 @@ public open class CfnInsight( * @param resourceApplicationName The name of the application that is related to a finding. */ override fun resourceApplicationName(resourceApplicationName: IResolvable) { - cdkBuilder.resourceApplicationName(resourceApplicationName.let(IResolvable::unwrap)) + cdkBuilder.resourceApplicationName(resourceApplicationName.let(IResolvable.Companion::unwrap)) } /** @@ -5851,7 +5851,7 @@ public open class CfnInsight( */ override fun resourceAwsEc2InstanceIamInstanceProfileArn(resourceAwsEc2InstanceIamInstanceProfileArn: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceIamInstanceProfileArn(resourceAwsEc2InstanceIamInstanceProfileArn.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceIamInstanceProfileArn(resourceAwsEc2InstanceIamInstanceProfileArn.let(IResolvable.Companion::unwrap)) } /** @@ -5873,7 +5873,7 @@ public open class CfnInsight( * @param resourceAwsEc2InstanceImageId The Amazon Machine Image (AMI) ID of the instance. */ override fun resourceAwsEc2InstanceImageId(resourceAwsEc2InstanceImageId: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceImageId(resourceAwsEc2InstanceImageId.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceImageId(resourceAwsEc2InstanceImageId.let(IResolvable.Companion::unwrap)) } /** @@ -5894,7 +5894,7 @@ public open class CfnInsight( */ override fun resourceAwsEc2InstanceIpV4Addresses(resourceAwsEc2InstanceIpV4Addresses: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceIpV4Addresses(resourceAwsEc2InstanceIpV4Addresses.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceIpV4Addresses(resourceAwsEc2InstanceIpV4Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -5917,7 +5917,7 @@ public open class CfnInsight( */ override fun resourceAwsEc2InstanceIpV6Addresses(resourceAwsEc2InstanceIpV6Addresses: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceIpV6Addresses(resourceAwsEc2InstanceIpV6Addresses.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceIpV6Addresses(resourceAwsEc2InstanceIpV6Addresses.let(IResolvable.Companion::unwrap)) } /** @@ -5939,7 +5939,7 @@ public open class CfnInsight( * @param resourceAwsEc2InstanceKeyName The key name associated with the instance. */ override fun resourceAwsEc2InstanceKeyName(resourceAwsEc2InstanceKeyName: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceKeyName(resourceAwsEc2InstanceKeyName.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceKeyName(resourceAwsEc2InstanceKeyName.let(IResolvable.Companion::unwrap)) } /** @@ -5959,7 +5959,7 @@ public open class CfnInsight( * @param resourceAwsEc2InstanceLaunchedAt The date and time the instance was launched. */ override fun resourceAwsEc2InstanceLaunchedAt(resourceAwsEc2InstanceLaunchedAt: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceLaunchedAt(resourceAwsEc2InstanceLaunchedAt.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceLaunchedAt(resourceAwsEc2InstanceLaunchedAt.let(IResolvable.Companion::unwrap)) } /** @@ -5980,7 +5980,7 @@ public open class CfnInsight( * launched in. */ override fun resourceAwsEc2InstanceSubnetId(resourceAwsEc2InstanceSubnetId: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceSubnetId(resourceAwsEc2InstanceSubnetId.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceSubnetId(resourceAwsEc2InstanceSubnetId.let(IResolvable.Companion::unwrap)) } /** @@ -6002,7 +6002,7 @@ public open class CfnInsight( * @param resourceAwsEc2InstanceType The instance type of the instance. */ override fun resourceAwsEc2InstanceType(resourceAwsEc2InstanceType: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceType(resourceAwsEc2InstanceType.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceType(resourceAwsEc2InstanceType.let(IResolvable.Companion::unwrap)) } /** @@ -6023,7 +6023,7 @@ public open class CfnInsight( * in. */ override fun resourceAwsEc2InstanceVpcId(resourceAwsEc2InstanceVpcId: IResolvable) { - cdkBuilder.resourceAwsEc2InstanceVpcId(resourceAwsEc2InstanceVpcId.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsEc2InstanceVpcId(resourceAwsEc2InstanceVpcId.let(IResolvable.Companion::unwrap)) } /** @@ -6046,7 +6046,7 @@ public open class CfnInsight( * related to a finding. */ override fun resourceAwsIamAccessKeyCreatedAt(resourceAwsIamAccessKeyCreatedAt: IResolvable) { - cdkBuilder.resourceAwsIamAccessKeyCreatedAt(resourceAwsIamAccessKeyCreatedAt.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsIamAccessKeyCreatedAt(resourceAwsIamAccessKeyCreatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -6070,7 +6070,7 @@ public open class CfnInsight( */ override fun resourceAwsIamAccessKeyPrincipalName(resourceAwsIamAccessKeyPrincipalName: IResolvable) { - cdkBuilder.resourceAwsIamAccessKeyPrincipalName(resourceAwsIamAccessKeyPrincipalName.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsIamAccessKeyPrincipalName(resourceAwsIamAccessKeyPrincipalName.let(IResolvable.Companion::unwrap)) } /** @@ -6094,7 +6094,7 @@ public open class CfnInsight( * @param resourceAwsIamAccessKeyStatus The status of the IAM access key related to a finding. */ override fun resourceAwsIamAccessKeyStatus(resourceAwsIamAccessKeyStatus: IResolvable) { - cdkBuilder.resourceAwsIamAccessKeyStatus(resourceAwsIamAccessKeyStatus.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsIamAccessKeyStatus(resourceAwsIamAccessKeyStatus.let(IResolvable.Companion::unwrap)) } /** @@ -6115,7 +6115,7 @@ public open class CfnInsight( * The username associated with the IAM access key related to a finding. */ override fun resourceAwsIamAccessKeyUserName(resourceAwsIamAccessKeyUserName: IResolvable) { - cdkBuilder.resourceAwsIamAccessKeyUserName(resourceAwsIamAccessKeyUserName.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsIamAccessKeyUserName(resourceAwsIamAccessKeyUserName.let(IResolvable.Companion::unwrap)) } /** @@ -6137,7 +6137,7 @@ public open class CfnInsight( * @param resourceAwsIamUserUserName The name of an IAM user. */ override fun resourceAwsIamUserUserName(resourceAwsIamUserUserName: IResolvable) { - cdkBuilder.resourceAwsIamUserUserName(resourceAwsIamUserUserName.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsIamUserUserName(resourceAwsIamUserUserName.let(IResolvable.Companion::unwrap)) } /** @@ -6157,7 +6157,7 @@ public open class CfnInsight( * @param resourceAwsS3BucketOwnerId The canonical user ID of the owner of the S3 bucket. */ override fun resourceAwsS3BucketOwnerId(resourceAwsS3BucketOwnerId: IResolvable) { - cdkBuilder.resourceAwsS3BucketOwnerId(resourceAwsS3BucketOwnerId.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsS3BucketOwnerId(resourceAwsS3BucketOwnerId.let(IResolvable.Companion::unwrap)) } /** @@ -6177,7 +6177,7 @@ public open class CfnInsight( * @param resourceAwsS3BucketOwnerName The display name of the owner of the S3 bucket. */ override fun resourceAwsS3BucketOwnerName(resourceAwsS3BucketOwnerName: IResolvable) { - cdkBuilder.resourceAwsS3BucketOwnerName(resourceAwsS3BucketOwnerName.let(IResolvable::unwrap)) + cdkBuilder.resourceAwsS3BucketOwnerName(resourceAwsS3BucketOwnerName.let(IResolvable.Companion::unwrap)) } /** @@ -6197,7 +6197,7 @@ public open class CfnInsight( * @param resourceContainerImageId The identifier of the image related to a finding. */ override fun resourceContainerImageId(resourceContainerImageId: IResolvable) { - cdkBuilder.resourceContainerImageId(resourceContainerImageId.let(IResolvable::unwrap)) + cdkBuilder.resourceContainerImageId(resourceContainerImageId.let(IResolvable.Companion::unwrap)) } /** @@ -6217,7 +6217,7 @@ public open class CfnInsight( * @param resourceContainerImageName The name of the image related to a finding. */ override fun resourceContainerImageName(resourceContainerImageName: IResolvable) { - cdkBuilder.resourceContainerImageName(resourceContainerImageName.let(IResolvable::unwrap)) + cdkBuilder.resourceContainerImageName(resourceContainerImageName.let(IResolvable.Companion::unwrap)) } /** @@ -6248,7 +6248,7 @@ public open class CfnInsight( * ) */ override fun resourceContainerLaunchedAt(resourceContainerLaunchedAt: IResolvable) { - cdkBuilder.resourceContainerLaunchedAt(resourceContainerLaunchedAt.let(IResolvable::unwrap)) + cdkBuilder.resourceContainerLaunchedAt(resourceContainerLaunchedAt.let(IResolvable.Companion::unwrap)) } /** @@ -6290,7 +6290,7 @@ public open class CfnInsight( * @param resourceContainerName The name of the container related to a finding. */ override fun resourceContainerName(resourceContainerName: IResolvable) { - cdkBuilder.resourceContainerName(resourceContainerName.let(IResolvable::unwrap)) + cdkBuilder.resourceContainerName(resourceContainerName.let(IResolvable.Companion::unwrap)) } /** @@ -6311,7 +6311,7 @@ public open class CfnInsight( * for the resource type defined. */ override fun resourceDetailsOther(resourceDetailsOther: IResolvable) { - cdkBuilder.resourceDetailsOther(resourceDetailsOther.let(IResolvable::unwrap)) + cdkBuilder.resourceDetailsOther(resourceDetailsOther.let(IResolvable.Companion::unwrap)) } /** @@ -6333,7 +6333,7 @@ public open class CfnInsight( * @param resourceId The canonical identifier for the given resource type. */ override fun resourceId(resourceId: IResolvable) { - cdkBuilder.resourceId(resourceId.let(IResolvable::unwrap)) + cdkBuilder.resourceId(resourceId.let(IResolvable.Companion::unwrap)) } /** @@ -6352,7 +6352,7 @@ public open class CfnInsight( * @param resourcePartition The canonical AWS partition name that the Region is assigned to. */ override fun resourcePartition(resourcePartition: IResolvable) { - cdkBuilder.resourcePartition(resourcePartition.let(IResolvable::unwrap)) + cdkBuilder.resourcePartition(resourcePartition.let(IResolvable.Companion::unwrap)) } /** @@ -6373,7 +6373,7 @@ public open class CfnInsight( * located. */ override fun resourceRegion(resourceRegion: IResolvable) { - cdkBuilder.resourceRegion(resourceRegion.let(IResolvable::unwrap)) + cdkBuilder.resourceRegion(resourceRegion.let(IResolvable.Companion::unwrap)) } /** @@ -6396,7 +6396,7 @@ public open class CfnInsight( * was processed. */ override fun resourceTags(resourceTags: IResolvable) { - cdkBuilder.resourceTags(resourceTags.let(IResolvable::unwrap)) + cdkBuilder.resourceTags(resourceTags.let(IResolvable.Companion::unwrap)) } /** @@ -6418,7 +6418,7 @@ public open class CfnInsight( * @param resourceType Specifies the type of the resource that details are provided for. */ override fun resourceType(resourceType: IResolvable) { - cdkBuilder.resourceType(resourceType.let(IResolvable::unwrap)) + cdkBuilder.resourceType(resourceType.let(IResolvable.Companion::unwrap)) } /** @@ -6438,7 +6438,7 @@ public open class CfnInsight( * @param sample Indicates whether or not sample findings are included in the filter results. */ override fun sample(sample: IResolvable) { - cdkBuilder.sample(sample.let(IResolvable::unwrap)) + cdkBuilder.sample(sample.let(IResolvable.Companion::unwrap)) } /** @@ -6457,7 +6457,7 @@ public open class CfnInsight( * @param severityLabel The label of a finding's severity. */ override fun severityLabel(severityLabel: IResolvable) { - cdkBuilder.severityLabel(severityLabel.let(IResolvable::unwrap)) + cdkBuilder.severityLabel(severityLabel.let(IResolvable.Companion::unwrap)) } /** @@ -6486,7 +6486,7 @@ public open class CfnInsight( * * `CRITICAL` - 90 */ override fun severityNormalized(severityNormalized: IResolvable) { - cdkBuilder.severityNormalized(severityNormalized.let(IResolvable::unwrap)) + cdkBuilder.severityNormalized(severityNormalized.let(IResolvable.Companion::unwrap)) } /** @@ -6527,7 +6527,7 @@ public open class CfnInsight( * generated the finding. */ override fun severityProduct(severityProduct: IResolvable) { - cdkBuilder.severityProduct(severityProduct.let(IResolvable::unwrap)) + cdkBuilder.severityProduct(severityProduct.let(IResolvable.Companion::unwrap)) } /** @@ -6554,7 +6554,7 @@ public open class CfnInsight( * findings provider's solution. */ override fun sourceUrl(sourceUrl: IResolvable) { - cdkBuilder.sourceUrl(sourceUrl.let(IResolvable::unwrap)) + cdkBuilder.sourceUrl(sourceUrl.let(IResolvable.Companion::unwrap)) } /** @@ -6575,7 +6575,7 @@ public open class CfnInsight( * @param threatIntelIndicatorCategory The category of a threat intelligence indicator. */ override fun threatIntelIndicatorCategory(threatIntelIndicatorCategory: IResolvable) { - cdkBuilder.threatIntelIndicatorCategory(threatIntelIndicatorCategory.let(IResolvable::unwrap)) + cdkBuilder.threatIntelIndicatorCategory(threatIntelIndicatorCategory.let(IResolvable.Companion::unwrap)) } /** @@ -6597,7 +6597,7 @@ public open class CfnInsight( */ override fun threatIntelIndicatorLastObservedAt(threatIntelIndicatorLastObservedAt: IResolvable) { - cdkBuilder.threatIntelIndicatorLastObservedAt(threatIntelIndicatorLastObservedAt.let(IResolvable::unwrap)) + cdkBuilder.threatIntelIndicatorLastObservedAt(threatIntelIndicatorLastObservedAt.let(IResolvable.Companion::unwrap)) } /** @@ -6621,7 +6621,7 @@ public open class CfnInsight( * @param threatIntelIndicatorSource The source of the threat intelligence. */ override fun threatIntelIndicatorSource(threatIntelIndicatorSource: IResolvable) { - cdkBuilder.threatIntelIndicatorSource(threatIntelIndicatorSource.let(IResolvable::unwrap)) + cdkBuilder.threatIntelIndicatorSource(threatIntelIndicatorSource.let(IResolvable.Companion::unwrap)) } /** @@ -6642,7 +6642,7 @@ public open class CfnInsight( * intelligence. */ override fun threatIntelIndicatorSourceUrl(threatIntelIndicatorSourceUrl: IResolvable) { - cdkBuilder.threatIntelIndicatorSourceUrl(threatIntelIndicatorSourceUrl.let(IResolvable::unwrap)) + cdkBuilder.threatIntelIndicatorSourceUrl(threatIntelIndicatorSourceUrl.let(IResolvable.Companion::unwrap)) } /** @@ -6664,7 +6664,7 @@ public open class CfnInsight( * @param threatIntelIndicatorType The type of a threat intelligence indicator. */ override fun threatIntelIndicatorType(threatIntelIndicatorType: IResolvable) { - cdkBuilder.threatIntelIndicatorType(threatIntelIndicatorType.let(IResolvable::unwrap)) + cdkBuilder.threatIntelIndicatorType(threatIntelIndicatorType.let(IResolvable.Companion::unwrap)) } /** @@ -6684,7 +6684,7 @@ public open class CfnInsight( * @param threatIntelIndicatorValue The value of a threat intelligence indicator. */ override fun threatIntelIndicatorValue(threatIntelIndicatorValue: IResolvable) { - cdkBuilder.threatIntelIndicatorValue(threatIntelIndicatorValue.let(IResolvable::unwrap)) + cdkBuilder.threatIntelIndicatorValue(threatIntelIndicatorValue.let(IResolvable.Companion::unwrap)) } /** @@ -6704,7 +6704,7 @@ public open class CfnInsight( * @param title A finding's title. */ override fun title(title: IResolvable) { - cdkBuilder.title(title.let(IResolvable::unwrap)) + cdkBuilder.title(title.let(IResolvable.Companion::unwrap)) } /** @@ -6724,7 +6724,7 @@ public open class CfnInsight( * a finding. */ override fun type(type: IResolvable) { - cdkBuilder.type(type.let(IResolvable::unwrap)) + cdkBuilder.type(type.let(IResolvable.Companion::unwrap)) } /** @@ -6756,7 +6756,7 @@ public open class CfnInsight( * ) */ override fun updatedAt(updatedAt: IResolvable) { - cdkBuilder.updatedAt(updatedAt.let(IResolvable::unwrap)) + cdkBuilder.updatedAt(updatedAt.let(IResolvable.Companion::unwrap)) } /** @@ -6798,7 +6798,7 @@ public open class CfnInsight( * These are custom, user-defined fields added to a finding. */ override fun userDefinedFields(userDefinedFields: IResolvable) { - cdkBuilder.userDefinedFields(userDefinedFields.let(IResolvable::unwrap)) + cdkBuilder.userDefinedFields(userDefinedFields.let(IResolvable.Companion::unwrap)) } /** @@ -6820,7 +6820,7 @@ public open class CfnInsight( * @param verificationState The veracity of a finding. */ override fun verificationState(verificationState: IResolvable) { - cdkBuilder.verificationState(verificationState.let(IResolvable::unwrap)) + cdkBuilder.verificationState(verificationState.let(IResolvable.Companion::unwrap)) } /** @@ -6842,7 +6842,7 @@ public open class CfnInsight( * You can filter findings by this field only if you use Security Hub and Amazon Inspector. */ override fun vulnerabilitiesExploitAvailable(vulnerabilitiesExploitAvailable: IResolvable) { - cdkBuilder.vulnerabilitiesExploitAvailable(vulnerabilitiesExploitAvailable.let(IResolvable::unwrap)) + cdkBuilder.vulnerabilitiesExploitAvailable(vulnerabilitiesExploitAvailable.let(IResolvable.Companion::unwrap)) } /** @@ -6868,7 +6868,7 @@ public open class CfnInsight( * You can filter findings by this field only if you use Security Hub and Amazon Inspector. */ override fun vulnerabilitiesFixAvailable(vulnerabilitiesFixAvailable: IResolvable) { - cdkBuilder.vulnerabilitiesFixAvailable(vulnerabilitiesFixAvailable.let(IResolvable::unwrap)) + cdkBuilder.vulnerabilitiesFixAvailable(vulnerabilitiesFixAvailable.let(IResolvable.Companion::unwrap)) } /** @@ -6894,7 +6894,7 @@ public open class CfnInsight( * use `WorkflowStatus` . */ override fun workflowState(workflowState: IResolvable) { - cdkBuilder.workflowState(workflowState.let(IResolvable::unwrap)) + cdkBuilder.workflowState(workflowState.let(IResolvable.Companion::unwrap)) } /** @@ -6953,7 +6953,7 @@ public open class CfnInsight( * automatically sets the workflow status to `RESOLVED` . */ override fun workflowStatus(workflowStatus: IResolvable) { - cdkBuilder.workflowStatus(workflowStatus.let(IResolvable::unwrap)) + cdkBuilder.workflowStatus(workflowStatus.let(IResolvable.Companion::unwrap)) } /** @@ -8073,7 +8073,7 @@ public open class CfnInsight( * @param value The value of the boolean. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -8235,14 +8235,14 @@ public open class CfnInsight( * @param dateRange A date range for the date filter. */ override fun dateRange(dateRange: IResolvable) { - cdkBuilder.dateRange(dateRange.let(IResolvable::unwrap)) + cdkBuilder.dateRange(dateRange.let(IResolvable.Companion::unwrap)) } /** * @param dateRange A date range for the date filter. */ override fun dateRange(dateRange: DateRangeProperty) { - cdkBuilder.dateRange(dateRange.let(DateRangeProperty::unwrap)) + cdkBuilder.dateRange(dateRange.let(DateRangeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsightProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsightProps.kt index 070f008e67..f5936196ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsightProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnInsightProps.kt @@ -582,7 +582,7 @@ public interface CfnInsightProps { * values. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** @@ -592,7 +592,7 @@ public interface CfnInsightProps { * values. */ override fun filters(filters: CfnInsight.AwsSecurityFindingFiltersProperty) { - cdkBuilder.filters(filters.let(CfnInsight.AwsSecurityFindingFiltersProperty::unwrap)) + cdkBuilder.filters(filters.let(CfnInsight.AwsSecurityFindingFiltersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnProductSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnProductSubscription.kt index d5e493a2e3..007a04f919 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnProductSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnProductSubscription.kt @@ -46,8 +46,8 @@ public open class CfnProductSubscription( id: String, props: CfnProductSubscriptionProps, ) : - this(software.amazon.awscdk.services.securityhub.CfnProductSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProductSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.securityhub.CfnProductSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProductSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnProductSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandard.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandard.kt index 725bb3c799..f28119ec2d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandard.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandard.kt @@ -58,8 +58,8 @@ public open class CfnStandard( id: String, props: CfnStandardProps, ) : - this(software.amazon.awscdk.services.securityhub.CfnStandard(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStandardProps::unwrap)) + this(software.amazon.awscdk.services.securityhub.CfnStandard(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStandardProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnStandard( * Specifies which controls are to be disabled in a standard. */ public open fun disabledStandardsControls(`value`: IResolvable) { - unwrap(this).setDisabledStandardsControls(`value`.let(IResolvable::unwrap)) + unwrap(this).setDisabledStandardsControls(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public open class CfnStandard( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnStandard( * @param disabledStandardsControls Specifies which controls are to be disabled in a standard. */ override fun disabledStandardsControls(disabledStandardsControls: IResolvable) { - cdkBuilder.disabledStandardsControls(disabledStandardsControls.let(IResolvable::unwrap)) + cdkBuilder.disabledStandardsControls(disabledStandardsControls.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandardProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandardProps.kt index fe2a206ff2..cb72851e40 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandardProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securityhub/CfnStandardProps.kt @@ -95,7 +95,7 @@ public interface CfnStandardProps { * *Maximum* : `100` */ override fun disabledStandardsControls(disabledStandardsControls: IResolvable) { - cdkBuilder.disabledStandardsControls(disabledStandardsControls.let(IResolvable::unwrap)) + cdkBuilder.disabledStandardsControls(disabledStandardsControls.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnAwsLogSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnAwsLogSource.kt index 059dab3462..9130296a70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnAwsLogSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnAwsLogSource.kt @@ -55,8 +55,8 @@ public open class CfnAwsLogSource( id: String, props: CfnAwsLogSourceProps, ) : - this(software.amazon.awscdk.services.securitylake.CfnAwsLogSource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAwsLogSourceProps::unwrap)) + this(software.amazon.awscdk.services.securitylake.CfnAwsLogSource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAwsLogSourceProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnAwsLogSource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLake.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLake.kt index c6e43f6479..be2b720d24 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLake.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLake.kt @@ -75,7 +75,7 @@ public open class CfnDataLake( cdkObject: software.amazon.awscdk.services.securitylake.CfnDataLake, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.securitylake.CfnDataLake(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.securitylake.CfnDataLake(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -84,8 +84,8 @@ public open class CfnDataLake( id: String, props: CfnDataLakeProps, ) : - this(software.amazon.awscdk.services.securitylake.CfnDataLake(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDataLakeProps::unwrap)) + this(software.amazon.awscdk.services.securitylake.CfnDataLake(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDataLakeProps.Companion::unwrap)) ) public constructor( @@ -120,14 +120,14 @@ public open class CfnDataLake( * Provides encryption details of the Amazon Security Lake object. */ public open fun encryptionConfiguration(`value`: IResolvable) { - unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Provides encryption details of the Amazon Security Lake object. */ public open fun encryptionConfiguration(`value`: EncryptionConfigurationProperty) { - unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty::unwrap)) + unwrap(this).setEncryptionConfiguration(`value`.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnDataLake( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnDataLake( * amount of time. */ public open fun lifecycleConfiguration(`value`: IResolvable) { - unwrap(this).setLifecycleConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLifecycleConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnDataLake( * amount of time. */ public open fun lifecycleConfiguration(`value`: LifecycleConfigurationProperty) { - unwrap(this).setLifecycleConfiguration(`value`.let(LifecycleConfigurationProperty::unwrap)) + unwrap(this).setLifecycleConfiguration(`value`.let(LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public open class CfnDataLake( * Provides replication details of Amazon Security Lake object. */ public open fun replicationConfiguration(`value`: IResolvable) { - unwrap(this).setReplicationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Provides replication details of Amazon Security Lake object. */ public open fun replicationConfiguration(`value`: ReplicationConfigurationProperty) { - unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty::unwrap)) + unwrap(this).setReplicationConfiguration(`value`.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public open class CfnDataLake( * An array of objects, one for each tag to associate with the data lake configuration. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public open class CfnDataLake( * object. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnDataLake( * object. */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnDataLake( * AWS Regions for your preferred amount of time. */ override fun lifecycleConfiguration(lifecycleConfiguration: IResolvable) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnDataLake( * AWS Regions for your preferred amount of time. */ override fun lifecycleConfiguration(lifecycleConfiguration: LifecycleConfigurationProperty) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(LifecycleConfigurationProperty::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CfnDataLake( * @param replicationConfiguration Provides replication details of Amazon Security Lake object. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public open class CfnDataLake( */ override fun replicationConfiguration(replicationConfiguration: ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -537,7 +537,7 @@ public open class CfnDataLake( * configuration. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -876,14 +876,14 @@ public open class CfnDataLake( * @param expiration Provides data expiration details of the Amazon Security Lake object. */ override fun expiration(expiration: IResolvable) { - cdkBuilder.expiration(expiration.let(IResolvable::unwrap)) + cdkBuilder.expiration(expiration.let(IResolvable.Companion::unwrap)) } /** * @param expiration Provides data expiration details of the Amazon Security Lake object. */ override fun expiration(expiration: ExpirationProperty) { - cdkBuilder.expiration(expiration.let(ExpirationProperty::unwrap)) + cdkBuilder.expiration(expiration.let(ExpirationProperty.Companion::unwrap)) } /** @@ -901,7 +901,7 @@ public open class CfnDataLake( * different storage class. */ override fun transitions(transitions: IResolvable) { - cdkBuilder.transitions(transitions.let(IResolvable::unwrap)) + cdkBuilder.transitions(transitions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLakeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLakeProps.kt index be0879869f..25c7a5815f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLakeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnDataLakeProps.kt @@ -211,7 +211,7 @@ public interface CfnDataLakeProps { * object. */ override fun encryptionConfiguration(encryptionConfiguration: IResolvable) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public interface CfnDataLakeProps { */ override fun encryptionConfiguration(encryptionConfiguration: CfnDataLake.EncryptionConfigurationProperty) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnDataLake.EncryptionConfigurationProperty::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(CfnDataLake.EncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public interface CfnDataLakeProps { * in the Amazon Security Lake User Guide. */ override fun lifecycleConfiguration(lifecycleConfiguration: IResolvable) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface CfnDataLakeProps { */ override fun lifecycleConfiguration(lifecycleConfiguration: CfnDataLake.LifecycleConfigurationProperty) { - cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(CfnDataLake.LifecycleConfigurationProperty::unwrap)) + cdkBuilder.lifecycleConfiguration(lifecycleConfiguration.let(CfnDataLake.LifecycleConfigurationProperty.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnDataLakeProps { * @param replicationConfiguration Provides replication details of Amazon Security Lake object. */ override fun replicationConfiguration(replicationConfiguration: IResolvable) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnDataLakeProps { */ override fun replicationConfiguration(replicationConfiguration: CfnDataLake.ReplicationConfigurationProperty) { - cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnDataLake.ReplicationConfigurationProperty::unwrap)) + cdkBuilder.replicationConfiguration(replicationConfiguration.let(CfnDataLake.ReplicationConfigurationProperty.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface CfnDataLakeProps { * but it can be an empty string. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriber.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriber.kt index f115a5cb68..b22f38d13e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriber.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriber.kt @@ -68,8 +68,8 @@ public open class CfnSubscriber( id: String, props: CfnSubscriberProps, ) : - this(software.amazon.awscdk.services.securitylake.CfnSubscriber(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubscriberProps::unwrap)) + this(software.amazon.awscdk.services.securitylake.CfnSubscriber(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubscriberProps.Companion::unwrap)) ) public constructor( @@ -148,7 +148,7 @@ public open class CfnSubscriber( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnSubscriber( * Amazon Security Lake supports log and event collection for natively supported AWS services . */ public open fun sources(`value`: IResolvable) { - unwrap(this).setSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,14 +196,14 @@ public open class CfnSubscriber( * The AWS identity used to access your data. */ public open fun subscriberIdentity(`value`: IResolvable) { - unwrap(this).setSubscriberIdentity(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubscriberIdentity(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS identity used to access your data. */ public open fun subscriberIdentity(`value`: SubscriberIdentityProperty) { - unwrap(this).setSubscriberIdentity(`value`.let(SubscriberIdentityProperty::unwrap)) + unwrap(this).setSubscriberIdentity(`value`.let(SubscriberIdentityProperty.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public open class CfnSubscriber( * An array of objects, one for each tag to associate with the subscriber. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public open class CfnSubscriber( * AWS services . */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnSubscriber( * @param subscriberIdentity The AWS identity used to access your data. */ override fun subscriberIdentity(subscriberIdentity: IResolvable) { - cdkBuilder.subscriberIdentity(subscriberIdentity.let(IResolvable::unwrap)) + cdkBuilder.subscriberIdentity(subscriberIdentity.let(IResolvable.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class CfnSubscriber( * @param subscriberIdentity The AWS identity used to access your data. */ override fun subscriberIdentity(subscriberIdentity: SubscriberIdentityProperty) { - cdkBuilder.subscriberIdentity(subscriberIdentity.let(SubscriberIdentityProperty::unwrap)) + cdkBuilder.subscriberIdentity(subscriberIdentity.let(SubscriberIdentityProperty.Companion::unwrap)) } /** @@ -544,7 +544,7 @@ public open class CfnSubscriber( * @param tags An array of objects, one for each tag to associate with the subscriber. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -945,7 +945,7 @@ public open class CfnSubscriber( * source to collect logs and events from. */ override fun awsLogSource(awsLogSource: IResolvable) { - cdkBuilder.awsLogSource(awsLogSource.let(IResolvable::unwrap)) + cdkBuilder.awsLogSource(awsLogSource.let(IResolvable.Companion::unwrap)) } /** @@ -953,7 +953,7 @@ public open class CfnSubscriber( * source to collect logs and events from. */ override fun awsLogSource(awsLogSource: AwsLogSourceProperty) { - cdkBuilder.awsLogSource(awsLogSource.let(AwsLogSourceProperty::unwrap)) + cdkBuilder.awsLogSource(awsLogSource.let(AwsLogSourceProperty.Companion::unwrap)) } /** @@ -970,7 +970,7 @@ public open class CfnSubscriber( * source to collect logs and events from. */ override fun customLogSource(customLogSource: IResolvable) { - cdkBuilder.customLogSource(customLogSource.let(IResolvable::unwrap)) + cdkBuilder.customLogSource(customLogSource.let(IResolvable.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public open class CfnSubscriber( * source to collect logs and events from. */ override fun customLogSource(customLogSource: CustomLogSourceProperty) { - cdkBuilder.customLogSource(customLogSource.let(CustomLogSourceProperty::unwrap)) + cdkBuilder.customLogSource(customLogSource.let(CustomLogSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriberProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriberProps.kt index dbb5021332..0c8cd3421e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriberProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/securitylake/CfnSubscriberProps.kt @@ -253,7 +253,7 @@ public interface CfnSubscriberProps { * Guide](https://docs.aws.amazon.com//security-lake/latest/userguide/source-management.html) . */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -287,14 +287,14 @@ public interface CfnSubscriberProps { * @param subscriberIdentity The AWS identity used to access your data. */ override fun subscriberIdentity(subscriberIdentity: IResolvable) { - cdkBuilder.subscriberIdentity(subscriberIdentity.let(IResolvable::unwrap)) + cdkBuilder.subscriberIdentity(subscriberIdentity.let(IResolvable.Companion::unwrap)) } /** * @param subscriberIdentity The AWS identity used to access your data. */ override fun subscriberIdentity(subscriberIdentity: CfnSubscriber.SubscriberIdentityProperty) { - cdkBuilder.subscriberIdentity(subscriberIdentity.let(CfnSubscriber.SubscriberIdentityProperty::unwrap)) + cdkBuilder.subscriberIdentity(subscriberIdentity.let(CfnSubscriber.SubscriberIdentityProperty.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface CfnSubscriberProps { * but it can be an empty string. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnAcceptedPortfolioShare.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnAcceptedPortfolioShare.kt index 011e44ae86..0fe4bd50bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnAcceptedPortfolioShare.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnAcceptedPortfolioShare.kt @@ -38,8 +38,8 @@ public open class CfnAcceptedPortfolioShare( id: String, props: CfnAcceptedPortfolioShareProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnAcceptedPortfolioShare(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAcceptedPortfolioShareProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnAcceptedPortfolioShare(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAcceptedPortfolioShareProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnAcceptedPortfolioShare( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProduct.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProduct.kt index 847a004a96..8987bd1f03 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProduct.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProduct.kt @@ -80,8 +80,8 @@ public open class CfnCloudFormationProduct( id: String, props: CfnCloudFormationProductProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProduct(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCloudFormationProductProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProduct(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCloudFormationProductProps.Companion::unwrap)) ) public constructor( @@ -155,7 +155,7 @@ public open class CfnCloudFormationProduct( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnCloudFormationProduct( * The configuration of the provisioning artifact (also known as a version). */ public open fun provisioningArtifactParameters(`value`: IResolvable) { - unwrap(this).setProvisioningArtifactParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisioningArtifactParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnCloudFormationProduct( * This property is turned off by default. */ public open fun replaceProvisioningArtifacts(`value`: IResolvable) { - unwrap(this).setReplaceProvisioningArtifacts(`value`.let(IResolvable::unwrap)) + unwrap(this).setReplaceProvisioningArtifacts(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -249,14 +249,14 @@ public open class CfnCloudFormationProduct( * A top level `ProductViewDetail` response containing details about the product’s connection. */ public open fun sourceConnection(`value`: IResolvable) { - unwrap(this).setSourceConnection(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceConnection(`value`.let(IResolvable.Companion::unwrap)) } /** * A top level `ProductViewDetail` response containing details about the product’s connection. */ public open fun sourceConnection(`value`: SourceConnectionProperty) { - unwrap(this).setSourceConnection(`value`.let(SourceConnectionProperty::unwrap)) + unwrap(this).setSourceConnection(`value`.let(SourceConnectionProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnCloudFormationProduct( * One or more tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnCloudFormationProduct( * known as a version). */ override fun provisioningArtifactParameters(provisioningArtifactParameters: IResolvable) { - cdkBuilder.provisioningArtifactParameters(provisioningArtifactParameters.let(IResolvable::unwrap)) + cdkBuilder.provisioningArtifactParameters(provisioningArtifactParameters.let(IResolvable.Companion::unwrap)) } /** @@ -671,7 +671,7 @@ public open class CfnCloudFormationProduct( * @param replaceProvisioningArtifacts This property is turned off by default. */ override fun replaceProvisioningArtifacts(replaceProvisioningArtifacts: IResolvable) { - cdkBuilder.replaceProvisioningArtifacts(replaceProvisioningArtifacts.let(IResolvable::unwrap)) + cdkBuilder.replaceProvisioningArtifacts(replaceProvisioningArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public open class CfnCloudFormationProduct( * product’s connection. */ override fun sourceConnection(sourceConnection: IResolvable) { - cdkBuilder.sourceConnection(sourceConnection.let(IResolvable::unwrap)) + cdkBuilder.sourceConnection(sourceConnection.let(IResolvable.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class CfnCloudFormationProduct( * product’s connection. */ override fun sourceConnection(sourceConnection: SourceConnectionProperty) { - cdkBuilder.sourceConnection(sourceConnection.let(SourceConnectionProperty::unwrap)) + cdkBuilder.sourceConnection(sourceConnection.let(SourceConnectionProperty.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public open class CfnCloudFormationProduct( * @param tags One or more tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1034,14 +1034,14 @@ public open class CfnCloudFormationProduct( * @param codeStar Provides `ConnectionType` details. */ override fun codeStar(codeStar: IResolvable) { - cdkBuilder.codeStar(codeStar.let(IResolvable::unwrap)) + cdkBuilder.codeStar(codeStar.let(IResolvable.Companion::unwrap)) } /** * @param codeStar Provides `ConnectionType` details. */ override fun codeStar(codeStar: CodeStarParametersProperty) { - cdkBuilder.codeStar(codeStar.let(CodeStarParametersProperty::unwrap)) + cdkBuilder.codeStar(codeStar.let(CodeStarParametersProperty.Companion::unwrap)) } /** @@ -1248,7 +1248,7 @@ public open class CfnCloudFormationProduct( * specified provisioning artifact even if it is invalid. */ override fun disableTemplateValidation(disableTemplateValidation: IResolvable) { - cdkBuilder.disableTemplateValidation(disableTemplateValidation.let(IResolvable::unwrap)) + cdkBuilder.disableTemplateValidation(disableTemplateValidation.let(IResolvable.Companion::unwrap)) } /** @@ -1454,14 +1454,14 @@ public open class CfnCloudFormationProduct( * @param connectionParameters The connection details based on the connection `Type` . */ override fun connectionParameters(connectionParameters: IResolvable) { - cdkBuilder.connectionParameters(connectionParameters.let(IResolvable::unwrap)) + cdkBuilder.connectionParameters(connectionParameters.let(IResolvable.Companion::unwrap)) } /** * @param connectionParameters The connection details based on the connection `Type` . */ override fun connectionParameters(connectionParameters: ConnectionParametersProperty) { - cdkBuilder.connectionParameters(connectionParameters.let(ConnectionParametersProperty::unwrap)) + cdkBuilder.connectionParameters(connectionParameters.let(ConnectionParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProductProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProductProps.kt index 4f17294fcf..0a953fa428 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProductProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProductProps.kt @@ -370,7 +370,7 @@ public interface CfnCloudFormationProductProps { * known as a version). */ override fun provisioningArtifactParameters(provisioningArtifactParameters: IResolvable) { - cdkBuilder.provisioningArtifactParameters(provisioningArtifactParameters.let(IResolvable::unwrap)) + cdkBuilder.provisioningArtifactParameters(provisioningArtifactParameters.let(IResolvable.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public interface CfnCloudFormationProductProps { * the product or provisioning artifacts. */ override fun replaceProvisioningArtifacts(replaceProvisioningArtifacts: IResolvable) { - cdkBuilder.replaceProvisioningArtifacts(replaceProvisioningArtifacts.let(IResolvable::unwrap)) + cdkBuilder.replaceProvisioningArtifacts(replaceProvisioningArtifacts.let(IResolvable.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface CfnCloudFormationProductProps { * fields as the `ConnectionParameters` request, with the addition of the `LastSync` response. */ override fun sourceConnection(sourceConnection: IResolvable) { - cdkBuilder.sourceConnection(sourceConnection.let(IResolvable::unwrap)) + cdkBuilder.sourceConnection(sourceConnection.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface CfnCloudFormationProductProps { */ override fun sourceConnection(sourceConnection: CfnCloudFormationProduct.SourceConnectionProperty) { - cdkBuilder.sourceConnection(sourceConnection.let(CfnCloudFormationProduct.SourceConnectionProperty::unwrap)) + cdkBuilder.sourceConnection(sourceConnection.let(CfnCloudFormationProduct.SourceConnectionProperty.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface CfnCloudFormationProductProps { * @param tags One or more tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProduct.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProduct.kt index 10baccbc22..d9b0a2e30e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProduct.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProduct.kt @@ -76,7 +76,7 @@ public open class CfnCloudFormationProvisionedProduct( cdkObject: software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProvisionedProduct, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProvisionedProduct(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProvisionedProduct(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -85,8 +85,8 @@ public open class CfnCloudFormationProvisionedProduct( id: String, props: CfnCloudFormationProvisionedProductProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProvisionedProduct(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCloudFormationProvisionedProductProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProvisionedProduct(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCloudFormationProvisionedProductProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnCloudFormationProvisionedProduct( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnCloudFormationProvisionedProduct( * Parameters specified by the administrator that are required for provisioning the product. */ public open fun provisioningParameters(`value`: IResolvable) { - unwrap(this).setProvisioningParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisioningParameters(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public open class CfnCloudFormationProvisionedProduct( * product. */ public open fun provisioningPreferences(`value`: IResolvable) { - unwrap(this).setProvisioningPreferences(`value`.let(IResolvable::unwrap)) + unwrap(this).setProvisioningPreferences(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnCloudFormationProvisionedProduct( * product. */ public open fun provisioningPreferences(`value`: ProvisioningPreferencesProperty) { - unwrap(this).setProvisioningPreferences(`value`.let(ProvisioningPreferencesProperty::unwrap)) + unwrap(this).setProvisioningPreferences(`value`.let(ProvisioningPreferencesProperty.Companion::unwrap)) } /** @@ -313,7 +313,7 @@ public open class CfnCloudFormationProvisionedProduct( * One or more tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -720,7 +720,7 @@ public open class CfnCloudFormationProvisionedProduct( * provisioning the product. */ override fun provisioningParameters(provisioningParameters: IResolvable) { - cdkBuilder.provisioningParameters(provisioningParameters.let(IResolvable::unwrap)) + cdkBuilder.provisioningParameters(provisioningParameters.let(IResolvable.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public open class CfnCloudFormationProvisionedProduct( * product or updating a provisioned product. */ override fun provisioningPreferences(provisioningPreferences: IResolvable) { - cdkBuilder.provisioningPreferences(provisioningPreferences.let(IResolvable::unwrap)) + cdkBuilder.provisioningPreferences(provisioningPreferences.let(IResolvable.Companion::unwrap)) } /** @@ -765,7 +765,7 @@ public open class CfnCloudFormationProvisionedProduct( * product or updating a provisioned product. */ override fun provisioningPreferences(provisioningPreferences: ProvisioningPreferencesProperty) { - cdkBuilder.provisioningPreferences(provisioningPreferences.let(ProvisioningPreferencesProperty::unwrap)) + cdkBuilder.provisioningPreferences(provisioningPreferences.let(ProvisioningPreferencesProperty.Companion::unwrap)) } /** @@ -796,7 +796,7 @@ public open class CfnCloudFormationProvisionedProduct( * @param tags One or more tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProductProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProductProps.kt index 9c2d05abbd..896881dc09 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProductProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnCloudFormationProvisionedProductProps.kt @@ -465,7 +465,7 @@ public interface CfnCloudFormationProvisionedProductProps { * provisioning the product. */ override fun provisioningParameters(provisioningParameters: IResolvable) { - cdkBuilder.provisioningParameters(provisioningParameters.let(IResolvable::unwrap)) + cdkBuilder.provisioningParameters(provisioningParameters.let(IResolvable.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public interface CfnCloudFormationProvisionedProductProps { * product or updating a provisioned product. */ override fun provisioningPreferences(provisioningPreferences: IResolvable) { - cdkBuilder.provisioningPreferences(provisioningPreferences.let(IResolvable::unwrap)) + cdkBuilder.provisioningPreferences(provisioningPreferences.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface CfnCloudFormationProvisionedProductProps { */ override fun provisioningPreferences(provisioningPreferences: CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty) { - cdkBuilder.provisioningPreferences(provisioningPreferences.let(CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty::unwrap)) + cdkBuilder.provisioningPreferences(provisioningPreferences.let(CfnCloudFormationProvisionedProduct.ProvisioningPreferencesProperty.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public interface CfnCloudFormationProvisionedProductProps { * `RESOURCE_UPDATE` constraint is not present, tags updates are ignored. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchNotificationConstraint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchNotificationConstraint.kt index 29be0fc790..d4b94f7cb2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchNotificationConstraint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchNotificationConstraint.kt @@ -42,8 +42,8 @@ public open class CfnLaunchNotificationConstraint( id: String, props: CfnLaunchNotificationConstraintProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnLaunchNotificationConstraint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchNotificationConstraintProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnLaunchNotificationConstraint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchNotificationConstraintProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnLaunchNotificationConstraint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchRoleConstraint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchRoleConstraint.kt index fe0ac83790..dd9848c0ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchRoleConstraint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchRoleConstraint.kt @@ -42,8 +42,8 @@ public open class CfnLaunchRoleConstraint( id: String, props: CfnLaunchRoleConstraintProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnLaunchRoleConstraint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchRoleConstraintProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnLaunchRoleConstraint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchRoleConstraintProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnLaunchRoleConstraint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchTemplateConstraint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchTemplateConstraint.kt index f9a21e0cbf..039a1953f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchTemplateConstraint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnLaunchTemplateConstraint.kt @@ -41,8 +41,8 @@ public open class CfnLaunchTemplateConstraint( id: String, props: CfnLaunchTemplateConstraintProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnLaunchTemplateConstraint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLaunchTemplateConstraintProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnLaunchTemplateConstraint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLaunchTemplateConstraintProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnLaunchTemplateConstraint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolio.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolio.kt index 3887371516..d3db6ff967 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolio.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolio.kt @@ -47,8 +47,8 @@ public open class CfnPortfolio( id: String, props: CfnPortfolioProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnPortfolio(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPortfolioProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnPortfolio(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPortfolioProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnPortfolio( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnPortfolio( * One or more tags. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public open class CfnPortfolio( * @param tags One or more tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioPrincipalAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioPrincipalAssociation.kt index 50cc541ab2..8f07a6c9d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioPrincipalAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioPrincipalAssociation.kt @@ -40,8 +40,8 @@ public open class CfnPortfolioPrincipalAssociation( id: String, props: CfnPortfolioPrincipalAssociationProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnPortfolioPrincipalAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPortfolioPrincipalAssociationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnPortfolioPrincipalAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPortfolioPrincipalAssociationProps.Companion::unwrap)) ) public constructor( @@ -74,7 +74,7 @@ public open class CfnPortfolioPrincipalAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProductAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProductAssociation.kt index 63caa584d2..5c5e6011be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProductAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProductAssociation.kt @@ -42,8 +42,8 @@ public open class CfnPortfolioProductAssociation( id: String, props: CfnPortfolioProductAssociationProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnPortfolioProductAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPortfolioProductAssociationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnPortfolioProductAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPortfolioProductAssociationProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnPortfolioProductAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProps.kt index ce05794a34..20297f7d90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioProps.kt @@ -149,7 +149,7 @@ public interface CfnPortfolioProps { * @param tags One or more tags. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShare.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShare.kt index b48275e927..86eaf9cc1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShare.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShare.kt @@ -43,8 +43,8 @@ public open class CfnPortfolioShare( id: String, props: CfnPortfolioShareProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnPortfolioShare(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPortfolioShareProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnPortfolioShare(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPortfolioShareProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnPortfolioShare( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public open class CfnPortfolioShare( * Indicates whether TagOptions sharing is enabled or disabled for the portfolio share. */ public open fun shareTagOptions(`value`: IResolvable) { - unwrap(this).setShareTagOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setShareTagOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public open class CfnPortfolioShare( * portfolio share. */ override fun shareTagOptions(shareTagOptions: IResolvable) { - cdkBuilder.shareTagOptions(shareTagOptions.let(IResolvable::unwrap)) + cdkBuilder.shareTagOptions(shareTagOptions.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.CfnPortfolioShare = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShareProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShareProps.kt index 20db945dad..fdc827ea0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShareProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnPortfolioShareProps.kt @@ -143,7 +143,7 @@ public interface CfnPortfolioShareProps { * portfolio share. */ override fun shareTagOptions(shareTagOptions: IResolvable) { - cdkBuilder.shareTagOptions(shareTagOptions.let(IResolvable::unwrap)) + cdkBuilder.shareTagOptions(shareTagOptions.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.CfnPortfolioShareProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnResourceUpdateConstraint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnResourceUpdateConstraint.kt index d5724ea122..f19992a86b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnResourceUpdateConstraint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnResourceUpdateConstraint.kt @@ -41,8 +41,8 @@ public open class CfnResourceUpdateConstraint( id: String, props: CfnResourceUpdateConstraintProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnResourceUpdateConstraint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceUpdateConstraintProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnResourceUpdateConstraint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceUpdateConstraintProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnResourceUpdateConstraint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceAction.kt index 05d1f442e0..23f8d89e21 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceAction.kt @@ -48,8 +48,8 @@ public open class CfnServiceAction( id: String, props: CfnServiceActionProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnServiceAction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceActionProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnServiceAction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceActionProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnServiceAction( * A map that defines the self-service action. */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnServiceAction( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -243,7 +243,7 @@ public open class CfnServiceAction( * @param definition A map that defines the self-service action. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionAssociation.kt index 88e88e8f07..c98126a694 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionAssociation.kt @@ -39,8 +39,8 @@ public open class CfnServiceActionAssociation( id: String, props: CfnServiceActionAssociationProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnServiceActionAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceActionAssociationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnServiceActionAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceActionAssociationProps.Companion::unwrap)) ) public constructor( @@ -56,7 +56,7 @@ public open class CfnServiceActionAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionProps.kt index 3d545c6f23..0a54158918 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnServiceActionProps.kt @@ -141,7 +141,7 @@ public interface CfnServiceActionProps { * @param definition A map that defines the self-service action. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnStackSetConstraint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnStackSetConstraint.kt index c711c92fdb..3c78df7ce8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnStackSetConstraint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnStackSetConstraint.kt @@ -46,8 +46,8 @@ public open class CfnStackSetConstraint( id: String, props: CfnStackSetConstraintProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnStackSetConstraint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStackSetConstraintProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnStackSetConstraint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStackSetConstraintProps.Companion::unwrap)) ) public constructor( @@ -133,7 +133,7 @@ public open class CfnStackSetConstraint( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOption.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOption.kt index b186d6e13b..ec4ec0681b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOption.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOption.kt @@ -44,8 +44,8 @@ public open class CfnTagOption( id: String, props: CfnTagOptionProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnTagOption(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTagOptionProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnTagOption(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTagOptionProps.Companion::unwrap)) ) public constructor( @@ -71,7 +71,7 @@ public open class CfnTagOption( * The TagOption active state. */ public open fun active(`value`: IResolvable) { - unwrap(this).setActive(`value`.let(IResolvable::unwrap)) + unwrap(this).setActive(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public open class CfnTagOption( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnTagOption( * @param active The TagOption active state. */ override fun active(active: IResolvable) { - cdkBuilder.active(active.let(IResolvable::unwrap)) + cdkBuilder.active(active.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionAssociation.kt index 0c9d38b8ee..8dcd5934cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionAssociation.kt @@ -37,8 +37,8 @@ public open class CfnTagOptionAssociation( id: String, props: CfnTagOptionAssociationProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CfnTagOptionAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTagOptionAssociationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CfnTagOptionAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTagOptionAssociationProps.Companion::unwrap)) ) public constructor( @@ -59,7 +59,7 @@ public open class CfnTagOptionAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionProps.kt index 7b157802a0..8cf1a422e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnTagOptionProps.kt @@ -93,7 +93,7 @@ public interface CfnTagOptionProps { * @param active The TagOption active state. */ override fun active(active: IResolvable) { - cdkBuilder.active(active.let(IResolvable::unwrap)) + cdkBuilder.active(active.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProduct.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProduct.kt index 7f403fdf8d..1d8dae9d2a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProduct.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProduct.kt @@ -43,8 +43,8 @@ public open class CloudFormationProduct( id: String, props: CloudFormationProductProps, ) : - this(software.amazon.awscdk.services.servicecatalog.CloudFormationProduct(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CloudFormationProductProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.CloudFormationProduct(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CloudFormationProductProps.Companion::unwrap)) ) public constructor( @@ -223,7 +223,7 @@ public open class CloudFormationProduct( * @param messageLanguage The language code. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CloudFormationProduct( * @param productVersions The configuration of the product version. */ override fun productVersions(productVersions: List) { - cdkBuilder.productVersions(productVersions.map(CloudFormationProductVersion::unwrap)) + cdkBuilder.productVersions(productVersions.map(CloudFormationProductVersion.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CloudFormationProduct( * @param tagOptions TagOptions associated directly to a product. */ override fun tagOptions(tagOptions: TagOptions) { - cdkBuilder.tagOptions(tagOptions.let(TagOptions::unwrap)) + cdkBuilder.tagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.CloudFormationProduct = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductProps.kt index fed38c5e00..5f5c383d7b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductProps.kt @@ -202,7 +202,7 @@ public interface CloudFormationProductProps { * Controls language for logging and errors. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface CloudFormationProductProps { * @param productVersions The configuration of the product version. */ override fun productVersions(productVersions: List) { - cdkBuilder.productVersions(productVersions.map(CloudFormationProductVersion::unwrap)) + cdkBuilder.productVersions(productVersions.map(CloudFormationProductVersion.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public interface CloudFormationProductProps { * @param tagOptions TagOptions associated directly to a product. */ override fun tagOptions(tagOptions: TagOptions) { - cdkBuilder.tagOptions(tagOptions.let(TagOptions::unwrap)) + cdkBuilder.tagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.CloudFormationProductProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductVersion.kt index 40c91042ff..7c51531543 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationProductVersion.kt @@ -97,7 +97,7 @@ public interface CloudFormationProductVersion { * template. */ override fun cloudFormationTemplate(cloudFormationTemplate: CloudFormationTemplate) { - cdkBuilder.cloudFormationTemplate(cloudFormationTemplate.let(CloudFormationTemplate::unwrap)) + cdkBuilder.cloudFormationTemplate(cloudFormationTemplate.let(CloudFormationTemplate.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationRuleConstraintOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationRuleConstraintOptions.kt index 058eda01bf..d122419ee1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationRuleConstraintOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationRuleConstraintOptions.kt @@ -83,14 +83,14 @@ public interface CloudFormationRuleConstraintOptions : CommonConstraintOptions { * Configures the language for error messages from service catalog. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** * @param rule The rule with condition and assertions to apply to template. */ override fun rule(rule: TemplateRule) { - cdkBuilder.rule(rule.let(TemplateRule::unwrap)) + cdkBuilder.rule(rule.let(TemplateRule.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplate.kt index ea78383ff8..7a4a92cf4d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplate.kt @@ -44,7 +44,7 @@ public abstract class CloudFormationTemplate( * @param scope The binding scope. */ public open fun bind(scope: Construct): CloudFormationTemplateConfig = - unwrap(this).bind(scope.let(Construct::unwrap)).let(CloudFormationTemplateConfig::wrap) + unwrap(this).bind(scope.let(Construct.Companion::unwrap)).let(CloudFormationTemplateConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.servicecatalog.CloudFormationTemplate, @@ -56,7 +56,7 @@ public abstract class CloudFormationTemplate( public fun fromAsset(path: String, options: AssetOptions): CloudFormationTemplate = software.amazon.awscdk.services.servicecatalog.CloudFormationTemplate.fromAsset(path, - options.let(AssetOptions::unwrap)).let(CloudFormationTemplate::wrap) + options.let(AssetOptions.Companion::unwrap)).let(CloudFormationTemplate::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("c40d613b9b251d5ad7609ae25c41df88c1d5c450cd3ffe2fb4572e96fc442e95") @@ -64,7 +64,7 @@ public abstract class CloudFormationTemplate( CloudFormationTemplate = fromAsset(path, AssetOptions(options)) public fun fromProductStack(productStack: ProductStack): CloudFormationTemplate = - software.amazon.awscdk.services.servicecatalog.CloudFormationTemplate.fromProductStack(productStack.let(ProductStack::unwrap)).let(CloudFormationTemplate::wrap) + software.amazon.awscdk.services.servicecatalog.CloudFormationTemplate.fromProductStack(productStack.let(ProductStack.Companion::unwrap)).let(CloudFormationTemplate::wrap) public fun fromUrl(url: String): CloudFormationTemplate = software.amazon.awscdk.services.servicecatalog.CloudFormationTemplate.fromUrl(url).let(CloudFormationTemplate::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplateConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplateConfig.kt index ba325ba179..2b1e959704 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplateConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CloudFormationTemplateConfig.kt @@ -66,7 +66,7 @@ public interface CloudFormationTemplateConfig { * @param assetBucket The S3 bucket containing product stack assets. */ override fun assetBucket(assetBucket: IBucket) { - cdkBuilder.assetBucket(assetBucket.let(IBucket::unwrap)) + cdkBuilder.assetBucket(assetBucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CommonConstraintOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CommonConstraintOptions.kt index 06ac9a87db..cb1866e7c2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CommonConstraintOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CommonConstraintOptions.kt @@ -77,7 +77,7 @@ public interface CommonConstraintOptions { * Configures the language for error messages from service catalog. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.CommonConstraintOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IPortfolio.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IPortfolio.kt index e9a30c943d..3c694776d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IPortfolio.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IPortfolio.kt @@ -360,7 +360,7 @@ public interface IPortfolio : IResource { * @param product A service catalog produt. */ override fun addProduct(product: IProduct) { - unwrap(this).addProduct(product.let(IProduct::unwrap)) + unwrap(this).addProduct(product.let(IProduct.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public interface IPortfolio : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public interface IPortfolio : IResource { * @param tagOptions */ override fun associateTagOptions(tagOptions: TagOptions) { - unwrap(this).associateTagOptions(tagOptions.let(TagOptions::unwrap)) + unwrap(this).associateTagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } /** @@ -401,8 +401,8 @@ public interface IPortfolio : IResource { */ override fun constrainCloudFormationParameters(product: IProduct, options: CloudFormationRuleConstraintOptions) { - unwrap(this).constrainCloudFormationParameters(product.let(IProduct::unwrap), - options.let(CloudFormationRuleConstraintOptions::unwrap)) + unwrap(this).constrainCloudFormationParameters(product.let(IProduct.Companion::unwrap), + options.let(CloudFormationRuleConstraintOptions.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public interface IPortfolio : IResource { * @param options */ override fun constrainTagUpdates(product: IProduct) { - unwrap(this).constrainTagUpdates(product.let(IProduct::unwrap)) + unwrap(this).constrainTagUpdates(product.let(IProduct.Companion::unwrap)) } /** @@ -434,8 +434,8 @@ public interface IPortfolio : IResource { * @param options */ override fun constrainTagUpdates(product: IProduct, options: TagUpdateConstraintOptions) { - unwrap(this).constrainTagUpdates(product.let(IProduct::unwrap), - options.let(TagUpdateConstraintOptions::unwrap)) + unwrap(this).constrainTagUpdates(product.let(IProduct.Companion::unwrap), + options.let(TagUpdateConstraintOptions.Companion::unwrap)) } /** @@ -457,8 +457,8 @@ public interface IPortfolio : IResource { * @param options Configuration options for the constraint. */ override fun deployWithStackSets(product: IProduct, options: StackSetsConstraintOptions) { - unwrap(this).deployWithStackSets(product.let(IProduct::unwrap), - options.let(StackSetsConstraintOptions::unwrap)) + unwrap(this).deployWithStackSets(product.let(IProduct.Companion::unwrap), + options.let(StackSetsConstraintOptions.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface IPortfolio : IResource { * @param group an IAM Group. */ override fun giveAccessToGroup(group: IGroup) { - unwrap(this).giveAccessToGroup(group.let(IGroup::unwrap)) + unwrap(this).giveAccessToGroup(group.let(IGroup.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public interface IPortfolio : IResource { * @param role an IAM role. */ override fun giveAccessToRole(role: IRole) { - unwrap(this).giveAccessToRole(role.let(IRole::unwrap)) + unwrap(this).giveAccessToRole(role.let(IRole.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public interface IPortfolio : IResource { * @param user an IAM user. */ override fun giveAccessToUser(user: IUser) { - unwrap(this).giveAccessToUser(user.let(IUser::unwrap)) + unwrap(this).giveAccessToUser(user.let(IUser.Companion::unwrap)) } /** @@ -525,7 +525,8 @@ public interface IPortfolio : IResource { * @param options options for the constraint. */ override fun launchRole(product: IProduct, launchRole: IRole) { - unwrap(this).setLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap)) + unwrap(this).setLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap)) } /** @@ -545,8 +546,9 @@ public interface IPortfolio : IResource { launchRole: IRole, options: CommonConstraintOptions, ) { - unwrap(this).setLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap), - options.let(CommonConstraintOptions::unwrap)) + unwrap(this).setLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap), + options.let(CommonConstraintOptions.Companion::unwrap)) } /** @@ -580,7 +582,8 @@ public interface IPortfolio : IResource { * @param options options for the constraint. */ override fun localLaunchRole(product: IProduct, launchRole: IRole) { - unwrap(this).setLocalLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap)) + unwrap(this).setLocalLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap)) } /** @@ -598,8 +601,9 @@ public interface IPortfolio : IResource { launchRole: IRole, options: CommonConstraintOptions, ) { - unwrap(this).setLocalLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap), - options.let(CommonConstraintOptions::unwrap)) + unwrap(this).setLocalLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap), + options.let(CommonConstraintOptions.Companion::unwrap)) } /** @@ -634,7 +638,7 @@ public interface IPortfolio : IResource { * @param options options for the constraint. */ override fun localLaunchRoleName(product: IProduct, launchRoleName: String): IRole = - unwrap(this).setLocalLaunchRoleName(product.let(IProduct::unwrap), + unwrap(this).setLocalLaunchRoleName(product.let(IProduct.Companion::unwrap), launchRoleName).let(IRole::wrap) /** @@ -654,8 +658,8 @@ public interface IPortfolio : IResource { product: IProduct, launchRoleName: String, options: CommonConstraintOptions, - ): IRole = unwrap(this).setLocalLaunchRoleName(product.let(IProduct::unwrap), launchRoleName, - options.let(CommonConstraintOptions::unwrap)).let(IRole::wrap) + ): IRole = unwrap(this).setLocalLaunchRoleName(product.let(IProduct.Companion::unwrap), + launchRoleName, options.let(CommonConstraintOptions.Companion::unwrap)).let(IRole::wrap) /** * Force users to assume a certain role when launching a product. @@ -689,7 +693,8 @@ public interface IPortfolio : IResource { * @param options */ override fun notifyOnStackEvents(product: IProduct, topic: ITopic) { - unwrap(this).notifyOnStackEvents(product.let(IProduct::unwrap), topic.let(ITopic::unwrap)) + unwrap(this).notifyOnStackEvents(product.let(IProduct.Companion::unwrap), + topic.let(ITopic.Companion::unwrap)) } /** @@ -705,8 +710,9 @@ public interface IPortfolio : IResource { topic: ITopic, options: CommonConstraintOptions, ) { - unwrap(this).notifyOnStackEvents(product.let(IProduct::unwrap), topic.let(ITopic::unwrap), - options.let(CommonConstraintOptions::unwrap)) + unwrap(this).notifyOnStackEvents(product.let(IProduct.Companion::unwrap), + topic.let(ITopic.Companion::unwrap), + options.let(CommonConstraintOptions.Companion::unwrap)) } /** @@ -752,7 +758,7 @@ public interface IPortfolio : IResource { * @param options Options for the initiate share. */ override fun shareWithAccount(accountId: String, options: PortfolioShareOptions) { - unwrap(this).shareWithAccount(accountId, options.let(PortfolioShareOptions::unwrap)) + unwrap(this).shareWithAccount(accountId, options.let(PortfolioShareOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IProduct.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IProduct.kt index 7bcb55f0ac..c22ab0e3db 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IProduct.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/IProduct.kt @@ -59,7 +59,7 @@ public interface IProduct : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -77,7 +77,7 @@ public interface IProduct : IResource { * @param tagOptions */ override fun associateTagOptions(tagOptions: TagOptions) { - unwrap(this).associateTagOptions(tagOptions.let(TagOptions::unwrap)) + unwrap(this).associateTagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Portfolio.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Portfolio.kt index a2bb307206..33414c4a62 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Portfolio.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Portfolio.kt @@ -34,8 +34,8 @@ public open class Portfolio( id: String, props: PortfolioProps, ) : - this(software.amazon.awscdk.services.servicecatalog.Portfolio(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PortfolioProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.Portfolio(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PortfolioProps.Companion::unwrap)) ) public constructor( @@ -51,7 +51,7 @@ public open class Portfolio( * @param product */ public override fun addProduct(product: IProduct) { - unwrap(this).addProduct(product.let(IProduct::unwrap)) + unwrap(this).addProduct(product.let(IProduct.Companion::unwrap)) } /** @@ -63,7 +63,7 @@ public open class Portfolio( * @param tagOptions */ public override fun associateTagOptions(tagOptions: TagOptions) { - unwrap(this).associateTagOptions(tagOptions.let(TagOptions::unwrap)) + unwrap(this).associateTagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } /** @@ -74,8 +74,8 @@ public open class Portfolio( */ public override fun constrainCloudFormationParameters(product: IProduct, options: CloudFormationRuleConstraintOptions) { - unwrap(this).constrainCloudFormationParameters(product.let(IProduct::unwrap), - options.let(CloudFormationRuleConstraintOptions::unwrap)) + unwrap(this).constrainCloudFormationParameters(product.let(IProduct.Companion::unwrap), + options.let(CloudFormationRuleConstraintOptions.Companion::unwrap)) } /** @@ -97,7 +97,7 @@ public open class Portfolio( * @param options */ public override fun constrainTagUpdates(product: IProduct) { - unwrap(this).constrainTagUpdates(product.let(IProduct::unwrap)) + unwrap(this).constrainTagUpdates(product.let(IProduct.Companion::unwrap)) } /** @@ -107,8 +107,8 @@ public open class Portfolio( * @param options */ public override fun constrainTagUpdates(product: IProduct, options: TagUpdateConstraintOptions) { - unwrap(this).constrainTagUpdates(product.let(IProduct::unwrap), - options.let(TagUpdateConstraintOptions::unwrap)) + unwrap(this).constrainTagUpdates(product.let(IProduct.Companion::unwrap), + options.let(TagUpdateConstraintOptions.Companion::unwrap)) } /** @@ -130,8 +130,8 @@ public open class Portfolio( * @param options */ public override fun deployWithStackSets(product: IProduct, options: StackSetsConstraintOptions) { - unwrap(this).deployWithStackSets(product.let(IProduct::unwrap), - options.let(StackSetsConstraintOptions::unwrap)) + unwrap(this).deployWithStackSets(product.let(IProduct.Companion::unwrap), + options.let(StackSetsConstraintOptions.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class Portfolio( * @param group */ public override fun giveAccessToGroup(group: IGroup) { - unwrap(this).giveAccessToGroup(group.let(IGroup::unwrap)) + unwrap(this).giveAccessToGroup(group.let(IGroup.Companion::unwrap)) } /** @@ -161,7 +161,7 @@ public open class Portfolio( * @param role */ public override fun giveAccessToRole(role: IRole) { - unwrap(this).giveAccessToRole(role.let(IRole::unwrap)) + unwrap(this).giveAccessToRole(role.let(IRole.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class Portfolio( * @param user */ public override fun giveAccessToUser(user: IUser) { - unwrap(this).giveAccessToUser(user.let(IUser::unwrap)) + unwrap(this).giveAccessToUser(user.let(IUser.Companion::unwrap)) } /** @@ -185,7 +185,8 @@ public open class Portfolio( * @param options */ public override fun launchRole(product: IProduct, launchRole: IRole) { - unwrap(this).setLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap)) + unwrap(this).setLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap)) } /** @@ -204,8 +205,9 @@ public open class Portfolio( launchRole: IRole, options: CommonConstraintOptions, ) { - unwrap(this).setLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap), - options.let(CommonConstraintOptions::unwrap)) + unwrap(this).setLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap), + options.let(CommonConstraintOptions.Companion::unwrap)) } /** @@ -238,7 +240,8 @@ public open class Portfolio( * @param options */ public override fun localLaunchRole(product: IProduct, launchRole: IRole) { - unwrap(this).setLocalLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap)) + unwrap(this).setLocalLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap)) } /** @@ -256,8 +259,9 @@ public open class Portfolio( launchRole: IRole, options: CommonConstraintOptions, ) { - unwrap(this).setLocalLaunchRole(product.let(IProduct::unwrap), launchRole.let(IRole::unwrap), - options.let(CommonConstraintOptions::unwrap)) + unwrap(this).setLocalLaunchRole(product.let(IProduct.Companion::unwrap), + launchRole.let(IRole.Companion::unwrap), + options.let(CommonConstraintOptions.Companion::unwrap)) } /** @@ -291,7 +295,7 @@ public open class Portfolio( * @param options */ public override fun localLaunchRoleName(product: IProduct, launchRoleName: String): IRole = - unwrap(this).setLocalLaunchRoleName(product.let(IProduct::unwrap), + unwrap(this).setLocalLaunchRoleName(product.let(IProduct.Companion::unwrap), launchRoleName).let(IRole::wrap) /** @@ -310,8 +314,8 @@ public open class Portfolio( product: IProduct, launchRoleName: String, options: CommonConstraintOptions, - ): IRole = unwrap(this).setLocalLaunchRoleName(product.let(IProduct::unwrap), launchRoleName, - options.let(CommonConstraintOptions::unwrap)).let(IRole::wrap) + ): IRole = unwrap(this).setLocalLaunchRoleName(product.let(IProduct.Companion::unwrap), + launchRoleName, options.let(CommonConstraintOptions.Companion::unwrap)).let(IRole::wrap) /** * Force users to assume a certain role when launching a product. @@ -341,7 +345,8 @@ public open class Portfolio( * @param options */ public override fun notifyOnStackEvents(product: IProduct, topic: ITopic) { - unwrap(this).notifyOnStackEvents(product.let(IProduct::unwrap), topic.let(ITopic::unwrap)) + unwrap(this).notifyOnStackEvents(product.let(IProduct.Companion::unwrap), + topic.let(ITopic.Companion::unwrap)) } /** @@ -356,8 +361,8 @@ public open class Portfolio( topic: ITopic, options: CommonConstraintOptions, ) { - unwrap(this).notifyOnStackEvents(product.let(IProduct::unwrap), topic.let(ITopic::unwrap), - options.let(CommonConstraintOptions::unwrap)) + unwrap(this).notifyOnStackEvents(product.let(IProduct.Companion::unwrap), + topic.let(ITopic.Companion::unwrap), options.let(CommonConstraintOptions.Companion::unwrap)) } /** @@ -402,7 +407,7 @@ public open class Portfolio( * @param options */ public override fun shareWithAccount(accountId: String, options: PortfolioShareOptions) { - unwrap(this).shareWithAccount(accountId, options.let(PortfolioShareOptions::unwrap)) + unwrap(this).shareWithAccount(accountId, options.let(PortfolioShareOptions.Companion::unwrap)) } /** @@ -505,7 +510,7 @@ public open class Portfolio( * @param messageLanguage The message language. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** @@ -525,7 +530,7 @@ public open class Portfolio( * @param tagOptions TagOptions associated directly to a portfolio. */ override fun tagOptions(tagOptions: TagOptions) { - cdkBuilder.tagOptions(tagOptions.let(TagOptions::unwrap)) + cdkBuilder.tagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.Portfolio = @@ -538,7 +543,7 @@ public open class Portfolio( id: String, portfolioArn: String, ): IPortfolio = - software.amazon.awscdk.services.servicecatalog.Portfolio.fromPortfolioArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.servicecatalog.Portfolio.fromPortfolioArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, portfolioArn).let(IPortfolio::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioProps.kt index c2969696c0..f0a02948d6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioProps.kt @@ -113,7 +113,7 @@ public interface PortfolioProps { * status logging and errors. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface PortfolioProps { * @param tagOptions TagOptions associated directly to a portfolio. */ override fun tagOptions(tagOptions: TagOptions) { - cdkBuilder.tagOptions(tagOptions.let(TagOptions::unwrap)) + cdkBuilder.tagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.PortfolioProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioShareOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioShareOptions.kt index 28618d0283..6672e8e9ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioShareOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/PortfolioShareOptions.kt @@ -68,7 +68,7 @@ public interface PortfolioShareOptions { * Controls status and error message language for share. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Product.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Product.kt index 9038713928..107f38bbfb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Product.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/Product.kt @@ -40,7 +40,7 @@ public abstract class Product( * @param tagOptions */ public override fun associateTagOptions(tagOptions: TagOptions) { - unwrap(this).associateTagOptions(tagOptions.let(TagOptions::unwrap)) + unwrap(this).associateTagOptions(tagOptions.let(TagOptions.Companion::unwrap)) } /** @@ -63,7 +63,7 @@ public abstract class Product( id: String, productArn: String, ): IProduct = - software.amazon.awscdk.services.servicecatalog.Product.fromProductArn(scope.let(Construct::unwrap), + software.amazon.awscdk.services.servicecatalog.Product.fromProductArn(scope.let(Construct.Companion::unwrap), id, productArn).let(IProduct::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.servicecatalog.Product): Product = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStack.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStack.kt index cc293cf30b..b407b63f53 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStack.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStack.kt @@ -6,6 +6,7 @@ import io.cloudshiftdev.awscdk.Stack import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.services.s3.IBucket import io.cloudshiftdev.awscdk.services.s3.deployment.ServerSideEncryption +import kotlin.Number import kotlin.String import kotlin.Unit import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct @@ -47,7 +48,7 @@ public open class ProductStack( cdkObject: software.amazon.awscdk.services.servicecatalog.ProductStack, ) : Stack(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.servicecatalog.ProductStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.servicecatalog.ProductStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -56,8 +57,8 @@ public open class ProductStack( id: String, props: ProductStackProps, ) : - this(software.amazon.awscdk.services.servicecatalog.ProductStack(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ProductStackProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.ProductStack(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ProductStackProps.Companion::unwrap)) ) public constructor( @@ -89,6 +90,20 @@ public open class ProductStack( */ public fun assetBucket(assetBucket: IBucket) + /** + * The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the + * files from the CDK bucket to the destination bucket. + * + * If you are deploying large files, you will need to increase this number + * accordingly. + * + * Default: 128 + * + * @param memoryLimit The amount of memory (in MiB) to allocate to the AWS Lambda function which + * replicates the files from the CDK bucket to the destination bucket. + */ + public fun memoryLimit(memoryLimit: Number) + /** * A ServerSideEncryption can be enabled to encrypt assets that are put into assetBucket. * @@ -127,7 +142,23 @@ public open class ProductStack( * support. */ override fun assetBucket(assetBucket: IBucket) { - cdkBuilder.assetBucket(assetBucket.let(IBucket::unwrap)) + cdkBuilder.assetBucket(assetBucket.let(IBucket.Companion::unwrap)) + } + + /** + * The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the + * files from the CDK bucket to the destination bucket. + * + * If you are deploying large files, you will need to increase this number + * accordingly. + * + * Default: 128 + * + * @param memoryLimit The amount of memory (in MiB) to allocate to the AWS Lambda function which + * replicates the files from the CDK bucket to the destination bucket. + */ + override fun memoryLimit(memoryLimit: Number) { + cdkBuilder.memoryLimit(memoryLimit) } /** @@ -139,7 +170,7 @@ public open class ProductStack( * put into assetBucket. */ override fun serverSideEncryption(serverSideEncryption: ServerSideEncryption) { - cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption::unwrap)) + cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistory.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistory.kt index 41cc05e7ab..05feed0620 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistory.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistory.kt @@ -43,8 +43,8 @@ public open class ProductStackHistory( id: String, props: ProductStackHistoryProps, ) : - this(software.amazon.awscdk.services.servicecatalog.ProductStackHistory(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ProductStackHistoryProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.ProductStackHistory(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ProductStackHistoryProps.Companion::unwrap)) ) public constructor( @@ -184,7 +184,7 @@ public open class ProductStackHistory( * @param productStack The ProductStack whose history will be retained as a snapshot. */ override fun productStack(productStack: ProductStack) { - cdkBuilder.productStack(productStack.let(ProductStack::unwrap)) + cdkBuilder.productStack(productStack.let(ProductStack.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistoryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistoryProps.kt index 960f4952c0..8a3eaf0374 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistoryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackHistoryProps.kt @@ -151,7 +151,7 @@ public interface ProductStackHistoryProps { * @param productStack The ProductStack whose history will be retained as a snapshot. */ override fun productStack(productStack: ProductStack) { - cdkBuilder.productStack(productStack.let(ProductStack::unwrap)) + cdkBuilder.productStack(productStack.let(ProductStack.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackProps.kt index 87c16857da..9813c8d0bc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/ProductStackProps.kt @@ -7,6 +7,7 @@ import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import io.cloudshiftdev.awscdk.services.s3.IBucket import io.cloudshiftdev.awscdk.services.s3.deployment.ServerSideEncryption +import kotlin.Number import kotlin.String import kotlin.Unit @@ -53,6 +54,17 @@ public interface ProductStackProps { */ public fun assetBucket(): IBucket? = unwrap(this).getAssetBucket()?.let(IBucket::wrap) + /** + * The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the files + * from the CDK bucket to the destination bucket. + * + * If you are deploying large files, you will need to increase this number + * accordingly. + * + * Default: 128 + */ + public fun memoryLimit(): Number? = unwrap(this).getMemoryLimit() + /** * A ServerSideEncryption can be enabled to encrypt assets that are put into assetBucket. * @@ -81,6 +93,14 @@ public interface ProductStackProps { */ public fun assetBucket(assetBucket: IBucket) + /** + * @param memoryLimit The amount of memory (in MiB) to allocate to the AWS Lambda function which + * replicates the files from the CDK bucket to the destination bucket. + * If you are deploying large files, you will need to increase this number + * accordingly. + */ + public fun memoryLimit(memoryLimit: Number) + /** * @param serverSideEncryption A ServerSideEncryption can be enabled to encrypt assets that are * put into assetBucket. @@ -103,7 +123,17 @@ public interface ProductStackProps { * support. */ override fun assetBucket(assetBucket: IBucket) { - cdkBuilder.assetBucket(assetBucket.let(IBucket::unwrap)) + cdkBuilder.assetBucket(assetBucket.let(IBucket.Companion::unwrap)) + } + + /** + * @param memoryLimit The amount of memory (in MiB) to allocate to the AWS Lambda function which + * replicates the files from the CDK bucket to the destination bucket. + * If you are deploying large files, you will need to increase this number + * accordingly. + */ + override fun memoryLimit(memoryLimit: Number) { + cdkBuilder.memoryLimit(memoryLimit) } /** @@ -111,7 +141,7 @@ public interface ProductStackProps { * put into assetBucket. */ override fun serverSideEncryption(serverSideEncryption: ServerSideEncryption) { - cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption::unwrap)) + cdkBuilder.serverSideEncryption(serverSideEncryption.let(ServerSideEncryption.Companion::unwrap)) } /** @@ -136,6 +166,17 @@ public interface ProductStackProps { */ override fun assetBucket(): IBucket? = unwrap(this).getAssetBucket()?.let(IBucket::wrap) + /** + * The amount of memory (in MiB) to allocate to the AWS Lambda function which replicates the + * files from the CDK bucket to the destination bucket. + * + * If you are deploying large files, you will need to increase this number + * accordingly. + * + * Default: 128 + */ + override fun memoryLimit(): Number? = unwrap(this).getMemoryLimit() + /** * A ServerSideEncryption can be enabled to encrypt assets that are put into assetBucket. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/StackSetsConstraintOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/StackSetsConstraintOptions.kt index b9353a3b4d..30b862eff6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/StackSetsConstraintOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/StackSetsConstraintOptions.kt @@ -134,7 +134,7 @@ public interface StackSetsConstraintOptions : CommonConstraintOptions { * @param adminRole IAM role used to administer the StackSets configuration. */ override fun adminRole(adminRole: IRole) { - cdkBuilder.adminRole(adminRole.let(IRole::unwrap)) + cdkBuilder.adminRole(adminRole.let(IRole.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public interface StackSetsConstraintOptions : CommonConstraintOptions { * Configures the language for error messages from service catalog. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagOptions.kt index 0a76be0cae..4cb82e3f9f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagOptions.kt @@ -43,8 +43,8 @@ public open class TagOptions( id: String, props: TagOptionsProps, ) : - this(software.amazon.awscdk.services.servicecatalog.TagOptions(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TagOptionsProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalog.TagOptions(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TagOptionsProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagUpdateConstraintOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagUpdateConstraintOptions.kt index 5514ce37a9..5bc210bd42 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagUpdateConstraintOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TagUpdateConstraintOptions.kt @@ -79,7 +79,7 @@ public interface TagUpdateConstraintOptions : CommonConstraintOptions { * Configures the language for error messages from service catalog. */ override fun messageLanguage(messageLanguage: MessageLanguage) { - cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage::unwrap)) + cdkBuilder.messageLanguage(messageLanguage.let(MessageLanguage.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicecatalog.TagUpdateConstraintOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRule.kt index 47ed0cc834..a91719992e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRule.kt @@ -85,7 +85,7 @@ public interface TemplateRule { * @param assertions A list of assertions that make up the rule. */ override fun assertions(assertions: List) { - cdkBuilder.assertions(assertions.map(TemplateRuleAssertion::unwrap)) + cdkBuilder.assertions(assertions.map(TemplateRuleAssertion.Companion::unwrap)) } /** @@ -98,7 +98,7 @@ public interface TemplateRule { * @param condition Specify when to apply rule with a rule-specific intrinsic function. */ override fun condition(condition: ICfnRuleConditionExpression) { - cdkBuilder.condition(condition.let(ICfnRuleConditionExpression::unwrap)) + cdkBuilder.condition(condition.let(ICfnRuleConditionExpression.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRuleAssertion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRuleAssertion.kt index 282d3b7111..f0eb5286d0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRuleAssertion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/TemplateRuleAssertion.kt @@ -65,7 +65,7 @@ public interface TemplateRuleAssertion { * @param assertValue The assertion condition. */ override fun assertValue(assertValue: ICfnRuleConditionExpression) { - cdkBuilder.assertValue(assertValue.let(ICfnRuleConditionExpression::unwrap)) + cdkBuilder.assertValue(assertValue.let(ICfnRuleConditionExpression.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnApplication.kt index 36d61b3b36..78266a0945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnApplication.kt @@ -43,8 +43,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.servicecatalogappregistry.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalogappregistry.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -105,7 +105,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroup.kt index 1f2a258665..639bb18ba2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroup.kt @@ -49,8 +49,8 @@ public open class CfnAttributeGroup( id: String, props: CfnAttributeGroupProps, ) : - this(software.amazon.awscdk.services.servicecatalogappregistry.CfnAttributeGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAttributeGroupProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalogappregistry.CfnAttributeGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAttributeGroupProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnAttributeGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroupAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroupAssociation.kt index 5f6e89c260..20070eb36b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroupAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnAttributeGroupAssociation.kt @@ -41,8 +41,8 @@ public open class CfnAttributeGroupAssociation( id: String, props: CfnAttributeGroupAssociationProps, ) : - this(software.amazon.awscdk.services.servicecatalogappregistry.CfnAttributeGroupAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAttributeGroupAssociationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalogappregistry.CfnAttributeGroupAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAttributeGroupAssociationProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnAttributeGroupAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnResourceAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnResourceAssociation.kt index fdd34a8273..bdabf1cb1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnResourceAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalogappregistry/CfnResourceAssociation.kt @@ -40,8 +40,8 @@ public open class CfnResourceAssociation( id: String, props: CfnResourceAssociationProps, ) : - this(software.amazon.awscdk.services.servicecatalogappregistry.CfnResourceAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceAssociationProps::unwrap)) + this(software.amazon.awscdk.services.servicecatalogappregistry.CfnResourceAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceAssociationProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnResourceAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstance.kt index 7cd6073902..04ed8dfdd8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstance.kt @@ -41,8 +41,8 @@ public open class AliasTargetInstance( id: String, props: AliasTargetInstanceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.AliasTargetInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AliasTargetInstanceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.AliasTargetInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AliasTargetInstanceProps.Companion::unwrap)) ) public constructor( @@ -151,7 +151,7 @@ public open class AliasTargetInstance( * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.AliasTargetInstance = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstanceProps.kt index d80ed1824d..f5b79579a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/AliasTargetInstanceProps.kt @@ -94,7 +94,7 @@ public interface AliasTargetInstanceProps : BaseInstanceProps { * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.AliasTargetInstanceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/BaseServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/BaseServiceProps.kt index d9f6de7478..5b732e8888 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/BaseServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/BaseServiceProps.kt @@ -151,7 +151,7 @@ public interface BaseServiceProps { * See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html */ override fun customHealthCheck(customHealthCheck: HealthCheckCustomConfig) { - cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig::unwrap)) + cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface BaseServiceProps { * this service. */ override fun healthCheck(healthCheck: HealthCheckConfig) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespace.kt index 7548c6a9ab..27ff57bf2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespace.kt @@ -53,8 +53,8 @@ public open class CfnHttpNamespace( id: String, props: CfnHttpNamespaceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.CfnHttpNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnHttpNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.CfnHttpNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnHttpNamespaceProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnHttpNamespace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnHttpNamespace( * The tags for the namespace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -216,7 +216,7 @@ public open class CfnHttpNamespace( * @param tags The tags for the namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespaceProps.kt index 3b2aa2b9ac..e0c9580cd2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnHttpNamespaceProps.kt @@ -116,7 +116,7 @@ public interface CfnHttpNamespaceProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnInstance.kt index 004880d309..f09555d235 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnInstance.kt @@ -41,8 +41,8 @@ public open class CfnInstance( id: String, props: CfnInstanceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.CfnInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.CfnInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceProps.Companion::unwrap)) ) public constructor( @@ -58,7 +58,7 @@ public open class CfnInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespace.kt index ac59b5eea8..512e2023b5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespace.kt @@ -68,8 +68,8 @@ public open class CfnPrivateDnsNamespace( id: String, props: CfnPrivateDnsNamespaceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.CfnPrivateDnsNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPrivateDnsNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.CfnPrivateDnsNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPrivateDnsNamespaceProps.Companion::unwrap)) ) public constructor( @@ -112,7 +112,7 @@ public open class CfnPrivateDnsNamespace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,14 +136,14 @@ public open class CfnPrivateDnsNamespace( * Properties for the private DNS namespace. */ public open fun properties(`value`: IResolvable) { - unwrap(this).setProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * Properties for the private DNS namespace. */ public open fun properties(`value`: PropertiesProperty) { - unwrap(this).setProperties(`value`.let(PropertiesProperty::unwrap)) + unwrap(this).setProperties(`value`.let(PropertiesProperty.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnPrivateDnsNamespace( * The tags for the namespace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class CfnPrivateDnsNamespace( * @param properties Properties for the private DNS namespace. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnPrivateDnsNamespace( * @param properties Properties for the private DNS namespace. */ override fun properties(properties: PropertiesProperty) { - cdkBuilder.properties(properties.let(PropertiesProperty::unwrap)) + cdkBuilder.properties(properties.let(PropertiesProperty.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CfnPrivateDnsNamespace( * @param tags The tags for the namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CfnPrivateDnsNamespace( * private DNS namespace. */ override fun soa(soa: IResolvable) { - cdkBuilder.soa(soa.let(IResolvable::unwrap)) + cdkBuilder.soa(soa.let(IResolvable.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class CfnPrivateDnsNamespace( * private DNS namespace. */ override fun soa(soa: SOAProperty) { - cdkBuilder.soa(soa.let(SOAProperty::unwrap)) + cdkBuilder.soa(soa.let(SOAProperty.Companion::unwrap)) } /** @@ -580,14 +580,14 @@ public open class CfnPrivateDnsNamespace( * @param dnsProperties DNS properties for the private DNS namespace. */ override fun dnsProperties(dnsProperties: IResolvable) { - cdkBuilder.dnsProperties(dnsProperties.let(IResolvable::unwrap)) + cdkBuilder.dnsProperties(dnsProperties.let(IResolvable.Companion::unwrap)) } /** * @param dnsProperties DNS properties for the private DNS namespace. */ override fun dnsProperties(dnsProperties: PrivateDnsPropertiesMutableProperty) { - cdkBuilder.dnsProperties(dnsProperties.let(PrivateDnsPropertiesMutableProperty::unwrap)) + cdkBuilder.dnsProperties(dnsProperties.let(PrivateDnsPropertiesMutableProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespaceProps.kt index b17e9afb00..313170ef0b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPrivateDnsNamespaceProps.kt @@ -167,14 +167,14 @@ public interface CfnPrivateDnsNamespaceProps { * @param properties Properties for the private DNS namespace. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** * @param properties Properties for the private DNS namespace. */ override fun properties(properties: CfnPrivateDnsNamespace.PropertiesProperty) { - cdkBuilder.properties(properties.let(CfnPrivateDnsNamespace.PropertiesProperty::unwrap)) + cdkBuilder.properties(properties.let(CfnPrivateDnsNamespace.PropertiesProperty.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface CfnPrivateDnsNamespaceProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespace.kt index 7219bb9398..6d84204020 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespace.kt @@ -71,8 +71,8 @@ public open class CfnPublicDnsNamespace( id: String, props: CfnPublicDnsNamespaceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.CfnPublicDnsNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPublicDnsNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.CfnPublicDnsNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPublicDnsNamespaceProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnPublicDnsNamespace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -139,14 +139,14 @@ public open class CfnPublicDnsNamespace( * Properties for the public DNS namespace. */ public open fun properties(`value`: IResolvable) { - unwrap(this).setProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * Properties for the public DNS namespace. */ public open fun properties(`value`: PropertiesProperty) { - unwrap(this).setProperties(`value`.let(PropertiesProperty::unwrap)) + unwrap(this).setProperties(`value`.let(PropertiesProperty.Companion::unwrap)) } /** @@ -172,7 +172,7 @@ public open class CfnPublicDnsNamespace( * The tags for the namespace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public open class CfnPublicDnsNamespace( * @param properties Properties for the public DNS namespace. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnPublicDnsNamespace( * @param properties Properties for the public DNS namespace. */ override fun properties(properties: PropertiesProperty) { - cdkBuilder.properties(properties.let(PropertiesProperty::unwrap)) + cdkBuilder.properties(properties.let(PropertiesProperty.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CfnPublicDnsNamespace( * @param tags The tags for the namespace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -435,14 +435,14 @@ public open class CfnPublicDnsNamespace( * @param dnsProperties DNS properties for the public DNS namespace. */ override fun dnsProperties(dnsProperties: IResolvable) { - cdkBuilder.dnsProperties(dnsProperties.let(IResolvable::unwrap)) + cdkBuilder.dnsProperties(dnsProperties.let(IResolvable.Companion::unwrap)) } /** * @param dnsProperties DNS properties for the public DNS namespace. */ override fun dnsProperties(dnsProperties: PublicDnsPropertiesMutableProperty) { - cdkBuilder.dnsProperties(dnsProperties.let(PublicDnsPropertiesMutableProperty::unwrap)) + cdkBuilder.dnsProperties(dnsProperties.let(PublicDnsPropertiesMutableProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnPublicDnsNamespace( * namespace. */ override fun soa(soa: IResolvable) { - cdkBuilder.soa(soa.let(IResolvable::unwrap)) + cdkBuilder.soa(soa.let(IResolvable.Companion::unwrap)) } /** @@ -560,7 +560,7 @@ public open class CfnPublicDnsNamespace( * namespace. */ override fun soa(soa: SOAProperty) { - cdkBuilder.soa(soa.let(SOAProperty::unwrap)) + cdkBuilder.soa(soa.let(SOAProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespaceProps.kt index 4f0d71b74d..7b35972669 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespaceProps.kt @@ -158,14 +158,14 @@ public interface CfnPublicDnsNamespaceProps { * @param properties Properties for the public DNS namespace. */ override fun properties(properties: IResolvable) { - cdkBuilder.properties(properties.let(IResolvable::unwrap)) + cdkBuilder.properties(properties.let(IResolvable.Companion::unwrap)) } /** * @param properties Properties for the public DNS namespace. */ override fun properties(properties: CfnPublicDnsNamespace.PropertiesProperty) { - cdkBuilder.properties(properties.let(CfnPublicDnsNamespace.PropertiesProperty::unwrap)) + cdkBuilder.properties(properties.let(CfnPublicDnsNamespace.PropertiesProperty.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public interface CfnPublicDnsNamespaceProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnService.kt index 698a242d4c..913471c533 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnService.kt @@ -76,7 +76,7 @@ public open class CfnService( cdkObject: software.amazon.awscdk.services.servicediscovery.CfnService, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.servicediscovery.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.servicediscovery.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -85,8 +85,8 @@ public open class CfnService( id: String, props: CfnServiceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceProps.Companion::unwrap)) ) public constructor( @@ -134,7 +134,7 @@ public open class CfnService( * Map to create when you register an instance. */ public open fun dnsConfig(`value`: IResolvable) { - unwrap(this).setDnsConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setDnsConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnService( * Map to create when you register an instance. */ public open fun dnsConfig(`value`: DnsConfigProperty) { - unwrap(this).setDnsConfig(`value`.let(DnsConfigProperty::unwrap)) + unwrap(this).setDnsConfig(`value`.let(DnsConfigProperty.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public open class CfnService( * check with the records that you specify in `DnsConfig` . */ public open fun healthCheckConfig(`value`: IResolvable) { - unwrap(this).setHealthCheckConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheckConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnService( * check with the records that you specify in `DnsConfig` . */ public open fun healthCheckConfig(`value`: HealthCheckConfigProperty) { - unwrap(this).setHealthCheckConfig(`value`.let(HealthCheckConfigProperty::unwrap)) + unwrap(this).setHealthCheckConfig(`value`.let(HealthCheckConfigProperty.Companion::unwrap)) } /** @@ -198,14 +198,14 @@ public open class CfnService( * A complex type that contains information about an optional custom health check. */ public open fun healthCheckCustomConfig(`value`: IResolvable) { - unwrap(this).setHealthCheckCustomConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setHealthCheckCustomConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A complex type that contains information about an optional custom health check. */ public open fun healthCheckCustomConfig(`value`: HealthCheckCustomConfigProperty) { - unwrap(this).setHealthCheckCustomConfig(`value`.let(HealthCheckCustomConfigProperty::unwrap)) + unwrap(this).setHealthCheckCustomConfig(`value`.let(HealthCheckCustomConfigProperty.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public open class CfnService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public open class CfnService( * The tags for the service. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public open class CfnService( * you want AWS Cloud Map to create when you register an instance. */ override fun dnsConfig(dnsConfig: IResolvable) { - cdkBuilder.dnsConfig(dnsConfig.let(IResolvable::unwrap)) + cdkBuilder.dnsConfig(dnsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class CfnService( * you want AWS Cloud Map to create when you register an instance. */ override fun dnsConfig(dnsConfig: DnsConfigProperty) { - cdkBuilder.dnsConfig(dnsConfig.let(DnsConfigProperty::unwrap)) + cdkBuilder.dnsConfig(dnsConfig.let(DnsConfigProperty.Companion::unwrap)) } /** @@ -581,7 +581,7 @@ public open class CfnService( * associates the health check with the records that you specify in `DnsConfig` . */ override fun healthCheckConfig(healthCheckConfig: IResolvable) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnService( * associates the health check with the records that you specify in `DnsConfig` . */ override fun healthCheckConfig(healthCheckConfig: HealthCheckConfigProperty) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(HealthCheckConfigProperty::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(HealthCheckConfigProperty.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class CfnService( * custom health check. */ override fun healthCheckCustomConfig(healthCheckCustomConfig: IResolvable) { - cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(IResolvable.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class CfnService( * custom health check. */ override fun healthCheckCustomConfig(healthCheckCustomConfig: HealthCheckCustomConfigProperty) { - cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(HealthCheckCustomConfigProperty::unwrap)) + cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(HealthCheckCustomConfigProperty.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class CfnService( * @param tags The tags for the service. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public open class CfnService( * record that you want AWS Cloud Map to create when you register an instance. */ override fun dnsRecords(dnsRecords: IResolvable) { - cdkBuilder.dnsRecords(dnsRecords.let(IResolvable::unwrap)) + cdkBuilder.dnsRecords(dnsRecords.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnServiceProps.kt index a624c11ec7..bcbee9fef8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnServiceProps.kt @@ -297,7 +297,7 @@ public interface CfnServiceProps { * with a new `Dnsconfig` . */ override fun dnsConfig(dnsConfig: IResolvable) { - cdkBuilder.dnsConfig(dnsConfig.let(IResolvable::unwrap)) + cdkBuilder.dnsConfig(dnsConfig.let(IResolvable.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface CfnServiceProps { * with a new `Dnsconfig` . */ override fun dnsConfig(dnsConfig: CfnService.DnsConfigProperty) { - cdkBuilder.dnsConfig(dnsConfig.let(CfnService.DnsConfigProperty::unwrap)) + cdkBuilder.dnsConfig(dnsConfig.let(CfnService.DnsConfigProperty.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface CfnServiceProps { * Pricing](https://docs.aws.amazon.com/route53/pricing/) . */ override fun healthCheckConfig(healthCheckConfig: IResolvable) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(IResolvable.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface CfnServiceProps { * Pricing](https://docs.aws.amazon.com/route53/pricing/) . */ override fun healthCheckConfig(healthCheckConfig: CfnService.HealthCheckConfigProperty) { - cdkBuilder.healthCheckConfig(healthCheckConfig.let(CfnService.HealthCheckConfigProperty::unwrap)) + cdkBuilder.healthCheckConfig(healthCheckConfig.let(CfnService.HealthCheckConfigProperty.Companion::unwrap)) } /** @@ -366,7 +366,7 @@ public interface CfnServiceProps { * or `HealthCheckConfig` but not both. */ override fun healthCheckCustomConfig(healthCheckCustomConfig: IResolvable) { - cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(IResolvable::unwrap)) + cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface CfnServiceProps { */ override fun healthCheckCustomConfig(healthCheckCustomConfig: CfnService.HealthCheckCustomConfigProperty) { - cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(CfnService.HealthCheckCustomConfigProperty::unwrap)) + cdkBuilder.healthCheckCustomConfig(healthCheckCustomConfig.let(CfnService.HealthCheckCustomConfigProperty.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public interface CfnServiceProps { * characters. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstance.kt index 93b5835242..f8504b954b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstance.kt @@ -37,8 +37,8 @@ public open class CnameInstance( id: String, props: CnameInstanceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.CnameInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CnameInstanceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.CnameInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CnameInstanceProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class CnameInstance( * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.CnameInstance = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstanceProps.kt index 9986ef30c3..743bfe9173 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CnameInstanceProps.kt @@ -93,7 +93,7 @@ public interface CnameInstanceProps : CnameInstanceBaseProps { * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.CnameInstanceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/DnsServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/DnsServiceProps.kt index e6013391c4..8b99b1a4ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/DnsServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/DnsServiceProps.kt @@ -190,7 +190,7 @@ public interface DnsServiceProps : BaseServiceProps { * See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html */ override fun customHealthCheck(customHealthCheck: HealthCheckCustomConfig) { - cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig::unwrap)) + cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface DnsServiceProps : BaseServiceProps { * @param discoveryType Controls how instances within this service can be discovered. */ override fun discoveryType(discoveryType: DiscoveryType) { - cdkBuilder.discoveryType(discoveryType.let(DiscoveryType::unwrap)) + cdkBuilder.discoveryType(discoveryType.let(DiscoveryType.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface DnsServiceProps : BaseServiceProps { * include A, AAAA, A and AAAA (A_AAAA), CNAME, and SRV. */ override fun dnsRecordType(dnsRecordType: DnsRecordType) { - cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType::unwrap)) + cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public interface DnsServiceProps : BaseServiceProps { * settings for this record. */ override fun dnsTtl(dnsTtl: Duration) { - cdkBuilder.dnsTtl(dnsTtl.let(Duration::unwrap)) + cdkBuilder.dnsTtl(dnsTtl.let(Duration.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface DnsServiceProps : BaseServiceProps { * this service. */ override fun healthCheck(healthCheck: HealthCheckConfig) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface DnsServiceProps : BaseServiceProps { * Cloud Map creates when you register an instance and specify this service. */ override fun routingPolicy(routingPolicy: RoutingPolicy) { - cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy::unwrap)) + cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.DnsServiceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HealthCheckConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HealthCheckConfig.kt index c4e471189d..7757cf4ae8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HealthCheckConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HealthCheckConfig.kt @@ -127,7 +127,7 @@ public interface HealthCheckConfig { * Cannot be modified once created. Supported values are HTTP, HTTPS, and TCP. */ override fun type(type: HealthCheckType) { - cdkBuilder.type(type.let(HealthCheckType::unwrap)) + cdkBuilder.type(type.let(HealthCheckType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.HealthCheckConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HttpNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HttpNamespace.kt index ac8e88595c..824267fb1c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HttpNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/HttpNamespace.kt @@ -50,8 +50,8 @@ public open class HttpNamespace( id: String, props: HttpNamespaceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.HttpNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.HttpNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpNamespaceProps.Companion::unwrap)) ) public constructor( @@ -77,7 +77,8 @@ public open class HttpNamespace( * @param props */ public open fun createService(id: String, props: BaseServiceProps): Service = - unwrap(this).createService(id, props.let(BaseServiceProps::unwrap)).let(Service::wrap) + unwrap(this).createService(id, + props.let(BaseServiceProps.Companion::unwrap)).let(Service::wrap) /** * Creates a service within the namespace. @@ -184,8 +185,8 @@ public open class HttpNamespace( id: String, attrs: HttpNamespaceAttributes, ): IHttpNamespace = - software.amazon.awscdk.services.servicediscovery.HttpNamespace.fromHttpNamespaceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(HttpNamespaceAttributes::unwrap)).let(IHttpNamespace::wrap) + software.amazon.awscdk.services.servicediscovery.HttpNamespace.fromHttpNamespaceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(HttpNamespaceAttributes.Companion::unwrap)).let(IHttpNamespace::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("591ffd6f65594fcb61995bd440aa1c82077bd128d07f7f2065c6e21c797fa9f8") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IHttpNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IHttpNamespace.kt index 3a0ace11e5..c70884ae49 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IHttpNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IHttpNamespace.kt @@ -31,7 +31,7 @@ public interface IHttpNamespace : INamespace { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IInstance.kt index d38bd28879..afa901850b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IInstance.kt @@ -42,7 +42,7 @@ public interface IInstance : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/INamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/INamespace.kt index 17597a9a57..4a54ad39f1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/INamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/INamespace.kt @@ -52,7 +52,7 @@ public interface INamespace : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPrivateDnsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPrivateDnsNamespace.kt index 92aeec4d46..017c8cd611 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPrivateDnsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPrivateDnsNamespace.kt @@ -31,7 +31,7 @@ public interface IPrivateDnsNamespace : INamespace { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPublicDnsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPublicDnsNamespace.kt index f291542742..660f6a6447 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPublicDnsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IPublicDnsNamespace.kt @@ -31,7 +31,7 @@ public interface IPublicDnsNamespace : INamespace { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IService.kt index c9972ac67c..16c3cd05bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IService.kt @@ -67,7 +67,7 @@ public interface IService : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstance.kt index f97fb71ebc..cb5ce70a25 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstance.kt @@ -40,8 +40,8 @@ public open class IpInstance( id: String, props: IpInstanceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.IpInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(IpInstanceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.IpInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(IpInstanceProps.Companion::unwrap)) ) public constructor( @@ -222,7 +222,7 @@ public open class IpInstance( * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.IpInstance = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstanceProps.kt index 7a0850120a..072dee7e82 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/IpInstanceProps.kt @@ -127,7 +127,7 @@ public interface IpInstanceProps : IpInstanceBaseProps { * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.IpInstanceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstance.kt index 4d55480ae1..5ab0ef23a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstance.kt @@ -38,8 +38,8 @@ public open class NonIpInstance( id: String, props: NonIpInstanceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.NonIpInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(NonIpInstanceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.NonIpInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(NonIpInstanceProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class NonIpInstance( * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.NonIpInstance = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstanceProps.kt index 8152a80299..63390071ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/NonIpInstanceProps.kt @@ -76,7 +76,7 @@ public interface NonIpInstanceProps : NonIpInstanceBaseProps { * @param service The Cloudmap service this resource is registered to. */ override fun service(service: IService) { - cdkBuilder.service(service.let(IService::unwrap)) + cdkBuilder.service(service.let(IService.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.NonIpInstanceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespace.kt index 1a46646019..5af225a666 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespace.kt @@ -46,8 +46,8 @@ public open class PrivateDnsNamespace( id: String, props: PrivateDnsNamespaceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PrivateDnsNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PrivateDnsNamespaceProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,8 @@ public open class PrivateDnsNamespace( * @param props */ public open fun createService(id: String, props: DnsServiceProps): Service = - unwrap(this).createService(id, props.let(DnsServiceProps::unwrap)).let(Service::wrap) + unwrap(this).createService(id, + props.let(DnsServiceProps.Companion::unwrap)).let(Service::wrap) /** * Creates a service within the namespace. @@ -190,7 +191,7 @@ public open class PrivateDnsNamespace( * @param vpc The Amazon VPC that you want to associate the namespace with. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespace = @@ -203,8 +204,9 @@ public open class PrivateDnsNamespace( id: String, attrs: PrivateDnsNamespaceAttributes, ): IPrivateDnsNamespace = - software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespace.fromPrivateDnsNamespaceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(PrivateDnsNamespaceAttributes::unwrap)).let(IPrivateDnsNamespace::wrap) + software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespace.fromPrivateDnsNamespaceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(PrivateDnsNamespaceAttributes.Companion::unwrap)).let(IPrivateDnsNamespace::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("290f81154068a36f8c9030fac93d53587f36b821b223b825f369b4b448f72741") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespaceProps.kt index 85763e35f9..da53473351 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PrivateDnsNamespaceProps.kt @@ -84,7 +84,7 @@ public interface PrivateDnsNamespaceProps : BaseNamespaceProps { * @param vpc The Amazon VPC that you want to associate the namespace with. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.PrivateDnsNamespaceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PublicDnsNamespace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PublicDnsNamespace.kt index 499346a8cd..4f437ff470 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PublicDnsNamespace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/PublicDnsNamespace.kt @@ -48,8 +48,8 @@ public open class PublicDnsNamespace( id: String, props: PublicDnsNamespaceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.PublicDnsNamespace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PublicDnsNamespaceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.PublicDnsNamespace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PublicDnsNamespaceProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,8 @@ public open class PublicDnsNamespace( * @param props */ public open fun createService(id: String, props: DnsServiceProps): Service = - unwrap(this).createService(id, props.let(DnsServiceProps::unwrap)).let(Service::wrap) + unwrap(this).createService(id, + props.let(DnsServiceProps.Companion::unwrap)).let(Service::wrap) /** * Creates a service within the namespace. @@ -189,8 +190,9 @@ public open class PublicDnsNamespace( id: String, attrs: PublicDnsNamespaceAttributes, ): IPublicDnsNamespace = - software.amazon.awscdk.services.servicediscovery.PublicDnsNamespace.fromPublicDnsNamespaceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(PublicDnsNamespaceAttributes::unwrap)).let(IPublicDnsNamespace::wrap) + software.amazon.awscdk.services.servicediscovery.PublicDnsNamespace.fromPublicDnsNamespaceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(PublicDnsNamespaceAttributes.Companion::unwrap)).let(IPublicDnsNamespace::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5f5dcb9164cac9e5c49c3071dd54dc0eb32f23501ce38485c26940c1b1e356e7") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/Service.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/Service.kt index afd50a731f..b8a7cfa7d4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/Service.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/Service.kt @@ -52,8 +52,8 @@ public open class Service( id: String, props: ServiceProps, ) : - this(software.amazon.awscdk.services.servicediscovery.Service(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ServiceProps::unwrap)) + this(software.amazon.awscdk.services.servicediscovery.Service(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ServiceProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class Service( */ public open fun registerCnameInstance(id: String, props: CnameInstanceBaseProps): IInstance = unwrap(this).registerCnameInstance(id, - props.let(CnameInstanceBaseProps::unwrap)).let(IInstance::wrap) + props.let(CnameInstanceBaseProps.Companion::unwrap)).let(IInstance::wrap) /** * Registers a resource that is accessible using a CNAME. @@ -110,7 +110,7 @@ public open class Service( */ public open fun registerIpInstance(id: String, props: IpInstanceBaseProps): IInstance = unwrap(this).registerIpInstance(id, - props.let(IpInstanceBaseProps::unwrap)).let(IInstance::wrap) + props.let(IpInstanceBaseProps.Companion::unwrap)).let(IInstance::wrap) /** * Registers a resource that is accessible using an IP address. @@ -132,7 +132,7 @@ public open class Service( */ public open fun registerLoadBalancer(id: String, loadBalancer: ILoadBalancerV2): IInstance = unwrap(this).registerLoadBalancer(id, - loadBalancer.let(ILoadBalancerV2::unwrap)).let(IInstance::wrap) + loadBalancer.let(ILoadBalancerV2.Companion::unwrap)).let(IInstance::wrap) /** * Registers an ELB as a new instance with unique name instanceId in this service. @@ -145,8 +145,8 @@ public open class Service( id: String, loadBalancer: ILoadBalancerV2, customAttributes: Map, - ): IInstance = unwrap(this).registerLoadBalancer(id, loadBalancer.let(ILoadBalancerV2::unwrap), - customAttributes).let(IInstance::wrap) + ): IInstance = unwrap(this).registerLoadBalancer(id, + loadBalancer.let(ILoadBalancerV2.Companion::unwrap), customAttributes).let(IInstance::wrap) /** * Registers a resource that is accessible using values other than an IP address or a domain name @@ -157,7 +157,7 @@ public open class Service( */ public open fun registerNonIpInstance(id: String, props: NonIpInstanceBaseProps): IInstance = unwrap(this).registerNonIpInstance(id, - props.let(NonIpInstanceBaseProps::unwrap)).let(IInstance::wrap) + props.let(NonIpInstanceBaseProps.Companion::unwrap)).let(IInstance::wrap) /** * Registers a resource that is accessible using values other than an IP address or a domain name @@ -359,7 +359,7 @@ public open class Service( * @param customHealthCheck Structure containing failure threshold for a custom health checker. */ override fun customHealthCheck(customHealthCheck: HealthCheckCustomConfig) { - cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig::unwrap)) + cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class Service( * @param discoveryType Controls how instances within this service can be discovered. */ override fun discoveryType(discoveryType: DiscoveryType) { - cdkBuilder.discoveryType(discoveryType.let(DiscoveryType::unwrap)) + cdkBuilder.discoveryType(discoveryType.let(DiscoveryType.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class Service( * @param dnsRecordType The DNS type of the record that you want AWS Cloud Map to create. */ override fun dnsRecordType(dnsRecordType: DnsRecordType) { - cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType::unwrap)) + cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public open class Service( * settings for this record. */ override fun dnsTtl(dnsTtl: Duration) { - cdkBuilder.dnsTtl(dnsTtl.let(Duration::unwrap)) + cdkBuilder.dnsTtl(dnsTtl.let(Duration.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class Service( * @param healthCheck Settings for an optional health check. */ override fun healthCheck(healthCheck: HealthCheckConfig) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public open class Service( * @param namespace The namespace that you want to use for DNS configuration. */ override fun namespace(namespace: INamespace) { - cdkBuilder.namespace(namespace.let(INamespace::unwrap)) + cdkBuilder.namespace(namespace.let(INamespace.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class Service( * Cloud Map creates when you register an instance and specify this service. */ override fun routingPolicy(routingPolicy: RoutingPolicy) { - cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy::unwrap)) + cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.Service = @@ -522,8 +522,8 @@ public open class Service( id: String, attrs: ServiceAttributes, ): IService = - software.amazon.awscdk.services.servicediscovery.Service.fromServiceAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ServiceAttributes::unwrap)).let(IService::wrap) + software.amazon.awscdk.services.servicediscovery.Service.fromServiceAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ServiceAttributes.Companion::unwrap)).let(IService::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a843f03cb9f8cbd3c1cb9455ee3379fcaccbd31428da3ee426b5d1c759a129d0") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceAttributes.kt index 1f025ea070..0016421662 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceAttributes.kt @@ -115,28 +115,28 @@ public interface ServiceAttributes { * @param discoveryType the value to be set. */ override fun discoveryType(discoveryType: DiscoveryType) { - cdkBuilder.discoveryType(discoveryType.let(DiscoveryType::unwrap)) + cdkBuilder.discoveryType(discoveryType.let(DiscoveryType.Companion::unwrap)) } /** * @param dnsRecordType the value to be set. */ override fun dnsRecordType(dnsRecordType: DnsRecordType) { - cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType::unwrap)) + cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType.Companion::unwrap)) } /** * @param namespace the value to be set. */ override fun namespace(namespace: INamespace) { - cdkBuilder.namespace(namespace.let(INamespace::unwrap)) + cdkBuilder.namespace(namespace.let(INamespace.Companion::unwrap)) } /** * @param routingPolicy the value to be set. */ override fun routingPolicy(routingPolicy: RoutingPolicy) { - cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy::unwrap)) + cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceProps.kt index f92dbacdbd..e4f83fc86f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/ServiceProps.kt @@ -150,7 +150,7 @@ public interface ServiceProps : DnsServiceProps { * See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html */ override fun customHealthCheck(customHealthCheck: HealthCheckCustomConfig) { - cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig::unwrap)) + cdkBuilder.customHealthCheck(customHealthCheck.let(HealthCheckCustomConfig.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public interface ServiceProps : DnsServiceProps { * @param discoveryType Controls how instances within this service can be discovered. */ override fun discoveryType(discoveryType: DiscoveryType) { - cdkBuilder.discoveryType(discoveryType.let(DiscoveryType::unwrap)) + cdkBuilder.discoveryType(discoveryType.let(DiscoveryType.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface ServiceProps : DnsServiceProps { * include A, AAAA, A and AAAA (A_AAAA), CNAME, and SRV. */ override fun dnsRecordType(dnsRecordType: DnsRecordType) { - cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType::unwrap)) + cdkBuilder.dnsRecordType(dnsRecordType.let(DnsRecordType.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public interface ServiceProps : DnsServiceProps { * settings for this record. */ override fun dnsTtl(dnsTtl: Duration) { - cdkBuilder.dnsTtl(dnsTtl.let(Duration::unwrap)) + cdkBuilder.dnsTtl(dnsTtl.let(Duration.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public interface ServiceProps : DnsServiceProps { * this service. */ override fun healthCheck(healthCheck: HealthCheckConfig) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfig.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public interface ServiceProps : DnsServiceProps { * @param namespace The namespace that you want to use for DNS configuration. */ override fun namespace(namespace: INamespace) { - cdkBuilder.namespace(namespace.let(INamespace::unwrap)) + cdkBuilder.namespace(namespace.let(INamespace.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface ServiceProps : DnsServiceProps { * Cloud Map creates when you register an instance and specify this service. */ override fun routingPolicy(routingPolicy: RoutingPolicy) { - cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy::unwrap)) + cdkBuilder.routingPolicy(routingPolicy.let(RoutingPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.servicediscovery.ServiceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/AllowListReceiptFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/AllowListReceiptFilter.kt index dd5a087718..1ce9a26c75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/AllowListReceiptFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/AllowListReceiptFilter.kt @@ -28,8 +28,8 @@ public open class AllowListReceiptFilter( id: String, props: AllowListReceiptFilterProps, ) : - this(software.amazon.awscdk.services.ses.AllowListReceiptFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AllowListReceiptFilterProps::unwrap)) + this(software.amazon.awscdk.services.ses.AllowListReceiptFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AllowListReceiptFilterProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ByoDkimOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ByoDkimOptions.kt index 906c12d519..52d03170d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ByoDkimOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ByoDkimOptions.kt @@ -77,7 +77,7 @@ public interface ByoDkimOptions { * @param privateKey The private key that's used to generate a DKIM signature. */ override fun privateKey(privateKey: SecretValue) { - cdkBuilder.privateKey(privateKey.let(SecretValue::unwrap)) + cdkBuilder.privateKey(privateKey.let(SecretValue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSet.kt index c46086c4e4..df95674cc1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSet.kt @@ -84,7 +84,7 @@ public open class CfnConfigurationSet( cdkObject: software.amazon.awscdk.services.ses.CfnConfigurationSet, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.CfnConfigurationSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.CfnConfigurationSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -93,8 +93,8 @@ public open class CfnConfigurationSet( id: String, props: CfnConfigurationSetProps, ) : - this(software.amazon.awscdk.services.ses.CfnConfigurationSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationSetProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnConfigurationSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationSetProps.Companion::unwrap)) ) public constructor( @@ -115,7 +115,7 @@ public open class CfnConfigurationSet( * Security (TLS). */ public open fun deliveryOptions(`value`: IResolvable) { - unwrap(this).setDeliveryOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeliveryOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnConfigurationSet( * Security (TLS). */ public open fun deliveryOptions(`value`: DeliveryOptionsProperty) { - unwrap(this).setDeliveryOptions(`value`.let(DeliveryOptionsProperty::unwrap)) + unwrap(this).setDeliveryOptions(`value`.let(DeliveryOptionsProperty.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnConfigurationSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,14 +169,14 @@ public open class CfnConfigurationSet( * An object that represents the reputation settings for the configuration set. */ public open fun reputationOptions(`value`: IResolvable) { - unwrap(this).setReputationOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setReputationOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that represents the reputation settings for the configuration set. */ public open fun reputationOptions(`value`: ReputationOptionsProperty) { - unwrap(this).setReputationOptions(`value`.let(ReputationOptionsProperty::unwrap)) + unwrap(this).setReputationOptions(`value`.let(ReputationOptionsProperty.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun sendingOptions(`value`: IResolvable) { - unwrap(this).setSendingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSendingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnConfigurationSet( * configuration set. */ public open fun sendingOptions(`value`: SendingOptionsProperty) { - unwrap(this).setSendingOptions(`value`.let(SendingOptionsProperty::unwrap)) + unwrap(this).setSendingOptions(`value`.let(SendingOptionsProperty.Companion::unwrap)) } /** @@ -227,14 +227,14 @@ public open class CfnConfigurationSet( * An object that contains information about the suppression list preferences for your account. */ public open fun suppressionOptions(`value`: IResolvable) { - unwrap(this).setSuppressionOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setSuppressionOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that contains information about the suppression list preferences for your account. */ public open fun suppressionOptions(`value`: SuppressionOptionsProperty) { - unwrap(this).setSuppressionOptions(`value`.let(SuppressionOptionsProperty::unwrap)) + unwrap(this).setSuppressionOptions(`value`.let(SuppressionOptionsProperty.Companion::unwrap)) } /** @@ -254,14 +254,14 @@ public open class CfnConfigurationSet( * The name of the custom open and click tracking domain associated with the configuration set. */ public open fun trackingOptions(`value`: IResolvable) { - unwrap(this).setTrackingOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setTrackingOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The name of the custom open and click tracking domain associated with the configuration set. */ public open fun trackingOptions(`value`: TrackingOptionsProperty) { - unwrap(this).setTrackingOptions(`value`.let(TrackingOptionsProperty::unwrap)) + unwrap(this).setTrackingOptions(`value`.let(TrackingOptionsProperty.Companion::unwrap)) } /** @@ -281,14 +281,14 @@ public open class CfnConfigurationSet( * The Virtual Deliverability Manager (VDM) options that apply to the configuration set. */ public open fun vdmOptions(`value`: IResolvable) { - unwrap(this).setVdmOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setVdmOptions(`value`.let(IResolvable.Companion::unwrap)) } /** * The Virtual Deliverability Manager (VDM) options that apply to the configuration set. */ public open fun vdmOptions(`value`: VdmOptionsProperty) { - unwrap(this).setVdmOptions(`value`.let(VdmOptionsProperty::unwrap)) + unwrap(this).setVdmOptions(`value`.let(VdmOptionsProperty.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnConfigurationSet( * to use Transport Layer Security (TLS). */ override fun deliveryOptions(deliveryOptions: IResolvable) { - cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public open class CfnConfigurationSet( * to use Transport Layer Security (TLS). */ override fun deliveryOptions(deliveryOptions: DeliveryOptionsProperty) { - cdkBuilder.deliveryOptions(deliveryOptions.let(DeliveryOptionsProperty::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(DeliveryOptionsProperty.Companion::unwrap)) } /** @@ -563,7 +563,7 @@ public open class CfnConfigurationSet( * configuration set. */ override fun reputationOptions(reputationOptions: IResolvable) { - cdkBuilder.reputationOptions(reputationOptions.let(IResolvable::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnConfigurationSet( * configuration set. */ override fun reputationOptions(reputationOptions: ReputationOptionsProperty) { - cdkBuilder.reputationOptions(reputationOptions.let(ReputationOptionsProperty::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(ReputationOptionsProperty.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnConfigurationSet( * you send using the configuration set. */ override fun sendingOptions(sendingOptions: IResolvable) { - cdkBuilder.sendingOptions(sendingOptions.let(IResolvable::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class CfnConfigurationSet( * you send using the configuration set. */ override fun sendingOptions(sendingOptions: SendingOptionsProperty) { - cdkBuilder.sendingOptions(sendingOptions.let(SendingOptionsProperty::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(SendingOptionsProperty.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class CfnConfigurationSet( * preferences for your account. */ override fun suppressionOptions(suppressionOptions: IResolvable) { - cdkBuilder.suppressionOptions(suppressionOptions.let(IResolvable::unwrap)) + cdkBuilder.suppressionOptions(suppressionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -645,7 +645,7 @@ public open class CfnConfigurationSet( * preferences for your account. */ override fun suppressionOptions(suppressionOptions: SuppressionOptionsProperty) { - cdkBuilder.suppressionOptions(suppressionOptions.let(SuppressionOptionsProperty::unwrap)) + cdkBuilder.suppressionOptions(suppressionOptions.let(SuppressionOptionsProperty.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public open class CfnConfigurationSet( * the configuration set. */ override fun trackingOptions(trackingOptions: IResolvable) { - cdkBuilder.trackingOptions(trackingOptions.let(IResolvable::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CfnConfigurationSet( * the configuration set. */ override fun trackingOptions(trackingOptions: TrackingOptionsProperty) { - cdkBuilder.trackingOptions(trackingOptions.let(TrackingOptionsProperty::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(TrackingOptionsProperty.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public open class CfnConfigurationSet( * configuration set. */ override fun vdmOptions(vdmOptions: IResolvable) { - cdkBuilder.vdmOptions(vdmOptions.let(IResolvable::unwrap)) + cdkBuilder.vdmOptions(vdmOptions.let(IResolvable.Companion::unwrap)) } /** @@ -714,7 +714,7 @@ public open class CfnConfigurationSet( * configuration set. */ override fun vdmOptions(vdmOptions: VdmOptionsProperty) { - cdkBuilder.vdmOptions(vdmOptions.let(VdmOptionsProperty::unwrap)) + cdkBuilder.vdmOptions(vdmOptions.let(VdmOptionsProperty.Companion::unwrap)) } /** @@ -1150,7 +1150,7 @@ public open class CfnConfigurationSet( * reputation metrics are not published. The default value is `false` . */ override fun reputationMetricsEnabled(reputationMetricsEnabled: IResolvable) { - cdkBuilder.reputationMetricsEnabled(reputationMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.reputationMetricsEnabled(reputationMetricsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1254,7 +1254,7 @@ public open class CfnConfigurationSet( * If `false` , email sending is disabled for the configuration set. */ override fun sendingEnabled(sendingEnabled: IResolvable) { - cdkBuilder.sendingEnabled(sendingEnabled.let(IResolvable::unwrap)) + cdkBuilder.sendingEnabled(sendingEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1608,14 +1608,14 @@ public open class CfnConfigurationSet( * @param dashboardOptions Settings for your VDM configuration as applicable to the Dashboard. */ override fun dashboardOptions(dashboardOptions: IResolvable) { - cdkBuilder.dashboardOptions(dashboardOptions.let(IResolvable::unwrap)) + cdkBuilder.dashboardOptions(dashboardOptions.let(IResolvable.Companion::unwrap)) } /** * @param dashboardOptions Settings for your VDM configuration as applicable to the Dashboard. */ override fun dashboardOptions(dashboardOptions: DashboardOptionsProperty) { - cdkBuilder.dashboardOptions(dashboardOptions.let(DashboardOptionsProperty::unwrap)) + cdkBuilder.dashboardOptions(dashboardOptions.let(DashboardOptionsProperty.Companion::unwrap)) } /** @@ -1630,14 +1630,14 @@ public open class CfnConfigurationSet( * @param guardianOptions Settings for your VDM configuration as applicable to the Guardian. */ override fun guardianOptions(guardianOptions: IResolvable) { - cdkBuilder.guardianOptions(guardianOptions.let(IResolvable::unwrap)) + cdkBuilder.guardianOptions(guardianOptions.let(IResolvable.Companion::unwrap)) } /** * @param guardianOptions Settings for your VDM configuration as applicable to the Guardian. */ override fun guardianOptions(guardianOptions: GuardianOptionsProperty) { - cdkBuilder.guardianOptions(guardianOptions.let(GuardianOptionsProperty::unwrap)) + cdkBuilder.guardianOptions(guardianOptions.let(GuardianOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestination.kt index 8cb9e748c6..5e2b7294aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestination.kt @@ -68,8 +68,8 @@ public open class CfnConfigurationSetEventDestination( id: String, props: CfnConfigurationSetEventDestinationProps, ) : - this(software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConfigurationSetEventDestinationProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConfigurationSetEventDestinationProps.Companion::unwrap)) ) public constructor( @@ -105,14 +105,14 @@ public open class CfnConfigurationSetEventDestination( * The event destination object. */ public open fun eventDestination(`value`: IResolvable) { - unwrap(this).setEventDestination(`value`.let(IResolvable::unwrap)) + unwrap(this).setEventDestination(`value`.let(IResolvable.Companion::unwrap)) } /** * The event destination object. */ public open fun eventDestination(`value`: EventDestinationProperty) { - unwrap(this).setEventDestination(`value`.let(EventDestinationProperty::unwrap)) + unwrap(this).setEventDestination(`value`.let(EventDestinationProperty.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnConfigurationSetEventDestination( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnConfigurationSetEventDestination( * @param eventDestination The event destination object. */ override fun eventDestination(eventDestination: IResolvable) { - cdkBuilder.eventDestination(eventDestination.let(IResolvable::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(IResolvable.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnConfigurationSetEventDestination( * @param eventDestination The event destination object. */ override fun eventDestination(eventDestination: EventDestinationProperty) { - cdkBuilder.eventDestination(eventDestination.let(EventDestinationProperty::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(EventDestinationProperty.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnConfigurationSetEventDestination( * when you publish email sending events to Amazon CloudWatch. */ override fun dimensionConfigurations(dimensionConfigurations: IResolvable) { - cdkBuilder.dimensionConfigurations(dimensionConfigurations.let(IResolvable::unwrap)) + cdkBuilder.dimensionConfigurations(dimensionConfigurations.let(IResolvable.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public open class CfnConfigurationSetEventDestination( * of the dimensions associated with an Amazon CloudWatch event destination. */ override fun cloudWatchDestination(cloudWatchDestination: IResolvable) { - cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(IResolvable.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public open class CfnConfigurationSetEventDestination( * of the dimensions associated with an Amazon CloudWatch event destination. */ override fun cloudWatchDestination(cloudWatchDestination: CloudWatchDestinationProperty) { - cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(CloudWatchDestinationProperty::unwrap)) + cdkBuilder.cloudWatchDestination(cloudWatchDestination.let(CloudWatchDestinationProperty.Companion::unwrap)) } /** @@ -919,7 +919,7 @@ public open class CfnConfigurationSetEventDestination( * publishing to this destination. The default value is `false` . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -927,7 +927,7 @@ public open class CfnConfigurationSetEventDestination( * IAM role ARN associated with an Amazon Kinesis Firehose event destination. */ override fun kinesisFirehoseDestination(kinesisFirehoseDestination: IResolvable) { - cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(IResolvable::unwrap)) + cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(IResolvable.Companion::unwrap)) } /** @@ -936,7 +936,7 @@ public open class CfnConfigurationSetEventDestination( */ override fun kinesisFirehoseDestination(kinesisFirehoseDestination: KinesisFirehoseDestinationProperty) { - cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(KinesisFirehoseDestinationProperty::unwrap)) + cdkBuilder.kinesisFirehoseDestination(kinesisFirehoseDestination.let(KinesisFirehoseDestinationProperty.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public open class CfnConfigurationSetEventDestination( * Simple Notification Service (Amazon SNS) event destination. */ override fun snsDestination(snsDestination: IResolvable) { - cdkBuilder.snsDestination(snsDestination.let(IResolvable::unwrap)) + cdkBuilder.snsDestination(snsDestination.let(IResolvable.Companion::unwrap)) } /** @@ -1042,7 +1042,7 @@ public open class CfnConfigurationSetEventDestination( * Simple Notification Service (Amazon SNS) event destination. */ override fun snsDestination(snsDestination: SnsDestinationProperty) { - cdkBuilder.snsDestination(snsDestination.let(SnsDestinationProperty::unwrap)) + cdkBuilder.snsDestination(snsDestination.let(SnsDestinationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestinationProps.kt index fe20aa91fe..85498af5b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetEventDestinationProps.kt @@ -111,7 +111,7 @@ public interface CfnConfigurationSetEventDestinationProps { * @param eventDestination The event destination object. */ override fun eventDestination(eventDestination: IResolvable) { - cdkBuilder.eventDestination(eventDestination.let(IResolvable::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(IResolvable.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public interface CfnConfigurationSetEventDestinationProps { */ override fun eventDestination(eventDestination: CfnConfigurationSetEventDestination.EventDestinationProperty) { - cdkBuilder.eventDestination(eventDestination.let(CfnConfigurationSetEventDestination.EventDestinationProperty::unwrap)) + cdkBuilder.eventDestination(eventDestination.let(CfnConfigurationSetEventDestination.EventDestinationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetProps.kt index e1a3b39dae..8781734e5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnConfigurationSetProps.kt @@ -255,7 +255,7 @@ public interface CfnConfigurationSetProps { * to use Transport Layer Security (TLS). */ override fun deliveryOptions(deliveryOptions: IResolvable) { - cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(IResolvable.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface CfnConfigurationSetProps { * to use Transport Layer Security (TLS). */ override fun deliveryOptions(deliveryOptions: CfnConfigurationSet.DeliveryOptionsProperty) { - cdkBuilder.deliveryOptions(deliveryOptions.let(CfnConfigurationSet.DeliveryOptionsProperty::unwrap)) + cdkBuilder.deliveryOptions(deliveryOptions.let(CfnConfigurationSet.DeliveryOptionsProperty.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public interface CfnConfigurationSetProps { * configuration set. */ override fun reputationOptions(reputationOptions: IResolvable) { - cdkBuilder.reputationOptions(reputationOptions.let(IResolvable::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(IResolvable.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface CfnConfigurationSetProps { */ override fun reputationOptions(reputationOptions: CfnConfigurationSet.ReputationOptionsProperty) { - cdkBuilder.reputationOptions(reputationOptions.let(CfnConfigurationSet.ReputationOptionsProperty::unwrap)) + cdkBuilder.reputationOptions(reputationOptions.let(CfnConfigurationSet.ReputationOptionsProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface CfnConfigurationSetProps { * you send using the configuration set. */ override fun sendingOptions(sendingOptions: IResolvable) { - cdkBuilder.sendingOptions(sendingOptions.let(IResolvable::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public interface CfnConfigurationSetProps { * you send using the configuration set. */ override fun sendingOptions(sendingOptions: CfnConfigurationSet.SendingOptionsProperty) { - cdkBuilder.sendingOptions(sendingOptions.let(CfnConfigurationSet.SendingOptionsProperty::unwrap)) + cdkBuilder.sendingOptions(sendingOptions.let(CfnConfigurationSet.SendingOptionsProperty.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public interface CfnConfigurationSetProps { * preferences for your account. */ override fun suppressionOptions(suppressionOptions: IResolvable) { - cdkBuilder.suppressionOptions(suppressionOptions.let(IResolvable::unwrap)) + cdkBuilder.suppressionOptions(suppressionOptions.let(IResolvable.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface CfnConfigurationSetProps { */ override fun suppressionOptions(suppressionOptions: CfnConfigurationSet.SuppressionOptionsProperty) { - cdkBuilder.suppressionOptions(suppressionOptions.let(CfnConfigurationSet.SuppressionOptionsProperty::unwrap)) + cdkBuilder.suppressionOptions(suppressionOptions.let(CfnConfigurationSet.SuppressionOptionsProperty.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public interface CfnConfigurationSetProps { * the configuration set. */ override fun trackingOptions(trackingOptions: IResolvable) { - cdkBuilder.trackingOptions(trackingOptions.let(IResolvable::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public interface CfnConfigurationSetProps { * the configuration set. */ override fun trackingOptions(trackingOptions: CfnConfigurationSet.TrackingOptionsProperty) { - cdkBuilder.trackingOptions(trackingOptions.let(CfnConfigurationSet.TrackingOptionsProperty::unwrap)) + cdkBuilder.trackingOptions(trackingOptions.let(CfnConfigurationSet.TrackingOptionsProperty.Companion::unwrap)) } /** @@ -398,7 +398,7 @@ public interface CfnConfigurationSetProps { * configuration set. */ override fun vdmOptions(vdmOptions: IResolvable) { - cdkBuilder.vdmOptions(vdmOptions.let(IResolvable::unwrap)) + cdkBuilder.vdmOptions(vdmOptions.let(IResolvable.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public interface CfnConfigurationSetProps { * configuration set. */ override fun vdmOptions(vdmOptions: CfnConfigurationSet.VdmOptionsProperty) { - cdkBuilder.vdmOptions(vdmOptions.let(CfnConfigurationSet.VdmOptionsProperty::unwrap)) + cdkBuilder.vdmOptions(vdmOptions.let(CfnConfigurationSet.VdmOptionsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactList.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactList.kt index 413bc47158..15ff7be8f9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactList.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactList.kt @@ -51,7 +51,7 @@ public open class CfnContactList( cdkObject: software.amazon.awscdk.services.ses.CfnContactList, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.CfnContactList(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.CfnContactList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class CfnContactList( id: String, props: CfnContactListProps, ) : - this(software.amazon.awscdk.services.ses.CfnContactList(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContactListProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnContactList(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContactListProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnContactList( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -119,7 +119,7 @@ public open class CfnContactList( * The tags associated with a contact list. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnContactList( * An interest group, theme, or label within a list. */ public open fun topics(`value`: IResolvable) { - unwrap(this).setTopics(`value`.let(IResolvable::unwrap)) + unwrap(this).setTopics(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnContactList( * @param tags The tags associated with a contact list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnContactList( * @param topics An interest group, theme, or label within a list. */ override fun topics(topics: IResolvable) { - cdkBuilder.topics(topics.let(IResolvable::unwrap)) + cdkBuilder.topics(topics.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactListProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactListProps.kt index 732ddb80be..baa76545d1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactListProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnContactListProps.kt @@ -137,7 +137,7 @@ public interface CfnContactListProps { * @param tags The tags associated with a contact list. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnContactListProps { * A contact list can have multiple topics. */ override fun topics(topics: IResolvable) { - cdkBuilder.topics(topics.let(IResolvable::unwrap)) + cdkBuilder.topics(topics.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnDedicatedIpPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnDedicatedIpPool.kt index 73a5326697..9d234207e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnDedicatedIpPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnDedicatedIpPool.kt @@ -43,7 +43,7 @@ public open class CfnDedicatedIpPool( cdkObject: software.amazon.awscdk.services.ses.CfnDedicatedIpPool, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class CfnDedicatedIpPool( id: String, props: CfnDedicatedIpPoolProps, ) : - this(software.amazon.awscdk.services.ses.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDedicatedIpPoolProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnDedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDedicatedIpPoolProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnDedicatedIpPool( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentity.kt index 8f98b04c61..10213a7611 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentity.kt @@ -84,8 +84,8 @@ public open class CfnEmailIdentity( id: String, props: CfnEmailIdentityProps, ) : - this(software.amazon.awscdk.services.ses.CfnEmailIdentity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEmailIdentityProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnEmailIdentity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEmailIdentityProps.Companion::unwrap)) ) public constructor( @@ -140,14 +140,14 @@ public open class CfnEmailIdentity( * Used to associate a configuration set with an email identity. */ public open fun configurationSetAttributes(`value`: IResolvable) { - unwrap(this).setConfigurationSetAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfigurationSetAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * Used to associate a configuration set with an email identity. */ public open fun configurationSetAttributes(`value`: ConfigurationSetAttributesProperty) { - unwrap(this).setConfigurationSetAttributes(`value`.let(ConfigurationSetAttributesProperty::unwrap)) + unwrap(this).setConfigurationSetAttributes(`value`.let(ConfigurationSetAttributesProperty.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnEmailIdentity( * An object that contains information about the DKIM attributes for the identity. */ public open fun dkimAttributes(`value`: IResolvable) { - unwrap(this).setDkimAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setDkimAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * An object that contains information about the DKIM attributes for the identity. */ public open fun dkimAttributes(`value`: DkimAttributesProperty) { - unwrap(this).setDkimAttributes(`value`.let(DkimAttributesProperty::unwrap)) + unwrap(this).setDkimAttributes(`value`.let(DkimAttributesProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnEmailIdentity( * [Easy DKIM](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html) . */ public open fun dkimSigningAttributes(`value`: IResolvable) { - unwrap(this).setDkimSigningAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setDkimSigningAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public open class CfnEmailIdentity( * [Easy DKIM](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html) . */ public open fun dkimSigningAttributes(`value`: DkimSigningAttributesProperty) { - unwrap(this).setDkimSigningAttributes(`value`.let(DkimSigningAttributesProperty::unwrap)) + unwrap(this).setDkimSigningAttributes(`value`.let(DkimSigningAttributesProperty.Companion::unwrap)) } /** @@ -242,14 +242,14 @@ public open class CfnEmailIdentity( * Used to enable or disable feedback forwarding for an identity. */ public open fun feedbackAttributes(`value`: IResolvable) { - unwrap(this).setFeedbackAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setFeedbackAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * Used to enable or disable feedback forwarding for an identity. */ public open fun feedbackAttributes(`value`: FeedbackAttributesProperty) { - unwrap(this).setFeedbackAttributes(`value`.let(FeedbackAttributesProperty::unwrap)) + unwrap(this).setFeedbackAttributes(`value`.let(FeedbackAttributesProperty.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnEmailIdentity( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -278,14 +278,14 @@ public open class CfnEmailIdentity( * Used to enable or disable the custom Mail-From domain configuration for an email identity. */ public open fun mailFromAttributes(`value`: IResolvable) { - unwrap(this).setMailFromAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setMailFromAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * Used to enable or disable the custom Mail-From domain configuration for an email identity. */ public open fun mailFromAttributes(`value`: MailFromAttributesProperty) { - unwrap(this).setMailFromAttributes(`value`.let(MailFromAttributesProperty::unwrap)) + unwrap(this).setMailFromAttributes(`value`.let(MailFromAttributesProperty.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public open class CfnEmailIdentity( * identity. */ override fun configurationSetAttributes(configurationSetAttributes: IResolvable) { - cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(IResolvable::unwrap)) + cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public open class CfnEmailIdentity( */ override fun configurationSetAttributes(configurationSetAttributes: ConfigurationSetAttributesProperty) { - cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(ConfigurationSetAttributesProperty::unwrap)) + cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(ConfigurationSetAttributesProperty.Companion::unwrap)) } /** @@ -522,7 +522,7 @@ public open class CfnEmailIdentity( * identity. */ override fun dkimAttributes(dkimAttributes: IResolvable) { - cdkBuilder.dkimAttributes(dkimAttributes.let(IResolvable::unwrap)) + cdkBuilder.dkimAttributes(dkimAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class CfnEmailIdentity( * identity. */ override fun dkimAttributes(dkimAttributes: DkimAttributesProperty) { - cdkBuilder.dkimAttributes(dkimAttributes.let(DkimAttributesProperty::unwrap)) + cdkBuilder.dkimAttributes(dkimAttributes.let(DkimAttributesProperty.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnEmailIdentity( * DKIM](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html) . */ override fun dkimSigningAttributes(dkimSigningAttributes: IResolvable) { - cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(IResolvable::unwrap)) + cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CfnEmailIdentity( * DKIM](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html) . */ override fun dkimSigningAttributes(dkimSigningAttributes: DkimSigningAttributesProperty) { - cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(DkimSigningAttributesProperty::unwrap)) + cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(DkimSigningAttributesProperty.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class CfnEmailIdentity( * @param feedbackAttributes Used to enable or disable feedback forwarding for an identity. */ override fun feedbackAttributes(feedbackAttributes: IResolvable) { - cdkBuilder.feedbackAttributes(feedbackAttributes.let(IResolvable::unwrap)) + cdkBuilder.feedbackAttributes(feedbackAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public open class CfnEmailIdentity( * @param feedbackAttributes Used to enable or disable feedback forwarding for an identity. */ override fun feedbackAttributes(feedbackAttributes: FeedbackAttributesProperty) { - cdkBuilder.feedbackAttributes(feedbackAttributes.let(FeedbackAttributesProperty::unwrap)) + cdkBuilder.feedbackAttributes(feedbackAttributes.let(FeedbackAttributesProperty.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class CfnEmailIdentity( * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: IResolvable) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class CfnEmailIdentity( * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: MailFromAttributesProperty) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(MailFromAttributesProperty::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(MailFromAttributesProperty.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public open class CfnEmailIdentity( * signing. */ override fun signingEnabled(signingEnabled: IResolvable) { - cdkBuilder.signingEnabled(signingEnabled.let(IResolvable::unwrap)) + cdkBuilder.signingEnabled(signingEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1215,7 +1215,7 @@ public open class CfnEmailIdentity( * setting is disabled). */ override fun emailForwardingEnabled(emailForwardingEnabled: IResolvable) { - cdkBuilder.emailForwardingEnabled(emailForwardingEnabled.let(IResolvable::unwrap)) + cdkBuilder.emailForwardingEnabled(emailForwardingEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentityProps.kt index 3a611e22d4..bb5657462d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnEmailIdentityProps.kt @@ -221,7 +221,7 @@ public interface CfnEmailIdentityProps { * identity. */ override fun configurationSetAttributes(configurationSetAttributes: IResolvable) { - cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(IResolvable::unwrap)) + cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface CfnEmailIdentityProps { */ override fun configurationSetAttributes(configurationSetAttributes: CfnEmailIdentity.ConfigurationSetAttributesProperty) { - cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(CfnEmailIdentity.ConfigurationSetAttributesProperty::unwrap)) + cdkBuilder.configurationSetAttributes(configurationSetAttributes.let(CfnEmailIdentity.ConfigurationSetAttributesProperty.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface CfnEmailIdentityProps { * identity. */ override fun dkimAttributes(dkimAttributes: IResolvable) { - cdkBuilder.dkimAttributes(dkimAttributes.let(IResolvable::unwrap)) + cdkBuilder.dkimAttributes(dkimAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface CfnEmailIdentityProps { * identity. */ override fun dkimAttributes(dkimAttributes: CfnEmailIdentity.DkimAttributesProperty) { - cdkBuilder.dkimAttributes(dkimAttributes.let(CfnEmailIdentity.DkimAttributesProperty::unwrap)) + cdkBuilder.dkimAttributes(dkimAttributes.let(CfnEmailIdentity.DkimAttributesProperty.Companion::unwrap)) } /** @@ -277,7 +277,7 @@ public interface CfnEmailIdentityProps { * DKIM](https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html) . */ override fun dkimSigningAttributes(dkimSigningAttributes: IResolvable) { - cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(IResolvable::unwrap)) + cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface CfnEmailIdentityProps { */ override fun dkimSigningAttributes(dkimSigningAttributes: CfnEmailIdentity.DkimSigningAttributesProperty) { - cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(CfnEmailIdentity.DkimSigningAttributesProperty::unwrap)) + cdkBuilder.dkimSigningAttributes(dkimSigningAttributes.let(CfnEmailIdentity.DkimSigningAttributesProperty.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public interface CfnEmailIdentityProps { * @param feedbackAttributes Used to enable or disable feedback forwarding for an identity. */ override fun feedbackAttributes(feedbackAttributes: IResolvable) { - cdkBuilder.feedbackAttributes(feedbackAttributes.let(IResolvable::unwrap)) + cdkBuilder.feedbackAttributes(feedbackAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -323,7 +323,7 @@ public interface CfnEmailIdentityProps { */ override fun feedbackAttributes(feedbackAttributes: CfnEmailIdentity.FeedbackAttributesProperty) { - cdkBuilder.feedbackAttributes(feedbackAttributes.let(CfnEmailIdentity.FeedbackAttributesProperty::unwrap)) + cdkBuilder.feedbackAttributes(feedbackAttributes.let(CfnEmailIdentity.FeedbackAttributesProperty.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public interface CfnEmailIdentityProps { * for an email identity. */ override fun mailFromAttributes(mailFromAttributes: IResolvable) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public interface CfnEmailIdentityProps { */ override fun mailFromAttributes(mailFromAttributes: CfnEmailIdentity.MailFromAttributesProperty) { - cdkBuilder.mailFromAttributes(mailFromAttributes.let(CfnEmailIdentity.MailFromAttributesProperty::unwrap)) + cdkBuilder.mailFromAttributes(mailFromAttributes.let(CfnEmailIdentity.MailFromAttributesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilter.kt index f5bc64106e..1ee9b9ad6d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilter.kt @@ -49,8 +49,8 @@ public open class CfnReceiptFilter( id: String, props: CfnReceiptFilterProps, ) : - this(software.amazon.awscdk.services.ses.CfnReceiptFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReceiptFilterProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnReceiptFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReceiptFilterProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnReceiptFilter( * IP address range, and whether to allow or block mail from it. */ public open fun filter(`value`: IResolvable) { - unwrap(this).setFilter(`value`.let(IResolvable::unwrap)) + unwrap(this).setFilter(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public open class CfnReceiptFilter( * IP address range, and whether to allow or block mail from it. */ public open fun filter(`value`: FilterProperty) { - unwrap(this).setFilter(`value`.let(FilterProperty::unwrap)) + unwrap(this).setFilter(`value`.let(FilterProperty.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class CfnReceiptFilter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnReceiptFilter( * of a name, an IP address range, and whether to allow or block mail from it. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnReceiptFilter( * of a name, an IP address range, and whether to allow or block mail from it. */ override fun filter(filter: FilterProperty) { - cdkBuilder.filter(filter.let(FilterProperty::unwrap)) + cdkBuilder.filter(filter.let(FilterProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnReceiptFilter( * to block or allow incoming mail from them. */ override fun ipFilter(ipFilter: IResolvable) { - cdkBuilder.ipFilter(ipFilter.let(IResolvable::unwrap)) + cdkBuilder.ipFilter(ipFilter.let(IResolvable.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class CfnReceiptFilter( * to block or allow incoming mail from them. */ override fun ipFilter(ipFilter: IpFilterProperty) { - cdkBuilder.ipFilter(ipFilter.let(IpFilterProperty::unwrap)) + cdkBuilder.ipFilter(ipFilter.let(IpFilterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilterProps.kt index aaf12f152a..3acccb5cf2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptFilterProps.kt @@ -77,7 +77,7 @@ public interface CfnReceiptFilterProps { * of a name, an IP address range, and whether to allow or block mail from it. */ override fun filter(filter: IResolvable) { - cdkBuilder.filter(filter.let(IResolvable::unwrap)) + cdkBuilder.filter(filter.let(IResolvable.Companion::unwrap)) } /** @@ -85,7 +85,7 @@ public interface CfnReceiptFilterProps { * of a name, an IP address range, and whether to allow or block mail from it. */ override fun filter(filter: CfnReceiptFilter.FilterProperty) { - cdkBuilder.filter(filter.let(CfnReceiptFilter.FilterProperty::unwrap)) + cdkBuilder.filter(filter.let(CfnReceiptFilter.FilterProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRule.kt index 7240f1c234..5cd5d6c09b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRule.kt @@ -92,8 +92,8 @@ public open class CfnReceiptRule( id: String, props: CfnReceiptRuleProps, ) : - this(software.amazon.awscdk.services.ses.CfnReceiptRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReceiptRuleProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnReceiptRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReceiptRuleProps.Companion::unwrap)) ) public constructor( @@ -126,7 +126,7 @@ public open class CfnReceiptRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -140,7 +140,7 @@ public open class CfnReceiptRule( * status, scan status, and TLS policy. */ public open fun rule(`value`: IResolvable) { - unwrap(this).setRule(`value`.let(IResolvable::unwrap)) + unwrap(this).setRule(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public open class CfnReceiptRule( * status, scan status, and TLS policy. */ public open fun rule(`value`: RuleProperty) { - unwrap(this).setRule(`value`.let(RuleProperty::unwrap)) + unwrap(this).setRule(`value`.let(RuleProperty.Companion::unwrap)) } /** @@ -255,7 +255,7 @@ public open class CfnReceiptRule( * domains, enabled status, scan status, and TLS policy. */ override fun rule(rule: IResolvable) { - cdkBuilder.rule(rule.let(IResolvable::unwrap)) + cdkBuilder.rule(rule.let(IResolvable.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class CfnReceiptRule( * domains, enabled status, scan status, and TLS policy. */ override fun rule(rule: RuleProperty) { - cdkBuilder.rule(rule.let(RuleProperty::unwrap)) + cdkBuilder.rule(rule.let(RuleProperty.Companion::unwrap)) } /** @@ -578,14 +578,14 @@ public open class CfnReceiptRule( * @param addHeaderAction Adds a header to the received email. */ override fun addHeaderAction(addHeaderAction: IResolvable) { - cdkBuilder.addHeaderAction(addHeaderAction.let(IResolvable::unwrap)) + cdkBuilder.addHeaderAction(addHeaderAction.let(IResolvable.Companion::unwrap)) } /** * @param addHeaderAction Adds a header to the received email. */ override fun addHeaderAction(addHeaderAction: AddHeaderActionProperty) { - cdkBuilder.addHeaderAction(addHeaderAction.let(AddHeaderActionProperty::unwrap)) + cdkBuilder.addHeaderAction(addHeaderAction.let(AddHeaderActionProperty.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public open class CfnReceiptRule( * and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). */ override fun bounceAction(bounceAction: IResolvable) { - cdkBuilder.bounceAction(bounceAction.let(IResolvable::unwrap)) + cdkBuilder.bounceAction(bounceAction.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnReceiptRule( * and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). */ override fun bounceAction(bounceAction: BounceActionProperty) { - cdkBuilder.bounceAction(bounceAction.let(BounceActionProperty::unwrap)) + cdkBuilder.bounceAction(bounceAction.let(BounceActionProperty.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class CfnReceiptRule( * to Amazon SNS. */ override fun lambdaAction(lambdaAction: IResolvable) { - cdkBuilder.lambdaAction(lambdaAction.let(IResolvable::unwrap)) + cdkBuilder.lambdaAction(lambdaAction.let(IResolvable.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class CfnReceiptRule( * to Amazon SNS. */ override fun lambdaAction(lambdaAction: LambdaActionProperty) { - cdkBuilder.lambdaAction(lambdaAction.let(LambdaActionProperty::unwrap)) + cdkBuilder.lambdaAction(lambdaAction.let(LambdaActionProperty.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public open class CfnReceiptRule( * bucket and, optionally, publishes a notification to Amazon SNS. */ override fun s3Action(s3Action: IResolvable) { - cdkBuilder.s3Action(s3Action.let(IResolvable::unwrap)) + cdkBuilder.s3Action(s3Action.let(IResolvable.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class CfnReceiptRule( * bucket and, optionally, publishes a notification to Amazon SNS. */ override fun s3Action(s3Action: S3ActionProperty) { - cdkBuilder.s3Action(s3Action.let(S3ActionProperty::unwrap)) + cdkBuilder.s3Action(s3Action.let(S3ActionProperty.Companion::unwrap)) } /** @@ -675,14 +675,14 @@ public open class CfnReceiptRule( * @param snsAction Publishes the email content within a notification to Amazon SNS. */ override fun snsAction(snsAction: IResolvable) { - cdkBuilder.snsAction(snsAction.let(IResolvable::unwrap)) + cdkBuilder.snsAction(snsAction.let(IResolvable.Companion::unwrap)) } /** * @param snsAction Publishes the email content within a notification to Amazon SNS. */ override fun snsAction(snsAction: SNSActionProperty) { - cdkBuilder.snsAction(snsAction.let(SNSActionProperty::unwrap)) + cdkBuilder.snsAction(snsAction.let(SNSActionProperty.Companion::unwrap)) } /** @@ -698,7 +698,7 @@ public open class CfnReceiptRule( * publishes a notification to Amazon SNS. */ override fun stopAction(stopAction: IResolvable) { - cdkBuilder.stopAction(stopAction.let(IResolvable::unwrap)) + cdkBuilder.stopAction(stopAction.let(IResolvable.Companion::unwrap)) } /** @@ -706,7 +706,7 @@ public open class CfnReceiptRule( * publishes a notification to Amazon SNS. */ override fun stopAction(stopAction: StopActionProperty) { - cdkBuilder.stopAction(stopAction.let(StopActionProperty::unwrap)) + cdkBuilder.stopAction(stopAction.let(StopActionProperty.Companion::unwrap)) } /** @@ -723,7 +723,7 @@ public open class CfnReceiptRule( * Amazon Amazon SNS. */ override fun workmailAction(workmailAction: IResolvable) { - cdkBuilder.workmailAction(workmailAction.let(IResolvable::unwrap)) + cdkBuilder.workmailAction(workmailAction.let(IResolvable.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class CfnReceiptRule( * Amazon Amazon SNS. */ override fun workmailAction(workmailAction: WorkmailActionProperty) { - cdkBuilder.workmailAction(workmailAction.let(WorkmailActionProperty::unwrap)) + cdkBuilder.workmailAction(workmailAction.let(WorkmailActionProperty.Companion::unwrap)) } /** @@ -1648,7 +1648,7 @@ public open class CfnReceiptRule( * the recipient email addresses or domains specified in the receipt rule. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -1678,7 +1678,7 @@ public open class CfnReceiptRule( * The default value is `false` . */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -1723,7 +1723,7 @@ public open class CfnReceiptRule( * The default value is `false` . */ override fun scanEnabled(scanEnabled: IResolvable) { - cdkBuilder.scanEnabled(scanEnabled.let(IResolvable::unwrap)) + cdkBuilder.scanEnabled(scanEnabled.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleProps.kt index f008bdae24..176830a6d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleProps.kt @@ -156,7 +156,7 @@ public interface CfnReceiptRuleProps { * domains, enabled status, scan status, and TLS policy. */ override fun rule(rule: IResolvable) { - cdkBuilder.rule(rule.let(IResolvable::unwrap)) + cdkBuilder.rule(rule.let(IResolvable.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public interface CfnReceiptRuleProps { * domains, enabled status, scan status, and TLS policy. */ override fun rule(rule: CfnReceiptRule.RuleProperty) { - cdkBuilder.rule(rule.let(CfnReceiptRule.RuleProperty::unwrap)) + cdkBuilder.rule(rule.let(CfnReceiptRule.RuleProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleSet.kt index 935b8d7c99..4a564b3525 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnReceiptRuleSet.kt @@ -38,7 +38,7 @@ public open class CfnReceiptRuleSet( cdkObject: software.amazon.awscdk.services.ses.CfnReceiptRuleSet, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.CfnReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.CfnReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -47,8 +47,8 @@ public open class CfnReceiptRuleSet( id: String, props: CfnReceiptRuleSetProps, ) : - this(software.amazon.awscdk.services.ses.CfnReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReceiptRuleSetProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReceiptRuleSetProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnReceiptRuleSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplate.kt index 295cf2d3e3..96f1c71367 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplate.kt @@ -45,7 +45,7 @@ public open class CfnTemplate( cdkObject: software.amazon.awscdk.services.ses.CfnTemplate, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class CfnTemplate( id: String, props: CfnTemplateProps, ) : - this(software.amazon.awscdk.services.ses.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTemplateProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTemplateProps.Companion::unwrap)) ) public constructor( @@ -76,7 +76,7 @@ public open class CfnTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public open class CfnTemplate( * part. */ public open fun template(`value`: IResolvable) { - unwrap(this).setTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -98,7 +98,7 @@ public open class CfnTemplate( * part. */ public open fun template(`value`: TemplateProperty) { - unwrap(this).setTemplate(`value`.let(TemplateProperty::unwrap)) + unwrap(this).setTemplate(`value`.let(TemplateProperty.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnTemplate( * or a text-only part. */ override fun template(template: IResolvable) { - cdkBuilder.template(template.let(IResolvable::unwrap)) + cdkBuilder.template(template.let(IResolvable.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnTemplate( * or a text-only part. */ override fun template(template: TemplateProperty) { - cdkBuilder.template(template.let(TemplateProperty::unwrap)) + cdkBuilder.template(template.let(TemplateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplateProps.kt index 7166bce9b5..b87d7ed1a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnTemplateProps.kt @@ -76,7 +76,7 @@ public interface CfnTemplateProps { * or a text-only part. */ override fun template(template: IResolvable) { - cdkBuilder.template(template.let(IResolvable::unwrap)) + cdkBuilder.template(template.let(IResolvable.Companion::unwrap)) } /** @@ -84,7 +84,7 @@ public interface CfnTemplateProps { * or a text-only part. */ override fun template(template: CfnTemplate.TemplateProperty) { - cdkBuilder.template(template.let(CfnTemplate.TemplateProperty::unwrap)) + cdkBuilder.template(template.let(CfnTemplate.TemplateProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributes.kt index 620ccbd36e..d018a80f60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributes.kt @@ -41,7 +41,7 @@ public open class CfnVdmAttributes( cdkObject: software.amazon.awscdk.services.ses.CfnVdmAttributes, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.CfnVdmAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.CfnVdmAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -50,8 +50,8 @@ public open class CfnVdmAttributes( id: String, props: CfnVdmAttributesProps, ) : - this(software.amazon.awscdk.services.ses.CfnVdmAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnVdmAttributesProps::unwrap)) + this(software.amazon.awscdk.services.ses.CfnVdmAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnVdmAttributesProps.Companion::unwrap)) ) public constructor( @@ -76,14 +76,14 @@ public open class CfnVdmAttributes( * Specifies additional settings for your VDM configuration as applicable to the Dashboard. */ public open fun dashboardAttributes(`value`: IResolvable) { - unwrap(this).setDashboardAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setDashboardAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies additional settings for your VDM configuration as applicable to the Dashboard. */ public open fun dashboardAttributes(`value`: DashboardAttributesProperty) { - unwrap(this).setDashboardAttributes(`value`.let(DashboardAttributesProperty::unwrap)) + unwrap(this).setDashboardAttributes(`value`.let(DashboardAttributesProperty.Companion::unwrap)) } /** @@ -103,14 +103,14 @@ public open class CfnVdmAttributes( * Specifies additional settings for your VDM configuration as applicable to the Guardian. */ public open fun guardianAttributes(`value`: IResolvable) { - unwrap(this).setGuardianAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setGuardianAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies additional settings for your VDM configuration as applicable to the Guardian. */ public open fun guardianAttributes(`value`: GuardianAttributesProperty) { - unwrap(this).setGuardianAttributes(`value`.let(GuardianAttributesProperty::unwrap)) + unwrap(this).setGuardianAttributes(`value`.let(GuardianAttributesProperty.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnVdmAttributes( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnVdmAttributes( * applicable to the Dashboard. */ override fun dashboardAttributes(dashboardAttributes: IResolvable) { - cdkBuilder.dashboardAttributes(dashboardAttributes.let(IResolvable::unwrap)) + cdkBuilder.dashboardAttributes(dashboardAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnVdmAttributes( * applicable to the Dashboard. */ override fun dashboardAttributes(dashboardAttributes: DashboardAttributesProperty) { - cdkBuilder.dashboardAttributes(dashboardAttributes.let(DashboardAttributesProperty::unwrap)) + cdkBuilder.dashboardAttributes(dashboardAttributes.let(DashboardAttributesProperty.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public open class CfnVdmAttributes( * applicable to the Guardian. */ override fun guardianAttributes(guardianAttributes: IResolvable) { - cdkBuilder.guardianAttributes(guardianAttributes.let(IResolvable::unwrap)) + cdkBuilder.guardianAttributes(guardianAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnVdmAttributes( * applicable to the Guardian. */ override fun guardianAttributes(guardianAttributes: GuardianAttributesProperty) { - cdkBuilder.guardianAttributes(guardianAttributes.let(GuardianAttributesProperty::unwrap)) + cdkBuilder.guardianAttributes(guardianAttributes.let(GuardianAttributesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributesProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributesProps.kt index c5897d75f4..3e13b52f08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributesProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CfnVdmAttributesProps.kt @@ -104,7 +104,7 @@ public interface CfnVdmAttributesProps { * applicable to the Dashboard. */ override fun dashboardAttributes(dashboardAttributes: IResolvable) { - cdkBuilder.dashboardAttributes(dashboardAttributes.let(IResolvable::unwrap)) + cdkBuilder.dashboardAttributes(dashboardAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface CfnVdmAttributesProps { */ override fun dashboardAttributes(dashboardAttributes: CfnVdmAttributes.DashboardAttributesProperty) { - cdkBuilder.dashboardAttributes(dashboardAttributes.let(CfnVdmAttributes.DashboardAttributesProperty::unwrap)) + cdkBuilder.dashboardAttributes(dashboardAttributes.let(CfnVdmAttributes.DashboardAttributesProperty.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface CfnVdmAttributesProps { * applicable to the Guardian. */ override fun guardianAttributes(guardianAttributes: IResolvable) { - cdkBuilder.guardianAttributes(guardianAttributes.let(IResolvable::unwrap)) + cdkBuilder.guardianAttributes(guardianAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface CfnVdmAttributesProps { */ override fun guardianAttributes(guardianAttributes: CfnVdmAttributes.GuardianAttributesProperty) { - cdkBuilder.guardianAttributes(guardianAttributes.let(CfnVdmAttributes.GuardianAttributesProperty::unwrap)) + cdkBuilder.guardianAttributes(guardianAttributes.let(CfnVdmAttributes.GuardianAttributesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CloudWatchDimension.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CloudWatchDimension.kt index 4a313c7051..eeaf3ac341 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CloudWatchDimension.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/CloudWatchDimension.kt @@ -90,7 +90,7 @@ public interface CloudWatchDimension { * CloudWatch. */ override fun source(source: CloudWatchDimensionSource) { - cdkBuilder.source(source.let(CloudWatchDimensionSource::unwrap)) + cdkBuilder.source(source.let(CloudWatchDimensionSource.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.CloudWatchDimension = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSet.kt index 8254fb3546..c3a6b3aa81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSet.kt @@ -30,7 +30,7 @@ public open class ConfigurationSet( cdkObject: software.amazon.awscdk.services.ses.ConfigurationSet, ) : Resource(cdkObject), IConfigurationSet { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.ConfigurationSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.ConfigurationSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -39,8 +39,8 @@ public open class ConfigurationSet( id: String, props: ConfigurationSetProps, ) : - this(software.amazon.awscdk.services.ses.ConfigurationSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ConfigurationSetProps::unwrap)) + this(software.amazon.awscdk.services.ses.ConfigurationSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ConfigurationSetProps.Companion::unwrap)) ) public constructor( @@ -58,7 +58,7 @@ public open class ConfigurationSet( */ public open fun addEventDestination(id: String, options: ConfigurationSetEventDestinationOptions): ConfigurationSetEventDestination = unwrap(this).addEventDestination(id, - options.let(ConfigurationSetEventDestinationOptions::unwrap)).let(ConfigurationSetEventDestination::wrap) + options.let(ConfigurationSetEventDestinationOptions.Companion::unwrap)).let(ConfigurationSetEventDestination::wrap) /** * Adds an event destination to this configuration set. @@ -194,7 +194,7 @@ public open class ConfigurationSet( * @param dedicatedIpPool The dedicated IP pool to associate with the configuration set. */ override fun dedicatedIpPool(dedicatedIpPool: IDedicatedIpPool) { - cdkBuilder.dedicatedIpPool(dedicatedIpPool.let(IDedicatedIpPool::unwrap)) + cdkBuilder.dedicatedIpPool(dedicatedIpPool.let(IDedicatedIpPool.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class ConfigurationSet( * automatically added to your account's suppression list. */ override fun suppressionReasons(suppressionReasons: SuppressionReasons) { - cdkBuilder.suppressionReasons(suppressionReasons.let(SuppressionReasons::unwrap)) + cdkBuilder.suppressionReasons(suppressionReasons.let(SuppressionReasons.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class ConfigurationSet( * use Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: ConfigurationSetTlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(ConfigurationSetTlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(ConfigurationSetTlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.ConfigurationSet = cdkBuilder.build() @@ -256,7 +256,7 @@ public open class ConfigurationSet( id: String, configurationSetName: String, ): IConfigurationSet = - software.amazon.awscdk.services.ses.ConfigurationSet.fromConfigurationSetName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.ConfigurationSet.fromConfigurationSetName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, configurationSetName).let(IConfigurationSet::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestination.kt index 51e42634e7..8db2a64ca7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestination.kt @@ -41,8 +41,8 @@ public open class ConfigurationSetEventDestination( id: String, props: ConfigurationSetEventDestinationProps, ) : - this(software.amazon.awscdk.services.ses.ConfigurationSetEventDestination(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ConfigurationSetEventDestinationProps::unwrap)) + this(software.amazon.awscdk.services.ses.ConfigurationSetEventDestination(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ConfigurationSetEventDestinationProps.Companion::unwrap)) ) public constructor( @@ -130,7 +130,7 @@ public open class ConfigurationSetEventDestination( * @param configurationSet The configuration set that contains the event destination. */ override fun configurationSet(configurationSet: IConfigurationSet) { - cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet::unwrap)) + cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class ConfigurationSetEventDestination( * @param destination The event destination. */ override fun destination(destination: EventDestination) { - cdkBuilder.destination(destination.let(EventDestination::unwrap)) + cdkBuilder.destination(destination.let(EventDestination.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class ConfigurationSetEventDestination( * @param events The type of email sending events to publish to the event destination. */ override fun events(events: List) { - cdkBuilder.events(events.map(EmailSendingEvent::unwrap)) + cdkBuilder.events(events.map(EmailSendingEvent.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class ConfigurationSetEventDestination( id: String, configurationSetEventDestinationId: String, ): IConfigurationSetEventDestination = - software.amazon.awscdk.services.ses.ConfigurationSetEventDestination.fromConfigurationSetEventDestinationId(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.ConfigurationSetEventDestination.fromConfigurationSetEventDestinationId(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, configurationSetEventDestinationId).let(IConfigurationSetEventDestination::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationOptions.kt index 4c6df310e0..38f5414fe2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationOptions.kt @@ -102,7 +102,7 @@ public interface ConfigurationSetEventDestinationOptions { * @param destination The event destination. */ override fun destination(destination: EventDestination) { - cdkBuilder.destination(destination.let(EventDestination::unwrap)) + cdkBuilder.destination(destination.let(EventDestination.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public interface ConfigurationSetEventDestinationOptions { * @param events The type of email sending events to publish to the event destination. */ override fun events(events: List) { - cdkBuilder.events(events.map(EmailSendingEvent::unwrap)) + cdkBuilder.events(events.map(EmailSendingEvent.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationProps.kt index ddf01dd983..202e883ecf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetEventDestinationProps.kt @@ -84,7 +84,7 @@ public interface ConfigurationSetEventDestinationProps : ConfigurationSetEventDe * @param configurationSet The configuration set that contains the event destination. */ override fun configurationSet(configurationSet: IConfigurationSet) { - cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet::unwrap)) + cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public interface ConfigurationSetEventDestinationProps : ConfigurationSetEventDe * @param destination The event destination. */ override fun destination(destination: EventDestination) { - cdkBuilder.destination(destination.let(EventDestination::unwrap)) + cdkBuilder.destination(destination.let(EventDestination.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface ConfigurationSetEventDestinationProps : ConfigurationSetEventDe * @param events The type of email sending events to publish to the event destination. */ override fun events(events: List) { - cdkBuilder.events(events.map(EmailSendingEvent::unwrap)) + cdkBuilder.events(events.map(EmailSendingEvent.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetProps.kt index 6a9c2587d1..1a62abd0e5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ConfigurationSetProps.kt @@ -150,7 +150,7 @@ public interface ConfigurationSetProps { * @param dedicatedIpPool The dedicated IP pool to associate with the configuration set. */ override fun dedicatedIpPool(dedicatedIpPool: IDedicatedIpPool) { - cdkBuilder.dedicatedIpPool(dedicatedIpPool.let(IDedicatedIpPool::unwrap)) + cdkBuilder.dedicatedIpPool(dedicatedIpPool.let(IDedicatedIpPool.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface ConfigurationSetProps { * automatically added to your account's suppression list. */ override fun suppressionReasons(suppressionReasons: SuppressionReasons) { - cdkBuilder.suppressionReasons(suppressionReasons.let(SuppressionReasons::unwrap)) + cdkBuilder.suppressionReasons(suppressionReasons.let(SuppressionReasons.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface ConfigurationSetProps { * use Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: ConfigurationSetTlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(ConfigurationSetTlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(ConfigurationSetTlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.ConfigurationSetProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPool.kt index e703fb6a22..6493bec83e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPool.kt @@ -25,7 +25,7 @@ public open class DedicatedIpPool( cdkObject: software.amazon.awscdk.services.ses.DedicatedIpPool, ) : Resource(cdkObject), IDedicatedIpPool { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.DedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.DedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -34,8 +34,8 @@ public open class DedicatedIpPool( id: String, props: DedicatedIpPoolProps, ) : - this(software.amazon.awscdk.services.ses.DedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DedicatedIpPoolProps::unwrap)) + this(software.amazon.awscdk.services.ses.DedicatedIpPool(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DedicatedIpPoolProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class DedicatedIpPool( * @param scalingMode The type of scailing mode to use for this IP pool. */ override fun scalingMode(scalingMode: ScalingMode) { - cdkBuilder.scalingMode(scalingMode.let(ScalingMode::unwrap)) + cdkBuilder.scalingMode(scalingMode.let(ScalingMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.DedicatedIpPool = cdkBuilder.build() @@ -128,7 +128,7 @@ public open class DedicatedIpPool( id: String, dedicatedIpPoolName: String, ): IDedicatedIpPool = - software.amazon.awscdk.services.ses.DedicatedIpPool.fromDedicatedIpPoolName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.DedicatedIpPool.fromDedicatedIpPoolName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, dedicatedIpPoolName).let(IDedicatedIpPool::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPoolProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPoolProps.kt index f249b0b9db..9c4ed06f56 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPoolProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DedicatedIpPoolProps.kt @@ -86,7 +86,7 @@ public interface DedicatedIpPoolProps { * However, updating ScalingMode from `MANAGED` to `STANDARD` is not supported. */ override fun scalingMode(scalingMode: ScalingMode) { - cdkBuilder.scalingMode(scalingMode.let(ScalingMode::unwrap)) + cdkBuilder.scalingMode(scalingMode.let(ScalingMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.DedicatedIpPoolProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentity.kt index f48d35c002..af7e411b30 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentity.kt @@ -35,7 +35,7 @@ public abstract class DkimIdentity( * @param hostedZone */ public open fun bind(emailIdentity: EmailIdentity): DkimIdentityConfig? = - unwrap(this).bind(emailIdentity.let(EmailIdentity::unwrap))?.let(DkimIdentityConfig::wrap) + unwrap(this).bind(emailIdentity.let(EmailIdentity.Companion::unwrap))?.let(DkimIdentityConfig::wrap) /** * Binds this DKIM identity to the email identity. @@ -44,8 +44,8 @@ public abstract class DkimIdentity( * @param hostedZone */ public open fun bind(emailIdentity: EmailIdentity, hostedZone: IPublicHostedZone): - DkimIdentityConfig? = unwrap(this).bind(emailIdentity.let(EmailIdentity::unwrap), - hostedZone.let(IPublicHostedZone::unwrap))?.let(DkimIdentityConfig::wrap) + DkimIdentityConfig? = unwrap(this).bind(emailIdentity.let(EmailIdentity.Companion::unwrap), + hostedZone.let(IPublicHostedZone.Companion::unwrap))?.let(DkimIdentityConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.ses.DkimIdentity, @@ -53,7 +53,7 @@ public abstract class DkimIdentity( public companion object { public fun byoDkim(options: ByoDkimOptions): DkimIdentity = - software.amazon.awscdk.services.ses.DkimIdentity.byoDkim(options.let(ByoDkimOptions::unwrap)).let(DkimIdentity::wrap) + software.amazon.awscdk.services.ses.DkimIdentity.byoDkim(options.let(ByoDkimOptions.Companion::unwrap)).let(DkimIdentity::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("3bfff2fcb89d53bfb99ba06b7f9047a977afc3c905867e474890d4c288deeedd") @@ -64,7 +64,7 @@ public abstract class DkimIdentity( software.amazon.awscdk.services.ses.DkimIdentity.easyDkim().let(DkimIdentity::wrap) public fun easyDkim(signingKeyLength: EasyDkimSigningKeyLength): DkimIdentity = - software.amazon.awscdk.services.ses.DkimIdentity.easyDkim(signingKeyLength.let(EasyDkimSigningKeyLength::unwrap)).let(DkimIdentity::wrap) + software.amazon.awscdk.services.ses.DkimIdentity.easyDkim(signingKeyLength.let(EasyDkimSigningKeyLength.Companion::unwrap)).let(DkimIdentity::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ses.DkimIdentity): DkimIdentity = CdkObjectWrappers.wrap(cdkObject) as? DkimIdentity ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentityConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentityConfig.kt index d6af662a0e..7418bec13b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentityConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DkimIdentityConfig.kt @@ -99,7 +99,7 @@ public interface DkimIdentityConfig { * at most once per day. */ override fun nextSigningKeyLength(nextSigningKeyLength: EasyDkimSigningKeyLength) { - cdkBuilder.nextSigningKeyLength(nextSigningKeyLength.let(EasyDkimSigningKeyLength::unwrap)) + cdkBuilder.nextSigningKeyLength(nextSigningKeyLength.let(EasyDkimSigningKeyLength.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.DkimIdentityConfig = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRule.kt index e802880d79..be621e98d3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRule.kt @@ -46,8 +46,8 @@ public open class DropSpamReceiptRule( id: String, props: DropSpamReceiptRuleProps, ) : - this(software.amazon.awscdk.services.ses.DropSpamReceiptRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DropSpamReceiptRuleProps::unwrap)) + this(software.amazon.awscdk.services.ses.DropSpamReceiptRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DropSpamReceiptRuleProps.Companion::unwrap)) ) public constructor( @@ -181,7 +181,7 @@ public open class DropSpamReceiptRule( * the recipient email addresses or domains specified in the receipt rule. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IReceiptRuleAction::unwrap)) + cdkBuilder.actions(actions.map(IReceiptRuleAction.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class DropSpamReceiptRule( * @param after An existing rule after which the new rule will be placed. */ override fun after(after: IReceiptRule) { - cdkBuilder.after(after.let(IReceiptRule::unwrap)) + cdkBuilder.after(after.let(IReceiptRule.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class DropSpamReceiptRule( * @param ruleSet The name of the rule set that the receipt rule will be added to. */ override fun ruleSet(ruleSet: IReceiptRuleSet) { - cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet::unwrap)) + cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class DropSpamReceiptRule( * connection encrypted with Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: TlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.DropSpamReceiptRule = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRuleProps.kt index a4fe8a6d96..4f0543fcee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/DropSpamReceiptRuleProps.kt @@ -102,7 +102,7 @@ public interface DropSpamReceiptRuleProps : ReceiptRuleProps { * the recipient email addresses or domains specified in the receipt rule. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IReceiptRuleAction::unwrap)) + cdkBuilder.actions(actions.map(IReceiptRuleAction.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface DropSpamReceiptRuleProps : ReceiptRuleProps { * @param after An existing rule after which the new rule will be placed. */ override fun after(after: IReceiptRule) { - cdkBuilder.after(after.let(IReceiptRule::unwrap)) + cdkBuilder.after(after.let(IReceiptRule.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface DropSpamReceiptRuleProps : ReceiptRuleProps { * @param ruleSet The name of the rule set that the receipt rule will be added to. */ override fun ruleSet(ruleSet: IReceiptRuleSet) { - cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet::unwrap)) + cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface DropSpamReceiptRuleProps : ReceiptRuleProps { * connection encrypted with Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: TlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.DropSpamReceiptRuleProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentity.kt index e00107fbde..bd1e9151f2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentity.kt @@ -36,8 +36,8 @@ public open class EmailIdentity( id: String, props: EmailIdentityProps, ) : - this(software.amazon.awscdk.services.ses.EmailIdentity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmailIdentityProps::unwrap)) + this(software.amazon.awscdk.services.ses.EmailIdentity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmailIdentityProps.Companion::unwrap)) ) public constructor( @@ -105,8 +105,8 @@ public open class EmailIdentity( * @param actions the set of actions to allow. */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Permits an IAM principal the send email action. @@ -116,7 +116,7 @@ public open class EmailIdentity( * @param grantee the principal to grant access to. */ public override fun grantSendEmail(grantee: IGrantable): Grant = - unwrap(this).grantSendEmail(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantSendEmail(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.EmailIdentity]. @@ -221,7 +221,7 @@ public open class EmailIdentity( * @param configurationSet The configuration set to associate with the email identity. */ override fun configurationSet(configurationSet: IConfigurationSet) { - cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet::unwrap)) + cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class EmailIdentity( * @param dkimIdentity The type of DKIM identity to use. */ override fun dkimIdentity(dkimIdentity: DkimIdentity) { - cdkBuilder.dkimIdentity(dkimIdentity.let(DkimIdentity::unwrap)) + cdkBuilder.dkimIdentity(dkimIdentity.let(DkimIdentity.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class EmailIdentity( * @param identity The email address or domain to verify. */ override fun identity(identity: Identity) { - cdkBuilder.identity(identity.let(Identity::unwrap)) + cdkBuilder.identity(identity.let(Identity.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public open class EmailIdentity( */ override fun mailFromBehaviorOnMxFailure(mailFromBehaviorOnMxFailure: MailFromBehaviorOnMxFailure) { - cdkBuilder.mailFromBehaviorOnMxFailure(mailFromBehaviorOnMxFailure.let(MailFromBehaviorOnMxFailure::unwrap)) + cdkBuilder.mailFromBehaviorOnMxFailure(mailFromBehaviorOnMxFailure.let(MailFromBehaviorOnMxFailure.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public open class EmailIdentity( id: String, emailIdentityName: String, ): IEmailIdentity = - software.amazon.awscdk.services.ses.EmailIdentity.fromEmailIdentityName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.EmailIdentity.fromEmailIdentityName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, emailIdentityName).let(IEmailIdentity::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentityProps.kt index f8478f16f9..9d8d96c644 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EmailIdentityProps.kt @@ -156,14 +156,14 @@ public interface EmailIdentityProps { * @param configurationSet The configuration set to associate with the email identity. */ override fun configurationSet(configurationSet: IConfigurationSet) { - cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet::unwrap)) + cdkBuilder.configurationSet(configurationSet.let(IConfigurationSet.Companion::unwrap)) } /** * @param dkimIdentity The type of DKIM identity to use. */ override fun dkimIdentity(dkimIdentity: DkimIdentity) { - cdkBuilder.dkimIdentity(dkimIdentity.let(DkimIdentity::unwrap)) + cdkBuilder.dkimIdentity(dkimIdentity.let(DkimIdentity.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public interface EmailIdentityProps { * @param identity The email address or domain to verify. */ override fun identity(identity: Identity) { - cdkBuilder.identity(identity.let(Identity::unwrap)) + cdkBuilder.identity(identity.let(Identity.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface EmailIdentityProps { */ override fun mailFromBehaviorOnMxFailure(mailFromBehaviorOnMxFailure: MailFromBehaviorOnMxFailure) { - cdkBuilder.mailFromBehaviorOnMxFailure(mailFromBehaviorOnMxFailure.let(MailFromBehaviorOnMxFailure::unwrap)) + cdkBuilder.mailFromBehaviorOnMxFailure(mailFromBehaviorOnMxFailure.let(MailFromBehaviorOnMxFailure.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EventDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EventDestination.kt index 983332f78b..c0a893f9ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EventDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/EventDestination.kt @@ -44,13 +44,13 @@ public abstract class EventDestination( public companion object { public fun cloudWatchDimensions(dimensions: List): EventDestination = - software.amazon.awscdk.services.ses.EventDestination.cloudWatchDimensions(dimensions.map(CloudWatchDimension::unwrap)).let(EventDestination::wrap) + software.amazon.awscdk.services.ses.EventDestination.cloudWatchDimensions(dimensions.map(CloudWatchDimension.Companion::unwrap)).let(EventDestination::wrap) public fun cloudWatchDimensions(vararg dimensions: CloudWatchDimension): EventDestination = cloudWatchDimensions(dimensions.toList()) public fun snsTopic(topic: ITopic): EventDestination = - software.amazon.awscdk.services.ses.EventDestination.snsTopic(topic.let(ITopic::unwrap)).let(EventDestination::wrap) + software.amazon.awscdk.services.ses.EventDestination.snsTopic(topic.let(ITopic.Companion::unwrap)).let(EventDestination::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ses.EventDestination): EventDestination = CdkObjectWrappers.wrap(cdkObject) as? EventDestination ?: diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSet.kt index 273b47249d..4493161029 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSet.kt @@ -37,7 +37,7 @@ public interface IConfigurationSet : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSetEventDestination.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSetEventDestination.kt index c2a87d427c..4a06896111 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSetEventDestination.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IConfigurationSetEventDestination.kt @@ -37,7 +37,7 @@ public interface IConfigurationSetEventDestination : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IDedicatedIpPool.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IDedicatedIpPool.kt index 4efc62bf98..b42ac62e58 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IDedicatedIpPool.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IDedicatedIpPool.kt @@ -37,7 +37,7 @@ public interface IDedicatedIpPool : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IEmailIdentity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IEmailIdentity.kt index 055f30df0e..4eea2e7e72 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IEmailIdentity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IEmailIdentity.kt @@ -61,7 +61,7 @@ public interface IEmailIdentity : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface IEmailIdentity : IResource { * @param actions the set of actions to allow. */ override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -105,7 +105,7 @@ public interface IEmailIdentity : IResource { * @param grantee the principal to grant access to. */ override fun grantSendEmail(grantee: IGrantable): Grant = - unwrap(this).grantSendEmail(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantSendEmail(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRule.kt index 16800c38fc..cc04f776a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRule.kt @@ -37,7 +37,7 @@ public interface IReceiptRule : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleAction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleAction.kt index 2aaf0c8531..fb238e87f3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleAction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleAction.kt @@ -25,7 +25,7 @@ public interface IReceiptRuleAction { * @param receiptRule */ override fun bind(receiptRule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(receiptRule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(receiptRule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleSet.kt index 5f0ec52c3f..70679df9dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IReceiptRuleSet.kt @@ -81,7 +81,8 @@ public interface IReceiptRuleSet : IResource { * @param options */ override fun addRule(id: String, options: ReceiptRuleOptions): ReceiptRule = - unwrap(this).addRule(id, options.let(ReceiptRuleOptions::unwrap)).let(ReceiptRule::wrap) + unwrap(this).addRule(id, + options.let(ReceiptRuleOptions.Companion::unwrap)).let(ReceiptRule::wrap) /** * Adds a new receipt rule in this rule set. @@ -111,7 +112,7 @@ public interface IReceiptRuleSet : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IVdmAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IVdmAttributes.kt index 344dbac30a..86c6ff2fab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IVdmAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/IVdmAttributes.kt @@ -12,11 +12,11 @@ import io.cloudshiftdev.constructs.Node import kotlin.String /** - * Virtual Deliverablity Manager (VDM) attributes. + * Virtual Deliverability Manager (VDM) attributes. */ public interface IVdmAttributes : IResource { /** - * The name of the resource behind the Virtual Deliverablity Manager attributes. + * The name of the resource behind the Virtual Deliverability Manager attributes. */ public fun vdmAttributesName(): String @@ -37,7 +37,7 @@ public interface IVdmAttributes : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -60,7 +60,7 @@ public interface IVdmAttributes : IResource { override fun stack(): Stack = unwrap(this).getStack().let(Stack::wrap) /** - * The name of the resource behind the Virtual Deliverablity Manager attributes. + * The name of the resource behind the Virtual Deliverability Manager attributes. */ override fun vdmAttributesName(): String = unwrap(this).getVdmAttributesName() } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/Identity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/Identity.kt index 46470b6075..45e0f9259e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/Identity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/Identity.kt @@ -49,7 +49,7 @@ public abstract class Identity( software.amazon.awscdk.services.ses.Identity.email(email).let(Identity::wrap) public fun publicHostedZone(hostedZone: IPublicHostedZone): Identity = - software.amazon.awscdk.services.ses.Identity.publicHostedZone(hostedZone.let(IPublicHostedZone::unwrap)).let(Identity::wrap) + software.amazon.awscdk.services.ses.Identity.publicHostedZone(hostedZone.let(IPublicHostedZone.Companion::unwrap)).let(Identity::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.ses.Identity): Identity = CdkObjectWrappers.wrap(cdkObject) as? Identity ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilter.kt index 881ab130cf..66495c27b8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilter.kt @@ -27,7 +27,7 @@ public open class ReceiptFilter( cdkObject: software.amazon.awscdk.services.ses.ReceiptFilter, ) : Resource(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.ReceiptFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.ReceiptFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -36,8 +36,8 @@ public open class ReceiptFilter( id: String, props: ReceiptFilterProps, ) : - this(software.amazon.awscdk.services.ses.ReceiptFilter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ReceiptFilterProps::unwrap)) + this(software.amazon.awscdk.services.ses.ReceiptFilter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ReceiptFilterProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class ReceiptFilter( * @param policy The policy for the filter. */ override fun policy(policy: ReceiptFilterPolicy) { - cdkBuilder.policy(policy.let(ReceiptFilterPolicy::unwrap)) + cdkBuilder.policy(policy.let(ReceiptFilterPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilterProps.kt index 0a05c37427..d538807129 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptFilterProps.kt @@ -78,7 +78,7 @@ public interface ReceiptFilterProps { * @param policy The policy for the filter. */ override fun policy(policy: ReceiptFilterPolicy) { - cdkBuilder.policy(policy.let(ReceiptFilterPolicy::unwrap)) + cdkBuilder.policy(policy.let(ReceiptFilterPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRule.kt index 5210b1beb5..7ac6fcb5da 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRule.kt @@ -31,8 +31,8 @@ public open class ReceiptRule( id: String, props: ReceiptRuleProps, ) : - this(software.amazon.awscdk.services.ses.ReceiptRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ReceiptRuleProps::unwrap)) + this(software.amazon.awscdk.services.ses.ReceiptRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ReceiptRuleProps.Companion::unwrap)) ) public constructor( @@ -48,7 +48,7 @@ public open class ReceiptRule( * @param action */ public open fun addAction(action: IReceiptRuleAction) { - unwrap(this).addAction(action.let(IReceiptRuleAction::unwrap)) + unwrap(this).addAction(action.let(IReceiptRuleAction.Companion::unwrap)) } /** @@ -175,7 +175,7 @@ public open class ReceiptRule( * the recipient email addresses or domains specified in the receipt rule. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IReceiptRuleAction::unwrap)) + cdkBuilder.actions(actions.map(IReceiptRuleAction.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class ReceiptRule( * @param after An existing rule after which the new rule will be placed. */ override fun after(after: IReceiptRule) { - cdkBuilder.after(after.let(IReceiptRule::unwrap)) + cdkBuilder.after(after.let(IReceiptRule.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class ReceiptRule( * @param ruleSet The name of the rule set that the receipt rule will be added to. */ override fun ruleSet(ruleSet: IReceiptRuleSet) { - cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet::unwrap)) + cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class ReceiptRule( * connection encrypted with Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: TlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.ReceiptRule = cdkBuilder.build() @@ -286,7 +286,7 @@ public open class ReceiptRule( id: String, receiptRuleName: String, ): IReceiptRule = - software.amazon.awscdk.services.ses.ReceiptRule.fromReceiptRuleName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.ReceiptRule.fromReceiptRuleName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, receiptRuleName).let(IReceiptRule::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleActionConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleActionConfig.kt index a205a8e627..13fa76706d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleActionConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleActionConfig.kt @@ -212,7 +212,7 @@ public interface ReceiptRuleActionConfig { * @param addHeaderAction Adds a header to the received email. */ override fun addHeaderAction(addHeaderAction: AddHeaderActionConfig) { - cdkBuilder.addHeaderAction(addHeaderAction.let(AddHeaderActionConfig::unwrap)) + cdkBuilder.addHeaderAction(addHeaderAction.let(AddHeaderActionConfig.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface ReceiptRuleActionConfig { * and, optionally, publishes a notification to Amazon SNS. */ override fun bounceAction(bounceAction: BounceActionConfig) { - cdkBuilder.bounceAction(bounceAction.let(BounceActionConfig::unwrap)) + cdkBuilder.bounceAction(bounceAction.let(BounceActionConfig.Companion::unwrap)) } /** @@ -245,7 +245,7 @@ public interface ReceiptRuleActionConfig { * Amazon SNS. */ override fun lambdaAction(lambdaAction: LambdaActionConfig) { - cdkBuilder.lambdaAction(lambdaAction.let(LambdaActionConfig::unwrap)) + cdkBuilder.lambdaAction(lambdaAction.let(LambdaActionConfig.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface ReceiptRuleActionConfig { * a notification to Amazon SNS. */ override fun s3Action(s3Action: S3ActionConfig) { - cdkBuilder.s3Action(s3Action.let(S3ActionConfig::unwrap)) + cdkBuilder.s3Action(s3Action.let(S3ActionConfig.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface ReceiptRuleActionConfig { * @param snsAction Publishes the email content within a notification to Amazon SNS. */ override fun snsAction(snsAction: SNSActionConfig) { - cdkBuilder.snsAction(snsAction.let(SNSActionConfig::unwrap)) + cdkBuilder.snsAction(snsAction.let(SNSActionConfig.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface ReceiptRuleActionConfig { * a notification to Amazon SNS. */ override fun stopAction(stopAction: StopActionConfig) { - cdkBuilder.stopAction(stopAction.let(StopActionConfig::unwrap)) + cdkBuilder.stopAction(stopAction.let(StopActionConfig.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface ReceiptRuleActionConfig { * Amazon SNS. */ override fun workmailAction(workmailAction: WorkmailActionConfig) { - cdkBuilder.workmailAction(workmailAction.let(WorkmailActionConfig::unwrap)) + cdkBuilder.workmailAction(workmailAction.let(WorkmailActionConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleOptions.kt index 7cbb8751c0..12d483f918 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleOptions.kt @@ -138,7 +138,7 @@ public interface ReceiptRuleOptions { * the recipient email addresses or domains specified in the receipt rule. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IReceiptRuleAction::unwrap)) + cdkBuilder.actions(actions.map(IReceiptRuleAction.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public interface ReceiptRuleOptions { * @param after An existing rule after which the new rule will be placed. */ override fun after(after: IReceiptRule) { - cdkBuilder.after(after.let(IReceiptRule::unwrap)) + cdkBuilder.after(after.let(IReceiptRule.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface ReceiptRuleOptions { * connection encrypted with Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: TlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.ReceiptRuleOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleProps.kt index 280135fc71..04d834a533 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleProps.kt @@ -109,7 +109,7 @@ public interface ReceiptRuleProps : ReceiptRuleOptions { * the recipient email addresses or domains specified in the receipt rule. */ override fun actions(actions: List) { - cdkBuilder.actions(actions.map(IReceiptRuleAction::unwrap)) + cdkBuilder.actions(actions.map(IReceiptRuleAction.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public interface ReceiptRuleProps : ReceiptRuleOptions { * @param after An existing rule after which the new rule will be placed. */ override fun after(after: IReceiptRule) { - cdkBuilder.after(after.let(IReceiptRule::unwrap)) + cdkBuilder.after(after.let(IReceiptRule.Companion::unwrap)) } /** @@ -155,7 +155,7 @@ public interface ReceiptRuleProps : ReceiptRuleOptions { * @param ruleSet The name of the rule set that the receipt rule will be added to. */ override fun ruleSet(ruleSet: IReceiptRuleSet) { - cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet::unwrap)) + cdkBuilder.ruleSet(ruleSet.let(IReceiptRuleSet.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public interface ReceiptRuleProps : ReceiptRuleOptions { * connection encrypted with Transport Layer Security (TLS). */ override fun tlsPolicy(tlsPolicy: TlsPolicy) { - cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy::unwrap)) + cdkBuilder.tlsPolicy(tlsPolicy.let(TlsPolicy.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.ReceiptRuleProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSet.kt index c27809627c..7489938fc2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSet.kt @@ -28,7 +28,7 @@ public open class ReceiptRuleSet( cdkObject: software.amazon.awscdk.services.ses.ReceiptRuleSet, ) : Resource(cdkObject), IReceiptRuleSet { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.ReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.ReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -37,8 +37,8 @@ public open class ReceiptRuleSet( id: String, props: ReceiptRuleSetProps, ) : - this(software.amazon.awscdk.services.ses.ReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ReceiptRuleSetProps::unwrap)) + this(software.amazon.awscdk.services.ses.ReceiptRuleSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ReceiptRuleSetProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,8 @@ public open class ReceiptRuleSet( * @param options */ public override fun addRule(id: String, options: ReceiptRuleOptions): ReceiptRule = - unwrap(this).addRule(id, options.let(ReceiptRuleOptions::unwrap)).let(ReceiptRule::wrap) + unwrap(this).addRule(id, + options.let(ReceiptRuleOptions.Companion::unwrap)).let(ReceiptRule::wrap) /** * Adds a new receipt rule in this rule set. @@ -183,7 +184,7 @@ public open class ReceiptRuleSet( * @param rules The list of rules to add to this rule set. */ override fun rules(rules: List) { - cdkBuilder.rules(rules.map(ReceiptRuleOptions::unwrap)) + cdkBuilder.rules(rules.map(ReceiptRuleOptions.Companion::unwrap)) } /** @@ -207,7 +208,7 @@ public open class ReceiptRuleSet( id: String, receiptRuleSetName: String, ): IReceiptRuleSet = - software.amazon.awscdk.services.ses.ReceiptRuleSet.fromReceiptRuleSetName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.ReceiptRuleSet.fromReceiptRuleSetName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, receiptRuleSetName).let(IReceiptRuleSet::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSetProps.kt index e229e76aaf..ac9e288e55 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/ReceiptRuleSetProps.kt @@ -125,7 +125,7 @@ public interface ReceiptRuleSetProps { * order as they appear in the list. */ override fun rules(rules: List) { - cdkBuilder.rules(rules.map(ReceiptRuleOptions::unwrap)) + cdkBuilder.rules(rules.map(ReceiptRuleOptions.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributes.kt index 15f52efc91..4b9fee5acb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributes.kt @@ -11,7 +11,7 @@ import io.cloudshiftdev.constructs.Construct as CloudshiftdevConstructsConstruct import software.constructs.Construct as SoftwareConstructsConstruct /** - * Virtual Deliverablity Manager (VDM) attributes. + * Virtual Deliverability Manager (VDM) attributes. * * Example: * @@ -25,7 +25,7 @@ public open class VdmAttributes( cdkObject: software.amazon.awscdk.services.ses.VdmAttributes, ) : Resource(cdkObject), IVdmAttributes { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.ses.VdmAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.ses.VdmAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -34,8 +34,8 @@ public open class VdmAttributes( id: String, props: VdmAttributesProps, ) : - this(software.amazon.awscdk.services.ses.VdmAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(VdmAttributesProps::unwrap)) + this(software.amazon.awscdk.services.ses.VdmAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(VdmAttributesProps.Companion::unwrap)) ) public constructor( @@ -46,12 +46,12 @@ public open class VdmAttributes( ) /** - * The name of the resource behind the Virtual Deliverablity Manager attributes. + * The name of the resource behind the Virtual Deliverability Manager attributes. */ public override fun vdmAttributesName(): String = unwrap(this).getVdmAttributesName() /** - * Resource ID for the Virtual Deliverablity Manager attributes. + * Resource ID for the Virtual Deliverability Manager attributes. */ public open fun vdmAttributesResourceId(): String = unwrap(this).getVdmAttributesResourceId() @@ -119,7 +119,7 @@ public open class VdmAttributes( id: String, vdmAttributesName: String, ): IVdmAttributes = - software.amazon.awscdk.services.ses.VdmAttributes.fromVdmAttributesName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ses.VdmAttributes.fromVdmAttributesName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, vdmAttributesName).let(IVdmAttributes::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributesProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributesProps.kt index 1bc7fc0726..5f667aa2ed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributesProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/VdmAttributesProps.kt @@ -9,7 +9,7 @@ import kotlin.Boolean import kotlin.Unit /** - * Properties for the Virtual Deliverablity Manager (VDM) attributes. + * Properties for the Virtual Deliverability Manager (VDM) attributes. * * Example: * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/AddHeader.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/AddHeader.kt index b9b889e050..007a7a891b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/AddHeader.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/AddHeader.kt @@ -47,7 +47,7 @@ public open class AddHeader( cdkObject: software.amazon.awscdk.services.ses.actions.AddHeader, ) : CdkObject(cdkObject), IReceiptRuleAction { public constructor(props: AddHeaderProps) : - this(software.amazon.awscdk.services.ses.actions.AddHeader(props.let(AddHeaderProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.AddHeader(props.let(AddHeaderProps.Companion::unwrap)) ) public constructor(props: AddHeaderProps.Builder.() -> Unit) : this(AddHeaderProps(props) @@ -59,7 +59,7 @@ public open class AddHeader( * @param _rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.AddHeader]. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Bounce.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Bounce.kt index 6de8415a93..4e9f69e56d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Bounce.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Bounce.kt @@ -37,7 +37,7 @@ public open class Bounce( cdkObject: software.amazon.awscdk.services.ses.actions.Bounce, ) : CdkObject(cdkObject), IReceiptRuleAction { public constructor(props: BounceProps) : - this(software.amazon.awscdk.services.ses.actions.Bounce(props.let(BounceProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.Bounce(props.let(BounceProps.Companion::unwrap)) ) public constructor(props: BounceProps.Builder.() -> Unit) : this(BounceProps(props) @@ -49,7 +49,7 @@ public open class Bounce( * @param _rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.Bounce]. @@ -114,7 +114,7 @@ public open class Bounce( * @param template The template containing the message, reply code and status code. */ override fun template(template: BounceTemplate) { - cdkBuilder.template(template.let(BounceTemplate::unwrap)) + cdkBuilder.template(template.let(BounceTemplate.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public open class Bounce( * @param topic The SNS topic to notify when the bounce action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.Bounce = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceProps.kt index 0bcbe6423d..4967ebbac6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceProps.kt @@ -98,7 +98,7 @@ public interface BounceProps { * @param template The template containing the message, reply code and status code. */ override fun template(template: BounceTemplate) { - cdkBuilder.template(template.let(BounceTemplate::unwrap)) + cdkBuilder.template(template.let(BounceTemplate.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface BounceProps { * @param topic The SNS topic to notify when the bounce action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.BounceProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceTemplate.kt index 493493a127..c9f7266ec4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/BounceTemplate.kt @@ -23,7 +23,7 @@ public open class BounceTemplate( cdkObject: software.amazon.awscdk.services.ses.actions.BounceTemplate, ) : CdkObject(cdkObject) { public constructor(props: BounceTemplateProps) : - this(software.amazon.awscdk.services.ses.actions.BounceTemplate(props.let(BounceTemplateProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.BounceTemplate(props.let(BounceTemplateProps.Companion::unwrap)) ) public constructor(props: BounceTemplateProps.Builder.() -> Unit) : diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Lambda.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Lambda.kt index 1ce8798240..6d1a34648d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Lambda.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Lambda.kt @@ -36,7 +36,7 @@ public open class Lambda( cdkObject: software.amazon.awscdk.services.ses.actions.Lambda, ) : CdkObject(cdkObject), IReceiptRuleAction { public constructor(props: LambdaProps) : - this(software.amazon.awscdk.services.ses.actions.Lambda(props.let(LambdaProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.Lambda(props.let(LambdaProps.Companion::unwrap)) ) public constructor(props: LambdaProps.Builder.() -> Unit) : this(LambdaProps(props) @@ -48,7 +48,7 @@ public open class Lambda( * @param rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.Lambda]. @@ -91,7 +91,7 @@ public open class Lambda( * @param function The Lambda function to invoke. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } /** @@ -102,7 +102,7 @@ public open class Lambda( * @param invocationType The invocation type of the Lambda function. */ override fun invocationType(invocationType: LambdaInvocationType) { - cdkBuilder.invocationType(invocationType.let(LambdaInvocationType::unwrap)) + cdkBuilder.invocationType(invocationType.let(LambdaInvocationType.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class Lambda( * @param topic The SNS topic to notify when the Lambda action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.Lambda = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/LambdaProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/LambdaProps.kt index 8e8768cc52..8aaa1166d7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/LambdaProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/LambdaProps.kt @@ -80,21 +80,21 @@ public interface LambdaProps { * @param function The Lambda function to invoke. */ override fun function(function: IFunction) { - cdkBuilder.function(function.let(IFunction::unwrap)) + cdkBuilder.function(function.let(IFunction.Companion::unwrap)) } /** * @param invocationType The invocation type of the Lambda function. */ override fun invocationType(invocationType: LambdaInvocationType) { - cdkBuilder.invocationType(invocationType.let(LambdaInvocationType::unwrap)) + cdkBuilder.invocationType(invocationType.let(LambdaInvocationType.Companion::unwrap)) } /** * @param topic The SNS topic to notify when the Lambda action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.LambdaProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3.kt index 8e63cd4fbe..407d2fd269 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3.kt @@ -51,7 +51,7 @@ public open class S3( cdkObject: software.amazon.awscdk.services.ses.actions.S3, ) : CdkObject(cdkObject), IReceiptRuleAction { public constructor(props: S3Props) : - this(software.amazon.awscdk.services.ses.actions.S3(props.let(S3Props::unwrap)) + this(software.amazon.awscdk.services.ses.actions.S3(props.let(S3Props.Companion::unwrap)) ) public constructor(props: S3Props.Builder.() -> Unit) : this(S3Props(props) @@ -63,7 +63,7 @@ public open class S3( * @param rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.S3]. @@ -117,7 +117,7 @@ public open class S3( * @param bucket The S3 bucket that incoming email will be saved to. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class S3( * the S3 bucket. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class S3( * @param topic The SNS topic to notify when the S3 action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.S3 = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3Props.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3Props.kt index 1984e9dc90..ed6805239e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3Props.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/S3Props.kt @@ -106,7 +106,7 @@ public interface S3Props { * @param bucket The S3 bucket that incoming email will be saved to. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public interface S3Props { * the S3 bucket. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public interface S3Props { * @param topic The SNS topic to notify when the S3 action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.S3Props = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Sns.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Sns.kt index 9079e462a8..0eaac64619 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Sns.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Sns.kt @@ -47,7 +47,7 @@ public open class Sns( cdkObject: software.amazon.awscdk.services.ses.actions.Sns, ) : CdkObject(cdkObject), IReceiptRuleAction { public constructor(props: SnsProps) : - this(software.amazon.awscdk.services.ses.actions.Sns(props.let(SnsProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.Sns(props.let(SnsProps.Companion::unwrap)) ) public constructor(props: SnsProps.Builder.() -> Unit) : this(SnsProps(props) @@ -59,7 +59,7 @@ public open class Sns( * @param _rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.Sns]. @@ -95,7 +95,7 @@ public open class Sns( * @param encoding The encoding to use for the email within the Amazon SNS notification. */ override fun encoding(encoding: EmailEncoding) { - cdkBuilder.encoding(encoding.let(EmailEncoding::unwrap)) + cdkBuilder.encoding(encoding.let(EmailEncoding.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class Sns( * @param topic The SNS topic to notify. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.Sns = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/SnsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/SnsProps.kt index 5d1c92895c..0cb11c4783 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/SnsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/SnsProps.kt @@ -78,14 +78,14 @@ public interface SnsProps { * @param encoding The encoding to use for the email within the Amazon SNS notification. */ override fun encoding(encoding: EmailEncoding) { - cdkBuilder.encoding(encoding.let(EmailEncoding::unwrap)) + cdkBuilder.encoding(encoding.let(EmailEncoding.Companion::unwrap)) } /** * @param topic The SNS topic to notify. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.SnsProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Stop.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Stop.kt index 2609a7c339..0947d9bb7e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Stop.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/Stop.kt @@ -34,7 +34,7 @@ public open class Stop( ) public constructor(props: StopProps) : - this(software.amazon.awscdk.services.ses.actions.Stop(props.let(StopProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.Stop(props.let(StopProps.Companion::unwrap)) ) public constructor(props: StopProps.Builder.() -> Unit) : this(StopProps(props) @@ -46,7 +46,7 @@ public open class Stop( * @param _rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.Stop]. @@ -71,7 +71,7 @@ public open class Stop( * @param topic The SNS topic to notify when the stop action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.Stop = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/StopProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/StopProps.kt index 637ddf1b8b..b67a14fa5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/StopProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/StopProps.kt @@ -49,7 +49,7 @@ public interface StopProps { * @param topic The SNS topic to notify when the stop action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.StopProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMail.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMail.kt index f6dbb38b55..ecc0066dcf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMail.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMail.kt @@ -40,7 +40,7 @@ public open class WorkMail( cdkObject: software.amazon.awscdk.services.ses.actions.WorkMail, ) : CdkObject(cdkObject), IReceiptRuleAction { public constructor(props: WorkMailProps) : - this(software.amazon.awscdk.services.ses.actions.WorkMail(props.let(WorkMailProps::unwrap)) + this(software.amazon.awscdk.services.ses.actions.WorkMail(props.let(WorkMailProps.Companion::unwrap)) ) public constructor(props: WorkMailProps.Builder.() -> Unit) : this(WorkMailProps(props) @@ -52,7 +52,7 @@ public open class WorkMail( * @param _rule */ public override fun bind(rule: IReceiptRule): ReceiptRuleActionConfig = - unwrap(this).bind(rule.let(IReceiptRule::unwrap)).let(ReceiptRuleActionConfig::wrap) + unwrap(this).bind(rule.let(IReceiptRule.Companion::unwrap)).let(ReceiptRuleActionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.ses.actions.WorkMail]. @@ -115,7 +115,7 @@ public open class WorkMail( * @param topic The SNS topic to notify when the WorkMail action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.WorkMail = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMailProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMailProps.kt index 90b65d747e..bbfe876ec2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMailProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ses/actions/WorkMailProps.kt @@ -84,7 +84,7 @@ public interface WorkMailProps { * @param topic The SNS topic to notify when the WorkMail action is taken. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ses.actions.WorkMailProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnDRTAccess.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnDRTAccess.kt index f3faf18ad5..ae051f57a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnDRTAccess.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnDRTAccess.kt @@ -63,8 +63,8 @@ public open class CfnDRTAccess( id: String, props: CfnDRTAccessProps, ) : - this(software.amazon.awscdk.services.shield.CfnDRTAccess(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDRTAccessProps::unwrap)) + this(software.amazon.awscdk.services.shield.CfnDRTAccess(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDRTAccessProps.Companion::unwrap)) ) public constructor( @@ -85,7 +85,7 @@ public open class CfnDRTAccess( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagement.kt index 141111fea3..b69231354c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagement.kt @@ -75,8 +75,8 @@ public open class CfnProactiveEngagement( id: String, props: CfnProactiveEngagementProps, ) : - this(software.amazon.awscdk.services.shield.CfnProactiveEngagement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProactiveEngagementProps::unwrap)) + this(software.amazon.awscdk.services.shield.CfnProactiveEngagement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProactiveEngagementProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnProactiveEngagement( * relevant notes. */ public open fun emergencyContactList(`value`: IResolvable) { - unwrap(this).setEmergencyContactList(`value`.let(IResolvable::unwrap)) + unwrap(this).setEmergencyContactList(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnProactiveEngagement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnProactiveEngagement( * customer support, plus any relevant notes. */ override fun emergencyContactList(emergencyContactList: IResolvable) { - cdkBuilder.emergencyContactList(emergencyContactList.let(IResolvable::unwrap)) + cdkBuilder.emergencyContactList(emergencyContactList.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagementProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagementProps.kt index 48a77d39ad..6fba6e3f08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagementProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProactiveEngagementProps.kt @@ -165,7 +165,7 @@ public interface CfnProactiveEngagementProps { * * Please contact the secondary phone number if the hotline doesn't respond within 5 minutes. */ override fun emergencyContactList(emergencyContactList: IResolvable) { - cdkBuilder.emergencyContactList(emergencyContactList.let(IResolvable::unwrap)) + cdkBuilder.emergencyContactList(emergencyContactList.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtection.kt index 1e0b805f94..38c8b42ec2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtection.kt @@ -100,8 +100,8 @@ public open class CfnProtection( id: String, props: CfnProtectionProps, ) : - this(software.amazon.awscdk.services.shield.CfnProtection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProtectionProps::unwrap)) + this(software.amazon.awscdk.services.shield.CfnProtection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProtectionProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnProtection( * The automatic application layer DDoS mitigation settings for the protection. */ public open fun applicationLayerAutomaticResponseConfiguration(`value`: IResolvable) { - unwrap(this).setApplicationLayerAutomaticResponseConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplicationLayerAutomaticResponseConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -129,7 +129,7 @@ public open class CfnProtection( */ public open fun applicationLayerAutomaticResponseConfiguration(`value`: ApplicationLayerAutomaticResponseConfigurationProperty) { - unwrap(this).setApplicationLayerAutomaticResponseConfiguration(`value`.let(ApplicationLayerAutomaticResponseConfigurationProperty::unwrap)) + unwrap(this).setApplicationLayerAutomaticResponseConfiguration(`value`.let(ApplicationLayerAutomaticResponseConfigurationProperty.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnProtection( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnProtection( * Key:value pairs associated with an AWS resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class CfnProtection( */ override fun applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration: IResolvable) { - cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class CfnProtection( */ override fun applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration: ApplicationLayerAutomaticResponseConfigurationProperty) { - cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(ApplicationLayerAutomaticResponseConfigurationProperty::unwrap)) + cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(ApplicationLayerAutomaticResponseConfigurationProperty.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class CfnProtection( * @param tags Key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -835,7 +835,7 @@ public open class CfnProtection( * associated with the resource. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public open class CfnProtection( * associated with the resource. */ override fun action(action: ActionProperty) { - cdkBuilder.action(action.let(ActionProperty::unwrap)) + cdkBuilder.action(action.let(ActionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroup.kt index ab9f1fb559..745be80938 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroup.kt @@ -57,8 +57,8 @@ public open class CfnProtectionGroup( id: String, props: CfnProtectionGroupProps, ) : - this(software.amazon.awscdk.services.shield.CfnProtectionGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProtectionGroupProps::unwrap)) + this(software.amazon.awscdk.services.shield.CfnProtectionGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProtectionGroupProps.Companion::unwrap)) ) public constructor( @@ -99,7 +99,7 @@ public open class CfnProtectionGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -164,7 +164,7 @@ public open class CfnProtectionGroup( * Key:value pairs associated with an AWS resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -384,7 +384,7 @@ public open class CfnProtectionGroup( * @param tags Key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroupProps.kt index e891729116..1fcada50fa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionGroupProps.kt @@ -251,7 +251,7 @@ public interface CfnProtectionGroupProps { * as "test," "development," or "production"). You can add up to 50 tags to each AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionProps.kt index 32a49f5e1f..f00332585b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/shield/CfnProtectionProps.kt @@ -234,7 +234,7 @@ public interface CfnProtectionProps { */ override fun applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration: IResolvable) { - cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(IResolvable::unwrap)) + cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface CfnProtectionProps { */ override fun applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration: CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty) { - cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty::unwrap)) + cdkBuilder.applicationLayerAutomaticResponseConfiguration(applicationLayerAutomaticResponseConfiguration.let(CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface CfnProtectionProps { * as "test," "development," or "production"). You can add up to 50 tags to each AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnProfilePermission.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnProfilePermission.kt index a56dbbb8cf..c42b1c8704 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnProfilePermission.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnProfilePermission.kt @@ -41,8 +41,8 @@ public open class CfnProfilePermission( id: String, props: CfnProfilePermissionProps, ) : - this(software.amazon.awscdk.services.signer.CfnProfilePermission(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProfilePermissionProps::unwrap)) + this(software.amazon.awscdk.services.signer.CfnProfilePermission(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfilePermissionProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class CfnProfilePermission( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfile.kt index 65aba9ed84..a83087baf4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfile.kt @@ -58,8 +58,8 @@ public open class CfnSigningProfile( id: String, props: CfnSigningProfileProps, ) : - this(software.amazon.awscdk.services.signer.CfnSigningProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSigningProfileProps::unwrap)) + this(software.amazon.awscdk.services.signer.CfnSigningProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSigningProfileProps.Companion::unwrap)) ) public constructor( @@ -95,7 +95,7 @@ public open class CfnSigningProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -119,14 +119,14 @@ public open class CfnSigningProfile( * The validity period override for any signature generated using this signing profile. */ public open fun signatureValidityPeriod(`value`: IResolvable) { - unwrap(this).setSignatureValidityPeriod(`value`.let(IResolvable::unwrap)) + unwrap(this).setSignatureValidityPeriod(`value`.let(IResolvable.Companion::unwrap)) } /** * The validity period override for any signature generated using this signing profile. */ public open fun signatureValidityPeriod(`value`: SignatureValidityPeriodProperty) { - unwrap(this).setSignatureValidityPeriod(`value`.let(SignatureValidityPeriodProperty::unwrap)) + unwrap(this).setSignatureValidityPeriod(`value`.let(SignatureValidityPeriodProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnSigningProfile( * A list of tags associated with the signing profile. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnSigningProfile( * this signing profile. */ override fun signatureValidityPeriod(signatureValidityPeriod: IResolvable) { - cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(IResolvable::unwrap)) + cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public open class CfnSigningProfile( * this signing profile. */ override fun signatureValidityPeriod(signatureValidityPeriod: SignatureValidityPeriodProperty) { - cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(SignatureValidityPeriodProperty::unwrap)) + cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(SignatureValidityPeriodProperty.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class CfnSigningProfile( * @param tags A list of tags associated with the signing profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfileProps.kt index e795d86d52..595e3a0c96 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/CfnSigningProfileProps.kt @@ -125,7 +125,7 @@ public interface CfnSigningProfileProps { * If unspecified, the default is 135 months. */ override fun signatureValidityPeriod(signatureValidityPeriod: IResolvable) { - cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(IResolvable::unwrap)) + cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(IResolvable.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public interface CfnSigningProfileProps { */ override fun signatureValidityPeriod(signatureValidityPeriod: CfnSigningProfile.SignatureValidityPeriodProperty) { - cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(CfnSigningProfile.SignatureValidityPeriodProperty::unwrap)) + cdkBuilder.signatureValidityPeriod(signatureValidityPeriod.let(CfnSigningProfile.SignatureValidityPeriodProperty.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface CfnSigningProfileProps { * @param tags A list of tags associated with the signing profile. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/ISigningProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/ISigningProfile.kt index 8177d9538c..d010a7808c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/ISigningProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/ISigningProfile.kt @@ -52,7 +52,7 @@ public interface ISigningProfile : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfile.kt index 7864099c6a..e8533a9335 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfile.kt @@ -40,8 +40,8 @@ public open class SigningProfile( id: String, props: SigningProfileProps, ) : - this(software.amazon.awscdk.services.signer.SigningProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SigningProfileProps::unwrap)) + this(software.amazon.awscdk.services.signer.SigningProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SigningProfileProps.Companion::unwrap)) ) public constructor( @@ -119,7 +119,7 @@ public open class SigningProfile( * @param platform The Signing Platform available for signing profile. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class SigningProfile( * profile. */ override fun signatureValidity(signatureValidity: Duration) { - cdkBuilder.signatureValidity(signatureValidity.let(Duration::unwrap)) + cdkBuilder.signatureValidity(signatureValidity.let(Duration.Companion::unwrap)) } /** @@ -154,8 +154,8 @@ public open class SigningProfile( id: String, attrs: SigningProfileAttributes, ): ISigningProfile = - software.amazon.awscdk.services.signer.SigningProfile.fromSigningProfileAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(SigningProfileAttributes::unwrap)).let(ISigningProfile::wrap) + software.amazon.awscdk.services.signer.SigningProfile.fromSigningProfileAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(SigningProfileAttributes.Companion::unwrap)).let(ISigningProfile::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("b7ac374b72df751b648ef3dd93a9aca2073cdf94c77389bfa8e98d03374e43a0") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfileProps.kt index 314159c4b6..93ac3ecd1f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/signer/SigningProfileProps.kt @@ -83,7 +83,7 @@ public interface SigningProfileProps { * @param platform The Signing Platform available for signing profile. */ override fun platform(platform: Platform) { - cdkBuilder.platform(platform.let(Platform::unwrap)) + cdkBuilder.platform(platform.let(Platform.Companion::unwrap)) } /** @@ -91,7 +91,7 @@ public interface SigningProfileProps { * profile. */ override fun signatureValidity(signatureValidity: Duration) { - cdkBuilder.signatureValidity(signatureValidity.let(Duration::unwrap)) + cdkBuilder.signatureValidity(signatureValidity.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulation.kt index 9eb6a73b7a..9ff66fc397 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulation.kt @@ -69,8 +69,8 @@ public open class CfnSimulation( id: String, props: CfnSimulationProps, ) : - this(software.amazon.awscdk.services.simspaceweaver.CfnSimulation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSimulationProps::unwrap)) + this(software.amazon.awscdk.services.simspaceweaver.CfnSimulation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSimulationProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnSimulation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -145,14 +145,14 @@ public open class CfnSimulation( * The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). */ public open fun schemaS3Location(`value`: IResolvable) { - unwrap(this).setSchemaS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchemaS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The location of the simulation schema in Amazon Simple Storage Service ( Amazon S3 ). */ public open fun schemaS3Location(`value`: S3LocationProperty) { - unwrap(this).setSchemaS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setSchemaS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -172,14 +172,14 @@ public open class CfnSimulation( * The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). */ public open fun snapshotS3Location(`value`: IResolvable) { - unwrap(this).setSnapshotS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setSnapshotS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The location of the snapshot in Amazon Simple Storage Service ( Amazon S3 ). */ public open fun snapshotS3Location(`value`: S3LocationProperty) { - unwrap(this).setSnapshotS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setSnapshotS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class CfnSimulation( * Service ( Amazon S3 ). */ override fun schemaS3Location(schemaS3Location: IResolvable) { - cdkBuilder.schemaS3Location(schemaS3Location.let(IResolvable::unwrap)) + cdkBuilder.schemaS3Location(schemaS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public open class CfnSimulation( * Service ( Amazon S3 ). */ override fun schemaS3Location(schemaS3Location: S3LocationProperty) { - cdkBuilder.schemaS3Location(schemaS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.schemaS3Location(schemaS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnSimulation( * Amazon S3 ). */ override fun snapshotS3Location(snapshotS3Location: IResolvable) { - cdkBuilder.snapshotS3Location(snapshotS3Location.let(IResolvable::unwrap)) + cdkBuilder.snapshotS3Location(snapshotS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CfnSimulation( * Amazon S3 ). */ override fun snapshotS3Location(snapshotS3Location: S3LocationProperty) { - cdkBuilder.snapshotS3Location(snapshotS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.snapshotS3Location(snapshotS3Location.let(S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulationProps.kt index 25d1e22d13..c3cd79f9e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/simspaceweaver/CfnSimulationProps.kt @@ -256,7 +256,7 @@ public interface CfnSimulationProps { * If you provide a `SchemaS3Location` then you can't provide a `SnapshotS3Location` . */ override fun schemaS3Location(schemaS3Location: IResolvable) { - cdkBuilder.schemaS3Location(schemaS3Location.let(IResolvable::unwrap)) + cdkBuilder.schemaS3Location(schemaS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CfnSimulationProps { * If you provide a `SchemaS3Location` then you can't provide a `SnapshotS3Location` . */ override fun schemaS3Location(schemaS3Location: CfnSimulation.S3LocationProperty) { - cdkBuilder.schemaS3Location(schemaS3Location.let(CfnSimulation.S3LocationProperty::unwrap)) + cdkBuilder.schemaS3Location(schemaS3Location.let(CfnSimulation.S3LocationProperty.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface CfnSimulationProps { * If you provide a `SnapshotS3Location` then you can't provide a `SchemaS3Location` . */ override fun snapshotS3Location(snapshotS3Location: IResolvable) { - cdkBuilder.snapshotS3Location(snapshotS3Location.let(IResolvable::unwrap)) + cdkBuilder.snapshotS3Location(snapshotS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface CfnSimulationProps { * If you provide a `SnapshotS3Location` then you can't provide a `SchemaS3Location` . */ override fun snapshotS3Location(snapshotS3Location: CfnSimulation.S3LocationProperty) { - cdkBuilder.snapshotS3Location(snapshotS3Location.let(CfnSimulation.S3LocationProperty::unwrap)) + cdkBuilder.snapshotS3Location(snapshotS3Location.let(CfnSimulation.S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscription.kt index 9dc42d3b76..bc716475b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscription.kt @@ -55,8 +55,8 @@ public open class CfnSubscription( id: String, props: CfnSubscriptionProps, ) : - this(software.amazon.awscdk.services.sns.CfnSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.sns.CfnSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -127,7 +127,7 @@ public open class CfnSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnSubscription( * When set to `true` , enables raw message delivery. */ public open fun rawMessageDelivery(`value`: IResolvable) { - unwrap(this).setRawMessageDelivery(`value`.let(IResolvable::unwrap)) + unwrap(this).setRawMessageDelivery(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class CfnSubscription( * @param rawMessageDelivery When set to `true` , enables raw message delivery. */ override fun rawMessageDelivery(rawMessageDelivery: IResolvable) { - cdkBuilder.rawMessageDelivery(rawMessageDelivery.let(IResolvable::unwrap)) + cdkBuilder.rawMessageDelivery(rawMessageDelivery.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscriptionProps.kt index 47ca1e89d2..65a208847f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnSubscriptionProps.kt @@ -378,7 +378,7 @@ public interface CfnSubscriptionProps { * in the *Amazon SNS API Reference* . */ override fun rawMessageDelivery(rawMessageDelivery: IResolvable) { - cdkBuilder.rawMessageDelivery(rawMessageDelivery.let(IResolvable::unwrap)) + cdkBuilder.rawMessageDelivery(rawMessageDelivery.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopic.kt index e640622295..32f4a76bf6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopic.kt @@ -71,7 +71,7 @@ public open class CfnTopic( cdkObject: software.amazon.awscdk.services.sns.CfnTopic, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sns.CfnTopic(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sns.CfnTopic(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -80,8 +80,8 @@ public open class CfnTopic( id: String, props: CfnTopicProps, ) : - this(software.amazon.awscdk.services.sns.CfnTopic(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTopicProps::unwrap)) + this(software.amazon.awscdk.services.sns.CfnTopic(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTopicProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnTopic( * Enables content-based deduplication for FIFO topics. */ public open fun contentBasedDeduplication(`value`: IResolvable) { - unwrap(this).setContentBasedDeduplication(`value`.let(IResolvable::unwrap)) + unwrap(this).setContentBasedDeduplication(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnTopic( * protocols:. */ public open fun deliveryStatusLogging(`value`: IResolvable) { - unwrap(this).setDeliveryStatusLogging(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeliveryStatusLogging(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnTopic( * Set to true to create a FIFO topic. */ public open fun fifoTopic(`value`: IResolvable) { - unwrap(this).setFifoTopic(`value`.let(IResolvable::unwrap)) + unwrap(this).setFifoTopic(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class CfnTopic( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public open class CfnTopic( * The Amazon SNS subscriptions (endpoints) for this topic. */ public open fun subscription(`value`: IResolvable) { - unwrap(this).setSubscription(`value`.let(IResolvable::unwrap)) + unwrap(this).setSubscription(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnTopic( * The list of tags to add to a new topic. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class CfnTopic( * @param contentBasedDeduplication Enables content-based deduplication for FIFO topics. */ override fun contentBasedDeduplication(contentBasedDeduplication: IResolvable) { - cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable::unwrap)) + cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable.Companion::unwrap)) } /** @@ -701,7 +701,7 @@ public open class CfnTopic( * following supported delivery protocols:. */ override fun deliveryStatusLogging(deliveryStatusLogging: IResolvable) { - cdkBuilder.deliveryStatusLogging(deliveryStatusLogging.let(IResolvable::unwrap)) + cdkBuilder.deliveryStatusLogging(deliveryStatusLogging.let(IResolvable.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public open class CfnTopic( * @param fifoTopic Set to true to create a FIFO topic. */ override fun fifoTopic(fifoTopic: IResolvable) { - cdkBuilder.fifoTopic(fifoTopic.let(IResolvable::unwrap)) + cdkBuilder.fifoTopic(fifoTopic.let(IResolvable.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public open class CfnTopic( * @param subscription The Amazon SNS subscriptions (endpoints) for this topic. */ override fun subscription(subscription: IResolvable) { - cdkBuilder.subscription(subscription.let(IResolvable::unwrap)) + cdkBuilder.subscription(subscription.let(IResolvable.Companion::unwrap)) } /** @@ -875,7 +875,7 @@ public open class CfnTopic( * @param tags The list of tags to add to a new topic. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicInlinePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicInlinePolicy.kt index 8e5b0e8a29..5f011306ce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicInlinePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicInlinePolicy.kt @@ -39,8 +39,8 @@ public open class CfnTopicInlinePolicy( id: String, props: CfnTopicInlinePolicyProps, ) : - this(software.amazon.awscdk.services.sns.CfnTopicInlinePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTopicInlinePolicyProps::unwrap)) + this(software.amazon.awscdk.services.sns.CfnTopicInlinePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTopicInlinePolicyProps.Companion::unwrap)) ) public constructor( @@ -56,7 +56,7 @@ public open class CfnTopicInlinePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicPolicy.kt index 9771166f57..5c6624e7c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicPolicy.kt @@ -43,8 +43,8 @@ public open class CfnTopicPolicy( id: String, props: CfnTopicPolicyProps, ) : - this(software.amazon.awscdk.services.sns.CfnTopicPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTopicPolicyProps::unwrap)) + this(software.amazon.awscdk.services.sns.CfnTopicPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTopicPolicyProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class CfnTopicPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicProps.kt index fa36bd0ac5..70cb50b55e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/CfnTopicProps.kt @@ -457,7 +457,7 @@ public interface CfnTopicProps { * `MessageDeduplicationId` parameter for the `Publish` action. */ override fun contentBasedDeduplication(contentBasedDeduplication: IResolvable) { - cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable::unwrap)) + cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public interface CfnTopicProps { * Once configured, log entries are sent to Amazon CloudWatch Logs. */ override fun deliveryStatusLogging(deliveryStatusLogging: IResolvable) { - cdkBuilder.deliveryStatusLogging(deliveryStatusLogging.let(IResolvable::unwrap)) + cdkBuilder.deliveryStatusLogging(deliveryStatusLogging.let(IResolvable.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public interface CfnTopicProps { * @param fifoTopic Set to true to create a FIFO topic. */ override fun fifoTopic(fifoTopic: IResolvable) { - cdkBuilder.fifoTopic(fifoTopic.let(IResolvable::unwrap)) + cdkBuilder.fifoTopic(fifoTopic.let(IResolvable.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public interface CfnTopicProps { * `AWS::SNS::Topic` resource is deleted. */ override fun subscription(subscription: IResolvable) { - cdkBuilder.subscription(subscription.let(IResolvable::unwrap)) + cdkBuilder.subscription(subscription.let(IResolvable.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public interface CfnTopicProps { * `sns:TagResource` permissions. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Filter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Filter.kt index f2b4dfbb0b..f4a7504be2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Filter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Filter.kt @@ -19,7 +19,7 @@ public open class Filter( cdkObject: software.amazon.awscdk.services.sns.Filter, ) : FilterOrPolicy(cdkObject) { public constructor(filterDoc: SubscriptionFilter) : - this(software.amazon.awscdk.services.sns.Filter(filterDoc.let(SubscriptionFilter::unwrap)) + this(software.amazon.awscdk.services.sns.Filter(filterDoc.let(SubscriptionFilter.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/FilterOrPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/FilterOrPolicy.kt index 03c30d1b2c..aaba964655 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/FilterOrPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/FilterOrPolicy.kt @@ -52,7 +52,7 @@ public abstract class FilterOrPolicy( public companion object { public fun filter(filter: SubscriptionFilter): Filter = - software.amazon.awscdk.services.sns.FilterOrPolicy.filter(filter.let(SubscriptionFilter::unwrap)).let(Filter::wrap) + software.amazon.awscdk.services.sns.FilterOrPolicy.filter(filter.let(SubscriptionFilter.Companion::unwrap)).let(Filter::wrap) public fun policy(policy: Map): Policy = software.amazon.awscdk.services.sns.FilterOrPolicy.policy(policy.mapValues{FilterOrPolicy.unwrap(it.value)}).let(Policy::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopic.kt index 063a985ea5..3f065049ac 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopic.kt @@ -400,7 +400,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param subscription */ override fun addSubscription(subscription: ITopicSubscription): Subscription = - unwrap(this).addSubscription(subscription.let(ITopicSubscription::unwrap)).let(Subscription::wrap) + unwrap(this).addSubscription(subscription.let(ITopicSubscription.Companion::unwrap)).let(Subscription::wrap) /** * Adds a statement to the IAM resource policy associated with this topic. @@ -412,7 +412,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this topic. @@ -442,7 +442,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param scope */ override fun bindAsNotificationRuleTarget(scope: Construct): NotificationRuleTargetConfig = - unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct::unwrap)).let(NotificationRuleTargetConfig::wrap) + unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct.Companion::unwrap)).let(NotificationRuleTargetConfig::wrap) /** * Enables content-based deduplication for FIFO topics. @@ -483,7 +483,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param identity */ override fun grantPublish(identity: IGrantable): Grant = - unwrap(this).grantPublish(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPublish(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Topic. @@ -501,7 +501,8 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Topic. @@ -532,7 +533,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricNumberOfMessagesPublished(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesPublished(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesPublished(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages published to your Amazon SNS topics. @@ -566,7 +567,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricNumberOfNotificationsDelivered(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsDelivered(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsDelivered(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages successfully delivered from your Amazon SNS topics to subscribing @@ -599,7 +600,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricNumberOfNotificationsFailed(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFailed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFailed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that Amazon SNS failed to deliver. @@ -631,7 +632,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricNumberOfNotificationsFilteredOut(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFilteredOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFilteredOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that were rejected by subscription filter policies. @@ -666,7 +667,7 @@ public interface ITopic : IResource, INotificationRuleTarget { */ override fun metricNumberOfNotificationsFilteredOutInvalidAttributes(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFilteredOutInvalidAttributes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFilteredOutInvalidAttributes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that were rejected by subscription filter policies because the @@ -703,7 +704,7 @@ public interface ITopic : IResource, INotificationRuleTarget { */ override fun metricNumberOfNotificationsFilteredOutNoMessageAttributes(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFilteredOutNoMessageAttributes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFilteredOutNoMessageAttributes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that were rejected by subscription filter policies because the @@ -736,7 +737,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricPublishSize(props: MetricOptions): Metric = - unwrap(this).metricPublishSize(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPublishSize(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the size of messages published through this topic. @@ -770,7 +771,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricSMSMonthToDateSpentUSD(props: MetricOptions): Metric = - unwrap(this).metricSMSMonthToDateSpentUSD(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSMSMonthToDateSpentUSD(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The charges you have accrued since the start of the current calendar month for sending SMS @@ -803,7 +804,7 @@ public interface ITopic : IResource, INotificationRuleTarget { * @param props */ override fun metricSMSSuccessRate(props: MetricOptions): Metric = - unwrap(this).metricSMSSuccessRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSMSSuccessRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The rate of successful SMS message deliveries. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopicSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopicSubscription.kt index d9585317f7..ad752a4250 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopicSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/ITopicSubscription.kt @@ -25,7 +25,7 @@ public interface ITopicSubscription { * @param topic topic for which subscription will be configured. */ override fun bind(topic: ITopic): TopicSubscriptionConfig = - unwrap(this).bind(topic.let(ITopic::unwrap)).let(TopicSubscriptionConfig::wrap) + unwrap(this).bind(topic.let(ITopic.Companion::unwrap)).let(TopicSubscriptionConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/LoggingConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/LoggingConfig.kt index 24cc6038c7..6977ac00d5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/LoggingConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/LoggingConfig.kt @@ -96,14 +96,14 @@ public interface LoggingConfig { * Amazon CloudWatch. */ override fun failureFeedbackRole(failureFeedbackRole: IRole) { - cdkBuilder.failureFeedbackRole(failureFeedbackRole.let(IRole::unwrap)) + cdkBuilder.failureFeedbackRole(failureFeedbackRole.let(IRole.Companion::unwrap)) } /** * @param protocol Indicates one of the supported protocols for the SNS topic. */ override fun protocol(protocol: LoggingProtocol) { - cdkBuilder.protocol(protocol.let(LoggingProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(LoggingProtocol.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public interface LoggingConfig { * in Amazon CloudWatch. */ override fun successFeedbackRole(successFeedbackRole: IRole) { - cdkBuilder.successFeedbackRole(successFeedbackRole.let(IRole::unwrap)) + cdkBuilder.successFeedbackRole(successFeedbackRole.let(IRole.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/NumericConditions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/NumericConditions.kt index e3d238d7b9..b4da2d8f02 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/NumericConditions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/NumericConditions.kt @@ -174,7 +174,7 @@ public interface NumericConditions { * @param between Match values that are between the specified values. */ override fun between(between: BetweenCondition) { - cdkBuilder.between(between.let(BetweenCondition::unwrap)) + cdkBuilder.between(between.let(BetweenCondition.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface NumericConditions { * @param betweenStrict Match values that are strictly between the specified values. */ override fun betweenStrict(betweenStrict: BetweenCondition) { - cdkBuilder.betweenStrict(betweenStrict.let(BetweenCondition::unwrap)) + cdkBuilder.betweenStrict(betweenStrict.let(BetweenCondition.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Subscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Subscription.kt index 1320ef8664..6db91ec612 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Subscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Subscription.kt @@ -40,8 +40,8 @@ public open class Subscription( id: String, props: SubscriptionProps, ) : - this(software.amazon.awscdk.services.sns.Subscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.sns.Subscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SubscriptionProps.Companion::unwrap)) ) public constructor( @@ -168,7 +168,7 @@ public open class Subscription( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public open class Subscription( * @param protocol What type of subscription to add. */ override fun protocol(protocol: SubscriptionProtocol) { - cdkBuilder.protocol(protocol.let(SubscriptionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(SubscriptionProtocol.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class Subscription( * @param topic The topic to subscribe to. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sns.Subscription = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionFilter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionFilter.kt index d1b3f9bfd3..2b20108b11 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionFilter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionFilter.kt @@ -64,7 +64,7 @@ public open class SubscriptionFilter( software.amazon.awscdk.services.sns.SubscriptionFilter.existsFilter().let(SubscriptionFilter::wrap) public fun numericFilter(numericConditions: NumericConditions): SubscriptionFilter = - software.amazon.awscdk.services.sns.SubscriptionFilter.numericFilter(numericConditions.let(NumericConditions::unwrap)).let(SubscriptionFilter::wrap) + software.amazon.awscdk.services.sns.SubscriptionFilter.numericFilter(numericConditions.let(NumericConditions.Companion::unwrap)).let(SubscriptionFilter::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("08b13c81c934ff078dc391d7a0eb0f646b8df38ba151db3e20855b7921211d74") @@ -72,7 +72,7 @@ public open class SubscriptionFilter( SubscriptionFilter = numericFilter(NumericConditions(numericConditions)) public fun stringFilter(stringConditions: StringConditions): SubscriptionFilter = - software.amazon.awscdk.services.sns.SubscriptionFilter.stringFilter(stringConditions.let(StringConditions::unwrap)).let(SubscriptionFilter::wrap) + software.amazon.awscdk.services.sns.SubscriptionFilter.stringFilter(stringConditions.let(StringConditions.Companion::unwrap)).let(SubscriptionFilter::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("645f93eeb9cc40dcde00a6b98ee9cc4e331957514b7b2805c9615b8abf1b48d4") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionOptions.kt index 740e876ab9..532ff1517a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionOptions.kt @@ -173,7 +173,7 @@ public interface SubscriptionOptions { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface SubscriptionOptions { * @param protocol What type of subscription to add. */ override fun protocol(protocol: SubscriptionProtocol) { - cdkBuilder.protocol(protocol.let(SubscriptionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(SubscriptionProtocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionProps.kt index b511054f1c..f6bafd9242 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/SubscriptionProps.kt @@ -103,7 +103,7 @@ public interface SubscriptionProps : SubscriptionOptions { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public interface SubscriptionProps : SubscriptionOptions { * @param protocol What type of subscription to add. */ override fun protocol(protocol: SubscriptionProtocol) { - cdkBuilder.protocol(protocol.let(SubscriptionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(SubscriptionProtocol.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public interface SubscriptionProps : SubscriptionOptions { * @param topic The topic to subscribe to. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sns.SubscriptionProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Topic.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Topic.kt index 5fcdaf0080..15a46afbf0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Topic.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/Topic.kt @@ -35,7 +35,7 @@ public open class Topic( cdkObject: software.amazon.awscdk.services.sns.Topic, ) : TopicBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sns.Topic(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sns.Topic(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -44,8 +44,8 @@ public open class Topic( id: String, props: TopicProps, ) : - this(software.amazon.awscdk.services.sns.Topic(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TopicProps::unwrap)) + this(software.amazon.awscdk.services.sns.Topic(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TopicProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class Topic( * @param config */ public open fun addLoggingConfig(config: LoggingConfig) { - unwrap(this).addLoggingConfig(config.let(LoggingConfig::unwrap)) + unwrap(this).addLoggingConfig(config.let(LoggingConfig.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class Topic( * @param loggingConfigs The list of delivery status logging configurations for the topic. */ override fun loggingConfigs(loggingConfigs: List) { - cdkBuilder.loggingConfigs(loggingConfigs.map(LoggingConfig::unwrap)) + cdkBuilder.loggingConfigs(loggingConfigs.map(LoggingConfig.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class Topic( * @param masterKey A KMS Key, either managed by this CDK app, or imported. */ override fun masterKey(masterKey: IKey) { - cdkBuilder.masterKey(masterKey.let(IKey::unwrap)) + cdkBuilder.masterKey(masterKey.let(IKey.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class Topic( * @param tracingConfig Tracing mode of an Amazon SNS topic. */ override fun tracingConfig(tracingConfig: TracingConfig) { - cdkBuilder.tracingConfig(tracingConfig.let(TracingConfig::unwrap)) + cdkBuilder.tracingConfig(tracingConfig.let(TracingConfig.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sns.Topic = cdkBuilder.build() @@ -372,7 +372,7 @@ public open class Topic( id: String, topicArn: String, ): ITopic = - software.amazon.awscdk.services.sns.Topic.fromTopicArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.sns.Topic.fromTopicArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, topicArn).let(ITopic::wrap) public fun fromTopicAttributes( @@ -380,8 +380,8 @@ public open class Topic( id: String, attrs: TopicAttributes, ): ITopic = - software.amazon.awscdk.services.sns.Topic.fromTopicAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(TopicAttributes::unwrap)).let(ITopic::wrap) + software.amazon.awscdk.services.sns.Topic.fromTopicAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(TopicAttributes.Companion::unwrap)).let(ITopic::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("ccd4be93940ed2899f3dbe3eb0d040594d23421d53c58464b3e85aa9c615c625") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicBase.kt index b85e429422..6617e0b923 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicBase.kt @@ -30,7 +30,7 @@ public abstract class TopicBase( * @param topicSubscription */ public override fun addSubscription(topicSubscription: ITopicSubscription): Subscription = - unwrap(this).addSubscription(topicSubscription.let(ITopicSubscription::unwrap)).let(Subscription::wrap) + unwrap(this).addSubscription(topicSubscription.let(ITopicSubscription.Companion::unwrap)).let(Subscription::wrap) /** * Adds a statement to the IAM resource policy associated with this topic. @@ -42,7 +42,7 @@ public abstract class TopicBase( * @param statement */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this topic. @@ -64,7 +64,7 @@ public abstract class TopicBase( * @param _scope */ public override fun bindAsNotificationRuleTarget(scope: Construct): NotificationRuleTargetConfig = - unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct::unwrap)).let(NotificationRuleTargetConfig::wrap) + unwrap(this).bindAsNotificationRuleTarget(scope.let(Construct.Companion::unwrap)).let(NotificationRuleTargetConfig::wrap) /** * Enables content-based deduplication for FIFO topics. @@ -85,7 +85,7 @@ public abstract class TopicBase( * @param grantee */ public override fun grantPublish(grantee: IGrantable): Grant = - unwrap(this).grantPublish(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPublish(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Topic. @@ -103,7 +103,7 @@ public abstract class TopicBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Topic. @@ -134,7 +134,7 @@ public abstract class TopicBase( * @param props */ public override fun metricNumberOfMessagesPublished(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesPublished(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesPublished(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages published to your Amazon SNS topics. @@ -168,7 +168,7 @@ public abstract class TopicBase( * @param props */ public override fun metricNumberOfNotificationsDelivered(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsDelivered(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsDelivered(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages successfully delivered from your Amazon SNS topics to subscribing @@ -201,7 +201,7 @@ public abstract class TopicBase( * @param props */ public override fun metricNumberOfNotificationsFailed(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFailed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFailed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that Amazon SNS failed to deliver. @@ -233,7 +233,7 @@ public abstract class TopicBase( * @param props */ public override fun metricNumberOfNotificationsFilteredOut(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFilteredOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFilteredOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that were rejected by subscription filter policies. @@ -269,7 +269,7 @@ public abstract class TopicBase( */ public override fun metricNumberOfNotificationsFilteredOutInvalidAttributes(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFilteredOutInvalidAttributes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFilteredOutInvalidAttributes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that were rejected by subscription filter policies because the messages' @@ -306,7 +306,7 @@ public abstract class TopicBase( */ public override fun metricNumberOfNotificationsFilteredOutNoMessageAttributes(props: MetricOptions): Metric = - unwrap(this).metricNumberOfNotificationsFilteredOutNoMessageAttributes(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfNotificationsFilteredOutNoMessageAttributes(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that were rejected by subscription filter policies because the messages @@ -340,7 +340,7 @@ public abstract class TopicBase( * @param props */ public override fun metricPublishSize(props: MetricOptions): Metric = - unwrap(this).metricPublishSize(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricPublishSize(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the size of messages published through this topic. @@ -374,7 +374,7 @@ public abstract class TopicBase( * @param props */ public override fun metricSMSMonthToDateSpentUSD(props: MetricOptions): Metric = - unwrap(this).metricSMSMonthToDateSpentUSD(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSMSMonthToDateSpentUSD(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The charges you have accrued since the start of the current calendar month for sending SMS @@ -407,7 +407,7 @@ public abstract class TopicBase( * @param props */ public override fun metricSMSSuccessRate(props: MetricOptions): Metric = - unwrap(this).metricSMSSuccessRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSMSSuccessRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The rate of successful SMS message deliveries. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicy.kt index 5a410ac94b..34d3be3c9f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicy.kt @@ -54,8 +54,8 @@ public open class TopicPolicy( id: String, props: TopicPolicyProps, ) : - this(software.amazon.awscdk.services.sns.TopicPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TopicPolicyProps::unwrap)) + this(software.amazon.awscdk.services.sns.TopicPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TopicPolicyProps.Companion::unwrap)) ) public constructor( @@ -153,7 +153,7 @@ public open class TopicPolicy( * @param policyDocument IAM policy document to apply to topic(s). */ override fun policyDocument(policyDocument: PolicyDocument) { - cdkBuilder.policyDocument(policyDocument.let(PolicyDocument::unwrap)) + cdkBuilder.policyDocument(policyDocument.let(PolicyDocument.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class TopicPolicy( * @param topics The set of topics this policy applies to. */ override fun topics(topics: List) { - cdkBuilder.topics(topics.map(ITopic::unwrap)) + cdkBuilder.topics(topics.map(ITopic.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicyProps.kt index 5a0f549bff..5ec87413f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicPolicyProps.kt @@ -111,7 +111,7 @@ public interface TopicPolicyProps { * @param policyDocument IAM policy document to apply to topic(s). */ override fun policyDocument(policyDocument: PolicyDocument) { - cdkBuilder.policyDocument(policyDocument.let(PolicyDocument::unwrap)) + cdkBuilder.policyDocument(policyDocument.let(PolicyDocument.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface TopicPolicyProps { * @param topics The set of topics this policy applies to. */ override fun topics(topics: List) { - cdkBuilder.topics(topics.map(ITopic::unwrap)) + cdkBuilder.topics(topics.map(ITopic.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicProps.kt index f0c48a54b0..2955f7f1fb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicProps.kt @@ -220,7 +220,7 @@ public interface TopicProps { * @param loggingConfigs The list of delivery status logging configurations for the topic. */ override fun loggingConfigs(loggingConfigs: List) { - cdkBuilder.loggingConfigs(loggingConfigs.map(LoggingConfig::unwrap)) + cdkBuilder.loggingConfigs(loggingConfigs.map(LoggingConfig.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public interface TopicProps { * @param masterKey A KMS Key, either managed by this CDK app, or imported. */ override fun masterKey(masterKey: IKey) { - cdkBuilder.masterKey(masterKey.let(IKey::unwrap)) + cdkBuilder.masterKey(masterKey.let(IKey.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface TopicProps { * @param tracingConfig Tracing mode of an Amazon SNS topic. */ override fun tracingConfig(tracingConfig: TracingConfig) { - cdkBuilder.tracingConfig(tracingConfig.let(TracingConfig::unwrap)) + cdkBuilder.tracingConfig(tracingConfig.let(TracingConfig.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sns.TopicProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicSubscriptionConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicSubscriptionConfig.kt index d62bc2e3ab..4111e6cbf4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicSubscriptionConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/TopicSubscriptionConfig.kt @@ -176,7 +176,7 @@ public interface TopicSubscriptionConfig : SubscriptionOptions { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface TopicSubscriptionConfig : SubscriptionOptions { * @param protocol What type of subscription to add. */ override fun protocol(protocol: SubscriptionProtocol) { - cdkBuilder.protocol(protocol.let(SubscriptionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(SubscriptionProtocol.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface TopicSubscriptionConfig : SubscriptionOptions { * If this is undefined, the subscription will be created on the topic's stack. */ override fun subscriberScope(subscriberScope: Construct) { - cdkBuilder.subscriberScope(subscriberScope.let(Construct::unwrap)) + cdkBuilder.subscriberScope(subscriberScope.let(Construct.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public interface TopicSubscriptionConfig : SubscriptionOptions { * in order for the subscription to successfully deliver messages. */ override fun subscriptionDependency(subscriptionDependency: IDependable) { - cdkBuilder.subscriptionDependency(subscriptionDependency.let(IDependable::unwrap)) + cdkBuilder.subscriptionDependency(subscriptionDependency.let(IDependable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscription.kt index a97d1f9544..f77d9ae496 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscription.kt @@ -37,7 +37,7 @@ public open class EmailSubscription( public constructor(emailAddress: String, props: EmailSubscriptionProps) : this(software.amazon.awscdk.services.sns.subscriptions.EmailSubscription(emailAddress, - props.let(EmailSubscriptionProps::unwrap)) + props.let(EmailSubscriptionProps.Companion::unwrap)) ) public constructor(emailAddress: String, props: EmailSubscriptionProps.Builder.() -> Unit) : @@ -50,7 +50,7 @@ public open class EmailSubscription( * @param _topic */ public override fun bind(topic: ITopic): TopicSubscriptionConfig = - unwrap(this).bind(topic.let(ITopic::unwrap)).let(TopicSubscriptionConfig::wrap) + unwrap(this).bind(topic.let(ITopic.Companion::unwrap)).let(TopicSubscriptionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.sns.subscriptions.EmailSubscription]. @@ -118,7 +118,7 @@ public open class EmailSubscription( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscriptionProps.kt index 097f2f5514..26179a8c9c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/EmailSubscriptionProps.kt @@ -86,7 +86,7 @@ public interface EmailSubscriptionProps : SubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscription.kt index 92f7e8e16a..903c76ca63 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscription.kt @@ -40,13 +40,13 @@ public open class LambdaSubscription( cdkObject: software.amazon.awscdk.services.sns.subscriptions.LambdaSubscription, ) : CdkObject(cdkObject), ITopicSubscription { public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction) : - this(software.amazon.awscdk.services.sns.subscriptions.LambdaSubscription(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap)) + this(software.amazon.awscdk.services.sns.subscriptions.LambdaSubscription(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap)) ) public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction, props: LambdaSubscriptionProps) : - this(software.amazon.awscdk.services.sns.subscriptions.LambdaSubscription(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction::unwrap), - props.let(LambdaSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.sns.subscriptions.LambdaSubscription(fn.let(CloudshiftdevAwscdkServicesLambdaIFunction.Companion::unwrap), + props.let(LambdaSubscriptionProps.Companion::unwrap)) ) public constructor(fn: CloudshiftdevAwscdkServicesLambdaIFunction, @@ -59,7 +59,7 @@ public open class LambdaSubscription( * @param topic */ public override fun bind(topic: ITopic): TopicSubscriptionConfig = - unwrap(this).bind(topic.let(ITopic::unwrap)).let(TopicSubscriptionConfig::wrap) + unwrap(this).bind(topic.let(ITopic.Companion::unwrap)).let(TopicSubscriptionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.sns.subscriptions.LambdaSubscription]. @@ -116,7 +116,7 @@ public open class LambdaSubscription( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscriptionProps.kt index 118c24ce1c..a894443a7c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/LambdaSubscriptionProps.kt @@ -79,7 +79,7 @@ public interface LambdaSubscriptionProps : SubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscription.kt index 4816865e1b..6d9c81f673 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscription.kt @@ -33,7 +33,7 @@ public open class SmsSubscription( public constructor(phoneNumber: String, props: SmsSubscriptionProps) : this(software.amazon.awscdk.services.sns.subscriptions.SmsSubscription(phoneNumber, - props.let(SmsSubscriptionProps::unwrap)) + props.let(SmsSubscriptionProps.Companion::unwrap)) ) public constructor(phoneNumber: String, props: SmsSubscriptionProps.Builder.() -> Unit) : @@ -46,7 +46,7 @@ public open class SmsSubscription( * @param _topic */ public override fun bind(topic: ITopic): TopicSubscriptionConfig = - unwrap(this).bind(topic.let(ITopic::unwrap)).let(TopicSubscriptionConfig::wrap) + unwrap(this).bind(topic.let(ITopic.Companion::unwrap)).let(TopicSubscriptionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.sns.subscriptions.SmsSubscription]. @@ -103,7 +103,7 @@ public open class SmsSubscription( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscriptionProps.kt index 3d3b123d80..dcef32d046 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SmsSubscriptionProps.kt @@ -70,7 +70,7 @@ public interface SmsSubscriptionProps : SubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscription.kt index 149507787c..48573d5426 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscription.kt @@ -31,12 +31,12 @@ public open class SqsSubscription( cdkObject: software.amazon.awscdk.services.sns.subscriptions.SqsSubscription, ) : CdkObject(cdkObject), ITopicSubscription { public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue) : - this(software.amazon.awscdk.services.sns.subscriptions.SqsSubscription(queue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap)) + this(software.amazon.awscdk.services.sns.subscriptions.SqsSubscription(queue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap)) ) public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue, props: SqsSubscriptionProps) : - this(software.amazon.awscdk.services.sns.subscriptions.SqsSubscription(queue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap), - props.let(SqsSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.sns.subscriptions.SqsSubscription(queue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap), + props.let(SqsSubscriptionProps.Companion::unwrap)) ) public constructor(queue: CloudshiftdevAwscdkServicesSqsIQueue, @@ -49,7 +49,7 @@ public open class SqsSubscription( * @param topic */ public override fun bind(topic: ITopic): TopicSubscriptionConfig = - unwrap(this).bind(topic.let(ITopic::unwrap)).let(TopicSubscriptionConfig::wrap) + unwrap(this).bind(topic.let(ITopic.Companion::unwrap)).let(TopicSubscriptionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.sns.subscriptions.SqsSubscription]. @@ -117,7 +117,7 @@ public open class SqsSubscription( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: CloudshiftdevAwscdkServicesSqsIQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(CloudshiftdevAwscdkServicesSqsIQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(CloudshiftdevAwscdkServicesSqsIQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscriptionProps.kt index 841ace5288..43196e8786 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SqsSubscriptionProps.kt @@ -87,7 +87,7 @@ public interface SqsSubscriptionProps : SubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SubscriptionProps.kt index 0b634374e9..69dc6e099f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/SubscriptionProps.kt @@ -99,7 +99,7 @@ public interface SubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscription.kt index 5241e7bb59..ef1f222292 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscription.kt @@ -39,7 +39,7 @@ public open class UrlSubscription( public constructor(url: String, props: UrlSubscriptionProps) : this(software.amazon.awscdk.services.sns.subscriptions.UrlSubscription(url, - props.let(UrlSubscriptionProps::unwrap)) + props.let(UrlSubscriptionProps.Companion::unwrap)) ) public constructor(url: String, props: UrlSubscriptionProps.Builder.() -> Unit) : this(url, @@ -52,7 +52,7 @@ public open class UrlSubscription( * @param _topic */ public override fun bind(topic: ITopic): TopicSubscriptionConfig = - unwrap(this).bind(topic.let(ITopic::unwrap)).let(TopicSubscriptionConfig::wrap) + unwrap(this).bind(topic.let(ITopic.Companion::unwrap)).let(TopicSubscriptionConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.sns.subscriptions.UrlSubscription]. @@ -129,7 +129,7 @@ public open class UrlSubscription( * @param deadLetterQueue Queue to be used as dead letter queue. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class UrlSubscription( * @param protocol The subscription's protocol. */ override fun protocol(protocol: SubscriptionProtocol) { - cdkBuilder.protocol(protocol.let(SubscriptionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(SubscriptionProtocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscriptionProps.kt index d405b5ce0e..5c4f02ef79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sns/subscriptions/UrlSubscriptionProps.kt @@ -102,7 +102,7 @@ public interface UrlSubscriptionProps : SubscriptionProps { * If not passed no dead letter queue is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public interface UrlSubscriptionProps : SubscriptionProps { * @param protocol The subscription's protocol. */ override fun protocol(protocol: SubscriptionProtocol) { - cdkBuilder.protocol(protocol.let(SubscriptionProtocol::unwrap)) + cdkBuilder.protocol(protocol.let(SubscriptionProtocol.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueue.kt index 6beefe7d5c..aaaa08c152 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueue.kt @@ -86,7 +86,7 @@ public open class CfnQueue( cdkObject: software.amazon.awscdk.services.sqs.CfnQueue, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sqs.CfnQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sqs.CfnQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -95,8 +95,8 @@ public open class CfnQueue( id: String, props: CfnQueueProps, ) : - this(software.amazon.awscdk.services.sqs.CfnQueue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueProps::unwrap)) + this(software.amazon.awscdk.services.sqs.CfnQueue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueProps.Companion::unwrap)) ) public constructor( @@ -141,7 +141,7 @@ public open class CfnQueue( * For first-in-first-out (FIFO) queues, specifies whether to enable content-based deduplication. */ public open fun contentBasedDeduplication(`value`: IResolvable) { - unwrap(this).setContentBasedDeduplication(`value`.let(IResolvable::unwrap)) + unwrap(this).setContentBasedDeduplication(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnQueue( * If set to true, creates a FIFO queue. */ public open fun fifoQueue(`value`: IResolvable) { - unwrap(this).setFifoQueue(`value`.let(IResolvable::unwrap)) + unwrap(this).setFifoQueue(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnQueue( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnQueue( * Enables server-side queue encryption using SQS owned encryption keys. */ public open fun sqsManagedSseEnabled(`value`: IResolvable) { - unwrap(this).setSqsManagedSseEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setSqsManagedSseEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class CfnQueue( * The tags that you attach to this queue. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -775,7 +775,7 @@ public open class CfnQueue( * enable content-based deduplication. */ override fun contentBasedDeduplication(contentBasedDeduplication: IResolvable) { - cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable::unwrap)) + cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable.Companion::unwrap)) } /** @@ -841,7 +841,7 @@ public open class CfnQueue( * @param fifoQueue If set to true, creates a FIFO queue. */ override fun fifoQueue(fifoQueue: IResolvable) { - cdkBuilder.fifoQueue(fifoQueue.let(IResolvable::unwrap)) + cdkBuilder.fifoQueue(fifoQueue.let(IResolvable.Companion::unwrap)) } /** @@ -1082,7 +1082,7 @@ public open class CfnQueue( * keys. */ override fun sqsManagedSseEnabled(sqsManagedSseEnabled: IResolvable) { - cdkBuilder.sqsManagedSseEnabled(sqsManagedSseEnabled.let(IResolvable::unwrap)) + cdkBuilder.sqsManagedSseEnabled(sqsManagedSseEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -1096,7 +1096,7 @@ public open class CfnQueue( * @param tags The tags that you attach to this queue. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueInlinePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueInlinePolicy.kt index a5d3ef3cf4..4cf22eb702 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueInlinePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueInlinePolicy.kt @@ -39,8 +39,8 @@ public open class CfnQueueInlinePolicy( id: String, props: CfnQueueInlinePolicyProps, ) : - this(software.amazon.awscdk.services.sqs.CfnQueueInlinePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueueInlinePolicyProps::unwrap)) + this(software.amazon.awscdk.services.sqs.CfnQueueInlinePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueueInlinePolicyProps.Companion::unwrap)) ) public constructor( @@ -56,7 +56,7 @@ public open class CfnQueueInlinePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueuePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueuePolicy.kt index 7c1e4f7d2f..c0a5dc52e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueuePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueuePolicy.kt @@ -43,8 +43,8 @@ public open class CfnQueuePolicy( id: String, props: CfnQueuePolicyProps, ) : - this(software.amazon.awscdk.services.sqs.CfnQueuePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnQueuePolicyProps::unwrap)) + this(software.amazon.awscdk.services.sqs.CfnQueuePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnQueuePolicyProps.Companion::unwrap)) ) public constructor( @@ -65,7 +65,7 @@ public open class CfnQueuePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueProps.kt index a33937e681..457f6a273f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/CfnQueueProps.kt @@ -613,7 +613,7 @@ public interface CfnQueueProps { * action in the *Amazon SQS API Reference* . */ override fun contentBasedDeduplication(contentBasedDeduplication: IResolvable) { - cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable::unwrap)) + cdkBuilder.contentBasedDeduplication(contentBasedDeduplication.let(IResolvable.Companion::unwrap)) } /** @@ -662,7 +662,7 @@ public interface CfnQueueProps { * in the *Amazon SQS Developer Guide* . */ override fun fifoQueue(fifoQueue: IResolvable) { - cdkBuilder.fifoQueue(fifoQueue.let(IResolvable::unwrap)) + cdkBuilder.fifoQueue(fifoQueue.let(IResolvable.Companion::unwrap)) } /** @@ -851,7 +851,7 @@ public interface CfnQueueProps { * ). When `SqsManagedSseEnabled` is not defined, `SSE-SQS` encryption is enabled by default. */ override fun sqsManagedSseEnabled(sqsManagedSseEnabled: IResolvable) { - cdkBuilder.sqsManagedSseEnabled(sqsManagedSseEnabled.let(IResolvable::unwrap)) + cdkBuilder.sqsManagedSseEnabled(sqsManagedSseEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -861,7 +861,7 @@ public interface CfnQueueProps { * in the *AWS CloudFormation User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/DeadLetterQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/DeadLetterQueue.kt index 78a5d72bbb..68c681cdce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/DeadLetterQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/DeadLetterQueue.kt @@ -72,7 +72,7 @@ public interface DeadLetterQueue { * maxReceiveCount is exceeded. */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sqs.DeadLetterQueue = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/IQueue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/IQueue.kt index 424d473330..e1371fd071 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/IQueue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/IQueue.kt @@ -436,7 +436,7 @@ public interface IQueue : IResource { * @param statement */ override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this queue. @@ -466,7 +466,7 @@ public interface IQueue : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -508,7 +508,7 @@ public interface IQueue : IResource { * @param queueActions The actions to grant. */ override fun grant(grantee: IGrantable, vararg queueActions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), *queueActions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -525,7 +525,7 @@ public interface IQueue : IResource { * @param grantee Principal to grant consume rights to. */ override fun grantConsumeMessages(grantee: IGrantable): Grant = - unwrap(this).grantConsumeMessages(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConsumeMessages(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant an IAM principal permissions to purge all messages from the queue. @@ -539,7 +539,7 @@ public interface IQueue : IResource { * @param grantee Principal to grant send rights to. */ override fun grantPurge(grantee: IGrantable): Grant = - unwrap(this).grantPurge(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPurge(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant access to send messages to a queue to the given identity. @@ -553,7 +553,7 @@ public interface IQueue : IResource { * @param grantee Principal to grant send rights to. */ override fun grantSendMessages(grantee: IGrantable): Grant = - unwrap(this).grantSendMessages(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantSendMessages(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Queue. @@ -571,7 +571,8 @@ public interface IQueue : IResource { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Queue. @@ -602,7 +603,7 @@ public interface IQueue : IResource { * @param props */ override fun metricApproximateAgeOfOldestMessage(props: MetricOptions): Metric = - unwrap(this).metricApproximateAgeOfOldestMessage(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateAgeOfOldestMessage(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The approximate age of the oldest non-deleted message in the queue. @@ -636,7 +637,7 @@ public interface IQueue : IResource { * @param props */ override fun metricApproximateNumberOfMessagesDelayed(props: MetricOptions): Metric = - unwrap(this).metricApproximateNumberOfMessagesDelayed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateNumberOfMessagesDelayed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages in the queue that are delayed and not available for reading @@ -669,7 +670,7 @@ public interface IQueue : IResource { * @param props */ override fun metricApproximateNumberOfMessagesNotVisible(props: MetricOptions): Metric = - unwrap(this).metricApproximateNumberOfMessagesNotVisible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateNumberOfMessagesNotVisible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that are in flight. @@ -702,7 +703,7 @@ public interface IQueue : IResource { * @param props */ override fun metricApproximateNumberOfMessagesVisible(props: MetricOptions): Metric = - unwrap(this).metricApproximateNumberOfMessagesVisible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateNumberOfMessagesVisible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages available for retrieval from the queue. @@ -734,7 +735,7 @@ public interface IQueue : IResource { * @param props */ override fun metricNumberOfEmptyReceives(props: MetricOptions): Metric = - unwrap(this).metricNumberOfEmptyReceives(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfEmptyReceives(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of ReceiveMessage API calls that did not return a message. @@ -766,7 +767,7 @@ public interface IQueue : IResource { * @param props */ override fun metricNumberOfMessagesDeleted(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesDeleted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesDeleted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages deleted from the queue. @@ -798,7 +799,7 @@ public interface IQueue : IResource { * @param props */ override fun metricNumberOfMessagesReceived(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesReceived(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesReceived(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages returned by calls to the ReceiveMessage action. @@ -830,7 +831,7 @@ public interface IQueue : IResource { * @param props */ override fun metricNumberOfMessagesSent(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesSent(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesSent(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages added to a queue. @@ -862,7 +863,7 @@ public interface IQueue : IResource { * @param props */ override fun metricSentMessageSize(props: MetricOptions): Metric = - unwrap(this).metricSentMessageSize(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSentMessageSize(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The size of messages added to a queue. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/Queue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/Queue.kt index cd1378a76b..d98ceb076e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/Queue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/Queue.kt @@ -36,7 +36,7 @@ public open class Queue( cdkObject: software.amazon.awscdk.services.sqs.Queue, ) : QueueBase(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.sqs.Queue(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.sqs.Queue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class Queue( id: String, props: QueueProps, ) : - this(software.amazon.awscdk.services.sqs.Queue(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(QueueProps::unwrap)) + this(software.amazon.awscdk.services.sqs.Queue(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(QueueProps.Companion::unwrap)) ) public constructor( @@ -384,7 +384,7 @@ public open class Queue( * again. */ override fun dataKeyReuse(dataKeyReuse: Duration) { - cdkBuilder.dataKeyReuse(dataKeyReuse.let(Duration::unwrap)) + cdkBuilder.dataKeyReuse(dataKeyReuse.let(Duration.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class Queue( * number of times. */ override fun deadLetterQueue(deadLetterQueue: DeadLetterQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(DeadLetterQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(DeadLetterQueue.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class Queue( * deduplication occurs at the message group or queue level. */ override fun deduplicationScope(deduplicationScope: DeduplicationScope) { - cdkBuilder.deduplicationScope(deduplicationScope.let(DeduplicationScope::unwrap)) + cdkBuilder.deduplicationScope(deduplicationScope.let(DeduplicationScope.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class Queue( * delayed. */ override fun deliveryDelay(deliveryDelay: Duration) { - cdkBuilder.deliveryDelay(deliveryDelay.let(Duration::unwrap)) + cdkBuilder.deliveryDelay(deliveryDelay.let(Duration.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class Queue( * @param encryption Whether the contents of the queue are encrypted, and by what type of key. */ override fun encryption(encryption: QueueEncryption) { - cdkBuilder.encryption(encryption.let(QueueEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(QueueEncryption.Companion::unwrap)) } /** @@ -471,7 +471,7 @@ public open class Queue( * @param encryptionMasterKey External KMS key to use for queue encryption. */ override fun encryptionMasterKey(encryptionMasterKey: IKey) { - cdkBuilder.encryptionMasterKey(encryptionMasterKey.let(IKey::unwrap)) + cdkBuilder.encryptionMasterKey(encryptionMasterKey.let(IKey.Companion::unwrap)) } /** @@ -509,7 +509,7 @@ public open class Queue( * queue throughput quota applies to the entire queue or per message group. */ override fun fifoThroughputLimit(fifoThroughputLimit: FifoThroughputLimit) { - cdkBuilder.fifoThroughputLimit(fifoThroughputLimit.let(FifoThroughputLimit::unwrap)) + cdkBuilder.fifoThroughputLimit(fifoThroughputLimit.let(FifoThroughputLimit.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class Queue( * @param receiveMessageWaitTime Default wait time for ReceiveMessage calls. */ override fun receiveMessageWaitTime(receiveMessageWaitTime: Duration) { - cdkBuilder.receiveMessageWaitTime(receiveMessageWaitTime.let(Duration::unwrap)) + cdkBuilder.receiveMessageWaitTime(receiveMessageWaitTime.let(Duration.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class Queue( * dead-letter queue redrive permission and which source queues can specify dead-letter queues. */ override fun redriveAllowPolicy(redriveAllowPolicy: RedriveAllowPolicy) { - cdkBuilder.redriveAllowPolicy(redriveAllowPolicy.let(RedriveAllowPolicy::unwrap)) + cdkBuilder.redriveAllowPolicy(redriveAllowPolicy.let(RedriveAllowPolicy.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public open class Queue( * @param removalPolicy Policy to apply when the queue is removed from the stack. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class Queue( * @param retentionPeriod The number of seconds that Amazon SQS retains a message. */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -628,7 +628,7 @@ public open class Queue( * @param visibilityTimeout Timeout of processing a single message. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sqs.Queue = cdkBuilder.build() @@ -640,7 +640,7 @@ public open class Queue( id: String, queueArn: String, ): IQueue = - software.amazon.awscdk.services.sqs.Queue.fromQueueArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.sqs.Queue.fromQueueArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, queueArn).let(IQueue::wrap) public fun fromQueueAttributes( @@ -648,8 +648,8 @@ public open class Queue( id: String, attrs: QueueAttributes, ): IQueue = - software.amazon.awscdk.services.sqs.Queue.fromQueueAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(QueueAttributes::unwrap)).let(IQueue::wrap) + software.amazon.awscdk.services.sqs.Queue.fromQueueAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(QueueAttributes.Companion::unwrap)).let(IQueue::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9e7908d25798651fbd0c90d97212232d58887dfc0aa75b4d5f4c6e87ff68d1bd") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueBase.kt index 3de871754b..1bf5c9ce45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueBase.kt @@ -33,7 +33,7 @@ public abstract class QueueBase( * @param statement */ public override fun addToResourcePolicy(statement: PolicyStatement): AddToResourcePolicyResult = - unwrap(this).addToResourcePolicy(statement.let(PolicyStatement::unwrap)).let(AddToResourcePolicyResult::wrap) + unwrap(this).addToResourcePolicy(statement.let(PolicyStatement.Companion::unwrap)).let(AddToResourcePolicyResult::wrap) /** * Adds a statement to the IAM resource policy associated with this queue. @@ -76,8 +76,8 @@ public abstract class QueueBase( * @param actions The actions to grant. */ public override fun grant(grantee: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(grantee.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(grantee.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant permissions to consume messages from a queue. @@ -100,7 +100,7 @@ public abstract class QueueBase( * @param grantee Principal to grant consume rights to. */ public override fun grantConsumeMessages(grantee: IGrantable): Grant = - unwrap(this).grantConsumeMessages(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantConsumeMessages(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant an IAM principal permissions to purge all messages from the queue. @@ -114,7 +114,7 @@ public abstract class QueueBase( * @param grantee Principal to grant send rights to. */ public override fun grantPurge(grantee: IGrantable): Grant = - unwrap(this).grantPurge(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantPurge(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant access to send messages to a queue to the given identity. @@ -138,7 +138,7 @@ public abstract class QueueBase( * @param grantee Principal to grant send rights to. */ public override fun grantSendMessages(grantee: IGrantable): Grant = - unwrap(this).grantSendMessages(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantSendMessages(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this Queue. @@ -156,7 +156,7 @@ public abstract class QueueBase( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Queue. @@ -187,7 +187,7 @@ public abstract class QueueBase( * @param props */ public override fun metricApproximateAgeOfOldestMessage(props: MetricOptions): Metric = - unwrap(this).metricApproximateAgeOfOldestMessage(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateAgeOfOldestMessage(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The approximate age of the oldest non-deleted message in the queue. @@ -219,7 +219,7 @@ public abstract class QueueBase( * @param props */ public override fun metricApproximateNumberOfMessagesDelayed(props: MetricOptions): Metric = - unwrap(this).metricApproximateNumberOfMessagesDelayed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateNumberOfMessagesDelayed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages in the queue that are delayed and not available for reading immediately. @@ -252,7 +252,7 @@ public abstract class QueueBase( * @param props */ public override fun metricApproximateNumberOfMessagesNotVisible(props: MetricOptions): Metric = - unwrap(this).metricApproximateNumberOfMessagesNotVisible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateNumberOfMessagesNotVisible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages that are in flight. @@ -285,7 +285,7 @@ public abstract class QueueBase( * @param props */ public override fun metricApproximateNumberOfMessagesVisible(props: MetricOptions): Metric = - unwrap(this).metricApproximateNumberOfMessagesVisible(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricApproximateNumberOfMessagesVisible(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages available for retrieval from the queue. @@ -318,7 +318,7 @@ public abstract class QueueBase( * @param props */ public override fun metricNumberOfEmptyReceives(props: MetricOptions): Metric = - unwrap(this).metricNumberOfEmptyReceives(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfEmptyReceives(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of ReceiveMessage API calls that did not return a message. @@ -350,7 +350,7 @@ public abstract class QueueBase( * @param props */ public override fun metricNumberOfMessagesDeleted(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesDeleted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesDeleted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages deleted from the queue. @@ -382,7 +382,7 @@ public abstract class QueueBase( * @param props */ public override fun metricNumberOfMessagesReceived(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesReceived(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesReceived(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages returned by calls to the ReceiveMessage action. @@ -414,7 +414,7 @@ public abstract class QueueBase( * @param props */ public override fun metricNumberOfMessagesSent(props: MetricOptions): Metric = - unwrap(this).metricNumberOfMessagesSent(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricNumberOfMessagesSent(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The number of messages added to a queue. @@ -446,7 +446,7 @@ public abstract class QueueBase( * @param props */ public override fun metricSentMessageSize(props: MetricOptions): Metric = - unwrap(this).metricSentMessageSize(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSentMessageSize(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The size of messages added to a queue. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicy.kt index 13211b29a4..1817bf1f9a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicy.kt @@ -45,8 +45,8 @@ public open class QueuePolicy( id: String, props: QueuePolicyProps, ) : - this(software.amazon.awscdk.services.sqs.QueuePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(QueuePolicyProps::unwrap)) + this(software.amazon.awscdk.services.sqs.QueuePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(QueuePolicyProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class QueuePolicy( * @param queues The set of queues this policy applies to. */ override fun queues(queues: List) { - cdkBuilder.queues(queues.map(IQueue::unwrap)) + cdkBuilder.queues(queues.map(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicyProps.kt index f25c436fd1..16e4c13691 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueuePolicyProps.kt @@ -53,7 +53,7 @@ public interface QueuePolicyProps { * @param queues The set of queues this policy applies to. */ override fun queues(queues: List) { - cdkBuilder.queues(queues.map(IQueue::unwrap)) + cdkBuilder.queues(queues.map(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueProps.kt index 9c9bc5b085..1f2e570034 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/QueueProps.kt @@ -401,7 +401,7 @@ public interface QueueProps { * hours). The default is 300 (5 minutes). */ override fun dataKeyReuse(dataKeyReuse: Duration) { - cdkBuilder.dataKeyReuse(dataKeyReuse.let(Duration::unwrap)) + cdkBuilder.dataKeyReuse(dataKeyReuse.let(Duration.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public interface QueueProps { * number of times. */ override fun deadLetterQueue(deadLetterQueue: DeadLetterQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(DeadLetterQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(DeadLetterQueue.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface QueueProps { * (Only applies to FIFO queues.) */ override fun deduplicationScope(deduplicationScope: DeduplicationScope) { - cdkBuilder.deduplicationScope(deduplicationScope.let(DeduplicationScope::unwrap)) + cdkBuilder.deduplicationScope(deduplicationScope.let(DeduplicationScope.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface QueueProps { * value is 0. */ override fun deliveryDelay(deliveryDelay: Duration) { - cdkBuilder.deliveryDelay(deliveryDelay.let(Duration::unwrap)) + cdkBuilder.deliveryDelay(deliveryDelay.let(Duration.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public interface QueueProps { * for current availability details. */ override fun encryption(encryption: QueueEncryption) { - cdkBuilder.encryption(encryption.let(QueueEncryption::unwrap)) + cdkBuilder.encryption(encryption.let(QueueEncryption.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public interface QueueProps { * implicitly set to "KMS". */ override fun encryptionMasterKey(encryptionMasterKey: IKey) { - cdkBuilder.encryptionMasterKey(encryptionMasterKey.let(IKey::unwrap)) + cdkBuilder.encryptionMasterKey(encryptionMasterKey.let(IKey.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public interface QueueProps { * (Only applies to FIFO queues.) */ override fun fifoThroughputLimit(fifoThroughputLimit: FifoThroughputLimit) { - cdkBuilder.fifoThroughputLimit(fifoThroughputLimit.let(FifoThroughputLimit::unwrap)) + cdkBuilder.fifoThroughputLimit(fifoThroughputLimit.let(FifoThroughputLimit.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public interface QueueProps { * For more information, see Amazon SQS Long Poll. */ override fun receiveMessageWaitTime(receiveMessageWaitTime: Duration) { - cdkBuilder.receiveMessageWaitTime(receiveMessageWaitTime.let(Duration::unwrap)) + cdkBuilder.receiveMessageWaitTime(receiveMessageWaitTime.let(Duration.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public interface QueueProps { * dead-letter queue redrive permission and which source queues can specify dead-letter queues. */ override fun redriveAllowPolicy(redriveAllowPolicy: RedriveAllowPolicy) { - cdkBuilder.redriveAllowPolicy(redriveAllowPolicy.let(RedriveAllowPolicy::unwrap)) + cdkBuilder.redriveAllowPolicy(redriveAllowPolicy.let(RedriveAllowPolicy.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public interface QueueProps { * valuable that accidentally losing them would be unacceptable. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -548,7 +548,7 @@ public interface QueueProps { * seconds (14 days). The default value is 345600 seconds (4 days). */ override fun retentionPeriod(retentionPeriod: Duration) { - cdkBuilder.retentionPeriod(retentionPeriod.let(Duration::unwrap)) + cdkBuilder.retentionPeriod(retentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface QueueProps { * a value, AWS CloudFormation uses the default value of 30 seconds. */ override fun visibilityTimeout(visibilityTimeout: Duration) { - cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration::unwrap)) + cdkBuilder.visibilityTimeout(visibilityTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.sqs.QueueProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/RedriveAllowPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/RedriveAllowPolicy.kt index 6bf134a473..ef01c66787 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/RedriveAllowPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sqs/RedriveAllowPolicy.kt @@ -110,7 +110,7 @@ public interface RedriveAllowPolicy { * as their dead-letter queue. */ override fun redrivePermission(redrivePermission: RedrivePermission) { - cdkBuilder.redrivePermission(redrivePermission.let(RedrivePermission::unwrap)) + cdkBuilder.redrivePermission(redrivePermission.let(RedrivePermission.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public interface RedriveAllowPolicy { * this parameter cannot be set. */ override fun sourceQueues(sourceQueues: List) { - cdkBuilder.sourceQueues(sourceQueues.map(IQueue::unwrap)) + cdkBuilder.sourceQueues(sourceQueues.map(IQueue.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociation.kt index 9648d4a2cd..a0b24458af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociation.kt @@ -81,8 +81,8 @@ public open class CfnAssociation( id: String, props: CfnAssociationProps, ) : - this(software.amazon.awscdk.services.ssm.CfnAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssociationProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssociationProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnAssociation( * created and then according to the schedule you specified. */ public open fun applyOnlyAtCronInterval(`value`: IResolvable) { - unwrap(this).setApplyOnlyAtCronInterval(`value`.let(IResolvable::unwrap)) + unwrap(this).setApplyOnlyAtCronInterval(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class CfnAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnAssociation( * of the request. */ public open fun outputLocation(`value`: IResolvable) { - unwrap(this).setOutputLocation(`value`.let(IResolvable::unwrap)) + unwrap(this).setOutputLocation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnAssociation( * of the request. */ public open fun outputLocation(`value`: InstanceAssociationOutputLocationProperty) { - unwrap(this).setOutputLocation(`value`.let(InstanceAssociationOutputLocationProperty::unwrap)) + unwrap(this).setOutputLocation(`value`.let(InstanceAssociationOutputLocationProperty.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnAssociation( * The targets for the association. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -745,7 +745,7 @@ public open class CfnAssociation( * it immediately after it is created and then according to the schedule you specified. */ override fun applyOnlyAtCronInterval(applyOnlyAtCronInterval: IResolvable) { - cdkBuilder.applyOnlyAtCronInterval(applyOnlyAtCronInterval.let(IResolvable::unwrap)) + cdkBuilder.applyOnlyAtCronInterval(applyOnlyAtCronInterval.let(IResolvable.Companion::unwrap)) } /** @@ -932,7 +932,7 @@ public open class CfnAssociation( * store the output details of the request. */ override fun outputLocation(outputLocation: IResolvable) { - cdkBuilder.outputLocation(outputLocation.let(IResolvable::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(IResolvable.Companion::unwrap)) } /** @@ -944,7 +944,7 @@ public open class CfnAssociation( * store the output details of the request. */ override fun outputLocation(outputLocation: InstanceAssociationOutputLocationProperty) { - cdkBuilder.outputLocation(outputLocation.let(InstanceAssociationOutputLocationProperty::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(InstanceAssociationOutputLocationProperty.Companion::unwrap)) } /** @@ -1033,7 +1033,7 @@ public open class CfnAssociation( * @param targets The targets for the association. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -1206,7 +1206,7 @@ public open class CfnAssociation( * request. */ override fun s3Location(s3Location: IResolvable) { - cdkBuilder.s3Location(s3Location.let(IResolvable::unwrap)) + cdkBuilder.s3Location(s3Location.let(IResolvable.Companion::unwrap)) } /** @@ -1216,7 +1216,7 @@ public open class CfnAssociation( * request. */ override fun s3Location(s3Location: S3OutputLocationProperty) { - cdkBuilder.s3Location(s3Location.let(S3OutputLocationProperty::unwrap)) + cdkBuilder.s3Location(s3Location.let(S3OutputLocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociationProps.kt index 329da096e7..696ceb3d5c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnAssociationProps.kt @@ -554,7 +554,7 @@ public interface CfnAssociationProps { * This parameter is not supported for rate expressions. */ override fun applyOnlyAtCronInterval(applyOnlyAtCronInterval: IResolvable) { - cdkBuilder.applyOnlyAtCronInterval(applyOnlyAtCronInterval.let(IResolvable::unwrap)) + cdkBuilder.applyOnlyAtCronInterval(applyOnlyAtCronInterval.let(IResolvable.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public interface CfnAssociationProps { * store the output details of the request. */ override fun outputLocation(outputLocation: IResolvable) { - cdkBuilder.outputLocation(outputLocation.let(IResolvable::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(IResolvable.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public interface CfnAssociationProps { */ override fun outputLocation(outputLocation: CfnAssociation.InstanceAssociationOutputLocationProperty) { - cdkBuilder.outputLocation(outputLocation.let(CfnAssociation.InstanceAssociationOutputLocationProperty::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(CfnAssociation.InstanceAssociationOutputLocationProperty.Companion::unwrap)) } /** @@ -771,7 +771,7 @@ public interface CfnAssociationProps { * all managed instances in an AWS account " on the Examples page. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocument.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocument.kt index b8d2e8f488..780edc2a44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocument.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocument.kt @@ -50,8 +50,8 @@ public open class CfnDocument( id: String, props: CfnDocumentProps, ) : - this(software.amazon.awscdk.services.ssm.CfnDocument(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDocumentProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnDocument(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDocumentProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class CfnDocument( * A list of key-value pairs that describe attachments to a version of a document. */ public open fun attachments(`value`: IResolvable) { - unwrap(this).setAttachments(`value`.let(IResolvable::unwrap)) + unwrap(this).setAttachments(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnDocument( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnDocument( * A list of SSM documents required by a document. */ public open fun requires(`value`: IResolvable) { - unwrap(this).setRequires(`value`.let(IResolvable::unwrap)) + unwrap(this).setRequires(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public open class CfnDocument( * AWS CloudFormation resource tags to apply to the document. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class CfnDocument( * document. */ override fun attachments(attachments: IResolvable) { - cdkBuilder.attachments(attachments.let(IResolvable::unwrap)) + cdkBuilder.attachments(attachments.let(IResolvable.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public open class CfnDocument( * @param requires A list of SSM documents required by a document. */ override fun requires(requires: IResolvable) { - cdkBuilder.requires(requires.let(IResolvable::unwrap)) + cdkBuilder.requires(requires.let(IResolvable.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public open class CfnDocument( * @param tags AWS CloudFormation resource tags to apply to the document. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocumentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocumentProps.kt index c62354c46b..3d9b0c34ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocumentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnDocumentProps.kt @@ -322,7 +322,7 @@ public interface CfnDocumentProps { * document. */ override fun attachments(attachments: IResolvable) { - cdkBuilder.attachments(attachments.let(IResolvable::unwrap)) + cdkBuilder.attachments(attachments.let(IResolvable.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface CfnDocumentProps { * AppConfig User Guide* . */ override fun requires(requires: IResolvable) { - cdkBuilder.requires(requires.let(IResolvable::unwrap)) + cdkBuilder.requires(requires.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public interface CfnDocumentProps { * Use tags to help you identify and categorize resources. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindow.kt index 24cf470a4a..52205f2565 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindow.kt @@ -70,8 +70,8 @@ public open class CfnMaintenanceWindow( id: String, props: CfnMaintenanceWindowProps, ) : - this(software.amazon.awscdk.services.ssm.CfnMaintenanceWindow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMaintenanceWindowProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnMaintenanceWindow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMaintenanceWindowProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnMaintenanceWindow( * those instances as targets. */ public open fun allowUnassociatedTargets(`value`: IResolvable) { - unwrap(this).setAllowUnassociatedTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setAllowUnassociatedTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public open class CfnMaintenanceWindow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnMaintenanceWindow( * (key-value pairs). */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class CfnMaintenanceWindow( * instances, even if you have not registered those instances as targets. */ override fun allowUnassociatedTargets(allowUnassociatedTargets: IResolvable) { - cdkBuilder.allowUnassociatedTargets(allowUnassociatedTargets.let(IResolvable::unwrap)) + cdkBuilder.allowUnassociatedTargets(allowUnassociatedTargets.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnMaintenanceWindow( * of tags (key-value pairs). */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowProps.kt index f15c298e75..3b90fda173 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowProps.kt @@ -253,7 +253,7 @@ public interface CfnMaintenanceWindowProps { * register a task with the maintenance window. */ override fun allowUnassociatedTargets(allowUnassociatedTargets: IResolvable) { - cdkBuilder.allowUnassociatedTargets(allowUnassociatedTargets.let(IResolvable::unwrap)) + cdkBuilder.allowUnassociatedTargets(allowUnassociatedTargets.let(IResolvable.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface CfnMaintenanceWindowProps { * tasks it will run, the types of targets, and the environment it will run in. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTarget.kt index 0e27fda3bc..fafa1d2321 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTarget.kt @@ -55,8 +55,8 @@ public open class CfnMaintenanceWindowTarget( id: String, props: CfnMaintenanceWindowTargetProps, ) : - this(software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTarget(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMaintenanceWindowTargetProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTarget(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMaintenanceWindowTargetProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnMaintenanceWindowTarget( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public open class CfnMaintenanceWindowTarget( * The targets to register with the maintenance window. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnMaintenanceWindowTarget( * @param targets The targets to register with the maintenance window. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTargetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTargetProps.kt index 5749553400..6441d6939e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTargetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTargetProps.kt @@ -182,7 +182,7 @@ public interface CfnMaintenanceWindowTargetProps { * You must specify targets by using the `WindowTargetIds` parameter. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTask.kt index 4592743a62..078d0bf9a3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTask.kt @@ -108,8 +108,8 @@ public open class CfnMaintenanceWindowTask( id: String, props: CfnMaintenanceWindowTaskProps, ) : - this(software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnMaintenanceWindowTaskProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnMaintenanceWindowTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnMaintenanceWindowTaskProps.Companion::unwrap)) ) public constructor( @@ -156,7 +156,7 @@ public open class CfnMaintenanceWindowTask( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -168,14 +168,14 @@ public open class CfnMaintenanceWindowTask( * Information about an Amazon S3 bucket to write Run Command task-level logs to. */ public open fun loggingInfo(`value`: IResolvable) { - unwrap(this).setLoggingInfo(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingInfo(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about an Amazon S3 bucket to write Run Command task-level logs to. */ public open fun loggingInfo(`value`: LoggingInfoProperty) { - unwrap(this).setLoggingInfo(`value`.let(LoggingInfoProperty::unwrap)) + unwrap(this).setLoggingInfo(`value`.let(LoggingInfoProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public open class CfnMaintenanceWindowTask( * The targets, either instances or window target IDs. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -295,14 +295,14 @@ public open class CfnMaintenanceWindowTask( * The parameters to pass to the task when it runs. */ public open fun taskInvocationParameters(`value`: IResolvable) { - unwrap(this).setTaskInvocationParameters(`value`.let(IResolvable::unwrap)) + unwrap(this).setTaskInvocationParameters(`value`.let(IResolvable.Companion::unwrap)) } /** * The parameters to pass to the task when it runs. */ public open fun taskInvocationParameters(`value`: TaskInvocationParametersProperty) { - unwrap(this).setTaskInvocationParameters(`value`.let(TaskInvocationParametersProperty::unwrap)) + unwrap(this).setTaskInvocationParameters(`value`.let(TaskInvocationParametersProperty.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class CfnMaintenanceWindowTask( * to. */ override fun loggingInfo(loggingInfo: IResolvable) { - cdkBuilder.loggingInfo(loggingInfo.let(IResolvable::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(IResolvable.Companion::unwrap)) } /** @@ -715,7 +715,7 @@ public open class CfnMaintenanceWindowTask( * to. */ override fun loggingInfo(loggingInfo: LoggingInfoProperty) { - cdkBuilder.loggingInfo(loggingInfo.let(LoggingInfoProperty::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(LoggingInfoProperty.Companion::unwrap)) } /** @@ -830,7 +830,7 @@ public open class CfnMaintenanceWindowTask( * @param targets The targets, either instances or window target IDs. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -895,7 +895,7 @@ public open class CfnMaintenanceWindowTask( * @param taskInvocationParameters The parameters to pass to the task when it runs. */ override fun taskInvocationParameters(taskInvocationParameters: IResolvable) { - cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(IResolvable::unwrap)) + cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(IResolvable.Companion::unwrap)) } /** @@ -918,7 +918,7 @@ public open class CfnMaintenanceWindowTask( */ override fun taskInvocationParameters(taskInvocationParameters: TaskInvocationParametersProperty) { - cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(TaskInvocationParametersProperty::unwrap)) + cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(TaskInvocationParametersProperty.Companion::unwrap)) } /** @@ -1108,7 +1108,7 @@ public open class CfnMaintenanceWindowTask( * Logs. */ override fun cloudWatchOutputEnabled(cloudWatchOutputEnabled: IResolvable) { - cdkBuilder.cloudWatchOutputEnabled(cloudWatchOutputEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchOutputEnabled(cloudWatchOutputEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -1900,7 +1900,7 @@ public open class CfnMaintenanceWindowTask( * CloudWatch Logs. */ override fun cloudWatchOutputConfig(cloudWatchOutputConfig: IResolvable) { - cdkBuilder.cloudWatchOutputConfig(cloudWatchOutputConfig.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchOutputConfig(cloudWatchOutputConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1908,7 +1908,7 @@ public open class CfnMaintenanceWindowTask( * CloudWatch Logs. */ override fun cloudWatchOutputConfig(cloudWatchOutputConfig: CloudWatchOutputConfigProperty) { - cdkBuilder.cloudWatchOutputConfig(cloudWatchOutputConfig.let(CloudWatchOutputConfigProperty::unwrap)) + cdkBuilder.cloudWatchOutputConfig(cloudWatchOutputConfig.let(CloudWatchOutputConfigProperty.Companion::unwrap)) } /** @@ -1967,7 +1967,7 @@ public open class CfnMaintenanceWindowTask( * changes on a per-managed node basis. */ override fun notificationConfig(notificationConfig: IResolvable) { - cdkBuilder.notificationConfig(notificationConfig.let(IResolvable::unwrap)) + cdkBuilder.notificationConfig(notificationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1975,7 +1975,7 @@ public open class CfnMaintenanceWindowTask( * changes on a per-managed node basis. */ override fun notificationConfig(notificationConfig: NotificationConfigProperty) { - cdkBuilder.notificationConfig(notificationConfig.let(NotificationConfigProperty::unwrap)) + cdkBuilder.notificationConfig(notificationConfig.let(NotificationConfigProperty.Companion::unwrap)) } /** @@ -2869,7 +2869,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowAutomationParameters(maintenanceWindowAutomationParameters: IResolvable) { - cdkBuilder.maintenanceWindowAutomationParameters(maintenanceWindowAutomationParameters.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindowAutomationParameters(maintenanceWindowAutomationParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2877,7 +2877,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowAutomationParameters(maintenanceWindowAutomationParameters: MaintenanceWindowAutomationParametersProperty) { - cdkBuilder.maintenanceWindowAutomationParameters(maintenanceWindowAutomationParameters.let(MaintenanceWindowAutomationParametersProperty::unwrap)) + cdkBuilder.maintenanceWindowAutomationParameters(maintenanceWindowAutomationParameters.let(MaintenanceWindowAutomationParametersProperty.Companion::unwrap)) } /** @@ -2895,7 +2895,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowLambdaParameters(maintenanceWindowLambdaParameters: IResolvable) { - cdkBuilder.maintenanceWindowLambdaParameters(maintenanceWindowLambdaParameters.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindowLambdaParameters(maintenanceWindowLambdaParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2903,7 +2903,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowLambdaParameters(maintenanceWindowLambdaParameters: MaintenanceWindowLambdaParametersProperty) { - cdkBuilder.maintenanceWindowLambdaParameters(maintenanceWindowLambdaParameters.let(MaintenanceWindowLambdaParametersProperty::unwrap)) + cdkBuilder.maintenanceWindowLambdaParameters(maintenanceWindowLambdaParameters.let(MaintenanceWindowLambdaParametersProperty.Companion::unwrap)) } /** @@ -2921,7 +2921,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowRunCommandParameters(maintenanceWindowRunCommandParameters: IResolvable) { - cdkBuilder.maintenanceWindowRunCommandParameters(maintenanceWindowRunCommandParameters.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindowRunCommandParameters(maintenanceWindowRunCommandParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2929,7 +2929,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowRunCommandParameters(maintenanceWindowRunCommandParameters: MaintenanceWindowRunCommandParametersProperty) { - cdkBuilder.maintenanceWindowRunCommandParameters(maintenanceWindowRunCommandParameters.let(MaintenanceWindowRunCommandParametersProperty::unwrap)) + cdkBuilder.maintenanceWindowRunCommandParameters(maintenanceWindowRunCommandParameters.let(MaintenanceWindowRunCommandParametersProperty.Companion::unwrap)) } /** @@ -2948,7 +2948,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowStepFunctionsParameters(maintenanceWindowStepFunctionsParameters: IResolvable) { - cdkBuilder.maintenanceWindowStepFunctionsParameters(maintenanceWindowStepFunctionsParameters.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindowStepFunctionsParameters(maintenanceWindowStepFunctionsParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2957,7 +2957,7 @@ public open class CfnMaintenanceWindowTask( */ override fun maintenanceWindowStepFunctionsParameters(maintenanceWindowStepFunctionsParameters: MaintenanceWindowStepFunctionsParametersProperty) { - cdkBuilder.maintenanceWindowStepFunctionsParameters(maintenanceWindowStepFunctionsParameters.let(MaintenanceWindowStepFunctionsParametersProperty::unwrap)) + cdkBuilder.maintenanceWindowStepFunctionsParameters(maintenanceWindowStepFunctionsParameters.let(MaintenanceWindowStepFunctionsParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTaskProps.kt index 0328994fbf..231245b855 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnMaintenanceWindowTaskProps.kt @@ -504,7 +504,7 @@ public interface CfnMaintenanceWindowTaskProps { * . */ override fun loggingInfo(loggingInfo: IResolvable) { - cdkBuilder.loggingInfo(loggingInfo.let(IResolvable::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(IResolvable.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public interface CfnMaintenanceWindowTaskProps { * . */ override fun loggingInfo(loggingInfo: CfnMaintenanceWindowTask.LoggingInfoProperty) { - cdkBuilder.loggingInfo(loggingInfo.let(CfnMaintenanceWindowTask.LoggingInfoProperty::unwrap)) + cdkBuilder.loggingInfo(loggingInfo.let(CfnMaintenanceWindowTask.LoggingInfoProperty.Companion::unwrap)) } /** @@ -603,7 +603,7 @@ public interface CfnMaintenanceWindowTaskProps { * *window-target-id-2*` . */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public interface CfnMaintenanceWindowTaskProps { * and `NotificationConfig` are removed. */ override fun taskInvocationParameters(taskInvocationParameters: IResolvable) { - cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(IResolvable::unwrap)) + cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(IResolvable.Companion::unwrap)) } /** @@ -669,7 +669,7 @@ public interface CfnMaintenanceWindowTaskProps { */ override fun taskInvocationParameters(taskInvocationParameters: CfnMaintenanceWindowTask.TaskInvocationParametersProperty) { - cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(CfnMaintenanceWindowTask.TaskInvocationParametersProperty::unwrap)) + cdkBuilder.taskInvocationParameters(taskInvocationParameters.let(CfnMaintenanceWindowTask.TaskInvocationParametersProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnParameter.kt index d44a869c05..ef829e12bb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnParameter.kt @@ -70,8 +70,8 @@ public open class CfnParameter( id: String, props: CfnParameterProps, ) : - this(software.amazon.awscdk.services.ssm.CfnParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnParameterProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnParameterProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnParameter( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaseline.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaseline.kt index b3549fec40..73d64d562c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaseline.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaseline.kt @@ -92,8 +92,8 @@ public open class CfnPatchBaseline( id: String, props: CfnPatchBaselineProps, ) : - this(software.amazon.awscdk.services.ssm.CfnPatchBaseline(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPatchBaselineProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnPatchBaseline(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPatchBaselineProps.Companion::unwrap)) ) public constructor( @@ -112,14 +112,14 @@ public open class CfnPatchBaseline( * A set of rules used to include patches in the baseline. */ public open fun approvalRules(`value`: IResolvable) { - unwrap(this).setApprovalRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setApprovalRules(`value`.let(IResolvable.Companion::unwrap)) } /** * A set of rules used to include patches in the baseline. */ public open fun approvalRules(`value`: RuleGroupProperty) { - unwrap(this).setApprovalRules(`value`.let(RuleGroupProperty::unwrap)) + unwrap(this).setApprovalRules(`value`.let(RuleGroupProperty.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public open class CfnPatchBaseline( * applied to the managed nodes. */ public open fun approvedPatchesEnableNonSecurity(`value`: IResolvable) { - unwrap(this).setApprovedPatchesEnableNonSecurity(`value`.let(IResolvable::unwrap)) + unwrap(this).setApprovedPatchesEnableNonSecurity(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -204,7 +204,7 @@ public open class CfnPatchBaseline( * Set the baseline as default baseline. */ public open fun defaultBaseline(`value`: IResolvable) { - unwrap(this).setDefaultBaseline(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultBaseline(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -228,14 +228,14 @@ public open class CfnPatchBaseline( * A set of global filters used to include patches in the baseline. */ public open fun globalFilters(`value`: IResolvable) { - unwrap(this).setGlobalFilters(`value`.let(IResolvable::unwrap)) + unwrap(this).setGlobalFilters(`value`.let(IResolvable.Companion::unwrap)) } /** * A set of global filters used to include patches in the baseline. */ public open fun globalFilters(`value`: PatchFilterGroupProperty) { - unwrap(this).setGlobalFilters(`value`.let(PatchFilterGroupProperty::unwrap)) + unwrap(this).setGlobalFilters(`value`.let(PatchFilterGroupProperty.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnPatchBaseline( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public open class CfnPatchBaseline( * systems and source repositories. */ public open fun sources(`value`: IResolvable) { - unwrap(this).setSources(`value`.let(IResolvable::unwrap)) + unwrap(this).setSources(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +368,7 @@ public open class CfnPatchBaseline( * Optional metadata that you assign to a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public open class CfnPatchBaseline( * @param approvalRules A set of rules used to include patches in the baseline. */ override fun approvalRules(approvalRules: IResolvable) { - cdkBuilder.approvalRules(approvalRules.let(IResolvable::unwrap)) + cdkBuilder.approvalRules(approvalRules.let(IResolvable.Companion::unwrap)) } /** @@ -699,7 +699,7 @@ public open class CfnPatchBaseline( * @param approvalRules A set of rules used to include patches in the baseline. */ override fun approvalRules(approvalRules: RuleGroupProperty) { - cdkBuilder.approvalRules(approvalRules.let(RuleGroupProperty::unwrap)) + cdkBuilder.approvalRules(approvalRules.let(RuleGroupProperty.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public open class CfnPatchBaseline( * includes non-security updates that should be applied to the managed nodes. */ override fun approvedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity: IResolvable) { - cdkBuilder.approvedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity.let(IResolvable::unwrap)) + cdkBuilder.approvedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity.let(IResolvable.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnPatchBaseline( * @param defaultBaseline Set the baseline as default baseline. */ override fun defaultBaseline(defaultBaseline: IResolvable) { - cdkBuilder.defaultBaseline(defaultBaseline.let(IResolvable::unwrap)) + cdkBuilder.defaultBaseline(defaultBaseline.let(IResolvable.Companion::unwrap)) } /** @@ -834,7 +834,7 @@ public open class CfnPatchBaseline( * @param globalFilters A set of global filters used to include patches in the baseline. */ override fun globalFilters(globalFilters: IResolvable) { - cdkBuilder.globalFilters(globalFilters.let(IResolvable::unwrap)) + cdkBuilder.globalFilters(globalFilters.let(IResolvable.Companion::unwrap)) } /** @@ -844,7 +844,7 @@ public open class CfnPatchBaseline( * @param globalFilters A set of global filters used to include patches in the baseline. */ override fun globalFilters(globalFilters: PatchFilterGroupProperty) { - cdkBuilder.globalFilters(globalFilters.let(PatchFilterGroupProperty::unwrap)) + cdkBuilder.globalFilters(globalFilters.let(PatchFilterGroupProperty.Companion::unwrap)) } /** @@ -962,7 +962,7 @@ public open class CfnPatchBaseline( * target operating systems and source repositories. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -1002,7 +1002,7 @@ public open class CfnPatchBaseline( * @param tags Optional metadata that you assign to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1105,7 +1105,7 @@ public open class CfnPatchBaseline( * @param patchFilters The set of patch filters that make up the group. */ override fun patchFilters(patchFilters: IResolvable) { - cdkBuilder.patchFilters(patchFilters.let(IResolvable::unwrap)) + cdkBuilder.patchFilters(patchFilters.let(IResolvable.Companion::unwrap)) } /** @@ -1611,7 +1611,7 @@ public open class CfnPatchBaseline( * @param patchRules The rules that make up the rule group. */ override fun patchRules(patchRules: IResolvable) { - cdkBuilder.patchRules(patchRules.let(IResolvable::unwrap)) + cdkBuilder.patchRules(patchRules.let(IResolvable.Companion::unwrap)) } /** @@ -1866,21 +1866,21 @@ public open class CfnPatchBaseline( * The default value is `false` . Applies to Linux managed nodes only. */ override fun enableNonSecurity(enableNonSecurity: IResolvable) { - cdkBuilder.enableNonSecurity(enableNonSecurity.let(IResolvable::unwrap)) + cdkBuilder.enableNonSecurity(enableNonSecurity.let(IResolvable.Companion::unwrap)) } /** * @param patchFilterGroup The patch filter group that defines the criteria for the rule. */ override fun patchFilterGroup(patchFilterGroup: IResolvable) { - cdkBuilder.patchFilterGroup(patchFilterGroup.let(IResolvable::unwrap)) + cdkBuilder.patchFilterGroup(patchFilterGroup.let(IResolvable.Companion::unwrap)) } /** * @param patchFilterGroup The patch filter group that defines the criteria for the rule. */ override fun patchFilterGroup(patchFilterGroup: PatchFilterGroupProperty) { - cdkBuilder.patchFilterGroup(patchFilterGroup.let(PatchFilterGroupProperty::unwrap)) + cdkBuilder.patchFilterGroup(patchFilterGroup.let(PatchFilterGroupProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaselineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaselineProps.kt index 9597ff88e7..2ec368bd04 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaselineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnPatchBaselineProps.kt @@ -411,14 +411,14 @@ public interface CfnPatchBaselineProps { * @param approvalRules A set of rules used to include patches in the baseline. */ override fun approvalRules(approvalRules: IResolvable) { - cdkBuilder.approvalRules(approvalRules.let(IResolvable::unwrap)) + cdkBuilder.approvalRules(approvalRules.let(IResolvable.Companion::unwrap)) } /** * @param approvalRules A set of rules used to include patches in the baseline. */ override fun approvalRules(approvalRules: CfnPatchBaseline.RuleGroupProperty) { - cdkBuilder.approvalRules(approvalRules.let(CfnPatchBaseline.RuleGroupProperty::unwrap)) + cdkBuilder.approvalRules(approvalRules.let(CfnPatchBaseline.RuleGroupProperty.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public interface CfnPatchBaselineProps { * The default value is `false` . Applies to Linux managed nodes only. */ override fun approvedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity: IResolvable) { - cdkBuilder.approvedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity.let(IResolvable::unwrap)) + cdkBuilder.approvedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity.let(IResolvable.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public interface CfnPatchBaselineProps { * Only registering to default patch baseline is allowed. */ override fun defaultBaseline(defaultBaseline: IResolvable) { - cdkBuilder.defaultBaseline(defaultBaseline.let(IResolvable::unwrap)) + cdkBuilder.defaultBaseline(defaultBaseline.let(IResolvable.Companion::unwrap)) } /** @@ -505,14 +505,14 @@ public interface CfnPatchBaselineProps { * @param globalFilters A set of global filters used to include patches in the baseline. */ override fun globalFilters(globalFilters: IResolvable) { - cdkBuilder.globalFilters(globalFilters.let(IResolvable::unwrap)) + cdkBuilder.globalFilters(globalFilters.let(IResolvable.Companion::unwrap)) } /** * @param globalFilters A set of global filters used to include patches in the baseline. */ override fun globalFilters(globalFilters: CfnPatchBaseline.PatchFilterGroupProperty) { - cdkBuilder.globalFilters(globalFilters.let(CfnPatchBaseline.PatchFilterGroupProperty::unwrap)) + cdkBuilder.globalFilters(globalFilters.let(CfnPatchBaseline.PatchFilterGroupProperty.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public interface CfnPatchBaselineProps { * Applies to Linux managed nodes only. */ override fun sources(sources: IResolvable) { - cdkBuilder.sources(sources.let(IResolvable::unwrap)) + cdkBuilder.sources(sources.let(IResolvable.Companion::unwrap)) } /** @@ -620,7 +620,7 @@ public interface CfnPatchBaselineProps { * of patches it specifies and the operating system family it applies to. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSync.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSync.kt index 82ddeac480..ba62c18100 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSync.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSync.kt @@ -100,8 +100,8 @@ public open class CfnResourceDataSync( id: String, props: CfnResourceDataSyncProps, ) : - this(software.amazon.awscdk.services.ssm.CfnResourceDataSync(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourceDataSyncProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnResourceDataSync(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourceDataSyncProps.Companion::unwrap)) ) public constructor( @@ -158,7 +158,7 @@ public open class CfnResourceDataSync( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -182,14 +182,14 @@ public open class CfnResourceDataSync( * Configuration information for the target S3 bucket. */ public open fun s3Destination(`value`: IResolvable) { - unwrap(this).setS3Destination(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3Destination(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration information for the target S3 bucket. */ public open fun s3Destination(`value`: S3DestinationProperty) { - unwrap(this).setS3Destination(`value`.let(S3DestinationProperty::unwrap)) + unwrap(this).setS3Destination(`value`.let(S3DestinationProperty.Companion::unwrap)) } /** @@ -233,14 +233,14 @@ public open class CfnResourceDataSync( * Information about the source where the data was synchronized. */ public open fun syncSource(`value`: IResolvable) { - unwrap(this).setSyncSource(`value`.let(IResolvable::unwrap)) + unwrap(this).setSyncSource(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the source where the data was synchronized. */ public open fun syncSource(`value`: SyncSourceProperty) { - unwrap(this).setSyncSource(`value`.let(SyncSourceProperty::unwrap)) + unwrap(this).setSyncSource(`value`.let(SyncSourceProperty.Companion::unwrap)) } /** @@ -443,7 +443,7 @@ public open class CfnResourceDataSync( * @param s3Destination Configuration information for the target S3 bucket. */ override fun s3Destination(s3Destination: IResolvable) { - cdkBuilder.s3Destination(s3Destination.let(IResolvable::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(IResolvable.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public open class CfnResourceDataSync( * @param s3Destination Configuration information for the target S3 bucket. */ override fun s3Destination(s3Destination: S3DestinationProperty) { - cdkBuilder.s3Destination(s3Destination.let(S3DestinationProperty::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(S3DestinationProperty.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnResourceDataSync( * @param syncSource Information about the source where the data was synchronized. */ override fun syncSource(syncSource: IResolvable) { - cdkBuilder.syncSource(syncSource.let(IResolvable::unwrap)) + cdkBuilder.syncSource(syncSource.let(IResolvable.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class CfnResourceDataSync( * @param syncSource Information about the source where the data was synchronized. */ override fun syncSource(syncSource: SyncSourceProperty) { - cdkBuilder.syncSource(syncSource.let(SyncSourceProperty::unwrap)) + cdkBuilder.syncSource(syncSource.let(SyncSourceProperty.Companion::unwrap)) } /** @@ -1028,7 +1028,7 @@ public open class CfnResourceDataSync( * A sync source of this type can synchronize data from AWS Organizations . */ override fun awsOrganizationsSource(awsOrganizationsSource: IResolvable) { - cdkBuilder.awsOrganizationsSource(awsOrganizationsSource.let(IResolvable::unwrap)) + cdkBuilder.awsOrganizationsSource(awsOrganizationsSource.let(IResolvable.Companion::unwrap)) } /** @@ -1037,7 +1037,7 @@ public open class CfnResourceDataSync( * A sync source of this type can synchronize data from AWS Organizations . */ override fun awsOrganizationsSource(awsOrganizationsSource: AwsOrganizationsSourceProperty) { - cdkBuilder.awsOrganizationsSource(awsOrganizationsSource.let(AwsOrganizationsSourceProperty::unwrap)) + cdkBuilder.awsOrganizationsSource(awsOrganizationsSource.let(AwsOrganizationsSourceProperty.Companion::unwrap)) } /** @@ -1064,7 +1064,7 @@ public open class CfnResourceDataSync( * new AWS Regions when those Regions come online. */ override fun includeFutureRegions(includeFutureRegions: IResolvable) { - cdkBuilder.includeFutureRegions(includeFutureRegions.let(IResolvable::unwrap)) + cdkBuilder.includeFutureRegions(includeFutureRegions.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSyncProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSyncProps.kt index 07629faabe..74e5fa5dd9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSyncProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourceDataSyncProps.kt @@ -246,14 +246,14 @@ public interface CfnResourceDataSyncProps { * @param s3Destination Configuration information for the target S3 bucket. */ override fun s3Destination(s3Destination: IResolvable) { - cdkBuilder.s3Destination(s3Destination.let(IResolvable::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(IResolvable.Companion::unwrap)) } /** * @param s3Destination Configuration information for the target S3 bucket. */ override fun s3Destination(s3Destination: CfnResourceDataSync.S3DestinationProperty) { - cdkBuilder.s3Destination(s3Destination.let(CfnResourceDataSync.S3DestinationProperty::unwrap)) + cdkBuilder.s3Destination(s3Destination.let(CfnResourceDataSync.S3DestinationProperty.Companion::unwrap)) } /** @@ -284,14 +284,14 @@ public interface CfnResourceDataSyncProps { * @param syncSource Information about the source where the data was synchronized. */ override fun syncSource(syncSource: IResolvable) { - cdkBuilder.syncSource(syncSource.let(IResolvable::unwrap)) + cdkBuilder.syncSource(syncSource.let(IResolvable.Companion::unwrap)) } /** * @param syncSource Information about the source where the data was synchronized. */ override fun syncSource(syncSource: CfnResourceDataSync.SyncSourceProperty) { - cdkBuilder.syncSource(syncSource.let(CfnResourceDataSync.SyncSourceProperty::unwrap)) + cdkBuilder.syncSource(syncSource.let(CfnResourceDataSync.SyncSourceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourcePolicy.kt index e92aac09e1..fe22dc64c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/CfnResourcePolicy.kt @@ -45,8 +45,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.ssm.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.ssm.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IParameter.kt index 26631f3452..4c53029b8a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IParameter.kt @@ -64,7 +64,7 @@ public interface IParameter : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -86,7 +86,7 @@ public interface IParameter : IResource { * @param grantee the role to be granted read-only access to the parameter. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants write (PutParameter) permissions on the SSM Parameter. @@ -94,7 +94,7 @@ public interface IParameter : IResource { * @param grantee the role to be granted write access to the parameter. */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringListParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringListParameter.kt index 749a49c147..a8a3971487 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringListParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringListParameter.kt @@ -42,7 +42,7 @@ public interface IStringListParameter : IParameter { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -64,7 +64,7 @@ public interface IStringListParameter : IParameter { * @param grantee the role to be granted read-only access to the parameter. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants write (PutParameter) permissions on the SSM Parameter. @@ -72,7 +72,7 @@ public interface IStringListParameter : IParameter { * @param grantee the role to be granted write access to the parameter. */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringParameter.kt index c15f6961fe..b142553854 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/IStringParameter.kt @@ -40,7 +40,7 @@ public interface IStringParameter : IParameter { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -62,7 +62,7 @@ public interface IStringParameter : IParameter { * @param grantee the role to be granted read-only access to the parameter. */ override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants write (PutParameter) permissions on the SSM Parameter. @@ -70,7 +70,7 @@ public interface IStringParameter : IParameter { * @param grantee the role to be granted write access to the parameter. */ override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ListParameterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ListParameterAttributes.kt index f1b46c48b8..4ad255efef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ListParameterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ListParameterAttributes.kt @@ -111,7 +111,7 @@ public interface ListParameterAttributes : CommonStringParameterAttributes { * ParameterValueType.STRING */ override fun elementType(elementType: ParameterValueType) { - cdkBuilder.elementType(elementType.let(ParameterValueType::unwrap)) + cdkBuilder.elementType(elementType.let(ParameterValueType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ParameterOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ParameterOptions.kt index f899beddf0..9b26f69e60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ParameterOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/ParameterOptions.kt @@ -161,7 +161,7 @@ public interface ParameterOptions { * @param tier The tier of the string parameter. */ override fun tier(tier: ParameterTier) { - cdkBuilder.tier(tier.let(ParameterTier::unwrap)) + cdkBuilder.tier(tier.let(ParameterTier.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssm.ParameterOptions = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/SecureStringParameterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/SecureStringParameterAttributes.kt index bc173d8b00..b468577eb9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/SecureStringParameterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/SecureStringParameterAttributes.kt @@ -106,7 +106,7 @@ public interface SecureStringParameterAttributes : CommonStringParameterAttribut * @param encryptionKey The encryption key that is used to encrypt this parameter. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameter.kt index 99e9c8189b..cb9e667138 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameter.kt @@ -34,8 +34,8 @@ public open class StringListParameter( id: String, props: StringListParameterProps, ) : - this(software.amazon.awscdk.services.ssm.StringListParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StringListParameterProps::unwrap)) + this(software.amazon.awscdk.services.ssm.StringListParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StringListParameterProps.Companion::unwrap)) ) public constructor( @@ -59,7 +59,7 @@ public open class StringListParameter( * @param grantee */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants write (PutParameter) permissions on the SSM Parameter. @@ -67,7 +67,7 @@ public open class StringListParameter( * @param grantee */ public override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the SSM Parameter resource. @@ -265,7 +265,7 @@ public open class StringListParameter( * @param tier The tier of the string parameter. */ override fun tier(tier: ParameterTier) { - cdkBuilder.tier(tier.let(ParameterTier::unwrap)) + cdkBuilder.tier(tier.let(ParameterTier.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssm.StringListParameter = cdkBuilder.build() @@ -277,8 +277,8 @@ public open class StringListParameter( id: String, attrs: ListParameterAttributes, ): IStringListParameter = - software.amazon.awscdk.services.ssm.StringListParameter.fromListParameterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(ListParameterAttributes::unwrap)).let(IStringListParameter::wrap) + software.amazon.awscdk.services.ssm.StringListParameter.fromListParameterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(ListParameterAttributes.Companion::unwrap)).let(IStringListParameter::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("fc836518e1f7fbb91648bb3769bf2dea12bec5f330ace7c70ee50a8a23d820f6") @@ -293,12 +293,12 @@ public open class StringListParameter( id: String, stringListParameterName: String, ): IStringListParameter = - software.amazon.awscdk.services.ssm.StringListParameter.fromStringListParameterName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringListParameter.fromStringListParameterName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, stringListParameterName).let(IStringListParameter::wrap) public fun valueForTypedListParameter(scope: CloudshiftdevConstructsConstruct, parameterName: String): List = - software.amazon.awscdk.services.ssm.StringListParameter.valueForTypedListParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringListParameter.valueForTypedListParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName) public fun valueForTypedListParameter( @@ -306,8 +306,8 @@ public open class StringListParameter( parameterName: String, type: ParameterValueType, ): List = - software.amazon.awscdk.services.ssm.StringListParameter.valueForTypedListParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - parameterName, type.let(ParameterValueType::unwrap)) + software.amazon.awscdk.services.ssm.StringListParameter.valueForTypedListParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + parameterName, type.let(ParameterValueType.Companion::unwrap)) public fun valueForTypedListParameter( scope: CloudshiftdevConstructsConstruct, @@ -315,8 +315,8 @@ public open class StringListParameter( type: ParameterValueType, version: Number, ): List = - software.amazon.awscdk.services.ssm.StringListParameter.valueForTypedListParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - parameterName, type.let(ParameterValueType::unwrap), version) + software.amazon.awscdk.services.ssm.StringListParameter.valueForTypedListParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + parameterName, type.let(ParameterValueType.Companion::unwrap), version) public operator fun invoke( scope: CloudshiftdevConstructsConstruct, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameterProps.kt index f68d8d24a3..494623cacd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringListParameterProps.kt @@ -156,7 +156,7 @@ public interface StringListParameterProps : ParameterOptions { * @param tier The tier of the string parameter. */ override fun tier(tier: ParameterTier) { - cdkBuilder.tier(tier.let(ParameterTier::unwrap)) + cdkBuilder.tier(tier.let(ParameterTier.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssm.StringListParameterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameter.kt index 287e1773ca..63e3bc8f1a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameter.kt @@ -36,8 +36,8 @@ public open class StringParameter( id: String, props: StringParameterProps, ) : - this(software.amazon.awscdk.services.ssm.StringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StringParameterProps::unwrap)) + this(software.amazon.awscdk.services.ssm.StringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StringParameterProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class StringParameter( * @param grantee */ public override fun grantRead(grantee: IGrantable): Grant = - unwrap(this).grantRead(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grants write (PutParameter) permissions on the SSM Parameter. @@ -69,7 +69,7 @@ public open class StringParameter( * @param grantee */ public override fun grantWrite(grantee: IGrantable): Grant = - unwrap(this).grantWrite(grantee.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantWrite(grantee.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * The ARN of the SSM Parameter resource. @@ -214,7 +214,7 @@ public open class StringParameter( * @param dataType The data type of the parameter, such as `text` or `aws:ec2:image`. */ override fun dataType(dataType: ParameterDataType) { - cdkBuilder.dataType(dataType.let(ParameterDataType::unwrap)) + cdkBuilder.dataType(dataType.let(ParameterDataType.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public open class StringParameter( * @param tier The tier of the string parameter. */ override fun tier(tier: ParameterTier) { - cdkBuilder.tier(tier.let(ParameterTier::unwrap)) + cdkBuilder.tier(tier.let(ParameterTier.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class StringParameter( */ @Deprecated(message = "deprecated in CDK") override fun type(type: ParameterType) { - cdkBuilder.type(type.let(ParameterType::unwrap)) + cdkBuilder.type(type.let(ParameterType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssm.StringParameter = cdkBuilder.build() @@ -303,8 +303,9 @@ public open class StringParameter( id: String, attrs: SecureStringParameterAttributes, ): IStringParameter = - software.amazon.awscdk.services.ssm.StringParameter.fromSecureStringParameterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(SecureStringParameterAttributes::unwrap)).let(IStringParameter::wrap) + software.amazon.awscdk.services.ssm.StringParameter.fromSecureStringParameterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, + attrs.let(SecureStringParameterAttributes.Companion::unwrap)).let(IStringParameter::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("64b1b55fdfa5b42ba90555680348f37a5f7eb9a70ce7485030f807e3bdaace4a") @@ -320,8 +321,8 @@ public open class StringParameter( id: String, attrs: StringParameterAttributes, ): IStringParameter = - software.amazon.awscdk.services.ssm.StringParameter.fromStringParameterAttributes(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, attrs.let(StringParameterAttributes::unwrap)).let(IStringParameter::wrap) + software.amazon.awscdk.services.ssm.StringParameter.fromStringParameterAttributes(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, attrs.let(StringParameterAttributes.Companion::unwrap)).let(IStringParameter::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("123d9102253eb9c07606d49a45b8ce2ebe4db6917a9f117b688a1772ac6e5f30") @@ -336,7 +337,7 @@ public open class StringParameter( id: String, stringParameterName: String, ): IStringParameter = - software.amazon.awscdk.services.ssm.StringParameter.fromStringParameterName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.fromStringParameterName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, stringParameterName).let(IStringParameter::wrap) @Deprecated(message = "deprecated in CDK") @@ -345,12 +346,12 @@ public open class StringParameter( parameterName: String, version: Number, ): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForSecureStringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.valueForSecureStringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName, version) public fun valueForStringParameter(scope: CloudshiftdevConstructsConstruct, parameterName: String): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForStringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.valueForStringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName) public fun valueForStringParameter( @@ -358,13 +359,13 @@ public open class StringParameter( parameterName: String, version: Number, ): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForStringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.valueForStringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName, version) @Deprecated(message = "deprecated in CDK") public fun valueForTypedStringParameter(scope: CloudshiftdevConstructsConstruct, parameterName: String): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName) @Deprecated(message = "deprecated in CDK") @@ -373,8 +374,8 @@ public open class StringParameter( parameterName: String, type: ParameterType, ): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - parameterName, type.let(ParameterType::unwrap)) + software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + parameterName, type.let(ParameterType.Companion::unwrap)) @Deprecated(message = "deprecated in CDK") public fun valueForTypedStringParameter( @@ -383,12 +384,12 @@ public open class StringParameter( type: ParameterType, version: Number, ): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameter(scope.let(CloudshiftdevConstructsConstruct::unwrap), - parameterName, type.let(ParameterType::unwrap), version) + software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameter(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + parameterName, type.let(ParameterType.Companion::unwrap), version) public fun valueForTypedStringParameterV2(scope: CloudshiftdevConstructsConstruct, parameterName: String): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameterV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameterV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName) public fun valueForTypedStringParameterV2( @@ -396,8 +397,8 @@ public open class StringParameter( parameterName: String, type: ParameterValueType, ): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameterV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - parameterName, type.let(ParameterValueType::unwrap)) + software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameterV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + parameterName, type.let(ParameterValueType.Companion::unwrap)) public fun valueForTypedStringParameterV2( scope: CloudshiftdevConstructsConstruct, @@ -405,12 +406,12 @@ public open class StringParameter( type: ParameterValueType, version: Number, ): String = - software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameterV2(scope.let(CloudshiftdevConstructsConstruct::unwrap), - parameterName, type.let(ParameterValueType::unwrap), version) + software.amazon.awscdk.services.ssm.StringParameter.valueForTypedStringParameterV2(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + parameterName, type.let(ParameterValueType.Companion::unwrap), version) public fun valueFromLookup(scope: CloudshiftdevConstructsConstruct, parameterName: String): String = - software.amazon.awscdk.services.ssm.StringParameter.valueFromLookup(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.ssm.StringParameter.valueFromLookup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), parameterName) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterAttributes.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterAttributes.kt index f5385f8a37..1824f174df 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterAttributes.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterAttributes.kt @@ -197,7 +197,7 @@ public interface StringParameterAttributes : CommonStringParameterAttributes { */ @Deprecated(message = "deprecated in CDK") override fun type(type: ParameterType) { - cdkBuilder.type(type.let(ParameterType::unwrap)) + cdkBuilder.type(type.let(ParameterType.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface StringParameterAttributes : CommonStringParameterAttributes { * ParameterValueType.STRING */ override fun valueType(valueType: ParameterValueType) { - cdkBuilder.valueType(valueType.let(ParameterValueType::unwrap)) + cdkBuilder.valueType(valueType.let(ParameterValueType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterProps.kt index 2fa6e35d6a..245bd7687c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssm/StringParameterProps.kt @@ -136,7 +136,7 @@ public interface StringParameterProps : ParameterOptions { * @param dataType The data type of the parameter, such as `text` or `aws:ec2:image`. */ override fun dataType(dataType: ParameterDataType) { - cdkBuilder.dataType(dataType.let(ParameterDataType::unwrap)) + cdkBuilder.dataType(dataType.let(ParameterDataType.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public interface StringParameterProps : ParameterOptions { * @param tier The tier of the string parameter. */ override fun tier(tier: ParameterTier) { - cdkBuilder.tier(tier.let(ParameterTier::unwrap)) + cdkBuilder.tier(tier.let(ParameterTier.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface StringParameterProps : ParameterOptions { */ @Deprecated(message = "deprecated in CDK") override fun type(type: ParameterType) { - cdkBuilder.type(type.let(ParameterType::unwrap)) + cdkBuilder.type(type.let(ParameterType.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssm.StringParameterProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContact.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContact.kt index 8457e4cbdb..ba239a4aa6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContact.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContact.kt @@ -63,8 +63,8 @@ public open class CfnContact( id: String, props: CfnContactProps, ) : - this(software.amazon.awscdk.services.ssmcontacts.CfnContact(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContactProps::unwrap)) + this(software.amazon.awscdk.services.ssmcontacts.CfnContact(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContactProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnContact( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnContact( * A list of stages. */ public open fun plan(`value`: IResolvable) { - unwrap(this).setPlan(`value`.let(IResolvable::unwrap)) + unwrap(this).setPlan(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnContact( * @param plan A list of stages. */ override fun plan(plan: IResolvable) { - cdkBuilder.plan(plan.let(IResolvable::unwrap)) + cdkBuilder.plan(plan.let(IResolvable.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public open class CfnContact( * progress of stages in the plan. */ override fun isEssential(isEssential: IResolvable) { - cdkBuilder.isEssential(isEssential.let(IResolvable::unwrap)) + cdkBuilder.isEssential(isEssential.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -681,7 +681,7 @@ public open class CfnContact( * is engaging. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -837,7 +837,7 @@ public open class CfnContact( * engages. */ override fun channelTargetInfo(channelTargetInfo: IResolvable) { - cdkBuilder.channelTargetInfo(channelTargetInfo.let(IResolvable::unwrap)) + cdkBuilder.channelTargetInfo(channelTargetInfo.let(IResolvable.Companion::unwrap)) } /** @@ -845,7 +845,7 @@ public open class CfnContact( * engages. */ override fun channelTargetInfo(channelTargetInfo: ChannelTargetInfoProperty) { - cdkBuilder.channelTargetInfo(channelTargetInfo.let(ChannelTargetInfoProperty::unwrap)) + cdkBuilder.channelTargetInfo(channelTargetInfo.let(ChannelTargetInfoProperty.Companion::unwrap)) } /** @@ -862,14 +862,14 @@ public open class CfnContact( * @param contactTargetInfo The contact that Incident Manager is engaging during an incident. */ override fun contactTargetInfo(contactTargetInfo: IResolvable) { - cdkBuilder.contactTargetInfo(contactTargetInfo.let(IResolvable::unwrap)) + cdkBuilder.contactTargetInfo(contactTargetInfo.let(IResolvable.Companion::unwrap)) } /** * @param contactTargetInfo The contact that Incident Manager is engaging during an incident. */ override fun contactTargetInfo(contactTargetInfo: ContactTargetInfoProperty) { - cdkBuilder.contactTargetInfo(contactTargetInfo.let(ContactTargetInfoProperty::unwrap)) + cdkBuilder.contactTargetInfo(contactTargetInfo.let(ContactTargetInfoProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannel.kt index 541c6e53d7..a2f11cd3fc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannel.kt @@ -45,8 +45,8 @@ public open class CfnContactChannel( id: String, props: CfnContactChannelProps, ) : - this(software.amazon.awscdk.services.ssmcontacts.CfnContactChannel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnContactChannelProps::unwrap)) + this(software.amazon.awscdk.services.ssmcontacts.CfnContactChannel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnContactChannelProps.Companion::unwrap)) ) public constructor( @@ -129,7 +129,7 @@ public open class CfnContactChannel( * If you want to activate the channel at a later time, you can choose to defer activation. */ public open fun deferActivation(`value`: IResolvable) { - unwrap(this).setDeferActivation(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeferActivation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnContactChannel( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class CfnContactChannel( * defer activation. */ override fun deferActivation(deferActivation: IResolvable) { - cdkBuilder.deferActivation(deferActivation.let(IResolvable::unwrap)) + cdkBuilder.deferActivation(deferActivation.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssmcontacts.CfnContactChannel = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannelProps.kt index 3495d4c5f4..a62468aa82 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactChannelProps.kt @@ -174,7 +174,7 @@ public interface CfnContactChannelProps { * Incident Manager can't engage your contact channel until it has been activated. */ override fun deferActivation(deferActivation: IResolvable) { - cdkBuilder.deferActivation(deferActivation.let(IResolvable::unwrap)) + cdkBuilder.deferActivation(deferActivation.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.ssmcontacts.CfnContactChannelProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactProps.kt index 24001eee36..a3292a7c89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnContactProps.kt @@ -149,7 +149,7 @@ public interface CfnContactProps { * escalation plan uses stages that contact specified contacts. */ override fun plan(plan: IResolvable) { - cdkBuilder.plan(plan.let(IResolvable::unwrap)) + cdkBuilder.plan(plan.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlan.kt index 6f3c0c91c1..943a7682be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlan.kt @@ -60,8 +60,8 @@ public open class CfnPlan( id: String, props: CfnPlanProps, ) : - this(software.amazon.awscdk.services.ssmcontacts.CfnPlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPlanProps::unwrap)) + this(software.amazon.awscdk.services.ssmcontacts.CfnPlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPlanProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnPlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -125,7 +125,7 @@ public open class CfnPlan( * contact methods. */ public open fun stages(`value`: IResolvable) { - unwrap(this).setStages(`value`.let(IResolvable::unwrap)) + unwrap(this).setStages(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public open class CfnPlan( * contacts and contact methods. */ override fun stages(stages: IResolvable) { - cdkBuilder.stages(stages.let(IResolvable::unwrap)) + cdkBuilder.stages(stages.let(IResolvable.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public open class CfnPlan( * progress of stages in the plan. */ override fun isEssential(isEssential: IResolvable) { - cdkBuilder.isEssential(isEssential.let(IResolvable::unwrap)) + cdkBuilder.isEssential(isEssential.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -629,7 +629,7 @@ public open class CfnPlan( * is engaging. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -777,7 +777,7 @@ public open class CfnPlan( * engages. */ override fun channelTargetInfo(channelTargetInfo: IResolvable) { - cdkBuilder.channelTargetInfo(channelTargetInfo.let(IResolvable::unwrap)) + cdkBuilder.channelTargetInfo(channelTargetInfo.let(IResolvable.Companion::unwrap)) } /** @@ -785,7 +785,7 @@ public open class CfnPlan( * engages. */ override fun channelTargetInfo(channelTargetInfo: ChannelTargetInfoProperty) { - cdkBuilder.channelTargetInfo(channelTargetInfo.let(ChannelTargetInfoProperty::unwrap)) + cdkBuilder.channelTargetInfo(channelTargetInfo.let(ChannelTargetInfoProperty.Companion::unwrap)) } /** @@ -802,14 +802,14 @@ public open class CfnPlan( * @param contactTargetInfo Information about the contact that Incident Manager engages. */ override fun contactTargetInfo(contactTargetInfo: IResolvable) { - cdkBuilder.contactTargetInfo(contactTargetInfo.let(IResolvable::unwrap)) + cdkBuilder.contactTargetInfo(contactTargetInfo.let(IResolvable.Companion::unwrap)) } /** * @param contactTargetInfo Information about the contact that Incident Manager engages. */ override fun contactTargetInfo(contactTargetInfo: ContactTargetInfoProperty) { - cdkBuilder.contactTargetInfo(contactTargetInfo.let(ContactTargetInfoProperty::unwrap)) + cdkBuilder.contactTargetInfo(contactTargetInfo.let(ContactTargetInfoProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlanProps.kt index 9ed9e43e13..4eb7187ba0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnPlanProps.kt @@ -137,7 +137,7 @@ public interface CfnPlanProps { * contacts and contact methods. */ override fun stages(stages: IResolvable) { - cdkBuilder.stages(stages.let(IResolvable::unwrap)) + cdkBuilder.stages(stages.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotation.kt index c93f45f1cb..ad59d5e7d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotation.kt @@ -74,8 +74,8 @@ public open class CfnRotation( id: String, props: CfnRotationProps, ) : - this(software.amazon.awscdk.services.ssmcontacts.CfnRotation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRotationProps::unwrap)) + this(software.amazon.awscdk.services.ssmcontacts.CfnRotation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRotationProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnRotation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,14 +137,14 @@ public open class CfnRotation( * Information about the rule that specifies when shift team members rotate. */ public open fun recurrence(`value`: IResolvable) { - unwrap(this).setRecurrence(`value`.let(IResolvable::unwrap)) + unwrap(this).setRecurrence(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about the rule that specifies when shift team members rotate. */ public open fun recurrence(`value`: RecurrenceSettingsProperty) { - unwrap(this).setRecurrence(`value`.let(RecurrenceSettingsProperty::unwrap)) + unwrap(this).setRecurrence(`value`.let(RecurrenceSettingsProperty.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnRotation( * Optional metadata to assign to the rotation. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class CfnRotation( * @param recurrence Information about the rule that specifies when shift team members rotate. */ override fun recurrence(recurrence: IResolvable) { - cdkBuilder.recurrence(recurrence.let(IResolvable::unwrap)) + cdkBuilder.recurrence(recurrence.let(IResolvable.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class CfnRotation( * @param recurrence Information about the rule that specifies when shift team members rotate. */ override fun recurrence(recurrence: RecurrenceSettingsProperty) { - cdkBuilder.recurrence(recurrence.let(RecurrenceSettingsProperty::unwrap)) + cdkBuilder.recurrence(recurrence.let(RecurrenceSettingsProperty.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CfnRotation( * @param tags Optional metadata to assign to the rotation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -887,7 +887,7 @@ public open class CfnRotation( * @param monthlySettings Information about on-call rotations that recur monthly. */ override fun monthlySettings(monthlySettings: IResolvable) { - cdkBuilder.monthlySettings(monthlySettings.let(IResolvable::unwrap)) + cdkBuilder.monthlySettings(monthlySettings.let(IResolvable.Companion::unwrap)) } /** @@ -925,7 +925,7 @@ public open class CfnRotation( * coverage. */ override fun shiftCoverages(shiftCoverages: IResolvable) { - cdkBuilder.shiftCoverages(shiftCoverages.let(IResolvable::unwrap)) + cdkBuilder.shiftCoverages(shiftCoverages.let(IResolvable.Companion::unwrap)) } /** @@ -947,7 +947,7 @@ public open class CfnRotation( * @param weeklySettings Information about on-call rotations that recur weekly. */ override fun weeklySettings(weeklySettings: IResolvable) { - cdkBuilder.weeklySettings(weeklySettings.let(IResolvable::unwrap)) + cdkBuilder.weeklySettings(weeklySettings.let(IResolvable.Companion::unwrap)) } /** @@ -1106,7 +1106,7 @@ public open class CfnRotation( * @param coverageTimes The start and end times of the shift. */ override fun coverageTimes(coverageTimes: IResolvable) { - cdkBuilder.coverageTimes(coverageTimes.let(IResolvable::unwrap)) + cdkBuilder.coverageTimes(coverageTimes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotationProps.kt index bd47c623dc..d68e6e9ede 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmcontacts/CfnRotationProps.kt @@ -247,14 +247,14 @@ public interface CfnRotationProps { * @param recurrence Information about the rule that specifies when shift team members rotate. */ override fun recurrence(recurrence: IResolvable) { - cdkBuilder.recurrence(recurrence.let(IResolvable::unwrap)) + cdkBuilder.recurrence(recurrence.let(IResolvable.Companion::unwrap)) } /** * @param recurrence Information about the rule that specifies when shift team members rotate. */ override fun recurrence(recurrence: CfnRotation.RecurrenceSettingsProperty) { - cdkBuilder.recurrence(recurrence.let(CfnRotation.RecurrenceSettingsProperty::unwrap)) + cdkBuilder.recurrence(recurrence.let(CfnRotation.RecurrenceSettingsProperty.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public interface CfnRotationProps { * *Incident Manager User Guide* . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSet.kt index b32430da78..2ad74bc1e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSet.kt @@ -59,8 +59,8 @@ public open class CfnReplicationSet( id: String, props: CfnReplicationSetProps, ) : - this(software.amazon.awscdk.services.ssmincidents.CfnReplicationSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnReplicationSetProps::unwrap)) + this(software.amazon.awscdk.services.ssmincidents.CfnReplicationSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnReplicationSetProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnReplicationSet( * Determines if the replication set deletion protection is enabled or not. */ public open fun deletionProtected(`value`: IResolvable) { - unwrap(this).setDeletionProtected(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeletionProtected(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnReplicationSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnReplicationSet( * Specifies the Regions of the replication set. */ public open fun regions(`value`: IResolvable) { - unwrap(this).setRegions(`value`.let(IResolvable::unwrap)) + unwrap(this).setRegions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnReplicationSet( * A list of tags to add to the replication set. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public open class CfnReplicationSet( * not. */ override fun deletionProtected(deletionProtected: IResolvable) { - cdkBuilder.deletionProtected(deletionProtected.let(IResolvable::unwrap)) + cdkBuilder.deletionProtected(deletionProtected.let(IResolvable.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnReplicationSet( * @param regions Specifies the Regions of the replication set. */ override fun regions(regions: IResolvable) { - cdkBuilder.regions(regions.let(IResolvable::unwrap)) + cdkBuilder.regions(regions.let(IResolvable.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnReplicationSet( * @param tags A list of tags to add to the replication set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -481,14 +481,14 @@ public open class CfnReplicationSet( * @param regionConfiguration Specifies the Region configuration. */ override fun regionConfiguration(regionConfiguration: IResolvable) { - cdkBuilder.regionConfiguration(regionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.regionConfiguration(regionConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param regionConfiguration Specifies the Region configuration. */ override fun regionConfiguration(regionConfiguration: RegionConfigurationProperty) { - cdkBuilder.regionConfiguration(regionConfiguration.let(RegionConfigurationProperty::unwrap)) + cdkBuilder.regionConfiguration(regionConfiguration.let(RegionConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSetProps.kt index 949d4f1f56..dc86a77444 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnReplicationSetProps.kt @@ -128,14 +128,14 @@ public interface CfnReplicationSetProps { * If deletion protection is enabled, you can't delete the last Region in the replication set. */ override fun deletionProtected(deletionProtected: IResolvable) { - cdkBuilder.deletionProtected(deletionProtected.let(IResolvable::unwrap)) + cdkBuilder.deletionProtected(deletionProtected.let(IResolvable.Companion::unwrap)) } /** * @param regions Specifies the Regions of the replication set. */ override fun regions(regions: IResolvable) { - cdkBuilder.regions(regions.let(IResolvable::unwrap)) + cdkBuilder.regions(regions.let(IResolvable.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public interface CfnReplicationSetProps { * @param tags A list of tags to add to the replication set. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlan.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlan.kt index c75aa489d5..0563cc9f27 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlan.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlan.kt @@ -98,8 +98,8 @@ public open class CfnResponsePlan( id: String, props: CfnResponsePlanProps, ) : - this(software.amazon.awscdk.services.ssmincidents.CfnResponsePlan(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResponsePlanProps::unwrap)) + this(software.amazon.awscdk.services.ssmincidents.CfnResponsePlan(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResponsePlanProps.Companion::unwrap)) ) public constructor( @@ -118,7 +118,7 @@ public open class CfnResponsePlan( * The actions that the response plan starts at the beginning of an incident. */ public open fun actions(`value`: IResolvable) { - unwrap(this).setActions(`value`.let(IResolvable::unwrap)) + unwrap(this).setActions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,14 +147,14 @@ public open class CfnResponsePlan( * The AWS Chatbot chat channel used for collaboration during an incident. */ public open fun chatChannel(`value`: IResolvable) { - unwrap(this).setChatChannel(`value`.let(IResolvable::unwrap)) + unwrap(this).setChatChannel(`value`.let(IResolvable.Companion::unwrap)) } /** * The AWS Chatbot chat channel used for collaboration during an incident. */ public open fun chatChannel(`value`: ChatChannelProperty) { - unwrap(this).setChatChannel(`value`.let(ChatChannelProperty::unwrap)) + unwrap(this).setChatChannel(`value`.let(ChatChannelProperty.Companion::unwrap)) } /** @@ -206,14 +206,14 @@ public open class CfnResponsePlan( * Details used to create an incident when using this response plan. */ public open fun incidentTemplate(`value`: IResolvable) { - unwrap(this).setIncidentTemplate(`value`.let(IResolvable::unwrap)) + unwrap(this).setIncidentTemplate(`value`.let(IResolvable.Companion::unwrap)) } /** * Details used to create an incident when using this response plan. */ public open fun incidentTemplate(`value`: IncidentTemplateProperty) { - unwrap(this).setIncidentTemplate(`value`.let(IncidentTemplateProperty::unwrap)) + unwrap(this).setIncidentTemplate(`value`.let(IncidentTemplateProperty.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public open class CfnResponsePlan( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnResponsePlan( * Information about third-party services integrated into the response plan. */ public open fun integrations(`value`: IResolvable) { - unwrap(this).setIntegrations(`value`.let(IResolvable::unwrap)) + unwrap(this).setIntegrations(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public open class CfnResponsePlan( * An array of key-value pairs to apply to this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class CfnResponsePlan( * @param actions The actions that the response plan starts at the beginning of an incident. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class CfnResponsePlan( * @param chatChannel The AWS Chatbot chat channel used for collaboration during an incident. */ override fun chatChannel(chatChannel: IResolvable) { - cdkBuilder.chatChannel(chatChannel.let(IResolvable::unwrap)) + cdkBuilder.chatChannel(chatChannel.let(IResolvable.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class CfnResponsePlan( * @param chatChannel The AWS Chatbot chat channel used for collaboration during an incident. */ override fun chatChannel(chatChannel: ChatChannelProperty) { - cdkBuilder.chatChannel(chatChannel.let(ChatChannelProperty::unwrap)) + cdkBuilder.chatChannel(chatChannel.let(ChatChannelProperty.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnResponsePlan( * @param incidentTemplate Details used to create an incident when using this response plan. */ override fun incidentTemplate(incidentTemplate: IResolvable) { - cdkBuilder.incidentTemplate(incidentTemplate.let(IResolvable::unwrap)) + cdkBuilder.incidentTemplate(incidentTemplate.let(IResolvable.Companion::unwrap)) } /** @@ -576,7 +576,7 @@ public open class CfnResponsePlan( * @param incidentTemplate Details used to create an incident when using this response plan. */ override fun incidentTemplate(incidentTemplate: IncidentTemplateProperty) { - cdkBuilder.incidentTemplate(incidentTemplate.let(IncidentTemplateProperty::unwrap)) + cdkBuilder.incidentTemplate(incidentTemplate.let(IncidentTemplateProperty.Companion::unwrap)) } /** @@ -598,7 +598,7 @@ public open class CfnResponsePlan( * */ override fun integrations(integrations: IResolvable) { - cdkBuilder.integrations(integrations.let(IResolvable::unwrap)) + cdkBuilder.integrations(integrations.let(IResolvable.Companion::unwrap)) } /** @@ -642,7 +642,7 @@ public open class CfnResponsePlan( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public open class CfnResponsePlan( * used as a runbook during an incident. */ override fun ssmAutomation(ssmAutomation: IResolvable) { - cdkBuilder.ssmAutomation(ssmAutomation.let(IResolvable::unwrap)) + cdkBuilder.ssmAutomation(ssmAutomation.let(IResolvable.Companion::unwrap)) } /** @@ -767,7 +767,7 @@ public open class CfnResponsePlan( * used as a runbook during an incident. */ override fun ssmAutomation(ssmAutomation: SsmAutomationProperty) { - cdkBuilder.ssmAutomation(ssmAutomation.let(SsmAutomationProperty::unwrap)) + cdkBuilder.ssmAutomation(ssmAutomation.let(SsmAutomationProperty.Companion::unwrap)) } /** @@ -1030,14 +1030,14 @@ public open class CfnResponsePlan( * @param value The dynamic parameter value. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The dynamic parameter value. */ override fun `value`(`value`: DynamicSsmParameterValueProperty) { - cdkBuilder.`value`(`value`.let(DynamicSsmParameterValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(DynamicSsmParameterValueProperty.Companion::unwrap)) } /** @@ -1381,7 +1381,7 @@ public open class CfnResponsePlan( * in the template to the incident. */ override fun incidentTags(incidentTags: IResolvable) { - cdkBuilder.incidentTags(incidentTags.let(IResolvable::unwrap)) + cdkBuilder.incidentTags(incidentTags.let(IResolvable.Companion::unwrap)) } /** @@ -1408,7 +1408,7 @@ public open class CfnResponsePlan( * topics. */ override fun notificationTargets(notificationTargets: IResolvable) { - cdkBuilder.notificationTargets(notificationTargets.let(IResolvable::unwrap)) + cdkBuilder.notificationTargets(notificationTargets.let(IResolvable.Companion::unwrap)) } /** @@ -1597,7 +1597,7 @@ public open class CfnResponsePlan( * plan creates an incident. */ override fun pagerDutyConfiguration(pagerDutyConfiguration: IResolvable) { - cdkBuilder.pagerDutyConfiguration(pagerDutyConfiguration.let(IResolvable::unwrap)) + cdkBuilder.pagerDutyConfiguration(pagerDutyConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1605,7 +1605,7 @@ public open class CfnResponsePlan( * plan creates an incident. */ override fun pagerDutyConfiguration(pagerDutyConfiguration: PagerDutyConfigurationProperty) { - cdkBuilder.pagerDutyConfiguration(pagerDutyConfiguration.let(PagerDutyConfigurationProperty::unwrap)) + cdkBuilder.pagerDutyConfiguration(pagerDutyConfiguration.let(PagerDutyConfigurationProperty.Companion::unwrap)) } /** @@ -1836,7 +1836,7 @@ public open class CfnResponsePlan( * the configuration. */ override fun pagerDutyIncidentConfiguration(pagerDutyIncidentConfiguration: IResolvable) { - cdkBuilder.pagerDutyIncidentConfiguration(pagerDutyIncidentConfiguration.let(IResolvable::unwrap)) + cdkBuilder.pagerDutyIncidentConfiguration(pagerDutyIncidentConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -1845,7 +1845,7 @@ public open class CfnResponsePlan( */ override fun pagerDutyIncidentConfiguration(pagerDutyIncidentConfiguration: PagerDutyIncidentConfigurationProperty) { - cdkBuilder.pagerDutyIncidentConfiguration(pagerDutyIncidentConfiguration.let(PagerDutyIncidentConfigurationProperty::unwrap)) + cdkBuilder.pagerDutyIncidentConfiguration(pagerDutyIncidentConfiguration.let(PagerDutyIncidentConfigurationProperty.Companion::unwrap)) } /** @@ -2169,7 +2169,7 @@ public open class CfnResponsePlan( * processing a Systems Manager Automation runbook. */ override fun dynamicParameters(dynamicParameters: IResolvable) { - cdkBuilder.dynamicParameters(dynamicParameters.let(IResolvable::unwrap)) + cdkBuilder.dynamicParameters(dynamicParameters.let(IResolvable.Companion::unwrap)) } /** @@ -2191,7 +2191,7 @@ public open class CfnResponsePlan( * @param parameters The key-value pair parameters to use when running the runbook. */ override fun parameters(parameters: IResolvable) { - cdkBuilder.parameters(parameters.let(IResolvable::unwrap)) + cdkBuilder.parameters(parameters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlanProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlanProps.kt index 933f16d9bb..e730baf644 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlanProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ssmincidents/CfnResponsePlanProps.kt @@ -261,7 +261,7 @@ public interface CfnResponsePlanProps { * @param actions The actions that the response plan starts at the beginning of an incident. */ override fun actions(actions: IResolvable) { - cdkBuilder.actions(actions.let(IResolvable::unwrap)) + cdkBuilder.actions(actions.let(IResolvable.Companion::unwrap)) } /** @@ -280,14 +280,14 @@ public interface CfnResponsePlanProps { * @param chatChannel The AWS Chatbot chat channel used for collaboration during an incident. */ override fun chatChannel(chatChannel: IResolvable) { - cdkBuilder.chatChannel(chatChannel.let(IResolvable::unwrap)) + cdkBuilder.chatChannel(chatChannel.let(IResolvable.Companion::unwrap)) } /** * @param chatChannel The AWS Chatbot chat channel used for collaboration during an incident. */ override fun chatChannel(chatChannel: CfnResponsePlan.ChatChannelProperty) { - cdkBuilder.chatChannel(chatChannel.let(CfnResponsePlan.ChatChannelProperty::unwrap)) + cdkBuilder.chatChannel(chatChannel.let(CfnResponsePlan.ChatChannelProperty.Companion::unwrap)) } /** @@ -323,14 +323,14 @@ public interface CfnResponsePlanProps { * @param incidentTemplate Details used to create an incident when using this response plan. */ override fun incidentTemplate(incidentTemplate: IResolvable) { - cdkBuilder.incidentTemplate(incidentTemplate.let(IResolvable::unwrap)) + cdkBuilder.incidentTemplate(incidentTemplate.let(IResolvable.Companion::unwrap)) } /** * @param incidentTemplate Details used to create an incident when using this response plan. */ override fun incidentTemplate(incidentTemplate: CfnResponsePlan.IncidentTemplateProperty) { - cdkBuilder.incidentTemplate(incidentTemplate.let(CfnResponsePlan.IncidentTemplateProperty::unwrap)) + cdkBuilder.incidentTemplate(incidentTemplate.let(CfnResponsePlan.IncidentTemplateProperty.Companion::unwrap)) } /** @@ -346,7 +346,7 @@ public interface CfnResponsePlanProps { * @param integrations Information about third-party services integrated into the response plan. */ override fun integrations(integrations: IResolvable) { - cdkBuilder.integrations(integrations.let(IResolvable::unwrap)) + cdkBuilder.integrations(integrations.let(IResolvable.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public interface CfnResponsePlanProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnAssignment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnAssignment.kt index a75b099d7c..d6da4e8a79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnAssignment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnAssignment.kt @@ -44,8 +44,8 @@ public open class CfnAssignment( id: String, props: CfnAssignmentProps, ) : - this(software.amazon.awscdk.services.sso.CfnAssignment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssignmentProps::unwrap)) + this(software.amazon.awscdk.services.sso.CfnAssignment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssignmentProps.Companion::unwrap)) ) public constructor( @@ -61,7 +61,7 @@ public open class CfnAssignment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfiguration.kt index 87ed38a85c..29b9d72a1d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfiguration.kt @@ -71,8 +71,8 @@ public open class CfnInstanceAccessControlAttributeConfiguration( id: String, props: CfnInstanceAccessControlAttributeConfigurationProps, ) : - this(software.amazon.awscdk.services.sso.CfnInstanceAccessControlAttributeConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInstanceAccessControlAttributeConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.sso.CfnInstanceAccessControlAttributeConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInstanceAccessControlAttributeConfigurationProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( * instance. */ public open fun accessControlAttributes(`value`: IResolvable) { - unwrap(this).setAccessControlAttributes(`value`.let(IResolvable::unwrap)) + unwrap(this).setAccessControlAttributes(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( */ @Deprecated(message = "deprecated in CDK") public open fun instanceAccessControlAttributeConfiguration(`value`: IResolvable) { - unwrap(this).setInstanceAccessControlAttributeConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setInstanceAccessControlAttributeConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( @Deprecated(message = "deprecated in CDK") public open fun instanceAccessControlAttributeConfiguration(`value`: InstanceAccessControlAttributeConfigurationProperty) { - unwrap(this).setInstanceAccessControlAttributeConfiguration(`value`.let(InstanceAccessControlAttributeConfigurationProperty::unwrap)) + unwrap(this).setInstanceAccessControlAttributeConfiguration(`value`.let(InstanceAccessControlAttributeConfigurationProperty.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( * specified IAM Identity Center instance. */ override fun accessControlAttributes(accessControlAttributes: IResolvable) { - cdkBuilder.accessControlAttributes(accessControlAttributes.let(IResolvable::unwrap)) + cdkBuilder.accessControlAttributes(accessControlAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( @Deprecated(message = "deprecated in CDK") override fun instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration: IResolvable) { - cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( @Deprecated(message = "deprecated in CDK") override fun instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfigurationProperty) { - cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(InstanceAccessControlAttributeConfigurationProperty::unwrap)) + cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(InstanceAccessControlAttributeConfigurationProperty.Companion::unwrap)) } /** @@ -510,14 +510,14 @@ public open class CfnInstanceAccessControlAttributeConfiguration( * @param value The value used for mapping a specified attribute to an identity source. */ override fun `value`(`value`: IResolvable) { - cdkBuilder.`value`(`value`.let(IResolvable::unwrap)) + cdkBuilder.`value`(`value`.let(IResolvable.Companion::unwrap)) } /** * @param value The value used for mapping a specified attribute to an identity source. */ override fun `value`(`value`: AccessControlAttributeValueProperty) { - cdkBuilder.`value`(`value`.let(AccessControlAttributeValueProperty::unwrap)) + cdkBuilder.`value`(`value`.let(AccessControlAttributeValueProperty.Companion::unwrap)) } /** @@ -733,7 +733,7 @@ public open class CfnInstanceAccessControlAttributeConfiguration( * @param accessControlAttributes the value to be set. */ override fun accessControlAttributes(accessControlAttributes: IResolvable) { - cdkBuilder.accessControlAttributes(accessControlAttributes.let(IResolvable::unwrap)) + cdkBuilder.accessControlAttributes(accessControlAttributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfigurationProps.kt index d2a4f91e05..720a884c5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnInstanceAccessControlAttributeConfigurationProps.kt @@ -151,7 +151,7 @@ public interface CfnInstanceAccessControlAttributeConfigurationProps { * specified IAM Identity Center instance. */ override fun accessControlAttributes(accessControlAttributes: IResolvable) { - cdkBuilder.accessControlAttributes(accessControlAttributes.let(IResolvable::unwrap)) + cdkBuilder.accessControlAttributes(accessControlAttributes.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public interface CfnInstanceAccessControlAttributeConfigurationProps { @Deprecated(message = "deprecated in CDK") override fun instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration: IResolvable) { - cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(IResolvable::unwrap)) + cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface CfnInstanceAccessControlAttributeConfigurationProps { @Deprecated(message = "deprecated in CDK") override fun instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration: CfnInstanceAccessControlAttributeConfiguration.InstanceAccessControlAttributeConfigurationProperty) { - cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(CfnInstanceAccessControlAttributeConfiguration.InstanceAccessControlAttributeConfigurationProperty::unwrap)) + cdkBuilder.instanceAccessControlAttributeConfiguration(instanceAccessControlAttributeConfiguration.let(CfnInstanceAccessControlAttributeConfiguration.InstanceAccessControlAttributeConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSet.kt index dfd1213de7..7fb20035cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSet.kt @@ -69,8 +69,8 @@ public open class CfnPermissionSet( id: String, props: CfnPermissionSetProps, ) : - this(software.amazon.awscdk.services.sso.CfnPermissionSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPermissionSetProps::unwrap)) + this(software.amazon.awscdk.services.sso.CfnPermissionSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPermissionSetProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnPermissionSet( * permission set. */ public open fun customerManagedPolicyReferences(`value`: IResolvable) { - unwrap(this).setCustomerManagedPolicyReferences(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomerManagedPolicyReferences(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -146,7 +146,7 @@ public open class CfnPermissionSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnPermissionSet( * as a permissions boundary. */ public open fun permissionsBoundary(`value`: IResolvable) { - unwrap(this).setPermissionsBoundary(`value`.let(IResolvable::unwrap)) + unwrap(this).setPermissionsBoundary(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public open class CfnPermissionSet( * as a permissions boundary. */ public open fun permissionsBoundary(`value`: PermissionsBoundaryProperty) { - unwrap(this).setPermissionsBoundary(`value`.let(PermissionsBoundaryProperty::unwrap)) + unwrap(this).setPermissionsBoundary(`value`.let(PermissionsBoundaryProperty.Companion::unwrap)) } /** @@ -260,7 +260,7 @@ public open class CfnPermissionSet( * The tags to attach to the new `PermissionSet` . */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class CfnPermissionSet( * policies that you have attached to your permission set. */ override fun customerManagedPolicyReferences(customerManagedPolicyReferences: IResolvable) { - cdkBuilder.customerManagedPolicyReferences(customerManagedPolicyReferences.let(IResolvable::unwrap)) + cdkBuilder.customerManagedPolicyReferences(customerManagedPolicyReferences.let(IResolvable.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class CfnPermissionSet( * policy that you want to set as a permissions boundary. */ override fun permissionsBoundary(permissionsBoundary: IResolvable) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IResolvable::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnPermissionSet( * policy that you want to set as a permissions boundary. */ override fun permissionsBoundary(permissionsBoundary: PermissionsBoundaryProperty) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundaryProperty::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(PermissionsBoundaryProperty.Companion::unwrap)) } /** @@ -697,7 +697,7 @@ public open class CfnPermissionSet( * @param tags The tags to attach to the new `PermissionSet` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -978,7 +978,7 @@ public open class CfnPermissionSet( * want to deploy your permission set. */ override fun customerManagedPolicyReference(customerManagedPolicyReference: IResolvable) { - cdkBuilder.customerManagedPolicyReference(customerManagedPolicyReference.let(IResolvable::unwrap)) + cdkBuilder.customerManagedPolicyReference(customerManagedPolicyReference.let(IResolvable.Companion::unwrap)) } /** @@ -989,7 +989,7 @@ public open class CfnPermissionSet( */ override fun customerManagedPolicyReference(customerManagedPolicyReference: CustomerManagedPolicyReferenceProperty) { - cdkBuilder.customerManagedPolicyReference(customerManagedPolicyReference.let(CustomerManagedPolicyReferenceProperty::unwrap)) + cdkBuilder.customerManagedPolicyReference(customerManagedPolicyReference.let(CustomerManagedPolicyReferenceProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSetProps.kt index 5442220c8c..961726e2f6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/sso/CfnPermissionSetProps.kt @@ -305,7 +305,7 @@ public interface CfnPermissionSetProps { * policies that you have attached to your permission set. */ override fun customerManagedPolicyReferences(customerManagedPolicyReferences: IResolvable) { - cdkBuilder.customerManagedPolicyReferences(customerManagedPolicyReferences.let(IResolvable::unwrap)) + cdkBuilder.customerManagedPolicyReferences(customerManagedPolicyReferences.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public interface CfnPermissionSetProps { * in the *IAM User Guide* . */ override fun permissionsBoundary(permissionsBoundary: IResolvable) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(IResolvable::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(IResolvable.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface CfnPermissionSetProps { */ override fun permissionsBoundary(permissionsBoundary: CfnPermissionSet.PermissionsBoundaryProperty) { - cdkBuilder.permissionsBoundary(permissionsBoundary.let(CfnPermissionSet.PermissionsBoundaryProperty::unwrap)) + cdkBuilder.permissionsBoundary(permissionsBoundary.let(CfnPermissionSet.PermissionsBoundaryProperty.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface CfnPermissionSetProps { * @param tags The tags to attach to the new `PermissionSet` . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Activity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Activity.kt index 240031ecc0..eeceda756f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Activity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Activity.kt @@ -32,7 +32,7 @@ public open class Activity( cdkObject: software.amazon.awscdk.services.stepfunctions.Activity, ) : Resource(cdkObject), IActivity { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Activity(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Activity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -41,8 +41,8 @@ public open class Activity( id: String, props: ActivityProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Activity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ActivityProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Activity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ActivityProps.Companion::unwrap)) ) public constructor( @@ -69,8 +69,8 @@ public open class Activity( * @param actions The list of desired actions. */ public open fun grant(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(identity.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Return the given named metric for this Activity. @@ -92,7 +92,7 @@ public open class Activity( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Activity. @@ -124,7 +124,7 @@ public open class Activity( * @param props */ public open fun metricFailed(props: MetricOptions): Metric = - unwrap(this).metricFailed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity fails. @@ -156,7 +156,7 @@ public open class Activity( * @param props */ public open fun metricHeartbeatTimedOut(props: MetricOptions): Metric = - unwrap(this).metricHeartbeatTimedOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHeartbeatTimedOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times the heartbeat times out for this activity. @@ -187,7 +187,7 @@ public open class Activity( * @param props */ public open fun metricRunTime(props: MetricOptions): Metric = - unwrap(this).metricRunTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRunTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The interval, in milliseconds, between the time the activity starts and the time it closes. @@ -218,7 +218,7 @@ public open class Activity( * @param props */ public open fun metricScheduleTime(props: MetricOptions): Metric = - unwrap(this).metricScheduleTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricScheduleTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The interval, in milliseconds, for which the activity stays in the schedule state. @@ -249,7 +249,7 @@ public open class Activity( * @param props */ public open fun metricScheduled(props: MetricOptions): Metric = - unwrap(this).metricScheduled(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricScheduled(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity is scheduled. @@ -280,7 +280,7 @@ public open class Activity( * @param props */ public open fun metricStarted(props: MetricOptions): Metric = - unwrap(this).metricStarted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricStarted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity is started. @@ -311,7 +311,7 @@ public open class Activity( * @param props */ public open fun metricSucceeded(props: MetricOptions): Metric = - unwrap(this).metricSucceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSucceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity succeeds. @@ -344,7 +344,7 @@ public open class Activity( * @param props */ public open fun metricTime(props: MetricOptions): Metric = - unwrap(this).metricTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The interval, in milliseconds, between the time the activity is scheduled and the time it @@ -376,7 +376,7 @@ public open class Activity( * @param props */ public open fun metricTimedOut(props: MetricOptions): Metric = - unwrap(this).metricTimedOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTimedOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity times out. @@ -432,7 +432,7 @@ public open class Activity( id: String, activityArn: String, ): IActivity = - software.amazon.awscdk.services.stepfunctions.Activity.fromActivityArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.stepfunctions.Activity.fromActivityArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, activityArn).let(IActivity::wrap) public fun fromActivityName( @@ -440,7 +440,7 @@ public open class Activity( id: String, activityName: String, ): IActivity = - software.amazon.awscdk.services.stepfunctions.Activity.fromActivityName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.stepfunctions.Activity.fromActivityName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, activityName).let(IActivity::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivity.kt index 107731405c..c7f313014c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivity.kt @@ -56,8 +56,8 @@ public open class CfnActivity( id: String, props: CfnActivityProps, ) : - this(software.amazon.awscdk.services.stepfunctions.CfnActivity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnActivityProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.CfnActivity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnActivityProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnActivity( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -123,7 +123,7 @@ public open class CfnActivity( * The list of tags to add to a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public open class CfnActivity( * @param tags The list of tags to add to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivityProps.kt index 19235d8cb5..e9a0b3557f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnActivityProps.kt @@ -115,7 +115,7 @@ public interface CfnActivityProps { * Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnActivity.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnActivity.TagsEntryProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachine.kt index 6b437d0a79..618f277f4f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachine.kt @@ -79,8 +79,8 @@ public open class CfnStateMachine( id: String, props: CfnStateMachineProps, ) : - this(software.amazon.awscdk.services.stepfunctions.CfnStateMachine(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStateMachineProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.CfnStateMachine(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStateMachineProps.Companion::unwrap)) ) public constructor( @@ -142,14 +142,14 @@ public open class CfnStateMachine( * The name of the S3 bucket where the state machine definition is stored. */ public open fun definitionS3Location(`value`: IResolvable) { - unwrap(this).setDefinitionS3Location(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinitionS3Location(`value`.let(IResolvable.Companion::unwrap)) } /** * The name of the S3 bucket where the state machine definition is stored. */ public open fun definitionS3Location(`value`: S3LocationProperty) { - unwrap(this).setDefinitionS3Location(`value`.let(S3LocationProperty::unwrap)) + unwrap(this).setDefinitionS3Location(`value`.let(S3LocationProperty.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public open class CfnStateMachine( * machine definition. */ public open fun definitionSubstitutions(`value`: IResolvable) { - unwrap(this).setDefinitionSubstitutions(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinitionSubstitutions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnStateMachine( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -212,14 +212,14 @@ public open class CfnStateMachine( * Defines what execution history events are logged and where they are logged. */ public open fun loggingConfiguration(`value`: IResolvable) { - unwrap(this).setLoggingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines what execution history events are logged and where they are logged. */ public open fun loggingConfiguration(`value`: LoggingConfigurationProperty) { - unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty::unwrap)) + unwrap(this).setLoggingConfiguration(`value`.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnStateMachine( * The list of tags to add to a resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty::unwrap)) + unwrap(this).setTagsRaw(`value`.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -298,14 +298,14 @@ public open class CfnStateMachine( * Selects whether or not the state machine's AWS X-Ray tracing is enabled. */ public open fun tracingConfiguration(`value`: IResolvable) { - unwrap(this).setTracingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTracingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Selects whether or not the state machine's AWS X-Ray tracing is enabled. */ public open fun tracingConfiguration(`value`: TracingConfigurationProperty) { - unwrap(this).setTracingConfiguration(`value`.let(TracingConfigurationProperty::unwrap)) + unwrap(this).setTracingConfiguration(`value`.let(TracingConfigurationProperty.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public open class CfnStateMachine( * stored. */ override fun definitionS3Location(definitionS3Location: IResolvable) { - cdkBuilder.definitionS3Location(definitionS3Location.let(IResolvable::unwrap)) + cdkBuilder.definitionS3Location(definitionS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class CfnStateMachine( * stored. */ override fun definitionS3Location(definitionS3Location: S3LocationProperty) { - cdkBuilder.definitionS3Location(definitionS3Location.let(S3LocationProperty::unwrap)) + cdkBuilder.definitionS3Location(definitionS3Location.let(S3LocationProperty.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class CfnStateMachine( * placeholder variables in the state machine definition. */ override fun definitionSubstitutions(definitionSubstitutions: IResolvable) { - cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable::unwrap)) + cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable.Companion::unwrap)) } /** @@ -683,7 +683,7 @@ public open class CfnStateMachine( * are logged. */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -700,7 +700,7 @@ public open class CfnStateMachine( * are logged. */ override fun loggingConfiguration(loggingConfiguration: LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public open class CfnStateMachine( * @param tags The list of tags to add to a resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(TagsEntryProperty.Companion::unwrap)) } /** @@ -803,7 +803,7 @@ public open class CfnStateMachine( * enabled. */ override fun tracingConfiguration(tracingConfiguration: IResolvable) { - cdkBuilder.tracingConfiguration(tracingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.tracingConfiguration(tracingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -814,7 +814,7 @@ public open class CfnStateMachine( * enabled. */ override fun tracingConfiguration(tracingConfiguration: TracingConfigurationProperty) { - cdkBuilder.tracingConfiguration(tracingConfiguration.let(TracingConfigurationProperty::unwrap)) + cdkBuilder.tracingConfiguration(tracingConfiguration.let(TracingConfigurationProperty.Companion::unwrap)) } /** @@ -1033,7 +1033,7 @@ public open class CfnStateMachine( * in the AWS CloudFormation User Guide. */ override fun cloudWatchLogsLogGroup(cloudWatchLogsLogGroup: IResolvable) { - cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(IResolvable.Companion::unwrap)) } /** @@ -1043,7 +1043,7 @@ public open class CfnStateMachine( * in the AWS CloudFormation User Guide. */ override fun cloudWatchLogsLogGroup(cloudWatchLogsLogGroup: CloudWatchLogsLogGroupProperty) { - cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(CloudWatchLogsLogGroupProperty::unwrap)) + cdkBuilder.cloudWatchLogsLogGroup(cloudWatchLogsLogGroup.let(CloudWatchLogsLogGroupProperty.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class CfnStateMachine( * Limited to size 1. Required, if your log level is not set to `OFF` . */ override fun destinations(destinations: IResolvable) { - cdkBuilder.destinations(destinations.let(IResolvable::unwrap)) + cdkBuilder.destinations(destinations.let(IResolvable.Companion::unwrap)) } /** @@ -1243,7 +1243,7 @@ public open class CfnStateMachine( * When set to `false` , data is excluded. */ override fun includeExecutionData(includeExecutionData: IResolvable) { - cdkBuilder.includeExecutionData(includeExecutionData.let(IResolvable::unwrap)) + cdkBuilder.includeExecutionData(includeExecutionData.let(IResolvable.Companion::unwrap)) } /** @@ -1615,7 +1615,7 @@ public open class CfnStateMachine( * @param enabled When set to `true` , X-Ray tracing is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAlias.kt index 5496f4d1d2..538d084737 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAlias.kt @@ -56,7 +56,7 @@ public open class CfnStateMachineAlias( cdkObject: software.amazon.awscdk.services.stepfunctions.CfnStateMachineAlias, ) : CfnResource(cdkObject), IInspectable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.CfnStateMachineAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.CfnStateMachineAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -65,8 +65,8 @@ public open class CfnStateMachineAlias( id: String, props: CfnStateMachineAliasProps, ) : - this(software.amazon.awscdk.services.stepfunctions.CfnStateMachineAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStateMachineAliasProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.CfnStateMachineAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStateMachineAliasProps.Companion::unwrap)) ) public constructor( @@ -92,14 +92,14 @@ public open class CfnStateMachineAlias( * The settings that enable gradual state machine deployments. */ public open fun deploymentPreference(`value`: IResolvable) { - unwrap(this).setDeploymentPreference(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeploymentPreference(`value`.let(IResolvable.Companion::unwrap)) } /** * The settings that enable gradual state machine deployments. */ public open fun deploymentPreference(`value`: DeploymentPreferenceProperty) { - unwrap(this).setDeploymentPreference(`value`.let(DeploymentPreferenceProperty::unwrap)) + unwrap(this).setDeploymentPreference(`value`.let(DeploymentPreferenceProperty.Companion::unwrap)) } /** @@ -128,7 +128,7 @@ public open class CfnStateMachineAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -152,7 +152,7 @@ public open class CfnStateMachineAlias( * The routing configuration of an alias. */ public open fun routingConfiguration(`value`: IResolvable) { - unwrap(this).setRoutingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRoutingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class CfnStateMachineAlias( * @param deploymentPreference The settings that enable gradual state machine deployments. */ override fun deploymentPreference(deploymentPreference: IResolvable) { - cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public open class CfnStateMachineAlias( * @param deploymentPreference The settings that enable gradual state machine deployments. */ override fun deploymentPreference(deploymentPreference: DeploymentPreferenceProperty) { - cdkBuilder.deploymentPreference(deploymentPreference.let(DeploymentPreferenceProperty::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(DeploymentPreferenceProperty.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class CfnStateMachineAlias( * @param routingConfiguration The routing configuration of an alias. */ override fun routingConfiguration(routingConfiguration: IResolvable) { - cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAliasProps.kt index 41fbb728cd..f058e126a1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineAliasProps.kt @@ -384,7 +384,7 @@ public interface CfnStateMachineAliasProps { * time interval. */ override fun deploymentPreference(deploymentPreference: IResolvable) { - cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(IResolvable.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface CfnStateMachineAliasProps { */ override fun deploymentPreference(deploymentPreference: CfnStateMachineAlias.DeploymentPreferenceProperty) { - cdkBuilder.deploymentPreference(deploymentPreference.let(CfnStateMachineAlias.DeploymentPreferenceProperty::unwrap)) + cdkBuilder.deploymentPreference(deploymentPreference.let(CfnStateMachineAlias.DeploymentPreferenceProperty.Companion::unwrap)) } /** @@ -517,7 +517,7 @@ public interface CfnStateMachineAliasProps { * define only one of these properties. */ override fun routingConfiguration(routingConfiguration: IResolvable) { - cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.routingConfiguration(routingConfiguration.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineProps.kt index f27fe179ee..514029814e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineProps.kt @@ -368,7 +368,7 @@ public interface CfnStateMachineProps { * The state machine definition must be a JSON or YAML file. */ override fun definitionS3Location(definitionS3Location: IResolvable) { - cdkBuilder.definitionS3Location(definitionS3Location.let(IResolvable::unwrap)) + cdkBuilder.definitionS3Location(definitionS3Location.let(IResolvable.Companion::unwrap)) } /** @@ -377,7 +377,7 @@ public interface CfnStateMachineProps { * The state machine definition must be a JSON or YAML file. */ override fun definitionS3Location(definitionS3Location: CfnStateMachine.S3LocationProperty) { - cdkBuilder.definitionS3Location(definitionS3Location.let(CfnStateMachine.S3LocationProperty::unwrap)) + cdkBuilder.definitionS3Location(definitionS3Location.let(CfnStateMachine.S3LocationProperty.Companion::unwrap)) } /** @@ -411,7 +411,7 @@ public interface CfnStateMachineProps { * Substitutions must follow the syntax: `${key_name}` or `${variable_1,variable_2,...}` . */ override fun definitionSubstitutions(definitionSubstitutions: IResolvable) { - cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable::unwrap)) + cdkBuilder.definitionSubstitutions(definitionSubstitutions.let(IResolvable.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public interface CfnStateMachineProps { * AWS Step Functions User Guide. */ override fun loggingConfiguration(loggingConfiguration: IResolvable) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public interface CfnStateMachineProps { */ override fun loggingConfiguration(loggingConfiguration: CfnStateMachine.LoggingConfigurationProperty) { - cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnStateMachine.LoggingConfigurationProperty::unwrap)) + cdkBuilder.loggingConfiguration(loggingConfiguration.let(CfnStateMachine.LoggingConfigurationProperty.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public interface CfnStateMachineProps { * Tags may only contain Unicode letters, digits, white space, or these symbols: `_ . : / = + - */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnStateMachine.TagsEntryProperty::unwrap)) + cdkBuilder.tags(tags.map(CfnStateMachine.TagsEntryProperty.Companion::unwrap)) } /** @@ -525,7 +525,7 @@ public interface CfnStateMachineProps { * enabled. */ override fun tracingConfiguration(tracingConfiguration: IResolvable) { - cdkBuilder.tracingConfiguration(tracingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.tracingConfiguration(tracingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public interface CfnStateMachineProps { */ override fun tracingConfiguration(tracingConfiguration: CfnStateMachine.TracingConfigurationProperty) { - cdkBuilder.tracingConfiguration(tracingConfiguration.let(CfnStateMachine.TracingConfigurationProperty::unwrap)) + cdkBuilder.tracingConfiguration(tracingConfiguration.let(CfnStateMachine.TracingConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineVersion.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineVersion.kt index 0dfee307e2..baab21adb5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineVersion.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CfnStateMachineVersion.kt @@ -50,8 +50,8 @@ public open class CfnStateMachineVersion( id: String, props: CfnStateMachineVersionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.CfnStateMachineVersion(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnStateMachineVersionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.CfnStateMachineVersion(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnStateMachineVersionProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnStateMachineVersion( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Chain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Chain.kt index 06e827c6f0..ad266eddcb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Chain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Chain.kt @@ -56,7 +56,7 @@ public open class Chain( * @param next */ public open fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * The start state of this chain. @@ -93,7 +93,7 @@ public open class Chain( * @param props */ public open fun toSingleState(id: String, props: ParallelProps): Parallel = - unwrap(this).toSingleState(id, props.let(ParallelProps::unwrap)).let(Parallel::wrap) + unwrap(this).toSingleState(id, props.let(ParallelProps.Companion::unwrap)).let(Parallel::wrap) /** * Return a single state that encompasses all states in the chain. @@ -119,15 +119,16 @@ public open class Chain( endStates: List, lastAdded: IChainable, ): Chain = - software.amazon.awscdk.services.stepfunctions.Chain.custom(startState.let(State::unwrap), - endStates.map(INextable::unwrap), lastAdded.let(IChainable::unwrap)).let(Chain::wrap) + software.amazon.awscdk.services.stepfunctions.Chain.custom(startState.let(State.Companion::unwrap), + endStates.map(INextable.Companion::unwrap), + lastAdded.let(IChainable.Companion::unwrap)).let(Chain::wrap) public fun sequence(start: IChainable, next: IChainable): Chain = - software.amazon.awscdk.services.stepfunctions.Chain.sequence(start.let(IChainable::unwrap), - next.let(IChainable::unwrap)).let(Chain::wrap) + software.amazon.awscdk.services.stepfunctions.Chain.sequence(start.let(IChainable.Companion::unwrap), + next.let(IChainable.Companion::unwrap)).let(Chain::wrap) public fun start(state: IChainable): Chain = - software.amazon.awscdk.services.stepfunctions.Chain.start(state.let(IChainable::unwrap)).let(Chain::wrap) + software.amazon.awscdk.services.stepfunctions.Chain.start(state.let(IChainable.Companion::unwrap)).let(Chain::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.stepfunctions.Chain): Chain = Chain(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ChainDefinitionBody.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ChainDefinitionBody.kt index f672cc0df5..c713485f2c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ChainDefinitionBody.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ChainDefinitionBody.kt @@ -22,7 +22,7 @@ public open class ChainDefinitionBody( cdkObject: software.amazon.awscdk.services.stepfunctions.ChainDefinitionBody, ) : DefinitionBody(cdkObject) { public constructor(chainable: IChainable) : - this(software.amazon.awscdk.services.stepfunctions.ChainDefinitionBody(chainable.let(IChainable::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.ChainDefinitionBody(chainable.let(IChainable.Companion::unwrap)) ) /** @@ -35,9 +35,9 @@ public open class ChainDefinitionBody( scope: Construct, sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), - sfnProps.let(StateMachineProps::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap)).let(DefinitionConfig::wrap) /** * @param scope @@ -64,9 +64,10 @@ public open class ChainDefinitionBody( sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, graph: StateGraph, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), sfnProps.let(StateMachineProps::unwrap), - graph.let(StateGraph::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap), + graph.let(StateGraph.Companion::unwrap)).let(DefinitionConfig::wrap) /** * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Choice.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Choice.kt index 7a9082c4fe..9de5667379 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Choice.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Choice.kt @@ -43,7 +43,7 @@ public open class Choice( cdkObject: software.amazon.awscdk.services.stepfunctions.Choice, ) : State(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Choice(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Choice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -52,8 +52,8 @@ public open class Choice( id: String, props: ChoiceProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Choice(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ChoiceProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Choice(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ChoiceProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class Choice( * @param options */ public open fun afterwards(options: AfterwardsOptions): Chain = - unwrap(this).afterwards(options.let(AfterwardsOptions::unwrap)).let(Chain::wrap) + unwrap(this).afterwards(options.let(AfterwardsOptions.Companion::unwrap)).let(Chain::wrap) /** * Return a Chain that contains all reachable end states from this Choice. @@ -109,7 +109,7 @@ public open class Choice( * @param def */ public open fun otherwise(def: IChainable): Choice = - unwrap(this).otherwise(def.let(IChainable::unwrap)).let(Choice::wrap) + unwrap(this).otherwise(def.let(IChainable.Companion::unwrap)).let(Choice::wrap) /** * Return the Amazon States Language object for this state. @@ -124,8 +124,8 @@ public open class Choice( * @param options */ public open fun `when`(condition: Condition, next: IChainable): Choice = - unwrap(this).`when`(condition.let(Condition::unwrap), - next.let(IChainable::unwrap)).let(Choice::wrap) + unwrap(this).`when`(condition.let(Condition.Companion::unwrap), + next.let(IChainable.Companion::unwrap)).let(Choice::wrap) /** * If the given condition matches, continue execution with the given state. @@ -138,8 +138,9 @@ public open class Choice( condition: Condition, next: IChainable, options: ChoiceTransitionOptions, - ): Choice = unwrap(this).`when`(condition.let(Condition::unwrap), next.let(IChainable::unwrap), - options.let(ChoiceTransitionOptions::unwrap)).let(Choice::wrap) + ): Choice = unwrap(this).`when`(condition.let(Condition.Companion::unwrap), + next.let(IChainable.Companion::unwrap), + options.let(ChoiceTransitionOptions.Companion::unwrap)).let(Choice::wrap) /** * If the given condition matches, continue execution with the given state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Condition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Condition.kt index 57f0a8b194..6c47fde21f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Condition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Condition.kt @@ -48,7 +48,7 @@ public abstract class Condition( public companion object { public fun and(conditions: Condition): Condition = - software.amazon.awscdk.services.stepfunctions.Condition.and(conditions.let(Condition::unwrap)).let(Condition::wrap) + software.amazon.awscdk.services.stepfunctions.Condition.and(conditions.let(Condition.Companion::unwrap)).let(Condition::wrap) public fun booleanEquals(variable: String, `value`: Boolean): Condition = software.amazon.awscdk.services.stepfunctions.Condition.booleanEquals(variable, @@ -95,7 +95,7 @@ public abstract class Condition( software.amazon.awscdk.services.stepfunctions.Condition.isTimestamp(variable).let(Condition::wrap) public fun not(condition: Condition): Condition = - software.amazon.awscdk.services.stepfunctions.Condition.not(condition.let(Condition::unwrap)).let(Condition::wrap) + software.amazon.awscdk.services.stepfunctions.Condition.not(condition.let(Condition.Companion::unwrap)).let(Condition::wrap) public fun numberEquals(variable: String, `value`: Number): Condition = software.amazon.awscdk.services.stepfunctions.Condition.numberEquals(variable, @@ -138,7 +138,7 @@ public abstract class Condition( `value`).let(Condition::wrap) public fun or(conditions: Condition): Condition = - software.amazon.awscdk.services.stepfunctions.Condition.or(conditions.let(Condition::unwrap)).let(Condition::wrap) + software.amazon.awscdk.services.stepfunctions.Condition.or(conditions.let(Condition.Companion::unwrap)).let(Condition::wrap) public fun stringEquals(variable: String, `value`: String): Condition = software.amazon.awscdk.services.stepfunctions.Condition.stringEquals(variable, diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Credentials.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Credentials.kt index e417d2ee51..3b2b5728c7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Credentials.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Credentials.kt @@ -56,7 +56,7 @@ public interface Credentials { * @param role The role to be assumed for executing the Task. */ override fun role(role: TaskRole) { - cdkBuilder.role(role.let(TaskRole::unwrap)) + cdkBuilder.role(role.let(TaskRole.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.Credentials = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CustomState.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CustomState.kt index 43e498d14d..fa2ff26966 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CustomState.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/CustomState.kt @@ -72,8 +72,8 @@ public open class CustomState( id: String, props: CustomStateProps, ) : - this(software.amazon.awscdk.services.stepfunctions.CustomState(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CustomStateProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.CustomState(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CustomStateProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CustomState( * @param props */ public open fun addCatch(handler: IChainable): CustomState = - unwrap(this).addCatch(handler.let(IChainable::unwrap)).let(CustomState::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap)).let(CustomState::wrap) /** * Add a recovery handler for this state. @@ -105,8 +105,8 @@ public open class CustomState( * @param props */ public open fun addCatch(handler: IChainable, props: CatchProps): CustomState = - unwrap(this).addCatch(handler.let(IChainable::unwrap), - props.let(CatchProps::unwrap)).let(CustomState::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap), + props.let(CatchProps.Companion::unwrap)).let(CustomState::wrap) /** * Add a recovery handler for this state. @@ -141,7 +141,7 @@ public open class CustomState( * @param props */ public open fun addRetry(props: RetryProps): CustomState = - unwrap(this).addRetry(props.let(RetryProps::unwrap)).let(CustomState::wrap) + unwrap(this).addRetry(props.let(RetryProps.Companion::unwrap)).let(CustomState::wrap) /** * Add retry configuration for this state. @@ -168,7 +168,7 @@ public open class CustomState( * @param next */ public override fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Returns the Amazon States Language object for this state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionBody.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionBody.kt index b03cb0418e..ca294c008f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionBody.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionBody.kt @@ -39,9 +39,9 @@ public abstract class DefinitionBody( scope: Construct, sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), - sfnProps.let(StateMachineProps::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap)).let(DefinitionConfig::wrap) /** * @param scope @@ -68,9 +68,10 @@ public abstract class DefinitionBody( sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, graph: StateGraph, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), sfnProps.let(StateMachineProps::unwrap), - graph.let(StateGraph::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap), + graph.let(StateGraph.Companion::unwrap)).let(DefinitionConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.stepfunctions.DefinitionBody, @@ -78,14 +79,14 @@ public abstract class DefinitionBody( public companion object { public fun fromChainable(chainable: IChainable): DefinitionBody = - software.amazon.awscdk.services.stepfunctions.DefinitionBody.fromChainable(chainable.let(IChainable::unwrap)).let(DefinitionBody::wrap) + software.amazon.awscdk.services.stepfunctions.DefinitionBody.fromChainable(chainable.let(IChainable.Companion::unwrap)).let(DefinitionBody::wrap) public fun fromFile(path: String): DefinitionBody = software.amazon.awscdk.services.stepfunctions.DefinitionBody.fromFile(path).let(DefinitionBody::wrap) public fun fromFile(path: String, options: AssetOptions): DefinitionBody = software.amazon.awscdk.services.stepfunctions.DefinitionBody.fromFile(path, - options.let(AssetOptions::unwrap)).let(DefinitionBody::wrap) + options.let(AssetOptions.Companion::unwrap)).let(DefinitionBody::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("21d27b6a48dac2c5dbaf4ef80ba3ee7acc7ea5c13cf38f0df0bb52a4fb253451") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionConfig.kt index aac960ea2f..85f467e5c1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DefinitionConfig.kt @@ -93,7 +93,7 @@ public interface DefinitionConfig { * @param definitionS3Location the value to be set. */ override fun definitionS3Location(definitionS3Location: CfnStateMachine.S3LocationProperty) { - cdkBuilder.definitionS3Location(definitionS3Location.let(CfnStateMachine.S3LocationProperty::unwrap)) + cdkBuilder.definitionS3Location(definitionS3Location.let(CfnStateMachine.S3LocationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMap.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMap.kt index 6e65018895..62582bea1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMap.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMap.kt @@ -45,7 +45,7 @@ public open class DistributedMap( cdkObject: software.amazon.awscdk.services.stepfunctions.DistributedMap, ) : MapBase(cdkObject), INextable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.DistributedMap(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.DistributedMap(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -54,8 +54,8 @@ public open class DistributedMap( id: String, props: DistributedMapProps, ) : - this(software.amazon.awscdk.services.stepfunctions.DistributedMap(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DistributedMapProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.DistributedMap(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DistributedMapProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class DistributedMap( * @param props */ public open fun addCatch(handler: IChainable): DistributedMap = - unwrap(this).addCatch(handler.let(IChainable::unwrap)).let(DistributedMap::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap)).let(DistributedMap::wrap) /** * Add a recovery handler for this state. @@ -87,8 +87,8 @@ public open class DistributedMap( * @param props */ public open fun addCatch(handler: IChainable, props: CatchProps): DistributedMap = - unwrap(this).addCatch(handler.let(IChainable::unwrap), - props.let(CatchProps::unwrap)).let(DistributedMap::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap), + props.let(CatchProps.Companion::unwrap)).let(DistributedMap::wrap) /** * Add a recovery handler for this state. @@ -123,7 +123,7 @@ public open class DistributedMap( * @param props */ public open fun addRetry(props: RetryProps): DistributedMap = - unwrap(this).addRetry(props.let(RetryProps::unwrap)).let(DistributedMap::wrap) + unwrap(this).addRetry(props.let(RetryProps.Companion::unwrap)).let(DistributedMap::wrap) /** * Add retry configuration for this state. @@ -147,7 +147,7 @@ public open class DistributedMap( * @param config */ public open fun itemProcessor(processor: IChainable): DistributedMap = - unwrap(this).itemProcessor(processor.let(IChainable::unwrap)).let(DistributedMap::wrap) + unwrap(this).itemProcessor(processor.let(IChainable.Companion::unwrap)).let(DistributedMap::wrap) /** * Define item processor in a Distributed Map. @@ -158,8 +158,8 @@ public open class DistributedMap( * @param config */ public open fun itemProcessor(processor: IChainable, config: ProcessorConfig): DistributedMap = - unwrap(this).itemProcessor(processor.let(IChainable::unwrap), - config.let(ProcessorConfig::unwrap)).let(DistributedMap::wrap) + unwrap(this).itemProcessor(processor.let(IChainable.Companion::unwrap), + config.let(ProcessorConfig.Companion::unwrap)).let(DistributedMap::wrap) /** * Define item processor in a Distributed Map. @@ -462,7 +462,7 @@ public open class DistributedMap( * execution. */ override fun itemBatcher(itemBatcher: ItemBatcher) { - cdkBuilder.itemBatcher(itemBatcher.let(ItemBatcher::unwrap)) + cdkBuilder.itemBatcher(itemBatcher.let(ItemBatcher.Companion::unwrap)) } /** @@ -488,7 +488,7 @@ public open class DistributedMap( * @param itemReader ItemReader. */ override fun itemReader(itemReader: IItemReader) { - cdkBuilder.itemReader(itemReader.let(IItemReader::unwrap)) + cdkBuilder.itemReader(itemReader.let(IItemReader.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class DistributedMap( * @param mapExecutionType MapExecutionType. */ override fun mapExecutionType(mapExecutionType: StateMachineType) { - cdkBuilder.mapExecutionType(mapExecutionType.let(StateMachineType::unwrap)) + cdkBuilder.mapExecutionType(mapExecutionType.let(StateMachineType.Companion::unwrap)) } /** @@ -624,7 +624,7 @@ public open class DistributedMap( * @param resultWriter Configuration for S3 location in which to save Map Run results. */ override fun resultWriter(resultWriter: ResultWriter) { - cdkBuilder.resultWriter(resultWriter.let(ResultWriter::unwrap)) + cdkBuilder.resultWriter(resultWriter.let(ResultWriter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMapProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMapProps.kt index 2748435fd8..c32fecd828 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMapProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/DistributedMapProps.kt @@ -270,7 +270,7 @@ public interface DistributedMapProps : MapBaseProps { * execution. */ override fun itemBatcher(itemBatcher: ItemBatcher) { - cdkBuilder.itemBatcher(itemBatcher.let(ItemBatcher::unwrap)) + cdkBuilder.itemBatcher(itemBatcher.let(ItemBatcher.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface DistributedMapProps : MapBaseProps { * Configuration for where to read items dataset in S3 to iterate */ override fun itemReader(itemReader: IItemReader) { - cdkBuilder.itemReader(itemReader.let(IItemReader::unwrap)) + cdkBuilder.itemReader(itemReader.let(IItemReader.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public interface DistributedMapProps : MapBaseProps { * The execution type of the distributed map state */ override fun mapExecutionType(mapExecutionType: StateMachineType) { - cdkBuilder.mapExecutionType(mapExecutionType.let(StateMachineType::unwrap)) + cdkBuilder.mapExecutionType(mapExecutionType.let(StateMachineType.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public interface DistributedMapProps : MapBaseProps { * @param resultWriter Configuration for S3 location in which to save Map Run results. */ override fun resultWriter(resultWriter: ResultWriter) { - cdkBuilder.resultWriter(resultWriter.let(ResultWriter::unwrap)) + cdkBuilder.resultWriter(resultWriter.let(ResultWriter.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Fail.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Fail.kt index 5769b49289..b5824b014b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Fail.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Fail.kt @@ -28,7 +28,7 @@ public open class Fail( cdkObject: software.amazon.awscdk.services.stepfunctions.Fail, ) : State(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Fail(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Fail(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -37,8 +37,8 @@ public open class Fail( id: String, props: FailProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Fail(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(FailProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Fail(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(FailProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/FileDefinitionBody.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/FileDefinitionBody.kt index a164bbc2f7..6986d6ae5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/FileDefinitionBody.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/FileDefinitionBody.kt @@ -37,7 +37,7 @@ public open class FileDefinitionBody( public constructor(path: String, options: AssetOptions) : this(software.amazon.awscdk.services.stepfunctions.FileDefinitionBody(path, - options.let(AssetOptions::unwrap)) + options.let(AssetOptions.Companion::unwrap)) ) public constructor(path: String, options: AssetOptions.Builder.() -> Unit) : this(path, @@ -54,9 +54,9 @@ public open class FileDefinitionBody( scope: Construct, sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), - sfnProps.let(StateMachineProps::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap)).let(DefinitionConfig::wrap) /** * @param scope @@ -83,9 +83,10 @@ public open class FileDefinitionBody( sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, graph: StateGraph, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), sfnProps.let(StateMachineProps::unwrap), - graph.let(StateGraph::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap), + graph.let(StateGraph.Companion::unwrap)).let(DefinitionConfig::wrap) /** * @@ -288,7 +289,7 @@ public open class FileDefinitionBody( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -306,7 +307,7 @@ public open class FileDefinitionBody( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -383,7 +384,7 @@ public open class FileDefinitionBody( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -394,7 +395,7 @@ public open class FileDefinitionBody( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -407,7 +408,7 @@ public open class FileDefinitionBody( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IActivity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IActivity.kt index 0794007378..414d8a9c0e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IActivity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IActivity.kt @@ -53,7 +53,7 @@ public interface IActivity : IResource { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/INextable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/INextable.kt index 8684f2272d..3029b6c651 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/INextable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/INextable.kt @@ -27,7 +27,7 @@ public interface INextable { * @param state */ override fun next(state: IChainable): Chain = - unwrap(this).next(state.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(state.let(IChainable.Companion::unwrap)).let(Chain::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IStateMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IStateMachine.kt index 6ff2b25a29..ce6b755f9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IStateMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/IStateMachine.kt @@ -326,7 +326,7 @@ public interface IStateMachine : IResource, IGrantable { * @param policy */ override fun applyRemovalPolicy(policy: RemovalPolicy) { - unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy::unwrap)) + unwrap(this).applyRemovalPolicy(policy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public interface IStateMachine : IResource, IGrantable { * @param actions The list of desired actions. */ override fun grant(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IGrantable::unwrap), + unwrap(this).grant(identity.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -358,7 +358,7 @@ public interface IStateMachine : IResource, IGrantable { * @param actions The list of desired actions. */ override fun grantExecution(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grantExecution(identity.let(IGrantable::unwrap), + unwrap(this).grantExecution(identity.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -373,7 +373,7 @@ public interface IStateMachine : IResource, IGrantable { * @param identity The principal. */ override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to start an execution of this state machine. @@ -381,7 +381,7 @@ public interface IStateMachine : IResource, IGrantable { * @param identity The principal. */ override fun grantStartExecution(identity: IGrantable): Grant = - unwrap(this).grantStartExecution(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStartExecution(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to start a synchronous execution of this state machine. @@ -389,7 +389,7 @@ public interface IStateMachine : IResource, IGrantable { * @param identity The principal. */ override fun grantStartSyncExecution(identity: IGrantable): Grant = - unwrap(this).grantStartSyncExecution(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStartSyncExecution(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity read permissions for this state machine. @@ -397,7 +397,7 @@ public interface IStateMachine : IResource, IGrantable { * @param identity The principal. */ override fun grantTaskResponse(identity: IGrantable): Grant = - unwrap(this).grantTaskResponse(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTaskResponse(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this State Machine's executions. @@ -419,7 +419,8 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this State Machine's executions. @@ -451,7 +452,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricAborted(props: MetricOptions): Metric = - unwrap(this).metricAborted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricAborted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that were aborted. @@ -482,7 +483,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricFailed(props: MetricOptions): Metric = - unwrap(this).metricFailed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that failed. @@ -513,7 +514,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricStarted(props: MetricOptions): Metric = - unwrap(this).metricStarted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricStarted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that were started. @@ -544,7 +545,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricSucceeded(props: MetricOptions): Metric = - unwrap(this).metricSucceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSucceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that succeeded. @@ -575,7 +576,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricThrottled(props: MetricOptions): Metric = - unwrap(this).metricThrottled(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottled(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that were throttled. @@ -608,7 +609,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricTime(props: MetricOptions): Metric = - unwrap(this).metricTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the interval, in milliseconds, between the time the execution starts and the time @@ -640,7 +641,7 @@ public interface IStateMachine : IResource, IGrantable { * @param props */ override fun metricTimedOut(props: MetricOptions): Metric = - unwrap(this).metricTimedOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTimedOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that timed out. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemBatcher.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemBatcher.kt index f13d3e75a3..2309bc561a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemBatcher.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemBatcher.kt @@ -34,7 +34,7 @@ public open class ItemBatcher( cdkObject: software.amazon.awscdk.services.stepfunctions.ItemBatcher, ) : CdkObject(cdkObject) { public constructor(props: ItemBatcherProps) : - this(software.amazon.awscdk.services.stepfunctions.ItemBatcher(props.let(ItemBatcherProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.ItemBatcher(props.let(ItemBatcherProps.Companion::unwrap)) ) public constructor(props: ItemBatcherProps.Builder.() -> Unit) : this(ItemBatcherProps(props) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemReaderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemReaderProps.kt index 25bf45631d..3b52a689ff 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemReaderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ItemReaderProps.kt @@ -66,7 +66,7 @@ public interface ItemReaderProps { * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/LogOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/LogOptions.kt index d6bbc4d7c9..1aed1751f8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/LogOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/LogOptions.kt @@ -76,7 +76,7 @@ public interface LogOptions { * @param destination The log group where the execution history events will be logged. */ override fun destination(destination: ILogGroup) { - cdkBuilder.destination(destination.let(ILogGroup::unwrap)) + cdkBuilder.destination(destination.let(ILogGroup.Companion::unwrap)) } /** @@ -90,7 +90,7 @@ public interface LogOptions { * @param level Defines which category of execution history events are logged. */ override fun level(level: LogLevel) { - cdkBuilder.level(level.let(LogLevel::unwrap)) + cdkBuilder.level(level.let(LogLevel.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.LogOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Map.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Map.kt index 41d27f0892..3706873133 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Map.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Map.kt @@ -51,7 +51,7 @@ public open class Map( cdkObject: software.amazon.awscdk.services.stepfunctions.Map, ) : MapBase(cdkObject), INextable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Map(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Map(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -60,8 +60,8 @@ public open class Map( id: String, props: MapProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Map(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(MapProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Map(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(MapProps.Companion::unwrap)) ) public constructor( @@ -81,7 +81,7 @@ public open class Map( * @param props */ public open fun addCatch(handler: IChainable): Map = - unwrap(this).addCatch(handler.let(IChainable::unwrap)).let(Map::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap)).let(Map::wrap) /** * Add a recovery handler for this state. @@ -93,8 +93,8 @@ public open class Map( * @param props */ public open fun addCatch(handler: IChainable, props: CatchProps): Map = - unwrap(this).addCatch(handler.let(IChainable::unwrap), - props.let(CatchProps::unwrap)).let(Map::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap), + props.let(CatchProps.Companion::unwrap)).let(Map::wrap) /** * Add a recovery handler for this state. @@ -129,7 +129,7 @@ public open class Map( * @param props */ public open fun addRetry(props: RetryProps): Map = - unwrap(this).addRetry(props.let(RetryProps::unwrap)).let(Map::wrap) + unwrap(this).addRetry(props.let(RetryProps.Companion::unwrap)).let(Map::wrap) /** * Add retry configuration for this state. @@ -153,7 +153,7 @@ public open class Map( * @param config */ public open fun itemProcessor(processor: IChainable): Map = - unwrap(this).itemProcessor(processor.let(IChainable::unwrap)).let(Map::wrap) + unwrap(this).itemProcessor(processor.let(IChainable.Companion::unwrap)).let(Map::wrap) /** * Define item processor in Map. @@ -165,8 +165,8 @@ public open class Map( * @param config */ public open fun itemProcessor(processor: IChainable, config: ProcessorConfig): Map = - unwrap(this).itemProcessor(processor.let(IChainable::unwrap), - config.let(ProcessorConfig::unwrap)).let(Map::wrap) + unwrap(this).itemProcessor(processor.let(IChainable.Companion::unwrap), + config.let(ProcessorConfig.Companion::unwrap)).let(Map::wrap) /** * Define item processor in Map. @@ -193,7 +193,7 @@ public open class Map( */ @Deprecated(message = "deprecated in CDK") public open fun iterator(iterator: IChainable): Map = - unwrap(this).iterator(iterator.let(IChainable::unwrap)).let(Map::wrap) + unwrap(this).iterator(iterator.let(IChainable.Companion::unwrap)).let(Map::wrap) /** * Return the Amazon States Language object for this state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/MapBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/MapBase.kt index 97ffbf7a9d..b5ca0d046d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/MapBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/MapBase.kt @@ -33,7 +33,7 @@ public abstract class MapBase( * @param next */ public override fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Return the Amazon States Language object for this state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Parallel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Parallel.kt index cbc4d5c4ea..5c17a33e23 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Parallel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Parallel.kt @@ -70,7 +70,7 @@ public open class Parallel( cdkObject: software.amazon.awscdk.services.stepfunctions.Parallel, ) : State(cdkObject), INextable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Parallel(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Parallel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -79,8 +79,8 @@ public open class Parallel( id: String, props: ParallelProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Parallel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(ParallelProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Parallel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(ParallelProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class Parallel( * @param props */ public open fun addCatch(handler: IChainable): Parallel = - unwrap(this).addCatch(handler.let(IChainable::unwrap)).let(Parallel::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap)).let(Parallel::wrap) /** * Add a recovery handler for this state. @@ -112,8 +112,8 @@ public open class Parallel( * @param props */ public open fun addCatch(handler: IChainable, props: CatchProps): Parallel = - unwrap(this).addCatch(handler.let(IChainable::unwrap), - props.let(CatchProps::unwrap)).let(Parallel::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap), + props.let(CatchProps.Companion::unwrap)).let(Parallel::wrap) /** * Add a recovery handler for this state. @@ -148,7 +148,7 @@ public open class Parallel( * @param props */ public open fun addRetry(props: RetryProps): Parallel = - unwrap(this).addRetry(props.let(RetryProps::unwrap)).let(Parallel::wrap) + unwrap(this).addRetry(props.let(RetryProps.Companion::unwrap)).let(Parallel::wrap) /** * Add retry configuration for this state. @@ -170,7 +170,7 @@ public open class Parallel( * @param graph */ public override fun bindToGraph(graph: StateGraph) { - unwrap(this).bindToGraph(graph.let(StateGraph::unwrap)) + unwrap(this).bindToGraph(graph.let(StateGraph.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public open class Parallel( * @param next */ public override fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Return the Amazon States Language object for this state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Pass.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Pass.kt index eededb4564..ad6564a3eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Pass.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Pass.kt @@ -36,7 +36,7 @@ public open class Pass( cdkObject: software.amazon.awscdk.services.stepfunctions.Pass, ) : State(cdkObject), INextable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Pass(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Pass(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -45,8 +45,8 @@ public open class Pass( id: String, props: PassProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Pass(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(PassProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Pass(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(PassProps.Companion::unwrap)) ) public constructor( @@ -68,7 +68,7 @@ public open class Pass( * @param next */ public override fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Return the Amazon States Language object for this state. @@ -232,7 +232,7 @@ public open class Pass( * @param result If given, treat as the result of this operation. */ override fun result(result: Result) { - cdkBuilder.result(result.let(Result::unwrap)) + cdkBuilder.result(result.let(Result.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/PassProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/PassProps.kt index c6cf2481f1..af151cb7f4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/PassProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/PassProps.kt @@ -185,7 +185,7 @@ public interface PassProps { * Can be used to inject or replace the current execution state. */ override fun result(result: Result) { - cdkBuilder.result(result.let(Result::unwrap)) + cdkBuilder.result(result.let(Result.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ProcessorConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ProcessorConfig.kt index 331ea5867c..66a07283a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ProcessorConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ProcessorConfig.kt @@ -70,14 +70,14 @@ public interface ProcessorConfig { * You must provide this field if you specified `DISTRIBUTED` for the `mode` sub-field. */ override fun executionType(executionType: ProcessorType) { - cdkBuilder.executionType(executionType.let(ProcessorType::unwrap)) + cdkBuilder.executionType(executionType.let(ProcessorType.Companion::unwrap)) } /** * @param mode Specifies the execution mode for the Map workflow. */ override fun mode(mode: ProcessorMode) { - cdkBuilder.mode(mode.let(ProcessorMode::unwrap)) + cdkBuilder.mode(mode.let(ProcessorMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.ProcessorConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriter.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriter.kt index 9b73dcc433..3f81c11d41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriter.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriter.kt @@ -37,7 +37,7 @@ public open class ResultWriter( cdkObject: software.amazon.awscdk.services.stepfunctions.ResultWriter, ) : CdkObject(cdkObject) { public constructor(props: ResultWriterProps) : - this(software.amazon.awscdk.services.stepfunctions.ResultWriter(props.let(ResultWriterProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.ResultWriter(props.let(ResultWriterProps.Companion::unwrap)) ) public constructor(props: ResultWriterProps.Builder.() -> Unit) : this(ResultWriterProps(props) @@ -98,7 +98,7 @@ public open class ResultWriter( * @param bucket S3 Bucket in which to save Map Run results. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriterProps.kt index 5ac7426ba3..c31109faa5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/ResultWriterProps.kt @@ -68,7 +68,7 @@ public interface ResultWriterProps { * @param bucket S3 Bucket in which to save Map Run results. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/RetryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/RetryProps.kt index e13f591fed..93b8225550 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/RetryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/RetryProps.kt @@ -166,14 +166,14 @@ public interface RetryProps { * @param interval How many seconds to wait initially before retrying. */ override fun interval(interval: Duration) { - cdkBuilder.interval(interval.let(Duration::unwrap)) + cdkBuilder.interval(interval.let(Duration.Companion::unwrap)) } /** * @param jitterStrategy Introduces a randomization over the retry interval. */ override fun jitterStrategy(jitterStrategy: JitterType) { - cdkBuilder.jitterStrategy(jitterStrategy.let(JitterType::unwrap)) + cdkBuilder.jitterStrategy(jitterStrategy.let(JitterType.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface RetryProps { * @param maxDelay Maximum limit on retry interval growth during exponential backoff. */ override fun maxDelay(maxDelay: Duration) { - cdkBuilder.maxDelay(maxDelay.let(Duration::unwrap)) + cdkBuilder.maxDelay(maxDelay.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.RetryProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReader.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReader.kt index 1498ad97e9..4988f749fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReader.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReader.kt @@ -37,7 +37,7 @@ public open class S3CsvItemReader( cdkObject: software.amazon.awscdk.services.stepfunctions.S3CsvItemReader, ) : CdkObject(cdkObject), IItemReader { public constructor(props: S3CsvItemReaderProps) : - this(software.amazon.awscdk.services.stepfunctions.S3CsvItemReader(props.let(S3CsvItemReaderProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.S3CsvItemReader(props.let(S3CsvItemReaderProps.Companion::unwrap)) ) public constructor(props: S3CsvItemReaderProps.Builder.() -> Unit) : @@ -133,7 +133,7 @@ public open class S3CsvItemReader( * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** @@ -144,7 +144,7 @@ public open class S3CsvItemReader( * @param csvHeaders CSV file header configuration. */ override fun csvHeaders(csvHeaders: CsvHeaders) { - cdkBuilder.csvHeaders(csvHeaders.let(CsvHeaders::unwrap)) + cdkBuilder.csvHeaders(csvHeaders.let(CsvHeaders.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReaderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReaderProps.kt index 9172d5fe46..61bc96f583 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReaderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3CsvItemReaderProps.kt @@ -76,14 +76,14 @@ public interface S3CsvItemReaderProps : S3FileItemReaderProps { * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** * @param csvHeaders CSV file header configuration. */ override fun csvHeaders(csvHeaders: CsvHeaders) { - cdkBuilder.csvHeaders(csvHeaders.let(CsvHeaders::unwrap)) + cdkBuilder.csvHeaders(csvHeaders.let(CsvHeaders.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3FileItemReaderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3FileItemReaderProps.kt index 53362ef001..4a1cfa1940 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3FileItemReaderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3FileItemReaderProps.kt @@ -70,7 +70,7 @@ public interface S3FileItemReaderProps : ItemReaderProps { * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3JsonItemReader.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3JsonItemReader.kt index a717add3ae..848a1b5c87 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3JsonItemReader.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3JsonItemReader.kt @@ -38,7 +38,7 @@ public open class S3JsonItemReader( cdkObject: software.amazon.awscdk.services.stepfunctions.S3JsonItemReader, ) : CdkObject(cdkObject), IItemReader { public constructor(props: S3FileItemReaderProps) : - this(software.amazon.awscdk.services.stepfunctions.S3JsonItemReader(props.let(S3FileItemReaderProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.S3JsonItemReader(props.let(S3FileItemReaderProps.Companion::unwrap)) ) public constructor(props: S3FileItemReaderProps.Builder.() -> Unit) : @@ -123,7 +123,7 @@ public open class S3JsonItemReader( * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ManifestItemReader.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ManifestItemReader.kt index cb78de5cb5..ea0cf901a6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ManifestItemReader.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ManifestItemReader.kt @@ -35,7 +35,7 @@ public open class S3ManifestItemReader( cdkObject: software.amazon.awscdk.services.stepfunctions.S3ManifestItemReader, ) : CdkObject(cdkObject), IItemReader { public constructor(props: S3FileItemReaderProps) : - this(software.amazon.awscdk.services.stepfunctions.S3ManifestItemReader(props.let(S3FileItemReaderProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.S3ManifestItemReader(props.let(S3FileItemReaderProps.Companion::unwrap)) ) public constructor(props: S3FileItemReaderProps.Builder.() -> Unit) : @@ -121,7 +121,7 @@ public open class S3ManifestItemReader( * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReader.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReader.kt index 878d4b5e9e..5de8d86296 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReader.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReader.kt @@ -35,7 +35,7 @@ public open class S3ObjectsItemReader( cdkObject: software.amazon.awscdk.services.stepfunctions.S3ObjectsItemReader, ) : CdkObject(cdkObject), IItemReader { public constructor(props: S3ObjectsItemReaderProps) : - this(software.amazon.awscdk.services.stepfunctions.S3ObjectsItemReader(props.let(S3ObjectsItemReaderProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.S3ObjectsItemReader(props.let(S3ObjectsItemReaderProps.Companion::unwrap)) ) public constructor(props: S3ObjectsItemReaderProps.Builder.() -> Unit) : @@ -125,7 +125,7 @@ public open class S3ObjectsItemReader( * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReaderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReaderProps.kt index 918b2b71bf..033dd54f35 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReaderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/S3ObjectsItemReaderProps.kt @@ -69,7 +69,7 @@ public interface S3ObjectsItemReaderProps : ItemReaderProps { * over. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/State.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/State.kt index 7900d18885..7fda8ff196 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/State.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/State.kt @@ -36,7 +36,7 @@ public abstract class State( * @param graph */ public open fun bindToGraph(graph: StateGraph) { - unwrap(this).bindToGraph(graph.let(StateGraph::unwrap)) + unwrap(this).bindToGraph(graph.let(StateGraph.Companion::unwrap)) } /** @@ -71,17 +71,17 @@ public abstract class State( public companion object { public fun filterNextables(states: List): List = - software.amazon.awscdk.services.stepfunctions.State.filterNextables(states.map(State::unwrap)).map(INextable::wrap) + software.amazon.awscdk.services.stepfunctions.State.filterNextables(states.map(State.Companion::unwrap)).map(INextable::wrap) public fun filterNextables(vararg states: State): List = filterNextables(states.toList()) public fun findReachableEndStates(start: State): List = - software.amazon.awscdk.services.stepfunctions.State.findReachableEndStates(start.let(State::unwrap)).map(State::wrap) + software.amazon.awscdk.services.stepfunctions.State.findReachableEndStates(start.let(State.Companion::unwrap)).map(State::wrap) public fun findReachableEndStates(start: State, options: FindStateOptions): List = - software.amazon.awscdk.services.stepfunctions.State.findReachableEndStates(start.let(State::unwrap), - options.let(FindStateOptions::unwrap)).map(State::wrap) + software.amazon.awscdk.services.stepfunctions.State.findReachableEndStates(start.let(State.Companion::unwrap), + options.let(FindStateOptions.Companion::unwrap)).map(State::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("1ff9032f5265cc45d2fff5d628ac563f648bfb67e4d786b9ad0937f2bc31aad2") @@ -89,11 +89,11 @@ public abstract class State( List = findReachableEndStates(start, FindStateOptions(options)) public fun findReachableStates(start: State): List = - software.amazon.awscdk.services.stepfunctions.State.findReachableStates(start.let(State::unwrap)).map(State::wrap) + software.amazon.awscdk.services.stepfunctions.State.findReachableStates(start.let(State.Companion::unwrap)).map(State::wrap) public fun findReachableStates(start: State, options: FindStateOptions): List = - software.amazon.awscdk.services.stepfunctions.State.findReachableStates(start.let(State::unwrap), - options.let(FindStateOptions::unwrap)).map(State::wrap) + software.amazon.awscdk.services.stepfunctions.State.findReachableStates(start.let(State.Companion::unwrap), + options.let(FindStateOptions.Companion::unwrap)).map(State::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("50910c2105c823e8562e9a0f8e2aa4aab19c86635a763fa9ab48e94fec614bf9") @@ -101,7 +101,7 @@ public abstract class State( List = findReachableStates(start, FindStateOptions(options)) public fun prefixStates(root: IConstruct, prefix: String) { - software.amazon.awscdk.services.stepfunctions.State.prefixStates(root.let(IConstruct::unwrap), + software.amazon.awscdk.services.stepfunctions.State.prefixStates(root.let(IConstruct.Companion::unwrap), prefix) } diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateGraph.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateGraph.kt index 3a5bd9e28f..d2d00cae8b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateGraph.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateGraph.kt @@ -47,7 +47,7 @@ public open class StateGraph( cdkObject: software.amazon.awscdk.services.stepfunctions.StateGraph, ) : CdkObject(cdkObject) { public constructor(startState: State, graphDescription: String) : - this(software.amazon.awscdk.services.stepfunctions.StateGraph(startState.let(State::unwrap), + this(software.amazon.awscdk.services.stepfunctions.StateGraph(startState.let(State.Companion::unwrap), graphDescription) ) @@ -57,7 +57,7 @@ public open class StateGraph( * @param stateMachine */ public open fun bind(stateMachine: StateMachine) { - unwrap(this).bind(stateMachine.let(StateMachine::unwrap)) + unwrap(this).bind(stateMachine.let(StateMachine.Companion::unwrap)) } /** @@ -72,7 +72,7 @@ public open class StateGraph( * @param statement */ public open fun registerPolicyStatement(statement: PolicyStatement) { - unwrap(this).registerPolicyStatement(statement.let(PolicyStatement::unwrap)) + unwrap(this).registerPolicyStatement(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -93,7 +93,7 @@ public open class StateGraph( * @param state */ public open fun registerState(state: State) { - unwrap(this).registerState(state.let(State::unwrap)) + unwrap(this).registerState(state.let(State.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public open class StateGraph( * @param graph */ public open fun registerSuperGraph(graph: StateGraph) { - unwrap(this).registerSuperGraph(graph.let(StateGraph::unwrap)) + unwrap(this).registerSuperGraph(graph.let(StateGraph.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class StateGraph( * Default: No timeout */ public open fun timeout(`value`: Duration) { - unwrap(this).setTimeout(`value`.let(Duration::unwrap)) + unwrap(this).setTimeout(`value`.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachine.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachine.kt index 7f743a1d4a..c9c13c8efe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachine.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachine.kt @@ -55,8 +55,8 @@ public open class StateMachine( id: String, props: StateMachineProps, ) : - this(software.amazon.awscdk.services.stepfunctions.StateMachine(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StateMachineProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.StateMachine(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StateMachineProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class StateMachine( * @param statement */ public open fun addToRolePolicy(statement: PolicyStatement) { - unwrap(this).addToRolePolicy(statement.let(PolicyStatement::unwrap)) + unwrap(this).addToRolePolicy(statement.let(PolicyStatement.Companion::unwrap)) } /** @@ -92,8 +92,8 @@ public open class StateMachine( * @param actions */ public override fun grant(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grant(identity.let(IGrantable::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) - as String}.toTypedArray()).let(Grant::wrap) + unwrap(this).grant(identity.let(IGrantable.Companion::unwrap), + *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** * Grant the given identity permissions on all executions of the state machine. @@ -102,7 +102,7 @@ public open class StateMachine( * @param actions */ public override fun grantExecution(identity: IGrantable, vararg actions: String): Grant = - unwrap(this).grantExecution(identity.let(IGrantable::unwrap), + unwrap(this).grantExecution(identity.let(IGrantable.Companion::unwrap), *actions.map{CdkObjectWrappers.unwrap(it) as String}.toTypedArray()).let(Grant::wrap) /** @@ -117,7 +117,7 @@ public open class StateMachine( * @param identity */ public override fun grantRead(identity: IGrantable): Grant = - unwrap(this).grantRead(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantRead(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to start an execution of this state machine. @@ -125,7 +125,7 @@ public open class StateMachine( * @param identity */ public override fun grantStartExecution(identity: IGrantable): Grant = - unwrap(this).grantStartExecution(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStartExecution(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity permissions to start a synchronous execution of this state machine. @@ -133,7 +133,7 @@ public open class StateMachine( * @param identity */ public override fun grantStartSyncExecution(identity: IGrantable): Grant = - unwrap(this).grantStartSyncExecution(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantStartSyncExecution(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Grant the given identity task response permissions on a state machine. @@ -141,7 +141,7 @@ public open class StateMachine( * @param identity */ public override fun grantTaskResponse(identity: IGrantable): Grant = - unwrap(this).grantTaskResponse(identity.let(IGrantable::unwrap)).let(Grant::wrap) + unwrap(this).grantTaskResponse(identity.let(IGrantable.Companion::unwrap)).let(Grant::wrap) /** * Return the given named metric for this State Machine's executions. @@ -163,7 +163,7 @@ public open class StateMachine( * @param props */ public override fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this State Machine's executions. @@ -195,7 +195,7 @@ public open class StateMachine( * @param props */ public override fun metricAborted(props: MetricOptions): Metric = - unwrap(this).metricAborted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricAborted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that were aborted. @@ -226,7 +226,7 @@ public open class StateMachine( * @param props */ public override fun metricFailed(props: MetricOptions): Metric = - unwrap(this).metricFailed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that failed. @@ -257,7 +257,7 @@ public open class StateMachine( * @param props */ public override fun metricStarted(props: MetricOptions): Metric = - unwrap(this).metricStarted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricStarted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that were started. @@ -288,7 +288,7 @@ public open class StateMachine( * @param props */ public override fun metricSucceeded(props: MetricOptions): Metric = - unwrap(this).metricSucceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSucceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that succeeded. @@ -319,7 +319,7 @@ public open class StateMachine( * @param props */ public override fun metricThrottled(props: MetricOptions): Metric = - unwrap(this).metricThrottled(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricThrottled(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that were throttled. @@ -352,7 +352,7 @@ public open class StateMachine( * @param props */ public override fun metricTime(props: MetricOptions): Metric = - unwrap(this).metricTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the interval, in milliseconds, between the time the execution starts and the time it @@ -384,7 +384,7 @@ public open class StateMachine( * @param props */ public override fun metricTimedOut(props: MetricOptions): Metric = - unwrap(this).metricTimedOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTimedOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of executions that timed out. @@ -564,7 +564,7 @@ public open class StateMachine( */ @Deprecated(message = "deprecated in CDK") override fun definition(definition: IChainable) { - cdkBuilder.definition(definition.let(IChainable::unwrap)) + cdkBuilder.definition(definition.let(IChainable.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class StateMachine( * @param definitionBody Definition for this state machine. */ override fun definitionBody(definitionBody: DefinitionBody) { - cdkBuilder.definitionBody(definitionBody.let(DefinitionBody::unwrap)) + cdkBuilder.definitionBody(definitionBody.let(DefinitionBody.Companion::unwrap)) } /** @@ -593,7 +593,7 @@ public open class StateMachine( * @param logs Defines what execution history events are logged and where they are logged. */ override fun logs(logs: LogOptions) { - cdkBuilder.logs(logs.let(LogOptions::unwrap)) + cdkBuilder.logs(logs.let(LogOptions.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class StateMachine( * @param removalPolicy The removal policy to apply to state machine. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public open class StateMachine( * @param role The execution role for the state machine service. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class StateMachine( * @param stateMachineType Type of the state machine. */ override fun stateMachineType(stateMachineType: StateMachineType) { - cdkBuilder.stateMachineType(stateMachineType.let(StateMachineType::unwrap)) + cdkBuilder.stateMachineType(stateMachineType.let(StateMachineType.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public open class StateMachine( * @param timeout Maximum run time for this state machine. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class StateMachine( id: String, stateMachineArn: String, ): IStateMachine = - software.amazon.awscdk.services.stepfunctions.StateMachine.fromStateMachineArn(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.stepfunctions.StateMachine.fromStateMachineArn(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, stateMachineArn).let(IStateMachine::wrap) public fun fromStateMachineName( @@ -692,7 +692,7 @@ public open class StateMachine( id: String, stateMachineName: String, ): IStateMachine = - software.amazon.awscdk.services.stepfunctions.StateMachine.fromStateMachineName(scope.let(CloudshiftdevConstructsConstruct::unwrap), + software.amazon.awscdk.services.stepfunctions.StateMachine.fromStateMachineName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id, stateMachineName).let(IStateMachine::wrap) public operator fun invoke( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineFragment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineFragment.kt index 4b9a2f64bf..7de6187729 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineFragment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineFragment.kt @@ -77,7 +77,7 @@ public abstract class StateMachineFragment( * @param next */ public open fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Prefix the IDs of all states in this state machine fragment. @@ -135,7 +135,7 @@ public abstract class StateMachineFragment( * @param options */ public open fun toSingleState(options: SingleStateOptions): Parallel = - unwrap(this).toSingleState(options.let(SingleStateOptions::unwrap)).let(Parallel::wrap) + unwrap(this).toSingleState(options.let(SingleStateOptions.Companion::unwrap)).let(Parallel::wrap) /** * Wrap all states in this state machine fragment up into a single state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineProps.kt index 1b0b2c4d3b..cd798ed488 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateMachineProps.kt @@ -206,14 +206,14 @@ public interface StateMachineProps { */ @Deprecated(message = "deprecated in CDK") override fun definition(definition: IChainable) { - cdkBuilder.definition(definition.let(IChainable::unwrap)) + cdkBuilder.definition(definition.let(IChainable.Companion::unwrap)) } /** * @param definitionBody Definition for this state machine. */ override fun definitionBody(definitionBody: DefinitionBody) { - cdkBuilder.definitionBody(definitionBody.let(DefinitionBody::unwrap)) + cdkBuilder.definitionBody(definitionBody.let(DefinitionBody.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface StateMachineProps { * @param logs Defines what execution history events are logged and where they are logged. */ override fun logs(logs: LogOptions) { - cdkBuilder.logs(logs.let(LogOptions::unwrap)) + cdkBuilder.logs(logs.let(LogOptions.Companion::unwrap)) } /** @@ -241,14 +241,14 @@ public interface StateMachineProps { * @param removalPolicy The removal policy to apply to state machine. */ override fun removalPolicy(removalPolicy: RemovalPolicy) { - cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy::unwrap)) + cdkBuilder.removalPolicy(removalPolicy.let(RemovalPolicy.Companion::unwrap)) } /** * @param role The execution role for the state machine service. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -262,14 +262,14 @@ public interface StateMachineProps { * @param stateMachineType Type of the state machine. */ override fun stateMachineType(stateMachineType: StateMachineType) { - cdkBuilder.stateMachineType(stateMachineType.let(StateMachineType::unwrap)) + cdkBuilder.stateMachineType(stateMachineType.let(StateMachineType.Companion::unwrap)) } /** * @param timeout Maximum run time for this state machine. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateTransitionMetric.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateTransitionMetric.kt index d8a7e31004..4fd7a266af 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateTransitionMetric.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StateTransitionMetric.kt @@ -36,7 +36,7 @@ public open class StateTransitionMetric( public fun metric(metricName: String, props: MetricOptions): Metric = software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metric(metricName, - props.let(MetricOptions::unwrap)).let(Metric::wrap) + props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("629ccc2b9ed0d0686ac72be3c432836a76a92f56ab45dae83dc2e318f17ba80c") @@ -47,7 +47,7 @@ public open class StateTransitionMetric( software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricConsumedCapacity().let(Metric::wrap) public fun metricConsumedCapacity(props: MetricOptions): Metric = - software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricConsumedCapacity(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricConsumedCapacity(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("a24b0a1e90d6383c997fbcc91c6d768b82e55f29a8b958f852f38de84668a803") @@ -58,7 +58,7 @@ public open class StateTransitionMetric( software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricProvisionedBucketSize().let(Metric::wrap) public fun metricProvisionedBucketSize(props: MetricOptions): Metric = - software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricProvisionedBucketSize(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricProvisionedBucketSize(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5cf77589ea092cd6affcb5f58c9461bc0a8960cc7a2c47bad5397852bd5b154b") @@ -69,7 +69,7 @@ public open class StateTransitionMetric( software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricProvisionedRefillRate().let(Metric::wrap) public fun metricProvisionedRefillRate(props: MetricOptions): Metric = - software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricProvisionedRefillRate(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricProvisionedRefillRate(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8ed127511213c6c3de46a18992a2b191c66c096631d5668dc770856ded83e615") @@ -80,7 +80,7 @@ public open class StateTransitionMetric( software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricThrottledEvents().let(Metric::wrap) public fun metricThrottledEvents(props: MetricOptions): Metric = - software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricThrottledEvents(props.let(MetricOptions::unwrap)).let(Metric::wrap) + software.amazon.awscdk.services.stepfunctions.StateTransitionMetric.metricThrottledEvents(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("5fa6a79f5f7330212dfd53424b8e73b9b873dcb5eb4ef176f5a1c996a8fd1822") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StringDefinitionBody.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StringDefinitionBody.kt index 8f46a4dfc5..842080d457 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StringDefinitionBody.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/StringDefinitionBody.kt @@ -36,9 +36,9 @@ public open class StringDefinitionBody( scope: Construct, sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), - sfnProps.let(StateMachineProps::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap)).let(DefinitionConfig::wrap) /** * @param _scope @@ -65,9 +65,10 @@ public open class StringDefinitionBody( sfnPrincipal: IPrincipal, sfnProps: StateMachineProps, graph: StateGraph, - ): DefinitionConfig = unwrap(this).bind(scope.let(Construct::unwrap), - sfnPrincipal.let(IPrincipal::unwrap), sfnProps.let(StateMachineProps::unwrap), - graph.let(StateGraph::unwrap)).let(DefinitionConfig::wrap) + ): DefinitionConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), + sfnPrincipal.let(IPrincipal.Companion::unwrap), + sfnProps.let(StateMachineProps.Companion::unwrap), + graph.let(StateGraph.Companion::unwrap)).let(DefinitionConfig::wrap) /** * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Succeed.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Succeed.kt index ff6fed25c8..33f343b60b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Succeed.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Succeed.kt @@ -25,7 +25,7 @@ public open class Succeed( cdkObject: software.amazon.awscdk.services.stepfunctions.Succeed, ) : State(cdkObject) { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.stepfunctions.Succeed(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.stepfunctions.Succeed(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -34,8 +34,8 @@ public open class Succeed( id: String, props: SucceedProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Succeed(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SucceedProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Succeed(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SucceedProps.Companion::unwrap)) ) public constructor( diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskRole.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskRole.kt index 1a3b2eb3c0..7b5941ca3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskRole.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskRole.kt @@ -49,7 +49,7 @@ public abstract class TaskRole( public companion object { public fun fromRole(role: IRole): TaskRole = - software.amazon.awscdk.services.stepfunctions.TaskRole.fromRole(role.let(IRole::unwrap)).let(TaskRole::wrap) + software.amazon.awscdk.services.stepfunctions.TaskRole.fromRole(role.let(IRole.Companion::unwrap)).let(TaskRole::wrap) public fun fromRoleArnJsonPath(expression: String): TaskRole = software.amazon.awscdk.services.stepfunctions.TaskRole.fromRoleArnJsonPath(expression).let(TaskRole::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBase.kt index eb505057f1..f26bbe85f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBase.kt @@ -35,7 +35,7 @@ public abstract class TaskStateBase( * @param props */ public open fun addCatch(handler: IChainable): TaskStateBase = - unwrap(this).addCatch(handler.let(IChainable::unwrap)).let(TaskStateBase::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap)).let(TaskStateBase::wrap) /** * Add a recovery handler for this state. @@ -47,8 +47,8 @@ public abstract class TaskStateBase( * @param props */ public open fun addCatch(handler: IChainable, props: CatchProps): TaskStateBase = - unwrap(this).addCatch(handler.let(IChainable::unwrap), - props.let(CatchProps::unwrap)).let(TaskStateBase::wrap) + unwrap(this).addCatch(handler.let(IChainable.Companion::unwrap), + props.let(CatchProps.Companion::unwrap)).let(TaskStateBase::wrap) /** * Add a recovery handler for this state. @@ -83,7 +83,7 @@ public abstract class TaskStateBase( * @param props */ public open fun addRetry(props: RetryProps): TaskStateBase = - unwrap(this).addRetry(props.let(RetryProps::unwrap)).let(TaskStateBase::wrap) + unwrap(this).addRetry(props.let(RetryProps.Companion::unwrap)).let(TaskStateBase::wrap) /** * Add retry configuration for this state. @@ -124,7 +124,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metric(metricName: String, props: MetricOptions): Metric = - unwrap(this).metric(metricName, props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metric(metricName, props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Return the given named metric for this Task. @@ -156,7 +156,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricFailed(props: MetricOptions): Metric = - unwrap(this).metricFailed(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailed(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity fails. @@ -188,7 +188,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricHeartbeatTimedOut(props: MetricOptions): Metric = - unwrap(this).metricHeartbeatTimedOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricHeartbeatTimedOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times the heartbeat times out for this activity. @@ -219,7 +219,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricRunTime(props: MetricOptions): Metric = - unwrap(this).metricRunTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricRunTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The interval, in milliseconds, between the time the Task starts and the time it closes. @@ -250,7 +250,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricScheduleTime(props: MetricOptions): Metric = - unwrap(this).metricScheduleTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricScheduleTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The interval, in milliseconds, for which the activity stays in the schedule state. @@ -281,7 +281,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricScheduled(props: MetricOptions): Metric = - unwrap(this).metricScheduled(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricScheduled(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity is scheduled. @@ -312,7 +312,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricStarted(props: MetricOptions): Metric = - unwrap(this).metricStarted(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricStarted(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity is started. @@ -343,7 +343,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricSucceeded(props: MetricOptions): Metric = - unwrap(this).metricSucceeded(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSucceeded(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity succeeds. @@ -376,7 +376,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricTime(props: MetricOptions): Metric = - unwrap(this).metricTime(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTime(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * The interval, in milliseconds, between the time the activity is scheduled and the time it @@ -408,7 +408,7 @@ public abstract class TaskStateBase( * @param props */ public open fun metricTimedOut(props: MetricOptions): Metric = - unwrap(this).metricTimedOut(props.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricTimedOut(props.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Metric for the number of times this activity times out. @@ -428,7 +428,7 @@ public abstract class TaskStateBase( * @param next */ public override fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Return the Amazon States Language object for this state. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBaseProps.kt index 0289101ff6..aebbe14f32 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/TaskStateBaseProps.kt @@ -289,7 +289,7 @@ public interface TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public interface TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public interface TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Timeout.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Timeout.kt index 37fb2b1916..a9f0e5abce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Timeout.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Timeout.kt @@ -45,7 +45,7 @@ public abstract class Timeout( software.amazon.awscdk.services.stepfunctions.Timeout.at(path).let(Timeout::wrap) public fun duration(duration: Duration): Timeout = - software.amazon.awscdk.services.stepfunctions.Timeout.duration(duration.let(Duration::unwrap)).let(Timeout::wrap) + software.amazon.awscdk.services.stepfunctions.Timeout.duration(duration.let(Duration.Companion::unwrap)).let(Timeout::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.stepfunctions.Timeout): Timeout = CdkObjectWrappers.wrap(cdkObject) as? Timeout ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Wait.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Wait.kt index 0c9a249e19..19328cdfe7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Wait.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/Wait.kt @@ -50,8 +50,8 @@ public open class Wait( id: String, props: WaitProps, ) : - this(software.amazon.awscdk.services.stepfunctions.Wait(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(WaitProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.Wait(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(WaitProps.Companion::unwrap)) ) public constructor( @@ -73,7 +73,7 @@ public open class Wait( * @param next */ public override fun next(next: IChainable): Chain = - unwrap(this).next(next.let(IChainable::unwrap)).let(Chain::wrap) + unwrap(this).next(next.let(IChainable.Companion::unwrap)).let(Chain::wrap) /** * Return the Amazon States Language object for this state. @@ -146,7 +146,7 @@ public open class Wait( * @param time Wait duration. */ override fun time(time: WaitTime) { - cdkBuilder.time(time.let(WaitTime::unwrap)) + cdkBuilder.time(time.let(WaitTime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.Wait = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitProps.kt index c66b35ab91..226fdaf0ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitProps.kt @@ -101,7 +101,7 @@ public interface WaitProps { * @param time Wait duration. */ override fun time(time: WaitTime) { - cdkBuilder.time(time.let(WaitTime::unwrap)) + cdkBuilder.time(time.let(WaitTime.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.WaitProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitTime.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitTime.kt index 07245eb675..c63762992b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitTime.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/WaitTime.kt @@ -43,7 +43,7 @@ public open class WaitTime( ) : CdkObject(cdkObject) { public companion object { public fun duration(duration: Duration): WaitTime = - software.amazon.awscdk.services.stepfunctions.WaitTime.duration(duration.let(Duration::unwrap)).let(WaitTime::wrap) + software.amazon.awscdk.services.stepfunctions.WaitTime.duration(duration.let(Duration.Companion::unwrap)).let(WaitTime::wrap) public fun secondsPath(path: String): WaitTime = software.amazon.awscdk.services.stepfunctions.WaitTime.secondsPath(path).let(WaitTime::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AcceleratorType.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AcceleratorType.kt index c361dbbab2..0fbe75184a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AcceleratorType.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AcceleratorType.kt @@ -31,8 +31,8 @@ public open class AcceleratorType( public companion object { public fun of(acceleratorClass: AcceleratorClass, instanceSize: InstanceSize): AcceleratorType = - software.amazon.awscdk.services.stepfunctions.tasks.AcceleratorType.of(acceleratorClass.let(AcceleratorClass::unwrap), - instanceSize.let(InstanceSize::unwrap)).let(AcceleratorType::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.AcceleratorType.of(acceleratorClass.let(AcceleratorClass.Companion::unwrap), + instanceSize.let(InstanceSize.Companion::unwrap)).let(AcceleratorType::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.stepfunctions.tasks.AcceleratorType): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AlgorithmSpecification.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AlgorithmSpecification.kt index d494e1119c..1fa5514f20 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AlgorithmSpecification.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AlgorithmSpecification.kt @@ -135,7 +135,7 @@ public interface AlgorithmSpecification { * Each object specifies the metric name and regular expressions used to parse algorithm logs. */ override fun metricDefinitions(metricDefinitions: List) { - cdkBuilder.metricDefinitions(metricDefinitions.map(MetricDefinition::unwrap)) + cdkBuilder.metricDefinitions(metricDefinitions.map(MetricDefinition.Companion::unwrap)) } /** @@ -149,14 +149,14 @@ public interface AlgorithmSpecification { * @param trainingImage Registry path of the Docker image that contains the training algorithm. */ override fun trainingImage(trainingImage: DockerImage) { - cdkBuilder.trainingImage(trainingImage.let(DockerImage::unwrap)) + cdkBuilder.trainingImage(trainingImage.let(DockerImage.Companion::unwrap)) } /** * @param trainingInputMode Input mode that the algorithm supports. */ override fun trainingInputMode(trainingInputMode: InputMode) { - cdkBuilder.trainingInputMode(trainingInputMode.let(InputMode::unwrap)) + cdkBuilder.trainingInputMode(trainingInputMode.let(InputMode.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.AlgorithmSpecification = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ApplicationConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ApplicationConfiguration.kt index 667b33fc72..b0cc4b14ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ApplicationConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ApplicationConfiguration.kt @@ -106,7 +106,7 @@ public interface ApplicationConfiguration { * Length Constraints: Minimum length of 1. Maximum length of 1024. */ override fun classification(classification: Classification) { - cdkBuilder.classification(classification.let(Classification::unwrap)) + cdkBuilder.classification(classification.let(Classification.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public interface ApplicationConfiguration { * Array Members: Maximum number of 100 items. */ override fun nestedConfig(nestedConfig: List) { - cdkBuilder.nestedConfig(nestedConfig.map(ApplicationConfiguration::unwrap)) + cdkBuilder.nestedConfig(nestedConfig.map(ApplicationConfiguration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecution.kt index 5d53b3af97..6f953cbdec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecution.kt @@ -40,8 +40,8 @@ public open class AthenaGetQueryExecution( id: String, props: AthenaGetQueryExecutionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaGetQueryExecution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AthenaGetQueryExecutionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaGetQueryExecution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AthenaGetQueryExecutionProps.Companion::unwrap)) ) public constructor( @@ -263,7 +263,7 @@ public open class AthenaGetQueryExecution( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -292,7 +292,7 @@ public open class AthenaGetQueryExecution( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class AthenaGetQueryExecution( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class AthenaGetQueryExecution( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class AthenaGetQueryExecution( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class AthenaGetQueryExecution( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.AthenaGetQueryExecution diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecutionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecutionProps.kt index 75b266192d..cc4b483df7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecutionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryExecutionProps.kt @@ -161,7 +161,7 @@ public interface AthenaGetQueryExecutionProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public interface AthenaGetQueryExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -189,7 +189,7 @@ public interface AthenaGetQueryExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public interface AthenaGetQueryExecutionProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface AthenaGetQueryExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -272,7 +272,7 @@ public interface AthenaGetQueryExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResults.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResults.kt index 8e57cc5254..4a6400742c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResults.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResults.kt @@ -41,8 +41,8 @@ public open class AthenaGetQueryResults( id: String, props: AthenaGetQueryResultsProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaGetQueryResults(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AthenaGetQueryResultsProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaGetQueryResults(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AthenaGetQueryResultsProps.Companion::unwrap)) ) public constructor( @@ -282,7 +282,7 @@ public open class AthenaGetQueryResults( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public open class AthenaGetQueryResults( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public open class AthenaGetQueryResults( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class AthenaGetQueryResults( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class AthenaGetQueryResults( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class AthenaGetQueryResults( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.AthenaGetQueryResults = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResultsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResultsProps.kt index 778bd80836..b551f97b3c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResultsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaGetQueryResultsProps.kt @@ -186,7 +186,7 @@ public interface AthenaGetQueryResultsProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface AthenaGetQueryResultsProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface AthenaGetQueryResultsProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface AthenaGetQueryResultsProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface AthenaGetQueryResultsProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface AthenaGetQueryResultsProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecution.kt index 267258a130..65fdf77b16 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecution.kt @@ -54,8 +54,8 @@ public open class AthenaStartQueryExecution( id: String, props: AthenaStartQueryExecutionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaStartQueryExecution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AthenaStartQueryExecutionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaStartQueryExecution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AthenaStartQueryExecutionProps.Companion::unwrap)) ) public constructor( @@ -369,7 +369,7 @@ public open class AthenaStartQueryExecution( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class AthenaStartQueryExecution( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public open class AthenaStartQueryExecution( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class AthenaStartQueryExecution( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class AthenaStartQueryExecution( * @param queryExecutionContext Database within which query executes. */ override fun queryExecutionContext(queryExecutionContext: QueryExecutionContext) { - cdkBuilder.queryExecutionContext(queryExecutionContext.let(QueryExecutionContext::unwrap)) + cdkBuilder.queryExecutionContext(queryExecutionContext.let(QueryExecutionContext.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class AthenaStartQueryExecution( * @param resultConfiguration Configuration on how and where to save query. */ override fun resultConfiguration(resultConfiguration: ResultConfiguration) { - cdkBuilder.resultConfiguration(resultConfiguration.let(ResultConfiguration::unwrap)) + cdkBuilder.resultConfiguration(resultConfiguration.let(ResultConfiguration.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class AthenaStartQueryExecution( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class AthenaStartQueryExecution( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecutionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecutionProps.kt index 38309872bb..aeea927aee 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecutionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStartQueryExecutionProps.kt @@ -269,7 +269,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { * @param queryExecutionContext Database within which query executes. */ override fun queryExecutionContext(queryExecutionContext: QueryExecutionContext) { - cdkBuilder.queryExecutionContext(queryExecutionContext.let(QueryExecutionContext::unwrap)) + cdkBuilder.queryExecutionContext(queryExecutionContext.let(QueryExecutionContext.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { * @param resultConfiguration Configuration on how and where to save query. */ override fun resultConfiguration(resultConfiguration: ResultConfiguration) { - cdkBuilder.resultConfiguration(resultConfiguration.let(ResultConfiguration::unwrap)) + cdkBuilder.resultConfiguration(resultConfiguration.let(ResultConfiguration.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface AthenaStartQueryExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecution.kt index 84bc608b2f..f21b4b1912 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecution.kt @@ -40,8 +40,8 @@ public open class AthenaStopQueryExecution( id: String, props: AthenaStopQueryExecutionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaStopQueryExecution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(AthenaStopQueryExecutionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.AthenaStopQueryExecution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(AthenaStopQueryExecutionProps.Companion::unwrap)) ) public constructor( @@ -261,7 +261,7 @@ public open class AthenaStopQueryExecution( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public open class AthenaStopQueryExecution( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -304,7 +304,7 @@ public open class AthenaStopQueryExecution( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -339,7 +339,7 @@ public open class AthenaStopQueryExecution( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class AthenaStopQueryExecution( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class AthenaStopQueryExecution( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.AthenaStopQueryExecution diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecutionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecutionProps.kt index 59c7f54abb..d0378bd7b3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecutionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/AthenaStopQueryExecutionProps.kt @@ -158,7 +158,7 @@ public interface AthenaStopQueryExecutionProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public interface AthenaStopQueryExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public interface AthenaStopQueryExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface AthenaStopQueryExecutionProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface AthenaStopQueryExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface AthenaStopQueryExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchContainerOverrides.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchContainerOverrides.kt index 11dd1623dc..d96e20ab44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchContainerOverrides.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchContainerOverrides.kt @@ -188,14 +188,14 @@ public interface BatchContainerOverrides { * This parameter is not valid for single-node container jobs. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** * @param memory Memory reserved for the job. */ override fun memory(memory: Size) { - cdkBuilder.memory(memory.let(Size::unwrap)) + cdkBuilder.memory(memory.let(Size.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJob.kt index 8b4d90b4d0..0d88bb408c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJob.kt @@ -47,8 +47,8 @@ public open class BatchSubmitJob( id: String, props: BatchSubmitJobProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.BatchSubmitJob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BatchSubmitJobProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.BatchSubmitJob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BatchSubmitJobProps.Companion::unwrap)) ) public constructor( @@ -404,7 +404,7 @@ public open class BatchSubmitJob( * of a container in the specified job definition and the overrides it should receive. */ override fun containerOverrides(containerOverrides: BatchContainerOverrides) { - cdkBuilder.containerOverrides(containerOverrides.let(BatchContainerOverrides::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.let(BatchContainerOverrides.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class BatchSubmitJob( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class BatchSubmitJob( * @param dependsOn A list of dependencies for the job. */ override fun dependsOn(dependsOn: List) { - cdkBuilder.dependsOn(dependsOn.map(BatchJobDependency::unwrap)) + cdkBuilder.dependsOn(dependsOn.map(BatchJobDependency.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public open class BatchSubmitJob( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class BatchSubmitJob( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class BatchSubmitJob( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public open class BatchSubmitJob( * @param payload The payload to be passed as parameters to the batch job. */ override fun payload(payload: TaskInput) { - cdkBuilder.payload(payload.let(TaskInput::unwrap)) + cdkBuilder.payload(payload.let(TaskInput.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class BatchSubmitJob( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class BatchSubmitJob( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.BatchSubmitJob = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJobProps.kt index 0031a16e30..5172678f97 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BatchSubmitJobProps.kt @@ -317,7 +317,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * of a container in the specified job definition and the overrides it should receive. */ override fun containerOverrides(containerOverrides: BatchContainerOverrides) { - cdkBuilder.containerOverrides(containerOverrides.let(BatchContainerOverrides::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.let(BatchContainerOverrides.Companion::unwrap)) } /** @@ -335,7 +335,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * A job can depend upon a maximum of 20 jobs. */ override fun dependsOn(dependsOn: List) { - cdkBuilder.dependsOn(dependsOn.map(BatchJobDependency::unwrap)) + cdkBuilder.dependsOn(dependsOn.map(BatchJobDependency.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -399,7 +399,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * @param payload The payload to be passed as parameters to the batch job. */ override fun payload(payload: TaskInput) { - cdkBuilder.payload(payload.let(TaskInput::unwrap)) + cdkBuilder.payload(payload.let(TaskInput.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -490,7 +490,7 @@ public interface BatchSubmitJobProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.BatchSubmitJobProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModel.kt index c8399baf3e..753615b944 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModel.kt @@ -49,8 +49,8 @@ public open class BedrockInvokeModel( id: String, props: BedrockInvokeModelProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(BedrockInvokeModelProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(BedrockInvokeModelProps.Companion::unwrap)) ) public constructor( @@ -366,7 +366,7 @@ public open class BedrockInvokeModel( * @param body The input data for the Bedrock model invocation. */ override fun body(body: TaskInput) { - cdkBuilder.body(body.let(TaskInput::unwrap)) + cdkBuilder.body(body.let(TaskInput.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class BedrockInvokeModel( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class BedrockInvokeModel( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class BedrockInvokeModel( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public open class BedrockInvokeModel( * @param input The source location to retrieve the input data from. */ override fun input(input: BedrockInvokeModelInputProps) { - cdkBuilder.input(input.let(BedrockInvokeModelInputProps::unwrap)) + cdkBuilder.input(input.let(BedrockInvokeModelInputProps.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class BedrockInvokeModel( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class BedrockInvokeModel( * @param model The Bedrock model that the task will invoke. */ override fun model(model: IModel) { - cdkBuilder.model(model.let(IModel::unwrap)) + cdkBuilder.model(model.let(IModel.Companion::unwrap)) } /** @@ -529,7 +529,7 @@ public open class BedrockInvokeModel( * @param output The destination location where the API response is written. */ override fun output(output: BedrockInvokeModelOutputProps) { - cdkBuilder.output(output.let(BedrockInvokeModelOutputProps::unwrap)) + cdkBuilder.output(output.let(BedrockInvokeModelOutputProps.Companion::unwrap)) } /** @@ -616,7 +616,7 @@ public open class BedrockInvokeModel( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class BedrockInvokeModel( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModel = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelInputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelInputProps.kt index c51026106d..acc2700be9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelInputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelInputProps.kt @@ -71,7 +71,7 @@ public interface BedrockInvokeModelInputProps { * If the S3 location is not set, then the Body must be set. */ override fun s3Location(s3Location: Location) { - cdkBuilder.s3Location(s3Location.let(Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(Location.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelOutputProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelOutputProps.kt index 80afb4e37f..be745e368e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelOutputProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelOutputProps.kt @@ -75,7 +75,7 @@ public interface BedrockInvokeModelOutputProps { * a reference to the Amazon S3 location of the original output. */ override fun s3Location(s3Location: Location) { - cdkBuilder.s3Location(s3Location.let(Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(Location.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelProps.kt index f1155b7b20..25cf1b96eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/BedrockInvokeModelProps.kt @@ -289,7 +289,7 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { * You must specify either the `body` or the `input` field, but not both. */ override fun body(body: TaskInput) { - cdkBuilder.body(body.let(TaskInput::unwrap)) + cdkBuilder.body(body.let(TaskInput.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -340,14 +340,14 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** * @param input The source location to retrieve the input data from. */ override fun input(input: BedrockInvokeModelInputProps) { - cdkBuilder.input(input.let(BedrockInvokeModelInputProps::unwrap)) + cdkBuilder.input(input.let(BedrockInvokeModelInputProps.Companion::unwrap)) } /** @@ -376,14 +376,14 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param model The Bedrock model that the task will invoke. */ override fun model(model: IModel) { - cdkBuilder.model(model.let(IModel::unwrap)) + cdkBuilder.model(model.let(IModel.Companion::unwrap)) } /** @@ -392,7 +392,7 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { * output location. */ override fun output(output: BedrockInvokeModelOutputProps) { - cdkBuilder.output(output.let(BedrockInvokeModelOutputProps::unwrap)) + cdkBuilder.output(output.let(BedrockInvokeModelOutputProps.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public interface BedrockInvokeModelProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.BedrockInvokeModelProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayEndpointBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayEndpointBaseProps.kt index 0a0f933dc9..cda3556440 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayEndpointBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayEndpointBaseProps.kt @@ -248,7 +248,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * @param authType Authentication methods. */ override fun authType(authType: AuthType) { - cdkBuilder.authType(authType.let(AuthType::unwrap)) + cdkBuilder.authType(authType.let(AuthType.Companion::unwrap)) } /** @@ -264,7 +264,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * @param headers HTTP request information that does not relate to contents of the request. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -290,7 +290,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -320,14 +320,14 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param method Http method for the API. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -344,14 +344,14 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * @param queryParameters Query strings attatched to end of request. */ override fun queryParameters(queryParameters: TaskInput) { - cdkBuilder.queryParameters(queryParameters.let(TaskInput::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(TaskInput.Companion::unwrap)) } /** * @param requestBody HTTP Request body. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public interface CallApiGatewayEndpointBaseProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpoint.kt index ff6e968a63..b31b4244ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpoint.kt @@ -46,8 +46,8 @@ public open class CallApiGatewayHttpApiEndpoint( id: String, props: CallApiGatewayHttpApiEndpointProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.CallApiGatewayHttpApiEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CallApiGatewayHttpApiEndpointProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.CallApiGatewayHttpApiEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CallApiGatewayHttpApiEndpointProps.Companion::unwrap)) ) public constructor( @@ -338,7 +338,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param apiStack The Stack in which the API is defined. */ override fun apiStack(apiStack: Stack) { - cdkBuilder.apiStack(apiStack.let(Stack::unwrap)) + cdkBuilder.apiStack(apiStack.let(Stack.Companion::unwrap)) } /** @@ -349,7 +349,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param authType Authentication methods. */ override fun authType(authType: AuthType) { - cdkBuilder.authType(authType.let(AuthType::unwrap)) + cdkBuilder.authType(authType.let(AuthType.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public open class CallApiGatewayHttpApiEndpoint( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param headers HTTP request information that does not relate to contents of the request. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class CallApiGatewayHttpApiEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class CallApiGatewayHttpApiEndpoint( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param method Http method for the API. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param queryParameters Query strings attatched to end of request. */ override fun queryParameters(queryParameters: TaskInput) { - cdkBuilder.queryParameters(queryParameters.let(TaskInput::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(TaskInput.Companion::unwrap)) } /** @@ -511,7 +511,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param requestBody HTTP Request body. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public open class CallApiGatewayHttpApiEndpoint( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public open class CallApiGatewayHttpApiEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpointProps.kt index 1973d51577..b99d05b6e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayHttpApiEndpointProps.kt @@ -221,14 +221,14 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * @param apiStack The Stack in which the API is defined. */ override fun apiStack(apiStack: Stack) { - cdkBuilder.apiStack(apiStack.let(Stack::unwrap)) + cdkBuilder.apiStack(apiStack.let(Stack.Companion::unwrap)) } /** * @param authType Authentication methods. */ override fun authType(authType: AuthType) { - cdkBuilder.authType(authType.let(AuthType::unwrap)) + cdkBuilder.authType(authType.let(AuthType.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * @param headers HTTP request information that does not relate to contents of the request. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -300,14 +300,14 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param method Http method for the API. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -324,14 +324,14 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * @param queryParameters Query strings attatched to end of request. */ override fun queryParameters(queryParameters: TaskInput) { - cdkBuilder.queryParameters(queryParameters.let(TaskInput::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(TaskInput.Companion::unwrap)) } /** * @param requestBody HTTP Request body. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public interface CallApiGatewayHttpApiEndpointProps : CallApiGatewayEndpointBase */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpoint.kt index 12a9c30e1e..c987fe949f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpoint.kt @@ -65,8 +65,8 @@ public open class CallApiGatewayRestApiEndpoint( id: String, props: CallApiGatewayRestApiEndpointProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.CallApiGatewayRestApiEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CallApiGatewayRestApiEndpointProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.CallApiGatewayRestApiEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CallApiGatewayRestApiEndpointProps.Companion::unwrap)) ) public constructor( @@ -328,7 +328,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param api API to call. */ override fun api(api: IRestApi) { - cdkBuilder.api(api.let(IRestApi::unwrap)) + cdkBuilder.api(api.let(IRestApi.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param authType Authentication methods. */ override fun authType(authType: AuthType) { - cdkBuilder.authType(authType.let(AuthType::unwrap)) + cdkBuilder.authType(authType.let(AuthType.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CallApiGatewayRestApiEndpoint( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -403,7 +403,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param headers HTTP request information that does not relate to contents of the request. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class CallApiGatewayRestApiEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -465,7 +465,7 @@ public open class CallApiGatewayRestApiEndpoint( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param method Http method for the API. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -501,7 +501,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param queryParameters Query strings attatched to end of request. */ override fun queryParameters(queryParameters: TaskInput) { - cdkBuilder.queryParameters(queryParameters.let(TaskInput::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(TaskInput.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param requestBody HTTP Request body. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -577,7 +577,7 @@ public open class CallApiGatewayRestApiEndpoint( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CallApiGatewayRestApiEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpointProps.kt index f63cab681b..963e275d8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallApiGatewayRestApiEndpointProps.kt @@ -197,7 +197,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * @param api API to call. */ override fun api(api: IRestApi) { - cdkBuilder.api(api.let(IRestApi::unwrap)) + cdkBuilder.api(api.let(IRestApi.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * @param authType Authentication methods. */ override fun authType(authType: AuthType) { - cdkBuilder.authType(authType.let(AuthType::unwrap)) + cdkBuilder.authType(authType.let(AuthType.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * @param headers HTTP request information that does not relate to contents of the request. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -283,14 +283,14 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param method Http method for the API. */ override fun method(method: HttpMethod) { - cdkBuilder.method(method.let(HttpMethod::unwrap)) + cdkBuilder.method(method.let(HttpMethod.Companion::unwrap)) } /** @@ -307,14 +307,14 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * @param queryParameters Query strings attatched to end of request. */ override fun queryParameters(queryParameters: TaskInput) { - cdkBuilder.queryParameters(queryParameters.let(TaskInput::unwrap)) + cdkBuilder.queryParameters(queryParameters.let(TaskInput.Companion::unwrap)) } /** * @param requestBody HTTP Request body. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -365,7 +365,7 @@ public interface CallApiGatewayRestApiEndpointProps : CallApiGatewayEndpointBase */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsService.kt index da335de8f6..c45bb9ab39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsService.kt @@ -45,8 +45,8 @@ public open class CallAwsService( id: String, props: CallAwsServiceProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.CallAwsService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CallAwsServiceProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.CallAwsService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CallAwsServiceProps.Companion::unwrap)) ) public constructor( @@ -350,7 +350,7 @@ public open class CallAwsService( * machine role's policy. */ override fun additionalIamStatements(additionalIamStatements: List) { - cdkBuilder.additionalIamStatements(additionalIamStatements.map(PolicyStatement::unwrap)) + cdkBuilder.additionalIamStatements(additionalIamStatements.map(PolicyStatement.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class CallAwsService( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class CallAwsService( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class CallAwsService( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public open class CallAwsService( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public open class CallAwsService( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class CallAwsService( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.CallAwsService = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsServiceProps.kt index 89b42ce4bf..5609718a9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CallAwsServiceProps.kt @@ -271,7 +271,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { * to read the object on which it must act. */ override fun additionalIamStatements(additionalIamStatements: List) { - cdkBuilder.additionalIamStatements(additionalIamStatements.map(PolicyStatement::unwrap)) + cdkBuilder.additionalIamStatements(additionalIamStatements.map(PolicyStatement.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -442,7 +442,7 @@ public interface CallAwsServiceProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.CallAwsServiceProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Channel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Channel.kt index 68aa53d7a9..0ba78f17e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Channel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Channel.kt @@ -167,7 +167,7 @@ public interface Channel { * @param compressionType Compression type if training data is compressed. */ override fun compressionType(compressionType: CompressionType) { - cdkBuilder.compressionType(compressionType.let(CompressionType::unwrap)) + cdkBuilder.compressionType(compressionType.let(CompressionType.Companion::unwrap)) } /** @@ -181,7 +181,7 @@ public interface Channel { * @param dataSource Location of the channel data. */ override fun dataSource(dataSource: DataSource) { - cdkBuilder.dataSource(dataSource.let(DataSource::unwrap)) + cdkBuilder.dataSource(dataSource.let(DataSource.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface Channel { * @param inputMode Input mode to use for the data channel in a training job. */ override fun inputMode(inputMode: InputMode) { - cdkBuilder.inputMode(inputMode.let(InputMode::unwrap)) + cdkBuilder.inputMode(inputMode.let(InputMode.Companion::unwrap)) } /** @@ -206,14 +206,14 @@ public interface Channel { * If the input data is already in RecordIO format, you don't need to set this attribute. */ override fun recordWrapperType(recordWrapperType: RecordWrapperType) { - cdkBuilder.recordWrapperType(recordWrapperType.let(RecordWrapperType::unwrap)) + cdkBuilder.recordWrapperType(recordWrapperType.let(RecordWrapperType.Companion::unwrap)) } /** * @param shuffleConfig Shuffle config option for input data in a channel. */ override fun shuffleConfig(shuffleConfig: ShuffleConfig) { - cdkBuilder.shuffleConfig(shuffleConfig.let(ShuffleConfig::unwrap)) + cdkBuilder.shuffleConfig(shuffleConfig.let(ShuffleConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuild.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuild.kt index 7fc478a10e..435f44b0ad 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuild.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuild.kt @@ -56,8 +56,8 @@ public open class CodeBuildStartBuild( id: String, props: CodeBuildStartBuildProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuild(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CodeBuildStartBuildProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuild(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CodeBuildStartBuildProps.Companion::unwrap)) ) public constructor( @@ -288,7 +288,7 @@ public open class CodeBuildStartBuild( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class CodeBuildStartBuild( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public open class CodeBuildStartBuild( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CodeBuildStartBuild( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public open class CodeBuildStartBuild( * @param project CodeBuild project to start. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CodeBuildStartBuild( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public open class CodeBuildStartBuild( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuild = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatch.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatch.kt index d7a1282795..67feb6715d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatch.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatch.kt @@ -59,8 +59,8 @@ public open class CodeBuildStartBuildBatch( id: String, props: CodeBuildStartBuildBatchProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuildBatch(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CodeBuildStartBuildBatchProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuildBatch(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CodeBuildStartBuildBatchProps.Companion::unwrap)) ) public constructor( @@ -291,7 +291,7 @@ public open class CodeBuildStartBuildBatch( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -333,7 +333,7 @@ public open class CodeBuildStartBuildBatch( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -347,7 +347,7 @@ public open class CodeBuildStartBuildBatch( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public open class CodeBuildStartBuildBatch( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class CodeBuildStartBuildBatch( * @param project CodeBuild project to start. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class CodeBuildStartBuildBatch( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class CodeBuildStartBuildBatch( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuildBatch diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatchProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatchProps.kt index 0a858f9b1d..7d156495be 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatchProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildBatchProps.kt @@ -193,7 +193,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -230,7 +230,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -251,7 +251,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { * @param project CodeBuild project to start. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public interface CodeBuildStartBuildBatchProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildProps.kt index 88d7f8130e..9e438aed54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CodeBuildStartBuildProps.kt @@ -190,7 +190,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -265,7 +265,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { * @param project CodeBuild project to start. */ override fun project(project: IProject) { - cdkBuilder.project(project.let(IProject::unwrap)) + cdkBuilder.project(project.let(IProject.Companion::unwrap)) } /** @@ -300,7 +300,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public interface CodeBuildStartBuildProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.CodeBuildStartBuildProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CommonEcsRunTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CommonEcsRunTaskProps.kt index 313835d8a0..6c4c242112 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CommonEcsRunTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/CommonEcsRunTaskProps.kt @@ -132,7 +132,7 @@ public interface CommonEcsRunTaskProps { * @param cluster The topic to run the task on. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public interface CommonEcsRunTaskProps { * values you want to override. */ override fun containerOverrides(containerOverrides: List) { - cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface CommonEcsRunTaskProps { * The valid value for Lambda is FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN. */ override fun integrationPattern(integrationPattern: ServiceIntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(ServiceIntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(ServiceIntegrationPattern.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public interface CommonEcsRunTaskProps { * consider using CustomState */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.CommonEcsRunTaskProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinition.kt index a68b2c67d1..5efa076d9e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinition.kt @@ -30,7 +30,7 @@ public open class ContainerDefinition( cdkObject: software.amazon.awscdk.services.stepfunctions.tasks.ContainerDefinition, ) : CdkObject(cdkObject), IContainerDefinition { public constructor(options: ContainerDefinitionOptions) : - this(software.amazon.awscdk.services.stepfunctions.tasks.ContainerDefinition(options.let(ContainerDefinitionOptions::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.ContainerDefinition(options.let(ContainerDefinitionOptions.Companion::unwrap)) ) public constructor(options: ContainerDefinitionOptions.Builder.() -> Unit) : @@ -43,7 +43,7 @@ public open class ContainerDefinition( * @param task */ public override fun bind(task: ISageMakerTask): ContainerDefinitionConfig = - unwrap(this).bind(task.let(ISageMakerTask::unwrap)).let(ContainerDefinitionConfig::wrap) + unwrap(this).bind(task.let(ISageMakerTask.Companion::unwrap)).let(ContainerDefinitionConfig::wrap) /** * A fluent builder for @@ -147,7 +147,7 @@ public open class ContainerDefinition( * @param environmentVariables The environment variables to set in the Docker container. */ override fun environmentVariables(environmentVariables: TaskInput) { - cdkBuilder.environmentVariables(environmentVariables.let(TaskInput::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(TaskInput.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class ContainerDefinition( * stored. */ override fun image(image: DockerImage) { - cdkBuilder.image(image.let(DockerImage::unwrap)) + cdkBuilder.image(image.let(DockerImage.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class ContainerDefinition( * @param mode Defines how many models the container hosts. */ override fun mode(mode: Mode) { - cdkBuilder.mode(mode.let(Mode::unwrap)) + cdkBuilder.mode(mode.let(Mode.Companion::unwrap)) } /** @@ -198,7 +198,7 @@ public open class ContainerDefinition( * training, are stored. */ override fun modelS3Location(modelS3Location: S3Location) { - cdkBuilder.modelS3Location(modelS3Location.let(S3Location::unwrap)) + cdkBuilder.modelS3Location(modelS3Location.let(S3Location.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.ContainerDefinition = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinitionOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinitionOptions.kt index 5d38ab3e8c..09cdfc3058 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinitionOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerDefinitionOptions.kt @@ -146,7 +146,7 @@ public interface ContainerDefinitionOptions { * @param environmentVariables The environment variables to set in the Docker container. */ override fun environmentVariables(environmentVariables: TaskInput) { - cdkBuilder.environmentVariables(environmentVariables.let(TaskInput::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(TaskInput.Companion::unwrap)) } /** @@ -154,14 +154,14 @@ public interface ContainerDefinitionOptions { * stored. */ override fun image(image: DockerImage) { - cdkBuilder.image(image.let(DockerImage::unwrap)) + cdkBuilder.image(image.let(DockerImage.Companion::unwrap)) } /** * @param mode Defines how many models the container hosts. */ override fun mode(mode: Mode) { - cdkBuilder.mode(mode.let(Mode::unwrap)) + cdkBuilder.mode(mode.let(Mode.Companion::unwrap)) } /** @@ -180,7 +180,7 @@ public interface ContainerDefinitionOptions { * algorithms. */ override fun modelS3Location(modelS3Location: S3Location) { - cdkBuilder.modelS3Location(modelS3Location.let(S3Location::unwrap)) + cdkBuilder.modelS3Location(modelS3Location.let(S3Location.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverride.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverride.kt index 2521ab8d48..7eb3bc6fd6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverride.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverride.kt @@ -156,7 +156,7 @@ public interface ContainerOverride { * @param containerDefinition Name of the container inside the task definition. */ override fun containerDefinition(containerDefinition: ContainerDefinition) { - cdkBuilder.containerDefinition(containerDefinition.let(ContainerDefinition::unwrap)) + cdkBuilder.containerDefinition(containerDefinition.let(ContainerDefinition.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public interface ContainerOverride { * definition. */ override fun environment(environment: List) { - cdkBuilder.environment(environment.map(TaskEnvironmentVariable::unwrap)) + cdkBuilder.environment(environment.map(TaskEnvironmentVariable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverrides.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverrides.kt index 29da7fed97..718a92af1b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverrides.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ContainerOverrides.kt @@ -188,7 +188,7 @@ public interface ContainerOverrides { * This parameter is not valid for single-node container jobs. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DataSource.kt index ececa49d08..d2f676847e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DataSource.kt @@ -76,7 +76,7 @@ public interface DataSource { * @param s3DataSource S3 location of the data source that is associated with a channel. */ override fun s3DataSource(s3DataSource: S3DataSource) { - cdkBuilder.s3DataSource(s3DataSource.let(S3DataSource::unwrap)) + cdkBuilder.s3DataSource(s3DataSource.let(S3DataSource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DockerImage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DockerImage.kt index 33c821915e..441a97aef6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DockerImage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DockerImage.kt @@ -37,7 +37,7 @@ public abstract class DockerImage( * @param task */ public open fun bind(task: ISageMakerTask): DockerImageConfig = - unwrap(this).bind(task.let(ISageMakerTask::unwrap)).let(DockerImageConfig::wrap) + unwrap(this).bind(task.let(ISageMakerTask.Companion::unwrap)).let(DockerImageConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.stepfunctions.tasks.DockerImage, @@ -49,8 +49,8 @@ public abstract class DockerImage( id: String, props: DockerImageAssetProps, ): DockerImage = - software.amazon.awscdk.services.stepfunctions.tasks.DockerImage.fromAsset(scope.let(Construct::unwrap), - id, props.let(DockerImageAssetProps::unwrap)).let(DockerImage::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.DockerImage.fromAsset(scope.let(Construct.Companion::unwrap), + id, props.let(DockerImageAssetProps.Companion::unwrap)).let(DockerImage::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("eebac7cfc25e6943cb91fedd0dedf1c8ba2f29664fc592ed7c4d764bb1b13634") @@ -61,10 +61,10 @@ public abstract class DockerImage( ): DockerImage = fromAsset(scope, id, DockerImageAssetProps(props)) public fun fromEcrRepository(repository: IRepository): DockerImage = - software.amazon.awscdk.services.stepfunctions.tasks.DockerImage.fromEcrRepository(repository.let(IRepository::unwrap)).let(DockerImage::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.DockerImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap)).let(DockerImage::wrap) public fun fromEcrRepository(repository: IRepository, tagOrDigest: String): DockerImage = - software.amazon.awscdk.services.stepfunctions.tasks.DockerImage.fromEcrRepository(repository.let(IRepository::unwrap), + software.amazon.awscdk.services.stepfunctions.tasks.DockerImage.fromEcrRepository(repository.let(IRepository.Companion::unwrap), tagOrDigest).let(DockerImage::wrap) public fun fromJsonExpression(expression: String): DockerImage = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoAttributeValue.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoAttributeValue.kt index edb52bc4d1..165dcf8945 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoAttributeValue.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoAttributeValue.kt @@ -62,7 +62,7 @@ public open class DynamoAttributeValue( software.amazon.awscdk.services.stepfunctions.tasks.DynamoAttributeValue.fromBoolean(`value`).let(DynamoAttributeValue::wrap) public fun fromList(`value`: List): DynamoAttributeValue = - software.amazon.awscdk.services.stepfunctions.tasks.DynamoAttributeValue.fromList(`value`.map(DynamoAttributeValue::unwrap)).let(DynamoAttributeValue::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.DynamoAttributeValue.fromList(`value`.map(DynamoAttributeValue.Companion::unwrap)).let(DynamoAttributeValue::wrap) public fun fromList(vararg `value`: DynamoAttributeValue): DynamoAttributeValue = fromList(`value`.toList()) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItem.kt index 2c81215432..5063c0ee75 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItem.kt @@ -41,8 +41,8 @@ public open class DynamoDeleteItem( id: String, props: DynamoDeleteItemProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoDeleteItem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DynamoDeleteItemProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoDeleteItem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DynamoDeleteItemProps.Companion::unwrap)) ) public constructor( @@ -359,7 +359,7 @@ public open class DynamoDeleteItem( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class DynamoDeleteItem( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -429,7 +429,7 @@ public open class DynamoDeleteItem( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class DynamoDeleteItem( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public open class DynamoDeleteItem( * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class DynamoDeleteItem( */ override fun returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoItemCollectionMetrics) { - cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics::unwrap)) + cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public open class DynamoDeleteItem( * before they were deleted. */ override fun returnValues(returnValues: DynamoReturnValues) { - cdkBuilder.returnValues(returnValues.let(DynamoReturnValues::unwrap)) + cdkBuilder.returnValues(returnValues.let(DynamoReturnValues.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public open class DynamoDeleteItem( * @param table The name of the table containing the requested item. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -605,7 +605,7 @@ public open class DynamoDeleteItem( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public open class DynamoDeleteItem( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.DynamoDeleteItem = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItemProps.kt index d31f161977..2e5c9cbcba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoDeleteItemProps.kt @@ -293,7 +293,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -328,7 +328,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { */ override fun returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoItemCollectionMetrics) { - cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics::unwrap)) + cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * before they were deleted. */ override fun returnValues(returnValues: DynamoReturnValues) { - cdkBuilder.returnValues(returnValues.let(DynamoReturnValues::unwrap)) + cdkBuilder.returnValues(returnValues.let(DynamoReturnValues.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * @param table The name of the table containing the requested item. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -458,7 +458,7 @@ public interface DynamoDeleteItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.DynamoDeleteItemProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItem.kt index 940506c66f..bc2f82bdf9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItem.kt @@ -42,8 +42,8 @@ public open class DynamoGetItem( id: String, props: DynamoGetItemProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoGetItem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DynamoGetItemProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoGetItem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DynamoGetItemProps.Companion::unwrap)) ) public constructor( @@ -354,7 +354,7 @@ public open class DynamoGetItem( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public open class DynamoGetItem( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class DynamoGetItem( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class DynamoGetItem( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class DynamoGetItem( * more attributes to retrieve from the table. */ override fun projectionExpression(projectionExpression: List) { - cdkBuilder.projectionExpression(projectionExpression.map(DynamoProjectionExpression::unwrap)) + cdkBuilder.projectionExpression(projectionExpression.map(DynamoProjectionExpression.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class DynamoGetItem( * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class DynamoGetItem( * @param table The name of the table containing the requested item. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class DynamoGetItem( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -600,7 +600,7 @@ public open class DynamoGetItem( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.DynamoGetItem = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItemProps.kt index 4125766e16..f96585d036 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoGetItemProps.kt @@ -270,7 +270,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * These attributes can include scalars, sets, or elements of a JSON document. */ override fun projectionExpression(projectionExpression: List) { - cdkBuilder.projectionExpression(projectionExpression.map(DynamoProjectionExpression::unwrap)) + cdkBuilder.projectionExpression(projectionExpression.map(DynamoProjectionExpression.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * @param table The name of the table containing the requested item. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public interface DynamoGetItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.DynamoGetItemProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItem.kt index 946b96d8b5..fe87c2355b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItem.kt @@ -43,8 +43,8 @@ public open class DynamoPutItem( id: String, props: DynamoPutItemProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoPutItem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DynamoPutItemProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoPutItem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DynamoPutItemProps.Companion::unwrap)) ) public constructor( @@ -354,7 +354,7 @@ public open class DynamoPutItem( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class DynamoPutItem( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -424,7 +424,7 @@ public open class DynamoPutItem( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -459,7 +459,7 @@ public open class DynamoPutItem( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public open class DynamoPutItem( * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public open class DynamoPutItem( */ override fun returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoItemCollectionMetrics) { - cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics::unwrap)) + cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics.Companion::unwrap)) } /** @@ -560,7 +560,7 @@ public open class DynamoPutItem( * before they were updated with the PutItem request. */ override fun returnValues(returnValues: DynamoReturnValues) { - cdkBuilder.returnValues(returnValues.let(DynamoReturnValues::unwrap)) + cdkBuilder.returnValues(returnValues.let(DynamoReturnValues.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public open class DynamoPutItem( * @param table The name of the table where the item should be written . */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -594,7 +594,7 @@ public open class DynamoPutItem( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class DynamoPutItem( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.DynamoPutItem = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItemProps.kt index 17f8a428ce..e032d53e98 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoPutItemProps.kt @@ -285,7 +285,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -396,7 +396,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -404,7 +404,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { */ override fun returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoItemCollectionMetrics) { - cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics::unwrap)) + cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * before they were updated with the PutItem request. */ override fun returnValues(returnValues: DynamoReturnValues) { - cdkBuilder.returnValues(returnValues.let(DynamoReturnValues::unwrap)) + cdkBuilder.returnValues(returnValues.let(DynamoReturnValues.Companion::unwrap)) } /** @@ -426,7 +426,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * @param table The name of the table where the item should be written . */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface DynamoPutItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.DynamoPutItemProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItem.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItem.kt index 26928dda8d..c37c6e2766 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItem.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItem.kt @@ -45,8 +45,8 @@ public open class DynamoUpdateItem( id: String, props: DynamoUpdateItemProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoUpdateItem(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(DynamoUpdateItemProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.DynamoUpdateItem(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(DynamoUpdateItemProps.Companion::unwrap)) ) public constructor( @@ -375,7 +375,7 @@ public open class DynamoUpdateItem( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class DynamoUpdateItem( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class DynamoUpdateItem( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -480,7 +480,7 @@ public open class DynamoUpdateItem( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -557,7 +557,7 @@ public open class DynamoUpdateItem( * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -573,7 +573,7 @@ public open class DynamoUpdateItem( */ override fun returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoItemCollectionMetrics) { - cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics::unwrap)) + cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class DynamoUpdateItem( * before they were deleted. */ override fun returnValues(returnValues: DynamoReturnValues) { - cdkBuilder.returnValues(returnValues.let(DynamoReturnValues::unwrap)) + cdkBuilder.returnValues(returnValues.let(DynamoReturnValues.Companion::unwrap)) } /** @@ -607,7 +607,7 @@ public open class DynamoUpdateItem( * @param table The name of the table containing the requested item. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class DynamoUpdateItem( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class DynamoUpdateItem( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItemProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItemProps.kt index 0104828cc3..5f2e3905e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItemProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/DynamoUpdateItemProps.kt @@ -313,7 +313,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -357,7 +357,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * consumption that is returned in the response. */ override fun returnConsumedCapacity(returnConsumedCapacity: DynamoConsumedCapacity) { - cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity::unwrap)) + cdkBuilder.returnConsumedCapacity(returnConsumedCapacity.let(DynamoConsumedCapacity.Companion::unwrap)) } /** @@ -438,7 +438,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { */ override fun returnItemCollectionMetrics(returnItemCollectionMetrics: DynamoItemCollectionMetrics) { - cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics::unwrap)) + cdkBuilder.returnItemCollectionMetrics(returnItemCollectionMetrics.let(DynamoItemCollectionMetrics.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * before they were deleted. */ override fun returnValues(returnValues: DynamoReturnValues) { - cdkBuilder.returnValues(returnValues.let(DynamoReturnValues::unwrap)) + cdkBuilder.returnValues(returnValues.let(DynamoReturnValues.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * @param table The name of the table containing the requested item. */ override fun table(table: ITable) { - cdkBuilder.table(table.let(ITable::unwrap)) + cdkBuilder.table(table.let(ITable.Companion::unwrap)) } /** @@ -469,7 +469,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public interface DynamoUpdateItemProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTarget.kt index f8282ed14d..482093d867 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTarget.kt @@ -54,7 +54,7 @@ public open class EcsEc2LaunchTarget( ) public constructor(options: EcsEc2LaunchTargetOptions) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EcsEc2LaunchTarget(options.let(EcsEc2LaunchTargetOptions::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EcsEc2LaunchTarget(options.let(EcsEc2LaunchTargetOptions.Companion::unwrap)) ) public constructor(options: EcsEc2LaunchTargetOptions.Builder.() -> Unit) : @@ -68,8 +68,8 @@ public open class EcsEc2LaunchTarget( * @param launchTargetOptions */ public override fun bind(task: EcsRunTask, launchTargetOptions: LaunchTargetBindOptions): - EcsLaunchTargetConfig = unwrap(this).bind(task.let(EcsRunTask::unwrap), - launchTargetOptions.let(LaunchTargetBindOptions::unwrap)).let(EcsLaunchTargetConfig::wrap) + EcsLaunchTargetConfig = unwrap(this).bind(task.let(EcsRunTask.Companion::unwrap), + launchTargetOptions.let(LaunchTargetBindOptions.Companion::unwrap)).let(EcsLaunchTargetConfig::wrap) /** * Called when the EC2 launch type is configured on RunTask. @@ -138,7 +138,7 @@ public open class EcsEc2LaunchTarget( * @param placementConstraints Placement constraints. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class EcsEc2LaunchTarget( * @param placementStrategies Placement strategies. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTargetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTargetOptions.kt index 244c00e10f..1609230a01 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTargetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsEc2LaunchTargetOptions.kt @@ -96,7 +96,7 @@ public interface EcsEc2LaunchTargetOptions { * @param placementConstraints Placement constraints. */ override fun placementConstraints(placementConstraints: List) { - cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint::unwrap)) + cdkBuilder.placementConstraints(placementConstraints.map(PlacementConstraint.Companion::unwrap)) } /** @@ -109,7 +109,7 @@ public interface EcsEc2LaunchTargetOptions { * @param placementStrategies Placement strategies. */ override fun placementStrategies(placementStrategies: List) { - cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy::unwrap)) + cdkBuilder.placementStrategies(placementStrategies.map(PlacementStrategy.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTarget.kt index 4e7c1bf21e..82d48d4d39 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTarget.kt @@ -52,7 +52,7 @@ public open class EcsFargateLaunchTarget( ) public constructor(options: EcsFargateLaunchTargetOptions) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EcsFargateLaunchTarget(options.let(EcsFargateLaunchTargetOptions::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EcsFargateLaunchTarget(options.let(EcsFargateLaunchTargetOptions.Companion::unwrap)) ) public constructor(options: EcsFargateLaunchTargetOptions.Builder.() -> Unit) : @@ -66,8 +66,8 @@ public open class EcsFargateLaunchTarget( * @param launchTargetOptions */ public override fun bind(task: EcsRunTask, launchTargetOptions: LaunchTargetBindOptions): - EcsLaunchTargetConfig = unwrap(this).bind(task.let(EcsRunTask::unwrap), - launchTargetOptions.let(LaunchTargetBindOptions::unwrap)).let(EcsLaunchTargetConfig::wrap) + EcsLaunchTargetConfig = unwrap(this).bind(task.let(EcsRunTask.Companion::unwrap), + launchTargetOptions.let(LaunchTargetBindOptions.Companion::unwrap)).let(EcsLaunchTargetConfig::wrap) /** * Called when the Fargate launch type configured on RunTask. @@ -114,7 +114,7 @@ public open class EcsFargateLaunchTarget( * infrastructure. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EcsFargateLaunchTarget = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTargetOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTargetOptions.kt index ac245501c5..125720199a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTargetOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsFargateLaunchTargetOptions.kt @@ -58,7 +58,7 @@ public interface EcsFargateLaunchTargetOptions { * Fargate platform version is a combination of the kernel and container runtime versions. */ override fun platformVersion(platformVersion: FargatePlatformVersion) { - cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion::unwrap)) + cdkBuilder.platformVersion(platformVersion.let(FargatePlatformVersion.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTask.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTask.kt index ba14012ea0..bf3070eb6c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTask.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTask.kt @@ -70,8 +70,8 @@ public open class EcsRunTask( id: String, props: EcsRunTaskProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTask(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EcsRunTaskProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTask(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EcsRunTaskProps.Companion::unwrap)) ) public constructor( @@ -412,7 +412,7 @@ public open class EcsRunTask( * @param cluster The ECS cluster to run the task on. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class EcsRunTask( * @param containerOverrides Container setting overrides. */ override fun containerOverrides(containerOverrides: List) { - cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class EcsRunTask( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class EcsRunTask( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class EcsRunTask( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class EcsRunTask( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -565,7 +565,7 @@ public open class EcsRunTask( * your tasks and services are hosted. */ override fun launchTarget(launchTarget: IEcsLaunchTarget) { - cdkBuilder.launchTarget(launchTarget.let(IEcsLaunchTarget::unwrap)) + cdkBuilder.launchTarget(launchTarget.let(IEcsLaunchTarget.Companion::unwrap)) } /** @@ -596,7 +596,7 @@ public open class EcsRunTask( * to the task. */ override fun propagatedTagSource(propagatedTagSource: PropagatedTagSource) { - cdkBuilder.propagatedTagSource(propagatedTagSource.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagatedTagSource(propagatedTagSource.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -649,7 +649,7 @@ public open class EcsRunTask( * @param securityGroups Existing security groups to use for the tasks. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -681,7 +681,7 @@ public open class EcsRunTask( * @param subnets Subnets to place the task's ENIs. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class EcsRunTask( * tasks in the service. */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -722,7 +722,7 @@ public open class EcsRunTask( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -735,7 +735,7 @@ public open class EcsRunTask( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTask = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTaskProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTaskProps.kt index 1cbd8ca10a..f202d1f2dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTaskProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EcsRunTaskProps.kt @@ -336,7 +336,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * @param cluster The ECS cluster to run the task on. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * Specify the container to use and the overrides to apply. */ override fun containerOverrides(containerOverrides: List) { - cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride::unwrap)) + cdkBuilder.containerOverrides(containerOverrides.map(ContainerOverride.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -423,7 +423,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * your tasks and services are hosted. */ override fun launchTarget(launchTarget: IEcsLaunchTarget) { - cdkBuilder.launchTarget(launchTarget.let(IEcsLaunchTarget::unwrap)) + cdkBuilder.launchTarget(launchTarget.let(IEcsLaunchTarget.Companion::unwrap)) } /** @@ -450,7 +450,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * An error will be received if you specify the SERVICE option when running a task. */ override fun propagatedTagSource(propagatedTagSource: PropagatedTagSource) { - cdkBuilder.propagatedTagSource(propagatedTagSource.let(PropagatedTagSource::unwrap)) + cdkBuilder.propagatedTagSource(propagatedTagSource.let(PropagatedTagSource.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * @param securityGroups Existing security groups to use for the tasks. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * @param subnets Subnets to place the task's ENIs. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * consider using CustomState */ override fun taskDefinition(taskDefinition: TaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(TaskDefinition.Companion::unwrap)) } /** @@ -532,7 +532,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -541,7 +541,7 @@ public interface EcsRunTaskProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTaskProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCall.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCall.kt index 4cdd6fa89d..f1d6a0efed 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCall.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCall.kt @@ -49,8 +49,8 @@ public open class EksCall( id: String, props: EksCallProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EksCall(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EksCallProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EksCall(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EksCallProps.Companion::unwrap)) ) public constructor( @@ -283,7 +283,7 @@ public open class EksCall( * @param cluster The EKS cluster. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class EksCall( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class EksCall( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class EksCall( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class EksCall( * @param httpMethod HTTP method ("GET", "POST", "PUT", ...) part of HTTP request. */ override fun httpMethod(httpMethod: HttpMethods) { - cdkBuilder.httpMethod(httpMethod.let(HttpMethods::unwrap)) + cdkBuilder.httpMethod(httpMethod.let(HttpMethods.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class EksCall( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class EksCall( * @param requestBody Request body part of HTTP request. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -500,7 +500,7 @@ public open class EksCall( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class EksCall( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EksCall = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCallProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCallProps.kt index e5e4d39bce..cff9e317a2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCallProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksCallProps.kt @@ -203,7 +203,7 @@ public interface EksCallProps : TaskStateBaseProps { * @param cluster The EKS cluster. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface EksCallProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public interface EksCallProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -247,14 +247,14 @@ public interface EksCallProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** * @param httpMethod HTTP method ("GET", "POST", "PUT", ...) part of HTTP request. */ override fun httpMethod(httpMethod: HttpMethods) { - cdkBuilder.httpMethod(httpMethod.let(HttpMethods::unwrap)) + cdkBuilder.httpMethod(httpMethod.let(HttpMethods.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public interface EksCallProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public interface EksCallProps : TaskStateBaseProps { * @param requestBody Request body part of HTTP request. */ override fun requestBody(requestBody: TaskInput) { - cdkBuilder.requestBody(requestBody.let(TaskInput::unwrap)) + cdkBuilder.requestBody(requestBody.let(TaskInput.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface EksCallProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface EksCallProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EksCallProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksClusterInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksClusterInput.kt index 3cdbf94561..ade0a4db07 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksClusterInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EksClusterInput.kt @@ -29,10 +29,10 @@ public open class EksClusterInput( public companion object { public fun fromCluster(cluster: ICluster): EksClusterInput = - software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput.fromCluster(cluster.let(ICluster::unwrap)).let(EksClusterInput::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput.fromCluster(cluster.let(ICluster.Companion::unwrap)).let(EksClusterInput::wrap) public fun fromTaskInput(taskInput: TaskInput): EksClusterInput = - software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput.fromTaskInput(taskInput.let(TaskInput::unwrap)).let(EksClusterInput::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput.fromTaskInput(taskInput.let(TaskInput.Companion::unwrap)).let(EksClusterInput::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.stepfunctions.tasks.EksClusterInput): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStep.kt index 15626bbabf..26cc0b2785 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStep.kt @@ -45,8 +45,8 @@ public open class EmrAddStep( id: String, props: EmrAddStepProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrAddStep(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrAddStepProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrAddStep(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrAddStepProps.Companion::unwrap)) ) public constructor( @@ -332,7 +332,7 @@ public open class EmrAddStep( * @param actionOnFailure The action to take when the cluster step fails. */ override fun actionOnFailure(actionOnFailure: ActionOnFailure) { - cdkBuilder.actionOnFailure(actionOnFailure.let(ActionOnFailure::unwrap)) + cdkBuilder.actionOnFailure(actionOnFailure.let(ActionOnFailure.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class EmrAddStep( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public open class EmrAddStep( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class EmrAddStep( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class EmrAddStep( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public open class EmrAddStep( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public open class EmrAddStep( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrAddStep = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStepProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStepProps.kt index cfd7cf549f..e742a88f47 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStepProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrAddStepProps.kt @@ -261,7 +261,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { * @param actionOnFailure The action to take when the cluster step fails. */ override fun actionOnFailure(actionOnFailure: ActionOnFailure) { - cdkBuilder.actionOnFailure(actionOnFailure.let(ActionOnFailure::unwrap)) + cdkBuilder.actionOnFailure(actionOnFailure.let(ActionOnFailure.Companion::unwrap)) } /** @@ -298,7 +298,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -439,7 +439,7 @@ public interface EmrAddStepProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrAddStepProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStep.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStep.kt index b32df41725..c6f348118e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStep.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStep.kt @@ -38,8 +38,8 @@ public open class EmrCancelStep( id: String, props: EmrCancelStepProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrCancelStep(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrCancelStepProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrCancelStep(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrCancelStepProps.Companion::unwrap)) ) public constructor( @@ -273,7 +273,7 @@ public open class EmrCancelStep( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public open class EmrCancelStep( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class EmrCancelStep( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public open class EmrCancelStep( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class EmrCancelStep( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class EmrCancelStep( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrCancelStep = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStepProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStepProps.kt index 96bb22020f..a8a690d59f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStepProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCancelStepProps.kt @@ -175,7 +175,7 @@ public interface EmrCancelStepProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface EmrCancelStepProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface EmrCancelStepProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public interface EmrCancelStepProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface EmrCancelStepProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface EmrCancelStepProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrCancelStepProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualCluster.kt index 436fef7d97..bf542cea74 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualCluster.kt @@ -40,8 +40,8 @@ public open class EmrContainersCreateVirtualCluster( id: String, props: EmrContainersCreateVirtualClusterProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersCreateVirtualCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrContainersCreateVirtualClusterProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersCreateVirtualCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrContainersCreateVirtualClusterProps.Companion::unwrap)) ) public constructor( @@ -289,7 +289,7 @@ public open class EmrContainersCreateVirtualCluster( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class EmrContainersCreateVirtualCluster( * @param eksCluster EKS Cluster or task input that contains the name of the cluster. */ override fun eksCluster(eksCluster: EksClusterInput) { - cdkBuilder.eksCluster(eksCluster.let(EksClusterInput::unwrap)) + cdkBuilder.eksCluster(eksCluster.let(EksClusterInput.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class EmrContainersCreateVirtualCluster( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class EmrContainersCreateVirtualCluster( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class EmrContainersCreateVirtualCluster( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class EmrContainersCreateVirtualCluster( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -483,7 +483,7 @@ public open class EmrContainersCreateVirtualCluster( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualClusterProps.kt index 9c9037d33f..39dd464600 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersCreateVirtualClusterProps.kt @@ -195,7 +195,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { * @param eksCluster EKS Cluster or task input that contains the name of the cluster. */ override fun eksCluster(eksCluster: EksClusterInput) { - cdkBuilder.eksCluster(eksCluster.let(EksClusterInput::unwrap)) + cdkBuilder.eksCluster(eksCluster.let(EksClusterInput.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -319,7 +319,7 @@ public interface EmrContainersCreateVirtualClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualCluster.kt index df05c728e2..7ddfd7d42b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualCluster.kt @@ -40,8 +40,8 @@ public open class EmrContainersDeleteVirtualCluster( id: String, props: EmrContainersDeleteVirtualClusterProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersDeleteVirtualCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrContainersDeleteVirtualClusterProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersDeleteVirtualCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrContainersDeleteVirtualClusterProps.Companion::unwrap)) ) public constructor( @@ -262,7 +262,7 @@ public open class EmrContainersDeleteVirtualCluster( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class EmrContainersDeleteVirtualCluster( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -305,7 +305,7 @@ public open class EmrContainersDeleteVirtualCluster( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class EmrContainersDeleteVirtualCluster( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public open class EmrContainersDeleteVirtualCluster( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class EmrContainersDeleteVirtualCluster( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -434,7 +434,7 @@ public open class EmrContainersDeleteVirtualCluster( * @param virtualClusterId The ID of the virtual cluster that will be deleted. */ override fun virtualClusterId(virtualClusterId: TaskInput) { - cdkBuilder.virtualClusterId(virtualClusterId.let(TaskInput::unwrap)) + cdkBuilder.virtualClusterId(virtualClusterId.let(TaskInput.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualClusterProps.kt index ead33abe35..8264f034ec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersDeleteVirtualClusterProps.kt @@ -159,7 +159,7 @@ public interface EmrContainersDeleteVirtualClusterProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -178,7 +178,7 @@ public interface EmrContainersDeleteVirtualClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface EmrContainersDeleteVirtualClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -208,7 +208,7 @@ public interface EmrContainersDeleteVirtualClusterProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public interface EmrContainersDeleteVirtualClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -262,14 +262,14 @@ public interface EmrContainersDeleteVirtualClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param virtualClusterId The ID of the virtual cluster that will be deleted. */ override fun virtualClusterId(virtualClusterId: TaskInput) { - cdkBuilder.virtualClusterId(virtualClusterId.let(TaskInput::unwrap)) + cdkBuilder.virtualClusterId(virtualClusterId.let(TaskInput.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRun.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRun.kt index fa906d1acf..1329c05a08 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRun.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRun.kt @@ -60,8 +60,8 @@ public open class EmrContainersStartJobRun( id: String, props: EmrContainersStartJobRunProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersStartJobRun(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrContainersStartJobRunProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersStartJobRun(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrContainersStartJobRunProps.Companion::unwrap)) ) public constructor( @@ -380,7 +380,7 @@ public open class EmrContainersStartJobRun( * @param applicationConfig The configurations for the application running in the job run. */ override fun applicationConfig(applicationConfig: List) { - cdkBuilder.applicationConfig(applicationConfig.map(ApplicationConfiguration::unwrap)) + cdkBuilder.applicationConfig(applicationConfig.map(ApplicationConfiguration.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class EmrContainersStartJobRun( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -451,7 +451,7 @@ public open class EmrContainersStartJobRun( * @param executionRole The execution role for the job run. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public open class EmrContainersStartJobRun( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -478,7 +478,7 @@ public open class EmrContainersStartJobRun( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class EmrContainersStartJobRun( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class EmrContainersStartJobRun( * @param jobDriver The job driver for the job run. */ override fun jobDriver(jobDriver: JobDriver) { - cdkBuilder.jobDriver(jobDriver.let(JobDriver::unwrap)) + cdkBuilder.jobDriver(jobDriver.let(JobDriver.Companion::unwrap)) } /** @@ -558,7 +558,7 @@ public open class EmrContainersStartJobRun( * @param monitoring Configuration for monitoring the job run. */ override fun monitoring(monitoring: Monitoring) { - cdkBuilder.monitoring(monitoring.let(Monitoring::unwrap)) + cdkBuilder.monitoring(monitoring.let(Monitoring.Companion::unwrap)) } /** @@ -597,7 +597,7 @@ public open class EmrContainersStartJobRun( * @param releaseLabel The Amazon EMR release version to use for the job run. */ override fun releaseLabel(releaseLabel: ReleaseLabel) { - cdkBuilder.releaseLabel(releaseLabel.let(ReleaseLabel::unwrap)) + cdkBuilder.releaseLabel(releaseLabel.let(ReleaseLabel.Companion::unwrap)) } /** @@ -664,7 +664,7 @@ public open class EmrContainersStartJobRun( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -677,7 +677,7 @@ public open class EmrContainersStartJobRun( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -686,7 +686,7 @@ public open class EmrContainersStartJobRun( * @param virtualCluster The ID of the virtual cluster where the job will be run. */ override fun virtualCluster(virtualCluster: VirtualClusterInput) { - cdkBuilder.virtualCluster(virtualCluster.let(VirtualClusterInput::unwrap)) + cdkBuilder.virtualCluster(virtualCluster.let(VirtualClusterInput.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrContainersStartJobRun diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRunProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRunProps.kt index eda894bdb6..97d663b69c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRunProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrContainersStartJobRunProps.kt @@ -283,7 +283,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * Maximum of 100 items */ override fun applicationConfig(applicationConfig: List) { - cdkBuilder.applicationConfig(applicationConfig.map(ApplicationConfiguration::unwrap)) + cdkBuilder.applicationConfig(applicationConfig.map(ApplicationConfiguration.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -325,7 +325,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * If an execution role is provided, follow the documentation to update the role trust policy. */ override fun executionRole(executionRole: IRole) { - cdkBuilder.executionRole(executionRole.let(IRole::unwrap)) + cdkBuilder.executionRole(executionRole.let(IRole.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -364,14 +364,14 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param jobDriver The job driver for the job run. */ override fun jobDriver(jobDriver: JobDriver) { - cdkBuilder.jobDriver(jobDriver.let(JobDriver::unwrap)) + cdkBuilder.jobDriver(jobDriver.let(JobDriver.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * @param monitoring Configuration for monitoring the job run. */ override fun monitoring(monitoring: Monitoring) { - cdkBuilder.monitoring(monitoring.let(Monitoring::unwrap)) + cdkBuilder.monitoring(monitoring.let(Monitoring.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * @param releaseLabel The Amazon EMR release version to use for the job run. */ override fun releaseLabel(releaseLabel: ReleaseLabel) { - cdkBuilder.releaseLabel(releaseLabel.let(ReleaseLabel::unwrap)) + cdkBuilder.releaseLabel(releaseLabel.let(ReleaseLabel.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -469,14 +469,14 @@ public interface EmrContainersStartJobRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param virtualCluster The ID of the virtual cluster where the job will be run. */ override fun virtualCluster(virtualCluster: VirtualClusterInput) { - cdkBuilder.virtualCluster(virtualCluster.let(VirtualClusterInput::unwrap)) + cdkBuilder.virtualCluster(virtualCluster.let(VirtualClusterInput.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateCluster.kt index 7e219b27e4..6736352b81 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateCluster.kt @@ -67,8 +67,8 @@ public open class EmrCreateCluster( id: String, props: EmrCreateClusterProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrCreateClusterProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrCreateClusterProps.Companion::unwrap)) ) public constructor( @@ -544,7 +544,7 @@ public open class EmrCreateCluster( * configure when launching the cluster. */ override fun applications(applications: List) { - cdkBuilder.applications(applications.map(ApplicationConfigProperty::unwrap)) + cdkBuilder.applications(applications.map(ApplicationConfigProperty.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class EmrCreateCluster( * @param autoScalingRole An IAM role for automatic scaling policies. */ override fun autoScalingRole(autoScalingRole: IRole) { - cdkBuilder.autoScalingRole(autoScalingRole.let(IRole::unwrap)) + cdkBuilder.autoScalingRole(autoScalingRole.let(IRole.Companion::unwrap)) } /** @@ -579,7 +579,7 @@ public open class EmrCreateCluster( * cluster nodes. */ override fun bootstrapActions(bootstrapActions: List) { - cdkBuilder.bootstrapActions(bootstrapActions.map(BootstrapActionConfigProperty::unwrap)) + cdkBuilder.bootstrapActions(bootstrapActions.map(BootstrapActionConfigProperty.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public open class EmrCreateCluster( * @param clusterRole Also called instance profile and EC2 role. */ override fun clusterRole(clusterRole: IRole) { - cdkBuilder.clusterRole(clusterRole.let(IRole::unwrap)) + cdkBuilder.clusterRole(clusterRole.let(IRole.Companion::unwrap)) } /** @@ -629,7 +629,7 @@ public open class EmrCreateCluster( * creating. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(ConfigurationProperty::unwrap)) + cdkBuilder.configurations(configurations.map(ConfigurationProperty.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class EmrCreateCluster( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -694,7 +694,7 @@ public open class EmrCreateCluster( * for each EC2 instance. */ override fun ebsRootVolumeSize(ebsRootVolumeSize: Size) { - cdkBuilder.ebsRootVolumeSize(ebsRootVolumeSize.let(Size::unwrap)) + cdkBuilder.ebsRootVolumeSize(ebsRootVolumeSize.let(Size.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public open class EmrCreateCluster( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public open class EmrCreateCluster( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -745,7 +745,7 @@ public open class EmrCreateCluster( * @param instances A specification of the number and type of Amazon EC2 instances. */ override fun instances(instances: InstancesConfigProperty) { - cdkBuilder.instances(instances.let(InstancesConfigProperty::unwrap)) + cdkBuilder.instances(instances.let(InstancesConfigProperty.Companion::unwrap)) } /** @@ -775,7 +775,7 @@ public open class EmrCreateCluster( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -788,7 +788,7 @@ public open class EmrCreateCluster( * is enabled using a security configuration. */ override fun kerberosAttributes(kerberosAttributes: KerberosAttributesProperty) { - cdkBuilder.kerberosAttributes(kerberosAttributes.let(KerberosAttributesProperty::unwrap)) + cdkBuilder.kerberosAttributes(kerberosAttributes.let(KerberosAttributesProperty.Companion::unwrap)) } /** @@ -896,7 +896,7 @@ public open class EmrCreateCluster( * when an automatic scale-in activity occurs or an instance group is resized. */ override fun scaleDownBehavior(scaleDownBehavior: EmrClusterScaleDownBehavior) { - cdkBuilder.scaleDownBehavior(scaleDownBehavior.let(EmrClusterScaleDownBehavior::unwrap)) + cdkBuilder.scaleDownBehavior(scaleDownBehavior.let(EmrClusterScaleDownBehavior.Companion::unwrap)) } /** @@ -920,7 +920,7 @@ public open class EmrCreateCluster( * resources on your behalf. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -972,7 +972,7 @@ public open class EmrCreateCluster( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -985,7 +985,7 @@ public open class EmrCreateCluster( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1327,7 +1327,7 @@ public open class EmrCreateCluster( * group to grow above or below these limits. */ override fun constraints(constraints: ScalingConstraintsProperty) { - cdkBuilder.constraints(constraints.let(ScalingConstraintsProperty::unwrap)) + cdkBuilder.constraints(constraints.let(ScalingConstraintsProperty.Companion::unwrap)) } /** @@ -1345,7 +1345,7 @@ public open class EmrCreateCluster( * @param rules The scale-in and scale-out rules that comprise the automatic scaling policy. */ override fun rules(rules: List) { - cdkBuilder.rules(rules.map(ScalingRuleProperty::unwrap)) + cdkBuilder.rules(rules.map(ScalingRuleProperty.Companion::unwrap)) } /** @@ -1472,7 +1472,7 @@ public open class EmrCreateCluster( */ override fun scriptBootstrapAction(scriptBootstrapAction: ScriptBootstrapActionConfigProperty) { - cdkBuilder.scriptBootstrapAction(scriptBootstrapAction.let(ScriptBootstrapActionConfigProperty::unwrap)) + cdkBuilder.scriptBootstrapAction(scriptBootstrapAction.let(ScriptBootstrapActionConfigProperty.Companion::unwrap)) } /** @@ -1728,14 +1728,14 @@ public open class EmrCreateCluster( * the value specified by Threshold. */ override fun comparisonOperator(comparisonOperator: CloudWatchAlarmComparisonOperator) { - cdkBuilder.comparisonOperator(comparisonOperator.let(CloudWatchAlarmComparisonOperator::unwrap)) + cdkBuilder.comparisonOperator(comparisonOperator.let(CloudWatchAlarmComparisonOperator.Companion::unwrap)) } /** * @param dimensions A CloudWatch metric dimension. */ override fun dimensions(dimensions: List) { - cdkBuilder.dimensions(dimensions.map(MetricDimensionProperty::unwrap)) + cdkBuilder.dimensions(dimensions.map(MetricDimensionProperty.Companion::unwrap)) } /** @@ -1773,14 +1773,14 @@ public open class EmrCreateCluster( * an EMR CloudWatch metric is specified, specify 300. */ override fun period(period: Duration) { - cdkBuilder.period(period.let(Duration::unwrap)) + cdkBuilder.period(period.let(Duration.Companion::unwrap)) } /** * @param statistic The statistic to apply to the metric associated with the alarm. */ override fun statistic(statistic: CloudWatchAlarmStatistic) { - cdkBuilder.statistic(statistic.let(CloudWatchAlarmStatistic::unwrap)) + cdkBuilder.statistic(statistic.let(CloudWatchAlarmStatistic.Companion::unwrap)) } /** @@ -1796,7 +1796,7 @@ public open class EmrCreateCluster( * specified in the CloudWatch metric. */ override fun unit(unit: CloudWatchAlarmUnit) { - cdkBuilder.unit(unit.let(CloudWatchAlarmUnit::unwrap)) + cdkBuilder.unit(unit.let(CloudWatchAlarmUnit.Companion::unwrap)) } public fun build(): @@ -2120,7 +2120,7 @@ public open class EmrCreateCluster( * object. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(ConfigurationProperty::unwrap)) + cdkBuilder.configurations(configurations.map(ConfigurationProperty.Companion::unwrap)) } /** @@ -2266,7 +2266,7 @@ public open class EmrCreateCluster( * (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster. */ override fun volumeSpecification(volumeSpecification: VolumeSpecificationProperty) { - cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty::unwrap)) + cdkBuilder.volumeSpecification(volumeSpecification.let(VolumeSpecificationProperty.Companion::unwrap)) } /** @@ -2445,7 +2445,7 @@ public open class EmrCreateCluster( */ override fun ebsBlockDeviceConfigs(ebsBlockDeviceConfigs: List) { - cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.map(EbsBlockDeviceConfigProperty::unwrap)) + cdkBuilder.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.map(EbsBlockDeviceConfigProperty.Companion::unwrap)) } /** @@ -2735,7 +2735,7 @@ public open class EmrCreateCluster( * Valid values are MASTER,CORE,and TASK. */ override fun instanceFleetType(instanceFleetType: InstanceRoleType) { - cdkBuilder.instanceFleetType(instanceFleetType.let(InstanceRoleType::unwrap)) + cdkBuilder.instanceFleetType(instanceFleetType.let(InstanceRoleType.Companion::unwrap)) } /** @@ -2743,7 +2743,7 @@ public open class EmrCreateCluster( * in the instance fleet. */ override fun instanceTypeConfigs(instanceTypeConfigs: List) { - cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.map(InstanceTypeConfigProperty::unwrap)) + cdkBuilder.instanceTypeConfigs(instanceTypeConfigs.map(InstanceTypeConfigProperty.Companion::unwrap)) } /** @@ -2758,7 +2758,7 @@ public open class EmrCreateCluster( */ override fun launchSpecifications(launchSpecifications: InstanceFleetProvisioningSpecificationsProperty) { - cdkBuilder.launchSpecifications(launchSpecifications.let(InstanceFleetProvisioningSpecificationsProperty::unwrap)) + cdkBuilder.launchSpecifications(launchSpecifications.let(InstanceFleetProvisioningSpecificationsProperty.Companion::unwrap)) } /** @@ -3029,7 +3029,7 @@ public open class EmrCreateCluster( */ override fun onDemandSpecification(onDemandSpecification: OnDemandProvisioningSpecificationProperty) { - cdkBuilder.onDemandSpecification(onDemandSpecification.let(OnDemandProvisioningSpecificationProperty::unwrap)) + cdkBuilder.onDemandSpecification(onDemandSpecification.let(OnDemandProvisioningSpecificationProperty.Companion::unwrap)) } /** @@ -3052,7 +3052,7 @@ public open class EmrCreateCluster( * determines the defined duration and provisioning timeout behavior. */ override fun spotSpecification(spotSpecification: SpotProvisioningSpecificationProperty) { - cdkBuilder.spotSpecification(spotSpecification.let(SpotProvisioningSpecificationProperty::unwrap)) + cdkBuilder.spotSpecification(spotSpecification.let(SpotProvisioningSpecificationProperty.Companion::unwrap)) } /** @@ -3350,7 +3350,7 @@ public open class EmrCreateCluster( * instance group in an Amazon EMR cluster. */ override fun autoScalingPolicy(autoScalingPolicy: AutoScalingPolicyProperty) { - cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty::unwrap)) + cdkBuilder.autoScalingPolicy(autoScalingPolicy.let(AutoScalingPolicyProperty.Companion::unwrap)) } /** @@ -3376,7 +3376,7 @@ public open class EmrCreateCluster( * group. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(ConfigurationProperty::unwrap)) + cdkBuilder.configurations(configurations.map(ConfigurationProperty.Companion::unwrap)) } /** @@ -3391,7 +3391,7 @@ public open class EmrCreateCluster( * the instance group. */ override fun ebsConfiguration(ebsConfiguration: EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty.Companion::unwrap)) } /** @@ -3414,7 +3414,7 @@ public open class EmrCreateCluster( * @param instanceRole The role of the instance group in the cluster. */ override fun instanceRole(instanceRole: InstanceRoleType) { - cdkBuilder.instanceRole(instanceRole.let(InstanceRoleType::unwrap)) + cdkBuilder.instanceRole(instanceRole.let(InstanceRoleType.Companion::unwrap)) } /** @@ -3428,7 +3428,7 @@ public open class EmrCreateCluster( * @param market Market type of the EC2 instances used to create a cluster node. */ override fun market(market: InstanceMarket) { - cdkBuilder.market(market.let(InstanceMarket::unwrap)) + cdkBuilder.market(market.let(InstanceMarket.Companion::unwrap)) } /** @@ -3765,7 +3765,7 @@ public open class EmrCreateCluster( * cluster. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(ConfigurationProperty::unwrap)) + cdkBuilder.configurations(configurations.map(ConfigurationProperty.Companion::unwrap)) } /** @@ -3781,7 +3781,7 @@ public open class EmrCreateCluster( * each instance as defined by InstanceType. */ override fun ebsConfiguration(ebsConfiguration: EbsConfigurationProperty) { - cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty::unwrap)) + cdkBuilder.ebsConfiguration(ebsConfiguration.let(EbsConfigurationProperty.Companion::unwrap)) } /** @@ -4307,7 +4307,7 @@ public open class EmrCreateCluster( * excluding 5.0.x versions. */ override fun instanceFleets(instanceFleets: List) { - cdkBuilder.instanceFleets(instanceFleets.map(InstanceFleetConfigProperty::unwrap)) + cdkBuilder.instanceFleets(instanceFleets.map(InstanceFleetConfigProperty.Companion::unwrap)) } /** @@ -4323,7 +4323,7 @@ public open class EmrCreateCluster( * @param instanceGroups Configuration for the instance groups in a cluster. */ override fun instanceGroups(instanceGroups: List) { - cdkBuilder.instanceGroups(instanceGroups.map(InstanceGroupConfigProperty::unwrap)) + cdkBuilder.instanceGroups(instanceGroups.map(InstanceGroupConfigProperty.Companion::unwrap)) } /** @@ -4343,7 +4343,7 @@ public open class EmrCreateCluster( * @param placement The Availability Zone in which the cluster runs. */ override fun placement(placement: PlacementTypeProperty) { - cdkBuilder.placement(placement.let(PlacementTypeProperty::unwrap)) + cdkBuilder.placement(placement.let(PlacementTypeProperty.Companion::unwrap)) } /** @@ -4974,7 +4974,7 @@ public open class EmrCreateCluster( * first. */ override fun allocationStrategy(allocationStrategy: OnDemandAllocationStrategy) { - cdkBuilder.allocationStrategy(allocationStrategy.let(OnDemandAllocationStrategy::unwrap)) + cdkBuilder.allocationStrategy(allocationStrategy.let(OnDemandAllocationStrategy.Companion::unwrap)) } public fun build(): @@ -5250,7 +5250,7 @@ public open class EmrCreateCluster( * Instance groups use the market type specified for the group. */ override fun market(market: InstanceMarket) { - cdkBuilder.market(market.let(InstanceMarket::unwrap)) + cdkBuilder.market(market.let(InstanceMarket.Companion::unwrap)) } /** @@ -5259,7 +5259,7 @@ public open class EmrCreateCluster( */ override fun simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration: SimpleScalingPolicyConfigurationProperty) { - cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(SimpleScalingPolicyConfigurationProperty::unwrap)) + cdkBuilder.simpleScalingPolicyConfiguration(simpleScalingPolicyConfiguration.let(SimpleScalingPolicyConfigurationProperty.Companion::unwrap)) } /** @@ -5601,7 +5601,7 @@ public open class EmrCreateCluster( * @param action The conditions that trigger an automatic scaling activity. */ override fun action(action: ScalingActionProperty) { - cdkBuilder.action(action.let(ScalingActionProperty::unwrap)) + cdkBuilder.action(action.let(ScalingActionProperty.Companion::unwrap)) } /** @@ -5632,7 +5632,7 @@ public open class EmrCreateCluster( * activity is triggered. */ override fun trigger(trigger: ScalingTriggerProperty) { - cdkBuilder.trigger(trigger.let(ScalingTriggerProperty::unwrap)) + cdkBuilder.trigger(trigger.let(ScalingTriggerProperty.Companion::unwrap)) } /** @@ -5779,7 +5779,7 @@ public open class EmrCreateCluster( */ override fun cloudWatchAlarmDefinition(cloudWatchAlarmDefinition: CloudWatchAlarmDefinitionProperty) { - cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(CloudWatchAlarmDefinitionProperty::unwrap)) + cdkBuilder.cloudWatchAlarmDefinition(cloudWatchAlarmDefinition.let(CloudWatchAlarmDefinitionProperty.Companion::unwrap)) } /** @@ -6046,7 +6046,7 @@ public open class EmrCreateCluster( * scaling activity is triggered. */ override fun adjustmentType(adjustmentType: ScalingAdjustmentType) { - cdkBuilder.adjustmentType(adjustmentType.let(ScalingAdjustmentType::unwrap)) + cdkBuilder.adjustmentType(adjustmentType.let(ScalingAdjustmentType.Companion::unwrap)) } /** @@ -6306,7 +6306,7 @@ public open class EmrCreateCluster( * @param allocationStrategy Specifies the strategy to use in launching Spot Instance fleets. */ override fun allocationStrategy(allocationStrategy: SpotAllocationStrategy) { - cdkBuilder.allocationStrategy(allocationStrategy.let(SpotAllocationStrategy::unwrap)) + cdkBuilder.allocationStrategy(allocationStrategy.let(SpotAllocationStrategy.Companion::unwrap)) } /** @@ -6329,7 +6329,7 @@ public open class EmrCreateCluster( * You must specify one of `timeout` and `timeoutDurationMinutes`. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -6337,7 +6337,7 @@ public open class EmrCreateCluster( * the TimeoutDurationMinutes has expired. */ override fun timeoutAction(timeoutAction: SpotTimeoutAction) { - cdkBuilder.timeoutAction(timeoutAction.let(SpotTimeoutAction::unwrap)) + cdkBuilder.timeoutAction(timeoutAction.let(SpotTimeoutAction.Companion::unwrap)) } /** @@ -6547,7 +6547,7 @@ public open class EmrCreateCluster( * Maximum size is 1TiB */ override fun volumeSize(volumeSize: Size) { - cdkBuilder.volumeSize(volumeSize.let(Size::unwrap)) + cdkBuilder.volumeSize(volumeSize.let(Size.Companion::unwrap)) } /** @@ -6555,7 +6555,7 @@ public open class EmrCreateCluster( * Volume types supported are gp2, io1, standard. */ override fun volumeType(volumeType: EbsBlockDeviceVolumeType) { - cdkBuilder.volumeType(volumeType.let(EbsBlockDeviceVolumeType::unwrap)) + cdkBuilder.volumeType(volumeType.let(EbsBlockDeviceVolumeType.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateClusterProps.kt index 2fac8be838..4e310ed8a4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrCreateClusterProps.kt @@ -473,7 +473,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * configure when launching the cluster. */ override fun applications(applications: List) { - cdkBuilder.applications(applications.map(EmrCreateCluster.ApplicationConfigProperty::unwrap)) + cdkBuilder.applications(applications.map(EmrCreateCluster.ApplicationConfigProperty.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * @param autoScalingRole An IAM role for automatic scaling policies. */ override fun autoScalingRole(autoScalingRole: IRole) { - cdkBuilder.autoScalingRole(autoScalingRole.let(IRole::unwrap)) + cdkBuilder.autoScalingRole(autoScalingRole.let(IRole.Companion::unwrap)) } /** @@ -496,7 +496,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { */ override fun bootstrapActions(bootstrapActions: List) { - cdkBuilder.bootstrapActions(bootstrapActions.map(EmrCreateCluster.BootstrapActionConfigProperty::unwrap)) + cdkBuilder.bootstrapActions(bootstrapActions.map(EmrCreateCluster.BootstrapActionConfigProperty.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * ERM/StepFunction integration parameters. */ override fun clusterRole(clusterRole: IRole) { - cdkBuilder.clusterRole(clusterRole.let(IRole::unwrap)) + cdkBuilder.clusterRole(clusterRole.let(IRole.Companion::unwrap)) } /** @@ -530,7 +530,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * creating. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(EmrCreateCluster.ConfigurationProperty::unwrap)) + cdkBuilder.configurations(configurations.map(EmrCreateCluster.ConfigurationProperty.Companion::unwrap)) } /** @@ -546,7 +546,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -571,7 +571,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * for each EC2 instance. */ override fun ebsRootVolumeSize(ebsRootVolumeSize: Size) { - cdkBuilder.ebsRootVolumeSize(ebsRootVolumeSize.let(Size::unwrap)) + cdkBuilder.ebsRootVolumeSize(ebsRootVolumeSize.let(Size.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -589,7 +589,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * @param instances A specification of the number and type of Amazon EC2 instances. */ override fun instances(instances: EmrCreateCluster.InstancesConfigProperty) { - cdkBuilder.instances(instances.let(EmrCreateCluster.InstancesConfigProperty::unwrap)) + cdkBuilder.instances(instances.let(EmrCreateCluster.InstancesConfigProperty.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { */ override fun kerberosAttributes(kerberosAttributes: EmrCreateCluster.KerberosAttributesProperty) { - cdkBuilder.kerberosAttributes(kerberosAttributes.let(EmrCreateCluster.KerberosAttributesProperty::unwrap)) + cdkBuilder.kerberosAttributes(kerberosAttributes.let(EmrCreateCluster.KerberosAttributesProperty.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { */ override fun scaleDownBehavior(scaleDownBehavior: EmrCreateCluster.EmrClusterScaleDownBehavior) { - cdkBuilder.scaleDownBehavior(scaleDownBehavior.let(EmrCreateCluster.EmrClusterScaleDownBehavior::unwrap)) + cdkBuilder.scaleDownBehavior(scaleDownBehavior.let(EmrCreateCluster.EmrClusterScaleDownBehavior.Companion::unwrap)) } /** @@ -719,7 +719,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * resources on your behalf. */ override fun serviceRole(serviceRole: IRole) { - cdkBuilder.serviceRole(serviceRole.let(IRole::unwrap)) + cdkBuilder.serviceRole(serviceRole.let(IRole.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public interface EmrCreateClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByName.kt index 51d5f3244f..1e37675dce 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByName.kt @@ -41,8 +41,8 @@ public open class EmrModifyInstanceFleetByName( id: String, props: EmrModifyInstanceFleetByNameProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceFleetByName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrModifyInstanceFleetByNameProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceFleetByName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrModifyInstanceFleetByNameProps.Companion::unwrap)) ) public constructor( @@ -298,7 +298,7 @@ public open class EmrModifyInstanceFleetByName( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -327,7 +327,7 @@ public open class EmrModifyInstanceFleetByName( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public open class EmrModifyInstanceFleetByName( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public open class EmrModifyInstanceFleetByName( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -481,7 +481,7 @@ public open class EmrModifyInstanceFleetByName( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class EmrModifyInstanceFleetByName( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByNameProps.kt index f8422ac862..56cf9b86e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceFleetByNameProps.kt @@ -207,7 +207,7 @@ public interface EmrModifyInstanceFleetByNameProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface EmrModifyInstanceFleetByNameProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface EmrModifyInstanceFleetByNameProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public interface EmrModifyInstanceFleetByNameProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public interface EmrModifyInstanceFleetByNameProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -331,7 +331,7 @@ public interface EmrModifyInstanceFleetByNameProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByName.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByName.kt index 3498078162..4b52d02811 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByName.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByName.kt @@ -44,8 +44,8 @@ public open class EmrModifyInstanceGroupByName( id: String, props: EmrModifyInstanceGroupByNameProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceGroupByName(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrModifyInstanceGroupByNameProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceGroupByName(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrModifyInstanceGroupByNameProps.Companion::unwrap)) ) public constructor( @@ -305,7 +305,7 @@ public open class EmrModifyInstanceGroupByName( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public open class EmrModifyInstanceGroupByName( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class EmrModifyInstanceGroupByName( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class EmrModifyInstanceGroupByName( * input. */ override fun instanceGroup(instanceGroup: InstanceGroupModifyConfigProperty) { - cdkBuilder.instanceGroup(instanceGroup.let(InstanceGroupModifyConfigProperty::unwrap)) + cdkBuilder.instanceGroup(instanceGroup.let(InstanceGroupModifyConfigProperty.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class EmrModifyInstanceGroupByName( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -491,7 +491,7 @@ public open class EmrModifyInstanceGroupByName( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -504,7 +504,7 @@ public open class EmrModifyInstanceGroupByName( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): @@ -647,7 +647,7 @@ public open class EmrModifyInstanceGroupByName( * group. */ override fun configurations(configurations: List) { - cdkBuilder.configurations(configurations.map(EmrCreateCluster.ConfigurationProperty::unwrap)) + cdkBuilder.configurations(configurations.map(EmrCreateCluster.ConfigurationProperty.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class EmrModifyInstanceGroupByName( * @param shrinkPolicy Policy for customizing shrink operations. */ override fun shrinkPolicy(shrinkPolicy: ShrinkPolicyProperty) { - cdkBuilder.shrinkPolicy(shrinkPolicy.let(ShrinkPolicyProperty::unwrap)) + cdkBuilder.shrinkPolicy(shrinkPolicy.let(ShrinkPolicyProperty.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public open class EmrModifyInstanceGroupByName( * instances to be terminated. */ override fun instanceTerminationTimeout(instanceTerminationTimeout: Duration) { - cdkBuilder.instanceTerminationTimeout(instanceTerminationTimeout.let(Duration::unwrap)) + cdkBuilder.instanceTerminationTimeout(instanceTerminationTimeout.let(Duration.Companion::unwrap)) } /** @@ -1020,7 +1020,7 @@ public open class EmrModifyInstanceGroupByName( * Overrides the default YARN decommissioning timeout. */ override fun decommissionTimeout(decommissionTimeout: Duration) { - cdkBuilder.decommissionTimeout(decommissionTimeout.let(Duration::unwrap)) + cdkBuilder.decommissionTimeout(decommissionTimeout.let(Duration.Companion::unwrap)) } /** @@ -1028,7 +1028,7 @@ public open class EmrModifyInstanceGroupByName( * termination of specific instances when shrinking an instance group. */ override fun instanceResizePolicy(instanceResizePolicy: InstanceResizePolicyProperty) { - cdkBuilder.instanceResizePolicy(instanceResizePolicy.let(InstanceResizePolicyProperty::unwrap)) + cdkBuilder.instanceResizePolicy(instanceResizePolicy.let(InstanceResizePolicyProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByNameProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByNameProps.kt index 91d735899b..432e8996bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByNameProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrModifyInstanceGroupByNameProps.kt @@ -206,7 +206,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -225,7 +225,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -254,7 +254,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { */ override fun instanceGroup(instanceGroup: EmrModifyInstanceGroupByName.InstanceGroupModifyConfigProperty) { - cdkBuilder.instanceGroup(instanceGroup.let(EmrModifyInstanceGroupByName.InstanceGroupModifyConfigProperty::unwrap)) + cdkBuilder.instanceGroup(instanceGroup.let(EmrModifyInstanceGroupByName.InstanceGroupModifyConfigProperty.Companion::unwrap)) } /** @@ -284,7 +284,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public interface EmrModifyInstanceGroupByNameProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtection.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtection.kt index 4059333bad..b0b959c031 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtection.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtection.kt @@ -39,8 +39,8 @@ public open class EmrSetClusterTerminationProtection( id: String, props: EmrSetClusterTerminationProtectionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrSetClusterTerminationProtection(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrSetClusterTerminationProtectionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrSetClusterTerminationProtection(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrSetClusterTerminationProtectionProps.Companion::unwrap)) ) public constructor( @@ -277,7 +277,7 @@ public open class EmrSetClusterTerminationProtection( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -306,7 +306,7 @@ public open class EmrSetClusterTerminationProtection( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class EmrSetClusterTerminationProtection( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -355,7 +355,7 @@ public open class EmrSetClusterTerminationProtection( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class EmrSetClusterTerminationProtection( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class EmrSetClusterTerminationProtection( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtectionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtectionProps.kt index d7fbc68ec6..0f83a8fe51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtectionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrSetClusterTerminationProtectionProps.kt @@ -177,7 +177,7 @@ public interface EmrSetClusterTerminationProtectionProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface EmrSetClusterTerminationProtectionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public interface EmrSetClusterTerminationProtectionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface EmrSetClusterTerminationProtectionProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -271,7 +271,7 @@ public interface EmrSetClusterTerminationProtectionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface EmrSetClusterTerminationProtectionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateCluster.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateCluster.kt index f5801cc386..6a22bf333d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateCluster.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateCluster.kt @@ -37,8 +37,8 @@ public open class EmrTerminateCluster( id: String, props: EmrTerminateClusterProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EmrTerminateCluster(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EmrTerminateClusterProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EmrTerminateCluster(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EmrTerminateClusterProps.Companion::unwrap)) ) public constructor( @@ -267,7 +267,7 @@ public open class EmrTerminateCluster( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public open class EmrTerminateCluster( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class EmrTerminateCluster( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class EmrTerminateCluster( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -417,7 +417,7 @@ public open class EmrTerminateCluster( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class EmrTerminateCluster( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrTerminateCluster = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateClusterProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateClusterProps.kt index 3a18c5c862..5032175965 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateClusterProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EmrTerminateClusterProps.kt @@ -164,7 +164,7 @@ public interface EmrTerminateClusterProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface EmrTerminateClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface EmrTerminateClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public interface EmrTerminateClusterProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface EmrTerminateClusterProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface EmrTerminateClusterProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EmrTerminateClusterProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EncryptionConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EncryptionConfiguration.kt index 892a6a27a7..a58825369e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EncryptionConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EncryptionConfiguration.kt @@ -76,14 +76,14 @@ public interface EncryptionConfiguration { * @param encryptionKey KMS key ARN or ID. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** * @param encryptionOption Type of S3 server-side encryption enabled. */ override fun encryptionOption(encryptionOption: EncryptionOption) { - cdkBuilder.encryptionOption(encryptionOption.let(EncryptionOption::unwrap)) + cdkBuilder.encryptionOption(encryptionOption.let(EncryptionOption.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EncryptionConfiguration diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpression.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpression.kt index 08c78e5857..98f165b772 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpression.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpression.kt @@ -59,8 +59,8 @@ public open class EvaluateExpression( id: String, props: EvaluateExpressionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EvaluateExpression(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EvaluateExpressionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EvaluateExpression(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EvaluateExpressionProps.Companion::unwrap)) ) public constructor( @@ -290,7 +290,7 @@ public open class EvaluateExpression( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -330,7 +330,7 @@ public open class EvaluateExpression( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -344,7 +344,7 @@ public open class EvaluateExpression( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class EvaluateExpression( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class EvaluateExpression( * @param runtime The runtime language to use to evaluate the expression. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class EvaluateExpression( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -475,7 +475,7 @@ public open class EvaluateExpression( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EvaluateExpression = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpressionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpressionProps.kt index 2f84eb6d34..a46b7c9f43 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpressionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EvaluateExpressionProps.kt @@ -192,7 +192,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { * @param runtime The runtime language to use to evaluate the expression. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface EvaluateExpressionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EvaluateExpressionProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEvents.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEvents.kt index 5cb0ff642b..18d2d54273 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEvents.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEvents.kt @@ -48,8 +48,8 @@ public open class EventBridgePutEvents( id: String, props: EventBridgePutEventsProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.EventBridgePutEvents(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(EventBridgePutEventsProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.EventBridgePutEvents(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(EventBridgePutEventsProps.Companion::unwrap)) ) public constructor( @@ -286,7 +286,7 @@ public open class EventBridgePutEvents( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -316,7 +316,7 @@ public open class EventBridgePutEvents( * @param entries The entries that will be sent. */ override fun entries(entries: List) { - cdkBuilder.entries(entries.map(EventBridgePutEventsEntry::unwrap)) + cdkBuilder.entries(entries.map(EventBridgePutEventsEntry.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class EventBridgePutEvents( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class EventBridgePutEvents( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public open class EventBridgePutEvents( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -463,7 +463,7 @@ public open class EventBridgePutEvents( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -476,7 +476,7 @@ public open class EventBridgePutEvents( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.EventBridgePutEvents = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsEntry.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsEntry.kt index 510eadf154..011cdcbb67 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsEntry.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsEntry.kt @@ -116,7 +116,7 @@ public interface EventBridgePutEventsEntry { * Can either be provided as an object or as a JSON-serialized string */ override fun detail(detail: TaskInput) { - cdkBuilder.detail(detail.let(TaskInput::unwrap)) + cdkBuilder.detail(detail.let(TaskInput.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public interface EventBridgePutEventsEntry { * @param eventBus The event bus the entry will be sent to. */ override fun eventBus(eventBus: IEventBus) { - cdkBuilder.eventBus(eventBus.let(IEventBus::unwrap)) + cdkBuilder.eventBus(eventBus.let(IEventBus.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsProps.kt index 23a449cbab..3d7ff0b299 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/EventBridgePutEventsProps.kt @@ -186,7 +186,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { * has changed. */ override fun entries(entries: List) { - cdkBuilder.entries(entries.map(EventBridgePutEventsEntry::unwrap)) + cdkBuilder.entries(entries.map(EventBridgePutEventsEntry.Companion::unwrap)) } /** @@ -226,7 +226,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -235,7 +235,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface EventBridgePutEventsProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRun.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRun.kt index 6350030c93..7aaa2af62f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRun.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRun.kt @@ -39,8 +39,8 @@ public open class GlueDataBrewStartJobRun( id: String, props: GlueDataBrewStartJobRunProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.GlueDataBrewStartJobRun(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GlueDataBrewStartJobRunProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.GlueDataBrewStartJobRun(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GlueDataBrewStartJobRunProps.Companion::unwrap)) ) public constructor( @@ -260,7 +260,7 @@ public open class GlueDataBrewStartJobRun( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class GlueDataBrewStartJobRun( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -303,7 +303,7 @@ public open class GlueDataBrewStartJobRun( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -338,7 +338,7 @@ public open class GlueDataBrewStartJobRun( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -419,7 +419,7 @@ public open class GlueDataBrewStartJobRun( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class GlueDataBrewStartJobRun( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.GlueDataBrewStartJobRun diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRunProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRunProps.kt index d3e1050090..dcc3114b78 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRunProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueDataBrewStartJobRunProps.kt @@ -157,7 +157,7 @@ public interface GlueDataBrewStartJobRunProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public interface GlueDataBrewStartJobRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface GlueDataBrewStartJobRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public interface GlueDataBrewStartJobRunProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface GlueDataBrewStartJobRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface GlueDataBrewStartJobRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRun.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRun.kt index d7e3793a5a..59294d06b2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRun.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRun.kt @@ -48,8 +48,8 @@ public open class GlueStartCrawlerRun( id: String, props: GlueStartCrawlerRunProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.GlueStartCrawlerRun(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GlueStartCrawlerRunProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.GlueStartCrawlerRun(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GlueStartCrawlerRunProps.Companion::unwrap)) ) public constructor( @@ -278,7 +278,7 @@ public open class GlueStartCrawlerRun( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -307,7 +307,7 @@ public open class GlueStartCrawlerRun( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -321,7 +321,7 @@ public open class GlueStartCrawlerRun( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class GlueStartCrawlerRun( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public open class GlueStartCrawlerRun( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class GlueStartCrawlerRun( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.GlueStartCrawlerRun = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRunProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRunProps.kt index d7bd9b983b..8ba5db6ce5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRunProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartCrawlerRunProps.kt @@ -173,7 +173,7 @@ public interface GlueStartCrawlerRunProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public interface GlueStartCrawlerRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public interface GlueStartCrawlerRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface GlueStartCrawlerRunProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -267,7 +267,7 @@ public interface GlueStartCrawlerRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public interface GlueStartCrawlerRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.GlueStartCrawlerRunProps diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRun.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRun.kt index 571738e078..2c64b33cfe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRun.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRun.kt @@ -46,8 +46,8 @@ public open class GlueStartJobRun( id: String, props: GlueStartJobRunProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.GlueStartJobRun(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(GlueStartJobRunProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.GlueStartJobRun(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(GlueStartJobRunProps.Companion::unwrap)) ) public constructor( @@ -292,7 +292,7 @@ public open class GlueStartJobRun( * @param arguments The job arguments specifically for this run. */ override fun arguments(arguments: TaskInput) { - cdkBuilder.arguments(arguments.let(TaskInput::unwrap)) + cdkBuilder.arguments(arguments.let(TaskInput.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class GlueStartJobRun( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public open class GlueStartJobRun( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -370,7 +370,7 @@ public open class GlueStartJobRun( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class GlueStartJobRun( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class GlueStartJobRun( * a job run delay notification. */ override fun notifyDelayAfter(notifyDelayAfter: Duration) { - cdkBuilder.notifyDelayAfter(notifyDelayAfter.let(Duration::unwrap)) + cdkBuilder.notifyDelayAfter(notifyDelayAfter.let(Duration.Companion::unwrap)) } /** @@ -507,7 +507,7 @@ public open class GlueStartJobRun( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public open class GlueStartJobRun( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.GlueStartJobRun = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRunProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRunProps.kt index 03a8c038e5..7f8ed49d5a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRunProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/GlueStartJobRunProps.kt @@ -206,7 +206,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { * definition itself. */ override fun arguments(arguments: TaskInput) { - cdkBuilder.arguments(arguments.let(TaskInput::unwrap)) + cdkBuilder.arguments(arguments.let(TaskInput.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -248,7 +248,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -257,7 +257,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { * Must be at least 1 minute. */ override fun notifyDelayAfter(notifyDelayAfter: Duration) { - cdkBuilder.notifyDelayAfter(notifyDelayAfter.let(Duration::unwrap)) + cdkBuilder.notifyDelayAfter(notifyDelayAfter.let(Duration.Companion::unwrap)) } /** @@ -341,7 +341,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public interface GlueStartJobRunProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.GlueStartJobRunProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvoke.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvoke.kt index 8be8ac0ca0..c9820ff310 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvoke.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvoke.kt @@ -50,8 +50,8 @@ public open class HttpInvoke( id: String, props: HttpInvokeProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.HttpInvoke(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(HttpInvokeProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.HttpInvoke(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(HttpInvokeProps.Companion::unwrap)) ) public constructor( @@ -347,7 +347,7 @@ public open class HttpInvoke( * @param apiEndpoint The API endpoint to call, relative to `apiRoot`. */ override fun apiEndpoint(apiEndpoint: TaskInput) { - cdkBuilder.apiEndpoint(apiEndpoint.let(TaskInput::unwrap)) + cdkBuilder.apiEndpoint(apiEndpoint.let(TaskInput.Companion::unwrap)) } /** @@ -373,7 +373,7 @@ public open class HttpInvoke( * @param body The body to send to the HTTP endpoint. */ override fun body(body: TaskInput) { - cdkBuilder.body(body.let(TaskInput::unwrap)) + cdkBuilder.body(body.let(TaskInput.Companion::unwrap)) } /** @@ -393,7 +393,7 @@ public open class HttpInvoke( * @param connection The EventBridge Connection to use for authentication. */ override fun connection(connection: IConnection) { - cdkBuilder.connection(connection.let(IConnection::unwrap)) + cdkBuilder.connection(connection.let(IConnection.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public open class HttpInvoke( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public open class HttpInvoke( * @param headers The headers to send to the HTTP endpoint. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class HttpInvoke( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class HttpInvoke( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public open class HttpInvoke( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class HttpInvoke( * @param method The HTTP method to use. */ override fun method(method: TaskInput) { - cdkBuilder.method(method.let(TaskInput::unwrap)) + cdkBuilder.method(method.let(TaskInput.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public open class HttpInvoke( * @param queryStringParameters The query string parameters to send to the HTTP endpoint. */ override fun queryStringParameters(queryStringParameters: TaskInput) { - cdkBuilder.queryStringParameters(queryStringParameters.let(TaskInput::unwrap)) + cdkBuilder.queryStringParameters(queryStringParameters.let(TaskInput.Companion::unwrap)) } /** @@ -601,7 +601,7 @@ public open class HttpInvoke( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -614,7 +614,7 @@ public open class HttpInvoke( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class HttpInvoke( * which array encoding format to use. */ override fun urlEncodingFormat(urlEncodingFormat: URLEncodingFormat) { - cdkBuilder.urlEncodingFormat(urlEncodingFormat.let(URLEncodingFormat::unwrap)) + cdkBuilder.urlEncodingFormat(urlEncodingFormat.let(URLEncodingFormat.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.HttpInvoke = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvokeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvokeProps.kt index 6c855a254b..1063778e5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvokeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/HttpInvokeProps.kt @@ -280,7 +280,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * @param apiEndpoint The API endpoint to call, relative to `apiRoot`. */ override fun apiEndpoint(apiEndpoint: TaskInput) { - cdkBuilder.apiEndpoint(apiEndpoint.let(TaskInput::unwrap)) + cdkBuilder.apiEndpoint(apiEndpoint.let(TaskInput.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * @param body The body to send to the HTTP endpoint. */ override fun body(body: TaskInput) { - cdkBuilder.body(body.let(TaskInput::unwrap)) + cdkBuilder.body(body.let(TaskInput.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * @param connection The EventBridge Connection to use for authentication. */ override fun connection(connection: IConnection) { - cdkBuilder.connection(connection.let(IConnection::unwrap)) + cdkBuilder.connection(connection.let(IConnection.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * @param headers The headers to send to the HTTP endpoint. */ override fun headers(headers: TaskInput) { - cdkBuilder.headers(headers.let(TaskInput::unwrap)) + cdkBuilder.headers(headers.let(TaskInput.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -373,14 +373,14 @@ public interface HttpInvokeProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param method The HTTP method to use. */ override fun method(method: TaskInput) { - cdkBuilder.method(method.let(TaskInput::unwrap)) + cdkBuilder.method(method.let(TaskInput.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * @param queryStringParameters The query string parameters to send to the HTTP endpoint. */ override fun queryStringParameters(queryStringParameters: TaskInput) { - cdkBuilder.queryStringParameters(queryStringParameters.let(TaskInput::unwrap)) + cdkBuilder.queryStringParameters(queryStringParameters.let(TaskInput.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -441,7 +441,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public interface HttpInvokeProps : TaskStateBaseProps { * `application/x-www-form-urlencoded`. */ override fun urlEncodingFormat(urlEncodingFormat: URLEncodingFormat) { - cdkBuilder.urlEncodingFormat(urlEncodingFormat.let(URLEncodingFormat::unwrap)) + cdkBuilder.urlEncodingFormat(urlEncodingFormat.let(URLEncodingFormat.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.HttpInvokeProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IContainerDefinition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IContainerDefinition.kt index f4d1d401fb..4f3a285300 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IContainerDefinition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IContainerDefinition.kt @@ -27,7 +27,7 @@ public interface IContainerDefinition { * @param task */ override fun bind(task: ISageMakerTask): ContainerDefinitionConfig = - unwrap(this).bind(task.let(ISageMakerTask::unwrap)).let(ContainerDefinitionConfig::wrap) + unwrap(this).bind(task.let(ISageMakerTask.Companion::unwrap)).let(ContainerDefinitionConfig::wrap) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IEcsLaunchTarget.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IEcsLaunchTarget.kt index af7cbc9e84..8e656f9270 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IEcsLaunchTarget.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/IEcsLaunchTarget.kt @@ -44,8 +44,8 @@ public interface IEcsLaunchTarget { * @param launchTargetOptions */ override fun bind(task: EcsRunTask, launchTargetOptions: LaunchTargetBindOptions): - EcsLaunchTargetConfig = unwrap(this).bind(task.let(EcsRunTask::unwrap), - launchTargetOptions.let(LaunchTargetBindOptions::unwrap)).let(EcsLaunchTargetConfig::wrap) + EcsLaunchTargetConfig = unwrap(this).bind(task.let(EcsRunTask.Companion::unwrap), + launchTargetOptions.let(LaunchTargetBindOptions.Companion::unwrap)).let(EcsLaunchTargetConfig::wrap) /** * called when the ECS launch target is configured on RunTask. diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/JobDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/JobDriver.kt index 8e5fb4cef3..8256ea2847 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/JobDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/JobDriver.kt @@ -68,7 +68,7 @@ public interface JobDriver { * @param sparkSubmitJobDriver The job driver parameters specified for spark submit. */ override fun sparkSubmitJobDriver(sparkSubmitJobDriver: SparkSubmitJobDriver) { - cdkBuilder.sparkSubmitJobDriver(sparkSubmitJobDriver.let(SparkSubmitJobDriver::unwrap)) + cdkBuilder.sparkSubmitJobDriver(sparkSubmitJobDriver.let(SparkSubmitJobDriver.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvoke.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvoke.kt index fe1f3ee0af..6b402c0997 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvoke.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvoke.kt @@ -50,8 +50,8 @@ public open class LambdaInvoke( id: String, props: LambdaInvokeProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.LambdaInvoke(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(LambdaInvokeProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.LambdaInvoke(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(LambdaInvokeProps.Companion::unwrap)) ) public constructor( @@ -267,8 +267,9 @@ public open class LambdaInvoke( /** * Whether to retry on Lambda service exceptions. * - * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException` and - * `Lambda.SdkClientException` with an interval of 2 seconds, a back-off rate + * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException`, + * `Lambda.SdkClientException`, and `Lambda.ClientExecutionTimeoutException` + * with an interval of 2 seconds, a back-off rate * of 2 and 6 maximum attempts. * * Default: true @@ -353,7 +354,7 @@ public open class LambdaInvoke( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -382,7 +383,7 @@ public open class LambdaInvoke( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -396,7 +397,7 @@ public open class LambdaInvoke( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -431,7 +432,7 @@ public open class LambdaInvoke( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -442,7 +443,7 @@ public open class LambdaInvoke( * @param invocationType Invocation type of the Lambda function. */ override fun invocationType(invocationType: LambdaInvocationType) { - cdkBuilder.invocationType(invocationType.let(LambdaInvocationType::unwrap)) + cdkBuilder.invocationType(invocationType.let(LambdaInvocationType.Companion::unwrap)) } /** @@ -451,7 +452,7 @@ public open class LambdaInvoke( * @param lambdaFunction Lambda function to invoke. */ override fun lambdaFunction(lambdaFunction: IFunction) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction.Companion::unwrap)) } /** @@ -478,7 +479,7 @@ public open class LambdaInvoke( * @param payload The JSON that will be supplied as input to the Lambda function. */ override fun payload(payload: TaskInput) { - cdkBuilder.payload(payload.let(TaskInput::unwrap)) + cdkBuilder.payload(payload.let(TaskInput.Companion::unwrap)) } /** @@ -550,8 +551,9 @@ public open class LambdaInvoke( /** * Whether to retry on Lambda service exceptions. * - * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException` and - * `Lambda.SdkClientException` with an interval of 2 seconds, a back-off rate + * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException`, + * `Lambda.SdkClientException`, and `Lambda.ClientExecutionTimeoutException` + * with an interval of 2 seconds, a back-off rate * of 2 and 6 maximum attempts. * * Default: true @@ -585,7 +587,7 @@ public open class LambdaInvoke( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -598,7 +600,7 @@ public open class LambdaInvoke( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.LambdaInvoke = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvokeProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvokeProps.kt index caa3aec667..218c2366c8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvokeProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LambdaInvokeProps.kt @@ -96,8 +96,9 @@ public interface LambdaInvokeProps : TaskStateBaseProps { /** * Whether to retry on Lambda service exceptions. * - * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException` and - * `Lambda.SdkClientException` with an interval of 2 seconds, a back-off rate + * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException`, + * `Lambda.SdkClientException`, and `Lambda.ClientExecutionTimeoutException` + * with an interval of 2 seconds, a back-off rate * of 2 and 6 maximum attempts. * * Default: true @@ -229,8 +230,9 @@ public interface LambdaInvokeProps : TaskStateBaseProps { /** * @param retryOnServiceExceptions Whether to retry on Lambda service exceptions. - * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException` and - * `Lambda.SdkClientException` with an interval of 2 seconds, a back-off rate + * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException`, + * `Lambda.SdkClientException`, and `Lambda.ClientExecutionTimeoutException` + * with an interval of 2 seconds, a back-off rate * of 2 and 6 maximum attempts. */ public fun retryOnServiceExceptions(retryOnServiceExceptions: Boolean) @@ -281,7 +283,7 @@ public interface LambdaInvokeProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -300,7 +302,7 @@ public interface LambdaInvokeProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -309,7 +311,7 @@ public interface LambdaInvokeProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -330,21 +332,21 @@ public interface LambdaInvokeProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param invocationType Invocation type of the Lambda function. */ override fun invocationType(invocationType: LambdaInvocationType) { - cdkBuilder.invocationType(invocationType.let(LambdaInvocationType::unwrap)) + cdkBuilder.invocationType(invocationType.let(LambdaInvocationType.Companion::unwrap)) } /** * @param lambdaFunction Lambda function to invoke. */ override fun lambdaFunction(lambdaFunction: IFunction) { - cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction::unwrap)) + cdkBuilder.lambdaFunction(lambdaFunction.let(IFunction.Companion::unwrap)) } /** @@ -361,7 +363,7 @@ public interface LambdaInvokeProps : TaskStateBaseProps { * @param payload The JSON that will be supplied as input to the Lambda function. */ override fun payload(payload: TaskInput) { - cdkBuilder.payload(payload.let(TaskInput::unwrap)) + cdkBuilder.payload(payload.let(TaskInput.Companion::unwrap)) } /** @@ -409,8 +411,9 @@ public interface LambdaInvokeProps : TaskStateBaseProps { /** * @param retryOnServiceExceptions Whether to retry on Lambda service exceptions. - * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException` and - * `Lambda.SdkClientException` with an interval of 2 seconds, a back-off rate + * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException`, + * `Lambda.SdkClientException`, and `Lambda.ClientExecutionTimeoutException` + * with an interval of 2 seconds, a back-off rate * of 2 and 6 maximum attempts. */ override fun retryOnServiceExceptions(retryOnServiceExceptions: Boolean) { @@ -430,7 +433,7 @@ public interface LambdaInvokeProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -439,7 +442,7 @@ public interface LambdaInvokeProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.LambdaInvokeProps = @@ -606,8 +609,9 @@ public interface LambdaInvokeProps : TaskStateBaseProps { /** * Whether to retry on Lambda service exceptions. * - * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException` and - * `Lambda.SdkClientException` with an interval of 2 seconds, a back-off rate + * This handles `Lambda.ServiceException`, `Lambda.AWSLambdaException`, + * `Lambda.SdkClientException`, and `Lambda.ClientExecutionTimeoutException` + * with an interval of 2 seconds, a back-off rate * of 2 and 6 maximum attempts. * * Default: true diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LaunchTargetBindOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LaunchTargetBindOptions.kt index ca88142d81..c01519e44a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LaunchTargetBindOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/LaunchTargetBindOptions.kt @@ -68,14 +68,14 @@ public interface LaunchTargetBindOptions { * tasks and services. */ override fun cluster(cluster: ICluster) { - cdkBuilder.cluster(cluster.let(ICluster::unwrap)) + cdkBuilder.cluster(cluster.let(ICluster.Companion::unwrap)) } /** * @param taskDefinition Task definition to run Docker containers in Amazon ECS. */ override fun taskDefinition(taskDefinition: ITaskDefinition) { - cdkBuilder.taskDefinition(taskDefinition.let(ITaskDefinition::unwrap)) + cdkBuilder.taskDefinition(taskDefinition.let(ITaskDefinition.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.LaunchTargetBindOptions diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/MessageAttribute.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/MessageAttribute.kt index decc5f5bc7..955279fa04 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/MessageAttribute.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/MessageAttribute.kt @@ -89,7 +89,7 @@ public interface MessageAttribute { * @param dataType The data type for the attribute. */ override fun dataType(dataType: MessageAttributeDataType) { - cdkBuilder.dataType(dataType.let(MessageAttributeDataType::unwrap)) + cdkBuilder.dataType(dataType.let(MessageAttributeDataType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ModelClientOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ModelClientOptions.kt index 0ec28eafca..29fb2c4def 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ModelClientOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ModelClientOptions.kt @@ -90,7 +90,7 @@ public interface ModelClientOptions { * @param invocationsTimeout The timeout duration for an invocation request. */ override fun invocationsTimeout(invocationsTimeout: Duration) { - cdkBuilder.invocationsTimeout(invocationsTimeout.let(Duration::unwrap)) + cdkBuilder.invocationsTimeout(invocationsTimeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.ModelClientOptions = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Monitoring.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Monitoring.kt index 502f98a87e..e69b4c7cb2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Monitoring.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/Monitoring.kt @@ -122,7 +122,7 @@ public interface Monitoring { * You can configure your jobs to send log information to Amazon S3. */ override fun logBucket(logBucket: IBucket) { - cdkBuilder.logBucket(logBucket.let(IBucket::unwrap)) + cdkBuilder.logBucket(logBucket.let(IBucket.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public interface Monitoring { * You can configure your jobs to send log information to CloudWatch Logs. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/OutputDataConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/OutputDataConfig.kt index 06037ff40d..b08d783483 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/OutputDataConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/OutputDataConfig.kt @@ -86,7 +86,7 @@ public interface OutputDataConfig { * model artifacts at rest using Amazon S3 server-side encryption. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** @@ -94,7 +94,7 @@ public interface OutputDataConfig { * model artifacts. */ override fun s3OutputLocation(s3OutputLocation: S3Location) { - cdkBuilder.s3OutputLocation(s3OutputLocation.let(S3Location::unwrap)) + cdkBuilder.s3OutputLocation(s3OutputLocation.let(S3Location.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.OutputDataConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ProductionVariant.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ProductionVariant.kt index 4df6822b95..dd071a3a90 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ProductionVariant.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ProductionVariant.kt @@ -125,7 +125,7 @@ public interface ProductionVariant { * production variant. */ override fun acceleratorType(acceleratorType: AcceleratorType) { - cdkBuilder.acceleratorType(acceleratorType.let(AcceleratorType::unwrap)) + cdkBuilder.acceleratorType(acceleratorType.let(AcceleratorType.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public interface ProductionVariant { * @param instanceType The ML compute instance type. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResourceConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResourceConfig.kt index 93bb5f3493..3082dd3c0c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResourceConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResourceConfig.kt @@ -142,7 +142,7 @@ public interface ResourceConfig { * ``` */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -150,14 +150,14 @@ public interface ResourceConfig { * volume attached to the ML compute instance(s) that run the training job. */ override fun volumeEncryptionKey(volumeEncryptionKey: IKey) { - cdkBuilder.volumeEncryptionKey(volumeEncryptionKey.let(IKey::unwrap)) + cdkBuilder.volumeEncryptionKey(volumeEncryptionKey.let(IKey.Companion::unwrap)) } /** * @param volumeSize Size of the ML storage volume that you want to provision. */ override fun volumeSize(volumeSize: Size) { - cdkBuilder.volumeSize(volumeSize.let(Size::unwrap)) + cdkBuilder.volumeSize(volumeSize.let(Size.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.ResourceConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResultConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResultConfiguration.kt index 6374445a11..4d8bd5100b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResultConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/ResultConfiguration.kt @@ -40,7 +40,7 @@ public interface ResultConfiguration { /** * Encryption option used if enabled in S3. * - * Default: - SSE_S3 encrpytion is enabled with default encryption key + * Default: - SSE_S3 encryption is enabled with default encryption key */ public fun encryptionConfiguration(): EncryptionConfiguration? = unwrap(this).getEncryptionConfiguration()?.let(EncryptionConfiguration::wrap) @@ -96,7 +96,7 @@ public interface ResultConfiguration { * @param encryptionConfiguration Encryption option used if enabled in S3. */ override fun encryptionConfiguration(encryptionConfiguration: EncryptionConfiguration) { - cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfiguration::unwrap)) + cdkBuilder.encryptionConfiguration(encryptionConfiguration.let(EncryptionConfiguration.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public interface ResultConfiguration { * Example value: `s3://query-results-bucket/folder/` */ override fun outputLocation(outputLocation: Location) { - cdkBuilder.outputLocation(outputLocation.let(Location::unwrap)) + cdkBuilder.outputLocation(outputLocation.let(Location.Companion::unwrap)) } /** @@ -135,7 +135,7 @@ public interface ResultConfiguration { /** * Encryption option used if enabled in S3. * - * Default: - SSE_S3 encrpytion is enabled with default encryption key + * Default: - SSE_S3 encryption is enabled with default encryption key */ override fun encryptionConfiguration(): EncryptionConfiguration? = unwrap(this).getEncryptionConfiguration()?.let(EncryptionConfiguration::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3DataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3DataSource.kt index 94625d8628..b4908c18cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3DataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3DataSource.kt @@ -132,21 +132,21 @@ public interface S3DataSource { * @param s3DataDistributionType S3 Data Distribution Type. */ override fun s3DataDistributionType(s3DataDistributionType: S3DataDistributionType) { - cdkBuilder.s3DataDistributionType(s3DataDistributionType.let(S3DataDistributionType::unwrap)) + cdkBuilder.s3DataDistributionType(s3DataDistributionType.let(S3DataDistributionType.Companion::unwrap)) } /** * @param s3DataType S3 Data Type. */ override fun s3DataType(s3DataType: S3DataType) { - cdkBuilder.s3DataType(s3DataType.let(S3DataType::unwrap)) + cdkBuilder.s3DataType(s3DataType.let(S3DataType.Companion::unwrap)) } /** * @param s3Location S3 Uri. */ override fun s3Location(s3Location: S3Location) { - cdkBuilder.s3Location(s3Location.let(S3Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(S3Location.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.S3DataSource = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3Location.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3Location.kt index 623e2b3dd7..ce9179dda7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3Location.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/S3Location.kt @@ -55,8 +55,8 @@ public abstract class S3Location( * @param opts */ public open fun bind(task: ISageMakerTask, opts: S3LocationBindOptions): S3LocationConfig = - unwrap(this).bind(task.let(ISageMakerTask::unwrap), - opts.let(S3LocationBindOptions::unwrap)).let(S3LocationConfig::wrap) + unwrap(this).bind(task.let(ISageMakerTask.Companion::unwrap), + opts.let(S3LocationBindOptions.Companion::unwrap)).let(S3LocationConfig::wrap) /** * Called when the S3Location is bound to a StepFunctions task. @@ -75,7 +75,7 @@ public abstract class S3Location( public companion object { public fun fromBucket(bucket: IBucket, keyPrefix: String): S3Location = - software.amazon.awscdk.services.stepfunctions.tasks.S3Location.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.stepfunctions.tasks.S3Location.fromBucket(bucket.let(IBucket.Companion::unwrap), keyPrefix).let(S3Location::wrap) public fun fromJsonExpression(expression: String): S3Location = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpoint.kt index 1d3fc0871a..04181755b6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpoint.kt @@ -41,8 +41,8 @@ public open class SageMakerCreateEndpoint( id: String, props: SageMakerCreateEndpointProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SageMakerCreateEndpointProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SageMakerCreateEndpointProps.Companion::unwrap)) ) public constructor( @@ -280,7 +280,7 @@ public open class SageMakerCreateEndpoint( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class SageMakerCreateEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public open class SageMakerCreateEndpoint( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class SageMakerCreateEndpoint( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class SageMakerCreateEndpoint( * @param tags Tags to be applied to the endpoint. */ override fun tags(tags: TaskInput) { - cdkBuilder.tags(tags.let(TaskInput::unwrap)) + cdkBuilder.tags(tags.let(TaskInput.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public open class SageMakerCreateEndpoint( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -474,7 +474,7 @@ public open class SageMakerCreateEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateEndpoint diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfig.kt index 7b1062238d..8b0783433a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfig.kt @@ -48,8 +48,8 @@ public open class SageMakerCreateEndpointConfig( id: String, props: SageMakerCreateEndpointConfigProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateEndpointConfig(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SageMakerCreateEndpointConfigProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateEndpointConfig(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SageMakerCreateEndpointConfigProps.Companion::unwrap)) ) public constructor( @@ -315,7 +315,7 @@ public open class SageMakerCreateEndpointConfig( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -353,7 +353,7 @@ public open class SageMakerCreateEndpointConfig( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public open class SageMakerCreateEndpointConfig( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -402,7 +402,7 @@ public open class SageMakerCreateEndpointConfig( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class SageMakerCreateEndpointConfig( * the storage volume attached to the ML compute instance that hosts the endpoint. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -446,7 +446,7 @@ public open class SageMakerCreateEndpointConfig( * want to host at this endpoint. */ override fun productionVariants(productionVariants: List) { - cdkBuilder.productionVariants(productionVariants.map(ProductionVariant::unwrap)) + cdkBuilder.productionVariants(productionVariants.map(ProductionVariant.Companion::unwrap)) } /** @@ -513,7 +513,7 @@ public open class SageMakerCreateEndpointConfig( * @param tags Tags to be applied to the endpoint configuration. */ override fun tags(tags: TaskInput) { - cdkBuilder.tags(tags.let(TaskInput::unwrap)) + cdkBuilder.tags(tags.let(TaskInput.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public open class SageMakerCreateEndpointConfig( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public open class SageMakerCreateEndpointConfig( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfigProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfigProps.kt index 08459e5aaf..2b80f2fb5f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfigProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointConfigProps.kt @@ -223,7 +223,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -249,7 +249,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -279,7 +279,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * the storage volume attached to the ML compute instance that hosts the endpoint. */ override fun kmsKey(kmsKey: IKey) { - cdkBuilder.kmsKey(kmsKey.let(IKey::unwrap)) + cdkBuilder.kmsKey(kmsKey.let(IKey.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * the models by specifying variant weights. */ override fun productionVariants(productionVariants: List) { - cdkBuilder.productionVariants(productionVariants.map(ProductionVariant::unwrap)) + cdkBuilder.productionVariants(productionVariants.map(ProductionVariant.Companion::unwrap)) } /** @@ -351,7 +351,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * @param tags Tags to be applied to the endpoint configuration. */ override fun tags(tags: TaskInput) { - cdkBuilder.tags(tags.let(TaskInput::unwrap)) + cdkBuilder.tags(tags.let(TaskInput.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface SageMakerCreateEndpointConfigProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointProps.kt index 6ed7b43010..cf28bfafe5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateEndpointProps.kt @@ -186,7 +186,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -220,7 +220,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -229,7 +229,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -250,7 +250,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -293,7 +293,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { * @param tags Tags to be applied to the endpoint. */ override fun tags(tags: TaskInput) { - cdkBuilder.tags(tags.let(TaskInput::unwrap)) + cdkBuilder.tags(tags.let(TaskInput.Companion::unwrap)) } /** @@ -302,7 +302,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -311,7 +311,7 @@ public interface SageMakerCreateEndpointProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModel.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModel.kt index 403a543a78..7c2b506d70 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModel.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModel.kt @@ -55,8 +55,8 @@ public open class SageMakerCreateModel( id: String, props: SageMakerCreateModelProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateModel(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SageMakerCreateModelProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateModel(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SageMakerCreateModelProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class SageMakerCreateModel( * @param securityGroup : The security group to add. */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class SageMakerCreateModel( * @param containers Specifies the containers in the inference pipeline. */ override fun containers(containers: List) { - cdkBuilder.containers(containers.map(IContainerDefinition::unwrap)) + cdkBuilder.containers(containers.map(IContainerDefinition.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public open class SageMakerCreateModel( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class SageMakerCreateModel( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class SageMakerCreateModel( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -505,7 +505,7 @@ public open class SageMakerCreateModel( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -543,7 +543,7 @@ public open class SageMakerCreateModel( * deployed for predictions. */ override fun primaryContainer(primaryContainer: IContainerDefinition) { - cdkBuilder.primaryContainer(primaryContainer.let(IContainerDefinition::unwrap)) + cdkBuilder.primaryContainer(primaryContainer.let(IContainerDefinition.Companion::unwrap)) } /** @@ -585,7 +585,7 @@ public open class SageMakerCreateModel( * @param role An execution role that you can pass in a CreateModel API request. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -609,7 +609,7 @@ public open class SageMakerCreateModel( * this parameter is only used when VPC is provided). */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -634,7 +634,7 @@ public open class SageMakerCreateModel( * @param tags Tags to be applied to the model. */ override fun tags(tags: TaskInput) { - cdkBuilder.tags(tags.let(TaskInput::unwrap)) + cdkBuilder.tags(tags.let(TaskInput.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class SageMakerCreateModel( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -661,7 +661,7 @@ public open class SageMakerCreateModel( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class SageMakerCreateModel( * @param vpc The VPC that is accessible by the hosted model. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateModel = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModelProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModelProps.kt index 9d757f413e..2ea56091ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModelProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateModelProps.kt @@ -273,7 +273,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * @param containers Specifies the containers in the inference pipeline. */ override fun containers(containers: List) { - cdkBuilder.containers(containers.map(IContainerDefinition::unwrap)) + cdkBuilder.containers(containers.map(IContainerDefinition.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -324,7 +324,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -371,7 +371,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * deployed for predictions. */ override fun primaryContainer(primaryContainer: IContainerDefinition) { - cdkBuilder.primaryContainer(primaryContainer.let(IContainerDefinition::unwrap)) + cdkBuilder.primaryContainer(primaryContainer.let(IContainerDefinition.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * @param role An execution role that you can pass in a CreateModel API request. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * this parameter is only used when VPC is provided). */ override fun subnetSelection(subnetSelection: SubnetSelection) { - cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection::unwrap)) + cdkBuilder.subnetSelection(subnetSelection.let(SubnetSelection.Companion::unwrap)) } /** @@ -428,7 +428,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * @param tags Tags to be applied to the model. */ override fun tags(tags: TaskInput) { - cdkBuilder.tags(tags.let(TaskInput::unwrap)) + cdkBuilder.tags(tags.let(TaskInput.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -446,14 +446,14 @@ public interface SageMakerCreateModelProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param vpc The VPC that is accessible by the hosted model. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJob.kt index 39765c07e6..48814b80ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJob.kt @@ -70,8 +70,8 @@ public open class SageMakerCreateTrainingJob( id: String, props: SageMakerCreateTrainingJobProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateTrainingJob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SageMakerCreateTrainingJobProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateTrainingJob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SageMakerCreateTrainingJobProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class SageMakerCreateTrainingJob( * @param securityGroup : The security group to add. */ public open fun addSecurityGroup(securityGroup: ISecurityGroup) { - unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup::unwrap)) + unwrap(this).addSecurityGroup(securityGroup.let(ISecurityGroup.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public open class SageMakerCreateTrainingJob( * @param algorithmSpecification Identifies the training algorithm to use. */ override fun algorithmSpecification(algorithmSpecification: AlgorithmSpecification) { - cdkBuilder.algorithmSpecification(algorithmSpecification.let(AlgorithmSpecification::unwrap)) + cdkBuilder.algorithmSpecification(algorithmSpecification.let(AlgorithmSpecification.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class SageMakerCreateTrainingJob( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public open class SageMakerCreateTrainingJob( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -583,7 +583,7 @@ public open class SageMakerCreateTrainingJob( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -610,7 +610,7 @@ public open class SageMakerCreateTrainingJob( * Amazon S3 location where stored. */ override fun inputDataConfig(inputDataConfig: List) { - cdkBuilder.inputDataConfig(inputDataConfig.map(Channel::unwrap)) + cdkBuilder.inputDataConfig(inputDataConfig.map(Channel.Companion::unwrap)) } /** @@ -655,7 +655,7 @@ public open class SageMakerCreateTrainingJob( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -666,7 +666,7 @@ public open class SageMakerCreateTrainingJob( * save the results of model training. */ override fun outputDataConfig(outputDataConfig: OutputDataConfig) { - cdkBuilder.outputDataConfig(outputDataConfig.let(OutputDataConfig::unwrap)) + cdkBuilder.outputDataConfig(outputDataConfig.let(OutputDataConfig.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public open class SageMakerCreateTrainingJob( * to deploy for model training. */ override fun resourceConfig(resourceConfig: ResourceConfig) { - cdkBuilder.resourceConfig(resourceConfig.let(ResourceConfig::unwrap)) + cdkBuilder.resourceConfig(resourceConfig.let(ResourceConfig.Companion::unwrap)) } /** @@ -769,7 +769,7 @@ public open class SageMakerCreateTrainingJob( * @param role Role for the Training Job. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -791,7 +791,7 @@ public open class SageMakerCreateTrainingJob( * @param stoppingCondition Sets a time limit for training. */ override fun stoppingCondition(stoppingCondition: StoppingCondition) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingCondition::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingCondition.Companion::unwrap)) } /** @@ -828,7 +828,7 @@ public open class SageMakerCreateTrainingJob( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -841,7 +841,7 @@ public open class SageMakerCreateTrainingJob( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -861,7 +861,7 @@ public open class SageMakerCreateTrainingJob( * @param vpcConfig Specifies the VPC that you want your training job to connect to. */ override fun vpcConfig(vpcConfig: VpcConfig) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfig::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJobProps.kt index ed892e03e1..901d8bc793 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTrainingJobProps.kt @@ -376,7 +376,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * @param algorithmSpecification Identifies the training algorithm to use. */ override fun algorithmSpecification(algorithmSpecification: AlgorithmSpecification) { - cdkBuilder.algorithmSpecification(algorithmSpecification.let(AlgorithmSpecification::unwrap)) + cdkBuilder.algorithmSpecification(algorithmSpecification.let(AlgorithmSpecification.Companion::unwrap)) } /** @@ -401,7 +401,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * Amazon S3 location where stored. */ override fun inputDataConfig(inputDataConfig: List) { - cdkBuilder.inputDataConfig(inputDataConfig.map(Channel::unwrap)) + cdkBuilder.inputDataConfig(inputDataConfig.map(Channel.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -497,7 +497,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * save the results of model training. */ override fun outputDataConfig(outputDataConfig: OutputDataConfig) { - cdkBuilder.outputDataConfig(outputDataConfig.let(OutputDataConfig::unwrap)) + cdkBuilder.outputDataConfig(outputDataConfig.let(OutputDataConfig.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * to deploy for model training. */ override fun resourceConfig(resourceConfig: ResourceConfig) { - cdkBuilder.resourceConfig(resourceConfig.let(ResourceConfig::unwrap)) + cdkBuilder.resourceConfig(resourceConfig.let(ResourceConfig.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * https://docs.aws.amazon.com/fr_fr/sagemaker/latest/dg/sagemaker-roles.html#sagemaker-roles-createtrainingjob-perms */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -578,7 +578,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * @param stoppingCondition Sets a time limit for training. */ override fun stoppingCondition(stoppingCondition: StoppingCondition) { - cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingCondition::unwrap)) + cdkBuilder.stoppingCondition(stoppingCondition.let(StoppingCondition.Companion::unwrap)) } /** @@ -602,7 +602,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public interface SageMakerCreateTrainingJobProps : TaskStateBaseProps { * @param vpcConfig Specifies the VPC that you want your training job to connect to. */ override fun vpcConfig(vpcConfig: VpcConfig) { - cdkBuilder.vpcConfig(vpcConfig.let(VpcConfig::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VpcConfig.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJob.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJob.kt index 588a378863..29ada23a54 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJob.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJob.kt @@ -60,8 +60,8 @@ public open class SageMakerCreateTransformJob( id: String, props: SageMakerCreateTransformJobProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateTransformJob(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SageMakerCreateTransformJobProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerCreateTransformJob(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SageMakerCreateTransformJobProps.Companion::unwrap)) ) public constructor( @@ -419,7 +419,7 @@ public open class SageMakerCreateTransformJob( * request. */ override fun batchStrategy(batchStrategy: BatchStrategy) { - cdkBuilder.batchStrategy(batchStrategy.let(BatchStrategy::unwrap)) + cdkBuilder.batchStrategy(batchStrategy.let(BatchStrategy.Companion::unwrap)) } /** @@ -445,7 +445,7 @@ public open class SageMakerCreateTransformJob( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -485,7 +485,7 @@ public open class SageMakerCreateTransformJob( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -499,7 +499,7 @@ public open class SageMakerCreateTransformJob( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -534,7 +534,7 @@ public open class SageMakerCreateTransformJob( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class SageMakerCreateTransformJob( * @param maxPayload Maximum allowed size of the payload, in MB. */ override fun maxPayload(maxPayload: Size) { - cdkBuilder.maxPayload(maxPayload.let(Size::unwrap)) + cdkBuilder.maxPayload(maxPayload.let(Size.Companion::unwrap)) } /** @@ -572,7 +572,7 @@ public open class SageMakerCreateTransformJob( * a transform job invocation. */ override fun modelClientOptions(modelClientOptions: ModelClientOptions) { - cdkBuilder.modelClientOptions(modelClientOptions.let(ModelClientOptions::unwrap)) + cdkBuilder.modelClientOptions(modelClientOptions.let(ModelClientOptions.Companion::unwrap)) } /** @@ -653,7 +653,7 @@ public open class SageMakerCreateTransformJob( * @param role Role for the Transform Job. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -689,7 +689,7 @@ public open class SageMakerCreateTransformJob( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -702,7 +702,7 @@ public open class SageMakerCreateTransformJob( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -712,7 +712,7 @@ public open class SageMakerCreateTransformJob( * stored. */ override fun transformInput(transformInput: TransformInput) { - cdkBuilder.transformInput(transformInput.let(TransformInput::unwrap)) + cdkBuilder.transformInput(transformInput.let(TransformInput.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class SageMakerCreateTransformJob( * the transform job. */ override fun transformOutput(transformOutput: TransformOutput) { - cdkBuilder.transformOutput(transformOutput.let(TransformOutput::unwrap)) + cdkBuilder.transformOutput(transformOutput.let(TransformOutput.Companion::unwrap)) } /** @@ -764,7 +764,7 @@ public open class SageMakerCreateTransformJob( * @param transformResources ML compute instances for the transform job. */ override fun transformResources(transformResources: TransformResources) { - cdkBuilder.transformResources(transformResources.let(TransformResources::unwrap)) + cdkBuilder.transformResources(transformResources.let(TransformResources.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJobProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJobProps.kt index 054d0c2403..88e189441d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJobProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerCreateTransformJobProps.kt @@ -340,7 +340,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * request. */ override fun batchStrategy(batchStrategy: BatchStrategy) { - cdkBuilder.batchStrategy(batchStrategy.let(BatchStrategy::unwrap)) + cdkBuilder.batchStrategy(batchStrategy.let(BatchStrategy.Companion::unwrap)) } /** @@ -356,7 +356,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -382,7 +382,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -391,7 +391,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -412,7 +412,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * @param maxPayload Maximum allowed size of the payload, in MB. */ override fun maxPayload(maxPayload: Size) { - cdkBuilder.maxPayload(maxPayload.let(Size::unwrap)) + cdkBuilder.maxPayload(maxPayload.let(Size.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * a transform job invocation. */ override fun modelClientOptions(modelClientOptions: ModelClientOptions) { - cdkBuilder.modelClientOptions(modelClientOptions.let(ModelClientOptions::unwrap)) + cdkBuilder.modelClientOptions(modelClientOptions.let(ModelClientOptions.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * @param role Role for the Transform Job. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -510,7 +510,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -527,7 +527,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * stored. */ override fun transformInput(transformInput: TransformInput) { - cdkBuilder.transformInput(transformInput.let(TransformInput::unwrap)) + cdkBuilder.transformInput(transformInput.let(TransformInput.Companion::unwrap)) } /** @@ -551,7 +551,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * the transform job. */ override fun transformOutput(transformOutput: TransformOutput) { - cdkBuilder.transformOutput(transformOutput.let(TransformOutput::unwrap)) + cdkBuilder.transformOutput(transformOutput.let(TransformOutput.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public interface SageMakerCreateTransformJobProps : TaskStateBaseProps { * @param transformResources ML compute instances for the transform job. */ override fun transformResources(transformResources: TransformResources) { - cdkBuilder.transformResources(transformResources.let(TransformResources::unwrap)) + cdkBuilder.transformResources(transformResources.let(TransformResources.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpoint.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpoint.kt index 507fcdb6ea..d622b3f3dc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpoint.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpoint.kt @@ -40,8 +40,8 @@ public open class SageMakerUpdateEndpoint( id: String, props: SageMakerUpdateEndpointProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerUpdateEndpoint(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SageMakerUpdateEndpointProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SageMakerUpdateEndpoint(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SageMakerUpdateEndpointProps.Companion::unwrap)) ) public constructor( @@ -268,7 +268,7 @@ public open class SageMakerUpdateEndpoint( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class SageMakerUpdateEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -329,7 +329,7 @@ public open class SageMakerUpdateEndpoint( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class SageMakerUpdateEndpoint( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class SageMakerUpdateEndpoint( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -449,7 +449,7 @@ public open class SageMakerUpdateEndpoint( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SageMakerUpdateEndpoint diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpointProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpointProps.kt index d8f89c8d30..113da762d8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpointProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SageMakerUpdateEndpointProps.kt @@ -170,7 +170,7 @@ public interface SageMakerUpdateEndpointProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface SageMakerUpdateEndpointProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public interface SageMakerUpdateEndpointProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -233,7 +233,7 @@ public interface SageMakerUpdateEndpointProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface SageMakerUpdateEndpointProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface SageMakerUpdateEndpointProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublish.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublish.kt index e64ffeb6de..5fc847004a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublish.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublish.kt @@ -59,8 +59,8 @@ public open class SnsPublish( id: String, props: SnsPublishProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SnsPublish(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SnsPublishProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SnsPublish(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SnsPublishProps.Companion::unwrap)) ) public constructor( @@ -366,7 +366,7 @@ public open class SnsPublish( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -395,7 +395,7 @@ public open class SnsPublish( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class SnsPublish( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -444,7 +444,7 @@ public open class SnsPublish( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class SnsPublish( * @param message The message you want to send. */ override fun message(message: TaskInput) { - cdkBuilder.message(message.let(TaskInput::unwrap)) + cdkBuilder.message(message.let(TaskInput.Companion::unwrap)) } /** @@ -617,7 +617,7 @@ public open class SnsPublish( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -630,7 +630,7 @@ public open class SnsPublish( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class SnsPublish( * @param topic The SNS topic that the task will publish to. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SnsPublish = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublishProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublishProps.kt index 94cbaeaa87..f735c0fa51 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublishProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SnsPublishProps.kt @@ -315,7 +315,7 @@ public interface SnsPublishProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface SnsPublishProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -343,7 +343,7 @@ public interface SnsPublishProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public interface SnsPublishProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public interface SnsPublishProps : TaskStateBaseProps { * For SMS, each message can contain up to 140 characters. */ override fun message(message: TaskInput) { - cdkBuilder.message(message.let(TaskInput::unwrap)) + cdkBuilder.message(message.let(TaskInput.Companion::unwrap)) } /** @@ -479,7 +479,7 @@ public interface SnsPublishProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -488,14 +488,14 @@ public interface SnsPublishProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param topic The SNS topic that the task will publish to. */ override fun topic(topic: ITopic) { - cdkBuilder.topic(topic.let(ITopic::unwrap)) + cdkBuilder.topic(topic.let(ITopic.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SnsPublishProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SparkSubmitJobDriver.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SparkSubmitJobDriver.kt index 7fa8c4fe3b..bc496b480c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SparkSubmitJobDriver.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SparkSubmitJobDriver.kt @@ -95,7 +95,7 @@ public interface SparkSubmitJobDriver { * Length Constraints: Minimum length of 1. Maximum length of 256. */ override fun entryPoint(entryPoint: TaskInput) { - cdkBuilder.entryPoint(entryPoint.let(TaskInput::unwrap)) + cdkBuilder.entryPoint(entryPoint.let(TaskInput.Companion::unwrap)) } /** @@ -104,7 +104,7 @@ public interface SparkSubmitJobDriver { * Length Constraints: Minimum length of 1. Maximum length of 10280. */ override fun entryPointArguments(entryPointArguments: TaskInput) { - cdkBuilder.entryPointArguments(entryPointArguments.let(TaskInput::unwrap)) + cdkBuilder.entryPointArguments(entryPointArguments.let(TaskInput.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessage.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessage.kt index 3f078d60cb..8d29a298e4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessage.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessage.kt @@ -50,8 +50,8 @@ public open class SqsSendMessage( id: String, props: SqsSendMessageProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.SqsSendMessage(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(SqsSendMessageProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.SqsSendMessage(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(SqsSendMessageProps.Companion::unwrap)) ) public constructor( @@ -314,7 +314,7 @@ public open class SqsSendMessage( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class SqsSendMessage( * @param delay The length of time, for which to delay a message. */ override fun delay(delay: Duration) { - cdkBuilder.delay(delay.let(Duration::unwrap)) + cdkBuilder.delay(delay.let(Duration.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public open class SqsSendMessage( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class SqsSendMessage( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -407,7 +407,7 @@ public open class SqsSendMessage( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -416,7 +416,7 @@ public open class SqsSendMessage( * @param messageBody The text message to send to the queue. */ override fun messageBody(messageBody: TaskInput) { - cdkBuilder.messageBody(messageBody.let(TaskInput::unwrap)) + cdkBuilder.messageBody(messageBody.let(TaskInput.Companion::unwrap)) } /** @@ -470,7 +470,7 @@ public open class SqsSendMessage( * @param queue The SQS queue that messages will be sent to. */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -526,7 +526,7 @@ public open class SqsSendMessage( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -539,7 +539,7 @@ public open class SqsSendMessage( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SqsSendMessage = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessageProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessageProps.kt index ffdb13a828..95d43928aa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessageProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/SqsSendMessageProps.kt @@ -233,7 +233,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { * of the delay period. The maximum allowed delay is 15 minutes. */ override fun delay(delay: Duration) { - cdkBuilder.delay(delay.let(Duration::unwrap)) + cdkBuilder.delay(delay.let(Duration.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -291,14 +291,14 @@ public interface SqsSendMessageProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** * @param messageBody The text message to send to the queue. */ override fun messageBody(messageBody: TaskInput) { - cdkBuilder.messageBody(messageBody.let(TaskInput::unwrap)) + cdkBuilder.messageBody(messageBody.let(TaskInput.Companion::unwrap)) } /** @@ -334,7 +334,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { * @param queue The SQS queue that messages will be sent to. */ override fun queue(queue: IQueue) { - cdkBuilder.queue(queue.let(IQueue::unwrap)) + cdkBuilder.queue(queue.let(IQueue.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public interface SqsSendMessageProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.SqsSendMessageProps = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivity.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivity.kt index c53ce83b14..ba0d9d588c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivity.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivity.kt @@ -41,8 +41,8 @@ public open class StepFunctionsInvokeActivity( id: String, props: StepFunctionsInvokeActivityProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.StepFunctionsInvokeActivity(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepFunctionsInvokeActivityProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.StepFunctionsInvokeActivity(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepFunctionsInvokeActivityProps.Companion::unwrap)) ) public constructor( @@ -257,7 +257,7 @@ public open class StepFunctionsInvokeActivity( * @param activity Step Functions Activity to invoke. */ override fun activity(activity: IActivity) { - cdkBuilder.activity(activity.let(IActivity::unwrap)) + cdkBuilder.activity(activity.let(IActivity.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class StepFunctionsInvokeActivity( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -312,7 +312,7 @@ public open class StepFunctionsInvokeActivity( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -326,7 +326,7 @@ public open class StepFunctionsInvokeActivity( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -361,7 +361,7 @@ public open class StepFunctionsInvokeActivity( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -447,7 +447,7 @@ public open class StepFunctionsInvokeActivity( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class StepFunctionsInvokeActivity( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivityProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivityProps.kt index 1a6efd910f..62939a48b0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivityProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsInvokeActivityProps.kt @@ -167,7 +167,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { * @param activity Step Functions Activity to invoke. */ override fun activity(activity: IActivity) { - cdkBuilder.activity(activity.let(IActivity::unwrap)) + cdkBuilder.activity(activity.let(IActivity.Companion::unwrap)) } /** @@ -183,7 +183,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -211,7 +211,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface StepFunctionsInvokeActivityProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecution.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecution.kt index 41b0aa9210..6d77067cb5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecution.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecution.kt @@ -58,8 +58,8 @@ public open class StepFunctionsStartExecution( id: String, props: StepFunctionsStartExecutionProps, ) : - this(software.amazon.awscdk.services.stepfunctions.tasks.StepFunctionsStartExecution(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(StepFunctionsStartExecutionProps::unwrap)) + this(software.amazon.awscdk.services.stepfunctions.tasks.StepFunctionsStartExecution(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(StepFunctionsStartExecutionProps.Companion::unwrap)) ) public constructor( @@ -335,7 +335,7 @@ public open class StepFunctionsStartExecution( * the task. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class StepFunctionsStartExecution( */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class StepFunctionsStartExecution( * @param heartbeatTimeout Timeout for the heartbeat. */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class StepFunctionsStartExecution( * @param input The JSON input for the execution, same as that of StartExecution. */ override fun input(input: TaskInput) { - cdkBuilder.input(input.let(TaskInput::unwrap)) + cdkBuilder.input(input.let(TaskInput.Companion::unwrap)) } /** @@ -425,7 +425,7 @@ public open class StepFunctionsStartExecution( * States Language. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public open class StepFunctionsStartExecution( * @param stateMachine The Step Functions state machine to start the execution on. */ override fun stateMachine(stateMachine: IStateMachine) { - cdkBuilder.stateMachine(stateMachine.let(IStateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(IStateMachine.Companion::unwrap)) } /** @@ -518,7 +518,7 @@ public open class StepFunctionsStartExecution( * @param taskTimeout Timeout for the task. */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class StepFunctionsStartExecution( */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecutionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecutionProps.kt index 6158b61da5..d2c7abfe5e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecutionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StepFunctionsStartExecutionProps.kt @@ -243,7 +243,7 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { * This enables cross-account resource invocations. */ override fun credentials(credentials: Credentials) { - cdkBuilder.credentials(credentials.let(Credentials::unwrap)) + cdkBuilder.credentials(credentials.let(Credentials.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun heartbeat(heartbeat: Duration) { - cdkBuilder.heartbeat(heartbeat.let(Duration::unwrap)) + cdkBuilder.heartbeat(heartbeat.let(Duration.Companion::unwrap)) } /** @@ -271,14 +271,14 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun heartbeatTimeout(heartbeatTimeout: Timeout) { - cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout::unwrap)) + cdkBuilder.heartbeatTimeout(heartbeatTimeout.let(Timeout.Companion::unwrap)) } /** * @param input The JSON input for the execution, same as that of StartExecution. */ override fun input(input: TaskInput) { - cdkBuilder.input(input.let(TaskInput::unwrap)) + cdkBuilder.input(input.let(TaskInput.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { * Depending on the AWS Service, the Service Integration Pattern availability will vary. */ override fun integrationPattern(integrationPattern: IntegrationPattern) { - cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern::unwrap)) + cdkBuilder.integrationPattern(integrationPattern.let(IntegrationPattern.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { * @param stateMachine The Step Functions state machine to start the execution on. */ override fun stateMachine(stateMachine: IStateMachine) { - cdkBuilder.stateMachine(stateMachine.let(IStateMachine::unwrap)) + cdkBuilder.stateMachine(stateMachine.let(IStateMachine.Companion::unwrap)) } /** @@ -358,7 +358,7 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { * aws-stepfunctions-tasks extend this interface */ override fun taskTimeout(taskTimeout: Timeout) { - cdkBuilder.taskTimeout(taskTimeout.let(Timeout::unwrap)) + cdkBuilder.taskTimeout(taskTimeout.let(Timeout.Companion::unwrap)) } /** @@ -367,7 +367,7 @@ public interface StepFunctionsStartExecutionProps : TaskStateBaseProps { */ @Deprecated(message = "deprecated in CDK") override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StoppingCondition.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StoppingCondition.kt index e299ae281b..ed67bd5115 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StoppingCondition.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/StoppingCondition.kt @@ -76,7 +76,7 @@ public interface StoppingCondition { * job can run. */ override fun maxRuntime(maxRuntime: Duration) { - cdkBuilder.maxRuntime(maxRuntime.let(Duration::unwrap)) + cdkBuilder.maxRuntime(maxRuntime.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.StoppingCondition = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformDataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformDataSource.kt index 7b8c07117c..5267a51786 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformDataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformDataSource.kt @@ -72,7 +72,7 @@ public interface TransformDataSource { * @param s3DataSource S3 location of the input data. */ override fun s3DataSource(s3DataSource: TransformS3DataSource) { - cdkBuilder.s3DataSource(s3DataSource.let(TransformS3DataSource::unwrap)) + cdkBuilder.s3DataSource(s3DataSource.let(TransformS3DataSource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformInput.kt index b542a3e127..404e9f5aec 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformInput.kt @@ -110,7 +110,7 @@ public interface TransformInput { * @param compressionType The compression type of the transform data. */ override fun compressionType(compressionType: CompressionType) { - cdkBuilder.compressionType(compressionType.let(CompressionType::unwrap)) + cdkBuilder.compressionType(compressionType.let(CompressionType.Companion::unwrap)) } /** @@ -124,14 +124,14 @@ public interface TransformInput { * @param splitType Method to use to split the transform job's data files into smaller batches. */ override fun splitType(splitType: SplitType) { - cdkBuilder.splitType(splitType.let(SplitType::unwrap)) + cdkBuilder.splitType(splitType.let(SplitType.Companion::unwrap)) } /** * @param transformDataSource S3 location of the channel data. */ override fun transformDataSource(transformDataSource: TransformDataSource) { - cdkBuilder.transformDataSource(transformDataSource.let(TransformDataSource::unwrap)) + cdkBuilder.transformDataSource(transformDataSource.let(TransformDataSource.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformOutput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformOutput.kt index 186fee81df..4b790f8daa 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformOutput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformOutput.kt @@ -114,7 +114,7 @@ public interface TransformOutput { * object. */ override fun assembleWith(assembleWith: AssembleWith) { - cdkBuilder.assembleWith(assembleWith.let(AssembleWith::unwrap)) + cdkBuilder.assembleWith(assembleWith.let(AssembleWith.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public interface TransformOutput { * rest using Amazon S3 server-side encryption. */ override fun encryptionKey(encryptionKey: IKey) { - cdkBuilder.encryptionKey(encryptionKey.let(IKey::unwrap)) + cdkBuilder.encryptionKey(encryptionKey.let(IKey.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformResources.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformResources.kt index 6e67faf4f9..aa621f95ef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformResources.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformResources.kt @@ -98,7 +98,7 @@ public interface TransformResources { * @param instanceType ML compute instance type for the transform job. */ override fun instanceType(instanceType: InstanceType) { - cdkBuilder.instanceType(instanceType.let(InstanceType::unwrap)) + cdkBuilder.instanceType(instanceType.let(InstanceType.Companion::unwrap)) } /** @@ -106,7 +106,7 @@ public interface TransformResources { * storage volume attached to the ML compute instance(s). */ override fun volumeEncryptionKey(volumeEncryptionKey: IKey) { - cdkBuilder.volumeEncryptionKey(volumeEncryptionKey.let(IKey::unwrap)) + cdkBuilder.volumeEncryptionKey(volumeEncryptionKey.let(IKey.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.TransformResources = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformS3DataSource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformS3DataSource.kt index 53c5a4a688..7c64f76a5f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformS3DataSource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/TransformS3DataSource.kt @@ -77,7 +77,7 @@ public interface TransformS3DataSource { * @param s3DataType S3 Data Type. */ override fun s3DataType(s3DataType: S3DataType) { - cdkBuilder.s3DataType(s3DataType.let(S3DataType::unwrap)) + cdkBuilder.s3DataType(s3DataType.let(S3DataType.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VirtualClusterInput.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VirtualClusterInput.kt index fa252798fc..8f49e5a02b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VirtualClusterInput.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VirtualClusterInput.kt @@ -40,7 +40,7 @@ public open class VirtualClusterInput( public companion object { public fun fromTaskInput(taskInput: TaskInput): VirtualClusterInput = - software.amazon.awscdk.services.stepfunctions.tasks.VirtualClusterInput.fromTaskInput(taskInput.let(TaskInput::unwrap)).let(VirtualClusterInput::wrap) + software.amazon.awscdk.services.stepfunctions.tasks.VirtualClusterInput.fromTaskInput(taskInput.let(TaskInput.Companion::unwrap)).let(VirtualClusterInput::wrap) public fun fromVirtualClusterId(virtualClusterId: String): VirtualClusterInput = software.amazon.awscdk.services.stepfunctions.tasks.VirtualClusterInput.fromVirtualClusterId(virtualClusterId).let(VirtualClusterInput::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VpcConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VpcConfig.kt index f7e292d252..a0502c1dbb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VpcConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/stepfunctions/tasks/VpcConfig.kt @@ -81,7 +81,7 @@ public interface VpcConfig { * @param subnets VPC subnets. */ override fun subnets(subnets: SubnetSelection) { - cdkBuilder.subnets(subnets.let(SubnetSelection::unwrap)) + cdkBuilder.subnets(subnets.let(SubnetSelection.Companion::unwrap)) } /** @@ -96,7 +96,7 @@ public interface VpcConfig { * @param vpc VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.stepfunctions.tasks.VpcConfig = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnAccountAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnAccountAlias.kt index d8a7b43b95..6cf308ec44 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnAccountAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnAccountAlias.kt @@ -44,8 +44,8 @@ public open class CfnAccountAlias( id: String, props: CfnAccountAliasProps, ) : - this(software.amazon.awscdk.services.supportapp.CfnAccountAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccountAliasProps::unwrap)) + this(software.amazon.awscdk.services.supportapp.CfnAccountAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccountAliasProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnAccountAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfiguration.kt index 7c1db8da87..6b8c342747 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfiguration.kt @@ -64,8 +64,8 @@ public open class CfnSlackChannelConfiguration( id: String, props: CfnSlackChannelConfigurationProps, ) : - this(software.amazon.awscdk.services.supportapp.CfnSlackChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSlackChannelConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.supportapp.CfnSlackChannelConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSlackChannelConfigurationProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnSlackChannelConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnSlackChannelConfiguration( * Whether to get notified when a correspondence is added to your support cases. */ public open fun notifyOnAddCorrespondenceToCase(`value`: IResolvable) { - unwrap(this).setNotifyOnAddCorrespondenceToCase(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotifyOnAddCorrespondenceToCase(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -168,7 +168,7 @@ public open class CfnSlackChannelConfiguration( * Whether to get notified when your support cases are created or reopened. */ public open fun notifyOnCreateOrReopenCase(`value`: IResolvable) { - unwrap(this).setNotifyOnCreateOrReopenCase(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotifyOnCreateOrReopenCase(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnSlackChannelConfiguration( * Whether to get notified when your support cases are resolved. */ public open fun notifyOnResolveCase(`value`: IResolvable) { - unwrap(this).setNotifyOnResolveCase(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotifyOnResolveCase(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -380,7 +380,7 @@ public open class CfnSlackChannelConfiguration( * to your support cases. */ override fun notifyOnAddCorrespondenceToCase(notifyOnAddCorrespondenceToCase: IResolvable) { - cdkBuilder.notifyOnAddCorrespondenceToCase(notifyOnAddCorrespondenceToCase.let(IResolvable::unwrap)) + cdkBuilder.notifyOnAddCorrespondenceToCase(notifyOnAddCorrespondenceToCase.let(IResolvable.Companion::unwrap)) } /** @@ -415,7 +415,7 @@ public open class CfnSlackChannelConfiguration( * or reopened. */ override fun notifyOnCreateOrReopenCase(notifyOnCreateOrReopenCase: IResolvable) { - cdkBuilder.notifyOnCreateOrReopenCase(notifyOnCreateOrReopenCase.let(IResolvable::unwrap)) + cdkBuilder.notifyOnCreateOrReopenCase(notifyOnCreateOrReopenCase.let(IResolvable.Companion::unwrap)) } /** @@ -435,7 +435,7 @@ public open class CfnSlackChannelConfiguration( * @param notifyOnResolveCase Whether to get notified when your support cases are resolved. */ override fun notifyOnResolveCase(notifyOnResolveCase: IResolvable) { - cdkBuilder.notifyOnResolveCase(notifyOnResolveCase.let(IResolvable::unwrap)) + cdkBuilder.notifyOnResolveCase(notifyOnResolveCase.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfigurationProps.kt index 5a6eb6985a..6999574631 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackChannelConfigurationProps.kt @@ -222,7 +222,7 @@ public interface CfnSlackChannelConfigurationProps { * to your support cases. */ override fun notifyOnAddCorrespondenceToCase(notifyOnAddCorrespondenceToCase: IResolvable) { - cdkBuilder.notifyOnAddCorrespondenceToCase(notifyOnAddCorrespondenceToCase.let(IResolvable::unwrap)) + cdkBuilder.notifyOnAddCorrespondenceToCase(notifyOnAddCorrespondenceToCase.let(IResolvable.Companion::unwrap)) } /** @@ -247,7 +247,7 @@ public interface CfnSlackChannelConfigurationProps { * or reopened. */ override fun notifyOnCreateOrReopenCase(notifyOnCreateOrReopenCase: IResolvable) { - cdkBuilder.notifyOnCreateOrReopenCase(notifyOnCreateOrReopenCase.let(IResolvable::unwrap)) + cdkBuilder.notifyOnCreateOrReopenCase(notifyOnCreateOrReopenCase.let(IResolvable.Companion::unwrap)) } /** @@ -261,7 +261,7 @@ public interface CfnSlackChannelConfigurationProps { * @param notifyOnResolveCase Whether to get notified when your support cases are resolved. */ override fun notifyOnResolveCase(notifyOnResolveCase: IResolvable) { - cdkBuilder.notifyOnResolveCase(notifyOnResolveCase.let(IResolvable::unwrap)) + cdkBuilder.notifyOnResolveCase(notifyOnResolveCase.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackWorkspaceConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackWorkspaceConfiguration.kt index 4bc925a15f..17f427757b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackWorkspaceConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/supportapp/CfnSlackWorkspaceConfiguration.kt @@ -52,8 +52,8 @@ public open class CfnSlackWorkspaceConfiguration( id: String, props: CfnSlackWorkspaceConfigurationProps, ) : - this(software.amazon.awscdk.services.supportapp.CfnSlackWorkspaceConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSlackWorkspaceConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.supportapp.CfnSlackWorkspaceConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSlackWorkspaceConfigurationProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnSlackWorkspaceConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/ArtifactsBucketLocation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/ArtifactsBucketLocation.kt index 1b66e74eca..39f6f89be4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/ArtifactsBucketLocation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/ArtifactsBucketLocation.kt @@ -71,7 +71,7 @@ public interface ArtifactsBucketLocation { * @param bucket The s3 location that stores the data of each run. */ override fun bucket(bucket: IBucket) { - cdkBuilder.bucket(bucket.let(IBucket::unwrap)) + cdkBuilder.bucket(bucket.let(IBucket.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/AssetCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/AssetCode.kt index d49877ee0e..bec3735e80 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/AssetCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/AssetCode.kt @@ -73,7 +73,7 @@ public open class AssetCode( public constructor(assetPath: String, options: AssetOptions) : this(software.amazon.awscdk.services.synthetics.AssetCode(assetPath, - options.let(AssetOptions::unwrap)) + options.let(AssetOptions.Companion::unwrap)) ) public constructor(assetPath: String, options: AssetOptions.Builder.() -> Unit) : this(assetPath, @@ -92,8 +92,8 @@ public open class AssetCode( scope: Construct, handler: String, family: RuntimeFamily, - ): CodeConfig = unwrap(this).bind(scope.let(Construct::unwrap), handler, - family.let(RuntimeFamily::unwrap)).let(CodeConfig::wrap) + ): CodeConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), handler, + family.let(RuntimeFamily.Companion::unwrap)).let(CodeConfig::wrap) /** * A fluent builder for [io.cloudshiftdev.awscdk.services.synthetics.AssetCode]. @@ -291,7 +291,7 @@ public open class AssetCode( * @param assetHashType Specifies the type of hash to calculate for this asset. */ override fun assetHashType(assetHashType: AssetHashType) { - cdkBuilder.assetHashType(assetHashType.let(AssetHashType::unwrap)) + cdkBuilder.assetHashType(assetHashType.let(AssetHashType.Companion::unwrap)) } /** @@ -309,7 +309,7 @@ public open class AssetCode( * bundling provider. */ override fun bundling(bundling: BundlingOptions) { - cdkBuilder.bundling(bundling.let(BundlingOptions::unwrap)) + cdkBuilder.bundling(bundling.let(BundlingOptions.Companion::unwrap)) } /** @@ -386,7 +386,7 @@ public open class AssetCode( * @param followSymlinks A strategy for how to handle symlinks. */ override fun followSymlinks(followSymlinks: SymlinkFollowMode) { - cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode::unwrap)) + cdkBuilder.followSymlinks(followSymlinks.let(SymlinkFollowMode.Companion::unwrap)) } /** @@ -397,7 +397,7 @@ public open class AssetCode( * @param ignoreMode The ignore behavior to use for `exclude` patterns. */ override fun ignoreMode(ignoreMode: IgnoreMode) { - cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode::unwrap)) + cdkBuilder.ignoreMode(ignoreMode.let(IgnoreMode.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class AssetCode( * @param readers A list of principals that should be able to read this asset from S3. */ override fun readers(readers: List) { - cdkBuilder.readers(readers.map(IGrantable::unwrap)) + cdkBuilder.readers(readers.map(IGrantable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Canary.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Canary.kt index 94dcce383e..c02bd03a31 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Canary.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Canary.kt @@ -50,8 +50,8 @@ public open class Canary( id: String, props: CanaryProps, ) : - this(software.amazon.awscdk.services.synthetics.Canary(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CanaryProps::unwrap)) + this(software.amazon.awscdk.services.synthetics.Canary(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CanaryProps.Companion::unwrap)) ) public constructor( @@ -108,7 +108,7 @@ public open class Canary( * @param options * configuration options for the metric. */ public open fun metricDuration(options: MetricOptions): Metric = - unwrap(this).metricDuration(options.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricDuration(options.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measure the Duration of a single canary run, in seconds. @@ -139,7 +139,7 @@ public open class Canary( * @param options * configuration options for the metric. */ public open fun metricFailed(options: MetricOptions): Metric = - unwrap(this).metricFailed(options.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricFailed(options.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measure the number of failed canary runs over a given time period. @@ -171,7 +171,7 @@ public open class Canary( * @param options * configuration options for the metric. */ public open fun metricSuccessPercent(options: MetricOptions): Metric = - unwrap(this).metricSuccessPercent(options.let(MetricOptions::unwrap)).let(Metric::wrap) + unwrap(this).metricSuccessPercent(options.let(MetricOptions.Companion::unwrap)).let(Metric::wrap) /** * Measure the percentage of successful canary runs. @@ -460,7 +460,7 @@ public open class Canary( * bucket. */ override fun artifactsBucketLifecycleRules(artifactsBucketLifecycleRules: List) { - cdkBuilder.artifactsBucketLifecycleRules(artifactsBucketLifecycleRules.map(LifecycleRule::unwrap)) + cdkBuilder.artifactsBucketLifecycleRules(artifactsBucketLifecycleRules.map(LifecycleRule.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class Canary( * @param artifactsBucketLocation The s3 location that stores the data of the canary runs. */ override fun artifactsBucketLocation(artifactsBucketLocation: ArtifactsBucketLocation) { - cdkBuilder.artifactsBucketLocation(artifactsBucketLocation.let(ArtifactsBucketLocation::unwrap)) + cdkBuilder.artifactsBucketLocation(artifactsBucketLocation.let(ArtifactsBucketLocation.Companion::unwrap)) } /** @@ -531,7 +531,7 @@ public open class Canary( * @param cleanup Specify the underlying resources to be cleaned up when the canary is deleted. */ override fun cleanup(cleanup: Cleanup) { - cdkBuilder.cleanup(cleanup.let(Cleanup::unwrap)) + cdkBuilder.cleanup(cleanup.let(Cleanup.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class Canary( * @param failureRetentionPeriod How many days should failed runs be retained. */ override fun failureRetentionPeriod(failureRetentionPeriod: Duration) { - cdkBuilder.failureRetentionPeriod(failureRetentionPeriod.let(Duration::unwrap)) + cdkBuilder.failureRetentionPeriod(failureRetentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -580,7 +580,7 @@ public open class Canary( * @param role Canary execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class Canary( * @param runtime Specify the runtime version to use for the canary. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -606,7 +606,7 @@ public open class Canary( * @param schedule Specify the schedule for how often the canary runs. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -621,7 +621,7 @@ public open class Canary( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -657,7 +657,7 @@ public open class Canary( * @param successRetentionPeriod How many days should successful runs be retained. */ override fun successRetentionPeriod(successRetentionPeriod: Duration) { - cdkBuilder.successRetentionPeriod(successRetentionPeriod.let(Duration::unwrap)) + cdkBuilder.successRetentionPeriod(successRetentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -668,7 +668,7 @@ public open class Canary( * @param test The type of test that you want your canary to run. */ override fun test(test: Test) { - cdkBuilder.test(test.let(Test::unwrap)) + cdkBuilder.test(test.let(Test.Companion::unwrap)) } /** @@ -682,7 +682,7 @@ public open class Canary( * @param timeToLive How long the canary will be in a 'RUNNING' state. */ override fun timeToLive(timeToLive: Duration) { - cdkBuilder.timeToLive(timeToLive.let(Duration::unwrap)) + cdkBuilder.timeToLive(timeToLive.let(Duration.Companion::unwrap)) } /** @@ -695,7 +695,7 @@ public open class Canary( * @param vpc The VPC where this canary is run. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public open class Canary( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CanaryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CanaryProps.kt index 8d44c4353d..ee381ff08c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CanaryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CanaryProps.kt @@ -367,7 +367,7 @@ public interface CanaryProps { * itself. */ override fun artifactsBucketLifecycleRules(artifactsBucketLifecycleRules: List) { - cdkBuilder.artifactsBucketLifecycleRules(artifactsBucketLifecycleRules.map(LifecycleRule::unwrap)) + cdkBuilder.artifactsBucketLifecycleRules(artifactsBucketLifecycleRules.map(LifecycleRule.Companion::unwrap)) } /** @@ -385,7 +385,7 @@ public interface CanaryProps { * @param artifactsBucketLocation The s3 location that stores the data of the canary runs. */ override fun artifactsBucketLocation(artifactsBucketLocation: ArtifactsBucketLocation) { - cdkBuilder.artifactsBucketLocation(artifactsBucketLocation.let(ArtifactsBucketLocation::unwrap)) + cdkBuilder.artifactsBucketLocation(artifactsBucketLocation.let(ArtifactsBucketLocation.Companion::unwrap)) } /** @@ -414,7 +414,7 @@ public interface CanaryProps { * Using `Cleanup.LAMBDA` will create a Custom Resource to achieve this. */ override fun cleanup(cleanup: Cleanup) { - cdkBuilder.cleanup(cleanup.let(Cleanup::unwrap)) + cdkBuilder.cleanup(cleanup.let(Cleanup.Companion::unwrap)) } /** @@ -433,7 +433,7 @@ public interface CanaryProps { * @param failureRetentionPeriod How many days should failed runs be retained. */ override fun failureRetentionPeriod(failureRetentionPeriod: Duration) { - cdkBuilder.failureRetentionPeriod(failureRetentionPeriod.let(Duration::unwrap)) + cdkBuilder.failureRetentionPeriod(failureRetentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -446,14 +446,14 @@ public interface CanaryProps { * If you provide a Role, you must add the required permissions. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** * @param runtime Specify the runtime version to use for the canary. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -464,7 +464,7 @@ public interface CanaryProps { * expression using `Schedule.expression()`. */ override fun schedule(schedule: Schedule) { - cdkBuilder.schedule(schedule.let(Schedule::unwrap)) + cdkBuilder.schedule(schedule.let(Schedule.Companion::unwrap)) } /** @@ -473,7 +473,7 @@ public interface CanaryProps { * You must provide `vpc` when using this prop. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -495,7 +495,7 @@ public interface CanaryProps { * @param successRetentionPeriod How many days should successful runs be retained. */ override fun successRetentionPeriod(successRetentionPeriod: Duration) { - cdkBuilder.successRetentionPeriod(successRetentionPeriod.let(Duration::unwrap)) + cdkBuilder.successRetentionPeriod(successRetentionPeriod.let(Duration.Companion::unwrap)) } /** @@ -503,7 +503,7 @@ public interface CanaryProps { * Use `Test.custom()` to specify the test to run. */ override fun test(test: Test) { - cdkBuilder.test(test.let(Test::unwrap)) + cdkBuilder.test(test.let(Test.Companion::unwrap)) } /** @@ -512,7 +512,7 @@ public interface CanaryProps { * your canary will run at 10 minute intervals for an hour, for a total of 6 times. */ override fun timeToLive(timeToLive: Duration) { - cdkBuilder.timeToLive(timeToLive.let(Duration::unwrap)) + cdkBuilder.timeToLive(timeToLive.let(Duration.Companion::unwrap)) } /** @@ -520,7 +520,7 @@ public interface CanaryProps { * Specify this if the canary needs to access resources in a VPC. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -528,7 +528,7 @@ public interface CanaryProps { * You must provide `vpc` when using this prop. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanary.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanary.kt index 3614dbbf56..112d6072e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanary.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanary.kt @@ -119,8 +119,8 @@ public open class CfnCanary( id: String, props: CfnCanaryProps, ) : - this(software.amazon.awscdk.services.synthetics.CfnCanary(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCanaryProps::unwrap)) + this(software.amazon.awscdk.services.synthetics.CfnCanary(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCanaryProps.Companion::unwrap)) ) public constructor( @@ -141,7 +141,7 @@ public open class CfnCanary( * encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. */ public open fun artifactConfig(`value`: IResolvable) { - unwrap(this).setArtifactConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setArtifactConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnCanary( * encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. */ public open fun artifactConfig(`value`: ArtifactConfigProperty) { - unwrap(this).setArtifactConfig(`value`.let(ArtifactConfigProperty::unwrap)) + unwrap(this).setArtifactConfig(`value`.let(ArtifactConfigProperty.Companion::unwrap)) } /** @@ -199,14 +199,14 @@ public open class CfnCanary( * Use this structure to input your script code for the canary. */ public open fun code(`value`: IResolvable) { - unwrap(this).setCode(`value`.let(IResolvable::unwrap)) + unwrap(this).setCode(`value`.let(IResolvable.Companion::unwrap)) } /** * Use this structure to input your script code for the canary. */ public open fun code(`value`: CodeProperty) { - unwrap(this).setCode(`value`.let(CodeProperty::unwrap)) + unwrap(this).setCode(`value`.let(CodeProperty.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnCanary( */ @Deprecated(message = "deprecated in CDK") public open fun deleteLambdaResourcesOnCanaryDeletion(`value`: IResolvable) { - unwrap(this).setDeleteLambdaResourcesOnCanaryDeletion(`value`.let(IResolvable::unwrap)) + unwrap(this).setDeleteLambdaResourcesOnCanaryDeletion(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -275,7 +275,7 @@ public open class CfnCanary( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -299,14 +299,14 @@ public open class CfnCanary( * A structure that contains input information for a canary run. */ public open fun runConfig(`value`: IResolvable) { - unwrap(this).setRunConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setRunConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains input information for a canary run. */ public open fun runConfig(`value`: RunConfigProperty) { - unwrap(this).setRunConfig(`value`.let(RunConfigProperty::unwrap)) + unwrap(this).setRunConfig(`value`.let(RunConfigProperty.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnCanary( * are to stop. */ public open fun schedule(`value`: IResolvable) { - unwrap(this).setSchedule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchedule(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -348,7 +348,7 @@ public open class CfnCanary( * are to stop. */ public open fun schedule(`value`: ScheduleProperty) { - unwrap(this).setSchedule(`value`.let(ScheduleProperty::unwrap)) + unwrap(this).setSchedule(`value`.let(ScheduleProperty.Companion::unwrap)) } /** @@ -376,7 +376,7 @@ public open class CfnCanary( * Specify TRUE to have the canary start making runs immediately after it is created. */ public open fun startCanaryAfterCreation(`value`: IResolvable) { - unwrap(this).setStartCanaryAfterCreation(`value`.let(IResolvable::unwrap)) + unwrap(this).setStartCanaryAfterCreation(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -406,7 +406,7 @@ public open class CfnCanary( * The list of key-value pairs that are associated with the canary. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -427,7 +427,7 @@ public open class CfnCanary( * the screen to ignore during the visual monitoring comparison. */ public open fun visualReference(`value`: IResolvable) { - unwrap(this).setVisualReference(`value`.let(IResolvable::unwrap)) + unwrap(this).setVisualReference(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -436,7 +436,7 @@ public open class CfnCanary( * the screen to ignore during the visual monitoring comparison. */ public open fun visualReference(`value`: VisualReferenceProperty) { - unwrap(this).setVisualReference(`value`.let(VisualReferenceProperty::unwrap)) + unwrap(this).setVisualReference(`value`.let(VisualReferenceProperty.Companion::unwrap)) } /** @@ -460,7 +460,7 @@ public open class CfnCanary( * subnet and security groups of the VPC endpoint. */ public open fun vpcConfig(`value`: IResolvable) { - unwrap(this).setVpcConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVpcConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -468,7 +468,7 @@ public open class CfnCanary( * subnet and security groups of the VPC endpoint. */ public open fun vpcConfig(`value`: VPCConfigProperty) { - unwrap(this).setVpcConfig(`value`.let(VPCConfigProperty::unwrap)) + unwrap(this).setVpcConfig(`value`.let(VPCConfigProperty.Companion::unwrap)) } /** @@ -873,7 +873,7 @@ public open class CfnCanary( * including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. */ override fun artifactConfig(artifactConfig: IResolvable) { - cdkBuilder.artifactConfig(artifactConfig.let(IResolvable::unwrap)) + cdkBuilder.artifactConfig(artifactConfig.let(IResolvable.Companion::unwrap)) } /** @@ -885,7 +885,7 @@ public open class CfnCanary( * including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. */ override fun artifactConfig(artifactConfig: ArtifactConfigProperty) { - cdkBuilder.artifactConfig(artifactConfig.let(ArtifactConfigProperty::unwrap)) + cdkBuilder.artifactConfig(artifactConfig.let(ArtifactConfigProperty.Companion::unwrap)) } /** @@ -927,7 +927,7 @@ public open class CfnCanary( * @param code Use this structure to input your script code for the canary. */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -942,7 +942,7 @@ public open class CfnCanary( * @param code Use this structure to input your script code for the canary. */ override fun code(code: CodeProperty) { - cdkBuilder.code(code.let(CodeProperty::unwrap)) + cdkBuilder.code(code.let(CodeProperty.Companion::unwrap)) } /** @@ -989,7 +989,7 @@ public open class CfnCanary( @Deprecated(message = "deprecated in CDK") override fun deleteLambdaResourcesOnCanaryDeletion(deleteLambdaResourcesOnCanaryDeletion: IResolvable) { - cdkBuilder.deleteLambdaResourcesOnCanaryDeletion(deleteLambdaResourcesOnCanaryDeletion.let(IResolvable::unwrap)) + cdkBuilder.deleteLambdaResourcesOnCanaryDeletion(deleteLambdaResourcesOnCanaryDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -1055,7 +1055,7 @@ public open class CfnCanary( * @param runConfig A structure that contains input information for a canary run. */ override fun runConfig(runConfig: IResolvable) { - cdkBuilder.runConfig(runConfig.let(IResolvable::unwrap)) + cdkBuilder.runConfig(runConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1068,7 +1068,7 @@ public open class CfnCanary( * @param runConfig A structure that contains input information for a canary run. */ override fun runConfig(runConfig: RunConfigProperty) { - cdkBuilder.runConfig(runConfig.let(RunConfigProperty::unwrap)) + cdkBuilder.runConfig(runConfig.let(RunConfigProperty.Companion::unwrap)) } /** @@ -1108,7 +1108,7 @@ public open class CfnCanary( * and when these runs are to stop. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -1120,7 +1120,7 @@ public open class CfnCanary( * and when these runs are to stop. */ override fun schedule(schedule: ScheduleProperty) { - cdkBuilder.schedule(schedule.let(ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(ScheduleProperty.Companion::unwrap)) } /** @@ -1161,7 +1161,7 @@ public open class CfnCanary( * after it is created. */ override fun startCanaryAfterCreation(startCanaryAfterCreation: IResolvable) { - cdkBuilder.startCanaryAfterCreation(startCanaryAfterCreation.let(IResolvable::unwrap)) + cdkBuilder.startCanaryAfterCreation(startCanaryAfterCreation.let(IResolvable.Companion::unwrap)) } /** @@ -1184,7 +1184,7 @@ public open class CfnCanary( * @param tags The list of key-value pairs that are associated with the canary. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1206,7 +1206,7 @@ public open class CfnCanary( * coordinates of any parts of the screen to ignore during the visual monitoring comparison. */ override fun visualReference(visualReference: IResolvable) { - cdkBuilder.visualReference(visualReference.let(IResolvable::unwrap)) + cdkBuilder.visualReference(visualReference.let(IResolvable.Companion::unwrap)) } /** @@ -1220,7 +1220,7 @@ public open class CfnCanary( * coordinates of any parts of the screen to ignore during the visual monitoring comparison. */ override fun visualReference(visualReference: VisualReferenceProperty) { - cdkBuilder.visualReference(visualReference.let(VisualReferenceProperty::unwrap)) + cdkBuilder.visualReference(visualReference.let(VisualReferenceProperty.Companion::unwrap)) } /** @@ -1251,7 +1251,7 @@ public open class CfnCanary( * information about the subnet and security groups of the VPC endpoint. */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1267,7 +1267,7 @@ public open class CfnCanary( * information about the subnet and security groups of the VPC endpoint. */ override fun vpcConfig(vpcConfig: VPCConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(VPCConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(VPCConfigProperty.Companion::unwrap)) } /** @@ -1400,7 +1400,7 @@ public open class CfnCanary( * . */ override fun s3Encryption(s3Encryption: IResolvable) { - cdkBuilder.s3Encryption(s3Encryption.let(IResolvable::unwrap)) + cdkBuilder.s3Encryption(s3Encryption.let(IResolvable.Companion::unwrap)) } /** @@ -1413,7 +1413,7 @@ public open class CfnCanary( * . */ override fun s3Encryption(s3Encryption: S3EncryptionProperty) { - cdkBuilder.s3Encryption(s3Encryption.let(S3EncryptionProperty::unwrap)) + cdkBuilder.s3Encryption(s3Encryption.let(S3EncryptionProperty.Companion::unwrap)) } /** @@ -2096,7 +2096,7 @@ public open class CfnCanary( * for their canary runtime. */ override fun activeTracing(activeTracing: IResolvable) { - cdkBuilder.activeTracing(activeTracing.let(IResolvable::unwrap)) + cdkBuilder.activeTracing(activeTracing.let(IResolvable.Companion::unwrap)) } /** @@ -2114,7 +2114,7 @@ public open class CfnCanary( * . */ override fun environmentVariables(environmentVariables: IResolvable) { - cdkBuilder.environmentVariables(environmentVariables.let(IResolvable::unwrap)) + cdkBuilder.environmentVariables(environmentVariables.let(IResolvable.Companion::unwrap)) } /** @@ -2832,7 +2832,7 @@ public open class CfnCanary( * comparisons during visual monitoring. */ override fun baseScreenshots(baseScreenshots: IResolvable) { - cdkBuilder.baseScreenshots(baseScreenshots.let(IResolvable::unwrap)) + cdkBuilder.baseScreenshots(baseScreenshots.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanaryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanaryProps.kt index 4a564225ba..c5b935b2cc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanaryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnCanaryProps.kt @@ -511,7 +511,7 @@ public interface CfnCanaryProps { * including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. */ override fun artifactConfig(artifactConfig: IResolvable) { - cdkBuilder.artifactConfig(artifactConfig.let(IResolvable::unwrap)) + cdkBuilder.artifactConfig(artifactConfig.let(IResolvable.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public interface CfnCanaryProps { * including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. */ override fun artifactConfig(artifactConfig: CfnCanary.ArtifactConfigProperty) { - cdkBuilder.artifactConfig(artifactConfig.let(CfnCanary.ArtifactConfigProperty::unwrap)) + cdkBuilder.artifactConfig(artifactConfig.let(CfnCanary.ArtifactConfigProperty.Companion::unwrap)) } /** @@ -550,7 +550,7 @@ public interface CfnCanaryProps { * contained in the value of `Script` . */ override fun code(code: IResolvable) { - cdkBuilder.code(code.let(IResolvable::unwrap)) + cdkBuilder.code(code.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface CfnCanaryProps { * contained in the value of `Script` . */ override fun code(code: CfnCanary.CodeProperty) { - cdkBuilder.code(code.let(CfnCanary.CodeProperty::unwrap)) + cdkBuilder.code(code.let(CfnCanary.CodeProperty.Companion::unwrap)) } /** @@ -597,7 +597,7 @@ public interface CfnCanaryProps { @Deprecated(message = "deprecated in CDK") override fun deleteLambdaResourcesOnCanaryDeletion(deleteLambdaResourcesOnCanaryDeletion: IResolvable) { - cdkBuilder.deleteLambdaResourcesOnCanaryDeletion(deleteLambdaResourcesOnCanaryDeletion.let(IResolvable::unwrap)) + cdkBuilder.deleteLambdaResourcesOnCanaryDeletion(deleteLambdaResourcesOnCanaryDeletion.let(IResolvable.Companion::unwrap)) } /** @@ -647,7 +647,7 @@ public interface CfnCanaryProps { * to a maximum of 900 seconds. */ override fun runConfig(runConfig: IResolvable) { - cdkBuilder.runConfig(runConfig.let(IResolvable::unwrap)) + cdkBuilder.runConfig(runConfig.let(IResolvable.Companion::unwrap)) } /** @@ -656,7 +656,7 @@ public interface CfnCanaryProps { * to a maximum of 900 seconds. */ override fun runConfig(runConfig: CfnCanary.RunConfigProperty) { - cdkBuilder.runConfig(runConfig.let(CfnCanary.RunConfigProperty::unwrap)) + cdkBuilder.runConfig(runConfig.let(CfnCanary.RunConfigProperty.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public interface CfnCanaryProps { * and when these runs are to stop. */ override fun schedule(schedule: IResolvable) { - cdkBuilder.schedule(schedule.let(IResolvable::unwrap)) + cdkBuilder.schedule(schedule.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public interface CfnCanaryProps { * and when these runs are to stop. */ override fun schedule(schedule: CfnCanary.ScheduleProperty) { - cdkBuilder.schedule(schedule.let(CfnCanary.ScheduleProperty::unwrap)) + cdkBuilder.schedule(schedule.let(CfnCanary.ScheduleProperty.Companion::unwrap)) } /** @@ -721,7 +721,7 @@ public interface CfnCanaryProps { * stack that creates the canary or to roll back that stack if there is a failure. */ override fun startCanaryAfterCreation(startCanaryAfterCreation: IResolvable) { - cdkBuilder.startCanaryAfterCreation(startCanaryAfterCreation.let(IResolvable::unwrap)) + cdkBuilder.startCanaryAfterCreation(startCanaryAfterCreation.let(IResolvable.Companion::unwrap)) } /** @@ -737,7 +737,7 @@ public interface CfnCanaryProps { * @param tags The list of key-value pairs that are associated with the canary. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public interface CfnCanaryProps { * coordinates of any parts of the screen to ignore during the visual monitoring comparison. */ override fun visualReference(visualReference: IResolvable) { - cdkBuilder.visualReference(visualReference.let(IResolvable::unwrap)) + cdkBuilder.visualReference(visualReference.let(IResolvable.Companion::unwrap)) } /** @@ -760,7 +760,7 @@ public interface CfnCanaryProps { * coordinates of any parts of the screen to ignore during the visual monitoring comparison. */ override fun visualReference(visualReference: CfnCanary.VisualReferenceProperty) { - cdkBuilder.visualReference(visualReference.let(CfnCanary.VisualReferenceProperty::unwrap)) + cdkBuilder.visualReference(visualReference.let(CfnCanary.VisualReferenceProperty.Companion::unwrap)) } /** @@ -782,7 +782,7 @@ public interface CfnCanaryProps { * . */ override fun vpcConfig(vpcConfig: IResolvable) { - cdkBuilder.vpcConfig(vpcConfig.let(IResolvable::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(IResolvable.Companion::unwrap)) } /** @@ -793,7 +793,7 @@ public interface CfnCanaryProps { * . */ override fun vpcConfig(vpcConfig: CfnCanary.VPCConfigProperty) { - cdkBuilder.vpcConfig(vpcConfig.let(CfnCanary.VPCConfigProperty::unwrap)) + cdkBuilder.vpcConfig(vpcConfig.let(CfnCanary.VPCConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroup.kt index cb41e6dd46..30f416abb4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroup.kt @@ -58,8 +58,8 @@ public open class CfnGroup( id: String, props: CfnGroupProps, ) : - this(software.amazon.awscdk.services.synthetics.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupProps::unwrap)) + this(software.amazon.awscdk.services.synthetics.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -131,7 +131,7 @@ public open class CfnGroup( * The list of key-value pairs that are associated with the group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -232,7 +232,7 @@ public open class CfnGroup( * @param tags The list of key-value pairs that are associated with the group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroupProps.kt index 510c660cd5..09981a8c15 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CfnGroupProps.kt @@ -117,7 +117,7 @@ public interface CfnGroupProps { * @param tags The list of key-value pairs that are associated with the group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Code.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Code.kt index f6d076f7e9..4775144a6e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Code.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Code.kt @@ -45,8 +45,8 @@ public abstract class Code( scope: Construct, handler: String, family: RuntimeFamily, - ): CodeConfig = unwrap(this).bind(scope.let(Construct::unwrap), handler, - family.let(RuntimeFamily::unwrap)).let(CodeConfig::wrap) + ): CodeConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), handler, + family.let(RuntimeFamily.Companion::unwrap)).let(CodeConfig::wrap) private class Wrapper( cdkObject: software.amazon.awscdk.services.synthetics.Code, @@ -58,7 +58,7 @@ public abstract class Code( public fun fromAsset(assetPath: String, options: AssetOptions): AssetCode = software.amazon.awscdk.services.synthetics.Code.fromAsset(assetPath, - options.let(AssetOptions::unwrap)).let(AssetCode::wrap) + options.let(AssetOptions.Companion::unwrap)).let(AssetCode::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("8c5cc07349678d3efe0f26ff9e57f8d6a03858a592d9d2d949ef55416b24167c") @@ -66,7 +66,7 @@ public abstract class Code( fromAsset(assetPath, AssetOptions(options)) public fun fromBucket(bucket: IBucket, key: String): S3Code = - software.amazon.awscdk.services.synthetics.Code.fromBucket(bucket.let(IBucket::unwrap), + software.amazon.awscdk.services.synthetics.Code.fromBucket(bucket.let(IBucket.Companion::unwrap), key).let(S3Code::wrap) public fun fromBucket( @@ -74,8 +74,8 @@ public abstract class Code( key: String, objectVersion: String, ): S3Code = - software.amazon.awscdk.services.synthetics.Code.fromBucket(bucket.let(IBucket::unwrap), key, - objectVersion).let(S3Code::wrap) + software.amazon.awscdk.services.synthetics.Code.fromBucket(bucket.let(IBucket.Companion::unwrap), + key, objectVersion).let(S3Code::wrap) public fun fromInline(code: String): InlineCode = software.amazon.awscdk.services.synthetics.Code.fromInline(code).let(InlineCode::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CodeConfig.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CodeConfig.kt index e1c09b8c79..b3e1e22a28 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CodeConfig.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CodeConfig.kt @@ -83,7 +83,7 @@ public interface CodeConfig { * @param s3Location The location of the code in S3 (mutually exclusive with `inlineCode`). */ override fun s3Location(s3Location: Location) { - cdkBuilder.s3Location(s3Location.let(Location::unwrap)) + cdkBuilder.s3Location(s3Location.let(Location.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CustomTestOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CustomTestOptions.kt index 0bf554f415..2ccda9ebef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CustomTestOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/CustomTestOptions.kt @@ -64,7 +64,7 @@ public interface CustomTestOptions { * @param code The code of the canary script. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/InlineCode.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/InlineCode.kt index 4bf1a37d88..89cd45765a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/InlineCode.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/InlineCode.kt @@ -36,8 +36,8 @@ public open class InlineCode( scope: Construct, handler: String, family: RuntimeFamily, - ): CodeConfig = unwrap(this).bind(scope.let(Construct::unwrap), handler, - family.let(RuntimeFamily::unwrap)).let(CodeConfig::wrap) + ): CodeConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), handler, + family.let(RuntimeFamily.Companion::unwrap)).let(CodeConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.synthetics.InlineCode): InlineCode diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Runtime.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Runtime.kt index 4e08f5177c..137b1e9212 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Runtime.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Runtime.kt @@ -28,7 +28,7 @@ public open class Runtime( ) : CdkObject(cdkObject) { public constructor(name: String, family: RuntimeFamily) : this(software.amazon.awscdk.services.synthetics.Runtime(name, - family.let(RuntimeFamily::unwrap)) + family.let(RuntimeFamily.Companion::unwrap)) ) /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/S3Code.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/S3Code.kt index 933a0a84b8..4d7bd1461b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/S3Code.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/S3Code.kt @@ -24,15 +24,16 @@ public open class S3Code( cdkObject: software.amazon.awscdk.services.synthetics.S3Code, ) : Code(cdkObject) { public constructor(bucket: IBucket, key: String) : - this(software.amazon.awscdk.services.synthetics.S3Code(bucket.let(IBucket::unwrap), key) + this(software.amazon.awscdk.services.synthetics.S3Code(bucket.let(IBucket.Companion::unwrap), + key) ) public constructor( bucket: IBucket, key: String, objectVersion: String, - ) : this(software.amazon.awscdk.services.synthetics.S3Code(bucket.let(IBucket::unwrap), key, - objectVersion) + ) : this(software.amazon.awscdk.services.synthetics.S3Code(bucket.let(IBucket.Companion::unwrap), + key, objectVersion) ) /** @@ -47,8 +48,8 @@ public open class S3Code( scope: Construct, handler: String, family: RuntimeFamily, - ): CodeConfig = unwrap(this).bind(scope.let(Construct::unwrap), handler, - family.let(RuntimeFamily::unwrap)).let(CodeConfig::wrap) + ): CodeConfig = unwrap(this).bind(scope.let(Construct.Companion::unwrap), handler, + family.let(RuntimeFamily.Companion::unwrap)).let(CodeConfig::wrap) public companion object { internal fun wrap(cdkObject: software.amazon.awscdk.services.synthetics.S3Code): S3Code = diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Schedule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Schedule.kt index 73c418863b..91b1f4d71e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Schedule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Schedule.kt @@ -36,7 +36,7 @@ public open class Schedule( public companion object { public fun cron(options: CronOptions): Schedule = - software.amazon.awscdk.services.synthetics.Schedule.cron(options.let(CronOptions::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.synthetics.Schedule.cron(options.let(CronOptions.Companion::unwrap)).let(Schedule::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("f4520a734c5b3c9911b297d38c8083ddf780e92b19da5f22829eaf1210a2e86c") @@ -49,7 +49,7 @@ public open class Schedule( software.amazon.awscdk.services.synthetics.Schedule.once().let(Schedule::wrap) public fun rate(interval: Duration): Schedule = - software.amazon.awscdk.services.synthetics.Schedule.rate(interval.let(Duration::unwrap)).let(Schedule::wrap) + software.amazon.awscdk.services.synthetics.Schedule.rate(interval.let(Duration.Companion::unwrap)).let(Schedule::wrap) internal fun wrap(cdkObject: software.amazon.awscdk.services.synthetics.Schedule): Schedule = Schedule(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Test.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Test.kt index e1dc6fedae..9d313be084 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Test.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/synthetics/Test.kt @@ -40,7 +40,7 @@ public open class Test( public companion object { public fun custom(options: CustomTestOptions): Test = - software.amazon.awscdk.services.synthetics.Test.custom(options.let(CustomTestOptions::unwrap)).let(Test::wrap) + software.amazon.awscdk.services.synthetics.Test.custom(options.let(CustomTestOptions.Companion::unwrap)).let(Test::wrap) @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @JvmName("9751a1027e751f9c259ce442960e603f2d6df7ed16fa356804ec2849517b6c85") diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplication.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplication.kt index 043e4dea58..0ef588104f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplication.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplication.kt @@ -57,8 +57,8 @@ public open class CfnApplication( id: String, props: CfnApplicationProps, ) : - this(software.amazon.awscdk.services.systemsmanagersap.CfnApplication(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnApplicationProps::unwrap)) + this(software.amazon.awscdk.services.systemsmanagersap.CfnApplication(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnApplicationProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnApplication( * The credentials of the SAP application. */ public open fun credentials(`value`: IResolvable) { - unwrap(this).setCredentials(`value`.let(IResolvable::unwrap)) + unwrap(this).setCredentials(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -127,7 +127,7 @@ public open class CfnApplication( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnApplication( * The tags on the application. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnApplication( * @param credentials The credentials of the SAP application. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** @@ -388,7 +388,7 @@ public open class CfnApplication( * @param tags The tags on the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplicationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplicationProps.kt index a6b87a0c08..a14cd04b79 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplicationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/systemsmanagersap/CfnApplicationProps.kt @@ -176,7 +176,7 @@ public interface CfnApplicationProps { * @param credentials The credentials of the SAP application. */ override fun credentials(credentials: IResolvable) { - cdkBuilder.credentials(credentials.let(IResolvable::unwrap)) + cdkBuilder.credentials(credentials.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CfnApplicationProps { * @param tags The tags on the application. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabase.kt index 4d341825db..83ee0db443 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabase.kt @@ -48,7 +48,7 @@ public open class CfnDatabase( cdkObject: software.amazon.awscdk.services.timestream.CfnDatabase, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.timestream.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.timestream.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnDatabase( id: String, props: CfnDatabaseProps, ) : - this(software.amazon.awscdk.services.timestream.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDatabaseProps::unwrap)) + this(software.amazon.awscdk.services.timestream.CfnDatabase(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDatabaseProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnDatabase( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnDatabase( * The tags to add to the database. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnDatabase( * @param tags The tags to add to the database. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabaseProps.kt index b8d280841f..f4e0ec827e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnDatabaseProps.kt @@ -107,7 +107,7 @@ public interface CfnDatabaseProps { * @param tags The tags to add to the database. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstance.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstance.kt index 69b9b43482..f04f3c54e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstance.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstance.kt @@ -70,7 +70,7 @@ public open class CfnInfluxDBInstance( cdkObject: software.amazon.awscdk.services.timestream.CfnInfluxDBInstance, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.timestream.CfnInfluxDBInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.timestream.CfnInfluxDBInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -79,8 +79,8 @@ public open class CfnInfluxDBInstance( id: String, props: CfnInfluxDBInstanceProps, ) : - this(software.amazon.awscdk.services.timestream.CfnInfluxDBInstance(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnInfluxDBInstanceProps::unwrap)) + this(software.amazon.awscdk.services.timestream.CfnInfluxDBInstance(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnInfluxDBInstanceProps.Companion::unwrap)) ) public constructor( @@ -223,7 +223,7 @@ public open class CfnInfluxDBInstance( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -235,14 +235,14 @@ public open class CfnInfluxDBInstance( * Configuration for sending InfluxDB engine logs to a specified S3 bucket. */ public open fun logDeliveryConfiguration(`value`: IResolvable) { - unwrap(this).setLogDeliveryConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setLogDeliveryConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for sending InfluxDB engine logs to a specified S3 bucket. */ public open fun logDeliveryConfiguration(`value`: LogDeliveryConfigurationProperty) { - unwrap(this).setLogDeliveryConfiguration(`value`.let(LogDeliveryConfigurationProperty::unwrap)) + unwrap(this).setLogDeliveryConfiguration(`value`.let(LogDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnInfluxDBInstance( * Configures the DB instance with a public IP to facilitate access. */ public open fun publiclyAccessible(`value`: IResolvable) { - unwrap(this).setPubliclyAccessible(`value`.let(IResolvable::unwrap)) + unwrap(this).setPubliclyAccessible(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnInfluxDBInstance( * A list of key-value pairs to associate with the DB instance. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -698,7 +698,7 @@ public open class CfnInfluxDBInstance( * S3 bucket. */ override fun logDeliveryConfiguration(logDeliveryConfiguration: IResolvable) { - cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -710,7 +710,7 @@ public open class CfnInfluxDBInstance( */ override fun logDeliveryConfiguration(logDeliveryConfiguration: LogDeliveryConfigurationProperty) { - cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(LogDeliveryConfigurationProperty::unwrap)) + cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(LogDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -789,7 +789,7 @@ public open class CfnInfluxDBInstance( * @param publiclyAccessible Configures the DB instance with a public IP to facilitate access. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** @@ -799,7 +799,7 @@ public open class CfnInfluxDBInstance( * @param tags A list of key-value pairs to associate with the DB instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -957,14 +957,14 @@ public open class CfnInfluxDBInstance( * @param s3Configuration Configuration for S3 bucket log delivery. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration Configuration for S3 bucket log delivery. */ override fun s3Configuration(s3Configuration: S3ConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3ConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3ConfigurationProperty.Companion::unwrap)) } /** @@ -1086,7 +1086,7 @@ public open class CfnInfluxDBInstance( * @param enabled Indicates whether log delivery to the S3 bucket is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstanceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstanceProps.kt index fc42e295c3..d9989e5bea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstanceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnInfluxDBInstanceProps.kt @@ -413,7 +413,7 @@ public interface CfnInfluxDBInstanceProps { * S3 bucket. */ override fun logDeliveryConfiguration(logDeliveryConfiguration: IResolvable) { - cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(IResolvable::unwrap)) + cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -422,7 +422,7 @@ public interface CfnInfluxDBInstanceProps { */ override fun logDeliveryConfiguration(logDeliveryConfiguration: CfnInfluxDBInstance.LogDeliveryConfigurationProperty) { - cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(CfnInfluxDBInstance.LogDeliveryConfigurationProperty::unwrap)) + cdkBuilder.logDeliveryConfiguration(logDeliveryConfiguration.let(CfnInfluxDBInstance.LogDeliveryConfigurationProperty.Companion::unwrap)) } /** @@ -476,14 +476,14 @@ public interface CfnInfluxDBInstanceProps { * @param publiclyAccessible Configures the DB instance with a public IP to facilitate access. */ override fun publiclyAccessible(publiclyAccessible: IResolvable) { - cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable::unwrap)) + cdkBuilder.publiclyAccessible(publiclyAccessible.let(IResolvable.Companion::unwrap)) } /** * @param tags A list of key-value pairs to associate with the DB instance. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQuery.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQuery.kt index e0e8b395c0..fd4682eaa5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQuery.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQuery.kt @@ -110,8 +110,8 @@ public open class CfnScheduledQuery( id: String, props: CfnScheduledQueryProps, ) : - this(software.amazon.awscdk.services.timestream.CfnScheduledQuery(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnScheduledQueryProps::unwrap)) + this(software.amazon.awscdk.services.timestream.CfnScheduledQuery(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnScheduledQueryProps.Companion::unwrap)) ) public constructor( @@ -193,14 +193,14 @@ public open class CfnScheduledQuery( * Configuration for error reporting. */ public open fun errorReportConfiguration(`value`: IResolvable) { - unwrap(this).setErrorReportConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setErrorReportConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Configuration for error reporting. */ public open fun errorReportConfiguration(`value`: ErrorReportConfigurationProperty) { - unwrap(this).setErrorReportConfiguration(`value`.let(ErrorReportConfigurationProperty::unwrap)) + unwrap(this).setErrorReportConfiguration(`value`.let(ErrorReportConfigurationProperty.Companion::unwrap)) } /** @@ -218,7 +218,7 @@ public open class CfnScheduledQuery( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -242,14 +242,14 @@ public open class CfnScheduledQuery( * Notification configuration for the scheduled query. */ public open fun notificationConfiguration(`value`: IResolvable) { - unwrap(this).setNotificationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Notification configuration for the scheduled query. */ public open fun notificationConfiguration(`value`: NotificationConfigurationProperty) { - unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty::unwrap)) + unwrap(this).setNotificationConfiguration(`value`.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -282,14 +282,14 @@ public open class CfnScheduledQuery( * Schedule configuration. */ public open fun scheduleConfiguration(`value`: IResolvable) { - unwrap(this).setScheduleConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setScheduleConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Schedule configuration. */ public open fun scheduleConfiguration(`value`: ScheduleConfigurationProperty) { - unwrap(this).setScheduleConfiguration(`value`.let(ScheduleConfigurationProperty::unwrap)) + unwrap(this).setScheduleConfiguration(`value`.let(ScheduleConfigurationProperty.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnScheduledQuery( * A list of key-value pairs to label the scheduled query. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -357,14 +357,14 @@ public open class CfnScheduledQuery( * Scheduled query target store configuration. */ public open fun targetConfiguration(`value`: IResolvable) { - unwrap(this).setTargetConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargetConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Scheduled query target store configuration. */ public open fun targetConfiguration(`value`: TargetConfigurationProperty) { - unwrap(this).setTargetConfiguration(`value`.let(TargetConfigurationProperty::unwrap)) + unwrap(this).setTargetConfiguration(`value`.let(TargetConfigurationProperty.Companion::unwrap)) } /** @@ -625,7 +625,7 @@ public open class CfnScheduledQuery( * @param errorReportConfiguration Configuration for error reporting. */ override fun errorReportConfiguration(errorReportConfiguration: IResolvable) { - cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(IResolvable::unwrap)) + cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -638,7 +638,7 @@ public open class CfnScheduledQuery( */ override fun errorReportConfiguration(errorReportConfiguration: ErrorReportConfigurationProperty) { - cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(ErrorReportConfigurationProperty::unwrap)) + cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(ErrorReportConfigurationProperty.Companion::unwrap)) } /** @@ -682,7 +682,7 @@ public open class CfnScheduledQuery( * @param notificationConfiguration Notification configuration for the scheduled query. */ override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class CfnScheduledQuery( */ override fun notificationConfiguration(notificationConfiguration: NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -742,7 +742,7 @@ public open class CfnScheduledQuery( * @param scheduleConfiguration Schedule configuration. */ override fun scheduleConfiguration(scheduleConfiguration: IResolvable) { - cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -752,7 +752,7 @@ public open class CfnScheduledQuery( * @param scheduleConfiguration Schedule configuration. */ override fun scheduleConfiguration(scheduleConfiguration: ScheduleConfigurationProperty) { - cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(ScheduleConfigurationProperty::unwrap)) + cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(ScheduleConfigurationProperty.Companion::unwrap)) } /** @@ -797,7 +797,7 @@ public open class CfnScheduledQuery( * @param tags A list of key-value pairs to label the scheduled query. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -815,7 +815,7 @@ public open class CfnScheduledQuery( * @param targetConfiguration Scheduled query target store configuration. */ override fun targetConfiguration(targetConfiguration: IResolvable) { - cdkBuilder.targetConfiguration(targetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetConfiguration(targetConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -825,7 +825,7 @@ public open class CfnScheduledQuery( * @param targetConfiguration Scheduled query target store configuration. */ override fun targetConfiguration(targetConfiguration: TargetConfigurationProperty) { - cdkBuilder.targetConfiguration(targetConfiguration.let(TargetConfigurationProperty::unwrap)) + cdkBuilder.targetConfiguration(targetConfiguration.let(TargetConfigurationProperty.Companion::unwrap)) } /** @@ -1038,14 +1038,14 @@ public open class CfnScheduledQuery( * @param s3Configuration The S3 configuration for the error reports. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** * @param s3Configuration The S3 configuration for the error reports. */ override fun s3Configuration(s3Configuration: S3ConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3ConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3ConfigurationProperty.Companion::unwrap)) } /** @@ -1240,7 +1240,7 @@ public open class CfnScheduledQuery( * Attribute mappings for MULTI value measures. */ override fun multiMeasureAttributeMappings(multiMeasureAttributeMappings: IResolvable) { - cdkBuilder.multiMeasureAttributeMappings(multiMeasureAttributeMappings.let(IResolvable::unwrap)) + cdkBuilder.multiMeasureAttributeMappings(multiMeasureAttributeMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1591,7 +1591,7 @@ public open class CfnScheduledQuery( * attributes. */ override fun multiMeasureAttributeMappings(multiMeasureAttributeMappings: IResolvable) { - cdkBuilder.multiMeasureAttributeMappings(multiMeasureAttributeMappings.let(IResolvable::unwrap)) + cdkBuilder.multiMeasureAttributeMappings(multiMeasureAttributeMappings.let(IResolvable.Companion::unwrap)) } /** @@ -1732,14 +1732,14 @@ public open class CfnScheduledQuery( * @param snsConfiguration Details on SNS configuration. */ override fun snsConfiguration(snsConfiguration: IResolvable) { - cdkBuilder.snsConfiguration(snsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.snsConfiguration(snsConfiguration.let(IResolvable.Companion::unwrap)) } /** * @param snsConfiguration Details on SNS configuration. */ override fun snsConfiguration(snsConfiguration: SnsConfigurationProperty) { - cdkBuilder.snsConfiguration(snsConfiguration.let(SnsConfigurationProperty::unwrap)) + cdkBuilder.snsConfiguration(snsConfiguration.let(SnsConfigurationProperty.Companion::unwrap)) } /** @@ -2204,7 +2204,7 @@ public open class CfnScheduledQuery( * database and table. */ override fun timestreamConfiguration(timestreamConfiguration: IResolvable) { - cdkBuilder.timestreamConfiguration(timestreamConfiguration.let(IResolvable::unwrap)) + cdkBuilder.timestreamConfiguration(timestreamConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -2213,7 +2213,7 @@ public open class CfnScheduledQuery( */ override fun timestreamConfiguration(timestreamConfiguration: TimestreamConfigurationProperty) { - cdkBuilder.timestreamConfiguration(timestreamConfiguration.let(TimestreamConfigurationProperty::unwrap)) + cdkBuilder.timestreamConfiguration(timestreamConfiguration.let(TimestreamConfigurationProperty.Companion::unwrap)) } /** @@ -2469,7 +2469,7 @@ public open class CfnScheduledQuery( * dimension in the destination table. */ override fun dimensionMappings(dimensionMappings: IResolvable) { - cdkBuilder.dimensionMappings(dimensionMappings.let(IResolvable::unwrap)) + cdkBuilder.dimensionMappings(dimensionMappings.let(IResolvable.Companion::unwrap)) } /** @@ -2500,7 +2500,7 @@ public open class CfnScheduledQuery( * @param mixedMeasureMappings Specifies how to map measures to multi-measure records. */ override fun mixedMeasureMappings(mixedMeasureMappings: IResolvable) { - cdkBuilder.mixedMeasureMappings(mixedMeasureMappings.let(IResolvable::unwrap)) + cdkBuilder.mixedMeasureMappings(mixedMeasureMappings.let(IResolvable.Companion::unwrap)) } /** @@ -2520,14 +2520,14 @@ public open class CfnScheduledQuery( * @param multiMeasureMappings Multi-measure mappings. */ override fun multiMeasureMappings(multiMeasureMappings: IResolvable) { - cdkBuilder.multiMeasureMappings(multiMeasureMappings.let(IResolvable::unwrap)) + cdkBuilder.multiMeasureMappings(multiMeasureMappings.let(IResolvable.Companion::unwrap)) } /** * @param multiMeasureMappings Multi-measure mappings. */ override fun multiMeasureMappings(multiMeasureMappings: MultiMeasureMappingsProperty) { - cdkBuilder.multiMeasureMappings(multiMeasureMappings.let(MultiMeasureMappingsProperty::unwrap)) + cdkBuilder.multiMeasureMappings(multiMeasureMappings.let(MultiMeasureMappingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQueryProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQueryProps.kt index 5b77f7dd40..f87291a314 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQueryProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnScheduledQueryProps.kt @@ -366,7 +366,7 @@ public interface CfnScheduledQueryProps { * Error reports will be generated when a problem is encountered when writing the query results. */ override fun errorReportConfiguration(errorReportConfiguration: IResolvable) { - cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(IResolvable::unwrap)) + cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -375,7 +375,7 @@ public interface CfnScheduledQueryProps { */ override fun errorReportConfiguration(errorReportConfiguration: CfnScheduledQuery.ErrorReportConfigurationProperty) { - cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(CfnScheduledQuery.ErrorReportConfigurationProperty::unwrap)) + cdkBuilder.errorReportConfiguration(errorReportConfiguration.let(CfnScheduledQuery.ErrorReportConfigurationProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnScheduledQueryProps { * when you delete it. */ override fun notificationConfiguration(notificationConfiguration: IResolvable) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -418,7 +418,7 @@ public interface CfnScheduledQueryProps { */ override fun notificationConfiguration(notificationConfiguration: CfnScheduledQuery.NotificationConfigurationProperty) { - cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnScheduledQuery.NotificationConfigurationProperty::unwrap)) + cdkBuilder.notificationConfiguration(notificationConfiguration.let(CfnScheduledQuery.NotificationConfigurationProperty.Companion::unwrap)) } /** @@ -453,7 +453,7 @@ public interface CfnScheduledQueryProps { * @param scheduleConfiguration Schedule configuration. */ override fun scheduleConfiguration(scheduleConfiguration: IResolvable) { - cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(IResolvable::unwrap)) + cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -461,7 +461,7 @@ public interface CfnScheduledQueryProps { */ override fun scheduleConfiguration(scheduleConfiguration: CfnScheduledQuery.ScheduleConfigurationProperty) { - cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(CfnScheduledQuery.ScheduleConfigurationProperty::unwrap)) + cdkBuilder.scheduleConfiguration(scheduleConfiguration.let(CfnScheduledQuery.ScheduleConfigurationProperty.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public interface CfnScheduledQueryProps { * @param tags A list of key-value pairs to label the scheduled query. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -506,7 +506,7 @@ public interface CfnScheduledQueryProps { * @param targetConfiguration Scheduled query target store configuration. */ override fun targetConfiguration(targetConfiguration: IResolvable) { - cdkBuilder.targetConfiguration(targetConfiguration.let(IResolvable::unwrap)) + cdkBuilder.targetConfiguration(targetConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -514,7 +514,7 @@ public interface CfnScheduledQueryProps { */ override fun targetConfiguration(targetConfiguration: CfnScheduledQuery.TargetConfigurationProperty) { - cdkBuilder.targetConfiguration(targetConfiguration.let(CfnScheduledQuery.TargetConfigurationProperty::unwrap)) + cdkBuilder.targetConfiguration(targetConfiguration.let(CfnScheduledQuery.TargetConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTable.kt index f99919e51e..6173cde958 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTable.kt @@ -71,8 +71,8 @@ public open class CfnTable( id: String, props: CfnTableProps, ) : - this(software.amazon.awscdk.services.timestream.CfnTable(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTableProps::unwrap)) + this(software.amazon.awscdk.services.timestream.CfnTable(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTableProps.Companion::unwrap)) ) public constructor( @@ -110,7 +110,7 @@ public open class CfnTable( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -151,14 +151,14 @@ public open class CfnTable( * The schema of the table. */ public open fun schema(`value`: IResolvable) { - unwrap(this).setSchema(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchema(`value`.let(IResolvable.Companion::unwrap)) } /** * The schema of the table. */ public open fun schema(`value`: SchemaProperty) { - unwrap(this).setSchema(`value`.let(SchemaProperty::unwrap)) + unwrap(this).setSchema(`value`.let(SchemaProperty.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnTable( * The tags to add to the table. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -472,7 +472,7 @@ public open class CfnTable( * @param schema The schema of the table. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnTable( * @param schema The schema of the table. */ override fun schema(schema: SchemaProperty) { - cdkBuilder.schema(schema.let(SchemaProperty::unwrap)) + cdkBuilder.schema(schema.let(SchemaProperty.Companion::unwrap)) } /** @@ -515,7 +515,7 @@ public open class CfnTable( * @param tags The tags to add to the table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -619,7 +619,7 @@ public open class CfnTable( * rejected, asynchronously, during magnetic store writes. */ override fun s3Configuration(s3Configuration: IResolvable) { - cdkBuilder.s3Configuration(s3Configuration.let(IResolvable::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(IResolvable.Companion::unwrap)) } /** @@ -627,7 +627,7 @@ public open class CfnTable( * rejected, asynchronously, during magnetic store writes. */ override fun s3Configuration(s3Configuration: S3ConfigurationProperty) { - cdkBuilder.s3Configuration(s3Configuration.let(S3ConfigurationProperty::unwrap)) + cdkBuilder.s3Configuration(s3Configuration.let(S3ConfigurationProperty.Companion::unwrap)) } /** @@ -774,7 +774,7 @@ public open class CfnTable( * @param enableMagneticStoreWrites A flag to enable magnetic store writes. */ override fun enableMagneticStoreWrites(enableMagneticStoreWrites: IResolvable) { - cdkBuilder.enableMagneticStoreWrites(enableMagneticStoreWrites.let(IResolvable::unwrap)) + cdkBuilder.enableMagneticStoreWrites(enableMagneticStoreWrites.let(IResolvable.Companion::unwrap)) } /** @@ -783,7 +783,7 @@ public open class CfnTable( */ override fun magneticStoreRejectedDataLocation(magneticStoreRejectedDataLocation: IResolvable) { - cdkBuilder.magneticStoreRejectedDataLocation(magneticStoreRejectedDataLocation.let(IResolvable::unwrap)) + cdkBuilder.magneticStoreRejectedDataLocation(magneticStoreRejectedDataLocation.let(IResolvable.Companion::unwrap)) } /** @@ -792,7 +792,7 @@ public open class CfnTable( */ override fun magneticStoreRejectedDataLocation(magneticStoreRejectedDataLocation: MagneticStoreRejectedDataLocationProperty) { - cdkBuilder.magneticStoreRejectedDataLocation(magneticStoreRejectedDataLocation.let(MagneticStoreRejectedDataLocationProperty::unwrap)) + cdkBuilder.magneticStoreRejectedDataLocation(magneticStoreRejectedDataLocation.let(MagneticStoreRejectedDataLocationProperty.Companion::unwrap)) } /** @@ -1374,7 +1374,7 @@ public open class CfnTable( * However, the enforcement level of each partition key can be changed. */ override fun compositePartitionKey(compositePartitionKey: IResolvable) { - cdkBuilder.compositePartitionKey(compositePartitionKey.let(IResolvable::unwrap)) + cdkBuilder.compositePartitionKey(compositePartitionKey.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTableProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTableProps.kt index 886b996bdd..cdeeb458e7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTableProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/timestream/CfnTableProps.kt @@ -378,14 +378,14 @@ public interface CfnTableProps { * @param schema The schema of the table. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** * @param schema The schema of the table. */ override fun schema(schema: CfnTable.SchemaProperty) { - cdkBuilder.schema(schema.let(CfnTable.SchemaProperty::unwrap)) + cdkBuilder.schema(schema.let(CfnTable.SchemaProperty.Companion::unwrap)) } /** @@ -408,7 +408,7 @@ public interface CfnTableProps { * @param tags The tags to add to the table. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreement.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreement.kt index 11fc43f445..dc0964634a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreement.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreement.kt @@ -58,8 +58,8 @@ public open class CfnAgreement( id: String, props: CfnAgreementProps, ) : - this(software.amazon.awscdk.services.transfer.CfnAgreement(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAgreementProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnAgreement(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAgreementProps.Companion::unwrap)) ) public constructor( @@ -121,7 +121,7 @@ public open class CfnAgreement( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public open class CfnAgreement( * Key-value pairs that can be used to group and search for agreements. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnAgreement( * @param tags Key-value pairs that can be used to group and search for agreements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreementProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreementProps.kt index 3f5d6d806d..cc7cfa91eb 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreementProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnAgreementProps.kt @@ -281,7 +281,7 @@ public interface CfnAgreementProps { * @param tags Key-value pairs that can be used to group and search for agreements. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificate.kt index 0aabfcbbd2..162235fd5b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificate.kt @@ -51,8 +51,8 @@ public open class CfnCertificate( id: String, props: CfnCertificateProps, ) : - this(software.amazon.awscdk.services.transfer.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnCertificateProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnCertificate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnCertificateProps.Companion::unwrap)) ) public constructor( @@ -171,7 +171,7 @@ public open class CfnCertificate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnCertificate( * Key-value pairs that can be used to group and search for certificates. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -383,7 +383,7 @@ public open class CfnCertificate( * @param tags Key-value pairs that can be used to group and search for certificates. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificateProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificateProps.kt index 5b4a271611..5cb53309bd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificateProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnCertificateProps.kt @@ -204,7 +204,7 @@ public interface CfnCertificateProps { * @param tags Key-value pairs that can be used to group and search for certificates. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnector.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnector.kt index 0eb88dcc69..3b4dbe5e18 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnector.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnector.kt @@ -49,6 +49,7 @@ import software.constructs.Construct as SoftwareConstructsConstruct * // the properties below are optional * .as2Config(as2Config) * .loggingRole("loggingRole") + * .securityPolicyName("securityPolicyName") * .sftpConfig(SftpConfigProperty.builder() * .trustedHostKeys(List.of("trustedHostKeys")) * .userSecretId("userSecretId") @@ -70,8 +71,8 @@ public open class CfnConnector( id: String, props: CfnConnectorProps, ) : - this(software.amazon.awscdk.services.transfer.CfnConnector(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectorProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnConnector(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectorProps.Companion::unwrap)) ) public constructor( @@ -115,13 +116,21 @@ public open class CfnConnector( */ public open fun attrConnectorId(): String = unwrap(this).getAttrConnectorId() + /** + * The list of egress IP addresses of this connector. + * + * These IP addresses are assigned automatically when you create the connector. + */ + public open fun attrServiceManagedEgressIpAddresses(): List = + unwrap(this).getAttrServiceManagedEgressIpAddresses() + /** * Examines the CloudFormation resource and discloses attributes. * * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -138,6 +147,18 @@ public open class CfnConnector( unwrap(this).setLoggingRole(`value`) } + /** + * The text name of the security policy for the specified connector. + */ + public open fun securityPolicyName(): String? = unwrap(this).getSecurityPolicyName() + + /** + * The text name of the security policy for the specified connector. + */ + public open fun securityPolicyName(`value`: String) { + unwrap(this).setSecurityPolicyName(`value`) + } + /** * A structure that contains the parameters for an SFTP connector object. */ @@ -147,14 +168,14 @@ public open class CfnConnector( * A structure that contains the parameters for an SFTP connector object. */ public open fun sftpConfig(`value`: IResolvable) { - unwrap(this).setSftpConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setSftpConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * A structure that contains the parameters for an SFTP connector object. */ public open fun sftpConfig(`value`: SftpConfigProperty) { - unwrap(this).setSftpConfig(`value`.let(SftpConfigProperty::unwrap)) + unwrap(this).setSftpConfig(`value`.let(SftpConfigProperty.Companion::unwrap)) } /** @@ -180,7 +201,7 @@ public open class CfnConnector( * Key-value pairs that can be used to group and search for connectors. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -258,6 +279,14 @@ public open class CfnConnector( */ public fun loggingRole(loggingRole: String) + /** + * The text name of the security policy for the specified connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-connector.html#cfn-transfer-connector-securitypolicyname) + * @param securityPolicyName The text name of the security policy for the specified connector. + */ + public fun securityPolicyName(securityPolicyName: String) + /** * A structure that contains the parameters for an SFTP connector object. * @@ -375,6 +404,16 @@ public open class CfnConnector( cdkBuilder.loggingRole(loggingRole) } + /** + * The text name of the security policy for the specified connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-connector.html#cfn-transfer-connector-securitypolicyname) + * @param securityPolicyName The text name of the security policy for the specified connector. + */ + override fun securityPolicyName(securityPolicyName: String) { + cdkBuilder.securityPolicyName(securityPolicyName) + } + /** * A structure that contains the parameters for an SFTP connector object. * @@ -382,7 +421,7 @@ public open class CfnConnector( * @param sftpConfig A structure that contains the parameters for an SFTP connector object. */ override fun sftpConfig(sftpConfig: IResolvable) { - cdkBuilder.sftpConfig(sftpConfig.let(IResolvable::unwrap)) + cdkBuilder.sftpConfig(sftpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -392,7 +431,7 @@ public open class CfnConnector( * @param sftpConfig A structure that contains the parameters for an SFTP connector object. */ override fun sftpConfig(sftpConfig: SftpConfigProperty) { - cdkBuilder.sftpConfig(sftpConfig.let(SftpConfigProperty::unwrap)) + cdkBuilder.sftpConfig(sftpConfig.let(SftpConfigProperty.Companion::unwrap)) } /** @@ -413,7 +452,7 @@ public open class CfnConnector( * @param tags Key-value pairs that can be used to group and search for connectors. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnectorProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnectorProps.kt index 8563a13b76..79e219ab38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnectorProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnConnectorProps.kt @@ -29,6 +29,7 @@ import kotlin.jvm.JvmName * // the properties below are optional * .as2Config(as2Config) * .loggingRole("loggingRole") + * .securityPolicyName("securityPolicyName") * .sftpConfig(SftpConfigProperty.builder() * .trustedHostKeys(List.of("trustedHostKeys")) * .userSecretId("userSecretId") @@ -92,6 +93,13 @@ public interface CfnConnectorProps { */ public fun loggingRole(): String? = unwrap(this).getLoggingRole() + /** + * The text name of the security policy for the specified connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-connector.html#cfn-transfer-connector-securitypolicyname) + */ + public fun securityPolicyName(): String? = unwrap(this).getSecurityPolicyName() + /** * A structure that contains the parameters for an SFTP connector object. * @@ -159,6 +167,11 @@ public interface CfnConnectorProps { */ public fun loggingRole(loggingRole: String) + /** + * @param securityPolicyName The text name of the security policy for the specified connector. + */ + public fun securityPolicyName(securityPolicyName: String) + /** * @param sftpConfig A structure that contains the parameters for an SFTP connector object. */ @@ -243,18 +256,25 @@ public interface CfnConnectorProps { cdkBuilder.loggingRole(loggingRole) } + /** + * @param securityPolicyName The text name of the security policy for the specified connector. + */ + override fun securityPolicyName(securityPolicyName: String) { + cdkBuilder.securityPolicyName(securityPolicyName) + } + /** * @param sftpConfig A structure that contains the parameters for an SFTP connector object. */ override fun sftpConfig(sftpConfig: IResolvable) { - cdkBuilder.sftpConfig(sftpConfig.let(IResolvable::unwrap)) + cdkBuilder.sftpConfig(sftpConfig.let(IResolvable.Companion::unwrap)) } /** * @param sftpConfig A structure that contains the parameters for an SFTP connector object. */ override fun sftpConfig(sftpConfig: CfnConnector.SftpConfigProperty) { - cdkBuilder.sftpConfig(sftpConfig.let(CfnConnector.SftpConfigProperty::unwrap)) + cdkBuilder.sftpConfig(sftpConfig.let(CfnConnector.SftpConfigProperty.Companion::unwrap)) } /** @@ -269,7 +289,7 @@ public interface CfnConnectorProps { * @param tags Key-value pairs that can be used to group and search for connectors. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -340,6 +360,13 @@ public interface CfnConnectorProps { */ override fun loggingRole(): String? = unwrap(this).getLoggingRole() + /** + * The text name of the security policy for the specified connector. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-connector.html#cfn-transfer-connector-securitypolicyname) + */ + override fun securityPolicyName(): String? = unwrap(this).getSecurityPolicyName() + /** * A structure that contains the parameters for an SFTP connector object. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfile.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfile.kt index 02c67229c8..8b4d3228ca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfile.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfile.kt @@ -46,8 +46,8 @@ public open class CfnProfile( id: String, props: CfnProfileProps, ) : - this(software.amazon.awscdk.services.transfer.CfnProfile(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnProfileProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnProfile(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnProfileProps.Companion::unwrap)) ) public constructor( @@ -111,7 +111,7 @@ public open class CfnProfile( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -141,7 +141,7 @@ public open class CfnProfile( * Key-value pairs that can be used to group and search for profiles. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnProfile( * @param tags Key-value pairs that can be used to group and search for profiles. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfileProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfileProps.kt index c4639dd83a..22d61e625b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfileProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnProfileProps.kt @@ -157,7 +157,7 @@ public interface CfnProfileProps { * @param tags Key-value pairs that can be used to group and search for profiles. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServer.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServer.kt index 5af14ecead..4fdfdc3a60 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServer.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServer.kt @@ -89,7 +89,7 @@ public open class CfnServer( cdkObject: software.amazon.awscdk.services.transfer.CfnServer, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.transfer.CfnServer(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.transfer.CfnServer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -98,8 +98,8 @@ public open class CfnServer( id: String, props: CfnServerProps, ) : - this(software.amazon.awscdk.services.transfer.CfnServer(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServerProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnServer(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServerProps.Companion::unwrap)) ) public constructor( @@ -158,14 +158,14 @@ public open class CfnServer( * The virtual private cloud (VPC) endpoint settings that are configured for your server. */ public open fun endpointDetails(`value`: IResolvable) { - unwrap(this).setEndpointDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setEndpointDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The virtual private cloud (VPC) endpoint settings that are configured for your server. */ public open fun endpointDetails(`value`: EndpointDetailsProperty) { - unwrap(this).setEndpointDetails(`value`.let(EndpointDetailsProperty::unwrap)) + unwrap(this).setEndpointDetails(`value`.let(EndpointDetailsProperty.Companion::unwrap)) } /** @@ -199,7 +199,7 @@ public open class CfnServer( * `API_GATEWAY` . */ public open fun identityProviderDetails(`value`: IResolvable) { - unwrap(this).setIdentityProviderDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setIdentityProviderDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnServer( * `API_GATEWAY` . */ public open fun identityProviderDetails(`value`: IdentityProviderDetailsProperty) { - unwrap(this).setIdentityProviderDetails(`value`.let(IdentityProviderDetailsProperty::unwrap)) + unwrap(this).setIdentityProviderDetails(`value`.let(IdentityProviderDetailsProperty.Companion::unwrap)) } /** @@ -238,7 +238,7 @@ public open class CfnServer( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -294,14 +294,14 @@ public open class CfnServer( * The protocol settings that are configured for your server. */ public open fun protocolDetails(`value`: IResolvable) { - unwrap(this).setProtocolDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setProtocolDetails(`value`.let(IResolvable.Companion::unwrap)) } /** * The protocol settings that are configured for your server. */ public open fun protocolDetails(`value`: ProtocolDetailsProperty) { - unwrap(this).setProtocolDetails(`value`.let(ProtocolDetailsProperty::unwrap)) + unwrap(this).setProtocolDetails(`value`.let(ProtocolDetailsProperty.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public open class CfnServer( * This is disabled by default. */ public open fun s3StorageOptions(`value`: IResolvable) { - unwrap(this).setS3StorageOptions(`value`.let(IResolvable::unwrap)) + unwrap(this).setS3StorageOptions(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class CfnServer( * This is disabled by default. */ public open fun s3StorageOptions(`value`: S3StorageOptionsProperty) { - unwrap(this).setS3StorageOptions(`value`.let(S3StorageOptionsProperty::unwrap)) + unwrap(this).setS3StorageOptions(`value`.let(S3StorageOptionsProperty.Companion::unwrap)) } /** @@ -413,7 +413,7 @@ public open class CfnServer( * Key-value pairs that can be used to group and search for servers. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -432,7 +432,7 @@ public open class CfnServer( * executing the workflow. */ public open fun workflowDetails(`value`: IResolvable) { - unwrap(this).setWorkflowDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkflowDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -440,7 +440,7 @@ public open class CfnServer( * executing the workflow. */ public open fun workflowDetails(`value`: WorkflowDetailsProperty) { - unwrap(this).setWorkflowDetails(`value`.let(WorkflowDetailsProperty::unwrap)) + unwrap(this).setWorkflowDetails(`value`.let(WorkflowDetailsProperty.Companion::unwrap)) } /** @@ -1071,7 +1071,7 @@ public open class CfnServer( * for your server. */ override fun endpointDetails(endpointDetails: IResolvable) { - cdkBuilder.endpointDetails(endpointDetails.let(IResolvable::unwrap)) + cdkBuilder.endpointDetails(endpointDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1087,7 +1087,7 @@ public open class CfnServer( * for your server. */ override fun endpointDetails(endpointDetails: EndpointDetailsProperty) { - cdkBuilder.endpointDetails(endpointDetails.let(EndpointDetailsProperty::unwrap)) + cdkBuilder.endpointDetails(endpointDetails.let(EndpointDetailsProperty.Companion::unwrap)) } /** @@ -1151,7 +1151,7 @@ public open class CfnServer( * `AWS_DIRECTORY_SERVICE` , `AWS _LAMBDA` or `API_GATEWAY` . */ override fun identityProviderDetails(identityProviderDetails: IResolvable) { - cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable::unwrap)) + cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1167,7 +1167,7 @@ public open class CfnServer( * `AWS_DIRECTORY_SERVICE` , `AWS _LAMBDA` or `API_GATEWAY` . */ override fun identityProviderDetails(identityProviderDetails: IdentityProviderDetailsProperty) { - cdkBuilder.identityProviderDetails(identityProviderDetails.let(IdentityProviderDetailsProperty::unwrap)) + cdkBuilder.identityProviderDetails(identityProviderDetails.let(IdentityProviderDetailsProperty.Companion::unwrap)) } /** @@ -1288,7 +1288,7 @@ public open class CfnServer( * @param protocolDetails The protocol settings that are configured for your server. */ override fun protocolDetails(protocolDetails: IResolvable) { - cdkBuilder.protocolDetails(protocolDetails.let(IResolvable::unwrap)) + cdkBuilder.protocolDetails(protocolDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1316,7 +1316,7 @@ public open class CfnServer( * @param protocolDetails The protocol settings that are configured for your server. */ override fun protocolDetails(protocolDetails: ProtocolDetailsProperty) { - cdkBuilder.protocolDetails(protocolDetails.let(ProtocolDetailsProperty::unwrap)) + cdkBuilder.protocolDetails(protocolDetails.let(ProtocolDetailsProperty.Companion::unwrap)) } /** @@ -1435,7 +1435,7 @@ public open class CfnServer( * is optimized. This is disabled by default. */ override fun s3StorageOptions(s3StorageOptions: IResolvable) { - cdkBuilder.s3StorageOptions(s3StorageOptions.let(IResolvable::unwrap)) + cdkBuilder.s3StorageOptions(s3StorageOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1451,7 +1451,7 @@ public open class CfnServer( * is optimized. This is disabled by default. */ override fun s3StorageOptions(s3StorageOptions: S3StorageOptionsProperty) { - cdkBuilder.s3StorageOptions(s3StorageOptions.let(S3StorageOptionsProperty::unwrap)) + cdkBuilder.s3StorageOptions(s3StorageOptions.let(S3StorageOptionsProperty.Companion::unwrap)) } /** @@ -1535,7 +1535,7 @@ public open class CfnServer( * @param tags Key-value pairs that can be used to group and search for servers. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1559,7 +1559,7 @@ public open class CfnServer( * role that's used for executing the workflow. */ override fun workflowDetails(workflowDetails: IResolvable) { - cdkBuilder.workflowDetails(workflowDetails.let(IResolvable::unwrap)) + cdkBuilder.workflowDetails(workflowDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1575,7 +1575,7 @@ public open class CfnServer( * role that's used for executing the workflow. */ override fun workflowDetails(workflowDetails: WorkflowDetailsProperty) { - cdkBuilder.workflowDetails(workflowDetails.let(WorkflowDetailsProperty::unwrap)) + cdkBuilder.workflowDetails(workflowDetails.let(WorkflowDetailsProperty.Companion::unwrap)) } /** @@ -3161,7 +3161,7 @@ public open class CfnServer( * A *partial upload* occurs when a file is open when the session disconnects. */ override fun onPartialUpload(onPartialUpload: IResolvable) { - cdkBuilder.onPartialUpload(onPartialUpload.let(IResolvable::unwrap)) + cdkBuilder.onPartialUpload(onPartialUpload.let(IResolvable.Companion::unwrap)) } /** @@ -3195,7 +3195,7 @@ public open class CfnServer( * '{"OnUpload":[]}'` */ override fun onUpload(onUpload: IResolvable) { - cdkBuilder.onUpload(onUpload.let(IResolvable::unwrap)) + cdkBuilder.onUpload(onUpload.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServerProps.kt index 0721325a03..32164afe8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnServerProps.kt @@ -826,7 +826,7 @@ public interface CfnServerProps { * assigned to your endpoint. */ override fun endpointDetails(endpointDetails: IResolvable) { - cdkBuilder.endpointDetails(endpointDetails.let(IResolvable::unwrap)) + cdkBuilder.endpointDetails(endpointDetails.let(IResolvable.Companion::unwrap)) } /** @@ -838,7 +838,7 @@ public interface CfnServerProps { * assigned to your endpoint. */ override fun endpointDetails(endpointDetails: CfnServer.EndpointDetailsProperty) { - cdkBuilder.endpointDetails(endpointDetails.let(CfnServer.EndpointDetailsProperty::unwrap)) + cdkBuilder.endpointDetails(endpointDetails.let(CfnServer.EndpointDetailsProperty.Companion::unwrap)) } /** @@ -889,7 +889,7 @@ public interface CfnServerProps { * Gateway URL. Not required when `IdentityProviderType` is set to `SERVICE_MANAGED` . */ override fun identityProviderDetails(identityProviderDetails: IResolvable) { - cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable::unwrap)) + cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable.Companion::unwrap)) } /** @@ -901,7 +901,7 @@ public interface CfnServerProps { */ override fun identityProviderDetails(identityProviderDetails: CfnServer.IdentityProviderDetailsProperty) { - cdkBuilder.identityProviderDetails(identityProviderDetails.let(CfnServer.IdentityProviderDetailsProperty::unwrap)) + cdkBuilder.identityProviderDetails(identityProviderDetails.let(CfnServer.IdentityProviderDetailsProperty.Companion::unwrap)) } /** @@ -995,7 +995,7 @@ public interface CfnServerProps { * *Allowed values* : One or more of `SFTP` , `FTPS` , `FTP` , `AS2` */ override fun protocolDetails(protocolDetails: IResolvable) { - cdkBuilder.protocolDetails(protocolDetails.let(IResolvable::unwrap)) + cdkBuilder.protocolDetails(protocolDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1019,7 +1019,7 @@ public interface CfnServerProps { * *Allowed values* : One or more of `SFTP` , `FTPS` , `FTP` , `AS2` */ override fun protocolDetails(protocolDetails: CfnServer.ProtocolDetailsProperty) { - cdkBuilder.protocolDetails(protocolDetails.let(CfnServer.ProtocolDetailsProperty::unwrap)) + cdkBuilder.protocolDetails(protocolDetails.let(CfnServer.ProtocolDetailsProperty.Companion::unwrap)) } /** @@ -1120,7 +1120,7 @@ public interface CfnServerProps { * mapping to have a file target. */ override fun s3StorageOptions(s3StorageOptions: IResolvable) { - cdkBuilder.s3StorageOptions(s3StorageOptions.let(IResolvable::unwrap)) + cdkBuilder.s3StorageOptions(s3StorageOptions.let(IResolvable.Companion::unwrap)) } /** @@ -1131,7 +1131,7 @@ public interface CfnServerProps { * mapping to have a file target. */ override fun s3StorageOptions(s3StorageOptions: CfnServer.S3StorageOptionsProperty) { - cdkBuilder.s3StorageOptions(s3StorageOptions.let(CfnServer.S3StorageOptionsProperty::unwrap)) + cdkBuilder.s3StorageOptions(s3StorageOptions.let(CfnServer.S3StorageOptionsProperty.Companion::unwrap)) } /** @@ -1195,7 +1195,7 @@ public interface CfnServerProps { * @param tags Key-value pairs that can be used to group and search for servers. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1211,7 +1211,7 @@ public interface CfnServerProps { * A partial upload occurs when a file is open when the session disconnects. */ override fun workflowDetails(workflowDetails: IResolvable) { - cdkBuilder.workflowDetails(workflowDetails.let(IResolvable::unwrap)) + cdkBuilder.workflowDetails(workflowDetails.let(IResolvable.Companion::unwrap)) } /** @@ -1222,7 +1222,7 @@ public interface CfnServerProps { * A partial upload occurs when a file is open when the session disconnects. */ override fun workflowDetails(workflowDetails: CfnServer.WorkflowDetailsProperty) { - cdkBuilder.workflowDetails(workflowDetails.let(CfnServer.WorkflowDetailsProperty::unwrap)) + cdkBuilder.workflowDetails(workflowDetails.let(CfnServer.WorkflowDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUser.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUser.kt index a042e594d7..904d4a6460 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUser.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUser.kt @@ -74,8 +74,8 @@ public open class CfnUser( id: String, props: CfnUserProps, ) : - this(software.amazon.awscdk.services.transfer.CfnUser(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnUser(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserProps.Companion::unwrap)) ) public constructor( @@ -135,7 +135,7 @@ public open class CfnUser( * visible to your user and how you want to make them visible. */ public open fun homeDirectoryMappings(`value`: IResolvable) { - unwrap(this).setHomeDirectoryMappings(`value`.let(IResolvable::unwrap)) + unwrap(this).setHomeDirectoryMappings(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -173,7 +173,7 @@ public open class CfnUser( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -201,7 +201,7 @@ public open class CfnUser( * File System (Amazon EFS) file systems. */ public open fun posixProfile(`value`: IResolvable) { - unwrap(this).setPosixProfile(`value`.let(IResolvable::unwrap)) + unwrap(this).setPosixProfile(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnUser( * File System (Amazon EFS) file systems. */ public open fun posixProfile(`value`: PosixProfileProperty) { - unwrap(this).setPosixProfile(`value`.let(PosixProfileProperty::unwrap)) + unwrap(this).setPosixProfile(`value`.let(PosixProfileProperty.Companion::unwrap)) } /** @@ -281,7 +281,7 @@ public open class CfnUser( * Key-value pairs that can be used to group and search for users. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public open class CfnUser( * EFS paths and keys should be visible to your user and how you want to make them visible. */ override fun homeDirectoryMappings(homeDirectoryMappings: IResolvable) { - cdkBuilder.homeDirectoryMappings(homeDirectoryMappings.let(IResolvable::unwrap)) + cdkBuilder.homeDirectoryMappings(homeDirectoryMappings.let(IResolvable.Companion::unwrap)) } /** @@ -761,7 +761,7 @@ public open class CfnUser( * your Amazon Elastic File System (Amazon EFS) file systems. */ override fun posixProfile(posixProfile: IResolvable) { - cdkBuilder.posixProfile(posixProfile.let(IResolvable::unwrap)) + cdkBuilder.posixProfile(posixProfile.let(IResolvable.Companion::unwrap)) } /** @@ -779,7 +779,7 @@ public open class CfnUser( * your Amazon Elastic File System (Amazon EFS) file systems. */ override fun posixProfile(posixProfile: PosixProfileProperty) { - cdkBuilder.posixProfile(posixProfile.let(PosixProfileProperty::unwrap)) + cdkBuilder.posixProfile(posixProfile.let(PosixProfileProperty.Companion::unwrap)) } /** @@ -862,7 +862,7 @@ public open class CfnUser( * @param tags Key-value pairs that can be used to group and search for users. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class CfnUser( * user. */ override fun secondaryGids(secondaryGids: IResolvable) { - cdkBuilder.secondaryGids(secondaryGids.let(IResolvable::unwrap)) + cdkBuilder.secondaryGids(secondaryGids.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUserProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUserProps.kt index d5f87d154a..bb7d521a68 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUserProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnUserProps.kt @@ -438,7 +438,7 @@ public interface CfnUserProps { * `[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]` */ override fun homeDirectoryMappings(homeDirectoryMappings: IResolvable) { - cdkBuilder.homeDirectoryMappings(homeDirectoryMappings.let(IResolvable::unwrap)) + cdkBuilder.homeDirectoryMappings(homeDirectoryMappings.let(IResolvable.Companion::unwrap)) } /** @@ -540,7 +540,7 @@ public interface CfnUserProps { * systems. */ override fun posixProfile(posixProfile: IResolvable) { - cdkBuilder.posixProfile(posixProfile.let(IResolvable::unwrap)) + cdkBuilder.posixProfile(posixProfile.let(IResolvable.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface CfnUserProps { * systems. */ override fun posixProfile(posixProfile: CfnUser.PosixProfileProperty) { - cdkBuilder.posixProfile(posixProfile.let(CfnUser.PosixProfileProperty::unwrap)) + cdkBuilder.posixProfile(posixProfile.let(CfnUser.PosixProfileProperty.Companion::unwrap)) } /** @@ -608,7 +608,7 @@ public interface CfnUserProps { * Tags are metadata attached to users for any purpose. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflow.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflow.kt index 2d3ad05656..6fea174392 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflow.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflow.kt @@ -53,10 +53,11 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .key("key") * .build()) * .build()) + * .type("type") + * // the properties below are optional * .name("name") * .overwriteExisting("overwriteExisting") * .sourceFileLocation("sourceFileLocation") - * .type("type") * .build()) * .deleteStepDetails(deleteStepDetails) * .tagStepDetails(tagStepDetails) @@ -78,10 +79,11 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .key("key") * .build()) * .build()) + * .type("type") + * // the properties below are optional * .name("name") * .overwriteExisting("overwriteExisting") * .sourceFileLocation("sourceFileLocation") - * .type("type") * .build()) * .deleteStepDetails(deleteStepDetails) * .tagStepDetails(tagStepDetails) @@ -104,8 +106,8 @@ public open class CfnWorkflow( id: String, props: CfnWorkflowProps, ) : - this(software.amazon.awscdk.services.transfer.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkflowProps::unwrap)) + this(software.amazon.awscdk.services.transfer.CfnWorkflow(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkflowProps.Companion::unwrap)) ) public constructor( @@ -143,7 +145,7 @@ public open class CfnWorkflow( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -157,7 +159,7 @@ public open class CfnWorkflow( * workflow. */ public open fun onExceptionSteps(`value`: IResolvable) { - unwrap(this).setOnExceptionSteps(`value`.let(IResolvable::unwrap)) + unwrap(this).setOnExceptionSteps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -183,7 +185,7 @@ public open class CfnWorkflow( * Specifies the details for the steps that are in the specified workflow. */ public open fun steps(`value`: IResolvable) { - unwrap(this).setSteps(`value`.let(IResolvable::unwrap)) + unwrap(this).setSteps(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -213,7 +215,7 @@ public open class CfnWorkflow( * Key-value pairs that can be used to group and search for workflows. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -335,7 +337,7 @@ public open class CfnWorkflow( * during execution of the workflow. */ override fun onExceptionSteps(onExceptionSteps: IResolvable) { - cdkBuilder.onExceptionSteps(onExceptionSteps.let(IResolvable::unwrap)) + cdkBuilder.onExceptionSteps(onExceptionSteps.let(IResolvable.Companion::unwrap)) } /** @@ -368,7 +370,7 @@ public open class CfnWorkflow( * @param steps Specifies the details for the steps that are in the specified workflow. */ override fun steps(steps: IResolvable) { - cdkBuilder.steps(steps.let(IResolvable::unwrap)) + cdkBuilder.steps(steps.let(IResolvable.Companion::unwrap)) } /** @@ -398,7 +400,7 @@ public open class CfnWorkflow( * @param tags Key-value pairs that can be used to group and search for workflows. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -632,7 +634,7 @@ public open class CfnWorkflow( * file is uploaded in UTC. */ override fun destinationFileLocation(destinationFileLocation: IResolvable) { - cdkBuilder.destinationFileLocation(destinationFileLocation.let(IResolvable::unwrap)) + cdkBuilder.destinationFileLocation(destinationFileLocation.let(IResolvable.Companion::unwrap)) } /** @@ -651,7 +653,7 @@ public open class CfnWorkflow( * file is uploaded in UTC. */ override fun destinationFileLocation(destinationFileLocation: S3FileLocationProperty) { - cdkBuilder.destinationFileLocation(destinationFileLocation.let(S3FileLocationProperty::unwrap)) + cdkBuilder.destinationFileLocation(destinationFileLocation.let(S3FileLocationProperty.Companion::unwrap)) } /** @@ -1013,10 +1015,11 @@ public open class CfnWorkflow( * .key("key") * .build()) * .build()) + * .type("type") + * // the properties below are optional * .name("name") * .overwriteExisting("overwriteExisting") * .sourceFileLocation("sourceFileLocation") - * .type("type") * .build(); * ``` * @@ -1042,7 +1045,7 @@ public open class CfnWorkflow( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-destinationfilelocation) */ - public fun destinationFileLocation(): Any? = unwrap(this).getDestinationFileLocation() + public fun destinationFileLocation(): Any /** * The name of the step, used as an identifier. @@ -1087,7 +1090,7 @@ public open class CfnWorkflow( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-type) */ - public fun type(): String? = unwrap(this).getType() + public fun type(): String /** * A builder for [DecryptStepDetailsProperty] @@ -1095,7 +1098,7 @@ public open class CfnWorkflow( @CdkDslMarker public interface Builder { /** - * @param destinationFileLocation Specifies the location for the file being decrypted. + * @param destinationFileLocation Specifies the location for the file being decrypted. * Use `${Transfer:UserName}` or `${Transfer:UploadDate}` in this field to parametrize the * destination prefix by username or uploaded date. * @@ -1112,7 +1115,7 @@ public open class CfnWorkflow( public fun destinationFileLocation(destinationFileLocation: IResolvable) /** - * @param destinationFileLocation Specifies the location for the file being decrypted. + * @param destinationFileLocation Specifies the location for the file being decrypted. * Use `${Transfer:UserName}` or `${Transfer:UploadDate}` in this field to parametrize the * destination prefix by username or uploaded date. * @@ -1129,7 +1132,7 @@ public open class CfnWorkflow( public fun destinationFileLocation(destinationFileLocation: InputFileLocationProperty) /** - * @param destinationFileLocation Specifies the location for the file being decrypted. + * @param destinationFileLocation Specifies the location for the file being decrypted. * Use `${Transfer:UserName}` or `${Transfer:UploadDate}` in this field to parametrize the * destination prefix by username or uploaded date. * @@ -1177,7 +1180,7 @@ public open class CfnWorkflow( public fun sourceFileLocation(sourceFileLocation: String) /** - * @param type The type of encryption used. + * @param type The type of encryption used. * Currently, this value must be `PGP` . */ public fun type(type: String) @@ -1189,7 +1192,7 @@ public open class CfnWorkflow( software.amazon.awscdk.services.transfer.CfnWorkflow.DecryptStepDetailsProperty.builder() /** - * @param destinationFileLocation Specifies the location for the file being decrypted. + * @param destinationFileLocation Specifies the location for the file being decrypted. * Use `${Transfer:UserName}` or `${Transfer:UploadDate}` in this field to parametrize the * destination prefix by username or uploaded date. * @@ -1204,11 +1207,11 @@ public open class CfnWorkflow( * file is uploaded in UTC. */ override fun destinationFileLocation(destinationFileLocation: IResolvable) { - cdkBuilder.destinationFileLocation(destinationFileLocation.let(IResolvable::unwrap)) + cdkBuilder.destinationFileLocation(destinationFileLocation.let(IResolvable.Companion::unwrap)) } /** - * @param destinationFileLocation Specifies the location for the file being decrypted. + * @param destinationFileLocation Specifies the location for the file being decrypted. * Use `${Transfer:UserName}` or `${Transfer:UploadDate}` in this field to parametrize the * destination prefix by username or uploaded date. * @@ -1223,11 +1226,11 @@ public open class CfnWorkflow( * file is uploaded in UTC. */ override fun destinationFileLocation(destinationFileLocation: InputFileLocationProperty) { - cdkBuilder.destinationFileLocation(destinationFileLocation.let(InputFileLocationProperty::unwrap)) + cdkBuilder.destinationFileLocation(destinationFileLocation.let(InputFileLocationProperty.Companion::unwrap)) } /** - * @param destinationFileLocation Specifies the location for the file being decrypted. + * @param destinationFileLocation Specifies the location for the file being decrypted. * Use `${Transfer:UserName}` or `${Transfer:UploadDate}` in this field to parametrize the * destination prefix by username or uploaded date. * @@ -1282,7 +1285,7 @@ public open class CfnWorkflow( } /** - * @param type The type of encryption used. + * @param type The type of encryption used. * Currently, this value must be `PGP` . */ override fun type(type: String) { @@ -1316,7 +1319,7 @@ public open class CfnWorkflow( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-destinationfilelocation) */ - override fun destinationFileLocation(): Any? = unwrap(this).getDestinationFileLocation() + override fun destinationFileLocation(): Any = unwrap(this).getDestinationFileLocation() /** * The name of the step, used as an identifier. @@ -1361,7 +1364,7 @@ public open class CfnWorkflow( * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-type) */ - override fun type(): String? = unwrap(this).getType() + override fun type(): String = unwrap(this).getType() } public companion object { @@ -1721,7 +1724,7 @@ public open class CfnWorkflow( * EFS) file that's being decrypted. */ override fun efsFileLocation(efsFileLocation: IResolvable) { - cdkBuilder.efsFileLocation(efsFileLocation.let(IResolvable::unwrap)) + cdkBuilder.efsFileLocation(efsFileLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1729,7 +1732,7 @@ public open class CfnWorkflow( * EFS) file that's being decrypted. */ override fun efsFileLocation(efsFileLocation: EfsInputFileLocationProperty) { - cdkBuilder.efsFileLocation(efsFileLocation.let(EfsInputFileLocationProperty::unwrap)) + cdkBuilder.efsFileLocation(efsFileLocation.let(EfsInputFileLocationProperty.Companion::unwrap)) } /** @@ -1747,7 +1750,7 @@ public open class CfnWorkflow( * decrypted. */ override fun s3FileLocation(s3FileLocation: IResolvable) { - cdkBuilder.s3FileLocation(s3FileLocation.let(IResolvable::unwrap)) + cdkBuilder.s3FileLocation(s3FileLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1755,7 +1758,7 @@ public open class CfnWorkflow( * decrypted. */ override fun s3FileLocation(s3FileLocation: S3InputFileLocationProperty) { - cdkBuilder.s3FileLocation(s3FileLocation.let(S3InputFileLocationProperty::unwrap)) + cdkBuilder.s3FileLocation(s3FileLocation.let(S3InputFileLocationProperty.Companion::unwrap)) } /** @@ -1878,7 +1881,7 @@ public open class CfnWorkflow( * Only applicable if you are using Amazon S3 storage. */ override fun s3FileLocation(s3FileLocation: IResolvable) { - cdkBuilder.s3FileLocation(s3FileLocation.let(IResolvable::unwrap)) + cdkBuilder.s3FileLocation(s3FileLocation.let(IResolvable.Companion::unwrap)) } /** @@ -1887,7 +1890,7 @@ public open class CfnWorkflow( * Only applicable if you are using Amazon S3 storage. */ override fun s3FileLocation(s3FileLocation: S3InputFileLocationProperty) { - cdkBuilder.s3FileLocation(s3FileLocation.let(S3InputFileLocationProperty::unwrap)) + cdkBuilder.s3FileLocation(s3FileLocation.let(S3InputFileLocationProperty.Companion::unwrap)) } /** @@ -2270,7 +2273,7 @@ public open class CfnWorkflow( * @param tags Array that contains from 1 to 10 key/value pairs. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(S3TagProperty::unwrap)) + cdkBuilder.tags(tags.map(S3TagProperty.Companion::unwrap)) } /** @@ -2361,10 +2364,11 @@ public open class CfnWorkflow( * .key("key") * .build()) * .build()) + * .type("type") + * // the properties below are optional * .name("name") * .overwriteExisting("overwriteExisting") * .sourceFileLocation("sourceFileLocation") - * .type("type") * .build()) * .deleteStepDetails(deleteStepDetails) * .tagStepDetails(tagStepDetails) @@ -2572,7 +2576,7 @@ public open class CfnWorkflow( * * The type of encryption that's used. Currently, only PGP encryption is supported. */ override fun decryptStepDetails(decryptStepDetails: IResolvable) { - cdkBuilder.decryptStepDetails(decryptStepDetails.let(IResolvable::unwrap)) + cdkBuilder.decryptStepDetails(decryptStepDetails.let(IResolvable.Companion::unwrap)) } /** @@ -2588,7 +2592,7 @@ public open class CfnWorkflow( * * The type of encryption that's used. Currently, only PGP encryption is supported. */ override fun decryptStepDetails(decryptStepDetails: DecryptStepDetailsProperty) { - cdkBuilder.decryptStepDetails(decryptStepDetails.let(DecryptStepDetailsProperty::unwrap)) + cdkBuilder.decryptStepDetails(decryptStepDetails.let(DecryptStepDetailsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflowProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflowProps.kt index 01d6de126f..637c852e46 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflowProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/transfer/CfnWorkflowProps.kt @@ -40,10 +40,11 @@ import kotlin.collections.List * .key("key") * .build()) * .build()) + * .type("type") + * // the properties below are optional * .name("name") * .overwriteExisting("overwriteExisting") * .sourceFileLocation("sourceFileLocation") - * .type("type") * .build()) * .deleteStepDetails(deleteStepDetails) * .tagStepDetails(tagStepDetails) @@ -65,10 +66,11 @@ import kotlin.collections.List * .key("key") * .build()) * .build()) + * .type("type") + * // the properties below are optional * .name("name") * .overwriteExisting("overwriteExisting") * .sourceFileLocation("sourceFileLocation") - * .type("type") * .build()) * .deleteStepDetails(deleteStepDetails) * .tagStepDetails(tagStepDetails) @@ -187,7 +189,7 @@ public interface CfnWorkflowProps { * during execution of the workflow. */ override fun onExceptionSteps(onExceptionSteps: IResolvable) { - cdkBuilder.onExceptionSteps(onExceptionSteps.let(IResolvable::unwrap)) + cdkBuilder.onExceptionSteps(onExceptionSteps.let(IResolvable.Companion::unwrap)) } /** @@ -209,7 +211,7 @@ public interface CfnWorkflowProps { * @param steps Specifies the details for the steps that are in the specified workflow. */ override fun steps(steps: IResolvable) { - cdkBuilder.steps(steps.let(IResolvable::unwrap)) + cdkBuilder.steps(steps.let(IResolvable.Companion::unwrap)) } /** @@ -229,7 +231,7 @@ public interface CfnWorkflowProps { * Tags are metadata attached to workflows for any purpose. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySource.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySource.kt index 8e355a93f4..bda3dfaff4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySource.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySource.kt @@ -85,8 +85,8 @@ public open class CfnIdentitySource( id: String, props: CfnIdentitySourceProps, ) : - this(software.amazon.awscdk.services.verifiedpermissions.CfnIdentitySource(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentitySourceProps::unwrap)) + this(software.amazon.awscdk.services.verifiedpermissions.CfnIdentitySource(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentitySourceProps.Companion::unwrap)) ) public constructor( @@ -135,14 +135,14 @@ public open class CfnIdentitySource( * Contains configuration information about an identity source. */ public open fun configuration(`value`: IResolvable) { - unwrap(this).setConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Contains configuration information about an identity source. */ public open fun configuration(`value`: IdentitySourceConfigurationProperty) { - unwrap(this).setConfiguration(`value`.let(IdentitySourceConfigurationProperty::unwrap)) + unwrap(this).setConfiguration(`value`.let(IdentitySourceConfigurationProperty.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public open class CfnIdentitySource( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -258,7 +258,7 @@ public open class CfnIdentitySource( * @param configuration Contains configuration information about an identity source. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -268,7 +268,7 @@ public open class CfnIdentitySource( * @param configuration Contains configuration information about an identity source. */ override fun configuration(configuration: IdentitySourceConfigurationProperty) { - cdkBuilder.configuration(configuration.let(IdentitySourceConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(IdentitySourceConfigurationProperty.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public open class CfnIdentitySource( * Amazon Cognito user pool identity source. */ override fun groupConfiguration(groupConfiguration: IResolvable) { - cdkBuilder.groupConfiguration(groupConfiguration.let(IResolvable::unwrap)) + cdkBuilder.groupConfiguration(groupConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -569,7 +569,7 @@ public open class CfnIdentitySource( * Amazon Cognito user pool identity source. */ override fun groupConfiguration(groupConfiguration: CognitoGroupConfigurationProperty) { - cdkBuilder.groupConfiguration(groupConfiguration.let(CognitoGroupConfigurationProperty::unwrap)) + cdkBuilder.groupConfiguration(groupConfiguration.let(CognitoGroupConfigurationProperty.Companion::unwrap)) } /** @@ -731,7 +731,7 @@ public open class CfnIdentitySource( * Cognito user pool used as an identity provider for Verified Permissions . */ override fun cognitoUserPoolConfiguration(cognitoUserPoolConfiguration: IResolvable) { - cdkBuilder.cognitoUserPoolConfiguration(cognitoUserPoolConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cognitoUserPoolConfiguration(cognitoUserPoolConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -741,7 +741,7 @@ public open class CfnIdentitySource( */ override fun cognitoUserPoolConfiguration(cognitoUserPoolConfiguration: CognitoUserPoolConfigurationProperty) { - cdkBuilder.cognitoUserPoolConfiguration(cognitoUserPoolConfiguration.let(CognitoUserPoolConfigurationProperty::unwrap)) + cdkBuilder.cognitoUserPoolConfiguration(cognitoUserPoolConfiguration.let(CognitoUserPoolConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySourceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySourceProps.kt index 8d64f82a47..949e58be61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySourceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnIdentitySourceProps.kt @@ -112,7 +112,7 @@ public interface CfnIdentitySourceProps { * @param configuration Contains configuration information about an identity source. */ override fun configuration(configuration: IResolvable) { - cdkBuilder.configuration(configuration.let(IResolvable::unwrap)) + cdkBuilder.configuration(configuration.let(IResolvable.Companion::unwrap)) } /** @@ -120,7 +120,7 @@ public interface CfnIdentitySourceProps { */ override fun configuration(configuration: CfnIdentitySource.IdentitySourceConfigurationProperty) { - cdkBuilder.configuration(configuration.let(CfnIdentitySource.IdentitySourceConfigurationProperty::unwrap)) + cdkBuilder.configuration(configuration.let(CfnIdentitySource.IdentitySourceConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicy.kt index 47ddcc666d..a8537c1041 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicy.kt @@ -88,8 +88,8 @@ public open class CfnPolicy( id: String, props: CfnPolicyProps, ) : - this(software.amazon.awscdk.services.verifiedpermissions.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyProps::unwrap)) + this(software.amazon.awscdk.services.verifiedpermissions.CfnPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyProps.Companion::unwrap)) ) public constructor( @@ -121,14 +121,14 @@ public open class CfnPolicy( * Specifies the policy type and content to use for the new or updated policy. */ public open fun definition(`value`: IResolvable) { - unwrap(this).setDefinition(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefinition(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the policy type and content to use for the new or updated policy. */ public open fun definition(`value`: PolicyDefinitionProperty) { - unwrap(this).setDefinition(`value`.let(PolicyDefinitionProperty::unwrap)) + unwrap(this).setDefinition(`value`.let(PolicyDefinitionProperty.Companion::unwrap)) } /** @@ -145,7 +145,7 @@ public open class CfnPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -227,7 +227,7 @@ public open class CfnPolicy( * */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnPolicy( * */ override fun definition(definition: PolicyDefinitionProperty) { - cdkBuilder.definition(definition.let(PolicyDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(PolicyDefinitionProperty.Companion::unwrap)) } /** @@ -545,7 +545,7 @@ public open class CfnPolicy( * An static policy doesn't use a template or allow placeholders for entities. */ override fun staticValue(staticValue: IResolvable) { - cdkBuilder.staticValue(staticValue.let(IResolvable::unwrap)) + cdkBuilder.staticValue(staticValue.let(IResolvable.Companion::unwrap)) } /** @@ -553,7 +553,7 @@ public open class CfnPolicy( * An static policy doesn't use a template or allow placeholders for entities. */ override fun staticValue(staticValue: StaticPolicyDefinitionProperty) { - cdkBuilder.staticValue(staticValue.let(StaticPolicyDefinitionProperty::unwrap)) + cdkBuilder.staticValue(staticValue.let(StaticPolicyDefinitionProperty.Companion::unwrap)) } /** @@ -574,7 +574,7 @@ public open class CfnPolicy( * the instantiated policy. */ override fun templateLinked(templateLinked: IResolvable) { - cdkBuilder.templateLinked(templateLinked.let(IResolvable::unwrap)) + cdkBuilder.templateLinked(templateLinked.let(IResolvable.Companion::unwrap)) } /** @@ -586,7 +586,7 @@ public open class CfnPolicy( * the instantiated policy. */ override fun templateLinked(templateLinked: TemplateLinkedPolicyDefinitionProperty) { - cdkBuilder.templateLinked(templateLinked.let(TemplateLinkedPolicyDefinitionProperty::unwrap)) + cdkBuilder.templateLinked(templateLinked.let(TemplateLinkedPolicyDefinitionProperty.Companion::unwrap)) } /** @@ -901,7 +901,7 @@ public open class CfnPolicy( * policy template when it evaluates an authorization request. */ override fun principal(principal: IResolvable) { - cdkBuilder.principal(principal.let(IResolvable::unwrap)) + cdkBuilder.principal(principal.let(IResolvable.Companion::unwrap)) } /** @@ -910,7 +910,7 @@ public open class CfnPolicy( * policy template when it evaluates an authorization request. */ override fun principal(principal: EntityIdentifierProperty) { - cdkBuilder.principal(principal.let(EntityIdentifierProperty::unwrap)) + cdkBuilder.principal(principal.let(EntityIdentifierProperty.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public open class CfnPolicy( * policy template when it evaluates an authorization request. */ override fun resource(resource: IResolvable) { - cdkBuilder.resource(resource.let(IResolvable::unwrap)) + cdkBuilder.resource(resource.let(IResolvable.Companion::unwrap)) } /** @@ -938,7 +938,7 @@ public open class CfnPolicy( * policy template when it evaluates an authorization request. */ override fun resource(resource: EntityIdentifierProperty) { - cdkBuilder.resource(resource.let(EntityIdentifierProperty::unwrap)) + cdkBuilder.resource(resource.let(EntityIdentifierProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyProps.kt index a8a64f2fcc..6f4ed76796 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyProps.kt @@ -109,7 +109,7 @@ public interface CfnPolicyProps { * The definition structure must include either a `Static` or a `TemplateLinked` element. */ override fun definition(definition: IResolvable) { - cdkBuilder.definition(definition.let(IResolvable::unwrap)) + cdkBuilder.definition(definition.let(IResolvable.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public interface CfnPolicyProps { * The definition structure must include either a `Static` or a `TemplateLinked` element. */ override fun definition(definition: CfnPolicy.PolicyDefinitionProperty) { - cdkBuilder.definition(definition.let(CfnPolicy.PolicyDefinitionProperty::unwrap)) + cdkBuilder.definition(definition.let(CfnPolicy.PolicyDefinitionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStore.kt index e893b65f87..b1b5374653 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStore.kt @@ -50,8 +50,8 @@ public open class CfnPolicyStore( id: String, props: CfnPolicyStoreProps, ) : - this(software.amazon.awscdk.services.verifiedpermissions.CfnPolicyStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyStoreProps::unwrap)) + this(software.amazon.awscdk.services.verifiedpermissions.CfnPolicyStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyStoreProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnPolicyStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -103,14 +103,14 @@ public open class CfnPolicyStore( * Creates or updates the policy schema in a policy store. */ public open fun schema(`value`: IResolvable) { - unwrap(this).setSchema(`value`.let(IResolvable::unwrap)) + unwrap(this).setSchema(`value`.let(IResolvable.Companion::unwrap)) } /** * Creates or updates the policy schema in a policy store. */ public open fun schema(`value`: SchemaDefinitionProperty) { - unwrap(this).setSchema(`value`.let(SchemaDefinitionProperty::unwrap)) + unwrap(this).setSchema(`value`.let(SchemaDefinitionProperty.Companion::unwrap)) } /** @@ -130,14 +130,14 @@ public open class CfnPolicyStore( * Specifies the validation setting for this policy store. */ public open fun validationSettings(`value`: IResolvable) { - unwrap(this).setValidationSettings(`value`.let(IResolvable::unwrap)) + unwrap(this).setValidationSettings(`value`.let(IResolvable.Companion::unwrap)) } /** * Specifies the validation setting for this policy store. */ public open fun validationSettings(`value`: ValidationSettingsProperty) { - unwrap(this).setValidationSettings(`value`.let(ValidationSettingsProperty::unwrap)) + unwrap(this).setValidationSettings(`value`.let(ValidationSettingsProperty.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public open class CfnPolicyStore( * @param schema Creates or updates the policy schema in a policy store. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -314,7 +314,7 @@ public open class CfnPolicyStore( * @param schema Creates or updates the policy schema in a policy store. */ override fun schema(schema: SchemaDefinitionProperty) { - cdkBuilder.schema(schema.let(SchemaDefinitionProperty::unwrap)) + cdkBuilder.schema(schema.let(SchemaDefinitionProperty.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnPolicyStore( * @param validationSettings Specifies the validation setting for this policy store. */ override fun validationSettings(validationSettings: IResolvable) { - cdkBuilder.validationSettings(validationSettings.let(IResolvable::unwrap)) + cdkBuilder.validationSettings(validationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -374,7 +374,7 @@ public open class CfnPolicyStore( * @param validationSettings Specifies the validation setting for this policy store. */ override fun validationSettings(validationSettings: ValidationSettingsProperty) { - cdkBuilder.validationSettings(validationSettings.let(ValidationSettingsProperty::unwrap)) + cdkBuilder.validationSettings(validationSettings.let(ValidationSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStoreProps.kt index 0a05d75be9..57c1a8661f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyStoreProps.kt @@ -183,7 +183,7 @@ public interface CfnPolicyStoreProps { * If you later update a policy, then it is evaluated against the new schema at that time. */ override fun schema(schema: IResolvable) { - cdkBuilder.schema(schema.let(IResolvable::unwrap)) + cdkBuilder.schema(schema.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnPolicyStoreProps { * If you later update a policy, then it is evaluated against the new schema at that time. */ override fun schema(schema: CfnPolicyStore.SchemaDefinitionProperty) { - cdkBuilder.schema(schema.let(CfnPolicyStore.SchemaDefinitionProperty::unwrap)) + cdkBuilder.schema(schema.let(CfnPolicyStore.SchemaDefinitionProperty.Companion::unwrap)) } /** @@ -223,7 +223,7 @@ public interface CfnPolicyStoreProps { * again to turn validation back on. */ override fun validationSettings(validationSettings: IResolvable) { - cdkBuilder.validationSettings(validationSettings.let(IResolvable::unwrap)) + cdkBuilder.validationSettings(validationSettings.let(IResolvable.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public interface CfnPolicyStoreProps { * again to turn validation back on. */ override fun validationSettings(validationSettings: CfnPolicyStore.ValidationSettingsProperty) { - cdkBuilder.validationSettings(validationSettings.let(CfnPolicyStore.ValidationSettingsProperty::unwrap)) + cdkBuilder.validationSettings(validationSettings.let(CfnPolicyStore.ValidationSettingsProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyTemplate.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyTemplate.kt index e7c14757c2..bc89b04a72 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyTemplate.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/verifiedpermissions/CfnPolicyTemplate.kt @@ -46,8 +46,8 @@ public open class CfnPolicyTemplate( id: String, props: CfnPolicyTemplateProps, ) : - this(software.amazon.awscdk.services.verifiedpermissions.CfnPolicyTemplate(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPolicyTemplateProps::unwrap)) + this(software.amazon.awscdk.services.verifiedpermissions.CfnPolicyTemplate(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPolicyTemplateProps.Companion::unwrap)) ) public constructor( @@ -80,7 +80,7 @@ public open class CfnPolicyTemplate( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomain.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomain.kt index 91bac4f922..b8071dfa45 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomain.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomain.kt @@ -56,8 +56,8 @@ public open class CfnDomain( id: String, props: CfnDomainProps, ) : - this(software.amazon.awscdk.services.voiceid.CfnDomain(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnDomainProps::unwrap)) + this(software.amazon.awscdk.services.voiceid.CfnDomain(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnDomainProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnDomain( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnDomain( * use to encrypt your data. */ public open fun serverSideEncryptionConfiguration(`value`: IResolvable) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnDomain( */ public open fun serverSideEncryptionConfiguration(`value`: ServerSideEncryptionConfigurationProperty) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -154,7 +154,7 @@ public open class CfnDomain( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnDomain( * the KMS key identifier you want Voice ID to use to encrypt your data. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -283,7 +283,7 @@ public open class CfnDomain( */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnDomain( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -364,7 +364,7 @@ public open class CfnDomain( /** * The identifier of the KMS key to use to encrypt data stored by Voice ID. * - * Voice ID doesn't support asymmetric customer managed keys . + * Voice ID doesn't support asymmetric customer managed keys. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-voiceid-domain-serversideencryptionconfiguration.html#cfn-voiceid-domain-serversideencryptionconfiguration-kmskeyid) */ @@ -377,7 +377,7 @@ public open class CfnDomain( public interface Builder { /** * @param kmsKeyId The identifier of the KMS key to use to encrypt data stored by Voice ID. - * Voice ID doesn't support asymmetric customer managed keys . + * Voice ID doesn't support asymmetric customer managed keys. */ public fun kmsKeyId(kmsKeyId: String) } @@ -390,7 +390,7 @@ public open class CfnDomain( /** * @param kmsKeyId The identifier of the KMS key to use to encrypt data stored by Voice ID. - * Voice ID doesn't support asymmetric customer managed keys . + * Voice ID doesn't support asymmetric customer managed keys. */ override fun kmsKeyId(kmsKeyId: String) { cdkBuilder.kmsKeyId(kmsKeyId) @@ -407,7 +407,7 @@ public open class CfnDomain( /** * The identifier of the KMS key to use to encrypt data stored by Voice ID. * - * Voice ID doesn't support asymmetric customer managed keys . + * Voice ID doesn't support asymmetric customer managed keys. * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-voiceid-domain-serversideencryptionconfiguration.html#cfn-voiceid-domain-serversideencryptionconfiguration-kmskeyid) */ diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomainProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomainProps.kt index 9127550e0a..b25d3deb3d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomainProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/voiceid/CfnDomainProps.kt @@ -139,7 +139,7 @@ public interface CfnDomainProps { * the KMS key identifier you want Voice ID to use to encrypt your data. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -148,7 +148,7 @@ public interface CfnDomainProps { */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: CfnDomain.ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnDomain.ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnDomain.ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -166,7 +166,7 @@ public interface CfnDomainProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscription.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscription.kt index a7d9666ba3..aab8b41f1f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscription.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscription.kt @@ -53,8 +53,8 @@ public open class CfnAccessLogSubscription( id: String, props: CfnAccessLogSubscriptionProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnAccessLogSubscription(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAccessLogSubscriptionProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnAccessLogSubscription(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAccessLogSubscriptionProps.Companion::unwrap)) ) public constructor( @@ -102,7 +102,7 @@ public open class CfnAccessLogSubscription( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -132,7 +132,7 @@ public open class CfnAccessLogSubscription( * The tags for the access log subscription. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public open class CfnAccessLogSubscription( * @param tags The tags for the access log subscription. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscriptionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscriptionProps.kt index 86a58e3e21..86527c952b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscriptionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAccessLogSubscriptionProps.kt @@ -113,7 +113,7 @@ public interface CfnAccessLogSubscriptionProps { * @param tags The tags for the access log subscription. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAuthPolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAuthPolicy.kt index 2c818779e2..f172af979e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAuthPolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnAuthPolicy.kt @@ -43,8 +43,8 @@ public open class CfnAuthPolicy( id: String, props: CfnAuthPolicyProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnAuthPolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAuthPolicyProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnAuthPolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAuthPolicyProps.Companion::unwrap)) ) public constructor( @@ -70,7 +70,7 @@ public open class CfnAuthPolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListener.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListener.kt index 350cffa9a7..d0ac098e4a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListener.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListener.kt @@ -70,8 +70,8 @@ public open class CfnListener( id: String, props: CfnListenerProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnListener(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnListenerProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnListener(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnListenerProps.Companion::unwrap)) ) public constructor( @@ -110,14 +110,14 @@ public open class CfnListener( * The action for the default rule. */ public open fun defaultAction(`value`: IResolvable) { - unwrap(this).setDefaultAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultAction(`value`.let(IResolvable.Companion::unwrap)) } /** * The action for the default rule. */ public open fun defaultAction(`value`: DefaultActionProperty) { - unwrap(this).setDefaultAction(`value`.let(DefaultActionProperty::unwrap)) + unwrap(this).setDefaultAction(`value`.let(DefaultActionProperty.Companion::unwrap)) } /** @@ -134,7 +134,7 @@ public open class CfnListener( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -200,7 +200,7 @@ public open class CfnListener( * The tags for the listener. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnListener( * @param defaultAction The action for the default rule. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -332,7 +332,7 @@ public open class CfnListener( * @param defaultAction The action for the default rule. */ override fun defaultAction(defaultAction: DefaultActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(DefaultActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(DefaultActionProperty.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnListener( * @param tags The tags for the listener. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -536,14 +536,14 @@ public open class CfnListener( * @param fixedResponse Describes an action that returns a custom HTTP response. */ override fun fixedResponse(fixedResponse: IResolvable) { - cdkBuilder.fixedResponse(fixedResponse.let(IResolvable::unwrap)) + cdkBuilder.fixedResponse(fixedResponse.let(IResolvable.Companion::unwrap)) } /** * @param fixedResponse Describes an action that returns a custom HTTP response. */ override fun fixedResponse(fixedResponse: FixedResponseProperty) { - cdkBuilder.fixedResponse(fixedResponse.let(FixedResponseProperty::unwrap)) + cdkBuilder.fixedResponse(fixedResponse.let(FixedResponseProperty.Companion::unwrap)) } /** @@ -559,7 +559,7 @@ public open class CfnListener( * You can use forward actions to route requests to one or more target groups. */ override fun forward(forward: IResolvable) { - cdkBuilder.forward(forward.let(IResolvable::unwrap)) + cdkBuilder.forward(forward.let(IResolvable.Companion::unwrap)) } /** @@ -567,7 +567,7 @@ public open class CfnListener( * You can use forward actions to route requests to one or more target groups. */ override fun forward(forward: ForwardProperty) { - cdkBuilder.forward(forward.let(ForwardProperty::unwrap)) + cdkBuilder.forward(forward.let(ForwardProperty.Companion::unwrap)) } /** @@ -804,7 +804,7 @@ public open class CfnListener( * need to set the weight; 100% of the traffic goes to that target group. */ override fun targetGroups(targetGroups: IResolvable) { - cdkBuilder.targetGroups(targetGroups.let(IResolvable::unwrap)) + cdkBuilder.targetGroups(targetGroups.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListenerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListenerProps.kt index 4a922f54e3..30071e56e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListenerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnListenerProps.kt @@ -177,7 +177,7 @@ public interface CfnListenerProps { * Each listener has a default rule. The default rule is used if no other rules match. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public interface CfnListenerProps { * Each listener has a default rule. The default rule is used if no other rules match. */ override fun defaultAction(defaultAction: CfnListener.DefaultActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(CfnListener.DefaultActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(CfnListener.DefaultActionProperty.Companion::unwrap)) } /** @@ -237,7 +237,7 @@ public interface CfnListenerProps { * @param tags The tags for the listener. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnResourcePolicy.kt index cbc869323d..a43e79319a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnResourcePolicy.kt @@ -42,8 +42,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -59,7 +59,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRule.kt index 0fda0b1a43..054c2d2ae1 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRule.kt @@ -95,8 +95,8 @@ public open class CfnRule( id: String, props: CfnRuleProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleProps.Companion::unwrap)) ) public constructor( @@ -115,14 +115,14 @@ public open class CfnRule( * Describes the action for a rule. */ public open fun action(`value`: IResolvable) { - unwrap(this).setAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setAction(`value`.let(IResolvable.Companion::unwrap)) } /** * Describes the action for a rule. */ public open fun action(`value`: ActionProperty) { - unwrap(this).setAction(`value`.let(ActionProperty::unwrap)) + unwrap(this).setAction(`value`.let(ActionProperty.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -173,14 +173,14 @@ public open class CfnRule( * The rule match. */ public open fun match(`value`: IResolvable) { - unwrap(this).setMatch(`value`.let(IResolvable::unwrap)) + unwrap(this).setMatch(`value`.let(IResolvable.Companion::unwrap)) } /** * The rule match. */ public open fun match(`value`: MatchProperty) { - unwrap(this).setMatch(`value`.let(MatchProperty::unwrap)) + unwrap(this).setMatch(`value`.let(MatchProperty.Companion::unwrap)) } /** @@ -242,7 +242,7 @@ public open class CfnRule( * The tags for the rule. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -379,7 +379,7 @@ public open class CfnRule( * @param action Describes the action for a rule. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -389,7 +389,7 @@ public open class CfnRule( * @param action Describes the action for a rule. */ override fun action(action: ActionProperty) { - cdkBuilder.action(action.let(ActionProperty::unwrap)) + cdkBuilder.action(action.let(ActionProperty.Companion::unwrap)) } /** @@ -420,7 +420,7 @@ public open class CfnRule( * @param match The rule match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** @@ -430,7 +430,7 @@ public open class CfnRule( * @param match The rule match. */ override fun match(match: MatchProperty) { - cdkBuilder.match(match.let(MatchProperty::unwrap)) + cdkBuilder.match(match.let(MatchProperty.Companion::unwrap)) } /** @@ -489,7 +489,7 @@ public open class CfnRule( * @param tags The tags for the rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -623,7 +623,7 @@ public open class CfnRule( * The rule returns a custom HTTP response. */ override fun fixedResponse(fixedResponse: IResolvable) { - cdkBuilder.fixedResponse(fixedResponse.let(IResolvable::unwrap)) + cdkBuilder.fixedResponse(fixedResponse.let(IResolvable.Companion::unwrap)) } /** @@ -631,7 +631,7 @@ public open class CfnRule( * The rule returns a custom HTTP response. */ override fun fixedResponse(fixedResponse: FixedResponseProperty) { - cdkBuilder.fixedResponse(fixedResponse.let(FixedResponseProperty::unwrap)) + cdkBuilder.fixedResponse(fixedResponse.let(FixedResponseProperty.Companion::unwrap)) } /** @@ -648,7 +648,7 @@ public open class CfnRule( * Traffic that matches the rule is forwarded to the specified target groups. */ override fun forward(forward: IResolvable) { - cdkBuilder.forward(forward.let(IResolvable::unwrap)) + cdkBuilder.forward(forward.let(IResolvable.Companion::unwrap)) } /** @@ -656,7 +656,7 @@ public open class CfnRule( * Traffic that matches the rule is forwarded to the specified target groups. */ override fun forward(forward: ForwardProperty) { - cdkBuilder.forward(forward.let(ForwardProperty::unwrap)) + cdkBuilder.forward(forward.let(ForwardProperty.Companion::unwrap)) } /** @@ -892,7 +892,7 @@ public open class CfnRule( * need to set the weight; 100% of the traffic goes to that target group. */ override fun targetGroups(targetGroups: IResolvable) { - cdkBuilder.targetGroups(targetGroups.let(IResolvable::unwrap)) + cdkBuilder.targetGroups(targetGroups.let(IResolvable.Companion::unwrap)) } /** @@ -1068,21 +1068,21 @@ public open class CfnRule( * @param caseSensitive Indicates whether the match is case sensitive. */ override fun caseSensitive(caseSensitive: IResolvable) { - cdkBuilder.caseSensitive(caseSensitive.let(IResolvable::unwrap)) + cdkBuilder.caseSensitive(caseSensitive.let(IResolvable.Companion::unwrap)) } /** * @param match The header match type. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The header match type. */ override fun match(match: HeaderMatchTypeProperty) { - cdkBuilder.match(match.let(HeaderMatchTypeProperty::unwrap)) + cdkBuilder.match(match.let(HeaderMatchTypeProperty.Companion::unwrap)) } /** @@ -1408,7 +1408,7 @@ public open class CfnRule( * action. */ override fun headerMatches(headerMatches: IResolvable) { - cdkBuilder.headerMatches(headerMatches.let(IResolvable::unwrap)) + cdkBuilder.headerMatches(headerMatches.let(IResolvable.Companion::unwrap)) } /** @@ -1439,14 +1439,14 @@ public open class CfnRule( * @param pathMatch The path match. */ override fun pathMatch(pathMatch: IResolvable) { - cdkBuilder.pathMatch(pathMatch.let(IResolvable::unwrap)) + cdkBuilder.pathMatch(pathMatch.let(IResolvable.Companion::unwrap)) } /** * @param pathMatch The path match. */ override fun pathMatch(pathMatch: PathMatchProperty) { - cdkBuilder.pathMatch(pathMatch.let(PathMatchProperty::unwrap)) + cdkBuilder.pathMatch(pathMatch.let(PathMatchProperty.Companion::unwrap)) } /** @@ -1583,14 +1583,14 @@ public open class CfnRule( * @param httpMatch The HTTP criteria that a rule must match. */ override fun httpMatch(httpMatch: IResolvable) { - cdkBuilder.httpMatch(httpMatch.let(IResolvable::unwrap)) + cdkBuilder.httpMatch(httpMatch.let(IResolvable.Companion::unwrap)) } /** * @param httpMatch The HTTP criteria that a rule must match. */ override fun httpMatch(httpMatch: HttpMatchProperty) { - cdkBuilder.httpMatch(httpMatch.let(HttpMatchProperty::unwrap)) + cdkBuilder.httpMatch(httpMatch.let(HttpMatchProperty.Companion::unwrap)) } /** @@ -1719,21 +1719,21 @@ public open class CfnRule( * @param caseSensitive Indicates whether the match is case sensitive. */ override fun caseSensitive(caseSensitive: IResolvable) { - cdkBuilder.caseSensitive(caseSensitive.let(IResolvable::unwrap)) + cdkBuilder.caseSensitive(caseSensitive.let(IResolvable.Companion::unwrap)) } /** * @param match The type of path match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The type of path match. */ override fun match(match: PathMatchTypeProperty) { - cdkBuilder.match(match.let(PathMatchTypeProperty::unwrap)) + cdkBuilder.match(match.let(PathMatchTypeProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRuleProps.kt index fba094782c..fee9c77b61 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnRuleProps.kt @@ -217,14 +217,14 @@ public interface CfnRuleProps { * @param action Describes the action for a rule. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** * @param action Describes the action for a rule. */ override fun action(action: CfnRule.ActionProperty) { - cdkBuilder.action(action.let(CfnRule.ActionProperty::unwrap)) + cdkBuilder.action(action.let(CfnRule.ActionProperty.Companion::unwrap)) } /** @@ -246,14 +246,14 @@ public interface CfnRuleProps { * @param match The rule match. */ override fun match(match: IResolvable) { - cdkBuilder.match(match.let(IResolvable::unwrap)) + cdkBuilder.match(match.let(IResolvable.Companion::unwrap)) } /** * @param match The rule match. */ override fun match(match: CfnRule.MatchProperty) { - cdkBuilder.match(match.let(CfnRule.MatchProperty::unwrap)) + cdkBuilder.match(match.let(CfnRule.MatchProperty.Companion::unwrap)) } /** @@ -296,7 +296,7 @@ public interface CfnRuleProps { * @param tags The tags for the rule. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnService.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnService.kt index dfe015e3b2..a7d9be1acf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnService.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnService.kt @@ -58,7 +58,7 @@ public open class CfnService( cdkObject: software.amazon.awscdk.services.vpclattice.CfnService, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.vpclattice.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.vpclattice.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -67,8 +67,8 @@ public open class CfnService( id: String, props: CfnServiceProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnService(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnService(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceProps.Companion::unwrap)) ) public constructor( @@ -158,14 +158,14 @@ public open class CfnService( * The DNS information of the service. */ public open fun dnsEntry(`value`: IResolvable) { - unwrap(this).setDnsEntry(`value`.let(IResolvable::unwrap)) + unwrap(this).setDnsEntry(`value`.let(IResolvable.Companion::unwrap)) } /** * The DNS information of the service. */ public open fun dnsEntry(`value`: DnsEntryProperty) { - unwrap(this).setDnsEntry(`value`.let(DnsEntryProperty::unwrap)) + unwrap(this).setDnsEntry(`value`.let(DnsEntryProperty.Companion::unwrap)) } /** @@ -182,7 +182,7 @@ public open class CfnService( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -212,7 +212,7 @@ public open class CfnService( * The tags for the service. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -362,7 +362,7 @@ public open class CfnService( * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: IResolvable) { - cdkBuilder.dnsEntry(dnsEntry.let(IResolvable::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(IResolvable.Companion::unwrap)) } /** @@ -372,7 +372,7 @@ public open class CfnService( * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: DnsEntryProperty) { - cdkBuilder.dnsEntry(dnsEntry.let(DnsEntryProperty::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(DnsEntryProperty.Companion::unwrap)) } /** @@ -409,7 +409,7 @@ public open class CfnService( * @param tags The tags for the service. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetwork.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetwork.kt index 6f02b5f97c..fce3de9fdd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetwork.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetwork.kt @@ -48,7 +48,7 @@ public open class CfnServiceNetwork( cdkObject: software.amazon.awscdk.services.vpclattice.CfnServiceNetwork, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.vpclattice.CfnServiceNetwork(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.vpclattice.CfnServiceNetwork(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -57,8 +57,8 @@ public open class CfnServiceNetwork( id: String, props: CfnServiceNetworkProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnServiceNetwork(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceNetworkProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnServiceNetwork(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceNetworkProps.Companion::unwrap)) ) public constructor( @@ -106,7 +106,7 @@ public open class CfnServiceNetwork( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -136,7 +136,7 @@ public open class CfnServiceNetwork( * The tags for the service network. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -240,7 +240,7 @@ public open class CfnServiceNetwork( * @param tags The tags for the service network. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkProps.kt index 1614a242fc..b65d8153cd 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkProps.kt @@ -130,7 +130,7 @@ public interface CfnServiceNetworkProps { * @param tags The tags for the service network. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociation.kt index d8ab7b8dbc..cd6b6586fe 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociation.kt @@ -64,7 +64,7 @@ public open class CfnServiceNetworkServiceAssociation( cdkObject: software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociation, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -73,8 +73,8 @@ public open class CfnServiceNetworkServiceAssociation( id: String, props: CfnServiceNetworkServiceAssociationProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceNetworkServiceAssociationProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceNetworkServiceAssociationProps.Companion::unwrap)) ) public constructor( @@ -153,14 +153,14 @@ public open class CfnServiceNetworkServiceAssociation( * The DNS information of the service. */ public open fun dnsEntry(`value`: IResolvable) { - unwrap(this).setDnsEntry(`value`.let(IResolvable::unwrap)) + unwrap(this).setDnsEntry(`value`.let(IResolvable.Companion::unwrap)) } /** * The DNS information of the service. */ public open fun dnsEntry(`value`: DnsEntryProperty) { - unwrap(this).setDnsEntry(`value`.let(DnsEntryProperty::unwrap)) + unwrap(this).setDnsEntry(`value`.let(DnsEntryProperty.Companion::unwrap)) } /** @@ -177,7 +177,7 @@ public open class CfnServiceNetworkServiceAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -219,7 +219,7 @@ public open class CfnServiceNetworkServiceAssociation( * The tags for the association. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnServiceNetworkServiceAssociation( * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: IResolvable) { - cdkBuilder.dnsEntry(dnsEntry.let(IResolvable::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(IResolvable.Companion::unwrap)) } /** @@ -320,7 +320,7 @@ public open class CfnServiceNetworkServiceAssociation( * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: DnsEntryProperty) { - cdkBuilder.dnsEntry(dnsEntry.let(DnsEntryProperty::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(DnsEntryProperty.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public open class CfnServiceNetworkServiceAssociation( * @param tags The tags for the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociationProps.kt index 48dabe7524..1792f4d8e3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkServiceAssociationProps.kt @@ -125,14 +125,14 @@ public interface CfnServiceNetworkServiceAssociationProps { * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: IResolvable) { - cdkBuilder.dnsEntry(dnsEntry.let(IResolvable::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(IResolvable.Companion::unwrap)) } /** * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: CfnServiceNetworkServiceAssociation.DnsEntryProperty) { - cdkBuilder.dnsEntry(dnsEntry.let(CfnServiceNetworkServiceAssociation.DnsEntryProperty::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(CfnServiceNetworkServiceAssociation.DnsEntryProperty.Companion::unwrap)) } /** @@ -163,7 +163,7 @@ public interface CfnServiceNetworkServiceAssociationProps { * @param tags The tags for the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociation.kt index 6057a2eca1..38b793ae89 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociation.kt @@ -59,7 +59,7 @@ public open class CfnServiceNetworkVpcAssociation( cdkObject: software.amazon.awscdk.services.vpclattice.CfnServiceNetworkVpcAssociation, ) : CfnResource(cdkObject), IInspectable, ITaggable { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkVpcAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkVpcAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -68,8 +68,8 @@ public open class CfnServiceNetworkVpcAssociation( id: String, props: CfnServiceNetworkVpcAssociationProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkVpcAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnServiceNetworkVpcAssociationProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnServiceNetworkVpcAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnServiceNetworkVpcAssociationProps.Companion::unwrap)) ) public constructor( @@ -125,7 +125,7 @@ public open class CfnServiceNetworkVpcAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -174,7 +174,7 @@ public open class CfnServiceNetworkVpcAssociation( * The tags for the association. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -322,7 +322,7 @@ public open class CfnServiceNetworkVpcAssociation( * @param tags The tags for the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociationProps.kt index 60636c3b9a..69aed3f526 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceNetworkVpcAssociationProps.kt @@ -157,7 +157,7 @@ public interface CfnServiceNetworkVpcAssociationProps { * @param tags The tags for the association. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceProps.kt index a29555b3e5..9127c1311d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnServiceProps.kt @@ -188,14 +188,14 @@ public interface CfnServiceProps { * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: IResolvable) { - cdkBuilder.dnsEntry(dnsEntry.let(IResolvable::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(IResolvable.Companion::unwrap)) } /** * @param dnsEntry The DNS information of the service. */ override fun dnsEntry(dnsEntry: CfnService.DnsEntryProperty) { - cdkBuilder.dnsEntry(dnsEntry.let(CfnService.DnsEntryProperty::unwrap)) + cdkBuilder.dnsEntry(dnsEntry.let(CfnService.DnsEntryProperty.Companion::unwrap)) } /** @@ -222,7 +222,7 @@ public interface CfnServiceProps { * @param tags The tags for the service. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroup.kt index c42db42f92..bac2ae6431 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroup.kt @@ -86,8 +86,8 @@ public open class CfnTargetGroup( id: String, props: CfnTargetGroupProps, ) : - this(software.amazon.awscdk.services.vpclattice.CfnTargetGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTargetGroupProps::unwrap)) + this(software.amazon.awscdk.services.vpclattice.CfnTargetGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTargetGroupProps.Companion::unwrap)) ) public constructor( @@ -134,14 +134,14 @@ public open class CfnTargetGroup( * The target group configuration. */ public open fun config(`value`: IResolvable) { - unwrap(this).setConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * The target group configuration. */ public open fun config(`value`: TargetGroupConfigProperty) { - unwrap(this).setConfig(`value`.let(TargetGroupConfigProperty::unwrap)) + unwrap(this).setConfig(`value`.let(TargetGroupConfigProperty.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnTargetGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnTargetGroup( * The tags for the target group. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnTargetGroup( * Describes a target. */ public open fun targets(`value`: IResolvable) { - unwrap(this).setTargets(`value`.let(IResolvable::unwrap)) + unwrap(this).setTargets(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -340,7 +340,7 @@ public open class CfnTargetGroup( * @param config The target group configuration. */ override fun config(config: IResolvable) { - cdkBuilder.config(config.let(IResolvable::unwrap)) + cdkBuilder.config(config.let(IResolvable.Companion::unwrap)) } /** @@ -350,7 +350,7 @@ public open class CfnTargetGroup( * @param config The target group configuration. */ override fun config(config: TargetGroupConfigProperty) { - cdkBuilder.config(config.let(TargetGroupConfigProperty::unwrap)) + cdkBuilder.config(config.let(TargetGroupConfigProperty.Companion::unwrap)) } /** @@ -387,7 +387,7 @@ public open class CfnTargetGroup( * @param tags The tags for the target group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -405,7 +405,7 @@ public open class CfnTargetGroup( * @param targets Describes a target. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class CfnTargetGroup( * @param enabled Indicates whether health checking is enabled. */ override fun enabled(enabled: IResolvable) { - cdkBuilder.enabled(enabled.let(IResolvable::unwrap)) + cdkBuilder.enabled(enabled.let(IResolvable.Companion::unwrap)) } /** @@ -719,14 +719,14 @@ public open class CfnTargetGroup( * @param matcher The codes to use when checking for a successful response from a target. */ override fun matcher(matcher: IResolvable) { - cdkBuilder.matcher(matcher.let(IResolvable::unwrap)) + cdkBuilder.matcher(matcher.let(IResolvable.Companion::unwrap)) } /** * @param matcher The codes to use when checking for a successful response from a target. */ override fun matcher(matcher: MatcherProperty) { - cdkBuilder.matcher(matcher.let(MatcherProperty::unwrap)) + cdkBuilder.matcher(matcher.let(MatcherProperty.Companion::unwrap)) } /** @@ -1168,7 +1168,7 @@ public open class CfnTargetGroup( * Not supported if the target group type is `LAMBDA` or `ALB` . */ override fun healthCheck(healthCheck: IResolvable) { - cdkBuilder.healthCheck(healthCheck.let(IResolvable::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(IResolvable.Companion::unwrap)) } /** @@ -1176,7 +1176,7 @@ public open class CfnTargetGroup( * Not supported if the target group type is `LAMBDA` or `ALB` . */ override fun healthCheck(healthCheck: HealthCheckConfigProperty) { - cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfigProperty::unwrap)) + cdkBuilder.healthCheck(healthCheck.let(HealthCheckConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroupProps.kt index d42ca1c8e5..b43338fb37 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/vpclattice/CfnTargetGroupProps.kt @@ -175,14 +175,14 @@ public interface CfnTargetGroupProps { * @param config The target group configuration. */ override fun config(config: IResolvable) { - cdkBuilder.config(config.let(IResolvable::unwrap)) + cdkBuilder.config(config.let(IResolvable.Companion::unwrap)) } /** * @param config The target group configuration. */ override fun config(config: CfnTargetGroup.TargetGroupConfigProperty) { - cdkBuilder.config(config.let(CfnTargetGroup.TargetGroupConfigProperty::unwrap)) + cdkBuilder.config(config.let(CfnTargetGroup.TargetGroupConfigProperty.Companion::unwrap)) } /** @@ -209,7 +209,7 @@ public interface CfnTargetGroupProps { * @param tags The tags for the target group. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public interface CfnTargetGroupProps { * @param targets Describes a target. */ override fun targets(targets: IResolvable) { - cdkBuilder.targets(targets.let(IResolvable::unwrap)) + cdkBuilder.targets(targets.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSet.kt index d37750584c..429913adba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSet.kt @@ -67,8 +67,8 @@ public open class CfnByteMatchSet( id: String, props: CfnByteMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.CfnByteMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnByteMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnByteMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnByteMatchSetProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnByteMatchSet( * and other settings. */ public open fun byteMatchTuples(`value`: IResolvable) { - unwrap(this).setByteMatchTuples(`value`.let(IResolvable::unwrap)) + unwrap(this).setByteMatchTuples(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnByteMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnByteMatchSet( * you want AWS WAF to search, and other settings. */ override fun byteMatchTuples(byteMatchTuples: IResolvable) { - cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable.Companion::unwrap)) } /** @@ -672,7 +672,7 @@ public open class CfnByteMatchSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -680,7 +680,7 @@ public open class CfnByteMatchSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSetProps.kt index f4b98b5fac..c163235c8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnByteMatchSetProps.kt @@ -102,7 +102,7 @@ public interface CfnByteMatchSetProps { * you want AWS WAF to search, and other settings. */ override fun byteMatchTuples(byteMatchTuples: IResolvable) { - cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSet.kt index f225a3edff..e97f8fc772 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSet.kt @@ -64,8 +64,8 @@ public open class CfnIPSet( id: String, props: CfnIPSetProps, ) : - this(software.amazon.awscdk.services.waf.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPSetProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnIPSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnIPSet( * requests originate from. */ public open fun ipSetDescriptors(`value`: IResolvable) { - unwrap(this).setIpSetDescriptors(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpSetDescriptors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -207,7 +207,7 @@ public open class CfnIPSet( * CIDR notation) that web requests originate from. */ override fun ipSetDescriptors(ipSetDescriptors: IResolvable) { - cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable::unwrap)) + cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSetProps.kt index dbfa681d20..ad10641d4a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnIPSetProps.kt @@ -104,7 +104,7 @@ public interface CfnIPSetProps { * the CloudFront access logs. */ override fun ipSetDescriptors(ipSetDescriptors: IResolvable) { - cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable::unwrap)) + cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRule.kt index efcec4e3a6..776cc562e9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRule.kt @@ -70,8 +70,8 @@ public open class CfnRule( id: String, props: CfnRuleProps, ) : - this(software.amazon.awscdk.services.waf.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnRule( * `SqlInjectionMatchSet` object that you want to include in a `Rule` . */ public open fun predicates(`value`: IResolvable) { - unwrap(this).setPredicates(`value`.let(IResolvable::unwrap)) + unwrap(this).setPredicates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnRule( * . */ override fun predicates(predicates: IResolvable) { - cdkBuilder.predicates(predicates.let(IResolvable::unwrap)) + cdkBuilder.predicates(predicates.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnRule( * based on all IP addresses *except* `192.0.2.44` . */ override fun negated(negated: IResolvable) { - cdkBuilder.negated(negated.let(IResolvable::unwrap)) + cdkBuilder.negated(negated.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRuleProps.kt index 0218c8b121..533bca4fcc 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnRuleProps.kt @@ -134,7 +134,7 @@ public interface CfnRuleProps { * . */ override fun predicates(predicates: IResolvable) { - cdkBuilder.predicates(predicates.let(IResolvable::unwrap)) + cdkBuilder.predicates(predicates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSet.kt index 5d66f1a3f9..4a34a02e9b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSet.kt @@ -67,8 +67,8 @@ public open class CfnSizeConstraintSet( id: String, props: CfnSizeConstraintSetProps, ) : - this(software.amazon.awscdk.services.waf.CfnSizeConstraintSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSizeConstraintSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnSizeConstraintSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSizeConstraintSetProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnSizeConstraintSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -113,7 +113,7 @@ public open class CfnSizeConstraintSet( * The size constraint and the part of the web request to check. */ public open fun sizeConstraints(`value`: IResolvable) { - unwrap(this).setSizeConstraints(`value`.let(IResolvable::unwrap)) + unwrap(this).setSizeConstraints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -190,7 +190,7 @@ public open class CfnSizeConstraintSet( * @param sizeConstraints The size constraint and the part of the web request to check. */ override fun sizeConstraints(sizeConstraints: IResolvable) { - cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable::unwrap)) + cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public open class CfnSizeConstraintSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class CfnSizeConstraintSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSetProps.kt index 18dc3635e7..00bd68dc77 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSizeConstraintSetProps.kt @@ -93,7 +93,7 @@ public interface CfnSizeConstraintSetProps { * @param sizeConstraints The size constraint and the part of the web request to check. */ override fun sizeConstraints(sizeConstraints: IResolvable) { - cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable::unwrap)) + cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSet.kt index 468e53a446..1f18e575c5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSet.kt @@ -67,8 +67,8 @@ public open class CfnSqlInjectionMatchSet( id: String, props: CfnSqlInjectionMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.CfnSqlInjectionMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSqlInjectionMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnSqlInjectionMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSqlInjectionMatchSetProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnSqlInjectionMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnSqlInjectionMatchSet( * code. */ public open fun sqlInjectionMatchTuples(`value`: IResolvable) { - unwrap(this).setSqlInjectionMatchTuples(`value`.let(IResolvable::unwrap)) + unwrap(this).setSqlInjectionMatchTuples(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public open class CfnSqlInjectionMatchSet( * for snippets of malicious SQL code. */ override fun sqlInjectionMatchTuples(sqlInjectionMatchTuples: IResolvable) { - cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class CfnSqlInjectionMatchSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnSqlInjectionMatchSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSetProps.kt index 084cc85694..533f267ed5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnSqlInjectionMatchSetProps.kt @@ -98,7 +98,7 @@ public interface CfnSqlInjectionMatchSetProps { * for snippets of malicious SQL code. */ override fun sqlInjectionMatchTuples(sqlInjectionMatchTuples: IResolvable) { - cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACL.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACL.kt index e4adb9fbe3..cc692fd7e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACL.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACL.kt @@ -73,8 +73,8 @@ public open class CfnWebACL( id: String, props: CfnWebACLProps, ) : - this(software.amazon.awscdk.services.waf.CfnWebACL(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWebACLProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnWebACL(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebACLProps.Companion::unwrap)) ) public constructor( @@ -98,14 +98,14 @@ public open class CfnWebACL( * The action to perform if none of the `Rules` contained in the `WebACL` match. */ public open fun defaultAction(`value`: IResolvable) { - unwrap(this).setDefaultAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultAction(`value`.let(IResolvable.Companion::unwrap)) } /** * The action to perform if none of the `Rules` contained in the `WebACL` match. */ public open fun defaultAction(`value`: WafActionProperty) { - unwrap(this).setDefaultAction(`value`.let(WafActionProperty::unwrap)) + unwrap(this).setDefaultAction(`value`.let(WafActionProperty.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnWebACL( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnWebACL( * and the ID of the `Rule` . */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnWebACL( * match. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnWebACL( * match. */ override fun defaultAction(defaultAction: WafActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(WafActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(WafActionProperty.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class CfnWebACL( * of the `Rule` , and the ID of the `Rule` . */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -564,7 +564,7 @@ public open class CfnWebACL( * requests, `ActivatedRule|Action` is used instead of `ActivatedRule|OverrideAction` . */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -582,7 +582,7 @@ public open class CfnWebACL( * requests, `ActivatedRule|Action` is used instead of `ActivatedRule|OverrideAction` . */ override fun action(action: WafActionProperty) { - cdkBuilder.action(action.let(WafActionProperty::unwrap)) + cdkBuilder.action(action.let(WafActionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACLProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACLProps.kt index 3743512f7d..13f439cbef 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACLProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnWebACLProps.kt @@ -151,7 +151,7 @@ public interface CfnWebACLProps { * The action is specified by the `WafAction` object. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public interface CfnWebACLProps { * The action is specified by the `WafAction` object. */ override fun defaultAction(defaultAction: CfnWebACL.WafActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(CfnWebACL.WafActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(CfnWebACL.WafActionProperty.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public interface CfnWebACLProps { * of the `Rule` , and the ID of the `Rule` . */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSet.kt index 4353888ef7..b810e82b8e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSet.kt @@ -65,8 +65,8 @@ public open class CfnXssMatchSet( id: String, props: CfnXssMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.CfnXssMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnXssMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.CfnXssMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnXssMatchSetProps.Companion::unwrap)) ) public constructor( @@ -87,7 +87,7 @@ public open class CfnXssMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -111,7 +111,7 @@ public open class CfnXssMatchSet( * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. */ public open fun xssMatchTuples(`value`: IResolvable) { - unwrap(this).setXssMatchTuples(`value`.let(IResolvable::unwrap)) + unwrap(this).setXssMatchTuples(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public open class CfnXssMatchSet( * cross-site scripting attacks. */ override fun xssMatchTuples(xssMatchTuples: IResolvable) { - cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnXssMatchSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public open class CfnXssMatchSet( * header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSetProps.kt index d35077f604..43ffd921ab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/CfnXssMatchSetProps.kt @@ -95,7 +95,7 @@ public interface CfnXssMatchSetProps { * cross-site scripting attacks. */ override fun xssMatchTuples(xssMatchTuples: IResolvable) { - cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSet.kt index 839500ca04..1944e2c048 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSet.kt @@ -67,8 +67,8 @@ public open class CfnByteMatchSet( id: String, props: CfnByteMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnByteMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnByteMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnByteMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnByteMatchSetProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnByteMatchSet( * and other settings. */ public open fun byteMatchTuples(`value`: IResolvable) { - unwrap(this).setByteMatchTuples(`value`.let(IResolvable::unwrap)) + unwrap(this).setByteMatchTuples(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -121,7 +121,7 @@ public open class CfnByteMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -206,7 +206,7 @@ public open class CfnByteMatchSet( * you want AWS WAF to search, and other settings. */ override fun byteMatchTuples(byteMatchTuples: IResolvable) { - cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable.Companion::unwrap)) } /** @@ -671,7 +671,7 @@ public open class CfnByteMatchSet( * specific header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -679,7 +679,7 @@ public open class CfnByteMatchSet( * specific header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSetProps.kt index 3f3586d279..051fd69c2b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnByteMatchSetProps.kt @@ -103,7 +103,7 @@ public interface CfnByteMatchSetProps { * you want AWS WAF to search, and other settings. */ override fun byteMatchTuples(byteMatchTuples: IResolvable) { - cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.byteMatchTuples(byteMatchTuples.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSet.kt index c36a2352ee..433736926f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSet.kt @@ -57,8 +57,8 @@ public open class CfnGeoMatchSet( id: String, props: CfnGeoMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnGeoMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGeoMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnGeoMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGeoMatchSetProps.Companion::unwrap)) ) public constructor( @@ -84,7 +84,7 @@ public open class CfnGeoMatchSet( * search for. */ public open fun geoMatchConstraints(`value`: IResolvable) { - unwrap(this).setGeoMatchConstraints(`value`.let(IResolvable::unwrap)) + unwrap(this).setGeoMatchConstraints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -108,7 +108,7 @@ public open class CfnGeoMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -185,7 +185,7 @@ public open class CfnGeoMatchSet( * country that you want AWS WAF to search for. */ override fun geoMatchConstraints(geoMatchConstraints: IResolvable) { - cdkBuilder.geoMatchConstraints(geoMatchConstraints.let(IResolvable::unwrap)) + cdkBuilder.geoMatchConstraints(geoMatchConstraints.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSetProps.kt index 5aa0f09d97..a4e7dfb02b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnGeoMatchSetProps.kt @@ -89,7 +89,7 @@ public interface CfnGeoMatchSetProps { * country that you want AWS WAF to search for. */ override fun geoMatchConstraints(geoMatchConstraints: IResolvable) { - cdkBuilder.geoMatchConstraints(geoMatchConstraints.let(IResolvable::unwrap)) + cdkBuilder.geoMatchConstraints(geoMatchConstraints.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSet.kt index c8f8a64297..e06f0a913c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSet.kt @@ -64,8 +64,8 @@ public open class CfnIPSet( id: String, props: CfnIPSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPSetProps.Companion::unwrap)) ) public constructor( @@ -86,7 +86,7 @@ public open class CfnIPSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -100,7 +100,7 @@ public open class CfnIPSet( * requests originate from. */ public open fun ipSetDescriptors(`value`: IResolvable) { - unwrap(this).setIpSetDescriptors(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpSetDescriptors(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -191,7 +191,7 @@ public open class CfnIPSet( * CIDR notation) that web requests originate from. */ override fun ipSetDescriptors(ipSetDescriptors: IResolvable) { - cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable::unwrap)) + cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSetProps.kt index 149acd5351..c81d2192e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnIPSetProps.kt @@ -88,7 +88,7 @@ public interface CfnIPSetProps { * CIDR notation) that web requests originate from. */ override fun ipSetDescriptors(ipSetDescriptors: IResolvable) { - cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable::unwrap)) + cdkBuilder.ipSetDescriptors(ipSetDescriptors.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRule.kt index d92e29863b..f7ff1944e8 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRule.kt @@ -79,8 +79,8 @@ public open class CfnRateBasedRule( id: String, props: CfnRateBasedRuleProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnRateBasedRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRateBasedRuleProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnRateBasedRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRateBasedRuleProps.Companion::unwrap)) ) public constructor( @@ -101,7 +101,7 @@ public open class CfnRateBasedRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnRateBasedRule( * `SqlInjectionMatchSet>` object that you want to include in a `RateBasedRule` . */ public open fun matchPredicates(`value`: IResolvable) { - unwrap(this).setMatchPredicates(`value`.let(IResolvable::unwrap)) + unwrap(this).setMatchPredicates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public open class CfnRateBasedRule( * `RateBasedRule` . */ override fun matchPredicates(matchPredicates: IResolvable) { - cdkBuilder.matchPredicates(matchPredicates.let(IResolvable::unwrap)) + cdkBuilder.matchPredicates(matchPredicates.let(IResolvable.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public open class CfnRateBasedRule( * based on all IP addresses *except* `192.0.2.44` . */ override fun negated(negated: IResolvable) { - cdkBuilder.negated(negated.let(IResolvable::unwrap)) + cdkBuilder.negated(negated.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRuleProps.kt index 4f4dbc2694..db038018a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRateBasedRuleProps.kt @@ -158,7 +158,7 @@ public interface CfnRateBasedRuleProps { * `RateBasedRule` . */ override fun matchPredicates(matchPredicates: IResolvable) { - cdkBuilder.matchPredicates(matchPredicates.let(IResolvable::unwrap)) + cdkBuilder.matchPredicates(matchPredicates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRegexPatternSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRegexPatternSet.kt index b8ccb3e062..4bbfa34a8d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRegexPatternSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRegexPatternSet.kt @@ -47,8 +47,8 @@ public open class CfnRegexPatternSet( id: String, props: CfnRegexPatternSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnRegexPatternSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRegexPatternSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnRegexPatternSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRegexPatternSetProps.Companion::unwrap)) ) public constructor( @@ -69,7 +69,7 @@ public open class CfnRegexPatternSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRule.kt index 369d8088a3..7e5c750890 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRule.kt @@ -70,8 +70,8 @@ public open class CfnRule( id: String, props: CfnRuleProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleProps.Companion::unwrap)) ) public constructor( @@ -92,7 +92,7 @@ public open class CfnRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -130,7 +130,7 @@ public open class CfnRule( * `SqlInjectionMatchSet` object that you want to include in a `Rule` . */ public open fun predicates(`value`: IResolvable) { - unwrap(this).setPredicates(`value`.let(IResolvable::unwrap)) + unwrap(this).setPredicates(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -253,7 +253,7 @@ public open class CfnRule( * . */ override fun predicates(predicates: IResolvable) { - cdkBuilder.predicates(predicates.let(IResolvable::unwrap)) + cdkBuilder.predicates(predicates.let(IResolvable.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnRule( * based on all IP addresses *except* `192.0.2.44` . */ override fun negated(negated: IResolvable) { - cdkBuilder.negated(negated.let(IResolvable::unwrap)) + cdkBuilder.negated(negated.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRuleProps.kt index 3c602675b3..d1c2fe93b7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnRuleProps.kt @@ -134,7 +134,7 @@ public interface CfnRuleProps { * . */ override fun predicates(predicates: IResolvable) { - cdkBuilder.predicates(predicates.let(IResolvable::unwrap)) + cdkBuilder.predicates(predicates.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSet.kt index 66eec5e858..f6b63859e2 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSet.kt @@ -68,8 +68,8 @@ public open class CfnSizeConstraintSet( id: String, props: CfnSizeConstraintSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnSizeConstraintSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSizeConstraintSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnSizeConstraintSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSizeConstraintSetProps.Companion::unwrap)) ) public constructor( @@ -90,7 +90,7 @@ public open class CfnSizeConstraintSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -114,7 +114,7 @@ public open class CfnSizeConstraintSet( * The size constraint and the part of the web request to check. */ public open fun sizeConstraints(`value`: IResolvable) { - unwrap(this).setSizeConstraints(`value`.let(IResolvable::unwrap)) + unwrap(this).setSizeConstraints(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -192,7 +192,7 @@ public open class CfnSizeConstraintSet( * @param sizeConstraints The size constraint and the part of the web request to check. */ override fun sizeConstraints(sizeConstraints: IResolvable) { - cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable::unwrap)) + cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable.Companion::unwrap)) } /** @@ -787,7 +787,7 @@ public open class CfnSizeConstraintSet( * specific header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -795,7 +795,7 @@ public open class CfnSizeConstraintSet( * specific header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSetProps.kt index eda7adf8a0..9f9cc255a5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSizeConstraintSetProps.kt @@ -95,7 +95,7 @@ public interface CfnSizeConstraintSetProps { * @param sizeConstraints The size constraint and the part of the web request to check. */ override fun sizeConstraints(sizeConstraints: IResolvable) { - cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable::unwrap)) + cdkBuilder.sizeConstraints(sizeConstraints.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSet.kt index dd3c0f53f2..8cf7812aca 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSet.kt @@ -67,8 +67,8 @@ public open class CfnSqlInjectionMatchSet( id: String, props: CfnSqlInjectionMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnSqlInjectionMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSqlInjectionMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnSqlInjectionMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSqlInjectionMatchSetProps.Companion::unwrap)) ) public constructor( @@ -89,7 +89,7 @@ public open class CfnSqlInjectionMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnSqlInjectionMatchSet( * code. */ public open fun sqlInjectionMatchTuples(`value`: IResolvable) { - unwrap(this).setSqlInjectionMatchTuples(`value`.let(IResolvable::unwrap)) + unwrap(this).setSqlInjectionMatchTuples(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +205,7 @@ public open class CfnSqlInjectionMatchSet( * for snippets of malicious SQL code. */ override fun sqlInjectionMatchTuples(sqlInjectionMatchTuples: IResolvable) { - cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable.Companion::unwrap)) } /** @@ -696,7 +696,7 @@ public open class CfnSqlInjectionMatchSet( * specific header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -704,7 +704,7 @@ public open class CfnSqlInjectionMatchSet( * specific header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSetProps.kt index 11cfd9d91e..34905c36c6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnSqlInjectionMatchSetProps.kt @@ -99,7 +99,7 @@ public interface CfnSqlInjectionMatchSetProps { * for snippets of malicious SQL code. */ override fun sqlInjectionMatchTuples(sqlInjectionMatchTuples: IResolvable) { - cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.sqlInjectionMatchTuples(sqlInjectionMatchTuples.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACL.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACL.kt index e3718366cf..104f09d683 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACL.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACL.kt @@ -73,8 +73,8 @@ public open class CfnWebACL( id: String, props: CfnWebACLProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnWebACL(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWebACLProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnWebACL(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebACLProps.Companion::unwrap)) ) public constructor( @@ -98,14 +98,14 @@ public open class CfnWebACL( * The action to perform if none of the `Rules` contained in the `WebACL` match. */ public open fun defaultAction(`value`: IResolvable) { - unwrap(this).setDefaultAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultAction(`value`.let(IResolvable.Companion::unwrap)) } /** * The action to perform if none of the `Rules` contained in the `WebACL` match. */ public open fun defaultAction(`value`: ActionProperty) { - unwrap(this).setDefaultAction(`value`.let(ActionProperty::unwrap)) + unwrap(this).setDefaultAction(`value`.let(ActionProperty.Companion::unwrap)) } /** @@ -122,7 +122,7 @@ public open class CfnWebACL( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnWebACL( * and the ID of the `Rule` . */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -288,7 +288,7 @@ public open class CfnWebACL( * match. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -301,7 +301,7 @@ public open class CfnWebACL( * match. */ override fun defaultAction(defaultAction: ActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(ActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(ActionProperty.Companion::unwrap)) } /** @@ -354,7 +354,7 @@ public open class CfnWebACL( * of the `Rule` , and the ID of the `Rule` . */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -636,7 +636,7 @@ public open class CfnWebACL( * the rule, such as allow, block, or count the request. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -644,7 +644,7 @@ public open class CfnWebACL( * the rule, such as allow, block, or count the request. */ override fun action(action: ActionProperty) { - cdkBuilder.action(action.let(ActionProperty::unwrap)) + cdkBuilder.action(action.let(ActionProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLAssociation.kt index b28227f427..d6bdf8235c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLAssociation.kt @@ -50,8 +50,8 @@ public open class CfnWebACLAssociation( id: String, props: CfnWebACLAssociationProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnWebACLAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWebACLAssociationProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnWebACLAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebACLAssociationProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnWebACLAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLProps.kt index 03a2fe9a49..16663008f5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnWebACLProps.kt @@ -150,7 +150,7 @@ public interface CfnWebACLProps { * The action is specified by the `WafAction` object. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -159,7 +159,7 @@ public interface CfnWebACLProps { * The action is specified by the `WafAction` object. */ override fun defaultAction(defaultAction: CfnWebACL.ActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(CfnWebACL.ActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(CfnWebACL.ActionProperty.Companion::unwrap)) } /** @@ -196,7 +196,7 @@ public interface CfnWebACLProps { * of the `Rule` , and the ID of the `Rule` . */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSet.kt index 4cc38d709a..eefc2d5f91 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSet.kt @@ -66,8 +66,8 @@ public open class CfnXssMatchSet( id: String, props: CfnXssMatchSetProps, ) : - this(software.amazon.awscdk.services.waf.regional.CfnXssMatchSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnXssMatchSetProps::unwrap)) + this(software.amazon.awscdk.services.waf.regional.CfnXssMatchSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnXssMatchSetProps.Companion::unwrap)) ) public constructor( @@ -88,7 +88,7 @@ public open class CfnXssMatchSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnXssMatchSet( * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. */ public open fun xssMatchTuples(`value`: IResolvable) { - unwrap(this).setXssMatchTuples(`value`.let(IResolvable::unwrap)) + unwrap(this).setXssMatchTuples(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnXssMatchSet( * cross-site scripting attacks. */ override fun xssMatchTuples(xssMatchTuples: IResolvable) { - cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable.Companion::unwrap)) } /** @@ -685,7 +685,7 @@ public open class CfnXssMatchSet( * specified header or a query string. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** @@ -693,7 +693,7 @@ public open class CfnXssMatchSet( * specified header or a query string. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSetProps.kt index 0cabddaea0..eeaebca580 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/waf/regional/CfnXssMatchSetProps.kt @@ -96,7 +96,7 @@ public interface CfnXssMatchSetProps { * cross-site scripting attacks. */ override fun xssMatchTuples(xssMatchTuples: IResolvable) { - cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable::unwrap)) + cdkBuilder.xssMatchTuples(xssMatchTuples.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSet.kt index 2158f99a41..5355e4e118 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSet.kt @@ -58,8 +58,8 @@ public open class CfnIPSet( id: String, props: CfnIPSetProps, ) : - this(software.amazon.awscdk.services.wafv2.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIPSetProps::unwrap)) + this(software.amazon.awscdk.services.wafv2.CfnIPSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIPSetProps.Companion::unwrap)) ) public constructor( @@ -117,7 +117,7 @@ public open class CfnIPSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnIPSet( * Key:value pairs associated with an AWS resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -482,7 +482,7 @@ public open class CfnIPSet( * @param tags Key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSetProps.kt index 60c2160444..1ba4675826 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnIPSetProps.kt @@ -356,7 +356,7 @@ public interface CfnIPSetProps { * AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfiguration.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfiguration.kt index fabe6567ff..f5e8e2449f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfiguration.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfiguration.kt @@ -90,8 +90,8 @@ public open class CfnLoggingConfiguration( id: String, props: CfnLoggingConfigurationProps, ) : - this(software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnLoggingConfigurationProps::unwrap)) + this(software.amazon.awscdk.services.wafv2.CfnLoggingConfiguration(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnLoggingConfigurationProps.Companion::unwrap)) ) public constructor( @@ -116,7 +116,7 @@ public open class CfnLoggingConfiguration( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public open class CfnLoggingConfiguration( * The parts of the request that you want to keep out of the logs. */ public open fun redactedFields(`value`: IResolvable) { - unwrap(this).setRedactedFields(`value`.let(IResolvable::unwrap)) + unwrap(this).setRedactedFields(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -378,7 +378,7 @@ public open class CfnLoggingConfiguration( * @param redactedFields The parts of the request that you want to keep out of the logs. */ override fun redactedFields(redactedFields: IResolvable) { - cdkBuilder.redactedFields(redactedFields.let(IResolvable::unwrap)) + cdkBuilder.redactedFields(redactedFields.let(IResolvable.Companion::unwrap)) } /** @@ -676,7 +676,7 @@ public open class CfnLoggingConfiguration( * This is the action setting that a log record must contain in order to meet the condition. */ override fun actionCondition(actionCondition: IResolvable) { - cdkBuilder.actionCondition(actionCondition.let(IResolvable::unwrap)) + cdkBuilder.actionCondition(actionCondition.let(IResolvable.Companion::unwrap)) } /** @@ -684,7 +684,7 @@ public open class CfnLoggingConfiguration( * This is the action setting that a log record must contain in order to meet the condition. */ override fun actionCondition(actionCondition: ActionConditionProperty) { - cdkBuilder.actionCondition(actionCondition.let(ActionConditionProperty::unwrap)) + cdkBuilder.actionCondition(actionCondition.let(ActionConditionProperty.Companion::unwrap)) } /** @@ -703,7 +703,7 @@ public open class CfnLoggingConfiguration( * prefix identifies the rule group or web ACL context of the rule that added the label. */ override fun labelNameCondition(labelNameCondition: IResolvable) { - cdkBuilder.labelNameCondition(labelNameCondition.let(IResolvable::unwrap)) + cdkBuilder.labelNameCondition(labelNameCondition.let(IResolvable.Companion::unwrap)) } /** @@ -713,7 +713,7 @@ public open class CfnLoggingConfiguration( * prefix identifies the rule group or web ACL context of the rule that added the label. */ override fun labelNameCondition(labelNameCondition: LabelNameConditionProperty) { - cdkBuilder.labelNameCondition(labelNameCondition.let(LabelNameConditionProperty::unwrap)) + cdkBuilder.labelNameCondition(labelNameCondition.let(LabelNameConditionProperty.Companion::unwrap)) } /** @@ -1118,7 +1118,7 @@ public open class CfnLoggingConfiguration( * @param conditions Match conditions for the filter. */ override fun conditions(conditions: IResolvable) { - cdkBuilder.conditions(conditions.let(IResolvable::unwrap)) + cdkBuilder.conditions(conditions.let(IResolvable.Companion::unwrap)) } /** @@ -1279,14 +1279,14 @@ public open class CfnLoggingConfiguration( * @param matchPattern the value to be set. */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** * @param matchPattern the value to be set. */ override fun matchPattern(matchPattern: MatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(MatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(MatchPatternProperty.Companion::unwrap)) } /** @@ -1536,7 +1536,7 @@ public open class CfnLoggingConfiguration( * @param filters The filters that you want to apply to the logs. */ override fun filters(filters: IResolvable) { - cdkBuilder.filters(filters.let(IResolvable::unwrap)) + cdkBuilder.filters(filters.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfigurationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfigurationProps.kt index 7eb81704df..870593e66d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfigurationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnLoggingConfigurationProps.kt @@ -231,7 +231,7 @@ public interface CfnLoggingConfigurationProps { * visibility configuration. */ override fun redactedFields(redactedFields: IResolvable) { - cdkBuilder.redactedFields(redactedFields.let(IResolvable::unwrap)) + cdkBuilder.redactedFields(redactedFields.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSet.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSet.kt index bc99819fa8..3b55a0d001 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSet.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSet.kt @@ -57,8 +57,8 @@ public open class CfnRegexPatternSet( id: String, props: CfnRegexPatternSetProps, ) : - this(software.amazon.awscdk.services.wafv2.CfnRegexPatternSet(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRegexPatternSetProps::unwrap)) + this(software.amazon.awscdk.services.wafv2.CfnRegexPatternSet(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRegexPatternSetProps.Companion::unwrap)) ) public constructor( @@ -96,7 +96,7 @@ public open class CfnRegexPatternSet( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -156,7 +156,7 @@ public open class CfnRegexPatternSet( * Key:value pairs associated with an AWS resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -342,7 +342,7 @@ public open class CfnRegexPatternSet( * @param tags Key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSetProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSetProps.kt index ed5e3b1e11..b1fa30fd29 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSetProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRegexPatternSetProps.kt @@ -212,7 +212,7 @@ public interface CfnRegexPatternSetProps { * AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroup.kt index dc2406245a..fb0e6d8eab 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroup.kt @@ -507,8 +507,8 @@ public open class CfnRuleGroup( id: String, props: CfnRuleGroupProps, ) : - this(software.amazon.awscdk.services.wafv2.CfnRuleGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnRuleGroupProps::unwrap)) + this(software.amazon.awscdk.services.wafv2.CfnRuleGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnRuleGroupProps.Companion::unwrap)) ) public constructor( @@ -551,7 +551,7 @@ public open class CfnRuleGroup( * The labels that one or more rules in this rule group add to matching web requests. */ public open fun availableLabels(`value`: IResolvable) { - unwrap(this).setAvailableLabels(`value`.let(IResolvable::unwrap)) + unwrap(this).setAvailableLabels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -587,7 +587,7 @@ public open class CfnRuleGroup( * The labels that one or more rules in this rule group match against in label match statements. */ public open fun consumedLabels(`value`: IResolvable) { - unwrap(this).setConsumedLabels(`value`.let(IResolvable::unwrap)) + unwrap(this).setConsumedLabels(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -611,7 +611,7 @@ public open class CfnRuleGroup( * A map of custom response keys and content bodies. */ public open fun customResponseBodies(`value`: IResolvable) { - unwrap(this).setCustomResponseBodies(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomResponseBodies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -639,7 +639,7 @@ public open class CfnRuleGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -663,7 +663,7 @@ public open class CfnRuleGroup( * The rule statements used to identify the web requests that you want to allow, block, or count. */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -705,7 +705,7 @@ public open class CfnRuleGroup( * Key:value pairs associated with an AWS resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -722,14 +722,14 @@ public open class CfnRuleGroup( * Defines and enables Amazon CloudWatch metrics and web request sample collection. */ public open fun visibilityConfig(`value`: IResolvable) { - unwrap(this).setVisibilityConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVisibilityConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines and enables Amazon CloudWatch metrics and web request sample collection. */ public open fun visibilityConfig(`value`: VisibilityConfigProperty) { - unwrap(this).setVisibilityConfig(`value`.let(VisibilityConfigProperty::unwrap)) + unwrap(this).setVisibilityConfig(`value`.let(VisibilityConfigProperty.Companion::unwrap)) } /** @@ -1031,7 +1031,7 @@ public open class CfnRuleGroup( * web requests. */ override fun availableLabels(availableLabels: IResolvable) { - cdkBuilder.availableLabels(availableLabels.let(IResolvable::unwrap)) + cdkBuilder.availableLabels(availableLabels.let(IResolvable.Companion::unwrap)) } /** @@ -1090,7 +1090,7 @@ public open class CfnRuleGroup( * label match statements. */ override fun consumedLabels(consumedLabels: IResolvable) { - cdkBuilder.consumedLabels(consumedLabels.let(IResolvable::unwrap)) + cdkBuilder.consumedLabels(consumedLabels.let(IResolvable.Companion::unwrap)) } /** @@ -1140,7 +1140,7 @@ public open class CfnRuleGroup( * @param customResponseBodies A map of custom response keys and content bodies. */ override fun customResponseBodies(customResponseBodies: IResolvable) { - cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable::unwrap)) + cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable.Companion::unwrap)) } /** @@ -1200,7 +1200,7 @@ public open class CfnRuleGroup( * block, or count. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -1268,7 +1268,7 @@ public open class CfnRuleGroup( * @param tags Key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1296,7 +1296,7 @@ public open class CfnRuleGroup( * collection. */ override fun visibilityConfig(visibilityConfig: IResolvable) { - cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1307,7 +1307,7 @@ public open class CfnRuleGroup( * collection. */ override fun visibilityConfig(visibilityConfig: VisibilityConfigProperty) { - cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty.Companion::unwrap)) } /** @@ -1407,14 +1407,14 @@ public open class CfnRuleGroup( * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -1907,7 +1907,7 @@ public open class CfnRuleGroup( * You can use any statements that can be nested. */ override fun statements(statements: IResolvable) { - cdkBuilder.statements(statements.let(IResolvable::unwrap)) + cdkBuilder.statements(statements.let(IResolvable.Companion::unwrap)) } /** @@ -2023,14 +2023,14 @@ public open class CfnRuleGroup( * @param customResponse Custom response. */ override fun customResponse(customResponse: IResolvable) { - cdkBuilder.customResponse(customResponse.let(IResolvable::unwrap)) + cdkBuilder.customResponse(customResponse.let(IResolvable.Companion::unwrap)) } /** * @param customResponse Custom response. */ override fun customResponse(customResponse: CustomResponseProperty) { - cdkBuilder.customResponse(customResponse.let(CustomResponseProperty::unwrap)) + cdkBuilder.customResponse(customResponse.let(CustomResponseProperty.Companion::unwrap)) } /** @@ -2540,14 +2540,14 @@ public open class CfnRuleGroup( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -2638,7 +2638,7 @@ public open class CfnRuleGroup( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -2849,7 +2849,7 @@ public open class CfnRuleGroup( * valid after the client successfully solves a `CAPTCHA` puzzle. */ override fun immunityTimeProperty(immunityTimeProperty: IResolvable) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable.Companion::unwrap)) } /** @@ -2857,7 +2857,7 @@ public open class CfnRuleGroup( * valid after the client successfully solves a `CAPTCHA` puzzle. */ override fun immunityTimeProperty(immunityTimeProperty: ImmunityTimePropertyProperty) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty.Companion::unwrap)) } /** @@ -2966,14 +2966,14 @@ public open class CfnRuleGroup( * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -3083,7 +3083,7 @@ public open class CfnRuleGroup( * valid after the client successfully responds to a challenge. */ override fun immunityTimeProperty(immunityTimeProperty: IResolvable) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable.Companion::unwrap)) } /** @@ -3091,7 +3091,7 @@ public open class CfnRuleGroup( * valid after the client successfully responds to a challenge. */ override fun immunityTimeProperty(immunityTimeProperty: ImmunityTimePropertyProperty) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty.Companion::unwrap)) } /** @@ -3201,14 +3201,14 @@ public open class CfnRuleGroup( * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -3584,7 +3584,7 @@ public open class CfnRuleGroup( * Example JSON: `"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }` */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** @@ -3596,7 +3596,7 @@ public open class CfnRuleGroup( * Example JSON: `"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }` */ override fun matchPattern(matchPattern: CookieMatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(CookieMatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(CookieMatchPatternProperty.Companion::unwrap)) } /** @@ -3777,14 +3777,14 @@ public open class CfnRuleGroup( * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** * @param customRequestHandling Custom request handling. */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -4045,7 +4045,7 @@ public open class CfnRuleGroup( * Developer Guide* . */ override fun insertHeaders(insertHeaders: IResolvable) { - cdkBuilder.insertHeaders(insertHeaders.let(IResolvable::unwrap)) + cdkBuilder.insertHeaders(insertHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -4424,7 +4424,7 @@ public open class CfnRuleGroup( * Developer Guide* . */ override fun responseHeaders(responseHeaders: IResolvable) { - cdkBuilder.responseHeaders(responseHeaders.let(IResolvable::unwrap)) + cdkBuilder.responseHeaders(responseHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -5136,7 +5136,7 @@ public open class CfnRuleGroup( * configuration. */ override fun body(body: IResolvable) { - cdkBuilder.body(body.let(IResolvable::unwrap)) + cdkBuilder.body(body.let(IResolvable.Companion::unwrap)) } /** @@ -5159,7 +5159,7 @@ public open class CfnRuleGroup( * configuration. */ override fun body(body: BodyProperty) { - cdkBuilder.body(body.let(BodyProperty::unwrap)) + cdkBuilder.body(body.let(BodyProperty.Companion::unwrap)) } /** @@ -5196,7 +5196,7 @@ public open class CfnRuleGroup( * matching filters to the cookies that it receives from the underlying host service. */ override fun cookies(cookies: IResolvable) { - cdkBuilder.cookies(cookies.let(IResolvable::unwrap)) + cdkBuilder.cookies(cookies.let(IResolvable.Companion::unwrap)) } /** @@ -5210,7 +5210,7 @@ public open class CfnRuleGroup( * matching filters to the cookies that it receives from the underlying host service. */ override fun cookies(cookies: CookiesProperty) { - cdkBuilder.cookies(cookies.let(CookiesProperty::unwrap)) + cdkBuilder.cookies(cookies.let(CookiesProperty.Companion::unwrap)) } /** @@ -5239,7 +5239,7 @@ public open class CfnRuleGroup( * matching filters to the headers that it receives from the underlying host service. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -5253,7 +5253,7 @@ public open class CfnRuleGroup( * matching filters to the headers that it receives from the underlying host service. */ override fun headers(headers: HeadersProperty) { - cdkBuilder.headers(headers.let(HeadersProperty::unwrap)) + cdkBuilder.headers(headers.let(HeadersProperty.Companion::unwrap)) } /** @@ -5293,7 +5293,7 @@ public open class CfnRuleGroup( * specification, to match with any future requests that have the same TLS configuration. */ override fun ja3Fingerprint(ja3Fingerprint: IResolvable) { - cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(IResolvable::unwrap)) + cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(IResolvable.Companion::unwrap)) } /** @@ -5318,7 +5318,7 @@ public open class CfnRuleGroup( * specification, to match with any future requests that have the same TLS configuration. */ override fun ja3Fingerprint(ja3Fingerprint: JA3FingerprintProperty) { - cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(JA3FingerprintProperty::unwrap)) + cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(JA3FingerprintProperty.Companion::unwrap)) } /** @@ -5367,7 +5367,7 @@ public open class CfnRuleGroup( * configuration. */ override fun jsonBody(jsonBody: IResolvable) { - cdkBuilder.jsonBody(jsonBody.let(IResolvable::unwrap)) + cdkBuilder.jsonBody(jsonBody.let(IResolvable.Companion::unwrap)) } /** @@ -5390,7 +5390,7 @@ public open class CfnRuleGroup( * configuration. */ override fun jsonBody(jsonBody: JsonBodyProperty) { - cdkBuilder.jsonBody(jsonBody.let(JsonBodyProperty::unwrap)) + cdkBuilder.jsonBody(jsonBody.let(JsonBodyProperty.Companion::unwrap)) } /** @@ -6039,7 +6039,7 @@ public open class CfnRuleGroup( * web request at all. */ override fun forwardedIpConfig(forwardedIpConfig: IResolvable) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6052,7 +6052,7 @@ public open class CfnRuleGroup( * web request at all. */ override fun forwardedIpConfig(forwardedIpConfig: ForwardedIPConfigurationProperty) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty.Companion::unwrap)) } /** @@ -6460,7 +6460,7 @@ public open class CfnRuleGroup( * Example JSON: `"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }` */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** @@ -6472,7 +6472,7 @@ public open class CfnRuleGroup( * Example JSON: `"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }` */ override fun matchPattern(matchPattern: HeaderMatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(HeaderMatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(HeaderMatchPatternProperty.Companion::unwrap)) } /** @@ -6983,7 +6983,7 @@ public open class CfnRuleGroup( * web request at all. */ override fun ipSetForwardedIpConfig(ipSetForwardedIpConfig: IResolvable) { - cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IResolvable::unwrap)) + cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -6998,7 +6998,7 @@ public open class CfnRuleGroup( */ override fun ipSetForwardedIpConfig(ipSetForwardedIpConfig: IPSetForwardedIPConfigurationProperty) { - cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IPSetForwardedIPConfigurationProperty::unwrap)) + cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IPSetForwardedIPConfigurationProperty.Companion::unwrap)) } /** @@ -7536,7 +7536,7 @@ public open class CfnRuleGroup( * AWS WAF inspects the results of these pattern matches against the rule inspection criteria. */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** @@ -7544,7 +7544,7 @@ public open class CfnRuleGroup( * AWS WAF inspects the results of these pattern matches against the rule inspection criteria. */ override fun matchPattern(matchPattern: JsonMatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(JsonMatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(JsonMatchPatternProperty.Companion::unwrap)) } /** @@ -8680,7 +8680,7 @@ public open class CfnRuleGroup( * You can use any statement that can be nested. */ override fun statement(statement: IResolvable) { - cdkBuilder.statement(statement.let(IResolvable::unwrap)) + cdkBuilder.statement(statement.let(IResolvable.Companion::unwrap)) } /** @@ -8688,7 +8688,7 @@ public open class CfnRuleGroup( * You can use any statement that can be nested. */ override fun statement(statement: StatementProperty) { - cdkBuilder.statement(statement.let(StatementProperty::unwrap)) + cdkBuilder.statement(statement.let(StatementProperty.Companion::unwrap)) } /** @@ -9185,7 +9185,7 @@ public open class CfnRuleGroup( * You can use any statements that can be nested. */ override fun statements(statements: IResolvable) { - cdkBuilder.statements(statements.let(IResolvable::unwrap)) + cdkBuilder.statements(statements.let(IResolvable.Companion::unwrap)) } /** @@ -9620,7 +9620,7 @@ public open class CfnRuleGroup( * single cookie as your custom key, then each value fully defines an aggregation instance. */ override fun cookie(cookie: IResolvable) { - cdkBuilder.cookie(cookie.let(IResolvable::unwrap)) + cdkBuilder.cookie(cookie.let(IResolvable.Companion::unwrap)) } /** @@ -9629,7 +9629,7 @@ public open class CfnRuleGroup( * single cookie as your custom key, then each value fully defines an aggregation instance. */ override fun cookie(cookie: RateLimitCookieProperty) { - cdkBuilder.cookie(cookie.let(RateLimitCookieProperty::unwrap)) + cdkBuilder.cookie(cookie.let(RateLimitCookieProperty.Companion::unwrap)) } /** @@ -9663,7 +9663,7 @@ public open class CfnRuleGroup( * single header as your custom key, then each value fully defines an aggregation instance. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } /** @@ -9672,7 +9672,7 @@ public open class CfnRuleGroup( * single header as your custom key, then each value fully defines an aggregation instance. */ override fun `header`(`header`: RateLimitHeaderProperty) { - cdkBuilder.`header`(`header`.let(RateLimitHeaderProperty::unwrap)) + cdkBuilder.`header`(`header`.let(RateLimitHeaderProperty.Companion::unwrap)) } /** @@ -9719,7 +9719,7 @@ public open class CfnRuleGroup( * in the *AWS WAF Developer Guide* . */ override fun labelNamespace(labelNamespace: IResolvable) { - cdkBuilder.labelNamespace(labelNamespace.let(IResolvable::unwrap)) + cdkBuilder.labelNamespace(labelNamespace.let(IResolvable.Companion::unwrap)) } /** @@ -9736,7 +9736,7 @@ public open class CfnRuleGroup( * in the *AWS WAF Developer Guide* . */ override fun labelNamespace(labelNamespace: RateLimitLabelNamespaceProperty) { - cdkBuilder.labelNamespace(labelNamespace.let(RateLimitLabelNamespaceProperty::unwrap)) + cdkBuilder.labelNamespace(labelNamespace.let(RateLimitLabelNamespaceProperty.Companion::unwrap)) } /** @@ -9765,7 +9765,7 @@ public open class CfnRuleGroup( * aggregation instance. */ override fun queryArgument(queryArgument: IResolvable) { - cdkBuilder.queryArgument(queryArgument.let(IResolvable::unwrap)) + cdkBuilder.queryArgument(queryArgument.let(IResolvable.Companion::unwrap)) } /** @@ -9775,7 +9775,7 @@ public open class CfnRuleGroup( * aggregation instance. */ override fun queryArgument(queryArgument: RateLimitQueryArgumentProperty) { - cdkBuilder.queryArgument(queryArgument.let(RateLimitQueryArgumentProperty::unwrap)) + cdkBuilder.queryArgument(queryArgument.let(RateLimitQueryArgumentProperty.Companion::unwrap)) } /** @@ -9795,7 +9795,7 @@ public open class CfnRuleGroup( * string as your custom key, then each string fully defines an aggregation instance. */ override fun queryString(queryString: IResolvable) { - cdkBuilder.queryString(queryString.let(IResolvable::unwrap)) + cdkBuilder.queryString(queryString.let(IResolvable.Companion::unwrap)) } /** @@ -9804,7 +9804,7 @@ public open class CfnRuleGroup( * string as your custom key, then each string fully defines an aggregation instance. */ override fun queryString(queryString: RateLimitQueryStringProperty) { - cdkBuilder.queryString(queryString.let(RateLimitQueryStringProperty::unwrap)) + cdkBuilder.queryString(queryString.let(RateLimitQueryStringProperty.Companion::unwrap)) } /** @@ -9823,7 +9823,7 @@ public open class CfnRuleGroup( * path as your custom key, then each URI path fully defines an aggregation instance. */ override fun uriPath(uriPath: IResolvable) { - cdkBuilder.uriPath(uriPath.let(IResolvable::unwrap)) + cdkBuilder.uriPath(uriPath.let(IResolvable.Companion::unwrap)) } /** @@ -9832,7 +9832,7 @@ public open class CfnRuleGroup( * path as your custom key, then each URI path fully defines an aggregation instance. */ override fun uriPath(uriPath: RateLimitUriPathProperty) { - cdkBuilder.uriPath(uriPath.let(RateLimitUriPathProperty::unwrap)) + cdkBuilder.uriPath(uriPath.let(RateLimitUriPathProperty.Companion::unwrap)) } /** @@ -10782,7 +10782,7 @@ public open class CfnRuleGroup( * @param customKeys Specifies the aggregate keys to use in a rate-base rule. */ override fun customKeys(customKeys: IResolvable) { - cdkBuilder.customKeys(customKeys.let(IResolvable::unwrap)) + cdkBuilder.customKeys(customKeys.let(IResolvable.Companion::unwrap)) } /** @@ -10826,7 +10826,7 @@ public open class CfnRuleGroup( * This is required if you specify a forwarded IP in the rule's aggregate key settings. */ override fun forwardedIpConfig(forwardedIpConfig: IResolvable) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -10842,7 +10842,7 @@ public open class CfnRuleGroup( * This is required if you specify a forwarded IP in the rule's aggregate key settings. */ override fun forwardedIpConfig(forwardedIpConfig: ForwardedIPConfigurationProperty) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty.Companion::unwrap)) } /** @@ -10889,7 +10889,7 @@ public open class CfnRuleGroup( * statement. */ override fun scopeDownStatement(scopeDownStatement: IResolvable) { - cdkBuilder.scopeDownStatement(scopeDownStatement.let(IResolvable::unwrap)) + cdkBuilder.scopeDownStatement(scopeDownStatement.let(IResolvable.Companion::unwrap)) } /** @@ -10901,7 +10901,7 @@ public open class CfnRuleGroup( * statement. */ override fun scopeDownStatement(scopeDownStatement: StatementProperty) { - cdkBuilder.scopeDownStatement(scopeDownStatement.let(StatementProperty::unwrap)) + cdkBuilder.scopeDownStatement(scopeDownStatement.let(StatementProperty.Companion::unwrap)) } /** @@ -11171,7 +11171,7 @@ public open class CfnRuleGroup( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -11364,7 +11364,7 @@ public open class CfnRuleGroup( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -11654,7 +11654,7 @@ public open class CfnRuleGroup( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -11829,7 +11829,7 @@ public open class CfnRuleGroup( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -11996,7 +11996,7 @@ public open class CfnRuleGroup( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -12229,14 +12229,14 @@ public open class CfnRuleGroup( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -12262,7 +12262,7 @@ public open class CfnRuleGroup( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -12518,14 +12518,14 @@ public open class CfnRuleGroup( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -12544,7 +12544,7 @@ public open class CfnRuleGroup( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -13645,7 +13645,7 @@ public open class CfnRuleGroup( * Settings at the web ACL level can override the rule action setting. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -13654,7 +13654,7 @@ public open class CfnRuleGroup( * Settings at the web ACL level can override the rule action setting. */ override fun action(action: RuleActionProperty) { - cdkBuilder.action(action.let(RuleActionProperty::unwrap)) + cdkBuilder.action(action.let(RuleActionProperty.Companion::unwrap)) } /** @@ -13673,7 +13673,7 @@ public open class CfnRuleGroup( * web ACL. */ override fun captchaConfig(captchaConfig: IResolvable) { - cdkBuilder.captchaConfig(captchaConfig.let(IResolvable::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -13682,7 +13682,7 @@ public open class CfnRuleGroup( * web ACL. */ override fun captchaConfig(captchaConfig: CaptchaConfigProperty) { - cdkBuilder.captchaConfig(captchaConfig.let(CaptchaConfigProperty::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(CaptchaConfigProperty.Companion::unwrap)) } /** @@ -13701,7 +13701,7 @@ public open class CfnRuleGroup( * web ACL. */ override fun challengeConfig(challengeConfig: IResolvable) { - cdkBuilder.challengeConfig(challengeConfig.let(IResolvable::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -13710,7 +13710,7 @@ public open class CfnRuleGroup( * web ACL. */ override fun challengeConfig(challengeConfig: ChallengeConfigProperty) { - cdkBuilder.challengeConfig(challengeConfig.let(ChallengeConfigProperty::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(ChallengeConfigProperty.Companion::unwrap)) } /** @@ -13764,7 +13764,7 @@ public open class CfnRuleGroup( * For example, `myLabelName` or `nameSpace1:nameSpace2:myLabelName` . */ override fun ruleLabels(ruleLabels: IResolvable) { - cdkBuilder.ruleLabels(ruleLabels.let(IResolvable::unwrap)) + cdkBuilder.ruleLabels(ruleLabels.let(IResolvable.Companion::unwrap)) } /** @@ -13818,7 +13818,7 @@ public open class CfnRuleGroup( * `ByteMatchStatement` or `SizeConstraintStatement` . */ override fun statement(statement: IResolvable) { - cdkBuilder.statement(statement.let(IResolvable::unwrap)) + cdkBuilder.statement(statement.let(IResolvable.Companion::unwrap)) } /** @@ -13826,7 +13826,7 @@ public open class CfnRuleGroup( * `ByteMatchStatement` or `SizeConstraintStatement` . */ override fun statement(statement: StatementProperty) { - cdkBuilder.statement(statement.let(StatementProperty::unwrap)) + cdkBuilder.statement(statement.let(StatementProperty.Companion::unwrap)) } /** @@ -13846,7 +13846,7 @@ public open class CfnRuleGroup( * the metric name. */ override fun visibilityConfig(visibilityConfig: IResolvable) { - cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -13857,7 +13857,7 @@ public open class CfnRuleGroup( * the metric name. */ override fun visibilityConfig(visibilityConfig: VisibilityConfigProperty) { - cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty.Companion::unwrap)) } /** @@ -14366,14 +14366,14 @@ public open class CfnRuleGroup( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -14399,7 +14399,7 @@ public open class CfnRuleGroup( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -14669,14 +14669,14 @@ public open class CfnRuleGroup( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -14713,7 +14713,7 @@ public open class CfnRuleGroup( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -16176,7 +16176,7 @@ public open class CfnRuleGroup( * You provide more than one `Statement` within the `AndStatement` . */ override fun andStatement(andStatement: IResolvable) { - cdkBuilder.andStatement(andStatement.let(IResolvable::unwrap)) + cdkBuilder.andStatement(andStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16185,7 +16185,7 @@ public open class CfnRuleGroup( * You provide more than one `Statement` within the `AndStatement` . */ override fun andStatement(andStatement: AndStatementProperty) { - cdkBuilder.andStatement(andStatement.let(AndStatementProperty::unwrap)) + cdkBuilder.andStatement(andStatement.let(AndStatementProperty.Companion::unwrap)) } /** @@ -16207,7 +16207,7 @@ public open class CfnRuleGroup( * is called a string match statement. */ override fun byteMatchStatement(byteMatchStatement: IResolvable) { - cdkBuilder.byteMatchStatement(byteMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.byteMatchStatement(byteMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16219,7 +16219,7 @@ public open class CfnRuleGroup( * is called a string match statement. */ override fun byteMatchStatement(byteMatchStatement: ByteMatchStatementProperty) { - cdkBuilder.byteMatchStatement(byteMatchStatement.let(ByteMatchStatementProperty::unwrap)) + cdkBuilder.byteMatchStatement(byteMatchStatement.let(ByteMatchStatementProperty.Companion::unwrap)) } /** @@ -16267,7 +16267,7 @@ public open class CfnRuleGroup( * Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . */ override fun geoMatchStatement(geoMatchStatement: IResolvable) { - cdkBuilder.geoMatchStatement(geoMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.geoMatchStatement(geoMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16301,7 +16301,7 @@ public open class CfnRuleGroup( * Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . */ override fun geoMatchStatement(geoMatchStatement: GeoMatchStatementProperty) { - cdkBuilder.geoMatchStatement(geoMatchStatement.let(GeoMatchStatementProperty::unwrap)) + cdkBuilder.geoMatchStatement(geoMatchStatement.let(GeoMatchStatementProperty.Companion::unwrap)) } /** @@ -16351,7 +16351,7 @@ public open class CfnRuleGroup( * update the referenced set, AWS WAF automatically updates all rules that reference it. */ override fun ipSetReferenceStatement(ipSetReferenceStatement: IResolvable) { - cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IResolvable::unwrap)) + cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16366,7 +16366,7 @@ public open class CfnRuleGroup( */ override fun ipSetReferenceStatement(ipSetReferenceStatement: IPSetReferenceStatementProperty) { - cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IPSetReferenceStatementProperty::unwrap)) + cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IPSetReferenceStatementProperty.Companion::unwrap)) } /** @@ -16396,7 +16396,7 @@ public open class CfnRuleGroup( * search for labels that were added in the same context as the label match statement. */ override fun labelMatchStatement(labelMatchStatement: IResolvable) { - cdkBuilder.labelMatchStatement(labelMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.labelMatchStatement(labelMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16410,7 +16410,7 @@ public open class CfnRuleGroup( * search for labels that were added in the same context as the label match statement. */ override fun labelMatchStatement(labelMatchStatement: LabelMatchStatementProperty) { - cdkBuilder.labelMatchStatement(labelMatchStatement.let(LabelMatchStatementProperty::unwrap)) + cdkBuilder.labelMatchStatement(labelMatchStatement.let(LabelMatchStatementProperty.Companion::unwrap)) } /** @@ -16435,7 +16435,7 @@ public open class CfnRuleGroup( * You provide one `Statement` within the `NotStatement` . */ override fun notStatement(notStatement: IResolvable) { - cdkBuilder.notStatement(notStatement.let(IResolvable::unwrap)) + cdkBuilder.notStatement(notStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16444,7 +16444,7 @@ public open class CfnRuleGroup( * You provide one `Statement` within the `NotStatement` . */ override fun notStatement(notStatement: NotStatementProperty) { - cdkBuilder.notStatement(notStatement.let(NotStatementProperty::unwrap)) + cdkBuilder.notStatement(notStatement.let(NotStatementProperty.Companion::unwrap)) } /** @@ -16463,7 +16463,7 @@ public open class CfnRuleGroup( * You provide more than one `Statement` within the `OrStatement` . */ override fun orStatement(orStatement: IResolvable) { - cdkBuilder.orStatement(orStatement.let(IResolvable::unwrap)) + cdkBuilder.orStatement(orStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16472,7 +16472,7 @@ public open class CfnRuleGroup( * You provide more than one `Statement` within the `OrStatement` . */ override fun orStatement(orStatement: OrStatementProperty) { - cdkBuilder.orStatement(orStatement.let(OrStatementProperty::unwrap)) + cdkBuilder.orStatement(orStatement.let(OrStatementProperty.Companion::unwrap)) } /** @@ -16565,7 +16565,7 @@ public open class CfnRuleGroup( * of the rate-based rule that gets its own tracking and management by AWS WAF . */ override fun rateBasedStatement(rateBasedStatement: IResolvable) { - cdkBuilder.rateBasedStatement(rateBasedStatement.let(IResolvable::unwrap)) + cdkBuilder.rateBasedStatement(rateBasedStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16648,7 +16648,7 @@ public open class CfnRuleGroup( * of the rate-based rule that gets its own tracking and management by AWS WAF . */ override fun rateBasedStatement(rateBasedStatement: RateBasedStatementProperty) { - cdkBuilder.rateBasedStatement(rateBasedStatement.let(RateBasedStatementProperty::unwrap)) + cdkBuilder.rateBasedStatement(rateBasedStatement.let(RateBasedStatementProperty.Companion::unwrap)) } /** @@ -16741,7 +16741,7 @@ public open class CfnRuleGroup( * match against a single regular expression. */ override fun regexMatchStatement(regexMatchStatement: IResolvable) { - cdkBuilder.regexMatchStatement(regexMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.regexMatchStatement(regexMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16749,7 +16749,7 @@ public open class CfnRuleGroup( * match against a single regular expression. */ override fun regexMatchStatement(regexMatchStatement: RegexMatchStatementProperty) { - cdkBuilder.regexMatchStatement(regexMatchStatement.let(RegexMatchStatementProperty::unwrap)) + cdkBuilder.regexMatchStatement(regexMatchStatement.let(RegexMatchStatementProperty.Companion::unwrap)) } /** @@ -16776,7 +16776,7 @@ public open class CfnRuleGroup( */ override fun regexPatternSetReferenceStatement(regexPatternSetReferenceStatement: IResolvable) { - cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(IResolvable::unwrap)) + cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16793,7 +16793,7 @@ public open class CfnRuleGroup( */ override fun regexPatternSetReferenceStatement(regexPatternSetReferenceStatement: RegexPatternSetReferenceStatementProperty) { - cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(RegexPatternSetReferenceStatementProperty::unwrap)) + cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(RegexPatternSetReferenceStatementProperty.Companion::unwrap)) } /** @@ -16833,7 +16833,7 @@ public open class CfnRuleGroup( * URI counts as one character. For example, the URI `/logo.jpg` is nine characters long. */ override fun sizeConstraintStatement(sizeConstraintStatement: IResolvable) { - cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(IResolvable::unwrap)) + cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16855,7 +16855,7 @@ public open class CfnRuleGroup( */ override fun sizeConstraintStatement(sizeConstraintStatement: SizeConstraintStatementProperty) { - cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(SizeConstraintStatementProperty::unwrap)) + cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(SizeConstraintStatementProperty.Companion::unwrap)) } /** @@ -16887,7 +16887,7 @@ public open class CfnRuleGroup( * database or extract data from it. */ override fun sqliMatchStatement(sqliMatchStatement: IResolvable) { - cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16896,7 +16896,7 @@ public open class CfnRuleGroup( * database or extract data from it. */ override fun sqliMatchStatement(sqliMatchStatement: SqliMatchStatementProperty) { - cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(SqliMatchStatementProperty::unwrap)) + cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(SqliMatchStatementProperty.Companion::unwrap)) } /** @@ -16917,7 +16917,7 @@ public open class CfnRuleGroup( * inject malicious client-site scripts into other legitimate web browsers. */ override fun xssMatchStatement(xssMatchStatement: IResolvable) { - cdkBuilder.xssMatchStatement(xssMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.xssMatchStatement(xssMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -16927,7 +16927,7 @@ public open class CfnRuleGroup( * inject malicious client-site scripts into other legitimate web browsers. */ override fun xssMatchStatement(xssMatchStatement: XssMatchStatementProperty) { - cdkBuilder.xssMatchStatement(xssMatchStatement.let(XssMatchStatementProperty::unwrap)) + cdkBuilder.xssMatchStatement(xssMatchStatement.let(XssMatchStatementProperty.Companion::unwrap)) } /** @@ -17525,7 +17525,7 @@ public open class CfnRuleGroup( * the *AWS WAF Developer Guide* . */ override fun cloudWatchMetricsEnabled(cloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -17563,7 +17563,7 @@ public open class CfnRuleGroup( * from request sampling is by disabling sampling in the web ACL visibility configuration. */ override fun sampledRequestsEnabled(sampledRequestsEnabled: IResolvable) { - cdkBuilder.sampledRequestsEnabled(sampledRequestsEnabled.let(IResolvable::unwrap)) + cdkBuilder.sampledRequestsEnabled(sampledRequestsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): @@ -17787,14 +17787,14 @@ public open class CfnRuleGroup( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -17813,7 +17813,7 @@ public open class CfnRuleGroup( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroupProps.kt index ef21bb3cf7..a28c71b5f7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnRuleGroupProps.kt @@ -804,7 +804,7 @@ public interface CfnRuleGroupProps { * These labels are defined in the `RuleLabels` for a `Rule` . */ override fun availableLabels(availableLabels: IResolvable) { - cdkBuilder.availableLabels(availableLabels.let(IResolvable::unwrap)) + cdkBuilder.availableLabels(availableLabels.let(IResolvable.Companion::unwrap)) } /** @@ -847,7 +847,7 @@ public interface CfnRuleGroupProps { * definition of a rule. */ override fun consumedLabels(consumedLabels: IResolvable) { - cdkBuilder.consumedLabels(consumedLabels.let(IResolvable::unwrap)) + cdkBuilder.consumedLabels(consumedLabels.let(IResolvable.Companion::unwrap)) } /** @@ -885,7 +885,7 @@ public interface CfnRuleGroupProps { * *AWS WAF Developer Guide* . */ override fun customResponseBodies(customResponseBodies: IResolvable) { - cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable::unwrap)) + cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public interface CfnRuleGroupProps { * requests, and parameters that govern how AWS WAF handles them. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -976,7 +976,7 @@ public interface CfnRuleGroupProps { * AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -996,7 +996,7 @@ public interface CfnRuleGroupProps { * collection. */ override fun visibilityConfig(visibilityConfig: IResolvable) { - cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1004,7 +1004,7 @@ public interface CfnRuleGroupProps { * collection. */ override fun visibilityConfig(visibilityConfig: CfnRuleGroup.VisibilityConfigProperty) { - cdkBuilder.visibilityConfig(visibilityConfig.let(CfnRuleGroup.VisibilityConfigProperty::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(CfnRuleGroup.VisibilityConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACL.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACL.kt index 46628f234f..c136226f41 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACL.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACL.kt @@ -82,8 +82,8 @@ public open class CfnWebACL( id: String, props: CfnWebACLProps, ) : - this(software.amazon.awscdk.services.wafv2.CfnWebACL(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWebACLProps::unwrap)) + this(software.amazon.awscdk.services.wafv2.CfnWebACL(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebACLProps.Companion::unwrap)) ) public constructor( @@ -104,7 +104,7 @@ public open class CfnWebACL( * resources. */ public open fun associationConfig(`value`: IResolvable) { - unwrap(this).setAssociationConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociationConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnWebACL( * resources. */ public open fun associationConfig(`value`: AssociationConfigProperty) { - unwrap(this).setAssociationConfig(`value`.let(AssociationConfigProperty::unwrap)) + unwrap(this).setAssociationConfig(`value`.let(AssociationConfigProperty.Companion::unwrap)) } /** @@ -171,7 +171,7 @@ public open class CfnWebACL( * `CaptchaConfig` settings. */ public open fun captchaConfig(`value`: IResolvable) { - unwrap(this).setCaptchaConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setCaptchaConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnWebACL( * `CaptchaConfig` settings. */ public open fun captchaConfig(`value`: CaptchaConfigProperty) { - unwrap(this).setCaptchaConfig(`value`.let(CaptchaConfigProperty::unwrap)) + unwrap(this).setCaptchaConfig(`value`.let(CaptchaConfigProperty.Companion::unwrap)) } /** @@ -202,7 +202,7 @@ public open class CfnWebACL( * `ChallengeConfig` settings. */ public open fun challengeConfig(`value`: IResolvable) { - unwrap(this).setChallengeConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setChallengeConfig(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -210,7 +210,7 @@ public open class CfnWebACL( * `ChallengeConfig` settings. */ public open fun challengeConfig(`value`: ChallengeConfigProperty) { - unwrap(this).setChallengeConfig(`value`.let(ChallengeConfigProperty::unwrap)) + unwrap(this).setChallengeConfig(`value`.let(ChallengeConfigProperty.Companion::unwrap)) } /** @@ -231,7 +231,7 @@ public open class CfnWebACL( * A map of custom response keys and content bodies. */ public open fun customResponseBodies(`value`: IResolvable) { - unwrap(this).setCustomResponseBodies(`value`.let(IResolvable::unwrap)) + unwrap(this).setCustomResponseBodies(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -250,14 +250,14 @@ public open class CfnWebACL( * The action to perform if none of the `Rules` contained in the `WebACL` match. */ public open fun defaultAction(`value`: IResolvable) { - unwrap(this).setDefaultAction(`value`.let(IResolvable::unwrap)) + unwrap(this).setDefaultAction(`value`.let(IResolvable.Companion::unwrap)) } /** * The action to perform if none of the `Rules` contained in the `WebACL` match. */ public open fun defaultAction(`value`: DefaultActionProperty) { - unwrap(this).setDefaultAction(`value`.let(DefaultActionProperty::unwrap)) + unwrap(this).setDefaultAction(`value`.let(DefaultActionProperty.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public open class CfnWebACL( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public open class CfnWebACL( * The rule statements used to identify the web requests that you want to manage. */ public open fun rules(`value`: IResolvable) { - unwrap(this).setRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -352,7 +352,7 @@ public open class CfnWebACL( * Key:value pairs associated with an AWS resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -386,14 +386,14 @@ public open class CfnWebACL( * Defines and enables Amazon CloudWatch metrics and web request sample collection. */ public open fun visibilityConfig(`value`: IResolvable) { - unwrap(this).setVisibilityConfig(`value`.let(IResolvable::unwrap)) + unwrap(this).setVisibilityConfig(`value`.let(IResolvable.Companion::unwrap)) } /** * Defines and enables Amazon CloudWatch metrics and web request sample collection. */ public open fun visibilityConfig(`value`: VisibilityConfigProperty) { - unwrap(this).setVisibilityConfig(`value`.let(VisibilityConfigProperty::unwrap)) + unwrap(this).setVisibilityConfig(`value`.let(VisibilityConfigProperty.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public open class CfnWebACL( * ACL and protected resources. */ override fun associationConfig(associationConfig: IResolvable) { - cdkBuilder.associationConfig(associationConfig.let(IResolvable::unwrap)) + cdkBuilder.associationConfig(associationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -846,7 +846,7 @@ public open class CfnWebACL( * ACL and protected resources. */ override fun associationConfig(associationConfig: AssociationConfigProperty) { - cdkBuilder.associationConfig(associationConfig.let(AssociationConfigProperty::unwrap)) + cdkBuilder.associationConfig(associationConfig.let(AssociationConfigProperty.Companion::unwrap)) } /** @@ -886,7 +886,7 @@ public open class CfnWebACL( * don't have their own `CaptchaConfig` settings. */ override fun captchaConfig(captchaConfig: IResolvable) { - cdkBuilder.captchaConfig(captchaConfig.let(IResolvable::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -900,7 +900,7 @@ public open class CfnWebACL( * don't have their own `CaptchaConfig` settings. */ override fun captchaConfig(captchaConfig: CaptchaConfigProperty) { - cdkBuilder.captchaConfig(captchaConfig.let(CaptchaConfigProperty::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(CaptchaConfigProperty.Companion::unwrap)) } /** @@ -929,7 +929,7 @@ public open class CfnWebACL( * that don't have their own `ChallengeConfig` settings. */ override fun challengeConfig(challengeConfig: IResolvable) { - cdkBuilder.challengeConfig(challengeConfig.let(IResolvable::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -943,7 +943,7 @@ public open class CfnWebACL( * that don't have their own `ChallengeConfig` settings. */ override fun challengeConfig(challengeConfig: ChallengeConfigProperty) { - cdkBuilder.challengeConfig(challengeConfig.let(ChallengeConfigProperty::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(ChallengeConfigProperty.Companion::unwrap)) } /** @@ -981,7 +981,7 @@ public open class CfnWebACL( * @param customResponseBodies A map of custom response keys and content bodies. */ override fun customResponseBodies(customResponseBodies: IResolvable) { - cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable::unwrap)) + cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable.Companion::unwrap)) } /** @@ -1015,7 +1015,7 @@ public open class CfnWebACL( * match. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public open class CfnWebACL( * match. */ override fun defaultAction(defaultAction: DefaultActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(DefaultActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(DefaultActionProperty.Companion::unwrap)) } /** @@ -1073,7 +1073,7 @@ public open class CfnWebACL( * @param rules The rule statements used to identify the web requests that you want to manage. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -1140,7 +1140,7 @@ public open class CfnWebACL( * @param tags Key:value pairs associated with an AWS resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1199,7 +1199,7 @@ public open class CfnWebACL( * collection. */ override fun visibilityConfig(visibilityConfig: IResolvable) { - cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -1210,7 +1210,7 @@ public open class CfnWebACL( * collection. */ override fun visibilityConfig(visibilityConfig: VisibilityConfigProperty) { - cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty.Companion::unwrap)) } /** @@ -1539,7 +1539,7 @@ public open class CfnWebACL( * and the account creation path. */ override fun enableRegexInPath(enableRegexInPath: IResolvable) { - cdkBuilder.enableRegexInPath(enableRegexInPath.let(IResolvable::unwrap)) + cdkBuilder.enableRegexInPath(enableRegexInPath.let(IResolvable.Companion::unwrap)) } /** @@ -1567,7 +1567,7 @@ public open class CfnWebACL( * ACFP rule group to validate and track account creation attempts. */ override fun requestInspection(requestInspection: IResolvable) { - cdkBuilder.requestInspection(requestInspection.let(IResolvable::unwrap)) + cdkBuilder.requestInspection(requestInspection.let(IResolvable.Companion::unwrap)) } /** @@ -1575,7 +1575,7 @@ public open class CfnWebACL( * ACFP rule group to validate and track account creation attempts. */ override fun requestInspection(requestInspection: RequestInspectionACFPProperty) { - cdkBuilder.requestInspection(requestInspection.let(RequestInspectionACFPProperty::unwrap)) + cdkBuilder.requestInspection(requestInspection.let(RequestInspectionACFPProperty.Companion::unwrap)) } /** @@ -1603,7 +1603,7 @@ public open class CfnWebACL( * creation attempts in a short amount of time. */ override fun responseInspection(responseInspection: IResolvable) { - cdkBuilder.responseInspection(responseInspection.let(IResolvable::unwrap)) + cdkBuilder.responseInspection(responseInspection.let(IResolvable.Companion::unwrap)) } /** @@ -1621,7 +1621,7 @@ public open class CfnWebACL( * creation attempts in a short amount of time. */ override fun responseInspection(responseInspection: ResponseInspectionProperty) { - cdkBuilder.responseInspection(responseInspection.let(ResponseInspectionProperty::unwrap)) + cdkBuilder.responseInspection(responseInspection.let(ResponseInspectionProperty.Companion::unwrap)) } /** @@ -1961,7 +1961,7 @@ public open class CfnWebACL( * @param enableRegexInPath Allow the use of regular expressions in the login page path. */ override fun enableRegexInPath(enableRegexInPath: IResolvable) { - cdkBuilder.enableRegexInPath(enableRegexInPath.let(IResolvable::unwrap)) + cdkBuilder.enableRegexInPath(enableRegexInPath.let(IResolvable.Companion::unwrap)) } /** @@ -1983,7 +1983,7 @@ public open class CfnWebACL( * group to validate credentials usage. */ override fun requestInspection(requestInspection: IResolvable) { - cdkBuilder.requestInspection(requestInspection.let(IResolvable::unwrap)) + cdkBuilder.requestInspection(requestInspection.let(IResolvable.Companion::unwrap)) } /** @@ -1991,7 +1991,7 @@ public open class CfnWebACL( * group to validate credentials usage. */ override fun requestInspection(requestInspection: RequestInspectionProperty) { - cdkBuilder.requestInspection(requestInspection.let(RequestInspectionProperty::unwrap)) + cdkBuilder.requestInspection(requestInspection.let(RequestInspectionProperty.Companion::unwrap)) } /** @@ -2019,7 +2019,7 @@ public open class CfnWebACL( * amount of time. */ override fun responseInspection(responseInspection: IResolvable) { - cdkBuilder.responseInspection(responseInspection.let(IResolvable::unwrap)) + cdkBuilder.responseInspection(responseInspection.let(IResolvable.Companion::unwrap)) } /** @@ -2037,7 +2037,7 @@ public open class CfnWebACL( * amount of time. */ override fun responseInspection(responseInspection: ResponseInspectionProperty) { - cdkBuilder.responseInspection(responseInspection.let(ResponseInspectionProperty::unwrap)) + cdkBuilder.responseInspection(responseInspection.let(ResponseInspectionProperty.Companion::unwrap)) } /** @@ -2279,7 +2279,7 @@ public open class CfnWebACL( * Default: `TRUE` */ override fun enableMachineLearning(enableMachineLearning: IResolvable) { - cdkBuilder.enableMachineLearning(enableMachineLearning.let(IResolvable::unwrap)) + cdkBuilder.enableMachineLearning(enableMachineLearning.let(IResolvable.Companion::unwrap)) } /** @@ -2441,7 +2441,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** @@ -2452,7 +2452,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -2562,7 +2562,7 @@ public open class CfnWebACL( * You can use any statements that can be nested. */ override fun statements(statements: IResolvable) { - cdkBuilder.statements(statements.let(IResolvable::unwrap)) + cdkBuilder.statements(statements.let(IResolvable.Companion::unwrap)) } /** @@ -2736,7 +2736,7 @@ public open class CfnWebACL( * For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). */ override fun requestBody(requestBody: IResolvable) { - cdkBuilder.requestBody(requestBody.let(IResolvable::unwrap)) + cdkBuilder.requestBody(requestBody.let(IResolvable.Companion::unwrap)) } /** @@ -2897,7 +2897,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customResponse(customResponse: IResolvable) { - cdkBuilder.customResponse(customResponse.let(IResolvable::unwrap)) + cdkBuilder.customResponse(customResponse.let(IResolvable.Companion::unwrap)) } /** @@ -2908,7 +2908,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customResponse(customResponse: CustomResponseProperty) { - cdkBuilder.customResponse(customResponse.let(CustomResponseProperty::unwrap)) + cdkBuilder.customResponse(customResponse.let(CustomResponseProperty.Companion::unwrap)) } /** @@ -3428,14 +3428,14 @@ public open class CfnWebACL( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -3526,7 +3526,7 @@ public open class CfnWebACL( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -3775,7 +3775,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** @@ -3787,7 +3787,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -3910,7 +3910,7 @@ public open class CfnWebACL( * valid after the client successfully solves a `CAPTCHA` puzzle. */ override fun immunityTimeProperty(immunityTimeProperty: IResolvable) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable.Companion::unwrap)) } /** @@ -3918,7 +3918,7 @@ public open class CfnWebACL( * valid after the client successfully solves a `CAPTCHA` puzzle. */ override fun immunityTimeProperty(immunityTimeProperty: ImmunityTimePropertyProperty) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty.Companion::unwrap)) } /** @@ -4087,7 +4087,7 @@ public open class CfnWebACL( * guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** @@ -4100,7 +4100,7 @@ public open class CfnWebACL( * guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -4224,7 +4224,7 @@ public open class CfnWebACL( * valid after the client successfully responds to a challenge. */ override fun immunityTimeProperty(immunityTimeProperty: IResolvable) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(IResolvable.Companion::unwrap)) } /** @@ -4232,7 +4232,7 @@ public open class CfnWebACL( * valid after the client successfully responds to a challenge. */ override fun immunityTimeProperty(immunityTimeProperty: ImmunityTimePropertyProperty) { - cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty::unwrap)) + cdkBuilder.immunityTimeProperty(immunityTimeProperty.let(ImmunityTimePropertyProperty.Companion::unwrap)) } /** @@ -4609,7 +4609,7 @@ public open class CfnWebACL( * Example JSON: `"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }` */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** @@ -4621,7 +4621,7 @@ public open class CfnWebACL( * Example JSON: `"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }` */ override fun matchPattern(matchPattern: CookieMatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(CookieMatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(CookieMatchPatternProperty.Companion::unwrap)) } /** @@ -4826,7 +4826,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customRequestHandling(customRequestHandling: IResolvable) { - cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(IResolvable.Companion::unwrap)) } /** @@ -4837,7 +4837,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun customRequestHandling(customRequestHandling: CustomRequestHandlingProperty) { - cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty::unwrap)) + cdkBuilder.customRequestHandling(customRequestHandling.let(CustomRequestHandlingProperty.Companion::unwrap)) } /** @@ -5108,7 +5108,7 @@ public open class CfnWebACL( * Developer Guide* . */ override fun insertHeaders(insertHeaders: IResolvable) { - cdkBuilder.insertHeaders(insertHeaders.let(IResolvable::unwrap)) + cdkBuilder.insertHeaders(insertHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -5486,7 +5486,7 @@ public open class CfnWebACL( * Developer Guide* . */ override fun responseHeaders(responseHeaders: IResolvable) { - cdkBuilder.responseHeaders(responseHeaders.let(IResolvable::unwrap)) + cdkBuilder.responseHeaders(responseHeaders.let(IResolvable.Companion::unwrap)) } /** @@ -5683,14 +5683,14 @@ public open class CfnWebACL( * @param allow Specifies that AWS WAF should allow requests by default. */ override fun allow(allow: IResolvable) { - cdkBuilder.allow(allow.let(IResolvable::unwrap)) + cdkBuilder.allow(allow.let(IResolvable.Companion::unwrap)) } /** * @param allow Specifies that AWS WAF should allow requests by default. */ override fun allow(allow: AllowActionProperty) { - cdkBuilder.allow(allow.let(AllowActionProperty::unwrap)) + cdkBuilder.allow(allow.let(AllowActionProperty.Companion::unwrap)) } /** @@ -5705,14 +5705,14 @@ public open class CfnWebACL( * @param block Specifies that AWS WAF should block requests by default. */ override fun block(block: IResolvable) { - cdkBuilder.block(block.let(IResolvable::unwrap)) + cdkBuilder.block(block.let(IResolvable.Companion::unwrap)) } /** * @param block Specifies that AWS WAF should block requests by default. */ override fun block(block: BlockActionProperty) { - cdkBuilder.block(block.let(BlockActionProperty::unwrap)) + cdkBuilder.block(block.let(BlockActionProperty.Companion::unwrap)) } /** @@ -6589,7 +6589,7 @@ public open class CfnWebACL( * configuration. */ override fun body(body: IResolvable) { - cdkBuilder.body(body.let(IResolvable::unwrap)) + cdkBuilder.body(body.let(IResolvable.Companion::unwrap)) } /** @@ -6612,7 +6612,7 @@ public open class CfnWebACL( * configuration. */ override fun body(body: BodyProperty) { - cdkBuilder.body(body.let(BodyProperty::unwrap)) + cdkBuilder.body(body.let(BodyProperty.Companion::unwrap)) } /** @@ -6649,7 +6649,7 @@ public open class CfnWebACL( * matching filters to the cookies that it receives from the underlying host service. */ override fun cookies(cookies: IResolvable) { - cdkBuilder.cookies(cookies.let(IResolvable::unwrap)) + cdkBuilder.cookies(cookies.let(IResolvable.Companion::unwrap)) } /** @@ -6663,7 +6663,7 @@ public open class CfnWebACL( * matching filters to the cookies that it receives from the underlying host service. */ override fun cookies(cookies: CookiesProperty) { - cdkBuilder.cookies(cookies.let(CookiesProperty::unwrap)) + cdkBuilder.cookies(cookies.let(CookiesProperty.Companion::unwrap)) } /** @@ -6692,7 +6692,7 @@ public open class CfnWebACL( * matching filters to the headers that it receives from the underlying host service. */ override fun headers(headers: IResolvable) { - cdkBuilder.headers(headers.let(IResolvable::unwrap)) + cdkBuilder.headers(headers.let(IResolvable.Companion::unwrap)) } /** @@ -6706,7 +6706,7 @@ public open class CfnWebACL( * matching filters to the headers that it receives from the underlying host service. */ override fun headers(headers: HeadersProperty) { - cdkBuilder.headers(headers.let(HeadersProperty::unwrap)) + cdkBuilder.headers(headers.let(HeadersProperty.Companion::unwrap)) } /** @@ -6746,7 +6746,7 @@ public open class CfnWebACL( * specification, to match with any future requests that have the same TLS configuration. */ override fun ja3Fingerprint(ja3Fingerprint: IResolvable) { - cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(IResolvable::unwrap)) + cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(IResolvable.Companion::unwrap)) } /** @@ -6771,7 +6771,7 @@ public open class CfnWebACL( * specification, to match with any future requests that have the same TLS configuration. */ override fun ja3Fingerprint(ja3Fingerprint: JA3FingerprintProperty) { - cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(JA3FingerprintProperty::unwrap)) + cdkBuilder.ja3Fingerprint(ja3Fingerprint.let(JA3FingerprintProperty.Companion::unwrap)) } /** @@ -6820,7 +6820,7 @@ public open class CfnWebACL( * configuration. */ override fun jsonBody(jsonBody: IResolvable) { - cdkBuilder.jsonBody(jsonBody.let(IResolvable::unwrap)) + cdkBuilder.jsonBody(jsonBody.let(IResolvable.Companion::unwrap)) } /** @@ -6843,7 +6843,7 @@ public open class CfnWebACL( * configuration. */ override fun jsonBody(jsonBody: JsonBodyProperty) { - cdkBuilder.jsonBody(jsonBody.let(JsonBodyProperty::unwrap)) + cdkBuilder.jsonBody(jsonBody.let(JsonBodyProperty.Companion::unwrap)) } /** @@ -7491,7 +7491,7 @@ public open class CfnWebACL( * web request at all. */ override fun forwardedIpConfig(forwardedIpConfig: IResolvable) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -7504,7 +7504,7 @@ public open class CfnWebACL( * web request at all. */ override fun forwardedIpConfig(forwardedIpConfig: ForwardedIPConfigurationProperty) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty.Companion::unwrap)) } /** @@ -7910,7 +7910,7 @@ public open class CfnWebACL( * Example JSON: `"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }` */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** @@ -7922,7 +7922,7 @@ public open class CfnWebACL( * Example JSON: `"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }` */ override fun matchPattern(matchPattern: HeaderMatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(HeaderMatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(HeaderMatchPatternProperty.Companion::unwrap)) } /** @@ -8431,7 +8431,7 @@ public open class CfnWebACL( * web request at all. */ override fun ipSetForwardedIpConfig(ipSetForwardedIpConfig: IResolvable) { - cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IResolvable::unwrap)) + cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -8446,7 +8446,7 @@ public open class CfnWebACL( */ override fun ipSetForwardedIpConfig(ipSetForwardedIpConfig: IPSetForwardedIPConfigurationProperty) { - cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IPSetForwardedIPConfigurationProperty::unwrap)) + cdkBuilder.ipSetForwardedIpConfig(ipSetForwardedIpConfig.let(IPSetForwardedIPConfigurationProperty.Companion::unwrap)) } /** @@ -8984,7 +8984,7 @@ public open class CfnWebACL( * AWS WAF inspects the results of these pattern matches against the rule inspection criteria. */ override fun matchPattern(matchPattern: IResolvable) { - cdkBuilder.matchPattern(matchPattern.let(IResolvable::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(IResolvable.Companion::unwrap)) } /** @@ -8992,7 +8992,7 @@ public open class CfnWebACL( * AWS WAF inspects the results of these pattern matches against the rule inspection criteria. */ override fun matchPattern(matchPattern: JsonMatchPatternProperty) { - cdkBuilder.matchPattern(matchPattern.let(JsonMatchPatternProperty::unwrap)) + cdkBuilder.matchPattern(matchPattern.let(JsonMatchPatternProperty.Companion::unwrap)) } /** @@ -10025,7 +10025,7 @@ public open class CfnWebACL( * Developer Guide* . */ override fun awsManagedRulesAcfpRuleSet(awsManagedRulesAcfpRuleSet: IResolvable) { - cdkBuilder.awsManagedRulesAcfpRuleSet(awsManagedRulesAcfpRuleSet.let(IResolvable::unwrap)) + cdkBuilder.awsManagedRulesAcfpRuleSet(awsManagedRulesAcfpRuleSet.let(IResolvable.Companion::unwrap)) } /** @@ -10044,7 +10044,7 @@ public open class CfnWebACL( */ override fun awsManagedRulesAcfpRuleSet(awsManagedRulesAcfpRuleSet: AWSManagedRulesACFPRuleSetProperty) { - cdkBuilder.awsManagedRulesAcfpRuleSet(awsManagedRulesAcfpRuleSet.let(AWSManagedRulesACFPRuleSetProperty::unwrap)) + cdkBuilder.awsManagedRulesAcfpRuleSet(awsManagedRulesAcfpRuleSet.let(AWSManagedRulesACFPRuleSetProperty.Companion::unwrap)) } /** @@ -10086,7 +10086,7 @@ public open class CfnWebACL( * Developer Guide* . */ override fun awsManagedRulesAtpRuleSet(awsManagedRulesAtpRuleSet: IResolvable) { - cdkBuilder.awsManagedRulesAtpRuleSet(awsManagedRulesAtpRuleSet.let(IResolvable::unwrap)) + cdkBuilder.awsManagedRulesAtpRuleSet(awsManagedRulesAtpRuleSet.let(IResolvable.Companion::unwrap)) } /** @@ -10108,7 +10108,7 @@ public open class CfnWebACL( */ override fun awsManagedRulesAtpRuleSet(awsManagedRulesAtpRuleSet: AWSManagedRulesATPRuleSetProperty) { - cdkBuilder.awsManagedRulesAtpRuleSet(awsManagedRulesAtpRuleSet.let(AWSManagedRulesATPRuleSetProperty::unwrap)) + cdkBuilder.awsManagedRulesAtpRuleSet(awsManagedRulesAtpRuleSet.let(AWSManagedRulesATPRuleSetProperty.Companion::unwrap)) } /** @@ -10146,7 +10146,7 @@ public open class CfnWebACL( * *AWS WAF Developer Guide* . */ override fun awsManagedRulesBotControlRuleSet(awsManagedRulesBotControlRuleSet: IResolvable) { - cdkBuilder.awsManagedRulesBotControlRuleSet(awsManagedRulesBotControlRuleSet.let(IResolvable::unwrap)) + cdkBuilder.awsManagedRulesBotControlRuleSet(awsManagedRulesBotControlRuleSet.let(IResolvable.Companion::unwrap)) } /** @@ -10161,7 +10161,7 @@ public open class CfnWebACL( */ override fun awsManagedRulesBotControlRuleSet(awsManagedRulesBotControlRuleSet: AWSManagedRulesBotControlRuleSetProperty) { - cdkBuilder.awsManagedRulesBotControlRuleSet(awsManagedRulesBotControlRuleSet.let(AWSManagedRulesBotControlRuleSetProperty::unwrap)) + cdkBuilder.awsManagedRulesBotControlRuleSet(awsManagedRulesBotControlRuleSet.let(AWSManagedRulesBotControlRuleSetProperty.Companion::unwrap)) } /** @@ -10194,7 +10194,7 @@ public open class CfnWebACL( * inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . */ override fun passwordField(passwordField: IResolvable) { - cdkBuilder.passwordField(passwordField.let(IResolvable::unwrap)) + cdkBuilder.passwordField(passwordField.let(IResolvable.Companion::unwrap)) } /** @@ -10202,7 +10202,7 @@ public open class CfnWebACL( * inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . */ override fun passwordField(passwordField: FieldIdentifierProperty) { - cdkBuilder.passwordField(passwordField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.passwordField(passwordField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -10227,7 +10227,7 @@ public open class CfnWebACL( * inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . */ override fun usernameField(usernameField: IResolvable) { - cdkBuilder.usernameField(usernameField.let(IResolvable::unwrap)) + cdkBuilder.usernameField(usernameField.let(IResolvable.Companion::unwrap)) } /** @@ -10235,7 +10235,7 @@ public open class CfnWebACL( * inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . */ override fun usernameField(usernameField: FieldIdentifierProperty) { - cdkBuilder.usernameField(usernameField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.usernameField(usernameField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -10658,7 +10658,7 @@ public open class CfnWebACL( * including `Count` . */ override fun excludedRules(excludedRules: IResolvable) { - cdkBuilder.excludedRules(excludedRules.let(IResolvable::unwrap)) + cdkBuilder.excludedRules(excludedRules.let(IResolvable.Companion::unwrap)) } /** @@ -10697,7 +10697,7 @@ public open class CfnWebACL( * protection level that you want the Bot Control rule group to use. */ override fun managedRuleGroupConfigs(managedRuleGroupConfigs: IResolvable) { - cdkBuilder.managedRuleGroupConfigs(managedRuleGroupConfigs.let(IResolvable::unwrap)) + cdkBuilder.managedRuleGroupConfigs(managedRuleGroupConfigs.let(IResolvable.Companion::unwrap)) } /** @@ -10758,7 +10758,7 @@ public open class CfnWebACL( * the rule group manages your web traffic. */ override fun ruleActionOverrides(ruleActionOverrides: IResolvable) { - cdkBuilder.ruleActionOverrides(ruleActionOverrides.let(IResolvable::unwrap)) + cdkBuilder.ruleActionOverrides(ruleActionOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -10796,7 +10796,7 @@ public open class CfnWebACL( * any level, the same as you can for a rule statement. */ override fun scopeDownStatement(scopeDownStatement: IResolvable) { - cdkBuilder.scopeDownStatement(scopeDownStatement.let(IResolvable::unwrap)) + cdkBuilder.scopeDownStatement(scopeDownStatement.let(IResolvable.Companion::unwrap)) } /** @@ -10807,7 +10807,7 @@ public open class CfnWebACL( * any level, the same as you can for a rule statement. */ override fun scopeDownStatement(scopeDownStatement: StatementProperty) { - cdkBuilder.scopeDownStatement(scopeDownStatement.let(StatementProperty::unwrap)) + cdkBuilder.scopeDownStatement(scopeDownStatement.let(StatementProperty.Companion::unwrap)) } /** @@ -11015,7 +11015,7 @@ public open class CfnWebACL( * You can use any statement that can be nested. */ override fun statement(statement: IResolvable) { - cdkBuilder.statement(statement.let(IResolvable::unwrap)) + cdkBuilder.statement(statement.let(IResolvable.Companion::unwrap)) } /** @@ -11023,7 +11023,7 @@ public open class CfnWebACL( * You can use any statement that can be nested. */ override fun statement(statement: StatementProperty) { - cdkBuilder.statement(statement.let(StatementProperty::unwrap)) + cdkBuilder.statement(statement.let(StatementProperty.Companion::unwrap)) } /** @@ -11126,7 +11126,7 @@ public open class CfnWebACL( * You can use any statements that can be nested. */ override fun statements(statements: IResolvable) { - cdkBuilder.statements(statements.let(IResolvable::unwrap)) + cdkBuilder.statements(statements.let(IResolvable.Companion::unwrap)) } /** @@ -11713,7 +11713,7 @@ public open class CfnWebACL( * single cookie as your custom key, then each value fully defines an aggregation instance. */ override fun cookie(cookie: IResolvable) { - cdkBuilder.cookie(cookie.let(IResolvable::unwrap)) + cdkBuilder.cookie(cookie.let(IResolvable.Companion::unwrap)) } /** @@ -11722,7 +11722,7 @@ public open class CfnWebACL( * single cookie as your custom key, then each value fully defines an aggregation instance. */ override fun cookie(cookie: RateLimitCookieProperty) { - cdkBuilder.cookie(cookie.let(RateLimitCookieProperty::unwrap)) + cdkBuilder.cookie(cookie.let(RateLimitCookieProperty.Companion::unwrap)) } /** @@ -11756,7 +11756,7 @@ public open class CfnWebACL( * single header as your custom key, then each value fully defines an aggregation instance. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } /** @@ -11765,7 +11765,7 @@ public open class CfnWebACL( * single header as your custom key, then each value fully defines an aggregation instance. */ override fun `header`(`header`: RateLimitHeaderProperty) { - cdkBuilder.`header`(`header`.let(RateLimitHeaderProperty::unwrap)) + cdkBuilder.`header`(`header`.let(RateLimitHeaderProperty.Companion::unwrap)) } /** @@ -11812,7 +11812,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun labelNamespace(labelNamespace: IResolvable) { - cdkBuilder.labelNamespace(labelNamespace.let(IResolvable::unwrap)) + cdkBuilder.labelNamespace(labelNamespace.let(IResolvable.Companion::unwrap)) } /** @@ -11829,7 +11829,7 @@ public open class CfnWebACL( * in the *AWS WAF Developer Guide* . */ override fun labelNamespace(labelNamespace: RateLimitLabelNamespaceProperty) { - cdkBuilder.labelNamespace(labelNamespace.let(RateLimitLabelNamespaceProperty::unwrap)) + cdkBuilder.labelNamespace(labelNamespace.let(RateLimitLabelNamespaceProperty.Companion::unwrap)) } /** @@ -11858,7 +11858,7 @@ public open class CfnWebACL( * aggregation instance. */ override fun queryArgument(queryArgument: IResolvable) { - cdkBuilder.queryArgument(queryArgument.let(IResolvable::unwrap)) + cdkBuilder.queryArgument(queryArgument.let(IResolvable.Companion::unwrap)) } /** @@ -11868,7 +11868,7 @@ public open class CfnWebACL( * aggregation instance. */ override fun queryArgument(queryArgument: RateLimitQueryArgumentProperty) { - cdkBuilder.queryArgument(queryArgument.let(RateLimitQueryArgumentProperty::unwrap)) + cdkBuilder.queryArgument(queryArgument.let(RateLimitQueryArgumentProperty.Companion::unwrap)) } /** @@ -11888,7 +11888,7 @@ public open class CfnWebACL( * string as your custom key, then each string fully defines an aggregation instance. */ override fun queryString(queryString: IResolvable) { - cdkBuilder.queryString(queryString.let(IResolvable::unwrap)) + cdkBuilder.queryString(queryString.let(IResolvable.Companion::unwrap)) } /** @@ -11897,7 +11897,7 @@ public open class CfnWebACL( * string as your custom key, then each string fully defines an aggregation instance. */ override fun queryString(queryString: RateLimitQueryStringProperty) { - cdkBuilder.queryString(queryString.let(RateLimitQueryStringProperty::unwrap)) + cdkBuilder.queryString(queryString.let(RateLimitQueryStringProperty.Companion::unwrap)) } /** @@ -11916,7 +11916,7 @@ public open class CfnWebACL( * path as your custom key, then each URI path fully defines an aggregation instance. */ override fun uriPath(uriPath: IResolvable) { - cdkBuilder.uriPath(uriPath.let(IResolvable::unwrap)) + cdkBuilder.uriPath(uriPath.let(IResolvable.Companion::unwrap)) } /** @@ -11925,7 +11925,7 @@ public open class CfnWebACL( * path as your custom key, then each URI path fully defines an aggregation instance. */ override fun uriPath(uriPath: RateLimitUriPathProperty) { - cdkBuilder.uriPath(uriPath.let(RateLimitUriPathProperty::unwrap)) + cdkBuilder.uriPath(uriPath.let(RateLimitUriPathProperty.Companion::unwrap)) } /** @@ -12481,7 +12481,7 @@ public open class CfnWebACL( * @param customKeys Specifies the aggregate keys to use in a rate-base rule. */ override fun customKeys(customKeys: IResolvable) { - cdkBuilder.customKeys(customKeys.let(IResolvable::unwrap)) + cdkBuilder.customKeys(customKeys.let(IResolvable.Companion::unwrap)) } /** @@ -12525,7 +12525,7 @@ public open class CfnWebACL( * This is required if you specify a forwarded IP in the rule's aggregate key settings. */ override fun forwardedIpConfig(forwardedIpConfig: IResolvable) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(IResolvable.Companion::unwrap)) } /** @@ -12541,7 +12541,7 @@ public open class CfnWebACL( * This is required if you specify a forwarded IP in the rule's aggregate key settings. */ override fun forwardedIpConfig(forwardedIpConfig: ForwardedIPConfigurationProperty) { - cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty::unwrap)) + cdkBuilder.forwardedIpConfig(forwardedIpConfig.let(ForwardedIPConfigurationProperty.Companion::unwrap)) } /** @@ -12588,7 +12588,7 @@ public open class CfnWebACL( * statement. */ override fun scopeDownStatement(scopeDownStatement: IResolvable) { - cdkBuilder.scopeDownStatement(scopeDownStatement.let(IResolvable::unwrap)) + cdkBuilder.scopeDownStatement(scopeDownStatement.let(IResolvable.Companion::unwrap)) } /** @@ -12600,7 +12600,7 @@ public open class CfnWebACL( * statement. */ override fun scopeDownStatement(scopeDownStatement: StatementProperty) { - cdkBuilder.scopeDownStatement(scopeDownStatement.let(StatementProperty::unwrap)) + cdkBuilder.scopeDownStatement(scopeDownStatement.let(StatementProperty.Companion::unwrap)) } /** @@ -12869,7 +12869,7 @@ public open class CfnWebACL( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -13062,7 +13062,7 @@ public open class CfnWebACL( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -13350,7 +13350,7 @@ public open class CfnWebACL( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -13525,7 +13525,7 @@ public open class CfnWebACL( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -13692,7 +13692,7 @@ public open class CfnWebACL( * contents. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -13924,14 +13924,14 @@ public open class CfnWebACL( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -13957,7 +13957,7 @@ public open class CfnWebACL( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -14213,14 +14213,14 @@ public open class CfnWebACL( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -14239,7 +14239,7 @@ public open class CfnWebACL( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -14991,7 +14991,7 @@ public open class CfnWebACL( * `primaryaddressline1` , `primaryaddressline2` , and `primaryaddressline3` . */ override fun addressFields(addressFields: IResolvable) { - cdkBuilder.addressFields(addressFields.let(IResolvable::unwrap)) + cdkBuilder.addressFields(addressFields.let(IResolvable.Companion::unwrap)) } /** @@ -15066,7 +15066,7 @@ public open class CfnWebACL( * specification is `email1` . */ override fun emailField(emailField: IResolvable) { - cdkBuilder.emailField(emailField.let(IResolvable::unwrap)) + cdkBuilder.emailField(emailField.let(IResolvable.Companion::unwrap)) } /** @@ -15088,7 +15088,7 @@ public open class CfnWebACL( * specification is `email1` . */ override fun emailField(emailField: FieldIdentifierProperty) { - cdkBuilder.emailField(emailField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.emailField(emailField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -15133,7 +15133,7 @@ public open class CfnWebACL( * specification is `password1` . */ override fun passwordField(passwordField: IResolvable) { - cdkBuilder.passwordField(passwordField.let(IResolvable::unwrap)) + cdkBuilder.passwordField(passwordField.let(IResolvable.Companion::unwrap)) } /** @@ -15155,7 +15155,7 @@ public open class CfnWebACL( * specification is `password1` . */ override fun passwordField(passwordField: FieldIdentifierProperty) { - cdkBuilder.passwordField(passwordField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.passwordField(passwordField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -15214,7 +15214,7 @@ public open class CfnWebACL( * `primaryphoneline1` , `primaryphoneline2` , and `primaryphoneline3` . */ override fun phoneNumberFields(phoneNumberFields: IResolvable) { - cdkBuilder.phoneNumberFields(phoneNumberFields.let(IResolvable::unwrap)) + cdkBuilder.phoneNumberFields(phoneNumberFields.let(IResolvable.Companion::unwrap)) } /** @@ -15291,7 +15291,7 @@ public open class CfnWebACL( * specification is `username1` */ override fun usernameField(usernameField: IResolvable) { - cdkBuilder.usernameField(usernameField.let(IResolvable::unwrap)) + cdkBuilder.usernameField(usernameField.let(IResolvable.Companion::unwrap)) } /** @@ -15313,7 +15313,7 @@ public open class CfnWebACL( * specification is `username1` */ override fun usernameField(usernameField: FieldIdentifierProperty) { - cdkBuilder.usernameField(usernameField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.usernameField(usernameField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -15736,7 +15736,7 @@ public open class CfnWebACL( * specification is `password1` . */ override fun passwordField(passwordField: IResolvable) { - cdkBuilder.passwordField(passwordField.let(IResolvable::unwrap)) + cdkBuilder.passwordField(passwordField.let(IResolvable.Companion::unwrap)) } /** @@ -15758,7 +15758,7 @@ public open class CfnWebACL( * specification is `password1` . */ override fun passwordField(passwordField: FieldIdentifierProperty) { - cdkBuilder.passwordField(passwordField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.passwordField(passwordField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -15810,7 +15810,7 @@ public open class CfnWebACL( * specification is `username1` */ override fun usernameField(usernameField: IResolvable) { - cdkBuilder.usernameField(usernameField.let(IResolvable::unwrap)) + cdkBuilder.usernameField(usernameField.let(IResolvable.Companion::unwrap)) } /** @@ -15832,7 +15832,7 @@ public open class CfnWebACL( * specification is `username1` */ override fun usernameField(usernameField: FieldIdentifierProperty) { - cdkBuilder.usernameField(usernameField.let(FieldIdentifierProperty::unwrap)) + cdkBuilder.usernameField(usernameField.let(FieldIdentifierProperty.Companion::unwrap)) } /** @@ -16824,7 +16824,7 @@ public open class CfnWebACL( * AWS WAF can inspect the first 65,536 bytes (64 KB) of the response body. */ override fun bodyContains(bodyContains: IResolvable) { - cdkBuilder.bodyContains(bodyContains.let(IResolvable::unwrap)) + cdkBuilder.bodyContains(bodyContains.let(IResolvable.Companion::unwrap)) } /** @@ -16833,7 +16833,7 @@ public open class CfnWebACL( * AWS WAF can inspect the first 65,536 bytes (64 KB) of the response body. */ override fun bodyContains(bodyContains: ResponseInspectionBodyContainsProperty) { - cdkBuilder.bodyContains(bodyContains.let(ResponseInspectionBodyContainsProperty::unwrap)) + cdkBuilder.bodyContains(bodyContains.let(ResponseInspectionBodyContainsProperty.Companion::unwrap)) } /** @@ -16852,7 +16852,7 @@ public open class CfnWebACL( * indicators. */ override fun `header`(`header`: IResolvable) { - cdkBuilder.`header`(`header`.let(IResolvable::unwrap)) + cdkBuilder.`header`(`header`.let(IResolvable.Companion::unwrap)) } /** @@ -16860,7 +16860,7 @@ public open class CfnWebACL( * indicators. */ override fun `header`(`header`: ResponseInspectionHeaderProperty) { - cdkBuilder.`header`(`header`.let(ResponseInspectionHeaderProperty::unwrap)) + cdkBuilder.`header`(`header`.let(ResponseInspectionHeaderProperty.Companion::unwrap)) } /** @@ -16877,7 +16877,7 @@ public open class CfnWebACL( * AWS WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. */ override fun json(json: IResolvable) { - cdkBuilder.json(json.let(IResolvable::unwrap)) + cdkBuilder.json(json.let(IResolvable.Companion::unwrap)) } /** @@ -16885,7 +16885,7 @@ public open class CfnWebACL( * AWS WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. */ override fun json(json: ResponseInspectionJsonProperty) { - cdkBuilder.json(json.let(ResponseInspectionJsonProperty::unwrap)) + cdkBuilder.json(json.let(ResponseInspectionJsonProperty.Companion::unwrap)) } /** @@ -16902,7 +16902,7 @@ public open class CfnWebACL( * indicators. */ override fun statusCode(statusCode: IResolvable) { - cdkBuilder.statusCode(statusCode.let(IResolvable::unwrap)) + cdkBuilder.statusCode(statusCode.let(IResolvable.Companion::unwrap)) } /** @@ -16910,7 +16910,7 @@ public open class CfnWebACL( * indicators. */ override fun statusCode(statusCode: ResponseInspectionStatusCodeProperty) { - cdkBuilder.statusCode(statusCode.let(ResponseInspectionStatusCodeProperty::unwrap)) + cdkBuilder.statusCode(statusCode.let(ResponseInspectionStatusCodeProperty.Companion::unwrap)) } /** @@ -17109,7 +17109,7 @@ public open class CfnWebACL( * JSON example: `"FailureCodes": [ 400, 404 ]` */ override fun failureCodes(failureCodes: IResolvable) { - cdkBuilder.failureCodes(failureCodes.let(IResolvable::unwrap)) + cdkBuilder.failureCodes(failureCodes.let(IResolvable.Companion::unwrap)) } /** @@ -17144,7 +17144,7 @@ public open class CfnWebACL( * JSON example: `"SuccessCodes": [ 200, 201 ]` */ override fun successCodes(successCodes: IResolvable) { - cdkBuilder.successCodes(successCodes.let(IResolvable::unwrap)) + cdkBuilder.successCodes(successCodes.let(IResolvable.Companion::unwrap)) } /** @@ -17346,7 +17346,7 @@ public open class CfnWebACL( * rule in the rule group. */ override fun actionToUse(actionToUse: IResolvable) { - cdkBuilder.actionToUse(actionToUse.let(IResolvable::unwrap)) + cdkBuilder.actionToUse(actionToUse.let(IResolvable.Companion::unwrap)) } /** @@ -17354,7 +17354,7 @@ public open class CfnWebACL( * rule in the rule group. */ override fun actionToUse(actionToUse: RuleActionProperty) { - cdkBuilder.actionToUse(actionToUse.let(RuleActionProperty::unwrap)) + cdkBuilder.actionToUse(actionToUse.let(RuleActionProperty.Companion::unwrap)) } /** @@ -17682,14 +17682,14 @@ public open class CfnWebACL( * @param allow Instructs AWS WAF to allow the web request. */ override fun allow(allow: IResolvable) { - cdkBuilder.allow(allow.let(IResolvable::unwrap)) + cdkBuilder.allow(allow.let(IResolvable.Companion::unwrap)) } /** * @param allow Instructs AWS WAF to allow the web request. */ override fun allow(allow: AllowActionProperty) { - cdkBuilder.allow(allow.let(AllowActionProperty::unwrap)) + cdkBuilder.allow(allow.let(AllowActionProperty.Companion::unwrap)) } /** @@ -17704,14 +17704,14 @@ public open class CfnWebACL( * @param block Instructs AWS WAF to block the web request. */ override fun block(block: IResolvable) { - cdkBuilder.block(block.let(IResolvable::unwrap)) + cdkBuilder.block(block.let(IResolvable.Companion::unwrap)) } /** * @param block Instructs AWS WAF to block the web request. */ override fun block(block: BlockActionProperty) { - cdkBuilder.block(block.let(BlockActionProperty::unwrap)) + cdkBuilder.block(block.let(BlockActionProperty.Companion::unwrap)) } /** @@ -17743,7 +17743,7 @@ public open class CfnWebACL( * This action option is available for rules. It isn't available for web ACL default actions. */ override fun captcha(captcha: IResolvable) { - cdkBuilder.captcha(captcha.let(IResolvable::unwrap)) + cdkBuilder.captcha(captcha.let(IResolvable.Companion::unwrap)) } /** @@ -17767,7 +17767,7 @@ public open class CfnWebACL( * This action option is available for rules. It isn't available for web ACL default actions. */ override fun captcha(captcha: CaptchaActionProperty) { - cdkBuilder.captcha(captcha.let(CaptchaActionProperty::unwrap)) + cdkBuilder.captcha(captcha.let(CaptchaActionProperty.Companion::unwrap)) } /** @@ -17799,14 +17799,14 @@ public open class CfnWebACL( * @param challenge Instructs AWS WAF to run a `Challenge` check against the web request. */ override fun challenge(challenge: IResolvable) { - cdkBuilder.challenge(challenge.let(IResolvable::unwrap)) + cdkBuilder.challenge(challenge.let(IResolvable.Companion::unwrap)) } /** * @param challenge Instructs AWS WAF to run a `Challenge` check against the web request. */ override fun challenge(challenge: ChallengeActionProperty) { - cdkBuilder.challenge(challenge.let(ChallengeActionProperty::unwrap)) + cdkBuilder.challenge(challenge.let(ChallengeActionProperty.Companion::unwrap)) } /** @@ -17822,7 +17822,7 @@ public open class CfnWebACL( * request using the remaining rules in the web ACL. */ override fun count(count: IResolvable) { - cdkBuilder.count(count.let(IResolvable::unwrap)) + cdkBuilder.count(count.let(IResolvable.Companion::unwrap)) } /** @@ -17830,7 +17830,7 @@ public open class CfnWebACL( * request using the remaining rules in the web ACL. */ override fun count(count: CountActionProperty) { - cdkBuilder.count(count.let(CountActionProperty::unwrap)) + cdkBuilder.count(count.let(CountActionProperty.Companion::unwrap)) } /** @@ -18124,7 +18124,7 @@ public open class CfnWebACL( * including `Count` . */ override fun excludedRules(excludedRules: IResolvable) { - cdkBuilder.excludedRules(excludedRules.let(IResolvable::unwrap)) + cdkBuilder.excludedRules(excludedRules.let(IResolvable.Companion::unwrap)) } /** @@ -18157,7 +18157,7 @@ public open class CfnWebACL( * the rule group manages your web traffic. */ override fun ruleActionOverrides(ruleActionOverrides: IResolvable) { - cdkBuilder.ruleActionOverrides(ruleActionOverrides.let(IResolvable::unwrap)) + cdkBuilder.ruleActionOverrides(ruleActionOverrides.let(IResolvable.Companion::unwrap)) } /** @@ -18716,7 +18716,7 @@ public open class CfnWebACL( * are set on the rules in the rule group. */ override fun action(action: IResolvable) { - cdkBuilder.action(action.let(IResolvable::unwrap)) + cdkBuilder.action(action.let(IResolvable.Companion::unwrap)) } /** @@ -18738,7 +18738,7 @@ public open class CfnWebACL( * are set on the rules in the rule group. */ override fun action(action: RuleActionProperty) { - cdkBuilder.action(action.let(RuleActionProperty::unwrap)) + cdkBuilder.action(action.let(RuleActionProperty.Companion::unwrap)) } /** @@ -18770,7 +18770,7 @@ public open class CfnWebACL( * web ACL. */ override fun captchaConfig(captchaConfig: IResolvable) { - cdkBuilder.captchaConfig(captchaConfig.let(IResolvable::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -18779,7 +18779,7 @@ public open class CfnWebACL( * web ACL. */ override fun captchaConfig(captchaConfig: CaptchaConfigProperty) { - cdkBuilder.captchaConfig(captchaConfig.let(CaptchaConfigProperty::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(CaptchaConfigProperty.Companion::unwrap)) } /** @@ -18798,7 +18798,7 @@ public open class CfnWebACL( * web ACL. */ override fun challengeConfig(challengeConfig: IResolvable) { - cdkBuilder.challengeConfig(challengeConfig.let(IResolvable::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -18807,7 +18807,7 @@ public open class CfnWebACL( * web ACL. */ override fun challengeConfig(challengeConfig: ChallengeConfigProperty) { - cdkBuilder.challengeConfig(challengeConfig.let(ChallengeConfigProperty::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(ChallengeConfigProperty.Companion::unwrap)) } /** @@ -18847,7 +18847,7 @@ public open class CfnWebACL( * setting and you must not set the rule's override action setting. */ override fun overrideAction(overrideAction: IResolvable) { - cdkBuilder.overrideAction(overrideAction.let(IResolvable::unwrap)) + cdkBuilder.overrideAction(overrideAction.let(IResolvable.Companion::unwrap)) } /** @@ -18867,7 +18867,7 @@ public open class CfnWebACL( * setting and you must not set the rule's override action setting. */ override fun overrideAction(overrideAction: OverrideActionProperty) { - cdkBuilder.overrideAction(overrideAction.let(OverrideActionProperty::unwrap)) + cdkBuilder.overrideAction(overrideAction.let(OverrideActionProperty.Companion::unwrap)) } /** @@ -18922,7 +18922,7 @@ public open class CfnWebACL( * For example, `myLabelName` or `nameSpace1:nameSpace2:myLabelName` . */ override fun ruleLabels(ruleLabels: IResolvable) { - cdkBuilder.ruleLabels(ruleLabels.let(IResolvable::unwrap)) + cdkBuilder.ruleLabels(ruleLabels.let(IResolvable.Companion::unwrap)) } /** @@ -18976,7 +18976,7 @@ public open class CfnWebACL( * `ByteMatchStatement` or `SizeConstraintStatement` . */ override fun statement(statement: IResolvable) { - cdkBuilder.statement(statement.let(IResolvable::unwrap)) + cdkBuilder.statement(statement.let(IResolvable.Companion::unwrap)) } /** @@ -18984,7 +18984,7 @@ public open class CfnWebACL( * `ByteMatchStatement` or `SizeConstraintStatement` . */ override fun statement(statement: StatementProperty) { - cdkBuilder.statement(statement.let(StatementProperty::unwrap)) + cdkBuilder.statement(statement.let(StatementProperty.Companion::unwrap)) } /** @@ -19004,7 +19004,7 @@ public open class CfnWebACL( * the metric name. */ override fun visibilityConfig(visibilityConfig: IResolvable) { - cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -19015,7 +19015,7 @@ public open class CfnWebACL( * the metric name. */ override fun visibilityConfig(visibilityConfig: VisibilityConfigProperty) { - cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(VisibilityConfigProperty.Companion::unwrap)) } /** @@ -19557,14 +19557,14 @@ public open class CfnWebACL( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -19590,7 +19590,7 @@ public open class CfnWebACL( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -19860,14 +19860,14 @@ public open class CfnWebACL( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -19904,7 +19904,7 @@ public open class CfnWebACL( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** @@ -21110,7 +21110,7 @@ public open class CfnWebACL( * You provide more than one `Statement` within the `AndStatement` . */ override fun andStatement(andStatement: IResolvable) { - cdkBuilder.andStatement(andStatement.let(IResolvable::unwrap)) + cdkBuilder.andStatement(andStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21119,7 +21119,7 @@ public open class CfnWebACL( * You provide more than one `Statement` within the `AndStatement` . */ override fun andStatement(andStatement: AndStatementProperty) { - cdkBuilder.andStatement(andStatement.let(AndStatementProperty::unwrap)) + cdkBuilder.andStatement(andStatement.let(AndStatementProperty.Companion::unwrap)) } /** @@ -21141,7 +21141,7 @@ public open class CfnWebACL( * is called a string match statement. */ override fun byteMatchStatement(byteMatchStatement: IResolvable) { - cdkBuilder.byteMatchStatement(byteMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.byteMatchStatement(byteMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21153,7 +21153,7 @@ public open class CfnWebACL( * is called a string match statement. */ override fun byteMatchStatement(byteMatchStatement: ByteMatchStatementProperty) { - cdkBuilder.byteMatchStatement(byteMatchStatement.let(ByteMatchStatementProperty::unwrap)) + cdkBuilder.byteMatchStatement(byteMatchStatement.let(ByteMatchStatementProperty.Companion::unwrap)) } /** @@ -21201,7 +21201,7 @@ public open class CfnWebACL( * Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . */ override fun geoMatchStatement(geoMatchStatement: IResolvable) { - cdkBuilder.geoMatchStatement(geoMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.geoMatchStatement(geoMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21235,7 +21235,7 @@ public open class CfnWebACL( * Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . */ override fun geoMatchStatement(geoMatchStatement: GeoMatchStatementProperty) { - cdkBuilder.geoMatchStatement(geoMatchStatement.let(GeoMatchStatementProperty::unwrap)) + cdkBuilder.geoMatchStatement(geoMatchStatement.let(GeoMatchStatementProperty.Companion::unwrap)) } /** @@ -21285,7 +21285,7 @@ public open class CfnWebACL( * update the referenced set, AWS WAF automatically updates all rules that reference it. */ override fun ipSetReferenceStatement(ipSetReferenceStatement: IResolvable) { - cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IResolvable::unwrap)) + cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21300,7 +21300,7 @@ public open class CfnWebACL( */ override fun ipSetReferenceStatement(ipSetReferenceStatement: IPSetReferenceStatementProperty) { - cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IPSetReferenceStatementProperty::unwrap)) + cdkBuilder.ipSetReferenceStatement(ipSetReferenceStatement.let(IPSetReferenceStatementProperty.Companion::unwrap)) } /** @@ -21330,7 +21330,7 @@ public open class CfnWebACL( * search for labels that were added in the same context as the label match statement. */ override fun labelMatchStatement(labelMatchStatement: IResolvable) { - cdkBuilder.labelMatchStatement(labelMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.labelMatchStatement(labelMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21344,7 +21344,7 @@ public open class CfnWebACL( * search for labels that were added in the same context as the label match statement. */ override fun labelMatchStatement(labelMatchStatement: LabelMatchStatementProperty) { - cdkBuilder.labelMatchStatement(labelMatchStatement.let(LabelMatchStatementProperty::unwrap)) + cdkBuilder.labelMatchStatement(labelMatchStatement.let(LabelMatchStatementProperty.Companion::unwrap)) } /** @@ -21380,7 +21380,7 @@ public open class CfnWebACL( * information, see [AWS WAF Pricing](https://docs.aws.amazon.com/waf/pricing/) . */ override fun managedRuleGroupStatement(managedRuleGroupStatement: IResolvable) { - cdkBuilder.managedRuleGroupStatement(managedRuleGroupStatement.let(IResolvable::unwrap)) + cdkBuilder.managedRuleGroupStatement(managedRuleGroupStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21401,7 +21401,7 @@ public open class CfnWebACL( */ override fun managedRuleGroupStatement(managedRuleGroupStatement: ManagedRuleGroupStatementProperty) { - cdkBuilder.managedRuleGroupStatement(managedRuleGroupStatement.let(ManagedRuleGroupStatementProperty::unwrap)) + cdkBuilder.managedRuleGroupStatement(managedRuleGroupStatement.let(ManagedRuleGroupStatementProperty.Companion::unwrap)) } /** @@ -21433,7 +21433,7 @@ public open class CfnWebACL( * You provide one `Statement` within the `NotStatement` . */ override fun notStatement(notStatement: IResolvable) { - cdkBuilder.notStatement(notStatement.let(IResolvable::unwrap)) + cdkBuilder.notStatement(notStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21442,7 +21442,7 @@ public open class CfnWebACL( * You provide one `Statement` within the `NotStatement` . */ override fun notStatement(notStatement: NotStatementProperty) { - cdkBuilder.notStatement(notStatement.let(NotStatementProperty::unwrap)) + cdkBuilder.notStatement(notStatement.let(NotStatementProperty.Companion::unwrap)) } /** @@ -21461,7 +21461,7 @@ public open class CfnWebACL( * You provide more than one `Statement` within the `OrStatement` . */ override fun orStatement(orStatement: IResolvable) { - cdkBuilder.orStatement(orStatement.let(IResolvable::unwrap)) + cdkBuilder.orStatement(orStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21470,7 +21470,7 @@ public open class CfnWebACL( * You provide more than one `Statement` within the `OrStatement` . */ override fun orStatement(orStatement: OrStatementProperty) { - cdkBuilder.orStatement(orStatement.let(OrStatementProperty::unwrap)) + cdkBuilder.orStatement(orStatement.let(OrStatementProperty.Companion::unwrap)) } /** @@ -21563,7 +21563,7 @@ public open class CfnWebACL( * of the rate-based rule that gets its own tracking and management by AWS WAF . */ override fun rateBasedStatement(rateBasedStatement: IResolvable) { - cdkBuilder.rateBasedStatement(rateBasedStatement.let(IResolvable::unwrap)) + cdkBuilder.rateBasedStatement(rateBasedStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21646,7 +21646,7 @@ public open class CfnWebACL( * of the rate-based rule that gets its own tracking and management by AWS WAF . */ override fun rateBasedStatement(rateBasedStatement: RateBasedStatementProperty) { - cdkBuilder.rateBasedStatement(rateBasedStatement.let(RateBasedStatementProperty::unwrap)) + cdkBuilder.rateBasedStatement(rateBasedStatement.let(RateBasedStatementProperty.Companion::unwrap)) } /** @@ -21739,7 +21739,7 @@ public open class CfnWebACL( * match against a single regular expression. */ override fun regexMatchStatement(regexMatchStatement: IResolvable) { - cdkBuilder.regexMatchStatement(regexMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.regexMatchStatement(regexMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21747,7 +21747,7 @@ public open class CfnWebACL( * match against a single regular expression. */ override fun regexMatchStatement(regexMatchStatement: RegexMatchStatementProperty) { - cdkBuilder.regexMatchStatement(regexMatchStatement.let(RegexMatchStatementProperty::unwrap)) + cdkBuilder.regexMatchStatement(regexMatchStatement.let(RegexMatchStatementProperty.Companion::unwrap)) } /** @@ -21774,7 +21774,7 @@ public open class CfnWebACL( */ override fun regexPatternSetReferenceStatement(regexPatternSetReferenceStatement: IResolvable) { - cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(IResolvable::unwrap)) + cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21791,7 +21791,7 @@ public open class CfnWebACL( */ override fun regexPatternSetReferenceStatement(regexPatternSetReferenceStatement: RegexPatternSetReferenceStatementProperty) { - cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(RegexPatternSetReferenceStatementProperty::unwrap)) + cdkBuilder.regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.let(RegexPatternSetReferenceStatementProperty.Companion::unwrap)) } /** @@ -21825,7 +21825,7 @@ public open class CfnWebACL( * that you define in a web ACL. */ override fun ruleGroupReferenceStatement(ruleGroupReferenceStatement: IResolvable) { - cdkBuilder.ruleGroupReferenceStatement(ruleGroupReferenceStatement.let(IResolvable::unwrap)) + cdkBuilder.ruleGroupReferenceStatement(ruleGroupReferenceStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21841,7 +21841,7 @@ public open class CfnWebACL( */ override fun ruleGroupReferenceStatement(ruleGroupReferenceStatement: RuleGroupReferenceStatementProperty) { - cdkBuilder.ruleGroupReferenceStatement(ruleGroupReferenceStatement.let(RuleGroupReferenceStatementProperty::unwrap)) + cdkBuilder.ruleGroupReferenceStatement(ruleGroupReferenceStatement.let(RuleGroupReferenceStatementProperty.Companion::unwrap)) } /** @@ -21880,7 +21880,7 @@ public open class CfnWebACL( * URI counts as one character. For example, the URI `/logo.jpg` is nine characters long. */ override fun sizeConstraintStatement(sizeConstraintStatement: IResolvable) { - cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(IResolvable::unwrap)) + cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21902,7 +21902,7 @@ public open class CfnWebACL( */ override fun sizeConstraintStatement(sizeConstraintStatement: SizeConstraintStatementProperty) { - cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(SizeConstraintStatementProperty::unwrap)) + cdkBuilder.sizeConstraintStatement(sizeConstraintStatement.let(SizeConstraintStatementProperty.Companion::unwrap)) } /** @@ -21934,7 +21934,7 @@ public open class CfnWebACL( * database or extract data from it. */ override fun sqliMatchStatement(sqliMatchStatement: IResolvable) { - cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21943,7 +21943,7 @@ public open class CfnWebACL( * database or extract data from it. */ override fun sqliMatchStatement(sqliMatchStatement: SqliMatchStatementProperty) { - cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(SqliMatchStatementProperty::unwrap)) + cdkBuilder.sqliMatchStatement(sqliMatchStatement.let(SqliMatchStatementProperty.Companion::unwrap)) } /** @@ -21964,7 +21964,7 @@ public open class CfnWebACL( * inject malicious client-site scripts into other legitimate web browsers. */ override fun xssMatchStatement(xssMatchStatement: IResolvable) { - cdkBuilder.xssMatchStatement(xssMatchStatement.let(IResolvable::unwrap)) + cdkBuilder.xssMatchStatement(xssMatchStatement.let(IResolvable.Companion::unwrap)) } /** @@ -21974,7 +21974,7 @@ public open class CfnWebACL( * inject malicious client-site scripts into other legitimate web browsers. */ override fun xssMatchStatement(xssMatchStatement: XssMatchStatementProperty) { - cdkBuilder.xssMatchStatement(xssMatchStatement.let(XssMatchStatementProperty::unwrap)) + cdkBuilder.xssMatchStatement(xssMatchStatement.let(XssMatchStatementProperty.Companion::unwrap)) } /** @@ -22607,7 +22607,7 @@ public open class CfnWebACL( * the *AWS WAF Developer Guide* . */ override fun cloudWatchMetricsEnabled(cloudWatchMetricsEnabled: IResolvable) { - cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable::unwrap)) + cdkBuilder.cloudWatchMetricsEnabled(cloudWatchMetricsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -22645,7 +22645,7 @@ public open class CfnWebACL( * from request sampling is by disabling sampling in the web ACL visibility configuration. */ override fun sampledRequestsEnabled(sampledRequestsEnabled: IResolvable) { - cdkBuilder.sampledRequestsEnabled(sampledRequestsEnabled.let(IResolvable::unwrap)) + cdkBuilder.sampledRequestsEnabled(sampledRequestsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): software.amazon.awscdk.services.wafv2.CfnWebACL.VisibilityConfigProperty = @@ -22868,14 +22868,14 @@ public open class CfnWebACL( * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: IResolvable) { - cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(IResolvable.Companion::unwrap)) } /** * @param fieldToMatch The part of the web request that you want AWS WAF to inspect. */ override fun fieldToMatch(fieldToMatch: FieldToMatchProperty) { - cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty::unwrap)) + cdkBuilder.fieldToMatch(fieldToMatch.let(FieldToMatchProperty.Companion::unwrap)) } /** @@ -22894,7 +22894,7 @@ public open class CfnWebACL( * starting from the lowest priority setting, before inspecting the content for a match. */ override fun textTransformations(textTransformations: IResolvable) { - cdkBuilder.textTransformations(textTransformations.let(IResolvable::unwrap)) + cdkBuilder.textTransformations(textTransformations.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLAssociation.kt index 8d9be7af17..4a2d5a5a38 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLAssociation.kt @@ -77,8 +77,8 @@ public open class CfnWebACLAssociation( id: String, props: CfnWebACLAssociationProps, ) : - this(software.amazon.awscdk.services.wafv2.CfnWebACLAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWebACLAssociationProps::unwrap)) + this(software.amazon.awscdk.services.wafv2.CfnWebACLAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWebACLAssociationProps.Companion::unwrap)) ) public constructor( @@ -94,7 +94,7 @@ public open class CfnWebACLAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLProps.kt index 4c35e177b7..1b65bea833 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wafv2/CfnWebACLProps.kt @@ -473,7 +473,7 @@ public interface CfnWebACLProps { * For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). */ override fun associationConfig(associationConfig: IResolvable) { - cdkBuilder.associationConfig(associationConfig.let(IResolvable::unwrap)) + cdkBuilder.associationConfig(associationConfig.let(IResolvable.Companion::unwrap)) } /** @@ -493,7 +493,7 @@ public interface CfnWebACLProps { * For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). */ override fun associationConfig(associationConfig: CfnWebACL.AssociationConfigProperty) { - cdkBuilder.associationConfig(associationConfig.let(CfnWebACL.AssociationConfigProperty::unwrap)) + cdkBuilder.associationConfig(associationConfig.let(CfnWebACL.AssociationConfigProperty.Companion::unwrap)) } /** @@ -524,7 +524,7 @@ public interface CfnWebACLProps { * If you don't specify this, AWS WAF uses its default settings for `CaptchaConfig` . */ override fun captchaConfig(captchaConfig: IResolvable) { - cdkBuilder.captchaConfig(captchaConfig.let(IResolvable::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(IResolvable.Companion::unwrap)) } /** @@ -533,7 +533,7 @@ public interface CfnWebACLProps { * If you don't specify this, AWS WAF uses its default settings for `CaptchaConfig` . */ override fun captchaConfig(captchaConfig: CfnWebACL.CaptchaConfigProperty) { - cdkBuilder.captchaConfig(captchaConfig.let(CfnWebACL.CaptchaConfigProperty::unwrap)) + cdkBuilder.captchaConfig(captchaConfig.let(CfnWebACL.CaptchaConfigProperty.Companion::unwrap)) } /** @@ -552,7 +552,7 @@ public interface CfnWebACLProps { * If you don't specify this, AWS WAF uses its default settings for `ChallengeConfig` . */ override fun challengeConfig(challengeConfig: IResolvable) { - cdkBuilder.challengeConfig(challengeConfig.let(IResolvable::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(IResolvable.Companion::unwrap)) } /** @@ -561,7 +561,7 @@ public interface CfnWebACLProps { * If you don't specify this, AWS WAF uses its default settings for `ChallengeConfig` . */ override fun challengeConfig(challengeConfig: CfnWebACL.ChallengeConfigProperty) { - cdkBuilder.challengeConfig(challengeConfig.let(CfnWebACL.ChallengeConfigProperty::unwrap)) + cdkBuilder.challengeConfig(challengeConfig.let(CfnWebACL.ChallengeConfigProperty.Companion::unwrap)) } /** @@ -591,7 +591,7 @@ public interface CfnWebACLProps { * *AWS WAF Developer Guide* . */ override fun customResponseBodies(customResponseBodies: IResolvable) { - cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable::unwrap)) + cdkBuilder.customResponseBodies(customResponseBodies.let(IResolvable.Companion::unwrap)) } /** @@ -618,7 +618,7 @@ public interface CfnWebACLProps { * match. */ override fun defaultAction(defaultAction: IResolvable) { - cdkBuilder.defaultAction(defaultAction.let(IResolvable::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(IResolvable.Companion::unwrap)) } /** @@ -626,7 +626,7 @@ public interface CfnWebACLProps { * match. */ override fun defaultAction(defaultAction: CfnWebACL.DefaultActionProperty) { - cdkBuilder.defaultAction(defaultAction.let(CfnWebACL.DefaultActionProperty::unwrap)) + cdkBuilder.defaultAction(defaultAction.let(CfnWebACL.DefaultActionProperty.Companion::unwrap)) } /** @@ -659,7 +659,7 @@ public interface CfnWebACLProps { * requests, and parameters that govern how AWS WAF handles them. */ override fun rules(rules: IResolvable) { - cdkBuilder.rules(rules.let(IResolvable::unwrap)) + cdkBuilder.rules(rules.let(IResolvable.Companion::unwrap)) } /** @@ -708,7 +708,7 @@ public interface CfnWebACLProps { * AWS CloudFormation , you can only add tags to AWS WAF resources during resource creation. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -751,7 +751,7 @@ public interface CfnWebACLProps { * collection. */ override fun visibilityConfig(visibilityConfig: IResolvable) { - cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(IResolvable.Companion::unwrap)) } /** @@ -759,7 +759,7 @@ public interface CfnWebACLProps { * collection. */ override fun visibilityConfig(visibilityConfig: CfnWebACL.VisibilityConfigProperty) { - cdkBuilder.visibilityConfig(visibilityConfig.let(CfnWebACL.VisibilityConfigProperty::unwrap)) + cdkBuilder.visibilityConfig(visibilityConfig.let(CfnWebACL.VisibilityConfigProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistant.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistant.kt index 6a45e09714..d9c7ae9c3f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistant.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistant.kt @@ -54,8 +54,8 @@ public open class CfnAssistant( id: String, props: CfnAssistantProps, ) : - this(software.amazon.awscdk.services.wisdom.CfnAssistant(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssistantProps::unwrap)) + this(software.amazon.awscdk.services.wisdom.CfnAssistant(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssistantProps.Companion::unwrap)) ) public constructor( @@ -93,7 +93,7 @@ public open class CfnAssistant( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -118,7 +118,7 @@ public open class CfnAssistant( * The configuration information for the customer managed key used for encryption. */ public open fun serverSideEncryptionConfiguration(`value`: IResolvable) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -126,7 +126,7 @@ public open class CfnAssistant( */ public open fun serverSideEncryptionConfiguration(`value`: ServerSideEncryptionConfigurationProperty) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -153,7 +153,7 @@ public open class CfnAssistant( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public open class CfnAssistant( * managed key used for encryption. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -337,7 +337,7 @@ public open class CfnAssistant( */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -369,7 +369,7 @@ public open class CfnAssistant( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociation.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociation.kt index 03288f67df..0cc017563e 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociation.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociation.kt @@ -57,8 +57,8 @@ public open class CfnAssistantAssociation( id: String, props: CfnAssistantAssociationProps, ) : - this(software.amazon.awscdk.services.wisdom.CfnAssistantAssociation(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnAssistantAssociationProps::unwrap)) + this(software.amazon.awscdk.services.wisdom.CfnAssistantAssociation(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnAssistantAssociationProps.Companion::unwrap)) ) public constructor( @@ -89,14 +89,14 @@ public open class CfnAssistantAssociation( * The identifier of the associated resource. */ public open fun association(`value`: IResolvable) { - unwrap(this).setAssociation(`value`.let(IResolvable::unwrap)) + unwrap(this).setAssociation(`value`.let(IResolvable.Companion::unwrap)) } /** * The identifier of the associated resource. */ public open fun association(`value`: AssociationDataProperty) { - unwrap(this).setAssociation(`value`.let(AssociationDataProperty::unwrap)) + unwrap(this).setAssociation(`value`.let(AssociationDataProperty.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public open class CfnAssistantAssociation( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -160,7 +160,7 @@ public open class CfnAssistantAssociation( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -256,7 +256,7 @@ public open class CfnAssistantAssociation( * @param association The identifier of the associated resource. */ override fun association(association: IResolvable) { - cdkBuilder.association(association.let(IResolvable::unwrap)) + cdkBuilder.association(association.let(IResolvable.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnAssistantAssociation( * @param association The identifier of the associated resource. */ override fun association(association: AssociationDataProperty) { - cdkBuilder.association(association.let(AssociationDataProperty::unwrap)) + cdkBuilder.association(association.let(AssociationDataProperty.Companion::unwrap)) } /** @@ -297,7 +297,7 @@ public open class CfnAssistantAssociation( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociationProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociationProps.kt index 0a8228d6c3..9cb43b037a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociationProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantAssociationProps.kt @@ -128,14 +128,14 @@ public interface CfnAssistantAssociationProps { * @param association The identifier of the associated resource. */ override fun association(association: IResolvable) { - cdkBuilder.association(association.let(IResolvable::unwrap)) + cdkBuilder.association(association.let(IResolvable.Companion::unwrap)) } /** * @param association The identifier of the associated resource. */ override fun association(association: CfnAssistantAssociation.AssociationDataProperty) { - cdkBuilder.association(association.let(CfnAssistantAssociation.AssociationDataProperty::unwrap)) + cdkBuilder.association(association.let(CfnAssistantAssociation.AssociationDataProperty.Companion::unwrap)) } /** @@ -158,7 +158,7 @@ public interface CfnAssistantAssociationProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantProps.kt index eab9b85bf4..7eebbce57c 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnAssistantProps.kt @@ -187,7 +187,7 @@ public interface CfnAssistantProps { * instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) . */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -203,7 +203,7 @@ public interface CfnAssistantProps { */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: CfnAssistant.ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnAssistant.ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnAssistant.ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -228,7 +228,7 @@ public interface CfnAssistantProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBase.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBase.kt index 589a3f46fc..39a99a6008 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBase.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBase.kt @@ -64,8 +64,8 @@ public open class CfnKnowledgeBase( id: String, props: CfnKnowledgeBaseProps, ) : - this(software.amazon.awscdk.services.wisdom.CfnKnowledgeBase(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnKnowledgeBaseProps::unwrap)) + this(software.amazon.awscdk.services.wisdom.CfnKnowledgeBase(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnKnowledgeBaseProps.Companion::unwrap)) ) public constructor( @@ -103,7 +103,7 @@ public open class CfnKnowledgeBase( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -139,14 +139,14 @@ public open class CfnKnowledgeBase( * Information about how to render the content. */ public open fun renderingConfiguration(`value`: IResolvable) { - unwrap(this).setRenderingConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setRenderingConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * Information about how to render the content. */ public open fun renderingConfiguration(`value`: RenderingConfigurationProperty) { - unwrap(this).setRenderingConfiguration(`value`.let(RenderingConfigurationProperty::unwrap)) + unwrap(this).setRenderingConfiguration(`value`.let(RenderingConfigurationProperty.Companion::unwrap)) } /** @@ -170,7 +170,7 @@ public open class CfnKnowledgeBase( * `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom. */ public open fun serverSideEncryptionConfiguration(`value`: IResolvable) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -179,7 +179,7 @@ public open class CfnKnowledgeBase( */ public open fun serverSideEncryptionConfiguration(`value`: ServerSideEncryptionConfigurationProperty) { - unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty::unwrap)) + unwrap(this).setServerSideEncryptionConfiguration(`value`.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -201,14 +201,14 @@ public open class CfnKnowledgeBase( * The source of the knowledge base content. */ public open fun sourceConfiguration(`value`: IResolvable) { - unwrap(this).setSourceConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setSourceConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The source of the knowledge base content. */ public open fun sourceConfiguration(`value`: SourceConfigurationProperty) { - unwrap(this).setSourceConfiguration(`value`.let(SourceConfigurationProperty::unwrap)) + unwrap(this).setSourceConfiguration(`value`.let(SourceConfigurationProperty.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnKnowledgeBase( * The tags used to organize, track, or control access for this resource. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -456,7 +456,7 @@ public open class CfnKnowledgeBase( * @param renderingConfiguration Information about how to render the content. */ override fun renderingConfiguration(renderingConfiguration: IResolvable) { - cdkBuilder.renderingConfiguration(renderingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.renderingConfiguration(renderingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -466,7 +466,7 @@ public open class CfnKnowledgeBase( * @param renderingConfiguration Information about how to render the content. */ override fun renderingConfiguration(renderingConfiguration: RenderingConfigurationProperty) { - cdkBuilder.renderingConfiguration(renderingConfiguration.let(RenderingConfigurationProperty::unwrap)) + cdkBuilder.renderingConfiguration(renderingConfiguration.let(RenderingConfigurationProperty.Companion::unwrap)) } /** @@ -498,7 +498,7 @@ public open class CfnKnowledgeBase( * invoke Wisdom. */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -519,7 +519,7 @@ public open class CfnKnowledgeBase( */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -554,7 +554,7 @@ public open class CfnKnowledgeBase( * @param sourceConfiguration The source of the knowledge base content. */ override fun sourceConfiguration(sourceConfiguration: IResolvable) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -566,7 +566,7 @@ public open class CfnKnowledgeBase( * @param sourceConfiguration The source of the knowledge base content. */ override fun sourceConfiguration(sourceConfiguration: SourceConfigurationProperty) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(SourceConfigurationProperty::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(SourceConfigurationProperty.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public open class CfnKnowledgeBase( * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -1285,7 +1285,7 @@ public open class CfnKnowledgeBase( * automatically ingest content. */ override fun appIntegrations(appIntegrations: IResolvable) { - cdkBuilder.appIntegrations(appIntegrations.let(IResolvable::unwrap)) + cdkBuilder.appIntegrations(appIntegrations.let(IResolvable.Companion::unwrap)) } /** @@ -1293,7 +1293,7 @@ public open class CfnKnowledgeBase( * automatically ingest content. */ override fun appIntegrations(appIntegrations: AppIntegrationsConfigurationProperty) { - cdkBuilder.appIntegrations(appIntegrations.let(AppIntegrationsConfigurationProperty::unwrap)) + cdkBuilder.appIntegrations(appIntegrations.let(AppIntegrationsConfigurationProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBaseProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBaseProps.kt index a434ddd26e..66671bcfa0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBaseProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/wisdom/CfnKnowledgeBaseProps.kt @@ -261,7 +261,7 @@ public interface CfnKnowledgeBaseProps { * @param renderingConfiguration Information about how to render the content. */ override fun renderingConfiguration(renderingConfiguration: IResolvable) { - cdkBuilder.renderingConfiguration(renderingConfiguration.let(IResolvable::unwrap)) + cdkBuilder.renderingConfiguration(renderingConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface CfnKnowledgeBaseProps { */ override fun renderingConfiguration(renderingConfiguration: CfnKnowledgeBase.RenderingConfigurationProperty) { - cdkBuilder.renderingConfiguration(renderingConfiguration.let(CfnKnowledgeBase.RenderingConfigurationProperty::unwrap)) + cdkBuilder.renderingConfiguration(renderingConfiguration.let(CfnKnowledgeBase.RenderingConfigurationProperty.Companion::unwrap)) } /** @@ -294,7 +294,7 @@ public interface CfnKnowledgeBaseProps { * Key Management Service Developer Guide* . */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: IResolvable) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -310,7 +310,7 @@ public interface CfnKnowledgeBaseProps { */ override fun serverSideEncryptionConfiguration(serverSideEncryptionConfiguration: CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty) { - cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty::unwrap)) + cdkBuilder.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.let(CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty.Companion::unwrap)) } /** @@ -336,7 +336,7 @@ public interface CfnKnowledgeBaseProps { * Only set this argument for EXTERNAL knowledge bases. */ override fun sourceConfiguration(sourceConfiguration: IResolvable) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -345,7 +345,7 @@ public interface CfnKnowledgeBaseProps { */ override fun sourceConfiguration(sourceConfiguration: CfnKnowledgeBase.SourceConfigurationProperty) { - cdkBuilder.sourceConfiguration(sourceConfiguration.let(CfnKnowledgeBase.SourceConfigurationProperty::unwrap)) + cdkBuilder.sourceConfiguration(sourceConfiguration.let(CfnKnowledgeBase.SourceConfigurationProperty.Companion::unwrap)) } /** @@ -363,7 +363,7 @@ public interface CfnKnowledgeBaseProps { * @param tags The tags used to organize, track, or control access for this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAlias.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAlias.kt index 21681aff66..741c8d8f00 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAlias.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAlias.kt @@ -53,8 +53,8 @@ public open class CfnConnectionAlias( id: String, props: CfnConnectionAliasProps, ) : - this(software.amazon.awscdk.services.workspaces.CfnConnectionAlias(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnConnectionAliasProps::unwrap)) + this(software.amazon.awscdk.services.workspaces.CfnConnectionAlias(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnConnectionAliasProps.Companion::unwrap)) ) public constructor( @@ -98,7 +98,7 @@ public open class CfnConnectionAlias( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -116,7 +116,7 @@ public open class CfnConnectionAlias( * The tags to associate with the connection alias. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -184,7 +184,7 @@ public open class CfnConnectionAlias( * @param tags The tags to associate with the connection alias. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAliasProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAliasProps.kt index 05383b5d05..5581594fb7 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAliasProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnConnectionAliasProps.kt @@ -90,7 +90,7 @@ public interface CfnConnectionAliasProps { * @param tags The tags to associate with the connection alias. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspace.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspace.kt index 20ff7f9f7f..ab34749470 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspace.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspace.kt @@ -67,8 +67,8 @@ public open class CfnWorkspace( id: String, props: CfnWorkspaceProps, ) : - this(software.amazon.awscdk.services.workspaces.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnWorkspaceProps::unwrap)) + this(software.amazon.awscdk.services.workspaces.CfnWorkspace(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnWorkspaceProps.Companion::unwrap)) ) public constructor( @@ -113,7 +113,7 @@ public open class CfnWorkspace( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -133,7 +133,7 @@ public open class CfnWorkspace( * Indicates whether the data stored on the root volume is encrypted. */ public open fun rootVolumeEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setRootVolumeEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setRootVolumeEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -151,7 +151,7 @@ public open class CfnWorkspace( * The tags for the WorkSpace. */ public open fun tagsRaw(`value`: List) { - unwrap(this).setTagsRaw(`value`.map(CfnTag::unwrap)) + unwrap(this).setTagsRaw(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -188,7 +188,7 @@ public open class CfnWorkspace( * Indicates whether the data stored on the user volume is encrypted. */ public open fun userVolumeEncryptionEnabled(`value`: IResolvable) { - unwrap(this).setUserVolumeEncryptionEnabled(`value`.let(IResolvable::unwrap)) + unwrap(this).setUserVolumeEncryptionEnabled(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -212,14 +212,14 @@ public open class CfnWorkspace( * The WorkSpace properties. */ public open fun workspaceProperties(`value`: IResolvable) { - unwrap(this).setWorkspaceProperties(`value`.let(IResolvable::unwrap)) + unwrap(this).setWorkspaceProperties(`value`.let(IResolvable.Companion::unwrap)) } /** * The WorkSpace properties. */ public open fun workspaceProperties(`value`: WorkspacePropertiesProperty) { - unwrap(this).setWorkspaceProperties(`value`.let(WorkspacePropertiesProperty::unwrap)) + unwrap(this).setWorkspaceProperties(`value`.let(WorkspacePropertiesProperty.Companion::unwrap)) } /** @@ -400,7 +400,7 @@ public open class CfnWorkspace( * encrypted. */ override fun rootVolumeEncryptionEnabled(rootVolumeEncryptionEnabled: IResolvable) { - cdkBuilder.rootVolumeEncryptionEnabled(rootVolumeEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.rootVolumeEncryptionEnabled(rootVolumeEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -410,7 +410,7 @@ public open class CfnWorkspace( * @param tags The tags for the WorkSpace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -454,7 +454,7 @@ public open class CfnWorkspace( * encrypted. */ override fun userVolumeEncryptionEnabled(userVolumeEncryptionEnabled: IResolvable) { - cdkBuilder.userVolumeEncryptionEnabled(userVolumeEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.userVolumeEncryptionEnabled(userVolumeEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -477,7 +477,7 @@ public open class CfnWorkspace( * @param workspaceProperties The WorkSpace properties. */ override fun workspaceProperties(workspaceProperties: IResolvable) { - cdkBuilder.workspaceProperties(workspaceProperties.let(IResolvable::unwrap)) + cdkBuilder.workspaceProperties(workspaceProperties.let(IResolvable.Companion::unwrap)) } /** @@ -487,7 +487,7 @@ public open class CfnWorkspace( * @param workspaceProperties The WorkSpace properties. */ override fun workspaceProperties(workspaceProperties: WorkspacePropertiesProperty) { - cdkBuilder.workspaceProperties(workspaceProperties.let(WorkspacePropertiesProperty::unwrap)) + cdkBuilder.workspaceProperties(workspaceProperties.let(WorkspacePropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspaceProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspaceProps.kt index 88e8aabae3..85bdace4e0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspaceProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspaces/CfnWorkspaceProps.kt @@ -224,14 +224,14 @@ public interface CfnWorkspaceProps { * encrypted. */ override fun rootVolumeEncryptionEnabled(rootVolumeEncryptionEnabled: IResolvable) { - cdkBuilder.rootVolumeEncryptionEnabled(rootVolumeEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.rootVolumeEncryptionEnabled(rootVolumeEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** * @param tags The tags for the WorkSpace. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -262,7 +262,7 @@ public interface CfnWorkspaceProps { * encrypted. */ override fun userVolumeEncryptionEnabled(userVolumeEncryptionEnabled: IResolvable) { - cdkBuilder.userVolumeEncryptionEnabled(userVolumeEncryptionEnabled.let(IResolvable::unwrap)) + cdkBuilder.userVolumeEncryptionEnabled(userVolumeEncryptionEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -278,7 +278,7 @@ public interface CfnWorkspaceProps { * @param workspaceProperties The WorkSpace properties. */ override fun workspaceProperties(workspaceProperties: IResolvable) { - cdkBuilder.workspaceProperties(workspaceProperties.let(IResolvable::unwrap)) + cdkBuilder.workspaceProperties(workspaceProperties.let(IResolvable.Companion::unwrap)) } /** @@ -286,7 +286,7 @@ public interface CfnWorkspaceProps { */ override fun workspaceProperties(workspaceProperties: CfnWorkspace.WorkspacePropertiesProperty) { - cdkBuilder.workspaceProperties(workspaceProperties.let(CfnWorkspace.WorkspacePropertiesProperty::unwrap)) + cdkBuilder.workspaceProperties(workspaceProperties.let(CfnWorkspace.WorkspacePropertiesProperty.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironment.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironment.kt index e3dc498b55..e5720cf995 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironment.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironment.kt @@ -66,8 +66,8 @@ public open class CfnEnvironment( id: String, props: CfnEnvironmentProps, ) : - this(software.amazon.awscdk.services.workspacesthinclient.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnEnvironmentProps::unwrap)) + this(software.amazon.awscdk.services.workspacesthinclient.CfnEnvironment(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnEnvironmentProps.Companion::unwrap)) ) public constructor( @@ -181,7 +181,7 @@ public open class CfnEnvironment( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -207,14 +207,14 @@ public open class CfnEnvironment( * A specification for a time window to apply software updates. */ public open fun maintenanceWindow(`value`: IResolvable) { - unwrap(this).setMaintenanceWindow(`value`.let(IResolvable::unwrap)) + unwrap(this).setMaintenanceWindow(`value`.let(IResolvable.Companion::unwrap)) } /** * A specification for a time window to apply software updates. */ public open fun maintenanceWindow(`value`: MaintenanceWindowProperty) { - unwrap(this).setMaintenanceWindow(`value`.let(MaintenanceWindowProperty::unwrap)) + unwrap(this).setMaintenanceWindow(`value`.let(MaintenanceWindowProperty.Companion::unwrap)) } /** @@ -270,7 +270,7 @@ public open class CfnEnvironment( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -457,7 +457,7 @@ public open class CfnEnvironment( * @param maintenanceWindow A specification for a time window to apply software updates. */ override fun maintenanceWindow(maintenanceWindow: IResolvable) { - cdkBuilder.maintenanceWindow(maintenanceWindow.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindow(maintenanceWindow.let(IResolvable.Companion::unwrap)) } /** @@ -467,7 +467,7 @@ public open class CfnEnvironment( * @param maintenanceWindow A specification for a time window to apply software updates. */ override fun maintenanceWindow(maintenanceWindow: MaintenanceWindowProperty) { - cdkBuilder.maintenanceWindow(maintenanceWindow.let(MaintenanceWindowProperty::unwrap)) + cdkBuilder.maintenanceWindow(maintenanceWindow.let(MaintenanceWindowProperty.Companion::unwrap)) } /** @@ -523,7 +523,7 @@ public open class CfnEnvironment( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironmentProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironmentProps.kt index 2a96d37ef8..ecaada912b 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironmentProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesthinclient/CfnEnvironmentProps.kt @@ -239,14 +239,14 @@ public interface CfnEnvironmentProps { * @param maintenanceWindow A specification for a time window to apply software updates. */ override fun maintenanceWindow(maintenanceWindow: IResolvable) { - cdkBuilder.maintenanceWindow(maintenanceWindow.let(IResolvable::unwrap)) + cdkBuilder.maintenanceWindow(maintenanceWindow.let(IResolvable.Companion::unwrap)) } /** * @param maintenanceWindow A specification for a time window to apply software updates. */ override fun maintenanceWindow(maintenanceWindow: CfnEnvironment.MaintenanceWindowProperty) { - cdkBuilder.maintenanceWindow(maintenanceWindow.let(CfnEnvironment.MaintenanceWindowProperty::unwrap)) + cdkBuilder.maintenanceWindow(maintenanceWindow.let(CfnEnvironment.MaintenanceWindowProperty.Companion::unwrap)) } /** @@ -287,7 +287,7 @@ public interface CfnEnvironmentProps { * . */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettings.kt index bfa8e8fd00..1589f1f038 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettings.kt @@ -49,7 +49,7 @@ public open class CfnBrowserSettings( cdkObject: software.amazon.awscdk.services.workspacesweb.CfnBrowserSettings, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.workspacesweb.CfnBrowserSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.workspacesweb.CfnBrowserSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -58,8 +58,8 @@ public open class CfnBrowserSettings( id: String, props: CfnBrowserSettingsProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnBrowserSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnBrowserSettingsProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnBrowserSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnBrowserSettingsProps.Companion::unwrap)) ) public constructor( @@ -79,7 +79,7 @@ public open class CfnBrowserSettings( * Additional encryption context of the browser settings. */ public open fun additionalEncryptionContext(`value`: IResolvable) { - unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnBrowserSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public open class CfnBrowserSettings( * The tags to add to the browser settings resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -234,7 +234,7 @@ public open class CfnBrowserSettings( * @param additionalEncryptionContext Additional encryption context of the browser settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -280,7 +280,7 @@ public open class CfnBrowserSettings( * @param tags The tags to add to the browser settings resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettingsProps.kt index 0717a7712f..180b9c2029 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnBrowserSettingsProps.kt @@ -119,7 +119,7 @@ public interface CfnBrowserSettingsProps { * @param additionalEncryptionContext Additional encryption context of the browser settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -150,7 +150,7 @@ public interface CfnBrowserSettingsProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProvider.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProvider.kt index 2e368954da..66ae207697 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProvider.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProvider.kt @@ -46,8 +46,8 @@ public open class CfnIdentityProvider( id: String, props: CfnIdentityProviderProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnIdentityProvider(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIdentityProviderProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnIdentityProvider(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIdentityProviderProps.Companion::unwrap)) ) public constructor( @@ -75,7 +75,7 @@ public open class CfnIdentityProvider( * The following list describes the provider detail keys for each identity provider type. */ public open fun identityProviderDetails(`value`: IResolvable) { - unwrap(this).setIdentityProviderDetails(`value`.let(IResolvable::unwrap)) + unwrap(this).setIdentityProviderDetails(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -117,7 +117,7 @@ public open class CfnIdentityProvider( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -295,7 +295,7 @@ public open class CfnIdentityProvider( * the provider detail keys for each identity provider type. */ override fun identityProviderDetails(identityProviderDetails: IResolvable) { - cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable::unwrap)) + cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProviderProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProviderProps.kt index 6b78b87db9..8c4274e411 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProviderProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIdentityProviderProps.kt @@ -230,7 +230,7 @@ public interface CfnIdentityProviderProps { * * `EncryptedResponses` (boolean) *optional* */ override fun identityProviderDetails(identityProviderDetails: IResolvable) { - cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable::unwrap)) + cdkBuilder.identityProviderDetails(identityProviderDetails.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettings.kt index 971bb5a41f..fa2845c682 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettings.kt @@ -62,8 +62,8 @@ public open class CfnIpAccessSettings( id: String, props: CfnIpAccessSettingsProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnIpAccessSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnIpAccessSettingsProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnIpAccessSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnIpAccessSettingsProps.Companion::unwrap)) ) public constructor( @@ -83,7 +83,7 @@ public open class CfnIpAccessSettings( * Additional encryption context of the IP access settings. */ public open fun additionalEncryptionContext(`value`: IResolvable) { - unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -157,7 +157,7 @@ public open class CfnIpAccessSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -169,7 +169,7 @@ public open class CfnIpAccessSettings( * The IP rules of the IP access settings. */ public open fun ipRules(`value`: IResolvable) { - unwrap(this).setIpRules(`value`.let(IResolvable::unwrap)) + unwrap(this).setIpRules(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -193,7 +193,7 @@ public open class CfnIpAccessSettings( * The tags to add to the browser settings resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -308,7 +308,7 @@ public open class CfnIpAccessSettings( * @param additionalEncryptionContext Additional encryption context of the IP access settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -360,7 +360,7 @@ public open class CfnIpAccessSettings( * @param ipRules The IP rules of the IP access settings. */ override fun ipRules(ipRules: IResolvable) { - cdkBuilder.ipRules(ipRules.let(IResolvable::unwrap)) + cdkBuilder.ipRules(ipRules.let(IResolvable.Companion::unwrap)) } /** @@ -390,7 +390,7 @@ public open class CfnIpAccessSettings( * @param tags The tags to add to the browser settings resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettingsProps.kt index 81e9152eef..c45549b8e6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnIpAccessSettingsProps.kt @@ -158,7 +158,7 @@ public interface CfnIpAccessSettingsProps { * @param additionalEncryptionContext Additional encryption context of the IP access settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -194,7 +194,7 @@ public interface CfnIpAccessSettingsProps { * @param ipRules The IP rules of the IP access settings. */ override fun ipRules(ipRules: IResolvable) { - cdkBuilder.ipRules(ipRules.let(IResolvable::unwrap)) + cdkBuilder.ipRules(ipRules.let(IResolvable.Companion::unwrap)) } /** @@ -214,7 +214,7 @@ public interface CfnIpAccessSettingsProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettings.kt index 68b35872d1..8ae2283d57 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettings.kt @@ -57,8 +57,8 @@ public open class CfnNetworkSettings( id: String, props: CfnNetworkSettingsProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnNetworkSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnNetworkSettingsProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnNetworkSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnNetworkSettingsProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnNetworkSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -138,7 +138,7 @@ public open class CfnNetworkSettings( * The tags to add to the network settings resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -315,7 +315,7 @@ public open class CfnNetworkSettings( * @param tags The tags to add to the network settings resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettingsProps.kt index 4a064ff288..851d1af48a 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnNetworkSettingsProps.kt @@ -175,7 +175,7 @@ public interface CfnNetworkSettingsProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortal.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortal.kt index dc940cf10d..43a3c26679 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortal.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortal.kt @@ -11,6 +11,7 @@ import io.cloudshiftdev.awscdk.TagManager import io.cloudshiftdev.awscdk.TreeInspector import io.cloudshiftdev.awscdk.common.CdkDslMarker import kotlin.Any +import kotlin.Number import kotlin.String import kotlin.Unit import kotlin.collections.List @@ -42,7 +43,9 @@ import software.constructs.Construct as SoftwareConstructsConstruct * .browserSettingsArn("browserSettingsArn") * .customerManagedKey("customerManagedKey") * .displayName("displayName") + * .instanceType("instanceType") * .ipAccessSettingsArn("ipAccessSettingsArn") + * .maxConcurrentSessions(123) * .networkSettingsArn("networkSettingsArn") * .tags(List.of(CfnTag.builder() * .key("key") @@ -60,7 +63,7 @@ public open class CfnPortal( cdkObject: software.amazon.awscdk.services.workspacesweb.CfnPortal, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.workspacesweb.CfnPortal(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.workspacesweb.CfnPortal(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -69,8 +72,8 @@ public open class CfnPortal( id: String, props: CfnPortalProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnPortal(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnPortalProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnPortal(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnPortalProps.Companion::unwrap)) ) public constructor( @@ -90,7 +93,7 @@ public open class CfnPortal( * The additional encryption context of the portal. */ public open fun additionalEncryptionContext(`value`: IResolvable) { - unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -205,7 +208,19 @@ public open class CfnPortal( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) + } + + /** + * The type and resources of the underlying instance. + */ + public open fun instanceType(): String? = unwrap(this).getInstanceType() + + /** + * The type and resources of the underlying instance. + */ + public open fun instanceType(`value`: String) { + unwrap(this).setInstanceType(`value`) } /** @@ -220,6 +235,18 @@ public open class CfnPortal( unwrap(this).setIpAccessSettingsArn(`value`) } + /** + * The maximum number of concurrent sessions for the portal. + */ + public open fun maxConcurrentSessions(): Number? = unwrap(this).getMaxConcurrentSessions() + + /** + * The maximum number of concurrent sessions for the portal. + */ + public open fun maxConcurrentSessions(`value`: Number) { + unwrap(this).setMaxConcurrentSessions(`value`) + } + /** * The ARN of the network settings that is associated with the web portal. */ @@ -241,7 +268,7 @@ public open class CfnPortal( * The tags to add to the web portal. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -366,6 +393,14 @@ public open class CfnPortal( */ public fun displayName(displayName: String) + /** + * The type and resources of the underlying instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype) + * @param instanceType The type and resources of the underlying instance. + */ + public fun instanceType(instanceType: String) + /** * The ARN of the IP access settings that is associated with the web portal. * @@ -375,6 +410,14 @@ public open class CfnPortal( */ public fun ipAccessSettingsArn(ipAccessSettingsArn: String) + /** + * The maximum number of concurrent sessions for the portal. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions) + * @param maxConcurrentSessions The maximum number of concurrent sessions for the portal. + */ + public fun maxConcurrentSessions(maxConcurrentSessions: Number) + /** * The ARN of the network settings that is associated with the web portal. * @@ -444,7 +487,7 @@ public open class CfnPortal( * @param additionalEncryptionContext The additional encryption context of the portal. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -524,6 +567,16 @@ public open class CfnPortal( cdkBuilder.displayName(displayName) } + /** + * The type and resources of the underlying instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype) + * @param instanceType The type and resources of the underlying instance. + */ + override fun instanceType(instanceType: String) { + cdkBuilder.instanceType(instanceType) + } + /** * The ARN of the IP access settings that is associated with the web portal. * @@ -535,6 +588,16 @@ public open class CfnPortal( cdkBuilder.ipAccessSettingsArn(ipAccessSettingsArn) } + /** + * The maximum number of concurrent sessions for the portal. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions) + * @param maxConcurrentSessions The maximum number of concurrent sessions for the portal. + */ + override fun maxConcurrentSessions(maxConcurrentSessions: Number) { + cdkBuilder.maxConcurrentSessions(maxConcurrentSessions) + } + /** * The ARN of the network settings that is associated with the web portal. * @@ -555,7 +618,7 @@ public open class CfnPortal( * @param tags The tags to add to the web portal. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortalProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortalProps.kt index ec41e0bfbe..15fa5464a0 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortalProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnPortalProps.kt @@ -8,6 +8,7 @@ import io.cloudshiftdev.awscdk.common.CdkDslMarker import io.cloudshiftdev.awscdk.common.CdkObject import io.cloudshiftdev.awscdk.common.CdkObjectWrappers import kotlin.Any +import kotlin.Number import kotlin.String import kotlin.Unit import kotlin.collections.List @@ -29,7 +30,9 @@ import kotlin.collections.Map * .browserSettingsArn("browserSettingsArn") * .customerManagedKey("customerManagedKey") * .displayName("displayName") + * .instanceType("instanceType") * .ipAccessSettingsArn("ipAccessSettingsArn") + * .maxConcurrentSessions(123) * .networkSettingsArn("networkSettingsArn") * .tags(List.of(CfnTag.builder() * .key("key") @@ -104,6 +107,13 @@ public interface CfnPortalProps { */ public fun displayName(): String? = unwrap(this).getDisplayName() + /** + * The type and resources of the underlying instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype) + */ + public fun instanceType(): String? = unwrap(this).getInstanceType() + /** * The ARN of the IP access settings that is associated with the web portal. * @@ -111,6 +121,13 @@ public interface CfnPortalProps { */ public fun ipAccessSettingsArn(): String? = unwrap(this).getIpAccessSettingsArn() + /** + * The maximum number of concurrent sessions for the portal. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions) + */ + public fun maxConcurrentSessions(): Number? = unwrap(this).getMaxConcurrentSessions() + /** * The ARN of the network settings that is associated with the web portal. * @@ -208,12 +225,22 @@ public interface CfnPortalProps { */ public fun displayName(displayName: String) + /** + * @param instanceType The type and resources of the underlying instance. + */ + public fun instanceType(instanceType: String) + /** * @param ipAccessSettingsArn The ARN of the IP access settings that is associated with the web * portal. */ public fun ipAccessSettingsArn(ipAccessSettingsArn: String) + /** + * @param maxConcurrentSessions The maximum number of concurrent sessions for the portal. + */ + public fun maxConcurrentSessions(maxConcurrentSessions: Number) + /** * @param networkSettingsArn The ARN of the network settings that is associated with the web * portal. @@ -257,7 +284,7 @@ public interface CfnPortalProps { * @param additionalEncryptionContext The additional encryption context of the portal. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** @@ -319,6 +346,13 @@ public interface CfnPortalProps { cdkBuilder.displayName(displayName) } + /** + * @param instanceType The type and resources of the underlying instance. + */ + override fun instanceType(instanceType: String) { + cdkBuilder.instanceType(instanceType) + } + /** * @param ipAccessSettingsArn The ARN of the IP access settings that is associated with the web * portal. @@ -327,6 +361,13 @@ public interface CfnPortalProps { cdkBuilder.ipAccessSettingsArn(ipAccessSettingsArn) } + /** + * @param maxConcurrentSessions The maximum number of concurrent sessions for the portal. + */ + override fun maxConcurrentSessions(maxConcurrentSessions: Number) { + cdkBuilder.maxConcurrentSessions(maxConcurrentSessions) + } + /** * @param networkSettingsArn The ARN of the network settings that is associated with the web * portal. @@ -340,7 +381,7 @@ public interface CfnPortalProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -438,6 +479,13 @@ public interface CfnPortalProps { */ override fun displayName(): String? = unwrap(this).getDisplayName() + /** + * The type and resources of the underlying instance. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype) + */ + override fun instanceType(): String? = unwrap(this).getInstanceType() + /** * The ARN of the IP access settings that is associated with the web portal. * @@ -445,6 +493,13 @@ public interface CfnPortalProps { */ override fun ipAccessSettingsArn(): String? = unwrap(this).getIpAccessSettingsArn() + /** + * The maximum number of concurrent sessions for the portal. + * + * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions) + */ + override fun maxConcurrentSessions(): Number? = unwrap(this).getMaxConcurrentSessions() + /** * The ARN of the network settings that is associated with the web portal. * diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStore.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStore.kt index 22f4d46105..43b53f7779 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStore.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStore.kt @@ -49,8 +49,8 @@ public open class CfnTrustStore( id: String, props: CfnTrustStoreProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnTrustStore(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnTrustStoreProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnTrustStore(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnTrustStoreProps.Companion::unwrap)) ) public constructor( @@ -100,7 +100,7 @@ public open class CfnTrustStore( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -112,7 +112,7 @@ public open class CfnTrustStore( * The tags to add to the trust store. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -197,7 +197,7 @@ public open class CfnTrustStore( * @param tags The tags to add to the trust store. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStoreProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStoreProps.kt index fc32a302e5..4841443c94 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStoreProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnTrustStoreProps.kt @@ -98,7 +98,7 @@ public interface CfnTrustStoreProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettings.kt index d95ca40a9b..76a4ee4fba 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettings.kt @@ -56,8 +56,8 @@ public open class CfnUserAccessLoggingSettings( id: String, props: CfnUserAccessLoggingSettingsProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnUserAccessLoggingSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserAccessLoggingSettingsProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnUserAccessLoggingSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserAccessLoggingSettingsProps.Companion::unwrap)) ) public constructor( @@ -91,7 +91,7 @@ public open class CfnUserAccessLoggingSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -115,7 +115,7 @@ public open class CfnUserAccessLoggingSettings( * The tags to add to the user access logging settings resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -186,7 +186,7 @@ public open class CfnUserAccessLoggingSettings( * @param tags The tags to add to the user access logging settings resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettingsProps.kt index 653627a6d6..02a32f2f9d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserAccessLoggingSettingsProps.kt @@ -89,7 +89,7 @@ public interface CfnUserAccessLoggingSettingsProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettings.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettings.kt index 589b4de621..72b870f5c3 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettings.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettings.kt @@ -78,8 +78,8 @@ public open class CfnUserSettings( id: String, props: CfnUserSettingsProps, ) : - this(software.amazon.awscdk.services.workspacesweb.CfnUserSettings(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnUserSettingsProps::unwrap)) + this(software.amazon.awscdk.services.workspacesweb.CfnUserSettings(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnUserSettingsProps.Companion::unwrap)) ) public constructor( @@ -90,20 +90,20 @@ public open class CfnUserSettings( ) /** - * + * The additional encryption context of the user settings. */ public open fun additionalEncryptionContext(): Any? = unwrap(this).getAdditionalEncryptionContext() /** - * + * The additional encryption context of the user settings. */ public open fun additionalEncryptionContext(`value`: IResolvable) { - unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable::unwrap)) + unwrap(this).setAdditionalEncryptionContext(`value`.let(IResolvable.Companion::unwrap)) } /** - * + * The additional encryption context of the user settings. */ public open fun additionalEncryptionContext(`value`: Map) { unwrap(this).setAdditionalEncryptionContext(`value`) @@ -138,7 +138,7 @@ public open class CfnUserSettings( * browser to the remote browser. */ public open fun cookieSynchronizationConfiguration(`value`: IResolvable) { - unwrap(this).setCookieSynchronizationConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setCookieSynchronizationConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -147,7 +147,7 @@ public open class CfnUserSettings( */ public open fun cookieSynchronizationConfiguration(`value`: CookieSynchronizationConfigurationProperty) { - unwrap(this).setCookieSynchronizationConfiguration(`value`.let(CookieSynchronizationConfigurationProperty::unwrap)) + unwrap(this).setCookieSynchronizationConfiguration(`value`.let(CookieSynchronizationConfigurationProperty.Companion::unwrap)) } /** @@ -173,12 +173,12 @@ public open class CfnUserSettings( } /** - * + * The customer managed key used to encrypt sensitive information in the user settings. */ public open fun customerManagedKey(): String? = unwrap(this).getCustomerManagedKey() /** - * + * The customer managed key used to encrypt sensitive information in the user settings. */ public open fun customerManagedKey(`value`: String) { unwrap(this).setCustomerManagedKey(`value`) @@ -230,7 +230,7 @@ public open class CfnUserSettings( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -266,7 +266,7 @@ public open class CfnUserSettings( * The tags to add to the user settings resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -292,14 +292,18 @@ public open class CfnUserSettings( @CdkDslMarker public interface Builder { /** + * The additional encryption context of the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext) - * @param additionalEncryptionContext + * @param additionalEncryptionContext The additional encryption context of the user settings. */ public fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) /** + * The additional encryption context of the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext) - * @param additionalEncryptionContext + * @param additionalEncryptionContext The additional encryption context of the user settings. */ public fun additionalEncryptionContext(additionalEncryptionContext: Map) @@ -347,8 +351,11 @@ public open class CfnUserSettings( public fun copyAllowed(copyAllowed: String) /** + * The customer managed key used to encrypt sensitive information in the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-customermanagedkey) - * @param customerManagedKey + * @param customerManagedKey The customer managed key used to encrypt sensitive information in + * the user settings. */ public fun customerManagedKey(customerManagedKey: String) @@ -436,16 +443,20 @@ public open class CfnUserSettings( software.amazon.awscdk.services.workspacesweb.CfnUserSettings.Builder.create(scope, id) /** + * The additional encryption context of the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext) - * @param additionalEncryptionContext + * @param additionalEncryptionContext The additional encryption context of the user settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** + * The additional encryption context of the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext) - * @param additionalEncryptionContext + * @param additionalEncryptionContext The additional encryption context of the user settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: Map) { cdkBuilder.additionalEncryptionContext(additionalEncryptionContext) @@ -461,7 +472,7 @@ public open class CfnUserSettings( */ override fun cookieSynchronizationConfiguration(cookieSynchronizationConfiguration: IResolvable) { - cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -474,7 +485,7 @@ public open class CfnUserSettings( */ override fun cookieSynchronizationConfiguration(cookieSynchronizationConfiguration: CookieSynchronizationConfigurationProperty) { - cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(CookieSynchronizationConfigurationProperty::unwrap)) + cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(CookieSynchronizationConfigurationProperty.Companion::unwrap)) } /** @@ -504,8 +515,11 @@ public open class CfnUserSettings( } /** + * The customer managed key used to encrypt sensitive information in the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-customermanagedkey) - * @param customerManagedKey + * @param customerManagedKey The customer managed key used to encrypt sensitive information in + * the user settings. */ override fun customerManagedKey(customerManagedKey: String) { cdkBuilder.customerManagedKey(customerManagedKey) @@ -576,7 +590,7 @@ public open class CfnUserSettings( * @param tags The tags to add to the user settings resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -861,7 +875,7 @@ public open class CfnUserSettings( * the remote browser. */ override fun allowlist(allowlist: IResolvable) { - cdkBuilder.allowlist(allowlist.let(IResolvable::unwrap)) + cdkBuilder.allowlist(allowlist.let(IResolvable.Companion::unwrap)) } /** @@ -883,7 +897,7 @@ public open class CfnUserSettings( * to the remote browser. */ override fun blocklist(blocklist: IResolvable) { - cdkBuilder.blocklist(blocklist.let(IResolvable::unwrap)) + cdkBuilder.blocklist(blocklist.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettingsProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettingsProps.kt index 05c4845a24..e2a4e370c9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettingsProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/workspacesweb/CfnUserSettingsProps.kt @@ -62,6 +62,8 @@ import kotlin.jvm.JvmName */ public interface CfnUserSettingsProps { /** + * The additional encryption context of the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext) */ public fun additionalEncryptionContext(): Any? = unwrap(this).getAdditionalEncryptionContext() @@ -83,6 +85,8 @@ public interface CfnUserSettingsProps { public fun copyAllowed(): String /** + * The customer managed key used to encrypt sensitive information in the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-customermanagedkey) */ public fun customerManagedKey(): String? = unwrap(this).getCustomerManagedKey() @@ -146,12 +150,12 @@ public interface CfnUserSettingsProps { @CdkDslMarker public interface Builder { /** - * @param additionalEncryptionContext the value to be set. + * @param additionalEncryptionContext The additional encryption context of the user settings. */ public fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) /** - * @param additionalEncryptionContext the value to be set. + * @param additionalEncryptionContext The additional encryption context of the user settings. */ public fun additionalEncryptionContext(additionalEncryptionContext: Map) @@ -184,7 +188,8 @@ public interface CfnUserSettingsProps { public fun copyAllowed(copyAllowed: String) /** - * @param customerManagedKey the value to be set. + * @param customerManagedKey The customer managed key used to encrypt sensitive information in + * the user settings. */ public fun customerManagedKey(customerManagedKey: String) @@ -243,14 +248,14 @@ public interface CfnUserSettingsProps { software.amazon.awscdk.services.workspacesweb.CfnUserSettingsProps.builder() /** - * @param additionalEncryptionContext the value to be set. + * @param additionalEncryptionContext The additional encryption context of the user settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: IResolvable) { - cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable::unwrap)) + cdkBuilder.additionalEncryptionContext(additionalEncryptionContext.let(IResolvable.Companion::unwrap)) } /** - * @param additionalEncryptionContext the value to be set. + * @param additionalEncryptionContext The additional encryption context of the user settings. */ override fun additionalEncryptionContext(additionalEncryptionContext: Map) { cdkBuilder.additionalEncryptionContext(additionalEncryptionContext) @@ -262,7 +267,7 @@ public interface CfnUserSettingsProps { */ override fun cookieSynchronizationConfiguration(cookieSynchronizationConfiguration: IResolvable) { - cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(IResolvable::unwrap)) + cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -271,7 +276,7 @@ public interface CfnUserSettingsProps { */ override fun cookieSynchronizationConfiguration(cookieSynchronizationConfiguration: CfnUserSettings.CookieSynchronizationConfigurationProperty) { - cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(CfnUserSettings.CookieSynchronizationConfigurationProperty::unwrap)) + cdkBuilder.cookieSynchronizationConfiguration(cookieSynchronizationConfiguration.let(CfnUserSettings.CookieSynchronizationConfigurationProperty.Companion::unwrap)) } /** @@ -294,7 +299,8 @@ public interface CfnUserSettingsProps { } /** - * @param customerManagedKey the value to be set. + * @param customerManagedKey The customer managed key used to encrypt sensitive information in + * the user settings. */ override fun customerManagedKey(customerManagedKey: String) { cdkBuilder.customerManagedKey(customerManagedKey) @@ -345,7 +351,7 @@ public interface CfnUserSettingsProps { * A tag is a key-value pair. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -370,6 +376,8 @@ public interface CfnUserSettingsProps { cdkObject: software.amazon.awscdk.services.workspacesweb.CfnUserSettingsProps, ) : CdkObject(cdkObject), CfnUserSettingsProps { /** + * The additional encryption context of the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext) */ override fun additionalEncryptionContext(): Any? = unwrap(this).getAdditionalEncryptionContext() @@ -391,6 +399,8 @@ public interface CfnUserSettingsProps { override fun copyAllowed(): String = unwrap(this).getCopyAllowed() /** + * The customer managed key used to encrypt sensitive information in the user settings. + * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-customermanagedkey) */ override fun customerManagedKey(): String? = unwrap(this).getCustomerManagedKey() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroup.kt index 16c435f78e..691dd25267 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroup.kt @@ -58,8 +58,8 @@ public open class CfnGroup( id: String, props: CfnGroupProps, ) : - this(software.amazon.awscdk.services.xray.CfnGroup(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnGroupProps::unwrap)) + this(software.amazon.awscdk.services.xray.CfnGroup(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnGroupProps.Companion::unwrap)) ) public constructor( @@ -113,14 +113,14 @@ public open class CfnGroup( * The structure containing configurations related to insights. */ public open fun insightsConfiguration(`value`: IResolvable) { - unwrap(this).setInsightsConfiguration(`value`.let(IResolvable::unwrap)) + unwrap(this).setInsightsConfiguration(`value`.let(IResolvable.Companion::unwrap)) } /** * The structure containing configurations related to insights. */ public open fun insightsConfiguration(`value`: InsightsConfigurationProperty) { - unwrap(this).setInsightsConfiguration(`value`.let(InsightsConfigurationProperty::unwrap)) + unwrap(this).setInsightsConfiguration(`value`.let(InsightsConfigurationProperty.Companion::unwrap)) } /** @@ -137,7 +137,7 @@ public open class CfnGroup( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -149,7 +149,7 @@ public open class CfnGroup( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -276,7 +276,7 @@ public open class CfnGroup( * @param insightsConfiguration The structure containing configurations related to insights. */ override fun insightsConfiguration(insightsConfiguration: IResolvable) { - cdkBuilder.insightsConfiguration(insightsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.insightsConfiguration(insightsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -291,7 +291,7 @@ public open class CfnGroup( * @param insightsConfiguration The structure containing configurations related to insights. */ override fun insightsConfiguration(insightsConfiguration: InsightsConfigurationProperty) { - cdkBuilder.insightsConfiguration(insightsConfiguration.let(InsightsConfigurationProperty::unwrap)) + cdkBuilder.insightsConfiguration(insightsConfiguration.let(InsightsConfigurationProperty.Companion::unwrap)) } /** @@ -318,7 +318,7 @@ public open class CfnGroup( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -437,7 +437,7 @@ public open class CfnGroup( * disable insights. */ override fun insightsEnabled(insightsEnabled: IResolvable) { - cdkBuilder.insightsEnabled(insightsEnabled.let(IResolvable::unwrap)) + cdkBuilder.insightsEnabled(insightsEnabled.let(IResolvable.Companion::unwrap)) } /** @@ -455,7 +455,7 @@ public open class CfnGroup( * Notifications can only be enabled on a group with InsightsEnabled set to true. */ override fun notificationsEnabled(notificationsEnabled: IResolvable) { - cdkBuilder.notificationsEnabled(notificationsEnabled.let(IResolvable::unwrap)) + cdkBuilder.notificationsEnabled(notificationsEnabled.let(IResolvable.Companion::unwrap)) } public fun build(): diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroupProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroupProps.kt index 6f2f00296b..c482ce84a9 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroupProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnGroupProps.kt @@ -155,7 +155,7 @@ public interface CfnGroupProps { * through Amazon EventBridge for the group. */ override fun insightsConfiguration(insightsConfiguration: IResolvable) { - cdkBuilder.insightsConfiguration(insightsConfiguration.let(IResolvable::unwrap)) + cdkBuilder.insightsConfiguration(insightsConfiguration.let(IResolvable.Companion::unwrap)) } /** @@ -167,7 +167,7 @@ public interface CfnGroupProps { */ override fun insightsConfiguration(insightsConfiguration: CfnGroup.InsightsConfigurationProperty) { - cdkBuilder.insightsConfiguration(insightsConfiguration.let(CfnGroup.InsightsConfigurationProperty::unwrap)) + cdkBuilder.insightsConfiguration(insightsConfiguration.let(CfnGroup.InsightsConfigurationProperty.Companion::unwrap)) } /** @@ -187,7 +187,7 @@ public interface CfnGroupProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicy.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicy.kt index 4943a69467..52befe97ea 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicy.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicy.kt @@ -45,8 +45,8 @@ public open class CfnResourcePolicy( id: String, props: CfnResourcePolicyProps, ) : - this(software.amazon.awscdk.services.xray.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnResourcePolicyProps::unwrap)) + this(software.amazon.awscdk.services.xray.CfnResourcePolicy(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnResourcePolicyProps.Companion::unwrap)) ) public constructor( @@ -72,7 +72,7 @@ public open class CfnResourcePolicy( * A flag to indicate whether to bypass the resource-based policy lockout safety check. */ public open fun bypassPolicyLockoutCheck(`value`: IResolvable) { - unwrap(this).setBypassPolicyLockoutCheck(`value`.let(IResolvable::unwrap)) + unwrap(this).setBypassPolicyLockoutCheck(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -81,7 +81,7 @@ public open class CfnResourcePolicy( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -176,7 +176,7 @@ public open class CfnResourcePolicy( * policy lockout safety check. */ override fun bypassPolicyLockoutCheck(bypassPolicyLockoutCheck: IResolvable) { - cdkBuilder.bypassPolicyLockoutCheck(bypassPolicyLockoutCheck.let(IResolvable::unwrap)) + cdkBuilder.bypassPolicyLockoutCheck(bypassPolicyLockoutCheck.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicyProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicyProps.kt index 6a852947a5..eae1772322 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicyProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnResourcePolicyProps.kt @@ -100,7 +100,7 @@ public interface CfnResourcePolicyProps { * policy lockout safety check. */ override fun bypassPolicyLockoutCheck(bypassPolicyLockoutCheck: IResolvable) { - cdkBuilder.bypassPolicyLockoutCheck(bypassPolicyLockoutCheck.let(IResolvable::unwrap)) + cdkBuilder.bypassPolicyLockoutCheck(bypassPolicyLockoutCheck.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRule.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRule.kt index 47ab4c23f9..29dc9d6980 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRule.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRule.kt @@ -117,7 +117,7 @@ public open class CfnSamplingRule( cdkObject: software.amazon.awscdk.services.xray.CfnSamplingRule, ) : CfnResource(cdkObject), IInspectable, ITaggableV2 { public constructor(scope: CloudshiftdevConstructsConstruct, id: String) : - this(software.amazon.awscdk.services.xray.CfnSamplingRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), + this(software.amazon.awscdk.services.xray.CfnSamplingRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), id) ) @@ -126,8 +126,8 @@ public open class CfnSamplingRule( id: String, props: CfnSamplingRuleProps, ) : - this(software.amazon.awscdk.services.xray.CfnSamplingRule(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(CfnSamplingRuleProps::unwrap)) + this(software.amazon.awscdk.services.xray.CfnSamplingRule(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(CfnSamplingRuleProps.Companion::unwrap)) ) public constructor( @@ -154,7 +154,7 @@ public open class CfnSamplingRule( * @param inspector tree inspector to collect and process attributes. */ public override fun inspect(inspector: TreeInspector) { - unwrap(this).inspect(inspector.let(TreeInspector::unwrap)) + unwrap(this).inspect(inspector.let(TreeInspector.Companion::unwrap)) } /** @@ -184,14 +184,14 @@ public open class CfnSamplingRule( * The sampling rule to be created or updated. */ public open fun samplingRule(`value`: IResolvable) { - unwrap(this).setSamplingRule(`value`.let(IResolvable::unwrap)) + unwrap(this).setSamplingRule(`value`.let(IResolvable.Companion::unwrap)) } /** * The sampling rule to be created or updated. */ public open fun samplingRule(`value`: SamplingRuleProperty) { - unwrap(this).setSamplingRule(`value`.let(SamplingRuleProperty::unwrap)) + unwrap(this).setSamplingRule(`value`.let(SamplingRuleProperty.Companion::unwrap)) } /** @@ -213,7 +213,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") public open fun samplingRuleRecord(`value`: IResolvable) { - unwrap(this).setSamplingRuleRecord(`value`.let(IResolvable::unwrap)) + unwrap(this).setSamplingRuleRecord(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -221,7 +221,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") public open fun samplingRuleRecord(`value`: SamplingRuleRecordProperty) { - unwrap(this).setSamplingRuleRecord(`value`.let(SamplingRuleRecordProperty::unwrap)) + unwrap(this).setSamplingRuleRecord(`value`.let(SamplingRuleRecordProperty.Companion::unwrap)) } /** @@ -244,7 +244,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") public open fun samplingRuleUpdate(`value`: IResolvable) { - unwrap(this).setSamplingRuleUpdate(`value`.let(IResolvable::unwrap)) + unwrap(this).setSamplingRuleUpdate(`value`.let(IResolvable.Companion::unwrap)) } /** @@ -252,7 +252,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") public open fun samplingRuleUpdate(`value`: SamplingRuleUpdateProperty) { - unwrap(this).setSamplingRuleUpdate(`value`.let(SamplingRuleUpdateProperty::unwrap)) + unwrap(this).setSamplingRuleUpdate(`value`.let(SamplingRuleUpdateProperty.Companion::unwrap)) } /** @@ -273,7 +273,7 @@ public open class CfnSamplingRule( * An array of key-value pairs to apply to this resource. */ public open fun tags(`value`: List) { - unwrap(this).setTags(`value`.map(CfnTag::unwrap)) + unwrap(this).setTags(`value`.map(CfnTag.Companion::unwrap)) } /** @@ -421,7 +421,7 @@ public open class CfnSamplingRule( * @param samplingRule The sampling rule to be created or updated. */ override fun samplingRule(samplingRule: IResolvable) { - cdkBuilder.samplingRule(samplingRule.let(IResolvable::unwrap)) + cdkBuilder.samplingRule(samplingRule.let(IResolvable.Companion::unwrap)) } /** @@ -431,7 +431,7 @@ public open class CfnSamplingRule( * @param samplingRule The sampling rule to be created or updated. */ override fun samplingRule(samplingRule: SamplingRuleProperty) { - cdkBuilder.samplingRule(samplingRule.let(SamplingRuleProperty::unwrap)) + cdkBuilder.samplingRule(samplingRule.let(SamplingRuleProperty.Companion::unwrap)) } /** @@ -452,7 +452,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") override fun samplingRuleRecord(samplingRuleRecord: IResolvable) { - cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(IResolvable::unwrap)) + cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(IResolvable.Companion::unwrap)) } /** @@ -462,7 +462,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") override fun samplingRuleRecord(samplingRuleRecord: SamplingRuleRecordProperty) { - cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(SamplingRuleRecordProperty::unwrap)) + cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(SamplingRuleRecordProperty.Companion::unwrap)) } /** @@ -484,7 +484,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") override fun samplingRuleUpdate(samplingRuleUpdate: IResolvable) { - cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(IResolvable::unwrap)) + cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -494,7 +494,7 @@ public open class CfnSamplingRule( */ @Deprecated(message = "deprecated in CDK") override fun samplingRuleUpdate(samplingRuleUpdate: SamplingRuleUpdateProperty) { - cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(SamplingRuleUpdateProperty::unwrap)) + cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(SamplingRuleUpdateProperty.Companion::unwrap)) } /** @@ -516,7 +516,7 @@ public open class CfnSamplingRule( * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** @@ -807,7 +807,7 @@ public open class CfnSamplingRule( * *Value Length Constraints:* Minimum length of 1. Maximum length of 32. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** @@ -1162,14 +1162,14 @@ public open class CfnSamplingRule( * @param samplingRule the value to be set. */ override fun samplingRule(samplingRule: IResolvable) { - cdkBuilder.samplingRule(samplingRule.let(IResolvable::unwrap)) + cdkBuilder.samplingRule(samplingRule.let(IResolvable.Companion::unwrap)) } /** * @param samplingRule the value to be set. */ override fun samplingRule(samplingRule: SamplingRuleProperty) { - cdkBuilder.samplingRule(samplingRule.let(SamplingRuleProperty::unwrap)) + cdkBuilder.samplingRule(samplingRule.let(SamplingRuleProperty.Companion::unwrap)) } /** @@ -1432,7 +1432,7 @@ public open class CfnSamplingRule( * @param attributes Matches attributes derived from the request. */ override fun attributes(attributes: IResolvable) { - cdkBuilder.attributes(attributes.let(IResolvable::unwrap)) + cdkBuilder.attributes(attributes.let(IResolvable.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRuleProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRuleProps.kt index 502f071982..3e6dd3a66d 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRuleProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/xray/CfnSamplingRuleProps.kt @@ -234,14 +234,14 @@ public interface CfnSamplingRuleProps { * @param samplingRule The sampling rule to be created or updated. */ override fun samplingRule(samplingRule: IResolvable) { - cdkBuilder.samplingRule(samplingRule.let(IResolvable::unwrap)) + cdkBuilder.samplingRule(samplingRule.let(IResolvable.Companion::unwrap)) } /** * @param samplingRule The sampling rule to be created or updated. */ override fun samplingRule(samplingRule: CfnSamplingRule.SamplingRuleProperty) { - cdkBuilder.samplingRule(samplingRule.let(CfnSamplingRule.SamplingRuleProperty::unwrap)) + cdkBuilder.samplingRule(samplingRule.let(CfnSamplingRule.SamplingRuleProperty.Companion::unwrap)) } /** @@ -259,7 +259,7 @@ public interface CfnSamplingRuleProps { */ @Deprecated(message = "deprecated in CDK") override fun samplingRuleRecord(samplingRuleRecord: IResolvable) { - cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(IResolvable::unwrap)) + cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(IResolvable.Companion::unwrap)) } /** @@ -269,7 +269,7 @@ public interface CfnSamplingRuleProps { @Deprecated(message = "deprecated in CDK") override fun samplingRuleRecord(samplingRuleRecord: CfnSamplingRule.SamplingRuleRecordProperty) { - cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(CfnSamplingRule.SamplingRuleRecordProperty::unwrap)) + cdkBuilder.samplingRuleRecord(samplingRuleRecord.let(CfnSamplingRule.SamplingRuleRecordProperty.Companion::unwrap)) } /** @@ -289,7 +289,7 @@ public interface CfnSamplingRuleProps { */ @Deprecated(message = "deprecated in CDK") override fun samplingRuleUpdate(samplingRuleUpdate: IResolvable) { - cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(IResolvable::unwrap)) + cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(IResolvable.Companion::unwrap)) } /** @@ -299,7 +299,7 @@ public interface CfnSamplingRuleProps { @Deprecated(message = "deprecated in CDK") override fun samplingRuleUpdate(samplingRuleUpdate: CfnSamplingRule.SamplingRuleUpdateProperty) { - cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(CfnSamplingRule.SamplingRuleUpdateProperty::unwrap)) + cdkBuilder.samplingRuleUpdate(samplingRuleUpdate.let(CfnSamplingRule.SamplingRuleUpdateProperty.Companion::unwrap)) } /** @@ -317,7 +317,7 @@ public interface CfnSamplingRuleProps { * @param tags An array of key-value pairs to apply to this resource. */ override fun tags(tags: List) { - cdkBuilder.tags(tags.map(CfnTag::unwrap)) + cdkBuilder.tags(tags.map(CfnTag.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/Trigger.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/Trigger.kt index 9338961182..98f06b78bf 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/Trigger.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/Trigger.kt @@ -40,8 +40,8 @@ public open class Trigger( id: String, props: TriggerProps, ) : - this(software.amazon.awscdk.triggers.Trigger(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TriggerProps::unwrap)) + this(software.amazon.awscdk.triggers.Trigger(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TriggerProps.Companion::unwrap)) ) public constructor( @@ -194,7 +194,7 @@ public open class Trigger( * construct scopes have been provisioned. */ override fun executeAfter(executeAfter: List) { - cdkBuilder.executeAfter(executeAfter.map(CloudshiftdevConstructsConstruct::unwrap)) + cdkBuilder.executeAfter(executeAfter.map(CloudshiftdevConstructsConstruct.Companion::unwrap)) } /** @@ -224,7 +224,7 @@ public open class Trigger( * @param executeBefore Adds this trigger as a dependency on other constructs. */ override fun executeBefore(executeBefore: List) { - cdkBuilder.executeBefore(executeBefore.map(CloudshiftdevConstructsConstruct::unwrap)) + cdkBuilder.executeBefore(executeBefore.map(CloudshiftdevConstructsConstruct.Companion::unwrap)) } /** @@ -263,7 +263,7 @@ public open class Trigger( * @param handler The AWS Lambda function of the handler to execute. */ override fun handler(handler: Function) { - cdkBuilder.handler(handler.let(Function::unwrap)) + cdkBuilder.handler(handler.let(Function.Companion::unwrap)) } /** @@ -274,7 +274,7 @@ public open class Trigger( * @param invocationType The invocation type to invoke the Lambda function with. */ override fun invocationType(invocationType: InvocationType) { - cdkBuilder.invocationType(invocationType.let(InvocationType::unwrap)) + cdkBuilder.invocationType(invocationType.let(InvocationType.Companion::unwrap)) } /** @@ -285,7 +285,7 @@ public open class Trigger( * @param timeout The timeout of the invocation call of the Lambda function to be triggered. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.triggers.Trigger = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunction.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunction.kt index d479fa9ea4..c92a08c5c4 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunction.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunction.kt @@ -67,8 +67,8 @@ public open class TriggerFunction( id: String, props: TriggerFunctionProps, ) : - this(software.amazon.awscdk.triggers.TriggerFunction(scope.let(CloudshiftdevConstructsConstruct::unwrap), - id, props.let(TriggerFunctionProps::unwrap)) + this(software.amazon.awscdk.triggers.TriggerFunction(scope.let(CloudshiftdevConstructsConstruct.Companion::unwrap), + id, props.let(TriggerFunctionProps.Companion::unwrap)) ) public constructor( @@ -897,7 +897,7 @@ public open class TriggerFunction( * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -966,7 +966,7 @@ public open class TriggerFunction( * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -979,7 +979,7 @@ public open class TriggerFunction( * @param code The source code of your Lambda function. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** @@ -990,7 +990,7 @@ public open class TriggerFunction( * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -1003,7 +1003,7 @@ public open class TriggerFunction( * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -1030,7 +1030,7 @@ public open class TriggerFunction( * @param deadLetterQueue The SQS queue to use if DLQ is enabled. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -1059,7 +1059,7 @@ public open class TriggerFunction( * @param deadLetterTopic The SNS topic to use as a DLQ. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -1098,7 +1098,7 @@ public open class TriggerFunction( * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** @@ -1109,7 +1109,7 @@ public open class TriggerFunction( * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -1122,7 +1122,7 @@ public open class TriggerFunction( * @param events Event sources for this function. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -1148,7 +1148,7 @@ public open class TriggerFunction( * construct scopes have been provisioned. */ override fun executeAfter(executeAfter: List) { - cdkBuilder.executeAfter(executeAfter.map(CloudshiftdevConstructsConstruct::unwrap)) + cdkBuilder.executeAfter(executeAfter.map(CloudshiftdevConstructsConstruct.Companion::unwrap)) } /** @@ -1178,7 +1178,7 @@ public open class TriggerFunction( * @param executeBefore Adds this trigger as a dependency on other constructs. */ override fun executeBefore(executeBefore: List) { - cdkBuilder.executeBefore(executeBefore.map(CloudshiftdevConstructsConstruct::unwrap)) + cdkBuilder.executeBefore(executeBefore.map(CloudshiftdevConstructsConstruct.Companion::unwrap)) } /** @@ -1219,7 +1219,7 @@ public open class TriggerFunction( * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -1265,7 +1265,7 @@ public open class TriggerFunction( * @param initialPolicy Initial policy statements to add to the created Lambda Role. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -1290,7 +1290,7 @@ public open class TriggerFunction( * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -1320,7 +1320,7 @@ public open class TriggerFunction( * @param layers A list of layers to add to the function's execution environment. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -1367,7 +1367,7 @@ public open class TriggerFunction( * @param logGroup The log group the function sends logs to. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -1397,7 +1397,7 @@ public open class TriggerFunction( * @param logRetention The number of days log events are kept in CloudWatch Logs. */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -1416,7 +1416,7 @@ public open class TriggerFunction( * to create the CloudWatch log group. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -1454,7 +1454,7 @@ public open class TriggerFunction( * resource that sets the retention policy. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** @@ -1465,7 +1465,7 @@ public open class TriggerFunction( * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -1480,7 +1480,7 @@ public open class TriggerFunction( * processing. */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -1506,7 +1506,7 @@ public open class TriggerFunction( * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** @@ -1517,7 +1517,7 @@ public open class TriggerFunction( * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** @@ -1529,7 +1529,7 @@ public open class TriggerFunction( * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -1553,7 +1553,7 @@ public open class TriggerFunction( * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1603,7 +1603,7 @@ public open class TriggerFunction( * @param role Lambda execution role. */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1617,7 +1617,7 @@ public open class TriggerFunction( * @param runtime The runtime environment for the Lambda function that you are uploading. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1629,7 +1629,7 @@ public open class TriggerFunction( * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1645,7 +1645,7 @@ public open class TriggerFunction( * interfaces. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1673,7 +1673,7 @@ public open class TriggerFunction( * @param snapStart Enable SnapStart for Lambda Function. */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1699,7 +1699,7 @@ public open class TriggerFunction( * function. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** @@ -1710,7 +1710,7 @@ public open class TriggerFunction( * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1724,7 +1724,7 @@ public open class TriggerFunction( * @param vpc VPC network to place Lambda network interfaces. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1741,7 +1741,7 @@ public open class TriggerFunction( * @param vpcSubnets Where to place the network interfaces within the VPC. */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunctionProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunctionProps.kt index 33097df080..a657c9d978 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunctionProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerFunctionProps.kt @@ -545,7 +545,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * instrumentation. */ override fun adotInstrumentation(adotInstrumentation: AdotInstrumentationConfig) { - cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig::unwrap)) + cdkBuilder.adotInstrumentation(adotInstrumentation.let(AdotInstrumentationConfig.Companion::unwrap)) } /** @@ -590,7 +590,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * @param architecture The system architectures compatible with this lambda function. */ override fun architecture(architecture: Architecture) { - cdkBuilder.architecture(architecture.let(Architecture::unwrap)) + cdkBuilder.architecture(architecture.let(Architecture.Companion::unwrap)) } /** @@ -600,14 +600,14 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * code as inline text. */ override fun code(code: Code) { - cdkBuilder.code(code.let(Code::unwrap)) + cdkBuilder.code(code.let(Code.Companion::unwrap)) } /** * @param codeSigningConfig Code signing config associated with this function. */ override fun codeSigningConfig(codeSigningConfig: ICodeSigningConfig) { - cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig::unwrap)) + cdkBuilder.codeSigningConfig(codeSigningConfig.let(ICodeSigningConfig.Companion::unwrap)) } /** @@ -615,7 +615,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * by the `fn.currentVersion` method. */ override fun currentVersionOptions(currentVersionOptions: VersionOptions) { - cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions::unwrap)) + cdkBuilder.currentVersionOptions(currentVersionOptions.let(VersionOptions.Companion::unwrap)) } /** @@ -632,7 +632,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * If SNS topic is desired, specify `deadLetterTopic` property instead. */ override fun deadLetterQueue(deadLetterQueue: IQueue) { - cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue::unwrap)) + cdkBuilder.deadLetterQueue(deadLetterQueue.let(IQueue.Companion::unwrap)) } /** @@ -651,7 +651,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * explicitly. */ override fun deadLetterTopic(deadLetterTopic: ITopic) { - cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic::unwrap)) + cdkBuilder.deadLetterTopic(deadLetterTopic.let(ITopic.Companion::unwrap)) } /** @@ -677,14 +677,14 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * environment variables. */ override fun environmentEncryption(environmentEncryption: IKey) { - cdkBuilder.environmentEncryption(environmentEncryption.let(IKey::unwrap)) + cdkBuilder.environmentEncryption(environmentEncryption.let(IKey.Companion::unwrap)) } /** * @param ephemeralStorageSize The size of the function’s /tmp directory in MiB. */ override fun ephemeralStorageSize(ephemeralStorageSize: Size) { - cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size::unwrap)) + cdkBuilder.ephemeralStorageSize(ephemeralStorageSize.let(Size.Companion::unwrap)) } /** @@ -692,7 +692,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * You can also add event sources using `addEventSource`. */ override fun events(events: List) { - cdkBuilder.events(events.map(IEventSource::unwrap)) + cdkBuilder.events(events.map(IEventSource.Companion::unwrap)) } /** @@ -707,7 +707,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * You can also use `trigger.executeAfter()` to add additional dependencies. */ override fun executeAfter(executeAfter: List) { - cdkBuilder.executeAfter(executeAfter.map(Construct::unwrap)) + cdkBuilder.executeAfter(executeAfter.map(Construct.Companion::unwrap)) } /** @@ -726,7 +726,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * You can also use `trigger.executeBefore()` to add additional dependants. */ override fun executeBefore(executeBefore: List) { - cdkBuilder.executeBefore(executeBefore.map(Construct::unwrap)) + cdkBuilder.executeBefore(executeBefore.map(Construct.Companion::unwrap)) } /** @@ -753,7 +753,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * @param filesystem The filesystem configuration for the lambda function. */ override fun filesystem(filesystem: FileSystem) { - cdkBuilder.filesystem(filesystem.let(FileSystem::unwrap)) + cdkBuilder.filesystem(filesystem.let(FileSystem.Companion::unwrap)) } /** @@ -786,7 +786,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * You can call `addToRolePolicy` to the created lambda to add statements post creation. */ override fun initialPolicy(initialPolicy: List) { - cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement::unwrap)) + cdkBuilder.initialPolicy(initialPolicy.map(PolicyStatement.Companion::unwrap)) } /** @@ -801,7 +801,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * monitoring. */ override fun insightsVersion(insightsVersion: LambdaInsightsVersion) { - cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion::unwrap)) + cdkBuilder.insightsVersion(insightsVersion.let(LambdaInsightsVersion.Companion::unwrap)) } /** @@ -821,7 +821,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * that can be used by multiple functions. */ override fun layers(layers: List) { - cdkBuilder.layers(layers.map(ILayerVersion::unwrap)) + cdkBuilder.layers(layers.map(ILayerVersion.Companion::unwrap)) } /** @@ -854,7 +854,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * If you are deploying to another type of region, please check regional availability first. */ override fun logGroup(logGroup: ILogGroup) { - cdkBuilder.logGroup(logGroup.let(ILogGroup::unwrap)) + cdkBuilder.logGroup(logGroup.let(ILogGroup.Companion::unwrap)) } /** @@ -881,7 +881,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * ``` */ override fun logRetention(logRetention: RetentionDays) { - cdkBuilder.logRetention(logRetention.let(RetentionDays::unwrap)) + cdkBuilder.logRetention(logRetention.let(RetentionDays.Companion::unwrap)) } /** @@ -894,7 +894,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * function to send logs to it. */ override fun logRetentionRetryOptions(logRetentionRetryOptions: LogRetentionRetryOptions) { - cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions::unwrap)) + cdkBuilder.logRetentionRetryOptions(logRetentionRetryOptions.let(LogRetentionRetryOptions.Companion::unwrap)) } /** @@ -920,14 +920,14 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * function to send logs to it. */ override fun logRetentionRole(logRetentionRole: IRole) { - cdkBuilder.logRetentionRole(logRetentionRole.let(IRole::unwrap)) + cdkBuilder.logRetentionRole(logRetentionRole.let(IRole.Companion::unwrap)) } /** * @param loggingFormat Sets the loggingFormat for the function. */ override fun loggingFormat(loggingFormat: LoggingFormat) { - cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat::unwrap)) + cdkBuilder.loggingFormat(loggingFormat.let(LoggingFormat.Companion::unwrap)) } /** @@ -937,7 +937,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * Maximum: 6 hours */ override fun maxEventAge(maxEventAge: Duration) { - cdkBuilder.maxEventAge(maxEventAge.let(Duration::unwrap)) + cdkBuilder.maxEventAge(maxEventAge.let(Duration.Companion::unwrap)) } /** @@ -954,21 +954,21 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * @param onFailure The destination for failed invocations. */ override fun onFailure(onFailure: IDestination) { - cdkBuilder.onFailure(onFailure.let(IDestination::unwrap)) + cdkBuilder.onFailure(onFailure.let(IDestination.Companion::unwrap)) } /** * @param onSuccess The destination for successful invocations. */ override fun onSuccess(onSuccess: IDestination) { - cdkBuilder.onSuccess(onSuccess.let(IDestination::unwrap)) + cdkBuilder.onSuccess(onSuccess.let(IDestination.Companion::unwrap)) } /** * @param paramsAndSecrets Specify the configuration of Parameters and Secrets Extension. */ override fun paramsAndSecrets(paramsAndSecrets: ParamsAndSecretsLayerVersion) { - cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion::unwrap)) + cdkBuilder.paramsAndSecrets(paramsAndSecrets.let(ParamsAndSecretsLayerVersion.Companion::unwrap)) } /** @@ -982,7 +982,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * @param profilingGroup Profiling Group. */ override fun profilingGroup(profilingGroup: IProfilingGroup) { - cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup::unwrap)) + cdkBuilder.profilingGroup(profilingGroup.let(IProfilingGroup.Companion::unwrap)) } /** @@ -1015,7 +1015,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * "service-role/AWSLambdaVPCAccessExecutionRole". */ override fun role(role: IRole) { - cdkBuilder.role(role.let(IRole::unwrap)) + cdkBuilder.role(role.let(IRole.Companion::unwrap)) } /** @@ -1026,7 +1026,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * Use `Runtime.FROM_IMAGE` when defining a function from a Docker image. */ override fun runtime(runtime: Runtime) { - cdkBuilder.runtime(runtime.let(Runtime::unwrap)) + cdkBuilder.runtime(runtime.let(Runtime.Companion::unwrap)) } /** @@ -1034,7 +1034,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * version. */ override fun runtimeManagementMode(runtimeManagementMode: RuntimeManagementMode) { - cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode::unwrap)) + cdkBuilder.runtimeManagementMode(runtimeManagementMode.let(RuntimeManagementMode.Companion::unwrap)) } /** @@ -1043,7 +1043,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * Only used if 'vpc' is supplied. */ override fun securityGroups(securityGroups: List) { - cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup::unwrap)) + cdkBuilder.securityGroups(securityGroups.map(ISecurityGroup.Companion::unwrap)) } /** @@ -1059,7 +1059,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * SnapStart is currently supported only for Java 11, 17 runtime */ override fun snapStart(snapStart: SnapStartConf) { - cdkBuilder.snapStart(snapStart.let(SnapStartConf::unwrap)) + cdkBuilder.snapStart(snapStart.let(SnapStartConf.Companion::unwrap)) } /** @@ -1076,14 +1076,14 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * based on the function's expected execution time. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } /** * @param tracing Enable AWS X-Ray Tracing for Lambda Function. */ override fun tracing(tracing: Tracing) { - cdkBuilder.tracing(tracing.let(Tracing::unwrap)) + cdkBuilder.tracing(tracing.let(Tracing.Companion::unwrap)) } /** @@ -1092,7 +1092,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * This is required when `vpcSubnets` is specified. */ override fun vpc(vpc: IVpc) { - cdkBuilder.vpc(vpc.let(IVpc::unwrap)) + cdkBuilder.vpc(vpc.let(IVpc.Companion::unwrap)) } /** @@ -1104,7 +1104,7 @@ public interface TriggerFunctionProps : FunctionProps, TriggerOptions { * public subnets is not allowed (unless `allowPublicSubnet` is set to `true`). */ override fun vpcSubnets(vpcSubnets: SubnetSelection) { - cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection::unwrap)) + cdkBuilder.vpcSubnets(vpcSubnets.let(SubnetSelection.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerOptions.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerOptions.kt index 0098f075ae..f37ec9c376 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerOptions.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerOptions.kt @@ -120,7 +120,7 @@ public interface TriggerOptions { * You can also use `trigger.executeAfter()` to add additional dependencies. */ override fun executeAfter(executeAfter: List) { - cdkBuilder.executeAfter(executeAfter.map(Construct::unwrap)) + cdkBuilder.executeAfter(executeAfter.map(Construct.Companion::unwrap)) } /** @@ -139,7 +139,7 @@ public interface TriggerOptions { * You can also use `trigger.executeBefore()` to add additional dependants. */ override fun executeBefore(executeBefore: List) { - cdkBuilder.executeBefore(executeBefore.map(Construct::unwrap)) + cdkBuilder.executeBefore(executeBefore.map(Construct.Companion::unwrap)) } /** diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerProps.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerProps.kt index 0ca978033b..049ee22973 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerProps.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/triggers/TriggerProps.kt @@ -123,7 +123,7 @@ public interface TriggerProps : TriggerOptions { * You can also use `trigger.executeAfter()` to add additional dependencies. */ override fun executeAfter(executeAfter: List) { - cdkBuilder.executeAfter(executeAfter.map(Construct::unwrap)) + cdkBuilder.executeAfter(executeAfter.map(Construct.Companion::unwrap)) } /** @@ -142,7 +142,7 @@ public interface TriggerProps : TriggerOptions { * You can also use `trigger.executeBefore()` to add additional dependants. */ override fun executeBefore(executeBefore: List) { - cdkBuilder.executeBefore(executeBefore.map(Construct::unwrap)) + cdkBuilder.executeBefore(executeBefore.map(Construct.Companion::unwrap)) } /** @@ -169,21 +169,21 @@ public interface TriggerProps : TriggerOptions { * @param handler The AWS Lambda function of the handler to execute. */ override fun handler(handler: Function) { - cdkBuilder.handler(handler.let(Function::unwrap)) + cdkBuilder.handler(handler.let(Function.Companion::unwrap)) } /** * @param invocationType The invocation type to invoke the Lambda function with. */ override fun invocationType(invocationType: InvocationType) { - cdkBuilder.invocationType(invocationType.let(InvocationType::unwrap)) + cdkBuilder.invocationType(invocationType.let(InvocationType.Companion::unwrap)) } /** * @param timeout The timeout of the invocation call of the Lambda function to be triggered. */ override fun timeout(timeout: Duration) { - cdkBuilder.timeout(timeout.let(Duration::unwrap)) + cdkBuilder.timeout(timeout.let(Duration.Companion::unwrap)) } public fun build(): software.amazon.awscdk.triggers.TriggerProps = cdkBuilder.build() diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Construct.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Construct.kt index 3731b4e152..fb8036091f 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Construct.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Construct.kt @@ -11,7 +11,7 @@ public open class Construct( cdkObject: software.constructs.Construct, ) : CdkObject(cdkObject), IConstruct { public constructor(scope: Construct, id: String) : - this(software.constructs.Construct(scope.let(Construct::unwrap), id) + this(software.constructs.Construct(scope.let(Construct.Companion::unwrap), id) ) public override fun node(): Node = unwrap(this).getNode().let(Node::wrap) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Dependable.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Dependable.kt index 9786db85d3..3cb2ada938 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Dependable.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Dependable.kt @@ -20,15 +20,15 @@ public abstract class Dependable( public companion object { @Deprecated(message = "deprecated in CDK") public fun `get`(instance: IDependable): Dependable = - software.constructs.Dependable.`get`(instance.let(IDependable::unwrap)).let(Dependable::wrap) + software.constructs.Dependable.`get`(instance.let(IDependable.Companion::unwrap)).let(Dependable::wrap) public fun implement(instance: IDependable, trait: Dependable) { - software.constructs.Dependable.implement(instance.let(IDependable::unwrap), - trait.let(Dependable::unwrap)) + software.constructs.Dependable.implement(instance.let(IDependable.Companion::unwrap), + trait.let(Dependable.Companion::unwrap)) } public fun of(instance: IDependable): Dependable = - software.constructs.Dependable.of(instance.let(IDependable::unwrap)).let(Dependable::wrap) + software.constructs.Dependable.of(instance.let(IDependable.Companion::unwrap)).let(Dependable::wrap) internal fun wrap(cdkObject: software.constructs.Dependable): Dependable = CdkObjectWrappers.wrap(cdkObject) as? Dependable ?: Wrapper(cdkObject) diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/DependencyGroup.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/DependencyGroup.kt index e837232886..f6df395ea5 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/DependencyGroup.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/DependencyGroup.kt @@ -8,11 +8,11 @@ public open class DependencyGroup( cdkObject: software.constructs.DependencyGroup, ) : CdkObject(cdkObject), IDependable { public constructor(deps: IDependable) : - this(software.constructs.DependencyGroup(deps.let(IDependable::unwrap)) + this(software.constructs.DependencyGroup(deps.let(IDependable.Companion::unwrap)) ) public open fun add(scopes: IDependable) { - unwrap(this).add(scopes.let(IDependable::unwrap)) + unwrap(this).add(scopes.let(IDependable.Companion::unwrap)) } public companion object { diff --git a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Node.kt b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Node.kt index ba00935b67..db54a1dfa6 100644 --- a/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Node.kt +++ b/kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/Node.kt @@ -19,11 +19,12 @@ public open class Node( host: Construct, scope: IConstruct, id: String, - ) : this(software.constructs.Node(host.let(Construct::unwrap), scope.let(IConstruct::unwrap), id) + ) : this(software.constructs.Node(host.let(Construct.Companion::unwrap), + scope.let(IConstruct.Companion::unwrap), id) ) public open fun addDependency(deps: IDependable) { - unwrap(this).addDependency(deps.let(IDependable::unwrap)) + unwrap(this).addDependency(deps.let(IDependable.Companion::unwrap)) } public open fun addMetadata(type: String, `data`: Any) { @@ -35,7 +36,7 @@ public open class Node( `data`: Any, options: MetadataOptions, ) { - unwrap(this).addMetadata(type, `data`, options.let(MetadataOptions::unwrap)) + unwrap(this).addMetadata(type, `data`, options.let(MetadataOptions.Companion::unwrap)) } @kotlin.Suppress("INAPPLICABLE_JVM_NAME") @@ -47,7 +48,7 @@ public open class Node( ): Unit = addMetadata(type, `data`, MetadataOptions(options)) public open fun addValidation(validation: IValidation) { - unwrap(this).addValidation(validation.let(IValidation::unwrap)) + unwrap(this).addValidation(validation.let(IValidation.Companion::unwrap)) } public open fun addr(): String = unwrap(this).getAddr() @@ -68,7 +69,7 @@ public open class Node( unwrap(this).getDefaultChild()?.let(IConstruct::wrap) public open fun defaultChild(`value`: IConstruct) { - unwrap(this).setDefaultChild(`value`.let(IConstruct::unwrap)) + unwrap(this).setDefaultChild(`value`.let(IConstruct.Companion::unwrap)) } public open fun dependencies(): List = @@ -77,7 +78,7 @@ public open class Node( public open fun findAll(): List = unwrap(this).findAll().map(IConstruct::wrap) public open fun findAll(order: ConstructOrder): List = - unwrap(this).findAll(order.let(ConstructOrder::unwrap)).map(IConstruct::wrap) + unwrap(this).findAll(order.let(ConstructOrder.Companion::unwrap)).map(IConstruct::wrap) public open fun findChild(id: String): IConstruct = unwrap(this).findChild(id).let(IConstruct::wrap) @@ -116,7 +117,7 @@ public open class Node( @Deprecated(message = "deprecated in CDK") public fun of(construct: IConstruct): Node = - software.constructs.Node.of(construct.let(IConstruct::unwrap)).let(Node::wrap) + software.constructs.Node.of(construct.let(IConstruct.Companion::unwrap)).let(Node::wrap) internal fun wrap(cdkObject: software.constructs.Node): Node = Node(cdkObject) diff --git a/settings.gradle.kts b/settings.gradle.kts index a9c92cb832..8ba9063f8d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -15,7 +15,7 @@ pluginManagement { plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" - id("com.gradle.enterprise") version "3.17.4" + id("com.gradle.develocity") version "3.17.1" } dependencyResolutionManagement { @@ -26,12 +26,11 @@ dependencyResolutionManagement { include(":kotlin-cdk-wrapper") include(":kotlin-cdk-wrapper-common") -gradleEnterprise { - if (System.getenv("CI") != null) { - buildScan { - publishAlways() - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" - } + +develocity { + buildScan { + publishing.onlyIf { !System.getenv("CI").isNullOrEmpty() } + termsOfUseUrl = "https://gradle.com/terms-of-service" + termsOfUseAgree = "yes" } }